From ae78d4cfe4105f94ffe34f092b095fd65d69b4c0 Mon Sep 17 00:00:00 2001 From: eduauto Date: Fri, 8 Aug 2025 11:18:11 +0800 Subject: [PATCH] autoUpdataFile --- index.html | 2 +- ...> p__Shixuns__Edit__index.6dc133d4.async.js | 18 +++++++++--------- umi.73a8097d.js => umi.865c4f2e.js | 2 +- 3 files changed, 11 insertions(+), 11 deletions(-) rename p__Shixuns__Edit__index.f47f67e3.async.js => p__Shixuns__Edit__index.6dc133d4.async.js (89%) rename umi.73a8097d.js => umi.865c4f2e.js (99%) diff --git a/index.html b/index.html index 4b9a351df2..082b575105 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__Edit__index.f47f67e3.async.js b/p__Shixuns__Edit__index.6dc133d4.async.js similarity index 89% rename from p__Shixuns__Edit__index.f47f67e3.async.js rename to p__Shixuns__Edit__index.6dc133d4.async.js index def20133a2..b1d3563e7d 100644 --- a/p__Shixuns__Edit__index.f47f67e3.async.js +++ b/p__Shixuns__Edit__index.6dc133d4.async.js @@ -1,4 +1,4 @@ -(self.webpackChunk=self.webpackChunk||[]).push([[6277],{65363:function(je,Nt,re){"use strict";re.d(Nt,{Z:function(){return Xe}});var b=re(67711),Be=re(59301),Je={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm0 76c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm128.01 198.83c.03 0 .05.01.09.06l45.02 45.01a.2.2 0 01.05.09.12.12 0 010 .07c0 .02-.01.04-.05.08L557.25 512l127.87 127.86a.27.27 0 01.05.06v.02a.12.12 0 010 .07c0 .03-.01.05-.05.09l-45.02 45.02a.2.2 0 01-.09.05.12.12 0 01-.07 0c-.02 0-.04-.01-.08-.05L512 557.25 384.14 685.12c-.04.04-.06.05-.08.05a.12.12 0 01-.07 0c-.03 0-.05-.01-.09-.05l-45.02-45.02a.2.2 0 01-.05-.09.12.12 0 010-.07c0-.02.01-.04.06-.08L466.75 512 338.88 384.14a.27.27 0 01-.05-.06l-.01-.02a.12.12 0 010-.07c0-.03.01-.05.05-.09l45.02-45.02a.2.2 0 01.09-.05.12.12 0 01.07 0c.02 0 .04.01.08.06L512 466.75l127.86-127.86c.04-.05.06-.06.08-.06a.12.12 0 01.07 0z"}}]},name:"close-circle",theme:"outlined"},Te=Je,Ze=re(7657),lt=function(Ie,tt){return Be.createElement(Ze.Z,(0,b.Z)({},Ie,{ref:tt,icon:Te}))},he=Be.forwardRef(lt),Xe=he},87169:function(je,Nt,re){"use strict";re.d(Nt,{Z:function(){return Xe}});var b=re(67711),Be=re(59301),Je={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"},Te=Je,Ze=re(7657),lt=function(Ie,tt){return Be.createElement(Ze.Z,(0,b.Z)({},Ie,{ref:tt,icon:Te}))},he=Be.forwardRef(lt),Xe=he},11724:function(je,Nt,re){"use strict";re.d(Nt,{Z:function(){return Xe}});var b=re(67711),Be=re(59301),Je={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"},Te=Je,Ze=re(7657),lt=function(Ie,tt){return Be.createElement(Ze.Z,(0,b.Z)({},Ie,{ref:tt,icon:Te}))},he=Be.forwardRef(lt),Xe=he},32050:function(je,Nt,re){"use strict";re.d(Nt,{Z:function(){return Xe}});var b=re(67711),Be=re(59301),Je={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"},Te=Je,Ze=re(7657),lt=function(Ie,tt){return Be.createElement(Ze.Z,(0,b.Z)({},Ie,{ref:tt,icon:Te}))},he=Be.forwardRef(lt),Xe=he},21697:function(je,Nt){"use strict";Nt.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},77277:function(je,Nt){"use strict";Nt.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(je,Nt){"use strict";Nt.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"}},20397:function(){"use strict";function je(de,a,E,x){E===void 0&&(E=0),x===void 0&&(x=1/0),this._name=de,this._defaultValue=a,this._minimum=E,this._maximum=x}Object.defineProperty(je.prototype,"name",{get:function(){return this._name},set:function(de){if(typeof de!="string"||de==="")throw new Error("Shape name must be a valid string.");this._name=de}}),Object.defineProperty(je.prototype,"defaultValue",{get:function(){return this._defaultValue},set:function(de){if(typeof de!="number"||isNaN(de))throw new Error("The default value must be a real number, not: "+de);this._defaultValue=de}}),Object.defineProperty(je.prototype,"minimum",{get:function(){return this._minimum},set:function(de){if(typeof de!="number"||isNaN(de))throw new Error("Minimum must be a real number, not: "+de);this._minimum=de}}),Object.defineProperty(je.prototype,"maximum",{get:function(){return this._maximum},set:function(de){if(typeof de!="number"||isNaN(de))throw new Error("Maximum must be a real number, not: "+de);this._maximum=de}}),go.Shape._FigureParameters={},go.Shape.getFigureParameter=function(de,a){var E=go.Shape._FigureParameters[de];return E?E[a]:null},go.Shape.setFigureParameter=function(de,a,E){if(!(E instanceof je))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 x=go.Shape._FigureParameters[de];x||(x=[],go.Shape._FigureParameters[de]=x),x[a]=E};var Nt=[];function re(de,a){var E=Nt.pop();return E===void 0?new go.Point(de,a):(E.x=de,E.y=a,E)}function b(){var de=Nt.pop();return de===void 0?new go.Point:de}function Be(de){Nt.push(de)}function Je(de,a,E,x,y,ee,ne,oe,le){le||(le=new go.Point);var ie=de-E,Ce=y-ne,ye=NaN,Ge=NaN;if(ie===0)if(Ce===0)de===E&&(ye=de,Ge=a);else{var Re=(ee-oe)/Ce,St=ee-Re*y;ye=de,Ge=Re*ye+St}else if(Ce===0){var ht=(a-x)/ie,pt=a-ht*de;ye=y,Ge=ht*ye+pt}else{var ht=(a-x)/ie,Re=(ee-oe)/Ce,pt=a-ht*de,St=ee-Re*y;ye=(St-pt)/(ht-Re),Ge=ht*ye+pt}return le.x=ye,le.y=Ge,le}function Te(de,a,E,x,y,ee,ne,oe,le,ie,Ce,ye,Ge,Re){var St=1-le,ht=le,pt=de*St+E*ht,Gn=a*St+x*ht,Tn=E*St+y*ht,da=x*St+ee*ht,$n=y*St+ne*ht,_t=ee*St+oe*ht,In=pt*St+Tn*ht,ct=Gn*St+da*ht,Tt=Tn*St+$n*ht,ln=da*St+_t*ht,fn=In*St+Tt*ht,vn=ct*St+ln*ht;ie.x=pt,ie.y=Gn,Ce.x=In,Ce.y=ct,ye.x=fn,ye.y=vn,Ge.x=Tt,Ge.y=ln,Re.x=$n,Re.y=_t}var Ze=new go.Spot(.156,.156),lt=new go.Spot(.844,.844),he=4*((Math.sqrt(2)-1)/3);go.Shape.setFigureParameter("RoundedRectangle",0,new je("CornerRounding",5)),go.Shape.defineFigureGenerator("RoundedRectangle",function(de,a,E){var x=de?de.parameter1:NaN;(isNaN(x)||x<0)&&(x=5),x=Math.min(x,a/3),x=Math.min(x,E/3);var y=x*he,ee=new go.Geometry().add(new go.PathFigure(x,0,!0).add(new go.PathSegment(go.PathSegment.Line,a-x,0)).add(new go.PathSegment(go.PathSegment.Bezier,a,x,a-y,0,a,y)).add(new go.PathSegment(go.PathSegment.Line,a,E-x)).add(new go.PathSegment(go.PathSegment.Bezier,a-x,E,a,E-y,a-y,E)).add(new go.PathSegment(go.PathSegment.Line,x,E)).add(new go.PathSegment(go.PathSegment.Bezier,0,E-x,y,E,0,E-y)).add(new go.PathSegment(go.PathSegment.Line,0,x)).add(new go.PathSegment(go.PathSegment.Bezier,x,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(de,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(de,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(de,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(de,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(de,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(de,a,E){var x=new go.Geometry(go.Geometry.Line);return x.startX=0,x.startY=E/2,x.endX=a,x.endY=E/2,x}),go.Shape.defineFigureGenerator("LineV",function(de,a,E){var x=new go.Geometry(go.Geometry.Line);return x.startX=a/2,x.startY=0,x.endX=a/2,x.endY=E,x}),go.Shape.defineFigureGenerator("BarH","Rectangle"),go.Shape.defineFigureGenerator("BarV","Rectangle"),go.Shape.defineFigureGenerator("MinusLine","LineH"),go.Shape.defineFigureGenerator("PlusLine",function(de,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(de,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(de,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(de,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(de,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(de,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(de,a,E){var x=.2/Math.SQRT2;return new go.Geometry().add(new go.PathFigure(x*a,(1-x)*E,!1).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,x*E)).add(new go.PathSegment(go.PathSegment.Move,x*a,x*E)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,(1-x)*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(de,a,E){var x=a/2,y=new go.Geometry().add(new go.PathFigure(a,a/2,!1).add(new go.PathSegment(go.PathSegment.Arc,0,360,x,x,x,x).close()));return y.spot1=Ze,y.spot2=lt,y.defaultStretch=go.GraphObject.Uniform,y}),go.Shape.defineFigureGenerator("Line1",function(de,a,E){var x=new go.Geometry(go.Geometry.Line);return x.startX=0,x.startY=0,x.endX=a,x.endY=E,x}),go.Shape.defineFigureGenerator("Line2",function(de,a,E){var x=new go.Geometry(go.Geometry.Line);return x.startX=a,x.startY=0,x.endX=0,x.endY=E,x}),go.Shape.defineFigureGenerator("Curve1",function(de,a,E){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,a,E,he*a,0,a,(1-he)*E)))}),go.Shape.defineFigureGenerator("Curve2",function(de,a,E){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,a,E,0,he*E,(1-he)*a,E)))}),go.Shape.defineFigureGenerator("Curve3",function(de,a,E){return new go.Geometry().add(new go.PathFigure(a,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,E,a,he*E,he*a,E)))}),go.Shape.defineFigureGenerator("Curve4",function(de,a,E){return new go.Geometry().add(new go.PathFigure(a,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,E,(1-he)*a,0,0,(1-he)*E)))}),go.Shape.defineFigureGenerator("TriangleDownLeft",function(de,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(de,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(de,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(de,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 je("Indent",.1,-.99,.99)),go.Shape.defineFigureGenerator("Parallelogram1",function(de,a,E){var x=de?de.parameter1:NaN;isNaN(x)?x=.1:x<-1?x=-1:x>1&&(x=1);var y=Math.abs(x)*a;if(x===0){var ee=new go.Geometry(go.Geometry.Rectangle);return ee.startX=0,ee.startY=0,ee.endX=a,ee.endY=E,ee}else{var ee=new go.Geometry;return x>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&&(x=a);var y=Math.abs(x);if(x===0){var ee=new go.Geometry(go.Geometry.Rectangle);return ee.startX=0,ee.startY=0,ee.endX=a,ee.endY=E,ee}else{var ee=new go.Geometry;return x>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&&(x=.5);var y=Math.abs(x)*a;if(x===0){var ee=new go.Geometry(go.Geometry.Rectangle);return ee.startX=0,ee.startY=0,ee.endX=a,ee.endY=E,ee}else{var ee=new go.Geometry;return x>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&&(x=a/2);var y=Math.abs(x);if(x===0){var ee=new go.Geometry(go.Geometry.Rectangle);return ee.startX=0,ee.startY=0,ee.endX=a,ee.endY=E,ee}else{var ee=new go.Geometry;return x>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&&(x=a/2);var y=Math.abs(x);if(x===0){var ee=new go.Geometry(go.Geometry.Rectangle);return ee.startX=0,ee.startY=0,ee.endX=a,ee.endY=E,ee}else{var ee=new go.Geometry;return x>0?ee.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-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+oe,a/2)),ne.add(new go.PathSegment(go.PathSegment.Arc,0,-360,y,y,oe,oe).close())),ee.spot1=Ze,ee.spot2=lt,ee.defaultStretch=go.GraphObject.Uniform,ee}),go.Shape.defineFigureGenerator("Cloud",function(de,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(de,a,E){var x=1/(Math.SQRT2+2);return new go.Geometry().add(new go.PathFigure(x*a,0,!0).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,0)).add(new go.PathSegment(go.PathSegment.Line,a,x*E)).add(new go.PathSegment(go.PathSegment.Line,a,(1-x)*E)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,E)).add(new go.PathSegment(go.PathSegment.Line,x*a,E)).add(new go.PathSegment(go.PathSegment.Line,0,(1-x)*E)).add(new go.PathSegment(go.PathSegment.Line,0,x*E).close())).setSpots(x/2,x/2,1-x/2,1-x/2)}),go.Shape.setFigureParameter("Pie",0,new je("Start",0,-360,360)),go.Shape.setFigureParameter("Pie",1,new je("Sweep",315,-360,360)),go.Shape.defineFigureGenerator("Pie",function(de,a,E){var x=de?de.parameter1:NaN,y=de?de.parameter2:NaN;isNaN(x)&&(x=0),isNaN(y)&&(y=315);var ee=x%360;ee<0&&(ee+=360);var ne=y%360,oe=Math.min(a,E)/2;return new go.Geometry().add(new go.PathFigure(oe,oe).add(new go.PathSegment(go.PathSegment.Arc,ee,ne,oe,oe,oe,oe).close()))}),go.Shape.defineFigureGenerator("PiePiece",function(de,a,E){var x=he/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-x)*E,(y+x)*a,(ee+x)*E)).add(new go.PathSegment(go.PathSegment.Line,0,E).close()))}),go.Shape.setFigureParameter("ThickCross",0,new je("Thickness",30)),go.Shape.defineFigureGenerator("ThickCross",function(de,a,E){var x=de?de.parameter1:NaN;(isNaN(x)||x<0)&&(x=30);var y=Math.min(x,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 je("Thickness",10)),go.Shape.defineFigureGenerator("ThinCross",function(de,a,E){var x=de?de.parameter1:NaN;(isNaN(x)||x<0)&&(x=10);var y=Math.min(x,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 je("Thickness",30)),go.Shape.defineFigureGenerator("ThickX",function(de,a,E){var x=de?de.parameter1:NaN;if((isNaN(x)||x<0)&&(x=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,oe=Math.atan2(E,a),le=x-Math.min(Math.cos(oe)*x/2,ee),ie=x-Math.min(Math.sin(oe)*x/2,ne),y=new go.Geometry,Ce=new go.PathFigure(le,0,!0);return y.add(Ce),Ce.add(new go.PathSegment(go.PathSegment.Line,ee,.2*E)),Ce.add(new go.PathSegment(go.PathSegment.Line,a-le,0)),Ce.add(new go.PathSegment(go.PathSegment.Line,a,ie)),Ce.add(new go.PathSegment(go.PathSegment.Line,.8*a,ne)),Ce.add(new go.PathSegment(go.PathSegment.Line,a,E-ie)),Ce.add(new go.PathSegment(go.PathSegment.Line,a-le,E)),Ce.add(new go.PathSegment(go.PathSegment.Line,ee,.8*E)),Ce.add(new go.PathSegment(go.PathSegment.Line,le,E)),Ce.add(new go.PathSegment(go.PathSegment.Line,0,E-ie)),Ce.add(new go.PathSegment(go.PathSegment.Line,.2*a,ne)),Ce.add(new go.PathSegment(go.PathSegment.Line,0,ie).close()),y}}),go.Shape.setFigureParameter("ThinX",0,new je("Thickness",10)),go.Shape.defineFigureGenerator("ThinX",function(de,a,E){var x=de?de.parameter1:NaN;(isNaN(x)||x<0)&&(x=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 je("BeamWidth",.2,.1,.9)),go.Shape.defineFigureGenerator("SquareIBeam",function(de,a,E){var x=de?de.parameter1:NaN;isNaN(x)&&(x=.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,x*E)),ee.add(new go.PathSegment(go.PathSegment.Line,(.5+x/2)*a,x*E)),ee.add(new go.PathSegment(go.PathSegment.Line,(.5+x/2)*a,(1-x)*E)),ee.add(new go.PathSegment(go.PathSegment.Line,a,(1-x)*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-x)*E)),ee.add(new go.PathSegment(go.PathSegment.Line,(.5-x/2)*a,(1-x)*E)),ee.add(new go.PathSegment(go.PathSegment.Line,(.5-x/2)*a,x*E)),ee.add(new go.PathSegment(go.PathSegment.Line,0,x*E).close()),y}),go.Shape.setFigureParameter("RoundedIBeam",0,new je("Curviness",.5,.05,.65)),go.Shape.defineFigureGenerator("RoundedIBeam",function(de,a,E){var x=de?de.parameter1:NaN;isNaN(x)&&(x=.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-x)*a,.25*E,Math.abs(1-x)*a,.75*E)),ee.add(new go.PathSegment(go.PathSegment.Line,0,E)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,0,x*a,.75*E,x*a,.25*E).close()),y}),go.Shape.defineFigureGenerator("HalfEllipse",function(de,a,E){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,a,.5*E,he*a,0,a,(.5-he/2)*E)).add(new go.PathSegment(go.PathSegment.Bezier,0,E,a,(.5+he/2)*E,he*a,E).close())).setSpots(0,.156,.844,.844)}),go.Shape.defineFigureGenerator("Crescent",function(de,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(de,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(de,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(de,a,E){var x=new go.Geometry,y=new go.PathFigure(.4*a,.6*E,!0);x.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,oe=0,le=ee*he;return y.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ne)*a,(.5+ee+oe)*E,(.5-ee+ne)*a,(.5+le+oe)*E,(.5-le+ne)*a,(.5+ee+oe)*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+ee+ne)*a,(.5+oe)*E,(.5+le+ne)*a,(.5+ee+oe)*E,(.5+ee+ne)*a,(.5+le+oe)*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ne)*a,(.5-ee+oe)*E,(1-.5+ee+ne)*a,(.5-le+oe)*E,(.5+le+ne)*a,(.5-ee+oe)*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.65*a,.36771243*E,(.5-le+ne)*a,(.5-ee+oe)*E,(.5-ee+ne+.05)*a,(.5-le+oe-.02)*E)),ee=.2,ne=0,oe=-.3,le=ee*he,y.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+ee+ne)*a,(.5+oe)*E,(.5+le+ne)*a,(.5+ee+oe)*E,(.5+ee+ne)*a,(.5+le+oe)*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ne)*a,(.5-ee+oe)*E,(1-.5+ee+ne)*a,(.5-le+oe)*E,(.5+le+ne)*a,(.5-ee+oe)*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5-ee+ne)*a,(.5+oe)*E,(.5-le+ne)*a,(.5-ee+oe)*E,(.5-ee+ne)*a,(.5-le+oe)*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5-le+ne)*a,(.5+ee+oe)*E,(.5-ee+ne)*a,(.5+le+oe)*E,(.5-le+ne)*a,(.5+ee+oe)*E)),ee=.2,ne=-.3,oe=0,le=ee*he,y.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ne)*a,(.5-ee+oe)*E,(1-.5+ee+ne-.05)*a,(.5-le+oe-.02)*E,(.5+le+ne)*a,(.5-ee+oe)*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5-ee+ne)*a,(.5+oe)*E,(.5-le+ne)*a,(.5-ee+oe)*E,(.5-ee+ne)*a,(.5-le+oe)*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ne)*a,(.5+ee+oe)*E,(.5-ee+ne)*a,(.5+le+oe)*E,(.5-le+ne)*a,(.5+ee+oe)*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,.6*E,(.5+le+ne)*a,(.5+ee+oe)*E,(.5+ee+ne)*a,(.5+le+oe)*E).close()),x.setSpots(.06,.33,.93,.68),x}),go.Shape.defineFigureGenerator("YinYang",function(de,a,E){var x=new go.Geometry,y=new go.PathFigure(a*.5,0,!0);x.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,oe=.25;return y.add(new go.PathSegment(go.PathSegment.Move,(ne+ee)*a,oe*E)),y.add(new go.PathSegment(go.PathSegment.Arc,0,-360,a*ne,E*oe,ee*a,ee*a).close()),y=new go.PathFigure(a*.5,0,!1),x.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,270,-180,a*.5,a*.5,a*.5,a*.5)),oe=.75,y=new go.PathFigure((ne+ee)*a,oe*E,!0),x.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,0,360,a*ne,E*oe,ee*a,ee*a).close()),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("Peace",function(de,a,E){var x=.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-x)*a,x*E)).add(new go.PathSegment(go.PathSegment.Move,y,ee)).add(new go.PathSegment(go.PathSegment.Line,x*a,x*E)))}),go.Shape.defineFigureGenerator("NotAllowed",function(de,a,E){var x=new go.Geometry,y=he*.5,ee=.5,ne=.5,oe=.5,le=new go.PathFigure(ne*a,(oe-ee)*E);x.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,(ne-ee)*a,oe*E,(ne-y)*a,(oe-ee)*E,(ne-ee)*a,(oe-y)*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(oe+ee)*E,(ne-ee)*a,(oe+y)*E,(ne-y)*a,(oe+ee)*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,(ne+ee)*a,oe*E,(ne+y)*a,(oe+ee)*E,(ne+ee)*a,(oe+y)*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(oe-ee)*E,(ne+ee)*a,(oe-y)*E,(ne+y)*a,(oe-ee)*E)),ee=.4,y=he*.4;var ie=b(),Ce=b(),ye=b(),Ge=b();Te(ne,oe-ee,ne+y,oe-ee,ne+ee,oe-y,ne+ee,oe,.42,ie,Ce,ye,Ge,Ge);var Re=b(),St=b(),ht=b();Te(ne,oe-ee,ne+y,oe-ee,ne+ee,oe-y,ne+ee,oe,.58,Ge,Ge,ht,Re,St);var pt=b(),Gn=b(),Tn=b();Te(ne,oe+ee,ne-y,oe+ee,ne-ee,oe+y,ne-ee,oe,.42,pt,Gn,Tn,Ge,Ge);var da=b(),$n=b(),_t=b();return Te(ne,oe+ee,ne-y,oe+ee,ne-ee,oe+y,ne-ee,oe,.58,Ge,Ge,_t,da,$n),le.add(new go.PathSegment(go.PathSegment.Move,_t.x*a,_t.y*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,(ne-ee)*a,oe*E,da.x*a,da.y*E,$n.x*a,$n.y*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(oe-ee)*E,(ne-ee)*a,(oe-y)*E,(ne-y)*a,(oe-ee)*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,ye.x*a,ye.y*E,ie.x*a,ie.y*E,Ce.x*a,Ce.y*E)),le.add(new go.PathSegment(go.PathSegment.Line,_t.x*a,_t.y*E).close()),le.add(new go.PathSegment(go.PathSegment.Move,Tn.x*a,Tn.y*E)),le.add(new go.PathSegment(go.PathSegment.Line,ht.x*a,ht.y*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,(ne+ee)*a,oe*E,Re.x*a,Re.y*E,St.x*a,St.y*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(oe+ee)*E,(ne+ee)*a,(oe+y)*E,(ne+y)*a,(oe+ee)*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,Tn.x*a,Tn.y*E,pt.x*a,pt.y*E,Gn.x*a,Gn.y*E).close()),Be(ie),Be(Ce),Be(ye),Be(Ge),Be(Re),Be(St),Be(ht),Be(pt),Be(Gn),Be(Tn),Be(da),Be($n),Be(_t),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("Fragile",function(de,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 je("Thickness",30)),go.Shape.defineFigureGenerator("HourGlass",function(de,a,E){var x=de?de.parameter1:NaN;(isNaN(x)||x<0)&&(x=30),x>a&&(x=a);var y=(a-x)/2,ee=y+x;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(de,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(de,a,E){var x=new go.Geometry,y=he*.4,ee=.4,ne=.5,oe=.5,le=b(),ie=b(),Ce=b(),ye=b(),Ge=new go.PathFigure((ne-ee)*a,oe*E,!1);x.add(Ge),Ge.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(oe-ee)*E,(ne-ee)*a,(oe-y)*E,(ne-y)*a,(oe-ee)*E)),Te(ne,oe-ee,ne+y,oe-ee,ne+ee,oe-y,ne+ee,oe,.44,Ce,ye,ie,le,le),Ge.add(new go.PathSegment(go.PathSegment.Bezier,ie.x*a,ie.y*E,Ce.x*a,Ce.y*E,ye.x*a,ye.y*E));var Re=re(ie.x,ie.y);Te(ne,oe-ee,ne+y,oe-ee,ne+ee,oe-y,ne+ee,oe,.56,le,le,ie,Ce,ye);var St=re(ie.x,ie.y);Ge.add(new go.PathSegment(go.PathSegment.Line,(Re.x*.1+.95*.9)*a,Re.y*.1*E)),Ge.add(new go.PathSegment(go.PathSegment.Line,.85*a,Re.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,(St.x*.1+.9)*a,.15*E)),Ge.add(new go.PathSegment(go.PathSegment.Line,(St.x*.1+.9)*a,(St.y*.1+.05*.9)*E)),Ge.add(new go.PathSegment(go.PathSegment.Line,St.x*a,St.y*E)),Ge.add(new go.PathSegment(go.PathSegment.Bezier,(ne+ee)*a,oe*E,Ce.x*a,Ce.y*E,ye.x*a,ye.y*E)),Ge.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(oe+ee)*E,(ne+ee)*a,(oe+y)*E,(ne+y)*a,(oe+ee)*E)),Ge.add(new go.PathSegment(go.PathSegment.Bezier,(ne-ee)*a,oe*E,(ne-y)*a,(oe+ee)*E,(ne-ee)*a,(oe+y)*E)),ee=.35,y=he*.35;var ht=new go.PathFigure(ne*a,(oe-ee)*E,!1);x.add(ht),ht.add(new go.PathSegment(go.PathSegment.Bezier,(ne-ee)*a,oe*E,(ne-y)*a,(oe-ee)*E,(ne-ee)*a,(oe-y)*E)),ht.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(oe+ee)*E,(ne-ee)*a,(oe+y)*E,(ne-y)*a,(oe+ee)*E)),ht.add(new go.PathSegment(go.PathSegment.Bezier,(ne+ee)*a,oe*E,(ne+y)*a,(oe+ee)*E,(ne+ee)*a,(oe+y)*E)),ht.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(oe-ee)*E,(ne+ee)*a,(oe-y)*E,(ne+y)*a,(oe-ee)*E));var pt=new go.PathFigure((ne-ee)*a,oe*E,!1);return x.add(pt),Be(le),Be(ie),Be(Ce),Be(ye),Be(Re),Be(St),x.spot1=new go.Spot(.202,.257),x.spot2=new go.Spot(.792,.739),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("GenderFemale",function(de,a,E){var x=new go.Geometry,y=.375,ee=0,ne=-.125,oe=y*he,le=new go.PathFigure((.525+ee)*a,(.5+y+ne)*E,!1);x.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+y+ee)*a,(.5+ne)*E,(.5+oe+ee)*a,(.5+y+ne)*E,(.5+y+ee)*a,(.5+oe+ne)*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5-y+ne)*E,(1-.5+y+ee)*a,(.5-oe+ne)*E,(.5+oe+ee)*a,(.5-y+ne)*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,(.5-y+ee)*a,(.5+ne)*E,(.5-oe+ee)*a,(.5-y+ne)*E,(.5-y+ee)*a,(.5-oe+ne)*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,(.475+ee)*a,(.5+y+ne)*E,(.5-y+ee)*a,(.5+oe+ne)*E,(.5-oe+ee)*a,(.5+y+ne)*E)),le.add(new go.PathSegment(go.PathSegment.Line,.475*a,.85*E)),le.add(new go.PathSegment(go.PathSegment.Line,.425*a,.85*E)),le.add(new go.PathSegment(go.PathSegment.Line,.425*a,.9*E)),le.add(new go.PathSegment(go.PathSegment.Line,.475*a,.9*E)),le.add(new go.PathSegment(go.PathSegment.Line,.475*a,E)),le.add(new go.PathSegment(go.PathSegment.Line,.525*a,E)),le.add(new go.PathSegment(go.PathSegment.Line,.525*a,.9*E)),le.add(new go.PathSegment(go.PathSegment.Line,.575*a,.9*E)),le.add(new go.PathSegment(go.PathSegment.Line,.575*a,.85*E)),le.add(new go.PathSegment(go.PathSegment.Line,.525*a,.85*E).close()),y=.325,ee=0,ne=-.125,oe=y*he;var le=new go.PathFigure((1-.5+y+ee)*a,(.5+ne)*E,!1);x.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5+y+ne)*E,(.5+y+ee)*a,(.5+oe+ne)*E,(.5+oe+ee)*a,(.5+y+ne)*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,(.5-y+ee)*a,(.5+ne)*E,(.5-oe+ee)*a,(.5+y+ne)*E,(.5-y+ee)*a,(.5+oe+ne)*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5-y+ne)*E,(.5-y+ee)*a,(.5-oe+ne)*E,(.5-oe+ee)*a,(.5-y+ne)*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+y+ee)*a,(.5+ne)*E,(.5+oe+ee)*a,(.5-y+ne)*E,(1-.5+y+ee)*a,(.5-oe+ne)*E));var le=new go.PathFigure((.525+ee)*a,(.5+y+ne)*E,!1);return x.add(le),x.spot1=new go.Spot(.232,.136),x.spot2=new go.Spot(.682,.611),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("LogicImplies",function(de,a,E){var x=de?de.parameter1:NaN;return isNaN(x)&&(x=.2),new go.Geometry().add(new go.PathFigure((1-x)*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,.5*E)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*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(de,a,E){var x=de?de.parameter1:NaN;return isNaN(x)&&(x=.2),new go.Geometry().add(new go.PathFigure((1-x)*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,.5*E)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*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,x*a,0)).add(new go.PathSegment(go.PathSegment.Line,0,.5*E)).add(new go.PathSegment(go.PathSegment.Line,x*a,E))).setSpots(.2,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicNot",function(de,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(de,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(de,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(de,a,E){var x=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 x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("LogicTruth",function(de,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(de,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(de,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(de,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(de,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(de,a,E){var x=.5;return new go.Geometry().add(new go.PathFigure(0,E,!1).add(new go.PathSegment(go.PathSegment.Line,0,x*E)).add(new go.PathSegment(go.PathSegment.Arc,180,180,x*a,x*E,x*a,x*E)).add(new go.PathSegment(go.PathSegment.Line,a,E))).setSpots(0,.5,1,1)}),go.Shape.defineFigureGenerator("LogicUnion",function(de,a,E){var x=.5;return new go.Geometry().add(new go.PathFigure(a,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,x*E)).add(new go.PathSegment(go.PathSegment.Arc,0,180,x*a,x*E,x*a,x*E)).add(new go.PathSegment(go.PathSegment.Line,0,0))).setSpots(0,0,1,.5)}),go.Shape.setFigureParameter("Arrow",0,new je("ArrowheadWidth",.3,.01,.99)),go.Shape.setFigureParameter("Arrow",1,new je("TailHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("Arrow",function(de,a,E){var x=de?de.parameter1:NaN;isNaN(x)&&(x=.3);var y=de?de.parameter2:NaN;isNaN(y)&&(y=.3);var ee=(1-x)*a,ne=(.5-y/2)*E,oe=(.5+y/2)*E,le=new go.Geometry,ie=new go.PathFigure(0,ne,!0);le.add(ie),ie.add(new go.PathSegment(go.PathSegment.Line,ee,ne)),ie.add(new go.PathSegment(go.PathSegment.Line,ee,0)),ie.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),ie.add(new go.PathSegment(go.PathSegment.Line,ee,E)),ie.add(new go.PathSegment(go.PathSegment.Line,ee,oe)),ie.add(new go.PathSegment(go.PathSegment.Line,0,oe).close()),le.spot1=new go.Spot(0,ne/E);var Ce=Je(0,oe/E,1,oe/E,ee/a,1,1,.5,b());return le.spot2=new go.Spot(Ce.x,Ce.y),Be(Ce),le}),go.Shape.setFigureParameter("Arrow2",0,new je("ArrowheadWidth",30)),go.Shape.setFigureParameter("Arrow2",0,new je("TailHeight",30)),go.Shape.defineFigureGenerator("Arrow2",function(de,a,E){var x=de?de.parameter1:NaN;isNaN(x)&&(x=30),x>a&&(x=a);var y=de?de.parameter2:NaN;isNaN(y)&&(y=30),y=Math.min(y,E/2);var ee=a-x,ne=(E-y)/2,oe=ne+y,le=new go.Geometry,ie=new go.PathFigure(0,ne,!0);le.add(ie),ie.add(new go.PathSegment(go.PathSegment.Line,ee,ne)),ie.add(new go.PathSegment(go.PathSegment.Line,ee,0)),ie.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),ie.add(new go.PathSegment(go.PathSegment.Line,ee,E)),ie.add(new go.PathSegment(go.PathSegment.Line,ee,oe)),ie.add(new go.PathSegment(go.PathSegment.Line,0,oe).close()),le.spot1=new go.Spot(0,ne/E);var Ce=Je(0,oe/E,1,oe/E,ee/a,1,1,.5,b());return le.spot2=new go.Spot(Ce.x,Ce.y),Be(Ce),le}),go.Shape.defineFigureGenerator("Chevron",function(de,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);return x.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()),x}),go.Shape.defineFigureGenerator("DoubleArrow",function(de,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);return x.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()),x}),go.Shape.setFigureParameter("DoubleEndArrow",0,new je("ConnecterHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("DoubleEndArrow",function(de,a,E){var x=de?de.parameter1:NaN;isNaN(x)&&(x=.3);var y=(.5-x/2)*E,ee=(.5+x/2)*E,ne=new go.Geometry,oe=new go.PathFigure(a,.5*E,!0);ne.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),oe.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),oe.add(new go.PathSegment(go.PathSegment.Line,.3*a,ee)),oe.add(new go.PathSegment(go.PathSegment.Line,.3*a,E)),oe.add(new go.PathSegment(go.PathSegment.Line,0,.5*E)),oe.add(new go.PathSegment(go.PathSegment.Line,.3*a,0)),oe.add(new go.PathSegment(go.PathSegment.Line,.3*a,y)),oe.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),oe.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close());var le=Je(0,.5,.3,0,0,y/E,.1,y/E,b());return ne.spot1=new go.Spot(le.x,le.y),le=Je(.7,1,1,.5,0,ee/E,1,ee/E,le),ne.spot2=new go.Spot(le.x,le.y),Be(le),ne}),go.Shape.setFigureParameter("DoubleEndArrow2",0,new je("ConnecterHeight",40)),go.Shape.setFigureParameter("DoubleEndArrow2",1,new je("ArrowHeight",100)),go.Shape.defineFigureGenerator("DoubleEndArrow2",function(de,a,E){var x=de?de.parameter1:NaN;isNaN(x)&&(x=40);var y=de?de.parameter2:NaN;isNaN(y)&&(y=100);var ee=(E-x)/2,ne=ee+x,oe=(E-y)/2,le=oe+y;(x>E||y>E)&&(y>x?(x=x*E/y,ee=(E-x)/2,ne=ee+x,oe=0,le=E):(ee=0,ne=E,oe=0,le=E));var ie=new go.Geometry,Ce=new go.PathFigure(a,.5*E,!0);ie.add(Ce),Ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,le)),Ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,ne)),Ce.add(new go.PathSegment(go.PathSegment.Line,.3*a,ne)),Ce.add(new go.PathSegment(go.PathSegment.Line,.3*a,le)),Ce.add(new go.PathSegment(go.PathSegment.Line,0,.5*E)),Ce.add(new go.PathSegment(go.PathSegment.Line,.3*a,oe)),Ce.add(new go.PathSegment(go.PathSegment.Line,.3*a,ee)),Ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),Ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,oe).close());var ye=Je(0,.5,.3,oe/E,0,ee/E,1,ee/E,b());return ie.spot1=new go.Spot(ye.x,ye.y),ye=Je(.7,le/E,1,.5,0,ne/E,1,ne/E,ye),ie.spot2=new go.Spot(ye.x,ye.y),Be(ye),ie}),go.Shape.setFigureParameter("IBeamArrow",0,new je("ConnectorHeight",.7,.51,.97)),go.Shape.defineFigureGenerator("IBeamArrow",function(de,a,E){var x=de?de.parameter1:NaN;isNaN(x)&&(x=.3);var y=(.5-x/2)*E,ee=(.5+x/2)*E,ne=new go.Geometry,oe=new go.PathFigure(a,.5*E,!0);ne.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),oe.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),oe.add(new go.PathSegment(go.PathSegment.Line,.2*a,ee)),oe.add(new go.PathSegment(go.PathSegment.Line,.2*a,E)),oe.add(new go.PathSegment(go.PathSegment.Line,0,E)),oe.add(new go.PathSegment(go.PathSegment.Line,0,0)),oe.add(new go.PathSegment(go.PathSegment.Line,.2*a,0)),oe.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),oe.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),oe.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),ne.spot1=new go.Spot(0,y/E);var le=Je(.7,1,1,.5,0,ee/E,1,ee/E,b());return ne.spot2=new go.Spot(le.x,le.y),Be(le),ne}),go.Shape.setFigureParameter("IBeamArrow2",0,new je("ConnectorHeight",40)),go.Shape.setFigureParameter("IBeamArrow2",1,new je("BeamArrowHeight",100)),go.Shape.defineFigureGenerator("IBeamArrow2",function(de,a,E){var x=de?de.parameter1:NaN;isNaN(x)&&(x=40);var y=de?de.parameter2:NaN;isNaN(y)&&(y=100);var ee=(E-x)/2,ne=ee+x,oe=(E-y)/2,le=oe+y;(x>E||y>E)&&(y>x?(x=x*E/y,ee=(E-x)/2,ne=ee+x,oe=0,le=E):(ee=0,ne=E,oe=0,le=E));var ie=new go.Geometry,Ce=new go.PathFigure(a,.5*E,!0);ie.add(Ce),Ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,le)),Ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,ne)),Ce.add(new go.PathSegment(go.PathSegment.Line,.2*a,ne)),Ce.add(new go.PathSegment(go.PathSegment.Line,.2*a,le)),Ce.add(new go.PathSegment(go.PathSegment.Line,0,le)),Ce.add(new go.PathSegment(go.PathSegment.Line,0,oe)),Ce.add(new go.PathSegment(go.PathSegment.Line,.2*a,oe)),Ce.add(new go.PathSegment(go.PathSegment.Line,.2*a,ee)),Ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),Ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,oe).close()),ie.spot1=new go.Spot(0,ee/E);var ye=Je(.7,le/E,1,.5,0,ne/E,1,ne/E,b());return ie.spot2=new go.Spot(ye.x,ye.y),Be(ye),ie}),go.Shape.setFigureParameter("Pointer",0,new je("BackPoint",.1,0,.2)),go.Shape.defineFigureGenerator("Pointer",function(de,a,E){var x=de?de.parameter1:NaN;isNaN(x)&&(x=.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,x*a,.5*E)),ee.add(new go.PathSegment(go.PathSegment.Line,0,0).close()),y.spot1=new go.Spot(x,.35);var ne=Je(.2,.65,1,.65,0,1,1,.5,b());return y.spot2=new go.Spot(ne.x,ne.y),Be(ne),y}),go.Shape.setFigureParameter("RoundedPointer",0,new je("RoundedEdge",.3,0,.5)),go.Shape.defineFigureGenerator("RoundedPointer",function(de,a,E){var x=de?de.parameter1:NaN;isNaN(x)&&(x=.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,x*a,.75*E,x*a,.25*E).close()),y.spot1=new go.Spot(x,.35);var ne=Je(0,.65,1,.65,0,1,1,.5,b());return y.spot2=new go.Spot(ne.x,ne.y),Be(ne),y}),go.Shape.setFigureParameter("SplitEndArrow",0,new je("TailHeight",.4,.01,.99)),go.Shape.defineFigureGenerator("SplitEndArrow",function(de,a,E){var x=de?de.parameter1:NaN;isNaN(x)&&(x=.4);var y=(.5-x/2)*E,ee=(.5+x/2)*E,ne=new go.Geometry,oe=new go.PathFigure(a,.5*E,!0);ne.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),oe.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),oe.add(new go.PathSegment(go.PathSegment.Line,0,ee)),oe.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*E)),oe.add(new go.PathSegment(go.PathSegment.Line,0,y)),oe.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),oe.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),ne.spot1=new go.Spot(.2,.3);var le=Je(.7,1,1,.5,0,ee/E,1,ee/E,b());return ne.spot2=new go.Spot(le.x,le.y),Be(le),ne}),go.Shape.setFigureParameter("SplitEndArrow2",0,new je("TailThickness",50)),go.Shape.defineFigureGenerator("SplitEndArrow2",function(de,a,E){var x=de?de.parameter1:NaN;isNaN(x)&&(x=50);var y=(E-x)/2,ee=y+x;x>E&&(y=0,ee=E);var ne=new go.Geometry,oe=new go.PathFigure(a,.5*E,!0);ne.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),oe.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),oe.add(new go.PathSegment(go.PathSegment.Line,0,ee)),oe.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*E)),oe.add(new go.PathSegment(go.PathSegment.Line,0,y)),oe.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),oe.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),ne.spot1=new go.Spot(.2,y/E);var le=Je(.7,1,1,.5,0,ee/E,1,ee/E,b());return ne.spot2=new go.Spot(le.x,le.y),Be(le),ne}),go.Shape.setFigureParameter("SquareArrow",0,new je("ArrowPoint",.7,.2,.9)),go.Shape.defineFigureGenerator("SquareArrow",function(de,a,E){var x=de?de.parameter1:NaN;isNaN(x)&&(x=.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,x*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,x*a,0).close()),y.spot1=go.Spot.TopLeft,y.spot2=new go.Spot(x,1),y}),go.Shape.defineFigureGenerator("Cone1",function(de,a,E){var x=new go.Geometry,y=he*.5,ee=he*.1,ne=new go.PathFigure(0,.9*E,!0);return x.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()),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.97),x}),go.Shape.defineFigureGenerator("Cone2",function(de,a,E){var x=new go.Geometry,y=new go.PathFigure(0,.9*E,!0);x.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 x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,.9*E,(1-.85/.9)*a,.8*E,.85/.9*a,.8*E)),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.82),x}),go.Shape.defineFigureGenerator("Cube1",function(de,a,E){var x=new go.Geometry,y=new go.PathFigure(.5*a,E,!0);x.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 x.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)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(.5,.85),x}),go.Shape.defineFigureGenerator("Cube2",function(de,a,E){var x=new go.Geometry,y=new go.PathFigure(0,.3*E,!0);x.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 x.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)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(.7,1),x}),go.Shape.defineFigureGenerator("Cylinder1",function(de,a,E){var x=de?de.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,E/3);var y=new go.Geometry,ee=he*.5,ne=new go.PathFigure(0,x,!0);y.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,he*x,(.5-ee)*a,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,1*a,x,(.5+ee)*a,0,1*a,he*x)),ne.add(new go.PathSegment(go.PathSegment.Line,a,E-x)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,1*E,1*a,E-he*x,(.5+ee)*a,1*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,E-x,(.5-ee)*a,1*E,0,E-he*x)),ne.add(new go.PathSegment(go.PathSegment.Line,0,x));var oe=new go.PathFigure(a,x,!1);return y.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,2*x,1*a,2*x-he*x,(.5+ee)*a,2*x)),oe.add(new go.PathSegment(go.PathSegment.Bezier,0,x,(.5-ee)*a,2*x,0,2*x-he*x)),y.spot1=new go.Spot(0,0,0,2*x),y.spot2=new go.Spot(1,1),y}),go.Shape.defineFigureGenerator("Cylinder2",function(de,a,E){var x=de?de.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,E/3);var y=new go.Geometry,ee=he*.5,ne=new go.PathFigure(0,E-x,!0);y.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,0,x)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,he*x,(.5-ee)*a,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,a,x,(.5+ee)*a,0,a,he*x)),ne.add(new go.PathSegment(go.PathSegment.Line,a,E-x)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,E,a,E-he*x,(.5+ee)*a,E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,E-x,(.5-ee)*a,E,0,E-he*x));var oe=new go.PathFigure(0,E-x,!1);return y.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,E-2*x,0,E-x-he*x,(.5-ee)*a,E-2*x)),oe.add(new go.PathSegment(go.PathSegment.Bezier,a,E-x,(.5+ee)*a,E-2*x,a,E-x-he*x)),y.spot1=new go.Spot(0,0),y.spot2=new go.Spot(1,1,0,-2*x),y}),go.Shape.defineFigureGenerator("Cylinder3",function(de,a,E){var x=de?de.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,a/3);var y=new go.Geometry,ee=he*.5,ne=new go.PathFigure(x,0,!0);y.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,a-x,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*E,a-he*x,0,a,(.5-ee)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,a-x,E,a,(.5+ee)*E,a-he*x,E)),ne.add(new go.PathSegment(go.PathSegment.Line,x,E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*E,he*x,E,0,(.5+ee)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,(.5-ee)*E,he*x,0));var oe=new go.PathFigure(x,0,!1);return y.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,2*x,.5*E,x+he*x,0,2*x,(.5-ee)*E)),oe.add(new go.PathSegment(go.PathSegment.Bezier,x,E,2*x,(.5+ee)*E,x+he*x,E)),y.spot1=new go.Spot(0,0,2*x,0),y.spot2=new go.Spot(1,1),y}),go.Shape.defineFigureGenerator("Cylinder4",function(de,a,E){var x=de?de.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,a/3);var y=new go.Geometry,ee=he*.5,ne=new go.PathFigure(a-x,0,!0);y.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*E,a-he*x,0,a,(.5-ee)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,a-x,E,a,(.5+ee)*E,a-he*x,E)),ne.add(new go.PathSegment(go.PathSegment.Line,x,E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*E,he*x,E,0,(.5+ee)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,(.5-ee)*E,he*x,0)),ne.add(new go.PathSegment(go.PathSegment.Line,a-x,0));var oe=new go.PathFigure(a-x,0,!1);return y.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,a-2*x,.5*E,a-x-he*x,0,a-2*x,(.5-ee)*E)),oe.add(new go.PathSegment(go.PathSegment.Bezier,a-x,E,a-2*x,(.5+ee)*E,a-x-he*x,E)),y.spot1=new go.Spot(0,0),y.spot2=new go.Spot(1,1,-2*x,0),y}),go.Shape.defineFigureGenerator("Prism1",function(de,a,E){var x=new go.Geometry,y=new go.PathFigure(.25*a,.25*E,!0);x.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 x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),x.spot1=new go.Spot(.408,.172),x.spot2=new go.Spot(.833,.662),x}),go.Shape.defineFigureGenerator("Prism2",function(de,a,E){var x=new go.Geometry,y=new go.PathFigure(0,.25*E,!0);x.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 x.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)),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.75),x}),go.Shape.defineFigureGenerator("Pyramid1",function(de,a,E){var x=new go.Geometry,y=new go.PathFigure(.5*a,0,!0);x.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 x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),x.spot1=new go.Spot(.25,.367),x.spot2=new go.Spot(.75,.875),x}),go.Shape.defineFigureGenerator("Pyramid2",function(de,a,E){var x=new go.Geometry,y=new go.PathFigure(.5*a,0,!0);x.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 x.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)),x.spot1=new go.Spot(.25,.367),x.spot2=new go.Spot(.75,.875),x}),go.Shape.defineFigureGenerator("Actor",function(de,a,E){var x=new go.Geometry,y=.2,ee=.1,ne=he*y,oe=he*ee,le=.5,ie=.1,Ce=new go.PathFigure(le*a,(ie+ee)*E,!0);x.add(Ce),Ce.add(new go.PathSegment(go.PathSegment.Bezier,(le-y)*a,ie*E,(le-ne)*a,(ie+ee)*E,(le-y)*a,(ie+oe)*E)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,le*a,(ie-ee)*E,(le-y)*a,(ie-oe)*E,(le-ne)*a,(ie-ee)*E)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,(le+y)*a,ie*E,(le+ne)*a,(ie-ee)*E,(le+y)*a,(ie-oe)*E)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,le*a,(ie+ee)*E,(le+y)*a,(ie+oe)*E,(le+ne)*a,(ie+ee)*E));var ye=.05,Ge=he*ye;le=.05,ie=.25;var Re=new go.PathFigure(.5*a,.2*E,!0);return x.add(Re),Re.add(new go.PathSegment(go.PathSegment.Line,.95*a,.2*E)),le=.95,ie=.25,Re.add(new go.PathSegment(go.PathSegment.Bezier,(le+ye)*a,ie*E,(le+Ge)*a,(ie-ye)*E,(le+ye)*a,(ie-Ge)*E)),Re.add(new go.PathSegment(go.PathSegment.Line,a,.6*E)),Re.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*E)),Re.add(new go.PathSegment(go.PathSegment.Line,.85*a,.35*E)),ye=.025,Ge=he*ye,le=.825,ie=.35,Re.add(new go.PathSegment(go.PathSegment.Bezier,le*a,(ie-ye)*E,(le+ye)*a,(ie-Ge)*E,(le+Ge)*a,(ie-ye)*E)),Re.add(new go.PathSegment(go.PathSegment.Bezier,(le-ye)*a,ie*E,(le-Ge)*a,(ie-ye)*E,(le-ye)*a,(ie-Ge)*E)),Re.add(new go.PathSegment(go.PathSegment.Line,.8*a,E)),Re.add(new go.PathSegment(go.PathSegment.Line,.55*a,E)),Re.add(new go.PathSegment(go.PathSegment.Line,.55*a,.7*E)),ye=.05,Ge=he*ye,le=.5,ie=.7,Re.add(new go.PathSegment(go.PathSegment.Bezier,le*a,(ie-ye)*E,(le+ye)*a,(ie-Ge)*E,(le+Ge)*a,(ie-ye)*E)),Re.add(new go.PathSegment(go.PathSegment.Bezier,(le-ye)*a,ie*E,(le-Ge)*a,(ie-ye)*E,(le-ye)*a,(ie-Ge)*E)),Re.add(new go.PathSegment(go.PathSegment.Line,.45*a,E)),Re.add(new go.PathSegment(go.PathSegment.Line,.2*a,E)),Re.add(new go.PathSegment(go.PathSegment.Line,.2*a,.35*E)),ye=.025,Ge=he*ye,le=.175,ie=.35,Re.add(new go.PathSegment(go.PathSegment.Bezier,le*a,(ie-ye)*E,(le+ye)*a,(ie-Ge)*E,(le+Ge)*a,(ie-ye)*E)),Re.add(new go.PathSegment(go.PathSegment.Bezier,(le-ye)*a,ie*E,(le-Ge)*a,(ie-ye)*E,(le-ye)*a,(ie-Ge)*E)),Re.add(new go.PathSegment(go.PathSegment.Line,.15*a,.6*E)),Re.add(new go.PathSegment(go.PathSegment.Line,0,.6*E)),Re.add(new go.PathSegment(go.PathSegment.Line,0,.25*E)),ye=.05,Ge=he*ye,le=.05,ie=.25,Re.add(new go.PathSegment(go.PathSegment.Bezier,le*a,(ie-ye)*E,(le-ye)*a,(ie-Ge)*E,(le-Ge)*a,(ie-ye)*E)),Re.add(new go.PathSegment(go.PathSegment.Line,.5*a,.2*E)),x.spot1=new go.Spot(.2,.2),x.spot2=new go.Spot(.8,.65),x}),go.Shape.setFigureParameter("Card",0,new je("CornerCutoutSize",.2,.1,.9)),go.Shape.defineFigureGenerator("Card",function(de,a,E){var x=de?de.parameter1:NaN;isNaN(x)&&(x=.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,x*E)),ee.add(new go.PathSegment(go.PathSegment.Line,x*a,0).close()),y.spot1=new go.Spot(0,x),y.spot2=go.Spot.BottomRight,y}),go.Shape.defineFigureGenerator("Collate",function(de,a,E){var x=new go.Geometry,y=new go.PathFigure(.5*a,.5*E,!0);x.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 x.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)),x.spot1=new go.Spot(.25,0),x.spot2=new go.Spot(.75,.25),x}),go.Shape.defineFigureGenerator("CreateRequest",function(de,a,E){var x=new go.Geometry,y=de?de.parameter1:NaN;isNaN(y)&&(y=.1);var ee=new go.PathFigure(0,0,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,E)),ee.add(new go.PathSegment(go.PathSegment.Line,0,E).close());var ne=new go.PathFigure(0,y*E,!1);return x.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)),x}),go.Shape.defineFigureGenerator("Database",function(de,a,E){var x=new go.Geometry,y=he*.5,ee=he*.1,ne=new go.PathFigure(a,.1*E,!0);x.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 oe=new go.PathFigure(a,.1*E,!1);return x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*E,a,(.1+ee)*E,(.5+y)*a,.2*E)),oe.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*E,(.5-y)*a,.2*E,0,(.1+ee)*E)),oe.add(new go.PathSegment(go.PathSegment.Move,a,.2*E)),oe.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*E,a,(.2+ee)*E,(.5+y)*a,.3*E)),oe.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*E,(.5-y)*a,.3*E,0,(.2+ee)*E)),oe.add(new go.PathSegment(go.PathSegment.Move,a,.3*E)),oe.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.4*E,a,(.3+ee)*E,(.5+y)*a,.4*E)),oe.add(new go.PathSegment(go.PathSegment.Bezier,0,.3*E,(.5-y)*a,.4*E,0,(.3+ee)*E)),x.spot1=new go.Spot(0,.4),x.spot2=new go.Spot(1,.9),x}),go.Shape.defineFigureGenerator("DataStorage",function(de,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);return x.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()),x.spot1=new go.Spot(.226,0),x.spot2=new go.Spot(.81,1),x}),go.Shape.defineFigureGenerator("DiskStorage",function(de,a,E){var x=new go.Geometry,y=he*.5,ee=he*.1,ne=new go.PathFigure(a,.1*E,!0);x.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 oe=new go.PathFigure(a,.1*E,!1);return x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*E,a,(.1+ee)*E,(.5+y)*a,.2*E)),oe.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*E,(.5-y)*a,.2*E,0,(.1+ee)*E)),oe.add(new go.PathSegment(go.PathSegment.Move,a,.2*E)),oe.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*E,a,(.2+ee)*E,(.5+y)*a,.3*E)),oe.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*E,(.5-y)*a,.3*E,0,(.2+ee)*E)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(1,.9),x}),go.Shape.defineFigureGenerator("Display",function(de,a,E){var x=new go.Geometry,y=new go.PathFigure(.25*a,0,!0);return x.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()),x.spot1=new go.Spot(.25,0),x.spot2=new go.Spot(.75,1),x}),go.Shape.defineFigureGenerator("DividedEvent",function(de,a,E){var x=new go.Geometry,y=de?de.parameter1:NaN;isNaN(y)?y=.2:y<.15&&(y=.15);var ee=he*.2,ne=new go.PathFigure(0,.2*E,!0);x.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 oe=new go.PathFigure(0,y*E,!1);return x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,a,y*E)),x}),go.Shape.defineFigureGenerator("DividedProcess",function(de,a,E){var x=new go.Geometry,y=de?de.parameter1:NaN;(isNaN(y)||y<.1)&&(y=.1);var ee=new go.PathFigure(0,0,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,E)),ee.add(new go.PathSegment(go.PathSegment.Line,0,E).close());var ne=new go.PathFigure(0,y*E,!1);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,a,y*E)),x}),go.Shape.defineFigureGenerator("Document",function(de,a,E){var x=new go.Geometry;E=E/.8;var y=new go.PathFigure(0,.7*E,!0);return x.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()),x.spot1=go.Spot.TopLeft,x.spot2=new go.Spot(1,.6),x}),go.Shape.defineFigureGenerator("ExternalOrganization",function(de,a,E){var x=new go.Geometry,y=de?de.parameter1:NaN;(isNaN(y)||y<.2)&&(y=.2);var ee=new go.PathFigure(0,0,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,E)),ee.add(new go.PathSegment(go.PathSegment.Line,0,E).close());var ne=new go.PathFigure(y*a,0,!1);return x.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)),x}),go.Shape.defineFigureGenerator("ExternalProcess",function(de,a,E){var x=new go.Geometry,y=new go.PathFigure(.5*a,0,!0);x.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 x.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)),x.spot1=new go.Spot(.25,.25),x.spot2=new go.Spot(.75,.75),x}),go.Shape.defineFigureGenerator("File",function(de,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);x.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 x.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)),x.spot1=new go.Spot(0,.25),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("Interrupt",function(de,a,E){var x=new go.Geometry,y=new go.PathFigure(a,.5*E,!0);x.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);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,E));var ne=new go.PathFigure(a,.5*E,!1);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.5,.75),x}),go.Shape.defineFigureGenerator("InternalStorage",function(de,a,E){var x=new go.Geometry,y=de?de.parameter1:NaN,ee=de?de.parameter2:NaN;isNaN(y)&&(y=.1),isNaN(ee)&&(ee=.1);var ne=new go.PathFigure(0,0,!0);x.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 oe=new go.PathFigure(y*a,0,!1);return x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,y*a,E)),oe.add(new go.PathSegment(go.PathSegment.Move,0,ee*E)),oe.add(new go.PathSegment(go.PathSegment.Line,a,ee*E)),x}),go.Shape.defineFigureGenerator("Junction",function(de,a,E){var x=new go.Geometry,y=1/Math.SQRT2,ee=(1-1/Math.SQRT2)/2,ne=he*.5,oe=.5,le=new go.PathFigure(a,oe*E,!0);x.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,oe*a,E,a,(oe+ne)*E,(oe+ne)*a,E)),le.add(new go.PathSegment(go.PathSegment.Bezier,0,oe*E,(oe-ne)*a,E,0,(oe+ne)*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,oe*a,0,0,(oe-ne)*E,(oe-ne)*a,0)),le.add(new go.PathSegment(go.PathSegment.Bezier,a,oe*E,(oe+ne)*a,0,a,(oe-ne)*E));var ie=new go.PathFigure((ee+y)*a,(ee+y)*E,!1);return x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Line,ee*a,ee*E)),ie.add(new go.PathSegment(go.PathSegment.Move,ee*a,(ee+y)*E)),ie.add(new go.PathSegment(go.PathSegment.Line,(ee+y)*a,ee*E)),x}),go.Shape.defineFigureGenerator("LinedDocument",function(de,a,E){var x=new go.Geometry;E=E/.8;var y=new go.PathFigure(0,.7*E,!0);x.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 x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.1*a,.75*E)),x.spot1=new go.Spot(.1,0),x.spot2=new go.Spot(1,.6),x}),go.Shape.defineFigureGenerator("LoopLimit",function(de,a,E){var x=new go.Geometry,y=new go.PathFigure(0,E,!0);return x.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()),x.spot1=new go.Spot(0,.25),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("MagneticTape",function(de,a,E){var x=new go.Geometry,y=he*.5,ee=.5,ne=new go.PathFigure(.5*a,E,!0);return x.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)),x.spot1=new go.Spot(.15,.15),x.spot2=new go.Spot(.85,.8),x}),go.Shape.defineFigureGenerator("ManualInput",function(de,a,E){var x=new go.Geometry,y=new go.PathFigure(a,0,!0);return x.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()),x.spot1=new go.Spot(0,.25),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("MessageFromUser",function(de,a,E){var x=new go.Geometry,y=de?de.parameter1:NaN;isNaN(y)&&(y=.7);var ee=new go.PathFigure(0,0,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,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()),x.spot1=go.Spot.TopLeft,x}),go.Shape.defineFigureGenerator("MicroformProcessing",function(de,a,E){var x=new go.Geometry,y=de?de.parameter1:NaN;isNaN(y)&&(y=.25);var ee=new go.PathFigure(0,0,!0);return x.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()),x}),go.Shape.defineFigureGenerator("MicroformRecording",function(de,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);return x.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()),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(1,.75),x}),go.Shape.defineFigureGenerator("MultiDocument",function(de,a,E){var x=new go.Geometry;E=E/.8;var y=new go.PathFigure(a,0,!0);x.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 x.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)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.8,.77),x}),go.Shape.defineFigureGenerator("MultiProcess",function(de,a,E){var x=new go.Geometry,y=new go.PathFigure(.1*a,.1*E,!0);x.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 x.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)),x.spot1=new go.Spot(0,.2),x.spot2=new go.Spot(.8,1),x}),go.Shape.defineFigureGenerator("OfflineStorage",function(de,a,E){var x=new go.Geometry,y=de?de.parameter1:NaN;isNaN(y)&&(y=.1);var ee=1-y,ne=new go.PathFigure(0,0,!0);x.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 oe=new go.PathFigure(.5*y*a,y*E,!1);return x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,(1-.5*y)*a,y*E)),x}),go.Shape.defineFigureGenerator("OffPageConnector",function(de,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);return x.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()),x.spot1=go.Spot.TopLeft,x.spot2=new go.Spot(.75,1),x}),go.Shape.defineFigureGenerator("Or",function(de,a,E){var x=new go.Geometry,y=he*.5,ee=.5,ne=new go.PathFigure(a,ee*E,!0);x.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 oe=new go.PathFigure(a,.5*E,!1);return x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,0,.5*E)),oe.add(new go.PathSegment(go.PathSegment.Move,.5*a,E)),oe.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),x}),go.Shape.defineFigureGenerator("PaperTape",function(de,a,E){var x=new go.Geometry;E=E/.8;var y=new go.PathFigure(0,.7*E,!0);return x.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()),x.spot1=new go.Spot(0,.49),x.spot2=new go.Spot(1,.75),x}),go.Shape.defineFigureGenerator("PrimitiveFromCall",function(de,a,E){var x=new go.Geometry,y=de?de.parameter1:NaN,ee=de?de.parameter2:NaN;isNaN(y)&&(y=.1),isNaN(ee)&&(ee=.3);var ne=new go.PathFigure(0,0,!0);return x.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()),x}),go.Shape.defineFigureGenerator("PrimitiveToCall",function(de,a,E){var x=new go.Geometry,y=de?de.parameter1:NaN,ee=de?de.parameter2:NaN;isNaN(y)&&(y=.1),isNaN(ee)&&(ee=.3);var ne=new go.PathFigure(0,0,!0);return x.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()),x}),go.Shape.defineFigureGenerator("Procedure",function(de,a,E){var x=new go.Geometry,y=de?de.parameter1:NaN;isNaN(y)&&(y=.1);var ee=new go.PathFigure(0,0,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,E)),ee.add(new go.PathSegment(go.PathSegment.Line,0,E).close());var ne=new go.PathFigure((1-y)*a,0,!1);return x.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)),x}),go.Shape.defineFigureGenerator("Process",function(de,a,E){var x=new go.Geometry,y=de?de.parameter1:NaN;isNaN(y)&&(y=.1);var ee=new go.PathFigure(0,0,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,E)),ee.add(new go.PathSegment(go.PathSegment.Line,0,E).close());var ne=new go.PathFigure(y*a,0,!1);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y*a,E)),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("Sort",function(de,a,E){var x=new go.Geometry,y=new go.PathFigure(.5*a,0,!0);x.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 x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),x.spot1=new go.Spot(.25,.25),x.spot2=new go.Spot(.75,.5),x}),go.Shape.defineFigureGenerator("Start",function(de,a,E){var x=new go.Geometry,y=de?de.parameter1:NaN;isNaN(y)&&(y=.25);var ee=new go.PathFigure(y*a,0,!0);x.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 x.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)),x.spot1=new go.Spot(y,0),x.spot2=new go.Spot(1-y,1),x}),go.Shape.defineFigureGenerator("Terminator",function(de,a,E){var x=new go.Geometry,y=new go.PathFigure(.25*a,0,!0);return x.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)),x.spot1=new go.Spot(.23,0),x.spot2=new go.Spot(.77,1),x}),go.Shape.defineFigureGenerator("TransmittalTape",function(de,a,E){var x=new go.Geometry,y=de?de.parameter1:NaN;isNaN(y)&&(y=.1);var ee=new go.PathFigure(0,0,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,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()),x.spot1=go.Spot.TopLeft,x}),go.Shape.defineFigureGenerator("AndGate",function(de,a,E){var x=new go.Geometry,y=he*.5,ee=new go.PathFigure(0,0,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*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()),x.spot1=go.Spot.TopLeft,x.spot2=new go.Spot(.55,1),x}),go.Shape.defineFigureGenerator("Buffer",function(de,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E).close()),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.5,.75),x}),go.Shape.defineFigureGenerator("Clock",function(de,a,E){var x=new go.Geometry,y=he*.5,ee=.5,ne=new go.PathFigure(a,ee*E,!0);x.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 oe=new go.PathFigure(a,ee*E,!1);x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,a,ee*E));var le=new go.PathFigure(.8*a,.75*E,!1);return x.add(le),le.add(new go.PathSegment(go.PathSegment.Line,.8*a,.25*E)),le.add(new go.PathSegment(go.PathSegment.Line,.6*a,.25*E)),le.add(new go.PathSegment(go.PathSegment.Line,.6*a,.75*E)),le.add(new go.PathSegment(go.PathSegment.Line,.4*a,.75*E)),le.add(new go.PathSegment(go.PathSegment.Line,.4*a,.25*E)),le.add(new go.PathSegment(go.PathSegment.Line,.2*a,.25*E)),le.add(new go.PathSegment(go.PathSegment.Line,.2*a,.75*E)),x}),go.Shape.defineFigureGenerator("Ground",function(de,a,E){var x=new go.Geometry,y=new go.PathFigure(.5*a,0,!1);return x.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)),x}),go.Shape.defineFigureGenerator("Inverter",function(de,a,E){var x=new go.Geometry,y=he*.1,ee=.1,ne=.9,oe=.5,le=new go.PathFigure(.8*a,.5*E,!0);x.add(le),le.add(new go.PathSegment(go.PathSegment.Line,0,E)),le.add(new go.PathSegment(go.PathSegment.Line,0,0)),le.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*E));var ie=new go.PathFigure((ne+ee)*a,oe*E,!0);return x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(oe+ee)*E,(ne+ee)*a,(oe+y)*E,(ne+y)*a,(oe+ee)*E)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(ne-ee)*a,oe*E,(ne-y)*a,(oe+ee)*E,(ne-ee)*a,(oe+y)*E)),ie.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(oe-ee)*E,(ne-ee)*a,(oe-y)*E,(ne-y)*a,(oe-ee)*E)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(ne+ee)*a,oe*E,(ne+y)*a,(oe-ee)*E,(ne+ee)*a,(oe-y)*E)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.4,.75),x}),go.Shape.defineFigureGenerator("NandGate",function(de,a,E){var x=new go.Geometry,y=he*.5,ee=he*.4,ne=he*.1,oe=.1,le=.9,ie=.5,Ce=new go.PathFigure(.8*a,.5*E,!0);x.add(Ce),Ce.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,E,.8*a,(.5+ee)*E,(.4+y)*a,E)),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,.4*a,0)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*E,(.4+y)*a,0,.8*a,(.5-ee)*E));var ye=new go.PathFigure((le+oe)*a,ie*E,!0);return x.add(ye),ye.add(new go.PathSegment(go.PathSegment.Bezier,le*a,(ie+oe)*E,(le+oe)*a,(ie+ne)*E,(le+ne)*a,(ie+oe)*E)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(le-oe)*a,ie*E,(le-ne)*a,(ie+oe)*E,(le-oe)*a,(ie+ne)*E)),ye.add(new go.PathSegment(go.PathSegment.Bezier,le*a,(ie-oe)*E,(le-oe)*a,(ie-ne)*E,(le-ne)*a,(ie-oe)*E)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(le+oe)*a,ie*E,(le+ne)*a,(ie-oe)*E,(le+oe)*a,(ie-ne)*E)),x.spot1=new go.Spot(0,.05),x.spot2=new go.Spot(.55,.95),x}),go.Shape.defineFigureGenerator("NorGate",function(de,a,E){var x=new go.Geometry,y=.5,ee=he*y,ne=0,oe=.5,le=new go.PathFigure(.8*a,.5*E,!0);x.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,0,E,.7*a,(oe+ee)*E,(ne+ee)*a,(oe+y)*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.75*E,.25*a,.25*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*E,(ne+ee)*a,(oe-y)*E,.7*a,(oe-ee)*E)),y=.1,ee=he*.1,ne=.9,oe=.5;var ie=new go.PathFigure((ne-y)*a,oe*E,!0);return x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(oe-y)*E,(ne-y)*a,(oe-ee)*E,(ne-ee)*a,(oe-y)*E)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(ne+y)*a,oe*E,(ne+ee)*a,(oe-y)*E,(ne+y)*a,(oe-ee)*E)),ie.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(oe+y)*E,(ne+y)*a,(oe+ee)*E,(ne+ee)*a,(oe+y)*E)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(ne-y)*a,oe*E,(ne-ee)*a,(oe+y)*E,(ne-y)*a,(oe+ee)*E)),x.spot1=new go.Spot(.2,.25),x.spot2=new go.Spot(.6,.75),x}),go.Shape.defineFigureGenerator("OrGate",function(de,a,E){var x=new go.Geometry,y=.5,ee=he*y,ne=0,oe=.5,le=new go.PathFigure(0,0,!0);return x.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*E,(ne+ee+ee)*a,(oe-y)*E,.8*a,(oe-ee)*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,0,E,.8*a,(oe+ee)*E,(ne+ee+ee)*a,(oe+y)*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.75*E,.25*a,.25*E).close()),x.spot1=new go.Spot(.2,.25),x.spot2=new go.Spot(.75,.75),x}),go.Shape.defineFigureGenerator("XnorGate",function(de,a,E){var x=new go.Geometry,y=.5,ee=he*y,ne=.2,oe=.5,le=new go.PathFigure(.1*a,0,!1);x.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,E,.35*a,.25*E,.35*a,.75*E));var ie=new go.PathFigure(.8*a,.5*E,!0);x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,E,.7*a,(oe+ee)*E,(ne+ee)*a,(oe+y)*E)),ie.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,.45*a,.75*E,.45*a,.25*E)),ie.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*E,(ne+ee)*a,(oe-y)*E,.7*a,(oe-ee)*E)),y=.1,ee=he*.1,ne=.9,oe=.5;var Ce=new go.PathFigure((ne-y)*a,oe*E,!0);return x.add(Ce),Ce.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(oe-y)*E,(ne-y)*a,(oe-ee)*E,(ne-ee)*a,(oe-y)*E)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,(ne+y)*a,oe*E,(ne+ee)*a,(oe-y)*E,(ne+y)*a,(oe-ee)*E)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(oe+y)*E,(ne+y)*a,(oe+ee)*E,(ne+ee)*a,(oe+y)*E)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,(ne-y)*a,oe*E,(ne-ee)*a,(oe+y)*E,(ne-y)*a,(oe+ee)*E)),x.spot1=new go.Spot(.4,.25),x.spot2=new go.Spot(.65,.75),x}),go.Shape.defineFigureGenerator("XorGate",function(de,a,E){var x=new go.Geometry,y=.5,ee=he*y,ne=.2,oe=.5,le=new go.PathFigure(.1*a,0,!1);x.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,E,.35*a,.25*E,.35*a,.75*E));var ie=new go.PathFigure(.2*a,0,!0);return x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*E,(ne+ee)*a,(oe-y)*E,.9*a,(oe-ee)*E)),ie.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,E,.9*a,(oe+ee)*E,(ne+ee)*a,(oe+y)*E)),ie.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,.45*a,.75*E,.45*a,.25*E).close()),x.spot1=new go.Spot(.4,.25),x.spot2=new go.Spot(.8,.75),x}),go.Shape.defineFigureGenerator("Capacitor",function(de,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!1);return x.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)),x}),go.Shape.defineFigureGenerator("Resistor",function(de,a,E){var x=new go.Geometry,y=new go.PathFigure(0,.5*E,!1);return x.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)),x}),go.Shape.defineFigureGenerator("Inductor",function(de,a,E){var x=new go.Geometry,y=he*.1,ee=.1,ne=.1,oe=.5,le=new go.PathFigure((ne-y*.5)*a,E,!1);return x.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,(ne+ee)*a,0,(ne-y)*a,E,(ne-ee)*a,0)),ne=.3,le.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,E,(ne+ee)*a,0,(ne+y)*a,E)),le.add(new go.PathSegment(go.PathSegment.Bezier,(ne+ee)*a,0,(ne-y)*a,E,(ne-ee)*a,0)),ne=.5,le.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,E,(ne+ee)*a,0,(ne+y)*a,E)),le.add(new go.PathSegment(go.PathSegment.Bezier,(ne+ee)*a,0,(ne-y)*a,E,(ne-ee)*a,0)),ne=.7,le.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,E,(ne+ee)*a,0,(ne+y)*a,E)),le.add(new go.PathSegment(go.PathSegment.Bezier,(ne+ee)*a,0,(ne-y)*a,E,(ne-ee)*a,0)),ne=.9,le.add(new go.PathSegment(go.PathSegment.Bezier,(ne+y*.5)*a,E,(ne+ee)*a,0,(ne+y)*a,E)),x}),go.Shape.defineFigureGenerator("ACvoltageSource",function(de,a,E){var x=new go.Geometry,y=he*.5,ee=.5,ne=.5,oe=.5,le=new go.PathFigure((ne-ee)*a,oe*E,!1);return x.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(oe-ee)*E,(ne-ee)*a,(oe-y)*E,(ne-y)*a,(oe-ee)*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,(ne+ee)*a,oe*E,(ne+y)*a,(oe-ee)*E,(ne+ee)*a,(oe-y)*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(oe+ee)*E,(ne+ee)*a,(oe+y)*E,(ne+y)*a,(oe+ee)*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,(ne-ee)*a,oe*E,(ne-y)*a,(oe+ee)*E,(ne-ee)*a,(oe+y)*E)),le.add(new go.PathSegment(go.PathSegment.Move,(ne-ee+.1)*a,oe*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,(ne+ee-.1)*a,oe*E,ne*a,(oe-ee)*E,ne*a,(oe+ee)*E)),x}),go.Shape.defineFigureGenerator("DCvoltageSource",function(de,a,E){var x=new go.Geometry,y=new go.PathFigure(0,.75*E,!1);return x.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)),x}),go.Shape.defineFigureGenerator("Diode",function(de,a,E){var x=new go.Geometry,y=new go.PathFigure(a,0,!1);return x.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)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.5,.75),x}),go.Shape.defineFigureGenerator("Wifi",function(de,a,E){var x=new go.Geometry,y=a,ee=E;a=a*.38,E=E*.6;var ne=he*.8,oe=.8,le=0,ie=.5,Ce=(y-a)/2,ye=(ee-E)/2,Ge=new go.PathFigure(le*a+Ce,(ie+oe)*E+ye,!0);x.add(Ge),Ge.add(new go.PathSegment(go.PathSegment.Bezier,(le-oe)*a+Ce,ie*E+ye,(le-ne)*a+Ce,(ie+oe)*E+ye,(le-oe)*a+Ce,(ie+ne)*E+ye)),Ge.add(new go.PathSegment(go.PathSegment.Bezier,le*a+Ce,(ie-oe)*E+ye,(le-oe)*a+Ce,(ie-ne)*E+ye,(le-ne)*a+Ce,(ie-oe)*E+ye)),Ge.add(new go.PathSegment(go.PathSegment.Bezier,(le-oe+ne*.5)*a+Ce,ie*E+ye,le*a+Ce,(ie-oe)*E+ye,(le-oe+ne*.5)*a+Ce,(ie-ne)*E+ye)),Ge.add(new go.PathSegment(go.PathSegment.Bezier,le*a+Ce,(ie+oe)*E+ye,(le-oe+ne*.5)*a+Ce,(ie+ne)*E+ye,le*a+Ce,(ie+oe)*E+ye).close()),ne=he*.4,oe=.4,le=.2,ie=.5;var Re=new go.PathFigure(le*a+Ce,(ie+oe)*E+ye,!0);x.add(Re),Re.add(new go.PathSegment(go.PathSegment.Bezier,(le-oe)*a+Ce,ie*E+ye,(le-ne)*a+Ce,(ie+oe)*E+ye,(le-oe)*a+Ce,(ie+ne)*E+ye)),Re.add(new go.PathSegment(go.PathSegment.Bezier,le*a+Ce,(ie-oe)*E+ye,(le-oe)*a+Ce,(ie-ne)*E+ye,(le-ne)*a+Ce,(ie-oe)*E+ye)),Re.add(new go.PathSegment(go.PathSegment.Bezier,(le-oe+ne*.5)*a+Ce,ie*E+ye,le*a+Ce,(ie-oe)*E+ye,(le-oe+ne*.5)*a+Ce,(ie-ne)*E+ye)),Re.add(new go.PathSegment(go.PathSegment.Bezier,le*a+Ce,(ie+oe)*E+ye,(le-oe+ne*.5)*a+Ce,(ie+ne)*E+ye,le*a+Ce,(ie+oe)*E+ye).close()),ne=he*.2,oe=.2,le=.5,ie=.5;var St=new go.PathFigure((le-oe)*a+Ce,ie*E+ye,!0);x.add(St),St.add(new go.PathSegment(go.PathSegment.Bezier,le*a+Ce,(ie-oe)*E+ye,(le-oe)*a+Ce,(ie-ne)*E+ye,(le-ne)*a+Ce,(ie-oe)*E+ye)),St.add(new go.PathSegment(go.PathSegment.Bezier,(le+oe)*a+Ce,ie*E+ye,(le+ne)*a+Ce,(ie-oe)*E+ye,(le+oe)*a+Ce,(ie-ne)*E+ye)),St.add(new go.PathSegment(go.PathSegment.Bezier,le*a+Ce,(ie+oe)*E+ye,(le+oe)*a+Ce,(ie+ne)*E+ye,(le+ne)*a+Ce,(ie+oe)*E+ye)),St.add(new go.PathSegment(go.PathSegment.Bezier,(le-oe)*a+Ce,ie*E+ye,(le-ne)*a+Ce,(ie+oe)*E+ye,(le-oe)*a+Ce,(ie+ne)*E+ye)),ne=he*.4,oe=.4,le=.8,ie=.5;var ht=new go.PathFigure(le*a+Ce,(ie-oe)*E+ye,!0);x.add(ht),ht.add(new go.PathSegment(go.PathSegment.Bezier,(le+oe)*a+Ce,ie*E+ye,(le+ne)*a+Ce,(ie-oe)*E+ye,(le+oe)*a+Ce,(ie-ne)*E+ye)),ht.add(new go.PathSegment(go.PathSegment.Bezier,le*a+Ce,(ie+oe)*E+ye,(le+oe)*a+Ce,(ie+ne)*E+ye,(le+ne)*a+Ce,(ie+oe)*E+ye)),ht.add(new go.PathSegment(go.PathSegment.Bezier,(le+oe-ne*.5)*a+Ce,ie*E+ye,le*a+Ce,(ie+oe)*E+ye,(le+oe-ne*.5)*a+Ce,(ie+ne)*E+ye)),ht.add(new go.PathSegment(go.PathSegment.Bezier,le*a+Ce,(ie-oe)*E+ye,(le+oe-ne*.5)*a+Ce,(ie-ne)*E+ye,le*a+Ce,(ie-oe)*E+ye).close()),ne=he*.8,oe=.8,le=1,ie=.5;var pt=new go.PathFigure(le*a+Ce,(ie-oe)*E+ye,!0);return x.add(pt),pt.add(new go.PathSegment(go.PathSegment.Bezier,(le+oe)*a+Ce,ie*E+ye,(le+ne)*a+Ce,(ie-oe)*E+ye,(le+oe)*a+Ce,(ie-ne)*E+ye)),pt.add(new go.PathSegment(go.PathSegment.Bezier,le*a+Ce,(ie+oe)*E+ye,(le+oe)*a+Ce,(ie+ne)*E+ye,(le+ne)*a+Ce,(ie+oe)*E+ye)),pt.add(new go.PathSegment(go.PathSegment.Bezier,(le+oe-ne*.5)*a+Ce,ie*E+ye,le*a+Ce,(ie+oe)*E+ye,(le+oe-ne*.5)*a+Ce,(ie+ne)*E+ye)),pt.add(new go.PathSegment(go.PathSegment.Bezier,le*a+Ce,(ie-oe)*E+ye,(le+oe-ne*.5)*a+Ce,(ie-ne)*E+ye,le*a+Ce,(ie-oe)*E+ye).close()),x}),go.Shape.defineFigureGenerator("Email",function(de,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);x.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 x.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)),x}),go.Shape.defineFigureGenerator("Ethernet",function(de,a,E){var x=new go.Geometry,y=new go.PathFigure(.35*a,0,!0);x.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);x.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);x.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 oe=new go.PathFigure(0,.5*E,!1);return x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),oe.add(new go.PathSegment(go.PathSegment.Move,.5*a,.5*E)),oe.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*E)),oe.add(new go.PathSegment(go.PathSegment.Move,.75*a,.5*E)),oe.add(new go.PathSegment(go.PathSegment.Line,.75*a,.6*E)),oe.add(new go.PathSegment(go.PathSegment.Move,.25*a,.5*E)),oe.add(new go.PathSegment(go.PathSegment.Line,.25*a,.6*E)),x}),go.Shape.defineFigureGenerator("Power",function(de,a,E){var x=new go.Geometry,y=he*.4,ee=.4,ne=.5,oe=.5,le=b(),ie=b(),Ce=b(),ye=b();Te(ne,oe-ee,ne+y,oe-ee,ne+ee,oe-y,ne+ee,oe,.5,le,le,ie,Ce,ye);var Ge=re(ie.x,ie.y),Re=new go.PathFigure(ie.x*a,ie.y*E,!0);x.add(Re),Re.add(new go.PathSegment(go.PathSegment.Bezier,(ne+ee)*a,oe*E,Ce.x*a,Ce.y*E,ye.x*a,ye.y*E)),Re.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(oe+ee)*E,(ne+ee)*a,(oe+y)*E,(ne+y)*a,(oe+ee)*E)),Re.add(new go.PathSegment(go.PathSegment.Bezier,(ne-ee)*a,oe*E,(ne-y)*a,(oe+ee)*E,(ne-ee)*a,(oe+y)*E)),Te(ne-ee,oe,ne-ee,oe-y,ne-y,oe-ee,ne,oe-ee,.5,Ce,ye,ie,le,le),Re.add(new go.PathSegment(go.PathSegment.Bezier,ie.x*a,ie.y*E,Ce.x*a,Ce.y*E,ye.x*a,ye.y*E)),y=he*.3,ee=.3,Te(ne-ee,oe,ne-ee,oe-y,ne-y,oe-ee,ne,oe-ee,.5,Ce,ye,ie,le,le),Re.add(new go.PathSegment(go.PathSegment.Line,ie.x*a,ie.y*E)),Re.add(new go.PathSegment(go.PathSegment.Bezier,(ne-ee)*a,oe*E,ye.x*a,ye.y*E,Ce.x*a,Ce.y*E)),Re.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(oe+ee)*E,(ne-ee)*a,(oe+y)*E,(ne-y)*a,(oe+ee)*E)),Re.add(new go.PathSegment(go.PathSegment.Bezier,(ne+ee)*a,oe*E,(ne+y)*a,(oe+ee)*E,(ne+ee)*a,(oe+y)*E)),Te(ne,oe-ee,ne+y,oe-ee,ne+ee,oe-y,ne+ee,oe,.5,le,le,ie,Ce,ye),Re.add(new go.PathSegment(go.PathSegment.Bezier,ie.x*a,ie.y*E,ye.x*a,ye.y*E,Ce.x*a,Ce.y*E).close());var Re=new go.PathFigure(.45*a,0,!0);return x.add(Re),Re.add(new go.PathSegment(go.PathSegment.Line,.45*a,.5*E)),Re.add(new go.PathSegment(go.PathSegment.Line,.55*a,.5*E)),Re.add(new go.PathSegment(go.PathSegment.Line,.55*a,0).close()),Be(le),Be(ie),Be(Ce),Be(ye),Be(Ge),x.spot1=new go.Spot(.25,.45),x.spot2=new go.Spot(.75,.8),x}),go.Shape.defineFigureGenerator("Fallout",function(de,a,E){var x=new go.Geometry,y=new go.PathFigure(0,E/2,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,180,360,a/2,E/2,a/2,E/2));function ee(ne,oe,le){ne.add(new go.PathSegment(go.PathSegment.Move,(.3+oe)*a,(.8+le)*E)),ne.add(new go.PathSegment(go.PathSegment.Line,(.5+oe)*a,(.5+le)*E)),ne.add(new go.PathSegment(go.PathSegment.Line,(.1+oe)*a,(.5+le)*E)),ne.add(new go.PathSegment(go.PathSegment.Line,(.3+oe)*a,(.8+le)*E).close())}return ee(y,0,0),ee(y,.4,0),ee(y,.2,-.3),x}),go.Shape.defineFigureGenerator("IrritationHazard",function(de,a,E){var x=new go.Geometry,y=new go.PathFigure(.2*a,0,!0);return x.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()),x.spot1=new go.Spot(.3,.3),x.spot2=new go.Spot(.7,.7),x}),go.Shape.defineFigureGenerator("ElectricalHazard",function(de,a,E){var x=new go.Geometry,y=new go.PathFigure(.37*a,0,!0);return x.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()),x}),go.Shape.defineFigureGenerator("FireHazard",function(de,a,E){var x=new go.Geometry,y=new go.PathFigure(.1*a,E,!0);return x.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()),x.spot1=new go.Spot(.07,.445),x.spot2=new go.Spot(.884,.958),x}),go.Shape.defineFigureGenerator("BpmnActivityLoop",function(de,a,E){var x=new go.Geometry,y=.5,ee=0,ne=0,oe=y*he,le=.4*Math.SQRT2/2+.5,ie=.5-.5*Math.SQRT2/2,Ce=1,ye=.5,Ge=.5,Re=0,St=new go.PathFigure(le*a,(1-ie)*E,!1);return x.add(St),St.add(new go.PathSegment(go.PathSegment.Bezier,Ce*a,ye*E,Ce*a,.7*E,Ce*a,ye*E)),St.add(new go.PathSegment(go.PathSegment.Bezier,(Ge+ee)*a,(Re+ee)*E,(.5+y+ee)*a,(.5-oe+ee)*E,(.5+oe+ee)*a,(.5-y+ee)*E)),St.add(new go.PathSegment(go.PathSegment.Bezier,(.5-y+ee)*a,(.5+ne)*E,(.5-oe+ee)*a,(.5-y+ne)*E,(.5-y+ee)*a,(.5-oe+ne)*E)),St.add(new go.PathSegment(go.PathSegment.Bezier,(.35+ee)*a,.9*E,(.5-y+ee)*a,(.5+oe+ne)*E,(.5-oe+ee)*a,.9*E)),St.add(new go.PathSegment(go.PathSegment.Move,(.25+ee)*a,.8*E)),St.add(new go.PathSegment(go.PathSegment.Line,(.35+ee)*a,.9*E)),St.add(new go.PathSegment(go.PathSegment.Line,(.2+ee)*a,.95*E)),x}),go.Shape.defineFigureGenerator("BpmnActivityParallel",function(de,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!1);return x.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)),x}),go.Shape.defineFigureGenerator("BpmnActivitySequential",function(de,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!1);return x.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)),x}),go.Shape.defineFigureGenerator("BpmnActivityAdHoc",function(de,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!1);x.add(y);var ee=new go.PathFigure(a,E,!1);x.add(ee);var ne=new go.PathFigure(0,.5*E,!1);return x.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)),x}),go.Shape.defineFigureGenerator("BpmnActivityCompensation",function(de,a,E){var x=new go.Geometry,y=new go.PathFigure(0,.5*E,!0);return x.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()),x}),go.Shape.defineFigureGenerator("BpmnTaskMessage",function(de,a,E){var x=new go.Geometry,y=new go.PathFigure(0,.2*E,!0);x.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 x.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)),x}),go.Shape.defineFigureGenerator("BpmnTaskScript",function(de,a,E){var x=new go.Geometry,y=new go.PathFigure(.7*a,E,!0);x.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 x.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)),x}),go.Shape.defineFigureGenerator("BpmnTaskUser",function(de,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!1);x.add(y);var ee=new go.PathFigure(.335*a,(1-.555)*E,!0);x.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,oe=.5,le=ne,ie=Math.PI/4,Ce=4*(1-Math.cos(ie))/(3*Math.sin(ie)),ye=Ce*.5,Ge=ne,Re=ne,St=Ce*Ge,ht=Ce*Re;ee.add(new go.PathSegment(go.PathSegment.Bezier,(oe-Ge)*a,le*E,(oe-(St+Ge)/2)*a,(le+(Re+ht)/2)*E,(oe-Ge)*a,(le+ht)*E)),ee.add(new go.PathSegment(go.PathSegment.Bezier,oe*a,(le-Re)*E,(oe-Ge)*a,(le-ht)*E,(oe-St)*a,(le-Re)*E)),ee.add(new go.PathSegment(go.PathSegment.Bezier,(oe+Ge)*a,le*E,(oe+St)*a,(le-Re)*E,(oe+Ge)*a,(le-ht)*E)),ee.add(new go.PathSegment(go.PathSegment.Bezier,(1-.365)*a,(1-.595)*E,(oe+Ge)*a,(le+ht)*E,(oe+(St+Ge)/2)*a,(le+(Re+ht)/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 pt=new go.PathFigure(.2*a,E,!1);x.add(pt),pt.add(new go.PathSegment(go.PathSegment.Line,.2*a,.8*E));var Gn=new go.PathFigure(.8*a,E,!1);return x.add(Gn),Gn.add(new go.PathSegment(go.PathSegment.Line,.8*a,.8*E)),x}),go.Shape.defineFigureGenerator("BpmnEventConditional",function(de,a,E){var x=new go.Geometry,y=new go.PathFigure(.1*a,0,!0);x.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 x.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)),x}),go.Shape.defineFigureGenerator("BpmnEventError",function(de,a,E){var x=new go.Geometry,y=new go.PathFigure(0,E,!0);return x.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()),x}),go.Shape.defineFigureGenerator("BpmnEventEscalation",function(de,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!1);x.add(y);var ee=new go.PathFigure(a,E,!1);x.add(ee);var ne=new go.PathFigure(.1*a,E,!0);return x.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()),x}),go.Shape.defineFigureGenerator("Caution",function(de,a,E){var x=new go.Geometry,y=new go.PathFigure(.05*a,E,!0);x.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)),x}),go.Shape.defineFigureGenerator("Recycle",function(de,a,E){var x=new go.Geometry,y=new go.PathFigure(.45*a,.95*E,!1);x.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);x.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 x.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)),x}),go.Shape.defineFigureGenerator("BpmnEventTimer",function(de,a,E){var x=new go.Geometry,y=.5,ee=he*.5,ne=new go.PathFigure(a,y*E,!0);x.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 oe=new go.PathFigure(y*a,0,!1);return x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,y*a,.15*E)),oe.add(new go.PathSegment(go.PathSegment.Move,y*a,E)),oe.add(new go.PathSegment(go.PathSegment.Line,y*a,.85*E)),oe.add(new go.PathSegment(go.PathSegment.Move,0,y*E)),oe.add(new go.PathSegment(go.PathSegment.Line,.15*a,y*E)),oe.add(new go.PathSegment(go.PathSegment.Move,a,y*E)),oe.add(new go.PathSegment(go.PathSegment.Line,.85*a,y*E)),oe.add(new go.PathSegment(go.PathSegment.Move,y*a,y*E)),oe.add(new go.PathSegment(go.PathSegment.Line,.58*a,.1*E)),oe.add(new go.PathSegment(go.PathSegment.Move,y*a,y*E)),oe.add(new go.PathSegment(go.PathSegment.Line,.78*a,.54*E)),x}),go.Shape.defineFigureGenerator("Package",function(de,a,E){var x=new go.Geometry,y=new go.PathFigure(0,.15*E,!0);x.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 x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,0,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.6*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.65*a,.15*E).close()),x.spot1=new go.Spot(0,.1),x.spot2=new go.Spot(1,1),x}),go.Shape.defineFigureGenerator("Class",function(de,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);x.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);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,.2*E).close());var ne=new go.PathFigure(0,.5*E,!1);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,a,.5*E).close()),x}),go.Shape.defineFigureGenerator("Component",function(de,a,E){var x=new go.Geometry,y=new go.PathFigure(a,E,!0);x.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);x.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 x.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()),x}),go.Shape.defineFigureGenerator("Boat Shipment",function(de,a,E){var x=new go.Geometry,y=new go.PathFigure(.15*a,.6*E,!0);x.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 x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*E)),x}),go.Shape.defineFigureGenerator("Customer/Supplier",function(de,a,E){var x=new go.Geometry,y=new go.PathFigure(a,E,!0);return x.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()),x}),go.Shape.defineFigureGenerator("Workcell",function(de,a,E){var x=new go.Geometry,y=new go.PathFigure(0,E,!0);return x.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()),x}),go.Shape.defineFigureGenerator("Supermarket",function(de,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!1);return x.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)),x}),go.Shape.defineFigureGenerator("TruckShipment",function(de,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);x.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);x.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,oe=he*.1,le=.2,ie=.9,Ce=new go.PathFigure((le-ne)*a,ie*E,!0);x.add(Ce),Ce.add(new go.PathSegment(go.PathSegment.Bezier,le*a,(ie-ne)*E,(le-ne)*a,(ie-oe)*E,(le-oe)*a,(ie-ne)*E)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,(le+ne)*a,ie*E,(le+oe)*a,(ie-ne)*E,(le+ne)*a,(ie-oe)*E)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,le*a,(ie+ne)*E,(le+ne)*a,(ie+oe)*E,(le+oe)*a,(ie+ne)*E)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,(le-ne)*a,ie*E,(le-oe)*a,(ie+ne)*E,(le-ne)*a,(ie+oe)*E).close()),ne=.1,oe=he*.1,le=.8,ie=.9;var ye=new go.PathFigure((le-ne)*a,ie*E,!0);return x.add(ye),ye.add(new go.PathSegment(go.PathSegment.Bezier,le*a,(ie-ne)*E,(le-ne)*a,(ie-oe)*E,(le-oe)*a,(ie-ne)*E)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(le+ne)*a,ie*E,(le+oe)*a,(ie-ne)*E,(le+ne)*a,(ie-oe)*E)),ye.add(new go.PathSegment(go.PathSegment.Bezier,le*a,(ie+ne)*E,(le+ne)*a,(ie+oe)*E,(le+oe)*a,(ie+ne)*E)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(le-ne)*a,ie*E,(le-oe)*a,(ie+ne)*E,(le-ne)*a,(ie+oe)*E).close()),x}),go.Shape.defineFigureGenerator("KanbanPost",function(de,a,E){var x=new go.Geometry,y=new go.PathFigure(.2*a,0,!1);return x.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)),x}),go.Shape.defineFigureGenerator("Forklift",function(de,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);x.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);x.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);x.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 oe=new go.PathFigure(.5*a,.7*E,!1);x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,a,.7*E));var le=.1,ie=he*.1,Ce=.1,ye=.9,Ge=new go.PathFigure((Ce-le)*a,ye*E,!0);x.add(Ge),Ge.add(new go.PathSegment(go.PathSegment.Bezier,Ce*a,(ye-le)*E,(Ce-le)*a,(ye-ie)*E,(Ce-ie)*a,(ye-le)*E)),Ge.add(new go.PathSegment(go.PathSegment.Bezier,(Ce+le)*a,ye*E,(Ce+ie)*a,(ye-le)*E,(Ce+le)*a,(ye-ie)*E)),Ge.add(new go.PathSegment(go.PathSegment.Bezier,Ce*a,(ye+le)*E,(Ce+le)*a,(ye+ie)*E,(Ce+ie)*a,(ye+le)*E)),Ge.add(new go.PathSegment(go.PathSegment.Bezier,(Ce-le)*a,ye*E,(Ce-ie)*a,(ye+le)*E,(Ce-le)*a,(ye+ie)*E)),le=.1,ie=he*.1,Ce=.4,ye=.9;var Re=new go.PathFigure((Ce-le)*a,ye*E,!0);return x.add(Re),Re.add(new go.PathSegment(go.PathSegment.Bezier,Ce*a,(ye-le)*E,(Ce-le)*a,(ye-ie)*E,(Ce-ie)*a,(ye-le)*E)),Re.add(new go.PathSegment(go.PathSegment.Bezier,(Ce+le)*a,ye*E,(Ce+ie)*a,(ye-le)*E,(Ce+le)*a,(ye-ie)*E)),Re.add(new go.PathSegment(go.PathSegment.Bezier,Ce*a,(ye+le)*E,(Ce+le)*a,(ye+ie)*E,(Ce+ie)*a,(ye+le)*E)),Re.add(new go.PathSegment(go.PathSegment.Bezier,(Ce-le)*a,ye*E,(Ce-ie)*a,(ye+le)*E,(Ce-le)*a,(ye+ie)*E)),x}),go.Shape.defineFigureGenerator("RailShipment",function(de,a,E){var x=new go.Geometry,y=new go.PathFigure(.1*a,.4*E,!0);x.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);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.55*a,.7*E));var ne=new go.PathFigure(.55*a,.4*E,!0);x.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 Ce=.05,ye=he*.05,Ge=.175,Re=.95,oe=new go.PathFigure((Ge-Ce)*a,Re*E,!0);x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,Ge*a,(Re-Ce)*E,(Ge-Ce)*a,(Re-ye)*E,(Ge-ye)*a,(Re-Ce)*E)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(Ge+Ce)*a,Re*E,(Ge+ye)*a,(Re-Ce)*E,(Ge+Ce)*a,(Re-ye)*E)),oe.add(new go.PathSegment(go.PathSegment.Bezier,Ge*a,(Re+Ce)*E,(Ge+Ce)*a,(Re+ye)*E,(Ge+ye)*a,(Re+Ce)*E)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(Ge-Ce)*a,Re*E,(Ge-ye)*a,(Re+Ce)*E,(Ge-Ce)*a,(Re+ye)*E));var Ce=.05,ye=he*.05,Ge=.375,Re=.95,le=new go.PathFigure((Ge-Ce)*a,Re*E,!0);x.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,Ge*a,(Re-Ce)*E,(Ge-Ce)*a,(Re-ye)*E,(Ge-ye)*a,(Re-Ce)*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,(Ge+Ce)*a,Re*E,(Ge+ye)*a,(Re-Ce)*E,(Ge+Ce)*a,(Re-ye)*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,Ge*a,(Re+Ce)*E,(Ge+Ce)*a,(Re+ye)*E,(Ge+ye)*a,(Re+Ce)*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,(Ge-Ce)*a,Re*E,(Ge-ye)*a,(Re+Ce)*E,(Ge-Ce)*a,(Re+ye)*E));var Ce=.05,ye=he*.05,Ge=.625,Re=.95,ie=new go.PathFigure((Ge-Ce)*a,Re*E,!0);x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,Ge*a,(Re-Ce)*E,(Ge-Ce)*a,(Re-ye)*E,(Ge-ye)*a,(Re-Ce)*E)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(Ge+Ce)*a,Re*E,(Ge+ye)*a,(Re-Ce)*E,(Ge+Ce)*a,(Re-ye)*E)),ie.add(new go.PathSegment(go.PathSegment.Bezier,Ge*a,(Re+Ce)*E,(Ge+Ce)*a,(Re+ye)*E,(Ge+ye)*a,(Re+Ce)*E)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(Ge-Ce)*a,Re*E,(Ge-ye)*a,(Re+Ce)*E,(Ge-Ce)*a,(Re+ye)*E));var Ce=.05,ye=he*.05,Ge=.825,Re=.95,St=new go.PathFigure((Ge-Ce)*a,Re*E,!0);x.add(St),St.add(new go.PathSegment(go.PathSegment.Bezier,Ge*a,(Re-Ce)*E,(Ge-Ce)*a,(Re-ye)*E,(Ge-ye)*a,(Re-Ce)*E)),St.add(new go.PathSegment(go.PathSegment.Bezier,(Ge+Ce)*a,Re*E,(Ge+ye)*a,(Re-Ce)*E,(Ge+Ce)*a,(Re-ye)*E)),St.add(new go.PathSegment(go.PathSegment.Bezier,Ge*a,(Re+Ce)*E,(Ge+Ce)*a,(Re+ye)*E,(Ge+ye)*a,(Re+Ce)*E)),St.add(new go.PathSegment(go.PathSegment.Bezier,(Ge-Ce)*a,Re*E,(Ge-ye)*a,(Re+Ce)*E,(Ge-Ce)*a,(Re+ye)*E).close());var ht=new go.PathFigure(0,E,!1);return x.add(ht),ht.add(new go.PathSegment(go.PathSegment.Line,a,E).close()),x}),go.Shape.defineFigureGenerator("Warehouse",function(de,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);x.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);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,.2*E).close());var ne=new go.PathFigure(.15*a,E,!0);x.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 oe=.05,le=he*.05,ie=.35,Ce=.775,ye=new go.PathFigure((ie-oe)*a,Ce*E,!0);return x.add(ye),ye.add(new go.PathSegment(go.PathSegment.Bezier,ie*a,(Ce-oe)*E,(ie-oe)*a,(Ce-le)*E,(ie-le)*a,(Ce-oe)*E)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(ie+oe)*a,Ce*E,(ie+le)*a,(Ce-oe)*E,(ie+oe)*a,(Ce-le)*E)),ye.add(new go.PathSegment(go.PathSegment.Bezier,ie*a,(Ce+oe)*E,(ie+oe)*a,(Ce+le)*E,(ie+le)*a,(Ce+oe)*E)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(ie-oe)*a,Ce*E,(ie-le)*a,(Ce+oe)*E,(ie-oe)*a,(Ce+le)*E).close()),x}),go.Shape.defineFigureGenerator("ControlCenter",function(de,a,E){var x=new go.Geometry,y=new go.PathFigure(0,E,!0);return x.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()),x}),go.Shape.defineFigureGenerator("Bluetooth",function(de,a,E){var x=new go.Geometry,y=new go.PathFigure(0,.75*E,!1);return x.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)),x}),go.Shape.defineFigureGenerator("Bookmark",function(de,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);return x.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)),x}),go.Shape.defineFigureGenerator("Bookmark",function(de,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);return x.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)),x}),go.Shape.defineFigureGenerator("Globe",function(de,a,E){var x=new go.Geometry,y=new go.PathFigure(.5*a,0,!1);return x.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)),x}),go.Shape.defineFigureGenerator("Wave",function(de,a,E){var x=new go.Geometry,y=new go.PathFigure(0,.25*E,!1);return x.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)),x}),go.Shape.defineFigureGenerator("Operator",function(de,a,E){var x=new go.Geometry,y=.3,ee=he*.3,ne=.5,oe=.7,le=new go.PathFigure((ne-y)*a,oe*E,!0);x.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(oe-y)*E,(ne-y)*a,(oe-ee)*E,(ne-ee)*a,(oe-y)*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,(ne+y)*a,oe*E,(ne+ee)*a,(oe-y)*E,(ne+y)*a,(oe-ee)*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(oe+y)*E,(ne+y)*a,(oe+ee)*E,(ne+ee)*a,(oe+y)*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,(ne-y)*a,oe*E,(ne-ee)*a,(oe+y)*E,(ne-y)*a,(oe+ee)*E));var ie=new go.PathFigure(0,.7*E,!1);return x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,a,.7*E,0,0,a,0)),x}),go.Shape.defineFigureGenerator("TripleFanBlades",function(de,a,E){var x=new go.Geometry,y=new go.PathFigure(.5*a,0,!0);return x.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)),x}),go.Shape.defineFigureGenerator("CentrifugalPump",function(de,a,E){var x=new go.Geometry,y=new go.PathFigure(a,0,!0);return x.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)),x}),go.Shape.defineFigureGenerator("Battery",function(de,a,E){var x=new go.Geometry,y=new go.PathFigure(0,E,!0);x.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 x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Move,0,.4*E)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.4*E)),x}),go.Shape.defineFigureGenerator("Delete",function(de,a,E){var x=new go.Geometry,y=.5,ee=he*.5,ne=.5,oe=.5,le=new go.PathFigure((ne-y)*a,oe*E,!0);x.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(oe-y)*E,(ne-y)*a,(oe-ee)*E,(ne-ee)*a,(oe-y)*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,(ne+y)*a,oe*E,(ne+ee)*a,(oe-y)*E,(ne+y)*a,(oe-ee)*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(oe+y)*E,(ne+y)*a,(oe+ee)*E,(ne+ee)*a,(oe+y)*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,(ne-y)*a,oe*E,(ne-ee)*a,(oe+y)*E,(ne-y)*a,(oe+ee)*E));var ie=new go.PathFigure(.15*a,.5*E,!1);return x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Line,.85*a,.5*E)),x}),go.Shape.defineFigureGenerator("Flag",function(de,a,E){var x=new go.Geometry,y=new go.PathFigure(0,.1*E,!0);return x.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()),x}),go.Shape.defineFigureGenerator("Help",function(de,a,E){var x=new go.Geometry,y=.5,ee=he*.5,ne=.5,oe=.5,le=new go.PathFigure((ne-y)*a,oe*E,!1);x.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(oe-y)*E,(ne-y)*a,(oe-ee)*E,(ne-ee)*a,(oe-y)*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,(ne+y)*a,oe*E,(ne+ee)*a,(oe-y)*E,(ne+y)*a,(oe-ee)*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(oe+y)*E,(ne+y)*a,(oe+ee)*E,(ne+ee)*a,(oe+y)*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,(ne-y)*a,oe*E,(ne-ee)*a,(oe+y)*E,(ne-y)*a,(oe+ee)*E).close()),y=.05,ee=he*.05,ne=.5,oe=.8;var ie=new go.PathFigure((ne-y)*a,oe*E,!1);return x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(oe-y)*E,(ne-y)*a,(oe-ee)*E,(ne-ee)*a,(oe-y)*E)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(ne+y)*a,oe*E,(ne+ee)*a,(oe-y)*E,(ne+y)*a,(oe-ee)*E)),ie.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(oe+y)*E,(ne+y)*a,(oe+ee)*E,(ne+ee)*a,(oe+y)*E)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(ne-y)*a,oe*E,(ne-ee)*a,(oe+y)*E,(ne-y)*a,(oe+ee)*E).close()),ie.add(new go.PathSegment(go.PathSegment.Move,.5*a,.7*E)),ie.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*E)),ie.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*E,.75*a,.475*E,.75*a,.225*E)),ie.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.35*E,.4*a,.2*E,.3*a,.25*E)),x}),go.Shape.defineFigureGenerator("Location",function(de,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(de,a,E){var x=new go.Geometry,y=new go.PathFigure(0,.5*E,!0);x.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 x.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)),x}),go.Shape.defineFigureGenerator("Unlocked",function(de,a,E){var x=new go.Geometry,y=new go.PathFigure(0,.5*E,!0);x.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 x.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)),x}),go.Shape.defineFigureGenerator("Gear",function(de,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(de,a,E){var x=new go.Geometry,y=new go.PathFigure(0,.5*E,!0);return x.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()),x}),go.Shape.defineFigureGenerator("Map",function(de,a,E){var x=new go.Geometry,y=new go.PathFigure(0,.2*E,!0);return x.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)),x}),go.Shape.defineFigureGenerator("Eject",function(de,a,E){var x=new go.Geometry,y=new go.PathFigure(0,E,!0);x.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 x.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()),x}),go.Shape.defineFigureGenerator("Pencil",function(de,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(de,a,E){var x=new go.Geometry,y=new go.PathFigure(a*1,E*1,!1);x.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);x.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);x.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 oe=new go.PathFigure(.678*a,.85*E,!1);x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,.678*a,.45*E)),oe.add(new go.PathSegment(go.PathSegment.Line,.874*a,.45*E)),oe.add(new go.PathSegment(go.PathSegment.Line,.874*a,.85*E).close());var le=new go.PathFigure(.5*a,.1*E,!1);return x.add(le),le.add(new go.PathSegment(go.PathSegment.Line,(.046+.15)*a,.3*E)),le.add(new go.PathSegment(go.PathSegment.Line,(1-(.046+.15))*a,.3*E).close()),x}),go.Shape.defineFigureGenerator("Staircase",function(de,a,E){var x=new go.Geometry,y=new go.PathFigure(0,E*1,!0);return x.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()),x}),go.Shape.defineFigureGenerator("5Bars",function(de,a,E){var x=new go.Geometry,y=new go.PathFigure(0,E*1,!0);x.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);x.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);x.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 oe=new go.PathFigure(a*.612,E,!0);x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,a*.612,E*(1-.184*3))),oe.add(new go.PathSegment(go.PathSegment.Line,a*.796,E*(1-.184*4))),oe.add(new go.PathSegment(go.PathSegment.Line,a*.796,E*1).close());var le=new go.PathFigure(a*.816,E,!0);return x.add(le),le.add(new go.PathSegment(go.PathSegment.Line,a*.816,E*(1-.184*4))),le.add(new go.PathSegment(go.PathSegment.Line,a*1,E*(1-.184*5))),le.add(new go.PathSegment(go.PathSegment.Line,a*1,E*1).close()),x}),go.Shape.defineFigureGenerator("PC",function(de,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);x.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);x.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);x.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 oe=new go.PathFigure(a*.055,.18*E,!0);x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,a*.245,E*.18)),oe.add(new go.PathSegment(go.PathSegment.Line,a*.245,E*.21)),oe.add(new go.PathSegment(go.PathSegment.Line,a*.055,E*.21).close());var le=new go.PathFigure(a*1,0,!0);return x.add(le),le.add(new go.PathSegment(go.PathSegment.Line,a*.4,0)),le.add(new go.PathSegment(go.PathSegment.Line,a*.4,E*.65)),le.add(new go.PathSegment(go.PathSegment.Line,a*1,E*.65).close()),x}),go.Shape.defineFigureGenerator("Plane",function(de,a,E){var x=new go.Geometry,y=new go.PathFigure(.55*a,E,!0);return x.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()),x}),go.Shape.defineFigureGenerator("Key",function(de,a,E){var x=new go.Geometry,y=new go.PathFigure(a*1,E*.5,!0);return x.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()),x}),go.Shape.defineFigureGenerator("FilmTape",function(de,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!1);x.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);x.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);x.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 oe=new go.PathFigure(a*(.11+.24133333*1+.028*1),E*.1,!1);x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*1),E*.1)),oe.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*1),E*.8)),oe.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*1),E*.8).close());var le=new go.PathFigure(a*(.11+.24133333*2+.028*2),E*.1,!1);return x.add(le),le.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*3+.028*2),E*.1)),le.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*3+.028*2),E*.8)),le.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*2),E*.8).close()),x}),go.Shape.defineFigureGenerator("FloppyDisk",function(de,a,E){var x=new go.Geometry,y=8,ee=y*he,ne=new go.PathFigure(y,0,!1);x.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 oe=new go.PathFigure(a*.83,0,!1);x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,a*.83,E*.3)),oe.add(new go.PathSegment(go.PathSegment.Line,a*.17,E*.3)),oe.add(new go.PathSegment(go.PathSegment.Line,a*.17,E*0).close());var le=new go.PathFigure(a*.83,E*1,!1);x.add(le),le.add(new go.PathSegment(go.PathSegment.Line,a*.83,E*.5)),le.add(new go.PathSegment(go.PathSegment.Line,a*.17,E*.5)),le.add(new go.PathSegment(go.PathSegment.Line,a*.17,E*1).close());var ie=new go.PathFigure(a*.78,E*.05,!1);return x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Line,a*.66,E*.05)),ie.add(new go.PathSegment(go.PathSegment.Line,a*.66,E*.25)),ie.add(new go.PathSegment(go.PathSegment.Line,a*.78,E*.25).close()),x}),go.Shape.defineFigureGenerator("SpeechBubble",function(de,a,E){var x=de?de.parameter1:NaN;(isNaN(x)||x<0)&&(x=15),x=Math.min(x,a/3),x=Math.min(x,E/3);var y=x*he,ee=E*.8,ne=new go.Geometry,oe=new go.PathFigure(x,0,!0);return ne.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,a-x,0)),oe.add(new go.PathSegment(go.PathSegment.Bezier,a,x,a-y,0,a,y)),oe.add(new go.PathSegment(go.PathSegment.Line,a,ee-x)),oe.add(new go.PathSegment(go.PathSegment.Bezier,a-x,ee,a,ee-y,a-y,ee)),oe.add(new go.PathSegment(go.PathSegment.Line,a*.7,ee)),oe.add(new go.PathSegment(go.PathSegment.Line,a*.7,E)),oe.add(new go.PathSegment(go.PathSegment.Line,a*.55,ee)),oe.add(new go.PathSegment(go.PathSegment.Line,x,ee)),oe.add(new go.PathSegment(go.PathSegment.Bezier,0,ee-x,y,ee,0,ee-y)),oe.add(new go.PathSegment(go.PathSegment.Line,0,x)),oe.add(new go.PathSegment(go.PathSegment.Bezier,x,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(de,a,E){var x=new go.Geometry,y=new go.PathFigure(a*0,E*.45,!0);x.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 x.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()),x}),go.Shape.defineFigureGenerator("Windows",function(de,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(de,a,E){var x=new go.Geometry,y=new go.PathFigure(a*0,E*.1,!1);x.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);x.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 x.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()),x}),go.Shape.defineFigureGenerator("Beaker",function(de,a,E){var x=new go.Geometry,y=15,ee=y*he,ne=new go.PathFigure(a*.62,E*.475,!0);return x.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?(x.spot1=new go.Spot(0,0,ee,ee),x.spot2=new go.Spot(1,1,-ee,-ee)):(x.spot1=go.Spot.TopLeft,x.spot2=go.Spot.BottomRight),x}),go.Shape.defineFigureGenerator("Download",function(de,a,E){var x=new go.Geometry,y=new go.PathFigure(a*0,E*1,!0);x.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 x.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()),x}),go.Shape.defineFigureGenerator("Bin",function(de,a,E){var x=new go.Geometry,y=new go.PathFigure(a*0,E*1,!0);x.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()),x}),go.Shape.defineFigureGenerator("Upload",function(de,a,E){var x=new go.Geometry,y=new go.PathFigure(a*0,E*1,!0);x.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 x.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()),x}),go.Shape.defineFigureGenerator("EmptyDrink",function(de,a,E){var x=new go.Geometry,y=new go.PathFigure(a*.15,E*0,!1);return x.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()),x}),go.Shape.defineFigureGenerator("Drink",function(de,a,E){var x=new go.Geometry,y=new go.PathFigure(a*.15,E*0,!1);x.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 x.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()),x}),go.Shape.defineFigureGenerator("4Arrows",function(de,a,E){var x=new go.Geometry,y=new go.PathFigure(a*.5,E*0,!0);return x.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()),x}),go.Shape.defineFigureGenerator("Connector","Ellipse"),go.Shape.defineFigureGenerator("Alternative","TriangleUp"),go.Shape.defineFigureGenerator("Merge","TriangleUp"),go.Shape.defineFigureGenerator("Decision","Diamond"),go.Shape.defineFigureGenerator("DataTransmissions","Hexagon"),go.Shape.defineFigureGenerator("Gate","Crescent"),go.Shape.defineFigureGenerator("Delay","HalfEllipse"),go.Shape.defineFigureGenerator("Input","Parallelogram1"),go.Shape.defineFigureGenerator("ManualLoop","ManualOperation"),go.Shape.defineFigureGenerator("ISOProcess","Chevron"),go.Shape.defineFigureGenerator("MessageToUser","SquareArrow"),go.Shape.defineFigureGenerator("MagneticData","Cylinder1"),go.Shape.defineFigureGenerator("DirectData","Cylinder4"),go.Shape.defineFigureGenerator("StoredData","DataStorage"),go.Shape.defineFigureGenerator("SequentialData","MagneticTape"),go.Shape.defineFigureGenerator("Subroutine","Procedure")},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 je={},Nt="5.0",re={},b=null,Be=!1,Je=!1,Te=null,Ze=!1,lt=null,he=null,Xe=0;Xe4?parseFloat(nt):5};je.setHTML5Codebase=function(nt,vt){he=nt,ln(nt,vt)},je.setJavaCodebase=je.setJavaCodebaseVersion=je.isCompiledInstalled=je.setPreCompiledScriptPath=je.setPreCompiledResourcePath=function(){},je.setHTML5CodebaseVersion=function(nt,vt){var Bt=parseFloat(nt);if(Bt!==NaN&&Bt<5){console.log("The GeoGebra HTML5 codebase version "+Bt+" is deprecated. Using version latest instead.");return}lt=nt,Tt(nt,vt)},je.getHTML5CodebaseVersion=function(){return de},je.getParameters=function(){return re},je.setFontsCSSURL=function(nt){ne=nt},je.setGiacJSURL=function(nt){},je.setJNLPFile=function(nt){Ie=nt},je.setJNLPBaseDir=function(nt){},je.inject=function(){function nt(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var vt="auto",Bt=re.id,Bn,nn=!1,on=0;on=5)return!0;var nt=je.getAppletObject();return nt&&typeof nt.recalculateEnvironments=="function"?(nt.recalculateEnvironments(),!0):!1},je.startAnimation=function(){var nt=je.getAppletObject();return nt&&typeof nt.startAnimation=="function"?(nt.startAnimation(),!0):!1},je.stopAnimation=function(){var nt=je.getAppletObject();return nt&&typeof nt.stopAnimation=="function"?(nt.stopAnimation(),!0):!1},je.getAppletObject=function(){var nt=re.id!==void 0?re.id:"ggbApplet";return window[nt]},je.resize=function(){};var St=function(nt,vt,Bt){var Bn=document.createElement("param");Bn.setAttribute("name",vt),Bn.setAttribute("value",Bt),nt.appendChild(Bn)},ht=function(nt){return nt&&nt!=="false"},pt=function(nt,vt,Bt){le(de)<=4.2&&(Bt=!0);var Bn=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==de||ggbHTML5LoadedCodebaseIsWebSimple&&!E)&&(Bn=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var nn=document.createElement("div");nn.classList.add("appletParameters","notranslate");var on=vt.width,De=vt.height;if(vt.disableAutoScale=vt.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():vt.disableAutoScale,vt.width!==void 0)if(le(de)<=4.4)ht(vt.showToolBar)&&(vt.height-=7),ht(vt.showAlgebraInput)&&(vt.height-=37),vt.width<605&&ht(vt.showToolBar)&&(vt.width=605,on=605);else{var Pe=100;(ht(vt.showToolBar)||ht(vt.showMenuBar))&&(vt.hasOwnProperty("customToolBar")&&(vt.customToolbar=vt.customToolBar),Pe=ht(vt.showMenuBar)?245:155),on=5?(vt.appletOnLoad=function(Vt){var kt=nt.querySelector(".ggb_preview");kt&&kt.parentNode.removeChild(kt),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(bt),window.GGBT_wsf_view&&$(window).trigger("resize"),Ft(Vt)},It||bt.appendChild(Ut)):nn.appendChild(Ut),bt.appendChild(nn),It||nt.appendChild(bt),setTimeout(function(){je.resize()},1)}else{var jt=document.createElement("div");jt.className="applet_scaler",jt.style.position="relative",jt.style.display="block",jt.appendChild(nn),nt.appendChild(jt),vt.appletOnLoad=function(Vt){je.resize(),Ft(Vt)}}function bn(Vt,kt){kt&&typeof kt.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(Vt,kt.appletOnLoad):renderGGBElement(Vt),fn("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",kt)}function Lt(Vt,kt){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:Vt,params:kt}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(rn){bn(rn.article,rn.params)}),html5AppletsToProcess=null)},le(de)<5&&(Vt.className+=" geogebraweb")):bn(Vt,kt)}if(Bn){scriptLoadStarted=!0;for(var Fe=0;Fe0?(He.remove(),bt.attr("id","fullscreencontent").show(),jQuery(Ft).append(bt),window.dispatchEvent(new Event("resize"))):pt(He,vt,!1),window.GGBT_wsf_view.launchFullScreen(Ft)}else Qe=Bn,pt(nt,vt,!1);if(!window.GGBT_wsf_view)for(De=0;Dent/4*3&&(He=nt/4*3),Ft=He/5.8,Pe.setAttribute("src",y),Pe.setAttribute("width",He),Pe.setAttribute("height",Ft);var bt=(nt-He)/2,It=(vt-Ft)/2;Pe.style.left=bt+"px",Pe.style.top=It+"px",nn.appendChild(Pe)}}return nn.appendChild(De),nn},In=function(nt){return nt=nt.toLowerCase(),nt==="html5"||nt==="screenshot"?nt:"html5"},ct=["web","webSimple","web3d","tablet","tablet3d","phone"],Tt=function(nt,vt){if(de=nt,vt){ln(de,!0);return}var Bt=!Be;if(Bt){var Bn=le(de);!isNaN(Bn)&&Bn<4.4&&(Bt=!1)}var nn,on;window.location.protocol.substr(0,4)==="http"?nn=window.location.protocol:nn="http:";var De=de.indexOf("//");De>0?on=de:De===0?on=nn+de:on="https://www.geogebra.org/apps/5.2.814.0/";for(var Pe in ct)if(de.slice(ct[Pe].length*-1)===ct[Pe]||de.slice((ct[Pe].length+1)*-1)===ct[Pe]+"/"){ln(on,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&Bt&&!b.is3D&&!b.AV&&!b.SV&&!b.CV&&!b.EV2&&!b.CP&&!b.PC&&!b.DA&&!b.FI&&!b.PV&&!ht(re.showToolBar)&&!ht(re.showMenuBar)&&!ht(re.showAlgebraInput)&&!ht(re.enableRightClick)&&(!re.appName||re.appName=="classic")?on+="webSimple/":on+="web3d/",ln(on,!1)},ln=function(nt,vt){if(nt.requirejs){tt=nt;return}nt.slice(-1)!=="/"&&(nt+="/"),tt=nt,vt===null&&(vt=nt.indexOf("http")===-1),ot=vt,a="web.nocache.js",E=!1;var Bt=tt.split("/");Bt.length>1&&(!vt&&Bt[Bt.length-2]==="webSimple"?(a="webSimple.nocache.js",E=!0):ct.indexOf(Bt[Bt.length-2])>=0&&(a=Bt[Bt.length-2]+".nocache.js")),Bt=nt.split("/"),de=Bt[Bt.length-3],de.substr(0,4)==="test"?de=de.substr(4,1)+"."+de.substr(5,1):(de.substr(0,3)==="war"||de.substr(0,4)==="beta")&&(de="5.0");var Bn=parseFloat(de);Bn!==NaN&&Bn<5&&nt.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+Bn+" is deprecated. Using version latest instead."),Tt("5.0",vt))},fn=function(nt,vt){window.console&&window.console.log&&(!vt||typeof vt.showLogging=="undefined"||vt.showLogging&&vt.showLogging!=="false")&&console.log(nt)};re.material_id!==void 0?ye(vn):vn();function vn(){var nt=Nt;lt!==null?nt=lt:parseFloat(nt)<5&&(nt="5.0"),Tt(nt,!1),he!==null&&ln(he,ot),Ze=!0}return je},GGBAppletUtils=function(){"use strict";function je(){return window.GGBT_wsf_edit!==void 0}function Nt(Ze,lt){lt!=1?(Ze.style.transformOrigin="0% 0% 0px",Ze.style.webkitTransformOrigin="0% 0% 0px",Ze.style.transform="scale("+lt+","+lt+")",Ze.style.webkitTransform="scale("+lt+","+lt+")",Ze.style.maxWidth="initial",Ze.querySelector(".ggb_preview")!==null&&(Ze.querySelector(".ggb_preview").style.maxWidth="initial"),Ze.querySelectorAll(".ggb_preview img")[0]!==void 0&&(Ze.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),Ze.querySelectorAll(".ggb_preview img")[1]!==void 0&&(Ze.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(Ze.style.transform="none",Ze.style.webkitTransform="none")}function re(Ze,lt,he,Xe,Ke,Ie){var tt=null;if(Ie!=null&&Ie!="")for(var ot=Ze.parentNode;ot!=null;)if((" "+ot.className+" ").indexOf(" "+Ie+" ")>-1){tt=ot;break}else ot=ot.parentNode;var Qe=0,de=0,a=0,E=0,x=0,y=0,ee=0;if(tt)Qe=tt.offsetWidth,de=Math.max(Xe?tt.offsetWidth:0,tt.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(Qe=Math.min(window.innerWidth,document.documentElement.clientWidth),de=Math.min(window.innerHeight,document.documentElement.clientHeight),a=Qe):(Qe=window.innerWidth,de=window.innerHeight,a=window.innerWidth),Ze){var ne=Ze.getBoundingClientRect();ne.left>0&&ne.left<=Qe&&(Ke===void 0||!Ke)&&(document.dir==="rtl"?(x=Qe-ne.width-ne.left,y=a<=480?10:30):(y=ne.left,x=a<=480?10:30),E=y+x)}if(Ze&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var oe=Ze.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(E=40,ee=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(E=0,ee=40)}}return Ze&&((he===void 0||!he)&<>0&<+E1&&(Ie=!0)),lt&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(Ie=!0),!(Ze.hasOwnProperty("disableAutoScale")&&Ze.disableAutoScale))Ke=b(Ze,lt,Ie,he,Ze.scaleContainerClass);else return Xe;return Ie&&(!Ze.hasOwnProperty("scale")||Xe===1)?Ke:Math.min(Xe,Ke)}function Je(Ze){var lt=Math.min(window.innerWidth,document.documentElement.clientWidth),he=Math.min(window.innerHeight,document.documentElement.clientHeight),Xe=Ze.getBoundingClientRect(),Ke=(lt-Xe.width)/2,Ie=(he-Xe.height)/2;Ie<0&&(Ie=0),Ze.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(Ke<40?Ze.style.left="40px":Ze.style.left=Ke+"px",Ze.style.top=Ie+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(Ie<40?Ze.style.top="40px":Ze.style.top=Ie+"px",Ze.style.left=Ke+"px")}function Te(Ze,lt){var he=Ze.querySelector(".appletParameters");if(he){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(lt.id!==he.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(Ze)}if(he.parentElement&&/fullscreen/.test(he.parentElement.className))return;var Xe=Be(lt,Ze);je()&&he.setAttribute("data-param-scale",Xe);for(var Ke=null,Ie=0;Ie=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(je){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(je){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(je){var Nt=c[je];return Nt==null?null:Nt},r=d,webModule.__errFn=e}function B(){function je(Ze){var lt=Ze.lastIndexOf(rb);lt==-1&&(lt=Ze.length);var he=Ze.indexOf(sb);he==-1&&(he=Ze.length);var Xe=Ze.lastIndexOf(tb,Math.min(he,lt));return Xe>=O?Ze.substring(O,Xe+P):W}function Nt(Ze){if(!Ze.match(/^\w+:\/\//)){var lt=o.createElement(ub);lt.src=Ze+vb,Ze=je(lt.src)}return Ze}function re(){var Ze=__gwt_getMetaProperty(wb);return Ze!=null?Ze:W}function b(){for(var Ze=o.getElementsByTagName(_),lt=O;ltO?Ze[Ze.length-P].href:W}function Je(){var Ze=o.location;return Ze.href==Ze.protocol+zb+Ze.host+Ze.pathname+Ze.search+Ze.hash}var Te=re();return Te==W&&(Te=b()),Te==W&&(Te=Be()),Te==W&&Je()&&(Te=je(o.location.href)),Te=Nt(Te),Te}function C(je){return je.match(/^\//)||je.match(/^[a-zA-Z]+:\/\//)?je:webModule.__moduleBase+je}function D(){var je=[],Nt=O,re=[],b=[];function Be(Ze){var lt=b[Ze](),he=re[Ze];if(lt in he)return lt;var Xe=[];for(var Ke in he)Xe[he[Ke]]=Ke;throw r&&r(Ze,Xe,lt),null}if(__gwt_isKnownPropertyValue=function(Ze,lt){return lt in re[Ze]},webModule.__getPropMap=function(){var Ze={};for(var lt in re)re.hasOwnProperty(lt)&&(Ze[lt]=Be(lt));return Ze},webModule.__computePropValue=Be,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var Je;try{Je=Cb;var Te=Je.indexOf(Db);Te!=-1&&(Nt=parseInt(Je.substring(Te+P),$),Je=Je.substring(O,Te))}catch(Ze){}return webModule.__softPermutationId=Nt,C(Je+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(je,Nt,re){"use strict";re.d(Nt,{Ax:function(){return Te},Ds:function(){return Ze},KI:function(){return he},SI:function(){return Je},f1:function(){return Be}});var b=re(90524);function Be(Xe){let Ke=!0;if(Xe.length>0){for(let Ie=0;Ie{}})=>{const ot=()=>b.createElement("div",{className:lt.flexColumn},b.createElement("img",{className:lt.img,src:Ze}),b.createElement("span",{className:lt.content},"\u672A\u804C\u4E1A\u8BA4\u8BC1")),Qe=()=>b.createElement("div",{className:lt.flexColumn},b.createElement("img",{className:lt.img,src:Te}),b.createElement("span",{className:lt.content},"\u672A\u5B9E\u540D\u8BA4\u8BC1")),de=()=>Ie===3?b.createElement(b.Fragment,null,Qe(),ot()):Ie===2?ot():Qe();return b.createElement(Je.default,{centered:!0,keyboard:!1,closable:!1,destroyOnClose:!0,open:Ke,title:"\u56E0\u4E3A\u4EE5\u4E0B\u539F\u56E0\uFF0C\u60A8\u6682\u65F6\u4E0D\u80FD\u8FDB\u884C\u64CD\u4F5C",okText:"\u7ACB\u5373\u8BA4\u8BC1",cancelText:"\u53D6\u6D88",width:"600px",onOk:()=>{tt(),Be.history.push("/account/certification")},onCancel:()=>{tt()}},b.createElement("div",{className:lt.tilte},"\u8BF7\u5728\u5B8C\u6210\u6761\u4EF6\u540E\u91CD\u8BD5"),b.createElement("div",{className:lt.flexRow},de()))};var Xe=(0,Be.connect)(({paperlibrary:Ke,loading:Ie,globalSetting:tt})=>({paperlibrary:Ke,globalSetting:tt,loading:Ie.effects}))(he)},84236:function(je,Nt,re){"use strict";re.d(Nt,{t:function(){return ot}});var b=re(59301),Be=re(3113),Je={buttonFixed:"buttonFixed___vyq30",button:"button___hxmYv",buttonWrap:"buttonWrap___uK8dl"},Te=re(92310),Ze=re.n(Te),lt=Object.defineProperty,he=Object.getOwnPropertySymbols,Xe=Object.prototype.hasOwnProperty,Ke=Object.prototype.propertyIsEnumerable,Ie=(Qe,de,a)=>de in Qe?lt(Qe,de,{enumerable:!0,configurable:!0,writable:!0,value:a}):Qe[de]=a,tt=(Qe,de)=>{for(var a in de||(de={}))Xe.call(de,a)&&Ie(Qe,a,de[a]);if(he)for(var a of he(de))Ke.call(de,a)&&Ie(Qe,a,de[a]);return Qe};const ot=({cancelText:Qe="\u53D6\u6D88",okText:de="\u786E\u5B9A",loading:a=!1,hasOkBtn:E=!0,hasCancelBtn:x=!0,okButtonProps:y={},onCancel:ee=()=>{},onOk:ne=()=>{},className:oe=""})=>b.createElement("div",{className:Ze()(Je.buttonFixed,oe)},b.createElement("div",{className:Je.buttonWrap},x&&b.createElement(Be.ZP,{size:"middle",className:`${Je.button} mr20`,onClick:ee},Qe),E&&b.createElement(Be.ZP,tt({size:"middle",type:"primary",className:`${Je.button} mr20`,loading:a,onClick:ne},y),de)))},99638:function(je,Nt,re){"use strict";re.d(Nt,{Z:function(){return le}});var b=re(59301),Be=re(76560),Je=re(43418),Te=re(8591),Ze=re(92832),lt=re(24905),he=re(55480),Xe=re(18631),Ke=re(49661),Ie=re(3113),tt=re(87169),ot={bottom:"bottom___z0ujX",yes:"yes___hodnN",no:"no___hiPz5"},Qe=re(32637),de=re(59301);const a=({classroomList:ie,dispatch:Ce,user:ye})=>de.createElement(Je.default,{open:ie.actionTabs.key==="\u5230\u671F\u63D0\u793A",width:464,centered:!0,title:de.createElement("span",null,de.createElement(tt.Z,{style:{color:"#faad14",fontSize:"18px"}})," \u63D0\u793A"),onCancel:()=>{Ce({type:"classroomList/setActionTabs",payload:{key:""}})},footer:null},de.createElement("div",{style:{textAlign:"center",marginBottom:30}},de.createElement("div",{style:{marginBottom:20,textAlign:"left"}},"\u8BE5\u6559\u5B66\u8BFE\u5802\u7684\u8BD5\u7528\u5DF2\u5230\u671F\uFF0C\u76EE\u524D\u65E0\u6CD5\u652F\u6301",de.createElement("span",{style:{color:"#FF9D18"}},"\u8D85\u8FC750"),"\u4EBA\u7684\u6559\u5B66\u6D3B\u52A8\u3002\u5982\u6709\u4EFB\u4F55\u7591\u95EE\uFF0C\u8BF7\u968F\u65F6\u8054\u7CFB\u6211\u4EEC\u3002\u611F\u8C22\u60A8\u7684\u7406\u89E3\u4E0E\u652F\u6301\uFF01"),de.createElement("img",{style:{width:130,height:130},src:Qe})),de.createElement("div",{className:ot.bottom},de.createElement(Ie.ZP,{className:ot.yes,onClick:()=>{Ce({type:"classroomList/setActionTabs",payload:{key:""}})}},"\u6211\u77E5\u9053\u4E86")));var E=(0,Be.connect)(({classroomList:ie,user:Ce})=>({classroomList:ie,user:Ce}))(a),x=re(82093),y=re(59301),ee=(ie,Ce,ye)=>new Promise((Ge,Re)=>{var St=Gn=>{try{pt(ye.next(Gn))}catch(Tn){Re(Tn)}},ht=Gn=>{try{pt(ye.throw(Gn))}catch(Tn){Re(Tn)}},pt=Gn=>Gn.done?Ge(Gn.value):Promise.resolve(Gn.value).then(St,ht);pt((ye=ye.apply(ie,Ce)).next())}),ne=(ie=>(ie[ie.Professor=1]="Professor",ie[ie.AssistantProfessor=2]="AssistantProfessor",ie[ie.Student=3]="Student",ie))(ne||{});const oe=({visible:ie,user:Ce,account:ye,onCancel:Ge=()=>{},dispatch:Re})=>{const[St,ht]=(0,b.useState)(),[pt,Gn]=(0,b.useState)([]),[Tn,da]=(0,b.useState)(!1),[$n,_t]=(0,b.useState)(!1),[In,ct]=(0,b.useState)(),[Tt,ln]=(0,b.useState)(!1);(0,b.useEffect)(()=>{var vt,Bt;(vt=Ce==null?void 0:Ce.userInfo)!=null&&vt.identity&&Gn([((Bt=Ce==null?void 0:Ce.userInfo)==null?void 0:Bt.identity)==="student"?3:1])},[Ce]);const fn=vt=>{const Bt=()=>{window.location.href=(vt==null?void 0:vt.jump_url)||`/classrooms/${vt==null?void 0:vt.course_id}`};if(pt.includes(1)){Je.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:y.createElement("div",{className:"tc"},(vt==null?void 0:vt.message)||"\u7533\u8BF7\u5DF2\u63D0\u4EA4\uFF0C\u8BF7\u7B49\u5F85\u5BA1\u6838"),onOk:()=>{Bt()}});return}Bt()},vn=()=>ee(void 0,null,function*(){if(!St){Te.ZP.info("\u9080\u8BF7\u7801\u4E0D\u80FD\u4E3A\u7A7A");return}let vt=yield(0,x.ZP)("/api/courses/get_pro_info.json",{method:"get",params:{invite_code:St}});if(vt!=null&&vt.need_pro_auth&&!pt.includes(1)&&!pt.includes(2)){Re({type:"account/setActionTabs",payload:{key:"Account-ProfessionalAuth",code:St,checkedList:pt}}),nt();return}da(!0);const Bt=yield(0,he.cR)({invite_code:St,professor:pt.includes(1)?1:null,assistant_professor:pt.includes(2)?1:null,student:pt.includes(3)?1:null});if(da(!1),(Bt==null?void 0:Bt.status)===-4&&(Ge(),Re({type:"classroomList/setActionTabs",payload:{key:"\u5230\u671F\u63D0\u793A"}})),(Bt==null?void 0:Bt.status)===-12&&Te.ZP.warning(Bt==null?void 0:Bt.message),(Bt==null?void 0:Bt.status)===-2){if(nt(),Bt.message==="\u8BE5\u8BFE\u5802\u8981\u6C42\u6210\u5458\u5B8C\u6210\u5B9E\u540D\u8BA4\u8BC1"){_t(!0),ct(1);return}if(Bt.message==="\u8BE5\u8BFE\u5802\u8981\u6C42\u6210\u5458\u5B8C\u6210\u804C\u4E1A\u8BA4\u8BC1"){_t(!0),ct(2);return}if(Bt.message==="\u8BE5\u8BFE\u5802\u8981\u6C42\u6210\u5458\u5B8C\u6210\u5B9E\u540D\u548C\u804C\u4E1A\u8BA4\u8BC1"){_t(!0),ct(3);return}}if((Bt==null?void 0:Bt.status)===0){(0,Ke.L9)(["\u6559\u5B66\u8BFE\u5802","\u9996\u9875","\u52A0\u5165\u8BFE\u5802"]),nt(),Bt!=null&&Bt.course_id?fn(Bt):Te.ZP.success(Bt.message);return}}),nt=()=>ee(void 0,null,function*(){Ge()});return y.createElement(y.Fragment,null,y.createElement(Je.default,{centered:!0,keyboard:!1,closable:!1,title:"\u52A0\u5165\u8BFE\u5802",open:ie,confirmLoading:Tn,onOk:vn,onCancel:nt},y.createElement("div",{className:"tc"},y.createElement("div",null,y.createElement("span",null,"\u8BFE\u5802\u9080\u8BF7\u7801\uFF1A"),y.createElement(Ze.default,{placeholder:"\u8BF7\u8F93\u51655\u4F4D\u8BFE\u5802\u9080\u8BF7\u7801\u62166\u4F4D\u5206\u73ED\u9080\u8BF7\u7801",style:{width:270},value:St,onChange:vt=>{if(vt.target.value.length>=7){Te.ZP.info("\u8BF7\u8F93\u51655\u4F4D\u8BFE\u5802\u9080\u8BF7\u7801\u62166\u4F4D\u5206\u73ED\u9080\u8BF7\u7801\uFF01");return}ht(vt.target.value)}})),y.createElement("div",{className:"mt10 font14"},y.createElement("span",null,"\u8EAB\u4EFD\uFF1A"),y.createElement(lt.default.Group,{value:pt,onChange:vt=>Gn(vt)},y.createElement(lt.default,{value:1,disabled:pt.includes(2)},"\u6559\u5E08"),y.createElement(lt.default,{value:2,disabled:pt.includes(1)},"\u52A9\u6559"),y.createElement(lt.default,{value:3},"\u5B66\u751F/\u53C2\u8D5B\u8005"))))),y.createElement(E,null),y.createElement(Xe.Z,{visible:$n,onCancel:()=>_t(!1),occupationValue:In}))};var le=(0,Be.connect)(({user:ie,account:Ce})=>({user:ie,account:Ce}))(oe)},71546:function(je,Nt,re){"use strict";re.d(Nt,{Z:function(){return aa},g:function(){return We}});var b=re(59301),Be=re(76560),Je=re(44e3),Te=re(92832),Ze=re(43418),lt={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",logo:"logo___QnotM",menu:"menu___twLGR",dropDown:"dropDown___Cwaoa",line:"line___D1auu",subName:"subName___gql7K",name:"name___dR5V2",actived:"actived___ohMks","edu-menu":"edu-menu___iWLK0",newslight:"newslight___lSZjL",classromediv:"classromediv___knFRv",glow:"glow___gzrPH",spandiv:"spandiv___Gm_hg","header-iearning":"header-iearning___LZfyg",title:"title___Ozzjk",headerFixed:"headerFixed___QLwBd"},he=re(8591),Xe=re(95237),Ke=re(43604),Ie=re(20834),tt=re(38854),ot=re(5112),Qe=re(55480),de=re(49661),a=(Oe,it,Me)=>new Promise((ut,zt)=>{var Ga=Xt=>{try{Vn(Me.next(Xt))}catch(Hn){zt(Hn)}},ja=Xt=>{try{Vn(Me.throw(Xt))}catch(Hn){zt(Hn)}},Vn=Xt=>Xt.done?ut(Xt.value):Promise.resolve(Xt.value).then(Ga,ja);Vn((Me=Me.apply(Oe,it)).next())}),E=(Oe=>(Oe.Manager="manager",Oe.Developer="developer",Oe.Reporter="reporter",Oe))(E||{}),y=({visible:Oe,onCancel:it=()=>{}})=>{const[Me,ut]=(0,b.useState)(),[zt,Ga]=(0,b.useState)(),[ja,Vn]=(0,b.useState)(!1),Xt=()=>a(void 0,null,function*(){if(!Me){he.ZP.info("\u8BF7\u8F93\u5165\u5F00\u53D1\u9879\u76EE\u9080\u8BF7\u7801\uFF01");return}if(Me.length!==6){he.ZP.info("\u8BF7\u8F93\u51656\u4F4D\u9879\u76EE\u9080\u8BF7\u7801\uFF01");return}if(!zt){he.ZP.info("\u8BF7\u9009\u62E9\u4E00\u4E2A\u8EAB\u4EFD\uFF01");return}Vn(!0);const ba=yield(0,Qe.vm)({code:Me,role:zt});Vn(!1),Hn();const La={1:"\u60A8\u8F93\u5165\u7684\u9080\u8BF7\u7801\u9519\u8BEF",2:"\u60A8\u5DF2\u7ECF\u662F\u8BE5\u9879\u76EE\u6210\u5458",3:"\u8BF7\u9009\u62E9\u4E00\u4E2A\u89D2\u8272",4:"\u60A8\u7684\u7533\u8BF7\u5DF2\u63D0\u4EA4\uFF0C\u8BF7\u7B49\u5F85\u9879\u76EE\u7BA1\u7406\u5458\u5BA1\u6279",5:"\u60A8\u5DF2\u7ECF\u7533\u8BF7\u52A0\u5165\u8BE5\u9879\u76EE\u4E86\uFF0C\u8BF7\u8010\u5FC3\u7B49\u5F85",6:"\u60A8\u5DF2\u6210\u529F\u52A0\u5165\u9879\u76EE"};if(La[ba.status]){he.ZP.info(La[ba.status]);return}if(ba.status===0){zt==="reporter"?(he.ZP.success("\u60A8\u52A0\u5165\u9879\u76EE\u6210\u529F\uFF01"),(0,de.L9)(["\u5F00\u53D1\u9879\u76EE","\u52A0\u5165\u9879\u76EE\u6210\u529F"]),Be.history.push(`/projects/${ba==null?void 0:ba.project_id}`)):((0,de.L9)(["\u5F00\u53D1\u9879\u76EE","\u52A0\u5165\u9879\u76EE\u7B49\u5F85\u5BA1\u6279"]),he.ZP.success("\u60A8\u7684\u7533\u8BF7\u5DF2\u63D0\u4EA4\uFF0C\u8BF7\u7B49\u5F85\u9879\u76EE\u7BA1\u7406\u5458\u5BA1\u6279\uFF01"));return}}),Hn=()=>a(void 0,null,function*(){it()});return b.createElement(b.Fragment,null,b.createElement(Ze.default,{centered:!0,keyboard:!1,closable:!1,title:"\u52A0\u5165\u9879\u76EE",open:Oe,confirmLoading:ja,onOk:Xt,onCancel:Hn},b.createElement("div",{className:"tc"},b.createElement("div",null,b.createElement("span",null,"\u9879\u76EE\u9080\u8BF7\u7801\uFF1A"),b.createElement(Te.default,{placeholder:"\u8BF7\u8F93\u51656\u4F4D\u5F00\u53D1\u9879\u76EE\u9080\u8BF7\u7801",style:{width:270},value:Me,onChange:ba=>{if(ba.target.value.length>=7){he.ZP.info("\u8BF7\u8F93\u51656\u4F4D\u5F00\u53D1\u9879\u76EE\u9080\u8BF7\u7801\uFF01");return}ut(ba.target.value)}})),b.createElement("div",{className:"mt10 font14"},b.createElement("span",null,"\u8EAB\u4EFD\uFF1A"),b.createElement(ot.ZP.Group,{value:zt,onChange:ba=>Ga(ba.target.value)},b.createElement(ot.ZP,{value:"manager"},"\u7BA1\u7406\u4EBA\u5458"),b.createElement(ot.ZP,{value:"developer"},"\u5F00\u53D1\u4EBA\u5458"),b.createElement(ot.ZP,{value:"reporter"},"\u62A5\u544A\u4EBA\u5458"))))))},ee=re(99638),ne={flex_box_center:"flex_box_center___cltIf",flex_space_between:"flex_space_between___fKr_O",flex_box_vertical_center:"flex_box_vertical_center____QfiA",flex_box_center_end:"flex_box_center_end___ysqmH",flex_box_column:"flex_box_column___CfE8K",rightMenu:"rightMenu___ADTOX",joinMenu:"joinMenu___aRGsf",joinBoard:"joinBoard___AeUvr",joinCol:"joinCol___fV4uL",hidden:"hidden___TkCJZ",w140:"w140___Vx5lp",w100:"w100___yYRaC"},oe=re(23869),le=re(78241),ie=re(57809),Ce=re(86645),ye=Object.defineProperty,Ge=Object.defineProperties,Re=Object.getOwnPropertyDescriptors,St=Object.getOwnPropertySymbols,ht=Object.prototype.hasOwnProperty,pt=Object.prototype.propertyIsEnumerable,Gn=(Oe,it,Me)=>it in Oe?ye(Oe,it,{enumerable:!0,configurable:!0,writable:!0,value:Me}):Oe[it]=Me,Tn=(Oe,it)=>{for(var Me in it||(it={}))ht.call(it,Me)&&Gn(Oe,Me,it[Me]);if(St)for(var Me of St(it))pt.call(it,Me)&&Gn(Oe,Me,it[Me]);return Oe},da=(Oe,it)=>Ge(Oe,Re(it)),$n=(Oe,it,Me)=>new Promise((ut,zt)=>{var Ga=Xt=>{try{Vn(Me.next(Xt))}catch(Hn){zt(Hn)}},ja=Xt=>{try{Vn(Me.throw(Xt))}catch(Hn){zt(Hn)}},Vn=Xt=>Xt.done?ut(Xt.value):Promise.resolve(Xt.value).then(Ga,ja);Vn((Me=Me.apply(Oe,it)).next())});const _t=({globalSetting:Oe,dispatch:it,user:Me,info:ut,open:zt,onCancel:Ga=()=>{}})=>{var ja;const[Vn,Xt]=(0,b.useState)([]),[Hn,ba]=(0,b.useState)([]),[La,rr]=(0,b.useState)([]),[sa]=le.default.useForm(),[wt,ca]=(0,b.useState)(!1),[gr,Pr]=(0,b.useState)(!1),dr=(0,b.useRef)(null),Zn=(0,b.useRef)(1),[Rn,pn]=(0,b.useState)({keyword:"",source:"",status:"",page:1,limit:20});(0,b.useEffect)(()=>{zt&&Er()},[zt]);const Er=()=>$n(void 0,null,function*(){var Ka;const _r=ut;if(!(0,oe.o1)(it))return;const{user_school_id:Eo="",department_id:ai="",school_name:li="",department_name:Mi=""}=Me.userInfo||{},Gr=(Ka=_r==null?void 0:_r.graduation_years)==null?void 0:Ka.at(-1);ba([{id:Eo,name:li}]),yield to(Eo),sa.setFieldsValue({year:Gr,school_id:Eo,department_id:Number(ai),name:`${Gr}${li}${Mi}\u6BD5\u4E1A\u8BBE\u8BA1`})}),zr=Ka=>$n(void 0,null,function*(){const _r=yield(0,Ce.J3)(da(Tn({},Ka),{tab_module_type:"graduations"}));return _r!=null&&_r.un_purchased&&it({type:"globalSetting/setActionTabs",payload:{key:"\u91C7\u8D2D\u63D0\u793A"}}),_r.status===0&&Xt((_r==null?void 0:_r.graduation_years)||[]),_r}),uo=(Ka,_r=500)=>{Pr(!0),clearTimeout(dr.current),dr.current=setTimeout(()=>$n(void 0,null,function*(){Zn.current+=1;const Eo=Zn.current,ai=yield(0,Ce.NT)({keyword:Ka});ai.status===0&&Zn.current===Eo&&(ba((ai==null?void 0:ai.schools)||[]),Pr(!1))}),_r)},to=Ka=>$n(void 0,null,function*(){if(!Ka)return;const _r=yield(0,Ce.Ps)({page:1,limit:9999,id:Ka});_r.status===0&&rr((_r==null?void 0:_r.departments)||[])});return b.createElement(Ze.default,{centered:!0,keyboard:!1,destroyOnClose:!0,open:zt,title:"\u5F00\u542F\u65B0\u4E00\u5C4A\u6BD5\u4E1A\u8BBE\u8BA1",width:578,confirmLoading:wt,onCancel:Ga,onOk:()=>sa.submit()},b.createElement(le.default,{colon:!1,form:sa,initialValues:{},labelCol:{span:7},size:"large",wrapperCol:{span:17},onValuesChange:(Ka,_r)=>{Ka.school_id&&(to(_r.school_id),sa.setFieldValue("department_id",null))},onFinish:Ka=>$n(void 0,null,function*(){ca(!0);const _r=yield(0,Ce.Wz)(Ka);_r.status===0&&(he.ZP.success("\u521B\u5EFA\u6210\u529F"),sa.resetFields(),Ga(),(0,de.xg)(`/graduations/${_r==null?void 0:_r.identifier}/index`)),ca(!1)})},b.createElement(le.default.Item,{name:"year",label:"\u9009\u62E9\u5C4A\u522B",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u5C4A\u522B"}]},b.createElement(ie.default,{style:{width:344},size:"large",options:(ja=ut==null?void 0:ut.graduation_years)==null?void 0:ja.map(Ka=>({value:Ka,label:Ka}))})),b.createElement(le.default.Item,{name:"school_id",label:"\u5B66\u6821",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u5B66\u6821"}]},b.createElement(ie.default,{showSearch:!0,filterOption:!1,onSearch:Ka=>{uo(Ka)},loading:gr,size:"large",style:{width:344},options:Hn.map(Ka=>({value:Ka.id,label:Ka.name}))})),b.createElement(le.default.Item,{name:"department_id",label:"\u5B66\u9662",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u5B66\u9662"}]},b.createElement(ie.default,{showSearch:!0,optionFilterProp:"label",style:{width:344},size:"large",options:La.map(Ka=>({value:Ka.id,label:Ka.name}))})),b.createElement(le.default.Item,{name:"name",label:"\u6BD5\u4E1A\u8BBE\u8BA1\u540D\u79F0",style:{marginBottom:0},rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6BD5\u4E1A\u8BBE\u8BA1\u540D\u79F0"},{max:60,message:"\u8F93\u5165\u8D85\u9650\uFF0C\u8BF7\u7F29\u51CF\u5B57\u7B26\u6570"},{type:"string",whitespace:!0,message:"\u8BF7\u8F93\u5165\u6BD5\u4E1A\u8BBE\u8BA1\u540D\u79F0"}]},b.createElement(Te.default,{showCount:!0,style:{width:344},maxLength:60}))))};var In=(0,Be.connect)(({user:Oe,globalSetting:it,loading:Me})=>({user:Oe,globalSetting:it,loading:Me}))(_t),ct=re(82093),Tt=Object.defineProperty,ln=Object.getOwnPropertySymbols,fn=Object.prototype.hasOwnProperty,vn=Object.prototype.propertyIsEnumerable,nt=(Oe,it,Me)=>it in Oe?Tt(Oe,it,{enumerable:!0,configurable:!0,writable:!0,value:Me}):Oe[it]=Me,vt=(Oe,it)=>{for(var Me in it||(it={}))fn.call(it,Me)&&nt(Oe,Me,it[Me]);if(ln)for(var Me of ln(it))vn.call(it,Me)&&nt(Oe,Me,it[Me]);return Oe},Bt=(Oe,it,Me)=>new Promise((ut,zt)=>{var Ga=Xt=>{try{Vn(Me.next(Xt))}catch(Hn){zt(Hn)}},ja=Xt=>{try{Vn(Me.throw(Xt))}catch(Hn){zt(Hn)}},Vn=Xt=>Xt.done?ut(Xt.value):Promise.resolve(Xt.value).then(Ga,ja);Vn((Me=Me.apply(Oe,it)).next())});const Bn=({globalSetting:Oe,dispatch:it,user:Me,open:ut,onCancel:zt=()=>{}})=>{const[Ga]=le.default.useForm(),[ja,Vn]=(0,b.useState)(!1),[Xt,Hn]=(0,b.useState)(null);return(0,b.useEffect)(()=>{var ba;if(ut){const La={code:"",user_type:((ba=Me==null?void 0:Me.userInfo)==null?void 0:ba.identity)==="student"?2:1,major:""};Ga.setFieldsValue(La),Hn(vt({},La))}},[ut]),b.createElement(Ze.default,{centered:!0,keyboard:!1,destroyOnClose:!0,open:ut,title:"\u52A0\u5165\u6BD5\u8BBE",width:527,confirmLoading:ja,onCancel:zt,onOk:()=>Ga.submit()},b.createElement(le.default,{colon:!1,form:Ga,initialValues:{user_type:1},labelCol:{span:5},wrapperCol:{span:19},size:"large",onValuesChange:(ba,La)=>Hn(vt({},La)),onFinish:ba=>Bt(void 0,null,function*(){Vn(!0);const La=yield(0,ct.ZP)("/api/graduations/join.json",{method:"post",body:ba});La.status===0&&(zt(),La!=null&&La.identifier?(0,de.xg)(`/graduations/${La==null?void 0:La.identifier}/index`):he.ZP.success(La==null?void 0:La.message)),Vn(!1)})},b.createElement(le.default.Item,{name:"code",label:"\u6BD5\u8BBE\u9080\u8BF7\u7801",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6BD5\u8BBE\u9080\u8BF7\u7801"}]},b.createElement(Te.default,{placeholder:"\u8BF7\u8F93\u5165\u6BD5\u8BBE\u9080\u8BF7\u7801",size:"large"})),b.createElement(le.default.Item,{name:"user_type",label:"\u8EAB\u4EFD",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6BD5\u8BBE\u9080\u8BF7\u7801"}]},b.createElement(ot.ZP.Group,null,b.createElement(ot.ZP,{value:1,style:{color:"#000"}},"\u7BA1\u7406\u5458\uFF08\u6559\u5E08\uFF09"),b.createElement(ot.ZP,{className:"ml30",style:{color:"#000"},value:2},"\u5B66\u751F"))),(Xt==null?void 0:Xt.user_type)===2&&b.createElement(le.default.Item,{style:{marginBottom:0},name:"major",label:"\u4E13\u4E1A",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4E13\u4E1A\u540D\u79F0"},{max:60,message:"\u8F93\u5165\u8D85\u9650\uFF0C\u8BF7\u7F29\u51CF\u5B57\u7B26\u6570"},{whitespace:!0,message:"\u8BF7\u8F93\u5165\u4E13\u4E1A\u540D\u79F0"}]},b.createElement(Te.default,{showCount:!0,maxLength:60}))))};var nn=(0,Be.connect)(({user:Oe,globalSetting:it})=>({user:Oe,globalSetting:it}))(Bn),on=re(59301),De=Object.defineProperty,Pe=Object.defineProperties,He=Object.getOwnPropertyDescriptors,Ft=Object.getOwnPropertySymbols,bt=Object.prototype.hasOwnProperty,It=Object.prototype.propertyIsEnumerable,Ut=(Oe,it,Me)=>it in Oe?De(Oe,it,{enumerable:!0,configurable:!0,writable:!0,value:Me}):Oe[it]=Me,jt=(Oe,it)=>{for(var Me in it||(it={}))bt.call(it,Me)&&Ut(Oe,Me,it[Me]);if(Ft)for(var Me of Ft(it))It.call(it,Me)&&Ut(Oe,Me,it[Me]);return Oe},bn=(Oe,it)=>Pe(Oe,He(it)),Lt=(Oe,it)=>{var Me={};for(var ut in Oe)bt.call(Oe,ut)&&it.indexOf(ut)<0&&(Me[ut]=Oe[ut]);if(Oe!=null&&Ft)for(var ut of Ft(Oe))it.indexOf(ut)<0&&It.call(Oe,ut)&&(Me[ut]=Oe[ut]);return Me},Fe=(Oe,it,Me)=>new Promise((ut,zt)=>{var Ga=Xt=>{try{Vn(Me.next(Xt))}catch(Hn){zt(Hn)}},ja=Xt=>{try{Vn(Me.throw(Xt))}catch(Hn){zt(Hn)}},Vn=Xt=>Xt.done?ut(Xt.value):Promise.resolve(Xt.value).then(Ga,ja);Vn((Me=Me.apply(Oe,it)).next())}),xe=(Oe=>(Oe.Projects="projects",Oe.Shixuns="shixuns",Oe.Classrooms="classrooms",Oe))(xe||{}),gt=(Oe=>(Oe.Classrooms="classrooms",Oe.Shixuns="shixuns",Oe.Paths="paths",Oe.Projects="projects",Oe.Videos="videos",Oe.Topics="topics",Oe.Graduations="graduations",Oe))(gt||{});const Mt=Oe=>{var it=Oe,{homePage:Me,user:ut,globalSetting:zt,loading:Ga,dispatch:ja}=it,Vn=Lt(it,["homePage","user","globalSetting","loading","dispatch"]),Xt,Hn,ba,La;const[rr,sa]=(0,b.useState)(),[wt,ca]=(0,b.useState)(),[gr,Pr]=(0,b.useState)(!1),[dr,Zn]=(0,b.useState)(!1),[Rn,pn]=(0,b.useState)(!1),[Er,zr]=(0,b.useState)();function uo(Gr,Sa){for(const kn of Gr){if(kn.link===Sa)return kn.hidden;if(kn.subitem&&kn.subitem.length>0){let $t=kn.subitem;for(const Mn of $t)if(Mn.link===Sa)return Mn.hidden;return!1}}return!0}const to=uo(((Xt=zt.setting)==null?void 0:Xt.navbar)||[],"/classrooms"),Ka=uo(((Hn=zt.setting)==null?void 0:Hn.navbar)||[],"/shixuns"),_r=uo(((ba=zt.setting)==null?void 0:ba.navbar)||[],"/paths"),Eo=uo(((La=zt.setting)==null?void 0:La.navbar)||[],"/graduations"),ai=Gr=>{var Sa;if((0,oe.tJ)(ja)){if(Gr==="projects"&&!((Sa=ut.userInfo)!=null&&Sa.email)){he.ZP.info("\u8BF7\u5148\u7ED1\u5B9A\u90AE\u7BB1\uFF0C\u8C22\u8C22");return}Gr==="classrooms"?sa(!0):Gr==="projects"&&ca(!0)}},li=(Gr,Sa)=>{var kn;if((0,oe.tJ)(ja)){if(Sa==="projects"&&!((kn=ut.userInfo)!=null&&kn.email)){he.ZP.info("\u8BF7\u5148\u7ED1\u5B9A\u90AE\u7BB1\uFF0C\u8C22\u8C22");return}Sa==="shixuns"&&!(0,oe.xY)()||Gr&&(window.location.href=Gr)}},Mi=Gr=>{var Sa,kn,$t,Mn,pr,be,jr,Za,mr,fr,Vr,Xr,yo,So,ui,ko,Di,hl,di,bl,Ii,gl;return on.createElement(on.Fragment,null,on.createElement(Xe.Z,{justify:"space-around",className:"pt5 pb5"},on.createElement(Ke.Z,{className:((Sa=ut.userInfo)==null?void 0:Sa.user_identity)!=="\u5B66\u751F"?ne.joinCol:ne.hidden},((kn=ut.userInfo)==null?void 0:kn.user_identity)!=="\u5B66\u751F"&&!(($t=zt==null?void 0:zt.setting)!=null&&$t.hide_course)&&on.createElement(Ie.default.Item,jt({},Gr),on.createElement("a",{onClick:()=>li("/classrooms/new")},(Mn=ut.userInfo)!=null&&Mn.main_site?"\u65B0\u5EFA\u6559\u5B66\u8BFE\u5802":"\u65B0\u5EFA\u8BFE\u5802")),!((pr=zt==null?void 0:zt.setting)!=null&&pr.hide_shixun)&&((be=ut==null?void 0:ut.userInfo)==null?void 0:be.is_shixun_marker)&&on.createElement(Ie.default.Item,jt({},Gr),on.createElement("a",{onClick:()=>li("/shixuns/new","shixuns")},"\u65B0\u5EFA\u5B9E\u8DF5\u9879\u76EE")),((jr=ut.userInfo)==null?void 0:jr.user_identity)!=="\u5B66\u751F"&&!((Za=zt==null?void 0:zt.setting)!=null&&Za.hide_subject)&&on.createElement(Ie.default.Item,jt({},Gr),on.createElement("a",{onClick:()=>li("/paths/new")},"\u65B0\u5EFA\u5B9E\u8DF5\u8BFE\u7A0B")),!((mr=zt==null?void 0:zt.setting)!=null&&mr.is_local)&&((fr=ut.userInfo)==null?void 0:fr.main_site)&&on.createElement(Ie.default.Item,jt({},Gr),on.createElement("a",{onClick:()=>{var al;return li(`${(al=zt==null?void 0:zt.setting)==null?void 0:al.old_url}/projects/deposit/new`,"projects")}},"\u65B0\u5EFA\u5F00\u53D1\u9879\u76EE")),window.location.host!=="narl.educoder.net"&&((Vr=ut==null?void 0:ut.userInfo)==null?void 0:Vr.identity)!=="student"&&on.createElement(Ie.default.Item,bn(jt({},Gr),{onClick:()=>Fe(void 0,null,function*(){if(!(0,oe.o1)(ja))return;const al=yield(0,Ce.J3)({keyword:"",source:"",status:"",page:1,limit:20,tab_module_type:"graduations"});if(al!=null&&al.un_purchased){ja({type:"globalSetting/setActionTabs",payload:{key:"\u91C7\u8D2D\u63D0\u793A"}});return}al.status===0&&(zr(al),Pr(!0))})}),on.createElement("a",null,"\u65B0\u5EFA\u6BD5\u4E1A\u8BBE\u8BA1")),!((Xr=ut.userInfo)!=null&&Xr.main_site)&&on.createElement("div",null,on.createElement(Ie.default.Item,jt({},Gr),on.createElement("a",{onClick:()=>ai("classrooms")},(yo=ut.userInfo)!=null&&yo.main_site?"\u52A0\u5165\u6559\u5B66\u8BFE\u5802":"\u52A0\u5165\u8BFE\u5802")),((So=ut.userInfo)==null?void 0:So.main_site)&&!((ui=zt==null?void 0:zt.setting)!=null&&ui.is_local)&&on.createElement(Ie.default.Item,jt({},Gr),on.createElement("a",{onClick:()=>ai("projects")},"\u52A0\u5165\u5F00\u53D1\u9879\u76EE")))),((ko=ut.userInfo)==null?void 0:ko.main_site)&&((Di=ut.userInfo)==null?void 0:Di.user_identity)!=="\u5B66\u751F"&&on.createElement(Ke.Z,null,on.createElement("div",{className:ne.joinBoard})),((hl=ut.userInfo)==null?void 0:hl.main_site)&&on.createElement(Ke.Z,{className:((di=ut.userInfo)==null?void 0:di.user_identity)!=="\u5B66\u751F"?ne.joinCol:ne.w90},on.createElement(Ie.default.Item,jt({},Gr),on.createElement("a",{onClick:()=>ai("classrooms")},(bl=ut.userInfo)!=null&&bl.main_site?"\u52A0\u5165\u6559\u5B66\u8BFE\u5802":"\u52A0\u5165\u8BFE\u5802")),((Ii=ut.userInfo)==null?void 0:Ii.main_site)&&!((gl=zt==null?void 0:zt.setting)!=null&&gl.is_local)&&on.createElement(Ie.default.Item,jt({},Gr),on.createElement("a",{onClick:()=>ai("projects")},"\u52A0\u5165\u5F00\u53D1\u9879\u76EE")),on.createElement(Ie.default.Item,bn(jt({},Gr),{onClick:()=>{(0,oe.o1)(ja)&&Zn(!0)}}),on.createElement("a",null,"\u52A0\u5165\u6BD5\u4E1A\u8BBE\u8BA1")))))};return on.createElement("section",null,on.createElement(tt.Z,{dropdownRender:()=>{var Gr;return on.createElement(Ie.default,{className:((Gr=ut.userInfo)==null?void 0:Gr.user_identity)!=="\u5B66\u751F"?`${ne.rightMenu} ${ne.joinMenu} mt10`:`${ne.rightMenu} ${ne.joinMenu} ${ne.w140} mt10`},on.createElement(Mi,null))},placement:"bottom"},on.createElement("span",{style:{lineHeight:"inherit"},className:"iconfont icon-tianjiafangda c-white font18 current ml15 mr15"})),on.createElement(ee.Z,{visible:rr,onCancel:()=>sa(!1)}),on.createElement(y,{visible:wt,onCancel:()=>ca(!1)}),on.createElement(In,{info:Er,open:gr,onCancel:()=>Pr(!1)}),on.createElement(nn,{open:dr,onCancel:()=>Zn(!1)}))};var qt=(0,Be.connect)(({homePage:Oe,loading:it,user:Me,globalSetting:ut})=>({homePage:Oe,user:Me,globalSetting:ut,loading:it.models.index}))(Mt),Vt={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",icon:"icon___HABAt"},kt=re(34055),rn=re(63423),Wt=re(90524),yt=re(59301),an=Object.getOwnPropertySymbols,mt=Object.prototype.hasOwnProperty,At=Object.prototype.propertyIsEnumerable,xt=(Oe,it)=>{var Me={};for(var ut in Oe)mt.call(Oe,ut)&&it.indexOf(ut)<0&&(Me[ut]=Oe[ut]);if(Oe!=null&&an)for(var ut of an(Oe))it.indexOf(ut)<0&&At.call(Oe,ut)&&(Me[ut]=Oe[ut]);return Me},cn=(Oe,it,Me)=>new Promise((ut,zt)=>{var Ga=Xt=>{try{Vn(Me.next(Xt))}catch(Hn){zt(Hn)}},ja=Xt=>{try{Vn(Me.throw(Xt))}catch(Hn){zt(Hn)}},Vn=Xt=>Xt.done?ut(Xt.value):Promise.resolve(Xt.value).then(Ga,ja);Vn((Me=Me.apply(Oe,it)).next())});const Dt=Oe=>{var it,Me=RegExp("(^| )"+Oe+"=([^;]+)(;|$)");return(it=document.cookie.match(Me))?decodeURIComponent(it[2]):null},Ot=Oe=>{var it=new Date;it.setTime(it.getTime()-1);var Me=Dt(Oe);Me!=null&&(document.cookie=Oe+"="+Me+";expires="+it.toGMTString())};var xn=(Oe=>(Oe.Classrooms="classrooms",Oe.Shixuns="shixuns",Oe.Paths="paths",Oe.Projects="projects",Oe.Videos="videos",Oe.Topics="topics",Oe.Competition="competitions",Oe.Engineering="engineering",Oe.Graduations="graduations",Oe.Paperlibrary="paperlibrary",Oe.Problemset="problemset",Oe.Dataset="dataset",Oe))(xn||{});const Gt=Oe=>{var it=Oe,{homePage:Me,user:ut,globalSetting:zt,loading:Ga,dispatch:ja,shixunHomeworks:Vn,location:Xt,payload:Hn={}}=it,ba=xt(it,["homePage","user","globalSetting","loading","dispatch","shixunHomeworks","location","payload"]),La,rr,sa,wt,ca,gr,Pr,dr,Zn,Rn,pn,Er,zr,uo,to,Ka;const _r=(rr=(((La=zt.setting)==null?void 0:La.navbar)||[]).find(Gr=>Gr.link==="/classrooms"))==null?void 0:rr.hidden,Eo=(wt=(((sa=zt.setting)==null?void 0:sa.navbar)||[]).find(Gr=>Gr.link==="/shixuns"))==null?void 0:wt.hidden,ai=(gr=(((ca=zt.setting)==null?void 0:ca.navbar)||[]).find(Gr=>Gr.link==="/paths"))==null?void 0:gr.hidden,li=(Pr=ut.userInfo)==null?void 0:Pr.is_school_manage,Mi=()=>{var Gr,Sa,kn,$t,Mn,pr,be,jr,Za,mr,fr,Vr,Xr,yo,So,ui;return(0,de.Ll)()?yt.createElement(Ie.default,{className:`${Vt.rightMenu} ${Vt.menuWrap}`},yt.createElement(Ie.default.Item,null,yt.createElement(Be.Link,{to:"/account/profile"},"\u8D26\u53F7\u7BA1\u7406"))):yt.createElement(Ie.default,{className:`${Vt.rightMenu} ${Vt.menuWrap}`},yt.createElement(Ie.default.Item,null,yt.createElement(Be.Link,{to:`/users/${(Gr=ut.userInfo)==null?void 0:Gr.login}/classrooms`},"\u6211\u7684\u4E2A\u4EBA\u4E3B\u9875")),yt.createElement(Ie.default.Item,null,yt.createElement(Be.Link,{to:`/users/${(Sa=ut.userInfo)==null?void 0:Sa.login}/classrooms`},(kn=ut.userInfo)!=null&&kn.main_site?"\u6211\u7684\u6559\u5B66\u8BFE\u5802":"\u6211\u7684\u8BFE\u5802")),yt.createElement(Ie.default.Item,null,yt.createElement(Be.Link,{to:`/users/${($t=ut.userInfo)==null?void 0:$t.login}/shixuns`},"\u6211\u7684\u5B9E\u8DF5\u9879\u76EE")),yt.createElement(Ie.default.Item,null,yt.createElement(Be.Link,{to:`/users/${(Mn=ut.userInfo)==null?void 0:Mn.login}/paths`},(pr=ut.userInfo)!=null&&pr.main_site?"\u6211\u7684\u5B9E\u8DF5\u8BFE\u7A0B":"\u6211\u7684\u8BFE\u7A0B")),((be=ut.userInfo)==null?void 0:be.user_identity)!=="\u5B66\u751F"&&yt.createElement(Ie.default.Item,null,yt.createElement(Be.Link,{to:`/users/${(jr=ut.userInfo)==null?void 0:jr.login}/teach-group`},"\u6211\u7684\u6559\u7814\u56E2\u961F")),!((Za=zt.setting)!=null&&Za.hide_competition)&&yt.createElement(Ie.default.Item,null,yt.createElement(Be.Link,{to:`/users/${(mr=ut.userInfo)==null?void 0:mr.login}/competitions`},"\u6211\u7684\u7ADE\u8D5B\u7BA1\u7406")),!((fr=zt.setting)!=null&&fr.hide_virtual)&&yt.createElement(Ie.default.Item,null,yt.createElement(Be.Link,{to:`/users/${(Vr=ut.userInfo)==null?void 0:Vr.login}/vspaces`},"\u6211\u7684\u865A\u62DF\u793E\u533A")),!(0,kt.JA)()&&yt.createElement(Ie.default.Item,null,yt.createElement("a",{onClick:()=>{(0,oe.tJ)(ja)&&Be.history.push("/problemset")}},"\u8BD5\u9898\u5E93")),!(0,kt.JA)()&&yt.createElement(Ie.default.Item,null,yt.createElement("a",{onClick:()=>{(0,oe.tJ)(ja)&&Be.history.push("/paperlibrary")}},"\u8BD5\u5377\u5E93")),((yo=(Xr=ut.navigationInfo)==null?void 0:Xr.top)==null?void 0:yo.laboratory_admin_url)&&yt.createElement(Ie.default.Item,null,yt.createElement("a",{href:(ui=(So=ut.navigationInfo)==null?void 0:So.top)==null?void 0:ui.laboratory_admin_url},"\u540E\u53F0\u7BA1\u7406")),yt.createElement(Ie.default.Item,null,yt.createElement(Be.Link,{onClick:()=>{localStorage.getItem("Noviceguide")==="0"||ja({type:"shixunHomeworks/setActionTabs",payload:{key:"\u5E95\u90E8\u5F39\u7A97",type:2,href:"/classrooms",text:yt.createElement("div",null,"OK\uFF0C\u63A5\u4E0B\u6765\uFF0C\u8BA9\u6211\u4EEC\u5F00\u59CB\u65B0\u5EFA\u3010\u6559\u5B66\u8BFE\u5802\u3011\uFF0C\u8BF7\u60A8\u627E\u5230\u95EA\u5149\u6846\u5E76\u70B9\u51FB \u201C\u6559\u5B66\u8BFE\u5802\u201D\u3002")}})},to:"/account/profile"},"\u8D26\u53F7\u7BA1\u7406")),li&&yt.createElement(Ie.default.Item,null,yt.createElement(Be.Link,{to:"/administration/college"},"\u9AD8\u6821\u7BA1\u7406")),yt.createElement(Ie.default.Item,{className:Vt.exit},yt.createElement("a",{onClick:()=>cn(void 0,null,function*(){(0,de.m5)();let ko;try{ko=yield(0,rn.vR)({}),he.ZP.success(ko==null?void 0:ko.message)}catch(Di){}(0,de.d8)("_educoder_session","logout",1),(0,de.m5)(),localStorage.removeItem("isfirst"),localStorage.removeItem("SystemUpdateadvtime"),localStorage.removeItem("item"),localStorage.removeItem("iscreate"),ko!=null&&ko.url?window.location.href=ko.url:(Be.history.replace("/"),window.location.reload())})},"\u9000\u51FA")))};return(0,kt.bg)()?yt.createElement(tt.Z,{className:`${Vt.height67}`,dropdownRender:Mi,placement:"bottomRight"},yt.createElement("section",null,yt.createElement("aside",null,yt.createElement("div",{className:Vn.actionTabs.type===1?Vt.classromediv:""},yt.createElement("img",{className:`${Vt.userPic} current ml15`,src:`${(dr=Wt.Z)==null?void 0:dr.IMG_SERVER}/images/${(Zn=ut.userInfo)==null?void 0:Zn.image_url}`,alt:"",onClick:()=>{var Gr;return Be.history.push((0,de.Ll)()?"/account/profile":`/users/${(Gr=ut.userInfo)==null?void 0:Gr.login}/classrooms`)}}),(0,de.Ll)()&&yt.createElement("span",{className:"ml10 font16"},(Rn=ut.userInfo)==null?void 0:Rn.username),yt.createElement("i",{className:`iconfont icon-zhankai4 ${Vt.icon}`}))))):yt.createElement("div",{className:`font15 ${zt.isIlearning?Vt.login:""}`},((pn=zt.setting)==null?void 0:pn.sso_login_url)&&yt.createElement("a",{target:"_blank",href:(Er=zt.setting)==null?void 0:Er.sso_login_url},yt.createElement("img",{src:`${Wt.Z.IMG_SERVER}/${(zr=zt.setting)==null?void 0:zr.login_logo_url}`,width:40}),yt.createElement("span",{style:{color:"#fff",fontSize:"14px",fontWeight:500,paddingLeft:"10px"}},(uo=zt.setting)==null?void 0:uo.sso_login_button_name)),!((to=zt.setting)!=null&&to.hide_account_login)&&yt.createElement(yt.Fragment,null,yt.createElement("span",{className:"ml10 mr5 current c-white",onClick:()=>{ja({type:"user/showPopLogin",payload:{showPopLogin:!0,showClosable:!0}})}},"\u767B\u5F55"),!((Ka=zt.setting)!=null&&Ka.close_register)&&yt.createElement(yt.Fragment,null,yt.createElement("span",{className:"ml5 mr5"},"|"),yt.createElement(Be.Link,{to:"/user/register",className:"ml5 current c-white pr25"},"\u6CE8\u518C"))))};var Kn=(0,Be.connect)(({homePage:Oe,loading:it,user:Me,globalSetting:ut,shixunHomeworks:zt})=>({homePage:Oe,user:Me,globalSetting:ut,shixunHomeworks:zt,loading:it.models.index}))(Gt),za=re(65363),sr={tip:"tip___a6MfI"},Ya=Object.defineProperty,Da=Object.defineProperties,Lr=Object.getOwnPropertyDescriptors,cr=Object.getOwnPropertySymbols,Ha=Object.prototype.hasOwnProperty,Xa=Object.prototype.propertyIsEnumerable,Dr=(Oe,it,Me)=>it in Oe?Ya(Oe,it,{enumerable:!0,configurable:!0,writable:!0,value:Me}):Oe[it]=Me,Fa=(Oe,it)=>{for(var Me in it||(it={}))Ha.call(it,Me)&&Dr(Oe,Me,it[Me]);if(cr)for(var Me of cr(it))Xa.call(it,Me)&&Dr(Oe,Me,it[Me]);return Oe},Zr=(Oe,it)=>Da(Oe,Lr(it)),br=(Oe,it,Me)=>new Promise((ut,zt)=>{var Ga=Xt=>{try{Vn(Me.next(Xt))}catch(Hn){zt(Hn)}},ja=Xt=>{try{Vn(Me.throw(Xt))}catch(Hn){zt(Hn)}},Vn=Xt=>Xt.done?ut(Xt.value):Promise.resolve(Xt.value).then(Ga,ja);Vn((Me=Me.apply(Oe,it)).next())}),Pt=(Oe=>(Oe[Oe.Professor=1]="Professor",Oe[Oe.AssistantProfessor=2]="AssistantProfessor",Oe[Oe.Student=3]="Student",Oe))(Pt||{});const Sn=({visible:Oe,user:it,onCancel:Me=()=>{},dispatch:ut,globalSetting:zt})=>{var Ga,ja;const[Vn,Xt]=(0,b.useState)(!1),[Hn,ba]=(0,b.useState)({name:"",phone:""});(0,b.useEffect)(()=>{var sa,wt;if((sa=it==null?void 0:it.userInfo)!=null&&sa.login){let ca=JSON.parse(localStorage==null?void 0:localStorage.getItem("delaytip_class"));console.log(ca),ca&&(ca!=null&&ca.isShow)&&(ca==null?void 0:ca.login)===((wt=it==null?void 0:it.userInfo)==null?void 0:wt.login)&&(Xt(!0),ba({name:ca==null?void 0:ca.name,phone:ca==null?void 0:ca.phone}))}},[it==null?void 0:it.userInfo]);const La=()=>br(void 0,null,function*(){Me()}),rr=()=>{let sa=JSON.parse(localStorage==null?void 0:localStorage.getItem("delaytip_class"));localStorage.setItem("delaytip_class",JSON.stringify(Zr(Fa({},sa),{isShow:!1}))),Xt(!1)};return b.createElement(b.Fragment,null,Vn&&b.createElement("div",{style:{background:"rgba(255,24,24,0.1)",color:"#E30000"}},b.createElement("div",{className:sr.tip},b.createElement("div",null,b.createElement("i",{className:"iconfont icon-tishi9 font14 mr10",style:{color:"#E30000"}}),`\u7531\u4E8E\u5B66\u6821\u7CFB\u7EDF\u786C\u4EF6\u8D44\u6E90\u539F\u56E0\uFF0C\u5F53\u524D\u7CFB\u7EDF\u652F\u6301\u4EBA\u6570\u5DF2\u8FBE\u5230\u4E0A\u9650\uFF0C\u4E3A\u4E86\u907F\u514D\u5F71\u54CD\u540E\u7EED\u6559\u5B66\u6D3B\u52A8\uFF0C\u8BF7\u5C3D\u5FEB\u8054\u7CFB\u8FD0\u7EF4\u6559\u5E08\uFF08${(Ga=zt==null?void 0:zt.infoData)==null?void 0:Ga.name}\uFF09\uFF0C\u8054\u7CFB\u65B9\u5F0F\uFF1A${(ja=zt==null?void 0:zt.infoData)==null?void 0:ja.phone}`),b.createElement("div",null,b.createElement(za.Z,{onClick:rr,style:{color:"#165dff",fontSize:16}})))))};var Fn=(0,Be.connect)(({user:Oe,globalSetting:it})=>({user:Oe,globalSetting:it}))(Sn),Zt=re(3113),sn="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHQAAACpCAYAAAD6OhnWAAAAAXNSR0IArs4c6QAAIABJREFUeF7sfQWcHEX2/7daxtc17oYFSYIeBPsBgRwECe6BcHDIccghRxIk6MFB4A4NJHiCB7egwXJokLhnXcenu6v+n1fdPTu7O7vZjcHdn/4wzGa3p+dVfeu9932vXlUx/A9c/ecLnxZPDVQsDFOYNQiq0h+KVgYhBoLzfkKIfGomY6wRirIajK0AN6tg8VVcqMu5isWm37Ni1f4s8d/eHey/sQGDXxe5qmLuBW4dyFRtT3BrBwB5YArAOSB415pF9yuKe38TFHWRsMzPoKjvWVxbsGwca+7ag347d/3XADp0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7CWAqTG/x3/QQ7UGBZq8WwM99Bsrvi66rNgnuBjTlwqVUSMkwQHNOKkBv5LFa/iBQ9xXNdiGLx4xMZvK0hc+JGlq2S2oG3CbtxSgOlTT+Ek2XIGsWTASOYHLumUV2HhfcbJv9I8HisU6zUFvDT7ZFs42aQ2yDsD+TQB9whIjHiNhNoH153YJyD5C8mFrElozXvNXP1ILSBezZ7GUP28656wzuBJl3eg4aJ1CYQO2+ABUy2GNWzZQQqzy1IYiJ8TJTZa3aZ9AdAqIXs3bNjoe+a2nWFnFBorK+5cgrzy95TtAE5AIRx6D7M80zCXYW008MwpMFIuaI2GRjlNnH1ZufRcABIm4hNjsotR0ItJh0ArjET0LIJ2USOwfgs15S23v7GvD2vVXf7Z+bp8y68ZLVvE5mZzcg7qTz5ydQcZRMZfLQPSDyfCcdyVAO1rteKY1eOAL0bmIXsqmUTf4jAkWWbXGDX0QQLJ7vZRZl0Njo4yZis9C/y7f7lIWk/WIusJOc9Q6fd/1iC8pVnnXlMd35t+tpm5zc3Nb4lu41dmzG8my45vRHft5pAdb4eXn9cb7+hfxhaJ60AYVCIX9yOCSrlq8pG7cogoPm6vz772Yz3LrJmo97Kuet/weX7/RHY+BFcPwPAL3oJXTdfvZSiJV7t6yjnb+FjsTzfpr81XWfddddc59Vq9lHCo9XeWcuesz/KaAXvezzbl/7MFzqqZ4tay71Ej6mO/0Xg5uniQ1vwFgAAAAASUVORK5CYII=",On=Object.getOwnPropertySymbols,Jn=Object.prototype.hasOwnProperty,ke=Object.prototype.propertyIsEnumerable,rt=(Oe,it)=>{var Me={};for(var ut in Oe)Jn.call(Oe,ut)&&it.indexOf(ut)<0&&(Me[ut]=Oe[ut]);if(Oe!=null&&On)for(var ut of On(Oe))it.indexOf(ut)<0&&ke.call(Oe,ut)&&(Me[ut]=Oe[ut]);return Me};const qe=null,Dn=Oe=>{var it=Oe,{homePage:Me,user:ut,globalSetting:zt,loading:Ga,dispatch:ja,location:Vn,text:Xt,shixunHomeworks:Hn,payload:ba={}}=it,La=rt(it,["homePage","user","globalSetting","loading","dispatch","location","text","shixunHomeworks","payload"]);const[rr,sa]=(0,b.useState)("none");return(0,b.useEffect)(()=>{Hn.actionTabs.key==="\u5E95\u90E8\u5F39\u7A97"&&sa("flex")},[Hn.actionTabs.key]),(0,b.useEffect)(()=>{Hn.actionTabs.key==="\u9690\u85CF"&&(sa("none"),localStorage.setItem("Noviceguide","0"))},[Hn.actionTabs.key]),b.createElement("div",{style:{display:rr,background:"#fff",width:"100%",height:"200px",position:"fixed",bottom:"0px",boxShadow:"0px -4px 6px 0px rgba(204, 204, 204, 0.2)",zIndex:"999"}},b.createElement("div",{style:{margin:"0 auto",width:"1200px"}},b.createElement("img",{src:sn,style:{position:"absolute",top:"-32px"}}),b.createElement("div",{style:{marginLeft:"151px",marginTop:"40px",fontSize:"18px",color:"#333333"}},Hn.actionTabs.text),Hn.actionTabs.type===9?b.createElement("div",{style:{display:"flex",justifyContent:"flex-end"}},b.createElement(Zt.ZP,{type:"primary",onClick:()=>{localStorage.setItem("Noviceguide","0"),sa("none"),ja({type:"shixunHomeworks/setActionTabs",payload:{key:""}})},ghost:!0,style:{marginTop:"30px",width:"138px",height:"40px",position:"absolute",top:"124px"}},"\u5446\u4F1A\u89C1\uFF0C\u6709\u4E8B\u547C\u6211")):b.createElement("div",{style:{display:"flex",justifyContent:"flex-end"}},b.createElement(Zt.ZP,{type:"primary",onClick:()=>{localStorage.setItem("Noviceguide","0"),ja({type:"shixunHomeworks/setActionTabs",payload:{key:""}}),sa("none")},ghost:!0,style:{marginTop:"30px",width:"138px",height:"40px",position:"absolute",top:"124px"}},"\u8DF3\u8FC7\uFF0C\u6211\u81EA\u5DF1\u6765"))))};var mn=(0,Be.connect)(({homePage:Oe,loading:it,user:Me,globalSetting:ut,shixunHomeworks:zt})=>({homePage:Oe,user:Me,globalSetting:ut,loading:it.models.index,shixunHomeworks:zt}))(Dn),Wn=Object.defineProperty,ya=Object.getOwnPropertySymbols,ma=Object.prototype.hasOwnProperty,ta=Object.prototype.propertyIsEnumerable,fa=(Oe,it,Me)=>it in Oe?Wn(Oe,it,{enumerable:!0,configurable:!0,writable:!0,value:Me}):Oe[it]=Me,ua=(Oe,it)=>{for(var Me in it||(it={}))ma.call(it,Me)&&fa(Oe,Me,it[Me]);if(ya)for(var Me of ya(it))ta.call(it,Me)&&fa(Oe,Me,it[Me]);return Oe};const hn=Oe=>React.createElement("svg",ua({width:46,height:18,xmlns:"http://www.w3.org/2000/svg"},Oe),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 Ra="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDYiIGhlaWdodD0iMTgiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNNi41NzggOC44Yy4xNjItLjY4Mi4zLS43MzcuOTgyLS43MzcuNjg5IDAgLjc5My4wNTUuNjMyLjczNy0uMTY0LjY4OS0uMjk4Ljc2LS45ODcuNzYtLjY4MiAwLS43OS0uMDcxLS42MjctLjc2Wm0tLjIyMiAxLjE5OGgxLjQ4OGwtMS4wMDQgNC4yM0g1LjM1MmwxLjAwNC00LjIzWk04LjQ2NSAxMS4yNDRoMi40NzRsLS4yNzUgMS4xNkg4LjE4OXpNMTUuMTIgMTIuODg5bC0uMzE3IDEuMzRIMTEuMjNsMS4yOTEtNS40MzdoMS41NmwtLjk3NCA0LjA5N3pNMTguNjg4IDExLjU1Yy4wNzYtLjMyMi4wMS0uNTQxLS40NTktLjU0MS0uNTAxIDAtLjc0OC4xMTctLjkwNS42NDJsMS4zNjQtLjEwMlptMS4wNDEuOTU1LTIuNjM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qLrA2PPcaaTyenVrUaq1aypLOKJXRl0iMboijZwgjZwhjbSoBtZISsDgiZShgCNEwBQBMAQv4/QkICjOKNSYSSLgDr8b+B4MWNJxnAC5DELwSEHE8oPUwBDqENNgF2OCTsZJKw091ufCpcP3HqJWvh1Ji5LjIlWuTi/n+x/d7W4rxRtQAAAABJRU5ErkJggg==",ha=(Oe,it,Me)=>new Promise((ut,zt)=>{var Ga=Xt=>{try{Vn(Me.next(Xt))}catch(Hn){zt(Hn)}},ja=Xt=>{try{Vn(Me.throw(Xt))}catch(Hn){zt(Hn)}},Vn=Xt=>Xt.done?ut(Xt.value):Promise.resolve(Xt.value).then(Ga,ja);Vn((Me=Me.apply(Oe,it)).next())});const qr=({classroomList:Oe,loading:it,user:Me,dispatch:ut,virtualSpaces:zt,globalSetting:Ga})=>{const ja=(0,Be.useLocation)();let Vn=!1;(0,b.useEffect)(()=>{Ga.actionTabs.key==="\u91C7\u8D2D\u63D0\u793A"&&(Vn=!0)},[Ga.actionTabs.key]),(0,b.useEffect)(()=>{Vn&&ut({type:"globalSetting/setActionTabs",payload:{}})},[ja.pathname]);const Xt=()=>{ut({type:"globalSetting/setActionTabs",payload:{}}),window.location.href="/"};return b.createElement(fo.ZP,{theme:{token:{colorBgMask:"#999"}}},b.createElement(Ze.default,{centered:!0,title:"\u91C7\u8D2D\u63D0\u793A",open:Ga.actionTabs.key==="\u91C7\u8D2D\u63D0\u793A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",width:640,maskClosable:!1,keyboard:!1,footer:null,bodyStyle:{minHeight:200},onOk:()=>ha(void 0,null,function*(){}),onCancel:()=>{Xt()}},b.createElement("div",{className:tn.content},b.createElement("div",{className:"mb15"},b.createElement("img",{src:Or,alt:""})),b.createElement("div",null,"\u5C0A\u656C\u7684\u7528\u6237\uFF0C\u60A8\u597D! \u5F53\u524D\u5E73\u53F0\u672A\u91C7\u8D2D\u8BE5\u6A21\u5757\uFF0C\u56E0\u6B64\u65E0\u6CD5\u8BBF\u95EE\u76F8\u5173\u529F\u80FD\u3002"),b.createElement("p",{style:{textAlign:"center"}},"\u5982\u9700\u4F7F\u7528\uFF0C\u5EFA\u8BAE\u60A8\u53CA\u65F6\u8FDB\u884C\u6A21\u5757\u91C7\u8D2D\uFF0C\u8BF7\u8054\u7CFB\u76F8\u5173\u5DE5\u4F5C\u4EBA\u5458\u91C7\u8D2D\u6216 ",b.createElement(Nn.Z,{placement:"bottom",title:b.createElement("div",null,b.createElement("img",{src:`${Wt.Z.IMG_SERVER}/images/educoder/EWM.jpg`,width:"158px",height:"158px"}),b.createElement("div",{className:"tc font15"},"\u5FAE\u4FE1\u626B\u4E00\u626B"),b.createElement("div",{className:"tc font15"},"\u5173\u6CE8\u516C\u4F17\u53F7"))},b.createElement("a",{className:"c-blue"},"\u5173\u6CE8\u516C\u4F17\u53F7 ")),"\u54A8\u8BE2\u3002"))))};var Yr=(0,Be.connect)(({classroomList:Oe,user:it,loading:Me,virtualSpaces:ut,globalSetting:zt})=>({classroomList:Oe,user:it,loading:Me,virtualSpaces:ut,globalSetting:zt}))(qr),na=re(59301),oo=Object.defineProperty,Mo=Object.getOwnPropertySymbols,$r=Object.prototype.hasOwnProperty,ho=Object.prototype.propertyIsEnumerable,yn=(Oe,it,Me)=>it in Oe?oo(Oe,it,{enumerable:!0,configurable:!0,writable:!0,value:Me}):Oe[it]=Me,Mr=(Oe,it)=>{for(var Me in it||(it={}))$r.call(it,Me)&&yn(Oe,Me,it[Me]);if(Mo)for(var Me of Mo(it))ho.call(it,Me)&&yn(Oe,Me,it[Me]);return Oe},io=(Oe,it)=>{var Me={};for(var ut in Oe)$r.call(Oe,ut)&&it.indexOf(ut)<0&&(Me[ut]=Oe[ut]);if(Oe!=null&&Mo)for(var ut of Mo(Oe))it.indexOf(ut)<0&&ho.call(Oe,ut)&&(Me[ut]=Oe[ut]);return Me},lo=(Oe,it,Me)=>new Promise((ut,zt)=>{var Ga=Xt=>{try{Vn(Me.next(Xt))}catch(Hn){zt(Hn)}},ja=Xt=>{try{Vn(Me.throw(Xt))}catch(Hn){zt(Hn)}},Vn=Xt=>Xt.done?ut(Xt.value):Promise.resolve(Xt.value).then(Ga,ja);Vn((Me=Me.apply(Oe,it)).next())});const{Header:dt}=Je.default,{Search:Ue}=Te.default;function We(){var Oe,it;const ut=window.location.pathname.split("/"),zt={};return ut[1]=="classrooms"&&ut.length>3&&!((Oe=ut[4])!=null&&Oe.includes("newgold"))&&!((it=ut[5])!=null&&it.includes("newgold"))&&ut[2]!=="coursesId"&&(zt.course_id=ut[2]),ut[1]==="shixuns"&&ut.length>3&&(zt.objective_type="shixun",zt.objective_id=ut[2]),ut[1]==="paths"&&ut.length>3&&(zt.objective_type="path",zt.objective_id=ut[2]),Mr(Mr({},zt),{school:1})}const Rt=["/","/classrooms","/account/profile","/account/profile/edit","/classrooms/new"],Cn=Oe=>{var it=Oe,{homePage:Me,user:ut,globalSetting:zt,loading:Ga,dispatch:ja,isLogin:Vn=!1,shixunHomeworks:Xt}=it,Hn=io(it,["homePage","user","globalSetting","loading","dispatch","isLogin","shixunHomeworks"]),ba,La,rr,sa,wt,ca,gr,Pr,dr;const Zn=(0,Be.useLocation)(),[Rn,pn]=(0,b.useState)(!1),[Er,zr]=(0,b.useState)(""),[uo,to]=(0,b.useState)(!1),Ka=We();(0,b.useEffect)(()=>{ja({type:"user/getNavigationInfo",payload:Mr({},Ka)})},[zt.name]),(0,b.useEffect)(()=>{Xt.actionTabs.key==="\u5E95\u90E8\u5F39\u7A97"&&(Rt!=null&&Rt.includes(Zn==null?void 0:Zn.pathname)||(Zn==null?void 0:Zn.pathname.indexOf("/classrooms"))===0||ja({type:"shixunHomeworks/setActionTabs",payload:{key:"\u9690\u85CF"}}))},[Zn.pathname]),(0,b.useEffect)(()=>{Xt.actionTabs.key==="\u5E95\u90E8\u5F39\u7A97"||Xt.actionTabs.key||localStorage.setItem("Noviceguide","0")},[Xt.actionTabs.key]),(0,b.useEffect)(()=>{var $t;if(zt!=null&&zt.setting){let Mn=(0,vr.cloneDeep)(($t=zt==null?void 0:zt.setting)==null?void 0:$t.navbar);Mn=Mn==null?void 0:Mn.filter(be=>{var jr;return!(be!=null&&be.hidden)&&!((0,kt.JA)()&&((jr=["/paperlibrary","/problemset"])!=null&&jr.includes(be.link)))});for(const be of Mn)be.subitem&&(be.subitem=be.subitem.filter(jr=>{var Za;return!(jr!=null&&jr.hidden)&&!((0,kt.JA)()&&((Za=["/paperlibrary","/problemset"])!=null&&Za.includes(jr.link)))}));let pr=!1;Mn==null||Mn.map(function(be,jr){var Za,mr,fr,Vr;const Xr=Zn.pathname;be.link===Xr&&(zr(be==null?void 0:be.link),(0,de.Dk)(Xr==="/"?(Za=zt==null?void 0:zt.setting)==null?void 0:Za.name:kn(be==null?void 0:be.name)),Mi(Sa(jr,{name:be==null?void 0:be.name,link:be==null?void 0:be.link},Mn)),pr=!0),Xr=="/"&&(zr(""),(0,de.Dk)((mr=zt==null?void 0:zt.setting)==null?void 0:mr.name)),(fr=be==null?void 0:be.subitem)!=null&&fr.length&&((Vr=be==null?void 0:be.subitem)==null||Vr.map(yo=>{yo.link===Xr&&(zr(yo==null?void 0:yo.link),Xr!=="/"&&(0,de.Dk)(kn(yo==null?void 0:yo.name)),Mi(Sa(jr,{name:yo==null?void 0:yo.name,link:yo==null?void 0:yo.link},Mn)),pr=!0)}))}),pr||Mi(Mn)}},[zt==null?void 0:zt.setting,ut]);const _r=(0,b.useMemo)(()=>{var $t,Mn;return($t=zt==null?void 0:zt.setting)!=null&&$t.nav_logo_url?`${Wt.Z.IMG_SERVER}/${(Mn=zt==null?void 0:zt.setting)==null?void 0:Mn.nav_logo_url}`:`${Wt.Z.IMG_SERVER}/images/avatars/LaboratorySetting/1nav?t=${new Date().getTime()}`},[(ba=zt==null?void 0:zt.setting)==null?void 0:ba.nav_logo_url]);function Eo($t){Be.history.push("/search?value="+$t)}const ai=()=>Rn?na.createElement("div",{onBlur:()=>{setTimeout(()=>{pn(!1)},300)}},na.createElement(Ue,{placeholder:"\u5B9E\u8DF5\u8BFE\u7A0B/\u6559\u5B66\u8BFE\u5802/\u5B9E\u8DF5\u9879\u76EE/\u4EA4\u6D41\u95EE\u7B54",className:"search-input mr20",onSearch:Eo,autoFocus:!0})):na.createElement("span",{className:"iconfont icon-sousuo font18 current ml15 mr15",onClick:()=>{Be.history.push("/search?value=")}}),[li,Mi]=(0,b.useState)([]),Gr=($t,Mn)=>lo(void 0,null,function*(){var pr,be,jr,Za,mr,fr;if(($t==null?void 0:$t.name)==="\u5DE5\u7A0B\u8BA4\u8BC1"){const Vr=yield(0,rn.IU)({tab_module_type:"engineering"});if(Vr!=null&&Vr.un_purchased){ja({type:"globalSetting/setActionTabs",payload:{key:"\u91C7\u8D2D\u63D0\u793A"}});return}(pr=Vr==null?void 0:Vr.data)!=null&&pr.engineer_url?(jr=(be=Vr==null?void 0:Vr.data)==null?void 0:be.engineer_url)!=null&&jr.includes("http")?(0,de.xg)((Za=Vr==null?void 0:Vr.data)==null?void 0:Za.engineer_url):Be.history.push((mr=Vr==null?void 0:Vr.data)==null?void 0:mr.engineer_url):(Vr==null?void 0:Vr.status)!=401&&to(!0);return}(fr=$t==null?void 0:$t.link)!=null&&fr.includes("http")?(0,de.xg)($t==null?void 0:$t.link):((0,de.Dk)($t==null?void 0:$t.name),Be.history.push($t==null?void 0:$t.link)),($t==null?void 0:$t.name)==="\u6559\u5B66\u8BFE\u5802"&&localStorage.getItem("Noviceguide")!=="0"&&ja({type:"shixunHomeworks/setActionTabs",payload:{key:"\u5E95\u90E8\u5F39\u7A97",type:5,text:na.createElement("div",null,"\u975E\u5E38\u68D2\uFF0C\u54B1\u4EEC\u5DF2\u7ECF\u5230\u8FBE\u3010\u6559\u5B66\u8BFE\u5802\u3011\uFF0C\u5E73\u53F0\u4E0A\u5DF2\u7ECF\u6709\u51E0\u5343\u4F4D\u8001\u5E08\u521B\u5EFA\u4E86\u81EA\u5DF1\u7684\u6559\u5B66\u8BFE\u5802\uFF0C\u4F60\u4E5F\u53EF\u4EE5\u8F7B\u677E\u5B8C\u6210\u54DF\uFF01\u73B0\u5728\u8BF7\u60A8\u70B9\u51FB\u9875\u9762\u4E0A \u201C\u65B0\u5EFA\u8BFE\u5802\u201D\u6309\u94AE\u5F00\u59CB\u65B0\u5EFA\u81EA\u5DF1\u7684\u8BFE\u5802~")}})}),Sa=($t,Mn,pr)=>{const be=pr.slice();return be[$t]&&(be[$t].name=Mn.name,be[$t].link=Mn.link),be||[]},kn=($t="")=>($t==null?void 0:$t.indexOf("<"))>-1?$t==null?void 0:$t.slice(0,$t==null?void 0:$t.indexOf("<")):$t;return zt.showHeader&&zt.showHeaderFooter?na.createElement(Je.default,{style:{background:`${Zn.pathname=="/training"?"rgba(0,0,0,0)":""}`},className:`${zt.isIlearning?lt["header-iearning"]:lt.header} ${zt.showHeaderFixed?lt.headerFixed:""}`},(zt==null?void 0:zt.showTip)&&na.createElement(Fn,null),na.createElement(dt,{className:"header",style:{background:`${Zn.pathname=="/training"?"rgba(0,0,0,0)":""}`,zIndex:`${Zn.pathname=="/training"?"999":""}`}},na.createElement("section",{className:lt["edu-menu"]},(!!zt.isIlearning||!((La=zt==null?void 0:zt.setting)!=null&&La.main_site)&&!!((rr=zt==null?void 0:zt.setting)!=null&&rr.navbar))&&na.createElement(Be.Link,{style:{display:"flex",alignItems:"center"},onClick:()=>{ja({type:"shixunHomeworks/setActionTabs",payload:{key:""}})},to:"/"},na.createElement("img",{className:lt.logo,title:(sa=zt.setting)==null?void 0:sa.name,src:_r||Ra})),na.createElement("ul",{className:`${lt.menu} ${(0,de.Ll)()&&"ml0"}`},(0,de.Ll)()&&na.createElement("li",null,na.createElement("a",{href:"/"},"\u8003\u8BD5\u7CFB\u7EDF")),!(0,de.Ll)()&&zt.setting&&(li==null?void 0:li.map(function($t,Mn){var pr,be,jr,Za,mr;return na.createElement("li",{key:Mn,className:!((pr=$t==null?void 0:$t.subitem)!=null&&pr.length)&&Er===($t==null?void 0:$t.link)||(be=$t==null?void 0:$t.subitem)!=null&&be.some(fr=>Er===(fr==null?void 0:fr.link))?lt.actived:""},na.createElement("div",{onClick:()=>Gr($t,Mn),className:lt.name},na.createElement("span",{dangerouslySetInnerHTML:{__html:(()=>{var fr;let Vr=$t==null?void 0:$t.name;return(fr=$t==null?void 0:$t.subitem)==null||fr.map((Xr,yo)=>(Xr.link===Zn.pathname&&(Vr=Xr.name),Xr)),Vr})()}}),((jr=$t==null?void 0:$t.subitem)==null?void 0:jr.length)>0&&na.createElement("i",{className:"iconfont icon-zhankai4"})),((Za=$t==null?void 0:$t.subitem)==null?void 0:Za.length)>0&&na.createElement("div",{className:lt.dropDown},(mr=$t==null?void 0:$t.subitem)==null?void 0:mr.map((fr,Vr)=>na.createElement("div",{className:lt.subName,onClick:()=>Gr(fr,Mn),key:Mn+"-"+Vr},!!Vr&&na.createElement("div",{className:lt.line}),na.createElement("aside",{style:{whiteSpace:"nowrap"},className:"font16 c-black"},kn(fr==null?void 0:fr.name)),na.createElement("div",{className:"font14",style:{color:"#9FA7B3",whiteSpace:"nowrap"}},fr.content)))))}))),na.createElement("div",{className:"search-bar",style:{flex:zt.isIlearning?"initial":"1 0 auto"}},!(0,de.Ll)()&&!(zt!=null&&zt.isIlearning)&&na.createElement(na.Fragment,null,na.createElement(ai,null),!Vn&&na.createElement(qt,null),!Vn&&!!((wt=ut==null?void 0:ut.userInfo)!=null&&wt.login)&&na.createElement(Be.Link,{className:"iconfont icon-xiaoxilingdang c-white ml15 mr15 font18 relative",to:`/messages/${(ca=ut==null?void 0:ut.userInfo)==null?void 0:ca.login}/user_tidings`},((gr=ut==null?void 0:ut.navigationInfo)==null?void 0:gr.new_message)&&na.createElement("span",{className:lt.newslight}))),!Vn&&na.createElement(Kn,{payload:Ka}))),na.createElement(Ze.default,{centered:!0,destroyOnClose:!0,open:uo,title:"\u63D0\u793A",width:"500px",okText:"\u7ACB\u5373\u8054\u7CFB",cancelText:"\u53D6\u6D88",onOk:()=>{(0,de.xg)("https://qm.qq.com/cgi-bin/qm/qr?k=DWdqQHAbbfw7_rqm0d-Q_vDn5H6bMp91&jump_from=webapi")},onCancel:()=>to(!1)},na.createElement("div",{style:{display:"flex",flexDirection:"column",alignItems:"center"}},na.createElement("p",null,"\u60A8\u53EF\u4EE5\u5728QQ\u670D\u52A1\u7FA4\u5411\u7BA1\u7406\u5458\u7533\u8BF7\uFF0C\u83B7\u5F97\u7EE7\u7EED\u64CD\u4F5C\u7684\u6743\u9650"),na.createElement("img",{src:`${Wt.Z.IMG_SERVER}/${(Pr=zt==null?void 0:zt.setting)==null?void 0:Pr.homepage_tea_qq_qrcode_url}`,width:200,height:200,className:"mb10"}),na.createElement("p",null,"\u7FA4\u53F7\uFF1A",(dr=zt==null?void 0:zt.setting)==null?void 0:dr.homepage_tea_qq_number)))),na.createElement(mn,null),na.createElement(Yr,null)):na.createElement(na.Fragment,null,na.createElement(Yr,null))};var aa=(0,Be.connect)(({homePage:Oe,loading:it,user:Me,globalSetting:ut,shixunHomeworks:zt})=>({homePage:Oe,user:Me,globalSetting:ut,loading:it.models.index,shixunHomeworks:zt}))(Cn)},6077:function(je,Nt,re){"use strict";re.d(Nt,{Z:function(){return tt}});var b=re(59301),Be={imageDimensions:"imageDimensions___a7crR",img:"img___Kroat",fullWidth:"fullWidth___c492T"},Je=re(92310),Te=re.n(Je),Ze=re(71418),lt=re(2859),he=re(82093),Xe=re(49661),Ke=(ot,Qe,de)=>new Promise((a,E)=>{var x=ne=>{try{ee(de.next(ne))}catch(oe){E(oe)}},y=ne=>{try{ee(de.throw(ne))}catch(oe){E(oe)}},ee=ne=>ne.done?a(ne.value):Promise.resolve(ne.value).then(x,y);ee((de=de.apply(ot,Qe)).next())}),tt=({data:ot,className:Qe,fullWidth:de,style:a={},onClose:E,onOk:x,showFullTools:y,noAssociationId:ee})=>{const ne=(0,b.useRef)(null),oe=(0,b.useRef)(null),le=(0,b.useRef)(null),ie=(0,b.useRef)(null),[Ce,ye]=(0,b.useState)(!1),[Ge,Re]=(0,b.useState)("\u6B63\u5728\u52A0\u8F7D\u4E2D");(0,b.useEffect)(()=>{le.current||(le.current=document.createElement("style"),document.head.appendChild(le.current)),ot!=null&&ot.visible?(document.body.setAttribute("data-custom","y-hidden"),le.current.innerHTML=" html { overflow-y: hidden; }",ot!=null&&ot.src&&St()):(document.body.removeAttribute("data-custom"),le.current&&(document.head.removeChild(le.current),le.current=null))},[ot==null?void 0:ot.visible]);const St=()=>Ke(void 0,null,function*(){ye(!0),Re("\u6B63\u5728\u52A0\u8F7D\u4E2D");const da=yield(0,Xe.ZJ)(ot==null?void 0:ot.src);ne.current.src="",ne.current.src=da,ne.current.onload=function(){Tn()},ye(!1),Re("")}),ht=()=>{document.body.removeAttribute("data-custom"),le.current.innerHTML=" ",E()},pt=da=>Ke(void 0,null,function*(){ye(!0),Re("\u6B63\u5728\u4FDD\u5B58\u4E2D");const $n=yield(0,he.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:ot.title,file:da.dataUrl}});$n!=null&&$n.id&&!ee?(yield(0,he.ZP)(`/api/attachments/${ot.id}/add_subitem.json`,{method:"post",body:{subitem_id:$n==null?void 0:$n.id,settings:JSON.stringify(da.state)}})).status===0&&x():$n!=null&&$n.id&&x($n),document.body.removeAttribute("data-custom"),le.current.innerHTML=" ",ye(!1),Re("")}),Gn=()=>{const da=document.querySelector('a[href="https://markerjs.com/"]');da&&da.parentNode&&(da.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(_t=>{const In=document.querySelector(_t.name);In&&In.setAttribute("title",_t.title)})},Tn=()=>{oe.current=new lt.hP(ne.current),oe.current.targetRoot=ie.current,oe.current.addEventListener("render",pt),oe.current.addEventListener("beforeclose",ht),y&&(oe.current.availableMarkerTypes=oe.current.ALL_MARKER_TYPES,oe.current.uiStyleSettings.redoButtonVisible=!0,oe.current.uiStyleSettings.notesButtonVisible=!0,oe.current.uiStyleSettings.zoomButtonVisible=!0,oe.current.uiStyleSettings.zoomOutButtonVisible=!0,oe.current.uiStyleSettings.clearButtonVisible=!0),window.markerArea=oe.current.uiStyleSettings,oe.current.show(),ot!=null&&ot.snapshotData&&oe.current.restoreState(ot.snapshotData),setTimeout(()=>{window.scrollTo(0,0),Gn()},300)};return b.createElement(b.Fragment,null,(ot==null?void 0:ot.visible)&&b.createElement(Ze.Z,{spinning:Ce,tip:Ge,style:{position:"absolute"}},b.createElement("div",{ref:ie,className:Te()(Be.imageDimensions,Qe,de?Be.fullWidth:""),style:a},b.createElement("img",{className:Be.img,ref:ne}))))}},88615:function(je,Nt,re){"use strict";var b=re(59301),Be=re(95237),Je=re(43604),Te=re(99313),Ze=re(3113),lt=re(7664),he=re(21697),Xe=re(48136),Ke=re(59301);const Ie=(0,b.forwardRef)(({callback:tt,showSaveButton:ot,value:Qe=""},de)=>{const a=(0,b.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 "}]}]}],x=[{name:"\u4EE3\u6570",value:"\\sqrt{a^2+b^2}",children:[{data:[{value:"\\left(x-1\\right)\\left(x+3\\right) "},{value:"\\sqrt{a^2+b^2}"},{value:"\\left ( \\frac{a}{b}\\right )^{n}= \\frac{a^{n}}{b^{n}}"},{value:"\\frac{a}{b}\\pm \\frac{c}{d}= \\frac{ad \\pm bc}{bd} "},{value:"\\frac{x^{2}}{a^{2}}-\\frac{y^{2}}{b^{2}}=1 "},{value:"\\frac{1}{\\sqrt{a}}=\\frac{\\sqrt{a}}{a},a\\ge 0\\frac{1}{\\sqrt{a}}=\\frac{\\sqrt{a}}{a},a\\ge 0 "},{value:"\\sqrt[n]{a^{n}}=\\left ( \\sqrt[n]{a}\\right )^{n} "},{value:"x ={-b \\pm \\sqrt{b^2-4ac}\\over 2a} "},{value:"y-y_{1}=k \\left( x-x_{1}\\right) "},{value:`\\left\\{\\begin{matrix} \r +(self.webpackChunk=self.webpackChunk||[]).push([[6277],{65363:function(je,Nt,re){"use strict";re.d(Nt,{Z:function(){return Xe}});var b=re(67711),Be=re(59301),Je={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm0 76c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm128.01 198.83c.03 0 .05.01.09.06l45.02 45.01a.2.2 0 01.05.09.12.12 0 010 .07c0 .02-.01.04-.05.08L557.25 512l127.87 127.86a.27.27 0 01.05.06v.02a.12.12 0 010 .07c0 .03-.01.05-.05.09l-45.02 45.02a.2.2 0 01-.09.05.12.12 0 01-.07 0c-.02 0-.04-.01-.08-.05L512 557.25 384.14 685.12c-.04.04-.06.05-.08.05a.12.12 0 01-.07 0c-.03 0-.05-.01-.09-.05l-45.02-45.02a.2.2 0 01-.05-.09.12.12 0 010-.07c0-.02.01-.04.06-.08L466.75 512 338.88 384.14a.27.27 0 01-.05-.06l-.01-.02a.12.12 0 010-.07c0-.03.01-.05.05-.09l45.02-45.02a.2.2 0 01.09-.05.12.12 0 01.07 0c.02 0 .04.01.08.06L512 466.75l127.86-127.86c.04-.05.06-.06.08-.06a.12.12 0 01.07 0z"}}]},name:"close-circle",theme:"outlined"},Te=Je,Ze=re(7657),lt=function(Ie,tt){return Be.createElement(Ze.Z,(0,b.Z)({},Ie,{ref:tt,icon:Te}))},he=Be.forwardRef(lt),Xe=he},87169:function(je,Nt,re){"use strict";re.d(Nt,{Z:function(){return Xe}});var b=re(67711),Be=re(59301),Je={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"},Te=Je,Ze=re(7657),lt=function(Ie,tt){return Be.createElement(Ze.Z,(0,b.Z)({},Ie,{ref:tt,icon:Te}))},he=Be.forwardRef(lt),Xe=he},11724:function(je,Nt,re){"use strict";re.d(Nt,{Z:function(){return Xe}});var b=re(67711),Be=re(59301),Je={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"},Te=Je,Ze=re(7657),lt=function(Ie,tt){return Be.createElement(Ze.Z,(0,b.Z)({},Ie,{ref:tt,icon:Te}))},he=Be.forwardRef(lt),Xe=he},32050:function(je,Nt,re){"use strict";re.d(Nt,{Z:function(){return Xe}});var b=re(67711),Be=re(59301),Je={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"},Te=Je,Ze=re(7657),lt=function(Ie,tt){return Be.createElement(Ze.Z,(0,b.Z)({},Ie,{ref:tt,icon:Te}))},he=Be.forwardRef(lt),Xe=he},21697:function(je,Nt){"use strict";Nt.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},77277:function(je,Nt){"use strict";Nt.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(je,Nt){"use strict";Nt.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"}},20397:function(){"use strict";function je(de,a,E,x){E===void 0&&(E=0),x===void 0&&(x=1/0),this._name=de,this._defaultValue=a,this._minimum=E,this._maximum=x}Object.defineProperty(je.prototype,"name",{get:function(){return this._name},set:function(de){if(typeof de!="string"||de==="")throw new Error("Shape name must be a valid string.");this._name=de}}),Object.defineProperty(je.prototype,"defaultValue",{get:function(){return this._defaultValue},set:function(de){if(typeof de!="number"||isNaN(de))throw new Error("The default value must be a real number, not: "+de);this._defaultValue=de}}),Object.defineProperty(je.prototype,"minimum",{get:function(){return this._minimum},set:function(de){if(typeof de!="number"||isNaN(de))throw new Error("Minimum must be a real number, not: "+de);this._minimum=de}}),Object.defineProperty(je.prototype,"maximum",{get:function(){return this._maximum},set:function(de){if(typeof de!="number"||isNaN(de))throw new Error("Maximum must be a real number, not: "+de);this._maximum=de}}),go.Shape._FigureParameters={},go.Shape.getFigureParameter=function(de,a){var E=go.Shape._FigureParameters[de];return E?E[a]:null},go.Shape.setFigureParameter=function(de,a,E){if(!(E instanceof je))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 x=go.Shape._FigureParameters[de];x||(x=[],go.Shape._FigureParameters[de]=x),x[a]=E};var Nt=[];function re(de,a){var E=Nt.pop();return E===void 0?new go.Point(de,a):(E.x=de,E.y=a,E)}function b(){var de=Nt.pop();return de===void 0?new go.Point:de}function Be(de){Nt.push(de)}function Je(de,a,E,x,y,ee,ne,oe,le){le||(le=new go.Point);var ie=de-E,Ce=y-ne,ye=NaN,Ge=NaN;if(ie===0)if(Ce===0)de===E&&(ye=de,Ge=a);else{var Re=(ee-oe)/Ce,St=ee-Re*y;ye=de,Ge=Re*ye+St}else if(Ce===0){var ht=(a-x)/ie,pt=a-ht*de;ye=y,Ge=ht*ye+pt}else{var ht=(a-x)/ie,Re=(ee-oe)/Ce,pt=a-ht*de,St=ee-Re*y;ye=(St-pt)/(ht-Re),Ge=ht*ye+pt}return le.x=ye,le.y=Ge,le}function Te(de,a,E,x,y,ee,ne,oe,le,ie,Ce,ye,Ge,Re){var St=1-le,ht=le,pt=de*St+E*ht,Gn=a*St+x*ht,Tn=E*St+y*ht,da=x*St+ee*ht,$n=y*St+ne*ht,_t=ee*St+oe*ht,In=pt*St+Tn*ht,ct=Gn*St+da*ht,Tt=Tn*St+$n*ht,ln=da*St+_t*ht,fn=In*St+Tt*ht,vn=ct*St+ln*ht;ie.x=pt,ie.y=Gn,Ce.x=In,Ce.y=ct,ye.x=fn,ye.y=vn,Ge.x=Tt,Ge.y=ln,Re.x=$n,Re.y=_t}var Ze=new go.Spot(.156,.156),lt=new go.Spot(.844,.844),he=4*((Math.sqrt(2)-1)/3);go.Shape.setFigureParameter("RoundedRectangle",0,new je("CornerRounding",5)),go.Shape.defineFigureGenerator("RoundedRectangle",function(de,a,E){var x=de?de.parameter1:NaN;(isNaN(x)||x<0)&&(x=5),x=Math.min(x,a/3),x=Math.min(x,E/3);var y=x*he,ee=new go.Geometry().add(new go.PathFigure(x,0,!0).add(new go.PathSegment(go.PathSegment.Line,a-x,0)).add(new go.PathSegment(go.PathSegment.Bezier,a,x,a-y,0,a,y)).add(new go.PathSegment(go.PathSegment.Line,a,E-x)).add(new go.PathSegment(go.PathSegment.Bezier,a-x,E,a,E-y,a-y,E)).add(new go.PathSegment(go.PathSegment.Line,x,E)).add(new go.PathSegment(go.PathSegment.Bezier,0,E-x,y,E,0,E-y)).add(new go.PathSegment(go.PathSegment.Line,0,x)).add(new go.PathSegment(go.PathSegment.Bezier,x,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(de,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(de,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(de,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(de,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(de,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(de,a,E){var x=new go.Geometry(go.Geometry.Line);return x.startX=0,x.startY=E/2,x.endX=a,x.endY=E/2,x}),go.Shape.defineFigureGenerator("LineV",function(de,a,E){var x=new go.Geometry(go.Geometry.Line);return x.startX=a/2,x.startY=0,x.endX=a/2,x.endY=E,x}),go.Shape.defineFigureGenerator("BarH","Rectangle"),go.Shape.defineFigureGenerator("BarV","Rectangle"),go.Shape.defineFigureGenerator("MinusLine","LineH"),go.Shape.defineFigureGenerator("PlusLine",function(de,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(de,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(de,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(de,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(de,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(de,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(de,a,E){var x=.2/Math.SQRT2;return new go.Geometry().add(new go.PathFigure(x*a,(1-x)*E,!1).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,x*E)).add(new go.PathSegment(go.PathSegment.Move,x*a,x*E)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,(1-x)*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(de,a,E){var x=a/2,y=new go.Geometry().add(new go.PathFigure(a,a/2,!1).add(new go.PathSegment(go.PathSegment.Arc,0,360,x,x,x,x).close()));return y.spot1=Ze,y.spot2=lt,y.defaultStretch=go.GraphObject.Uniform,y}),go.Shape.defineFigureGenerator("Line1",function(de,a,E){var x=new go.Geometry(go.Geometry.Line);return x.startX=0,x.startY=0,x.endX=a,x.endY=E,x}),go.Shape.defineFigureGenerator("Line2",function(de,a,E){var x=new go.Geometry(go.Geometry.Line);return x.startX=a,x.startY=0,x.endX=0,x.endY=E,x}),go.Shape.defineFigureGenerator("Curve1",function(de,a,E){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,a,E,he*a,0,a,(1-he)*E)))}),go.Shape.defineFigureGenerator("Curve2",function(de,a,E){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,a,E,0,he*E,(1-he)*a,E)))}),go.Shape.defineFigureGenerator("Curve3",function(de,a,E){return new go.Geometry().add(new go.PathFigure(a,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,E,a,he*E,he*a,E)))}),go.Shape.defineFigureGenerator("Curve4",function(de,a,E){return new go.Geometry().add(new go.PathFigure(a,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,E,(1-he)*a,0,0,(1-he)*E)))}),go.Shape.defineFigureGenerator("TriangleDownLeft",function(de,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(de,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(de,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(de,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 je("Indent",.1,-.99,.99)),go.Shape.defineFigureGenerator("Parallelogram1",function(de,a,E){var x=de?de.parameter1:NaN;isNaN(x)?x=.1:x<-1?x=-1:x>1&&(x=1);var y=Math.abs(x)*a;if(x===0){var ee=new go.Geometry(go.Geometry.Rectangle);return ee.startX=0,ee.startY=0,ee.endX=a,ee.endY=E,ee}else{var ee=new go.Geometry;return x>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&&(x=a);var y=Math.abs(x);if(x===0){var ee=new go.Geometry(go.Geometry.Rectangle);return ee.startX=0,ee.startY=0,ee.endX=a,ee.endY=E,ee}else{var ee=new go.Geometry;return x>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&&(x=.5);var y=Math.abs(x)*a;if(x===0){var ee=new go.Geometry(go.Geometry.Rectangle);return ee.startX=0,ee.startY=0,ee.endX=a,ee.endY=E,ee}else{var ee=new go.Geometry;return x>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&&(x=a/2);var y=Math.abs(x);if(x===0){var ee=new go.Geometry(go.Geometry.Rectangle);return ee.startX=0,ee.startY=0,ee.endX=a,ee.endY=E,ee}else{var ee=new go.Geometry;return x>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&&(x=a/2);var y=Math.abs(x);if(x===0){var ee=new go.Geometry(go.Geometry.Rectangle);return ee.startX=0,ee.startY=0,ee.endX=a,ee.endY=E,ee}else{var ee=new go.Geometry;return x>0?ee.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-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+oe,a/2)),ne.add(new go.PathSegment(go.PathSegment.Arc,0,-360,y,y,oe,oe).close())),ee.spot1=Ze,ee.spot2=lt,ee.defaultStretch=go.GraphObject.Uniform,ee}),go.Shape.defineFigureGenerator("Cloud",function(de,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(de,a,E){var x=1/(Math.SQRT2+2);return new go.Geometry().add(new go.PathFigure(x*a,0,!0).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,0)).add(new go.PathSegment(go.PathSegment.Line,a,x*E)).add(new go.PathSegment(go.PathSegment.Line,a,(1-x)*E)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,E)).add(new go.PathSegment(go.PathSegment.Line,x*a,E)).add(new go.PathSegment(go.PathSegment.Line,0,(1-x)*E)).add(new go.PathSegment(go.PathSegment.Line,0,x*E).close())).setSpots(x/2,x/2,1-x/2,1-x/2)}),go.Shape.setFigureParameter("Pie",0,new je("Start",0,-360,360)),go.Shape.setFigureParameter("Pie",1,new je("Sweep",315,-360,360)),go.Shape.defineFigureGenerator("Pie",function(de,a,E){var x=de?de.parameter1:NaN,y=de?de.parameter2:NaN;isNaN(x)&&(x=0),isNaN(y)&&(y=315);var ee=x%360;ee<0&&(ee+=360);var ne=y%360,oe=Math.min(a,E)/2;return new go.Geometry().add(new go.PathFigure(oe,oe).add(new go.PathSegment(go.PathSegment.Arc,ee,ne,oe,oe,oe,oe).close()))}),go.Shape.defineFigureGenerator("PiePiece",function(de,a,E){var x=he/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-x)*E,(y+x)*a,(ee+x)*E)).add(new go.PathSegment(go.PathSegment.Line,0,E).close()))}),go.Shape.setFigureParameter("ThickCross",0,new je("Thickness",30)),go.Shape.defineFigureGenerator("ThickCross",function(de,a,E){var x=de?de.parameter1:NaN;(isNaN(x)||x<0)&&(x=30);var y=Math.min(x,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 je("Thickness",10)),go.Shape.defineFigureGenerator("ThinCross",function(de,a,E){var x=de?de.parameter1:NaN;(isNaN(x)||x<0)&&(x=10);var y=Math.min(x,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 je("Thickness",30)),go.Shape.defineFigureGenerator("ThickX",function(de,a,E){var x=de?de.parameter1:NaN;if((isNaN(x)||x<0)&&(x=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,oe=Math.atan2(E,a),le=x-Math.min(Math.cos(oe)*x/2,ee),ie=x-Math.min(Math.sin(oe)*x/2,ne),y=new go.Geometry,Ce=new go.PathFigure(le,0,!0);return y.add(Ce),Ce.add(new go.PathSegment(go.PathSegment.Line,ee,.2*E)),Ce.add(new go.PathSegment(go.PathSegment.Line,a-le,0)),Ce.add(new go.PathSegment(go.PathSegment.Line,a,ie)),Ce.add(new go.PathSegment(go.PathSegment.Line,.8*a,ne)),Ce.add(new go.PathSegment(go.PathSegment.Line,a,E-ie)),Ce.add(new go.PathSegment(go.PathSegment.Line,a-le,E)),Ce.add(new go.PathSegment(go.PathSegment.Line,ee,.8*E)),Ce.add(new go.PathSegment(go.PathSegment.Line,le,E)),Ce.add(new go.PathSegment(go.PathSegment.Line,0,E-ie)),Ce.add(new go.PathSegment(go.PathSegment.Line,.2*a,ne)),Ce.add(new go.PathSegment(go.PathSegment.Line,0,ie).close()),y}}),go.Shape.setFigureParameter("ThinX",0,new je("Thickness",10)),go.Shape.defineFigureGenerator("ThinX",function(de,a,E){var x=de?de.parameter1:NaN;(isNaN(x)||x<0)&&(x=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 je("BeamWidth",.2,.1,.9)),go.Shape.defineFigureGenerator("SquareIBeam",function(de,a,E){var x=de?de.parameter1:NaN;isNaN(x)&&(x=.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,x*E)),ee.add(new go.PathSegment(go.PathSegment.Line,(.5+x/2)*a,x*E)),ee.add(new go.PathSegment(go.PathSegment.Line,(.5+x/2)*a,(1-x)*E)),ee.add(new go.PathSegment(go.PathSegment.Line,a,(1-x)*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-x)*E)),ee.add(new go.PathSegment(go.PathSegment.Line,(.5-x/2)*a,(1-x)*E)),ee.add(new go.PathSegment(go.PathSegment.Line,(.5-x/2)*a,x*E)),ee.add(new go.PathSegment(go.PathSegment.Line,0,x*E).close()),y}),go.Shape.setFigureParameter("RoundedIBeam",0,new je("Curviness",.5,.05,.65)),go.Shape.defineFigureGenerator("RoundedIBeam",function(de,a,E){var x=de?de.parameter1:NaN;isNaN(x)&&(x=.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-x)*a,.25*E,Math.abs(1-x)*a,.75*E)),ee.add(new go.PathSegment(go.PathSegment.Line,0,E)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,0,x*a,.75*E,x*a,.25*E).close()),y}),go.Shape.defineFigureGenerator("HalfEllipse",function(de,a,E){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,a,.5*E,he*a,0,a,(.5-he/2)*E)).add(new go.PathSegment(go.PathSegment.Bezier,0,E,a,(.5+he/2)*E,he*a,E).close())).setSpots(0,.156,.844,.844)}),go.Shape.defineFigureGenerator("Crescent",function(de,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(de,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(de,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(de,a,E){var x=new go.Geometry,y=new go.PathFigure(.4*a,.6*E,!0);x.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,oe=0,le=ee*he;return y.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ne)*a,(.5+ee+oe)*E,(.5-ee+ne)*a,(.5+le+oe)*E,(.5-le+ne)*a,(.5+ee+oe)*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+ee+ne)*a,(.5+oe)*E,(.5+le+ne)*a,(.5+ee+oe)*E,(.5+ee+ne)*a,(.5+le+oe)*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ne)*a,(.5-ee+oe)*E,(1-.5+ee+ne)*a,(.5-le+oe)*E,(.5+le+ne)*a,(.5-ee+oe)*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.65*a,.36771243*E,(.5-le+ne)*a,(.5-ee+oe)*E,(.5-ee+ne+.05)*a,(.5-le+oe-.02)*E)),ee=.2,ne=0,oe=-.3,le=ee*he,y.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+ee+ne)*a,(.5+oe)*E,(.5+le+ne)*a,(.5+ee+oe)*E,(.5+ee+ne)*a,(.5+le+oe)*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ne)*a,(.5-ee+oe)*E,(1-.5+ee+ne)*a,(.5-le+oe)*E,(.5+le+ne)*a,(.5-ee+oe)*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5-ee+ne)*a,(.5+oe)*E,(.5-le+ne)*a,(.5-ee+oe)*E,(.5-ee+ne)*a,(.5-le+oe)*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5-le+ne)*a,(.5+ee+oe)*E,(.5-ee+ne)*a,(.5+le+oe)*E,(.5-le+ne)*a,(.5+ee+oe)*E)),ee=.2,ne=-.3,oe=0,le=ee*he,y.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ne)*a,(.5-ee+oe)*E,(1-.5+ee+ne-.05)*a,(.5-le+oe-.02)*E,(.5+le+ne)*a,(.5-ee+oe)*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5-ee+ne)*a,(.5+oe)*E,(.5-le+ne)*a,(.5-ee+oe)*E,(.5-ee+ne)*a,(.5-le+oe)*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ne)*a,(.5+ee+oe)*E,(.5-ee+ne)*a,(.5+le+oe)*E,(.5-le+ne)*a,(.5+ee+oe)*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,.6*E,(.5+le+ne)*a,(.5+ee+oe)*E,(.5+ee+ne)*a,(.5+le+oe)*E).close()),x.setSpots(.06,.33,.93,.68),x}),go.Shape.defineFigureGenerator("YinYang",function(de,a,E){var x=new go.Geometry,y=new go.PathFigure(a*.5,0,!0);x.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,oe=.25;return y.add(new go.PathSegment(go.PathSegment.Move,(ne+ee)*a,oe*E)),y.add(new go.PathSegment(go.PathSegment.Arc,0,-360,a*ne,E*oe,ee*a,ee*a).close()),y=new go.PathFigure(a*.5,0,!1),x.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,270,-180,a*.5,a*.5,a*.5,a*.5)),oe=.75,y=new go.PathFigure((ne+ee)*a,oe*E,!0),x.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,0,360,a*ne,E*oe,ee*a,ee*a).close()),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("Peace",function(de,a,E){var x=.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-x)*a,x*E)).add(new go.PathSegment(go.PathSegment.Move,y,ee)).add(new go.PathSegment(go.PathSegment.Line,x*a,x*E)))}),go.Shape.defineFigureGenerator("NotAllowed",function(de,a,E){var x=new go.Geometry,y=he*.5,ee=.5,ne=.5,oe=.5,le=new go.PathFigure(ne*a,(oe-ee)*E);x.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,(ne-ee)*a,oe*E,(ne-y)*a,(oe-ee)*E,(ne-ee)*a,(oe-y)*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(oe+ee)*E,(ne-ee)*a,(oe+y)*E,(ne-y)*a,(oe+ee)*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,(ne+ee)*a,oe*E,(ne+y)*a,(oe+ee)*E,(ne+ee)*a,(oe+y)*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(oe-ee)*E,(ne+ee)*a,(oe-y)*E,(ne+y)*a,(oe-ee)*E)),ee=.4,y=he*.4;var ie=b(),Ce=b(),ye=b(),Ge=b();Te(ne,oe-ee,ne+y,oe-ee,ne+ee,oe-y,ne+ee,oe,.42,ie,Ce,ye,Ge,Ge);var Re=b(),St=b(),ht=b();Te(ne,oe-ee,ne+y,oe-ee,ne+ee,oe-y,ne+ee,oe,.58,Ge,Ge,ht,Re,St);var pt=b(),Gn=b(),Tn=b();Te(ne,oe+ee,ne-y,oe+ee,ne-ee,oe+y,ne-ee,oe,.42,pt,Gn,Tn,Ge,Ge);var da=b(),$n=b(),_t=b();return Te(ne,oe+ee,ne-y,oe+ee,ne-ee,oe+y,ne-ee,oe,.58,Ge,Ge,_t,da,$n),le.add(new go.PathSegment(go.PathSegment.Move,_t.x*a,_t.y*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,(ne-ee)*a,oe*E,da.x*a,da.y*E,$n.x*a,$n.y*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(oe-ee)*E,(ne-ee)*a,(oe-y)*E,(ne-y)*a,(oe-ee)*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,ye.x*a,ye.y*E,ie.x*a,ie.y*E,Ce.x*a,Ce.y*E)),le.add(new go.PathSegment(go.PathSegment.Line,_t.x*a,_t.y*E).close()),le.add(new go.PathSegment(go.PathSegment.Move,Tn.x*a,Tn.y*E)),le.add(new go.PathSegment(go.PathSegment.Line,ht.x*a,ht.y*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,(ne+ee)*a,oe*E,Re.x*a,Re.y*E,St.x*a,St.y*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(oe+ee)*E,(ne+ee)*a,(oe+y)*E,(ne+y)*a,(oe+ee)*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,Tn.x*a,Tn.y*E,pt.x*a,pt.y*E,Gn.x*a,Gn.y*E).close()),Be(ie),Be(Ce),Be(ye),Be(Ge),Be(Re),Be(St),Be(ht),Be(pt),Be(Gn),Be(Tn),Be(da),Be($n),Be(_t),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("Fragile",function(de,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 je("Thickness",30)),go.Shape.defineFigureGenerator("HourGlass",function(de,a,E){var x=de?de.parameter1:NaN;(isNaN(x)||x<0)&&(x=30),x>a&&(x=a);var y=(a-x)/2,ee=y+x;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(de,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(de,a,E){var x=new go.Geometry,y=he*.4,ee=.4,ne=.5,oe=.5,le=b(),ie=b(),Ce=b(),ye=b(),Ge=new go.PathFigure((ne-ee)*a,oe*E,!1);x.add(Ge),Ge.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(oe-ee)*E,(ne-ee)*a,(oe-y)*E,(ne-y)*a,(oe-ee)*E)),Te(ne,oe-ee,ne+y,oe-ee,ne+ee,oe-y,ne+ee,oe,.44,Ce,ye,ie,le,le),Ge.add(new go.PathSegment(go.PathSegment.Bezier,ie.x*a,ie.y*E,Ce.x*a,Ce.y*E,ye.x*a,ye.y*E));var Re=re(ie.x,ie.y);Te(ne,oe-ee,ne+y,oe-ee,ne+ee,oe-y,ne+ee,oe,.56,le,le,ie,Ce,ye);var St=re(ie.x,ie.y);Ge.add(new go.PathSegment(go.PathSegment.Line,(Re.x*.1+.95*.9)*a,Re.y*.1*E)),Ge.add(new go.PathSegment(go.PathSegment.Line,.85*a,Re.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,(St.x*.1+.9)*a,.15*E)),Ge.add(new go.PathSegment(go.PathSegment.Line,(St.x*.1+.9)*a,(St.y*.1+.05*.9)*E)),Ge.add(new go.PathSegment(go.PathSegment.Line,St.x*a,St.y*E)),Ge.add(new go.PathSegment(go.PathSegment.Bezier,(ne+ee)*a,oe*E,Ce.x*a,Ce.y*E,ye.x*a,ye.y*E)),Ge.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(oe+ee)*E,(ne+ee)*a,(oe+y)*E,(ne+y)*a,(oe+ee)*E)),Ge.add(new go.PathSegment(go.PathSegment.Bezier,(ne-ee)*a,oe*E,(ne-y)*a,(oe+ee)*E,(ne-ee)*a,(oe+y)*E)),ee=.35,y=he*.35;var ht=new go.PathFigure(ne*a,(oe-ee)*E,!1);x.add(ht),ht.add(new go.PathSegment(go.PathSegment.Bezier,(ne-ee)*a,oe*E,(ne-y)*a,(oe-ee)*E,(ne-ee)*a,(oe-y)*E)),ht.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(oe+ee)*E,(ne-ee)*a,(oe+y)*E,(ne-y)*a,(oe+ee)*E)),ht.add(new go.PathSegment(go.PathSegment.Bezier,(ne+ee)*a,oe*E,(ne+y)*a,(oe+ee)*E,(ne+ee)*a,(oe+y)*E)),ht.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(oe-ee)*E,(ne+ee)*a,(oe-y)*E,(ne+y)*a,(oe-ee)*E));var pt=new go.PathFigure((ne-ee)*a,oe*E,!1);return x.add(pt),Be(le),Be(ie),Be(Ce),Be(ye),Be(Re),Be(St),x.spot1=new go.Spot(.202,.257),x.spot2=new go.Spot(.792,.739),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("GenderFemale",function(de,a,E){var x=new go.Geometry,y=.375,ee=0,ne=-.125,oe=y*he,le=new go.PathFigure((.525+ee)*a,(.5+y+ne)*E,!1);x.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+y+ee)*a,(.5+ne)*E,(.5+oe+ee)*a,(.5+y+ne)*E,(.5+y+ee)*a,(.5+oe+ne)*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5-y+ne)*E,(1-.5+y+ee)*a,(.5-oe+ne)*E,(.5+oe+ee)*a,(.5-y+ne)*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,(.5-y+ee)*a,(.5+ne)*E,(.5-oe+ee)*a,(.5-y+ne)*E,(.5-y+ee)*a,(.5-oe+ne)*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,(.475+ee)*a,(.5+y+ne)*E,(.5-y+ee)*a,(.5+oe+ne)*E,(.5-oe+ee)*a,(.5+y+ne)*E)),le.add(new go.PathSegment(go.PathSegment.Line,.475*a,.85*E)),le.add(new go.PathSegment(go.PathSegment.Line,.425*a,.85*E)),le.add(new go.PathSegment(go.PathSegment.Line,.425*a,.9*E)),le.add(new go.PathSegment(go.PathSegment.Line,.475*a,.9*E)),le.add(new go.PathSegment(go.PathSegment.Line,.475*a,E)),le.add(new go.PathSegment(go.PathSegment.Line,.525*a,E)),le.add(new go.PathSegment(go.PathSegment.Line,.525*a,.9*E)),le.add(new go.PathSegment(go.PathSegment.Line,.575*a,.9*E)),le.add(new go.PathSegment(go.PathSegment.Line,.575*a,.85*E)),le.add(new go.PathSegment(go.PathSegment.Line,.525*a,.85*E).close()),y=.325,ee=0,ne=-.125,oe=y*he;var le=new go.PathFigure((1-.5+y+ee)*a,(.5+ne)*E,!1);x.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5+y+ne)*E,(.5+y+ee)*a,(.5+oe+ne)*E,(.5+oe+ee)*a,(.5+y+ne)*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,(.5-y+ee)*a,(.5+ne)*E,(.5-oe+ee)*a,(.5+y+ne)*E,(.5-y+ee)*a,(.5+oe+ne)*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5-y+ne)*E,(.5-y+ee)*a,(.5-oe+ne)*E,(.5-oe+ee)*a,(.5-y+ne)*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+y+ee)*a,(.5+ne)*E,(.5+oe+ee)*a,(.5-y+ne)*E,(1-.5+y+ee)*a,(.5-oe+ne)*E));var le=new go.PathFigure((.525+ee)*a,(.5+y+ne)*E,!1);return x.add(le),x.spot1=new go.Spot(.232,.136),x.spot2=new go.Spot(.682,.611),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("LogicImplies",function(de,a,E){var x=de?de.parameter1:NaN;return isNaN(x)&&(x=.2),new go.Geometry().add(new go.PathFigure((1-x)*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,.5*E)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*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(de,a,E){var x=de?de.parameter1:NaN;return isNaN(x)&&(x=.2),new go.Geometry().add(new go.PathFigure((1-x)*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,.5*E)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*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,x*a,0)).add(new go.PathSegment(go.PathSegment.Line,0,.5*E)).add(new go.PathSegment(go.PathSegment.Line,x*a,E))).setSpots(.2,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicNot",function(de,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(de,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(de,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(de,a,E){var x=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 x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("LogicTruth",function(de,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(de,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(de,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(de,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(de,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(de,a,E){var x=.5;return new go.Geometry().add(new go.PathFigure(0,E,!1).add(new go.PathSegment(go.PathSegment.Line,0,x*E)).add(new go.PathSegment(go.PathSegment.Arc,180,180,x*a,x*E,x*a,x*E)).add(new go.PathSegment(go.PathSegment.Line,a,E))).setSpots(0,.5,1,1)}),go.Shape.defineFigureGenerator("LogicUnion",function(de,a,E){var x=.5;return new go.Geometry().add(new go.PathFigure(a,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,x*E)).add(new go.PathSegment(go.PathSegment.Arc,0,180,x*a,x*E,x*a,x*E)).add(new go.PathSegment(go.PathSegment.Line,0,0))).setSpots(0,0,1,.5)}),go.Shape.setFigureParameter("Arrow",0,new je("ArrowheadWidth",.3,.01,.99)),go.Shape.setFigureParameter("Arrow",1,new je("TailHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("Arrow",function(de,a,E){var x=de?de.parameter1:NaN;isNaN(x)&&(x=.3);var y=de?de.parameter2:NaN;isNaN(y)&&(y=.3);var ee=(1-x)*a,ne=(.5-y/2)*E,oe=(.5+y/2)*E,le=new go.Geometry,ie=new go.PathFigure(0,ne,!0);le.add(ie),ie.add(new go.PathSegment(go.PathSegment.Line,ee,ne)),ie.add(new go.PathSegment(go.PathSegment.Line,ee,0)),ie.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),ie.add(new go.PathSegment(go.PathSegment.Line,ee,E)),ie.add(new go.PathSegment(go.PathSegment.Line,ee,oe)),ie.add(new go.PathSegment(go.PathSegment.Line,0,oe).close()),le.spot1=new go.Spot(0,ne/E);var Ce=Je(0,oe/E,1,oe/E,ee/a,1,1,.5,b());return le.spot2=new go.Spot(Ce.x,Ce.y),Be(Ce),le}),go.Shape.setFigureParameter("Arrow2",0,new je("ArrowheadWidth",30)),go.Shape.setFigureParameter("Arrow2",0,new je("TailHeight",30)),go.Shape.defineFigureGenerator("Arrow2",function(de,a,E){var x=de?de.parameter1:NaN;isNaN(x)&&(x=30),x>a&&(x=a);var y=de?de.parameter2:NaN;isNaN(y)&&(y=30),y=Math.min(y,E/2);var ee=a-x,ne=(E-y)/2,oe=ne+y,le=new go.Geometry,ie=new go.PathFigure(0,ne,!0);le.add(ie),ie.add(new go.PathSegment(go.PathSegment.Line,ee,ne)),ie.add(new go.PathSegment(go.PathSegment.Line,ee,0)),ie.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),ie.add(new go.PathSegment(go.PathSegment.Line,ee,E)),ie.add(new go.PathSegment(go.PathSegment.Line,ee,oe)),ie.add(new go.PathSegment(go.PathSegment.Line,0,oe).close()),le.spot1=new go.Spot(0,ne/E);var Ce=Je(0,oe/E,1,oe/E,ee/a,1,1,.5,b());return le.spot2=new go.Spot(Ce.x,Ce.y),Be(Ce),le}),go.Shape.defineFigureGenerator("Chevron",function(de,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);return x.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()),x}),go.Shape.defineFigureGenerator("DoubleArrow",function(de,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);return x.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()),x}),go.Shape.setFigureParameter("DoubleEndArrow",0,new je("ConnecterHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("DoubleEndArrow",function(de,a,E){var x=de?de.parameter1:NaN;isNaN(x)&&(x=.3);var y=(.5-x/2)*E,ee=(.5+x/2)*E,ne=new go.Geometry,oe=new go.PathFigure(a,.5*E,!0);ne.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),oe.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),oe.add(new go.PathSegment(go.PathSegment.Line,.3*a,ee)),oe.add(new go.PathSegment(go.PathSegment.Line,.3*a,E)),oe.add(new go.PathSegment(go.PathSegment.Line,0,.5*E)),oe.add(new go.PathSegment(go.PathSegment.Line,.3*a,0)),oe.add(new go.PathSegment(go.PathSegment.Line,.3*a,y)),oe.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),oe.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close());var le=Je(0,.5,.3,0,0,y/E,.1,y/E,b());return ne.spot1=new go.Spot(le.x,le.y),le=Je(.7,1,1,.5,0,ee/E,1,ee/E,le),ne.spot2=new go.Spot(le.x,le.y),Be(le),ne}),go.Shape.setFigureParameter("DoubleEndArrow2",0,new je("ConnecterHeight",40)),go.Shape.setFigureParameter("DoubleEndArrow2",1,new je("ArrowHeight",100)),go.Shape.defineFigureGenerator("DoubleEndArrow2",function(de,a,E){var x=de?de.parameter1:NaN;isNaN(x)&&(x=40);var y=de?de.parameter2:NaN;isNaN(y)&&(y=100);var ee=(E-x)/2,ne=ee+x,oe=(E-y)/2,le=oe+y;(x>E||y>E)&&(y>x?(x=x*E/y,ee=(E-x)/2,ne=ee+x,oe=0,le=E):(ee=0,ne=E,oe=0,le=E));var ie=new go.Geometry,Ce=new go.PathFigure(a,.5*E,!0);ie.add(Ce),Ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,le)),Ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,ne)),Ce.add(new go.PathSegment(go.PathSegment.Line,.3*a,ne)),Ce.add(new go.PathSegment(go.PathSegment.Line,.3*a,le)),Ce.add(new go.PathSegment(go.PathSegment.Line,0,.5*E)),Ce.add(new go.PathSegment(go.PathSegment.Line,.3*a,oe)),Ce.add(new go.PathSegment(go.PathSegment.Line,.3*a,ee)),Ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),Ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,oe).close());var ye=Je(0,.5,.3,oe/E,0,ee/E,1,ee/E,b());return ie.spot1=new go.Spot(ye.x,ye.y),ye=Je(.7,le/E,1,.5,0,ne/E,1,ne/E,ye),ie.spot2=new go.Spot(ye.x,ye.y),Be(ye),ie}),go.Shape.setFigureParameter("IBeamArrow",0,new je("ConnectorHeight",.7,.51,.97)),go.Shape.defineFigureGenerator("IBeamArrow",function(de,a,E){var x=de?de.parameter1:NaN;isNaN(x)&&(x=.3);var y=(.5-x/2)*E,ee=(.5+x/2)*E,ne=new go.Geometry,oe=new go.PathFigure(a,.5*E,!0);ne.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),oe.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),oe.add(new go.PathSegment(go.PathSegment.Line,.2*a,ee)),oe.add(new go.PathSegment(go.PathSegment.Line,.2*a,E)),oe.add(new go.PathSegment(go.PathSegment.Line,0,E)),oe.add(new go.PathSegment(go.PathSegment.Line,0,0)),oe.add(new go.PathSegment(go.PathSegment.Line,.2*a,0)),oe.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),oe.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),oe.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),ne.spot1=new go.Spot(0,y/E);var le=Je(.7,1,1,.5,0,ee/E,1,ee/E,b());return ne.spot2=new go.Spot(le.x,le.y),Be(le),ne}),go.Shape.setFigureParameter("IBeamArrow2",0,new je("ConnectorHeight",40)),go.Shape.setFigureParameter("IBeamArrow2",1,new je("BeamArrowHeight",100)),go.Shape.defineFigureGenerator("IBeamArrow2",function(de,a,E){var x=de?de.parameter1:NaN;isNaN(x)&&(x=40);var y=de?de.parameter2:NaN;isNaN(y)&&(y=100);var ee=(E-x)/2,ne=ee+x,oe=(E-y)/2,le=oe+y;(x>E||y>E)&&(y>x?(x=x*E/y,ee=(E-x)/2,ne=ee+x,oe=0,le=E):(ee=0,ne=E,oe=0,le=E));var ie=new go.Geometry,Ce=new go.PathFigure(a,.5*E,!0);ie.add(Ce),Ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,le)),Ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,ne)),Ce.add(new go.PathSegment(go.PathSegment.Line,.2*a,ne)),Ce.add(new go.PathSegment(go.PathSegment.Line,.2*a,le)),Ce.add(new go.PathSegment(go.PathSegment.Line,0,le)),Ce.add(new go.PathSegment(go.PathSegment.Line,0,oe)),Ce.add(new go.PathSegment(go.PathSegment.Line,.2*a,oe)),Ce.add(new go.PathSegment(go.PathSegment.Line,.2*a,ee)),Ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),Ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,oe).close()),ie.spot1=new go.Spot(0,ee/E);var ye=Je(.7,le/E,1,.5,0,ne/E,1,ne/E,b());return ie.spot2=new go.Spot(ye.x,ye.y),Be(ye),ie}),go.Shape.setFigureParameter("Pointer",0,new je("BackPoint",.1,0,.2)),go.Shape.defineFigureGenerator("Pointer",function(de,a,E){var x=de?de.parameter1:NaN;isNaN(x)&&(x=.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,x*a,.5*E)),ee.add(new go.PathSegment(go.PathSegment.Line,0,0).close()),y.spot1=new go.Spot(x,.35);var ne=Je(.2,.65,1,.65,0,1,1,.5,b());return y.spot2=new go.Spot(ne.x,ne.y),Be(ne),y}),go.Shape.setFigureParameter("RoundedPointer",0,new je("RoundedEdge",.3,0,.5)),go.Shape.defineFigureGenerator("RoundedPointer",function(de,a,E){var x=de?de.parameter1:NaN;isNaN(x)&&(x=.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,x*a,.75*E,x*a,.25*E).close()),y.spot1=new go.Spot(x,.35);var ne=Je(0,.65,1,.65,0,1,1,.5,b());return y.spot2=new go.Spot(ne.x,ne.y),Be(ne),y}),go.Shape.setFigureParameter("SplitEndArrow",0,new je("TailHeight",.4,.01,.99)),go.Shape.defineFigureGenerator("SplitEndArrow",function(de,a,E){var x=de?de.parameter1:NaN;isNaN(x)&&(x=.4);var y=(.5-x/2)*E,ee=(.5+x/2)*E,ne=new go.Geometry,oe=new go.PathFigure(a,.5*E,!0);ne.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),oe.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),oe.add(new go.PathSegment(go.PathSegment.Line,0,ee)),oe.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*E)),oe.add(new go.PathSegment(go.PathSegment.Line,0,y)),oe.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),oe.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),ne.spot1=new go.Spot(.2,.3);var le=Je(.7,1,1,.5,0,ee/E,1,ee/E,b());return ne.spot2=new go.Spot(le.x,le.y),Be(le),ne}),go.Shape.setFigureParameter("SplitEndArrow2",0,new je("TailThickness",50)),go.Shape.defineFigureGenerator("SplitEndArrow2",function(de,a,E){var x=de?de.parameter1:NaN;isNaN(x)&&(x=50);var y=(E-x)/2,ee=y+x;x>E&&(y=0,ee=E);var ne=new go.Geometry,oe=new go.PathFigure(a,.5*E,!0);ne.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),oe.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),oe.add(new go.PathSegment(go.PathSegment.Line,0,ee)),oe.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*E)),oe.add(new go.PathSegment(go.PathSegment.Line,0,y)),oe.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),oe.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),ne.spot1=new go.Spot(.2,y/E);var le=Je(.7,1,1,.5,0,ee/E,1,ee/E,b());return ne.spot2=new go.Spot(le.x,le.y),Be(le),ne}),go.Shape.setFigureParameter("SquareArrow",0,new je("ArrowPoint",.7,.2,.9)),go.Shape.defineFigureGenerator("SquareArrow",function(de,a,E){var x=de?de.parameter1:NaN;isNaN(x)&&(x=.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,x*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,x*a,0).close()),y.spot1=go.Spot.TopLeft,y.spot2=new go.Spot(x,1),y}),go.Shape.defineFigureGenerator("Cone1",function(de,a,E){var x=new go.Geometry,y=he*.5,ee=he*.1,ne=new go.PathFigure(0,.9*E,!0);return x.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()),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.97),x}),go.Shape.defineFigureGenerator("Cone2",function(de,a,E){var x=new go.Geometry,y=new go.PathFigure(0,.9*E,!0);x.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 x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,.9*E,(1-.85/.9)*a,.8*E,.85/.9*a,.8*E)),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.82),x}),go.Shape.defineFigureGenerator("Cube1",function(de,a,E){var x=new go.Geometry,y=new go.PathFigure(.5*a,E,!0);x.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 x.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)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(.5,.85),x}),go.Shape.defineFigureGenerator("Cube2",function(de,a,E){var x=new go.Geometry,y=new go.PathFigure(0,.3*E,!0);x.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 x.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)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(.7,1),x}),go.Shape.defineFigureGenerator("Cylinder1",function(de,a,E){var x=de?de.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,E/3);var y=new go.Geometry,ee=he*.5,ne=new go.PathFigure(0,x,!0);y.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,he*x,(.5-ee)*a,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,1*a,x,(.5+ee)*a,0,1*a,he*x)),ne.add(new go.PathSegment(go.PathSegment.Line,a,E-x)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,1*E,1*a,E-he*x,(.5+ee)*a,1*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,E-x,(.5-ee)*a,1*E,0,E-he*x)),ne.add(new go.PathSegment(go.PathSegment.Line,0,x));var oe=new go.PathFigure(a,x,!1);return y.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,2*x,1*a,2*x-he*x,(.5+ee)*a,2*x)),oe.add(new go.PathSegment(go.PathSegment.Bezier,0,x,(.5-ee)*a,2*x,0,2*x-he*x)),y.spot1=new go.Spot(0,0,0,2*x),y.spot2=new go.Spot(1,1),y}),go.Shape.defineFigureGenerator("Cylinder2",function(de,a,E){var x=de?de.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,E/3);var y=new go.Geometry,ee=he*.5,ne=new go.PathFigure(0,E-x,!0);y.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,0,x)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,he*x,(.5-ee)*a,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,a,x,(.5+ee)*a,0,a,he*x)),ne.add(new go.PathSegment(go.PathSegment.Line,a,E-x)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,E,a,E-he*x,(.5+ee)*a,E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,E-x,(.5-ee)*a,E,0,E-he*x));var oe=new go.PathFigure(0,E-x,!1);return y.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,E-2*x,0,E-x-he*x,(.5-ee)*a,E-2*x)),oe.add(new go.PathSegment(go.PathSegment.Bezier,a,E-x,(.5+ee)*a,E-2*x,a,E-x-he*x)),y.spot1=new go.Spot(0,0),y.spot2=new go.Spot(1,1,0,-2*x),y}),go.Shape.defineFigureGenerator("Cylinder3",function(de,a,E){var x=de?de.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,a/3);var y=new go.Geometry,ee=he*.5,ne=new go.PathFigure(x,0,!0);y.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,a-x,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*E,a-he*x,0,a,(.5-ee)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,a-x,E,a,(.5+ee)*E,a-he*x,E)),ne.add(new go.PathSegment(go.PathSegment.Line,x,E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*E,he*x,E,0,(.5+ee)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,(.5-ee)*E,he*x,0));var oe=new go.PathFigure(x,0,!1);return y.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,2*x,.5*E,x+he*x,0,2*x,(.5-ee)*E)),oe.add(new go.PathSegment(go.PathSegment.Bezier,x,E,2*x,(.5+ee)*E,x+he*x,E)),y.spot1=new go.Spot(0,0,2*x,0),y.spot2=new go.Spot(1,1),y}),go.Shape.defineFigureGenerator("Cylinder4",function(de,a,E){var x=de?de.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,a/3);var y=new go.Geometry,ee=he*.5,ne=new go.PathFigure(a-x,0,!0);y.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*E,a-he*x,0,a,(.5-ee)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,a-x,E,a,(.5+ee)*E,a-he*x,E)),ne.add(new go.PathSegment(go.PathSegment.Line,x,E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*E,he*x,E,0,(.5+ee)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,(.5-ee)*E,he*x,0)),ne.add(new go.PathSegment(go.PathSegment.Line,a-x,0));var oe=new go.PathFigure(a-x,0,!1);return y.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,a-2*x,.5*E,a-x-he*x,0,a-2*x,(.5-ee)*E)),oe.add(new go.PathSegment(go.PathSegment.Bezier,a-x,E,a-2*x,(.5+ee)*E,a-x-he*x,E)),y.spot1=new go.Spot(0,0),y.spot2=new go.Spot(1,1,-2*x,0),y}),go.Shape.defineFigureGenerator("Prism1",function(de,a,E){var x=new go.Geometry,y=new go.PathFigure(.25*a,.25*E,!0);x.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 x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),x.spot1=new go.Spot(.408,.172),x.spot2=new go.Spot(.833,.662),x}),go.Shape.defineFigureGenerator("Prism2",function(de,a,E){var x=new go.Geometry,y=new go.PathFigure(0,.25*E,!0);x.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 x.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)),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.75),x}),go.Shape.defineFigureGenerator("Pyramid1",function(de,a,E){var x=new go.Geometry,y=new go.PathFigure(.5*a,0,!0);x.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 x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),x.spot1=new go.Spot(.25,.367),x.spot2=new go.Spot(.75,.875),x}),go.Shape.defineFigureGenerator("Pyramid2",function(de,a,E){var x=new go.Geometry,y=new go.PathFigure(.5*a,0,!0);x.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 x.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)),x.spot1=new go.Spot(.25,.367),x.spot2=new go.Spot(.75,.875),x}),go.Shape.defineFigureGenerator("Actor",function(de,a,E){var x=new go.Geometry,y=.2,ee=.1,ne=he*y,oe=he*ee,le=.5,ie=.1,Ce=new go.PathFigure(le*a,(ie+ee)*E,!0);x.add(Ce),Ce.add(new go.PathSegment(go.PathSegment.Bezier,(le-y)*a,ie*E,(le-ne)*a,(ie+ee)*E,(le-y)*a,(ie+oe)*E)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,le*a,(ie-ee)*E,(le-y)*a,(ie-oe)*E,(le-ne)*a,(ie-ee)*E)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,(le+y)*a,ie*E,(le+ne)*a,(ie-ee)*E,(le+y)*a,(ie-oe)*E)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,le*a,(ie+ee)*E,(le+y)*a,(ie+oe)*E,(le+ne)*a,(ie+ee)*E));var ye=.05,Ge=he*ye;le=.05,ie=.25;var Re=new go.PathFigure(.5*a,.2*E,!0);return x.add(Re),Re.add(new go.PathSegment(go.PathSegment.Line,.95*a,.2*E)),le=.95,ie=.25,Re.add(new go.PathSegment(go.PathSegment.Bezier,(le+ye)*a,ie*E,(le+Ge)*a,(ie-ye)*E,(le+ye)*a,(ie-Ge)*E)),Re.add(new go.PathSegment(go.PathSegment.Line,a,.6*E)),Re.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*E)),Re.add(new go.PathSegment(go.PathSegment.Line,.85*a,.35*E)),ye=.025,Ge=he*ye,le=.825,ie=.35,Re.add(new go.PathSegment(go.PathSegment.Bezier,le*a,(ie-ye)*E,(le+ye)*a,(ie-Ge)*E,(le+Ge)*a,(ie-ye)*E)),Re.add(new go.PathSegment(go.PathSegment.Bezier,(le-ye)*a,ie*E,(le-Ge)*a,(ie-ye)*E,(le-ye)*a,(ie-Ge)*E)),Re.add(new go.PathSegment(go.PathSegment.Line,.8*a,E)),Re.add(new go.PathSegment(go.PathSegment.Line,.55*a,E)),Re.add(new go.PathSegment(go.PathSegment.Line,.55*a,.7*E)),ye=.05,Ge=he*ye,le=.5,ie=.7,Re.add(new go.PathSegment(go.PathSegment.Bezier,le*a,(ie-ye)*E,(le+ye)*a,(ie-Ge)*E,(le+Ge)*a,(ie-ye)*E)),Re.add(new go.PathSegment(go.PathSegment.Bezier,(le-ye)*a,ie*E,(le-Ge)*a,(ie-ye)*E,(le-ye)*a,(ie-Ge)*E)),Re.add(new go.PathSegment(go.PathSegment.Line,.45*a,E)),Re.add(new go.PathSegment(go.PathSegment.Line,.2*a,E)),Re.add(new go.PathSegment(go.PathSegment.Line,.2*a,.35*E)),ye=.025,Ge=he*ye,le=.175,ie=.35,Re.add(new go.PathSegment(go.PathSegment.Bezier,le*a,(ie-ye)*E,(le+ye)*a,(ie-Ge)*E,(le+Ge)*a,(ie-ye)*E)),Re.add(new go.PathSegment(go.PathSegment.Bezier,(le-ye)*a,ie*E,(le-Ge)*a,(ie-ye)*E,(le-ye)*a,(ie-Ge)*E)),Re.add(new go.PathSegment(go.PathSegment.Line,.15*a,.6*E)),Re.add(new go.PathSegment(go.PathSegment.Line,0,.6*E)),Re.add(new go.PathSegment(go.PathSegment.Line,0,.25*E)),ye=.05,Ge=he*ye,le=.05,ie=.25,Re.add(new go.PathSegment(go.PathSegment.Bezier,le*a,(ie-ye)*E,(le-ye)*a,(ie-Ge)*E,(le-Ge)*a,(ie-ye)*E)),Re.add(new go.PathSegment(go.PathSegment.Line,.5*a,.2*E)),x.spot1=new go.Spot(.2,.2),x.spot2=new go.Spot(.8,.65),x}),go.Shape.setFigureParameter("Card",0,new je("CornerCutoutSize",.2,.1,.9)),go.Shape.defineFigureGenerator("Card",function(de,a,E){var x=de?de.parameter1:NaN;isNaN(x)&&(x=.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,x*E)),ee.add(new go.PathSegment(go.PathSegment.Line,x*a,0).close()),y.spot1=new go.Spot(0,x),y.spot2=go.Spot.BottomRight,y}),go.Shape.defineFigureGenerator("Collate",function(de,a,E){var x=new go.Geometry,y=new go.PathFigure(.5*a,.5*E,!0);x.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 x.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)),x.spot1=new go.Spot(.25,0),x.spot2=new go.Spot(.75,.25),x}),go.Shape.defineFigureGenerator("CreateRequest",function(de,a,E){var x=new go.Geometry,y=de?de.parameter1:NaN;isNaN(y)&&(y=.1);var ee=new go.PathFigure(0,0,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,E)),ee.add(new go.PathSegment(go.PathSegment.Line,0,E).close());var ne=new go.PathFigure(0,y*E,!1);return x.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)),x}),go.Shape.defineFigureGenerator("Database",function(de,a,E){var x=new go.Geometry,y=he*.5,ee=he*.1,ne=new go.PathFigure(a,.1*E,!0);x.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 oe=new go.PathFigure(a,.1*E,!1);return x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*E,a,(.1+ee)*E,(.5+y)*a,.2*E)),oe.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*E,(.5-y)*a,.2*E,0,(.1+ee)*E)),oe.add(new go.PathSegment(go.PathSegment.Move,a,.2*E)),oe.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*E,a,(.2+ee)*E,(.5+y)*a,.3*E)),oe.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*E,(.5-y)*a,.3*E,0,(.2+ee)*E)),oe.add(new go.PathSegment(go.PathSegment.Move,a,.3*E)),oe.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.4*E,a,(.3+ee)*E,(.5+y)*a,.4*E)),oe.add(new go.PathSegment(go.PathSegment.Bezier,0,.3*E,(.5-y)*a,.4*E,0,(.3+ee)*E)),x.spot1=new go.Spot(0,.4),x.spot2=new go.Spot(1,.9),x}),go.Shape.defineFigureGenerator("DataStorage",function(de,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);return x.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()),x.spot1=new go.Spot(.226,0),x.spot2=new go.Spot(.81,1),x}),go.Shape.defineFigureGenerator("DiskStorage",function(de,a,E){var x=new go.Geometry,y=he*.5,ee=he*.1,ne=new go.PathFigure(a,.1*E,!0);x.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 oe=new go.PathFigure(a,.1*E,!1);return x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*E,a,(.1+ee)*E,(.5+y)*a,.2*E)),oe.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*E,(.5-y)*a,.2*E,0,(.1+ee)*E)),oe.add(new go.PathSegment(go.PathSegment.Move,a,.2*E)),oe.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*E,a,(.2+ee)*E,(.5+y)*a,.3*E)),oe.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*E,(.5-y)*a,.3*E,0,(.2+ee)*E)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(1,.9),x}),go.Shape.defineFigureGenerator("Display",function(de,a,E){var x=new go.Geometry,y=new go.PathFigure(.25*a,0,!0);return x.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()),x.spot1=new go.Spot(.25,0),x.spot2=new go.Spot(.75,1),x}),go.Shape.defineFigureGenerator("DividedEvent",function(de,a,E){var x=new go.Geometry,y=de?de.parameter1:NaN;isNaN(y)?y=.2:y<.15&&(y=.15);var ee=he*.2,ne=new go.PathFigure(0,.2*E,!0);x.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 oe=new go.PathFigure(0,y*E,!1);return x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,a,y*E)),x}),go.Shape.defineFigureGenerator("DividedProcess",function(de,a,E){var x=new go.Geometry,y=de?de.parameter1:NaN;(isNaN(y)||y<.1)&&(y=.1);var ee=new go.PathFigure(0,0,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,E)),ee.add(new go.PathSegment(go.PathSegment.Line,0,E).close());var ne=new go.PathFigure(0,y*E,!1);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,a,y*E)),x}),go.Shape.defineFigureGenerator("Document",function(de,a,E){var x=new go.Geometry;E=E/.8;var y=new go.PathFigure(0,.7*E,!0);return x.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()),x.spot1=go.Spot.TopLeft,x.spot2=new go.Spot(1,.6),x}),go.Shape.defineFigureGenerator("ExternalOrganization",function(de,a,E){var x=new go.Geometry,y=de?de.parameter1:NaN;(isNaN(y)||y<.2)&&(y=.2);var ee=new go.PathFigure(0,0,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,E)),ee.add(new go.PathSegment(go.PathSegment.Line,0,E).close());var ne=new go.PathFigure(y*a,0,!1);return x.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)),x}),go.Shape.defineFigureGenerator("ExternalProcess",function(de,a,E){var x=new go.Geometry,y=new go.PathFigure(.5*a,0,!0);x.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 x.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)),x.spot1=new go.Spot(.25,.25),x.spot2=new go.Spot(.75,.75),x}),go.Shape.defineFigureGenerator("File",function(de,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);x.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 x.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)),x.spot1=new go.Spot(0,.25),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("Interrupt",function(de,a,E){var x=new go.Geometry,y=new go.PathFigure(a,.5*E,!0);x.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);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,E));var ne=new go.PathFigure(a,.5*E,!1);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.5,.75),x}),go.Shape.defineFigureGenerator("InternalStorage",function(de,a,E){var x=new go.Geometry,y=de?de.parameter1:NaN,ee=de?de.parameter2:NaN;isNaN(y)&&(y=.1),isNaN(ee)&&(ee=.1);var ne=new go.PathFigure(0,0,!0);x.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 oe=new go.PathFigure(y*a,0,!1);return x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,y*a,E)),oe.add(new go.PathSegment(go.PathSegment.Move,0,ee*E)),oe.add(new go.PathSegment(go.PathSegment.Line,a,ee*E)),x}),go.Shape.defineFigureGenerator("Junction",function(de,a,E){var x=new go.Geometry,y=1/Math.SQRT2,ee=(1-1/Math.SQRT2)/2,ne=he*.5,oe=.5,le=new go.PathFigure(a,oe*E,!0);x.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,oe*a,E,a,(oe+ne)*E,(oe+ne)*a,E)),le.add(new go.PathSegment(go.PathSegment.Bezier,0,oe*E,(oe-ne)*a,E,0,(oe+ne)*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,oe*a,0,0,(oe-ne)*E,(oe-ne)*a,0)),le.add(new go.PathSegment(go.PathSegment.Bezier,a,oe*E,(oe+ne)*a,0,a,(oe-ne)*E));var ie=new go.PathFigure((ee+y)*a,(ee+y)*E,!1);return x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Line,ee*a,ee*E)),ie.add(new go.PathSegment(go.PathSegment.Move,ee*a,(ee+y)*E)),ie.add(new go.PathSegment(go.PathSegment.Line,(ee+y)*a,ee*E)),x}),go.Shape.defineFigureGenerator("LinedDocument",function(de,a,E){var x=new go.Geometry;E=E/.8;var y=new go.PathFigure(0,.7*E,!0);x.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 x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.1*a,.75*E)),x.spot1=new go.Spot(.1,0),x.spot2=new go.Spot(1,.6),x}),go.Shape.defineFigureGenerator("LoopLimit",function(de,a,E){var x=new go.Geometry,y=new go.PathFigure(0,E,!0);return x.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()),x.spot1=new go.Spot(0,.25),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("MagneticTape",function(de,a,E){var x=new go.Geometry,y=he*.5,ee=.5,ne=new go.PathFigure(.5*a,E,!0);return x.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)),x.spot1=new go.Spot(.15,.15),x.spot2=new go.Spot(.85,.8),x}),go.Shape.defineFigureGenerator("ManualInput",function(de,a,E){var x=new go.Geometry,y=new go.PathFigure(a,0,!0);return x.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()),x.spot1=new go.Spot(0,.25),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("MessageFromUser",function(de,a,E){var x=new go.Geometry,y=de?de.parameter1:NaN;isNaN(y)&&(y=.7);var ee=new go.PathFigure(0,0,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,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()),x.spot1=go.Spot.TopLeft,x}),go.Shape.defineFigureGenerator("MicroformProcessing",function(de,a,E){var x=new go.Geometry,y=de?de.parameter1:NaN;isNaN(y)&&(y=.25);var ee=new go.PathFigure(0,0,!0);return x.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()),x}),go.Shape.defineFigureGenerator("MicroformRecording",function(de,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);return x.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()),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(1,.75),x}),go.Shape.defineFigureGenerator("MultiDocument",function(de,a,E){var x=new go.Geometry;E=E/.8;var y=new go.PathFigure(a,0,!0);x.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 x.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)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.8,.77),x}),go.Shape.defineFigureGenerator("MultiProcess",function(de,a,E){var x=new go.Geometry,y=new go.PathFigure(.1*a,.1*E,!0);x.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 x.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)),x.spot1=new go.Spot(0,.2),x.spot2=new go.Spot(.8,1),x}),go.Shape.defineFigureGenerator("OfflineStorage",function(de,a,E){var x=new go.Geometry,y=de?de.parameter1:NaN;isNaN(y)&&(y=.1);var ee=1-y,ne=new go.PathFigure(0,0,!0);x.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 oe=new go.PathFigure(.5*y*a,y*E,!1);return x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,(1-.5*y)*a,y*E)),x}),go.Shape.defineFigureGenerator("OffPageConnector",function(de,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);return x.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()),x.spot1=go.Spot.TopLeft,x.spot2=new go.Spot(.75,1),x}),go.Shape.defineFigureGenerator("Or",function(de,a,E){var x=new go.Geometry,y=he*.5,ee=.5,ne=new go.PathFigure(a,ee*E,!0);x.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 oe=new go.PathFigure(a,.5*E,!1);return x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,0,.5*E)),oe.add(new go.PathSegment(go.PathSegment.Move,.5*a,E)),oe.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),x}),go.Shape.defineFigureGenerator("PaperTape",function(de,a,E){var x=new go.Geometry;E=E/.8;var y=new go.PathFigure(0,.7*E,!0);return x.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()),x.spot1=new go.Spot(0,.49),x.spot2=new go.Spot(1,.75),x}),go.Shape.defineFigureGenerator("PrimitiveFromCall",function(de,a,E){var x=new go.Geometry,y=de?de.parameter1:NaN,ee=de?de.parameter2:NaN;isNaN(y)&&(y=.1),isNaN(ee)&&(ee=.3);var ne=new go.PathFigure(0,0,!0);return x.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()),x}),go.Shape.defineFigureGenerator("PrimitiveToCall",function(de,a,E){var x=new go.Geometry,y=de?de.parameter1:NaN,ee=de?de.parameter2:NaN;isNaN(y)&&(y=.1),isNaN(ee)&&(ee=.3);var ne=new go.PathFigure(0,0,!0);return x.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()),x}),go.Shape.defineFigureGenerator("Procedure",function(de,a,E){var x=new go.Geometry,y=de?de.parameter1:NaN;isNaN(y)&&(y=.1);var ee=new go.PathFigure(0,0,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,E)),ee.add(new go.PathSegment(go.PathSegment.Line,0,E).close());var ne=new go.PathFigure((1-y)*a,0,!1);return x.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)),x}),go.Shape.defineFigureGenerator("Process",function(de,a,E){var x=new go.Geometry,y=de?de.parameter1:NaN;isNaN(y)&&(y=.1);var ee=new go.PathFigure(0,0,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,E)),ee.add(new go.PathSegment(go.PathSegment.Line,0,E).close());var ne=new go.PathFigure(y*a,0,!1);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y*a,E)),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("Sort",function(de,a,E){var x=new go.Geometry,y=new go.PathFigure(.5*a,0,!0);x.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 x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),x.spot1=new go.Spot(.25,.25),x.spot2=new go.Spot(.75,.5),x}),go.Shape.defineFigureGenerator("Start",function(de,a,E){var x=new go.Geometry,y=de?de.parameter1:NaN;isNaN(y)&&(y=.25);var ee=new go.PathFigure(y*a,0,!0);x.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 x.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)),x.spot1=new go.Spot(y,0),x.spot2=new go.Spot(1-y,1),x}),go.Shape.defineFigureGenerator("Terminator",function(de,a,E){var x=new go.Geometry,y=new go.PathFigure(.25*a,0,!0);return x.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)),x.spot1=new go.Spot(.23,0),x.spot2=new go.Spot(.77,1),x}),go.Shape.defineFigureGenerator("TransmittalTape",function(de,a,E){var x=new go.Geometry,y=de?de.parameter1:NaN;isNaN(y)&&(y=.1);var ee=new go.PathFigure(0,0,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,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()),x.spot1=go.Spot.TopLeft,x}),go.Shape.defineFigureGenerator("AndGate",function(de,a,E){var x=new go.Geometry,y=he*.5,ee=new go.PathFigure(0,0,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*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()),x.spot1=go.Spot.TopLeft,x.spot2=new go.Spot(.55,1),x}),go.Shape.defineFigureGenerator("Buffer",function(de,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E).close()),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.5,.75),x}),go.Shape.defineFigureGenerator("Clock",function(de,a,E){var x=new go.Geometry,y=he*.5,ee=.5,ne=new go.PathFigure(a,ee*E,!0);x.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 oe=new go.PathFigure(a,ee*E,!1);x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,a,ee*E));var le=new go.PathFigure(.8*a,.75*E,!1);return x.add(le),le.add(new go.PathSegment(go.PathSegment.Line,.8*a,.25*E)),le.add(new go.PathSegment(go.PathSegment.Line,.6*a,.25*E)),le.add(new go.PathSegment(go.PathSegment.Line,.6*a,.75*E)),le.add(new go.PathSegment(go.PathSegment.Line,.4*a,.75*E)),le.add(new go.PathSegment(go.PathSegment.Line,.4*a,.25*E)),le.add(new go.PathSegment(go.PathSegment.Line,.2*a,.25*E)),le.add(new go.PathSegment(go.PathSegment.Line,.2*a,.75*E)),x}),go.Shape.defineFigureGenerator("Ground",function(de,a,E){var x=new go.Geometry,y=new go.PathFigure(.5*a,0,!1);return x.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)),x}),go.Shape.defineFigureGenerator("Inverter",function(de,a,E){var x=new go.Geometry,y=he*.1,ee=.1,ne=.9,oe=.5,le=new go.PathFigure(.8*a,.5*E,!0);x.add(le),le.add(new go.PathSegment(go.PathSegment.Line,0,E)),le.add(new go.PathSegment(go.PathSegment.Line,0,0)),le.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*E));var ie=new go.PathFigure((ne+ee)*a,oe*E,!0);return x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(oe+ee)*E,(ne+ee)*a,(oe+y)*E,(ne+y)*a,(oe+ee)*E)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(ne-ee)*a,oe*E,(ne-y)*a,(oe+ee)*E,(ne-ee)*a,(oe+y)*E)),ie.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(oe-ee)*E,(ne-ee)*a,(oe-y)*E,(ne-y)*a,(oe-ee)*E)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(ne+ee)*a,oe*E,(ne+y)*a,(oe-ee)*E,(ne+ee)*a,(oe-y)*E)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.4,.75),x}),go.Shape.defineFigureGenerator("NandGate",function(de,a,E){var x=new go.Geometry,y=he*.5,ee=he*.4,ne=he*.1,oe=.1,le=.9,ie=.5,Ce=new go.PathFigure(.8*a,.5*E,!0);x.add(Ce),Ce.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,E,.8*a,(.5+ee)*E,(.4+y)*a,E)),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,.4*a,0)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*E,(.4+y)*a,0,.8*a,(.5-ee)*E));var ye=new go.PathFigure((le+oe)*a,ie*E,!0);return x.add(ye),ye.add(new go.PathSegment(go.PathSegment.Bezier,le*a,(ie+oe)*E,(le+oe)*a,(ie+ne)*E,(le+ne)*a,(ie+oe)*E)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(le-oe)*a,ie*E,(le-ne)*a,(ie+oe)*E,(le-oe)*a,(ie+ne)*E)),ye.add(new go.PathSegment(go.PathSegment.Bezier,le*a,(ie-oe)*E,(le-oe)*a,(ie-ne)*E,(le-ne)*a,(ie-oe)*E)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(le+oe)*a,ie*E,(le+ne)*a,(ie-oe)*E,(le+oe)*a,(ie-ne)*E)),x.spot1=new go.Spot(0,.05),x.spot2=new go.Spot(.55,.95),x}),go.Shape.defineFigureGenerator("NorGate",function(de,a,E){var x=new go.Geometry,y=.5,ee=he*y,ne=0,oe=.5,le=new go.PathFigure(.8*a,.5*E,!0);x.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,0,E,.7*a,(oe+ee)*E,(ne+ee)*a,(oe+y)*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.75*E,.25*a,.25*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*E,(ne+ee)*a,(oe-y)*E,.7*a,(oe-ee)*E)),y=.1,ee=he*.1,ne=.9,oe=.5;var ie=new go.PathFigure((ne-y)*a,oe*E,!0);return x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(oe-y)*E,(ne-y)*a,(oe-ee)*E,(ne-ee)*a,(oe-y)*E)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(ne+y)*a,oe*E,(ne+ee)*a,(oe-y)*E,(ne+y)*a,(oe-ee)*E)),ie.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(oe+y)*E,(ne+y)*a,(oe+ee)*E,(ne+ee)*a,(oe+y)*E)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(ne-y)*a,oe*E,(ne-ee)*a,(oe+y)*E,(ne-y)*a,(oe+ee)*E)),x.spot1=new go.Spot(.2,.25),x.spot2=new go.Spot(.6,.75),x}),go.Shape.defineFigureGenerator("OrGate",function(de,a,E){var x=new go.Geometry,y=.5,ee=he*y,ne=0,oe=.5,le=new go.PathFigure(0,0,!0);return x.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*E,(ne+ee+ee)*a,(oe-y)*E,.8*a,(oe-ee)*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,0,E,.8*a,(oe+ee)*E,(ne+ee+ee)*a,(oe+y)*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.75*E,.25*a,.25*E).close()),x.spot1=new go.Spot(.2,.25),x.spot2=new go.Spot(.75,.75),x}),go.Shape.defineFigureGenerator("XnorGate",function(de,a,E){var x=new go.Geometry,y=.5,ee=he*y,ne=.2,oe=.5,le=new go.PathFigure(.1*a,0,!1);x.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,E,.35*a,.25*E,.35*a,.75*E));var ie=new go.PathFigure(.8*a,.5*E,!0);x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,E,.7*a,(oe+ee)*E,(ne+ee)*a,(oe+y)*E)),ie.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,.45*a,.75*E,.45*a,.25*E)),ie.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*E,(ne+ee)*a,(oe-y)*E,.7*a,(oe-ee)*E)),y=.1,ee=he*.1,ne=.9,oe=.5;var Ce=new go.PathFigure((ne-y)*a,oe*E,!0);return x.add(Ce),Ce.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(oe-y)*E,(ne-y)*a,(oe-ee)*E,(ne-ee)*a,(oe-y)*E)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,(ne+y)*a,oe*E,(ne+ee)*a,(oe-y)*E,(ne+y)*a,(oe-ee)*E)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(oe+y)*E,(ne+y)*a,(oe+ee)*E,(ne+ee)*a,(oe+y)*E)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,(ne-y)*a,oe*E,(ne-ee)*a,(oe+y)*E,(ne-y)*a,(oe+ee)*E)),x.spot1=new go.Spot(.4,.25),x.spot2=new go.Spot(.65,.75),x}),go.Shape.defineFigureGenerator("XorGate",function(de,a,E){var x=new go.Geometry,y=.5,ee=he*y,ne=.2,oe=.5,le=new go.PathFigure(.1*a,0,!1);x.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,E,.35*a,.25*E,.35*a,.75*E));var ie=new go.PathFigure(.2*a,0,!0);return x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*E,(ne+ee)*a,(oe-y)*E,.9*a,(oe-ee)*E)),ie.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,E,.9*a,(oe+ee)*E,(ne+ee)*a,(oe+y)*E)),ie.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,.45*a,.75*E,.45*a,.25*E).close()),x.spot1=new go.Spot(.4,.25),x.spot2=new go.Spot(.8,.75),x}),go.Shape.defineFigureGenerator("Capacitor",function(de,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!1);return x.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)),x}),go.Shape.defineFigureGenerator("Resistor",function(de,a,E){var x=new go.Geometry,y=new go.PathFigure(0,.5*E,!1);return x.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)),x}),go.Shape.defineFigureGenerator("Inductor",function(de,a,E){var x=new go.Geometry,y=he*.1,ee=.1,ne=.1,oe=.5,le=new go.PathFigure((ne-y*.5)*a,E,!1);return x.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,(ne+ee)*a,0,(ne-y)*a,E,(ne-ee)*a,0)),ne=.3,le.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,E,(ne+ee)*a,0,(ne+y)*a,E)),le.add(new go.PathSegment(go.PathSegment.Bezier,(ne+ee)*a,0,(ne-y)*a,E,(ne-ee)*a,0)),ne=.5,le.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,E,(ne+ee)*a,0,(ne+y)*a,E)),le.add(new go.PathSegment(go.PathSegment.Bezier,(ne+ee)*a,0,(ne-y)*a,E,(ne-ee)*a,0)),ne=.7,le.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,E,(ne+ee)*a,0,(ne+y)*a,E)),le.add(new go.PathSegment(go.PathSegment.Bezier,(ne+ee)*a,0,(ne-y)*a,E,(ne-ee)*a,0)),ne=.9,le.add(new go.PathSegment(go.PathSegment.Bezier,(ne+y*.5)*a,E,(ne+ee)*a,0,(ne+y)*a,E)),x}),go.Shape.defineFigureGenerator("ACvoltageSource",function(de,a,E){var x=new go.Geometry,y=he*.5,ee=.5,ne=.5,oe=.5,le=new go.PathFigure((ne-ee)*a,oe*E,!1);return x.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(oe-ee)*E,(ne-ee)*a,(oe-y)*E,(ne-y)*a,(oe-ee)*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,(ne+ee)*a,oe*E,(ne+y)*a,(oe-ee)*E,(ne+ee)*a,(oe-y)*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(oe+ee)*E,(ne+ee)*a,(oe+y)*E,(ne+y)*a,(oe+ee)*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,(ne-ee)*a,oe*E,(ne-y)*a,(oe+ee)*E,(ne-ee)*a,(oe+y)*E)),le.add(new go.PathSegment(go.PathSegment.Move,(ne-ee+.1)*a,oe*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,(ne+ee-.1)*a,oe*E,ne*a,(oe-ee)*E,ne*a,(oe+ee)*E)),x}),go.Shape.defineFigureGenerator("DCvoltageSource",function(de,a,E){var x=new go.Geometry,y=new go.PathFigure(0,.75*E,!1);return x.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)),x}),go.Shape.defineFigureGenerator("Diode",function(de,a,E){var x=new go.Geometry,y=new go.PathFigure(a,0,!1);return x.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)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.5,.75),x}),go.Shape.defineFigureGenerator("Wifi",function(de,a,E){var x=new go.Geometry,y=a,ee=E;a=a*.38,E=E*.6;var ne=he*.8,oe=.8,le=0,ie=.5,Ce=(y-a)/2,ye=(ee-E)/2,Ge=new go.PathFigure(le*a+Ce,(ie+oe)*E+ye,!0);x.add(Ge),Ge.add(new go.PathSegment(go.PathSegment.Bezier,(le-oe)*a+Ce,ie*E+ye,(le-ne)*a+Ce,(ie+oe)*E+ye,(le-oe)*a+Ce,(ie+ne)*E+ye)),Ge.add(new go.PathSegment(go.PathSegment.Bezier,le*a+Ce,(ie-oe)*E+ye,(le-oe)*a+Ce,(ie-ne)*E+ye,(le-ne)*a+Ce,(ie-oe)*E+ye)),Ge.add(new go.PathSegment(go.PathSegment.Bezier,(le-oe+ne*.5)*a+Ce,ie*E+ye,le*a+Ce,(ie-oe)*E+ye,(le-oe+ne*.5)*a+Ce,(ie-ne)*E+ye)),Ge.add(new go.PathSegment(go.PathSegment.Bezier,le*a+Ce,(ie+oe)*E+ye,(le-oe+ne*.5)*a+Ce,(ie+ne)*E+ye,le*a+Ce,(ie+oe)*E+ye).close()),ne=he*.4,oe=.4,le=.2,ie=.5;var Re=new go.PathFigure(le*a+Ce,(ie+oe)*E+ye,!0);x.add(Re),Re.add(new go.PathSegment(go.PathSegment.Bezier,(le-oe)*a+Ce,ie*E+ye,(le-ne)*a+Ce,(ie+oe)*E+ye,(le-oe)*a+Ce,(ie+ne)*E+ye)),Re.add(new go.PathSegment(go.PathSegment.Bezier,le*a+Ce,(ie-oe)*E+ye,(le-oe)*a+Ce,(ie-ne)*E+ye,(le-ne)*a+Ce,(ie-oe)*E+ye)),Re.add(new go.PathSegment(go.PathSegment.Bezier,(le-oe+ne*.5)*a+Ce,ie*E+ye,le*a+Ce,(ie-oe)*E+ye,(le-oe+ne*.5)*a+Ce,(ie-ne)*E+ye)),Re.add(new go.PathSegment(go.PathSegment.Bezier,le*a+Ce,(ie+oe)*E+ye,(le-oe+ne*.5)*a+Ce,(ie+ne)*E+ye,le*a+Ce,(ie+oe)*E+ye).close()),ne=he*.2,oe=.2,le=.5,ie=.5;var St=new go.PathFigure((le-oe)*a+Ce,ie*E+ye,!0);x.add(St),St.add(new go.PathSegment(go.PathSegment.Bezier,le*a+Ce,(ie-oe)*E+ye,(le-oe)*a+Ce,(ie-ne)*E+ye,(le-ne)*a+Ce,(ie-oe)*E+ye)),St.add(new go.PathSegment(go.PathSegment.Bezier,(le+oe)*a+Ce,ie*E+ye,(le+ne)*a+Ce,(ie-oe)*E+ye,(le+oe)*a+Ce,(ie-ne)*E+ye)),St.add(new go.PathSegment(go.PathSegment.Bezier,le*a+Ce,(ie+oe)*E+ye,(le+oe)*a+Ce,(ie+ne)*E+ye,(le+ne)*a+Ce,(ie+oe)*E+ye)),St.add(new go.PathSegment(go.PathSegment.Bezier,(le-oe)*a+Ce,ie*E+ye,(le-ne)*a+Ce,(ie+oe)*E+ye,(le-oe)*a+Ce,(ie+ne)*E+ye)),ne=he*.4,oe=.4,le=.8,ie=.5;var ht=new go.PathFigure(le*a+Ce,(ie-oe)*E+ye,!0);x.add(ht),ht.add(new go.PathSegment(go.PathSegment.Bezier,(le+oe)*a+Ce,ie*E+ye,(le+ne)*a+Ce,(ie-oe)*E+ye,(le+oe)*a+Ce,(ie-ne)*E+ye)),ht.add(new go.PathSegment(go.PathSegment.Bezier,le*a+Ce,(ie+oe)*E+ye,(le+oe)*a+Ce,(ie+ne)*E+ye,(le+ne)*a+Ce,(ie+oe)*E+ye)),ht.add(new go.PathSegment(go.PathSegment.Bezier,(le+oe-ne*.5)*a+Ce,ie*E+ye,le*a+Ce,(ie+oe)*E+ye,(le+oe-ne*.5)*a+Ce,(ie+ne)*E+ye)),ht.add(new go.PathSegment(go.PathSegment.Bezier,le*a+Ce,(ie-oe)*E+ye,(le+oe-ne*.5)*a+Ce,(ie-ne)*E+ye,le*a+Ce,(ie-oe)*E+ye).close()),ne=he*.8,oe=.8,le=1,ie=.5;var pt=new go.PathFigure(le*a+Ce,(ie-oe)*E+ye,!0);return x.add(pt),pt.add(new go.PathSegment(go.PathSegment.Bezier,(le+oe)*a+Ce,ie*E+ye,(le+ne)*a+Ce,(ie-oe)*E+ye,(le+oe)*a+Ce,(ie-ne)*E+ye)),pt.add(new go.PathSegment(go.PathSegment.Bezier,le*a+Ce,(ie+oe)*E+ye,(le+oe)*a+Ce,(ie+ne)*E+ye,(le+ne)*a+Ce,(ie+oe)*E+ye)),pt.add(new go.PathSegment(go.PathSegment.Bezier,(le+oe-ne*.5)*a+Ce,ie*E+ye,le*a+Ce,(ie+oe)*E+ye,(le+oe-ne*.5)*a+Ce,(ie+ne)*E+ye)),pt.add(new go.PathSegment(go.PathSegment.Bezier,le*a+Ce,(ie-oe)*E+ye,(le+oe-ne*.5)*a+Ce,(ie-ne)*E+ye,le*a+Ce,(ie-oe)*E+ye).close()),x}),go.Shape.defineFigureGenerator("Email",function(de,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);x.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 x.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)),x}),go.Shape.defineFigureGenerator("Ethernet",function(de,a,E){var x=new go.Geometry,y=new go.PathFigure(.35*a,0,!0);x.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);x.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);x.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 oe=new go.PathFigure(0,.5*E,!1);return x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),oe.add(new go.PathSegment(go.PathSegment.Move,.5*a,.5*E)),oe.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*E)),oe.add(new go.PathSegment(go.PathSegment.Move,.75*a,.5*E)),oe.add(new go.PathSegment(go.PathSegment.Line,.75*a,.6*E)),oe.add(new go.PathSegment(go.PathSegment.Move,.25*a,.5*E)),oe.add(new go.PathSegment(go.PathSegment.Line,.25*a,.6*E)),x}),go.Shape.defineFigureGenerator("Power",function(de,a,E){var x=new go.Geometry,y=he*.4,ee=.4,ne=.5,oe=.5,le=b(),ie=b(),Ce=b(),ye=b();Te(ne,oe-ee,ne+y,oe-ee,ne+ee,oe-y,ne+ee,oe,.5,le,le,ie,Ce,ye);var Ge=re(ie.x,ie.y),Re=new go.PathFigure(ie.x*a,ie.y*E,!0);x.add(Re),Re.add(new go.PathSegment(go.PathSegment.Bezier,(ne+ee)*a,oe*E,Ce.x*a,Ce.y*E,ye.x*a,ye.y*E)),Re.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(oe+ee)*E,(ne+ee)*a,(oe+y)*E,(ne+y)*a,(oe+ee)*E)),Re.add(new go.PathSegment(go.PathSegment.Bezier,(ne-ee)*a,oe*E,(ne-y)*a,(oe+ee)*E,(ne-ee)*a,(oe+y)*E)),Te(ne-ee,oe,ne-ee,oe-y,ne-y,oe-ee,ne,oe-ee,.5,Ce,ye,ie,le,le),Re.add(new go.PathSegment(go.PathSegment.Bezier,ie.x*a,ie.y*E,Ce.x*a,Ce.y*E,ye.x*a,ye.y*E)),y=he*.3,ee=.3,Te(ne-ee,oe,ne-ee,oe-y,ne-y,oe-ee,ne,oe-ee,.5,Ce,ye,ie,le,le),Re.add(new go.PathSegment(go.PathSegment.Line,ie.x*a,ie.y*E)),Re.add(new go.PathSegment(go.PathSegment.Bezier,(ne-ee)*a,oe*E,ye.x*a,ye.y*E,Ce.x*a,Ce.y*E)),Re.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(oe+ee)*E,(ne-ee)*a,(oe+y)*E,(ne-y)*a,(oe+ee)*E)),Re.add(new go.PathSegment(go.PathSegment.Bezier,(ne+ee)*a,oe*E,(ne+y)*a,(oe+ee)*E,(ne+ee)*a,(oe+y)*E)),Te(ne,oe-ee,ne+y,oe-ee,ne+ee,oe-y,ne+ee,oe,.5,le,le,ie,Ce,ye),Re.add(new go.PathSegment(go.PathSegment.Bezier,ie.x*a,ie.y*E,ye.x*a,ye.y*E,Ce.x*a,Ce.y*E).close());var Re=new go.PathFigure(.45*a,0,!0);return x.add(Re),Re.add(new go.PathSegment(go.PathSegment.Line,.45*a,.5*E)),Re.add(new go.PathSegment(go.PathSegment.Line,.55*a,.5*E)),Re.add(new go.PathSegment(go.PathSegment.Line,.55*a,0).close()),Be(le),Be(ie),Be(Ce),Be(ye),Be(Ge),x.spot1=new go.Spot(.25,.45),x.spot2=new go.Spot(.75,.8),x}),go.Shape.defineFigureGenerator("Fallout",function(de,a,E){var x=new go.Geometry,y=new go.PathFigure(0,E/2,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,180,360,a/2,E/2,a/2,E/2));function ee(ne,oe,le){ne.add(new go.PathSegment(go.PathSegment.Move,(.3+oe)*a,(.8+le)*E)),ne.add(new go.PathSegment(go.PathSegment.Line,(.5+oe)*a,(.5+le)*E)),ne.add(new go.PathSegment(go.PathSegment.Line,(.1+oe)*a,(.5+le)*E)),ne.add(new go.PathSegment(go.PathSegment.Line,(.3+oe)*a,(.8+le)*E).close())}return ee(y,0,0),ee(y,.4,0),ee(y,.2,-.3),x}),go.Shape.defineFigureGenerator("IrritationHazard",function(de,a,E){var x=new go.Geometry,y=new go.PathFigure(.2*a,0,!0);return x.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()),x.spot1=new go.Spot(.3,.3),x.spot2=new go.Spot(.7,.7),x}),go.Shape.defineFigureGenerator("ElectricalHazard",function(de,a,E){var x=new go.Geometry,y=new go.PathFigure(.37*a,0,!0);return x.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()),x}),go.Shape.defineFigureGenerator("FireHazard",function(de,a,E){var x=new go.Geometry,y=new go.PathFigure(.1*a,E,!0);return x.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()),x.spot1=new go.Spot(.07,.445),x.spot2=new go.Spot(.884,.958),x}),go.Shape.defineFigureGenerator("BpmnActivityLoop",function(de,a,E){var x=new go.Geometry,y=.5,ee=0,ne=0,oe=y*he,le=.4*Math.SQRT2/2+.5,ie=.5-.5*Math.SQRT2/2,Ce=1,ye=.5,Ge=.5,Re=0,St=new go.PathFigure(le*a,(1-ie)*E,!1);return x.add(St),St.add(new go.PathSegment(go.PathSegment.Bezier,Ce*a,ye*E,Ce*a,.7*E,Ce*a,ye*E)),St.add(new go.PathSegment(go.PathSegment.Bezier,(Ge+ee)*a,(Re+ee)*E,(.5+y+ee)*a,(.5-oe+ee)*E,(.5+oe+ee)*a,(.5-y+ee)*E)),St.add(new go.PathSegment(go.PathSegment.Bezier,(.5-y+ee)*a,(.5+ne)*E,(.5-oe+ee)*a,(.5-y+ne)*E,(.5-y+ee)*a,(.5-oe+ne)*E)),St.add(new go.PathSegment(go.PathSegment.Bezier,(.35+ee)*a,.9*E,(.5-y+ee)*a,(.5+oe+ne)*E,(.5-oe+ee)*a,.9*E)),St.add(new go.PathSegment(go.PathSegment.Move,(.25+ee)*a,.8*E)),St.add(new go.PathSegment(go.PathSegment.Line,(.35+ee)*a,.9*E)),St.add(new go.PathSegment(go.PathSegment.Line,(.2+ee)*a,.95*E)),x}),go.Shape.defineFigureGenerator("BpmnActivityParallel",function(de,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!1);return x.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)),x}),go.Shape.defineFigureGenerator("BpmnActivitySequential",function(de,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!1);return x.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)),x}),go.Shape.defineFigureGenerator("BpmnActivityAdHoc",function(de,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!1);x.add(y);var ee=new go.PathFigure(a,E,!1);x.add(ee);var ne=new go.PathFigure(0,.5*E,!1);return x.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)),x}),go.Shape.defineFigureGenerator("BpmnActivityCompensation",function(de,a,E){var x=new go.Geometry,y=new go.PathFigure(0,.5*E,!0);return x.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()),x}),go.Shape.defineFigureGenerator("BpmnTaskMessage",function(de,a,E){var x=new go.Geometry,y=new go.PathFigure(0,.2*E,!0);x.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 x.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)),x}),go.Shape.defineFigureGenerator("BpmnTaskScript",function(de,a,E){var x=new go.Geometry,y=new go.PathFigure(.7*a,E,!0);x.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 x.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)),x}),go.Shape.defineFigureGenerator("BpmnTaskUser",function(de,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!1);x.add(y);var ee=new go.PathFigure(.335*a,(1-.555)*E,!0);x.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,oe=.5,le=ne,ie=Math.PI/4,Ce=4*(1-Math.cos(ie))/(3*Math.sin(ie)),ye=Ce*.5,Ge=ne,Re=ne,St=Ce*Ge,ht=Ce*Re;ee.add(new go.PathSegment(go.PathSegment.Bezier,(oe-Ge)*a,le*E,(oe-(St+Ge)/2)*a,(le+(Re+ht)/2)*E,(oe-Ge)*a,(le+ht)*E)),ee.add(new go.PathSegment(go.PathSegment.Bezier,oe*a,(le-Re)*E,(oe-Ge)*a,(le-ht)*E,(oe-St)*a,(le-Re)*E)),ee.add(new go.PathSegment(go.PathSegment.Bezier,(oe+Ge)*a,le*E,(oe+St)*a,(le-Re)*E,(oe+Ge)*a,(le-ht)*E)),ee.add(new go.PathSegment(go.PathSegment.Bezier,(1-.365)*a,(1-.595)*E,(oe+Ge)*a,(le+ht)*E,(oe+(St+Ge)/2)*a,(le+(Re+ht)/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 pt=new go.PathFigure(.2*a,E,!1);x.add(pt),pt.add(new go.PathSegment(go.PathSegment.Line,.2*a,.8*E));var Gn=new go.PathFigure(.8*a,E,!1);return x.add(Gn),Gn.add(new go.PathSegment(go.PathSegment.Line,.8*a,.8*E)),x}),go.Shape.defineFigureGenerator("BpmnEventConditional",function(de,a,E){var x=new go.Geometry,y=new go.PathFigure(.1*a,0,!0);x.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 x.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)),x}),go.Shape.defineFigureGenerator("BpmnEventError",function(de,a,E){var x=new go.Geometry,y=new go.PathFigure(0,E,!0);return x.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()),x}),go.Shape.defineFigureGenerator("BpmnEventEscalation",function(de,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!1);x.add(y);var ee=new go.PathFigure(a,E,!1);x.add(ee);var ne=new go.PathFigure(.1*a,E,!0);return x.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()),x}),go.Shape.defineFigureGenerator("Caution",function(de,a,E){var x=new go.Geometry,y=new go.PathFigure(.05*a,E,!0);x.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)),x}),go.Shape.defineFigureGenerator("Recycle",function(de,a,E){var x=new go.Geometry,y=new go.PathFigure(.45*a,.95*E,!1);x.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);x.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 x.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)),x}),go.Shape.defineFigureGenerator("BpmnEventTimer",function(de,a,E){var x=new go.Geometry,y=.5,ee=he*.5,ne=new go.PathFigure(a,y*E,!0);x.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 oe=new go.PathFigure(y*a,0,!1);return x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,y*a,.15*E)),oe.add(new go.PathSegment(go.PathSegment.Move,y*a,E)),oe.add(new go.PathSegment(go.PathSegment.Line,y*a,.85*E)),oe.add(new go.PathSegment(go.PathSegment.Move,0,y*E)),oe.add(new go.PathSegment(go.PathSegment.Line,.15*a,y*E)),oe.add(new go.PathSegment(go.PathSegment.Move,a,y*E)),oe.add(new go.PathSegment(go.PathSegment.Line,.85*a,y*E)),oe.add(new go.PathSegment(go.PathSegment.Move,y*a,y*E)),oe.add(new go.PathSegment(go.PathSegment.Line,.58*a,.1*E)),oe.add(new go.PathSegment(go.PathSegment.Move,y*a,y*E)),oe.add(new go.PathSegment(go.PathSegment.Line,.78*a,.54*E)),x}),go.Shape.defineFigureGenerator("Package",function(de,a,E){var x=new go.Geometry,y=new go.PathFigure(0,.15*E,!0);x.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 x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,0,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.6*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.65*a,.15*E).close()),x.spot1=new go.Spot(0,.1),x.spot2=new go.Spot(1,1),x}),go.Shape.defineFigureGenerator("Class",function(de,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);x.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);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,.2*E).close());var ne=new go.PathFigure(0,.5*E,!1);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,a,.5*E).close()),x}),go.Shape.defineFigureGenerator("Component",function(de,a,E){var x=new go.Geometry,y=new go.PathFigure(a,E,!0);x.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);x.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 x.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()),x}),go.Shape.defineFigureGenerator("Boat Shipment",function(de,a,E){var x=new go.Geometry,y=new go.PathFigure(.15*a,.6*E,!0);x.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 x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*E)),x}),go.Shape.defineFigureGenerator("Customer/Supplier",function(de,a,E){var x=new go.Geometry,y=new go.PathFigure(a,E,!0);return x.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()),x}),go.Shape.defineFigureGenerator("Workcell",function(de,a,E){var x=new go.Geometry,y=new go.PathFigure(0,E,!0);return x.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()),x}),go.Shape.defineFigureGenerator("Supermarket",function(de,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!1);return x.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)),x}),go.Shape.defineFigureGenerator("TruckShipment",function(de,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);x.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);x.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,oe=he*.1,le=.2,ie=.9,Ce=new go.PathFigure((le-ne)*a,ie*E,!0);x.add(Ce),Ce.add(new go.PathSegment(go.PathSegment.Bezier,le*a,(ie-ne)*E,(le-ne)*a,(ie-oe)*E,(le-oe)*a,(ie-ne)*E)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,(le+ne)*a,ie*E,(le+oe)*a,(ie-ne)*E,(le+ne)*a,(ie-oe)*E)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,le*a,(ie+ne)*E,(le+ne)*a,(ie+oe)*E,(le+oe)*a,(ie+ne)*E)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,(le-ne)*a,ie*E,(le-oe)*a,(ie+ne)*E,(le-ne)*a,(ie+oe)*E).close()),ne=.1,oe=he*.1,le=.8,ie=.9;var ye=new go.PathFigure((le-ne)*a,ie*E,!0);return x.add(ye),ye.add(new go.PathSegment(go.PathSegment.Bezier,le*a,(ie-ne)*E,(le-ne)*a,(ie-oe)*E,(le-oe)*a,(ie-ne)*E)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(le+ne)*a,ie*E,(le+oe)*a,(ie-ne)*E,(le+ne)*a,(ie-oe)*E)),ye.add(new go.PathSegment(go.PathSegment.Bezier,le*a,(ie+ne)*E,(le+ne)*a,(ie+oe)*E,(le+oe)*a,(ie+ne)*E)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(le-ne)*a,ie*E,(le-oe)*a,(ie+ne)*E,(le-ne)*a,(ie+oe)*E).close()),x}),go.Shape.defineFigureGenerator("KanbanPost",function(de,a,E){var x=new go.Geometry,y=new go.PathFigure(.2*a,0,!1);return x.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)),x}),go.Shape.defineFigureGenerator("Forklift",function(de,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);x.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);x.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);x.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 oe=new go.PathFigure(.5*a,.7*E,!1);x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,a,.7*E));var le=.1,ie=he*.1,Ce=.1,ye=.9,Ge=new go.PathFigure((Ce-le)*a,ye*E,!0);x.add(Ge),Ge.add(new go.PathSegment(go.PathSegment.Bezier,Ce*a,(ye-le)*E,(Ce-le)*a,(ye-ie)*E,(Ce-ie)*a,(ye-le)*E)),Ge.add(new go.PathSegment(go.PathSegment.Bezier,(Ce+le)*a,ye*E,(Ce+ie)*a,(ye-le)*E,(Ce+le)*a,(ye-ie)*E)),Ge.add(new go.PathSegment(go.PathSegment.Bezier,Ce*a,(ye+le)*E,(Ce+le)*a,(ye+ie)*E,(Ce+ie)*a,(ye+le)*E)),Ge.add(new go.PathSegment(go.PathSegment.Bezier,(Ce-le)*a,ye*E,(Ce-ie)*a,(ye+le)*E,(Ce-le)*a,(ye+ie)*E)),le=.1,ie=he*.1,Ce=.4,ye=.9;var Re=new go.PathFigure((Ce-le)*a,ye*E,!0);return x.add(Re),Re.add(new go.PathSegment(go.PathSegment.Bezier,Ce*a,(ye-le)*E,(Ce-le)*a,(ye-ie)*E,(Ce-ie)*a,(ye-le)*E)),Re.add(new go.PathSegment(go.PathSegment.Bezier,(Ce+le)*a,ye*E,(Ce+ie)*a,(ye-le)*E,(Ce+le)*a,(ye-ie)*E)),Re.add(new go.PathSegment(go.PathSegment.Bezier,Ce*a,(ye+le)*E,(Ce+le)*a,(ye+ie)*E,(Ce+ie)*a,(ye+le)*E)),Re.add(new go.PathSegment(go.PathSegment.Bezier,(Ce-le)*a,ye*E,(Ce-ie)*a,(ye+le)*E,(Ce-le)*a,(ye+ie)*E)),x}),go.Shape.defineFigureGenerator("RailShipment",function(de,a,E){var x=new go.Geometry,y=new go.PathFigure(.1*a,.4*E,!0);x.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);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.55*a,.7*E));var ne=new go.PathFigure(.55*a,.4*E,!0);x.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 Ce=.05,ye=he*.05,Ge=.175,Re=.95,oe=new go.PathFigure((Ge-Ce)*a,Re*E,!0);x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,Ge*a,(Re-Ce)*E,(Ge-Ce)*a,(Re-ye)*E,(Ge-ye)*a,(Re-Ce)*E)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(Ge+Ce)*a,Re*E,(Ge+ye)*a,(Re-Ce)*E,(Ge+Ce)*a,(Re-ye)*E)),oe.add(new go.PathSegment(go.PathSegment.Bezier,Ge*a,(Re+Ce)*E,(Ge+Ce)*a,(Re+ye)*E,(Ge+ye)*a,(Re+Ce)*E)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(Ge-Ce)*a,Re*E,(Ge-ye)*a,(Re+Ce)*E,(Ge-Ce)*a,(Re+ye)*E));var Ce=.05,ye=he*.05,Ge=.375,Re=.95,le=new go.PathFigure((Ge-Ce)*a,Re*E,!0);x.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,Ge*a,(Re-Ce)*E,(Ge-Ce)*a,(Re-ye)*E,(Ge-ye)*a,(Re-Ce)*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,(Ge+Ce)*a,Re*E,(Ge+ye)*a,(Re-Ce)*E,(Ge+Ce)*a,(Re-ye)*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,Ge*a,(Re+Ce)*E,(Ge+Ce)*a,(Re+ye)*E,(Ge+ye)*a,(Re+Ce)*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,(Ge-Ce)*a,Re*E,(Ge-ye)*a,(Re+Ce)*E,(Ge-Ce)*a,(Re+ye)*E));var Ce=.05,ye=he*.05,Ge=.625,Re=.95,ie=new go.PathFigure((Ge-Ce)*a,Re*E,!0);x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,Ge*a,(Re-Ce)*E,(Ge-Ce)*a,(Re-ye)*E,(Ge-ye)*a,(Re-Ce)*E)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(Ge+Ce)*a,Re*E,(Ge+ye)*a,(Re-Ce)*E,(Ge+Ce)*a,(Re-ye)*E)),ie.add(new go.PathSegment(go.PathSegment.Bezier,Ge*a,(Re+Ce)*E,(Ge+Ce)*a,(Re+ye)*E,(Ge+ye)*a,(Re+Ce)*E)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(Ge-Ce)*a,Re*E,(Ge-ye)*a,(Re+Ce)*E,(Ge-Ce)*a,(Re+ye)*E));var Ce=.05,ye=he*.05,Ge=.825,Re=.95,St=new go.PathFigure((Ge-Ce)*a,Re*E,!0);x.add(St),St.add(new go.PathSegment(go.PathSegment.Bezier,Ge*a,(Re-Ce)*E,(Ge-Ce)*a,(Re-ye)*E,(Ge-ye)*a,(Re-Ce)*E)),St.add(new go.PathSegment(go.PathSegment.Bezier,(Ge+Ce)*a,Re*E,(Ge+ye)*a,(Re-Ce)*E,(Ge+Ce)*a,(Re-ye)*E)),St.add(new go.PathSegment(go.PathSegment.Bezier,Ge*a,(Re+Ce)*E,(Ge+Ce)*a,(Re+ye)*E,(Ge+ye)*a,(Re+Ce)*E)),St.add(new go.PathSegment(go.PathSegment.Bezier,(Ge-Ce)*a,Re*E,(Ge-ye)*a,(Re+Ce)*E,(Ge-Ce)*a,(Re+ye)*E).close());var ht=new go.PathFigure(0,E,!1);return x.add(ht),ht.add(new go.PathSegment(go.PathSegment.Line,a,E).close()),x}),go.Shape.defineFigureGenerator("Warehouse",function(de,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);x.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);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,.2*E).close());var ne=new go.PathFigure(.15*a,E,!0);x.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 oe=.05,le=he*.05,ie=.35,Ce=.775,ye=new go.PathFigure((ie-oe)*a,Ce*E,!0);return x.add(ye),ye.add(new go.PathSegment(go.PathSegment.Bezier,ie*a,(Ce-oe)*E,(ie-oe)*a,(Ce-le)*E,(ie-le)*a,(Ce-oe)*E)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(ie+oe)*a,Ce*E,(ie+le)*a,(Ce-oe)*E,(ie+oe)*a,(Ce-le)*E)),ye.add(new go.PathSegment(go.PathSegment.Bezier,ie*a,(Ce+oe)*E,(ie+oe)*a,(Ce+le)*E,(ie+le)*a,(Ce+oe)*E)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(ie-oe)*a,Ce*E,(ie-le)*a,(Ce+oe)*E,(ie-oe)*a,(Ce+le)*E).close()),x}),go.Shape.defineFigureGenerator("ControlCenter",function(de,a,E){var x=new go.Geometry,y=new go.PathFigure(0,E,!0);return x.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()),x}),go.Shape.defineFigureGenerator("Bluetooth",function(de,a,E){var x=new go.Geometry,y=new go.PathFigure(0,.75*E,!1);return x.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)),x}),go.Shape.defineFigureGenerator("Bookmark",function(de,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);return x.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)),x}),go.Shape.defineFigureGenerator("Bookmark",function(de,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);return x.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)),x}),go.Shape.defineFigureGenerator("Globe",function(de,a,E){var x=new go.Geometry,y=new go.PathFigure(.5*a,0,!1);return x.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)),x}),go.Shape.defineFigureGenerator("Wave",function(de,a,E){var x=new go.Geometry,y=new go.PathFigure(0,.25*E,!1);return x.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)),x}),go.Shape.defineFigureGenerator("Operator",function(de,a,E){var x=new go.Geometry,y=.3,ee=he*.3,ne=.5,oe=.7,le=new go.PathFigure((ne-y)*a,oe*E,!0);x.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(oe-y)*E,(ne-y)*a,(oe-ee)*E,(ne-ee)*a,(oe-y)*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,(ne+y)*a,oe*E,(ne+ee)*a,(oe-y)*E,(ne+y)*a,(oe-ee)*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(oe+y)*E,(ne+y)*a,(oe+ee)*E,(ne+ee)*a,(oe+y)*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,(ne-y)*a,oe*E,(ne-ee)*a,(oe+y)*E,(ne-y)*a,(oe+ee)*E));var ie=new go.PathFigure(0,.7*E,!1);return x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,a,.7*E,0,0,a,0)),x}),go.Shape.defineFigureGenerator("TripleFanBlades",function(de,a,E){var x=new go.Geometry,y=new go.PathFigure(.5*a,0,!0);return x.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)),x}),go.Shape.defineFigureGenerator("CentrifugalPump",function(de,a,E){var x=new go.Geometry,y=new go.PathFigure(a,0,!0);return x.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)),x}),go.Shape.defineFigureGenerator("Battery",function(de,a,E){var x=new go.Geometry,y=new go.PathFigure(0,E,!0);x.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 x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Move,0,.4*E)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.4*E)),x}),go.Shape.defineFigureGenerator("Delete",function(de,a,E){var x=new go.Geometry,y=.5,ee=he*.5,ne=.5,oe=.5,le=new go.PathFigure((ne-y)*a,oe*E,!0);x.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(oe-y)*E,(ne-y)*a,(oe-ee)*E,(ne-ee)*a,(oe-y)*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,(ne+y)*a,oe*E,(ne+ee)*a,(oe-y)*E,(ne+y)*a,(oe-ee)*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(oe+y)*E,(ne+y)*a,(oe+ee)*E,(ne+ee)*a,(oe+y)*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,(ne-y)*a,oe*E,(ne-ee)*a,(oe+y)*E,(ne-y)*a,(oe+ee)*E));var ie=new go.PathFigure(.15*a,.5*E,!1);return x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Line,.85*a,.5*E)),x}),go.Shape.defineFigureGenerator("Flag",function(de,a,E){var x=new go.Geometry,y=new go.PathFigure(0,.1*E,!0);return x.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()),x}),go.Shape.defineFigureGenerator("Help",function(de,a,E){var x=new go.Geometry,y=.5,ee=he*.5,ne=.5,oe=.5,le=new go.PathFigure((ne-y)*a,oe*E,!1);x.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(oe-y)*E,(ne-y)*a,(oe-ee)*E,(ne-ee)*a,(oe-y)*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,(ne+y)*a,oe*E,(ne+ee)*a,(oe-y)*E,(ne+y)*a,(oe-ee)*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(oe+y)*E,(ne+y)*a,(oe+ee)*E,(ne+ee)*a,(oe+y)*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,(ne-y)*a,oe*E,(ne-ee)*a,(oe+y)*E,(ne-y)*a,(oe+ee)*E).close()),y=.05,ee=he*.05,ne=.5,oe=.8;var ie=new go.PathFigure((ne-y)*a,oe*E,!1);return x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(oe-y)*E,(ne-y)*a,(oe-ee)*E,(ne-ee)*a,(oe-y)*E)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(ne+y)*a,oe*E,(ne+ee)*a,(oe-y)*E,(ne+y)*a,(oe-ee)*E)),ie.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(oe+y)*E,(ne+y)*a,(oe+ee)*E,(ne+ee)*a,(oe+y)*E)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(ne-y)*a,oe*E,(ne-ee)*a,(oe+y)*E,(ne-y)*a,(oe+ee)*E).close()),ie.add(new go.PathSegment(go.PathSegment.Move,.5*a,.7*E)),ie.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*E)),ie.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*E,.75*a,.475*E,.75*a,.225*E)),ie.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.35*E,.4*a,.2*E,.3*a,.25*E)),x}),go.Shape.defineFigureGenerator("Location",function(de,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(de,a,E){var x=new go.Geometry,y=new go.PathFigure(0,.5*E,!0);x.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 x.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)),x}),go.Shape.defineFigureGenerator("Unlocked",function(de,a,E){var x=new go.Geometry,y=new go.PathFigure(0,.5*E,!0);x.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 x.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)),x}),go.Shape.defineFigureGenerator("Gear",function(de,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(de,a,E){var x=new go.Geometry,y=new go.PathFigure(0,.5*E,!0);return x.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()),x}),go.Shape.defineFigureGenerator("Map",function(de,a,E){var x=new go.Geometry,y=new go.PathFigure(0,.2*E,!0);return x.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)),x}),go.Shape.defineFigureGenerator("Eject",function(de,a,E){var x=new go.Geometry,y=new go.PathFigure(0,E,!0);x.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 x.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()),x}),go.Shape.defineFigureGenerator("Pencil",function(de,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(de,a,E){var x=new go.Geometry,y=new go.PathFigure(a*1,E*1,!1);x.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);x.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);x.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 oe=new go.PathFigure(.678*a,.85*E,!1);x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,.678*a,.45*E)),oe.add(new go.PathSegment(go.PathSegment.Line,.874*a,.45*E)),oe.add(new go.PathSegment(go.PathSegment.Line,.874*a,.85*E).close());var le=new go.PathFigure(.5*a,.1*E,!1);return x.add(le),le.add(new go.PathSegment(go.PathSegment.Line,(.046+.15)*a,.3*E)),le.add(new go.PathSegment(go.PathSegment.Line,(1-(.046+.15))*a,.3*E).close()),x}),go.Shape.defineFigureGenerator("Staircase",function(de,a,E){var x=new go.Geometry,y=new go.PathFigure(0,E*1,!0);return x.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()),x}),go.Shape.defineFigureGenerator("5Bars",function(de,a,E){var x=new go.Geometry,y=new go.PathFigure(0,E*1,!0);x.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);x.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);x.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 oe=new go.PathFigure(a*.612,E,!0);x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,a*.612,E*(1-.184*3))),oe.add(new go.PathSegment(go.PathSegment.Line,a*.796,E*(1-.184*4))),oe.add(new go.PathSegment(go.PathSegment.Line,a*.796,E*1).close());var le=new go.PathFigure(a*.816,E,!0);return x.add(le),le.add(new go.PathSegment(go.PathSegment.Line,a*.816,E*(1-.184*4))),le.add(new go.PathSegment(go.PathSegment.Line,a*1,E*(1-.184*5))),le.add(new go.PathSegment(go.PathSegment.Line,a*1,E*1).close()),x}),go.Shape.defineFigureGenerator("PC",function(de,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);x.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);x.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);x.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 oe=new go.PathFigure(a*.055,.18*E,!0);x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,a*.245,E*.18)),oe.add(new go.PathSegment(go.PathSegment.Line,a*.245,E*.21)),oe.add(new go.PathSegment(go.PathSegment.Line,a*.055,E*.21).close());var le=new go.PathFigure(a*1,0,!0);return x.add(le),le.add(new go.PathSegment(go.PathSegment.Line,a*.4,0)),le.add(new go.PathSegment(go.PathSegment.Line,a*.4,E*.65)),le.add(new go.PathSegment(go.PathSegment.Line,a*1,E*.65).close()),x}),go.Shape.defineFigureGenerator("Plane",function(de,a,E){var x=new go.Geometry,y=new go.PathFigure(.55*a,E,!0);return x.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()),x}),go.Shape.defineFigureGenerator("Key",function(de,a,E){var x=new go.Geometry,y=new go.PathFigure(a*1,E*.5,!0);return x.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()),x}),go.Shape.defineFigureGenerator("FilmTape",function(de,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!1);x.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);x.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);x.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 oe=new go.PathFigure(a*(.11+.24133333*1+.028*1),E*.1,!1);x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*1),E*.1)),oe.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*1),E*.8)),oe.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*1),E*.8).close());var le=new go.PathFigure(a*(.11+.24133333*2+.028*2),E*.1,!1);return x.add(le),le.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*3+.028*2),E*.1)),le.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*3+.028*2),E*.8)),le.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*2),E*.8).close()),x}),go.Shape.defineFigureGenerator("FloppyDisk",function(de,a,E){var x=new go.Geometry,y=8,ee=y*he,ne=new go.PathFigure(y,0,!1);x.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 oe=new go.PathFigure(a*.83,0,!1);x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,a*.83,E*.3)),oe.add(new go.PathSegment(go.PathSegment.Line,a*.17,E*.3)),oe.add(new go.PathSegment(go.PathSegment.Line,a*.17,E*0).close());var le=new go.PathFigure(a*.83,E*1,!1);x.add(le),le.add(new go.PathSegment(go.PathSegment.Line,a*.83,E*.5)),le.add(new go.PathSegment(go.PathSegment.Line,a*.17,E*.5)),le.add(new go.PathSegment(go.PathSegment.Line,a*.17,E*1).close());var ie=new go.PathFigure(a*.78,E*.05,!1);return x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Line,a*.66,E*.05)),ie.add(new go.PathSegment(go.PathSegment.Line,a*.66,E*.25)),ie.add(new go.PathSegment(go.PathSegment.Line,a*.78,E*.25).close()),x}),go.Shape.defineFigureGenerator("SpeechBubble",function(de,a,E){var x=de?de.parameter1:NaN;(isNaN(x)||x<0)&&(x=15),x=Math.min(x,a/3),x=Math.min(x,E/3);var y=x*he,ee=E*.8,ne=new go.Geometry,oe=new go.PathFigure(x,0,!0);return ne.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,a-x,0)),oe.add(new go.PathSegment(go.PathSegment.Bezier,a,x,a-y,0,a,y)),oe.add(new go.PathSegment(go.PathSegment.Line,a,ee-x)),oe.add(new go.PathSegment(go.PathSegment.Bezier,a-x,ee,a,ee-y,a-y,ee)),oe.add(new go.PathSegment(go.PathSegment.Line,a*.7,ee)),oe.add(new go.PathSegment(go.PathSegment.Line,a*.7,E)),oe.add(new go.PathSegment(go.PathSegment.Line,a*.55,ee)),oe.add(new go.PathSegment(go.PathSegment.Line,x,ee)),oe.add(new go.PathSegment(go.PathSegment.Bezier,0,ee-x,y,ee,0,ee-y)),oe.add(new go.PathSegment(go.PathSegment.Line,0,x)),oe.add(new go.PathSegment(go.PathSegment.Bezier,x,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(de,a,E){var x=new go.Geometry,y=new go.PathFigure(a*0,E*.45,!0);x.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 x.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()),x}),go.Shape.defineFigureGenerator("Windows",function(de,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(de,a,E){var x=new go.Geometry,y=new go.PathFigure(a*0,E*.1,!1);x.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);x.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 x.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()),x}),go.Shape.defineFigureGenerator("Beaker",function(de,a,E){var x=new go.Geometry,y=15,ee=y*he,ne=new go.PathFigure(a*.62,E*.475,!0);return x.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?(x.spot1=new go.Spot(0,0,ee,ee),x.spot2=new go.Spot(1,1,-ee,-ee)):(x.spot1=go.Spot.TopLeft,x.spot2=go.Spot.BottomRight),x}),go.Shape.defineFigureGenerator("Download",function(de,a,E){var x=new go.Geometry,y=new go.PathFigure(a*0,E*1,!0);x.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 x.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()),x}),go.Shape.defineFigureGenerator("Bin",function(de,a,E){var x=new go.Geometry,y=new go.PathFigure(a*0,E*1,!0);x.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()),x}),go.Shape.defineFigureGenerator("Upload",function(de,a,E){var x=new go.Geometry,y=new go.PathFigure(a*0,E*1,!0);x.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 x.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()),x}),go.Shape.defineFigureGenerator("EmptyDrink",function(de,a,E){var x=new go.Geometry,y=new go.PathFigure(a*.15,E*0,!1);return x.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()),x}),go.Shape.defineFigureGenerator("Drink",function(de,a,E){var x=new go.Geometry,y=new go.PathFigure(a*.15,E*0,!1);x.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 x.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()),x}),go.Shape.defineFigureGenerator("4Arrows",function(de,a,E){var x=new go.Geometry,y=new go.PathFigure(a*.5,E*0,!0);return x.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()),x}),go.Shape.defineFigureGenerator("Connector","Ellipse"),go.Shape.defineFigureGenerator("Alternative","TriangleUp"),go.Shape.defineFigureGenerator("Merge","TriangleUp"),go.Shape.defineFigureGenerator("Decision","Diamond"),go.Shape.defineFigureGenerator("DataTransmissions","Hexagon"),go.Shape.defineFigureGenerator("Gate","Crescent"),go.Shape.defineFigureGenerator("Delay","HalfEllipse"),go.Shape.defineFigureGenerator("Input","Parallelogram1"),go.Shape.defineFigureGenerator("ManualLoop","ManualOperation"),go.Shape.defineFigureGenerator("ISOProcess","Chevron"),go.Shape.defineFigureGenerator("MessageToUser","SquareArrow"),go.Shape.defineFigureGenerator("MagneticData","Cylinder1"),go.Shape.defineFigureGenerator("DirectData","Cylinder4"),go.Shape.defineFigureGenerator("StoredData","DataStorage"),go.Shape.defineFigureGenerator("SequentialData","MagneticTape"),go.Shape.defineFigureGenerator("Subroutine","Procedure")},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 je={},Nt="5.0",re={},b=null,Be=!1,Je=!1,Te=null,Ze=!1,lt=null,he=null,Xe=0;Xe4?parseFloat(nt):5};je.setHTML5Codebase=function(nt,vt){he=nt,ln(nt,vt)},je.setJavaCodebase=je.setJavaCodebaseVersion=je.isCompiledInstalled=je.setPreCompiledScriptPath=je.setPreCompiledResourcePath=function(){},je.setHTML5CodebaseVersion=function(nt,vt){var Bt=parseFloat(nt);if(Bt!==NaN&&Bt<5){console.log("The GeoGebra HTML5 codebase version "+Bt+" is deprecated. Using version latest instead.");return}lt=nt,Tt(nt,vt)},je.getHTML5CodebaseVersion=function(){return de},je.getParameters=function(){return re},je.setFontsCSSURL=function(nt){ne=nt},je.setGiacJSURL=function(nt){},je.setJNLPFile=function(nt){Ie=nt},je.setJNLPBaseDir=function(nt){},je.inject=function(){function nt(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var vt="auto",Bt=re.id,Bn,nn=!1,on=0;on=5)return!0;var nt=je.getAppletObject();return nt&&typeof nt.recalculateEnvironments=="function"?(nt.recalculateEnvironments(),!0):!1},je.startAnimation=function(){var nt=je.getAppletObject();return nt&&typeof nt.startAnimation=="function"?(nt.startAnimation(),!0):!1},je.stopAnimation=function(){var nt=je.getAppletObject();return nt&&typeof nt.stopAnimation=="function"?(nt.stopAnimation(),!0):!1},je.getAppletObject=function(){var nt=re.id!==void 0?re.id:"ggbApplet";return window[nt]},je.resize=function(){};var St=function(nt,vt,Bt){var Bn=document.createElement("param");Bn.setAttribute("name",vt),Bn.setAttribute("value",Bt),nt.appendChild(Bn)},ht=function(nt){return nt&&nt!=="false"},pt=function(nt,vt,Bt){le(de)<=4.2&&(Bt=!0);var Bn=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==de||ggbHTML5LoadedCodebaseIsWebSimple&&!E)&&(Bn=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var nn=document.createElement("div");nn.classList.add("appletParameters","notranslate");var on=vt.width,De=vt.height;if(vt.disableAutoScale=vt.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():vt.disableAutoScale,vt.width!==void 0)if(le(de)<=4.4)ht(vt.showToolBar)&&(vt.height-=7),ht(vt.showAlgebraInput)&&(vt.height-=37),vt.width<605&&ht(vt.showToolBar)&&(vt.width=605,on=605);else{var Pe=100;(ht(vt.showToolBar)||ht(vt.showMenuBar))&&(vt.hasOwnProperty("customToolBar")&&(vt.customToolbar=vt.customToolBar),Pe=ht(vt.showMenuBar)?245:155),on=5?(vt.appletOnLoad=function(Vt){var kt=nt.querySelector(".ggb_preview");kt&&kt.parentNode.removeChild(kt),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(bt),window.GGBT_wsf_view&&$(window).trigger("resize"),Ft(Vt)},It||bt.appendChild(Ut)):nn.appendChild(Ut),bt.appendChild(nn),It||nt.appendChild(bt),setTimeout(function(){je.resize()},1)}else{var jt=document.createElement("div");jt.className="applet_scaler",jt.style.position="relative",jt.style.display="block",jt.appendChild(nn),nt.appendChild(jt),vt.appletOnLoad=function(Vt){je.resize(),Ft(Vt)}}function bn(Vt,kt){kt&&typeof kt.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(Vt,kt.appletOnLoad):renderGGBElement(Vt),fn("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",kt)}function Lt(Vt,kt){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:Vt,params:kt}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(rn){bn(rn.article,rn.params)}),html5AppletsToProcess=null)},le(de)<5&&(Vt.className+=" geogebraweb")):bn(Vt,kt)}if(Bn){scriptLoadStarted=!0;for(var Fe=0;Fe0?(He.remove(),bt.attr("id","fullscreencontent").show(),jQuery(Ft).append(bt),window.dispatchEvent(new Event("resize"))):pt(He,vt,!1),window.GGBT_wsf_view.launchFullScreen(Ft)}else Qe=Bn,pt(nt,vt,!1);if(!window.GGBT_wsf_view)for(De=0;Dent/4*3&&(He=nt/4*3),Ft=He/5.8,Pe.setAttribute("src",y),Pe.setAttribute("width",He),Pe.setAttribute("height",Ft);var bt=(nt-He)/2,It=(vt-Ft)/2;Pe.style.left=bt+"px",Pe.style.top=It+"px",nn.appendChild(Pe)}}return nn.appendChild(De),nn},In=function(nt){return nt=nt.toLowerCase(),nt==="html5"||nt==="screenshot"?nt:"html5"},ct=["web","webSimple","web3d","tablet","tablet3d","phone"],Tt=function(nt,vt){if(de=nt,vt){ln(de,!0);return}var Bt=!Be;if(Bt){var Bn=le(de);!isNaN(Bn)&&Bn<4.4&&(Bt=!1)}var nn,on;window.location.protocol.substr(0,4)==="http"?nn=window.location.protocol:nn="http:";var De=de.indexOf("//");De>0?on=de:De===0?on=nn+de:on="https://www.geogebra.org/apps/5.2.814.0/";for(var Pe in ct)if(de.slice(ct[Pe].length*-1)===ct[Pe]||de.slice((ct[Pe].length+1)*-1)===ct[Pe]+"/"){ln(on,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&Bt&&!b.is3D&&!b.AV&&!b.SV&&!b.CV&&!b.EV2&&!b.CP&&!b.PC&&!b.DA&&!b.FI&&!b.PV&&!ht(re.showToolBar)&&!ht(re.showMenuBar)&&!ht(re.showAlgebraInput)&&!ht(re.enableRightClick)&&(!re.appName||re.appName=="classic")?on+="webSimple/":on+="web3d/",ln(on,!1)},ln=function(nt,vt){if(nt.requirejs){tt=nt;return}nt.slice(-1)!=="/"&&(nt+="/"),tt=nt,vt===null&&(vt=nt.indexOf("http")===-1),ot=vt,a="web.nocache.js",E=!1;var Bt=tt.split("/");Bt.length>1&&(!vt&&Bt[Bt.length-2]==="webSimple"?(a="webSimple.nocache.js",E=!0):ct.indexOf(Bt[Bt.length-2])>=0&&(a=Bt[Bt.length-2]+".nocache.js")),Bt=nt.split("/"),de=Bt[Bt.length-3],de.substr(0,4)==="test"?de=de.substr(4,1)+"."+de.substr(5,1):(de.substr(0,3)==="war"||de.substr(0,4)==="beta")&&(de="5.0");var Bn=parseFloat(de);Bn!==NaN&&Bn<5&&nt.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+Bn+" is deprecated. Using version latest instead."),Tt("5.0",vt))},fn=function(nt,vt){window.console&&window.console.log&&(!vt||typeof vt.showLogging=="undefined"||vt.showLogging&&vt.showLogging!=="false")&&console.log(nt)};re.material_id!==void 0?ye(vn):vn();function vn(){var nt=Nt;lt!==null?nt=lt:parseFloat(nt)<5&&(nt="5.0"),Tt(nt,!1),he!==null&&ln(he,ot),Ze=!0}return je},GGBAppletUtils=function(){"use strict";function je(){return window.GGBT_wsf_edit!==void 0}function Nt(Ze,lt){lt!=1?(Ze.style.transformOrigin="0% 0% 0px",Ze.style.webkitTransformOrigin="0% 0% 0px",Ze.style.transform="scale("+lt+","+lt+")",Ze.style.webkitTransform="scale("+lt+","+lt+")",Ze.style.maxWidth="initial",Ze.querySelector(".ggb_preview")!==null&&(Ze.querySelector(".ggb_preview").style.maxWidth="initial"),Ze.querySelectorAll(".ggb_preview img")[0]!==void 0&&(Ze.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),Ze.querySelectorAll(".ggb_preview img")[1]!==void 0&&(Ze.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(Ze.style.transform="none",Ze.style.webkitTransform="none")}function re(Ze,lt,he,Xe,Ke,Ie){var tt=null;if(Ie!=null&&Ie!="")for(var ot=Ze.parentNode;ot!=null;)if((" "+ot.className+" ").indexOf(" "+Ie+" ")>-1){tt=ot;break}else ot=ot.parentNode;var Qe=0,de=0,a=0,E=0,x=0,y=0,ee=0;if(tt)Qe=tt.offsetWidth,de=Math.max(Xe?tt.offsetWidth:0,tt.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(Qe=Math.min(window.innerWidth,document.documentElement.clientWidth),de=Math.min(window.innerHeight,document.documentElement.clientHeight),a=Qe):(Qe=window.innerWidth,de=window.innerHeight,a=window.innerWidth),Ze){var ne=Ze.getBoundingClientRect();ne.left>0&&ne.left<=Qe&&(Ke===void 0||!Ke)&&(document.dir==="rtl"?(x=Qe-ne.width-ne.left,y=a<=480?10:30):(y=ne.left,x=a<=480?10:30),E=y+x)}if(Ze&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var oe=Ze.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(E=40,ee=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(E=0,ee=40)}}return Ze&&((he===void 0||!he)&<>0&<+E1&&(Ie=!0)),lt&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(Ie=!0),!(Ze.hasOwnProperty("disableAutoScale")&&Ze.disableAutoScale))Ke=b(Ze,lt,Ie,he,Ze.scaleContainerClass);else return Xe;return Ie&&(!Ze.hasOwnProperty("scale")||Xe===1)?Ke:Math.min(Xe,Ke)}function Je(Ze){var lt=Math.min(window.innerWidth,document.documentElement.clientWidth),he=Math.min(window.innerHeight,document.documentElement.clientHeight),Xe=Ze.getBoundingClientRect(),Ke=(lt-Xe.width)/2,Ie=(he-Xe.height)/2;Ie<0&&(Ie=0),Ze.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(Ke<40?Ze.style.left="40px":Ze.style.left=Ke+"px",Ze.style.top=Ie+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(Ie<40?Ze.style.top="40px":Ze.style.top=Ie+"px",Ze.style.left=Ke+"px")}function Te(Ze,lt){var he=Ze.querySelector(".appletParameters");if(he){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(lt.id!==he.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(Ze)}if(he.parentElement&&/fullscreen/.test(he.parentElement.className))return;var Xe=Be(lt,Ze);je()&&he.setAttribute("data-param-scale",Xe);for(var Ke=null,Ie=0;Ie=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(je){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(je){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(je){var Nt=c[je];return Nt==null?null:Nt},r=d,webModule.__errFn=e}function B(){function je(Ze){var lt=Ze.lastIndexOf(rb);lt==-1&&(lt=Ze.length);var he=Ze.indexOf(sb);he==-1&&(he=Ze.length);var Xe=Ze.lastIndexOf(tb,Math.min(he,lt));return Xe>=O?Ze.substring(O,Xe+P):W}function Nt(Ze){if(!Ze.match(/^\w+:\/\//)){var lt=o.createElement(ub);lt.src=Ze+vb,Ze=je(lt.src)}return Ze}function re(){var Ze=__gwt_getMetaProperty(wb);return Ze!=null?Ze:W}function b(){for(var Ze=o.getElementsByTagName(_),lt=O;ltO?Ze[Ze.length-P].href:W}function Je(){var Ze=o.location;return Ze.href==Ze.protocol+zb+Ze.host+Ze.pathname+Ze.search+Ze.hash}var Te=re();return Te==W&&(Te=b()),Te==W&&(Te=Be()),Te==W&&Je()&&(Te=je(o.location.href)),Te=Nt(Te),Te}function C(je){return je.match(/^\//)||je.match(/^[a-zA-Z]+:\/\//)?je:webModule.__moduleBase+je}function D(){var je=[],Nt=O,re=[],b=[];function Be(Ze){var lt=b[Ze](),he=re[Ze];if(lt in he)return lt;var Xe=[];for(var Ke in he)Xe[he[Ke]]=Ke;throw r&&r(Ze,Xe,lt),null}if(__gwt_isKnownPropertyValue=function(Ze,lt){return lt in re[Ze]},webModule.__getPropMap=function(){var Ze={};for(var lt in re)re.hasOwnProperty(lt)&&(Ze[lt]=Be(lt));return Ze},webModule.__computePropValue=Be,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var Je;try{Je=Cb;var Te=Je.indexOf(Db);Te!=-1&&(Nt=parseInt(Je.substring(Te+P),$),Je=Je.substring(O,Te))}catch(Ze){}return webModule.__softPermutationId=Nt,C(Je+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(je,Nt,re){"use strict";re.d(Nt,{Ax:function(){return Te},Ds:function(){return Ze},KI:function(){return he},SI:function(){return Je},f1:function(){return Be}});var b=re(90524);function Be(Xe){let Ke=!0;if(Xe.length>0){for(let Ie=0;Ie{}})=>{const ot=()=>b.createElement("div",{className:lt.flexColumn},b.createElement("img",{className:lt.img,src:Ze}),b.createElement("span",{className:lt.content},"\u672A\u804C\u4E1A\u8BA4\u8BC1")),Qe=()=>b.createElement("div",{className:lt.flexColumn},b.createElement("img",{className:lt.img,src:Te}),b.createElement("span",{className:lt.content},"\u672A\u5B9E\u540D\u8BA4\u8BC1")),de=()=>Ie===3?b.createElement(b.Fragment,null,Qe(),ot()):Ie===2?ot():Qe();return b.createElement(Je.default,{centered:!0,keyboard:!1,closable:!1,destroyOnClose:!0,open:Ke,title:"\u56E0\u4E3A\u4EE5\u4E0B\u539F\u56E0\uFF0C\u60A8\u6682\u65F6\u4E0D\u80FD\u8FDB\u884C\u64CD\u4F5C",okText:"\u7ACB\u5373\u8BA4\u8BC1",cancelText:"\u53D6\u6D88",width:"600px",onOk:()=>{tt(),Be.history.push("/account/certification")},onCancel:()=>{tt()}},b.createElement("div",{className:lt.tilte},"\u8BF7\u5728\u5B8C\u6210\u6761\u4EF6\u540E\u91CD\u8BD5"),b.createElement("div",{className:lt.flexRow},de()))};var Xe=(0,Be.connect)(({paperlibrary:Ke,loading:Ie,globalSetting:tt})=>({paperlibrary:Ke,globalSetting:tt,loading:Ie.effects}))(he)},84236:function(je,Nt,re){"use strict";re.d(Nt,{t:function(){return ot}});var b=re(59301),Be=re(3113),Je={buttonFixed:"buttonFixed___vyq30",button:"button___hxmYv",buttonWrap:"buttonWrap___uK8dl"},Te=re(92310),Ze=re.n(Te),lt=Object.defineProperty,he=Object.getOwnPropertySymbols,Xe=Object.prototype.hasOwnProperty,Ke=Object.prototype.propertyIsEnumerable,Ie=(Qe,de,a)=>de in Qe?lt(Qe,de,{enumerable:!0,configurable:!0,writable:!0,value:a}):Qe[de]=a,tt=(Qe,de)=>{for(var a in de||(de={}))Xe.call(de,a)&&Ie(Qe,a,de[a]);if(he)for(var a of he(de))Ke.call(de,a)&&Ie(Qe,a,de[a]);return Qe};const ot=({cancelText:Qe="\u53D6\u6D88",okText:de="\u786E\u5B9A",loading:a=!1,hasOkBtn:E=!0,hasCancelBtn:x=!0,okButtonProps:y={},onCancel:ee=()=>{},onOk:ne=()=>{},className:oe=""})=>b.createElement("div",{className:Ze()(Je.buttonFixed,oe)},b.createElement("div",{className:Je.buttonWrap},x&&b.createElement(Be.ZP,{size:"middle",className:`${Je.button} mr20`,onClick:ee},Qe),E&&b.createElement(Be.ZP,tt({size:"middle",type:"primary",className:`${Je.button} mr20`,loading:a,onClick:ne},y),de)))},99638:function(je,Nt,re){"use strict";re.d(Nt,{Z:function(){return le}});var b=re(59301),Be=re(76560),Je=re(43418),Te=re(8591),Ze=re(92832),lt=re(24905),he=re(55480),Xe=re(18631),Ke=re(49661),Ie=re(3113),tt=re(87169),ot={bottom:"bottom___z0ujX",yes:"yes___hodnN",no:"no___hiPz5"},Qe=re(32637),de=re(59301);const a=({classroomList:ie,dispatch:Ce,user:ye})=>de.createElement(Je.default,{open:ie.actionTabs.key==="\u5230\u671F\u63D0\u793A",width:464,centered:!0,title:de.createElement("span",null,de.createElement(tt.Z,{style:{color:"#faad14",fontSize:"18px"}})," \u63D0\u793A"),onCancel:()=>{Ce({type:"classroomList/setActionTabs",payload:{key:""}})},footer:null},de.createElement("div",{style:{textAlign:"center",marginBottom:30}},de.createElement("div",{style:{marginBottom:20,textAlign:"left"}},"\u8BE5\u6559\u5B66\u8BFE\u5802\u7684\u8BD5\u7528\u5DF2\u5230\u671F\uFF0C\u76EE\u524D\u65E0\u6CD5\u652F\u6301",de.createElement("span",{style:{color:"#FF9D18"}},"\u8D85\u8FC750"),"\u4EBA\u7684\u6559\u5B66\u6D3B\u52A8\u3002\u5982\u6709\u4EFB\u4F55\u7591\u95EE\uFF0C\u8BF7\u968F\u65F6\u8054\u7CFB\u6211\u4EEC\u3002\u611F\u8C22\u60A8\u7684\u7406\u89E3\u4E0E\u652F\u6301\uFF01"),de.createElement("img",{style:{width:130,height:130},src:Qe})),de.createElement("div",{className:ot.bottom},de.createElement(Ie.ZP,{className:ot.yes,onClick:()=>{Ce({type:"classroomList/setActionTabs",payload:{key:""}})}},"\u6211\u77E5\u9053\u4E86")));var E=(0,Be.connect)(({classroomList:ie,user:Ce})=>({classroomList:ie,user:Ce}))(a),x=re(82093),y=re(59301),ee=(ie,Ce,ye)=>new Promise((Ge,Re)=>{var St=Gn=>{try{pt(ye.next(Gn))}catch(Tn){Re(Tn)}},ht=Gn=>{try{pt(ye.throw(Gn))}catch(Tn){Re(Tn)}},pt=Gn=>Gn.done?Ge(Gn.value):Promise.resolve(Gn.value).then(St,ht);pt((ye=ye.apply(ie,Ce)).next())}),ne=(ie=>(ie[ie.Professor=1]="Professor",ie[ie.AssistantProfessor=2]="AssistantProfessor",ie[ie.Student=3]="Student",ie))(ne||{});const oe=({visible:ie,user:Ce,account:ye,onCancel:Ge=()=>{},dispatch:Re})=>{const[St,ht]=(0,b.useState)(),[pt,Gn]=(0,b.useState)([]),[Tn,da]=(0,b.useState)(!1),[$n,_t]=(0,b.useState)(!1),[In,ct]=(0,b.useState)(),[Tt,ln]=(0,b.useState)(!1);(0,b.useEffect)(()=>{var vt,Bt;(vt=Ce==null?void 0:Ce.userInfo)!=null&&vt.identity&&Gn([((Bt=Ce==null?void 0:Ce.userInfo)==null?void 0:Bt.identity)==="student"?3:1])},[Ce]);const fn=vt=>{const Bt=()=>{window.location.href=(vt==null?void 0:vt.jump_url)||`/classrooms/${vt==null?void 0:vt.course_id}`};if(pt.includes(1)){Je.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:y.createElement("div",{className:"tc"},(vt==null?void 0:vt.message)||"\u7533\u8BF7\u5DF2\u63D0\u4EA4\uFF0C\u8BF7\u7B49\u5F85\u5BA1\u6838"),onOk:()=>{Bt()}});return}Bt()},vn=()=>ee(void 0,null,function*(){if(!St){Te.ZP.info("\u9080\u8BF7\u7801\u4E0D\u80FD\u4E3A\u7A7A");return}let vt=yield(0,x.ZP)("/api/courses/get_pro_info.json",{method:"get",params:{invite_code:St}});if(vt!=null&&vt.need_pro_auth&&!pt.includes(1)&&!pt.includes(2)){Re({type:"account/setActionTabs",payload:{key:"Account-ProfessionalAuth",code:St,checkedList:pt}}),nt();return}da(!0);const Bt=yield(0,he.cR)({invite_code:St,professor:pt.includes(1)?1:null,assistant_professor:pt.includes(2)?1:null,student:pt.includes(3)?1:null});if(da(!1),(Bt==null?void 0:Bt.status)===-4&&(Ge(),Re({type:"classroomList/setActionTabs",payload:{key:"\u5230\u671F\u63D0\u793A"}})),(Bt==null?void 0:Bt.status)===-12&&Te.ZP.warning(Bt==null?void 0:Bt.message),(Bt==null?void 0:Bt.status)===-2){if(nt(),Bt.message==="\u8BE5\u8BFE\u5802\u8981\u6C42\u6210\u5458\u5B8C\u6210\u5B9E\u540D\u8BA4\u8BC1"){_t(!0),ct(1);return}if(Bt.message==="\u8BE5\u8BFE\u5802\u8981\u6C42\u6210\u5458\u5B8C\u6210\u804C\u4E1A\u8BA4\u8BC1"){_t(!0),ct(2);return}if(Bt.message==="\u8BE5\u8BFE\u5802\u8981\u6C42\u6210\u5458\u5B8C\u6210\u5B9E\u540D\u548C\u804C\u4E1A\u8BA4\u8BC1"){_t(!0),ct(3);return}}if((Bt==null?void 0:Bt.status)===0){(0,Ke.L9)(["\u6559\u5B66\u8BFE\u5802","\u9996\u9875","\u52A0\u5165\u8BFE\u5802"]),nt(),Bt!=null&&Bt.course_id?fn(Bt):Te.ZP.success(Bt.message);return}}),nt=()=>ee(void 0,null,function*(){Ge()});return y.createElement(y.Fragment,null,y.createElement(Je.default,{centered:!0,keyboard:!1,closable:!1,title:"\u52A0\u5165\u8BFE\u5802",open:ie,confirmLoading:Tn,onOk:vn,onCancel:nt},y.createElement("div",{className:"tc"},y.createElement("div",null,y.createElement("span",null,"\u8BFE\u5802\u9080\u8BF7\u7801\uFF1A"),y.createElement(Ze.default,{placeholder:"\u8BF7\u8F93\u51655\u4F4D\u8BFE\u5802\u9080\u8BF7\u7801\u62166\u4F4D\u5206\u73ED\u9080\u8BF7\u7801",style:{width:270},value:St,onChange:vt=>{if(vt.target.value.length>=7){Te.ZP.info("\u8BF7\u8F93\u51655\u4F4D\u8BFE\u5802\u9080\u8BF7\u7801\u62166\u4F4D\u5206\u73ED\u9080\u8BF7\u7801\uFF01");return}ht(vt.target.value)}})),y.createElement("div",{className:"mt10 font14"},y.createElement("span",null,"\u8EAB\u4EFD\uFF1A"),y.createElement(lt.default.Group,{value:pt,onChange:vt=>Gn(vt)},y.createElement(lt.default,{value:1,disabled:pt.includes(2)},"\u6559\u5E08"),y.createElement(lt.default,{value:2,disabled:pt.includes(1)},"\u52A9\u6559"),y.createElement(lt.default,{value:3},"\u5B66\u751F/\u53C2\u8D5B\u8005"))))),y.createElement(E,null),y.createElement(Xe.Z,{visible:$n,onCancel:()=>_t(!1),occupationValue:In}))};var le=(0,Be.connect)(({user:ie,account:Ce})=>({user:ie,account:Ce}))(oe)},71546:function(je,Nt,re){"use strict";re.d(Nt,{Z:function(){return aa},g:function(){return We}});var b=re(59301),Be=re(76560),Je=re(44e3),Te=re(92832),Ze=re(43418),lt={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",logo:"logo___QnotM",menu:"menu___twLGR",dropDown:"dropDown___Cwaoa",line:"line___D1auu",subName:"subName___gql7K",name:"name___dR5V2",actived:"actived___ohMks","edu-menu":"edu-menu___iWLK0",newslight:"newslight___lSZjL",classromediv:"classromediv___knFRv",glow:"glow___gzrPH",spandiv:"spandiv___Gm_hg","header-iearning":"header-iearning___LZfyg",title:"title___Ozzjk",headerFixed:"headerFixed___QLwBd"},he=re(8591),Xe=re(95237),Ke=re(43604),Ie=re(20834),tt=re(38854),ot=re(5112),Qe=re(55480),de=re(49661),a=(Oe,it,Me)=>new Promise((ut,zt)=>{var Ga=Jt=>{try{Vn(Me.next(Jt))}catch(Hn){zt(Hn)}},ja=Jt=>{try{Vn(Me.throw(Jt))}catch(Hn){zt(Hn)}},Vn=Jt=>Jt.done?ut(Jt.value):Promise.resolve(Jt.value).then(Ga,ja);Vn((Me=Me.apply(Oe,it)).next())}),E=(Oe=>(Oe.Manager="manager",Oe.Developer="developer",Oe.Reporter="reporter",Oe))(E||{}),y=({visible:Oe,onCancel:it=()=>{}})=>{const[Me,ut]=(0,b.useState)(),[zt,Ga]=(0,b.useState)(),[ja,Vn]=(0,b.useState)(!1),Jt=()=>a(void 0,null,function*(){if(!Me){he.ZP.info("\u8BF7\u8F93\u5165\u5F00\u53D1\u9879\u76EE\u9080\u8BF7\u7801\uFF01");return}if(Me.length!==6){he.ZP.info("\u8BF7\u8F93\u51656\u4F4D\u9879\u76EE\u9080\u8BF7\u7801\uFF01");return}if(!zt){he.ZP.info("\u8BF7\u9009\u62E9\u4E00\u4E2A\u8EAB\u4EFD\uFF01");return}Vn(!0);const ba=yield(0,Qe.vm)({code:Me,role:zt});Vn(!1),Hn();const La={1:"\u60A8\u8F93\u5165\u7684\u9080\u8BF7\u7801\u9519\u8BEF",2:"\u60A8\u5DF2\u7ECF\u662F\u8BE5\u9879\u76EE\u6210\u5458",3:"\u8BF7\u9009\u62E9\u4E00\u4E2A\u89D2\u8272",4:"\u60A8\u7684\u7533\u8BF7\u5DF2\u63D0\u4EA4\uFF0C\u8BF7\u7B49\u5F85\u9879\u76EE\u7BA1\u7406\u5458\u5BA1\u6279",5:"\u60A8\u5DF2\u7ECF\u7533\u8BF7\u52A0\u5165\u8BE5\u9879\u76EE\u4E86\uFF0C\u8BF7\u8010\u5FC3\u7B49\u5F85",6:"\u60A8\u5DF2\u6210\u529F\u52A0\u5165\u9879\u76EE"};if(La[ba.status]){he.ZP.info(La[ba.status]);return}if(ba.status===0){zt==="reporter"?(he.ZP.success("\u60A8\u52A0\u5165\u9879\u76EE\u6210\u529F\uFF01"),(0,de.L9)(["\u5F00\u53D1\u9879\u76EE","\u52A0\u5165\u9879\u76EE\u6210\u529F"]),Be.history.push(`/projects/${ba==null?void 0:ba.project_id}`)):((0,de.L9)(["\u5F00\u53D1\u9879\u76EE","\u52A0\u5165\u9879\u76EE\u7B49\u5F85\u5BA1\u6279"]),he.ZP.success("\u60A8\u7684\u7533\u8BF7\u5DF2\u63D0\u4EA4\uFF0C\u8BF7\u7B49\u5F85\u9879\u76EE\u7BA1\u7406\u5458\u5BA1\u6279\uFF01"));return}}),Hn=()=>a(void 0,null,function*(){it()});return b.createElement(b.Fragment,null,b.createElement(Ze.default,{centered:!0,keyboard:!1,closable:!1,title:"\u52A0\u5165\u9879\u76EE",open:Oe,confirmLoading:ja,onOk:Jt,onCancel:Hn},b.createElement("div",{className:"tc"},b.createElement("div",null,b.createElement("span",null,"\u9879\u76EE\u9080\u8BF7\u7801\uFF1A"),b.createElement(Te.default,{placeholder:"\u8BF7\u8F93\u51656\u4F4D\u5F00\u53D1\u9879\u76EE\u9080\u8BF7\u7801",style:{width:270},value:Me,onChange:ba=>{if(ba.target.value.length>=7){he.ZP.info("\u8BF7\u8F93\u51656\u4F4D\u5F00\u53D1\u9879\u76EE\u9080\u8BF7\u7801\uFF01");return}ut(ba.target.value)}})),b.createElement("div",{className:"mt10 font14"},b.createElement("span",null,"\u8EAB\u4EFD\uFF1A"),b.createElement(ot.ZP.Group,{value:zt,onChange:ba=>Ga(ba.target.value)},b.createElement(ot.ZP,{value:"manager"},"\u7BA1\u7406\u4EBA\u5458"),b.createElement(ot.ZP,{value:"developer"},"\u5F00\u53D1\u4EBA\u5458"),b.createElement(ot.ZP,{value:"reporter"},"\u62A5\u544A\u4EBA\u5458"))))))},ee=re(99638),ne={flex_box_center:"flex_box_center___cltIf",flex_space_between:"flex_space_between___fKr_O",flex_box_vertical_center:"flex_box_vertical_center____QfiA",flex_box_center_end:"flex_box_center_end___ysqmH",flex_box_column:"flex_box_column___CfE8K",rightMenu:"rightMenu___ADTOX",joinMenu:"joinMenu___aRGsf",joinBoard:"joinBoard___AeUvr",joinCol:"joinCol___fV4uL",hidden:"hidden___TkCJZ",w140:"w140___Vx5lp",w100:"w100___yYRaC"},oe=re(23869),le=re(78241),ie=re(57809),Ce=re(86645),ye=Object.defineProperty,Ge=Object.defineProperties,Re=Object.getOwnPropertyDescriptors,St=Object.getOwnPropertySymbols,ht=Object.prototype.hasOwnProperty,pt=Object.prototype.propertyIsEnumerable,Gn=(Oe,it,Me)=>it in Oe?ye(Oe,it,{enumerable:!0,configurable:!0,writable:!0,value:Me}):Oe[it]=Me,Tn=(Oe,it)=>{for(var Me in it||(it={}))ht.call(it,Me)&&Gn(Oe,Me,it[Me]);if(St)for(var Me of St(it))pt.call(it,Me)&&Gn(Oe,Me,it[Me]);return Oe},da=(Oe,it)=>Ge(Oe,Re(it)),$n=(Oe,it,Me)=>new Promise((ut,zt)=>{var Ga=Jt=>{try{Vn(Me.next(Jt))}catch(Hn){zt(Hn)}},ja=Jt=>{try{Vn(Me.throw(Jt))}catch(Hn){zt(Hn)}},Vn=Jt=>Jt.done?ut(Jt.value):Promise.resolve(Jt.value).then(Ga,ja);Vn((Me=Me.apply(Oe,it)).next())});const _t=({globalSetting:Oe,dispatch:it,user:Me,info:ut,open:zt,onCancel:Ga=()=>{}})=>{var ja;const[Vn,Jt]=(0,b.useState)([]),[Hn,ba]=(0,b.useState)([]),[La,rr]=(0,b.useState)([]),[sa]=le.default.useForm(),[wt,ca]=(0,b.useState)(!1),[gr,Pr]=(0,b.useState)(!1),dr=(0,b.useRef)(null),Zn=(0,b.useRef)(1),[Rn,pn]=(0,b.useState)({keyword:"",source:"",status:"",page:1,limit:20});(0,b.useEffect)(()=>{zt&&Er()},[zt]);const Er=()=>$n(void 0,null,function*(){var Ka;const _r=ut;if(!(0,oe.o1)(it))return;const{user_school_id:Eo="",department_id:ai="",school_name:li="",department_name:Mi=""}=Me.userInfo||{},Gr=(Ka=_r==null?void 0:_r.graduation_years)==null?void 0:Ka.at(-1);ba([{id:Eo,name:li}]),yield to(Eo),sa.setFieldsValue({year:Gr,school_id:Eo,department_id:Number(ai),name:`${Gr}${li}${Mi}\u6BD5\u4E1A\u8BBE\u8BA1`})}),zr=Ka=>$n(void 0,null,function*(){const _r=yield(0,Ce.J3)(da(Tn({},Ka),{tab_module_type:"graduations"}));return _r!=null&&_r.un_purchased&&it({type:"globalSetting/setActionTabs",payload:{key:"\u91C7\u8D2D\u63D0\u793A"}}),_r.status===0&&Jt((_r==null?void 0:_r.graduation_years)||[]),_r}),uo=(Ka,_r=500)=>{Pr(!0),clearTimeout(dr.current),dr.current=setTimeout(()=>$n(void 0,null,function*(){Zn.current+=1;const Eo=Zn.current,ai=yield(0,Ce.NT)({keyword:Ka});ai.status===0&&Zn.current===Eo&&(ba((ai==null?void 0:ai.schools)||[]),Pr(!1))}),_r)},to=Ka=>$n(void 0,null,function*(){if(!Ka)return;const _r=yield(0,Ce.Ps)({page:1,limit:9999,id:Ka});_r.status===0&&rr((_r==null?void 0:_r.departments)||[])});return b.createElement(Ze.default,{centered:!0,keyboard:!1,destroyOnClose:!0,open:zt,title:"\u5F00\u542F\u65B0\u4E00\u5C4A\u6BD5\u4E1A\u8BBE\u8BA1",width:578,confirmLoading:wt,onCancel:Ga,onOk:()=>sa.submit()},b.createElement(le.default,{colon:!1,form:sa,initialValues:{},labelCol:{span:7},size:"large",wrapperCol:{span:17},onValuesChange:(Ka,_r)=>{Ka.school_id&&(to(_r.school_id),sa.setFieldValue("department_id",null))},onFinish:Ka=>$n(void 0,null,function*(){ca(!0);const _r=yield(0,Ce.Wz)(Ka);_r.status===0&&(he.ZP.success("\u521B\u5EFA\u6210\u529F"),sa.resetFields(),Ga(),(0,de.xg)(`/graduations/${_r==null?void 0:_r.identifier}/index`)),ca(!1)})},b.createElement(le.default.Item,{name:"year",label:"\u9009\u62E9\u5C4A\u522B",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u5C4A\u522B"}]},b.createElement(ie.default,{style:{width:344},size:"large",options:(ja=ut==null?void 0:ut.graduation_years)==null?void 0:ja.map(Ka=>({value:Ka,label:Ka}))})),b.createElement(le.default.Item,{name:"school_id",label:"\u5B66\u6821",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u5B66\u6821"}]},b.createElement(ie.default,{showSearch:!0,filterOption:!1,onSearch:Ka=>{uo(Ka)},loading:gr,size:"large",style:{width:344},options:Hn.map(Ka=>({value:Ka.id,label:Ka.name}))})),b.createElement(le.default.Item,{name:"department_id",label:"\u5B66\u9662",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u5B66\u9662"}]},b.createElement(ie.default,{showSearch:!0,optionFilterProp:"label",style:{width:344},size:"large",options:La.map(Ka=>({value:Ka.id,label:Ka.name}))})),b.createElement(le.default.Item,{name:"name",label:"\u6BD5\u4E1A\u8BBE\u8BA1\u540D\u79F0",style:{marginBottom:0},rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6BD5\u4E1A\u8BBE\u8BA1\u540D\u79F0"},{max:60,message:"\u8F93\u5165\u8D85\u9650\uFF0C\u8BF7\u7F29\u51CF\u5B57\u7B26\u6570"},{type:"string",whitespace:!0,message:"\u8BF7\u8F93\u5165\u6BD5\u4E1A\u8BBE\u8BA1\u540D\u79F0"}]},b.createElement(Te.default,{showCount:!0,style:{width:344},maxLength:60}))))};var In=(0,Be.connect)(({user:Oe,globalSetting:it,loading:Me})=>({user:Oe,globalSetting:it,loading:Me}))(_t),ct=re(82093),Tt=Object.defineProperty,ln=Object.getOwnPropertySymbols,fn=Object.prototype.hasOwnProperty,vn=Object.prototype.propertyIsEnumerable,nt=(Oe,it,Me)=>it in Oe?Tt(Oe,it,{enumerable:!0,configurable:!0,writable:!0,value:Me}):Oe[it]=Me,vt=(Oe,it)=>{for(var Me in it||(it={}))fn.call(it,Me)&&nt(Oe,Me,it[Me]);if(ln)for(var Me of ln(it))vn.call(it,Me)&&nt(Oe,Me,it[Me]);return Oe},Bt=(Oe,it,Me)=>new Promise((ut,zt)=>{var Ga=Jt=>{try{Vn(Me.next(Jt))}catch(Hn){zt(Hn)}},ja=Jt=>{try{Vn(Me.throw(Jt))}catch(Hn){zt(Hn)}},Vn=Jt=>Jt.done?ut(Jt.value):Promise.resolve(Jt.value).then(Ga,ja);Vn((Me=Me.apply(Oe,it)).next())});const Bn=({globalSetting:Oe,dispatch:it,user:Me,open:ut,onCancel:zt=()=>{}})=>{const[Ga]=le.default.useForm(),[ja,Vn]=(0,b.useState)(!1),[Jt,Hn]=(0,b.useState)(null);return(0,b.useEffect)(()=>{var ba;if(ut){const La={code:"",user_type:((ba=Me==null?void 0:Me.userInfo)==null?void 0:ba.identity)==="student"?2:1,major:""};Ga.setFieldsValue(La),Hn(vt({},La))}},[ut]),b.createElement(Ze.default,{centered:!0,keyboard:!1,destroyOnClose:!0,open:ut,title:"\u52A0\u5165\u6BD5\u8BBE",width:527,confirmLoading:ja,onCancel:zt,onOk:()=>Ga.submit()},b.createElement(le.default,{colon:!1,form:Ga,initialValues:{user_type:1},labelCol:{span:5},wrapperCol:{span:19},size:"large",onValuesChange:(ba,La)=>Hn(vt({},La)),onFinish:ba=>Bt(void 0,null,function*(){Vn(!0);const La=yield(0,ct.ZP)("/api/graduations/join.json",{method:"post",body:ba});La.status===0&&(zt(),La!=null&&La.identifier?(0,de.xg)(`/graduations/${La==null?void 0:La.identifier}/index`):he.ZP.success(La==null?void 0:La.message)),Vn(!1)})},b.createElement(le.default.Item,{name:"code",label:"\u6BD5\u8BBE\u9080\u8BF7\u7801",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6BD5\u8BBE\u9080\u8BF7\u7801"}]},b.createElement(Te.default,{placeholder:"\u8BF7\u8F93\u5165\u6BD5\u8BBE\u9080\u8BF7\u7801",size:"large"})),b.createElement(le.default.Item,{name:"user_type",label:"\u8EAB\u4EFD",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6BD5\u8BBE\u9080\u8BF7\u7801"}]},b.createElement(ot.ZP.Group,null,b.createElement(ot.ZP,{value:1,style:{color:"#000"}},"\u7BA1\u7406\u5458\uFF08\u6559\u5E08\uFF09"),b.createElement(ot.ZP,{className:"ml30",style:{color:"#000"},value:2},"\u5B66\u751F"))),(Jt==null?void 0:Jt.user_type)===2&&b.createElement(le.default.Item,{style:{marginBottom:0},name:"major",label:"\u4E13\u4E1A",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4E13\u4E1A\u540D\u79F0"},{max:60,message:"\u8F93\u5165\u8D85\u9650\uFF0C\u8BF7\u7F29\u51CF\u5B57\u7B26\u6570"},{whitespace:!0,message:"\u8BF7\u8F93\u5165\u4E13\u4E1A\u540D\u79F0"}]},b.createElement(Te.default,{showCount:!0,maxLength:60}))))};var nn=(0,Be.connect)(({user:Oe,globalSetting:it})=>({user:Oe,globalSetting:it}))(Bn),on=re(59301),De=Object.defineProperty,Pe=Object.defineProperties,He=Object.getOwnPropertyDescriptors,Ft=Object.getOwnPropertySymbols,bt=Object.prototype.hasOwnProperty,It=Object.prototype.propertyIsEnumerable,Ut=(Oe,it,Me)=>it in Oe?De(Oe,it,{enumerable:!0,configurable:!0,writable:!0,value:Me}):Oe[it]=Me,jt=(Oe,it)=>{for(var Me in it||(it={}))bt.call(it,Me)&&Ut(Oe,Me,it[Me]);if(Ft)for(var Me of Ft(it))It.call(it,Me)&&Ut(Oe,Me,it[Me]);return Oe},bn=(Oe,it)=>Pe(Oe,He(it)),Lt=(Oe,it)=>{var Me={};for(var ut in Oe)bt.call(Oe,ut)&&it.indexOf(ut)<0&&(Me[ut]=Oe[ut]);if(Oe!=null&&Ft)for(var ut of Ft(Oe))it.indexOf(ut)<0&&It.call(Oe,ut)&&(Me[ut]=Oe[ut]);return Me},Fe=(Oe,it,Me)=>new Promise((ut,zt)=>{var Ga=Jt=>{try{Vn(Me.next(Jt))}catch(Hn){zt(Hn)}},ja=Jt=>{try{Vn(Me.throw(Jt))}catch(Hn){zt(Hn)}},Vn=Jt=>Jt.done?ut(Jt.value):Promise.resolve(Jt.value).then(Ga,ja);Vn((Me=Me.apply(Oe,it)).next())}),xe=(Oe=>(Oe.Projects="projects",Oe.Shixuns="shixuns",Oe.Classrooms="classrooms",Oe))(xe||{}),gt=(Oe=>(Oe.Classrooms="classrooms",Oe.Shixuns="shixuns",Oe.Paths="paths",Oe.Projects="projects",Oe.Videos="videos",Oe.Topics="topics",Oe.Graduations="graduations",Oe))(gt||{});const Mt=Oe=>{var it=Oe,{homePage:Me,user:ut,globalSetting:zt,loading:Ga,dispatch:ja}=it,Vn=Lt(it,["homePage","user","globalSetting","loading","dispatch"]),Jt,Hn,ba,La;const[rr,sa]=(0,b.useState)(),[wt,ca]=(0,b.useState)(),[gr,Pr]=(0,b.useState)(!1),[dr,Zn]=(0,b.useState)(!1),[Rn,pn]=(0,b.useState)(!1),[Er,zr]=(0,b.useState)();function uo(Gr,Sa){for(const kn of Gr){if(kn.link===Sa)return kn.hidden;if(kn.subitem&&kn.subitem.length>0){let $t=kn.subitem;for(const Mn of $t)if(Mn.link===Sa)return Mn.hidden;return!1}}return!0}const to=uo(((Jt=zt.setting)==null?void 0:Jt.navbar)||[],"/classrooms"),Ka=uo(((Hn=zt.setting)==null?void 0:Hn.navbar)||[],"/shixuns"),_r=uo(((ba=zt.setting)==null?void 0:ba.navbar)||[],"/paths"),Eo=uo(((La=zt.setting)==null?void 0:La.navbar)||[],"/graduations"),ai=Gr=>{var Sa;if((0,oe.tJ)(ja)){if(Gr==="projects"&&!((Sa=ut.userInfo)!=null&&Sa.email)){he.ZP.info("\u8BF7\u5148\u7ED1\u5B9A\u90AE\u7BB1\uFF0C\u8C22\u8C22");return}Gr==="classrooms"?sa(!0):Gr==="projects"&&ca(!0)}},li=(Gr,Sa)=>{var kn;if((0,oe.tJ)(ja)){if(Sa==="projects"&&!((kn=ut.userInfo)!=null&&kn.email)){he.ZP.info("\u8BF7\u5148\u7ED1\u5B9A\u90AE\u7BB1\uFF0C\u8C22\u8C22");return}Sa==="shixuns"&&!(0,oe.xY)()||Gr&&(window.location.href=Gr)}},Mi=Gr=>{var Sa,kn,$t,Mn,pr,be,jr,Za,mr,fr,Vr,Xr,yo,So,ui,ko,Di,hl,di,bl,Ii,gl;return on.createElement(on.Fragment,null,on.createElement(Xe.Z,{justify:"space-around",className:"pt5 pb5"},on.createElement(Ke.Z,{className:((Sa=ut.userInfo)==null?void 0:Sa.user_identity)!=="\u5B66\u751F"?ne.joinCol:ne.hidden},((kn=ut.userInfo)==null?void 0:kn.user_identity)!=="\u5B66\u751F"&&!(($t=zt==null?void 0:zt.setting)!=null&&$t.hide_course)&&on.createElement(Ie.default.Item,jt({},Gr),on.createElement("a",{onClick:()=>li("/classrooms/new")},(Mn=ut.userInfo)!=null&&Mn.main_site?"\u65B0\u5EFA\u6559\u5B66\u8BFE\u5802":"\u65B0\u5EFA\u8BFE\u5802")),!((pr=zt==null?void 0:zt.setting)!=null&&pr.hide_shixun)&&((be=ut==null?void 0:ut.userInfo)==null?void 0:be.is_shixun_marker)&&on.createElement(Ie.default.Item,jt({},Gr),on.createElement("a",{onClick:()=>li("/shixuns/new","shixuns")},"\u65B0\u5EFA\u5B9E\u8DF5\u9879\u76EE")),((jr=ut.userInfo)==null?void 0:jr.user_identity)!=="\u5B66\u751F"&&!((Za=zt==null?void 0:zt.setting)!=null&&Za.hide_subject)&&on.createElement(Ie.default.Item,jt({},Gr),on.createElement("a",{onClick:()=>li("/paths/new")},"\u65B0\u5EFA\u5B9E\u8DF5\u8BFE\u7A0B")),!((mr=zt==null?void 0:zt.setting)!=null&&mr.is_local)&&((fr=ut.userInfo)==null?void 0:fr.main_site)&&on.createElement(Ie.default.Item,jt({},Gr),on.createElement("a",{onClick:()=>{var al;return li(`${(al=zt==null?void 0:zt.setting)==null?void 0:al.old_url}/projects/deposit/new`,"projects")}},"\u65B0\u5EFA\u5F00\u53D1\u9879\u76EE")),window.location.host!=="narl.educoder.net"&&((Vr=ut==null?void 0:ut.userInfo)==null?void 0:Vr.identity)!=="student"&&on.createElement(Ie.default.Item,bn(jt({},Gr),{onClick:()=>Fe(void 0,null,function*(){if(!(0,oe.o1)(ja))return;const al=yield(0,Ce.J3)({keyword:"",source:"",status:"",page:1,limit:20,tab_module_type:"graduations"});if(al!=null&&al.un_purchased){ja({type:"globalSetting/setActionTabs",payload:{key:"\u91C7\u8D2D\u63D0\u793A"}});return}al.status===0&&(zr(al),Pr(!0))})}),on.createElement("a",null,"\u65B0\u5EFA\u6BD5\u4E1A\u8BBE\u8BA1")),!((Xr=ut.userInfo)!=null&&Xr.main_site)&&on.createElement("div",null,on.createElement(Ie.default.Item,jt({},Gr),on.createElement("a",{onClick:()=>ai("classrooms")},(yo=ut.userInfo)!=null&&yo.main_site?"\u52A0\u5165\u6559\u5B66\u8BFE\u5802":"\u52A0\u5165\u8BFE\u5802")),((So=ut.userInfo)==null?void 0:So.main_site)&&!((ui=zt==null?void 0:zt.setting)!=null&&ui.is_local)&&on.createElement(Ie.default.Item,jt({},Gr),on.createElement("a",{onClick:()=>ai("projects")},"\u52A0\u5165\u5F00\u53D1\u9879\u76EE")))),((ko=ut.userInfo)==null?void 0:ko.main_site)&&((Di=ut.userInfo)==null?void 0:Di.user_identity)!=="\u5B66\u751F"&&on.createElement(Ke.Z,null,on.createElement("div",{className:ne.joinBoard})),((hl=ut.userInfo)==null?void 0:hl.main_site)&&on.createElement(Ke.Z,{className:((di=ut.userInfo)==null?void 0:di.user_identity)!=="\u5B66\u751F"?ne.joinCol:ne.w90},on.createElement(Ie.default.Item,jt({},Gr),on.createElement("a",{onClick:()=>ai("classrooms")},(bl=ut.userInfo)!=null&&bl.main_site?"\u52A0\u5165\u6559\u5B66\u8BFE\u5802":"\u52A0\u5165\u8BFE\u5802")),((Ii=ut.userInfo)==null?void 0:Ii.main_site)&&!((gl=zt==null?void 0:zt.setting)!=null&&gl.is_local)&&on.createElement(Ie.default.Item,jt({},Gr),on.createElement("a",{onClick:()=>ai("projects")},"\u52A0\u5165\u5F00\u53D1\u9879\u76EE")),on.createElement(Ie.default.Item,bn(jt({},Gr),{onClick:()=>{(0,oe.o1)(ja)&&Zn(!0)}}),on.createElement("a",null,"\u52A0\u5165\u6BD5\u4E1A\u8BBE\u8BA1")))))};return on.createElement("section",null,on.createElement(tt.Z,{dropdownRender:()=>{var Gr;return on.createElement(Ie.default,{className:((Gr=ut.userInfo)==null?void 0:Gr.user_identity)!=="\u5B66\u751F"?`${ne.rightMenu} ${ne.joinMenu} mt10`:`${ne.rightMenu} ${ne.joinMenu} ${ne.w140} mt10`},on.createElement(Mi,null))},placement:"bottom"},on.createElement("span",{style:{lineHeight:"inherit"},className:"iconfont icon-tianjiafangda c-white font18 current ml15 mr15"})),on.createElement(ee.Z,{visible:rr,onCancel:()=>sa(!1)}),on.createElement(y,{visible:wt,onCancel:()=>ca(!1)}),on.createElement(In,{info:Er,open:gr,onCancel:()=>Pr(!1)}),on.createElement(nn,{open:dr,onCancel:()=>Zn(!1)}))};var qt=(0,Be.connect)(({homePage:Oe,loading:it,user:Me,globalSetting:ut})=>({homePage:Oe,user:Me,globalSetting:ut,loading:it.models.index}))(Mt),Vt={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",icon:"icon___HABAt"},kt=re(34055),rn=re(63423),Wt=re(90524),yt=re(59301),an=Object.getOwnPropertySymbols,mt=Object.prototype.hasOwnProperty,At=Object.prototype.propertyIsEnumerable,xt=(Oe,it)=>{var Me={};for(var ut in Oe)mt.call(Oe,ut)&&it.indexOf(ut)<0&&(Me[ut]=Oe[ut]);if(Oe!=null&&an)for(var ut of an(Oe))it.indexOf(ut)<0&&At.call(Oe,ut)&&(Me[ut]=Oe[ut]);return Me},cn=(Oe,it,Me)=>new Promise((ut,zt)=>{var Ga=Jt=>{try{Vn(Me.next(Jt))}catch(Hn){zt(Hn)}},ja=Jt=>{try{Vn(Me.throw(Jt))}catch(Hn){zt(Hn)}},Vn=Jt=>Jt.done?ut(Jt.value):Promise.resolve(Jt.value).then(Ga,ja);Vn((Me=Me.apply(Oe,it)).next())});const Dt=Oe=>{var it,Me=RegExp("(^| )"+Oe+"=([^;]+)(;|$)");return(it=document.cookie.match(Me))?decodeURIComponent(it[2]):null},Ot=Oe=>{var it=new Date;it.setTime(it.getTime()-1);var Me=Dt(Oe);Me!=null&&(document.cookie=Oe+"="+Me+";expires="+it.toGMTString())};var xn=(Oe=>(Oe.Classrooms="classrooms",Oe.Shixuns="shixuns",Oe.Paths="paths",Oe.Projects="projects",Oe.Videos="videos",Oe.Topics="topics",Oe.Competition="competitions",Oe.Engineering="engineering",Oe.Graduations="graduations",Oe.Paperlibrary="paperlibrary",Oe.Problemset="problemset",Oe.Dataset="dataset",Oe))(xn||{});const Gt=Oe=>{var it=Oe,{homePage:Me,user:ut,globalSetting:zt,loading:Ga,dispatch:ja,shixunHomeworks:Vn,location:Jt,payload:Hn={}}=it,ba=xt(it,["homePage","user","globalSetting","loading","dispatch","shixunHomeworks","location","payload"]),La,rr,sa,wt,ca,gr,Pr,dr,Zn,Rn,pn,Er,zr,uo,to,Ka;const _r=(rr=(((La=zt.setting)==null?void 0:La.navbar)||[]).find(Gr=>Gr.link==="/classrooms"))==null?void 0:rr.hidden,Eo=(wt=(((sa=zt.setting)==null?void 0:sa.navbar)||[]).find(Gr=>Gr.link==="/shixuns"))==null?void 0:wt.hidden,ai=(gr=(((ca=zt.setting)==null?void 0:ca.navbar)||[]).find(Gr=>Gr.link==="/paths"))==null?void 0:gr.hidden,li=(Pr=ut.userInfo)==null?void 0:Pr.is_school_manage,Mi=()=>{var Gr,Sa,kn,$t,Mn,pr,be,jr,Za,mr,fr,Vr,Xr,yo,So,ui;return(0,de.Ll)()?yt.createElement(Ie.default,{className:`${Vt.rightMenu} ${Vt.menuWrap}`},yt.createElement(Ie.default.Item,null,yt.createElement(Be.Link,{to:"/account/profile"},"\u8D26\u53F7\u7BA1\u7406"))):yt.createElement(Ie.default,{className:`${Vt.rightMenu} ${Vt.menuWrap}`},yt.createElement(Ie.default.Item,null,yt.createElement(Be.Link,{to:`/users/${(Gr=ut.userInfo)==null?void 0:Gr.login}/classrooms`},"\u6211\u7684\u4E2A\u4EBA\u4E3B\u9875")),yt.createElement(Ie.default.Item,null,yt.createElement(Be.Link,{to:`/users/${(Sa=ut.userInfo)==null?void 0:Sa.login}/classrooms`},(kn=ut.userInfo)!=null&&kn.main_site?"\u6211\u7684\u6559\u5B66\u8BFE\u5802":"\u6211\u7684\u8BFE\u5802")),yt.createElement(Ie.default.Item,null,yt.createElement(Be.Link,{to:`/users/${($t=ut.userInfo)==null?void 0:$t.login}/shixuns`},"\u6211\u7684\u5B9E\u8DF5\u9879\u76EE")),yt.createElement(Ie.default.Item,null,yt.createElement(Be.Link,{to:`/users/${(Mn=ut.userInfo)==null?void 0:Mn.login}/paths`},(pr=ut.userInfo)!=null&&pr.main_site?"\u6211\u7684\u5B9E\u8DF5\u8BFE\u7A0B":"\u6211\u7684\u8BFE\u7A0B")),((be=ut.userInfo)==null?void 0:be.user_identity)!=="\u5B66\u751F"&&yt.createElement(Ie.default.Item,null,yt.createElement(Be.Link,{to:`/users/${(jr=ut.userInfo)==null?void 0:jr.login}/teach-group`},"\u6211\u7684\u6559\u7814\u56E2\u961F")),!((Za=zt.setting)!=null&&Za.hide_competition)&&yt.createElement(Ie.default.Item,null,yt.createElement(Be.Link,{to:`/users/${(mr=ut.userInfo)==null?void 0:mr.login}/competitions`},"\u6211\u7684\u7ADE\u8D5B\u7BA1\u7406")),!((fr=zt.setting)!=null&&fr.hide_virtual)&&yt.createElement(Ie.default.Item,null,yt.createElement(Be.Link,{to:`/users/${(Vr=ut.userInfo)==null?void 0:Vr.login}/vspaces`},"\u6211\u7684\u865A\u62DF\u793E\u533A")),!(0,kt.JA)()&&yt.createElement(Ie.default.Item,null,yt.createElement("a",{onClick:()=>{(0,oe.tJ)(ja)&&Be.history.push("/problemset")}},"\u8BD5\u9898\u5E93")),!(0,kt.JA)()&&yt.createElement(Ie.default.Item,null,yt.createElement("a",{onClick:()=>{(0,oe.tJ)(ja)&&Be.history.push("/paperlibrary")}},"\u8BD5\u5377\u5E93")),((yo=(Xr=ut.navigationInfo)==null?void 0:Xr.top)==null?void 0:yo.laboratory_admin_url)&&yt.createElement(Ie.default.Item,null,yt.createElement("a",{href:(ui=(So=ut.navigationInfo)==null?void 0:So.top)==null?void 0:ui.laboratory_admin_url},"\u540E\u53F0\u7BA1\u7406")),yt.createElement(Ie.default.Item,null,yt.createElement(Be.Link,{onClick:()=>{localStorage.getItem("Noviceguide")==="0"||ja({type:"shixunHomeworks/setActionTabs",payload:{key:"\u5E95\u90E8\u5F39\u7A97",type:2,href:"/classrooms",text:yt.createElement("div",null,"OK\uFF0C\u63A5\u4E0B\u6765\uFF0C\u8BA9\u6211\u4EEC\u5F00\u59CB\u65B0\u5EFA\u3010\u6559\u5B66\u8BFE\u5802\u3011\uFF0C\u8BF7\u60A8\u627E\u5230\u95EA\u5149\u6846\u5E76\u70B9\u51FB \u201C\u6559\u5B66\u8BFE\u5802\u201D\u3002")}})},to:"/account/profile"},"\u8D26\u53F7\u7BA1\u7406")),li&&yt.createElement(Ie.default.Item,null,yt.createElement(Be.Link,{to:"/administration/college"},"\u9AD8\u6821\u7BA1\u7406")),yt.createElement(Ie.default.Item,{className:Vt.exit},yt.createElement("a",{onClick:()=>cn(void 0,null,function*(){(0,de.m5)();let ko;try{ko=yield(0,rn.vR)({}),he.ZP.success(ko==null?void 0:ko.message)}catch(Di){}(0,de.d8)("_educoder_session","logout",1),(0,de.m5)(),localStorage.removeItem("isfirst"),localStorage.removeItem("SystemUpdateadvtime"),localStorage.removeItem("item"),localStorage.removeItem("iscreate"),ko!=null&&ko.url?window.location.href=ko.url:(Be.history.replace("/"),window.location.reload())})},"\u9000\u51FA")))};return(0,kt.bg)()?yt.createElement(tt.Z,{className:`${Vt.height67}`,dropdownRender:Mi,placement:"bottomRight"},yt.createElement("section",null,yt.createElement("aside",null,yt.createElement("div",{className:Vn.actionTabs.type===1?Vt.classromediv:""},yt.createElement("img",{className:`${Vt.userPic} current ml15`,src:`${(dr=Wt.Z)==null?void 0:dr.IMG_SERVER}/images/${(Zn=ut.userInfo)==null?void 0:Zn.image_url}`,alt:"",onClick:()=>{var Gr;return Be.history.push((0,de.Ll)()?"/account/profile":`/users/${(Gr=ut.userInfo)==null?void 0:Gr.login}/classrooms`)}}),(0,de.Ll)()&&yt.createElement("span",{className:"ml10 font16"},(Rn=ut.userInfo)==null?void 0:Rn.username),yt.createElement("i",{className:`iconfont icon-zhankai4 ${Vt.icon}`}))))):yt.createElement("div",{className:`font15 ${zt.isIlearning?Vt.login:""}`},((pn=zt.setting)==null?void 0:pn.sso_login_url)&&yt.createElement("a",{target:"_blank",href:(Er=zt.setting)==null?void 0:Er.sso_login_url},yt.createElement("img",{src:`${Wt.Z.IMG_SERVER}/${(zr=zt.setting)==null?void 0:zr.login_logo_url}`,width:40}),yt.createElement("span",{style:{color:"#fff",fontSize:"14px",fontWeight:500,paddingLeft:"10px"}},(uo=zt.setting)==null?void 0:uo.sso_login_button_name)),!((to=zt.setting)!=null&&to.hide_account_login)&&yt.createElement(yt.Fragment,null,yt.createElement("span",{className:"ml10 mr5 current c-white",onClick:()=>{ja({type:"user/showPopLogin",payload:{showPopLogin:!0,showClosable:!0}})}},"\u767B\u5F55"),!((Ka=zt.setting)!=null&&Ka.close_register)&&yt.createElement(yt.Fragment,null,yt.createElement("span",{className:"ml5 mr5"},"|"),yt.createElement(Be.Link,{to:"/user/register",className:"ml5 current c-white pr25"},"\u6CE8\u518C"))))};var Kn=(0,Be.connect)(({homePage:Oe,loading:it,user:Me,globalSetting:ut,shixunHomeworks:zt})=>({homePage:Oe,user:Me,globalSetting:ut,shixunHomeworks:zt,loading:it.models.index}))(Gt),za=re(65363),sr={tip:"tip___a6MfI"},Ya=Object.defineProperty,Da=Object.defineProperties,Lr=Object.getOwnPropertyDescriptors,cr=Object.getOwnPropertySymbols,Ha=Object.prototype.hasOwnProperty,Xa=Object.prototype.propertyIsEnumerable,Dr=(Oe,it,Me)=>it in Oe?Ya(Oe,it,{enumerable:!0,configurable:!0,writable:!0,value:Me}):Oe[it]=Me,Fa=(Oe,it)=>{for(var Me in it||(it={}))Ha.call(it,Me)&&Dr(Oe,Me,it[Me]);if(cr)for(var Me of cr(it))Xa.call(it,Me)&&Dr(Oe,Me,it[Me]);return Oe},Zr=(Oe,it)=>Da(Oe,Lr(it)),br=(Oe,it,Me)=>new Promise((ut,zt)=>{var Ga=Jt=>{try{Vn(Me.next(Jt))}catch(Hn){zt(Hn)}},ja=Jt=>{try{Vn(Me.throw(Jt))}catch(Hn){zt(Hn)}},Vn=Jt=>Jt.done?ut(Jt.value):Promise.resolve(Jt.value).then(Ga,ja);Vn((Me=Me.apply(Oe,it)).next())}),Pt=(Oe=>(Oe[Oe.Professor=1]="Professor",Oe[Oe.AssistantProfessor=2]="AssistantProfessor",Oe[Oe.Student=3]="Student",Oe))(Pt||{});const Sn=({visible:Oe,user:it,onCancel:Me=()=>{},dispatch:ut,globalSetting:zt})=>{var Ga,ja;const[Vn,Jt]=(0,b.useState)(!1),[Hn,ba]=(0,b.useState)({name:"",phone:""});(0,b.useEffect)(()=>{var sa,wt;if((sa=it==null?void 0:it.userInfo)!=null&&sa.login){let ca=JSON.parse(localStorage==null?void 0:localStorage.getItem("delaytip_class"));console.log(ca),ca&&(ca!=null&&ca.isShow)&&(ca==null?void 0:ca.login)===((wt=it==null?void 0:it.userInfo)==null?void 0:wt.login)&&(Jt(!0),ba({name:ca==null?void 0:ca.name,phone:ca==null?void 0:ca.phone}))}},[it==null?void 0:it.userInfo]);const La=()=>br(void 0,null,function*(){Me()}),rr=()=>{let sa=JSON.parse(localStorage==null?void 0:localStorage.getItem("delaytip_class"));localStorage.setItem("delaytip_class",JSON.stringify(Zr(Fa({},sa),{isShow:!1}))),Jt(!1)};return b.createElement(b.Fragment,null,Vn&&b.createElement("div",{style:{background:"rgba(255,24,24,0.1)",color:"#E30000"}},b.createElement("div",{className:sr.tip},b.createElement("div",null,b.createElement("i",{className:"iconfont icon-tishi9 font14 mr10",style:{color:"#E30000"}}),`\u7531\u4E8E\u5B66\u6821\u7CFB\u7EDF\u786C\u4EF6\u8D44\u6E90\u539F\u56E0\uFF0C\u5F53\u524D\u7CFB\u7EDF\u652F\u6301\u4EBA\u6570\u5DF2\u8FBE\u5230\u4E0A\u9650\uFF0C\u4E3A\u4E86\u907F\u514D\u5F71\u54CD\u540E\u7EED\u6559\u5B66\u6D3B\u52A8\uFF0C\u8BF7\u5C3D\u5FEB\u8054\u7CFB\u8FD0\u7EF4\u6559\u5E08\uFF08${(Ga=zt==null?void 0:zt.infoData)==null?void 0:Ga.name}\uFF09\uFF0C\u8054\u7CFB\u65B9\u5F0F\uFF1A${(ja=zt==null?void 0:zt.infoData)==null?void 0:ja.phone}`),b.createElement("div",null,b.createElement(za.Z,{onClick:rr,style:{color:"#165dff",fontSize:16}})))))};var Fn=(0,Be.connect)(({user:Oe,globalSetting:it})=>({user:Oe,globalSetting:it}))(Sn),Zt=re(3113),sn="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHQAAACpCAYAAAD6OhnWAAAAAXNSR0IArs4c6QAAIABJREFUeF7sfQWcHEX2/7daxtc17oYFSYIeBPsBgRwECe6BcHDIccghRxIk6MFB4A4NJHiCB7egwXJokLhnXcenu6v+n1fdPTu7O7vZjcHdn/4wzGa3p+dVfeu9932vXlUx/A9c/ecLnxZPDVQsDFOYNQiq0h+KVgYhBoLzfkKIfGomY6wRirIajK0AN6tg8VVcqMu5isWm37Ni1f4s8d/eHey/sQGDXxe5qmLuBW4dyFRtT3BrBwB5YArAOSB415pF9yuKe38TFHWRsMzPoKjvWVxbsGwca+7ag347d/3XADp0XnMxU/U/Kqp+rOD8D2AsBG4BQmzh3mSAqtJzI0xRPuaW8ZywjFeWjM+t3cJftFUe99sGdI5QRwTNA4SKyUyIwwQQkCBuy0tRwYCYYOwNZuGBn6Pa+5jItrEQXW/wbxLQsrdEMN8yToPCLmQCI4Rldq9FZErpIu21SIvp5TyCTKyi2qbWvaeLWs5UDYLhZ3Axo1HVZ1cdwqJdF2zb3PmbApSAzD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4aJ1CYQO2+ABUy2GNWzZQQqzy1IYiJ8TJTZa3aZ9AdAqIXs3bNjoe+a2nWFnFBorK+5cgrzy95TtAE5AIRx6D7M80zCXYW008MwpMFIuaI2GRjlNnH1ZufRcABIm4hNjsotR0ItJh0ArjET0LIJ2USOwfgs15S23v7GvD2vVXf7Z+bp8y68ZLVvE5mZzcg7qTz5ydQcZRMZfLQPSDyfCcdyVAO1rteKY1eOAL0bmIXsqmUTf4jAkWWbXGDX0QQLJ7vZRZl0Njo4yZis9C/y7f7lIWk/WIusJOc9Q6fd/1iC8pVnnXlMd35t+tpm5zc3Nb4lu41dmzG8my45vRHft5pAdb4eXn9cb7+hfxhaJ60AYVCIX9yOCSrlq8pG7cogoPm6vz772Yz3LrJmo97Kuet/weX7/RHY+BFcPwPAL3oJXTdfvZSiJV7t6yjnb+FjsTzfpr81XWfddddc59Vq9lHCo9XeWcuesz/KaAXvezzbl/7MFzqqZ4tay71Ej6mO/0Xg5uniQ1vwFgAAAAASUVORK5CYII=",On=Object.getOwnPropertySymbols,Jn=Object.prototype.hasOwnProperty,ke=Object.prototype.propertyIsEnumerable,rt=(Oe,it)=>{var Me={};for(var ut in Oe)Jn.call(Oe,ut)&&it.indexOf(ut)<0&&(Me[ut]=Oe[ut]);if(Oe!=null&&On)for(var ut of On(Oe))it.indexOf(ut)<0&&ke.call(Oe,ut)&&(Me[ut]=Oe[ut]);return Me};const qe=null,Dn=Oe=>{var it=Oe,{homePage:Me,user:ut,globalSetting:zt,loading:Ga,dispatch:ja,location:Vn,text:Jt,shixunHomeworks:Hn,payload:ba={}}=it,La=rt(it,["homePage","user","globalSetting","loading","dispatch","location","text","shixunHomeworks","payload"]);const[rr,sa]=(0,b.useState)("none");return(0,b.useEffect)(()=>{Hn.actionTabs.key==="\u5E95\u90E8\u5F39\u7A97"&&sa("flex")},[Hn.actionTabs.key]),(0,b.useEffect)(()=>{Hn.actionTabs.key==="\u9690\u85CF"&&(sa("none"),localStorage.setItem("Noviceguide","0"))},[Hn.actionTabs.key]),b.createElement("div",{style:{display:rr,background:"#fff",width:"100%",height:"200px",position:"fixed",bottom:"0px",boxShadow:"0px -4px 6px 0px rgba(204, 204, 204, 0.2)",zIndex:"999"}},b.createElement("div",{style:{margin:"0 auto",width:"1200px"}},b.createElement("img",{src:sn,style:{position:"absolute",top:"-32px"}}),b.createElement("div",{style:{marginLeft:"151px",marginTop:"40px",fontSize:"18px",color:"#333333"}},Hn.actionTabs.text),Hn.actionTabs.type===9?b.createElement("div",{style:{display:"flex",justifyContent:"flex-end"}},b.createElement(Zt.ZP,{type:"primary",onClick:()=>{localStorage.setItem("Noviceguide","0"),sa("none"),ja({type:"shixunHomeworks/setActionTabs",payload:{key:""}})},ghost:!0,style:{marginTop:"30px",width:"138px",height:"40px",position:"absolute",top:"124px"}},"\u5446\u4F1A\u89C1\uFF0C\u6709\u4E8B\u547C\u6211")):b.createElement("div",{style:{display:"flex",justifyContent:"flex-end"}},b.createElement(Zt.ZP,{type:"primary",onClick:()=>{localStorage.setItem("Noviceguide","0"),ja({type:"shixunHomeworks/setActionTabs",payload:{key:""}}),sa("none")},ghost:!0,style:{marginTop:"30px",width:"138px",height:"40px",position:"absolute",top:"124px"}},"\u8DF3\u8FC7\uFF0C\u6211\u81EA\u5DF1\u6765"))))};var mn=(0,Be.connect)(({homePage:Oe,loading:it,user:Me,globalSetting:ut,shixunHomeworks:zt})=>({homePage:Oe,user:Me,globalSetting:ut,loading:it.models.index,shixunHomeworks:zt}))(Dn),Wn=Object.defineProperty,ya=Object.getOwnPropertySymbols,ma=Object.prototype.hasOwnProperty,ta=Object.prototype.propertyIsEnumerable,fa=(Oe,it,Me)=>it in Oe?Wn(Oe,it,{enumerable:!0,configurable:!0,writable:!0,value:Me}):Oe[it]=Me,ua=(Oe,it)=>{for(var Me in it||(it={}))ma.call(it,Me)&&fa(Oe,Me,it[Me]);if(ya)for(var Me of ya(it))ta.call(it,Me)&&fa(Oe,Me,it[Me]);return Oe};const hn=Oe=>React.createElement("svg",ua({width:46,height:18,xmlns:"http://www.w3.org/2000/svg"},Oe),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 Ra="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDYiIGhlaWdodD0iMTgiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNNi41NzggOC44Yy4xNjItLjY4Mi4zLS43MzcuOTgyLS43MzcuNjg5IDAgLjc5My4wNTUuNjMyLjczNy0uMTY0LjY4OS0uMjk4Ljc2LS45ODcuNzYtLjY4MiAwLS43OS0uMDcxLS42MjctLjc2Wm0tLjIyMiAxLjE5OGgxLjQ4OGwtMS4wMDQgNC4yM0g1LjM1MmwxLjAwNC00LjIzWk04LjQ2NSAxMS4yNDRoMi40NzRsLS4yNzUgMS4xNkg4LjE4OXpNMTUuMTIgMTIuODg5bC0uMzE3IDEuMzRIMTEuMjNsMS4yOTEtNS40MzdoMS41NmwtLjk3NCA0LjA5N3pNMTguNjg4IDExLjU1Yy4wNzYtLjMyMi4wMS0uNTQxLS40NTktLjU0MS0uNTAxIDAtLjc0OC4xMTctLjkwNS42NDJsMS4zNjQtLjEwMlptMS4wNDEuOTU1LTIuNjM2LjE1NmMtLjAwMi4zNjkuMy41MTcuODQuNTE3LjU3MSAwIDEuMjU5LS4xNTUgMS41NDUtLjMwNWwtLjI2IDEuMDk3Yy0uMzAxLjE4LTEuMDEyLjMzNy0xLjg1LjMzNy0xLjMzMiAwLTIuMDM5LS40NTQtMS42MjYtMi4xOTQuNDEzLTEuNzM5IDEuMzM2LTIuMTkzIDIuNzM4LTIuMTkzIDEuNT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=Jt=>{try{Vn(Me.next(Jt))}catch(Hn){zt(Hn)}},ja=Jt=>{try{Vn(Me.throw(Jt))}catch(Hn){zt(Hn)}},Vn=Jt=>Jt.done?ut(Jt.value):Promise.resolve(Jt.value).then(Ga,ja);Vn((Me=Me.apply(Oe,it)).next())});const qr=({classroomList:Oe,loading:it,user:Me,dispatch:ut,virtualSpaces:zt,globalSetting:Ga})=>{const ja=(0,Be.useLocation)();let Vn=!1;(0,b.useEffect)(()=>{Ga.actionTabs.key==="\u91C7\u8D2D\u63D0\u793A"&&(Vn=!0)},[Ga.actionTabs.key]),(0,b.useEffect)(()=>{Vn&&ut({type:"globalSetting/setActionTabs",payload:{}})},[ja.pathname]);const Jt=()=>{ut({type:"globalSetting/setActionTabs",payload:{}}),window.location.href="/"};return b.createElement(fo.ZP,{theme:{token:{colorBgMask:"#999"}}},b.createElement(Ze.default,{centered:!0,title:"\u91C7\u8D2D\u63D0\u793A",open:Ga.actionTabs.key==="\u91C7\u8D2D\u63D0\u793A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",width:640,maskClosable:!1,keyboard:!1,footer:null,bodyStyle:{minHeight:200},onOk:()=>ha(void 0,null,function*(){}),onCancel:()=>{Jt()}},b.createElement("div",{className:tn.content},b.createElement("div",{className:"mb15"},b.createElement("img",{src:Or,alt:""})),b.createElement("div",null,"\u5C0A\u656C\u7684\u7528\u6237\uFF0C\u60A8\u597D! \u5F53\u524D\u5E73\u53F0\u672A\u91C7\u8D2D\u8BE5\u6A21\u5757\uFF0C\u56E0\u6B64\u65E0\u6CD5\u8BBF\u95EE\u76F8\u5173\u529F\u80FD\u3002"),b.createElement("p",{style:{textAlign:"center"}},"\u5982\u9700\u4F7F\u7528\uFF0C\u5EFA\u8BAE\u60A8\u53CA\u65F6\u8FDB\u884C\u6A21\u5757\u91C7\u8D2D\uFF0C\u8BF7\u8054\u7CFB\u76F8\u5173\u5DE5\u4F5C\u4EBA\u5458\u91C7\u8D2D\u6216 ",b.createElement(Nn.Z,{placement:"bottom",title:b.createElement("div",null,b.createElement("img",{src:`${Wt.Z.IMG_SERVER}/images/educoder/EWM.jpg`,width:"158px",height:"158px"}),b.createElement("div",{className:"tc font15"},"\u5FAE\u4FE1\u626B\u4E00\u626B"),b.createElement("div",{className:"tc font15"},"\u5173\u6CE8\u516C\u4F17\u53F7"))},b.createElement("a",{className:"c-blue"},"\u5173\u6CE8\u516C\u4F17\u53F7 ")),"\u54A8\u8BE2\u3002"))))};var Yr=(0,Be.connect)(({classroomList:Oe,user:it,loading:Me,virtualSpaces:ut,globalSetting:zt})=>({classroomList:Oe,user:it,loading:Me,virtualSpaces:ut,globalSetting:zt}))(qr),na=re(59301),oo=Object.defineProperty,Mo=Object.getOwnPropertySymbols,$r=Object.prototype.hasOwnProperty,ho=Object.prototype.propertyIsEnumerable,yn=(Oe,it,Me)=>it in Oe?oo(Oe,it,{enumerable:!0,configurable:!0,writable:!0,value:Me}):Oe[it]=Me,Mr=(Oe,it)=>{for(var Me in it||(it={}))$r.call(it,Me)&&yn(Oe,Me,it[Me]);if(Mo)for(var Me of Mo(it))ho.call(it,Me)&&yn(Oe,Me,it[Me]);return Oe},io=(Oe,it)=>{var Me={};for(var ut in Oe)$r.call(Oe,ut)&&it.indexOf(ut)<0&&(Me[ut]=Oe[ut]);if(Oe!=null&&Mo)for(var ut of Mo(Oe))it.indexOf(ut)<0&&ho.call(Oe,ut)&&(Me[ut]=Oe[ut]);return Me},lo=(Oe,it,Me)=>new Promise((ut,zt)=>{var Ga=Jt=>{try{Vn(Me.next(Jt))}catch(Hn){zt(Hn)}},ja=Jt=>{try{Vn(Me.throw(Jt))}catch(Hn){zt(Hn)}},Vn=Jt=>Jt.done?ut(Jt.value):Promise.resolve(Jt.value).then(Ga,ja);Vn((Me=Me.apply(Oe,it)).next())});const{Header:dt}=Je.default,{Search:Ue}=Te.default;function We(){var Oe,it;const ut=window.location.pathname.split("/"),zt={};return ut[1]=="classrooms"&&ut.length>3&&!((Oe=ut[4])!=null&&Oe.includes("newgold"))&&!((it=ut[5])!=null&&it.includes("newgold"))&&ut[2]!=="coursesId"&&(zt.course_id=ut[2]),ut[1]==="shixuns"&&ut.length>3&&(zt.objective_type="shixun",zt.objective_id=ut[2]),ut[1]==="paths"&&ut.length>3&&(zt.objective_type="path",zt.objective_id=ut[2]),Mr(Mr({},zt),{school:1})}const Rt=["/","/classrooms","/account/profile","/account/profile/edit","/classrooms/new"],Cn=Oe=>{var it=Oe,{homePage:Me,user:ut,globalSetting:zt,loading:Ga,dispatch:ja,isLogin:Vn=!1,shixunHomeworks:Jt}=it,Hn=io(it,["homePage","user","globalSetting","loading","dispatch","isLogin","shixunHomeworks"]),ba,La,rr,sa,wt,ca,gr,Pr,dr;const Zn=(0,Be.useLocation)(),[Rn,pn]=(0,b.useState)(!1),[Er,zr]=(0,b.useState)(""),[uo,to]=(0,b.useState)(!1),Ka=We();(0,b.useEffect)(()=>{ja({type:"user/getNavigationInfo",payload:Mr({},Ka)})},[zt.name]),(0,b.useEffect)(()=>{Jt.actionTabs.key==="\u5E95\u90E8\u5F39\u7A97"&&(Rt!=null&&Rt.includes(Zn==null?void 0:Zn.pathname)||(Zn==null?void 0:Zn.pathname.indexOf("/classrooms"))===0||ja({type:"shixunHomeworks/setActionTabs",payload:{key:"\u9690\u85CF"}}))},[Zn.pathname]),(0,b.useEffect)(()=>{Jt.actionTabs.key==="\u5E95\u90E8\u5F39\u7A97"||Jt.actionTabs.key||localStorage.setItem("Noviceguide","0")},[Jt.actionTabs.key]),(0,b.useEffect)(()=>{var $t;if(zt!=null&&zt.setting){let Mn=(0,vr.cloneDeep)(($t=zt==null?void 0:zt.setting)==null?void 0:$t.navbar);Mn=Mn==null?void 0:Mn.filter(be=>{var jr;return!(be!=null&&be.hidden)&&!((0,kt.JA)()&&((jr=["/paperlibrary","/problemset"])!=null&&jr.includes(be.link)))});for(const be of Mn)be.subitem&&(be.subitem=be.subitem.filter(jr=>{var Za;return!(jr!=null&&jr.hidden)&&!((0,kt.JA)()&&((Za=["/paperlibrary","/problemset"])!=null&&Za.includes(jr.link)))}));let pr=!1;Mn==null||Mn.map(function(be,jr){var Za,mr,fr,Vr;const Xr=Zn.pathname;be.link===Xr&&(zr(be==null?void 0:be.link),(0,de.Dk)(Xr==="/"?(Za=zt==null?void 0:zt.setting)==null?void 0:Za.name:kn(be==null?void 0:be.name)),Mi(Sa(jr,{name:be==null?void 0:be.name,link:be==null?void 0:be.link},Mn)),pr=!0),Xr=="/"&&(zr(""),(0,de.Dk)((mr=zt==null?void 0:zt.setting)==null?void 0:mr.name)),(fr=be==null?void 0:be.subitem)!=null&&fr.length&&((Vr=be==null?void 0:be.subitem)==null||Vr.map(yo=>{yo.link===Xr&&(zr(yo==null?void 0:yo.link),Xr!=="/"&&(0,de.Dk)(kn(yo==null?void 0:yo.name)),Mi(Sa(jr,{name:yo==null?void 0:yo.name,link:yo==null?void 0:yo.link},Mn)),pr=!0)}))}),pr||Mi(Mn)}},[zt==null?void 0:zt.setting,ut]);const _r=(0,b.useMemo)(()=>{var $t,Mn;return($t=zt==null?void 0:zt.setting)!=null&&$t.nav_logo_url?`${Wt.Z.IMG_SERVER}/${(Mn=zt==null?void 0:zt.setting)==null?void 0:Mn.nav_logo_url}`:`${Wt.Z.IMG_SERVER}/images/avatars/LaboratorySetting/1nav?t=${new Date().getTime()}`},[(ba=zt==null?void 0:zt.setting)==null?void 0:ba.nav_logo_url]);function Eo($t){Be.history.push("/search?value="+$t)}const ai=()=>Rn?na.createElement("div",{onBlur:()=>{setTimeout(()=>{pn(!1)},300)}},na.createElement(Ue,{placeholder:"\u5B9E\u8DF5\u8BFE\u7A0B/\u6559\u5B66\u8BFE\u5802/\u5B9E\u8DF5\u9879\u76EE/\u4EA4\u6D41\u95EE\u7B54",className:"search-input mr20",onSearch:Eo,autoFocus:!0})):na.createElement("span",{className:"iconfont icon-sousuo font18 current ml15 mr15",onClick:()=>{Be.history.push("/search?value=")}}),[li,Mi]=(0,b.useState)([]),Gr=($t,Mn)=>lo(void 0,null,function*(){var pr,be,jr,Za,mr,fr;if(($t==null?void 0:$t.name)==="\u5DE5\u7A0B\u8BA4\u8BC1"){const Vr=yield(0,rn.IU)({tab_module_type:"engineering"});if(Vr!=null&&Vr.un_purchased){ja({type:"globalSetting/setActionTabs",payload:{key:"\u91C7\u8D2D\u63D0\u793A"}});return}(pr=Vr==null?void 0:Vr.data)!=null&&pr.engineer_url?(jr=(be=Vr==null?void 0:Vr.data)==null?void 0:be.engineer_url)!=null&&jr.includes("http")?(0,de.xg)((Za=Vr==null?void 0:Vr.data)==null?void 0:Za.engineer_url):Be.history.push((mr=Vr==null?void 0:Vr.data)==null?void 0:mr.engineer_url):(Vr==null?void 0:Vr.status)!=401&&to(!0);return}(fr=$t==null?void 0:$t.link)!=null&&fr.includes("http")?(0,de.xg)($t==null?void 0:$t.link):((0,de.Dk)($t==null?void 0:$t.name),Be.history.push($t==null?void 0:$t.link)),($t==null?void 0:$t.name)==="\u6559\u5B66\u8BFE\u5802"&&localStorage.getItem("Noviceguide")!=="0"&&ja({type:"shixunHomeworks/setActionTabs",payload:{key:"\u5E95\u90E8\u5F39\u7A97",type:5,text:na.createElement("div",null,"\u975E\u5E38\u68D2\uFF0C\u54B1\u4EEC\u5DF2\u7ECF\u5230\u8FBE\u3010\u6559\u5B66\u8BFE\u5802\u3011\uFF0C\u5E73\u53F0\u4E0A\u5DF2\u7ECF\u6709\u51E0\u5343\u4F4D\u8001\u5E08\u521B\u5EFA\u4E86\u81EA\u5DF1\u7684\u6559\u5B66\u8BFE\u5802\uFF0C\u4F60\u4E5F\u53EF\u4EE5\u8F7B\u677E\u5B8C\u6210\u54DF\uFF01\u73B0\u5728\u8BF7\u60A8\u70B9\u51FB\u9875\u9762\u4E0A \u201C\u65B0\u5EFA\u8BFE\u5802\u201D\u6309\u94AE\u5F00\u59CB\u65B0\u5EFA\u81EA\u5DF1\u7684\u8BFE\u5802~")}})}),Sa=($t,Mn,pr)=>{const be=pr.slice();return be[$t]&&(be[$t].name=Mn.name,be[$t].link=Mn.link),be||[]},kn=($t="")=>($t==null?void 0:$t.indexOf("<"))>-1?$t==null?void 0:$t.slice(0,$t==null?void 0:$t.indexOf("<")):$t;return zt.showHeader&&zt.showHeaderFooter?na.createElement(Je.default,{style:{background:`${Zn.pathname=="/training"?"rgba(0,0,0,0)":""}`},className:`${zt.isIlearning?lt["header-iearning"]:lt.header} ${zt.showHeaderFixed?lt.headerFixed:""}`},(zt==null?void 0:zt.showTip)&&na.createElement(Fn,null),na.createElement(dt,{className:"header",style:{background:`${Zn.pathname=="/training"?"rgba(0,0,0,0)":""}`,zIndex:`${Zn.pathname=="/training"?"999":""}`}},na.createElement("section",{className:lt["edu-menu"]},(!!zt.isIlearning||!((La=zt==null?void 0:zt.setting)!=null&&La.main_site)&&!!((rr=zt==null?void 0:zt.setting)!=null&&rr.navbar))&&na.createElement(Be.Link,{style:{display:"flex",alignItems:"center"},onClick:()=>{ja({type:"shixunHomeworks/setActionTabs",payload:{key:""}})},to:"/"},na.createElement("img",{className:lt.logo,title:(sa=zt.setting)==null?void 0:sa.name,src:_r||Ra})),na.createElement("ul",{className:`${lt.menu} ${(0,de.Ll)()&&"ml0"}`},(0,de.Ll)()&&na.createElement("li",null,na.createElement("a",{href:"/"},"\u8003\u8BD5\u7CFB\u7EDF")),!(0,de.Ll)()&&zt.setting&&(li==null?void 0:li.map(function($t,Mn){var pr,be,jr,Za,mr;return na.createElement("li",{key:Mn,className:!((pr=$t==null?void 0:$t.subitem)!=null&&pr.length)&&Er===($t==null?void 0:$t.link)||(be=$t==null?void 0:$t.subitem)!=null&&be.some(fr=>Er===(fr==null?void 0:fr.link))?lt.actived:""},na.createElement("div",{onClick:()=>Gr($t,Mn),className:lt.name},na.createElement("span",{dangerouslySetInnerHTML:{__html:(()=>{var fr;let Vr=$t==null?void 0:$t.name;return(fr=$t==null?void 0:$t.subitem)==null||fr.map((Xr,yo)=>(Xr.link===Zn.pathname&&(Vr=Xr.name),Xr)),Vr})()}}),((jr=$t==null?void 0:$t.subitem)==null?void 0:jr.length)>0&&na.createElement("i",{className:"iconfont icon-zhankai4"})),((Za=$t==null?void 0:$t.subitem)==null?void 0:Za.length)>0&&na.createElement("div",{className:lt.dropDown},(mr=$t==null?void 0:$t.subitem)==null?void 0:mr.map((fr,Vr)=>na.createElement("div",{className:lt.subName,onClick:()=>Gr(fr,Mn),key:Mn+"-"+Vr},!!Vr&&na.createElement("div",{className:lt.line}),na.createElement("aside",{style:{whiteSpace:"nowrap"},className:"font16 c-black"},kn(fr==null?void 0:fr.name)),na.createElement("div",{className:"font14",style:{color:"#9FA7B3",whiteSpace:"nowrap"}},fr.content)))))}))),na.createElement("div",{className:"search-bar",style:{flex:zt.isIlearning?"initial":"1 0 auto"}},!(0,de.Ll)()&&!(zt!=null&&zt.isIlearning)&&na.createElement(na.Fragment,null,na.createElement(ai,null),!Vn&&na.createElement(qt,null),!Vn&&!!((wt=ut==null?void 0:ut.userInfo)!=null&&wt.login)&&na.createElement(Be.Link,{className:"iconfont icon-xiaoxilingdang c-white ml15 mr15 font18 relative",to:`/messages/${(ca=ut==null?void 0:ut.userInfo)==null?void 0:ca.login}/user_tidings`},((gr=ut==null?void 0:ut.navigationInfo)==null?void 0:gr.new_message)&&na.createElement("span",{className:lt.newslight}))),!Vn&&na.createElement(Kn,{payload:Ka}))),na.createElement(Ze.default,{centered:!0,destroyOnClose:!0,open:uo,title:"\u63D0\u793A",width:"500px",okText:"\u7ACB\u5373\u8054\u7CFB",cancelText:"\u53D6\u6D88",onOk:()=>{(0,de.xg)("https://qm.qq.com/cgi-bin/qm/qr?k=DWdqQHAbbfw7_rqm0d-Q_vDn5H6bMp91&jump_from=webapi")},onCancel:()=>to(!1)},na.createElement("div",{style:{display:"flex",flexDirection:"column",alignItems:"center"}},na.createElement("p",null,"\u60A8\u53EF\u4EE5\u5728QQ\u670D\u52A1\u7FA4\u5411\u7BA1\u7406\u5458\u7533\u8BF7\uFF0C\u83B7\u5F97\u7EE7\u7EED\u64CD\u4F5C\u7684\u6743\u9650"),na.createElement("img",{src:`${Wt.Z.IMG_SERVER}/${(Pr=zt==null?void 0:zt.setting)==null?void 0:Pr.homepage_tea_qq_qrcode_url}`,width:200,height:200,className:"mb10"}),na.createElement("p",null,"\u7FA4\u53F7\uFF1A",(dr=zt==null?void 0:zt.setting)==null?void 0:dr.homepage_tea_qq_number)))),na.createElement(mn,null),na.createElement(Yr,null)):na.createElement(na.Fragment,null,na.createElement(Yr,null))};var aa=(0,Be.connect)(({homePage:Oe,loading:it,user:Me,globalSetting:ut,shixunHomeworks:zt})=>({homePage:Oe,user:Me,globalSetting:ut,loading:it.models.index,shixunHomeworks:zt}))(Cn)},6077:function(je,Nt,re){"use strict";re.d(Nt,{Z:function(){return tt}});var b=re(59301),Be={imageDimensions:"imageDimensions___a7crR",img:"img___Kroat",fullWidth:"fullWidth___c492T"},Je=re(92310),Te=re.n(Je),Ze=re(71418),lt=re(2859),he=re(82093),Xe=re(49661),Ke=(ot,Qe,de)=>new Promise((a,E)=>{var x=ne=>{try{ee(de.next(ne))}catch(oe){E(oe)}},y=ne=>{try{ee(de.throw(ne))}catch(oe){E(oe)}},ee=ne=>ne.done?a(ne.value):Promise.resolve(ne.value).then(x,y);ee((de=de.apply(ot,Qe)).next())}),tt=({data:ot,className:Qe,fullWidth:de,style:a={},onClose:E,onOk:x,showFullTools:y,noAssociationId:ee})=>{const ne=(0,b.useRef)(null),oe=(0,b.useRef)(null),le=(0,b.useRef)(null),ie=(0,b.useRef)(null),[Ce,ye]=(0,b.useState)(!1),[Ge,Re]=(0,b.useState)("\u6B63\u5728\u52A0\u8F7D\u4E2D");(0,b.useEffect)(()=>{le.current||(le.current=document.createElement("style"),document.head.appendChild(le.current)),ot!=null&&ot.visible?(document.body.setAttribute("data-custom","y-hidden"),le.current.innerHTML=" html { overflow-y: hidden; }",ot!=null&&ot.src&&St()):(document.body.removeAttribute("data-custom"),le.current&&(document.head.removeChild(le.current),le.current=null))},[ot==null?void 0:ot.visible]);const St=()=>Ke(void 0,null,function*(){ye(!0),Re("\u6B63\u5728\u52A0\u8F7D\u4E2D");const da=yield(0,Xe.ZJ)(ot==null?void 0:ot.src);ne.current.src="",ne.current.src=da,ne.current.onload=function(){Tn()},ye(!1),Re("")}),ht=()=>{document.body.removeAttribute("data-custom"),le.current.innerHTML=" ",E()},pt=da=>Ke(void 0,null,function*(){ye(!0),Re("\u6B63\u5728\u4FDD\u5B58\u4E2D");const $n=yield(0,he.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:ot.title,file:da.dataUrl}});$n!=null&&$n.id&&!ee?(yield(0,he.ZP)(`/api/attachments/${ot.id}/add_subitem.json`,{method:"post",body:{subitem_id:$n==null?void 0:$n.id,settings:JSON.stringify(da.state)}})).status===0&&x():$n!=null&&$n.id&&x($n),document.body.removeAttribute("data-custom"),le.current.innerHTML=" ",ye(!1),Re("")}),Gn=()=>{const da=document.querySelector('a[href="https://markerjs.com/"]');da&&da.parentNode&&(da.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(_t=>{const In=document.querySelector(_t.name);In&&In.setAttribute("title",_t.title)})},Tn=()=>{oe.current=new lt.hP(ne.current),oe.current.targetRoot=ie.current,oe.current.addEventListener("render",pt),oe.current.addEventListener("beforeclose",ht),y&&(oe.current.availableMarkerTypes=oe.current.ALL_MARKER_TYPES,oe.current.uiStyleSettings.redoButtonVisible=!0,oe.current.uiStyleSettings.notesButtonVisible=!0,oe.current.uiStyleSettings.zoomButtonVisible=!0,oe.current.uiStyleSettings.zoomOutButtonVisible=!0,oe.current.uiStyleSettings.clearButtonVisible=!0),window.markerArea=oe.current.uiStyleSettings,oe.current.show(),ot!=null&&ot.snapshotData&&oe.current.restoreState(ot.snapshotData),setTimeout(()=>{window.scrollTo(0,0),Gn()},300)};return b.createElement(b.Fragment,null,(ot==null?void 0:ot.visible)&&b.createElement(Ze.Z,{spinning:Ce,tip:Ge,style:{position:"absolute"}},b.createElement("div",{ref:ie,className:Te()(Be.imageDimensions,Qe,de?Be.fullWidth:""),style:a},b.createElement("img",{className:Be.img,ref:ne}))))}},88615:function(je,Nt,re){"use strict";var b=re(59301),Be=re(95237),Je=re(43604),Te=re(99313),Ze=re(3113),lt=re(7664),he=re(21697),Xe=re(48136),Ke=re(59301);const Ie=(0,b.forwardRef)(({callback:tt,showSaveButton:ot,value:Qe=""},de)=>{const a=(0,b.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 "}]}]}],x=[{name:"\u4EE3\u6570",value:"\\sqrt{a^2+b^2}",children:[{data:[{value:"\\left(x-1\\right)\\left(x+3\\right) "},{value:"\\sqrt{a^2+b^2}"},{value:"\\left ( \\frac{a}{b}\\right )^{n}= \\frac{a^{n}}{b^{n}}"},{value:"\\frac{a}{b}\\pm \\frac{c}{d}= \\frac{ad \\pm bc}{bd} "},{value:"\\frac{x^{2}}{a^{2}}-\\frac{y^{2}}{b^{2}}=1 "},{value:"\\frac{1}{\\sqrt{a}}=\\frac{\\sqrt{a}}{a},a\\ge 0\\frac{1}{\\sqrt{a}}=\\frac{\\sqrt{a}}{a},a\\ge 0 "},{value:"\\sqrt[n]{a^{n}}=\\left ( \\sqrt[n]{a}\\right )^{n} "},{value:"x ={-b \\pm \\sqrt{b^2-4ac}\\over 2a} "},{value:"y-y_{1}=k \\left( x-x_{1}\\right) "},{value:`\\left\\{\\begin{matrix} \r x=a + r\\text{cos}\\theta \\ \r y=b + r\\text{sin}\\theta \r \\end{matrix}\\right. `},{value:`\\begin{array}{l} \r @@ -88,7 +88,7 @@ {"from":-9,"to":-14,"points":[40,-130,58,-130,80,-130,80,-126.66666666666666,102,-126.66666666666666,120,-126.66666666666666]} ]}`;var io=["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 lo(Ue){return console.log("shapeName:",Ue),io.indexOf(Ue)>=0}var dt=new De.YI(mn.current,{maxSelectionCount:1,linkTemplate:hn(De.rU,{locationSpot:De.z6.Center,selectionAdornmentTemplate:hn(De.uz,"Link",{locationSpot:De.z6.Center},hn(De.bn,{isPanelMain:!0,fill:null,stroke:"deepskyblue",strokeWidth:0}),hn(De.bn,{toArrow:"Standard",stroke:null}))},{routing:De.rU.AvoidsNodes,curve:De.rU.JumpOver,corner:5,toShortLength:4},new De.KX("points"),hn(De.bn,{isPanelMain:!0,strokeWidth:2}),hn(De.bn,{toArrow:"Standard",stroke:null})),model:new De.FJ([{text:"\u672A\u547D\u540D",size:"100 100",fill:null,stroke:"#000"},...De.bn.getFigureGenerators().toArray().map(Ue=>({text:"\u672A\u547D\u540D",size:"100 100",figure:Ue.key,fill:"white",stroke:"#666",borderColor:"#000"}))])});return qe.current.addDiagramListener("TextEdited",function(Ue){var We;const Rt=Ue.subject.part;var Cn=(We=document.activeElement)==null?void 0:We.value;typeof Cn=="string"&&Cn.trim()===""&&qe.current.model.commit(function(aa){aa.set(Rt.data,"text","\u672A\u547D\u540D"),qe.current.commandHandler.stopCommand()},"increment")}),dt.nodeTemplate=hn(De.NB,"Auto",{locationSpot:De.z6.Center},new De.KX("location","location",De.E9.parse).makeTwoWay(De.E9.stringify),hn(De.bn,"Circle",{fill:"white",stroke:"gray",strokeWidth:2,width:20,height:20,portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromLinkableSelfNode:!0,toLinkableSelfNode:!0},new De.KX("stroke").makeTwoWay(),new De.KX("fill").makeTwoWay(),new De.KX("figure")),hn(De.al,{margin:new De.Zt(5,5,3,5),font:"10pt sans-serif",minSize:new De.$u(16,16),maxSize:new De.$u(10,NaN),textAlign:"center",editable:!0},new De.KX("key").makeTwoWay())),setTimeout(()=>{qe.current.grid=hn(De.s_,"Grid",hn(De.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),hn(De.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),qe.current.grid.visible=!0,qe.current.grid.gridCellStroke="darkgray",qe.current.grid.gridCellStrokeWidth=1},300),window.myDiagrams=qe.current,qe.current}const ua=()=>bn(this,null,function*(){var hn=qe.current.makeImage();const Ra=yield(0,It.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Date.now(),file:hn.src}});rt({src:Ra.url})});return(0,b.useEffect)(()=>(setTimeout(()=>{fa()},500),ta(ma+1),()=>{qe.current=null}),[]),jt.createElement("div",{ref:ya,className:Wn.current?`${Ut.maxH60} body-overflow-initial`:"body-overflow-initial"},jt.createElement(vt.default,{width:1200,icon:null,footer:null,closable:!0,visible:!!ma,destroyOnClose:!0,maskClosable:!1,rootClassName:"zIndex-9999",title:jt.createElement(Bt.Z,null,jt.createElement(bt.Z,{flex:1},"\u63D2\u5165\u6D41\u7A0B\u56FE"),jt.createElement(bt.Z,{onClick:()=>{var hn,Ra,vr=qe.current.selection.first();if(Wn.current=!Wn.current,document.activeElement&&vr){let fo=(Ra=(hn=document.activeElement)==null?void 0:hn.value)==null?void 0:Ra.trim();typeof fo=="string"&&qe.current.model.commit(function(Nn){Nn.set(vr.data,"text",fo||"\u672A\u547D\u540D"),qe.current.commandHandler.stopCommand()},"increment")}ta(ma+1)}},jt.createElement("span",{className:"current c-blue mr30",style:{fontWeight:400}},"\u5C55\u5F00/\u6536\u8D77"))),onCancel:ke},jt.createElement("div",{style:{width:"100%",height:"80vh",overflow:"hidden",position:"relative"},className:Ut.flowChartWrp},jt.createElement("div",{style:{display:"flex",height:"100%"}},jt.createElement("div",{style:{width:"300px",height:"100%"}},jt.createElement("div",{style:{background:"#fff",position:"relative",zIndex:12,fontSize:16,color:"#3061d0"}},"\u56FE\u5F62\u5E93"),jt.createElement("div",{style:{height:"calc(100% - 50px)"},className:Ut.myPaletteDiv,ref:mn})),jt.createElement("div",{style:{flex:1,position:"relative"}},jt.createElement("div",{ref:Dn,style:{height:"80vh"}}))),jt.createElement("div",{className:"tr"},jt.createElement(ht.ZP,{size:"large",onClick:ua,style:{position:"absolute",right:0,bottom:0,zIndex:8},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))))}var Fe=Lt,xe=re(5112),gt=re(5871);const Mt=xe.ZP.Group,qt={margin:"0 8px"};var Vt=({callback:ke,onCancel:rt})=>{function qe(Dn){ke(Dn)}return b.createElement(Re.default,{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:qe},b.createElement("div",{className:"flex-container",style:{alignItems:"baseline"}},b.createElement("span",{style:qt},"\u5355\u5143\u683C\u6570\uFF1A"),b.createElement("span",{style:qt},"\u884C\u6570"),b.createElement(Re.default.Item,{name:"row",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u884C\u6570"}]},b.createElement(gt.Z,null)),b.createElement("span",{style:qt},"\u5217\u6570"),b.createElement(Re.default.Item,{name:"col",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5217\u6570"}]},b.createElement(gt.Z,null))),b.createElement("div",{className:"flex-container",style:{marginTop:12,alignItems:"baseline"}},b.createElement("span",{style:qt},"\u5BF9\u9F50\u65B9\u5F0F\uFF1A"),b.createElement(Re.default.Item,{name:"align"},b.createElement(Mt,null,b.createElement(xe.ZP,{value:"default"},b.createElement("i",{className:"fa fa-align-justify"})),b.createElement(xe.ZP,{value:"left"},b.createElement("i",{className:"fa fa-align-left"})),b.createElement(xe.ZP,{value:"center"},b.createElement("i",{className:"fa fa-align-center"})),b.createElement(xe.ZP,{value:"right"},b.createElement("i",{className:"fa fa-align-right"}))))),b.createElement("div",{className:"flex-container flex-end"},b.createElement(ht.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),b.createElement(ht.ZP,{type:"ghost",onClick:rt},"\u53D6\u6D88")))},kt=re(78673),rn=re(11081),Wt=re.n(rn),an=(0,b.forwardRef)(({use3d:ke,width:rt,height:qe,callback:Dn,showSaveButton:mn},Wn)=>{const ya=(0,b.useRef)(),ma=(0,b.useRef)(),[ta,fa]=(0,b.useState)(!1),ua=(0,b.useRef)({id:ya,appName:"graphing",width:rt||1e3,height:qe||600,showToolBar:!0,showMenuBar:!0,allowStyleBar:!0,showAlgebraInput:!0,enableLabelDrags:!1,enableShiftDragZoom:!0,showToolBarHelp:!1,errorDialogsActive:!0,showTutorialLink:!0,showLogging:!0,useBrowserForJS:!1});(0,b.useEffect)(()=>{ma.current=new(Wt())(ua.current,!0),window.onload=function(){ma.current.inject("applet_container")}},[]);const hn=()=>{var Ra=window.ggbApplet.getPNGBase64(1,!0,72);return Dn&&Dn(Ra),Ra};return(0,b.useEffect)(()=>{ua.current.appName=ta?"3D":"graphing",ma.current.inject("applet_container")},[ta]),(0,b.useEffect)(()=>{fa(ke)},[ke]),(0,b.useImperativeHandle)(Wn,()=>({getImgData:hn})),b.createElement(b.Fragment,null,b.createElement("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:ya}),b.createElement(Bt.Z,{align:"middle"},b.createElement(bt.Z,{flex:1},b.createElement(kt.Z,{size:"default",checkedChildren:"\u5173\u95ED3D\u56FE\u50CF",unCheckedChildren:"\u5F00\u542F3D\u56FE\u50CF",checked:ta,onChange:Ra=>fa(Ra)})),b.createElement(bt.Z,null,b.createElement(ht.ZP,{size:"large",onClick:hn,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"))))}),mt=re(88615),At=re(1012),xt=re(8591);const cn="link",Dt="upload-image",Ot="add-flowchart",xn="draw-image",Gt="add-flowchart",Kn="code-block",za="add-table",sr="------------",Ya={default:sr,left:`:${sr}`,center:`:${sr}:`,right:`${sr}:`};var Da=re(17904),Lr=(ke,rt,qe)=>new Promise((Dn,mn)=>{var Wn=ta=>{try{ma(qe.next(ta))}catch(fa){mn(fa)}},ya=ta=>{try{ma(qe.throw(ta))}catch(fa){mn(fa)}},ma=ta=>ta.done?Dn(ta.value):Promise.resolve(ta.value).then(Wn,ya);ma((qe=qe.apply(ke,rt)).next())});function cr(){}let Ha=0;const Xa=1e4,Dr="\u2581",Fa="@\u2581\u2581@",Zr="@\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`,Pt=["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 Sn(ke){return/^\d+$/.test(ke)?`${ke}px`:ke}const Zt=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",sn={[Zt+"-B"]:"bold",[Zt+"-I"]:"italic"},On={[cn]:"\u6DFB\u52A0\u94FE\u63A5",[Kn]:"\u6DFB\u52A0\u4EE3\u7801\u5757",[Dt]:"\u6DFB\u52A0\u56FE\u7247",[xn]:"\u6DFB\u52A0\u753B\u56FE",[Ot]:"\u63D2\u5165\u6D41\u7A0B\u56FE",[za]:"\u6DFB\u52A0\u8868\u683C","maths-latex":"\u6570\u5B66\u56FE\u50CF","inline-latex":"LATEX\u516C\u5F0F"};var Jn=({defaultValue:ke="",onChange:rt,width:qe="100%",height:Dn=400,miniToolbar:mn=!1,isFocus:Wn=!1,watch:ya,insertTemp:ma,mode:ta="markdown",id:fa="markdown-editor-id",showResizeBar:ua=!1,noStorage:hn=!1,showNullButton:Ra=!1,showNullProgramButton:vr=!1,hidetoolBar:fo=!1,fullScreen:Nn=!1,onBlur:tn,onCMBeforeChange:Or,onFullScreen:ha,className:qr="",disablePaste:Yr=!1,disabled:na=!1,disabledFill:oo=!1,placeholder:Mo="",values:$r="",extraUse:ho})=>{const[yn,Mr]=(0,b.useState)(null),[io,lo]=(0,b.useState)(ke),[dt,Ue]=(0,b.useState)(ya),[We,Rt]=(0,b.useState)(Nn),[Cn,aa]=(0,b.useState)(""),[Oe,it]=(0,b.useState)(0),[Me,ut]=(0,b.useState)(Dn),[zt,Ga]=(0,b.useState)(!1),ja=(0,b.useRef)((0,At.Z)()),Vn=(0,b.useRef)(!1),Xt=(0,b.useRef)(),[Hn,ba]=(0,b.useState)(0),[La,rr]=(0,b.useState)(0),sa=(0,b.useRef)(),wt=(0,b.useRef)(),ca=(0,b.useRef)(),gr=(0,b.useRef)(),Pr=()=>Lr(void 0,null,function*(){var Sa;const kn=yield Fetch("/api/attachments/distinct_hash_val.json",{method:"post",body:{hash_val:ja.current}});(Sa=kn==null?void 0:kn.attachments)!=null&&Sa.length&&(console.log("cm:",yn,sa),kn.attachments.map($t=>{$t.content_type.indexOf("image")>-1?yn.replaceSelection(`![,](/api/attachments/${$t.id}?type=${$t.content_type})`):$t.content_type.indexOf("video")>-1?yn.replaceSelection(``):$t.content_type.indexOf("pdf")>-1?yn.replaceSelection(`${$t.name}`):yn.replaceSelection(`[${$t.name}](${ENV.API_SERVER}/api/attachments/${$t.id}?type=${$t.content_type})`)}))});(0,b.useEffect)(()=>{const Sa=window.scrollY||window.pageYOffset;lo($r),yn==null||yn.setValue($r),window.scrollTo(0,Sa)},[$r]),(0,b.useEffect)(()=>{ha==null||ha(We)},[We]),(0,b.useEffect)(()=>{if(sa.current){let Sa=function($t,Mn){var pr;if(Yr){Mn.preventDefault();return}const be=Mn.clipboardData;if(be){const jr=be.types.toString(),Za=be.items;if(jr==="Files"||be.types.indexOf("Files")>-1){if(Mn.preventDefault(),ta=="stex")return;try{let mr=Za[1];((pr=Za[0])==null?void 0:pr.kind)==="file"&&(mr=Za[0]);const fr=mr.getAsFile(),Vr=fr.name.split(".").pop();(0,nt.I)(fr,Xr=>{var yo,So,ui;Xr.id?((yo=fr==null?void 0:fr.type)==null?void 0:yo.indexOf("image"))>-1?kn.replaceSelection(``):((So=fr==null?void 0:fr.type)==null?void 0:So.indexOf("video"))>-1?kn.replaceSelection(``):((ui=fr==null?void 0:fr.type)==null?void 0:ui.indexOf("pdf"))>-1?kn.replaceSelection(`${fr.name}`):Pt.includes(Vr)?kn.replaceSelection(`${fr.name}`):kn.replaceSelection(`[${fr.name}](/api/attachments/${Xr.id}?type=${Xr.content_type})`):(Xr==null?void 0:Xr.status)===401&&(xt.ZP.warning((Xr==null?void 0:Xr.message)||"\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),document.location.href="/user/login")})}catch(mr){xt.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};const kn=Je().fromTextArea(sa.current,{mode:ta,lineNumbers:!mn,lineWrapping:!0,value:ke,autoCloseTags:!vr,autoCloseBrackets:!0});return kn.on("keyup",function($t,Mn){Mn.keyCode===8&&($t.getValue()==""?kn.setOption("placeholder",Mo):kn.setOption("placeholder",null))}),kn.on("keydown",function($t,Mn){if(Mn.keyCode===8){var pr=Zn($t);pr&&Mn.preventDefault()}}),Wn&&kn.focus(),kn.on("paste",Sa),kn.on("dragleave",function($t,Mn){wt.current.classList.remove("mouse-hover-md")}),na&&kn.on("beforeChange",function($t,Mn){(Mn.origin==="paste"||Mn.origin==="+input")&&Mn.cancel()}),Mr(kn),()=>{kn.off("paste",Sa)}}},[]);const dr=(0,b.useCallback)(()=>{if(wt.current)try{}catch(Sa){console.log(Sa,"---- to set md editor body height")}},[Me,wt,We]);(0,b.useEffect)(()=>{function Sa(){let kn=new Te.Z($t=>{for(let Mn of $t)(Mn.target.offsetHeight>0||Mn.target.offsetWidth>0)&&(dr(),yn.setSize("100%","100%"),yn.refresh())});return kn.observe(sa.current.parentElement),kn}if(yn){const kn=Sa();return()=>{var $t,Mn;($t=sa.current)!=null&&$t.parentElement&&kn.unobserve((Mn=sa.current)==null?void 0:Mn.parentElement)}}},[yn,dr]),(0,b.useEffect)(()=>{if(yn){let Sa=[];for(const[kn,$t]of Object.entries(sn)){let Mn={[kn]:()=>{Rn($t)}};Sa.push(Mn),yn.addKeyMap(Mn)}return Xt.current=setInterval(()=>{Vn.current&&Pr()},4e3),()=>{clearInterval(Xt.current);for(let kn of Sa)yn.removeKeyMap(kn)}}},[yn]),(0,b.useEffect)(()=>{Nn!==We&&Rt(Nn)},[Nn]),(0,Da.Z)(()=>{if(!hn&&Oe>0){let Sa=new Date().getTime(),kn=window.sessionStorage.getItem(fa);Sa>=Oe+Xa&&(!kn||kn!==io)&&(window.sessionStorage.setItem(fa,io),Ga(!0))}},Xa),(0,b.useEffect)(()=>{Ue(ya)},[yn,ya]),(0,b.useEffect)(()=>{yn&&Wn&&yn.focus()},[yn,Wn]),(0,b.useEffect)(()=>{if(dt&&yn){let Sa=function($t){let Mn=$t.target;if(gr.current){let pr=Mn.scrollTop/Mn.scrollHeight;gr.current.scrollTop=gr.current.scrollHeight*pr}};const kn=yn.getScrollerElement();return kn.addEventListener("scroll",Sa),()=>{kn.removeEventListener("scroll",Sa)}}},[yn,dt]),(0,b.useEffect)(()=>{if(yn&&Or){let Sa=function(kn,$t){Or(kn,$t)};return yn.on("beforeChange",Sa),()=>{yn.off("beforeChange",Sa)}}},[yn,Or]),(0,b.useEffect)(()=>{if(yn&&tn){let Sa=function(){tn(yn.getValue())};return yn.on("blur",Sa),()=>{yn.off("blur",Sa)}}},[yn,tn]);function Zn(Sa,kn){var $t=Sa.getDoc(),Mn=$t.getCursor(),pr=$t.getLine(Mn.line),be=pr.charAt(Mn.ch-1),jr=pr.lastIndexOf("@\u2581@",Mn.ch),Za=pr.lastIndexOf("@\u2581\u2581@",Mn.ch),mr=jr>Za?jr:Za,fr=jr>Za?3:4;if(Fa.indexOf(be)===-1)return null;if(console.log("change1:",kn,Sa,pr,Mn,mr,jr,Za,be),mr>=0&&Mn.ch-mr<5){var Vr=mr+fr;return $t.replaceRange("",{line:Mn.line,ch:mr},{line:Mn.line,ch:Vr}),{line:Mn.line,ch:Vr}}return null}(0,b.useEffect)(()=>{if(yn){let Sa=function(kn,$t){const Mn=kn.getValue();lo(Mn),it(new Date().getTime()),kn.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),rt&&(vr?rt(Mn,Eo(Mn)):rt(Mn))};return yn.on("change",Sa),()=>{yn.off("change",Sa)}}},[yn,rt]),(0,b.useEffect)(()=>{if(yn)if(ke==null)yn.setValue(""),lo("");else{const Sa=window.scrollY||window.pageYOffset;ke!==yn.getValue()&&(yn.setValue(ke),lo(ke),yn.setCursor(na?1:yn.lineCount(),0),window.scrollTo(0,Sa))}},[yn,ke]);const Rn=(0,b.useCallback)(Sa=>{const kn=yn.getCursor(),$t=yn.getSelection();let Mn=$t.split(` +\u6A21\u677F\u6B63\u6587\u5185\u5BB9\uFF0C\u53EF\u8F93\u5165\u6587\u672C\u5185\u5BB9\u548C\u7C98\u8D34\u56FE\u7247\u7B49\u64CD\u4F5C`,Pt=["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 Sn(ke){return/^\d+$/.test(ke)?`${ke}px`:ke}const Zt=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",sn={[Zt+"-B"]:"bold",[Zt+"-I"]:"italic"},On={[cn]:"\u6DFB\u52A0\u94FE\u63A5",[Kn]:"\u6DFB\u52A0\u4EE3\u7801\u5757",[Dt]:"\u6DFB\u52A0\u56FE\u7247",[xn]:"\u6DFB\u52A0\u753B\u56FE",[Ot]:"\u63D2\u5165\u6D41\u7A0B\u56FE",[za]:"\u6DFB\u52A0\u8868\u683C","maths-latex":"\u6570\u5B66\u56FE\u50CF","inline-latex":"LATEX\u516C\u5F0F"};var Jn=({defaultValue:ke="",onChange:rt,width:qe="100%",height:Dn=400,miniToolbar:mn=!1,isFocus:Wn=!1,watch:ya,insertTemp:ma,mode:ta="markdown",id:fa="markdown-editor-id",showResizeBar:ua=!1,noStorage:hn=!1,showNullButton:Ra=!1,showNullProgramButton:vr=!1,hidetoolBar:fo=!1,fullScreen:Nn=!1,onBlur:tn,onCMBeforeChange:Or,onFullScreen:ha,className:qr="",disablePaste:Yr=!1,disabled:na=!1,disabledFill:oo=!1,placeholder:Mo="",values:$r="",extraUse:ho})=>{const[yn,Mr]=(0,b.useState)(null),[io,lo]=(0,b.useState)(ke),[dt,Ue]=(0,b.useState)(ya),[We,Rt]=(0,b.useState)(Nn),[Cn,aa]=(0,b.useState)(""),[Oe,it]=(0,b.useState)(0),[Me,ut]=(0,b.useState)(Dn),[zt,Ga]=(0,b.useState)(!1),ja=(0,b.useRef)((0,At.Z)()),Vn=(0,b.useRef)(!1),Jt=(0,b.useRef)(),[Hn,ba]=(0,b.useState)(0),[La,rr]=(0,b.useState)(0),sa=(0,b.useRef)(),wt=(0,b.useRef)(),ca=(0,b.useRef)(),gr=(0,b.useRef)(),Pr=()=>Lr(void 0,null,function*(){var Sa;const kn=yield Fetch("/api/attachments/distinct_hash_val.json",{method:"post",body:{hash_val:ja.current}});(Sa=kn==null?void 0:kn.attachments)!=null&&Sa.length&&(console.log("cm:",yn,sa),kn.attachments.map($t=>{$t.content_type.indexOf("image")>-1?yn.replaceSelection(`![,](/api/attachments/${$t.id}?type=${$t.content_type})`):$t.content_type.indexOf("video")>-1?yn.replaceSelection(``):$t.content_type.indexOf("pdf")>-1?yn.replaceSelection(`${$t.name}`):yn.replaceSelection(`[${$t.name}](${ENV.API_SERVER}/api/attachments/${$t.id}?type=${$t.content_type})`)}))});(0,b.useEffect)(()=>{const Sa=window.scrollY||window.pageYOffset;lo($r),yn==null||yn.setValue($r),window.scrollTo(0,Sa)},[$r]),(0,b.useEffect)(()=>{ha==null||ha(We)},[We]),(0,b.useEffect)(()=>{if(sa.current){let Sa=function($t,Mn){var pr;if(Yr){Mn.preventDefault();return}const be=Mn.clipboardData;if(be){const jr=be.types.toString(),Za=be.items;if(jr==="Files"||be.types.indexOf("Files")>-1){if(Mn.preventDefault(),ta=="stex")return;try{let mr=Za[1];((pr=Za[0])==null?void 0:pr.kind)==="file"&&(mr=Za[0]);const fr=mr.getAsFile(),Vr=fr.name.split(".").pop();(0,nt.I)(fr,Xr=>{var yo,So,ui;Xr.id?((yo=fr==null?void 0:fr.type)==null?void 0:yo.indexOf("image"))>-1?kn.replaceSelection(``):((So=fr==null?void 0:fr.type)==null?void 0:So.indexOf("video"))>-1?kn.replaceSelection(``):((ui=fr==null?void 0:fr.type)==null?void 0:ui.indexOf("pdf"))>-1?kn.replaceSelection(`${fr.name}`):Pt.includes(Vr)?kn.replaceSelection(`${fr.name}`):kn.replaceSelection(`[${fr.name}](/api/attachments/${Xr.id}?type=${Xr.content_type})`):(Xr==null?void 0:Xr.status)===401&&(xt.ZP.warning((Xr==null?void 0:Xr.message)||"\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),document.location.href="/user/login")})}catch(mr){xt.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};const kn=Je().fromTextArea(sa.current,{mode:ta,lineNumbers:!mn,lineWrapping:!0,value:ke,autoCloseTags:!vr,autoCloseBrackets:!0});return kn.on("keyup",function($t,Mn){Mn.keyCode===8&&($t.getValue()==""?kn.setOption("placeholder",Mo):kn.setOption("placeholder",null))}),kn.on("keydown",function($t,Mn){if(Mn.keyCode===8){var pr=Zn($t);pr&&Mn.preventDefault()}}),Wn&&kn.focus(),kn.on("paste",Sa),kn.on("dragleave",function($t,Mn){wt.current.classList.remove("mouse-hover-md")}),na&&kn.on("beforeChange",function($t,Mn){(Mn.origin==="paste"||Mn.origin==="+input")&&Mn.cancel()}),Mr(kn),()=>{kn.off("paste",Sa)}}},[]);const dr=(0,b.useCallback)(()=>{if(wt.current)try{}catch(Sa){console.log(Sa,"---- to set md editor body height")}},[Me,wt,We]);(0,b.useEffect)(()=>{function Sa(){let kn=new Te.Z($t=>{for(let Mn of $t)(Mn.target.offsetHeight>0||Mn.target.offsetWidth>0)&&(dr(),yn.setSize("100%","100%"),yn.refresh())});return kn.observe(sa.current.parentElement),kn}if(yn){const kn=Sa();return()=>{var $t,Mn;($t=sa.current)!=null&&$t.parentElement&&kn.unobserve((Mn=sa.current)==null?void 0:Mn.parentElement)}}},[yn,dr]),(0,b.useEffect)(()=>{if(yn){let Sa=[];for(const[kn,$t]of Object.entries(sn)){let Mn={[kn]:()=>{Rn($t)}};Sa.push(Mn),yn.addKeyMap(Mn)}return Jt.current=setInterval(()=>{Vn.current&&Pr()},4e3),()=>{clearInterval(Jt.current);for(let kn of Sa)yn.removeKeyMap(kn)}}},[yn]),(0,b.useEffect)(()=>{Nn!==We&&Rt(Nn)},[Nn]),(0,Da.Z)(()=>{if(!hn&&Oe>0){let Sa=new Date().getTime(),kn=window.sessionStorage.getItem(fa);Sa>=Oe+Xa&&(!kn||kn!==io)&&(window.sessionStorage.setItem(fa,io),Ga(!0))}},Xa),(0,b.useEffect)(()=>{Ue(ya)},[yn,ya]),(0,b.useEffect)(()=>{yn&&Wn&&yn.focus()},[yn,Wn]),(0,b.useEffect)(()=>{if(dt&&yn){let Sa=function($t){let Mn=$t.target;if(gr.current){let pr=Mn.scrollTop/Mn.scrollHeight;gr.current.scrollTop=gr.current.scrollHeight*pr}};const kn=yn.getScrollerElement();return kn.addEventListener("scroll",Sa),()=>{kn.removeEventListener("scroll",Sa)}}},[yn,dt]),(0,b.useEffect)(()=>{if(yn&&Or){let Sa=function(kn,$t){Or(kn,$t)};return yn.on("beforeChange",Sa),()=>{yn.off("beforeChange",Sa)}}},[yn,Or]),(0,b.useEffect)(()=>{if(yn&&tn){let Sa=function(){tn(yn.getValue())};return yn.on("blur",Sa),()=>{yn.off("blur",Sa)}}},[yn,tn]);function Zn(Sa,kn){var $t=Sa.getDoc(),Mn=$t.getCursor(),pr=$t.getLine(Mn.line),be=pr.charAt(Mn.ch-1),jr=pr.lastIndexOf("@\u2581@",Mn.ch),Za=pr.lastIndexOf("@\u2581\u2581@",Mn.ch),mr=jr>Za?jr:Za,fr=jr>Za?3:4;if(Fa.indexOf(be)===-1)return null;if(console.log("change1:",kn,Sa,pr,Mn,mr,jr,Za,be),mr>=0&&Mn.ch-mr<5){var Vr=mr+fr;return $t.replaceRange("",{line:Mn.line,ch:mr},{line:Mn.line,ch:Vr}),{line:Mn.line,ch:Vr}}return null}(0,b.useEffect)(()=>{if(yn){let Sa=function(kn,$t){const Mn=kn.getValue();lo(Mn),it(new Date().getTime()),kn.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),rt&&(vr?rt(Mn,Eo(Mn)):rt(Mn))};return yn.on("change",Sa),()=>{yn.off("change",Sa)}}},[yn,rt]),(0,b.useEffect)(()=>{if(yn)if(ke==null)yn.setValue(""),lo("");else{const Sa=window.scrollY||window.pageYOffset;ke!==yn.getValue()&&(yn.setValue(ke),lo(ke),yn.setCursor(na?1:yn.lineCount(),0),window.scrollTo(0,Sa))}},[yn,ke]);const Rn=(0,b.useCallback)(Sa=>{const kn=yn.getCursor(),$t=yn.getSelection();let Mn=$t.split(` `);switch(Sa){case"bold":return yn.replaceSelection("**"+$t+"**"),$t===""&&yn.setCursor(kn.line,kn.ch+2),yn.focus();case"italic":return yn.replaceSelection("*"+$t+"*"),$t===""&&yn.setCursor(kn.line,kn.ch+1),yn.focus();case"code":return yn.replaceSelection("`"+$t+"`"),$t===""&&yn.setCursor(kn.line,kn.ch+1),yn.focus();case"inline-latex":return aa("inline-latex"),yn.focus();case"latex":return yn.replaceSelection("```latex\n"+$t+"\n```"),yn.setCursor(kn.line+1,$t.length+1),yn.focus();case"line-break":return yn.replaceSelection(`
`),yn.focus();case"list-ul":return $t===""?yn.replaceSelection("- "+$t):yn.replaceSelection(Mn.map(pr=>pr===""?"":`- ${pr}`).join(` `)),yn.focus();case"list-ol":return $t===""?yn.replaceSelection("1. "+$t):yn.replaceSelection(Mn.map((pr,be)=>pr===""?"":`${be+1}. ${pr}`).join(` @@ -109,17 +109,17 @@ `}},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:Mt(an)}],yAxis:[{type:"value",gridIndex:0,axisTick:{show:!1},axisLine:{show:!1},axisLabel:{show:!0,color:"#9096A3",formatter:Ut==1?"{value} MiB":"{value} Cores"},splitLine:{show:!0,lineStyle:{color:"#EDEDED",type:"dashed"}}}],series:mt};xe.setOption(At)};return ee.createElement("div",{id:`lineChart${Ut}`,className:E.lineChart})},le=re(71360),ie={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"},Ce=re(57809),ye=re(5083),Ge=re(88522);const Re=It=>{const Ut=new Date,bn=(Lt=>{const Fe=new Date(Ut);switch(Lt){case"\u6700\u8FD130\u5206\u949F":Fe.setMinutes(Ut.getMinutes()-30);break;case"\u6700\u8FD13\u5C0F\u65F6":Fe.setHours(Ut.getHours()-3);break;case"\u6700\u8FD124\u5C0F\u65F6":Fe.setDate(Ut.getDate()-1);break;case"\u6700\u8FD17\u5929":Fe.setDate(Ut.getDate()-7);break;case"\u6700\u8FD115\u5929":Fe.setDate(Ut.getDate()-15);break;default:return null}return Fe})(It);return bn?{startTime:bn,endTime:Ut}:null},St=(It,Ut,jt)=>{if(!It)return!1;const bn=y()(),[Lt,Fe]=Ut;if(It.isAfter(bn))return!0;if(Lt){const xe=Lt.clone().add(jt,"days");if(Fe&&It.isAfter(xe))return!0}if(Fe){const xe=Fe.clone().subtract(jt,"days");return It.isBefore(xe)||It.isAfter(bn)}return!1},ht=It=>It<=5?"30s":It<=15?"1m":It<=30?"2m":It<=60?"5m":It<=180?"10m":It<=360?"30m":It<=720?"1h":It<=1440?"2h":It<=2880?"4h":It<=4320?"8h":It<=10080||It<=14400?"12h":It<=21600?"1d":"\u6CA1\u6709\u5339\u914D\u7684\u65F6\u95F4\u95F4\u9694",pt=It=>{const[Ut,jt]=It,bn=moment.isMoment(Ut)?Ut:moment(Ut),Lt=moment.isMoment(jt)?jt:moment(jt);if(!bn.isValid()||!Lt.isValid())throw new Error("Invalid date provided");const xe=moment.duration(Lt.diff(bn)).asMinutes();return ht(xe)},Gn=(It,Ut,jt=20)=>{const bn=new Date(It).getTime(),Lt=new Date(Ut).getTime(),Fe=jt*1e3,xe=[];let gt=bn;for(;gt<=Lt;)xe.push(gt),gt+=Fe;return xe};var Tn=re(89392),da=re(57884),$n=re(2610),_t=re(59301),In=(It,Ut,jt)=>new Promise((bn,Lt)=>{var Fe=Mt=>{try{gt(jt.next(Mt))}catch(qt){Lt(qt)}},xe=Mt=>{try{gt(jt.throw(Mt))}catch(qt){Lt(qt)}},gt=Mt=>Mt.done?bn(Mt.value):Promise.resolve(Mt.value).then(Fe,xe);gt((jt=jt.apply(It,Ut)).next())});const ct=Ce.default.Option,{RangePicker:Tt}=ye.default;var fn=({identifier:It,data:Ut,isFirst:jt,setIsFirst:bn,info:Lt})=>{var Fe;const[xe,gt]=(0,b.useState)([]),[Mt,qt]=(0,b.useState)([]),[Vt,kt]=(0,b.useState)(null),[rn,Wt]=(0,b.useState)(""),[yt,an]=(0,b.useState)([null,null]),[mt,At]=(0,b.useState)([]),[xt,cn]=(0,b.useState)(!1),[Dt,Ot]=(0,b.useState)([]),[xn,Gt]=(0,b.useState)(!1),[Kn,za]=(0,b.useState)(!1),[sr,Ya]=(0,b.useState)(""),[Da,Lr]=(0,b.useState)(1),cr=["\u6700\u8FD130\u5206\u949F","\u6700\u8FD13\u5C0F\u65F6","\u6700\u8FD124\u5C0F\u65F6","\u6700\u8FD17\u5929","\u6700\u8FD115\u5929"],Ha=["#DA4928","#2EC25B","#FEBD49","#498FEA","#9363D8"];(0,b.useEffect)(()=>{var Zt,sn,On,Jn;if(Ut&&jt){Sn(),gt(Ut==null?void 0:Ut.recent_users),qt(Ut==null?void 0:Ut.managers);const ke=(Lt==null?void 0:Lt.type)==="\u6311\u6218\u9875\u9762";((Zt=Ut==null?void 0:Ut.managers)==null?void 0:Zt.length)>0?kt(ke?Lt==null?void 0:Lt.myshixun_id:(sn=Ut==null?void 0:Ut.managers[0])==null?void 0:sn.id):((On=Ut==null?void 0:Ut.recent_users)==null?void 0:On.length)>0&&kt(ke?Lt==null?void 0:Lt.myshixun_id:(Jn=Ut==null?void 0:Ut.recent_users[0])==null?void 0:Jn.id),Wt("\u6700\u8FD130\u5206\u949F"),bn(!1)}},[Ut]),(0,b.useEffect)(()=>{if(rn){let Zt=Re(rn);an([y()(Zt==null?void 0:Zt.startTime),y()(Zt==null?void 0:Zt.endTime)])}},[rn]),(0,b.useEffect)(()=>{Vt&&(yt!=null&&yt[0])&&(yt!=null&&yt[1])&&Xa()},[Vt,yt]);const Xa=()=>In(void 0,null,function*(){var Zt;cn(!0);let sn={startTimeString:yt[0]?yt[0].format("YYYY-MM-DD HH:mm"):null,endTimeString:yt[1]?yt[1].format("YYYY-MM-DD HH:mm"):null,samplingInterval:"20s",isSortBoolean:!1,id:Vt};const On=yield(0,de.ZP)(`/api/shixuns/${It}/cpu_rank_data.json`,{method:"get",params:sn});(On==null?void 0:On.status)==0&&(Ot((Zt=On==null?void 0:On.data)==null?void 0:Zt.statisticsList),Lr(Da+1)),cn(!1)}),Dr=(0,b.useRef)((0,Tn.throttle)(Zt=>Fa(Zt),1200,{leading:!0,trailing:!0})).current,Fa=Zt=>In(void 0,null,function*(){if(Zt=="")return;const sn=yield(0,de.ZP)(`/api/shixuns/${It}/cpu_search_data`,{method:"get",params:{search:Zt}});(sn==null?void 0:sn.status)==0&&At(sn==null?void 0:sn.data)}),Zr=(Zt,sn)=>{Zt==="CPU"?(xn?(0,$n.BU)():(0,$n.Dj)(document.getElementById(`tj${sn}`)),Gt(!xn)):(Kn?(0,$n.BU)():(0,$n.Dj)(document.getElementById(`tj${sn}`)),za(!Kn))},br=(Zt,sn,On)=>{const Jn=sn==="CPU"?"cpuUsageChart":"memoryUsageChart";let ke=Zt.map(qe=>{var Dn,mn,Wn,ya;const ma=(Dn=qe.promQueryResult)==null?void 0:Dn[Jn],ta=`${qe.envId}-${qe.myPracticalTrainingId}_${sn}`,fa=((ya=(Wn=(mn=ma==null?void 0:ma.results[ta])==null?void 0:mn.frames[0])==null?void 0:Wn.data)==null?void 0:ya.values)||[];return fa.length>0?fa[On]:[]});return ke.some(qe=>Array.isArray(qe)&&qe.length>0)?ke:[]},Pt=Zt=>{kt(Zt),Sn()},Sn=()=>{At([]),Ya("")},Fn=Zt=>{let sn=!1;for(let On=0;On<(Dt==null?void 0:Dt.length);On++){let Jn=br(Dt,Zt,1)[On];if(Jn&&(Jn==null?void 0:Jn.length)>0){sn=!0;break}}return(Dt==null?void 0:Dt.length)>0&&sn};return _t.createElement(_t.Fragment,null,_t.createElement("div",{className:`${ie.flex_warp}`},_t.createElement(Ge.Z,{allowClear:!0,showSearch:!0,value:sr,style:{width:280},onSearch:Dr,placeholder:"\u641C\u7D22\u59D3\u540D/\u624B\u673A\u53F7/\u90AE\u7BB1",onChange:(Zt,sn)=>{Ya(Zt),sn!=null&&sn.key&&kt(Number(sn==null?void 0:sn.key))},onClear:Sn,size:"large"},mt==null?void 0:mt.map((Zt,sn)=>_t.createElement(ct,{key:Zt.id,value:Zt.name},Zt.name.length>4?`${Zt.name.slice(0,4)}...`:Zt.name,`( ${Zt.phone?Zt.phone:""} ${Zt.mail?` - ${Zt.mail}`:""})`))),_t.createElement("div",null,_t.createElement(Ce.default,{style:{width:130,marginRight:20},placeholder:"\u8BF7\u9009\u62E9",size:"large",value:rn,onChange:Zt=>{Wt(Zt)}},cr.map((Zt,sn)=>_t.createElement(Ce.default.Option,{key:sn,value:Zt},Zt))),_t.createElement(Tt,{style:{width:320},showTime:!0,size:"large",allowClear:!1,value:yt,disabledDate:Zt=>St(Zt,yt,15),format:"YYYY-MM-DD HH:mm",onChange:Zt=>{an(Zt),Wt(void 0)}}))),_t.createElement(le.qp,{title:"\u5408\u4F5C\u6210\u5458",style:{marginTop:"24px"},value:Vt,onChange:Zt=>Pt(Zt),dataSource:Mt,titleWidth:60,key:1}),_t.createElement(le.qp,{title:"\u6700\u8FD1\u5B9E\u9A8C",className:(xe==null?void 0:xe.length)==0?"mt0":"",style:{marginBottom:(xe==null?void 0:xe.length)>0?"0px":"17px"},value:Vt,onChange:Zt=>Pt(Zt),dataSource:xe,titleWidth:60,key:2}),(Fe=[{name:"CPU",type:"CPU"},{name:"\u5185\u5B58",type:"MEMORY"}])==null?void 0:Fe.map((Zt,sn)=>_t.createElement("div",{className:`${ie.chart_content}`,key:sn,id:`tj${sn}`},_t.createElement("div",{className:ie.chart_title},_t.createElement("span",null,Zt==null?void 0:Zt.name,"\u4F7F\u7528\u91CF"),_t.createElement("i",{className:`${ie.fullscreen} iconfont ${(Zt==null?void 0:Zt.type)=="CPU"?xn?"icon-tuichuquanping2":"icon-quanping2":Kn?"icon-tuichuquanping2":"icon-quanping2"} - `,onClick:()=>Zr(Zt.type,sn)})),_t.createElement(lt.Z,{spinning:xt},Fn(Zt.type)?_t.createElement("div",{style:{marginTop:(Zt==null?void 0:Zt.type)=="CPU"?xn?"7%":"":Kn?"7%":""}},_t.createElement(oe,{dataInfo:{y:br(Dt,Zt==null?void 0:Zt.type,1)||[],x:br(Dt,Zt==null?void 0:Zt.type,0)||[]},startAndEndTime:yt,colors:Ha,indexKey:sn,valueName:Dt.map(On=>On.name),imageTypeName:Dt.map(On=>{var Jn;return(Jn=On==null?void 0:On.promQueryResult)==null?void 0:Jn.imageTypeName}),key:`${sn}-${Da}`}),_t.createElement("div",{className:ie.info_con},_t.createElement("div",{className:ie.info_top},_t.createElement("div",null,"\u6700\u5927\u503C"),_t.createElement("div",null,"\u6700\u5C0F\u503C"),_t.createElement("div",null,"\u5E73\u5747\u503C")),Dt.map((On,Jn)=>{var ke;let rt=On==null?void 0:On.promQueryResult;return _t.createElement("div",{className:ie.listdata,key:Jn},_t.createElement("div",{className:ie.block,style:{backgroundColor:Ha[Jn],marginRight:10}}),_t.createElement("div",{className:ie.typename},(ke=On==null?void 0:On.promQueryResult)==null?void 0:ke.imageTypeName),_t.createElement("div",{className:ie.val},(Zt==null?void 0:Zt.type)=="CPU"?`${rt==null?void 0:rt.cpuMaxDoubleValue}Cores`:`${rt==null?void 0:rt.memoryDoubleMaxValue}MiB`),_t.createElement("div",{className:ie.val},(Zt==null?void 0:Zt.type)=="CPU"?`${rt==null?void 0:rt.cpuMinDoubleValue}Cores`:`${rt==null?void 0:rt.memoryDoubleMinValue}MiB`),_t.createElement("div",{className:ie.val},(Zt==null?void 0:Zt.type)=="CPU"?`${rt==null?void 0:rt.cpuAvgDoubleValue}Cores`:`${rt==null?void 0:rt.memoryDoubleAvgValue}MiB`))}))):_t.createElement(da.Z,null)))))},vn=re(59301),nt=(It,Ut,jt)=>new Promise((bn,Lt)=>{var Fe=Mt=>{try{gt(jt.next(Mt))}catch(qt){Lt(qt)}},xe=Mt=>{try{gt(jt.throw(Mt))}catch(qt){Lt(qt)}},gt=Mt=>Mt.done?bn(Mt.value):Promise.resolve(Mt.value).then(Fe,xe);gt((jt=jt.apply(It,Ut)).next())}),Bt=({getApi:It,identifier:Ut,visible:jt,info:bn})=>{const[Lt,Fe]=(0,b.useState)({}),[xe,gt]=(0,b.useState)(!0);(0,b.useEffect)(()=>{gt(!0)},[jt]),(0,b.useEffect)(()=>{It&&xe&&Mt()},[It]);const Mt=()=>nt(void 0,null,function*(){const qt=yield(0,de.ZP)(`/api/shixuns/${Ut}/cpu_basic_data.json`,{method:"get"});(qt==null?void 0:qt.status)==0&&Fe(qt)});return vn.createElement("div",null,vn.createElement(fn,{isFirst:xe,setIsFirst:qt=>gt(qt),identifier:Ut,data:Lt,info:bn}))},Bn=re(49661),nn=re(76560),on=re(67135),De=re(23869),Pe=re(59301),He=(It,Ut,jt)=>new Promise((bn,Lt)=>{var Fe=Mt=>{try{gt(jt.next(Mt))}catch(qt){Lt(qt)}},xe=Mt=>{try{gt(jt.throw(Mt))}catch(qt){Lt(qt)}},gt=Mt=>Mt.done?bn(Mt.value):Promise.resolve(Mt.value).then(Fe,xe);gt((jt=jt.apply(It,Ut)).next())});const Ft=({globalSetting:It,dispatch:Ut,practiceSetting:jt,shixunsDetail:bn,visible:Lt,onCancel:Fe,info:xe,identifier:gt,isJupyter:Mt,onOk:qt})=>{const[Vt,kt]=(0,b.useState)("1"),[rn,Wt]=(0,b.useState)("\u63A8\u8350\u914D\u7F6E"),[yt,an]=(0,b.useState)([]),[mt,At]=(0,b.useState)(!1),[xt,cn]=(0,b.useState)(!1),[Dt,Ot]=(0,b.useState)({}),[xn,Gt]=(0,b.useState)(!1);(0,b.useEffect)(()=>{Lt&&(cn(!1),kt("1"),Wt("\u63A8\u8350\u914D\u7F6E"),(xe==null?void 0:xe.type)=="\u6311\u6218\u9875\u9762"?an(["\u5F53\u524D\u914D\u7F6E","\u63A8\u8350\u914D\u7F6E"]):an(["\u5F53\u524D\u914D\u7F6E","\u63A8\u8350\u914D\u7F6E","\u589E\u5F3A\u914D\u7F6E"]),Ot({}),Kn(),(xe==null?void 0:xe.type)=="\u6311\u6218\u9875\u9762"&&Ut({type:"shixunsDetail/getShixunsDetail",payload:{id:gt}}))},[Lt]);const Kn=()=>He(void 0,null,function*(){Gt(!0);const Xa=yield(0,on.HS)(gt);[0,-10].includes(Xa.status)&&(Ot(Xa),Gt(!1))}),za=Xa=>{Xa=="2"?cn(!0):cn(!1),kt(Xa)},sr=()=>{Be.default.info({centered:!0,icon:null,width:424,title:"\u8054\u7CFB\u5E73\u53F0\u7BA1\u7406\u5458",content:Pe.createElement("div",{className:"tc"},Pe.createElement("img",{src:ot,alt:"\u4E8C\u7EF4\u7801",width:182,height:182,style:{pointerEvents:"none",userSelect:"none"}})),okText:"\u6211\u77E5\u9053\u4E86"})},Ya=()=>He(void 0,null,function*(){if((0,De.gy)(Ut,"\u4E0D\u80FD\u9009\u62E9/\u66F4\u6362\u5B9E\u9A8C\u73AF\u5883")||rn=="\u5F53\u524D\u914D\u7F6E")return;At(!0),(yield(0,de.ZP)(`/api/shixuns/${gt}/apply_recommend_config.json`,{method:"put",body:{data:rn=="\u63A8\u8350\u914D\u7F6E"?Dt==null?void 0:Dt.recommend:Dt==null?void 0:Dt.high}})).status==0&&(Je.ZP.success("\u5E94\u7528\u6210\u529F"),At(!1),Fe(),qt())}),Da=()=>He(void 0,null,function*(){var Xa,Dr;if(yield Lr(),(0,Bn.L9)(["\u5B9E\u8DF5\u9879\u76EE","\u8BBE\u7F6E","\u6A21\u62DF\u5B9E\u6218"]),(Xa=bn.detail)!=null&&Xa.is_jupyter||(Dr=bn.detail)!=null&&Dr.is_jupyter_lab){Ut({type:"shixunsDetail/execJupyter",payload:{id:gt}}).then(Zr=>{var br;Zr!=null&&Zr.identifier&&((br=nn.history)==null||br.push(`/tasks/${Zr.identifier}/jupyter`))});return}Ut({type:"globalSetting/setGlobalLoading",payload:{show:!0,text:"\u6B63\u5728\u8FDB\u5165\u5B9E\u8DF5\u9879\u76EE\uFF0C\u8BF7\u7A0D\u540E..."}});const Fa=Mt?yield(0,on.BK)({id:gt}):yield(0,on.Ir)({id:gt});if(Ut({type:"globalSetting/setGlobalLoading",payload:{show:!1,text:""}}),Fa!=null&&Fa.game_identifier||Fa!=null&&Fa.identifier){(0,Bn.xg)(Mt?`/tasks/${Fa==null?void 0:Fa.identifier}/jupyter`:`/tasks/${Fa.game_identifier}`);return}(Fa==null?void 0:Fa.status)===-3?(0,Bn.eF)():(Fa==null?void 0:Fa.status)===2?cr(Fa==null?void 0:Fa.message):(Fa==null?void 0:Fa.status)===3&&Ha(Fa==null?void 0:Fa.message)}),Lr=()=>new Promise((Xa,Dr)=>{var Fa;(Fa=jt==null?void 0:jt.sideBar)!=null&&Fa.confirmLeave?Be.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:()=>{Ut({type:"practiceSetting/setSideBarTabs",payload:{confirmLeave:!1}}),Xa()},onCancel:()=>{Dr()}}):Xa()}),cr=Xa=>{Xa=Xa!=null&&Xa.includes(".json")?Xa:`${Xa}.json`,Be.default.confirm({centered:!0,title:"\u63D0\u793A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",content:Pe.createElement("div",{className:"tc font16"},"\u5B9E\u8BAD\u5DF2\u7ECF\u66F4\u65B0\u4E86\uFF0C\u6B63\u5728\u4E3A\u60A8\u91CD\u7F6E!"),onOk:()=>He(void 0,null,function*(){const Dr=yield(0,de.ZP)("/api"+Xa,{method:"get"});if(!Dr)return;Je.ZP.success("\u91CD\u7F6E\u6210\u529F\uFF0C\u6B63\u5728\u8FDB\u5165\u5B9E\u8DF5\u9879\u76EE\uFF01");const Fa=yield(0,on.Ir)({id:Dr.shixun_identifier});if(Fa!=null&&Fa.game_identifier){(0,Bn.xg)(`/tasks/${Fa.game_identifier}`);return}(Fa==null?void 0:Fa.status)===2?cr(Fa==null?void 0:Fa.message):(Fa==null?void 0:Fa.status)===3&&Ha(Fa==null?void 0:Fa.message)})})},Ha=Xa=>{Be.default.confirm({centered:!0,title:"\u63D0\u793A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",content:Pe.createElement("div",{className:"tc font16"},"\u76EE\u524D\u8BE5\u5B9E\u8DF5\u9879\u76EE\u5C1A\u5728\u5185\u6D4B\u4E2D\uFF0C\u5C06\u4E8E",Xa,"\u4E4B\u540E\u5F00\u653E\uFF0C\u8C22\u8C22\uFF01")})};return Pe.createElement(Pe.Fragment,null,Pe.createElement(Te.Z,{title:null,placement:"right",open:Lt,width:1e3,onClose:Fe,closeIcon:null,footer:null},Pe.createElement("div",{className:Ke.header_body},Pe.createElement("span",null,"\u914D\u7F6E\u4E0E\u76D1\u63A7"),Pe.createElement(Ie.Z,{className:Ke.close,onClick:Fe})),Pe.createElement(Ze.default,{activeKey:Vt,onChange:za},Pe.createElement(Ze.default.TabPane,{tab:"\u63A8\u8350\u914D\u7F6E",key:1},Pe.createElement(lt.Z,{spinning:xn,size:"large",tip:Pe.createElement("div",{style:{color:"#666",fontSize:"14px"}},Pe.createElement("div",{style:{color:"#232B40",fontWeight:"bolder",marginBottom:24,marginTop:14}},"\u6B63\u5728\u8BA1\u7B97\u2026"),Pe.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",Pe.createElement("br",null),"\u8BF7\u8010\u5FC3\u7B49\u5F85\u2026"))},(Dt==null?void 0:Dt.status)==0?Pe.createElement(Pe.Fragment,null,Pe.createElement("div",{className:Ke.recommend_config_introduce},Pe.createElement("div",null,"\u5F53\u524D\u914D\u7F6E\uFF1A\u5B9E\u9A8C\u73AF\u5883\u76EE\u524D\u5DF2\u7ECF\u914D\u7F6E\u7684\u8D44\u6E90\u3002"),Pe.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"),Pe.createElement("div",null,"\u589E\u5F3A\u914D\u7F6E\uFF1A\u9002\u7528\u4E8E\u8D44\u6E90\u6D88\u8017\u8F83\u9AD8\u7684\u5B9E\u8DF5\u9879\u76EE\u3002")),Pe.createElement("div",{className:Ke.recommend_config},yt.map((Xa,Dr)=>Pe.createElement("div",{className:`${Ke.recommend_config_item} ${Xa==rn?Ke.recommend_config_active_item:""}`,key:Xa,onClick:()=>Wt(Xa)},Pe.createElement("div",{className:Ke.item_title},Pe.createElement("div",null,Xa),Dr==1?Pe.createElement("div",{className:Ke.recommend_text},"\u63A8\u8350"):Pe.createElement(Pe.Fragment,null)),(Xa=="\u5F53\u524D\u914D\u7F6E"&&(Dt==null?void 0:Dt.current)||Xa=="\u63A8\u8350\u914D\u7F6E"&&(Dt==null?void 0:Dt.recommend)||Xa=="\u589E\u5F3A\u914D\u7F6E"&&(Dt==null?void 0:Dt.high)||[]).map((Fa,Zr)=>Pe.createElement("div",{className:Ke.item_content,key:Zr},Pe.createElement("span",null,Fa==null?void 0:Fa.image_name),Fa!=null&&Fa.cpu_limit?Pe.createElement("span",null,Fa==null?void 0:Fa.cpu_limit,"\u6838",Fa==null?void 0:Fa.memory_limit,"G"):Pe.createElement("div",null,Pe.createElement("span",null,"\u6682\u65E0\u63A8\u8350"),Pe.createElement(he.Z,{title:Pe.createElement("div",{style:{lineHeight:"22px",padding:5}},"\u5B9E\u9A8C\u73AF\u5883\u4E3A\u7279\u6B8A\u7684\u4E13\u6709\u4E91\u6216\u65E0\u4F7F\u7528\u6570",Pe.createElement("br",null),"\u636E\uFF0C\u7CFB\u7EDF\u65E0\u6CD5\u7ED9\u51FA\u63A8\u8350\u503C\u3002\u4E00\u952E\u5E94\u7528",Pe.createElement("br",null),"\u7684\u65F6\u5019\uFF0C\u5C06\u4F7F\u7528\u539F\u914D\u7F6E\u3002")},Pe.createElement(tt.Z,{className:Ke.tooltip})))))))),Pe.createElement("div",{className:Ke.recommend_config_footer},Pe.createElement("div",null,Pe.createElement("span",null,"\u6CA1\u627E\u5230\u5408\u9002\u7684\u914D\u7F6E\uFF1F"),Pe.createElement("span",{style:{color:"#3061D0",cursor:"pointer"},onClick:()=>sr()},"\u8054\u7CFB\u7BA1\u7406\u5458")),Pe.createElement(Xe.ZP,{type:"primary",shape:"round",disabled:rn=="\u5F53\u524D\u914D\u7F6E",onClick:Ya,loading:mt},"\u4E00\u952E\u5E94\u7528"))):xn?Pe.createElement("div",{style:{height:400}}):Pe.createElement("div",{className:Ke.no_data},Pe.createElement("img",{src:Qe,style:{pointerEvents:"none",userSelect:"none",width:212,height:160}}),Pe.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",Pe.createElement("br",null),"\u5EFA\u8BAE\u60A8\u5148\u6A21\u62DF\u5B9E\u6218\u5E76\u901A\u5173~"),(xe==null?void 0:xe.type)!="\u6311\u6218\u9875\u9762"&&Pe.createElement("div",{className:Ke.application,onClick:()=>{Da(),Fe()}},"\u6A21\u62DF\u5B9E\u6218")))),Pe.createElement(Ze.default.TabPane,{tab:"\u8D44\u6E90\u76D1\u63A7",key:2},Pe.createElement(Bt,{getApi:xt,identifier:gt,visible:Lt,info:xe})))))};var bt=(0,nn.connect)(({globalSetting:It,practiceSetting:Ut,shixunsDetail:jt})=>({globalSetting:It,practiceSetting:Ut,shixunsDetail:jt}))(Ft)},40151:function(je,Nt,re){"use strict";re.d(Nt,{Z:function(){return Re}});var b=re(59301),Be=re(43418),Je=re(3113),Te=re(8591),Ze=re(99313),lt=re(71418),he=re(10311),Xe=re(5871),Ke=re(1710),Ie={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"},tt=re(11724),ot=re(62772),Qe=re(82093),de=re(57884),a=re(59301),E=Object.defineProperty,x=Object.defineProperties,y=Object.getOwnPropertyDescriptors,ee=Object.getOwnPropertySymbols,ne=Object.prototype.hasOwnProperty,oe=Object.prototype.propertyIsEnumerable,le=(St,ht,pt)=>ht in St?E(St,ht,{enumerable:!0,configurable:!0,writable:!0,value:pt}):St[ht]=pt,ie=(St,ht)=>{for(var pt in ht||(ht={}))ne.call(ht,pt)&&le(St,pt,ht[pt]);if(ee)for(var pt of ee(ht))oe.call(ht,pt)&&le(St,pt,ht[pt]);return St},Ce=(St,ht)=>x(St,y(ht)),ye=(St,ht,pt)=>new Promise((Gn,Tn)=>{var da=In=>{try{_t(pt.next(In))}catch(ct){Tn(ct)}},$n=In=>{try{_t(pt.throw(In))}catch(ct){Tn(ct)}},_t=In=>In.done?Gn(In.value):Promise.resolve(In.value).then(da,$n);_t((pt=pt.apply(St,ht)).next())}),Re=({visible:St,onOk:ht,onCancel:pt,info:Gn})=>{var Tn,da,$n,_t,In;const[ct,Tt]=(0,b.useState)("1"),[ln,fn]=(0,b.useState)([]),[vn,nt]=(0,b.useState)([]),[vt,Bt]=(0,b.useState)(0),[Bn,nn]=(0,b.useState)(null),[on,De]=(0,b.useState)(!1);(0,b.useEffect)(()=>{St&&(Pe(),He(),Ft())},[St]);const Pe=()=>{Tt("1"),fn([]),nn(null),Bt(0)};(0,b.useEffect)(()=>{var xe,gt;((gt=(xe=vn==null?void 0:vn[vt])==null?void 0:xe.content)==null?void 0:gt.length)>0&&nn(Ce(ie({},vn[vt].content[0]),{index:0}))},[ct,vt,vn]);const He=()=>ye(void 0,null,function*(){De(!0),yield(0,Qe.ZP)("/api/home/cpu_memory_limit.json",{method:"GET"}).then(xe=>{let{max_cpu:gt,max_memory:Mt,min_cpu:qt,min_memory:Vt}=xe,{cpu:kt,memory:rn}=Gn;fn([{name:"CPU",value:kt,min:qt,max:gt,typeName:"\u6838"},{name:"\u5185\u5B58",value:rn,min:Vt,max:Mt,typeName:"GB"}])}),De(!1)}),Ft=()=>ye(void 0,null,function*(){yield(0,Qe.ZP)("/api/home/example_cpu_list.json",{method:"GET"}).then(xe=>{var gt;if(nt(xe),(xe==null?void 0:xe.length)>0){let Mt=Ce(ie({},(gt=xe==null?void 0:xe[0])==null?void 0:gt.content[0]),{index:0});nn(Mt)}})}),bt=xe=>{Tt(xe),xe==="2"&&Bt(0)},It=(xe,gt)=>{fn(ln.map(Mt=>Mt.name===xe?gt(Mt):Mt))},Ut=(xe,gt)=>{isNaN(xe)||It(gt,Mt=>Ce(ie({},Mt),{value:xe}))},jt=xe=>{var gt;if(console.log("decline",xe.value),xe.value=Number(xe.value),xe.value<=((gt=xe.min)!=null?gt:-1/0))return;let Mt=xe.value-.5Ce(ie({},qt),{value:Mt}))},bn=xe=>{var gt;if(xe.value=Number(xe.value),xe.value>=((gt=xe.max)!=null?gt:1/0))return;let Mt=xe.value+.5>xe.max?xe.max:xe.value+.5;It(xe.name,qt=>Ce(ie({},qt),{value:Mt}))},Lt=(xe,gt)=>{isNaN(xe)||It(gt,Mt=>Ce(ie({},Mt),{value:xe}))},Fe=xe=>{if(xe==null||Number.isInteger(xe))return xe;const gt=xe%1;return gt===.5?xe:Math.floor(xe)+(gt<.5?.5:1)};return a.createElement(a.Fragment,null,a.createElement(Be.default,{title:"\u8D44\u6E90\u914D\u7F6E",open:St,width:752,destroyOnClose:!0,centered:!0,onCancel:pt,className:Ie.modal,footer:[a.createElement("div",{className:Ie.btn_warp,key:"1"},a.createElement(Je.ZP,{onClick:pt},"\u53D6\u6D88"),a.createElement(Je.ZP,{type:"primary",onClick:()=>{let xe=ie({},Gn);if(ct=="1")xe.cpu=ln[0].value,xe.memory=ln[1].value;else if(ct=="2"){if(!Bn){Te.ZP.error("\u8BF7\u9009\u62E9\u4E00\u6761\u573A\u666F\u5BF9\u5E94\u7684CPU\u4E0E\u5185\u5B58");return}xe=Ce(ie({},xe),{cpu:Bn.cpu,memory:Bn.memory})}ht(xe)}},"\u4FDD\u5B58"))]},a.createElement(Ze.default,{activeKey:ct,onChange:bt},a.createElement(Ze.default.TabPane,{tab:"\u81EA\u5B9A\u4E49\u914D\u7F6E",key:1},a.createElement(lt.Z,{spinning:on},ln==null?void 0:ln.map(xe=>a.createElement("div",{className:Ie.con_warp,key:xe==null?void 0:xe.name},a.createElement("div",null,xe==null?void 0:xe.name),a.createElement("div",null,a.createElement(he.Z,{min:xe==null?void 0:xe.min,max:xe==null?void 0:xe.max,onChange:gt=>Ut(gt,xe==null?void 0:xe.name),value:xe==null?void 0:xe.value,step:.5,style:{width:482,height:6,margin:"0 20px 0 12px"}})),a.createElement("div",{className:`${Ie.config_Warp} ${Ie.flex}`},a.createElement("div",{className:`${Ie.config_btn} ${Ie.flex}`,onClick:()=>jt(xe)},a.createElement(tt.Z,null)),a.createElement(Xe.Z,{min:xe==null?void 0:xe.min,max:xe==null?void 0:xe.max,size:"large",step:"0.1",controls:!1,style:{width:50},value:xe==null?void 0:xe.value,onChange:gt=>{const Mt=Fe(gt);Lt(Mt,xe==null?void 0:xe.name)}}),a.createElement("div",{className:`${Ie.config_btn} ${Ie.flex}`,onClick:()=>bn(xe)},a.createElement(ot.Z,null))),a.createElement("div",null,xe==null?void 0:xe.typeName))))),(vn==null?void 0:vn.length)>0&&a.createElement(Ze.default.TabPane,{tab:"\u6309\u504F\u597D\u914D\u7F6E",key:2},a.createElement("div",{className:Ie.sceneList},vn==null?void 0:vn.map((xe,gt)=>a.createElement("div",{className:`${Ie.sceneItem} ${vt==gt&&Ie.sceneItemActive}`,key:xe==null?void 0:xe.id,onClick:()=>{Bt(gt)}},xe==null?void 0:xe.name))),((da=(Tn=vn==null?void 0:vn[vt])==null?void 0:Tn.content)==null?void 0:da.length)>0?a.createElement(Ke.default,{rowSelection:{type:"radio",selectedRowKeys:[Bn==null?void 0:Bn.index],onChange:(xe,gt)=>{nn(gt[0])}},columns:[{title:"CPU",dataIndex:"cpu",align:"center",render:(xe,gt)=>a.createElement("div",null,xe,"\u6838")},{title:"\u5185\u5B58",dataIndex:"memory",align:"center",render:(xe,gt)=>a.createElement("div",null,xe,"GB")}],dataSource:($n=vn==null?void 0:vn[vt])==null?void 0:$n.content.map((xe,gt)=>Ce(ie({},xe),{index:gt})),rowKey:"index",pagination:!1,scroll:((In=(_t=vn==null?void 0:vn[vt])==null?void 0:_t.content)==null?void 0:In.length)>3?{y:148}:{}}):a.createElement(de.Z,null)))))}},22734:function(je,Nt,re){"use strict";re.d(Nt,{Z:function(){return Ge}});var b=re(59301),Be=re(76560),Je=re(43418),Te=re(8591),Ze=re(3113),lt=re(24905),he=re(5112),Xe=re(88522),Ke=re(49127),Ie=re(5083),tt=re(5871),ot=re(10527),Qe=re(84236),de=re(23869),a=re(61186),E=re.n(a),x={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,oe=(Re,St)=>{var ht={};for(var pt in Re)ee.call(Re,pt)&&St.indexOf(pt)<0&&(ht[pt]=Re[pt]);if(Re!=null&&y)for(var pt of y(Re))St.indexOf(pt)<0&&ne.call(Re,pt)&&(ht[pt]=Re[pt]);return ht},le=(Re,St,ht)=>new Promise((pt,Gn)=>{var Tn=_t=>{try{$n(ht.next(_t))}catch(In){Gn(In)}},da=_t=>{try{$n(ht.throw(_t))}catch(In){Gn(In)}},$n=_t=>_t.done?pt(_t.value):Promise.resolve(_t.value).then(Tn,da);$n((ht=ht.apply(Re,St)).next())});const ie=Re=>{if(!Re)return Re;const St=Re.split(":");if(St[1]=="00"||St[1]=="30")return Re;const ht=parseInt(St[1]);if(ht<30||ht==60)return[St[0],"30"].join(":");if(ht<60){const pt=[St[0],"00"].join(":"),Gn="YYYY-MM-DD HH:mm",Tn=E()(pt,Gn);return Tn.add(1,"hours"),Tn.format(Gn)}return Re},Ce="YYYY-MM-DD HH:mm",ye=Re=>{var St=Re,{shixunsDetail:ht,globalSetting:pt,loading:Gn,user:Tn,dispatch:da}=St,$n=oe(St,["shixunsDetail","globalSetting","loading","user","dispatch"]),_t,In,ct,Tt,ln,fn,vn,nt,vt;const Bt=(0,b.useRef)(),[Bn,nn]=(0,b.useState)(),[on,De]=(0,b.useState)(),[Pe,He]=(0,b.useState)([]),[Ft,bt]=(0,b.useState)([]),[It,Ut]=(0,b.useState)(""),[jt,bn]=(0,b.useState)(),[Lt,Fe]=(0,b.useState)(),[xe,gt]=(0,b.useState)(),[Mt,qt]=(0,b.useState)(!1),Vt=(In=(_t=Tn.userInfo)==null?void 0:_t.shixun)==null?void 0:In.editable;(0,b.useEffect)(()=>{var mt,At;Bt.current=(At=(mt=location.pathname)==null?void 0:mt.split("/"))==null?void 0:At[2],kt()},[]),(0,b.useEffect)(()=>{var mt,At,xt,cn,Dt,Ot,xn,Gt,Kn,za,sr,Ya,Da,Lr;ht.setting&&(nn((At=(mt=ht.setting)==null?void 0:mt.shixun)==null?void 0:At.can_copy),De((cn=(xt=ht.setting)==null?void 0:xt.shixun)==null?void 0:cn.use_scope),bn(!!((Ot=(Dt=ht.setting)==null?void 0:Dt.shixun)!=null&&Ot.opening_time)),Fe((Gt=(xn=ht.setting)==null?void 0:xn.shixun)==null?void 0:Gt.opening_time),He((za=(Kn=ht.setting)==null?void 0:Kn.shixun)==null?void 0:za.scope_partment),qt((Ya=(sr=ht.setting)==null?void 0:sr.shixun)==null?void 0:Ya.use_ai),gt((Lr=(Da=ht.setting)==null?void 0:Da.shixun)==null?void 0:Lr.git_size))},[ht.setting]);const kt=mt=>le(void 0,null,function*(){const At=yield da({type:"shixunsDetail/getDepartments",payload:{q:mt}});At&&bt(At.shools_name||[])}),rn=()=>le(void 0,null,function*(){var mt,At,xt,cn,Dt,Ot;const xn=(yield da({type:"shixunsDetail/getShixunQuote",payload:{id:Bt.current}}))||{};Je.default.confirm({centered:!0,title:"\u63D0\u793A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",width:520,content:b.createElement("div",{className:`tc font14 ${x.modal}`},!!((mt=xn.subjects)!=null&&mt.length)&&b.createElement(b.Fragment,null,b.createElement("span",null,"\u8BE5\u5B9E\u8DF5\u9879\u76EE\u5DF2\u88AB\u5E94\u7528\u5230 ",(xt=(At=xn.subjects)==null?void 0:At.splice(0,2))==null?void 0:xt.map(Gt=>`\u300A${Gt}\u300B`),"\u7B49",b.createElement("span",{className:x.colorOrange},xn==null?void 0:xn.subjects_count),"\u4E2A\u5B9E\u8BAD\u8BFE\u7A0B"),b.createElement("br",null)),!!((cn=xn.courses)!=null&&cn.length)&&b.createElement(b.Fragment,null,b.createElement("span",null,"\u8BE5\u5B9E\u8DF5\u9879\u76EE\u5DF2\u88AB\u5E94\u7528\u5230",(Ot=(Dt=xn.courses)==null?void 0:Dt.splice(0,2))==null?void 0:Ot.map(Gt=>`\u300A${Gt}\u300B`),"\u7B49",b.createElement("span",{className:x.colorOrange},xn==null?void 0:xn.courses_count),"\u4E2A\u6559\u5B66\u8BFE\u5802"),b.createElement("br",null)),b.createElement("span",{className:`${x.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:()=>le(void 0,null,function*(){(yield da({type:"shixunsDetail/deleteShixun",payload:{id:Bt.current}})).status===1&&(Te.ZP.success("\u64CD\u4F5C\u6210\u529F"),Be.history.push("/shixuns"))})})}),Wt=()=>{(0,de.gy)(da,"\u4E0D\u80FD\u8FDB\u884C\u5220\u9664")},yt=mt=>{if(Pe.includes(mt)){Te.ZP.info("\u8BF7\u52FF\u6307\u5B9A\u76F8\u540C\u7684\u5355\u4F4D");return}Ut(null),He([...Pe,mt])},an=()=>le(void 0,null,function*(){if(jt&&!Lt){Te.ZP.info("\u8BF7\u9009\u62E9\u5F00\u542F\u65F6\u95F4");return}if(on===1&&!Pe.length){Te.ZP.info("\u8BF7\u9009\u62E9\u6307\u5B9A\u5355\u4F4D\u516C\u5F00");return}(yield da({type:"shixunsDetail/updatePermissionSetting",payload:{id:Bt.current,scope_partment:on===0?null:Pe,shixun:{can_copy:Bn,use_scope:on,opening_time:Lt,use_ai:Mt,git_size:xe}}})).status!==-1&&(Te.ZP.info("\u6743\u9650\u914D\u7F6E\u4FDD\u5B58\u6210\u529F\uFF01"),da({type:"shixunsDetail/getSettingsData",payload:{id:Bt.current}}),da({type:"shixunsDetail/getShixunsDetail",payload:{id:Bt.current}}))});return b.createElement("div",null,b.createElement("section",{className:x.wrap},b.createElement("div",{style:{position:"absolute",top:"25px",right:"25px"}},((ct=ht==null?void 0:ht.detail)==null?void 0:ct.shixun_status)!==2?b.createElement(Ze.ZP,{danger:!0,onClick:rn},"\u5220\u9664\u5B9E\u8DF5\u9879\u76EE"):b.createElement(Ze.ZP,{danger:!0,onClick:Wt},"\u5220\u9664\u5B9E\u8DF5\u9879\u76EE")),b.createElement("div",{className:x.labelWrap},b.createElement("label",{className:x.label},"\u590D\u5236\uFF1A"),b.createElement("div",{className:x.labelContent},b.createElement("div",null,b.createElement(lt.default,{checked:Bn,onChange:mt=>nn(mt.target.checked),disabled:!Vt}),b.createElement("span",{className:`${x.color999}`},"\uFF08\u9009\u4E2D\u5219\u5141\u8BB8\u5DF2\u804C\u4E1A\u8BA4\u8BC1\u7684\u6559\u5E08\u590D\u5236\u8BE5\u5B9E\u8BAD\uFF09")))),!((((Tt=ht.detail)==null?void 0:Tt.shixun_status)>1||((ln=ht.detail)==null?void 0:ln.public)===2)&&((vn=(fn=ht.setting)==null?void 0:fn.shixun)==null?void 0:vn.use_scope)===0&&((nt=ht.detail)==null?void 0:nt.identity)>2)&&b.createElement("div",{className:x.labelWrap},b.createElement("label",{className:x.label},"\u516C\u5F00\u7A0B\u5EA6\uFF1A"),b.createElement("div",{className:x.labelContent},b.createElement(he.ZP.Group,{value:on,onChange:mt=>De(mt.target.value),disabled:!Vt},b.createElement(he.ZP,{className:x.radio,value:0},b.createElement("span",null,"\u5BF9\u6240\u6709\u5355\u4F4D\u516C\u5F00"),b.createElement("span",{className:x.color999},"\uFF08\u5B9E\u8BAD\u53D1\u5E03\u540E\uFF0C\u6240\u6709\u7528\u6237\u53EF\u89C1\uFF09")),b.createElement(he.ZP,{className:x.radio,value:1},b.createElement("span",null,"\u5BF9\u6307\u5B9A\u5355\u4F4D\u516C\u5F00"),b.createElement("span",{className:x.color999},"\uFF08\u5B9E\u8BAD\u53D1\u5E03\u540E\uFF0C\u4EC5\u5BF9\u4E0B\u65B9\u6307\u5B9A\u5355\u4F4D\u7684\u7528\u6237\u53EF\u89C1\uFF09"))),on===1&&b.createElement(b.Fragment,null,b.createElement("div",{className:"mt10"},b.createElement(Xe.Z,{showSearch:!0,className:x.selectSchool,placeholder:"\u8BF7\u8F93\u5165\u5E76\u9009\u62E9\u5355\u4F4D\u540D\u79F0",value:It,onChange:mt=>{Ut(mt),kt(mt)},disabled:!Vt,onSelect:yt,options:Ft==null?void 0:Ft.map(mt=>({value:mt}))}),b.createElement("span",{className:x.color999},"\uFF08\u5B9E\u8BAD\u53D1\u5E03\u540E\uFF0C\u4EC5\u5BF9\u4E0B\u65B9\u6307\u5B9A\u5355\u4F4D\u7684\u7528\u6237\u53EF\u89C1\uFF09")),b.createElement("div",{className:"mt10"},Pe==null?void 0:Pe.map(mt=>Vt?b.createElement(Ke.Z,{count:"x",className:"mr20 current",onClick:()=>He(Pe.filter(At=>At!==mt))},b.createElement(Ze.ZP,{type:"primary",ghost:!0},mt)):b.createElement(Ze.ZP,{type:"primary",ghost:!0,className:"mr20"},mt)))))),b.createElement("div",{className:x.labelWrap},b.createElement("label",{className:x.label},"\u5F00\u542F\u65F6\u95F4\uFF1A"),b.createElement("div",{className:x.labelContent},b.createElement("div",null,b.createElement(lt.default,{checked:jt,onChange:mt=>bn(mt.target.checked),disabled:!Vt}),b.createElement("span",{className:`${x.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")),jt&&b.createElement(Ie.default,{className:`${x.dataPicker} mt10`,format:Ce,locale:ot.Z,disabled:!Vt,placeholder:"\u8BF7\u8F93\u5165\u5F00\u542F\u65F6\u95F4",showToday:!1,disabledDate:mt=>mt&&mtFe(ie(At))}))),b.createElement("div",{className:x.labelWrap},b.createElement("label",{className:x.label},"AI\u52A9\u6559:"),b.createElement("div",{className:x.labelContent},b.createElement("div",null,b.createElement(lt.default,{checked:Mt,onChange:mt=>qt(mt.target.checked),disabled:!Vt}),b.createElement("span",{className:`${x.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")))),((vt=Tn==null?void 0:Tn.userInfo)==null?void 0:vt.role)===1&&b.createElement("div",{className:x.labelWrap,style:{alignItems:"center"}},b.createElement("label",{className:x.label},"\u4EE3\u7801\u4ED3\u5E93\u5BB9\u91CF\uFF1A"),b.createElement("div",{className:x.labelContent},b.createElement("div",null,b.createElement(tt.Z,{style:{width:150},placeholder:"\u8BF7\u8F93\u5165\u4EE3\u7801\u4ED3\u5E93\u5BB9\u91CF",min:1,max:10240,value:xe,onChange:mt=>{gt(mt)}}),b.createElement("span",{className:"c-grey-999"}," M "))))),b.createElement(Qe.t,{okText:"\u4FDD\u5B58",hasOkBtn:Vt,loading:Gn.effects["shixunsDetail/updatePermissionSetting"],onCancel:()=>Be.history.push(`/shixuns/${Bt.current}/challenges`),onOk:an,className:x.bottomButton}))};var Ge=(0,Be.connect)(({shixunsDetail:Re,loading:St,globalSetting:ht,user:pt})=>({shixunsDetail:Re,globalSetting:ht,user:pt,loading:St}))(ye)},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__(61186),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=(je,Nt,re)=>new Promise((b,Be)=>{var Je=lt=>{try{Ze(re.next(lt))}catch(he){Be(he)}},Te=lt=>{try{Ze(re.throw(lt))}catch(he){Be(he)}},Ze=lt=>lt.done?b(lt.value):Promise.resolve(lt.value).then(Je,Te);Ze((re=re.apply(je,Nt)).next())});const timeFormat="YYYY-MM-DD HH:mm",handleDateString=je=>{if(!je)return je;const Nt=je.split(":");if(Nt[1]=="00"||Nt[1]=="30")return je;const re=parseInt(Nt[1]);if(re<30||re==60)return[Nt[0],"30"].join(":");if(re<60){const b=[Nt[0],"00"].join(":"),Be="YYYY-MM-DD HH:mm",Je=moment__WEBPACK_IMPORTED_MODULE_3___default()(b,Be);return Je.add(1,"hours"),Je.format(Be)}return je};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=je=>__async(this,null,function*(){const Nt=yield dispatch({type:"shixunsDetail/getDepartments",payload:{q:je}});Nt&&setDepartmentList(Nt.shools_name||[])});(0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(()=>{var je,Nt;(Nt=(je=shixunsDetail.setting)==null?void 0:je.shixun)!=null&&Nt.main_type&&handleInitState()},[shixunsDetail.setting]),(0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(()=>{dispatch({type:"shixunsDetail/getSettingsData",payload:params})},[]);const handleSelectDepartment=je=>{if(selectDepartmentList.includes(je)){antd__WEBPACK_IMPORTED_MODULE_9__.ZP.info("\u8BF7\u52FF\u6307\u5B9A\u76F8\u540C\u7684\u5355\u4F4D");return}setDepartmentValue(null),setSelectDepartmentList([...selectDepartmentList,je])},handleInitState=()=>{var je,Nt,re,b,Be,Je,Te,Ze,lt,he,Xe,Ke,Ie,tt,ot,Qe,de,a,E,x,y,ee,ne,oe,le,ie,Ce,ye,Ge,Re,St,ht,pt,Gn,Tn,da,$n,_t,In,ct,Tt,ln,fn,vn,nt,vt,Bt;setCodeEditPermission((Nt=(je=shixunsDetail.setting)==null?void 0:je.shixun)==null?void 0:Nt.code_edit_permission),setAllowFileUpload((b=(re=shixunsDetail.setting)==null?void 0:re.shixun)==null?void 0:b.allow_file_upload),setCodeHidden((Je=(Be=shixunsDetail.setting)==null?void 0:Be.shixun)==null?void 0:Je.show_code_dir),setForbidCopy((Ze=(Te=shixunsDetail.setting)==null?void 0:Te.shixun)==null?void 0:Ze.forbid_copy),setTaskPass((he=(lt=shixunsDetail.setting)==null?void 0:lt.shixun)==null?void 0:he.task_pass),setTestSetPermission((Ke=(Xe=shixunsDetail.setting)==null?void 0:Xe.shixun)==null?void 0:Ke.test_set_permission),set_display_git_address((Ie=shixunsDetail.setting.shixun)==null?void 0:Ie.display_git_address),setIsCopy((ot=(tt=shixunsDetail.setting)==null?void 0:tt.shixun)==null?void 0:ot.can_copy),setOpenValue((de=(Qe=shixunsDetail.setting)==null?void 0:Qe.shixun)==null?void 0:de.use_scope),setOpenAnswer((E=(a=shixunsDetail.setting)==null?void 0:a.shixun)==null?void 0:E.open_answer_and_test),setIsOpenTime(!!((y=(x=shixunsDetail.setting)==null?void 0:x.shixun)!=null&&y.opening_time)),setOpenTime((ne=(ee=shixunsDetail.setting)==null?void 0:ee.shixun)==null?void 0:ne.opening_time),setSelectDepartmentList((le=(oe=shixunsDetail.setting)==null?void 0:oe.shixun)==null?void 0:le.scope_partment),setDisableDiscuss((Ce=(ie=shixunsDetail.setting)==null?void 0:ie.shixun)==null?void 0:Ce.is_disable_discuss),setdisableAI((Ge=(ye=shixunsDetail.setting)==null?void 0:ye.shixun)==null?void 0:Ge.ai_reply),setresource_recommend((St=(Re=shixunsDetail==null?void 0:shixunsDetail.setting)==null?void 0:Re.shixun)==null?void 0:St.resource_recommend),setOpenCodeDebugger((pt=(ht=shixunsDetail.setting)==null?void 0:ht.shixun)==null?void 0:pt.open_code_debugger),setStartPermanent((Tn=(Gn=shixunsDetail.setting)==null?void 0:Gn.shixun)==null?void 0:Tn.start_permanent),setOpenSelfRun(($n=(da=shixunsDetail.setting)==null?void 0:da.shixun)==null?void 0:$n.open_self_run),setgitSize((In=(_t=shixunsDetail.setting)==null?void 0:_t.shixun)==null?void 0:In.git_size),setcourse_workspace_file_time((Tt=(ct=shixunsDetail.setting)==null?void 0:ct.shixun)==null?void 0:Tt.course_workspace_file_time),setPodSwitch((fn=(ln=shixunsDetail.setting)==null?void 0:ln.shixun)==null?void 0:fn.exit_delete_pod_switch),setai_user((nt=(vn=shixunsDetail.setting)==null?void 0:vn.shixun)==null?void 0:nt.ai_user),setOpenLocalEvaluate((Bt=(vt=shixunsDetail.setting)==null?void 0:vt.shixun)==null?void 0:Bt.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((je,Nt)=>{var re,b;je!=((b=(re=shixunsDetail.setting)==null?void 0:re.shixun)==null?void 0:b.scope_partment[Nt])&&(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(je=!1,Nt=1){return __async(this,null,function*(){var re,b;const Be=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:je}});(Be==null?void 0:Be.status)===0&&((re=shixunsDetail==null?void 0:shixunsDetail.detail)!=null&&re.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}),(b=shixunsDetail==null?void 0:shixunsDetail.detail)!=null&&b.copy_for_exercise&&(0,_utils__WEBPACK_IMPORTED_MODULE_8__.m)(dispatch,shixunsDetail,params.id,Nt))})}const handleDeleteShixun=()=>__async(this,null,function*(){var je,Nt,re,b,Be,Je;const Te=(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,!!((je=Te.subjects)!=null&&je.length)&&React.createElement(React.Fragment,null,React.createElement("span",null,"\u8BE5\u5B9E\u8DF5\u9879\u76EE\u5DF2\u88AB\u5E94\u7528\u5230"," ",(re=(Nt=Te.subjects)==null?void 0:Nt.splice(0,2))==null?void 0:re.map(Ze=>`\u300A${Ze}\u300B`),"\u7B49",React.createElement("span",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.colorOrange},Te==null?void 0:Te.subjects_count),"\u4E2A\u5B9E\u8BAD\u8BFE\u7A0B"),React.createElement("br",null)),!!((b=Te.courses)!=null&&b.length)&&React.createElement(React.Fragment,null,React.createElement("span",null,"\u8BE5\u5B9E\u8DF5\u9879\u76EE\u5DF2\u88AB\u5E94\u7528\u5230",(Je=(Be=Te.courses)==null?void 0:Be.splice(0,2))==null?void 0:Je.map(Ze=>`\u300A${Ze}\u300B`),"\u7B49",React.createElement("span",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.colorOrange},Te==null?void 0:Te.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(je){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(je),parseInt(je)===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:je=>{var Nt;if((Nt=practiceSetting==null?void 0:practiceSetting.sideBar)!=null&&Nt.confirmLeave){showExitmodel(je.key);return}setMenuSelectKey(je.key),parseInt(je.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:je=>setTaskPass(je.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:je=>setTestSetPermission(je.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:je=>setIsCopy(je.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:je=>setOpenValue(je.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:je=>{setDepartmentValue(je),handleGetDepartments(je)},disabled:!editable,onSelect:handleSelectDepartment,options:departmentList==null?void 0:departmentList.map(je=>({value:je}))})),React.createElement("div",{className:"mt10"},selectDepartmentList==null?void 0:selectDepartmentList.map(je=>editable?React.createElement(antd__WEBPACK_IMPORTED_MODULE_17__.Z,{count:"x",className:"mr20 current",onClick:()=>setSelectDepartmentList(selectDepartmentList.filter(Nt=>Nt!==je))},React.createElement(antd__WEBPACK_IMPORTED_MODULE_12__.ZP,{type:"primary",ghost:!0},je)):React.createElement(antd__WEBPACK_IMPORTED_MODULE_12__.ZP,{type:"primary",ghost:!0,className:"mr20"},je)))))),!((_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:je=>setOpenAnswer(je.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:je=>{setIsOpenTime(je.target.checked),je.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:je=>je&&jesetOpenTime(handleDateString(Nt))})))),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:je=>set_display_git_address(je.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:je=>{setCodeHidden(je.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:je=>{setCodeEditPermission(je.target.checked),je.target.checked||setAllowFileUpload(je.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:je=>{setAllowFileUpload(je.target.checked),je.target.checked&&setCodeEditPermission(je.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:je=>setForbidCopy(je.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:je=>setOpenCodeDebugger(je)}),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:je=>setOpenSelfRun(je)}),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:je=>setOpenLocalEvaluate(je)}),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:je=>{setgitSize(je)}}),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:je=>{if(!(0,_utils_authority__WEBPACK_IMPORTED_MODULE_7__.Ny)()){(0,_utils_verifyLogin__WEBPACK_IMPORTED_MODULE_6__.pW)(2);return}setStartPermanent(je)}}),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:je=>{setPodSwitch(je)}}),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:je=>setDisableDiscuss(!je)}),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:je=>{setresource_recommend(je)}}),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:je=>{setai_user(je.target.value)}},React.createElement(antd__WEBPACK_IMPORTED_MODULE_14__.ZP,{value:"1"},"\u4EE5\u5934\u6B4C\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 je,Nt;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}(je=shixunsDetail==null?void 0:shixunsDetail.detail)!=null&&je.is_fork_from_creator&&((Nt=shixunsDetail==null?void 0:shixunsDetail.detail)!=null&&Nt.copy_for_exercise)?dispatch({type:"classroomList/setActionTabs",payload:{key:"\u540C\u6B65\u4FEE\u6539",type:"setting",fn:(re,b)=>{handSubmeit(re,b)}}}):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:je,shixunsDetail:Nt,practiceSetting:re})=>({user:je,shixunsDetail:Nt,practiceSetting:re}))(Setting)},26595:function(je,Nt,re){"use strict";re.r(Nt),re.d(Nt,{default:function(){return lo}});var b=re(59301),Be={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"},Je=re(76560),Te=re(99313),Ze=re(6848),lt=re(8591),he=re(20834),Xe=re(95237),Ke=re(43604),Ie=re(38854),tt=re(43418),ot=re(71418),Qe=re(3113),de=re(17574),a=re(78673),E=re(56102),x=re(78241),y=re(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,oe=Object.getOwnPropertySymbols,le=Object.prototype.hasOwnProperty,ie=Object.prototype.propertyIsEnumerable,Ce=(dt,Ue,We)=>Ue in dt?ne(dt,Ue,{enumerable:!0,configurable:!0,writable:!0,value:We}):dt[Ue]=We,ye=(dt,Ue)=>{for(var We in Ue||(Ue={}))le.call(Ue,We)&&Ce(dt,We,Ue[We]);if(oe)for(var We of oe(Ue))ie.call(Ue,We)&&Ce(dt,We,Ue[We]);return dt},Ge=(dt,Ue)=>{var We={};for(var Rt in dt)le.call(dt,Rt)&&Ue.indexOf(Rt)<0&&(We[Rt]=dt[Rt]);if(dt!=null&&oe)for(var Rt of oe(dt))Ue.indexOf(Rt)<0&&ie.call(dt,Rt)&&(We[Rt]=dt[Rt]);return We},Re=(dt,Ue,We)=>new Promise((Rt,Cn)=>{var aa=Me=>{try{it(We.next(Me))}catch(ut){Cn(ut)}},Oe=Me=>{try{it(We.throw(Me))}catch(ut){Cn(ut)}},it=Me=>Me.done?Rt(Me.value):Promise.resolve(Me.value).then(aa,Oe);it((We=We.apply(dt,Ue)).next())});const St=dt=>{var Ue=dt,{shixunsDetail:We,globalSetting:Rt,loading:Cn,user:aa,dispatch:Oe,isRepository:it}=Ue,Me=Ge(Ue,["shixunsDetail","globalSetting","loading","user","dispatch","isRepository"]);const ut=(0,Je.useLocation)(),zt=(0,Je.useParams)(),[Ga,ja]=(0,b.useState)({}),Vn=(0,b.useRef)(),[Xt]=x.default.useForm(),[Hn,ba]=(0,b.useState)("");(0,b.useEffect)(()=>{Me.visible&&Xt.resetFields()},[Me.visible]),(0,b.useEffect)(()=>{const sa=sessionStorage.getItem("pathArray");if(sa){const wt=sa.split(",").join("/"),ca=wt.indexOf("/")===0?wt.substr(1):wt;ba(ca)}},[]),(0,b.useEffect)(()=>{var sa,wt;Vn.current=(wt=(sa=ut.pathname)==null?void 0:sa.split("/"))==null?void 0:wt[2]},[]);const La=(...sa)=>Re(void 0,[...sa],function*(wt={}){const ca=yield Oe({type:"shixunsDetail/addRepositoryFile",payload:{id:zt.id,message:wt.commitMessage,content:"",path:(Me.defaultPath?Me.defaultPath+"/":"")+wt.path+"/"+(wt.file||".gitkeep"),secret_repository:it?void 0:!0}});ca!=null&&ca.url&&(lt.ZP.success("\u6DFB\u52A0\u6210\u529F"),Me.onOK({path:(Me.defaultPath?Me.defaultPath+"/":"")+wt.path+"/"+(wt.file||".gitkeep"),name:wt.path.split("/")[wt.path.split("/").length-1]}),Me.onClose())}),rr=()=>{var sa,wt;Je.history.push(`/shixuns/${Vn.current}/${(wt=(sa=ut.pathname)==null?void 0:sa.split("/"))==null?void 0:wt[3]}${Hn?`/master/shixun_show/${Hn}`:""}`)};return b.createElement(tt.default,{width:"60%",centered:!0,open:Me.visible,wrapClassName:ee.modal,onOk:()=>{Xt.submit()},onCancel:Me.onClose,title:"\u65B0\u5EFA\u6587\u4EF6\u5939"},b.createElement("section",{className:ee.bg},b.createElement("div",{className:ee.wrap},b.createElement(x.default,{className:"mt10",form:Xt,scrollToFirstError:!0,layout:"vertical",onFinish:La,onChange:()=>{var sa,wt,ca,gr;const Pr=ye({},Xt.getFieldsValue()),dr=(sa=Pr==null?void 0:Pr.path)==null?void 0:sa.split(""),Zn=(wt=Pr==null?void 0:Pr.file)==null?void 0:wt.split("");(ca=dr==null?void 0:dr.filter(Rn=>Rn=="/"))!=null&&ca.length&&(Pr.path=Pr.path.substring(0,Pr.path.length-1)),(gr=Zn==null?void 0:Zn.filter(Rn=>Rn=="/"))!=null&&gr.length&&(Pr.file=Pr.file.substring(0,Pr.path.length-1)),Xt.setFieldsValue(ye({},Pr)),ja(Pr)}},b.createElement(x.default.Item,{label:"\u6587\u4EF6\u5939\u540D\u79F0\uFF1A",name:"path"},b.createElement(Xe.Z,null,b.createElement(Ke.Z,null,b.createElement("span",{className:ee.filePath},Me.defaultPath+"/")),b.createElement(Ke.Z,{flex:"1"},b.createElement(x.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"}]},b.createElement(y.default,{placeholder:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5939\u540D\u79F0",size:"middle"}))))),b.createElement(x.default.Item,{label:"\u6587\u4EF6\u540D\u79F0\uFF1A",name:"file"},b.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"})),b.createElement(x.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"}]},b.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 ht=(0,Je.connect)(({shixunsDetail:dt,loading:Ue,globalSetting:We,user:Rt})=>({shixunsDetail:dt,globalSetting:We,user:Rt,loading:Ue.models.index}))(St),pt=re(44905),Gn=re(21693),Tn=re(59301),da=Object.defineProperty,$n=Object.getOwnPropertySymbols,_t=Object.prototype.hasOwnProperty,In=Object.prototype.propertyIsEnumerable,ct=(dt,Ue,We)=>Ue in dt?da(dt,Ue,{enumerable:!0,configurable:!0,writable:!0,value:We}):dt[Ue]=We,Tt=(dt,Ue)=>{for(var We in Ue||(Ue={}))_t.call(Ue,We)&&ct(dt,We,Ue[We]);if($n)for(var We of $n(Ue))In.call(Ue,We)&&ct(dt,We,Ue[We]);return dt},ln=(dt,Ue)=>{var We={};for(var Rt in dt)_t.call(dt,Rt)&&Ue.indexOf(Rt)<0&&(We[Rt]=dt[Rt]);if(dt!=null&&$n)for(var Rt of $n(dt))Ue.indexOf(Rt)<0&&In.call(dt,Rt)&&(We[Rt]=dt[Rt]);return We},fn=(dt,Ue,We)=>new Promise((Rt,Cn)=>{var aa=Me=>{try{it(We.next(Me))}catch(ut){Cn(ut)}},Oe=Me=>{try{it(We.throw(Me))}catch(ut){Cn(ut)}},it=Me=>Me.done?Rt(Me.value):Promise.resolve(Me.value).then(aa,Oe);it((We=We.apply(dt,Ue)).next())});const vn=dt=>{var Ue=dt,{shixunsDetail:We,globalSetting:Rt,loading:Cn,user:aa,dispatch:Oe,isRepository:it}=Ue,Me=ln(Ue,["shixunsDetail","globalSetting","loading","user","dispatch","isRepository"]);const ut=(0,Je.useLocation)(),zt=(0,Je.useParams)(),[Ga,ja]=(0,b.useState)({}),Vn=(0,b.useRef)(),[Xt]=x.default.useForm(),[Hn,ba]=(0,b.useState)("");(0,b.useEffect)(()=>{Me.visible&&Xt.resetFields()},[Me.visible]),(0,b.useEffect)(()=>{const sa=sessionStorage.getItem("pathArray");if(sa){const wt=sa.split(",").join("/"),ca=wt.indexOf("/")===0?wt.substr(1):wt;ba(ca)}},[]),(0,b.useEffect)(()=>{var sa,wt;Vn.current=(wt=(sa=ut.pathname)==null?void 0:sa.split("/"))==null?void 0:wt[2]},[]);const La=(...sa)=>fn(void 0,[...sa],function*(wt={},ca=!1,gr=1){var Pr,dr;const Zn=yield Oe({type:"shixunsDetail/addRepositoryFile",payload:{id:zt.id,message:wt.commitMessage,content:wt.codeMirror,path:(Me.defaultPath?Me.defaultPath+"/":"")+wt.path,secret_repository:it?void 0:!0,sync_origin_shixun:ca}});Zn!=null&&Zn.url&&((Pr=We==null?void 0:We.detail)!=null&&Pr.copy_for_exercise||lt.ZP.success("\u6DFB\u52A0\u6210\u529F"),Me.onOK({path:(Me.defaultPath?Me.defaultPath+"/":"")+wt.path,name:wt.path.split("/")[wt.path.split("/").length-1]}),Me.onClose()),(dr=We==null?void 0:We.detail)!=null&&dr.copy_for_exercise&&(0,Gn.m)(Oe,We,zt.id,gr)}),rr=()=>{var sa,wt;Je.history.push(`/shixuns/${Vn.current}/${(wt=(sa=ut.pathname)==null?void 0:sa.split("/"))==null?void 0:wt[3]}${Hn?`/master/shixun_show/${Hn}`:""}`)};return Tn.createElement(tt.default,{width:"60%",open:Me.visible,wrapClassName:ee.modal,destroyOnClose:!0,centered:!0,onOk:()=>{Xt.submit()},onCancel:Me.onClose,title:"\u65B0\u5EFA\u6587\u4EF6"},Tn.createElement("section",{className:ee.bg},Tn.createElement("div",{className:ee.wrap},Tn.createElement(x.default,{className:"mt10",form:Xt,scrollToFirstError:!0,layout:"vertical",onFinish:sa=>{var wt,ca;(wt=We==null?void 0:We.detail)!=null&&wt.is_fork_from_creator&&((ca=We==null?void 0:We.detail)!=null&&ca.copy_for_exercise)?(Me.onClose(),Oe({type:"classroomList/setActionTabs",payload:{key:"\u540C\u6B65\u4FEE\u6539",value:sa,type:"wareHouse",fn:(gr,Pr,dr)=>{La(gr,Pr,dr)}}})):La(sa)},onChange:()=>{var sa,wt;const ca=Tt({},Xt.getFieldsValue()),gr=(sa=ca==null?void 0:ca.path)==null?void 0:sa.split("");((wt=gr==null?void 0:gr.filter(Pr=>Pr=="/"))==null?void 0:wt.length)>1&&(ca.path=ca.path.substring(0,ca.path.length-1)),Xt.setFieldsValue(Tt({},ca)),ja(ca)}},Tn.createElement(x.default.Item,{label:"\u6587\u4EF6\u540D\u79F0\u6216\u6587\u4EF6\u8DEF\u5F84\uFF1A",name:"path"},Tn.createElement(Xe.Z,null,Tn.createElement(Ke.Z,null,Tn.createElement("span",{className:ee.filePath},Me.defaultPath+"/")),Tn.createElement(Ke.Z,{flex:"1"},Tn.createElement(x.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"}]},Tn.createElement(y.default,{placeholder:"\u8BF7\u8F93\u5165\u6587\u4EF6\u540D\u79F0",size:"middle"}))))),Tn.createElement(x.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"}]},Tn.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"})),Tn.createElement("div",{className:"mt10 mb20"},Tn.createElement(x.default.Item,{name:"codeMirror",label:"\u6587\u4EF6\u5185\u5BB9\uFF1A",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5185\u5BB9"}],style:{marginBottom:0}},Tn.createElement(pt.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 nt=(0,Je.connect)(({shixunsDetail:dt,loading:Ue,globalSetting:We,user:Rt})=>({shixunsDetail:dt,globalSetting:We,user:Rt,loading:Ue.models.index}))(vn),vt=Object.defineProperty,Bt=Object.getOwnPropertySymbols,Bn=Object.prototype.hasOwnProperty,nn=Object.prototype.propertyIsEnumerable,on=(dt,Ue,We)=>Ue in dt?vt(dt,Ue,{enumerable:!0,configurable:!0,writable:!0,value:We}):dt[Ue]=We,De=(dt,Ue)=>{for(var We in Ue||(Ue={}))Bn.call(Ue,We)&&on(dt,We,Ue[We]);if(Bt)for(var We of Bt(Ue))nn.call(Ue,We)&&on(dt,We,Ue[We]);return dt},Pe=(dt,Ue)=>{var We={};for(var Rt in dt)Bn.call(dt,Rt)&&Ue.indexOf(Rt)<0&&(We[Rt]=dt[Rt]);if(dt!=null&&Bt)for(var Rt of Bt(dt))Ue.indexOf(Rt)<0&&nn.call(dt,Rt)&&(We[Rt]=dt[Rt]);return We},He=(dt,Ue,We)=>new Promise((Rt,Cn)=>{var aa=Me=>{try{it(We.next(Me))}catch(ut){Cn(ut)}},Oe=Me=>{try{it(We.throw(Me))}catch(ut){Cn(ut)}},it=Me=>Me.done?Rt(Me.value):Promise.resolve(Me.value).then(aa,Oe);it((We=We.apply(dt,Ue)).next())});const Ft=dt=>{var Ue=dt,{shixunsDetail:We,globalSetting:Rt,loading:Cn,user:aa,dispatch:Oe,isRepository:it}=Ue,Me=Pe(Ue,["shixunsDetail","globalSetting","loading","user","dispatch","isRepository"]);const ut=(0,Je.useLocation)(),zt=(0,Je.useParams)(),[Ga,ja]=(0,b.useState)({}),Vn=(0,b.useRef)(),[Xt]=x.default.useForm(),[Hn,ba]=(0,b.useState)(""),[La,rr]=(0,b.useState)("");(0,b.useEffect)(()=>{Me.visible&&Xt.resetFields()},[Me.visible]),(0,b.useEffect)(()=>{const ca=Me.defaultPath.split("/");ca.length===1?(ba(""),rr(Me.defaultPath)):(rr(ca.pop()),ba(ca.join("/")+"/"))},[Me.defaultPath]),(0,b.useEffect)(()=>{var ca,gr;Vn.current=(gr=(ca=ut.pathname)==null?void 0:ca.split("/"))==null?void 0:gr[2]},[]);const sa=(...ca)=>He(void 0,[...ca],function*(gr={}){const Pr=yield Oe({type:"shixunsDetail/moveGitFile",payload:{id:zt.id,from:Me.defaultPath,to:Hn+gr.path,message:gr.commitMessage||`${Me.defaultPath} rename to ${Hn}${gr.path} `,secret_repository:it}});(Pr==null?void 0:Pr.status)===0&&(lt.ZP.success("\u6DFB\u52A0\u6210\u529F"),Me.onOK({path:gr.path,name:gr.path}),Me.onClose())}),wt=()=>{var ca,gr;Je.history.push(`/shixuns/${Vn.current}/${(gr=(ca=ut.pathname)==null?void 0:ca.split("/"))==null?void 0:gr[3]}${Hn?`/master/shixun_show/${Hn}`:""}`)};return b.createElement(tt.default,{width:"40%",open:Me.visible,wrapClassName:ee.modal,centered:!0,onOk:()=>{Xt.submit()},onCancel:Me.onClose,title:"\u63D0\u4EA4\u8BF4\u660E"},b.createElement("section",{className:ee.bg},b.createElement("div",{className:ee.wrap},b.createElement(x.default,{className:"mt10",form:Xt,scrollToFirstError:!0,layout:"vertical",onFinish:sa,onChange:()=>{var ca,gr;const Pr=De({},Xt.getFieldsValue()),dr=(ca=Pr==null?void 0:Pr.path)==null?void 0:ca.split("");((gr=dr==null?void 0:dr.filter(Zn=>Zn=="/"))==null?void 0:gr.length)>1&&(Pr.path=Pr.path.substring(0,Pr.path.length-1)),Xt.setFieldsValue(De({},Pr)),ja(Pr)}},b.createElement(x.default.Item,{label:"\u91CD\u547D\u540D\uFF1A",name:"path"},b.createElement(Xe.Z,null,b.createElement(Ke.Z,{flex:"1"},b.createElement(x.default.Item,{name:"path",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6587\u4EF6\u540D\u79F0"},{whitespace:!0,message:"\u8BF7\u52FF\u8F93\u5165\u7A7A\u683C"}]},b.createElement(y.default,{placeholder:"\u8BF7\u8F93\u5165\u6587\u4EF6\u540D\u79F0",size:"middle",defaultValue:La}))))),b.createElement(x.default.Item,{label:"\u63D0\u4EA4\u4FE1\u606F\uFF1A",name:"commitMessage"},b.createElement(y.default,{placeholder:`\u5982\u4E0D\u586B\u5199\uFF0C\u9ED8\u8BA4\u63D0\u4EA4\u4FE1\u606F\u662F\uFF08${Me.defaultPath} rename to \u65B0\u7684\u540D\u79F0 \uFF09`,size:"middle"}))))))};var bt=(0,Je.connect)(({shixunsDetail:dt,loading:Ue,globalSetting:We,user:Rt})=>({shixunsDetail:dt,globalSetting:We,user:Rt,loading:Ue.models.index}))(Ft),It=re(90524),Ut=re(82093),jt=re(54580),bn=re(17826),Lt={wrap:"wrap___T4tjB",title:"title____QnQT",path:"path___PLUeD",colorBlue:"colorBlue___eL7QF"},Fe=re(59301),xe=Object.defineProperty,gt=Object.getOwnPropertySymbols,Mt=Object.prototype.hasOwnProperty,qt=Object.prototype.propertyIsEnumerable,Vt=(dt,Ue,We)=>Ue in dt?xe(dt,Ue,{enumerable:!0,configurable:!0,writable:!0,value:We}):dt[Ue]=We,kt=(dt,Ue)=>{for(var We in Ue||(Ue={}))Mt.call(Ue,We)&&Vt(dt,We,Ue[We]);if(gt)for(var We of gt(Ue))qt.call(Ue,We)&&Vt(dt,We,Ue[We]);return dt},rn=(dt,Ue)=>{var We={};for(var Rt in dt)Mt.call(dt,Rt)&&Ue.indexOf(Rt)<0&&(We[Rt]=dt[Rt]);if(dt!=null&>)for(var Rt of gt(dt))Ue.indexOf(Rt)<0&&qt.call(dt,Rt)&&(We[Rt]=dt[Rt]);return We},Wt=(dt,Ue,We)=>new Promise((Rt,Cn)=>{var aa=Me=>{try{it(We.next(Me))}catch(ut){Cn(ut)}},Oe=Me=>{try{it(We.throw(Me))}catch(ut){Cn(ut)}},it=Me=>Me.done?Rt(Me.value):Promise.resolve(Me.value).then(aa,Oe);it((We=We.apply(dt,Ue)).next())});const{Dragger:yt}=jt.default,an=dt=>{var Ue=dt,{shixunsDetail:We,globalSetting:Rt,loading:Cn,user:aa,dispatch:Oe,isRepository:it}=Ue,Me=rn(Ue,["shixunsDetail","globalSetting","loading","user","dispatch","isRepository"]);const ut=(0,Je.useLocation)(),zt=(0,Je.useParams)(),[Ga,ja]=(0,b.useState)({}),Vn=(0,b.useRef)(),[Xt]=x.default.useForm(),[Hn,ba]=(0,b.useState)([]),[La,rr]=(0,b.useState)();let sa;(0,b.useEffect)(()=>{Me.visible&&(Xt.resetFields(),ba([]))},[Me.visible]),(0,b.useEffect)(()=>{Vn.current=zt.id},[]),(0,b.useEffect)(()=>{const Zn=sessionStorage.getItem("pathArray");if(Zn){const Rn=Zn.split(",").join("/"),pn=Rn.indexOf("/")===0?Rn.substr(1):Rn;rr(pn)}},[]);const wt=Zn=>{var Rn,pn,Er,zr;if(sa=Zn.file.name,Zn.file.status==="done"||Zn.file.status==="uploading"){if(ba(Zn.fileList),!Zn.file.response)return;if(((Rn=Zn.file.response)==null?void 0:Rn.status)===0){(pn=We==null?void 0:We.detail)!=null&&pn.copy_for_exercise||(lt.ZP.success("\u4E0A\u4F20\u6210\u529F\uFF01"),Xt.validateFields());return}ba(Hn.filter(uo=>uo.uid!==Zn.file.uid)),(Er=Zn.file.response)!=null&&Er.message&<.ZP.info((zr=Zn.file.response)==null?void 0:zr.message)}},ca=Zn=>Wt(void 0,null,function*(){if(!Zn.response){lt.ZP.info("\u8FD8\u672A\u4E0A\u4F20\u5B8C\u6210\uFF0C\u65E0\u6CD5\u8FDB\u884C\u5220\u9664\u64CD\u4F5C\uFF01");return}(yield Oe({type:"shixunsDetail/deleteGitFile",payload:{id:zt.id,path:La?`${La}/${Zn.name}`:Zn.name,message:Xt.getFieldValue("commitMessage")||`\u5220\u9664\u4E86${La?`${La}/${Zn.name}`:Zn.name}`,secret_repository:it?null:!0}})).status===0&&(ba(Hn.filter(pn=>pn.uid!==Zn.uid)),lt.ZP.info("\u5220\u9664\u6210\u529F"))}),gr={height:300,multiple:!0,withCredentials:!0,openFileDialogOnClick:!!Xt.getFieldValue("commitMessage"),data:()=>Wt(void 0,null,function*(){return new Promise((Zn,Rn)=>Wt(void 0,null,function*(){setTimeout(()=>Wt(void 0,null,function*(){const pn=yield Xt.getFieldsValue(),Er=kt(kt({},{path:Me.defaultPath?Me.defaultPath:"",message:Ga.commitMessage||`\u4E0A\u4F20\u4E86${sa}`}),it?{}:{secret_repository:!0});Zn(Er)}),200)}))}),fileList:Hn,method:"post",action:`${It.Z.API_SERVER}/api/shixuns/${Vn.current}/upload_git_file.json`,onChange:wt,onRemove:ca,beforeUpload:Zn=>(sa=Zn.name,Zn.size/1024/1024>50?(lt.ZP.info("\u6587\u4EF6\u5927\u5C0F\u5FC5\u987B\u5C0F\u4E8E50MB"),!1):!0)},Pr=(Zn=!1,Rn=1)=>Wt(void 0,null,function*(){var pn;const Er=kt(kt({},{path:Me.defaultPath?Me.defaultPath:"",message:Ga.commitMessage||`\u4E0A\u4F20\u4E86${sa}`}),it?{}:{secret_repository:!0});for(let zr=0;zr{uo.append(Ka,Er[Ka].toString())});const to=yield(0,Ut.ZP)(`/api/shixuns/${Vn.current}/upload_git_file.json`,{method:"post",body:uo},!0)}Me.onClose(),Me.onOK({path:Me.defaultPath}),dr(),(pn=We==null?void 0:We.detail)!=null&&pn.copy_for_exercise&&(0,Gn.m)(Oe,We,zt.id,Rn)}),dr=()=>{var Zn,Rn;Je.history.push(`/shixuns/${Vn.current}/${(Rn=(Zn=ut.pathname)==null?void 0:Zn.split("/"))==null?void 0:Rn[3]}${La?`/master/shixun_show/${La}`:""}`)};return Fe.createElement(tt.default,{open:Me.visible,onOk:Zn=>{Xt.submit()},centered:!0,onCancel:Me.onClose,width:"70%"},Fe.createElement("section",{className:Lt.bg},Fe.createElement("div",{className:Lt.wrap},Fe.createElement("div",{className:Lt.title},"\u4E0A\u4F20\u6587\u4EF6"),Fe.createElement(x.default,{className:"mt10",form:Xt,scrollToFirstError:!0,layout:"vertical",onFinish:()=>Wt(void 0,null,function*(){var Zn,Rn;yield Xt.validateFields(),(Zn=We==null?void 0:We.detail)!=null&&Zn.is_fork_from_creator&&((Rn=We==null?void 0:We.detail)!=null&&Rn.copy_for_exercise)?(Me.onClose(),Oe({type:"classroomList/setActionTabs",payload:{key:"\u540C\u6B65\u4FEE\u6539",type:"wareHouse",fn:(pn,Er)=>{Pr(pn,Er)}}})):Pr()}),onValuesChange:()=>ja(kt({},Xt.getFieldsValue()))},Fe.createElement(x.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"}]},Fe.createElement(y.default,{placeholder:"\u5FC5\u586B\uFF0C\u63CF\u8FF0\u4E3B\u8981\u4FEE\u6539\u5185\u5BB9\uFF08\u76F8\u5F53\u4E8EGit Commit message\u7684Header\uFF09"})),Fe.createElement(x.default.Item,{label:"\u9009\u62E9\u6587\u4EF6",name:"file",rules:[{required:!0,validator(Zn,Rn){return(Hn==null?void 0:Hn.length)===0?Promise.reject(new Error("\u8BF7\u9009\u62E9\u6587\u4EF6")):Promise.resolve()}}]},Fe.createElement("div",{onClick:()=>{if(!Xt.getFieldValue("commitMessage")){lt.ZP.warning("\u8BF7\u5148\u586B\u5199\u63D0\u4EA4\u4FE1\u606F");return}}},Fe.createElement(yt,kt({},gr),Fe.createElement("div",null,Fe.createElement("i",{className:`iconfont icon-shangchuan font50 ${Lt.colorBlue}`})),Fe.createElement("div",{className:"font14 mt30"},"\u62D6\u62FD\u6587\u4EF6\u6216",Fe.createElement("span",{className:`${Lt.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"))))))),Fe.createElement(bn.Z,{onFinish:Zn=>rr(Zn)})))};var mt=(0,Je.connect)(({shixunsDetail:dt,loading:Ue,globalSetting:We,user:Rt})=>({shixunsDetail:dt,globalSetting:We,user:Rt,loading:Ue.models.index}))(an),At={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"},xt={wrap:"wrap___qIbzI",content:"content___cWjqb",mainPathWrap:"mainPathWrap___QP5mq",colorBlue:"colorBlue___zUy77"},cn=Object.defineProperty,Dt=Object.getOwnPropertySymbols,Ot=Object.prototype.hasOwnProperty,xn=Object.prototype.propertyIsEnumerable,Gt=(dt,Ue,We)=>Ue in dt?cn(dt,Ue,{enumerable:!0,configurable:!0,writable:!0,value:We}):dt[Ue]=We,Kn=(dt,Ue)=>{for(var We in Ue||(Ue={}))Ot.call(Ue,We)&&Gt(dt,We,Ue[We]);if(Dt)for(var We of Dt(Ue))xn.call(Ue,We)&&Gt(dt,We,Ue[We]);return dt},za=(dt,Ue,We)=>new Promise((Rt,Cn)=>{var aa=Me=>{try{it(We.next(Me))}catch(ut){Cn(ut)}},Oe=Me=>{try{it(We.throw(Me))}catch(ut){Cn(ut)}},it=Me=>Me.done?Rt(Me.value):Promise.resolve(Me.value).then(aa,Oe);it((We=We.apply(dt,Ue)).next())});const sr=({shixunsDetail:dt,globalSetting:Ue,loading:We,dispatch:Rt,title:Cn,pathList:aa=[],showInputPath:Oe=!1,isMergeSelectFile:it=!1,onFinish:Me=()=>{}})=>{const[ut]=x.default.useForm(),zt=(0,Je.useParams)(),Ga=(0,Je.useLocation)(),ja=(0,b.useRef)(),[Vn,Xt]=(0,b.useState)(""),[Hn,ba]=(0,b.useState)(""),[La,rr]=(0,b.useState)([]),[sa,wt]=(0,b.useState)([]);(0,b.useEffect)(()=>{var Rn,pn;ja.current=((pn=(Rn=Ga.pathname)==null?void 0:Rn.split("/"))==null?void 0:pn[3])==="repository"},[]),(0,b.useEffect)(()=>{if(dt.actionTabs.key!=="Repository-SelectFilePath")return;const Rn=aa.join("/");let pn=[];aa.map((Er,zr)=>{zr===0?pn.push({val:"\u6839\u76EE\u5F55",path:""},{val:`/${Er}`,path:Rn}):pn.push({val:`/${Er}`,path:Rn})}),rr(pn),Xt(Rn),ba(Rn),ca(Rn)},[dt.actionTabs.key]);const ca=Rn=>za(void 0,null,function*(){const pn=yield Rt({type:ja.current?"shixunsDetail/getRepository":"shixunsDetail/getSecretRepository",payload:{id:zt.id,path:Rn}});pn&&wt(pn.trees||[])}),gr=Rn=>{let pn=Vn;Rn.type==="tree"&&(La.length?La.push({val:`/${Rn.name}`,path:Rn.name}):La.push({val:"\u6839\u76EE\u5F55",path:""},{val:`/${Rn.name}`,path:Rn.name}),rr(La),pn=Vn?`${Vn}/${Rn.name}`:Rn.name,Xt(pn)),ca(pn)},Pr=(Rn,pn)=>{const Er=La.filter((uo,to)=>to<=pn);rr(Er);const zr=Er.filter((uo,to)=>to!==0).map(uo=>uo.val).join("").substr(1);Xt(zr),ca(zr)},dr=()=>za(void 0,null,function*(){const Rn=ut==null?void 0:ut.getFieldsValue(),pn=Vn?`${Vn}${Rn!=null&&Rn.name?`/${Rn==null?void 0:Rn.name}`:""}`:Rn==null?void 0:Rn.name;if(it){Me(pn),Zn();return}if(Oe){yield ut.validateFields();const Er=yield Rt({type:"shixunsDetail/uploadGitFolder",payload:Kn(Kn({},{id:zt.id,path:pn}),ja.current?{}:{secret_repository:!0})});Me(Hn),Er.status===0&<.ZP.info("\u65B0\u5EFA\u6210\u529F")}else Me(pn),lt.ZP.success("\u9009\u62E9\u6587\u4EF6\u76EE\u5F55\u6210\u529F");Zn()}),Zn=()=>{Rt({type:"shixunsDetail/setActionTabs",payload:{}}),ut.resetFields()};return b.createElement(tt.default,{centered:!0,title:Cn||"\u65B0\u5EFA\u6587\u4EF6\u5939",closable:!1,keyboard:!1,open:dt.actionTabs.key==="Repository-SelectFilePath",onOk:dr,onCancel:Zn},b.createElement("div",{className:xt.wrap},b.createElement("div",{className:xt.content},b.createElement("div",{className:xt.mainPathWrap},!!(La!=null&&La.length)&&La.map((Rn,pn)=>b.createElement("a",{key:pn,onClick:()=>Pr(Rn,pn)},Rn.val))),!!(sa!=null&&sa.length)&&sa.map((Rn,pn)=>Rn.type==="tree"&&b.createElement("a",{key:pn,onClick:()=>gr(Rn)},b.createElement("i",{className:`iconfont icon-wenjianjia ${xt.colorBlue}`}),Rn.name))),b.createElement("label",{className:"mt5"},"\u9009\u4E2D\u7684\u65B0\u5EFA\u6587\u4EF6\u5939\u76EE\u5F55\uFF1A"),b.createElement("div",{className:"mt5 mb5"},Vn),Oe&&b.createElement(x.default,{form:ut,scrollToFirstError:!0,className:"mt20"},b.createElement(x.default.Item,{name:"name",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u540D\u79F0"},{whitespace:!0,message:"\u8BF7\u52FF\u8F93\u5165\u7A7A\u683C"}]},b.createElement(y.default,{placeholder:"\u8BF7\u8F93\u5165\u65B0\u6587\u4EF6\u5939\u540D/\u5B50\u6587\u4EF6\u5939\u540D\u3002\uFF08\u5982\uFF1Asrc/step1\uFF09"})))))};var Ya=(0,Je.connect)(({shixunsDetail:dt,loading:Ue,globalSetting:We})=>({shixunsDetail:dt,globalSetting:We,loading:Ue.models.index}))(sr),Da=re(18785),Lr=re(84105),cr=re(67135),Ha=re(49661),Xa=re(23869),Dr=re(854),Fa=Object.defineProperty,Zr=Object.defineProperties,br=Object.getOwnPropertyDescriptors,Pt=Object.getOwnPropertySymbols,Sn=Object.prototype.hasOwnProperty,Fn=Object.prototype.propertyIsEnumerable,Zt=(dt,Ue,We)=>Ue in dt?Fa(dt,Ue,{enumerable:!0,configurable:!0,writable:!0,value:We}):dt[Ue]=We,sn=(dt,Ue)=>{for(var We in Ue||(Ue={}))Sn.call(Ue,We)&&Zt(dt,We,Ue[We]);if(Pt)for(var We of Pt(Ue))Fn.call(Ue,We)&&Zt(dt,We,Ue[We]);return dt},On=(dt,Ue)=>Zr(dt,br(Ue)),Jn=(dt,Ue)=>{var We={};for(var Rt in dt)Sn.call(dt,Rt)&&Ue.indexOf(Rt)<0&&(We[Rt]=dt[Rt]);if(dt!=null&&Pt)for(var Rt of Pt(dt))Ue.indexOf(Rt)<0&&Fn.call(dt,Rt)&&(We[Rt]=dt[Rt]);return We},ke=(dt,Ue,We)=>new Promise((Rt,Cn)=>{var aa=Me=>{try{it(We.next(Me))}catch(ut){Cn(ut)}},Oe=Me=>{try{it(We.throw(Me))}catch(ut){Cn(ut)}},it=Me=>Me.done?Rt(Me.value):Promise.resolve(Me.value).then(aa,Oe);it((We=We.apply(dt,Ue)).next())});const{DirectoryTree:rt}=de.default,qe=dt=>{var Ue=dt,{shixunsDetail:We,globalSetting:Rt,loading:Cn,user:aa,activeKey:Oe,dispatch:it,practiceSetting:Me,isRepository:ut,treeData:zt,setTreeData:Ga}=Ue,ja=Jn(Ue,["shixunsDetail","globalSetting","loading","user","activeKey","dispatch","practiceSetting","isRepository","treeData","setTreeData"]),Vn,Xt,Hn,ba,La,rr,sa;const wt=(0,Je.useParams)(),ca=(0,Je.useLocation)(),[gr,Pr]=(0,b.useState)(),[dr,Zn]=(0,b.useState)(!1),[Rn,pn]=(0,b.useState)(!1),[Er,zr]=(0,b.useState)(!1),[uo,to]=(0,b.useState)(!1),[Ka,_r]=(0,b.useState)("");let[Eo,ai]=(0,b.useState)([]),[li,Mi]=(0,b.useState)([]);const[Gr,Sa]=(0,b.useState)([]),[kn,$t]=(0,b.useState)(!1),[Mn,pr]=(0,b.useState)(),[be,jr]=(0,b.useState)(),[Za,mr]=(0,b.useState)(""),[fr,Vr]=(0,b.useState)(),[Xr,yo]=(0,b.useState)(!1);(0,b.useEffect)(()=>{Ga([]),Ii(""),localStorage.warehouseHideTip||$t(!0)},[ca.pathname,ut]);const So=(va="")=>ke(void 0,null,function*(){(yield(0,cr.Zt)({id:wt.id,secret_dir_path:va}))&&Vr(va)}),ui=va=>{var Kr;return b.createElement(he.default,{className:At.menu,onClick:Jr=>{switch(_r(va.path||""),Jr.key){case"1":(0,Ha.L9)(["\u5B9E\u8DF5\u9879\u76EE","\u8BBE\u7F6E","\u4EE3\u7801\u4ED3\u5E93","\u65B0\u5EFA\u6587\u4EF6"]),Zn(!0);break;case"2":(0,Ha.L9)(["\u5B9E\u8DF5\u9879\u76EE","\u8BBE\u7F6E","\u4EE3\u7801\u4ED3\u5E93","\u65B0\u5EFA\u6587\u4EF6\u5939"]),zr(!0);break;case"3":(0,Ha.L9)(["\u5B9E\u8DF5\u9879\u76EE","\u8BBE\u7F6E","\u4EE3\u7801\u4ED3\u5E93","\u4E0A\u4F20"]),to(!0);break;case"4":(0,Ha.L9)(["\u5B9E\u8DF5\u9879\u76EE","\u8BBE\u7F6E","\u4EE3\u7801\u4ED3\u5E93","\u91CD\u547D\u540D"]),pn(!0);break;case"5":(0,Ha.L9)(["\u5B9E\u8DF5\u9879\u76EE","\u8BBE\u7F6E","\u4EE3\u7801\u4ED3\u5E93","\u5220\u9664"]),Il(va.path,va.name,va);break;case"6":(0,Ha.L9)(["\u5B9E\u8DF5\u9879\u76EE","\u8BBE\u7F6E","\u4EE3\u7801\u4ED3\u5E93","\u590D\u5236\u8DEF\u5F84"]),rl(va);break}}},(va.type==="topTree"||va.type==="tree")&&b.createElement(he.default.Item,{key:"1"},"\u65B0\u5EFA\u6587\u4EF6"),(va.type==="topTree"||va.type==="tree")&&b.createElement(he.default.Item,{key:"2"},"\u65B0\u5EFA\u6587\u4EF6\u5939"),(va.type==="topTree"||va.type==="tree")&&b.createElement(he.default.Item,{key:"3"},"\u4E0A\u4F20"),va.type!=="topTree"&&va.type!=="tree"&&((Kr=We==null?void 0:We.detail)==null?void 0:Kr.public)<2&&b.createElement(he.default.Item,{key:"4"},"\u91CD\u547D\u540D"),va.type!=="topTree"&&b.createElement(E.CopyToClipboard,{text:`/data/workspace/myshixun/${ut?"":"secret/"}${va==null?void 0:va.path}`,onCopy:()=>lt.ZP.success("\u590D\u5236\u6210\u529F")},b.createElement(he.default.Item,{key:"6"},b.createElement(b.Fragment,null,"\u590D\u5236\u8DEF\u5F84"))),va.type!=="topTree"&&b.createElement(he.default.Item,{key:"5"},"\u5220\u9664"))},ko=(va,Kr)=>va.map(Jr=>(Kr==""?Jr.path=Kr+Jr.name:Jr.path=Kr+"/"+Jr.name,Jr.title=b.createElement(Xe.Z,{className:"font14"},b.createElement(Ke.Z,{flex:"1"},b.createElement(Xe.Z,null,Jr.type==="blob"&&b.createElement(Ke.Z,{flex:"20px",style:{marginLeft:-20}},b.createElement("span",{className:"iconfont icon-wenjian11 font12"})),b.createElement(Ke.Z,{flex:"1"},b.createElement("span",{className:" multi_ellipsis1"},Jr.name)))),b.createElement(Ke.Z,null,(Jr.type==="blob"||Jr.type==="tree")&&b.createElement(Ie.Z,{dropdownRender:()=>ui(Jr),className:At.ellipsis},b.createElement("i",{className:"iconfont icon-gengduo2 c-555a88"})))),Jr.disableCheckbox=gr&&gr!==Jr.name,Jr.className=Jr.type==="tree"?At.pl23:"",Jr.checkable=Jr.type!=="tree",Jr.isLeaf=Jr.type!=="tree",Jr.children=Jr.type==="tree"&&[],Jr.key=Jr.path,Jr)),Di=va=>{it({type:"practiceSetting/setSideBarTabs",payload:{selectPath:va}})},hl=(va,Kr)=>ke(void 0,null,function*(){const Jr=va.split("/");yield Ii(Ka),setTimeout(()=>{Di(va),Eo=[Jr[0]||""],li=[va],Mi([...li]),ai([...Eo])},150)}),di=(va,Kr)=>{if(Kr=="")zt=[...va],Ga([...va]);else{let Jr=bl(zt,Kr,va);zt=Jr,Ga([...Jr])}};function bl(va,Kr,Jr){return va.map(Po=>Po.key===Kr?(Po.children=[...Jr],sn({},Po)):Po.children?On(sn({},Po),{children:bl(Po.children,Kr,Jr)}):Po)}const Ii=(va="")=>ke(void 0,null,function*(){var Kr,Jr;const Po=yield it({type:ut?"shixunsDetail/getRepository":"shixunsDetail/getSecretRepository",payload:{id:wt.id,path:va}});if(Po){if((Kr=Po.trees)!=null&&Kr.length){let Li=ko([...Po.trees],va);di(Li,va),Sa(Po.trees||[]),jr(va||""),console.log("handleGetRepository:",Li,va),setTimeout(()=>console.log(zt,Po.trees,va,999999),2e3)}else va==""&&Ga([]);pr(((Jr=Po.commits)==null?void 0:Jr[0])||{})}return Po}),gl=va=>ke(void 0,null,function*(){return new Promise((Kr,Jr)=>ke(void 0,null,function*(){va.children.length&&Kr(),mr(va.path),yield Ii(va.path),Kr()}))}),al=(va,Kr)=>ke(void 0,null,function*(){var Jr;console.log("handleSelectTree",va,Kr.nativeEvent.target.nodeName,Kr);const Po=()=>{Di(Kr.node.path),va=[Kr.node.path],Mi([...va])};Kr.nativeEvent.target.nodeName==="svg"||Kr.nativeEvent.target.nodeName==="LI"||Kr.nativeEvent.target.nodeName==="I"||Kr.node.type==="blob"&&((Jr=Me==null?void 0:Me.sideBar)!=null&&Jr.confirmLeave?tt.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(),it({type:"practiceSetting/setSideBarTabs",payload:{confirmLeave:!1}})}}):Po())}),Il=(va,Kr,Jr)=>{tt.default.confirm({centered:!0,title:`\u786E\u8BA4\u9700\u8981\u5220\u9664\u8BE5\u6587\u4EF6${Jr.children?"\u5939":""}?`,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>ke(void 0,null,function*(){const Po=yield it({type:"shixunsDetail/deleteGitFile",payload:{id:wt.id,path:va,message:`\u5220\u9664${va}`,secret_repository:ut?null:!0}});let Li=va.split("/");if((Po==null?void 0:Po.status)===0){lt.ZP.info("\u5220\u9664\u6210\u529F"),Li.splice(Li.length-1,1);const Hl=yield Ii(Li.length>1?Li.join("/"):"");return Hl!=null&&Hl.trees||(Li.splice(Li.length-1,1),yield Ii(Li.length>1?Li.join("/"):"")),Di(""),!0}else(Po==null?void 0:Po.status)===-3?tt.default.confirm({title:"\u5220\u9664\u5931\u8D25",centered:!0,content:b.createElement("div",null,"\u8BE5\u6587\u4EF6\u201C",va,"\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/${wt.id}/edit/${Po==null?void 0:Po.message}/tab=2`}}):(Po==null?void 0:Po.status)===-4&&tt.default.confirm({title:"\u5220\u9664\u5931\u8D25",centered:!0,content:b.createElement("div",null,Po==null?void 0:Po.message),okText:"\u524D\u5F80\u4FEE\u6539",cancelText:"\u53D6\u6D88",onOk:()=>{window.location.href=`/shixuns/${wt.id}/edit?tabId=service`}})})})},rl=va=>{console.log(va,"item")},Pu=(va,Kr)=>ke(void 0,null,function*(){if(console.log("handleExpand",Kr),Kr.nativeEvent.target.nodeName==="svg"||Kr.nativeEvent.target.nodeName==="path"||Kr.nativeEvent.target.nodeName==="LI")return!0;yield gl(Kr.node),Eo.includes(Kr.node.path)?Eo.splice(Eo.indexOf(Kr.node.path),1):Eo.push(Kr.node.path),ai([...Eo])}),$l=()=>{$t(!1),localStorage.warehouseHideTip=!0},Au=va=>ke(void 0,null,function*(){var Kr;let Jr,Po="",Li,Hl;switch(ut){case!0:Po="\u5F00\u542F\u7248\u672C\u5E93",Li="\u5F00\u542F",Hl="\u4E0D\u5F00\u542F",Jr=b.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:(Kr=We==null?void 0:We.detail)!=null&&Kr.secret_repository?(Po="\u5173\u95ED\u79C1\u5BC6\u4EE3\u7801\u4ED3\u5E93",Li="\u786E\u5B9A",Hl="\u53D6\u6D88",Jr=b.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",Li="\u4E0D\u4F7F\u7528",Hl="\u4F7F\u7528",Jr=b.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}!ut&&(0,Xa.gy)(it,"\u4E0D\u80FD\u5F00\u542F/\u5173\u95ED\u79C1\u5BC6\u4EE3\u7801\u4ED3\u5E93")||tt.default.confirm({title:Po,okText:Li,cancelText:Hl,content:Jr,onOk:()=>{var gi;(0,Ha.L9)(["\u5B9E\u8DF5\u9879\u76EE","\u8BBE\u7F6E","\u4EE3\u7801\u4ED3\u5E93",Po]),!ut&&!((gi=We==null?void 0:We.detail)!=null&&gi.secret_repository)||eu(va)},onCancel:()=>{var gi;!ut&&!((gi=We==null?void 0:We.detail)!=null&&gi.secret_repository)&&eu(va)}})}),eu=va=>ke(void 0,null,function*(){ut?(yield(0,cr.h4)(sn({},wt)),it({type:"practiceSetting/getCommonData",payload:sn({},wt)})):yield(0,cr.K0)(On(sn({},wt),{is_secret_repository:va})),Ii(),it({type:"shixunsDetail/getShixunsDetail",payload:{id:wt.id}})}),$u=va=>{console.log(va)},Si=va=>ke(void 0,null,function*(){console.log(va);const Kr=va.node.key,Jr=va.dragNode.key,Po=va.node.pos.split("-"),Li=va.dropPosition-Number(Po[Po.length-1]);if(va.dragNode.type==="tree"){lt.ZP.warning("\u4E0D\u652F\u6301\u6587\u4EF6\u5939\u79FB\u52A8\u76EE\u5F55");return}if(va.node.type!=="tree"){lt.ZP.warning("\u672A\u79FB\u52A8\u6587\u4EF6\u76EE\u5F55\u4F4D\u7F6E");return}if((yield it({type:"shixunsDetail/moveGitFile",payload:sn({id:wt.id,from:va.dragNode.path,to:va.node.path+"/"+va.dragNode.name,message:`${va.dragNode.path} move to ${va.node.path+"/"+va.dragNode.name} `},ut?{}:{secret_repository:!0})})).status===0){Di(""),yield Ii("");for(let Xo=0;Xoui({type:"topTree"}),className:"current"},b.createElement(Ze.Z,{open:kn,title:b.createElement("div",{className:"font16"},b.createElement(Da.Z,{style:{position:"relative",left:-35},onClick:()=>$l()}),"\u70B9\u51FB\u6B64\u5904\u65B0\u5EFA\u6587\u4EF6\u3001\u65B0\u5EFA\u6587\u4EF6\u5939\u3001\u4E0A\u4F20\u6587\u4EF6\u3002",b.createElement("span",{onClick:()=>$l(),className:"iconfont icon-guanbi1 ml8 current font14"})),overlayClassName:At.overlayClass,overlayStyle:{maxWidth:500},arrowPointAtCenter:!0,placement:"right",color:"#F7B500"},ut&&((ba=We==null?void 0:We.detail)==null?void 0:ba.init_repository)&&b.createElement("i",{className:"iconfont icon-gengduo2 c-555a88"}),!ut&&((La=We==null?void 0:We.detail)==null?void 0:La.secret_repository)&&b.createElement("i",{className:"iconfont icon-gengduo2 c-555a88"}))))),!!zt.length&&!ut&&b.createElement("div",{className:"mt20 pl20 pr20 font14 c-white"},b.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")),zt.length?b.createElement(b.Fragment,null,b.createElement("div",{className:At.content},Oe==="1"&&b.createElement("div",{className:At.tips},"\u63D0\u793A\uFF1A",b.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'),b.createElement(rt,{disabled:!!Cn.effects["shixunsDetail/getFileContent"],multiple:!0,showIcon:!1,treeData:zt,switcherIcon:b.createElement(Lr.Z,{style:{fontWeight:"bold",fontSize:14,position:"relative",top:5,left:-2}}),onExpand:Pu,expandedKeys:Eo,selectedKeys:li,onSelect:al,draggable:!0,onDragEnter:$u,onDrop:Si,className:At.gitTree}))):"",!zt.length&&ut&&((rr=We==null?void 0:We.detail)==null?void 0:rr.init_repository)&&b.createElement(Dn,null),!zt.length&&!ut&&((sa=We==null?void 0:We.detail)==null?void 0:sa.secret_repository)&&b.createElement(Dn,null))),b.createElement(bt,{visible:Rn,defaultPath:Ka,onClose:()=>pn(!1),isRepository:!ut,onOK:va=>ke(void 0,null,function*(){const Kr=Ka.split("/");Kr.pop(),yield Ii(Kr.join("/")),Di("")})}),b.createElement(nt,{visible:dr,defaultPath:Ka,onClose:()=>Zn(!1),isRepository:ut,onOK:va=>{hl(va.path,va.name)}}),b.createElement(ht,{visible:Er,defaultPath:Ka,onClose:()=>zr(!1),isRepository:ut,onOK:va=>{hl(va.path,va.name)}}),b.createElement(mt,{defaultPath:Ka,visible:uo,isRepository:ut,onClose:()=>to(!1),onOK:va=>ke(void 0,null,function*(){const Kr=Ka.split("/");yield Ii(Ka),Eo=[Kr[0]||""],li=[Ka],Mi([...li]),ai([...Eo])})}),b.createElement(Ya,{pathList:Ka==null?void 0:Ka.split("/"),showInputPath:!0,isMergeSelectFile:Xr,onFinish:va=>{Xr?So(va):Ii(va),yo(!1)}}))},Dn=()=>b.createElement("div",{className:`mt20 pb50 ${At.nodata}`},b.createElement("div",{className:At.headLeft},"\u63D0\u793A\uFF1A",b.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",b.createElement("br",null),"\u4E24\u79CD\u65B9\u5F0F\u6765\u4F7F\u7528\uFF1A",b.createElement("br",null),"1\u3001",b.createElement("a",{href:"/forums/2784",target:"_blank"},"Git\u5BA2\u6237\u7AEF")," \u4E0A\u4F20\u5DF2\u6709\u6587\u4EF6\u6765\u5F00\u59CB\u4F7F\u7528\u3002",b.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",b.createElement("br",null),"3\u3001\u5982\u679C\u6587\u4EF6\u5927\u5C0F\u8D85\u8FC750MB,\u8BF7\u4E0A\u4F20\u81F3\u6570\u636E\u96C6\u3002"),b.createElement("img",{width:"100%",src:Dr.Oe}));var mn=(0,Je.connect)(({shixunsDetail:dt,loading:Ue,globalSetting:We,practiceSetting:Rt,user:Cn})=>({shixunsDetail:dt,globalSetting:We,user:Cn,practiceSetting:Rt,loading:Ue}))(qe),Wn={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"},ya=re(28103),ma=Object.getOwnPropertySymbols,ta=Object.prototype.hasOwnProperty,fa=Object.prototype.propertyIsEnumerable,ua=(dt,Ue)=>{var We={};for(var Rt in dt)ta.call(dt,Rt)&&Ue.indexOf(Rt)<0&&(We[Rt]=dt[Rt]);if(dt!=null&&ma)for(var Rt of ma(dt))Ue.indexOf(Rt)<0&&fa.call(dt,Rt)&&(We[Rt]=dt[Rt]);return We},hn=(dt,Ue,We)=>new Promise((Rt,Cn)=>{var aa=Me=>{try{it(We.next(Me))}catch(ut){Cn(ut)}},Oe=Me=>{try{it(We.throw(Me))}catch(ut){Cn(ut)}},it=Me=>Me.done?Rt(Me.value):Promise.resolve(Me.value).then(aa,Oe);it((We=We.apply(dt,Ue)).next())});const Ra=dt=>{var Ue=dt,{shixunsDetail:We,globalSetting:Rt,loading:Cn,user:aa,dispatch:Oe,isRepository:it}=Ue,Me=ua(Ue,["shixunsDetail","globalSetting","loading","user","dispatch","isRepository"]);const ut=(0,Je.useParams)(),[zt,Ga]=(0,b.useState)([]);(0,b.useEffect)(()=>{ja()},[it]);const ja=()=>hn(void 0,null,function*(){const Vn=yield Oe({type:"shixunsDetail/getRepositoryCommit",payload:{id:ut.id,secret_repository:it?void 0:!0}});Vn&&Ga(Vn.commits||[])});return b.createElement(b.Fragment,null,zt==""&&b.createElement("div",{className:Wn.empty},b.createElement("img",{src:Dr.em,width:"258"}),b.createElement("br",null),b.createElement("span",{className:"c-grey-c font14"},"\u6682\u65E0\u63D0\u4EA4\u8BB0\u5F55")),zt!=""&&b.createElement("section",{className:Wn.bg},b.createElement("div",{className:Wn.wrap},b.createElement("div",{className:Wn.content},zt==null?void 0:zt.map(Vn=>{var Xt,Hn;return b.createElement("div",null,b.createElement(Xe.Z,{align:"middle",className:"c-white font16"},b.createElement(Ke.Z,null,Vn.title)),b.createElement(Xe.Z,{align:"middle",className:"mt20 "},b.createElement(Ke.Z,null,b.createElement("img",{className:Wn.imageUrl,src:It.Z.IMG_SERVER+"/"+((Xt=Vn.author)==null?void 0:Xt.image_url)})),b.createElement(Ke.Z,{className:Wn.blueLight},b.createElement("span",{className:"ml20"},(Hn=Vn.author)==null?void 0:Hn.username)),b.createElement(Ke.Z,null,b.createElement("span",{className:`ml20 ${Wn.blueLight}`},"\u63D0\u4EA4\u4E8E"),b.createElement("span",{className:`ml20 ${Wn.blueLight}`},Vn.time))),b.createElement(ya.Z,{className:Wn.divider}))})))))};var vr=(0,Je.connect)(({shixunsDetail:dt,loading:Ue,globalSetting:We,user:Rt})=>({shixunsDetail:dt,globalSetting:We,user:Rt,loading:Ue.models.index}))(Ra),fo=re(10825),Nn=re(59301),tn=Object.defineProperty,Or=Object.defineProperties,ha=Object.getOwnPropertyDescriptors,qr=Object.getOwnPropertySymbols,Yr=Object.prototype.hasOwnProperty,na=Object.prototype.propertyIsEnumerable,oo=(dt,Ue,We)=>Ue in dt?tn(dt,Ue,{enumerable:!0,configurable:!0,writable:!0,value:We}):dt[Ue]=We,Mo=(dt,Ue)=>{for(var We in Ue||(Ue={}))Yr.call(Ue,We)&&oo(dt,We,Ue[We]);if(qr)for(var We of qr(Ue))na.call(Ue,We)&&oo(dt,We,Ue[We]);return dt},$r=(dt,Ue)=>Or(dt,ha(Ue)),ho=(dt,Ue)=>{var We={};for(var Rt in dt)Yr.call(dt,Rt)&&Ue.indexOf(Rt)<0&&(We[Rt]=dt[Rt]);if(dt!=null&&qr)for(var Rt of qr(dt))Ue.indexOf(Rt)<0&&na.call(dt,Rt)&&(We[Rt]=dt[Rt]);return We},yn=(dt,Ue,We)=>new Promise((Rt,Cn)=>{var aa=Me=>{try{it(We.next(Me))}catch(ut){Cn(ut)}},Oe=Me=>{try{it(We.throw(Me))}catch(ut){Cn(ut)}},it=Me=>Me.done?Rt(Me.value):Promise.resolve(Me.value).then(aa,Oe);it((We=We.apply(dt,Ue)).next())});const{TabPane:Mr}=Te.default,io=dt=>{var Ue=dt,{globalSetting:We,loading:Rt,dispatch:Cn,practiceSetting:aa,shixunsDetail:Oe}=Ue,it=ho(Ue,["globalSetting","loading","dispatch","practiceSetting","shixunsDetail"]),Me,ut,zt,Ga,ja,Vn,Xt,Hn,ba,La,rr,sa,wt,ca,gr,Pr,dr,Zn,Rn;const[pn,Er]=(0,b.useState)("1"),[zr,uo]=(0,b.useState)("1");let[to,Ka]=(0,b.useState)();const _r=(0,b.useRef)(),[Eo,ai]=(0,b.useState)(!0),[li,Mi]=(0,b.useState)(["2","1"]),[Gr,Sa]=(0,b.useState)([]),kn=(0,b.useRef)(),$t=(0,Je.useParams)(),Mn=[{id:"1",name:"\u4EE3\u7801\u4ED3\u5E93"},{id:"2",name:Nn.createElement("span",null,Nn.createElement("span",null,"\u79C1\u5BC6\u4EE3\u7801\u4ED3\u5E93"),Nn.createElement(Ze.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"},Nn.createElement("i",{className:"iconfont icon-xiaowenhao",style:{marginLeft:2,fontSize:14}})))}];(0,b.useEffect)(()=>{var Za,mr,fr,Vr,Xr,yo,So,ui,ko,Di,hl,di,bl,Ii,gl,al,Il,rl;try{((fr=(mr=(Za=Oe==null?void 0:Oe.fileContent)==null?void 0:Za.content)==null?void 0:mr.content)!=null&&fr.length||((Xr=(Vr=Oe==null?void 0:Oe.fileContent)==null?void 0:Vr.content)==null?void 0:Xr.content)=="")&&(((yo=Oe==null?void 0:Oe.fileContent)==null?void 0:yo.file_type)==="txt"?(_r.current=window.decodeURIComponent(escape(window.atob((ui=(So=Oe==null?void 0:Oe.fileContent)==null?void 0:So.content)==null?void 0:ui.content))),to=window.decodeURIComponent(escape(window.atob((Di=(ko=Oe==null?void 0:Oe.fileContent)==null?void 0:ko.content)==null?void 0:Di.content))),Ka(to)):(_r.current=(di=(hl=Oe==null?void 0:Oe.fileContent)==null?void 0:hl.content)==null?void 0:di.content,to=(Ii=(bl=Oe==null?void 0:Oe.fileContent)==null?void 0:bl.content)==null?void 0:Ii.content,Ka(to)))}catch(Pu){_r.current=window.atob((al=(gl=Oe==null?void 0:Oe.fileContent)==null?void 0:gl.content)==null?void 0:al.content),to=window.atob((rl=(Il=Oe==null?void 0:Oe.fileContent)==null?void 0:Il.content)==null?void 0:rl.content),Ka(to),lt.ZP.warning("\u8BF7\u786E\u8BA4\u6587\u4EF6\u5B57\u7B26\u96C6\u7F16\u7801\u662F\u5426\u4E3AUTF-8")}console.log("codeMirrorSourceValue1212:12",Oe.fileContent.content)},[(Me=Oe==null?void 0:Oe.fileContent)==null?void 0:Me.content]),(0,b.useEffect)(()=>{var Za;const mr=(Za=aa==null?void 0:aa.sideBar)==null?void 0:Za.selectPath.split("/");Mi(mr)},[(ut=aa==null?void 0:aa.sideBar)==null?void 0:ut.selectPath]);const pr=Za=>{Ka(Za);let mr=-1;Za===_r.current?mr=0:mr=1,Cn({type:"practiceSetting/setSideBarTabs",payload:{confirmLeave:!!mr}})};(0,b.useEffect)(()=>{new Promise((Za,mr)=>yn(void 0,null,function*(){var fr,Vr,Xr;if(((fr=aa==null?void 0:aa.sideBar)==null?void 0:fr.selectPath)!==""&&((Vr=aa==null?void 0:aa.sideBar)!=null&&Vr.selectPath)){const yo=yield Cn({type:"shixunsDetail/getFileContent",payload:{id:$t.id,path:(Xr=aa==null?void 0:aa.sideBar)==null?void 0:Xr.selectPath,secret_repository:Eo?null:!0}});yo!=null&&yo.content||(yo==null?void 0:yo.content)==""||Cn({type:"practiceSetting/setSideBarTabs",payload:{selectPath:""}})}}))},[(zt=aa==null?void 0:aa.sideBar)==null?void 0:zt.selectPath]);const be=Nn.createElement(he.default,{className:Be.menu,style:{background:"#24294b"},onClick:Za=>{var mr;!((mr=Oe==null?void 0:Oe.detail)!=null&&mr.secret_repository)&&Za.key==="2"&&uo("1"),Er(Za.key),Za.key==="1"?ai(!0):ai(!1)}},Nn.createElement(he.default.Item,{disabled:!0,key:"0"},"\u5207\u6362\u4ED3\u5E93"),Mn.filter(Za=>{var mr,fr;return!((mr=Oe==null?void 0:Oe.detail)!=null&&mr.init_repository)||(fr=Oe==null?void 0:Oe.detail)!=null&&fr.is_jupyter_lab?Za.id!=="2":Za}).map((Za,mr)=>Nn.createElement(he.default.Item,{className:"leaveClick",key:Za.id},Za.name))),jr=(Za=!1,mr=1)=>yn(void 0,null,function*(){var fr,Vr,Xr,yo;const So=yield Cn({type:"shixunsDetail/updateRepositoryFile",payload:{id:$t.id,path:(Vr=(fr=Oe==null?void 0:Oe.fileContent)==null?void 0:fr.params)==null?void 0:Vr.path,content:to,secret_repository:Eo?null:!0,sync_origin_shixun:Za}});So!=null&&So.content&&((Xr=Oe==null?void 0:Oe.detail)!=null&&Xr.copy_for_exercise||lt.ZP.success("\u4FDD\u5B58\u6210\u529F"),Cn({type:"practiceSetting/setSideBarTabs",payload:$r(Mo({},aa.sideBar),{confirmLeave:!1})})),(yo=Oe==null?void 0:Oe.detail)!=null&&yo.copy_for_exercise&&(0,Gn.m)(Cn,Oe,$t.id,mr)});return Nn.createElement("div",{className:Be.warehouse},Nn.createElement("div",{className:Be.header},Nn.createElement(Xe.Z,{align:"middle",className:"w100 c-white",style:{height:60}},Nn.createElement(Ke.Z,{flex:"1"},Nn.createElement(Xe.Z,{align:"middle"},Nn.createElement(Ke.Z,null,Nn.createElement(Ie.Z,{dropdownRender:()=>be,className:Be.menu},Nn.createElement("span",{className:"font16 c-white current ml20"},Mn.find(Za=>Za.id===pn).name," ",Nn.createElement("span",{style:{color:"#B0B5D6"},className:"iconfont icon-sanjiaoxing font12"})))),Nn.createElement(Ke.Z,{flex:"81px"},Nn.createElement("div",{className:Be.line})),Nn.createElement(Ke.Z,null,Nn.createElement(Te.default,{className:Be.tabs,activeKey:zr,onChange:Za=>{var mr;(mr=aa==null?void 0:aa.sideBar)!=null&&mr.confirmLeave?tt.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:()=>{uo(Za),Cn({type:"practiceSetting/setSideBarTabs",payload:{confirmLeave:!1,selectPath:""}})}}):(uo(Za),Cn({type:"practiceSetting/setSideBarTabs",payload:{confirmLeave:!1,selectPath:""}}))}},Nn.createElement(Mr,{tab:Nn.createElement("span",{className:"leaveClick"},"\u4EE3\u7801\u6587\u4EF6"),key:"1"}),Eo&&((Ga=Oe==null?void 0:Oe.detail)==null?void 0:Ga.init_repository)&&Nn.createElement(Mr,{tab:"\u63D0\u4EA4\u8BB0\u5F55",key:"2",className:"leaveClick"}),!Eo&&((ja=Oe==null?void 0:Oe.detail)==null?void 0:ja.secret_repository)&&Nn.createElement(Mr,{tab:"\u63D0\u4EA4\u8BB0\u5F55",key:"2",className:"leaveClick"}))))),(Eo&&((Vn=Oe==null?void 0:Oe.repository)==null?void 0:Vn.git_url)||!Eo&&((Xt=Oe==null?void 0:Oe.secretRepository)==null?void 0:Xt.git_url))&&Nn.createElement(Nn.Fragment,null,Nn.createElement(Ke.Z,null,Nn.createElement("span",{className:Be.title},"\u4ED3\u5E93\u5730\u5740:"),Nn.createElement("input",{value:Eo?(Hn=Oe==null?void 0:Oe.repository)==null?void 0:Hn.git_url:(ba=Oe==null?void 0:Oe.secretRepository)==null?void 0:ba.git_url}),Nn.createElement(E.CopyToClipboard,{text:Eo?(La=Oe==null?void 0:Oe.repository)==null?void 0:La.git_url:(rr=Oe==null?void 0:Oe.secretRepository)==null?void 0:rr.git_url,onCopy:()=>lt.ZP.success("\u590D\u5236\u6210\u529F")},Nn.createElement(Ze.Z,{placement:"topLeft",title:"\u70B9\u51FB\u590D\u5236\u7248\u672C\u5E93"},Nn.createElement("i",{className:"iconfont icon-fuzhi2 current ml5 mr40"}))))))),Nn.createElement("div",{className:Be.content,style:{overflow:"auto"}},zr==="1"&&Nn.createElement(Nn.Fragment,null,Nn.createElement("aside",{className:Be.left},Nn.createElement(ot.Z,{spinning:!!Rt.effects["shixunsDetail/getRepository"],wrapperClassName:`${Be.loading} ${Be.bottom0}`},Nn.createElement(mn,{setTreeData:Sa,treeData:Gr,activeKey:pn,isRepository:Eo}))),Nn.createElement("aside",{className:Be.right,ref:kn},((sa=aa==null?void 0:aa.sideBar)==null?void 0:sa.selectPath)!==""&&Nn.createElement(Nn.Fragment,null,Nn.createElement(ot.Z,{spinning:!!Rt.effects["shixunsDetail/getFileContent"],wrapperClassName:Be.loading},Nn.createElement("div",{className:Be.filePathWrp},Nn.createElement(Xe.Z,{align:"middle",className:"w100"},Nn.createElement(Ke.Z,null,Nn.createElement("span",{className:"iconfont icon-daimacangku2 c-white"})),Nn.createElement(Ke.Z,{flex:"40px"},Nn.createElement("div",{className:Be.line,style:{marginLeft:20}})),Nn.createElement(Ke.Z,{className:Be.filePath},li.map((Za,mr)=>Nn.createElement("span",{className:"c-blue"},Za))))),Nn.createElement("div",{className:Rt.effects["shixunsDetail/getFileContent"]?"hide":"show"},Nn.createElement(fo.Z,{className:"darkBlue",style:{top:66,height:"calc(100% - 60px)",position:"absolute",zIndex:1},filename:(wt=Oe==null?void 0:Oe.fileContent)==null?void 0:wt.filename,type:((ca=Oe==null?void 0:Oe.fileContent)==null?void 0:ca.file_type)==="office"?"download":(gr=Oe==null?void 0:Oe.fileContent)==null?void 0:gr.file_type,data:to,monacoEditor:{value:to,language:(Pr=Oe==null?void 0:Oe.fileContent)==null?void 0:Pr.language,onChange:Za=>pr(Za),options:{fontSize:14}}}))),((dr=Oe==null?void 0:Oe.fileContent)==null?void 0:dr.file_type)==="txt"&&Nn.createElement(Xe.Z,{align:"middle",justify:"center",className:Be.footer},Nn.createElement(Ke.Z,null,Nn.createElement(Qe.ZP,{type:"primary",size:"middle",ghost:!0,onClick:()=>{Je.history.push(`/shixuns/${$t.id}/challenges`)}},"\u53D6\u6D88"),Nn.createElement(Qe.ZP,{type:"primary",size:"middle",className:"ml40",onClick:Za=>{var mr,fr;(mr=Oe==null?void 0:Oe.detail)!=null&&mr.is_fork_from_creator&&((fr=Oe==null?void 0:Oe.detail)!=null&&fr.copy_for_exercise)?Cn({type:"classroomList/setActionTabs",payload:{key:"\u540C\u6B65\u4FEE\u6539",type:"wareHouse",fn:(Vr,Xr)=>{jr(Vr,Xr)}}}):jr()}},"\u63D0\u4EA4")))),((Zn=aa==null?void 0:aa.sideBar)==null?void 0:Zn.selectPath)==""&&((Rn=Oe==null?void 0:Oe.detail)==null?void 0:Rn.init_repository)&&Nn.createElement("div",{className:Be.empty},Nn.createElement("img",{src:Dr.x7,width:"258"}),Nn.createElement("br",null),Nn.createElement("span",{className:"c-grey-c"},!!(Gr!=null&&Gr.length)&&"\u5728\u5DE6\u4FA7\u4EE3\u7801\u4ED3\u5E93\u533A\u57DF\u70B9\u51FB\u76EE\u5F55\u6253\u5F00\u6587\u4EF6",!(Gr!=null&&Gr.length)&&"\u8BF7\u5148\u5728\u5DE6\u4FA7\u4E0A\u4F20\u6587\u4EF6\u6216\u65B0\u5EFA\u6587\u4EF6\uFF01")))),zr==="2"&&Nn.createElement("div",{className:Be.commit},Nn.createElement(vr,{isRepository:Eo}))))};var lo=(0,Je.connect)(({loading:dt,globalSetting:Ue,practiceSetting:We,shixunsDetail:Rt})=>({globalSetting:Ue,loading:dt,practiceSetting:We,shixunsDetail:Rt}))(io)},68014:function(je,Nt,re){"use strict";re.r(Nt),re.d(Nt,{default:function(){return ss}});var b=re(59301),Be={practiceSetting:"practiceSetting___duHIg",wrapHeader:"wrapHeader___vb3NV",wrapLayout:"wrapLayout___z6EgF",wrapSidebar:"wrapSidebar___TzHq8",wrapContent:"wrapContent___iZrCo"},Je={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"},Te=re(49661),Ze="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAACL0lEQVRIS72WvU9TURTAf4e+qBUritRXoYkaB0w0alz4B3RQExTSbjpooouiddGVxf0hTjKQ+MkANhiVwYTNwcHFRuNgdIHGYiMmVWnja6+5La8ttq99Vesd3/n4nXPuOec+ocHpu6nCecVJFCcUHBDo0eoK0gKvEZ76hNnFy7Lg5kbqCXrGVa8vzyhwVsBoFIQCG5jM+xhNj0jyd90agGmpQVHcQwg0clwjU2SUcDoVk8fVsjUAc0yNiMICOlpyXlEuKCGWuiLjzqcyoBg5xP/CueOzoGDIyaQI0DU3bN61XBa3NBUZ22CvvpMiwLTUbYHzf1gWDpmw9B2S3yoeFEykYnJBdCvaBT4265Z6cEMgNgBn9sPQNHz4ugZgGx3sltCYuojiVqvRd/th4jjsC0J0BhKf63gQLknIUs+AY60A+rfB3UEIboTIDLz65Go9J6alFgT6vAIOboeHp2CrH64+h6m37pYKFnUGWWB9tZrfAOso5Gy4Ng/ZfEl62ISpYQisgzsJuD7fNKxcXUCoE+JR2NUFiSU49wQ2GDAbBV3798tw5D7kVsENMDnXEoUDEI9AeDN8WYGsDb0B0FM0PA0va7ZOLcYpkesl7+wqQXZsqhh7LI1jMNe0TfdsKUGCnfDjJwxMQnqlae1LCrpNvQxafzc8isCDN3DjhTfneo0XB83rqtADlczAsu45D6e8Kv7LslvNon3r2sm4rQ9OGdLOJ9OBtPXRr26Qf/Hb8gvtaezbqqd4vgAAAABJRU5ErkJggg==",lt=re(67135),he=re(43418),Xe=re(8591),Ke=re(82093),Ie=re(76560),tt=re(59301),ot=Object.getOwnPropertySymbols,Qe=Object.prototype.hasOwnProperty,de=Object.prototype.propertyIsEnumerable,a=(ve,Ee)=>{var pe={};for(var at in ve)Qe.call(ve,at)&&Ee.indexOf(at)<0&&(pe[at]=ve[at]);if(ve!=null&&ot)for(var at of ot(ve))Ee.indexOf(at)<0&&de.call(ve,at)&&(pe[at]=ve[at]);return pe},E=(ve,Ee,pe)=>new Promise((at,Qt)=>{var Ln=st=>{try{un(pe.next(st))}catch(dn){Qt(dn)}},wn=st=>{try{un(pe.throw(st))}catch(dn){Qt(dn)}},un=st=>st.done?at(st.value):Promise.resolve(st.value).then(Ln,wn);un((pe=pe.apply(ve,Ee)).next())});const x=ve=>{var Ee=ve,{globalSetting:pe,loading:at,dispatch:Qt,practiceSetting:Ln,shixunsDetail:wn}=Ee,un=a(Ee,["globalSetting","loading","dispatch","practiceSetting","shixunsDetail"]),st,dn;const Ea=(0,Ie.useLocation)(),Qa=(0,b.useRef)(""),ia=(0,Ie.useParams)(),{title:Oa,base_info_warning:Ia,challenges_warning:Wr,service_warning:ga,repository_warning:ea,mirror_warning:Ir}=Ln;(0,b.useEffect)(()=>{var Ma;Qa.current=(Ma=Ea.pathname.split("/"))==null?void 0:Ma[2],Qt({type:"practiceSetting/setParams",payload:{id:Qa.current}}),Qt({type:"practiceSetting/getCommonData",payload:{id:Qa.current}})},[Ea.pathname]),(0,b.useEffect)(()=>((0,Te.Dk)(Oa||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"),()=>{(0,Te.Dk)()}));const Sr=()=>E(void 0,null,function*(){yield Ta(),Ie.history.push(`/shixuns/${Qa.current}/challenges`)}),Ta=()=>new Promise((Ma,Br)=>{var bo;(bo=Ln==null?void 0:Ln.sideBar)!=null&&bo.confirmLeave?he.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:()=>{Qt({type:"practiceSetting/setSideBarTabs",payload:{confirmLeave:!1}}),Ma()},onCancel:()=>{Br()}}):Ma()}),ur=Ma=>{var Br;if(Ma===(Ln==null?void 0:Ln.sideBar.tabsActive))return;const bo=()=>{Ie.history.push(`/shixuns/${Qa.current}/edit?tabId=${Ma}`),Qt({type:"practiceSetting/setSideBarTabs",payload:{tabsActive:Ma,selectPath:"",confirmLeave:!1}})};(Br=Ln==null?void 0:Ln.sideBar)!=null&&Br.confirmLeave?he.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()}}):bo()},la=(Ma,Br=!1)=>{Ma=Ma!=null&&Ma.includes(".json")?Ma:`${Ma}.json`,he.default.confirm({centered:!0,title:"\u63D0\u793A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",content:tt.createElement("div",{className:"tc font16"},"\u5B9E\u8BAD\u5DF2\u7ECF\u66F4\u65B0\u4E86\uFF0C\u6B63\u5728\u4E3A\u60A8\u91CD\u7F6E!"),onOk:()=>E(void 0,null,function*(){const bo=yield(0,Ke.ZP)("/api"+Ma,{method:"get"});if(!bo)return;Xe.ZP.success("\u91CD\u7F6E\u6210\u529F\uFF0C\u6B63\u5728\u8FDB\u5165\u5B9E\u8DF5\u9879\u76EE\uFF01");const Ua=yield(0,lt.Ir)({id:bo.shixun_identifier,jump_challenge_setting:Br});if(Ua!=null&&Ua.game_identifier){(0,Te.xg)(`/tasks/${Ua.game_identifier}`);return}(Ua==null?void 0:Ua.status)===2?la(Ua==null?void 0:Ua.message):(Ua==null?void 0:Ua.status)===3&&Qn(Ua==null?void 0:Ua.message)})})},Qn=Ma=>{he.default.confirm({centered:!0,title:"\u63D0\u793A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",content:tt.createElement("div",{className:"tc font16"},"\u76EE\u524D\u8BE5\u5B9E\u8DF5\u9879\u76EE\u5C1A\u5728\u5185\u6D4B\u4E2D\uFF0C\u5C06\u4E8E",Ma,"\u4E4B\u540E\u5F00\u653E\uFF0C\u8C22\u8C22\uFF01")})},qa=(Ma,Br)=>E(void 0,null,function*(){var bo,Ua,Jt,wa;if(yield Ta(),(0,Te.L9)(["\u5B9E\u8DF5\u9879\u76EE","\u8BBE\u7F6E","\u6A21\u62DF\u5B9E\u6218"]),(bo=wn.detail)!=null&&bo.is_jupyter||(Ua=wn.detail)!=null&&Ua.is_jupyter_lab){Qt({type:"shixunsDetail/execJupyter",payload:{id:Qa.current}}).then(Va=>{var co;Va!=null&&Va.identifier&&((co=Ie.history)==null||co.push(`/tasks/${Va.identifier}/jupyter`))});return}Qt({type:"globalSetting/setGlobalLoading",payload:{show:!0,text:"\u6B63\u5728\u8FDB\u5165\u5B9E\u8DF5\u9879\u76EE\uFF0C\u8BF7\u7A0D\u540E..."}});const tr=Br?yield(0,lt.BK)({id:Ma}):yield(0,lt.Ir)({id:Ma});if(Qt({type:"globalSetting/setGlobalLoading",payload:{show:!1,text:""}}),(tr==null?void 0:tr.status)==5&&!Br){he.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:tt.createElement("div",{className:"mb10"},"\u68C0\u6D4B\u5230",(wa=(Jt=tr==null?void 0:tr.data)==null?void 0:Jt.challenge_errors)==null?void 0:wa.map((Va,co)=>{var lr;return tt.createElement("span",{key:co,style:{color:"#3061D0"}},"\u7B2C",Va==null?void 0:Va.challenge_position,"\u5173",co!=((lr=tr==null?void 0:tr.data)==null?void 0:lr.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 Va,co,lr;window.location.href=`/shixuns/${Qa.current}/edit/${(lr=(co=(Va=tr==null?void 0:tr.data)==null?void 0:Va.challenge_errors)==null?void 0:co[0])==null?void 0:lr.challenge_id}/tab=2`},onCancel:()=>{(0,lt.Ir)({id:Qa.current,jump_challenge_setting:!0}).then(Va=>{if(Va!=null&&Va.game_identifier||Va!=null&&Va.identifier){(0,Te.xg)(`/tasks/${Va.game_identifier}`);return}(Va==null?void 0:Va.status)===-3?(0,Te.eF)():(Va==null?void 0:Va.status)===2?la(Va==null?void 0:Va.message,!0):(Va==null?void 0:Va.status)===3&&Qn(Va==null?void 0:Va.message)})}});return}if((tr==null?void 0:tr.status)==6&&!Br){he.default.confirm({centered:!0,icon:null,width:430,okText:"\u5B8C\u5584\u5B9E\u9A8C\u73AF\u5883\u8BBE\u7F6E",title:"\u63D0\u793A",content:tt.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/${Qa.current}/edit?tabId=environment`}});return}if(tr!=null&&tr.game_identifier||tr!=null&&tr.identifier){(0,Te.xg)(Br?`/tasks/${tr==null?void 0:tr.identifier}/jupyter`:`/tasks/${tr.game_identifier}`);return}(tr==null?void 0:tr.status)===-3?(0,Te.eF)():(tr==null?void 0:tr.status)===2?la(tr==null?void 0:tr.message):(tr==null?void 0:tr.status)===3&&Qn(tr==null?void 0:tr.message)}),ka=()=>E(void 0,null,function*(){yield Ta(),Qt({type:"practiceSetting/setSideBarTabs",payload:{tabsActive:"information"}})}),$a=Ma=>({borderBottomColor:(Ln==null?void 0:Ln.sideBar.tabsActive)===Ma?"#0152d9":"transparent"});return tt.createElement("div",{className:Je.header},tt.createElement("aside",{className:Je.title},tt.createElement("i",{onClick:Sr,style:{color:"#fff",marginRight:20},className:"icon iconfont icon-fanhui1"}),tt.createElement("span",{className:Je.edit},Oa||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"),tt.createElement("i",{onClick:ka,className:"icon iconfont icon-xiugai1"})),tt.createElement("aside",{className:Je.schedule},tt.createElement("div",null,tt.createElement("span",{style:$a("information"),className:Je.clickWarp,onClick:()=>ur("information")},Ia?tt.createElement("span",{className:Je.num},"1"):tt.createElement("img",{src:Ze}),tt.createElement("span",{className:Je.subject},"\u57FA\u672C\u4FE1\u606F")),tt.createElement("i",{className:"iconfont icon-lujing"})),tt.createElement("div",null,tt.createElement("span",{style:$a("warehouse"),className:Je.clickWarp,onClick:()=>ur("warehouse")},ea?tt.createElement("span",{className:Je.num},"2"):tt.createElement("img",{src:Ze}),tt.createElement("span",{className:Je.subject},"\u4EE3\u7801\u4ED3\u5E93")),tt.createElement("i",{className:"iconfont icon-lujing"})),(wn==null?void 0:wn.detail)&&!((st=wn==null?void 0:wn.detail)!=null&&st.is_jupyter_lab)&&tt.createElement("div",null,tt.createElement("span",{style:$a("level"),className:Je.clickWarp,onClick:()=>ur("level")},Wr?tt.createElement("span",{className:Je.num},"3"):tt.createElement("img",{src:Ze}),tt.createElement("span",{className:Je.subject},"\u4EFB\u52A1\u5173\u5361")),tt.createElement("i",{className:"iconfont icon-lujing"})),(wn==null?void 0:wn.detail)&&((dn=wn==null?void 0:wn.detail)==null?void 0:dn.is_jupyter_lab)&&tt.createElement("div",null,tt.createElement("span",{style:$a("service"),className:Je.clickWarp,onClick:()=>ur("service")},ga?tt.createElement("span",{className:Je.num},"3"):tt.createElement("img",{src:Ze}),tt.createElement("span",{className:Je.subject},"\u670D\u52A1")),tt.createElement("i",{className:"iconfont icon-lujing"})),tt.createElement("div",null,tt.createElement("span",{style:$a("environment"),className:Je.clickWarp,onClick:()=>ur("environment")},Ir?tt.createElement("span",{className:Je.num},"4"):tt.createElement("img",{src:Ze}),tt.createElement("span",{className:Je.subject},"\u5B9E\u9A8C\u73AF\u5883")))),tt.createElement("aside",{className:Je.btns},tt.createElement("div",{className:Je.simulate,onClick:()=>qa(Qa.current,!1)},"\u6A21\u62DF\u5B9E\u6218")))};var y=(0,Ie.connect)(({loading:ve,globalSetting:Ee,practiceSetting:pe,shixunsDetail:at})=>({globalSetting:Ee,loading:ve,practiceSetting:pe,shixunsDetail:at}))(x),ee={information:"information___HnFAg",scroll:"scroll___SzyY_",formWrap:"formWrap___dlZEW",img:"img___ESi1t"},ne=re(89389),oe=re(78241),le=re(3113),ie=re(92832),Ce=re(19842),ye=re(95237),Ge=re(43604),Re=re(54580),St=re(24905),ht={btn:"btn___CiIEf",s1:"s1___JCH7l",s2:"s2___jSyjE"},pt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAABjUlEQVQ4T61VsUoDQRB9s+eVYifkUlqIWCW3sbBMqYUR0cbfUPETxPgZ2giigpZaCnKXpBK1sMydpIx25+7ISu5ILhsjclvuzLx5M292lmA57PtuF2gIYIMBSYBn3BiICAg1cF0GrqjVSvLhlL+IqtVNEDUZWLAlS+8IeAPzvtduXw77ZYAMiEjKI2LeY2AskQ2cAGaiEy8MDwnQxicL7Ep5bDL+xmqijahZDsODDHBQ5sVfmVn6xmDeMuWTESAGnqf1bBpz09MSsESx729r4DwfIIA6hPjUSt2AaP7Hztwj5nXHdd0vpR7yMQzsUOT7pwzsjgEKsVIKgiCu1Za1UvfGLhynXgqCp6hSkSxEYCn9jLq+/wJgcawk5l4KYECN3YBlCVLWo4GvhmGfgVlrj4ZAjX0KmBmZD8Owj4IAMQAsvGSrKKR1zet0QpsosZQrmvnRKsqksZlxnFWVJAkT3Y6MDbAmgDlFdGcdm8IH22Qp9OmltAtdDoPlWez6SpkWtmCHFTNCvQMN/scX8A1e4fnIOEHt8AAAAABJRU5ErkJggg==",Gn=Object.defineProperty,Tn=Object.getOwnPropertySymbols,da=Object.prototype.hasOwnProperty,$n=Object.prototype.propertyIsEnumerable,_t=(ve,Ee,pe)=>Ee in ve?Gn(ve,Ee,{enumerable:!0,configurable:!0,writable:!0,value:pe}):ve[Ee]=pe,In=(ve,Ee)=>{for(var pe in Ee||(Ee={}))da.call(Ee,pe)&&_t(ve,pe,Ee[pe]);if(Tn)for(var pe of Tn(Ee))$n.call(Ee,pe)&&_t(ve,pe,Ee[pe]);return ve},ct=(ve,Ee)=>{var pe={};for(var at in ve)da.call(ve,at)&&Ee.indexOf(at)<0&&(pe[at]=ve[at]);if(ve!=null&&Tn)for(var at of Tn(ve))Ee.indexOf(at)<0&&$n.call(ve,at)&&(pe[at]=ve[at]);return pe},ln=ve=>{var Ee=ve,{InputRight:pe,value:at=[],onChange:Qt}=Ee,Ln=ct(Ee,["InputRight","value","onChange"]);const[wn,un]=(0,b.useState)(),st=Ea=>{const Qa=at.filter((ia,Oa)=>Oa!==Ea);Qt(Qa)},dn=Ea=>{if(Ea.preventDefault(),!!wn){if(at.findIndex(Qa=>Qa.name===wn)>-1){Xe.ZP.warning("\u4E0D\u5141\u8BB8\u6DFB\u52A0\u76F8\u540C\u6807\u7B7E");return}Qt([...at,{id:null,name:wn}]),un(null)}};return b.createElement("div",null,b.createElement(ie.default,In({bordered:!1,style:{width:600},value:wn,onChange:Ea=>un(Ea.target.value),onPressEnter:dn,onBlur:dn},Ln)),pe||b.createElement("span",{className:"pl20 font14 c-light-black"},"\u56DE\u8F66\u6DFB\u52A0\u6807\u7B7E"),b.createElement("div",{className:"mt20"},at==null?void 0:at.map((Ea,Qa)=>b.createElement("div",{key:Qa,className:ht.btn},b.createElement("span",{className:ht.s1},Ea.name),b.createElement("img",{src:pt,className:ht.s2,onClick:()=>st(Qa)})))))},fn=re(89392),vn=re(90524),nt={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 vt=({dispatch:ve,onCancel:Ee,onSave:pe,loading:at=!1})=>b.createElement("div",{className:nt.complete},b.createElement("div",{onClick:Ee,className:nt.cancel},"\u53D6\u6D88"),b.createElement(le.ZP,{type:"primary",loading:at,onClick:pe,className:nt.save},"\u4FDD\u5B58"));var Bt=(0,Ie.connect)()(vt),Bn=re(21693),nn=re(32050),on=re(19248),De=re(7664),Pe=re(59301),He=Object.defineProperty,Ft=Object.defineProperties,bt=Object.getOwnPropertyDescriptors,It=Object.getOwnPropertySymbols,Ut=Object.prototype.hasOwnProperty,jt=Object.prototype.propertyIsEnumerable,bn=(ve,Ee,pe)=>Ee in ve?He(ve,Ee,{enumerable:!0,configurable:!0,writable:!0,value:pe}):ve[Ee]=pe,Lt=(ve,Ee)=>{for(var pe in Ee||(Ee={}))Ut.call(Ee,pe)&&bn(ve,pe,Ee[pe]);if(It)for(var pe of It(Ee))jt.call(Ee,pe)&&bn(ve,pe,Ee[pe]);return ve},Fe=(ve,Ee)=>Ft(ve,bt(Ee)),xe=(ve,Ee)=>{var pe={};for(var at in ve)Ut.call(ve,at)&&Ee.indexOf(at)<0&&(pe[at]=ve[at]);if(ve!=null&&It)for(var at of It(ve))Ee.indexOf(at)<0&&jt.call(ve,at)&&(pe[at]=ve[at]);return pe},gt=(ve,Ee,pe)=>new Promise((at,Qt)=>{var Ln=st=>{try{un(pe.next(st))}catch(dn){Qt(dn)}},wn=st=>{try{un(pe.throw(st))}catch(dn){Qt(dn)}},un=st=>st.done?at(st.value):Promise.resolve(st.value).then(Ln,wn);un((pe=pe.apply(ve,Ee)).next())});const Mt=ve=>{var Ee=ve,{globalSetting:pe,loading:at,dispatch:Qt,practiceSetting:Ln,problemset:wn,shixunsDetail:un}=Ee,st=xe(Ee,["globalSetting","loading","dispatch","practiceSetting","problemset","shixunsDetail"]),dn,Ea;const[Qa]=oe.default.useForm(),[ia,Oa]=(0,b.useState)({}),[Ia,Wr]=(0,b.useState)(!1),[ga,ea]=(0,b.useState)(!1),[Ir,Sr]=(0,b.useState)(!1),[Ta,ur]=(0,b.useState)(""),[la,Qn]=(0,b.useState)(""),[qa,ka]=(0,b.useState)(""),[$a,Ma]=(0,b.useState)(),Br=(0,b.useRef)({}),bo=(0,b.useRef)(""),Ua=(0,b.useRef)(""),Jt=(0,b.useRef)(""),wa=(0,b.useRef)(null),tr=(0,b.useRef)((0,fn.throttle)(()=>wo(),2e3,{leading:!0,trailing:!1})).current,{id:Va}=Ln,[co,lr]=(0,b.useState)(!1);(0,b.useEffect)(()=>{Va&&Ur()},[Va]),(0,b.useEffect)(()=>(JSON.stringify(ia)!=="{}"&&nr(),()=>{clearTimeout(wa.current)}),[ia,Ta,qa,la]);const nr=()=>{clearTimeout(wa.current),wa.current=setTimeout(()=>{!(0,fn.isEqual)(ia,Br.current)||Ta!==bo.current||qa!==Ua.current||la!==Jt.current?Qt({type:"practiceSetting/setSideBarTabs",payload:{confirmLeave:!0}}):Qt({type:"practiceSetting/setSideBarTabs",payload:{confirmLeave:!1}})},500)},Ur=()=>gt(void 0,null,function*(){var xr,Cr,Yn,Bo,hi,Zo,or;Qt({type:"problemset/getEditDisciplines",payload:{source:"shixun"}});const yr=yield(0,Ke.ZP)(`/api/shixuns/${Va}/edit_base_info.json`,{method:"get"});if(yr.status===0){const mo=Fe(Lt({},yr.data),{description:(0,Bn.S)(yr.data.description)}),xi={description:mo.description,shixun_tags:mo.shixun_tags,name:mo.name,course:((xr=mo==null?void 0:mo.disciplines)==null?void 0:xr.length)>0?[(Yn=(Cr=mo==null?void 0:mo.disciplines)==null?void 0:Cr[0])==null?void 0:Yn.id,(Zo=(hi=(Bo=mo==null?void 0:mo.disciplines)==null?void 0:Bo[0])==null?void 0:hi.sub_discipline)==null?void 0:Zo.id]:[]};(or=un.detail)!=null&&or.is_jupyter_lab&&(xi.jupyter_show_description=yr.data.jupyter_show_description),Qa.setFieldsValue(xi),Br.current=Lt({},xi),bo.current=mo.attachment_id||"",Ua.current=mo.cover_image_id||"",Jt.current=mo.attachment_id_b||"",Oa(Lt({},xi)),ur(mo.attachment_id||""),Qn(mo.attachment_id_b||""),ka(mo.cover_image_id||""),Ma(mo.cover_image||"")}}),Yo=(xr,Cr)=>{Oa(Lt({},Cr))},No=()=>{kr()},wo=()=>{(0,Te.L9)(["\u5B9E\u8DF5\u9879\u76EE","\u8BBE\u7F6E","\u57FA\u672C\u4FE1\u606F","\u4FDD\u5B58"]),Qa.submit()},Ba=(xr,Cr=!1,Yn=1)=>{var Bo;const{name:hi,description:Zo,shixun_tags:or,course:yr,jupyter_show_description:mo=!1}=xr;let xi={name:hi,description:Zo,shixun_tags:or,attachment_id:Ta,cover_image_id:qa,attachment_id_b:la,sub_discipline_ids:yr[1]};(Bo=un.detail)!=null&&Bo.is_jupyter_lab&&(xi=Fe(Lt({},xi),{jupyter_show_description:mo})),(0,Ke.ZP)(`/api/shixuns/${Va}/base_info_save.json`,{method:"post",body:{shixun:Lt({},xi),sync_origin_shixun:Cr}}).then(po=>gt(void 0,null,function*(){var ir,Rr,To,oi;if(po.status===0&&((ir=un==null?void 0:un.detail)!=null&&ir.copy_for_exercise||Xe.ZP.success("\u4FDD\u5B58\u6210\u529F"),Qt({type:"practiceSetting/getCommonData",payload:{id:Va}}),Qt({type:"practiceSetting/setSideBarTabs",payload:{confirmLeave:!1}}),Br.current={description:ia.description,shixun_tags:ia.shixun_tags,name:ia.name},bo.current=Ta,Ua.current=qa,Jt.current=la,(Rr=un==null?void 0:un.detail)!=null&&Rr.copy_for_exercise)){const xl=yield Qt({type:"shixunsDetail/saveCopyForExercise",payload:{id:Va,save_type:Yn}});Yn===1?(To=xl==null?void 0:xl.data)!=null&&To.exists_same_shixun_name?Qt({type:"classroomList/setActionTabs",payload:{key:"\u91CD\u540D\u4FEE\u6539",name:(oi=xl==null?void 0:xl.data)==null?void 0:oi.shixun_name,getBaseInfo:()=>{Ur()}}}):(Xe.ZP.info("\u4FDD\u5B58\u6210\u529F"),Qt({type:"classroomList/setActionTabs",payload:{}})):(Qt({type:"classroomList/setActionTabs",payload:{}}),(xl==null?void 0:xl.status)===0&&he.default.info({title:"\u63D0\u793A",width:460,icon:null,centered:!0,content:Pe.createElement("div",null,Pe.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 pl,Ul;(0,Te.xg)(`/shixuns/${(Ul=(pl=un==null?void 0:un.detail)==null?void 0:pl.fork_from)==null?void 0:Ul.fork_identifier}/challenges`)}}))}}))},kr=()=>{var xr;const Cr=()=>{Ie.history.push(`/shixuns/${Va}/challenges`),Qt({type:"practiceSetting/setSideBarTabs",payload:{confirmLeave:!1}})};(xr=Ln==null?void 0:Ln.sideBar)!=null&&xr.confirmLeave?he.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:()=>{Cr()}}):Cr()};function xo(xr){const Cr=xr.type==="image/jpeg"||xr.type==="image/png";return Cr||Xe.ZP.error("\u8BF7\u4E0A\u4F20jpg\u6216png\u7684\u56FE\u7247!"),Cr}const Ar=Pe.createElement(le.ZP,{loading:Ia,icon:Pe.createElement(nn.Z,null)},"\u9009\u62E9\u4E0A\u4F20\u6587\u4EF6"),ei=Pe.createElement(le.ZP,{loading:Ir,icon:Pe.createElement(nn.Z,null)},"\u9009\u62E9\u4E0A\u4F20\u6587\u4EF6"),Vo=Pe.createElement(le.ZP,{loading:ga,icon:Pe.createElement(nn.Z,null)},"\u9009\u62E9\u4E0A\u4F20\u6587\u4EF6");function si(xr,Cr){const Yn=new FileReader;Yn.addEventListener("load",()=>Cr(Yn.result)),Yn.readAsDataURL(xr)}const pi=xr=>{var Cr,Yn;if(xr.file.status==="uploading"){Wr(!0);return}xr.file.status==="done"&&(Wr(!1),ur((Yn=(Cr=xr==null?void 0:xr.file)==null?void 0:Cr.response)==null?void 0:Yn.id))},Hi=xr=>{var Cr,Yn;if(xr.file.status==="uploading"){ea(!0);return}xr.file.status==="done"&&(ea(!1),Qn((Yn=(Cr=xr==null?void 0:xr.file)==null?void 0:Cr.response)==null?void 0:Yn.id))},xa=()=>Pe.createElement("div",{className:ee.img},Pe.createElement("img",{src:(0,De.z)("/api/attachments/"+Ta,!0),alt:"avatar",style:{width:"100%"}}),Pe.createElement("div",null,Pe.createElement(on.Z,{onClick:()=>ur(""),style:{fontSize:"16px",color:"red"}}))),eo=()=>Pe.createElement("div",{className:ee.img},Pe.createElement("img",{src:(0,De.z)("/api/attachments/"+la,!0),alt:"avatar",style:{width:"100%"}}),Pe.createElement("div",null,Pe.createElement(on.Z,{onClick:()=>Qn(""),style:{fontSize:"16px",color:"red"}}))),Bi=xr=>{var Cr,Yn;if(xr.file.status==="uploading"){Sr(!0);return}xr.file.status==="done"&&(Sr(!1),ka((Yn=(Cr=xr==null?void 0:xr.file)==null?void 0:Cr.response)==null?void 0:Yn.id),lr(!0))},Wi=()=>Pe.createElement("div",{className:ee.img},Pe.createElement("img",{src:(0,De.z)(co?"/api/attachments/"+qa:$a,!0),alt:"avatar",style:{width:"100%"}}),Pe.createElement("div",null,Pe.createElement(on.Z,{onClick:()=>{ka(""),Ma("")},style:{fontSize:"16px",color:"red"}})));return Pe.createElement("div",{className:ee.information},Pe.createElement("section",{className:ee.scroll},Pe.createElement("header",null,"\u57FA\u672C\u4FE1\u606F"),Pe.createElement("div",{className:ee.formWrap}," ",Pe.createElement(oe.default,{form:Qa,scrollToFirstError:!0,layout:"vertical",onValuesChange:Yo,onFinish:xr=>{var Cr,Yn;(Cr=un==null?void 0:un.detail)!=null&&Cr.is_fork_from_creator&&((Yn=un==null?void 0:un.detail)!=null&&Yn.copy_for_exercise)?Qt({type:"classroomList/setActionTabs",payload:{key:"\u540C\u6B65\u4FEE\u6539",value:xr,type:"information",fn:(Bo,hi,Zo)=>{Ba(Bo,hi,Zo)}}}):Ba(xr)}},Pe.createElement(oe.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"}]},Pe.createElement(ie.default,{bordered:!1,placeholder:"\u8BF7\u8F93\u5165\u540D\u79F0\uFF0C\u6700\u5927\u9650\u523660\u4E2A\u5B57\u7B26",suffix:`${((dn=ia.name)==null?void 0:dn.length)||0}/60`})),Pe.createElement(oe.default.Item,{className:"customAddTags",name:"shixun_tags",label:"\u77E5\u8BC6\u70B9\u6807\u7B7E",rules:[{required:!0,message:"\u8BF7\u9009\u8F93\u5165\u77E5\u8BC6\u70B9\u6807\u7B7E"}]},Pe.createElement(ln,{placeholder:"\u6DFB\u52A0\u6807\u7B7E"})),Pe.createElement(oe.default.Item,{label:"\u65B9\u5411&\u8BFE\u7A0B\uFF1A",name:"course",labelCol:{span:5},wrapperCol:{span:5}},Pe.createElement(Ce.Z,{placeholder:"\u8BF7\u9009\u62E9...",allowClear:!1,options:wn.courseOptions,getPopupContainer:xr=>xr.parentNode})),Pe.createElement(ye.Z,null,Pe.createElement(Ge.Z,null,Pe.createElement(oe.default.Item,{label:"\u9876\u90E8\u80CC\u666F\u56FE:"},Ta?xa():Pe.createElement(Re.default,{withCredentials:!0,name:"file",showUploadList:!1,action:`${vn.Z.API_SERVER}/api/attachments.json`,beforeUpload:xo,onChange:pi},Ar))),Pe.createElement(Ge.Z,{className:"c-grey-999"},Pe.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"))),Pe.createElement(ye.Z,null,Pe.createElement(Ge.Z,null,Pe.createElement(oe.default.Item,{label:"\u9876\u90E8\u5185\u5BB9\u56FE:"},la?eo():Pe.createElement(Re.default,{withCredentials:!0,name:"file",showUploadList:!1,action:`${vn.Z.API_SERVER}/api/attachments.json`,beforeUpload:xo,onChange:Hi},Vo))),Pe.createElement(Ge.Z,{className:"c-grey-999"},Pe.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"))),Pe.createElement(ye.Z,null,Pe.createElement(Ge.Z,null,Pe.createElement(oe.default.Item,{label:"\u5217\u8868\u5C01\u9762\u56FE:"},qa||$a?Wi():Pe.createElement(Re.default,{withCredentials:!0,name:"file",showUploadList:!1,action:`${vn.Z.API_SERVER}/api/attachments.json`,beforeUpload:xo,onChange:Bi},ei))),Pe.createElement(Ge.Z,{className:"c-grey-999"},Pe.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"))),Pe.createElement(oe.default.Item,{name:"description",label:"\u7B80\u4ECB:"},Pe.createElement(ne.Z,{defaultValue:ia.description||"",watch:!0})),((Ea=un.detail)==null?void 0:Ea.is_jupyter_lab)&&Pe.createElement(oe.default.Item,{name:"jupyter_show_description",valuePropName:"checked"},Pe.createElement(St.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"))))),Pe.createElement(Bt,{onSave:tr,onCancel:No,loading:Ia||Ir||ga}))};var qt=(0,Ie.connect)(({problemset:ve,loading:Ee,globalSetting:pe,practiceSetting:at,shixunsDetail:Qt})=>({globalSetting:pe,loading:Ee,practiceSetting:at,problemset:ve,shixunsDetail:Qt}))(Mt),Vt=re(26595),kt={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"},rn="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIIAAABkCAYAAABKHuhiAAAgAElEQVR4Xu19CZRdVZX2d95cr+aqzAkkISGBkBCmZhCQkADCryjaJrYo+IvdKOAEor89rL/Ir2LLIHbaCWyRtqUl0sumW0UQbVvGJqjMYUqKzEmlUhlreuP513fu2e+dunVfvXr1XqDUOmu9dd+998z7O3vvs8+5Zyv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JjLgWukcv0gWc0PtPnp5Uo7eoojlSzD3fYXzJaDOkY6tlSnVdPx5QDilu2WMxIBK6kPO7caMJTrG+EelXCyIG40Unq/yPXSGyCUtSQOA1c1nVFuhFT6vhTxK82nmvhufwQBcLRgq6ZfR1OGP3/hRqsNCP7AgVAJAUfTWZXk92bFLQW8KurzpwWEavSDKjr5DyHp2IDwh9CyiTpW1ANFE3NFySYi/3H1gJiYx6In/HH1xJ94ayaA8CcOAGl+IBCUYzMoNaNgnDHMNkbV7eXy9r8Pil9JHqXa6+Yhcdw2lyvD39hS8YPydtOOpr1FghZTVkI7pf8/eEZf5Vj+hMIAAAAASUVORK5CYII=",Wt=re(23869),yt=re(71418),an=re(64165),mt=re(88332),At=Object.defineProperty,xt=Object.defineProperties,cn=Object.getOwnPropertyDescriptors,Dt=Object.getOwnPropertySymbols,Ot=Object.prototype.hasOwnProperty,xn=Object.prototype.propertyIsEnumerable,Gt=(ve,Ee,pe)=>Ee in ve?At(ve,Ee,{enumerable:!0,configurable:!0,writable:!0,value:pe}):ve[Ee]=pe,Kn=(ve,Ee)=>{for(var pe in Ee||(Ee={}))Ot.call(Ee,pe)&&Gt(ve,pe,Ee[pe]);if(Dt)for(var pe of Dt(Ee))xn.call(Ee,pe)&&Gt(ve,pe,Ee[pe]);return ve},za=(ve,Ee)=>xt(ve,cn(Ee)),sr=(ve,Ee)=>{var pe={};for(var at in ve)Ot.call(ve,at)&&Ee.indexOf(at)<0&&(pe[at]=ve[at]);if(ve!=null&&Dt)for(var at of Dt(ve))Ee.indexOf(at)<0&&xn.call(ve,at)&&(pe[at]=ve[at]);return pe},Ya=(ve,Ee,pe)=>new Promise((at,Qt)=>{var Ln=st=>{try{un(pe.next(st))}catch(dn){Qt(dn)}},wn=st=>{try{un(pe.throw(st))}catch(dn){Qt(dn)}},un=st=>st.done?at(st.value):Promise.resolve(st.value).then(Ln,wn);un((pe=pe.apply(ve,Ee)).next())});const Da=ve=>{var Ee=ve,{globalSetting:pe,dispatch:at,practiceSetting:Qt}=Ee,Ln=sr(Ee,["globalSetting","dispatch","practiceSetting"]);const wn=(0,Ie.useLocation)(),[un]=(0,Ie.useSearchParams)(),[st,dn]=(0,b.useState)(!1),[Ea,Qa]=(0,b.useState)({}),[ia,Oa]=(0,b.useState)(!0),[Ia,Wr]=(0,b.useState)(!1),[ga,ea]=(0,b.useState)(null),Ir=(0,b.useRef)(!1),{id:Sr,updateIndex:Ta,is_published:ur,newQuestion:la}=Qt,{challenge_list:Qn=[]}=Ea;(0,b.useEffect)(()=>{if(Sr)return ka(),()=>{at({type:"practiceSetting/setParams",payload:{newQuestion:null}})}},[Sr,Ta]),(0,b.useEffect)(()=>{qa()},[wn]);const qa=()=>{const lr=wn.pathname.split("/");(lr.includes("newquestion")||lr.includes("new")||un.get("tabId"))&&(Ir.current=!0)},ka=()=>Ya(void 0,null,function*(){var lr,nr,Ur;Oa(!0);const Yo=yield(0,lt.n5)({id:Sr});if((lr=Yo==null?void 0:Yo.challenge_list)!=null&&lr.length){const No=wn.pathname.split("/"),wo=Yo.challenge_list.find(Ba=>String(Ba.challenge_id)===No[4]);if(No.includes("newquestion")||No.includes("new")){const Ba=Yo.challenge_list[((nr=Yo.challenge_list)==null?void 0:nr.length)-1];at({type:"practiceSetting/setParams",payload:{newQuestion:{st:No.includes("new")?0:1,name:""}}}),ea(void 0),Ua(Ba)}else No[4]&&wo?$a(wo,!1):$a(Yo.challenge_list[0])}(Ur=Yo==null?void 0:Yo.challenge_list)!=null&&Ur.length||ea(null),Qa(Yo),Oa(!1)}),$a=(lr,nr=!0)=>{if(ea(lr.challenge_id),Ua(lr),nr){const Ur=`/shixuns/${Sr}/edit/${lr.challenge_id}/${lr.st===1?"editquestion":"editcheckpoint"}`;Ie.history.push(Ur)}},Ma=(lr,nr)=>{nr.stopPropagation();const{challenge_id:Ur}=lr,Yo=()=>Ya(void 0,null,function*(){var No,wo;if((yield(0,lt.rO)({id:Sr,challengesId:Ur})).status===1){const kr=yield(0,lt.n5)({id:Sr});if(Qa(kr),Ur===ga&&((No=kr.challenge_list)!=null&&No.length)){$a(kr.challenge_list[0]);return}(wo=kr.challenge_list)!=null&&wo.length||(ea(null),Ir.current=!0,Ua({}),Ie.history.push(`/shixuns/${Sr}/edit?tabId=level`))}});he.default.confirm({title:"\u63D0\u793A",content:"\u662F\u5426\u5220\u9664\u8BE5\u5173\u5361!",centered:!0,onOk:Yo})},Br=(lr,nr,Ur)=>{const Yo=Array.from(lr),[No]=Yo.splice(nr,1);return Yo.splice(Ur,0,No),Yo},bo=(lr,nr)=>{if(!lr.destination)return;const Ur=Br(nr,lr.source.index,lr.destination.index);Qa(za(Kn({},Ea),{challenge_list:Ur}));const Yo=Ur.map(No=>No.challenge_id);(0,lt.xg)({id:Sr,ids:Yo}).then(No=>{No.status!==0&&Qa(za(Kn({},Ea),{challenge_list:nr}))})},Ua=lr=>{at({type:"practiceSetting/setParams",payload:{selectQuestionParams:lr}})},Jt=(lr,nr)=>Ya(void 0,null,function*(){if(lr===ga)return;yield wa(),ea(lr),Ua(nr),at({type:"practiceSetting/setParams",payload:{newQuestion:null}});const Ur=`/shixuns/${Sr}/edit/${lr}/${nr.st===1?"editquestion":"editcheckpoint"}`;Ie.history.push(Ur)}),wa=()=>new Promise((lr,nr)=>{var Ur;(Ur=Qt==null?void 0:Qt.sideBar)!=null&&Ur.confirmLeave?he.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:()=>{at({type:"practiceSetting/setSideBarTabs",payload:{confirmLeave:!1}}),lr()},onCancel:()=>{nr()}}):lr()}),tr=lr=>b.createElement(b.Fragment,null,b.createElement(mt.Z5,{onDragEnd:nr=>bo(nr,lr)},b.createElement(mt.bK,{droppableId:"droppable"},(nr,Ur)=>b.createElement("div",za(Kn({ref:nr.innerRef},nr.droppableProps),{style:{width:"100%"}}),lr.map((Yo,No)=>{const{st:wo,name:Ba,challenge_id:kr}=Yo;return b.createElement(mt._l,{key:kr,draggableId:kr.toString(),index:No,isDragDisabled:ur},(xo,Ar)=>b.createElement("div",za(Kn(Kn({ref:xo.innerRef},xo.draggableProps),xo.dragHandleProps),{className:ga===kr?kt.listActive:kt.list,onClick:()=>Jt(kr,Yo)}),b.createElement("span",{className:kt.s1},wo===0?b.createElement("i",{className:"iconfont icon-shixunti",style:{color:"#0152d9"}}):b.createElement("i",{className:"iconfont icon-xuanzeti3",style:{color:"#44D7B6"}})),b.createElement("span",{className:kt.s2},"\u7B2C",No+1,"\u5173: ",Ba),!ur&&b.createElement("span",{className:kt.s3,onClick:ei=>Ma(Yo,ei)},b.createElement("i",{className:"iconfont icon-shanchu7"}))))})))),la&&b.createElement("div",{className:kt.listActive},b.createElement("span",{className:kt.s1},(la==null?void 0:la.st)===0?b.createElement("i",{className:"iconfont icon-shixunti",style:{color:"#0152d9"}}):b.createElement("i",{className:"iconfont icon-xuanzeti3",style:{color:"#44D7B6"}})),b.createElement("span",{className:kt.s2},"\u7B2C",lr.length+1,"\u5173: ",la==null?void 0:la.name)),!ur&&b.createElement("div",{className:kt.os},"--\u62D6\u62FD\u4EFB\u52A1\u5173\u5361\u8FDB\u884C\u6392\u5E8F--")),Va=lr=>Ya(void 0,null,function*(){yield wa(),lr==="new"?Ie.history.push(`/shixuns/${Sr}/edit/new`):Ie.history.push(`/shixuns/${Sr}/edit/newquestion`),dn(!1),ea(void 0),at({type:"practiceSetting/setParams",payload:{newQuestion:{st:lr==="new"?0:1,name:""}}})}),co=()=>{(0,Wt.gy)(at,"\u4E0D\u80FD\u65B0\u5EFA\u4EFB\u52A1\u5173\u5361")||dn(!st)};return b.createElement("div",{className:kt.level},b.createElement("aside",{className:kt.left,style:{width:Ia?"0":"25%"}},b.createElement("div",{className:kt.container},b.createElement("div",{className:kt.title},"\u4EFB\u52A1\u5173\u5361(",Qn.length,")"),b.createElement("div",{className:kt.listWrap},ia?b.createElement(yt.Z,{size:"middle"}):Qn.length||la?tr(Qn):b.createElement(an.Z,{image:rn,description:"\u6682\u65E0\u4EFB\u52A1\u5173\u5361!"}))),!Ia&&b.createElement("div",{className:kt.btns},b.createElement("aside",{className:kt.btnsWrap},b.createElement("div",{style:{transform:st?"rotate(45deg)":"rotate(0deg)"},className:kt.icon,onClick:co},"+"),b.createElement("div",{className:kt.btn,style:{left:st?20:-154}},b.createElement("div",{className:kt.d1,onClick:()=>Va("new")},"\u65B0\u5EFA\u5B9E\u8DF5\u9898\u5173\u5361"),b.createElement("div",{className:kt.d2,onClick:()=>Va("newquestion")},"\u65B0\u5EFA\u7406\u8BBA\u9898\u5173\u5361")))),b.createElement("div",{className:Ia?kt.elseShrink:kt.shrink,onClick:()=>Wr(!Ia)},b.createElement("i",{className:"iconfont icon-zuoyouzhankai"}))),b.createElement("aside",{className:kt.right,id:"modal-level-question"},ga===null&&Ir.current?b.createElement("div",{className:kt.addIcon},b.createElement("span",null,"\u5728\u5DE6\u4FA7\u70B9\u51FB\u201C+\u201D\u53F7\u65B0\u5EFA\u5173\u5361\u3002")):b.createElement(Ie.Outlet,null)))};var Lr=(0,Ie.connect)(({globalSetting:ve,practiceSetting:Ee})=>({globalSetting:ve,practiceSetting:Ee}))(Da),cr=re(61621),Ha=re(38854),Xa=re(20834),Dr=re(58421),Fa=re(5112),Zr={title:"title___NTpKq",content:"content___oL0Iy",add:"add___L4cbC",colorBlue:"colorBlue___xRARA",radio:"radio___cfwvc"},br=Object.getOwnPropertySymbols,Pt=Object.prototype.hasOwnProperty,Sn=Object.prototype.propertyIsEnumerable,Fn=(ve,Ee)=>{var pe={};for(var at in ve)Pt.call(ve,at)&&Ee.indexOf(at)<0&&(pe[at]=ve[at]);if(ve!=null&&br)for(var at of br(ve))Ee.indexOf(at)<0&&Sn.call(ve,at)&&(pe[at]=ve[at]);return pe},Zt=(ve,Ee,pe)=>new Promise((at,Qt)=>{var Ln=st=>{try{un(pe.next(st))}catch(dn){Qt(dn)}},wn=st=>{try{un(pe.throw(st))}catch(dn){Qt(dn)}},un=st=>st.done?at(st.value):Promise.resolve(st.value).then(Ln,wn);un((pe=pe.apply(ve,Ee)).next())});const sn=ve=>{var Ee=ve,{shixunsDetail:pe,globalSetting:at,loading:Qt,dispatch:Ln,onReloadData:wn}=Ee,un=Fn(Ee,["shixunsDetail","globalSetting","loading","dispatch","onReloadData"]);const[st,dn]=(0,b.useState)(),[Ea,Qa]=(0,b.useState)([]);(0,b.useEffect)(()=>{pe.actionTabs.key==="Collaborators-ChangeManager"&&ia()},[pe.actionTabs.key]);const ia=()=>Zt(void 0,null,function*(){var ga;const ea=yield Ln({type:"shixunsDetail/getChangeManager",payload:{id:(ga=pe.actionTabs.params)==null?void 0:ga.id}});Qa(ea||[])}),Oa=()=>{var ga;Ln({type:"shixunsDetail/setActionTabs",payload:{key:"Collaborators-AddCollaborator",params:{id:(ga=pe.actionTabs.params)==null?void 0:ga.id}}})},Ia=()=>Zt(void 0,null,function*(){var ga;if(!st){Xe.ZP.info("\u6240\u9009\u4EBA\u5458\u4E3A\u7A7A\uFF0C\u6CA1\u6709\u66F4\u6362\u6210\u529F");return}const ea=yield Ln({type:"shixunsDetail/changeManager",payload:{id:(ga=pe.actionTabs.params)==null?void 0:ga.id,user_id:st}});Wr(),ea&&(wn(),Xe.ZP.info(ea.message))}),Wr=()=>{Ln({type:"shixunsDetail/setActionTabs",payload:{}}),dn(null)};return b.createElement(he.default,{centered:!0,keyboard:!1,closable:!1,title:"\u66F4\u6362\u7BA1\u7406\u5458",open:pe.actionTabs.key==="Collaborators-ChangeManager",confirmLoading:Qt.effects["shixunsDetail/changeManager"],onOk:Ia,onCancel:Wr},b.createElement("div",null,b.createElement("div",{className:Zr.title},"\u9009\u62E9\u7684\u6210\u5458\u5C06\u4F1A\u6210\u4E3A\u65B0\u7684\u7BA1\u7406\u5458",b.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"),b.createElement("div",{className:Zr.content},Ea.length?b.createElement(Fa.ZP.Group,{value:st,onChange:ga=>dn(ga.target.value)},Ea.map((ga,ea)=>b.createElement(Fa.ZP,{className:Zr.radio,key:ea,value:ga.user_id},ga.name))):b.createElement("div",{className:Zr.add},b.createElement("span",null,"\u8BF7\u5148\u5C06\u65B0\u7684\u7BA1\u7406\u5458\u901A\u8FC7",b.createElement("a",{className:Zr.colorBlue,onClick:Oa},'"\u6DFB\u52A0\u5408\u4F5C\u8005"'),"\u52A0\u5165\u5408\u4F5C\u8005\u5217\u8868")))))};var On=(0,Ie.connect)(({shixunsDetail:ve,loading:Ee,globalSetting:pe})=>({shixunsDetail:ve,globalSetting:pe,loading:Ee}))(sn),Jn=re(99313),ke=re(68226),rt=re(44405);const{TabPane:qe}=Jn.default;var Dn=({visible:ve,onCancel:Ee,onSelectGroup:pe,shixunId:at,onSelectCollaborator:Qt})=>b.createElement(he.default,{title:"\u6DFB\u52A0\u5408\u4F5C\u8005",open:ve,width:1100,centered:!0,keyboard:!1,onCancel:Ee,maskClosable:!1,destroyOnClose:!0,forceRender:!0,bodyStyle:{minHeight:400},footer:null},b.createElement(Jn.default,{defaultActiveKey:"1"},b.createElement(qe,{tab:"\u641C\u7D22\u6DFB\u52A0",key:"1"},b.createElement(ke.Z,{onCancel:Ee,container_type:2,container_id:at,onSelect:Qt})),b.createElement(qe,{tab:"\u56E2\u961F\u6DFB\u52A0",key:"2"},b.createElement(rt.Z,{onCancel:Ee,onSelect:pe})))),mn={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"},Wn=re(84105),ya=re(71546),ma=Object.defineProperty,ta=Object.getOwnPropertySymbols,fa=Object.prototype.hasOwnProperty,ua=Object.prototype.propertyIsEnumerable,hn=(ve,Ee,pe)=>Ee in ve?ma(ve,Ee,{enumerable:!0,configurable:!0,writable:!0,value:pe}):ve[Ee]=pe,Ra=(ve,Ee)=>{for(var pe in Ee||(Ee={}))fa.call(Ee,pe)&&hn(ve,pe,Ee[pe]);if(ta)for(var pe of ta(Ee))ua.call(Ee,pe)&&hn(ve,pe,Ee[pe]);return ve},vr=(ve,Ee,pe)=>new Promise((at,Qt)=>{var Ln=st=>{try{un(pe.next(st))}catch(dn){Qt(dn)}},wn=st=>{try{un(pe.throw(st))}catch(dn){Qt(dn)}},un=st=>st.done?at(st.value):Promise.resolve(st.value).then(Ln,wn);un((pe=pe.apply(ve,Ee)).next())});const fo=({shixunsDetail:ve,globalSetting:Ee,loading:pe,user:at,dispatch:Qt})=>{var Ln,wn,un,st,dn,Ea;const Qa=(0,Ie.useParams)(),ia=(0,b.useRef)(),[Oa,Ia]=(0,b.useState)(0),[Wr,ga]=(0,b.useState)([]),[ea,Ir]=(0,b.useState)({id:null,page:1}),Sr=(wn=(Ln=at.userInfo)==null?void 0:Ln.shixun)==null?void 0:wn.editable,Ta=((un=at.userInfo)==null?void 0:un.role)<=2||((dn=(st=at.userInfo)==null?void 0:st.shixun)==null?void 0:dn.is_creator);(0,b.useEffect)(()=>{ia.current=Qa.id,ea.id=ia.current,Ir(ea),ur(ea)},[]);const ur=Ua=>vr(void 0,null,function*(){const Jt=yield Qt({type:"shixunsDetail/getCollaboratorsData",payload:Ua});Jt&&(ga(Jt.members||[]),Ia(Jt.member_count))}),la=()=>vr(void 0,null,function*(){ea.page=1,Ir(ea);const Ua=(0,ya.g)();yield Qt({type:"user/getUserInfo",payload:Ua}),yield ur(ea)}),Qn=Ua=>{ea.page=Ua,Ir(ea),ur(ea)},qa=Ua=>{he.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:b.createElement("div",{className:mn.modal},"\u786E\u5B9A\u8981\u5220\u9664\u5417\uFF1F"),onOk:()=>vr(void 0,null,function*(){var Jt;const wa=yield Qt({type:"shixunsDetail/deleteCollaborators",payload:{id:ia.current,userId:Ua}});if(((Jt=at.userInfo)==null?void 0:Jt.user_id)===Ua){Ie.history.push("/shixuns");return}Xe.ZP.info(wa==null?void 0:wa.message),ea.page=1,Ir(ea),ur(ea)})})},ka=()=>{Qt({type:"shixunsDetail/setActionTabs",payload:{key:"Collaborators-ChangeManager",params:{id:ia.current}}})};function $a(Ua,Jt,wa,tr){return vr(this,null,function*(){yield Qt({type:"shixunsDetail/updateCollaboratorEditable",payload:{identifier:Ua,user_id:Jt,editable:wa?0:1}}),ur(ea)})}const Ma=()=>{Qt({type:"shixunsDetail/setActionTabs",payload:{key:"Collaborators-AddCollaborator",params:{id:ia.current}}})};function Br(){Qt({type:"shixunsDetail/setActionTabs",payload:{}})}const bo={visible:ve.actionTabs.key==="Collaborators-AddCollaborator",onCancel:Br,shixunId:ia.current,onSelectCollaborator:Ua=>vr(void 0,null,function*(){Br(),(yield Qt({type:"shixunsDetail/addCollaborator",payload:{id:ia.current,user_ids:Ua}}))&&(Xe.ZP.success("\u6DFB\u52A0\u6210\u529F"),la())}),onSelectGroup:Ua=>vr(void 0,null,function*(){Br(),(yield Qt({type:"shixunsDetail/addTeachGroupMember",payload:{identifier:ia.current,group_id:Ua.group_id}}))&&(Xe.ZP.success("\u6DFB\u52A0\u6210\u529F"),la())})};return b.createElement("section",null,b.createElement("div",{className:mn.wrap},b.createElement("div",{className:mn.content},((Ea=ve.detail)==null?void 0:Ea.identity)<5&&b.createElement("div",{className:mn.head},b.createElement("span",{className:mn.headCount},"\u5408\u4F5C\u6210\u5458\uFF08",Oa,"\u4EBA\uFF09"),b.createElement("div",null,Ta&&b.createElement(le.ZP,{type:"primary",ghost:!0,className:mn.button,style:{marginRight:"20px"},onClick:ka},"\u66F4\u6362\u7BA1\u7406\u5458"),Sr&&b.createElement(le.ZP,{type:"primary",className:mn.button,style:{marginRight:"40px"},onClick:Ma},"\u6DFB\u52A0\u5408\u4F5C\u8005"))),b.createElement("div",{className:mn.list},b.createElement(cr.Z,{loading:pe.effects["shixunsDetail/getCollaboratorsData"],active:!0,avatar:{size:40},paragraph:{rows:3},className:"mt30"},Wr.map((Ua,Jt)=>{var wa,tr,Va,co,lr,nr,Ur,Yo;return b.createElement("div",{style:{display:"inline-block",width:"50%"}},b.createElement("div",{className:mn.itemWrap,key:Jt},b.createElement("a",{href:(wa=Ua.user)==null?void 0:wa.user_url,target:"_blank",className:mn.imgWrap},b.createElement("img",{alt:"\u7528\u6237\u5934\u50CF",height:"48",width:"48",className:mn.img,src:`${vn.Z.IMG_SERVER}/images/${(tr=Ua.user)==null?void 0:tr.image_url}`}),((Va=Ua.user)==null?void 0:Va.shixun_manager)&&b.createElement("span",{className:mn.manager},"\u521B\u5EFA\u8005")),b.createElement("div",{className:mn.itemContent},b.createElement("p",{className:mn.nameWrap},b.createElement("a",{href:Ua.user.user_url,target:"_blank",className:mn.name},(co=Ua.user)==null?void 0:co.name,Ua.user.user_id===((lr=at.userInfo)==null?void 0:lr.user_id)?b.createElement("span",null,"\u6211"):null),b.createElement("div",{className:mn.actionGroup},Ta?(nr=Ua.user)!=null&&nr.shixun_manager?null:b.createElement(Ha.Z,{dropdownRender:()=>b.createElement(Xa.default,{selectedKeys:[Ua.editable?"1":"2"],onClick:()=>{var No;$a(ve.detail.identifier,Ua.user.user_id,Ua.editable,(No=Ua.user)==null?void 0:No.name)}},b.createElement(Xa.default.Item,{key:1},"\u7F16\u8F91\u6743\u9650"),b.createElement(Xa.default.Item,{key:2},"\u67E5\u770B\u6743\u9650"))},b.createElement("div",null,Ua.editable?b.createElement("span",{style:{fontSize:"16px"},className:"c-grey-c"},"\u7F16\u8F91\u6743\u9650"):b.createElement("span",{style:{fontSize:"16px"},className:"c-grey-c"},"\u67E5\u770B\u6743\u9650")," ",b.createElement(Wn.Z,{style:{fontSize:"14px",color:"#888888"}}))):Ua.editable?b.createElement("span",{style:{fontSize:"16px"},className:"c-grey-c"},"\u7F16\u8F91\u6743\u9650"):b.createElement("span",{style:{fontSize:"16px"},className:"c-grey-c"},"\u67E5\u770B\u6743\u9650"),!((Ur=Ua.user)!=null&&Ur.shixun_manager)&&Sr?b.createElement("a",{className:mn.deletetitle,onClick:()=>{var No;return qa((No=Ua.user)==null?void 0:No.user_id)}},"\u5220\u9664"):null)),b.createElement("p",{className:mn.schoolWrap},b.createElement("span",{className:mn.school},(Yo=Ua.user)==null?void 0:Yo.school_name)))))})))),Oa>10&&b.createElement("div",{className:mn.countWrap},b.createElement(Dr.Z,{showQuickJumper:!1,showSizeChanger:!1,total:Oa,onChange:Ua=>Qn(Ua),pageSize:10,current:ea.page}))),b.createElement(On,{onReloadData:la}),b.createElement(Dn,Ra({},bo)))};var Nn=(0,Ie.connect)(({shixunsDetail:ve,loading:Ee,globalSetting:pe,user:at})=>({shixunsDetail:ve,globalSetting:pe,user:at,loading:Ee}))(fo),tn=re(4737),Or=re(57809),ha=re(6848),qr=re(5871),Yr=re(78673),na=re(53794),oo=re(36723),Mo=re(95887),$r={mirrorModal:"mirrorModal___z1tEP",right:"right___ZlGrr",title:"title___lWaS3",content:"content___bCC9x",des:"des___ujB5y",btns:"btns___L4vgc",confirm:"confirm___RFRg4",cancel:"cancel___F1WB_",modal:"modal___A5dbG"},ho=re(88195),yn=re(84722),Mr=(ve,Ee,pe)=>new Promise((at,Qt)=>{var Ln=st=>{try{un(pe.next(st))}catch(dn){Qt(dn)}},wn=st=>{try{un(pe.throw(st))}catch(dn){Qt(dn)}},un=st=>st.done?at(st.value):Promise.resolve(st.value).then(Ln,wn);un((pe=pe.apply(ve,Ee)).next())});const io=({newShixuns:ve,user:Ee,dispatch:pe,visible:at,onOk:Qt,onCancel:Ln,useId:wn=null,identifier:un,shixun_environment_id:st,tab_type:dn})=>{var Ea,Qa;const[ia,Oa]=(0,b.useState)(null),[Ia,Wr]=(0,b.useState)({}),[ga,ea]=(0,b.useState)(""),{environmentData:Ir}=ve,{frequence_image:Sr=[],environments:Ta=[],other_image:ur=[]}=Ir,{name:la,description:Qn}=Ia;(0,b.useEffect)(()=>{at&&(pe({type:"newShixuns/getEnvironmentData",payload:{tab_type:dn}}),ea(""),Oa(wn))},[at,wn]),(0,b.useEffect)(()=>{ve.actionTabs.key==="NewShixuns-Apply"&&Ln()},[(Ea=ve==null?void 0:ve.actionTabs)==null?void 0:Ea.key]),(0,b.useEffect)(()=>{ia!==null&&qa()},[ia]);const qa=()=>Mr(void 0,null,function*(){const ka=yield(0,lt.Q1)({mirror_repository_id:ia,identifier:un,shixun_environment_id:st});Wr(ka.data)});return b.createElement(b.Fragment,null,b.createElement(he.default,{title:"\u9009\u62E9\u5B9E\u9A8C\u955C\u50CF",open:at,width:1e3,destroyOnClose:!0,centered:!0,onCancel:Ln,className:$r.modal,footer:null},b.createElement("div",{className:$r.mirrorModal},b.createElement(Mo.Z,{dispatch:pe,value:ia,data:Ta,otherData:ur,tags:Sr,onChange:ka=>Oa(ka),onSearchWord:ka=>ea(ka),tab_type:dn}),b.createElement("div",{className:$r.right},b.createElement("header",null,b.createElement("div",{className:$r.title},"\u5B9E\u9A8C\u73AF\u5883:\xA0",b.createElement("span",{dangerouslySetInnerHTML:{__html:ia===null?"\u2014 \u2014":(Qa=la||"")==null?void 0:Qa.replace(new RegExp(ga==null?void 0:ga.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"gi"),'$&')}}))),b.createElement("div",{className:$r.content},ia===null&&b.createElement(an.Z,{image:oo,description:"\u8BF7\u9009\u62E9\u5B9E\u9A8C\u73AF\u5883"}),ia!==null&&b.createElement("div",{className:$r.des},b.createElement(De.Z,{value:Qn,highlightKeywords:ga})),b.createElement("div",{className:$r.btns},b.createElement(le.ZP,{onClick:()=>{Oa(null),Wr({}),Ln()},className:$r.cancel},"\u53D6\u6D88 "),b.createElement(le.ZP,{onClick:()=>{Qt(Ia)},className:$r.confirm,type:"primary"},"\u4FDD\u5B58 ")))))),b.createElement(ho.Z,null),b.createElement(yn.Z,null))};var lo=(0,Ie.connect)(({newShixuns:ve,globalSetting:Ee,user:pe})=>({newShixuns:ve,globalSetting:Ee,user:pe}))(io),dt={flex_box_center:"flex_box_center___jnFK3",flex_space_between:"flex_space_between___JoMuQ",flex_box_vertical_center:"flex_box_vertical_center___XkWzp",flex_box_center_end:"flex_box_center_end___kfVJX",flex_box_column:"flex_box_column___mfxox",content:"content___ujW8g",explain:"explain___vGa5a",tabs:"tabs___MbGuX",active:"active___SCmkJ",btns:"btns___MiEQa",must:"must___n8wNT",popover:"popover___wqXWh",zybzForm:"zybzForm___m1nC0",graaytitle:"graaytitle___vdUDn",dataPicker:"dataPicker___RiEgz",examineStatus:"examineStatus___OCyYC",contacts:"contacts___MWvKz",contacts_img:"contacts_img___kiMTs",suc_status:"suc_status___p81iO",fail_status:"fail_status___Rv54W",bohui:"bohui___wtuT5",selecticon:"selecticon___AAPZz"},Ue=re(43428),We=re(46400),Rt=re(60324),Cn=re(88522),aa=re(5083),Oe=re(51124),it={footerWrap:"footerWrap___lXI4I"},Me=Object.getOwnPropertySymbols,ut=Object.prototype.hasOwnProperty,zt=Object.prototype.propertyIsEnumerable,Ga=(ve,Ee)=>{var pe={};for(var at in ve)ut.call(ve,at)&&Ee.indexOf(at)<0&&(pe[at]=ve[at]);if(ve!=null&&Me)for(var at of Me(ve))Ee.indexOf(at)<0&&zt.call(ve,at)&&(pe[at]=ve[at]);return pe},ja=(ve,Ee,pe)=>new Promise((at,Qt)=>{var Ln=st=>{try{un(pe.next(st))}catch(dn){Qt(dn)}},wn=st=>{try{un(pe.throw(st))}catch(dn){Qt(dn)}},un=st=>st.done?at(st.value):Promise.resolve(st.value).then(Ln,wn);un((pe=pe.apply(ve,Ee)).next())});const Vn=ie.default.TextArea,Xt=ve=>{var Ee=ve,{shixunsDetail:pe,globalSetting:at,loading:Qt,dispatch:Ln,onFinish:wn=()=>{}}=Ee,un=Ga(Ee,["shixunsDetail","globalSetting","loading","dispatch","onFinish"]);const[st]=oe.default.useForm(),dn=Qa=>ja(void 0,null,function*(){var ia;const Oa=yield Ln({type:"shixunsDetail/getCustomScript",payload:{id:(ia=pe.actionTabs.params)==null?void 0:ia.id,compile:Qa.execute,excutive:Qa.compile}});Ea(),Oa&&wn(Oa==null?void 0:Oa.shixun_script)}),Ea=()=>{Ln({type:"shixunsDetail/setActionTabs",payload:{}})};return b.createElement(he.default,{centered:!0,title:"\u81EA\u5B9A\u4E49\u6A21\u677F",open:pe.actionTabs.key==="Settings-UseCustomScript",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",footer:null,onCancel:Ea},b.createElement(oe.default,{form:st,scrollToFirstError:!0,layout:"vertical",onFinish:dn},b.createElement(oe.default.Item,{name:"execute",label:"\u6267\u884C\u547D\u4EE4\uFF1A",rules:[{required:!0,message:"\u6267\u884C\u547D\u4EE4\u4E0D\u80FD\u4E3A\u7A7A"}]},b.createElement(Vn,{rows:4})),b.createElement(oe.default.Item,{name:"compile",label:"\u7F16\u8BD1\u547D\u4EE4\uFF1A"},b.createElement(Vn,{rows:4})),b.createElement("div",{className:it.footerWrap},b.createElement(oe.default.Item,null,b.createElement(le.ZP,{className:"mr5",size:"middle",onClick:Ea},"\u53D6\u6D88"),b.createElement(le.ZP,{size:"middle",type:"primary",htmlType:"submit",loading:Qt.effects["shixunsDetail/getCustomScript"]},"\u4FDD\u5B58")))))};var Hn=(0,Ie.connect)(({shixunsDetail:ve,loading:Ee,globalSetting:pe})=>({shixunsDetail:ve,globalSetting:pe,loading:Ee}))(Xt),ba=re(34055),La=re(61186),rr=re.n(La),sa=re(29679),wt=re(59301),ca=(ve,Ee,pe)=>new Promise((at,Qt)=>{var Ln=st=>{try{un(pe.next(st))}catch(dn){Qt(dn)}},wn=st=>{try{un(pe.throw(st))}catch(dn){Qt(dn)}},un=st=>st.done?at(st.value):Promise.resolve(st.value).then(Ln,wn);un((pe=pe.apply(ve,Ee)).next())});const gr="YYYY-MM-DD HH:mm",Pr=({shixunsDetail:ve,visible:Ee,onOk:pe,onCancel:at,dispatch:Qt,is_published:Ln,id:wn,has_relation:un,environment:st=[],verifyModal:dn})=>{var Ea,Qa,ia;const Oa=(0,Ie.useParams)(),[Ia,Wr]=(0,b.useState)(1),[ga,ea]=(0,b.useState)(!0),[Ir,Sr]=(0,b.useState)(!1),[Ta,ur]=(0,b.useState)(null),[la,Qn]=(0,b.useState)(),[qa,ka]=(0,b.useState)(),[$a,Ma]=(0,b.useState)([]),[Br,bo]=(0,b.useState)(!1),[Ua,Jt]=(0,b.useState)(""),[wa,tr]=(0,b.useState)(null),[Va]=oe.default.useForm(),[co,lr]=(0,b.useState)([]),[nr,Ur]=(0,b.useState)(""),[Yo,No]=(0,b.useState)([{id:1,name:"\u8BC4\u6D4B\u811A\u672C\u8BBE\u7F6E"},{id:2,name:"\u5B9E\u9A8C\u73AF\u5883\u8BBE\u7F6E"}]),wo=(0,b.useRef)((0,fn.throttle)(xa=>kr(xa),1200,{leading:!0,trailing:!0})).current;(0,b.useEffect)(()=>{var xa;((0,ba.Ny)()||(xa=ve==null?void 0:ve.detail)!=null&&xa.manager_of_shixun)&&No([{id:1,name:"\u8BC4\u6D4B\u811A\u672C\u8BBE\u7F6E"},{id:2,name:"\u5B9E\u9A8C\u73AF\u5883\u8BBE\u7F6E"}])},[]),(0,b.useEffect)(()=>{wn&&Ee&&Ba()},[wn,Ee]);const Ba=(xa=null)=>ca(void 0,null,function*(){var eo,Bi;xa||ea(!0);const Wi=yield(0,Ke.ZP)(`/api/shixuns/${wn}/get_shixun_env_setting.json`,{method:"get",params:{shixun_environment_id:xa}});if(Wi.status===0&&!xa){const{data:xr}=Wi;console.log("data",xr),ur((xr==null?void 0:xr.shixun_environment_id)||null),Qn((xr==null?void 0:xr.evaluate_script)||""),ka((xr==null?void 0:xr.choice_standard_scripts)||null),Ma((xr==null?void 0:xr.standard_scripts)||[]),Jt((eo=xr.shixun)==null?void 0:eo.survival_time);let Cr=(Bi=xr.shixun)==null?void 0:Bi.important_shixun_configs;Va.setFieldsValue({identifier:(Cr==null?void 0:Cr.identifier)||"",people_number:(Cr==null?void 0:Cr.people_number)||"",school_id:(Cr==null?void 0:Cr.school_name)||"",times:Cr!=null&&Cr.start_time&&(Cr!=null&&Cr.end_time)?[rr()(Cr==null?void 0:Cr.start_time),rr()(Cr==null?void 0:Cr.end_time)]:["",""]}),Ur((Cr==null?void 0:Cr.verify_reason)||""),tr((Cr==null?void 0:Cr.process)||null),yield kr(Cr==null?void 0:Cr.school_name)}if(Wi.status===0&&xa){const{data:xr}=Wi;Qn((xr==null?void 0:xr.evaluate_script)||""),ka(null),Ma((xr==null?void 0:xr.standard_scripts)||[]),yield kr()}ea(!1)}),kr=xa=>ca(void 0,null,function*(){const eo=yield Qt({type:"account/getSchoolOption",payload:{keyword:xa,limit:99999,display_aliases:!0}});lr(eo==null?void 0:eo.schools)}),xo=()=>{dn()||Qt({type:"shixunsDetail/setActionTabs",payload:{key:"Settings-UseCustomScript",params:{id:Oa.id}}})},Ar=xa=>ca(void 0,null,function*(){const eo=yield Qt({type:"shixunsDetail/getScriptContent",payload:{id:Oa.id,script_id:xa}});eo&&Qn(eo.content)}),ei=xa=>{he.default.confirm({centered:!0,title:"\u63D0\u793A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",content:wt.createElement("div",{className:"tc font16"},"\u539F\u6709\u811A\u672C\u5C06\u88AB\u65B0\u7684\u811A\u672C\u8986\u76D6\uFF0C\u65E0\u6CD5\u64A4\u9500",wt.createElement("br",null),"\u662F\u5426\u786E\u8BA4\u6267\u884C\u8986\u76D6\u64CD\u4F5C"),onOk:()=>ca(void 0,null,function*(){yield Ar(xa),ka(xa),he.default.info({centered:!0,title:"\u63D0\u793A",okText:"\u77E5\u9053\u5566",content:wt.createElement("div",{className:"tc font16"},"\u8BC4\u6D4B\u811A\u672C\u751F\u6210\u6210\u529F\uFF01")})})})},Vo=(xa=!1,eo=1)=>ca(void 0,null,function*(){var Bi,Wi,xr;let Cr;if(Ia===1&&(Sr(!0),Cr=yield(0,Ke.ZP)(`/api/shixuns/${Oa.id}/update_evaluate_script_setting.json`,{method:"put",body:{shixun_environment_id:Ta,mirror_script_id:qa,evaluate_script:la,sync_origin_shixun:xa}})),Ia===2){Sr(!0);let Yn={close_internet:Br,survival_time:Ua,sync_origin_shixun:xa};Cr=yield(0,Ke.ZP)(`/api/shixuns/${Oa.id}/update_environment_setting.json`,{method:"put",body:Yn})}if(Ia===3){let Yn=Va.getFieldsValue();yield Va.validateFields(),Sr(!0);let Bo={close_internet:Br,survival_time:Ua,sync_origin_shixun:xa};Bo.important_shixun_configs={identifier:Yn==null?void 0:Yn.identifier,people_number:Yn==null?void 0:Yn.people_number,school_id:(Bi=co.find(hi=>hi.name===(Yn==null?void 0:Yn.school_id)))==null?void 0:Bi.id,start_time:rr()(Yn==null?void 0:Yn.times[0]).format("YYYY-MM-DD HH:mm"),end_time:rr()(Yn==null?void 0:Yn.times[1]).format("YYYY-MM-DD HH:mm")},Cr=yield(0,Ke.ZP)(`/api/shixuns/${Oa.id}/resources_first_ensure.json`,{method:"post",body:Bo})}Cr.status===0&&((!((Wi=ve==null?void 0:ve.detail)!=null&&Wi.copy_for_exercise)||Ia===3)&&Xe.ZP.success(`${Ia==3?"\u63D0\u4EA4\u7533\u8BF7\u6210\u529F":"\u4FDD\u5B58\u6210\u529F"}`),(xr=ve==null?void 0:ve.detail)!=null&&xr.copy_for_exercise&&Ia!=3&&(0,Bn.m)(Qt,ve,wn,eo),Ba(),pe()),Sr(!1)}),si=(xa,eo)=>{const Bi=/^[^0-9][a-zA-Z0-9]*$/,Wi=/^.{4,30}$/;return eo&&!/^[a-zA-Z0-9]+$/.test(eo)?Promise.reject("\u8F93\u5165\u5185\u5BB9\u53EA\u80FD\u5305\u542B\u6570\u5B57\u548C\u5B57\u6BCD"):eo&&!Bi.test(eo)?Promise.reject("\u4E0D\u80FD\u4EE5\u6570\u5B57\u5F00\u5934"):eo&&!Wi.test(eo)?Promise.reject("\u8F93\u5165\u5185\u5BB9\u957F\u5EA6\u5FC5\u987B\u57284\u523030\u4E2A\u5B57\u7B26\u4E4B\u95F4"):Promise.resolve()},pi=xa=>parseInt(xa||"0",10),Hi=(xa,eo)=>{if(eo&&eo.length===2){const[Bi,Wi]=eo;if(!Bi||!Wi)return Promise.reject(new Error("\u8BF7\u9009\u62E9\u8D77\u59CB\u65F6\u95F4\u548C\u7ED3\u675F\u65F6\u95F4"))}return Promise.resolve()};return wt.createElement(wt.Fragment,null,wt.createElement(Ue.Z,{title:null,width:1e3,placement:"right",closable:!1,onClose:at,open:Ee},wt.createElement("div",{className:dt.content},wt.createElement(cr.Z,{loading:ga,active:!0},wt.createElement(ye.Z,{className:"mt10",justify:"space-between"},wt.createElement("b",{className:"c-grey-333 font16"},"\u8BBE\u7F6E"),wt.createElement("i",{onClick:at,className:"iconfont icon-guanbi11 current",style:{color:"#979797"}})),wt.createElement("div",{className:dt.tabs},Yo.map(xa=>{const{name:eo,id:Bi}=xa;return wt.createElement("div",{key:Bi,className:Ia===Bi?dt.active:"",onClick:()=>Wr(Bi)},eo)})),Ia===1&&wt.createElement(b.Fragment,null,wt.createElement(We.Z,{className:"mt20",message:"\u9009\u62E9\u5B9E\u9A8C\u73AF\u5883\u4E0B\u7684\u8BC4\u6D4B\u811A\u672C\uFF1A\u5C06\u4F5C\u4E3A\u6574\u4E2A\u5B9E\u8BAD\u6240\u6709\u5B9E\u9A8C\u73AF\u5883\u4E0B\uFF0C\u5B66\u5458\u8BC4\u6D4B\u65F6\u8FD0\u884C\u7684\u811A\u672C\u3002",type:"info",showIcon:!0,closable:!0}),wt.createElement(ye.Z,{align:"middle",className:"mt20"},wt.createElement("span",{className:"c-grey-333 font16"},"\u8FD0\u884C\u73AF\u5883"),wt.createElement(Or.default,{onClick:dn,getPopupContainer:xa=>xa.parentNode,bordered:!1,className:"ml10",style:{width:300,backgroundColor:"#f5f5f5",height:50,borderRadius:4,paddingTop:10},value:Ta,onChange:xa=>{ur(xa),Ba(xa)},showArrow:!0,placeholder:"\u5B9E\u9A8C\u73AF\u5883"},(Ea=st.filter(xa=>xa.id!==0))==null?void 0:Ea.map((xa,eo)=>wt.createElement(Or.default.Option,{value:xa.id,name:xa.name,key:xa.id},xa.name)))),wt.createElement(ye.Z,{align:"middle",className:"mt20"},wt.createElement("span",{className:"c-grey-333 font16"},"\u8BC4\u6D4B\u811A\u672C"),wt.createElement(Or.default,{onClick:dn,getPopupContainer:xa=>xa.parentNode,bordered:!1,className:"ml10 mr10",style:{width:300,backgroundColor:"#f5f5f5",height:50,borderRadius:4,paddingTop:10},showArrow:!0,value:qa,placeholder:"\u8BF7\u9009\u62E9\u8BC4\u6D4B\u811A\u672C",onChange:xa=>{ei(xa)}},($a||[]).map((xa,eo)=>wt.createElement(Or.default.Option,{value:parseInt(xa.id),name:xa.scptname,key:eo},xa.scptname))),wt.createElement("span",{className:dt.explain,onClick:xo},"\u4F7F\u7528\u81EA\u5B9A\u4E49\u811A\u672C"),wt.createElement(Rt.Z,{className:dt.popover,content:wt.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",wt.createElement("br",null),"\u6570\u548C\u4EE5\u4E0B2\u4E2A\u6570\u7EC4\u5143\u7D20\uFF1A",wt.createElement("br",null),"challengeProgramNames",wt.createElement("br",null),"sourceClassNames",wt.createElement("br",null),wt.createElement("br",null),"\u793A\u4F8B\uFF1A\u67092\u4E2A\u5173\u5361\u7684\u5B9E\u8BAD",wt.createElement("br",null),wt.createElement("br",null),"\u5404\u5173\u5361\u7684\u5F85\u7F16\u8BD1\u6587\u4EF6\u4E3A\uFF1A",wt.createElement("br",null),"src/step1/HelloWorld.java",wt.createElement("br",null),"src/step2/Other.java",wt.createElement("br",null),wt.createElement("br",null),"\u5404\u5173\u5361\u7684\u7F16\u8BD1\u540E\u751F\u6210\u7684\u6267\u884C\u6587\u4EF6\u4E3A\uFF1A",wt.createElement("br",null),"step1.HelloWorld",wt.createElement("br",null),"step2.Other",wt.createElement("br",null),wt.createElement("br",null),"\u5219\u6570\u7EC4\u5143\u7D20\u66F4\u65B0\u5982\u4E0B\uFF1A",wt.createElement("br",null),'ff challengeProgramNames=("src/step1/',wt.createElement("br",null),'HelloWorld.java" "src/step2/Other.java")',wt.createElement("br",null),'sourceClassNames=("step1.HelloWorld',wt.createElement("br",null),'" "step2.Other")',wt.createElement("br",null),wt.createElement("br",null),"\u5176\u5B83\u53C2\u6570\u53EF\u6309\u5B9E\u9645\u9700\u6C42\u5B9A\u5236"),trigger:"click"},wt.createElement("span",{style:{color:"#999",fontSize:14,marginTop:2,marginLeft:4},className:"iconfont icon-tishi11 c-grey-999"}))),wt.createElement(Oe.ZP,{style:{border:"1px solid #ccc",background:"#f5f5f5",marginTop:"30px"},language:"shell",theme:"vs-light",value:la,options:{readOnly:Ln},onChange:xa=>{Qn(xa)}})),Ia===2&&wt.createElement("div",{style:{flex:1,overflowY:"auto"}},wt.createElement(ye.Z,{align:"middle",className:"mt20"},wt.createElement("span",{className:"c-grey-333 font16 mr10"},"\u5B9E\u9A8C\u73AF\u5883\u4F7F\u7528\u65F6\u957F"),wt.createElement(ie.default,{bordered:!1,value:Ua,onChange:xa=>Jt(xa.target.value),style:{width:300,backgroundColor:"#f5f5f5",height:50,borderRadius:4}}),wt.createElement("span",{className:"ml10 c-grey-999 font14"},"\u5206"))),Ia===3&&((0,ba.Ny)()||((Qa=ve==null?void 0:ve.detail)==null?void 0:Qa.manager_of_shixun))&&wt.createElement("div",{style:{flex:1,overflowY:"auto"}},wt.createElement(ye.Z,{align:"middle",className:"mt20"},wt.createElement(oe.default,{form:Va,layout:"horizontal",className:dt.zybzForm},wt.createElement(ye.Z,{align:"middle"},wt.createElement("span",{className:"c-grey-333 font16 mr10",style:{marginLeft:55}},wt.createElement("span",{className:dt.must},"*"),"\u4FDD\u969C\u6807\u8BC6"),wt.createElement(oe.default.Item,{label:"",name:"identifier",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4FDD\u969C\u6807\u8BC6"},{validator:si}]},wt.createElement(ie.default,{bordered:!1,style:{width:300,backgroundColor:"#f5f5f5",height:50,borderRadius:4},minLength:4,maxLength:30,showCount:!0,placeholder:"\u8BF7\u8F93\u5165\u4FDD\u969C\u6807\u8BC6"})),wt.createElement("span",{className:"ml10 c-grey-999 font14"},"\u4FDD\u969C\u6807\u8BC6\u53EA\u80FD\u7531\u5B57\u6BCD\u548C\u6570\u5B57\u7EC4\u6210\uFF084~30 \u4F4D\uFF09\uFF0C\u4E0D\u80FD\u4EE5\u6570\u5B57\u5F00\u5934\u3002",wt.createElement("br",null),"\u586B\u5199\u4FDD\u969C\u6807\u8BC6\u662F\u4E3A\u4E86\u4FBF\u4E8E\u5E73\u53F0\u4E3A\u6B64\u5B9E\u8DF5\u9879\u76EE\u7279\u522B\u5206\u914D\u8282\u70B9\u3002")),wt.createElement(ye.Z,{align:"middle",className:"mt25"},wt.createElement("span",{className:"c-grey-333 font16 mr10",style:{marginLeft:7}},wt.createElement("span",{className:dt.must},"*"),"\u9700\u8981\u4FDD\u969C\u7684\u5355\u4F4D"),wt.createElement("div",{style:{position:"relative"}},wt.createElement(oe.default.Item,{label:"",name:"school_id",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u9700\u8981\u4FDD\u969C\u7684\u5355\u4F4D"}]},wt.createElement(Cn.Z,{bordered:!1,style:{width:300,backgroundColor:"#f5f5f5",height:50,borderRadius:4,paddingTop:10},onChange:wo,showSearch:!0,placeholder:"\u8BF7\u9009\u62E9\u9700\u8981\u4FDD\u969C\u7684\u5355\u4F4D"},(ia=co==null?void 0:co.filter(xa=>(xa==null?void 0:xa.id)!==0))==null?void 0:ia.map((xa,eo)=>wt.createElement(Or.default.Option,{key:eo+1,title:xa==null?void 0:xa.name,value:xa==null?void 0:xa.name},xa==null?void 0:xa.name)))),wt.createElement("span",{className:dt.selecticon},wt.createElement("svg",{viewBox:"64 64 896 896",focusable:"false","data-icon":"down",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},wt.createElement("path",{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}))))),wt.createElement(ye.Z,{align:"middle",className:"mt25"},wt.createElement("span",{className:"c-grey-333 font16 mr10",style:{marginLeft:55}},wt.createElement("span",{className:dt.must},"*"),"\u4FDD\u969C\u65F6\u95F4"),wt.createElement("div",{className:dt.graaytitle},wt.createElement(oe.default.Item,{label:"",name:"times",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u5F00\u59CB\u65F6\u95F4\u548C\u7ED3\u675F\u65F6\u95F4"},{validator:Hi}]},wt.createElement(aa.default.RangePicker,{disabledDate:xa=>xa&&xa{if(xa&&xa[0]&&xa[1]){const eo=xa[0].isBefore(rr()())?rr()():xa[0];Va.setFieldValue("times",[eo,xa[1]])}else Va.setFieldValue("times",xa)}})))),wt.createElement(ye.Z,{align:"middle",className:"mt25"},wt.createElement("span",{className:"c-grey-333 font16 mr10",style:{marginLeft:55}},wt.createElement("span",{className:dt.must},"*"),"\u4FDD\u969C\u4EBA\u6570"),wt.createElement(oe.default.Item,{label:"",name:"people_number",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4FDD\u969C\u4EBA\u6570"}]},wt.createElement(qr.Z,{parser:pi,style:{width:200},placeholder:"\u8BF7\u8F93\u5165\u4FDD\u969C\u4EBA\u6570",min:1})))),wt.createElement("div",{className:`${dt.examineStatus} mt25`},wa>=1&&wt.createElement("div",null," ",wt.createElement(sa.Z,{className:dt.suc_status})," \u5B9E\u9A8C\u8D44\u6E90\u4F18\u5148\u4FDD\u969C\u7533\u8BF7\u6210\u529F\uFF0C\u5E73\u53F0\u7BA1\u7406\u5458\u5BA1\u6838\u4E2D"),wa>=2&&wa!=3&&wt.createElement("div",null," ",wt.createElement(sa.Z,{className:dt.suc_status})," \u5E73\u53F0\u7BA1\u7406\u5458\u5BA1\u6838\u901A\u8FC7\uFF0C\u7CFB\u7EDF\u8D44\u6E90\u5206\u914D\u4E2D"),wa==3&&wt.createElement("div",null," ",wt.createElement(on.Z,{className:dt.fail_status}),"\u5E73\u53F0\u7BA1\u7406\u5458\u5BA1\u6838\u9A73\u56DE\uFF0C\u9A73\u56DE\u539F\u56E0: ( ",wt.createElement("span",{title:nr,className:dt.bohui},nr),") \u5982\u6709\u95EE\u9898\u8BF7\u8054\u7CFB",wt.createElement("span",{className:dt.contacts},wt.createElement("span",null,"\u5E73\u53F0\u8FD0\u8425\u4EBA\u5458")," ",wt.createElement("div",{className:dt.contacts_img}))),wa>=4&&wa!=5&&wa!=7&&wt.createElement("div",null," ",wt.createElement(sa.Z,{className:dt.suc_status})," \u7CFB\u7EDF\u8D44\u6E90\u5206\u914D\u5B8C\u6210\uFF0C\u5B9E\u9A8C\u8D44\u6E90\u4FDD\u969C\u4E2D"),(wa==5||wa==7)&&wt.createElement("div",null," ",wt.createElement(on.Z,{className:dt.fail_status}),"\u7CFB\u7EDF\u8D44\u6E90\u5206\u914D\u5931\u8D25\uFF0C\u8BF7\u8054\u7CFB",wt.createElement("span",{className:dt.contacts},wt.createElement("span",null,"\u5E73\u53F0\u8FD0\u8425\u4EBA\u5458")," ",wt.createElement("div",{className:dt.contacts_img}))),wa>5&&wt.createElement("div",null," ",wt.createElement(sa.Z,{className:dt.suc_status})," \u5B9E\u9A8C\u8D44\u6E90\u4FDD\u969C\u5DF2\u7ED3\u675F")))),wt.createElement("div",{className:dt.btns},wt.createElement(le.ZP,{onClick:at},"\u53D6\u6D88"),wt.createElement(le.ZP,{disabled:Ia==3&&[2,4,5].includes(wa),onClick:()=>ca(void 0,null,function*(){var xa,eo;if(Ia===1&&!Ta){Xe.ZP.warning("\u8BF7\u9009\u62E9\u8FD0\u884C\u73AF\u5883");return}(xa=ve==null?void 0:ve.detail)!=null&&xa.is_fork_from_creator&&((eo=ve==null?void 0:ve.detail)!=null&&eo.copy_for_exercise)&&Ia!=3&&(st.filter(Bi=>Bi.id===Ta)[0].has_relation&&Ia===1||Ia===2)?Qt({type:"classroomList/setActionTabs",payload:{key:"\u540C\u6B65\u4FEE\u6539",type:"environment",fn:(Bi,Wi)=>{Vo(Bi,Wi)},zIndex:1e4}}):Vo()}),loading:Ir,type:"primary",className:"ml20"},Ia==3?"\u63D0\u4EA4\u7533\u8BF7":"\u4FDD\u5B58"))))),wt.createElement(Hn,{onFinish:xa=>Qn(xa)}))};var dr=(0,Ie.connect)(({shixunsDetail:ve})=>({shixunsDetail:ve}))(Pr),Zn=re(2312),Rn=re(25510),pn={wrap:"wrap___S9yE5",content:"content___xIxOT",head:"head___icGJE",title:"title___NbDBd",add:"add___ntZkv",addDisable:"addDisable___pgd9I",setting:"setting___kQ9Qx",tabs:"tabs___o2qas",name:"name___HUyj5",active:"active___SVp4l",line:"line___DSw6E",resource:"resource___AgLC3",mirror:"mirror___DGr0Q",interface:"interface___xxy5c",disabled:"disabled___GqKcR",port:"port___vGmHQ",grade:"grade___b6Adk",tabsBox:"tabsBox___TnoNw",tabTitle:"tabTitle___i8cO0",more:"more___kbzpa",serverConfig:"serverConfig___BtI29",viewRecommendConfig:"viewRecommendConfig___ODGyC",system:"system___YygCM",explain:"explain___klZ55",btns:"btns___o6xWf",template:"template___AMzZZ",liWrap:"liWrap___tCbB1",li:"li___srrGx",tag:"tag___NcFBh"},Er=re(77277),zr=re(40151),uo=re(18309),to={list:"list___p00l5",head:"head___JcQe0",row:"row___kLpLL"},Ka=re(59301),_r=Object.defineProperty,Eo=Object.defineProperties,ai=Object.getOwnPropertyDescriptors,li=Object.getOwnPropertySymbols,Mi=Object.prototype.hasOwnProperty,Gr=Object.prototype.propertyIsEnumerable,Sa=(ve,Ee,pe)=>Ee in ve?_r(ve,Ee,{enumerable:!0,configurable:!0,writable:!0,value:pe}):ve[Ee]=pe,kn=(ve,Ee)=>{for(var pe in Ee||(Ee={}))Mi.call(Ee,pe)&&Sa(ve,pe,Ee[pe]);if(li)for(var pe of li(Ee))Gr.call(Ee,pe)&&Sa(ve,pe,Ee[pe]);return ve},$t=(ve,Ee)=>Eo(ve,ai(Ee)),pr=({showError:ve,value:Ee,onChange:pe,optionsLevelList:at})=>{const[Qt,Ln]=(0,b.useState)([]);(0,b.useEffect)(()=>{if(!Ee.length){Ln([{command:"",challenge_ids:[]}]);return}Ln(Ee)},[JSON.stringify(Ee)]);const wn=(un,st,dn)=>{let Ea=JSON.parse(JSON.stringify(Qt));st==="add"?Ea.push({command:"",challenge_ids:[-1]}):st==="delete"?Ea.splice(dn,1):Ea[dn][st]=un,Ln(Ea),pe(Ea)};return console.log(Qt,"value2"),Ka.createElement("div",{className:to.list},Ka.createElement("div",{className:to.head},Ka.createElement("div",{style:{width:400}},"\u547D\u4EE4"),Ka.createElement("div",null,"\u5E94\u7528\u5173\u5361")),Qt==null?void 0:Qt.map((un,st)=>{var dn,Ea,Qa;let ia=at.map((Oa,Ia)=>{const Wr=`\u7B2C${Ia+1}\u5173\uFF1A${Oa.name}`;let ga=Wr,ea=!1;return Oa.st===1&&(ga=Ka.createElement(ha.Z,{placement:"left",title:"\u7406\u8BBA\u9898\u5173\u5361\u65E0\u6CD5\u89E6\u53D1\u547D\u4EE4"},Wr),ea=!0),$t(kn({},Oa),{value:Oa.challenge_id,label:ga,disabled:ea})});return ia=[{label:"\u6240\u6709\u5173\u5361",value:-1},...ia],Ka.createElement(ye.Z,{wrap:!1,align:"middle",style:{position:"relative"},className:stwn(Oa.target.value,"command",st),bordered:!1,placeholder:"\u4F8B\u5982\uFF1Amysql -uroot -p123123 -h127.0.0.1",style:{width:400,height:50,background:"#F5F5F5",borderRadius:4}}),Ka.createElement(Or.default,{options:ia,getPopupContainer:Oa=>Oa.parentNode,value:un==null?void 0:un.challenge_ids,onChange:Oa=>{var Ia,Wr;let ga=Oa;!((Ia=un==null?void 0:un.challenge_ids)!=null&&Ia.includes(-1))&&(Oa!=null&&Oa.includes(-1))&&(ga=[-1]),(Wr=un==null?void 0:un.challenge_ids)!=null&&Wr.includes(-1)&&(Oa!=null&&Oa.includes(-1))&&(ga=Oa==null?void 0:Oa.filter(ea=>ea!==-1)),wn(ga,"challenge_ids",st)},mode:"multiple",maxTagTextLength:(Qa=un==null?void 0:un.challenge_ids)!=null&&Qa.includes(-1)?4:3,placeholder:"\u8BF7\u9009\u62E9\u5E94\u7528\u5173\u5361",maxTagCount:5,bordered:!1,style:{width:560,backgroundColor:"#f5f5f5",height:50,borderRadius:4,paddingTop:10,margin:"0 20px"}}),Ka.createElement(ye.Z,{wrap:!1},Ka.createElement("i",{onClick:()=>wn("","add",st),style:{color:"#3061D0"},className:"iconfont icon-tianjiatimu font20 current ml20"}),st!==0&&Ka.createElement("i",{onClick:()=>wn("","delete",st),style:{color:"#E30000"},className:"iconfont icon-shanjian font20 ml20"})))}))},be=re(59301),jr=Object.defineProperty,Za=Object.defineProperties,mr=Object.getOwnPropertyDescriptors,fr=Object.getOwnPropertySymbols,Vr=Object.prototype.hasOwnProperty,Xr=Object.prototype.propertyIsEnumerable,yo=(ve,Ee,pe)=>Ee in ve?jr(ve,Ee,{enumerable:!0,configurable:!0,writable:!0,value:pe}):ve[Ee]=pe,So=(ve,Ee)=>{for(var pe in Ee||(Ee={}))Vr.call(Ee,pe)&&yo(ve,pe,Ee[pe]);if(fr)for(var pe of fr(Ee))Xr.call(Ee,pe)&&yo(ve,pe,Ee[pe]);return ve},ui=(ve,Ee)=>Za(ve,mr(Ee)),ko=(ve,Ee,pe)=>new Promise((at,Qt)=>{var Ln=st=>{try{un(pe.next(st))}catch(dn){Qt(dn)}},wn=st=>{try{un(pe.throw(st))}catch(dn){Qt(dn)}},un=st=>st.done?at(st.value):Promise.resolve(st.value).then(Ln,wn);un((pe=pe.apply(ve,Ee)).next())});const Di=Or.default.Option,hl=5,di=({practiceSetting:ve,dispatch:Ee,shixunsDetail:pe,user:at})=>{var Qt,Ln,wn,un,st,dn,Ea,Qa,ia,Oa,Ia,Wr;const{id:ga,is_published:ea}=ve,[Ir,Sr]=(0,b.useState)([]),[Ta,ur]=(0,b.useState)(null),[la,Qn]=(0,b.useState)([]),[qa,ka]=(0,b.useState)([]),$a=(0,b.useRef)(null),[Ma,Br]=(0,b.useState)({}),bo=(0,b.useRef)({}),Ua=(0,b.useRef)({}),{shixun_environment:Jt={},mirror_repository:wa={},small_type:tr=[],new_service_configs:Va=[],network_mode_list:co=[],boosters:lr=[]}=Ma,[nr,Ur]=(0,b.useState)(""),[Yo,No]=(0,b.useState)("\u8BF7\u8F93\u5165\u7AEF\u53E3"),[wo,Ba]=(0,b.useState)(!1),[kr,xo]=(0,b.useState)(!1),[Ar,ei]=(0,b.useState)(!0),[Vo,si]=(0,b.useState)(!0),[pi,Hi]=(0,b.useState)(!1),[xa,eo]=(0,b.useState)(!1),[Bi,Wi]=(0,b.useState)(!1),[xr,Cr]=(0,b.useState)(!1),[Yn,Bo]=(0,b.useState)(0),[hi,Zo]=(0,b.useState)(!1),[or,yr]=(0,b.useState)({}),[mo,xi]=(0,b.useState)({}),[Ds,po]=(0,b.useState)({}),[ir,Rr]=(0,b.useState)(""),[To,oi]=(0,b.useState)(!1),[xl,pl]=(0,b.useState)(!1),[Ul,Yl]=(0,b.useState)({}),[xu,Lu]=(0,b.useState)([]),jl=(0,b.useRef)([]),[Ws,Md]=(0,b.useState)([]);console.log("--1111-",lr,xu);const sd=[{id:1,name:"\u901A\u7528\u4E91"},{id:2,name:"\u4E13\u6709\u4E91"}],Id=[{id:1,name:"Windows",icon:"iconfont icon-Windows"},{id:2,name:"Linux",icon:"iconfont icon-Linux"},{id:3,name:"\u5176\u4ED6",icon:"iconfont icon-qitaxitong"}],dd=[{id:1,name:"VNC"},{id:2,name:"RDP"}],cd=[{id:0,name:"\u516C\u5171\u955C\u50CF",type:"public"},{id:1,name:"\u81EA\u5B9A\u4E49\u955C\u50CF",type:"customize"},{id:2,name:"\u5171\u4EAB\u955C\u50CF",type:"share"}],ed=(qa==null?void 0:qa.find($e=>$e.id===Jt.instance_startup_template_id))||{},{desc:gd,virt_type:md}=ed,fd=((Qt=la==null?void 0:la.find($e=>$e.id===(Jt==null?void 0:Jt.private_cloud_id)))==null?void 0:Qt.cloud_type)===1,Nd=((Ln=la==null?void 0:la.find($e=>$e.id===(Jt==null?void 0:Jt.private_cloud_id)))==null?void 0:Ln.cloud_type)===4;(0,b.useEffect)(()=>(window.addEventListener("click",hd),()=>{window.removeEventListener("click",hd)}),[]),(0,b.useEffect)(()=>{ks(),ku(),vd(),Zs(),Vs()},[]),(0,b.useEffect)(()=>{(0,fn.isEqual)(Ua.current,Ma)?Ee({type:"practiceSetting/setSideBarTabs",payload:{confirmLeave:!1}}):Ee({type:"practiceSetting/setSideBarTabs",payload:{confirmLeave:!0}}),bo.current=Ma},[Ma]);const Td=()=>ko(void 0,null,function*(){var $e,Xn,Nr,zo;const Ro=yield(0,Ke.ZP)("/api/shixuns/new.json",{method:"get",params:{tab_type:($e=cd[Number(Yn)])==null?void 0:$e.type}});(Ro==null?void 0:Ro.status)===0&&(((Nr=(Xn=Ro==null?void 0:Ro.data)==null?void 0:Xn.environments)==null?void 0:Nr.length)===0&&((zo=Ro==null?void 0:Ro.data)==null?void 0:zo.other_image.length)===0?Zo(!0):Zo(!1))});(0,b.useEffect)(()=>{Td()},[Yn]);const Rd=()=>{var $e;const Xn=()=>{Ie.history.push(`/shixuns/${ga}/challenges`),Ee({type:"practiceSetting/setSideBarTabs",payload:{confirmLeave:!1}})};($e=ve==null?void 0:ve.sideBar)!=null&&$e.confirmLeave?he.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:()=>{Xn()}}):Xn()},ks=()=>ko(void 0,null,function*(){var $e;const Xn=yield(0,Ke.ZP)(`/api/shixuns/${ga}/get_shixun_env_tabs.json`,{method:"get"});if(Xn.status===0){const Nr=(($e=Xn.data)==null?void 0:$e.shixun_environments_tabs)||[];Nr.length&&Ta===null&&ur(Nr[0].id),Sr(Nr)}}),vd=()=>ko(void 0,null,function*(){var $e;si(!0);const Xn=yield(0,Ke.ZP)("/api/shixuns/get_private_clouds.json",{method:"get"});Xn.status===0&&Qn(($e=Xn==null?void 0:Xn.data)==null?void 0:$e.list),si(!1)}),Vs=()=>ko(void 0,null,function*(){var $e;const Xn=yield(0,Ke.ZP)("/api/myshixuns/resource_pool_list.json",{method:"get"});Xn.status===0&&Md((($e=Xn==null?void 0:Xn.data)==null?void 0:$e.data)||[])}),Zs=()=>ko(void 0,null,function*(){const $e=yield(0,Ke.ZP)(`/api/shixuns/${ga}/challenges.json`,{method:"get"});$e.challenge_list&&Lu($e.challenge_list||[])}),zs=($e,Xn)=>ko(void 0,null,function*(){var Nr;const zo=yield(0,Ke.ZP)("/api/shixuns/get_instance_startup_template.json",{method:"get",params:{private_cloud_id:$e,operating_system:Xn}});zo.status===0&&ka((Nr=zo==null?void 0:zo.data)==null?void 0:Nr.list)}),ku=($e=null)=>ko(void 0,null,function*(){var Xn,Nr,zo,Ro,Ho,Zi,Ji,ql,su,Ei,Fl,du,ii,Vu,qo;ei(!0);const nl=yield(0,Ke.ZP)(`/api/shixuns/${ga}/get_multi_environments.json`,{method:"get",params:{shixun_environment_id:$e}});if(nl.status===0){Ua.current=(0,fn.cloneDeep)(nl.data||{}),Br(nl.data||{}),Bo(Number((Nr=(Xn=nl.data)==null?void 0:Xn.shixun_environment)==null?void 0:Nr.mirror_tab_type)||0),Number((Ro=(zo=nl.data)==null?void 0:zo.shixun_environment)==null?void 0:Ro.mirror_tab_type)===0?(yr((Ho=nl.data)==null?void 0:Ho.mirror_repository),xi({}),po({})):Number((Ji=(Zi=nl.data)==null?void 0:Zi.shixun_environment)==null?void 0:Ji.mirror_tab_type)===1?(xi((ql=nl.data)==null?void 0:ql.mirror_repository),yr({}),po({})):Number((Ei=(su=nl.data)==null?void 0:su.shixun_environment)==null?void 0:Ei.mirror_tab_type)===2&&(po((Fl=nl.data)==null?void 0:Fl.mirror_repository),yr({}),po({}));const Zu=(ii=(du=nl==null?void 0:nl.data)==null?void 0:du.shixun_environment)==null?void 0:ii.private_cloud_id,ws=(qo=(Vu=nl==null?void 0:nl.data)==null?void 0:Vu.shixun_environment)==null?void 0:qo.operating_system;Zu&&ws&&zs(Zu,ws)}ei(!1)}),pd=()=>ko(void 0,null,function*(){var $e;const Xn=yield(0,Ke.ZP)(`/api/shixuns/${ga}/check_code_editor.json`,{method:"get",params:{shixun_environment_id:Ta}});return Xn.status===0&&Xn.is_exist_code_editor?(he.default.confirm({icon:null,centered:!0,className:Er.Z.CustomTipsModalCss,okButtonProps:{type:"primary"},width:425,okText:"\u524D\u5F80\u5173\u95ED",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:be.createElement("div",null,be.createElement("div",null,"\u6BCF\u4E2A\u5B9E\u8DF5\u9879\u76EE\u53EA\u80FD\u5F00\u542F\u4E00\u4E2A\u4EE3\u7801\u7F16\u8F91\u5668\u754C\u9762\u3002"),be.createElement("div",null,"\u201C",($e=Xn==null?void 0:Xn.shixun_environment)==null?void 0:$e.name,"\u201D\u5DF2\u5F00\u542F\u4EE3\u7801\u7F16\u8F91\u5668\uFF0C\u9700\u5148\u5173\u95ED\uFF0C\u7136\u540E\u624D\u80FD\u5728\u5F53\u524D\u5B9E\u9A8C\u73AF\u5883\u9009\u62E9\u4EE3\u7801\u7F16\u8F91\u5668\u3002")),onOk:()=>ko(void 0,null,function*(){ur(Xn.shixun_environment.id),ku(Xn.shixun_environment.id),ks()})}),Promise.reject()):Promise.resolve()}),Wd={shixun_environment:{id:0,resource_type:1,command_settings:[],is_support_code_editor:!1,is_support_vnc:!1,is_support_webssh:!1,is_support_thiry_party:!1,disabled_support_vnc:!1,disabled_support_webssh:!1,private_is_support_vnc:!1,private_is_support_webssh:!1,private_is_support_jupyter_lab:!1,disabled2_support_vnc:!1,disabled2_support_webssh:!1,disabled2_support_jupyter_lab:!1,proxy_port:"",web_route:"",private_cloud_id:null,instance_startup_template_id:null,operating_system:1,instance_startup_type:1,pool_id:null,node_name:[]},mirror_repository:{choice_small_mirrors:[],shixun_service_configs:[]},small_type:[]},kd=($e,Xn)=>{var Nr,zo;if(typeof($e==null?void 0:$e.className)=="string"&&((Nr=$e==null?void 0:$e.className)!=null&&Nr.includes(Xn)))return $e;for(let Ro=0,Ho=$e;Ho=Ho.parentNode;Ro++){if(typeof($e==null?void 0:$e.className)=="string"&&((zo=Ho==null?void 0:Ho.className)!=null&&zo.includes(Xn)))return Ho;if(Ho==document.documentElement)return!1}},hd=$e=>{kd($e.target,"editor-scrollable")&&Xi()},Xi=()=>(0,Wt.gy)(Ee,"\u4E0D\u80FD\u9009\u62E9/\u66F4\u6362\u5B9E\u9A8C\u73AF\u5883"),Gs=$e=>be.createElement(na.Z,{required:!0,nameWidth:150,name:"\u5B9E\u9A8C\u754C\u9762",errorKey:"interface",errorValue:nr,align:"start",errorName:"\u8BF7\u9009\u62E9\u5B9E\u9A8C\u754C\u9762",tooltipTitle:be.createElement("div",{className:"p10"},$e&&be.createElement(be.Fragment,null,be.createElement("b",{className:"font14"},"\u4EE3\u7801\u7F16\u8F91\u5668"),be.createElement("br",null),"\u5B66\u5458\u8FDB\u884C\u5B9E\u9A8C\u65F6\uFF0C\u4E3A\u5B66\u5458\u63D0\u4F9B\u4EE3\u7801\u7F16\u8F91\u5668\u3001\u7F16\u8BD1\u5668\u3001\u8C03\u8BD5\u5668\u7B49\u5DE5\u5177\u3002",be.createElement("br",null),"\u5F53\u9009\u62E9\u4E86VSCode\u76F8\u5173\u7684\u5B9E\u9A8C\u955C\u50CF\u65F6\uFF0C\u4EE3\u7801\u7F16\u8F91\u5668\u4EE5VSCode\u7684\u5F62\u5F0F\u5C55\u793A\u7ED9\u5B66\u5458\u3002",be.createElement("br",null),"\u6BCF\u4E2A\u5B9E\u8DF5\u9879\u76EE",be.createElement("b",null,"\u53EA\u80FD\u5F00\u542F\u4E00\u4E2A"),"\u4EE3\u7801\u7F16\u8F91\u5668\u754C\u9762\u3002",be.createElement("br",null)),be.createElement("div",{className:"mt10 blod font14"},"\u56FE\u5F62\u5316\u684C\u9762"),"\u5B66\u5458\u8FDB\u884C\u5B9E\u9A8C\u65F6\uFF0C\u4F7F\u7528\u56FE\u5F62\u5316\u65B9\u5F0F\u663E\u793A\u64CD\u4F5C\u754C\u9762\u3002",be.createElement("br",null),be.createElement("div",{className:"mt10 blod font14"},"\u547D\u4EE4\u884C\u7EC8\u7AEF"),"\u5B66\u5458\u8FDB\u884C\u5B9E\u9A8C\u65F6\uFF0C\u4E3A\u5B66\u5458\u63D0\u4F9B\u547D\u4EE4\u884C\u7A97\u53E3\u3002",$e&&be.createElement(be.Fragment,null,be.createElement("div",{className:"mt10 blod font14"},"\u5BB9\u5668\u5185\u670D\u52A1"),"\u5B66\u5458\u8FDB\u884C\u5B9E\u9A8C\u65F6\uFF0C\u53EF\u4EE5\u5728\u5B9E\u9A8C\u9875\u9762\u76F4\u63A5\u9884\u89C8\u5BB9\u5668\u5185\u90E8Web\u670D\u52A1\u3002"))},be.createElement("div",{className:pn.interface},$e&&be.createElement("div",{onClick:()=>tl("shixun_environment","is_support_code_editor",!(Jt!=null&&Jt.is_support_code_editor)),className:Jt!=null&&Jt.is_support_code_editor?pn.active:""},be.createElement("span",{className:"iconfont icon-xuanzhong9"}),be.createElement("div",null,be.createElement("i",{className:"iconfont icon-daimabianjiqi1"}),be.createElement("span",null,"\u4EE3\u7801\u7F16\u8F91\u5668")),be.createElement("aside",null," \u63D0\u4F9B\u4EE3\u7801\u7F16\u8F91\u5668\uFF0C\u7F16\u8BD1\u5668\uFF0C\u8C03\u8BD5\u5668\u7B49\u5DE5\u5177")),Jt!=null&&Jt[$e?"disabled_support_vnc":"disabled2_support_vnc"]?be.createElement(ha.Z,{title:"\u9009\u62E9\u7684\u5B9E\u9A8C\u955C\u50CF\u4E0D\u652F\u6301\u56FE\u5F62\u5316\u684C\u9762"},be.createElement("div",{className:pn.disabled},be.createElement("span",{className:"iconfont icon-xuanzhong9"}),be.createElement("div",null,be.createElement("i",{className:"iconfont icon-tuxinghuazhuomian"}),be.createElement("span",null,"\u56FE\u5F62\u5316\u684C\u9762")),be.createElement("aside",null,"\u4F7F\u7528\u56FE\u5F62\u5316\u65B9\u5F0F\u663E\u793A\u64CD\u4F5C\u754C\u9762"))):be.createElement("div",{onClick:()=>tl("shixun_environment",$e?"is_support_vnc":"private_is_support_vnc",!(Jt!=null&&Jt[$e?"is_support_vnc":"private_is_support_vnc"])),className:Jt!=null&&Jt[$e?"is_support_vnc":"private_is_support_vnc"]?pn.active:""},be.createElement("span",{className:"iconfont icon-xuanzhong9"}),be.createElement("div",null,be.createElement("i",{className:"iconfont icon-tuxinghuazhuomian"}),be.createElement("span",null,"\u56FE\u5F62\u5316\u684C\u9762")),be.createElement("aside",null,"\u4F7F\u7528\u56FE\u5F62\u5316\u65B9\u5F0F\u663E\u793A\u64CD\u4F5C\u754C\u9762")),Jt!=null&&Jt[$e?"disabled_support_webssh":"disabled2_support_webssh"]?be.createElement(ha.Z,{title:"\u9009\u62E9\u7684\u5B9E\u9A8C\u955C\u50CF\u4E0D\u652F\u6301\u547D\u4EE4\u884C\u7EC8\u7AEF"},be.createElement("div",{className:pn.disabled},be.createElement("span",{className:"iconfont icon-xuanzhong9"}),be.createElement("div",null,be.createElement("i",{className:"iconfont icon-minglinghang"}),be.createElement("span",null,"\u547D\u4EE4\u884C\u7EC8\u7AEF")),be.createElement("aside",null,"\u63D0\u4F9B\u547D\u4EE4\u884C\u7A97\u53E3"))):be.createElement("div",{onClick:()=>tl("shixun_environment",$e?"is_support_webssh":"private_is_support_webssh",!(Jt!=null&&Jt[$e?"is_support_webssh":"private_is_support_webssh"])),className:Jt!=null&&Jt[$e?"is_support_webssh":"private_is_support_webssh"]?pn.active:""},be.createElement("span",{className:"iconfont icon-xuanzhong9"}),be.createElement("div",null,be.createElement("i",{className:"iconfont icon-minglinghang"}),be.createElement("span",null,"\u547D\u4EE4\u884C\u7EC8\u7AEF")),be.createElement("aside",null," \u63D0\u4F9B\u547D\u4EE4\u884C\u7A97\u53E3")),$e&&be.createElement("div",{onClick:()=>tl("shixun_environment","is_support_thiry_party",!(Jt!=null&&Jt.is_support_thiry_party)),className:Jt!=null&&Jt.is_support_thiry_party?pn.active:""},be.createElement("span",{className:"iconfont icon-xuanzhong9"}),be.createElement("div",null,be.createElement("i",{className:"iconfont icon-rongqi1"}),be.createElement("span",null,"\u5BB9\u5668\u5185\u670D\u52A1")),be.createElement("aside",null," \u76F4\u63A5\u9884\u89C8\u5BB9\u5668\u5185\u90E8Web\u670D\u52A1")),!$e&&be.createElement(be.Fragment,null,Jt!=null&&Jt.disabled2_support_jupyter_lab?be.createElement(ha.Z,{title:"\u9009\u62E9\u7684\u5B9E\u9A8C\u955C\u50CF\u4E0D\u652F\u6301jupyterLab"},be.createElement("div",{className:pn.disabled},be.createElement("span",{className:"iconfont icon-xuanzhong9"}),be.createElement("div",null,be.createElement("i",{className:"iconfont icon-jupyterLab"}),be.createElement("span",null,"jupyter Lab")),be.createElement("aside",null,"\u63D0\u4F9B\u4EA4\u4E92\u5F0F\u7B14\u8BB0\u64CD\u4F5C\u754C\u9762"))):be.createElement("div",{onClick:()=>tl("shixun_environment","private_is_support_jupyter_lab",!(Jt!=null&&Jt.private_is_support_jupyter_lab)),className:Jt!=null&&Jt.private_is_support_jupyter_lab?pn.active:""},be.createElement("span",{className:"iconfont icon-xuanzhong9"}),be.createElement("div",null,be.createElement("i",{className:"iconfont icon-jupyterLab"}),be.createElement("span",null,"jupyter Lab")),be.createElement("aside",null," \u63D0\u4F9B\u4EA4\u4E92\u5F0F\u7B14\u8BB0\u64CD\u4F5C\u754C\u9762"))))),Ed=($e,Xn,Nr)=>{const zo=Array.from($e),[Ro]=zo.splice(Xn,1);return zo.splice(Nr,0,Ro),zo},td=($e,Xn)=>ko(void 0,null,function*(){if(!$e.destination)return;const Nr=Ed(Xn,$e.source.index,$e.destination.index);Sr(Nr),(0,Ke.ZP)(`/api/shixuns/${ga}/update_environment_position.json`,{method:"put",body:{tabs:Nr}})}),nd=($e,Xn)=>{let Nr=Xn;he.default.confirm({icon:null,centered:!0,className:Er.Z.CustomTipsModalCss,okButtonProps:{type:"primary"},width:460,okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",title:"\u91CD\u547D\u540D",content:be.createElement("div",null,be.createElement("div",{className:"mb5 c-grey-333"},"\u5B9E\u9A8C\u73AF\u5883\u540D\u79F0"),be.createElement("div",null,be.createElement(ie.default,{defaultValue:Nr,onChange:zo=>Nr=zo.target.value,maxLength:8,style:{width:300},placeholder:"\u8BF7\u8F93\u5165\u5B9E\u9A8C\u73AF\u5883\u540D\u79F0"}),be.createElement("span",{className:"c-grey-999 font14 ml10"},"\u6700\u591A8\u4E2A\u5B57"))),onOk:()=>ko(void 0,null,function*(){if(!Nr)return Xe.ZP.warning("\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A"),Promise.reject();const zo=Ir.map(Ho=>Ho.id===$e?ui(So({},Ho),{name:Nr}):Ho);if(Ta===0){Sr(zo);return}(yield(0,Ke.ZP)(`/api/shixuns/${ga}/update_environment_name.json`,{method:"put",body:{shixun_environment_id:$e,name:Nr}})).status===0&&Sr(zo)})})},Vd=($e,Xn)=>{Xi()||he.default.confirm({icon:null,centered:!0,className:Er.Z.CustomTipsModalCss,width:425,okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",title:"\u5220\u9664",content:"\u4F60\u786E\u5B9A\u8981\u5220\u9664\u8BE5\u5B9E\u9A8C\u73AF\u5883\uFF1F",okButtonProps:{type:"primary"},onOk:()=>ko(void 0,null,function*(){var Nr;if((Ta===0?{status:0}:yield(0,Ke.ZP)(`/api/shixuns/${ga}/delete_environment.json`,{method:"delete",body:{shixun_environment_id:$e}})).status===0){const Ro=Ir.filter(Ho=>Ho.id!==$e);if($e===Ta){const Ho=((Nr=Ro==null?void 0:Ro[0])==null?void 0:Nr.id)||null;ur(Ho),ku(Ho),Sr(Ro)}else Sr(Ro)}})})},Zd=$e=>{var Xn;if($e===Ta)return;const Nr=()=>{ur($e),ku($e),ks()};(Xn=ve==null?void 0:ve.sideBar)!=null&&Xn.confirmLeave?he.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:()=>{Nr()}}):Nr()},zd=$e=>{const Xn=ui(So({},Ma),{shixun_environment:ui(So({},Jt),{is_support_code_editor:$e.no_used_code_editor,is_support_vnc:!1,is_support_webssh:!1,is_support_thiry_party:!1,disabled_support_vnc:$e.disabled_support_vnc,disabled_support_webssh:$e.disabled_support_webssh,open_start_command:$e.open_start_command,start_command:$e.start_command,open_envs:$e.open_envs,envs:$e.envs,privileged:$e.privileged,add_cap:$e.add_cap,drop_cap:$e.drop_cap}),mirror_repository:ui(So({},wa),{id:$e.id,name:$e.name,choice_small_type:[],choice_small_mirrors:[],shixun_service_configs:$e.shixun_service_configs||[],description:$e.description}),small_type:$e.small_type,boosters:($e==null?void 0:$e.boosters)||[]});Yn===0?yr(Xn==null?void 0:Xn.mirror_repository):Yn===1?xi(Xn==null?void 0:Xn.mirror_repository):Yn===2&&po(Xn==null?void 0:Xn.mirror_repository),Br(Xn),Cr(!1),Ur("")},Gd=$e=>{Cr(!1)},Sd=($e=!1,Xn=1)=>ko(void 0,null,function*(){var Nr,zo,Ro;Hi(!0);const Ho=(Nr=Ir.find(Ji=>Ji.id===Ta))==null?void 0:Nr.name,Zi=yield(0,Ke.ZP)(`/api/shixuns/${ga}/update_for_multi.json`,{method:"put",body:{tabs:Ir,shixun_environment_id:Ta,sub_type:wa==null?void 0:wa.choice_small_type,main_type:wa.id,shixun_environment:ui(So({},Jt),{name:Ho,mirror_tab_type:Yn,network_mode:ir}),shixun_service_configs:wa==null?void 0:wa.shixun_service_configs,new_service_configs:Va,sync_origin_shixun:$e,command_settings:Jt==null?void 0:Jt.command_settings}});Zi.status===0&&(ku(Zi.shixun_environment_id),ur(Zi.shixun_environment_id),ks(),(zo=pe==null?void 0:pe.detail)!=null&&zo.copy_for_exercise||Xe.ZP.success("\u4FDD\u5B58\u6210\u529F"),(Ro=pe==null?void 0:pe.detail)!=null&&Ro.copy_for_exercise&&(0,Bn.m)(Ee,pe,ga,Xn)),Hi(!1)}),Pd=()=>{var $e;if(Xi())return;if(Ta===0||($e=ve==null?void 0:ve.sideBar)!=null&&$e.confirmLeave){Xe.ZP.warning("\u5F53\u524D\u5B9E\u9A8C\u73AF\u5883\u6B63\u5728\u7F16\u8F91\u4E2D\uFF0C\u4E0D\u80FD\u6DFB\u52A0\u65B0\u7684\u5B9E\u9A8C\u73AF\u5883");return}const Xn=(0,fn.cloneDeep)(Wd);console.log("cloneData---",Xn),Sr([...Ir,{id:0,name:`\u5B9E\u9A8C\u73AF\u5883${Ir.length+1}`}]),Bo(0),yr({}),xi({}),po({}),ur(0),Br(Xn)},tl=($e,Xn,Nr)=>ko(void 0,null,function*(){var zo,Ro,Ho,Zi,Ji,ql,su,Ei,Fl,du,ii,Vu,qo,nl,Zu,ws,Ad,js,ad,Cd,Fd,yd;if(Xi())return;const Wo=(0,fn.cloneDeep)(bo.current);if(Xn==="is_support_code_editor"&&Nr&&(yield pd()),Xn==="pool_id"&&(Wo.shixun_environment.node_name=[]),Xn==="resource_type"&&(Wo.shixun_environment.instance_startup_type=1,Wo.shixun_environment.command_settings=jl.current,jl.current=bo.current.shixun_environment.command_settings,Nr===2&&!Wo.shixun_environment.private_cloud_id&&(Wo.shixun_environment.private_cloud_id=(zo=la==null?void 0:la[0])==null?void 0:zo.id,Wo.shixun_environment.operating_system=1,zs(Wo.shixun_environment.private_cloud_id,Wo.shixun_environment.operating_system))),Xn==="private_cloud_id"&&(Wo.shixun_environment.private_is_support_vnc=!1,Wo.shixun_environment.private_is_support_webssh=!1,Wo.shixun_environment.private_is_support_jupyter_lab=!1,Wo.shixun_environment.operating_system=1,Wo.shixun_environment.instance_startup_template_id=null,Wo.shixun_environment.instance_startup_type=1,zs(Nr,Wo.shixun_environment.operating_system)),Xn==="operating_system"&&Nr&&(Wo.shixun_environment.private_is_support_vnc=!1,Wo.shixun_environment.private_is_support_webssh=!1,Wo.shixun_environment.private_is_support_jupyter_lab=!1,Wo.shixun_environment.instance_startup_template_id=null,Wo.shixun_environment.instance_startup_type=1,zs(Wo.shixun_environment.private_cloud_id,Nr)),Xn==="instance_startup_template_id"){Wo.shixun_environment.private_is_support_vnc=!1,Wo.shixun_environment.private_is_support_webssh=!1,Wo.shixun_environment.private_is_support_jupyter_lab=!1,Wo.shixun_environment.instance_startup_type=1;const Ll=qa.find(z=>z.id===Nr);Wo.shixun_environment.disabled2_support_vnc=Ll.disabled_support_vnc,Wo.shixun_environment.disabled2_support_webssh=Ll.disabled_support_webssh,Wo.shixun_environment.disabled2_support_jupyter_lab=Ll.disabled_support_jupyter_lab,Wo.boosters=Ll.boosters,Wo.network_mode_list=Ll.network_mode_list,Rr((Zi=(Ho=(Ro=Ll.network_mode_list)==null?void 0:Ro.filter(z=>z.is_default))==null?void 0:Ho[0])==null?void 0:Zi.network_mode),Wo.new_service_configs=Ll!=null&&Ll.service_config_info?[Ll.service_config_info]:[]}if((Xn==="private_is_support_vnc"||Xn==="private_is_support_webssh")&&(Wo.shixun_environment.instance_startup_type=1),Xn==="choice_small_type"){Wo.mirror_repository.choice_small_mirrors=tr.filter(te=>Nr.includes(te.id));const Ll=Wo.mirror_repository.choice_small_mirrors,z=wa.choice_small_mirrors;if((Ll==null?void 0:Ll.length)>(z==null?void 0:z.length)){const te=(0,fn.differenceBy)(Ll,z,"id");if((Ji=te==null?void 0:te[0])!=null&&Ji.mirror_name){const ae={cpu_limit:((Ei=(su=(ql=te==null?void 0:te[0])==null?void 0:ql.shixun_service_configs)==null?void 0:su[0])==null?void 0:Ei.cpu_limit)||1,lower_cpu_limit:((ii=(du=(Fl=te==null?void 0:te[0])==null?void 0:Fl.shixun_service_configs)==null?void 0:du[0])==null?void 0:ii.lower_cpu_limit)||.1,memory_limit:((nl=(qo=(Vu=te==null?void 0:te[0])==null?void 0:Vu.shixun_service_configs)==null?void 0:qo[0])==null?void 0:nl.memory_limit)||1,mirror_repository_id:(Zu=te==null?void 0:te[0])==null?void 0:Zu.id,name:(ws=te==null?void 0:te[0])==null?void 0:ws.mirror_name,request_limit:((ad=(js=(Ad=te==null?void 0:te[0])==null?void 0:Ad.shixun_service_configs)==null?void 0:js[0])==null?void 0:ad.request_limit)||10,resource_limit:((yd=(Fd=(Cd=te==null?void 0:te[0])==null?void 0:Cd.shixun_service_configs)==null?void 0:Fd[0])==null?void 0:yd.resource_limit)||10};Wo.mirror_repository.shixun_service_configs.push(ae)}}else{const te=(0,fn.differenceBy)(z,Ll,"id");Wo.mirror_repository.shixun_service_configs=Wo.mirror_repository.shixun_service_configs.filter(ae=>{var ue;return ae.mirror_repository_id!==((ue=te==null?void 0:te[0])==null?void 0:ue.id)})}}Xn?Wo[$e][Xn]=Nr:Wo[$e]=Nr,console.log("cloneData",Wo),Ur(""),Br(Wo)}),Kl=($e,Xn,Nr)=>{var zo,Ro;const Ho=/^\d*(\.\d*)?$/,Zi=["cpu_limit","lower_cpu_limit","memory_limit","request_limit","resource_limit"],Ji=(0,fn.cloneDeep)((Ro=(zo=bo.current)==null?void 0:zo.mirror_repository)==null?void 0:Ro.shixun_service_configs);if(Zi.includes(Xn)){Nr.match(Ho)&&(Ji[$e][Xn]=Nr,tl("mirror_repository","shixun_service_configs",Ji));return}Ji[$e][Xn]=Nr,tl("mirror_repository","shixun_service_configs",Ji)},jd=()=>{he.default.info({centered:!0,icon:null,width:460,title:"\u8054\u7CFB\u5E73\u53F0\u7BA1\u7406\u5458",content:be.createElement("div",{className:"tc"},be.createElement("img",{style:{border:"4px solid #0152d9",borderRadius:"4px"},src:Rn,alt:"\u4E8C\u7EF4\u7801",width:160})),okText:"\u6211\u77E5\u9053\u4E86"})},Kd=()=>{var $e,Xn,Nr,zo,Ro,Ho,Zi,Ji,ql,su;if(!Xi()){if((Jt==null?void 0:Jt.resource_type)===1){if(!(wa!=null&&wa.id)){Ur("mirror");return}if(!(Jt!=null&&Jt.is_support_code_editor)&&!(Jt!=null&&Jt.is_support_vnc)&&!(Jt!=null&&Jt.is_support_webssh)&&!(Jt!=null&&Jt.is_support_thiry_party)){Ur("interface");return}if(Jt.is_support_thiry_party&&!(Jt!=null&&Jt.proxy_port)){Ur("port"),No("\u8BF7\u8F93\u5165\u7AEF\u53E3");return}if(Jt.is_support_thiry_party&&(Jt!=null&&Jt.proxy_port)&&parseInt(Jt==null?void 0:Jt.proxy_port)>65535||(($e=Jt==null?void 0:Jt.proxy_port)==null?void 0:$e.length)>1&&((Xn=Jt==null?void 0:Jt.proxy_port)==null?void 0:Xn[0])==="0"){Ur("port"),No("\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u7AEF\u53E3");return}if(!((Nr=wa==null?void 0:wa.shixun_service_configs)!=null&&Nr.length)){Ur("shixun_service_configs");return}for(let Ei of wa==null?void 0:wa.shixun_service_configs){if(Ei!=null&&Ei.open_start_command&&!(Ei!=null&&Ei.start_command)){Ur("start_command");return}if(Ei!=null&&Ei.open_envs&&!(Ei!=null&&Ei.envs)){Ur("envs");return}}if(Jt!=null&&Jt.webssh_host&&!/^[a-z0-9\-]*$/.test(Jt==null?void 0:Jt.webssh_host)){Xe.ZP.warning("\u4E3B\u673A\u540D\u53EA\u80FD\u8F93\u5165\u6570\u5B57\u3001\u5C0F\u5199\u5B57\u6BCD\u3001\u8FDE\u5B57\u7B26");return}if((Ro=(zo=wa==null?void 0:wa.shixun_service_configs)==null?void 0:zo[0])!=null&&Ro.webssh_host&&!/^(?![0-9]+$)(?!.*--)[a-z0-9](?:[a-z0-9-]{0,60}[a-z0-9])$/.test((Zi=(Ho=wa==null?void 0:wa.shixun_service_configs)==null?void 0:Ho[0])==null?void 0:Zi.webssh_host)){eo(!0);return}}if((Jt==null?void 0:Jt.resource_type)===2){if(!(Jt!=null&&Jt.operating_system)){Ur("system");return}if(!(Jt!=null&&Jt.instance_startup_template_id)){Ur("template");return}if(!(Jt!=null&&Jt.private_is_support_vnc)&&!(Jt!=null&&Jt.private_is_support_webssh)&&!(Jt!=null&&Jt.private_is_support_jupyter_lab)){Ur("interface");return}if((Jt==null?void 0:Jt.operating_system)===1&&(Jt!=null&&Jt.private_is_support_vnc)&&fd&&!(Jt!=null&&Jt.instance_startup_type)){Ur("instance_startup_type");return}}if((Jt!=null&&Jt.is_support_webssh||Jt!=null&&Jt.private_is_support_webssh)&&((Ji=Jt==null?void 0:Jt.command_settings)==null?void 0:Ji.some(Fl=>{var du,ii;return!Fl.command&&!!((du=Fl.challenge_ids)!=null&&du.length)||Fl.command&&!((ii=Fl.challenge_ids)!=null&&ii.length)}))){Ur("command_settings");return}(ql=pe==null?void 0:pe.detail)!=null&&ql.is_fork_from_creator&&((su=pe==null?void 0:pe.detail)!=null&&su.copy_for_exercise)&&Ta!=0&&(Jt!=null&&Jt.has_relation)?Ee({type:"classroomList/setActionTabs",payload:{key:"\u540C\u6B65\u4FEE\u6539",type:"environment",fn:(Ei,Fl)=>{Sd(Ei,Fl)}}}):Sd()}},Ud=$e=>ko(void 0,null,function*(){yield Kl($e.index,"cpu_limit",String($e==null?void 0:$e.cpu)),yield Kl($e.index,"memory_limit",String($e==null?void 0:$e.memory))}),Yd=$e=>{const Xn=(0,fn.cloneDeep)(Va);Xn[$e.index]=ui(So({},Xn[$e.index]),{cpu_limit:String($e==null?void 0:$e.cpu),memory_limit:String($e==null?void 0:$e.memory)}),tl("new_service_configs","",Xn)};return be.createElement("div",{className:pn.wrap},be.createElement("div",{className:pn.content},be.createElement("div",{className:pn.head},be.createElement("div",{className:pn.title},"\u5B9E\u9A8C\u73AF\u5883"),Ir.lengthWi(!0),className:pn.setting},"\u8BBE\u7F6E")),!!Ir.length&&be.createElement(b.Fragment,null,be.createElement(mt.Z5,{onDragEnd:$e=>td($e,Ir)},be.createElement(mt.bK,{droppableId:"droppable",direction:"horizontal"},($e,Xn)=>be.createElement("div",ui(So({},$e.droppableProps),{ref:$e.innerRef,className:pn.tabs}),Ir.map((Nr,zo)=>{const{name:Ro,id:Ho}=Nr;return be.createElement(mt._l,{key:Ho,draggableId:Ho.toString(),index:zo},(Zi,Ji)=>be.createElement("div",ui(So(So({},Zi.draggableProps),Zi.dragHandleProps),{ref:Zi.innerRef,className:Ta===Ho?pn.active:"",key:Ho}),be.createElement("i",{className:"iconfont icon-tuodong"}),be.createElement("span",{className:pn.name,onClick:()=>Zd(Ho)},Ro),be.createElement(Ha.Z,{trigger:["click"],dropdownRender:()=>be.createElement(Xa.default,{style:{width:92}},be.createElement(Xa.default.Item,{onClick:()=>nd(Ho,Ro),className:"font14"},"\u91CD\u547D\u540D"),be.createElement(Xa.default.Item,{onClick:()=>Vd(Ho,Ro),className:"font14"},"\u5220\u9664")),getPopupContainer:ql=>ql.parentNode},be.createElement("i",{className:"iconfont icon-zhankai5 current"}))))}),$e.placeholder))),be.createElement("div",{className:pn.line})),be.createElement(cr.Z,{loading:Ar||Vo,active:!0},!!Ir.length&&be.createElement(b.Fragment,null,be.createElement(na.Z,{required:!0,nameWidth:150,name:"\u5B9E\u9A8C\u8D44\u6E90",tooltipTitle:be.createElement("div",{className:"p10"},be.createElement("b",{className:"font14"},"\u901A\u7528\u4E91"),be.createElement("br",null),"\u5E38\u89C4\u573A\u666F\u9009\u7528\uFF0C\u8C03\u7528\u901A\u7528\u8D44\u6E90\uFF0C\u57FA\u4E8E\u5BB9\u5668\u5F62\u5F0F\u4E3A\u5B9E\u8BAD\u63D0\u4F9B\u865A\u62DF\u5B9E\u9A8C\u73AF\u5883\u3002",be.createElement("br",null),be.createElement("div",{className:"mt10 blod font14"},"\u4E13\u6709\u4E91"),"\u4E13\u7528\u573A\u666F\uFF0C\u53EF\u9009\u7528\u4E0D\u540C\u4E91\u96C6\u7FA4\u7684\u8D44\u6E90\uFF0C\u5305\u62EC\u963F\u91CC\u4E91\u3001\u534E\u4E3A\u4E91\u3001\u7B97\u80FD\u4E91\u7B49\uFF0C\u5982\u7B97\u80FD\u4E91\u9002\u7528\u4E8E\u9700\u8981\u8C03\u7528TPU\u8D44\u6E90\u8BAD\u7EC3\u7684\u5B9E\u8BAD")},be.createElement("div",{className:pn.resource},sd.map($e=>be.createElement("div",{key:$e.id,className:(Jt==null?void 0:Jt.resource_type)===$e.id?pn.active:"",onClick:()=>{(Jt==null?void 0:Jt.resource_type)!==$e.id&&tl("shixun_environment","resource_type",$e.id)}},$e.name)))),(Jt==null?void 0:Jt.resource_type)===1&&be.createElement(b.Fragment,null,be.createElement(na.Z,{required:!0,nameWidth:150,name:"\u5B9E\u9A8C\u955C\u50CF"},be.createElement("div",{className:pn.resource,style:{width:300}},cd.map($e=>be.createElement("div",{key:$e.id,className:Yn===$e.id?pn.active:"",onClick:()=>{Yn!==$e.id&&(Xi()||(Bo($e.id),Ur(""),$e.id===0&&Br(ui(So({},Ma),{mirror_repository:So({},or)})),$e.id===1&&Br(ui(So({},Ma),{mirror_repository:So({},mo)})),$e.id===2&&Br(ui(So({},Ma),{mirror_repository:So({},Ds)}))))}},$e.name)))),be.createElement(na.Z,{nameWidth:150,errorKey:"mirror",errorValue:nr,errorName:"\u8BF7\u9009\u62E9\u5B9E\u9A8C\u955C\u50CF"},be.createElement(ye.Z,{align:"middle"},hi===!1?be.createElement(be.Fragment,null,!!(wa!=null&&wa.id)&&be.createElement(be.Fragment,null,be.createElement("div",{onClick:()=>{Xi()||Cr(!0)},className:pn.mirror},be.createElement("div",null,wa==null?void 0:wa.name),be.createElement("i",{className:"iconfont icon-genghuan"})),be.createElement(Zn.Z,{value:[{description:wa==null?void 0:wa.description,name:wa==null?void 0:wa.name}],title:"\u5B9E\u9A8C\u955C\u50CF\u8BF4\u660E"},be.createElement("span",{className:pn.explain},"\u5B9E\u9A8C\u955C\u50CF\u8BF4\u660E"))),!(wa!=null&&wa.id)&&be.createElement("div",{onClick:()=>{Cr(!0)},className:pn.mirror},be.createElement("i",{className:"iconfont icon-tianjia3 font14 mr10"}),be.createElement("div",null,"\u9009\u62E9\u5B9E\u9A8C\u955C\u50CF"))):"\u6682\u65E0\u6570\u636E")),Gs(!0),(Jt==null?void 0:Jt.is_support_webssh)&&be.createElement(na.Z,{nameWidth:150,align:"start",name:"\u5F00\u542F\u65F6\u89E6\u53D1\u547D\u4EE4",tooltipTitle:be.createElement("div",null,"\u6BCF\u6B21\u6253\u5F00\u65B0\u7684\u7EC8\u7AEF\u7A97\u53E3\u65F6\uFF0C\u81EA\u52A8\u53D1\u9001\u5E76\u6267\u884C\u6307\u5B9A\u7684\u547D\u4EE4\u6216\u6587\u672C\u3002\u7528\u4E8E\u81EA\u52A8\u5316\u7EC8\u7AEF\u4EFB\u52A1\u6216\u521D\u59CB\u5316\u5DE5\u4F5C\u73AF\u5883")},be.createElement(pr,{showError:nr==="command_settings",value:Jt==null?void 0:Jt.command_settings,onChange:$e=>tl("shixun_environment","command_settings",$e),optionsLevelList:xu})),(Jt==null?void 0:Jt.is_support_thiry_party)&&be.createElement(na.Z,{required:!0,nameWidth:150,align:"start",name:"\u7AEF\u53E3\u914D\u7F6E",errorKey:"port",errorValue:nr,errorName:Yo},be.createElement(ye.Z,null,be.createElement("div",{className:"font14",style:{lineHeight:"14px"}},be.createElement("div",null,"\u5BB9\u5668\u7AEF\u53E3"),be.createElement(ie.default,{onClick:Xi,value:Jt==null?void 0:Jt.proxy_port,onChange:$e=>{const Xn=$e.target.value;(Xn===""||/^[0-9]\d*$/.test(Xn))&&tl("shixun_environment","proxy_port",$e.target.value)},bordered:!1,style:{width:400,height:50,background:"#F5F5F5",borderRadius:4,marginTop:6}})),be.createElement("div",{className:"ml20"},be.createElement("div",{className:"font14",style:{lineHeight:"14px"}},"\u8DEF\u7531\uFF08\u9009\u586B\uFF09"),be.createElement(ie.default,{onClick:Xi,value:Jt==null?void 0:Jt.web_route,onChange:$e=>tl("shixun_environment","web_route",$e.target.value),bordered:!1,style:{width:450,height:50,background:"#F5F5F5",borderRadius:4,marginTop:6}})))),be.createElement(na.Z,{name:"\u9644\u5E26\u73AF\u5883",nameWidth:150},be.createElement(ye.Z,{align:"middle"},be.createElement(Or.default,{getPopupContainer:$e=>$e.parentNode,onClick:Xi,mode:"multiple",bordered:!1,className:"mr10",optionFilterProp:"children",placeholder:"\u8BF7\u9009\u62E9\u9644\u5E26\u73AF\u5883",style:{minWidth:400,backgroundColor:"#f5f5f5",height:50,borderRadius:4,paddingTop:10},value:wa==null?void 0:wa.choice_small_type,onChange:$e=>tl("mirror_repository","choice_small_type",$e),showArrow:!0,maxTagCount:5},tr.map(($e,Xn)=>be.createElement(Di,{key:$e.id,value:$e.id},$e.type_name))),!!((wn=wa==null?void 0:wa.choice_small_mirrors)!=null&&wn.length)&&be.createElement(Zn.Z,{value:(wa==null?void 0:wa.choice_small_mirrors)||[],title:"\u9644\u5E26\u73AF\u5883\u8BF4\u660E"},be.createElement("span",{className:pn.explain},"\u9644\u5E26\u73AF\u5883\u8BF4\u660E")))),(0,ba.Ny)()&&be.createElement(b.Fragment,null,be.createElement("div",{onClick:()=>Ba(!wo),className:pn.grade},"\u9AD8\u7EA7\u8BBE\u7F6E",be.createElement("i",{className:`iconfont ${wo?"icon-shouqi4":"icon-a-xialazhankai"}`})),wo&&be.createElement(b.Fragment,null,be.createElement(na.Z,{name:"\u8D44\u6E90\u6C60\u8BBE\u7F6E",nameWidth:150},be.createElement(Or.default,{getPopupContainer:$e=>$e.parentNode,onClick:Xi,bordered:!1,placeholder:"\u8BF7\u9009\u62E9\u8D44\u6E90\u6C60\u8BBE\u7F6E",style:{minWidth:400,backgroundColor:"#f5f5f5",height:50,borderRadius:4,paddingTop:10},value:Jt==null?void 0:Jt.pool_id,onChange:$e=>tl("shixun_environment","pool_id",$e),showArrow:!0},Ws.map(($e,Xn)=>be.createElement(Di,{key:$e.poolId,value:$e.poolId},$e.poolName)))),be.createElement(na.Z,{name:"\u9009\u62E9\u8282\u70B9",nameWidth:150},be.createElement(Or.default,{getPopupContainer:$e=>$e.parentNode,onClick:Xi,mode:"multiple",bordered:!1,placeholder:"\u8BF7\u9009\u62E9\u8282\u70B9",style:{minWidth:400,backgroundColor:"#f5f5f5",height:50,borderRadius:4,paddingTop:10},value:Jt==null?void 0:Jt.node_name,onChange:$e=>tl("shixun_environment","node_name",$e),showArrow:!0,maxTagCount:5},(st=(un=Ws==null?void 0:Ws.find($e=>$e.poolId===(Jt==null?void 0:Jt.pool_id)))==null?void 0:un.nodeList)==null?void 0:st.map(($e,Xn)=>be.createElement(Di,{key:$e.nodeName,value:$e.nodeName},$e.nodeIp)))),be.createElement(na.Z,{required:!0,nameWidth:150,name:"\u955C\u50CF\u914D\u7F6E",align:"start",errorKey:"shixun_service_configs",errorValue:nr,errorName:"\u8BF7\u6DFB\u52A0\u955C\u50CF\u914D\u7F6E",contentStyle:{overflow:(dn=wa==null?void 0:wa.shixun_service_configs)!=null&&dn.length?"hidden":"initial"}},be.createElement("div",{className:pn.tabsBox},!((Ea=wa==null?void 0:wa.shixun_service_configs)!=null&&Ea.length)&&be.createElement(an.Z,{image:oo,imageStyle:{height:180,marginTop:67},description:""}),!!((Qa=wa==null?void 0:wa.shixun_service_configs)!=null&&Qa.length)&&be.createElement(Jn.default,{destroyInactiveTabPane:!0,moreIcon:be.createElement("span",{className:pn.more},"\u66F4\u591A ",be.createElement("i",{className:"iconfont icon-xiala1"}))},(ia=wa==null?void 0:wa.shixun_service_configs)==null?void 0:ia.map(($e,Xn)=>{var Nr,zo;const{cpu_limit:Ro,lower_cpu_limit:Ho,memory_limit:Zi,request_limit:Ji,resource_limit:ql,name:su,shixun_update_logs:Ei,single_card_gpu_resource:Fl,single_machine_gpu_count:du,mirror_repository:ii}=$e;let Vu=(ii==null?void 0:ii.gpu_allocation_method)=="single_card_multi_allocation"?(ii==null?void 0:ii.single_card_gpu_resource)*1024/Fl:(ii==null?void 0:ii.single_machine_gpu_count)/du;return be.createElement(Jn.default.TabPane,{className:"p20",tab:be.createElement("div",{title:su,className:pn.tabTitle},su),key:Xn},(Ei==null?void 0:Ei.user_name)&&be.createElement("div",{style:{margin:"-15px 0 15px 0"}},"\u6700\u8FD1\u4FEE\u6539\u4EBA\uFF1A ",Ei==null?void 0:Ei.user_name,"\uFF08",Ei==null?void 0:Ei.user_login,"\uFF09 \u4FEE\u6539\u65F6\u95F4\uFF1A",Ei!=null&&Ei.created_at?rr()(Ei==null?void 0:Ei.created_at).format("YYYY-MM-DD HH:mm:ss"):"--"),be.createElement(na.Z,{nameWidth:150,name:"\u8D44\u6E90\u914D\u7F6E",align:"center"},be.createElement(ye.Z,{align:"middle"},be.createElement(ye.Z,{align:"middle",className:"mr20",wrap:!1},be.createElement("div",{className:pn.serverConfig,onClick:()=>{Xi()||(Yl({index:Xn,cpu:Ro,memory:Zi}),oi(!0))}},be.createElement("div",null,be.createElement("span",null,Ro,"\u6838")," ",be.createElement("span",null,Zi,"GB")),be.createElement("i",{className:"iconfont icon-bianji21"}))),Xn==0&&be.createElement(ye.Z,{align:"middle",wrap:!1},be.createElement("div",{className:pn.viewRecommendConfig,onClick:()=>pl(!0)},"\u67E5\u770B\u63A8\u8350\u914D\u7F6E")))),($e==null?void 0:$e.mirror_repository)&&be.createElement(na.Z,{nameWidth:150,name:"GPU\u8D44\u6E90\u914D\u7F6E",align:"baseLine"},((ii==null?void 0:ii.gpu_allocation_method)=="single_machine_multi_card"||(ii==null?void 0:ii.gpu_allocation_method)=="multi_machine_multi_card")&&be.createElement(be.Fragment,null,be.createElement("div",{className:pn.serverConfig,style:{width:720,cursor:"default"}},be.createElement("div",null,"\u5F53\u524D\u5206\u914D\u65B9\u5F0F\uFF1A",(ii==null?void 0:ii.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 ",ii==null?void 0:ii.single_machine_gpu_count," \u5F20\uFF0C\u6BCF\u5F20\u663E\u5B58\u5927\u5C0F\u4E3A",(Nr=ii==null?void 0:ii.gpu_model)==null?void 0:Nr[0],"GB")),be.createElement("div",{className:pn.serverConfig,style:{width:720,marginTop:30,cursor:"default"}},be.createElement("div",null,"\u5355\u4E2A\u7528\u6237\u53EF\u4F7F\u7528\u7684\u663E\u5361\u6570\u91CF\u9650\u5236",be.createElement(qr.Z,{min:1,max:ii==null?void 0:ii.single_machine_gpu_count,defaultValue:1,value:du,size:"large",className:"ml10 mr10",onChange:qo=>{Kl(Xn,"single_machine_gpu_count",qo||1)}}),"\u5F20\uFF0C\u6700\u5927\u53EF\u5E76\u53D1\u7684\u7528\u6237\u6570 ",be.createElement("span",{style:{color:"#FA6400"}},Vu)," \u4EBA"))),(ii==null?void 0:ii.gpu_allocation_method)=="single_card_multi_allocation"&&be.createElement(be.Fragment,null,be.createElement("div",{className:pn.serverConfig,style:{cursor:"default"}},be.createElement("div",null,"\u5F53\u524D\u5206\u914D\u65B9\u5F0F\uFF1A\u5355\u5361\u591A\u5206\uFF0C\u53EF\u5206\u914DGPU\u8D44\u6E90\u4E3A",ii==null?void 0:ii.single_card_gpu_resource,"GB")),be.createElement("div",{className:pn.serverConfig,style:{width:"max-content",marginTop:30,cursor:"default"}},be.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",be.createElement(qr.Z,{min:1,max:(ii==null?void 0:ii.single_card_gpu_resource)*1024,defaultValue:1024,value:Fl,size:"large",className:"ml10 mr10",onChange:qo=>{Kl(Xn,"single_card_gpu_resource",qo||1)}}),"MB\uFF0C\u6700\u5927\u53EF\u5E76\u53D1\u7684\u7528\u6237\u6570 ",be.createElement("span",{style:{color:"#FA6400"}},Math.floor(Vu))," \u4EBA")))),be.createElement(na.Z,{nameWidth:150,name:"\u6587\u4EF6\u5927\u5C0F\u9650\u5236",align:"center"},be.createElement(ye.Z,{align:"middle"},be.createElement(ye.Z,{align:"middle",wrap:!1},be.createElement(ie.default,{onClick:Xi,style:{width:400},value:ql,maxLength:5,onChange:qo=>{const{value:nl}=qo.target,Zu=/^\d*(\.\d*)?$/;nl.match(Zu)&&Kl(Xn,"resource_limit",qo.target.value)},addonAfter:"M"}),be.createElement("span",{style:{marginLeft:10,color:"#999"}},"File size limit\u53C2\u6570\uFF0C\u8868\u793A\u5355\u4E2A\u6587\u4EF6\u4E0A\u4F20\u7684\u5927\u5C0F\u9650\u5236")))),be.createElement(na.Z,{nameWidth:150,name:"\u542F\u52A8\u8BBE\u7F6E",align:"start",required:$e==null?void 0:$e.open_start_command,errorKey:"start_command",errorValue:nr,errorName:"\u8BF7\u8F93\u5165\u542F\u52A8\u547D\u4EE4"},be.createElement("div",{className:"font14 mb5"},"\u7528\u6237\u540D",be.createElement("span",{className:"c-grey-999"},"\uFF08\u767B\u5F55\u5BB9\u5668\u65F6\u53EF\u4F7F\u7528\u7684\u7528\u6237\u540D\uFF09")),be.createElement(Or.default,{getPopupContainer:qo=>qo.parentNode,onClick:Xi,bordered:!1,fieldNames:{label:"name",value:"id"},options:(zo=Ma==null?void 0:Ma.mirror_repository)==null?void 0:zo.webssh_user_arr,value:($e==null?void 0:$e.webssh_user)||"root",onChange:qo=>Kl(Xn,"webssh_user",qo),style:{minWidth:400,backgroundColor:"#f5f5f5",height:50,borderRadius:4,paddingTop:10,marginBottom:20}}),be.createElement("div",{className:"font14 mb5"},"\u4E3B\u673A\u540D",be.createElement("span",{className:"c-grey-999"},"\uFF08\u767B\u5F55\u5BB9\u5668\u65F6\u53EF\u6307\u5B9A\u4E3B\u673A\u540D\uFF09")),be.createElement(ye.Z,{className:"mb20"},be.createElement(ie.default,{bordered:!1,onClick:Xi,value:$e==null?void 0:$e.webssh_host,maxLength:255,placeholder:"\u9009\u586B\uFF0C\u64CD\u4F5C\u7CFB\u7EDF\u5185\u90E8\u7684\u8BA1\u7B97\u673A\u540D",onChange:qo=>{Kl(Xn,"webssh_host",qo.target.value),qo.target.value?/^(?![0-9]+$)(?!.*--)[a-z0-9](?:[a-z0-9-]{0,60}[a-z0-9])$/.test(qo.target.value)?eo(!1):eo(!0):eo(!1)},style:{width:400,height:50,background:"#F5F5F5",borderRadius:4,marginTop:5,marginRight:10}}),be.createElement("div",{style:{marginTop:8,maxWidth:575},className:"c-grey-999"},"\u957F\u5EA6\u4E3A2~64\u4E2A\u5B57\u7B26\uFF0C\u53EA\u80FD\u5305\u542B\u5C0F\u5199\u5B57\u6BCD\u3001\u6570\u5B57\u3001\u8FDE\u5B57\u7B26 \u201C-\u201D\uFF0C\u5FC5\u987B\u4EE5\u5B57\u6BCD\u6216\u6570\u5B57\u5F00\u5934\u548C\u7ED3\u5C3E",be.createElement("br",null),"\u4E0D\u80FD\u8FDE\u7EED\u4F7F\u7528 \u201C-\u201D\uFF0C\u4E0D\u80FD\u4F7F\u7528\u7EAF\u6570\u5B57")),xa&&be.createElement("div",{style:{color:"#E53333",marginTop:"-15px",marginBottom:"5px"}},"\u8BF7\u8F93\u5165\u89C4\u8303\u7684\u4E3B\u673A\u540D"),be.createElement(St.default,{checked:$e==null?void 0:$e.open_start_command,onChange:qo=>Kl(Xn,"open_start_command",qo.target.checked),style:{marginTop:-4},className:"font14"},"\u542F\u52A8\u547D\u4EE4",be.createElement("span",{className:"c-grey-999"},"\uFF08\u542F\u52A8\u5BB9\u5668\u65F6\u8FD0\u884C\u7684\u547D\u4EE4\u6216\u811A\u672C\uFF0C\u586B\u5199\u5C06\u8986\u76D6\u5BB9\u5668\u9ED8\u8BA4\u7684\u542F\u52A8\u6307\u4EE4\u3002\uFF09")),($e==null?void 0:$e.open_start_command)&&be.createElement(Oe.ZP,{width:"90%",height:250,placeholder:"\u4F8B\u5982\uFF1Aecho helloworld > /data/workspace/01.txt",style:{border:"1px solid #ccc",background:"#dedede",marginTop:"20px"},value:$e==null?void 0:$e.start_command,language:"shell",theme:"vs-light",onChange:qo=>Kl(Xn,"start_command",qo)})),be.createElement(na.Z,{required:$e==null?void 0:$e.open_envs,nameWidth:150,name:"\u73AF\u5883\u53D8\u91CF",align:"start",errorKey:"envs",errorValue:nr,errorName:"\u8BF7\u8F93\u5165\u73AF\u5883\u53D8\u91CF"},be.createElement(St.default,{checked:$e==null?void 0:$e.open_envs,onChange:qo=>Kl(Xn,"open_envs",qo.target.checked),style:{marginTop:-4},className:"font14"},"\u73AF\u5883\u53D8\u91CF",be.createElement("span",{className:"c-grey-999"},"\uFF08\u4E3A\u5BB9\u5668\u6DFB\u52A0\u73AF\u5883\u53D8\u91CF\uFF09")),($e==null?void 0:$e.open_envs)&&be.createElement(Oe.ZP,{width:"90%",height:250,placeholder:"\u4F8B\u5982\uFF1AMY_VARIABLE=my_value",style:{border:"1px solid #ccc",background:"#dedede",marginTop:"20px"},language:"shell",theme:"vs-light",value:$e==null?void 0:$e.envs,onChange:qo=>Kl(Xn,"envs",qo)})),be.createElement(na.Z,{name:"\u8BBF\u95EE\u6A21\u5F0F",nameWidth:150},be.createElement(ye.Z,{align:"middle"},be.createElement(Yr.Z,{checked:$e==null?void 0:$e.privileged,onChange:qo=>Kl(Xn,"privileged",qo)}),be.createElement("span",{className:"ml10 c-grey-333 font14"},"\u7279\u6743\u6A21\u5F0F"),be.createElement("span",{className:"c-grey-999 font14"},"\uFF08\u8D4B\u4E88\u5BB9\u5668\u8BBF\u95EE\u5BBF\u4E3B\u673A\u5185\u6838\u7279\u6027\u548C\u8BBE\u5907\u7684\u80FD\u529B\uFF09"))),be.createElement(na.Z,{name:"\u6743\u9650\u63A7\u5236",nameWidth:150,align:"start"},be.createElement("div",{className:"font14"},"\u6DFB\u52A0\u6743\u9650",be.createElement("span",{className:"c-grey-999"},"\uFF08\u6DFB\u52A0\u591A\u4E2A\u6743\u9650\u7528\u82F1\u6587 , \u5206\u9694\uFF09")),be.createElement(ie.default,{onClick:Xi,value:$e==null?void 0:$e.add_cap,onChange:qo=>Kl(Xn,"add_cap",qo.target.value),bordered:!1,placeholder:"\u4F8B\u5982\uFF1ANET_ADMIN",style:{width:400,height:50,background:"#F5F5F5",borderRadius:4,marginTop:5}}),be.createElement("div",{className:"font14 mt20"},"\u79FB\u9664\u6743\u9650",be.createElement("span",{className:"c-grey-999"},"\uFF08\u79FB\u9664\u591A\u4E2A\u6743\u9650\u7528\u82F1\u6587 , \u5206\u9694\uFF09")),be.createElement(ie.default,{onClick:Xi,value:$e==null?void 0:$e.drop_cap,onChange:qo=>Kl(Xn,"drop_cap",qo.target.value),bordered:!1,placeholder:"\u4F8B\u5982\uFF1ASYS_PTRACE",style:{width:400,height:50,background:"#F5F5F5",borderRadius:4,marginTop:5}})))}))))))),(Jt==null?void 0:Jt.resource_type)===2&&be.createElement(b.Fragment,null,be.createElement(na.Z,{nameWidth:150},be.createElement(Or.default,{getPopupContainer:$e=>$e.parentNode,bordered:!1,onClick:Xi,className:"mr10",style:{width:460,backgroundColor:"#f5f5f5",height:50,borderRadius:4,paddingTop:10},showArrow:!0,value:Jt==null?void 0:Jt.private_cloud_id,onChange:$e=>tl("shixun_environment","private_cloud_id",$e)},la.map(($e,Xn)=>be.createElement(Di,{key:$e.id,value:$e.id},$e.name)))),be.createElement(na.Z,{name:"\u64CD\u4F5C\u7CFB\u7EDF",nameWidth:150,required:!0,nameWidth:150,errorKey:"system",errorValue:nr,errorName:"\u8BF7\u9009\u62E9\u64CD\u4F5C\u7CFB\u7EDF"},be.createElement("div",{className:pn.system},Id.map($e=>be.createElement("div",{onClick:()=>{Jt.operating_system!==$e.id&&tl("shixun_environment","operating_system",$e.id)},key:$e.id,className:(Jt==null?void 0:Jt.operating_system)===$e.id?pn.active:""},be.createElement("i",{className:$e.icon}),be.createElement("span",null,$e.name))))),be.createElement(na.Z,{required:!0,nameWidth:150,name:"\u5B9E\u4F8B\u542F\u52A8\u6A21\u7248",errorKey:"template",errorValue:nr,errorName:"\u8BF7\u9009\u62E9\u5B9E\u4F8B\u542F\u52A8\u6A21\u7248"},be.createElement(ye.Z,{align:"middle"},be.createElement(Or.default,{getPopupContainer:$e=>$e.parentNode,bordered:!1,className:"mr10",placeholder:"\u8BF7\u9009\u62E9\u5B9E\u4F8B\u542F\u52A8\u6A21\u7248",style:{width:460,backgroundColor:"#f5f5f5",height:50,borderRadius:4,paddingTop:10},onClick:Xi,ref:$a,showArrow:!0,dropdownRender:$e=>be.createElement("div",{className:pn.template},be.createElement("div",{className:pn.liWrap},qa.map(Xn=>be.createElement("div",{className:pn.li,key:Xn.id,onClick:()=>{$a.current.blur(),tl("shixun_environment","instance_startup_template_id",Xn.id)}},be.createElement("span",{title:Xn.name,style:{color:(Jt==null?void 0:Jt.instance_startup_template_id)===Xn.id?"#0152d9":"initial"}},Xn.name),!Xn.is_public&&be.createElement("b",{className:pn.tag},"\u79C1\u6709")))),be.createElement("div",{style:{padding:12}},!qa.length&&be.createElement(an.Z,{image:oo,imageStyle:{height:120,marginTop:20},description:"\u6682\u65E0\u6570\u636E"}),be.createElement("div",{style:{marginTop:qa!=null&&qa.length?0:20},className:"c-grey-999 font14"},"\u672A\u627E\u5230\u5408\u9002\u7684\u5B9E\u4F8B\u542F\u52A8\u6A21\u677F\uFF1F",be.createElement("span",{onClick:jd,className:"c-light-primary current"},"\u8054\u7CFB\u5E73\u53F0\u7BA1\u7406\u5458")))),options:qa==null?void 0:qa.map($e=>({label:$e.name,value:$e.id})),value:Jt==null?void 0:Jt.instance_startup_template_id}),!!gd&&be.createElement(Zn.Z,{value:gd,title:"\u6A21\u7248\u63CF\u8FF0"},be.createElement("span",{className:pn.explain},"\u6A21\u7248\u63CF\u8FF0")))),Gs(!1),(Jt==null?void 0:Jt.private_is_support_webssh)&&be.createElement(na.Z,{align:"start",nameWidth:150,name:"\u5F00\u542F\u65F6\u89E6\u53D1\u547D\u4EE4",tooltipTitle:be.createElement("div",null,"\u6BCF\u6B21\u6253\u5F00\u65B0\u7684\u7EC8\u7AEF\u7A97\u53E3\u65F6\uFF0C\u81EA\u52A8\u53D1\u9001\u5E76\u6267\u884C\u6307\u5B9A\u7684\u547D\u4EE4\u6216\u6587\u672C\u3002\u7528\u4E8E\u81EA\u52A8\u5316\u7EC8\u7AEF\u4EFB\u52A1\u6216\u521D\u59CB\u5316\u5DE5\u4F5C\u73AF\u5883")},be.createElement(pr,{showError:nr==="command_settings",value:Jt==null?void 0:Jt.command_settings,onChange:$e=>tl("shixun_environment","command_settings",$e),optionsLevelList:xu})),(Jt==null?void 0:Jt.operating_system)===1&&(Jt==null?void 0:Jt.private_is_support_vnc)&&(fd||Nd&&md===1)&&be.createElement(na.Z,{required:!0,nameWidth:150,name:"\u5B9E\u4F8B\u542F\u52A8\u65B9\u5F0F",errorKey:"instance_startup_type",errorValue:nr,errorName:"\u8BF7\u9009\u62E9\u5B9E\u4F8B\u542F\u52A8\u6A21\u7248"},be.createElement("div",{className:pn.resource},dd.map($e=>be.createElement("div",{key:$e.id,className:(Jt==null?void 0:Jt.instance_startup_type)===$e.id?pn.active:"",onClick:()=>tl("shixun_environment","instance_startup_type",$e.id)},$e.name)))),(0,ba.Ny)()&&md===1&&be.createElement(b.Fragment,null,be.createElement("div",{onClick:()=>xo(!kr),className:pn.grade},"\u9AD8\u7EA7\u8BBE\u7F6E",be.createElement("i",{className:`iconfont ${kr?"icon-shouqi4":"icon-a-xialazhankai"}`})),kr&&be.createElement(b.Fragment,null,be.createElement(na.Z,{required:!0,nameWidth:150,name:"\u8D44\u6E90\u914D\u7F6E",align:"start",errorKey:"shixun_service_configs",errorValue:nr,errorName:"\u8BF7\u6DFB\u52A0\u8D44\u6E90\u914D\u7F6E",contentStyle:{overflow:Va!=null&&Va.length?"hidden":"initial"}},be.createElement("div",{className:pn.tabsBox},!(Va!=null&&Va.length)&&be.createElement(an.Z,{image:oo,imageStyle:{height:180,marginTop:67},description:""}),!!(Va!=null&&Va.length)&&be.createElement(Jn.default,{destroyInactiveTabPane:!0,moreIcon:be.createElement("span",{className:pn.more},"\u66F4\u591A ",be.createElement("i",{className:"iconfont icon-xiala1"}))},Va==null?void 0:Va.map(($e,Xn)=>{const{cpu_limit:Nr,lower_cpu_limit:zo,memory_limit:Ro,request_limit:Ho,resource_limit:Zi,name:Ji}=$e;return be.createElement(Jn.default.TabPane,{className:"p20",tab:be.createElement("div",{title:Ji,className:pn.tabTitle},Ji),key:Xn},be.createElement(ye.Z,{align:"middle"},be.createElement(ye.Z,{align:"middle",className:"mr20",wrap:!1},be.createElement("div",{className:pn.serverConfig,onClick:()=>{Yl({index:Xn,cpu:Nr,memory:Ro}),oi(!0)}},be.createElement("div",null,be.createElement("span",null,Nr,"\u6838")," ",be.createElement("span",null,Ro,"GB")),be.createElement("i",{className:"iconfont icon-bianji21"}))),Xn==0&&be.createElement(ye.Z,{align:"middle",wrap:!1},be.createElement("div",{className:pn.viewRecommendConfig,onClick:()=>pl(!0)},"\u67E5\u770B\u63A8\u8350\u914D\u7F6E"))))})))),(0,ba.Ny)()&&(lr==null?void 0:lr.length)>0&&be.createElement(na.Z,{required:!0,nameWidth:150,name:"GPU\u52A0\u901F\u5668",align:"center"},be.createElement(Or.default,{disabled:!0,getPopupContainer:$e=>$e.parentNode,bordered:!1,className:"mr10",value:lr[0],style:{width:460,backgroundColor:"#f5f5f5",height:50,borderRadius:4,paddingTop:10},showArrow:!0},lr.map($e=>be.createElement(Or.default.Option,{key:$e,value:$e},$e)))),(0,ba.Ny)()&&(co==null?void 0:co.length)>0&&be.createElement(na.Z,{required:!0,nameWidth:150,name:"\u7F51\u7EDC\u6A21\u5F0F",align:"center",tooltipTitle:be.createElement("div",{className:"p10"},be.createElement("p",null,"NAT\u6A21\u5F0F\uFF1A\u865A\u62DF\u673A\u901A\u8FC7\u4E3B\u673A\u7684\u7F51\u7EDC\u8FDE\u63A5\u5171\u4EABIP\u5730\u5740\u3002\u865A\u62DF\u673A\u7684IP\u56FA\u5B9A\u4E3A10.0.2.2"),be.createElement("p",null,"passt\u6A21\u5F0F\uFF1A\u5141\u8BB8\u865A\u62DF\u673A\u76F4\u63A5\u8BBF\u95EE\u4E3B\u673A\u4E0A\u7684\u786C\u4EF6\u8BBE\u5907\u3002\u865A\u62DF\u673A\u7684IP\u4E3Apod\u7684IP"))},be.createElement(Or.default,{disabled:!0,getPopupContainer:$e=>$e.parentNode,bordered:!1,className:"mr10",value:(Ia=(Oa=co==null?void 0:co.filter($e=>$e.is_default))==null?void 0:Oa[0])==null?void 0:Ia.network_mode,onChange:$e=>{Rr($e)},style:{width:460,backgroundColor:"#f5f5f5",height:50,borderRadius:4,paddingTop:10},showArrow:!0},co==null?void 0:co.map($e=>be.createElement(Or.default.Option,{key:$e==null?void 0:$e.network_mode,value:$e==null?void 0:$e.network_mode},$e.name)))))))),!Ir.length&&be.createElement(an.Z,{image:oo,imageStyle:{height:180,marginTop:100},description:"\u8BF7\u6DFB\u52A0\u5B9E\u9A8C\u73AF\u5883"}))),be.createElement("div",{className:pn.btns},be.createElement(le.ZP,{onClick:Rd,style:{marginRight:40}},"\u53D6\u6D88"),be.createElement(le.ZP,{loading:pi,type:"primary",disabled:!(Ir!=null&&Ir.length),onClick:()=>{Kd()}},"\u4FDD\u5B58")),be.createElement(lo,{identifier:ga,shixun_environment_id:Ta,useId:wa==null?void 0:wa.id,visible:xr,onCancel:()=>Cr(!1),onOk:$e=>zd($e),tab_type:(Wr=cd[Number(Yn)])==null?void 0:Wr.type}),be.createElement(dr,{verifyModal:Xi,id:ga,environment:Ir,is_published:ea,dispatch:Ee,visible:Bi,onCancel:()=>Wi(!1),onOk:$e=>Gd($e)}),be.createElement(zr.Z,{visible:To,onOk:$e=>{let Xn=Jt==null?void 0:Jt.resource_type;Xn==1&&Ud($e),Xn==2&&Yd($e),oi(!1)},onCancel:()=>oi(!1),info:Ul}),be.createElement(uo.Z,{onOk:()=>{ku(Jt==null?void 0:Jt.id)},identifier:ga,visible:xl,onCancel:()=>pl(!1),info:null,isJupyter:!1}))};var bl=(0,Ie.connect)(({practiceSetting:ve,globalSetting:Ee,shixunsDetail:pe,user:at})=>({practiceSetting:ve,globalSetting:Ee,shixunsDetail:pe,user:at}))(di),Ii=re(87169),gl={footerWrap:"footerWrap___Qaahm"},al=Object.getOwnPropertySymbols,Il=Object.prototype.hasOwnProperty,rl=Object.prototype.propertyIsEnumerable,Pu=(ve,Ee)=>{var pe={};for(var at in ve)Il.call(ve,at)&&Ee.indexOf(at)<0&&(pe[at]=ve[at]);if(ve!=null&&al)for(var at of al(ve))Ee.indexOf(at)<0&&rl.call(ve,at)&&(pe[at]=ve[at]);return pe},$l=(ve,Ee,pe)=>new Promise((at,Qt)=>{var Ln=st=>{try{un(pe.next(st))}catch(dn){Qt(dn)}},wn=st=>{try{un(pe.throw(st))}catch(dn){Qt(dn)}},un=st=>st.done?at(st.value):Promise.resolve(st.value).then(Ln,wn);un((pe=pe.apply(ve,Ee)).next())});const Au=ie.default.TextArea,eu=ve=>{var Ee=ve,{shixunsDetail:pe,globalSetting:at,loading:Qt,dispatch:Ln,onFinish:wn=()=>{}}=Ee,un=Pu(Ee,["shixunsDetail","globalSetting","loading","dispatch","onFinish"]);const[st]=oe.default.useForm(),dn=Qa=>$l(void 0,null,function*(){var ia;const Oa=yield Ln({type:"shixunsDetail/getCustomScript",payload:{id:(ia=pe.actionTabs.params)==null?void 0:ia.id,compile:Qa.execute,excutive:Qa.compile}});Ea(),Oa&&wn(Oa==null?void 0:Oa.shixun_script)}),Ea=()=>{Ln({type:"shixunsDetail/setActionTabs",payload:{}})};return b.createElement(he.default,{centered:!0,title:"\u81EA\u5B9A\u4E49\u6A21\u677F",open:pe.actionTabs.key==="Settings-UseCustomScript",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",footer:null,onCancel:Ea},b.createElement(oe.default,{form:st,scrollToFirstError:!0,layout:"vertical",onFinish:dn},b.createElement(oe.default.Item,{name:"execute",label:"\u6267\u884C\u547D\u4EE4\uFF1A",rules:[{required:!0,message:"\u6267\u884C\u547D\u4EE4\u4E0D\u80FD\u4E3A\u7A7A"}]},b.createElement(Au,{rows:4})),b.createElement(oe.default.Item,{name:"compile",label:"\u7F16\u8BD1\u547D\u4EE4\uFF1A"},b.createElement(Au,{rows:4})),b.createElement("div",{className:gl.footerWrap},b.createElement(oe.default.Item,null,b.createElement(le.ZP,{className:"mr5",size:"middle",onClick:Ea},"\u53D6\u6D88"),b.createElement(le.ZP,{size:"middle",type:"primary",htmlType:"submit",loading:Qt.effects["shixunsDetail/getCustomScript"]},"\u4FDD\u5B58")))))};var $u=(0,Ie.connect)(({shixunsDetail:ve,loading:Ee,globalSetting:pe})=>({shixunsDetail:ve,globalSetting:pe,loading:Ee}))(eu),Si={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"},va=Object.defineProperty,Kr=Object.defineProperties,Jr=Object.getOwnPropertyDescriptors,Po=Object.getOwnPropertySymbols,Li=Object.prototype.hasOwnProperty,Hl=Object.prototype.propertyIsEnumerable,gi=(ve,Ee,pe)=>Ee in ve?va(ve,Ee,{enumerable:!0,configurable:!0,writable:!0,value:pe}):ve[Ee]=pe,gu=(ve,Ee)=>{for(var pe in Ee||(Ee={}))Li.call(Ee,pe)&&gi(ve,pe,Ee[pe]);if(Po)for(var pe of Po(Ee))Hl.call(Ee,pe)&&gi(ve,pe,Ee[pe]);return ve},mu=(ve,Ee)=>Kr(ve,Jr(Ee)),Xo=(ve,Ee,pe)=>new Promise((at,Qt)=>{var Ln=st=>{try{un(pe.next(st))}catch(dn){Qt(dn)}},wn=st=>{try{un(pe.throw(st))}catch(dn){Qt(dn)}},un=st=>st.done?at(st.value):Promise.resolve(st.value).then(Ln,wn);un((pe=pe.apply(ve,Ee)).next())});const Nl=Or.default.Option,Tl=({practiceSetting:ve,dispatch:Ee,shixunsDetail:pe,user:at})=>{var Qt,Ln;const[wn,un]=(0,b.useState)(null),[st,dn]=(0,b.useState)([]),[Ea,Qa]=(0,b.useState)(!0),[ia,Oa]=(0,b.useState)({}),[Ia,Wr]=(0,b.useState)([]),[ga,ea]=(0,b.useState)(),[Ir,Sr]=(0,b.useState)(),[Ta,ur]=(0,b.useState)([]),[la,Qn]=(0,b.useState)({}),qa=(0,b.useRef)(null),ka=(0,b.useRef)(!0),$a=(0,b.useRef)({activeId:null,selectId:null,serviceConfigList:null,evaluateScript:null,evaluationScript:null}),Ma=(0,b.useRef)(null),[Br,bo]=(0,b.useState)(!1),[Ua,Jt]=(0,b.useState)(!1),[wa,tr]=(0,b.useState)({}),{id:Va,is_published:co}=ve,{frequence_image:lr=[],environments:nr=[],choice_small_type:Ur=[],other_image:Yo=[]}=la,{name:No,description:wo,authorization:Ba,small_type:kr=[]}=ia;(0,b.useEffect)(()=>{wn!==null&&(ei(),qa.current.scrollTop=0)},[wn]),(0,b.useEffect)(()=>{Va&&Ar()},[Va]),(0,b.useEffect)(()=>{if(wn!==null)return xo(),()=>{clearTimeout(Ma.current)}},[wn,st,Ia,ga,Ir]);const xo=()=>{clearTimeout(Ma.current),Ma.current=setTimeout(()=>{!(0,fn.isEqual)($a.current.activeId,wn)||!(0,fn.isEqual)($a.current.selectId,st)||!(0,fn.isEqual)($a.current.serviceConfigList,Ia)||!(0,fn.isEqual)($a.current.evaluateScript,ga)||!(0,fn.isEqual)($a.current.evaluationScript,Ir)?Ee({type:"practiceSetting/setSideBarTabs",payload:{confirmLeave:!0}}):Ee({type:"practiceSetting/setSideBarTabs",payload:{confirmLeave:!1}})},500)},Ar=()=>Xo(void 0,null,function*(){var Yn,Bo,hi;Qa(!0);const Zo=yield(0,Ke.ZP)(`/api/shixuns/${Va}/edit_environment_info.json`,{method:"get"});Zo.status===0&&(Qn(gu({},Zo.data)),Qa(!1),(Yn=Zo==null?void 0:Zo.data)!=null&&Yn.id?($a.current.activeId=(Bo=Zo==null?void 0:Zo.data)==null?void 0:Bo.id,un((hi=Zo==null?void 0:Zo.data)==null?void 0:hi.id)):un(null))}),ei=()=>Xo(void 0,null,function*(){var Yn,Bo,hi,Zo;const or=yield(0,Ke.ZP)(`/api/shixuns/${Va}/edit_environment_info.json`,{method:"get",params:{mirror_repository_id:wn}});Oa(or.data),$a.current.selectId=(Yn=or.data)==null?void 0:Yn.choice_small_type,dn((Bo=or.data)==null?void 0:Bo.choice_small_type),$a.current.serviceConfigList=(hi=or.data)==null?void 0:hi.shixun_service_configs,Wr((Zo=or.data)==null?void 0:Zo.shixun_service_configs),$a.current.evaluateScript=or.data.evaluate_script,ea(or.data.evaluate_script),$a.current.evaluationScript=or.data.choice_standard_scripts,Sr(or.data.choice_standard_scripts),ur(or.data.standard_scripts)}),Vo=()=>{var Yn;const Bo=()=>{Ie.history.push(`/shixuns/${Va}/challenges`),Ee({type:"practiceSetting/setSideBarTabs",payload:{confirmLeave:!1}})};(Yn=ve==null?void 0:ve.sideBar)!=null&&Yn.confirmLeave?he.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()}}):Bo()},si=(Yn=!1)=>Xo(void 0,null,function*(){if((0,Wt.gy)(Ee,"\u4E0D\u80FD\u9009\u62E9/\u66F4\u6362\u5B9E\u9A8C\u73AF\u5883"))return;const Bo={sub_type:st,main_type:wn,shixun:{mirror_script_id:Ir},shixun_info:{evaluate_script:ga},shixun_service_configs:Ia.map(Zo=>({mirror_repository_id:Zo.mirror_repository_id,cpu_limit:Zo.cpu_limit,lower_cpu_limit:Zo.lower_cpu_limit,memory_limit:Zo.memory_limit,request_limit:Zo.request_limit,resource_limit:Zo.resource_limit}))};(yield(0,Ke.ZP)(`/api/shixuns/${Va}`,{method:"put",body:Bo})).status===0&&(Xe.ZP.success("\u7F16\u8F91\u6210\u529F"),$a.current={activeId:wn,selectId:st,serviceConfigList:Ia,evaluateScript:ga,evaluationScript:Ir},Ee({type:"practiceSetting/getCommonData",payload:{id:Va}}),Ee({type:"practiceSetting/setSideBarTabs",payload:{confirmLeave:!1}}))}),pi=kr.filter(Yn=>st.includes(Yn.id)),Hi=()=>{Vo()},xa=(Yn,Bo,hi)=>{Wr(Zo=>Zo.map((or,yr)=>yr===hi?mu(gu({},or),{[Bo]:Yn}):or))},eo=()=>{(0,Wt.gy)(Ee,"\u4E0D\u80FD\u9009\u62E9/\u66F4\u6362\u5B9E\u9A8C\u73AF\u5883")||Ee({type:"shixunsDetail/setActionTabs",payload:{key:"Settings-UseCustomScript",params:{id:Va}}})},Bi=Yn=>Xo(void 0,null,function*(){const Bo=yield Ee({type:"shixunsDetail/getScriptContent",payload:{id:Va,script_id:Yn}});Bo&&ea(Bo.content)}),Wi=Yn=>{he.default.confirm({centered:!0,title:"\u63D0\u793A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",content:b.createElement("div",{className:"tc font16"},"\u539F\u6709\u811A\u672C\u5C06\u88AB\u65B0\u7684\u811A\u672C\u8986\u76D6\uFF0C\u65E0\u6CD5\u64A4\u9500",b.createElement("br",null),"\u662F\u5426\u786E\u8BA4\u6267\u884C\u8986\u76D6\u64CD\u4F5C"),onOk:()=>Xo(void 0,null,function*(){yield Bi(Yn),he.default.info({centered:!0,title:"\u63D0\u793A",okText:"\u77E5\u9053\u5566",content:b.createElement("div",{className:"tc font16"},"\u8BC4\u6D4B\u811A\u672C\u751F\u6210\u6210\u529F\uFF01")})})})},xr=(Yn,Bo)=>{const hi=Ia[0]?[Ia[0]]:[];Bo.forEach(Zo=>{const or=Ia.find(yr=>yr.mirror_repository_id===Number(Zo.key));if(or)hi.push(or);else{const yr=kr.find(mo=>mo.id===Number(Zo.key));if(yr.mirror_name){const mo={cpu_limit:1,lower_cpu_limit:.1,memory_limit:1,mirror_repository_id:Number(Zo.key),name:yr.mirror_name,request_limit:10};hi.push(mo)}}}),Wr(hi),dn(Yn)},Cr=Yn=>{xa(String(Yn==null?void 0:Yn.cpu),"cpu_limit",Yn.index),xa(String(Yn==null?void 0:Yn.memory),"memory_limit",Yn.index),bo(!1)};return b.createElement("div",{className:Si.practice},b.createElement(Mo.Z,{loading:Ea,skin:"night",className:Si.left,dispatch:Ee,value:wn,data:nr,otherData:Yo,tags:lr,onChange:Yn=>un(Yn),onSearchWord:()=>{}}),b.createElement("div",{className:Si.right},b.createElement("header",null,b.createElement("div",{className:Si.title},"\u5B9E\u9A8C\u73AF\u5883:\xA0",wn===null?"\u2014 \u2014":No)),b.createElement("div",{className:Si.content,ref:qa},wn===null&&b.createElement(an.Z,{image:oo,description:"\u8BF7\u9009\u62E9\u5B9E\u9A8C\u73AF\u5883"}),wn!==null&&b.createElement("div",{className:Si.des},b.createElement("div",{className:Si.mainBody},b.createElement(De.Z,{value:wo})),b.createElement("div",{className:Si.title},"\u9644\u5E26\u73AF\u5883"),b.createElement("div",{className:Si.selectBox},b.createElement(Or.default,{onChange:(Yn,Bo)=>xr(Yn,Bo),getPopupContainer:Yn=>Yn.parentNode,mode:"multiple",bordered:!1,value:st,optionFilterProp:"children",placeholder:"\u8BF7\u9009\u62E9\u9644\u5E26\u73AF\u5883",style:{width:400},maxTagCount:6},kr.map((Yn,Bo)=>b.createElement(Nl,{key:Yn.id,value:Yn.id},Yn.type_name))),b.createElement("div",{className:Si.smallType},pi.map(Yn=>Yn.description?b.createElement("span",{key:Yn.id},Yn.description):null))),!((Qt=pe==null?void 0:pe.detail)!=null&&Qt.is_jupyter_lab)&&b.createElement(b.Fragment,null,b.createElement("div",{className:Si.title},"\u8BC4\u6D4B\u811A\u672C"),b.createElement("div",{className:Si.evaluating},b.createElement("div",{className:Si.evaluatingLabel},co&&b.createElement("div",{onClick:()=>{(0,Wt.gy)(Ee,"\u4E0D\u80FD\u9009\u62E9/\u66F4\u6362\u5B9E\u9A8C\u73AF\u5883")},className:Si.mask}),b.createElement(Or.default,{style:{width:400},bordered:!1,getPopupContainer:Yn=>Yn.parentNode,value:Ir,placeholder:"\u8BF7\u9009\u62E9\u8BC4\u6D4B\u811A\u672C",onChange:Yn=>{Wi(Yn),Sr(Yn)}},(Ta||[]).map((Yn,Bo)=>b.createElement(Nl,{value:parseInt(Yn.id),name:Yn.scptname,key:Bo},Yn.scptname))),b.createElement("span",{className:Si.evaluatingS1,onClick:eo},"\u4F7F\u7528\u81EA\u5B9A\u4E49\u811A\u672C"),b.createElement(Rt.Z,{overlayClassName:Si.popover,placement:"bottomLeft",content:b.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",b.createElement("br",null),"\u6570\u548C\u4EE5\u4E0B2\u4E2A\u6570\u7EC4\u5143\u7D20\uFF1A",b.createElement("br",null),"challengeProgramNames",b.createElement("br",null),"sourceClassNames",b.createElement("br",null),b.createElement("br",null),"\u793A\u4F8B\uFF1A\u67092\u4E2A\u5173\u5361\u7684\u5B9E\u8BAD",b.createElement("br",null),b.createElement("br",null),"\u5404\u5173\u5361\u7684\u5F85\u7F16\u8BD1\u6587\u4EF6\u4E3A\uFF1A",b.createElement("br",null),"src/step1/HelloWorld.java",b.createElement("br",null),"src/step2/Other.java",b.createElement("br",null),b.createElement("br",null),"\u5404\u5173\u5361\u7684\u7F16\u8BD1\u540E\u751F\u6210\u7684\u6267\u884C\u6587\u4EF6\u4E3A\uFF1A",b.createElement("br",null),"step1.HelloWorld",b.createElement("br",null),"step2.Other",b.createElement("br",null),b.createElement("br",null),"\u5219\u6570\u7EC4\u5143\u7D20\u66F4\u65B0\u5982\u4E0B\uFF1A",b.createElement("br",null),'ff challengeProgramNames=("src/step1/',b.createElement("br",null),'HelloWorld.java" "src/step2/Other.java")',b.createElement("br",null),'sourceClassNames=("step1.HelloWorld',b.createElement("br",null),'" "step2.Other")',b.createElement("br",null),b.createElement("br",null),"\u5176\u5B83\u53C2\u6570\u53EF\u6309\u5B9E\u9645\u9700\u6C42\u5B9A\u5236"),trigger:"click"},b.createElement("span",{style:{marginTop:"2px"},className:"ml10 current font14"},b.createElement(Ii.Z,null)))),b.createElement(Oe.ZP,{width:"90%",height:450,style:{border:"1px solid #ccc",background:"#f5f5f5",marginTop:"20px"},language:"shell",theme:"vs-light",value:ga,onChange:Yn=>{if(ka.current){ka.current=!1;return}ea(Yn),(0,Wt.gy)(Ee,"\u4E0D\u80FD\u9009\u62E9/\u66F4\u6362\u5B9E\u9A8C\u73AF\u5883")&&setTimeout(()=>{ka.current=!0,ea($a.current.evaluateScript)},200)}}))),((Ln=pe.detail)==null?void 0:Ln.identity)<3&&!!Ia.length&&b.createElement(b.Fragment,null,b.createElement("div",{className:Si.title},"\u8D44\u6E90\u914D\u7F6E"),b.createElement("div",{className:Si.serviceSettingWrap},Ia==null?void 0:Ia.map((Yn,Bo)=>b.createElement("div",{key:Bo,className:"mb30"},b.createElement("div",{className:"mb20"},b.createElement("span",{className:"font16"},Yn.name)),b.createElement("div",{style:{color:"#333",marginBottom:4}},"CPU\u548C\u5185\u5B58"),b.createElement(ye.Z,{align:"middle"},b.createElement(ye.Z,{align:"middle",wrap:!1},b.createElement("div",{className:Si.serverConfig,style:co?{color:"rgba(0, 0, 0, 0.25)",cursor:"not-allowed"}:{},onClick:()=>{co||(tr({index:Bo,cpu:Yn==null?void 0:Yn.cpu_limit,memory:Yn==null?void 0:Yn.memory_limit}),bo(!0))}},b.createElement("div",null,b.createElement("span",null,Yn==null?void 0:Yn.cpu_limit,"\u6838")," ",b.createElement("span",null,Yn==null?void 0:Yn.memory_limit,"GB")),b.createElement("i",{className:"iconfont icon-bianji21",style:co?{color:"rgba(0, 0, 0, 0.25)",cursor:"not-allowed"}:{}}))),b.createElement(ye.Z,{align:"middle",wrap:!1},b.createElement("div",{className:Si.viewRecommendConfig,onClick:()=>Jt(!0)},"\u67E5\u770B\u63A8\u8350\u914D\u7F6E"))),b.createElement("div",{className:Si.serviceBox},b.createElement("div",{className:Si.serviceSetLeft},"\u6587\u4EF6\u5927\u5C0F\u9650\u5236"),b.createElement(ie.default,{value:Yn.resource_limit,style:{width:400,height:50},disabled:co,maxLength:5,onChange:hi=>{const{value:Zo}=hi.target,or=/^\d*(\.\d*)?$/;Zo.match(or)&&xa(hi.target.value,"resource_limit",Bo)},addonAfter:"M"}),b.createElement("label",{className:Si.serviceSetTip},"File size limit\u53C2\u6570\uFF0C\u8868\u793A\u5355\u4E2A\u6587\u4EF6\u4E0A\u4F20\u7684\u5927\u5C0F\u9650\u5236")))))))),b.createElement("div",{className:Si.btns},b.createElement(le.ZP,{size:"middle",style:{marginRight:20},onClick:Hi},"\u53D6\u6D88"),b.createElement(le.ZP,{size:"middle",type:"primary",disabled:wn===null,onClick:()=>si()},"\u4FDD\u5B58"))),b.createElement(ho.Z,null),b.createElement($u,{onFinish:Yn=>ea(Yn)}),b.createElement(yn.Z,null),b.createElement(zr.Z,{visible:Br,onOk:Yn=>Cr(Yn),onCancel:()=>bo(!1),info:wa}),b.createElement(uo.Z,{identifier:Va,visible:Ua,onCancel:()=>Jt(!1),info:null,isJupyter:!0}))};var Rl=(0,Ie.connect)(({practiceSetting:ve,globalSetting:Ee,shixunsDetail:pe,user:at})=>({practiceSetting:ve,globalSetting:Ee,shixunsDetail:pe,user:at}))(Tl);const Yu=({shixunsDetail:ve})=>{var Ee,pe,at,Qt;const[Ln,wn]=(0,b.useState)(!0);return(0,b.useEffect)(()=>{var un;typeof((un=ve==null?void 0:ve.detail)==null?void 0:un.is_jupyter_lab)=="boolean"&&Ln&&wn(!1)},[(Ee=ve==null?void 0:ve.detail)==null?void 0:Ee.is_jupyter_lab,Ln]),console.log((pe=ve==null?void 0:ve.detail)==null?void 0:pe.is_jupyter_lab,Ln),b.createElement(cr.Z,{loading:Ln,active:!0},((at=ve==null?void 0:ve.detail)==null?void 0:at.is_jupyter_lab)===!1&&b.createElement(bl,null),((Qt=ve==null?void 0:ve.detail)==null?void 0:Qt.is_jupyter_lab)===!0&&b.createElement(Rl,null))};var gs=(0,Ie.connect)(({shixunsDetail:ve})=>({shixunsDetail:ve}))(Yu),es=re(1710),ms=re(56102),Fi={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"},Ni={wrap:"wrap___EmsVa",colorBlue:"colorBlue___XqtfP",repeatedName:"repeatedName___yMQsm"},fs=re(25992),Us=Object.defineProperty,Cu=Object.defineProperties,Fu=Object.getOwnPropertyDescriptors,vs=Object.getOwnPropertySymbols,ps=Object.prototype.hasOwnProperty,Ys=Object.prototype.propertyIsEnumerable,Hu=(ve,Ee,pe)=>Ee in ve?Us(ve,Ee,{enumerable:!0,configurable:!0,writable:!0,value:pe}):ve[Ee]=pe,tu=(ve,Ee)=>{for(var pe in Ee||(Ee={}))ps.call(Ee,pe)&&Hu(ve,pe,Ee[pe]);if(vs)for(var pe of vs(Ee))Ys.call(Ee,pe)&&Hu(ve,pe,Ee[pe]);return ve},Mu=(ve,Ee)=>Cu(ve,Fu(Ee)),Os=(ve,Ee,pe)=>new Promise((at,Qt)=>{var Ln=st=>{try{un(pe.next(st))}catch(dn){Qt(dn)}},wn=st=>{try{un(pe.throw(st))}catch(dn){Qt(dn)}},un=st=>st.done?at(st.value):Promise.resolve(st.value).then(Ln,wn);un((pe=pe.apply(ve,Ee)).next())});const{Dragger:Hs}=Re.default;var _s=({dispatch:ve,id:Ee,onClose:pe,onOK:at,visible:Qt,wrapClassName:Ln,local:wn,containerId:un,rootIdentifier:st})=>{var dn;const[Ea,Qa]=(0,b.useState)({}),[ia,Oa]=(0,b.useState)([]),[Ia,Wr]=(0,b.useState)([]),[ga,ea]=(0,b.useState)(0),[Ir,Sr]=(0,b.useState)(!1),[Ta,ur]=(0,b.useState)(!1),[la]=oe.default.useForm(),[Qn,qa]=(0,b.useState)([]),ka=(0,b.useRef)([]);(0,b.useEffect)(()=>{Qt&&(la.resetFields(),qa([]),Wr([]),Oa([]),ea(0),ur(!1),Sr(!1))},[Qt]);const $a=Ba=>{var kr,xo,Ar;if(Ba.file.status==="done"||Ba.file.status==="uploading"){if(qa(Ba.fileList),!Ba.file.response)return;if((kr=Ba.file.response)!=null&&kr.id){Xe.ZP.success("\u4E0A\u4F20\u6210\u529F\uFF01");return}qa(Qn.filter(ei=>ei.uid!==Ba.file.uid)),(xo=Ba.file.response)!=null&&xo.message&&Xe.ZP.info((Ar=Ba.file.response)==null?void 0:Ar.message)}},Ma=Ba=>Os(void 0,null,function*(){var kr;if(!ga){const Ar=Qn.filter(ei=>ei.uid!==Ba.uid);qa(Ar),ka.current=[...Ar],Oa(ia.filter(ei=>ei!==Ba.name)),Xe.ZP.info("\u5220\u9664\u6210\u529F"),Ar.length||(la.setFieldsValue({file:void 0}),la.validateFields());return}if(!Ba.response){Xe.ZP.info("\u8FD8\u672A\u4E0A\u4F20\u5B8C\u6210\uFF0C\u65E0\u6CD5\u8FDB\u884C\u5220\u9664\u64CD\u4F5C\uFF01");return}(yield(0,Ke.ZP)(`/api/shixuns/${Ee}/destroy_data_sets.json`,{method:"Delete",body:{id:[(kr=Ba==null?void 0:Ba.response)==null?void 0:kr.id]}})).status===0&&(qa(Qn.filter(Ar=>Ar.uid!==Ba.uid)),Xe.ZP.info("\u5220\u9664\u6210\u529F"))}),Br=Ba=>{if(Qn!=null&&Qn.some(xo=>xo.name===Ba.name))return Xe.ZP.info(`${Ba.name}\u6587\u4EF6\u5DF2\u5B58\u5728`),!1;const kr={name:Ba.name,uid:Ba.uid,file:Ba,percent:0};return Qn.push(kr),ka.current=[...Qn],qa([...Qn]),!1},bo={height:300,multiple:!0,disabled:ga>0,withCredentials:!0,fileList:Qn,action:`${vn.Z.API_SERVER}/api/attachments.json`,onChange:$a,onRemove:Ma,beforeUpload:Br},Ua=(Ba,kr,xo,Ar,ei)=>{const Vo=new FormData;Object.keys(Ba).forEach(pi=>{Vo.append(pi,Ba[pi])});const si=new window.XMLHttpRequest;return si.withCredentials=!0,si.addEventListener("load",function(pi){var Hi;xo(JSON.parse((Hi=pi==null?void 0:pi.target)==null?void 0:Hi.response))},!1),si.addEventListener("error",function(pi){ei&&ei(pi)},!1),si.upload.onprogress=pi=>{Ar&&Ar(pi)},si.open("POST",kr),si.send(Vo),si},Jt=(Ba,kr)=>{if(Ba.lengthComputable){const xo=Math.floor(Ba.loaded/Ba.total*100),Ar=Mu(tu({},kr),{percent:xo,status:xo===100?"done":"uploading"});console.log(ka.current,333),ka.current=ka.current.map(ei=>ei.uid===kr.uid?Ar:ei),qa(ka.current)}},wa=(Ba,kr)=>{const xo=Mu(tu({},kr),{status:"error"});Xe.ZP.warning("\u4E0A\u4F20\u5931\u8D25\uFF0C\u8BF7\u91CD\u65B0\u5C1D\u8BD5"),ka.current=ka.current.map(Ar=>Ar.uid===kr.uid?xo:Ar),ka.current.every(Ar=>Ar.status==="done"||Ar.status==="error")&&(ur(!1),ea(2)),qa(ka.current)},tr=(Ba,kr)=>{let xo=Mu(tu({},kr),{status:"done"});if(Ba.status===0||(xo=Mu(tu({},kr),{status:"error"}),Xe.ZP.error("\u4E0A\u4F20\u5931\u8D25!")),ka.current=ka.current.map(Ar=>Ar.uid===kr.uid?xo:Ar),ka.current.every(Ar=>Ar.status==="done")){Xe.ZP.success("\u4E0A\u4F20\u5B8C\u6210!"),Ur(!0);return}ka.current.every(Ar=>Ar.status==="done"||Ar.status==="error")&&(ur(!1),ea(2)),qa(ka.current)},Va=()=>{let Ba=!0;return window.navigator.onLine==!0?Ba=!0:Ba=!1,Ba},co=Ba=>Os(void 0,null,function*(){if(ur(!0),ga===3){ea(2);return}if(ga===2||ga===1){lr();return}const{commitMessage:kr="",fileOss:xo=[]}=Ba||{},ei=(wn?Qn:xo).map(si=>si.name);if(ei.filter(si=>si.indexOf("\u3001")!=-1||si.indexOf(" ")!=-1).length>0){Xe.ZP.info("\u6570\u636E\u96C6\u540D\u79F0\u7981\u6B62\u6709\u7A7A\u683C\u4E0E\u3001"),ur(!1);return}const Vo=yield(0,Ke.ZP)(`/api/shixuns/${Ee}/check_data_sets`,{method:"post",body:{files_name:ei}});if(Vo.status===-3){Oa(Vo==null?void 0:Vo.exist_files),ur(!1);return}if(JSON.stringify(Vo)==="{}"){ur(!1),Xe.ZP.error("\u7F51\u7EDC\u5DF2\u65AD\u5F00,\u8BF7\u7A0D\u540E\u91CD\u8BD5!");return}Vo.status===0&&(Qn.forEach(si=>{const pi=Ua({file:si.file,description:kr},`${vn.Z.API_SERVER}/api/shixuns/${Ee}/upload_data_sets.json`,Hi=>tr(Hi,si),Hi=>Jt(Hi,si),Hi=>wa(Hi,si));Ia.push(pi)}),ea(1))}),lr=()=>{const{commitMessage:Ba=""}=tu({},la.getFieldsValue())||{},kr=ka.current.filter(Ar=>Ar.status==="error"),xo=ka.current.map(Ar=>Mu(tu({},Ar),{status:Ar.status==="error"?"uploading":Ar.status}));qa(xo),kr.forEach(Ar=>{const ei=Ua({file:Ar.file,description:Ba},`${vn.Z.API_SERVER}/api/shixuns/${Ee}/upload_data_sets.json`,Vo=>tr(Vo,Ar),Vo=>Jt(Vo,Ar),Vo=>wa(Vo,Ar));Ia.push(ei)})},nr=Ba=>{var kr,xo;if(console.log(Ba,"changedValues"),"fileOss"in Ba){if(Ba!=null&&Ba.fileOss.every(Ar=>Ar.status==="done")&&((kr=Ba==null?void 0:Ba.fileOss)!=null&&kr.length)){Xe.ZP.success("\u4E0A\u4F20\u5B8C\u6210!"),Ur(!0);return}if(Ba!=null&&Ba.fileOss.every(Ar=>Ar.status==="done"||Ar.status==="error")&&((xo=Ba==null?void 0:Ba.fileOss)!=null&&xo.length)){ea(3),ur(!1);return}Oa(ia.filter(Ar=>{var ei;return(ei=Ba==null?void 0:Ba.fileOss)==null?void 0:ei.some(Vo=>Vo.name===Ar)}))}Qa(tu({},la.getFieldsValue()))},Ur=Ba=>{Ba||(Sr(!0),Ia.forEach(kr=>{kr.abort()})),at(),pe()},Yo=()=>{const{fileOss:Ba=[]}=tu({},la.getFieldsValue())||{},kr=Qn==null?void 0:Qn.every(Ar=>Ar.status==="done"),xo=Ba==null?void 0:Ba.every(Ar=>Ar.status==="done");if(!kr||!xo){he.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:()=>{Ur()}});return}Ur()},No=()=>b.createElement(b.Fragment,null,b.createElement("div",null,b.createElement("i",{className:`iconfont icon-shangchuan font50 ${Ni.colorBlue}`})),b.createElement("div",{className:"font14 mt30"},"\u62D6\u62FD\u6587\u4EF6\u6216",b.createElement("span",{className:`${Ni.colorBlue} ml5`},"\u70B9\u51FB\u6B64\u5904\u4E0A\u4F20"))),wo=Ba=>{console.log(Ba,444)};return b.createElement(he.default,{open:Qt,onOk:()=>{(0,Te.L9)(["\u5B9E\u8DF5\u9879\u76EE","\u8BBE\u7F6E","\u6570\u636E\u96C6","\u4E0A\u4F20\u6587\u4EF6"]),la.submit()},centered:!0,okText:ga===0?"\u786E\u5B9A":ga===1?"\u4E0A\u4F20\u4E2D":"\u91CD\u65B0\u4E0A\u4F20",okButtonProps:{loading:Ta},onCancel:Yo,width:"1000px",title:"\u4E0A\u4F20\u6587\u4EF6"},b.createElement("div",{className:Ni.wrap},b.createElement(oe.default,{className:"mt10",form:la,scrollToFirstError:!0,layout:"vertical",onFinish:co,onValuesChange:nr},wn?b.createElement(oe.default.Item,{label:b.createElement("div",null,"\u9009\u62E9\u6587\u4EF6 ",b.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"}]},b.createElement(Hs,tu({},bo)," ",No())):b.createElement(oe.default.Item,{label:b.createElement("div",null,"\u9009\u62E9\u6587\u4EF6 ",b.createElement("span",{className:"c-light-black"},"(\u5355\u4E2A\u6587\u4EF6\u4E0D\u8D85\u8FC7100GB)")),name:"fileOss",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u6587\u4EF6"}]},b.createElement(fs.ZP,{identifier:st,cancelUpload:Ir,container_type:"Shixun",container_id:un,uploading:ga<3?ga:0,disabled:ga>0,height:300,maxSize:100*1024*1024*1024,description:Ea.commitMessage||"",text:No(),onComplete:wo,realFileName:!0})),!!ia.length&&b.createElement("span",{className:Ni.repeatedName},ia.join("\u3001"),"\u5DF2\u5B58\u5728,\u8BF7\u5220\u9664\u540E\u518D\u4E0A\u4F20"),b.createElement(oe.default.Item,{name:"commitMessage",label:"\u5907\u6CE8:",rules:[{whitespace:!0,message:"\u8BF7\u52FF\u8F93\u5165\u7A7A\u683C"}]},b.createElement(ie.default,{bordered:!1,disabled:ga>0,maxLength:100,suffix:`${((dn=Ea.commitMessage)==null?void 0:dn.length)||0}/100`,placeholder:"\u8BF7\u586B\u5199\u5907\u6CE8\u4FE1\u606F"})))))},ts=re(854),hs=re(51673),Xs=re(97e3),Es=Object.defineProperty,_u=Object.defineProperties,ns=Object.getOwnPropertyDescriptors,Iu=Object.getOwnPropertySymbols,Ss=Object.prototype.hasOwnProperty,Ps=Object.prototype.propertyIsEnumerable,Js=(ve,Ee,pe)=>Ee in ve?Es(ve,Ee,{enumerable:!0,configurable:!0,writable:!0,value:pe}):ve[Ee]=pe,Wl=(ve,Ee)=>{for(var pe in Ee||(Ee={}))Ss.call(Ee,pe)&&Js(ve,pe,Ee[pe]);if(Iu)for(var pe of Iu(Ee))Ps.call(Ee,pe)&&Js(ve,pe,Ee[pe]);return ve},nu=(ve,Ee)=>_u(ve,ns(Ee)),Xu=(ve,Ee)=>{var pe={};for(var at in ve)Ss.call(ve,at)&&Ee.indexOf(at)<0&&(pe[at]=ve[at]);if(ve!=null&&Iu)for(var at of Iu(ve))Ee.indexOf(at)<0&&Ps.call(ve,at)&&(pe[at]=ve[at]);return pe},yu=(ve,Ee,pe)=>new Promise((at,Qt)=>{var Ln=st=>{try{un(pe.next(st))}catch(dn){Qt(dn)}},wn=st=>{try{un(pe.throw(st))}catch(dn){Qt(dn)}},un=st=>st.done?at(st.value):Promise.resolve(st.value).then(Ln,wn);un((pe=pe.apply(ve,Ee)).next())});const{Fragment:ud}=b,{TabPane:Od}=Jn.default,Qs=ve=>{var Ee=ve,{globalSetting:pe,dispatch:at,practiceSetting:Qt,shixunsDetail:Ln,user:wn}=Ee,un=Xu(Ee,["globalSetting","dispatch","practiceSetting","shixunsDetail","user"]),st,dn,Ea,Qa,ia,Oa;const{id:Ia}=Qt,[Wr,ga]=(0,b.useState)([]),[ea,Ir]=(0,b.useState)({}),[Sr,Ta]=(0,b.useState)([]),[ur,la]=(0,b.useState)(!1),[Qn,qa]=(0,b.useState)(!0),[ka,$a]=(0,b.useState)(!1),[Ma,Br]=(0,b.useState)(!1),[bo,Ua]=(0,b.useState)(!1),[Jt,wa]=(0,b.useState)(!1),[tr,Va]=(0,b.useState)("all"),[co,lr]=(0,b.useState)([]),[nr,Ur]=(0,b.useState)([]),[Yo,No]=(0,b.useState)(!1),[wo,Ba]=(0,b.useState)({}),[kr,xo]=(0,b.useState)(!1),[Ar,ei]=(0,b.useState)([]),[Vo,si]=(0,b.useState)({page:1,limit:10,total:0}),[pi,Hi]=(0,b.useState)({page:1,limit:10,search:"",order:"mine"});(0,b.useEffect)(()=>{Ia&&eo()},[Ia]);const xa=or=>{const yr=nu(Wl({},Vo),{page:or});Ur([]),si(yr),eo(yr)},eo=or=>yu(void 0,null,function*(){const mo=or||{page:1,limit:10,total:0};la(!0);const xi=yield at({type:"shixunsDetail/getSetData",payload:nu(Wl({},mo),{id:Ia})});xi!=null&&xi.data_sets&&(la(!1),ga([...xi.data_sets]),si(nu(Wl({},mo),{total:xi==null?void 0:xi.data_sets_count})),qa(!1),Ir(Wl({},xi)))}),Bi=()=>b.createElement("div",{className:Fi.empty},b.createElement("img",{src:ts.x7,width:"258"}),b.createElement("span",{className:"c-grey-c"},"\u6682\u65E0\u6570\u636E\u96C6\u6587\u4EF6~")),xr={selectedRowKeys:nr,columnWidth:70,onChange:or=>{console.log("selectedRowKeys changed: ",or),Ur(or)}},Cr=or=>{(0,Te.L9)(["\u5B9E\u8DF5\u9879\u76EE","\u8BBE\u7F6E","\u6570\u636E\u96C6","\u5220\u9664"]);const yr=or?[or]:nr;he.default.confirm({centered:!0,title:"\u786E\u5B9A\u8981\u5220\u9664\u6587\u4EF6\u5417\uFF1F",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>yu(void 0,null,function*(){if((yield(0,Ke.ZP)(`/api/shixuns/${Ia}/destroy_data_sets.json`,{method:"Delete",body:{id:yr}})).status===0){const xi=yr.length===Wr.length&&Vo.page>1?Vo.page-1:Vo.page;Xe.ZP.success("\u5220\u9664\u6210\u529F"),eo(nu(Wl({},Vo),{page:xi})),Ur([])}})})},Yn=()=>yu(void 0,null,function*(){const{title:or}=wo;let yr=null;if(console.log(or,"title"),or===""){yr="\u6587\u4EF6\u540D\u4E0D\u80FD\u4E3A\u7A7A",Ba(nu(Wl({},wo),{errorDes:yr}));return}if(or.includes(" ")){yr="\u6587\u4EF6\u540D\u4E0D\u80FD\u6709\u7A7A\u683C",Ba(nu(Wl({},wo),{errorDes:yr}));return}const mo=Wr.find(po=>po.id===(wo==null?void 0:wo.id)).title;if(or===mo.substring(0,mo.lastIndexOf("."))||or===mo){yr="\u6587\u4EF6\u540D\u4E0D\u80FD\u91CD\u540D",Ba(nu(Wl({},wo),{errorDes:yr}));return}const xi=mo.includes(".")?mo.substring(mo.lastIndexOf("."),mo.length):"";(yield(0,Ke.ZP)(`/api/shixuns/${Ia}/rename_data_sets.json`,{method:"post",body:{id:wo==null?void 0:wo.id,new_file_name:or+xi}})).status===0&&(Xe.ZP.success("\u91CD\u547D\u540D\u6210\u529F"),eo(Vo),$a(!1),Ba({}))}),Bo=()=>{const{download_url:or}=wo;hi(or),Xe.ZP.success("\u590D\u5236\u6210\u529F"),Br(!1),Ba({})},hi=or=>{const yr=or,mo=document.createElement("input");mo.value=yr,document.body.appendChild(mo),mo.select(),document.execCommand("Copy"),mo.style.display="none"},Zo=[{title:"\u6587\u4EF6",dataIndex:"title",key:"title",align:"left",ellipsis:!0,render:or=>b.createElement(ha.Z,{title:or},b.createElement("span",null,or))},{title:"\u6570\u636E\u96C6\u6765\u6E90",dataIndex:"data_set_title",key:"data_set_title",align:"left",ellipsis:!0,render:(or,yr)=>yr!=null&&yr.data_set_id?b.createElement(ha.Z,{title:or},b.createElement("span",{style:{color:"#0152d9",cursor:"pointer"},onClick:()=>{(0,Te.xg)(`/dataset/${yr==null?void 0:yr.data_set_id}/detail?tabId=public`)}},or)):"--"},{title:"\u5907\u6CE8",dataIndex:"description",key:"description",align:"left",ellipsis:!0,render:or=>b.createElement(ha.Z,{title:or},b.createElement("span",null,or||"--"))},{title:"\u521B\u5EFA\u65F6\u95F4",dataIndex:"created_on",key:"created_on",align:"left",width:180,render:(or,yr)=>rr()(yr.created_on).format("YYYY-MM-DD HH:mm")},{title:"\u6587\u4EF6\u8DEF\u5F84",dataIndex:"file_path",key:"file_path",align:"left",render:(or,yr)=>b.createElement("div",{className:Fi.path},b.createElement(ha.Z,{title:or},b.createElement("span",{className:Fi.text},or)),b.createElement(ms.CopyToClipboard,{text:or,onCopy:()=>Xe.ZP.success("\u590D\u5236\u6210\u529F")},b.createElement(ha.Z,{title:"\u590D\u5236"},b.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:(or,yr)=>b.createElement("div",{className:Fi.actionsBtns},b.createElement(ha.Z,{title:"\u91CD\u547D\u540D"},b.createElement("span",{className:"iconfont icon-zhongmingming",onClick:()=>{var mo;Ba((0,fn.clone)(nu(Wl({},yr),{title:yr!=null&&yr.title.includes(".")?(mo=yr==null?void 0:yr.title)==null?void 0:mo.substring(0,yr.title.lastIndexOf(".")):yr==null?void 0:yr.title}))),$a(!0),(0,Te.L9)(["\u5B9E\u8DF5\u9879\u76EE","\u8BBE\u7F6E","\u6570\u636E\u96C6","\u91CD\u547D\u540D"])}})),b.createElement(ha.Z,{title:"\u5206\u4EAB"},b.createElement("span",{className:"iconfont icon-fenxiang",onClick:()=>{(0,Te.L9)(["\u5B9E\u8DF5\u9879\u76EE","\u8BBE\u7F6E","\u6570\u636E\u96C6","\u5206\u4EAB"]),Ba((0,fn.clone)(yr)),Br(!0)}})),b.createElement(ha.Z,{title:"\u4E0B\u8F7D"},b.createElement("span",{className:"iconfont icon-xiazai3",onClick:()=>{(0,Te.L9)(["\u5B9E\u8DF5\u9879\u76EE","\u8BBE\u7F6E","\u6570\u636E\u96C6","\u4E0B\u8F7D"]),(0,Te.Nd)(yr.title,yr==null?void 0:yr.download_url)}})),b.createElement(ha.Z,{title:"\u540C\u6B65\u5230\u4E2A\u4EBA\u6570\u636E\u96C6\u4E2D"},b.createElement("span",{className:"iconfont icon-tongbushuju",onClick:()=>{(0,Te.L9)(["\u5B9E\u8DF5\u9879\u76EE","\u8BBE\u7F6E","\u6570\u636E\u96C6","\u540C\u6B65"]),wa(!0),ei([yr]),lr([yr.id])}})),b.createElement(ha.Z,{title:"\u5220\u9664"},b.createElement("span",{className:"iconfont icon-shanchu8",onClick:()=>{(0,Te.L9)(["\u5B9E\u8DF5\u9879\u76EE","\u8BBE\u7F6E","\u6570\u636E\u96C6","\u5220\u9664"]),Cr(yr.id)}})))}];return b.createElement("div",{className:Fi.dataset},b.createElement("div",{className:Fi.header},b.createElement("div",{className:Fi.title},"\u6570\u636E\u96C6(",Vo.total,")"),b.createElement("div",{className:Fi.dataPath},b.createElement("span",{className:Fi.pathTitle},"\u6570\u636E\u96C6\u8DEF\u5F84:"),b.createElement("input",{value:ea==null?void 0:ea.folder_name,disabled:!0}),b.createElement(ms.CopyToClipboard,{text:ea==null?void 0:ea.folder_name,onCopy:()=>Xe.ZP.success("\u590D\u5236\u6210\u529F")},b.createElement(ha.Z,{placement:"topLeft",title:"\u70B9\u51FB\u590D\u5236\u6570\u636E\u96C6\u8DEF\u5F84"},b.createElement("i",{className:"iconfont icon-fuzhi2 current ml5 mr40"})))),b.createElement("div",{className:Fi.btns},b.createElement(le.ZP,{type:"primary",ghost:!0,onClick:()=>Cr(),disabled:!nr.length,style:{width:"60px"}},"\u5220\u9664"),b.createElement(le.ZP,{type:"primary",className:"ml10",style:{width:"60px"},ghost:!0,onClick:()=>{wa(!0),lr(nr),ei(Wr.filter(or=>nr.includes(or.id)))},disabled:!nr.length},"\u540C\u6B65"),b.createElement(Ha.Z,{className:"ml10",disabled:((st=wn==null?void 0:wn.userInfo)==null?void 0:st.user_status)===2,dropdownRender:()=>b.createElement(Xa.default,null,b.createElement(Xa.default.Item,{key:1,onClick:()=>{No(!0)}},"\u4E0A\u4F20\u6570\u636E\u96C6"),b.createElement(Xa.default.Item,{key:2,onClick:()=>{Ua(!0),Va("all")}},"\u9009\u62E9\u6570\u636E\u96C6"))},b.createElement("span",{className:Fi.selectBtn},b.createElement("span",null,"\u589E\u52A0\u6570\u636E\u96C6"))))),b.createElement("div",{className:Fi.content},b.createElement(cr.Z,{loading:Qn,active:!0,paragraph:{rows:5}},Vo.total?b.createElement(es.default,{rowSelection:xr,className:Fi.customTable,dataSource:Wr,bordered:!1,rowKey:or=>or.id,rowClassName:Fi.row,columns:Zo,loading:ur,pagination:{pageSize:Vo.limit,total:Vo.total,current:Vo.page,onChange:xa,showQuickJumper:!0,hideOnSinglePage:!0,position:["bottomCenter"]}}):Bi())),b.createElement(_s,{rootIdentifier:(dn=Ln==null?void 0:Ln.detail)==null?void 0:dn.root_identifier,wrapClassName:Fi.uploadFileModal,id:Ia,containerId:(Ea=Ln==null?void 0:Ln.detail)==null?void 0:Ea.id,local:(Qa=pe==null?void 0:pe.setting)==null?void 0:Qa.is_local,dispatch:at,visible:Yo,onClose:()=>No(!1),onOK:eo}),b.createElement(he.default,{title:"\u91CD\u547D\u540D",open:ka,onOk:Yn,centered:!0,wrapClassName:Fi.renameModal,onCancel:()=>{$a(!1),Ba({})},width:"1000px"},b.createElement("div",null,b.createElement("div",{className:Fi.fileName},b.createElement("sup",null,"*"),"\u6587\u4EF6\u540D\xA0:"),b.createElement(ie.default,{value:wo==null?void 0:wo.title,placeholder:"\u8BF7\u8F93\u5165\u6587\u4EF6\u540D\u5B57",bordered:!1,onChange:or=>{Ba(nu(Wl({},wo),{title:or.target.value,errorDes:null}))},maxLength:60,suffix:`${((ia=wo==null?void 0:wo.title)==null?void 0:ia.length)||0}/60`}),(wo==null?void 0:wo.errorDes)&&b.createElement("div",{className:Fi.errorDes},wo==null?void 0:wo.errorDes))),b.createElement(he.default,{title:"\u5206\u4EAB\u4E0B\u8F7D\u94FE\u63A5",open:Ma,onOk:Bo,centered:!0,wrapClassName:Fi.shareModal,onCancel:()=>{Br(!1),Ba({})},width:"1000px",okText:"\u590D\u5236\u94FE\u63A5"},b.createElement("div",null,b.createElement("div",{className:Fi.fileName},"\u53D1\u9001\u94FE\u63A5\uFF0C\u522B\u4EBA\u53EF\u4EE5\u901A\u8FC7\u94FE\u63A5\u4E0B\u8F7D\u6587\u4EF6",b.createElement("span",null,"(\u6709\u6548\u671F\u4E3A3\u5929)")),b.createElement(ie.default,{bordered:!1,addonBefore:"\u94FE\u63A5",value:wo==null?void 0:wo.download_url}))),b.createElement(hs.Z,{setVisible:Ua,visible:bo,recordId:co,type:tr,updateData:eo,identifier:(Oa=Ln.detail)==null?void 0:Oa.identifier}),b.createElement(he.default,{title:"\u540C\u6B65\u5230\u4E2A\u4EBA\u6570\u636E\u96C6",open:Jt,width:400,centered:!0,keyboard:!1,onCancel:()=>wa(!1),maskClosable:!1,footer:b.createElement("div",{style:{display:"flex",justifyContent:"center"}},b.createElement("div",{className:Fi.leftButton,onClick:()=>{xo(!0)}},"\u751F\u6210\u65B0\u7684\u6570\u636E\u96C6"),b.createElement("div",{className:Fi.rightButton,onClick:()=>{wa(!1),Ua(!0),Va("my")}},"\u53D1\u9001\u5230\u5DF2\u6709\u6570\u636E\u96C6\u4E2D"))},b.createElement("div",{className:Fi.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")),b.createElement(Xs.Z,{visible:kr,attachmentInfo:Ar,onClose:()=>xo(!1),onSuccess:or=>{xo(!1),Ie.history.push(`/dataset/${or}/detail?tabId=mine`)}}))};var Ms=(0,Ie.connect)(({globalSetting:ve,shixunsDetail:Ee,practiceSetting:pe,user:at})=>({globalSetting:ve,shixunsDetail:Ee,user:at,practiceSetting:pe}))(Qs),fu=re(31797),vu={wrap:"wrap___VIvSS",content:"content___pqoZT",mainPathWrap:"mainPathWrap___v3uSU",colorBlue:"colorBlue___AjQlz"},As=Object.defineProperty,Cs=Object.getOwnPropertySymbols,qs=Object.prototype.hasOwnProperty,se=Object.prototype.propertyIsEnumerable,ce=(ve,Ee,pe)=>Ee in ve?As(ve,Ee,{enumerable:!0,configurable:!0,writable:!0,value:pe}):ve[Ee]=pe,ge=(ve,Ee)=>{for(var pe in Ee||(Ee={}))qs.call(Ee,pe)&&ce(ve,pe,Ee[pe]);if(Cs)for(var pe of Cs(Ee))se.call(Ee,pe)&&ce(ve,pe,Ee[pe]);return ve},we=(ve,Ee,pe)=>new Promise((at,Qt)=>{var Ln=st=>{try{un(pe.next(st))}catch(dn){Qt(dn)}},wn=st=>{try{un(pe.throw(st))}catch(dn){Qt(dn)}},un=st=>st.done?at(st.value):Promise.resolve(st.value).then(Ln,wn);un((pe=pe.apply(ve,Ee)).next())});const Le=ve=>ve!=null&&ve.length?ve.filter((Ee,pe)=>pe!==0).map(Ee=>Ee.val).join("").substr(1):"",Ct=({shixunsDetail:ve,globalSetting:Ee,loading:pe,dispatch:at,fileType:Qt,path:Ln,onFinish:wn=()=>{}})=>{const un=(0,Ie.useParams)(),[st,dn]=(0,b.useState)(""),[Ea,Qa]=(0,b.useState)([]),[ia,Oa]=(0,b.useState)([]),Wr=[Ko.OriginalPicturePath,Ko.ExpectPicturePath,Ko.PicturePath].includes(Qt);(0,b.useEffect)(()=>{ve.actionTabs.key==="EditPracticeSetting-SelectFilePath"&&(dn(Ln||""),ga())},[ve.actionTabs.key]);const ga=(Qn="")=>we(void 0,null,function*(){var qa;const ka=yield at({type:"shixunsDetail/getRepository",payload:{id:un.id,path:Qn}});if(Qn===""&&!((qa=ka==null?void 0:ka.trees)!=null&&qa.length)&&Xe.ZP.warning("\u8BF7\u5148\u53BB\u4EE3\u7801\u4ED3\u5E93\u63D0\u4EA4\u6587\u4EF6"),ka!=null&&ka.trees){const $a=ka.trees.map(Ma=>ge(ge({},Ma),{name:Ma.name,val:Ma.name}));Oa($a||[])}}),ea=Qn=>{const qa=Le(Ea),ka=`${qa&&`${qa}/`}${Qn}`;Qt===Ko.Path?!(st!=null&&st.includes(`${ka}\uFF1B`))&&dn(`${st}${ka}\uFF1B`):Qt===Ko.ExecPath&&dn(ka)},Ir=Qn=>{if(Qn.type==="tree"){Ea.length?Ea.push({val:`/${Qn.val}`,path:Qn.val}):Ea.push({val:"\u6839\u76EE\u5F55",path:""},{val:`/${Qn.val}`,path:Qn.val}),Qa(Ea);const qa=Le(Ea);Wr&&dn(qa),ga(qa)}},Sr=(Qn,qa)=>{const ka=Ea.filter((Ma,Br)=>Br<=qa);Qa(ka);const $a=Le(ka);Wr&&dn($a),ga($a)},Ta=()=>we(void 0,null,function*(){wn(st),ur()}),ur=()=>{dn(""),Qa([]),Oa([]),at({type:"shixunsDetail/setActionTabs",payload:{}})},la=Le(Ea);return b.createElement(he.default,{centered:!0,title:"\u6587\u4EF6\u8DEF\u5F84",closable:!1,keyboard:!1,open:ve.actionTabs.key==="EditPracticeSetting-SelectFilePath",onOk:Ta,onCancel:ur},b.createElement("div",{className:vu.wrap},b.createElement("div",{className:vu.content},b.createElement("div",{className:vu.mainPathWrap},!!(Ea!=null&&Ea.length)&&Ea.map((Qn,qa)=>b.createElement("a",{key:qa,onClick:()=>Sr(Qn,qa)},Qn.val))),!!(ia!=null&&ia.length)&&ia.map((Qn,qa)=>Qn.type==="tree"?b.createElement("a",{key:qa,onClick:()=>Ir(Qn)},b.createElement("i",{className:`iconfont icon-wenjianjia ${vu.colorBlue}`}),la&&`${la}/`,Qn.name):b.createElement("a",{key:qa,onClick:()=>ea(`${Qn.name}`)},b.createElement("i",{className:`iconfont icon-zuoye ${vu.colorBlue}`}),la&&`${la}/`,Qn.name))),b.createElement("label",{className:"mt5"},"\u9009\u4E2D\u7684\u65B0\u5EFA\u6587\u4EF6\u5939\u76EE\u5F55\uFF1A"),b.createElement(ie.default,{placeholder:"\u8BF7\u8F93\u5165\u65B0\u6587\u4EF6\u5939\u540D/\u5B50\u6587\u4EF6\u5939\u540D\u3002\uFF08\u5982\uFF1Asrc/step1\uFF09",value:st,onChange:Qn=>dn(Qn.target.value)})))};var ft=(0,Ie.connect)(({shixunsDetail:ve,loading:Ee,globalSetting:pe})=>({shixunsDetail:ve,globalSetting:pe,loading:Ee.models.index}))(Ct),Yt={wrap:"wrap___AnxZp",fixBtn:"fixBtn___sQhsA"},Ht=re(84236),gn=Object.defineProperty,qn=Object.getOwnPropertySymbols,Pn=Object.prototype.hasOwnProperty,An=Object.prototype.propertyIsEnumerable,zn=(ve,Ee,pe)=>Ee in ve?gn(ve,Ee,{enumerable:!0,configurable:!0,writable:!0,value:pe}):ve[Ee]=pe,jn=(ve,Ee)=>{for(var pe in Ee||(Ee={}))Pn.call(Ee,pe)&&zn(ve,pe,Ee[pe]);if(qn)for(var pe of qn(Ee))An.call(Ee,pe)&&zn(ve,pe,Ee[pe]);return ve},Kt=(ve,Ee)=>{var pe={};for(var at in ve)Pn.call(ve,at)&&Ee.indexOf(at)<0&&(pe[at]=ve[at]);if(ve!=null&&qn)for(var at of qn(ve))Ee.indexOf(at)<0&&An.call(ve,at)&&(pe[at]=ve[at]);return pe},En=(ve,Ee,pe)=>new Promise((at,Qt)=>{var Ln=st=>{try{un(pe.next(st))}catch(dn){Qt(dn)}},wn=st=>{try{un(pe.throw(st))}catch(dn){Qt(dn)}},un=st=>st.done?at(st.value):Promise.resolve(st.value).then(Ln,wn);un((pe=pe.apply(ve,Ee)).next())});const Un=ve=>{var Ee=ve,{shixunsDetail:pe,globalSetting:at,user:Qt,dispatch:Ln}=Ee,wn=Kt(Ee,["shixunsDetail","globalSetting","user","dispatch"]),un,st;const dn=(0,Ie.useLocation)(),Ea=(0,b.useRef)((st=(un=dn.pathname)==null?void 0:un.split("/"))==null?void 0:st[2]),[Qa]=oe.default.useForm(),[ia,Oa]=(0,b.useState)(""),[Ia,Wr]=(0,b.useState)(!1),[ga,ea]=(0,b.useState)(!1);(0,b.useEffect)(()=>{Ea.current&&Ir()},[Ea.current]);const Ir=()=>En(void 0,null,function*(){Wr(!0);const Ta=yield(0,Ke.ZP)(`/api/shixuns/${Ea.current}/get_standard_answer.json`,{method:"get",params:{from:"edit"}});Ta.status===0&&(Oa((Ta==null?void 0:Ta.standard_answer)||""),Qa.setFieldsValue({hide_answer:Ta==null?void 0:Ta.hide_answer,disable_copy:Ta==null?void 0:Ta.disable_copy}),Wr(!1))}),Sr=Ta=>En(void 0,null,function*(){ea(!0),(yield(0,Ke.ZP)(`/api/shixuns/${Ea.current}/set_standard_answer.json`,{method:"post",body:jn({},Ta)})).status===0&&Xe.ZP.success("\u4FDD\u5B58\u6210\u529F"),ea(!1)});return b.createElement("section",{className:Yt.wrap},b.createElement(cr.Z,{loading:Ia},b.createElement(oe.default,{form:Qa,scrollToFirstError:!0,layout:"vertical",onFinish:Sr},b.createElement(oe.default.Item,{name:"hide_answer",valuePropName:"checked"},b.createElement(St.default,null,"\u9690\u85CF\u53C2\u8003\u7B54\u6848\u6A21\u5757")),b.createElement(oe.default.Item,{name:"disable_copy",valuePropName:"checked"},b.createElement(St.default,null,"\u7981\u6B62\u590D\u5236\u53C2\u8003\u7B54\u6848")),b.createElement(oe.default.Item,{name:"standard_answer",label:"\u53C2\u8003\u7B54\u6848:",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u53C2\u8003\u7B54\u6848"}]},b.createElement(ne.Z,{defaultValue:ia})),b.createElement(oe.default.Item,null,b.createElement(Ht.t,{okText:"\u4FDD\u5B58",loading:ga,hasCancelBtn:!1,className:Yt.fixBtn,okButtonProps:{htmlType:"submit"}})))))};var Na=(0,Ie.connect)(({shixunsDetail:ve,globalSetting:Ee,user:pe})=>({shixunsDetail:ve,globalSetting:Ee,user:pe}))(Un),Pa=re(33796),Wa=re(61485),Ja=re(45079),oa=re(59301),Aa=Object.defineProperty,so=Object.defineProperties,wr=Object.getOwnPropertyDescriptors,no=Object.getOwnPropertySymbols,Do=Object.prototype.hasOwnProperty,Io=Object.prototype.propertyIsEnumerable,Go=(ve,Ee,pe)=>Ee in ve?Aa(ve,Ee,{enumerable:!0,configurable:!0,writable:!0,value:pe}):ve[Ee]=pe,mi=(ve,Ee)=>{for(var pe in Ee||(Ee={}))Do.call(Ee,pe)&&Go(ve,pe,Ee[pe]);if(no)for(var pe of no(Ee))Io.call(Ee,pe)&&Go(ve,pe,Ee[pe]);return ve},jo=(ve,Ee)=>so(ve,wr(Ee)),ao=(ve,Ee,pe)=>new Promise((at,Qt)=>{var Ln=st=>{try{un(pe.next(st))}catch(dn){Qt(dn)}},wn=st=>{try{un(pe.throw(st))}catch(dn){Qt(dn)}},un=st=>st.done?at(st.value):Promise.resolve(st.value).then(Ln,wn);un((pe=pe.apply(ve,Ee)).next())});const{Countdown:Oo}=fu.default;var $o=(ve=>(ve[ve.LoadingFail=1]="LoadingFail",ve[ve.Loading=2]="Loading",ve[ve.Finish=3]="Finish",ve))($o||{}),Ko=(ve=>(ve.Path="path",ve.ExecPath="exec_path",ve.OriginalPicturePath="original_picture_path",ve.ExpectPicturePath="expect_picture_path",ve.PicturePath="picture_path",ve))(Ko||{});const Uo=({globalSetting:ve,loading:Ee,dispatch:pe,practiceSetting:at,shixunsDetail:Qt})=>{var Ln;const[wn,un]=(0,b.useState)(),[st,dn]=(0,b.useState)(),Ea=(0,b.useRef)(),[Qa,ia]=(0,b.useState)(),[Oa,Ia]=(0,b.useState)(),[Wr,ga]=(0,b.useState)(!0),[ea,Ir]=(0,b.useState)(700),[Sr,Ta]=(0,b.useState)(""),[ur,la]=(0,b.useState)("1"),Qn=(0,Ie.useParams)();(0,b.useEffect)(()=>{ka()},[]);const qa=()=>ao(void 0,null,function*(){var tr,Va;const co=yield pe({type:"shixunsDetail/updateRepositoryFile",payload:{id:Qn.id,path:(Va=(tr=Qt==null?void 0:Qt.fileContent)==null?void 0:tr.params)==null?void 0:Va.path,content:wn,secret_repository:Wr?null:!0}});co!=null&&co.content&&(Xe.ZP.info("\u4FDD\u5B58\u6210\u529F"),pe({type:"practiceSetting/setSideBarTabs",payload:jo(mi({},at.sideBar),{confirmLeave:!1})}))}),ka=()=>ao(void 0,null,function*(){var tr,Va,co,lr;const nr=yield(0,lt.Ui)({identifier:Qn.id});if((Va=(tr=nr==null?void 0:nr.data)==null?void 0:tr.data_list)!=null&&Va.length){Pa.Z.publish("pod-restrict-data",{identifier:(co=nr==null?void 0:nr.data)==null?void 0:co.identifier,data_list:(lr=nr==null?void 0:nr.data)==null?void 0:lr.data_list});return}nr!=null&&nr.url&&Ta(nr==null?void 0:nr.url)}),$a=()=>ao(void 0,null,function*(){const tr=yield(0,lt.K_)({identifier:Qn.id});(tr==null?void 0:tr.status)===0&&(tr!=null&&tr.remainingSeconds?(ia(Date.now()+tr.remainingSeconds*1e3),Ia(tr.remainingSeconds-300<=0?Date.now()+1e3:Date.now()+(tr.remainingSeconds-300)*1e3)):Ma())}),Ma=()=>{he.default.confirm({centered:!0,title:"\u91CD\u7F6E\u73AF\u5883",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",zIndex:9999,content:oa.createElement("div",{className:"tc"},"\u662F\u5426\u786E\u5B9A\u91CD\u7F6E\u73AF\u5883\uFF1F"),onOk:()=>ao(void 0,null,function*(){Br()})})},Br=()=>ao(void 0,null,function*(){var tr,Va,co,lr;dn(2);const nr=yield(0,lt.zH)({identifier:Qn.id});if((Va=(tr=nr==null?void 0:nr.data)==null?void 0:tr.data_list)!=null&&Va.length){Pa.Z.publish("pod-restrict-data",{identifier:(co=nr==null?void 0:nr.data)==null?void 0:co.identifier,data_list:(lr=nr==null?void 0:nr.data)==null?void 0:lr.data_list});return}(nr==null?void 0:nr.status)===0&&(dn(3),Ta(nr.url),Ea.current=nr.port,Xe.ZP.success("\u91CD\u7F6E\u73AF\u5883\u6210\u529F!"))}),bo=()=>{he.default.destroyAll(),he.default.confirm({centered:!0,title:"\u670D\u52A1\u4E2D\u65AD\u63D0\u9192",content:oa.createElement("div",{className:"tc font14"},"jupyter\u5C06\u4E8E",oa.createElement("span",null,oa.createElement(Oo,{value:Qa,format:"HH:mm:ss",onFinish:Ua})),"\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:()=>ao(void 0,null,function*(){(yield(0,lt.q9)({identifier:Qn.id})).status===0&&(yield $a(),Xe.ZP.success("\u5EF6\u957F\u6210\u529F!"))})})},Ua=()=>{he.default.destroyAll(),he.default.confirm({centered:!0,title:"\u5012\u8BA1\u65F6\u622A\u6B62",content:oa.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:()=>{Br()}})},Jt=tr=>{pe({type:"shixunsDetail/setActionTabs",payload:{key:"EditPracticeSetting-SelectFilePath"}})},wa=tr=>ao(void 0,null,function*(){yield(0,lt.QA)({id:Qn.id,startup_file:tr}),ka(),pe({type:"practiceSetting/getCommonData",payload:mi({},Qn)})});return oa.createElement(Jn.default,{activeKey:ur,onChange:tr=>la(tr),tabBarStyle:{paddingLeft:20},items:[{key:"1",label:"\u670D\u52A1\u8BBE\u7F6E",children:oa.createElement("div",null,oa.createElement(ye.Z,{className:"mt20 ml20 font14",align:"middle"},oa.createElement(Ge.Z,null,oa.createElement("span",{className:"c-red"},"* "),"\u9ED8\u8BA4\u6253\u5F00\u6587\u4EF6\uFF1A"),oa.createElement(Ge.Z,{className:"mr10"},oa.createElement(ha.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"},oa.createElement(Wa.Z,{style:{cursor:"pointer"}}))),oa.createElement(Ge.Z,{flex:"300px",onClick:()=>Jt("exec_path")},oa.createElement(ie.default,{value:Sr})),oa.createElement(Ge.Z,{flex:"1"},oa.createElement(le.ZP,{type:"primary",className:"ml10",onClick:()=>Jt("exec_path")},"\u8BBE\u7F6E"))),oa.createElement("iframe",{onLoad:tr=>{},src:Sr,scrolling:"no",style:{height:"calc(100vh - 120px)"},className:"mt10",id:"frame",name:"framename",width:"100%",frameBorder:"0"}),oa.createElement(ft,{fileType:"path",path:(Ln=Qt==null?void 0:Qt.detail)==null?void 0:Ln.startup_file,onFinish:tr=>wa(tr)}))},{key:"2",label:"\u8BC4\u6D4B\u8BBE\u7F6E",children:ur==="2"?oa.createElement(Ja.Z,{active:"testCase",type:"jupyterLab"}):null},{key:"3",label:"\u53C2\u8003\u7B54\u6848",children:oa.createElement(Na,null)}]})};var fi=(0,Ie.connect)(({loading:ve,globalSetting:Ee,practiceSetting:pe,shixunsDetail:at})=>({globalSetting:Ee,loading:ve,practiceSetting:pe,shixunsDetail:at}))(Uo),Ti={catechism:"catechism___lS6Ml",tab:"tab___vw6iE"},Pi=re(71360),zi={collect:"collect___pxqYO",head:"head___WuH5D"},ri=re(59301),Ki=Object.defineProperty,vi=Object.getOwnPropertySymbols,Oi=Object.prototype.hasOwnProperty,Gi=Object.prototype.propertyIsEnumerable,$i=(ve,Ee,pe)=>Ee in ve?Ki(ve,Ee,{enumerable:!0,configurable:!0,writable:!0,value:pe}):ve[Ee]=pe,ji=(ve,Ee)=>{for(var pe in Ee||(Ee={}))Oi.call(Ee,pe)&&$i(ve,pe,Ee[pe]);if(vi)for(var pe of vi(Ee))Gi.call(Ee,pe)&&$i(ve,pe,Ee[pe]);return ve},ml=(ve,Ee,pe)=>new Promise((at,Qt)=>{var Ln=st=>{try{un(pe.next(st))}catch(dn){Qt(dn)}},wn=st=>{try{un(pe.throw(st))}catch(dn){Qt(dn)}},un=st=>st.done?at(st.value):Promise.resolve(st.value).then(Ln,wn);un((pe=pe.apply(ve,Ee)).next())}),Ao=({onOk:ve,onCancel:Ee,visible:pe,modalParams:at,forceIn:Qt})=>{const[Ln]=oe.default.useForm(),[wn,un]=(0,b.useState)(!1),st=Qt?!1:typeof pe=="number";(0,b.useEffect)(()=>{pe?Ln.setFieldsValue(ji({},at)):Ln.resetFields()},[pe]);const dn=Ea=>ml(void 0,null,function*(){un(!0),yield ve(Ea),un(!1)});return ri.createElement(he.default,{centered:!0,destroyOnClose:!0,onCancel:()=>Ee(),onOk:()=>Ln.submit(),open:!!pe,confirmLoading:wn,title:st?"\u7F16\u8F91\u95EE\u7B54":"\u65B0\u589E\u95EE\u7B54",width:900,okText:st?"\u786E\u5B9A":"\u52A0\u5165\u95EE\u9898\u96C6"},ri.createElement(oe.default,{form:Ln,size:"large",onFinish:dn},ri.createElement(oe.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"}]},ri.createElement(ie.default,{placeholder:"\u8BF7\u8F93\u5165\u60A8\u7684\u95EE\u9898"})),ri.createElement(oe.default.Item,{className:"mb0",name:"content",label:"\u56DE\u7B54",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u60A8\u7684\u56DE\u7B54"}]},ri.createElement(ne.Z,{className:"mb0",placeholder:"\u8BF7\u8F93\u5165\u60A8\u7684\u56DE\u7B54",watch:!0,defaultValue:at==null?void 0:at.content}))))},Hr=re(59301),Ai=Object.defineProperty,Ri=Object.getOwnPropertySymbols,el=Object.prototype.hasOwnProperty,wi=Object.prototype.propertyIsEnumerable,ki=(ve,Ee,pe)=>Ee in ve?Ai(ve,Ee,{enumerable:!0,configurable:!0,writable:!0,value:pe}):ve[Ee]=pe,ll=(ve,Ee)=>{for(var pe in Ee||(Ee={}))el.call(Ee,pe)&&ki(ve,pe,Ee[pe]);if(Ri)for(var pe of Ri(Ee))wi.call(Ee,pe)&&ki(ve,pe,Ee[pe]);return ve},ul=(ve,Ee,pe)=>new Promise((at,Qt)=>{var Ln=st=>{try{un(pe.next(st))}catch(dn){Qt(dn)}},wn=st=>{try{un(pe.throw(st))}catch(dn){Qt(dn)}},un=st=>st.done?at(st.value):Promise.resolve(st.value).then(Ln,wn);un((pe=pe.apply(ve,Ee)).next())}),pu=({})=>{const ve=(0,Ie.useParams)(),[Ee,pe]=(0,b.useState)(!1),[at,Qt]=(0,b.useState)(0),[Ln,wn]=(0,b.useState)([]),[un,st]=(0,b.useState)(!1),[dn,Ea]=(0,b.useState)({title:"",content:""}),[Qa,ia]=(0,b.useState)(!1),[Oa,Ia]=(0,b.useState)(!1),[Wr,ga]=(0,b.useState)([]),[ea,Ir]=(0,b.useState)({keywords:"",page:1,limit:10});(0,b.useEffect)(()=>{Sr(ea)},[]);const Sr=$a=>ul(void 0,null,function*(){var Ma,Br;pe(!0);const bo=yield(0,Ke.ZP)(`/api/shixuns/${ve.id}/qna_sets.json`,{method:"get",params:$a});bo.status===0&&(wn(((Ma=bo==null?void 0:bo.data)==null?void 0:Ma.qna_sets)||[]),Qt((Br=bo==null?void 0:bo.data)==null?void 0:Br.total_count)),pe(!1)}),Ta=$a=>{ea.keywords=$a,ea.page=1,Ir(ll({},ea)),Sr(ea)},ur=($a,Ma)=>{ea.page=$a,ea.limit=Ma,Ir(ll({},ea)),Sr(ea)},la=$a=>ul(void 0,null,function*(){if(typeof un=="number"){const Ma=yield(0,Ke.ZP)(`/api/shixuns/${ve.id}/qna_sets/${un}.json`,{method:"put",body:$a});(Ma==null?void 0:Ma.status)===0&&(Xe.ZP.success("\u7F16\u8F91\u6210\u529F"),Sr(ea),st(!1))}else{const Ma=yield(0,Ke.ZP)(`/api/shixuns/${ve.id}/qna_sets.json`,{method:"post",body:$a});(Ma==null?void 0:Ma.status)===0&&(Xe.ZP.success("\u6DFB\u52A0\u6210\u529F"),ea.page=1,ea.keywords="",Ir(ll({},ea)),Sr(ea),st(!1))}}),Qn=$a=>ul(void 0,null,function*(){he.default.confirm({centered:!0,icon:null,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:"\u786E\u8BA4\u5220\u9664\u5417\uFF1F",onOk:()=>ul(void 0,null,function*(){const Ma=yield(0,Ke.ZP)(`/api/shixuns/${ve.id}/qna_sets/${$a.id}.json`,{method:"delete"});if((Ma==null?void 0:Ma.status)===0){const Br=Ln.length===1&&ea.page>1?ea.page-1:ea.page;ea.page=Br,Ir(ll({},ea)),Sr(ea),Xe.ZP.success("\u5220\u9664\u6210\u529F")}})})}),qa=[{title:"\u95EE\u9898",dataIndex:"title",ellipsis:!0,render:$a=>Hr.createElement(ha.Z,{placement:"topLeft",title:$a},Hr.createElement("span",{className:"c-black"},$a||"--"))},{title:"\u56DE\u7B54",dataIndex:"content",ellipsis:!0,render:$a=>Hr.createElement(ha.Z,{placement:"topLeft",title:$a},Hr.createElement("span",{className:"c-black"},$a||"--"))},{title:"\u64CD\u4F5C",width:104,align:"right",dataIndex:"id",ellipsis:!0,render:($a,Ma)=>Hr.createElement("span",null,Hr.createElement("span",{className:"c-light-primary current mr20",onClick:()=>{st($a),Ea({title:Ma==null?void 0:Ma.title,content:Ma==null?void 0:Ma.content})}},"\u7F16\u8F91"),Hr.createElement("span",{className:"current c-red",onClick:()=>Qn(Ma)},"\u5220\u9664"))}],ka={onRemove:()=>{ga([])},beforeUpload:$a=>{if(($a==null?void 0:$a.size)>1024*1024*50)return Xe.ZP.info("\u6587\u4EF6\u8D85\u8FC750M\uFF0C\u4E0D\u7B26\u5408\u4E0A\u4F20\u8981\u6C42"),!1;if(!($a.type==="application/vnd.ms-excel"||$a.type==="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"))return Xe.ZP.info("\u8BF7\u4E0A\u4F20 .xls \u6216 .xlsx \u6587\u4EF6\uFF01"),!1;let Br=[];return Br.push($a),ga([...Br]),!1},fileList:Wr,accept:".xls,.xlsx"};return Hr.createElement("div",{className:zi.collect},Hr.createElement("div",{className:zi.head},Hr.createElement(Pi.t7,{style:{width:480},placeholder:"\u8BF7\u8F93\u5165\u60A8\u7684\u95EE\u9898",value:ea.keywords,onChange:Ta}),Hr.createElement(Pi.op,{className:"ml40 mr20",shape:"default",onClick:()=>{st(!0),Ea({title:"",content:""})}},"\u65B0\u589E\u95EE\u7B54"),Hr.createElement(Pi.op,{type:"primary",shape:"default",onClick:()=>ia(!0)},"\u5BFC\u5165\u95EE\u7B54")),Hr.createElement(es.default,{columns:qa,style:{marginTop:33},dataSource:Ln,loading:Ee,rowKey:"id",pagination:{current:ea.page,hideOnSinglePage:!at,showQuickJumper:!0,showSizeChanger:!0,pageSize:ea.limit,pageSizeOptions:["10","20","50","100","200"],total:at,size:"default",showTotal:Te.rU,onChange:ur}}),Hr.createElement(he.default,{title:"\u5BFC\u5165\u95EE\u7B54",open:Qa,centered:!0,confirmLoading:Oa,onCancel:()=>{ia(!1),ga([])},onOk:()=>ul(void 0,null,function*(){var $a;const Ma=new FormData;if(Wr.length>0)Ma.append("file",Wr[0]);else{Xe.ZP.warning("\u8BF7\u9009\u62E9\u6587\u4EF6");return}Ia(!0);let Br=yield(0,Ke.ZP)(`/api/shixuns/${ve==null?void 0:ve.id}/qna_sets/import.json`,{method:"post",body:Ma},!0);(Br==null?void 0:Br.status)===0&&(($a=Br==null?void 0:Br.fail)!=null&&$a.length?he.default.confirm({icon:null,width:485,title:"\u5BFC\u5165\u5931\u8D25",centered:!0,content:Hr.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",Hr.createElement("a",{href:`${vn.Z.API_SERVER}/api/shixuns/${ve==null?void 0:ve.id}/qna_sets/down_error_import_file.json`},"\u5BFC\u5165\u5931\u8D25\u7684\u6570\u636E"),"\u67E5\u770B")}):(Xe.ZP.success("\u5BFC\u5165\u6210\u529F"),ea.page=1,ea.keywords="",Ir(ll({},ea)),Sr(ea),ia(!1),ga([]))),Ia(!1)})},Hr.createElement("p",{style:{color:"#232B40"}},"\u6B65\u9AA4\u4E00\uFF1A",Hr.createElement("span",{className:"ml15 mr5"},"\u4E0B\u8F7D"),Hr.createElement("a",{href:`${vn.Z.API_SERVER}/api/shixuns/${ve==null?void 0:ve.id}/qna_sets/down_template.json`},"\u5BFC\u5165\u95EE\u7B54\u96C6\u6A21\u677F"),"\uFF0C\u5E76\u586B\u5199\u5BF9\u5E94\u5185\u5BB9"),Hr.createElement("p",{style:{color:"#232B40"}},"\u6B65\u9AA4\u4E8C\uFF1A",Hr.createElement("span",{className:"ml15"},"\u4E0A\u4F20\u586B\u5199\u597D\u7684\u300A\u5BFC\u5165\u95EE\u7B54\u6A21\u677F\u300B")),Hr.createElement("div",{style:{marginLeft:74}},Hr.createElement(Re.default,ll({},ka),Hr.createElement(Pi.op,{shape:"default",icon:Hr.createElement("i",{className:"iconfont icon-shangchuan3",style:{fontSize:14}})},"\u4E0A\u4F20\u6587\u4EF6")))),Hr.createElement(Ao,{visible:un,onCancel:()=>st(!1),onOk:la,modalParams:dn}))},bu={record:"record___Ueu3j",head:"head___UOVq4"},Jo=re(59301),ol=Object.defineProperty,Vl=Object.defineProperties,sl=Object.getOwnPropertyDescriptors,hu=Object.getOwnPropertySymbols,Xl=Object.prototype.hasOwnProperty,El=Object.prototype.propertyIsEnumerable,yi=(ve,Ee,pe)=>Ee in ve?ol(ve,Ee,{enumerable:!0,configurable:!0,writable:!0,value:pe}):ve[Ee]=pe,Ui=(ve,Ee)=>{for(var pe in Ee||(Ee={}))Xl.call(Ee,pe)&&yi(ve,pe,Ee[pe]);if(hu)for(var pe of hu(Ee))El.call(Ee,pe)&&yi(ve,pe,Ee[pe]);return ve},Jl=(ve,Ee)=>Vl(ve,sl(Ee)),Sl=(ve,Ee,pe)=>new Promise((at,Qt)=>{var Ln=st=>{try{un(pe.next(st))}catch(dn){Qt(dn)}},wn=st=>{try{un(pe.throw(st))}catch(dn){Qt(dn)}},un=st=>st.done?at(st.value):Promise.resolve(st.value).then(Ln,wn);un((pe=pe.apply(ve,Ee)).next())}),Pl=({})=>{const ve=(0,Ie.useParams)(),[Ee]=oe.default.useForm(),[pe,at]=(0,b.useState)(!1),[Qt,Ln]=(0,b.useState)(0),[wn,un]=(0,b.useState)([]),[st,dn]=(0,b.useState)(!1),[Ea,Qa]=(0,b.useState)({title:"",content:""});let[ia,Oa]=(0,b.useState)({page:1,limit:10});(0,b.useEffect)(()=>{ga(ia)},[]);const Ia=[{value:"ai",label:"AI\u6A21\u578B"},{value:"qna_set",label:"\u5B9E\u8BAD\u95EE\u7B54\u96C6"}],Wr=[{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"}],ga=la=>Sl(void 0,null,function*(){var Qn,qa;at(!0);const ka=yield(0,Ke.ZP)(`/api/shixuns/${ve.id}/qna_records.json`,{method:"get",params:la});ka.status===0&&(un(((Qn=ka==null?void 0:ka.data)==null?void 0:Qn.qna_records)||[]),Ln((qa=ka==null?void 0:ka.data)==null?void 0:qa.total_count)),at(!1)}),ea=la=>{ia.page=1,ia=Ui(Ui({},ia),la),Oa(Ui({},ia)),ga(ia)},Ir=(la,Qn)=>{ia.page=la,ia.limit=Qn,Oa(Ui({},ia)),ga(ia)},Sr=la=>Sl(void 0,null,function*(){const Qn=yield(0,Ke.ZP)(`/api/shixuns/${ve.id}/qna_sets.json`,{method:"post",body:Jl(Ui({},la),{qna_record_id:st})});(Qn==null?void 0:Qn.status)===0&&(Xe.ZP.success("\u6DFB\u52A0\u6210\u529F"),ga(ia),dn(!1))}),Ta=la=>Sl(void 0,null,function*(){he.default.confirm({centered:!0,icon:null,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:"\u786E\u8BA4\u5FFD\u7565\u5417\uFF1F",onOk:()=>Sl(void 0,null,function*(){const Qn=yield(0,Ke.ZP)(`/api/shixuns/${ve.id}/qna_records/${la.id}/update_status.json`,{method:"post",body:{status:"ignored"}});(Qn==null?void 0:Qn.status)===0&&ga(ia)})})}),ur=[{title:"\u95EE\u9898",dataIndex:"question",ellipsis:!0,render:la=>Jo.createElement(ha.Z,{placement:"topLeft",title:la},Jo.createElement("span",{className:"c-black"},la||"--"))},{title:"\u56DE\u7B54",dataIndex:"answer",ellipsis:!0,render:la=>Jo.createElement(ha.Z,{placement:"topLeft",title:la},Jo.createElement("span",{className:"c-black"},la||"--"))},{title:"\u56DE\u7B54\u6765\u6E90",dataIndex:"answer_source",width:110,render:la=>{var Qn;return Jo.createElement("span",{className:"c-black"},(Qn=Ia==null?void 0:Ia.find(qa=>qa.value===la))==null?void 0:Qn.label)}},{title:"\u72B6\u6001",dataIndex:"status",width:120,render:la=>{var Qn;return Jo.createElement("span",{className:"c-black"},(Qn=Wr==null?void 0:Wr.find(qa=>qa.value===la))==null?void 0:Qn.label)}},{title:"\u64CD\u4F5C",width:140,align:"right",dataIndex:"id",ellipsis:!0,render:(la,Qn)=>Jo.createElement("span",null,["pending","ignored"].includes(Qn.status)&&Jo.createElement(Jo.Fragment,null,Jo.createElement("span",{className:"c-light-primary current mr20",onClick:()=>{dn(la),Qa({title:Qn==null?void 0:Qn.question,content:Qn==null?void 0:Qn.answer})}},"\u52A0\u5165\u95EE\u7B54\u96C6"),Jo.createElement("span",{className:"current c-light-primary",onClick:()=>Ta(Qn)},"\u5FFD\u7565")),["skipped"].includes(Qn.status)&&Jo.createElement(ha.Z,{placement:"topRight",title:"\u56DE\u7B54\u6765\u81EA\u95EE\u9898\u96C6\uFF0C\u65E0\u9700\u518D\u6B21\u52A0\u5165"},Jo.createElement("span",{style:{cursor:"not-allowed",color:"#CCCCCC"}},"\u52A0\u5165\u95EE\u7B54\u96C6")),["added_to_set"].includes(Qn.status)&&Jo.createElement(ha.Z,{placement:"topRight",title:"\u5DF2\u7ECF\u52A0\u5165\u95EE\u7B54\u96C6\uFF0C\u65E0\u9700\u518D\u6B21\u52A0\u5165"},Jo.createElement("span",{style:{cursor:"not-allowed",color:"#CCCCCC"}},"\u52A0\u5165\u95EE\u7B54\u96C6")))}];return Jo.createElement("div",{className:bu.record},Jo.createElement("div",{className:bu.head},Jo.createElement(oe.default,{layout:"inline",form:Ee,colon:!1,size:"large",onFinish:ea},Jo.createElement(oe.default.Item,{name:"keywords",label:"\u95EE\u9898"},Jo.createElement(ie.default,{placeholder:"\u8BF7\u8F93\u5165\u60A8\u7684\u95EE\u9898",style:{width:300}})),Jo.createElement(oe.default.Item,{name:"answer_source",label:"\u56DE\u7B54\u6765\u6E90"},Jo.createElement(Or.default,{allowClear:!0,placeholder:"\u8BF7\u9009\u62E9\u56DE\u7B54\u6765\u6E90",options:Ia,style:{width:200}})),Jo.createElement(oe.default.Item,{name:"status",label:"\u72B6\u6001"},Jo.createElement(Or.default,{allowClear:!0,placeholder:"\u8BF7\u9009\u62E9\u72B6\u6001",options:Wr,style:{width:200}})),Jo.createElement(oe.default.Item,{style:{marginRight:0}},Jo.createElement(le.ZP,{type:"primary",htmlType:"submit"},"\u641C\u7D22")))),Jo.createElement(es.default,{columns:ur,style:{marginTop:33},dataSource:wn,loading:pe,rowKey:"id",pagination:{current:ia.page,hideOnSinglePage:!Qt,showQuickJumper:!0,showSizeChanger:!0,pageSize:ia.limit,pageSizeOptions:["10","20","50","100","200"],total:Qt,size:"default",showTotal:Te.rU,onChange:Ir}}),Jo.createElement(Ao,{visible:st,onCancel:()=>dn(!1),onOk:Sr,modalParams:Ea,forceIn:!0}))},Al=re(59301);const Vi=({dispatch:ve,practiceSetting:Ee,shixunsDetail:pe})=>{const[at,Qt]=(0,b.useState)("1");return Al.createElement("div",{className:Ti.catechism},Al.createElement(Pi.tp,{dataSource:[{id:"1",name:"\u95EE\u7B54\u96C6"},{id:"2",name:"\u95EE\u7B54\u8BB0\u5F55"}],value:at,onChange:Ln=>Qt(Ln),className:Ti.tab}),at==="1"&&Al.createElement(pu,null),at==="2"&&Al.createElement(Pl,null))};var dl=(0,Ie.connect)(({practiceSetting:ve,shixunsDetail:Ee})=>({practiceSetting:ve,shixunsDetail:Ee}))(Vi),au=Object.defineProperty,ni=Object.getOwnPropertySymbols,cl=Object.prototype.hasOwnProperty,Zl=Object.prototype.propertyIsEnumerable,Qo=(ve,Ee,pe)=>Ee in ve?au(ve,Ee,{enumerable:!0,configurable:!0,writable:!0,value:pe}):ve[Ee]=pe,Cl=(ve,Ee)=>{for(var pe in Ee||(Ee={}))cl.call(Ee,pe)&&Qo(ve,pe,Ee[pe]);if(ni)for(var pe of ni(Ee))Zl.call(Ee,pe)&&Qo(ve,pe,Ee[pe]);return ve},Dl=(ve,Ee)=>{var pe={};for(var at in ve)cl.call(ve,at)&&Ee.indexOf(at)<0&&(pe[at]=ve[at]);if(ve!=null&&ni)for(var at of ni(ve))Ee.indexOf(at)<0&&Zl.call(ve,at)&&(pe[at]=ve[at]);return pe},Bu=ve=>{var Ee=ve,{tabsActive:pe}=Ee,at=Dl(Ee,["tabsActive"]);return b.createElement(b.Fragment,null,pe==="information"&&b.createElement(qt,null),pe==="warehouse"&&b.createElement(Vt.default,null),pe==="level"&&b.createElement(Lr,Cl({},at)),pe==="collaborate"&&b.createElement(Nn,Cl({},at)),pe==="setting"&&b.createElement(tn.Z,null),pe==="environment"&&b.createElement(gs,Cl({},at)),pe==="dataset"&&b.createElement(Ms,null),pe==="service"&&b.createElement(fi,Cl({},at)),pe==="catechism"&&b.createElement(dl,Cl({},at)))},vl={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"},Du=Object.defineProperty,ru=Object.getOwnPropertySymbols,ro=Object.prototype.hasOwnProperty,er=Object.prototype.propertyIsEnumerable,Co=(ve,Ee,pe)=>Ee in ve?Du(ve,Ee,{enumerable:!0,configurable:!0,writable:!0,value:pe}):ve[Ee]=pe,bi=(ve,Ee)=>{for(var pe in Ee||(Ee={}))ro.call(Ee,pe)&&Co(ve,pe,Ee[pe]);if(ru)for(var pe of ru(Ee))er.call(Ee,pe)&&Co(ve,pe,Ee[pe]);return ve};const Gl=ve=>React.createElement("svg",bi({width:16,height:16,xmlns:"http://www.w3.org/2000/svg"},ve),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 ou="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbC1ydWxlPSJub256ZXJvIiBmaWxsPSJub25lIj48cGF0aCBkPSJNOCAwYTggOCAwIDEgMS04IDggOC4wMSA4LjAxIDAgMCAxIDgtOFoiIGZpbGw9IiNGRUIzMDAiLz48cGF0aCBkPSJNOC4xMTEgMTJhLjc4Ljc4IDAgMSAwIC4wMDYtMS41Ni43OC43OCAwIDAgMC0uMDA2IDEuNTZaTTcuNTU2IDRhLjIxLjIxIDAgMCAwLS4yMTIuMjE4bC4yNDQgNS4xMzNhLjExNy4xMTcgMCAwIDAgLjExNi4xMWguODE1YS4xMTguMTE4IDAgMCAwIC4xMTctLjExbC4yNDMtNS4xMzNBLjIwOC4yMDggMCAwIDAgOC42NjYgNGgtMS4xMVoiIGZpbGw9IiNGRkYiLz48L2c+PC9zdmc+",ci=re(59301),Nu=Object.defineProperty,Tu=Object.defineProperties,Yi=Object.getOwnPropertyDescriptors,Qr=Object.getOwnPropertySymbols,wu=Object.prototype.hasOwnProperty,wl=Object.prototype.propertyIsEnumerable,Ju=(ve,Ee,pe)=>Ee in ve?Nu(ve,Ee,{enumerable:!0,configurable:!0,writable:!0,value:pe}):ve[Ee]=pe,Fs=(ve,Ee)=>{for(var pe in Ee||(Ee={}))wu.call(Ee,pe)&&Ju(ve,pe,Ee[pe]);if(Qr)for(var pe of Qr(Ee))wl.call(Ee,pe)&&Ju(ve,pe,Ee[pe]);return ve},Eu=(ve,Ee)=>Tu(ve,Yi(Ee)),iu=(ve,Ee)=>{var pe={};for(var at in ve)wu.call(ve,at)&&Ee.indexOf(at)<0&&(pe[at]=ve[at]);if(ve!=null&&Qr)for(var at of Qr(ve))Ee.indexOf(at)<0&&wl.call(ve,at)&&(pe[at]=ve[at]);return pe};const Ql=[{name:"\u57FA\u672C\u4FE1\u606F",icon:ci.createElement("i",{className:"icon iconfont icon-jibenxinxi1"}),tabId:"information"},{name:"\u4EE3\u7801\u4ED3\u5E93",icon:ci.createElement("i",{className:"icon iconfont icon-daimacangku"}),tabId:"warehouse"},{name:"\u4EFB\u52A1\u5173\u5361",icon:ci.createElement("i",{className:"icon iconfont icon-renwuguanka"}),tabId:"level"},{name:"\u5B9E\u9A8C\u73AF\u5883",icon:ci.createElement("i",{className:"icon iconfont icon-shiyanhuanjing"}),tabId:"environment"},{name:"\u6570\u636E\u96C6",icon:ci.createElement("i",{className:"icon iconfont icon-shujuji",style:{fontSize:25}}),tabId:"dataset"},{name:"\u670D\u52A1\u4E0E\u8BC4\u6D4B",icon:ci.createElement("i",{className:"icon iconfont icon-renwuguanka"}),tabId:"service"},{name:"\u5408\u4F5C\u4EBA\u5458",icon:ci.createElement("i",{className:"icon iconfont icon-hezuochengyuan"}),tabId:"collaborate"},{name:"\u8BBE\u7F6E",icon:ci.createElement("i",{className:"icon iconfont icon-shezhi5"}),tabId:"setting"},{name:"\u95EE\u7B54\u96C6",icon:ci.createElement("i",{className:"icon iconfont icon-wendaji"}),tabId:"catechism"}],as=ve=>{var Ee=ve,{globalSetting:pe,loading:at,dispatch:Qt,shixunsDetail:Ln,practiceSetting:wn}=Ee,un=iu(Ee,["globalSetting","loading","dispatch","shixunsDetail","practiceSetting"]),st;const{base_info_warning:dn,challenges_warning:Ea,id:Qa,repository_warning:ia,sideBar:Oa,service_warning:Ia}=wn,Wr=(0,Ie.useLocation)(),ga=(0,Ie.useParams)(),[ea]=(0,Ie.useSearchParams)();(0,b.useEffect)(()=>{var Ta;const ur=ea.get("tabId"),la=Wr.pathname.split("/").length,qa=((Ta=Ln==null?void 0:Ln.detail)!=null&&Ta.windows_vnc?Ql.filter(ka=>ka.tabId!=="dataset"):Ql).map(ka=>ka.tabId).includes(ur);if(ur&&qa){Qt({type:"practiceSetting/setSideBarTabs",payload:{tabsActive:ur}});return}if(la>4){Qt({type:"practiceSetting/setSideBarTabs",payload:{tabsActive:"level"}});return}if(!ur||ur&&!qa){Qt({type:"practiceSetting/setSideBarTabs",payload:{tabsActive:"information"}});return}},[(st=Ln==null?void 0:Ln.detail)==null?void 0:st.windows_vnc]),(0,b.useEffect)(()=>()=>{Qt({type:"practiceSetting/setSideBarTabs",payload:Eu(Fs({},wn.sideBar),{selectPath:""})})},[ga.id]);const Ir=Ta=>{var ur;if(Ta===Oa.tabsActive)return;const la=()=>{Ie.history.push(`/shixuns/${Qa}/edit?tabId=${Ta}`),Qt({type:"practiceSetting/setSideBarTabs",payload:{tabsActive:Ta,selectPath:"",confirmLeave:!1}})};(ur=wn==null?void 0:wn.sideBar)!=null&&ur.confirmLeave?he.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:()=>{la()}}):la()},Sr=()=>{var Ta;return((Ta=Ln==null?void 0:Ln.detail)!=null&&Ta.windows_vnc?Ql.filter(la=>la.tabId!=="dataset"):Ql).filter(la=>{var Qn;return(Qn=Ln==null?void 0:Ln.detail)!=null&&Qn.is_jupyter_lab?la.tabId!=="level":la.tabId!=="service"}).map(la=>{const{name:Qn,icon:qa,tabId:ka}=la;return ci.createElement("div",{key:ka,className:`${wn.sideBar.tabsActive===ka?vl.itemActive:vl.item} font12`,onClick:()=>Ir(ka)},qa,ci.createElement("span",{className:vl.name},Qn),ka==="information"&&dn&&ci.createElement(ha.Z,{title:"\u8BF7\u5B8C\u5584\u57FA\u672C\u4FE1\u606F"},ci.createElement("img",{src:ou,alt:""})),ka==="level"&&Ea&&ci.createElement(ha.Z,{title:"\u8BF7\u521B\u5EFA\u4EFB\u52A1\u5173\u5361"},ci.createElement("img",{src:ou,alt:""})),ka==="service"&&Ia&&ci.createElement(ha.Z,{title:"\u8BF7\u8BBE\u7F6E\u9ED8\u8BA4\u6253\u5F00\u6587\u4EF6"},ci.createElement("img",{src:ou,alt:""})),ka==="warehouse"&&ia&&ci.createElement(ha.Z,{title:"\u8BF7\u5F00\u542F\u4EE3\u7801\u4ED3\u5E93"},ci.createElement("img",{src:ou,alt:""})))})};return ci.createElement("div",{className:vl.sidebar},ci.createElement("div",{className:vl.items},Sr()),ci.createElement("div",{className:vl.question},ci.createElement(ha.Z,{placement:"right",title:"\u5E38\u89C1\u95EE\u9898"},ci.createElement("span",{style:{cursor:"pointer"},onClick:()=>window.open(`${ENV.API_SERVER}/pdf/\u5B9E\u8BAD\u5236\u4F5C\u5E38\u89C1\u95EE\u9898.pdf`)},ci.createElement("img",{src:ts.Pt,height:44,width:44,alt:""})))))};var rs=(0,Ie.connect)(({loading:ve,globalSetting:Ee,shixunsDetail:pe,practiceSetting:at})=>({globalSetting:Ee,loading:ve,practiceSetting:at,shixunsDetail:pe}))(as),Ru={bottom:"bottom___AZ7c_",yes:"yes___iDEVN",no:"no___E02he"},vo=re(59301),Tr=Object.defineProperty,il=Object.getOwnPropertySymbols,Ci=Object.prototype.hasOwnProperty,ys=Object.prototype.propertyIsEnumerable,os=(ve,Ee,pe)=>Ee in ve?Tr(ve,Ee,{enumerable:!0,configurable:!0,writable:!0,value:pe}):ve[Ee]=pe,Is=(ve,Ee)=>{for(var pe in Ee||(Ee={}))Ci.call(Ee,pe)&&os(ve,pe,Ee[pe]);if(il)for(var pe of il(Ee))ys.call(Ee,pe)&&os(ve,pe,Ee[pe]);return ve},Wu=(ve,Ee,pe)=>new Promise((at,Qt)=>{var Ln=st=>{try{un(pe.next(st))}catch(dn){Qt(dn)}},wn=st=>{try{un(pe.throw(st))}catch(dn){Qt(dn)}},un=st=>st.done?at(st.value):Promise.resolve(st.value).then(Ln,wn);un((pe=pe.apply(ve,Ee)).next())});const Su=({classroomList:ve,loading:Ee,dispatch:pe,shixunsDetail:at})=>{var Qt,Ln;const wn=(0,Ie.useParams)(),un=(0,Ie.useLocation)(),[st,dn]=(0,b.useState)(!1),[Ea,Qa]=(0,b.useState)(!1),{actionTabs:ia}=ve,[Oa]=oe.default.useForm(),[Ia,Wr]=(0,b.useState)({name:"string"}),ga=Ta=>Ta&&Ta{console.log(wn),ve.actionTabs.key==="\u91CD\u540D\u4FEE\u6539"&&(Ia.name=ia==null?void 0:ia.name),Wr(Is({},Ia)),Oa.setFieldsValue({name:ia==null?void 0:ia.name})},[ve.actionTabs.key]);const Sr={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 vo.createElement(vo.Fragment,null,vo.createElement(he.default,{centered:!0,title:"\u63D0\u793A",open:ve.actionTabs.key==="\u540C\u6B65\u4FEE\u6539",width:460,zIndex:((Qt=ve==null?void 0:ve.actionTabs)==null?void 0:Qt.zIndex)||1e3,footer:null,onOk:()=>Wu(void 0,null,function*(){console.log(123123)}),onCancel:()=>{pe({type:"classroomList/setActionTabs",payload:{}})}},vo.createElement("div",null,vo.createElement("p",null,"\u672C\u5B9E\u8BAD\u4E3A\u521B\u5EFA\u4F5C\u4E1A/\u8003\u8BD5\u65F6\u590D\u5236\u751F\u6210\u7684\uFF0C",Sr[ve.actionTabs.type],"\uFF1F")),vo.createElement("div",{className:Ru.bottom},vo.createElement(le.ZP,{loading:Ee["shixunsDetail/saveCopyForExercise"]&&Ea,className:Ru.no,onClick:()=>Wu(void 0,null,function*(){var Ta;Qa(!0),(Ta=ve.actionTabs)!=null&&Ta.value?ve.actionTabs.fn(ve.actionTabs.value,!0,2):ve.actionTabs.fn(!0,2)})},"\u540C\u6B65\u4FEE\u6539\u539F\u5B9E\u8BAD"),vo.createElement(le.ZP,{loading:Ee["shixunsDetail/saveCopyForExercise"]&&!Ea,className:Ru.yes,onClick:()=>Wu(void 0,null,function*(){var Ta;Qa(!1),(Ta=ve.actionTabs)!=null&&Ta.value?ve.actionTabs.fn(ve.actionTabs.value,!1,1):ve.actionTabs.fn(!1,1)})},"\u4EC5\u4FDD\u5B58\u672C\u5B9E\u8BAD"))),vo.createElement(he.default,{centered:!0,title:"\u63D0\u793A",open:ve.actionTabs.key==="\u91CD\u540D\u4FEE\u6539",okText:"\u4FDD\u5B58\u540D\u79F0",cancelText:"\u4E0D\u66F4\u6362\u540D\u79F0",destroyOnClose:!0,width:550,confirmLoading:st,onOk:()=>Wu(void 0,null,function*(){var Ta,ur;yield Oa.validateFields();const la=Oa.getFieldValue();dn(!0);const Qn=yield(0,Ke.ZP)(`/api/shixuns/${wn==null?void 0:wn.id}/update_shixun_name.json`,{method:"post",body:{shixun_name:la.name}});dn(!1),Qn.status===0&&(Xe.ZP.success("\u4FEE\u6539\u6210\u529F"),pe({type:"practiceSetting/getCommonData",payload:{id:wn.id}}),(Ta=ve.actionTabs)!=null&&Ta.getBaseInfo&&((ur=ve.actionTabs)==null||ur.getBaseInfo())),pe({type:"classroomList/setActionTabs",payload:{}})}),onCancel:()=>{pe({type:"classroomList/setActionTabs",payload:{}})}},vo.createElement("div",null,vo.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"),vo.createElement(oe.default,{form:Oa,initialValues:{name:ea},onChange:()=>{Wr(Oa.getFieldValue())}},vo.createElement(oe.default.Item,{name:"name",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5B9E\u8BAD\u540D\u79F0"}]},vo.createElement(ye.Z,{className:"mt30",align:"middle"},vo.createElement(Ge.Z,{className:"font14"},"\u5B9E\u8BAD\u540D\u79F0\uFF1A"),vo.createElement(Ge.Z,{flex:"1"},vo.createElement(ie.default,{maxLength:60,defaultValue:ia==null?void 0:ia.name,suffix:vo.createElement("span",null,((Ln=Ia==null?void 0:Ia.name)==null?void 0:Ln.length)||0,"/",60)}))))))))};var Ns=(0,Ie.connect)(({classroomList:ve,loading:Ee,shixunsDetail:pe})=>({classroomList:ve,loading:Ee.effects,shixunsDetail:pe}))(Su),lu=re(59301),Ts=Object.defineProperty,is=Object.defineProperties,bs=Object.getOwnPropertyDescriptors,uu=Object.getOwnPropertySymbols,Rs=Object.prototype.hasOwnProperty,ls=Object.prototype.propertyIsEnumerable,Qu=(ve,Ee,pe)=>Ee in ve?Ts(ve,Ee,{enumerable:!0,configurable:!0,writable:!0,value:pe}):ve[Ee]=pe,us=(ve,Ee)=>{for(var pe in Ee||(Ee={}))Rs.call(Ee,pe)&&Qu(ve,pe,Ee[pe]);if(uu)for(var pe of uu(Ee))ls.call(Ee,pe)&&Qu(ve,pe,Ee[pe]);return ve},Bs=(ve,Ee)=>is(ve,bs(Ee)),$s=(ve,Ee)=>{var pe={};for(var at in ve)Rs.call(ve,at)&&Ee.indexOf(at)<0&&(pe[at]=ve[at]);if(ve!=null&&uu)for(var at of uu(ve))Ee.indexOf(at)<0&&ls.call(ve,at)&&(pe[at]=ve[at]);return pe};const qu=ve=>{var Ee=ve,{globalSetting:pe,loading:at,dispatch:Qt,practiceSetting:Ln}=Ee,wn=$s(Ee,["globalSetting","loading","dispatch","practiceSetting"]);const{sideBar:un}=Ln,{tabsActive:st}=un;let dn=(0,Ie.useParams)();return(0,b.useEffect)(()=>(Qt({type:"globalSetting/headerFooterToggle",payload:!1}),Qt({type:"shixunsDetail/getShixunsDetail",payload:Bs(us({},dn),{shixun_managed:!0})}),()=>{Qt({type:"globalSetting/headerFooterToggle",payload:!0}),Qt({type:"practiceSetting/setParams",payload:{id:""}})}),[]),lu.createElement("div",{className:Be.practiceSetting},lu.createElement("div",{className:Be.wrapHeader},lu.createElement(y,null)),lu.createElement("div",{className:Be.wrapLayout},lu.createElement("div",{className:Be.wrapSidebar},lu.createElement(rs,null)),lu.createElement("div",{className:Be.wrapContent},lu.createElement(Bu,Bs(us({},wn),{tabsActive:Ln.sideBar.tabsActive})))),lu.createElement(Ns,null))};var ss=(0,Ie.connect)(({loading:ve,globalSetting:Ee,practiceSetting:pe})=>({globalSetting:Ee,loading:ve,practiceSetting:pe}))(qu)},21693:function(je,Nt,re){"use strict";re.d(Nt,{S:function(){return lt},m:function(){return he}});var b=re(49661),Be=re(8591),Je=re(43418),Te=re(59301),Ze=(Xe,Ke,Ie)=>new Promise((tt,ot)=>{var Qe=E=>{try{a(Ie.next(E))}catch(x){ot(x)}},de=E=>{try{a(Ie.throw(E))}catch(x){ot(x)}},a=E=>E.done?tt(E.value):Promise.resolve(E.value).then(Qe,de);a((Ie=Ie.apply(Xe,Ke)).next())});const lt=Xe=>{let Ke=document.createElement("textarea");return Ke.value=Xe,Ke.value},he=(Xe,Ke,Ie,tt,ot)=>Ze(void 0,null,function*(){var Qe,de;const a=yield Xe({type:"shixunsDetail/saveCopyForExercise",payload:{id:Ie,save_type:tt}});tt===1?((a==null?void 0:a.status)==0&&Be.ZP.success("\u4FDD\u5B58\u6210\u529F"),(Qe=a==null?void 0:a.data)!=null&&Qe.exists_same_shixun_name?Xe({type:"classroomList/setActionTabs",payload:{key:"\u91CD\u540D\u4FEE\u6539",name:(de=a==null?void 0:a.data)==null?void 0:de.shixun_name}}):Xe({type:"classroomList/setActionTabs",payload:{}})):(Xe({type:"classroomList/setActionTabs",payload:{}}),(a==null?void 0:a.status)===0&&Je.default.info({title:"\u63D0\u793A",width:460,icon:null,centered:!0,content:Te.createElement("div",null,Te.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,x;(0,b.xg)(`/shixuns/${(x=(E=Ke==null?void 0:Ke.detail)==null?void 0:E.fork_from)==null?void 0:x.fork_identifier}/challenges`)}}))})},88195:function(je,Nt,re){"use strict";re.d(Nt,{Z:function(){return ee}});var b=re(59301),Be=re(76560),Je=re(92832),Te=re(78241),Ze=re(43418),lt=re(8591),he=re(54580),Xe=re(3113),Ke=re(90524),Ie=re(55351),tt={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"},ot=Object.getOwnPropertySymbols,Qe=Object.prototype.hasOwnProperty,de=Object.prototype.propertyIsEnumerable,a=(ne,oe)=>{var le={};for(var ie in ne)Qe.call(ne,ie)&&oe.indexOf(ie)<0&&(le[ie]=ne[ie]);if(ne!=null&&ot)for(var ie of ot(ne))oe.indexOf(ie)<0&&de.call(ne,ie)&&(le[ie]=ne[ie]);return le},E=(ne,oe,le)=>new Promise((ie,Ce)=>{var ye=St=>{try{Re(le.next(St))}catch(ht){Ce(ht)}},Ge=St=>{try{Re(le.throw(St))}catch(ht){Ce(ht)}},Re=St=>St.done?ie(St.value):Promise.resolve(St.value).then(ye,Ge);Re((le=le.apply(ne,oe)).next())});const x=Je.default.TextArea,y=ne=>{var oe=ne,{newShixuns:le,globalSetting:ie,loading:Ce,dispatch:ye}=oe,Ge=a(oe,["newShixuns","globalSetting","loading","dispatch"]);const[Re]=Te.default.useForm(),[St,ht]=(0,b.useState)([]),pt=_t=>{["uploading","done","removed"].includes(_t.file.status)&&ht(_t.fileList)},Gn=_t=>{var In;if(!_t.percent||_t.percent==100){const ct=(In=_t.response)==null?void 0:In.id;return Ze.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 ye({type:"newShixuns/deleteAttachment",payload:{id:ct}}))&&ht(St.filter(ln=>{var fn;return((fn=ln.response)==null?void 0:fn.id)!==ct}))})}),!1}},Tn=_t=>St.length?!1:_t.size/1024/1024>50?(lt.ZP.info("\u6587\u4EF6\u5927\u5C0F\u5FC5\u987B\u5C0F\u4E8E50MB"),!1):!0,da=_t=>E(void 0,null,function*(){var In,ct;const{language:Tt,env:ln,mode:fn,code:vn}=_t||{},nt=yield ye({type:"newShixuns/applyShixunMirror",payload:{language:Tt,runtime:ln,run_method:fn,attachment_id:(ct=(In=St==null?void 0:St[0])==null?void 0:In.response)==null?void 0:ct.id}});ye({type:"newShixuns/setActionTabs",payload:{}}),nt&<.ZP.success("\u65B0\u5EFA\u7533\u8BF7\u5DF2\u63D0\u4EA4\uFF0C\u8BF7\u7B49\u5F85\u7BA1\u7406\u5458\u5BA1\u6838\u3002")}),$n=()=>{Re.resetFields(),ht([])};return b.createElement(Ze.default,{centered:!0,keyboard:!1,closable:!1,destroyOnClose:!0,open:le.actionTabs.key==="NewShixuns-Apply",title:"\u7533\u8BF7\u65B0\u5EFA",width:"1000px",footer:null,afterClose:$n},b.createElement("section",{className:tt.qrCode},b.createElement("aside",{className:tt.a1},b.createElement("div",{className:tt.code},b.createElement("img",{width:120,height:120,src:Ie,alt:"\u4E8C\u7EF4\u7801"})),b.createElement("div",{className:tt.group},"\u5B9E\u9A8C\u73AF\u5883\u7533\u8BF7QQ\u7FA4"),b.createElement("div",{className:tt.groupNumber},"\u7FA4\u53F7\uFF1A740157011")),b.createElement("aside",{className:tt.a2},"\u5C0A\u656C\u7684\u8001\u5E08/\u540C\u5B66\u60A8\u597D\uFF0C",b.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")),b.createElement(Te.default,{className:tt.formWrap,form:Re,labelCol:{span:4},wrapperCol:{span:20},onFinish:da},b.createElement(Te.default.Item,{label:"\u8BED\u8A00\uFF1A",name:"language",rules:[{required:!0,message:"\u8BF7\u586B\u5199\u8BE5\u955C\u50CF\u8BED\u8A00"}]},b.createElement(x,{placeholder:"\u8BF7\u586B\u5199\u8BE5\u955C\u50CF\u662F\u57FA\u4E8E\u4EC0\u4E48\u8BED\u8A00\uFF1A\u793A\u4F8B\uFF1APython",rows:4})),b.createElement(Te.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"}]},b.createElement(x,{placeholder:"\u8BF7\u586B\u5199\u8BE5\u955C\u50CF\u662F\u57FA\u4E8E\u4EC0\u4E48linux\u7CFB\u7EDF\u73AF\u5883,\u4EE3\u7801\u8FD0\u884C\u73AF\u5883",rows:4})),b.createElement(Te.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"}]},b.createElement(x,{placeholder:"\u8BF7\u586B\u5199\u8BE5\u955C\u50CF\u4E2D\u6D4B\u8BD5\u4EE3\u7801\u8FD0\u884C\u65B9\u5F0F",rows:4})),b.createElement(Te.default.Item,{label:"\u6D4B\u8BD5\u4EE3\u7801\uFF1A",name:"code",rules:[{required:!0,message:"\u8BF7\u4E0A\u4F20\u9644\u4EF6"}]},b.createElement("div",{className:tt.upload},b.createElement(he.default,{fileList:St,action:`${Ke.Z.API_SERVER}/api/attachments.json?client_key=6d57f8c3dd186c5ada392546ace9620a`,onChange:pt,onRemove:Gn,beforeUpload:Tn,withCredentials:!0},b.createElement("span",{className:`${tt.color0152d9} current`},"\u4E0A\u4F20\u9644\u4EF6"),b.createElement("span",{className:`${tt.colorCCC} ml10`},"(\u5355\u4E2A\u6587\u4EF650M\u4EE5\u5185)")))),b.createElement("div",{className:tt.footerWrap},b.createElement(Te.default.Item,null,b.createElement(Xe.ZP,{className:"mr5",size:"middle",onClick:()=>{ye({type:"newShixuns/setActionTabs",payload:{}})}},"\u53D6\u6D88"),b.createElement(Xe.ZP,{size:"middle",type:"primary",htmlType:"submit",loading:Ce["newShixuns/applyShixunMirror"]},"\u4FDD\u5B58")))))};var ee=(0,Be.connect)(({newShixuns:ne,loading:oe,globalSetting:le})=>({newShixuns:ne,globalSetting:le,loading:oe.effects}))(y)},84722:function(je,Nt,re){"use strict";var b=re(59301),Be=re(76560),Je=re(43418),Te=re(55351);const Ze=({newShixuns:lt,dispatch:he,user:Xe})=>{var Ke;const[Ie,tt]=(0,b.useState)(!1);(0,b.useEffect)(()=>{lt.actionTabs.key==="Create-Environment"&&Qe()},[(Ke=lt==null?void 0:lt.actionTabs)==null?void 0:Ke.key]);const ot=()=>{he({type:"newShixuns/setActionTabs",payload:{}})},Qe=()=>{var de,a,E,x;ot(),((de=Xe.userInfo)==null?void 0:de.mirror_marker_status)===0?tt(!0):((a=Xe.userInfo)==null?void 0:a.mirror_marker_status)===1?Be.history.push(`/users/${(E=Xe.userInfo)==null?void 0:E.login}/experiment-img/add`):((x=Xe.userInfo)==null?void 0:x.mirror_marker_status)===2&&Je.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;Be.history.push(`/users/${(y=Xe.userInfo)==null?void 0:y.login}/experiment-img`)}})};return b.createElement(Je.default,{title:"\u52A0\u5165qq\u7FA4\u63D0\u793A",open:Ie,footer:null,onCancel:()=>{tt(!1)}},b.createElement("div",{style:{textAlign:"center"}},b.createElement("br",null),b.createElement("img",{width:120,height:120,style:{marginTop:"20px"},src:Te,alt:"\u4E8C\u7EF4\u7801"})),b.createElement("img",null))};Nt.Z=(0,Be.connect)(({newShixuns:lt,user:he,globalSetting:Xe})=>({newShixuns:lt,globalSetting:Xe,user:he}))(Ze)},2610:function(je,Nt,re){"use strict";re.d(Nt,{BU:function(){return Be},Dj:function(){return b},gH:function(){return Je},vp:function(){return Te}});function b(Ze){try{Ze.mozRequestFullScreen?Ze.mozRequestFullScreen():Ze.webkitRequestFullScreen&&Ze.webkitRequestFullScreen()}catch(lt){console.log(lt,":e")}}function Be(){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 Je=()=>{if(document.webkitExitFullscreen)return"webkitfullscreenchange";if(document.exitFullscreen)return"fullscreenchange";if(document.msExitFullscreen)return"msfullscreenchange";if(document.mozCancelFullScreen)return"mozfullscreenchange"};function Te(){var Ze=window.top.document.fullscreenElement||window.top.document.mozFullscreenElement||window.top.document.webkitFullscreenElement,lt=document.fullscreenEnabled||document.mozFullscreenEnabled||document.webkitFullscreenEnabled;return console.log("fullscreenElement",Ze),window.isFullScreen?window.isFullScreen:Ze!=null}},23869:function(je,Nt,re){"use strict";re.d(Nt,{rX:function(){return oe},pW:function(){return le},gy:function(){return ie},xY:function(){return ne},O5:function(){return ee},tJ:function(){return de},o1:function(){return a},Rd:function(){return y}});var b=re(76560),Be=re(43418),Je=re(28103),Te=re(8591),Ze=re(34055),lt=re(49661),he=re(87169),Xe=re(25510),Ke="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZAAAAGQCAIAAAAP3aGbAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAABcRAAAXEQHKJvM/AAAouElEQVR42u3de5gU1Z038HOqqu89PQPMhQHkNqCiCCK5qMRojIkXRNFERDTGNRvik5hNjPtgzEuyJLq6sq/EbEyy+u5jjBEhSEREvKyXQJRVs1FEMARhhhlgLsDAMD3T96o67x8zzPQMPTPVU12XX8/38/D4PDZdVedUd3+py6nf4UIIBgBAgeR0AwAAjEJgAQAZCCwAIAOBBQBkILAAgAwEFgCQgcACADIQWABABgILAMhAYAEAGQgsACADgQUAZCCwAIAMxfhbOedOt7a/nKUmcrbT2aIUxned8Xaa/DhMbsi2dppk8nO3ovG27XnbemTbDmE4wgIAQhBYAEAGAgsAyEBgAQAZCCwAIAOBBQBk5DGsIaedO3dWVFRY3cpVq1atXLnS4JuNj3WwgvF7tCbHZFhxe9u2dZp8Z04uHGlhxbAbKz44F/6KB2I2sCoqKqqqqqzuajgctnoTACMWoV8xTgkBgAwEFgCQgcACADIQWABABgILAMgwe5cwJ5O3jVtaWgp+z8KKW+bOPvjuwq1bMaTD+OLG2+ks2/aSSS78FTMcYQEAIQgsACADgQUAZCCwAIAMBBYAkIHAAgAyLBnW4CxnS/fb9k4r7nk7W8LBClZUQbBiYIEVI2ycnXjFIjjCAgAyEFgAQAYCCwDIQGABABkILAAgA4EFAGQU4bAGK25Fu/Besm03wm27i2/bEATbNmTbN6QoRzDkhCMs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tHWABABgILAMhAYAEAGQgsACADgQUAZCCwAIAMBBYAkIHAAgAyEFgAQAYCCwDIQGABABkILAAgA4EFAGQgsACAjP8Prqme11Be/zoAAAAASUVORK5CYII=",Ie=re.p+"static/newqrcode.a8740efb.png",tt=re(32637),ot=re(59301),Qe=(Ce,ye,Ge)=>new Promise((Re,St)=>{var ht=Tn=>{try{Gn(Ge.next(Tn))}catch(da){St(da)}},pt=Tn=>{try{Gn(Ge.throw(Tn))}catch(da){St(da)}},Gn=Tn=>Tn.done?Re(Tn.value):Promise.resolve(Tn.value).then(ht,pt);Gn((Ge=Ge.apply(Ce,ye)).next())});const de=(Ce,ye=!1)=>!!(a(Ce)&&E(ye)),a=Ce=>(0,Ze.bg)()?!0:(Ce({type:"user/showPopLogin",payload:{showPopLogin:!0,showClosable:!0}}),!1),E=(Ce=!1)=>{var ye;const{user:Ge}=(0,b.getDvaApp)()._store.getState();return(ye=Ge.userInfo)!=null&&ye.profile_completed?!0:(Be.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,lt.xg)("/account/profile/edit"),x()}}),!1)},x=()=>{Be.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()}})},y=()=>{Be.default.warning({title:"\u63D0\u793A",icon:null,width:400,content:ot.createElement("div",{style:{textAlign:"center"}},ot.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"),ot.createElement("img",{style:{border:"1px solid #D8E3E9",width:190,height:180},src:tt}),ot.createElement("div",{style:{color:"#666666",fontSize:14,marginTop:15}},"\u6DFB\u52A0\u5BA2\u670D\u4EBA\u5458\u5FAE\u4FE1\uFF0C\u83B7\u5F97\u66F4\u591A\u652F\u6301"))})},ee=()=>{var Ce;const{user:ye}=(0,b.getDvaApp)()._store.getState();return(Ce=ye.userInfo)!=null&&Ce.professional_certification?!0:(Be.default.confirm({title:"\u63D0\u793A",centered:!0,content:ot.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,lt.xg)("/account/certification")}}),!1)},ne=()=>(0,Ze.V9)()?!0:(Be.default.warning({centered:!0,width:530,title:"\u63D0\u793A",content:ot.createElement("div",{className:"tc",style:{marginLeft:-38}},ot.createElement("p",null,"\u626B\u7801\u52A0\u52A9\u6559\uFF0C\u7533\u8BF7\u64CD\u4F5C\u6743\u9650"),ot.createElement("img",{src:Ie,width:200})),okText:"\u6211\u77E5\u9053\u4E86",maskClosable:!0}),!1),oe=(Ce,ye)=>Ce?!0:(Be.default.confirm({centered:!0,zIndex:1e4,width:530,title:"\u63D0\u793A",content:ot.createElement("div",null,ot.createElement("p",null,ye||"\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"),ot.createElement("div",{style:{marginLeft:"110px"}},ot.createElement("img",{src:Ke,width:200}),ot.createElement("div",{style:{marginLeft:"35px"}},"\u7FA4\u53F7\uFF1A","714336072"))),okText:"\u7ACB\u5373\u8054\u7CFB",cancelText:"\u53D6\u6D88",onOk:()=>{(0,lt.xg)("https://qm.qq.com/cgi-bin/qm/qr?k=tIyDPXUtE0yEk-MOJxhH55lTUJS-nYAM&jump_from=webapi")}}),!1),le=Ce=>{Be.default.info({title:"\u8054\u7CFB\u5E73\u53F0\u8FD0\u8425",icon:null,width:615,centered:!0,content:ot.createElement("div",null,ot.createElement("div",null,ot.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"),ot.createElement(Je.Z,null),ot.createElement("p",{style:{color:"#666666",fontSize:12}}," ",ot.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 ",ot.createElement("a",null,Ce),"\u5929\u3002"),ot.createElement("p",{style:{color:"#666666",fontSize:12}}," ",ot.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")),ot.createElement("div",{style:{textAlign:"center",marginTop:30}},ot.createElement("img",{style:{border:"4px solid #0152d9",borderRadius:"4px"},src:Xe,alt:"\u4E8C\u7EF4\u7801",width:160})))})},ie=(Ce,ye="")=>{const{shixunsDetail:{detail:Ge}}=(0,b.getDvaApp)()._store.getState();if((Ge==null?void 0:Ge.public)===2||(Ge==null?void 0:Ge.public)===1||(Ge==null?void 0:Ge.shixun_status)===3){let Re="";return(Ge==null?void 0:Ge.public)===2&&(Re="\u5DF2\u516C\u5F00"),(Ge==null?void 0:Ge.public)===1&&(Re="\u5F85\u5BA1\u6838"),(Ge==null?void 0:Ge.shixun_status)===3&&(Re="\u5DF2\u5173\u95ED"),Be.default.info({centered:!0,icon:ot.createElement(he.Z,{style:{color:"#faad14"}}),width:460,title:"\u63D0\u793A",content:ot.createElement("div",{className:"tc",style:{marginLeft:-38}},ot.createElement("div",{style:{display:"flex",flexDirection:"column",alignItems:"flex-start",paddingLeft:38,margin:"12px 0"}},ot.createElement("span",null,"\u8BE5\u5B9E\u8DF5\u9879\u76EE\u7684\u72B6\u6001\u4E3A",Re,"\uFF0C",ye,"\u3002"),ot.createElement("p",null,"\u5982\u6709\u9700\u8981\uFF0C\u8BF7\u8054\u7CFB\u5E73\u53F0\u7BA1\u7406\u5458\u8FDB\u884C\u6280\u672F\u652F\u6301\u3002")),ot.createElement("img",{style:{border:"4px solid #0152d9",borderRadius:"4px"},src:Xe,alt:"\u4E8C\u7EF4\u7801",width:160})),okText:"\u6211\u77E5\u9053\u4E86"}),!0}return(Ge==null?void 0:Ge.shixun_status)===2?(Be.default.confirm({centered:!0,icon:ot.createElement(he.Z,null),title:"\u63D0\u793A",content:ot.createElement("div",null,ot.createElement("span",null,"\u8BE5\u5B9E\u8DF5\u9879\u76EE\u5DF2\u53D1\u5E03\uFF0C",ye,"\u3002"),ot.createElement("br",null),ot.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:()=>{Be.default.confirm({width:440,centered:!0,icon:ot.createElement(he.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:()=>Qe(void 0,null,function*(){(yield Ce({type:"shixunsDetail/cancelRelease",payload:{id:Ge==null?void 0:Ge.identifier}})).status!==401&&(Te.ZP.success("\u64A4\u9500\u53D1\u5E03\u6210\u529F\u3002\u5B9E\u8BAD\u56DE\u5230\u672A\u53D1\u5E03\u7684\u72B6\u6001\u3002"),Ce({type:"shixunsDetail/getShixunsDetail",payload:{id:Ge==null?void 0:Ge.identifier}}),Ce({type:"practiceSetting/getCommonData",payload:{id:Ge==null?void 0:Ge.identifier}}))})})}}),!0):!1}},77578:function(je,Nt,re){"use strict";re.d(Nt,{Z:function(){return b}});const b=Be=>Be?typeof Be=="function"?Be():Be:null},46400:function(je,Nt,re){"use strict";re.d(Nt,{Z:function(){return $n}});var b=re(29679),Be=re(19248),Je=re(99267),Te=re(96512),Ze=re(78987),lt=re(92310),he=re.n(lt),Xe=re(77900),Ke=re(26112),Ie=re(59301),tt=re(92343),ot=re(36355),Qe=re(17313),de=re(83116);const a=(_t,In,ct,Tt,ln)=>({backgroundColor:_t,border:`${Tt.lineWidth}px ${Tt.lineType} ${In}`,[`${ln}-icon`]:{color:ct}}),E=_t=>{const{componentCls:In,motionDurationSlow:ct,marginXS:Tt,marginSM:ln,fontSize:fn,fontSizeLG:vn,lineHeight:nt,borderRadiusLG:vt,motionEaseInOutCirc:Bt,withDescriptionIconSize:Bn,colorText:nn,colorTextHeading:on,withDescriptionPadding:De,defaultPadding:Pe}=_t;return{[In]:Object.assign(Object.assign({},(0,Qe.Wf)(_t)),{position:"relative",display:"flex",alignItems:"center",padding:Pe,wordWrap:"break-word",borderRadius:vt,[`&${In}-rtl`]:{direction:"rtl"},[`${In}-content`]:{flex:1,minWidth:0},[`${In}-icon`]:{marginInlineEnd:Tt,lineHeight:0},"&-description":{display:"none",fontSize:fn,lineHeight:nt},"&-message":{color:on},[`&${In}-motion-leave`]:{overflow:"hidden",opacity:1,transition:`max-height ${ct} ${Bt}, opacity ${ct} ${Bt}, + `,onClick:()=>Zr(Zt.type,sn)})),_t.createElement(lt.Z,{spinning:xt},Fn(Zt.type)?_t.createElement("div",{style:{marginTop:(Zt==null?void 0:Zt.type)=="CPU"?xn?"7%":"":Kn?"7%":""}},_t.createElement(oe,{dataInfo:{y:br(Dt,Zt==null?void 0:Zt.type,1)||[],x:br(Dt,Zt==null?void 0:Zt.type,0)||[]},startAndEndTime:yt,colors:Ha,indexKey:sn,valueName:Dt.map(On=>On.name),imageTypeName:Dt.map(On=>{var Jn;return(Jn=On==null?void 0:On.promQueryResult)==null?void 0:Jn.imageTypeName}),key:`${sn}-${Da}`}),_t.createElement("div",{className:ie.info_con},_t.createElement("div",{className:ie.info_top},_t.createElement("div",null,"\u6700\u5927\u503C"),_t.createElement("div",null,"\u6700\u5C0F\u503C"),_t.createElement("div",null,"\u5E73\u5747\u503C")),Dt.map((On,Jn)=>{var ke;let rt=On==null?void 0:On.promQueryResult;return _t.createElement("div",{className:ie.listdata,key:Jn},_t.createElement("div",{className:ie.block,style:{backgroundColor:Ha[Jn],marginRight:10}}),_t.createElement("div",{className:ie.typename},(ke=On==null?void 0:On.promQueryResult)==null?void 0:ke.imageTypeName),_t.createElement("div",{className:ie.val},(Zt==null?void 0:Zt.type)=="CPU"?`${rt==null?void 0:rt.cpuMaxDoubleValue}Cores`:`${rt==null?void 0:rt.memoryDoubleMaxValue}MiB`),_t.createElement("div",{className:ie.val},(Zt==null?void 0:Zt.type)=="CPU"?`${rt==null?void 0:rt.cpuMinDoubleValue}Cores`:`${rt==null?void 0:rt.memoryDoubleMinValue}MiB`),_t.createElement("div",{className:ie.val},(Zt==null?void 0:Zt.type)=="CPU"?`${rt==null?void 0:rt.cpuAvgDoubleValue}Cores`:`${rt==null?void 0:rt.memoryDoubleAvgValue}MiB`))}))):_t.createElement(da.Z,null)))))},vn=re(59301),nt=(It,Ut,jt)=>new Promise((bn,Lt)=>{var Fe=Mt=>{try{gt(jt.next(Mt))}catch(qt){Lt(qt)}},xe=Mt=>{try{gt(jt.throw(Mt))}catch(qt){Lt(qt)}},gt=Mt=>Mt.done?bn(Mt.value):Promise.resolve(Mt.value).then(Fe,xe);gt((jt=jt.apply(It,Ut)).next())}),Bt=({getApi:It,identifier:Ut,visible:jt,info:bn})=>{const[Lt,Fe]=(0,b.useState)({}),[xe,gt]=(0,b.useState)(!0);(0,b.useEffect)(()=>{gt(!0)},[jt]),(0,b.useEffect)(()=>{It&&xe&&Mt()},[It]);const Mt=()=>nt(void 0,null,function*(){const qt=yield(0,de.ZP)(`/api/shixuns/${Ut}/cpu_basic_data.json`,{method:"get"});(qt==null?void 0:qt.status)==0&&Fe(qt)});return vn.createElement("div",null,vn.createElement(fn,{isFirst:xe,setIsFirst:qt=>gt(qt),identifier:Ut,data:Lt,info:bn}))},Bn=re(49661),nn=re(76560),on=re(67135),De=re(23869),Pe=re(59301),He=(It,Ut,jt)=>new Promise((bn,Lt)=>{var Fe=Mt=>{try{gt(jt.next(Mt))}catch(qt){Lt(qt)}},xe=Mt=>{try{gt(jt.throw(Mt))}catch(qt){Lt(qt)}},gt=Mt=>Mt.done?bn(Mt.value):Promise.resolve(Mt.value).then(Fe,xe);gt((jt=jt.apply(It,Ut)).next())});const Ft=({globalSetting:It,dispatch:Ut,practiceSetting:jt,shixunsDetail:bn,visible:Lt,onCancel:Fe,info:xe,identifier:gt,isJupyter:Mt,onOk:qt})=>{const[Vt,kt]=(0,b.useState)("1"),[rn,Wt]=(0,b.useState)("\u63A8\u8350\u914D\u7F6E"),[yt,an]=(0,b.useState)([]),[mt,At]=(0,b.useState)(!1),[xt,cn]=(0,b.useState)(!1),[Dt,Ot]=(0,b.useState)({}),[xn,Gt]=(0,b.useState)(!1);(0,b.useEffect)(()=>{Lt&&(cn(!1),kt("1"),Wt("\u63A8\u8350\u914D\u7F6E"),(xe==null?void 0:xe.type)=="\u6311\u6218\u9875\u9762"?an(["\u5F53\u524D\u914D\u7F6E","\u63A8\u8350\u914D\u7F6E"]):an(["\u5F53\u524D\u914D\u7F6E","\u63A8\u8350\u914D\u7F6E","\u589E\u5F3A\u914D\u7F6E"]),Ot({}),Kn(),(xe==null?void 0:xe.type)=="\u6311\u6218\u9875\u9762"&&Ut({type:"shixunsDetail/getShixunsDetail",payload:{id:gt}}))},[Lt]);const Kn=()=>He(void 0,null,function*(){Gt(!0);const Xa=yield(0,on.HS)(gt);[0,-10].includes(Xa.status)&&(Ot(Xa),Gt(!1))}),za=Xa=>{Xa=="2"?cn(!0):cn(!1),kt(Xa)},sr=()=>{Be.default.info({centered:!0,icon:null,width:424,title:"\u8054\u7CFB\u5E73\u53F0\u7BA1\u7406\u5458",content:Pe.createElement("div",{className:"tc"},Pe.createElement("img",{src:ot,alt:"\u4E8C\u7EF4\u7801",width:182,height:182,style:{pointerEvents:"none",userSelect:"none"}})),okText:"\u6211\u77E5\u9053\u4E86"})},Ya=()=>He(void 0,null,function*(){if((0,De.gy)(Ut,"\u4E0D\u80FD\u9009\u62E9/\u66F4\u6362\u5B9E\u9A8C\u73AF\u5883")||rn=="\u5F53\u524D\u914D\u7F6E")return;At(!0),(yield(0,de.ZP)(`/api/shixuns/${gt}/apply_recommend_config.json`,{method:"put",body:{data:rn=="\u63A8\u8350\u914D\u7F6E"?Dt==null?void 0:Dt.recommend:Dt==null?void 0:Dt.high}})).status==0&&(Je.ZP.success("\u5E94\u7528\u6210\u529F"),At(!1),Fe(),qt())}),Da=()=>He(void 0,null,function*(){var Xa,Dr;if(yield Lr(),(0,Bn.L9)(["\u5B9E\u8DF5\u9879\u76EE","\u8BBE\u7F6E","\u6A21\u62DF\u5B9E\u6218"]),(Xa=bn.detail)!=null&&Xa.is_jupyter||(Dr=bn.detail)!=null&&Dr.is_jupyter_lab){Ut({type:"shixunsDetail/execJupyter",payload:{id:gt}}).then(Zr=>{var br;Zr!=null&&Zr.identifier&&((br=nn.history)==null||br.push(`/tasks/${Zr.identifier}/jupyter`))});return}Ut({type:"globalSetting/setGlobalLoading",payload:{show:!0,text:"\u6B63\u5728\u8FDB\u5165\u5B9E\u8DF5\u9879\u76EE\uFF0C\u8BF7\u7A0D\u540E..."}});const Fa=Mt?yield(0,on.BK)({id:gt}):yield(0,on.Ir)({id:gt});if(Ut({type:"globalSetting/setGlobalLoading",payload:{show:!1,text:""}}),Fa!=null&&Fa.game_identifier||Fa!=null&&Fa.identifier){(0,Bn.xg)(Mt?`/tasks/${Fa==null?void 0:Fa.identifier}/jupyter`:`/tasks/${Fa.game_identifier}`);return}(Fa==null?void 0:Fa.status)===-3?(0,Bn.eF)():(Fa==null?void 0:Fa.status)===2?cr(Fa==null?void 0:Fa.message):(Fa==null?void 0:Fa.status)===3&&Ha(Fa==null?void 0:Fa.message)}),Lr=()=>new Promise((Xa,Dr)=>{var Fa;(Fa=jt==null?void 0:jt.sideBar)!=null&&Fa.confirmLeave?Be.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:()=>{Ut({type:"practiceSetting/setSideBarTabs",payload:{confirmLeave:!1}}),Xa()},onCancel:()=>{Dr()}}):Xa()}),cr=Xa=>{Xa=Xa!=null&&Xa.includes(".json")?Xa:`${Xa}.json`,Be.default.confirm({centered:!0,title:"\u63D0\u793A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",content:Pe.createElement("div",{className:"tc font16"},"\u5B9E\u8BAD\u5DF2\u7ECF\u66F4\u65B0\u4E86\uFF0C\u6B63\u5728\u4E3A\u60A8\u91CD\u7F6E!"),onOk:()=>He(void 0,null,function*(){const Dr=yield(0,de.ZP)("/api"+Xa,{method:"get"});if(!Dr)return;Je.ZP.success("\u91CD\u7F6E\u6210\u529F\uFF0C\u6B63\u5728\u8FDB\u5165\u5B9E\u8DF5\u9879\u76EE\uFF01");const Fa=yield(0,on.Ir)({id:Dr.shixun_identifier});if(Fa!=null&&Fa.game_identifier){(0,Bn.xg)(`/tasks/${Fa.game_identifier}`);return}(Fa==null?void 0:Fa.status)===2?cr(Fa==null?void 0:Fa.message):(Fa==null?void 0:Fa.status)===3&&Ha(Fa==null?void 0:Fa.message)})})},Ha=Xa=>{Be.default.confirm({centered:!0,title:"\u63D0\u793A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",content:Pe.createElement("div",{className:"tc font16"},"\u76EE\u524D\u8BE5\u5B9E\u8DF5\u9879\u76EE\u5C1A\u5728\u5185\u6D4B\u4E2D\uFF0C\u5C06\u4E8E",Xa,"\u4E4B\u540E\u5F00\u653E\uFF0C\u8C22\u8C22\uFF01")})};return Pe.createElement(Pe.Fragment,null,Pe.createElement(Te.Z,{title:null,placement:"right",open:Lt,width:1e3,onClose:Fe,closeIcon:null,footer:null},Pe.createElement("div",{className:Ke.header_body},Pe.createElement("span",null,"\u914D\u7F6E\u4E0E\u76D1\u63A7"),Pe.createElement(Ie.Z,{className:Ke.close,onClick:Fe})),Pe.createElement(Ze.default,{activeKey:Vt,onChange:za},Pe.createElement(Ze.default.TabPane,{tab:"\u63A8\u8350\u914D\u7F6E",key:1},Pe.createElement(lt.Z,{spinning:xn,size:"large",tip:Pe.createElement("div",{style:{color:"#666",fontSize:"14px"}},Pe.createElement("div",{style:{color:"#232B40",fontWeight:"bolder",marginBottom:24,marginTop:14}},"\u6B63\u5728\u8BA1\u7B97\u2026"),Pe.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",Pe.createElement("br",null),"\u8BF7\u8010\u5FC3\u7B49\u5F85\u2026"))},(Dt==null?void 0:Dt.status)==0?Pe.createElement(Pe.Fragment,null,Pe.createElement("div",{className:Ke.recommend_config_introduce},Pe.createElement("div",null,"\u5F53\u524D\u914D\u7F6E\uFF1A\u5B9E\u9A8C\u73AF\u5883\u76EE\u524D\u5DF2\u7ECF\u914D\u7F6E\u7684\u8D44\u6E90\u3002"),Pe.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"),Pe.createElement("div",null,"\u589E\u5F3A\u914D\u7F6E\uFF1A\u9002\u7528\u4E8E\u8D44\u6E90\u6D88\u8017\u8F83\u9AD8\u7684\u5B9E\u8DF5\u9879\u76EE\u3002")),Pe.createElement("div",{className:Ke.recommend_config},yt.map((Xa,Dr)=>Pe.createElement("div",{className:`${Ke.recommend_config_item} ${Xa==rn?Ke.recommend_config_active_item:""}`,key:Xa,onClick:()=>Wt(Xa)},Pe.createElement("div",{className:Ke.item_title},Pe.createElement("div",null,Xa),Dr==1?Pe.createElement("div",{className:Ke.recommend_text},"\u63A8\u8350"):Pe.createElement(Pe.Fragment,null)),(Xa=="\u5F53\u524D\u914D\u7F6E"&&(Dt==null?void 0:Dt.current)||Xa=="\u63A8\u8350\u914D\u7F6E"&&(Dt==null?void 0:Dt.recommend)||Xa=="\u589E\u5F3A\u914D\u7F6E"&&(Dt==null?void 0:Dt.high)||[]).map((Fa,Zr)=>Pe.createElement("div",{className:Ke.item_content,key:Zr},Pe.createElement("span",null,Fa==null?void 0:Fa.image_name),Fa!=null&&Fa.cpu_limit?Pe.createElement("span",null,Fa==null?void 0:Fa.cpu_limit,"\u6838",Fa==null?void 0:Fa.memory_limit,"G"):Pe.createElement("div",null,Pe.createElement("span",null,"\u6682\u65E0\u63A8\u8350"),Pe.createElement(he.Z,{title:Pe.createElement("div",{style:{lineHeight:"22px",padding:5}},"\u5B9E\u9A8C\u73AF\u5883\u4E3A\u7279\u6B8A\u7684\u4E13\u6709\u4E91\u6216\u65E0\u4F7F\u7528\u6570",Pe.createElement("br",null),"\u636E\uFF0C\u7CFB\u7EDF\u65E0\u6CD5\u7ED9\u51FA\u63A8\u8350\u503C\u3002\u4E00\u952E\u5E94\u7528",Pe.createElement("br",null),"\u7684\u65F6\u5019\uFF0C\u5C06\u4F7F\u7528\u539F\u914D\u7F6E\u3002")},Pe.createElement(tt.Z,{className:Ke.tooltip})))))))),Pe.createElement("div",{className:Ke.recommend_config_footer},Pe.createElement("div",null,Pe.createElement("span",null,"\u6CA1\u627E\u5230\u5408\u9002\u7684\u914D\u7F6E\uFF1F"),Pe.createElement("span",{style:{color:"#3061D0",cursor:"pointer"},onClick:()=>sr()},"\u8054\u7CFB\u7BA1\u7406\u5458")),Pe.createElement(Xe.ZP,{type:"primary",shape:"round",disabled:rn=="\u5F53\u524D\u914D\u7F6E",onClick:Ya,loading:mt},"\u4E00\u952E\u5E94\u7528"))):xn?Pe.createElement("div",{style:{height:400}}):Pe.createElement("div",{className:Ke.no_data},Pe.createElement("img",{src:Qe,style:{pointerEvents:"none",userSelect:"none",width:212,height:160}}),Pe.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",Pe.createElement("br",null),"\u5EFA\u8BAE\u60A8\u5148\u6A21\u62DF\u5B9E\u6218\u5E76\u901A\u5173~"),(xe==null?void 0:xe.type)!="\u6311\u6218\u9875\u9762"&&Pe.createElement("div",{className:Ke.application,onClick:()=>{Da(),Fe()}},"\u6A21\u62DF\u5B9E\u6218")))),Pe.createElement(Ze.default.TabPane,{tab:"\u8D44\u6E90\u76D1\u63A7",key:2},Pe.createElement(Bt,{getApi:xt,identifier:gt,visible:Lt,info:xe})))))};var bt=(0,nn.connect)(({globalSetting:It,practiceSetting:Ut,shixunsDetail:jt})=>({globalSetting:It,practiceSetting:Ut,shixunsDetail:jt}))(Ft)},40151:function(je,Nt,re){"use strict";re.d(Nt,{Z:function(){return Re}});var b=re(59301),Be=re(43418),Je=re(3113),Te=re(8591),Ze=re(99313),lt=re(71418),he=re(10311),Xe=re(5871),Ke=re(1710),Ie={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"},tt=re(11724),ot=re(62772),Qe=re(82093),de=re(57884),a=re(59301),E=Object.defineProperty,x=Object.defineProperties,y=Object.getOwnPropertyDescriptors,ee=Object.getOwnPropertySymbols,ne=Object.prototype.hasOwnProperty,oe=Object.prototype.propertyIsEnumerable,le=(St,ht,pt)=>ht in St?E(St,ht,{enumerable:!0,configurable:!0,writable:!0,value:pt}):St[ht]=pt,ie=(St,ht)=>{for(var pt in ht||(ht={}))ne.call(ht,pt)&&le(St,pt,ht[pt]);if(ee)for(var pt of ee(ht))oe.call(ht,pt)&&le(St,pt,ht[pt]);return St},Ce=(St,ht)=>x(St,y(ht)),ye=(St,ht,pt)=>new Promise((Gn,Tn)=>{var da=In=>{try{_t(pt.next(In))}catch(ct){Tn(ct)}},$n=In=>{try{_t(pt.throw(In))}catch(ct){Tn(ct)}},_t=In=>In.done?Gn(In.value):Promise.resolve(In.value).then(da,$n);_t((pt=pt.apply(St,ht)).next())}),Re=({visible:St,onOk:ht,onCancel:pt,info:Gn})=>{var Tn,da,$n,_t,In;const[ct,Tt]=(0,b.useState)("1"),[ln,fn]=(0,b.useState)([]),[vn,nt]=(0,b.useState)([]),[vt,Bt]=(0,b.useState)(0),[Bn,nn]=(0,b.useState)(null),[on,De]=(0,b.useState)(!1);(0,b.useEffect)(()=>{St&&(Pe(),He(),Ft())},[St]);const Pe=()=>{Tt("1"),fn([]),nn(null),Bt(0)};(0,b.useEffect)(()=>{var xe,gt;((gt=(xe=vn==null?void 0:vn[vt])==null?void 0:xe.content)==null?void 0:gt.length)>0&&nn(Ce(ie({},vn[vt].content[0]),{index:0}))},[ct,vt,vn]);const He=()=>ye(void 0,null,function*(){De(!0),yield(0,Qe.ZP)("/api/home/cpu_memory_limit.json",{method:"GET"}).then(xe=>{let{max_cpu:gt,max_memory:Mt,min_cpu:qt,min_memory:Vt}=xe,{cpu:kt,memory:rn}=Gn;fn([{name:"CPU",value:kt,min:qt,max:gt,typeName:"\u6838"},{name:"\u5185\u5B58",value:rn,min:Vt,max:Mt,typeName:"GB"}])}),De(!1)}),Ft=()=>ye(void 0,null,function*(){yield(0,Qe.ZP)("/api/home/example_cpu_list.json",{method:"GET"}).then(xe=>{var gt;if(nt(xe),(xe==null?void 0:xe.length)>0){let Mt=Ce(ie({},(gt=xe==null?void 0:xe[0])==null?void 0:gt.content[0]),{index:0});nn(Mt)}})}),bt=xe=>{Tt(xe),xe==="2"&&Bt(0)},It=(xe,gt)=>{fn(ln.map(Mt=>Mt.name===xe?gt(Mt):Mt))},Ut=(xe,gt)=>{isNaN(xe)||It(gt,Mt=>Ce(ie({},Mt),{value:xe}))},jt=xe=>{var gt;if(console.log("decline",xe.value),xe.value=Number(xe.value),xe.value<=((gt=xe.min)!=null?gt:-1/0))return;let Mt=xe.value-.5Ce(ie({},qt),{value:Mt}))},bn=xe=>{var gt;if(xe.value=Number(xe.value),xe.value>=((gt=xe.max)!=null?gt:1/0))return;let Mt=xe.value+.5>xe.max?xe.max:xe.value+.5;It(xe.name,qt=>Ce(ie({},qt),{value:Mt}))},Lt=(xe,gt)=>{isNaN(xe)||It(gt,Mt=>Ce(ie({},Mt),{value:xe}))},Fe=xe=>{if(xe==null||Number.isInteger(xe))return xe;const gt=xe%1;return gt===.5?xe:Math.floor(xe)+(gt<.5?.5:1)};return a.createElement(a.Fragment,null,a.createElement(Be.default,{title:"\u8D44\u6E90\u914D\u7F6E",open:St,width:752,destroyOnClose:!0,centered:!0,onCancel:pt,className:Ie.modal,footer:[a.createElement("div",{className:Ie.btn_warp,key:"1"},a.createElement(Je.ZP,{onClick:pt},"\u53D6\u6D88"),a.createElement(Je.ZP,{type:"primary",onClick:()=>{let xe=ie({},Gn);if(ct=="1")xe.cpu=ln[0].value,xe.memory=ln[1].value;else if(ct=="2"){if(!Bn){Te.ZP.error("\u8BF7\u9009\u62E9\u4E00\u6761\u573A\u666F\u5BF9\u5E94\u7684CPU\u4E0E\u5185\u5B58");return}xe=Ce(ie({},xe),{cpu:Bn.cpu,memory:Bn.memory})}ht(xe)}},"\u4FDD\u5B58"))]},a.createElement(Ze.default,{activeKey:ct,onChange:bt},a.createElement(Ze.default.TabPane,{tab:"\u81EA\u5B9A\u4E49\u914D\u7F6E",key:1},a.createElement(lt.Z,{spinning:on},ln==null?void 0:ln.map(xe=>a.createElement("div",{className:Ie.con_warp,key:xe==null?void 0:xe.name},a.createElement("div",null,xe==null?void 0:xe.name),a.createElement("div",null,a.createElement(he.Z,{min:xe==null?void 0:xe.min,max:xe==null?void 0:xe.max,onChange:gt=>Ut(gt,xe==null?void 0:xe.name),value:xe==null?void 0:xe.value,step:.5,style:{width:482,height:6,margin:"0 20px 0 12px"}})),a.createElement("div",{className:`${Ie.config_Warp} ${Ie.flex}`},a.createElement("div",{className:`${Ie.config_btn} ${Ie.flex}`,onClick:()=>jt(xe)},a.createElement(tt.Z,null)),a.createElement(Xe.Z,{min:xe==null?void 0:xe.min,max:xe==null?void 0:xe.max,size:"large",step:"0.1",controls:!1,style:{width:50},value:xe==null?void 0:xe.value,onChange:gt=>{const Mt=Fe(gt);Lt(Mt,xe==null?void 0:xe.name)}}),a.createElement("div",{className:`${Ie.config_btn} ${Ie.flex}`,onClick:()=>bn(xe)},a.createElement(ot.Z,null))),a.createElement("div",null,xe==null?void 0:xe.typeName))))),(vn==null?void 0:vn.length)>0&&a.createElement(Ze.default.TabPane,{tab:"\u6309\u504F\u597D\u914D\u7F6E",key:2},a.createElement("div",{className:Ie.sceneList},vn==null?void 0:vn.map((xe,gt)=>a.createElement("div",{className:`${Ie.sceneItem} ${vt==gt&&Ie.sceneItemActive}`,key:xe==null?void 0:xe.id,onClick:()=>{Bt(gt)}},xe==null?void 0:xe.name))),((da=(Tn=vn==null?void 0:vn[vt])==null?void 0:Tn.content)==null?void 0:da.length)>0?a.createElement(Ke.default,{rowSelection:{type:"radio",selectedRowKeys:[Bn==null?void 0:Bn.index],onChange:(xe,gt)=>{nn(gt[0])}},columns:[{title:"CPU",dataIndex:"cpu",align:"center",render:(xe,gt)=>a.createElement("div",null,xe,"\u6838")},{title:"\u5185\u5B58",dataIndex:"memory",align:"center",render:(xe,gt)=>a.createElement("div",null,xe,"GB")}],dataSource:($n=vn==null?void 0:vn[vt])==null?void 0:$n.content.map((xe,gt)=>Ce(ie({},xe),{index:gt})),rowKey:"index",pagination:!1,scroll:((In=(_t=vn==null?void 0:vn[vt])==null?void 0:_t.content)==null?void 0:In.length)>3?{y:148}:{}}):a.createElement(de.Z,null)))))}},22734:function(je,Nt,re){"use strict";re.d(Nt,{Z:function(){return Ge}});var b=re(59301),Be=re(76560),Je=re(43418),Te=re(8591),Ze=re(3113),lt=re(24905),he=re(5112),Xe=re(88522),Ke=re(49127),Ie=re(5083),tt=re(5871),ot=re(10527),Qe=re(84236),de=re(23869),a=re(61186),E=re.n(a),x={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,oe=(Re,St)=>{var ht={};for(var pt in Re)ee.call(Re,pt)&&St.indexOf(pt)<0&&(ht[pt]=Re[pt]);if(Re!=null&&y)for(var pt of y(Re))St.indexOf(pt)<0&&ne.call(Re,pt)&&(ht[pt]=Re[pt]);return ht},le=(Re,St,ht)=>new Promise((pt,Gn)=>{var Tn=_t=>{try{$n(ht.next(_t))}catch(In){Gn(In)}},da=_t=>{try{$n(ht.throw(_t))}catch(In){Gn(In)}},$n=_t=>_t.done?pt(_t.value):Promise.resolve(_t.value).then(Tn,da);$n((ht=ht.apply(Re,St)).next())});const ie=Re=>{if(!Re)return Re;const St=Re.split(":");if(St[1]=="00"||St[1]=="30")return Re;const ht=parseInt(St[1]);if(ht<30||ht==60)return[St[0],"30"].join(":");if(ht<60){const pt=[St[0],"00"].join(":"),Gn="YYYY-MM-DD HH:mm",Tn=E()(pt,Gn);return Tn.add(1,"hours"),Tn.format(Gn)}return Re},Ce="YYYY-MM-DD HH:mm",ye=Re=>{var St=Re,{shixunsDetail:ht,globalSetting:pt,loading:Gn,user:Tn,dispatch:da}=St,$n=oe(St,["shixunsDetail","globalSetting","loading","user","dispatch"]),_t,In,ct,Tt,ln,fn,vn,nt,vt;const Bt=(0,b.useRef)(),[Bn,nn]=(0,b.useState)(),[on,De]=(0,b.useState)(),[Pe,He]=(0,b.useState)([]),[Ft,bt]=(0,b.useState)([]),[It,Ut]=(0,b.useState)(""),[jt,bn]=(0,b.useState)(),[Lt,Fe]=(0,b.useState)(),[xe,gt]=(0,b.useState)(),[Mt,qt]=(0,b.useState)(!1),Vt=(In=(_t=Tn.userInfo)==null?void 0:_t.shixun)==null?void 0:In.editable;(0,b.useEffect)(()=>{var mt,At;Bt.current=(At=(mt=location.pathname)==null?void 0:mt.split("/"))==null?void 0:At[2],kt()},[]),(0,b.useEffect)(()=>{var mt,At,xt,cn,Dt,Ot,xn,Gt,Kn,za,sr,Ya,Da,Lr;ht.setting&&(nn((At=(mt=ht.setting)==null?void 0:mt.shixun)==null?void 0:At.can_copy),De((cn=(xt=ht.setting)==null?void 0:xt.shixun)==null?void 0:cn.use_scope),bn(!!((Ot=(Dt=ht.setting)==null?void 0:Dt.shixun)!=null&&Ot.opening_time)),Fe((Gt=(xn=ht.setting)==null?void 0:xn.shixun)==null?void 0:Gt.opening_time),He((za=(Kn=ht.setting)==null?void 0:Kn.shixun)==null?void 0:za.scope_partment),qt((Ya=(sr=ht.setting)==null?void 0:sr.shixun)==null?void 0:Ya.use_ai),gt((Lr=(Da=ht.setting)==null?void 0:Da.shixun)==null?void 0:Lr.git_size))},[ht.setting]);const kt=mt=>le(void 0,null,function*(){const At=yield da({type:"shixunsDetail/getDepartments",payload:{q:mt}});At&&bt(At.shools_name||[])}),rn=()=>le(void 0,null,function*(){var mt,At,xt,cn,Dt,Ot;const xn=(yield da({type:"shixunsDetail/getShixunQuote",payload:{id:Bt.current}}))||{};Je.default.confirm({centered:!0,title:"\u63D0\u793A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",width:520,content:b.createElement("div",{className:`tc font14 ${x.modal}`},!!((mt=xn.subjects)!=null&&mt.length)&&b.createElement(b.Fragment,null,b.createElement("span",null,"\u8BE5\u5B9E\u8DF5\u9879\u76EE\u5DF2\u88AB\u5E94\u7528\u5230 ",(xt=(At=xn.subjects)==null?void 0:At.splice(0,2))==null?void 0:xt.map(Gt=>`\u300A${Gt}\u300B`),"\u7B49",b.createElement("span",{className:x.colorOrange},xn==null?void 0:xn.subjects_count),"\u4E2A\u5B9E\u8BAD\u8BFE\u7A0B"),b.createElement("br",null)),!!((cn=xn.courses)!=null&&cn.length)&&b.createElement(b.Fragment,null,b.createElement("span",null,"\u8BE5\u5B9E\u8DF5\u9879\u76EE\u5DF2\u88AB\u5E94\u7528\u5230",(Ot=(Dt=xn.courses)==null?void 0:Dt.splice(0,2))==null?void 0:Ot.map(Gt=>`\u300A${Gt}\u300B`),"\u7B49",b.createElement("span",{className:x.colorOrange},xn==null?void 0:xn.courses_count),"\u4E2A\u6559\u5B66\u8BFE\u5802"),b.createElement("br",null)),b.createElement("span",{className:`${x.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:()=>le(void 0,null,function*(){(yield da({type:"shixunsDetail/deleteShixun",payload:{id:Bt.current}})).status===1&&(Te.ZP.success("\u64CD\u4F5C\u6210\u529F"),Be.history.push("/shixuns"))})})}),Wt=()=>{(0,de.gy)(da,"\u4E0D\u80FD\u8FDB\u884C\u5220\u9664")},yt=mt=>{if(Pe.includes(mt)){Te.ZP.info("\u8BF7\u52FF\u6307\u5B9A\u76F8\u540C\u7684\u5355\u4F4D");return}Ut(null),He([...Pe,mt])},an=()=>le(void 0,null,function*(){if(jt&&!Lt){Te.ZP.info("\u8BF7\u9009\u62E9\u5F00\u542F\u65F6\u95F4");return}if(on===1&&!Pe.length){Te.ZP.info("\u8BF7\u9009\u62E9\u6307\u5B9A\u5355\u4F4D\u516C\u5F00");return}(yield da({type:"shixunsDetail/updatePermissionSetting",payload:{id:Bt.current,scope_partment:on===0?null:Pe,shixun:{can_copy:Bn,use_scope:on,opening_time:Lt,use_ai:Mt,git_size:xe}}})).status!==-1&&(Te.ZP.info("\u6743\u9650\u914D\u7F6E\u4FDD\u5B58\u6210\u529F\uFF01"),da({type:"shixunsDetail/getSettingsData",payload:{id:Bt.current}}),da({type:"shixunsDetail/getShixunsDetail",payload:{id:Bt.current}}))});return b.createElement("div",null,b.createElement("section",{className:x.wrap},b.createElement("div",{style:{position:"absolute",top:"25px",right:"25px"}},((ct=ht==null?void 0:ht.detail)==null?void 0:ct.shixun_status)!==2?b.createElement(Ze.ZP,{danger:!0,onClick:rn},"\u5220\u9664\u5B9E\u8DF5\u9879\u76EE"):b.createElement(Ze.ZP,{danger:!0,onClick:Wt},"\u5220\u9664\u5B9E\u8DF5\u9879\u76EE")),b.createElement("div",{className:x.labelWrap},b.createElement("label",{className:x.label},"\u590D\u5236\uFF1A"),b.createElement("div",{className:x.labelContent},b.createElement("div",null,b.createElement(lt.default,{checked:Bn,onChange:mt=>nn(mt.target.checked),disabled:!Vt}),b.createElement("span",{className:`${x.color999}`},"\uFF08\u9009\u4E2D\u5219\u5141\u8BB8\u5DF2\u804C\u4E1A\u8BA4\u8BC1\u7684\u6559\u5E08\u590D\u5236\u8BE5\u5B9E\u8BAD\uFF09")))),!((((Tt=ht.detail)==null?void 0:Tt.shixun_status)>1||((ln=ht.detail)==null?void 0:ln.public)===2)&&((vn=(fn=ht.setting)==null?void 0:fn.shixun)==null?void 0:vn.use_scope)===0&&((nt=ht.detail)==null?void 0:nt.identity)>2)&&b.createElement("div",{className:x.labelWrap},b.createElement("label",{className:x.label},"\u516C\u5F00\u7A0B\u5EA6\uFF1A"),b.createElement("div",{className:x.labelContent},b.createElement(he.ZP.Group,{value:on,onChange:mt=>De(mt.target.value),disabled:!Vt},b.createElement(he.ZP,{className:x.radio,value:0},b.createElement("span",null,"\u5BF9\u6240\u6709\u5355\u4F4D\u516C\u5F00"),b.createElement("span",{className:x.color999},"\uFF08\u5B9E\u8BAD\u53D1\u5E03\u540E\uFF0C\u6240\u6709\u7528\u6237\u53EF\u89C1\uFF09")),b.createElement(he.ZP,{className:x.radio,value:1},b.createElement("span",null,"\u5BF9\u6307\u5B9A\u5355\u4F4D\u516C\u5F00"),b.createElement("span",{className:x.color999},"\uFF08\u5B9E\u8BAD\u53D1\u5E03\u540E\uFF0C\u4EC5\u5BF9\u4E0B\u65B9\u6307\u5B9A\u5355\u4F4D\u7684\u7528\u6237\u53EF\u89C1\uFF09"))),on===1&&b.createElement(b.Fragment,null,b.createElement("div",{className:"mt10"},b.createElement(Xe.Z,{showSearch:!0,className:x.selectSchool,placeholder:"\u8BF7\u8F93\u5165\u5E76\u9009\u62E9\u5355\u4F4D\u540D\u79F0",value:It,onChange:mt=>{Ut(mt),kt(mt)},disabled:!Vt,onSelect:yt,options:Ft==null?void 0:Ft.map(mt=>({value:mt}))}),b.createElement("span",{className:x.color999},"\uFF08\u5B9E\u8BAD\u53D1\u5E03\u540E\uFF0C\u4EC5\u5BF9\u4E0B\u65B9\u6307\u5B9A\u5355\u4F4D\u7684\u7528\u6237\u53EF\u89C1\uFF09")),b.createElement("div",{className:"mt10"},Pe==null?void 0:Pe.map(mt=>Vt?b.createElement(Ke.Z,{count:"x",className:"mr20 current",onClick:()=>He(Pe.filter(At=>At!==mt))},b.createElement(Ze.ZP,{type:"primary",ghost:!0},mt)):b.createElement(Ze.ZP,{type:"primary",ghost:!0,className:"mr20"},mt)))))),b.createElement("div",{className:x.labelWrap},b.createElement("label",{className:x.label},"\u5F00\u542F\u65F6\u95F4\uFF1A"),b.createElement("div",{className:x.labelContent},b.createElement("div",null,b.createElement(lt.default,{checked:jt,onChange:mt=>bn(mt.target.checked),disabled:!Vt}),b.createElement("span",{className:`${x.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")),jt&&b.createElement(Ie.default,{className:`${x.dataPicker} mt10`,format:Ce,locale:ot.Z,disabled:!Vt,placeholder:"\u8BF7\u8F93\u5165\u5F00\u542F\u65F6\u95F4",showToday:!1,disabledDate:mt=>mt&&mtFe(ie(At))}))),b.createElement("div",{className:x.labelWrap},b.createElement("label",{className:x.label},"AI\u52A9\u6559:"),b.createElement("div",{className:x.labelContent},b.createElement("div",null,b.createElement(lt.default,{checked:Mt,onChange:mt=>qt(mt.target.checked),disabled:!Vt}),b.createElement("span",{className:`${x.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")))),((vt=Tn==null?void 0:Tn.userInfo)==null?void 0:vt.role)===1&&b.createElement("div",{className:x.labelWrap,style:{alignItems:"center"}},b.createElement("label",{className:x.label},"\u4EE3\u7801\u4ED3\u5E93\u5BB9\u91CF\uFF1A"),b.createElement("div",{className:x.labelContent},b.createElement("div",null,b.createElement(tt.Z,{style:{width:150},placeholder:"\u8BF7\u8F93\u5165\u4EE3\u7801\u4ED3\u5E93\u5BB9\u91CF",min:1,max:10240,value:xe,onChange:mt=>{gt(mt)}}),b.createElement("span",{className:"c-grey-999"}," M "))))),b.createElement(Qe.t,{okText:"\u4FDD\u5B58",hasOkBtn:Vt,loading:Gn.effects["shixunsDetail/updatePermissionSetting"],onCancel:()=>Be.history.push(`/shixuns/${Bt.current}/challenges`),onOk:an,className:x.bottomButton}))};var Ge=(0,Be.connect)(({shixunsDetail:Re,loading:St,globalSetting:ht,user:pt})=>({shixunsDetail:Re,globalSetting:ht,user:pt,loading:St}))(ye)},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__(61186),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=(je,Nt,re)=>new Promise((b,Be)=>{var Je=lt=>{try{Ze(re.next(lt))}catch(he){Be(he)}},Te=lt=>{try{Ze(re.throw(lt))}catch(he){Be(he)}},Ze=lt=>lt.done?b(lt.value):Promise.resolve(lt.value).then(Je,Te);Ze((re=re.apply(je,Nt)).next())});const timeFormat="YYYY-MM-DD HH:mm",handleDateString=je=>{if(!je)return je;const Nt=je.split(":");if(Nt[1]=="00"||Nt[1]=="30")return je;const re=parseInt(Nt[1]);if(re<30||re==60)return[Nt[0],"30"].join(":");if(re<60){const b=[Nt[0],"00"].join(":"),Be="YYYY-MM-DD HH:mm",Je=moment__WEBPACK_IMPORTED_MODULE_3___default()(b,Be);return Je.add(1,"hours"),Je.format(Be)}return je};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=je=>__async(this,null,function*(){const Nt=yield dispatch({type:"shixunsDetail/getDepartments",payload:{q:je}});Nt&&setDepartmentList(Nt.shools_name||[])});(0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(()=>{var je,Nt;(Nt=(je=shixunsDetail.setting)==null?void 0:je.shixun)!=null&&Nt.main_type&&handleInitState()},[shixunsDetail.setting]),(0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(()=>{dispatch({type:"shixunsDetail/getSettingsData",payload:params})},[]);const handleSelectDepartment=je=>{if(selectDepartmentList.includes(je)){antd__WEBPACK_IMPORTED_MODULE_9__.ZP.info("\u8BF7\u52FF\u6307\u5B9A\u76F8\u540C\u7684\u5355\u4F4D");return}setDepartmentValue(null),setSelectDepartmentList([...selectDepartmentList,je])},handleInitState=()=>{var je,Nt,re,b,Be,Je,Te,Ze,lt,he,Xe,Ke,Ie,tt,ot,Qe,de,a,E,x,y,ee,ne,oe,le,ie,Ce,ye,Ge,Re,St,ht,pt,Gn,Tn,da,$n,_t,In,ct,Tt,ln,fn,vn,nt,vt,Bt;setCodeEditPermission((Nt=(je=shixunsDetail.setting)==null?void 0:je.shixun)==null?void 0:Nt.code_edit_permission),setAllowFileUpload((b=(re=shixunsDetail.setting)==null?void 0:re.shixun)==null?void 0:b.allow_file_upload),setCodeHidden((Je=(Be=shixunsDetail.setting)==null?void 0:Be.shixun)==null?void 0:Je.show_code_dir),setForbidCopy((Ze=(Te=shixunsDetail.setting)==null?void 0:Te.shixun)==null?void 0:Ze.forbid_copy),setTaskPass((he=(lt=shixunsDetail.setting)==null?void 0:lt.shixun)==null?void 0:he.task_pass),setTestSetPermission((Ke=(Xe=shixunsDetail.setting)==null?void 0:Xe.shixun)==null?void 0:Ke.test_set_permission),set_display_git_address((Ie=shixunsDetail.setting.shixun)==null?void 0:Ie.display_git_address),setIsCopy((ot=(tt=shixunsDetail.setting)==null?void 0:tt.shixun)==null?void 0:ot.can_copy),setOpenValue((de=(Qe=shixunsDetail.setting)==null?void 0:Qe.shixun)==null?void 0:de.use_scope),setOpenAnswer((E=(a=shixunsDetail.setting)==null?void 0:a.shixun)==null?void 0:E.open_answer_and_test),setIsOpenTime(!!((y=(x=shixunsDetail.setting)==null?void 0:x.shixun)!=null&&y.opening_time)),setOpenTime((ne=(ee=shixunsDetail.setting)==null?void 0:ee.shixun)==null?void 0:ne.opening_time),setSelectDepartmentList((le=(oe=shixunsDetail.setting)==null?void 0:oe.shixun)==null?void 0:le.scope_partment),setDisableDiscuss((Ce=(ie=shixunsDetail.setting)==null?void 0:ie.shixun)==null?void 0:Ce.is_disable_discuss),setdisableAI((Ge=(ye=shixunsDetail.setting)==null?void 0:ye.shixun)==null?void 0:Ge.ai_reply),setresource_recommend((St=(Re=shixunsDetail==null?void 0:shixunsDetail.setting)==null?void 0:Re.shixun)==null?void 0:St.resource_recommend),setOpenCodeDebugger((pt=(ht=shixunsDetail.setting)==null?void 0:ht.shixun)==null?void 0:pt.open_code_debugger),setStartPermanent((Tn=(Gn=shixunsDetail.setting)==null?void 0:Gn.shixun)==null?void 0:Tn.start_permanent),setOpenSelfRun(($n=(da=shixunsDetail.setting)==null?void 0:da.shixun)==null?void 0:$n.open_self_run),setgitSize((In=(_t=shixunsDetail.setting)==null?void 0:_t.shixun)==null?void 0:In.git_size),setcourse_workspace_file_time((Tt=(ct=shixunsDetail.setting)==null?void 0:ct.shixun)==null?void 0:Tt.course_workspace_file_time),setPodSwitch((fn=(ln=shixunsDetail.setting)==null?void 0:ln.shixun)==null?void 0:fn.exit_delete_pod_switch),setai_user((nt=(vn=shixunsDetail.setting)==null?void 0:vn.shixun)==null?void 0:nt.ai_user),setOpenLocalEvaluate((Bt=(vt=shixunsDetail.setting)==null?void 0:vt.shixun)==null?void 0:Bt.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((je,Nt)=>{var re,b;je!=((b=(re=shixunsDetail.setting)==null?void 0:re.shixun)==null?void 0:b.scope_partment[Nt])&&(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(je=!1,Nt=1){return __async(this,null,function*(){var re,b;const Be=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:je}});(Be==null?void 0:Be.status)===0&&((re=shixunsDetail==null?void 0:shixunsDetail.detail)!=null&&re.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}),(b=shixunsDetail==null?void 0:shixunsDetail.detail)!=null&&b.copy_for_exercise&&(0,_utils__WEBPACK_IMPORTED_MODULE_8__.m)(dispatch,shixunsDetail,params.id,Nt))})}const handleDeleteShixun=()=>__async(this,null,function*(){var je,Nt,re,b,Be,Je;const Te=(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,!!((je=Te.subjects)!=null&&je.length)&&React.createElement(React.Fragment,null,React.createElement("span",null,"\u8BE5\u5B9E\u8DF5\u9879\u76EE\u5DF2\u88AB\u5E94\u7528\u5230"," ",(re=(Nt=Te.subjects)==null?void 0:Nt.splice(0,2))==null?void 0:re.map(Ze=>`\u300A${Ze}\u300B`),"\u7B49",React.createElement("span",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.colorOrange},Te==null?void 0:Te.subjects_count),"\u4E2A\u5B9E\u8BAD\u8BFE\u7A0B"),React.createElement("br",null)),!!((b=Te.courses)!=null&&b.length)&&React.createElement(React.Fragment,null,React.createElement("span",null,"\u8BE5\u5B9E\u8DF5\u9879\u76EE\u5DF2\u88AB\u5E94\u7528\u5230",(Je=(Be=Te.courses)==null?void 0:Be.splice(0,2))==null?void 0:Je.map(Ze=>`\u300A${Ze}\u300B`),"\u7B49",React.createElement("span",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.colorOrange},Te==null?void 0:Te.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(je){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(je),parseInt(je)===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:je=>{var Nt;if((Nt=practiceSetting==null?void 0:practiceSetting.sideBar)!=null&&Nt.confirmLeave){showExitmodel(je.key);return}setMenuSelectKey(je.key),parseInt(je.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:je=>setTaskPass(je.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:je=>setTestSetPermission(je.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:je=>setIsCopy(je.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:je=>setOpenValue(je.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:je=>{setDepartmentValue(je),handleGetDepartments(je)},disabled:!editable,onSelect:handleSelectDepartment,options:departmentList==null?void 0:departmentList.map(je=>({value:je}))})),React.createElement("div",{className:"mt10"},selectDepartmentList==null?void 0:selectDepartmentList.map(je=>editable?React.createElement(antd__WEBPACK_IMPORTED_MODULE_17__.Z,{count:"x",className:"mr20 current",onClick:()=>setSelectDepartmentList(selectDepartmentList.filter(Nt=>Nt!==je))},React.createElement(antd__WEBPACK_IMPORTED_MODULE_12__.ZP,{type:"primary",ghost:!0},je)):React.createElement(antd__WEBPACK_IMPORTED_MODULE_12__.ZP,{type:"primary",ghost:!0,className:"mr20"},je)))))),!((_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:je=>setOpenAnswer(je.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:je=>{setIsOpenTime(je.target.checked),je.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:je=>je&&jesetOpenTime(handleDateString(Nt))})))),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:je=>set_display_git_address(je.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:je=>{setCodeHidden(je.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:je=>{setCodeEditPermission(je.target.checked),je.target.checked||setAllowFileUpload(je.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:je=>{setAllowFileUpload(je.target.checked),je.target.checked&&setCodeEditPermission(je.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:je=>setForbidCopy(je.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:je=>setOpenCodeDebugger(je)}),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:je=>setOpenSelfRun(je)}),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:je=>setOpenLocalEvaluate(je)}),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:je=>{setgitSize(je)}}),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:je=>{if(!(0,_utils_authority__WEBPACK_IMPORTED_MODULE_7__.Ny)()){(0,_utils_verifyLogin__WEBPACK_IMPORTED_MODULE_6__.pW)(2);return}setStartPermanent(je)}}),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:je=>{setPodSwitch(je)}}),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:je=>setDisableDiscuss(!je)}),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:je=>{setresource_recommend(je)}}),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:je=>{setai_user(je.target.value)}},React.createElement(antd__WEBPACK_IMPORTED_MODULE_14__.ZP,{value:"1"},"\u4EE5\u5934\u6B4C\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 je,Nt;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}(je=shixunsDetail==null?void 0:shixunsDetail.detail)!=null&&je.is_fork_from_creator&&((Nt=shixunsDetail==null?void 0:shixunsDetail.detail)!=null&&Nt.copy_for_exercise)?dispatch({type:"classroomList/setActionTabs",payload:{key:"\u540C\u6B65\u4FEE\u6539",type:"setting",fn:(re,b)=>{handSubmeit(re,b)}}}):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:je,shixunsDetail:Nt,practiceSetting:re})=>({user:je,shixunsDetail:Nt,practiceSetting:re}))(Setting)},26595:function(je,Nt,re){"use strict";re.r(Nt),re.d(Nt,{default:function(){return lo}});var b=re(59301),Be={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"},Je=re(76560),Te=re(99313),Ze=re(6848),lt=re(8591),he=re(20834),Xe=re(95237),Ke=re(43604),Ie=re(38854),tt=re(43418),ot=re(71418),Qe=re(3113),de=re(17574),a=re(78673),E=re(56102),x=re(78241),y=re(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,oe=Object.getOwnPropertySymbols,le=Object.prototype.hasOwnProperty,ie=Object.prototype.propertyIsEnumerable,Ce=(dt,Ue,We)=>Ue in dt?ne(dt,Ue,{enumerable:!0,configurable:!0,writable:!0,value:We}):dt[Ue]=We,ye=(dt,Ue)=>{for(var We in Ue||(Ue={}))le.call(Ue,We)&&Ce(dt,We,Ue[We]);if(oe)for(var We of oe(Ue))ie.call(Ue,We)&&Ce(dt,We,Ue[We]);return dt},Ge=(dt,Ue)=>{var We={};for(var Rt in dt)le.call(dt,Rt)&&Ue.indexOf(Rt)<0&&(We[Rt]=dt[Rt]);if(dt!=null&&oe)for(var Rt of oe(dt))Ue.indexOf(Rt)<0&&ie.call(dt,Rt)&&(We[Rt]=dt[Rt]);return We},Re=(dt,Ue,We)=>new Promise((Rt,Cn)=>{var aa=Me=>{try{it(We.next(Me))}catch(ut){Cn(ut)}},Oe=Me=>{try{it(We.throw(Me))}catch(ut){Cn(ut)}},it=Me=>Me.done?Rt(Me.value):Promise.resolve(Me.value).then(aa,Oe);it((We=We.apply(dt,Ue)).next())});const St=dt=>{var Ue=dt,{shixunsDetail:We,globalSetting:Rt,loading:Cn,user:aa,dispatch:Oe,isRepository:it}=Ue,Me=Ge(Ue,["shixunsDetail","globalSetting","loading","user","dispatch","isRepository"]);const ut=(0,Je.useLocation)(),zt=(0,Je.useParams)(),[Ga,ja]=(0,b.useState)({}),Vn=(0,b.useRef)(),[Jt]=x.default.useForm(),[Hn,ba]=(0,b.useState)("");(0,b.useEffect)(()=>{Me.visible&&Jt.resetFields()},[Me.visible]),(0,b.useEffect)(()=>{const sa=sessionStorage.getItem("pathArray");if(sa){const wt=sa.split(",").join("/"),ca=wt.indexOf("/")===0?wt.substr(1):wt;ba(ca)}},[]),(0,b.useEffect)(()=>{var sa,wt;Vn.current=(wt=(sa=ut.pathname)==null?void 0:sa.split("/"))==null?void 0:wt[2]},[]);const La=(...sa)=>Re(void 0,[...sa],function*(wt={}){const ca=yield Oe({type:"shixunsDetail/addRepositoryFile",payload:{id:zt.id,message:wt.commitMessage,content:"",path:(Me.defaultPath?Me.defaultPath+"/":"")+wt.path+"/"+(wt.file||".gitkeep"),secret_repository:it?void 0:!0}});ca!=null&&ca.url&&(lt.ZP.success("\u6DFB\u52A0\u6210\u529F"),Me.onOK({path:(Me.defaultPath?Me.defaultPath+"/":"")+wt.path+"/"+(wt.file||".gitkeep"),name:wt.path.split("/")[wt.path.split("/").length-1]}),Me.onClose())}),rr=()=>{var sa,wt;Je.history.push(`/shixuns/${Vn.current}/${(wt=(sa=ut.pathname)==null?void 0:sa.split("/"))==null?void 0:wt[3]}${Hn?`/master/shixun_show/${Hn}`:""}`)};return b.createElement(tt.default,{width:"60%",centered:!0,open:Me.visible,wrapClassName:ee.modal,onOk:()=>{Jt.submit()},onCancel:Me.onClose,title:"\u65B0\u5EFA\u6587\u4EF6\u5939"},b.createElement("section",{className:ee.bg},b.createElement("div",{className:ee.wrap},b.createElement(x.default,{className:"mt10",form:Jt,scrollToFirstError:!0,layout:"vertical",onFinish:La,onChange:()=>{var sa,wt,ca,gr;const Pr=ye({},Jt.getFieldsValue()),dr=(sa=Pr==null?void 0:Pr.path)==null?void 0:sa.split(""),Zn=(wt=Pr==null?void 0:Pr.file)==null?void 0:wt.split("");(ca=dr==null?void 0:dr.filter(Rn=>Rn=="/"))!=null&&ca.length&&(Pr.path=Pr.path.substring(0,Pr.path.length-1)),(gr=Zn==null?void 0:Zn.filter(Rn=>Rn=="/"))!=null&&gr.length&&(Pr.file=Pr.file.substring(0,Pr.path.length-1)),Jt.setFieldsValue(ye({},Pr)),ja(Pr)}},b.createElement(x.default.Item,{label:"\u6587\u4EF6\u5939\u540D\u79F0\uFF1A",name:"path"},b.createElement(Xe.Z,null,b.createElement(Ke.Z,null,b.createElement("span",{className:ee.filePath},Me.defaultPath+"/")),b.createElement(Ke.Z,{flex:"1"},b.createElement(x.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"}]},b.createElement(y.default,{placeholder:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5939\u540D\u79F0",size:"middle"}))))),b.createElement(x.default.Item,{label:"\u6587\u4EF6\u540D\u79F0\uFF1A",name:"file"},b.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"})),b.createElement(x.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"}]},b.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 ht=(0,Je.connect)(({shixunsDetail:dt,loading:Ue,globalSetting:We,user:Rt})=>({shixunsDetail:dt,globalSetting:We,user:Rt,loading:Ue.models.index}))(St),pt=re(44905),Gn=re(21693),Tn=re(59301),da=Object.defineProperty,$n=Object.getOwnPropertySymbols,_t=Object.prototype.hasOwnProperty,In=Object.prototype.propertyIsEnumerable,ct=(dt,Ue,We)=>Ue in dt?da(dt,Ue,{enumerable:!0,configurable:!0,writable:!0,value:We}):dt[Ue]=We,Tt=(dt,Ue)=>{for(var We in Ue||(Ue={}))_t.call(Ue,We)&&ct(dt,We,Ue[We]);if($n)for(var We of $n(Ue))In.call(Ue,We)&&ct(dt,We,Ue[We]);return dt},ln=(dt,Ue)=>{var We={};for(var Rt in dt)_t.call(dt,Rt)&&Ue.indexOf(Rt)<0&&(We[Rt]=dt[Rt]);if(dt!=null&&$n)for(var Rt of $n(dt))Ue.indexOf(Rt)<0&&In.call(dt,Rt)&&(We[Rt]=dt[Rt]);return We},fn=(dt,Ue,We)=>new Promise((Rt,Cn)=>{var aa=Me=>{try{it(We.next(Me))}catch(ut){Cn(ut)}},Oe=Me=>{try{it(We.throw(Me))}catch(ut){Cn(ut)}},it=Me=>Me.done?Rt(Me.value):Promise.resolve(Me.value).then(aa,Oe);it((We=We.apply(dt,Ue)).next())});const vn=dt=>{var Ue=dt,{shixunsDetail:We,globalSetting:Rt,loading:Cn,user:aa,dispatch:Oe,isRepository:it}=Ue,Me=ln(Ue,["shixunsDetail","globalSetting","loading","user","dispatch","isRepository"]);const ut=(0,Je.useLocation)(),zt=(0,Je.useParams)(),[Ga,ja]=(0,b.useState)({}),Vn=(0,b.useRef)(),[Jt]=x.default.useForm(),[Hn,ba]=(0,b.useState)("");(0,b.useEffect)(()=>{Me.visible&&Jt.resetFields()},[Me.visible]),(0,b.useEffect)(()=>{const sa=sessionStorage.getItem("pathArray");if(sa){const wt=sa.split(",").join("/"),ca=wt.indexOf("/")===0?wt.substr(1):wt;ba(ca)}},[]),(0,b.useEffect)(()=>{var sa,wt;Vn.current=(wt=(sa=ut.pathname)==null?void 0:sa.split("/"))==null?void 0:wt[2]},[]);const La=(...sa)=>fn(void 0,[...sa],function*(wt={},ca=!1,gr=1){var Pr,dr;const Zn=yield Oe({type:"shixunsDetail/addRepositoryFile",payload:{id:zt.id,message:wt.commitMessage,content:wt.codeMirror,path:(Me.defaultPath?Me.defaultPath+"/":"")+wt.path,secret_repository:it?void 0:!0,sync_origin_shixun:ca}});Zn!=null&&Zn.url&&((Pr=We==null?void 0:We.detail)!=null&&Pr.copy_for_exercise||lt.ZP.success("\u6DFB\u52A0\u6210\u529F"),Me.onOK({path:(Me.defaultPath?Me.defaultPath+"/":"")+wt.path,name:wt.path.split("/")[wt.path.split("/").length-1]}),Me.onClose()),(dr=We==null?void 0:We.detail)!=null&&dr.copy_for_exercise&&(0,Gn.m)(Oe,We,zt.id,gr)}),rr=()=>{var sa,wt;Je.history.push(`/shixuns/${Vn.current}/${(wt=(sa=ut.pathname)==null?void 0:sa.split("/"))==null?void 0:wt[3]}${Hn?`/master/shixun_show/${Hn}`:""}`)};return Tn.createElement(tt.default,{width:"60%",open:Me.visible,wrapClassName:ee.modal,destroyOnClose:!0,centered:!0,onOk:()=>{Jt.submit()},onCancel:Me.onClose,title:"\u65B0\u5EFA\u6587\u4EF6"},Tn.createElement("section",{className:ee.bg},Tn.createElement("div",{className:ee.wrap},Tn.createElement(x.default,{className:"mt10",form:Jt,scrollToFirstError:!0,layout:"vertical",onFinish:sa=>{var wt,ca;(wt=We==null?void 0:We.detail)!=null&&wt.is_fork_from_creator&&((ca=We==null?void 0:We.detail)!=null&&ca.copy_for_exercise)?(Me.onClose(),Oe({type:"classroomList/setActionTabs",payload:{key:"\u540C\u6B65\u4FEE\u6539",value:sa,type:"wareHouse",fn:(gr,Pr,dr)=>{La(gr,Pr,dr)}}})):La(sa)},onChange:()=>{var sa,wt;const ca=Tt({},Jt.getFieldsValue()),gr=(sa=ca==null?void 0:ca.path)==null?void 0:sa.split("");((wt=gr==null?void 0:gr.filter(Pr=>Pr=="/"))==null?void 0:wt.length)>1&&(ca.path=ca.path.substring(0,ca.path.length-1)),Jt.setFieldsValue(Tt({},ca)),ja(ca)}},Tn.createElement(x.default.Item,{label:"\u6587\u4EF6\u540D\u79F0\u6216\u6587\u4EF6\u8DEF\u5F84\uFF1A",name:"path"},Tn.createElement(Xe.Z,null,Tn.createElement(Ke.Z,null,Tn.createElement("span",{className:ee.filePath},Me.defaultPath+"/")),Tn.createElement(Ke.Z,{flex:"1"},Tn.createElement(x.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"}]},Tn.createElement(y.default,{placeholder:"\u8BF7\u8F93\u5165\u6587\u4EF6\u540D\u79F0",size:"middle"}))))),Tn.createElement(x.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"}]},Tn.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"})),Tn.createElement("div",{className:"mt10 mb20"},Tn.createElement(x.default.Item,{name:"codeMirror",label:"\u6587\u4EF6\u5185\u5BB9\uFF1A",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5185\u5BB9"}],style:{marginBottom:0}},Tn.createElement(pt.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 nt=(0,Je.connect)(({shixunsDetail:dt,loading:Ue,globalSetting:We,user:Rt})=>({shixunsDetail:dt,globalSetting:We,user:Rt,loading:Ue.models.index}))(vn),vt=Object.defineProperty,Bt=Object.getOwnPropertySymbols,Bn=Object.prototype.hasOwnProperty,nn=Object.prototype.propertyIsEnumerable,on=(dt,Ue,We)=>Ue in dt?vt(dt,Ue,{enumerable:!0,configurable:!0,writable:!0,value:We}):dt[Ue]=We,De=(dt,Ue)=>{for(var We in Ue||(Ue={}))Bn.call(Ue,We)&&on(dt,We,Ue[We]);if(Bt)for(var We of Bt(Ue))nn.call(Ue,We)&&on(dt,We,Ue[We]);return dt},Pe=(dt,Ue)=>{var We={};for(var Rt in dt)Bn.call(dt,Rt)&&Ue.indexOf(Rt)<0&&(We[Rt]=dt[Rt]);if(dt!=null&&Bt)for(var Rt of Bt(dt))Ue.indexOf(Rt)<0&&nn.call(dt,Rt)&&(We[Rt]=dt[Rt]);return We},He=(dt,Ue,We)=>new Promise((Rt,Cn)=>{var aa=Me=>{try{it(We.next(Me))}catch(ut){Cn(ut)}},Oe=Me=>{try{it(We.throw(Me))}catch(ut){Cn(ut)}},it=Me=>Me.done?Rt(Me.value):Promise.resolve(Me.value).then(aa,Oe);it((We=We.apply(dt,Ue)).next())});const Ft=dt=>{var Ue=dt,{shixunsDetail:We,globalSetting:Rt,loading:Cn,user:aa,dispatch:Oe,isRepository:it}=Ue,Me=Pe(Ue,["shixunsDetail","globalSetting","loading","user","dispatch","isRepository"]);const ut=(0,Je.useLocation)(),zt=(0,Je.useParams)(),[Ga,ja]=(0,b.useState)({}),Vn=(0,b.useRef)(),[Jt]=x.default.useForm(),[Hn,ba]=(0,b.useState)(""),[La,rr]=(0,b.useState)("");(0,b.useEffect)(()=>{Me.visible&&Jt.resetFields()},[Me.visible]),(0,b.useEffect)(()=>{const ca=Me.defaultPath.split("/");ca.length===1?(ba(""),rr(Me.defaultPath)):(rr(ca.pop()),ba(ca.join("/")+"/"))},[Me.defaultPath]),(0,b.useEffect)(()=>{var ca,gr;Vn.current=(gr=(ca=ut.pathname)==null?void 0:ca.split("/"))==null?void 0:gr[2]},[]);const sa=(...ca)=>He(void 0,[...ca],function*(gr={}){const Pr=yield Oe({type:"shixunsDetail/moveGitFile",payload:{id:zt.id,from:Me.defaultPath,to:Hn+gr.path,message:gr.commitMessage||`${Me.defaultPath} rename to ${Hn}${gr.path} `,secret_repository:it}});(Pr==null?void 0:Pr.status)===0&&(lt.ZP.success("\u6DFB\u52A0\u6210\u529F"),Me.onOK({path:gr.path,name:gr.path}),Me.onClose())}),wt=()=>{var ca,gr;Je.history.push(`/shixuns/${Vn.current}/${(gr=(ca=ut.pathname)==null?void 0:ca.split("/"))==null?void 0:gr[3]}${Hn?`/master/shixun_show/${Hn}`:""}`)};return b.createElement(tt.default,{width:"40%",open:Me.visible,wrapClassName:ee.modal,centered:!0,onOk:()=>{Jt.submit()},onCancel:Me.onClose,title:"\u63D0\u4EA4\u8BF4\u660E"},b.createElement("section",{className:ee.bg},b.createElement("div",{className:ee.wrap},b.createElement(x.default,{className:"mt10",form:Jt,scrollToFirstError:!0,layout:"vertical",onFinish:sa,onChange:()=>{var ca,gr;const Pr=De({},Jt.getFieldsValue()),dr=(ca=Pr==null?void 0:Pr.path)==null?void 0:ca.split("");((gr=dr==null?void 0:dr.filter(Zn=>Zn=="/"))==null?void 0:gr.length)>1&&(Pr.path=Pr.path.substring(0,Pr.path.length-1)),Jt.setFieldsValue(De({},Pr)),ja(Pr)}},b.createElement(x.default.Item,{label:"\u91CD\u547D\u540D\uFF1A",name:"path"},b.createElement(Xe.Z,null,b.createElement(Ke.Z,{flex:"1"},b.createElement(x.default.Item,{name:"path",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6587\u4EF6\u540D\u79F0"},{whitespace:!0,message:"\u8BF7\u52FF\u8F93\u5165\u7A7A\u683C"}]},b.createElement(y.default,{placeholder:"\u8BF7\u8F93\u5165\u6587\u4EF6\u540D\u79F0",size:"middle",defaultValue:La}))))),b.createElement(x.default.Item,{label:"\u63D0\u4EA4\u4FE1\u606F\uFF1A",name:"commitMessage"},b.createElement(y.default,{placeholder:`\u5982\u4E0D\u586B\u5199\uFF0C\u9ED8\u8BA4\u63D0\u4EA4\u4FE1\u606F\u662F\uFF08${Me.defaultPath} rename to \u65B0\u7684\u540D\u79F0 \uFF09`,size:"middle"}))))))};var bt=(0,Je.connect)(({shixunsDetail:dt,loading:Ue,globalSetting:We,user:Rt})=>({shixunsDetail:dt,globalSetting:We,user:Rt,loading:Ue.models.index}))(Ft),It=re(90524),Ut=re(82093),jt=re(54580),bn=re(17826),Lt={wrap:"wrap___T4tjB",title:"title____QnQT",path:"path___PLUeD",colorBlue:"colorBlue___eL7QF"},Fe=re(59301),xe=Object.defineProperty,gt=Object.getOwnPropertySymbols,Mt=Object.prototype.hasOwnProperty,qt=Object.prototype.propertyIsEnumerable,Vt=(dt,Ue,We)=>Ue in dt?xe(dt,Ue,{enumerable:!0,configurable:!0,writable:!0,value:We}):dt[Ue]=We,kt=(dt,Ue)=>{for(var We in Ue||(Ue={}))Mt.call(Ue,We)&&Vt(dt,We,Ue[We]);if(gt)for(var We of gt(Ue))qt.call(Ue,We)&&Vt(dt,We,Ue[We]);return dt},rn=(dt,Ue)=>{var We={};for(var Rt in dt)Mt.call(dt,Rt)&&Ue.indexOf(Rt)<0&&(We[Rt]=dt[Rt]);if(dt!=null&>)for(var Rt of gt(dt))Ue.indexOf(Rt)<0&&qt.call(dt,Rt)&&(We[Rt]=dt[Rt]);return We},Wt=(dt,Ue,We)=>new Promise((Rt,Cn)=>{var aa=Me=>{try{it(We.next(Me))}catch(ut){Cn(ut)}},Oe=Me=>{try{it(We.throw(Me))}catch(ut){Cn(ut)}},it=Me=>Me.done?Rt(Me.value):Promise.resolve(Me.value).then(aa,Oe);it((We=We.apply(dt,Ue)).next())});const{Dragger:yt}=jt.default,an=dt=>{var Ue=dt,{shixunsDetail:We,globalSetting:Rt,loading:Cn,user:aa,dispatch:Oe,isRepository:it}=Ue,Me=rn(Ue,["shixunsDetail","globalSetting","loading","user","dispatch","isRepository"]);const ut=(0,Je.useLocation)(),zt=(0,Je.useParams)(),[Ga,ja]=(0,b.useState)({}),Vn=(0,b.useRef)(),[Jt]=x.default.useForm(),[Hn,ba]=(0,b.useState)([]),[La,rr]=(0,b.useState)();let sa;(0,b.useEffect)(()=>{Me.visible&&(Jt.resetFields(),ba([]))},[Me.visible]),(0,b.useEffect)(()=>{Vn.current=zt.id},[]),(0,b.useEffect)(()=>{const Zn=sessionStorage.getItem("pathArray");if(Zn){const Rn=Zn.split(",").join("/"),pn=Rn.indexOf("/")===0?Rn.substr(1):Rn;rr(pn)}},[]);const wt=Zn=>{var Rn,pn,Er,zr;if(sa=Zn.file.name,Zn.file.status==="done"||Zn.file.status==="uploading"){if(ba(Zn.fileList),!Zn.file.response)return;if(((Rn=Zn.file.response)==null?void 0:Rn.status)===0){(pn=We==null?void 0:We.detail)!=null&&pn.copy_for_exercise||(lt.ZP.success("\u4E0A\u4F20\u6210\u529F\uFF01"),Jt.validateFields());return}ba(Hn.filter(uo=>uo.uid!==Zn.file.uid)),(Er=Zn.file.response)!=null&&Er.message&<.ZP.info((zr=Zn.file.response)==null?void 0:zr.message)}},ca=Zn=>Wt(void 0,null,function*(){if(!Zn.response){lt.ZP.info("\u8FD8\u672A\u4E0A\u4F20\u5B8C\u6210\uFF0C\u65E0\u6CD5\u8FDB\u884C\u5220\u9664\u64CD\u4F5C\uFF01");return}(yield Oe({type:"shixunsDetail/deleteGitFile",payload:{id:zt.id,path:La?`${La}/${Zn.name}`:Zn.name,message:Jt.getFieldValue("commitMessage")||`\u5220\u9664\u4E86${La?`${La}/${Zn.name}`:Zn.name}`,secret_repository:it?null:!0}})).status===0&&(ba(Hn.filter(pn=>pn.uid!==Zn.uid)),lt.ZP.info("\u5220\u9664\u6210\u529F"))}),gr={height:300,multiple:!0,withCredentials:!0,openFileDialogOnClick:!!Jt.getFieldValue("commitMessage"),data:()=>Wt(void 0,null,function*(){return new Promise((Zn,Rn)=>Wt(void 0,null,function*(){setTimeout(()=>Wt(void 0,null,function*(){const pn=yield Jt.getFieldsValue(),Er=kt(kt({},{path:Me.defaultPath?Me.defaultPath:"",message:Ga.commitMessage||`\u4E0A\u4F20\u4E86${sa}`}),it?{}:{secret_repository:!0});Zn(Er)}),200)}))}),fileList:Hn,method:"post",action:`${It.Z.API_SERVER}/api/shixuns/${Vn.current}/upload_git_file.json`,onChange:wt,onRemove:ca,beforeUpload:Zn=>(sa=Zn.name,Zn.size/1024/1024>50?(lt.ZP.info("\u6587\u4EF6\u5927\u5C0F\u5FC5\u987B\u5C0F\u4E8E50MB"),!1):!0)},Pr=(Zn=!1,Rn=1)=>Wt(void 0,null,function*(){var pn;const Er=kt(kt({},{path:Me.defaultPath?Me.defaultPath:"",message:Ga.commitMessage||`\u4E0A\u4F20\u4E86${sa}`}),it?{}:{secret_repository:!0});for(let zr=0;zr{uo.append(Ka,Er[Ka].toString())});const to=yield(0,Ut.ZP)(`/api/shixuns/${Vn.current}/upload_git_file.json`,{method:"post",body:uo},!0)}Me.onClose(),Me.onOK({path:Me.defaultPath}),dr(),(pn=We==null?void 0:We.detail)!=null&&pn.copy_for_exercise&&(0,Gn.m)(Oe,We,zt.id,Rn)}),dr=()=>{var Zn,Rn;Je.history.push(`/shixuns/${Vn.current}/${(Rn=(Zn=ut.pathname)==null?void 0:Zn.split("/"))==null?void 0:Rn[3]}${La?`/master/shixun_show/${La}`:""}`)};return Fe.createElement(tt.default,{open:Me.visible,onOk:Zn=>{Jt.submit()},centered:!0,onCancel:Me.onClose,width:"70%"},Fe.createElement("section",{className:Lt.bg},Fe.createElement("div",{className:Lt.wrap},Fe.createElement("div",{className:Lt.title},"\u4E0A\u4F20\u6587\u4EF6"),Fe.createElement(x.default,{className:"mt10",form:Jt,scrollToFirstError:!0,layout:"vertical",onFinish:()=>Wt(void 0,null,function*(){var Zn,Rn;yield Jt.validateFields(),(Zn=We==null?void 0:We.detail)!=null&&Zn.is_fork_from_creator&&((Rn=We==null?void 0:We.detail)!=null&&Rn.copy_for_exercise)?(Me.onClose(),Oe({type:"classroomList/setActionTabs",payload:{key:"\u540C\u6B65\u4FEE\u6539",type:"wareHouse",fn:(pn,Er)=>{Pr(pn,Er)}}})):Pr()}),onValuesChange:()=>ja(kt({},Jt.getFieldsValue()))},Fe.createElement(x.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"}]},Fe.createElement(y.default,{placeholder:"\u5FC5\u586B\uFF0C\u63CF\u8FF0\u4E3B\u8981\u4FEE\u6539\u5185\u5BB9\uFF08\u76F8\u5F53\u4E8EGit Commit message\u7684Header\uFF09"})),Fe.createElement(x.default.Item,{label:"\u9009\u62E9\u6587\u4EF6",name:"file",rules:[{required:!0,validator(Zn,Rn){return(Hn==null?void 0:Hn.length)===0?Promise.reject(new Error("\u8BF7\u9009\u62E9\u6587\u4EF6")):Promise.resolve()}}]},Fe.createElement("div",{onClick:()=>{if(!Jt.getFieldValue("commitMessage")){lt.ZP.warning("\u8BF7\u5148\u586B\u5199\u63D0\u4EA4\u4FE1\u606F");return}}},Fe.createElement(yt,kt({},gr),Fe.createElement("div",null,Fe.createElement("i",{className:`iconfont icon-shangchuan font50 ${Lt.colorBlue}`})),Fe.createElement("div",{className:"font14 mt30"},"\u62D6\u62FD\u6587\u4EF6\u6216",Fe.createElement("span",{className:`${Lt.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"))))))),Fe.createElement(bn.Z,{onFinish:Zn=>rr(Zn)})))};var mt=(0,Je.connect)(({shixunsDetail:dt,loading:Ue,globalSetting:We,user:Rt})=>({shixunsDetail:dt,globalSetting:We,user:Rt,loading:Ue.models.index}))(an),At={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"},xt={wrap:"wrap___qIbzI",content:"content___cWjqb",mainPathWrap:"mainPathWrap___QP5mq",colorBlue:"colorBlue___zUy77"},cn=Object.defineProperty,Dt=Object.getOwnPropertySymbols,Ot=Object.prototype.hasOwnProperty,xn=Object.prototype.propertyIsEnumerable,Gt=(dt,Ue,We)=>Ue in dt?cn(dt,Ue,{enumerable:!0,configurable:!0,writable:!0,value:We}):dt[Ue]=We,Kn=(dt,Ue)=>{for(var We in Ue||(Ue={}))Ot.call(Ue,We)&&Gt(dt,We,Ue[We]);if(Dt)for(var We of Dt(Ue))xn.call(Ue,We)&&Gt(dt,We,Ue[We]);return dt},za=(dt,Ue,We)=>new Promise((Rt,Cn)=>{var aa=Me=>{try{it(We.next(Me))}catch(ut){Cn(ut)}},Oe=Me=>{try{it(We.throw(Me))}catch(ut){Cn(ut)}},it=Me=>Me.done?Rt(Me.value):Promise.resolve(Me.value).then(aa,Oe);it((We=We.apply(dt,Ue)).next())});const sr=({shixunsDetail:dt,globalSetting:Ue,loading:We,dispatch:Rt,title:Cn,pathList:aa=[],showInputPath:Oe=!1,isMergeSelectFile:it=!1,onFinish:Me=()=>{}})=>{const[ut]=x.default.useForm(),zt=(0,Je.useParams)(),Ga=(0,Je.useLocation)(),ja=(0,b.useRef)(),[Vn,Jt]=(0,b.useState)(""),[Hn,ba]=(0,b.useState)(""),[La,rr]=(0,b.useState)([]),[sa,wt]=(0,b.useState)([]);(0,b.useEffect)(()=>{var Rn,pn;ja.current=((pn=(Rn=Ga.pathname)==null?void 0:Rn.split("/"))==null?void 0:pn[3])==="repository"},[]),(0,b.useEffect)(()=>{if(dt.actionTabs.key!=="Repository-SelectFilePath")return;const Rn=aa.join("/");let pn=[];aa.map((Er,zr)=>{zr===0?pn.push({val:"\u6839\u76EE\u5F55",path:""},{val:`/${Er}`,path:Rn}):pn.push({val:`/${Er}`,path:Rn})}),rr(pn),Jt(Rn),ba(Rn),ca(Rn)},[dt.actionTabs.key]);const ca=Rn=>za(void 0,null,function*(){const pn=yield Rt({type:ja.current?"shixunsDetail/getRepository":"shixunsDetail/getSecretRepository",payload:{id:zt.id,path:Rn}});pn&&wt(pn.trees||[])}),gr=Rn=>{let pn=Vn;Rn.type==="tree"&&(La.length?La.push({val:`/${Rn.name}`,path:Rn.name}):La.push({val:"\u6839\u76EE\u5F55",path:""},{val:`/${Rn.name}`,path:Rn.name}),rr(La),pn=Vn?`${Vn}/${Rn.name}`:Rn.name,Jt(pn)),ca(pn)},Pr=(Rn,pn)=>{const Er=La.filter((uo,to)=>to<=pn);rr(Er);const zr=Er.filter((uo,to)=>to!==0).map(uo=>uo.val).join("").substr(1);Jt(zr),ca(zr)},dr=()=>za(void 0,null,function*(){const Rn=ut==null?void 0:ut.getFieldsValue(),pn=Vn?`${Vn}${Rn!=null&&Rn.name?`/${Rn==null?void 0:Rn.name}`:""}`:Rn==null?void 0:Rn.name;if(it){Me(pn),Zn();return}if(Oe){yield ut.validateFields();const Er=yield Rt({type:"shixunsDetail/uploadGitFolder",payload:Kn(Kn({},{id:zt.id,path:pn}),ja.current?{}:{secret_repository:!0})});Me(Hn),Er.status===0&<.ZP.info("\u65B0\u5EFA\u6210\u529F")}else Me(pn),lt.ZP.success("\u9009\u62E9\u6587\u4EF6\u76EE\u5F55\u6210\u529F");Zn()}),Zn=()=>{Rt({type:"shixunsDetail/setActionTabs",payload:{}}),ut.resetFields()};return b.createElement(tt.default,{centered:!0,title:Cn||"\u65B0\u5EFA\u6587\u4EF6\u5939",closable:!1,keyboard:!1,open:dt.actionTabs.key==="Repository-SelectFilePath",onOk:dr,onCancel:Zn},b.createElement("div",{className:xt.wrap},b.createElement("div",{className:xt.content},b.createElement("div",{className:xt.mainPathWrap},!!(La!=null&&La.length)&&La.map((Rn,pn)=>b.createElement("a",{key:pn,onClick:()=>Pr(Rn,pn)},Rn.val))),!!(sa!=null&&sa.length)&&sa.map((Rn,pn)=>Rn.type==="tree"&&b.createElement("a",{key:pn,onClick:()=>gr(Rn)},b.createElement("i",{className:`iconfont icon-wenjianjia ${xt.colorBlue}`}),Rn.name))),b.createElement("label",{className:"mt5"},"\u9009\u4E2D\u7684\u65B0\u5EFA\u6587\u4EF6\u5939\u76EE\u5F55\uFF1A"),b.createElement("div",{className:"mt5 mb5"},Vn),Oe&&b.createElement(x.default,{form:ut,scrollToFirstError:!0,className:"mt20"},b.createElement(x.default.Item,{name:"name",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u540D\u79F0"},{whitespace:!0,message:"\u8BF7\u52FF\u8F93\u5165\u7A7A\u683C"}]},b.createElement(y.default,{placeholder:"\u8BF7\u8F93\u5165\u65B0\u6587\u4EF6\u5939\u540D/\u5B50\u6587\u4EF6\u5939\u540D\u3002\uFF08\u5982\uFF1Asrc/step1\uFF09"})))))};var Ya=(0,Je.connect)(({shixunsDetail:dt,loading:Ue,globalSetting:We})=>({shixunsDetail:dt,globalSetting:We,loading:Ue.models.index}))(sr),Da=re(18785),Lr=re(84105),cr=re(67135),Ha=re(49661),Xa=re(23869),Dr=re(854),Fa=Object.defineProperty,Zr=Object.defineProperties,br=Object.getOwnPropertyDescriptors,Pt=Object.getOwnPropertySymbols,Sn=Object.prototype.hasOwnProperty,Fn=Object.prototype.propertyIsEnumerable,Zt=(dt,Ue,We)=>Ue in dt?Fa(dt,Ue,{enumerable:!0,configurable:!0,writable:!0,value:We}):dt[Ue]=We,sn=(dt,Ue)=>{for(var We in Ue||(Ue={}))Sn.call(Ue,We)&&Zt(dt,We,Ue[We]);if(Pt)for(var We of Pt(Ue))Fn.call(Ue,We)&&Zt(dt,We,Ue[We]);return dt},On=(dt,Ue)=>Zr(dt,br(Ue)),Jn=(dt,Ue)=>{var We={};for(var Rt in dt)Sn.call(dt,Rt)&&Ue.indexOf(Rt)<0&&(We[Rt]=dt[Rt]);if(dt!=null&&Pt)for(var Rt of Pt(dt))Ue.indexOf(Rt)<0&&Fn.call(dt,Rt)&&(We[Rt]=dt[Rt]);return We},ke=(dt,Ue,We)=>new Promise((Rt,Cn)=>{var aa=Me=>{try{it(We.next(Me))}catch(ut){Cn(ut)}},Oe=Me=>{try{it(We.throw(Me))}catch(ut){Cn(ut)}},it=Me=>Me.done?Rt(Me.value):Promise.resolve(Me.value).then(aa,Oe);it((We=We.apply(dt,Ue)).next())});const{DirectoryTree:rt}=de.default,qe=dt=>{var Ue=dt,{shixunsDetail:We,globalSetting:Rt,loading:Cn,user:aa,activeKey:Oe,dispatch:it,practiceSetting:Me,isRepository:ut,treeData:zt,setTreeData:Ga}=Ue,ja=Jn(Ue,["shixunsDetail","globalSetting","loading","user","activeKey","dispatch","practiceSetting","isRepository","treeData","setTreeData"]),Vn,Jt,Hn,ba,La,rr,sa;const wt=(0,Je.useParams)(),ca=(0,Je.useLocation)(),[gr,Pr]=(0,b.useState)(),[dr,Zn]=(0,b.useState)(!1),[Rn,pn]=(0,b.useState)(!1),[Er,zr]=(0,b.useState)(!1),[uo,to]=(0,b.useState)(!1),[Ka,_r]=(0,b.useState)("");let[Eo,ai]=(0,b.useState)([]),[li,Mi]=(0,b.useState)([]);const[Gr,Sa]=(0,b.useState)([]),[kn,$t]=(0,b.useState)(!1),[Mn,pr]=(0,b.useState)(),[be,jr]=(0,b.useState)(),[Za,mr]=(0,b.useState)(""),[fr,Vr]=(0,b.useState)(),[Xr,yo]=(0,b.useState)(!1);(0,b.useEffect)(()=>{Ga([]),Ii(""),localStorage.warehouseHideTip||$t(!0)},[ca.pathname,ut]);const So=(va="")=>ke(void 0,null,function*(){(yield(0,cr.Zt)({id:wt.id,secret_dir_path:va}))&&Vr(va)}),ui=va=>{var Kr;return b.createElement(he.default,{className:At.menu,onClick:Jr=>{switch(_r(va.path||""),Jr.key){case"1":(0,Ha.L9)(["\u5B9E\u8DF5\u9879\u76EE","\u8BBE\u7F6E","\u4EE3\u7801\u4ED3\u5E93","\u65B0\u5EFA\u6587\u4EF6"]),Zn(!0);break;case"2":(0,Ha.L9)(["\u5B9E\u8DF5\u9879\u76EE","\u8BBE\u7F6E","\u4EE3\u7801\u4ED3\u5E93","\u65B0\u5EFA\u6587\u4EF6\u5939"]),zr(!0);break;case"3":(0,Ha.L9)(["\u5B9E\u8DF5\u9879\u76EE","\u8BBE\u7F6E","\u4EE3\u7801\u4ED3\u5E93","\u4E0A\u4F20"]),to(!0);break;case"4":(0,Ha.L9)(["\u5B9E\u8DF5\u9879\u76EE","\u8BBE\u7F6E","\u4EE3\u7801\u4ED3\u5E93","\u91CD\u547D\u540D"]),pn(!0);break;case"5":(0,Ha.L9)(["\u5B9E\u8DF5\u9879\u76EE","\u8BBE\u7F6E","\u4EE3\u7801\u4ED3\u5E93","\u5220\u9664"]),Il(va.path,va.name,va);break;case"6":(0,Ha.L9)(["\u5B9E\u8DF5\u9879\u76EE","\u8BBE\u7F6E","\u4EE3\u7801\u4ED3\u5E93","\u590D\u5236\u8DEF\u5F84"]),rl(va);break}}},(va.type==="topTree"||va.type==="tree")&&b.createElement(he.default.Item,{key:"1"},"\u65B0\u5EFA\u6587\u4EF6"),(va.type==="topTree"||va.type==="tree")&&b.createElement(he.default.Item,{key:"2"},"\u65B0\u5EFA\u6587\u4EF6\u5939"),(va.type==="topTree"||va.type==="tree")&&b.createElement(he.default.Item,{key:"3"},"\u4E0A\u4F20"),va.type!=="topTree"&&va.type!=="tree"&&((Kr=We==null?void 0:We.detail)==null?void 0:Kr.public)<2&&b.createElement(he.default.Item,{key:"4"},"\u91CD\u547D\u540D"),va.type!=="topTree"&&b.createElement(E.CopyToClipboard,{text:`/data/workspace/myshixun/${ut?"":"secret/"}${va==null?void 0:va.path}`,onCopy:()=>lt.ZP.success("\u590D\u5236\u6210\u529F")},b.createElement(he.default.Item,{key:"6"},b.createElement(b.Fragment,null,"\u590D\u5236\u8DEF\u5F84"))),va.type!=="topTree"&&b.createElement(he.default.Item,{key:"5"},"\u5220\u9664"))},ko=(va,Kr)=>va.map(Jr=>(Kr==""?Jr.path=Kr+Jr.name:Jr.path=Kr+"/"+Jr.name,Jr.title=b.createElement(Xe.Z,{className:"font14"},b.createElement(Ke.Z,{flex:"1"},b.createElement(Xe.Z,null,Jr.type==="blob"&&b.createElement(Ke.Z,{flex:"20px",style:{marginLeft:-20}},b.createElement("span",{className:"iconfont icon-wenjian11 font12"})),b.createElement(Ke.Z,{flex:"1"},b.createElement("span",{className:" multi_ellipsis1"},Jr.name)))),b.createElement(Ke.Z,null,(Jr.type==="blob"||Jr.type==="tree")&&b.createElement(Ie.Z,{dropdownRender:()=>ui(Jr),className:At.ellipsis},b.createElement("i",{className:"iconfont icon-gengduo2 c-555a88"})))),Jr.disableCheckbox=gr&&gr!==Jr.name,Jr.className=Jr.type==="tree"?At.pl23:"",Jr.checkable=Jr.type!=="tree",Jr.isLeaf=Jr.type!=="tree",Jr.children=Jr.type==="tree"&&[],Jr.key=Jr.path,Jr)),Di=va=>{it({type:"practiceSetting/setSideBarTabs",payload:{selectPath:va}})},hl=(va,Kr)=>ke(void 0,null,function*(){const Jr=va.split("/");yield Ii(Ka),setTimeout(()=>{Di(va),Eo=[Jr[0]||""],li=[va],Mi([...li]),ai([...Eo])},150)}),di=(va,Kr)=>{if(Kr=="")zt=[...va],Ga([...va]);else{let Jr=bl(zt,Kr,va);zt=Jr,Ga([...Jr])}};function bl(va,Kr,Jr){return va.map(Po=>Po.key===Kr?(Po.children=[...Jr],sn({},Po)):Po.children?On(sn({},Po),{children:bl(Po.children,Kr,Jr)}):Po)}const Ii=(va="")=>ke(void 0,null,function*(){var Kr,Jr;const Po=yield it({type:ut?"shixunsDetail/getRepository":"shixunsDetail/getSecretRepository",payload:{id:wt.id,path:va}});if(Po){if((Kr=Po.trees)!=null&&Kr.length){let Li=ko([...Po.trees],va);di(Li,va),Sa(Po.trees||[]),jr(va||""),console.log("handleGetRepository:",Li,va),setTimeout(()=>console.log(zt,Po.trees,va,999999),2e3)}else va==""&&Ga([]);pr(((Jr=Po.commits)==null?void 0:Jr[0])||{})}return Po}),gl=va=>ke(void 0,null,function*(){return new Promise((Kr,Jr)=>ke(void 0,null,function*(){va.children.length&&Kr(),mr(va.path),yield Ii(va.path),Kr()}))}),al=(va,Kr)=>ke(void 0,null,function*(){var Jr;console.log("handleSelectTree",va,Kr.nativeEvent.target.nodeName,Kr);const Po=()=>{Di(Kr.node.path),va=[Kr.node.path],Mi([...va])};Kr.nativeEvent.target.nodeName==="svg"||Kr.nativeEvent.target.nodeName==="LI"||Kr.nativeEvent.target.nodeName==="I"||Kr.node.type==="blob"&&((Jr=Me==null?void 0:Me.sideBar)!=null&&Jr.confirmLeave?tt.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(),it({type:"practiceSetting/setSideBarTabs",payload:{confirmLeave:!1}})}}):Po())}),Il=(va,Kr,Jr)=>{tt.default.confirm({centered:!0,title:`\u786E\u8BA4\u9700\u8981\u5220\u9664\u8BE5\u6587\u4EF6${Jr.children?"\u5939":""}?`,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>ke(void 0,null,function*(){const Po=yield it({type:"shixunsDetail/deleteGitFile",payload:{id:wt.id,path:va,message:`\u5220\u9664${va}`,secret_repository:ut?null:!0}});let Li=va.split("/");if((Po==null?void 0:Po.status)===0){lt.ZP.info("\u5220\u9664\u6210\u529F"),Li.splice(Li.length-1,1);const Hl=yield Ii(Li.length>1?Li.join("/"):"");return Hl!=null&&Hl.trees||(Li.splice(Li.length-1,1),yield Ii(Li.length>1?Li.join("/"):"")),Di(""),!0}else(Po==null?void 0:Po.status)===-3?tt.default.confirm({title:"\u5220\u9664\u5931\u8D25",centered:!0,content:b.createElement("div",null,"\u8BE5\u6587\u4EF6\u201C",va,"\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/${wt.id}/edit/${Po==null?void 0:Po.message}/tab=2`}}):(Po==null?void 0:Po.status)===-4&&tt.default.confirm({title:"\u5220\u9664\u5931\u8D25",centered:!0,content:b.createElement("div",null,Po==null?void 0:Po.message),okText:"\u524D\u5F80\u4FEE\u6539",cancelText:"\u53D6\u6D88",onOk:()=>{window.location.href=`/shixuns/${wt.id}/edit?tabId=service`}})})})},rl=va=>{console.log(va,"item")},Pu=(va,Kr)=>ke(void 0,null,function*(){if(console.log("handleExpand",Kr),Kr.nativeEvent.target.nodeName==="svg"||Kr.nativeEvent.target.nodeName==="path"||Kr.nativeEvent.target.nodeName==="LI")return!0;yield gl(Kr.node),Eo.includes(Kr.node.path)?Eo.splice(Eo.indexOf(Kr.node.path),1):Eo.push(Kr.node.path),ai([...Eo])}),$l=()=>{$t(!1),localStorage.warehouseHideTip=!0},Au=va=>ke(void 0,null,function*(){var Kr;let Jr,Po="",Li,Hl;switch(ut){case!0:Po="\u5F00\u542F\u7248\u672C\u5E93",Li="\u5F00\u542F",Hl="\u4E0D\u5F00\u542F",Jr=b.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:(Kr=We==null?void 0:We.detail)!=null&&Kr.secret_repository?(Po="\u5173\u95ED\u79C1\u5BC6\u4EE3\u7801\u4ED3\u5E93",Li="\u786E\u5B9A",Hl="\u53D6\u6D88",Jr=b.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",Li="\u4E0D\u4F7F\u7528",Hl="\u4F7F\u7528",Jr=b.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}!ut&&(0,Xa.gy)(it,"\u4E0D\u80FD\u5F00\u542F/\u5173\u95ED\u79C1\u5BC6\u4EE3\u7801\u4ED3\u5E93")||tt.default.confirm({title:Po,okText:Li,cancelText:Hl,content:Jr,onOk:()=>{var gi;(0,Ha.L9)(["\u5B9E\u8DF5\u9879\u76EE","\u8BBE\u7F6E","\u4EE3\u7801\u4ED3\u5E93",Po]),!ut&&!((gi=We==null?void 0:We.detail)!=null&&gi.secret_repository)||eu(va)},onCancel:()=>{var gi;!ut&&!((gi=We==null?void 0:We.detail)!=null&&gi.secret_repository)&&eu(va)}})}),eu=va=>ke(void 0,null,function*(){ut?(yield(0,cr.h4)(sn({},wt)),it({type:"practiceSetting/getCommonData",payload:sn({},wt)})):yield(0,cr.K0)(On(sn({},wt),{is_secret_repository:va})),Ii(),it({type:"shixunsDetail/getShixunsDetail",payload:{id:wt.id}})}),$u=va=>{console.log(va)},Si=va=>ke(void 0,null,function*(){console.log(va);const Kr=va.node.key,Jr=va.dragNode.key,Po=va.node.pos.split("-"),Li=va.dropPosition-Number(Po[Po.length-1]);if(va.dragNode.type==="tree"){lt.ZP.warning("\u4E0D\u652F\u6301\u6587\u4EF6\u5939\u79FB\u52A8\u76EE\u5F55");return}if(va.node.type!=="tree"){lt.ZP.warning("\u672A\u79FB\u52A8\u6587\u4EF6\u76EE\u5F55\u4F4D\u7F6E");return}if((yield it({type:"shixunsDetail/moveGitFile",payload:sn({id:wt.id,from:va.dragNode.path,to:va.node.path+"/"+va.dragNode.name,message:`${va.dragNode.path} move to ${va.node.path+"/"+va.dragNode.name} `},ut?{}:{secret_repository:!0})})).status===0){Di(""),yield Ii("");for(let Xo=0;Xoui({type:"topTree"}),className:"current"},b.createElement(Ze.Z,{open:kn,title:b.createElement("div",{className:"font16"},b.createElement(Da.Z,{style:{position:"relative",left:-35},onClick:()=>$l()}),"\u70B9\u51FB\u6B64\u5904\u65B0\u5EFA\u6587\u4EF6\u3001\u65B0\u5EFA\u6587\u4EF6\u5939\u3001\u4E0A\u4F20\u6587\u4EF6\u3002",b.createElement("span",{onClick:()=>$l(),className:"iconfont icon-guanbi1 ml8 current font14"})),overlayClassName:At.overlayClass,overlayStyle:{maxWidth:500},arrowPointAtCenter:!0,placement:"right",color:"#F7B500"},ut&&((ba=We==null?void 0:We.detail)==null?void 0:ba.init_repository)&&b.createElement("i",{className:"iconfont icon-gengduo2 c-555a88"}),!ut&&((La=We==null?void 0:We.detail)==null?void 0:La.secret_repository)&&b.createElement("i",{className:"iconfont icon-gengduo2 c-555a88"}))))),!!zt.length&&!ut&&b.createElement("div",{className:"mt20 pl20 pr20 font14 c-white"},b.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")),zt.length?b.createElement(b.Fragment,null,b.createElement("div",{className:At.content},Oe==="1"&&b.createElement("div",{className:At.tips},"\u63D0\u793A\uFF1A",b.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'),b.createElement(rt,{disabled:!!Cn.effects["shixunsDetail/getFileContent"],multiple:!0,showIcon:!1,treeData:zt,switcherIcon:b.createElement(Lr.Z,{style:{fontWeight:"bold",fontSize:14,position:"relative",top:5,left:-2}}),onExpand:Pu,expandedKeys:Eo,selectedKeys:li,onSelect:al,draggable:!0,onDragEnter:$u,onDrop:Si,className:At.gitTree}))):"",!zt.length&&ut&&((rr=We==null?void 0:We.detail)==null?void 0:rr.init_repository)&&b.createElement(Dn,null),!zt.length&&!ut&&((sa=We==null?void 0:We.detail)==null?void 0:sa.secret_repository)&&b.createElement(Dn,null))),b.createElement(bt,{visible:Rn,defaultPath:Ka,onClose:()=>pn(!1),isRepository:!ut,onOK:va=>ke(void 0,null,function*(){const Kr=Ka.split("/");Kr.pop(),yield Ii(Kr.join("/")),Di("")})}),b.createElement(nt,{visible:dr,defaultPath:Ka,onClose:()=>Zn(!1),isRepository:ut,onOK:va=>{hl(va.path,va.name)}}),b.createElement(ht,{visible:Er,defaultPath:Ka,onClose:()=>zr(!1),isRepository:ut,onOK:va=>{hl(va.path,va.name)}}),b.createElement(mt,{defaultPath:Ka,visible:uo,isRepository:ut,onClose:()=>to(!1),onOK:va=>ke(void 0,null,function*(){const Kr=Ka.split("/");yield Ii(Ka),Eo=[Kr[0]||""],li=[Ka],Mi([...li]),ai([...Eo])})}),b.createElement(Ya,{pathList:Ka==null?void 0:Ka.split("/"),showInputPath:!0,isMergeSelectFile:Xr,onFinish:va=>{Xr?So(va):Ii(va),yo(!1)}}))},Dn=()=>b.createElement("div",{className:`mt20 pb50 ${At.nodata}`},b.createElement("div",{className:At.headLeft},"\u63D0\u793A\uFF1A",b.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",b.createElement("br",null),"\u4E24\u79CD\u65B9\u5F0F\u6765\u4F7F\u7528\uFF1A",b.createElement("br",null),"1\u3001",b.createElement("a",{href:"/forums/2784",target:"_blank"},"Git\u5BA2\u6237\u7AEF")," \u4E0A\u4F20\u5DF2\u6709\u6587\u4EF6\u6765\u5F00\u59CB\u4F7F\u7528\u3002",b.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",b.createElement("br",null),"3\u3001\u5982\u679C\u6587\u4EF6\u5927\u5C0F\u8D85\u8FC750MB,\u8BF7\u4E0A\u4F20\u81F3\u6570\u636E\u96C6\u3002"),b.createElement("img",{width:"100%",src:Dr.Oe}));var mn=(0,Je.connect)(({shixunsDetail:dt,loading:Ue,globalSetting:We,practiceSetting:Rt,user:Cn})=>({shixunsDetail:dt,globalSetting:We,user:Cn,practiceSetting:Rt,loading:Ue}))(qe),Wn={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"},ya=re(28103),ma=Object.getOwnPropertySymbols,ta=Object.prototype.hasOwnProperty,fa=Object.prototype.propertyIsEnumerable,ua=(dt,Ue)=>{var We={};for(var Rt in dt)ta.call(dt,Rt)&&Ue.indexOf(Rt)<0&&(We[Rt]=dt[Rt]);if(dt!=null&&ma)for(var Rt of ma(dt))Ue.indexOf(Rt)<0&&fa.call(dt,Rt)&&(We[Rt]=dt[Rt]);return We},hn=(dt,Ue,We)=>new Promise((Rt,Cn)=>{var aa=Me=>{try{it(We.next(Me))}catch(ut){Cn(ut)}},Oe=Me=>{try{it(We.throw(Me))}catch(ut){Cn(ut)}},it=Me=>Me.done?Rt(Me.value):Promise.resolve(Me.value).then(aa,Oe);it((We=We.apply(dt,Ue)).next())});const Ra=dt=>{var Ue=dt,{shixunsDetail:We,globalSetting:Rt,loading:Cn,user:aa,dispatch:Oe,isRepository:it}=Ue,Me=ua(Ue,["shixunsDetail","globalSetting","loading","user","dispatch","isRepository"]);const ut=(0,Je.useParams)(),[zt,Ga]=(0,b.useState)([]);(0,b.useEffect)(()=>{ja()},[it]);const ja=()=>hn(void 0,null,function*(){const Vn=yield Oe({type:"shixunsDetail/getRepositoryCommit",payload:{id:ut.id,secret_repository:it?void 0:!0}});Vn&&Ga(Vn.commits||[])});return b.createElement(b.Fragment,null,zt==""&&b.createElement("div",{className:Wn.empty},b.createElement("img",{src:Dr.em,width:"258"}),b.createElement("br",null),b.createElement("span",{className:"c-grey-c font14"},"\u6682\u65E0\u63D0\u4EA4\u8BB0\u5F55")),zt!=""&&b.createElement("section",{className:Wn.bg},b.createElement("div",{className:Wn.wrap},b.createElement("div",{className:Wn.content},zt==null?void 0:zt.map(Vn=>{var Jt,Hn;return b.createElement("div",null,b.createElement(Xe.Z,{align:"middle",className:"c-white font16"},b.createElement(Ke.Z,null,Vn.title)),b.createElement(Xe.Z,{align:"middle",className:"mt20 "},b.createElement(Ke.Z,null,b.createElement("img",{className:Wn.imageUrl,src:It.Z.IMG_SERVER+"/"+((Jt=Vn.author)==null?void 0:Jt.image_url)})),b.createElement(Ke.Z,{className:Wn.blueLight},b.createElement("span",{className:"ml20"},(Hn=Vn.author)==null?void 0:Hn.username)),b.createElement(Ke.Z,null,b.createElement("span",{className:`ml20 ${Wn.blueLight}`},"\u63D0\u4EA4\u4E8E"),b.createElement("span",{className:`ml20 ${Wn.blueLight}`},Vn.time))),b.createElement(ya.Z,{className:Wn.divider}))})))))};var vr=(0,Je.connect)(({shixunsDetail:dt,loading:Ue,globalSetting:We,user:Rt})=>({shixunsDetail:dt,globalSetting:We,user:Rt,loading:Ue.models.index}))(Ra),fo=re(10825),Nn=re(59301),tn=Object.defineProperty,Or=Object.defineProperties,ha=Object.getOwnPropertyDescriptors,qr=Object.getOwnPropertySymbols,Yr=Object.prototype.hasOwnProperty,na=Object.prototype.propertyIsEnumerable,oo=(dt,Ue,We)=>Ue in dt?tn(dt,Ue,{enumerable:!0,configurable:!0,writable:!0,value:We}):dt[Ue]=We,Mo=(dt,Ue)=>{for(var We in Ue||(Ue={}))Yr.call(Ue,We)&&oo(dt,We,Ue[We]);if(qr)for(var We of qr(Ue))na.call(Ue,We)&&oo(dt,We,Ue[We]);return dt},$r=(dt,Ue)=>Or(dt,ha(Ue)),ho=(dt,Ue)=>{var We={};for(var Rt in dt)Yr.call(dt,Rt)&&Ue.indexOf(Rt)<0&&(We[Rt]=dt[Rt]);if(dt!=null&&qr)for(var Rt of qr(dt))Ue.indexOf(Rt)<0&&na.call(dt,Rt)&&(We[Rt]=dt[Rt]);return We},yn=(dt,Ue,We)=>new Promise((Rt,Cn)=>{var aa=Me=>{try{it(We.next(Me))}catch(ut){Cn(ut)}},Oe=Me=>{try{it(We.throw(Me))}catch(ut){Cn(ut)}},it=Me=>Me.done?Rt(Me.value):Promise.resolve(Me.value).then(aa,Oe);it((We=We.apply(dt,Ue)).next())});const{TabPane:Mr}=Te.default,io=dt=>{var Ue=dt,{globalSetting:We,loading:Rt,dispatch:Cn,practiceSetting:aa,shixunsDetail:Oe}=Ue,it=ho(Ue,["globalSetting","loading","dispatch","practiceSetting","shixunsDetail"]),Me,ut,zt,Ga,ja,Vn,Jt,Hn,ba,La,rr,sa,wt,ca,gr,Pr,dr,Zn,Rn;const[pn,Er]=(0,b.useState)("1"),[zr,uo]=(0,b.useState)("1");let[to,Ka]=(0,b.useState)();const _r=(0,b.useRef)(),[Eo,ai]=(0,b.useState)(!0),[li,Mi]=(0,b.useState)(["2","1"]),[Gr,Sa]=(0,b.useState)([]),kn=(0,b.useRef)(),$t=(0,Je.useParams)(),Mn=[{id:"1",name:"\u4EE3\u7801\u4ED3\u5E93"},{id:"2",name:Nn.createElement("span",null,Nn.createElement("span",null,"\u79C1\u5BC6\u4EE3\u7801\u4ED3\u5E93"),Nn.createElement(Ze.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"},Nn.createElement("i",{className:"iconfont icon-xiaowenhao",style:{marginLeft:2,fontSize:14}})))}];(0,b.useEffect)(()=>{var Za,mr,fr,Vr,Xr,yo,So,ui,ko,Di,hl,di,bl,Ii,gl,al,Il,rl;try{((fr=(mr=(Za=Oe==null?void 0:Oe.fileContent)==null?void 0:Za.content)==null?void 0:mr.content)!=null&&fr.length||((Xr=(Vr=Oe==null?void 0:Oe.fileContent)==null?void 0:Vr.content)==null?void 0:Xr.content)=="")&&(((yo=Oe==null?void 0:Oe.fileContent)==null?void 0:yo.file_type)==="txt"?(_r.current=window.decodeURIComponent(escape(window.atob((ui=(So=Oe==null?void 0:Oe.fileContent)==null?void 0:So.content)==null?void 0:ui.content))),to=window.decodeURIComponent(escape(window.atob((Di=(ko=Oe==null?void 0:Oe.fileContent)==null?void 0:ko.content)==null?void 0:Di.content))),Ka(to)):(_r.current=(di=(hl=Oe==null?void 0:Oe.fileContent)==null?void 0:hl.content)==null?void 0:di.content,to=(Ii=(bl=Oe==null?void 0:Oe.fileContent)==null?void 0:bl.content)==null?void 0:Ii.content,Ka(to)))}catch(Pu){_r.current=window.atob((al=(gl=Oe==null?void 0:Oe.fileContent)==null?void 0:gl.content)==null?void 0:al.content),to=window.atob((rl=(Il=Oe==null?void 0:Oe.fileContent)==null?void 0:Il.content)==null?void 0:rl.content),Ka(to),lt.ZP.warning("\u8BF7\u786E\u8BA4\u6587\u4EF6\u5B57\u7B26\u96C6\u7F16\u7801\u662F\u5426\u4E3AUTF-8")}console.log("codeMirrorSourceValue1212:12",Oe.fileContent.content)},[(Me=Oe==null?void 0:Oe.fileContent)==null?void 0:Me.content]),(0,b.useEffect)(()=>{var Za;const mr=(Za=aa==null?void 0:aa.sideBar)==null?void 0:Za.selectPath.split("/");Mi(mr)},[(ut=aa==null?void 0:aa.sideBar)==null?void 0:ut.selectPath]);const pr=Za=>{Ka(Za);let mr=-1;Za===_r.current?mr=0:mr=1,Cn({type:"practiceSetting/setSideBarTabs",payload:{confirmLeave:!!mr}})};(0,b.useEffect)(()=>{new Promise((Za,mr)=>yn(void 0,null,function*(){var fr,Vr,Xr;if(((fr=aa==null?void 0:aa.sideBar)==null?void 0:fr.selectPath)!==""&&((Vr=aa==null?void 0:aa.sideBar)!=null&&Vr.selectPath)){const yo=yield Cn({type:"shixunsDetail/getFileContent",payload:{id:$t.id,path:(Xr=aa==null?void 0:aa.sideBar)==null?void 0:Xr.selectPath,secret_repository:Eo?null:!0}});yo!=null&&yo.content||(yo==null?void 0:yo.content)==""||Cn({type:"practiceSetting/setSideBarTabs",payload:{selectPath:""}})}}))},[(zt=aa==null?void 0:aa.sideBar)==null?void 0:zt.selectPath]);const be=Nn.createElement(he.default,{className:Be.menu,style:{background:"#24294b"},onClick:Za=>{var mr;!((mr=Oe==null?void 0:Oe.detail)!=null&&mr.secret_repository)&&Za.key==="2"&&uo("1"),Er(Za.key),Za.key==="1"?ai(!0):ai(!1)}},Nn.createElement(he.default.Item,{disabled:!0,key:"0"},"\u5207\u6362\u4ED3\u5E93"),Mn.filter(Za=>{var mr,fr;return!((mr=Oe==null?void 0:Oe.detail)!=null&&mr.init_repository)||(fr=Oe==null?void 0:Oe.detail)!=null&&fr.is_jupyter_lab?Za.id!=="2":Za}).map((Za,mr)=>Nn.createElement(he.default.Item,{className:"leaveClick",key:Za.id},Za.name))),jr=(Za=!1,mr=1)=>yn(void 0,null,function*(){var fr,Vr,Xr,yo;const So=yield Cn({type:"shixunsDetail/updateRepositoryFile",payload:{id:$t.id,path:(Vr=(fr=Oe==null?void 0:Oe.fileContent)==null?void 0:fr.params)==null?void 0:Vr.path,content:to,secret_repository:Eo?null:!0,sync_origin_shixun:Za}});So!=null&&So.content&&((Xr=Oe==null?void 0:Oe.detail)!=null&&Xr.copy_for_exercise||lt.ZP.success("\u4FDD\u5B58\u6210\u529F"),Cn({type:"practiceSetting/setSideBarTabs",payload:$r(Mo({},aa.sideBar),{confirmLeave:!1})})),(yo=Oe==null?void 0:Oe.detail)!=null&&yo.copy_for_exercise&&(0,Gn.m)(Cn,Oe,$t.id,mr)});return Nn.createElement("div",{className:Be.warehouse},Nn.createElement("div",{className:Be.header},Nn.createElement(Xe.Z,{align:"middle",className:"w100 c-white",style:{height:60}},Nn.createElement(Ke.Z,{flex:"1"},Nn.createElement(Xe.Z,{align:"middle"},Nn.createElement(Ke.Z,null,Nn.createElement(Ie.Z,{dropdownRender:()=>be,className:Be.menu},Nn.createElement("span",{className:"font16 c-white current ml20"},Mn.find(Za=>Za.id===pn).name," ",Nn.createElement("span",{style:{color:"#B0B5D6"},className:"iconfont icon-sanjiaoxing font12"})))),Nn.createElement(Ke.Z,{flex:"81px"},Nn.createElement("div",{className:Be.line})),Nn.createElement(Ke.Z,null,Nn.createElement(Te.default,{className:Be.tabs,activeKey:zr,onChange:Za=>{var mr;(mr=aa==null?void 0:aa.sideBar)!=null&&mr.confirmLeave?tt.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:()=>{uo(Za),Cn({type:"practiceSetting/setSideBarTabs",payload:{confirmLeave:!1,selectPath:""}})}}):(uo(Za),Cn({type:"practiceSetting/setSideBarTabs",payload:{confirmLeave:!1,selectPath:""}}))}},Nn.createElement(Mr,{tab:Nn.createElement("span",{className:"leaveClick"},"\u4EE3\u7801\u6587\u4EF6"),key:"1"}),Eo&&((Ga=Oe==null?void 0:Oe.detail)==null?void 0:Ga.init_repository)&&Nn.createElement(Mr,{tab:"\u63D0\u4EA4\u8BB0\u5F55",key:"2",className:"leaveClick"}),!Eo&&((ja=Oe==null?void 0:Oe.detail)==null?void 0:ja.secret_repository)&&Nn.createElement(Mr,{tab:"\u63D0\u4EA4\u8BB0\u5F55",key:"2",className:"leaveClick"}))))),(Eo&&((Vn=Oe==null?void 0:Oe.repository)==null?void 0:Vn.git_url)||!Eo&&((Jt=Oe==null?void 0:Oe.secretRepository)==null?void 0:Jt.git_url))&&Nn.createElement(Nn.Fragment,null,Nn.createElement(Ke.Z,null,Nn.createElement("span",{className:Be.title},"\u4ED3\u5E93\u5730\u5740:"),Nn.createElement("input",{value:Eo?(Hn=Oe==null?void 0:Oe.repository)==null?void 0:Hn.git_url:(ba=Oe==null?void 0:Oe.secretRepository)==null?void 0:ba.git_url}),Nn.createElement(E.CopyToClipboard,{text:Eo?(La=Oe==null?void 0:Oe.repository)==null?void 0:La.git_url:(rr=Oe==null?void 0:Oe.secretRepository)==null?void 0:rr.git_url,onCopy:()=>lt.ZP.success("\u590D\u5236\u6210\u529F")},Nn.createElement(Ze.Z,{placement:"topLeft",title:"\u70B9\u51FB\u590D\u5236\u7248\u672C\u5E93"},Nn.createElement("i",{className:"iconfont icon-fuzhi2 current ml5 mr40"}))))))),Nn.createElement("div",{className:Be.content,style:{overflow:"auto"}},zr==="1"&&Nn.createElement(Nn.Fragment,null,Nn.createElement("aside",{className:Be.left},Nn.createElement(ot.Z,{spinning:!!Rt.effects["shixunsDetail/getRepository"],wrapperClassName:`${Be.loading} ${Be.bottom0}`},Nn.createElement(mn,{setTreeData:Sa,treeData:Gr,activeKey:pn,isRepository:Eo}))),Nn.createElement("aside",{className:Be.right,ref:kn},((sa=aa==null?void 0:aa.sideBar)==null?void 0:sa.selectPath)!==""&&Nn.createElement(Nn.Fragment,null,Nn.createElement(ot.Z,{spinning:!!Rt.effects["shixunsDetail/getFileContent"],wrapperClassName:Be.loading},Nn.createElement("div",{className:Be.filePathWrp},Nn.createElement(Xe.Z,{align:"middle",className:"w100"},Nn.createElement(Ke.Z,null,Nn.createElement("span",{className:"iconfont icon-daimacangku2 c-white"})),Nn.createElement(Ke.Z,{flex:"40px"},Nn.createElement("div",{className:Be.line,style:{marginLeft:20}})),Nn.createElement(Ke.Z,{className:Be.filePath},li.map((Za,mr)=>Nn.createElement("span",{className:"c-blue"},Za))))),Nn.createElement("div",{className:Rt.effects["shixunsDetail/getFileContent"]?"hide":"show"},Nn.createElement(fo.Z,{className:"darkBlue",style:{top:66,height:"calc(100% - 60px)",position:"absolute",zIndex:1},filename:(wt=Oe==null?void 0:Oe.fileContent)==null?void 0:wt.filename,type:((ca=Oe==null?void 0:Oe.fileContent)==null?void 0:ca.file_type)==="office"?"download":(gr=Oe==null?void 0:Oe.fileContent)==null?void 0:gr.file_type,data:to,monacoEditor:{value:to,language:(Pr=Oe==null?void 0:Oe.fileContent)==null?void 0:Pr.language,onChange:Za=>pr(Za),options:{fontSize:14}}}))),((dr=Oe==null?void 0:Oe.fileContent)==null?void 0:dr.file_type)==="txt"&&Nn.createElement(Xe.Z,{align:"middle",justify:"center",className:Be.footer},Nn.createElement(Ke.Z,null,Nn.createElement(Qe.ZP,{type:"primary",size:"middle",ghost:!0,onClick:()=>{Je.history.push(`/shixuns/${$t.id}/challenges`)}},"\u53D6\u6D88"),Nn.createElement(Qe.ZP,{type:"primary",size:"middle",className:"ml40",onClick:Za=>{var mr,fr;(mr=Oe==null?void 0:Oe.detail)!=null&&mr.is_fork_from_creator&&((fr=Oe==null?void 0:Oe.detail)!=null&&fr.copy_for_exercise)?Cn({type:"classroomList/setActionTabs",payload:{key:"\u540C\u6B65\u4FEE\u6539",type:"wareHouse",fn:(Vr,Xr)=>{jr(Vr,Xr)}}}):jr()}},"\u63D0\u4EA4")))),((Zn=aa==null?void 0:aa.sideBar)==null?void 0:Zn.selectPath)==""&&((Rn=Oe==null?void 0:Oe.detail)==null?void 0:Rn.init_repository)&&Nn.createElement("div",{className:Be.empty},Nn.createElement("img",{src:Dr.x7,width:"258"}),Nn.createElement("br",null),Nn.createElement("span",{className:"c-grey-c"},!!(Gr!=null&&Gr.length)&&"\u5728\u5DE6\u4FA7\u4EE3\u7801\u4ED3\u5E93\u533A\u57DF\u70B9\u51FB\u76EE\u5F55\u6253\u5F00\u6587\u4EF6",!(Gr!=null&&Gr.length)&&"\u8BF7\u5148\u5728\u5DE6\u4FA7\u4E0A\u4F20\u6587\u4EF6\u6216\u65B0\u5EFA\u6587\u4EF6\uFF01")))),zr==="2"&&Nn.createElement("div",{className:Be.commit},Nn.createElement(vr,{isRepository:Eo}))))};var lo=(0,Je.connect)(({loading:dt,globalSetting:Ue,practiceSetting:We,shixunsDetail:Rt})=>({globalSetting:Ue,loading:dt,practiceSetting:We,shixunsDetail:Rt}))(io)},68014:function(je,Nt,re){"use strict";re.r(Nt),re.d(Nt,{default:function(){return ss}});var b=re(59301),Be={practiceSetting:"practiceSetting___duHIg",wrapHeader:"wrapHeader___vb3NV",wrapLayout:"wrapLayout___z6EgF",wrapSidebar:"wrapSidebar___TzHq8",wrapContent:"wrapContent___iZrCo"},Je={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"},Te=re(49661),Ze="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAACL0lEQVRIS72WvU9TURTAf4e+qBUritRXoYkaB0w0alz4B3RQExTSbjpooouiddGVxf0hTjKQ+MkANhiVwYTNwcHFRuNgdIHGYiMmVWnja6+5La8ttq99Vesd3/n4nXPuOec+ocHpu6nCecVJFCcUHBDo0eoK0gKvEZ76hNnFy7Lg5kbqCXrGVa8vzyhwVsBoFIQCG5jM+xhNj0jyd90agGmpQVHcQwg0clwjU2SUcDoVk8fVsjUAc0yNiMICOlpyXlEuKCGWuiLjzqcyoBg5xP/CueOzoGDIyaQI0DU3bN61XBa3NBUZ22CvvpMiwLTUbYHzf1gWDpmw9B2S3yoeFEykYnJBdCvaBT4265Z6cEMgNgBn9sPQNHz4ugZgGx3sltCYuojiVqvRd/th4jjsC0J0BhKf63gQLknIUs+AY60A+rfB3UEIboTIDLz65Go9J6alFgT6vAIOboeHp2CrH64+h6m37pYKFnUGWWB9tZrfAOso5Gy4Ng/ZfEl62ISpYQisgzsJuD7fNKxcXUCoE+JR2NUFiSU49wQ2GDAbBV3798tw5D7kVsENMDnXEoUDEI9AeDN8WYGsDb0B0FM0PA0va7ZOLcYpkesl7+wqQXZsqhh7LI1jMNe0TfdsKUGCnfDjJwxMQnqlae1LCrpNvQxafzc8isCDN3DjhTfneo0XB83rqtADlczAsu45D6e8Kv7LslvNon3r2sm4rQ9OGdLOJ9OBtPXRr26Qf/Hb8gvtaezbqqd4vgAAAABJRU5ErkJggg==",lt=re(67135),he=re(43418),Xe=re(8591),Ke=re(82093),Ie=re(76560),tt=re(59301),ot=Object.getOwnPropertySymbols,Qe=Object.prototype.hasOwnProperty,de=Object.prototype.propertyIsEnumerable,a=(ve,Ee)=>{var pe={};for(var at in ve)Qe.call(ve,at)&&Ee.indexOf(at)<0&&(pe[at]=ve[at]);if(ve!=null&&ot)for(var at of ot(ve))Ee.indexOf(at)<0&&de.call(ve,at)&&(pe[at]=ve[at]);return pe},E=(ve,Ee,pe)=>new Promise((at,Qt)=>{var Ln=st=>{try{un(pe.next(st))}catch(dn){Qt(dn)}},wn=st=>{try{un(pe.throw(st))}catch(dn){Qt(dn)}},un=st=>st.done?at(st.value):Promise.resolve(st.value).then(Ln,wn);un((pe=pe.apply(ve,Ee)).next())});const x=ve=>{var Ee=ve,{globalSetting:pe,loading:at,dispatch:Qt,practiceSetting:Ln,shixunsDetail:wn}=Ee,un=a(Ee,["globalSetting","loading","dispatch","practiceSetting","shixunsDetail"]),st,dn;const Ea=(0,Ie.useLocation)(),Qa=(0,b.useRef)(""),ia=(0,Ie.useParams)(),{title:Oa,base_info_warning:Ia,challenges_warning:Wr,service_warning:ga,repository_warning:ea,mirror_warning:Ir}=Ln;(0,b.useEffect)(()=>{var Ma;Qa.current=(Ma=Ea.pathname.split("/"))==null?void 0:Ma[2],Qt({type:"practiceSetting/setParams",payload:{id:Qa.current}}),Qt({type:"practiceSetting/getCommonData",payload:{id:Qa.current}})},[Ea.pathname]),(0,b.useEffect)(()=>((0,Te.Dk)(Oa||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"),()=>{(0,Te.Dk)()}));const Sr=()=>E(void 0,null,function*(){yield Ta(),Ie.history.push(`/shixuns/${Qa.current}/challenges`)}),Ta=()=>new Promise((Ma,Br)=>{var bo;(bo=Ln==null?void 0:Ln.sideBar)!=null&&bo.confirmLeave?he.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:()=>{Qt({type:"practiceSetting/setSideBarTabs",payload:{confirmLeave:!1}}),Ma()},onCancel:()=>{Br()}}):Ma()}),ur=Ma=>{var Br;if(Ma===(Ln==null?void 0:Ln.sideBar.tabsActive))return;const bo=()=>{Ie.history.push(`/shixuns/${Qa.current}/edit?tabId=${Ma}`),Qt({type:"practiceSetting/setSideBarTabs",payload:{tabsActive:Ma,selectPath:"",confirmLeave:!1}})};(Br=Ln==null?void 0:Ln.sideBar)!=null&&Br.confirmLeave?he.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()}}):bo()},la=(Ma,Br=!1)=>{Ma=Ma!=null&&Ma.includes(".json")?Ma:`${Ma}.json`,he.default.confirm({centered:!0,title:"\u63D0\u793A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",content:tt.createElement("div",{className:"tc font16"},"\u5B9E\u8BAD\u5DF2\u7ECF\u66F4\u65B0\u4E86\uFF0C\u6B63\u5728\u4E3A\u60A8\u91CD\u7F6E!"),onOk:()=>E(void 0,null,function*(){const bo=yield(0,Ke.ZP)("/api"+Ma,{method:"get"});if(!bo)return;Xe.ZP.success("\u91CD\u7F6E\u6210\u529F\uFF0C\u6B63\u5728\u8FDB\u5165\u5B9E\u8DF5\u9879\u76EE\uFF01");const Ua=yield(0,lt.Ir)({id:bo.shixun_identifier,jump_challenge_setting:Br});if(Ua!=null&&Ua.game_identifier){(0,Te.xg)(`/tasks/${Ua.game_identifier}`);return}(Ua==null?void 0:Ua.status)===2?la(Ua==null?void 0:Ua.message):(Ua==null?void 0:Ua.status)===3&&Qn(Ua==null?void 0:Ua.message)})})},Qn=Ma=>{he.default.confirm({centered:!0,title:"\u63D0\u793A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",content:tt.createElement("div",{className:"tc font16"},"\u76EE\u524D\u8BE5\u5B9E\u8DF5\u9879\u76EE\u5C1A\u5728\u5185\u6D4B\u4E2D\uFF0C\u5C06\u4E8E",Ma,"\u4E4B\u540E\u5F00\u653E\uFF0C\u8C22\u8C22\uFF01")})},qa=(Ma,Br)=>E(void 0,null,function*(){var bo,Ua,Xt,wa;if(yield Ta(),(0,Te.L9)(["\u5B9E\u8DF5\u9879\u76EE","\u8BBE\u7F6E","\u6A21\u62DF\u5B9E\u6218"]),(bo=wn.detail)!=null&&bo.is_jupyter||(Ua=wn.detail)!=null&&Ua.is_jupyter_lab){Qt({type:"shixunsDetail/execJupyter",payload:{id:Qa.current}}).then(Va=>{var co;Va!=null&&Va.identifier&&((co=Ie.history)==null||co.push(`/tasks/${Va.identifier}/jupyter`))});return}Qt({type:"globalSetting/setGlobalLoading",payload:{show:!0,text:"\u6B63\u5728\u8FDB\u5165\u5B9E\u8DF5\u9879\u76EE\uFF0C\u8BF7\u7A0D\u540E..."}});const tr=Br?yield(0,lt.BK)({id:Ma}):yield(0,lt.Ir)({id:Ma});if(Qt({type:"globalSetting/setGlobalLoading",payload:{show:!1,text:""}}),(tr==null?void 0:tr.status)==5&&!Br){he.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:tt.createElement("div",{className:"mb10"},"\u68C0\u6D4B\u5230",(wa=(Xt=tr==null?void 0:tr.data)==null?void 0:Xt.challenge_errors)==null?void 0:wa.map((Va,co)=>{var lr;return tt.createElement("span",{key:co,style:{color:"#3061D0"}},"\u7B2C",Va==null?void 0:Va.challenge_position,"\u5173",co!=((lr=tr==null?void 0:tr.data)==null?void 0:lr.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 Va,co,lr;window.location.href=`/shixuns/${Qa.current}/edit/${(lr=(co=(Va=tr==null?void 0:tr.data)==null?void 0:Va.challenge_errors)==null?void 0:co[0])==null?void 0:lr.challenge_id}/tab=2`},onCancel:()=>{(0,lt.Ir)({id:Qa.current,jump_challenge_setting:!0}).then(Va=>{if(Va!=null&&Va.game_identifier||Va!=null&&Va.identifier){(0,Te.xg)(`/tasks/${Va.game_identifier}`);return}(Va==null?void 0:Va.status)===-3?(0,Te.eF)():(Va==null?void 0:Va.status)===2?la(Va==null?void 0:Va.message,!0):(Va==null?void 0:Va.status)===3&&Qn(Va==null?void 0:Va.message)})}});return}if((tr==null?void 0:tr.status)==6&&!Br){he.default.confirm({centered:!0,icon:null,width:430,okText:"\u5B8C\u5584\u5B9E\u9A8C\u73AF\u5883\u8BBE\u7F6E",title:"\u63D0\u793A",content:tt.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/${Qa.current}/edit?tabId=environment`}});return}if(tr!=null&&tr.game_identifier||tr!=null&&tr.identifier){(0,Te.xg)(Br?`/tasks/${tr==null?void 0:tr.identifier}/jupyter`:`/tasks/${tr.game_identifier}`);return}(tr==null?void 0:tr.status)===-3?(0,Te.eF)():(tr==null?void 0:tr.status)===2?la(tr==null?void 0:tr.message):(tr==null?void 0:tr.status)===3&&Qn(tr==null?void 0:tr.message)}),ka=()=>E(void 0,null,function*(){yield Ta(),Qt({type:"practiceSetting/setSideBarTabs",payload:{tabsActive:"information"}})}),$a=Ma=>({borderBottomColor:(Ln==null?void 0:Ln.sideBar.tabsActive)===Ma?"#0152d9":"transparent"});return tt.createElement("div",{className:Je.header},tt.createElement("aside",{className:Je.title},tt.createElement("i",{onClick:Sr,style:{color:"#fff",marginRight:20},className:"icon iconfont icon-fanhui1"}),tt.createElement("span",{className:Je.edit},Oa||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"),tt.createElement("i",{onClick:ka,className:"icon iconfont icon-xiugai1"})),tt.createElement("aside",{className:Je.schedule},tt.createElement("div",null,tt.createElement("span",{style:$a("information"),className:Je.clickWarp,onClick:()=>ur("information")},Ia?tt.createElement("span",{className:Je.num},"1"):tt.createElement("img",{src:Ze}),tt.createElement("span",{className:Je.subject},"\u57FA\u672C\u4FE1\u606F")),tt.createElement("i",{className:"iconfont icon-lujing"})),tt.createElement("div",null,tt.createElement("span",{style:$a("warehouse"),className:Je.clickWarp,onClick:()=>ur("warehouse")},ea?tt.createElement("span",{className:Je.num},"2"):tt.createElement("img",{src:Ze}),tt.createElement("span",{className:Je.subject},"\u4EE3\u7801\u4ED3\u5E93")),tt.createElement("i",{className:"iconfont icon-lujing"})),(wn==null?void 0:wn.detail)&&!((st=wn==null?void 0:wn.detail)!=null&&st.is_jupyter_lab)&&tt.createElement("div",null,tt.createElement("span",{style:$a("level"),className:Je.clickWarp,onClick:()=>ur("level")},Wr?tt.createElement("span",{className:Je.num},"3"):tt.createElement("img",{src:Ze}),tt.createElement("span",{className:Je.subject},"\u4EFB\u52A1\u5173\u5361")),tt.createElement("i",{className:"iconfont icon-lujing"})),(wn==null?void 0:wn.detail)&&((dn=wn==null?void 0:wn.detail)==null?void 0:dn.is_jupyter_lab)&&tt.createElement("div",null,tt.createElement("span",{style:$a("service"),className:Je.clickWarp,onClick:()=>ur("service")},ga?tt.createElement("span",{className:Je.num},"3"):tt.createElement("img",{src:Ze}),tt.createElement("span",{className:Je.subject},"\u670D\u52A1")),tt.createElement("i",{className:"iconfont icon-lujing"})),tt.createElement("div",null,tt.createElement("span",{style:$a("environment"),className:Je.clickWarp,onClick:()=>ur("environment")},Ir?tt.createElement("span",{className:Je.num},"4"):tt.createElement("img",{src:Ze}),tt.createElement("span",{className:Je.subject},"\u5B9E\u9A8C\u73AF\u5883")))),tt.createElement("aside",{className:Je.btns},tt.createElement("div",{className:Je.simulate,onClick:()=>qa(Qa.current,!1)},"\u6A21\u62DF\u5B9E\u6218")))};var y=(0,Ie.connect)(({loading:ve,globalSetting:Ee,practiceSetting:pe,shixunsDetail:at})=>({globalSetting:Ee,loading:ve,practiceSetting:pe,shixunsDetail:at}))(x),ee={information:"information___HnFAg",scroll:"scroll___SzyY_",formWrap:"formWrap___dlZEW",img:"img___ESi1t"},ne=re(89389),oe=re(78241),le=re(3113),ie=re(92832),Ce=re(19842),ye=re(95237),Ge=re(43604),Re=re(54580),St=re(24905),ht={btn:"btn___CiIEf",s1:"s1___JCH7l",s2:"s2___jSyjE"},pt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAABjUlEQVQ4T61VsUoDQRB9s+eVYifkUlqIWCW3sbBMqYUR0cbfUPETxPgZ2giigpZaCnKXpBK1sMydpIx25+7ISu5ILhsjclvuzLx5M292lmA57PtuF2gIYIMBSYBn3BiICAg1cF0GrqjVSvLhlL+IqtVNEDUZWLAlS+8IeAPzvtduXw77ZYAMiEjKI2LeY2AskQ2cAGaiEy8MDwnQxicL7Ep5bDL+xmqijahZDsODDHBQ5sVfmVn6xmDeMuWTESAGnqf1bBpz09MSsESx729r4DwfIIA6hPjUSt2AaP7Hztwj5nXHdd0vpR7yMQzsUOT7pwzsjgEKsVIKgiCu1Za1UvfGLhynXgqCp6hSkSxEYCn9jLq+/wJgcawk5l4KYECN3YBlCVLWo4GvhmGfgVlrj4ZAjX0KmBmZD8Owj4IAMQAsvGSrKKR1zet0QpsosZQrmvnRKsqksZlxnFWVJAkT3Y6MDbAmgDlFdGcdm8IH22Qp9OmltAtdDoPlWez6SpkWtmCHFTNCvQMN/scX8A1e4fnIOEHt8AAAAABJRU5ErkJggg==",Gn=Object.defineProperty,Tn=Object.getOwnPropertySymbols,da=Object.prototype.hasOwnProperty,$n=Object.prototype.propertyIsEnumerable,_t=(ve,Ee,pe)=>Ee in ve?Gn(ve,Ee,{enumerable:!0,configurable:!0,writable:!0,value:pe}):ve[Ee]=pe,In=(ve,Ee)=>{for(var pe in Ee||(Ee={}))da.call(Ee,pe)&&_t(ve,pe,Ee[pe]);if(Tn)for(var pe of Tn(Ee))$n.call(Ee,pe)&&_t(ve,pe,Ee[pe]);return ve},ct=(ve,Ee)=>{var pe={};for(var at in ve)da.call(ve,at)&&Ee.indexOf(at)<0&&(pe[at]=ve[at]);if(ve!=null&&Tn)for(var at of Tn(ve))Ee.indexOf(at)<0&&$n.call(ve,at)&&(pe[at]=ve[at]);return pe},ln=ve=>{var Ee=ve,{InputRight:pe,value:at=[],onChange:Qt}=Ee,Ln=ct(Ee,["InputRight","value","onChange"]);const[wn,un]=(0,b.useState)(),st=Ea=>{const Qa=at.filter((ia,Oa)=>Oa!==Ea);Qt(Qa)},dn=Ea=>{if(Ea.preventDefault(),!!wn){if(at.findIndex(Qa=>Qa.name===wn)>-1){Xe.ZP.warning("\u4E0D\u5141\u8BB8\u6DFB\u52A0\u76F8\u540C\u6807\u7B7E");return}Qt([...at,{id:null,name:wn}]),un(null)}};return b.createElement("div",null,b.createElement(ie.default,In({bordered:!1,style:{width:600},value:wn,onChange:Ea=>un(Ea.target.value),onPressEnter:dn,onBlur:dn},Ln)),pe||b.createElement("span",{className:"pl20 font14 c-light-black"},"\u56DE\u8F66\u6DFB\u52A0\u6807\u7B7E"),b.createElement("div",{className:"mt20"},at==null?void 0:at.map((Ea,Qa)=>b.createElement("div",{key:Qa,className:ht.btn},b.createElement("span",{className:ht.s1},Ea.name),b.createElement("img",{src:pt,className:ht.s2,onClick:()=>st(Qa)})))))},fn=re(89392),vn=re(90524),nt={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 vt=({dispatch:ve,onCancel:Ee,onSave:pe,loading:at=!1})=>b.createElement("div",{className:nt.complete},b.createElement("div",{onClick:Ee,className:nt.cancel},"\u53D6\u6D88"),b.createElement(le.ZP,{type:"primary",loading:at,onClick:pe,className:nt.save},"\u4FDD\u5B58"));var Bt=(0,Ie.connect)()(vt),Bn=re(21693),nn=re(32050),on=re(19248),De=re(7664),Pe=re(59301),He=Object.defineProperty,Ft=Object.defineProperties,bt=Object.getOwnPropertyDescriptors,It=Object.getOwnPropertySymbols,Ut=Object.prototype.hasOwnProperty,jt=Object.prototype.propertyIsEnumerable,bn=(ve,Ee,pe)=>Ee in ve?He(ve,Ee,{enumerable:!0,configurable:!0,writable:!0,value:pe}):ve[Ee]=pe,Lt=(ve,Ee)=>{for(var pe in Ee||(Ee={}))Ut.call(Ee,pe)&&bn(ve,pe,Ee[pe]);if(It)for(var pe of It(Ee))jt.call(Ee,pe)&&bn(ve,pe,Ee[pe]);return ve},Fe=(ve,Ee)=>Ft(ve,bt(Ee)),xe=(ve,Ee)=>{var pe={};for(var at in ve)Ut.call(ve,at)&&Ee.indexOf(at)<0&&(pe[at]=ve[at]);if(ve!=null&&It)for(var at of It(ve))Ee.indexOf(at)<0&&jt.call(ve,at)&&(pe[at]=ve[at]);return pe},gt=(ve,Ee,pe)=>new Promise((at,Qt)=>{var Ln=st=>{try{un(pe.next(st))}catch(dn){Qt(dn)}},wn=st=>{try{un(pe.throw(st))}catch(dn){Qt(dn)}},un=st=>st.done?at(st.value):Promise.resolve(st.value).then(Ln,wn);un((pe=pe.apply(ve,Ee)).next())});const Mt=ve=>{var Ee=ve,{globalSetting:pe,loading:at,dispatch:Qt,practiceSetting:Ln,problemset:wn,shixunsDetail:un}=Ee,st=xe(Ee,["globalSetting","loading","dispatch","practiceSetting","problemset","shixunsDetail"]),dn,Ea;const[Qa]=oe.default.useForm(),[ia,Oa]=(0,b.useState)({}),[Ia,Wr]=(0,b.useState)(!1),[ga,ea]=(0,b.useState)(!1),[Ir,Sr]=(0,b.useState)(!1),[Ta,ur]=(0,b.useState)(""),[la,Qn]=(0,b.useState)(""),[qa,ka]=(0,b.useState)(""),[$a,Ma]=(0,b.useState)(),Br=(0,b.useRef)({}),bo=(0,b.useRef)(""),Ua=(0,b.useRef)(""),Xt=(0,b.useRef)(""),wa=(0,b.useRef)(null),tr=(0,b.useRef)((0,fn.throttle)(()=>wo(),2e3,{leading:!0,trailing:!1})).current,{id:Va}=Ln,[co,lr]=(0,b.useState)(!1);(0,b.useEffect)(()=>{Va&&Ur()},[Va]),(0,b.useEffect)(()=>(JSON.stringify(ia)!=="{}"&&nr(),()=>{clearTimeout(wa.current)}),[ia,Ta,qa,la]);const nr=()=>{clearTimeout(wa.current),wa.current=setTimeout(()=>{!(0,fn.isEqual)(ia,Br.current)||Ta!==bo.current||qa!==Ua.current||la!==Xt.current?Qt({type:"practiceSetting/setSideBarTabs",payload:{confirmLeave:!0}}):Qt({type:"practiceSetting/setSideBarTabs",payload:{confirmLeave:!1}})},500)},Ur=()=>gt(void 0,null,function*(){var xr,Cr,Yn,Bo,hi,Zo,or;Qt({type:"problemset/getEditDisciplines",payload:{source:"shixun"}});const yr=yield(0,Ke.ZP)(`/api/shixuns/${Va}/edit_base_info.json`,{method:"get"});if(yr.status===0){const mo=Fe(Lt({},yr.data),{description:(0,Bn.S)(yr.data.description)}),xi={description:mo.description,shixun_tags:mo.shixun_tags,name:mo.name,course:((xr=mo==null?void 0:mo.disciplines)==null?void 0:xr.length)>0?[(Yn=(Cr=mo==null?void 0:mo.disciplines)==null?void 0:Cr[0])==null?void 0:Yn.id,(Zo=(hi=(Bo=mo==null?void 0:mo.disciplines)==null?void 0:Bo[0])==null?void 0:hi.sub_discipline)==null?void 0:Zo.id]:[]};(or=un.detail)!=null&&or.is_jupyter_lab&&(xi.jupyter_show_description=yr.data.jupyter_show_description),Qa.setFieldsValue(xi),Br.current=Lt({},xi),bo.current=mo.attachment_id||"",Ua.current=mo.cover_image_id||"",Xt.current=mo.attachment_id_b||"",Oa(Lt({},xi)),ur(mo.attachment_id||""),Qn(mo.attachment_id_b||""),ka(mo.cover_image_id||""),Ma(mo.cover_image||"")}}),Yo=(xr,Cr)=>{Oa(Lt({},Cr))},No=()=>{kr()},wo=()=>{(0,Te.L9)(["\u5B9E\u8DF5\u9879\u76EE","\u8BBE\u7F6E","\u57FA\u672C\u4FE1\u606F","\u4FDD\u5B58"]),Qa.submit()},Ba=(xr,Cr=!1,Yn=1)=>{var Bo;const{name:hi,description:Zo,shixun_tags:or,course:yr,jupyter_show_description:mo=!1}=xr;let xi={name:hi,description:Zo,shixun_tags:or,attachment_id:Ta,cover_image_id:qa,attachment_id_b:la,sub_discipline_ids:yr[1]};(Bo=un.detail)!=null&&Bo.is_jupyter_lab&&(xi=Fe(Lt({},xi),{jupyter_show_description:mo})),(0,Ke.ZP)(`/api/shixuns/${Va}/base_info_save.json`,{method:"post",body:{shixun:Lt({},xi),sync_origin_shixun:Cr}}).then(po=>gt(void 0,null,function*(){var ir,Rr,To,oi;if(po.status===0&&((ir=un==null?void 0:un.detail)!=null&&ir.copy_for_exercise||Xe.ZP.success("\u4FDD\u5B58\u6210\u529F"),Qt({type:"practiceSetting/getCommonData",payload:{id:Va}}),Qt({type:"practiceSetting/setSideBarTabs",payload:{confirmLeave:!1}}),Br.current={description:ia.description,shixun_tags:ia.shixun_tags,name:ia.name},bo.current=Ta,Ua.current=qa,Xt.current=la,(Rr=un==null?void 0:un.detail)!=null&&Rr.copy_for_exercise)){const xl=yield Qt({type:"shixunsDetail/saveCopyForExercise",payload:{id:Va,save_type:Yn}});Yn===1?(To=xl==null?void 0:xl.data)!=null&&To.exists_same_shixun_name?Qt({type:"classroomList/setActionTabs",payload:{key:"\u91CD\u540D\u4FEE\u6539",name:(oi=xl==null?void 0:xl.data)==null?void 0:oi.shixun_name,getBaseInfo:()=>{Ur()}}}):(Xe.ZP.info("\u4FDD\u5B58\u6210\u529F"),Qt({type:"classroomList/setActionTabs",payload:{}})):(Qt({type:"classroomList/setActionTabs",payload:{}}),(xl==null?void 0:xl.status)===0&&he.default.info({title:"\u63D0\u793A",width:460,icon:null,centered:!0,content:Pe.createElement("div",null,Pe.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 pl,Ul;(0,Te.xg)(`/shixuns/${(Ul=(pl=un==null?void 0:un.detail)==null?void 0:pl.fork_from)==null?void 0:Ul.fork_identifier}/challenges`)}}))}}))},kr=()=>{var xr;const Cr=()=>{Ie.history.push(`/shixuns/${Va}/challenges`),Qt({type:"practiceSetting/setSideBarTabs",payload:{confirmLeave:!1}})};(xr=Ln==null?void 0:Ln.sideBar)!=null&&xr.confirmLeave?he.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:()=>{Cr()}}):Cr()};function xo(xr){const Cr=xr.type==="image/jpeg"||xr.type==="image/png";return Cr||Xe.ZP.error("\u8BF7\u4E0A\u4F20jpg\u6216png\u7684\u56FE\u7247!"),Cr}const Ar=Pe.createElement(le.ZP,{loading:Ia,icon:Pe.createElement(nn.Z,null)},"\u9009\u62E9\u4E0A\u4F20\u6587\u4EF6"),ei=Pe.createElement(le.ZP,{loading:Ir,icon:Pe.createElement(nn.Z,null)},"\u9009\u62E9\u4E0A\u4F20\u6587\u4EF6"),Vo=Pe.createElement(le.ZP,{loading:ga,icon:Pe.createElement(nn.Z,null)},"\u9009\u62E9\u4E0A\u4F20\u6587\u4EF6");function si(xr,Cr){const Yn=new FileReader;Yn.addEventListener("load",()=>Cr(Yn.result)),Yn.readAsDataURL(xr)}const pi=xr=>{var Cr,Yn;if(xr.file.status==="uploading"){Wr(!0);return}xr.file.status==="done"&&(Wr(!1),ur((Yn=(Cr=xr==null?void 0:xr.file)==null?void 0:Cr.response)==null?void 0:Yn.id))},Hi=xr=>{var Cr,Yn;if(xr.file.status==="uploading"){ea(!0);return}xr.file.status==="done"&&(ea(!1),Qn((Yn=(Cr=xr==null?void 0:xr.file)==null?void 0:Cr.response)==null?void 0:Yn.id))},xa=()=>Pe.createElement("div",{className:ee.img},Pe.createElement("img",{src:(0,De.z)("/api/attachments/"+Ta,!0),alt:"avatar",style:{width:"100%"}}),Pe.createElement("div",null,Pe.createElement(on.Z,{onClick:()=>ur(""),style:{fontSize:"16px",color:"red"}}))),eo=()=>Pe.createElement("div",{className:ee.img},Pe.createElement("img",{src:(0,De.z)("/api/attachments/"+la,!0),alt:"avatar",style:{width:"100%"}}),Pe.createElement("div",null,Pe.createElement(on.Z,{onClick:()=>Qn(""),style:{fontSize:"16px",color:"red"}}))),Bi=xr=>{var Cr,Yn;if(xr.file.status==="uploading"){Sr(!0);return}xr.file.status==="done"&&(Sr(!1),ka((Yn=(Cr=xr==null?void 0:xr.file)==null?void 0:Cr.response)==null?void 0:Yn.id),lr(!0))},Wi=()=>Pe.createElement("div",{className:ee.img},Pe.createElement("img",{src:(0,De.z)(co?"/api/attachments/"+qa:$a,!0),alt:"avatar",style:{width:"100%"}}),Pe.createElement("div",null,Pe.createElement(on.Z,{onClick:()=>{ka(""),Ma("")},style:{fontSize:"16px",color:"red"}})));return Pe.createElement("div",{className:ee.information},Pe.createElement("section",{className:ee.scroll},Pe.createElement("header",null,"\u57FA\u672C\u4FE1\u606F"),Pe.createElement("div",{className:ee.formWrap}," ",Pe.createElement(oe.default,{form:Qa,scrollToFirstError:!0,layout:"vertical",onValuesChange:Yo,onFinish:xr=>{var Cr,Yn;(Cr=un==null?void 0:un.detail)!=null&&Cr.is_fork_from_creator&&((Yn=un==null?void 0:un.detail)!=null&&Yn.copy_for_exercise)?Qt({type:"classroomList/setActionTabs",payload:{key:"\u540C\u6B65\u4FEE\u6539",value:xr,type:"information",fn:(Bo,hi,Zo)=>{Ba(Bo,hi,Zo)}}}):Ba(xr)}},Pe.createElement(oe.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"}]},Pe.createElement(ie.default,{bordered:!1,placeholder:"\u8BF7\u8F93\u5165\u540D\u79F0\uFF0C\u6700\u5927\u9650\u523660\u4E2A\u5B57\u7B26",suffix:`${((dn=ia.name)==null?void 0:dn.length)||0}/60`})),Pe.createElement(oe.default.Item,{className:"customAddTags",name:"shixun_tags",label:"\u77E5\u8BC6\u70B9\u6807\u7B7E",rules:[{required:!0,message:"\u8BF7\u9009\u8F93\u5165\u77E5\u8BC6\u70B9\u6807\u7B7E"}]},Pe.createElement(ln,{placeholder:"\u6DFB\u52A0\u6807\u7B7E"})),Pe.createElement(oe.default.Item,{label:"\u65B9\u5411&\u8BFE\u7A0B\uFF1A",name:"course",labelCol:{span:5},wrapperCol:{span:5}},Pe.createElement(Ce.Z,{placeholder:"\u8BF7\u9009\u62E9...",allowClear:!1,options:wn.courseOptions,getPopupContainer:xr=>xr.parentNode})),Pe.createElement(ye.Z,null,Pe.createElement(Ge.Z,null,Pe.createElement(oe.default.Item,{label:"\u9876\u90E8\u80CC\u666F\u56FE:"},Ta?xa():Pe.createElement(Re.default,{withCredentials:!0,name:"file",showUploadList:!1,action:`${vn.Z.API_SERVER}/api/attachments.json`,beforeUpload:xo,onChange:pi},Ar))),Pe.createElement(Ge.Z,{className:"c-grey-999"},Pe.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"))),Pe.createElement(ye.Z,null,Pe.createElement(Ge.Z,null,Pe.createElement(oe.default.Item,{label:"\u9876\u90E8\u5185\u5BB9\u56FE:"},la?eo():Pe.createElement(Re.default,{withCredentials:!0,name:"file",showUploadList:!1,action:`${vn.Z.API_SERVER}/api/attachments.json`,beforeUpload:xo,onChange:Hi},Vo))),Pe.createElement(Ge.Z,{className:"c-grey-999"},Pe.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"))),Pe.createElement(ye.Z,null,Pe.createElement(Ge.Z,null,Pe.createElement(oe.default.Item,{label:"\u5217\u8868\u5C01\u9762\u56FE:"},qa||$a?Wi():Pe.createElement(Re.default,{withCredentials:!0,name:"file",showUploadList:!1,action:`${vn.Z.API_SERVER}/api/attachments.json`,beforeUpload:xo,onChange:Bi},ei))),Pe.createElement(Ge.Z,{className:"c-grey-999"},Pe.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"))),Pe.createElement(oe.default.Item,{name:"description",label:"\u7B80\u4ECB:"},Pe.createElement(ne.Z,{defaultValue:ia.description||"",watch:!0})),((Ea=un.detail)==null?void 0:Ea.is_jupyter_lab)&&Pe.createElement(oe.default.Item,{name:"jupyter_show_description",valuePropName:"checked"},Pe.createElement(St.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"))))),Pe.createElement(Bt,{onSave:tr,onCancel:No,loading:Ia||Ir||ga}))};var qt=(0,Ie.connect)(({problemset:ve,loading:Ee,globalSetting:pe,practiceSetting:at,shixunsDetail:Qt})=>({globalSetting:pe,loading:Ee,practiceSetting:at,problemset:ve,shixunsDetail:Qt}))(Mt),Vt=re(26595),kt={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"},rn="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIIAAABkCAYAAABKHuhiAAAgAElEQVR4Xu19CZRdVZX2d95cr+aqzAkkISGBkBCmZhCQkADCryjaJrYo+IvdKOAEor89rL/Ir2LLIHbaCWyRtqUl0sumW0UQbVvGJqjMYUqKzEmlUhlreuP513fu2e+dunVfvXr1XqDUOmu9dd+998z7O3vvs8+5ZyvUKnTo0IoFmNMWxbGxKI5KhJFM5XAwpbGhK4WXH36/2lqroibyqX0PqFpkuex7etrUBlyQjGJKTiGPnJNrGFAaocEMtm3vxoOPXq321aLMiTxq2wNVA2H5XXrelCacT2KrEHSp6uk8lFbIbO/DTx+5TO2sbTMmcqu2B6oCwsm360mzJ+EdBEFQRQgMAkDe8T6fRfblbvz7+mtUb7WVn0hfux4YPRA6dOzk+Wivz6KBxR/Ko29qAifEo2jJ6yInCAPQCkpp6JyCCvNq6xtSHihSKex44DL137VrxkRO1fZAWSAs+pGOTRrAcckYjghpRN0CSWx3tGcBhPNQLifIWXHB5/zPK8LAhj489MpH1KFqGzD69FqhAwrrixyqbNpF0Fit8mXj/RFEGBEIC7+rG2fEcWpEIT5EAZSGc/g7iqFfFAzpHzduGDiYxmvZNKg4JkNR6MFB9D5/FfYbXlLjcNmP9VknzsA3ExFMVwrIaSBsW57OAxHl3bPgvAYYJ58HwiHonkE8+eAruOKRK1R3jas1rrIrCYT5a3R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//WUgSL8SYPRlORLw/fmOJm5AHAHbtteRF0egttJaYY3lBlIxVpT/y6E+uNHxqQ1Idm3BAaSQL3Sk20mVEsXfwSOlX+8QnI4wXeeX5cBS7v2i8qIzMAupvwuIoD6W9y7n8YNGCnCf+zlsUCWCuO5qmueU9oDgiYVIINErJZg38jlqFH5jOcE55Xq3hu9dENQw2zFn5QdOECDKDTY/NxHuymvQu9FUVoAzDVme0uIBYaUOoxTSa9mxLIP5+a+jqbgbx00vzyup5yJorHdGNu/LhaD48syfn7+u5fIe6X0pUeNP4x+woxVRBOEdKiMcwX6HZHOvpFOraeTQDhtKjKEd7wGo0jAaAleapxt/NEDw519OtEg73Xj+Z0FEDuLcRe5T7Luh4tmj/2qV5uYrhZWlzbmFdtSyU1ebXIcTtmMU8tc/Mt175ir15PNK6ry6BNBGUyc/sV2A8J2/jqXAMTawBw+ScoDzxIun+K4GRcMogMAOZUexU+RaaiSV6tCRRp6/s8uVUc0o9qetpL5jAUW5ugpgS4GlFJjLgWukcv0gWc0PtPnp5Uo7eoojlSzD3fYXzJaDOkY6tlSnVdPx5QDilu2WMxIBK6kPO7caMJTrG+EelXCyIG40Unq/yPXSGyCUtSQOA1c1nVFuhFT6vhTxK82nmvhufwQBcLRgq6ZfR1OGP3/hRqsNCP7AgVAJAUfTWZXk92bFLQW8KurzpwWEavSDKjr5DyHp2IDwh9CyiTpW1ANFE3NFySYi/3H1gJiYx6In/HH1xJ94ayaA8CcOAGl+IBCUYzMoNaNgnDHMNkbV7eXy9r8Pil9JHqXa6+Yhcdw2lyvD39hS8YPydtOOpr1FghZTVkI7pf8/eEZf5Vj+hMIAAAAASUVORK5CYII=",Wt=re(23869),yt=re(71418),an=re(64165),mt=re(88332),At=Object.defineProperty,xt=Object.defineProperties,cn=Object.getOwnPropertyDescriptors,Dt=Object.getOwnPropertySymbols,Ot=Object.prototype.hasOwnProperty,xn=Object.prototype.propertyIsEnumerable,Gt=(ve,Ee,pe)=>Ee in ve?At(ve,Ee,{enumerable:!0,configurable:!0,writable:!0,value:pe}):ve[Ee]=pe,Kn=(ve,Ee)=>{for(var pe in Ee||(Ee={}))Ot.call(Ee,pe)&&Gt(ve,pe,Ee[pe]);if(Dt)for(var pe of Dt(Ee))xn.call(Ee,pe)&&Gt(ve,pe,Ee[pe]);return ve},za=(ve,Ee)=>xt(ve,cn(Ee)),sr=(ve,Ee)=>{var pe={};for(var at in ve)Ot.call(ve,at)&&Ee.indexOf(at)<0&&(pe[at]=ve[at]);if(ve!=null&&Dt)for(var at of Dt(ve))Ee.indexOf(at)<0&&xn.call(ve,at)&&(pe[at]=ve[at]);return pe},Ya=(ve,Ee,pe)=>new Promise((at,Qt)=>{var Ln=st=>{try{un(pe.next(st))}catch(dn){Qt(dn)}},wn=st=>{try{un(pe.throw(st))}catch(dn){Qt(dn)}},un=st=>st.done?at(st.value):Promise.resolve(st.value).then(Ln,wn);un((pe=pe.apply(ve,Ee)).next())});const Da=ve=>{var Ee=ve,{globalSetting:pe,dispatch:at,practiceSetting:Qt}=Ee,Ln=sr(Ee,["globalSetting","dispatch","practiceSetting"]);const wn=(0,Ie.useLocation)(),[un]=(0,Ie.useSearchParams)(),[st,dn]=(0,b.useState)(!1),[Ea,Qa]=(0,b.useState)({}),[ia,Oa]=(0,b.useState)(!0),[Ia,Wr]=(0,b.useState)(!1),[ga,ea]=(0,b.useState)(null),Ir=(0,b.useRef)(!1),{id:Sr,updateIndex:Ta,is_published:ur,newQuestion:la}=Qt,{challenge_list:Qn=[]}=Ea;(0,b.useEffect)(()=>{if(Sr)return ka(),()=>{at({type:"practiceSetting/setParams",payload:{newQuestion:null}})}},[Sr,Ta]),(0,b.useEffect)(()=>{qa()},[wn]);const qa=()=>{const lr=wn.pathname.split("/");(lr.includes("newquestion")||lr.includes("new")||un.get("tabId"))&&(Ir.current=!0)},ka=()=>Ya(void 0,null,function*(){var lr,nr,Ur;Oa(!0);const Yo=yield(0,lt.n5)({id:Sr});if((lr=Yo==null?void 0:Yo.challenge_list)!=null&&lr.length){const No=wn.pathname.split("/"),wo=Yo.challenge_list.find(Ba=>String(Ba.challenge_id)===No[4]);if(No.includes("newquestion")||No.includes("new")){const Ba=Yo.challenge_list[((nr=Yo.challenge_list)==null?void 0:nr.length)-1];at({type:"practiceSetting/setParams",payload:{newQuestion:{st:No.includes("new")?0:1,name:""}}}),ea(void 0),Ua(Ba)}else No[4]&&wo?$a(wo,!1):$a(Yo.challenge_list[0])}(Ur=Yo==null?void 0:Yo.challenge_list)!=null&&Ur.length||ea(null),Qa(Yo),Oa(!1)}),$a=(lr,nr=!0)=>{if(ea(lr.challenge_id),Ua(lr),nr){const Ur=`/shixuns/${Sr}/edit/${lr.challenge_id}/${lr.st===1?"editquestion":"editcheckpoint"}`;Ie.history.push(Ur)}},Ma=(lr,nr)=>{nr.stopPropagation();const{challenge_id:Ur}=lr,Yo=()=>Ya(void 0,null,function*(){var No,wo;if((yield(0,lt.rO)({id:Sr,challengesId:Ur})).status===1){const kr=yield(0,lt.n5)({id:Sr});if(Qa(kr),Ur===ga&&((No=kr.challenge_list)!=null&&No.length)){$a(kr.challenge_list[0]);return}(wo=kr.challenge_list)!=null&&wo.length||(ea(null),Ir.current=!0,Ua({}),Ie.history.push(`/shixuns/${Sr}/edit?tabId=level`))}});he.default.confirm({title:"\u63D0\u793A",content:"\u662F\u5426\u5220\u9664\u8BE5\u5173\u5361!",centered:!0,onOk:Yo})},Br=(lr,nr,Ur)=>{const Yo=Array.from(lr),[No]=Yo.splice(nr,1);return Yo.splice(Ur,0,No),Yo},bo=(lr,nr)=>{if(!lr.destination)return;const Ur=Br(nr,lr.source.index,lr.destination.index);Qa(za(Kn({},Ea),{challenge_list:Ur}));const Yo=Ur.map(No=>No.challenge_id);(0,lt.xg)({id:Sr,ids:Yo}).then(No=>{No.status!==0&&Qa(za(Kn({},Ea),{challenge_list:nr}))})},Ua=lr=>{at({type:"practiceSetting/setParams",payload:{selectQuestionParams:lr}})},Xt=(lr,nr)=>Ya(void 0,null,function*(){if(lr===ga)return;yield wa(),ea(lr),Ua(nr),at({type:"practiceSetting/setParams",payload:{newQuestion:null}});const Ur=`/shixuns/${Sr}/edit/${lr}/${nr.st===1?"editquestion":"editcheckpoint"}`;Ie.history.push(Ur)}),wa=()=>new Promise((lr,nr)=>{var Ur;(Ur=Qt==null?void 0:Qt.sideBar)!=null&&Ur.confirmLeave?he.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:()=>{at({type:"practiceSetting/setSideBarTabs",payload:{confirmLeave:!1}}),lr()},onCancel:()=>{nr()}}):lr()}),tr=lr=>b.createElement(b.Fragment,null,b.createElement(mt.Z5,{onDragEnd:nr=>bo(nr,lr)},b.createElement(mt.bK,{droppableId:"droppable"},(nr,Ur)=>b.createElement("div",za(Kn({ref:nr.innerRef},nr.droppableProps),{style:{width:"100%"}}),lr.map((Yo,No)=>{const{st:wo,name:Ba,challenge_id:kr}=Yo;return b.createElement(mt._l,{key:kr,draggableId:kr.toString(),index:No,isDragDisabled:ur},(xo,Ar)=>b.createElement("div",za(Kn(Kn({ref:xo.innerRef},xo.draggableProps),xo.dragHandleProps),{className:ga===kr?kt.listActive:kt.list,onClick:()=>Xt(kr,Yo)}),b.createElement("span",{className:kt.s1},wo===0?b.createElement("i",{className:"iconfont icon-shixunti",style:{color:"#0152d9"}}):b.createElement("i",{className:"iconfont icon-xuanzeti3",style:{color:"#44D7B6"}})),b.createElement("span",{className:kt.s2},"\u7B2C",No+1,"\u5173: ",Ba),!ur&&b.createElement("span",{className:kt.s3,onClick:ei=>Ma(Yo,ei)},b.createElement("i",{className:"iconfont icon-shanchu7"}))))})))),la&&b.createElement("div",{className:kt.listActive},b.createElement("span",{className:kt.s1},(la==null?void 0:la.st)===0?b.createElement("i",{className:"iconfont icon-shixunti",style:{color:"#0152d9"}}):b.createElement("i",{className:"iconfont icon-xuanzeti3",style:{color:"#44D7B6"}})),b.createElement("span",{className:kt.s2},"\u7B2C",lr.length+1,"\u5173: ",la==null?void 0:la.name)),!ur&&b.createElement("div",{className:kt.os},"--\u62D6\u62FD\u4EFB\u52A1\u5173\u5361\u8FDB\u884C\u6392\u5E8F--")),Va=lr=>Ya(void 0,null,function*(){yield wa(),lr==="new"?Ie.history.push(`/shixuns/${Sr}/edit/new`):Ie.history.push(`/shixuns/${Sr}/edit/newquestion`),dn(!1),ea(void 0),at({type:"practiceSetting/setParams",payload:{newQuestion:{st:lr==="new"?0:1,name:""}}})}),co=()=>{(0,Wt.gy)(at,"\u4E0D\u80FD\u65B0\u5EFA\u4EFB\u52A1\u5173\u5361")||dn(!st)};return b.createElement("div",{className:kt.level},b.createElement("aside",{className:kt.left,style:{width:Ia?"0":"25%"}},b.createElement("div",{className:kt.container},b.createElement("div",{className:kt.title},"\u4EFB\u52A1\u5173\u5361(",Qn.length,")"),b.createElement("div",{className:kt.listWrap},ia?b.createElement(yt.Z,{size:"middle"}):Qn.length||la?tr(Qn):b.createElement(an.Z,{image:rn,description:"\u6682\u65E0\u4EFB\u52A1\u5173\u5361!"}))),!Ia&&b.createElement("div",{className:kt.btns},b.createElement("aside",{className:kt.btnsWrap},b.createElement("div",{style:{transform:st?"rotate(45deg)":"rotate(0deg)"},className:kt.icon,onClick:co},"+"),b.createElement("div",{className:kt.btn,style:{left:st?20:-154}},b.createElement("div",{className:kt.d1,onClick:()=>Va("new")},"\u65B0\u5EFA\u5B9E\u8DF5\u9898\u5173\u5361"),b.createElement("div",{className:kt.d2,onClick:()=>Va("newquestion")},"\u65B0\u5EFA\u7406\u8BBA\u9898\u5173\u5361")))),b.createElement("div",{className:Ia?kt.elseShrink:kt.shrink,onClick:()=>Wr(!Ia)},b.createElement("i",{className:"iconfont icon-zuoyouzhankai"}))),b.createElement("aside",{className:kt.right,id:"modal-level-question"},ga===null&&Ir.current?b.createElement("div",{className:kt.addIcon},b.createElement("span",null,"\u5728\u5DE6\u4FA7\u70B9\u51FB\u201C+\u201D\u53F7\u65B0\u5EFA\u5173\u5361\u3002")):b.createElement(Ie.Outlet,null)))};var Lr=(0,Ie.connect)(({globalSetting:ve,practiceSetting:Ee})=>({globalSetting:ve,practiceSetting:Ee}))(Da),cr=re(61621),Ha=re(38854),Xa=re(20834),Dr=re(58421),Fa=re(5112),Zr={title:"title___NTpKq",content:"content___oL0Iy",add:"add___L4cbC",colorBlue:"colorBlue___xRARA",radio:"radio___cfwvc"},br=Object.getOwnPropertySymbols,Pt=Object.prototype.hasOwnProperty,Sn=Object.prototype.propertyIsEnumerable,Fn=(ve,Ee)=>{var pe={};for(var at in ve)Pt.call(ve,at)&&Ee.indexOf(at)<0&&(pe[at]=ve[at]);if(ve!=null&&br)for(var at of br(ve))Ee.indexOf(at)<0&&Sn.call(ve,at)&&(pe[at]=ve[at]);return pe},Zt=(ve,Ee,pe)=>new Promise((at,Qt)=>{var Ln=st=>{try{un(pe.next(st))}catch(dn){Qt(dn)}},wn=st=>{try{un(pe.throw(st))}catch(dn){Qt(dn)}},un=st=>st.done?at(st.value):Promise.resolve(st.value).then(Ln,wn);un((pe=pe.apply(ve,Ee)).next())});const sn=ve=>{var Ee=ve,{shixunsDetail:pe,globalSetting:at,loading:Qt,dispatch:Ln,onReloadData:wn}=Ee,un=Fn(Ee,["shixunsDetail","globalSetting","loading","dispatch","onReloadData"]);const[st,dn]=(0,b.useState)(),[Ea,Qa]=(0,b.useState)([]);(0,b.useEffect)(()=>{pe.actionTabs.key==="Collaborators-ChangeManager"&&ia()},[pe.actionTabs.key]);const ia=()=>Zt(void 0,null,function*(){var ga;const ea=yield Ln({type:"shixunsDetail/getChangeManager",payload:{id:(ga=pe.actionTabs.params)==null?void 0:ga.id}});Qa(ea||[])}),Oa=()=>{var ga;Ln({type:"shixunsDetail/setActionTabs",payload:{key:"Collaborators-AddCollaborator",params:{id:(ga=pe.actionTabs.params)==null?void 0:ga.id}}})},Ia=()=>Zt(void 0,null,function*(){var ga;if(!st){Xe.ZP.info("\u6240\u9009\u4EBA\u5458\u4E3A\u7A7A\uFF0C\u6CA1\u6709\u66F4\u6362\u6210\u529F");return}const ea=yield Ln({type:"shixunsDetail/changeManager",payload:{id:(ga=pe.actionTabs.params)==null?void 0:ga.id,user_id:st}});Wr(),ea&&(wn(),Xe.ZP.info(ea.message))}),Wr=()=>{Ln({type:"shixunsDetail/setActionTabs",payload:{}}),dn(null)};return b.createElement(he.default,{centered:!0,keyboard:!1,closable:!1,title:"\u66F4\u6362\u7BA1\u7406\u5458",open:pe.actionTabs.key==="Collaborators-ChangeManager",confirmLoading:Qt.effects["shixunsDetail/changeManager"],onOk:Ia,onCancel:Wr},b.createElement("div",null,b.createElement("div",{className:Zr.title},"\u9009\u62E9\u7684\u6210\u5458\u5C06\u4F1A\u6210\u4E3A\u65B0\u7684\u7BA1\u7406\u5458",b.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"),b.createElement("div",{className:Zr.content},Ea.length?b.createElement(Fa.ZP.Group,{value:st,onChange:ga=>dn(ga.target.value)},Ea.map((ga,ea)=>b.createElement(Fa.ZP,{className:Zr.radio,key:ea,value:ga.user_id},ga.name))):b.createElement("div",{className:Zr.add},b.createElement("span",null,"\u8BF7\u5148\u5C06\u65B0\u7684\u7BA1\u7406\u5458\u901A\u8FC7",b.createElement("a",{className:Zr.colorBlue,onClick:Oa},'"\u6DFB\u52A0\u5408\u4F5C\u8005"'),"\u52A0\u5165\u5408\u4F5C\u8005\u5217\u8868")))))};var On=(0,Ie.connect)(({shixunsDetail:ve,loading:Ee,globalSetting:pe})=>({shixunsDetail:ve,globalSetting:pe,loading:Ee}))(sn),Jn=re(99313),ke=re(68226),rt=re(44405);const{TabPane:qe}=Jn.default;var Dn=({visible:ve,onCancel:Ee,onSelectGroup:pe,shixunId:at,onSelectCollaborator:Qt})=>b.createElement(he.default,{title:"\u6DFB\u52A0\u5408\u4F5C\u8005",open:ve,width:1100,centered:!0,keyboard:!1,onCancel:Ee,maskClosable:!1,destroyOnClose:!0,forceRender:!0,bodyStyle:{minHeight:400},footer:null},b.createElement(Jn.default,{defaultActiveKey:"1"},b.createElement(qe,{tab:"\u641C\u7D22\u6DFB\u52A0",key:"1"},b.createElement(ke.Z,{onCancel:Ee,container_type:2,container_id:at,onSelect:Qt})),b.createElement(qe,{tab:"\u56E2\u961F\u6DFB\u52A0",key:"2"},b.createElement(rt.Z,{onCancel:Ee,onSelect:pe})))),mn={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"},Wn=re(84105),ya=re(71546),ma=Object.defineProperty,ta=Object.getOwnPropertySymbols,fa=Object.prototype.hasOwnProperty,ua=Object.prototype.propertyIsEnumerable,hn=(ve,Ee,pe)=>Ee in ve?ma(ve,Ee,{enumerable:!0,configurable:!0,writable:!0,value:pe}):ve[Ee]=pe,Ra=(ve,Ee)=>{for(var pe in Ee||(Ee={}))fa.call(Ee,pe)&&hn(ve,pe,Ee[pe]);if(ta)for(var pe of ta(Ee))ua.call(Ee,pe)&&hn(ve,pe,Ee[pe]);return ve},vr=(ve,Ee,pe)=>new Promise((at,Qt)=>{var Ln=st=>{try{un(pe.next(st))}catch(dn){Qt(dn)}},wn=st=>{try{un(pe.throw(st))}catch(dn){Qt(dn)}},un=st=>st.done?at(st.value):Promise.resolve(st.value).then(Ln,wn);un((pe=pe.apply(ve,Ee)).next())});const fo=({shixunsDetail:ve,globalSetting:Ee,loading:pe,user:at,dispatch:Qt})=>{var Ln,wn,un,st,dn,Ea;const Qa=(0,Ie.useParams)(),ia=(0,b.useRef)(),[Oa,Ia]=(0,b.useState)(0),[Wr,ga]=(0,b.useState)([]),[ea,Ir]=(0,b.useState)({id:null,page:1}),Sr=(wn=(Ln=at.userInfo)==null?void 0:Ln.shixun)==null?void 0:wn.editable,Ta=((un=at.userInfo)==null?void 0:un.role)<=2||((dn=(st=at.userInfo)==null?void 0:st.shixun)==null?void 0:dn.is_creator);(0,b.useEffect)(()=>{ia.current=Qa.id,ea.id=ia.current,Ir(ea),ur(ea)},[]);const ur=Ua=>vr(void 0,null,function*(){const Xt=yield Qt({type:"shixunsDetail/getCollaboratorsData",payload:Ua});Xt&&(ga(Xt.members||[]),Ia(Xt.member_count))}),la=()=>vr(void 0,null,function*(){ea.page=1,Ir(ea);const Ua=(0,ya.g)();yield Qt({type:"user/getUserInfo",payload:Ua}),yield ur(ea)}),Qn=Ua=>{ea.page=Ua,Ir(ea),ur(ea)},qa=Ua=>{he.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:b.createElement("div",{className:mn.modal},"\u786E\u5B9A\u8981\u5220\u9664\u5417\uFF1F"),onOk:()=>vr(void 0,null,function*(){var Xt;const wa=yield Qt({type:"shixunsDetail/deleteCollaborators",payload:{id:ia.current,userId:Ua}});if(((Xt=at.userInfo)==null?void 0:Xt.user_id)===Ua){Ie.history.push("/shixuns");return}Xe.ZP.info(wa==null?void 0:wa.message),ea.page=1,Ir(ea),ur(ea)})})},ka=()=>{Qt({type:"shixunsDetail/setActionTabs",payload:{key:"Collaborators-ChangeManager",params:{id:ia.current}}})};function $a(Ua,Xt,wa,tr){return vr(this,null,function*(){yield Qt({type:"shixunsDetail/updateCollaboratorEditable",payload:{identifier:Ua,user_id:Xt,editable:wa?0:1}}),ur(ea)})}const Ma=()=>{Qt({type:"shixunsDetail/setActionTabs",payload:{key:"Collaborators-AddCollaborator",params:{id:ia.current}}})};function Br(){Qt({type:"shixunsDetail/setActionTabs",payload:{}})}const bo={visible:ve.actionTabs.key==="Collaborators-AddCollaborator",onCancel:Br,shixunId:ia.current,onSelectCollaborator:Ua=>vr(void 0,null,function*(){Br(),(yield Qt({type:"shixunsDetail/addCollaborator",payload:{id:ia.current,user_ids:Ua}}))&&(Xe.ZP.success("\u6DFB\u52A0\u6210\u529F"),la())}),onSelectGroup:Ua=>vr(void 0,null,function*(){Br(),(yield Qt({type:"shixunsDetail/addTeachGroupMember",payload:{identifier:ia.current,group_id:Ua.group_id}}))&&(Xe.ZP.success("\u6DFB\u52A0\u6210\u529F"),la())})};return b.createElement("section",null,b.createElement("div",{className:mn.wrap},b.createElement("div",{className:mn.content},((Ea=ve.detail)==null?void 0:Ea.identity)<5&&b.createElement("div",{className:mn.head},b.createElement("span",{className:mn.headCount},"\u5408\u4F5C\u6210\u5458\uFF08",Oa,"\u4EBA\uFF09"),b.createElement("div",null,Ta&&b.createElement(le.ZP,{type:"primary",ghost:!0,className:mn.button,style:{marginRight:"20px"},onClick:ka},"\u66F4\u6362\u7BA1\u7406\u5458"),Sr&&b.createElement(le.ZP,{type:"primary",className:mn.button,style:{marginRight:"40px"},onClick:Ma},"\u6DFB\u52A0\u5408\u4F5C\u8005"))),b.createElement("div",{className:mn.list},b.createElement(cr.Z,{loading:pe.effects["shixunsDetail/getCollaboratorsData"],active:!0,avatar:{size:40},paragraph:{rows:3},className:"mt30"},Wr.map((Ua,Xt)=>{var wa,tr,Va,co,lr,nr,Ur,Yo;return b.createElement("div",{style:{display:"inline-block",width:"50%"}},b.createElement("div",{className:mn.itemWrap,key:Xt},b.createElement("a",{href:(wa=Ua.user)==null?void 0:wa.user_url,target:"_blank",className:mn.imgWrap},b.createElement("img",{alt:"\u7528\u6237\u5934\u50CF",height:"48",width:"48",className:mn.img,src:`${vn.Z.IMG_SERVER}/images/${(tr=Ua.user)==null?void 0:tr.image_url}`}),((Va=Ua.user)==null?void 0:Va.shixun_manager)&&b.createElement("span",{className:mn.manager},"\u521B\u5EFA\u8005")),b.createElement("div",{className:mn.itemContent},b.createElement("p",{className:mn.nameWrap},b.createElement("a",{href:Ua.user.user_url,target:"_blank",className:mn.name},(co=Ua.user)==null?void 0:co.name,Ua.user.user_id===((lr=at.userInfo)==null?void 0:lr.user_id)?b.createElement("span",null,"\u6211"):null),b.createElement("div",{className:mn.actionGroup},Ta?(nr=Ua.user)!=null&&nr.shixun_manager?null:b.createElement(Ha.Z,{dropdownRender:()=>b.createElement(Xa.default,{selectedKeys:[Ua.editable?"1":"2"],onClick:()=>{var No;$a(ve.detail.identifier,Ua.user.user_id,Ua.editable,(No=Ua.user)==null?void 0:No.name)}},b.createElement(Xa.default.Item,{key:1},"\u7F16\u8F91\u6743\u9650"),b.createElement(Xa.default.Item,{key:2},"\u67E5\u770B\u6743\u9650"))},b.createElement("div",null,Ua.editable?b.createElement("span",{style:{fontSize:"16px"},className:"c-grey-c"},"\u7F16\u8F91\u6743\u9650"):b.createElement("span",{style:{fontSize:"16px"},className:"c-grey-c"},"\u67E5\u770B\u6743\u9650")," ",b.createElement(Wn.Z,{style:{fontSize:"14px",color:"#888888"}}))):Ua.editable?b.createElement("span",{style:{fontSize:"16px"},className:"c-grey-c"},"\u7F16\u8F91\u6743\u9650"):b.createElement("span",{style:{fontSize:"16px"},className:"c-grey-c"},"\u67E5\u770B\u6743\u9650"),!((Ur=Ua.user)!=null&&Ur.shixun_manager)&&Sr?b.createElement("a",{className:mn.deletetitle,onClick:()=>{var No;return qa((No=Ua.user)==null?void 0:No.user_id)}},"\u5220\u9664"):null)),b.createElement("p",{className:mn.schoolWrap},b.createElement("span",{className:mn.school},(Yo=Ua.user)==null?void 0:Yo.school_name)))))})))),Oa>10&&b.createElement("div",{className:mn.countWrap},b.createElement(Dr.Z,{showQuickJumper:!1,showSizeChanger:!1,total:Oa,onChange:Ua=>Qn(Ua),pageSize:10,current:ea.page}))),b.createElement(On,{onReloadData:la}),b.createElement(Dn,Ra({},bo)))};var Nn=(0,Ie.connect)(({shixunsDetail:ve,loading:Ee,globalSetting:pe,user:at})=>({shixunsDetail:ve,globalSetting:pe,user:at,loading:Ee}))(fo),tn=re(4737),Or=re(57809),ha=re(6848),qr=re(5871),Yr=re(78673),na=re(53794),oo=re(36723),Mo=re(95887),$r={mirrorModal:"mirrorModal___z1tEP",right:"right___ZlGrr",title:"title___lWaS3",content:"content___bCC9x",des:"des___ujB5y",btns:"btns___L4vgc",confirm:"confirm___RFRg4",cancel:"cancel___F1WB_",modal:"modal___A5dbG"},ho=re(88195),yn=re(84722),Mr=(ve,Ee,pe)=>new Promise((at,Qt)=>{var Ln=st=>{try{un(pe.next(st))}catch(dn){Qt(dn)}},wn=st=>{try{un(pe.throw(st))}catch(dn){Qt(dn)}},un=st=>st.done?at(st.value):Promise.resolve(st.value).then(Ln,wn);un((pe=pe.apply(ve,Ee)).next())});const io=({newShixuns:ve,user:Ee,dispatch:pe,visible:at,onOk:Qt,onCancel:Ln,useId:wn=null,identifier:un,shixun_environment_id:st,tab_type:dn})=>{var Ea,Qa;const[ia,Oa]=(0,b.useState)(null),[Ia,Wr]=(0,b.useState)({}),[ga,ea]=(0,b.useState)(""),{environmentData:Ir}=ve,{frequence_image:Sr=[],environments:Ta=[],other_image:ur=[]}=Ir,{name:la,description:Qn}=Ia;(0,b.useEffect)(()=>{at&&(pe({type:"newShixuns/getEnvironmentData",payload:{tab_type:dn}}),ea(""),Oa(wn))},[at,wn]),(0,b.useEffect)(()=>{ve.actionTabs.key==="NewShixuns-Apply"&&Ln()},[(Ea=ve==null?void 0:ve.actionTabs)==null?void 0:Ea.key]),(0,b.useEffect)(()=>{ia!==null&&qa()},[ia]);const qa=()=>Mr(void 0,null,function*(){const ka=yield(0,lt.Q1)({mirror_repository_id:ia,identifier:un,shixun_environment_id:st});Wr(ka.data)});return b.createElement(b.Fragment,null,b.createElement(he.default,{title:"\u9009\u62E9\u5B9E\u9A8C\u955C\u50CF",open:at,width:1e3,destroyOnClose:!0,centered:!0,onCancel:Ln,className:$r.modal,footer:null},b.createElement("div",{className:$r.mirrorModal},b.createElement(Mo.Z,{dispatch:pe,value:ia,data:Ta,otherData:ur,tags:Sr,onChange:ka=>Oa(ka),onSearchWord:ka=>ea(ka),tab_type:dn}),b.createElement("div",{className:$r.right},b.createElement("header",null,b.createElement("div",{className:$r.title},"\u5B9E\u9A8C\u73AF\u5883:\xA0",b.createElement("span",{dangerouslySetInnerHTML:{__html:ia===null?"\u2014 \u2014":(Qa=la||"")==null?void 0:Qa.replace(new RegExp(ga==null?void 0:ga.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"gi"),'$&')}}))),b.createElement("div",{className:$r.content},ia===null&&b.createElement(an.Z,{image:oo,description:"\u8BF7\u9009\u62E9\u5B9E\u9A8C\u73AF\u5883"}),ia!==null&&b.createElement("div",{className:$r.des},b.createElement(De.Z,{value:Qn,highlightKeywords:ga})),b.createElement("div",{className:$r.btns},b.createElement(le.ZP,{onClick:()=>{Oa(null),Wr({}),Ln()},className:$r.cancel},"\u53D6\u6D88 "),b.createElement(le.ZP,{onClick:()=>{Qt(Ia)},className:$r.confirm,type:"primary"},"\u4FDD\u5B58 ")))))),b.createElement(ho.Z,null),b.createElement(yn.Z,null))};var lo=(0,Ie.connect)(({newShixuns:ve,globalSetting:Ee,user:pe})=>({newShixuns:ve,globalSetting:Ee,user:pe}))(io),dt={flex_box_center:"flex_box_center___jnFK3",flex_space_between:"flex_space_between___JoMuQ",flex_box_vertical_center:"flex_box_vertical_center___XkWzp",flex_box_center_end:"flex_box_center_end___kfVJX",flex_box_column:"flex_box_column___mfxox",content:"content___ujW8g",explain:"explain___vGa5a",tabs:"tabs___MbGuX",active:"active___SCmkJ",btns:"btns___MiEQa",must:"must___n8wNT",popover:"popover___wqXWh",zybzForm:"zybzForm___m1nC0",graaytitle:"graaytitle___vdUDn",dataPicker:"dataPicker___RiEgz",examineStatus:"examineStatus___OCyYC",contacts:"contacts___MWvKz",contacts_img:"contacts_img___kiMTs",suc_status:"suc_status___p81iO",fail_status:"fail_status___Rv54W",bohui:"bohui___wtuT5",selecticon:"selecticon___AAPZz"},Ue=re(43428),We=re(46400),Rt=re(60324),Cn=re(88522),aa=re(5083),Oe=re(51124),it={footerWrap:"footerWrap___lXI4I"},Me=Object.getOwnPropertySymbols,ut=Object.prototype.hasOwnProperty,zt=Object.prototype.propertyIsEnumerable,Ga=(ve,Ee)=>{var pe={};for(var at in ve)ut.call(ve,at)&&Ee.indexOf(at)<0&&(pe[at]=ve[at]);if(ve!=null&&Me)for(var at of Me(ve))Ee.indexOf(at)<0&&zt.call(ve,at)&&(pe[at]=ve[at]);return pe},ja=(ve,Ee,pe)=>new Promise((at,Qt)=>{var Ln=st=>{try{un(pe.next(st))}catch(dn){Qt(dn)}},wn=st=>{try{un(pe.throw(st))}catch(dn){Qt(dn)}},un=st=>st.done?at(st.value):Promise.resolve(st.value).then(Ln,wn);un((pe=pe.apply(ve,Ee)).next())});const Vn=ie.default.TextArea,Jt=ve=>{var Ee=ve,{shixunsDetail:pe,globalSetting:at,loading:Qt,dispatch:Ln,onFinish:wn=()=>{}}=Ee,un=Ga(Ee,["shixunsDetail","globalSetting","loading","dispatch","onFinish"]);const[st]=oe.default.useForm(),dn=Qa=>ja(void 0,null,function*(){var ia;const Oa=yield Ln({type:"shixunsDetail/getCustomScript",payload:{id:(ia=pe.actionTabs.params)==null?void 0:ia.id,compile:Qa.execute,excutive:Qa.compile}});Ea(),Oa&&wn(Oa==null?void 0:Oa.shixun_script)}),Ea=()=>{Ln({type:"shixunsDetail/setActionTabs",payload:{}})};return b.createElement(he.default,{centered:!0,title:"\u81EA\u5B9A\u4E49\u6A21\u677F",open:pe.actionTabs.key==="Settings-UseCustomScript",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",footer:null,onCancel:Ea},b.createElement(oe.default,{form:st,scrollToFirstError:!0,layout:"vertical",onFinish:dn},b.createElement(oe.default.Item,{name:"execute",label:"\u6267\u884C\u547D\u4EE4\uFF1A",rules:[{required:!0,message:"\u6267\u884C\u547D\u4EE4\u4E0D\u80FD\u4E3A\u7A7A"}]},b.createElement(Vn,{rows:4})),b.createElement(oe.default.Item,{name:"compile",label:"\u7F16\u8BD1\u547D\u4EE4\uFF1A"},b.createElement(Vn,{rows:4})),b.createElement("div",{className:it.footerWrap},b.createElement(oe.default.Item,null,b.createElement(le.ZP,{className:"mr5",size:"middle",onClick:Ea},"\u53D6\u6D88"),b.createElement(le.ZP,{size:"middle",type:"primary",htmlType:"submit",loading:Qt.effects["shixunsDetail/getCustomScript"]},"\u4FDD\u5B58")))))};var Hn=(0,Ie.connect)(({shixunsDetail:ve,loading:Ee,globalSetting:pe})=>({shixunsDetail:ve,globalSetting:pe,loading:Ee}))(Jt),ba=re(34055),La=re(61186),rr=re.n(La),sa=re(29679),wt=re(59301),ca=(ve,Ee,pe)=>new Promise((at,Qt)=>{var Ln=st=>{try{un(pe.next(st))}catch(dn){Qt(dn)}},wn=st=>{try{un(pe.throw(st))}catch(dn){Qt(dn)}},un=st=>st.done?at(st.value):Promise.resolve(st.value).then(Ln,wn);un((pe=pe.apply(ve,Ee)).next())});const gr="YYYY-MM-DD HH:mm",Pr=({shixunsDetail:ve,visible:Ee,onOk:pe,onCancel:at,dispatch:Qt,is_published:Ln,id:wn,has_relation:un,environment:st=[],verifyModal:dn})=>{var Ea,Qa,ia;const Oa=(0,Ie.useParams)(),[Ia,Wr]=(0,b.useState)(1),[ga,ea]=(0,b.useState)(!0),[Ir,Sr]=(0,b.useState)(!1),[Ta,ur]=(0,b.useState)(null),[la,Qn]=(0,b.useState)(),[qa,ka]=(0,b.useState)(),[$a,Ma]=(0,b.useState)([]),[Br,bo]=(0,b.useState)(!1),[Ua,Xt]=(0,b.useState)(""),[wa,tr]=(0,b.useState)(null),[Va]=oe.default.useForm(),[co,lr]=(0,b.useState)([]),[nr,Ur]=(0,b.useState)(""),[Yo,No]=(0,b.useState)([{id:1,name:"\u8BC4\u6D4B\u811A\u672C\u8BBE\u7F6E"},{id:2,name:"\u5B9E\u9A8C\u73AF\u5883\u8BBE\u7F6E"}]),wo=(0,b.useRef)((0,fn.throttle)(xa=>kr(xa),1200,{leading:!0,trailing:!0})).current;(0,b.useEffect)(()=>{var xa;((0,ba.Ny)()||(xa=ve==null?void 0:ve.detail)!=null&&xa.manager_of_shixun)&&No([{id:1,name:"\u8BC4\u6D4B\u811A\u672C\u8BBE\u7F6E"},{id:2,name:"\u5B9E\u9A8C\u73AF\u5883\u8BBE\u7F6E"}])},[]),(0,b.useEffect)(()=>{wn&&Ee&&Ba()},[wn,Ee]);const Ba=(xa=null)=>ca(void 0,null,function*(){var eo,Bi;xa||ea(!0);const Wi=yield(0,Ke.ZP)(`/api/shixuns/${wn}/get_shixun_env_setting.json`,{method:"get",params:{shixun_environment_id:xa}});if(Wi.status===0&&!xa){const{data:xr}=Wi;console.log("data",xr),ur((xr==null?void 0:xr.shixun_environment_id)||null),Qn((xr==null?void 0:xr.evaluate_script)||""),ka((xr==null?void 0:xr.choice_standard_scripts)||null),Ma((xr==null?void 0:xr.standard_scripts)||[]),Xt((eo=xr.shixun)==null?void 0:eo.survival_time);let Cr=(Bi=xr.shixun)==null?void 0:Bi.important_shixun_configs;Va.setFieldsValue({identifier:(Cr==null?void 0:Cr.identifier)||"",people_number:(Cr==null?void 0:Cr.people_number)||"",school_id:(Cr==null?void 0:Cr.school_name)||"",times:Cr!=null&&Cr.start_time&&(Cr!=null&&Cr.end_time)?[rr()(Cr==null?void 0:Cr.start_time),rr()(Cr==null?void 0:Cr.end_time)]:["",""]}),Ur((Cr==null?void 0:Cr.verify_reason)||""),tr((Cr==null?void 0:Cr.process)||null),yield kr(Cr==null?void 0:Cr.school_name)}if(Wi.status===0&&xa){const{data:xr}=Wi;Qn((xr==null?void 0:xr.evaluate_script)||""),ka(null),Ma((xr==null?void 0:xr.standard_scripts)||[]),yield kr()}ea(!1)}),kr=xa=>ca(void 0,null,function*(){const eo=yield Qt({type:"account/getSchoolOption",payload:{keyword:xa,limit:99999,display_aliases:!0}});lr(eo==null?void 0:eo.schools)}),xo=()=>{dn()||Qt({type:"shixunsDetail/setActionTabs",payload:{key:"Settings-UseCustomScript",params:{id:Oa.id}}})},Ar=xa=>ca(void 0,null,function*(){const eo=yield Qt({type:"shixunsDetail/getScriptContent",payload:{id:Oa.id,script_id:xa}});eo&&Qn(eo.content)}),ei=xa=>{he.default.confirm({centered:!0,title:"\u63D0\u793A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",content:wt.createElement("div",{className:"tc font16"},"\u539F\u6709\u811A\u672C\u5C06\u88AB\u65B0\u7684\u811A\u672C\u8986\u76D6\uFF0C\u65E0\u6CD5\u64A4\u9500",wt.createElement("br",null),"\u662F\u5426\u786E\u8BA4\u6267\u884C\u8986\u76D6\u64CD\u4F5C"),onOk:()=>ca(void 0,null,function*(){yield Ar(xa),ka(xa),he.default.info({centered:!0,title:"\u63D0\u793A",okText:"\u77E5\u9053\u5566",content:wt.createElement("div",{className:"tc font16"},"\u8BC4\u6D4B\u811A\u672C\u751F\u6210\u6210\u529F\uFF01")})})})},Vo=(xa=!1,eo=1)=>ca(void 0,null,function*(){var Bi,Wi,xr;let Cr;if(Ia===1&&(Sr(!0),Cr=yield(0,Ke.ZP)(`/api/shixuns/${Oa.id}/update_evaluate_script_setting.json`,{method:"put",body:{shixun_environment_id:Ta,mirror_script_id:qa,evaluate_script:la,sync_origin_shixun:xa}})),Ia===2){Sr(!0);let Yn={close_internet:Br,survival_time:Ua,sync_origin_shixun:xa};Cr=yield(0,Ke.ZP)(`/api/shixuns/${Oa.id}/update_environment_setting.json`,{method:"put",body:Yn})}if(Ia===3){let Yn=Va.getFieldsValue();yield Va.validateFields(),Sr(!0);let Bo={close_internet:Br,survival_time:Ua,sync_origin_shixun:xa};Bo.important_shixun_configs={identifier:Yn==null?void 0:Yn.identifier,people_number:Yn==null?void 0:Yn.people_number,school_id:(Bi=co.find(hi=>hi.name===(Yn==null?void 0:Yn.school_id)))==null?void 0:Bi.id,start_time:rr()(Yn==null?void 0:Yn.times[0]).format("YYYY-MM-DD HH:mm"),end_time:rr()(Yn==null?void 0:Yn.times[1]).format("YYYY-MM-DD HH:mm")},Cr=yield(0,Ke.ZP)(`/api/shixuns/${Oa.id}/resources_first_ensure.json`,{method:"post",body:Bo})}Cr.status===0&&((!((Wi=ve==null?void 0:ve.detail)!=null&&Wi.copy_for_exercise)||Ia===3)&&Xe.ZP.success(`${Ia==3?"\u63D0\u4EA4\u7533\u8BF7\u6210\u529F":"\u4FDD\u5B58\u6210\u529F"}`),(xr=ve==null?void 0:ve.detail)!=null&&xr.copy_for_exercise&&Ia!=3&&(0,Bn.m)(Qt,ve,wn,eo),Ba(),pe()),Sr(!1)}),si=(xa,eo)=>{const Bi=/^[^0-9][a-zA-Z0-9]*$/,Wi=/^.{4,30}$/;return eo&&!/^[a-zA-Z0-9]+$/.test(eo)?Promise.reject("\u8F93\u5165\u5185\u5BB9\u53EA\u80FD\u5305\u542B\u6570\u5B57\u548C\u5B57\u6BCD"):eo&&!Bi.test(eo)?Promise.reject("\u4E0D\u80FD\u4EE5\u6570\u5B57\u5F00\u5934"):eo&&!Wi.test(eo)?Promise.reject("\u8F93\u5165\u5185\u5BB9\u957F\u5EA6\u5FC5\u987B\u57284\u523030\u4E2A\u5B57\u7B26\u4E4B\u95F4"):Promise.resolve()},pi=xa=>parseInt(xa||"0",10),Hi=(xa,eo)=>{if(eo&&eo.length===2){const[Bi,Wi]=eo;if(!Bi||!Wi)return Promise.reject(new Error("\u8BF7\u9009\u62E9\u8D77\u59CB\u65F6\u95F4\u548C\u7ED3\u675F\u65F6\u95F4"))}return Promise.resolve()};return wt.createElement(wt.Fragment,null,wt.createElement(Ue.Z,{title:null,width:1e3,placement:"right",closable:!1,onClose:at,open:Ee},wt.createElement("div",{className:dt.content},wt.createElement(cr.Z,{loading:ga,active:!0},wt.createElement(ye.Z,{className:"mt10",justify:"space-between"},wt.createElement("b",{className:"c-grey-333 font16"},"\u8BBE\u7F6E"),wt.createElement("i",{onClick:at,className:"iconfont icon-guanbi11 current",style:{color:"#979797"}})),wt.createElement("div",{className:dt.tabs},Yo.map(xa=>{const{name:eo,id:Bi}=xa;return wt.createElement("div",{key:Bi,className:Ia===Bi?dt.active:"",onClick:()=>Wr(Bi)},eo)})),Ia===1&&wt.createElement(b.Fragment,null,wt.createElement(We.Z,{className:"mt20",message:"\u9009\u62E9\u5B9E\u9A8C\u73AF\u5883\u4E0B\u7684\u8BC4\u6D4B\u811A\u672C\uFF1A\u5C06\u4F5C\u4E3A\u6574\u4E2A\u5B9E\u8BAD\u6240\u6709\u5B9E\u9A8C\u73AF\u5883\u4E0B\uFF0C\u5B66\u5458\u8BC4\u6D4B\u65F6\u8FD0\u884C\u7684\u811A\u672C\u3002",type:"info",showIcon:!0,closable:!0}),wt.createElement(ye.Z,{align:"middle",className:"mt20"},wt.createElement("span",{className:"c-grey-333 font16"},"\u8FD0\u884C\u73AF\u5883"),wt.createElement(Or.default,{onClick:dn,getPopupContainer:xa=>xa.parentNode,bordered:!1,className:"ml10",style:{width:300,backgroundColor:"#f5f5f5",height:50,borderRadius:4,paddingTop:10},value:Ta,onChange:xa=>{ur(xa),Ba(xa)},showArrow:!0,placeholder:"\u5B9E\u9A8C\u73AF\u5883"},(Ea=st.filter(xa=>xa.id!==0))==null?void 0:Ea.map((xa,eo)=>wt.createElement(Or.default.Option,{value:xa.id,name:xa.name,key:xa.id},xa.name)))),wt.createElement(ye.Z,{align:"middle",className:"mt20"},wt.createElement("span",{className:"c-grey-333 font16"},"\u8BC4\u6D4B\u811A\u672C"),wt.createElement(Or.default,{onClick:dn,getPopupContainer:xa=>xa.parentNode,bordered:!1,className:"ml10 mr10",style:{width:300,backgroundColor:"#f5f5f5",height:50,borderRadius:4,paddingTop:10},showArrow:!0,value:qa,placeholder:"\u8BF7\u9009\u62E9\u8BC4\u6D4B\u811A\u672C",onChange:xa=>{ei(xa)}},($a||[]).map((xa,eo)=>wt.createElement(Or.default.Option,{value:parseInt(xa.id),name:xa.scptname,key:eo},xa.scptname))),wt.createElement("span",{className:dt.explain,onClick:xo},"\u4F7F\u7528\u81EA\u5B9A\u4E49\u811A\u672C"),wt.createElement(Rt.Z,{className:dt.popover,content:wt.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",wt.createElement("br",null),"\u6570\u548C\u4EE5\u4E0B2\u4E2A\u6570\u7EC4\u5143\u7D20\uFF1A",wt.createElement("br",null),"challengeProgramNames",wt.createElement("br",null),"sourceClassNames",wt.createElement("br",null),wt.createElement("br",null),"\u793A\u4F8B\uFF1A\u67092\u4E2A\u5173\u5361\u7684\u5B9E\u8BAD",wt.createElement("br",null),wt.createElement("br",null),"\u5404\u5173\u5361\u7684\u5F85\u7F16\u8BD1\u6587\u4EF6\u4E3A\uFF1A",wt.createElement("br",null),"src/step1/HelloWorld.java",wt.createElement("br",null),"src/step2/Other.java",wt.createElement("br",null),wt.createElement("br",null),"\u5404\u5173\u5361\u7684\u7F16\u8BD1\u540E\u751F\u6210\u7684\u6267\u884C\u6587\u4EF6\u4E3A\uFF1A",wt.createElement("br",null),"step1.HelloWorld",wt.createElement("br",null),"step2.Other",wt.createElement("br",null),wt.createElement("br",null),"\u5219\u6570\u7EC4\u5143\u7D20\u66F4\u65B0\u5982\u4E0B\uFF1A",wt.createElement("br",null),'ff challengeProgramNames=("src/step1/',wt.createElement("br",null),'HelloWorld.java" "src/step2/Other.java")',wt.createElement("br",null),'sourceClassNames=("step1.HelloWorld',wt.createElement("br",null),'" "step2.Other")',wt.createElement("br",null),wt.createElement("br",null),"\u5176\u5B83\u53C2\u6570\u53EF\u6309\u5B9E\u9645\u9700\u6C42\u5B9A\u5236"),trigger:"click"},wt.createElement("span",{style:{color:"#999",fontSize:14,marginTop:2,marginLeft:4},className:"iconfont icon-tishi11 c-grey-999"}))),wt.createElement(Oe.ZP,{style:{border:"1px solid #ccc",background:"#f5f5f5",marginTop:"30px"},language:"shell",theme:"vs-light",value:la,options:{readOnly:Ln},onChange:xa=>{Qn(xa)}})),Ia===2&&wt.createElement("div",{style:{flex:1,overflowY:"auto"}},wt.createElement(ye.Z,{align:"middle",className:"mt20"},wt.createElement("span",{className:"c-grey-333 font16 mr10"},"\u5B9E\u9A8C\u73AF\u5883\u4F7F\u7528\u65F6\u957F"),wt.createElement(ie.default,{bordered:!1,value:Ua,onChange:xa=>Xt(xa.target.value),style:{width:300,backgroundColor:"#f5f5f5",height:50,borderRadius:4}}),wt.createElement("span",{className:"ml10 c-grey-999 font14"},"\u5206"))),Ia===3&&((0,ba.Ny)()||((Qa=ve==null?void 0:ve.detail)==null?void 0:Qa.manager_of_shixun))&&wt.createElement("div",{style:{flex:1,overflowY:"auto"}},wt.createElement(ye.Z,{align:"middle",className:"mt20"},wt.createElement(oe.default,{form:Va,layout:"horizontal",className:dt.zybzForm},wt.createElement(ye.Z,{align:"middle"},wt.createElement("span",{className:"c-grey-333 font16 mr10",style:{marginLeft:55}},wt.createElement("span",{className:dt.must},"*"),"\u4FDD\u969C\u6807\u8BC6"),wt.createElement(oe.default.Item,{label:"",name:"identifier",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4FDD\u969C\u6807\u8BC6"},{validator:si}]},wt.createElement(ie.default,{bordered:!1,style:{width:300,backgroundColor:"#f5f5f5",height:50,borderRadius:4},minLength:4,maxLength:30,showCount:!0,placeholder:"\u8BF7\u8F93\u5165\u4FDD\u969C\u6807\u8BC6"})),wt.createElement("span",{className:"ml10 c-grey-999 font14"},"\u4FDD\u969C\u6807\u8BC6\u53EA\u80FD\u7531\u5B57\u6BCD\u548C\u6570\u5B57\u7EC4\u6210\uFF084~30 \u4F4D\uFF09\uFF0C\u4E0D\u80FD\u4EE5\u6570\u5B57\u5F00\u5934\u3002",wt.createElement("br",null),"\u586B\u5199\u4FDD\u969C\u6807\u8BC6\u662F\u4E3A\u4E86\u4FBF\u4E8E\u5E73\u53F0\u4E3A\u6B64\u5B9E\u8DF5\u9879\u76EE\u7279\u522B\u5206\u914D\u8282\u70B9\u3002")),wt.createElement(ye.Z,{align:"middle",className:"mt25"},wt.createElement("span",{className:"c-grey-333 font16 mr10",style:{marginLeft:7}},wt.createElement("span",{className:dt.must},"*"),"\u9700\u8981\u4FDD\u969C\u7684\u5355\u4F4D"),wt.createElement("div",{style:{position:"relative"}},wt.createElement(oe.default.Item,{label:"",name:"school_id",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u9700\u8981\u4FDD\u969C\u7684\u5355\u4F4D"}]},wt.createElement(Cn.Z,{bordered:!1,style:{width:300,backgroundColor:"#f5f5f5",height:50,borderRadius:4,paddingTop:10},onChange:wo,showSearch:!0,placeholder:"\u8BF7\u9009\u62E9\u9700\u8981\u4FDD\u969C\u7684\u5355\u4F4D"},(ia=co==null?void 0:co.filter(xa=>(xa==null?void 0:xa.id)!==0))==null?void 0:ia.map((xa,eo)=>wt.createElement(Or.default.Option,{key:eo+1,title:xa==null?void 0:xa.name,value:xa==null?void 0:xa.name},xa==null?void 0:xa.name)))),wt.createElement("span",{className:dt.selecticon},wt.createElement("svg",{viewBox:"64 64 896 896",focusable:"false","data-icon":"down",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},wt.createElement("path",{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}))))),wt.createElement(ye.Z,{align:"middle",className:"mt25"},wt.createElement("span",{className:"c-grey-333 font16 mr10",style:{marginLeft:55}},wt.createElement("span",{className:dt.must},"*"),"\u4FDD\u969C\u65F6\u95F4"),wt.createElement("div",{className:dt.graaytitle},wt.createElement(oe.default.Item,{label:"",name:"times",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u5F00\u59CB\u65F6\u95F4\u548C\u7ED3\u675F\u65F6\u95F4"},{validator:Hi}]},wt.createElement(aa.default.RangePicker,{disabledDate:xa=>xa&&xa{if(xa&&xa[0]&&xa[1]){const eo=xa[0].isBefore(rr()())?rr()():xa[0];Va.setFieldValue("times",[eo,xa[1]])}else Va.setFieldValue("times",xa)}})))),wt.createElement(ye.Z,{align:"middle",className:"mt25"},wt.createElement("span",{className:"c-grey-333 font16 mr10",style:{marginLeft:55}},wt.createElement("span",{className:dt.must},"*"),"\u4FDD\u969C\u4EBA\u6570"),wt.createElement(oe.default.Item,{label:"",name:"people_number",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4FDD\u969C\u4EBA\u6570"}]},wt.createElement(qr.Z,{parser:pi,style:{width:200},placeholder:"\u8BF7\u8F93\u5165\u4FDD\u969C\u4EBA\u6570",min:1})))),wt.createElement("div",{className:`${dt.examineStatus} mt25`},wa>=1&&wt.createElement("div",null," ",wt.createElement(sa.Z,{className:dt.suc_status})," \u5B9E\u9A8C\u8D44\u6E90\u4F18\u5148\u4FDD\u969C\u7533\u8BF7\u6210\u529F\uFF0C\u5E73\u53F0\u7BA1\u7406\u5458\u5BA1\u6838\u4E2D"),wa>=2&&wa!=3&&wt.createElement("div",null," ",wt.createElement(sa.Z,{className:dt.suc_status})," \u5E73\u53F0\u7BA1\u7406\u5458\u5BA1\u6838\u901A\u8FC7\uFF0C\u7CFB\u7EDF\u8D44\u6E90\u5206\u914D\u4E2D"),wa==3&&wt.createElement("div",null," ",wt.createElement(on.Z,{className:dt.fail_status}),"\u5E73\u53F0\u7BA1\u7406\u5458\u5BA1\u6838\u9A73\u56DE\uFF0C\u9A73\u56DE\u539F\u56E0: ( ",wt.createElement("span",{title:nr,className:dt.bohui},nr),") \u5982\u6709\u95EE\u9898\u8BF7\u8054\u7CFB",wt.createElement("span",{className:dt.contacts},wt.createElement("span",null,"\u5E73\u53F0\u8FD0\u8425\u4EBA\u5458")," ",wt.createElement("div",{className:dt.contacts_img}))),wa>=4&&wa!=5&&wa!=7&&wt.createElement("div",null," ",wt.createElement(sa.Z,{className:dt.suc_status})," \u7CFB\u7EDF\u8D44\u6E90\u5206\u914D\u5B8C\u6210\uFF0C\u5B9E\u9A8C\u8D44\u6E90\u4FDD\u969C\u4E2D"),(wa==5||wa==7)&&wt.createElement("div",null," ",wt.createElement(on.Z,{className:dt.fail_status}),"\u7CFB\u7EDF\u8D44\u6E90\u5206\u914D\u5931\u8D25\uFF0C\u8BF7\u8054\u7CFB",wt.createElement("span",{className:dt.contacts},wt.createElement("span",null,"\u5E73\u53F0\u8FD0\u8425\u4EBA\u5458")," ",wt.createElement("div",{className:dt.contacts_img}))),wa>5&&wt.createElement("div",null," ",wt.createElement(sa.Z,{className:dt.suc_status})," \u5B9E\u9A8C\u8D44\u6E90\u4FDD\u969C\u5DF2\u7ED3\u675F")))),wt.createElement("div",{className:dt.btns},wt.createElement(le.ZP,{onClick:at},"\u53D6\u6D88"),wt.createElement(le.ZP,{disabled:Ia==3&&[2,4,5].includes(wa),onClick:()=>ca(void 0,null,function*(){var xa,eo;if(Ia===1&&!Ta){Xe.ZP.warning("\u8BF7\u9009\u62E9\u8FD0\u884C\u73AF\u5883");return}(xa=ve==null?void 0:ve.detail)!=null&&xa.is_fork_from_creator&&((eo=ve==null?void 0:ve.detail)!=null&&eo.copy_for_exercise)&&Ia!=3&&(st.filter(Bi=>Bi.id===Ta)[0].has_relation&&Ia===1||Ia===2)?Qt({type:"classroomList/setActionTabs",payload:{key:"\u540C\u6B65\u4FEE\u6539",type:"environment",fn:(Bi,Wi)=>{Vo(Bi,Wi)},zIndex:1e4}}):Vo()}),loading:Ir,type:"primary",className:"ml20"},Ia==3?"\u63D0\u4EA4\u7533\u8BF7":"\u4FDD\u5B58"))))),wt.createElement(Hn,{onFinish:xa=>Qn(xa)}))};var dr=(0,Ie.connect)(({shixunsDetail:ve})=>({shixunsDetail:ve}))(Pr),Zn=re(2312),Rn=re(25510),pn={wrap:"wrap___S9yE5",content:"content___xIxOT",head:"head___icGJE",title:"title___NbDBd",add:"add___ntZkv",addDisable:"addDisable___pgd9I",setting:"setting___kQ9Qx",tabs:"tabs___o2qas",name:"name___HUyj5",active:"active___SVp4l",line:"line___DSw6E",resource:"resource___AgLC3",mirror:"mirror___DGr0Q",interface:"interface___xxy5c",disabled:"disabled___GqKcR",port:"port___vGmHQ",grade:"grade___b6Adk",tabsBox:"tabsBox___TnoNw",tabTitle:"tabTitle___i8cO0",more:"more___kbzpa",serverConfig:"serverConfig___BtI29",viewRecommendConfig:"viewRecommendConfig___ODGyC",system:"system___YygCM",explain:"explain___klZ55",btns:"btns___o6xWf",template:"template___AMzZZ",liWrap:"liWrap___tCbB1",li:"li___srrGx",tag:"tag___NcFBh"},Er=re(77277),zr=re(40151),uo=re(18309),to={list:"list___p00l5",head:"head___JcQe0",row:"row___kLpLL"},Ka=re(59301),_r=Object.defineProperty,Eo=Object.defineProperties,ai=Object.getOwnPropertyDescriptors,li=Object.getOwnPropertySymbols,Mi=Object.prototype.hasOwnProperty,Gr=Object.prototype.propertyIsEnumerable,Sa=(ve,Ee,pe)=>Ee in ve?_r(ve,Ee,{enumerable:!0,configurable:!0,writable:!0,value:pe}):ve[Ee]=pe,kn=(ve,Ee)=>{for(var pe in Ee||(Ee={}))Mi.call(Ee,pe)&&Sa(ve,pe,Ee[pe]);if(li)for(var pe of li(Ee))Gr.call(Ee,pe)&&Sa(ve,pe,Ee[pe]);return ve},$t=(ve,Ee)=>Eo(ve,ai(Ee)),pr=({showError:ve,value:Ee,onChange:pe,optionsLevelList:at})=>{const[Qt,Ln]=(0,b.useState)([]);(0,b.useEffect)(()=>{if(!Ee.length){Ln([{command:"",challenge_ids:[]}]);return}Ln(Ee)},[JSON.stringify(Ee)]);const wn=(un,st,dn)=>{let Ea=JSON.parse(JSON.stringify(Qt));st==="add"?Ea.push({command:"",challenge_ids:[-1]}):st==="delete"?Ea.splice(dn,1):Ea[dn][st]=un,Ln(Ea),pe(Ea)};return console.log(Qt,"value2"),Ka.createElement("div",{className:to.list},Ka.createElement("div",{className:to.head},Ka.createElement("div",{style:{width:400}},"\u547D\u4EE4"),Ka.createElement("div",null,"\u5E94\u7528\u5173\u5361")),Qt==null?void 0:Qt.map((un,st)=>{var dn,Ea,Qa;let ia=at.map((Oa,Ia)=>{const Wr=`\u7B2C${Ia+1}\u5173\uFF1A${Oa.name}`;let ga=Wr,ea=!1;return Oa.st===1&&(ga=Ka.createElement(ha.Z,{placement:"left",title:"\u7406\u8BBA\u9898\u5173\u5361\u65E0\u6CD5\u89E6\u53D1\u547D\u4EE4"},Wr),ea=!0),$t(kn({},Oa),{value:Oa.challenge_id,label:ga,disabled:ea})});return ia=[{label:"\u6240\u6709\u5173\u5361",value:-1},...ia],Ka.createElement(ye.Z,{wrap:!1,align:"middle",style:{position:"relative"},className:stwn(Oa.target.value,"command",st),bordered:!1,placeholder:"\u4F8B\u5982\uFF1Amysql -uroot -p123123 -h127.0.0.1",style:{width:400,height:50,background:"#F5F5F5",borderRadius:4}}),Ka.createElement(Or.default,{options:ia,getPopupContainer:Oa=>Oa.parentNode,value:un==null?void 0:un.challenge_ids,onChange:Oa=>{var Ia,Wr;let ga=Oa;!((Ia=un==null?void 0:un.challenge_ids)!=null&&Ia.includes(-1))&&(Oa!=null&&Oa.includes(-1))&&(ga=[-1]),(Wr=un==null?void 0:un.challenge_ids)!=null&&Wr.includes(-1)&&(Oa!=null&&Oa.includes(-1))&&(ga=Oa==null?void 0:Oa.filter(ea=>ea!==-1)),wn(ga,"challenge_ids",st)},mode:"multiple",maxTagTextLength:(Qa=un==null?void 0:un.challenge_ids)!=null&&Qa.includes(-1)?4:3,placeholder:"\u8BF7\u9009\u62E9\u5E94\u7528\u5173\u5361",maxTagCount:5,bordered:!1,style:{width:560,backgroundColor:"#f5f5f5",height:50,borderRadius:4,paddingTop:10,margin:"0 20px"}}),Ka.createElement(ye.Z,{wrap:!1},Ka.createElement("i",{onClick:()=>wn("","add",st),style:{color:"#3061D0"},className:"iconfont icon-tianjiatimu font20 current ml20"}),st!==0&&Ka.createElement("i",{onClick:()=>wn("","delete",st),style:{color:"#E30000"},className:"iconfont icon-shanjian font20 ml20"})))}))},be=re(59301),jr=Object.defineProperty,Za=Object.defineProperties,mr=Object.getOwnPropertyDescriptors,fr=Object.getOwnPropertySymbols,Vr=Object.prototype.hasOwnProperty,Xr=Object.prototype.propertyIsEnumerable,yo=(ve,Ee,pe)=>Ee in ve?jr(ve,Ee,{enumerable:!0,configurable:!0,writable:!0,value:pe}):ve[Ee]=pe,So=(ve,Ee)=>{for(var pe in Ee||(Ee={}))Vr.call(Ee,pe)&&yo(ve,pe,Ee[pe]);if(fr)for(var pe of fr(Ee))Xr.call(Ee,pe)&&yo(ve,pe,Ee[pe]);return ve},ui=(ve,Ee)=>Za(ve,mr(Ee)),ko=(ve,Ee,pe)=>new Promise((at,Qt)=>{var Ln=st=>{try{un(pe.next(st))}catch(dn){Qt(dn)}},wn=st=>{try{un(pe.throw(st))}catch(dn){Qt(dn)}},un=st=>st.done?at(st.value):Promise.resolve(st.value).then(Ln,wn);un((pe=pe.apply(ve,Ee)).next())});const Di=Or.default.Option,hl=5,di=({practiceSetting:ve,dispatch:Ee,shixunsDetail:pe,user:at})=>{var Qt,Ln,wn,un,st,dn,Ea,Qa,ia,Oa,Ia,Wr;const{id:ga,is_published:ea}=ve,[Ir,Sr]=(0,b.useState)([]),[Ta,ur]=(0,b.useState)(null),[la,Qn]=(0,b.useState)([]),[qa,ka]=(0,b.useState)([]),$a=(0,b.useRef)(null),[Ma,Br]=(0,b.useState)({}),bo=(0,b.useRef)({}),Ua=(0,b.useRef)({}),{shixun_environment:Xt={},mirror_repository:wa={},small_type:tr=[],new_service_configs:Va=[],network_mode_list:co=[],boosters:lr=[]}=Ma,[nr,Ur]=(0,b.useState)(""),[Yo,No]=(0,b.useState)("\u8BF7\u8F93\u5165\u7AEF\u53E3"),[wo,Ba]=(0,b.useState)(!1),[kr,xo]=(0,b.useState)(!1),[Ar,ei]=(0,b.useState)(!0),[Vo,si]=(0,b.useState)(!0),[pi,Hi]=(0,b.useState)(!1),[xa,eo]=(0,b.useState)(!1),[Bi,Wi]=(0,b.useState)(!1),[xr,Cr]=(0,b.useState)(!1),[Yn,Bo]=(0,b.useState)(0),[hi,Zo]=(0,b.useState)(!1),[or,yr]=(0,b.useState)({}),[mo,xi]=(0,b.useState)({}),[Ds,po]=(0,b.useState)({}),[ir,Rr]=(0,b.useState)(""),[To,oi]=(0,b.useState)(!1),[xl,pl]=(0,b.useState)(!1),[Ul,Yl]=(0,b.useState)({}),[xu,Lu]=(0,b.useState)([]),jl=(0,b.useRef)([]),[Ws,Md]=(0,b.useState)([]);console.log("--1111-",lr,xu);const sd=[{id:1,name:"\u901A\u7528\u4E91"},{id:2,name:"\u4E13\u6709\u4E91"}],Id=[{id:1,name:"Windows",icon:"iconfont icon-Windows"},{id:2,name:"Linux",icon:"iconfont icon-Linux"},{id:3,name:"\u5176\u4ED6",icon:"iconfont icon-qitaxitong"}],dd=[{id:1,name:"VNC"},{id:2,name:"RDP"}],cd=[{id:0,name:"\u516C\u5171\u955C\u50CF",type:"public"},{id:1,name:"\u81EA\u5B9A\u4E49\u955C\u50CF",type:"customize"},{id:2,name:"\u5171\u4EAB\u955C\u50CF",type:"share"}],ed=(qa==null?void 0:qa.find($e=>$e.id===Xt.instance_startup_template_id))||{},{desc:gd,virt_type:md}=ed,fd=((Qt=la==null?void 0:la.find($e=>$e.id===(Xt==null?void 0:Xt.private_cloud_id)))==null?void 0:Qt.cloud_type)===1,Nd=((Ln=la==null?void 0:la.find($e=>$e.id===(Xt==null?void 0:Xt.private_cloud_id)))==null?void 0:Ln.cloud_type)===4;(0,b.useEffect)(()=>(window.addEventListener("click",hd),()=>{window.removeEventListener("click",hd)}),[]),(0,b.useEffect)(()=>{ks(),ku(),vd(),Zs(),Vs()},[]),(0,b.useEffect)(()=>{(0,fn.isEqual)(Ua.current,Ma)?Ee({type:"practiceSetting/setSideBarTabs",payload:{confirmLeave:!1}}):Ee({type:"practiceSetting/setSideBarTabs",payload:{confirmLeave:!0}}),bo.current=Ma},[Ma]);const Td=()=>ko(void 0,null,function*(){var $e,Xn,Nr,zo;const Ro=yield(0,Ke.ZP)("/api/shixuns/new.json",{method:"get",params:{tab_type:($e=cd[Number(Yn)])==null?void 0:$e.type}});(Ro==null?void 0:Ro.status)===0&&(((Nr=(Xn=Ro==null?void 0:Ro.data)==null?void 0:Xn.environments)==null?void 0:Nr.length)===0&&((zo=Ro==null?void 0:Ro.data)==null?void 0:zo.other_image.length)===0?Zo(!0):Zo(!1))});(0,b.useEffect)(()=>{Td()},[Yn]);const Rd=()=>{var $e;const Xn=()=>{Ie.history.push(`/shixuns/${ga}/challenges`),Ee({type:"practiceSetting/setSideBarTabs",payload:{confirmLeave:!1}})};($e=ve==null?void 0:ve.sideBar)!=null&&$e.confirmLeave?he.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:()=>{Xn()}}):Xn()},ks=()=>ko(void 0,null,function*(){var $e;const Xn=yield(0,Ke.ZP)(`/api/shixuns/${ga}/get_shixun_env_tabs.json`,{method:"get"});if(Xn.status===0){const Nr=(($e=Xn.data)==null?void 0:$e.shixun_environments_tabs)||[];Nr.length&&Ta===null&&ur(Nr[0].id),Sr(Nr)}}),vd=()=>ko(void 0,null,function*(){var $e;si(!0);const Xn=yield(0,Ke.ZP)("/api/shixuns/get_private_clouds.json",{method:"get"});Xn.status===0&&Qn(($e=Xn==null?void 0:Xn.data)==null?void 0:$e.list),si(!1)}),Vs=()=>ko(void 0,null,function*(){var $e;const Xn=yield(0,Ke.ZP)("/api/myshixuns/resource_pool_list.json",{method:"get"});Xn.status===0&&Md((($e=Xn==null?void 0:Xn.data)==null?void 0:$e.data)||[])}),Zs=()=>ko(void 0,null,function*(){const $e=yield(0,Ke.ZP)(`/api/shixuns/${ga}/challenges.json`,{method:"get"});$e.challenge_list&&Lu($e.challenge_list||[])}),zs=($e,Xn)=>ko(void 0,null,function*(){var Nr;const zo=yield(0,Ke.ZP)("/api/shixuns/get_instance_startup_template.json",{method:"get",params:{private_cloud_id:$e,operating_system:Xn}});zo.status===0&&ka((Nr=zo==null?void 0:zo.data)==null?void 0:Nr.list)}),ku=($e=null)=>ko(void 0,null,function*(){var Xn,Nr,zo,Ro,Ho,Zi,Ji,ql,su,Ei,Fl,du,ii,Vu,qo;ei(!0);const nl=yield(0,Ke.ZP)(`/api/shixuns/${ga}/get_multi_environments.json`,{method:"get",params:{shixun_environment_id:$e}});if(nl.status===0){Ua.current=(0,fn.cloneDeep)(nl.data||{}),Br(nl.data||{}),Bo(Number((Nr=(Xn=nl.data)==null?void 0:Xn.shixun_environment)==null?void 0:Nr.mirror_tab_type)||0),Number((Ro=(zo=nl.data)==null?void 0:zo.shixun_environment)==null?void 0:Ro.mirror_tab_type)===0?(yr((Ho=nl.data)==null?void 0:Ho.mirror_repository),xi({}),po({})):Number((Ji=(Zi=nl.data)==null?void 0:Zi.shixun_environment)==null?void 0:Ji.mirror_tab_type)===1?(xi((ql=nl.data)==null?void 0:ql.mirror_repository),yr({}),po({})):Number((Ei=(su=nl.data)==null?void 0:su.shixun_environment)==null?void 0:Ei.mirror_tab_type)===2&&(po((Fl=nl.data)==null?void 0:Fl.mirror_repository),yr({}),po({}));const Zu=(ii=(du=nl==null?void 0:nl.data)==null?void 0:du.shixun_environment)==null?void 0:ii.private_cloud_id,ws=(qo=(Vu=nl==null?void 0:nl.data)==null?void 0:Vu.shixun_environment)==null?void 0:qo.operating_system;Zu&&ws&&zs(Zu,ws)}ei(!1)}),pd=()=>ko(void 0,null,function*(){var $e;const Xn=yield(0,Ke.ZP)(`/api/shixuns/${ga}/check_code_editor.json`,{method:"get",params:{shixun_environment_id:Ta}});return Xn.status===0&&Xn.is_exist_code_editor?(he.default.confirm({icon:null,centered:!0,className:Er.Z.CustomTipsModalCss,okButtonProps:{type:"primary"},width:425,okText:"\u524D\u5F80\u5173\u95ED",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:be.createElement("div",null,be.createElement("div",null,"\u6BCF\u4E2A\u5B9E\u8DF5\u9879\u76EE\u53EA\u80FD\u5F00\u542F\u4E00\u4E2A\u4EE3\u7801\u7F16\u8F91\u5668\u754C\u9762\u3002"),be.createElement("div",null,"\u201C",($e=Xn==null?void 0:Xn.shixun_environment)==null?void 0:$e.name,"\u201D\u5DF2\u5F00\u542F\u4EE3\u7801\u7F16\u8F91\u5668\uFF0C\u9700\u5148\u5173\u95ED\uFF0C\u7136\u540E\u624D\u80FD\u5728\u5F53\u524D\u5B9E\u9A8C\u73AF\u5883\u9009\u62E9\u4EE3\u7801\u7F16\u8F91\u5668\u3002")),onOk:()=>ko(void 0,null,function*(){ur(Xn.shixun_environment.id),ku(Xn.shixun_environment.id),ks()})}),Promise.reject()):Promise.resolve()}),Wd={shixun_environment:{id:0,resource_type:1,command_settings:[],is_support_code_editor:!1,is_support_vnc:!1,is_support_webssh:!1,is_support_thiry_party:!1,disabled_support_vnc:!1,disabled_support_webssh:!1,private_is_support_vnc:!1,private_is_support_webssh:!1,private_is_support_jupyter_lab:!1,disabled2_support_vnc:!1,disabled2_support_webssh:!1,disabled2_support_jupyter_lab:!1,proxy_port:"",web_route:"",private_cloud_id:null,instance_startup_template_id:null,operating_system:1,instance_startup_type:1,pool_id:null,node_name:[]},mirror_repository:{choice_small_mirrors:[],shixun_service_configs:[]},small_type:[]},kd=($e,Xn)=>{var Nr,zo;if(typeof($e==null?void 0:$e.className)=="string"&&((Nr=$e==null?void 0:$e.className)!=null&&Nr.includes(Xn)))return $e;for(let Ro=0,Ho=$e;Ho=Ho.parentNode;Ro++){if(typeof($e==null?void 0:$e.className)=="string"&&((zo=Ho==null?void 0:Ho.className)!=null&&zo.includes(Xn)))return Ho;if(Ho==document.documentElement)return!1}},hd=$e=>{kd($e.target,"editor-scrollable")&&Xi()},Xi=()=>(0,Wt.gy)(Ee,"\u4E0D\u80FD\u9009\u62E9/\u66F4\u6362\u5B9E\u9A8C\u73AF\u5883"),Gs=$e=>be.createElement(na.Z,{required:!0,nameWidth:150,name:"\u5B9E\u9A8C\u754C\u9762",errorKey:"interface",errorValue:nr,align:"start",errorName:"\u8BF7\u9009\u62E9\u5B9E\u9A8C\u754C\u9762",tooltipTitle:be.createElement("div",{className:"p10"},$e&&be.createElement(be.Fragment,null,be.createElement("b",{className:"font14"},"\u4EE3\u7801\u7F16\u8F91\u5668"),be.createElement("br",null),"\u5B66\u5458\u8FDB\u884C\u5B9E\u9A8C\u65F6\uFF0C\u4E3A\u5B66\u5458\u63D0\u4F9B\u4EE3\u7801\u7F16\u8F91\u5668\u3001\u7F16\u8BD1\u5668\u3001\u8C03\u8BD5\u5668\u7B49\u5DE5\u5177\u3002",be.createElement("br",null),"\u5F53\u9009\u62E9\u4E86VSCode\u76F8\u5173\u7684\u5B9E\u9A8C\u955C\u50CF\u65F6\uFF0C\u4EE3\u7801\u7F16\u8F91\u5668\u4EE5VSCode\u7684\u5F62\u5F0F\u5C55\u793A\u7ED9\u5B66\u5458\u3002",be.createElement("br",null),"\u6BCF\u4E2A\u5B9E\u8DF5\u9879\u76EE",be.createElement("b",null,"\u53EA\u80FD\u5F00\u542F\u4E00\u4E2A"),"\u4EE3\u7801\u7F16\u8F91\u5668\u754C\u9762\u3002",be.createElement("br",null)),be.createElement("div",{className:"mt10 blod font14"},"\u56FE\u5F62\u5316\u684C\u9762"),"\u5B66\u5458\u8FDB\u884C\u5B9E\u9A8C\u65F6\uFF0C\u4F7F\u7528\u56FE\u5F62\u5316\u65B9\u5F0F\u663E\u793A\u64CD\u4F5C\u754C\u9762\u3002",be.createElement("br",null),be.createElement("div",{className:"mt10 blod font14"},"\u547D\u4EE4\u884C\u7EC8\u7AEF"),"\u5B66\u5458\u8FDB\u884C\u5B9E\u9A8C\u65F6\uFF0C\u4E3A\u5B66\u5458\u63D0\u4F9B\u547D\u4EE4\u884C\u7A97\u53E3\u3002",$e&&be.createElement(be.Fragment,null,be.createElement("div",{className:"mt10 blod font14"},"\u5BB9\u5668\u5185\u670D\u52A1"),"\u5B66\u5458\u8FDB\u884C\u5B9E\u9A8C\u65F6\uFF0C\u53EF\u4EE5\u5728\u5B9E\u9A8C\u9875\u9762\u76F4\u63A5\u9884\u89C8\u5BB9\u5668\u5185\u90E8Web\u670D\u52A1\u3002"))},be.createElement("div",{className:pn.interface},$e&&be.createElement("div",{onClick:()=>tl("shixun_environment","is_support_code_editor",!(Xt!=null&&Xt.is_support_code_editor)),className:Xt!=null&&Xt.is_support_code_editor?pn.active:""},be.createElement("span",{className:"iconfont icon-xuanzhong9"}),be.createElement("div",null,be.createElement("i",{className:"iconfont icon-daimabianjiqi1"}),be.createElement("span",null,"\u4EE3\u7801\u7F16\u8F91\u5668")),be.createElement("aside",null," \u63D0\u4F9B\u4EE3\u7801\u7F16\u8F91\u5668\uFF0C\u7F16\u8BD1\u5668\uFF0C\u8C03\u8BD5\u5668\u7B49\u5DE5\u5177")),Xt!=null&&Xt[$e?"disabled_support_vnc":"disabled2_support_vnc"]?be.createElement(ha.Z,{title:"\u9009\u62E9\u7684\u5B9E\u9A8C\u955C\u50CF\u4E0D\u652F\u6301\u56FE\u5F62\u5316\u684C\u9762"},be.createElement("div",{className:pn.disabled},be.createElement("span",{className:"iconfont icon-xuanzhong9"}),be.createElement("div",null,be.createElement("i",{className:"iconfont icon-tuxinghuazhuomian"}),be.createElement("span",null,"\u56FE\u5F62\u5316\u684C\u9762")),be.createElement("aside",null,"\u4F7F\u7528\u56FE\u5F62\u5316\u65B9\u5F0F\u663E\u793A\u64CD\u4F5C\u754C\u9762"))):be.createElement("div",{onClick:()=>tl("shixun_environment",$e?"is_support_vnc":"private_is_support_vnc",!(Xt!=null&&Xt[$e?"is_support_vnc":"private_is_support_vnc"])),className:Xt!=null&&Xt[$e?"is_support_vnc":"private_is_support_vnc"]?pn.active:""},be.createElement("span",{className:"iconfont icon-xuanzhong9"}),be.createElement("div",null,be.createElement("i",{className:"iconfont icon-tuxinghuazhuomian"}),be.createElement("span",null,"\u56FE\u5F62\u5316\u684C\u9762")),be.createElement("aside",null,"\u4F7F\u7528\u56FE\u5F62\u5316\u65B9\u5F0F\u663E\u793A\u64CD\u4F5C\u754C\u9762")),Xt!=null&&Xt[$e?"disabled_support_webssh":"disabled2_support_webssh"]?be.createElement(ha.Z,{title:"\u9009\u62E9\u7684\u5B9E\u9A8C\u955C\u50CF\u4E0D\u652F\u6301\u547D\u4EE4\u884C\u7EC8\u7AEF"},be.createElement("div",{className:pn.disabled},be.createElement("span",{className:"iconfont icon-xuanzhong9"}),be.createElement("div",null,be.createElement("i",{className:"iconfont icon-minglinghang"}),be.createElement("span",null,"\u547D\u4EE4\u884C\u7EC8\u7AEF")),be.createElement("aside",null,"\u63D0\u4F9B\u547D\u4EE4\u884C\u7A97\u53E3"))):be.createElement("div",{onClick:()=>tl("shixun_environment",$e?"is_support_webssh":"private_is_support_webssh",!(Xt!=null&&Xt[$e?"is_support_webssh":"private_is_support_webssh"])),className:Xt!=null&&Xt[$e?"is_support_webssh":"private_is_support_webssh"]?pn.active:""},be.createElement("span",{className:"iconfont icon-xuanzhong9"}),be.createElement("div",null,be.createElement("i",{className:"iconfont icon-minglinghang"}),be.createElement("span",null,"\u547D\u4EE4\u884C\u7EC8\u7AEF")),be.createElement("aside",null," \u63D0\u4F9B\u547D\u4EE4\u884C\u7A97\u53E3")),$e&&be.createElement("div",{onClick:()=>tl("shixun_environment","is_support_thiry_party",!(Xt!=null&&Xt.is_support_thiry_party)),className:Xt!=null&&Xt.is_support_thiry_party?pn.active:""},be.createElement("span",{className:"iconfont icon-xuanzhong9"}),be.createElement("div",null,be.createElement("i",{className:"iconfont icon-rongqi1"}),be.createElement("span",null,"\u5BB9\u5668\u5185\u670D\u52A1")),be.createElement("aside",null," \u76F4\u63A5\u9884\u89C8\u5BB9\u5668\u5185\u90E8Web\u670D\u52A1")),!$e&&be.createElement(be.Fragment,null,Xt!=null&&Xt.disabled2_support_jupyter_lab?be.createElement(ha.Z,{title:"\u9009\u62E9\u7684\u5B9E\u9A8C\u955C\u50CF\u4E0D\u652F\u6301jupyterLab"},be.createElement("div",{className:pn.disabled},be.createElement("span",{className:"iconfont icon-xuanzhong9"}),be.createElement("div",null,be.createElement("i",{className:"iconfont icon-jupyterLab"}),be.createElement("span",null,"jupyter Lab")),be.createElement("aside",null,"\u63D0\u4F9B\u4EA4\u4E92\u5F0F\u7B14\u8BB0\u64CD\u4F5C\u754C\u9762"))):be.createElement("div",{onClick:()=>tl("shixun_environment","private_is_support_jupyter_lab",!(Xt!=null&&Xt.private_is_support_jupyter_lab)),className:Xt!=null&&Xt.private_is_support_jupyter_lab?pn.active:""},be.createElement("span",{className:"iconfont icon-xuanzhong9"}),be.createElement("div",null,be.createElement("i",{className:"iconfont icon-jupyterLab"}),be.createElement("span",null,"jupyter Lab")),be.createElement("aside",null," \u63D0\u4F9B\u4EA4\u4E92\u5F0F\u7B14\u8BB0\u64CD\u4F5C\u754C\u9762"))))),Ed=($e,Xn,Nr)=>{const zo=Array.from($e),[Ro]=zo.splice(Xn,1);return zo.splice(Nr,0,Ro),zo},td=($e,Xn)=>ko(void 0,null,function*(){if(!$e.destination)return;const Nr=Ed(Xn,$e.source.index,$e.destination.index);Sr(Nr),(0,Ke.ZP)(`/api/shixuns/${ga}/update_environment_position.json`,{method:"put",body:{tabs:Nr}})}),nd=($e,Xn)=>{let Nr=Xn;he.default.confirm({icon:null,centered:!0,className:Er.Z.CustomTipsModalCss,okButtonProps:{type:"primary"},width:460,okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",title:"\u91CD\u547D\u540D",content:be.createElement("div",null,be.createElement("div",{className:"mb5 c-grey-333"},"\u5B9E\u9A8C\u73AF\u5883\u540D\u79F0"),be.createElement("div",null,be.createElement(ie.default,{defaultValue:Nr,onChange:zo=>Nr=zo.target.value,maxLength:8,style:{width:300},placeholder:"\u8BF7\u8F93\u5165\u5B9E\u9A8C\u73AF\u5883\u540D\u79F0"}),be.createElement("span",{className:"c-grey-999 font14 ml10"},"\u6700\u591A8\u4E2A\u5B57"))),onOk:()=>ko(void 0,null,function*(){if(!Nr)return Xe.ZP.warning("\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A"),Promise.reject();const zo=Ir.map(Ho=>Ho.id===$e?ui(So({},Ho),{name:Nr}):Ho);if(Ta===0){Sr(zo);return}(yield(0,Ke.ZP)(`/api/shixuns/${ga}/update_environment_name.json`,{method:"put",body:{shixun_environment_id:$e,name:Nr}})).status===0&&Sr(zo)})})},Vd=($e,Xn)=>{Xi()||he.default.confirm({icon:null,centered:!0,className:Er.Z.CustomTipsModalCss,width:425,okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",title:"\u5220\u9664",content:"\u4F60\u786E\u5B9A\u8981\u5220\u9664\u8BE5\u5B9E\u9A8C\u73AF\u5883\uFF1F",okButtonProps:{type:"primary"},onOk:()=>ko(void 0,null,function*(){var Nr;if((Ta===0?{status:0}:yield(0,Ke.ZP)(`/api/shixuns/${ga}/delete_environment.json`,{method:"delete",body:{shixun_environment_id:$e}})).status===0){const Ro=Ir.filter(Ho=>Ho.id!==$e);if($e===Ta){const Ho=((Nr=Ro==null?void 0:Ro[0])==null?void 0:Nr.id)||null;ur(Ho),ku(Ho),Sr(Ro)}else Sr(Ro)}})})},Zd=$e=>{var Xn;if($e===Ta)return;const Nr=()=>{ur($e),ku($e),ks()};(Xn=ve==null?void 0:ve.sideBar)!=null&&Xn.confirmLeave?he.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:()=>{Nr()}}):Nr()},zd=$e=>{const Xn=ui(So({},Ma),{shixun_environment:ui(So({},Xt),{is_support_code_editor:$e.no_used_code_editor,is_support_vnc:!1,is_support_webssh:!1,is_support_thiry_party:!1,disabled_support_vnc:$e.disabled_support_vnc,disabled_support_webssh:$e.disabled_support_webssh,open_start_command:$e.open_start_command,start_command:$e.start_command,open_envs:$e.open_envs,envs:$e.envs,privileged:$e.privileged,add_cap:$e.add_cap,drop_cap:$e.drop_cap}),mirror_repository:ui(So({},wa),{id:$e.id,name:$e.name,choice_small_type:[],choice_small_mirrors:[],shixun_service_configs:$e.shixun_service_configs||[],description:$e.description}),small_type:$e.small_type,boosters:($e==null?void 0:$e.boosters)||[]});Yn===0?yr(Xn==null?void 0:Xn.mirror_repository):Yn===1?xi(Xn==null?void 0:Xn.mirror_repository):Yn===2&&po(Xn==null?void 0:Xn.mirror_repository),Br(Xn),Cr(!1),Ur("")},Gd=$e=>{Cr(!1)},Sd=($e=!1,Xn=1)=>ko(void 0,null,function*(){var Nr,zo,Ro;Hi(!0);const Ho=(Nr=Ir.find(Ji=>Ji.id===Ta))==null?void 0:Nr.name,Zi=yield(0,Ke.ZP)(`/api/shixuns/${ga}/update_for_multi.json`,{method:"put",body:{tabs:Ir,shixun_environment_id:Ta,sub_type:wa==null?void 0:wa.choice_small_type,main_type:wa.id,shixun_environment:ui(So({},Xt),{name:Ho,mirror_tab_type:Yn,network_mode:ir,pool_id:(Xt==null?void 0:Xt.pool_id)||null}),shixun_service_configs:wa==null?void 0:wa.shixun_service_configs,new_service_configs:Va,sync_origin_shixun:$e,command_settings:Xt==null?void 0:Xt.command_settings}});Zi.status===0&&(ku(Zi.shixun_environment_id),ur(Zi.shixun_environment_id),ks(),(zo=pe==null?void 0:pe.detail)!=null&&zo.copy_for_exercise||Xe.ZP.success("\u4FDD\u5B58\u6210\u529F"),(Ro=pe==null?void 0:pe.detail)!=null&&Ro.copy_for_exercise&&(0,Bn.m)(Ee,pe,ga,Xn)),Hi(!1)}),Pd=()=>{var $e;if(Xi())return;if(Ta===0||($e=ve==null?void 0:ve.sideBar)!=null&&$e.confirmLeave){Xe.ZP.warning("\u5F53\u524D\u5B9E\u9A8C\u73AF\u5883\u6B63\u5728\u7F16\u8F91\u4E2D\uFF0C\u4E0D\u80FD\u6DFB\u52A0\u65B0\u7684\u5B9E\u9A8C\u73AF\u5883");return}const Xn=(0,fn.cloneDeep)(Wd);console.log("cloneData---",Xn),Sr([...Ir,{id:0,name:`\u5B9E\u9A8C\u73AF\u5883${Ir.length+1}`}]),Bo(0),yr({}),xi({}),po({}),ur(0),Br(Xn)},tl=($e,Xn,Nr)=>ko(void 0,null,function*(){var zo,Ro,Ho,Zi,Ji,ql,su,Ei,Fl,du,ii,Vu,qo,nl,Zu,ws,Ad,js,ad,Cd,Fd,yd;if(Xi())return;const Wo=(0,fn.cloneDeep)(bo.current);if(Xn==="is_support_code_editor"&&Nr&&(yield pd()),Xn==="pool_id"&&(Wo.shixun_environment.node_name=[]),Xn==="resource_type"&&(Wo.shixun_environment.instance_startup_type=1,Wo.shixun_environment.command_settings=jl.current,jl.current=bo.current.shixun_environment.command_settings,Nr===2&&!Wo.shixun_environment.private_cloud_id&&(Wo.shixun_environment.private_cloud_id=(zo=la==null?void 0:la[0])==null?void 0:zo.id,Wo.shixun_environment.operating_system=1,zs(Wo.shixun_environment.private_cloud_id,Wo.shixun_environment.operating_system))),Xn==="private_cloud_id"&&(Wo.shixun_environment.private_is_support_vnc=!1,Wo.shixun_environment.private_is_support_webssh=!1,Wo.shixun_environment.private_is_support_jupyter_lab=!1,Wo.shixun_environment.operating_system=1,Wo.shixun_environment.instance_startup_template_id=null,Wo.shixun_environment.instance_startup_type=1,zs(Nr,Wo.shixun_environment.operating_system)),Xn==="operating_system"&&Nr&&(Wo.shixun_environment.private_is_support_vnc=!1,Wo.shixun_environment.private_is_support_webssh=!1,Wo.shixun_environment.private_is_support_jupyter_lab=!1,Wo.shixun_environment.instance_startup_template_id=null,Wo.shixun_environment.instance_startup_type=1,zs(Wo.shixun_environment.private_cloud_id,Nr)),Xn==="instance_startup_template_id"){Wo.shixun_environment.private_is_support_vnc=!1,Wo.shixun_environment.private_is_support_webssh=!1,Wo.shixun_environment.private_is_support_jupyter_lab=!1,Wo.shixun_environment.instance_startup_type=1;const Ll=qa.find(z=>z.id===Nr);Wo.shixun_environment.disabled2_support_vnc=Ll.disabled_support_vnc,Wo.shixun_environment.disabled2_support_webssh=Ll.disabled_support_webssh,Wo.shixun_environment.disabled2_support_jupyter_lab=Ll.disabled_support_jupyter_lab,Wo.boosters=Ll.boosters,Wo.network_mode_list=Ll.network_mode_list,Rr((Zi=(Ho=(Ro=Ll.network_mode_list)==null?void 0:Ro.filter(z=>z.is_default))==null?void 0:Ho[0])==null?void 0:Zi.network_mode),Wo.new_service_configs=Ll!=null&&Ll.service_config_info?[Ll.service_config_info]:[]}if((Xn==="private_is_support_vnc"||Xn==="private_is_support_webssh")&&(Wo.shixun_environment.instance_startup_type=1),Xn==="choice_small_type"){Wo.mirror_repository.choice_small_mirrors=tr.filter(te=>Nr.includes(te.id));const Ll=Wo.mirror_repository.choice_small_mirrors,z=wa.choice_small_mirrors;if((Ll==null?void 0:Ll.length)>(z==null?void 0:z.length)){const te=(0,fn.differenceBy)(Ll,z,"id");if((Ji=te==null?void 0:te[0])!=null&&Ji.mirror_name){const ae={cpu_limit:((Ei=(su=(ql=te==null?void 0:te[0])==null?void 0:ql.shixun_service_configs)==null?void 0:su[0])==null?void 0:Ei.cpu_limit)||1,lower_cpu_limit:((ii=(du=(Fl=te==null?void 0:te[0])==null?void 0:Fl.shixun_service_configs)==null?void 0:du[0])==null?void 0:ii.lower_cpu_limit)||.1,memory_limit:((nl=(qo=(Vu=te==null?void 0:te[0])==null?void 0:Vu.shixun_service_configs)==null?void 0:qo[0])==null?void 0:nl.memory_limit)||1,mirror_repository_id:(Zu=te==null?void 0:te[0])==null?void 0:Zu.id,name:(ws=te==null?void 0:te[0])==null?void 0:ws.mirror_name,request_limit:((ad=(js=(Ad=te==null?void 0:te[0])==null?void 0:Ad.shixun_service_configs)==null?void 0:js[0])==null?void 0:ad.request_limit)||10,resource_limit:((yd=(Fd=(Cd=te==null?void 0:te[0])==null?void 0:Cd.shixun_service_configs)==null?void 0:Fd[0])==null?void 0:yd.resource_limit)||10};Wo.mirror_repository.shixun_service_configs.push(ae)}}else{const te=(0,fn.differenceBy)(z,Ll,"id");Wo.mirror_repository.shixun_service_configs=Wo.mirror_repository.shixun_service_configs.filter(ae=>{var ue;return ae.mirror_repository_id!==((ue=te==null?void 0:te[0])==null?void 0:ue.id)})}}Xn?Wo[$e][Xn]=Nr:Wo[$e]=Nr,console.log("cloneData",Wo),Ur(""),Br(Wo)}),Kl=($e,Xn,Nr)=>{var zo,Ro;const Ho=/^\d*(\.\d*)?$/,Zi=["cpu_limit","lower_cpu_limit","memory_limit","request_limit","resource_limit"],Ji=(0,fn.cloneDeep)((Ro=(zo=bo.current)==null?void 0:zo.mirror_repository)==null?void 0:Ro.shixun_service_configs);if(Zi.includes(Xn)){Nr.match(Ho)&&(Ji[$e][Xn]=Nr,tl("mirror_repository","shixun_service_configs",Ji));return}Ji[$e][Xn]=Nr,tl("mirror_repository","shixun_service_configs",Ji)},jd=()=>{he.default.info({centered:!0,icon:null,width:460,title:"\u8054\u7CFB\u5E73\u53F0\u7BA1\u7406\u5458",content:be.createElement("div",{className:"tc"},be.createElement("img",{style:{border:"4px solid #0152d9",borderRadius:"4px"},src:Rn,alt:"\u4E8C\u7EF4\u7801",width:160})),okText:"\u6211\u77E5\u9053\u4E86"})},Kd=()=>{var $e,Xn,Nr,zo,Ro,Ho,Zi,Ji,ql,su;if(!Xi()){if((Xt==null?void 0:Xt.resource_type)===1){if(!(wa!=null&&wa.id)){Ur("mirror");return}if(!(Xt!=null&&Xt.is_support_code_editor)&&!(Xt!=null&&Xt.is_support_vnc)&&!(Xt!=null&&Xt.is_support_webssh)&&!(Xt!=null&&Xt.is_support_thiry_party)){Ur("interface");return}if(Xt.is_support_thiry_party&&!(Xt!=null&&Xt.proxy_port)){Ur("port"),No("\u8BF7\u8F93\u5165\u7AEF\u53E3");return}if(Xt.is_support_thiry_party&&(Xt!=null&&Xt.proxy_port)&&parseInt(Xt==null?void 0:Xt.proxy_port)>65535||(($e=Xt==null?void 0:Xt.proxy_port)==null?void 0:$e.length)>1&&((Xn=Xt==null?void 0:Xt.proxy_port)==null?void 0:Xn[0])==="0"){Ur("port"),No("\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u7AEF\u53E3");return}if(!((Nr=wa==null?void 0:wa.shixun_service_configs)!=null&&Nr.length)){Ur("shixun_service_configs");return}for(let Ei of wa==null?void 0:wa.shixun_service_configs){if(Ei!=null&&Ei.open_start_command&&!(Ei!=null&&Ei.start_command)){Ur("start_command");return}if(Ei!=null&&Ei.open_envs&&!(Ei!=null&&Ei.envs)){Ur("envs");return}}if(Xt!=null&&Xt.webssh_host&&!/^[a-z0-9\-]*$/.test(Xt==null?void 0:Xt.webssh_host)){Xe.ZP.warning("\u4E3B\u673A\u540D\u53EA\u80FD\u8F93\u5165\u6570\u5B57\u3001\u5C0F\u5199\u5B57\u6BCD\u3001\u8FDE\u5B57\u7B26");return}if((Ro=(zo=wa==null?void 0:wa.shixun_service_configs)==null?void 0:zo[0])!=null&&Ro.webssh_host&&!/^(?![0-9]+$)(?!.*--)[a-z0-9](?:[a-z0-9-]{0,60}[a-z0-9])$/.test((Zi=(Ho=wa==null?void 0:wa.shixun_service_configs)==null?void 0:Ho[0])==null?void 0:Zi.webssh_host)){eo(!0);return}}if((Xt==null?void 0:Xt.resource_type)===2){if(!(Xt!=null&&Xt.operating_system)){Ur("system");return}if(!(Xt!=null&&Xt.instance_startup_template_id)){Ur("template");return}if(!(Xt!=null&&Xt.private_is_support_vnc)&&!(Xt!=null&&Xt.private_is_support_webssh)&&!(Xt!=null&&Xt.private_is_support_jupyter_lab)){Ur("interface");return}if((Xt==null?void 0:Xt.operating_system)===1&&(Xt!=null&&Xt.private_is_support_vnc)&&fd&&!(Xt!=null&&Xt.instance_startup_type)){Ur("instance_startup_type");return}}if((Xt!=null&&Xt.is_support_webssh||Xt!=null&&Xt.private_is_support_webssh)&&((Ji=Xt==null?void 0:Xt.command_settings)==null?void 0:Ji.some(Fl=>{var du,ii;return!Fl.command&&!!((du=Fl.challenge_ids)!=null&&du.length)||Fl.command&&!((ii=Fl.challenge_ids)!=null&&ii.length)}))){Ur("command_settings");return}(ql=pe==null?void 0:pe.detail)!=null&&ql.is_fork_from_creator&&((su=pe==null?void 0:pe.detail)!=null&&su.copy_for_exercise)&&Ta!=0&&(Xt!=null&&Xt.has_relation)?Ee({type:"classroomList/setActionTabs",payload:{key:"\u540C\u6B65\u4FEE\u6539",type:"environment",fn:(Ei,Fl)=>{Sd(Ei,Fl)}}}):Sd()}},Ud=$e=>ko(void 0,null,function*(){yield Kl($e.index,"cpu_limit",String($e==null?void 0:$e.cpu)),yield Kl($e.index,"memory_limit",String($e==null?void 0:$e.memory))}),Yd=$e=>{const Xn=(0,fn.cloneDeep)(Va);Xn[$e.index]=ui(So({},Xn[$e.index]),{cpu_limit:String($e==null?void 0:$e.cpu),memory_limit:String($e==null?void 0:$e.memory)}),tl("new_service_configs","",Xn)};return be.createElement("div",{className:pn.wrap},be.createElement("div",{className:pn.content},be.createElement("div",{className:pn.head},be.createElement("div",{className:pn.title},"\u5B9E\u9A8C\u73AF\u5883"),Ir.lengthWi(!0),className:pn.setting},"\u8BBE\u7F6E")),!!Ir.length&&be.createElement(b.Fragment,null,be.createElement(mt.Z5,{onDragEnd:$e=>td($e,Ir)},be.createElement(mt.bK,{droppableId:"droppable",direction:"horizontal"},($e,Xn)=>be.createElement("div",ui(So({},$e.droppableProps),{ref:$e.innerRef,className:pn.tabs}),Ir.map((Nr,zo)=>{const{name:Ro,id:Ho}=Nr;return be.createElement(mt._l,{key:Ho,draggableId:Ho.toString(),index:zo},(Zi,Ji)=>be.createElement("div",ui(So(So({},Zi.draggableProps),Zi.dragHandleProps),{ref:Zi.innerRef,className:Ta===Ho?pn.active:"",key:Ho}),be.createElement("i",{className:"iconfont icon-tuodong"}),be.createElement("span",{className:pn.name,onClick:()=>Zd(Ho)},Ro),be.createElement(Ha.Z,{trigger:["click"],dropdownRender:()=>be.createElement(Xa.default,{style:{width:92}},be.createElement(Xa.default.Item,{onClick:()=>nd(Ho,Ro),className:"font14"},"\u91CD\u547D\u540D"),be.createElement(Xa.default.Item,{onClick:()=>Vd(Ho,Ro),className:"font14"},"\u5220\u9664")),getPopupContainer:ql=>ql.parentNode},be.createElement("i",{className:"iconfont icon-zhankai5 current"}))))}),$e.placeholder))),be.createElement("div",{className:pn.line})),be.createElement(cr.Z,{loading:Ar||Vo,active:!0},!!Ir.length&&be.createElement(b.Fragment,null,be.createElement(na.Z,{required:!0,nameWidth:150,name:"\u5B9E\u9A8C\u8D44\u6E90",tooltipTitle:be.createElement("div",{className:"p10"},be.createElement("b",{className:"font14"},"\u901A\u7528\u4E91"),be.createElement("br",null),"\u5E38\u89C4\u573A\u666F\u9009\u7528\uFF0C\u8C03\u7528\u901A\u7528\u8D44\u6E90\uFF0C\u57FA\u4E8E\u5BB9\u5668\u5F62\u5F0F\u4E3A\u5B9E\u8BAD\u63D0\u4F9B\u865A\u62DF\u5B9E\u9A8C\u73AF\u5883\u3002",be.createElement("br",null),be.createElement("div",{className:"mt10 blod font14"},"\u4E13\u6709\u4E91"),"\u4E13\u7528\u573A\u666F\uFF0C\u53EF\u9009\u7528\u4E0D\u540C\u4E91\u96C6\u7FA4\u7684\u8D44\u6E90\uFF0C\u5305\u62EC\u963F\u91CC\u4E91\u3001\u534E\u4E3A\u4E91\u3001\u7B97\u80FD\u4E91\u7B49\uFF0C\u5982\u7B97\u80FD\u4E91\u9002\u7528\u4E8E\u9700\u8981\u8C03\u7528TPU\u8D44\u6E90\u8BAD\u7EC3\u7684\u5B9E\u8BAD")},be.createElement("div",{className:pn.resource},sd.map($e=>be.createElement("div",{key:$e.id,className:(Xt==null?void 0:Xt.resource_type)===$e.id?pn.active:"",onClick:()=>{(Xt==null?void 0:Xt.resource_type)!==$e.id&&tl("shixun_environment","resource_type",$e.id)}},$e.name)))),(Xt==null?void 0:Xt.resource_type)===1&&be.createElement(b.Fragment,null,be.createElement(na.Z,{required:!0,nameWidth:150,name:"\u5B9E\u9A8C\u955C\u50CF"},be.createElement("div",{className:pn.resource,style:{width:300}},cd.map($e=>be.createElement("div",{key:$e.id,className:Yn===$e.id?pn.active:"",onClick:()=>{Yn!==$e.id&&(Xi()||(Bo($e.id),Ur(""),$e.id===0&&Br(ui(So({},Ma),{mirror_repository:So({},or)})),$e.id===1&&Br(ui(So({},Ma),{mirror_repository:So({},mo)})),$e.id===2&&Br(ui(So({},Ma),{mirror_repository:So({},Ds)}))))}},$e.name)))),be.createElement(na.Z,{nameWidth:150,errorKey:"mirror",errorValue:nr,errorName:"\u8BF7\u9009\u62E9\u5B9E\u9A8C\u955C\u50CF"},be.createElement(ye.Z,{align:"middle"},hi===!1?be.createElement(be.Fragment,null,!!(wa!=null&&wa.id)&&be.createElement(be.Fragment,null,be.createElement("div",{onClick:()=>{Xi()||Cr(!0)},className:pn.mirror},be.createElement("div",null,wa==null?void 0:wa.name),be.createElement("i",{className:"iconfont icon-genghuan"})),be.createElement(Zn.Z,{value:[{description:wa==null?void 0:wa.description,name:wa==null?void 0:wa.name}],title:"\u5B9E\u9A8C\u955C\u50CF\u8BF4\u660E"},be.createElement("span",{className:pn.explain},"\u5B9E\u9A8C\u955C\u50CF\u8BF4\u660E"))),!(wa!=null&&wa.id)&&be.createElement("div",{onClick:()=>{Cr(!0)},className:pn.mirror},be.createElement("i",{className:"iconfont icon-tianjia3 font14 mr10"}),be.createElement("div",null,"\u9009\u62E9\u5B9E\u9A8C\u955C\u50CF"))):"\u6682\u65E0\u6570\u636E")),Gs(!0),(Xt==null?void 0:Xt.is_support_webssh)&&be.createElement(na.Z,{nameWidth:150,align:"start",name:"\u5F00\u542F\u65F6\u89E6\u53D1\u547D\u4EE4",tooltipTitle:be.createElement("div",null,"\u6BCF\u6B21\u6253\u5F00\u65B0\u7684\u7EC8\u7AEF\u7A97\u53E3\u65F6\uFF0C\u81EA\u52A8\u53D1\u9001\u5E76\u6267\u884C\u6307\u5B9A\u7684\u547D\u4EE4\u6216\u6587\u672C\u3002\u7528\u4E8E\u81EA\u52A8\u5316\u7EC8\u7AEF\u4EFB\u52A1\u6216\u521D\u59CB\u5316\u5DE5\u4F5C\u73AF\u5883")},be.createElement(pr,{showError:nr==="command_settings",value:Xt==null?void 0:Xt.command_settings,onChange:$e=>tl("shixun_environment","command_settings",$e),optionsLevelList:xu})),(Xt==null?void 0:Xt.is_support_thiry_party)&&be.createElement(na.Z,{required:!0,nameWidth:150,align:"start",name:"\u7AEF\u53E3\u914D\u7F6E",errorKey:"port",errorValue:nr,errorName:Yo},be.createElement(ye.Z,null,be.createElement("div",{className:"font14",style:{lineHeight:"14px"}},be.createElement("div",null,"\u5BB9\u5668\u7AEF\u53E3"),be.createElement(ie.default,{onClick:Xi,value:Xt==null?void 0:Xt.proxy_port,onChange:$e=>{const Xn=$e.target.value;(Xn===""||/^[0-9]\d*$/.test(Xn))&&tl("shixun_environment","proxy_port",$e.target.value)},bordered:!1,style:{width:400,height:50,background:"#F5F5F5",borderRadius:4,marginTop:6}})),be.createElement("div",{className:"ml20"},be.createElement("div",{className:"font14",style:{lineHeight:"14px"}},"\u8DEF\u7531\uFF08\u9009\u586B\uFF09"),be.createElement(ie.default,{onClick:Xi,value:Xt==null?void 0:Xt.web_route,onChange:$e=>tl("shixun_environment","web_route",$e.target.value),bordered:!1,style:{width:450,height:50,background:"#F5F5F5",borderRadius:4,marginTop:6}})))),be.createElement(na.Z,{name:"\u9644\u5E26\u73AF\u5883",nameWidth:150},be.createElement(ye.Z,{align:"middle"},be.createElement(Or.default,{getPopupContainer:$e=>$e.parentNode,onClick:Xi,mode:"multiple",bordered:!1,className:"mr10",optionFilterProp:"children",placeholder:"\u8BF7\u9009\u62E9\u9644\u5E26\u73AF\u5883",style:{minWidth:400,backgroundColor:"#f5f5f5",height:50,borderRadius:4,paddingTop:10},value:wa==null?void 0:wa.choice_small_type,onChange:$e=>tl("mirror_repository","choice_small_type",$e),showArrow:!0,maxTagCount:5},tr.map(($e,Xn)=>be.createElement(Di,{key:$e.id,value:$e.id},$e.type_name))),!!((wn=wa==null?void 0:wa.choice_small_mirrors)!=null&&wn.length)&&be.createElement(Zn.Z,{value:(wa==null?void 0:wa.choice_small_mirrors)||[],title:"\u9644\u5E26\u73AF\u5883\u8BF4\u660E"},be.createElement("span",{className:pn.explain},"\u9644\u5E26\u73AF\u5883\u8BF4\u660E")))),(0,ba.Ny)()&&be.createElement(b.Fragment,null,be.createElement("div",{onClick:()=>Ba(!wo),className:pn.grade},"\u9AD8\u7EA7\u8BBE\u7F6E",be.createElement("i",{className:`iconfont ${wo?"icon-shouqi4":"icon-a-xialazhankai"}`})),wo&&be.createElement(b.Fragment,null,be.createElement(na.Z,{name:"\u8D44\u6E90\u6C60\u8BBE\u7F6E",nameWidth:150},be.createElement(Or.default,{allowClear:!0,getPopupContainer:$e=>$e.parentNode,onClick:Xi,bordered:!1,placeholder:"\u8BF7\u9009\u62E9\u8D44\u6E90\u6C60\u8BBE\u7F6E",style:{minWidth:400,backgroundColor:"#f5f5f5",height:50,borderRadius:4,paddingTop:10},value:Xt==null?void 0:Xt.pool_id,onChange:$e=>tl("shixun_environment","pool_id",$e),showArrow:!0},Ws.map(($e,Xn)=>be.createElement(Di,{key:$e.poolId,value:$e.poolId},$e.poolName)))),be.createElement(na.Z,{name:"\u9009\u62E9\u8282\u70B9",nameWidth:150},be.createElement(Or.default,{getPopupContainer:$e=>$e.parentNode,onClick:Xi,mode:"multiple",bordered:!1,placeholder:"\u8BF7\u9009\u62E9\u8282\u70B9",style:{minWidth:400,backgroundColor:"#f5f5f5",height:50,borderRadius:4,paddingTop:10},value:Xt==null?void 0:Xt.node_name,onChange:$e=>tl("shixun_environment","node_name",$e),showArrow:!0,maxTagCount:5},(st=(un=Ws==null?void 0:Ws.find($e=>$e.poolId===(Xt==null?void 0:Xt.pool_id)))==null?void 0:un.nodeList)==null?void 0:st.map(($e,Xn)=>be.createElement(Di,{key:$e.nodeName,value:$e.nodeName},$e.nodeIp)))),be.createElement(na.Z,{required:!0,nameWidth:150,name:"\u955C\u50CF\u914D\u7F6E",align:"start",errorKey:"shixun_service_configs",errorValue:nr,errorName:"\u8BF7\u6DFB\u52A0\u955C\u50CF\u914D\u7F6E",contentStyle:{overflow:(dn=wa==null?void 0:wa.shixun_service_configs)!=null&&dn.length?"hidden":"initial"}},be.createElement("div",{className:pn.tabsBox},!((Ea=wa==null?void 0:wa.shixun_service_configs)!=null&&Ea.length)&&be.createElement(an.Z,{image:oo,imageStyle:{height:180,marginTop:67},description:""}),!!((Qa=wa==null?void 0:wa.shixun_service_configs)!=null&&Qa.length)&&be.createElement(Jn.default,{destroyInactiveTabPane:!0,moreIcon:be.createElement("span",{className:pn.more},"\u66F4\u591A ",be.createElement("i",{className:"iconfont icon-xiala1"}))},(ia=wa==null?void 0:wa.shixun_service_configs)==null?void 0:ia.map(($e,Xn)=>{var Nr,zo;const{cpu_limit:Ro,lower_cpu_limit:Ho,memory_limit:Zi,request_limit:Ji,resource_limit:ql,name:su,shixun_update_logs:Ei,single_card_gpu_resource:Fl,single_machine_gpu_count:du,mirror_repository:ii}=$e;let Vu=(ii==null?void 0:ii.gpu_allocation_method)=="single_card_multi_allocation"?(ii==null?void 0:ii.single_card_gpu_resource)*1024/Fl:(ii==null?void 0:ii.single_machine_gpu_count)/du;return be.createElement(Jn.default.TabPane,{className:"p20",tab:be.createElement("div",{title:su,className:pn.tabTitle},su),key:Xn},(Ei==null?void 0:Ei.user_name)&&be.createElement("div",{style:{margin:"-15px 0 15px 0"}},"\u6700\u8FD1\u4FEE\u6539\u4EBA\uFF1A ",Ei==null?void 0:Ei.user_name,"\uFF08",Ei==null?void 0:Ei.user_login,"\uFF09 \u4FEE\u6539\u65F6\u95F4\uFF1A",Ei!=null&&Ei.created_at?rr()(Ei==null?void 0:Ei.created_at).format("YYYY-MM-DD HH:mm:ss"):"--"),be.createElement(na.Z,{nameWidth:150,name:"\u8D44\u6E90\u914D\u7F6E",align:"center"},be.createElement(ye.Z,{align:"middle"},be.createElement(ye.Z,{align:"middle",className:"mr20",wrap:!1},be.createElement("div",{className:pn.serverConfig,onClick:()=>{Xi()||(Yl({index:Xn,cpu:Ro,memory:Zi}),oi(!0))}},be.createElement("div",null,be.createElement("span",null,Ro,"\u6838")," ",be.createElement("span",null,Zi,"GB")),be.createElement("i",{className:"iconfont icon-bianji21"}))),Xn==0&&be.createElement(ye.Z,{align:"middle",wrap:!1},be.createElement("div",{className:pn.viewRecommendConfig,onClick:()=>pl(!0)},"\u67E5\u770B\u63A8\u8350\u914D\u7F6E")))),($e==null?void 0:$e.mirror_repository)&&be.createElement(na.Z,{nameWidth:150,name:"GPU\u8D44\u6E90\u914D\u7F6E",align:"baseLine"},((ii==null?void 0:ii.gpu_allocation_method)=="single_machine_multi_card"||(ii==null?void 0:ii.gpu_allocation_method)=="multi_machine_multi_card")&&be.createElement(be.Fragment,null,be.createElement("div",{className:pn.serverConfig,style:{width:720,cursor:"default"}},be.createElement("div",null,"\u5F53\u524D\u5206\u914D\u65B9\u5F0F\uFF1A",(ii==null?void 0:ii.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 ",ii==null?void 0:ii.single_machine_gpu_count," \u5F20\uFF0C\u6BCF\u5F20\u663E\u5B58\u5927\u5C0F\u4E3A",(Nr=ii==null?void 0:ii.gpu_model)==null?void 0:Nr[0],"GB")),be.createElement("div",{className:pn.serverConfig,style:{width:720,marginTop:30,cursor:"default"}},be.createElement("div",null,"\u5355\u4E2A\u7528\u6237\u53EF\u4F7F\u7528\u7684\u663E\u5361\u6570\u91CF\u9650\u5236",be.createElement(qr.Z,{min:1,max:ii==null?void 0:ii.single_machine_gpu_count,defaultValue:1,value:du,size:"large",className:"ml10 mr10",onChange:qo=>{Kl(Xn,"single_machine_gpu_count",qo||1)}}),"\u5F20\uFF0C\u6700\u5927\u53EF\u5E76\u53D1\u7684\u7528\u6237\u6570 ",be.createElement("span",{style:{color:"#FA6400"}},Vu)," \u4EBA"))),(ii==null?void 0:ii.gpu_allocation_method)=="single_card_multi_allocation"&&be.createElement(be.Fragment,null,be.createElement("div",{className:pn.serverConfig,style:{cursor:"default"}},be.createElement("div",null,"\u5F53\u524D\u5206\u914D\u65B9\u5F0F\uFF1A\u5355\u5361\u591A\u5206\uFF0C\u53EF\u5206\u914DGPU\u8D44\u6E90\u4E3A",ii==null?void 0:ii.single_card_gpu_resource,"GB")),be.createElement("div",{className:pn.serverConfig,style:{width:"max-content",marginTop:30,cursor:"default"}},be.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",be.createElement(qr.Z,{min:1,max:(ii==null?void 0:ii.single_card_gpu_resource)*1024,defaultValue:1024,value:Fl,size:"large",className:"ml10 mr10",onChange:qo=>{Kl(Xn,"single_card_gpu_resource",qo||1)}}),"MB\uFF0C\u6700\u5927\u53EF\u5E76\u53D1\u7684\u7528\u6237\u6570 ",be.createElement("span",{style:{color:"#FA6400"}},Math.floor(Vu))," \u4EBA")))),be.createElement(na.Z,{nameWidth:150,name:"\u6587\u4EF6\u5927\u5C0F\u9650\u5236",align:"center"},be.createElement(ye.Z,{align:"middle"},be.createElement(ye.Z,{align:"middle",wrap:!1},be.createElement(ie.default,{onClick:Xi,style:{width:400},value:ql,maxLength:5,onChange:qo=>{const{value:nl}=qo.target,Zu=/^\d*(\.\d*)?$/;nl.match(Zu)&&Kl(Xn,"resource_limit",qo.target.value)},addonAfter:"M"}),be.createElement("span",{style:{marginLeft:10,color:"#999"}},"File size limit\u53C2\u6570\uFF0C\u8868\u793A\u5355\u4E2A\u6587\u4EF6\u4E0A\u4F20\u7684\u5927\u5C0F\u9650\u5236")))),be.createElement(na.Z,{nameWidth:150,name:"\u542F\u52A8\u8BBE\u7F6E",align:"start",required:$e==null?void 0:$e.open_start_command,errorKey:"start_command",errorValue:nr,errorName:"\u8BF7\u8F93\u5165\u542F\u52A8\u547D\u4EE4"},be.createElement("div",{className:"font14 mb5"},"\u7528\u6237\u540D",be.createElement("span",{className:"c-grey-999"},"\uFF08\u767B\u5F55\u5BB9\u5668\u65F6\u53EF\u4F7F\u7528\u7684\u7528\u6237\u540D\uFF09")),be.createElement(Or.default,{getPopupContainer:qo=>qo.parentNode,onClick:Xi,bordered:!1,fieldNames:{label:"name",value:"id"},options:(zo=Ma==null?void 0:Ma.mirror_repository)==null?void 0:zo.webssh_user_arr,value:($e==null?void 0:$e.webssh_user)||"root",onChange:qo=>Kl(Xn,"webssh_user",qo),style:{minWidth:400,backgroundColor:"#f5f5f5",height:50,borderRadius:4,paddingTop:10,marginBottom:20}}),be.createElement("div",{className:"font14 mb5"},"\u4E3B\u673A\u540D",be.createElement("span",{className:"c-grey-999"},"\uFF08\u767B\u5F55\u5BB9\u5668\u65F6\u53EF\u6307\u5B9A\u4E3B\u673A\u540D\uFF09")),be.createElement(ye.Z,{className:"mb20"},be.createElement(ie.default,{bordered:!1,onClick:Xi,value:$e==null?void 0:$e.webssh_host,maxLength:255,placeholder:"\u9009\u586B\uFF0C\u64CD\u4F5C\u7CFB\u7EDF\u5185\u90E8\u7684\u8BA1\u7B97\u673A\u540D",onChange:qo=>{Kl(Xn,"webssh_host",qo.target.value),qo.target.value?/^(?![0-9]+$)(?!.*--)[a-z0-9](?:[a-z0-9-]{0,60}[a-z0-9])$/.test(qo.target.value)?eo(!1):eo(!0):eo(!1)},style:{width:400,height:50,background:"#F5F5F5",borderRadius:4,marginTop:5,marginRight:10}}),be.createElement("div",{style:{marginTop:8,maxWidth:575},className:"c-grey-999"},"\u957F\u5EA6\u4E3A2~64\u4E2A\u5B57\u7B26\uFF0C\u53EA\u80FD\u5305\u542B\u5C0F\u5199\u5B57\u6BCD\u3001\u6570\u5B57\u3001\u8FDE\u5B57\u7B26 \u201C-\u201D\uFF0C\u5FC5\u987B\u4EE5\u5B57\u6BCD\u6216\u6570\u5B57\u5F00\u5934\u548C\u7ED3\u5C3E",be.createElement("br",null),"\u4E0D\u80FD\u8FDE\u7EED\u4F7F\u7528 \u201C-\u201D\uFF0C\u4E0D\u80FD\u4F7F\u7528\u7EAF\u6570\u5B57")),xa&&be.createElement("div",{style:{color:"#E53333",marginTop:"-15px",marginBottom:"5px"}},"\u8BF7\u8F93\u5165\u89C4\u8303\u7684\u4E3B\u673A\u540D"),be.createElement(St.default,{checked:$e==null?void 0:$e.open_start_command,onChange:qo=>Kl(Xn,"open_start_command",qo.target.checked),style:{marginTop:-4},className:"font14"},"\u542F\u52A8\u547D\u4EE4",be.createElement("span",{className:"c-grey-999"},"\uFF08\u542F\u52A8\u5BB9\u5668\u65F6\u8FD0\u884C\u7684\u547D\u4EE4\u6216\u811A\u672C\uFF0C\u586B\u5199\u5C06\u8986\u76D6\u5BB9\u5668\u9ED8\u8BA4\u7684\u542F\u52A8\u6307\u4EE4\u3002\uFF09")),($e==null?void 0:$e.open_start_command)&&be.createElement(Oe.ZP,{width:"90%",height:250,placeholder:"\u4F8B\u5982\uFF1Aecho helloworld > /data/workspace/01.txt",style:{border:"1px solid #ccc",background:"#dedede",marginTop:"20px"},value:$e==null?void 0:$e.start_command,language:"shell",theme:"vs-light",onChange:qo=>Kl(Xn,"start_command",qo)})),be.createElement(na.Z,{required:$e==null?void 0:$e.open_envs,nameWidth:150,name:"\u73AF\u5883\u53D8\u91CF",align:"start",errorKey:"envs",errorValue:nr,errorName:"\u8BF7\u8F93\u5165\u73AF\u5883\u53D8\u91CF"},be.createElement(St.default,{checked:$e==null?void 0:$e.open_envs,onChange:qo=>Kl(Xn,"open_envs",qo.target.checked),style:{marginTop:-4},className:"font14"},"\u73AF\u5883\u53D8\u91CF",be.createElement("span",{className:"c-grey-999"},"\uFF08\u4E3A\u5BB9\u5668\u6DFB\u52A0\u73AF\u5883\u53D8\u91CF\uFF09")),($e==null?void 0:$e.open_envs)&&be.createElement(Oe.ZP,{width:"90%",height:250,placeholder:"\u4F8B\u5982\uFF1AMY_VARIABLE=my_value",style:{border:"1px solid #ccc",background:"#dedede",marginTop:"20px"},language:"shell",theme:"vs-light",value:$e==null?void 0:$e.envs,onChange:qo=>Kl(Xn,"envs",qo)})),be.createElement(na.Z,{name:"\u8BBF\u95EE\u6A21\u5F0F",nameWidth:150},be.createElement(ye.Z,{align:"middle"},be.createElement(Yr.Z,{checked:$e==null?void 0:$e.privileged,onChange:qo=>Kl(Xn,"privileged",qo)}),be.createElement("span",{className:"ml10 c-grey-333 font14"},"\u7279\u6743\u6A21\u5F0F"),be.createElement("span",{className:"c-grey-999 font14"},"\uFF08\u8D4B\u4E88\u5BB9\u5668\u8BBF\u95EE\u5BBF\u4E3B\u673A\u5185\u6838\u7279\u6027\u548C\u8BBE\u5907\u7684\u80FD\u529B\uFF09"))),be.createElement(na.Z,{name:"\u6743\u9650\u63A7\u5236",nameWidth:150,align:"start"},be.createElement("div",{className:"font14"},"\u6DFB\u52A0\u6743\u9650",be.createElement("span",{className:"c-grey-999"},"\uFF08\u6DFB\u52A0\u591A\u4E2A\u6743\u9650\u7528\u82F1\u6587 , \u5206\u9694\uFF09")),be.createElement(ie.default,{onClick:Xi,value:$e==null?void 0:$e.add_cap,onChange:qo=>Kl(Xn,"add_cap",qo.target.value),bordered:!1,placeholder:"\u4F8B\u5982\uFF1ANET_ADMIN",style:{width:400,height:50,background:"#F5F5F5",borderRadius:4,marginTop:5}}),be.createElement("div",{className:"font14 mt20"},"\u79FB\u9664\u6743\u9650",be.createElement("span",{className:"c-grey-999"},"\uFF08\u79FB\u9664\u591A\u4E2A\u6743\u9650\u7528\u82F1\u6587 , \u5206\u9694\uFF09")),be.createElement(ie.default,{onClick:Xi,value:$e==null?void 0:$e.drop_cap,onChange:qo=>Kl(Xn,"drop_cap",qo.target.value),bordered:!1,placeholder:"\u4F8B\u5982\uFF1ASYS_PTRACE",style:{width:400,height:50,background:"#F5F5F5",borderRadius:4,marginTop:5}})))}))))))),(Xt==null?void 0:Xt.resource_type)===2&&be.createElement(b.Fragment,null,be.createElement(na.Z,{nameWidth:150},be.createElement(Or.default,{getPopupContainer:$e=>$e.parentNode,bordered:!1,onClick:Xi,className:"mr10",style:{width:460,backgroundColor:"#f5f5f5",height:50,borderRadius:4,paddingTop:10},showArrow:!0,value:Xt==null?void 0:Xt.private_cloud_id,onChange:$e=>tl("shixun_environment","private_cloud_id",$e)},la.map(($e,Xn)=>be.createElement(Di,{key:$e.id,value:$e.id},$e.name)))),be.createElement(na.Z,{name:"\u64CD\u4F5C\u7CFB\u7EDF",nameWidth:150,required:!0,nameWidth:150,errorKey:"system",errorValue:nr,errorName:"\u8BF7\u9009\u62E9\u64CD\u4F5C\u7CFB\u7EDF"},be.createElement("div",{className:pn.system},Id.map($e=>be.createElement("div",{onClick:()=>{Xt.operating_system!==$e.id&&tl("shixun_environment","operating_system",$e.id)},key:$e.id,className:(Xt==null?void 0:Xt.operating_system)===$e.id?pn.active:""},be.createElement("i",{className:$e.icon}),be.createElement("span",null,$e.name))))),be.createElement(na.Z,{required:!0,nameWidth:150,name:"\u5B9E\u4F8B\u542F\u52A8\u6A21\u7248",errorKey:"template",errorValue:nr,errorName:"\u8BF7\u9009\u62E9\u5B9E\u4F8B\u542F\u52A8\u6A21\u7248"},be.createElement(ye.Z,{align:"middle"},be.createElement(Or.default,{getPopupContainer:$e=>$e.parentNode,bordered:!1,className:"mr10",placeholder:"\u8BF7\u9009\u62E9\u5B9E\u4F8B\u542F\u52A8\u6A21\u7248",style:{width:460,backgroundColor:"#f5f5f5",height:50,borderRadius:4,paddingTop:10},onClick:Xi,ref:$a,showArrow:!0,dropdownRender:$e=>be.createElement("div",{className:pn.template},be.createElement("div",{className:pn.liWrap},qa.map(Xn=>be.createElement("div",{className:pn.li,key:Xn.id,onClick:()=>{$a.current.blur(),tl("shixun_environment","instance_startup_template_id",Xn.id)}},be.createElement("span",{title:Xn.name,style:{color:(Xt==null?void 0:Xt.instance_startup_template_id)===Xn.id?"#0152d9":"initial"}},Xn.name),!Xn.is_public&&be.createElement("b",{className:pn.tag},"\u79C1\u6709")))),be.createElement("div",{style:{padding:12}},!qa.length&&be.createElement(an.Z,{image:oo,imageStyle:{height:120,marginTop:20},description:"\u6682\u65E0\u6570\u636E"}),be.createElement("div",{style:{marginTop:qa!=null&&qa.length?0:20},className:"c-grey-999 font14"},"\u672A\u627E\u5230\u5408\u9002\u7684\u5B9E\u4F8B\u542F\u52A8\u6A21\u677F\uFF1F",be.createElement("span",{onClick:jd,className:"c-light-primary current"},"\u8054\u7CFB\u5E73\u53F0\u7BA1\u7406\u5458")))),options:qa==null?void 0:qa.map($e=>({label:$e.name,value:$e.id})),value:Xt==null?void 0:Xt.instance_startup_template_id}),!!gd&&be.createElement(Zn.Z,{value:gd,title:"\u6A21\u7248\u63CF\u8FF0"},be.createElement("span",{className:pn.explain},"\u6A21\u7248\u63CF\u8FF0")))),Gs(!1),(Xt==null?void 0:Xt.private_is_support_webssh)&&be.createElement(na.Z,{align:"start",nameWidth:150,name:"\u5F00\u542F\u65F6\u89E6\u53D1\u547D\u4EE4",tooltipTitle:be.createElement("div",null,"\u6BCF\u6B21\u6253\u5F00\u65B0\u7684\u7EC8\u7AEF\u7A97\u53E3\u65F6\uFF0C\u81EA\u52A8\u53D1\u9001\u5E76\u6267\u884C\u6307\u5B9A\u7684\u547D\u4EE4\u6216\u6587\u672C\u3002\u7528\u4E8E\u81EA\u52A8\u5316\u7EC8\u7AEF\u4EFB\u52A1\u6216\u521D\u59CB\u5316\u5DE5\u4F5C\u73AF\u5883")},be.createElement(pr,{showError:nr==="command_settings",value:Xt==null?void 0:Xt.command_settings,onChange:$e=>tl("shixun_environment","command_settings",$e),optionsLevelList:xu})),(Xt==null?void 0:Xt.operating_system)===1&&(Xt==null?void 0:Xt.private_is_support_vnc)&&(fd||Nd&&md===1)&&be.createElement(na.Z,{required:!0,nameWidth:150,name:"\u5B9E\u4F8B\u542F\u52A8\u65B9\u5F0F",errorKey:"instance_startup_type",errorValue:nr,errorName:"\u8BF7\u9009\u62E9\u5B9E\u4F8B\u542F\u52A8\u6A21\u7248"},be.createElement("div",{className:pn.resource},dd.map($e=>be.createElement("div",{key:$e.id,className:(Xt==null?void 0:Xt.instance_startup_type)===$e.id?pn.active:"",onClick:()=>tl("shixun_environment","instance_startup_type",$e.id)},$e.name)))),(0,ba.Ny)()&&md===1&&be.createElement(b.Fragment,null,be.createElement("div",{onClick:()=>xo(!kr),className:pn.grade},"\u9AD8\u7EA7\u8BBE\u7F6E",be.createElement("i",{className:`iconfont ${kr?"icon-shouqi4":"icon-a-xialazhankai"}`})),kr&&be.createElement(b.Fragment,null,be.createElement(na.Z,{required:!0,nameWidth:150,name:"\u8D44\u6E90\u914D\u7F6E",align:"start",errorKey:"shixun_service_configs",errorValue:nr,errorName:"\u8BF7\u6DFB\u52A0\u8D44\u6E90\u914D\u7F6E",contentStyle:{overflow:Va!=null&&Va.length?"hidden":"initial"}},be.createElement("div",{className:pn.tabsBox},!(Va!=null&&Va.length)&&be.createElement(an.Z,{image:oo,imageStyle:{height:180,marginTop:67},description:""}),!!(Va!=null&&Va.length)&&be.createElement(Jn.default,{destroyInactiveTabPane:!0,moreIcon:be.createElement("span",{className:pn.more},"\u66F4\u591A ",be.createElement("i",{className:"iconfont icon-xiala1"}))},Va==null?void 0:Va.map(($e,Xn)=>{const{cpu_limit:Nr,lower_cpu_limit:zo,memory_limit:Ro,request_limit:Ho,resource_limit:Zi,name:Ji}=$e;return be.createElement(Jn.default.TabPane,{className:"p20",tab:be.createElement("div",{title:Ji,className:pn.tabTitle},Ji),key:Xn},be.createElement(ye.Z,{align:"middle"},be.createElement(ye.Z,{align:"middle",className:"mr20",wrap:!1},be.createElement("div",{className:pn.serverConfig,onClick:()=>{Yl({index:Xn,cpu:Nr,memory:Ro}),oi(!0)}},be.createElement("div",null,be.createElement("span",null,Nr,"\u6838")," ",be.createElement("span",null,Ro,"GB")),be.createElement("i",{className:"iconfont icon-bianji21"}))),Xn==0&&be.createElement(ye.Z,{align:"middle",wrap:!1},be.createElement("div",{className:pn.viewRecommendConfig,onClick:()=>pl(!0)},"\u67E5\u770B\u63A8\u8350\u914D\u7F6E"))))})))),(0,ba.Ny)()&&(lr==null?void 0:lr.length)>0&&be.createElement(na.Z,{required:!0,nameWidth:150,name:"GPU\u52A0\u901F\u5668",align:"center"},be.createElement(Or.default,{disabled:!0,getPopupContainer:$e=>$e.parentNode,bordered:!1,className:"mr10",value:lr[0],style:{width:460,backgroundColor:"#f5f5f5",height:50,borderRadius:4,paddingTop:10},showArrow:!0},lr.map($e=>be.createElement(Or.default.Option,{key:$e,value:$e},$e)))),(0,ba.Ny)()&&(co==null?void 0:co.length)>0&&be.createElement(na.Z,{required:!0,nameWidth:150,name:"\u7F51\u7EDC\u6A21\u5F0F",align:"center",tooltipTitle:be.createElement("div",{className:"p10"},be.createElement("p",null,"NAT\u6A21\u5F0F\uFF1A\u865A\u62DF\u673A\u901A\u8FC7\u4E3B\u673A\u7684\u7F51\u7EDC\u8FDE\u63A5\u5171\u4EABIP\u5730\u5740\u3002\u865A\u62DF\u673A\u7684IP\u56FA\u5B9A\u4E3A10.0.2.2"),be.createElement("p",null,"passt\u6A21\u5F0F\uFF1A\u5141\u8BB8\u865A\u62DF\u673A\u76F4\u63A5\u8BBF\u95EE\u4E3B\u673A\u4E0A\u7684\u786C\u4EF6\u8BBE\u5907\u3002\u865A\u62DF\u673A\u7684IP\u4E3Apod\u7684IP"))},be.createElement(Or.default,{disabled:!0,getPopupContainer:$e=>$e.parentNode,bordered:!1,className:"mr10",value:(Ia=(Oa=co==null?void 0:co.filter($e=>$e.is_default))==null?void 0:Oa[0])==null?void 0:Ia.network_mode,onChange:$e=>{Rr($e)},style:{width:460,backgroundColor:"#f5f5f5",height:50,borderRadius:4,paddingTop:10},showArrow:!0},co==null?void 0:co.map($e=>be.createElement(Or.default.Option,{key:$e==null?void 0:$e.network_mode,value:$e==null?void 0:$e.network_mode},$e.name)))))))),!Ir.length&&be.createElement(an.Z,{image:oo,imageStyle:{height:180,marginTop:100},description:"\u8BF7\u6DFB\u52A0\u5B9E\u9A8C\u73AF\u5883"}))),be.createElement("div",{className:pn.btns},be.createElement(le.ZP,{onClick:Rd,style:{marginRight:40}},"\u53D6\u6D88"),be.createElement(le.ZP,{loading:pi,type:"primary",disabled:!(Ir!=null&&Ir.length),onClick:()=>{Kd()}},"\u4FDD\u5B58")),be.createElement(lo,{identifier:ga,shixun_environment_id:Ta,useId:wa==null?void 0:wa.id,visible:xr,onCancel:()=>Cr(!1),onOk:$e=>zd($e),tab_type:(Wr=cd[Number(Yn)])==null?void 0:Wr.type}),be.createElement(dr,{verifyModal:Xi,id:ga,environment:Ir,is_published:ea,dispatch:Ee,visible:Bi,onCancel:()=>Wi(!1),onOk:$e=>Gd($e)}),be.createElement(zr.Z,{visible:To,onOk:$e=>{let Xn=Xt==null?void 0:Xt.resource_type;Xn==1&&Ud($e),Xn==2&&Yd($e),oi(!1)},onCancel:()=>oi(!1),info:Ul}),be.createElement(uo.Z,{onOk:()=>{ku(Xt==null?void 0:Xt.id)},identifier:ga,visible:xl,onCancel:()=>pl(!1),info:null,isJupyter:!1}))};var bl=(0,Ie.connect)(({practiceSetting:ve,globalSetting:Ee,shixunsDetail:pe,user:at})=>({practiceSetting:ve,globalSetting:Ee,shixunsDetail:pe,user:at}))(di),Ii=re(87169),gl={footerWrap:"footerWrap___Qaahm"},al=Object.getOwnPropertySymbols,Il=Object.prototype.hasOwnProperty,rl=Object.prototype.propertyIsEnumerable,Pu=(ve,Ee)=>{var pe={};for(var at in ve)Il.call(ve,at)&&Ee.indexOf(at)<0&&(pe[at]=ve[at]);if(ve!=null&&al)for(var at of al(ve))Ee.indexOf(at)<0&&rl.call(ve,at)&&(pe[at]=ve[at]);return pe},$l=(ve,Ee,pe)=>new Promise((at,Qt)=>{var Ln=st=>{try{un(pe.next(st))}catch(dn){Qt(dn)}},wn=st=>{try{un(pe.throw(st))}catch(dn){Qt(dn)}},un=st=>st.done?at(st.value):Promise.resolve(st.value).then(Ln,wn);un((pe=pe.apply(ve,Ee)).next())});const Au=ie.default.TextArea,eu=ve=>{var Ee=ve,{shixunsDetail:pe,globalSetting:at,loading:Qt,dispatch:Ln,onFinish:wn=()=>{}}=Ee,un=Pu(Ee,["shixunsDetail","globalSetting","loading","dispatch","onFinish"]);const[st]=oe.default.useForm(),dn=Qa=>$l(void 0,null,function*(){var ia;const Oa=yield Ln({type:"shixunsDetail/getCustomScript",payload:{id:(ia=pe.actionTabs.params)==null?void 0:ia.id,compile:Qa.execute,excutive:Qa.compile}});Ea(),Oa&&wn(Oa==null?void 0:Oa.shixun_script)}),Ea=()=>{Ln({type:"shixunsDetail/setActionTabs",payload:{}})};return b.createElement(he.default,{centered:!0,title:"\u81EA\u5B9A\u4E49\u6A21\u677F",open:pe.actionTabs.key==="Settings-UseCustomScript",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",footer:null,onCancel:Ea},b.createElement(oe.default,{form:st,scrollToFirstError:!0,layout:"vertical",onFinish:dn},b.createElement(oe.default.Item,{name:"execute",label:"\u6267\u884C\u547D\u4EE4\uFF1A",rules:[{required:!0,message:"\u6267\u884C\u547D\u4EE4\u4E0D\u80FD\u4E3A\u7A7A"}]},b.createElement(Au,{rows:4})),b.createElement(oe.default.Item,{name:"compile",label:"\u7F16\u8BD1\u547D\u4EE4\uFF1A"},b.createElement(Au,{rows:4})),b.createElement("div",{className:gl.footerWrap},b.createElement(oe.default.Item,null,b.createElement(le.ZP,{className:"mr5",size:"middle",onClick:Ea},"\u53D6\u6D88"),b.createElement(le.ZP,{size:"middle",type:"primary",htmlType:"submit",loading:Qt.effects["shixunsDetail/getCustomScript"]},"\u4FDD\u5B58")))))};var $u=(0,Ie.connect)(({shixunsDetail:ve,loading:Ee,globalSetting:pe})=>({shixunsDetail:ve,globalSetting:pe,loading:Ee}))(eu),Si={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"},va=Object.defineProperty,Kr=Object.defineProperties,Jr=Object.getOwnPropertyDescriptors,Po=Object.getOwnPropertySymbols,Li=Object.prototype.hasOwnProperty,Hl=Object.prototype.propertyIsEnumerable,gi=(ve,Ee,pe)=>Ee in ve?va(ve,Ee,{enumerable:!0,configurable:!0,writable:!0,value:pe}):ve[Ee]=pe,gu=(ve,Ee)=>{for(var pe in Ee||(Ee={}))Li.call(Ee,pe)&&gi(ve,pe,Ee[pe]);if(Po)for(var pe of Po(Ee))Hl.call(Ee,pe)&&gi(ve,pe,Ee[pe]);return ve},mu=(ve,Ee)=>Kr(ve,Jr(Ee)),Xo=(ve,Ee,pe)=>new Promise((at,Qt)=>{var Ln=st=>{try{un(pe.next(st))}catch(dn){Qt(dn)}},wn=st=>{try{un(pe.throw(st))}catch(dn){Qt(dn)}},un=st=>st.done?at(st.value):Promise.resolve(st.value).then(Ln,wn);un((pe=pe.apply(ve,Ee)).next())});const Nl=Or.default.Option,Tl=({practiceSetting:ve,dispatch:Ee,shixunsDetail:pe,user:at})=>{var Qt,Ln;const[wn,un]=(0,b.useState)(null),[st,dn]=(0,b.useState)([]),[Ea,Qa]=(0,b.useState)(!0),[ia,Oa]=(0,b.useState)({}),[Ia,Wr]=(0,b.useState)([]),[ga,ea]=(0,b.useState)(),[Ir,Sr]=(0,b.useState)(),[Ta,ur]=(0,b.useState)([]),[la,Qn]=(0,b.useState)({}),qa=(0,b.useRef)(null),ka=(0,b.useRef)(!0),$a=(0,b.useRef)({activeId:null,selectId:null,serviceConfigList:null,evaluateScript:null,evaluationScript:null}),Ma=(0,b.useRef)(null),[Br,bo]=(0,b.useState)(!1),[Ua,Xt]=(0,b.useState)(!1),[wa,tr]=(0,b.useState)({}),{id:Va,is_published:co}=ve,{frequence_image:lr=[],environments:nr=[],choice_small_type:Ur=[],other_image:Yo=[]}=la,{name:No,description:wo,authorization:Ba,small_type:kr=[]}=ia;(0,b.useEffect)(()=>{wn!==null&&(ei(),qa.current.scrollTop=0)},[wn]),(0,b.useEffect)(()=>{Va&&Ar()},[Va]),(0,b.useEffect)(()=>{if(wn!==null)return xo(),()=>{clearTimeout(Ma.current)}},[wn,st,Ia,ga,Ir]);const xo=()=>{clearTimeout(Ma.current),Ma.current=setTimeout(()=>{!(0,fn.isEqual)($a.current.activeId,wn)||!(0,fn.isEqual)($a.current.selectId,st)||!(0,fn.isEqual)($a.current.serviceConfigList,Ia)||!(0,fn.isEqual)($a.current.evaluateScript,ga)||!(0,fn.isEqual)($a.current.evaluationScript,Ir)?Ee({type:"practiceSetting/setSideBarTabs",payload:{confirmLeave:!0}}):Ee({type:"practiceSetting/setSideBarTabs",payload:{confirmLeave:!1}})},500)},Ar=()=>Xo(void 0,null,function*(){var Yn,Bo,hi;Qa(!0);const Zo=yield(0,Ke.ZP)(`/api/shixuns/${Va}/edit_environment_info.json`,{method:"get"});Zo.status===0&&(Qn(gu({},Zo.data)),Qa(!1),(Yn=Zo==null?void 0:Zo.data)!=null&&Yn.id?($a.current.activeId=(Bo=Zo==null?void 0:Zo.data)==null?void 0:Bo.id,un((hi=Zo==null?void 0:Zo.data)==null?void 0:hi.id)):un(null))}),ei=()=>Xo(void 0,null,function*(){var Yn,Bo,hi,Zo;const or=yield(0,Ke.ZP)(`/api/shixuns/${Va}/edit_environment_info.json`,{method:"get",params:{mirror_repository_id:wn}});Oa(or.data),$a.current.selectId=(Yn=or.data)==null?void 0:Yn.choice_small_type,dn((Bo=or.data)==null?void 0:Bo.choice_small_type),$a.current.serviceConfigList=(hi=or.data)==null?void 0:hi.shixun_service_configs,Wr((Zo=or.data)==null?void 0:Zo.shixun_service_configs),$a.current.evaluateScript=or.data.evaluate_script,ea(or.data.evaluate_script),$a.current.evaluationScript=or.data.choice_standard_scripts,Sr(or.data.choice_standard_scripts),ur(or.data.standard_scripts)}),Vo=()=>{var Yn;const Bo=()=>{Ie.history.push(`/shixuns/${Va}/challenges`),Ee({type:"practiceSetting/setSideBarTabs",payload:{confirmLeave:!1}})};(Yn=ve==null?void 0:ve.sideBar)!=null&&Yn.confirmLeave?he.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()}}):Bo()},si=(Yn=!1)=>Xo(void 0,null,function*(){if((0,Wt.gy)(Ee,"\u4E0D\u80FD\u9009\u62E9/\u66F4\u6362\u5B9E\u9A8C\u73AF\u5883"))return;const Bo={sub_type:st,main_type:wn,shixun:{mirror_script_id:Ir},shixun_info:{evaluate_script:ga},shixun_service_configs:Ia.map(Zo=>({mirror_repository_id:Zo.mirror_repository_id,cpu_limit:Zo.cpu_limit,lower_cpu_limit:Zo.lower_cpu_limit,memory_limit:Zo.memory_limit,request_limit:Zo.request_limit,resource_limit:Zo.resource_limit}))};(yield(0,Ke.ZP)(`/api/shixuns/${Va}`,{method:"put",body:Bo})).status===0&&(Xe.ZP.success("\u7F16\u8F91\u6210\u529F"),$a.current={activeId:wn,selectId:st,serviceConfigList:Ia,evaluateScript:ga,evaluationScript:Ir},Ee({type:"practiceSetting/getCommonData",payload:{id:Va}}),Ee({type:"practiceSetting/setSideBarTabs",payload:{confirmLeave:!1}}))}),pi=kr.filter(Yn=>st.includes(Yn.id)),Hi=()=>{Vo()},xa=(Yn,Bo,hi)=>{Wr(Zo=>Zo.map((or,yr)=>yr===hi?mu(gu({},or),{[Bo]:Yn}):or))},eo=()=>{(0,Wt.gy)(Ee,"\u4E0D\u80FD\u9009\u62E9/\u66F4\u6362\u5B9E\u9A8C\u73AF\u5883")||Ee({type:"shixunsDetail/setActionTabs",payload:{key:"Settings-UseCustomScript",params:{id:Va}}})},Bi=Yn=>Xo(void 0,null,function*(){const Bo=yield Ee({type:"shixunsDetail/getScriptContent",payload:{id:Va,script_id:Yn}});Bo&&ea(Bo.content)}),Wi=Yn=>{he.default.confirm({centered:!0,title:"\u63D0\u793A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",content:b.createElement("div",{className:"tc font16"},"\u539F\u6709\u811A\u672C\u5C06\u88AB\u65B0\u7684\u811A\u672C\u8986\u76D6\uFF0C\u65E0\u6CD5\u64A4\u9500",b.createElement("br",null),"\u662F\u5426\u786E\u8BA4\u6267\u884C\u8986\u76D6\u64CD\u4F5C"),onOk:()=>Xo(void 0,null,function*(){yield Bi(Yn),he.default.info({centered:!0,title:"\u63D0\u793A",okText:"\u77E5\u9053\u5566",content:b.createElement("div",{className:"tc font16"},"\u8BC4\u6D4B\u811A\u672C\u751F\u6210\u6210\u529F\uFF01")})})})},xr=(Yn,Bo)=>{const hi=Ia[0]?[Ia[0]]:[];Bo.forEach(Zo=>{const or=Ia.find(yr=>yr.mirror_repository_id===Number(Zo.key));if(or)hi.push(or);else{const yr=kr.find(mo=>mo.id===Number(Zo.key));if(yr.mirror_name){const mo={cpu_limit:1,lower_cpu_limit:.1,memory_limit:1,mirror_repository_id:Number(Zo.key),name:yr.mirror_name,request_limit:10};hi.push(mo)}}}),Wr(hi),dn(Yn)},Cr=Yn=>{xa(String(Yn==null?void 0:Yn.cpu),"cpu_limit",Yn.index),xa(String(Yn==null?void 0:Yn.memory),"memory_limit",Yn.index),bo(!1)};return b.createElement("div",{className:Si.practice},b.createElement(Mo.Z,{loading:Ea,skin:"night",className:Si.left,dispatch:Ee,value:wn,data:nr,otherData:Yo,tags:lr,onChange:Yn=>un(Yn),onSearchWord:()=>{}}),b.createElement("div",{className:Si.right},b.createElement("header",null,b.createElement("div",{className:Si.title},"\u5B9E\u9A8C\u73AF\u5883:\xA0",wn===null?"\u2014 \u2014":No)),b.createElement("div",{className:Si.content,ref:qa},wn===null&&b.createElement(an.Z,{image:oo,description:"\u8BF7\u9009\u62E9\u5B9E\u9A8C\u73AF\u5883"}),wn!==null&&b.createElement("div",{className:Si.des},b.createElement("div",{className:Si.mainBody},b.createElement(De.Z,{value:wo})),b.createElement("div",{className:Si.title},"\u9644\u5E26\u73AF\u5883"),b.createElement("div",{className:Si.selectBox},b.createElement(Or.default,{onChange:(Yn,Bo)=>xr(Yn,Bo),getPopupContainer:Yn=>Yn.parentNode,mode:"multiple",bordered:!1,value:st,optionFilterProp:"children",placeholder:"\u8BF7\u9009\u62E9\u9644\u5E26\u73AF\u5883",style:{width:400},maxTagCount:6},kr.map((Yn,Bo)=>b.createElement(Nl,{key:Yn.id,value:Yn.id},Yn.type_name))),b.createElement("div",{className:Si.smallType},pi.map(Yn=>Yn.description?b.createElement("span",{key:Yn.id},Yn.description):null))),!((Qt=pe==null?void 0:pe.detail)!=null&&Qt.is_jupyter_lab)&&b.createElement(b.Fragment,null,b.createElement("div",{className:Si.title},"\u8BC4\u6D4B\u811A\u672C"),b.createElement("div",{className:Si.evaluating},b.createElement("div",{className:Si.evaluatingLabel},co&&b.createElement("div",{onClick:()=>{(0,Wt.gy)(Ee,"\u4E0D\u80FD\u9009\u62E9/\u66F4\u6362\u5B9E\u9A8C\u73AF\u5883")},className:Si.mask}),b.createElement(Or.default,{style:{width:400},bordered:!1,getPopupContainer:Yn=>Yn.parentNode,value:Ir,placeholder:"\u8BF7\u9009\u62E9\u8BC4\u6D4B\u811A\u672C",onChange:Yn=>{Wi(Yn),Sr(Yn)}},(Ta||[]).map((Yn,Bo)=>b.createElement(Nl,{value:parseInt(Yn.id),name:Yn.scptname,key:Bo},Yn.scptname))),b.createElement("span",{className:Si.evaluatingS1,onClick:eo},"\u4F7F\u7528\u81EA\u5B9A\u4E49\u811A\u672C"),b.createElement(Rt.Z,{overlayClassName:Si.popover,placement:"bottomLeft",content:b.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",b.createElement("br",null),"\u6570\u548C\u4EE5\u4E0B2\u4E2A\u6570\u7EC4\u5143\u7D20\uFF1A",b.createElement("br",null),"challengeProgramNames",b.createElement("br",null),"sourceClassNames",b.createElement("br",null),b.createElement("br",null),"\u793A\u4F8B\uFF1A\u67092\u4E2A\u5173\u5361\u7684\u5B9E\u8BAD",b.createElement("br",null),b.createElement("br",null),"\u5404\u5173\u5361\u7684\u5F85\u7F16\u8BD1\u6587\u4EF6\u4E3A\uFF1A",b.createElement("br",null),"src/step1/HelloWorld.java",b.createElement("br",null),"src/step2/Other.java",b.createElement("br",null),b.createElement("br",null),"\u5404\u5173\u5361\u7684\u7F16\u8BD1\u540E\u751F\u6210\u7684\u6267\u884C\u6587\u4EF6\u4E3A\uFF1A",b.createElement("br",null),"step1.HelloWorld",b.createElement("br",null),"step2.Other",b.createElement("br",null),b.createElement("br",null),"\u5219\u6570\u7EC4\u5143\u7D20\u66F4\u65B0\u5982\u4E0B\uFF1A",b.createElement("br",null),'ff challengeProgramNames=("src/step1/',b.createElement("br",null),'HelloWorld.java" "src/step2/Other.java")',b.createElement("br",null),'sourceClassNames=("step1.HelloWorld',b.createElement("br",null),'" "step2.Other")',b.createElement("br",null),b.createElement("br",null),"\u5176\u5B83\u53C2\u6570\u53EF\u6309\u5B9E\u9645\u9700\u6C42\u5B9A\u5236"),trigger:"click"},b.createElement("span",{style:{marginTop:"2px"},className:"ml10 current font14"},b.createElement(Ii.Z,null)))),b.createElement(Oe.ZP,{width:"90%",height:450,style:{border:"1px solid #ccc",background:"#f5f5f5",marginTop:"20px"},language:"shell",theme:"vs-light",value:ga,onChange:Yn=>{if(ka.current){ka.current=!1;return}ea(Yn),(0,Wt.gy)(Ee,"\u4E0D\u80FD\u9009\u62E9/\u66F4\u6362\u5B9E\u9A8C\u73AF\u5883")&&setTimeout(()=>{ka.current=!0,ea($a.current.evaluateScript)},200)}}))),((Ln=pe.detail)==null?void 0:Ln.identity)<3&&!!Ia.length&&b.createElement(b.Fragment,null,b.createElement("div",{className:Si.title},"\u8D44\u6E90\u914D\u7F6E"),b.createElement("div",{className:Si.serviceSettingWrap},Ia==null?void 0:Ia.map((Yn,Bo)=>b.createElement("div",{key:Bo,className:"mb30"},b.createElement("div",{className:"mb20"},b.createElement("span",{className:"font16"},Yn.name)),b.createElement("div",{style:{color:"#333",marginBottom:4}},"CPU\u548C\u5185\u5B58"),b.createElement(ye.Z,{align:"middle"},b.createElement(ye.Z,{align:"middle",wrap:!1},b.createElement("div",{className:Si.serverConfig,style:co?{color:"rgba(0, 0, 0, 0.25)",cursor:"not-allowed"}:{},onClick:()=>{co||(tr({index:Bo,cpu:Yn==null?void 0:Yn.cpu_limit,memory:Yn==null?void 0:Yn.memory_limit}),bo(!0))}},b.createElement("div",null,b.createElement("span",null,Yn==null?void 0:Yn.cpu_limit,"\u6838")," ",b.createElement("span",null,Yn==null?void 0:Yn.memory_limit,"GB")),b.createElement("i",{className:"iconfont icon-bianji21",style:co?{color:"rgba(0, 0, 0, 0.25)",cursor:"not-allowed"}:{}}))),b.createElement(ye.Z,{align:"middle",wrap:!1},b.createElement("div",{className:Si.viewRecommendConfig,onClick:()=>Xt(!0)},"\u67E5\u770B\u63A8\u8350\u914D\u7F6E"))),b.createElement("div",{className:Si.serviceBox},b.createElement("div",{className:Si.serviceSetLeft},"\u6587\u4EF6\u5927\u5C0F\u9650\u5236"),b.createElement(ie.default,{value:Yn.resource_limit,style:{width:400,height:50},disabled:co,maxLength:5,onChange:hi=>{const{value:Zo}=hi.target,or=/^\d*(\.\d*)?$/;Zo.match(or)&&xa(hi.target.value,"resource_limit",Bo)},addonAfter:"M"}),b.createElement("label",{className:Si.serviceSetTip},"File size limit\u53C2\u6570\uFF0C\u8868\u793A\u5355\u4E2A\u6587\u4EF6\u4E0A\u4F20\u7684\u5927\u5C0F\u9650\u5236")))))))),b.createElement("div",{className:Si.btns},b.createElement(le.ZP,{size:"middle",style:{marginRight:20},onClick:Hi},"\u53D6\u6D88"),b.createElement(le.ZP,{size:"middle",type:"primary",disabled:wn===null,onClick:()=>si()},"\u4FDD\u5B58"))),b.createElement(ho.Z,null),b.createElement($u,{onFinish:Yn=>ea(Yn)}),b.createElement(yn.Z,null),b.createElement(zr.Z,{visible:Br,onOk:Yn=>Cr(Yn),onCancel:()=>bo(!1),info:wa}),b.createElement(uo.Z,{identifier:Va,visible:Ua,onCancel:()=>Xt(!1),info:null,isJupyter:!0}))};var Rl=(0,Ie.connect)(({practiceSetting:ve,globalSetting:Ee,shixunsDetail:pe,user:at})=>({practiceSetting:ve,globalSetting:Ee,shixunsDetail:pe,user:at}))(Tl);const Yu=({shixunsDetail:ve})=>{var Ee,pe,at,Qt;const[Ln,wn]=(0,b.useState)(!0);return(0,b.useEffect)(()=>{var un;typeof((un=ve==null?void 0:ve.detail)==null?void 0:un.is_jupyter_lab)=="boolean"&&Ln&&wn(!1)},[(Ee=ve==null?void 0:ve.detail)==null?void 0:Ee.is_jupyter_lab,Ln]),console.log((pe=ve==null?void 0:ve.detail)==null?void 0:pe.is_jupyter_lab,Ln),b.createElement(cr.Z,{loading:Ln,active:!0},((at=ve==null?void 0:ve.detail)==null?void 0:at.is_jupyter_lab)===!1&&b.createElement(bl,null),((Qt=ve==null?void 0:ve.detail)==null?void 0:Qt.is_jupyter_lab)===!0&&b.createElement(Rl,null))};var gs=(0,Ie.connect)(({shixunsDetail:ve})=>({shixunsDetail:ve}))(Yu),es=re(1710),ms=re(56102),Fi={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"},Ni={wrap:"wrap___EmsVa",colorBlue:"colorBlue___XqtfP",repeatedName:"repeatedName___yMQsm"},fs=re(25992),Us=Object.defineProperty,Cu=Object.defineProperties,Fu=Object.getOwnPropertyDescriptors,vs=Object.getOwnPropertySymbols,ps=Object.prototype.hasOwnProperty,Ys=Object.prototype.propertyIsEnumerable,Hu=(ve,Ee,pe)=>Ee in ve?Us(ve,Ee,{enumerable:!0,configurable:!0,writable:!0,value:pe}):ve[Ee]=pe,tu=(ve,Ee)=>{for(var pe in Ee||(Ee={}))ps.call(Ee,pe)&&Hu(ve,pe,Ee[pe]);if(vs)for(var pe of vs(Ee))Ys.call(Ee,pe)&&Hu(ve,pe,Ee[pe]);return ve},Mu=(ve,Ee)=>Cu(ve,Fu(Ee)),Os=(ve,Ee,pe)=>new Promise((at,Qt)=>{var Ln=st=>{try{un(pe.next(st))}catch(dn){Qt(dn)}},wn=st=>{try{un(pe.throw(st))}catch(dn){Qt(dn)}},un=st=>st.done?at(st.value):Promise.resolve(st.value).then(Ln,wn);un((pe=pe.apply(ve,Ee)).next())});const{Dragger:Hs}=Re.default;var _s=({dispatch:ve,id:Ee,onClose:pe,onOK:at,visible:Qt,wrapClassName:Ln,local:wn,containerId:un,rootIdentifier:st})=>{var dn;const[Ea,Qa]=(0,b.useState)({}),[ia,Oa]=(0,b.useState)([]),[Ia,Wr]=(0,b.useState)([]),[ga,ea]=(0,b.useState)(0),[Ir,Sr]=(0,b.useState)(!1),[Ta,ur]=(0,b.useState)(!1),[la]=oe.default.useForm(),[Qn,qa]=(0,b.useState)([]),ka=(0,b.useRef)([]);(0,b.useEffect)(()=>{Qt&&(la.resetFields(),qa([]),Wr([]),Oa([]),ea(0),ur(!1),Sr(!1))},[Qt]);const $a=Ba=>{var kr,xo,Ar;if(Ba.file.status==="done"||Ba.file.status==="uploading"){if(qa(Ba.fileList),!Ba.file.response)return;if((kr=Ba.file.response)!=null&&kr.id){Xe.ZP.success("\u4E0A\u4F20\u6210\u529F\uFF01");return}qa(Qn.filter(ei=>ei.uid!==Ba.file.uid)),(xo=Ba.file.response)!=null&&xo.message&&Xe.ZP.info((Ar=Ba.file.response)==null?void 0:Ar.message)}},Ma=Ba=>Os(void 0,null,function*(){var kr;if(!ga){const Ar=Qn.filter(ei=>ei.uid!==Ba.uid);qa(Ar),ka.current=[...Ar],Oa(ia.filter(ei=>ei!==Ba.name)),Xe.ZP.info("\u5220\u9664\u6210\u529F"),Ar.length||(la.setFieldsValue({file:void 0}),la.validateFields());return}if(!Ba.response){Xe.ZP.info("\u8FD8\u672A\u4E0A\u4F20\u5B8C\u6210\uFF0C\u65E0\u6CD5\u8FDB\u884C\u5220\u9664\u64CD\u4F5C\uFF01");return}(yield(0,Ke.ZP)(`/api/shixuns/${Ee}/destroy_data_sets.json`,{method:"Delete",body:{id:[(kr=Ba==null?void 0:Ba.response)==null?void 0:kr.id]}})).status===0&&(qa(Qn.filter(Ar=>Ar.uid!==Ba.uid)),Xe.ZP.info("\u5220\u9664\u6210\u529F"))}),Br=Ba=>{if(Qn!=null&&Qn.some(xo=>xo.name===Ba.name))return Xe.ZP.info(`${Ba.name}\u6587\u4EF6\u5DF2\u5B58\u5728`),!1;const kr={name:Ba.name,uid:Ba.uid,file:Ba,percent:0};return Qn.push(kr),ka.current=[...Qn],qa([...Qn]),!1},bo={height:300,multiple:!0,disabled:ga>0,withCredentials:!0,fileList:Qn,action:`${vn.Z.API_SERVER}/api/attachments.json`,onChange:$a,onRemove:Ma,beforeUpload:Br},Ua=(Ba,kr,xo,Ar,ei)=>{const Vo=new FormData;Object.keys(Ba).forEach(pi=>{Vo.append(pi,Ba[pi])});const si=new window.XMLHttpRequest;return si.withCredentials=!0,si.addEventListener("load",function(pi){var Hi;xo(JSON.parse((Hi=pi==null?void 0:pi.target)==null?void 0:Hi.response))},!1),si.addEventListener("error",function(pi){ei&&ei(pi)},!1),si.upload.onprogress=pi=>{Ar&&Ar(pi)},si.open("POST",kr),si.send(Vo),si},Xt=(Ba,kr)=>{if(Ba.lengthComputable){const xo=Math.floor(Ba.loaded/Ba.total*100),Ar=Mu(tu({},kr),{percent:xo,status:xo===100?"done":"uploading"});console.log(ka.current,333),ka.current=ka.current.map(ei=>ei.uid===kr.uid?Ar:ei),qa(ka.current)}},wa=(Ba,kr)=>{const xo=Mu(tu({},kr),{status:"error"});Xe.ZP.warning("\u4E0A\u4F20\u5931\u8D25\uFF0C\u8BF7\u91CD\u65B0\u5C1D\u8BD5"),ka.current=ka.current.map(Ar=>Ar.uid===kr.uid?xo:Ar),ka.current.every(Ar=>Ar.status==="done"||Ar.status==="error")&&(ur(!1),ea(2)),qa(ka.current)},tr=(Ba,kr)=>{let xo=Mu(tu({},kr),{status:"done"});if(Ba.status===0||(xo=Mu(tu({},kr),{status:"error"}),Xe.ZP.error("\u4E0A\u4F20\u5931\u8D25!")),ka.current=ka.current.map(Ar=>Ar.uid===kr.uid?xo:Ar),ka.current.every(Ar=>Ar.status==="done")){Xe.ZP.success("\u4E0A\u4F20\u5B8C\u6210!"),Ur(!0);return}ka.current.every(Ar=>Ar.status==="done"||Ar.status==="error")&&(ur(!1),ea(2)),qa(ka.current)},Va=()=>{let Ba=!0;return window.navigator.onLine==!0?Ba=!0:Ba=!1,Ba},co=Ba=>Os(void 0,null,function*(){if(ur(!0),ga===3){ea(2);return}if(ga===2||ga===1){lr();return}const{commitMessage:kr="",fileOss:xo=[]}=Ba||{},ei=(wn?Qn:xo).map(si=>si.name);if(ei.filter(si=>si.indexOf("\u3001")!=-1||si.indexOf(" ")!=-1).length>0){Xe.ZP.info("\u6570\u636E\u96C6\u540D\u79F0\u7981\u6B62\u6709\u7A7A\u683C\u4E0E\u3001"),ur(!1);return}const Vo=yield(0,Ke.ZP)(`/api/shixuns/${Ee}/check_data_sets`,{method:"post",body:{files_name:ei}});if(Vo.status===-3){Oa(Vo==null?void 0:Vo.exist_files),ur(!1);return}if(JSON.stringify(Vo)==="{}"){ur(!1),Xe.ZP.error("\u7F51\u7EDC\u5DF2\u65AD\u5F00,\u8BF7\u7A0D\u540E\u91CD\u8BD5!");return}Vo.status===0&&(Qn.forEach(si=>{const pi=Ua({file:si.file,description:kr},`${vn.Z.API_SERVER}/api/shixuns/${Ee}/upload_data_sets.json`,Hi=>tr(Hi,si),Hi=>Xt(Hi,si),Hi=>wa(Hi,si));Ia.push(pi)}),ea(1))}),lr=()=>{const{commitMessage:Ba=""}=tu({},la.getFieldsValue())||{},kr=ka.current.filter(Ar=>Ar.status==="error"),xo=ka.current.map(Ar=>Mu(tu({},Ar),{status:Ar.status==="error"?"uploading":Ar.status}));qa(xo),kr.forEach(Ar=>{const ei=Ua({file:Ar.file,description:Ba},`${vn.Z.API_SERVER}/api/shixuns/${Ee}/upload_data_sets.json`,Vo=>tr(Vo,Ar),Vo=>Xt(Vo,Ar),Vo=>wa(Vo,Ar));Ia.push(ei)})},nr=Ba=>{var kr,xo;if(console.log(Ba,"changedValues"),"fileOss"in Ba){if(Ba!=null&&Ba.fileOss.every(Ar=>Ar.status==="done")&&((kr=Ba==null?void 0:Ba.fileOss)!=null&&kr.length)){Xe.ZP.success("\u4E0A\u4F20\u5B8C\u6210!"),Ur(!0);return}if(Ba!=null&&Ba.fileOss.every(Ar=>Ar.status==="done"||Ar.status==="error")&&((xo=Ba==null?void 0:Ba.fileOss)!=null&&xo.length)){ea(3),ur(!1);return}Oa(ia.filter(Ar=>{var ei;return(ei=Ba==null?void 0:Ba.fileOss)==null?void 0:ei.some(Vo=>Vo.name===Ar)}))}Qa(tu({},la.getFieldsValue()))},Ur=Ba=>{Ba||(Sr(!0),Ia.forEach(kr=>{kr.abort()})),at(),pe()},Yo=()=>{const{fileOss:Ba=[]}=tu({},la.getFieldsValue())||{},kr=Qn==null?void 0:Qn.every(Ar=>Ar.status==="done"),xo=Ba==null?void 0:Ba.every(Ar=>Ar.status==="done");if(!kr||!xo){he.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:()=>{Ur()}});return}Ur()},No=()=>b.createElement(b.Fragment,null,b.createElement("div",null,b.createElement("i",{className:`iconfont icon-shangchuan font50 ${Ni.colorBlue}`})),b.createElement("div",{className:"font14 mt30"},"\u62D6\u62FD\u6587\u4EF6\u6216",b.createElement("span",{className:`${Ni.colorBlue} ml5`},"\u70B9\u51FB\u6B64\u5904\u4E0A\u4F20"))),wo=Ba=>{console.log(Ba,444)};return b.createElement(he.default,{open:Qt,onOk:()=>{(0,Te.L9)(["\u5B9E\u8DF5\u9879\u76EE","\u8BBE\u7F6E","\u6570\u636E\u96C6","\u4E0A\u4F20\u6587\u4EF6"]),la.submit()},centered:!0,okText:ga===0?"\u786E\u5B9A":ga===1?"\u4E0A\u4F20\u4E2D":"\u91CD\u65B0\u4E0A\u4F20",okButtonProps:{loading:Ta},onCancel:Yo,width:"1000px",title:"\u4E0A\u4F20\u6587\u4EF6"},b.createElement("div",{className:Ni.wrap},b.createElement(oe.default,{className:"mt10",form:la,scrollToFirstError:!0,layout:"vertical",onFinish:co,onValuesChange:nr},wn?b.createElement(oe.default.Item,{label:b.createElement("div",null,"\u9009\u62E9\u6587\u4EF6 ",b.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"}]},b.createElement(Hs,tu({},bo)," ",No())):b.createElement(oe.default.Item,{label:b.createElement("div",null,"\u9009\u62E9\u6587\u4EF6 ",b.createElement("span",{className:"c-light-black"},"(\u5355\u4E2A\u6587\u4EF6\u4E0D\u8D85\u8FC7100GB)")),name:"fileOss",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u6587\u4EF6"}]},b.createElement(fs.ZP,{identifier:st,cancelUpload:Ir,container_type:"Shixun",container_id:un,uploading:ga<3?ga:0,disabled:ga>0,height:300,maxSize:100*1024*1024*1024,description:Ea.commitMessage||"",text:No(),onComplete:wo,realFileName:!0})),!!ia.length&&b.createElement("span",{className:Ni.repeatedName},ia.join("\u3001"),"\u5DF2\u5B58\u5728,\u8BF7\u5220\u9664\u540E\u518D\u4E0A\u4F20"),b.createElement(oe.default.Item,{name:"commitMessage",label:"\u5907\u6CE8:",rules:[{whitespace:!0,message:"\u8BF7\u52FF\u8F93\u5165\u7A7A\u683C"}]},b.createElement(ie.default,{bordered:!1,disabled:ga>0,maxLength:100,suffix:`${((dn=Ea.commitMessage)==null?void 0:dn.length)||0}/100`,placeholder:"\u8BF7\u586B\u5199\u5907\u6CE8\u4FE1\u606F"})))))},ts=re(854),hs=re(51673),Xs=re(97e3),Es=Object.defineProperty,_u=Object.defineProperties,ns=Object.getOwnPropertyDescriptors,Iu=Object.getOwnPropertySymbols,Ss=Object.prototype.hasOwnProperty,Ps=Object.prototype.propertyIsEnumerable,Js=(ve,Ee,pe)=>Ee in ve?Es(ve,Ee,{enumerable:!0,configurable:!0,writable:!0,value:pe}):ve[Ee]=pe,Wl=(ve,Ee)=>{for(var pe in Ee||(Ee={}))Ss.call(Ee,pe)&&Js(ve,pe,Ee[pe]);if(Iu)for(var pe of Iu(Ee))Ps.call(Ee,pe)&&Js(ve,pe,Ee[pe]);return ve},nu=(ve,Ee)=>_u(ve,ns(Ee)),Xu=(ve,Ee)=>{var pe={};for(var at in ve)Ss.call(ve,at)&&Ee.indexOf(at)<0&&(pe[at]=ve[at]);if(ve!=null&&Iu)for(var at of Iu(ve))Ee.indexOf(at)<0&&Ps.call(ve,at)&&(pe[at]=ve[at]);return pe},yu=(ve,Ee,pe)=>new Promise((at,Qt)=>{var Ln=st=>{try{un(pe.next(st))}catch(dn){Qt(dn)}},wn=st=>{try{un(pe.throw(st))}catch(dn){Qt(dn)}},un=st=>st.done?at(st.value):Promise.resolve(st.value).then(Ln,wn);un((pe=pe.apply(ve,Ee)).next())});const{Fragment:ud}=b,{TabPane:Od}=Jn.default,Qs=ve=>{var Ee=ve,{globalSetting:pe,dispatch:at,practiceSetting:Qt,shixunsDetail:Ln,user:wn}=Ee,un=Xu(Ee,["globalSetting","dispatch","practiceSetting","shixunsDetail","user"]),st,dn,Ea,Qa,ia,Oa;const{id:Ia}=Qt,[Wr,ga]=(0,b.useState)([]),[ea,Ir]=(0,b.useState)({}),[Sr,Ta]=(0,b.useState)([]),[ur,la]=(0,b.useState)(!1),[Qn,qa]=(0,b.useState)(!0),[ka,$a]=(0,b.useState)(!1),[Ma,Br]=(0,b.useState)(!1),[bo,Ua]=(0,b.useState)(!1),[Xt,wa]=(0,b.useState)(!1),[tr,Va]=(0,b.useState)("all"),[co,lr]=(0,b.useState)([]),[nr,Ur]=(0,b.useState)([]),[Yo,No]=(0,b.useState)(!1),[wo,Ba]=(0,b.useState)({}),[kr,xo]=(0,b.useState)(!1),[Ar,ei]=(0,b.useState)([]),[Vo,si]=(0,b.useState)({page:1,limit:10,total:0}),[pi,Hi]=(0,b.useState)({page:1,limit:10,search:"",order:"mine"});(0,b.useEffect)(()=>{Ia&&eo()},[Ia]);const xa=or=>{const yr=nu(Wl({},Vo),{page:or});Ur([]),si(yr),eo(yr)},eo=or=>yu(void 0,null,function*(){const mo=or||{page:1,limit:10,total:0};la(!0);const xi=yield at({type:"shixunsDetail/getSetData",payload:nu(Wl({},mo),{id:Ia})});xi!=null&&xi.data_sets&&(la(!1),ga([...xi.data_sets]),si(nu(Wl({},mo),{total:xi==null?void 0:xi.data_sets_count})),qa(!1),Ir(Wl({},xi)))}),Bi=()=>b.createElement("div",{className:Fi.empty},b.createElement("img",{src:ts.x7,width:"258"}),b.createElement("span",{className:"c-grey-c"},"\u6682\u65E0\u6570\u636E\u96C6\u6587\u4EF6~")),xr={selectedRowKeys:nr,columnWidth:70,onChange:or=>{console.log("selectedRowKeys changed: ",or),Ur(or)}},Cr=or=>{(0,Te.L9)(["\u5B9E\u8DF5\u9879\u76EE","\u8BBE\u7F6E","\u6570\u636E\u96C6","\u5220\u9664"]);const yr=or?[or]:nr;he.default.confirm({centered:!0,title:"\u786E\u5B9A\u8981\u5220\u9664\u6587\u4EF6\u5417\uFF1F",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>yu(void 0,null,function*(){if((yield(0,Ke.ZP)(`/api/shixuns/${Ia}/destroy_data_sets.json`,{method:"Delete",body:{id:yr}})).status===0){const xi=yr.length===Wr.length&&Vo.page>1?Vo.page-1:Vo.page;Xe.ZP.success("\u5220\u9664\u6210\u529F"),eo(nu(Wl({},Vo),{page:xi})),Ur([])}})})},Yn=()=>yu(void 0,null,function*(){const{title:or}=wo;let yr=null;if(console.log(or,"title"),or===""){yr="\u6587\u4EF6\u540D\u4E0D\u80FD\u4E3A\u7A7A",Ba(nu(Wl({},wo),{errorDes:yr}));return}if(or.includes(" ")){yr="\u6587\u4EF6\u540D\u4E0D\u80FD\u6709\u7A7A\u683C",Ba(nu(Wl({},wo),{errorDes:yr}));return}const mo=Wr.find(po=>po.id===(wo==null?void 0:wo.id)).title;if(or===mo.substring(0,mo.lastIndexOf("."))||or===mo){yr="\u6587\u4EF6\u540D\u4E0D\u80FD\u91CD\u540D",Ba(nu(Wl({},wo),{errorDes:yr}));return}const xi=mo.includes(".")?mo.substring(mo.lastIndexOf("."),mo.length):"";(yield(0,Ke.ZP)(`/api/shixuns/${Ia}/rename_data_sets.json`,{method:"post",body:{id:wo==null?void 0:wo.id,new_file_name:or+xi}})).status===0&&(Xe.ZP.success("\u91CD\u547D\u540D\u6210\u529F"),eo(Vo),$a(!1),Ba({}))}),Bo=()=>{const{download_url:or}=wo;hi(or),Xe.ZP.success("\u590D\u5236\u6210\u529F"),Br(!1),Ba({})},hi=or=>{const yr=or,mo=document.createElement("input");mo.value=yr,document.body.appendChild(mo),mo.select(),document.execCommand("Copy"),mo.style.display="none"},Zo=[{title:"\u6587\u4EF6",dataIndex:"title",key:"title",align:"left",ellipsis:!0,render:or=>b.createElement(ha.Z,{title:or},b.createElement("span",null,or))},{title:"\u6570\u636E\u96C6\u6765\u6E90",dataIndex:"data_set_title",key:"data_set_title",align:"left",ellipsis:!0,render:(or,yr)=>yr!=null&&yr.data_set_id?b.createElement(ha.Z,{title:or},b.createElement("span",{style:{color:"#0152d9",cursor:"pointer"},onClick:()=>{(0,Te.xg)(`/dataset/${yr==null?void 0:yr.data_set_id}/detail?tabId=public`)}},or)):"--"},{title:"\u5907\u6CE8",dataIndex:"description",key:"description",align:"left",ellipsis:!0,render:or=>b.createElement(ha.Z,{title:or},b.createElement("span",null,or||"--"))},{title:"\u521B\u5EFA\u65F6\u95F4",dataIndex:"created_on",key:"created_on",align:"left",width:180,render:(or,yr)=>rr()(yr.created_on).format("YYYY-MM-DD HH:mm")},{title:"\u6587\u4EF6\u8DEF\u5F84",dataIndex:"file_path",key:"file_path",align:"left",render:(or,yr)=>b.createElement("div",{className:Fi.path},b.createElement(ha.Z,{title:or},b.createElement("span",{className:Fi.text},or)),b.createElement(ms.CopyToClipboard,{text:or,onCopy:()=>Xe.ZP.success("\u590D\u5236\u6210\u529F")},b.createElement(ha.Z,{title:"\u590D\u5236"},b.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:(or,yr)=>b.createElement("div",{className:Fi.actionsBtns},b.createElement(ha.Z,{title:"\u91CD\u547D\u540D"},b.createElement("span",{className:"iconfont icon-zhongmingming",onClick:()=>{var mo;Ba((0,fn.clone)(nu(Wl({},yr),{title:yr!=null&&yr.title.includes(".")?(mo=yr==null?void 0:yr.title)==null?void 0:mo.substring(0,yr.title.lastIndexOf(".")):yr==null?void 0:yr.title}))),$a(!0),(0,Te.L9)(["\u5B9E\u8DF5\u9879\u76EE","\u8BBE\u7F6E","\u6570\u636E\u96C6","\u91CD\u547D\u540D"])}})),b.createElement(ha.Z,{title:"\u5206\u4EAB"},b.createElement("span",{className:"iconfont icon-fenxiang",onClick:()=>{(0,Te.L9)(["\u5B9E\u8DF5\u9879\u76EE","\u8BBE\u7F6E","\u6570\u636E\u96C6","\u5206\u4EAB"]),Ba((0,fn.clone)(yr)),Br(!0)}})),b.createElement(ha.Z,{title:"\u4E0B\u8F7D"},b.createElement("span",{className:"iconfont icon-xiazai3",onClick:()=>{(0,Te.L9)(["\u5B9E\u8DF5\u9879\u76EE","\u8BBE\u7F6E","\u6570\u636E\u96C6","\u4E0B\u8F7D"]),(0,Te.Nd)(yr.title,yr==null?void 0:yr.download_url)}})),b.createElement(ha.Z,{title:"\u540C\u6B65\u5230\u4E2A\u4EBA\u6570\u636E\u96C6\u4E2D"},b.createElement("span",{className:"iconfont icon-tongbushuju",onClick:()=>{(0,Te.L9)(["\u5B9E\u8DF5\u9879\u76EE","\u8BBE\u7F6E","\u6570\u636E\u96C6","\u540C\u6B65"]),wa(!0),ei([yr]),lr([yr.id])}})),b.createElement(ha.Z,{title:"\u5220\u9664"},b.createElement("span",{className:"iconfont icon-shanchu8",onClick:()=>{(0,Te.L9)(["\u5B9E\u8DF5\u9879\u76EE","\u8BBE\u7F6E","\u6570\u636E\u96C6","\u5220\u9664"]),Cr(yr.id)}})))}];return b.createElement("div",{className:Fi.dataset},b.createElement("div",{className:Fi.header},b.createElement("div",{className:Fi.title},"\u6570\u636E\u96C6(",Vo.total,")"),b.createElement("div",{className:Fi.dataPath},b.createElement("span",{className:Fi.pathTitle},"\u6570\u636E\u96C6\u8DEF\u5F84:"),b.createElement("input",{value:ea==null?void 0:ea.folder_name,disabled:!0}),b.createElement(ms.CopyToClipboard,{text:ea==null?void 0:ea.folder_name,onCopy:()=>Xe.ZP.success("\u590D\u5236\u6210\u529F")},b.createElement(ha.Z,{placement:"topLeft",title:"\u70B9\u51FB\u590D\u5236\u6570\u636E\u96C6\u8DEF\u5F84"},b.createElement("i",{className:"iconfont icon-fuzhi2 current ml5 mr40"})))),b.createElement("div",{className:Fi.btns},b.createElement(le.ZP,{type:"primary",ghost:!0,onClick:()=>Cr(),disabled:!nr.length,style:{width:"60px"}},"\u5220\u9664"),b.createElement(le.ZP,{type:"primary",className:"ml10",style:{width:"60px"},ghost:!0,onClick:()=>{wa(!0),lr(nr),ei(Wr.filter(or=>nr.includes(or.id)))},disabled:!nr.length},"\u540C\u6B65"),b.createElement(Ha.Z,{className:"ml10",disabled:((st=wn==null?void 0:wn.userInfo)==null?void 0:st.user_status)===2,dropdownRender:()=>b.createElement(Xa.default,null,b.createElement(Xa.default.Item,{key:1,onClick:()=>{No(!0)}},"\u4E0A\u4F20\u6570\u636E\u96C6"),b.createElement(Xa.default.Item,{key:2,onClick:()=>{Ua(!0),Va("all")}},"\u9009\u62E9\u6570\u636E\u96C6"))},b.createElement("span",{className:Fi.selectBtn},b.createElement("span",null,"\u589E\u52A0\u6570\u636E\u96C6"))))),b.createElement("div",{className:Fi.content},b.createElement(cr.Z,{loading:Qn,active:!0,paragraph:{rows:5}},Vo.total?b.createElement(es.default,{rowSelection:xr,className:Fi.customTable,dataSource:Wr,bordered:!1,rowKey:or=>or.id,rowClassName:Fi.row,columns:Zo,loading:ur,pagination:{pageSize:Vo.limit,total:Vo.total,current:Vo.page,onChange:xa,showQuickJumper:!0,hideOnSinglePage:!0,position:["bottomCenter"]}}):Bi())),b.createElement(_s,{rootIdentifier:(dn=Ln==null?void 0:Ln.detail)==null?void 0:dn.root_identifier,wrapClassName:Fi.uploadFileModal,id:Ia,containerId:(Ea=Ln==null?void 0:Ln.detail)==null?void 0:Ea.id,local:(Qa=pe==null?void 0:pe.setting)==null?void 0:Qa.is_local,dispatch:at,visible:Yo,onClose:()=>No(!1),onOK:eo}),b.createElement(he.default,{title:"\u91CD\u547D\u540D",open:ka,onOk:Yn,centered:!0,wrapClassName:Fi.renameModal,onCancel:()=>{$a(!1),Ba({})},width:"1000px"},b.createElement("div",null,b.createElement("div",{className:Fi.fileName},b.createElement("sup",null,"*"),"\u6587\u4EF6\u540D\xA0:"),b.createElement(ie.default,{value:wo==null?void 0:wo.title,placeholder:"\u8BF7\u8F93\u5165\u6587\u4EF6\u540D\u5B57",bordered:!1,onChange:or=>{Ba(nu(Wl({},wo),{title:or.target.value,errorDes:null}))},maxLength:60,suffix:`${((ia=wo==null?void 0:wo.title)==null?void 0:ia.length)||0}/60`}),(wo==null?void 0:wo.errorDes)&&b.createElement("div",{className:Fi.errorDes},wo==null?void 0:wo.errorDes))),b.createElement(he.default,{title:"\u5206\u4EAB\u4E0B\u8F7D\u94FE\u63A5",open:Ma,onOk:Bo,centered:!0,wrapClassName:Fi.shareModal,onCancel:()=>{Br(!1),Ba({})},width:"1000px",okText:"\u590D\u5236\u94FE\u63A5"},b.createElement("div",null,b.createElement("div",{className:Fi.fileName},"\u53D1\u9001\u94FE\u63A5\uFF0C\u522B\u4EBA\u53EF\u4EE5\u901A\u8FC7\u94FE\u63A5\u4E0B\u8F7D\u6587\u4EF6",b.createElement("span",null,"(\u6709\u6548\u671F\u4E3A3\u5929)")),b.createElement(ie.default,{bordered:!1,addonBefore:"\u94FE\u63A5",value:wo==null?void 0:wo.download_url}))),b.createElement(hs.Z,{setVisible:Ua,visible:bo,recordId:co,type:tr,updateData:eo,identifier:(Oa=Ln.detail)==null?void 0:Oa.identifier}),b.createElement(he.default,{title:"\u540C\u6B65\u5230\u4E2A\u4EBA\u6570\u636E\u96C6",open:Xt,width:400,centered:!0,keyboard:!1,onCancel:()=>wa(!1),maskClosable:!1,footer:b.createElement("div",{style:{display:"flex",justifyContent:"center"}},b.createElement("div",{className:Fi.leftButton,onClick:()=>{xo(!0)}},"\u751F\u6210\u65B0\u7684\u6570\u636E\u96C6"),b.createElement("div",{className:Fi.rightButton,onClick:()=>{wa(!1),Ua(!0),Va("my")}},"\u53D1\u9001\u5230\u5DF2\u6709\u6570\u636E\u96C6\u4E2D"))},b.createElement("div",{className:Fi.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")),b.createElement(Xs.Z,{visible:kr,attachmentInfo:Ar,onClose:()=>xo(!1),onSuccess:or=>{xo(!1),Ie.history.push(`/dataset/${or}/detail?tabId=mine`)}}))};var Ms=(0,Ie.connect)(({globalSetting:ve,shixunsDetail:Ee,practiceSetting:pe,user:at})=>({globalSetting:ve,shixunsDetail:Ee,user:at,practiceSetting:pe}))(Qs),fu=re(31797),vu={wrap:"wrap___VIvSS",content:"content___pqoZT",mainPathWrap:"mainPathWrap___v3uSU",colorBlue:"colorBlue___AjQlz"},As=Object.defineProperty,Cs=Object.getOwnPropertySymbols,qs=Object.prototype.hasOwnProperty,se=Object.prototype.propertyIsEnumerable,ce=(ve,Ee,pe)=>Ee in ve?As(ve,Ee,{enumerable:!0,configurable:!0,writable:!0,value:pe}):ve[Ee]=pe,ge=(ve,Ee)=>{for(var pe in Ee||(Ee={}))qs.call(Ee,pe)&&ce(ve,pe,Ee[pe]);if(Cs)for(var pe of Cs(Ee))se.call(Ee,pe)&&ce(ve,pe,Ee[pe]);return ve},we=(ve,Ee,pe)=>new Promise((at,Qt)=>{var Ln=st=>{try{un(pe.next(st))}catch(dn){Qt(dn)}},wn=st=>{try{un(pe.throw(st))}catch(dn){Qt(dn)}},un=st=>st.done?at(st.value):Promise.resolve(st.value).then(Ln,wn);un((pe=pe.apply(ve,Ee)).next())});const Le=ve=>ve!=null&&ve.length?ve.filter((Ee,pe)=>pe!==0).map(Ee=>Ee.val).join("").substr(1):"",Ct=({shixunsDetail:ve,globalSetting:Ee,loading:pe,dispatch:at,fileType:Qt,path:Ln,onFinish:wn=()=>{}})=>{const un=(0,Ie.useParams)(),[st,dn]=(0,b.useState)(""),[Ea,Qa]=(0,b.useState)([]),[ia,Oa]=(0,b.useState)([]),Wr=[Ko.OriginalPicturePath,Ko.ExpectPicturePath,Ko.PicturePath].includes(Qt);(0,b.useEffect)(()=>{ve.actionTabs.key==="EditPracticeSetting-SelectFilePath"&&(dn(Ln||""),ga())},[ve.actionTabs.key]);const ga=(Qn="")=>we(void 0,null,function*(){var qa;const ka=yield at({type:"shixunsDetail/getRepository",payload:{id:un.id,path:Qn}});if(Qn===""&&!((qa=ka==null?void 0:ka.trees)!=null&&qa.length)&&Xe.ZP.warning("\u8BF7\u5148\u53BB\u4EE3\u7801\u4ED3\u5E93\u63D0\u4EA4\u6587\u4EF6"),ka!=null&&ka.trees){const $a=ka.trees.map(Ma=>ge(ge({},Ma),{name:Ma.name,val:Ma.name}));Oa($a||[])}}),ea=Qn=>{const qa=Le(Ea),ka=`${qa&&`${qa}/`}${Qn}`;Qt===Ko.Path?!(st!=null&&st.includes(`${ka}\uFF1B`))&&dn(`${st}${ka}\uFF1B`):Qt===Ko.ExecPath&&dn(ka)},Ir=Qn=>{if(Qn.type==="tree"){Ea.length?Ea.push({val:`/${Qn.val}`,path:Qn.val}):Ea.push({val:"\u6839\u76EE\u5F55",path:""},{val:`/${Qn.val}`,path:Qn.val}),Qa(Ea);const qa=Le(Ea);Wr&&dn(qa),ga(qa)}},Sr=(Qn,qa)=>{const ka=Ea.filter((Ma,Br)=>Br<=qa);Qa(ka);const $a=Le(ka);Wr&&dn($a),ga($a)},Ta=()=>we(void 0,null,function*(){wn(st),ur()}),ur=()=>{dn(""),Qa([]),Oa([]),at({type:"shixunsDetail/setActionTabs",payload:{}})},la=Le(Ea);return b.createElement(he.default,{centered:!0,title:"\u6587\u4EF6\u8DEF\u5F84",closable:!1,keyboard:!1,open:ve.actionTabs.key==="EditPracticeSetting-SelectFilePath",onOk:Ta,onCancel:ur},b.createElement("div",{className:vu.wrap},b.createElement("div",{className:vu.content},b.createElement("div",{className:vu.mainPathWrap},!!(Ea!=null&&Ea.length)&&Ea.map((Qn,qa)=>b.createElement("a",{key:qa,onClick:()=>Sr(Qn,qa)},Qn.val))),!!(ia!=null&&ia.length)&&ia.map((Qn,qa)=>Qn.type==="tree"?b.createElement("a",{key:qa,onClick:()=>Ir(Qn)},b.createElement("i",{className:`iconfont icon-wenjianjia ${vu.colorBlue}`}),la&&`${la}/`,Qn.name):b.createElement("a",{key:qa,onClick:()=>ea(`${Qn.name}`)},b.createElement("i",{className:`iconfont icon-zuoye ${vu.colorBlue}`}),la&&`${la}/`,Qn.name))),b.createElement("label",{className:"mt5"},"\u9009\u4E2D\u7684\u65B0\u5EFA\u6587\u4EF6\u5939\u76EE\u5F55\uFF1A"),b.createElement(ie.default,{placeholder:"\u8BF7\u8F93\u5165\u65B0\u6587\u4EF6\u5939\u540D/\u5B50\u6587\u4EF6\u5939\u540D\u3002\uFF08\u5982\uFF1Asrc/step1\uFF09",value:st,onChange:Qn=>dn(Qn.target.value)})))};var ft=(0,Ie.connect)(({shixunsDetail:ve,loading:Ee,globalSetting:pe})=>({shixunsDetail:ve,globalSetting:pe,loading:Ee.models.index}))(Ct),Yt={wrap:"wrap___AnxZp",fixBtn:"fixBtn___sQhsA"},Ht=re(84236),gn=Object.defineProperty,qn=Object.getOwnPropertySymbols,Pn=Object.prototype.hasOwnProperty,An=Object.prototype.propertyIsEnumerable,zn=(ve,Ee,pe)=>Ee in ve?gn(ve,Ee,{enumerable:!0,configurable:!0,writable:!0,value:pe}):ve[Ee]=pe,jn=(ve,Ee)=>{for(var pe in Ee||(Ee={}))Pn.call(Ee,pe)&&zn(ve,pe,Ee[pe]);if(qn)for(var pe of qn(Ee))An.call(Ee,pe)&&zn(ve,pe,Ee[pe]);return ve},Kt=(ve,Ee)=>{var pe={};for(var at in ve)Pn.call(ve,at)&&Ee.indexOf(at)<0&&(pe[at]=ve[at]);if(ve!=null&&qn)for(var at of qn(ve))Ee.indexOf(at)<0&&An.call(ve,at)&&(pe[at]=ve[at]);return pe},En=(ve,Ee,pe)=>new Promise((at,Qt)=>{var Ln=st=>{try{un(pe.next(st))}catch(dn){Qt(dn)}},wn=st=>{try{un(pe.throw(st))}catch(dn){Qt(dn)}},un=st=>st.done?at(st.value):Promise.resolve(st.value).then(Ln,wn);un((pe=pe.apply(ve,Ee)).next())});const Un=ve=>{var Ee=ve,{shixunsDetail:pe,globalSetting:at,user:Qt,dispatch:Ln}=Ee,wn=Kt(Ee,["shixunsDetail","globalSetting","user","dispatch"]),un,st;const dn=(0,Ie.useLocation)(),Ea=(0,b.useRef)((st=(un=dn.pathname)==null?void 0:un.split("/"))==null?void 0:st[2]),[Qa]=oe.default.useForm(),[ia,Oa]=(0,b.useState)(""),[Ia,Wr]=(0,b.useState)(!1),[ga,ea]=(0,b.useState)(!1);(0,b.useEffect)(()=>{Ea.current&&Ir()},[Ea.current]);const Ir=()=>En(void 0,null,function*(){Wr(!0);const Ta=yield(0,Ke.ZP)(`/api/shixuns/${Ea.current}/get_standard_answer.json`,{method:"get",params:{from:"edit"}});Ta.status===0&&(Oa((Ta==null?void 0:Ta.standard_answer)||""),Qa.setFieldsValue({hide_answer:Ta==null?void 0:Ta.hide_answer,disable_copy:Ta==null?void 0:Ta.disable_copy}),Wr(!1))}),Sr=Ta=>En(void 0,null,function*(){ea(!0),(yield(0,Ke.ZP)(`/api/shixuns/${Ea.current}/set_standard_answer.json`,{method:"post",body:jn({},Ta)})).status===0&&Xe.ZP.success("\u4FDD\u5B58\u6210\u529F"),ea(!1)});return b.createElement("section",{className:Yt.wrap},b.createElement(cr.Z,{loading:Ia},b.createElement(oe.default,{form:Qa,scrollToFirstError:!0,layout:"vertical",onFinish:Sr},b.createElement(oe.default.Item,{name:"hide_answer",valuePropName:"checked"},b.createElement(St.default,null,"\u9690\u85CF\u53C2\u8003\u7B54\u6848\u6A21\u5757")),b.createElement(oe.default.Item,{name:"disable_copy",valuePropName:"checked"},b.createElement(St.default,null,"\u7981\u6B62\u590D\u5236\u53C2\u8003\u7B54\u6848")),b.createElement(oe.default.Item,{name:"standard_answer",label:"\u53C2\u8003\u7B54\u6848:",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u53C2\u8003\u7B54\u6848"}]},b.createElement(ne.Z,{defaultValue:ia})),b.createElement(oe.default.Item,null,b.createElement(Ht.t,{okText:"\u4FDD\u5B58",loading:ga,hasCancelBtn:!1,className:Yt.fixBtn,okButtonProps:{htmlType:"submit"}})))))};var Na=(0,Ie.connect)(({shixunsDetail:ve,globalSetting:Ee,user:pe})=>({shixunsDetail:ve,globalSetting:Ee,user:pe}))(Un),Pa=re(33796),Wa=re(61485),Ja=re(45079),oa=re(59301),Aa=Object.defineProperty,so=Object.defineProperties,wr=Object.getOwnPropertyDescriptors,no=Object.getOwnPropertySymbols,Do=Object.prototype.hasOwnProperty,Io=Object.prototype.propertyIsEnumerable,Go=(ve,Ee,pe)=>Ee in ve?Aa(ve,Ee,{enumerable:!0,configurable:!0,writable:!0,value:pe}):ve[Ee]=pe,mi=(ve,Ee)=>{for(var pe in Ee||(Ee={}))Do.call(Ee,pe)&&Go(ve,pe,Ee[pe]);if(no)for(var pe of no(Ee))Io.call(Ee,pe)&&Go(ve,pe,Ee[pe]);return ve},jo=(ve,Ee)=>so(ve,wr(Ee)),ao=(ve,Ee,pe)=>new Promise((at,Qt)=>{var Ln=st=>{try{un(pe.next(st))}catch(dn){Qt(dn)}},wn=st=>{try{un(pe.throw(st))}catch(dn){Qt(dn)}},un=st=>st.done?at(st.value):Promise.resolve(st.value).then(Ln,wn);un((pe=pe.apply(ve,Ee)).next())});const{Countdown:Oo}=fu.default;var $o=(ve=>(ve[ve.LoadingFail=1]="LoadingFail",ve[ve.Loading=2]="Loading",ve[ve.Finish=3]="Finish",ve))($o||{}),Ko=(ve=>(ve.Path="path",ve.ExecPath="exec_path",ve.OriginalPicturePath="original_picture_path",ve.ExpectPicturePath="expect_picture_path",ve.PicturePath="picture_path",ve))(Ko||{});const Uo=({globalSetting:ve,loading:Ee,dispatch:pe,practiceSetting:at,shixunsDetail:Qt})=>{var Ln;const[wn,un]=(0,b.useState)(),[st,dn]=(0,b.useState)(),Ea=(0,b.useRef)(),[Qa,ia]=(0,b.useState)(),[Oa,Ia]=(0,b.useState)(),[Wr,ga]=(0,b.useState)(!0),[ea,Ir]=(0,b.useState)(700),[Sr,Ta]=(0,b.useState)(""),[ur,la]=(0,b.useState)("1"),Qn=(0,Ie.useParams)();(0,b.useEffect)(()=>{ka()},[]);const qa=()=>ao(void 0,null,function*(){var tr,Va;const co=yield pe({type:"shixunsDetail/updateRepositoryFile",payload:{id:Qn.id,path:(Va=(tr=Qt==null?void 0:Qt.fileContent)==null?void 0:tr.params)==null?void 0:Va.path,content:wn,secret_repository:Wr?null:!0}});co!=null&&co.content&&(Xe.ZP.info("\u4FDD\u5B58\u6210\u529F"),pe({type:"practiceSetting/setSideBarTabs",payload:jo(mi({},at.sideBar),{confirmLeave:!1})}))}),ka=()=>ao(void 0,null,function*(){var tr,Va,co,lr;const nr=yield(0,lt.Ui)({identifier:Qn.id});if((Va=(tr=nr==null?void 0:nr.data)==null?void 0:tr.data_list)!=null&&Va.length){Pa.Z.publish("pod-restrict-data",{identifier:(co=nr==null?void 0:nr.data)==null?void 0:co.identifier,data_list:(lr=nr==null?void 0:nr.data)==null?void 0:lr.data_list});return}nr!=null&&nr.url&&Ta(nr==null?void 0:nr.url)}),$a=()=>ao(void 0,null,function*(){const tr=yield(0,lt.K_)({identifier:Qn.id});(tr==null?void 0:tr.status)===0&&(tr!=null&&tr.remainingSeconds?(ia(Date.now()+tr.remainingSeconds*1e3),Ia(tr.remainingSeconds-300<=0?Date.now()+1e3:Date.now()+(tr.remainingSeconds-300)*1e3)):Ma())}),Ma=()=>{he.default.confirm({centered:!0,title:"\u91CD\u7F6E\u73AF\u5883",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",zIndex:9999,content:oa.createElement("div",{className:"tc"},"\u662F\u5426\u786E\u5B9A\u91CD\u7F6E\u73AF\u5883\uFF1F"),onOk:()=>ao(void 0,null,function*(){Br()})})},Br=()=>ao(void 0,null,function*(){var tr,Va,co,lr;dn(2);const nr=yield(0,lt.zH)({identifier:Qn.id});if((Va=(tr=nr==null?void 0:nr.data)==null?void 0:tr.data_list)!=null&&Va.length){Pa.Z.publish("pod-restrict-data",{identifier:(co=nr==null?void 0:nr.data)==null?void 0:co.identifier,data_list:(lr=nr==null?void 0:nr.data)==null?void 0:lr.data_list});return}(nr==null?void 0:nr.status)===0&&(dn(3),Ta(nr.url),Ea.current=nr.port,Xe.ZP.success("\u91CD\u7F6E\u73AF\u5883\u6210\u529F!"))}),bo=()=>{he.default.destroyAll(),he.default.confirm({centered:!0,title:"\u670D\u52A1\u4E2D\u65AD\u63D0\u9192",content:oa.createElement("div",{className:"tc font14"},"jupyter\u5C06\u4E8E",oa.createElement("span",null,oa.createElement(Oo,{value:Qa,format:"HH:mm:ss",onFinish:Ua})),"\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:()=>ao(void 0,null,function*(){(yield(0,lt.q9)({identifier:Qn.id})).status===0&&(yield $a(),Xe.ZP.success("\u5EF6\u957F\u6210\u529F!"))})})},Ua=()=>{he.default.destroyAll(),he.default.confirm({centered:!0,title:"\u5012\u8BA1\u65F6\u622A\u6B62",content:oa.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:()=>{Br()}})},Xt=tr=>{pe({type:"shixunsDetail/setActionTabs",payload:{key:"EditPracticeSetting-SelectFilePath"}})},wa=tr=>ao(void 0,null,function*(){yield(0,lt.QA)({id:Qn.id,startup_file:tr}),ka(),pe({type:"practiceSetting/getCommonData",payload:mi({},Qn)})});return oa.createElement(Jn.default,{activeKey:ur,onChange:tr=>la(tr),tabBarStyle:{paddingLeft:20},items:[{key:"1",label:"\u670D\u52A1\u8BBE\u7F6E",children:oa.createElement("div",null,oa.createElement(ye.Z,{className:"mt20 ml20 font14",align:"middle"},oa.createElement(Ge.Z,null,oa.createElement("span",{className:"c-red"},"* "),"\u9ED8\u8BA4\u6253\u5F00\u6587\u4EF6\uFF1A"),oa.createElement(Ge.Z,{className:"mr10"},oa.createElement(ha.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"},oa.createElement(Wa.Z,{style:{cursor:"pointer"}}))),oa.createElement(Ge.Z,{flex:"300px",onClick:()=>Xt("exec_path")},oa.createElement(ie.default,{value:Sr})),oa.createElement(Ge.Z,{flex:"1"},oa.createElement(le.ZP,{type:"primary",className:"ml10",onClick:()=>Xt("exec_path")},"\u8BBE\u7F6E"))),oa.createElement("iframe",{onLoad:tr=>{},src:Sr,scrolling:"no",style:{height:"calc(100vh - 120px)"},className:"mt10",id:"frame",name:"framename",width:"100%",frameBorder:"0"}),oa.createElement(ft,{fileType:"path",path:(Ln=Qt==null?void 0:Qt.detail)==null?void 0:Ln.startup_file,onFinish:tr=>wa(tr)}))},{key:"2",label:"\u8BC4\u6D4B\u8BBE\u7F6E",children:ur==="2"?oa.createElement(Ja.Z,{active:"testCase",type:"jupyterLab"}):null},{key:"3",label:"\u53C2\u8003\u7B54\u6848",children:oa.createElement(Na,null)}]})};var fi=(0,Ie.connect)(({loading:ve,globalSetting:Ee,practiceSetting:pe,shixunsDetail:at})=>({globalSetting:Ee,loading:ve,practiceSetting:pe,shixunsDetail:at}))(Uo),Ti={catechism:"catechism___lS6Ml",tab:"tab___vw6iE"},Pi=re(71360),zi={collect:"collect___pxqYO",head:"head___WuH5D"},ri=re(59301),Ki=Object.defineProperty,vi=Object.getOwnPropertySymbols,Oi=Object.prototype.hasOwnProperty,Gi=Object.prototype.propertyIsEnumerable,$i=(ve,Ee,pe)=>Ee in ve?Ki(ve,Ee,{enumerable:!0,configurable:!0,writable:!0,value:pe}):ve[Ee]=pe,ji=(ve,Ee)=>{for(var pe in Ee||(Ee={}))Oi.call(Ee,pe)&&$i(ve,pe,Ee[pe]);if(vi)for(var pe of vi(Ee))Gi.call(Ee,pe)&&$i(ve,pe,Ee[pe]);return ve},ml=(ve,Ee,pe)=>new Promise((at,Qt)=>{var Ln=st=>{try{un(pe.next(st))}catch(dn){Qt(dn)}},wn=st=>{try{un(pe.throw(st))}catch(dn){Qt(dn)}},un=st=>st.done?at(st.value):Promise.resolve(st.value).then(Ln,wn);un((pe=pe.apply(ve,Ee)).next())}),Ao=({onOk:ve,onCancel:Ee,visible:pe,modalParams:at,forceIn:Qt})=>{const[Ln]=oe.default.useForm(),[wn,un]=(0,b.useState)(!1),st=Qt?!1:typeof pe=="number";(0,b.useEffect)(()=>{pe?Ln.setFieldsValue(ji({},at)):Ln.resetFields()},[pe]);const dn=Ea=>ml(void 0,null,function*(){un(!0),yield ve(Ea),un(!1)});return ri.createElement(he.default,{centered:!0,destroyOnClose:!0,onCancel:()=>Ee(),onOk:()=>Ln.submit(),open:!!pe,confirmLoading:wn,title:st?"\u7F16\u8F91\u95EE\u7B54":"\u65B0\u589E\u95EE\u7B54",width:900,okText:st?"\u786E\u5B9A":"\u52A0\u5165\u95EE\u9898\u96C6"},ri.createElement(oe.default,{form:Ln,size:"large",onFinish:dn},ri.createElement(oe.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"}]},ri.createElement(ie.default,{placeholder:"\u8BF7\u8F93\u5165\u60A8\u7684\u95EE\u9898"})),ri.createElement(oe.default.Item,{className:"mb0",name:"content",label:"\u56DE\u7B54",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u60A8\u7684\u56DE\u7B54"}]},ri.createElement(ne.Z,{className:"mb0",placeholder:"\u8BF7\u8F93\u5165\u60A8\u7684\u56DE\u7B54",watch:!0,defaultValue:at==null?void 0:at.content}))))},Hr=re(59301),Ai=Object.defineProperty,Ri=Object.getOwnPropertySymbols,el=Object.prototype.hasOwnProperty,wi=Object.prototype.propertyIsEnumerable,ki=(ve,Ee,pe)=>Ee in ve?Ai(ve,Ee,{enumerable:!0,configurable:!0,writable:!0,value:pe}):ve[Ee]=pe,ll=(ve,Ee)=>{for(var pe in Ee||(Ee={}))el.call(Ee,pe)&&ki(ve,pe,Ee[pe]);if(Ri)for(var pe of Ri(Ee))wi.call(Ee,pe)&&ki(ve,pe,Ee[pe]);return ve},ul=(ve,Ee,pe)=>new Promise((at,Qt)=>{var Ln=st=>{try{un(pe.next(st))}catch(dn){Qt(dn)}},wn=st=>{try{un(pe.throw(st))}catch(dn){Qt(dn)}},un=st=>st.done?at(st.value):Promise.resolve(st.value).then(Ln,wn);un((pe=pe.apply(ve,Ee)).next())}),pu=({})=>{const ve=(0,Ie.useParams)(),[Ee,pe]=(0,b.useState)(!1),[at,Qt]=(0,b.useState)(0),[Ln,wn]=(0,b.useState)([]),[un,st]=(0,b.useState)(!1),[dn,Ea]=(0,b.useState)({title:"",content:""}),[Qa,ia]=(0,b.useState)(!1),[Oa,Ia]=(0,b.useState)(!1),[Wr,ga]=(0,b.useState)([]),[ea,Ir]=(0,b.useState)({keywords:"",page:1,limit:10});(0,b.useEffect)(()=>{Sr(ea)},[]);const Sr=$a=>ul(void 0,null,function*(){var Ma,Br;pe(!0);const bo=yield(0,Ke.ZP)(`/api/shixuns/${ve.id}/qna_sets.json`,{method:"get",params:$a});bo.status===0&&(wn(((Ma=bo==null?void 0:bo.data)==null?void 0:Ma.qna_sets)||[]),Qt((Br=bo==null?void 0:bo.data)==null?void 0:Br.total_count)),pe(!1)}),Ta=$a=>{ea.keywords=$a,ea.page=1,Ir(ll({},ea)),Sr(ea)},ur=($a,Ma)=>{ea.page=$a,ea.limit=Ma,Ir(ll({},ea)),Sr(ea)},la=$a=>ul(void 0,null,function*(){if(typeof un=="number"){const Ma=yield(0,Ke.ZP)(`/api/shixuns/${ve.id}/qna_sets/${un}.json`,{method:"put",body:$a});(Ma==null?void 0:Ma.status)===0&&(Xe.ZP.success("\u7F16\u8F91\u6210\u529F"),Sr(ea),st(!1))}else{const Ma=yield(0,Ke.ZP)(`/api/shixuns/${ve.id}/qna_sets.json`,{method:"post",body:$a});(Ma==null?void 0:Ma.status)===0&&(Xe.ZP.success("\u6DFB\u52A0\u6210\u529F"),ea.page=1,ea.keywords="",Ir(ll({},ea)),Sr(ea),st(!1))}}),Qn=$a=>ul(void 0,null,function*(){he.default.confirm({centered:!0,icon:null,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:"\u786E\u8BA4\u5220\u9664\u5417\uFF1F",onOk:()=>ul(void 0,null,function*(){const Ma=yield(0,Ke.ZP)(`/api/shixuns/${ve.id}/qna_sets/${$a.id}.json`,{method:"delete"});if((Ma==null?void 0:Ma.status)===0){const Br=Ln.length===1&&ea.page>1?ea.page-1:ea.page;ea.page=Br,Ir(ll({},ea)),Sr(ea),Xe.ZP.success("\u5220\u9664\u6210\u529F")}})})}),qa=[{title:"\u95EE\u9898",dataIndex:"title",ellipsis:!0,render:$a=>Hr.createElement(ha.Z,{placement:"topLeft",title:$a},Hr.createElement("span",{className:"c-black"},$a||"--"))},{title:"\u56DE\u7B54",dataIndex:"content",ellipsis:!0,render:$a=>Hr.createElement(ha.Z,{placement:"topLeft",title:$a},Hr.createElement("span",{className:"c-black"},$a||"--"))},{title:"\u64CD\u4F5C",width:104,align:"right",dataIndex:"id",ellipsis:!0,render:($a,Ma)=>Hr.createElement("span",null,Hr.createElement("span",{className:"c-light-primary current mr20",onClick:()=>{st($a),Ea({title:Ma==null?void 0:Ma.title,content:Ma==null?void 0:Ma.content})}},"\u7F16\u8F91"),Hr.createElement("span",{className:"current c-red",onClick:()=>Qn(Ma)},"\u5220\u9664"))}],ka={onRemove:()=>{ga([])},beforeUpload:$a=>{if(($a==null?void 0:$a.size)>1024*1024*50)return Xe.ZP.info("\u6587\u4EF6\u8D85\u8FC750M\uFF0C\u4E0D\u7B26\u5408\u4E0A\u4F20\u8981\u6C42"),!1;if(!($a.type==="application/vnd.ms-excel"||$a.type==="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"))return Xe.ZP.info("\u8BF7\u4E0A\u4F20 .xls \u6216 .xlsx \u6587\u4EF6\uFF01"),!1;let Br=[];return Br.push($a),ga([...Br]),!1},fileList:Wr,accept:".xls,.xlsx"};return Hr.createElement("div",{className:zi.collect},Hr.createElement("div",{className:zi.head},Hr.createElement(Pi.t7,{style:{width:480},placeholder:"\u8BF7\u8F93\u5165\u60A8\u7684\u95EE\u9898",value:ea.keywords,onChange:Ta}),Hr.createElement(Pi.op,{className:"ml40 mr20",shape:"default",onClick:()=>{st(!0),Ea({title:"",content:""})}},"\u65B0\u589E\u95EE\u7B54"),Hr.createElement(Pi.op,{type:"primary",shape:"default",onClick:()=>ia(!0)},"\u5BFC\u5165\u95EE\u7B54")),Hr.createElement(es.default,{columns:qa,style:{marginTop:33},dataSource:Ln,loading:Ee,rowKey:"id",pagination:{current:ea.page,hideOnSinglePage:!at,showQuickJumper:!0,showSizeChanger:!0,pageSize:ea.limit,pageSizeOptions:["10","20","50","100","200"],total:at,size:"default",showTotal:Te.rU,onChange:ur}}),Hr.createElement(he.default,{title:"\u5BFC\u5165\u95EE\u7B54",open:Qa,centered:!0,confirmLoading:Oa,onCancel:()=>{ia(!1),ga([])},onOk:()=>ul(void 0,null,function*(){var $a;const Ma=new FormData;if(Wr.length>0)Ma.append("file",Wr[0]);else{Xe.ZP.warning("\u8BF7\u9009\u62E9\u6587\u4EF6");return}Ia(!0);let Br=yield(0,Ke.ZP)(`/api/shixuns/${ve==null?void 0:ve.id}/qna_sets/import.json`,{method:"post",body:Ma},!0);(Br==null?void 0:Br.status)===0&&(($a=Br==null?void 0:Br.fail)!=null&&$a.length?he.default.confirm({icon:null,width:485,title:"\u5BFC\u5165\u5931\u8D25",centered:!0,content:Hr.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",Hr.createElement("a",{href:`${vn.Z.API_SERVER}/api/shixuns/${ve==null?void 0:ve.id}/qna_sets/down_error_import_file.json`},"\u5BFC\u5165\u5931\u8D25\u7684\u6570\u636E"),"\u67E5\u770B")}):(Xe.ZP.success("\u5BFC\u5165\u6210\u529F"),ea.page=1,ea.keywords="",Ir(ll({},ea)),Sr(ea),ia(!1),ga([]))),Ia(!1)})},Hr.createElement("p",{style:{color:"#232B40"}},"\u6B65\u9AA4\u4E00\uFF1A",Hr.createElement("span",{className:"ml15 mr5"},"\u4E0B\u8F7D"),Hr.createElement("a",{href:`${vn.Z.API_SERVER}/api/shixuns/${ve==null?void 0:ve.id}/qna_sets/down_template.json`},"\u5BFC\u5165\u95EE\u7B54\u96C6\u6A21\u677F"),"\uFF0C\u5E76\u586B\u5199\u5BF9\u5E94\u5185\u5BB9"),Hr.createElement("p",{style:{color:"#232B40"}},"\u6B65\u9AA4\u4E8C\uFF1A",Hr.createElement("span",{className:"ml15"},"\u4E0A\u4F20\u586B\u5199\u597D\u7684\u300A\u5BFC\u5165\u95EE\u7B54\u6A21\u677F\u300B")),Hr.createElement("div",{style:{marginLeft:74}},Hr.createElement(Re.default,ll({},ka),Hr.createElement(Pi.op,{shape:"default",icon:Hr.createElement("i",{className:"iconfont icon-shangchuan3",style:{fontSize:14}})},"\u4E0A\u4F20\u6587\u4EF6")))),Hr.createElement(Ao,{visible:un,onCancel:()=>st(!1),onOk:la,modalParams:dn}))},bu={record:"record___Ueu3j",head:"head___UOVq4"},Jo=re(59301),ol=Object.defineProperty,Vl=Object.defineProperties,sl=Object.getOwnPropertyDescriptors,hu=Object.getOwnPropertySymbols,Xl=Object.prototype.hasOwnProperty,El=Object.prototype.propertyIsEnumerable,yi=(ve,Ee,pe)=>Ee in ve?ol(ve,Ee,{enumerable:!0,configurable:!0,writable:!0,value:pe}):ve[Ee]=pe,Ui=(ve,Ee)=>{for(var pe in Ee||(Ee={}))Xl.call(Ee,pe)&&yi(ve,pe,Ee[pe]);if(hu)for(var pe of hu(Ee))El.call(Ee,pe)&&yi(ve,pe,Ee[pe]);return ve},Jl=(ve,Ee)=>Vl(ve,sl(Ee)),Sl=(ve,Ee,pe)=>new Promise((at,Qt)=>{var Ln=st=>{try{un(pe.next(st))}catch(dn){Qt(dn)}},wn=st=>{try{un(pe.throw(st))}catch(dn){Qt(dn)}},un=st=>st.done?at(st.value):Promise.resolve(st.value).then(Ln,wn);un((pe=pe.apply(ve,Ee)).next())}),Pl=({})=>{const ve=(0,Ie.useParams)(),[Ee]=oe.default.useForm(),[pe,at]=(0,b.useState)(!1),[Qt,Ln]=(0,b.useState)(0),[wn,un]=(0,b.useState)([]),[st,dn]=(0,b.useState)(!1),[Ea,Qa]=(0,b.useState)({title:"",content:""});let[ia,Oa]=(0,b.useState)({page:1,limit:10});(0,b.useEffect)(()=>{ga(ia)},[]);const Ia=[{value:"ai",label:"AI\u6A21\u578B"},{value:"qna_set",label:"\u5B9E\u8BAD\u95EE\u7B54\u96C6"}],Wr=[{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"}],ga=la=>Sl(void 0,null,function*(){var Qn,qa;at(!0);const ka=yield(0,Ke.ZP)(`/api/shixuns/${ve.id}/qna_records.json`,{method:"get",params:la});ka.status===0&&(un(((Qn=ka==null?void 0:ka.data)==null?void 0:Qn.qna_records)||[]),Ln((qa=ka==null?void 0:ka.data)==null?void 0:qa.total_count)),at(!1)}),ea=la=>{ia.page=1,ia=Ui(Ui({},ia),la),Oa(Ui({},ia)),ga(ia)},Ir=(la,Qn)=>{ia.page=la,ia.limit=Qn,Oa(Ui({},ia)),ga(ia)},Sr=la=>Sl(void 0,null,function*(){const Qn=yield(0,Ke.ZP)(`/api/shixuns/${ve.id}/qna_sets.json`,{method:"post",body:Jl(Ui({},la),{qna_record_id:st})});(Qn==null?void 0:Qn.status)===0&&(Xe.ZP.success("\u6DFB\u52A0\u6210\u529F"),ga(ia),dn(!1))}),Ta=la=>Sl(void 0,null,function*(){he.default.confirm({centered:!0,icon:null,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:"\u786E\u8BA4\u5FFD\u7565\u5417\uFF1F",onOk:()=>Sl(void 0,null,function*(){const Qn=yield(0,Ke.ZP)(`/api/shixuns/${ve.id}/qna_records/${la.id}/update_status.json`,{method:"post",body:{status:"ignored"}});(Qn==null?void 0:Qn.status)===0&&ga(ia)})})}),ur=[{title:"\u95EE\u9898",dataIndex:"question",ellipsis:!0,render:la=>Jo.createElement(ha.Z,{placement:"topLeft",title:la},Jo.createElement("span",{className:"c-black"},la||"--"))},{title:"\u56DE\u7B54",dataIndex:"answer",ellipsis:!0,render:la=>Jo.createElement(ha.Z,{placement:"topLeft",title:la},Jo.createElement("span",{className:"c-black"},la||"--"))},{title:"\u56DE\u7B54\u6765\u6E90",dataIndex:"answer_source",width:110,render:la=>{var Qn;return Jo.createElement("span",{className:"c-black"},(Qn=Ia==null?void 0:Ia.find(qa=>qa.value===la))==null?void 0:Qn.label)}},{title:"\u72B6\u6001",dataIndex:"status",width:120,render:la=>{var Qn;return Jo.createElement("span",{className:"c-black"},(Qn=Wr==null?void 0:Wr.find(qa=>qa.value===la))==null?void 0:Qn.label)}},{title:"\u64CD\u4F5C",width:140,align:"right",dataIndex:"id",ellipsis:!0,render:(la,Qn)=>Jo.createElement("span",null,["pending","ignored"].includes(Qn.status)&&Jo.createElement(Jo.Fragment,null,Jo.createElement("span",{className:"c-light-primary current mr20",onClick:()=>{dn(la),Qa({title:Qn==null?void 0:Qn.question,content:Qn==null?void 0:Qn.answer})}},"\u52A0\u5165\u95EE\u7B54\u96C6"),Jo.createElement("span",{className:"current c-light-primary",onClick:()=>Ta(Qn)},"\u5FFD\u7565")),["skipped"].includes(Qn.status)&&Jo.createElement(ha.Z,{placement:"topRight",title:"\u56DE\u7B54\u6765\u81EA\u95EE\u9898\u96C6\uFF0C\u65E0\u9700\u518D\u6B21\u52A0\u5165"},Jo.createElement("span",{style:{cursor:"not-allowed",color:"#CCCCCC"}},"\u52A0\u5165\u95EE\u7B54\u96C6")),["added_to_set"].includes(Qn.status)&&Jo.createElement(ha.Z,{placement:"topRight",title:"\u5DF2\u7ECF\u52A0\u5165\u95EE\u7B54\u96C6\uFF0C\u65E0\u9700\u518D\u6B21\u52A0\u5165"},Jo.createElement("span",{style:{cursor:"not-allowed",color:"#CCCCCC"}},"\u52A0\u5165\u95EE\u7B54\u96C6")))}];return Jo.createElement("div",{className:bu.record},Jo.createElement("div",{className:bu.head},Jo.createElement(oe.default,{layout:"inline",form:Ee,colon:!1,size:"large",onFinish:ea},Jo.createElement(oe.default.Item,{name:"keywords",label:"\u95EE\u9898"},Jo.createElement(ie.default,{placeholder:"\u8BF7\u8F93\u5165\u60A8\u7684\u95EE\u9898",style:{width:300}})),Jo.createElement(oe.default.Item,{name:"answer_source",label:"\u56DE\u7B54\u6765\u6E90"},Jo.createElement(Or.default,{allowClear:!0,placeholder:"\u8BF7\u9009\u62E9\u56DE\u7B54\u6765\u6E90",options:Ia,style:{width:200}})),Jo.createElement(oe.default.Item,{name:"status",label:"\u72B6\u6001"},Jo.createElement(Or.default,{allowClear:!0,placeholder:"\u8BF7\u9009\u62E9\u72B6\u6001",options:Wr,style:{width:200}})),Jo.createElement(oe.default.Item,{style:{marginRight:0}},Jo.createElement(le.ZP,{type:"primary",htmlType:"submit"},"\u641C\u7D22")))),Jo.createElement(es.default,{columns:ur,style:{marginTop:33},dataSource:wn,loading:pe,rowKey:"id",pagination:{current:ia.page,hideOnSinglePage:!Qt,showQuickJumper:!0,showSizeChanger:!0,pageSize:ia.limit,pageSizeOptions:["10","20","50","100","200"],total:Qt,size:"default",showTotal:Te.rU,onChange:Ir}}),Jo.createElement(Ao,{visible:st,onCancel:()=>dn(!1),onOk:Sr,modalParams:Ea,forceIn:!0}))},Al=re(59301);const Vi=({dispatch:ve,practiceSetting:Ee,shixunsDetail:pe})=>{const[at,Qt]=(0,b.useState)("1");return Al.createElement("div",{className:Ti.catechism},Al.createElement(Pi.tp,{dataSource:[{id:"1",name:"\u95EE\u7B54\u96C6"},{id:"2",name:"\u95EE\u7B54\u8BB0\u5F55"}],value:at,onChange:Ln=>Qt(Ln),className:Ti.tab}),at==="1"&&Al.createElement(pu,null),at==="2"&&Al.createElement(Pl,null))};var dl=(0,Ie.connect)(({practiceSetting:ve,shixunsDetail:Ee})=>({practiceSetting:ve,shixunsDetail:Ee}))(Vi),au=Object.defineProperty,ni=Object.getOwnPropertySymbols,cl=Object.prototype.hasOwnProperty,Zl=Object.prototype.propertyIsEnumerable,Qo=(ve,Ee,pe)=>Ee in ve?au(ve,Ee,{enumerable:!0,configurable:!0,writable:!0,value:pe}):ve[Ee]=pe,Cl=(ve,Ee)=>{for(var pe in Ee||(Ee={}))cl.call(Ee,pe)&&Qo(ve,pe,Ee[pe]);if(ni)for(var pe of ni(Ee))Zl.call(Ee,pe)&&Qo(ve,pe,Ee[pe]);return ve},Dl=(ve,Ee)=>{var pe={};for(var at in ve)cl.call(ve,at)&&Ee.indexOf(at)<0&&(pe[at]=ve[at]);if(ve!=null&&ni)for(var at of ni(ve))Ee.indexOf(at)<0&&Zl.call(ve,at)&&(pe[at]=ve[at]);return pe},Bu=ve=>{var Ee=ve,{tabsActive:pe}=Ee,at=Dl(Ee,["tabsActive"]);return b.createElement(b.Fragment,null,pe==="information"&&b.createElement(qt,null),pe==="warehouse"&&b.createElement(Vt.default,null),pe==="level"&&b.createElement(Lr,Cl({},at)),pe==="collaborate"&&b.createElement(Nn,Cl({},at)),pe==="setting"&&b.createElement(tn.Z,null),pe==="environment"&&b.createElement(gs,Cl({},at)),pe==="dataset"&&b.createElement(Ms,null),pe==="service"&&b.createElement(fi,Cl({},at)),pe==="catechism"&&b.createElement(dl,Cl({},at)))},vl={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"},Du=Object.defineProperty,ru=Object.getOwnPropertySymbols,ro=Object.prototype.hasOwnProperty,er=Object.prototype.propertyIsEnumerable,Co=(ve,Ee,pe)=>Ee in ve?Du(ve,Ee,{enumerable:!0,configurable:!0,writable:!0,value:pe}):ve[Ee]=pe,bi=(ve,Ee)=>{for(var pe in Ee||(Ee={}))ro.call(Ee,pe)&&Co(ve,pe,Ee[pe]);if(ru)for(var pe of ru(Ee))er.call(Ee,pe)&&Co(ve,pe,Ee[pe]);return ve};const Gl=ve=>React.createElement("svg",bi({width:16,height:16,xmlns:"http://www.w3.org/2000/svg"},ve),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 ou="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbC1ydWxlPSJub256ZXJvIiBmaWxsPSJub25lIj48cGF0aCBkPSJNOCAwYTggOCAwIDEgMS04IDggOC4wMSA4LjAxIDAgMCAxIDgtOFoiIGZpbGw9IiNGRUIzMDAiLz48cGF0aCBkPSJNOC4xMTEgMTJhLjc4Ljc4IDAgMSAwIC4wMDYtMS41Ni43OC43OCAwIDAgMC0uMDA2IDEuNTZaTTcuNTU2IDRhLjIxLjIxIDAgMCAwLS4yMTIuMjE4bC4yNDQgNS4xMzNhLjExNy4xMTcgMCAwIDAgLjExNi4xMWguODE1YS4xMTguMTE4IDAgMCAwIC4xMTctLjExbC4yNDMtNS4xMzNBLjIwOC4yMDggMCAwIDAgOC42NjYgNGgtMS4xMVoiIGZpbGw9IiNGRkYiLz48L2c+PC9zdmc+",ci=re(59301),Nu=Object.defineProperty,Tu=Object.defineProperties,Yi=Object.getOwnPropertyDescriptors,Qr=Object.getOwnPropertySymbols,wu=Object.prototype.hasOwnProperty,wl=Object.prototype.propertyIsEnumerable,Ju=(ve,Ee,pe)=>Ee in ve?Nu(ve,Ee,{enumerable:!0,configurable:!0,writable:!0,value:pe}):ve[Ee]=pe,Fs=(ve,Ee)=>{for(var pe in Ee||(Ee={}))wu.call(Ee,pe)&&Ju(ve,pe,Ee[pe]);if(Qr)for(var pe of Qr(Ee))wl.call(Ee,pe)&&Ju(ve,pe,Ee[pe]);return ve},Eu=(ve,Ee)=>Tu(ve,Yi(Ee)),iu=(ve,Ee)=>{var pe={};for(var at in ve)wu.call(ve,at)&&Ee.indexOf(at)<0&&(pe[at]=ve[at]);if(ve!=null&&Qr)for(var at of Qr(ve))Ee.indexOf(at)<0&&wl.call(ve,at)&&(pe[at]=ve[at]);return pe};const Ql=[{name:"\u57FA\u672C\u4FE1\u606F",icon:ci.createElement("i",{className:"icon iconfont icon-jibenxinxi1"}),tabId:"information"},{name:"\u4EE3\u7801\u4ED3\u5E93",icon:ci.createElement("i",{className:"icon iconfont icon-daimacangku"}),tabId:"warehouse"},{name:"\u4EFB\u52A1\u5173\u5361",icon:ci.createElement("i",{className:"icon iconfont icon-renwuguanka"}),tabId:"level"},{name:"\u5B9E\u9A8C\u73AF\u5883",icon:ci.createElement("i",{className:"icon iconfont icon-shiyanhuanjing"}),tabId:"environment"},{name:"\u6570\u636E\u96C6",icon:ci.createElement("i",{className:"icon iconfont icon-shujuji",style:{fontSize:25}}),tabId:"dataset"},{name:"\u670D\u52A1\u4E0E\u8BC4\u6D4B",icon:ci.createElement("i",{className:"icon iconfont icon-renwuguanka"}),tabId:"service"},{name:"\u5408\u4F5C\u4EBA\u5458",icon:ci.createElement("i",{className:"icon iconfont icon-hezuochengyuan"}),tabId:"collaborate"},{name:"\u8BBE\u7F6E",icon:ci.createElement("i",{className:"icon iconfont icon-shezhi5"}),tabId:"setting"},{name:"\u95EE\u7B54\u96C6",icon:ci.createElement("i",{className:"icon iconfont icon-wendaji"}),tabId:"catechism"}],as=ve=>{var Ee=ve,{globalSetting:pe,loading:at,dispatch:Qt,shixunsDetail:Ln,practiceSetting:wn}=Ee,un=iu(Ee,["globalSetting","loading","dispatch","shixunsDetail","practiceSetting"]),st;const{base_info_warning:dn,challenges_warning:Ea,id:Qa,repository_warning:ia,sideBar:Oa,service_warning:Ia}=wn,Wr=(0,Ie.useLocation)(),ga=(0,Ie.useParams)(),[ea]=(0,Ie.useSearchParams)();(0,b.useEffect)(()=>{var Ta;const ur=ea.get("tabId"),la=Wr.pathname.split("/").length,qa=((Ta=Ln==null?void 0:Ln.detail)!=null&&Ta.windows_vnc?Ql.filter(ka=>ka.tabId!=="dataset"):Ql).map(ka=>ka.tabId).includes(ur);if(ur&&qa){Qt({type:"practiceSetting/setSideBarTabs",payload:{tabsActive:ur}});return}if(la>4){Qt({type:"practiceSetting/setSideBarTabs",payload:{tabsActive:"level"}});return}if(!ur||ur&&!qa){Qt({type:"practiceSetting/setSideBarTabs",payload:{tabsActive:"information"}});return}},[(st=Ln==null?void 0:Ln.detail)==null?void 0:st.windows_vnc]),(0,b.useEffect)(()=>()=>{Qt({type:"practiceSetting/setSideBarTabs",payload:Eu(Fs({},wn.sideBar),{selectPath:""})})},[ga.id]);const Ir=Ta=>{var ur;if(Ta===Oa.tabsActive)return;const la=()=>{Ie.history.push(`/shixuns/${Qa}/edit?tabId=${Ta}`),Qt({type:"practiceSetting/setSideBarTabs",payload:{tabsActive:Ta,selectPath:"",confirmLeave:!1}})};(ur=wn==null?void 0:wn.sideBar)!=null&&ur.confirmLeave?he.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:()=>{la()}}):la()},Sr=()=>{var Ta;return((Ta=Ln==null?void 0:Ln.detail)!=null&&Ta.windows_vnc?Ql.filter(la=>la.tabId!=="dataset"):Ql).filter(la=>{var Qn;return(Qn=Ln==null?void 0:Ln.detail)!=null&&Qn.is_jupyter_lab?la.tabId!=="level":la.tabId!=="service"}).map(la=>{const{name:Qn,icon:qa,tabId:ka}=la;return ci.createElement("div",{key:ka,className:`${wn.sideBar.tabsActive===ka?vl.itemActive:vl.item} font12`,onClick:()=>Ir(ka)},qa,ci.createElement("span",{className:vl.name},Qn),ka==="information"&&dn&&ci.createElement(ha.Z,{title:"\u8BF7\u5B8C\u5584\u57FA\u672C\u4FE1\u606F"},ci.createElement("img",{src:ou,alt:""})),ka==="level"&&Ea&&ci.createElement(ha.Z,{title:"\u8BF7\u521B\u5EFA\u4EFB\u52A1\u5173\u5361"},ci.createElement("img",{src:ou,alt:""})),ka==="service"&&Ia&&ci.createElement(ha.Z,{title:"\u8BF7\u8BBE\u7F6E\u9ED8\u8BA4\u6253\u5F00\u6587\u4EF6"},ci.createElement("img",{src:ou,alt:""})),ka==="warehouse"&&ia&&ci.createElement(ha.Z,{title:"\u8BF7\u5F00\u542F\u4EE3\u7801\u4ED3\u5E93"},ci.createElement("img",{src:ou,alt:""})))})};return ci.createElement("div",{className:vl.sidebar},ci.createElement("div",{className:vl.items},Sr()),ci.createElement("div",{className:vl.question},ci.createElement(ha.Z,{placement:"right",title:"\u5E38\u89C1\u95EE\u9898"},ci.createElement("span",{style:{cursor:"pointer"},onClick:()=>window.open(`${ENV.API_SERVER}/pdf/\u5B9E\u8BAD\u5236\u4F5C\u5E38\u89C1\u95EE\u9898.pdf`)},ci.createElement("img",{src:ts.Pt,height:44,width:44,alt:""})))))};var rs=(0,Ie.connect)(({loading:ve,globalSetting:Ee,shixunsDetail:pe,practiceSetting:at})=>({globalSetting:Ee,loading:ve,practiceSetting:at,shixunsDetail:pe}))(as),Ru={bottom:"bottom___AZ7c_",yes:"yes___iDEVN",no:"no___E02he"},vo=re(59301),Tr=Object.defineProperty,il=Object.getOwnPropertySymbols,Ci=Object.prototype.hasOwnProperty,ys=Object.prototype.propertyIsEnumerable,os=(ve,Ee,pe)=>Ee in ve?Tr(ve,Ee,{enumerable:!0,configurable:!0,writable:!0,value:pe}):ve[Ee]=pe,Is=(ve,Ee)=>{for(var pe in Ee||(Ee={}))Ci.call(Ee,pe)&&os(ve,pe,Ee[pe]);if(il)for(var pe of il(Ee))ys.call(Ee,pe)&&os(ve,pe,Ee[pe]);return ve},Wu=(ve,Ee,pe)=>new Promise((at,Qt)=>{var Ln=st=>{try{un(pe.next(st))}catch(dn){Qt(dn)}},wn=st=>{try{un(pe.throw(st))}catch(dn){Qt(dn)}},un=st=>st.done?at(st.value):Promise.resolve(st.value).then(Ln,wn);un((pe=pe.apply(ve,Ee)).next())});const Su=({classroomList:ve,loading:Ee,dispatch:pe,shixunsDetail:at})=>{var Qt,Ln;const wn=(0,Ie.useParams)(),un=(0,Ie.useLocation)(),[st,dn]=(0,b.useState)(!1),[Ea,Qa]=(0,b.useState)(!1),{actionTabs:ia}=ve,[Oa]=oe.default.useForm(),[Ia,Wr]=(0,b.useState)({name:"string"}),ga=Ta=>Ta&&Ta{console.log(wn),ve.actionTabs.key==="\u91CD\u540D\u4FEE\u6539"&&(Ia.name=ia==null?void 0:ia.name),Wr(Is({},Ia)),Oa.setFieldsValue({name:ia==null?void 0:ia.name})},[ve.actionTabs.key]);const Sr={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 vo.createElement(vo.Fragment,null,vo.createElement(he.default,{centered:!0,title:"\u63D0\u793A",open:ve.actionTabs.key==="\u540C\u6B65\u4FEE\u6539",width:460,zIndex:((Qt=ve==null?void 0:ve.actionTabs)==null?void 0:Qt.zIndex)||1e3,footer:null,onOk:()=>Wu(void 0,null,function*(){console.log(123123)}),onCancel:()=>{pe({type:"classroomList/setActionTabs",payload:{}})}},vo.createElement("div",null,vo.createElement("p",null,"\u672C\u5B9E\u8BAD\u4E3A\u521B\u5EFA\u4F5C\u4E1A/\u8003\u8BD5\u65F6\u590D\u5236\u751F\u6210\u7684\uFF0C",Sr[ve.actionTabs.type],"\uFF1F")),vo.createElement("div",{className:Ru.bottom},vo.createElement(le.ZP,{loading:Ee["shixunsDetail/saveCopyForExercise"]&&Ea,className:Ru.no,onClick:()=>Wu(void 0,null,function*(){var Ta;Qa(!0),(Ta=ve.actionTabs)!=null&&Ta.value?ve.actionTabs.fn(ve.actionTabs.value,!0,2):ve.actionTabs.fn(!0,2)})},"\u540C\u6B65\u4FEE\u6539\u539F\u5B9E\u8BAD"),vo.createElement(le.ZP,{loading:Ee["shixunsDetail/saveCopyForExercise"]&&!Ea,className:Ru.yes,onClick:()=>Wu(void 0,null,function*(){var Ta;Qa(!1),(Ta=ve.actionTabs)!=null&&Ta.value?ve.actionTabs.fn(ve.actionTabs.value,!1,1):ve.actionTabs.fn(!1,1)})},"\u4EC5\u4FDD\u5B58\u672C\u5B9E\u8BAD"))),vo.createElement(he.default,{centered:!0,title:"\u63D0\u793A",open:ve.actionTabs.key==="\u91CD\u540D\u4FEE\u6539",okText:"\u4FDD\u5B58\u540D\u79F0",cancelText:"\u4E0D\u66F4\u6362\u540D\u79F0",destroyOnClose:!0,width:550,confirmLoading:st,onOk:()=>Wu(void 0,null,function*(){var Ta,ur;yield Oa.validateFields();const la=Oa.getFieldValue();dn(!0);const Qn=yield(0,Ke.ZP)(`/api/shixuns/${wn==null?void 0:wn.id}/update_shixun_name.json`,{method:"post",body:{shixun_name:la.name}});dn(!1),Qn.status===0&&(Xe.ZP.success("\u4FEE\u6539\u6210\u529F"),pe({type:"practiceSetting/getCommonData",payload:{id:wn.id}}),(Ta=ve.actionTabs)!=null&&Ta.getBaseInfo&&((ur=ve.actionTabs)==null||ur.getBaseInfo())),pe({type:"classroomList/setActionTabs",payload:{}})}),onCancel:()=>{pe({type:"classroomList/setActionTabs",payload:{}})}},vo.createElement("div",null,vo.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"),vo.createElement(oe.default,{form:Oa,initialValues:{name:ea},onChange:()=>{Wr(Oa.getFieldValue())}},vo.createElement(oe.default.Item,{name:"name",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5B9E\u8BAD\u540D\u79F0"}]},vo.createElement(ye.Z,{className:"mt30",align:"middle"},vo.createElement(Ge.Z,{className:"font14"},"\u5B9E\u8BAD\u540D\u79F0\uFF1A"),vo.createElement(Ge.Z,{flex:"1"},vo.createElement(ie.default,{maxLength:60,defaultValue:ia==null?void 0:ia.name,suffix:vo.createElement("span",null,((Ln=Ia==null?void 0:Ia.name)==null?void 0:Ln.length)||0,"/",60)}))))))))};var Ns=(0,Ie.connect)(({classroomList:ve,loading:Ee,shixunsDetail:pe})=>({classroomList:ve,loading:Ee.effects,shixunsDetail:pe}))(Su),lu=re(59301),Ts=Object.defineProperty,is=Object.defineProperties,bs=Object.getOwnPropertyDescriptors,uu=Object.getOwnPropertySymbols,Rs=Object.prototype.hasOwnProperty,ls=Object.prototype.propertyIsEnumerable,Qu=(ve,Ee,pe)=>Ee in ve?Ts(ve,Ee,{enumerable:!0,configurable:!0,writable:!0,value:pe}):ve[Ee]=pe,us=(ve,Ee)=>{for(var pe in Ee||(Ee={}))Rs.call(Ee,pe)&&Qu(ve,pe,Ee[pe]);if(uu)for(var pe of uu(Ee))ls.call(Ee,pe)&&Qu(ve,pe,Ee[pe]);return ve},Bs=(ve,Ee)=>is(ve,bs(Ee)),$s=(ve,Ee)=>{var pe={};for(var at in ve)Rs.call(ve,at)&&Ee.indexOf(at)<0&&(pe[at]=ve[at]);if(ve!=null&&uu)for(var at of uu(ve))Ee.indexOf(at)<0&&ls.call(ve,at)&&(pe[at]=ve[at]);return pe};const qu=ve=>{var Ee=ve,{globalSetting:pe,loading:at,dispatch:Qt,practiceSetting:Ln}=Ee,wn=$s(Ee,["globalSetting","loading","dispatch","practiceSetting"]);const{sideBar:un}=Ln,{tabsActive:st}=un;let dn=(0,Ie.useParams)();return(0,b.useEffect)(()=>(Qt({type:"globalSetting/headerFooterToggle",payload:!1}),Qt({type:"shixunsDetail/getShixunsDetail",payload:Bs(us({},dn),{shixun_managed:!0})}),()=>{Qt({type:"globalSetting/headerFooterToggle",payload:!0}),Qt({type:"practiceSetting/setParams",payload:{id:""}})}),[]),lu.createElement("div",{className:Be.practiceSetting},lu.createElement("div",{className:Be.wrapHeader},lu.createElement(y,null)),lu.createElement("div",{className:Be.wrapLayout},lu.createElement("div",{className:Be.wrapSidebar},lu.createElement(rs,null)),lu.createElement("div",{className:Be.wrapContent},lu.createElement(Bu,Bs(us({},wn),{tabsActive:Ln.sideBar.tabsActive})))),lu.createElement(Ns,null))};var ss=(0,Ie.connect)(({loading:ve,globalSetting:Ee,practiceSetting:pe})=>({globalSetting:Ee,loading:ve,practiceSetting:pe}))(qu)},21693:function(je,Nt,re){"use strict";re.d(Nt,{S:function(){return lt},m:function(){return he}});var b=re(49661),Be=re(8591),Je=re(43418),Te=re(59301),Ze=(Xe,Ke,Ie)=>new Promise((tt,ot)=>{var Qe=E=>{try{a(Ie.next(E))}catch(x){ot(x)}},de=E=>{try{a(Ie.throw(E))}catch(x){ot(x)}},a=E=>E.done?tt(E.value):Promise.resolve(E.value).then(Qe,de);a((Ie=Ie.apply(Xe,Ke)).next())});const lt=Xe=>{let Ke=document.createElement("textarea");return Ke.value=Xe,Ke.value},he=(Xe,Ke,Ie,tt,ot)=>Ze(void 0,null,function*(){var Qe,de;const a=yield Xe({type:"shixunsDetail/saveCopyForExercise",payload:{id:Ie,save_type:tt}});tt===1?((a==null?void 0:a.status)==0&&Be.ZP.success("\u4FDD\u5B58\u6210\u529F"),(Qe=a==null?void 0:a.data)!=null&&Qe.exists_same_shixun_name?Xe({type:"classroomList/setActionTabs",payload:{key:"\u91CD\u540D\u4FEE\u6539",name:(de=a==null?void 0:a.data)==null?void 0:de.shixun_name}}):Xe({type:"classroomList/setActionTabs",payload:{}})):(Xe({type:"classroomList/setActionTabs",payload:{}}),(a==null?void 0:a.status)===0&&Je.default.info({title:"\u63D0\u793A",width:460,icon:null,centered:!0,content:Te.createElement("div",null,Te.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,x;(0,b.xg)(`/shixuns/${(x=(E=Ke==null?void 0:Ke.detail)==null?void 0:E.fork_from)==null?void 0:x.fork_identifier}/challenges`)}}))})},88195:function(je,Nt,re){"use strict";re.d(Nt,{Z:function(){return ee}});var b=re(59301),Be=re(76560),Je=re(92832),Te=re(78241),Ze=re(43418),lt=re(8591),he=re(54580),Xe=re(3113),Ke=re(90524),Ie=re(55351),tt={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"},ot=Object.getOwnPropertySymbols,Qe=Object.prototype.hasOwnProperty,de=Object.prototype.propertyIsEnumerable,a=(ne,oe)=>{var le={};for(var ie in ne)Qe.call(ne,ie)&&oe.indexOf(ie)<0&&(le[ie]=ne[ie]);if(ne!=null&&ot)for(var ie of ot(ne))oe.indexOf(ie)<0&&de.call(ne,ie)&&(le[ie]=ne[ie]);return le},E=(ne,oe,le)=>new Promise((ie,Ce)=>{var ye=St=>{try{Re(le.next(St))}catch(ht){Ce(ht)}},Ge=St=>{try{Re(le.throw(St))}catch(ht){Ce(ht)}},Re=St=>St.done?ie(St.value):Promise.resolve(St.value).then(ye,Ge);Re((le=le.apply(ne,oe)).next())});const x=Je.default.TextArea,y=ne=>{var oe=ne,{newShixuns:le,globalSetting:ie,loading:Ce,dispatch:ye}=oe,Ge=a(oe,["newShixuns","globalSetting","loading","dispatch"]);const[Re]=Te.default.useForm(),[St,ht]=(0,b.useState)([]),pt=_t=>{["uploading","done","removed"].includes(_t.file.status)&&ht(_t.fileList)},Gn=_t=>{var In;if(!_t.percent||_t.percent==100){const ct=(In=_t.response)==null?void 0:In.id;return Ze.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 ye({type:"newShixuns/deleteAttachment",payload:{id:ct}}))&&ht(St.filter(ln=>{var fn;return((fn=ln.response)==null?void 0:fn.id)!==ct}))})}),!1}},Tn=_t=>St.length?!1:_t.size/1024/1024>50?(lt.ZP.info("\u6587\u4EF6\u5927\u5C0F\u5FC5\u987B\u5C0F\u4E8E50MB"),!1):!0,da=_t=>E(void 0,null,function*(){var In,ct;const{language:Tt,env:ln,mode:fn,code:vn}=_t||{},nt=yield ye({type:"newShixuns/applyShixunMirror",payload:{language:Tt,runtime:ln,run_method:fn,attachment_id:(ct=(In=St==null?void 0:St[0])==null?void 0:In.response)==null?void 0:ct.id}});ye({type:"newShixuns/setActionTabs",payload:{}}),nt&<.ZP.success("\u65B0\u5EFA\u7533\u8BF7\u5DF2\u63D0\u4EA4\uFF0C\u8BF7\u7B49\u5F85\u7BA1\u7406\u5458\u5BA1\u6838\u3002")}),$n=()=>{Re.resetFields(),ht([])};return b.createElement(Ze.default,{centered:!0,keyboard:!1,closable:!1,destroyOnClose:!0,open:le.actionTabs.key==="NewShixuns-Apply",title:"\u7533\u8BF7\u65B0\u5EFA",width:"1000px",footer:null,afterClose:$n},b.createElement("section",{className:tt.qrCode},b.createElement("aside",{className:tt.a1},b.createElement("div",{className:tt.code},b.createElement("img",{width:120,height:120,src:Ie,alt:"\u4E8C\u7EF4\u7801"})),b.createElement("div",{className:tt.group},"\u5B9E\u9A8C\u73AF\u5883\u7533\u8BF7QQ\u7FA4"),b.createElement("div",{className:tt.groupNumber},"\u7FA4\u53F7\uFF1A740157011")),b.createElement("aside",{className:tt.a2},"\u5C0A\u656C\u7684\u8001\u5E08/\u540C\u5B66\u60A8\u597D\uFF0C",b.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")),b.createElement(Te.default,{className:tt.formWrap,form:Re,labelCol:{span:4},wrapperCol:{span:20},onFinish:da},b.createElement(Te.default.Item,{label:"\u8BED\u8A00\uFF1A",name:"language",rules:[{required:!0,message:"\u8BF7\u586B\u5199\u8BE5\u955C\u50CF\u8BED\u8A00"}]},b.createElement(x,{placeholder:"\u8BF7\u586B\u5199\u8BE5\u955C\u50CF\u662F\u57FA\u4E8E\u4EC0\u4E48\u8BED\u8A00\uFF1A\u793A\u4F8B\uFF1APython",rows:4})),b.createElement(Te.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"}]},b.createElement(x,{placeholder:"\u8BF7\u586B\u5199\u8BE5\u955C\u50CF\u662F\u57FA\u4E8E\u4EC0\u4E48linux\u7CFB\u7EDF\u73AF\u5883,\u4EE3\u7801\u8FD0\u884C\u73AF\u5883",rows:4})),b.createElement(Te.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"}]},b.createElement(x,{placeholder:"\u8BF7\u586B\u5199\u8BE5\u955C\u50CF\u4E2D\u6D4B\u8BD5\u4EE3\u7801\u8FD0\u884C\u65B9\u5F0F",rows:4})),b.createElement(Te.default.Item,{label:"\u6D4B\u8BD5\u4EE3\u7801\uFF1A",name:"code",rules:[{required:!0,message:"\u8BF7\u4E0A\u4F20\u9644\u4EF6"}]},b.createElement("div",{className:tt.upload},b.createElement(he.default,{fileList:St,action:`${Ke.Z.API_SERVER}/api/attachments.json?client_key=6d57f8c3dd186c5ada392546ace9620a`,onChange:pt,onRemove:Gn,beforeUpload:Tn,withCredentials:!0},b.createElement("span",{className:`${tt.color0152d9} current`},"\u4E0A\u4F20\u9644\u4EF6"),b.createElement("span",{className:`${tt.colorCCC} ml10`},"(\u5355\u4E2A\u6587\u4EF650M\u4EE5\u5185)")))),b.createElement("div",{className:tt.footerWrap},b.createElement(Te.default.Item,null,b.createElement(Xe.ZP,{className:"mr5",size:"middle",onClick:()=>{ye({type:"newShixuns/setActionTabs",payload:{}})}},"\u53D6\u6D88"),b.createElement(Xe.ZP,{size:"middle",type:"primary",htmlType:"submit",loading:Ce["newShixuns/applyShixunMirror"]},"\u4FDD\u5B58")))))};var ee=(0,Be.connect)(({newShixuns:ne,loading:oe,globalSetting:le})=>({newShixuns:ne,globalSetting:le,loading:oe.effects}))(y)},84722:function(je,Nt,re){"use strict";var b=re(59301),Be=re(76560),Je=re(43418),Te=re(55351);const Ze=({newShixuns:lt,dispatch:he,user:Xe})=>{var Ke;const[Ie,tt]=(0,b.useState)(!1);(0,b.useEffect)(()=>{lt.actionTabs.key==="Create-Environment"&&Qe()},[(Ke=lt==null?void 0:lt.actionTabs)==null?void 0:Ke.key]);const ot=()=>{he({type:"newShixuns/setActionTabs",payload:{}})},Qe=()=>{var de,a,E,x;ot(),((de=Xe.userInfo)==null?void 0:de.mirror_marker_status)===0?tt(!0):((a=Xe.userInfo)==null?void 0:a.mirror_marker_status)===1?Be.history.push(`/users/${(E=Xe.userInfo)==null?void 0:E.login}/experiment-img/add`):((x=Xe.userInfo)==null?void 0:x.mirror_marker_status)===2&&Je.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;Be.history.push(`/users/${(y=Xe.userInfo)==null?void 0:y.login}/experiment-img`)}})};return b.createElement(Je.default,{title:"\u52A0\u5165qq\u7FA4\u63D0\u793A",open:Ie,footer:null,onCancel:()=>{tt(!1)}},b.createElement("div",{style:{textAlign:"center"}},b.createElement("br",null),b.createElement("img",{width:120,height:120,style:{marginTop:"20px"},src:Te,alt:"\u4E8C\u7EF4\u7801"})),b.createElement("img",null))};Nt.Z=(0,Be.connect)(({newShixuns:lt,user:he,globalSetting:Xe})=>({newShixuns:lt,globalSetting:Xe,user:he}))(Ze)},2610:function(je,Nt,re){"use strict";re.d(Nt,{BU:function(){return Be},Dj:function(){return b},gH:function(){return Je},vp:function(){return Te}});function b(Ze){try{Ze.mozRequestFullScreen?Ze.mozRequestFullScreen():Ze.webkitRequestFullScreen&&Ze.webkitRequestFullScreen()}catch(lt){console.log(lt,":e")}}function Be(){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 Je=()=>{if(document.webkitExitFullscreen)return"webkitfullscreenchange";if(document.exitFullscreen)return"fullscreenchange";if(document.msExitFullscreen)return"msfullscreenchange";if(document.mozCancelFullScreen)return"mozfullscreenchange"};function Te(){var Ze=window.top.document.fullscreenElement||window.top.document.mozFullscreenElement||window.top.document.webkitFullscreenElement,lt=document.fullscreenEnabled||document.mozFullscreenEnabled||document.webkitFullscreenEnabled;return console.log("fullscreenElement",Ze),window.isFullScreen?window.isFullScreen:Ze!=null}},23869:function(je,Nt,re){"use strict";re.d(Nt,{rX:function(){return oe},pW:function(){return le},gy:function(){return ie},xY:function(){return ne},O5:function(){return ee},tJ:function(){return de},o1:function(){return a},Rd:function(){return y}});var b=re(76560),Be=re(43418),Je=re(28103),Te=re(8591),Ze=re(34055),lt=re(49661),he=re(87169),Xe=re(25510),Ke="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZAAAAGQCAIAAAAP3aGbAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAABcRAAAXEQHKJvM/AAAouElEQVR42u3de5gU1Z038HOqqu89PQPMhQHkNqCiCCK5qMRojIkXRNFERDTGNRvik5hNjPtgzEuyJLq6sq/EbEyy+u5jjBEhSEREvKyXQJRVs1FEMARhhhlgLsDAMD3T96o67x8zzP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ctWqVStXrjT4ZtsqK+RE5Ql7K1BpvAtHmdhWI8S2QhcWDWswG1gVFRVVVVVWtCxbOBy2ehMA4H44JQQAMhBYAEAGAgsAyEBgAQAZCCwAIMOSSShM3tFsaWkp+J1HZx+RN75O23pkRWEGk5wdEWJFN0023mTdEWfH9xjvZl5whAUAZCCwAIAMBBYAkIHAAgAyEFgAQAYCCwDIsGRYg7NIP99vRd+tKDlg2zutYLxJzk7/Ydv+dOEcKwPBERYAkIHAAgAyEFgAQAYCCwDIQGABABkILAAgowiHNYzk4QJWPEzvwm7mZEVlBZP1Epwd65CTbSMYLBq5giMsACADgQUAZCCwAIAMBBYAkIHAAgAyEFgAQIYlwxpaWlrMLG5yBgrbSvfbVnKASsED25j8iE2u0/jiJsc6uLBWhLPrZBYFVsHnvAEAYDglBABCEFgAQAYCCwDIQGABABlmL7qvWrUqHA5b3cotW7bYszsAwM24FXeIbUPl0XPbahsY76ZtU3W48+64ma0bZ9tnZFtdB9tKoQwEp4QAQAYCCwDIQGABABkILAAgA4EFAGQgsACAjDyGNQAAOAtHWABABgILAMhAYAEAGQgsACADgQUAZCCwAIAMBBYAkIHAAgAyEFgAQAYCCwDIQGABABkILAAgA4EFAGQgsACAjP8Prqme11Be/zoAAAAASUVORK5CYII=",Ie=re.p+"static/newqrcode.a8740efb.png",tt=re(32637),ot=re(59301),Qe=(Ce,ye,Ge)=>new Promise((Re,St)=>{var ht=Tn=>{try{Gn(Ge.next(Tn))}catch(da){St(da)}},pt=Tn=>{try{Gn(Ge.throw(Tn))}catch(da){St(da)}},Gn=Tn=>Tn.done?Re(Tn.value):Promise.resolve(Tn.value).then(ht,pt);Gn((Ge=Ge.apply(Ce,ye)).next())});const de=(Ce,ye=!1)=>!!(a(Ce)&&E(ye)),a=Ce=>(0,Ze.bg)()?!0:(Ce({type:"user/showPopLogin",payload:{showPopLogin:!0,showClosable:!0}}),!1),E=(Ce=!1)=>{var ye;const{user:Ge}=(0,b.getDvaApp)()._store.getState();return(ye=Ge.userInfo)!=null&&ye.profile_completed?!0:(Be.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,lt.xg)("/account/profile/edit"),x()}}),!1)},x=()=>{Be.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()}})},y=()=>{Be.default.warning({title:"\u63D0\u793A",icon:null,width:400,content:ot.createElement("div",{style:{textAlign:"center"}},ot.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"),ot.createElement("img",{style:{border:"1px solid #D8E3E9",width:190,height:180},src:tt}),ot.createElement("div",{style:{color:"#666666",fontSize:14,marginTop:15}},"\u6DFB\u52A0\u5BA2\u670D\u4EBA\u5458\u5FAE\u4FE1\uFF0C\u83B7\u5F97\u66F4\u591A\u652F\u6301"))})},ee=()=>{var Ce;const{user:ye}=(0,b.getDvaApp)()._store.getState();return(Ce=ye.userInfo)!=null&&Ce.professional_certification?!0:(Be.default.confirm({title:"\u63D0\u793A",centered:!0,content:ot.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,lt.xg)("/account/certification")}}),!1)},ne=()=>(0,Ze.V9)()?!0:(Be.default.warning({centered:!0,width:530,title:"\u63D0\u793A",content:ot.createElement("div",{className:"tc",style:{marginLeft:-38}},ot.createElement("p",null,"\u626B\u7801\u52A0\u52A9\u6559\uFF0C\u7533\u8BF7\u64CD\u4F5C\u6743\u9650"),ot.createElement("img",{src:Ie,width:200})),okText:"\u6211\u77E5\u9053\u4E86",maskClosable:!0}),!1),oe=(Ce,ye)=>Ce?!0:(Be.default.confirm({centered:!0,zIndex:1e4,width:530,title:"\u63D0\u793A",content:ot.createElement("div",null,ot.createElement("p",null,ye||"\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"),ot.createElement("div",{style:{marginLeft:"110px"}},ot.createElement("img",{src:Ke,width:200}),ot.createElement("div",{style:{marginLeft:"35px"}},"\u7FA4\u53F7\uFF1A","714336072"))),okText:"\u7ACB\u5373\u8054\u7CFB",cancelText:"\u53D6\u6D88",onOk:()=>{(0,lt.xg)("https://qm.qq.com/cgi-bin/qm/qr?k=tIyDPXUtE0yEk-MOJxhH55lTUJS-nYAM&jump_from=webapi")}}),!1),le=Ce=>{Be.default.info({title:"\u8054\u7CFB\u5E73\u53F0\u8FD0\u8425",icon:null,width:615,centered:!0,content:ot.createElement("div",null,ot.createElement("div",null,ot.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"),ot.createElement(Je.Z,null),ot.createElement("p",{style:{color:"#666666",fontSize:12}}," ",ot.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 ",ot.createElement("a",null,Ce),"\u5929\u3002"),ot.createElement("p",{style:{color:"#666666",fontSize:12}}," ",ot.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")),ot.createElement("div",{style:{textAlign:"center",marginTop:30}},ot.createElement("img",{style:{border:"4px solid #0152d9",borderRadius:"4px"},src:Xe,alt:"\u4E8C\u7EF4\u7801",width:160})))})},ie=(Ce,ye="")=>{const{shixunsDetail:{detail:Ge}}=(0,b.getDvaApp)()._store.getState();if((Ge==null?void 0:Ge.public)===2||(Ge==null?void 0:Ge.public)===1||(Ge==null?void 0:Ge.shixun_status)===3){let Re="";return(Ge==null?void 0:Ge.public)===2&&(Re="\u5DF2\u516C\u5F00"),(Ge==null?void 0:Ge.public)===1&&(Re="\u5F85\u5BA1\u6838"),(Ge==null?void 0:Ge.shixun_status)===3&&(Re="\u5DF2\u5173\u95ED"),Be.default.info({centered:!0,icon:ot.createElement(he.Z,{style:{color:"#faad14"}}),width:460,title:"\u63D0\u793A",content:ot.createElement("div",{className:"tc",style:{marginLeft:-38}},ot.createElement("div",{style:{display:"flex",flexDirection:"column",alignItems:"flex-start",paddingLeft:38,margin:"12px 0"}},ot.createElement("span",null,"\u8BE5\u5B9E\u8DF5\u9879\u76EE\u7684\u72B6\u6001\u4E3A",Re,"\uFF0C",ye,"\u3002"),ot.createElement("p",null,"\u5982\u6709\u9700\u8981\uFF0C\u8BF7\u8054\u7CFB\u5E73\u53F0\u7BA1\u7406\u5458\u8FDB\u884C\u6280\u672F\u652F\u6301\u3002")),ot.createElement("img",{style:{border:"4px solid #0152d9",borderRadius:"4px"},src:Xe,alt:"\u4E8C\u7EF4\u7801",width:160})),okText:"\u6211\u77E5\u9053\u4E86"}),!0}return(Ge==null?void 0:Ge.shixun_status)===2?(Be.default.confirm({centered:!0,icon:ot.createElement(he.Z,null),title:"\u63D0\u793A",content:ot.createElement("div",null,ot.createElement("span",null,"\u8BE5\u5B9E\u8DF5\u9879\u76EE\u5DF2\u53D1\u5E03\uFF0C",ye,"\u3002"),ot.createElement("br",null),ot.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:()=>{Be.default.confirm({width:440,centered:!0,icon:ot.createElement(he.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:()=>Qe(void 0,null,function*(){(yield Ce({type:"shixunsDetail/cancelRelease",payload:{id:Ge==null?void 0:Ge.identifier}})).status!==401&&(Te.ZP.success("\u64A4\u9500\u53D1\u5E03\u6210\u529F\u3002\u5B9E\u8BAD\u56DE\u5230\u672A\u53D1\u5E03\u7684\u72B6\u6001\u3002"),Ce({type:"shixunsDetail/getShixunsDetail",payload:{id:Ge==null?void 0:Ge.identifier}}),Ce({type:"practiceSetting/getCommonData",payload:{id:Ge==null?void 0:Ge.identifier}}))})})}}),!0):!1}},77578:function(je,Nt,re){"use strict";re.d(Nt,{Z:function(){return b}});const b=Be=>Be?typeof Be=="function"?Be():Be:null},46400:function(je,Nt,re){"use strict";re.d(Nt,{Z:function(){return $n}});var b=re(29679),Be=re(19248),Je=re(99267),Te=re(96512),Ze=re(78987),lt=re(92310),he=re.n(lt),Xe=re(77900),Ke=re(26112),Ie=re(59301),tt=re(92343),ot=re(36355),Qe=re(17313),de=re(83116);const a=(_t,In,ct,Tt,ln)=>({backgroundColor:_t,border:`${Tt.lineWidth}px ${Tt.lineType} ${In}`,[`${ln}-icon`]:{color:ct}}),E=_t=>{const{componentCls:In,motionDurationSlow:ct,marginXS:Tt,marginSM:ln,fontSize:fn,fontSizeLG:vn,lineHeight:nt,borderRadiusLG:vt,motionEaseInOutCirc:Bt,withDescriptionIconSize:Bn,colorText:nn,colorTextHeading:on,withDescriptionPadding:De,defaultPadding:Pe}=_t;return{[In]:Object.assign(Object.assign({},(0,Qe.Wf)(_t)),{position:"relative",display:"flex",alignItems:"center",padding:Pe,wordWrap:"break-word",borderRadius:vt,[`&${In}-rtl`]:{direction:"rtl"},[`${In}-content`]:{flex:1,minWidth:0},[`${In}-icon`]:{marginInlineEnd:Tt,lineHeight:0},"&-description":{display:"none",fontSize:fn,lineHeight:nt},"&-message":{color:on},[`&${In}-motion-leave`]:{overflow:"hidden",opacity:1,transition:`max-height ${ct} ${Bt}, opacity ${ct} ${Bt}, padding-top ${ct} ${Bt}, padding-bottom ${ct} ${Bt}, - margin-bottom ${ct} ${Bt}`},[`&${In}-motion-leave-active`]:{maxHeight:0,marginBottom:"0 !important",paddingTop:0,paddingBottom:0,opacity:0}}),[`${In}-with-description`]:{alignItems:"flex-start",padding:De,[`${In}-icon`]:{marginInlineEnd:ln,fontSize:Bn,lineHeight:0},[`${In}-message`]:{display:"block",marginBottom:Tt,color:on,fontSize:vn},[`${In}-description`]:{display:"block",color:nn}},[`${In}-banner`]:{marginBottom:0,border:"0 !important",borderRadius:0}}},x=_t=>{const{componentCls:In,colorSuccess:ct,colorSuccessBorder:Tt,colorSuccessBg:ln,colorWarning:fn,colorWarningBorder:vn,colorWarningBg:nt,colorError:vt,colorErrorBorder:Bt,colorErrorBg:Bn,colorInfo:nn,colorInfoBorder:on,colorInfoBg:De}=_t;return{[In]:{"&-success":a(ln,Tt,ct,_t,In),"&-info":a(De,on,nn,_t,In),"&-warning":a(nt,vn,fn,_t,In),"&-error":Object.assign(Object.assign({},a(Bn,Bt,vt,_t,In)),{[`${In}-description > pre`]:{margin:0,padding:0}})}}},y=_t=>{const{componentCls:In,iconCls:ct,motionDurationMid:Tt,marginXS:ln,fontSizeIcon:fn,colorIcon:vn,colorIconHover:nt}=_t;return{[In]:{"&-action":{marginInlineStart:ln},[`${In}-close-icon`]:{marginInlineStart:ln,padding:0,overflow:"hidden",fontSize:fn,lineHeight:`${fn}px`,backgroundColor:"transparent",border:"none",outline:"none",cursor:"pointer",[`${ct}-close`]:{color:vn,transition:`color ${Tt}`,"&:hover":{color:nt}}},"&-close-text":{color:vn,transition:`color ${Tt}`,"&:hover":{color:nt}}}}},ee=_t=>[E(_t),x(_t),y(_t)];var ne=(0,de.Z)("Alert",_t=>[ee(_t)],_t=>({withDescriptionIconSize:_t.fontSizeHeading3,defaultPadding:`${_t.paddingContentVerticalSM}px 12px`,withDescriptionPadding:`${_t.paddingMD}px ${_t.paddingContentHorizontalLG}px`})),oe=function(_t,In){var ct={};for(var Tt in _t)Object.prototype.hasOwnProperty.call(_t,Tt)&&In.indexOf(Tt)<0&&(ct[Tt]=_t[Tt]);if(_t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ln=0,Tt=Object.getOwnPropertySymbols(_t);ln{const{icon:In,prefixCls:ct,type:Tt}=_t,ln=le[Tt]||null;return In?(0,tt.wm)(In,Ie.createElement("span",{className:`${ct}-icon`},In),()=>({className:he()(`${ct}-icon`,{[In.props.className]:In.props.className})})):Ie.createElement(ln,{className:`${ct}-icon`})},Ce=_t=>{const{isClosable:In,prefixCls:ct,closeIcon:Tt,handleClose:ln}=_t,fn=Tt===!0||Tt===void 0?Ie.createElement(Je.Z,null):Tt;return In?Ie.createElement("button",{type:"button",onClick:ln,className:`${ct}-close-icon`,tabIndex:0},fn):null};var Ge=_t=>{const{description:In,prefixCls:ct,message:Tt,banner:ln,className:fn,rootClassName:vn,style:nt,onMouseEnter:vt,onMouseLeave:Bt,onClick:Bn,afterClose:nn,showIcon:on,closable:De,closeText:Pe,closeIcon:He,action:Ft}=_t,bt=oe(_t,["description","prefixCls","message","banner","className","rootClassName","style","onMouseEnter","onMouseLeave","onClick","afterClose","showIcon","closable","closeText","closeIcon","action"]),[It,Ut]=Ie.useState(!1),jt=Ie.useRef(null),{getPrefixCls:bn,direction:Lt,alert:Fe}=Ie.useContext(ot.E_),xe=bn("alert",ct),[gt,Mt]=ne(xe),qt=an=>{var mt;Ut(!0),(mt=_t.onClose)===null||mt===void 0||mt.call(_t,an)},Vt=Ie.useMemo(()=>_t.type!==void 0?_t.type:ln?"warning":"info",[_t.type,ln]),kt=Ie.useMemo(()=>Pe?!0:typeof De=="boolean"?De:He!==!1&&He!==null&&He!==void 0,[Pe,He,De]),rn=ln&&on===void 0?!0:on,Wt=he()(xe,`${xe}-${Vt}`,{[`${xe}-with-description`]:!!In,[`${xe}-no-icon`]:!rn,[`${xe}-banner`]:!!ln,[`${xe}-rtl`]:Lt==="rtl"},Fe==null?void 0:Fe.className,fn,vn,Mt),yt=(0,Ke.Z)(bt,{aria:!0,data:!0});return gt(Ie.createElement(Xe.default,{visible:!It,motionName:`${xe}-motion`,motionAppear:!1,motionEnter:!1,onLeaveStart:an=>({maxHeight:an.offsetHeight}),onLeaveEnd:nn},an=>{let{className:mt,style:At}=an;return Ie.createElement("div",Object.assign({ref:jt,"data-show":!It,className:he()(Wt,mt),style:Object.assign(Object.assign(Object.assign({},Fe==null?void 0:Fe.style),nt),At),onMouseEnter:vt,onMouseLeave:Bt,onClick:Bn,role:"alert"},yt),rn?Ie.createElement(ie,{description:In,icon:_t.icon,prefixCls:xe,type:Vt}):null,Ie.createElement("div",{className:`${xe}-content`},Tt?Ie.createElement("div",{className:`${xe}-message`},Tt):null,In?Ie.createElement("div",{className:`${xe}-description`},In):null),Ft?Ie.createElement("div",{className:`${xe}-action`},Ft):null,Ie.createElement(Ce,{isClosable:kt,prefixCls:xe,closeIcon:Pe||He,handleClose:qt}))}))},Re=re(42573),St=re(58698),ht=re(74700),pt=re(45080),Tn=function(_t){(0,ht.Z)(ct,_t);var In=(0,pt.Z)(ct);function ct(){var Tt;return(0,Re.Z)(this,ct),Tt=In.apply(this,arguments),Tt.state={error:void 0,info:{componentStack:""}},Tt}return(0,St.Z)(ct,[{key:"componentDidCatch",value:function(ln,fn){this.setState({error:ln,info:fn})}},{key:"render",value:function(){const{message:ln,description:fn,children:vn}=this.props,{error:nt,info:vt}=this.state,Bt=vt&&vt.componentStack?vt.componentStack:null,Bn=typeof ln=="undefined"?(nt||"").toString():ln,nn=typeof fn=="undefined"?Bt:fn;return nt?Ie.createElement(Ge,{type:"error",message:Bn,description:Ie.createElement("pre",{style:{fontSize:"0.9em",overflowX:"auto"}},nn)}):vn}}]),ct}(Ie.Component);const da=Ge;da.ErrorBoundary=Tn;var $n=da},88522:function(je,Nt,re){"use strict";var b=re(92310),Be=re.n(b),Je=re(11592),Te=re(2738),Ze=re(59301),lt=re(53487),he=re(92343),Xe=re(36355),Ke=re(57809);const{Option:Ie}=Ke.default;function tt(a){return a&&a.type&&(a.type.isSelectOption||a.type.isSelectOptGroup)}const ot=(a,E)=>{const{prefixCls:x,className:y,popupClassName:ee,dropdownClassName:ne,children:oe,dataSource:le}=a,ie=(0,Je.Z)(oe);let Ce;ie.length===1&&(0,he.l$)(ie[0])&&!tt(ie[0])&&([Ce]=ie);const ye=Ce?()=>Ce:void 0;let Ge;ie.length&&tt(ie[0])?Ge=oe:Ge=le?le.map(ht=>{if((0,he.l$)(ht))return ht;switch(typeof ht){case"string":return Ze.createElement(Ie,{key:ht,value:ht},ht);case"object":{const{value:pt}=ht;return Ze.createElement(Ie,{key:pt,value:pt},ht.text)}default:return}}):[];const{getPrefixCls:Re}=Ze.useContext(Xe.E_),St=Re("select",x);return Ze.createElement(Ke.default,Object.assign({ref:E,suffixIcon:null},(0,Te.Z)(a,["dataSource","dropdownClassName"]),{prefixCls:St,popupClassName:ee||ne,className:Be()(`${St}-auto-complete`,y),mode:Ke.default.SECRET_COMBOBOX_MODE_DO_NOT_USE},{getInputElement:ye}),Ge)},Qe=Ze.forwardRef(ot),de=(0,lt.Z)(Qe);Qe.Option=Ie,Qe._InternalPanelDoNotUseOrYouWillBeFired=de,Nt.Z=Qe},49127:function(je,Nt,re){"use strict";re.d(Nt,{Z:function(){return In}});var b=re(92310),Be=re.n(b),Je=re(77900),Te=re(59301),Ze=re(36785),lt=re(92343),he=re(36355),Xe=re(36237),Ke=re(17313),Ie=re(45157),tt=re(37613),ot=re(83116);const Qe=new Xe.Keyframes("antStatusProcessing",{"0%":{transform:"scale(0.8)",opacity:.5},"100%":{transform:"scale(2.4)",opacity:0}}),de=new Xe.Keyframes("antZoomBadgeIn",{"0%":{transform:"scale(0) translate(50%, -50%)",opacity:0},"100%":{transform:"scale(1) translate(50%, -50%)"}}),a=new Xe.Keyframes("antZoomBadgeOut",{"0%":{transform:"scale(1) translate(50%, -50%)"},"100%":{transform:"scale(0) translate(50%, -50%)",opacity:0}}),E=new Xe.Keyframes("antNoWrapperZoomBadgeIn",{"0%":{transform:"scale(0)",opacity:0},"100%":{transform:"scale(1)"}}),x=new Xe.Keyframes("antNoWrapperZoomBadgeOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0)",opacity:0}}),y=new Xe.Keyframes("antBadgeLoadingCircle",{"0%":{transformOrigin:"50%"},"100%":{transform:"translate(50%, -50%) rotate(360deg)",transformOrigin:"50%"}}),ee=ct=>{const{componentCls:Tt,iconCls:ln,antCls:fn,badgeShadowSize:vn,motionDurationSlow:nt,textFontSize:vt,textFontSizeSM:Bt,statusSize:Bn,dotSize:nn,textFontWeight:on,indicatorHeight:De,indicatorHeightSM:Pe,marginXS:He}=ct,Ft=`${fn}-scroll-number`,bt=(0,Ie.Z)(ct,(It,Ut)=>{let{darkColor:jt}=Ut;return{[`&${Tt} ${Tt}-color-${It}`]:{background:jt,[`&:not(${Tt}-count)`]:{color:jt}}}});return{[Tt]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,Ke.Wf)(ct)),{position:"relative",display:"inline-block",width:"fit-content",lineHeight:1,[`${Tt}-count`]:{zIndex:ct.indicatorZIndex,minWidth:De,height:De,color:ct.badgeTextColor,fontWeight:on,fontSize:vt,lineHeight:`${De}px`,whiteSpace:"nowrap",textAlign:"center",background:ct.badgeColor,borderRadius:De/2,boxShadow:`0 0 0 ${vn}px ${ct.badgeShadowColor}`,transition:`background ${ct.motionDurationMid}`,a:{color:ct.badgeTextColor},"a:hover":{color:ct.badgeTextColor},"a:hover &":{background:ct.badgeColorHover}},[`${Tt}-count-sm`]:{minWidth:Pe,height:Pe,fontSize:Bt,lineHeight:`${Pe}px`,borderRadius:Pe/2},[`${Tt}-multiple-words`]:{padding:`0 ${ct.paddingXS}px`,bdi:{unicodeBidi:"plaintext"}},[`${Tt}-dot`]:{zIndex:ct.indicatorZIndex,width:nn,minWidth:nn,height:nn,background:ct.badgeColor,borderRadius:"100%",boxShadow:`0 0 0 ${vn}px ${ct.badgeShadowColor}`},[`${Tt}-dot${Ft}`]:{transition:`background ${nt}`},[`${Tt}-count, ${Tt}-dot, ${Ft}-custom-component`]:{position:"absolute",top:0,insetInlineEnd:0,transform:"translate(50%, -50%)",transformOrigin:"100% 0%",[`&${ln}-spin`]:{animationName:y,animationDuration:"1s",animationIterationCount:"infinite",animationTimingFunction:"linear"}},[`&${Tt}-status`]:{lineHeight:"inherit",verticalAlign:"baseline",[`${Tt}-status-dot`]:{position:"relative",top:-1,display:"inline-block",width:Bn,height:Bn,verticalAlign:"middle",borderRadius:"50%"},[`${Tt}-status-success`]:{backgroundColor:ct.colorSuccess},[`${Tt}-status-processing`]:{overflow:"visible",color:ct.colorPrimary,backgroundColor:ct.colorPrimary,"&::after":{position:"absolute",top:0,insetInlineStart:0,width:"100%",height:"100%",borderWidth:vn,borderStyle:"solid",borderColor:"inherit",borderRadius:"50%",animationName:Qe,animationDuration:ct.badgeProcessingDuration,animationIterationCount:"infinite",animationTimingFunction:"ease-in-out",content:'""'}},[`${Tt}-status-default`]:{backgroundColor:ct.colorTextPlaceholder},[`${Tt}-status-error`]:{backgroundColor:ct.colorError},[`${Tt}-status-warning`]:{backgroundColor:ct.colorWarning},[`${Tt}-status-text`]:{marginInlineStart:He,color:ct.colorText,fontSize:ct.fontSize}}}),bt),{[`${Tt}-zoom-appear, ${Tt}-zoom-enter`]:{animationName:de,animationDuration:ct.motionDurationSlow,animationTimingFunction:ct.motionEaseOutBack,animationFillMode:"both"},[`${Tt}-zoom-leave`]:{animationName:a,animationDuration:ct.motionDurationSlow,animationTimingFunction:ct.motionEaseOutBack,animationFillMode:"both"},[`&${Tt}-not-a-wrapper`]:{[`${Tt}-zoom-appear, ${Tt}-zoom-enter`]:{animationName:E,animationDuration:ct.motionDurationSlow,animationTimingFunction:ct.motionEaseOutBack},[`${Tt}-zoom-leave`]:{animationName:x,animationDuration:ct.motionDurationSlow,animationTimingFunction:ct.motionEaseOutBack},[`&:not(${Tt}-status)`]:{verticalAlign:"middle"},[`${Ft}-custom-component, ${Tt}-count`]:{transform:"none"},[`${Ft}-custom-component, ${Ft}`]:{position:"relative",top:"auto",display:"block",transformOrigin:"50% 50%"}},[`${Ft}`]:{overflow:"hidden",[`${Ft}-only`]:{position:"relative",display:"inline-block",height:De,transition:`all ${ct.motionDurationSlow} ${ct.motionEaseOutBack}`,WebkitTransformStyle:"preserve-3d",WebkitBackfaceVisibility:"hidden",[`> p${Ft}-only-unit`]:{height:De,margin:0,WebkitTransformStyle:"preserve-3d",WebkitBackfaceVisibility:"hidden"}},[`${Ft}-symbol`]:{verticalAlign:"top"}},"&-rtl":{direction:"rtl",[`${Tt}-count, ${Tt}-dot, ${Ft}-custom-component`]:{transform:"translate(-50%, -50%)"}}})}},ne=ct=>{const{fontSize:Tt,lineHeight:ln,lineWidth:fn,marginXS:vn,colorBorderBg:nt}=ct,vt=Math.round(Tt*ln),Bt=fn,Bn=ct.colorBgContainer,nn=ct.colorError,on=ct.colorErrorHover;return(0,tt.TS)(ct,{badgeFontHeight:vt,badgeShadowSize:Bt,badgeTextColor:Bn,badgeColor:nn,badgeColorHover:on,badgeShadowColor:nt,badgeProcessingDuration:"1.2s",badgeRibbonOffset:vn,badgeRibbonCornerTransform:"scaleY(0.75)",badgeRibbonCornerFilter:"brightness(75%)"})},oe=ct=>{const{fontSize:Tt,lineHeight:ln,fontSizeSM:fn,lineWidth:vn}=ct;return{indicatorZIndex:"auto",indicatorHeight:Math.round(Tt*ln)-2*vn,indicatorHeightSM:Tt,dotSize:fn/2,textFontSize:fn,textFontSizeSM:fn,textFontWeight:"normal",statusSize:fn/2}};var le=(0,ot.Z)("Badge",ct=>{const Tt=ne(ct);return[ee(Tt)]},oe);const ie=ct=>{const{antCls:Tt,badgeFontHeight:ln,marginXS:fn,badgeRibbonOffset:vn}=ct,nt=`${Tt}-ribbon`,vt=`${Tt}-ribbon-wrapper`,Bt=(0,Ie.Z)(ct,(Bn,nn)=>{let{darkColor:on}=nn;return{[`&${nt}-color-${Bn}`]:{background:on,color:on}}});return{[`${vt}`]:{position:"relative"},[`${nt}`]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,Ke.Wf)(ct)),{position:"absolute",top:fn,padding:`0 ${ct.paddingXS}px`,color:ct.colorPrimary,lineHeight:`${ln}px`,whiteSpace:"nowrap",backgroundColor:ct.colorPrimary,borderRadius:ct.borderRadiusSM,[`${nt}-text`]:{color:ct.colorTextLightSolid},[`${nt}-corner`]:{position:"absolute",top:"100%",width:vn,height:vn,color:"currentcolor",border:`${vn/2}px solid`,transform:ct.badgeRibbonCornerTransform,transformOrigin:"top",filter:ct.badgeRibbonCornerFilter}}),Bt),{[`&${nt}-placement-end`]:{insetInlineEnd:-vn,borderEndEndRadius:0,[`${nt}-corner`]:{insetInlineEnd:0,borderInlineEndColor:"transparent",borderBlockEndColor:"transparent"}},[`&${nt}-placement-start`]:{insetInlineStart:-vn,borderEndStartRadius:0,[`${nt}-corner`]:{insetInlineStart:0,borderBlockEndColor:"transparent",borderInlineStartColor:"transparent"}},"&-rtl":{direction:"rtl"}})}};var Ce=(0,ot.Z)(["Badge","Ribbon"],ct=>{const Tt=ne(ct);return[ie(Tt)]},oe),Ge=ct=>{const{className:Tt,prefixCls:ln,style:fn,color:vn,children:nt,text:vt,placement:Bt="end",rootClassName:Bn}=ct,{getPrefixCls:nn,direction:on}=Te.useContext(he.E_),De=nn("ribbon",ln),Pe=(0,Ze.o2)(vn,!1),He=Be()(De,`${De}-placement-${Bt}`,{[`${De}-rtl`]:on==="rtl",[`${De}-color-${vn}`]:Pe},Tt),[Ft,bt]=Ce(De),It={},Ut={};return vn&&!Pe&&(It.background=vn,Ut.color=vn),Ft(Te.createElement("div",{className:Be()(`${De}-wrapper`,Bn,bt)},nt,Te.createElement("div",{className:Be()(He,bt),style:Object.assign(Object.assign({},It),fn)},Te.createElement("span",{className:`${De}-text`},vt),Te.createElement("div",{className:`${De}-corner`,style:Ut}))))};function Re(ct){let{prefixCls:Tt,value:ln,current:fn,offset:vn=0}=ct,nt;return vn&&(nt={position:"absolute",top:`${vn}00%`,left:0}),Te.createElement("span",{style:nt,className:Be()(`${Tt}-only-unit`,{current:fn})},ln)}function St(ct,Tt,ln){let fn=ct,vn=0;for(;(fn+10)%10!==Tt;)fn+=ln,vn+=ln;return vn}function ht(ct){const{prefixCls:Tt,count:ln,value:fn}=ct,vn=Number(fn),nt=Math.abs(ln),[vt,Bt]=Te.useState(vn),[Bn,nn]=Te.useState(nt),on=()=>{Bt(vn),nn(nt)};Te.useEffect(()=>{const He=setTimeout(()=>{on()},1e3);return()=>{clearTimeout(He)}},[vn]);let De,Pe;if(vt===vn||Number.isNaN(vn)||Number.isNaN(vt))De=[Te.createElement(Re,Object.assign({},ct,{key:vn,current:!0}))],Pe={transition:"none"};else{De=[];const He=vn+10,Ft=[];for(let Ut=vn;Ut<=He;Ut+=1)Ft.push(Ut);const bt=Ft.findIndex(Ut=>Ut%10===vt);De=Ft.map((Ut,jt)=>{const bn=Ut%10;return Te.createElement(Re,Object.assign({},ct,{key:Ut,value:bn,offset:jt-bt,current:jt===bt}))});const It=Bn{const{prefixCls:ln,count:fn,className:vn,motionClassName:nt,style:vt,title:Bt,show:Bn,component:nn="sup",children:on}=ct,De=pt(ct,["prefixCls","count","className","motionClassName","style","title","show","component","children"]),{getPrefixCls:Pe}=Te.useContext(he.E_),He=Pe("scroll-number",ln),Ft=Object.assign(Object.assign({},De),{"data-show":Bn,style:vt,className:Be()(He,vn,nt),title:Bt});let bt=fn;if(fn&&Number(fn)%1===0){const It=String(fn).split("");bt=Te.createElement("bdi",null,It.map((Ut,jt)=>Te.createElement(ht,{prefixCls:He,count:Number(fn),value:Ut,key:It.length-jt})))}return vt&&vt.borderColor&&(Ft.style=Object.assign(Object.assign({},vt),{boxShadow:`0 0 0 1px ${vt.borderColor} inset`})),on?(0,lt.Tm)(on,It=>({className:Be()(`${He}-custom-component`,It==null?void 0:It.className,nt)})):Te.createElement(nn,Object.assign({},Ft,{ref:Tt}),bt)}),da=function(ct,Tt){var ln={};for(var fn in ct)Object.prototype.hasOwnProperty.call(ct,fn)&&Tt.indexOf(fn)<0&&(ln[fn]=ct[fn]);if(ct!=null&&typeof Object.getOwnPropertySymbols=="function")for(var vn=0,fn=Object.getOwnPropertySymbols(ct);vn{var ln,fn,vn,nt,vt;const{prefixCls:Bt,scrollNumberPrefixCls:Bn,children:nn,status:on,text:De,color:Pe,count:He=null,overflowCount:Ft=99,dot:bt=!1,size:It="default",title:Ut,offset:jt,style:bn,className:Lt,rootClassName:Fe,classNames:xe,styles:gt,showZero:Mt=!1}=ct,qt=da(ct,["prefixCls","scrollNumberPrefixCls","children","status","text","color","count","overflowCount","dot","size","title","offset","style","className","rootClassName","classNames","styles","showZero"]),{getPrefixCls:Vt,direction:kt,badge:rn}=Te.useContext(he.E_),Wt=Vt("badge",Bt),[yt,an]=le(Wt),mt=He>Ft?`${Ft}+`:He,At=mt==="0"||mt===0,xt=He===null||At&&!Mt,cn=(on!=null||Pe!=null)&&xt,Dt=bt&&!At,Ot=Dt?"":mt,xn=(0,Te.useMemo)(()=>(Ot==null||Ot===""||At&&!Mt)&&!Dt,[Ot,At,Mt,Dt]),Gt=(0,Te.useRef)(He);xn||(Gt.current=He);const Kn=Gt.current,za=(0,Te.useRef)(Ot);xn||(za.current=Ot);const sr=za.current,Ya=(0,Te.useRef)(Dt);xn||(Ya.current=Dt);const Da=(0,Te.useMemo)(()=>{if(!jt)return Object.assign(Object.assign({},rn==null?void 0:rn.style),bn);const br={marginTop:jt[1]};return kt==="rtl"?br.left=parseInt(jt[0],10):br.right=-parseInt(jt[0],10),Object.assign(Object.assign(Object.assign({},br),rn==null?void 0:rn.style),bn)},[kt,jt,bn,rn==null?void 0:rn.style]),Lr=Ut!=null?Ut:typeof Kn=="string"||typeof Kn=="number"?Kn:void 0,cr=xn||!De?null:Te.createElement("span",{className:`${Wt}-status-text`},De),Ha=!Kn||typeof Kn!="object"?void 0:(0,lt.Tm)(Kn,br=>({style:Object.assign(Object.assign({},Da),br.style)})),Xa=(0,Ze.o2)(Pe,!1),Dr=Be()(xe==null?void 0:xe.indicator,(ln=rn==null?void 0:rn.classNames)===null||ln===void 0?void 0:ln.indicator,{[`${Wt}-status-dot`]:cn,[`${Wt}-status-${on}`]:!!on,[`${Wt}-color-${Pe}`]:Xa}),Fa={};Pe&&!Xa&&(Fa.color=Pe,Fa.background=Pe);const Zr=Be()(Wt,{[`${Wt}-status`]:cn,[`${Wt}-not-a-wrapper`]:!nn,[`${Wt}-rtl`]:kt==="rtl"},Lt,Fe,rn==null?void 0:rn.className,(fn=rn==null?void 0:rn.classNames)===null||fn===void 0?void 0:fn.root,xe==null?void 0:xe.root,an);if(!nn&&cn){const br=Da.color;return yt(Te.createElement("span",Object.assign({},qt,{className:Zr,style:Object.assign(Object.assign(Object.assign({},gt==null?void 0:gt.root),(vn=rn==null?void 0:rn.styles)===null||vn===void 0?void 0:vn.root),Da)}),Te.createElement("span",{className:Dr,style:Object.assign(Object.assign(Object.assign({},gt==null?void 0:gt.indicator),(nt=rn==null?void 0:rn.styles)===null||nt===void 0?void 0:nt.indicator),Fa)}),De&&Te.createElement("span",{style:{color:br},className:`${Wt}-status-text`},De)))}return yt(Te.createElement("span",Object.assign({ref:Tt},qt,{className:Zr,style:Object.assign(Object.assign({},(vt=rn==null?void 0:rn.styles)===null||vt===void 0?void 0:vt.root),gt==null?void 0:gt.root)}),nn,Te.createElement(Je.default,{visible:!xn,motionName:`${Wt}-zoom`,motionAppear:!1,motionDeadline:1e3},br=>{let{className:Pt,ref:Sn}=br;var Fn,Zt;const sn=Vt("scroll-number",Bn),On=Ya.current,Jn=Be()(xe==null?void 0:xe.indicator,(Fn=rn==null?void 0:rn.classNames)===null||Fn===void 0?void 0:Fn.indicator,{[`${Wt}-dot`]:On,[`${Wt}-count`]:!On,[`${Wt}-count-sm`]:It==="small",[`${Wt}-multiple-words`]:!On&&sr&&sr.toString().length>1,[`${Wt}-status-${on}`]:!!on,[`${Wt}-color-${Pe}`]:Xa});let ke=Object.assign(Object.assign(Object.assign({},gt==null?void 0:gt.indicator),(Zt=rn==null?void 0:rn.styles)===null||Zt===void 0?void 0:Zt.indicator),Da);return Pe&&!Xa&&(ke=ke||{},ke.background=Pe),Te.createElement(Tn,{prefixCls:sn,show:!xn,motionClassName:Pt,className:Jn,count:sr,title:Lr,style:ke,key:"scrollNumber",ref:Sn},Ha)}),cr))},_t=Te.forwardRef($n);_t.Ribbon=Ge;var In=_t},19842:function(je,Nt,re){"use strict";re.d(Nt,{Z:function(){return br}});var b=re(15142),Be=re(59301),Je=re(33853),Te=re(58617),Ze=re(38819),lt=re(92310),he=re.n(lt),Xe=re(67711),Ke=re(16886),Ie=re(33346),tt=re(77861),ot=re(17115),Qe=re(90782),de=re(6089),a=re(18929),E=Be.createContext(null),x=E,y=re(26420),ee=re(52873),ne=re(98506),oe="__rc_cascader_search_mark__",le=function(Sn,Fn,Zt){var sn=Zt.label;return Fn.some(function(On){return String(On[sn]).toLowerCase().includes(Sn.toLowerCase())})},ie=function(Sn,Fn,Zt,sn){return Fn.map(function(On){return On[sn.label]}).join(" / ")},Ce=function(Pt,Sn,Fn,Zt,sn,On){var Jn=sn.filter,ke=Jn===void 0?le:Jn,rt=sn.render,qe=rt===void 0?ie:rt,Dn=sn.limit,mn=Dn===void 0?50:Dn,Wn=sn.sort;return Be.useMemo(function(){var ya=[];if(!Pt)return[];function ma(ta,fa){var ua=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;ta.forEach(function(hn){if(!(!Wn&&mn!==!1&&mn>0&&ya.length>=mn)){var Ra=[].concat((0,b.Z)(fa),[hn]),vr=hn[Fn.children],fo=ua||hn.disabled;if((!vr||vr.length===0||On)&&ke(Pt,Ra,{label:Fn.label})){var Nn;ya.push((0,ne.Z)((0,ne.Z)({},hn),{},(Nn={disabled:fo},(0,ee.Z)(Nn,Fn.label,qe(Pt,Ra,Zt,Fn)),(0,ee.Z)(Nn,oe,Ra),(0,ee.Z)(Nn,Fn.children,void 0),Nn)))}vr&&ma(hn[Fn.children],Ra,fo)}})}return ma(Sn,[]),Wn&&ya.sort(function(ta,fa){return Wn(ta[oe],fa[oe],Pt,Fn)}),mn!==!1&&mn>0?ya.slice(0,mn):ya},[Pt,Sn,Fn,Zt,qe,On,ke,Wn,mn])},ye="__RC_CASCADER_SPLIT__",Ge="SHOW_PARENT",Re="SHOW_CHILD";function St(Pt){return Pt.join(ye)}function ht(Pt){return Pt.map(St)}function pt(Pt){return Pt.split(ye)}function Gn(Pt){var Sn=Pt||{},Fn=Sn.label,Zt=Sn.value,sn=Sn.children,On=Zt||"value";return{label:Fn||"label",value:On,key:On,children:sn||"children"}}function Tn(Pt,Sn){var Fn,Zt;return(Fn=Pt.isLeaf)!==null&&Fn!==void 0?Fn:!((Zt=Pt[Sn.children])!==null&&Zt!==void 0&&Zt.length)}function da(Pt){var Sn=Pt.parentElement;if(Sn){var Fn=Pt.offsetTop-Sn.offsetTop;Fn-Sn.scrollTop<0?Sn.scrollTo({top:Fn}):Fn+Pt.offsetHeight-Sn.scrollTop>Sn.offsetHeight&&Sn.scrollTo({top:Fn+Pt.offsetHeight-Sn.offsetHeight})}}function $n(Pt,Sn){return Pt.map(function(Fn){var Zt;return(Zt=Fn[oe])===null||Zt===void 0?void 0:Zt.map(function(sn){return sn[Sn.value]})})}function _t(Pt,Sn,Fn){var Zt=new Set(Pt),sn=Sn();return Pt.filter(function(On){var Jn=sn[On],ke=Jn?Jn.parent:null,rt=Jn?Jn.children:null;return Jn&&Jn.node.disabled?!0:Fn===Re?!(rt&&rt.some(function(qe){return qe.key&&Zt.has(qe.key)})):!(ke&&!ke.node.disabled&&Zt.has(ke.key))})}function In(Pt,Sn,Fn){for(var Zt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,sn=Sn,On=[],Jn=function(){var qe,Dn,mn,Wn=Pt[ke],ya=(qe=sn)===null||qe===void 0?void 0:qe.findIndex(function(ta){var fa=ta[Fn.value];return Zt?String(fa)===String(Wn):fa===Wn}),ma=ya!==-1?(Dn=sn)===null||Dn===void 0?void 0:Dn[ya]:null;On.push({value:(mn=ma==null?void 0:ma[Fn.value])!==null&&mn!==void 0?mn:Wn,index:ya,option:ma}),sn=ma==null?void 0:ma[Fn.children]},ke=0;ke1){var tn=ma.slice(0,-1);hn(tn)}else qe(!1)},fo=function(){var tn,Or=((tn=fa[ta])===null||tn===void 0?void 0:tn[Fn.children])||[],ha=Or.find(function(Yr){return!Yr.disabled});if(ha){var qr=[].concat((0,b.Z)(ma),[ha[Fn.value]]);hn(qr)}};Be.useImperativeHandle(Pt,function(){return{onKeyDown:function(tn){var Or=tn.which;switch(Or){case Pe.Z.UP:case Pe.Z.DOWN:{var ha=0;Or===Pe.Z.UP?ha=-1:Or===Pe.Z.DOWN&&(ha=1),ha!==0&&Ra(ha);break}case Pe.Z.LEFT:{if(rt)break;mn?fo():vr();break}case Pe.Z.RIGHT:{if(rt)break;mn?vr():fo();break}case Pe.Z.BACKSPACE:{rt||vr();break}case Pe.Z.ENTER:{if(ma.length){var qr=fa[ta],Yr=(qr==null?void 0:qr[oe])||[];Yr.length?On(Yr.map(function(na){return na[Fn.value]}),Yr[Yr.length-1]):On(ma,fa[ta])}break}case Pe.Z.ESC:qe(!1),Dn&&tn.stopPropagation()}},onKeyUp:function(){}}})},Ft=Be.forwardRef(function(Pt,Sn){var Fn,Zt,sn,On,Jn=(0,tt.lk)(),ke=Jn.prefixCls,rt=Jn.multiple,qe=Jn.searchValue,Dn=Jn.toggleOpen,mn=Jn.notFoundContent,Wn=Jn.direction,ya=Jn.open,ma=Be.useRef(),ta=Wn==="rtl",fa=Be.useContext(x),ua=fa.options,hn=fa.values,Ra=fa.halfValues,vr=fa.fieldNames,fo=fa.changeOnSelect,Nn=fa.onSelect,tn=fa.searchOptions,Or=fa.dropdownPrefixCls,ha=fa.loadData,qr=fa.expandTrigger,Yr=Or||ke,na=Be.useState([]),oo=(0,Ke.Z)(na,2),Mo=oo[0],$r=oo[1],ho=function(Xt){if(!(!ha||qe)){var Hn=In(Xt,ua,vr),ba=Hn.map(function(sa){var wt=sa.option;return wt}),La=ba[ba.length-1];if(La&&!Tn(La,vr)){var rr=St(Xt);$r(function(sa){return[].concat((0,b.Z)(sa),[rr])}),ha(ba)}}};Be.useEffect(function(){Mo.length&&Mo.forEach(function(Vn){var Xt=pt(Vn),Hn=In(Xt,ua,vr,!0).map(function(La){var rr=La.option;return rr}),ba=Hn[Hn.length-1];(!ba||ba[vr.children]||Tn(ba,vr))&&$r(function(La){return La.filter(function(rr){return rr!==Vn})})})},[ua,Mo,vr]);var yn=Be.useMemo(function(){return new Set(ht(hn))},[hn]),Mr=Be.useMemo(function(){return new Set(ht(Ra))},[Ra]),io=De(),lo=(0,Ke.Z)(io,2),dt=lo[0],Ue=lo[1],We=function(Xt){Ue(Xt),ho(Xt)},Rt=function(Xt){var Hn=Xt.disabled,ba=Tn(Xt,vr);return!Hn&&(ba||fo||rt)},Cn=function(Xt,Hn){var ba=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;Nn(Xt),!rt&&(Hn||fo&&(qr==="hover"||ba))&&Dn(!1)},aa=Be.useMemo(function(){return qe?tn:ua},[qe,tn,ua]),Oe=Be.useMemo(function(){for(var Vn=[{options:aa}],Xt=aa,Hn=$n(Xt,vr),ba=function(){var wt=dt[La],ca=Xt.find(function(Pr,dr){return(Hn[dr]?St(Hn[dr]):Pr[vr.value])===wt}),gr=ca==null?void 0:ca[vr.children];if(!(gr!=null&&gr.length))return"break";Xt=gr,Vn.push({options:gr})},La=0;La":Mo,ho=Pt.loadingIcon,yn=Pt.children,Mr=Pt.dropdownMatchSelectWidth,io=Mr===void 0?!1:Mr,lo=Pt.showCheckedStrategy,dt=lo===void 0?Ge:lo,Ue=(0,Ie.Z)(Pt,bn),We=(0,ot.ZP)(Fn),Rt=!!mn,Cn=(0,a.Z)(Jn,{value:ke,postState:Fe}),aa=(0,Ke.Z)(Cn,2),Oe=aa[0],it=aa[1],Me=Be.useMemo(function(){return Gn(On)},[JSON.stringify(On)]),ut=Be.useMemo(function(){return hn||[]},[hn]),zt=ln(ut,Me),Ga=Be.useCallback(function(kn){var $t=zt();return kn.map(function(Mn){var pr=$t[Mn].nodes;return pr.map(function(be){return be[Me.value]})})},[zt,Me]),ja=(0,a.Z)("",{value:ma,postState:function($t){return $t||""}}),Vn=(0,Ke.Z)(ja,2),Xt=Vn[0],Hn=Vn[1],ba=function($t,Mn){Hn($t),Mn.source!=="blur"&&ta&&ta($t)},La=nt(fa),rr=(0,Ke.Z)(La,2),sa=rr[0],wt=rr[1],ca=Ce(Xt,ut,Me,Ra||sn,wt,rt),gr=fn(ut,Me),Pr=Be.useMemo(function(){var kn=gr(Oe),$t=(0,Ke.Z)(kn,2),Mn=$t[0],pr=$t[1];if(!Rt||!Oe.length)return[Mn,[],pr];var be=ht(Mn),jr=zt(),Za=(0,Qe.S)(be,!0,jr),mr=Za.checkedKeys,fr=Za.halfCheckedKeys;return[Ga(mr),Ga(fr),pr]},[Rt,Oe,zt,Ga,gr]),dr=(0,Ke.Z)(Pr,3),Zn=dr[0],Rn=dr[1],pn=dr[2],Er=Be.useMemo(function(){var kn=ht(Zn),$t=_t(kn,zt,dt);return[].concat((0,b.Z)(pn),(0,b.Z)(Ga($t)))},[Zn,zt,Ga,pn,dt]),zr=ct(Er,ut,Me,Rt,Dn),uo=(0,de.Z)(function(kn){if(it(kn),qe){var $t=Fe(kn),Mn=$t.map(function(jr){return In(jr,ut,Me).map(function(Za){return Za.option})}),pr=Rt?$t:$t[0],be=Rt?Mn:Mn[0];qe(pr,be)}}),to=(0,de.Z)(function(kn){if((!Rt||ya)&&Hn(""),!Rt)uo(kn);else{var $t=St(kn),Mn=ht(Zn),pr=ht(Rn),be=Mn.includes($t),jr=pn.some(function(ko){return St(ko)===$t}),Za=Zn,mr=pn;if(jr&&!be)mr=pn.filter(function(ko){return St(ko)!==$t});else{var fr=be?Mn.filter(function(ko){return ko!==$t}):[].concat((0,b.Z)(Mn),[$t]),Vr=zt(),Xr;if(be){var yo=(0,Qe.S)(fr,{checked:!1,halfCheckedKeys:pr},Vr);Xr=yo.checkedKeys}else{var So=(0,Qe.S)(fr,!0,Vr);Xr=So.checkedKeys}var ui=_t(Xr,zt,dt);Za=Ga(ui)}uo([].concat((0,b.Z)(mr),(0,b.Z)(Za)))}}),Ka=function($t,Mn){if(Mn.type==="clear"){uo([]);return}var pr=Mn.values[0],be=pr.valueCells;to(be)},_r=Nn!==void 0?Nn:fo,Eo=Or||tn,ai=Yr||qr,li=function($t){na==null||na($t),oo==null||oo($t)},Mi=Be.useMemo(function(){return{options:ut,fieldNames:Me,values:Zn,halfValues:Rn,changeOnSelect:rt,onSelect:to,checkable:mn,searchOptions:ca,dropdownPrefixCls:Ra,loadData:vr,expandTrigger:ua,expandIcon:$r,loadingIcon:ho,dropdownMenuColumnStyle:ha}},[ut,Me,Zn,Rn,rt,to,mn,ca,Ra,vr,ua,$r,ho,ha]),Gr=!(Xt?ca:ut).length,Sa=Xt&&wt.matchInputWidth||Gr?{}:{minWidth:"auto"};return Be.createElement(x.Provider,{value:Mi},Be.createElement(tt.Ac,(0,Xe.Z)({},Ue,{ref:Sn,id:We,prefixCls:sn,autoClearSearchValue:ya,dropdownMatchSelectWidth:io,dropdownStyle:Sa,displayValues:zr,onDisplayValuesChange:Ka,mode:Rt?"multiple":void 0,searchValue:Xt,onSearch:ba,showSearch:sa,OptionList:bt,emptyOptions:Gr,open:_r,dropdownClassName:Eo,placement:ai,onDropdownVisibleChange:li,getRawInputElement:function(){return yn}})))});xe.SHOW_PARENT=Ge,xe.SHOW_CHILD=Re;var gt=xe,Mt=gt,qt=re(2738),Vt=re(62892),kt=re(53487),rn=re(19080),Wt=re(36355),yt=re(93891),an=re(1684),mt=re(19716),At=re(32441),xt=re(14154),cn=re(58582),Dt=re(84443),Ot=re(66339),xn=re(33234),Gt=re(98447),Kn=re(17313),za=re(74207),sr=re(83116);const Ya=Pt=>{const{prefixCls:Sn,componentCls:Fn,antCls:Zt}=Pt,sn=`${Fn}-menu-item`,On=` + margin-bottom ${ct} ${Bt}`},[`&${In}-motion-leave-active`]:{maxHeight:0,marginBottom:"0 !important",paddingTop:0,paddingBottom:0,opacity:0}}),[`${In}-with-description`]:{alignItems:"flex-start",padding:De,[`${In}-icon`]:{marginInlineEnd:ln,fontSize:Bn,lineHeight:0},[`${In}-message`]:{display:"block",marginBottom:Tt,color:on,fontSize:vn},[`${In}-description`]:{display:"block",color:nn}},[`${In}-banner`]:{marginBottom:0,border:"0 !important",borderRadius:0}}},x=_t=>{const{componentCls:In,colorSuccess:ct,colorSuccessBorder:Tt,colorSuccessBg:ln,colorWarning:fn,colorWarningBorder:vn,colorWarningBg:nt,colorError:vt,colorErrorBorder:Bt,colorErrorBg:Bn,colorInfo:nn,colorInfoBorder:on,colorInfoBg:De}=_t;return{[In]:{"&-success":a(ln,Tt,ct,_t,In),"&-info":a(De,on,nn,_t,In),"&-warning":a(nt,vn,fn,_t,In),"&-error":Object.assign(Object.assign({},a(Bn,Bt,vt,_t,In)),{[`${In}-description > pre`]:{margin:0,padding:0}})}}},y=_t=>{const{componentCls:In,iconCls:ct,motionDurationMid:Tt,marginXS:ln,fontSizeIcon:fn,colorIcon:vn,colorIconHover:nt}=_t;return{[In]:{"&-action":{marginInlineStart:ln},[`${In}-close-icon`]:{marginInlineStart:ln,padding:0,overflow:"hidden",fontSize:fn,lineHeight:`${fn}px`,backgroundColor:"transparent",border:"none",outline:"none",cursor:"pointer",[`${ct}-close`]:{color:vn,transition:`color ${Tt}`,"&:hover":{color:nt}}},"&-close-text":{color:vn,transition:`color ${Tt}`,"&:hover":{color:nt}}}}},ee=_t=>[E(_t),x(_t),y(_t)];var ne=(0,de.Z)("Alert",_t=>[ee(_t)],_t=>({withDescriptionIconSize:_t.fontSizeHeading3,defaultPadding:`${_t.paddingContentVerticalSM}px 12px`,withDescriptionPadding:`${_t.paddingMD}px ${_t.paddingContentHorizontalLG}px`})),oe=function(_t,In){var ct={};for(var Tt in _t)Object.prototype.hasOwnProperty.call(_t,Tt)&&In.indexOf(Tt)<0&&(ct[Tt]=_t[Tt]);if(_t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ln=0,Tt=Object.getOwnPropertySymbols(_t);ln{const{icon:In,prefixCls:ct,type:Tt}=_t,ln=le[Tt]||null;return In?(0,tt.wm)(In,Ie.createElement("span",{className:`${ct}-icon`},In),()=>({className:he()(`${ct}-icon`,{[In.props.className]:In.props.className})})):Ie.createElement(ln,{className:`${ct}-icon`})},Ce=_t=>{const{isClosable:In,prefixCls:ct,closeIcon:Tt,handleClose:ln}=_t,fn=Tt===!0||Tt===void 0?Ie.createElement(Je.Z,null):Tt;return In?Ie.createElement("button",{type:"button",onClick:ln,className:`${ct}-close-icon`,tabIndex:0},fn):null};var Ge=_t=>{const{description:In,prefixCls:ct,message:Tt,banner:ln,className:fn,rootClassName:vn,style:nt,onMouseEnter:vt,onMouseLeave:Bt,onClick:Bn,afterClose:nn,showIcon:on,closable:De,closeText:Pe,closeIcon:He,action:Ft}=_t,bt=oe(_t,["description","prefixCls","message","banner","className","rootClassName","style","onMouseEnter","onMouseLeave","onClick","afterClose","showIcon","closable","closeText","closeIcon","action"]),[It,Ut]=Ie.useState(!1),jt=Ie.useRef(null),{getPrefixCls:bn,direction:Lt,alert:Fe}=Ie.useContext(ot.E_),xe=bn("alert",ct),[gt,Mt]=ne(xe),qt=an=>{var mt;Ut(!0),(mt=_t.onClose)===null||mt===void 0||mt.call(_t,an)},Vt=Ie.useMemo(()=>_t.type!==void 0?_t.type:ln?"warning":"info",[_t.type,ln]),kt=Ie.useMemo(()=>Pe?!0:typeof De=="boolean"?De:He!==!1&&He!==null&&He!==void 0,[Pe,He,De]),rn=ln&&on===void 0?!0:on,Wt=he()(xe,`${xe}-${Vt}`,{[`${xe}-with-description`]:!!In,[`${xe}-no-icon`]:!rn,[`${xe}-banner`]:!!ln,[`${xe}-rtl`]:Lt==="rtl"},Fe==null?void 0:Fe.className,fn,vn,Mt),yt=(0,Ke.Z)(bt,{aria:!0,data:!0});return gt(Ie.createElement(Xe.default,{visible:!It,motionName:`${xe}-motion`,motionAppear:!1,motionEnter:!1,onLeaveStart:an=>({maxHeight:an.offsetHeight}),onLeaveEnd:nn},an=>{let{className:mt,style:At}=an;return Ie.createElement("div",Object.assign({ref:jt,"data-show":!It,className:he()(Wt,mt),style:Object.assign(Object.assign(Object.assign({},Fe==null?void 0:Fe.style),nt),At),onMouseEnter:vt,onMouseLeave:Bt,onClick:Bn,role:"alert"},yt),rn?Ie.createElement(ie,{description:In,icon:_t.icon,prefixCls:xe,type:Vt}):null,Ie.createElement("div",{className:`${xe}-content`},Tt?Ie.createElement("div",{className:`${xe}-message`},Tt):null,In?Ie.createElement("div",{className:`${xe}-description`},In):null),Ft?Ie.createElement("div",{className:`${xe}-action`},Ft):null,Ie.createElement(Ce,{isClosable:kt,prefixCls:xe,closeIcon:Pe||He,handleClose:qt}))}))},Re=re(42573),St=re(58698),ht=re(74700),pt=re(45080),Tn=function(_t){(0,ht.Z)(ct,_t);var In=(0,pt.Z)(ct);function ct(){var Tt;return(0,Re.Z)(this,ct),Tt=In.apply(this,arguments),Tt.state={error:void 0,info:{componentStack:""}},Tt}return(0,St.Z)(ct,[{key:"componentDidCatch",value:function(ln,fn){this.setState({error:ln,info:fn})}},{key:"render",value:function(){const{message:ln,description:fn,children:vn}=this.props,{error:nt,info:vt}=this.state,Bt=vt&&vt.componentStack?vt.componentStack:null,Bn=typeof ln=="undefined"?(nt||"").toString():ln,nn=typeof fn=="undefined"?Bt:fn;return nt?Ie.createElement(Ge,{type:"error",message:Bn,description:Ie.createElement("pre",{style:{fontSize:"0.9em",overflowX:"auto"}},nn)}):vn}}]),ct}(Ie.Component);const da=Ge;da.ErrorBoundary=Tn;var $n=da},88522:function(je,Nt,re){"use strict";var b=re(92310),Be=re.n(b),Je=re(11592),Te=re(2738),Ze=re(59301),lt=re(53487),he=re(92343),Xe=re(36355),Ke=re(57809);const{Option:Ie}=Ke.default;function tt(a){return a&&a.type&&(a.type.isSelectOption||a.type.isSelectOptGroup)}const ot=(a,E)=>{const{prefixCls:x,className:y,popupClassName:ee,dropdownClassName:ne,children:oe,dataSource:le}=a,ie=(0,Je.Z)(oe);let Ce;ie.length===1&&(0,he.l$)(ie[0])&&!tt(ie[0])&&([Ce]=ie);const ye=Ce?()=>Ce:void 0;let Ge;ie.length&&tt(ie[0])?Ge=oe:Ge=le?le.map(ht=>{if((0,he.l$)(ht))return ht;switch(typeof ht){case"string":return Ze.createElement(Ie,{key:ht,value:ht},ht);case"object":{const{value:pt}=ht;return Ze.createElement(Ie,{key:pt,value:pt},ht.text)}default:return}}):[];const{getPrefixCls:Re}=Ze.useContext(Xe.E_),St=Re("select",x);return Ze.createElement(Ke.default,Object.assign({ref:E,suffixIcon:null},(0,Te.Z)(a,["dataSource","dropdownClassName"]),{prefixCls:St,popupClassName:ee||ne,className:Be()(`${St}-auto-complete`,y),mode:Ke.default.SECRET_COMBOBOX_MODE_DO_NOT_USE},{getInputElement:ye}),Ge)},Qe=Ze.forwardRef(ot),de=(0,lt.Z)(Qe);Qe.Option=Ie,Qe._InternalPanelDoNotUseOrYouWillBeFired=de,Nt.Z=Qe},49127:function(je,Nt,re){"use strict";re.d(Nt,{Z:function(){return In}});var b=re(92310),Be=re.n(b),Je=re(77900),Te=re(59301),Ze=re(36785),lt=re(92343),he=re(36355),Xe=re(36237),Ke=re(17313),Ie=re(45157),tt=re(37613),ot=re(83116);const Qe=new Xe.Keyframes("antStatusProcessing",{"0%":{transform:"scale(0.8)",opacity:.5},"100%":{transform:"scale(2.4)",opacity:0}}),de=new Xe.Keyframes("antZoomBadgeIn",{"0%":{transform:"scale(0) translate(50%, -50%)",opacity:0},"100%":{transform:"scale(1) translate(50%, -50%)"}}),a=new Xe.Keyframes("antZoomBadgeOut",{"0%":{transform:"scale(1) translate(50%, -50%)"},"100%":{transform:"scale(0) translate(50%, -50%)",opacity:0}}),E=new Xe.Keyframes("antNoWrapperZoomBadgeIn",{"0%":{transform:"scale(0)",opacity:0},"100%":{transform:"scale(1)"}}),x=new Xe.Keyframes("antNoWrapperZoomBadgeOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0)",opacity:0}}),y=new Xe.Keyframes("antBadgeLoadingCircle",{"0%":{transformOrigin:"50%"},"100%":{transform:"translate(50%, -50%) rotate(360deg)",transformOrigin:"50%"}}),ee=ct=>{const{componentCls:Tt,iconCls:ln,antCls:fn,badgeShadowSize:vn,motionDurationSlow:nt,textFontSize:vt,textFontSizeSM:Bt,statusSize:Bn,dotSize:nn,textFontWeight:on,indicatorHeight:De,indicatorHeightSM:Pe,marginXS:He}=ct,Ft=`${fn}-scroll-number`,bt=(0,Ie.Z)(ct,(It,Ut)=>{let{darkColor:jt}=Ut;return{[`&${Tt} ${Tt}-color-${It}`]:{background:jt,[`&:not(${Tt}-count)`]:{color:jt}}}});return{[Tt]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,Ke.Wf)(ct)),{position:"relative",display:"inline-block",width:"fit-content",lineHeight:1,[`${Tt}-count`]:{zIndex:ct.indicatorZIndex,minWidth:De,height:De,color:ct.badgeTextColor,fontWeight:on,fontSize:vt,lineHeight:`${De}px`,whiteSpace:"nowrap",textAlign:"center",background:ct.badgeColor,borderRadius:De/2,boxShadow:`0 0 0 ${vn}px ${ct.badgeShadowColor}`,transition:`background ${ct.motionDurationMid}`,a:{color:ct.badgeTextColor},"a:hover":{color:ct.badgeTextColor},"a:hover &":{background:ct.badgeColorHover}},[`${Tt}-count-sm`]:{minWidth:Pe,height:Pe,fontSize:Bt,lineHeight:`${Pe}px`,borderRadius:Pe/2},[`${Tt}-multiple-words`]:{padding:`0 ${ct.paddingXS}px`,bdi:{unicodeBidi:"plaintext"}},[`${Tt}-dot`]:{zIndex:ct.indicatorZIndex,width:nn,minWidth:nn,height:nn,background:ct.badgeColor,borderRadius:"100%",boxShadow:`0 0 0 ${vn}px ${ct.badgeShadowColor}`},[`${Tt}-dot${Ft}`]:{transition:`background ${nt}`},[`${Tt}-count, ${Tt}-dot, ${Ft}-custom-component`]:{position:"absolute",top:0,insetInlineEnd:0,transform:"translate(50%, -50%)",transformOrigin:"100% 0%",[`&${ln}-spin`]:{animationName:y,animationDuration:"1s",animationIterationCount:"infinite",animationTimingFunction:"linear"}},[`&${Tt}-status`]:{lineHeight:"inherit",verticalAlign:"baseline",[`${Tt}-status-dot`]:{position:"relative",top:-1,display:"inline-block",width:Bn,height:Bn,verticalAlign:"middle",borderRadius:"50%"},[`${Tt}-status-success`]:{backgroundColor:ct.colorSuccess},[`${Tt}-status-processing`]:{overflow:"visible",color:ct.colorPrimary,backgroundColor:ct.colorPrimary,"&::after":{position:"absolute",top:0,insetInlineStart:0,width:"100%",height:"100%",borderWidth:vn,borderStyle:"solid",borderColor:"inherit",borderRadius:"50%",animationName:Qe,animationDuration:ct.badgeProcessingDuration,animationIterationCount:"infinite",animationTimingFunction:"ease-in-out",content:'""'}},[`${Tt}-status-default`]:{backgroundColor:ct.colorTextPlaceholder},[`${Tt}-status-error`]:{backgroundColor:ct.colorError},[`${Tt}-status-warning`]:{backgroundColor:ct.colorWarning},[`${Tt}-status-text`]:{marginInlineStart:He,color:ct.colorText,fontSize:ct.fontSize}}}),bt),{[`${Tt}-zoom-appear, ${Tt}-zoom-enter`]:{animationName:de,animationDuration:ct.motionDurationSlow,animationTimingFunction:ct.motionEaseOutBack,animationFillMode:"both"},[`${Tt}-zoom-leave`]:{animationName:a,animationDuration:ct.motionDurationSlow,animationTimingFunction:ct.motionEaseOutBack,animationFillMode:"both"},[`&${Tt}-not-a-wrapper`]:{[`${Tt}-zoom-appear, ${Tt}-zoom-enter`]:{animationName:E,animationDuration:ct.motionDurationSlow,animationTimingFunction:ct.motionEaseOutBack},[`${Tt}-zoom-leave`]:{animationName:x,animationDuration:ct.motionDurationSlow,animationTimingFunction:ct.motionEaseOutBack},[`&:not(${Tt}-status)`]:{verticalAlign:"middle"},[`${Ft}-custom-component, ${Tt}-count`]:{transform:"none"},[`${Ft}-custom-component, ${Ft}`]:{position:"relative",top:"auto",display:"block",transformOrigin:"50% 50%"}},[`${Ft}`]:{overflow:"hidden",[`${Ft}-only`]:{position:"relative",display:"inline-block",height:De,transition:`all ${ct.motionDurationSlow} ${ct.motionEaseOutBack}`,WebkitTransformStyle:"preserve-3d",WebkitBackfaceVisibility:"hidden",[`> p${Ft}-only-unit`]:{height:De,margin:0,WebkitTransformStyle:"preserve-3d",WebkitBackfaceVisibility:"hidden"}},[`${Ft}-symbol`]:{verticalAlign:"top"}},"&-rtl":{direction:"rtl",[`${Tt}-count, ${Tt}-dot, ${Ft}-custom-component`]:{transform:"translate(-50%, -50%)"}}})}},ne=ct=>{const{fontSize:Tt,lineHeight:ln,lineWidth:fn,marginXS:vn,colorBorderBg:nt}=ct,vt=Math.round(Tt*ln),Bt=fn,Bn=ct.colorBgContainer,nn=ct.colorError,on=ct.colorErrorHover;return(0,tt.TS)(ct,{badgeFontHeight:vt,badgeShadowSize:Bt,badgeTextColor:Bn,badgeColor:nn,badgeColorHover:on,badgeShadowColor:nt,badgeProcessingDuration:"1.2s",badgeRibbonOffset:vn,badgeRibbonCornerTransform:"scaleY(0.75)",badgeRibbonCornerFilter:"brightness(75%)"})},oe=ct=>{const{fontSize:Tt,lineHeight:ln,fontSizeSM:fn,lineWidth:vn}=ct;return{indicatorZIndex:"auto",indicatorHeight:Math.round(Tt*ln)-2*vn,indicatorHeightSM:Tt,dotSize:fn/2,textFontSize:fn,textFontSizeSM:fn,textFontWeight:"normal",statusSize:fn/2}};var le=(0,ot.Z)("Badge",ct=>{const Tt=ne(ct);return[ee(Tt)]},oe);const ie=ct=>{const{antCls:Tt,badgeFontHeight:ln,marginXS:fn,badgeRibbonOffset:vn}=ct,nt=`${Tt}-ribbon`,vt=`${Tt}-ribbon-wrapper`,Bt=(0,Ie.Z)(ct,(Bn,nn)=>{let{darkColor:on}=nn;return{[`&${nt}-color-${Bn}`]:{background:on,color:on}}});return{[`${vt}`]:{position:"relative"},[`${nt}`]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,Ke.Wf)(ct)),{position:"absolute",top:fn,padding:`0 ${ct.paddingXS}px`,color:ct.colorPrimary,lineHeight:`${ln}px`,whiteSpace:"nowrap",backgroundColor:ct.colorPrimary,borderRadius:ct.borderRadiusSM,[`${nt}-text`]:{color:ct.colorTextLightSolid},[`${nt}-corner`]:{position:"absolute",top:"100%",width:vn,height:vn,color:"currentcolor",border:`${vn/2}px solid`,transform:ct.badgeRibbonCornerTransform,transformOrigin:"top",filter:ct.badgeRibbonCornerFilter}}),Bt),{[`&${nt}-placement-end`]:{insetInlineEnd:-vn,borderEndEndRadius:0,[`${nt}-corner`]:{insetInlineEnd:0,borderInlineEndColor:"transparent",borderBlockEndColor:"transparent"}},[`&${nt}-placement-start`]:{insetInlineStart:-vn,borderEndStartRadius:0,[`${nt}-corner`]:{insetInlineStart:0,borderBlockEndColor:"transparent",borderInlineStartColor:"transparent"}},"&-rtl":{direction:"rtl"}})}};var Ce=(0,ot.Z)(["Badge","Ribbon"],ct=>{const Tt=ne(ct);return[ie(Tt)]},oe),Ge=ct=>{const{className:Tt,prefixCls:ln,style:fn,color:vn,children:nt,text:vt,placement:Bt="end",rootClassName:Bn}=ct,{getPrefixCls:nn,direction:on}=Te.useContext(he.E_),De=nn("ribbon",ln),Pe=(0,Ze.o2)(vn,!1),He=Be()(De,`${De}-placement-${Bt}`,{[`${De}-rtl`]:on==="rtl",[`${De}-color-${vn}`]:Pe},Tt),[Ft,bt]=Ce(De),It={},Ut={};return vn&&!Pe&&(It.background=vn,Ut.color=vn),Ft(Te.createElement("div",{className:Be()(`${De}-wrapper`,Bn,bt)},nt,Te.createElement("div",{className:Be()(He,bt),style:Object.assign(Object.assign({},It),fn)},Te.createElement("span",{className:`${De}-text`},vt),Te.createElement("div",{className:`${De}-corner`,style:Ut}))))};function Re(ct){let{prefixCls:Tt,value:ln,current:fn,offset:vn=0}=ct,nt;return vn&&(nt={position:"absolute",top:`${vn}00%`,left:0}),Te.createElement("span",{style:nt,className:Be()(`${Tt}-only-unit`,{current:fn})},ln)}function St(ct,Tt,ln){let fn=ct,vn=0;for(;(fn+10)%10!==Tt;)fn+=ln,vn+=ln;return vn}function ht(ct){const{prefixCls:Tt,count:ln,value:fn}=ct,vn=Number(fn),nt=Math.abs(ln),[vt,Bt]=Te.useState(vn),[Bn,nn]=Te.useState(nt),on=()=>{Bt(vn),nn(nt)};Te.useEffect(()=>{const He=setTimeout(()=>{on()},1e3);return()=>{clearTimeout(He)}},[vn]);let De,Pe;if(vt===vn||Number.isNaN(vn)||Number.isNaN(vt))De=[Te.createElement(Re,Object.assign({},ct,{key:vn,current:!0}))],Pe={transition:"none"};else{De=[];const He=vn+10,Ft=[];for(let Ut=vn;Ut<=He;Ut+=1)Ft.push(Ut);const bt=Ft.findIndex(Ut=>Ut%10===vt);De=Ft.map((Ut,jt)=>{const bn=Ut%10;return Te.createElement(Re,Object.assign({},ct,{key:Ut,value:bn,offset:jt-bt,current:jt===bt}))});const It=Bn{const{prefixCls:ln,count:fn,className:vn,motionClassName:nt,style:vt,title:Bt,show:Bn,component:nn="sup",children:on}=ct,De=pt(ct,["prefixCls","count","className","motionClassName","style","title","show","component","children"]),{getPrefixCls:Pe}=Te.useContext(he.E_),He=Pe("scroll-number",ln),Ft=Object.assign(Object.assign({},De),{"data-show":Bn,style:vt,className:Be()(He,vn,nt),title:Bt});let bt=fn;if(fn&&Number(fn)%1===0){const It=String(fn).split("");bt=Te.createElement("bdi",null,It.map((Ut,jt)=>Te.createElement(ht,{prefixCls:He,count:Number(fn),value:Ut,key:It.length-jt})))}return vt&&vt.borderColor&&(Ft.style=Object.assign(Object.assign({},vt),{boxShadow:`0 0 0 1px ${vt.borderColor} inset`})),on?(0,lt.Tm)(on,It=>({className:Be()(`${He}-custom-component`,It==null?void 0:It.className,nt)})):Te.createElement(nn,Object.assign({},Ft,{ref:Tt}),bt)}),da=function(ct,Tt){var ln={};for(var fn in ct)Object.prototype.hasOwnProperty.call(ct,fn)&&Tt.indexOf(fn)<0&&(ln[fn]=ct[fn]);if(ct!=null&&typeof Object.getOwnPropertySymbols=="function")for(var vn=0,fn=Object.getOwnPropertySymbols(ct);vn{var ln,fn,vn,nt,vt;const{prefixCls:Bt,scrollNumberPrefixCls:Bn,children:nn,status:on,text:De,color:Pe,count:He=null,overflowCount:Ft=99,dot:bt=!1,size:It="default",title:Ut,offset:jt,style:bn,className:Lt,rootClassName:Fe,classNames:xe,styles:gt,showZero:Mt=!1}=ct,qt=da(ct,["prefixCls","scrollNumberPrefixCls","children","status","text","color","count","overflowCount","dot","size","title","offset","style","className","rootClassName","classNames","styles","showZero"]),{getPrefixCls:Vt,direction:kt,badge:rn}=Te.useContext(he.E_),Wt=Vt("badge",Bt),[yt,an]=le(Wt),mt=He>Ft?`${Ft}+`:He,At=mt==="0"||mt===0,xt=He===null||At&&!Mt,cn=(on!=null||Pe!=null)&&xt,Dt=bt&&!At,Ot=Dt?"":mt,xn=(0,Te.useMemo)(()=>(Ot==null||Ot===""||At&&!Mt)&&!Dt,[Ot,At,Mt,Dt]),Gt=(0,Te.useRef)(He);xn||(Gt.current=He);const Kn=Gt.current,za=(0,Te.useRef)(Ot);xn||(za.current=Ot);const sr=za.current,Ya=(0,Te.useRef)(Dt);xn||(Ya.current=Dt);const Da=(0,Te.useMemo)(()=>{if(!jt)return Object.assign(Object.assign({},rn==null?void 0:rn.style),bn);const br={marginTop:jt[1]};return kt==="rtl"?br.left=parseInt(jt[0],10):br.right=-parseInt(jt[0],10),Object.assign(Object.assign(Object.assign({},br),rn==null?void 0:rn.style),bn)},[kt,jt,bn,rn==null?void 0:rn.style]),Lr=Ut!=null?Ut:typeof Kn=="string"||typeof Kn=="number"?Kn:void 0,cr=xn||!De?null:Te.createElement("span",{className:`${Wt}-status-text`},De),Ha=!Kn||typeof Kn!="object"?void 0:(0,lt.Tm)(Kn,br=>({style:Object.assign(Object.assign({},Da),br.style)})),Xa=(0,Ze.o2)(Pe,!1),Dr=Be()(xe==null?void 0:xe.indicator,(ln=rn==null?void 0:rn.classNames)===null||ln===void 0?void 0:ln.indicator,{[`${Wt}-status-dot`]:cn,[`${Wt}-status-${on}`]:!!on,[`${Wt}-color-${Pe}`]:Xa}),Fa={};Pe&&!Xa&&(Fa.color=Pe,Fa.background=Pe);const Zr=Be()(Wt,{[`${Wt}-status`]:cn,[`${Wt}-not-a-wrapper`]:!nn,[`${Wt}-rtl`]:kt==="rtl"},Lt,Fe,rn==null?void 0:rn.className,(fn=rn==null?void 0:rn.classNames)===null||fn===void 0?void 0:fn.root,xe==null?void 0:xe.root,an);if(!nn&&cn){const br=Da.color;return yt(Te.createElement("span",Object.assign({},qt,{className:Zr,style:Object.assign(Object.assign(Object.assign({},gt==null?void 0:gt.root),(vn=rn==null?void 0:rn.styles)===null||vn===void 0?void 0:vn.root),Da)}),Te.createElement("span",{className:Dr,style:Object.assign(Object.assign(Object.assign({},gt==null?void 0:gt.indicator),(nt=rn==null?void 0:rn.styles)===null||nt===void 0?void 0:nt.indicator),Fa)}),De&&Te.createElement("span",{style:{color:br},className:`${Wt}-status-text`},De)))}return yt(Te.createElement("span",Object.assign({ref:Tt},qt,{className:Zr,style:Object.assign(Object.assign({},(vt=rn==null?void 0:rn.styles)===null||vt===void 0?void 0:vt.root),gt==null?void 0:gt.root)}),nn,Te.createElement(Je.default,{visible:!xn,motionName:`${Wt}-zoom`,motionAppear:!1,motionDeadline:1e3},br=>{let{className:Pt,ref:Sn}=br;var Fn,Zt;const sn=Vt("scroll-number",Bn),On=Ya.current,Jn=Be()(xe==null?void 0:xe.indicator,(Fn=rn==null?void 0:rn.classNames)===null||Fn===void 0?void 0:Fn.indicator,{[`${Wt}-dot`]:On,[`${Wt}-count`]:!On,[`${Wt}-count-sm`]:It==="small",[`${Wt}-multiple-words`]:!On&&sr&&sr.toString().length>1,[`${Wt}-status-${on}`]:!!on,[`${Wt}-color-${Pe}`]:Xa});let ke=Object.assign(Object.assign(Object.assign({},gt==null?void 0:gt.indicator),(Zt=rn==null?void 0:rn.styles)===null||Zt===void 0?void 0:Zt.indicator),Da);return Pe&&!Xa&&(ke=ke||{},ke.background=Pe),Te.createElement(Tn,{prefixCls:sn,show:!xn,motionClassName:Pt,className:Jn,count:sr,title:Lr,style:ke,key:"scrollNumber",ref:Sn},Ha)}),cr))},_t=Te.forwardRef($n);_t.Ribbon=Ge;var In=_t},19842:function(je,Nt,re){"use strict";re.d(Nt,{Z:function(){return br}});var b=re(15142),Be=re(59301),Je=re(33853),Te=re(58617),Ze=re(38819),lt=re(92310),he=re.n(lt),Xe=re(67711),Ke=re(16886),Ie=re(33346),tt=re(77861),ot=re(17115),Qe=re(90782),de=re(6089),a=re(18929),E=Be.createContext(null),x=E,y=re(26420),ee=re(52873),ne=re(98506),oe="__rc_cascader_search_mark__",le=function(Sn,Fn,Zt){var sn=Zt.label;return Fn.some(function(On){return String(On[sn]).toLowerCase().includes(Sn.toLowerCase())})},ie=function(Sn,Fn,Zt,sn){return Fn.map(function(On){return On[sn.label]}).join(" / ")},Ce=function(Pt,Sn,Fn,Zt,sn,On){var Jn=sn.filter,ke=Jn===void 0?le:Jn,rt=sn.render,qe=rt===void 0?ie:rt,Dn=sn.limit,mn=Dn===void 0?50:Dn,Wn=sn.sort;return Be.useMemo(function(){var ya=[];if(!Pt)return[];function ma(ta,fa){var ua=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;ta.forEach(function(hn){if(!(!Wn&&mn!==!1&&mn>0&&ya.length>=mn)){var Ra=[].concat((0,b.Z)(fa),[hn]),vr=hn[Fn.children],fo=ua||hn.disabled;if((!vr||vr.length===0||On)&&ke(Pt,Ra,{label:Fn.label})){var Nn;ya.push((0,ne.Z)((0,ne.Z)({},hn),{},(Nn={disabled:fo},(0,ee.Z)(Nn,Fn.label,qe(Pt,Ra,Zt,Fn)),(0,ee.Z)(Nn,oe,Ra),(0,ee.Z)(Nn,Fn.children,void 0),Nn)))}vr&&ma(hn[Fn.children],Ra,fo)}})}return ma(Sn,[]),Wn&&ya.sort(function(ta,fa){return Wn(ta[oe],fa[oe],Pt,Fn)}),mn!==!1&&mn>0?ya.slice(0,mn):ya},[Pt,Sn,Fn,Zt,qe,On,ke,Wn,mn])},ye="__RC_CASCADER_SPLIT__",Ge="SHOW_PARENT",Re="SHOW_CHILD";function St(Pt){return Pt.join(ye)}function ht(Pt){return Pt.map(St)}function pt(Pt){return Pt.split(ye)}function Gn(Pt){var Sn=Pt||{},Fn=Sn.label,Zt=Sn.value,sn=Sn.children,On=Zt||"value";return{label:Fn||"label",value:On,key:On,children:sn||"children"}}function Tn(Pt,Sn){var Fn,Zt;return(Fn=Pt.isLeaf)!==null&&Fn!==void 0?Fn:!((Zt=Pt[Sn.children])!==null&&Zt!==void 0&&Zt.length)}function da(Pt){var Sn=Pt.parentElement;if(Sn){var Fn=Pt.offsetTop-Sn.offsetTop;Fn-Sn.scrollTop<0?Sn.scrollTo({top:Fn}):Fn+Pt.offsetHeight-Sn.scrollTop>Sn.offsetHeight&&Sn.scrollTo({top:Fn+Pt.offsetHeight-Sn.offsetHeight})}}function $n(Pt,Sn){return Pt.map(function(Fn){var Zt;return(Zt=Fn[oe])===null||Zt===void 0?void 0:Zt.map(function(sn){return sn[Sn.value]})})}function _t(Pt,Sn,Fn){var Zt=new Set(Pt),sn=Sn();return Pt.filter(function(On){var Jn=sn[On],ke=Jn?Jn.parent:null,rt=Jn?Jn.children:null;return Jn&&Jn.node.disabled?!0:Fn===Re?!(rt&&rt.some(function(qe){return qe.key&&Zt.has(qe.key)})):!(ke&&!ke.node.disabled&&Zt.has(ke.key))})}function In(Pt,Sn,Fn){for(var Zt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,sn=Sn,On=[],Jn=function(){var qe,Dn,mn,Wn=Pt[ke],ya=(qe=sn)===null||qe===void 0?void 0:qe.findIndex(function(ta){var fa=ta[Fn.value];return Zt?String(fa)===String(Wn):fa===Wn}),ma=ya!==-1?(Dn=sn)===null||Dn===void 0?void 0:Dn[ya]:null;On.push({value:(mn=ma==null?void 0:ma[Fn.value])!==null&&mn!==void 0?mn:Wn,index:ya,option:ma}),sn=ma==null?void 0:ma[Fn.children]},ke=0;ke1){var tn=ma.slice(0,-1);hn(tn)}else qe(!1)},fo=function(){var tn,Or=((tn=fa[ta])===null||tn===void 0?void 0:tn[Fn.children])||[],ha=Or.find(function(Yr){return!Yr.disabled});if(ha){var qr=[].concat((0,b.Z)(ma),[ha[Fn.value]]);hn(qr)}};Be.useImperativeHandle(Pt,function(){return{onKeyDown:function(tn){var Or=tn.which;switch(Or){case Pe.Z.UP:case Pe.Z.DOWN:{var ha=0;Or===Pe.Z.UP?ha=-1:Or===Pe.Z.DOWN&&(ha=1),ha!==0&&Ra(ha);break}case Pe.Z.LEFT:{if(rt)break;mn?fo():vr();break}case Pe.Z.RIGHT:{if(rt)break;mn?vr():fo();break}case Pe.Z.BACKSPACE:{rt||vr();break}case Pe.Z.ENTER:{if(ma.length){var qr=fa[ta],Yr=(qr==null?void 0:qr[oe])||[];Yr.length?On(Yr.map(function(na){return na[Fn.value]}),Yr[Yr.length-1]):On(ma,fa[ta])}break}case Pe.Z.ESC:qe(!1),Dn&&tn.stopPropagation()}},onKeyUp:function(){}}})},Ft=Be.forwardRef(function(Pt,Sn){var Fn,Zt,sn,On,Jn=(0,tt.lk)(),ke=Jn.prefixCls,rt=Jn.multiple,qe=Jn.searchValue,Dn=Jn.toggleOpen,mn=Jn.notFoundContent,Wn=Jn.direction,ya=Jn.open,ma=Be.useRef(),ta=Wn==="rtl",fa=Be.useContext(x),ua=fa.options,hn=fa.values,Ra=fa.halfValues,vr=fa.fieldNames,fo=fa.changeOnSelect,Nn=fa.onSelect,tn=fa.searchOptions,Or=fa.dropdownPrefixCls,ha=fa.loadData,qr=fa.expandTrigger,Yr=Or||ke,na=Be.useState([]),oo=(0,Ke.Z)(na,2),Mo=oo[0],$r=oo[1],ho=function(Jt){if(!(!ha||qe)){var Hn=In(Jt,ua,vr),ba=Hn.map(function(sa){var wt=sa.option;return wt}),La=ba[ba.length-1];if(La&&!Tn(La,vr)){var rr=St(Jt);$r(function(sa){return[].concat((0,b.Z)(sa),[rr])}),ha(ba)}}};Be.useEffect(function(){Mo.length&&Mo.forEach(function(Vn){var Jt=pt(Vn),Hn=In(Jt,ua,vr,!0).map(function(La){var rr=La.option;return rr}),ba=Hn[Hn.length-1];(!ba||ba[vr.children]||Tn(ba,vr))&&$r(function(La){return La.filter(function(rr){return rr!==Vn})})})},[ua,Mo,vr]);var yn=Be.useMemo(function(){return new Set(ht(hn))},[hn]),Mr=Be.useMemo(function(){return new Set(ht(Ra))},[Ra]),io=De(),lo=(0,Ke.Z)(io,2),dt=lo[0],Ue=lo[1],We=function(Jt){Ue(Jt),ho(Jt)},Rt=function(Jt){var Hn=Jt.disabled,ba=Tn(Jt,vr);return!Hn&&(ba||fo||rt)},Cn=function(Jt,Hn){var ba=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;Nn(Jt),!rt&&(Hn||fo&&(qr==="hover"||ba))&&Dn(!1)},aa=Be.useMemo(function(){return qe?tn:ua},[qe,tn,ua]),Oe=Be.useMemo(function(){for(var Vn=[{options:aa}],Jt=aa,Hn=$n(Jt,vr),ba=function(){var wt=dt[La],ca=Jt.find(function(Pr,dr){return(Hn[dr]?St(Hn[dr]):Pr[vr.value])===wt}),gr=ca==null?void 0:ca[vr.children];if(!(gr!=null&&gr.length))return"break";Jt=gr,Vn.push({options:gr})},La=0;La":Mo,ho=Pt.loadingIcon,yn=Pt.children,Mr=Pt.dropdownMatchSelectWidth,io=Mr===void 0?!1:Mr,lo=Pt.showCheckedStrategy,dt=lo===void 0?Ge:lo,Ue=(0,Ie.Z)(Pt,bn),We=(0,ot.ZP)(Fn),Rt=!!mn,Cn=(0,a.Z)(Jn,{value:ke,postState:Fe}),aa=(0,Ke.Z)(Cn,2),Oe=aa[0],it=aa[1],Me=Be.useMemo(function(){return Gn(On)},[JSON.stringify(On)]),ut=Be.useMemo(function(){return hn||[]},[hn]),zt=ln(ut,Me),Ga=Be.useCallback(function(kn){var $t=zt();return kn.map(function(Mn){var pr=$t[Mn].nodes;return pr.map(function(be){return be[Me.value]})})},[zt,Me]),ja=(0,a.Z)("",{value:ma,postState:function($t){return $t||""}}),Vn=(0,Ke.Z)(ja,2),Jt=Vn[0],Hn=Vn[1],ba=function($t,Mn){Hn($t),Mn.source!=="blur"&&ta&&ta($t)},La=nt(fa),rr=(0,Ke.Z)(La,2),sa=rr[0],wt=rr[1],ca=Ce(Jt,ut,Me,Ra||sn,wt,rt),gr=fn(ut,Me),Pr=Be.useMemo(function(){var kn=gr(Oe),$t=(0,Ke.Z)(kn,2),Mn=$t[0],pr=$t[1];if(!Rt||!Oe.length)return[Mn,[],pr];var be=ht(Mn),jr=zt(),Za=(0,Qe.S)(be,!0,jr),mr=Za.checkedKeys,fr=Za.halfCheckedKeys;return[Ga(mr),Ga(fr),pr]},[Rt,Oe,zt,Ga,gr]),dr=(0,Ke.Z)(Pr,3),Zn=dr[0],Rn=dr[1],pn=dr[2],Er=Be.useMemo(function(){var kn=ht(Zn),$t=_t(kn,zt,dt);return[].concat((0,b.Z)(pn),(0,b.Z)(Ga($t)))},[Zn,zt,Ga,pn,dt]),zr=ct(Er,ut,Me,Rt,Dn),uo=(0,de.Z)(function(kn){if(it(kn),qe){var $t=Fe(kn),Mn=$t.map(function(jr){return In(jr,ut,Me).map(function(Za){return Za.option})}),pr=Rt?$t:$t[0],be=Rt?Mn:Mn[0];qe(pr,be)}}),to=(0,de.Z)(function(kn){if((!Rt||ya)&&Hn(""),!Rt)uo(kn);else{var $t=St(kn),Mn=ht(Zn),pr=ht(Rn),be=Mn.includes($t),jr=pn.some(function(ko){return St(ko)===$t}),Za=Zn,mr=pn;if(jr&&!be)mr=pn.filter(function(ko){return St(ko)!==$t});else{var fr=be?Mn.filter(function(ko){return ko!==$t}):[].concat((0,b.Z)(Mn),[$t]),Vr=zt(),Xr;if(be){var yo=(0,Qe.S)(fr,{checked:!1,halfCheckedKeys:pr},Vr);Xr=yo.checkedKeys}else{var So=(0,Qe.S)(fr,!0,Vr);Xr=So.checkedKeys}var ui=_t(Xr,zt,dt);Za=Ga(ui)}uo([].concat((0,b.Z)(mr),(0,b.Z)(Za)))}}),Ka=function($t,Mn){if(Mn.type==="clear"){uo([]);return}var pr=Mn.values[0],be=pr.valueCells;to(be)},_r=Nn!==void 0?Nn:fo,Eo=Or||tn,ai=Yr||qr,li=function($t){na==null||na($t),oo==null||oo($t)},Mi=Be.useMemo(function(){return{options:ut,fieldNames:Me,values:Zn,halfValues:Rn,changeOnSelect:rt,onSelect:to,checkable:mn,searchOptions:ca,dropdownPrefixCls:Ra,loadData:vr,expandTrigger:ua,expandIcon:$r,loadingIcon:ho,dropdownMenuColumnStyle:ha}},[ut,Me,Zn,Rn,rt,to,mn,ca,Ra,vr,ua,$r,ho,ha]),Gr=!(Jt?ca:ut).length,Sa=Jt&&wt.matchInputWidth||Gr?{}:{minWidth:"auto"};return Be.createElement(x.Provider,{value:Mi},Be.createElement(tt.Ac,(0,Xe.Z)({},Ue,{ref:Sn,id:We,prefixCls:sn,autoClearSearchValue:ya,dropdownMatchSelectWidth:io,dropdownStyle:Sa,displayValues:zr,onDisplayValuesChange:Ka,mode:Rt?"multiple":void 0,searchValue:Jt,onSearch:ba,showSearch:sa,OptionList:bt,emptyOptions:Gr,open:_r,dropdownClassName:Eo,placement:ai,onDropdownVisibleChange:li,getRawInputElement:function(){return yn}})))});xe.SHOW_PARENT=Ge,xe.SHOW_CHILD=Re;var gt=xe,Mt=gt,qt=re(2738),Vt=re(62892),kt=re(53487),rn=re(19080),Wt=re(36355),yt=re(93891),an=re(1684),mt=re(19716),At=re(32441),xt=re(14154),cn=re(58582),Dt=re(84443),Ot=re(66339),xn=re(33234),Gt=re(98447),Kn=re(17313),za=re(74207),sr=re(83116);const Ya=Pt=>{const{prefixCls:Sn,componentCls:Fn,antCls:Zt}=Pt,sn=`${Fn}-menu-item`,On=` &${sn}-expand ${sn}-expand-icon, ${sn}-loading-icon - `;return[{[Fn]:{width:Pt.controlWidth}},{[`${Fn}-dropdown`]:[(0,Gt.C2)(`${Sn}-checkbox`,Pt),{[`&${Zt}-select-dropdown`]:{padding:0}},{[Fn]:{"&-checkbox":{top:0,marginInlineEnd:Pt.paddingXS},"&-menus":{display:"flex",flexWrap:"nowrap",alignItems:"flex-start",[`&${Fn}-menu-empty`]:{[`${Fn}-menu`]:{width:"100%",height:"auto",[sn]:{color:Pt.colorTextDisabled}}}},"&-menu":{flexGrow:1,minWidth:Pt.controlItemWidth,height:Pt.dropdownHeight,margin:0,padding:Pt.menuPadding,overflow:"auto",verticalAlign:"top",listStyle:"none","-ms-overflow-style":"-ms-autohiding-scrollbar","&:not(:last-child)":{borderInlineEnd:`${Pt.lineWidth}px ${Pt.lineType} ${Pt.colorSplit}`},"&-item":Object.assign(Object.assign({},Kn.vS),{display:"flex",flexWrap:"nowrap",alignItems:"center",padding:Pt.optionPadding,lineHeight:Pt.lineHeight,cursor:"pointer",transition:`all ${Pt.motionDurationMid}`,borderRadius:Pt.borderRadiusSM,"&:hover":{background:Pt.controlItemBgHover},"&-disabled":{color:Pt.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"},[On]:{color:Pt.colorTextDisabled}},[`&-active:not(${sn}-disabled)`]:{"&, &:hover":{fontWeight:Pt.optionSelectedFontWeight,backgroundColor:Pt.optionSelectedBg}},"&-content":{flex:"auto"},[On]:{marginInlineStart:Pt.paddingXXS,color:Pt.colorTextDescription,fontSize:Pt.fontSizeIcon},"&-keyword":{color:Pt.colorHighlight}})}}}]},{[`${Fn}-dropdown-rtl`]:{direction:"rtl"}},(0,za.c)(Pt)]};var Da=(0,sr.Z)("Cascader",Pt=>[Ya(Pt)],Pt=>{const Sn=Math.round((Pt.controlHeight-Pt.fontSize*Pt.lineHeight)/2);return{controlWidth:184,controlItemWidth:111,dropdownHeight:180,optionSelectedBg:Pt.controlItemBgActive,optionSelectedFontWeight:Pt.fontWeightStrong,optionPadding:`${Sn}px ${Pt.paddingSM}px`,menuPadding:Pt.paddingXXS}}),Lr=function(Pt,Sn){var Fn={};for(var Zt in Pt)Object.prototype.hasOwnProperty.call(Pt,Zt)&&Sn.indexOf(Zt)<0&&(Fn[Zt]=Pt[Zt]);if(Pt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var sn=0,Zt=Object.getOwnPropertySymbols(Pt);snrt===0?[ke]:[].concat((0,b.Z)(Jn),[Sn,ke]),[]),sn=[];let On=0;return Zt.forEach((Jn,ke)=>{const rt=On+Jn.length;let qe=Pt.slice(On,rt);On=rt,ke%2===1&&(qe=Be.createElement("span",{className:`${Fn}-menu-item-keyword`,key:`separator-${ke}`},qe)),sn.push(qe)}),sn}const Dr=(Pt,Sn,Fn,Zt)=>{const sn=[],On=Pt.toLowerCase();return Sn.forEach((Jn,ke)=>{ke!==0&&sn.push(" / ");let rt=Jn[Zt.label];const qe=typeof rt;(qe==="string"||qe==="number")&&(rt=Xa(String(rt),On,Fn)),sn.push(rt)}),sn},Fa=Be.forwardRef((Pt,Sn)=>{const{prefixCls:Fn,size:Zt,disabled:sn,className:On,rootClassName:Jn,multiple:ke,bordered:rt=!0,transitionName:qe,choiceTransitionName:Dn="",popupClassName:mn,dropdownClassName:Wn,expandIcon:ya,placement:ma,showSearch:ta,allowClear:fa=!0,notFoundContent:ua,direction:hn,getPopupContainer:Ra,status:vr,showArrow:fo,builtinPlacements:Nn,style:tn}=Pt,Or=Lr(Pt,["prefixCls","size","disabled","className","rootClassName","multiple","bordered","transitionName","choiceTransitionName","popupClassName","dropdownClassName","expandIcon","placement","showSearch","allowClear","notFoundContent","direction","getPopupContainer","status","showArrow","builtinPlacements","style"]),ha=(0,qt.Z)(Or,["suffixIcon"]),{getPopupContainer:qr,getPrefixCls:Yr,renderEmpty:na,direction:oo,popupOverflow:Mo,cascader:$r}=Be.useContext(Wt.E_),ho=hn||oo,yn=ho==="rtl",{status:Mr,hasFeedback:io,isFormItemInput:lo,feedbackIcon:dt}=Be.useContext(At.aM),Ue=(0,rn.F)(Mr,vr),We=ua||(na==null?void 0:na("Cascader"))||Be.createElement(yt.Z,{componentName:"Cascader"}),Rt=Yr(),Cn=Yr("select",Fn),aa=Yr("cascader",Fn),[Oe,it]=(0,xt.Z)(Cn),[Me]=Da(aa),{compactSize:ut,compactItemClassnames:zt}=(0,xn.ri)(Cn,hn),Ga=he()(mn||Wn,`${aa}-dropdown`,{[`${aa}-dropdown-rtl`]:ho==="rtl"},Jn,it),ja=Be.useMemo(()=>{if(!ta)return ta;let pn={render:Dr};return typeof ta=="object"&&(pn=Object.assign(Object.assign({},pn),ta)),pn},[ta]),Vn=(0,mt.Z)(pn=>{var Er;return(Er=Zt!=null?Zt:ut)!==null&&Er!==void 0?Er:pn}),Xt=Be.useContext(an.Z),Hn=sn!=null?sn:Xt;let ba=ya;ya||(ba=yn?Be.createElement(Je.Z,null):Be.createElement(Ze.Z,null));const La=Be.createElement("span",{className:`${Cn}-menu-item-loading-icon`},Be.createElement(Te.Z,{spin:!0})),rr=Be.useMemo(()=>ke?Be.createElement("span",{className:`${aa}-checkbox-inner`}):!1,[ke]),sa=(0,Dt.Z)(Pt.suffixIcon,fo),{suffixIcon:wt,removeIcon:ca,clearIcon:gr}=(0,Ot.Z)(Object.assign(Object.assign({},Pt),{hasFeedback:io,feedbackIcon:dt,showSuffixIcon:sa,multiple:ke,prefixCls:Cn,componentName:"Cascader"})),Pr=Be.useMemo(()=>ma!==void 0?ma:yn?"bottomRight":"bottomLeft",[ma,yn]),dr=(0,cn.Z)(Nn,Mo),Zn=fa===!0?{clearIcon:gr}:fa,Rn=Be.createElement(Mt,Object.assign({prefixCls:Cn,className:he()(!Fn&&aa,{[`${Cn}-lg`]:Vn==="large",[`${Cn}-sm`]:Vn==="small",[`${Cn}-rtl`]:yn,[`${Cn}-borderless`]:!rt,[`${Cn}-in-form-item`]:lo},(0,rn.Z)(Cn,Ue,io),zt,$r==null?void 0:$r.className,On,Jn,it),disabled:Hn,style:Object.assign(Object.assign({},$r==null?void 0:$r.style),tn)},ha,{builtinPlacements:dr,direction:ho,placement:Pr,notFoundContent:We,allowClear:Zn,showSearch:ja,expandIcon:ba,suffixIcon:wt,removeIcon:ca,loadingIcon:La,checkable:rr,dropdownClassName:Ga,dropdownPrefixCls:Fn||aa,choiceTransitionName:(0,Vt.m)(Rt,"",Dn),transitionName:(0,Vt.m)(Rt,"slide-up",qe),getPopupContainer:Ra||qr,ref:Sn}));return Me(Oe(Rn))}),Zr=(0,kt.Z)(Fa);Fa.SHOW_PARENT=Ha,Fa.SHOW_CHILD=cr,Fa._InternalPanelDoNotUseOrYouWillBeFired=Zr;var br=Fa},36381:function(je,Nt,re){"use strict";re.d(Nt,{default:function(){return He}});var b=re(38819),Be=re(92310),Je=re.n(Be),Te=re(67711),Ze=re(15142),lt=re(16886),he=re(26420),Xe=re(18929),Ke=re(48736),Ie=re(59301),tt=re(33346),ot=re(11592),Qe=re(52873),de=re(77900),a=re(10228),E=Ie.forwardRef(function(Ft,bt){var It=Ft.prefixCls,Ut=Ft.forceRender,jt=Ft.className,bn=Ft.style,Lt=Ft.children,Fe=Ft.isActive,xe=Ft.role,gt=Ie.useState(Fe||Ut),Mt=(0,lt.Z)(gt,2),qt=Mt[0],Vt=Mt[1];return Ie.useEffect(function(){(Ut||Fe)&&Vt(!0)},[Ut,Fe]),qt?Ie.createElement("div",{ref:bt,className:Je()("".concat(It,"-content"),(0,Qe.Z)((0,Qe.Z)({},"".concat(It,"-content-active"),Fe),"".concat(It,"-content-inactive"),!Fe),jt),style:bn,role:xe},Ie.createElement("div",{className:"".concat(It,"-content-box")},Lt)):null});E.displayName="PanelContent";var x=E,y=["showArrow","headerClass","isActive","onItemClick","forceRender","className","prefixCls","collapsible","accordion","panelKey","extra","header","expandIcon","openMotion","destroyInactivePanel","children"],ee=Ie.forwardRef(function(Ft,bt){var It=Ft.showArrow,Ut=It===void 0?!0:It,jt=Ft.headerClass,bn=Ft.isActive,Lt=Ft.onItemClick,Fe=Ft.forceRender,xe=Ft.className,gt=Ft.prefixCls,Mt=Ft.collapsible,qt=Ft.accordion,Vt=Ft.panelKey,kt=Ft.extra,rn=Ft.header,Wt=Ft.expandIcon,yt=Ft.openMotion,an=Ft.destroyInactivePanel,mt=Ft.children,At=(0,tt.Z)(Ft,y),xt=Mt==="disabled",cn=Mt==="header",Dt=Mt==="icon",Ot=kt!=null&&typeof kt!="boolean",xn=function(){Lt==null||Lt(Vt)},Gt=function(Lr){(Lr.key==="Enter"||Lr.keyCode===a.Z.ENTER||Lr.which===a.Z.ENTER)&&xn()},Kn=typeof Wt=="function"?Wt(Ft):Ie.createElement("i",{className:"arrow"});Kn&&(Kn=Ie.createElement("div",{className:"".concat(gt,"-expand-icon"),onClick:["header","icon"].includes(Mt)?xn:void 0},Kn));var za=Je()((0,Qe.Z)((0,Qe.Z)((0,Qe.Z)({},"".concat(gt,"-item"),!0),"".concat(gt,"-item-active"),bn),"".concat(gt,"-item-disabled"),xt),xe),sr=Je()(jt,(0,Qe.Z)((0,Qe.Z)((0,Qe.Z)({},"".concat(gt,"-header"),!0),"".concat(gt,"-header-collapsible-only"),cn),"".concat(gt,"-icon-collapsible-only"),Dt)),Ya={className:sr,"aria-expanded":bn,"aria-disabled":xt,onKeyDown:Gt};return!cn&&!Dt&&(Ya.onClick=xn,Ya.role=qt?"tab":"button",Ya.tabIndex=xt?-1:0),Ie.createElement("div",(0,Te.Z)({},At,{ref:bt,className:za}),Ie.createElement("div",Ya,Ut&&Kn,Ie.createElement("span",{className:"".concat(gt,"-header-text"),onClick:Mt==="header"?xn:void 0},rn),Ot&&Ie.createElement("div",{className:"".concat(gt,"-extra")},kt)),Ie.createElement(de.default,(0,Te.Z)({visible:bn,leavedClassName:"".concat(gt,"-content-hidden")},yt,{forceRender:Fe,removeOnLeave:an}),function(Da,Lr){var cr=Da.className,Ha=Da.style;return Ie.createElement(x,{ref:Lr,prefixCls:gt,className:cr,style:Ha,isActive:bn,forceRender:Fe,role:qt?"tabpanel":void 0},mt)}))}),ne=ee,oe=["children","label","key","collapsible","onItemClick","destroyInactivePanel"],le=function(bt,It){var Ut=It.prefixCls,jt=It.accordion,bn=It.collapsible,Lt=It.destroyInactivePanel,Fe=It.onItemClick,xe=It.activeKey,gt=It.openMotion,Mt=It.expandIcon;return bt.map(function(qt,Vt){var kt=qt.children,rn=qt.label,Wt=qt.key,yt=qt.collapsible,an=qt.onItemClick,mt=qt.destroyInactivePanel,At=(0,tt.Z)(qt,oe),xt=String(Wt!=null?Wt:Vt),cn=yt!=null?yt:bn,Dt=mt!=null?mt:Lt,Ot=function(Kn){cn!=="disabled"&&(Fe(Kn),an==null||an(Kn))},xn=!1;return jt?xn=xe[0]===xt:xn=xe.indexOf(xt)>-1,Ie.createElement(ne,(0,Te.Z)({},At,{prefixCls:Ut,key:xt,panelKey:xt,isActive:xn,accordion:jt,openMotion:gt,expandIcon:Mt,header:rn,collapsible:cn,onItemClick:Ot,destroyInactivePanel:Dt}),kt)})},ie=function(bt,It,Ut){if(!bt)return null;var jt=Ut.prefixCls,bn=Ut.accordion,Lt=Ut.collapsible,Fe=Ut.destroyInactivePanel,xe=Ut.onItemClick,gt=Ut.activeKey,Mt=Ut.openMotion,qt=Ut.expandIcon,Vt=bt.key||String(It),kt=bt.props,rn=kt.header,Wt=kt.headerClass,yt=kt.destroyInactivePanel,an=kt.collapsible,mt=kt.onItemClick,At=!1;bn?At=gt[0]===Vt:At=gt.indexOf(Vt)>-1;var xt=an!=null?an:Lt,cn=function(xn){xt!=="disabled"&&(xe(xn),mt==null||mt(xn))},Dt={key:Vt,panelKey:Vt,header:rn,headerClass:Wt,isActive:At,prefixCls:jt,destroyInactivePanel:yt!=null?yt:Fe,openMotion:Mt,accordion:bn,children:bt.props.children,onItemClick:cn,expandIcon:qt,collapsible:xt};return typeof bt.type=="string"?bt:(Object.keys(Dt).forEach(function(Ot){typeof Dt[Ot]=="undefined"&&delete Dt[Ot]}),Ie.cloneElement(bt,Dt))};function Ce(Ft,bt,It){return Array.isArray(Ft)?le(Ft,It):(0,ot.Z)(bt).map(function(Ut,jt){return ie(Ut,jt,It)})}var ye=Ce,Ge=re(26112);function Re(Ft){var bt=Ft;if(!Array.isArray(bt)){var It=(0,he.Z)(bt);bt=It==="number"||It==="string"?[bt]:[]}return bt.map(function(Ut){return String(Ut)})}var St=Ie.forwardRef(function(Ft,bt){var It=Ft.prefixCls,Ut=It===void 0?"rc-collapse":It,jt=Ft.destroyInactivePanel,bn=jt===void 0?!1:jt,Lt=Ft.style,Fe=Ft.accordion,xe=Ft.className,gt=Ft.children,Mt=Ft.collapsible,qt=Ft.openMotion,Vt=Ft.expandIcon,kt=Ft.activeKey,rn=Ft.defaultActiveKey,Wt=Ft.onChange,yt=Ft.items,an=Je()(Ut,xe),mt=(0,Xe.Z)([],{value:kt,onChange:function(Gt){return Wt==null?void 0:Wt(Gt)},defaultValue:rn,postState:Re}),At=(0,lt.Z)(mt,2),xt=At[0],cn=At[1],Dt=function(Gt){return cn(function(){if(Fe)return xt[0]===Gt?[]:[Gt];var Kn=xt.indexOf(Gt),za=Kn>-1;return za?xt.filter(function(sr){return sr!==Gt}):[].concat((0,Ze.Z)(xt),[Gt])})};(0,Ke.ZP)(!gt,"[rc-collapse] `children` will be removed in next major version. Please use `items` instead.");var Ot=ye(yt,gt,{prefixCls:Ut,accordion:Fe,openMotion:qt,expandIcon:Vt,collapsible:Mt,destroyInactivePanel:bn,onItemClick:Dt,activeKey:xt});return Ie.createElement("div",(0,Te.Z)({ref:bt,className:an,style:Lt,role:Fe?"tablist":void 0},(0,Ge.Z)(Ft,{aria:!0,data:!0})),Ot)}),ht=Object.assign(St,{Panel:ne}),pt=ht,Gn=ht.Panel,Tn=re(2738),da=re(62892),$n=re(92343),_t=re(36355),In=re(19716),Tt=Ie.forwardRef((Ft,bt)=>{const{getPrefixCls:It}=Ie.useContext(_t.E_),{prefixCls:Ut,className:jt,showArrow:bn=!0}=Ft,Lt=It("collapse",Ut),Fe=Je()({[`${Lt}-no-arrow`]:!bn},jt);return Ie.createElement(pt.Panel,Object.assign({ref:bt},Ft,{prefixCls:Lt,className:Fe}))}),ln=re(17313),fn=re(8378),vn=re(83116),nt=re(37613);const vt=Ft=>{const{componentCls:bt,contentBg:It,padding:Ut,headerBg:jt,headerPadding:bn,collapseHeaderPaddingSM:Lt,collapseHeaderPaddingLG:Fe,collapsePanelBorderRadius:xe,lineWidth:gt,lineType:Mt,colorBorder:qt,colorText:Vt,colorTextHeading:kt,colorTextDisabled:rn,fontSize:Wt,fontSizeLG:yt,lineHeight:an,marginSM:mt,paddingSM:At,paddingLG:xt,paddingXS:cn,motionDurationSlow:Dt,fontSizeIcon:Ot,contentPadding:xn}=Ft,Gt=`${gt}px ${Mt} ${qt}`;return{[bt]:Object.assign(Object.assign({},(0,ln.Wf)(Ft)),{backgroundColor:jt,border:Gt,borderBottom:0,borderRadius:`${xe}px`,"&-rtl":{direction:"rtl"},[`& > ${bt}-item`]:{borderBottom:Gt,"&:last-child":{[` + `;return[{[Fn]:{width:Pt.controlWidth}},{[`${Fn}-dropdown`]:[(0,Gt.C2)(`${Sn}-checkbox`,Pt),{[`&${Zt}-select-dropdown`]:{padding:0}},{[Fn]:{"&-checkbox":{top:0,marginInlineEnd:Pt.paddingXS},"&-menus":{display:"flex",flexWrap:"nowrap",alignItems:"flex-start",[`&${Fn}-menu-empty`]:{[`${Fn}-menu`]:{width:"100%",height:"auto",[sn]:{color:Pt.colorTextDisabled}}}},"&-menu":{flexGrow:1,minWidth:Pt.controlItemWidth,height:Pt.dropdownHeight,margin:0,padding:Pt.menuPadding,overflow:"auto",verticalAlign:"top",listStyle:"none","-ms-overflow-style":"-ms-autohiding-scrollbar","&:not(:last-child)":{borderInlineEnd:`${Pt.lineWidth}px ${Pt.lineType} ${Pt.colorSplit}`},"&-item":Object.assign(Object.assign({},Kn.vS),{display:"flex",flexWrap:"nowrap",alignItems:"center",padding:Pt.optionPadding,lineHeight:Pt.lineHeight,cursor:"pointer",transition:`all ${Pt.motionDurationMid}`,borderRadius:Pt.borderRadiusSM,"&:hover":{background:Pt.controlItemBgHover},"&-disabled":{color:Pt.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"},[On]:{color:Pt.colorTextDisabled}},[`&-active:not(${sn}-disabled)`]:{"&, &:hover":{fontWeight:Pt.optionSelectedFontWeight,backgroundColor:Pt.optionSelectedBg}},"&-content":{flex:"auto"},[On]:{marginInlineStart:Pt.paddingXXS,color:Pt.colorTextDescription,fontSize:Pt.fontSizeIcon},"&-keyword":{color:Pt.colorHighlight}})}}}]},{[`${Fn}-dropdown-rtl`]:{direction:"rtl"}},(0,za.c)(Pt)]};var Da=(0,sr.Z)("Cascader",Pt=>[Ya(Pt)],Pt=>{const Sn=Math.round((Pt.controlHeight-Pt.fontSize*Pt.lineHeight)/2);return{controlWidth:184,controlItemWidth:111,dropdownHeight:180,optionSelectedBg:Pt.controlItemBgActive,optionSelectedFontWeight:Pt.fontWeightStrong,optionPadding:`${Sn}px ${Pt.paddingSM}px`,menuPadding:Pt.paddingXXS}}),Lr=function(Pt,Sn){var Fn={};for(var Zt in Pt)Object.prototype.hasOwnProperty.call(Pt,Zt)&&Sn.indexOf(Zt)<0&&(Fn[Zt]=Pt[Zt]);if(Pt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var sn=0,Zt=Object.getOwnPropertySymbols(Pt);snrt===0?[ke]:[].concat((0,b.Z)(Jn),[Sn,ke]),[]),sn=[];let On=0;return Zt.forEach((Jn,ke)=>{const rt=On+Jn.length;let qe=Pt.slice(On,rt);On=rt,ke%2===1&&(qe=Be.createElement("span",{className:`${Fn}-menu-item-keyword`,key:`separator-${ke}`},qe)),sn.push(qe)}),sn}const Dr=(Pt,Sn,Fn,Zt)=>{const sn=[],On=Pt.toLowerCase();return Sn.forEach((Jn,ke)=>{ke!==0&&sn.push(" / ");let rt=Jn[Zt.label];const qe=typeof rt;(qe==="string"||qe==="number")&&(rt=Xa(String(rt),On,Fn)),sn.push(rt)}),sn},Fa=Be.forwardRef((Pt,Sn)=>{const{prefixCls:Fn,size:Zt,disabled:sn,className:On,rootClassName:Jn,multiple:ke,bordered:rt=!0,transitionName:qe,choiceTransitionName:Dn="",popupClassName:mn,dropdownClassName:Wn,expandIcon:ya,placement:ma,showSearch:ta,allowClear:fa=!0,notFoundContent:ua,direction:hn,getPopupContainer:Ra,status:vr,showArrow:fo,builtinPlacements:Nn,style:tn}=Pt,Or=Lr(Pt,["prefixCls","size","disabled","className","rootClassName","multiple","bordered","transitionName","choiceTransitionName","popupClassName","dropdownClassName","expandIcon","placement","showSearch","allowClear","notFoundContent","direction","getPopupContainer","status","showArrow","builtinPlacements","style"]),ha=(0,qt.Z)(Or,["suffixIcon"]),{getPopupContainer:qr,getPrefixCls:Yr,renderEmpty:na,direction:oo,popupOverflow:Mo,cascader:$r}=Be.useContext(Wt.E_),ho=hn||oo,yn=ho==="rtl",{status:Mr,hasFeedback:io,isFormItemInput:lo,feedbackIcon:dt}=Be.useContext(At.aM),Ue=(0,rn.F)(Mr,vr),We=ua||(na==null?void 0:na("Cascader"))||Be.createElement(yt.Z,{componentName:"Cascader"}),Rt=Yr(),Cn=Yr("select",Fn),aa=Yr("cascader",Fn),[Oe,it]=(0,xt.Z)(Cn),[Me]=Da(aa),{compactSize:ut,compactItemClassnames:zt}=(0,xn.ri)(Cn,hn),Ga=he()(mn||Wn,`${aa}-dropdown`,{[`${aa}-dropdown-rtl`]:ho==="rtl"},Jn,it),ja=Be.useMemo(()=>{if(!ta)return ta;let pn={render:Dr};return typeof ta=="object"&&(pn=Object.assign(Object.assign({},pn),ta)),pn},[ta]),Vn=(0,mt.Z)(pn=>{var Er;return(Er=Zt!=null?Zt:ut)!==null&&Er!==void 0?Er:pn}),Jt=Be.useContext(an.Z),Hn=sn!=null?sn:Jt;let ba=ya;ya||(ba=yn?Be.createElement(Je.Z,null):Be.createElement(Ze.Z,null));const La=Be.createElement("span",{className:`${Cn}-menu-item-loading-icon`},Be.createElement(Te.Z,{spin:!0})),rr=Be.useMemo(()=>ke?Be.createElement("span",{className:`${aa}-checkbox-inner`}):!1,[ke]),sa=(0,Dt.Z)(Pt.suffixIcon,fo),{suffixIcon:wt,removeIcon:ca,clearIcon:gr}=(0,Ot.Z)(Object.assign(Object.assign({},Pt),{hasFeedback:io,feedbackIcon:dt,showSuffixIcon:sa,multiple:ke,prefixCls:Cn,componentName:"Cascader"})),Pr=Be.useMemo(()=>ma!==void 0?ma:yn?"bottomRight":"bottomLeft",[ma,yn]),dr=(0,cn.Z)(Nn,Mo),Zn=fa===!0?{clearIcon:gr}:fa,Rn=Be.createElement(Mt,Object.assign({prefixCls:Cn,className:he()(!Fn&&aa,{[`${Cn}-lg`]:Vn==="large",[`${Cn}-sm`]:Vn==="small",[`${Cn}-rtl`]:yn,[`${Cn}-borderless`]:!rt,[`${Cn}-in-form-item`]:lo},(0,rn.Z)(Cn,Ue,io),zt,$r==null?void 0:$r.className,On,Jn,it),disabled:Hn,style:Object.assign(Object.assign({},$r==null?void 0:$r.style),tn)},ha,{builtinPlacements:dr,direction:ho,placement:Pr,notFoundContent:We,allowClear:Zn,showSearch:ja,expandIcon:ba,suffixIcon:wt,removeIcon:ca,loadingIcon:La,checkable:rr,dropdownClassName:Ga,dropdownPrefixCls:Fn||aa,choiceTransitionName:(0,Vt.m)(Rt,"",Dn),transitionName:(0,Vt.m)(Rt,"slide-up",qe),getPopupContainer:Ra||qr,ref:Sn}));return Me(Oe(Rn))}),Zr=(0,kt.Z)(Fa);Fa.SHOW_PARENT=Ha,Fa.SHOW_CHILD=cr,Fa._InternalPanelDoNotUseOrYouWillBeFired=Zr;var br=Fa},36381:function(je,Nt,re){"use strict";re.d(Nt,{default:function(){return He}});var b=re(38819),Be=re(92310),Je=re.n(Be),Te=re(67711),Ze=re(15142),lt=re(16886),he=re(26420),Xe=re(18929),Ke=re(48736),Ie=re(59301),tt=re(33346),ot=re(11592),Qe=re(52873),de=re(77900),a=re(10228),E=Ie.forwardRef(function(Ft,bt){var It=Ft.prefixCls,Ut=Ft.forceRender,jt=Ft.className,bn=Ft.style,Lt=Ft.children,Fe=Ft.isActive,xe=Ft.role,gt=Ie.useState(Fe||Ut),Mt=(0,lt.Z)(gt,2),qt=Mt[0],Vt=Mt[1];return Ie.useEffect(function(){(Ut||Fe)&&Vt(!0)},[Ut,Fe]),qt?Ie.createElement("div",{ref:bt,className:Je()("".concat(It,"-content"),(0,Qe.Z)((0,Qe.Z)({},"".concat(It,"-content-active"),Fe),"".concat(It,"-content-inactive"),!Fe),jt),style:bn,role:xe},Ie.createElement("div",{className:"".concat(It,"-content-box")},Lt)):null});E.displayName="PanelContent";var x=E,y=["showArrow","headerClass","isActive","onItemClick","forceRender","className","prefixCls","collapsible","accordion","panelKey","extra","header","expandIcon","openMotion","destroyInactivePanel","children"],ee=Ie.forwardRef(function(Ft,bt){var It=Ft.showArrow,Ut=It===void 0?!0:It,jt=Ft.headerClass,bn=Ft.isActive,Lt=Ft.onItemClick,Fe=Ft.forceRender,xe=Ft.className,gt=Ft.prefixCls,Mt=Ft.collapsible,qt=Ft.accordion,Vt=Ft.panelKey,kt=Ft.extra,rn=Ft.header,Wt=Ft.expandIcon,yt=Ft.openMotion,an=Ft.destroyInactivePanel,mt=Ft.children,At=(0,tt.Z)(Ft,y),xt=Mt==="disabled",cn=Mt==="header",Dt=Mt==="icon",Ot=kt!=null&&typeof kt!="boolean",xn=function(){Lt==null||Lt(Vt)},Gt=function(Lr){(Lr.key==="Enter"||Lr.keyCode===a.Z.ENTER||Lr.which===a.Z.ENTER)&&xn()},Kn=typeof Wt=="function"?Wt(Ft):Ie.createElement("i",{className:"arrow"});Kn&&(Kn=Ie.createElement("div",{className:"".concat(gt,"-expand-icon"),onClick:["header","icon"].includes(Mt)?xn:void 0},Kn));var za=Je()((0,Qe.Z)((0,Qe.Z)((0,Qe.Z)({},"".concat(gt,"-item"),!0),"".concat(gt,"-item-active"),bn),"".concat(gt,"-item-disabled"),xt),xe),sr=Je()(jt,(0,Qe.Z)((0,Qe.Z)((0,Qe.Z)({},"".concat(gt,"-header"),!0),"".concat(gt,"-header-collapsible-only"),cn),"".concat(gt,"-icon-collapsible-only"),Dt)),Ya={className:sr,"aria-expanded":bn,"aria-disabled":xt,onKeyDown:Gt};return!cn&&!Dt&&(Ya.onClick=xn,Ya.role=qt?"tab":"button",Ya.tabIndex=xt?-1:0),Ie.createElement("div",(0,Te.Z)({},At,{ref:bt,className:za}),Ie.createElement("div",Ya,Ut&&Kn,Ie.createElement("span",{className:"".concat(gt,"-header-text"),onClick:Mt==="header"?xn:void 0},rn),Ot&&Ie.createElement("div",{className:"".concat(gt,"-extra")},kt)),Ie.createElement(de.default,(0,Te.Z)({visible:bn,leavedClassName:"".concat(gt,"-content-hidden")},yt,{forceRender:Fe,removeOnLeave:an}),function(Da,Lr){var cr=Da.className,Ha=Da.style;return Ie.createElement(x,{ref:Lr,prefixCls:gt,className:cr,style:Ha,isActive:bn,forceRender:Fe,role:qt?"tabpanel":void 0},mt)}))}),ne=ee,oe=["children","label","key","collapsible","onItemClick","destroyInactivePanel"],le=function(bt,It){var Ut=It.prefixCls,jt=It.accordion,bn=It.collapsible,Lt=It.destroyInactivePanel,Fe=It.onItemClick,xe=It.activeKey,gt=It.openMotion,Mt=It.expandIcon;return bt.map(function(qt,Vt){var kt=qt.children,rn=qt.label,Wt=qt.key,yt=qt.collapsible,an=qt.onItemClick,mt=qt.destroyInactivePanel,At=(0,tt.Z)(qt,oe),xt=String(Wt!=null?Wt:Vt),cn=yt!=null?yt:bn,Dt=mt!=null?mt:Lt,Ot=function(Kn){cn!=="disabled"&&(Fe(Kn),an==null||an(Kn))},xn=!1;return jt?xn=xe[0]===xt:xn=xe.indexOf(xt)>-1,Ie.createElement(ne,(0,Te.Z)({},At,{prefixCls:Ut,key:xt,panelKey:xt,isActive:xn,accordion:jt,openMotion:gt,expandIcon:Mt,header:rn,collapsible:cn,onItemClick:Ot,destroyInactivePanel:Dt}),kt)})},ie=function(bt,It,Ut){if(!bt)return null;var jt=Ut.prefixCls,bn=Ut.accordion,Lt=Ut.collapsible,Fe=Ut.destroyInactivePanel,xe=Ut.onItemClick,gt=Ut.activeKey,Mt=Ut.openMotion,qt=Ut.expandIcon,Vt=bt.key||String(It),kt=bt.props,rn=kt.header,Wt=kt.headerClass,yt=kt.destroyInactivePanel,an=kt.collapsible,mt=kt.onItemClick,At=!1;bn?At=gt[0]===Vt:At=gt.indexOf(Vt)>-1;var xt=an!=null?an:Lt,cn=function(xn){xt!=="disabled"&&(xe(xn),mt==null||mt(xn))},Dt={key:Vt,panelKey:Vt,header:rn,headerClass:Wt,isActive:At,prefixCls:jt,destroyInactivePanel:yt!=null?yt:Fe,openMotion:Mt,accordion:bn,children:bt.props.children,onItemClick:cn,expandIcon:qt,collapsible:xt};return typeof bt.type=="string"?bt:(Object.keys(Dt).forEach(function(Ot){typeof Dt[Ot]=="undefined"&&delete Dt[Ot]}),Ie.cloneElement(bt,Dt))};function Ce(Ft,bt,It){return Array.isArray(Ft)?le(Ft,It):(0,ot.Z)(bt).map(function(Ut,jt){return ie(Ut,jt,It)})}var ye=Ce,Ge=re(26112);function Re(Ft){var bt=Ft;if(!Array.isArray(bt)){var It=(0,he.Z)(bt);bt=It==="number"||It==="string"?[bt]:[]}return bt.map(function(Ut){return String(Ut)})}var St=Ie.forwardRef(function(Ft,bt){var It=Ft.prefixCls,Ut=It===void 0?"rc-collapse":It,jt=Ft.destroyInactivePanel,bn=jt===void 0?!1:jt,Lt=Ft.style,Fe=Ft.accordion,xe=Ft.className,gt=Ft.children,Mt=Ft.collapsible,qt=Ft.openMotion,Vt=Ft.expandIcon,kt=Ft.activeKey,rn=Ft.defaultActiveKey,Wt=Ft.onChange,yt=Ft.items,an=Je()(Ut,xe),mt=(0,Xe.Z)([],{value:kt,onChange:function(Gt){return Wt==null?void 0:Wt(Gt)},defaultValue:rn,postState:Re}),At=(0,lt.Z)(mt,2),xt=At[0],cn=At[1],Dt=function(Gt){return cn(function(){if(Fe)return xt[0]===Gt?[]:[Gt];var Kn=xt.indexOf(Gt),za=Kn>-1;return za?xt.filter(function(sr){return sr!==Gt}):[].concat((0,Ze.Z)(xt),[Gt])})};(0,Ke.ZP)(!gt,"[rc-collapse] `children` will be removed in next major version. Please use `items` instead.");var Ot=ye(yt,gt,{prefixCls:Ut,accordion:Fe,openMotion:qt,expandIcon:Vt,collapsible:Mt,destroyInactivePanel:bn,onItemClick:Dt,activeKey:xt});return Ie.createElement("div",(0,Te.Z)({ref:bt,className:an,style:Lt,role:Fe?"tablist":void 0},(0,Ge.Z)(Ft,{aria:!0,data:!0})),Ot)}),ht=Object.assign(St,{Panel:ne}),pt=ht,Gn=ht.Panel,Tn=re(2738),da=re(62892),$n=re(92343),_t=re(36355),In=re(19716),Tt=Ie.forwardRef((Ft,bt)=>{const{getPrefixCls:It}=Ie.useContext(_t.E_),{prefixCls:Ut,className:jt,showArrow:bn=!0}=Ft,Lt=It("collapse",Ut),Fe=Je()({[`${Lt}-no-arrow`]:!bn},jt);return Ie.createElement(pt.Panel,Object.assign({ref:bt},Ft,{prefixCls:Lt,className:Fe}))}),ln=re(17313),fn=re(8378),vn=re(83116),nt=re(37613);const vt=Ft=>{const{componentCls:bt,contentBg:It,padding:Ut,headerBg:jt,headerPadding:bn,collapseHeaderPaddingSM:Lt,collapseHeaderPaddingLG:Fe,collapsePanelBorderRadius:xe,lineWidth:gt,lineType:Mt,colorBorder:qt,colorText:Vt,colorTextHeading:kt,colorTextDisabled:rn,fontSize:Wt,fontSizeLG:yt,lineHeight:an,marginSM:mt,paddingSM:At,paddingLG:xt,paddingXS:cn,motionDurationSlow:Dt,fontSizeIcon:Ot,contentPadding:xn}=Ft,Gt=`${gt}px ${Mt} ${qt}`;return{[bt]:Object.assign(Object.assign({},(0,ln.Wf)(Ft)),{backgroundColor:jt,border:Gt,borderBottom:0,borderRadius:`${xe}px`,"&-rtl":{direction:"rtl"},[`& > ${bt}-item`]:{borderBottom:Gt,"&:last-child":{[` &, & > ${bt}-header`]:{borderRadius:`0 0 ${xe}px ${xe}px`}},[`> ${bt}-header`]:{position:"relative",display:"flex",flexWrap:"nowrap",alignItems:"flex-start",padding:bn,color:kt,lineHeight:an,cursor:"pointer",transition:`all ${Dt}, visibility 0s`,[`> ${bt}-header-text`]:{flex:"auto"},"&:focus":{outline:"none"},[`${bt}-expand-icon`]:{height:Wt*an,display:"flex",alignItems:"center",paddingInlineEnd:mt},[`${bt}-arrow`]:Object.assign(Object.assign({},(0,ln.Ro)()),{fontSize:Ot,svg:{transition:`transform ${Dt}`}}),[`${bt}-header-text`]:{marginInlineEnd:"auto"}},[`${bt}-header-collapsible-only`]:{cursor:"default",[`${bt}-header-text`]:{flex:"none",cursor:"pointer"}},[`${bt}-icon-collapsible-only`]:{cursor:"default",[`${bt}-expand-icon`]:{cursor:"pointer"}}},[`${bt}-content`]:{color:Vt,backgroundColor:It,borderTop:Gt,[`& > ${bt}-content-box`]:{padding:xn},"&-hidden":{display:"none"}},"&-small":{[`> ${bt}-item`]:{[`> ${bt}-header`]:{padding:Lt,paddingInlineStart:cn,[`> ${bt}-expand-icon`]:{marginInlineStart:At-cn}},[`> ${bt}-content > ${bt}-content-box`]:{padding:At}}},"&-large":{[`> ${bt}-item`]:{fontSize:yt,[`> ${bt}-header`]:{padding:Fe,paddingInlineStart:Ut,[`> ${bt}-expand-icon`]:{height:yt*an,marginInlineStart:xt-Ut}},[`> ${bt}-content > ${bt}-content-box`]:{padding:xt}}},[`${bt}-item:last-child`]:{[`> ${bt}-content`]:{borderRadius:`0 0 ${xe}px ${xe}px`}},[`& ${bt}-item-disabled > ${bt}-header`]:{"\n &,\n & > .arrow\n ":{color:rn,cursor:"not-allowed"}},[`&${bt}-icon-position-end`]:{[`& > ${bt}-item`]:{[`> ${bt}-header`]:{[`${bt}-expand-icon`]:{order:1,paddingInlineEnd:0,paddingInlineStart:mt}}}}})}},Bt=Ft=>{const{componentCls:bt}=Ft,It=`> ${bt}-item > ${bt}-header ${bt}-arrow svg`;return{[`${bt}-rtl`]:{[It]:{transform:"rotate(180deg)"}}}},Bn=Ft=>{const{componentCls:bt,headerBg:It,paddingXXS:Ut,colorBorder:jt}=Ft;return{[`${bt}-borderless`]:{backgroundColor:It,border:0,[`> ${bt}-item`]:{borderBottom:`1px solid ${jt}`},[` > ${bt}-item:last-child, > ${bt}-item:last-child ${bt}-header - `]:{borderRadius:0},[`> ${bt}-item:last-child`]:{borderBottom:0},[`> ${bt}-item > ${bt}-content`]:{backgroundColor:"transparent",borderTop:0},[`> ${bt}-item > ${bt}-content > ${bt}-content-box`]:{paddingTop:Ut}}}},nn=Ft=>{const{componentCls:bt,paddingSM:It}=Ft;return{[`${bt}-ghost`]:{backgroundColor:"transparent",border:0,[`> ${bt}-item`]:{borderBottom:0,[`> ${bt}-content`]:{backgroundColor:"transparent",border:0,[`> ${bt}-content-box`]:{paddingBlock:It}}}}}};var on=(0,vn.Z)("Collapse",Ft=>{const bt=(0,nt.TS)(Ft,{collapseHeaderPaddingSM:`${Ft.paddingXS}px ${Ft.paddingSM}px`,collapseHeaderPaddingLG:`${Ft.padding}px ${Ft.paddingLG}px`,collapsePanelBorderRadius:Ft.borderRadiusLG});return[vt(bt),Bn(bt),nn(bt),Bt(bt),(0,fn.Z)(bt)]},Ft=>({headerPadding:`${Ft.paddingSM}px ${Ft.padding}px`,headerBg:Ft.colorFillAlter,contentPadding:`${Ft.padding}px 16px`,contentBg:Ft.colorBgContainer})),Pe=Object.assign(Ie.forwardRef((Ft,bt)=>{const{getPrefixCls:It,direction:Ut,collapse:jt}=Ie.useContext(_t.E_),{prefixCls:bn,className:Lt,rootClassName:Fe,style:xe,bordered:gt=!0,ghost:Mt,size:qt,expandIconPosition:Vt="start",children:kt,expandIcon:rn}=Ft,Wt=(0,In.Z)(Gt=>{var Kn;return(Kn=qt!=null?qt:Gt)!==null&&Kn!==void 0?Kn:"middle"}),yt=It("collapse",bn),an=It(),[mt,At]=on(yt),xt=Ie.useMemo(()=>Vt==="left"?"start":Vt==="right"?"end":Vt,[Vt]),cn=function(){let Gt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const Kn=rn?rn(Gt):Ie.createElement(b.Z,{rotate:Gt.isActive?90:void 0});return(0,$n.Tm)(Kn,()=>({className:Je()(Kn.props.className,`${yt}-arrow`)}))},Dt=Je()(`${yt}-icon-position-${xt}`,{[`${yt}-borderless`]:!gt,[`${yt}-rtl`]:Ut==="rtl",[`${yt}-ghost`]:!!Mt,[`${yt}-${Wt}`]:Wt!=="middle"},jt==null?void 0:jt.className,Lt,Fe,At),Ot=Object.assign(Object.assign({},(0,da.Z)(an)),{motionAppear:!1,leavedClassName:`${yt}-content-hidden`}),xn=Ie.useMemo(()=>kt?(0,ot.Z)(kt).map((Gt,Kn)=>{var za,sr;if(!((za=Gt.props)===null||za===void 0)&&za.disabled){const Ya=(sr=Gt.key)!==null&&sr!==void 0?sr:String(Kn),{disabled:Da,collapsible:Lr}=Gt.props,cr=Object.assign(Object.assign({},(0,Tn.Z)(Gt.props,["disabled"])),{key:Ya,collapsible:Lr!=null?Lr:Da?"disabled":void 0});return(0,$n.Tm)(Gt,cr)}return Gt}):null,[kt]);return mt(Ie.createElement(pt,Object.assign({ref:bt,openMotion:Ot},(0,Tn.Z)(Ft,["rootClassName"]),{expandIcon:cn,prefixCls:yt,className:Dt,style:Object.assign(Object.assign({},jt==null?void 0:jt.style),xe)}),xn))}),{Panel:Tt}),He=Pe},5083:function(je,Nt,re){"use strict";re.d(Nt,{default:function(){return qs}});var b=re(61186),Be=re.n(b),Je=re(48736),Te=re(90111),Ze=re.n(Te),lt=re(58319),he=re.n(lt),Xe=re(23250),Ke=re.n(Xe),Ie=re(74959),tt=re.n(Ie),ot=re(10238),Qe=re.n(ot),de=re(33656),a=re.n(de);Be().extend(a()),Be().extend(Qe()),Be().extend(Ze()),Be().extend(he()),Be().extend(Ke()),Be().extend(tt()),Be().extend(function(se,ce){var ge=ce.prototype,we=ge.format;ge.format=function(Ct){var ft=(Ct||"").replace("Wo","wo");return we.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"},x=function(ce){var ge=E[ce];return ge||ce.split("_")[0]},y=function(){(0,Je.ET)(!1,"Not match any format. Please help to fire a issue about this.")},ee={getNow:function(){return Be()()},getFixedDate:function(ce){return Be()(ce,["YYYY-M-DD","YYYY-MM-DD"])},getEndDate:function(ce){return ce.endOf("month")},getWeekDay:function(ce){var ge=ce.locale("en");return ge.weekday()+ge.localeData().firstDayOfWeek()},getYear:function(ce){return ce.year()},getMonth:function(ce){return ce.month()},getDate:function(ce){return ce.date()},getHour:function(ce){return ce.hour()},getMinute:function(ce){return ce.minute()},getSecond:function(ce){return ce.second()},addYear:function(ce,ge){return ce.add(ge,"year")},addMonth:function(ce,ge){return ce.add(ge,"month")},addDate:function(ce,ge){return ce.add(ge,"day")},setYear:function(ce,ge){return ce.year(ge)},setMonth:function(ce,ge){return ce.month(ge)},setDate:function(ce,ge){return ce.date(ge)},setHour:function(ce,ge){return ce.hour(ge)},setMinute:function(ce,ge){return ce.minute(ge)},setSecond:function(ce,ge){return ce.second(ge)},isAfter:function(ce,ge){return ce.isAfter(ge)},isValidate:function(ce){return ce.isValid()},locale:{getWeekFirstDay:function(ce){return Be()().locale(x(ce)).localeData().firstDayOfWeek()},getWeekFirstDate:function(ce,ge){return ge.locale(x(ce)).weekday(0)},getWeek:function(ce,ge){return ge.locale(x(ce)).week()},getShortWeekDays:function(ce){return Be()().locale(x(ce)).localeData().weekdaysMin()},getShortMonths:function(ce){return Be()().locale(x(ce)).localeData().monthsShort()},format:function(ce,ge,we){return ge.locale(x(ce)).format(we)},parse:function(ce,ge,we){for(var Le=x(ce),Ct=0;Ct1&&(ft=ce.addDate(ft,-7)),ft}function At(se,ce,ge){var we=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;switch(ce){case"year":return ge.addYear(se,we*10);case"quarter":case"month":return ge.addYear(se,we);default:return ge.addMonth(se,we)}}function xt(se,ce){var ge=ce.generateConfig,we=ce.locale,Le=ce.format;return typeof Le=="function"?Le(se):ge.locale.format(we.locale,se,Le)}function cn(se,ce){var ge=ce.generateConfig,we=ce.locale,Le=ce.formatList;return!se||typeof Le[0]=="function"?null:ge.locale.parse(we.locale,se,Le)}function Dt(se){var ce=se.cellDate,ge=se.mode,we=se.disabledDate,Le=se.generateConfig;if(!we)return!1;var Ct=function(jn,Kt,En){for(var Un=Kt;Un<=En;){var Na=void 0;switch(jn){case"date":{if(Na=Le.setDate(ce,Un),!we(Na))return!1;break}case"month":{if(Na=Le.setMonth(ce,Un),!Dt({cellDate:Na,mode:"month",generateConfig:Le,disabledDate:we}))return!1;break}case"year":{if(Na=Le.setYear(ce,Un),!Dt({cellDate:Na,mode:"year",generateConfig:Le,disabledDate:we}))return!1;break}}Un+=1}return!0};switch(ge){case"date":case"week":return we(ce);case"month":{var ft=1,Yt=Le.getDate(Le.getEndDate(ce));return Ct("date",ft,Yt)}case"quarter":{var Ht=Math.floor(Le.getMonth(ce)/3)*3,gn=Ht+2;return Ct("month",Ht,gn)}case"year":return Ct("month",0,11);case"decade":{var qn=Le.getYear(ce),Pn=Math.floor(qn/jt)*jt,An=Pn+jt-1;return Ct("year",Pn,An)}}}function Ot(se,ce){var ge=ce.formatList,we=ce.generateConfig,Le=ce.locale;return(0,It.Z)(function(){if(!se)return[[""],""];for(var Ct="",ft=[],Yt=0;Yt1&&arguments[1]!==void 0?arguments[1]:!1;if(cancelAnimationFrame(gn.current),Un){Ht(En);return}gn.current=requestAnimationFrame(function(){Ht(En)})}var Pn=Ot(Yt,{formatList:ge,generateConfig:we,locale:Le}),An=(0,He.Z)(Pn,2),zn=An[1];function jn(En){qn(En)}function Kt(){var En=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;qn(null,En)}return(0,ie.useEffect)(function(){Kt(!0)},[se]),(0,ie.useEffect)(function(){return function(){return cancelAnimationFrame(gn.current)}},[]),[zn,jn,Kt]}var Gt=re(10228),Kn=re(16089),za=re(15142),sr=re(29194),Ya=new Map;function Da(se,ce){var ge;function we(){(0,sr.Z)(se)?ce():ge=(0,Kn.Z)(function(){we()})}return we(),function(){Kn.Z.cancel(ge)}}function Lr(se,ce,ge){if(Ya.get(se)&&cancelAnimationFrame(Ya.get(se)),ge<=0){Ya.set(se,requestAnimationFrame(function(){se.scrollTop=ce}));return}var we=ce-se.scrollTop,Le=we/ge*10;Ya.set(se,requestAnimationFrame(function(){se.scrollTop+=Le,se.scrollTop!==ce&&Lr(se,ce,ge-10)}))}function cr(se,ce){var ge=ce.onLeftRight,we=ce.onCtrlLeftRight,Le=ce.onUpDown,Ct=ce.onPageUpDown,ft=ce.onEnter,Yt=se.which,Ht=se.ctrlKey,gn=se.metaKey;switch(Yt){case Gt.Z.LEFT:if(Ht||gn){if(we)return we(-1),!0}else if(ge)return ge(-1),!0;break;case Gt.Z.RIGHT:if(Ht||gn){if(we)return we(1),!0}else if(ge)return ge(1),!0;break;case Gt.Z.UP:if(Le)return Le(-1),!0;break;case Gt.Z.DOWN:if(Le)return Le(1),!0;break;case Gt.Z.PAGE_UP:if(Ct)return Ct(-1),!0;break;case Gt.Z.PAGE_DOWN:if(Ct)return Ct(1),!0;break;case Gt.Z.ENTER:if(ft)return ft(),!0;break}return!1}function Ha(se,ce,ge,we){var Le=se;if(!Le)switch(ce){case"time":Le=we?"hh:mm:ss a":"HH:mm:ss";break;case"week":Le="gggg-wo";break;case"month":Le="YYYY-MM";break;case"quarter":Le="YYYY-[Q]Q";break;case"year":Le="YYYY";break;default:Le=ge?"YYYY-MM-DD HH:mm:ss":"YYYY-MM-DD"}return Le}function Xa(se,ce,ge){var we=se==="time"?8:10,Le=typeof ce=="function"?ce(ge.getNow()).length:ce.length;return Math.max(we,Le)+2}var Dr=null,Fa=new Set;function Zr(se){return!Dr&&typeof window!="undefined"&&window.addEventListener&&(Dr=function(ge){(0,za.Z)(Fa).forEach(function(we){we(ge)})},window.addEventListener("mousedown",Dr)),Fa.add(se),function(){Fa.delete(se),Fa.size===0&&(window.removeEventListener("mousedown",Dr),Dr=null)}}function br(se){var ce=se.target;if(se.composed&&ce.shadowRoot){var ge;return((ge=se.composedPath)===null||ge===void 0?void 0:ge.call(se)[0])||ce}return ce}var Pt=function(ce){return ce==="month"||ce==="date"?"year":ce},Sn=function(ce){return ce==="date"?"month":ce},Fn=function(ce){return ce==="month"||ce==="date"?"quarter":ce},Zt=function(ce){return ce==="date"?"week":ce},sn={year:Pt,month:Sn,quarter:Fn,week:Zt,time:null,date:null};function On(se,ce){return se.some(function(ge){return ge&&ge.contains(ce)})}function Jn(se){var ce=se.open,ge=se.value,we=se.isClickOutside,Le=se.triggerOpen,Ct=se.forwardKeyDown,ft=se.onKeyDown,Yt=se.blurToCancel,Ht=se.onSubmit,gn=se.onCancel,qn=se.onFocus,Pn=se.onBlur,An=se.changeOnBlur,zn=(0,ie.useState)(!1),jn=(0,He.Z)(zn,2),Kt=jn[0],En=jn[1],Un=(0,ie.useState)(!1),Na=(0,He.Z)(Un,2),Pa=Na[0],Wa=Na[1],Ja=(0,ie.useRef)(!1),oa=(0,ie.useRef)(!1),Aa=(0,ie.useRef)(!1),so={onMouseDown:function(){En(!0),Le(!0)},onKeyDown:function(no){var Do=function(){Aa.current=!0};if(ft(no,Do),!Aa.current){switch(no.which){case Gt.Z.ENTER:{ce?Ht()!==!1&&En(!0):Le(!0),no.preventDefault();return}case Gt.Z.TAB:{Kt&&ce&&!no.shiftKey?(En(!1),no.preventDefault()):!Kt&&ce&&!Ct(no)&&no.shiftKey&&(En(!0),no.preventDefault());return}case Gt.Z.ESC:{En(!0),gn();return}}!ce&&![Gt.Z.SHIFT].includes(no.which)?Le(!0):Kt||Ct(no)}},onFocus:function(no){En(!0),Wa(!0),qn&&qn(no)},onBlur:function(no){if(Ja.current||!we(document.activeElement)){Ja.current=!1;return}Yt?setTimeout(function(){for(var Do=document,Io=Do.activeElement;Io&&Io.shadowRoot;)Io=Io.shadowRoot.activeElement;we(Io)&&gn()},0):ce&&(Le(!1),oa.current&&Ht()),Wa(!1),Pn==null||Pn(no)}};return(0,ie.useEffect)(function(){oa.current=!1},[ce]),(0,ie.useEffect)(function(){oa.current=!0},[ge]),(0,ie.useEffect)(function(){return Zr(function(wr){var no=br(wr),Do=we(no);ce&&(Do?!An&&(!Pa||Do)&&Le(!1):(Ja.current=!0,(0,Kn.Z)(function(){Ja.current=!1})))})}),[so,{focused:Pa,typing:Kt}]}function ke(se,ce){return ie.useMemo(function(){return se||(ce?((0,Je.ZP)(!1,"`ranges` is deprecated. Please use `presets` instead."),Object.entries(ce).map(function(ge){var we=(0,He.Z)(ge,2),Le=we[0],Ct=we[1];return{label:Le,value:Ct}})):[])},[se,ce])}var rt=re(34280);function qe(se){var ce=se.valueTexts,ge=se.onTextChange,we=ie.useState(""),Le=(0,He.Z)(we,2),Ct=Le[0],ft=Le[1],Yt=ie.useRef([]);Yt.current=ce;function Ht(qn){ft(qn),ge(qn)}function gn(){ft(Yt.current[0])}return(0,rt.Z)(function(){ce.every(function(qn){return qn!==Ct})&&gn()},[ce.join("||")]),[Ct,Ht,gn]}var Dn=ie.createContext({}),mn=Dn,Wn=re(26420);function ya(se){var ce=se.cellRender,ge=se.monthCellRender,we=se.dateRender,Le=ie.useMemo(function(){if(ce)return ce;if(!(!ge&&!we))return function(Ct,ft){var Yt=Ct;return we&&ft.type==="date"?we(Yt,ft.today):ge&&ft.type==="month"?ge(Yt,ft.locale):ft.originNode}},[ce,ge,we]);return Le}function ma(se,ce){for(var ge=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0",we=String(se);we.length=1?ge|0:1,ft=se;ft<=ce;ft+=Ct)Le.push({label:ma(ft,2),value:ft,disabled:(we||[]).includes(ft)});return Le}function Me(se){var ce=se.generateConfig,ge=se.prefixCls,we=se.operationRef,Le=se.activeColumnIndex,Ct=se.value,ft=se.showHour,Yt=se.showMinute,Ht=se.showSecond,gn=se.use12Hours,qn=se.hourStep,Pn=qn===void 0?1:qn,An=se.minuteStep,zn=An===void 0?1:An,jn=se.secondStep,Kt=jn===void 0?1:jn,En=se.disabledHours,Un=se.disabledMinutes,Na=se.disabledSeconds,Pa=se.disabledTime,Wa=se.hideDisabledOptions,Ja=se.onSelect,oa=se.cellRender,Aa=se.locale,so=[],wr="".concat(ge,"-content"),no="".concat(ge,"-time-panel"),Do,Io=Ct?ce.getHour(Ct):-1,Go=Io,mi=Ct?ce.getMinute(Ct):-1,jo=Ct?ce.getSecond(Ct):-1,ao=ce.getNow(),Oo=ie.useMemo(function(){if(Pa){var Ao=Pa(ao);return[Ao.disabledHours,Ao.disabledMinutes,Ao.disabledSeconds]}return[En,Un,Na]},[En,Un,Na,Pa,ao]),$o=(0,He.Z)(Oo,3),Ko=$o[0],Uo=$o[1],fi=$o[2],Ti=it(0,23,Pn,Ko&&Ko()),Pi=(0,It.Z)(function(){return Ti},Ti,Oe);gn&&(Do=Go>=12,Go%=12);var zi=ie.useMemo(function(){if(!gn)return[!1,!1];var Ao=[!0,!0];return Pi.forEach(function(Hr){var Ai=Hr.disabled,Ri=Hr.value;Ai||(Ri>=12?Ao[1]=!1:Ao[0]=!1)}),Ao},[gn,Pi]),ri=(0,He.Z)(zi,2),Ki=ri[0],vi=ri[1],Oi=ie.useMemo(function(){return gn?Pi.filter(Do?function(Ao){return Ao.value>=12}:function(Ao){return Ao.value<12}).map(function(Ao){var Hr=Ao.value%12,Ai=Hr===0?"12":ma(Hr,2);return(0,Pe.Z)((0,Pe.Z)({},Ao),{},{label:Ai,value:Hr})}):Pi},[gn,Do,Pi]),Gi=it(0,59,zn,Uo&&Uo(Io)),$i=it(0,59,Kt,fi&&fi(Io,mi)),ji=Rt({value:Ct,generateConfig:ce,disabledMinutes:Uo,disabledSeconds:fi,minutes:Gi,seconds:$i,use12Hours:gn});we.current={onUpDown:function(Hr){var Ai=so[Le];if(Ai)for(var Ri=Ai.units.findIndex(function(ll){return ll.value===Ai.value}),el=Ai.units.length,wi=1;wi2&&arguments[2]!==void 0?arguments[2]:!1;(yi===En||bi)&&(pu(er),so&&so(er),ji&&ji(er,Co),wr&&!yt(Ht,er,fl)&&!(zn!=null&&zn(er))&&wr(er))},dl=function(er){if(ui.includes(yi)){var Co,bi,Gl=yi==="date";switch(er===Gt.Z.PAGE_UP||er===Gt.Z.PAGE_DOWN?bi=Gl?Ht.addMonth:Ht.addYear:bi=Gl?Ht.addDate:Ht.addMonth,er){case Gt.Z.LEFT:case Gt.Z.PAGE_UP:Co=bi(ol,-1);break;case Gt.Z.RIGHT:case Gt.Z.PAGE_DOWN:Co=bi(ol,1);break;case Gt.Z.UP:case Gt.Z.DOWN:Co=bi(ol,Number("".concat(er===Gt.Z.UP?"-":"").concat(Gl?Lt:Rn)));break}if(Co)return!(zn!=null&&zn(Co))}return!0},au=function(er){if(wi.current&&wi.current.onKeyDown){var Co=!0,bi=er.which;if([Gt.Z.LEFT,Gt.Z.RIGHT,Gt.Z.UP,Gt.Z.DOWN,Gt.Z.PAGE_UP,Gt.Z.PAGE_DOWN,Gt.Z.ENTER].includes(bi)&&(er.preventDefault(),bi!==Gt.Z.ENTER&&Na===0&&(Co=dl(bi))),Co)return wi.current.onKeyDown(er)}return(0,Je.ZP)(!1,"Panel not correct handle keyDown event. Please help to fire issue about this."),!1},ni=function(er){wi.current&&wi.current.onBlur&&wi.current.onBlur(er)};$i&&Ai!=="right"&&($i.current={onKeyDown:au,onClose:function(){wi.current&&wi.current.onClose&&wi.current.onClose()}}),ie.useEffect(function(){gn&&!ki.current&&Vl(gn)},[gn]),ie.useEffect(function(){ki.current=!1},[]);var cl,Zl=ya({cellRender:zi,monthCellRender:Pi,dateRender:Ti}),Qo=(0,Pe.Z)((0,Pe.Z)({},se),{},{cellRender:Zl,operationRef:wi,prefixCls:Le,viewDate:ol,value:fl,onViewDateChange:sl,sourceMode:Bl,onPanelChange:Al,disabledDate:zn});switch(delete Qo.onChange,delete Qo.onSelect,yi){case"decade":cl=ie.createElement(Pr,(0,le.Z)({},Qo,{onSelect:function(er,Co){sl(er),Vi(er,Co)}}));break;case"year":cl=ie.createElement(Xr,(0,le.Z)({},Qo,{onSelect:function(er,Co){sl(er),Vi(er,Co)}}));break;case"month":cl=ie.createElement(to,(0,le.Z)({},Qo,{onSelect:function(er,Co){sl(er),Vi(er,Co)}}));break;case"quarter":cl=ie.createElement(Sa,(0,le.Z)({},Qo,{onSelect:function(er,Co){sl(er),Vi(er,Co)}}));break;case"week":cl=ie.createElement($t,(0,le.Z)({},Qo,{onSelect:function(er,Co){sl(er),Vi(er,Co)}}));break;case"time":delete Qo.showTime,cl=ie.createElement(ja,(0,le.Z)({},Qo,(0,Wn.Z)(Wa)==="object"?Wa:null,{onSelect:function(er,Co){sl(er),Vi(er,Co)}}));break;default:Wa?cl=ie.createElement(Hn,(0,le.Z)({},Qo,{onSelect:function(er,Co){sl(er),Vi(er,Co)}})):cl=ie.createElement(dt,(0,le.Z)({},Qo,{onSelect:function(er,Co){sl(er),Vi(er,Co)}}))}var Cl,Dl,zl=function(){var er=Ht.getNow(),Co=ha(Ht.getHour(er),Ht.getMinute(er),Ht.getSecond(er),Ki?Oo:1,vi?Ko:1,Oi?fi:1),bi=tn(Ht,er,Co[0],Co[1],Co[2]);Vi(bi,"submit")};ml||(Cl=yo(Le,yi,oa),Wa&&yi!=="date"?Dl=null:Dl=So({prefixCls:Le,components:mi,needConfirmButton:ri,okDisabled:!fl||zn&&zn(fl),locale:Yt,showNow:Pa,onNow:ri&&zl,onOk:function(){fl&&(Vi(fl,"submit",!0),Go&&Go(fl))}}));var Bu;if(Ja&&yi==="date"&&En==="date"&&!Wa){var vl=Ht.getNow(),Du="".concat(Le,"-today-btn"),ru=zn&&zn(vl);Bu=ie.createElement("a",{className:nt()(Du,ru&&"".concat(Du,"-disabled")),"aria-disabled":ru,onClick:function(){ru||Vi(vl,"mouse",!0)}},Yt.today)}return ie.createElement(mn.Provider,{value:(0,Pe.Z)((0,Pe.Z)({},Gi),{},{mode:yi,hideHeader:"hideHeader"in se?Aa:Gi.hideHeader,hidePrevBtn:Hr&&Ai==="right",hideNextBtn:Hr&&Ai==="left"})},ie.createElement("div",{tabIndex:Na,className:nt()("".concat(Le,"-panel"),Ct,(ce={},(0,De.Z)(ce,"".concat(Le,"-panel-has-range"),Ri&&Ri[0]&&Ri[1]),(0,De.Z)(ce,"".concat(Le,"-panel-has-range-hover"),el&&el[0]&&el[1]),(0,De.Z)(ce,"".concat(Le,"-panel-rtl"),jo==="rtl"),ce)),style:ft,onKeyDown:au,onBlur:ni,onMouseDown:Do},cl,Cl||Dl||Bu?ie.createElement("div",{className:"".concat(Le,"-footer")},Cl,Dl,Bu):null))}var Di=ko,hl=re(35593),di={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 bl(se){var ce,ge=se.prefixCls,we=se.popupElement,Le=se.popupStyle,Ct=se.visible,ft=se.dropdownClassName,Yt=se.dropdownAlign,Ht=se.transitionName,gn=se.getPopupContainer,qn=se.children,Pn=se.range,An=se.popupPlacement,zn=se.direction,jn="".concat(ge,"-dropdown"),Kt=function(){return An!==void 0?An:zn==="rtl"?"bottomRight":"bottomLeft"};return ie.createElement(hl.Z,{showAction:[],hideAction:[],popupPlacement:Kt(),builtinPlacements:di,prefixCls:jn,popupTransitionName:Ht,popup:we,popupAlign:Yt,popupVisible:Ct,popupClassName:nt()(ft,(ce={},(0,De.Z)(ce,"".concat(jn,"-range"),Pn),(0,De.Z)(ce,"".concat(jn,"-rtl"),zn==="rtl"),ce)),popupStyle:Le,getPopupContainer:gn},qn)}var Ii=bl;function gl(se){var ce=se.prefixCls,ge=se.presets,we=se.onClick,Le=se.onHover;return ge.length?ie.createElement("div",{className:"".concat(ce,"-presets")},ie.createElement("ul",null,ge.map(function(Ct,ft){var Yt=Ct.label,Ht=Ct.value;return ie.createElement("li",{key:ft,onClick:function(){return we==null?void 0:we(Ra(Ht))},onMouseEnter:function(){return Le==null?void 0:Le(Ra(Ht))},onMouseLeave:function(){return Le==null?void 0:Le(null)}},Yt)}))):null}function al(se){var ce=se.picker,ge=se.disabledHours,we=se.disabledMinutes,Le=se.disabledSeconds;ce==="time"&&(ge||we||Le)&&warning(!1,"'disabledHours', 'disabledMinutes', 'disabledSeconds' will be removed in the next major version, please use 'disabledTime' instead.")}function Il(se,ce,ge){var we=(0,Wn.Z)(ce)==="object"?ce.clearIcon:ge;return we||ie.createElement("span",{className:"".concat(se,"-clear-btn")})}function rl(se){var ce,ge=se,we=ge.prefixCls,Le=we===void 0?"rc-picker":we,Ct=ge.id,ft=ge.name,Yt=ge.tabIndex,Ht=ge.style,gn=ge.className,qn=ge.dropdownClassName,Pn=ge.dropdownAlign,An=ge.popupStyle,zn=ge.transitionName,jn=ge.generateConfig,Kt=ge.locale,En=ge.inputReadOnly,Un=ge.allowClear,Na=ge.autoFocus,Pa=ge.showTime,Wa=ge.picker,Ja=Wa===void 0?"date":Wa,oa=ge.format,Aa=ge.use12Hours,so=ge.value,wr=ge.defaultValue,no=ge.presets,Do=ge.open,Io=ge.defaultOpen,Go=ge.defaultOpenValue,mi=ge.suffixIcon,jo=ge.clearIcon,ao=ge.disabled,Oo=ge.disabledDate,$o=ge.placeholder,Ko=ge.getPopupContainer,Uo=ge.pickerRef,fi=ge.panelRender,Ti=ge.onChange,Pi=ge.onOpenChange,zi=ge.onFocus,ri=ge.onBlur,Ki=ge.onMouseDown,vi=ge.onMouseUp,Oi=ge.onMouseEnter,Gi=ge.onMouseLeave,$i=ge.onContextMenu,ji=ge.onClick,ml=ge.onKeyDown,kl=ge.onSelect,Ao=ge.direction,Hr=ge.autoComplete,Ai=Hr===void 0?"off":Hr,Ri=ge.inputRender,el=ge.changeOnBlur,wi=ie.useRef(null),ki=Ja==="date"&&!!Pa||Ja==="time",ll=ke(no),ul=fa(Ha(oa,Ja,Pa,Aa)),fl=ie.useRef(null),pu=ie.useRef(null),bu=ie.useRef(null),Jo=(0,Ft.Z)(null,{value:so,defaultValue:wr}),ol=(0,He.Z)(Jo,2),Vl=ol[0],sl=ol[1],hu=ie.useState(Vl),Xl=(0,He.Z)(hu,2),El=Xl[0],yi=Xl[1],Ui=ie.useRef(null),Jl=(0,Ft.Z)(!1,{value:Do,defaultValue:Io,postState:function(Tr){return ao?!1:Tr},onChange:function(Tr){Pi&&Pi(Tr),!Tr&&Ui.current&&Ui.current.onClose&&Ui.current.onClose()}}),Sl=(0,He.Z)(Jl,2),Bl=Sl[0],Pl=Sl[1],Al=Ot(El,{formatList:ul,generateConfig:jn,locale:Kt}),Vi=(0,He.Z)(Al,2),dl=Vi[0],au=Vi[1],ni=qe({valueTexts:dl,onTextChange:function(Tr){var il=cn(Tr,{locale:Kt,formatList:ul,generateConfig:jn});il&&(!Oo||!Oo(il))&&yi(il)}}),cl=(0,He.Z)(ni,3),Zl=cl[0],Qo=cl[1],Cl=cl[2],Dl=function(Tr){yi(Tr),sl(Tr),Ti&&!yt(jn,Vl,Tr)&&Ti(Tr,Tr?xt(Tr,{generateConfig:jn,locale:Kt,format:ul[0]}):"")},zl=function(Tr){ao&&Tr||Pl(Tr)},Bu=function(Tr){return Bl&&Ui.current&&Ui.current.onKeyDown?Ui.current.onKeyDown(Tr):((0,Je.ZP)(!1,"Picker not correct forward KeyDown operation. Please help to fire issue about this."),!1)},vl=function(){for(var Tr=arguments.length,il=new Array(Tr),Ci=0;CiAn(gn);case"month":return Pn(Kt)>Pn(gn);case"week":return qn(Kt)>qn(gn);default:return!kt(Yt,Kt,gn)&&Yt.isAfter(Kt,gn)}return!1},[Ct,ft[1],gn,ce]),jn=ie.useCallback(function(Kt){if(ft[1]||Ct&&Ct(Kt))return!0;if(ft[0]&&Ht)return!kt(Yt,Kt,gn)&&Yt.isAfter(Ht,Kt);if(!ce&&Ht)switch(ge){case"quarter":return An(Kt)0&&arguments[0]!==void 0?arguments[0]:!1,ir=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Rr=null;Yi&&st&&st[0]&&st[1]&&Kt.isAfter(st[1],st[0])&&(Rr=st);var To=Aa;if(Aa&&(0,Wn.Z)(Aa)==="object"&&Aa.defaultValue){var oi=Aa.defaultValue;To=(0,Pe.Z)((0,Pe.Z)({},Aa),{},{defaultValue:ua(oi,Qr)||void 0})}return ie.createElement(Nn.Provider,{value:{inRange:!0,panelPosition:po,rangedValue:Qt||ro,hoverRangedValue:Rr}},ie.createElement(Di,(0,le.Z)({},se,ir,{cellRender:ei,showTime:To,mode:Gl[Qr],generateConfig:Kt,style:void 0,direction:ol,disabledDate:Qr===0?Ql:as,disabledTime:function(pl){return Oo?Oo(pl,Qr===0?"start":"end"):!1},className:nt()((0,De.Z)({},"".concat(ft,"-panel-focused"),Qr===0?!Va:!No)),value:ua(ro,Qr),locale:En,tabIndex:-1,onPanelChange:function(pl,Ul){Qr===0&&Ia(!0),Qr===1&&Sr(!0),ci(hn(Gl,Ul,Qr),hn(ro,pl,Qr));var Yl=pl;po==="right"&&Gl[Qr]===Ul&&(Yl=At(Yl,Ul,Kt,-1)),vl(Yl,Qr)},onOk:null,onSelect:void 0,onChange:void 0,defaultValue:Qr===0?ua(ro,1):ua(ro,0)})))}var pi=0,Hi=0;if(Qr&&Jl.current&&Bl.current&&Ui.current&&Vi.current){pi=Jl.current.offsetWidth+Bl.current.offsetWidth;var xa=Vi.current.offsetLeft>pi?Vi.current.offsetLeft-pi:Vi.current.offsetLeft,eo=Ui.current.offsetWidth,Bi=Vi.current.offsetWidth;eo&&Bi&&pi>eo-Bi-(ol==="rtl"?0:xa)&&(Hi=pi)}var Wi=ol==="rtl"?{right:pi}:{left:pi};function xr(){var po,ir=yo(ft,Gl[Qr],ji),Rr=So({prefixCls:ft,components:bu,needConfirmButton:El,okDisabled:!ua(ro,Qr)||ao&&ao(ro[Qr]),locale:En,onOk:function(){var jl=ua(ro,Qr);jl&&(Ci(ro,Qr),fl==null||fl(ro),wl(!1,Qr,"confirm"))}});if(oa!=="time"&&!Aa){var To=Bu(Qr),oi=At(To,oa,Kt),xl=Gl[Qr],pl=xl===oa,Ul=si(pl?"left":!1,{pickerValue:To,onPickerValueChange:function(jl){vl(jl,Qr)}}),Yl=si("right",{pickerValue:oi,onPickerValueChange:function(jl){vl(At(jl,oa,Kt,-1),Qr)}});ol==="rtl"?po=ie.createElement(ie.Fragment,null,Yl,pl&&Ul):po=ie.createElement(ie.Fragment,null,Ul,pl&&Yl)}else po=si();var xu=ie.createElement("div",{className:"".concat(ft,"-panel-layout")},ie.createElement(gl,{prefixCls:ft,presets:Vo,onClick:function(jl){Ci(jl,null),wl(!1,Qr,"preset")},onHover:function(jl){Ln(jl)}}),ie.createElement("div",null,ie.createElement("div",{className:"".concat(ft,"-panels")},po),(ir||Rr)&&ie.createElement("div",{className:"".concat(ft,"-footer")},ir,Rr)));return fi&&(xu=fi(xu)),ie.createElement("div",{className:"".concat(ft,"-panel-container"),style:{marginLeft:Hi},ref:Ui,onMouseDown:function(jl){jl.preventDefault()}},xu)}var Cr=ie.createElement("div",{className:nt()("".concat(ft,"-range-wrapper"),"".concat(ft,"-").concat(oa,"-range-wrapper")),style:{minWidth:vo}},ie.createElement("div",{ref:Vi,className:"".concat(ft,"-range-arrow"),style:Wi}),xr()),Yn;Ki&&(Yn=ie.createElement("span",{className:"".concat(ft,"-suffix"),onMouseDown:function(ir){ir.preventDefault()}},Ki));var Bo=Il(ft,ri,vi),hi=ie.createElement("span",{onMouseDown:function(ir){ir.preventDefault(),ir.stopPropagation()},onMouseUp:function(ir){ir.preventDefault(),ir.stopPropagation();var Rr=Qo;ni[0]||(Rr=hn(Rr,null,0)),ni[1]||(Rr=hn(Rr,null,1)),Ci(Rr,null),wl(!1,Qr,"clear")},className:"".concat(ft,"-clear"),role:"button"},Bo),Zo=ri&&(ua(Qo,0)&&!ni[0]||ua(Qo,1)&&!ni[1]),or={size:Xa(oa,dl[0],Kt)},yr=0,mo=0;Jl.current&&Sl.current&&Bl.current&&(Qr===0?mo=Jl.current.offsetWidth:(yr=pi,mo=Sl.current.offsetWidth));var xi=ol==="rtl"?{right:yr}:{left:yr},Ds=function(ir,Rr){var To=hn(ro,ir,Qr);if(Rr==="submit"||Rr!=="key"&&!El){Ci(To,Qr),Qr===0?Ia():Sr();var oi=Qr===0?1:0;ni[oi]?wl(!1,!1,"confirm"):wl(!1,Qr,"confirm")}else er(To)};return ie.createElement(mn.Provider,{value:{operationRef:au,hideHeader:oa==="time",onDateMouseEnter:Ta,onDateMouseLeave:ur,hideRanges:!0,onSelect:Ds,open:Yi}},ie.createElement(Ii,{visible:Yi,popupElement:Cr,popupStyle:qn,prefixCls:ft,dropdownClassName:Pn,dropdownAlign:zn,getPopupContainer:jn,transitionName:An,range:!0,direction:ol},ie.createElement("div",(0,le.Z)({ref:yi,className:nt()(ft,"".concat(ft,"-range"),gn,(ce={},(0,De.Z)(ce,"".concat(ft,"-disabled"),ni[0]&&ni[1]),(0,De.Z)(ce,"".concat(ft,"-focused"),Qr===0?tr:Yo),(0,De.Z)(ce,"".concat(ft,"-rtl"),ol==="rtl"),ce)),style:Ht,onClick:wo,onMouseEnter:ki,onMouseLeave:ll,onMouseDown:Ba,onMouseUp:wi},(0,bt.Z)(se,{aria:!0,data:!0})),ie.createElement("div",{className:nt()("".concat(ft,"-input"),(ge={},(0,De.Z)(ge,"".concat(ft,"-input-active"),Qr===0),(0,De.Z)(ge,"".concat(ft,"-input-placeholder"),!!ia),ge)),ref:Jl},ie.createElement("input",(0,le.Z)({id:Yt,disabled:ni[0],readOnly:Gi||typeof dl[0]=="function"||!Va,value:ia||Qu,onChange:function(ir){us(ir.target.value)},autoFocus:Na,placeholder:ua(Un,0)||"",ref:Pl},Jt,or,{autoComplete:hu}))),ie.createElement("div",{className:"".concat(ft,"-range-separator"),ref:Bl},no),ie.createElement("div",{className:nt()("".concat(ft,"-input"),(we={},(0,De.Z)(we,"".concat(ft,"-input-active"),Qr===1),(0,De.Z)(we,"".concat(ft,"-input-placeholder"),!!ea),we)),ref:Sl},ie.createElement("input",(0,le.Z)({disabled:ni[1],readOnly:Gi||typeof dl[0]=="function"||!No,value:ea||ss,onChange:function(ir){ve(ir.target.value)},placeholder:ua(Un,1)||"",ref:Al},nr,or,{autoComplete:hu}))),ie.createElement("div",{className:"".concat(ft,"-active-bar"),style:(0,Pe.Z)((0,Pe.Z)({},xi),{},{width:mo,position:"absolute"})}),Yn,Zo&&hi)))}var gi=function(se){(0,nn.Z)(ge,se);var ce=(0,on.Z)(ge);function ge(){var we;(0,vt.Z)(this,ge);for(var Le=arguments.length,Ct=new Array(Le),ft=0;ft{const{lineHeight:Le}=se,Ct=Math.floor(ge*Le)+2,ft=Math.max((ce-Ct)/2,0),Yt=Math.max(ce-Ct-ft,0);return{padding:`${ft}px ${we}px ${Yt}px`}},tu=se=>{const{componentCls:ce,pickerCellCls:ge,pickerCellInnerCls:we,cellHeight:Le,motionDurationSlow:Ct,borderRadiusSM:ft,motionDurationMid:Yt,cellHoverBg:Ht,lineWidth:gn,lineType:qn,colorPrimary:Pn,cellActiveWithRangeBg:An,colorTextLightSolid:zn,controlHeightSM:jn,cellRangeBorderColor:Kt,pickerCellBorderGap:En,cellHoverWithRangeBg:Un,cellWidth:Na,colorTextDisabled:Pa,cellBgDisabled:Wa}=se;return{"&::before":{position:"absolute",top:"50%",insetInlineStart:0,insetInlineEnd:0,zIndex:1,height:Le,transform:"translateY(-50%)",transition:`all ${Ct}`,content:'""'},[we]:{position:"relative",zIndex:2,display:"inline-block",minWidth:Le,height:Le,lineHeight:`${Le}px`,borderRadius:ft,transition:`background ${Yt}, border ${Yt}`},"&-range-hover-start, &-range-hover-end":{[we]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:hover:not(${ge}-in-view), + `]:{borderRadius:0},[`> ${bt}-item:last-child`]:{borderBottom:0},[`> ${bt}-item > ${bt}-content`]:{backgroundColor:"transparent",borderTop:0},[`> ${bt}-item > ${bt}-content > ${bt}-content-box`]:{paddingTop:Ut}}}},nn=Ft=>{const{componentCls:bt,paddingSM:It}=Ft;return{[`${bt}-ghost`]:{backgroundColor:"transparent",border:0,[`> ${bt}-item`]:{borderBottom:0,[`> ${bt}-content`]:{backgroundColor:"transparent",border:0,[`> ${bt}-content-box`]:{paddingBlock:It}}}}}};var on=(0,vn.Z)("Collapse",Ft=>{const bt=(0,nt.TS)(Ft,{collapseHeaderPaddingSM:`${Ft.paddingXS}px ${Ft.paddingSM}px`,collapseHeaderPaddingLG:`${Ft.padding}px ${Ft.paddingLG}px`,collapsePanelBorderRadius:Ft.borderRadiusLG});return[vt(bt),Bn(bt),nn(bt),Bt(bt),(0,fn.Z)(bt)]},Ft=>({headerPadding:`${Ft.paddingSM}px ${Ft.padding}px`,headerBg:Ft.colorFillAlter,contentPadding:`${Ft.padding}px 16px`,contentBg:Ft.colorBgContainer})),Pe=Object.assign(Ie.forwardRef((Ft,bt)=>{const{getPrefixCls:It,direction:Ut,collapse:jt}=Ie.useContext(_t.E_),{prefixCls:bn,className:Lt,rootClassName:Fe,style:xe,bordered:gt=!0,ghost:Mt,size:qt,expandIconPosition:Vt="start",children:kt,expandIcon:rn}=Ft,Wt=(0,In.Z)(Gt=>{var Kn;return(Kn=qt!=null?qt:Gt)!==null&&Kn!==void 0?Kn:"middle"}),yt=It("collapse",bn),an=It(),[mt,At]=on(yt),xt=Ie.useMemo(()=>Vt==="left"?"start":Vt==="right"?"end":Vt,[Vt]),cn=function(){let Gt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const Kn=rn?rn(Gt):Ie.createElement(b.Z,{rotate:Gt.isActive?90:void 0});return(0,$n.Tm)(Kn,()=>({className:Je()(Kn.props.className,`${yt}-arrow`)}))},Dt=Je()(`${yt}-icon-position-${xt}`,{[`${yt}-borderless`]:!gt,[`${yt}-rtl`]:Ut==="rtl",[`${yt}-ghost`]:!!Mt,[`${yt}-${Wt}`]:Wt!=="middle"},jt==null?void 0:jt.className,Lt,Fe,At),Ot=Object.assign(Object.assign({},(0,da.Z)(an)),{motionAppear:!1,leavedClassName:`${yt}-content-hidden`}),xn=Ie.useMemo(()=>kt?(0,ot.Z)(kt).map((Gt,Kn)=>{var za,sr;if(!((za=Gt.props)===null||za===void 0)&&za.disabled){const Ya=(sr=Gt.key)!==null&&sr!==void 0?sr:String(Kn),{disabled:Da,collapsible:Lr}=Gt.props,cr=Object.assign(Object.assign({},(0,Tn.Z)(Gt.props,["disabled"])),{key:Ya,collapsible:Lr!=null?Lr:Da?"disabled":void 0});return(0,$n.Tm)(Gt,cr)}return Gt}):null,[kt]);return mt(Ie.createElement(pt,Object.assign({ref:bt,openMotion:Ot},(0,Tn.Z)(Ft,["rootClassName"]),{expandIcon:cn,prefixCls:yt,className:Dt,style:Object.assign(Object.assign({},jt==null?void 0:jt.style),xe)}),xn))}),{Panel:Tt}),He=Pe},5083:function(je,Nt,re){"use strict";re.d(Nt,{default:function(){return qs}});var b=re(61186),Be=re.n(b),Je=re(48736),Te=re(90111),Ze=re.n(Te),lt=re(58319),he=re.n(lt),Xe=re(23250),Ke=re.n(Xe),Ie=re(74959),tt=re.n(Ie),ot=re(10238),Qe=re.n(ot),de=re(33656),a=re.n(de);Be().extend(a()),Be().extend(Qe()),Be().extend(Ze()),Be().extend(he()),Be().extend(Ke()),Be().extend(tt()),Be().extend(function(se,ce){var ge=ce.prototype,we=ge.format;ge.format=function(Ct){var ft=(Ct||"").replace("Wo","wo");return we.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"},x=function(ce){var ge=E[ce];return ge||ce.split("_")[0]},y=function(){(0,Je.ET)(!1,"Not match any format. Please help to fire a issue about this.")},ee={getNow:function(){return Be()()},getFixedDate:function(ce){return Be()(ce,["YYYY-M-DD","YYYY-MM-DD"])},getEndDate:function(ce){return ce.endOf("month")},getWeekDay:function(ce){var ge=ce.locale("en");return ge.weekday()+ge.localeData().firstDayOfWeek()},getYear:function(ce){return ce.year()},getMonth:function(ce){return ce.month()},getDate:function(ce){return ce.date()},getHour:function(ce){return ce.hour()},getMinute:function(ce){return ce.minute()},getSecond:function(ce){return ce.second()},addYear:function(ce,ge){return ce.add(ge,"year")},addMonth:function(ce,ge){return ce.add(ge,"month")},addDate:function(ce,ge){return ce.add(ge,"day")},setYear:function(ce,ge){return ce.year(ge)},setMonth:function(ce,ge){return ce.month(ge)},setDate:function(ce,ge){return ce.date(ge)},setHour:function(ce,ge){return ce.hour(ge)},setMinute:function(ce,ge){return ce.minute(ge)},setSecond:function(ce,ge){return ce.second(ge)},isAfter:function(ce,ge){return ce.isAfter(ge)},isValidate:function(ce){return ce.isValid()},locale:{getWeekFirstDay:function(ce){return Be()().locale(x(ce)).localeData().firstDayOfWeek()},getWeekFirstDate:function(ce,ge){return ge.locale(x(ce)).weekday(0)},getWeek:function(ce,ge){return ge.locale(x(ce)).week()},getShortWeekDays:function(ce){return Be()().locale(x(ce)).localeData().weekdaysMin()},getShortMonths:function(ce){return Be()().locale(x(ce)).localeData().monthsShort()},format:function(ce,ge,we){return ge.locale(x(ce)).format(we)},parse:function(ce,ge,we){for(var Le=x(ce),Ct=0;Ct1&&(ft=ce.addDate(ft,-7)),ft}function At(se,ce,ge){var we=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;switch(ce){case"year":return ge.addYear(se,we*10);case"quarter":case"month":return ge.addYear(se,we);default:return ge.addMonth(se,we)}}function xt(se,ce){var ge=ce.generateConfig,we=ce.locale,Le=ce.format;return typeof Le=="function"?Le(se):ge.locale.format(we.locale,se,Le)}function cn(se,ce){var ge=ce.generateConfig,we=ce.locale,Le=ce.formatList;return!se||typeof Le[0]=="function"?null:ge.locale.parse(we.locale,se,Le)}function Dt(se){var ce=se.cellDate,ge=se.mode,we=se.disabledDate,Le=se.generateConfig;if(!we)return!1;var Ct=function(jn,Kt,En){for(var Un=Kt;Un<=En;){var Na=void 0;switch(jn){case"date":{if(Na=Le.setDate(ce,Un),!we(Na))return!1;break}case"month":{if(Na=Le.setMonth(ce,Un),!Dt({cellDate:Na,mode:"month",generateConfig:Le,disabledDate:we}))return!1;break}case"year":{if(Na=Le.setYear(ce,Un),!Dt({cellDate:Na,mode:"year",generateConfig:Le,disabledDate:we}))return!1;break}}Un+=1}return!0};switch(ge){case"date":case"week":return we(ce);case"month":{var ft=1,Yt=Le.getDate(Le.getEndDate(ce));return Ct("date",ft,Yt)}case"quarter":{var Ht=Math.floor(Le.getMonth(ce)/3)*3,gn=Ht+2;return Ct("month",Ht,gn)}case"year":return Ct("month",0,11);case"decade":{var qn=Le.getYear(ce),Pn=Math.floor(qn/jt)*jt,An=Pn+jt-1;return Ct("year",Pn,An)}}}function Ot(se,ce){var ge=ce.formatList,we=ce.generateConfig,Le=ce.locale;return(0,It.Z)(function(){if(!se)return[[""],""];for(var Ct="",ft=[],Yt=0;Yt1&&arguments[1]!==void 0?arguments[1]:!1;if(cancelAnimationFrame(gn.current),Un){Ht(En);return}gn.current=requestAnimationFrame(function(){Ht(En)})}var Pn=Ot(Yt,{formatList:ge,generateConfig:we,locale:Le}),An=(0,He.Z)(Pn,2),zn=An[1];function jn(En){qn(En)}function Kt(){var En=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;qn(null,En)}return(0,ie.useEffect)(function(){Kt(!0)},[se]),(0,ie.useEffect)(function(){return function(){return cancelAnimationFrame(gn.current)}},[]),[zn,jn,Kt]}var Gt=re(10228),Kn=re(16089),za=re(15142),sr=re(29194),Ya=new Map;function Da(se,ce){var ge;function we(){(0,sr.Z)(se)?ce():ge=(0,Kn.Z)(function(){we()})}return we(),function(){Kn.Z.cancel(ge)}}function Lr(se,ce,ge){if(Ya.get(se)&&cancelAnimationFrame(Ya.get(se)),ge<=0){Ya.set(se,requestAnimationFrame(function(){se.scrollTop=ce}));return}var we=ce-se.scrollTop,Le=we/ge*10;Ya.set(se,requestAnimationFrame(function(){se.scrollTop+=Le,se.scrollTop!==ce&&Lr(se,ce,ge-10)}))}function cr(se,ce){var ge=ce.onLeftRight,we=ce.onCtrlLeftRight,Le=ce.onUpDown,Ct=ce.onPageUpDown,ft=ce.onEnter,Yt=se.which,Ht=se.ctrlKey,gn=se.metaKey;switch(Yt){case Gt.Z.LEFT:if(Ht||gn){if(we)return we(-1),!0}else if(ge)return ge(-1),!0;break;case Gt.Z.RIGHT:if(Ht||gn){if(we)return we(1),!0}else if(ge)return ge(1),!0;break;case Gt.Z.UP:if(Le)return Le(-1),!0;break;case Gt.Z.DOWN:if(Le)return Le(1),!0;break;case Gt.Z.PAGE_UP:if(Ct)return Ct(-1),!0;break;case Gt.Z.PAGE_DOWN:if(Ct)return Ct(1),!0;break;case Gt.Z.ENTER:if(ft)return ft(),!0;break}return!1}function Ha(se,ce,ge,we){var Le=se;if(!Le)switch(ce){case"time":Le=we?"hh:mm:ss a":"HH:mm:ss";break;case"week":Le="gggg-wo";break;case"month":Le="YYYY-MM";break;case"quarter":Le="YYYY-[Q]Q";break;case"year":Le="YYYY";break;default:Le=ge?"YYYY-MM-DD HH:mm:ss":"YYYY-MM-DD"}return Le}function Xa(se,ce,ge){var we=se==="time"?8:10,Le=typeof ce=="function"?ce(ge.getNow()).length:ce.length;return Math.max(we,Le)+2}var Dr=null,Fa=new Set;function Zr(se){return!Dr&&typeof window!="undefined"&&window.addEventListener&&(Dr=function(ge){(0,za.Z)(Fa).forEach(function(we){we(ge)})},window.addEventListener("mousedown",Dr)),Fa.add(se),function(){Fa.delete(se),Fa.size===0&&(window.removeEventListener("mousedown",Dr),Dr=null)}}function br(se){var ce=se.target;if(se.composed&&ce.shadowRoot){var ge;return((ge=se.composedPath)===null||ge===void 0?void 0:ge.call(se)[0])||ce}return ce}var Pt=function(ce){return ce==="month"||ce==="date"?"year":ce},Sn=function(ce){return ce==="date"?"month":ce},Fn=function(ce){return ce==="month"||ce==="date"?"quarter":ce},Zt=function(ce){return ce==="date"?"week":ce},sn={year:Pt,month:Sn,quarter:Fn,week:Zt,time:null,date:null};function On(se,ce){return se.some(function(ge){return ge&&ge.contains(ce)})}function Jn(se){var ce=se.open,ge=se.value,we=se.isClickOutside,Le=se.triggerOpen,Ct=se.forwardKeyDown,ft=se.onKeyDown,Yt=se.blurToCancel,Ht=se.onSubmit,gn=se.onCancel,qn=se.onFocus,Pn=se.onBlur,An=se.changeOnBlur,zn=(0,ie.useState)(!1),jn=(0,He.Z)(zn,2),Kt=jn[0],En=jn[1],Un=(0,ie.useState)(!1),Na=(0,He.Z)(Un,2),Pa=Na[0],Wa=Na[1],Ja=(0,ie.useRef)(!1),oa=(0,ie.useRef)(!1),Aa=(0,ie.useRef)(!1),so={onMouseDown:function(){En(!0),Le(!0)},onKeyDown:function(no){var Do=function(){Aa.current=!0};if(ft(no,Do),!Aa.current){switch(no.which){case Gt.Z.ENTER:{ce?Ht()!==!1&&En(!0):Le(!0),no.preventDefault();return}case Gt.Z.TAB:{Kt&&ce&&!no.shiftKey?(En(!1),no.preventDefault()):!Kt&&ce&&!Ct(no)&&no.shiftKey&&(En(!0),no.preventDefault());return}case Gt.Z.ESC:{En(!0),gn();return}}!ce&&![Gt.Z.SHIFT].includes(no.which)?Le(!0):Kt||Ct(no)}},onFocus:function(no){En(!0),Wa(!0),qn&&qn(no)},onBlur:function(no){if(Ja.current||!we(document.activeElement)){Ja.current=!1;return}Yt?setTimeout(function(){for(var Do=document,Io=Do.activeElement;Io&&Io.shadowRoot;)Io=Io.shadowRoot.activeElement;we(Io)&&gn()},0):ce&&(Le(!1),oa.current&&Ht()),Wa(!1),Pn==null||Pn(no)}};return(0,ie.useEffect)(function(){oa.current=!1},[ce]),(0,ie.useEffect)(function(){oa.current=!0},[ge]),(0,ie.useEffect)(function(){return Zr(function(wr){var no=br(wr),Do=we(no);ce&&(Do?!An&&(!Pa||Do)&&Le(!1):(Ja.current=!0,(0,Kn.Z)(function(){Ja.current=!1})))})}),[so,{focused:Pa,typing:Kt}]}function ke(se,ce){return ie.useMemo(function(){return se||(ce?((0,Je.ZP)(!1,"`ranges` is deprecated. Please use `presets` instead."),Object.entries(ce).map(function(ge){var we=(0,He.Z)(ge,2),Le=we[0],Ct=we[1];return{label:Le,value:Ct}})):[])},[se,ce])}var rt=re(34280);function qe(se){var ce=se.valueTexts,ge=se.onTextChange,we=ie.useState(""),Le=(0,He.Z)(we,2),Ct=Le[0],ft=Le[1],Yt=ie.useRef([]);Yt.current=ce;function Ht(qn){ft(qn),ge(qn)}function gn(){ft(Yt.current[0])}return(0,rt.Z)(function(){ce.every(function(qn){return qn!==Ct})&&gn()},[ce.join("||")]),[Ct,Ht,gn]}var Dn=ie.createContext({}),mn=Dn,Wn=re(26420);function ya(se){var ce=se.cellRender,ge=se.monthCellRender,we=se.dateRender,Le=ie.useMemo(function(){if(ce)return ce;if(!(!ge&&!we))return function(Ct,ft){var Yt=Ct;return we&&ft.type==="date"?we(Yt,ft.today):ge&&ft.type==="month"?ge(Yt,ft.locale):ft.originNode}},[ce,ge,we]);return Le}function ma(se,ce){for(var ge=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0",we=String(se);we.length=1?ge|0:1,ft=se;ft<=ce;ft+=Ct)Le.push({label:ma(ft,2),value:ft,disabled:(we||[]).includes(ft)});return Le}function Me(se){var ce=se.generateConfig,ge=se.prefixCls,we=se.operationRef,Le=se.activeColumnIndex,Ct=se.value,ft=se.showHour,Yt=se.showMinute,Ht=se.showSecond,gn=se.use12Hours,qn=se.hourStep,Pn=qn===void 0?1:qn,An=se.minuteStep,zn=An===void 0?1:An,jn=se.secondStep,Kt=jn===void 0?1:jn,En=se.disabledHours,Un=se.disabledMinutes,Na=se.disabledSeconds,Pa=se.disabledTime,Wa=se.hideDisabledOptions,Ja=se.onSelect,oa=se.cellRender,Aa=se.locale,so=[],wr="".concat(ge,"-content"),no="".concat(ge,"-time-panel"),Do,Io=Ct?ce.getHour(Ct):-1,Go=Io,mi=Ct?ce.getMinute(Ct):-1,jo=Ct?ce.getSecond(Ct):-1,ao=ce.getNow(),Oo=ie.useMemo(function(){if(Pa){var Ao=Pa(ao);return[Ao.disabledHours,Ao.disabledMinutes,Ao.disabledSeconds]}return[En,Un,Na]},[En,Un,Na,Pa,ao]),$o=(0,He.Z)(Oo,3),Ko=$o[0],Uo=$o[1],fi=$o[2],Ti=it(0,23,Pn,Ko&&Ko()),Pi=(0,It.Z)(function(){return Ti},Ti,Oe);gn&&(Do=Go>=12,Go%=12);var zi=ie.useMemo(function(){if(!gn)return[!1,!1];var Ao=[!0,!0];return Pi.forEach(function(Hr){var Ai=Hr.disabled,Ri=Hr.value;Ai||(Ri>=12?Ao[1]=!1:Ao[0]=!1)}),Ao},[gn,Pi]),ri=(0,He.Z)(zi,2),Ki=ri[0],vi=ri[1],Oi=ie.useMemo(function(){return gn?Pi.filter(Do?function(Ao){return Ao.value>=12}:function(Ao){return Ao.value<12}).map(function(Ao){var Hr=Ao.value%12,Ai=Hr===0?"12":ma(Hr,2);return(0,Pe.Z)((0,Pe.Z)({},Ao),{},{label:Ai,value:Hr})}):Pi},[gn,Do,Pi]),Gi=it(0,59,zn,Uo&&Uo(Io)),$i=it(0,59,Kt,fi&&fi(Io,mi)),ji=Rt({value:Ct,generateConfig:ce,disabledMinutes:Uo,disabledSeconds:fi,minutes:Gi,seconds:$i,use12Hours:gn});we.current={onUpDown:function(Hr){var Ai=so[Le];if(Ai)for(var Ri=Ai.units.findIndex(function(ll){return ll.value===Ai.value}),el=Ai.units.length,wi=1;wi2&&arguments[2]!==void 0?arguments[2]:!1;(yi===En||bi)&&(pu(er),so&&so(er),ji&&ji(er,Co),wr&&!yt(Ht,er,fl)&&!(zn!=null&&zn(er))&&wr(er))},dl=function(er){if(ui.includes(yi)){var Co,bi,Gl=yi==="date";switch(er===Gt.Z.PAGE_UP||er===Gt.Z.PAGE_DOWN?bi=Gl?Ht.addMonth:Ht.addYear:bi=Gl?Ht.addDate:Ht.addMonth,er){case Gt.Z.LEFT:case Gt.Z.PAGE_UP:Co=bi(ol,-1);break;case Gt.Z.RIGHT:case Gt.Z.PAGE_DOWN:Co=bi(ol,1);break;case Gt.Z.UP:case Gt.Z.DOWN:Co=bi(ol,Number("".concat(er===Gt.Z.UP?"-":"").concat(Gl?Lt:Rn)));break}if(Co)return!(zn!=null&&zn(Co))}return!0},au=function(er){if(wi.current&&wi.current.onKeyDown){var Co=!0,bi=er.which;if([Gt.Z.LEFT,Gt.Z.RIGHT,Gt.Z.UP,Gt.Z.DOWN,Gt.Z.PAGE_UP,Gt.Z.PAGE_DOWN,Gt.Z.ENTER].includes(bi)&&(er.preventDefault(),bi!==Gt.Z.ENTER&&Na===0&&(Co=dl(bi))),Co)return wi.current.onKeyDown(er)}return(0,Je.ZP)(!1,"Panel not correct handle keyDown event. Please help to fire issue about this."),!1},ni=function(er){wi.current&&wi.current.onBlur&&wi.current.onBlur(er)};$i&&Ai!=="right"&&($i.current={onKeyDown:au,onClose:function(){wi.current&&wi.current.onClose&&wi.current.onClose()}}),ie.useEffect(function(){gn&&!ki.current&&Vl(gn)},[gn]),ie.useEffect(function(){ki.current=!1},[]);var cl,Zl=ya({cellRender:zi,monthCellRender:Pi,dateRender:Ti}),Qo=(0,Pe.Z)((0,Pe.Z)({},se),{},{cellRender:Zl,operationRef:wi,prefixCls:Le,viewDate:ol,value:fl,onViewDateChange:sl,sourceMode:Bl,onPanelChange:Al,disabledDate:zn});switch(delete Qo.onChange,delete Qo.onSelect,yi){case"decade":cl=ie.createElement(Pr,(0,le.Z)({},Qo,{onSelect:function(er,Co){sl(er),Vi(er,Co)}}));break;case"year":cl=ie.createElement(Xr,(0,le.Z)({},Qo,{onSelect:function(er,Co){sl(er),Vi(er,Co)}}));break;case"month":cl=ie.createElement(to,(0,le.Z)({},Qo,{onSelect:function(er,Co){sl(er),Vi(er,Co)}}));break;case"quarter":cl=ie.createElement(Sa,(0,le.Z)({},Qo,{onSelect:function(er,Co){sl(er),Vi(er,Co)}}));break;case"week":cl=ie.createElement($t,(0,le.Z)({},Qo,{onSelect:function(er,Co){sl(er),Vi(er,Co)}}));break;case"time":delete Qo.showTime,cl=ie.createElement(ja,(0,le.Z)({},Qo,(0,Wn.Z)(Wa)==="object"?Wa:null,{onSelect:function(er,Co){sl(er),Vi(er,Co)}}));break;default:Wa?cl=ie.createElement(Hn,(0,le.Z)({},Qo,{onSelect:function(er,Co){sl(er),Vi(er,Co)}})):cl=ie.createElement(dt,(0,le.Z)({},Qo,{onSelect:function(er,Co){sl(er),Vi(er,Co)}}))}var Cl,Dl,zl=function(){var er=Ht.getNow(),Co=ha(Ht.getHour(er),Ht.getMinute(er),Ht.getSecond(er),Ki?Oo:1,vi?Ko:1,Oi?fi:1),bi=tn(Ht,er,Co[0],Co[1],Co[2]);Vi(bi,"submit")};ml||(Cl=yo(Le,yi,oa),Wa&&yi!=="date"?Dl=null:Dl=So({prefixCls:Le,components:mi,needConfirmButton:ri,okDisabled:!fl||zn&&zn(fl),locale:Yt,showNow:Pa,onNow:ri&&zl,onOk:function(){fl&&(Vi(fl,"submit",!0),Go&&Go(fl))}}));var Bu;if(Ja&&yi==="date"&&En==="date"&&!Wa){var vl=Ht.getNow(),Du="".concat(Le,"-today-btn"),ru=zn&&zn(vl);Bu=ie.createElement("a",{className:nt()(Du,ru&&"".concat(Du,"-disabled")),"aria-disabled":ru,onClick:function(){ru||Vi(vl,"mouse",!0)}},Yt.today)}return ie.createElement(mn.Provider,{value:(0,Pe.Z)((0,Pe.Z)({},Gi),{},{mode:yi,hideHeader:"hideHeader"in se?Aa:Gi.hideHeader,hidePrevBtn:Hr&&Ai==="right",hideNextBtn:Hr&&Ai==="left"})},ie.createElement("div",{tabIndex:Na,className:nt()("".concat(Le,"-panel"),Ct,(ce={},(0,De.Z)(ce,"".concat(Le,"-panel-has-range"),Ri&&Ri[0]&&Ri[1]),(0,De.Z)(ce,"".concat(Le,"-panel-has-range-hover"),el&&el[0]&&el[1]),(0,De.Z)(ce,"".concat(Le,"-panel-rtl"),jo==="rtl"),ce)),style:ft,onKeyDown:au,onBlur:ni,onMouseDown:Do},cl,Cl||Dl||Bu?ie.createElement("div",{className:"".concat(Le,"-footer")},Cl,Dl,Bu):null))}var Di=ko,hl=re(35593),di={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 bl(se){var ce,ge=se.prefixCls,we=se.popupElement,Le=se.popupStyle,Ct=se.visible,ft=se.dropdownClassName,Yt=se.dropdownAlign,Ht=se.transitionName,gn=se.getPopupContainer,qn=se.children,Pn=se.range,An=se.popupPlacement,zn=se.direction,jn="".concat(ge,"-dropdown"),Kt=function(){return An!==void 0?An:zn==="rtl"?"bottomRight":"bottomLeft"};return ie.createElement(hl.Z,{showAction:[],hideAction:[],popupPlacement:Kt(),builtinPlacements:di,prefixCls:jn,popupTransitionName:Ht,popup:we,popupAlign:Yt,popupVisible:Ct,popupClassName:nt()(ft,(ce={},(0,De.Z)(ce,"".concat(jn,"-range"),Pn),(0,De.Z)(ce,"".concat(jn,"-rtl"),zn==="rtl"),ce)),popupStyle:Le,getPopupContainer:gn},qn)}var Ii=bl;function gl(se){var ce=se.prefixCls,ge=se.presets,we=se.onClick,Le=se.onHover;return ge.length?ie.createElement("div",{className:"".concat(ce,"-presets")},ie.createElement("ul",null,ge.map(function(Ct,ft){var Yt=Ct.label,Ht=Ct.value;return ie.createElement("li",{key:ft,onClick:function(){return we==null?void 0:we(Ra(Ht))},onMouseEnter:function(){return Le==null?void 0:Le(Ra(Ht))},onMouseLeave:function(){return Le==null?void 0:Le(null)}},Yt)}))):null}function al(se){var ce=se.picker,ge=se.disabledHours,we=se.disabledMinutes,Le=se.disabledSeconds;ce==="time"&&(ge||we||Le)&&warning(!1,"'disabledHours', 'disabledMinutes', 'disabledSeconds' will be removed in the next major version, please use 'disabledTime' instead.")}function Il(se,ce,ge){var we=(0,Wn.Z)(ce)==="object"?ce.clearIcon:ge;return we||ie.createElement("span",{className:"".concat(se,"-clear-btn")})}function rl(se){var ce,ge=se,we=ge.prefixCls,Le=we===void 0?"rc-picker":we,Ct=ge.id,ft=ge.name,Yt=ge.tabIndex,Ht=ge.style,gn=ge.className,qn=ge.dropdownClassName,Pn=ge.dropdownAlign,An=ge.popupStyle,zn=ge.transitionName,jn=ge.generateConfig,Kt=ge.locale,En=ge.inputReadOnly,Un=ge.allowClear,Na=ge.autoFocus,Pa=ge.showTime,Wa=ge.picker,Ja=Wa===void 0?"date":Wa,oa=ge.format,Aa=ge.use12Hours,so=ge.value,wr=ge.defaultValue,no=ge.presets,Do=ge.open,Io=ge.defaultOpen,Go=ge.defaultOpenValue,mi=ge.suffixIcon,jo=ge.clearIcon,ao=ge.disabled,Oo=ge.disabledDate,$o=ge.placeholder,Ko=ge.getPopupContainer,Uo=ge.pickerRef,fi=ge.panelRender,Ti=ge.onChange,Pi=ge.onOpenChange,zi=ge.onFocus,ri=ge.onBlur,Ki=ge.onMouseDown,vi=ge.onMouseUp,Oi=ge.onMouseEnter,Gi=ge.onMouseLeave,$i=ge.onContextMenu,ji=ge.onClick,ml=ge.onKeyDown,kl=ge.onSelect,Ao=ge.direction,Hr=ge.autoComplete,Ai=Hr===void 0?"off":Hr,Ri=ge.inputRender,el=ge.changeOnBlur,wi=ie.useRef(null),ki=Ja==="date"&&!!Pa||Ja==="time",ll=ke(no),ul=fa(Ha(oa,Ja,Pa,Aa)),fl=ie.useRef(null),pu=ie.useRef(null),bu=ie.useRef(null),Jo=(0,Ft.Z)(null,{value:so,defaultValue:wr}),ol=(0,He.Z)(Jo,2),Vl=ol[0],sl=ol[1],hu=ie.useState(Vl),Xl=(0,He.Z)(hu,2),El=Xl[0],yi=Xl[1],Ui=ie.useRef(null),Jl=(0,Ft.Z)(!1,{value:Do,defaultValue:Io,postState:function(Tr){return ao?!1:Tr},onChange:function(Tr){Pi&&Pi(Tr),!Tr&&Ui.current&&Ui.current.onClose&&Ui.current.onClose()}}),Sl=(0,He.Z)(Jl,2),Bl=Sl[0],Pl=Sl[1],Al=Ot(El,{formatList:ul,generateConfig:jn,locale:Kt}),Vi=(0,He.Z)(Al,2),dl=Vi[0],au=Vi[1],ni=qe({valueTexts:dl,onTextChange:function(Tr){var il=cn(Tr,{locale:Kt,formatList:ul,generateConfig:jn});il&&(!Oo||!Oo(il))&&yi(il)}}),cl=(0,He.Z)(ni,3),Zl=cl[0],Qo=cl[1],Cl=cl[2],Dl=function(Tr){yi(Tr),sl(Tr),Ti&&!yt(jn,Vl,Tr)&&Ti(Tr,Tr?xt(Tr,{generateConfig:jn,locale:Kt,format:ul[0]}):"")},zl=function(Tr){ao&&Tr||Pl(Tr)},Bu=function(Tr){return Bl&&Ui.current&&Ui.current.onKeyDown?Ui.current.onKeyDown(Tr):((0,Je.ZP)(!1,"Picker not correct forward KeyDown operation. Please help to fire issue about this."),!1)},vl=function(){for(var Tr=arguments.length,il=new Array(Tr),Ci=0;CiAn(gn);case"month":return Pn(Kt)>Pn(gn);case"week":return qn(Kt)>qn(gn);default:return!kt(Yt,Kt,gn)&&Yt.isAfter(Kt,gn)}return!1},[Ct,ft[1],gn,ce]),jn=ie.useCallback(function(Kt){if(ft[1]||Ct&&Ct(Kt))return!0;if(ft[0]&&Ht)return!kt(Yt,Kt,gn)&&Yt.isAfter(Ht,Kt);if(!ce&&Ht)switch(ge){case"quarter":return An(Kt)0&&arguments[0]!==void 0?arguments[0]:!1,ir=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Rr=null;Yi&&st&&st[0]&&st[1]&&Kt.isAfter(st[1],st[0])&&(Rr=st);var To=Aa;if(Aa&&(0,Wn.Z)(Aa)==="object"&&Aa.defaultValue){var oi=Aa.defaultValue;To=(0,Pe.Z)((0,Pe.Z)({},Aa),{},{defaultValue:ua(oi,Qr)||void 0})}return ie.createElement(Nn.Provider,{value:{inRange:!0,panelPosition:po,rangedValue:Qt||ro,hoverRangedValue:Rr}},ie.createElement(Di,(0,le.Z)({},se,ir,{cellRender:ei,showTime:To,mode:Gl[Qr],generateConfig:Kt,style:void 0,direction:ol,disabledDate:Qr===0?Ql:as,disabledTime:function(pl){return Oo?Oo(pl,Qr===0?"start":"end"):!1},className:nt()((0,De.Z)({},"".concat(ft,"-panel-focused"),Qr===0?!Va:!No)),value:ua(ro,Qr),locale:En,tabIndex:-1,onPanelChange:function(pl,Ul){Qr===0&&Ia(!0),Qr===1&&Sr(!0),ci(hn(Gl,Ul,Qr),hn(ro,pl,Qr));var Yl=pl;po==="right"&&Gl[Qr]===Ul&&(Yl=At(Yl,Ul,Kt,-1)),vl(Yl,Qr)},onOk:null,onSelect:void 0,onChange:void 0,defaultValue:Qr===0?ua(ro,1):ua(ro,0)})))}var pi=0,Hi=0;if(Qr&&Jl.current&&Bl.current&&Ui.current&&Vi.current){pi=Jl.current.offsetWidth+Bl.current.offsetWidth;var xa=Vi.current.offsetLeft>pi?Vi.current.offsetLeft-pi:Vi.current.offsetLeft,eo=Ui.current.offsetWidth,Bi=Vi.current.offsetWidth;eo&&Bi&&pi>eo-Bi-(ol==="rtl"?0:xa)&&(Hi=pi)}var Wi=ol==="rtl"?{right:pi}:{left:pi};function xr(){var po,ir=yo(ft,Gl[Qr],ji),Rr=So({prefixCls:ft,components:bu,needConfirmButton:El,okDisabled:!ua(ro,Qr)||ao&&ao(ro[Qr]),locale:En,onOk:function(){var jl=ua(ro,Qr);jl&&(Ci(ro,Qr),fl==null||fl(ro),wl(!1,Qr,"confirm"))}});if(oa!=="time"&&!Aa){var To=Bu(Qr),oi=At(To,oa,Kt),xl=Gl[Qr],pl=xl===oa,Ul=si(pl?"left":!1,{pickerValue:To,onPickerValueChange:function(jl){vl(jl,Qr)}}),Yl=si("right",{pickerValue:oi,onPickerValueChange:function(jl){vl(At(jl,oa,Kt,-1),Qr)}});ol==="rtl"?po=ie.createElement(ie.Fragment,null,Yl,pl&&Ul):po=ie.createElement(ie.Fragment,null,Ul,pl&&Yl)}else po=si();var xu=ie.createElement("div",{className:"".concat(ft,"-panel-layout")},ie.createElement(gl,{prefixCls:ft,presets:Vo,onClick:function(jl){Ci(jl,null),wl(!1,Qr,"preset")},onHover:function(jl){Ln(jl)}}),ie.createElement("div",null,ie.createElement("div",{className:"".concat(ft,"-panels")},po),(ir||Rr)&&ie.createElement("div",{className:"".concat(ft,"-footer")},ir,Rr)));return fi&&(xu=fi(xu)),ie.createElement("div",{className:"".concat(ft,"-panel-container"),style:{marginLeft:Hi},ref:Ui,onMouseDown:function(jl){jl.preventDefault()}},xu)}var Cr=ie.createElement("div",{className:nt()("".concat(ft,"-range-wrapper"),"".concat(ft,"-").concat(oa,"-range-wrapper")),style:{minWidth:vo}},ie.createElement("div",{ref:Vi,className:"".concat(ft,"-range-arrow"),style:Wi}),xr()),Yn;Ki&&(Yn=ie.createElement("span",{className:"".concat(ft,"-suffix"),onMouseDown:function(ir){ir.preventDefault()}},Ki));var Bo=Il(ft,ri,vi),hi=ie.createElement("span",{onMouseDown:function(ir){ir.preventDefault(),ir.stopPropagation()},onMouseUp:function(ir){ir.preventDefault(),ir.stopPropagation();var Rr=Qo;ni[0]||(Rr=hn(Rr,null,0)),ni[1]||(Rr=hn(Rr,null,1)),Ci(Rr,null),wl(!1,Qr,"clear")},className:"".concat(ft,"-clear"),role:"button"},Bo),Zo=ri&&(ua(Qo,0)&&!ni[0]||ua(Qo,1)&&!ni[1]),or={size:Xa(oa,dl[0],Kt)},yr=0,mo=0;Jl.current&&Sl.current&&Bl.current&&(Qr===0?mo=Jl.current.offsetWidth:(yr=pi,mo=Sl.current.offsetWidth));var xi=ol==="rtl"?{right:yr}:{left:yr},Ds=function(ir,Rr){var To=hn(ro,ir,Qr);if(Rr==="submit"||Rr!=="key"&&!El){Ci(To,Qr),Qr===0?Ia():Sr();var oi=Qr===0?1:0;ni[oi]?wl(!1,!1,"confirm"):wl(!1,Qr,"confirm")}else er(To)};return ie.createElement(mn.Provider,{value:{operationRef:au,hideHeader:oa==="time",onDateMouseEnter:Ta,onDateMouseLeave:ur,hideRanges:!0,onSelect:Ds,open:Yi}},ie.createElement(Ii,{visible:Yi,popupElement:Cr,popupStyle:qn,prefixCls:ft,dropdownClassName:Pn,dropdownAlign:zn,getPopupContainer:jn,transitionName:An,range:!0,direction:ol},ie.createElement("div",(0,le.Z)({ref:yi,className:nt()(ft,"".concat(ft,"-range"),gn,(ce={},(0,De.Z)(ce,"".concat(ft,"-disabled"),ni[0]&&ni[1]),(0,De.Z)(ce,"".concat(ft,"-focused"),Qr===0?tr:Yo),(0,De.Z)(ce,"".concat(ft,"-rtl"),ol==="rtl"),ce)),style:Ht,onClick:wo,onMouseEnter:ki,onMouseLeave:ll,onMouseDown:Ba,onMouseUp:wi},(0,bt.Z)(se,{aria:!0,data:!0})),ie.createElement("div",{className:nt()("".concat(ft,"-input"),(ge={},(0,De.Z)(ge,"".concat(ft,"-input-active"),Qr===0),(0,De.Z)(ge,"".concat(ft,"-input-placeholder"),!!ia),ge)),ref:Jl},ie.createElement("input",(0,le.Z)({id:Yt,disabled:ni[0],readOnly:Gi||typeof dl[0]=="function"||!Va,value:ia||Qu,onChange:function(ir){us(ir.target.value)},autoFocus:Na,placeholder:ua(Un,0)||"",ref:Pl},Xt,or,{autoComplete:hu}))),ie.createElement("div",{className:"".concat(ft,"-range-separator"),ref:Bl},no),ie.createElement("div",{className:nt()("".concat(ft,"-input"),(we={},(0,De.Z)(we,"".concat(ft,"-input-active"),Qr===1),(0,De.Z)(we,"".concat(ft,"-input-placeholder"),!!ea),we)),ref:Sl},ie.createElement("input",(0,le.Z)({disabled:ni[1],readOnly:Gi||typeof dl[0]=="function"||!No,value:ea||ss,onChange:function(ir){ve(ir.target.value)},placeholder:ua(Un,1)||"",ref:Al},nr,or,{autoComplete:hu}))),ie.createElement("div",{className:"".concat(ft,"-active-bar"),style:(0,Pe.Z)((0,Pe.Z)({},xi),{},{width:mo,position:"absolute"})}),Yn,Zo&&hi)))}var gi=function(se){(0,nn.Z)(ge,se);var ce=(0,on.Z)(ge);function ge(){var we;(0,vt.Z)(this,ge);for(var Le=arguments.length,Ct=new Array(Le),ft=0;ft{const{lineHeight:Le}=se,Ct=Math.floor(ge*Le)+2,ft=Math.max((ce-Ct)/2,0),Yt=Math.max(ce-Ct-ft,0);return{padding:`${ft}px ${we}px ${Yt}px`}},tu=se=>{const{componentCls:ce,pickerCellCls:ge,pickerCellInnerCls:we,cellHeight:Le,motionDurationSlow:Ct,borderRadiusSM:ft,motionDurationMid:Yt,cellHoverBg:Ht,lineWidth:gn,lineType:qn,colorPrimary:Pn,cellActiveWithRangeBg:An,colorTextLightSolid:zn,controlHeightSM:jn,cellRangeBorderColor:Kt,pickerCellBorderGap:En,cellHoverWithRangeBg:Un,cellWidth:Na,colorTextDisabled:Pa,cellBgDisabled:Wa}=se;return{"&::before":{position:"absolute",top:"50%",insetInlineStart:0,insetInlineEnd:0,zIndex:1,height:Le,transform:"translateY(-50%)",transition:`all ${Ct}`,content:'""'},[we]:{position:"relative",zIndex:2,display:"inline-block",minWidth:Le,height:Le,lineHeight:`${Le}px`,borderRadius:ft,transition:`background ${Yt}, border ${Yt}`},"&-range-hover-start, &-range-hover-end":{[we]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:hover:not(${ge}-in-view), &:hover:not(${ge}-selected):not(${ge}-range-start):not(${ge}-range-end):not(${ge}-range-hover-start):not(${ge}-range-hover-end)`]:{[we]:{background:Ht}},[`&-in-view${ge}-today ${we}`]:{"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:1,border:`${gn}px ${qn} ${Pn}`,borderRadius:ft,content:'""'}},[`&-in-view${ge}-in-range`]:{position:"relative","&::before":{background:An}},[`&-in-view${ge}-selected ${we}, &-in-view${ge}-range-start ${we}, &-in-view${ge}-range-end ${we}`]:{color:zn,background:Pn},[`&-in-view${ge}-range-start:not(${ge}-range-start-single), @@ -167,7 +167,7 @@ &${ge}-slide-up-appear${ge}-slide-up-appear-active${ce}-dropdown-placement-bottomRight`]:{animationName:Fu.fJ},[`&${ge}-slide-up-leave${ge}-slide-up-leave-active${ce}-dropdown-placement-topLeft, &${ge}-slide-up-leave${ge}-slide-up-leave-active${ce}-dropdown-placement-topRight`]:{animationName:Fu.ly},[`&${ge}-slide-up-leave${ge}-slide-up-leave-active${ce}-dropdown-placement-bottomLeft, &${ge}-slide-up-leave${ge}-slide-up-leave-active${ce}-dropdown-placement-bottomRight`]:{animationName:Fu.Uw},[`${ce}-panel > ${ce}-time-panel`]:{paddingTop:Do},[`${ce}-ranges`]:{marginBottom:0,padding:`${Do}px ${Io}px`,overflow:"hidden",lineHeight:`${Go-2*Yt-Pa/2}px`,textAlign:"start",listStyle:"none",display:"flex",justifyContent:"space-between","> li":{display:"inline-block"},[`${ce}-preset > ${ge}-tag-blue`]:{color:so,background:mi,borderColor:jo,cursor:"pointer"},[`${ce}-ok`]:{marginInlineStart:"auto"}},[`${ce}-range-wrapper`]:{display:"flex",position:"relative"},[`${ce}-range-arrow`]:Object.assign({position:"absolute",zIndex:1,display:"none",marginInlineStart:Ct*1.5,transition:`left ${wr} ease-out`},(0,Us.r)(ao,Oo,$o,Ko,vi)),[`${ce}-panel-container`]:{overflow:"hidden",verticalAlign:"top",background:Ko,borderRadius:Uo,boxShadow:fi,transition:`margin ${wr}`,[`${ce}-panel-layout`]:{display:"flex",flexWrap:"nowrap",alignItems:"stretch"},[`${ce}-presets`]:{display:"flex",flexDirection:"column",minWidth:ri,maxWidth:Ki,ul:{height:0,flex:"auto",listStyle:"none",overflow:"auto",margin:0,padding:Pa,borderInlineEnd:`${Yt}px ${Ht} ${Pi}`,li:Object.assign(Object.assign({},fs.vS),{borderRadius:Ti,paddingInline:Pa,paddingBlock:(Un-Math.round(Le*Aa))/2,cursor:"pointer",transition:`all ${wr}`,"+ li":{marginTop:Wa},"&:hover":{background:zi}})}},[`${ce}-panels`]:{display:"inline-flex",flexWrap:"nowrap",direction:"ltr",[`${ce}-panel`]:{borderWidth:`0 0 ${Yt}px`},"&:last-child":{[`${ce}-panel`]:{borderWidth:0}}},[`${ce}-panel`]:{verticalAlign:"top",background:"transparent",borderRadius:0,borderWidth:0,[`${ce}-content, - table`]:{textAlign:"center"},"&-focused":{borderColor:gn}}}}),"&-dropdown-range":{padding:`${ao*2/3}px 0`,"&-hidden":{display:"none"}},"&-rtl":{direction:"rtl",[`${ce}-separator`]:{transform:"rotate(180deg)"},[`${ce}-footer`]:{"&-extra":{direction:"rtl"}}}})},(0,Fu.oN)(se,"slide-up"),(0,Fu.oN)(se,"slide-down"),(0,vs.Fm)(se,"move-up"),(0,vs.Fm)(se,"move-down")]},ld=se=>{const{componentCls:ce,controlHeightLG:ge,paddingXXS:we,padding:Le}=se;return{pickerCellCls:`${ce}-cell`,pickerCellInnerCls:`${ce}-cell-inner`,pickerYearMonthCellWidth:ge*1.5,pickerQuarterPanelContentHeight:ge*1.4,pickerCellPaddingVertical:we+we/2,pickerCellBorderGap:2,pickerControlIconSize:7,pickerControlIconBorderWidth:1.5,pickerDatePanelPaddingHorizontal:Le+we/2}},_s=se=>({cellHoverBg:se.controlItemBgHover,cellActiveWithRangeBg:se.controlItemBgActive,cellHoverWithRangeBg:new Fi.C(se.colorPrimary).lighten(35).toHexString(),cellRangeBorderColor:new Fi.C(se.colorPrimary).lighten(20).toHexString(),cellBgDisabled:se.colorBgContainerDisabled,timeColumnWidth:se.controlHeightLG*1.4,timeColumnHeight:28*8,timeCellHeight:28,cellWidth:se.controlHeightSM*1.5,cellHeight:se.controlHeightSM,textHeight:se.controlHeightLG,withoutTimeCellHeight:se.controlHeightLG*1.65});var ts=(0,Ys.Z)("DatePicker",se=>{const ce=(0,ps.TS)((0,Ni.e5)(se),ld(se));return[Hs(ce),Os(ce),(0,Cu.c)(se,{focusElCls:`${se.componentCls}-focused`})]},se=>Object.assign(Object.assign(Object.assign({},(0,Ni.TM)(se)),_s(se)),{presetsWidth:120,presetsMaxWidth:200,zIndexPopup:se.zIndexPopupBase+50}));function hs(se,ce,ge){return ge!==void 0?ge:ce==="year"&&se.lang.yearPlaceholder?se.lang.yearPlaceholder:ce==="quarter"&&se.lang.quarterPlaceholder?se.lang.quarterPlaceholder:ce==="month"&&se.lang.monthPlaceholder?se.lang.monthPlaceholder:ce==="week"&&se.lang.weekPlaceholder?se.lang.weekPlaceholder:ce==="time"&&se.timePickerLocale.placeholder?se.timePickerLocale.placeholder:se.lang.placeholder}function Xs(se,ce,ge){return ge!==void 0?ge:ce==="year"&&se.lang.yearPlaceholder?se.lang.rangeYearPlaceholder:ce==="quarter"&&se.lang.quarterPlaceholder?se.lang.rangeQuarterPlaceholder:ce==="month"&&se.lang.monthPlaceholder?se.lang.rangeMonthPlaceholder:ce==="week"&&se.lang.weekPlaceholder?se.lang.rangeWeekPlaceholder:ce==="time"&&se.timePickerLocale.placeholder?se.timePickerLocale.rangePlaceholder:se.lang.rangePlaceholder}function Es(se,ce){const ge={adjustX:1,adjustY:1};switch(ce){case"bottomLeft":return{points:["tl","bl"],offset:[0,4],overflow:ge};case"bottomRight":return{points:["tr","br"],offset:[0,4],overflow:ge};case"topLeft":return{points:["bl","tl"],offset:[0,-4],overflow:ge};case"topRight":return{points:["br","tr"],offset:[0,-4],overflow:ge};default:return{points:se==="rtl"?["tr","br"]:["tl","bl"],offset:[0,4],overflow:ge}}}function _u(se){return se?Array.isArray(se)?se:[se]:[]}function ns(se){const{format:ce,picker:ge,showHour:we,showMinute:Le,showSecond:Ct,use12Hours:ft}=se,Yt=_u(ce)[0],Ht=Object.assign({},se);return ce&&Array.isArray(ce)&&(Ht.format=Yt),Yt&&typeof Yt=="string"&&(!Yt.includes("s")&&Ct===void 0&&(Ht.showSecond=!1),!Yt.includes("m")&&Le===void 0&&(Ht.showMinute=!1),!Yt.includes("H")&&!Yt.includes("h")&&!Yt.includes("K")&&!Yt.includes("k")&&we===void 0&&(Ht.showHour=!1),(Yt.includes("a")||Yt.includes("A"))&&ft===void 0&&(Ht.use12Hours=!0)),ge==="time"?Ht:(typeof Yt=="function"&&delete Ht.format,{showTime:Ht})}function Iu(se,ce,ge){if(se===!1)return!1;const we={clearIcon:ce!=null?ce:ge};return typeof se=="object"?Object.assign(Object.assign({},we),se):we}var Ss=re(3113);function Ps(se){return ie.createElement(Ss.ZP,Object.assign({size:"small",type:"primary"},se))}var Wl={button:Ps},nu=function(se,ce){var ge={};for(var we in se)Object.prototype.hasOwnProperty.call(se,we)&&ce.indexOf(we)<0&&(ge[we]=se[we]);if(se!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Le=0,we=Object.getOwnPropertySymbols(se);Le{const{prefixCls:Le,getPopupContainer:Ct,className:ft,placement:Yt,size:Ht,disabled:gn,bordered:qn=!0,placeholder:Pn,popupClassName:An,dropdownClassName:zn,status:jn,clearIcon:Kt,allowClear:En,rootClassName:Un}=ge,Na=nu(ge,["prefixCls","getPopupContainer","className","placement","size","disabled","bordered","placeholder","popupClassName","dropdownClassName","status","clearIcon","allowClear","rootClassName"]),Pa=ie.useRef(null),{getPrefixCls:Wa,direction:Ja,getPopupContainer:oa}=(0,ie.useContext)(Nl.E_),Aa=Wa("picker",Le),{compactSize:so,compactItemClassnames:wr}=(0,es.ri)(Aa,Ja),{format:no,showTime:Do,picker:Io}=ge,Go=Wa(),[mi,jo]=ts(Aa),ao=Object.assign(Object.assign({},Do?ns(Object.assign({format:no,picker:Io},Do)):{}),Io==="time"?ns(Object.assign(Object.assign({format:no},ge),{picker:Io})):{}),Oo=(0,Rl.Z)(vi=>{var Oi;return(Oi=Ht!=null?Ht:so)!==null&&Oi!==void 0?Oi:vi}),$o=ie.useContext(Tl.Z),Ko=gn!=null?gn:$o,Uo=(0,ie.useContext)(Yu.aM),{hasFeedback:fi,status:Ti,feedbackIcon:Pi}=Uo,zi=ie.createElement(ie.Fragment,null,Io==="time"?ie.createElement($n,null):ie.createElement(ht,null),fi&&Pi);(0,ie.useImperativeHandle)(we,()=>({focus:()=>{var vi;return(vi=Pa.current)===null||vi===void 0?void 0:vi.focus()},blur:()=>{var vi;return(vi=Pa.current)===null||vi===void 0?void 0:vi.blur()}}));const[ri]=(0,gs.Z)("Calendar",ms.Z),Ki=Object.assign(Object.assign({},ri),ge.locale);return mi(ie.createElement(gu,Object.assign({separator:ie.createElement("span",{"aria-label":"to",className:`${Aa}-separator`},ie.createElement(fn,null)),disabled:Ko,ref:Pa,dropdownAlign:Es(Ja,Yt),placeholder:Xs(Ki,Io,Pn),suffixIcon:zi,prevIcon:ie.createElement("span",{className:`${Aa}-prev-icon`}),nextIcon:ie.createElement("span",{className:`${Aa}-next-icon`}),superPrevIcon:ie.createElement("span",{className:`${Aa}-super-prev-icon`}),superNextIcon:ie.createElement("span",{className:`${Aa}-super-next-icon`}),transitionName:`${Go}-slide-up`},Na,ao,{className:nt()({[`${Aa}-${Oo}`]:Oo,[`${Aa}-borderless`]:!qn},(0,Xo.Z)(Aa,(0,Xo.F)(Ti,jn),fi),jo,wr,ft,Un),locale:Ki.lang,prefixCls:Aa,getPopupContainer:Ct||oa,generateConfig:se,components:Wl,direction:Ja,dropdownClassName:nt()(jo,An||zn,Un),allowClear:Iu(En,Kt,ie.createElement(_t.Z,null))})))})}var yu=function(se,ce){var ge={};for(var we in se)Object.prototype.hasOwnProperty.call(se,we)&&ce.indexOf(we)<0&&(ge[we]=se[we]);if(se!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Le=0,we=Object.getOwnPropertySymbols(se);Le{const{prefixCls:jn,getPopupContainer:Kt,style:En,className:Un,rootClassName:Na,size:Pa,bordered:Wa=!0,placement:Ja,placeholder:oa,popupClassName:Aa,dropdownClassName:so,disabled:wr,status:no,clearIcon:Do,allowClear:Io}=An,Go=yu(An,["prefixCls","getPopupContainer","style","className","rootClassName","size","bordered","placement","placeholder","popupClassName","dropdownClassName","disabled","status","clearIcon","allowClear"]),{getPrefixCls:mi,direction:jo,getPopupContainer:ao,[qn]:Oo}=(0,ie.useContext)(Nl.E_),$o=mi("picker",jn),{compactSize:Ko,compactItemClassnames:Uo}=(0,es.ri)($o,jo),fi=ie.useRef(null),{format:Ti,showTime:Pi}=An,[zi,ri]=ts($o);(0,ie.useImperativeHandle)(zn,()=>({focus:()=>{var ki;return(ki=fi.current)===null||ki===void 0?void 0:ki.focus()},blur:()=>{var ki;return(ki=fi.current)===null||ki===void 0?void 0:ki.blur()}}));const Ki={showToday:!0};let vi={};Ht&&(vi.picker=Ht);const Oi=Ht||An.picker;vi=Object.assign(Object.assign(Object.assign({},vi),Pi?ns(Object.assign({format:Ti,picker:Oi},Pi)):{}),Oi==="time"?ns(Object.assign(Object.assign({format:Ti},An),{picker:Oi})):{});const Gi=mi(),$i=(0,Rl.Z)(ki=>{var ll;return(ll=Pa!=null?Pa:Ko)!==null&&ll!==void 0?ll:ki}),ji=ie.useContext(Tl.Z),ml=wr!=null?wr:ji,kl=(0,ie.useContext)(Yu.aM),{hasFeedback:Ao,status:Hr,feedbackIcon:Ai}=kl,Ri=ie.createElement(ie.Fragment,null,Oi==="time"?ie.createElement($n,null):ie.createElement(ht,null),Ao&&Ai),[el]=(0,gs.Z)("DatePicker",ms.Z),wi=Object.assign(Object.assign({},el),An.locale);return zi(ie.createElement(mu,Object.assign({ref:fi,placeholder:hs(wi,Oi,oa),suffixIcon:Ri,dropdownAlign:Es(jo,Ja),prevIcon:ie.createElement("span",{className:`${$o}-prev-icon`}),nextIcon:ie.createElement("span",{className:`${$o}-next-icon`}),superPrevIcon:ie.createElement("span",{className:`${$o}-super-prev-icon`}),superNextIcon:ie.createElement("span",{className:`${$o}-super-next-icon`}),transitionName:`${Gi}-slide-up`},Ki,Go,vi,{locale:wi.lang,className:nt()({[`${$o}-${$i}`]:$i,[`${$o}-borderless`]:!Wa},(0,Xo.Z)($o,(0,Xo.F)(Hr,no),Ao),ri,Uo,Oo==null?void 0:Oo.className,Un,Na),style:Object.assign(Object.assign({},Oo==null?void 0:Oo.style),En),prefixCls:$o,getPopupContainer:Kt||ao,generateConfig:se,components:Wl,direction:jo,disabled:ml,dropdownClassName:nt()(ri,Na,Aa||so),allowClear:Iu(Io,Do,ie.createElement(_t.Z,null))})))});return gn&&(Pn.displayName=gn),Pn}const ge=ce(),we=ce("week","WeekPicker"),Le=ce("month","MonthPicker"),Ct=ce("year","YearPicker"),ft=ce("time","TimePicker"),Yt=ce("quarter","QuarterPicker");return{DatePicker:ge,WeekPicker:we,MonthPicker:Le,YearPicker:Ct,TimePicker:ft,QuarterPicker:Yt}}const Od=null;function Qs(se){const{DatePicker:ce,WeekPicker:ge,MonthPicker:we,YearPicker:Le,TimePicker:Ct,QuarterPicker:ft}=ud(se),Yt=Xu(se),Ht=ce;return Ht.WeekPicker=ge,Ht.MonthPicker=we,Ht.YearPicker=Le,Ht.RangePicker=Yt,Ht.TimePicker=Ct,Ht.QuarterPicker=ft,Ht}var Ms=Qs;const fu=Ms(ne);function vu(se){const ce=Es(se.direction,se.placement);return ce.overflow.adjustY=!1,ce.overflow.adjustX=!1,Object.assign(Object.assign({},se),{dropdownAlign:ce})}const As=(0,oe.Z)(fu,"picker",null,vu);fu._InternalPanelDoNotUseOrYouWillBeFired=As;const Cs=(0,oe.Z)(fu.RangePicker,"picker",null,vu);fu._InternalRangePanelDoNotUseOrYouWillBeFired=Cs,fu.generatePicker=Ms;var qs=fu},28103:function(je,Nt,re){"use strict";re.d(Nt,{Z:function(){return ot}});var b=re(92310),Be=re.n(b),Je=re(59301),Te=re(36355),Ze=re(17313),lt=re(83116),he=re(37613);const Xe=Qe=>{const{componentCls:de,sizePaddingEdgeHorizontal:a,colorSplit:E,lineWidth:x,textPaddingInline:y,orientationMargin:ee,verticalMarginInline:ne}=Qe;return{[de]:Object.assign(Object.assign({},(0,Ze.Wf)(Qe)),{borderBlockStart:`${x}px solid ${E}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",marginInline:ne,marginBlock:0,verticalAlign:"middle",borderTop:0,borderInlineStart:`${x}px solid ${E}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${Qe.dividerHorizontalGutterMargin}px 0`},[`&-horizontal${de}-with-text`]:{display:"flex",alignItems:"center",margin:`${Qe.dividerHorizontalWithTextGutterMargin}px 0`,color:Qe.colorTextHeading,fontWeight:500,fontSize:Qe.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:`0 ${E}`,"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:`${x}px solid transparent`,borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},[`&-horizontal${de}-with-text-left`]:{"&::before":{width:`${ee*100}%`},"&::after":{width:`${100-ee*100}%`}},[`&-horizontal${de}-with-text-right`]:{"&::before":{width:`${100-ee*100}%`},"&::after":{width:`${ee*100}%`}},[`${de}-inner-text`]:{display:"inline-block",paddingBlock:0,paddingInline:y},"&-dashed":{background:"none",borderColor:E,borderStyle:"dashed",borderWidth:`${x}px 0 0`},[`&-horizontal${de}-with-text${de}-dashed`]:{"&::before, &::after":{borderStyle:"dashed none none"}},[`&-vertical${de}-dashed`]:{borderInlineStartWidth:x,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${de}-with-text`]:{color:Qe.colorText,fontWeight:"normal",fontSize:Qe.fontSize},[`&-horizontal${de}-with-text-left${de}-no-default-orientation-margin-left`]:{"&::before":{width:0},"&::after":{width:"100%"},[`${de}-inner-text`]:{paddingInlineStart:a}},[`&-horizontal${de}-with-text-right${de}-no-default-orientation-margin-right`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${de}-inner-text`]:{paddingInlineEnd:a}}})}};var Ke=(0,lt.Z)("Divider",Qe=>{const de=(0,he.TS)(Qe,{dividerHorizontalWithTextGutterMargin:Qe.margin,dividerHorizontalGutterMargin:Qe.marginLG,sizePaddingEdgeHorizontal:0});return[Xe(de)]},Qe=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:Qe.marginXS})),Ie=function(Qe,de){var a={};for(var E in Qe)Object.prototype.hasOwnProperty.call(Qe,E)&&de.indexOf(E)<0&&(a[E]=Qe[E]);if(Qe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var x=0,E=Object.getOwnPropertySymbols(Qe);x{const{getPrefixCls:de,direction:a,divider:E}=Je.useContext(Te.E_),{prefixCls:x,type:y="horizontal",orientation:ee="center",orientationMargin:ne,className:oe,rootClassName:le,children:ie,dashed:Ce,plain:ye,style:Ge}=Qe,Re=Ie(Qe,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","plain","style"]),St=de("divider",x),[ht,pt]=Ke(St),Gn=ee.length>0?`-${ee}`:ee,Tn=!!ie,da=ee==="left"&&ne!=null,$n=ee==="right"&&ne!=null,_t=Be()(St,E==null?void 0:E.className,pt,`${St}-${y}`,{[`${St}-with-text`]:Tn,[`${St}-with-text${Gn}`]:Tn,[`${St}-dashed`]:!!Ce,[`${St}-plain`]:!!ye,[`${St}-rtl`]:a==="rtl",[`${St}-no-default-orientation-margin-left`]:da,[`${St}-no-default-orientation-margin-right`]:$n},oe,le),In=Je.useMemo(()=>typeof ne=="number"?ne:/^\d+$/.test(ne)?Number(ne):ne,[ne]),ct=Object.assign(Object.assign({},da&&{marginLeft:In}),$n&&{marginRight:In});return ht(Je.createElement("div",Object.assign({className:_t,style:Object.assign(Object.assign({},E==null?void 0:E.style),Ge)},Re,{role:"separator"}),ie&&y!=="vertical"&&Je.createElement("span",{className:`${St}-inner-text`,style:ct},ie)))}},43428:function(je,Nt,re){"use strict";re.d(Nt,{Z:function(){return De}});var b=re(92310),Be=re.n(b),Je=re(98506),Te=re(16886),Ze=re(43403),lt=re(34280),he=re(59301),Xe=he.createContext(null),Ke=he.createContext({}),Ie=Xe,tt=re(52873),ot=re(67711),Qe=re(77900),de=re(10228),a=re(26112),E=re(70425),x=function(He){var Ft=He.prefixCls,bt=He.className,It=He.style,Ut=He.children,jt=He.containerRef,bn=He.id,Lt=He.onMouseEnter,Fe=He.onMouseOver,xe=He.onMouseLeave,gt=He.onClick,Mt=He.onKeyDown,qt=He.onKeyUp,Vt={onMouseEnter:Lt,onMouseOver:Fe,onMouseLeave:xe,onClick:gt,onKeyDown:Mt,onKeyUp:qt},kt=he.useContext(Ke),rn=kt.panel,Wt=(0,E.useComposeRef)(rn,jt);return he.createElement(he.Fragment,null,he.createElement("div",(0,ot.Z)({id:bn,className:Be()("".concat(Ft,"-content"),bt),style:(0,Je.Z)({},It),"aria-modal":"true",role:"dialog",ref:Wt},Vt),Ut))},y=x,ee=re(48736);function ne(Pe){return typeof Pe=="string"&&String(Number(Pe))===Pe?((0,ee.ZP)(!1,"Invalid value type of `width` or `height` which should be number type instead."),Number(Pe)):Pe}function oe(Pe){warning(!("wrapperClassName"in Pe),"'wrapperClassName' is removed. Please use 'rootClassName' instead."),warning(canUseDom()||!Pe.open,"Drawer with 'open' in SSR is not work since no place to createPortal. Please move to 'useEffect' instead.")}var le={width:0,height:0,overflow:"hidden",outline:"none",position:"absolute"};function ie(Pe,He){var Ft,bt,It,Ut,jt=Pe.prefixCls,bn=Pe.open,Lt=Pe.placement,Fe=Pe.inline,xe=Pe.push,gt=Pe.forceRender,Mt=Pe.autoFocus,qt=Pe.keyboard,Vt=Pe.rootClassName,kt=Pe.rootStyle,rn=Pe.zIndex,Wt=Pe.className,yt=Pe.id,an=Pe.style,mt=Pe.motion,At=Pe.width,xt=Pe.height,cn=Pe.children,Dt=Pe.contentWrapperStyle,Ot=Pe.mask,xn=Pe.maskClosable,Gt=Pe.maskMotion,Kn=Pe.maskClassName,za=Pe.maskStyle,sr=Pe.afterOpenChange,Ya=Pe.onClose,Da=Pe.onMouseEnter,Lr=Pe.onMouseOver,cr=Pe.onMouseLeave,Ha=Pe.onClick,Xa=Pe.onKeyDown,Dr=Pe.onKeyUp,Fa=he.useRef(),Zr=he.useRef(),br=he.useRef();he.useImperativeHandle(He,function(){return Fa.current});var Pt=function(fa){var ua=fa.keyCode,hn=fa.shiftKey;switch(ua){case de.Z.TAB:{if(ua===de.Z.TAB){if(!hn&&document.activeElement===br.current){var Ra;(Ra=Zr.current)===null||Ra===void 0||Ra.focus({preventScroll:!0})}else if(hn&&document.activeElement===Zr.current){var vr;(vr=br.current)===null||vr===void 0||vr.focus({preventScroll:!0})}}break}case de.Z.ESC:{Ya&&qt&&(fa.stopPropagation(),Ya(fa));break}}};he.useEffect(function(){if(bn&&Mt){var ta;(ta=Fa.current)===null||ta===void 0||ta.focus({preventScroll:!0})}},[bn]);var Sn=he.useState(!1),Fn=(0,Te.Z)(Sn,2),Zt=Fn[0],sn=Fn[1],On=he.useContext(Ie),Jn;xe===!1?Jn={distance:0}:xe===!0?Jn={}:Jn=xe||{};var ke=(Ft=(bt=(It=Jn)===null||It===void 0?void 0:It.distance)!==null&&bt!==void 0?bt:On==null?void 0:On.pushDistance)!==null&&Ft!==void 0?Ft:180,rt=he.useMemo(function(){return{pushDistance:ke,push:function(){sn(!0)},pull:function(){sn(!1)}}},[ke]);he.useEffect(function(){if(bn){var ta;On==null||(ta=On.push)===null||ta===void 0||ta.call(On)}else{var fa;On==null||(fa=On.pull)===null||fa===void 0||fa.call(On)}},[bn]),he.useEffect(function(){return function(){var ta;On==null||(ta=On.pull)===null||ta===void 0||ta.call(On)}},[]);var qe=Ot&&he.createElement(Qe.default,(0,ot.Z)({key:"mask"},Gt,{visible:bn}),function(ta,fa){var ua=ta.className,hn=ta.style;return he.createElement("div",{className:Be()("".concat(jt,"-mask"),ua,Kn),style:(0,Je.Z)((0,Je.Z)({},hn),za),onClick:xn&&bn?Ya:void 0,ref:fa})}),Dn=typeof mt=="function"?mt(Lt):mt,mn={};if(Zt&&ke)switch(Lt){case"top":mn.transform="translateY(".concat(ke,"px)");break;case"bottom":mn.transform="translateY(".concat(-ke,"px)");break;case"left":mn.transform="translateX(".concat(ke,"px)");break;default:mn.transform="translateX(".concat(-ke,"px)");break}Lt==="left"||Lt==="right"?mn.width=ne(At):mn.height=ne(xt);var Wn={onMouseEnter:Da,onMouseOver:Lr,onMouseLeave:cr,onClick:Ha,onKeyDown:Xa,onKeyUp:Dr},ya=he.createElement(Qe.default,(0,ot.Z)({key:"panel"},Dn,{visible:bn,forceRender:gt,onVisibleChanged:function(fa){sr==null||sr(fa)},removeOnLeave:!1,leavedClassName:"".concat(jt,"-content-wrapper-hidden")}),function(ta,fa){var ua=ta.className,hn=ta.style;return he.createElement("div",(0,ot.Z)({className:Be()("".concat(jt,"-content-wrapper"),ua),style:(0,Je.Z)((0,Je.Z)((0,Je.Z)({},mn),hn),Dt)},(0,a.Z)(Pe,{data:!0})),he.createElement(y,(0,ot.Z)({id:yt,containerRef:fa,prefixCls:jt,className:Wt,style:an},Wn),cn))}),ma=(0,Je.Z)({},kt);return rn&&(ma.zIndex=rn),he.createElement(Ie.Provider,{value:rt},he.createElement("div",{className:Be()(jt,"".concat(jt,"-").concat(Lt),Vt,(Ut={},(0,tt.Z)(Ut,"".concat(jt,"-open"),bn),(0,tt.Z)(Ut,"".concat(jt,"-inline"),Fe),Ut)),style:ma,tabIndex:-1,ref:Fa,onKeyDown:Pt},qe,he.createElement("div",{tabIndex:0,ref:Zr,style:le,"aria-hidden":"true","data-sentinel":"start"}),ya,he.createElement("div",{tabIndex:0,ref:br,style:le,"aria-hidden":"true","data-sentinel":"end"})))}var Ce=he.forwardRef(ie),ye=Ce,Ge=function(He){var Ft=He.open,bt=Ft===void 0?!1:Ft,It=He.prefixCls,Ut=It===void 0?"rc-drawer":It,jt=He.placement,bn=jt===void 0?"right":jt,Lt=He.autoFocus,Fe=Lt===void 0?!0:Lt,xe=He.keyboard,gt=xe===void 0?!0:xe,Mt=He.width,qt=Mt===void 0?378:Mt,Vt=He.mask,kt=Vt===void 0?!0:Vt,rn=He.maskClosable,Wt=rn===void 0?!0:rn,yt=He.getContainer,an=He.forceRender,mt=He.afterOpenChange,At=He.destroyOnClose,xt=He.onMouseEnter,cn=He.onMouseOver,Dt=He.onMouseLeave,Ot=He.onClick,xn=He.onKeyDown,Gt=He.onKeyUp,Kn=He.panelRef,za=he.useState(!1),sr=(0,Te.Z)(za,2),Ya=sr[0],Da=sr[1],Lr=he.useState(!1),cr=(0,Te.Z)(Lr,2),Ha=cr[0],Xa=cr[1];(0,lt.Z)(function(){Xa(!0)},[]);var Dr=Ha?bt:!1,Fa=he.useRef(),Zr=he.useRef();(0,lt.Z)(function(){Dr&&(Zr.current=document.activeElement)},[Dr]);var br=function(sn){var On;if(Da(sn),mt==null||mt(sn),!sn&&Zr.current&&!((On=Fa.current)!==null&&On!==void 0&&On.contains(Zr.current))){var Jn;(Jn=Zr.current)===null||Jn===void 0||Jn.focus({preventScroll:!0})}},Pt=he.useMemo(function(){return{panel:Kn}},[Kn]);if(!an&&!Ya&&!Dr&&At)return null;var Sn={onMouseEnter:xt,onMouseOver:cn,onMouseLeave:Dt,onClick:Ot,onKeyDown:xn,onKeyUp:Gt},Fn=(0,Je.Z)((0,Je.Z)({},He),{},{open:Dr,prefixCls:Ut,placement:bn,autoFocus:Fe,keyboard:gt,width:qt,mask:kt,maskClosable:Wt,inline:yt===!1,afterOpenChange:br,ref:Fa},Sn);return he.createElement(Ke.Provider,{value:Pt},he.createElement(Ze.Z,{open:Dr||an||Ya,autoDestroy:!1,getContainer:yt,autoLock:kt&&(Dr||Ya)},he.createElement(ye,Fn)))},Re=Ge,St=Re,ht=re(62892),pt=re(36355),Gn=re(32441),Tn=re(47729),$n=Pe=>{const{prefixCls:He,title:Ft,footer:bt,extra:It,closeIcon:Ut,closable:jt,onClose:bn,headerStyle:Lt,drawerStyle:Fe,bodyStyle:xe,footerStyle:gt,children:Mt}=Pe,qt=he.useCallback(yt=>he.createElement("button",{type:"button",onClick:bn,"aria-label":"Close",className:`${He}-close`},yt),[bn]),[Vt,kt]=(0,Tn.Z)(jt,Ut,qt,void 0,!0),rn=he.useMemo(()=>!Ft&&!Vt?null:he.createElement("div",{style:Lt,className:Be()(`${He}-header`,{[`${He}-header-close-only`]:Vt&&!Ft&&!It})},he.createElement("div",{className:`${He}-header-title`},kt,Ft&&he.createElement("div",{className:`${He}-title`},Ft)),It&&he.createElement("div",{className:`${He}-extra`},It)),[Vt,kt,It,Lt,He,Ft]),Wt=he.useMemo(()=>{if(!bt)return null;const yt=`${He}-footer`;return he.createElement("div",{className:yt,style:gt},bt)},[bt,gt,He]);return he.createElement("div",{className:`${He}-wrapper-body`,style:Fe},rn,he.createElement("div",{className:`${He}-body`,style:xe},Mt),Wt)},_t=re(33234),In=re(83116),ct=re(37613),ln=Pe=>{const{componentCls:He,motionDurationSlow:Ft}=Pe,bt={"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:`all ${Ft}`}}};return{[He]:{[`${He}-mask-motion`]:{"&-enter, &-appear, &-leave":{"&-active":{transition:`all ${Ft}`}},"&-enter, &-appear":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}}},[`${He}-panel-motion`]:{"&-left":[bt,{"&-enter, &-appear":{"&-start":{transform:"translateX(-100%) !important"},"&-active":{transform:"translateX(0)"}},"&-leave":{transform:"translateX(0)","&-active":{transform:"translateX(-100%)"}}}],"&-right":[bt,{"&-enter, &-appear":{"&-start":{transform:"translateX(100%) !important"},"&-active":{transform:"translateX(0)"}},"&-leave":{transform:"translateX(0)","&-active":{transform:"translateX(100%)"}}}],"&-top":[bt,{"&-enter, &-appear":{"&-start":{transform:"translateY(-100%) !important"},"&-active":{transform:"translateY(0)"}},"&-leave":{transform:"translateY(0)","&-active":{transform:"translateY(-100%)"}}}],"&-bottom":[bt,{"&-enter, &-appear":{"&-start":{transform:"translateY(100%) !important"},"&-active":{transform:"translateY(0)"}},"&-leave":{transform:"translateY(0)","&-active":{transform:"translateY(100%)"}}}]}}}};const fn=Pe=>{const{componentCls:He,zIndexPopup:Ft,colorBgMask:bt,colorBgElevated:It,motionDurationSlow:Ut,motionDurationMid:jt,padding:bn,paddingLG:Lt,fontSizeLG:Fe,lineHeightLG:xe,lineWidth:gt,lineType:Mt,colorSplit:qt,marginSM:Vt,colorIcon:kt,colorIconHover:rn,colorText:Wt,fontWeightStrong:yt,footerPaddingBlock:an,footerPaddingInline:mt}=Pe,At=`${He}-content-wrapper`;return{[He]:{position:"fixed",inset:0,zIndex:Ft,pointerEvents:"none","&-pure":{position:"relative",background:It,[`&${He}-left`]:{boxShadow:Pe.boxShadowDrawerLeft},[`&${He}-right`]:{boxShadow:Pe.boxShadowDrawerRight},[`&${He}-top`]:{boxShadow:Pe.boxShadowDrawerUp},[`&${He}-bottom`]:{boxShadow:Pe.boxShadowDrawerDown}},"&-inline":{position:"absolute"},[`${He}-mask`]:{position:"absolute",inset:0,zIndex:Ft,background:bt,pointerEvents:"auto"},[At]:{position:"absolute",zIndex:Ft,maxWidth:"100vw",transition:`all ${Ut}`,"&-hidden":{display:"none"}},[`&-left > ${At}`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:Pe.boxShadowDrawerLeft},[`&-right > ${At}`]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:Pe.boxShadowDrawerRight},[`&-top > ${At}`]:{top:0,insetInline:0,boxShadow:Pe.boxShadowDrawerUp},[`&-bottom > ${At}`]:{bottom:0,insetInline:0,boxShadow:Pe.boxShadowDrawerDown},[`${He}-content`]:{width:"100%",height:"100%",overflow:"auto",background:It,pointerEvents:"auto"},[`${He}-wrapper-body`]:{display:"flex",flexDirection:"column",width:"100%",height:"100%"},[`${He}-header`]:{display:"flex",flex:0,alignItems:"center",padding:`${bn}px ${Lt}px`,fontSize:Fe,lineHeight:xe,borderBottom:`${gt}px ${Mt} ${qt}`,"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},[`${He}-extra`]:{flex:"none"},[`${He}-close`]:{display:"inline-block",marginInlineEnd:Vt,color:kt,fontWeight:yt,fontSize:Fe,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",textDecoration:"none",background:"transparent",border:0,outline:0,cursor:"pointer",transition:`color ${jt}`,textRendering:"auto","&:focus, &:hover":{color:rn,textDecoration:"none"}},[`${He}-title`]:{flex:1,margin:0,color:Wt,fontWeight:Pe.fontWeightStrong,fontSize:Fe,lineHeight:xe},[`${He}-body`]:{flex:1,minWidth:0,minHeight:0,padding:Lt,overflow:"auto"},[`${He}-footer`]:{flexShrink:0,padding:`${an}px ${mt}px`,borderTop:`${gt}px ${Mt} ${qt}`},"&-rtl":{direction:"rtl"}}}};var vn=(0,In.Z)("Drawer",Pe=>{const He=(0,ct.TS)(Pe,{});return[fn(He),ln(He)]},Pe=>({zIndexPopup:Pe.zIndexPopupBase,footerPaddingBlock:Pe.paddingXS,footerPaddingInline:Pe.padding})),nt=re(11575),vt=function(Pe,He){var Ft={};for(var bt in Pe)Object.prototype.hasOwnProperty.call(Pe,bt)&&He.indexOf(bt)<0&&(Ft[bt]=Pe[bt]);if(Pe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var It=0,bt=Object.getOwnPropertySymbols(Pe);It{var He;const{rootClassName:Ft,width:bt,height:It,size:Ut="default",mask:jt=!0,push:bn=Bn,open:Lt,afterOpenChange:Fe,onClose:xe,prefixCls:gt,getContainer:Mt,style:qt,className:Vt,visible:kt,afterVisibleChange:rn}=Pe,Wt=vt(Pe,["rootClassName","width","height","size","mask","push","open","afterOpenChange","onClose","prefixCls","getContainer","style","className","visible","afterVisibleChange"]),{getPopupContainer:yt,getPrefixCls:an,direction:mt,drawer:At}=he.useContext(pt.E_),xt=an("drawer",gt),[cn,Dt]=vn(xt),Ot=Mt===void 0&&yt?()=>yt(document.body):Mt,xn=Be()({"no-mask":!jt,[`${xt}-rtl`]:mt==="rtl"},Ft,Dt),Gt=he.useMemo(()=>bt!=null?bt:Ut==="large"?736:378,[bt,Ut]),Kn=he.useMemo(()=>It!=null?It:Ut==="large"?736:378,[It,Ut]),za={motionName:(0,ht.m)(xt,"mask-motion"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500},sr=Da=>({motionName:(0,ht.m)(xt,`panel-motion-${Da}`),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500}),Ya=(0,nt.H)();return cn(he.createElement(_t.BR,null,he.createElement(Gn.Ux,{status:!0,override:!0},he.createElement(St,Object.assign({prefixCls:xt,onClose:xe,maskMotion:za,motion:sr},Wt,{open:Lt!=null?Lt:kt,mask:jt,push:bn,width:Gt,height:Kn,style:Object.assign(Object.assign({},At==null?void 0:At.style),qt),className:Be()(At==null?void 0:At.className,Vt),rootClassName:xn,getContainer:Ot,afterOpenChange:Fe!=null?Fe:rn,panelRef:Ya}),he.createElement($n,Object.assign({prefixCls:xt},Wt,{onClose:xe}))))))},on=Pe=>{const{prefixCls:He,style:Ft,className:bt,placement:It="right"}=Pe,Ut=vt(Pe,["prefixCls","style","className","placement"]),{getPrefixCls:jt}=he.useContext(pt.E_),bn=jt("drawer",He),[Lt,Fe]=vn(bn),xe=Be()(bn,`${bn}-pure`,`${bn}-${It}`,Fe,bt);return Lt(he.createElement("div",{className:xe,style:Ft},he.createElement($n,Object.assign({prefixCls:bn},Ut))))};nn._InternalPanelDoNotUseOrYouWillBeFired=on;var De=nn},44e3:function(je,Nt,re){"use strict";var b=re(84966),Be=re(45818);const Je=b.ZP;Je.Header=b.h4,Je.Footer=b.$_,Je.Content=b.VY,Je.Sider=Be.Z,Nt.default=Je},39722:function(je,Nt,re){"use strict";re.d(Nt,{t5:function(){return Ie}});var b=re(92310),Be=re.n(b),Je=re(55477),Te=re(59301),Ze=re(36355),lt=re(77578),he=re(17356),Xe=function(ot,Qe){var de={};for(var a in ot)Object.prototype.hasOwnProperty.call(ot,a)&&Qe.indexOf(a)<0&&(de[a]=ot[a]);if(ot!=null&&typeof Object.getOwnPropertySymbols=="function")for(var E=0,a=Object.getOwnPropertySymbols(ot);E{if(!(!Qe&&!de))return Te.createElement(Te.Fragment,null,Qe&&Te.createElement("div",{className:`${ot}-title`},(0,lt.Z)(Qe)),Te.createElement("div",{className:`${ot}-inner-content`},(0,lt.Z)(de)))},Ie=ot=>{const{hashId:Qe,prefixCls:de,className:a,style:E,placement:x="top",title:y,content:ee,children:ne}=ot;return Te.createElement("div",{className:Be()(Qe,de,`${de}-pure`,`${de}-placement-${x}`,a),style:E},Te.createElement("div",{className:`${de}-arrow`}),Te.createElement(Je.G,Object.assign({},ot,{className:Qe,prefixCls:de}),ne||Ke(de,y,ee)))},tt=ot=>{const{prefixCls:Qe}=ot,de=Xe(ot,["prefixCls"]),{getPrefixCls:a}=Te.useContext(Ze.E_),E=a("popover",Qe),[x,y]=(0,he.Z)(E);return x(Te.createElement(Ie,Object.assign({},de,{prefixCls:E,hashId:y})))};Nt.ZP=tt},60324:function(je,Nt,re){"use strict";var b=re(92310),Be=re.n(b),Je=re(59301),Te=re(77578),Ze=re(62892),lt=re(36355),he=re(6848),Xe=re(39722),Ke=re(17356),Ie=function(Qe,de){var a={};for(var E in Qe)Object.prototype.hasOwnProperty.call(Qe,E)&&de.indexOf(E)<0&&(a[E]=Qe[E]);if(Qe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var x=0,E=Object.getOwnPropertySymbols(Qe);x{let{title:de,content:a,prefixCls:E}=Qe;return Je.createElement(Je.Fragment,null,de&&Je.createElement("div",{className:`${E}-title`},(0,Te.Z)(de)),Je.createElement("div",{className:`${E}-inner-content`},(0,Te.Z)(a)))},ot=Je.forwardRef((Qe,de)=>{const{prefixCls:a,title:E,content:x,overlayClassName:y,placement:ee="top",trigger:ne="hover",mouseEnterDelay:oe=.1,mouseLeaveDelay:le=.1,overlayStyle:ie={}}=Qe,Ce=Ie(Qe,["prefixCls","title","content","overlayClassName","placement","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle"]),{getPrefixCls:ye}=Je.useContext(lt.E_),Ge=ye("popover",a),[Re,St]=(0,Ke.Z)(Ge),ht=ye(),pt=Be()(y,St);return Re(Je.createElement(he.Z,Object.assign({placement:ee,trigger:ne,mouseEnterDelay:oe,mouseLeaveDelay:le,overlayStyle:ie},Ce,{prefixCls:Ge,overlayClassName:pt,ref:de,overlay:E||x?Je.createElement(tt,{prefixCls:Ge,title:E,content:x}):null,transitionName:(0,Ze.m)(ht,"zoom-big",Ce.transitionName),"data-popover-inject":!0})))});ot._InternalPanelDoNotUseOrYouWillBeFired=Xe.ZP,Nt.Z=ot},17356:function(je,Nt,re){"use strict";var b=re(17313),Be=re(29878),Je=re(19447),Te=re(33166),Ze=re(83116),lt=re(37613);const he=Ie=>{const{componentCls:tt,popoverColor:ot,minWidth:Qe,fontWeightStrong:de,popoverPadding:a,boxShadowSecondary:E,colorTextHeading:x,borderRadiusLG:y,zIndexPopup:ee,marginXS:ne,colorBgElevated:oe,popoverBg:le}=Ie;return[{[tt]:Object.assign(Object.assign({},(0,b.Wf)(Ie)),{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":oe,"&-rtl":{direction:"rtl"},"&-hidden":{display:"none"},[`${tt}-content`]:{position:"relative"},[`${tt}-inner`]:{backgroundColor:le,backgroundClip:"padding-box",borderRadius:y,boxShadow:E,padding:a},[`${tt}-title`]:{minWidth:Qe,marginBottom:ne,color:x,fontWeight:de},[`${tt}-inner-content`]:{color:ot}})},(0,Je.ZP)(Ie,{colorBg:"var(--antd-arrow-background-color)"}),{[`${tt}-pure`]:{position:"relative",maxWidth:"none",margin:Ie.sizePopupArrow,display:"inline-block",[`${tt}-content`]:{display:"inline-block"}}}]},Xe=Ie=>{const{componentCls:tt}=Ie;return{[tt]:Te.i.map(ot=>{const Qe=Ie[`${ot}6`];return{[`&${tt}-${ot}`]:{"--antd-arrow-background-color":Qe,[`${tt}-inner`]:{backgroundColor:Qe},[`${tt}-arrow`]:{background:"transparent"}}}})}},Ke=Ie=>{const{componentCls:tt,lineWidth:ot,lineType:Qe,colorSplit:de,paddingSM:a,controlHeight:E,fontSize:x,lineHeight:y,padding:ee}=Ie,ne=E-Math.round(x*y),oe=ne/2,le=ne/2-ot,ie=ee;return{[tt]:{[`${tt}-inner`]:{padding:0},[`${tt}-title`]:{margin:0,padding:`${oe}px ${ie}px ${le}px`,borderBottom:`${ot}px ${Qe} ${de}`},[`${tt}-inner-content`]:{padding:`${a}px ${ie}px`}}}};Nt.Z=(0,Ze.Z)("Popover",Ie=>{const{colorBgElevated:tt,colorText:ot,wireframe:Qe}=Ie,de=(0,lt.TS)(Ie,{popoverPadding:12,popoverBg:tt,popoverColor:ot});return[he(de),Xe(de),Qe&&Ke(de),(0,Be._y)(de,"zoom-big")]},Ie=>({width:177,minWidth:177,zIndexPopup:Ie.zIndexPopupBase+30}),{resetStyle:!1,deprecatedTokens:[["width","minWidth"]]})},10311:function(je,Nt,re){"use strict";re.d(Nt,{Z:function(){return Lt}});var b=re(92310),Be=re.n(b),Je=re(52873),Te=re(15142),Ze=re(16886),lt=re(26420),he=re(59301),Xe=re(13697),Ke=re(18929),Ie=re(67711),tt=re(33346),ot=re(98506),Qe=re(10228),de=he.createContext({min:0,max:0,direction:"ltr",step:1,includedStart:0,includedEnd:0,tabIndex:0,keyboard:!0}),a=de;function E(Fe,xe,gt){return(Fe-xe)/(gt-xe)}function x(Fe,xe,gt,Mt){var qt=E(xe,gt,Mt),Vt={};switch(Fe){case"rtl":Vt.right="".concat(qt*100,"%"),Vt.transform="translateX(50%)";break;case"btt":Vt.bottom="".concat(qt*100,"%"),Vt.transform="translateY(50%)";break;case"ttb":Vt.top="".concat(qt*100,"%"),Vt.transform="translateY(-50%)";break;default:Vt.left="".concat(qt*100,"%"),Vt.transform="translateX(-50%)";break}return Vt}function y(Fe,xe){return Array.isArray(Fe)?Fe[xe]:Fe}var ee=["prefixCls","value","valueIndex","onStartMove","style","render","dragging","onOffsetChange"],ne=he.forwardRef(function(Fe,xe){var gt,Mt,qt=Fe.prefixCls,Vt=Fe.value,kt=Fe.valueIndex,rn=Fe.onStartMove,Wt=Fe.style,yt=Fe.render,an=Fe.dragging,mt=Fe.onOffsetChange,At=(0,tt.Z)(Fe,ee),xt=he.useContext(a),cn=xt.min,Dt=xt.max,Ot=xt.direction,xn=xt.disabled,Gt=xt.keyboard,Kn=xt.range,za=xt.tabIndex,sr=xt.ariaLabelForHandle,Ya=xt.ariaLabelledByForHandle,Da=xt.ariaValueTextFormatterForHandle,Lr="".concat(qt,"-handle"),cr=function(Zr){xn||rn(Zr,kt)},Ha=function(Zr){if(!xn&&Gt){var br=null;switch(Zr.which||Zr.keyCode){case Qe.Z.LEFT:br=Ot==="ltr"||Ot==="btt"?-1:1;break;case Qe.Z.RIGHT:br=Ot==="ltr"||Ot==="btt"?1:-1;break;case Qe.Z.UP:br=Ot!=="ttb"?1:-1;break;case Qe.Z.DOWN:br=Ot!=="ttb"?-1:1;break;case Qe.Z.HOME:br="min";break;case Qe.Z.END:br="max";break;case Qe.Z.PAGE_UP:br=2;break;case Qe.Z.PAGE_DOWN:br=-2;break}br!==null&&(Zr.preventDefault(),mt(br,kt))}},Xa=x(Ot,Vt,cn,Dt),Dr=he.createElement("div",(0,Ie.Z)({ref:xe,className:Be()(Lr,(gt={},(0,Je.Z)(gt,"".concat(Lr,"-").concat(kt+1),Kn),(0,Je.Z)(gt,"".concat(Lr,"-dragging"),an),gt)),style:(0,ot.Z)((0,ot.Z)({},Xa),Wt),onMouseDown:cr,onTouchStart:cr,onKeyDown:Ha,tabIndex:xn?null:y(za,kt),role:"slider","aria-valuemin":cn,"aria-valuemax":Dt,"aria-valuenow":Vt,"aria-disabled":xn,"aria-label":y(sr,kt),"aria-labelledby":y(Ya,kt),"aria-valuetext":(Mt=y(Da,kt))===null||Mt===void 0?void 0:Mt(Vt),"aria-orientation":Ot==="ltr"||Ot==="rtl"?"horizontal":"vertical"},At));return yt&&(Dr=yt(Dr,{index:kt,prefixCls:qt,value:Vt,dragging:an})),Dr}),oe=ne,le=["prefixCls","style","onStartMove","onOffsetChange","values","handleRender","draggingIndex"],ie=he.forwardRef(function(Fe,xe){var gt=Fe.prefixCls,Mt=Fe.style,qt=Fe.onStartMove,Vt=Fe.onOffsetChange,kt=Fe.values,rn=Fe.handleRender,Wt=Fe.draggingIndex,yt=(0,tt.Z)(Fe,le),an=he.useRef({});return he.useImperativeHandle(xe,function(){return{focus:function(At){var xt;(xt=an.current[At])===null||xt===void 0||xt.focus()}}}),he.createElement(he.Fragment,null,kt.map(function(mt,At){return he.createElement(oe,(0,Ie.Z)({ref:function(cn){cn?an.current[At]=cn:delete an.current[At]},dragging:Wt===At,prefixCls:gt,style:y(Mt,At),key:At,value:mt,valueIndex:At,onStartMove:qt,onOffsetChange:Vt,render:rn},yt))}))}),Ce=ie;function ye(Fe){var xe="touches"in Fe?Fe.touches[0]:Fe;return{pageX:xe.pageX,pageY:xe.pageY}}function Ge(Fe,xe,gt,Mt,qt,Vt,kt,rn,Wt){var yt=he.useState(null),an=(0,Ze.Z)(yt,2),mt=an[0],At=an[1],xt=he.useState(-1),cn=(0,Ze.Z)(xt,2),Dt=cn[0],Ot=cn[1],xn=he.useState(gt),Gt=(0,Ze.Z)(xn,2),Kn=Gt[0],za=Gt[1],sr=he.useState(gt),Ya=(0,Ze.Z)(sr,2),Da=Ya[0],Lr=Ya[1],cr=he.useRef(null),Ha=he.useRef(null);he.useEffect(function(){Dt===-1&&za(gt)},[gt,Dt]),he.useEffect(function(){return function(){document.removeEventListener("mousemove",cr.current),document.removeEventListener("mouseup",Ha.current),document.removeEventListener("touchmove",cr.current),document.removeEventListener("touchend",Ha.current)}},[]);var Xa=function(Sn,Fn){Kn.some(function(Zt,sn){return Zt!==Sn[sn]})&&(Fn!==void 0&&At(Fn),za(Sn),kt(Sn))},Dr=function(Sn,Fn){if(Sn===-1){var Zt=Da[0],sn=Da[Da.length-1],On=Mt-Zt,Jn=qt-sn,ke=Fn*(qt-Mt);ke=Math.max(ke,On),ke=Math.min(ke,Jn);var rt=Vt(Zt+ke);ke=rt-Zt;var qe=Da.map(function(ya){return ya+ke});Xa(qe)}else{var Dn=(qt-Mt)*Fn,mn=(0,Te.Z)(Kn);mn[Sn]=Da[Sn];var Wn=Wt(mn,Dn,Sn,"dist");Xa(Wn.values,Wn.value)}},Fa=he.useRef(Dr);Fa.current=Dr;var Zr=function(Sn,Fn){Sn.stopPropagation();var Zt=gt[Fn];Ot(Fn),At(Zt),Lr(gt);var sn=ye(Sn),On=sn.pageX,Jn=sn.pageY,ke=function(Dn){Dn.preventDefault();var mn=ye(Dn),Wn=mn.pageX,ya=mn.pageY,ma=Wn-On,ta=ya-Jn,fa=Fe.current.getBoundingClientRect(),ua=fa.width,hn=fa.height,Ra;switch(xe){case"btt":Ra=-ta/hn;break;case"ttb":Ra=ta/hn;break;case"rtl":Ra=-ma/ua;break;default:Ra=ma/ua}Fa.current(Fn,Ra)},rt=function qe(Dn){Dn.preventDefault(),document.removeEventListener("mouseup",qe),document.removeEventListener("mousemove",ke),document.removeEventListener("touchend",qe),document.removeEventListener("touchmove",ke),cr.current=null,Ha.current=null,Ot(-1),rn()};document.addEventListener("mouseup",rt),document.addEventListener("mousemove",ke),document.addEventListener("touchend",rt),document.addEventListener("touchmove",ke),cr.current=ke,Ha.current=rt},br=he.useMemo(function(){var Pt=(0,Te.Z)(gt).sort(function(Fn,Zt){return Fn-Zt}),Sn=(0,Te.Z)(Kn).sort(function(Fn,Zt){return Fn-Zt});return Pt.every(function(Fn,Zt){return Fn===Sn[Zt]})?Kn:gt},[gt,Kn]);return[Dt,mt,br,Zr]}function Re(Fe){var xe,gt=Fe.prefixCls,Mt=Fe.style,qt=Fe.start,Vt=Fe.end,kt=Fe.index,rn=Fe.onStartMove,Wt=he.useContext(a),yt=Wt.direction,an=Wt.min,mt=Wt.max,At=Wt.disabled,xt=Wt.range,cn="".concat(gt,"-track"),Dt=E(qt,an,mt),Ot=E(Vt,an,mt),xn=function(za){!At&&rn&&rn(za,-1)},Gt={};switch(yt){case"rtl":Gt.right="".concat(Dt*100,"%"),Gt.width="".concat(Ot*100-Dt*100,"%");break;case"btt":Gt.bottom="".concat(Dt*100,"%"),Gt.height="".concat(Ot*100-Dt*100,"%");break;case"ttb":Gt.top="".concat(Dt*100,"%"),Gt.height="".concat(Ot*100-Dt*100,"%");break;default:Gt.left="".concat(Dt*100,"%"),Gt.width="".concat(Ot*100-Dt*100,"%")}return he.createElement("div",{className:Be()(cn,(xe={},(0,Je.Z)(xe,"".concat(cn,"-").concat(kt+1),xt),(0,Je.Z)(xe,"".concat(gt,"-track-draggable"),rn),xe)),style:(0,ot.Z)((0,ot.Z)({},Gt),Mt),onMouseDown:xn,onTouchStart:xn})}function St(Fe){var xe=Fe.prefixCls,gt=Fe.style,Mt=Fe.values,qt=Fe.startPoint,Vt=Fe.onStartMove,kt=he.useContext(a),rn=kt.included,Wt=kt.range,yt=kt.min,an=he.useMemo(function(){if(!Wt){if(Mt.length===0)return[];var mt=qt!=null?qt:yt,At=Mt[0];return[{start:Math.min(mt,At),end:Math.max(mt,At)}]}for(var xt=[],cn=0;cn3&&arguments[3]!==void 0?arguments[3]:"unit";if(typeof Dt=="number"){var Gt,Kn=cn[Ot],za=Kn+Dt,sr=[];Mt.forEach(function(Ha){sr.push(Ha.value)}),sr.push(Fe,xe),sr.push(rn(Kn));var Ya=Dt>0?1:-1;xn==="unit"?sr.push(rn(Kn+Ya*gt)):sr.push(rn(za)),sr=sr.filter(function(Ha){return Ha!==null}).filter(function(Ha){return Dt<0?Ha<=Kn:Ha>=Kn}),xn==="unit"&&(sr=sr.filter(function(Ha){return Ha!==Kn}));var Da=xn==="unit"?Kn:za;Gt=sr[0];var Lr=Math.abs(Gt-Da);if(sr.forEach(function(Ha){var Xa=Math.abs(Ha-Da);Xa1){var cr=(0,Te.Z)(cn);return cr[Ot]=Gt,xt(cr,Dt-Ya,Ot,xn)}return Gt}else{if(Dt==="min")return Fe;if(Dt==="max")return xe}},an=function(cn,Dt,Ot){var xn=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"unit",Gt=cn[Ot],Kn=yt(cn,Dt,Ot,xn);return{value:Kn,changed:Kn!==Gt}},mt=function(cn){return Vt===null&&cn===0||typeof Vt=="number"&&cn3&&arguments[3]!==void 0?arguments[3]:"unit",Gt=cn.map(Wt),Kn=Gt[Ot],za=yt(Gt,Dt,Ot,xn);if(Gt[Ot]=za,qt===!1){var sr=Vt||0;Ot>0&&Gt[Ot-1]!==Kn&&(Gt[Ot]=Math.max(Gt[Ot],Gt[Ot-1]+sr)),Ot0;cr-=1)for(var Ha=!0;mt(Gt[cr]-Gt[cr-1])&&Ha;){var Xa=an(Gt,-1,cr-1);Gt[cr-1]=Xa.value,Ha=Xa.changed}for(var Dr=Gt.length-1;Dr>0;Dr-=1)for(var Fa=!0;mt(Gt[Dr]-Gt[Dr-1])&&Fa;){var Zr=an(Gt,-1,Dr-1);Gt[Dr-1]=Zr.value,Fa=Zr.changed}for(var br=0;br=0?Zr:!1},[Zr,tn]),ha=he.useMemo(function(){var dr=Object.keys(Dn||{});return dr.map(function(Zn){var Rn=Dn[Zn],pn={value:Number(Zn)};return Rn&&(0,lt.Z)(Rn)==="object"&&!he.isValidElement(Rn)&&("label"in Rn||"style"in Rn)?(pn.style=Rn.style,pn.label=Rn.label):pn.label=Rn,pn}).filter(function(Zn){var Rn=Zn.label;return Rn||typeof Rn=="number"}).sort(function(Zn,Rn){return Zn.value-Rn.value})},[Dn]),qr=da(fo,Nn,tn,ha,Dr,Or),Yr=(0,Ze.Z)(qr,2),na=Yr[0],oo=Yr[1],Mo=(0,Ke.Z)(sr,{value:za}),$r=(0,Ze.Z)(Mo,2),ho=$r[0],yn=$r[1],Mr=he.useMemo(function(){var dr=ho==null?[]:Array.isArray(ho)?ho:[ho],Zn=(0,Ze.Z)(dr,1),Rn=Zn[0],pn=Rn===void 0?fo:Rn,Er=ho===null?[]:[pn];if(Ya){if(Er=(0,Te.Z)(dr),Da||ho===void 0){var zr=Da>=0?Da+1:2;for(Er=Er.slice(0,zr);Er.length=0&&hn.current.focus(dr)}Oe(null)},[aa]);var Me=he.useMemo(function(){return br&&tn===null?!1:br},[br,tn]),ut=function(){Ha==null||Ha(lo(io.current))},zt=Ge(Ra,vr,Mr,fo,Nn,na,dt,ut,oo),Ga=(0,Ze.Z)(zt,4),ja=Ga[0],Vn=Ga[1],Xt=Ga[2],Hn=Ga[3],ba=function(Zn,Rn){Hn(Zn,Rn),cr==null||cr(lo(io.current))},La=ja!==-1;he.useEffect(function(){if(!La){var dr=Mr.lastIndexOf(Vn);hn.current.focus(dr)}},[La]);var rr=he.useMemo(function(){return(0,Te.Z)(Xt).sort(function(dr,Zn){return dr-Zn})},[Xt]),sa=he.useMemo(function(){return Ya?[rr[0],rr[rr.length-1]]:[fo,rr[0]]},[rr,Ya,fo]),wt=(0,Ze.Z)(sa,2),ca=wt[0],gr=wt[1];he.useImperativeHandle(xe,function(){return{focus:function(){hn.current.focus(0)},blur:function(){var Zn=document,Rn=Zn.activeElement;Ra.current.contains(Rn)&&(Rn==null||Rn.blur())}}}),he.useEffect(function(){mt&&hn.current.focus(0)},[]);var Pr=he.useMemo(function(){return{min:fo,max:Nn,direction:vr,disabled:Wt,keyboard:an,step:tn,included:Zt,includedStart:ca,includedEnd:gr,range:Ya,tabIndex:ma,ariaLabelForHandle:ta,ariaLabelledByForHandle:fa,ariaValueTextFormatterForHandle:ua}},[fo,Nn,vr,Wt,an,tn,Zt,ca,gr,Ya,ma,ta,fa,ua]);return he.createElement(a.Provider,{value:Pr},he.createElement("div",{ref:Ra,className:Be()(qt,Vt,(gt={},(0,Je.Z)(gt,"".concat(qt,"-disabled"),Wt),(0,Je.Z)(gt,"".concat(qt,"-vertical"),Sn),(0,Je.Z)(gt,"".concat(qt,"-horizontal"),!Sn),(0,Je.Z)(gt,"".concat(qt,"-with-marks"),ha.length),gt)),style:kt,onMouseDown:We},he.createElement("div",{className:"".concat(qt,"-rail"),style:ke}),he.createElement(St,{prefixCls:qt,style:On,values:rr,startPoint:sn,onStartMove:Me?ba:null}),he.createElement(Tn,{prefixCls:qt,marks:ha,dots:mn,style:rt,activeStyle:qe}),he.createElement(Ce,{ref:hn,prefixCls:qt,style:Jn,values:Xt,draggingIndex:ja,onStartMove:ba,onOffsetChange:it,onFocus:At,onBlur:xt,handleRender:Wn}),he.createElement(pt,{prefixCls:qt,marks:ha,onClick:Ue})))}),In=_t,ct=In,Tt=re(36355),ln=re(1684),fn=re(16089),vn=re(8654),nt=re(6848),Bt=he.forwardRef((Fe,xe)=>{const{open:gt}=Fe,Mt=(0,he.useRef)(null),qt=(0,he.useRef)(null);function Vt(){fn.Z.cancel(qt.current),qt.current=null}function kt(){qt.current=(0,fn.Z)(()=>{var rn;(rn=Mt.current)===null||rn===void 0||rn.forceAlign(),qt.current=null})}return he.useEffect(()=>(gt?kt():Vt(),Vt),[gt,Fe.title]),he.createElement(nt.Z,Object.assign({ref:(0,vn.sQ)(Mt,xe)},Fe))}),Bn=re(64993),nn=re(17313),on=re(83116),De=re(37613);const Pe=Fe=>{const{componentCls:xe,antCls:gt,controlSize:Mt,dotSize:qt,marginFull:Vt,marginPart:kt,colorFillContentHover:rn}=Fe;return{[xe]:Object.assign(Object.assign({},(0,nn.Wf)(Fe)),{position:"relative",height:Mt,margin:`${kt}px ${Vt}px`,padding:0,cursor:"pointer",touchAction:"none","&-vertical":{margin:`${Vt}px ${kt}px`},[`${xe}-rail`]:{position:"absolute",backgroundColor:Fe.railBg,borderRadius:Fe.borderRadiusXS,transition:`background-color ${Fe.motionDurationMid}`},[`${xe}-track`]:{position:"absolute",backgroundColor:Fe.trackBg,borderRadius:Fe.borderRadiusXS,transition:`background-color ${Fe.motionDurationMid}`},[`${xe}-track-draggable`]:{boxSizing:"content-box",backgroundClip:"content-box",border:"solid rgba(0,0,0,0)"},"&:hover":{[`${xe}-rail`]:{backgroundColor:Fe.railHoverBg},[`${xe}-track`]:{backgroundColor:Fe.trackHoverBg},[`${xe}-dot`]:{borderColor:rn},[`${xe}-handle::after`]:{boxShadow:`0 0 0 ${Fe.handleLineWidth}px ${Fe.colorPrimaryBorderHover}`},[`${xe}-dot-active`]:{borderColor:Fe.dotActiveBorderColor}},[`${xe}-handle`]:{position:"absolute",width:Fe.handleSize,height:Fe.handleSize,outline:"none",[`${xe}-dragging`]:{zIndex:1},"&::before":{content:'""',position:"absolute",insetInlineStart:-Fe.handleLineWidth,insetBlockStart:-Fe.handleLineWidth,width:Fe.handleSize+Fe.handleLineWidth*2,height:Fe.handleSize+Fe.handleLineWidth*2,backgroundColor:"transparent"},"&::after":{content:'""',position:"absolute",insetBlockStart:0,insetInlineStart:0,width:Fe.handleSize,height:Fe.handleSize,backgroundColor:Fe.colorBgElevated,boxShadow:`0 0 0 ${Fe.handleLineWidth}px ${Fe.handleColor}`,borderRadius:"50%",cursor:"pointer",transition:` + table`]:{textAlign:"center"},"&-focused":{borderColor:gn}}}}),"&-dropdown-range":{padding:`${ao*2/3}px 0`,"&-hidden":{display:"none"}},"&-rtl":{direction:"rtl",[`${ce}-separator`]:{transform:"rotate(180deg)"},[`${ce}-footer`]:{"&-extra":{direction:"rtl"}}}})},(0,Fu.oN)(se,"slide-up"),(0,Fu.oN)(se,"slide-down"),(0,vs.Fm)(se,"move-up"),(0,vs.Fm)(se,"move-down")]},ld=se=>{const{componentCls:ce,controlHeightLG:ge,paddingXXS:we,padding:Le}=se;return{pickerCellCls:`${ce}-cell`,pickerCellInnerCls:`${ce}-cell-inner`,pickerYearMonthCellWidth:ge*1.5,pickerQuarterPanelContentHeight:ge*1.4,pickerCellPaddingVertical:we+we/2,pickerCellBorderGap:2,pickerControlIconSize:7,pickerControlIconBorderWidth:1.5,pickerDatePanelPaddingHorizontal:Le+we/2}},_s=se=>({cellHoverBg:se.controlItemBgHover,cellActiveWithRangeBg:se.controlItemBgActive,cellHoverWithRangeBg:new Fi.C(se.colorPrimary).lighten(35).toHexString(),cellRangeBorderColor:new Fi.C(se.colorPrimary).lighten(20).toHexString(),cellBgDisabled:se.colorBgContainerDisabled,timeColumnWidth:se.controlHeightLG*1.4,timeColumnHeight:28*8,timeCellHeight:28,cellWidth:se.controlHeightSM*1.5,cellHeight:se.controlHeightSM,textHeight:se.controlHeightLG,withoutTimeCellHeight:se.controlHeightLG*1.65});var ts=(0,Ys.Z)("DatePicker",se=>{const ce=(0,ps.TS)((0,Ni.e5)(se),ld(se));return[Hs(ce),Os(ce),(0,Cu.c)(se,{focusElCls:`${se.componentCls}-focused`})]},se=>Object.assign(Object.assign(Object.assign({},(0,Ni.TM)(se)),_s(se)),{presetsWidth:120,presetsMaxWidth:200,zIndexPopup:se.zIndexPopupBase+50}));function hs(se,ce,ge){return ge!==void 0?ge:ce==="year"&&se.lang.yearPlaceholder?se.lang.yearPlaceholder:ce==="quarter"&&se.lang.quarterPlaceholder?se.lang.quarterPlaceholder:ce==="month"&&se.lang.monthPlaceholder?se.lang.monthPlaceholder:ce==="week"&&se.lang.weekPlaceholder?se.lang.weekPlaceholder:ce==="time"&&se.timePickerLocale.placeholder?se.timePickerLocale.placeholder:se.lang.placeholder}function Xs(se,ce,ge){return ge!==void 0?ge:ce==="year"&&se.lang.yearPlaceholder?se.lang.rangeYearPlaceholder:ce==="quarter"&&se.lang.quarterPlaceholder?se.lang.rangeQuarterPlaceholder:ce==="month"&&se.lang.monthPlaceholder?se.lang.rangeMonthPlaceholder:ce==="week"&&se.lang.weekPlaceholder?se.lang.rangeWeekPlaceholder:ce==="time"&&se.timePickerLocale.placeholder?se.timePickerLocale.rangePlaceholder:se.lang.rangePlaceholder}function Es(se,ce){const ge={adjustX:1,adjustY:1};switch(ce){case"bottomLeft":return{points:["tl","bl"],offset:[0,4],overflow:ge};case"bottomRight":return{points:["tr","br"],offset:[0,4],overflow:ge};case"topLeft":return{points:["bl","tl"],offset:[0,-4],overflow:ge};case"topRight":return{points:["br","tr"],offset:[0,-4],overflow:ge};default:return{points:se==="rtl"?["tr","br"]:["tl","bl"],offset:[0,4],overflow:ge}}}function _u(se){return se?Array.isArray(se)?se:[se]:[]}function ns(se){const{format:ce,picker:ge,showHour:we,showMinute:Le,showSecond:Ct,use12Hours:ft}=se,Yt=_u(ce)[0],Ht=Object.assign({},se);return ce&&Array.isArray(ce)&&(Ht.format=Yt),Yt&&typeof Yt=="string"&&(!Yt.includes("s")&&Ct===void 0&&(Ht.showSecond=!1),!Yt.includes("m")&&Le===void 0&&(Ht.showMinute=!1),!Yt.includes("H")&&!Yt.includes("h")&&!Yt.includes("K")&&!Yt.includes("k")&&we===void 0&&(Ht.showHour=!1),(Yt.includes("a")||Yt.includes("A"))&&ft===void 0&&(Ht.use12Hours=!0)),ge==="time"?Ht:(typeof Yt=="function"&&delete Ht.format,{showTime:Ht})}function Iu(se,ce,ge){if(se===!1)return!1;const we={clearIcon:ce!=null?ce:ge};return typeof se=="object"?Object.assign(Object.assign({},we),se):we}var Ss=re(3113);function Ps(se){return ie.createElement(Ss.ZP,Object.assign({size:"small",type:"primary"},se))}var Wl={button:Ps},nu=function(se,ce){var ge={};for(var we in se)Object.prototype.hasOwnProperty.call(se,we)&&ce.indexOf(we)<0&&(ge[we]=se[we]);if(se!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Le=0,we=Object.getOwnPropertySymbols(se);Le{const{prefixCls:Le,getPopupContainer:Ct,className:ft,placement:Yt,size:Ht,disabled:gn,bordered:qn=!0,placeholder:Pn,popupClassName:An,dropdownClassName:zn,status:jn,clearIcon:Kt,allowClear:En,rootClassName:Un}=ge,Na=nu(ge,["prefixCls","getPopupContainer","className","placement","size","disabled","bordered","placeholder","popupClassName","dropdownClassName","status","clearIcon","allowClear","rootClassName"]),Pa=ie.useRef(null),{getPrefixCls:Wa,direction:Ja,getPopupContainer:oa}=(0,ie.useContext)(Nl.E_),Aa=Wa("picker",Le),{compactSize:so,compactItemClassnames:wr}=(0,es.ri)(Aa,Ja),{format:no,showTime:Do,picker:Io}=ge,Go=Wa(),[mi,jo]=ts(Aa),ao=Object.assign(Object.assign({},Do?ns(Object.assign({format:no,picker:Io},Do)):{}),Io==="time"?ns(Object.assign(Object.assign({format:no},ge),{picker:Io})):{}),Oo=(0,Rl.Z)(vi=>{var Oi;return(Oi=Ht!=null?Ht:so)!==null&&Oi!==void 0?Oi:vi}),$o=ie.useContext(Tl.Z),Ko=gn!=null?gn:$o,Uo=(0,ie.useContext)(Yu.aM),{hasFeedback:fi,status:Ti,feedbackIcon:Pi}=Uo,zi=ie.createElement(ie.Fragment,null,Io==="time"?ie.createElement($n,null):ie.createElement(ht,null),fi&&Pi);(0,ie.useImperativeHandle)(we,()=>({focus:()=>{var vi;return(vi=Pa.current)===null||vi===void 0?void 0:vi.focus()},blur:()=>{var vi;return(vi=Pa.current)===null||vi===void 0?void 0:vi.blur()}}));const[ri]=(0,gs.Z)("Calendar",ms.Z),Ki=Object.assign(Object.assign({},ri),ge.locale);return mi(ie.createElement(gu,Object.assign({separator:ie.createElement("span",{"aria-label":"to",className:`${Aa}-separator`},ie.createElement(fn,null)),disabled:Ko,ref:Pa,dropdownAlign:Es(Ja,Yt),placeholder:Xs(Ki,Io,Pn),suffixIcon:zi,prevIcon:ie.createElement("span",{className:`${Aa}-prev-icon`}),nextIcon:ie.createElement("span",{className:`${Aa}-next-icon`}),superPrevIcon:ie.createElement("span",{className:`${Aa}-super-prev-icon`}),superNextIcon:ie.createElement("span",{className:`${Aa}-super-next-icon`}),transitionName:`${Go}-slide-up`},Na,ao,{className:nt()({[`${Aa}-${Oo}`]:Oo,[`${Aa}-borderless`]:!qn},(0,Xo.Z)(Aa,(0,Xo.F)(Ti,jn),fi),jo,wr,ft,Un),locale:Ki.lang,prefixCls:Aa,getPopupContainer:Ct||oa,generateConfig:se,components:Wl,direction:Ja,dropdownClassName:nt()(jo,An||zn,Un),allowClear:Iu(En,Kt,ie.createElement(_t.Z,null))})))})}var yu=function(se,ce){var ge={};for(var we in se)Object.prototype.hasOwnProperty.call(se,we)&&ce.indexOf(we)<0&&(ge[we]=se[we]);if(se!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Le=0,we=Object.getOwnPropertySymbols(se);Le{const{prefixCls:jn,getPopupContainer:Kt,style:En,className:Un,rootClassName:Na,size:Pa,bordered:Wa=!0,placement:Ja,placeholder:oa,popupClassName:Aa,dropdownClassName:so,disabled:wr,status:no,clearIcon:Do,allowClear:Io}=An,Go=yu(An,["prefixCls","getPopupContainer","style","className","rootClassName","size","bordered","placement","placeholder","popupClassName","dropdownClassName","disabled","status","clearIcon","allowClear"]),{getPrefixCls:mi,direction:jo,getPopupContainer:ao,[qn]:Oo}=(0,ie.useContext)(Nl.E_),$o=mi("picker",jn),{compactSize:Ko,compactItemClassnames:Uo}=(0,es.ri)($o,jo),fi=ie.useRef(null),{format:Ti,showTime:Pi}=An,[zi,ri]=ts($o);(0,ie.useImperativeHandle)(zn,()=>({focus:()=>{var ki;return(ki=fi.current)===null||ki===void 0?void 0:ki.focus()},blur:()=>{var ki;return(ki=fi.current)===null||ki===void 0?void 0:ki.blur()}}));const Ki={showToday:!0};let vi={};Ht&&(vi.picker=Ht);const Oi=Ht||An.picker;vi=Object.assign(Object.assign(Object.assign({},vi),Pi?ns(Object.assign({format:Ti,picker:Oi},Pi)):{}),Oi==="time"?ns(Object.assign(Object.assign({format:Ti},An),{picker:Oi})):{});const Gi=mi(),$i=(0,Rl.Z)(ki=>{var ll;return(ll=Pa!=null?Pa:Ko)!==null&&ll!==void 0?ll:ki}),ji=ie.useContext(Tl.Z),ml=wr!=null?wr:ji,kl=(0,ie.useContext)(Yu.aM),{hasFeedback:Ao,status:Hr,feedbackIcon:Ai}=kl,Ri=ie.createElement(ie.Fragment,null,Oi==="time"?ie.createElement($n,null):ie.createElement(ht,null),Ao&&Ai),[el]=(0,gs.Z)("DatePicker",ms.Z),wi=Object.assign(Object.assign({},el),An.locale);return zi(ie.createElement(mu,Object.assign({ref:fi,placeholder:hs(wi,Oi,oa),suffixIcon:Ri,dropdownAlign:Es(jo,Ja),prevIcon:ie.createElement("span",{className:`${$o}-prev-icon`}),nextIcon:ie.createElement("span",{className:`${$o}-next-icon`}),superPrevIcon:ie.createElement("span",{className:`${$o}-super-prev-icon`}),superNextIcon:ie.createElement("span",{className:`${$o}-super-next-icon`}),transitionName:`${Gi}-slide-up`},Ki,Go,vi,{locale:wi.lang,className:nt()({[`${$o}-${$i}`]:$i,[`${$o}-borderless`]:!Wa},(0,Xo.Z)($o,(0,Xo.F)(Hr,no),Ao),ri,Uo,Oo==null?void 0:Oo.className,Un,Na),style:Object.assign(Object.assign({},Oo==null?void 0:Oo.style),En),prefixCls:$o,getPopupContainer:Kt||ao,generateConfig:se,components:Wl,direction:jo,disabled:ml,dropdownClassName:nt()(ri,Na,Aa||so),allowClear:Iu(Io,Do,ie.createElement(_t.Z,null))})))});return gn&&(Pn.displayName=gn),Pn}const ge=ce(),we=ce("week","WeekPicker"),Le=ce("month","MonthPicker"),Ct=ce("year","YearPicker"),ft=ce("time","TimePicker"),Yt=ce("quarter","QuarterPicker");return{DatePicker:ge,WeekPicker:we,MonthPicker:Le,YearPicker:Ct,TimePicker:ft,QuarterPicker:Yt}}const Od=null;function Qs(se){const{DatePicker:ce,WeekPicker:ge,MonthPicker:we,YearPicker:Le,TimePicker:Ct,QuarterPicker:ft}=ud(se),Yt=Xu(se),Ht=ce;return Ht.WeekPicker=ge,Ht.MonthPicker=we,Ht.YearPicker=Le,Ht.RangePicker=Yt,Ht.TimePicker=Ct,Ht.QuarterPicker=ft,Ht}var Ms=Qs;const fu=Ms(ne);function vu(se){const ce=Es(se.direction,se.placement);return ce.overflow.adjustY=!1,ce.overflow.adjustX=!1,Object.assign(Object.assign({},se),{dropdownAlign:ce})}const As=(0,oe.Z)(fu,"picker",null,vu);fu._InternalPanelDoNotUseOrYouWillBeFired=As;const Cs=(0,oe.Z)(fu.RangePicker,"picker",null,vu);fu._InternalRangePanelDoNotUseOrYouWillBeFired=Cs,fu.generatePicker=Ms;var qs=fu},28103:function(je,Nt,re){"use strict";re.d(Nt,{Z:function(){return ot}});var b=re(92310),Be=re.n(b),Je=re(59301),Te=re(36355),Ze=re(17313),lt=re(83116),he=re(37613);const Xe=Qe=>{const{componentCls:de,sizePaddingEdgeHorizontal:a,colorSplit:E,lineWidth:x,textPaddingInline:y,orientationMargin:ee,verticalMarginInline:ne}=Qe;return{[de]:Object.assign(Object.assign({},(0,Ze.Wf)(Qe)),{borderBlockStart:`${x}px solid ${E}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",marginInline:ne,marginBlock:0,verticalAlign:"middle",borderTop:0,borderInlineStart:`${x}px solid ${E}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${Qe.dividerHorizontalGutterMargin}px 0`},[`&-horizontal${de}-with-text`]:{display:"flex",alignItems:"center",margin:`${Qe.dividerHorizontalWithTextGutterMargin}px 0`,color:Qe.colorTextHeading,fontWeight:500,fontSize:Qe.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:`0 ${E}`,"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:`${x}px solid transparent`,borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},[`&-horizontal${de}-with-text-left`]:{"&::before":{width:`${ee*100}%`},"&::after":{width:`${100-ee*100}%`}},[`&-horizontal${de}-with-text-right`]:{"&::before":{width:`${100-ee*100}%`},"&::after":{width:`${ee*100}%`}},[`${de}-inner-text`]:{display:"inline-block",paddingBlock:0,paddingInline:y},"&-dashed":{background:"none",borderColor:E,borderStyle:"dashed",borderWidth:`${x}px 0 0`},[`&-horizontal${de}-with-text${de}-dashed`]:{"&::before, &::after":{borderStyle:"dashed none none"}},[`&-vertical${de}-dashed`]:{borderInlineStartWidth:x,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${de}-with-text`]:{color:Qe.colorText,fontWeight:"normal",fontSize:Qe.fontSize},[`&-horizontal${de}-with-text-left${de}-no-default-orientation-margin-left`]:{"&::before":{width:0},"&::after":{width:"100%"},[`${de}-inner-text`]:{paddingInlineStart:a}},[`&-horizontal${de}-with-text-right${de}-no-default-orientation-margin-right`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${de}-inner-text`]:{paddingInlineEnd:a}}})}};var Ke=(0,lt.Z)("Divider",Qe=>{const de=(0,he.TS)(Qe,{dividerHorizontalWithTextGutterMargin:Qe.margin,dividerHorizontalGutterMargin:Qe.marginLG,sizePaddingEdgeHorizontal:0});return[Xe(de)]},Qe=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:Qe.marginXS})),Ie=function(Qe,de){var a={};for(var E in Qe)Object.prototype.hasOwnProperty.call(Qe,E)&&de.indexOf(E)<0&&(a[E]=Qe[E]);if(Qe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var x=0,E=Object.getOwnPropertySymbols(Qe);x{const{getPrefixCls:de,direction:a,divider:E}=Je.useContext(Te.E_),{prefixCls:x,type:y="horizontal",orientation:ee="center",orientationMargin:ne,className:oe,rootClassName:le,children:ie,dashed:Ce,plain:ye,style:Ge}=Qe,Re=Ie(Qe,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","plain","style"]),St=de("divider",x),[ht,pt]=Ke(St),Gn=ee.length>0?`-${ee}`:ee,Tn=!!ie,da=ee==="left"&&ne!=null,$n=ee==="right"&&ne!=null,_t=Be()(St,E==null?void 0:E.className,pt,`${St}-${y}`,{[`${St}-with-text`]:Tn,[`${St}-with-text${Gn}`]:Tn,[`${St}-dashed`]:!!Ce,[`${St}-plain`]:!!ye,[`${St}-rtl`]:a==="rtl",[`${St}-no-default-orientation-margin-left`]:da,[`${St}-no-default-orientation-margin-right`]:$n},oe,le),In=Je.useMemo(()=>typeof ne=="number"?ne:/^\d+$/.test(ne)?Number(ne):ne,[ne]),ct=Object.assign(Object.assign({},da&&{marginLeft:In}),$n&&{marginRight:In});return ht(Je.createElement("div",Object.assign({className:_t,style:Object.assign(Object.assign({},E==null?void 0:E.style),Ge)},Re,{role:"separator"}),ie&&y!=="vertical"&&Je.createElement("span",{className:`${St}-inner-text`,style:ct},ie)))}},43428:function(je,Nt,re){"use strict";re.d(Nt,{Z:function(){return De}});var b=re(92310),Be=re.n(b),Je=re(98506),Te=re(16886),Ze=re(43403),lt=re(34280),he=re(59301),Xe=he.createContext(null),Ke=he.createContext({}),Ie=Xe,tt=re(52873),ot=re(67711),Qe=re(77900),de=re(10228),a=re(26112),E=re(70425),x=function(He){var Ft=He.prefixCls,bt=He.className,It=He.style,Ut=He.children,jt=He.containerRef,bn=He.id,Lt=He.onMouseEnter,Fe=He.onMouseOver,xe=He.onMouseLeave,gt=He.onClick,Mt=He.onKeyDown,qt=He.onKeyUp,Vt={onMouseEnter:Lt,onMouseOver:Fe,onMouseLeave:xe,onClick:gt,onKeyDown:Mt,onKeyUp:qt},kt=he.useContext(Ke),rn=kt.panel,Wt=(0,E.useComposeRef)(rn,jt);return he.createElement(he.Fragment,null,he.createElement("div",(0,ot.Z)({id:bn,className:Be()("".concat(Ft,"-content"),bt),style:(0,Je.Z)({},It),"aria-modal":"true",role:"dialog",ref:Wt},Vt),Ut))},y=x,ee=re(48736);function ne(Pe){return typeof Pe=="string"&&String(Number(Pe))===Pe?((0,ee.ZP)(!1,"Invalid value type of `width` or `height` which should be number type instead."),Number(Pe)):Pe}function oe(Pe){warning(!("wrapperClassName"in Pe),"'wrapperClassName' is removed. Please use 'rootClassName' instead."),warning(canUseDom()||!Pe.open,"Drawer with 'open' in SSR is not work since no place to createPortal. Please move to 'useEffect' instead.")}var le={width:0,height:0,overflow:"hidden",outline:"none",position:"absolute"};function ie(Pe,He){var Ft,bt,It,Ut,jt=Pe.prefixCls,bn=Pe.open,Lt=Pe.placement,Fe=Pe.inline,xe=Pe.push,gt=Pe.forceRender,Mt=Pe.autoFocus,qt=Pe.keyboard,Vt=Pe.rootClassName,kt=Pe.rootStyle,rn=Pe.zIndex,Wt=Pe.className,yt=Pe.id,an=Pe.style,mt=Pe.motion,At=Pe.width,xt=Pe.height,cn=Pe.children,Dt=Pe.contentWrapperStyle,Ot=Pe.mask,xn=Pe.maskClosable,Gt=Pe.maskMotion,Kn=Pe.maskClassName,za=Pe.maskStyle,sr=Pe.afterOpenChange,Ya=Pe.onClose,Da=Pe.onMouseEnter,Lr=Pe.onMouseOver,cr=Pe.onMouseLeave,Ha=Pe.onClick,Xa=Pe.onKeyDown,Dr=Pe.onKeyUp,Fa=he.useRef(),Zr=he.useRef(),br=he.useRef();he.useImperativeHandle(He,function(){return Fa.current});var Pt=function(fa){var ua=fa.keyCode,hn=fa.shiftKey;switch(ua){case de.Z.TAB:{if(ua===de.Z.TAB){if(!hn&&document.activeElement===br.current){var Ra;(Ra=Zr.current)===null||Ra===void 0||Ra.focus({preventScroll:!0})}else if(hn&&document.activeElement===Zr.current){var vr;(vr=br.current)===null||vr===void 0||vr.focus({preventScroll:!0})}}break}case de.Z.ESC:{Ya&&qt&&(fa.stopPropagation(),Ya(fa));break}}};he.useEffect(function(){if(bn&&Mt){var ta;(ta=Fa.current)===null||ta===void 0||ta.focus({preventScroll:!0})}},[bn]);var Sn=he.useState(!1),Fn=(0,Te.Z)(Sn,2),Zt=Fn[0],sn=Fn[1],On=he.useContext(Ie),Jn;xe===!1?Jn={distance:0}:xe===!0?Jn={}:Jn=xe||{};var ke=(Ft=(bt=(It=Jn)===null||It===void 0?void 0:It.distance)!==null&&bt!==void 0?bt:On==null?void 0:On.pushDistance)!==null&&Ft!==void 0?Ft:180,rt=he.useMemo(function(){return{pushDistance:ke,push:function(){sn(!0)},pull:function(){sn(!1)}}},[ke]);he.useEffect(function(){if(bn){var ta;On==null||(ta=On.push)===null||ta===void 0||ta.call(On)}else{var fa;On==null||(fa=On.pull)===null||fa===void 0||fa.call(On)}},[bn]),he.useEffect(function(){return function(){var ta;On==null||(ta=On.pull)===null||ta===void 0||ta.call(On)}},[]);var qe=Ot&&he.createElement(Qe.default,(0,ot.Z)({key:"mask"},Gt,{visible:bn}),function(ta,fa){var ua=ta.className,hn=ta.style;return he.createElement("div",{className:Be()("".concat(jt,"-mask"),ua,Kn),style:(0,Je.Z)((0,Je.Z)({},hn),za),onClick:xn&&bn?Ya:void 0,ref:fa})}),Dn=typeof mt=="function"?mt(Lt):mt,mn={};if(Zt&&ke)switch(Lt){case"top":mn.transform="translateY(".concat(ke,"px)");break;case"bottom":mn.transform="translateY(".concat(-ke,"px)");break;case"left":mn.transform="translateX(".concat(ke,"px)");break;default:mn.transform="translateX(".concat(-ke,"px)");break}Lt==="left"||Lt==="right"?mn.width=ne(At):mn.height=ne(xt);var Wn={onMouseEnter:Da,onMouseOver:Lr,onMouseLeave:cr,onClick:Ha,onKeyDown:Xa,onKeyUp:Dr},ya=he.createElement(Qe.default,(0,ot.Z)({key:"panel"},Dn,{visible:bn,forceRender:gt,onVisibleChanged:function(fa){sr==null||sr(fa)},removeOnLeave:!1,leavedClassName:"".concat(jt,"-content-wrapper-hidden")}),function(ta,fa){var ua=ta.className,hn=ta.style;return he.createElement("div",(0,ot.Z)({className:Be()("".concat(jt,"-content-wrapper"),ua),style:(0,Je.Z)((0,Je.Z)((0,Je.Z)({},mn),hn),Dt)},(0,a.Z)(Pe,{data:!0})),he.createElement(y,(0,ot.Z)({id:yt,containerRef:fa,prefixCls:jt,className:Wt,style:an},Wn),cn))}),ma=(0,Je.Z)({},kt);return rn&&(ma.zIndex=rn),he.createElement(Ie.Provider,{value:rt},he.createElement("div",{className:Be()(jt,"".concat(jt,"-").concat(Lt),Vt,(Ut={},(0,tt.Z)(Ut,"".concat(jt,"-open"),bn),(0,tt.Z)(Ut,"".concat(jt,"-inline"),Fe),Ut)),style:ma,tabIndex:-1,ref:Fa,onKeyDown:Pt},qe,he.createElement("div",{tabIndex:0,ref:Zr,style:le,"aria-hidden":"true","data-sentinel":"start"}),ya,he.createElement("div",{tabIndex:0,ref:br,style:le,"aria-hidden":"true","data-sentinel":"end"})))}var Ce=he.forwardRef(ie),ye=Ce,Ge=function(He){var Ft=He.open,bt=Ft===void 0?!1:Ft,It=He.prefixCls,Ut=It===void 0?"rc-drawer":It,jt=He.placement,bn=jt===void 0?"right":jt,Lt=He.autoFocus,Fe=Lt===void 0?!0:Lt,xe=He.keyboard,gt=xe===void 0?!0:xe,Mt=He.width,qt=Mt===void 0?378:Mt,Vt=He.mask,kt=Vt===void 0?!0:Vt,rn=He.maskClosable,Wt=rn===void 0?!0:rn,yt=He.getContainer,an=He.forceRender,mt=He.afterOpenChange,At=He.destroyOnClose,xt=He.onMouseEnter,cn=He.onMouseOver,Dt=He.onMouseLeave,Ot=He.onClick,xn=He.onKeyDown,Gt=He.onKeyUp,Kn=He.panelRef,za=he.useState(!1),sr=(0,Te.Z)(za,2),Ya=sr[0],Da=sr[1],Lr=he.useState(!1),cr=(0,Te.Z)(Lr,2),Ha=cr[0],Xa=cr[1];(0,lt.Z)(function(){Xa(!0)},[]);var Dr=Ha?bt:!1,Fa=he.useRef(),Zr=he.useRef();(0,lt.Z)(function(){Dr&&(Zr.current=document.activeElement)},[Dr]);var br=function(sn){var On;if(Da(sn),mt==null||mt(sn),!sn&&Zr.current&&!((On=Fa.current)!==null&&On!==void 0&&On.contains(Zr.current))){var Jn;(Jn=Zr.current)===null||Jn===void 0||Jn.focus({preventScroll:!0})}},Pt=he.useMemo(function(){return{panel:Kn}},[Kn]);if(!an&&!Ya&&!Dr&&At)return null;var Sn={onMouseEnter:xt,onMouseOver:cn,onMouseLeave:Dt,onClick:Ot,onKeyDown:xn,onKeyUp:Gt},Fn=(0,Je.Z)((0,Je.Z)({},He),{},{open:Dr,prefixCls:Ut,placement:bn,autoFocus:Fe,keyboard:gt,width:qt,mask:kt,maskClosable:Wt,inline:yt===!1,afterOpenChange:br,ref:Fa},Sn);return he.createElement(Ke.Provider,{value:Pt},he.createElement(Ze.Z,{open:Dr||an||Ya,autoDestroy:!1,getContainer:yt,autoLock:kt&&(Dr||Ya)},he.createElement(ye,Fn)))},Re=Ge,St=Re,ht=re(62892),pt=re(36355),Gn=re(32441),Tn=re(47729),$n=Pe=>{const{prefixCls:He,title:Ft,footer:bt,extra:It,closeIcon:Ut,closable:jt,onClose:bn,headerStyle:Lt,drawerStyle:Fe,bodyStyle:xe,footerStyle:gt,children:Mt}=Pe,qt=he.useCallback(yt=>he.createElement("button",{type:"button",onClick:bn,"aria-label":"Close",className:`${He}-close`},yt),[bn]),[Vt,kt]=(0,Tn.Z)(jt,Ut,qt,void 0,!0),rn=he.useMemo(()=>!Ft&&!Vt?null:he.createElement("div",{style:Lt,className:Be()(`${He}-header`,{[`${He}-header-close-only`]:Vt&&!Ft&&!It})},he.createElement("div",{className:`${He}-header-title`},kt,Ft&&he.createElement("div",{className:`${He}-title`},Ft)),It&&he.createElement("div",{className:`${He}-extra`},It)),[Vt,kt,It,Lt,He,Ft]),Wt=he.useMemo(()=>{if(!bt)return null;const yt=`${He}-footer`;return he.createElement("div",{className:yt,style:gt},bt)},[bt,gt,He]);return he.createElement("div",{className:`${He}-wrapper-body`,style:Fe},rn,he.createElement("div",{className:`${He}-body`,style:xe},Mt),Wt)},_t=re(33234),In=re(83116),ct=re(37613),ln=Pe=>{const{componentCls:He,motionDurationSlow:Ft}=Pe,bt={"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:`all ${Ft}`}}};return{[He]:{[`${He}-mask-motion`]:{"&-enter, &-appear, &-leave":{"&-active":{transition:`all ${Ft}`}},"&-enter, &-appear":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}}},[`${He}-panel-motion`]:{"&-left":[bt,{"&-enter, &-appear":{"&-start":{transform:"translateX(-100%) !important"},"&-active":{transform:"translateX(0)"}},"&-leave":{transform:"translateX(0)","&-active":{transform:"translateX(-100%)"}}}],"&-right":[bt,{"&-enter, &-appear":{"&-start":{transform:"translateX(100%) !important"},"&-active":{transform:"translateX(0)"}},"&-leave":{transform:"translateX(0)","&-active":{transform:"translateX(100%)"}}}],"&-top":[bt,{"&-enter, &-appear":{"&-start":{transform:"translateY(-100%) !important"},"&-active":{transform:"translateY(0)"}},"&-leave":{transform:"translateY(0)","&-active":{transform:"translateY(-100%)"}}}],"&-bottom":[bt,{"&-enter, &-appear":{"&-start":{transform:"translateY(100%) !important"},"&-active":{transform:"translateY(0)"}},"&-leave":{transform:"translateY(0)","&-active":{transform:"translateY(100%)"}}}]}}}};const fn=Pe=>{const{componentCls:He,zIndexPopup:Ft,colorBgMask:bt,colorBgElevated:It,motionDurationSlow:Ut,motionDurationMid:jt,padding:bn,paddingLG:Lt,fontSizeLG:Fe,lineHeightLG:xe,lineWidth:gt,lineType:Mt,colorSplit:qt,marginSM:Vt,colorIcon:kt,colorIconHover:rn,colorText:Wt,fontWeightStrong:yt,footerPaddingBlock:an,footerPaddingInline:mt}=Pe,At=`${He}-content-wrapper`;return{[He]:{position:"fixed",inset:0,zIndex:Ft,pointerEvents:"none","&-pure":{position:"relative",background:It,[`&${He}-left`]:{boxShadow:Pe.boxShadowDrawerLeft},[`&${He}-right`]:{boxShadow:Pe.boxShadowDrawerRight},[`&${He}-top`]:{boxShadow:Pe.boxShadowDrawerUp},[`&${He}-bottom`]:{boxShadow:Pe.boxShadowDrawerDown}},"&-inline":{position:"absolute"},[`${He}-mask`]:{position:"absolute",inset:0,zIndex:Ft,background:bt,pointerEvents:"auto"},[At]:{position:"absolute",zIndex:Ft,maxWidth:"100vw",transition:`all ${Ut}`,"&-hidden":{display:"none"}},[`&-left > ${At}`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:Pe.boxShadowDrawerLeft},[`&-right > ${At}`]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:Pe.boxShadowDrawerRight},[`&-top > ${At}`]:{top:0,insetInline:0,boxShadow:Pe.boxShadowDrawerUp},[`&-bottom > ${At}`]:{bottom:0,insetInline:0,boxShadow:Pe.boxShadowDrawerDown},[`${He}-content`]:{width:"100%",height:"100%",overflow:"auto",background:It,pointerEvents:"auto"},[`${He}-wrapper-body`]:{display:"flex",flexDirection:"column",width:"100%",height:"100%"},[`${He}-header`]:{display:"flex",flex:0,alignItems:"center",padding:`${bn}px ${Lt}px`,fontSize:Fe,lineHeight:xe,borderBottom:`${gt}px ${Mt} ${qt}`,"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},[`${He}-extra`]:{flex:"none"},[`${He}-close`]:{display:"inline-block",marginInlineEnd:Vt,color:kt,fontWeight:yt,fontSize:Fe,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",textDecoration:"none",background:"transparent",border:0,outline:0,cursor:"pointer",transition:`color ${jt}`,textRendering:"auto","&:focus, &:hover":{color:rn,textDecoration:"none"}},[`${He}-title`]:{flex:1,margin:0,color:Wt,fontWeight:Pe.fontWeightStrong,fontSize:Fe,lineHeight:xe},[`${He}-body`]:{flex:1,minWidth:0,minHeight:0,padding:Lt,overflow:"auto"},[`${He}-footer`]:{flexShrink:0,padding:`${an}px ${mt}px`,borderTop:`${gt}px ${Mt} ${qt}`},"&-rtl":{direction:"rtl"}}}};var vn=(0,In.Z)("Drawer",Pe=>{const He=(0,ct.TS)(Pe,{});return[fn(He),ln(He)]},Pe=>({zIndexPopup:Pe.zIndexPopupBase,footerPaddingBlock:Pe.paddingXS,footerPaddingInline:Pe.padding})),nt=re(11575),vt=function(Pe,He){var Ft={};for(var bt in Pe)Object.prototype.hasOwnProperty.call(Pe,bt)&&He.indexOf(bt)<0&&(Ft[bt]=Pe[bt]);if(Pe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var It=0,bt=Object.getOwnPropertySymbols(Pe);It{var He;const{rootClassName:Ft,width:bt,height:It,size:Ut="default",mask:jt=!0,push:bn=Bn,open:Lt,afterOpenChange:Fe,onClose:xe,prefixCls:gt,getContainer:Mt,style:qt,className:Vt,visible:kt,afterVisibleChange:rn}=Pe,Wt=vt(Pe,["rootClassName","width","height","size","mask","push","open","afterOpenChange","onClose","prefixCls","getContainer","style","className","visible","afterVisibleChange"]),{getPopupContainer:yt,getPrefixCls:an,direction:mt,drawer:At}=he.useContext(pt.E_),xt=an("drawer",gt),[cn,Dt]=vn(xt),Ot=Mt===void 0&&yt?()=>yt(document.body):Mt,xn=Be()({"no-mask":!jt,[`${xt}-rtl`]:mt==="rtl"},Ft,Dt),Gt=he.useMemo(()=>bt!=null?bt:Ut==="large"?736:378,[bt,Ut]),Kn=he.useMemo(()=>It!=null?It:Ut==="large"?736:378,[It,Ut]),za={motionName:(0,ht.m)(xt,"mask-motion"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500},sr=Da=>({motionName:(0,ht.m)(xt,`panel-motion-${Da}`),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500}),Ya=(0,nt.H)();return cn(he.createElement(_t.BR,null,he.createElement(Gn.Ux,{status:!0,override:!0},he.createElement(St,Object.assign({prefixCls:xt,onClose:xe,maskMotion:za,motion:sr},Wt,{open:Lt!=null?Lt:kt,mask:jt,push:bn,width:Gt,height:Kn,style:Object.assign(Object.assign({},At==null?void 0:At.style),qt),className:Be()(At==null?void 0:At.className,Vt),rootClassName:xn,getContainer:Ot,afterOpenChange:Fe!=null?Fe:rn,panelRef:Ya}),he.createElement($n,Object.assign({prefixCls:xt},Wt,{onClose:xe}))))))},on=Pe=>{const{prefixCls:He,style:Ft,className:bt,placement:It="right"}=Pe,Ut=vt(Pe,["prefixCls","style","className","placement"]),{getPrefixCls:jt}=he.useContext(pt.E_),bn=jt("drawer",He),[Lt,Fe]=vn(bn),xe=Be()(bn,`${bn}-pure`,`${bn}-${It}`,Fe,bt);return Lt(he.createElement("div",{className:xe,style:Ft},he.createElement($n,Object.assign({prefixCls:bn},Ut))))};nn._InternalPanelDoNotUseOrYouWillBeFired=on;var De=nn},44e3:function(je,Nt,re){"use strict";var b=re(84966),Be=re(45818);const Je=b.ZP;Je.Header=b.h4,Je.Footer=b.$_,Je.Content=b.VY,Je.Sider=Be.Z,Nt.default=Je},39722:function(je,Nt,re){"use strict";re.d(Nt,{t5:function(){return Ie}});var b=re(92310),Be=re.n(b),Je=re(55477),Te=re(59301),Ze=re(36355),lt=re(77578),he=re(17356),Xe=function(ot,Qe){var de={};for(var a in ot)Object.prototype.hasOwnProperty.call(ot,a)&&Qe.indexOf(a)<0&&(de[a]=ot[a]);if(ot!=null&&typeof Object.getOwnPropertySymbols=="function")for(var E=0,a=Object.getOwnPropertySymbols(ot);E{if(!(!Qe&&!de))return Te.createElement(Te.Fragment,null,Qe&&Te.createElement("div",{className:`${ot}-title`},(0,lt.Z)(Qe)),Te.createElement("div",{className:`${ot}-inner-content`},(0,lt.Z)(de)))},Ie=ot=>{const{hashId:Qe,prefixCls:de,className:a,style:E,placement:x="top",title:y,content:ee,children:ne}=ot;return Te.createElement("div",{className:Be()(Qe,de,`${de}-pure`,`${de}-placement-${x}`,a),style:E},Te.createElement("div",{className:`${de}-arrow`}),Te.createElement(Je.G,Object.assign({},ot,{className:Qe,prefixCls:de}),ne||Ke(de,y,ee)))},tt=ot=>{const{prefixCls:Qe}=ot,de=Xe(ot,["prefixCls"]),{getPrefixCls:a}=Te.useContext(Ze.E_),E=a("popover",Qe),[x,y]=(0,he.Z)(E);return x(Te.createElement(Ie,Object.assign({},de,{prefixCls:E,hashId:y})))};Nt.ZP=tt},60324:function(je,Nt,re){"use strict";var b=re(92310),Be=re.n(b),Je=re(59301),Te=re(77578),Ze=re(62892),lt=re(36355),he=re(6848),Xe=re(39722),Ke=re(17356),Ie=function(Qe,de){var a={};for(var E in Qe)Object.prototype.hasOwnProperty.call(Qe,E)&&de.indexOf(E)<0&&(a[E]=Qe[E]);if(Qe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var x=0,E=Object.getOwnPropertySymbols(Qe);x{let{title:de,content:a,prefixCls:E}=Qe;return Je.createElement(Je.Fragment,null,de&&Je.createElement("div",{className:`${E}-title`},(0,Te.Z)(de)),Je.createElement("div",{className:`${E}-inner-content`},(0,Te.Z)(a)))},ot=Je.forwardRef((Qe,de)=>{const{prefixCls:a,title:E,content:x,overlayClassName:y,placement:ee="top",trigger:ne="hover",mouseEnterDelay:oe=.1,mouseLeaveDelay:le=.1,overlayStyle:ie={}}=Qe,Ce=Ie(Qe,["prefixCls","title","content","overlayClassName","placement","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle"]),{getPrefixCls:ye}=Je.useContext(lt.E_),Ge=ye("popover",a),[Re,St]=(0,Ke.Z)(Ge),ht=ye(),pt=Be()(y,St);return Re(Je.createElement(he.Z,Object.assign({placement:ee,trigger:ne,mouseEnterDelay:oe,mouseLeaveDelay:le,overlayStyle:ie},Ce,{prefixCls:Ge,overlayClassName:pt,ref:de,overlay:E||x?Je.createElement(tt,{prefixCls:Ge,title:E,content:x}):null,transitionName:(0,Ze.m)(ht,"zoom-big",Ce.transitionName),"data-popover-inject":!0})))});ot._InternalPanelDoNotUseOrYouWillBeFired=Xe.ZP,Nt.Z=ot},17356:function(je,Nt,re){"use strict";var b=re(17313),Be=re(29878),Je=re(19447),Te=re(33166),Ze=re(83116),lt=re(37613);const he=Ie=>{const{componentCls:tt,popoverColor:ot,minWidth:Qe,fontWeightStrong:de,popoverPadding:a,boxShadowSecondary:E,colorTextHeading:x,borderRadiusLG:y,zIndexPopup:ee,marginXS:ne,colorBgElevated:oe,popoverBg:le}=Ie;return[{[tt]:Object.assign(Object.assign({},(0,b.Wf)(Ie)),{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":oe,"&-rtl":{direction:"rtl"},"&-hidden":{display:"none"},[`${tt}-content`]:{position:"relative"},[`${tt}-inner`]:{backgroundColor:le,backgroundClip:"padding-box",borderRadius:y,boxShadow:E,padding:a},[`${tt}-title`]:{minWidth:Qe,marginBottom:ne,color:x,fontWeight:de},[`${tt}-inner-content`]:{color:ot}})},(0,Je.ZP)(Ie,{colorBg:"var(--antd-arrow-background-color)"}),{[`${tt}-pure`]:{position:"relative",maxWidth:"none",margin:Ie.sizePopupArrow,display:"inline-block",[`${tt}-content`]:{display:"inline-block"}}}]},Xe=Ie=>{const{componentCls:tt}=Ie;return{[tt]:Te.i.map(ot=>{const Qe=Ie[`${ot}6`];return{[`&${tt}-${ot}`]:{"--antd-arrow-background-color":Qe,[`${tt}-inner`]:{backgroundColor:Qe},[`${tt}-arrow`]:{background:"transparent"}}}})}},Ke=Ie=>{const{componentCls:tt,lineWidth:ot,lineType:Qe,colorSplit:de,paddingSM:a,controlHeight:E,fontSize:x,lineHeight:y,padding:ee}=Ie,ne=E-Math.round(x*y),oe=ne/2,le=ne/2-ot,ie=ee;return{[tt]:{[`${tt}-inner`]:{padding:0},[`${tt}-title`]:{margin:0,padding:`${oe}px ${ie}px ${le}px`,borderBottom:`${ot}px ${Qe} ${de}`},[`${tt}-inner-content`]:{padding:`${a}px ${ie}px`}}}};Nt.Z=(0,Ze.Z)("Popover",Ie=>{const{colorBgElevated:tt,colorText:ot,wireframe:Qe}=Ie,de=(0,lt.TS)(Ie,{popoverPadding:12,popoverBg:tt,popoverColor:ot});return[he(de),Xe(de),Qe&&Ke(de),(0,Be._y)(de,"zoom-big")]},Ie=>({width:177,minWidth:177,zIndexPopup:Ie.zIndexPopupBase+30}),{resetStyle:!1,deprecatedTokens:[["width","minWidth"]]})},10311:function(je,Nt,re){"use strict";re.d(Nt,{Z:function(){return Lt}});var b=re(92310),Be=re.n(b),Je=re(52873),Te=re(15142),Ze=re(16886),lt=re(26420),he=re(59301),Xe=re(13697),Ke=re(18929),Ie=re(67711),tt=re(33346),ot=re(98506),Qe=re(10228),de=he.createContext({min:0,max:0,direction:"ltr",step:1,includedStart:0,includedEnd:0,tabIndex:0,keyboard:!0}),a=de;function E(Fe,xe,gt){return(Fe-xe)/(gt-xe)}function x(Fe,xe,gt,Mt){var qt=E(xe,gt,Mt),Vt={};switch(Fe){case"rtl":Vt.right="".concat(qt*100,"%"),Vt.transform="translateX(50%)";break;case"btt":Vt.bottom="".concat(qt*100,"%"),Vt.transform="translateY(50%)";break;case"ttb":Vt.top="".concat(qt*100,"%"),Vt.transform="translateY(-50%)";break;default:Vt.left="".concat(qt*100,"%"),Vt.transform="translateX(-50%)";break}return Vt}function y(Fe,xe){return Array.isArray(Fe)?Fe[xe]:Fe}var ee=["prefixCls","value","valueIndex","onStartMove","style","render","dragging","onOffsetChange"],ne=he.forwardRef(function(Fe,xe){var gt,Mt,qt=Fe.prefixCls,Vt=Fe.value,kt=Fe.valueIndex,rn=Fe.onStartMove,Wt=Fe.style,yt=Fe.render,an=Fe.dragging,mt=Fe.onOffsetChange,At=(0,tt.Z)(Fe,ee),xt=he.useContext(a),cn=xt.min,Dt=xt.max,Ot=xt.direction,xn=xt.disabled,Gt=xt.keyboard,Kn=xt.range,za=xt.tabIndex,sr=xt.ariaLabelForHandle,Ya=xt.ariaLabelledByForHandle,Da=xt.ariaValueTextFormatterForHandle,Lr="".concat(qt,"-handle"),cr=function(Zr){xn||rn(Zr,kt)},Ha=function(Zr){if(!xn&&Gt){var br=null;switch(Zr.which||Zr.keyCode){case Qe.Z.LEFT:br=Ot==="ltr"||Ot==="btt"?-1:1;break;case Qe.Z.RIGHT:br=Ot==="ltr"||Ot==="btt"?1:-1;break;case Qe.Z.UP:br=Ot!=="ttb"?1:-1;break;case Qe.Z.DOWN:br=Ot!=="ttb"?-1:1;break;case Qe.Z.HOME:br="min";break;case Qe.Z.END:br="max";break;case Qe.Z.PAGE_UP:br=2;break;case Qe.Z.PAGE_DOWN:br=-2;break}br!==null&&(Zr.preventDefault(),mt(br,kt))}},Xa=x(Ot,Vt,cn,Dt),Dr=he.createElement("div",(0,Ie.Z)({ref:xe,className:Be()(Lr,(gt={},(0,Je.Z)(gt,"".concat(Lr,"-").concat(kt+1),Kn),(0,Je.Z)(gt,"".concat(Lr,"-dragging"),an),gt)),style:(0,ot.Z)((0,ot.Z)({},Xa),Wt),onMouseDown:cr,onTouchStart:cr,onKeyDown:Ha,tabIndex:xn?null:y(za,kt),role:"slider","aria-valuemin":cn,"aria-valuemax":Dt,"aria-valuenow":Vt,"aria-disabled":xn,"aria-label":y(sr,kt),"aria-labelledby":y(Ya,kt),"aria-valuetext":(Mt=y(Da,kt))===null||Mt===void 0?void 0:Mt(Vt),"aria-orientation":Ot==="ltr"||Ot==="rtl"?"horizontal":"vertical"},At));return yt&&(Dr=yt(Dr,{index:kt,prefixCls:qt,value:Vt,dragging:an})),Dr}),oe=ne,le=["prefixCls","style","onStartMove","onOffsetChange","values","handleRender","draggingIndex"],ie=he.forwardRef(function(Fe,xe){var gt=Fe.prefixCls,Mt=Fe.style,qt=Fe.onStartMove,Vt=Fe.onOffsetChange,kt=Fe.values,rn=Fe.handleRender,Wt=Fe.draggingIndex,yt=(0,tt.Z)(Fe,le),an=he.useRef({});return he.useImperativeHandle(xe,function(){return{focus:function(At){var xt;(xt=an.current[At])===null||xt===void 0||xt.focus()}}}),he.createElement(he.Fragment,null,kt.map(function(mt,At){return he.createElement(oe,(0,Ie.Z)({ref:function(cn){cn?an.current[At]=cn:delete an.current[At]},dragging:Wt===At,prefixCls:gt,style:y(Mt,At),key:At,value:mt,valueIndex:At,onStartMove:qt,onOffsetChange:Vt,render:rn},yt))}))}),Ce=ie;function ye(Fe){var xe="touches"in Fe?Fe.touches[0]:Fe;return{pageX:xe.pageX,pageY:xe.pageY}}function Ge(Fe,xe,gt,Mt,qt,Vt,kt,rn,Wt){var yt=he.useState(null),an=(0,Ze.Z)(yt,2),mt=an[0],At=an[1],xt=he.useState(-1),cn=(0,Ze.Z)(xt,2),Dt=cn[0],Ot=cn[1],xn=he.useState(gt),Gt=(0,Ze.Z)(xn,2),Kn=Gt[0],za=Gt[1],sr=he.useState(gt),Ya=(0,Ze.Z)(sr,2),Da=Ya[0],Lr=Ya[1],cr=he.useRef(null),Ha=he.useRef(null);he.useEffect(function(){Dt===-1&&za(gt)},[gt,Dt]),he.useEffect(function(){return function(){document.removeEventListener("mousemove",cr.current),document.removeEventListener("mouseup",Ha.current),document.removeEventListener("touchmove",cr.current),document.removeEventListener("touchend",Ha.current)}},[]);var Xa=function(Sn,Fn){Kn.some(function(Zt,sn){return Zt!==Sn[sn]})&&(Fn!==void 0&&At(Fn),za(Sn),kt(Sn))},Dr=function(Sn,Fn){if(Sn===-1){var Zt=Da[0],sn=Da[Da.length-1],On=Mt-Zt,Jn=qt-sn,ke=Fn*(qt-Mt);ke=Math.max(ke,On),ke=Math.min(ke,Jn);var rt=Vt(Zt+ke);ke=rt-Zt;var qe=Da.map(function(ya){return ya+ke});Xa(qe)}else{var Dn=(qt-Mt)*Fn,mn=(0,Te.Z)(Kn);mn[Sn]=Da[Sn];var Wn=Wt(mn,Dn,Sn,"dist");Xa(Wn.values,Wn.value)}},Fa=he.useRef(Dr);Fa.current=Dr;var Zr=function(Sn,Fn){Sn.stopPropagation();var Zt=gt[Fn];Ot(Fn),At(Zt),Lr(gt);var sn=ye(Sn),On=sn.pageX,Jn=sn.pageY,ke=function(Dn){Dn.preventDefault();var mn=ye(Dn),Wn=mn.pageX,ya=mn.pageY,ma=Wn-On,ta=ya-Jn,fa=Fe.current.getBoundingClientRect(),ua=fa.width,hn=fa.height,Ra;switch(xe){case"btt":Ra=-ta/hn;break;case"ttb":Ra=ta/hn;break;case"rtl":Ra=-ma/ua;break;default:Ra=ma/ua}Fa.current(Fn,Ra)},rt=function qe(Dn){Dn.preventDefault(),document.removeEventListener("mouseup",qe),document.removeEventListener("mousemove",ke),document.removeEventListener("touchend",qe),document.removeEventListener("touchmove",ke),cr.current=null,Ha.current=null,Ot(-1),rn()};document.addEventListener("mouseup",rt),document.addEventListener("mousemove",ke),document.addEventListener("touchend",rt),document.addEventListener("touchmove",ke),cr.current=ke,Ha.current=rt},br=he.useMemo(function(){var Pt=(0,Te.Z)(gt).sort(function(Fn,Zt){return Fn-Zt}),Sn=(0,Te.Z)(Kn).sort(function(Fn,Zt){return Fn-Zt});return Pt.every(function(Fn,Zt){return Fn===Sn[Zt]})?Kn:gt},[gt,Kn]);return[Dt,mt,br,Zr]}function Re(Fe){var xe,gt=Fe.prefixCls,Mt=Fe.style,qt=Fe.start,Vt=Fe.end,kt=Fe.index,rn=Fe.onStartMove,Wt=he.useContext(a),yt=Wt.direction,an=Wt.min,mt=Wt.max,At=Wt.disabled,xt=Wt.range,cn="".concat(gt,"-track"),Dt=E(qt,an,mt),Ot=E(Vt,an,mt),xn=function(za){!At&&rn&&rn(za,-1)},Gt={};switch(yt){case"rtl":Gt.right="".concat(Dt*100,"%"),Gt.width="".concat(Ot*100-Dt*100,"%");break;case"btt":Gt.bottom="".concat(Dt*100,"%"),Gt.height="".concat(Ot*100-Dt*100,"%");break;case"ttb":Gt.top="".concat(Dt*100,"%"),Gt.height="".concat(Ot*100-Dt*100,"%");break;default:Gt.left="".concat(Dt*100,"%"),Gt.width="".concat(Ot*100-Dt*100,"%")}return he.createElement("div",{className:Be()(cn,(xe={},(0,Je.Z)(xe,"".concat(cn,"-").concat(kt+1),xt),(0,Je.Z)(xe,"".concat(gt,"-track-draggable"),rn),xe)),style:(0,ot.Z)((0,ot.Z)({},Gt),Mt),onMouseDown:xn,onTouchStart:xn})}function St(Fe){var xe=Fe.prefixCls,gt=Fe.style,Mt=Fe.values,qt=Fe.startPoint,Vt=Fe.onStartMove,kt=he.useContext(a),rn=kt.included,Wt=kt.range,yt=kt.min,an=he.useMemo(function(){if(!Wt){if(Mt.length===0)return[];var mt=qt!=null?qt:yt,At=Mt[0];return[{start:Math.min(mt,At),end:Math.max(mt,At)}]}for(var xt=[],cn=0;cn3&&arguments[3]!==void 0?arguments[3]:"unit";if(typeof Dt=="number"){var Gt,Kn=cn[Ot],za=Kn+Dt,sr=[];Mt.forEach(function(Ha){sr.push(Ha.value)}),sr.push(Fe,xe),sr.push(rn(Kn));var Ya=Dt>0?1:-1;xn==="unit"?sr.push(rn(Kn+Ya*gt)):sr.push(rn(za)),sr=sr.filter(function(Ha){return Ha!==null}).filter(function(Ha){return Dt<0?Ha<=Kn:Ha>=Kn}),xn==="unit"&&(sr=sr.filter(function(Ha){return Ha!==Kn}));var Da=xn==="unit"?Kn:za;Gt=sr[0];var Lr=Math.abs(Gt-Da);if(sr.forEach(function(Ha){var Xa=Math.abs(Ha-Da);Xa1){var cr=(0,Te.Z)(cn);return cr[Ot]=Gt,xt(cr,Dt-Ya,Ot,xn)}return Gt}else{if(Dt==="min")return Fe;if(Dt==="max")return xe}},an=function(cn,Dt,Ot){var xn=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"unit",Gt=cn[Ot],Kn=yt(cn,Dt,Ot,xn);return{value:Kn,changed:Kn!==Gt}},mt=function(cn){return Vt===null&&cn===0||typeof Vt=="number"&&cn3&&arguments[3]!==void 0?arguments[3]:"unit",Gt=cn.map(Wt),Kn=Gt[Ot],za=yt(Gt,Dt,Ot,xn);if(Gt[Ot]=za,qt===!1){var sr=Vt||0;Ot>0&&Gt[Ot-1]!==Kn&&(Gt[Ot]=Math.max(Gt[Ot],Gt[Ot-1]+sr)),Ot0;cr-=1)for(var Ha=!0;mt(Gt[cr]-Gt[cr-1])&&Ha;){var Xa=an(Gt,-1,cr-1);Gt[cr-1]=Xa.value,Ha=Xa.changed}for(var Dr=Gt.length-1;Dr>0;Dr-=1)for(var Fa=!0;mt(Gt[Dr]-Gt[Dr-1])&&Fa;){var Zr=an(Gt,-1,Dr-1);Gt[Dr-1]=Zr.value,Fa=Zr.changed}for(var br=0;br=0?Zr:!1},[Zr,tn]),ha=he.useMemo(function(){var dr=Object.keys(Dn||{});return dr.map(function(Zn){var Rn=Dn[Zn],pn={value:Number(Zn)};return Rn&&(0,lt.Z)(Rn)==="object"&&!he.isValidElement(Rn)&&("label"in Rn||"style"in Rn)?(pn.style=Rn.style,pn.label=Rn.label):pn.label=Rn,pn}).filter(function(Zn){var Rn=Zn.label;return Rn||typeof Rn=="number"}).sort(function(Zn,Rn){return Zn.value-Rn.value})},[Dn]),qr=da(fo,Nn,tn,ha,Dr,Or),Yr=(0,Ze.Z)(qr,2),na=Yr[0],oo=Yr[1],Mo=(0,Ke.Z)(sr,{value:za}),$r=(0,Ze.Z)(Mo,2),ho=$r[0],yn=$r[1],Mr=he.useMemo(function(){var dr=ho==null?[]:Array.isArray(ho)?ho:[ho],Zn=(0,Ze.Z)(dr,1),Rn=Zn[0],pn=Rn===void 0?fo:Rn,Er=ho===null?[]:[pn];if(Ya){if(Er=(0,Te.Z)(dr),Da||ho===void 0){var zr=Da>=0?Da+1:2;for(Er=Er.slice(0,zr);Er.length=0&&hn.current.focus(dr)}Oe(null)},[aa]);var Me=he.useMemo(function(){return br&&tn===null?!1:br},[br,tn]),ut=function(){Ha==null||Ha(lo(io.current))},zt=Ge(Ra,vr,Mr,fo,Nn,na,dt,ut,oo),Ga=(0,Ze.Z)(zt,4),ja=Ga[0],Vn=Ga[1],Jt=Ga[2],Hn=Ga[3],ba=function(Zn,Rn){Hn(Zn,Rn),cr==null||cr(lo(io.current))},La=ja!==-1;he.useEffect(function(){if(!La){var dr=Mr.lastIndexOf(Vn);hn.current.focus(dr)}},[La]);var rr=he.useMemo(function(){return(0,Te.Z)(Jt).sort(function(dr,Zn){return dr-Zn})},[Jt]),sa=he.useMemo(function(){return Ya?[rr[0],rr[rr.length-1]]:[fo,rr[0]]},[rr,Ya,fo]),wt=(0,Ze.Z)(sa,2),ca=wt[0],gr=wt[1];he.useImperativeHandle(xe,function(){return{focus:function(){hn.current.focus(0)},blur:function(){var Zn=document,Rn=Zn.activeElement;Ra.current.contains(Rn)&&(Rn==null||Rn.blur())}}}),he.useEffect(function(){mt&&hn.current.focus(0)},[]);var Pr=he.useMemo(function(){return{min:fo,max:Nn,direction:vr,disabled:Wt,keyboard:an,step:tn,included:Zt,includedStart:ca,includedEnd:gr,range:Ya,tabIndex:ma,ariaLabelForHandle:ta,ariaLabelledByForHandle:fa,ariaValueTextFormatterForHandle:ua}},[fo,Nn,vr,Wt,an,tn,Zt,ca,gr,Ya,ma,ta,fa,ua]);return he.createElement(a.Provider,{value:Pr},he.createElement("div",{ref:Ra,className:Be()(qt,Vt,(gt={},(0,Je.Z)(gt,"".concat(qt,"-disabled"),Wt),(0,Je.Z)(gt,"".concat(qt,"-vertical"),Sn),(0,Je.Z)(gt,"".concat(qt,"-horizontal"),!Sn),(0,Je.Z)(gt,"".concat(qt,"-with-marks"),ha.length),gt)),style:kt,onMouseDown:We},he.createElement("div",{className:"".concat(qt,"-rail"),style:ke}),he.createElement(St,{prefixCls:qt,style:On,values:rr,startPoint:sn,onStartMove:Me?ba:null}),he.createElement(Tn,{prefixCls:qt,marks:ha,dots:mn,style:rt,activeStyle:qe}),he.createElement(Ce,{ref:hn,prefixCls:qt,style:Jn,values:Jt,draggingIndex:ja,onStartMove:ba,onOffsetChange:it,onFocus:At,onBlur:xt,handleRender:Wn}),he.createElement(pt,{prefixCls:qt,marks:ha,onClick:Ue})))}),In=_t,ct=In,Tt=re(36355),ln=re(1684),fn=re(16089),vn=re(8654),nt=re(6848),Bt=he.forwardRef((Fe,xe)=>{const{open:gt}=Fe,Mt=(0,he.useRef)(null),qt=(0,he.useRef)(null);function Vt(){fn.Z.cancel(qt.current),qt.current=null}function kt(){qt.current=(0,fn.Z)(()=>{var rn;(rn=Mt.current)===null||rn===void 0||rn.forceAlign(),qt.current=null})}return he.useEffect(()=>(gt?kt():Vt(),Vt),[gt,Fe.title]),he.createElement(nt.Z,Object.assign({ref:(0,vn.sQ)(Mt,xe)},Fe))}),Bn=re(64993),nn=re(17313),on=re(83116),De=re(37613);const Pe=Fe=>{const{componentCls:xe,antCls:gt,controlSize:Mt,dotSize:qt,marginFull:Vt,marginPart:kt,colorFillContentHover:rn}=Fe;return{[xe]:Object.assign(Object.assign({},(0,nn.Wf)(Fe)),{position:"relative",height:Mt,margin:`${kt}px ${Vt}px`,padding:0,cursor:"pointer",touchAction:"none","&-vertical":{margin:`${Vt}px ${kt}px`},[`${xe}-rail`]:{position:"absolute",backgroundColor:Fe.railBg,borderRadius:Fe.borderRadiusXS,transition:`background-color ${Fe.motionDurationMid}`},[`${xe}-track`]:{position:"absolute",backgroundColor:Fe.trackBg,borderRadius:Fe.borderRadiusXS,transition:`background-color ${Fe.motionDurationMid}`},[`${xe}-track-draggable`]:{boxSizing:"content-box",backgroundClip:"content-box",border:"solid rgba(0,0,0,0)"},"&:hover":{[`${xe}-rail`]:{backgroundColor:Fe.railHoverBg},[`${xe}-track`]:{backgroundColor:Fe.trackHoverBg},[`${xe}-dot`]:{borderColor:rn},[`${xe}-handle::after`]:{boxShadow:`0 0 0 ${Fe.handleLineWidth}px ${Fe.colorPrimaryBorderHover}`},[`${xe}-dot-active`]:{borderColor:Fe.dotActiveBorderColor}},[`${xe}-handle`]:{position:"absolute",width:Fe.handleSize,height:Fe.handleSize,outline:"none",[`${xe}-dragging`]:{zIndex:1},"&::before":{content:'""',position:"absolute",insetInlineStart:-Fe.handleLineWidth,insetBlockStart:-Fe.handleLineWidth,width:Fe.handleSize+Fe.handleLineWidth*2,height:Fe.handleSize+Fe.handleLineWidth*2,backgroundColor:"transparent"},"&::after":{content:'""',position:"absolute",insetBlockStart:0,insetInlineStart:0,width:Fe.handleSize,height:Fe.handleSize,backgroundColor:Fe.colorBgElevated,boxShadow:`0 0 0 ${Fe.handleLineWidth}px ${Fe.handleColor}`,borderRadius:"50%",cursor:"pointer",transition:` inset-inline-start ${Fe.motionDurationMid}, inset-block-start ${Fe.motionDurationMid}, width ${Fe.motionDurationMid}, @@ -224,7 +224,7 @@ The error may be correlated with this previous error: `:` The item has been dropped while not over a drop area. `+$r(te.source)+` - `},yn={dragHandleUsageInstructions:ha,onDragStart:Yr,onDragUpdate:Mo,onDragEnd:ho},Mr={x:0,y:0},io=function(te,ae){return{x:te.x+ae.x,y:te.y+ae.y}},lo=function(te,ae){return{x:te.x-ae.x,y:te.y-ae.y}},dt=function(te,ae){return te.x===ae.x&&te.y===ae.y},Ue=function(te){return{x:te.x!==0?-te.x:0,y:te.y!==0?-te.y:0}},We=function(te,ae,ue){var me;return ue===void 0&&(ue=0),me={},me[te]=ae,me[te==="x"?"y":"x"]=ue,me},Rt=function(te,ae){return Math.sqrt(Math.pow(ae.x-te.x,2)+Math.pow(ae.y-te.y,2))},Cn=function(te,ae){return Math.min.apply(Math,ae.map(function(ue){return Rt(te,ue)}))},aa=function(te){return function(ae){return{x:te(ae.x),y:te(ae.y)}}},Oe=function(z,te){var ae=za({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 ae.width<=0||ae.height<=0?null:ae},it=function(te,ae){return{top:te.top+ae.y,left:te.left+ae.x,bottom:te.bottom+ae.y,right:te.right+ae.x}},Me=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}]},ut={top:0,right:0,bottom:0,left:0},zt=function(te,ae){return ae?it(te,ae.scroll.diff.displacement):te},Ga=function(te,ae,ue){if(ue&&ue.increasedBy){var me;return(0,Te.Z)({},te,(me={},me[ae.end]=te[ae.end]+ue.increasedBy[ae.line],me))}return te},ja=function(te,ae){return ae&&ae.shouldClipSubject?Oe(ae.pageMarginBox,te):za(te)},Vn=function(z){var te=z.page,ae=z.withPlaceholder,ue=z.axis,me=z.frame,fe=zt(te.marginBox,me),Se=Ga(fe,ue,ae),Ae=ja(Se,me);return{page:te,withPlaceholder:ae,active:Ae}},Xt=function(z,te){z.frame||tn(!1);var ae=z.frame,ue=lo(te,ae.scroll.initial),me=Ue(ue),fe=(0,Te.Z)({},ae,{scroll:{initial:ae.scroll.initial,current:te,diff:{value:ue,displacement:me},max:ae.scroll.max}}),Se=Vn({page:z.subject.page,withPlaceholder:z.subject.withPlaceholder,axis:z.axis,frame:fe}),Ae=(0,Te.Z)({},z,{frame:fe,subject:Se});return Ae};function Hn(z){return Number.isInteger?Number.isInteger(z):typeof z=="number"&&isFinite(z)&&Math.floor(z)===z}function ba(z){return Object.values?Object.values(z):Object.keys(z).map(function(te){return z[te]})}function La(z,te){if(z.findIndex)return z.findIndex(te);for(var ae=0;aez.bottom,et=ue.leftz.right,Ye=Ne&&et;if(Ye)return!0;var Ve=Ne&&Se||et&&fe;return Ve}},ai=function(z){var te=_r(z.top,z.bottom),ae=_r(z.left,z.right);return function(ue){var me=te(ue.top)&&te(ue.bottom)&&ae(ue.left)&&ae(ue.right);return me}},li={direction:"vertical",line:"y",crossAxisLine:"x",start:"top",end:"bottom",size:"height",crossAxisStart:"left",crossAxisEnd:"right",crossAxisSize:"width"},Mi={direction:"horizontal",line:"x",crossAxisLine:"y",start:"left",end:"right",size:"width",crossAxisStart:"top",crossAxisEnd:"bottom",crossAxisSize:"height"},Gr=function(z){return function(te){var ae=_r(te.top,te.bottom),ue=_r(te.left,te.right);return function(me){return z===li?ae(me.top)&&ae(me.bottom):ue(me.left)&&ue(me.right)}}},Sa=function(te,ae){var ue=ae.frame?ae.frame.scroll.diff.displacement:Mr;return it(te,ue)},kn=function(te,ae,ue){return ae.subject.active?ue(ae.subject.active)(te):!1},$t=function(te,ae,ue){return ue(ae)(te)},Mn=function(te){var ae=te.target,ue=te.destination,me=te.viewport,fe=te.withDroppableDisplacement,Se=te.isVisibleThroughFrameFn,Ae=fe?Sa(ae,ue):ae;return kn(Ae,ue,Se)&&$t(Ae,me,Se)},pr=function(te){return Mn((0,Te.Z)({},te,{isVisibleThroughFrameFn:Eo}))},be=function(te){return Mn((0,Te.Z)({},te,{isVisibleThroughFrameFn:ai}))},jr=function(te){return Mn((0,Te.Z)({},te,{isVisibleThroughFrameFn:Gr(te.destination.axis)}))},Za=function(te,ae,ue){if(typeof ue=="boolean")return ue;if(!ae)return!0;var me=ae.invisible,fe=ae.visible;if(me[te])return!1;var Se=fe[te];return Se?Se.shouldAnimate:!0};function mr(z,te){var ae=z.page.marginBox,ue={top:te.point.y,right:0,bottom:0,left:te.point.x};return za(sr(ae,ue))}function fr(z){var te=z.afterDragging,ae=z.destination,ue=z.displacedBy,me=z.viewport,fe=z.forceShouldAnimate,Se=z.last;return te.reduce(function(Ne,et){var Ye=mr(et,ue),Ve=et.descriptor.id;Ne.all.push(Ve);var ze=pr({target:Ye,destination:ae,viewport:me,withDroppableDisplacement:!0});if(!ze)return Ne.invisible[et.descriptor.id]=!0,Ne;var Et=Za(Ve,Se,fe),en={draggableId:Ve,shouldAnimate:Et};return Ne.visible[Ve]=en,Ne},{all:[],visible:{},invisible:{}})}function Vr(z,te){if(!z.length)return 0;var ae=z[z.length-1].descriptor.index;return te.inHomeList?ae:ae+1}function Xr(z){var te=z.insideDestination,ae=z.inHomeList,ue=z.displacedBy,me=z.destination,fe=Vr(te,{inHomeList:ae});return{displaced:to,displacedBy:ue,at:{type:"REORDER",destination:{droppableId:me.descriptor.id,index:fe}}}}function yo(z){var te=z.draggable,ae=z.insideDestination,ue=z.destination,me=z.viewport,fe=z.displacedBy,Se=z.last,Ae=z.index,Ne=z.forceShouldAnimate,et=zr(te,ue);if(Ae==null)return Xr({insideDestination:ae,inHomeList:et,displacedBy:fe,destination:ue});var Ye=rr(ae,function(ra){return ra.descriptor.index===Ae});if(!Ye)return Xr({insideDestination:ae,inHomeList:et,displacedBy:fe,destination:ue});var Ve=pn(te,ae),ze=ae.indexOf(Ye),Et=Ve.slice(ze),en=fr({afterDragging:Et,destination:ue,displacedBy:fe,last:Se,viewport:me.frame,forceShouldAnimate:Ne});return{displaced:en,displacedBy:fe,at:{type:"REORDER",destination:{droppableId:ue.descriptor.id,index:Ae}}}}function So(z,te){return!!te.effected[z]}var ui=function(z){var te=z.isMovingForward,ae=z.destination,ue=z.draggables,me=z.combine,fe=z.afterCritical;if(!ae.isCombineEnabled)return null;var Se=me.draggableId,Ae=ue[Se],Ne=Ae.descriptor.index,et=So(Se,fe);return et?te?Ne:Ne-1:te?Ne+1:Ne},ko=function(z){var te=z.isMovingForward,ae=z.isInHomeList,ue=z.insideDestination,me=z.location;if(!ue.length)return null;var fe=me.index,Se=te?fe+1:fe-1,Ae=ue[0].descriptor.index,Ne=ue[ue.length-1].descriptor.index,et=ae?Ne:Ne+1;return Seet?null:Se},Di=function(z){var te=z.isMovingForward,ae=z.isInHomeList,ue=z.draggable,me=z.draggables,fe=z.destination,Se=z.insideDestination,Ae=z.previousImpact,Ne=z.viewport,et=z.afterCritical,Ye=Ae.at;if(Ye||tn(!1),Ye.type==="REORDER"){var Ve=ko({isMovingForward:te,isInHomeList:ae,location:Ye.destination,insideDestination:Se});return Ve==null?null:yo({draggable:ue,insideDestination:Se,destination:fe,viewport:Ne,last:Ae.displaced,displacedBy:Ae.displacedBy,index:Ve})}var ze=ui({isMovingForward:te,destination:fe,displaced:Ae.displaced,draggables:me,combine:Ye.combine,afterCritical:et});return ze==null?null:yo({draggable:ue,insideDestination:Se,destination:fe,viewport:Ne,last:Ae.displaced,displacedBy:Ae.displacedBy,index:ze})},hl=function(z){var te=z.displaced,ae=z.afterCritical,ue=z.combineWith,me=z.displacedBy,fe=!!(te.visible[ue]||te.invisible[ue]);return So(ue,ae)?fe?Mr:Ue(me.point):fe?me.point:Mr},di=function(z){var te=z.afterCritical,ae=z.impact,ue=z.draggables,me=Rn(ae);me||tn(!1);var fe=me.draggableId,Se=ue[fe].page.borderBox.center,Ae=hl({displaced:ae.displaced,afterCritical:te,combineWith:fe,displacedBy:ae.displacedBy});return io(Se,Ae)},bl=function(te,ae){return ae.margin[te.start]+ae.borderBox[te.size]/2},Ii=function(te,ae){return ae.margin[te.end]+ae.borderBox[te.size]/2},gl=function(te,ae,ue){return ae[te.crossAxisStart]+ue.margin[te.crossAxisStart]+ue.borderBox[te.crossAxisSize]/2},al=function(te){var ae=te.axis,ue=te.moveRelativeTo,me=te.isMoving;return We(ae.line,ue.marginBox[ae.end]+bl(ae,me),gl(ae,ue.marginBox,me))},Il=function(te){var ae=te.axis,ue=te.moveRelativeTo,me=te.isMoving;return We(ae.line,ue.marginBox[ae.start]-Ii(ae,me),gl(ae,ue.marginBox,me))},rl=function(te){var ae=te.axis,ue=te.moveInto,me=te.isMoving;return We(ae.line,ue.contentBox[ae.start]+bl(ae,me),gl(ae,ue.contentBox,me))},Pu=function(z){var te=z.impact,ae=z.draggable,ue=z.draggables,me=z.droppable,fe=z.afterCritical,Se=dr(me.descriptor.id,ue),Ae=ae.page,Ne=me.axis;if(!Se.length)return rl({axis:Ne,moveInto:me.page,isMoving:Ae});var et=te.displaced,Ye=te.displacedBy,Ve=et.all[0];if(Ve){var ze=ue[Ve];if(So(Ve,fe))return Il({axis:Ne,moveRelativeTo:ze.page,isMoving:Ae});var Et=Dr(ze.page,Ye.point);return Il({axis:Ne,moveRelativeTo:Et,isMoving:Ae})}var en=Se[Se.length-1];if(en.descriptor.id===ae.descriptor.id)return Ae.borderBox.center;if(So(en.descriptor.id,fe)){var ra=Dr(en.page,Ue(fe.displacedBy.point));return al({axis:Ne,moveRelativeTo:ra,isMoving:Ae})}return al({axis:Ne,moveRelativeTo:en.page,isMoving:Ae})},$l=function(z,te){var ae=z.frame;return ae?io(te,ae.scroll.diff.displacement):te},Au=function(te){var ae=te.impact,ue=te.draggable,me=te.droppable,fe=te.draggables,Se=te.afterCritical,Ae=ue.page.borderBox.center,Ne=ae.at;return!me||!Ne?Ae:Ne.type==="REORDER"?Pu({impact:ae,draggable:ue,draggables:fe,droppable:me,afterCritical:Se}):di({impact:ae,draggables:fe,afterCritical:Se})},eu=function(z){var te=Au(z),ae=z.droppable,ue=ae?$l(ae,te):te;return ue},$u=function(z,te){var ae=lo(te,z.scroll.initial),ue=Ue(ae),me=za({top:te.y,bottom:te.y+z.frame.height,left:te.x,right:te.x+z.frame.width}),fe={frame:me,scroll:{initial:z.scroll.initial,max:z.scroll.max,current:te,diff:{value:ae,displacement:ue}}};return fe};function Si(z,te){return z.map(function(ae){return te[ae]})}function va(z,te){for(var ae=0;ae1?Ye.sort(function(Ve,ze){return gi(Ve)[Ae.start]-gi(ze)[Ae.start]})[0]:et.sort(function(Ve,ze){var Et=Cn(ae,Me(gi(Ve))),en=Cn(ae,Me(gi(ze)));return Et!==en?Et-en:gi(Ve)[Ae.start]-gi(ze)[Ae.start]})[0]},mu=function(te,ae){var ue=te.page.borderBox.center;return So(te.descriptor.id,ae)?lo(ue,ae.displacedBy.point):ue},Xo=function(te,ae){var ue=te.page.borderBox;return So(te.descriptor.id,ae)?it(ue,Ue(ae.displacedBy.point)):ue},Nl=function(z){var te=z.pageBorderBoxCenter,ae=z.viewport,ue=z.destination,me=z.insideDestination,fe=z.afterCritical,Se=me.filter(function(Ae){return be({target:Xo(Ae,fe),destination:ue,viewport:ae.frame,withDroppableDisplacement:!0})}).sort(function(Ae,Ne){var et=Rt(te,$l(ue,mu(Ae,fe))),Ye=Rt(te,$l(ue,mu(Ne,fe)));return ette.left&&z.topte.top}function ps(z){var te=z.pageBorderBox,ae=z.draggable,ue=z.candidates,me=ae.page.borderBox.center,fe=ue.map(function(Se){var Ae=Se.axis,Ne=We(Se.axis.line,te.center[Ae.line],Se.page.borderBox.center[Ae.crossAxisLine]);return{id:Se.descriptor.id,distance:Rt(me,Ne)}}).sort(function(Se,Ae){return Ae.distance-Se.distance});return fe[0]?fe[0].id:null}function Ys(z){var te=z.pageBorderBox,ae=z.draggable,ue=z.droppables,me=gr(ue).filter(function(fe){if(!fe.isEnabled)return!1;var Se=fe.subject.active;if(!Se||!vs(te,Se))return!1;if(Fu(Se)(te.center))return!0;var Ae=fe.axis,Ne=Se.center[Ae.crossAxisLine],et=te[Ae.crossAxisStart],Ye=te[Ae.crossAxisEnd],Ve=_r(Se[Ae.crossAxisStart],Se[Ae.crossAxisEnd]),ze=Ve(et),Et=Ve(Ye);return!ze&&!Et?!0:ze?etNe});return me.length?me.length===1?me[0].descriptor.id:ps({pageBorderBox:te,draggable:ae,candidates:me}):null}var Hu=function(te,ae){return za(it(te,ae))},tu=function(z,te){var ae=z.frame;return ae?Hu(te,ae.scroll.diff.value):te};function Mu(z){var te=z.displaced,ae=z.id;return!!(te.visible[ae]||te.invisible[ae])}function Os(z){var te=z.draggable,ae=z.closest,ue=z.inHomeList;return ae?ue&&ae.descriptor.index>te.descriptor.index?ae.descriptor.index-1:ae.descriptor.index:null}var Hs=function(z){var te=z.pageBorderBoxWithDroppableScroll,ae=z.draggable,ue=z.destination,me=z.insideDestination,fe=z.last,Se=z.viewport,Ae=z.afterCritical,Ne=ue.axis,et=Tl(ue.axis,ae.displaceBy),Ye=et.value,Ve=te[Ne.start],ze=te[Ne.end],Et=pn(ae,me),en=rr(Et,function(pa){var Ca=pa.descriptor.id,ar=pa.page.borderBox.center[Ne.line],hr=So(Ca,Ae),Fr=Mu({displaced:fe,id:Ca});return hr?Fr?ze<=ar:VeCa[Ae.start]+hr&&VeCa[Ae.start]-et+hr&&YeCa[Ae.start]+et+hr&&VeCa[Ae.start]+hr&&Ye=Ko)return Oo;var fe=me/Ko,Se=ao+$o*fe,Ae=ue==="CANCEL"?Se*Uo:Se;return Number(Ae.toFixed(2))},Ti=function(z){var te=z.impact,ae=z.draggable,ue=z.dimensions,me=z.viewport,fe=z.afterCritical,Se=ue.draggables,Ae=ue.droppables,Ne=Ni(te),et=Ne?Ae[Ne]:null,Ye=Ae[ae.descriptor.droppableId],Ve=Ss({impact:te,draggable:ae,draggables:Se,afterCritical:fe,droppable:et||Ye,viewport:me}),ze=lo(Ve,ae.client.borderBox.center);return ze},Pi=function(z){var te=z.draggables,ae=z.reason,ue=z.lastImpact,me=z.home,fe=z.viewport,Se=z.onLiftImpact;if(!ue.at||ae!=="DROP"){var Ae=Iu({draggables:te,impact:Se,destination:me,viewport:fe,forceShouldAnimate:!0});return{impact:Ae,didDropInsideDroppable:!1}}if(ue.at.type==="REORDER")return{impact:ue,didDropInsideDroppable:!0};var Ne=(0,Te.Z)({},ue,{displaced:to});return{impact:Ne,didDropInsideDroppable:!0}},zi=function(z){var te=z.getState,ae=z.dispatch;return function(ue){return function(me){if(me.type!=="DROP"){ue(me);return}var fe=te(),Se=me.payload.reason;if(fe.phase==="COLLECTING"){ae(Pa({reason:Se}));return}if(fe.phase!=="IDLE"){var Ae=fe.phase==="DROP_PENDING"&&fe.isWaiting;Ae&&tn(!1),fe.phase==="DRAGGING"||fe.phase==="DROP_PENDING"||tn(!1);var Ne=fe.critical,et=fe.dimensions,Ye=et.draggables[fe.critical.draggable.id],Ve=Pi({reason:Se,lastImpact:fe.impact,afterCritical:fe.afterCritical,onLiftImpact:fe.onLiftImpact,home:fe.dimensions.droppables[fe.critical.droppable.id],viewport:fe.viewport,draggables:fe.dimensions.draggables}),ze=Ve.impact,Et=Ve.didDropInsideDroppable,en=Et?Zn(ze):null,ra=Et?Rn(ze):null,pa={index:Ne.draggable.index,droppableId:Ne.droppable.id},Ca={draggableId:Ye.descriptor.id,type:Ye.descriptor.type,source:pa,reason:Se,mode:fe.movementMode,destination:en,combine:ra},ar=Ti({impact:ze,draggable:Ye,dimensions:et,viewport:fe.viewport,afterCritical:fe.afterCritical}),hr={critical:fe.critical,afterCritical:fe.afterCritical,result:Ca,impact:ze},Fr=!dt(fe.current.client.offset,ar)||!!Ca.combine;if(!Fr){ae(Un({completed:hr}));return}var Lo=fi({current:fe.current.client.offset,destination:ar,reason:Se}),Fo={newHomeClientOffset:ar,dropDuration:Lo,completed:hr};ae(En(Fo))}}}},ri=function(){return{x:window.pageXOffset,y:window.pageYOffset}};function Ki(z){return{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(ae){ae.target!==window&&ae.target!==window.document||z()}}}function vi(z){var te=z.onWindowScroll;function ae(){te(ri())}var ue=Jn(ae),me=Ki(ue),fe=ua;function Se(){return fe!==ua}function Ae(){Se()&&tn(!1),fe=Ra(window,[me])}function Ne(){Se()||tn(!1),ue.cancel(),fe(),fe=ua}return{start:Ae,stop:Ne,isActive:Se}}var Oi=function(te){return te.type==="DROP_COMPLETE"||te.type==="DROP_ANIMATE"||te.type==="FLUSH"},Gi=function(z){var te=vi({onWindowScroll:function(ue){z.dispatch(gn({newScroll:ue}))}});return function(ae){return function(ue){!te.isActive()&&ue.type==="INITIAL_PUBLISH"&&te.start(),te.isActive()&&Oi(ue)&&te.stop(),ae(ue)}}},$i=function(z){var te=!1,ae=!1,ue=setTimeout(function(){ae=!0}),me=function(Se){te||ae||(te=!0,z(Se),clearTimeout(ue))};return me.wasCalled=function(){return te},me},ji=function(){var z=[],te=function(fe){var Se=La(z,function(et){return et.timerId===fe});Se===-1&&tn(!1);var Ae=z.splice(Se,1),Ne=Ae[0];Ne.callback()},ae=function(fe){var Se=setTimeout(function(){return te(Se)}),Ae={timerId:Se,callback:fe};z.push(Ae)},ue=function(){if(z.length){var fe=[].concat(z);z.length=0,fe.forEach(function(Se){clearTimeout(Se.timerId),Se.callback()})}};return{add:ae,flush:ue}},ml=function(te,ae){return te==null&&ae==null?!0:te==null||ae==null?!1:te.droppableId===ae.droppableId&&te.index===ae.index},kl=function(te,ae){return te==null&&ae==null?!0:te==null||ae==null?!1:te.draggableId===ae.draggableId&&te.droppableId===ae.droppableId},Ao=function(te,ae){if(te===ae)return!0;var ue=te.draggable.id===ae.draggable.id&&te.draggable.droppableId===ae.draggable.droppableId&&te.draggable.type===ae.draggable.type&&te.draggable.index===ae.draggable.index,me=te.droppable.id===ae.droppable.id&&te.droppable.type===ae.droppable.type;return ue&&me},Hr=function(te,ae){Xu(),ae(),yu()},Ai=function(te,ae){return{draggableId:te.draggable.id,type:te.droppable.type,source:{droppableId:te.droppable.id,index:te.draggable.index},mode:ae}},Ri=function(te,ae,ue,me){if(!te){ue(me(ae));return}var fe=$i(ue),Se={announce:fe};te(ae,Se),fe.wasCalled()||ue(me(ae))},el=function(z,te){var ae=ji(),ue=null,me=function(ze,Et){ue&&tn(!1),Hr("onBeforeCapture",function(){var en=z().onBeforeCapture;if(en){var ra={draggableId:ze,mode:Et};en(ra)}})},fe=function(ze,Et){ue&&tn(!1),Hr("onBeforeDragStart",function(){var en=z().onBeforeDragStart;en&&en(Ai(ze,Et))})},Se=function(ze,Et){ue&&tn(!1);var en=Ai(ze,Et);ue={mode:Et,lastCritical:ze,lastLocation:en.source,lastCombine:null},ae.add(function(){Hr("onDragStart",function(){return Ri(z().onDragStart,en,te,yn.onDragStart)})})},Ae=function(ze,Et){var en=Zn(Et),ra=Rn(Et);ue||tn(!1);var pa=!Ao(ze,ue.lastCritical);pa&&(ue.lastCritical=ze);var Ca=!ml(ue.lastLocation,en);Ca&&(ue.lastLocation=en);var ar=!kl(ue.lastCombine,ra);if(ar&&(ue.lastCombine=ra),!(!pa&&!Ca&&!ar)){var hr=(0,Te.Z)({},Ai(ze,ue.mode),{combine:ra,destination:en});ae.add(function(){Hr("onDragUpdate",function(){return Ri(z().onDragUpdate,hr,te,yn.onDragUpdate)})})}},Ne=function(){ue||tn(!1),ae.flush()},et=function(ze){ue||tn(!1),ue=null,Hr("onDragEnd",function(){return Ri(z().onDragEnd,ze,te,yn.onDragEnd)})},Ye=function(){if(ue){var ze=(0,Te.Z)({},Ai(ue.lastCritical,ue.mode),{combine:null,destination:null,reason:"CANCEL"});et(ze)}};return{beforeCapture:me,beforeStart:fe,start:Se,update:Ae,flush:Ne,drop:et,abort:Ye}},wi=function(z,te){var ae=el(z,te);return function(ue){return function(me){return function(fe){if(fe.type==="BEFORE_INITIAL_CAPTURE"){ae.beforeCapture(fe.payload.draggableId,fe.payload.movementMode);return}if(fe.type==="INITIAL_PUBLISH"){var Se=fe.payload.critical;ae.beforeStart(Se,fe.payload.movementMode),me(fe),ae.start(Se,fe.payload.movementMode);return}if(fe.type==="DROP_COMPLETE"){var Ae=fe.payload.completed.result;ae.flush(),me(fe),ae.drop(Ae);return}if(me(fe),fe.type==="FLUSH"){ae.abort();return}var Ne=ue.getState();Ne.phase==="DRAGGING"&&ae.update(Ne.critical,Ne.impact)}}}},ki=function(z){return function(te){return function(ae){if(ae.type!=="DROP_ANIMATION_FINISHED"){te(ae);return}var ue=z.getState();ue.phase!=="DROP_ANIMATING"&&tn(!1),z.dispatch(Un({completed:ue.completed}))}}},ll=function(z){var te=null,ae=null;function ue(){ae&&(cancelAnimationFrame(ae),ae=null),te&&(te(),te=null)}return function(me){return function(fe){if((fe.type==="FLUSH"||fe.type==="DROP_COMPLETE"||fe.type==="DROP_ANIMATION_FINISHED")&&ue(),me(fe),fe.type==="DROP_ANIMATE"){var Se={eventName:"scroll",options:{capture:!0,passive:!1,once:!0},fn:function(){var Ne=z.getState();Ne.phase==="DROP_ANIMATING"&&z.dispatch(Wa())}};ae=requestAnimationFrame(function(){ae=null,te=Ra(window,[Se])})}}}},ul=function(z){return function(){return function(te){return function(ae){(ae.type==="DROP_COMPLETE"||ae.type==="FLUSH"||ae.type==="DROP_ANIMATE")&&z.stopPublishing(),te(ae)}}}},fl=function(z){var te=!1;return function(){return function(ae){return function(ue){if(ue.type==="INITIAL_PUBLISH"){te=!0,z.tryRecordFocus(ue.payload.critical.draggable.id),ae(ue),z.tryRestoreFocusRecorded();return}if(ae(ue),!!te){if(ue.type==="FLUSH"){te=!1,z.tryRestoreFocusRecorded();return}if(ue.type==="DROP_COMPLETE"){te=!1;var me=ue.payload.completed.result;me.combine&&z.tryShiftRecord(me.draggableId,me.combine.draggableId),z.tryRestoreFocusRecorded()}}}}}},pu=function(te){return te.type==="DROP_COMPLETE"||te.type==="DROP_ANIMATE"||te.type==="FLUSH"},bu=function(z){return function(te){return function(ae){return function(ue){if(pu(ue)){z.stop(),ae(ue);return}if(ue.type==="INITIAL_PUBLISH"){ae(ue);var me=te.getState();me.phase!=="DRAGGING"&&tn(!1),z.start(me);return}ae(ue),z.scroll(te.getState())}}}},Jo=function(z){return function(te){return function(ae){if(te(ae),ae.type==="PUBLISH_WHILE_DRAGGING"){var ue=z.getState();ue.phase==="DROP_PENDING"&&(ue.isWaiting||z.dispatch(Na({reason:ue.reason})))}}}},ol=Ze.qC,Vl=function(z){var te=z.dimensionMarshal,ae=z.focusMarshal,ue=z.styleMarshal,me=z.getResponders,fe=z.announce,Se=z.autoScroller;return(0,Ze.MT)(qs,ol((0,Ze.md)(so(ue),ul(te),Aa(te),zi,ki,ll,Jo,bu(Se),Gi,fl(ae),wi(me,fe))))},sl=function(){return{additions:{},removals:{},modified:{}}};function hu(z){var te=z.registry,ae=z.callbacks,ue=sl(),me=null,fe=function(){me||(ae.collectionStarting(),me=requestAnimationFrame(function(){me=null,Xu();var Ye=ue,Ve=Ye.additions,ze=Ye.removals,Et=Ye.modified,en=Object.keys(Ve).map(function(Ca){return te.draggable.getById(Ca).getDimension(Mr)}).sort(function(Ca,ar){return Ca.descriptor.index-ar.descriptor.index}),ra=Object.keys(Et).map(function(Ca){var ar=te.droppable.getById(Ca),hr=ar.callbacks.getScrollWhileDragging();return{droppableId:Ca,scroll:hr}}),pa={additions:en,removals:Object.keys(ze),modified:ra};ue=sl(),yu(),ae.publish(pa)}))},Se=function(Ye){var Ve=Ye.descriptor.id;ue.additions[Ve]=Ye,ue.modified[Ye.descriptor.droppableId]=!0,ue.removals[Ve]&&delete ue.removals[Ve],fe()},Ae=function(Ye){var Ve=Ye.descriptor;ue.removals[Ve.id]=!0,ue.modified[Ve.droppableId]=!0,ue.additions[Ve.id]&&delete ue.additions[Ve.id],fe()},Ne=function(){me&&(cancelAnimationFrame(me),me=null,ue=sl())};return{add:Se,remove:Ae,stop:Ne}}var Xl=function(z){var te=z.scrollHeight,ae=z.scrollWidth,ue=z.height,me=z.width,fe=lo({x:ae,y:te},{x:me,y:ue}),Se={x:Math.max(0,fe.x),y:Math.max(0,fe.y)};return Se},El=function(){var z=document.documentElement;return z||tn(!1),z},yi=function(){var z=El(),te=Xl({scrollHeight:z.scrollHeight,scrollWidth:z.scrollWidth,width:z.clientWidth,height:z.clientHeight});return te},Ui=function(){var z=ri(),te=yi(),ae=z.y,ue=z.x,me=El(),fe=me.clientWidth,Se=me.clientHeight,Ae=ue+fe,Ne=ae+Se,et=za({top:ae,left:ue,right:Ae,bottom:Ne}),Ye={frame:et,scroll:{initial:z,current:z,max:te,diff:{value:Mr,displacement:Mr}}};return Ye},Jl=function(z){var te=z.critical,ae=z.scrollOptions,ue=z.registry;Xu();var me=Ui(),fe=me.scroll.current,Se=te.droppable,Ae=ue.droppable.getAllByType(Se.type).map(function(Ve){return Ve.callbacks.getDimensionAndWatchScroll(fe,ae)}),Ne=ue.draggable.getAllByType(te.draggable.type).map(function(Ve){return Ve.getDimension(fe)}),et={draggables:ca(Ne),droppables:wt(Ae)};yu();var Ye={dimensions:et,critical:te,viewport:me};return Ye};function Sl(z,te,ae){if(ae.descriptor.id===te.id||ae.descriptor.type!==te.type)return!1;var ue=z.droppable.getById(ae.descriptor.droppableId);return ue.descriptor.mode==="virtual"}var Bl=function(z,te){var ae=null,ue=hu({callbacks:{publish:te.publishWhileDragging,collectionStarting:te.collectionStarting},registry:z}),me=function(Et,en){z.droppable.exists(Et)||tn(!1),ae&&te.updateDroppableIsEnabled({id:Et,isEnabled:en})},fe=function(Et,en){ae&&(z.droppable.exists(Et)||tn(!1),te.updateDroppableIsCombineEnabled({id:Et,isCombineEnabled:en}))},Se=function(Et,en){ae&&(z.droppable.exists(Et)||tn(!1),te.updateDroppableScroll({id:Et,newScroll:en}))},Ae=function(Et,en){ae&&z.droppable.getById(Et).callbacks.scroll(en)},Ne=function(){if(ae){ue.stop();var Et=ae.critical.droppable;z.droppable.getAllByType(Et.type).forEach(function(en){return en.callbacks.dragStopped()}),ae.unsubscribe(),ae=null}},et=function(Et){ae||tn(!1);var en=ae.critical.draggable;Et.type==="ADDITION"&&Sl(z,en,Et.value)&&ue.add(Et.value),Et.type==="REMOVAL"&&Sl(z,en,Et.value)&&ue.remove(Et.value)},Ye=function(Et){ae&&tn(!1);var en=z.draggable.getById(Et.draggableId),ra=z.droppable.getById(en.descriptor.droppableId),pa={draggable:en.descriptor,droppable:ra.descriptor},Ca=z.subscribe(et);return ae={critical:pa,unsubscribe:Ca},Jl({critical:pa,registry:z,scrollOptions:Et.scrollOptions})},Ve={updateDroppableIsEnabled:me,updateDroppableIsCombineEnabled:fe,scrollDroppable:Ae,updateDroppableScroll:Se,startPublishing:Ye,stopPublishing:Ne};return Ve},Pl=function(z,te){return z.phase==="IDLE"?!0:z.phase!=="DROP_ANIMATING"||z.completed.result.draggableId===te?!1:z.completed.result.reason==="DROP"},Al=function(z){window.scrollBy(z.x,z.y)},Vi=sn(function(z){return gr(z).filter(function(te){return!(!te.isEnabled||!te.frame)})}),dl=function(te,ae){var ue=rr(Vi(ae),function(me){return me.frame||tn(!1),Fu(me.frame.pageMarginBox)(te)});return ue},au=function(z){var te=z.center,ae=z.destination,ue=z.droppables;if(ae){var me=ue[ae];return me.frame?me:null}var fe=dl(te,ue);return fe},ni={startFromPercentage:.25,maxScrollAtPercentage:.05,maxPixelScroll:28,ease:function(te){return Math.pow(te,2)},durationDampening:{stopDampeningAt:1200,accelerateAt:360}},cl=function(z,te){var ae=z[te.size]*ni.startFromPercentage,ue=z[te.size]*ni.maxScrollAtPercentage,me={startScrollingFrom:ae,maxScrollValueAt:ue};return me},Zl=function(z){var te=z.startOfRange,ae=z.endOfRange,ue=z.current,me=ae-te;if(me===0)return 0;var fe=ue-te,Se=fe/me;return Se},Qo=1,Cl=function(z,te){if(z>te.startScrollingFrom)return 0;if(z<=te.maxScrollValueAt)return ni.maxPixelScroll;if(z===te.startScrollingFrom)return Qo;var ae=Zl({startOfRange:te.maxScrollValueAt,endOfRange:te.startScrollingFrom,current:z}),ue=1-ae,me=ni.maxPixelScroll*ni.ease(ue);return Math.ceil(me)},Dl=ni.durationDampening.accelerateAt,zl=ni.durationDampening.stopDampeningAt,Bu=function(z,te){var ae=te,ue=zl,me=Date.now(),fe=me-ae;if(fe>=zl)return z;if(fete.height,fe=ae.width>te.width;return!fe&&!me?ue:fe&&me?null:{x:fe?0:ue.x,y:me?0:ue.y}},ro=aa(function(z){return z===0?0:z}),er=function(z){var te=z.dragStartTime,ae=z.container,ue=z.subject,me=z.center,fe=z.shouldUseTimeDampening,Se={top:me.y-ae.top,right:ae.right-me.x,bottom:ae.bottom-me.y,left:me.x-ae.left},Ae=Du({container:ae,distanceToEdges:Se,dragStartTime:te,axis:li,shouldUseTimeDampening:fe}),Ne=Du({container:ae,distanceToEdges:Se,dragStartTime:te,axis:Mi,shouldUseTimeDampening:fe}),et=ro({x:Ne,y:Ae});if(dt(et,Mr))return null;var Ye=ru({container:ae,subject:ue,proposedScroll:et});return Ye?dt(Ye,Mr)?null:Ye:null},Co=aa(function(z){return z===0?0:z>0?1:-1}),bi=function(){var z=function(ae,ue){return ae<0?ae:ae>ue?ae-ue:0};return function(te){var ae=te.current,ue=te.max,me=te.change,fe=io(ae,me),Se={x:z(fe.x,ue.x),y:z(fe.y,ue.y)};return dt(Se,Mr)?null:Se}}(),Gl=function(te){var ae=te.max,ue=te.current,me=te.change,fe={x:Math.max(ue.x,ae.x),y:Math.max(ue.y,ae.y)},Se=Co(me),Ae=bi({max:fe,current:ue,change:Se});return!Ae||Se.x!==0&&Ae.x===0||Se.y!==0&&Ae.y===0},ou=function(te,ae){return Gl({current:te.scroll.current,max:te.scroll.max,change:ae})},ci=function(te,ae){if(!ou(te,ae))return null;var ue=te.scroll.max,me=te.scroll.current;return bi({current:me,max:ue,change:ae})},Nu=function(te,ae){var ue=te.frame;return ue?Gl({current:ue.scroll.current,max:ue.scroll.max,change:ae}):!1},Tu=function(te,ae){var ue=te.frame;return!ue||!Nu(te,ae)?null:bi({current:ue.scroll.current,max:ue.scroll.max,change:ae})},Yi=function(z){var te=z.viewport,ae=z.subject,ue=z.center,me=z.dragStartTime,fe=z.shouldUseTimeDampening,Se=er({dragStartTime:me,container:te.frame,subject:ae,center:ue,shouldUseTimeDampening:fe});return Se&&ou(te,Se)?Se:null},Qr=function(z){var te=z.droppable,ae=z.subject,ue=z.center,me=z.dragStartTime,fe=z.shouldUseTimeDampening,Se=te.frame;if(!Se)return null;var Ae=er({dragStartTime:me,container:Se.pageMarginBox,subject:ae,center:ue,shouldUseTimeDampening:fe});return Ae&&Nu(te,Ae)?Ae:null},wu=function(z){var te=z.state,ae=z.dragStartTime,ue=z.shouldUseTimeDampening,me=z.scrollWindow,fe=z.scrollDroppable,Se=te.current.page.borderBoxCenter,Ae=te.dimensions.draggables[te.critical.draggable.id],Ne=Ae.page.marginBox;if(te.isWindowScrollAllowed){var et=te.viewport,Ye=Yi({dragStartTime:ae,viewport:et,subject:Ne,center:Se,shouldUseTimeDampening:ue});if(Ye){me(Ye);return}}var Ve=au({center:Se,destination:Ni(te.impact),droppables:te.dimensions.droppables});if(Ve){var ze=Qr({dragStartTime:ae,droppable:Ve,subject:Ne,center:Se,shouldUseTimeDampening:ue});ze&&fe(Ve.descriptor.id,ze)}},wl=function(z){var te=z.scrollWindow,ae=z.scrollDroppable,ue=Jn(te),me=Jn(ae),fe=null,Se=function(Ye){fe||tn(!1);var Ve=fe,ze=Ve.shouldUseTimeDampening,Et=Ve.dragStartTime;wu({state:Ye,scrollWindow:ue,scrollDroppable:me,dragStartTime:Et,shouldUseTimeDampening:ze})},Ae=function(Ye){Xu(),fe&&tn(!1);var Ve=Date.now(),ze=!1,Et=function(){ze=!0};wu({state:Ye,dragStartTime:0,shouldUseTimeDampening:!1,scrollWindow:Et,scrollDroppable:Et}),fe={dragStartTime:Ve,shouldUseTimeDampening:ze},yu(),ze&&Se(Ye)},Ne=function(){fe&&(ue.cancel(),me.cancel(),fe=null)};return{start:Ae,stop:Ne,scroll:Se}},Ju=function(z){var te=z.move,ae=z.scrollDroppable,ue=z.scrollWindow,me=function(et,Ye){var Ve=io(et.current.client.selection,Ye);te({client:Ve})},fe=function(et,Ye){if(!Nu(et,Ye))return Ye;var Ve=Tu(et,Ye);if(!Ve)return ae(et.descriptor.id,Ye),null;var ze=lo(Ye,Ve);ae(et.descriptor.id,ze);var Et=lo(Ye,ze);return Et},Se=function(et,Ye,Ve){if(!et||!ou(Ye,Ve))return Ve;var ze=ci(Ye,Ve);if(!ze)return ue(Ve),null;var Et=lo(Ve,ze);ue(Et);var en=lo(Ve,Et);return en},Ae=function(et){var Ye=et.scrollJumpRequest;if(Ye){var Ve=Ni(et.impact);Ve||tn(!1);var ze=fe(et.dimensions.droppables[Ve],Ye);if(ze){var Et=et.viewport,en=Se(et.isWindowScrollAllowed,Et,ze);en&&me(et,en)}}};return Ae},Fs=function(z){var te=z.scrollDroppable,ae=z.scrollWindow,ue=z.move,me=wl({scrollWindow:ae,scrollDroppable:te}),fe=Ju({move:ue,scrollWindow:ae,scrollDroppable:te}),Se=function(et){if(et.phase==="DRAGGING"){if(et.movementMode==="FLUID"){me.scroll(et);return}et.scrollJumpRequest&&fe(et)}},Ae={scroll:Se,start:me.start,stop:me.stop};return Ae},Eu="data-rbd",iu=function(){var z=Eu+"-drag-handle";return{base:z,draggableId:z+"-draggable-id",contextId:z+"-context-id"}}(),Ql=function(){var z=Eu+"-draggable";return{base:z,contextId:z+"-context-id",id:z+"-id"}}(),as=function(){var z=Eu+"-droppable";return{base:z,contextId:z+"-context-id",id:z+"-id"}}(),rs={contextId:Eu+"-scroll-container-context-id"},Ru=function(te){return function(ae){return"["+ae+'="'+te+'"]'}},vo=function(te,ae){return te.map(function(ue){var me=ue.styles[ae];return me?ue.selector+" { "+me+" }":""}).join(" ")},Tr="pointer-events: none;",il=function(z){var te=Ru(z),ae=function(){var Ae=` + `},yn={dragHandleUsageInstructions:ha,onDragStart:Yr,onDragUpdate:Mo,onDragEnd:ho},Mr={x:0,y:0},io=function(te,ae){return{x:te.x+ae.x,y:te.y+ae.y}},lo=function(te,ae){return{x:te.x-ae.x,y:te.y-ae.y}},dt=function(te,ae){return te.x===ae.x&&te.y===ae.y},Ue=function(te){return{x:te.x!==0?-te.x:0,y:te.y!==0?-te.y:0}},We=function(te,ae,ue){var me;return ue===void 0&&(ue=0),me={},me[te]=ae,me[te==="x"?"y":"x"]=ue,me},Rt=function(te,ae){return Math.sqrt(Math.pow(ae.x-te.x,2)+Math.pow(ae.y-te.y,2))},Cn=function(te,ae){return Math.min.apply(Math,ae.map(function(ue){return Rt(te,ue)}))},aa=function(te){return function(ae){return{x:te(ae.x),y:te(ae.y)}}},Oe=function(z,te){var ae=za({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 ae.width<=0||ae.height<=0?null:ae},it=function(te,ae){return{top:te.top+ae.y,left:te.left+ae.x,bottom:te.bottom+ae.y,right:te.right+ae.x}},Me=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}]},ut={top:0,right:0,bottom:0,left:0},zt=function(te,ae){return ae?it(te,ae.scroll.diff.displacement):te},Ga=function(te,ae,ue){if(ue&&ue.increasedBy){var me;return(0,Te.Z)({},te,(me={},me[ae.end]=te[ae.end]+ue.increasedBy[ae.line],me))}return te},ja=function(te,ae){return ae&&ae.shouldClipSubject?Oe(ae.pageMarginBox,te):za(te)},Vn=function(z){var te=z.page,ae=z.withPlaceholder,ue=z.axis,me=z.frame,fe=zt(te.marginBox,me),Se=Ga(fe,ue,ae),Ae=ja(Se,me);return{page:te,withPlaceholder:ae,active:Ae}},Jt=function(z,te){z.frame||tn(!1);var ae=z.frame,ue=lo(te,ae.scroll.initial),me=Ue(ue),fe=(0,Te.Z)({},ae,{scroll:{initial:ae.scroll.initial,current:te,diff:{value:ue,displacement:me},max:ae.scroll.max}}),Se=Vn({page:z.subject.page,withPlaceholder:z.subject.withPlaceholder,axis:z.axis,frame:fe}),Ae=(0,Te.Z)({},z,{frame:fe,subject:Se});return Ae};function Hn(z){return Number.isInteger?Number.isInteger(z):typeof z=="number"&&isFinite(z)&&Math.floor(z)===z}function ba(z){return Object.values?Object.values(z):Object.keys(z).map(function(te){return z[te]})}function La(z,te){if(z.findIndex)return z.findIndex(te);for(var ae=0;aez.bottom,et=ue.leftz.right,Ye=Ne&&et;if(Ye)return!0;var Ve=Ne&&Se||et&&fe;return Ve}},ai=function(z){var te=_r(z.top,z.bottom),ae=_r(z.left,z.right);return function(ue){var me=te(ue.top)&&te(ue.bottom)&&ae(ue.left)&&ae(ue.right);return me}},li={direction:"vertical",line:"y",crossAxisLine:"x",start:"top",end:"bottom",size:"height",crossAxisStart:"left",crossAxisEnd:"right",crossAxisSize:"width"},Mi={direction:"horizontal",line:"x",crossAxisLine:"y",start:"left",end:"right",size:"width",crossAxisStart:"top",crossAxisEnd:"bottom",crossAxisSize:"height"},Gr=function(z){return function(te){var ae=_r(te.top,te.bottom),ue=_r(te.left,te.right);return function(me){return z===li?ae(me.top)&&ae(me.bottom):ue(me.left)&&ue(me.right)}}},Sa=function(te,ae){var ue=ae.frame?ae.frame.scroll.diff.displacement:Mr;return it(te,ue)},kn=function(te,ae,ue){return ae.subject.active?ue(ae.subject.active)(te):!1},$t=function(te,ae,ue){return ue(ae)(te)},Mn=function(te){var ae=te.target,ue=te.destination,me=te.viewport,fe=te.withDroppableDisplacement,Se=te.isVisibleThroughFrameFn,Ae=fe?Sa(ae,ue):ae;return kn(Ae,ue,Se)&&$t(Ae,me,Se)},pr=function(te){return Mn((0,Te.Z)({},te,{isVisibleThroughFrameFn:Eo}))},be=function(te){return Mn((0,Te.Z)({},te,{isVisibleThroughFrameFn:ai}))},jr=function(te){return Mn((0,Te.Z)({},te,{isVisibleThroughFrameFn:Gr(te.destination.axis)}))},Za=function(te,ae,ue){if(typeof ue=="boolean")return ue;if(!ae)return!0;var me=ae.invisible,fe=ae.visible;if(me[te])return!1;var Se=fe[te];return Se?Se.shouldAnimate:!0};function mr(z,te){var ae=z.page.marginBox,ue={top:te.point.y,right:0,bottom:0,left:te.point.x};return za(sr(ae,ue))}function fr(z){var te=z.afterDragging,ae=z.destination,ue=z.displacedBy,me=z.viewport,fe=z.forceShouldAnimate,Se=z.last;return te.reduce(function(Ne,et){var Ye=mr(et,ue),Ve=et.descriptor.id;Ne.all.push(Ve);var ze=pr({target:Ye,destination:ae,viewport:me,withDroppableDisplacement:!0});if(!ze)return Ne.invisible[et.descriptor.id]=!0,Ne;var Et=Za(Ve,Se,fe),en={draggableId:Ve,shouldAnimate:Et};return Ne.visible[Ve]=en,Ne},{all:[],visible:{},invisible:{}})}function Vr(z,te){if(!z.length)return 0;var ae=z[z.length-1].descriptor.index;return te.inHomeList?ae:ae+1}function Xr(z){var te=z.insideDestination,ae=z.inHomeList,ue=z.displacedBy,me=z.destination,fe=Vr(te,{inHomeList:ae});return{displaced:to,displacedBy:ue,at:{type:"REORDER",destination:{droppableId:me.descriptor.id,index:fe}}}}function yo(z){var te=z.draggable,ae=z.insideDestination,ue=z.destination,me=z.viewport,fe=z.displacedBy,Se=z.last,Ae=z.index,Ne=z.forceShouldAnimate,et=zr(te,ue);if(Ae==null)return Xr({insideDestination:ae,inHomeList:et,displacedBy:fe,destination:ue});var Ye=rr(ae,function(ra){return ra.descriptor.index===Ae});if(!Ye)return Xr({insideDestination:ae,inHomeList:et,displacedBy:fe,destination:ue});var Ve=pn(te,ae),ze=ae.indexOf(Ye),Et=Ve.slice(ze),en=fr({afterDragging:Et,destination:ue,displacedBy:fe,last:Se,viewport:me.frame,forceShouldAnimate:Ne});return{displaced:en,displacedBy:fe,at:{type:"REORDER",destination:{droppableId:ue.descriptor.id,index:Ae}}}}function So(z,te){return!!te.effected[z]}var ui=function(z){var te=z.isMovingForward,ae=z.destination,ue=z.draggables,me=z.combine,fe=z.afterCritical;if(!ae.isCombineEnabled)return null;var Se=me.draggableId,Ae=ue[Se],Ne=Ae.descriptor.index,et=So(Se,fe);return et?te?Ne:Ne-1:te?Ne+1:Ne},ko=function(z){var te=z.isMovingForward,ae=z.isInHomeList,ue=z.insideDestination,me=z.location;if(!ue.length)return null;var fe=me.index,Se=te?fe+1:fe-1,Ae=ue[0].descriptor.index,Ne=ue[ue.length-1].descriptor.index,et=ae?Ne:Ne+1;return Seet?null:Se},Di=function(z){var te=z.isMovingForward,ae=z.isInHomeList,ue=z.draggable,me=z.draggables,fe=z.destination,Se=z.insideDestination,Ae=z.previousImpact,Ne=z.viewport,et=z.afterCritical,Ye=Ae.at;if(Ye||tn(!1),Ye.type==="REORDER"){var Ve=ko({isMovingForward:te,isInHomeList:ae,location:Ye.destination,insideDestination:Se});return Ve==null?null:yo({draggable:ue,insideDestination:Se,destination:fe,viewport:Ne,last:Ae.displaced,displacedBy:Ae.displacedBy,index:Ve})}var ze=ui({isMovingForward:te,destination:fe,displaced:Ae.displaced,draggables:me,combine:Ye.combine,afterCritical:et});return ze==null?null:yo({draggable:ue,insideDestination:Se,destination:fe,viewport:Ne,last:Ae.displaced,displacedBy:Ae.displacedBy,index:ze})},hl=function(z){var te=z.displaced,ae=z.afterCritical,ue=z.combineWith,me=z.displacedBy,fe=!!(te.visible[ue]||te.invisible[ue]);return So(ue,ae)?fe?Mr:Ue(me.point):fe?me.point:Mr},di=function(z){var te=z.afterCritical,ae=z.impact,ue=z.draggables,me=Rn(ae);me||tn(!1);var fe=me.draggableId,Se=ue[fe].page.borderBox.center,Ae=hl({displaced:ae.displaced,afterCritical:te,combineWith:fe,displacedBy:ae.displacedBy});return io(Se,Ae)},bl=function(te,ae){return ae.margin[te.start]+ae.borderBox[te.size]/2},Ii=function(te,ae){return ae.margin[te.end]+ae.borderBox[te.size]/2},gl=function(te,ae,ue){return ae[te.crossAxisStart]+ue.margin[te.crossAxisStart]+ue.borderBox[te.crossAxisSize]/2},al=function(te){var ae=te.axis,ue=te.moveRelativeTo,me=te.isMoving;return We(ae.line,ue.marginBox[ae.end]+bl(ae,me),gl(ae,ue.marginBox,me))},Il=function(te){var ae=te.axis,ue=te.moveRelativeTo,me=te.isMoving;return We(ae.line,ue.marginBox[ae.start]-Ii(ae,me),gl(ae,ue.marginBox,me))},rl=function(te){var ae=te.axis,ue=te.moveInto,me=te.isMoving;return We(ae.line,ue.contentBox[ae.start]+bl(ae,me),gl(ae,ue.contentBox,me))},Pu=function(z){var te=z.impact,ae=z.draggable,ue=z.draggables,me=z.droppable,fe=z.afterCritical,Se=dr(me.descriptor.id,ue),Ae=ae.page,Ne=me.axis;if(!Se.length)return rl({axis:Ne,moveInto:me.page,isMoving:Ae});var et=te.displaced,Ye=te.displacedBy,Ve=et.all[0];if(Ve){var ze=ue[Ve];if(So(Ve,fe))return Il({axis:Ne,moveRelativeTo:ze.page,isMoving:Ae});var Et=Dr(ze.page,Ye.point);return Il({axis:Ne,moveRelativeTo:Et,isMoving:Ae})}var en=Se[Se.length-1];if(en.descriptor.id===ae.descriptor.id)return Ae.borderBox.center;if(So(en.descriptor.id,fe)){var ra=Dr(en.page,Ue(fe.displacedBy.point));return al({axis:Ne,moveRelativeTo:ra,isMoving:Ae})}return al({axis:Ne,moveRelativeTo:en.page,isMoving:Ae})},$l=function(z,te){var ae=z.frame;return ae?io(te,ae.scroll.diff.displacement):te},Au=function(te){var ae=te.impact,ue=te.draggable,me=te.droppable,fe=te.draggables,Se=te.afterCritical,Ae=ue.page.borderBox.center,Ne=ae.at;return!me||!Ne?Ae:Ne.type==="REORDER"?Pu({impact:ae,draggable:ue,draggables:fe,droppable:me,afterCritical:Se}):di({impact:ae,draggables:fe,afterCritical:Se})},eu=function(z){var te=Au(z),ae=z.droppable,ue=ae?$l(ae,te):te;return ue},$u=function(z,te){var ae=lo(te,z.scroll.initial),ue=Ue(ae),me=za({top:te.y,bottom:te.y+z.frame.height,left:te.x,right:te.x+z.frame.width}),fe={frame:me,scroll:{initial:z.scroll.initial,max:z.scroll.max,current:te,diff:{value:ae,displacement:ue}}};return fe};function Si(z,te){return z.map(function(ae){return te[ae]})}function va(z,te){for(var ae=0;ae1?Ye.sort(function(Ve,ze){return gi(Ve)[Ae.start]-gi(ze)[Ae.start]})[0]:et.sort(function(Ve,ze){var Et=Cn(ae,Me(gi(Ve))),en=Cn(ae,Me(gi(ze)));return Et!==en?Et-en:gi(Ve)[Ae.start]-gi(ze)[Ae.start]})[0]},mu=function(te,ae){var ue=te.page.borderBox.center;return So(te.descriptor.id,ae)?lo(ue,ae.displacedBy.point):ue},Xo=function(te,ae){var ue=te.page.borderBox;return So(te.descriptor.id,ae)?it(ue,Ue(ae.displacedBy.point)):ue},Nl=function(z){var te=z.pageBorderBoxCenter,ae=z.viewport,ue=z.destination,me=z.insideDestination,fe=z.afterCritical,Se=me.filter(function(Ae){return be({target:Xo(Ae,fe),destination:ue,viewport:ae.frame,withDroppableDisplacement:!0})}).sort(function(Ae,Ne){var et=Rt(te,$l(ue,mu(Ae,fe))),Ye=Rt(te,$l(ue,mu(Ne,fe)));return ette.left&&z.topte.top}function ps(z){var te=z.pageBorderBox,ae=z.draggable,ue=z.candidates,me=ae.page.borderBox.center,fe=ue.map(function(Se){var Ae=Se.axis,Ne=We(Se.axis.line,te.center[Ae.line],Se.page.borderBox.center[Ae.crossAxisLine]);return{id:Se.descriptor.id,distance:Rt(me,Ne)}}).sort(function(Se,Ae){return Ae.distance-Se.distance});return fe[0]?fe[0].id:null}function Ys(z){var te=z.pageBorderBox,ae=z.draggable,ue=z.droppables,me=gr(ue).filter(function(fe){if(!fe.isEnabled)return!1;var Se=fe.subject.active;if(!Se||!vs(te,Se))return!1;if(Fu(Se)(te.center))return!0;var Ae=fe.axis,Ne=Se.center[Ae.crossAxisLine],et=te[Ae.crossAxisStart],Ye=te[Ae.crossAxisEnd],Ve=_r(Se[Ae.crossAxisStart],Se[Ae.crossAxisEnd]),ze=Ve(et),Et=Ve(Ye);return!ze&&!Et?!0:ze?etNe});return me.length?me.length===1?me[0].descriptor.id:ps({pageBorderBox:te,draggable:ae,candidates:me}):null}var Hu=function(te,ae){return za(it(te,ae))},tu=function(z,te){var ae=z.frame;return ae?Hu(te,ae.scroll.diff.value):te};function Mu(z){var te=z.displaced,ae=z.id;return!!(te.visible[ae]||te.invisible[ae])}function Os(z){var te=z.draggable,ae=z.closest,ue=z.inHomeList;return ae?ue&&ae.descriptor.index>te.descriptor.index?ae.descriptor.index-1:ae.descriptor.index:null}var Hs=function(z){var te=z.pageBorderBoxWithDroppableScroll,ae=z.draggable,ue=z.destination,me=z.insideDestination,fe=z.last,Se=z.viewport,Ae=z.afterCritical,Ne=ue.axis,et=Tl(ue.axis,ae.displaceBy),Ye=et.value,Ve=te[Ne.start],ze=te[Ne.end],Et=pn(ae,me),en=rr(Et,function(pa){var Ca=pa.descriptor.id,ar=pa.page.borderBox.center[Ne.line],hr=So(Ca,Ae),Fr=Mu({displaced:fe,id:Ca});return hr?Fr?ze<=ar:VeCa[Ae.start]+hr&&VeCa[Ae.start]-et+hr&&YeCa[Ae.start]+et+hr&&VeCa[Ae.start]+hr&&Ye=Ko)return Oo;var fe=me/Ko,Se=ao+$o*fe,Ae=ue==="CANCEL"?Se*Uo:Se;return Number(Ae.toFixed(2))},Ti=function(z){var te=z.impact,ae=z.draggable,ue=z.dimensions,me=z.viewport,fe=z.afterCritical,Se=ue.draggables,Ae=ue.droppables,Ne=Ni(te),et=Ne?Ae[Ne]:null,Ye=Ae[ae.descriptor.droppableId],Ve=Ss({impact:te,draggable:ae,draggables:Se,afterCritical:fe,droppable:et||Ye,viewport:me}),ze=lo(Ve,ae.client.borderBox.center);return ze},Pi=function(z){var te=z.draggables,ae=z.reason,ue=z.lastImpact,me=z.home,fe=z.viewport,Se=z.onLiftImpact;if(!ue.at||ae!=="DROP"){var Ae=Iu({draggables:te,impact:Se,destination:me,viewport:fe,forceShouldAnimate:!0});return{impact:Ae,didDropInsideDroppable:!1}}if(ue.at.type==="REORDER")return{impact:ue,didDropInsideDroppable:!0};var Ne=(0,Te.Z)({},ue,{displaced:to});return{impact:Ne,didDropInsideDroppable:!0}},zi=function(z){var te=z.getState,ae=z.dispatch;return function(ue){return function(me){if(me.type!=="DROP"){ue(me);return}var fe=te(),Se=me.payload.reason;if(fe.phase==="COLLECTING"){ae(Pa({reason:Se}));return}if(fe.phase!=="IDLE"){var Ae=fe.phase==="DROP_PENDING"&&fe.isWaiting;Ae&&tn(!1),fe.phase==="DRAGGING"||fe.phase==="DROP_PENDING"||tn(!1);var Ne=fe.critical,et=fe.dimensions,Ye=et.draggables[fe.critical.draggable.id],Ve=Pi({reason:Se,lastImpact:fe.impact,afterCritical:fe.afterCritical,onLiftImpact:fe.onLiftImpact,home:fe.dimensions.droppables[fe.critical.droppable.id],viewport:fe.viewport,draggables:fe.dimensions.draggables}),ze=Ve.impact,Et=Ve.didDropInsideDroppable,en=Et?Zn(ze):null,ra=Et?Rn(ze):null,pa={index:Ne.draggable.index,droppableId:Ne.droppable.id},Ca={draggableId:Ye.descriptor.id,type:Ye.descriptor.type,source:pa,reason:Se,mode:fe.movementMode,destination:en,combine:ra},ar=Ti({impact:ze,draggable:Ye,dimensions:et,viewport:fe.viewport,afterCritical:fe.afterCritical}),hr={critical:fe.critical,afterCritical:fe.afterCritical,result:Ca,impact:ze},Fr=!dt(fe.current.client.offset,ar)||!!Ca.combine;if(!Fr){ae(Un({completed:hr}));return}var Lo=fi({current:fe.current.client.offset,destination:ar,reason:Se}),Fo={newHomeClientOffset:ar,dropDuration:Lo,completed:hr};ae(En(Fo))}}}},ri=function(){return{x:window.pageXOffset,y:window.pageYOffset}};function Ki(z){return{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(ae){ae.target!==window&&ae.target!==window.document||z()}}}function vi(z){var te=z.onWindowScroll;function ae(){te(ri())}var ue=Jn(ae),me=Ki(ue),fe=ua;function Se(){return fe!==ua}function Ae(){Se()&&tn(!1),fe=Ra(window,[me])}function Ne(){Se()||tn(!1),ue.cancel(),fe(),fe=ua}return{start:Ae,stop:Ne,isActive:Se}}var Oi=function(te){return te.type==="DROP_COMPLETE"||te.type==="DROP_ANIMATE"||te.type==="FLUSH"},Gi=function(z){var te=vi({onWindowScroll:function(ue){z.dispatch(gn({newScroll:ue}))}});return function(ae){return function(ue){!te.isActive()&&ue.type==="INITIAL_PUBLISH"&&te.start(),te.isActive()&&Oi(ue)&&te.stop(),ae(ue)}}},$i=function(z){var te=!1,ae=!1,ue=setTimeout(function(){ae=!0}),me=function(Se){te||ae||(te=!0,z(Se),clearTimeout(ue))};return me.wasCalled=function(){return te},me},ji=function(){var z=[],te=function(fe){var Se=La(z,function(et){return et.timerId===fe});Se===-1&&tn(!1);var Ae=z.splice(Se,1),Ne=Ae[0];Ne.callback()},ae=function(fe){var Se=setTimeout(function(){return te(Se)}),Ae={timerId:Se,callback:fe};z.push(Ae)},ue=function(){if(z.length){var fe=[].concat(z);z.length=0,fe.forEach(function(Se){clearTimeout(Se.timerId),Se.callback()})}};return{add:ae,flush:ue}},ml=function(te,ae){return te==null&&ae==null?!0:te==null||ae==null?!1:te.droppableId===ae.droppableId&&te.index===ae.index},kl=function(te,ae){return te==null&&ae==null?!0:te==null||ae==null?!1:te.draggableId===ae.draggableId&&te.droppableId===ae.droppableId},Ao=function(te,ae){if(te===ae)return!0;var ue=te.draggable.id===ae.draggable.id&&te.draggable.droppableId===ae.draggable.droppableId&&te.draggable.type===ae.draggable.type&&te.draggable.index===ae.draggable.index,me=te.droppable.id===ae.droppable.id&&te.droppable.type===ae.droppable.type;return ue&&me},Hr=function(te,ae){Xu(),ae(),yu()},Ai=function(te,ae){return{draggableId:te.draggable.id,type:te.droppable.type,source:{droppableId:te.droppable.id,index:te.draggable.index},mode:ae}},Ri=function(te,ae,ue,me){if(!te){ue(me(ae));return}var fe=$i(ue),Se={announce:fe};te(ae,Se),fe.wasCalled()||ue(me(ae))},el=function(z,te){var ae=ji(),ue=null,me=function(ze,Et){ue&&tn(!1),Hr("onBeforeCapture",function(){var en=z().onBeforeCapture;if(en){var ra={draggableId:ze,mode:Et};en(ra)}})},fe=function(ze,Et){ue&&tn(!1),Hr("onBeforeDragStart",function(){var en=z().onBeforeDragStart;en&&en(Ai(ze,Et))})},Se=function(ze,Et){ue&&tn(!1);var en=Ai(ze,Et);ue={mode:Et,lastCritical:ze,lastLocation:en.source,lastCombine:null},ae.add(function(){Hr("onDragStart",function(){return Ri(z().onDragStart,en,te,yn.onDragStart)})})},Ae=function(ze,Et){var en=Zn(Et),ra=Rn(Et);ue||tn(!1);var pa=!Ao(ze,ue.lastCritical);pa&&(ue.lastCritical=ze);var Ca=!ml(ue.lastLocation,en);Ca&&(ue.lastLocation=en);var ar=!kl(ue.lastCombine,ra);if(ar&&(ue.lastCombine=ra),!(!pa&&!Ca&&!ar)){var hr=(0,Te.Z)({},Ai(ze,ue.mode),{combine:ra,destination:en});ae.add(function(){Hr("onDragUpdate",function(){return Ri(z().onDragUpdate,hr,te,yn.onDragUpdate)})})}},Ne=function(){ue||tn(!1),ae.flush()},et=function(ze){ue||tn(!1),ue=null,Hr("onDragEnd",function(){return Ri(z().onDragEnd,ze,te,yn.onDragEnd)})},Ye=function(){if(ue){var ze=(0,Te.Z)({},Ai(ue.lastCritical,ue.mode),{combine:null,destination:null,reason:"CANCEL"});et(ze)}};return{beforeCapture:me,beforeStart:fe,start:Se,update:Ae,flush:Ne,drop:et,abort:Ye}},wi=function(z,te){var ae=el(z,te);return function(ue){return function(me){return function(fe){if(fe.type==="BEFORE_INITIAL_CAPTURE"){ae.beforeCapture(fe.payload.draggableId,fe.payload.movementMode);return}if(fe.type==="INITIAL_PUBLISH"){var Se=fe.payload.critical;ae.beforeStart(Se,fe.payload.movementMode),me(fe),ae.start(Se,fe.payload.movementMode);return}if(fe.type==="DROP_COMPLETE"){var Ae=fe.payload.completed.result;ae.flush(),me(fe),ae.drop(Ae);return}if(me(fe),fe.type==="FLUSH"){ae.abort();return}var Ne=ue.getState();Ne.phase==="DRAGGING"&&ae.update(Ne.critical,Ne.impact)}}}},ki=function(z){return function(te){return function(ae){if(ae.type!=="DROP_ANIMATION_FINISHED"){te(ae);return}var ue=z.getState();ue.phase!=="DROP_ANIMATING"&&tn(!1),z.dispatch(Un({completed:ue.completed}))}}},ll=function(z){var te=null,ae=null;function ue(){ae&&(cancelAnimationFrame(ae),ae=null),te&&(te(),te=null)}return function(me){return function(fe){if((fe.type==="FLUSH"||fe.type==="DROP_COMPLETE"||fe.type==="DROP_ANIMATION_FINISHED")&&ue(),me(fe),fe.type==="DROP_ANIMATE"){var Se={eventName:"scroll",options:{capture:!0,passive:!1,once:!0},fn:function(){var Ne=z.getState();Ne.phase==="DROP_ANIMATING"&&z.dispatch(Wa())}};ae=requestAnimationFrame(function(){ae=null,te=Ra(window,[Se])})}}}},ul=function(z){return function(){return function(te){return function(ae){(ae.type==="DROP_COMPLETE"||ae.type==="FLUSH"||ae.type==="DROP_ANIMATE")&&z.stopPublishing(),te(ae)}}}},fl=function(z){var te=!1;return function(){return function(ae){return function(ue){if(ue.type==="INITIAL_PUBLISH"){te=!0,z.tryRecordFocus(ue.payload.critical.draggable.id),ae(ue),z.tryRestoreFocusRecorded();return}if(ae(ue),!!te){if(ue.type==="FLUSH"){te=!1,z.tryRestoreFocusRecorded();return}if(ue.type==="DROP_COMPLETE"){te=!1;var me=ue.payload.completed.result;me.combine&&z.tryShiftRecord(me.draggableId,me.combine.draggableId),z.tryRestoreFocusRecorded()}}}}}},pu=function(te){return te.type==="DROP_COMPLETE"||te.type==="DROP_ANIMATE"||te.type==="FLUSH"},bu=function(z){return function(te){return function(ae){return function(ue){if(pu(ue)){z.stop(),ae(ue);return}if(ue.type==="INITIAL_PUBLISH"){ae(ue);var me=te.getState();me.phase!=="DRAGGING"&&tn(!1),z.start(me);return}ae(ue),z.scroll(te.getState())}}}},Jo=function(z){return function(te){return function(ae){if(te(ae),ae.type==="PUBLISH_WHILE_DRAGGING"){var ue=z.getState();ue.phase==="DROP_PENDING"&&(ue.isWaiting||z.dispatch(Na({reason:ue.reason})))}}}},ol=Ze.qC,Vl=function(z){var te=z.dimensionMarshal,ae=z.focusMarshal,ue=z.styleMarshal,me=z.getResponders,fe=z.announce,Se=z.autoScroller;return(0,Ze.MT)(qs,ol((0,Ze.md)(so(ue),ul(te),Aa(te),zi,ki,ll,Jo,bu(Se),Gi,fl(ae),wi(me,fe))))},sl=function(){return{additions:{},removals:{},modified:{}}};function hu(z){var te=z.registry,ae=z.callbacks,ue=sl(),me=null,fe=function(){me||(ae.collectionStarting(),me=requestAnimationFrame(function(){me=null,Xu();var Ye=ue,Ve=Ye.additions,ze=Ye.removals,Et=Ye.modified,en=Object.keys(Ve).map(function(Ca){return te.draggable.getById(Ca).getDimension(Mr)}).sort(function(Ca,ar){return Ca.descriptor.index-ar.descriptor.index}),ra=Object.keys(Et).map(function(Ca){var ar=te.droppable.getById(Ca),hr=ar.callbacks.getScrollWhileDragging();return{droppableId:Ca,scroll:hr}}),pa={additions:en,removals:Object.keys(ze),modified:ra};ue=sl(),yu(),ae.publish(pa)}))},Se=function(Ye){var Ve=Ye.descriptor.id;ue.additions[Ve]=Ye,ue.modified[Ye.descriptor.droppableId]=!0,ue.removals[Ve]&&delete ue.removals[Ve],fe()},Ae=function(Ye){var Ve=Ye.descriptor;ue.removals[Ve.id]=!0,ue.modified[Ve.droppableId]=!0,ue.additions[Ve.id]&&delete ue.additions[Ve.id],fe()},Ne=function(){me&&(cancelAnimationFrame(me),me=null,ue=sl())};return{add:Se,remove:Ae,stop:Ne}}var Xl=function(z){var te=z.scrollHeight,ae=z.scrollWidth,ue=z.height,me=z.width,fe=lo({x:ae,y:te},{x:me,y:ue}),Se={x:Math.max(0,fe.x),y:Math.max(0,fe.y)};return Se},El=function(){var z=document.documentElement;return z||tn(!1),z},yi=function(){var z=El(),te=Xl({scrollHeight:z.scrollHeight,scrollWidth:z.scrollWidth,width:z.clientWidth,height:z.clientHeight});return te},Ui=function(){var z=ri(),te=yi(),ae=z.y,ue=z.x,me=El(),fe=me.clientWidth,Se=me.clientHeight,Ae=ue+fe,Ne=ae+Se,et=za({top:ae,left:ue,right:Ae,bottom:Ne}),Ye={frame:et,scroll:{initial:z,current:z,max:te,diff:{value:Mr,displacement:Mr}}};return Ye},Jl=function(z){var te=z.critical,ae=z.scrollOptions,ue=z.registry;Xu();var me=Ui(),fe=me.scroll.current,Se=te.droppable,Ae=ue.droppable.getAllByType(Se.type).map(function(Ve){return Ve.callbacks.getDimensionAndWatchScroll(fe,ae)}),Ne=ue.draggable.getAllByType(te.draggable.type).map(function(Ve){return Ve.getDimension(fe)}),et={draggables:ca(Ne),droppables:wt(Ae)};yu();var Ye={dimensions:et,critical:te,viewport:me};return Ye};function Sl(z,te,ae){if(ae.descriptor.id===te.id||ae.descriptor.type!==te.type)return!1;var ue=z.droppable.getById(ae.descriptor.droppableId);return ue.descriptor.mode==="virtual"}var Bl=function(z,te){var ae=null,ue=hu({callbacks:{publish:te.publishWhileDragging,collectionStarting:te.collectionStarting},registry:z}),me=function(Et,en){z.droppable.exists(Et)||tn(!1),ae&&te.updateDroppableIsEnabled({id:Et,isEnabled:en})},fe=function(Et,en){ae&&(z.droppable.exists(Et)||tn(!1),te.updateDroppableIsCombineEnabled({id:Et,isCombineEnabled:en}))},Se=function(Et,en){ae&&(z.droppable.exists(Et)||tn(!1),te.updateDroppableScroll({id:Et,newScroll:en}))},Ae=function(Et,en){ae&&z.droppable.getById(Et).callbacks.scroll(en)},Ne=function(){if(ae){ue.stop();var Et=ae.critical.droppable;z.droppable.getAllByType(Et.type).forEach(function(en){return en.callbacks.dragStopped()}),ae.unsubscribe(),ae=null}},et=function(Et){ae||tn(!1);var en=ae.critical.draggable;Et.type==="ADDITION"&&Sl(z,en,Et.value)&&ue.add(Et.value),Et.type==="REMOVAL"&&Sl(z,en,Et.value)&&ue.remove(Et.value)},Ye=function(Et){ae&&tn(!1);var en=z.draggable.getById(Et.draggableId),ra=z.droppable.getById(en.descriptor.droppableId),pa={draggable:en.descriptor,droppable:ra.descriptor},Ca=z.subscribe(et);return ae={critical:pa,unsubscribe:Ca},Jl({critical:pa,registry:z,scrollOptions:Et.scrollOptions})},Ve={updateDroppableIsEnabled:me,updateDroppableIsCombineEnabled:fe,scrollDroppable:Ae,updateDroppableScroll:Se,startPublishing:Ye,stopPublishing:Ne};return Ve},Pl=function(z,te){return z.phase==="IDLE"?!0:z.phase!=="DROP_ANIMATING"||z.completed.result.draggableId===te?!1:z.completed.result.reason==="DROP"},Al=function(z){window.scrollBy(z.x,z.y)},Vi=sn(function(z){return gr(z).filter(function(te){return!(!te.isEnabled||!te.frame)})}),dl=function(te,ae){var ue=rr(Vi(ae),function(me){return me.frame||tn(!1),Fu(me.frame.pageMarginBox)(te)});return ue},au=function(z){var te=z.center,ae=z.destination,ue=z.droppables;if(ae){var me=ue[ae];return me.frame?me:null}var fe=dl(te,ue);return fe},ni={startFromPercentage:.25,maxScrollAtPercentage:.05,maxPixelScroll:28,ease:function(te){return Math.pow(te,2)},durationDampening:{stopDampeningAt:1200,accelerateAt:360}},cl=function(z,te){var ae=z[te.size]*ni.startFromPercentage,ue=z[te.size]*ni.maxScrollAtPercentage,me={startScrollingFrom:ae,maxScrollValueAt:ue};return me},Zl=function(z){var te=z.startOfRange,ae=z.endOfRange,ue=z.current,me=ae-te;if(me===0)return 0;var fe=ue-te,Se=fe/me;return Se},Qo=1,Cl=function(z,te){if(z>te.startScrollingFrom)return 0;if(z<=te.maxScrollValueAt)return ni.maxPixelScroll;if(z===te.startScrollingFrom)return Qo;var ae=Zl({startOfRange:te.maxScrollValueAt,endOfRange:te.startScrollingFrom,current:z}),ue=1-ae,me=ni.maxPixelScroll*ni.ease(ue);return Math.ceil(me)},Dl=ni.durationDampening.accelerateAt,zl=ni.durationDampening.stopDampeningAt,Bu=function(z,te){var ae=te,ue=zl,me=Date.now(),fe=me-ae;if(fe>=zl)return z;if(fete.height,fe=ae.width>te.width;return!fe&&!me?ue:fe&&me?null:{x:fe?0:ue.x,y:me?0:ue.y}},ro=aa(function(z){return z===0?0:z}),er=function(z){var te=z.dragStartTime,ae=z.container,ue=z.subject,me=z.center,fe=z.shouldUseTimeDampening,Se={top:me.y-ae.top,right:ae.right-me.x,bottom:ae.bottom-me.y,left:me.x-ae.left},Ae=Du({container:ae,distanceToEdges:Se,dragStartTime:te,axis:li,shouldUseTimeDampening:fe}),Ne=Du({container:ae,distanceToEdges:Se,dragStartTime:te,axis:Mi,shouldUseTimeDampening:fe}),et=ro({x:Ne,y:Ae});if(dt(et,Mr))return null;var Ye=ru({container:ae,subject:ue,proposedScroll:et});return Ye?dt(Ye,Mr)?null:Ye:null},Co=aa(function(z){return z===0?0:z>0?1:-1}),bi=function(){var z=function(ae,ue){return ae<0?ae:ae>ue?ae-ue:0};return function(te){var ae=te.current,ue=te.max,me=te.change,fe=io(ae,me),Se={x:z(fe.x,ue.x),y:z(fe.y,ue.y)};return dt(Se,Mr)?null:Se}}(),Gl=function(te){var ae=te.max,ue=te.current,me=te.change,fe={x:Math.max(ue.x,ae.x),y:Math.max(ue.y,ae.y)},Se=Co(me),Ae=bi({max:fe,current:ue,change:Se});return!Ae||Se.x!==0&&Ae.x===0||Se.y!==0&&Ae.y===0},ou=function(te,ae){return Gl({current:te.scroll.current,max:te.scroll.max,change:ae})},ci=function(te,ae){if(!ou(te,ae))return null;var ue=te.scroll.max,me=te.scroll.current;return bi({current:me,max:ue,change:ae})},Nu=function(te,ae){var ue=te.frame;return ue?Gl({current:ue.scroll.current,max:ue.scroll.max,change:ae}):!1},Tu=function(te,ae){var ue=te.frame;return!ue||!Nu(te,ae)?null:bi({current:ue.scroll.current,max:ue.scroll.max,change:ae})},Yi=function(z){var te=z.viewport,ae=z.subject,ue=z.center,me=z.dragStartTime,fe=z.shouldUseTimeDampening,Se=er({dragStartTime:me,container:te.frame,subject:ae,center:ue,shouldUseTimeDampening:fe});return Se&&ou(te,Se)?Se:null},Qr=function(z){var te=z.droppable,ae=z.subject,ue=z.center,me=z.dragStartTime,fe=z.shouldUseTimeDampening,Se=te.frame;if(!Se)return null;var Ae=er({dragStartTime:me,container:Se.pageMarginBox,subject:ae,center:ue,shouldUseTimeDampening:fe});return Ae&&Nu(te,Ae)?Ae:null},wu=function(z){var te=z.state,ae=z.dragStartTime,ue=z.shouldUseTimeDampening,me=z.scrollWindow,fe=z.scrollDroppable,Se=te.current.page.borderBoxCenter,Ae=te.dimensions.draggables[te.critical.draggable.id],Ne=Ae.page.marginBox;if(te.isWindowScrollAllowed){var et=te.viewport,Ye=Yi({dragStartTime:ae,viewport:et,subject:Ne,center:Se,shouldUseTimeDampening:ue});if(Ye){me(Ye);return}}var Ve=au({center:Se,destination:Ni(te.impact),droppables:te.dimensions.droppables});if(Ve){var ze=Qr({dragStartTime:ae,droppable:Ve,subject:Ne,center:Se,shouldUseTimeDampening:ue});ze&&fe(Ve.descriptor.id,ze)}},wl=function(z){var te=z.scrollWindow,ae=z.scrollDroppable,ue=Jn(te),me=Jn(ae),fe=null,Se=function(Ye){fe||tn(!1);var Ve=fe,ze=Ve.shouldUseTimeDampening,Et=Ve.dragStartTime;wu({state:Ye,scrollWindow:ue,scrollDroppable:me,dragStartTime:Et,shouldUseTimeDampening:ze})},Ae=function(Ye){Xu(),fe&&tn(!1);var Ve=Date.now(),ze=!1,Et=function(){ze=!0};wu({state:Ye,dragStartTime:0,shouldUseTimeDampening:!1,scrollWindow:Et,scrollDroppable:Et}),fe={dragStartTime:Ve,shouldUseTimeDampening:ze},yu(),ze&&Se(Ye)},Ne=function(){fe&&(ue.cancel(),me.cancel(),fe=null)};return{start:Ae,stop:Ne,scroll:Se}},Ju=function(z){var te=z.move,ae=z.scrollDroppable,ue=z.scrollWindow,me=function(et,Ye){var Ve=io(et.current.client.selection,Ye);te({client:Ve})},fe=function(et,Ye){if(!Nu(et,Ye))return Ye;var Ve=Tu(et,Ye);if(!Ve)return ae(et.descriptor.id,Ye),null;var ze=lo(Ye,Ve);ae(et.descriptor.id,ze);var Et=lo(Ye,ze);return Et},Se=function(et,Ye,Ve){if(!et||!ou(Ye,Ve))return Ve;var ze=ci(Ye,Ve);if(!ze)return ue(Ve),null;var Et=lo(Ve,ze);ue(Et);var en=lo(Ve,Et);return en},Ae=function(et){var Ye=et.scrollJumpRequest;if(Ye){var Ve=Ni(et.impact);Ve||tn(!1);var ze=fe(et.dimensions.droppables[Ve],Ye);if(ze){var Et=et.viewport,en=Se(et.isWindowScrollAllowed,Et,ze);en&&me(et,en)}}};return Ae},Fs=function(z){var te=z.scrollDroppable,ae=z.scrollWindow,ue=z.move,me=wl({scrollWindow:ae,scrollDroppable:te}),fe=Ju({move:ue,scrollWindow:ae,scrollDroppable:te}),Se=function(et){if(et.phase==="DRAGGING"){if(et.movementMode==="FLUID"){me.scroll(et);return}et.scrollJumpRequest&&fe(et)}},Ae={scroll:Se,start:me.start,stop:me.stop};return Ae},Eu="data-rbd",iu=function(){var z=Eu+"-drag-handle";return{base:z,draggableId:z+"-draggable-id",contextId:z+"-context-id"}}(),Ql=function(){var z=Eu+"-draggable";return{base:z,contextId:z+"-context-id",id:z+"-id"}}(),as=function(){var z=Eu+"-droppable";return{base:z,contextId:z+"-context-id",id:z+"-id"}}(),rs={contextId:Eu+"-scroll-container-context-id"},Ru=function(te){return function(ae){return"["+ae+'="'+te+'"]'}},vo=function(te,ae){return te.map(function(ue){var me=ue.styles[ae];return me?ue.selector+" { "+me+" }":""}).join(" ")},Tr="pointer-events: none;",il=function(z){var te=Ru(z),ae=function(){var Ae=` cursor: -webkit-grab; cursor: grab; `;return{selector:te(iu.contextId),styles:{always:` @@ -246,4 +246,4 @@ The error may be correlated with this previous error: This is to ensure consistent browser layout and measurement More information: https://github.com/atlassian/react-beautiful-dnd/blob/master/docs/guides/doctype.md -`,st=function(z){var te=z.doctype;te&&(te.name.toLowerCase(),te.publicId)};function dn(z){}function Ea(z,te){}function Qa(){Ea(function(){wn(pe.react,b.version),st(document)},[])}function ia(z){var te=(0,b.useRef)(z);return(0,b.useEffect)(function(){te.current=z}),te}function Oa(){var z=null;function te(){return!!z}function ae(Se){return Se===z}function ue(Se){z&&tn(!1);var Ae={abandon:Se};return z=Ae,Ae}function me(){z||tn(!1),z=null}function fe(){z&&(z.abandon(),me())}return{isClaimed:te,isActive:ae,claim:ue,release:me,tryAbandon:fe}}var Ia=9,Wr=13,ga=27,ea=32,Ir=33,Sr=34,Ta=35,ur=36,la=37,Qn=38,qa=39,ka=40,$a,Ma=($a={},$a[Wr]=!0,$a[Ia]=!0,$a),Br=function(z){Ma[z.keyCode]&&z.preventDefault()},bo=function(){var z="visibilitychange";if(typeof document=="undefined")return z;var te=[z,"ms"+z,"webkit"+z,"moz"+z,"o"+z],ae=rr(te,function(ue){return"on"+ue in document});return ae||z}(),Ua=0,Jt=5;function wa(z,te){return Math.abs(te.x-z.x)>=Jt||Math.abs(te.y-z.y)>=Jt}var tr={type:"IDLE"};function Va(z){var te=z.cancel,ae=z.completed,ue=z.getPhase,me=z.setPhase;return[{eventName:"mousemove",fn:function(Se){var Ae=Se.button,Ne=Se.clientX,et=Se.clientY;if(Ae===Ua){var Ye={x:Ne,y:et},Ve=ue();if(Ve.type==="DRAGGING"){Se.preventDefault(),Ve.actions.move(Ye);return}Ve.type!=="PENDING"&&tn(!1);var ze=Ve.point;if(wa(ze,Ye)){Se.preventDefault();var Et=Ve.actions.fluidLift(Ye);me({type:"DRAGGING",actions:Et})}}}},{eventName:"mouseup",fn:function(Se){var Ae=ue();if(Ae.type!=="DRAGGING"){te();return}Se.preventDefault(),Ae.actions.drop({shouldBlockNextClick:!0}),ae()}},{eventName:"mousedown",fn:function(Se){ue().type==="DRAGGING"&&Se.preventDefault(),te()}},{eventName:"keydown",fn:function(Se){var Ae=ue();if(Ae.type==="PENDING"){te();return}if(Se.keyCode===ga){Se.preventDefault(),te();return}Br(Se)}},{eventName:"resize",fn:te},{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(){ue().type==="PENDING"&&te()}},{eventName:"webkitmouseforcedown",fn:function(Se){var Ae=ue();if(Ae.type==="IDLE"&&tn(!1),Ae.actions.shouldRespectForcePress()){te();return}Se.preventDefault()}},{eventName:bo,fn:te}]}function co(z){var te=(0,b.useRef)(tr),ae=(0,b.useRef)(ua),ue=Dt(function(){return{eventName:"mousedown",fn:function(Ve){if(!Ve.defaultPrevented&&Ve.button===Ua&&!(Ve.ctrlKey||Ve.metaKey||Ve.shiftKey||Ve.altKey)){var ze=z.findClosestDraggableId(Ve);if(ze){var Et=z.tryGetLock(ze,Se,{sourceEvent:Ve});if(Et){Ve.preventDefault();var en={x:Ve.clientX,y:Ve.clientY};ae.current(),et(Et,en)}}}}}},[z]),me=Dt(function(){return{eventName:"webkitmouseforcewillbegin",fn:function(Ve){if(!Ve.defaultPrevented){var ze=z.findClosestDraggableId(Ve);if(ze){var Et=z.findOptionsForDraggable(ze);Et&&(Et.shouldRespectForcePress||z.canGetLock(ze)&&Ve.preventDefault())}}}}},[z]),fe=Ot(function(){var Ve={passive:!1,capture:!0};ae.current=Ra(window,[me,ue],Ve)},[me,ue]),Se=Ot(function(){var Ye=te.current;Ye.type!=="IDLE"&&(te.current=tr,ae.current(),fe())},[fe]),Ae=Ot(function(){var Ye=te.current;Se(),Ye.type==="DRAGGING"&&Ye.actions.cancel({shouldBlockNextClick:!0}),Ye.type==="PENDING"&&Ye.actions.abort()},[Se]),Ne=Ot(function(){var Ve={capture:!0,passive:!1},ze=Va({cancel:Ae,completed:Se,getPhase:function(){return te.current},setPhase:function(en){te.current=en}});ae.current=Ra(window,ze,Ve)},[Ae,Se]),et=Ot(function(Ve,ze){te.current.type!=="IDLE"&&tn(!1),te.current={type:"PENDING",point:ze,actions:Ve},Ne()},[Ne]);Ci(function(){return fe(),function(){ae.current()}},[fe])}var lr;function nr(){}var Ur=(lr={},lr[Sr]=!0,lr[Ir]=!0,lr[ur]=!0,lr[Ta]=!0,lr);function Yo(z,te){function ae(){te(),z.cancel()}function ue(){te(),z.drop()}return[{eventName:"keydown",fn:function(fe){if(fe.keyCode===ga){fe.preventDefault(),ae();return}if(fe.keyCode===ea){fe.preventDefault(),ue();return}if(fe.keyCode===ka){fe.preventDefault(),z.moveDown();return}if(fe.keyCode===Qn){fe.preventDefault(),z.moveUp();return}if(fe.keyCode===qa){fe.preventDefault(),z.moveRight();return}if(fe.keyCode===la){fe.preventDefault(),z.moveLeft();return}if(Ur[fe.keyCode]){fe.preventDefault();return}Br(fe)}},{eventName:"mousedown",fn:ae},{eventName:"mouseup",fn:ae},{eventName:"click",fn:ae},{eventName:"touchstart",fn:ae},{eventName:"resize",fn:ae},{eventName:"wheel",fn:ae,options:{passive:!0}},{eventName:bo,fn:ae}]}function No(z){var te=(0,b.useRef)(nr),ae=Dt(function(){return{eventName:"keydown",fn:function(fe){if(fe.defaultPrevented||fe.keyCode!==ea)return;var Se=z.findClosestDraggableId(fe);if(!Se)return;var Ae=z.tryGetLock(Se,Ye,{sourceEvent:fe});if(!Ae)return;fe.preventDefault();var Ne=!0,et=Ae.snapLift();te.current();function Ye(){Ne||tn(!1),Ne=!1,te.current(),ue()}te.current=Ra(window,Yo(et,Ye),{capture:!0,passive:!1})}}},[z]),ue=Ot(function(){var fe={passive:!1,capture:!0};te.current=Ra(window,[ae],fe)},[ae]);Ci(function(){return ue(),function(){te.current()}},[ue])}var wo={type:"IDLE"},Ba=120,kr=.15;function xo(z){var te=z.cancel,ae=z.getPhase;return[{eventName:"orientationchange",fn:te},{eventName:"resize",fn:te},{eventName:"contextmenu",fn:function(me){me.preventDefault()}},{eventName:"keydown",fn:function(me){if(ae().type!=="DRAGGING"){te();return}me.keyCode===ga&&me.preventDefault(),te()}},{eventName:bo,fn:te}]}function Ar(z){var te=z.cancel,ae=z.completed,ue=z.getPhase;return[{eventName:"touchmove",options:{capture:!1},fn:function(fe){var Se=ue();if(Se.type!=="DRAGGING"){te();return}Se.hasMoved=!0;var Ae=fe.touches[0],Ne=Ae.clientX,et=Ae.clientY,Ye={x:Ne,y:et};fe.preventDefault(),Se.actions.move(Ye)}},{eventName:"touchend",fn:function(fe){var Se=ue();if(Se.type!=="DRAGGING"){te();return}fe.preventDefault(),Se.actions.drop({shouldBlockNextClick:!0}),ae()}},{eventName:"touchcancel",fn:function(fe){if(ue().type!=="DRAGGING"){te();return}fe.preventDefault(),te()}},{eventName:"touchforcechange",fn:function(fe){var Se=ue();Se.type==="IDLE"&&tn(!1);var Ae=fe.touches[0];if(Ae){var Ne=Ae.force>=kr;if(Ne){var et=Se.actions.shouldRespectForcePress();if(Se.type==="PENDING"){et&&te();return}if(et){if(Se.hasMoved){fe.preventDefault();return}te();return}fe.preventDefault()}}}},{eventName:bo,fn:te}]}function ei(z){var te=(0,b.useRef)(wo),ae=(0,b.useRef)(ua),ue=Ot(function(){return te.current},[]),me=Ot(function(Et){te.current=Et},[]),fe=Dt(function(){return{eventName:"touchstart",fn:function(Et){if(!Et.defaultPrevented){var en=z.findClosestDraggableId(Et);if(en){var ra=z.tryGetLock(en,Ae,{sourceEvent:Et});if(ra){var pa=Et.touches[0],Ca=pa.clientX,ar=pa.clientY,hr={x:Ca,y:ar};ae.current(),Ve(ra,hr)}}}}}},[z]),Se=Ot(function(){var Et={capture:!0,passive:!1};ae.current=Ra(window,[fe],Et)},[fe]),Ae=Ot(function(){var ze=te.current;ze.type!=="IDLE"&&(ze.type==="PENDING"&&clearTimeout(ze.longPressTimerId),me(wo),ae.current(),Se())},[Se,me]),Ne=Ot(function(){var ze=te.current;Ae(),ze.type==="DRAGGING"&&ze.actions.cancel({shouldBlockNextClick:!0}),ze.type==="PENDING"&&ze.actions.abort()},[Ae]),et=Ot(function(){var Et={capture:!0,passive:!1},en={cancel:Ne,completed:Ae,getPhase:ue},ra=Ra(window,Ar(en),Et),pa=Ra(window,xo(en),Et);ae.current=function(){ra(),pa()}},[Ne,ue,Ae]),Ye=Ot(function(){var Et=ue();Et.type!=="PENDING"&&tn(!1);var en=Et.actions.fluidLift(Et.point);me({type:"DRAGGING",actions:en,hasMoved:!1})},[ue,me]),Ve=Ot(function(Et,en){ue().type!=="IDLE"&&tn(!1);var ra=setTimeout(Ye,Ba);me({type:"PENDING",point:en,actions:Et,longPressTimerId:ra}),et()},[et,ue,me,Ye]);Ci(function(){return Se(),function(){ae.current();var en=ue();en.type==="PENDING"&&(clearTimeout(en.longPressTimerId),me(wo))}},[ue,Se,me]),Ci(function(){var Et=Ra(window,[{eventName:"touchmove",fn:function(){},options:{capture:!1,passive:!1}}]);return Et},[])}function Vo(z){}var si={input:!0,button:!0,textarea:!0,select:!0,option:!0,optgroup:!0,video:!0,audio:!0};function pi(z,te){if(te==null)return!1;var ae=!!si[te.tagName.toLowerCase()];if(ae)return!0;var ue=te.getAttribute("contenteditable");return ue==="true"||ue===""?!0:te===z?!1:pi(z,te.parentElement)}function Hi(z,te){var ae=te.target;return Su(ae)?pi(z,ae):!1}var xa=function(z){return za(z.getBoundingClientRect()).center};function eo(z){return z instanceof Wu(z).Element}var Bi=function(){var z="matches";if(typeof document=="undefined")return z;var te=[z,"msMatchesSelector","webkitMatchesSelector"],ae=rr(te,function(ue){return ue in Element.prototype});return ae||z}();function Wi(z,te){return z==null?null:z[Bi](te)?z:Wi(z.parentElement,te)}function xr(z,te){return z.closest?z.closest(te):Wi(z,te)}function Cr(z){return"["+iu.contextId+'="'+z+'"]'}function Yn(z,te){var ae=te.target;if(!eo(ae))return null;var ue=Cr(z),me=xr(ae,ue);return!me||!Su(me)?null:me}function Bo(z,te){var ae=Yn(z,te);return ae?ae.getAttribute(iu.draggableId):null}function hi(z,te){var ae="["+Ql.contextId+'="'+z+'"]',ue=sa(document.querySelectorAll(ae)),me=rr(ue,function(fe){return fe.getAttribute(Ql.id)===te});return!me||!Su(me)?null:me}function Zo(z){z.preventDefault()}function or(z){var te=z.expected,ae=z.phase,ue=z.isLockActive,me=z.shouldWarn;return!(!ue()||te!==ae)}function yr(z){var te=z.lockAPI,ae=z.store,ue=z.registry,me=z.draggableId;if(te.isClaimed())return!1;var fe=ue.draggable.findById(me);return!(!fe||!fe.options.isEnabled||!Pl(ae.getState(),me))}function mo(z){var te=z.lockAPI,ae=z.contextId,ue=z.store,me=z.registry,fe=z.draggableId,Se=z.forceSensorStop,Ae=z.sourceEvent,Ne=yr({lockAPI:te,store:ue,registry:me,draggableId:fe});if(!Ne)return null;var et=me.draggable.getById(fe),Ye=hi(ae,et.descriptor.id);if(!Ye||Ae&&!et.options.canDragInteractiveElements&&Hi(Ye,Ae))return null;var Ve=te.claim(Se||ua),ze="PRE_DRAG";function Et(){return et.options.shouldRespectForcePress}function en(){return te.isActive(Ve)}function ra(Fo,_o){or({expected:Fo,phase:ze,isLockActive:en,shouldWarn:!0})&&ue.dispatch(_o())}var pa=ra.bind(null,"DRAGGING");function Ca(Fo){function _o(){te.release(),ze="COMPLETED"}ze!=="PRE_DRAG"&&(_o(),ze!=="PRE_DRAG"&&tn(!1)),ue.dispatch(ce(Fo.liftActionArgs)),ze="DRAGGING";function Qi(ti,qi){if(qi===void 0&&(qi={shouldBlockNextClick:!1}),Fo.cleanup(),qi.shouldBlockNextClick){var yl=Ra(window,[{eventName:"click",fn:Zo,options:{once:!0,passive:!1,capture:!0}}]);setTimeout(yl)}_o(),ue.dispatch(Na({reason:ti}))}return(0,Te.Z)({isActive:function(){return or({expected:"DRAGGING",phase:ze,isLockActive:en,shouldWarn:!1})},shouldRespectForcePress:Et,drop:function(qi){return Qi("DROP",qi)},cancel:function(qi){return Qi("CANCEL",qi)}},Fo.actions)}function ar(Fo){var _o=Jn(function(ti){pa(function(){return Ht({client:ti})})}),Qi=Ca({liftActionArgs:{id:fe,clientSelection:Fo,movementMode:"FLUID"},cleanup:function(){return _o.cancel()},actions:{move:_o}});return(0,Te.Z)({},Qi,{move:_o})}function hr(){var Fo={moveUp:function(){return pa(Pn)},moveRight:function(){return pa(zn)},moveDown:function(){return pa(An)},moveLeft:function(){return pa(jn)}};return Ca({liftActionArgs:{id:fe,clientSelection:xa(Ye),movementMode:"SNAP"},cleanup:ua,actions:Fo})}function Fr(){var Fo=or({expected:"PRE_DRAG",phase:ze,isLockActive:en,shouldWarn:!0});Fo&&te.release()}var Lo={isActive:function(){return or({expected:"PRE_DRAG",phase:ze,isLockActive:en,shouldWarn:!1})},shouldRespectForcePress:Et,fluidLift:ar,snapLift:hr,abort:Fr};return Lo}var xi=[co,No,ei];function Ds(z){var te=z.contextId,ae=z.store,ue=z.registry,me=z.customSensors,fe=z.enableDefaultSensors,Se=[].concat(fe?xi:[],me||[]),Ae=(0,b.useState)(function(){return Oa()})[0],Ne=Ot(function(ar,hr){ar.isDragging&&!hr.isDragging&&Ae.tryAbandon()},[Ae]);Ci(function(){var ar=ae.getState(),hr=ae.subscribe(function(){var Fr=ae.getState();Ne(ar,Fr),ar=Fr});return hr},[Ae,ae,Ne]),Ci(function(){return Ae.tryAbandon},[Ae.tryAbandon]);var et=Ot(function(Ca){return yr({lockAPI:Ae,registry:ue,store:ae,draggableId:Ca})},[Ae,ue,ae]),Ye=Ot(function(Ca,ar,hr){return mo({lockAPI:Ae,registry:ue,contextId:te,store:ae,draggableId:Ca,forceSensorStop:ar,sourceEvent:hr&&hr.sourceEvent?hr.sourceEvent:null})},[te,Ae,ue,ae]),Ve=Ot(function(Ca){return Bo(te,Ca)},[te]),ze=Ot(function(Ca){var ar=ue.draggable.findById(Ca);return ar?ar.options:null},[ue.draggable]),Et=Ot(function(){Ae.isClaimed()&&(Ae.tryAbandon(),ae.getState().phase!=="IDLE"&&ae.dispatch(Kt()))},[Ae,ae]),en=Ot(Ae.isClaimed,[Ae]),ra=Dt(function(){return{canGetLock:et,tryGetLock:Ye,findClosestDraggableId:Ve,findOptionsForDraggable:ze,tryReleaseLock:Et,isLockClaimed:en}},[et,Ye,Ve,ze,Et,en]);Vo(Se);for(var pa=0;pa=0||Object.prototype.hasOwnProperty.call(ot,a)&&(de[a]=ot[a]);return de}function Xe(ot,Qe){if(!(ot instanceof Qe))throw new TypeError("Cannot call a class as a function")}function Ke(ot,Qe){if(!ot)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Qe&&(typeof Qe=="object"||typeof Qe=="function")?Qe:ot}function Ie(ot,Qe){if(typeof Qe!="function"&&Qe!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof Qe);ot.prototype=Object.create(Qe&&Qe.prototype,{constructor:{value:ot,enumerable:!1,writable:!0,configurable:!0}}),Qe&&(Object.setPrototypeOf?Object.setPrototypeOf(ot,Qe):ot.__proto__=Qe)}var tt=function(ot){Ie(Qe,ot);function Qe(de){Xe(this,Qe);var a=Ke(this,(Qe.__proto__||Object.getPrototypeOf(Qe)).call(this,de));return a.scrollListener=a.scrollListener.bind(a),a.eventListenerOptions=a.eventListenerOptions.bind(a),a.mousewheelListener=a.mousewheelListener.bind(a),a}return b(Qe,[{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(x){}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,x=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=x.scrollTop:y=a.scrollHeight-x.scrollTop-x.clientHeight;y=Xt||Math.abs(te.y-z.y)>=Xt}var tr={type:"IDLE"};function Va(z){var te=z.cancel,ae=z.completed,ue=z.getPhase,me=z.setPhase;return[{eventName:"mousemove",fn:function(Se){var Ae=Se.button,Ne=Se.clientX,et=Se.clientY;if(Ae===Ua){var Ye={x:Ne,y:et},Ve=ue();if(Ve.type==="DRAGGING"){Se.preventDefault(),Ve.actions.move(Ye);return}Ve.type!=="PENDING"&&tn(!1);var ze=Ve.point;if(wa(ze,Ye)){Se.preventDefault();var Et=Ve.actions.fluidLift(Ye);me({type:"DRAGGING",actions:Et})}}}},{eventName:"mouseup",fn:function(Se){var Ae=ue();if(Ae.type!=="DRAGGING"){te();return}Se.preventDefault(),Ae.actions.drop({shouldBlockNextClick:!0}),ae()}},{eventName:"mousedown",fn:function(Se){ue().type==="DRAGGING"&&Se.preventDefault(),te()}},{eventName:"keydown",fn:function(Se){var Ae=ue();if(Ae.type==="PENDING"){te();return}if(Se.keyCode===ga){Se.preventDefault(),te();return}Br(Se)}},{eventName:"resize",fn:te},{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(){ue().type==="PENDING"&&te()}},{eventName:"webkitmouseforcedown",fn:function(Se){var Ae=ue();if(Ae.type==="IDLE"&&tn(!1),Ae.actions.shouldRespectForcePress()){te();return}Se.preventDefault()}},{eventName:bo,fn:te}]}function co(z){var te=(0,b.useRef)(tr),ae=(0,b.useRef)(ua),ue=Dt(function(){return{eventName:"mousedown",fn:function(Ve){if(!Ve.defaultPrevented&&Ve.button===Ua&&!(Ve.ctrlKey||Ve.metaKey||Ve.shiftKey||Ve.altKey)){var ze=z.findClosestDraggableId(Ve);if(ze){var Et=z.tryGetLock(ze,Se,{sourceEvent:Ve});if(Et){Ve.preventDefault();var en={x:Ve.clientX,y:Ve.clientY};ae.current(),et(Et,en)}}}}}},[z]),me=Dt(function(){return{eventName:"webkitmouseforcewillbegin",fn:function(Ve){if(!Ve.defaultPrevented){var ze=z.findClosestDraggableId(Ve);if(ze){var Et=z.findOptionsForDraggable(ze);Et&&(Et.shouldRespectForcePress||z.canGetLock(ze)&&Ve.preventDefault())}}}}},[z]),fe=Ot(function(){var Ve={passive:!1,capture:!0};ae.current=Ra(window,[me,ue],Ve)},[me,ue]),Se=Ot(function(){var Ye=te.current;Ye.type!=="IDLE"&&(te.current=tr,ae.current(),fe())},[fe]),Ae=Ot(function(){var Ye=te.current;Se(),Ye.type==="DRAGGING"&&Ye.actions.cancel({shouldBlockNextClick:!0}),Ye.type==="PENDING"&&Ye.actions.abort()},[Se]),Ne=Ot(function(){var Ve={capture:!0,passive:!1},ze=Va({cancel:Ae,completed:Se,getPhase:function(){return te.current},setPhase:function(en){te.current=en}});ae.current=Ra(window,ze,Ve)},[Ae,Se]),et=Ot(function(Ve,ze){te.current.type!=="IDLE"&&tn(!1),te.current={type:"PENDING",point:ze,actions:Ve},Ne()},[Ne]);Ci(function(){return fe(),function(){ae.current()}},[fe])}var lr;function nr(){}var Ur=(lr={},lr[Sr]=!0,lr[Ir]=!0,lr[ur]=!0,lr[Ta]=!0,lr);function Yo(z,te){function ae(){te(),z.cancel()}function ue(){te(),z.drop()}return[{eventName:"keydown",fn:function(fe){if(fe.keyCode===ga){fe.preventDefault(),ae();return}if(fe.keyCode===ea){fe.preventDefault(),ue();return}if(fe.keyCode===ka){fe.preventDefault(),z.moveDown();return}if(fe.keyCode===Qn){fe.preventDefault(),z.moveUp();return}if(fe.keyCode===qa){fe.preventDefault(),z.moveRight();return}if(fe.keyCode===la){fe.preventDefault(),z.moveLeft();return}if(Ur[fe.keyCode]){fe.preventDefault();return}Br(fe)}},{eventName:"mousedown",fn:ae},{eventName:"mouseup",fn:ae},{eventName:"click",fn:ae},{eventName:"touchstart",fn:ae},{eventName:"resize",fn:ae},{eventName:"wheel",fn:ae,options:{passive:!0}},{eventName:bo,fn:ae}]}function No(z){var te=(0,b.useRef)(nr),ae=Dt(function(){return{eventName:"keydown",fn:function(fe){if(fe.defaultPrevented||fe.keyCode!==ea)return;var Se=z.findClosestDraggableId(fe);if(!Se)return;var Ae=z.tryGetLock(Se,Ye,{sourceEvent:fe});if(!Ae)return;fe.preventDefault();var Ne=!0,et=Ae.snapLift();te.current();function Ye(){Ne||tn(!1),Ne=!1,te.current(),ue()}te.current=Ra(window,Yo(et,Ye),{capture:!0,passive:!1})}}},[z]),ue=Ot(function(){var fe={passive:!1,capture:!0};te.current=Ra(window,[ae],fe)},[ae]);Ci(function(){return ue(),function(){te.current()}},[ue])}var wo={type:"IDLE"},Ba=120,kr=.15;function xo(z){var te=z.cancel,ae=z.getPhase;return[{eventName:"orientationchange",fn:te},{eventName:"resize",fn:te},{eventName:"contextmenu",fn:function(me){me.preventDefault()}},{eventName:"keydown",fn:function(me){if(ae().type!=="DRAGGING"){te();return}me.keyCode===ga&&me.preventDefault(),te()}},{eventName:bo,fn:te}]}function Ar(z){var te=z.cancel,ae=z.completed,ue=z.getPhase;return[{eventName:"touchmove",options:{capture:!1},fn:function(fe){var Se=ue();if(Se.type!=="DRAGGING"){te();return}Se.hasMoved=!0;var Ae=fe.touches[0],Ne=Ae.clientX,et=Ae.clientY,Ye={x:Ne,y:et};fe.preventDefault(),Se.actions.move(Ye)}},{eventName:"touchend",fn:function(fe){var Se=ue();if(Se.type!=="DRAGGING"){te();return}fe.preventDefault(),Se.actions.drop({shouldBlockNextClick:!0}),ae()}},{eventName:"touchcancel",fn:function(fe){if(ue().type!=="DRAGGING"){te();return}fe.preventDefault(),te()}},{eventName:"touchforcechange",fn:function(fe){var Se=ue();Se.type==="IDLE"&&tn(!1);var Ae=fe.touches[0];if(Ae){var Ne=Ae.force>=kr;if(Ne){var et=Se.actions.shouldRespectForcePress();if(Se.type==="PENDING"){et&&te();return}if(et){if(Se.hasMoved){fe.preventDefault();return}te();return}fe.preventDefault()}}}},{eventName:bo,fn:te}]}function ei(z){var te=(0,b.useRef)(wo),ae=(0,b.useRef)(ua),ue=Ot(function(){return te.current},[]),me=Ot(function(Et){te.current=Et},[]),fe=Dt(function(){return{eventName:"touchstart",fn:function(Et){if(!Et.defaultPrevented){var en=z.findClosestDraggableId(Et);if(en){var ra=z.tryGetLock(en,Ae,{sourceEvent:Et});if(ra){var pa=Et.touches[0],Ca=pa.clientX,ar=pa.clientY,hr={x:Ca,y:ar};ae.current(),Ve(ra,hr)}}}}}},[z]),Se=Ot(function(){var Et={capture:!0,passive:!1};ae.current=Ra(window,[fe],Et)},[fe]),Ae=Ot(function(){var ze=te.current;ze.type!=="IDLE"&&(ze.type==="PENDING"&&clearTimeout(ze.longPressTimerId),me(wo),ae.current(),Se())},[Se,me]),Ne=Ot(function(){var ze=te.current;Ae(),ze.type==="DRAGGING"&&ze.actions.cancel({shouldBlockNextClick:!0}),ze.type==="PENDING"&&ze.actions.abort()},[Ae]),et=Ot(function(){var Et={capture:!0,passive:!1},en={cancel:Ne,completed:Ae,getPhase:ue},ra=Ra(window,Ar(en),Et),pa=Ra(window,xo(en),Et);ae.current=function(){ra(),pa()}},[Ne,ue,Ae]),Ye=Ot(function(){var Et=ue();Et.type!=="PENDING"&&tn(!1);var en=Et.actions.fluidLift(Et.point);me({type:"DRAGGING",actions:en,hasMoved:!1})},[ue,me]),Ve=Ot(function(Et,en){ue().type!=="IDLE"&&tn(!1);var ra=setTimeout(Ye,Ba);me({type:"PENDING",point:en,actions:Et,longPressTimerId:ra}),et()},[et,ue,me,Ye]);Ci(function(){return Se(),function(){ae.current();var en=ue();en.type==="PENDING"&&(clearTimeout(en.longPressTimerId),me(wo))}},[ue,Se,me]),Ci(function(){var Et=Ra(window,[{eventName:"touchmove",fn:function(){},options:{capture:!1,passive:!1}}]);return Et},[])}function Vo(z){}var si={input:!0,button:!0,textarea:!0,select:!0,option:!0,optgroup:!0,video:!0,audio:!0};function pi(z,te){if(te==null)return!1;var ae=!!si[te.tagName.toLowerCase()];if(ae)return!0;var ue=te.getAttribute("contenteditable");return ue==="true"||ue===""?!0:te===z?!1:pi(z,te.parentElement)}function Hi(z,te){var ae=te.target;return Su(ae)?pi(z,ae):!1}var xa=function(z){return za(z.getBoundingClientRect()).center};function eo(z){return z instanceof Wu(z).Element}var Bi=function(){var z="matches";if(typeof document=="undefined")return z;var te=[z,"msMatchesSelector","webkitMatchesSelector"],ae=rr(te,function(ue){return ue in Element.prototype});return ae||z}();function Wi(z,te){return z==null?null:z[Bi](te)?z:Wi(z.parentElement,te)}function xr(z,te){return z.closest?z.closest(te):Wi(z,te)}function Cr(z){return"["+iu.contextId+'="'+z+'"]'}function Yn(z,te){var ae=te.target;if(!eo(ae))return null;var ue=Cr(z),me=xr(ae,ue);return!me||!Su(me)?null:me}function Bo(z,te){var ae=Yn(z,te);return ae?ae.getAttribute(iu.draggableId):null}function hi(z,te){var ae="["+Ql.contextId+'="'+z+'"]',ue=sa(document.querySelectorAll(ae)),me=rr(ue,function(fe){return fe.getAttribute(Ql.id)===te});return!me||!Su(me)?null:me}function Zo(z){z.preventDefault()}function or(z){var te=z.expected,ae=z.phase,ue=z.isLockActive,me=z.shouldWarn;return!(!ue()||te!==ae)}function yr(z){var te=z.lockAPI,ae=z.store,ue=z.registry,me=z.draggableId;if(te.isClaimed())return!1;var fe=ue.draggable.findById(me);return!(!fe||!fe.options.isEnabled||!Pl(ae.getState(),me))}function mo(z){var te=z.lockAPI,ae=z.contextId,ue=z.store,me=z.registry,fe=z.draggableId,Se=z.forceSensorStop,Ae=z.sourceEvent,Ne=yr({lockAPI:te,store:ue,registry:me,draggableId:fe});if(!Ne)return null;var et=me.draggable.getById(fe),Ye=hi(ae,et.descriptor.id);if(!Ye||Ae&&!et.options.canDragInteractiveElements&&Hi(Ye,Ae))return null;var Ve=te.claim(Se||ua),ze="PRE_DRAG";function Et(){return et.options.shouldRespectForcePress}function en(){return te.isActive(Ve)}function ra(Fo,_o){or({expected:Fo,phase:ze,isLockActive:en,shouldWarn:!0})&&ue.dispatch(_o())}var pa=ra.bind(null,"DRAGGING");function Ca(Fo){function _o(){te.release(),ze="COMPLETED"}ze!=="PRE_DRAG"&&(_o(),ze!=="PRE_DRAG"&&tn(!1)),ue.dispatch(ce(Fo.liftActionArgs)),ze="DRAGGING";function Qi(ti,qi){if(qi===void 0&&(qi={shouldBlockNextClick:!1}),Fo.cleanup(),qi.shouldBlockNextClick){var yl=Ra(window,[{eventName:"click",fn:Zo,options:{once:!0,passive:!1,capture:!0}}]);setTimeout(yl)}_o(),ue.dispatch(Na({reason:ti}))}return(0,Te.Z)({isActive:function(){return or({expected:"DRAGGING",phase:ze,isLockActive:en,shouldWarn:!1})},shouldRespectForcePress:Et,drop:function(qi){return Qi("DROP",qi)},cancel:function(qi){return Qi("CANCEL",qi)}},Fo.actions)}function ar(Fo){var _o=Jn(function(ti){pa(function(){return Ht({client:ti})})}),Qi=Ca({liftActionArgs:{id:fe,clientSelection:Fo,movementMode:"FLUID"},cleanup:function(){return _o.cancel()},actions:{move:_o}});return(0,Te.Z)({},Qi,{move:_o})}function hr(){var Fo={moveUp:function(){return pa(Pn)},moveRight:function(){return pa(zn)},moveDown:function(){return pa(An)},moveLeft:function(){return pa(jn)}};return Ca({liftActionArgs:{id:fe,clientSelection:xa(Ye),movementMode:"SNAP"},cleanup:ua,actions:Fo})}function Fr(){var Fo=or({expected:"PRE_DRAG",phase:ze,isLockActive:en,shouldWarn:!0});Fo&&te.release()}var Lo={isActive:function(){return or({expected:"PRE_DRAG",phase:ze,isLockActive:en,shouldWarn:!1})},shouldRespectForcePress:Et,fluidLift:ar,snapLift:hr,abort:Fr};return Lo}var xi=[co,No,ei];function Ds(z){var te=z.contextId,ae=z.store,ue=z.registry,me=z.customSensors,fe=z.enableDefaultSensors,Se=[].concat(fe?xi:[],me||[]),Ae=(0,b.useState)(function(){return Oa()})[0],Ne=Ot(function(ar,hr){ar.isDragging&&!hr.isDragging&&Ae.tryAbandon()},[Ae]);Ci(function(){var ar=ae.getState(),hr=ae.subscribe(function(){var Fr=ae.getState();Ne(ar,Fr),ar=Fr});return hr},[Ae,ae,Ne]),Ci(function(){return Ae.tryAbandon},[Ae.tryAbandon]);var et=Ot(function(Ca){return yr({lockAPI:Ae,registry:ue,store:ae,draggableId:Ca})},[Ae,ue,ae]),Ye=Ot(function(Ca,ar,hr){return mo({lockAPI:Ae,registry:ue,contextId:te,store:ae,draggableId:Ca,forceSensorStop:ar,sourceEvent:hr&&hr.sourceEvent?hr.sourceEvent:null})},[te,Ae,ue,ae]),Ve=Ot(function(Ca){return Bo(te,Ca)},[te]),ze=Ot(function(Ca){var ar=ue.draggable.findById(Ca);return ar?ar.options:null},[ue.draggable]),Et=Ot(function(){Ae.isClaimed()&&(Ae.tryAbandon(),ae.getState().phase!=="IDLE"&&ae.dispatch(Kt()))},[Ae,ae]),en=Ot(Ae.isClaimed,[Ae]),ra=Dt(function(){return{canGetLock:et,tryGetLock:Ye,findClosestDraggableId:Ve,findOptionsForDraggable:ze,tryReleaseLock:Et,isLockClaimed:en}},[et,Ye,Ve,ze,Et,en]);Vo(Se);for(var pa=0;pa=0||Object.prototype.hasOwnProperty.call(ot,a)&&(de[a]=ot[a]);return de}function Xe(ot,Qe){if(!(ot instanceof Qe))throw new TypeError("Cannot call a class as a function")}function Ke(ot,Qe){if(!ot)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Qe&&(typeof Qe=="object"||typeof Qe=="function")?Qe:ot}function Ie(ot,Qe){if(typeof Qe!="function"&&Qe!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof Qe);ot.prototype=Object.create(Qe&&Qe.prototype,{constructor:{value:ot,enumerable:!1,writable:!0,configurable:!0}}),Qe&&(Object.setPrototypeOf?Object.setPrototypeOf(ot,Qe):ot.__proto__=Qe)}var tt=function(ot){Ie(Qe,ot);function Qe(de){Xe(this,Qe);var a=Ke(this,(Qe.__proto__||Object.getPrototypeOf(Qe)).call(this,de));return a.scrollListener=a.scrollListener.bind(a),a.eventListenerOptions=a.eventListenerOptions.bind(a),a.mousewheelListener=a.mousewheelListener.bind(a),a}return b(Qe,[{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(x){}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,x=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=x.scrollTop:y=a.scrollHeight-x.scrollTop-x.clientHeight;yQs(ut))} pos: ${this.timelinePos}`),le.length&&this.log(`R `).split(` `),W=[],le=t?ei(t.baseTime,t.timescale):0;let pe="00:00.000",Ee=0,Oe=0,Ue,ut=!0;z.oncue=function(lt){const Nt=n[s];let pr=n.ccOffset;const sr=(Ee-le)/9e4;if(Nt!=null&&Nt.new&&(Oe!==void 0?pr=n.ccOffset=Nt.start:pl(n,s,sr)),sr){if(!t){Ue=new Error("Missing initPTS for VTT MPEGTS");return}pr=sr-n.presentationOffset}const Fr=lt.endTime-lt.startTime,Yr=ha((lt.startTime+pr-Oe)*9e4,m*9e4)/9e4;lt.startTime=Math.max(Yr,0),lt.endTime=Math.max(Yr+Fr,0);const vn=lt.text.trim();lt.text=decodeURIComponent(encodeURIComponent(vn)),lt.id||(lt.id=Cs(lt.startTime,lt.endTime,vn)),lt.endTime>0&&W.push(lt)},z.onparsingerror=function(lt){Ue=lt},z.onflush=function(){if(Ue){I(Ue);return}E(W)},X.forEach(lt=>{if(ut)if(As(lt,"X-TIMESTAMP-MAP=")){ut=!1,lt.slice(16).split(",").forEach(Nt=>{As(Nt,"LOCAL:")?pe=Nt.slice(6):As(Nt,"MPEGTS:")&&(Ee=parseInt(Nt.slice(7)))});try{Oe=ua(pe)/1e3}catch(Nt){Ue=Nt}return}else lt===""&&(ut=!1);z.parse(lt+` `)}),z.flush()}const il="stpp.ttml.im1t",ml=/^(\d{2,}):(\d{2}):(\d{2}):(\d{2})\.?(\d+)?$/,El=/^(\d*(?:\.\d*)?)(h|m|s|ms|f|t)$/,Kf={left:"start",center:"center",right:"end",start:"start",end:"end"};function kf(O,t,n,s){const m=bt(new Uint8Array(O),["mdat"]);if(m.length===0){s(new Error("Could not parse IMSC1 mdat"));return}const E=m.map(z=>q(z)),I=Pn(t.baseTime,1,t.timescale);try{E.forEach(z=>n(tc(z,I)))}catch(z){s(z)}}function tc(O,t){const m=new DOMParser().parseFromString(O,"text/xml").getElementsByTagName("tt")[0];if(!m)throw new Error("Invalid ttml");const E={frameRate:30,subFrameRate:1,frameRateMultiplier:0,tickRate:0},I=Object.keys(E).reduce((pe,Ee)=>(pe[Ee]=m.getAttribute(`ttp:${Ee}`)||E[Ee],pe),{}),z=m.getAttribute("xml:space")!=="preserve",X=Nc(wf(m,"styling","style")),W=Nc(wf(m,"layout","region")),le=wf(m,"body","[begin]");return[].map.call(le,pe=>{const Ee=of(pe,z);if(!Ee||!pe.hasAttribute("begin"))return null;const Oe=qu(pe.getAttribute("begin"),I),Ue=qu(pe.getAttribute("dur"),I);let ut=qu(pe.getAttribute("end"),I);if(Oe===null)throw Hf(pe);if(ut===null){if(Ue===null)throw Hf(pe);ut=Oe+Ue}const lt=new Jl(Oe-t,ut-t,Ee);lt.id=Cs(lt.startTime,lt.endTime,lt.text);const Nt=W[pe.getAttribute("region")],pr=X[pe.getAttribute("style")],sr=Rf(Nt,pr,X),{textAlign:Fr}=sr;if(Fr){const Yr=Kf[Fr];Yr&&(lt.lineAlign=Yr),lt.align=Fr}return y(lt,sr),lt}).filter(pe=>pe!==null)}function wf(O,t,n){const s=O.getElementsByTagName(t)[0];return s?[].slice.call(s.querySelectorAll(n)):[]}function Nc(O){return O.reduce((t,n)=>{const s=n.getAttribute("xml:id");return s&&(t[s]=n),t},{})}function of(O,t){return[].slice.call(O.childNodes).reduce((n,s,m)=>{var E;return s.nodeName==="br"&&m?n+` -`:(E=s.childNodes)!=null&&E.length?of(s,t):t?n+s.textContent.trim().replace(/\s+/g," "):n+s.textContent},"")}function Rf(O,t,n){const s="http://www.w3.org/ns/ttml#styling";let m=null;const E=["displayAlign","textAlign","color","backgroundColor","fontSize","fontFamily"],I=O!=null&&O.hasAttribute("style")?O.getAttribute("style"):null;return I&&n.hasOwnProperty(I)&&(m=n[I]),E.reduce((z,X)=>{const W=al(t,s,X)||al(O,s,X)||al(m,s,X);return W&&(z[X]=W),z},{})}function al(O,t,n){return O&&O.hasAttributeNS(t,n)?O.getAttributeNS(t,n):null}function Hf(O){return new Error(`Could not parse ttml timestamp ${O}`)}function qu(O,t){if(!O)return null;let n=yc(O);return n===null&&(ml.test(O)?n=uf(O,t):El.test(O)&&(n=Lf(O,t))),n}function uf(O,t){const n=ml.exec(O),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 Lf(O,t){const n=El.exec(O),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 Go{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 Sf{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=fu(),this.captionsProperties=void 0,this.hls=t,this.config=t.config,this.Cues=t.config.cueHandler,this.captionsProperties={textTrack1:{label:this.config.captionsTextTrack1Label,languageCode:this.config.captionsTextTrack1LanguageCode},textTrack2:{label:this.config.captionsTextTrack2Label,languageCode:this.config.captionsTextTrack2LanguageCode},textTrack3:{label:this.config.captionsTextTrack3Label,languageCode:this.config.captionsTextTrack3LanguageCode},textTrack4:{label:this.config.captionsTextTrack4Label,languageCode:this.config.captionsTextTrack4LanguageCode}},t.on(o.MEDIA_ATTACHING,this.onMediaAttaching,this),t.on(o.MEDIA_DETACHING,this.onMediaDetaching,this),t.on(o.MANIFEST_LOADING,this.onManifestLoading,this),t.on(o.MANIFEST_LOADED,this.onManifestLoaded,this),t.on(o.SUBTITLE_TRACKS_UPDATED,this.onSubtitleTracksUpdated,this),t.on(o.FRAG_LOADING,this.onFragLoading,this),t.on(o.FRAG_LOADED,this.onFragLoaded,this),t.on(o.FRAG_PARSING_USERDATA,this.onFragParsingUserdata,this),t.on(o.FRAG_DECRYPTED,this.onFragDecrypted,this),t.on(o.INIT_PTS_FOUND,this.onInitPtsFound,this),t.on(o.SUBTITLE_TRACKS_CLEARED,this.onSubtitleTracksCleared,this),t.on(o.BUFFER_FLUSHING,this.onBufferFlushing,this)}destroy(){const{hls:t}=this;t.off(o.MEDIA_ATTACHING,this.onMediaAttaching,this),t.off(o.MEDIA_DETACHING,this.onMediaDetaching,this),t.off(o.MANIFEST_LOADING,this.onManifestLoading,this),t.off(o.MANIFEST_LOADED,this.onManifestLoaded,this),t.off(o.SUBTITLE_TRACKS_UPDATED,this.onSubtitleTracksUpdated,this),t.off(o.FRAG_LOADING,this.onFragLoading,this),t.off(o.FRAG_LOADED,this.onFragLoaded,this),t.off(o.FRAG_PARSING_USERDATA,this.onFragParsingUserdata,this),t.off(o.FRAG_DECRYPTED,this.onFragDecrypted,this),t.off(o.INIT_PTS_FOUND,this.onInitPtsFound,this),t.off(o.SUBTITLE_TRACKS_CLEARED,this.onSubtitleTracksCleared,this),t.off(o.BUFFER_FLUSHING,this.onBufferFlushing,this),this.hls=this.config=this.media=null,this.cea608Parser1=this.cea608Parser2=void 0}initCea608Parsers(){const t=new Go(this,"textTrack1"),n=new Go(this,"textTrack2"),s=new Go(this,"textTrack3"),m=new Go(this,"textTrack4");this.cea608Parser1=new sf(1,t,n),this.cea608Parser2=new sf(3,s,m)}addCues(t,n,s,m,E){let I=!1;for(let z=E.length;z--;){const X=E[z],W=$c(X[0],X[1],n,s);if(W>=0&&(X[0]=Math.min(X[0],n),X[1]=Math.max(X[1],s),I=!0,W/(s-n)>.5))return}if(I||E.push([n,s]),this.config.renderTextTracksNatively){const z=this.captionsTracks[t];this.Cues.newCue(z,n,s,m)}else{const z=this.Cues.newCue(null,n,s,m);this.hls.trigger(o.CUES_PARSED,{type:"captions",cues:z,track:t})}}onInitPtsFound(t,{frag:n,id:s,initPTS:m,timescale:E,trackId:I}){const{unparsedVttFrags:z}=this;s===u.MAIN&&(this.initPTS[n.cc]={baseTime:m,timescale:E,trackId:I}),z.length&&(this.unparsedVttFrags=[],z.forEach(X=>{this.initPTS[X.frag.cc]?this.onFragLoaded(o.FRAG_LOADED,X):this.hls.trigger(o.SUBTITLE_FRAG_PROCESSED,{success:!1,frag:X.frag,error:new Error("Subtitle discontinuity domain does not match main")})}))}getExistingTrack(t,n){const{media:s}=this;if(s)for(let m=0;m{bl(m[E]),delete m[E]}),this.nonNativeCaptionsTracks={}}onManifestLoading(){this.lastCc=-1,this.lastSn=-1,this.lastPartIndex=-1,this.prevCC=-1,this.vttCCs=fu(),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===il);if(this.config.enableWebVTT||m&&this.config.enableIMSC1){if(Nl(this.tracks,s)){this.tracks=s;return}if(this.textTracks=[],this.tracks=s,this.config.renderTextTracksNatively){const I=this.media,z=I?Yl(I.textTracks):null;if(this.tracks.forEach((X,W)=>{let le;if(z){let pe=null;for(let Ee=0;EeW!==null).map(W=>W.label);X.length&&this.hls.logger.warn(`Media element contains unused subtitle tracks: ${X.join(", ")}. Replace media element for each source to clear TextTracks and captions menu.`)}}else if(this.tracks.length){const I=this.tracks.map(z=>({label:z.name,kind:z.type.toLowerCase(),default:z.default,subtitleTrack:z}));this.hls.trigger(o.NON_NATIVE_TEXT_TRACKS_FOUND,{tracks:I})}}}onManifestLoaded(t,n){this.config.enableCEA708Captions&&n.captions&&n.captions.forEach(s=>{const m=/(?:CC|SERVICE)([1-4])/.exec(s.instreamId);if(!m)return;const E=`textTrack${m[1]}`,I=this.captionsProperties[E];I&&(I.label=s.name,s.lang&&(I.languageCode=s.lang),I.media=s)})}closedCaptionsForLevel(t){const n=this.hls.levels[t.level];return n==null?void 0:n.attrs["CLOSED-CAPTIONS"]}onFragLoading(t,n){if(this.enabled&&n.frag.type===u.MAIN){var s,m;const{cea608Parser1:E,cea608Parser2:I,lastSn:z}=this,{cc:X,sn:W}=n.frag,le=(s=(m=n.part)==null?void 0:m.index)!=null?s:-1;E&&I&&(W!==z+1||W===z&&le!==this.lastPartIndex+1||X!==this.lastCc)&&(E.reset(),I.reset()),this.lastCc=X,this.lastSn=W,this.lastPartIndex=le}}onFragLoaded(t,n){const{frag:s,payload:m}=n;if(s.type===u.SUBTITLE)if(m.byteLength){const E=s.decryptdata,I="stats"in n;if(E==null||!E.encrypted||I){const z=this.tracks[s.level],X=this.vttCCs;X[s.cc]||(X[s.cc]={start:s.start,prevCC:this.prevCC,new:!0},this.prevCC=s.cc),z&&z.textCodec===il?this._parseIMSC1(s,m):this._parseVTTs(n)}}else this.hls.trigger(o.SUBTITLE_FRAG_PROCESSED,{success:!1,frag:s,error:new Error("Empty subtitle payload")})}_parseIMSC1(t,n){const s=this.hls;kf(n,this.initPTS[t.cc],m=>{this._appendCues(m,t.level),s.trigger(o.SUBTITLE_FRAG_PROCESSED,{success:!0,frag:t})},m=>{s.logger.log(`Failed to parse IMSC1: ${m}`),s.trigger(o.SUBTITLE_FRAG_PROCESSED,{success:!1,frag:t,error:m})})}_parseVTTs(t){var n;const{frag:s,payload:m}=t,{initPTS:E,unparsedVttFrags:I}=this,z=E.length-1;if(!E[s.cc]&&z===-1){I.push(t);return}const X=this.hls,W=(n=s.initSegment)!=null&&n.data?Ce(s.initSegment.data,new Uint8Array(m)).buffer:m;_l(W,this.initPTS[s.cc],this.vttCCs,s.cc,s.start,le=>{this._appendCues(le,s.level),X.trigger(o.SUBTITLE_FRAG_PROCESSED,{success:!0,frag:s})},le=>{const pe=le.message==="Missing initPTS for VTT MPEGTS";pe?I.push(t):this._fallbackToIMSC1(s,m),X.logger.log(`Failed to parse VTT cue: ${le}`),!(pe&&z>s.cc)&&X.trigger(o.SUBTITLE_FRAG_PROCESSED,{success:!1,frag:s,error:le})})}_fallbackToIMSC1(t,n){const s=this.tracks[t.level];s.textCodec||kf(n,this.initPTS[t.cc],()=>{s.textCodec=il,this._parseIMSC1(t,n)},()=>{s.textCodec="wvtt"})}_appendCues(t,n){const s=this.hls;if(this.config.renderTextTracksNatively){const m=this.textTracks[n];if(!m||m.mode==="disabled")return;t.forEach(E=>ef(m,E))}else{const m=this.tracks[n];if(!m)return;const E=m.default?"default":"subtitles"+n;s.trigger(o.CUES_PARSED,{type:"subtitles",cues:t,track:E})}}onFragDecrypted(t,n){const{frag:s}=n;s.type===u.SUBTITLE&&this.onFragLoaded(o.FRAG_LOADED,n)}onSubtitleTracksCleared(){this.tracks=[],this.captionsTracks={}}onFragParsingUserdata(t,n){if(!this.enabled||!this.config.enableCEA708Captions)return;const{frag:s,samples:m}=n;if(!(s.type===u.MAIN&&this.closedCaptionsForLevel(s)==="NONE"))for(let E=0;EUu(z[X],n,s))}if(this.config.renderTextTracksNatively&&n===0&&m!==void 0){const{textTracks:z}=this;Object.keys(z).forEach(X=>Uu(z[X],n,m))}}}extractCea608Data(t){const n=[[],[]],s=t[0]&31;let m=2;for(let E=0;E=16?X--:X++;const Oe=aa(W.trim()),Ue=Cs(t,n,Oe);O!=null&&(pe=O.cues)!=null&&pe.getCueById(Ue)||(I=new le(t,n,Oe),I.id=Ue,I.line=Ee+1,I.align="left",I.position=10+Math.min(80,Math.floor(X*8/32)*10),m.push(I))}return O&&m.length&&(m.sort((Ee,Oe)=>Ee.line==="auto"||Oe.line==="auto"?0:Ee.line>8&&Oe.line>8?Oe.line-Ee.line:Ee.line-Oe.line),m.forEach(Ee=>ef(O,Ee))),m}};function lf(){if(self.fetch&&self.AbortController&&self.ReadableStream&&self.Request)try{return new self.ReadableStream({}),!0}catch(O){}return!1}const cf=/(\d+)-(\d+)\/(\d+)/;class Cf{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||Bf,this.controller=new self.AbortController,this.stats=new $}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 m=this.stats;if(m.loading.start)throw new Error("Loader can only be used once.");m.loading.start=self.performance.now();const E=Tf(t,this.controller.signal),I=t.responseType==="arraybuffer",z=I?"byteLength":"length",{maxTimeToFirstByteMs:X,maxLoadTimeMs:W}=n.loadPolicy;this.context=t,this.config=n,this.callbacks=s,this.request=this.fetchSetup(t,E),self.clearTimeout(this.requestTimeout),n.timeout=X&&r(X)?X:W,this.requestTimeout=self.setTimeout(()=>{this.callbacks&&(this.abortInternal(),this.callbacks.onTimeout(m,t,this.response))},n.timeout),(Eu(this.request)?this.request.then(self.fetch):self.fetch(this.request)).then(pe=>{var Ee;this.response=this.loader=pe;const Oe=Math.max(self.performance.now(),m.loading.start);if(self.clearTimeout(this.requestTimeout),n.timeout=W,this.requestTimeout=self.setTimeout(()=>{this.callbacks&&(this.abortInternal(),this.callbacks.onTimeout(m,t,this.response))},W-(Oe-m.loading.start)),!pe.ok){const{status:ut,statusText:lt}=pe;throw new nd(lt||"fetch, bad network response",ut,pe)}m.loading.first=Oe,m.total=qf(pe.headers)||m.total;const Ue=(Ee=this.callbacks)==null?void 0:Ee.onProgress;return Ue&&r(n.highWaterMark)?this.loadProgressively(pe,m,t,n.highWaterMark,Ue):I?pe.arrayBuffer():t.responseType==="json"?pe.json():pe.text()}).then(pe=>{var Ee,Oe;const Ue=this.response;if(!Ue)throw new Error("loader destroyed");self.clearTimeout(this.requestTimeout),m.loading.end=Math.max(self.performance.now(),m.loading.first);const ut=pe[z];ut&&(m.loaded=m.total=ut);const lt={url:Ue.url,data:pe,code:Ue.status},Nt=(Ee=this.callbacks)==null?void 0:Ee.onProgress;Nt&&!r(n.highWaterMark)&&Nt(m,t,pe,Ue),(Oe=this.callbacks)==null||Oe.onSuccess(lt,m,t,Ue)}).catch(pe=>{var Ee;if(self.clearTimeout(this.requestTimeout),m.aborted)return;const Oe=pe&&pe.code||0,Ue=pe?pe.message:null;(Ee=this.callbacks)==null||Ee.onError({code:Oe,text:Ue},t,pe?pe.details:null,m)})}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,m=0,E){const I=new Ta,z=t.body.getReader(),X=()=>z.read().then(W=>{if(W.done)return I.dataLength&&E(n,s,I.flush().buffer,t),Promise.resolve(new ArrayBuffer(0));const le=W.value,pe=le.length;return n.loaded+=pe,pe=m&&E(n,s,I.flush().buffer,t)):E(n,s,le.buffer,t),X()}).catch(()=>Promise.reject());return X()}}function Tf(O,t){const n={method:"GET",mode:"cors",credentials:"same-origin",signal:t,headers:new self.Headers(y({},O.headers))};return O.rangeEnd&&n.headers.set("Range","bytes="+O.rangeStart+"-"+String(O.rangeEnd-1)),n}function Yf(O){const t=cf.exec(O);if(t)return parseInt(t[2])-parseInt(t[1])+1}function qf(O){const t=O.get("Content-Range");if(t){const s=Yf(t);if(r(s))return s}const n=O.get("Content-Length");if(n)return parseInt(n)}function Bf(O,t){return new self.Request(O.url,t)}class nd extends Error{constructor(t,n,s){super(t),this.code=void 0,this.details=void 0,this.code=n,this.details=s}}const Xf=/^age:\s*[\d.]+\s*$/im;class Pf{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 $,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,m=this.stats;m.loading.first=0,m.loaded=0,m.aborted=!1;const E=this.xhrSetup;E?Promise.resolve().then(()=>{if(!(this.loader!==s||this.stats.aborted))return E(s,n.url)}).catch(I=>{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(I=>{var z;(z=this.callbacks)==null||z.onError({code:s.status,text:I.message},n,s,m)}):this.openAndSendXhr(s,n,t)}openAndSendXhr(t,n,s){t.readyState||t.open("GET",n.url,!0);const m=n.headers,{maxTimeToFirstByteMs:E,maxLoadTimeMs:I}=s.loadPolicy;if(m)for(const z in m)t.setRequestHeader(z,m[z]);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:I,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 m=n.readyState,E=this.config;if(!s.aborted&&m>=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)))),m===4)){self.clearTimeout(this.requestTimeout),n.onreadystatechange=null,n.onprogress=null;const W=n.status,le=n.responseType==="text"?n.responseText:null;if(W>=200&&W<300){const Ue=le!=null?le:n.response;if(Ue!=null){var I,z;s.loading.end=Math.max(self.performance.now(),s.loading.first);const ut=n.responseType==="arraybuffer"?Ue.byteLength:Ue.length;s.loaded=s.total=ut,s.bwEstimate=s.total*8e3/(s.loading.end-s.loading.first);const lt=(I=this.callbacks)==null?void 0:I.onProgress;lt&<(s,t,Ue,n);const Nt={url:n.responseURL,data:Ue,code:W};(z=this.callbacks)==null||z.onSuccess(Nt,s,t,n);return}}const pe=E.loadPolicy.errorRetry,Ee=s.retry,Oe={url:t.url,data:void 0,code:W};if(zr(pe,Ee,!1,Oe))this.retry(pe);else{var X;H.error(`${W} while loading ${t.url}`),(X=this.callbacks)==null||X.onError({code:W,text:n.statusText},t,n,s)}}}loadtimeout(){if(!this.config)return;const t=this.config.loadPolicy.timeoutRetry,n=this.stats.retry;if(zr(t,n,!0))this.retry(t);else{var s;H.warn(`timeout while loading ${(s=this.context)==null?void 0:s.url}`);const m=this.callbacks;m&&(this.abortInternal(),m.onTimeout(this.stats,this.context,this.loader))}}retry(t){const{context:n,stats:s}=this;this.retryDelay=dr(t,s.retry),s.retry++,H.warn(`${status?"HTTP Status "+status:"Timeout"} while loading ${n==null?void 0:n.url}, retrying ${s.retry}/${t.maxNumRetry} in ${this.retryDelay}ms`),this.abortInternal(),this.loader=null,self.clearTimeout(this.retryTimeout),this.retryTimeout=self.setTimeout(this.loadInternal.bind(this),this.retryDelay)}loadprogress(t){const n=this.stats;n.loaded=t.loaded,t.lengthComputable&&(n.total=t.total)}getCacheAge(){let t=null;if(this.loader&&Xf.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 id={maxTimeToFirstByteMs:8e3,maxLoadTimeMs:2e4,timeoutRetry:null,errorRetry:null},Wf=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:Pf,fLoader:void 0,pLoader:void 0,xhrSetup:void 0,licenseXhrSetup:void 0,licenseResponseCallback:void 0,abrController:sa,bufferController:di,capLevelController:wu,errorController:at,fpsController:pc,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:Xo,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:id},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},Jf()),{},{subtitleStreamController:rf,subtitleTrackController:Lc,timelineController:Sf,audioStreamController:Bl,audioTrackController:cl,emeController:Kl,cmcdController:lu,contentSteeringController:Jc,interstitialsController:tf});function Jf(){return{cueHandler:Ff,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 ad(O,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=ff(O),m=["manifest","level","frag"],E=["TimeOut","MaxRetry","RetryDelay","MaxRetryTimeout"];return m.forEach(I=>{const z=`${I==="level"?"playlist":I}LoadPolicy`,X=t[z]===void 0,W=[];E.forEach(le=>{const pe=`${I}Loading${le}`,Ee=t[pe];if(Ee!==void 0&&X){W.push(pe);const Oe=s[z].default;switch(t[z]={default:Oe},le){case"TimeOut":Oe.maxLoadTimeMs=Ee,Oe.maxTimeToFirstByteMs=Ee;break;case"MaxRetry":Oe.errorRetry.maxNumRetry=Ee,Oe.timeoutRetry.maxNumRetry=Ee;break;case"RetryDelay":Oe.errorRetry.retryDelayMs=Ee,Oe.timeoutRetry.retryDelayMs=Ee;break;case"MaxRetryTimeout":Oe.errorRetry.maxRetryDelayMs=Ee,Oe.timeoutRetry.maxRetryDelayMs=Ee;break}}}),W.length&&n.warn(`hls.js config: "${W.join('", "')}" setting(s) are deprecated, use "${z}": ${Xn(t[z])}`)}),b(b({},s),t)}function ff(O){return O&&typeof O=="object"?Array.isArray(O)?O.map(ff):Object.keys(O).reduce((t,n)=>(t[n]=ff(O[n]),t),{}):O}function sd(O,t){const n=O.loader;n!==Cf&&n!==Pf?(t.log("[config]: Custom loader detected, cannot enable progressive streaming"),O.progressive=!1):lf()&&(O.loader=Cf,O.progressive=!0,O.enableSoftwareAES=!0,t.log("[config]: Progressive streaming enabled, using FetchLoader"))}const df=2,g=.1,C=.05,j=100;class ve extends Fs{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(o.MEDIA_ENDED,{stalled:!1})}},this.hls=t,this.fragmentTracker=n,this.registerListeners()}registerListeners(){const{hls:t}=this;t&&(t.on(o.MEDIA_ATTACHED,this.onMediaAttached,this),t.on(o.MEDIA_DETACHING,this.onMediaDetaching,this),t.on(o.BUFFER_APPENDED,this.onBufferAppended,this))}unregisterListeners(){const{hls:t}=this;t&&(t.off(o.MEDIA_ATTACHED,this.onMediaAttached,this),t.off(o.MEDIA_DETACHING,this.onMediaDetaching,this),t.off(o.BUFFER_APPENDED,this.onBufferAppended,this))}destroy(){super.destroy(),this.unregisterListeners(),this.media=this.hls=this.fragmentTracker=null,this.mediaSource=void 0}onMediaAttached(t,n){this.setInterval(j),this.mediaSource=n.mediaSource;const s=this.media=n.media;eu(s,"playing",this.onMediaPlaying),eu(s,"waiting",this.onMediaWaiting),eu(s,"ended",this.onMediaEnded)}onMediaDetaching(t,n){this.clearInterval();const{media:s}=this;s&&(cu(s,"playing",this.onMediaPlaying),cu(s,"waiting",this.onMediaWaiting),cu(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,m;const E=(s=this.hls)==null?void 0:s.config;if(!E)return;const I=this.media;if(!I)return;const{seeking:z}=I,X=this.seeking&&!z,W=!this.seeking&&z,le=I.paused&&!z||I.ended||I.playbackRate===0;if(this.seeking=z,t!==n){n&&(this.ended=0),this.moved=!0,z||(this.nudgeRetry=0,E.nudgeOnVideoHole&&!le&&t>n&&this.nudgeOnVideoHole(t,n)),this.waiting===0&&this.stallResolved(t);return}if(W||X){X&&this.stallResolved(t);return}if(le){this.nudgeRetry=0,this.stallResolved(t),!this.ended&&I.ended&&this.hls&&(this.ended=t||1,this.hls.trigger(o.MEDIA_ENDED,{stalled:!1}));return}if(!Jn.getBuffered(I).length){this.nudgeRetry=0;return}const pe=Jn.bufferInfo(I,t,0),Ee=pe.nextStart||0,Oe=this.fragmentTracker;if(z&&Oe&&this.hls){const vn=Re(this.hls.inFlightFragments,t),Wr=pe.len>df,an=!Ee||vn||Ee-t>df&&!Oe.getPartialFragment(t);if(Wr||an)return;this.moved=!1}const Ue=(m=this.hls)==null?void 0:m.latestLevelDetails;if(!this.moved&&this.stalled!==null&&Oe){if(!(pe.len>0)&&!Ee)return;const Wr=Math.max(Ee,pe.start||0)-t,fn=!!(Ue!=null&&Ue.live)?Ue.targetduration*2:df,Gr=Bt(t,Oe);if(Wr>0&&(Wr<=fn||Gr)){I.paused||this._trySkipBufferHole(Gr);return}}const ut=E.detectStallWithCurrentTimeMs,lt=self.performance.now(),Nt=this.waiting;let pr=this.stalled;if(pr===null)if(Nt>0&<-Nt=ut||Nt)&&this.hls){var Fr;if(((Fr=this.mediaSource)==null?void 0:Fr.readyState)==="ended"&&!(Ue!=null&&Ue.live)&&Math.abs(t-((Ue==null?void 0:Ue.edge)||0))<1){if(this.ended)return;this.ended=t||1,this.hls.trigger(o.MEDIA_ENDED,{stalled:!0});return}if(this._reportStall(pe),!this.media||!this.hls)return}const Yr=Jn.bufferInfo(I,t,E.maxBufferHole);this._tryFixBufferStall(Yr,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(o.STALL_RESOLVED,{})}}nudgeOnVideoHole(t,n){var s;const m=this.buffered.video;if(this.hls&&this.media&&this.fragmentTracker&&(s=this.buffered.audio)!=null&&s.length&&m&&m.length>1&&t>m.end(0)){const E=Jn.bufferedInfo(Jn.timeRangesToArray(this.buffered.audio),t,0);if(E.len>1&&n>=E.start){const I=Jn.timeRangesToArray(m),z=Jn.bufferedInfo(I,n,0).bufferedIndex;if(z>-1&&zz)&&le-W<1&&t-W<2){const pe=new Error(`nudging playhead to flush pipeline after video hole. currentTime: ${t} hole: ${W} -> ${le} buffered index: ${X}`);this.warn(pe.message),this.media.currentTime+=1e-6;let Ee=Bt(t,this.fragmentTracker);Ee&&"fragment"in Ee?Ee=Ee.fragment:Ee||(Ee=void 0);const Oe=Jn.bufferInfo(this.media,t,0);this.hls.trigger(o.ERROR,{type:c.MEDIA_ERROR,details:f.BUFFER_SEEK_OVER_HOLE,fatal:!1,error:pe,reason:pe.message,frag:Ee,buffer:Oe.len,bufferInfo:Oe})}}}}}_tryFixBufferStall(t,n,s){var m,E;const{fragmentTracker:I,media:z}=this,X=(m=this.hls)==null?void 0:m.config;if(!z||!I||!X)return;const W=(E=this.hls)==null?void 0:E.latestLevelDetails,le=Bt(s,I);if((le||W!=null&&W.live&&s1&&t.len>X.maxBufferHole||t.nextStart&&(t.nextStart-sX.highBufferWatchdogPeriod*1e3||this.waiting)&&(this.warn("Trying to nudge playhead over buffer-hole"),this._tryNudgeBuffer(t))}adjacentTraversal(t,n){const s=this.fragmentTracker,m=t.nextStart;if(s&&m){const E=s.getFragAtPos(n,u.MAIN),I=s.getFragAtPos(m,u.MAIN);if(E&&I)return I.sn-E.sn<2}return!1}_reportStall(t){const{hls:n,media:s,stallReported:m,stalled:E}=this;if(!m&&E!==null&&s&&n){this.stallReported=!0;const I=new Error(`Playback stalling at @${s.currentTime} due to low buffer (${Xn(t)})`);this.warn(I.message),n.trigger(o.ERROR,{type:c.MEDIA_ERROR,details:f.BUFFER_STALLED_ERROR,fatal:!1,error:I,buffer:t.len,bufferInfo:t,stalled:{start:E}})}}_trySkipBufferHole(t){var n;const{fragmentTracker:s,media:m}=this,E=(n=this.hls)==null?void 0:n.config;if(!m||!s||!E)return 0;const I=m.currentTime,z=Jn.bufferInfo(m,I,0),X=I0&&z.len<1&&m.readyState<3,Ee=X-I;if(Ee>0&&(le||pe)){if(Ee>E.maxBufferHole){let Ue=!1;if(I===0){const ut=s.getAppendedFrag(0,u.MAIN);ut&&X{const O=Dr();try{O&&new O(0,Number.POSITIVE_INFINITY,"")}catch(t){return Number.MAX_VALUE}return Number.POSITIVE_INFINITY})();class $a{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(o.EVENT_CUE_ENTER,{})},this.hls=t,this._registerListeners()}destroy(){this._unregisterListeners(),this.id3Track=null,this.media=null,this.dateRangeCuesAppended={},this.hls=this.onEventCueEnter=null}_registerListeners(){const{hls:t}=this;t&&(t.on(o.MEDIA_ATTACHING,this.onMediaAttaching,this),t.on(o.MEDIA_ATTACHED,this.onMediaAttached,this),t.on(o.MEDIA_DETACHING,this.onMediaDetaching,this),t.on(o.MANIFEST_LOADING,this.onManifestLoading,this),t.on(o.FRAG_PARSING_METADATA,this.onFragParsingMetadata,this),t.on(o.BUFFER_FLUSHING,this.onBufferFlushing,this),t.on(o.LEVEL_UPDATED,this.onLevelUpdated,this),t.on(o.LEVEL_PTS_UPDATED,this.onLevelPtsUpdated,this))}_unregisterListeners(){const{hls:t}=this;t&&(t.off(o.MEDIA_ATTACHING,this.onMediaAttaching,this),t.off(o.MEDIA_ATTACHED,this.onMediaAttached,this),t.off(o.MEDIA_DETACHING,this.onMediaDetaching,this),t.off(o.MANIFEST_LOADING,this.onManifestLoading,this),t.off(o.FRAG_PARSING_METADATA,this.onFragParsingMetadata,this),t.off(o.BUFFER_FLUSHING,this.onBufferFlushing,this),t.off(o.LEVEL_UPDATED,this.onLevelUpdated,this),t.off(o.LEVEL_PTS_UPDATED,this.onLevelPtsUpdated,this))}onMediaAttaching(t,n){var s;this.media=n.media,((s=n.overrides)==null?void 0:s.cueRemoval)===!1&&(this.removeCues=!1)}onMediaAttached(){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&&bl(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;nCi&&(pe=Ci),pe-le<=0&&(pe=le+ir);for(let Oe=0;Oele.type===_s.audioId3&&X:m==="video"?W=le=>le.type===_s.emsg&&z:W=le=>le.type===_s.audioId3&&X||le.type===_s.emsg&&z,Uu(E,n,s,W)}}onLevelUpdated(t,{details:n}){this.updateDateRangeCues(n,!0)}onLevelPtsUpdated(t,n){Math.abs(n.drift)>.01&&this.updateDateRangeCues(n.details)}updateDateRangeCues(t,n){if(!this.hls||!this.media)return;const{assetPlayerId:s,timelineOffset:m,enableDateRangeMetadataCues:E,interstitialsController:I}=this.hls.config;if(!E)return;const z=Dr();if(s&&m&&!I){const{fragmentStart:ut,fragmentEnd:lt}=t;let Nt=this.assetCue;Nt?(Nt.startTime=ut,Nt.endTime=lt):z&&(Nt=this.assetCue=_n(z,ut,lt,{assetPlayerId:this.hls.config.assetPlayerId},"hlsjs.interstitial.asset"),Nt&&(Nt.id=s,this.id3Track||(this.id3Track=this.createTrack(this.media)),this.id3Track.addCue(Nt),Nt.addEventListener("enter",this.onEventCueEnter)))}if(!t.hasProgramDateTime)return;const{id3Track:X}=this,{dateRanges:W}=t,le=Object.keys(W);let pe=this.dateRangeCuesAppended;if(X&&n){var Ee;if((Ee=X.cues)!=null&&Ee.length){const ut=Object.keys(pe).filter(lt=>!le.includes(lt));for(let lt=ut.length;lt--;){var Oe;const Nt=ut[lt],pr=(Oe=pe[Nt])==null?void 0:Oe.cues;delete pe[Nt],pr&&Object.keys(pr).forEach(sr=>{const Fr=pr[sr];if(Fr){Fr.removeEventListener("enter",this.onEventCueEnter);try{X.removeCue(Fr)}catch(Yr){}}})}}else pe=this.dateRangeCuesAppended={}}const Ue=t.fragments[t.fragments.length-1];if(!(le.length===0||!r(Ue==null?void 0:Ue.programDateTime))){this.id3Track||(this.id3Track=this.createTrack(this.media));for(let ut=0;ut{if(yi!==Nt.id){const Ji=W[yi];if(Ji.class===Nt.class&&Ji.startDate>Nt.startDate&&(!Sn||Nt.startDate.01&&(yi.startTime=pr,yi.endTime=vn);else if(z){let Ji=Nt.attr[Sn];Nn(Sn)&&(Ji=V(Ji));const Ei=_n(z,pr,vn,{key:Sn,data:Ji},_s.dateRange);Ei&&(Ei.id=lt,this.id3Track.addCue(Ei),Fr[Sn]=Ei,I&&(Sn==="X-ASSET-LIST"||Sn==="X-ASSET-URL")&&Ei.addEventListener("enter",this.onEventCueEnter))}}pe[lt]={cues:Fr,dateRange:Nt,durationKnown:Yr}}}}}class Qn{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 m=this.computeLatency();if(m===null)return;this._latency=m;const{lowLatencyMode:E,maxLiveSyncPlaybackRate:I}=this.config;if(!E||I===1||!s.live)return;const z=this.targetLatency;if(z===null)return;const X=m-z,W=Math.min(this.maxLatency,z+s.targetduration);if(X.05&&this.forwardBufferLength>1){const pe=Math.min(2,Math.max(1,I)),Ee=Math.round(2/(1+Math.exp(-.75*X-this.edgeStalled))*20)/20,Oe=Math.min(pe,Math.max(1,Ee));this.changeMediaPlaybackRate(n,Oe)}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:m}=t,{liveSyncDuration:E,liveSyncDurationCount:I,lowLatencyMode:z}=this.config,X=this.hls.userConfig;let W=z&&s||n;(this._targetLatencyUpdated||X.liveSyncDuration||X.liveSyncDurationCount||W===0)&&(W=E!==void 0?E:I*m);const le=m;return W+Math.min(this.stallCount*this.config.liveSyncOnStallIncrease,le)}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 m=s.edge,E=t-n-this.edgeStalled,I=m-s.totalduration,z=m-(this.config.lowLatencyMode&&s.partTarget||s.targetduration);return Math.min(Math.max(I,E),z)}get drift(){const t=this.levelDetails;return t===null?1:t.drift}get edgeStalled(){const t=this.levelDetails;if(t===null)return 0;const n=(this.config.lowLatencyMode&&t.partTarget||t.targetduration)*3;return Math.max(t.age-n,0)}get forwardBufferLength(){const{media:t}=this,n=this.levelDetails;if(!t||!n)return 0;const s=t.buffered.length;return(s?t.buffered.end(s-1):n.edge)-this.currentTime}destroy(){this.unregisterListeners(),this.onMediaDetaching(),this.hls=null}registerListeners(){const{hls:t}=this;t&&(t.on(o.MEDIA_ATTACHED,this.onMediaAttached,this),t.on(o.MEDIA_DETACHING,this.onMediaDetaching,this),t.on(o.MANIFEST_LOADING,this.onManifestLoading,this),t.on(o.LEVEL_UPDATED,this.onLevelUpdated,this),t.on(o.ERROR,this.onError,this))}unregisterListeners(){const{hls:t}=this;t&&(t.off(o.MEDIA_ATTACHED,this.onMediaAttached,this),t.off(o.MEDIA_DETACHING,this.onMediaDetaching,this),t.off(o.MANIFEST_LOADING,this.onManifestLoading,this),t.off(o.LEVEL_UPDATED,this.onLevelUpdated,this),t.off(o.ERROR,this.onError,this))}onMediaAttached(t,n){this.media=n.media,this.media.addEventListener("timeupdate",this.onTimeupdate)}onMediaDetaching(){this.media&&(this.media.removeEventListener("timeupdate",this.onTimeupdate),this.media=null)}onManifestLoading(){this._latency=null,this.stallCount=0}onLevelUpdated(t,{details:n}){n.advanced&&this.onTimeupdate(),!n.live&&this.media&&this.media.removeEventListener("timeupdate",this.onTimeupdate)}onError(t,n){var s;n.details===f.BUFFER_STALLED_ERROR&&(this.stallCount++,this.hls&&(s=this.levelDetails)!=null&&s.live&&this.hls.logger.warn("[latency-controller]: Stall detected, adjusting target latency"))}changeMediaPlaybackRate(t,n){var s,m;t.playbackRate!==n&&((s=this.hls)==null||s.logger.debug(`[latency-controller]: latency=${this.latency.toFixed(3)}, targetLatency=${(m=this.targetLatency)==null?void 0:m.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 ca extends nu{constructor(t,n){super(t,"level-controller"),this._levels=[],this._firstLevel=-1,this._maxAutoLevel=-1,this._startLevel=void 0,this.currentLevel=null,this.currentLevelIndex=-1,this.manualLevelIndex=-1,this.steering=void 0,this.onParsedComplete=void 0,this.steering=n,this._registerListeners()}_registerListeners(){const{hls:t}=this;t.on(o.MANIFEST_LOADING,this.onManifestLoading,this),t.on(o.MANIFEST_LOADED,this.onManifestLoaded,this),t.on(o.LEVEL_LOADED,this.onLevelLoaded,this),t.on(o.LEVELS_UPDATED,this.onLevelsUpdated,this),t.on(o.FRAG_BUFFERED,this.onFragBuffered,this),t.on(o.ERROR,this.onError,this)}_unregisterListeners(){const{hls:t}=this;t.off(o.MANIFEST_LOADING,this.onManifestLoading,this),t.off(o.MANIFEST_LOADED,this.onManifestLoaded,this),t.off(o.LEVEL_LOADED,this.onLevelLoaded,this),t.off(o.LEVELS_UPDATED,this.onLevelsUpdated,this),t.off(o.FRAG_BUFFERED,this.onFragBuffered,this),t.off(o.ERROR,this.onError,this)}destroy(){this._unregisterListeners(),this.steering=null,this.resetLevels(),super.destroy()}stopLoad(){this._levels.forEach(n=>{n.loadError=0,n.fragmentError=0}),super.stopLoad()}resetLevels(){this._startLevel=void 0,this.manualLevelIndex=-1,this.currentLevelIndex=-1,this.currentLevel=null,this._levels=[],this._maxAutoLevel=-1}onManifestLoading(t,n){this.resetLevels()}onManifestLoaded(t,n){const s=this.hls.config.preferManagedMediaSource,m=[],E={},I={};let z=!1,X=!1,W=!1;n.levels.forEach(le=>{const pe=le.attrs;let{audioCodec:Ee,videoCodec:Oe}=le;Ee&&(le.audioCodec=Ee=mt(Ee,s)||void 0),Oe&&(Oe=le.videoCodec=St(Oe));const{width:Ue,height:ut,unknownCodecs:lt}=le;let Nt=lt?lt.length:0;if(lt)for(let Gr=Nt;Gr--;){const Sn=lt[Gr];this.isAudioSupported(Sn)?(le.audioCodec=Ee=Ee?`${Ee},${Sn}`:Sn,Nt--,he.audio[Ee.substring(0,4)]=2):this.isVideoSupported(Sn)&&(le.videoCodec=Oe=Oe?`${Oe},${Sn}`:Sn,Nt--,he.video[Oe.substring(0,4)]=2)}if(z||(z=!!(Ue&&ut)),X||(X=!!Oe),W||(W=!!Ee),Nt||Ee&&!this.isAudioSupported(Ee)||Oe&&!this.isVideoSupported(Oe)){this.log(`Some or all CODECS not supported "${pe.CODECS}"`);return}const{CODECS:pr,"FRAME-RATE":sr,"HDCP-LEVEL":Fr,"PATHWAY-ID":Yr,RESOLUTION:vn,"VIDEO-RANGE":Wr}=pe,fn=`${`${Yr||"."}-`}${le.bitrate}-${vn}-${sr}-${pr}-${Wr}-${Fr}`;if(E[fn])if(E[fn].uri!==le.url&&!le.attrs["PATHWAY-ID"]){const Gr=I[fn]+=1;le.attrs["PATHWAY-ID"]=new Array(Gr+1).join(".");const Sn=this.createLevel(le);E[fn]=Sn,m.push(Sn)}else E[fn].addGroupId("audio",pe.AUDIO),E[fn].addGroupId("text",pe.SUBTITLES);else{const Gr=this.createLevel(le);E[fn]=Gr,I[fn]=1,m.push(Gr)}}),this.filterAndSortMediaOptions(m,n,z,X,W)}createLevel(t){const n=new cr(t),s=t.supplemental;if(s!=null&&s.videoCodec&&!this.isVideoSupported(s.videoCodec)){const m=new Error(`SUPPLEMENTAL-CODECS not supported "${s.videoCodec}"`);this.log(m.message),n.supportedResult=gr(m,[])}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,m,E){let I=[],z=[],X=t;if((s||m)&&E&&(X=X.filter(({videoCodec:lt,videoRange:Nt,width:pr,height:sr})=>(!!lt||!!(pr&&sr))&&nn(Nt))),X.length===0){Promise.resolve().then(()=>{if(this.hls){let lt="no level with compatible codecs found in manifest",Nt=lt;n.levels.length&&(Nt=`one or more CODECS in variant not supported: ${Xn(n.levels.map(sr=>sr.attrs.CODECS).filter((sr,Fr,Yr)=>Yr.indexOf(sr)===Fr))}`,this.warn(Nt),lt+=` (${Nt})`);const pr=new Error(lt);this.hls.trigger(o.ERROR,{type:c.MEDIA_ERROR,details:f.MANIFEST_INCOMPATIBLE_CODECS_ERROR,fatal:!0,url:n.url,error:pr,reason:Nt})}});return}n.audioTracks&&(I=n.audioTracks.filter(lt=>!lt.audioCodec||this.isAudioSupported(lt.audioCodec)),Na(I)),n.subtitles&&(z=n.subtitles,Na(z));const W=X.slice(0);X.sort((lt,Nt)=>{if(lt.attrs["HDCP-LEVEL"]!==Nt.attrs["HDCP-LEVEL"])return(lt.attrs["HDCP-LEVEL"]||"")>(Nt.attrs["HDCP-LEVEL"]||"")?1:-1;if(s&<.height!==Nt.height)return lt.height-Nt.height;if(lt.frameRate!==Nt.frameRate)return lt.frameRate-Nt.frameRate;if(lt.videoRange!==Nt.videoRange)return yr.indexOf(lt.videoRange)-yr.indexOf(Nt.videoRange);if(lt.videoCodec!==Nt.videoCodec){const pr=wt(lt.videoCodec),sr=wt(Nt.videoCodec);if(pr!==sr)return sr-pr}if(lt.uri===Nt.uri&<.codecSet!==Nt.codecSet){const pr=Ie(lt.codecSet),sr=Ie(Nt.codecSet);if(pr!==sr)return sr-pr}return lt.averageBitrate!==Nt.averageBitrate?lt.averageBitrate-Nt.averageBitrate:0});let le=W[0];if(this.steering&&(X=this.steering.filterParsedLevels(X),X.length!==W.length)){for(let lt=0;ltpr&&pr===this.hls.abrEwmaDefaultEstimate&&(this.hls.bandwidthEstimate=sr)}break}const Ee=E&&!m,Oe=this.hls.config,Ue=!!(Oe.audioStreamController&&Oe.audioTrackController),ut={levels:X,audioTracks:I,subtitleTracks:z,sessionData:n.sessionData,sessionKeys:n.sessionKeys,firstLevel:this._firstLevel,stats:n.stats,audio:E,video:m,altAudio:Ue&&!Ee&&I.some(lt=>!!lt.url)};this.hls.trigger(o.MANIFEST_PARSED,ut)}get levels(){return this._levels.length===0?null:this._levels}get loadLevelObj(){return this.currentLevel}get level(){return this.currentLevelIndex}set level(t){const n=this._levels;if(n.length===0)return;if(t<0||t>=n.length){const le=new Error("invalid level idx"),pe=t<0;if(this.hls.trigger(o.ERROR,{type:c.OTHER_ERROR,details:f.LEVEL_SWITCH_ERROR,level:t,fatal:pe,error:le,reason:le.message}),pe)return;t=Math.min(t,n.length-1)}const s=this.currentLevelIndex,m=this.currentLevel,E=m?m.attrs["PATHWAY-ID"]:void 0,I=n[t],z=I.attrs["PATHWAY-ID"];if(this.currentLevelIndex=t,this.currentLevel=I,s===t&&m&&E===z)return;this.log(`Switching to level ${t} (${I.height?I.height+"p ":""}${I.videoRange?I.videoRange+" ":""}${I.codecSet?I.codecSet+" ":""}@${I.bitrate})${z?" with Pathway "+z:""} from level ${s}${E?" with Pathway "+E:""}`);const X={level:t,attrs:I.attrs,details:I.details,bitrate:I.bitrate,averageBitrate:I.averageBitrate,maxBitrate:I.maxBitrate,realBitrate:I.realBitrate,width:I.width,height:I.height,codecSet:I.codecSet,audioCodec:I.audioCodec,videoCodec:I.videoCodec,audioGroups:I.audioGroups,subtitleGroups:I.subtitleGroups,loaded:I.loaded,loadError:I.loadError,fragmentError:I.fragmentError,name:I.name,id:I.id,uri:I.uri,url:I.url,urlId:0,audioGroupIds:I.audioGroupIds,textGroupIds:I.textGroupIds};this.hls.trigger(o.LEVEL_SWITCHING,X);const W=I.details;if(!W||W.live){const le=this.switchParams(I.uri,m==null?void 0:m.details,W);this.loadPlaylist(le)}}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(m=>n.indexOf(m)!==-1);if(t.length<1){this.warn(`pathwayPriority ${t} should contain at least one pathway from list: ${n}`);return}this.steering.pathwayPriority=s}}onError(t,n){n.fatal||!n.context||n.context.type===h.LEVEL&&n.context.level===this.level&&this.checkRetry(n)}onFragBuffered(t,{frag:n}){if(n!==void 0&&n.type===u.MAIN){const s=n.elementaryStreams;if(!Object.keys(s).some(E=>!!s[E]))return;const m=this._levels[n.level];m!=null&&m.loadError&&(this.log(`Resetting level error count of ${m.loadError} on frag buffered`),m.loadError=0)}}onLevelLoaded(t,n){var s;const{level:m,details:E}=n,I=n.levelInfo;if(!I){var z;this.warn(`Invalid level index ${m}`),(z=n.deliveryDirectives)!=null&&z.skip&&(E.deltaUpdateFailed=!0);return}if(I===this.currentLevel||n.withoutMultiVariant){I.fragmentError===0&&(I.loadError=0);let X=I.details;X===n.details&&X.advanced&&(X=void 0),this.playlistLoaded(m,n,X)}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),m=this.currentLevelIndex,E=t.attrs["PATHWAY-ID"],I=t.details,z=I==null?void 0:I.age;this.log(`Loading level index ${m}${(n==null?void 0:n.msn)!==void 0?" at sn "+n.msn+" part "+n.part:""}${E?" Pathway "+E:""}${z&&I.live?" age "+z.toFixed(1)+(I.type?" "+I.type||0:""):""} ${s}`),this.hls.trigger(o.LEVEL_LOADING,{url:s,level:m,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,I)=>I!==t?!0:(this.steering&&this.steering.removeLevel(E),E===this.currentLevel&&(this.currentLevel=null,this.currentLevelIndex=-1,E.details&&E.details.fragments.forEach(z=>z.level=-1)),!1));Br(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 m=s.length-1;this._firstLevel=Math.min(this._firstLevel,m),this._startLevel&&(this._startLevel=Math.min(this._startLevel,m)),this.hls.trigger(o.LEVELS_UPDATED,{levels:s})}onLevelsUpdated(t,{levels:n}){this._levels=n}checkMaxAutoUpdated(){const{autoLevelCapping:t,maxAutoLevel:n,maxHdcpLevel:s}=this.hls;this._maxAutoLevel!==n&&(this._maxAutoLevel=n,this.hls.trigger(o.MAX_AUTO_LEVEL_UPDATED,{autoLevelCapping:t,levels:this.levels,maxAutoLevel:n,minAutoLevel:this.hls.minAutoLevel,maxHdcpLevel:s}))}}function Na(O){const t={};O.forEach(n=>{const s=n.groupId||"";n.id=t[s]=t[s]||0,t[s]++})}function ka(){return self.SourceBuffer||self.WebKitSourceBuffer}function en(){if(!ae())return!1;const t=ka();return!t||t.prototype&&typeof t.prototype.appendBuffer=="function"&&typeof t.prototype.remove=="function"}function $r(){if(!en())return!1;const O=ae();return typeof(O==null?void 0:O.isTypeSupported)=="function"&&(["avc1.42E01E,mp4a.40.2","av01.0.01M.08","vp09.00.50.08"].some(t=>O.isTypeSupported(Zt(t,"video")))||["mp4a.40.2","fLaC"].some(t=>O.isTypeSupported(Zt(t,"audio"))))}function qr(){var O;const t=ka();return typeof(t==null||(O=t.prototype)==null?void 0:O.changeType)=="function"}const On=100;class Un extends oa{constructor(t,n,s){super(t,n,s,"stream-controller",u.MAIN),this.audioCodecSwap=!1,this.level=-1,this._forceStartLoad=!1,this._hasEnoughToStart=!1,this.altAudio=0,this.audioOnly=!1,this.fragPlaying=null,this.fragLastKbps=0,this.couldBacktrack=!1,this.backtrackFragment=null,this.audioCodecSwitch=!1,this.videoBuffer=null,this.onMediaPlaying=()=>{this.tick()},this.onMediaSeeked=()=>{const m=this.media,E=m?m.currentTime:null;if(E===null||!r(E)||(this.log(`Media seeked to ${E.toFixed(3)}`),!this.getBufferedFrag(E)))return;const I=this.getFwdBufferInfoAtPos(m,E,u.MAIN,0);if(I===null||I.len===0){this.warn(`Main forward buffer length at ${E} on "seeked" event ${I?I.len:"empty"})`);return}this.tick()},this.registerListeners()}registerListeners(){super.registerListeners();const{hls:t}=this;t.on(o.MANIFEST_PARSED,this.onManifestParsed,this),t.on(o.LEVEL_LOADING,this.onLevelLoading,this),t.on(o.LEVEL_LOADED,this.onLevelLoaded,this),t.on(o.FRAG_LOAD_EMERGENCY_ABORTED,this.onFragLoadEmergencyAborted,this),t.on(o.AUDIO_TRACK_SWITCHING,this.onAudioTrackSwitching,this),t.on(o.AUDIO_TRACK_SWITCHED,this.onAudioTrackSwitched,this),t.on(o.BUFFER_CREATED,this.onBufferCreated,this),t.on(o.BUFFER_FLUSHED,this.onBufferFlushed,this),t.on(o.LEVELS_UPDATED,this.onLevelsUpdated,this),t.on(o.FRAG_BUFFERED,this.onFragBuffered,this)}unregisterListeners(){super.unregisterListeners();const{hls:t}=this;t.off(o.MANIFEST_PARSED,this.onManifestParsed,this),t.off(o.LEVEL_LOADED,this.onLevelLoaded,this),t.off(o.FRAG_LOAD_EMERGENCY_ABORTED,this.onFragLoadEmergencyAborted,this),t.off(o.AUDIO_TRACK_SWITCHING,this.onAudioTrackSwitching,this),t.off(o.AUDIO_TRACK_SWITCHED,this.onAudioTrackSwitched,this),t.off(o.BUFFER_CREATED,this.onBufferCreated,this),t.off(o.BUFFER_FLUSHED,this.onBufferFlushed,this),t.off(o.LEVELS_UPDATED,this.onLevelsUpdated,this),t.off(o.FRAG_BUFFERED,this.onFragBuffered,this)}onHandlerDestroying(){this.onMediaPlaying=this.onMediaSeeked=null,this.unregisterListeners(),super.onHandlerDestroying()}startLoad(t,n){if(this.levels){const{lastCurrentTime:s,hls:m}=this;if(this.stopLoad(),this.setInterval(On),this.level=-1,!this.startFragRequested){let E=m.startLevel;E===-1&&(m.config.testBandwidth&&this.levels.length>1?(E=0,this.bitrateTest=!0):E=m.firstAutoLevel),m.nextLoadLevel=E,this.level=m.loadLevel,this._hasEnoughToStart=!!n}s>0&&t===-1&&!n&&(this.log(`Override startPosition with lastCurrentTime @${s.toFixed(3)}`),t=s),this.state=Jt.IDLE,this.nextLoadPosition=this.lastCurrentTime=t+this.timelineOffset,this.startPosition=n?-1:t,this.tick()}else this._forceStartLoad=!0,this.state=Jt.STOPPED}stopLoad(){this._forceStartLoad=!1,super.stopLoad()}doTick(){switch(this.state){case Jt.WAITING_LEVEL:{const{levels:n,level:s}=this,m=n==null?void 0:n[s],E=m==null?void 0:m.details;if(E&&(!E.live||this.levelLastLoaded===m&&!this.waitForLive(m))){if(this.waitForCdnTuneIn(E))break;this.state=Jt.IDLE;break}else if(this.hls.nextLoadLevel!==this.level){this.state=Jt.IDLE;break}break}case Jt.FRAG_LOADING_WAITING_RETRY:{var t;const n=self.performance.now(),s=this.retryDate;if(!s||n>=s||(t=this.media)!=null&&t.seeking){const{levels:m,level:E}=this,I=m==null?void 0:m[E];this.resetStartWhenNotLoaded(I||null),this.state=Jt.IDLE}}break}this.state===Jt.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:m}=this;if(n===null||!m&&!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 I=s[E],z=this.getMainFwdBufferInfo();if(z===null)return;const X=this.getLevelDetails();if(X&&this._streamEnded(z,X)){const ut={};this.altAudio===2&&(ut.type="video"),this.hls.trigger(o.BUFFER_EOS,ut),this.state=Jt.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 W=I.details;if(!W||this.state===Jt.WAITING_LEVEL||this.waitForLive(I)){this.level=E,this.state=Jt.WAITING_LEVEL,this.startFragRequested=!1;return}const le=z.len,pe=this.getMaxBufferLength(I.maxBitrate);if(le>=pe)return;this.backtrackFragment&&this.backtrackFragment.start>z.end&&(this.backtrackFragment=null);const Ee=this.backtrackFragment?this.backtrackFragment.start:z.end;let Oe=this.getNextFragment(Ee,W);if(this.couldBacktrack&&!this.fragPrevious&&Oe&&Pe(Oe)&&this.fragmentTracker.getState(Oe)!==Er.OK){var Ue;const lt=((Ue=this.backtrackFragment)!=null?Ue:Oe).sn-W.startSN,Nt=W.fragments[lt-1];Nt&&Oe.cc===Nt.cc&&(Oe=Nt,this.fragmentTracker.removeFragment(Nt))}else this.backtrackFragment&&z.len&&(this.backtrackFragment=null);if(Oe&&this.isLoopLoading(Oe,Ee)){if(!Oe.gap){const lt=this.audioOnly&&!this.altAudio?ie.AUDIO:ie.VIDEO,Nt=(lt===ie.VIDEO?this.videoBuffer:this.mediaBuffer)||this.media;Nt&&this.afterBufferFlushed(Nt,lt,u.MAIN)}Oe=this.getNextFragmentLoopLoading(Oe,W,z,u.MAIN,pe)}Oe&&(Oe.initSegment&&!Oe.initSegment.data&&!this.bitrateTest&&(Oe=Oe.initSegment),this.loadFragment(Oe,I,Ee))}loadFragment(t,n,s){const m=this.fragmentTracker.getState(t);m===Er.NOT_LOADED||m===Er.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,u.MAIN)}followingBufferedFrag(t){return t?this.getBufferedFrag(t.end+.5):null}immediateLevelSwitch(){this.abortCurrentFrag(),this.flushMainBuffer(0,Number.POSITIVE_INFINITY)}nextLevelSwitch(){const{levels:t,media:n}=this;if(n!=null&&n.readyState){let s;const m=this.getAppendedFrag(n.currentTime);m&&m.start>1&&this.flushMainBuffer(0,m.start-1);const E=this.getLevelDetails();if(E!=null&&E.live){const z=this.getMainFwdBufferInfo();if(!z||z.len{const I=E.audioCodec;I&&(s=s||I.indexOf("mp4a.40.2")!==-1,m=m||I.indexOf("mp4a.40.5")!==-1)}),this.audioCodecSwitch=s&&m&&!qr(),this.audioCodecSwitch&&this.log("Both AAC/HE-AAC audio found in levels; declaring level codec as HE-AAC"),this.levels=n.levels,this.startFragRequested=!1}onLevelLoading(t,n){const{levels:s}=this;if(!s||this.state!==Jt.IDLE)return;const m=n.levelInfo;(!m.details||m.details.live&&(this.levelLastLoaded!==m||m.details.expired)||this.waitForCdnTuneIn(m.details))&&(this.state=Jt.WAITING_LEVEL)}onLevelLoaded(t,n){var s;const{levels:m,startFragRequested:E}=this,I=n.level,z=n.details,X=z.totalduration;if(!m){this.warn(`Levels were reset while loading level ${I}`);return}this.log(`Level ${I} loaded [${z.startSN},${z.endSN}]${z.lastPartSn?`[part-${z.lastPartSn}-${z.lastPartIndex}]`:""}, cc [${z.startCC}, ${z.endCC}] duration:${X}`);const W=n.levelInfo,le=this.fragCurrent;le&&(this.state===Jt.FRAG_LOADING||this.state===Jt.FRAG_LOADING_WAITING_RETRY)&&le.level!==n.level&&le.loader&&this.abortCurrentFrag();let pe=0;if(z.live||(s=W.details)!=null&&s.live){var Ee;if(this.checkLiveUpdate(z),z.deltaUpdateFailed)return;pe=this.alignPlaylists(z,W.details,(Ee=this.levelLastLoaded)==null?void 0:Ee.details)}if(W.details=z,this.levelLastLoaded=W,E||this.setStartPosition(z,pe),this.hls.trigger(o.LEVEL_UPDATED,{details:z,level:I}),this.state===Jt.WAITING_LEVEL){if(this.waitForCdnTuneIn(z))return;this.state=Jt.IDLE}E&&z.live&&this.synchronizeToLiveEdge(z),this.tick()}synchronizeToLiveEdge(t){const{config:n,media:s}=this;if(!s)return;const m=this.hls.liveSyncPosition,E=this.getLoadPosition(),I=t.fragmentStart,z=t.edge,X=E>=I-n.maxFragLookUpTolerance&&E<=z;if(m!==null&&s.duration>m&&(E{var I;(I=this.hls)==null||I.trigger(o.AUDIO_TRACK_SWITCHED,n)}),s.trigger(o.BUFFER_FLUSHING,{startOffset:0,endOffset:Number.POSITIVE_INFINITY,type:null});return}s.trigger(o.AUDIO_TRACK_SWITCHED,n)}}onAudioTrackSwitched(t,n){const s=ii(n.url,this.hls);if(s){const m=this.videoBuffer;m&&this.mediaBuffer!==m&&(this.log("Switching on alternate audio, use video.buffered to schedule main fragment loading"),this.mediaBuffer=m)}this.altAudio=s?2:0,this.tick()}onBufferCreated(t,n){const s=n.tracks;let m,E,I=!1;for(const z in s){const X=s[z];if(X.id==="main"){if(E=z,m=X,z==="video"){const W=s[z];W&&(this.videoBuffer=W.buffer)}}else I=!0}I&&m?(this.log(`Alternate track found, use ${E}.buffered to schedule main fragment loading`),this.mediaBuffer=m.buffer):this.mediaBuffer=this.media}onFragBuffered(t,n){const{frag:s,part:m}=n,E=s.type===u.MAIN;if(E){if(this.fragContextChanged(s)){this.warn(`Fragment ${s.sn}${m?" p: "+m.index:""} of level ${s.level} finished buffering, but was aborted. state: ${this.state}`),this.state===Jt.PARSED&&(this.state=Jt.IDLE);return}const z=m?m.stats:s.stats;this.fragLastKbps=Math.round(8*z.total/(z.buffering.end-z.loading.first)),Pe(s)&&(this.fragPrevious=s),this.fragBufferedComplete(s,m)}const I=this.media;I&&(!this._hasEnoughToStart&&Jn.getBuffered(I).length&&(this._hasEnoughToStart=!0,this.seekToStartPos()),E&&this.tick())}get hasEnoughToStart(){return this._hasEnoughToStart}onError(t,n){var s;if(n.fatal){this.state=Jt.ERROR;return}switch(n.details){case f.FRAG_GAP:case f.FRAG_PARSING_ERROR:case f.FRAG_DECRYPT_ERROR:case f.FRAG_LOAD_ERROR:case f.FRAG_LOAD_TIMEOUT:case f.KEY_LOAD_ERROR:case f.KEY_LOAD_TIMEOUT:this.onFragmentOrKeyLoadError(u.MAIN,n);break;case f.LEVEL_LOAD_ERROR:case f.LEVEL_LOAD_TIMEOUT:case f.LEVEL_PARSING_ERROR:!n.levelRetry&&this.state===Jt.WAITING_LEVEL&&((s=n.context)==null?void 0:s.type)===h.LEVEL&&(this.state=Jt.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=Jt.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,u.MAIN),this.tick())}}onLevelsUpdated(t,n){this.level>-1&&this.fragCurrent&&(this.level=this.fragCurrent.level,this.level===-1&&this.resetWhenMissingContext(this.fragCurrent)),this.levels=n.levels}swapAudioCodec(){this.audioCodecSwap=!this.audioCodecSwap}seekToStartPos(){const{media:t}=this;if(!t)return;const n=t.currentTime;let s=this.startPosition;if(s>=0&&n0&&(X{const{hls:m}=this,E=s==null?void 0:s.frag;if(!E||this.fragContextChanged(E))return;n.fragmentError=0,this.state=Jt.IDLE,this.startFragRequested=!1,this.bitrateTest=!1;const I=E.stats;I.parsing.start=I.parsing.end=I.buffering.start=I.buffering.end=self.performance.now(),m.trigger(o.FRAG_LOADED,s),E.bitrateTest=!1})}_handleTransmuxComplete(t){var n;const s=this.playlistType,{hls:m}=this,{remuxResult:E,chunkMeta:I}=t,z=this.getCurrentContext(I);if(!z){this.resetWhenMissingContext(I);return}const{frag:X,part:W,level:le}=z,{video:pe,text:Ee,id3:Oe,initSegment:Ue}=E,{details:ut}=le,lt=this.altAudio?void 0:E.audio;if(this.fragContextChanged(X)){this.fragmentTracker.removeFragment(X);return}if(this.state=Jt.PARSING,Ue){if(Ue!=null&&Ue.tracks){const Fr=X.initSegment||X;this._bufferInitSegment(le,Ue.tracks,Fr,I),m.trigger(o.FRAG_PARSING_INIT_SEGMENT,{frag:Fr,id:s,tracks:Ue.tracks})}const Nt=Ue.initPTS,pr=Ue.timescale,sr=this.initPTS[X.cc];if(r(Nt)&&(!sr||sr.baseTime!==Nt||sr.timescale!==pr)){const Fr=Ue.trackId;this.initPTS[X.cc]={baseTime:Nt,timescale:pr,trackId:Fr},m.trigger(o.INIT_PTS_FOUND,{frag:X,id:s,initPTS:Nt,timescale:pr,trackId:Fr})}}if(pe&&ut){lt&&pe.type==="audiovideo"&&this.logMuxedErr(X);const Nt=ut.fragments[X.sn-1-ut.startSN],pr=X.sn===ut.startSN,sr=!Nt||X.cc>Nt.cc;if(E.independent!==!1){const{startPTS:Fr,endPTS:Yr,startDTS:vn,endDTS:Wr}=pe;if(W)W.elementaryStreams[pe.type]={startPTS:Fr,endPTS:Yr,startDTS:vn,endDTS:Wr};else if(pe.firstKeyFrame&&pe.independent&&I.id===1&&!sr&&(this.couldBacktrack=!0),pe.dropped&&pe.independent){const an=this.getMainFwdBufferInfo(),fn=(an?an.end:this.getLoadPosition())+this.config.maxBufferHole,Gr=pe.firstKeyFramePTS?pe.firstKeyFramePTS:Fr;if(!pr&&fndf&&(X.gap=!0);X.setElementaryStreamInfo(pe.type,Fr,Yr,vn,Wr),this.backtrackFragment&&(this.backtrackFragment=X),this.bufferFragmentData(pe,X,W,I,pr||sr)}else if(pr||sr)X.gap=!0;else{this.backtrack(X);return}}if(lt){const{startPTS:Nt,endPTS:pr,startDTS:sr,endDTS:Fr}=lt;W&&(W.elementaryStreams[ie.AUDIO]={startPTS:Nt,endPTS:pr,startDTS:sr,endDTS:Fr}),X.setElementaryStreamInfo(ie.AUDIO,Nt,pr,sr,Fr),this.bufferFragmentData(lt,X,W,I)}if(ut&&Oe!=null&&(n=Oe.samples)!=null&&n.length){const Nt={id:s,frag:X,details:ut,samples:Oe.samples};m.trigger(o.FRAG_PARSING_METADATA,Nt)}if(ut&&Ee){const Nt={id:s,frag:X,details:ut,samples:Ee.samples};m.trigger(o.FRAG_PARSING_USERDATA,Nt)}}logMuxedErr(t){this.warn(`${Pe(t)?"Media":"Init"} segment with muxed audiovideo where only video expected: ${t.url}`)}_bufferInitSegment(t,n,s,m){if(this.state!==Jt.PARSING)return;this.audioOnly=!!n.audio&&!n.video,this.altAudio&&!this.audioOnly&&(delete n.audio,n.audiovideo&&this.logMuxedErr(s));const{audio:E,video:I,audiovideo:z}=n;if(E){const W=t.audioCodec;let le=Fe(E.codec,W);le==="mp4a"&&(le="mp4a.40.5");const pe=navigator.userAgent.toLowerCase();if(this.audioCodecSwitch){le&&(le.indexOf("mp4a.40.5")!==-1?le="mp4a.40.2":le="mp4a.40.5");const Ee=E.metadata;Ee&&"channelCount"in Ee&&(Ee.channelCount||1)!==1&&pe.indexOf("firefox")===-1&&(le="mp4a.40.5")}le&&le.indexOf("mp4a.40.5")!==-1&&pe.indexOf("android")!==-1&&E.container!=="audio/mpeg"&&(le="mp4a.40.2",this.log(`Android: force audio codec to ${le}`)),W&&W!==le&&this.log(`Swapping manifest audio codec "${W}" for "${le}"`),E.levelCodec=le,E.id=u.MAIN,this.log(`Init audio buffer, container:${E.container}, codecs[selected/level/parsed]=[${le||""}/${W||""}/${E.codec}]`),delete n.audiovideo}if(I){I.levelCodec=t.videoCodec,I.id=u.MAIN;const W=I.codec;if((W==null?void 0:W.length)===4)switch(W){case"hvc1":case"hev1":I.codec="hvc1.1.6.L120.90";break;case"av01":I.codec="av01.0.04M.08";break;case"avc1":I.codec="avc1.42e01e";break}this.log(`Init video buffer, container:${I.container}, codecs[level/parsed]=[${t.videoCodec||""}/${W}]${I.codec!==W?" parsed-corrected="+I.codec:""}${I.supplemental?" supplemental="+I.supplemental:""}`),delete n.audiovideo}z&&(this.log(`Init audiovideo buffer, container:${z.container}, codecs[level/parsed]=[${t.codecs}/${z.codec}]`),delete n.video,delete n.audio);const X=Object.keys(n);if(X.length){if(this.hls.trigger(o.BUFFER_CODECS,n),!this.hls)return;X.forEach(W=>{const pe=n[W].initSegment;pe!=null&&pe.byteLength&&this.hls.trigger(o.BUFFER_APPENDING,{type:W,data:pe,frag:s,part:null,chunkMeta:m,parent:s.type})})}this.tickImmediate()}getMainFwdBufferInfo(){const t=this.mediaBuffer&&this.altAudio===2?this.mediaBuffer:this.media;return this.getFwdBufferInfo(t,u.MAIN)}get maxBufferLength(){const{levels:t,level:n}=this,s=t==null?void 0:t[n];return s?this.getMaxBufferLength(s.maxBitrate):this.config.maxBufferLength}backtrack(t){this.couldBacktrack=!0,this.backtrackFragment=t,this.resetTransmuxer(),this.flushBufferGap(t),this.fragmentTracker.removeFragment(t),this.fragPrevious=null,this.nextLoadPosition=t.start,this.state=Jt.IDLE}checkFragmentChanged(){const t=this.media;let n=null;if(t&&t.readyState>1&&t.seeking===!1){const s=t.currentTime;if(Jn.isBuffered(t,s)?n=this.getAppendedFrag(s):Jn.isBuffered(t,s+.1)&&(n=this.getAppendedFrag(s+.1)),n){this.backtrackFragment=null;const m=this.fragPlaying,E=n.level;(!m||n.sn!==m.sn||m.level!==E)&&(this.fragPlaying=n,this.hls.trigger(o.FRAG_CHANGED,{frag:n}),(!m||m.level!==E)&&this.hls.trigger(o.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(),m=this.currentFrag||(s?An(null,s.fragments,n):null);if(m){const E=m.programDateTime;if(E!==null){const I=E+(n-m.start)*1e3;return new Date(I)}}}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 Va{constructor(t){this.config=void 0,this.keyUriToKeyInfo={},this.emeController=null,this.config=t}abort(t){for(const s in this.keyUriToKeyInfo){const m=this.keyUriToKeyInfo[s].loader;if(m){var n;if(t&&t!==((n=m.context)==null?void 0:n.frag.type))return;m.abort()}}}detach(){for(const t in this.keyUriToKeyInfo){const n=this.keyUriToKeyInfo[t];(n.mediaKeySessionContext||n.decryptdata.isCommonEncryption)&&delete this.keyUriToKeyInfo[t]}}destroy(){this.detach();for(const t in this.keyUriToKeyInfo){const n=this.keyUriToKeyInfo[t].loader;n&&n.destroy()}this.keyUriToKeyInfo={}}createKeyLoadError(t,n=f.KEY_LOAD_ERROR,s,m,E){return new wa({type:c.NETWORK_ERROR,details:n,fatal:!1,frag:t,response:E,error:s,networkDetails:m})}loadClear(t,n,s){if(this.emeController&&this.config.emeEnabled&&!this.emeController.getSelectedKeySystemFormats().length){if(n.length)for(let m=0,E=n.length;m{if(!this.emeController)return;I.setKeyFormat(z);const X=Ao(z);if(X)return this.emeController.getKeySystemAccess([X])})}if(this.config.requireKeySystemAccessOnStart){const m=Lo(this.config);if(m.length)return this.emeController.getKeySystemAccess(m)}}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,m;n&&t.setKeyFormat(n);const E=t.decryptdata;if(!E){const W=new Error(n?`Expected frag.decryptdata to be defined after setting format ${n}`:"Missing decryption data on fragment in onKeyLoading");return Promise.reject(this.createKeyLoadError(t,f.KEY_LOAD_ERROR,W))}const I=E.uri;if(!I)return Promise.reject(this.createKeyLoadError(t,f.KEY_LOAD_ERROR,new Error(`Invalid key URI: "${I}"`)));let z=this.keyUriToKeyInfo[I];if((s=z)!=null&&s.decryptdata.key)return E.key=z.decryptdata.key,Promise.resolve({frag:t,keyInfo:z});if((m=z)!=null&&m.keyLoadPromise){var X;switch((X=z.mediaKeySessionContext)==null?void 0:X.keyStatus){case void 0:case"status-pending":case"usable":case"usable-in-future":return z.keyLoadPromise.then(W=>(E.key=W.keyInfo.decryptdata.key,{frag:t,keyInfo:z}))}}switch(z=this.keyUriToKeyInfo[I]={decryptdata:E,keyLoadPromise:null,loader:null,mediaKeySessionContext:null},E.method){case"ISO-23001-7":case"SAMPLE-AES":case"SAMPLE-AES-CENC":case"SAMPLE-AES-CTR":return E.keyFormat==="identity"?this.loadKeyHTTP(z,t):this.loadKeyEME(z,t);case"AES-128":case"AES-256":case"AES-256-CTR":return this.loadKeyHTTP(z,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 m=this.emeController.loadKey(s);if(m)return(t.keyLoadPromise=m.then(E=>(t.mediaKeySessionContext=E,s))).catch(E=>{throw t.keyLoadPromise=null,E})}return Promise.resolve(s)}loadKeyHTTP(t,n){const s=this.config,m=s.loader,E=new m(s);return n.keyLoader=t.loader=E,t.keyLoadPromise=new Promise((I,z)=>{const X={keyInfo:t,frag:n,responseType:"arraybuffer",url:t.decryptdata.uri},W=s.keyLoadPolicy.default,le={loadPolicy:W,timeout:W.maxLoadTimeMs,maxRetry:0,retryDelay:0,maxRetryDelay:0},pe={onSuccess:(Ee,Oe,Ue,ut)=>{const{frag:lt,keyInfo:Nt,url:pr}=Ue;if(!lt.decryptdata||Nt!==this.keyUriToKeyInfo[pr])return z(this.createKeyLoadError(lt,f.KEY_LOAD_ERROR,new Error("after key load, decryptdata unset or changed"),ut));Nt.decryptdata.key=lt.decryptdata.key=new Uint8Array(Ee.data),lt.keyLoader=null,Nt.loader=null,I({frag:lt,keyInfo:Nt})},onError:(Ee,Oe,Ue,ut)=>{this.resetLoader(Oe),z(this.createKeyLoadError(n,f.KEY_LOAD_ERROR,new Error(`HTTP Error ${Ee.code} loading key ${Ee.text}`),Ue,b({url:X.url,data:void 0},Ee)))},onTimeout:(Ee,Oe,Ue)=>{this.resetLoader(Oe),z(this.createKeyLoadError(n,f.KEY_LOAD_TIMEOUT,new Error("key loading timed out"),Ue))},onAbort:(Ee,Oe,Ue)=>{this.resetLoader(Oe),z(this.createKeyLoadError(n,f.INTERNAL_ABORTED,new Error("key loading aborted"),Ue))}};E.load(X,le,pe)})}resetLoader(t){const{frag:n,keyInfo:s,url:m}=t,E=s.loader;n.keyLoader===E&&(n.keyLoader=null,s.loader=null),delete this.keyUriToKeyInfo[m],E&&E.destroy()}}function Gi(O){const{type:t}=O;switch(t){case h.AUDIO_TRACK:return u.AUDIO;case h.SUBTITLE_TRACK:return u.SUBTITLE;default:return u.MAIN}}function ja(O,t){let n=O.url;return(n===void 0||n.indexOf("data:")===0)&&(n=t.url),n}class ms{constructor(t){this.hls=void 0,this.loaders=Object.create(null),this.variableList=null,this.onManifestLoaded=this.checkAutostartLoad,this.hls=t,this.registerListeners()}startLoad(t){}stopLoad(){this.destroyInternalLoaders()}registerListeners(){const{hls:t}=this;t.on(o.MANIFEST_LOADING,this.onManifestLoading,this),t.on(o.LEVEL_LOADING,this.onLevelLoading,this),t.on(o.AUDIO_TRACK_LOADING,this.onAudioTrackLoading,this),t.on(o.SUBTITLE_TRACK_LOADING,this.onSubtitleTrackLoading,this),t.on(o.LEVELS_UPDATED,this.onLevelsUpdated,this)}unregisterListeners(){const{hls:t}=this;t.off(o.MANIFEST_LOADING,this.onManifestLoading,this),t.off(o.LEVEL_LOADING,this.onLevelLoading,this),t.off(o.AUDIO_TRACK_LOADING,this.onAudioTrackLoading,this),t.off(o.SUBTITLE_TRACK_LOADING,this.onSubtitleTrackLoading,this),t.off(o.LEVELS_UPDATED,this.onLevelsUpdated,this)}createInternalLoader(t){const n=this.hls.config,s=n.pLoader,m=n.loader,E=s||m,I=new E(n);return this.loaders[t.type]=I,I}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:m,pathwayId:E,url:I,deliveryDirectives:z,levelInfo:X}=n;this.load({id:s,level:m,pathwayId:E,responseType:"text",type:h.LEVEL,url:I,deliveryDirectives:z,levelOrTrack:X})}onAudioTrackLoading(t,n){const{id:s,groupId:m,url:E,deliveryDirectives:I,track:z}=n;this.load({id:s,groupId:m,level:null,responseType:"text",type:h.AUDIO_TRACK,url:E,deliveryDirectives:I,levelOrTrack:z})}onSubtitleTrackLoading(t,n){const{id:s,groupId:m,url:E,deliveryDirectives:I,track:z}=n;this.load({id:s,groupId:m,level:null,responseType:"text",type:h.SUBTITLE_TRACK,url:E,deliveryDirectives:I,levelOrTrack:z})}onLevelsUpdated(t,n){const s=this.loaders[h.LEVEL];if(s){const m=s.context;m&&!n.levels.some(E=>E===m.levelOrTrack)&&(s.abort(),delete this.loaders[h.LEVEL])}}load(t){var n;const s=this.hls.config;let m=this.getInternalLoader(t);if(m){const W=this.hls.logger,le=m.context;if(le&&le.levelOrTrack===t.levelOrTrack&&(le.url===t.url||le.deliveryDirectives&&!t.deliveryDirectives)){le.url===t.url?W.log(`[playlist-loader]: ignore ${t.url} ongoing request`):W.log(`[playlist-loader]: ignore ${t.url} in favor of ${le.url}`);return}W.log(`[playlist-loader]: aborting previous loader for type: ${t.type}`),m.abort()}let E;if(t.type===h.MANIFEST?E=s.manifestLoadPolicy.default:E=y({},s.playlistLoadPolicy.default,{timeoutRetry:null,errorRetry:null}),m=this.createInternalLoader(t),r((n=t.deliveryDirectives)==null?void 0:n.part)){let W;if(t.type===h.LEVEL&&t.level!==null?W=this.hls.levels[t.level].details:t.type===h.AUDIO_TRACK&&t.id!==null?W=this.hls.audioTracks[t.id].details:t.type===h.SUBTITLE_TRACK&&t.id!==null&&(W=this.hls.subtitleTracks[t.id].details),W){const le=W.partTarget,pe=W.targetduration;if(le&&pe){const Ee=Math.max(le*3,pe*.8)*1e3;E=y({},E,{maxTimeToFirstByteMs:Math.min(Ee,E.maxTimeToFirstByteMs),maxLoadTimeMs:Math.min(Ee,E.maxTimeToFirstByteMs)})}}}const I=E.errorRetry||E.timeoutRetry||{},z={loadPolicy:E,timeout:E.maxLoadTimeMs,maxRetry:I.maxNumRetry||0,retryDelay:I.retryDelayMs||0,maxRetryDelay:I.maxRetryDelayMs||0},X={onSuccess:(W,le,pe,Ee)=>{const Oe=this.getInternalLoader(pe);this.resetInternalLoader(pe.type);const Ue=W.data;if(Ue.indexOf("#EXTM3U")!==0){this.handleManifestParsingError(W,pe,new Error("no EXTM3U delimiter"),Ee||null,le);return}le.parsing.start=performance.now(),Mo.isMediaPlaylist(Ue)||pe.type!==h.MANIFEST?this.handleTrackOrLevelPlaylist(W,le,pe,Ee||null,Oe):this.handleMasterPlaylist(W,le,pe,Ee)},onError:(W,le,pe,Ee)=>{this.handleNetworkError(le,pe,!1,W,Ee)},onTimeout:(W,le,pe)=>{this.handleNetworkError(le,pe,!0,void 0,W)}};m.load(t,z,X)}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,m){const E=this.hls,I=t.data,z=ja(t,s),X=Mo.parseMasterPlaylist(I,z);if(X.playlistParsingError){this.handleManifestParsingError(t,s,X.playlistParsingError,m,n);return}const{contentSteering:W,levels:le,sessionData:pe,sessionKeys:Ee,startTimeOffset:Oe,variableList:Ue}=X;this.variableList=Ue;const{AUDIO:ut=[],SUBTITLES:lt,"CLOSED-CAPTIONS":Nt}=Mo.parseMasterPlaylistMedia(I,z,X);ut.length&&!ut.some(sr=>!sr.url)&&le[0].audioCodec&&!le[0].attrs.AUDIO&&(this.hls.logger.log("[playlist-loader]: audio codec signaled in quality level, but no embedded audio track signaled, create one"),ut.unshift({type:"main",name:"main",groupId:"main",default:!1,autoselect:!1,forced:!1,id:-1,attrs:new va({}),bitrate:0,url:""})),E.trigger(o.MANIFEST_LOADED,{levels:le,audioTracks:ut,subtitles:lt,captions:Nt,contentSteering:W,url:z,stats:n,networkDetails:m,sessionData:pe,sessionKeys:Ee,startTimeOffset:Oe,variableList:Ue})}handleTrackOrLevelPlaylist(t,n,s,m,E){const I=this.hls,{id:z,level:X,type:W}=s,le=ja(t,s),pe=r(X)?X:r(z)?z:0,Ee=Gi(s),Oe=Mo.parseLevelPlaylist(t.data,le,pe,Ee,0,this.variableList);if(W===h.MANIFEST){const Ue={attrs:new va({}),bitrate:0,details:Oe,name:"",url:le};Oe.requestScheduled=n.loading.start+Hn(Oe,0),I.trigger(o.MANIFEST_LOADED,{levels:[Ue],audioTracks:[],url:le,stats:n,networkDetails:m,sessionData:null,sessionKeys:null,contentSteering:null,startTimeOffset:null,variableList:null})}n.parsing.end=performance.now(),s.levelDetails=Oe,this.handlePlaylistLoaded(Oe,t,n,s,m,E)}handleManifestParsingError(t,n,s,m,E){this.hls.trigger(o.ERROR,{type:c.NETWORK_ERROR,details:f.MANIFEST_PARSING_ERROR,fatal:n.type===h.MANIFEST,url:t.url,err:s,error:s,reason:s.message,response:t,context:n,networkDetails:m,stats:E})}handleNetworkError(t,n,s=!1,m,E){let I=`A network ${s?"timeout":"error"+(m?" (status "+m.code+")":"")} occurred while loading ${t.type}`;t.type===h.LEVEL?I+=`: ${t.level} id: ${t.id}`:(t.type===h.AUDIO_TRACK||t.type===h.SUBTITLE_TRACK)&&(I+=` id: ${t.id} group-id: "${t.groupId}"`);const z=new Error(I);this.hls.logger.warn(`[playlist-loader]: ${I}`);let X=f.UNKNOWN,W=!1;const le=this.getInternalLoader(t);switch(t.type){case h.MANIFEST:X=s?f.MANIFEST_LOAD_TIMEOUT:f.MANIFEST_LOAD_ERROR,W=!0;break;case h.LEVEL:X=s?f.LEVEL_LOAD_TIMEOUT:f.LEVEL_LOAD_ERROR,W=!1;break;case h.AUDIO_TRACK:X=s?f.AUDIO_TRACK_LOAD_TIMEOUT:f.AUDIO_TRACK_LOAD_ERROR,W=!1;break;case h.SUBTITLE_TRACK:X=s?f.SUBTITLE_TRACK_LOAD_TIMEOUT:f.SUBTITLE_LOAD_ERROR,W=!1;break}le&&this.resetInternalLoader(t.type);const pe={type:c.NETWORK_ERROR,details:X,fatal:W,url:t.url,loader:le,context:t,error:z,networkDetails:n,stats:E};if(m){const Ee=(n==null?void 0:n.url)||t.url;pe.response=b({url:Ee,data:void 0},m)}this.hls.trigger(o.ERROR,pe)}handlePlaylistLoaded(t,n,s,m,E,I){const z=this.hls,{type:X,level:W,id:le,groupId:pe,deliveryDirectives:Ee}=m,Oe=ja(n,m),Ue=Gi(m),ut=typeof m.level=="number"&&Ue===u.MAIN?W:void 0;if(!t.fragments.length){const Nt=t.playlistParsingError=new Error("No Segments found in Playlist");z.trigger(o.ERROR,{type:c.NETWORK_ERROR,details:f.LEVEL_EMPTY_ERROR,fatal:!1,url:Oe,error:Nt,reason:Nt.message,response:n,context:m,level:ut,parent:Ue,networkDetails:E,stats:s});return}t.targetduration||(t.playlistParsingError=new Error("Missing Target Duration"));const lt=t.playlistParsingError;if(lt){if(this.hls.logger.warn(`${lt} ${t.url}`),!z.config.ignorePlaylistParsingErrors){z.trigger(o.ERROR,{type:c.NETWORK_ERROR,details:f.LEVEL_PARSING_ERROR,fatal:!1,url:Oe,error:lt,reason:lt.message,response:n,context:m,level:ut,parent:Ue,networkDetails:E,stats:s});return}t.playlistParsingError=null}switch(t.live&&I&&(I.getCacheAge&&(t.ageHeader=I.getCacheAge()||0),(!I.getCacheAge||isNaN(t.ageHeader))&&(t.ageHeader=0)),X){case h.MANIFEST:case h.LEVEL:z.trigger(o.LEVEL_LOADED,{details:t,levelInfo:m.levelOrTrack||z.levels[0],level:ut||0,id:le||0,stats:s,networkDetails:E,deliveryDirectives:Ee,withoutMultiVariant:X===h.MANIFEST});break;case h.AUDIO_TRACK:z.trigger(o.AUDIO_TRACK_LOADED,{details:t,track:m.levelOrTrack,id:le||0,groupId:pe||"",stats:s,networkDetails:E,deliveryDirectives:Ee});break;case h.SUBTITLE_TRACK:z.trigger(o.SUBTITLE_TRACK_LOADED,{details:t,track:m.levelOrTrack,id:le||0,groupId:pe||"",stats:s,networkDetails:E,deliveryDirectives:Ee});break}}}class Ma{static get version(){return Fa}static isMSESupported(){return en()}static isSupported(){return $r()}static getMediaSource(){return ae()}static get Events(){return o}static get MetadataSchema(){return _s}static get ErrorTypes(){return c}static get ErrorDetails(){return f}static get DefaultConfig(){return Ma.defaultConfig?Ma.defaultConfig:Wf}static set DefaultConfig(t){Ma.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 Ms,this._autoLevelCapping=-1,this._maxHdcpLevel=null,this.abrController=void 0,this.bufferController=void 0,this.capLevelController=void 0,this.latencyController=void 0,this.levelController=void 0,this.streamController=void 0,this.audioStreamController=void 0,this.subtititleStreamController=void 0,this.audioTrackController=void 0,this.subtitleTrackController=void 0,this.interstitialsController=void 0,this.gapController=void 0,this.emeController=void 0,this.cmcdController=void 0,this._media=null,this._url=null,this._sessionId=void 0,this.triggeringException=void 0,this.started=!1;const n=this.logger=G(t.debug||!1,"Hls instance",t.assetPlayerId),s=this.config=ad(Ma.DefaultConfig,t,n);this.userConfig=t,s.progressive&&sd(s,n);const{abrController:m,bufferController:E,capLevelController:I,errorController:z,fpsController:X}=s,W=new z(this),le=this.abrController=new m(this),pe=new kr(this),Ee=s.interstitialsController,Oe=Ee?this.interstitialsController=new Ee(this,Ma):null,Ue=this.bufferController=new E(this,pe),ut=this.capLevelController=new I(this),lt=new X(this),Nt=new ms(this),pr=s.contentSteeringController,sr=pr?new pr(this):null,Fr=this.levelController=new ca(this,sr),Yr=new $a(this),vn=new Va(this.config),Wr=this.streamController=new Un(this,pe,vn),an=this.gapController=new ve(this,pe);ut.setStreamController(Wr),lt.setStreamController(Wr);const fn=[Nt,Fr,Wr];Oe&&fn.splice(1,0,Oe),sr&&fn.splice(1,0,sr),this.networkControllers=fn;const Gr=[le,Ue,an,ut,lt,Yr,pe];this.audioTrackController=this.createController(s.audioTrackController,fn);const Sn=s.audioStreamController;Sn&&fn.push(this.audioStreamController=new Sn(this,pe,vn)),this.subtitleTrackController=this.createController(s.subtitleTrackController,fn);const yi=s.subtitleStreamController;yi&&fn.push(this.subtititleStreamController=new yi(this,pe,vn)),this.createController(s.timelineController,Gr),vn.emeController=this.emeController=this.createController(s.emeController,Gr),this.cmcdController=this.createController(s.cmcdController,Gr),this.latencyController=this.createController(Qn,Gr),this.coreComponents=Gr,fn.push(W);const Ji=W.onErrorOut;typeof Ji=="function"&&this.on(o.ERROR,Ji,W),this.on(o.MANIFEST_LOADED,Nt.onManifestLoaded,Nt)}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,m){this._emitter.off(t,n,s,m)}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 m=t===o.ERROR;this.trigger(o.ERROR,{type:c.OTHER_ERROR,details:f.INTERNAL_EXCEPTION,fatal:m,event:t,error:s}),this.triggeringException=!1}}return!1}listenerCount(t){return this._emitter.listenerCount(t)}destroy(){this.logger.log("destroy"),this.trigger(o.DESTROYING,void 0),this.detachMedia(),this.removeAllListeners(),this._autoLevelCapping=-1,this._url=null,this.networkControllers.forEach(n=>n.destroy()),this.networkControllers.length=0,this.coreComponents.forEach(n=>n.destroy()),this.coreComponents.length=0;const t=this.config;t.xhrSetup=t.fetchSetup=void 0,this.userConfig=null}attachMedia(t){if(!t||"media"in t&&!t.media){const E=new Error(`attachMedia failed: invalid argument (${t})`);this.trigger(o.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,m=n?t:{media:s};this._media=s,this.trigger(o.MEDIA_ATTACHING,m)}detachMedia(){this.logger.log("detachMedia"),this.trigger(o.MEDIA_DETACHING,{}),this._media=null}transferMedia(){this._media=null;const t=this.bufferController.transferMedia();return this.trigger(o.MEDIA_DETACHING,{transferMedia:t}),t}loadSource(t){this.stopLoad();const n=this.media,s=this._url,m=this._url=U.buildAbsoluteURL(self.location.href,t,{alwaysNormalize:!0});this._autoLevelCapping=-1,this._maxHdcpLevel=null,this.logger.log(`loadSource:${m}`),n&&s&&(s!==m||this.bufferController.hasSourceTypes())&&(this.detachMedia(),this.attachMedia(n)),this.trigger(o.MANIFEST_LOADING,{url:t})}get url(){return this._url}get hasEnoughToStart(){return this.streamController.hasEnoughToStart}get startPosition(){return this.streamController.startPositionValue}startLoad(t=-1,n){this.logger.log(`startLoad(${t+(n?", ":"")})`),this.started=!0,this.resumeBuffering();for(let s=0;s{t.resumeBuffering&&t.resumeBuffering()}))}pauseBuffering(){this.bufferingEnabled&&(this.logger.log("pause buffering"),this.networkControllers.forEach(t=>{t.pauseBuffering&&t.pauseBuffering()}))}get inFlightFragments(){const t={[u.MAIN]:this.streamController.inFlightFrag};return this.audioStreamController&&(t[u.AUDIO]=this.audioStreamController.inFlightFrag),this.subtititleStreamController&&(t[u.SUBTITLE]=this.subtititleStreamController.inFlightFrag),t}swapAudioCodec(){this.logger.log("swapAudioCodec"),this.streamController.swapAudioCodec()}recoverMediaError(){this.logger.log("recoverMediaError");const t=this._media,n=t==null?void 0:t.currentTime;this.detachMedia(),t&&(this.attachMedia(t),n&&this.startLoad(n))}removeLevel(t){this.levelController.removeLevel(t)}get sessionId(){let t=this._sessionId;return t||(t=this._sessionId=Ef()),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){Cr(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 m=0;m=n)return m;return 0}get maxAutoLevel(){const{levels:t,autoLevelCapping:n,maxHdcpLevel:s}=this;let m;if(n===-1&&t!=null&&t.length?m=t.length-1:m=n,s)for(let E=m;E--;){const I=t[E].attrs["HDCP-LEVEL"];if(I&&I<=s)return E}return m}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=bi(n);return cn(t,s,navigator.mediaCapabilities)}}Ma.defaultConfig=void 0},53280:function(d,v,e){"use strict";e.d(v,{D:function(){return i}});function r(l,c,f){var o=f||{},h=o.noTrailing,u=h===void 0?!1:h,a=o.noLeading,x=a===void 0?!1:a,p=o.debounceMode,y=p===void 0?void 0:p,_,b=!1,S=0;function k(){_&&clearTimeout(_)}function R(P){var M=P||{},B=M.upcomingOnly,N=B===void 0?!1:B;k(),b=!N}function A(){for(var P=arguments.length,M=new Array(P),B=0;Bl?x?(S=Date.now(),u||(_=setTimeout(y?H:G,l))):G():u!==!0&&(_=setTimeout(y?H:G,y===void 0?l-K:l))}return A.cancel=R,A}function i(l,c,f){var o=f||{},h=o.atBegin,u=h===void 0?!1:h;return r(l,c,{debounceMode:u!==!1})}}},__webpack_module_cache__={};function __webpack_require__(d){var v=__webpack_module_cache__[d];if(v!==void 0)return v.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 v=d&&d.__esModule?function(){return d.default}:function(){return d};return __webpack_require__.d(v,{a:v}),v}}(),function(){var d=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},v;__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={};v=v||[null,d({}),d([]),d(d)];for(var c=r&2&&e;typeof c=="object"&&!~v.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,v){for(var e in v)__webpack_require__.o(v,e)&&!__webpack_require__.o(d,e)&&Object.defineProperty(d,e,{enumerable:!0,get:v[e]})}}(),function(){__webpack_require__.f={},__webpack_require__.e=function(d){return Promise.all(Object.keys(__webpack_require__.f).reduce(function(v,e){return __webpack_require__.f[e](d,v),v},[]))}}(),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",195:"p__Classrooms__Lists__GroupHomework__Detail__index",264:"p__User__Detail__Order__pages__orderPay__index",265:"p__User__Detail__Topics__index",292:"p__Classrooms__Lists__Exercise__Add__index",310:"p__User__Detail__ExperImentImg__Detail__index",337:"p__Paperlibrary__Random__PreviewEdit__index",342:"p__Classrooms__Lists__ShixunHomeworks__Comment__index",479:"p__Classrooms__Lists__GroupHomework__EditWork__index",485:"p__Question__AddOrEdit__BatchAdd__index",508:"p__Forums__Detail__id",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",672:"p__Home__Detail__ShixunContext__Detail__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",869:"p__Guidance__index",895:"p__Classrooms__Lists__Video__Items__videoInfo__index",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",1148:"p__Shixuns__Detail__Repository__UploadFile__index",1211:"p__Classrooms__Lists__CommonHomework__EditWork__index",1253:"p__Graduations__Lists__Gradingsummary__index",1257:"p__Classrooms__Lists__ResourceRecommend__index",1265:"p__Classrooms__Lists__Announcement__index",1276:"p__MoopCases__Success__index",1343:"p__User__Detail__ResourceAllocation__index",1344:"p__Hami__index",1416:"p__User__Detail__AccountInfo__CareerCertification__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",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",1657:"p__Shixuns__Edit__body__Level__Challenges__EditQuestion__index",1660:"p__User__QQLogin__index",1674:"p__Classrooms__ClassicCases__index",1702:"p__Classrooms__New__index",1713:"p__virtualSpaces__Lists__Settings__index",1717:"layouts__index",1727:"p__Classrooms__Lists__CourseGroup__NotList__index",1783:"p__virtualSpaces__Lists__Experiment__index",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",1939:"p__User__Detail__Order__index",1953:"p__Problemset__NewItem__index",1962:"p__Classrooms__Lists__Engineering__index",2045:"p__Engineering__Lists__TeacherList__index",2076:"p__User__Detail__Competitions__index",2102:"p__Classrooms__Lists__Board__Edit__index",2141:"p__Shixuns__Detail__Split__index",2216:"p__DataSet__Index__index",2240:"p__User__Detail__Videos__Upload__index",2254:"p__Shixuns__Detail__Discuss__index",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",2529:"p__User__Detail__id",2539:"p__Graduations__Review__index",2548:"p__Engineering__Norm__Detail__index",2570:"p__Competitions__Detail__index",2603:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Add__index",2659:"p__User__Detail__UserPortrait__index",2707:"p__Innovation__MyDataSet__index",2806:"p__User__Detail__Topics__Exercise__Detail__index",2819:"p__Classrooms__Lists__Template__detail__index",2823:"p__Engineering__Navigation__Home__index",2826:"p__User__Detail__DataSet__index",2829:"p__Messages__Private__index",2865:"p__Innovation__MyMirror__index",2875:"p__Shixuns__Detail__id",2884:"p__Classrooms__Lists__ProgramHomework__Comment__index",2983:"p__Forums__Index__index",3006:"p__Engineering__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",3282:"layouts__ShixunDetail__index",3317:"p__Classrooms__Lists__Graduation__Topics__Add__index",3332:"p__Paths__Detail__id",3355:"p__Classrooms__Lists__Polls__index",3356:"p__Classrooms__Lists__Assistant__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",3496:"p__User__Detail__OtherResources__index",3509:"p__HttpStatus__SixActivities",3581:"p__Classrooms__Lists__ShixunHomeworks__Detail__index",3585:"p__Classrooms__Lists__Statistics__StudentSituation__index",3665:"p__tasks__index",3668:"p__Classrooms__Lists__CommonHomework__Detail__index",3747:"p__virtualSpaces__Lists__Homepage__index",3784:"p__Paperlibrary__Random__Detail__index",3862:"p__HttpStatus__403",3873:"p__virtualSpaces__Lists__Lesson__index",3910:"p__HttpStatus__introduction",3935:"p__Classrooms__Lists__GroupHomework__index",3951:"p__Classrooms__Lists__ProgramHomework__Detail__index",4017:"p__Classrooms__Lists__PlaceholderPage__index",4030:"p__Classrooms__Lists__ProgramHomework__AddAndEdit__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",4449:"p__Competitions__Exports__index",4492:"p__Graduations__Lists__StudentSelection__index",4495:"p__Account__Resource__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",4601:"p__Paths__Detail__Statistics__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",4849:"p__User__Detail__ExperImentImg__index",4862:"p__Paperlibrary__index",4884:"p__Shixuns__Detail__Repository__Commit__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",5125:"p__Classrooms__Lists__Exercise__DetailedAnalysis__index",5148:"p__Classrooms__Lists__Polls__Answer__index",5176:"p__User__Detail__Videos__Protocol__index",5179:"p__Administration__Student__Edit__index",5186:"p__Classrooms__Overview__index",5191:"p__User__Detail__Certificate__index",5238:"p__virtualSpaces__Lists__Material__index",5297:"p__Classrooms__Lists__Exercise__Detail__components__DuplicateChecking__CheckDetail__index",5319:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Detail__index",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",5470:"p__Shixuns__Detail__Collaborators__index",5518:"p__Classrooms__Lists__Template__index",5549:"p__Shixuns__New__CreateImg__index",5572:"p__Paths__HigherVocationalEducation__index",5573:"p__Shixuns__Detail__Merge__index",5599:"p__User__Detail__Paths__index",5624:"p__Graduations__Lists__Index__index",5650:"p__Competitions__Update__index",5705:"p__virtualSpaces__Lists__Construction__index",5729:"p__Help__Index",5775:"p__Engineering__Lists__Document__index",5786:"layouts__LoginAndRegister__index",5798:"p__Classrooms__Lists__Video__Statistics__UserDetail__index",5816:"p__Paperlibrary__Random__Edit__index",5825:"p__Classrooms__Lists__Exercise__index",5888:"p__Classrooms__Lists__CommonHomework__Add__index",5891:"p__virtualSpaces__Lists__Resources__index",5895:"p__User__Detail__AccountInfo__Profile__Edit__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",6052:"p__Paths__Index__index",6063:"p__Graduations__Lists__Personmanage__index",6069:"p__virtualSpaces__Lists__Lesson__Detail__index",6127:"p__Classrooms__Lists__ProgramHomework__Ranking__index",6170:"p__HttpStatus__downloadStudent",6265:"p__virtualSpaces__Lists__Discussion__index",6270:"p__MyProblem__index",6277:"p__Shixuns__Edit__index",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",6452:"p__Innovation__PublicDataSet__index",6531:"p__HttpStatus__404",6541:"p__Shixuns__Detail__Dataset__index",6583:"p__User__Detail__Classrooms__index",6587:"p__User__Detail__Videos__Protocol__resource",6634:"p__Innovation__Tasks__index",6651:"p__Engineering__Evaluate__Detail__index",6685:"p__Classrooms__Index__index",6729:"p__Classrooms__Lists__GroupHomework__Edit__index",6741:"p__Engineering__Norm__List__index",6758:"p__Classrooms__Lists__Attachment__index",6784:"p__Innovation__Edit__index",6788:"p__Classrooms__Lists__ProgramHomework__index",6796:"p__virtualSpaces__Lists__Announcement__Detail__index",6805:"p__User__Detail__AccountInfo__RealNameCertification__index",6820:"p__User__Detail__Topics__Normal__index",6845:"p__Shixuns__Detail__Settings__index",6882:"p__Classrooms__New__StartClass__index",6883:"p__Competitions__Index__index",6904:"p__MoopCases__FormPanel__index",6913:"p__Question__AddOrEdit__index",6963:"p__Classrooms__Lists__Engineering__Detail__index",6982:"p__User__Detail__AccountInfo__Profile__index",7008:"p__Shixuns__New__index",7043:"p__User__Detail__Topics__Exercise__Edit__index",7045:"p__Classrooms__Lists__CommonHomework__SubmitWork__index",7046:"p__Shixuns__Detail__Repository__AddFile__index",7058:"p__virtualSpaces__Lists__Survey__Detail__index",7062:"layouts__SimpleLayouts",7178:"p__User__BindAccount__index",7182:"p__User__ResetPassword__index",7242:"p__Innovation__MyProject__index",7260:"p__Account__Certification__index",7333:"p__User__WechatLogin__index",7395:"p__Classrooms__Lists__Statistics__StudentDetail__index",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",7852:"p__Classrooms__Lists__ShixunHomeworks__index",7855:"p__User__Detail__ResourcesCenter__Detail__index",7857:"p__Shixuns__Edit__body__Level__Challenges__NewQuestion__index",7878:"p__Classrooms__Lists__LiveVideo__index",7883:"p__Classrooms__Lists__Exercise__WrongAnswer__index",7884:"p__Shixuns__Exports__index",7922:"p__Classrooms__Lists__CourseGroup__Detail__index",7948:"p__User__Detail__ClassManagement__index",8014:"p__Classrooms__Lists__Teachers__index",8062:"p__User__Detail__Topicbank__index",8072:"p__Classrooms__Lists__GroupHomework__SubmitWork__index",8077:"p__Classrooms__Lists__Students__index",8085:"p__Classrooms__Lists__Exercise__Review__index",8143:"layouts__GraduationsDetail__index",8155:"p__Shixuns__Overview__index",8237:"p__User__Detail__Order__pages__view__index",8241:"p__virtualSpaces__Lists__Plan__index",8302:"p__Classrooms__Lists__Board__index",8307:"p__User__Detail__Shixuns__index",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",8517:"p__User__Detail__Topics__Group__index",8563:"p__virtualSpaces__Lists__Discussion__Detail__index",8634:"p__Classrooms__Lists__CourseGroup__List__index",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",8782:"p__Shixuns__Index__index",8787:"p__Competitions__Entered__index",8797:"p__Competitions__Edit__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",8982:"p__Paths__New__index",8999:"p__Three__index",9076:"p__Account__Binding__index",9133:"p__Shixuns__Detail__Challenges__index",9205:"p__Shixuns__Edit__body__Level__Challenges__EditPracticeSetting__index",9215:"p__Shixuns__Detail__ForkList__index",9332:"p__Classrooms__Lists__Video__index",9360:"p__User__Detail__virtualSpaces__index",9366:"p__User__Login__index",9391:"p__Engineering__Lists__CurseSetting__index",9404:"monaco-editor",9408:"p__Shixuns__Detail__RankingList__index",9416:"p__Graduations__Lists__Tasks__index",9487:"p__LargeScreen__index",9489:"p__Engineering__Lists__CourseList__index",9507:"p__User__Detail__ResourceGuarantee__index",9519:"p__User__Detail__ClassManagement__Item__index",9590:"p__User__Detail__TeachGroup__index",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",9890:"p__Classrooms__Lists__CommonHomework__index",9891:"p__User__Detail__Videos__Success__index",9921:"p__Classrooms__ExamList__index",9922:"p__Classrooms__Lists__Statistics__StudentVideo__index",9944:"p__Classrooms__Lists__Video__Statistics__StudentDetail__index"}[d]||d)+"."+{26:"77b05949",67:"bb1d37d2",109:"f31fa3b2",195:"1947074a",264:"15abec88",265:"42ff7a03",292:"6d41cf22",310:"3baa3c1b",316:"1f60ada6",337:"35799946",342:"3454a425",354:"d4d139cf",479:"bbbecdff",485:"4f2fe9b0",508:"31fc7f6c",532:"e52bbb7d",533:"6acf4ec9",547:"e8b72cd0",556:"0bf50254",559:"133feaf4",570:"c33684df",576:"6384d70c",629:"44a1d9a5",643:"260f3bc5",671:"4a609b8d",672:"d4d23fc8",680:"facf4a8a",700:"ac08e4ef",737:"8ee24fb4",741:"ac5fd360",799:"2c1c14ee",869:"12ac8b14",895:"9226b825",921:"4e62e0cc",928:"e3aeb36d",981:"2191a42e",1006:"145daa24",1043:"5071ae62",1045:"19614059",1048:"542892b1",1070:"a02734fb",1144:"c90eccaf",1148:"3a0677a3",1154:"8cb80842",1211:"8f7b2cb1",1253:"816f8f83",1257:"ed38a265",1265:"86bf3d7a",1274:"5f6ea65a",1276:"88dabcba",1343:"7b7927aa",1344:"2ea86a19",1416:"fbe9b363",1423:"41512d57",1427:"5844fbb7",1450:"2bda2a06",1461:"4acfcd2a",1462:"fcf08abc",1470:"a932e843",1475:"a213cab7",1482:"5fbfa232",1512:"34f54884",1520:"53827d8c",1545:"4a837c8a",1555:"64c919dd",1578:"53a90f28",1581:"c055f88c",1582:"679edb53",1646:"e6e27b60",1657:"ccc23f77",1660:"f84f79b8",1674:"4300a145",1702:"7b45a019",1713:"84890043",1717:"21b2e261",1727:"412396fe",1783:"b289c875",1799:"5bcb69b9",1831:"146dd812",1836:"52c2ee13",1855:"94a447bd",1880:"62d7d522",1881:"b236f49a",1939:"10e034fa",1953:"76ac826e",1962:"13b9080f",2011:"59d51f98",2045:"ac0f8ed2",2076:"aa565607",2102:"669d1005",2141:"e8d91b8d",2216:"9c5d84ae",2240:"1f73e74c",2249:"f4830452",2254:"516f7b54",2300:"f77c7faa",2303:"83b305fd",2307:"2383d9eb",2338:"0c927fc9",2339:"1a764d99",2364:"f89faf70",2386:"192e235c",2396:"7ac26fa5",2404:"bbda3700",2412:"590a7d56",2425:"70737e39",2443:"beac6ce8",2476:"5a02c625",2494:"68080a87",2501:"eeb35268",2529:"44b4afe7",2538:"de4a3723",2539:"81a9c124",2548:"68aff200",2570:"516787ad",2594:"e87d3761",2603:"7c095397",2659:"4be0fdb0",2707:"8f7322f6",2806:"d8eab900",2819:"2aff48c9",2823:"577e5721",2826:"f0069339",2829:"fcf4cfad",2837:"54a82605",2865:"6fbc1322",2875:"f0ac6090",2884:"8b8c7773",2969:"ab3357d7",2983:"0062bd1a",3006:"da23520e",3133:"9bf3f89c",3141:"029ee6cd",3157:"75d5ded0",3183:"8c1a876c",3198:"8e655451",3212:"54e196ec",3220:"1ff6a993",3247:"95d6b94e",3260:"12c965eb",3276:"94de3143",3282:"0f97d050",3317:"881bb1f5",3332:"954c601d",3355:"e4e0a747",3356:"e42209eb",3391:"f6d53071",3433:"b42a0368",3442:"5c7583a3",3447:"78e993d8",3451:"034c5cef",3496:"c9cfb901",3509:"72acd816",3550:"3dc83156",3581:"49684ae8",3585:"227c148c",3665:"70e0c7a2",3668:"3cc2d69d",3697:"481a10d9",3747:"cc53c81d",3754:"2a754961",3777:"d5b0f2f1",3784:"0f7f8e6f",3805:"9dbcb95e",3862:"8be7610c",3873:"5e3444c9",3885:"f87f7f15",3910:"f05d04f2",3935:"23f5794f",3951:"c3820906",3987:"5cecd51b",4014:"27a8e97c",4017:"eb7a8c4f",4030:"8af3be95",4056:"32869e05",4058:"53d5c932",4078:"32c13081",4088:"236723f3",4093:"d8ecf663",4105:"af144ea5",4144:"88b98370",4164:"fe7a74fd",4216:"96957053",4217:"ba2a7962",4227:"b7b993a8",4259:"ad84a109",4264:"dc604639",4347:"ce21ef2e",4354:"140899b7",4360:"cf5efa52",4449:"6e833d43",4492:"7f24aa82",4495:"fe36c11e",4496:"14147e2a",4498:"eef66f86",4504:"778496dc",4514:"a8493370",4520:"8514ce4b",4546:"91b5ac1f",4553:"52b0f5f6",4565:"4a4bbd08",4572:"11a841b3",4599:"61def4cb",4601:"72effa04",4610:"60893b8c",4621:"aa90e21c",4628:"ece2c60c",4662:"8f38b4a9",4671:"d5009609",4685:"c33f1528",4715:"456659c1",4736:"b150de94",4741:"b1024cb8",4757:"d99979db",4766:"6aefd62d",4770:"46b5b65b",4790:"619413e4",4795:"68cb90e1",4797:"a24e92db",4800:"c6f8d0ec",4849:"1d7743dd",4850:"1edda4b7",4862:"009a8e82",4884:"197d1ec1",4889:"aedac9f0",4928:"5f713d6b",4973:"5028707d",4994:"0e5076dc",5022:"2b888e32",5028:"c7566c9a",5043:"c677c85e",5048:"9838652e",5060:"85dafcc6",5096:"29f3940d",5111:"7275f825",5125:"ea041e97",5148:"8cfcb426",5176:"d344e232",5179:"ba4164a0",5186:"ff9a06aa",5191:"ddc2d438",5238:"21f344e6",5290:"5dabcdc2",5297:"ff2a79c7",5319:"308008ee",5321:"1163c84e",5335:"266465da",5354:"7ae70604",5357:"554c8c43",5359:"ba9d59ac",5382:"9d28c789",5402:"08243abe",5416:"454536b7",5434:"38b302a6",5470:"05fbc8c5",5494:"d89549c4",5518:"adcd2669",5549:"134d7cc6",5572:"a58c5aaf",5573:"9fc1d744",5599:"969b5f9e",5624:"44f80ead",5631:"e00d3d36",5650:"c407cc48",5679:"4a090bef",5705:"af671053",5729:"64f03175",5764:"e0d7e586",5775:"9b9516eb",5786:"985dcf32",5798:"0da8aa17",5816:"9ad366a4",5825:"8966adb5",5876:"5eded409",5888:"1e19b71e",5891:"3e8603d4",5895:"9979986f",5902:"31a5e412",5915:"7683a718",5972:"389846b8",5992:"9599e41c",6029:"d7ec0ee2",6034:"4ec1de14",6045:"d268f87f",6047:"3ce45acd",6052:"94ec747f",6063:"396e14ab",6069:"da21d343",6126:"99519171",6127:"29fab549",6170:"2a7a348c",6200:"97a204c5",6265:"2ab492dd",6270:"77db1f37",6277:"f47f67e3",6316:"62c746ee",6328:"8e93fb40",6366:"83841eb7",6378:"7f3a946a",6411:"dd61567d",6434:"2a66058b",6444:"6a6067e9",6452:"29860504",6531:"9c174eba",6541:"ad70595e",6583:"fa1c5ade",6587:"2767b132",6634:"0737c16a",6651:"ce4fb278",6685:"4c6f7eb8",6729:"30c15020",6741:"4657404b",6758:"df4a81eb",6774:"59d4d618",6784:"66b4d539",6788:"0c512706",6796:"53774bef",6805:"c8bbe612",6820:"7b500952",6845:"4ab52f41",6882:"58e036a4",6883:"6cb80143",6904:"a710d75f",6913:"5e74d661",6963:"7fad4d96",6982:"ffa6dc39",7008:"994dac71",7043:"8218bf7b",7045:"f8510d4e",7046:"660d53a1",7058:"d950ed65",7062:"c191c81f",7084:"46ccce72",7121:"902ecbe9",7156:"e7466006",7178:"e8e98255",7182:"dd2dc9cf",7242:"7778e5e7",7260:"0ddf2b22",7331:"2e27a23b",7333:"33300fe2",7365:"1005464f",7395:"916963e7",7460:"b74fac2f",7477:"dc53b1c4",7482:"406d072d",7527:"da5932a8",7533:"fbf12be4",7545:"cbff207e",7556:"ae09a732",7560:"e4b22056",7589:"1681ceed",7591:"c8233ce9",7614:"d5a37884",7622:"1973fc68",7686:"4fcec9f9",7706:"c2a79e40",7806:"14156ddf",7852:"5bd3bfbb",7855:"56a46844",7857:"56a325f4",7878:"ffe79194",7883:"ca4c397e",7884:"bb306b18",7922:"85e73a01",7948:"be8daa9c",7964:"29aed9a1",7999:"8a41a45e",8014:"b785ea51",8062:"ea0e5083",8072:"8ac8b940",8077:"75930897",8085:"1f260111",8089:"d536b13a",8143:"1b7f0c6c",8155:"c47c3cf0",8161:"83c5fa9a",8237:"1cab47a4",8241:"70fda74e",8302:"cf14db41",8307:"89b34cc6",8340:"8679dde5",8350:"07df8a75",8365:"f6b83452",8398:"97d9e8f6",8431:"b09e3e8c",8435:"2f3b5544",8447:"e0529787",8517:"f27c6419",8561:"4339de84",8563:"81c5b03c",8634:"b91ab28e",8639:"374b258d",8665:"9a28866d",8688:"54b6b0be",8689:"42dffa9f",8723:"674e361a",8737:"ce7dad23",8776:"0ad26240",8782:"8fc73415",8787:"1e30c008",8797:"3dea5862",8823:"77f4d18f",8827:"9d641082",8842:"9f25a3e2",8866:"fe4f3a3e",8871:"690fa8cb",8882:"e2b94547",8885:"3791b69d",8898:"d002bcd8",8909:"880d45dd",8920:"7f82440c",8963:"790aecdd",8982:"0600f9b1",8999:"74575e3c",9076:"dc3da45e",9104:"bbcb2345",9133:"426c74f4",9205:"c0109c69",9215:"b6b8fcc3",9252:"0d791a59",9260:"cf5f8140",9332:"c7ad347c",9360:"3dfdf407",9366:"a2ba3392",9391:"b2c30714",9404:"9fcc3d3e",9408:"fd2d3bb5",9416:"619b4ff8",9487:"c3e9d6d1",9489:"8e824364",9507:"bc88d6e1",9519:"586122f3",9554:"ed358e7b",9559:"f794af19",9590:"89965d39",9647:"8fc3f74e",9649:"9a0c0646",9674:"8750b147",9677:"d08498c3",9695:"fd05e4e3",9715:"f23961bc",9716:"0bf9eb66",9785:"dcd257fd",9788:"0eebfa94",9890:"bde1ba2f",9891:"7b9b004e",9895:"b8e31ff2",9921:"1543a187",9922:"7c354a7d",9928:"5989f5e0",9944:"e244a999",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",195:"p__Classrooms__Lists__GroupHomework__Detail__index",264:"p__User__Detail__Order__pages__orderPay__index",265:"p__User__Detail__Topics__index",292:"p__Classrooms__Lists__Exercise__Add__index",310:"p__User__Detail__ExperImentImg__Detail__index",337:"p__Paperlibrary__Random__PreviewEdit__index",342:"p__Classrooms__Lists__ShixunHomeworks__Comment__index",479:"p__Classrooms__Lists__GroupHomework__EditWork__index",485:"p__Question__AddOrEdit__BatchAdd__index",508:"p__Forums__Detail__id",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",869:"p__Guidance__index",895:"p__Classrooms__Lists__Video__Items__videoInfo__index",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",1148:"p__Shixuns__Detail__Repository__UploadFile__index",1211:"p__Classrooms__Lists__CommonHomework__EditWork__index",1253:"p__Graduations__Lists__Gradingsummary__index",1257:"p__Classrooms__Lists__ResourceRecommend__index",1265:"p__Classrooms__Lists__Announcement__index",1276:"p__MoopCases__Success__index",1343:"p__User__Detail__ResourceAllocation__index",1416:"p__User__Detail__AccountInfo__CareerCertification__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",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",1657:"p__Shixuns__Edit__body__Level__Challenges__EditQuestion__index",1674:"p__Classrooms__ClassicCases__index",1702:"p__Classrooms__New__index",1713:"p__virtualSpaces__Lists__Settings__index",1717:"layouts__index",1727:"p__Classrooms__Lists__CourseGroup__NotList__index",1783:"p__virtualSpaces__Lists__Experiment__index",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",1939:"p__User__Detail__Order__index",1953:"p__Problemset__NewItem__index",1962:"p__Classrooms__Lists__Engineering__index",2045:"p__Engineering__Lists__TeacherList__index",2076:"p__User__Detail__Competitions__index",2102:"p__Classrooms__Lists__Board__Edit__index",2141:"p__Shixuns__Detail__Split__index",2216:"p__DataSet__Index__index",2240:"p__User__Detail__Videos__Upload__index",2254:"p__Shixuns__Detail__Discuss__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",2529:"p__User__Detail__id",2539:"p__Graduations__Review__index",2548:"p__Engineering__Norm__Detail__index",2570:"p__Competitions__Detail__index",2603:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Add__index",2659:"p__User__Detail__UserPortrait__index",2707:"p__Innovation__MyDataSet__index",2806:"p__User__Detail__Topics__Exercise__Detail__index",2819:"p__Classrooms__Lists__Template__detail__index",2823:"p__Engineering__Navigation__Home__index",2826:"p__User__Detail__DataSet__index",2829:"p__Messages__Private__index",2865:"p__Innovation__MyMirror__index",2875:"p__Shixuns__Detail__id",2884:"p__Classrooms__Lists__ProgramHomework__Comment__index",2983:"p__Forums__Index__index",3006:"p__Engineering__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",3282:"layouts__ShixunDetail__index",3317:"p__Classrooms__Lists__Graduation__Topics__Add__index",3332:"p__Paths__Detail__id",3355:"p__Classrooms__Lists__Polls__index",3356:"p__Classrooms__Lists__Assistant__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",3496:"p__User__Detail__OtherResources__index",3509:"p__HttpStatus__SixActivities",3581:"p__Classrooms__Lists__ShixunHomeworks__Detail__index",3585:"p__Classrooms__Lists__Statistics__StudentSituation__index",3665:"p__tasks__index",3668:"p__Classrooms__Lists__CommonHomework__Detail__index",3747:"p__virtualSpaces__Lists__Homepage__index",3784:"p__Paperlibrary__Random__Detail__index",3873:"p__virtualSpaces__Lists__Lesson__index",3910:"p__HttpStatus__introduction",3935:"p__Classrooms__Lists__GroupHomework__index",3951:"p__Classrooms__Lists__ProgramHomework__Detail__index",4030:"p__Classrooms__Lists__ProgramHomework__AddAndEdit__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",4449:"p__Competitions__Exports__index",4492:"p__Graduations__Lists__StudentSelection__index",4495:"p__Account__Resource__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",4601:"p__Paths__Detail__Statistics__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",4849:"p__User__Detail__ExperImentImg__index",4862:"p__Paperlibrary__index",4884:"p__Shixuns__Detail__Repository__Commit__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",5125:"p__Classrooms__Lists__Exercise__DetailedAnalysis__index",5148:"p__Classrooms__Lists__Polls__Answer__index",5176:"p__User__Detail__Videos__Protocol__index",5179:"p__Administration__Student__Edit__index",5186:"p__Classrooms__Overview__index",5191:"p__User__Detail__Certificate__index",5238:"p__virtualSpaces__Lists__Material__index",5297:"p__Classrooms__Lists__Exercise__Detail__components__DuplicateChecking__CheckDetail__index",5319:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Detail__index",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",5470:"p__Shixuns__Detail__Collaborators__index",5518:"p__Classrooms__Lists__Template__index",5549:"p__Shixuns__New__CreateImg__index",5572:"p__Paths__HigherVocationalEducation__index",5573:"p__Shixuns__Detail__Merge__index",5599:"p__User__Detail__Paths__index",5624:"p__Graduations__Lists__Index__index",5650:"p__Competitions__Update__index",5705:"p__virtualSpaces__Lists__Construction__index",5729:"p__Help__Index",5775:"p__Engineering__Lists__Document__index",5786:"layouts__LoginAndRegister__index",5798:"p__Classrooms__Lists__Video__Statistics__UserDetail__index",5816:"p__Paperlibrary__Random__Edit__index",5825:"p__Classrooms__Lists__Exercise__index",5888:"p__Classrooms__Lists__CommonHomework__Add__index",5891:"p__virtualSpaces__Lists__Resources__index",5895:"p__User__Detail__AccountInfo__Profile__Edit__index",5915:"p__knowledgegraph__Detail__Statistics__index",5972:"layouts__user__index",5992:"p__Classrooms__Lists__Exercise__ReviewGroup__index",6029:"p__Administration__Student__index",6052:"p__Paths__Index__index",6063:"p__Graduations__Lists__Personmanage__index",6069:"p__virtualSpaces__Lists__Lesson__Detail__index",6127:"p__Classrooms__Lists__ProgramHomework__Ranking__index",6265:"p__virtualSpaces__Lists__Discussion__index",6270:"p__MyProblem__index",6277:"p__Shixuns__Edit__index",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",6452:"p__Innovation__PublicDataSet__index",6541:"p__Shixuns__Detail__Dataset__index",6583:"p__User__Detail__Classrooms__index",6587:"p__User__Detail__Videos__Protocol__resource",6634:"p__Innovation__Tasks__index",6651:"p__Engineering__Evaluate__Detail__index",6685:"p__Classrooms__Index__index",6729:"p__Classrooms__Lists__GroupHomework__Edit__index",6741:"p__Engineering__Norm__List__index",6758:"p__Classrooms__Lists__Attachment__index",6784:"p__Innovation__Edit__index",6788:"p__Classrooms__Lists__ProgramHomework__index",6796:"p__virtualSpaces__Lists__Announcement__Detail__index",6805:"p__User__Detail__AccountInfo__RealNameCertification__index",6820:"p__User__Detail__Topics__Normal__index",6845:"p__Shixuns__Detail__Settings__index",6882:"p__Classrooms__New__StartClass__index",6883:"p__Competitions__Index__index",6904:"p__MoopCases__FormPanel__index",6913:"p__Question__AddOrEdit__index",6963:"p__Classrooms__Lists__Engineering__Detail__index",6982:"p__User__Detail__AccountInfo__Profile__index",7008:"p__Shixuns__New__index",7043:"p__User__Detail__Topics__Exercise__Edit__index",7045:"p__Classrooms__Lists__CommonHomework__SubmitWork__index",7046:"p__Shixuns__Detail__Repository__AddFile__index",7058:"p__virtualSpaces__Lists__Survey__Detail__index",7062:"layouts__SimpleLayouts",7178:"p__User__BindAccount__index",7182:"p__User__ResetPassword__index",7242:"p__Innovation__MyProject__index",7260:"p__Account__Certification__index",7395:"p__Classrooms__Lists__Statistics__StudentDetail__index",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",7852:"p__Classrooms__Lists__ShixunHomeworks__index",7855:"p__User__Detail__ResourcesCenter__Detail__index",7857:"p__Shixuns__Edit__body__Level__Challenges__NewQuestion__index",7878:"p__Classrooms__Lists__LiveVideo__index",7883:"p__Classrooms__Lists__Exercise__WrongAnswer__index",7884:"p__Shixuns__Exports__index",7922:"p__Classrooms__Lists__CourseGroup__Detail__index",7948:"p__User__Detail__ClassManagement__index",8014:"p__Classrooms__Lists__Teachers__index",8062:"p__User__Detail__Topicbank__index",8072:"p__Classrooms__Lists__GroupHomework__SubmitWork__index",8077:"p__Classrooms__Lists__Students__index",8085:"p__Classrooms__Lists__Exercise__Review__index",8143:"layouts__GraduationsDetail__index",8155:"p__Shixuns__Overview__index",8237:"p__User__Detail__Order__pages__view__index",8241:"p__virtualSpaces__Lists__Plan__index",8302:"p__Classrooms__Lists__Board__index",8307:"p__User__Detail__Shixuns__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",8517:"p__User__Detail__Topics__Group__index",8563:"p__virtualSpaces__Lists__Discussion__Detail__index",8634:"p__Classrooms__Lists__CourseGroup__List__index",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",8782:"p__Shixuns__Index__index",8787:"p__Competitions__Entered__index",8797:"p__Competitions__Edit__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",8982:"p__Paths__New__index",8999:"p__Three__index",9076:"p__Account__Binding__index",9133:"p__Shixuns__Detail__Challenges__index",9205:"p__Shixuns__Edit__body__Level__Challenges__EditPracticeSetting__index",9215:"p__Shixuns__Detail__ForkList__index",9332:"p__Classrooms__Lists__Video__index",9360:"p__User__Detail__virtualSpaces__index",9366:"p__User__Login__index",9391:"p__Engineering__Lists__CurseSetting__index",9404:"monaco-editor",9408:"p__Shixuns__Detail__RankingList__index",9416:"p__Graduations__Lists__Tasks__index",9487:"p__LargeScreen__index",9489:"p__Engineering__Lists__CourseList__index",9507:"p__User__Detail__ResourceGuarantee__index",9519:"p__User__Detail__ClassManagement__Item__index",9590:"p__User__Detail__TeachGroup__index",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",9890:"p__Classrooms__Lists__CommonHomework__index",9891:"p__User__Detail__Videos__Success__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:"1ad7d0db",109:"1a7fc455",195:"a0b7e5dd",264:"5fd9b3fc",265:"d92c6f86",292:"e8d22ed4",310:"06815302",337:"ee05039e",342:"e9b270bd",479:"bba9e475",485:"d63578fe",508:"82593858",532:"c829a014",533:"5fee20bc",547:"5581debc",556:"892f4292",559:"c49aa5ba",576:"e4f97d42",643:"22ded693",680:"e67e9e01",700:"e8adbc3d",737:"98eb2f74",799:"b3487c4b",869:"6740e24b",895:"ad846737",921:"30cc7e9b",928:"0277270a",1006:"2263131d",1043:"e8c0878b",1045:"0eeb3595",1048:"dafc3f4f",1070:"e67e9e01",1148:"754fff63",1211:"bdb8faab",1253:"46aca33c",1257:"156e8f74",1265:"d902bdae",1276:"bbc6eeec",1343:"b7f33c89",1416:"f1916094",1423:"5c4a76fc",1427:"f91322f7",1450:"1edcc2ed",1461:"917cbb16",1470:"183c9793",1475:"d22fbaa0",1482:"d159af07",1512:"f3653a35",1520:"f7300d0e",1545:"8eeeaccf",1578:"efcb0bdc",1581:"efffd7c0",1582:"8e45b6ff",1657:"cb817d3a",1674:"fdbc1e05",1702:"fca45632",1713:"5ed278a4",1717:"08a9e890",1727:"de83767d",1783:"47d0320e",1831:"8d05bf11",1836:"5f0d3f7f",1855:"b92cccb4",1880:"f67d7892",1939:"48e30d48",1953:"82125cfd",1962:"84e145fa",2045:"dcfad42d",2076:"09b07fa0",2102:"ec61f9f0",2141:"5eb2f330",2216:"e3ba73cf",2240:"e7cce869",2254:"ccda836f",2303:"66c77d21",2307:"b2c54321",2338:"e4bb0d0f",2339:"d90c9bd2",2396:"e70f11d6",2404:"08d36549",2412:"6b6ca0ef",2425:"47b23ee4",2443:"8fb7c26b",2476:"cf85a190",2501:"2441982c",2529:"9d9944da",2539:"43d36117",2548:"75182034",2570:"3dbc6300",2603:"0277270a",2659:"f6071a36",2707:"cabcb16e",2806:"2c7248b3",2819:"9455b08a",2823:"a13b21fb",2826:"0b6be43b",2829:"a5909474",2865:"6ef3cf6b",2875:"d6c8355d",2884:"904823c3",2983:"c8c482f7",3006:"7fce4e74",3141:"72791f8b",3157:"2038b5dc",3183:"b2253f40",3212:"ad1521c1",3220:"a5be3990",3247:"50105eb7",3260:"1847b79c",3276:"7bbb651d",3282:"2dff97e8",3317:"137440b7",3332:"5035a343",3355:"77baa15e",3356:"c6a4098f",3391:"f0e498fe",3433:"e6919a98",3442:"bdf7849c",3447:"1653d818",3451:"e3a31387",3496:"44bf4044",3509:"70043ca5",3581:"f545d6a6",3585:"5f288e7b",3665:"2d037be9",3668:"a1c98b04",3747:"e06419ae",3784:"c81d4a51",3873:"bbd9808d",3910:"658d457f",3935:"9a4efbda",3951:"9b11b034",4030:"7614a85c",4056:"10eacfff",4078:"aa54548e",4093:"c1f29d01",4105:"e39011c7",4144:"f10aa199",4164:"ad1c3799",4216:"0277270a",4217:"387bf824",4227:"79c3b323",4259:"ebd953ac",4264:"36917df0",4449:"e68d8d58",4492:"0677fa39",4495:"da48110d",4496:"77babddd",4498:"d086de31",4504:"466a61af",4514:"887bdbb6",4520:"e86d61a1",4546:"4101a1f2",4572:"70e5675d",4599:"14597c83",4601:"3c8ac557",4610:"687005a6",4621:"ead619d7",4662:"4e7b8c12",4715:"45efe14a",4736:"2968553b",4741:"afeb6eca",4757:"73b754d2",4766:"b5df5a8e",4770:"674b2d2a",4795:"939f9f81",4800:"f50302a4",4849:"2a1dc219",4862:"e5826b73",4884:"bd293d3b",4889:"db5cf2c9",4928:"a4b1a237",4973:"129c56e8",4994:"50caae56",5022:"81b1b86b",5028:"03cdfb68",5043:"247e6954",5048:"aa08c681",5096:"4f6a4d00",5111:"5d09a39a",5125:"57501e4a",5148:"572faeac",5176:"9c49e7fa",5179:"21f01751",5186:"aeb0dc56",5191:"0af389b2",5238:"3d814a61",5297:"5426028f",5319:"34217c3f",5335:"fec6fd9f",5357:"1fbb7d24",5359:"b254a598",5382:"0c911991",5402:"60617d0d",5470:"b25021a2",5518:"9f425be3",5549:"39285664",5572:"c945fbf2",5573:"6ecf393c",5599:"2ae54005",5624:"5de2fd4d",5650:"f8f63f4b",5705:"df6bf207",5729:"46f9b5d4",5775:"8945cad2",5786:"37a81eaa",5798:"ce1cf7da",5816:"d749b200",5825:"738960a3",5888:"193a7f8f",5891:"3b7a128f",5895:"9ddd624a",5915:"bc9c3e69",5972:"c7a91e8e",5992:"419f5d2f",6029:"2ded5a5a",6052:"59cb6398",6063:"a5f0409a",6069:"b4a6d2ab",6127:"f31505a8",6265:"9459eb93",6270:"cc24b0fc",6277:"12e50919",6328:"de2b9d62",6366:"079fc2d8",6434:"0112f8db",6444:"fd46d237",6452:"50a6d310",6541:"d1c967cd",6583:"7d33505d",6587:"9c49e7fa",6634:"df151169",6651:"b07fe216",6685:"f5f5b969",6729:"aea3b7f5",6741:"b838eb14",6758:"1c10a6da",6784:"1affe817",6788:"bde794d4",6796:"89c76e37",6805:"5b253c81",6820:"cebdf1cf",6845:"b7aabf70",6882:"c2d2eada",6883:"7740a702",6904:"44afaa9b",6913:"739202fe",6963:"84e145fa",6982:"3043a9c3",7008:"fe74a83d",7043:"25478869",7045:"48f6fc4c",7046:"c7301ded",7058:"984a456a",7062:"8c29c203",7178:"6e47d75d",7182:"183c9793",7242:"4f353f61",7260:"2c380d56",7395:"5c10e8d8",7460:"dedd2038",7477:"832457fc",7482:"c37a3f01",7527:"6b64ff47",7545:"59925dd9",7560:"d82e43ca",7589:"2a3e68f3",7614:"de9ee12f",7622:"33da27d4",7806:"80b7b1d6",7852:"ee98efe7",7855:"3970a709",7857:"13a29416",7878:"8dfa25f5",7883:"44658a32",7884:"1ca6cde0",7922:"c1d9e2f3",7948:"bed733e5",8014:"9ef39203",8062:"8e384b9f",8072:"540f746b",8077:"0b2c51d9",8085:"c625f85e",8143:"b6ca83ad",8155:"d345abd7",8237:"44654223",8241:"02a0cb2f",8302:"b4649ac5",8307:"02e15761",8398:"cf8eb735",8431:"7f5bd176",8435:"21d4dff0",8447:"0875c082",8517:"cccfddad",8563:"3a763677",8634:"317d0a2b",8665:"c52575bc",8688:"c044db56",8689:"459af240",8723:"5166ac36",8782:"918afc23",8787:"121de108",8797:"13e5189e",8823:"72de0470",8827:"af0ed6a3",8866:"664121ad",8882:"f3e42f72",8885:"de905169",8982:"6e2e337e",8999:"448aa22f",9076:"6a501148",9133:"ab171f08",9205:"49a3e67d",9215:"f737e7e7",9332:"a627cf98",9360:"27c7d4f7",9366:"4f511490",9391:"c11edda0",9404:"d8cf04f7",9408:"d3565b1a",9416:"a204e6fe",9487:"a73f5679",9489:"ee2bb5b7",9507:"396e34cd",9519:"88d248ee",9590:"29583579",9647:"452de157",9649:"00fb4211",9674:"d0f91ed7",9677:"26548cb7",9695:"bb84056a",9715:"b6c6645f",9716:"a5750e0d",9785:"08d36549",9788:"781a4d20",9890:"3ac78858",9891:"512a9301",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,v){return Object.prototype.hasOwnProperty.call(d,v)}}(),function(){var d={};__webpack_require__.l=function(v,e,r,i){if(d[v]){d[v].push(e);return}var l,c;if(r!==void 0)for(var f=document.getElementsByTagName("script"),o=0;o{const W=al(t,s,X)||al(O,s,X)||al(m,s,X);return W&&(z[X]=W),z},{})}function al(O,t,n){return O&&O.hasAttributeNS(t,n)?O.getAttributeNS(t,n):null}function Hf(O){return new Error(`Could not parse ttml timestamp ${O}`)}function qu(O,t){if(!O)return null;let n=yc(O);return n===null&&(ml.test(O)?n=uf(O,t):El.test(O)&&(n=Lf(O,t))),n}function uf(O,t){const n=ml.exec(O),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 Lf(O,t){const n=El.exec(O),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 Go{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 Sf{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=fu(),this.captionsProperties=void 0,this.hls=t,this.config=t.config,this.Cues=t.config.cueHandler,this.captionsProperties={textTrack1:{label:this.config.captionsTextTrack1Label,languageCode:this.config.captionsTextTrack1LanguageCode},textTrack2:{label:this.config.captionsTextTrack2Label,languageCode:this.config.captionsTextTrack2LanguageCode},textTrack3:{label:this.config.captionsTextTrack3Label,languageCode:this.config.captionsTextTrack3LanguageCode},textTrack4:{label:this.config.captionsTextTrack4Label,languageCode:this.config.captionsTextTrack4LanguageCode}},t.on(o.MEDIA_ATTACHING,this.onMediaAttaching,this),t.on(o.MEDIA_DETACHING,this.onMediaDetaching,this),t.on(o.MANIFEST_LOADING,this.onManifestLoading,this),t.on(o.MANIFEST_LOADED,this.onManifestLoaded,this),t.on(o.SUBTITLE_TRACKS_UPDATED,this.onSubtitleTracksUpdated,this),t.on(o.FRAG_LOADING,this.onFragLoading,this),t.on(o.FRAG_LOADED,this.onFragLoaded,this),t.on(o.FRAG_PARSING_USERDATA,this.onFragParsingUserdata,this),t.on(o.FRAG_DECRYPTED,this.onFragDecrypted,this),t.on(o.INIT_PTS_FOUND,this.onInitPtsFound,this),t.on(o.SUBTITLE_TRACKS_CLEARED,this.onSubtitleTracksCleared,this),t.on(o.BUFFER_FLUSHING,this.onBufferFlushing,this)}destroy(){const{hls:t}=this;t.off(o.MEDIA_ATTACHING,this.onMediaAttaching,this),t.off(o.MEDIA_DETACHING,this.onMediaDetaching,this),t.off(o.MANIFEST_LOADING,this.onManifestLoading,this),t.off(o.MANIFEST_LOADED,this.onManifestLoaded,this),t.off(o.SUBTITLE_TRACKS_UPDATED,this.onSubtitleTracksUpdated,this),t.off(o.FRAG_LOADING,this.onFragLoading,this),t.off(o.FRAG_LOADED,this.onFragLoaded,this),t.off(o.FRAG_PARSING_USERDATA,this.onFragParsingUserdata,this),t.off(o.FRAG_DECRYPTED,this.onFragDecrypted,this),t.off(o.INIT_PTS_FOUND,this.onInitPtsFound,this),t.off(o.SUBTITLE_TRACKS_CLEARED,this.onSubtitleTracksCleared,this),t.off(o.BUFFER_FLUSHING,this.onBufferFlushing,this),this.hls=this.config=this.media=null,this.cea608Parser1=this.cea608Parser2=void 0}initCea608Parsers(){const t=new Go(this,"textTrack1"),n=new Go(this,"textTrack2"),s=new Go(this,"textTrack3"),m=new Go(this,"textTrack4");this.cea608Parser1=new sf(1,t,n),this.cea608Parser2=new sf(3,s,m)}addCues(t,n,s,m,E){let I=!1;for(let z=E.length;z--;){const X=E[z],W=$c(X[0],X[1],n,s);if(W>=0&&(X[0]=Math.min(X[0],n),X[1]=Math.max(X[1],s),I=!0,W/(s-n)>.5))return}if(I||E.push([n,s]),this.config.renderTextTracksNatively){const z=this.captionsTracks[t];this.Cues.newCue(z,n,s,m)}else{const z=this.Cues.newCue(null,n,s,m);this.hls.trigger(o.CUES_PARSED,{type:"captions",cues:z,track:t})}}onInitPtsFound(t,{frag:n,id:s,initPTS:m,timescale:E,trackId:I}){const{unparsedVttFrags:z}=this;s===u.MAIN&&(this.initPTS[n.cc]={baseTime:m,timescale:E,trackId:I}),z.length&&(this.unparsedVttFrags=[],z.forEach(X=>{this.initPTS[X.frag.cc]?this.onFragLoaded(o.FRAG_LOADED,X):this.hls.trigger(o.SUBTITLE_FRAG_PROCESSED,{success:!1,frag:X.frag,error:new Error("Subtitle discontinuity domain does not match main")})}))}getExistingTrack(t,n){const{media:s}=this;if(s)for(let m=0;m{bl(m[E]),delete m[E]}),this.nonNativeCaptionsTracks={}}onManifestLoading(){this.lastCc=-1,this.lastSn=-1,this.lastPartIndex=-1,this.prevCC=-1,this.vttCCs=fu(),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===il);if(this.config.enableWebVTT||m&&this.config.enableIMSC1){if(Nl(this.tracks,s)){this.tracks=s;return}if(this.textTracks=[],this.tracks=s,this.config.renderTextTracksNatively){const I=this.media,z=I?Yl(I.textTracks):null;if(this.tracks.forEach((X,W)=>{let le;if(z){let pe=null;for(let Ee=0;EeW!==null).map(W=>W.label);X.length&&this.hls.logger.warn(`Media element contains unused subtitle tracks: ${X.join(", ")}. Replace media element for each source to clear TextTracks and captions menu.`)}}else if(this.tracks.length){const I=this.tracks.map(z=>({label:z.name,kind:z.type.toLowerCase(),default:z.default,subtitleTrack:z}));this.hls.trigger(o.NON_NATIVE_TEXT_TRACKS_FOUND,{tracks:I})}}}onManifestLoaded(t,n){this.config.enableCEA708Captions&&n.captions&&n.captions.forEach(s=>{const m=/(?:CC|SERVICE)([1-4])/.exec(s.instreamId);if(!m)return;const E=`textTrack${m[1]}`,I=this.captionsProperties[E];I&&(I.label=s.name,s.lang&&(I.languageCode=s.lang),I.media=s)})}closedCaptionsForLevel(t){const n=this.hls.levels[t.level];return n==null?void 0:n.attrs["CLOSED-CAPTIONS"]}onFragLoading(t,n){if(this.enabled&&n.frag.type===u.MAIN){var s,m;const{cea608Parser1:E,cea608Parser2:I,lastSn:z}=this,{cc:X,sn:W}=n.frag,le=(s=(m=n.part)==null?void 0:m.index)!=null?s:-1;E&&I&&(W!==z+1||W===z&&le!==this.lastPartIndex+1||X!==this.lastCc)&&(E.reset(),I.reset()),this.lastCc=X,this.lastSn=W,this.lastPartIndex=le}}onFragLoaded(t,n){const{frag:s,payload:m}=n;if(s.type===u.SUBTITLE)if(m.byteLength){const E=s.decryptdata,I="stats"in n;if(E==null||!E.encrypted||I){const z=this.tracks[s.level],X=this.vttCCs;X[s.cc]||(X[s.cc]={start:s.start,prevCC:this.prevCC,new:!0},this.prevCC=s.cc),z&&z.textCodec===il?this._parseIMSC1(s,m):this._parseVTTs(n)}}else this.hls.trigger(o.SUBTITLE_FRAG_PROCESSED,{success:!1,frag:s,error:new Error("Empty subtitle payload")})}_parseIMSC1(t,n){const s=this.hls;kf(n,this.initPTS[t.cc],m=>{this._appendCues(m,t.level),s.trigger(o.SUBTITLE_FRAG_PROCESSED,{success:!0,frag:t})},m=>{s.logger.log(`Failed to parse IMSC1: ${m}`),s.trigger(o.SUBTITLE_FRAG_PROCESSED,{success:!1,frag:t,error:m})})}_parseVTTs(t){var n;const{frag:s,payload:m}=t,{initPTS:E,unparsedVttFrags:I}=this,z=E.length-1;if(!E[s.cc]&&z===-1){I.push(t);return}const X=this.hls,W=(n=s.initSegment)!=null&&n.data?Ce(s.initSegment.data,new Uint8Array(m)).buffer:m;_l(W,this.initPTS[s.cc],this.vttCCs,s.cc,s.start,le=>{this._appendCues(le,s.level),X.trigger(o.SUBTITLE_FRAG_PROCESSED,{success:!0,frag:s})},le=>{const pe=le.message==="Missing initPTS for VTT MPEGTS";pe?I.push(t):this._fallbackToIMSC1(s,m),X.logger.log(`Failed to parse VTT cue: ${le}`),!(pe&&z>s.cc)&&X.trigger(o.SUBTITLE_FRAG_PROCESSED,{success:!1,frag:s,error:le})})}_fallbackToIMSC1(t,n){const s=this.tracks[t.level];s.textCodec||kf(n,this.initPTS[t.cc],()=>{s.textCodec=il,this._parseIMSC1(t,n)},()=>{s.textCodec="wvtt"})}_appendCues(t,n){const s=this.hls;if(this.config.renderTextTracksNatively){const m=this.textTracks[n];if(!m||m.mode==="disabled")return;t.forEach(E=>ef(m,E))}else{const m=this.tracks[n];if(!m)return;const E=m.default?"default":"subtitles"+n;s.trigger(o.CUES_PARSED,{type:"subtitles",cues:t,track:E})}}onFragDecrypted(t,n){const{frag:s}=n;s.type===u.SUBTITLE&&this.onFragLoaded(o.FRAG_LOADED,n)}onSubtitleTracksCleared(){this.tracks=[],this.captionsTracks={}}onFragParsingUserdata(t,n){if(!this.enabled||!this.config.enableCEA708Captions)return;const{frag:s,samples:m}=n;if(!(s.type===u.MAIN&&this.closedCaptionsForLevel(s)==="NONE"))for(let E=0;EUu(z[X],n,s))}if(this.config.renderTextTracksNatively&&n===0&&m!==void 0){const{textTracks:z}=this;Object.keys(z).forEach(X=>Uu(z[X],n,m))}}}extractCea608Data(t){const n=[[],[]],s=t[0]&31;let m=2;for(let E=0;E=16?X--:X++;const Oe=aa(W.trim()),Ue=Cs(t,n,Oe);O!=null&&(pe=O.cues)!=null&&pe.getCueById(Ue)||(I=new le(t,n,Oe),I.id=Ue,I.line=Ee+1,I.align="left",I.position=10+Math.min(80,Math.floor(X*8/32)*10),m.push(I))}return O&&m.length&&(m.sort((Ee,Oe)=>Ee.line==="auto"||Oe.line==="auto"?0:Ee.line>8&&Oe.line>8?Oe.line-Ee.line:Ee.line-Oe.line),m.forEach(Ee=>ef(O,Ee))),m}};function lf(){if(self.fetch&&self.AbortController&&self.ReadableStream&&self.Request)try{return new self.ReadableStream({}),!0}catch(O){}return!1}const cf=/(\d+)-(\d+)\/(\d+)/;class Cf{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||Bf,this.controller=new self.AbortController,this.stats=new $}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 m=this.stats;if(m.loading.start)throw new Error("Loader can only be used once.");m.loading.start=self.performance.now();const E=Tf(t,this.controller.signal),I=t.responseType==="arraybuffer",z=I?"byteLength":"length",{maxTimeToFirstByteMs:X,maxLoadTimeMs:W}=n.loadPolicy;this.context=t,this.config=n,this.callbacks=s,this.request=this.fetchSetup(t,E),self.clearTimeout(this.requestTimeout),n.timeout=X&&r(X)?X:W,this.requestTimeout=self.setTimeout(()=>{this.callbacks&&(this.abortInternal(),this.callbacks.onTimeout(m,t,this.response))},n.timeout),(Eu(this.request)?this.request.then(self.fetch):self.fetch(this.request)).then(pe=>{var Ee;this.response=this.loader=pe;const Oe=Math.max(self.performance.now(),m.loading.start);if(self.clearTimeout(this.requestTimeout),n.timeout=W,this.requestTimeout=self.setTimeout(()=>{this.callbacks&&(this.abortInternal(),this.callbacks.onTimeout(m,t,this.response))},W-(Oe-m.loading.start)),!pe.ok){const{status:ut,statusText:lt}=pe;throw new nd(lt||"fetch, bad network response",ut,pe)}m.loading.first=Oe,m.total=qf(pe.headers)||m.total;const Ue=(Ee=this.callbacks)==null?void 0:Ee.onProgress;return Ue&&r(n.highWaterMark)?this.loadProgressively(pe,m,t,n.highWaterMark,Ue):I?pe.arrayBuffer():t.responseType==="json"?pe.json():pe.text()}).then(pe=>{var Ee,Oe;const Ue=this.response;if(!Ue)throw new Error("loader destroyed");self.clearTimeout(this.requestTimeout),m.loading.end=Math.max(self.performance.now(),m.loading.first);const ut=pe[z];ut&&(m.loaded=m.total=ut);const lt={url:Ue.url,data:pe,code:Ue.status},Nt=(Ee=this.callbacks)==null?void 0:Ee.onProgress;Nt&&!r(n.highWaterMark)&&Nt(m,t,pe,Ue),(Oe=this.callbacks)==null||Oe.onSuccess(lt,m,t,Ue)}).catch(pe=>{var Ee;if(self.clearTimeout(this.requestTimeout),m.aborted)return;const Oe=pe&&pe.code||0,Ue=pe?pe.message:null;(Ee=this.callbacks)==null||Ee.onError({code:Oe,text:Ue},t,pe?pe.details:null,m)})}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,m=0,E){const I=new Ta,z=t.body.getReader(),X=()=>z.read().then(W=>{if(W.done)return I.dataLength&&E(n,s,I.flush().buffer,t),Promise.resolve(new ArrayBuffer(0));const le=W.value,pe=le.length;return n.loaded+=pe,pe=m&&E(n,s,I.flush().buffer,t)):E(n,s,le.buffer,t),X()}).catch(()=>Promise.reject());return X()}}function Tf(O,t){const n={method:"GET",mode:"cors",credentials:"same-origin",signal:t,headers:new self.Headers(y({},O.headers))};return O.rangeEnd&&n.headers.set("Range","bytes="+O.rangeStart+"-"+String(O.rangeEnd-1)),n}function Yf(O){const t=cf.exec(O);if(t)return parseInt(t[2])-parseInt(t[1])+1}function qf(O){const t=O.get("Content-Range");if(t){const s=Yf(t);if(r(s))return s}const n=O.get("Content-Length");if(n)return parseInt(n)}function Bf(O,t){return new self.Request(O.url,t)}class nd extends Error{constructor(t,n,s){super(t),this.code=void 0,this.details=void 0,this.code=n,this.details=s}}const Xf=/^age:\s*[\d.]+\s*$/im;class Pf{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 $,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,m=this.stats;m.loading.first=0,m.loaded=0,m.aborted=!1;const E=this.xhrSetup;E?Promise.resolve().then(()=>{if(!(this.loader!==s||this.stats.aborted))return E(s,n.url)}).catch(I=>{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(I=>{var z;(z=this.callbacks)==null||z.onError({code:s.status,text:I.message},n,s,m)}):this.openAndSendXhr(s,n,t)}openAndSendXhr(t,n,s){t.readyState||t.open("GET",n.url,!0);const m=n.headers,{maxTimeToFirstByteMs:E,maxLoadTimeMs:I}=s.loadPolicy;if(m)for(const z in m)t.setRequestHeader(z,m[z]);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:I,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 m=n.readyState,E=this.config;if(!s.aborted&&m>=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)))),m===4)){self.clearTimeout(this.requestTimeout),n.onreadystatechange=null,n.onprogress=null;const W=n.status,le=n.responseType==="text"?n.responseText:null;if(W>=200&&W<300){const Ue=le!=null?le:n.response;if(Ue!=null){var I,z;s.loading.end=Math.max(self.performance.now(),s.loading.first);const ut=n.responseType==="arraybuffer"?Ue.byteLength:Ue.length;s.loaded=s.total=ut,s.bwEstimate=s.total*8e3/(s.loading.end-s.loading.first);const lt=(I=this.callbacks)==null?void 0:I.onProgress;lt&<(s,t,Ue,n);const Nt={url:n.responseURL,data:Ue,code:W};(z=this.callbacks)==null||z.onSuccess(Nt,s,t,n);return}}const pe=E.loadPolicy.errorRetry,Ee=s.retry,Oe={url:t.url,data:void 0,code:W};if(zr(pe,Ee,!1,Oe))this.retry(pe);else{var X;H.error(`${W} while loading ${t.url}`),(X=this.callbacks)==null||X.onError({code:W,text:n.statusText},t,n,s)}}}loadtimeout(){if(!this.config)return;const t=this.config.loadPolicy.timeoutRetry,n=this.stats.retry;if(zr(t,n,!0))this.retry(t);else{var s;H.warn(`timeout while loading ${(s=this.context)==null?void 0:s.url}`);const m=this.callbacks;m&&(this.abortInternal(),m.onTimeout(this.stats,this.context,this.loader))}}retry(t){const{context:n,stats:s}=this;this.retryDelay=dr(t,s.retry),s.retry++,H.warn(`${status?"HTTP Status "+status:"Timeout"} while loading ${n==null?void 0:n.url}, retrying ${s.retry}/${t.maxNumRetry} in ${this.retryDelay}ms`),this.abortInternal(),this.loader=null,self.clearTimeout(this.retryTimeout),this.retryTimeout=self.setTimeout(this.loadInternal.bind(this),this.retryDelay)}loadprogress(t){const n=this.stats;n.loaded=t.loaded,t.lengthComputable&&(n.total=t.total)}getCacheAge(){let t=null;if(this.loader&&Xf.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 id={maxTimeToFirstByteMs:8e3,maxLoadTimeMs:2e4,timeoutRetry:null,errorRetry:null},Wf=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:Pf,fLoader:void 0,pLoader:void 0,xhrSetup:void 0,licenseXhrSetup:void 0,licenseResponseCallback:void 0,abrController:sa,bufferController:di,capLevelController:wu,errorController:at,fpsController:pc,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:Xo,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:id},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},Jf()),{},{subtitleStreamController:rf,subtitleTrackController:Lc,timelineController:Sf,audioStreamController:Bl,audioTrackController:cl,emeController:Kl,cmcdController:lu,contentSteeringController:Jc,interstitialsController:tf});function Jf(){return{cueHandler:Ff,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 ad(O,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=ff(O),m=["manifest","level","frag"],E=["TimeOut","MaxRetry","RetryDelay","MaxRetryTimeout"];return m.forEach(I=>{const z=`${I==="level"?"playlist":I}LoadPolicy`,X=t[z]===void 0,W=[];E.forEach(le=>{const pe=`${I}Loading${le}`,Ee=t[pe];if(Ee!==void 0&&X){W.push(pe);const Oe=s[z].default;switch(t[z]={default:Oe},le){case"TimeOut":Oe.maxLoadTimeMs=Ee,Oe.maxTimeToFirstByteMs=Ee;break;case"MaxRetry":Oe.errorRetry.maxNumRetry=Ee,Oe.timeoutRetry.maxNumRetry=Ee;break;case"RetryDelay":Oe.errorRetry.retryDelayMs=Ee,Oe.timeoutRetry.retryDelayMs=Ee;break;case"MaxRetryTimeout":Oe.errorRetry.maxRetryDelayMs=Ee,Oe.timeoutRetry.maxRetryDelayMs=Ee;break}}}),W.length&&n.warn(`hls.js config: "${W.join('", "')}" setting(s) are deprecated, use "${z}": ${Xn(t[z])}`)}),b(b({},s),t)}function ff(O){return O&&typeof O=="object"?Array.isArray(O)?O.map(ff):Object.keys(O).reduce((t,n)=>(t[n]=ff(O[n]),t),{}):O}function sd(O,t){const n=O.loader;n!==Cf&&n!==Pf?(t.log("[config]: Custom loader detected, cannot enable progressive streaming"),O.progressive=!1):lf()&&(O.loader=Cf,O.progressive=!0,O.enableSoftwareAES=!0,t.log("[config]: Progressive streaming enabled, using FetchLoader"))}const df=2,g=.1,C=.05,j=100;class ve extends Fs{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(o.MEDIA_ENDED,{stalled:!1})}},this.hls=t,this.fragmentTracker=n,this.registerListeners()}registerListeners(){const{hls:t}=this;t&&(t.on(o.MEDIA_ATTACHED,this.onMediaAttached,this),t.on(o.MEDIA_DETACHING,this.onMediaDetaching,this),t.on(o.BUFFER_APPENDED,this.onBufferAppended,this))}unregisterListeners(){const{hls:t}=this;t&&(t.off(o.MEDIA_ATTACHED,this.onMediaAttached,this),t.off(o.MEDIA_DETACHING,this.onMediaDetaching,this),t.off(o.BUFFER_APPENDED,this.onBufferAppended,this))}destroy(){super.destroy(),this.unregisterListeners(),this.media=this.hls=this.fragmentTracker=null,this.mediaSource=void 0}onMediaAttached(t,n){this.setInterval(j),this.mediaSource=n.mediaSource;const s=this.media=n.media;eu(s,"playing",this.onMediaPlaying),eu(s,"waiting",this.onMediaWaiting),eu(s,"ended",this.onMediaEnded)}onMediaDetaching(t,n){this.clearInterval();const{media:s}=this;s&&(cu(s,"playing",this.onMediaPlaying),cu(s,"waiting",this.onMediaWaiting),cu(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,m;const E=(s=this.hls)==null?void 0:s.config;if(!E)return;const I=this.media;if(!I)return;const{seeking:z}=I,X=this.seeking&&!z,W=!this.seeking&&z,le=I.paused&&!z||I.ended||I.playbackRate===0;if(this.seeking=z,t!==n){n&&(this.ended=0),this.moved=!0,z||(this.nudgeRetry=0,E.nudgeOnVideoHole&&!le&&t>n&&this.nudgeOnVideoHole(t,n)),this.waiting===0&&this.stallResolved(t);return}if(W||X){X&&this.stallResolved(t);return}if(le){this.nudgeRetry=0,this.stallResolved(t),!this.ended&&I.ended&&this.hls&&(this.ended=t||1,this.hls.trigger(o.MEDIA_ENDED,{stalled:!1}));return}if(!Jn.getBuffered(I).length){this.nudgeRetry=0;return}const pe=Jn.bufferInfo(I,t,0),Ee=pe.nextStart||0,Oe=this.fragmentTracker;if(z&&Oe&&this.hls){const vn=Re(this.hls.inFlightFragments,t),Wr=pe.len>df,an=!Ee||vn||Ee-t>df&&!Oe.getPartialFragment(t);if(Wr||an)return;this.moved=!1}const Ue=(m=this.hls)==null?void 0:m.latestLevelDetails;if(!this.moved&&this.stalled!==null&&Oe){if(!(pe.len>0)&&!Ee)return;const Wr=Math.max(Ee,pe.start||0)-t,fn=!!(Ue!=null&&Ue.live)?Ue.targetduration*2:df,Gr=Bt(t,Oe);if(Wr>0&&(Wr<=fn||Gr)){I.paused||this._trySkipBufferHole(Gr);return}}const ut=E.detectStallWithCurrentTimeMs,lt=self.performance.now(),Nt=this.waiting;let pr=this.stalled;if(pr===null)if(Nt>0&<-Nt=ut||Nt)&&this.hls){var Fr;if(((Fr=this.mediaSource)==null?void 0:Fr.readyState)==="ended"&&!(Ue!=null&&Ue.live)&&Math.abs(t-((Ue==null?void 0:Ue.edge)||0))<1){if(this.ended)return;this.ended=t||1,this.hls.trigger(o.MEDIA_ENDED,{stalled:!0});return}if(this._reportStall(pe),!this.media||!this.hls)return}const Yr=Jn.bufferInfo(I,t,E.maxBufferHole);this._tryFixBufferStall(Yr,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(o.STALL_RESOLVED,{})}}nudgeOnVideoHole(t,n){var s;const m=this.buffered.video;if(this.hls&&this.media&&this.fragmentTracker&&(s=this.buffered.audio)!=null&&s.length&&m&&m.length>1&&t>m.end(0)){const E=Jn.bufferedInfo(Jn.timeRangesToArray(this.buffered.audio),t,0);if(E.len>1&&n>=E.start){const I=Jn.timeRangesToArray(m),z=Jn.bufferedInfo(I,n,0).bufferedIndex;if(z>-1&&zz)&&le-W<1&&t-W<2){const pe=new Error(`nudging playhead to flush pipeline after video hole. currentTime: ${t} hole: ${W} -> ${le} buffered index: ${X}`);this.warn(pe.message),this.media.currentTime+=1e-6;let Ee=Bt(t,this.fragmentTracker);Ee&&"fragment"in Ee?Ee=Ee.fragment:Ee||(Ee=void 0);const Oe=Jn.bufferInfo(this.media,t,0);this.hls.trigger(o.ERROR,{type:c.MEDIA_ERROR,details:f.BUFFER_SEEK_OVER_HOLE,fatal:!1,error:pe,reason:pe.message,frag:Ee,buffer:Oe.len,bufferInfo:Oe})}}}}}_tryFixBufferStall(t,n,s){var m,E;const{fragmentTracker:I,media:z}=this,X=(m=this.hls)==null?void 0:m.config;if(!z||!I||!X)return;const W=(E=this.hls)==null?void 0:E.latestLevelDetails,le=Bt(s,I);if((le||W!=null&&W.live&&s1&&t.len>X.maxBufferHole||t.nextStart&&(t.nextStart-sX.highBufferWatchdogPeriod*1e3||this.waiting)&&(this.warn("Trying to nudge playhead over buffer-hole"),this._tryNudgeBuffer(t))}adjacentTraversal(t,n){const s=this.fragmentTracker,m=t.nextStart;if(s&&m){const E=s.getFragAtPos(n,u.MAIN),I=s.getFragAtPos(m,u.MAIN);if(E&&I)return I.sn-E.sn<2}return!1}_reportStall(t){const{hls:n,media:s,stallReported:m,stalled:E}=this;if(!m&&E!==null&&s&&n){this.stallReported=!0;const I=new Error(`Playback stalling at @${s.currentTime} due to low buffer (${Xn(t)})`);this.warn(I.message),n.trigger(o.ERROR,{type:c.MEDIA_ERROR,details:f.BUFFER_STALLED_ERROR,fatal:!1,error:I,buffer:t.len,bufferInfo:t,stalled:{start:E}})}}_trySkipBufferHole(t){var n;const{fragmentTracker:s,media:m}=this,E=(n=this.hls)==null?void 0:n.config;if(!m||!s||!E)return 0;const I=m.currentTime,z=Jn.bufferInfo(m,I,0),X=I0&&z.len<1&&m.readyState<3,Ee=X-I;if(Ee>0&&(le||pe)){if(Ee>E.maxBufferHole){let Ue=!1;if(I===0){const ut=s.getAppendedFrag(0,u.MAIN);ut&&X{const O=Dr();try{O&&new O(0,Number.POSITIVE_INFINITY,"")}catch(t){return Number.MAX_VALUE}return Number.POSITIVE_INFINITY})();class $a{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(o.EVENT_CUE_ENTER,{})},this.hls=t,this._registerListeners()}destroy(){this._unregisterListeners(),this.id3Track=null,this.media=null,this.dateRangeCuesAppended={},this.hls=this.onEventCueEnter=null}_registerListeners(){const{hls:t}=this;t&&(t.on(o.MEDIA_ATTACHING,this.onMediaAttaching,this),t.on(o.MEDIA_ATTACHED,this.onMediaAttached,this),t.on(o.MEDIA_DETACHING,this.onMediaDetaching,this),t.on(o.MANIFEST_LOADING,this.onManifestLoading,this),t.on(o.FRAG_PARSING_METADATA,this.onFragParsingMetadata,this),t.on(o.BUFFER_FLUSHING,this.onBufferFlushing,this),t.on(o.LEVEL_UPDATED,this.onLevelUpdated,this),t.on(o.LEVEL_PTS_UPDATED,this.onLevelPtsUpdated,this))}_unregisterListeners(){const{hls:t}=this;t&&(t.off(o.MEDIA_ATTACHING,this.onMediaAttaching,this),t.off(o.MEDIA_ATTACHED,this.onMediaAttached,this),t.off(o.MEDIA_DETACHING,this.onMediaDetaching,this),t.off(o.MANIFEST_LOADING,this.onManifestLoading,this),t.off(o.FRAG_PARSING_METADATA,this.onFragParsingMetadata,this),t.off(o.BUFFER_FLUSHING,this.onBufferFlushing,this),t.off(o.LEVEL_UPDATED,this.onLevelUpdated,this),t.off(o.LEVEL_PTS_UPDATED,this.onLevelPtsUpdated,this))}onMediaAttaching(t,n){var s;this.media=n.media,((s=n.overrides)==null?void 0:s.cueRemoval)===!1&&(this.removeCues=!1)}onMediaAttached(){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&&bl(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;nCi&&(pe=Ci),pe-le<=0&&(pe=le+ir);for(let Oe=0;Oele.type===_s.audioId3&&X:m==="video"?W=le=>le.type===_s.emsg&&z:W=le=>le.type===_s.audioId3&&X||le.type===_s.emsg&&z,Uu(E,n,s,W)}}onLevelUpdated(t,{details:n}){this.updateDateRangeCues(n,!0)}onLevelPtsUpdated(t,n){Math.abs(n.drift)>.01&&this.updateDateRangeCues(n.details)}updateDateRangeCues(t,n){if(!this.hls||!this.media)return;const{assetPlayerId:s,timelineOffset:m,enableDateRangeMetadataCues:E,interstitialsController:I}=this.hls.config;if(!E)return;const z=Dr();if(s&&m&&!I){const{fragmentStart:ut,fragmentEnd:lt}=t;let Nt=this.assetCue;Nt?(Nt.startTime=ut,Nt.endTime=lt):z&&(Nt=this.assetCue=_n(z,ut,lt,{assetPlayerId:this.hls.config.assetPlayerId},"hlsjs.interstitial.asset"),Nt&&(Nt.id=s,this.id3Track||(this.id3Track=this.createTrack(this.media)),this.id3Track.addCue(Nt),Nt.addEventListener("enter",this.onEventCueEnter)))}if(!t.hasProgramDateTime)return;const{id3Track:X}=this,{dateRanges:W}=t,le=Object.keys(W);let pe=this.dateRangeCuesAppended;if(X&&n){var Ee;if((Ee=X.cues)!=null&&Ee.length){const ut=Object.keys(pe).filter(lt=>!le.includes(lt));for(let lt=ut.length;lt--;){var Oe;const Nt=ut[lt],pr=(Oe=pe[Nt])==null?void 0:Oe.cues;delete pe[Nt],pr&&Object.keys(pr).forEach(sr=>{const Fr=pr[sr];if(Fr){Fr.removeEventListener("enter",this.onEventCueEnter);try{X.removeCue(Fr)}catch(Yr){}}})}}else pe=this.dateRangeCuesAppended={}}const Ue=t.fragments[t.fragments.length-1];if(!(le.length===0||!r(Ue==null?void 0:Ue.programDateTime))){this.id3Track||(this.id3Track=this.createTrack(this.media));for(let ut=0;ut{if(yi!==Nt.id){const Ji=W[yi];if(Ji.class===Nt.class&&Ji.startDate>Nt.startDate&&(!Sn||Nt.startDate.01&&(yi.startTime=pr,yi.endTime=vn);else if(z){let Ji=Nt.attr[Sn];Nn(Sn)&&(Ji=V(Ji));const Ei=_n(z,pr,vn,{key:Sn,data:Ji},_s.dateRange);Ei&&(Ei.id=lt,this.id3Track.addCue(Ei),Fr[Sn]=Ei,I&&(Sn==="X-ASSET-LIST"||Sn==="X-ASSET-URL")&&Ei.addEventListener("enter",this.onEventCueEnter))}}pe[lt]={cues:Fr,dateRange:Nt,durationKnown:Yr}}}}}class Qn{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 m=this.computeLatency();if(m===null)return;this._latency=m;const{lowLatencyMode:E,maxLiveSyncPlaybackRate:I}=this.config;if(!E||I===1||!s.live)return;const z=this.targetLatency;if(z===null)return;const X=m-z,W=Math.min(this.maxLatency,z+s.targetduration);if(X.05&&this.forwardBufferLength>1){const pe=Math.min(2,Math.max(1,I)),Ee=Math.round(2/(1+Math.exp(-.75*X-this.edgeStalled))*20)/20,Oe=Math.min(pe,Math.max(1,Ee));this.changeMediaPlaybackRate(n,Oe)}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:m}=t,{liveSyncDuration:E,liveSyncDurationCount:I,lowLatencyMode:z}=this.config,X=this.hls.userConfig;let W=z&&s||n;(this._targetLatencyUpdated||X.liveSyncDuration||X.liveSyncDurationCount||W===0)&&(W=E!==void 0?E:I*m);const le=m;return W+Math.min(this.stallCount*this.config.liveSyncOnStallIncrease,le)}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 m=s.edge,E=t-n-this.edgeStalled,I=m-s.totalduration,z=m-(this.config.lowLatencyMode&&s.partTarget||s.targetduration);return Math.min(Math.max(I,E),z)}get drift(){const t=this.levelDetails;return t===null?1:t.drift}get edgeStalled(){const t=this.levelDetails;if(t===null)return 0;const n=(this.config.lowLatencyMode&&t.partTarget||t.targetduration)*3;return Math.max(t.age-n,0)}get forwardBufferLength(){const{media:t}=this,n=this.levelDetails;if(!t||!n)return 0;const s=t.buffered.length;return(s?t.buffered.end(s-1):n.edge)-this.currentTime}destroy(){this.unregisterListeners(),this.onMediaDetaching(),this.hls=null}registerListeners(){const{hls:t}=this;t&&(t.on(o.MEDIA_ATTACHED,this.onMediaAttached,this),t.on(o.MEDIA_DETACHING,this.onMediaDetaching,this),t.on(o.MANIFEST_LOADING,this.onManifestLoading,this),t.on(o.LEVEL_UPDATED,this.onLevelUpdated,this),t.on(o.ERROR,this.onError,this))}unregisterListeners(){const{hls:t}=this;t&&(t.off(o.MEDIA_ATTACHED,this.onMediaAttached,this),t.off(o.MEDIA_DETACHING,this.onMediaDetaching,this),t.off(o.MANIFEST_LOADING,this.onManifestLoading,this),t.off(o.LEVEL_UPDATED,this.onLevelUpdated,this),t.off(o.ERROR,this.onError,this))}onMediaAttached(t,n){this.media=n.media,this.media.addEventListener("timeupdate",this.onTimeupdate)}onMediaDetaching(){this.media&&(this.media.removeEventListener("timeupdate",this.onTimeupdate),this.media=null)}onManifestLoading(){this._latency=null,this.stallCount=0}onLevelUpdated(t,{details:n}){n.advanced&&this.onTimeupdate(),!n.live&&this.media&&this.media.removeEventListener("timeupdate",this.onTimeupdate)}onError(t,n){var s;n.details===f.BUFFER_STALLED_ERROR&&(this.stallCount++,this.hls&&(s=this.levelDetails)!=null&&s.live&&this.hls.logger.warn("[latency-controller]: Stall detected, adjusting target latency"))}changeMediaPlaybackRate(t,n){var s,m;t.playbackRate!==n&&((s=this.hls)==null||s.logger.debug(`[latency-controller]: latency=${this.latency.toFixed(3)}, targetLatency=${(m=this.targetLatency)==null?void 0:m.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 ca extends nu{constructor(t,n){super(t,"level-controller"),this._levels=[],this._firstLevel=-1,this._maxAutoLevel=-1,this._startLevel=void 0,this.currentLevel=null,this.currentLevelIndex=-1,this.manualLevelIndex=-1,this.steering=void 0,this.onParsedComplete=void 0,this.steering=n,this._registerListeners()}_registerListeners(){const{hls:t}=this;t.on(o.MANIFEST_LOADING,this.onManifestLoading,this),t.on(o.MANIFEST_LOADED,this.onManifestLoaded,this),t.on(o.LEVEL_LOADED,this.onLevelLoaded,this),t.on(o.LEVELS_UPDATED,this.onLevelsUpdated,this),t.on(o.FRAG_BUFFERED,this.onFragBuffered,this),t.on(o.ERROR,this.onError,this)}_unregisterListeners(){const{hls:t}=this;t.off(o.MANIFEST_LOADING,this.onManifestLoading,this),t.off(o.MANIFEST_LOADED,this.onManifestLoaded,this),t.off(o.LEVEL_LOADED,this.onLevelLoaded,this),t.off(o.LEVELS_UPDATED,this.onLevelsUpdated,this),t.off(o.FRAG_BUFFERED,this.onFragBuffered,this),t.off(o.ERROR,this.onError,this)}destroy(){this._unregisterListeners(),this.steering=null,this.resetLevels(),super.destroy()}stopLoad(){this._levels.forEach(n=>{n.loadError=0,n.fragmentError=0}),super.stopLoad()}resetLevels(){this._startLevel=void 0,this.manualLevelIndex=-1,this.currentLevelIndex=-1,this.currentLevel=null,this._levels=[],this._maxAutoLevel=-1}onManifestLoading(t,n){this.resetLevels()}onManifestLoaded(t,n){const s=this.hls.config.preferManagedMediaSource,m=[],E={},I={};let z=!1,X=!1,W=!1;n.levels.forEach(le=>{const pe=le.attrs;let{audioCodec:Ee,videoCodec:Oe}=le;Ee&&(le.audioCodec=Ee=mt(Ee,s)||void 0),Oe&&(Oe=le.videoCodec=St(Oe));const{width:Ue,height:ut,unknownCodecs:lt}=le;let Nt=lt?lt.length:0;if(lt)for(let Gr=Nt;Gr--;){const Sn=lt[Gr];this.isAudioSupported(Sn)?(le.audioCodec=Ee=Ee?`${Ee},${Sn}`:Sn,Nt--,he.audio[Ee.substring(0,4)]=2):this.isVideoSupported(Sn)&&(le.videoCodec=Oe=Oe?`${Oe},${Sn}`:Sn,Nt--,he.video[Oe.substring(0,4)]=2)}if(z||(z=!!(Ue&&ut)),X||(X=!!Oe),W||(W=!!Ee),Nt||Ee&&!this.isAudioSupported(Ee)||Oe&&!this.isVideoSupported(Oe)){this.log(`Some or all CODECS not supported "${pe.CODECS}"`);return}const{CODECS:pr,"FRAME-RATE":sr,"HDCP-LEVEL":Fr,"PATHWAY-ID":Yr,RESOLUTION:vn,"VIDEO-RANGE":Wr}=pe,fn=`${`${Yr||"."}-`}${le.bitrate}-${vn}-${sr}-${pr}-${Wr}-${Fr}`;if(E[fn])if(E[fn].uri!==le.url&&!le.attrs["PATHWAY-ID"]){const Gr=I[fn]+=1;le.attrs["PATHWAY-ID"]=new Array(Gr+1).join(".");const Sn=this.createLevel(le);E[fn]=Sn,m.push(Sn)}else E[fn].addGroupId("audio",pe.AUDIO),E[fn].addGroupId("text",pe.SUBTITLES);else{const Gr=this.createLevel(le);E[fn]=Gr,I[fn]=1,m.push(Gr)}}),this.filterAndSortMediaOptions(m,n,z,X,W)}createLevel(t){const n=new cr(t),s=t.supplemental;if(s!=null&&s.videoCodec&&!this.isVideoSupported(s.videoCodec)){const m=new Error(`SUPPLEMENTAL-CODECS not supported "${s.videoCodec}"`);this.log(m.message),n.supportedResult=gr(m,[])}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,m,E){let I=[],z=[],X=t;if((s||m)&&E&&(X=X.filter(({videoCodec:lt,videoRange:Nt,width:pr,height:sr})=>(!!lt||!!(pr&&sr))&&nn(Nt))),X.length===0){Promise.resolve().then(()=>{if(this.hls){let lt="no level with compatible codecs found in manifest",Nt=lt;n.levels.length&&(Nt=`one or more CODECS in variant not supported: ${Xn(n.levels.map(sr=>sr.attrs.CODECS).filter((sr,Fr,Yr)=>Yr.indexOf(sr)===Fr))}`,this.warn(Nt),lt+=` (${Nt})`);const pr=new Error(lt);this.hls.trigger(o.ERROR,{type:c.MEDIA_ERROR,details:f.MANIFEST_INCOMPATIBLE_CODECS_ERROR,fatal:!0,url:n.url,error:pr,reason:Nt})}});return}n.audioTracks&&(I=n.audioTracks.filter(lt=>!lt.audioCodec||this.isAudioSupported(lt.audioCodec)),Na(I)),n.subtitles&&(z=n.subtitles,Na(z));const W=X.slice(0);X.sort((lt,Nt)=>{if(lt.attrs["HDCP-LEVEL"]!==Nt.attrs["HDCP-LEVEL"])return(lt.attrs["HDCP-LEVEL"]||"")>(Nt.attrs["HDCP-LEVEL"]||"")?1:-1;if(s&<.height!==Nt.height)return lt.height-Nt.height;if(lt.frameRate!==Nt.frameRate)return lt.frameRate-Nt.frameRate;if(lt.videoRange!==Nt.videoRange)return yr.indexOf(lt.videoRange)-yr.indexOf(Nt.videoRange);if(lt.videoCodec!==Nt.videoCodec){const pr=wt(lt.videoCodec),sr=wt(Nt.videoCodec);if(pr!==sr)return sr-pr}if(lt.uri===Nt.uri&<.codecSet!==Nt.codecSet){const pr=Ie(lt.codecSet),sr=Ie(Nt.codecSet);if(pr!==sr)return sr-pr}return lt.averageBitrate!==Nt.averageBitrate?lt.averageBitrate-Nt.averageBitrate:0});let le=W[0];if(this.steering&&(X=this.steering.filterParsedLevels(X),X.length!==W.length)){for(let lt=0;ltpr&&pr===this.hls.abrEwmaDefaultEstimate&&(this.hls.bandwidthEstimate=sr)}break}const Ee=E&&!m,Oe=this.hls.config,Ue=!!(Oe.audioStreamController&&Oe.audioTrackController),ut={levels:X,audioTracks:I,subtitleTracks:z,sessionData:n.sessionData,sessionKeys:n.sessionKeys,firstLevel:this._firstLevel,stats:n.stats,audio:E,video:m,altAudio:Ue&&!Ee&&I.some(lt=>!!lt.url)};this.hls.trigger(o.MANIFEST_PARSED,ut)}get levels(){return this._levels.length===0?null:this._levels}get loadLevelObj(){return this.currentLevel}get level(){return this.currentLevelIndex}set level(t){const n=this._levels;if(n.length===0)return;if(t<0||t>=n.length){const le=new Error("invalid level idx"),pe=t<0;if(this.hls.trigger(o.ERROR,{type:c.OTHER_ERROR,details:f.LEVEL_SWITCH_ERROR,level:t,fatal:pe,error:le,reason:le.message}),pe)return;t=Math.min(t,n.length-1)}const s=this.currentLevelIndex,m=this.currentLevel,E=m?m.attrs["PATHWAY-ID"]:void 0,I=n[t],z=I.attrs["PATHWAY-ID"];if(this.currentLevelIndex=t,this.currentLevel=I,s===t&&m&&E===z)return;this.log(`Switching to level ${t} (${I.height?I.height+"p ":""}${I.videoRange?I.videoRange+" ":""}${I.codecSet?I.codecSet+" ":""}@${I.bitrate})${z?" with Pathway "+z:""} from level ${s}${E?" with Pathway "+E:""}`);const X={level:t,attrs:I.attrs,details:I.details,bitrate:I.bitrate,averageBitrate:I.averageBitrate,maxBitrate:I.maxBitrate,realBitrate:I.realBitrate,width:I.width,height:I.height,codecSet:I.codecSet,audioCodec:I.audioCodec,videoCodec:I.videoCodec,audioGroups:I.audioGroups,subtitleGroups:I.subtitleGroups,loaded:I.loaded,loadError:I.loadError,fragmentError:I.fragmentError,name:I.name,id:I.id,uri:I.uri,url:I.url,urlId:0,audioGroupIds:I.audioGroupIds,textGroupIds:I.textGroupIds};this.hls.trigger(o.LEVEL_SWITCHING,X);const W=I.details;if(!W||W.live){const le=this.switchParams(I.uri,m==null?void 0:m.details,W);this.loadPlaylist(le)}}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(m=>n.indexOf(m)!==-1);if(t.length<1){this.warn(`pathwayPriority ${t} should contain at least one pathway from list: ${n}`);return}this.steering.pathwayPriority=s}}onError(t,n){n.fatal||!n.context||n.context.type===h.LEVEL&&n.context.level===this.level&&this.checkRetry(n)}onFragBuffered(t,{frag:n}){if(n!==void 0&&n.type===u.MAIN){const s=n.elementaryStreams;if(!Object.keys(s).some(E=>!!s[E]))return;const m=this._levels[n.level];m!=null&&m.loadError&&(this.log(`Resetting level error count of ${m.loadError} on frag buffered`),m.loadError=0)}}onLevelLoaded(t,n){var s;const{level:m,details:E}=n,I=n.levelInfo;if(!I){var z;this.warn(`Invalid level index ${m}`),(z=n.deliveryDirectives)!=null&&z.skip&&(E.deltaUpdateFailed=!0);return}if(I===this.currentLevel||n.withoutMultiVariant){I.fragmentError===0&&(I.loadError=0);let X=I.details;X===n.details&&X.advanced&&(X=void 0),this.playlistLoaded(m,n,X)}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),m=this.currentLevelIndex,E=t.attrs["PATHWAY-ID"],I=t.details,z=I==null?void 0:I.age;this.log(`Loading level index ${m}${(n==null?void 0:n.msn)!==void 0?" at sn "+n.msn+" part "+n.part:""}${E?" Pathway "+E:""}${z&&I.live?" age "+z.toFixed(1)+(I.type?" "+I.type||0:""):""} ${s}`),this.hls.trigger(o.LEVEL_LOADING,{url:s,level:m,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,I)=>I!==t?!0:(this.steering&&this.steering.removeLevel(E),E===this.currentLevel&&(this.currentLevel=null,this.currentLevelIndex=-1,E.details&&E.details.fragments.forEach(z=>z.level=-1)),!1));Br(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 m=s.length-1;this._firstLevel=Math.min(this._firstLevel,m),this._startLevel&&(this._startLevel=Math.min(this._startLevel,m)),this.hls.trigger(o.LEVELS_UPDATED,{levels:s})}onLevelsUpdated(t,{levels:n}){this._levels=n}checkMaxAutoUpdated(){const{autoLevelCapping:t,maxAutoLevel:n,maxHdcpLevel:s}=this.hls;this._maxAutoLevel!==n&&(this._maxAutoLevel=n,this.hls.trigger(o.MAX_AUTO_LEVEL_UPDATED,{autoLevelCapping:t,levels:this.levels,maxAutoLevel:n,minAutoLevel:this.hls.minAutoLevel,maxHdcpLevel:s}))}}function Na(O){const t={};O.forEach(n=>{const s=n.groupId||"";n.id=t[s]=t[s]||0,t[s]++})}function ka(){return self.SourceBuffer||self.WebKitSourceBuffer}function en(){if(!ae())return!1;const t=ka();return!t||t.prototype&&typeof t.prototype.appendBuffer=="function"&&typeof t.prototype.remove=="function"}function $r(){if(!en())return!1;const O=ae();return typeof(O==null?void 0:O.isTypeSupported)=="function"&&(["avc1.42E01E,mp4a.40.2","av01.0.01M.08","vp09.00.50.08"].some(t=>O.isTypeSupported(Zt(t,"video")))||["mp4a.40.2","fLaC"].some(t=>O.isTypeSupported(Zt(t,"audio"))))}function qr(){var O;const t=ka();return typeof(t==null||(O=t.prototype)==null?void 0:O.changeType)=="function"}const On=100;class Un extends oa{constructor(t,n,s){super(t,n,s,"stream-controller",u.MAIN),this.audioCodecSwap=!1,this.level=-1,this._forceStartLoad=!1,this._hasEnoughToStart=!1,this.altAudio=0,this.audioOnly=!1,this.fragPlaying=null,this.fragLastKbps=0,this.couldBacktrack=!1,this.backtrackFragment=null,this.audioCodecSwitch=!1,this.videoBuffer=null,this.onMediaPlaying=()=>{this.tick()},this.onMediaSeeked=()=>{const m=this.media,E=m?m.currentTime:null;if(E===null||!r(E)||(this.log(`Media seeked to ${E.toFixed(3)}`),!this.getBufferedFrag(E)))return;const I=this.getFwdBufferInfoAtPos(m,E,u.MAIN,0);if(I===null||I.len===0){this.warn(`Main forward buffer length at ${E} on "seeked" event ${I?I.len:"empty"})`);return}this.tick()},this.registerListeners()}registerListeners(){super.registerListeners();const{hls:t}=this;t.on(o.MANIFEST_PARSED,this.onManifestParsed,this),t.on(o.LEVEL_LOADING,this.onLevelLoading,this),t.on(o.LEVEL_LOADED,this.onLevelLoaded,this),t.on(o.FRAG_LOAD_EMERGENCY_ABORTED,this.onFragLoadEmergencyAborted,this),t.on(o.AUDIO_TRACK_SWITCHING,this.onAudioTrackSwitching,this),t.on(o.AUDIO_TRACK_SWITCHED,this.onAudioTrackSwitched,this),t.on(o.BUFFER_CREATED,this.onBufferCreated,this),t.on(o.BUFFER_FLUSHED,this.onBufferFlushed,this),t.on(o.LEVELS_UPDATED,this.onLevelsUpdated,this),t.on(o.FRAG_BUFFERED,this.onFragBuffered,this)}unregisterListeners(){super.unregisterListeners();const{hls:t}=this;t.off(o.MANIFEST_PARSED,this.onManifestParsed,this),t.off(o.LEVEL_LOADED,this.onLevelLoaded,this),t.off(o.FRAG_LOAD_EMERGENCY_ABORTED,this.onFragLoadEmergencyAborted,this),t.off(o.AUDIO_TRACK_SWITCHING,this.onAudioTrackSwitching,this),t.off(o.AUDIO_TRACK_SWITCHED,this.onAudioTrackSwitched,this),t.off(o.BUFFER_CREATED,this.onBufferCreated,this),t.off(o.BUFFER_FLUSHED,this.onBufferFlushed,this),t.off(o.LEVELS_UPDATED,this.onLevelsUpdated,this),t.off(o.FRAG_BUFFERED,this.onFragBuffered,this)}onHandlerDestroying(){this.onMediaPlaying=this.onMediaSeeked=null,this.unregisterListeners(),super.onHandlerDestroying()}startLoad(t,n){if(this.levels){const{lastCurrentTime:s,hls:m}=this;if(this.stopLoad(),this.setInterval(On),this.level=-1,!this.startFragRequested){let E=m.startLevel;E===-1&&(m.config.testBandwidth&&this.levels.length>1?(E=0,this.bitrateTest=!0):E=m.firstAutoLevel),m.nextLoadLevel=E,this.level=m.loadLevel,this._hasEnoughToStart=!!n}s>0&&t===-1&&!n&&(this.log(`Override startPosition with lastCurrentTime @${s.toFixed(3)}`),t=s),this.state=Jt.IDLE,this.nextLoadPosition=this.lastCurrentTime=t+this.timelineOffset,this.startPosition=n?-1:t,this.tick()}else this._forceStartLoad=!0,this.state=Jt.STOPPED}stopLoad(){this._forceStartLoad=!1,super.stopLoad()}doTick(){switch(this.state){case Jt.WAITING_LEVEL:{const{levels:n,level:s}=this,m=n==null?void 0:n[s],E=m==null?void 0:m.details;if(E&&(!E.live||this.levelLastLoaded===m&&!this.waitForLive(m))){if(this.waitForCdnTuneIn(E))break;this.state=Jt.IDLE;break}else if(this.hls.nextLoadLevel!==this.level){this.state=Jt.IDLE;break}break}case Jt.FRAG_LOADING_WAITING_RETRY:{var t;const n=self.performance.now(),s=this.retryDate;if(!s||n>=s||(t=this.media)!=null&&t.seeking){const{levels:m,level:E}=this,I=m==null?void 0:m[E];this.resetStartWhenNotLoaded(I||null),this.state=Jt.IDLE}}break}this.state===Jt.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:m}=this;if(n===null||!m&&!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 I=s[E],z=this.getMainFwdBufferInfo();if(z===null)return;const X=this.getLevelDetails();if(X&&this._streamEnded(z,X)){const ut={};this.altAudio===2&&(ut.type="video"),this.hls.trigger(o.BUFFER_EOS,ut),this.state=Jt.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 W=I.details;if(!W||this.state===Jt.WAITING_LEVEL||this.waitForLive(I)){this.level=E,this.state=Jt.WAITING_LEVEL,this.startFragRequested=!1;return}const le=z.len,pe=this.getMaxBufferLength(I.maxBitrate);if(le>=pe)return;this.backtrackFragment&&this.backtrackFragment.start>z.end&&(this.backtrackFragment=null);const Ee=this.backtrackFragment?this.backtrackFragment.start:z.end;let Oe=this.getNextFragment(Ee,W);if(this.couldBacktrack&&!this.fragPrevious&&Oe&&Pe(Oe)&&this.fragmentTracker.getState(Oe)!==Er.OK){var Ue;const lt=((Ue=this.backtrackFragment)!=null?Ue:Oe).sn-W.startSN,Nt=W.fragments[lt-1];Nt&&Oe.cc===Nt.cc&&(Oe=Nt,this.fragmentTracker.removeFragment(Nt))}else this.backtrackFragment&&z.len&&(this.backtrackFragment=null);if(Oe&&this.isLoopLoading(Oe,Ee)){if(!Oe.gap){const lt=this.audioOnly&&!this.altAudio?ie.AUDIO:ie.VIDEO,Nt=(lt===ie.VIDEO?this.videoBuffer:this.mediaBuffer)||this.media;Nt&&this.afterBufferFlushed(Nt,lt,u.MAIN)}Oe=this.getNextFragmentLoopLoading(Oe,W,z,u.MAIN,pe)}Oe&&(Oe.initSegment&&!Oe.initSegment.data&&!this.bitrateTest&&(Oe=Oe.initSegment),this.loadFragment(Oe,I,Ee))}loadFragment(t,n,s){const m=this.fragmentTracker.getState(t);m===Er.NOT_LOADED||m===Er.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,u.MAIN)}followingBufferedFrag(t){return t?this.getBufferedFrag(t.end+.5):null}immediateLevelSwitch(){this.abortCurrentFrag(),this.flushMainBuffer(0,Number.POSITIVE_INFINITY)}nextLevelSwitch(){const{levels:t,media:n}=this;if(n!=null&&n.readyState){let s;const m=this.getAppendedFrag(n.currentTime);m&&m.start>1&&this.flushMainBuffer(0,m.start-1);const E=this.getLevelDetails();if(E!=null&&E.live){const z=this.getMainFwdBufferInfo();if(!z||z.len{const I=E.audioCodec;I&&(s=s||I.indexOf("mp4a.40.2")!==-1,m=m||I.indexOf("mp4a.40.5")!==-1)}),this.audioCodecSwitch=s&&m&&!qr(),this.audioCodecSwitch&&this.log("Both AAC/HE-AAC audio found in levels; declaring level codec as HE-AAC"),this.levels=n.levels,this.startFragRequested=!1}onLevelLoading(t,n){const{levels:s}=this;if(!s||this.state!==Jt.IDLE)return;const m=n.levelInfo;(!m.details||m.details.live&&(this.levelLastLoaded!==m||m.details.expired)||this.waitForCdnTuneIn(m.details))&&(this.state=Jt.WAITING_LEVEL)}onLevelLoaded(t,n){var s;const{levels:m,startFragRequested:E}=this,I=n.level,z=n.details,X=z.totalduration;if(!m){this.warn(`Levels were reset while loading level ${I}`);return}this.log(`Level ${I} loaded [${z.startSN},${z.endSN}]${z.lastPartSn?`[part-${z.lastPartSn}-${z.lastPartIndex}]`:""}, cc [${z.startCC}, ${z.endCC}] duration:${X}`);const W=n.levelInfo,le=this.fragCurrent;le&&(this.state===Jt.FRAG_LOADING||this.state===Jt.FRAG_LOADING_WAITING_RETRY)&&le.level!==n.level&&le.loader&&this.abortCurrentFrag();let pe=0;if(z.live||(s=W.details)!=null&&s.live){var Ee;if(this.checkLiveUpdate(z),z.deltaUpdateFailed)return;pe=this.alignPlaylists(z,W.details,(Ee=this.levelLastLoaded)==null?void 0:Ee.details)}if(W.details=z,this.levelLastLoaded=W,E||this.setStartPosition(z,pe),this.hls.trigger(o.LEVEL_UPDATED,{details:z,level:I}),this.state===Jt.WAITING_LEVEL){if(this.waitForCdnTuneIn(z))return;this.state=Jt.IDLE}E&&z.live&&this.synchronizeToLiveEdge(z),this.tick()}synchronizeToLiveEdge(t){const{config:n,media:s}=this;if(!s)return;const m=this.hls.liveSyncPosition,E=this.getLoadPosition(),I=t.fragmentStart,z=t.edge,X=E>=I-n.maxFragLookUpTolerance&&E<=z;if(m!==null&&s.duration>m&&(E{var I;(I=this.hls)==null||I.trigger(o.AUDIO_TRACK_SWITCHED,n)}),s.trigger(o.BUFFER_FLUSHING,{startOffset:0,endOffset:Number.POSITIVE_INFINITY,type:null});return}s.trigger(o.AUDIO_TRACK_SWITCHED,n)}}onAudioTrackSwitched(t,n){const s=ii(n.url,this.hls);if(s){const m=this.videoBuffer;m&&this.mediaBuffer!==m&&(this.log("Switching on alternate audio, use video.buffered to schedule main fragment loading"),this.mediaBuffer=m)}this.altAudio=s?2:0,this.tick()}onBufferCreated(t,n){const s=n.tracks;let m,E,I=!1;for(const z in s){const X=s[z];if(X.id==="main"){if(E=z,m=X,z==="video"){const W=s[z];W&&(this.videoBuffer=W.buffer)}}else I=!0}I&&m?(this.log(`Alternate track found, use ${E}.buffered to schedule main fragment loading`),this.mediaBuffer=m.buffer):this.mediaBuffer=this.media}onFragBuffered(t,n){const{frag:s,part:m}=n,E=s.type===u.MAIN;if(E){if(this.fragContextChanged(s)){this.warn(`Fragment ${s.sn}${m?" p: "+m.index:""} of level ${s.level} finished buffering, but was aborted. state: ${this.state}`),this.state===Jt.PARSED&&(this.state=Jt.IDLE);return}const z=m?m.stats:s.stats;this.fragLastKbps=Math.round(8*z.total/(z.buffering.end-z.loading.first)),Pe(s)&&(this.fragPrevious=s),this.fragBufferedComplete(s,m)}const I=this.media;I&&(!this._hasEnoughToStart&&Jn.getBuffered(I).length&&(this._hasEnoughToStart=!0,this.seekToStartPos()),E&&this.tick())}get hasEnoughToStart(){return this._hasEnoughToStart}onError(t,n){var s;if(n.fatal){this.state=Jt.ERROR;return}switch(n.details){case f.FRAG_GAP:case f.FRAG_PARSING_ERROR:case f.FRAG_DECRYPT_ERROR:case f.FRAG_LOAD_ERROR:case f.FRAG_LOAD_TIMEOUT:case f.KEY_LOAD_ERROR:case f.KEY_LOAD_TIMEOUT:this.onFragmentOrKeyLoadError(u.MAIN,n);break;case f.LEVEL_LOAD_ERROR:case f.LEVEL_LOAD_TIMEOUT:case f.LEVEL_PARSING_ERROR:!n.levelRetry&&this.state===Jt.WAITING_LEVEL&&((s=n.context)==null?void 0:s.type)===h.LEVEL&&(this.state=Jt.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=Jt.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,u.MAIN),this.tick())}}onLevelsUpdated(t,n){this.level>-1&&this.fragCurrent&&(this.level=this.fragCurrent.level,this.level===-1&&this.resetWhenMissingContext(this.fragCurrent)),this.levels=n.levels}swapAudioCodec(){this.audioCodecSwap=!this.audioCodecSwap}seekToStartPos(){const{media:t}=this;if(!t)return;const n=t.currentTime;let s=this.startPosition;if(s>=0&&n0&&(X{const{hls:m}=this,E=s==null?void 0:s.frag;if(!E||this.fragContextChanged(E))return;n.fragmentError=0,this.state=Jt.IDLE,this.startFragRequested=!1,this.bitrateTest=!1;const I=E.stats;I.parsing.start=I.parsing.end=I.buffering.start=I.buffering.end=self.performance.now(),m.trigger(o.FRAG_LOADED,s),E.bitrateTest=!1})}_handleTransmuxComplete(t){var n;const s=this.playlistType,{hls:m}=this,{remuxResult:E,chunkMeta:I}=t,z=this.getCurrentContext(I);if(!z){this.resetWhenMissingContext(I);return}const{frag:X,part:W,level:le}=z,{video:pe,text:Ee,id3:Oe,initSegment:Ue}=E,{details:ut}=le,lt=this.altAudio?void 0:E.audio;if(this.fragContextChanged(X)){this.fragmentTracker.removeFragment(X);return}if(this.state=Jt.PARSING,Ue){if(Ue!=null&&Ue.tracks){const Fr=X.initSegment||X;this._bufferInitSegment(le,Ue.tracks,Fr,I),m.trigger(o.FRAG_PARSING_INIT_SEGMENT,{frag:Fr,id:s,tracks:Ue.tracks})}const Nt=Ue.initPTS,pr=Ue.timescale,sr=this.initPTS[X.cc];if(r(Nt)&&(!sr||sr.baseTime!==Nt||sr.timescale!==pr)){const Fr=Ue.trackId;this.initPTS[X.cc]={baseTime:Nt,timescale:pr,trackId:Fr},m.trigger(o.INIT_PTS_FOUND,{frag:X,id:s,initPTS:Nt,timescale:pr,trackId:Fr})}}if(pe&&ut){lt&&pe.type==="audiovideo"&&this.logMuxedErr(X);const Nt=ut.fragments[X.sn-1-ut.startSN],pr=X.sn===ut.startSN,sr=!Nt||X.cc>Nt.cc;if(E.independent!==!1){const{startPTS:Fr,endPTS:Yr,startDTS:vn,endDTS:Wr}=pe;if(W)W.elementaryStreams[pe.type]={startPTS:Fr,endPTS:Yr,startDTS:vn,endDTS:Wr};else if(pe.firstKeyFrame&&pe.independent&&I.id===1&&!sr&&(this.couldBacktrack=!0),pe.dropped&&pe.independent){const an=this.getMainFwdBufferInfo(),fn=(an?an.end:this.getLoadPosition())+this.config.maxBufferHole,Gr=pe.firstKeyFramePTS?pe.firstKeyFramePTS:Fr;if(!pr&&fndf&&(X.gap=!0);X.setElementaryStreamInfo(pe.type,Fr,Yr,vn,Wr),this.backtrackFragment&&(this.backtrackFragment=X),this.bufferFragmentData(pe,X,W,I,pr||sr)}else if(pr||sr)X.gap=!0;else{this.backtrack(X);return}}if(lt){const{startPTS:Nt,endPTS:pr,startDTS:sr,endDTS:Fr}=lt;W&&(W.elementaryStreams[ie.AUDIO]={startPTS:Nt,endPTS:pr,startDTS:sr,endDTS:Fr}),X.setElementaryStreamInfo(ie.AUDIO,Nt,pr,sr,Fr),this.bufferFragmentData(lt,X,W,I)}if(ut&&Oe!=null&&(n=Oe.samples)!=null&&n.length){const Nt={id:s,frag:X,details:ut,samples:Oe.samples};m.trigger(o.FRAG_PARSING_METADATA,Nt)}if(ut&&Ee){const Nt={id:s,frag:X,details:ut,samples:Ee.samples};m.trigger(o.FRAG_PARSING_USERDATA,Nt)}}logMuxedErr(t){this.warn(`${Pe(t)?"Media":"Init"} segment with muxed audiovideo where only video expected: ${t.url}`)}_bufferInitSegment(t,n,s,m){if(this.state!==Jt.PARSING)return;this.audioOnly=!!n.audio&&!n.video,this.altAudio&&!this.audioOnly&&(delete n.audio,n.audiovideo&&this.logMuxedErr(s));const{audio:E,video:I,audiovideo:z}=n;if(E){const W=t.audioCodec;let le=Fe(E.codec,W);le==="mp4a"&&(le="mp4a.40.5");const pe=navigator.userAgent.toLowerCase();if(this.audioCodecSwitch){le&&(le.indexOf("mp4a.40.5")!==-1?le="mp4a.40.2":le="mp4a.40.5");const Ee=E.metadata;Ee&&"channelCount"in Ee&&(Ee.channelCount||1)!==1&&pe.indexOf("firefox")===-1&&(le="mp4a.40.5")}le&&le.indexOf("mp4a.40.5")!==-1&&pe.indexOf("android")!==-1&&E.container!=="audio/mpeg"&&(le="mp4a.40.2",this.log(`Android: force audio codec to ${le}`)),W&&W!==le&&this.log(`Swapping manifest audio codec "${W}" for "${le}"`),E.levelCodec=le,E.id=u.MAIN,this.log(`Init audio buffer, container:${E.container}, codecs[selected/level/parsed]=[${le||""}/${W||""}/${E.codec}]`),delete n.audiovideo}if(I){I.levelCodec=t.videoCodec,I.id=u.MAIN;const W=I.codec;if((W==null?void 0:W.length)===4)switch(W){case"hvc1":case"hev1":I.codec="hvc1.1.6.L120.90";break;case"av01":I.codec="av01.0.04M.08";break;case"avc1":I.codec="avc1.42e01e";break}this.log(`Init video buffer, container:${I.container}, codecs[level/parsed]=[${t.videoCodec||""}/${W}]${I.codec!==W?" parsed-corrected="+I.codec:""}${I.supplemental?" supplemental="+I.supplemental:""}`),delete n.audiovideo}z&&(this.log(`Init audiovideo buffer, container:${z.container}, codecs[level/parsed]=[${t.codecs}/${z.codec}]`),delete n.video,delete n.audio);const X=Object.keys(n);if(X.length){if(this.hls.trigger(o.BUFFER_CODECS,n),!this.hls)return;X.forEach(W=>{const pe=n[W].initSegment;pe!=null&&pe.byteLength&&this.hls.trigger(o.BUFFER_APPENDING,{type:W,data:pe,frag:s,part:null,chunkMeta:m,parent:s.type})})}this.tickImmediate()}getMainFwdBufferInfo(){const t=this.mediaBuffer&&this.altAudio===2?this.mediaBuffer:this.media;return this.getFwdBufferInfo(t,u.MAIN)}get maxBufferLength(){const{levels:t,level:n}=this,s=t==null?void 0:t[n];return s?this.getMaxBufferLength(s.maxBitrate):this.config.maxBufferLength}backtrack(t){this.couldBacktrack=!0,this.backtrackFragment=t,this.resetTransmuxer(),this.flushBufferGap(t),this.fragmentTracker.removeFragment(t),this.fragPrevious=null,this.nextLoadPosition=t.start,this.state=Jt.IDLE}checkFragmentChanged(){const t=this.media;let n=null;if(t&&t.readyState>1&&t.seeking===!1){const s=t.currentTime;if(Jn.isBuffered(t,s)?n=this.getAppendedFrag(s):Jn.isBuffered(t,s+.1)&&(n=this.getAppendedFrag(s+.1)),n){this.backtrackFragment=null;const m=this.fragPlaying,E=n.level;(!m||n.sn!==m.sn||m.level!==E)&&(this.fragPlaying=n,this.hls.trigger(o.FRAG_CHANGED,{frag:n}),(!m||m.level!==E)&&this.hls.trigger(o.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(),m=this.currentFrag||(s?An(null,s.fragments,n):null);if(m){const E=m.programDateTime;if(E!==null){const I=E+(n-m.start)*1e3;return new Date(I)}}}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 Va{constructor(t){this.config=void 0,this.keyUriToKeyInfo={},this.emeController=null,this.config=t}abort(t){for(const s in this.keyUriToKeyInfo){const m=this.keyUriToKeyInfo[s].loader;if(m){var n;if(t&&t!==((n=m.context)==null?void 0:n.frag.type))return;m.abort()}}}detach(){for(const t in this.keyUriToKeyInfo){const n=this.keyUriToKeyInfo[t];(n.mediaKeySessionContext||n.decryptdata.isCommonEncryption)&&delete this.keyUriToKeyInfo[t]}}destroy(){this.detach();for(const t in this.keyUriToKeyInfo){const n=this.keyUriToKeyInfo[t].loader;n&&n.destroy()}this.keyUriToKeyInfo={}}createKeyLoadError(t,n=f.KEY_LOAD_ERROR,s,m,E){return new wa({type:c.NETWORK_ERROR,details:n,fatal:!1,frag:t,response:E,error:s,networkDetails:m})}loadClear(t,n,s){if(this.emeController&&this.config.emeEnabled&&!this.emeController.getSelectedKeySystemFormats().length){if(n.length)for(let m=0,E=n.length;m{if(!this.emeController)return;I.setKeyFormat(z);const X=Ao(z);if(X)return this.emeController.getKeySystemAccess([X])})}if(this.config.requireKeySystemAccessOnStart){const m=Lo(this.config);if(m.length)return this.emeController.getKeySystemAccess(m)}}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,m;n&&t.setKeyFormat(n);const E=t.decryptdata;if(!E){const W=new Error(n?`Expected frag.decryptdata to be defined after setting format ${n}`:"Missing decryption data on fragment in onKeyLoading");return Promise.reject(this.createKeyLoadError(t,f.KEY_LOAD_ERROR,W))}const I=E.uri;if(!I)return Promise.reject(this.createKeyLoadError(t,f.KEY_LOAD_ERROR,new Error(`Invalid key URI: "${I}"`)));let z=this.keyUriToKeyInfo[I];if((s=z)!=null&&s.decryptdata.key)return E.key=z.decryptdata.key,Promise.resolve({frag:t,keyInfo:z});if((m=z)!=null&&m.keyLoadPromise){var X;switch((X=z.mediaKeySessionContext)==null?void 0:X.keyStatus){case void 0:case"status-pending":case"usable":case"usable-in-future":return z.keyLoadPromise.then(W=>(E.key=W.keyInfo.decryptdata.key,{frag:t,keyInfo:z}))}}switch(z=this.keyUriToKeyInfo[I]={decryptdata:E,keyLoadPromise:null,loader:null,mediaKeySessionContext:null},E.method){case"ISO-23001-7":case"SAMPLE-AES":case"SAMPLE-AES-CENC":case"SAMPLE-AES-CTR":return E.keyFormat==="identity"?this.loadKeyHTTP(z,t):this.loadKeyEME(z,t);case"AES-128":case"AES-256":case"AES-256-CTR":return this.loadKeyHTTP(z,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 m=this.emeController.loadKey(s);if(m)return(t.keyLoadPromise=m.then(E=>(t.mediaKeySessionContext=E,s))).catch(E=>{throw t.keyLoadPromise=null,E})}return Promise.resolve(s)}loadKeyHTTP(t,n){const s=this.config,m=s.loader,E=new m(s);return n.keyLoader=t.loader=E,t.keyLoadPromise=new Promise((I,z)=>{const X={keyInfo:t,frag:n,responseType:"arraybuffer",url:t.decryptdata.uri},W=s.keyLoadPolicy.default,le={loadPolicy:W,timeout:W.maxLoadTimeMs,maxRetry:0,retryDelay:0,maxRetryDelay:0},pe={onSuccess:(Ee,Oe,Ue,ut)=>{const{frag:lt,keyInfo:Nt,url:pr}=Ue;if(!lt.decryptdata||Nt!==this.keyUriToKeyInfo[pr])return z(this.createKeyLoadError(lt,f.KEY_LOAD_ERROR,new Error("after key load, decryptdata unset or changed"),ut));Nt.decryptdata.key=lt.decryptdata.key=new Uint8Array(Ee.data),lt.keyLoader=null,Nt.loader=null,I({frag:lt,keyInfo:Nt})},onError:(Ee,Oe,Ue,ut)=>{this.resetLoader(Oe),z(this.createKeyLoadError(n,f.KEY_LOAD_ERROR,new Error(`HTTP Error ${Ee.code} loading key ${Ee.text}`),Ue,b({url:X.url,data:void 0},Ee)))},onTimeout:(Ee,Oe,Ue)=>{this.resetLoader(Oe),z(this.createKeyLoadError(n,f.KEY_LOAD_TIMEOUT,new Error("key loading timed out"),Ue))},onAbort:(Ee,Oe,Ue)=>{this.resetLoader(Oe),z(this.createKeyLoadError(n,f.INTERNAL_ABORTED,new Error("key loading aborted"),Ue))}};E.load(X,le,pe)})}resetLoader(t){const{frag:n,keyInfo:s,url:m}=t,E=s.loader;n.keyLoader===E&&(n.keyLoader=null,s.loader=null),delete this.keyUriToKeyInfo[m],E&&E.destroy()}}function Gi(O){const{type:t}=O;switch(t){case h.AUDIO_TRACK:return u.AUDIO;case h.SUBTITLE_TRACK:return u.SUBTITLE;default:return u.MAIN}}function ja(O,t){let n=O.url;return(n===void 0||n.indexOf("data:")===0)&&(n=t.url),n}class ms{constructor(t){this.hls=void 0,this.loaders=Object.create(null),this.variableList=null,this.onManifestLoaded=this.checkAutostartLoad,this.hls=t,this.registerListeners()}startLoad(t){}stopLoad(){this.destroyInternalLoaders()}registerListeners(){const{hls:t}=this;t.on(o.MANIFEST_LOADING,this.onManifestLoading,this),t.on(o.LEVEL_LOADING,this.onLevelLoading,this),t.on(o.AUDIO_TRACK_LOADING,this.onAudioTrackLoading,this),t.on(o.SUBTITLE_TRACK_LOADING,this.onSubtitleTrackLoading,this),t.on(o.LEVELS_UPDATED,this.onLevelsUpdated,this)}unregisterListeners(){const{hls:t}=this;t.off(o.MANIFEST_LOADING,this.onManifestLoading,this),t.off(o.LEVEL_LOADING,this.onLevelLoading,this),t.off(o.AUDIO_TRACK_LOADING,this.onAudioTrackLoading,this),t.off(o.SUBTITLE_TRACK_LOADING,this.onSubtitleTrackLoading,this),t.off(o.LEVELS_UPDATED,this.onLevelsUpdated,this)}createInternalLoader(t){const n=this.hls.config,s=n.pLoader,m=n.loader,E=s||m,I=new E(n);return this.loaders[t.type]=I,I}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:m,pathwayId:E,url:I,deliveryDirectives:z,levelInfo:X}=n;this.load({id:s,level:m,pathwayId:E,responseType:"text",type:h.LEVEL,url:I,deliveryDirectives:z,levelOrTrack:X})}onAudioTrackLoading(t,n){const{id:s,groupId:m,url:E,deliveryDirectives:I,track:z}=n;this.load({id:s,groupId:m,level:null,responseType:"text",type:h.AUDIO_TRACK,url:E,deliveryDirectives:I,levelOrTrack:z})}onSubtitleTrackLoading(t,n){const{id:s,groupId:m,url:E,deliveryDirectives:I,track:z}=n;this.load({id:s,groupId:m,level:null,responseType:"text",type:h.SUBTITLE_TRACK,url:E,deliveryDirectives:I,levelOrTrack:z})}onLevelsUpdated(t,n){const s=this.loaders[h.LEVEL];if(s){const m=s.context;m&&!n.levels.some(E=>E===m.levelOrTrack)&&(s.abort(),delete this.loaders[h.LEVEL])}}load(t){var n;const s=this.hls.config;let m=this.getInternalLoader(t);if(m){const W=this.hls.logger,le=m.context;if(le&&le.levelOrTrack===t.levelOrTrack&&(le.url===t.url||le.deliveryDirectives&&!t.deliveryDirectives)){le.url===t.url?W.log(`[playlist-loader]: ignore ${t.url} ongoing request`):W.log(`[playlist-loader]: ignore ${t.url} in favor of ${le.url}`);return}W.log(`[playlist-loader]: aborting previous loader for type: ${t.type}`),m.abort()}let E;if(t.type===h.MANIFEST?E=s.manifestLoadPolicy.default:E=y({},s.playlistLoadPolicy.default,{timeoutRetry:null,errorRetry:null}),m=this.createInternalLoader(t),r((n=t.deliveryDirectives)==null?void 0:n.part)){let W;if(t.type===h.LEVEL&&t.level!==null?W=this.hls.levels[t.level].details:t.type===h.AUDIO_TRACK&&t.id!==null?W=this.hls.audioTracks[t.id].details:t.type===h.SUBTITLE_TRACK&&t.id!==null&&(W=this.hls.subtitleTracks[t.id].details),W){const le=W.partTarget,pe=W.targetduration;if(le&&pe){const Ee=Math.max(le*3,pe*.8)*1e3;E=y({},E,{maxTimeToFirstByteMs:Math.min(Ee,E.maxTimeToFirstByteMs),maxLoadTimeMs:Math.min(Ee,E.maxTimeToFirstByteMs)})}}}const I=E.errorRetry||E.timeoutRetry||{},z={loadPolicy:E,timeout:E.maxLoadTimeMs,maxRetry:I.maxNumRetry||0,retryDelay:I.retryDelayMs||0,maxRetryDelay:I.maxRetryDelayMs||0},X={onSuccess:(W,le,pe,Ee)=>{const Oe=this.getInternalLoader(pe);this.resetInternalLoader(pe.type);const Ue=W.data;if(Ue.indexOf("#EXTM3U")!==0){this.handleManifestParsingError(W,pe,new Error("no EXTM3U delimiter"),Ee||null,le);return}le.parsing.start=performance.now(),Mo.isMediaPlaylist(Ue)||pe.type!==h.MANIFEST?this.handleTrackOrLevelPlaylist(W,le,pe,Ee||null,Oe):this.handleMasterPlaylist(W,le,pe,Ee)},onError:(W,le,pe,Ee)=>{this.handleNetworkError(le,pe,!1,W,Ee)},onTimeout:(W,le,pe)=>{this.handleNetworkError(le,pe,!0,void 0,W)}};m.load(t,z,X)}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,m){const E=this.hls,I=t.data,z=ja(t,s),X=Mo.parseMasterPlaylist(I,z);if(X.playlistParsingError){this.handleManifestParsingError(t,s,X.playlistParsingError,m,n);return}const{contentSteering:W,levels:le,sessionData:pe,sessionKeys:Ee,startTimeOffset:Oe,variableList:Ue}=X;this.variableList=Ue;const{AUDIO:ut=[],SUBTITLES:lt,"CLOSED-CAPTIONS":Nt}=Mo.parseMasterPlaylistMedia(I,z,X);ut.length&&!ut.some(sr=>!sr.url)&&le[0].audioCodec&&!le[0].attrs.AUDIO&&(this.hls.logger.log("[playlist-loader]: audio codec signaled in quality level, but no embedded audio track signaled, create one"),ut.unshift({type:"main",name:"main",groupId:"main",default:!1,autoselect:!1,forced:!1,id:-1,attrs:new va({}),bitrate:0,url:""})),E.trigger(o.MANIFEST_LOADED,{levels:le,audioTracks:ut,subtitles:lt,captions:Nt,contentSteering:W,url:z,stats:n,networkDetails:m,sessionData:pe,sessionKeys:Ee,startTimeOffset:Oe,variableList:Ue})}handleTrackOrLevelPlaylist(t,n,s,m,E){const I=this.hls,{id:z,level:X,type:W}=s,le=ja(t,s),pe=r(X)?X:r(z)?z:0,Ee=Gi(s),Oe=Mo.parseLevelPlaylist(t.data,le,pe,Ee,0,this.variableList);if(W===h.MANIFEST){const Ue={attrs:new va({}),bitrate:0,details:Oe,name:"",url:le};Oe.requestScheduled=n.loading.start+Hn(Oe,0),I.trigger(o.MANIFEST_LOADED,{levels:[Ue],audioTracks:[],url:le,stats:n,networkDetails:m,sessionData:null,sessionKeys:null,contentSteering:null,startTimeOffset:null,variableList:null})}n.parsing.end=performance.now(),s.levelDetails=Oe,this.handlePlaylistLoaded(Oe,t,n,s,m,E)}handleManifestParsingError(t,n,s,m,E){this.hls.trigger(o.ERROR,{type:c.NETWORK_ERROR,details:f.MANIFEST_PARSING_ERROR,fatal:n.type===h.MANIFEST,url:t.url,err:s,error:s,reason:s.message,response:t,context:n,networkDetails:m,stats:E})}handleNetworkError(t,n,s=!1,m,E){let I=`A network ${s?"timeout":"error"+(m?" (status "+m.code+")":"")} occurred while loading ${t.type}`;t.type===h.LEVEL?I+=`: ${t.level} id: ${t.id}`:(t.type===h.AUDIO_TRACK||t.type===h.SUBTITLE_TRACK)&&(I+=` id: ${t.id} group-id: "${t.groupId}"`);const z=new Error(I);this.hls.logger.warn(`[playlist-loader]: ${I}`);let X=f.UNKNOWN,W=!1;const le=this.getInternalLoader(t);switch(t.type){case h.MANIFEST:X=s?f.MANIFEST_LOAD_TIMEOUT:f.MANIFEST_LOAD_ERROR,W=!0;break;case h.LEVEL:X=s?f.LEVEL_LOAD_TIMEOUT:f.LEVEL_LOAD_ERROR,W=!1;break;case h.AUDIO_TRACK:X=s?f.AUDIO_TRACK_LOAD_TIMEOUT:f.AUDIO_TRACK_LOAD_ERROR,W=!1;break;case h.SUBTITLE_TRACK:X=s?f.SUBTITLE_TRACK_LOAD_TIMEOUT:f.SUBTITLE_LOAD_ERROR,W=!1;break}le&&this.resetInternalLoader(t.type);const pe={type:c.NETWORK_ERROR,details:X,fatal:W,url:t.url,loader:le,context:t,error:z,networkDetails:n,stats:E};if(m){const Ee=(n==null?void 0:n.url)||t.url;pe.response=b({url:Ee,data:void 0},m)}this.hls.trigger(o.ERROR,pe)}handlePlaylistLoaded(t,n,s,m,E,I){const z=this.hls,{type:X,level:W,id:le,groupId:pe,deliveryDirectives:Ee}=m,Oe=ja(n,m),Ue=Gi(m),ut=typeof m.level=="number"&&Ue===u.MAIN?W:void 0;if(!t.fragments.length){const Nt=t.playlistParsingError=new Error("No Segments found in Playlist");z.trigger(o.ERROR,{type:c.NETWORK_ERROR,details:f.LEVEL_EMPTY_ERROR,fatal:!1,url:Oe,error:Nt,reason:Nt.message,response:n,context:m,level:ut,parent:Ue,networkDetails:E,stats:s});return}t.targetduration||(t.playlistParsingError=new Error("Missing Target Duration"));const lt=t.playlistParsingError;if(lt){if(this.hls.logger.warn(`${lt} ${t.url}`),!z.config.ignorePlaylistParsingErrors){z.trigger(o.ERROR,{type:c.NETWORK_ERROR,details:f.LEVEL_PARSING_ERROR,fatal:!1,url:Oe,error:lt,reason:lt.message,response:n,context:m,level:ut,parent:Ue,networkDetails:E,stats:s});return}t.playlistParsingError=null}switch(t.live&&I&&(I.getCacheAge&&(t.ageHeader=I.getCacheAge()||0),(!I.getCacheAge||isNaN(t.ageHeader))&&(t.ageHeader=0)),X){case h.MANIFEST:case h.LEVEL:z.trigger(o.LEVEL_LOADED,{details:t,levelInfo:m.levelOrTrack||z.levels[0],level:ut||0,id:le||0,stats:s,networkDetails:E,deliveryDirectives:Ee,withoutMultiVariant:X===h.MANIFEST});break;case h.AUDIO_TRACK:z.trigger(o.AUDIO_TRACK_LOADED,{details:t,track:m.levelOrTrack,id:le||0,groupId:pe||"",stats:s,networkDetails:E,deliveryDirectives:Ee});break;case h.SUBTITLE_TRACK:z.trigger(o.SUBTITLE_TRACK_LOADED,{details:t,track:m.levelOrTrack,id:le||0,groupId:pe||"",stats:s,networkDetails:E,deliveryDirectives:Ee});break}}}class Ma{static get version(){return Fa}static isMSESupported(){return en()}static isSupported(){return $r()}static getMediaSource(){return ae()}static get Events(){return o}static get MetadataSchema(){return _s}static get ErrorTypes(){return c}static get ErrorDetails(){return f}static get DefaultConfig(){return Ma.defaultConfig?Ma.defaultConfig:Wf}static set DefaultConfig(t){Ma.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 Ms,this._autoLevelCapping=-1,this._maxHdcpLevel=null,this.abrController=void 0,this.bufferController=void 0,this.capLevelController=void 0,this.latencyController=void 0,this.levelController=void 0,this.streamController=void 0,this.audioStreamController=void 0,this.subtititleStreamController=void 0,this.audioTrackController=void 0,this.subtitleTrackController=void 0,this.interstitialsController=void 0,this.gapController=void 0,this.emeController=void 0,this.cmcdController=void 0,this._media=null,this._url=null,this._sessionId=void 0,this.triggeringException=void 0,this.started=!1;const n=this.logger=G(t.debug||!1,"Hls instance",t.assetPlayerId),s=this.config=ad(Ma.DefaultConfig,t,n);this.userConfig=t,s.progressive&&sd(s,n);const{abrController:m,bufferController:E,capLevelController:I,errorController:z,fpsController:X}=s,W=new z(this),le=this.abrController=new m(this),pe=new kr(this),Ee=s.interstitialsController,Oe=Ee?this.interstitialsController=new Ee(this,Ma):null,Ue=this.bufferController=new E(this,pe),ut=this.capLevelController=new I(this),lt=new X(this),Nt=new ms(this),pr=s.contentSteeringController,sr=pr?new pr(this):null,Fr=this.levelController=new ca(this,sr),Yr=new $a(this),vn=new Va(this.config),Wr=this.streamController=new Un(this,pe,vn),an=this.gapController=new ve(this,pe);ut.setStreamController(Wr),lt.setStreamController(Wr);const fn=[Nt,Fr,Wr];Oe&&fn.splice(1,0,Oe),sr&&fn.splice(1,0,sr),this.networkControllers=fn;const Gr=[le,Ue,an,ut,lt,Yr,pe];this.audioTrackController=this.createController(s.audioTrackController,fn);const Sn=s.audioStreamController;Sn&&fn.push(this.audioStreamController=new Sn(this,pe,vn)),this.subtitleTrackController=this.createController(s.subtitleTrackController,fn);const yi=s.subtitleStreamController;yi&&fn.push(this.subtititleStreamController=new yi(this,pe,vn)),this.createController(s.timelineController,Gr),vn.emeController=this.emeController=this.createController(s.emeController,Gr),this.cmcdController=this.createController(s.cmcdController,Gr),this.latencyController=this.createController(Qn,Gr),this.coreComponents=Gr,fn.push(W);const Ji=W.onErrorOut;typeof Ji=="function"&&this.on(o.ERROR,Ji,W),this.on(o.MANIFEST_LOADED,Nt.onManifestLoaded,Nt)}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,m){this._emitter.off(t,n,s,m)}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 m=t===o.ERROR;this.trigger(o.ERROR,{type:c.OTHER_ERROR,details:f.INTERNAL_EXCEPTION,fatal:m,event:t,error:s}),this.triggeringException=!1}}return!1}listenerCount(t){return this._emitter.listenerCount(t)}destroy(){this.logger.log("destroy"),this.trigger(o.DESTROYING,void 0),this.detachMedia(),this.removeAllListeners(),this._autoLevelCapping=-1,this._url=null,this.networkControllers.forEach(n=>n.destroy()),this.networkControllers.length=0,this.coreComponents.forEach(n=>n.destroy()),this.coreComponents.length=0;const t=this.config;t.xhrSetup=t.fetchSetup=void 0,this.userConfig=null}attachMedia(t){if(!t||"media"in t&&!t.media){const E=new Error(`attachMedia failed: invalid argument (${t})`);this.trigger(o.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,m=n?t:{media:s};this._media=s,this.trigger(o.MEDIA_ATTACHING,m)}detachMedia(){this.logger.log("detachMedia"),this.trigger(o.MEDIA_DETACHING,{}),this._media=null}transferMedia(){this._media=null;const t=this.bufferController.transferMedia();return this.trigger(o.MEDIA_DETACHING,{transferMedia:t}),t}loadSource(t){this.stopLoad();const n=this.media,s=this._url,m=this._url=U.buildAbsoluteURL(self.location.href,t,{alwaysNormalize:!0});this._autoLevelCapping=-1,this._maxHdcpLevel=null,this.logger.log(`loadSource:${m}`),n&&s&&(s!==m||this.bufferController.hasSourceTypes())&&(this.detachMedia(),this.attachMedia(n)),this.trigger(o.MANIFEST_LOADING,{url:t})}get url(){return this._url}get hasEnoughToStart(){return this.streamController.hasEnoughToStart}get startPosition(){return this.streamController.startPositionValue}startLoad(t=-1,n){this.logger.log(`startLoad(${t+(n?", ":"")})`),this.started=!0,this.resumeBuffering();for(let s=0;s{t.resumeBuffering&&t.resumeBuffering()}))}pauseBuffering(){this.bufferingEnabled&&(this.logger.log("pause buffering"),this.networkControllers.forEach(t=>{t.pauseBuffering&&t.pauseBuffering()}))}get inFlightFragments(){const t={[u.MAIN]:this.streamController.inFlightFrag};return this.audioStreamController&&(t[u.AUDIO]=this.audioStreamController.inFlightFrag),this.subtititleStreamController&&(t[u.SUBTITLE]=this.subtititleStreamController.inFlightFrag),t}swapAudioCodec(){this.logger.log("swapAudioCodec"),this.streamController.swapAudioCodec()}recoverMediaError(){this.logger.log("recoverMediaError");const t=this._media,n=t==null?void 0:t.currentTime;this.detachMedia(),t&&(this.attachMedia(t),n&&this.startLoad(n))}removeLevel(t){this.levelController.removeLevel(t)}get sessionId(){let t=this._sessionId;return t||(t=this._sessionId=Ef()),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){Cr(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 m=0;m=n)return m;return 0}get maxAutoLevel(){const{levels:t,autoLevelCapping:n,maxHdcpLevel:s}=this;let m;if(n===-1&&t!=null&&t.length?m=t.length-1:m=n,s)for(let E=m;E--;){const I=t[E].attrs["HDCP-LEVEL"];if(I&&I<=s)return E}return m}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=bi(n);return cn(t,s,navigator.mediaCapabilities)}}Ma.defaultConfig=void 0},53280:function(d,v,e){"use strict";e.d(v,{D:function(){return i}});function r(l,c,f){var o=f||{},h=o.noTrailing,u=h===void 0?!1:h,a=o.noLeading,x=a===void 0?!1:a,p=o.debounceMode,y=p===void 0?void 0:p,_,b=!1,S=0;function k(){_&&clearTimeout(_)}function R(P){var M=P||{},B=M.upcomingOnly,N=B===void 0?!1:B;k(),b=!N}function A(){for(var P=arguments.length,M=new Array(P),B=0;Bl?x?(S=Date.now(),u||(_=setTimeout(y?H:G,l))):G():u!==!0&&(_=setTimeout(y?H:G,y===void 0?l-K:l))}return A.cancel=R,A}function i(l,c,f){var o=f||{},h=o.atBegin,u=h===void 0?!1:h;return r(l,c,{debounceMode:u!==!1})}}},__webpack_module_cache__={};function __webpack_require__(d){var v=__webpack_module_cache__[d];if(v!==void 0)return v.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 v=d&&d.__esModule?function(){return d.default}:function(){return d};return __webpack_require__.d(v,{a:v}),v}}(),function(){var d=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},v;__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={};v=v||[null,d({}),d([]),d(d)];for(var c=r&2&&e;typeof c=="object"&&!~v.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,v){for(var e in v)__webpack_require__.o(v,e)&&!__webpack_require__.o(d,e)&&Object.defineProperty(d,e,{enumerable:!0,get:v[e]})}}(),function(){__webpack_require__.f={},__webpack_require__.e=function(d){return Promise.all(Object.keys(__webpack_require__.f).reduce(function(v,e){return __webpack_require__.f[e](d,v),v},[]))}}(),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",195:"p__Classrooms__Lists__GroupHomework__Detail__index",264:"p__User__Detail__Order__pages__orderPay__index",265:"p__User__Detail__Topics__index",292:"p__Classrooms__Lists__Exercise__Add__index",310:"p__User__Detail__ExperImentImg__Detail__index",337:"p__Paperlibrary__Random__PreviewEdit__index",342:"p__Classrooms__Lists__ShixunHomeworks__Comment__index",479:"p__Classrooms__Lists__GroupHomework__EditWork__index",485:"p__Question__AddOrEdit__BatchAdd__index",508:"p__Forums__Detail__id",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",672:"p__Home__Detail__ShixunContext__Detail__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",869:"p__Guidance__index",895:"p__Classrooms__Lists__Video__Items__videoInfo__index",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",1148:"p__Shixuns__Detail__Repository__UploadFile__index",1211:"p__Classrooms__Lists__CommonHomework__EditWork__index",1253:"p__Graduations__Lists__Gradingsummary__index",1257:"p__Classrooms__Lists__ResourceRecommend__index",1265:"p__Classrooms__Lists__Announcement__index",1276:"p__MoopCases__Success__index",1343:"p__User__Detail__ResourceAllocation__index",1344:"p__Hami__index",1416:"p__User__Detail__AccountInfo__CareerCertification__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",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",1657:"p__Shixuns__Edit__body__Level__Challenges__EditQuestion__index",1660:"p__User__QQLogin__index",1674:"p__Classrooms__ClassicCases__index",1702:"p__Classrooms__New__index",1713:"p__virtualSpaces__Lists__Settings__index",1717:"layouts__index",1727:"p__Classrooms__Lists__CourseGroup__NotList__index",1783:"p__virtualSpaces__Lists__Experiment__index",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",1939:"p__User__Detail__Order__index",1953:"p__Problemset__NewItem__index",1962:"p__Classrooms__Lists__Engineering__index",2045:"p__Engineering__Lists__TeacherList__index",2076:"p__User__Detail__Competitions__index",2102:"p__Classrooms__Lists__Board__Edit__index",2141:"p__Shixuns__Detail__Split__index",2216:"p__DataSet__Index__index",2240:"p__User__Detail__Videos__Upload__index",2254:"p__Shixuns__Detail__Discuss__index",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",2529:"p__User__Detail__id",2539:"p__Graduations__Review__index",2548:"p__Engineering__Norm__Detail__index",2570:"p__Competitions__Detail__index",2603:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Add__index",2659:"p__User__Detail__UserPortrait__index",2707:"p__Innovation__MyDataSet__index",2806:"p__User__Detail__Topics__Exercise__Detail__index",2819:"p__Classrooms__Lists__Template__detail__index",2823:"p__Engineering__Navigation__Home__index",2826:"p__User__Detail__DataSet__index",2829:"p__Messages__Private__index",2865:"p__Innovation__MyMirror__index",2875:"p__Shixuns__Detail__id",2884:"p__Classrooms__Lists__ProgramHomework__Comment__index",2983:"p__Forums__Index__index",3006:"p__Engineering__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",3282:"layouts__ShixunDetail__index",3317:"p__Classrooms__Lists__Graduation__Topics__Add__index",3332:"p__Paths__Detail__id",3355:"p__Classrooms__Lists__Polls__index",3356:"p__Classrooms__Lists__Assistant__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",3496:"p__User__Detail__OtherResources__index",3509:"p__HttpStatus__SixActivities",3581:"p__Classrooms__Lists__ShixunHomeworks__Detail__index",3585:"p__Classrooms__Lists__Statistics__StudentSituation__index",3665:"p__tasks__index",3668:"p__Classrooms__Lists__CommonHomework__Detail__index",3747:"p__virtualSpaces__Lists__Homepage__index",3784:"p__Paperlibrary__Random__Detail__index",3862:"p__HttpStatus__403",3873:"p__virtualSpaces__Lists__Lesson__index",3910:"p__HttpStatus__introduction",3935:"p__Classrooms__Lists__GroupHomework__index",3951:"p__Classrooms__Lists__ProgramHomework__Detail__index",4017:"p__Classrooms__Lists__PlaceholderPage__index",4030:"p__Classrooms__Lists__ProgramHomework__AddAndEdit__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",4449:"p__Competitions__Exports__index",4492:"p__Graduations__Lists__StudentSelection__index",4495:"p__Account__Resource__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",4601:"p__Paths__Detail__Statistics__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",4849:"p__User__Detail__ExperImentImg__index",4862:"p__Paperlibrary__index",4884:"p__Shixuns__Detail__Repository__Commit__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",5125:"p__Classrooms__Lists__Exercise__DetailedAnalysis__index",5148:"p__Classrooms__Lists__Polls__Answer__index",5176:"p__User__Detail__Videos__Protocol__index",5179:"p__Administration__Student__Edit__index",5186:"p__Classrooms__Overview__index",5191:"p__User__Detail__Certificate__index",5238:"p__virtualSpaces__Lists__Material__index",5297:"p__Classrooms__Lists__Exercise__Detail__components__DuplicateChecking__CheckDetail__index",5319:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Detail__index",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",5470:"p__Shixuns__Detail__Collaborators__index",5518:"p__Classrooms__Lists__Template__index",5549:"p__Shixuns__New__CreateImg__index",5572:"p__Paths__HigherVocationalEducation__index",5573:"p__Shixuns__Detail__Merge__index",5599:"p__User__Detail__Paths__index",5624:"p__Graduations__Lists__Index__index",5650:"p__Competitions__Update__index",5705:"p__virtualSpaces__Lists__Construction__index",5729:"p__Help__Index",5775:"p__Engineering__Lists__Document__index",5786:"layouts__LoginAndRegister__index",5798:"p__Classrooms__Lists__Video__Statistics__UserDetail__index",5816:"p__Paperlibrary__Random__Edit__index",5825:"p__Classrooms__Lists__Exercise__index",5888:"p__Classrooms__Lists__CommonHomework__Add__index",5891:"p__virtualSpaces__Lists__Resources__index",5895:"p__User__Detail__AccountInfo__Profile__Edit__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",6052:"p__Paths__Index__index",6063:"p__Graduations__Lists__Personmanage__index",6069:"p__virtualSpaces__Lists__Lesson__Detail__index",6127:"p__Classrooms__Lists__ProgramHomework__Ranking__index",6170:"p__HttpStatus__downloadStudent",6265:"p__virtualSpaces__Lists__Discussion__index",6270:"p__MyProblem__index",6277:"p__Shixuns__Edit__index",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",6452:"p__Innovation__PublicDataSet__index",6531:"p__HttpStatus__404",6541:"p__Shixuns__Detail__Dataset__index",6583:"p__User__Detail__Classrooms__index",6587:"p__User__Detail__Videos__Protocol__resource",6634:"p__Innovation__Tasks__index",6651:"p__Engineering__Evaluate__Detail__index",6685:"p__Classrooms__Index__index",6729:"p__Classrooms__Lists__GroupHomework__Edit__index",6741:"p__Engineering__Norm__List__index",6758:"p__Classrooms__Lists__Attachment__index",6784:"p__Innovation__Edit__index",6788:"p__Classrooms__Lists__ProgramHomework__index",6796:"p__virtualSpaces__Lists__Announcement__Detail__index",6805:"p__User__Detail__AccountInfo__RealNameCertification__index",6820:"p__User__Detail__Topics__Normal__index",6845:"p__Shixuns__Detail__Settings__index",6882:"p__Classrooms__New__StartClass__index",6883:"p__Competitions__Index__index",6904:"p__MoopCases__FormPanel__index",6913:"p__Question__AddOrEdit__index",6963:"p__Classrooms__Lists__Engineering__Detail__index",6982:"p__User__Detail__AccountInfo__Profile__index",7008:"p__Shixuns__New__index",7043:"p__User__Detail__Topics__Exercise__Edit__index",7045:"p__Classrooms__Lists__CommonHomework__SubmitWork__index",7046:"p__Shixuns__Detail__Repository__AddFile__index",7058:"p__virtualSpaces__Lists__Survey__Detail__index",7062:"layouts__SimpleLayouts",7178:"p__User__BindAccount__index",7182:"p__User__ResetPassword__index",7242:"p__Innovation__MyProject__index",7260:"p__Account__Certification__index",7333:"p__User__WechatLogin__index",7395:"p__Classrooms__Lists__Statistics__StudentDetail__index",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",7852:"p__Classrooms__Lists__ShixunHomeworks__index",7855:"p__User__Detail__ResourcesCenter__Detail__index",7857:"p__Shixuns__Edit__body__Level__Challenges__NewQuestion__index",7878:"p__Classrooms__Lists__LiveVideo__index",7883:"p__Classrooms__Lists__Exercise__WrongAnswer__index",7884:"p__Shixuns__Exports__index",7922:"p__Classrooms__Lists__CourseGroup__Detail__index",7948:"p__User__Detail__ClassManagement__index",8014:"p__Classrooms__Lists__Teachers__index",8062:"p__User__Detail__Topicbank__index",8072:"p__Classrooms__Lists__GroupHomework__SubmitWork__index",8077:"p__Classrooms__Lists__Students__index",8085:"p__Classrooms__Lists__Exercise__Review__index",8143:"layouts__GraduationsDetail__index",8155:"p__Shixuns__Overview__index",8237:"p__User__Detail__Order__pages__view__index",8241:"p__virtualSpaces__Lists__Plan__index",8302:"p__Classrooms__Lists__Board__index",8307:"p__User__Detail__Shixuns__index",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",8517:"p__User__Detail__Topics__Group__index",8563:"p__virtualSpaces__Lists__Discussion__Detail__index",8634:"p__Classrooms__Lists__CourseGroup__List__index",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",8782:"p__Shixuns__Index__index",8787:"p__Competitions__Entered__index",8797:"p__Competitions__Edit__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",8982:"p__Paths__New__index",8999:"p__Three__index",9076:"p__Account__Binding__index",9133:"p__Shixuns__Detail__Challenges__index",9205:"p__Shixuns__Edit__body__Level__Challenges__EditPracticeSetting__index",9215:"p__Shixuns__Detail__ForkList__index",9332:"p__Classrooms__Lists__Video__index",9360:"p__User__Detail__virtualSpaces__index",9366:"p__User__Login__index",9391:"p__Engineering__Lists__CurseSetting__index",9404:"monaco-editor",9408:"p__Shixuns__Detail__RankingList__index",9416:"p__Graduations__Lists__Tasks__index",9487:"p__LargeScreen__index",9489:"p__Engineering__Lists__CourseList__index",9507:"p__User__Detail__ResourceGuarantee__index",9519:"p__User__Detail__ClassManagement__Item__index",9590:"p__User__Detail__TeachGroup__index",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",9890:"p__Classrooms__Lists__CommonHomework__index",9891:"p__User__Detail__Videos__Success__index",9921:"p__Classrooms__ExamList__index",9922:"p__Classrooms__Lists__Statistics__StudentVideo__index",9944:"p__Classrooms__Lists__Video__Statistics__StudentDetail__index"}[d]||d)+"."+{26:"77b05949",67:"bb1d37d2",109:"f31fa3b2",195:"1947074a",264:"15abec88",265:"42ff7a03",292:"6d41cf22",310:"3baa3c1b",316:"1f60ada6",337:"35799946",342:"3454a425",354:"d4d139cf",479:"bbbecdff",485:"4f2fe9b0",508:"31fc7f6c",532:"e52bbb7d",533:"6acf4ec9",547:"e8b72cd0",556:"0bf50254",559:"133feaf4",570:"c33684df",576:"6384d70c",629:"44a1d9a5",643:"260f3bc5",671:"4a609b8d",672:"d4d23fc8",680:"facf4a8a",700:"ac08e4ef",737:"8ee24fb4",741:"ac5fd360",799:"2c1c14ee",869:"12ac8b14",895:"9226b825",921:"4e62e0cc",928:"e3aeb36d",981:"2191a42e",1006:"145daa24",1043:"5071ae62",1045:"19614059",1048:"542892b1",1070:"a02734fb",1144:"c90eccaf",1148:"3a0677a3",1154:"8cb80842",1211:"8f7b2cb1",1253:"816f8f83",1257:"ed38a265",1265:"86bf3d7a",1274:"5f6ea65a",1276:"88dabcba",1343:"7b7927aa",1344:"2ea86a19",1416:"fbe9b363",1423:"41512d57",1427:"5844fbb7",1450:"2bda2a06",1461:"4acfcd2a",1462:"fcf08abc",1470:"a932e843",1475:"a213cab7",1482:"5fbfa232",1512:"34f54884",1520:"53827d8c",1545:"4a837c8a",1555:"64c919dd",1578:"53a90f28",1581:"c055f88c",1582:"679edb53",1646:"e6e27b60",1657:"ccc23f77",1660:"f84f79b8",1674:"4300a145",1702:"7b45a019",1713:"84890043",1717:"21b2e261",1727:"412396fe",1783:"b289c875",1799:"5bcb69b9",1831:"146dd812",1836:"52c2ee13",1855:"94a447bd",1880:"62d7d522",1881:"b236f49a",1939:"10e034fa",1953:"76ac826e",1962:"13b9080f",2011:"59d51f98",2045:"ac0f8ed2",2076:"aa565607",2102:"669d1005",2141:"e8d91b8d",2216:"9c5d84ae",2240:"1f73e74c",2249:"f4830452",2254:"516f7b54",2300:"f77c7faa",2303:"83b305fd",2307:"2383d9eb",2338:"0c927fc9",2339:"1a764d99",2364:"f89faf70",2386:"192e235c",2396:"7ac26fa5",2404:"bbda3700",2412:"590a7d56",2425:"70737e39",2443:"beac6ce8",2476:"5a02c625",2494:"68080a87",2501:"eeb35268",2529:"44b4afe7",2538:"de4a3723",2539:"81a9c124",2548:"68aff200",2570:"516787ad",2594:"e87d3761",2603:"7c095397",2659:"4be0fdb0",2707:"8f7322f6",2806:"d8eab900",2819:"2aff48c9",2823:"577e5721",2826:"f0069339",2829:"fcf4cfad",2837:"54a82605",2865:"6fbc1322",2875:"f0ac6090",2884:"8b8c7773",2969:"ab3357d7",2983:"0062bd1a",3006:"da23520e",3133:"9bf3f89c",3141:"029ee6cd",3157:"75d5ded0",3183:"8c1a876c",3198:"8e655451",3212:"54e196ec",3220:"1ff6a993",3247:"95d6b94e",3260:"12c965eb",3276:"94de3143",3282:"0f97d050",3317:"881bb1f5",3332:"954c601d",3355:"e4e0a747",3356:"e42209eb",3391:"f6d53071",3433:"b42a0368",3442:"5c7583a3",3447:"78e993d8",3451:"034c5cef",3496:"c9cfb901",3509:"72acd816",3550:"3dc83156",3581:"49684ae8",3585:"227c148c",3665:"70e0c7a2",3668:"3cc2d69d",3697:"481a10d9",3747:"cc53c81d",3754:"2a754961",3777:"d5b0f2f1",3784:"0f7f8e6f",3805:"9dbcb95e",3862:"8be7610c",3873:"5e3444c9",3885:"f87f7f15",3910:"f05d04f2",3935:"23f5794f",3951:"c3820906",3987:"5cecd51b",4014:"27a8e97c",4017:"eb7a8c4f",4030:"8af3be95",4056:"32869e05",4058:"53d5c932",4078:"32c13081",4088:"236723f3",4093:"d8ecf663",4105:"af144ea5",4144:"88b98370",4164:"fe7a74fd",4216:"96957053",4217:"ba2a7962",4227:"b7b993a8",4259:"ad84a109",4264:"dc604639",4347:"ce21ef2e",4354:"140899b7",4360:"cf5efa52",4449:"6e833d43",4492:"7f24aa82",4495:"fe36c11e",4496:"14147e2a",4498:"eef66f86",4504:"778496dc",4514:"a8493370",4520:"8514ce4b",4546:"91b5ac1f",4553:"52b0f5f6",4565:"4a4bbd08",4572:"11a841b3",4599:"61def4cb",4601:"72effa04",4610:"60893b8c",4621:"aa90e21c",4628:"ece2c60c",4662:"8f38b4a9",4671:"d5009609",4685:"c33f1528",4715:"456659c1",4736:"b150de94",4741:"b1024cb8",4757:"d99979db",4766:"6aefd62d",4770:"46b5b65b",4790:"619413e4",4795:"68cb90e1",4797:"a24e92db",4800:"c6f8d0ec",4849:"1d7743dd",4850:"1edda4b7",4862:"009a8e82",4884:"197d1ec1",4889:"aedac9f0",4928:"5f713d6b",4973:"5028707d",4994:"0e5076dc",5022:"2b888e32",5028:"c7566c9a",5043:"c677c85e",5048:"9838652e",5060:"85dafcc6",5096:"29f3940d",5111:"7275f825",5125:"ea041e97",5148:"8cfcb426",5176:"d344e232",5179:"ba4164a0",5186:"ff9a06aa",5191:"ddc2d438",5238:"21f344e6",5290:"5dabcdc2",5297:"ff2a79c7",5319:"308008ee",5321:"1163c84e",5335:"266465da",5354:"7ae70604",5357:"554c8c43",5359:"ba9d59ac",5382:"9d28c789",5402:"08243abe",5416:"454536b7",5434:"38b302a6",5470:"05fbc8c5",5494:"d89549c4",5518:"adcd2669",5549:"134d7cc6",5572:"a58c5aaf",5573:"9fc1d744",5599:"969b5f9e",5624:"44f80ead",5631:"e00d3d36",5650:"c407cc48",5679:"4a090bef",5705:"af671053",5729:"64f03175",5764:"e0d7e586",5775:"9b9516eb",5786:"985dcf32",5798:"0da8aa17",5816:"9ad366a4",5825:"8966adb5",5876:"5eded409",5888:"1e19b71e",5891:"3e8603d4",5895:"9979986f",5902:"31a5e412",5915:"7683a718",5972:"389846b8",5992:"9599e41c",6029:"d7ec0ee2",6034:"4ec1de14",6045:"d268f87f",6047:"3ce45acd",6052:"94ec747f",6063:"396e14ab",6069:"da21d343",6126:"99519171",6127:"29fab549",6170:"2a7a348c",6200:"97a204c5",6265:"2ab492dd",6270:"77db1f37",6277:"6dc133d4",6316:"62c746ee",6328:"8e93fb40",6366:"83841eb7",6378:"7f3a946a",6411:"dd61567d",6434:"2a66058b",6444:"6a6067e9",6452:"29860504",6531:"9c174eba",6541:"ad70595e",6583:"fa1c5ade",6587:"2767b132",6634:"0737c16a",6651:"ce4fb278",6685:"4c6f7eb8",6729:"30c15020",6741:"4657404b",6758:"df4a81eb",6774:"59d4d618",6784:"66b4d539",6788:"0c512706",6796:"53774bef",6805:"c8bbe612",6820:"7b500952",6845:"4ab52f41",6882:"58e036a4",6883:"6cb80143",6904:"a710d75f",6913:"5e74d661",6963:"7fad4d96",6982:"ffa6dc39",7008:"994dac71",7043:"8218bf7b",7045:"f8510d4e",7046:"660d53a1",7058:"d950ed65",7062:"c191c81f",7084:"46ccce72",7121:"902ecbe9",7156:"e7466006",7178:"e8e98255",7182:"dd2dc9cf",7242:"7778e5e7",7260:"0ddf2b22",7331:"2e27a23b",7333:"33300fe2",7365:"1005464f",7395:"916963e7",7460:"b74fac2f",7477:"dc53b1c4",7482:"406d072d",7527:"da5932a8",7533:"fbf12be4",7545:"cbff207e",7556:"ae09a732",7560:"e4b22056",7589:"1681ceed",7591:"c8233ce9",7614:"d5a37884",7622:"1973fc68",7686:"4fcec9f9",7706:"c2a79e40",7806:"14156ddf",7852:"5bd3bfbb",7855:"56a46844",7857:"56a325f4",7878:"ffe79194",7883:"ca4c397e",7884:"bb306b18",7922:"85e73a01",7948:"be8daa9c",7964:"29aed9a1",7999:"8a41a45e",8014:"b785ea51",8062:"ea0e5083",8072:"8ac8b940",8077:"75930897",8085:"1f260111",8089:"d536b13a",8143:"1b7f0c6c",8155:"c47c3cf0",8161:"83c5fa9a",8237:"1cab47a4",8241:"70fda74e",8302:"cf14db41",8307:"89b34cc6",8340:"8679dde5",8350:"07df8a75",8365:"f6b83452",8398:"97d9e8f6",8431:"b09e3e8c",8435:"2f3b5544",8447:"e0529787",8517:"f27c6419",8561:"4339de84",8563:"81c5b03c",8634:"b91ab28e",8639:"374b258d",8665:"9a28866d",8688:"54b6b0be",8689:"42dffa9f",8723:"674e361a",8737:"ce7dad23",8776:"0ad26240",8782:"8fc73415",8787:"1e30c008",8797:"3dea5862",8823:"77f4d18f",8827:"9d641082",8842:"9f25a3e2",8866:"fe4f3a3e",8871:"690fa8cb",8882:"e2b94547",8885:"3791b69d",8898:"d002bcd8",8909:"880d45dd",8920:"7f82440c",8963:"790aecdd",8982:"0600f9b1",8999:"74575e3c",9076:"dc3da45e",9104:"bbcb2345",9133:"426c74f4",9205:"c0109c69",9215:"b6b8fcc3",9252:"0d791a59",9260:"cf5f8140",9332:"c7ad347c",9360:"3dfdf407",9366:"a2ba3392",9391:"b2c30714",9404:"9fcc3d3e",9408:"fd2d3bb5",9416:"619b4ff8",9487:"c3e9d6d1",9489:"8e824364",9507:"bc88d6e1",9519:"586122f3",9554:"ed358e7b",9559:"f794af19",9590:"89965d39",9647:"8fc3f74e",9649:"9a0c0646",9674:"8750b147",9677:"d08498c3",9695:"fd05e4e3",9715:"f23961bc",9716:"0bf9eb66",9785:"dcd257fd",9788:"0eebfa94",9890:"bde1ba2f",9891:"7b9b004e",9895:"b8e31ff2",9921:"1543a187",9922:"7c354a7d",9928:"5989f5e0",9944:"e244a999",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",195:"p__Classrooms__Lists__GroupHomework__Detail__index",264:"p__User__Detail__Order__pages__orderPay__index",265:"p__User__Detail__Topics__index",292:"p__Classrooms__Lists__Exercise__Add__index",310:"p__User__Detail__ExperImentImg__Detail__index",337:"p__Paperlibrary__Random__PreviewEdit__index",342:"p__Classrooms__Lists__ShixunHomeworks__Comment__index",479:"p__Classrooms__Lists__GroupHomework__EditWork__index",485:"p__Question__AddOrEdit__BatchAdd__index",508:"p__Forums__Detail__id",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",869:"p__Guidance__index",895:"p__Classrooms__Lists__Video__Items__videoInfo__index",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",1148:"p__Shixuns__Detail__Repository__UploadFile__index",1211:"p__Classrooms__Lists__CommonHomework__EditWork__index",1253:"p__Graduations__Lists__Gradingsummary__index",1257:"p__Classrooms__Lists__ResourceRecommend__index",1265:"p__Classrooms__Lists__Announcement__index",1276:"p__MoopCases__Success__index",1343:"p__User__Detail__ResourceAllocation__index",1416:"p__User__Detail__AccountInfo__CareerCertification__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",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",1657:"p__Shixuns__Edit__body__Level__Challenges__EditQuestion__index",1674:"p__Classrooms__ClassicCases__index",1702:"p__Classrooms__New__index",1713:"p__virtualSpaces__Lists__Settings__index",1717:"layouts__index",1727:"p__Classrooms__Lists__CourseGroup__NotList__index",1783:"p__virtualSpaces__Lists__Experiment__index",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",1939:"p__User__Detail__Order__index",1953:"p__Problemset__NewItem__index",1962:"p__Classrooms__Lists__Engineering__index",2045:"p__Engineering__Lists__TeacherList__index",2076:"p__User__Detail__Competitions__index",2102:"p__Classrooms__Lists__Board__Edit__index",2141:"p__Shixuns__Detail__Split__index",2216:"p__DataSet__Index__index",2240:"p__User__Detail__Videos__Upload__index",2254:"p__Shixuns__Detail__Discuss__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",2529:"p__User__Detail__id",2539:"p__Graduations__Review__index",2548:"p__Engineering__Norm__Detail__index",2570:"p__Competitions__Detail__index",2603:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Add__index",2659:"p__User__Detail__UserPortrait__index",2707:"p__Innovation__MyDataSet__index",2806:"p__User__Detail__Topics__Exercise__Detail__index",2819:"p__Classrooms__Lists__Template__detail__index",2823:"p__Engineering__Navigation__Home__index",2826:"p__User__Detail__DataSet__index",2829:"p__Messages__Private__index",2865:"p__Innovation__MyMirror__index",2875:"p__Shixuns__Detail__id",2884:"p__Classrooms__Lists__ProgramHomework__Comment__index",2983:"p__Forums__Index__index",3006:"p__Engineering__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",3282:"layouts__ShixunDetail__index",3317:"p__Classrooms__Lists__Graduation__Topics__Add__index",3332:"p__Paths__Detail__id",3355:"p__Classrooms__Lists__Polls__index",3356:"p__Classrooms__Lists__Assistant__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",3496:"p__User__Detail__OtherResources__index",3509:"p__HttpStatus__SixActivities",3581:"p__Classrooms__Lists__ShixunHomeworks__Detail__index",3585:"p__Classrooms__Lists__Statistics__StudentSituation__index",3665:"p__tasks__index",3668:"p__Classrooms__Lists__CommonHomework__Detail__index",3747:"p__virtualSpaces__Lists__Homepage__index",3784:"p__Paperlibrary__Random__Detail__index",3873:"p__virtualSpaces__Lists__Lesson__index",3910:"p__HttpStatus__introduction",3935:"p__Classrooms__Lists__GroupHomework__index",3951:"p__Classrooms__Lists__ProgramHomework__Detail__index",4030:"p__Classrooms__Lists__ProgramHomework__AddAndEdit__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",4449:"p__Competitions__Exports__index",4492:"p__Graduations__Lists__StudentSelection__index",4495:"p__Account__Resource__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",4601:"p__Paths__Detail__Statistics__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",4849:"p__User__Detail__ExperImentImg__index",4862:"p__Paperlibrary__index",4884:"p__Shixuns__Detail__Repository__Commit__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",5125:"p__Classrooms__Lists__Exercise__DetailedAnalysis__index",5148:"p__Classrooms__Lists__Polls__Answer__index",5176:"p__User__Detail__Videos__Protocol__index",5179:"p__Administration__Student__Edit__index",5186:"p__Classrooms__Overview__index",5191:"p__User__Detail__Certificate__index",5238:"p__virtualSpaces__Lists__Material__index",5297:"p__Classrooms__Lists__Exercise__Detail__components__DuplicateChecking__CheckDetail__index",5319:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Detail__index",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",5470:"p__Shixuns__Detail__Collaborators__index",5518:"p__Classrooms__Lists__Template__index",5549:"p__Shixuns__New__CreateImg__index",5572:"p__Paths__HigherVocationalEducation__index",5573:"p__Shixuns__Detail__Merge__index",5599:"p__User__Detail__Paths__index",5624:"p__Graduations__Lists__Index__index",5650:"p__Competitions__Update__index",5705:"p__virtualSpaces__Lists__Construction__index",5729:"p__Help__Index",5775:"p__Engineering__Lists__Document__index",5786:"layouts__LoginAndRegister__index",5798:"p__Classrooms__Lists__Video__Statistics__UserDetail__index",5816:"p__Paperlibrary__Random__Edit__index",5825:"p__Classrooms__Lists__Exercise__index",5888:"p__Classrooms__Lists__CommonHomework__Add__index",5891:"p__virtualSpaces__Lists__Resources__index",5895:"p__User__Detail__AccountInfo__Profile__Edit__index",5915:"p__knowledgegraph__Detail__Statistics__index",5972:"layouts__user__index",5992:"p__Classrooms__Lists__Exercise__ReviewGroup__index",6029:"p__Administration__Student__index",6052:"p__Paths__Index__index",6063:"p__Graduations__Lists__Personmanage__index",6069:"p__virtualSpaces__Lists__Lesson__Detail__index",6127:"p__Classrooms__Lists__ProgramHomework__Ranking__index",6265:"p__virtualSpaces__Lists__Discussion__index",6270:"p__MyProblem__index",6277:"p__Shixuns__Edit__index",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",6452:"p__Innovation__PublicDataSet__index",6541:"p__Shixuns__Detail__Dataset__index",6583:"p__User__Detail__Classrooms__index",6587:"p__User__Detail__Videos__Protocol__resource",6634:"p__Innovation__Tasks__index",6651:"p__Engineering__Evaluate__Detail__index",6685:"p__Classrooms__Index__index",6729:"p__Classrooms__Lists__GroupHomework__Edit__index",6741:"p__Engineering__Norm__List__index",6758:"p__Classrooms__Lists__Attachment__index",6784:"p__Innovation__Edit__index",6788:"p__Classrooms__Lists__ProgramHomework__index",6796:"p__virtualSpaces__Lists__Announcement__Detail__index",6805:"p__User__Detail__AccountInfo__RealNameCertification__index",6820:"p__User__Detail__Topics__Normal__index",6845:"p__Shixuns__Detail__Settings__index",6882:"p__Classrooms__New__StartClass__index",6883:"p__Competitions__Index__index",6904:"p__MoopCases__FormPanel__index",6913:"p__Question__AddOrEdit__index",6963:"p__Classrooms__Lists__Engineering__Detail__index",6982:"p__User__Detail__AccountInfo__Profile__index",7008:"p__Shixuns__New__index",7043:"p__User__Detail__Topics__Exercise__Edit__index",7045:"p__Classrooms__Lists__CommonHomework__SubmitWork__index",7046:"p__Shixuns__Detail__Repository__AddFile__index",7058:"p__virtualSpaces__Lists__Survey__Detail__index",7062:"layouts__SimpleLayouts",7178:"p__User__BindAccount__index",7182:"p__User__ResetPassword__index",7242:"p__Innovation__MyProject__index",7260:"p__Account__Certification__index",7395:"p__Classrooms__Lists__Statistics__StudentDetail__index",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",7852:"p__Classrooms__Lists__ShixunHomeworks__index",7855:"p__User__Detail__ResourcesCenter__Detail__index",7857:"p__Shixuns__Edit__body__Level__Challenges__NewQuestion__index",7878:"p__Classrooms__Lists__LiveVideo__index",7883:"p__Classrooms__Lists__Exercise__WrongAnswer__index",7884:"p__Shixuns__Exports__index",7922:"p__Classrooms__Lists__CourseGroup__Detail__index",7948:"p__User__Detail__ClassManagement__index",8014:"p__Classrooms__Lists__Teachers__index",8062:"p__User__Detail__Topicbank__index",8072:"p__Classrooms__Lists__GroupHomework__SubmitWork__index",8077:"p__Classrooms__Lists__Students__index",8085:"p__Classrooms__Lists__Exercise__Review__index",8143:"layouts__GraduationsDetail__index",8155:"p__Shixuns__Overview__index",8237:"p__User__Detail__Order__pages__view__index",8241:"p__virtualSpaces__Lists__Plan__index",8302:"p__Classrooms__Lists__Board__index",8307:"p__User__Detail__Shixuns__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",8517:"p__User__Detail__Topics__Group__index",8563:"p__virtualSpaces__Lists__Discussion__Detail__index",8634:"p__Classrooms__Lists__CourseGroup__List__index",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",8782:"p__Shixuns__Index__index",8787:"p__Competitions__Entered__index",8797:"p__Competitions__Edit__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",8982:"p__Paths__New__index",8999:"p__Three__index",9076:"p__Account__Binding__index",9133:"p__Shixuns__Detail__Challenges__index",9205:"p__Shixuns__Edit__body__Level__Challenges__EditPracticeSetting__index",9215:"p__Shixuns__Detail__ForkList__index",9332:"p__Classrooms__Lists__Video__index",9360:"p__User__Detail__virtualSpaces__index",9366:"p__User__Login__index",9391:"p__Engineering__Lists__CurseSetting__index",9404:"monaco-editor",9408:"p__Shixuns__Detail__RankingList__index",9416:"p__Graduations__Lists__Tasks__index",9487:"p__LargeScreen__index",9489:"p__Engineering__Lists__CourseList__index",9507:"p__User__Detail__ResourceGuarantee__index",9519:"p__User__Detail__ClassManagement__Item__index",9590:"p__User__Detail__TeachGroup__index",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",9890:"p__Classrooms__Lists__CommonHomework__index",9891:"p__User__Detail__Videos__Success__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:"1ad7d0db",109:"1a7fc455",195:"a0b7e5dd",264:"5fd9b3fc",265:"d92c6f86",292:"e8d22ed4",310:"06815302",337:"ee05039e",342:"e9b270bd",479:"bba9e475",485:"d63578fe",508:"82593858",532:"c829a014",533:"5fee20bc",547:"5581debc",556:"892f4292",559:"c49aa5ba",576:"e4f97d42",643:"22ded693",680:"e67e9e01",700:"e8adbc3d",737:"98eb2f74",799:"b3487c4b",869:"6740e24b",895:"ad846737",921:"30cc7e9b",928:"0277270a",1006:"2263131d",1043:"e8c0878b",1045:"0eeb3595",1048:"dafc3f4f",1070:"e67e9e01",1148:"754fff63",1211:"bdb8faab",1253:"46aca33c",1257:"156e8f74",1265:"d902bdae",1276:"bbc6eeec",1343:"b7f33c89",1416:"f1916094",1423:"5c4a76fc",1427:"f91322f7",1450:"1edcc2ed",1461:"917cbb16",1470:"183c9793",1475:"d22fbaa0",1482:"d159af07",1512:"f3653a35",1520:"f7300d0e",1545:"8eeeaccf",1578:"efcb0bdc",1581:"efffd7c0",1582:"8e45b6ff",1657:"cb817d3a",1674:"fdbc1e05",1702:"fca45632",1713:"5ed278a4",1717:"08a9e890",1727:"de83767d",1783:"47d0320e",1831:"8d05bf11",1836:"5f0d3f7f",1855:"b92cccb4",1880:"f67d7892",1939:"48e30d48",1953:"82125cfd",1962:"84e145fa",2045:"dcfad42d",2076:"09b07fa0",2102:"ec61f9f0",2141:"5eb2f330",2216:"e3ba73cf",2240:"e7cce869",2254:"ccda836f",2303:"66c77d21",2307:"b2c54321",2338:"e4bb0d0f",2339:"d90c9bd2",2396:"e70f11d6",2404:"08d36549",2412:"6b6ca0ef",2425:"47b23ee4",2443:"8fb7c26b",2476:"cf85a190",2501:"2441982c",2529:"9d9944da",2539:"43d36117",2548:"75182034",2570:"3dbc6300",2603:"0277270a",2659:"f6071a36",2707:"cabcb16e",2806:"2c7248b3",2819:"9455b08a",2823:"a13b21fb",2826:"0b6be43b",2829:"a5909474",2865:"6ef3cf6b",2875:"d6c8355d",2884:"904823c3",2983:"c8c482f7",3006:"7fce4e74",3141:"72791f8b",3157:"2038b5dc",3183:"b2253f40",3212:"ad1521c1",3220:"a5be3990",3247:"50105eb7",3260:"1847b79c",3276:"7bbb651d",3282:"2dff97e8",3317:"137440b7",3332:"5035a343",3355:"77baa15e",3356:"c6a4098f",3391:"f0e498fe",3433:"e6919a98",3442:"bdf7849c",3447:"1653d818",3451:"e3a31387",3496:"44bf4044",3509:"70043ca5",3581:"f545d6a6",3585:"5f288e7b",3665:"2d037be9",3668:"a1c98b04",3747:"e06419ae",3784:"c81d4a51",3873:"bbd9808d",3910:"658d457f",3935:"9a4efbda",3951:"9b11b034",4030:"7614a85c",4056:"10eacfff",4078:"aa54548e",4093:"c1f29d01",4105:"e39011c7",4144:"f10aa199",4164:"ad1c3799",4216:"0277270a",4217:"387bf824",4227:"79c3b323",4259:"ebd953ac",4264:"36917df0",4449:"e68d8d58",4492:"0677fa39",4495:"da48110d",4496:"77babddd",4498:"d086de31",4504:"466a61af",4514:"887bdbb6",4520:"e86d61a1",4546:"4101a1f2",4572:"70e5675d",4599:"14597c83",4601:"3c8ac557",4610:"687005a6",4621:"ead619d7",4662:"4e7b8c12",4715:"45efe14a",4736:"2968553b",4741:"afeb6eca",4757:"73b754d2",4766:"b5df5a8e",4770:"674b2d2a",4795:"939f9f81",4800:"f50302a4",4849:"2a1dc219",4862:"e5826b73",4884:"bd293d3b",4889:"db5cf2c9",4928:"a4b1a237",4973:"129c56e8",4994:"50caae56",5022:"81b1b86b",5028:"03cdfb68",5043:"247e6954",5048:"aa08c681",5096:"4f6a4d00",5111:"5d09a39a",5125:"57501e4a",5148:"572faeac",5176:"9c49e7fa",5179:"21f01751",5186:"aeb0dc56",5191:"0af389b2",5238:"3d814a61",5297:"5426028f",5319:"34217c3f",5335:"fec6fd9f",5357:"1fbb7d24",5359:"b254a598",5382:"0c911991",5402:"60617d0d",5470:"b25021a2",5518:"9f425be3",5549:"39285664",5572:"c945fbf2",5573:"6ecf393c",5599:"2ae54005",5624:"5de2fd4d",5650:"f8f63f4b",5705:"df6bf207",5729:"46f9b5d4",5775:"8945cad2",5786:"37a81eaa",5798:"ce1cf7da",5816:"d749b200",5825:"738960a3",5888:"193a7f8f",5891:"3b7a128f",5895:"9ddd624a",5915:"bc9c3e69",5972:"c7a91e8e",5992:"419f5d2f",6029:"2ded5a5a",6052:"59cb6398",6063:"a5f0409a",6069:"b4a6d2ab",6127:"f31505a8",6265:"9459eb93",6270:"cc24b0fc",6277:"12e50919",6328:"de2b9d62",6366:"079fc2d8",6434:"0112f8db",6444:"fd46d237",6452:"50a6d310",6541:"d1c967cd",6583:"7d33505d",6587:"9c49e7fa",6634:"df151169",6651:"b07fe216",6685:"f5f5b969",6729:"aea3b7f5",6741:"b838eb14",6758:"1c10a6da",6784:"1affe817",6788:"bde794d4",6796:"89c76e37",6805:"5b253c81",6820:"cebdf1cf",6845:"b7aabf70",6882:"c2d2eada",6883:"7740a702",6904:"44afaa9b",6913:"739202fe",6963:"84e145fa",6982:"3043a9c3",7008:"fe74a83d",7043:"25478869",7045:"48f6fc4c",7046:"c7301ded",7058:"984a456a",7062:"8c29c203",7178:"6e47d75d",7182:"183c9793",7242:"4f353f61",7260:"2c380d56",7395:"5c10e8d8",7460:"dedd2038",7477:"832457fc",7482:"c37a3f01",7527:"6b64ff47",7545:"59925dd9",7560:"d82e43ca",7589:"2a3e68f3",7614:"de9ee12f",7622:"33da27d4",7806:"80b7b1d6",7852:"ee98efe7",7855:"3970a709",7857:"13a29416",7878:"8dfa25f5",7883:"44658a32",7884:"1ca6cde0",7922:"c1d9e2f3",7948:"bed733e5",8014:"9ef39203",8062:"8e384b9f",8072:"540f746b",8077:"0b2c51d9",8085:"c625f85e",8143:"b6ca83ad",8155:"d345abd7",8237:"44654223",8241:"02a0cb2f",8302:"b4649ac5",8307:"02e15761",8398:"cf8eb735",8431:"7f5bd176",8435:"21d4dff0",8447:"0875c082",8517:"cccfddad",8563:"3a763677",8634:"317d0a2b",8665:"c52575bc",8688:"c044db56",8689:"459af240",8723:"5166ac36",8782:"918afc23",8787:"121de108",8797:"13e5189e",8823:"72de0470",8827:"af0ed6a3",8866:"664121ad",8882:"f3e42f72",8885:"de905169",8982:"6e2e337e",8999:"448aa22f",9076:"6a501148",9133:"ab171f08",9205:"49a3e67d",9215:"f737e7e7",9332:"a627cf98",9360:"27c7d4f7",9366:"4f511490",9391:"c11edda0",9404:"d8cf04f7",9408:"d3565b1a",9416:"a204e6fe",9487:"a73f5679",9489:"ee2bb5b7",9507:"396e34cd",9519:"88d248ee",9590:"29583579",9647:"452de157",9649:"00fb4211",9674:"d0f91ed7",9677:"26548cb7",9695:"bb84056a",9715:"b6c6645f",9716:"a5750e0d",9785:"08d36549",9788:"781a4d20",9890:"3ac78858",9891:"512a9301",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,v){return Object.prototype.hasOwnProperty.call(d,v)}}(),function(){var d={};__webpack_require__.l=function(v,e,r,i){if(d[v]){d[v].push(e);return}var l,c;if(r!==void 0)for(var f=document.getElementsByTagName("script"),o=0;o0&&arguments[0]!==void 0?arguments[0]:"";return Rn.endsWith("/")?Rn:"".concat(Rn,"/")}var Rc=__webpack_require__(38127),dc=__webpack_require__(38329),Tl=__webpack_require__(8616),hl=["content"],nl=["content"],qc=/^(http:|https:)?\/\//;function hc(Rn){return qc.test(Rn)||Rn.startsWith("/")&&!Rn.startsWith("/*")||Rn.startsWith("./")||Rn.startsWith("../")}var ku=function(){return je.createElement("noscript",{dangerouslySetInnerHTML:{__html:"Enable JavaScript to run this app."}})},yl=function(ti){var Wi,Ba=ti.loaderData,aa=ti.htmlPageOpts,Ca=ti.manifest,Oa=(Ca==null||(Wi=Ca.assets)===null||Wi===void 0?void 0:Wi["umi.css"])||"";return je.createElement("script",{suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:"window.__UMI_LOADER_DATA__ = ".concat(JSON.stringify(Ba||{}),"; window.__UMI_METADATA_LOADER_DATA__ = ").concat(JSON.stringify(aa||{}),"; window.__UMI_BUILD_ClIENT_CSS__ = '").concat(Oa,"'")}})};function Xu(Rn){var ti=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(typeof Rn=="string")return hc(Rn)?(0,Jo.Z)({src:Rn},ti):{content:Rn};if((0,Tl.Z)(Rn)==="object")return(0,Jo.Z)((0,Jo.Z)({},Rn),ti);throw new Error("Invalid script type: ".concat((0,Tl.Z)(Rn)))}function Of(Rn){return hc(Rn)?{type:"link",href:Rn}:{type:"style",content:Rn}}var xf=function(ti){var Wi,Ba,aa,Ca,Oa,As,ua=ti.htmlPageOpts;return je.createElement(je.Fragment,null,(ua==null?void 0:ua.title)&&je.createElement("title",null,ua.title),ua==null||(Wi=ua.favicons)===null||Wi===void 0?void 0:Wi.map(function(Cs,pl){return je.createElement("link",{key:pl,rel:"shortcut icon",href:Cs})}),(ua==null?void 0:ua.description)&&je.createElement("meta",{name:"description",content:ua.description}),(ua==null||(Ba=ua.keywords)===null||Ba===void 0?void 0:Ba.length)&&je.createElement("meta",{name:"keywords",content:ua.keywords.join(",")}),ua==null||(aa=ua.metas)===null||aa===void 0?void 0:aa.map(function(Cs){return je.createElement("meta",{key:Cs.name,name:Cs.name,content:Cs.content})}),ua==null||(Ca=ua.links)===null||Ca===void 0?void 0:Ca.map(function(Cs,pl){return je.createElement("link",(0,dc.Z)({key:pl},Cs))}),ua==null||(Oa=ua.styles)===null||Oa===void 0?void 0:Oa.map(function(Cs,pl){var _l=Of(Cs),il=_l.type,ml=_l.href,El=_l.content;if(il==="link")return je.createElement("link",{key:pl,rel:"stylesheet",href:ml});if(il==="style")return je.createElement("style",{key:pl},El)}),ua==null||(As=ua.headScripts)===null||As===void 0?void 0:As.map(function(Cs,pl){var _l=Xu(Cs),il=_l.content,ml=(0,Rc.Z)(_l,hl);return je.createElement("script",(0,dc.Z)({dangerouslySetInnerHTML:{__html:il},key:pl},ml))}))};function lu(Rn){var ti,Wi=Rn.children,Ba=Rn.loaderData,aa=Rn.manifest,Ca=Rn.htmlPageOpts,Oa=Rn.__INTERNAL_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,As=Rn.mountElementId;if(Oa!=null&&Oa.pureHtml)return je.createElement("html",null,je.createElement("head",null),je.createElement("body",null,je.createElement(ku,null),je.createElement("div",{id:As},Wi),je.createElement(yl,{manifest:aa,loaderData:Ba,htmlPageOpts:Ca})));if(Oa!=null&&Oa.pureApp)return je.createElement(je.Fragment,null,Wi);var ua=typeof window=="undefined"?aa==null?void 0:aa.assets["umi.css"]:window.__UMI_BUILD_ClIENT_CSS__;return je.createElement("html",{suppressHydrationWarning:!0,lang:(Ca==null?void 0:Ca.lang)||"en"},je.createElement("head",null,je.createElement("meta",{charSet:"utf-8"}),je.createElement("meta",{name:"viewport",content:"width=device-width, initial-scale=1"}),ua&&je.createElement("link",{suppressHydrationWarning:!0,rel:"stylesheet",href:ua}),je.createElement(xf,{htmlPageOpts:Ca})),je.createElement("body",null,je.createElement(ku,null),je.createElement("div",{id:As},Wi),je.createElement(yl,{manifest:aa,loaderData:Ba,htmlPageOpts:Ca}),Ca==null||(ti=Ca.scripts)===null||ti===void 0?void 0:ti.map(function(Cs,pl){var _l=Xu(Cs),il=_l.content,ml=(0,Rc.Z)(_l,nl);return je.createElement("script",(0,dc.Z)({dangerouslySetInnerHTML:{__html:il},key:pl},ml))})))}var Pl=je.createContext(void 0);function Jc(){return je.useContext(Pl)}var Gl=["redirect"];function Vl(Rn){var ti=Rn.routesById,Wi=Rn.parentId,Ba=Rn.routeComponents,aa=Rn.useStream,Ca=aa===void 0?!0:aa;return Object.keys(ti).filter(function(Oa){return ti[Oa].parentId===Wi}).map(function(Oa){var As=cu((0,Jo.Z)((0,Jo.Z)({route:ti[Oa],routeComponent:Ba[Oa],loadingComponent:Rn.loadingComponent,reactRouter5Compat:Rn.reactRouter5Compat},Rn.reactRouter5Compat&&{hasChildren:Object.keys(ti).filter(function(Cs){return ti[Cs].parentId===Oa}).length>0}),{},{useStream:Ca})),ua=Vl({routesById:ti,routeComponents:Ba,parentId:As.id,loadingComponent:Rn.loadingComponent,reactRouter5Compat:Rn.reactRouter5Compat,useStream:Ca});return ua.length>0&&(As.children=ua,As.routes=ua),As})}function eu(Rn){var ti=(0,pu.UO)(),Wi=(0,pu.Gn)(Rn.to,ti),Ba=(0,fc.T$)(),aa=(0,pu.TH)();if(Ba!=null&&Ba.keepQuery){var Ca=aa.search+aa.hash;Wi+=Ca}var Oa=(0,Jo.Z)((0,Jo.Z)({},Rn),{},{to:Wi});return je.createElement(pu.Fg,(0,dc.Z)({replace:!0},Oa))}function cu(Rn){var ti=Rn.route,Wi=Rn.useStream,Ba=Wi===void 0?!0:Wi,aa=ti.redirect,Ca=(0,Rc.Z)(ti,Gl),Oa=Rn.reactRouter5Compat?_u:pc;return(0,Jo.Z)({element:aa?je.createElement(eu,{to:aa}):je.createElement(Pl.Provider,{value:{route:Rn.route}},je.createElement(Oa,{loader:je.memo(Rn.routeComponent),loadingComponent:Rn.loadingComponent||Kl,hasChildren:Rn.hasChildren,useStream:Ba}))},Ca)}function Kl(){return je.createElement("div",null)}function _u(Rn){var ti=Jc(),Wi=ti.route,Ba=(0,fc.Ov)(),aa=Ba.history,Ca=Ba.clientRoutes,Oa=(0,pu.UO)(),As={params:Oa,isExact:!0,path:Wi.path,url:aa.location.pathname},ua=Rn.loader,Cs={location:aa.location,match:As,history:aa,params:Oa,route:Wi,routes:Ca};return Rn.useStream?je.createElement(je.Suspense,{fallback:je.createElement(Rn.loadingComponent,null)},je.createElement(ua,Cs,Rn.hasChildren&&je.createElement(pu.j3,null))):je.createElement(ua,Cs,Rn.hasChildren&&je.createElement(pu.j3,null))}function pc(Rn){var ti=Rn.loader;return Rn.useStream?je.createElement(je.Suspense,{fallback:je.createElement(Rn.loadingComponent,null)},je.createElement(ti,null)):je.createElement(ti,null)}var Il=null;function ef(){return Il}function bl(Rn){var ti=Rn.history,Wi=je.useState({action:ti.action,location:ti.location}),Ba=(0,Wl.Z)(Wi,2),aa=Ba[0],Ca=Ba[1];return(0,je.useLayoutEffect)(function(){return ti.listen(Ca)},[ti]),(0,je.useLayoutEffect)(function(){function Oa(As){Rn.pluginManager.applyPlugins({key:"onRouteChange",type:"event",args:{routes:Rn.routes,clientRoutes:Rn.clientRoutes,location:As.location,action:As.action,basename:Rn.basename,isFirst:!!As.isFirst}})}return Oa({location:aa.location,action:aa.action,isFirst:!0}),ti.listen(Oa)},[ti,Rn.routes,Rn.clientRoutes]),je.createElement(pu.F0,{navigator:ti,location:aa.location,basename:Rn.basename},Rn.children)}function Uu(){var Rn=(0,fc.Ov)(),ti=Rn.clientRoutes;return(0,pu.V$)(ti)}var _c=["innerProvider","i18nProvider","accessProvider","dataflowProvider","outerProvider","rootContainer"],mc=function(ti,Wi){var Ba=ti.basename||"/",aa=Vl({routesById:ti.routes,routeComponents:ti.routeComponents,loadingComponent:ti.loadingComponent,reactRouter5Compat:ti.reactRouter5Compat,useStream:ti.useStream});ti.pluginManager.applyPlugins({key:"patchClientRoutes",type:"event",args:{routes:aa}});for(var Ca=je.createElement(bl,{basename:Ba,pluginManager:ti.pluginManager,routes:ti.routes,clientRoutes:aa,history:ti.history},Wi),Oa=0,As=_c;Oanew Promise((Ba,aa)=>{var Ca=ua=>{try{As(Wi.next(ua))}catch(Cs){aa(Cs)}},Oa=ua=>{try{As(Wi.throw(ua))}catch(Cs){aa(Cs)}},As=ua=>ua.done?Ba(ua.value):Promise.resolve(ua.value).then(Ca,Oa);As((Wi=Wi.apply(Rn,ti)).next())});function Ef(){return Lc(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/:identifier",parentId:"159",id:"164"},165:{path:"/competitions/index/:identifier",parentId:"159",id:"165"},166:{path:"/competitions/:identifier/detail/enroll",parentId:"159",id:"166"},167:{path:"/competitions/:identifier/detail/UpdateTeanname/:Teannameid",parentId:"159",id:"167"},168:{path:"/competitions/:identifier/detail/teamDetail/:Teamid",parentId:"159",id:"168"},169:{path:"/competitions/detail/:identifier",parentId:"159",id:"169"},170:{path:"/forums",parentId:"1",id:"170"},171:{path:"/forums",parentId:"170",id:"171"},172:{path:"/forums/categories/:memoType",parentId:"170",id:"172"},173:{path:"/forums/new",parentId:"170",id:"173"},174:{path:"/forums/:memoId/edit",parentId:"170",id:"174"},175:{path:"/forums/:memoId",parentId:"170",id:"175"},176:{path:"/problemset",parentId:"1",id:"176"},177:{path:"/problemset",parentId:"176",id:"177"},178:{path:"/problemset/newitem",parentId:"176",id:"178"},179:{path:"/problemset/:type/:id",parentId:"176",id:"179"},180:{path:"/problemset/preview",parentId:"176",id:"180"},181:{path:"/problemset/preview_new",parentId:"176",id:"181"},182:{path:"/problemset/preview_select",parentId:"176",id:"182"},183:{path:"/shixuns",parentId:"1",id:"183"},184:{path:"/shixuns",parentId:"183",id:"184"},185:{path:"/shixuns/exports",parentId:"183",id:"185"},186:{path:"/shixuns/new",parentId:"183",id:"186"},187:{path:"/shixuns/new/CreateImg",parentId:"183",id:"187"},188:{path:"/shixuns/new/:id/imagepreview",parentId:"183",id:"188"},189:{path:"/shixuns/:id/Merge",parentId:"183",id:"189"},190:{path:"/shixuns/:id/Split",parentId:"183",id:"190"},191:{path:"/shixuns/:id/edit",parentId:"183",id:"191"},192:{path:"shixuns/:id/edit/warehouse",parentId:"191",id:"192"},193:{path:"/shixuns/:id/edit/newquestion",parentId:"191",id:"193"},194:{path:"/shixuns/:id/edit/:challengesId/editquestion",parentId:"191",id:"194"},195:{path:"/shixuns/:id/edit/:challengesId/editquestion/:questionId",parentId:"191",id:"195"},196:{path:"/shixuns/:id/edit/new",parentId:"191",id:"196"},197:{path:"/shixuns/:id/edit/:challengesId/editcheckpoint",parentId:"191",id:"197"},198:{path:"/shixuns/:id/edit/:challengesId/tab=2",parentId:"191",id:"198"},199:{path:"/shixuns/:id/edit/:challengesId/tab=3",parentId:"191",id:"199"},200:{path:"/shixuns/:id/edit/:challengesId/tab=4",parentId:"191",id:"200"},201:{path:"/shixuns/:id",parentId:"183",id:"201"},202:{path:"/shixuns/:id/challenges",parentId:"201",id:"202"},203:{path:"/shixuns/:id/repository",parentId:"201",id:"203"},204:{path:"/shixuns/:id/secret_repository",parentId:"201",id:"204"},205:{path:"/shixuns/:id/collaborators",parentId:"201",id:"205"},206:{path:"/shixuns/:id/dataset",parentId:"201",id:"206"},207:{path:"/shixuns/:id/dataset/jupyterEdit",parentId:"201",id:"207"},208:{path:"/shixuns/:id/shixun_discuss",parentId:"201",id:"208"},209:{path:"/shixuns/:id/ranking_list",parentId:"201",id:"209"},210:{path:"/shixuns/:id/settings",parentId:"201",id:"210"},211:{path:"/shixuns/:id/repository/:repoId/commits",parentId:"201",id:"211"},212:{path:"/shixuns/:id/secret_repository/:repoId/commits",parentId:"201",id:"212"},213:{path:"/shixuns/:id/repository/upload_file",parentId:"201",id:"213"},214:{path:"/shixuns/:id/secret_repository/upload_file",parentId:"201",id:"214"},215:{path:"/shixuns/:id/repository/add_file",parentId:"201",id:"215"},216:{path:"/shixuns/:id/secret_repository/add_file",parentId:"201",id:"216"},217:{path:"/shixuns/:id/repository/master/shixun_show/:fileId",exact:!1,parentId:"201",id:"217"},218:{path:"/shixuns/:id/secret_repository/master/shixun_show/:fileId",exact:!1,parentId:"201",id:"218"},219:{path:"/shixuns/:id/audit_situation",parentId:"201",id:"219"},220:{path:"/shixuns/:id/fork_list",parentId:"201",id:"220"},221:{path:"/users",parentId:"1",id:"221"},222:{path:"/users/:username/videos/protocol",parentId:"221",id:"222"},223:{path:"/users/:username/videos/resourceProtocol",parentId:"221",id:"223"},224:{path:"/users/:username/videos/success",parentId:"221",id:"224"},225:{path:"/users/:username/topicbank/:topicstype",parentId:"221",id:"225"},226:{path:"/users/:username/topics/:topicId/:topictype/normal/detail",parentId:"221",id:"226"},227:{path:"/users/:username/topics/:topicId/:topictype/group/detail",parentId:"221",id:"227"},228:{path:"/users/:username/topics/:topicId/:topictype/normal/edit",parentId:"221",id:"228"},229:{path:"/users/:username/topics/:topicId/:topictype/group/edit",parentId:"221",id:"229"},230:{path:"/users/:username/topics/:topicId/:topictype/exercise/edit",parentId:"221",id:"230"},231:{path:"/users/:username/topics/:topicId/:topictype/exercise/detail",parentId:"221",id:"231"},232:{path:"/users/:username/topics/:topicId/:topictype/poll/edit",parentId:"221",id:"232"},233:{path:"/users/:username/topics/:topicId/:topictype/poll/detail",parentId:"221",id:"233"},234:{path:"/users/:username/experiment-img/add",parentId:"221",id:"234"},235:{path:"/users/:username",parentId:"221",id:"235"},236:{path:"/users/:username",parentId:"235",id:"236"},237:{path:"/users/:username/baseInfo/edit",parentId:"235",id:"237"},238:{path:"/users/:username/baseInfo",parentId:"235",id:"238"},239:{path:"/users/:username/realNameCertification",parentId:"235",id:"239"},240:{path:"/users/:username/careerCertification",parentId:"235",id:"240"},241:{path:"/users/:username/classrooms",parentId:"235",id:"241"},242:{path:"/users/:username/shixuns",parentId:"235",id:"242"},243:{path:"/users/:username/dataSet",parentId:"235",id:"243"},244:{path:"/users/:username/userPortrait",parentId:"235",id:"244"},245:{path:"/users/:username/learningPath",parentId:"235",id:"245"},246:{path:"/users/:username/teach-group",parentId:"235",id:"246"},247:{path:"/users/:username/competitions",parentId:"235",id:"247"},248:{path:"/users/:username/experiment-img",parentId:"235",id:"248"},249:{path:"/users/:username/experiment-img/:experid/detail",parentId:"235",id:"249"},250:{path:"/users/:username/certificate",parentId:"235",id:"250"},251:{path:"/users/:username/otherResources",parentId:"235",id:"251"},252:{path:"/users/:username/classmanagement",parentId:"235",id:"252"},253:{path:"/users/:username/classmanagement/:couserid",parentId:"235",id:"253"},254:{path:"/users/:username/paths",parentId:"235",id:"254"},255:{path:"/users/:username/projects",parentId:"235",id:"255"},256:{path:"/users/:username/videos",parentId:"235",id:"256"},257:{path:"/users/:username/videos/upload",parentId:"235",id:"257"},258:{path:"/users/:username/topics/:topicstype",parentId:"235",id:"258"},259:{path:"/users/:username/vspaces",parentId:"235",id:"259"},260:{path:"/users/:username/resourcesCenter",parentId:"235",id:"260"},261:{path:"/users/:username/resourcesCenter/:id/detail",parentId:"235",id:"261"},262:{path:"/users/:username/resourceGuarantee",parentId:"235",id:"262"},263:{path:"/users/:username/resourceAllocation",parentId:"235",id:"263"},264:{parentId:"1",id:"264"},265:{path:"/problems",parentId:"264",id:"265"},266:{path:"/problems",parentId:"265",id:"266"},267:{path:"/problems/batchAdd",parentId:"265",id:"267"},268:{path:"/problems/newcreate",parentId:"264",id:"268"},269:{path:"/problems/newedit/:id",exact:!0,parentId:"264",id:"269"},270:{path:"/problems/:id/edit",exact:!0,parentId:"264",id:"270"},271:{path:"/problems/new",exact:!0,parentId:"264",id:"271"},272:{path:"/problems/:id/oj/:save_identifier",parentId:"264",id:"272"},273:{path:"/problems/:id/record-detail/:submitId",parentId:"264",id:"273"},274:{path:"/problems/add",parentId:"264",id:"274"},275:{path:"/problems/:id/ojedit",parentId:"264",id:"275"},276:{path:"/engineering",parentId:"1",id:"276"},277:{path:"/engineering",parentId:"276",id:"277"},278:{path:"/engineering/teacherList",parentId:"277",id:"278"},279:{path:"/engineering/studentList",parentId:"277",id:"279"},280:{path:"/engineering/training/program",parentId:"277",id:"280"},281:{path:"/engineering/training/program/add",parentId:"277",id:"281"},282:{path:"/engineering/training/program/edit",parentId:"277",id:"282"},283:{path:"/engineering/training/objectives",parentId:"277",id:"283"},284:{path:"/engineering/graduated/index",parentId:"277",id:"284"},285:{path:"/engineering/graduated/matrix",parentId:"277",id:"285"},286:{path:"/engineering/course/list",parentId:"277",id:"286"},287:{path:"/engineering/course/setting",parentId:"277",id:"287"},288:{path:"/engineering/course/matrix",parentId:"277",id:"288"},289:{path:"/engineering/navigation",parentId:"277",id:"289"},290:{path:"/engineering/evaluate/course",parentId:"277",id:"290"},291:{path:"/engineering/evaluate/course/:ec_year_id/:id",parentId:"277",id:"291"},292:{path:"/engineering/evaluate/norm",parentId:"277",id:"292"},293:{path:"/engineering/evaluate/document",parentId:"277",id:"293"},294:{path:"/engineering/evaluate/norm/:ec_year_id/:id",parentId:"277",id:"294"},295:{path:"/engineering/*",redirect:"/404",parentId:"277",id:"295"},296:{path:"/innovation",parentId:"1",id:"296"},297:{path:"/innovation/tasks/:taskId",parentId:"296",id:"297"},298:{path:"/innovation",parentId:"296",id:"298"},299:{path:"/innovation/project",parentId:"298",id:"299"},300:{path:"/innovation/dataset",parentId:"298",id:"300"},301:{path:"/innovation/mirror",parentId:"298",id:"301"},302:{path:"/innovation/my-project",parentId:"298",id:"302"},303:{path:"/innovation/my-dataset",parentId:"298",id:"303"},304:{path:"/innovation/my-mirror",parentId:"298",id:"304"},305:{path:"/innovation/project/create",parentId:"298",id:"305"},306:{path:"/innovation/project/edit/:id",parentId:"298",id:"306"},307:{path:"/innovation/project/detail/:taskId",parentId:"298",id:"307"},308:{path:"/tasks",parentId:"1",id:"308"},309:{path:"/tasks/:taskId",exact:!0,parentId:"308",id:"309"},310:{path:"/tasks/:identifier/jupyter/",exact:!0,parentId:"308",id:"310"},311:{path:"/tasks/:courseId/:homeworkId/:taskId",exact:!0,parentId:"308",id:"311"},312:{path:"/tasks/jupyter/:courseId/:homeworkId/:identifier",exact:!0,parentId:"308",id:"312"},313:{path:"/tasks/:courseId/:exerciseId/:taskId/exercise",exact:!0,parentId:"308",id:"313"},314:{path:"/myproblems",parentId:"1",id:"314"},315:{path:"/myproblems/:id/record-detail/:submitId",exact:!0,parentId:"314",id:"315"},316:{path:"/myproblems/:id",exact:!0,parentId:"314",id:"316"},317:{path:"/account",parentId:"1",id:"317"},318:{path:"/account",parentId:"317",id:"318"},319:{path:"/account/profile",parentId:"318",id:"319"},320:{path:"/account/profile/edit",parentId:"318",id:"320"},321:{path:"/account/certification",parentId:"318",id:"321"},322:{path:"/account/secure",parentId:"318",id:"322"},323:{path:"/account/binding",parentId:"318",id:"323"},324:{path:"/account/Results",parentId:"318",id:"324"},325:{path:"/account/resource",parentId:"318",id:"325"},326:{path:"/ch",parentId:"1",id:"326"},327:{path:"/ch/rest/edit/:categoryId/:id",exact:!0,parentId:"326",id:"327"},328:{path:"/ch/rest/",exact:!0,parentId:"326",id:"328"},329:{path:"/ch/rest/:id",exact:!0,parentId:"326",id:"329"},330:{path:"/order",parentId:"1",id:"330"},331:{path:"/order",parentId:"330",id:"331"},332:{path:"/order/invoice",parentId:"330",id:"332"},333:{path:"/order/records",parentId:"330",id:"333"},334:{path:"/order/apply",parentId:"330",id:"334"},335:{path:"/order/view",parentId:"330",id:"335"},336:{path:"/order/:courseId/information",parentId:"330",id:"336"},337:{path:"/order/:courseId/pay",parentId:"330",id:"337"},338:{path:"/order/:orderNum/result",parentId:"330",id:"338"},339:{path:"/messages",parentId:"1",id:"339"},340:{path:"/messages/:userId/user_tidings",parentId:"339",id:"340"},341:{path:"/messages/:userId/private_messages",parentId:"339",id:"341"},342:{path:"/messages/:userId/message_detail",parentId:"339",id:"342"},343:{path:"/vtrs",parentId:"1",id:"343"},344:{path:"/vtrs/:virtual_spacesId",parentId:"343",id:"344"},345:{path:"/vtrs/:virtual_spacesId",exact:!0,parentId:"344",id:"345"},346:{path:"/vtrs/:virtual_spacesId/workplace",exact:!0,parentId:"344",id:"346"},347:{path:"/vtrs/:virtual_spacesId/experiment",parentId:"344",id:"347"},348:{path:"/vtrs/:virtual_spacesId/announcement",parentId:"344",id:"348"},349:{path:"/vtrs/:virtual_spacesId/announcement/add",parentId:"344",id:"349"},350:{path:"/vtrs/:virtual_spacesId/announcement/:id/edit",parentId:"344",id:"350"},351:{path:"/vtrs/:virtual_spacesId/announcement/:id/detail",parentId:"344",id:"351"},352:{path:"/vtrs/:virtual_spacesId/survey",parentId:"344",id:"352"},353:{path:"/vtrs/:virtual_spacesId/survey/:id/detail",parentId:"344",id:"353"},354:{path:"/vtrs/:virtual_spacesId/knowledge",parentId:"344",id:"354"},355:{path:"/vtrs/:virtual_spacesId/knowledge/add",parentId:"344",id:"355"},356:{path:"/vtrs/:virtual_spacesId/knowledge/:id/edit",parentId:"344",id:"356"},357:{path:"/vtrs/:virtual_spacesId/material",parentId:"344",id:"357"},358:{path:"/vtrs/:virtual_spacesId/material/:id/detail",parentId:"344",id:"358"},359:{path:"/vtrs/:virtual_spacesId/lesson",parentId:"344",id:"359"},360:{path:"/vtrs/:virtual_spacesId/lesson/:id/detail",parentId:"344",id:"360"},361:{path:"/vtrs/:virtual_spacesId/lesson/:id/detail/:fileid",parentId:"344",id:"361"},362:{path:"/vtrs/:virtual_spacesId/discussion",parentId:"344",id:"362"},363:{path:"/vtrs/:virtual_spacesId/discussion/:id/detail",parentId:"344",id:"363"},364:{path:"/vtrs/:virtual_spacesId/discussion/:id/detail/:fileid",parentId:"344",id:"364"},365:{path:"/vtrs/:virtual_spacesId/settings",parentId:"344",id:"365"},366:{path:"/vtrs/:virtual_spacesId/resources",parentId:"344",id:"366"},367:{path:"/vtrs/:virtual_spacesId/resources/:id/detail",parentId:"344",id:"367"},368:{path:"/vtrs/:virtual_spacesId/Plan",parentId:"344",id:"368"},369:{path:"/vtrs/:virtual_spacesId/plan/:id/detail",parentId:"344",id:"369"},370:{path:"/vtrs/:virtual_spacesId/digtal",parentId:"344",id:"370"},371:{path:"/vtrs/:virtual_spacesId/homepage",parentId:"344",id:"371"},372:{path:"/vtrs/:virtual_spacesId/*",parentId:"344",id:"372"},373:{path:"/101",parentId:"1",id:"373"},374:{path:"/101/:virtual_spacesId",parentId:"373",id:"374"},375:{path:"/101/:virtual_spacesId",exact:!0,parentId:"374",id:"375"},376:{path:"/101/:virtual_spacesId/workplace",exact:!0,parentId:"374",id:"376"},377:{path:"/101/:virtual_spacesId/experiment",parentId:"374",id:"377"},378:{path:"/101/:virtual_spacesId/announcement",parentId:"374",id:"378"},379:{path:"/101/:virtual_spacesId/announcement/add",parentId:"374",id:"379"},380:{path:"/101/:virtual_spacesId/announcement/:id/edit",parentId:"374",id:"380"},381:{path:"/101/:virtual_spacesId/announcement/:id/detail",parentId:"374",id:"381"},382:{path:"/101/:virtual_spacesId/survey",parentId:"374",id:"382"},383:{path:"/101/:virtual_spacesId/survey/:id/detail",parentId:"374",id:"383"},384:{path:"/101/:virtual_spacesId/knowledge",parentId:"374",id:"384"},385:{path:"/101/:virtual_spacesId/knowledge/add",parentId:"374",id:"385"},386:{path:"/101/:virtual_spacesId/knowledge/:id/edit",parentId:"374",id:"386"},387:{path:"/101/:virtual_spacesId/material",parentId:"374",id:"387"},388:{path:"/101/:virtual_spacesId/material/:id/detail",parentId:"374",id:"388"},389:{path:"/101/:virtual_spacesId/lesson",parentId:"374",id:"389"},390:{path:"/101/:virtual_spacesId/lesson/:id/detail",parentId:"374",id:"390"},391:{path:"/101/:virtual_spacesId/lesson/:id/detail/:fileid",parentId:"374",id:"391"},392:{path:"/101/:virtual_spacesId/discussion",parentId:"374",id:"392"},393:{path:"/101/:virtual_spacesId/discussion/:id/detail",parentId:"374",id:"393"},394:{path:"/101/:virtual_spacesId/discussion/:id/detail/:fileid",parentId:"374",id:"394"},395:{path:"/101/:virtual_spacesId/settings",parentId:"374",id:"395"},396:{path:"/101/:virtual_spacesId/resources",parentId:"374",id:"396"},397:{path:"/101/:virtual_spacesId/resources/:id/detail",parentId:"374",id:"397"},398:{path:"/101/:virtual_spacesId/Plan",parentId:"374",id:"398"},399:{path:"/101/:virtual_spacesId/plan/:id/detail",parentId:"374",id:"399"},400:{path:"/101/:virtual_spacesId/digtal",parentId:"374",id:"400"},401:{path:"/101/:virtual_spacesId/homepage",parentId:"374",id:"401"},402:{path:"/101/:virtual_spacesId/*",parentId:"374",id:"402"},403:{path:"/administration",parentId:"1",id:"403"},404:{path:"/administration",parentId:"403",id:"404"},405:{path:"/administration/college",parentId:"404",id:"405"},406:{path:"/administration/student",parentId:"404",id:"406"},407:{path:"/administration/student/:studentId/edit",parentId:"404",id:"407"},408:{path:"/administration/profession",parentId:"404",id:"408"},409:{path:"/graduations",parentId:"1",id:"409"},410:{path:"/graduations",exact:!0,parentId:"409",id:"410"},411:{path:"/graduations/:id/:moduleKey/:moduleId/review/:itemId",exact:!0,parentId:"409",id:"411"},412:{path:"/graduations/:id",parentId:"409",id:"412"},413:{path:"/graduations/:id/index",parentId:"412",id:"413"},414:{path:"/graduations/:id/topics",parentId:"412",id:"414"},415:{path:"/graduations/:id/student_selection",parentId:"412",id:"415"},416:{path:"/graduations/:id/tasks",parentId:"412",id:"416"},417:{path:"/graduations/:id/opening_report",parentId:"412",id:"417"},418:{path:"/graduations/:id/midterm_report",parentId:"412",id:"418"},419:{path:"/graduations/:id/thesis",parentId:"412",id:"419"},420:{path:"/graduations/:id/final_defense",parentId:"412",id:"420"},421:{path:"/graduations/:id/final_thesis",parentId:"412",id:"421"},422:{path:"/graduations/:id/settings",parentId:"412",id:"422"},423:{path:"/graduations/:id/teachers",parentId:"412",id:"423"},424:{path:"/graduations/:id/students",parentId:"412",id:"424"},425:{path:"/graduations/:id/archives",parentId:"412",id:"425"},426:{path:"/graduations/:id/grading_summary",parentId:"412",id:"426"},427:{path:"/dataset",parentId:"1",id:"427"},428:{path:"/dataset",exact:!0,parentId:"427",id:"428"},429:{path:"/dataset/:id/detail",exact:!0,parentId:"427",id:"429"},430:{path:"/knowledgegraph",parentId:"1",id:"430"},431:{path:"/knowledgegraph/:pathId",parentId:"430",id:"431"},432:{path:"/knowledgegraph/:pathId/statistics",parentId:"430",id:"432"},433:{path:"/onlinenum",parentId:"1",id:"433"},434:{path:"/onlinenum",parentId:"433",id:"434"},435:{path:"/shixuncontext",parentId:"1",id:"435"},436:{path:"/shixuncontext",parentId:"435",id:"436"},437:{path:"/shixuncontext/:Id/detail",parentId:"435",id:"437"},438:{path:"/educoder-demo",exact:!0,parentId:"1",id:"438"},439:{path:"/training",parentId:"1",id:"439"},440:{name:"\u7CBE\u57F9\u8BFE\u7A0B",path:"/training",parentId:"439",id:"440"},441:{path:"/largeScreen",exact:!0,parentId:"1",id:"441"},442:{path:"/quality",parentId:"1",id:"442"},443:{name:"\u7CBE\u54C1\u8BFE\u7A0B",path:"/quality",parentId:"442",id:"443"},444:{path:"/otherlogin",exact:!0,parentId:"1",id:"444"},445:{path:"/otherloginqq",exact:!0,parentId:"1",id:"445"},446:{path:"/otherloginstart",exact:!0,parentId:"1",id:"446"},447:{path:"/pathsoverview",exact:!0,parentId:"1",id:"447"},448:{path:"/shixunsoverview",exact:!0,parentId:"1",id:"448"},449:{path:"/classroomsoverview",exact:!0,parentId:"1",id:"449"},450:{path:"/login",parentId:"1",id:"450"},451:{path:"/login",parentId:"450",id:"451"},452:{path:"/user",parentId:"1",id:"452"},453:{path:"/user/login",parentId:"452",id:"453"},454:{path:"/user/register",parentId:"452",id:"454"},455:{path:"/user/reset-password",parentId:"452",id:"455"},456:{path:"/colleges",parentId:"1",id:"456"},457:{path:"/colleges/:id/statistics",parentId:"456",id:"457"},458:{path:"/help",parentId:"1",id:"458"},459:{path:"/help/:id",parentId:"458",id:"459"},460:{path:"/video",parentId:"1",id:"460"},461:{path:"/video/:videoId",parentId:"460",id:"461"},462:{path:"/terminal",parentId:"1",id:"462"},463:{path:"/report/:taskId/:game_report_id",parentId:"1",id:"463"},464:{path:"/",parentId:"1",id:"464"},465:{path:"/",exact:!0,parentId:"464",id:"465"},466:{path:"/api/*",exact:!0,parentId:"464",id:"466"},467:{path:"/search",exact:!0,parentId:"464",id:"467"},468:{path:"/moop_cases",exact:!0,parentId:"464",id:"468"},469:{path:"/moop_cases/new",exact:!0,parentId:"464",id:"469"},470:{path:"/moop_cases/:caseId",exact:!0,parentId:"464",id:"470"},471:{path:"/moop_cases/:caseId/edit",exact:!0,parentId:"464",id:"471"},472:{path:"/moop_cases/:caseId/publish-success",exact:!0,parentId:"464",id:"472"},473:{path:"/randompaper",exact:!0,parentId:"464",id:"473"},474:{path:"/randompaper/edit/:id",exact:!0,parentId:"464",id:"474"},475:{path:"/randompaper/detail/:id",exact:!0,parentId:"464",id:"475"},476:{path:"/403",parentId:"464",id:"476"},477:{path:"/500",parentId:"464",id:"477"},478:{path:"/404",parentId:"464",id:"478"},479:{path:"/download",parentId:"464",id:"479"},480:{path:"/iwce",parentId:"464",id:"480"},481:{path:"/classrooms/:coursesId/attendance/TeacherSign",parentId:"464",id:"481"},482:{path:"/classrooms/:coursesId/attendance/:categoryId",parentId:"464",id:"482"},483:{path:"/Activities",parentId:"464",id:"483"},484:{path:"/admin/vgpu/:path*",parentId:"464",id:"484"},485:{path:"/iwce/:itemname",parentId:"464",id:"485"},486:{path:"/hpc-course",parentId:"464",id:"486"},487:{path:"/user_agents",parentId:"464",id:"487"},488:{path:"/three",parentId:"464",id:"488"},489:{path:"/introduction",parentId:"464",id:"489"},490:{path:"/chatgpt",parentId:"464",id:"490"},491:{path:"/*",parentId:"464",id:"491"},"@@/global-layout":{id:"@@/global-layout",path:"/",isLayout:!0}},routeComponents:{1:je.lazy(()=>__webpack_require__.e(7121).then(__webpack_require__.bind(__webpack_require__,17121))),2:je.lazy(()=>Promise.all([__webpack_require__.e(7533),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,28662))),3:je.lazy(()=>Promise.all([__webpack_require__.e(7533),__webpack_require__.e(4862)]).then(__webpack_require__.bind(__webpack_require__,90243))),4:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(7533),__webpack_require__.e(3260)]).then(__webpack_require__.bind(__webpack_require__,20556))),5:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(7533),__webpack_require__.e(3260)]).then(__webpack_require__.bind(__webpack_require__,20556))),6:je.lazy(()=>__webpack_require__.e(3247).then(__webpack_require__.bind(__webpack_require__,80291))),7:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(7533),__webpack_require__.e(6200),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,68587))),8:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(7533),__webpack_require__.e(6200),__webpack_require__.e(1545)]).then(__webpack_require__.bind(__webpack_require__,93114))),9:je.lazy(()=>Promise.all([__webpack_require__.e(7533),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,28662))),10:je.lazy(()=>__webpack_require__.e(6052).then(__webpack_require__.bind(__webpack_require__,57655))),11:je.lazy(()=>__webpack_require__.e(5572).then(__webpack_require__.bind(__webpack_require__,51221))),12:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(8982)]).then(__webpack_require__.bind(__webpack_require__,1916))),13:je.lazy(()=>__webpack_require__.e(869).then(__webpack_require__.bind(__webpack_require__,85941))),14:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(6411),__webpack_require__.e(3332)]).then(__webpack_require__.bind(__webpack_require__,81477))),15:je.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(4601)]).then(__webpack_require__.bind(__webpack_require__,25953))),16:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(8982)]).then(__webpack_require__.bind(__webpack_require__,1916))),17:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(7533),__webpack_require__.e(6200),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,68587))),18:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(7533),__webpack_require__.e(6200),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,68587))),19:je.lazy(()=>Promise.all([__webpack_require__.e(7533),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,28662))),20:je.lazy(()=>__webpack_require__.e(6685).then(__webpack_require__.bind(__webpack_require__,59799))),21:je.lazy(()=>__webpack_require__.e(9921).then(__webpack_require__.bind(__webpack_require__,99603))),22:je.lazy(()=>__webpack_require__.e(1674).then(__webpack_require__.bind(__webpack_require__,85412))),23:je.lazy(()=>__webpack_require__.e(6685).then(__webpack_require__.bind(__webpack_require__,59799))),24:je.lazy(()=>__webpack_require__.e(1702).then(__webpack_require__.bind(__webpack_require__,48749))),25:je.lazy(()=>__webpack_require__.e(1702).then(__webpack_require__.bind(__webpack_require__,48749))),26:je.lazy(()=>__webpack_require__.e(6882).then(__webpack_require__.bind(__webpack_require__,29187))),27:je.lazy(()=>__webpack_require__.e(6882).then(__webpack_require__.bind(__webpack_require__,29187))),28:je.lazy(()=>__webpack_require__.e(109).then(__webpack_require__.bind(__webpack_require__,42978))),29:je.lazy(()=>__webpack_require__.e(737).then(__webpack_require__.bind(__webpack_require__,20408))),30:je.lazy(()=>__webpack_require__.e(3391).then(__webpack_require__.bind(__webpack_require__,39539))),31:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(6411),__webpack_require__.e(3581)]).then(__webpack_require__.bind(__webpack_require__,72189))),32:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(6411),__webpack_require__.e(342)]).then(__webpack_require__.bind(__webpack_require__,17578))),33:je.lazy(()=>Promise.all([__webpack_require__.e(7533),__webpack_require__.e(2303)]).then(__webpack_require__.bind(__webpack_require__,53281))),34:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(1450)]).then(__webpack_require__.bind(__webpack_require__,11749))),35:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(195)]).then(__webpack_require__.bind(__webpack_require__,26847))),36:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(3668)]).then(__webpack_require__.bind(__webpack_require__,17849))),37:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(7533),__webpack_require__.e(2338)]).then(__webpack_require__.bind(__webpack_require__,53612))),38:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(4662)]).then(__webpack_require__.bind(__webpack_require__,52786))),39:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(8072)]).then(__webpack_require__.bind(__webpack_require__,68698))),40:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(479)]).then(__webpack_require__.bind(__webpack_require__,12459))),41:je.lazy(()=>__webpack_require__.e(5297).then(__webpack_require__.bind(__webpack_require__,57806))),42:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(6411),__webpack_require__.e(4164)]).then(__webpack_require__.bind(__webpack_require__,75774))),43:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(7533),__webpack_require__.e(6200),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,68587))),44:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(4553),__webpack_require__.e(4889)]).then(__webpack_require__.bind(__webpack_require__,83624))),45:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(4553),__webpack_require__.e(4105)]).then(__webpack_require__.bind(__webpack_require__,58232))),46:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(7883)]).then(__webpack_require__.bind(__webpack_require__,5781))),47:je.lazy(()=>__webpack_require__.e(7482).then(__webpack_require__.bind(__webpack_require__,92235))),48:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(5816)]).then(__webpack_require__.bind(__webpack_require__,35199))),49:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(337)]).then(__webpack_require__.bind(__webpack_require__,98580))),50:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(7533),__webpack_require__.e(292)]).then(__webpack_require__.bind(__webpack_require__,83927))),51:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(7533),__webpack_require__.e(292)]).then(__webpack_require__.bind(__webpack_require__,83927))),52:je.lazy(()=>__webpack_require__.e(5992).then(__webpack_require__.bind(__webpack_require__,92974))),53:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(6411),__webpack_require__.e(7533),__webpack_require__.e(8085)]).then(__webpack_require__.bind(__webpack_require__,94113))),54:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(6411),__webpack_require__.e(7533),__webpack_require__.e(8085)]).then(__webpack_require__.bind(__webpack_require__,94113))),55:je.lazy(()=>__webpack_require__.e(8431).then(__webpack_require__.bind(__webpack_require__,89607))),56:je.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5902)]).then(__webpack_require__.bind(__webpack_require__,34887))),57:je.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(3433)]).then(__webpack_require__.bind(__webpack_require__,36755))),58:je.lazy(()=>__webpack_require__.e(5125).then(__webpack_require__.bind(__webpack_require__,23888))),59:je.lazy(()=>__webpack_require__.e(5125).then(__webpack_require__.bind(__webpack_require__,23888))),60:je.lazy(()=>__webpack_require__.e(921).then(__webpack_require__.bind(__webpack_require__,20861))),61:je.lazy(()=>__webpack_require__.e(921).then(__webpack_require__.bind(__webpack_require__,20861))),62:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(1578)]).then(__webpack_require__.bind(__webpack_require__,78348))),63:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(3317)]).then(__webpack_require__.bind(__webpack_require__,57383))),64:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(1482)]).then(__webpack_require__.bind(__webpack_require__,86608))),65:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(4795)]).then(__webpack_require__.bind(__webpack_require__,23279))),66:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(26)]).then(__webpack_require__.bind(__webpack_require__,17747))),67:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(8882)]).then(__webpack_require__.bind(__webpack_require__,25585))),68:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(5888)]).then(__webpack_require__.bind(__webpack_require__,18647))),69:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(9715)]).then(__webpack_require__.bind(__webpack_require__,96377))),70:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(7045)]).then(__webpack_require__.bind(__webpack_require__,83537))),71:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(1211)]).then(__webpack_require__.bind(__webpack_require__,50475))),72:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(1582)]).then(__webpack_require__.bind(__webpack_require__,13511))),73:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(6729)]).then(__webpack_require__.bind(__webpack_require__,25981))),74:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(9695)]).then(__webpack_require__.bind(__webpack_require__,74410))),75:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(8723)]).then(__webpack_require__.bind(__webpack_require__,70829))),76:je.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(7622)]).then(__webpack_require__.bind(__webpack_require__,23396))),77:je.lazy(()=>__webpack_require__.e(5148).then(__webpack_require__.bind(__webpack_require__,97862))),78:je.lazy(()=>__webpack_require__.e(643).then(__webpack_require__.bind(__webpack_require__,60038))),79:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(3442)]).then(__webpack_require__.bind(__webpack_require__,77678))),80:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(2102)]).then(__webpack_require__.bind(__webpack_require__,94544))),81:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(2425)]).then(__webpack_require__.bind(__webpack_require__,31345))),82:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(2404)]).then(__webpack_require__.bind(__webpack_require__,37165))),83:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(9785)]).then(__webpack_require__.bind(__webpack_require__,47590))),84:je.lazy(()=>__webpack_require__.e(869).then(__webpack_require__.bind(__webpack_require__,85941))),85:je.lazy(()=>__webpack_require__.e(2819).then(__webpack_require__.bind(__webpack_require__,79991))),86:je.lazy(()=>__webpack_require__.e(1512).then(__webpack_require__.bind(__webpack_require__,7351))),87:je.lazy(()=>__webpack_require__.e(7395).then(__webpack_require__.bind(__webpack_require__,63257))),88:je.lazy(()=>__webpack_require__.e(3585).then(__webpack_require__.bind(__webpack_require__,11956))),89:je.lazy(()=>__webpack_require__.e(6963).then(__webpack_require__.bind(__webpack_require__,25421))),90:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(4030)]).then(__webpack_require__.bind(__webpack_require__,58021))),91:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(4030)]).then(__webpack_require__.bind(__webpack_require__,58021))),92:je.lazy(()=>__webpack_require__.e(6127).then(__webpack_require__.bind(__webpack_require__,73947))),93:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(3951)]).then(__webpack_require__.bind(__webpack_require__,93931))),94:je.lazy(()=>__webpack_require__.e(1048).then(__webpack_require__.bind(__webpack_require__,8361))),95:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(2884)]).then(__webpack_require__.bind(__webpack_require__,21524))),96:je.lazy(()=>__webpack_require__.e(4770).then(__webpack_require__.bind(__webpack_require__,3237))),97:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(2603)]).then(__webpack_require__.bind(__webpack_require__,13269))),98:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(4216)]).then(__webpack_require__.bind(__webpack_require__,46738))),99:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(5319)]).then(__webpack_require__.bind(__webpack_require__,9064))),100:je.lazy(()=>__webpack_require__.e(895).then(__webpack_require__.bind(__webpack_require__,71973))),101:je.lazy(()=>__webpack_require__.e(3282).then(__webpack_require__.bind(__webpack_require__,5613))),102:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(7852)]).then(__webpack_require__.bind(__webpack_require__,29887))),103:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(7852)]).then(__webpack_require__.bind(__webpack_require__,29887))),104:je.lazy(()=>__webpack_require__.e(5048).then(__webpack_require__.bind(__webpack_require__,92518))),105:je.lazy(()=>__webpack_require__.e(1043).then(__webpack_require__.bind(__webpack_require__,85207))),106:je.lazy(()=>__webpack_require__.e(1043).then(__webpack_require__.bind(__webpack_require__,85207))),107:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(5825)]).then(__webpack_require__.bind(__webpack_require__,27069))),108:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(5825)]).then(__webpack_require__.bind(__webpack_require__,27069))),109:je.lazy(()=>__webpack_require__.e(3355).then(__webpack_require__.bind(__webpack_require__,30341))),110:je.lazy(()=>__webpack_require__.e(3355).then(__webpack_require__.bind(__webpack_require__,30341))),111:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(7556),__webpack_require__.e(9890)]).then(__webpack_require__.bind(__webpack_require__,59349))),112:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(7556),__webpack_require__.e(9890)]).then(__webpack_require__.bind(__webpack_require__,59349))),113:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(7556),__webpack_require__.e(3935)]).then(__webpack_require__.bind(__webpack_require__,7321))),114:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(7556),__webpack_require__.e(3935)]).then(__webpack_require__.bind(__webpack_require__,7321))),115:je.lazy(()=>__webpack_require__.e(8014).then(__webpack_require__.bind(__webpack_require__,61089))),116:je.lazy(()=>__webpack_require__.e(8077).then(__webpack_require__.bind(__webpack_require__,2042))),117:je.lazy(()=>__webpack_require__.e(3356).then(__webpack_require__.bind(__webpack_require__,63725))),118:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(6788)]).then(__webpack_require__.bind(__webpack_require__,62733))),119:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(6788)]).then(__webpack_require__.bind(__webpack_require__,62733))),120:je.lazy(()=>__webpack_require__.e(1962).then(__webpack_require__.bind(__webpack_require__,96221))),121:je.lazy(()=>__webpack_require__.e(4928).then(__webpack_require__.bind(__webpack_require__,35207))),122:je.lazy(()=>__webpack_require__.e(1257).then(__webpack_require__.bind(__webpack_require__,8467))),123:je.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8435)]).then(__webpack_require__.bind(__webpack_require__,61356))),124:je.lazy(()=>__webpack_require__.e(8340).then(__webpack_require__.bind(__webpack_require__,16974))),125:je.lazy(()=>__webpack_require__.e(4093).then(__webpack_require__.bind(__webpack_require__,83330))),126:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(1265)]).then(__webpack_require__.bind(__webpack_require__,93108))),127:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(1265)]).then(__webpack_require__.bind(__webpack_require__,93108))),128:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(8827)]).then(__webpack_require__.bind(__webpack_require__,33003))),129:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(8827)]).then(__webpack_require__.bind(__webpack_require__,33003))),130:je.lazy(()=>__webpack_require__.e(6758).then(__webpack_require__.bind(__webpack_require__,47608))),131:je.lazy(()=>__webpack_require__.e(6758).then(__webpack_require__.bind(__webpack_require__,47608))),132:je.lazy(()=>__webpack_require__.e(9332).then(__webpack_require__.bind(__webpack_require__,95732))),133:je.lazy(()=>__webpack_require__.e(9332).then(__webpack_require__.bind(__webpack_require__,95732))),134:je.lazy(()=>__webpack_require__.e(4217).then(__webpack_require__.bind(__webpack_require__,94094))),135:je.lazy(()=>__webpack_require__.e(3220).then(__webpack_require__.bind(__webpack_require__,88644))),136:je.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(533)]).then(__webpack_require__.bind(__webpack_require__,89459))),137:je.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5798)]).then(__webpack_require__.bind(__webpack_require__,74818))),138:je.lazy(()=>__webpack_require__.e(7878).then(__webpack_require__.bind(__webpack_require__,99155))),139:je.lazy(()=>__webpack_require__.e(7878).then(__webpack_require__.bind(__webpack_require__,99155))),140:je.lazy(()=>__webpack_require__.e(9944).then(__webpack_require__.bind(__webpack_require__,58660))),141:je.lazy(()=>__webpack_require__.e(8302).then(__webpack_require__.bind(__webpack_require__,65218))),142:je.lazy(()=>__webpack_require__.e(8302).then(__webpack_require__.bind(__webpack_require__,65218))),143:je.lazy(()=>__webpack_require__.e(8634).then(__webpack_require__.bind(__webpack_require__,42141))),144:je.lazy(()=>__webpack_require__.e(8634).then(__webpack_require__.bind(__webpack_require__,42141))),145:je.lazy(()=>__webpack_require__.e(7922).then(__webpack_require__.bind(__webpack_require__,15182))),146:je.lazy(()=>__webpack_require__.e(1727).then(__webpack_require__.bind(__webpack_require__,12097))),147:je.lazy(()=>__webpack_require__.e(1727).then(__webpack_require__.bind(__webpack_require__,12097))),148:je.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(1427)]).then(__webpack_require__.bind(__webpack_require__,55733))),149:je.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(1427)]).then(__webpack_require__.bind(__webpack_require__,55733))),150:je.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8689)]).then(__webpack_require__.bind(__webpack_require__,30927))),151:je.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(7806)]).then(__webpack_require__.bind(__webpack_require__,67718))),152:je.lazy(()=>__webpack_require__.e(3276).then(__webpack_require__.bind(__webpack_require__,24309))),153:je.lazy(()=>__webpack_require__.e(8885).then(__webpack_require__.bind(__webpack_require__,23571))),154:je.lazy(()=>__webpack_require__.e(3451).then(__webpack_require__.bind(__webpack_require__,6011))),155:je.lazy(()=>__webpack_require__.e(9922).then(__webpack_require__.bind(__webpack_require__,50376))),156:je.lazy(()=>__webpack_require__.e(4572).then(__webpack_require__.bind(__webpack_require__,25156))),157:je.lazy(()=>__webpack_require__.e(4017).then(__webpack_require__.bind(__webpack_require__,1505))),158:je.lazy(()=>__webpack_require__.e(5518).then(__webpack_require__.bind(__webpack_require__,13595))),159:je.lazy(()=>Promise.all([__webpack_require__.e(7533),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,28662))),160:je.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(4671),__webpack_require__.e(6883)]).then(__webpack_require__.bind(__webpack_require__,63170))),161:je.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(4671),__webpack_require__.e(6883)]).then(__webpack_require__.bind(__webpack_require__,63170))),162:je.lazy(()=>__webpack_require__.e(4449).then(__webpack_require__.bind(__webpack_require__,79650))),163:je.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(4671),__webpack_require__.e(6883)]).then(__webpack_require__.bind(__webpack_require__,63170))),164:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(1555),__webpack_require__.e(2570)]).then(__webpack_require__.bind(__webpack_require__,72581))),165:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(1555),__webpack_require__.e(2570)]).then(__webpack_require__.bind(__webpack_require__,72581))),166:je.lazy(()=>__webpack_require__.e(8787).then(__webpack_require__.bind(__webpack_require__,83644))),167:je.lazy(()=>__webpack_require__.e(5650).then(__webpack_require__.bind(__webpack_require__,37509))),168:je.lazy(()=>__webpack_require__.e(1799).then(__webpack_require__.bind(__webpack_require__,50072))),169:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(1555),__webpack_require__.e(8797)]).then(__webpack_require__.bind(__webpack_require__,28512))),170:je.lazy(()=>Promise.all([__webpack_require__.e(7533),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,28662))),171:je.lazy(()=>__webpack_require__.e(8639).then(__webpack_require__.bind(__webpack_require__,84108))),172:je.lazy(()=>__webpack_require__.e(2983).then(__webpack_require__.bind(__webpack_require__,87119))),173:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(4264)]).then(__webpack_require__.bind(__webpack_require__,8979))),174:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(4264)]).then(__webpack_require__.bind(__webpack_require__,8979))),175:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(508)]).then(__webpack_require__.bind(__webpack_require__,67810))),176:je.lazy(()=>Promise.all([__webpack_require__.e(7533),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,28662))),177:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(7533),__webpack_require__.e(6200),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,68587))),178:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(7533),__webpack_require__.e(1953)]).then(__webpack_require__.bind(__webpack_require__,73271))),179:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(7533),__webpack_require__.e(1953)]).then(__webpack_require__.bind(__webpack_require__,73271))),180:je.lazy(()=>__webpack_require__.e(1581).then(__webpack_require__.bind(__webpack_require__,70768))),181:je.lazy(()=>__webpack_require__.e(4144).then(__webpack_require__.bind(__webpack_require__,83839))),182:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(7533),__webpack_require__.e(6200),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,68587))),183:je.lazy(()=>Promise.all([__webpack_require__.e(7533),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,28662))),184:je.lazy(()=>__webpack_require__.e(8782).then(__webpack_require__.bind(__webpack_require__,23186))),185:je.lazy(()=>__webpack_require__.e(7884).then(__webpack_require__.bind(__webpack_require__,86754))),186:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(7008)]).then(__webpack_require__.bind(__webpack_require__,75894))),187:je.lazy(()=>__webpack_require__.e(5549).then(__webpack_require__.bind(__webpack_require__,57587))),188:je.lazy(()=>__webpack_require__.e(9674).then(__webpack_require__.bind(__webpack_require__,20097))),189:je.lazy(()=>__webpack_require__.e(5573).then(__webpack_require__.bind(__webpack_require__,92169))),190:je.lazy(()=>__webpack_require__.e(2141).then(__webpack_require__.bind(__webpack_require__,8655))),191:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(6411),__webpack_require__.e(6316),__webpack_require__.e(6277)]).then(__webpack_require__.bind(__webpack_require__,68014))),192:je.lazy(()=>__webpack_require__.e(6328).then(__webpack_require__.bind(__webpack_require__,26595))),193:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(7857)]).then(__webpack_require__.bind(__webpack_require__,38498))),194:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(7533),__webpack_require__.e(1657)]).then(__webpack_require__.bind(__webpack_require__,32116))),195:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(7533),__webpack_require__.e(1657)]).then(__webpack_require__.bind(__webpack_require__,32116))),196:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(7533),__webpack_require__.e(4498)]).then(__webpack_require__.bind(__webpack_require__,33712))),197:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(7533),__webpack_require__.e(4498)]).then(__webpack_require__.bind(__webpack_require__,33712))),198:je.lazy(()=>__webpack_require__.e(9205).then(__webpack_require__.bind(__webpack_require__,15392))),199:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(1423)]).then(__webpack_require__.bind(__webpack_require__,64425))),200:je.lazy(()=>__webpack_require__.e(7614).then(__webpack_require__.bind(__webpack_require__,21646))),201:je.lazy(()=>__webpack_require__.e(2875).then(__webpack_require__.bind(__webpack_require__,52938))),202:je.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(9133)]).then(__webpack_require__.bind(__webpack_require__,99178))),203:je.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8688)]).then(__webpack_require__.bind(__webpack_require__,66997))),204:je.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8688)]).then(__webpack_require__.bind(__webpack_require__,66997))),205:je.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5470)]).then(__webpack_require__.bind(__webpack_require__,52956))),206:je.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(6541)]).then(__webpack_require__.bind(__webpack_require__,81872))),207:je.lazy(()=>Promise.all([__webpack_require__.e(6316),__webpack_require__.e(1475)]).then(__webpack_require__.bind(__webpack_require__,33336))),208:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(6411),__webpack_require__.e(2254)]).then(__webpack_require__.bind(__webpack_require__,12053))),209:je.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(9408)]).then(__webpack_require__.bind(__webpack_require__,46817))),210:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(6411),__webpack_require__.e(6845)]).then(__webpack_require__.bind(__webpack_require__,76892))),211:je.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(4884)]).then(__webpack_require__.bind(__webpack_require__,98385))),212:je.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(4884)]).then(__webpack_require__.bind(__webpack_require__,98385))),213:je.lazy(()=>__webpack_require__.e(1148).then(__webpack_require__.bind(__webpack_require__,90638))),214:je.lazy(()=>__webpack_require__.e(1148).then(__webpack_require__.bind(__webpack_require__,90638))),215:je.lazy(()=>__webpack_require__.e(7046).then(__webpack_require__.bind(__webpack_require__,61026))),216:je.lazy(()=>__webpack_require__.e(7046).then(__webpack_require__.bind(__webpack_require__,61026))),217:je.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8688)]).then(__webpack_require__.bind(__webpack_require__,66997))),218:je.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8688)]).then(__webpack_require__.bind(__webpack_require__,66997))),219:je.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5096)]).then(__webpack_require__.bind(__webpack_require__,84348))),220:je.lazy(()=>__webpack_require__.e(9215).then(__webpack_require__.bind(__webpack_require__,84622))),221:je.lazy(()=>Promise.all([__webpack_require__.e(7533),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,28662))),222:je.lazy(()=>__webpack_require__.e(5176).then(__webpack_require__.bind(__webpack_require__,85271))),223:je.lazy(()=>__webpack_require__.e(6587).then(__webpack_require__.bind(__webpack_require__,27239))),224:je.lazy(()=>__webpack_require__.e(9891).then(__webpack_require__.bind(__webpack_require__,44680))),225:je.lazy(()=>__webpack_require__.e(8062).then(__webpack_require__.bind(__webpack_require__,25682))),226:je.lazy(()=>__webpack_require__.e(5402).then(__webpack_require__.bind(__webpack_require__,25166))),227:je.lazy(()=>__webpack_require__.e(5402).then(__webpack_require__.bind(__webpack_require__,25166))),228:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(6820)]).then(__webpack_require__.bind(__webpack_require__,8450))),229:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(8517)]).then(__webpack_require__.bind(__webpack_require__,15612))),230:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(7043)]).then(__webpack_require__.bind(__webpack_require__,99667))),231:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(2806)]).then(__webpack_require__.bind(__webpack_require__,81279))),232:je.lazy(()=>__webpack_require__.e(5043).then(__webpack_require__.bind(__webpack_require__,67391))),233:je.lazy(()=>__webpack_require__.e(799).then(__webpack_require__.bind(__webpack_require__,61121))),234:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(3157)]).then(__webpack_require__.bind(__webpack_require__,98216))),235:je.lazy(()=>__webpack_require__.e(2529).then(__webpack_require__.bind(__webpack_require__,12473))),236:je.lazy(()=>__webpack_require__.e(6583).then(__webpack_require__.bind(__webpack_require__,92490))),237:je.lazy(()=>__webpack_require__.e(5895).then(__webpack_require__.bind(__webpack_require__,69555))),238:je.lazy(()=>__webpack_require__.e(6982).then(__webpack_require__.bind(__webpack_require__,87644))),239:je.lazy(()=>__webpack_require__.e(6805).then(__webpack_require__.bind(__webpack_require__,71954))),240:je.lazy(()=>__webpack_require__.e(1416).then(__webpack_require__.bind(__webpack_require__,15501))),241:je.lazy(()=>__webpack_require__.e(6583).then(__webpack_require__.bind(__webpack_require__,92490))),242:je.lazy(()=>__webpack_require__.e(8307).then(__webpack_require__.bind(__webpack_require__,35216))),243:je.lazy(()=>__webpack_require__.e(2826).then(__webpack_require__.bind(__webpack_require__,19907))),244:je.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(2659)]).then(__webpack_require__.bind(__webpack_require__,79838))),245:je.lazy(()=>__webpack_require__.e(4610).then(__webpack_require__.bind(__webpack_require__,76584))),246:je.lazy(()=>__webpack_require__.e(9590).then(__webpack_require__.bind(__webpack_require__,12876))),247:je.lazy(()=>__webpack_require__.e(2076).then(__webpack_require__.bind(__webpack_require__,70567))),248:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(4849)]).then(__webpack_require__.bind(__webpack_require__,62135))),249:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(310)]).then(__webpack_require__.bind(__webpack_require__,38903))),250:je.lazy(()=>__webpack_require__.e(5191).then(__webpack_require__.bind(__webpack_require__,64001))),251:je.lazy(()=>__webpack_require__.e(3496).then(__webpack_require__.bind(__webpack_require__,62629))),252:je.lazy(()=>__webpack_require__.e(7948).then(__webpack_require__.bind(__webpack_require__,7494))),253:je.lazy(()=>__webpack_require__.e(9519).then(__webpack_require__.bind(__webpack_require__,12817))),254:je.lazy(()=>__webpack_require__.e(5599).then(__webpack_require__.bind(__webpack_require__,52832))),255:je.lazy(()=>__webpack_require__.e(4736).then(__webpack_require__.bind(__webpack_require__,23e3))),256:je.lazy(()=>__webpack_require__.e(2412).then(__webpack_require__.bind(__webpack_require__,42496))),257:je.lazy(()=>__webpack_require__.e(2240).then(__webpack_require__.bind(__webpack_require__,51891))),258:je.lazy(()=>__webpack_require__.e(265).then(__webpack_require__.bind(__webpack_require__,31159))),259:je.lazy(()=>__webpack_require__.e(9360).then(__webpack_require__.bind(__webpack_require__,56773))),260:je.lazy(()=>__webpack_require__.e(2396).then(__webpack_require__.bind(__webpack_require__,88126))),261:je.lazy(()=>__webpack_require__.e(7855).then(__webpack_require__.bind(__webpack_require__,30139))),262:je.lazy(()=>__webpack_require__.e(9507).then(__webpack_require__.bind(__webpack_require__,25656))),263:je.lazy(()=>__webpack_require__.e(1343).then(__webpack_require__.bind(__webpack_require__,87030))),264:je.lazy(()=>__webpack_require__.e(7121).then(__webpack_require__.bind(__webpack_require__,17121))),265:je.lazy(()=>Promise.all([__webpack_require__.e(7533),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,28662))),266:je.lazy(()=>__webpack_require__.e(9647).then(__webpack_require__.bind(__webpack_require__,22691))),267:je.lazy(()=>__webpack_require__.e(485).then(__webpack_require__.bind(__webpack_require__,19428))),268:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(4741)]).then(__webpack_require__.bind(__webpack_require__,28013))),269:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(4741)]).then(__webpack_require__.bind(__webpack_require__,28013))),270:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(4994)]).then(__webpack_require__.bind(__webpack_require__,94038))),271:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(4994)]).then(__webpack_require__.bind(__webpack_require__,94038))),272:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(7460)]).then(__webpack_require__.bind(__webpack_require__,63342))),273:je.lazy(()=>__webpack_require__.e(9716).then(__webpack_require__.bind(__webpack_require__,12889))),274:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(6913)]).then(__webpack_require__.bind(__webpack_require__,29499))),275:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(6913)]).then(__webpack_require__.bind(__webpack_require__,29499))),276:je.lazy(()=>Promise.all([__webpack_require__.e(7533),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,28662))),277:je.lazy(()=>__webpack_require__.e(3006).then(__webpack_require__.bind(__webpack_require__,28960))),278:je.lazy(()=>__webpack_require__.e(2045).then(__webpack_require__.bind(__webpack_require__,41826))),279:je.lazy(()=>__webpack_require__.e(1520).then(__webpack_require__.bind(__webpack_require__,7355))),280:je.lazy(()=>__webpack_require__.e(9649).then(__webpack_require__.bind(__webpack_require__,93477))),281:je.lazy(()=>__webpack_require__.e(4546).then(__webpack_require__.bind(__webpack_require__,82739))),282:je.lazy(()=>__webpack_require__.e(5357).then(__webpack_require__.bind(__webpack_require__,77325))),283:je.lazy(()=>__webpack_require__.e(8665).then(__webpack_require__.bind(__webpack_require__,84547))),284:je.lazy(()=>__webpack_require__.e(3183).then(__webpack_require__.bind(__webpack_require__,37010))),285:je.lazy(()=>__webpack_require__.e(4800).then(__webpack_require__.bind(__webpack_require__,65831))),286:je.lazy(()=>__webpack_require__.e(9489).then(__webpack_require__.bind(__webpack_require__,17025))),287:je.lazy(()=>__webpack_require__.e(9391).then(__webpack_require__.bind(__webpack_require__,18186))),288:je.lazy(()=>__webpack_require__.e(5335).then(__webpack_require__.bind(__webpack_require__,40548))),289:je.lazy(()=>__webpack_require__.e(2823).then(__webpack_require__.bind(__webpack_require__,96906))),290:je.lazy(()=>__webpack_require__.e(4973).then(__webpack_require__.bind(__webpack_require__,66395))),291:je.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(6651)]).then(__webpack_require__.bind(__webpack_require__,4186))),292:je.lazy(()=>__webpack_require__.e(6741).then(__webpack_require__.bind(__webpack_require__,55527))),293:je.lazy(()=>__webpack_require__.e(5775).then(__webpack_require__.bind(__webpack_require__,3238))),294:je.lazy(()=>__webpack_require__.e(2548).then(__webpack_require__.bind(__webpack_require__,11955))),295:je.lazy(()=>__webpack_require__.e(7121).then(__webpack_require__.bind(__webpack_require__,17121))),296:je.lazy(()=>Promise.all([__webpack_require__.e(7533),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,28662))),297:je.lazy(()=>__webpack_require__.e(6634).then(__webpack_require__.bind(__webpack_require__,40825))),298:je.lazy(()=>__webpack_require__.e(680).then(__webpack_require__.bind(__webpack_require__,98874))),299:je.lazy(()=>__webpack_require__.e(6366).then(__webpack_require__.bind(__webpack_require__,39434))),300:je.lazy(()=>__webpack_require__.e(6452).then(__webpack_require__.bind(__webpack_require__,1189))),301:je.lazy(()=>__webpack_require__.e(1070).then(__webpack_require__.bind(__webpack_require__,48910))),302:je.lazy(()=>__webpack_require__.e(7242).then(__webpack_require__.bind(__webpack_require__,16075))),303:je.lazy(()=>__webpack_require__.e(2707).then(__webpack_require__.bind(__webpack_require__,56890))),304:je.lazy(()=>__webpack_require__.e(2865).then(__webpack_require__.bind(__webpack_require__,94574))),305:je.lazy(()=>__webpack_require__.e(6784).then(__webpack_require__.bind(__webpack_require__,12337))),306:je.lazy(()=>__webpack_require__.e(6784).then(__webpack_require__.bind(__webpack_require__,12337))),307:je.lazy(()=>__webpack_require__.e(3141).then(__webpack_require__.bind(__webpack_require__,54573))),308:je.lazy(()=>__webpack_require__.e(7121).then(__webpack_require__.bind(__webpack_require__,17121))),309:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(6411),__webpack_require__.e(7533),__webpack_require__.e(3665)]).then(__webpack_require__.bind(__webpack_require__,39660))),310:je.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(7533),__webpack_require__.e(700)]).then(__webpack_require__.bind(__webpack_require__,36402))),311:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(6411),__webpack_require__.e(7533),__webpack_require__.e(3665)]).then(__webpack_require__.bind(__webpack_require__,39660))),312:je.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(7533),__webpack_require__.e(700)]).then(__webpack_require__.bind(__webpack_require__,36402))),313:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(6411),__webpack_require__.e(7533),__webpack_require__.e(3665)]).then(__webpack_require__.bind(__webpack_require__,39660))),314:je.lazy(()=>__webpack_require__.e(7121).then(__webpack_require__.bind(__webpack_require__,17121))),315:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(7527)]).then(__webpack_require__.bind(__webpack_require__,58193))),316:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(6270)]).then(__webpack_require__.bind(__webpack_require__,91153))),317:je.lazy(()=>Promise.all([__webpack_require__.e(7533),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,28662))),318:je.lazy(()=>__webpack_require__.e(547).then(__webpack_require__.bind(__webpack_require__,15534))),319:je.lazy(()=>__webpack_require__.e(9788).then(__webpack_require__.bind(__webpack_require__,80222))),320:je.lazy(()=>__webpack_require__.e(576).then(__webpack_require__.bind(__webpack_require__,45929))),321:je.lazy(()=>__webpack_require__.e(7260).then(__webpack_require__.bind(__webpack_require__,30112))),322:je.lazy(()=>__webpack_require__.e(4520).then(__webpack_require__.bind(__webpack_require__,14620))),323:je.lazy(()=>__webpack_require__.e(9076).then(__webpack_require__.bind(__webpack_require__,8182))),324:je.lazy(()=>__webpack_require__.e(4514).then(__webpack_require__.bind(__webpack_require__,42910))),325:je.lazy(()=>__webpack_require__.e(4495).then(__webpack_require__.bind(__webpack_require__,43111))),326:je.lazy(()=>Promise.all([__webpack_require__.e(7533),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,28662))),327:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(928)]).then(__webpack_require__.bind(__webpack_require__,31160))),328:je.lazy(()=>__webpack_require__.e(1006).then(__webpack_require__.bind(__webpack_require__,76122))),329:je.lazy(()=>__webpack_require__.e(1006).then(__webpack_require__.bind(__webpack_require__,76122))),330:je.lazy(()=>Promise.all([__webpack_require__.e(7533),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,28662))),331:je.lazy(()=>__webpack_require__.e(1939).then(__webpack_require__.bind(__webpack_require__,49142))),332:je.lazy(()=>__webpack_require__.e(556).then(__webpack_require__.bind(__webpack_require__,56316))),333:je.lazy(()=>__webpack_require__.e(6434).then(__webpack_require__.bind(__webpack_require__,61244))),334:je.lazy(()=>__webpack_require__.e(1880).then(__webpack_require__.bind(__webpack_require__,7076))),335:je.lazy(()=>__webpack_require__.e(8237).then(__webpack_require__.bind(__webpack_require__,55642))),336:je.lazy(()=>__webpack_require__.e(3447).then(__webpack_require__.bind(__webpack_require__,38587))),337:je.lazy(()=>__webpack_require__.e(264).then(__webpack_require__.bind(__webpack_require__,93304))),338:je.lazy(()=>__webpack_require__.e(4259).then(__webpack_require__.bind(__webpack_require__,33253))),339:je.lazy(()=>Promise.all([__webpack_require__.e(7533),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,28662))),340:je.lazy(()=>__webpack_require__.e(4078).then(__webpack_require__.bind(__webpack_require__,29192))),341:je.lazy(()=>__webpack_require__.e(2829).then(__webpack_require__.bind(__webpack_require__,30750))),342:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(5359)]).then(__webpack_require__.bind(__webpack_require__,15331))),343:je.lazy(()=>Promise.all([__webpack_require__.e(7533),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,28662))),344:je.lazy(()=>__webpack_require__.e(559).then(__webpack_require__.bind(__webpack_require__,99643))),345:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(3747)]).then(__webpack_require__.bind(__webpack_require__,375))),346:je.lazy(()=>__webpack_require__.e(4757).then(__webpack_require__.bind(__webpack_require__,71535))),347:je.lazy(()=>__webpack_require__.e(1783).then(__webpack_require__.bind(__webpack_require__,3578))),348:je.lazy(()=>__webpack_require__.e(7477).then(__webpack_require__.bind(__webpack_require__,40728))),349:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(9677)]).then(__webpack_require__.bind(__webpack_require__,19707))),350:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(9677)]).then(__webpack_require__.bind(__webpack_require__,19707))),351:je.lazy(()=>__webpack_require__.e(6796).then(__webpack_require__.bind(__webpack_require__,87567))),352:je.lazy(()=>__webpack_require__.e(4504).then(__webpack_require__.bind(__webpack_require__,28045))),353:je.lazy(()=>__webpack_require__.e(7058).then(__webpack_require__.bind(__webpack_require__,3566))),354:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(8447)]).then(__webpack_require__.bind(__webpack_require__,58863))),355:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(1045)]).then(__webpack_require__.bind(__webpack_require__,29572))),356:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(1045)]).then(__webpack_require__.bind(__webpack_require__,29572))),357:je.lazy(()=>__webpack_require__.e(5238).then(__webpack_require__.bind(__webpack_require__,44145))),358:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(4715)]).then(__webpack_require__.bind(__webpack_require__,30237))),359:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(3873)]).then(__webpack_require__.bind(__webpack_require__,2334))),360:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(6069)]).then(__webpack_require__.bind(__webpack_require__,89431))),361:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(6069)]).then(__webpack_require__.bind(__webpack_require__,89431))),362:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(6265)]).then(__webpack_require__.bind(__webpack_require__,94395))),363:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(8563)]).then(__webpack_require__.bind(__webpack_require__,82167))),364:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(8563)]).then(__webpack_require__.bind(__webpack_require__,82167))),365:je.lazy(()=>__webpack_require__.e(1713).then(__webpack_require__.bind(__webpack_require__,29542))),366:je.lazy(()=>__webpack_require__.e(5891).then(__webpack_require__.bind(__webpack_require__,86082))),367:je.lazy(()=>__webpack_require__.e(8398).then(__webpack_require__.bind(__webpack_require__,49700))),368:je.lazy(()=>__webpack_require__.e(8241).then(__webpack_require__.bind(__webpack_require__,146))),369:je.lazy(()=>__webpack_require__.e(2339).then(__webpack_require__.bind(__webpack_require__,72997))),370:je.lazy(()=>__webpack_require__.e(7589).then(__webpack_require__.bind(__webpack_require__,1067))),371:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(3747)]).then(__webpack_require__.bind(__webpack_require__,375))),372:je.lazy(()=>__webpack_require__.e(5705).then(__webpack_require__.bind(__webpack_require__,91854))),373:je.lazy(()=>Promise.all([__webpack_require__.e(7533),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,28662))),374:je.lazy(()=>__webpack_require__.e(559).then(__webpack_require__.bind(__webpack_require__,99643))),375:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(3747)]).then(__webpack_require__.bind(__webpack_require__,375))),376:je.lazy(()=>__webpack_require__.e(4757).then(__webpack_require__.bind(__webpack_require__,71535))),377:je.lazy(()=>__webpack_require__.e(1783).then(__webpack_require__.bind(__webpack_require__,3578))),378:je.lazy(()=>__webpack_require__.e(7477).then(__webpack_require__.bind(__webpack_require__,40728))),379:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(9677)]).then(__webpack_require__.bind(__webpack_require__,19707))),380:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(9677)]).then(__webpack_require__.bind(__webpack_require__,19707))),381:je.lazy(()=>__webpack_require__.e(6796).then(__webpack_require__.bind(__webpack_require__,87567))),382:je.lazy(()=>__webpack_require__.e(4504).then(__webpack_require__.bind(__webpack_require__,28045))),383:je.lazy(()=>__webpack_require__.e(7058).then(__webpack_require__.bind(__webpack_require__,3566))),384:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(8447)]).then(__webpack_require__.bind(__webpack_require__,58863))),385:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(1045)]).then(__webpack_require__.bind(__webpack_require__,29572))),386:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(1045)]).then(__webpack_require__.bind(__webpack_require__,29572))),387:je.lazy(()=>__webpack_require__.e(5238).then(__webpack_require__.bind(__webpack_require__,44145))),388:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(4715)]).then(__webpack_require__.bind(__webpack_require__,30237))),389:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(3873)]).then(__webpack_require__.bind(__webpack_require__,2334))),390:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(6069)]).then(__webpack_require__.bind(__webpack_require__,89431))),391:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(6069)]).then(__webpack_require__.bind(__webpack_require__,89431))),392:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(6265)]).then(__webpack_require__.bind(__webpack_require__,94395))),393:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(8563)]).then(__webpack_require__.bind(__webpack_require__,82167))),394:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(8563)]).then(__webpack_require__.bind(__webpack_require__,82167))),395:je.lazy(()=>__webpack_require__.e(1713).then(__webpack_require__.bind(__webpack_require__,29542))),396:je.lazy(()=>__webpack_require__.e(5891).then(__webpack_require__.bind(__webpack_require__,86082))),397:je.lazy(()=>__webpack_require__.e(8398).then(__webpack_require__.bind(__webpack_require__,49700))),398:je.lazy(()=>__webpack_require__.e(8241).then(__webpack_require__.bind(__webpack_require__,146))),399:je.lazy(()=>__webpack_require__.e(2339).then(__webpack_require__.bind(__webpack_require__,72997))),400:je.lazy(()=>__webpack_require__.e(7589).then(__webpack_require__.bind(__webpack_require__,1067))),401:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(3747)]).then(__webpack_require__.bind(__webpack_require__,375))),402:je.lazy(()=>__webpack_require__.e(5705).then(__webpack_require__.bind(__webpack_require__,91854))),403:je.lazy(()=>Promise.all([__webpack_require__.e(7533),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,28662))),404:je.lazy(()=>__webpack_require__.e(4766).then(__webpack_require__.bind(__webpack_require__,1182))),405:je.lazy(()=>__webpack_require__.e(7560).then(__webpack_require__.bind(__webpack_require__,44094))),406:je.lazy(()=>__webpack_require__.e(6029).then(__webpack_require__.bind(__webpack_require__,64695))),407:je.lazy(()=>__webpack_require__.e(5179).then(__webpack_require__.bind(__webpack_require__,66218))),408:je.lazy(()=>__webpack_require__.e(4621).then(__webpack_require__.bind(__webpack_require__,56162))),409:je.lazy(()=>Promise.all([__webpack_require__.e(7533),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,28662))),410:je.lazy(()=>__webpack_require__.e(1831).then(__webpack_require__.bind(__webpack_require__,27732))),411:je.lazy(()=>__webpack_require__.e(2539).then(__webpack_require__.bind(__webpack_require__,97450))),412:je.lazy(()=>__webpack_require__.e(8143).then(__webpack_require__.bind(__webpack_require__,7772))),413:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(5624)]).then(__webpack_require__.bind(__webpack_require__,21401))),414:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(1461)]).then(__webpack_require__.bind(__webpack_require__,95200))),415:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(4492)]).then(__webpack_require__.bind(__webpack_require__,59463))),416:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(9416)]).then(__webpack_require__.bind(__webpack_require__,89898))),417:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(2443)]).then(__webpack_require__.bind(__webpack_require__,18113))),418:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(2443)]).then(__webpack_require__.bind(__webpack_require__,18113))),419:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(2443)]).then(__webpack_require__.bind(__webpack_require__,18113))),420:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(2443)]).then(__webpack_require__.bind(__webpack_require__,18113))),421:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(2443)]).then(__webpack_require__.bind(__webpack_require__,18113))),422:je.lazy(()=>__webpack_require__.e(5022).then(__webpack_require__.bind(__webpack_require__,55879))),423:je.lazy(()=>__webpack_require__.e(6063).then(__webpack_require__.bind(__webpack_require__,2389))),424:je.lazy(()=>__webpack_require__.e(6063).then(__webpack_require__.bind(__webpack_require__,2389))),425:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(7545)]).then(__webpack_require__.bind(__webpack_require__,68232))),426:je.lazy(()=>__webpack_require__.e(1253).then(__webpack_require__.bind(__webpack_require__,7220))),427:je.lazy(()=>Promise.all([__webpack_require__.e(7533),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,28662))),428:je.lazy(()=>__webpack_require__.e(2216).then(__webpack_require__.bind(__webpack_require__,36981))),429:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(5382)]).then(__webpack_require__.bind(__webpack_require__,25469))),430:je.lazy(()=>Promise.all([__webpack_require__.e(7533),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,28662))),431:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(6411),__webpack_require__.e(8823)]).then(__webpack_require__.bind(__webpack_require__,29500))),432:je.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5915)]).then(__webpack_require__.bind(__webpack_require__,15843))),433:je.lazy(()=>Promise.all([__webpack_require__.e(7533),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,28662))),434:je.lazy(()=>__webpack_require__.e(570).then(__webpack_require__.bind(__webpack_require__,29625))),435:je.lazy(()=>Promise.all([__webpack_require__.e(7533),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,28662))),436:je.lazy(()=>__webpack_require__.e(8365).then(__webpack_require__.bind(__webpack_require__,72812))),437:je.lazy(()=>__webpack_require__.e(672).then(__webpack_require__.bind(__webpack_require__,42198))),438:je.lazy(()=>__webpack_require__.e(4058).then(__webpack_require__.bind(__webpack_require__,75779))),439:je.lazy(()=>Promise.all([__webpack_require__.e(7533),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,28662))),440:je.lazy(()=>__webpack_require__.e(4056).then(__webpack_require__.bind(__webpack_require__,19077))),441:je.lazy(()=>__webpack_require__.e(9487).then(__webpack_require__.bind(__webpack_require__,3184))),442:je.lazy(()=>Promise.all([__webpack_require__.e(7533),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,28662))),443:je.lazy(()=>__webpack_require__.e(532).then(__webpack_require__.bind(__webpack_require__,91437))),444:je.lazy(()=>__webpack_require__.e(7178).then(__webpack_require__.bind(__webpack_require__,23437))),445:je.lazy(()=>__webpack_require__.e(1660).then(__webpack_require__.bind(__webpack_require__,51106))),446:je.lazy(()=>__webpack_require__.e(7333).then(__webpack_require__.bind(__webpack_require__,80947))),447:je.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(4227)]).then(__webpack_require__.bind(__webpack_require__,85338))),448:je.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8155)]).then(__webpack_require__.bind(__webpack_require__,91307))),449:je.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5186)]).then(__webpack_require__.bind(__webpack_require__,43725))),450:je.lazy(()=>__webpack_require__.e(5786).then(__webpack_require__.bind(__webpack_require__,49426))),451:je.lazy(()=>__webpack_require__.e(9366).then(__webpack_require__.bind(__webpack_require__,54860))),452:je.lazy(()=>__webpack_require__.e(5972).then(__webpack_require__.bind(__webpack_require__,55782))),453:je.lazy(()=>__webpack_require__.e(9366).then(__webpack_require__.bind(__webpack_require__,54860))),454:je.lazy(()=>__webpack_require__.e(1470).then(__webpack_require__.bind(__webpack_require__,14209))),455:je.lazy(()=>__webpack_require__.e(7182).then(__webpack_require__.bind(__webpack_require__,48333))),456:je.lazy(()=>Promise.all([__webpack_require__.e(7533),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,28662))),457:je.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(2476)]).then(__webpack_require__.bind(__webpack_require__,26891))),458:je.lazy(()=>Promise.all([__webpack_require__.e(7533),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,28662))),459:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(5729)]).then(__webpack_require__.bind(__webpack_require__,16949))),460:je.lazy(()=>Promise.all([__webpack_require__.e(7533),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,28662))),461:je.lazy(()=>__webpack_require__.e(6444).then(__webpack_require__.bind(__webpack_require__,45233))),462:je.lazy(()=>__webpack_require__.e(5111).then(__webpack_require__.bind(__webpack_require__,49254))),463:je.lazy(()=>__webpack_require__.e(2307).then(__webpack_require__.bind(__webpack_require__,56737))),464:je.lazy(()=>Promise.all([__webpack_require__.e(7533),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,28662))),465:je.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(4671),__webpack_require__.e(8866)]).then(__webpack_require__.bind(__webpack_require__,35248))),466:je.lazy(()=>__webpack_require__.e(2300).then(__webpack_require__.bind(__webpack_require__,94371))),467:je.lazy(()=>__webpack_require__.e(2501).then(__webpack_require__.bind(__webpack_require__,88975))),468:je.lazy(()=>__webpack_require__.e(3212).then(__webpack_require__.bind(__webpack_require__,66062))),469:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(6904)]).then(__webpack_require__.bind(__webpack_require__,81055))),470:je.lazy(()=>__webpack_require__.e(1855).then(__webpack_require__.bind(__webpack_require__,62422))),471:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(6904)]).then(__webpack_require__.bind(__webpack_require__,81055))),472:je.lazy(()=>__webpack_require__.e(1276).then(__webpack_require__.bind(__webpack_require__,65433))),473:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(5816)]).then(__webpack_require__.bind(__webpack_require__,35199))),474:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(5816)]).then(__webpack_require__.bind(__webpack_require__,35199))),475:je.lazy(()=>__webpack_require__.e(3784).then(__webpack_require__.bind(__webpack_require__,81867))),476:je.lazy(()=>__webpack_require__.e(3862).then(__webpack_require__.bind(__webpack_require__,95545))),477:je.lazy(()=>__webpack_require__.e(4565).then(__webpack_require__.bind(__webpack_require__,69711))),478:je.lazy(()=>__webpack_require__.e(6531).then(__webpack_require__.bind(__webpack_require__,725))),479:je.lazy(()=>__webpack_require__.e(6170).then(__webpack_require__.bind(__webpack_require__,84891))),480:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(4496)]).then(__webpack_require__.bind(__webpack_require__,63276))),481:je.lazy(()=>__webpack_require__.e(1836).then(__webpack_require__.bind(__webpack_require__,42797))),482:je.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8435)]).then(__webpack_require__.bind(__webpack_require__,61356))),483:je.lazy(()=>__webpack_require__.e(3509).then(__webpack_require__.bind(__webpack_require__,88650))),484:je.lazy(()=>__webpack_require__.e(1344).then(__webpack_require__.bind(__webpack_require__,96046))),485:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(4496)]).then(__webpack_require__.bind(__webpack_require__,63276))),486:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(4496)]).then(__webpack_require__.bind(__webpack_require__,63276))),487:je.lazy(()=>__webpack_require__.e(6034).then(__webpack_require__.bind(__webpack_require__,76665))),488:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(8999)]).then(__webpack_require__.bind(__webpack_require__,66427))),489:je.lazy(()=>__webpack_require__.e(3910).then(__webpack_require__.bind(__webpack_require__,8390))),490:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(67)]).then(__webpack_require__.bind(__webpack_require__,57892))),491:je.lazy(()=>__webpack_require__.e(6531).then(__webpack_require__.bind(__webpack_require__,725))),"@@/global-layout":je.lazy(()=>__webpack_require__.e(1717).then(__webpack_require__.bind(__webpack_require__,41492)))}}})}var T=__webpack_require__(19964),D=__webpack_require__(59098),L=__webpack_require__(71418),me=__webpack_require__(24957),ke=()=>je.createElement(L.Z,{size:"middle",className:me.Z.loading}),sn=__webpack_require__(76560),Yn=__webpack_require__(61186),mn=__webpack_require__.n(Yn),ji=__webpack_require__(91392),Wa=__webpack_require__.n(ji),Ga=__webpack_require__(34749),Uo=__webpack_require__.n(Ga),Ss=__webpack_require__(19277),Qs=__webpack_require__.n(Ss),zs=__webpack_require__(10238),Mc=__webpack_require__.n(zs),tf=__webpack_require__(33656),vc=__webpack_require__.n(tf),rf=__webpack_require__(90111),Dl=__webpack_require__.n(rf),Ui=__webpack_require__(74959),Xl=__webpack_require__.n(Ui),Cu=__webpack_require__(23250),so=__webpack_require__.n(Cu),wo=__webpack_require__(58862),bs=__webpack_require__.n(wo),Ol=__webpack_require__(58319),Ql=__webpack_require__.n(Ol),Fc=__webpack_require__(62053),kl=__webpack_require__.n(Fc),Ru=__webpack_require__(47477),nf=__webpack_require__.n(Ru),af=__webpack_require__(59717),Rl=__webpack_require__.n(af);mn().extend(Uo()),mn().extend(Qs()),mn().extend(Mc()),mn().extend(vc()),mn().extend(Dl()),mn().extend(Xl()),mn().extend(so()),mn().extend(bs()),mn().extend(Ql()),mn().extend(kl()),mn().extend(nf()),mn().extend(Rl()),mn().extend(Wa());var Bc=Object.defineProperty,gc=Object.getOwnPropertySymbols,sf=Object.prototype.hasOwnProperty,mu=Object.prototype.propertyIsEnumerable,xl=(Rn,ti,Wi)=>ti in Rn?Bc(Rn,ti,{enumerable:!0,configurable:!0,writable:!0,value:Wi}):Rn[ti]=Wi,ql=(Rn,ti)=>{for(var Wi in ti||(ti={}))sf.call(ti,Wi)&&xl(Rn,Wi,ti[Wi]);if(gc)for(var Wi of gc(ti))mu.call(ti,Wi)&&xl(Rn,Wi,ti[Wi]);return Rn},Jl=(Rn,ti,Wi)=>new Promise((Ba,aa)=>{var Ca=ua=>{try{As(Wi.next(ua))}catch(Cs){aa(Cs)}},Oa=ua=>{try{As(Wi.throw(ua))}catch(Cs){aa(Cs)}},As=ua=>ua.done?Ba(ua.value):Promise.resolve(ua.value).then(Ca,Oa);As((Wi=Wi.apply(Rn,ti)).next())});const Qu="/react/build/",yc=!1;function ec(){return Jl(this,null,function*(){const Rn=(0,T.gD)(),{routes:ti,routeComponents:Wi}=yield Ef(Rn);yield Rn.applyPlugins({key:"patchRoutes",type:sn.ApplyPluginsType.event,args:{routes:ti,routeComponents:Wi}});const Ba=Rn.applyPlugins({key:"modifyContextOpts",type:sn.ApplyPluginsType.modify,initialValue:{}}),aa=Ba.basename||"/",Ca=Ba.historyType||"browser",Oa=(0,D.fi)(ql({type:Ca,basename:aa},Ba.historyOpts));return Rn.applyPlugins({key:"render",type:sn.ApplyPluginsType.compose,initialValue(){const As={useStream:!0,routes:ti,routeComponents:Wi,pluginManager:Rn,mountElementId:"root",rootElement:Ba.rootElement||document.getElementById("root"),loadingComponent:ke,publicPath:Qu,runtimePublicPath:yc,history:Oa,historyType:Ca,basename:aa,__INTERNAL_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{pureApp:!1,pureHtml:!1},callback:Ba.callback},ua=Rn.applyPlugins({key:"modifyClientRenderOpts",type:sn.ApplyPluginsType.modify,initialValue:As});return Yl(ua)}})()})}ec(),typeof window!="undefined"&&(window.g_umi={version:"4.4.12"})})()})();