!(function(){var kd=Object.defineProperty,Rd=Object.defineProperties;var Md=Object.getOwnPropertyDescriptors;var Kc=Object.getOwnPropertySymbols;var Ed=Object.prototype.hasOwnProperty,bd=Object.prototype.propertyIsEnumerable;var Cd=(Yt,Nt,de)=>Nt in Yt?kd(Yt,Nt,{enumerable:!0,configurable:!0,writable:!0,value:de}):Yt[Nt]=de,bu=(Yt,Nt)=>{for(var de in Nt||(Nt={}))Ed.call(Nt,de)&&Cd(Yt,de,Nt[de]);if(Kc)for(var de of Kc(Nt))bd.call(Nt,de)&&Cd(Yt,de,Nt[de]);return Yt},ld=(Yt,Nt)=>Rd(Yt,Md(Nt));var Pd=(Yt,Nt)=>{var de={};for(var le in Yt)Ed.call(Yt,le)&&Nt.indexOf(le)<0&&(de[le]=Yt[le]);if(Yt!=null&&Kc)for(var le of Kc(Yt))Nt.indexOf(le)<0&&bd.call(Yt,le)&&(de[le]=Yt[le]);return de};(self.webpackChunk=self.webpackChunk||[]).push([[5330],{52310:function(Yt,Nt,de){"use strict";de.d(Nt,{Z:function(){return pe}});var le=de(87462),ye=de(67294),Ke={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M872 474H286.9l350.2-304c5.6-4.9 2.2-14-5.2-14h-88.5c-3.9 0-7.6 1.4-10.5 3.9L155 487.8a31.96 31.96 0 000 48.3L535.1 866c1.5 1.3 3.3 2 5.2 2h91.5c7.4 0 10.8-9.2 5.2-14L286.9 550H872c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"arrow-left",theme:"outlined"},Je=Ke,ze=de(74643),Re=function(Le,ge){return ye.createElement(ze.Z,(0,le.Z)({},Le,{ref:ge,icon:Je}))},pe=ye.forwardRef(Re)},33463:function(Yt,Nt,de){"use strict";de.d(Nt,{Z:function(){return pe}});var le=de(87462),ye=de(67294),Ke={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"outlined"},Je=Ke,ze=de(74643),Re=function(Le,ge){return ye.createElement(ze.Z,(0,le.Z)({},Le,{ref:ge,icon:Je}))},pe=ye.forwardRef(Re)},28575:function(Yt,Nt,de){"use strict";de.d(Nt,{Z:function(){return pe}});var le=de(87462),ye=de(67294),Ke={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z"}}]},name:"caret-up",theme:"outlined"},Je=Ke,ze=de(74643),Re=function(Le,ge){return ye.createElement(ze.Z,(0,le.Z)({},Le,{ref:ge,icon:Je}))},pe=ye.forwardRef(Re)},84249:function(Yt,Nt,de){"use strict";de.d(Nt,{Z:function(){return pe}});var le=de(87462),ye=de(67294),Ke={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"}}]},name:"delete",theme:"outlined"},Je=Ke,ze=de(74643),Re=function(Le,ge){return ye.createElement(ze.Z,(0,le.Z)({},Le,{ref:ge,icon:Je}))},pe=ye.forwardRef(Re)},81893:function(Yt,Nt,de){"use strict";de.d(Nt,{Z:function(){return pe}});var le=de(87462),ye=de(67294),Ke={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z"}}]},name:"double-right",theme:"outlined"},Je=Ke,ze=de(74643),Re=function(Le,ge){return ye.createElement(ze.Z,(0,le.Z)({},Le,{ref:ge,icon:Je}))},pe=ye.forwardRef(Re)},55304:function(Yt,Nt,de){"use strict";de.d(Nt,{Z:function(){return pe}});var le=de(87462),ye=de(67294),Ke={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"},Je=Ke,ze=de(74643),Re=function(Le,ge){return ye.createElement(ze.Z,(0,le.Z)({},Le,{ref:ge,icon:Je}))},pe=ye.forwardRef(Re)},73148:function(Yt,Nt,de){"use strict";de.d(Nt,{Z:function(){return pe}});var le=de(87462),ye=de(67294),Ke={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z"}}]},name:"file",theme:"outlined"},Je=Ke,ze=de(74643),Re=function(Le,ge){return ye.createElement(ze.Z,(0,le.Z)({},Le,{ref:ge,icon:Je}))},pe=ye.forwardRef(Re)},56747:function(Yt,Nt,de){"use strict";de.d(Nt,{Z:function(){return pe}});var le=de(87462),ye=de(67294),Ke={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 444H820V330.4c0-17.7-14.3-32-32-32H473L355.7 186.2a8.15 8.15 0 00-5.5-2.2H96c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h698c13 0 24.8-7.9 29.7-20l134-332c1.5-3.8 2.3-7.9 2.3-12 0-17.7-14.3-32-32-32zM136 256h188.5l119.6 114.4H748V444H238c-13 0-24.8 7.9-29.7 20L136 643.2V256zm635.3 512H159l103.3-256h612.4L771.3 768z"}}]},name:"folder-open",theme:"outlined"},Je=Ke,ze=de(74643),Re=function(Le,ge){return ye.createElement(ze.Z,(0,le.Z)({},Le,{ref:ge,icon:Je}))},pe=ye.forwardRef(Re)},50881:function(Yt,Nt,de){"use strict";de.d(Nt,{Z:function(){return pe}});var le=de(87462),ye=de(67294),Ke={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M300 276.5a56 56 0 1056-97 56 56 0 00-56 97zm0 284a56 56 0 1056-97 56 56 0 00-56 97zM640 228a56 56 0 10112 0 56 56 0 00-112 0zm0 284a56 56 0 10112 0 56 56 0 00-112 0zM300 844.5a56 56 0 1056-97 56 56 0 00-56 97zM640 796a56 56 0 10112 0 56 56 0 00-112 0z"}}]},name:"holder",theme:"outlined"},Je=Ke,ze=de(74643),Re=function(Le,ge){return ye.createElement(ze.Z,(0,le.Z)({},Le,{ref:ge,icon:Je}))},pe=ye.forwardRef(Re)},22751:function(Yt,Nt,de){"use strict";de.d(Nt,{Z:function(){return pe}});var le=de(87462),ye=de(67294),Ke={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"},Je=Ke,ze=de(74643),Re=function(Le,ge){return ye.createElement(ze.Z,(0,le.Z)({},Le,{ref:ge,icon:Je}))},pe=ye.forwardRef(Re)},34182:function(Yt,Nt,de){"use strict";de.d(Nt,{Z:function(){return pe}});var le=de(87462),ye=de(67294),Ke={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"minus-square",theme:"outlined"},Je=Ke,ze=de(74643),Re=function(Le,ge){return ye.createElement(ze.Z,(0,le.Z)({},Le,{ref:ge,icon:Je}))},pe=ye.forwardRef(Re)},74664:function(Yt,Nt,de){"use strict";de.d(Nt,{Z:function(){return pe}});var le=de(87462),ye=de(67294),Ke={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"plus-square",theme:"outlined"},Je=Ke,ze=de(74643),Re=function(Le,ge){return ye.createElement(ze.Z,(0,le.Z)({},Le,{ref:ge,icon:Je}))},pe=ye.forwardRef(Re)},91034:function(Yt,Nt,de){"use strict";de.d(Nt,{Z:function(){return pe}});var le=de(87462),ye=de(67294),Ke={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"},Je=Ke,ze=de(74643),Re=function(Le,ge){return ye.createElement(ze.Z,(0,le.Z)({},Le,{ref:ge,icon:Je}))},pe=ye.forwardRef(Re)},87922:function(Yt,Nt,de){"use strict";de.d(Nt,{Z:function(){return pe}});var le=de(87462),ye=de(67294),Ke={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M688 264c0-4.4-3.6-8-8-8H296c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8v-48zm-8 136H296c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zM480 544H296c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zm-48 308H208V148h560v344c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V108c0-17.7-14.3-32-32-32H168c-17.7 0-32 14.3-32 32v784c0 17.7 14.3 32 32 32h264c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm356.8-74.4c29-26.3 47.2-64.3 47.2-106.6 0-79.5-64.5-144-144-144s-144 64.5-144 144c0 42.3 18.2 80.3 47.2 106.6-57 32.5-96.2 92.7-99.2 162.1-.2 4.5 3.5 8.3 8 8.3h48.1c4.2 0 7.7-3.3 8-7.6C564 871.2 621.7 816 692 816s128 55.2 131.9 124.4c.2 4.2 3.7 7.6 8 7.6H880c4.6 0 8.2-3.8 8-8.3-2.9-69.5-42.2-129.6-99.2-162.1zM692 591c44.2 0 80 35.8 80 80s-35.8 80-80 80-80-35.8-80-80 35.8-80 80-80z"}}]},name:"solution",theme:"outlined"},Je=Ke,ze=de(74643),Re=function(Le,ge){return ye.createElement(ze.Z,(0,le.Z)({},Le,{ref:ge,icon:Je}))},pe=ye.forwardRef(Re)},71736:function(Yt,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"}},18023:function(){"use strict";function Yt(se,y,a,b){a===void 0&&(a=0),b===void 0&&(b=1/0),this._name=se,this._defaultValue=y,this._minimum=a,this._maximum=b}Object.defineProperty(Yt.prototype,"name",{get:function(){return this._name},set:function(se){if(typeof se!="string"||se==="")throw new Error("Shape name must be a valid string.");this._name=se}}),Object.defineProperty(Yt.prototype,"defaultValue",{get:function(){return this._defaultValue},set:function(se){if(typeof se!="number"||isNaN(se))throw new Error("The default value must be a real number, not: "+se);this._defaultValue=se}}),Object.defineProperty(Yt.prototype,"minimum",{get:function(){return this._minimum},set:function(se){if(typeof se!="number"||isNaN(se))throw new Error("Minimum must be a real number, not: "+se);this._minimum=se}}),Object.defineProperty(Yt.prototype,"maximum",{get:function(){return this._maximum},set:function(se){if(typeof se!="number"||isNaN(se))throw new Error("Maximum must be a real number, not: "+se);this._maximum=se}}),go.Shape._FigureParameters={},go.Shape.getFigureParameter=function(se,y){var a=go.Shape._FigureParameters[se];return a?a[y]:null},go.Shape.setFigureParameter=function(se,y,a){if(!(a instanceof Yt))throw new Error("Third argument to Shape.setFigureParameter is not FigureParameter: "+a);if(a.defaultValuea.maximum)throw new Error("defaultValue must be between minimum and maximum, not: "+a.defaultValue);var b=go.Shape._FigureParameters[se];b||(b=[],go.Shape._FigureParameters[se]=b),b[y]=a};var Nt=[];function de(se,y){var a=Nt.pop();return a===void 0?new go.Point(se,y):(a.x=se,a.y=y,a)}function le(){var se=Nt.pop();return se===void 0?new go.Point:se}function ye(se){Nt.push(se)}function Ke(se,y,a,b,E,x,z,ae,ce){ce||(ce=new go.Point);var Ee=se-a,be=E-z,De=NaN,Ge=NaN;if(Ee===0)if(be===0)se===a&&(De=se,Ge=y);else{var Ze=(x-ae)/be,ot=x-Ze*E;De=se,Ge=Ze*De+ot}else if(be===0){var Te=(y-b)/Ee,wt=y-Te*se;De=E,Ge=Te*De+wt}else{var Te=(y-b)/Ee,Ze=(x-ae)/be,wt=y-Te*se,ot=x-Ze*E;De=(ot-wt)/(Te-Ze),Ge=Te*De+wt}return ce.x=De,ce.y=Ge,ce}function Je(se,y,a,b,E,x,z,ae,ce,Ee,be,De,Ge,Ze){var ot=1-ce,Te=ce,wt=se*ot+a*Te,Qe=y*ot+b*Te,Ot=a*ot+E*Te,lt=b*ot+x*Te,it=E*ot+z*Te,Ft=x*ot+ae*Te,gt=wt*ot+Ot*Te,pt=Qe*ot+lt*Te,tt=Ot*ot+it*Te,ut=lt*ot+Ft*Te,mn=gt*ot+tt*Te,en=pt*ot+ut*Te;Ee.x=wt,Ee.y=Qe,be.x=gt,be.y=pt,De.x=mn,De.y=en,Ge.x=tt,Ge.y=ut,Ze.x=it,Ze.y=Ft}var ze=new go.Spot(.156,.156),Re=new go.Spot(.844,.844),pe=4*((Math.sqrt(2)-1)/3);go.Shape.setFigureParameter("RoundedRectangle",0,new Yt("CornerRounding",5)),go.Shape.defineFigureGenerator("RoundedRectangle",function(se,y,a){var b=se?se.parameter1:NaN;(isNaN(b)||b<0)&&(b=5),b=Math.min(b,y/3),b=Math.min(b,a/3);var E=b*pe,x=new go.Geometry().add(new go.PathFigure(b,0,!0).add(new go.PathSegment(go.PathSegment.Line,y-b,0)).add(new go.PathSegment(go.PathSegment.Bezier,y,b,y-E,0,y,E)).add(new go.PathSegment(go.PathSegment.Line,y,a-b)).add(new go.PathSegment(go.PathSegment.Bezier,y-b,a,y,a-E,y-E,a)).add(new go.PathSegment(go.PathSegment.Line,b,a)).add(new go.PathSegment(go.PathSegment.Bezier,0,a-b,E,a,0,a-E)).add(new go.PathSegment(go.PathSegment.Line,0,b)).add(new go.PathSegment(go.PathSegment.Bezier,b,0,0,E,E,0).close()));return E>1&&(x.spot1=new go.Spot(0,0,E,E),x.spot2=new go.Spot(1,1,-E,-E)),x}),go.Shape.defineFigureGenerator("Border","RoundedRectangle"),go.Shape.defineFigureGenerator("TriangleRight",function(se,y,a){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())).setSpots(0,.25,.5,.75)}),go.Shape.defineFigureGenerator("TriangleDown",function(se,y,a){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,.5*y,a).close())).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("TriangleLeft",function(se,y,a){return new go.Geometry().add(new go.PathFigure(y,a).add(new go.PathSegment(go.PathSegment.Line,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,y,0).close())).setSpots(.5,.25,1,.75)}),go.Shape.defineFigureGenerator("TriangleUp",function(se,y,a){return new go.Geometry().add(new go.PathFigure(y,a).add(new go.PathSegment(go.PathSegment.Line,0,a)).add(new go.PathSegment(go.PathSegment.Line,.5*y,0).close())).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("Triangle","TriangleUp"),go.Shape.defineFigureGenerator("Diamond",function(se,y,a){return new go.Geometry().add(new go.PathFigure(.5*y,0).add(new go.PathSegment(go.PathSegment.Line,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.5*y,a)).add(new go.PathSegment(go.PathSegment.Line,y,.5*a).close())).setSpots(.25,.25,.75,.75)}),go.Shape.defineFigureGenerator("LineH",function(se,y,a){var b=new go.Geometry(go.Geometry.Line);return b.startX=0,b.startY=a/2,b.endX=y,b.endY=a/2,b}),go.Shape.defineFigureGenerator("LineV",function(se,y,a){var b=new go.Geometry(go.Geometry.Line);return b.startX=y/2,b.startY=0,b.endX=y/2,b.endY=a,b}),go.Shape.defineFigureGenerator("BarH","Rectangle"),go.Shape.defineFigureGenerator("BarV","Rectangle"),go.Shape.defineFigureGenerator("MinusLine","LineH"),go.Shape.defineFigureGenerator("PlusLine",function(se,y,a){return new go.Geometry().add(new go.PathFigure(0,a/2,!1).add(new go.PathSegment(go.PathSegment.Line,y,a/2)).add(new go.PathSegment(go.PathSegment.Move,y/2,0)).add(new go.PathSegment(go.PathSegment.Line,y/2,a)))}),go.Shape.defineFigureGenerator("XLine",function(se,y,a){return new go.Geometry().add(new go.PathFigure(0,a,!1).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Move,0,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)))}),go.Shape.defineFigureGenerator("LineRight",function(se,y,a){return new go.Geometry().add(new go.PathFigure(.25*y,0,!1).add(new go.PathSegment(go.PathSegment.Line,.75*y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.25*y,a)))}),go.Shape.defineFigureGenerator("LineDown",function(se,y,a){return new go.Geometry().add(new go.PathFigure(0,.25*a,!1).add(new go.PathSegment(go.PathSegment.Line,.5*y,.75*a)).add(new go.PathSegment(go.PathSegment.Line,y,.25*a)))}),go.Shape.defineFigureGenerator("LineLeft",function(se,y,a){return new go.Geometry().add(new go.PathFigure(.75*y,0,!1).add(new go.PathSegment(go.PathSegment.Line,.25*y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.75*y,a)))}),go.Shape.defineFigureGenerator("LineUp",function(se,y,a){return new go.Geometry().add(new go.PathFigure(0,.75*a,!1).add(new go.PathSegment(go.PathSegment.Line,.5*y,.25*a)).add(new go.PathSegment(go.PathSegment.Line,y,.75*a)))}),go.Shape.defineFigureGenerator("AsteriskLine",function(se,y,a){var b=.2/Math.SQRT2;return new go.Geometry().add(new go.PathFigure(b*y,(1-b)*a,!1).add(new go.PathSegment(go.PathSegment.Line,(1-b)*y,b*a)).add(new go.PathSegment(go.PathSegment.Move,b*y,b*a)).add(new go.PathSegment(go.PathSegment.Line,(1-b)*y,(1-b)*a)).add(new go.PathSegment(go.PathSegment.Move,0,a/2)).add(new go.PathSegment(go.PathSegment.Line,y,a/2)).add(new go.PathSegment(go.PathSegment.Move,y/2,0)).add(new go.PathSegment(go.PathSegment.Line,y/2,a)))}),go.Shape.defineFigureGenerator("CircleLine",function(se,y,a){var b=y/2,E=new go.Geometry().add(new go.PathFigure(y,y/2,!1).add(new go.PathSegment(go.PathSegment.Arc,0,360,b,b,b,b).close()));return E.spot1=ze,E.spot2=Re,E.defaultStretch=go.GraphObject.Uniform,E}),go.Shape.defineFigureGenerator("Line1",function(se,y,a){var b=new go.Geometry(go.Geometry.Line);return b.startX=0,b.startY=0,b.endX=y,b.endY=a,b}),go.Shape.defineFigureGenerator("Line2",function(se,y,a){var b=new go.Geometry(go.Geometry.Line);return b.startX=y,b.startY=0,b.endX=0,b.endY=a,b}),go.Shape.defineFigureGenerator("Curve1",function(se,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,y,a,pe*y,0,y,(1-pe)*a)))}),go.Shape.defineFigureGenerator("Curve2",function(se,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,y,a,0,pe*a,(1-pe)*y,a)))}),go.Shape.defineFigureGenerator("Curve3",function(se,y,a){return new go.Geometry().add(new go.PathFigure(y,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,a,y,pe*a,pe*y,a)))}),go.Shape.defineFigureGenerator("Curve4",function(se,y,a){return new go.Geometry().add(new go.PathFigure(y,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,a,(1-pe)*y,0,0,(1-pe)*a)))}),go.Shape.defineFigureGenerator("TriangleDownLeft",function(se,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())).setSpots(0,.5,.5,1)}),go.Shape.defineFigureGenerator("TriangleDownRight",function(se,y,a){return new go.Geometry().add(new go.PathFigure(y,0,!0).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())).setSpots(.5,.5,1,1)}),go.Shape.defineFigureGenerator("TriangleUpLeft",function(se,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())).setSpots(0,0,.5,.5)}),go.Shape.defineFigureGenerator("TriangleUpRight",function(se,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y,a).close())).setSpots(.5,0,1,.5)}),go.Shape.defineFigureGenerator("RightTriangle","TriangleDownLeft"),go.Shape.setFigureParameter("Parallelogram1",0,new Yt("Indent",.1,-.99,.99)),go.Shape.defineFigureGenerator("Parallelogram1",function(se,y,a){var b=se?se.parameter1:NaN;isNaN(b)?b=.1:b<-1?b=-1:b>1&&(b=1);var E=Math.abs(b)*y;if(b===0){var x=new go.Geometry(go.Geometry.Rectangle);return x.startX=0,x.startY=0,x.endX=y,x.endY=a,x}else{var x=new go.Geometry;return b>0?x.add(new go.PathFigure(E,0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y-E,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())):x.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,y-E,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,E,a).close())),Ey&&(b=y);var E=Math.abs(b);if(b===0){var x=new go.Geometry(go.Geometry.Rectangle);return x.startX=0,x.startY=0,x.endX=y,x.endY=a,x}else{var x=new go.Geometry;return b>0?x.add(new go.PathFigure(E,0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y-E,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())):x.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,y-E,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,E,a).close())),E.5&&(b=.5);var E=Math.abs(b)*y;if(b===0){var x=new go.Geometry(go.Geometry.Rectangle);return x.startX=0,x.startY=0,x.endX=y,x.endY=a,x}else{var x=new go.Geometry;return b>0?x.add(new go.PathFigure(E,0).add(new go.PathSegment(go.PathSegment.Line,y-E,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())):x.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y-E,a)).add(new go.PathSegment(go.PathSegment.Line,E,a).close())),Ey&&(b=y/2);var E=Math.abs(b);if(b===0){var x=new go.Geometry(go.Geometry.Rectangle);return x.startX=0,x.startY=0,x.endX=y,x.endY=a,x}else{var x=new go.Geometry;return b>0?x.add(new go.PathFigure(E,0).add(new go.PathSegment(go.PathSegment.Line,y-E,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())):x.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y-E,a)).add(new go.PathSegment(go.PathSegment.Line,E,a).close())),Ey&&(b=y/2);var E=Math.abs(b);if(b===0){var x=new go.Geometry(go.Geometry.Rectangle);return x.startX=0,x.startY=0,x.endX=y,x.endY=a,x}else{var x=new go.Geometry;return b>0?x.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y-E,a)).add(new go.PathSegment(go.PathSegment.Line,E,a).close())):x.add(new go.PathFigure(E,0).add(new go.PathSegment(go.PathSegment.Line,y-E,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())),E0&&(z.add(new go.PathSegment(go.PathSegment.Move,y/2+ae,y/2)),z.add(new go.PathSegment(go.PathSegment.Arc,0,-360,E,E,ae,ae).close())),x.spot1=ze,x.spot2=Re,x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("Cloud",function(se,y,a){return new go.Geometry().add(new go.PathFigure(.08034461*y,.1944299*a,!0).add(new go.PathSegment(go.PathSegment.Bezier,.2008615*y,.05349299*a,-.09239631*y,.07836421*a,.1406031*y,-.0542823*a)).add(new go.PathSegment(go.PathSegment.Bezier,.4338609*y,.074219*a,.2450511*y,-.00697547*a,.3776197*y,-.01112067*a)).add(new go.PathSegment(go.PathSegment.Bezier,.6558228*y,.07004196*a,.4539471*y,0,.6066018*y,-.02526587*a)).add(new go.PathSegment(go.PathSegment.Bezier,.8921095*y,.08370865*a,.6914277*y,-.01904177*a,.8921095*y,-.01220843*a)).add(new go.PathSegment(go.PathSegment.Bezier,.9147671*y,.3194596*a,1.036446*y,.04105738*a,1.020377*y,.3022052*a)).add(new go.PathSegment(go.PathSegment.Bezier,.9082935*y,.562044*a,1.04448*y,.360238*a,.992256*y,.5219009*a)).add(new go.PathSegment(go.PathSegment.Bezier,.9212406*y,.8217117*a,1.032337*y,.5771781*a,1.018411*y,.8120651*a)).add(new go.PathSegment(go.PathSegment.Bezier,.7592566*y,.9156953*a,1.028411*y,.9571472*a,.8556702*y,1.052487*a)).add(new go.PathSegment(go.PathSegment.Bezier,.5101666*y,.9310455*a,.7431877*y,1.009325*a,.5624123*y,1.021761*a)).add(new go.PathSegment(go.PathSegment.Bezier,.2609328*y,.9344623*a,.4820677*y,1.031761*a,.3030112*y,1.002796*a)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*y,.870098*a,.2329994*y,1.01518*a,.03213784*y,1.01518*a)).add(new go.PathSegment(go.PathSegment.Bezier,.06829292*y,.6545475*a,-.02812061*y,.9032597*a,-.01205169*y,.6835638*a)).add(new go.PathSegment(go.PathSegment.Bezier,.06427569*y,.4265613*a,-.01812061*y,.6089503*a,-.00606892*y,.4555777*a)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*y,.1944299*a,-.01606892*y,.3892545*a,-.01205169*y,.1944299*a))).setSpots(.1,.1,.9,.9)}),go.Shape.defineFigureGenerator("StopSign",function(se,y,a){var b=1/(Math.SQRT2+2);return new go.Geometry().add(new go.PathFigure(b*y,0,!0).add(new go.PathSegment(go.PathSegment.Line,(1-b)*y,0)).add(new go.PathSegment(go.PathSegment.Line,y,b*a)).add(new go.PathSegment(go.PathSegment.Line,y,(1-b)*a)).add(new go.PathSegment(go.PathSegment.Line,(1-b)*y,a)).add(new go.PathSegment(go.PathSegment.Line,b*y,a)).add(new go.PathSegment(go.PathSegment.Line,0,(1-b)*a)).add(new go.PathSegment(go.PathSegment.Line,0,b*a).close())).setSpots(b/2,b/2,1-b/2,1-b/2)}),go.Shape.setFigureParameter("Pie",0,new Yt("Start",0,-360,360)),go.Shape.setFigureParameter("Pie",1,new Yt("Sweep",315,-360,360)),go.Shape.defineFigureGenerator("Pie",function(se,y,a){var b=se?se.parameter1:NaN,E=se?se.parameter2:NaN;isNaN(b)&&(b=0),isNaN(E)&&(E=315);var x=b%360;x<0&&(x+=360);var z=E%360,ae=Math.min(y,a)/2;return new go.Geometry().add(new go.PathFigure(ae,ae).add(new go.PathSegment(go.PathSegment.Arc,x,z,ae,ae,ae,ae).close()))}),go.Shape.defineFigureGenerator("PiePiece",function(se,y,a){var b=pe/Math.SQRT2*.5,E=Math.SQRT2/2,x=1-Math.SQRT2/2;return new go.Geometry().add(new go.PathFigure(y,a,!0).add(new go.PathSegment(go.PathSegment.Bezier,E*y,x*a,y,(1-b)*a,(E+b)*y,(x+b)*a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close()))}),go.Shape.setFigureParameter("ThickCross",0,new Yt("Thickness",30)),go.Shape.defineFigureGenerator("ThickCross",function(se,y,a){var b=se?se.parameter1:NaN;(isNaN(b)||b<0)&&(b=30);var E=Math.min(b,y)/2,x=y/2,z=a/2;return new go.Geometry().add(new go.PathFigure(x-E,0,!0).add(new go.PathSegment(go.PathSegment.Line,x+E,0)).add(new go.PathSegment(go.PathSegment.Line,x+E,z-E)).add(new go.PathSegment(go.PathSegment.Line,y,z-E)).add(new go.PathSegment(go.PathSegment.Line,y,z+E)).add(new go.PathSegment(go.PathSegment.Line,x+E,z+E)).add(new go.PathSegment(go.PathSegment.Line,x+E,a)).add(new go.PathSegment(go.PathSegment.Line,x-E,a)).add(new go.PathSegment(go.PathSegment.Line,x-E,z+E)).add(new go.PathSegment(go.PathSegment.Line,0,z+E)).add(new go.PathSegment(go.PathSegment.Line,0,z-E)).add(new go.PathSegment(go.PathSegment.Line,x-E,z-E).close()))}),go.Shape.setFigureParameter("ThinCross",0,new Yt("Thickness",10)),go.Shape.defineFigureGenerator("ThinCross",function(se,y,a){var b=se?se.parameter1:NaN;(isNaN(b)||b<0)&&(b=10);var E=Math.min(b,y)/2,x=y/2,z=a/2;return new go.Geometry().add(new go.PathFigure(x-E,0,!0).add(new go.PathSegment(go.PathSegment.Line,x+E,0)).add(new go.PathSegment(go.PathSegment.Line,x+E,z-E)).add(new go.PathSegment(go.PathSegment.Line,y,z-E)).add(new go.PathSegment(go.PathSegment.Line,y,z+E)).add(new go.PathSegment(go.PathSegment.Line,x+E,z+E)).add(new go.PathSegment(go.PathSegment.Line,x+E,a)).add(new go.PathSegment(go.PathSegment.Line,x-E,a)).add(new go.PathSegment(go.PathSegment.Line,x-E,z+E)).add(new go.PathSegment(go.PathSegment.Line,0,z+E)).add(new go.PathSegment(go.PathSegment.Line,0,z-E)).add(new go.PathSegment(go.PathSegment.Line,x-E,z-E).close()))}),go.Shape.setFigureParameter("ThickX",0,new Yt("Thickness",30)),go.Shape.defineFigureGenerator("ThickX",function(se,y,a){var b=se?se.parameter1:NaN;if((isNaN(b)||b<0)&&(b=30),y===0||a===0){var E=new go.Geometry(go.Geometry.Rectangle);return E.startX=0,E.startY=0,E.endX=y,E.endY=a,E}else{var x=y/2,z=a/2,ae=Math.atan2(a,y),ce=b-Math.min(Math.cos(ae)*b/2,x),Ee=b-Math.min(Math.sin(ae)*b/2,z),E=new go.Geometry,be=new go.PathFigure(ce,0,!0);return E.add(be),be.add(new go.PathSegment(go.PathSegment.Line,x,.2*a)),be.add(new go.PathSegment(go.PathSegment.Line,y-ce,0)),be.add(new go.PathSegment(go.PathSegment.Line,y,Ee)),be.add(new go.PathSegment(go.PathSegment.Line,.8*y,z)),be.add(new go.PathSegment(go.PathSegment.Line,y,a-Ee)),be.add(new go.PathSegment(go.PathSegment.Line,y-ce,a)),be.add(new go.PathSegment(go.PathSegment.Line,x,.8*a)),be.add(new go.PathSegment(go.PathSegment.Line,ce,a)),be.add(new go.PathSegment(go.PathSegment.Line,0,a-Ee)),be.add(new go.PathSegment(go.PathSegment.Line,.2*y,z)),be.add(new go.PathSegment(go.PathSegment.Line,0,Ee).close()),E}}),go.Shape.setFigureParameter("ThinX",0,new Yt("Thickness",10)),go.Shape.defineFigureGenerator("ThinX",function(se,y,a){var b=se?se.parameter1:NaN;(isNaN(b)||b<0)&&(b=10);var E=new go.Geometry,x=new go.PathFigure(.1*y,0,!0);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*y,.4*a)),x.add(new go.PathSegment(go.PathSegment.Line,.9*y,0)),x.add(new go.PathSegment(go.PathSegment.Line,y,.1*a)),x.add(new go.PathSegment(go.PathSegment.Line,.6*y,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,y,.9*a)),x.add(new go.PathSegment(go.PathSegment.Line,.9*y,a)),x.add(new go.PathSegment(go.PathSegment.Line,.5*y,.6*a)),x.add(new go.PathSegment(go.PathSegment.Line,.1*y,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,.9*a)),x.add(new go.PathSegment(go.PathSegment.Line,.4*y,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,.1*a).close()),E}),go.Shape.setFigureParameter("SquareIBeam",0,new Yt("BeamWidth",.2,.1,.9)),go.Shape.defineFigureGenerator("SquareIBeam",function(se,y,a){var b=se?se.parameter1:NaN;isNaN(b)&&(b=.2);var E=new go.Geometry,x=new go.PathFigure(0,0,!0);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,0)),x.add(new go.PathSegment(go.PathSegment.Line,y,b*a)),x.add(new go.PathSegment(go.PathSegment.Line,(.5+b/2)*y,b*a)),x.add(new go.PathSegment(go.PathSegment.Line,(.5+b/2)*y,(1-b)*a)),x.add(new go.PathSegment(go.PathSegment.Line,y,(1-b)*a)),x.add(new go.PathSegment(go.PathSegment.Line,y,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,(1-b)*a)),x.add(new go.PathSegment(go.PathSegment.Line,(.5-b/2)*y,(1-b)*a)),x.add(new go.PathSegment(go.PathSegment.Line,(.5-b/2)*y,b*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,b*a).close()),E}),go.Shape.setFigureParameter("RoundedIBeam",0,new Yt("Curviness",.5,.05,.65)),go.Shape.defineFigureGenerator("RoundedIBeam",function(se,y,a){var b=se?se.parameter1:NaN;isNaN(b)&&(b=.5);var E=new go.Geometry,x=new go.PathFigure(0,0,!0);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,0)),x.add(new go.PathSegment(go.PathSegment.Bezier,y,a,Math.abs(1-b)*y,.25*a,Math.abs(1-b)*y,.75*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a)),x.add(new go.PathSegment(go.PathSegment.Bezier,0,0,b*y,.75*a,b*y,.25*a).close()),E}),go.Shape.defineFigureGenerator("HalfEllipse",function(se,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,pe*y,0,y,(.5-pe/2)*a)).add(new go.PathSegment(go.PathSegment.Bezier,0,a,y,(.5+pe/2)*a,pe*y,a).close())).setSpots(0,.156,.844,.844)}),go.Shape.defineFigureGenerator("Crescent",function(se,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,a,y,0,y,a)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.5*y,.75*a,.5*y,.25*a).close())).setSpots(.311,.266,.744,.744)}),go.Shape.defineFigureGenerator("Heart",function(se,y,a){return new go.Geometry().add(new go.PathFigure(.5*y,a,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,.3*a,.1*y,.8*a,0,.5*a)).add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.3*a,0,0,.45*y,0)).add(new go.PathSegment(go.PathSegment.Bezier,y,.3*a,.55*y,0,y,0)).add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,y,.5*a,.9*y,.8*a).close())).setSpots(.14,.29,.86,.78)}),go.Shape.defineFigureGenerator("Spade",function(se,y,a){return new go.Geometry().add(new go.PathFigure(.5*y,0,!0).add(new go.PathSegment(go.PathSegment.Line,.51*y,.01*a)).add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,.6*y,.2*a,y,.25*a)).add(new go.PathSegment(go.PathSegment.Bezier,.55*y,.7*a,y,.8*a,.6*y,.8*a)).add(new go.PathSegment(go.PathSegment.Bezier,.75*y,a,.5*y,.75*a,.55*y,.95*a)).add(new go.PathSegment(go.PathSegment.Line,.25*y,a)).add(new go.PathSegment(go.PathSegment.Bezier,.45*y,.7*a,.45*y,.95*a,.5*y,.75*a)).add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,.4*y,.8*a,0,.8*a)).add(new go.PathSegment(go.PathSegment.Bezier,.49*y,.01*a,0,.25*a,.4*y,.2*a).close())).setSpots(.14,.26,.86,.78)}),go.Shape.defineFigureGenerator("Club",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(.4*y,.6*a,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Bezier,.15*y,a,.5*y,.75*a,.45*y,.95*a)),E.add(new go.PathSegment(go.PathSegment.Line,.85*y,a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.6*y,.6*a,.55*y,.95*a,.5*y,.75*a));var x=.2,z=.3,ae=0,ce=x*pe;return E.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*y,(.5+x+ae)*a,(.5-x+z)*y,(.5+ce+ae)*a,(.5-ce+z)*y,(.5+x+ae)*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+x+z)*y,(.5+ae)*a,(.5+ce+z)*y,(.5+x+ae)*a,(.5+x+z)*y,(.5+ce+ae)*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*y,(.5-x+ae)*a,(1-.5+x+z)*y,(.5-ce+ae)*a,(.5+ce+z)*y,(.5-x+ae)*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.65*y,.36771243*a,(.5-ce+z)*y,(.5-x+ae)*a,(.5-x+z+.05)*y,(.5-ce+ae-.02)*a)),x=.2,z=0,ae=-.3,ce=x*pe,E.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+x+z)*y,(.5+ae)*a,(.5+ce+z)*y,(.5+x+ae)*a,(.5+x+z)*y,(.5+ce+ae)*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*y,(.5-x+ae)*a,(1-.5+x+z)*y,(.5-ce+ae)*a,(.5+ce+z)*y,(.5-x+ae)*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5-x+z)*y,(.5+ae)*a,(.5-ce+z)*y,(.5-x+ae)*a,(.5-x+z)*y,(.5-ce+ae)*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5-ce+z)*y,(.5+x+ae)*a,(.5-x+z)*y,(.5+ce+ae)*a,(.5-ce+z)*y,(.5+x+ae)*a)),x=.2,z=-.3,ae=0,ce=x*pe,E.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*y,(.5-x+ae)*a,(1-.5+x+z-.05)*y,(.5-ce+ae-.02)*a,(.5+ce+z)*y,(.5-x+ae)*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5-x+z)*y,(.5+ae)*a,(.5-ce+z)*y,(.5-x+ae)*a,(.5-x+z)*y,(.5-ce+ae)*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*y,(.5+x+ae)*a,(.5-x+z)*y,(.5+ce+ae)*a,(.5-ce+z)*y,(.5+x+ae)*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.4*y,.6*a,(.5+ce+z)*y,(.5+x+ae)*a,(.5+x+z)*y,(.5+ce+ae)*a).close()),b.setSpots(.06,.33,.93,.68),b}),go.Shape.defineFigureGenerator("YinYang",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(y*.5,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Arc,270,180,y*.5,y*.5,y*.5,y*.5)),E.add(new go.PathSegment(go.PathSegment.Arc,90,-180,y*.5,y*.75,y*.25,y*.25)),E.add(new go.PathSegment(go.PathSegment.Arc,90,180,y*.5,y*.25,y*.25,y*.25));var x=.1,z=.5,ae=.25;return E.add(new go.PathSegment(go.PathSegment.Move,(z+x)*y,ae*a)),E.add(new go.PathSegment(go.PathSegment.Arc,0,-360,y*z,a*ae,x*y,x*y).close()),E=new go.PathFigure(y*.5,0,!1),b.add(E),E.add(new go.PathSegment(go.PathSegment.Arc,270,-180,y*.5,y*.5,y*.5,y*.5)),ae=.75,E=new go.PathFigure((z+x)*y,ae*a,!0),b.add(E),E.add(new go.PathSegment(go.PathSegment.Arc,0,360,y*z,a*ae,x*y,x*y).close()),b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("Peace",function(se,y,a){var b=.8535533905932737,E=.5*y,x=.5*a;return new go.Geometry().add(new go.PathFigure(E,0,!1).add(new go.PathSegment(go.PathSegment.Arc,270,360,E,x,E,x)).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Move,E,x)).add(new go.PathSegment(go.PathSegment.Line,(1-b)*y,b*a)).add(new go.PathSegment(go.PathSegment.Move,E,x)).add(new go.PathSegment(go.PathSegment.Line,b*y,b*a)))}),go.Shape.defineFigureGenerator("NotAllowed",function(se,y,a){var b=new go.Geometry,E=pe*.5,x=.5,z=.5,ae=.5,ce=new go.PathFigure(z*y,(ae-x)*a);b.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,(z-x)*y,ae*a,(z-E)*y,(ae-x)*a,(z-x)*y,(ae-E)*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ae+x)*a,(z-x)*y,(ae+E)*a,(z-E)*y,(ae+x)*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*y,ae*a,(z+E)*y,(ae+x)*a,(z+x)*y,(ae+E)*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ae-x)*a,(z+x)*y,(ae-E)*a,(z+E)*y,(ae-x)*a)),x=.4,E=pe*.4;var Ee=le(),be=le(),De=le(),Ge=le();Je(z,ae-x,z+E,ae-x,z+x,ae-E,z+x,ae,.42,Ee,be,De,Ge,Ge);var Ze=le(),ot=le(),Te=le();Je(z,ae-x,z+E,ae-x,z+x,ae-E,z+x,ae,.58,Ge,Ge,Te,Ze,ot);var wt=le(),Qe=le(),Ot=le();Je(z,ae+x,z-E,ae+x,z-x,ae+E,z-x,ae,.42,wt,Qe,Ot,Ge,Ge);var lt=le(),it=le(),Ft=le();return Je(z,ae+x,z-E,ae+x,z-x,ae+E,z-x,ae,.58,Ge,Ge,Ft,lt,it),ce.add(new go.PathSegment(go.PathSegment.Move,Ft.x*y,Ft.y*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(z-x)*y,ae*a,lt.x*y,lt.y*a,it.x*y,it.y*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ae-x)*a,(z-x)*y,(ae-E)*a,(z-E)*y,(ae-x)*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,De.x*y,De.y*a,Ee.x*y,Ee.y*a,be.x*y,be.y*a)),ce.add(new go.PathSegment(go.PathSegment.Line,Ft.x*y,Ft.y*a).close()),ce.add(new go.PathSegment(go.PathSegment.Move,Ot.x*y,Ot.y*a)),ce.add(new go.PathSegment(go.PathSegment.Line,Te.x*y,Te.y*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*y,ae*a,Ze.x*y,Ze.y*a,ot.x*y,ot.y*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ae+x)*a,(z+x)*y,(ae+E)*a,(z+E)*y,(ae+x)*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,Ot.x*y,Ot.y*a,wt.x*y,wt.y*a,Qe.x*y,Qe.y*a).close()),ye(Ee),ye(be),ye(De),ye(Ge),ye(Ze),ye(ot),ye(Te),ye(wt),ye(Qe),ye(Ot),ye(lt),ye(it),ye(Ft),b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("Fragile",function(se,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.25*y,0)).add(new go.PathSegment(go.PathSegment.Line,.2*y,.15*a)).add(new go.PathSegment(go.PathSegment.Line,.3*y,.25*a)).add(new go.PathSegment(go.PathSegment.Line,.29*y,.33*a)).add(new go.PathSegment(go.PathSegment.Line,.35*y,.25*a)).add(new go.PathSegment(go.PathSegment.Line,.3*y,.15*a)).add(new go.PathSegment(go.PathSegment.Line,.4*y,0)).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Bezier,.55*y,.5*a,y,.25*a,.75*y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.55*y,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.7*y,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.7*y,a)).add(new go.PathSegment(go.PathSegment.Line,.3*y,a)).add(new go.PathSegment(go.PathSegment.Line,.3*y,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.45*y,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.45*y,.5*a)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*y,.5*a,0,.25*a).close()))}),go.Shape.setFigureParameter("HourGlass",0,new Yt("Thickness",30)),go.Shape.defineFigureGenerator("HourGlass",function(se,y,a){var b=se?se.parameter1:NaN;(isNaN(b)||b<0)&&(b=30),b>y&&(b=y);var E=(y-b)/2,x=E+b;return new go.Geometry().add(new go.PathFigure(x,.5*a).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a)).add(new go.PathSegment(go.PathSegment.Line,E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,0,0)).add(new go.PathSegment(go.PathSegment.Line,y,0).close()))}),go.Shape.defineFigureGenerator("Lightning",function(se,y,a){return new go.Geometry().add(new go.PathFigure(0,.55*a).add(new go.PathSegment(go.PathSegment.Line,.6*y,0)).add(new go.PathSegment(go.PathSegment.Line,.3*y,.45*a)).add(new go.PathSegment(go.PathSegment.Line,y,.45*a)).add(new go.PathSegment(go.PathSegment.Line,.4*y,a)).add(new go.PathSegment(go.PathSegment.Line,.7*y,.55*a).close()))}),go.Shape.defineFigureGenerator("GenderMale",function(se,y,a){var b=new go.Geometry,E=pe*.4,x=.4,z=.5,ae=.5,ce=le(),Ee=le(),be=le(),De=le(),Ge=new go.PathFigure((z-x)*y,ae*a,!1);b.add(Ge),Ge.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ae-x)*a,(z-x)*y,(ae-E)*a,(z-E)*y,(ae-x)*a)),Je(z,ae-x,z+E,ae-x,z+x,ae-E,z+x,ae,.44,be,De,Ee,ce,ce),Ge.add(new go.PathSegment(go.PathSegment.Bezier,Ee.x*y,Ee.y*a,be.x*y,be.y*a,De.x*y,De.y*a));var Ze=de(Ee.x,Ee.y);Je(z,ae-x,z+E,ae-x,z+x,ae-E,z+x,ae,.56,ce,ce,Ee,be,De);var ot=de(Ee.x,Ee.y);Ge.add(new go.PathSegment(go.PathSegment.Line,(Ze.x*.1+.95*.9)*y,Ze.y*.1*a)),Ge.add(new go.PathSegment(go.PathSegment.Line,.85*y,Ze.y*.1*a)),Ge.add(new go.PathSegment(go.PathSegment.Line,.85*y,0)),Ge.add(new go.PathSegment(go.PathSegment.Line,y,0)),Ge.add(new go.PathSegment(go.PathSegment.Line,y,.15*a)),Ge.add(new go.PathSegment(go.PathSegment.Line,(ot.x*.1+.9)*y,.15*a)),Ge.add(new go.PathSegment(go.PathSegment.Line,(ot.x*.1+.9)*y,(ot.y*.1+.05*.9)*a)),Ge.add(new go.PathSegment(go.PathSegment.Line,ot.x*y,ot.y*a)),Ge.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*y,ae*a,be.x*y,be.y*a,De.x*y,De.y*a)),Ge.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ae+x)*a,(z+x)*y,(ae+E)*a,(z+E)*y,(ae+x)*a)),Ge.add(new go.PathSegment(go.PathSegment.Bezier,(z-x)*y,ae*a,(z-E)*y,(ae+x)*a,(z-x)*y,(ae+E)*a)),x=.35,E=pe*.35;var Te=new go.PathFigure(z*y,(ae-x)*a,!1);b.add(Te),Te.add(new go.PathSegment(go.PathSegment.Bezier,(z-x)*y,ae*a,(z-E)*y,(ae-x)*a,(z-x)*y,(ae-E)*a)),Te.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ae+x)*a,(z-x)*y,(ae+E)*a,(z-E)*y,(ae+x)*a)),Te.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*y,ae*a,(z+E)*y,(ae+x)*a,(z+x)*y,(ae+E)*a)),Te.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ae-x)*a,(z+x)*y,(ae-E)*a,(z+E)*y,(ae-x)*a));var wt=new go.PathFigure((z-x)*y,ae*a,!1);return b.add(wt),ye(ce),ye(Ee),ye(be),ye(De),ye(Ze),ye(ot),b.spot1=new go.Spot(.202,.257),b.spot2=new go.Spot(.792,.739),b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("GenderFemale",function(se,y,a){var b=new go.Geometry,E=.375,x=0,z=-.125,ae=E*pe,ce=new go.PathFigure((.525+x)*y,(.5+E+z)*a,!1);b.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+E+x)*y,(.5+z)*a,(.5+ae+x)*y,(.5+E+z)*a,(.5+E+x)*y,(.5+ae+z)*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(.5+x)*y,(.5-E+z)*a,(1-.5+E+x)*y,(.5-ae+z)*a,(.5+ae+x)*y,(.5-E+z)*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(.5-E+x)*y,(.5+z)*a,(.5-ae+x)*y,(.5-E+z)*a,(.5-E+x)*y,(.5-ae+z)*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(.475+x)*y,(.5+E+z)*a,(.5-E+x)*y,(.5+ae+z)*a,(.5-ae+x)*y,(.5+E+z)*a)),ce.add(new go.PathSegment(go.PathSegment.Line,.475*y,.85*a)),ce.add(new go.PathSegment(go.PathSegment.Line,.425*y,.85*a)),ce.add(new go.PathSegment(go.PathSegment.Line,.425*y,.9*a)),ce.add(new go.PathSegment(go.PathSegment.Line,.475*y,.9*a)),ce.add(new go.PathSegment(go.PathSegment.Line,.475*y,a)),ce.add(new go.PathSegment(go.PathSegment.Line,.525*y,a)),ce.add(new go.PathSegment(go.PathSegment.Line,.525*y,.9*a)),ce.add(new go.PathSegment(go.PathSegment.Line,.575*y,.9*a)),ce.add(new go.PathSegment(go.PathSegment.Line,.575*y,.85*a)),ce.add(new go.PathSegment(go.PathSegment.Line,.525*y,.85*a).close()),E=.325,x=0,z=-.125,ae=E*pe;var ce=new go.PathFigure((1-.5+E+x)*y,(.5+z)*a,!1);b.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,(.5+x)*y,(.5+E+z)*a,(.5+E+x)*y,(.5+ae+z)*a,(.5+ae+x)*y,(.5+E+z)*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(.5-E+x)*y,(.5+z)*a,(.5-ae+x)*y,(.5+E+z)*a,(.5-E+x)*y,(.5+ae+z)*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(.5+x)*y,(.5-E+z)*a,(.5-E+x)*y,(.5-ae+z)*a,(.5-ae+x)*y,(.5-E+z)*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+E+x)*y,(.5+z)*a,(.5+ae+x)*y,(.5-E+z)*a,(1-.5+E+x)*y,(.5-ae+z)*a));var ce=new go.PathFigure((.525+x)*y,(.5+E+z)*a,!1);return b.add(ce),b.spot1=new go.Spot(.232,.136),b.spot2=new go.Spot(.682,.611),b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("LogicImplies",function(se,y,a){var b=se?se.parameter1:NaN;return isNaN(b)&&(b=.2),new go.Geometry().add(new go.PathFigure((1-b)*y,0,!1).add(new go.PathSegment(go.PathSegment.Line,y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,(1-b)*y,a)).add(new go.PathSegment(go.PathSegment.Move,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,y,.5*a))).setSpots(0,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicIff",function(se,y,a){var b=se?se.parameter1:NaN;return isNaN(b)&&(b=.2),new go.Geometry().add(new go.PathFigure((1-b)*y,0,!1).add(new go.PathSegment(go.PathSegment.Line,y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,(1-b)*y,a)).add(new go.PathSegment(go.PathSegment.Move,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,y,.5*a)).add(new go.PathSegment(go.PathSegment.Move,b*y,0)).add(new go.PathSegment(go.PathSegment.Line,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,b*y,a))).setSpots(.2,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicNot",function(se,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)))}),go.Shape.defineFigureGenerator("LogicAnd",function(se,y,a){return new go.Geometry().add(new go.PathFigure(0,a,!1).add(new go.PathSegment(go.PathSegment.Line,.5*y,0)).add(new go.PathSegment(go.PathSegment.Line,y,a))).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("LogicOr",function(se,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*y,a)).add(new go.PathSegment(go.PathSegment.Line,y,0))).setSpots(.219,0,.78,.409)}),go.Shape.defineFigureGenerator("LogicXor",function(se,y,a){var b=new go.Geometry().add(new go.PathFigure(.5*y,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*y,a)).add(new go.PathSegment(go.PathSegment.Move,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,y,.5*a)).add(new go.PathSegment(go.PathSegment.Arc,0,360,.5*y,.5*a,.5*y,.5*a)));return b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("LogicTruth",function(se,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Move,.5*y,0)).add(new go.PathSegment(go.PathSegment.Line,.5*y,a)))}),go.Shape.defineFigureGenerator("LogicFalsity",function(se,y,a){return new go.Geometry().add(new go.PathFigure(0,a,!1).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Move,.5*y,a)).add(new go.PathSegment(go.PathSegment.Line,.5*y,0)))}),go.Shape.defineFigureGenerator("LogicThereExists",function(se,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,0,.5*a)).add(new go.PathSegment(go.PathSegment.Move,y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a)))}),go.Shape.defineFigureGenerator("LogicForAll",function(se,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*y,a)).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Move,.25*y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.75*y,.5*a))).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("LogicIsDefinedAs",function(se,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Move,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,y,.5*a)).add(new go.PathSegment(go.PathSegment.Move,0,a)).add(new go.PathSegment(go.PathSegment.Line,y,a))).setSpots(.01,.01,.99,.49)}),go.Shape.defineFigureGenerator("LogicIntersect",function(se,y,a){var b=.5;return new go.Geometry().add(new go.PathFigure(0,a,!1).add(new go.PathSegment(go.PathSegment.Line,0,b*a)).add(new go.PathSegment(go.PathSegment.Arc,180,180,b*y,b*a,b*y,b*a)).add(new go.PathSegment(go.PathSegment.Line,y,a))).setSpots(0,.5,1,1)}),go.Shape.defineFigureGenerator("LogicUnion",function(se,y,a){var b=.5;return new go.Geometry().add(new go.PathFigure(y,0,!1).add(new go.PathSegment(go.PathSegment.Line,y,b*a)).add(new go.PathSegment(go.PathSegment.Arc,0,180,b*y,b*a,b*y,b*a)).add(new go.PathSegment(go.PathSegment.Line,0,0))).setSpots(0,0,1,.5)}),go.Shape.setFigureParameter("Arrow",0,new Yt("ArrowheadWidth",.3,.01,.99)),go.Shape.setFigureParameter("Arrow",1,new Yt("TailHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("Arrow",function(se,y,a){var b=se?se.parameter1:NaN;isNaN(b)&&(b=.3);var E=se?se.parameter2:NaN;isNaN(E)&&(E=.3);var x=(1-b)*y,z=(.5-E/2)*a,ae=(.5+E/2)*a,ce=new go.Geometry,Ee=new go.PathFigure(0,z,!0);ce.add(Ee),Ee.add(new go.PathSegment(go.PathSegment.Line,x,z)),Ee.add(new go.PathSegment(go.PathSegment.Line,x,0)),Ee.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),Ee.add(new go.PathSegment(go.PathSegment.Line,x,a)),Ee.add(new go.PathSegment(go.PathSegment.Line,x,ae)),Ee.add(new go.PathSegment(go.PathSegment.Line,0,ae).close()),ce.spot1=new go.Spot(0,z/a);var be=Ke(0,ae/a,1,ae/a,x/y,1,1,.5,le());return ce.spot2=new go.Spot(be.x,be.y),ye(be),ce}),go.Shape.setFigureParameter("Arrow2",0,new Yt("ArrowheadWidth",30)),go.Shape.setFigureParameter("Arrow2",0,new Yt("TailHeight",30)),go.Shape.defineFigureGenerator("Arrow2",function(se,y,a){var b=se?se.parameter1:NaN;isNaN(b)&&(b=30),b>y&&(b=y);var E=se?se.parameter2:NaN;isNaN(E)&&(E=30),E=Math.min(E,a/2);var x=y-b,z=(a-E)/2,ae=z+E,ce=new go.Geometry,Ee=new go.PathFigure(0,z,!0);ce.add(Ee),Ee.add(new go.PathSegment(go.PathSegment.Line,x,z)),Ee.add(new go.PathSegment(go.PathSegment.Line,x,0)),Ee.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),Ee.add(new go.PathSegment(go.PathSegment.Line,x,a)),Ee.add(new go.PathSegment(go.PathSegment.Line,x,ae)),Ee.add(new go.PathSegment(go.PathSegment.Line,0,ae).close()),ce.spot1=new go.Spot(0,z/a);var be=Ke(0,ae/a,1,ae/a,x/y,1,1,.5,le());return ce.spot2=new go.Spot(be.x,be.y),ye(be),ce}),go.Shape.defineFigureGenerator("Chevron",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a).close()),b}),go.Shape.defineFigureGenerator("DoubleArrow",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.3*y,.214*a)),E.add(new go.PathSegment(go.PathSegment.Line,.3*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,1*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.3*y,1*a)),E.add(new go.PathSegment(go.PathSegment.Line,.3*y,.786*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,1*a).close()),b}),go.Shape.setFigureParameter("DoubleEndArrow",0,new Yt("ConnecterHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("DoubleEndArrow",function(se,y,a){var b=se?se.parameter1:NaN;isNaN(b)&&(b=.3);var E=(.5-b/2)*a,x=(.5+b/2)*a,z=new go.Geometry,ae=new go.PathFigure(y,.5*a,!0);z.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,.7*y,a)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*y,x)),ae.add(new go.PathSegment(go.PathSegment.Line,.3*y,x)),ae.add(new go.PathSegment(go.PathSegment.Line,.3*y,a)),ae.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.3*y,0)),ae.add(new go.PathSegment(go.PathSegment.Line,.3*y,E)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*y,E)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*y,0).close());var ce=Ke(0,.5,.3,0,0,E/a,.1,E/a,le());return z.spot1=new go.Spot(ce.x,ce.y),ce=Ke(.7,1,1,.5,0,x/a,1,x/a,ce),z.spot2=new go.Spot(ce.x,ce.y),ye(ce),z}),go.Shape.setFigureParameter("DoubleEndArrow2",0,new Yt("ConnecterHeight",40)),go.Shape.setFigureParameter("DoubleEndArrow2",1,new Yt("ArrowHeight",100)),go.Shape.defineFigureGenerator("DoubleEndArrow2",function(se,y,a){var b=se?se.parameter1:NaN;isNaN(b)&&(b=40);var E=se?se.parameter2:NaN;isNaN(E)&&(E=100);var x=(a-b)/2,z=x+b,ae=(a-E)/2,ce=ae+E;(b>a||E>a)&&(E>b?(b=b*a/E,x=(a-b)/2,z=x+b,ae=0,ce=a):(x=0,z=a,ae=0,ce=a));var Ee=new go.Geometry,be=new go.PathFigure(y,.5*a,!0);Ee.add(be),be.add(new go.PathSegment(go.PathSegment.Line,.7*y,ce)),be.add(new go.PathSegment(go.PathSegment.Line,.7*y,z)),be.add(new go.PathSegment(go.PathSegment.Line,.3*y,z)),be.add(new go.PathSegment(go.PathSegment.Line,.3*y,ce)),be.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),be.add(new go.PathSegment(go.PathSegment.Line,.3*y,ae)),be.add(new go.PathSegment(go.PathSegment.Line,.3*y,x)),be.add(new go.PathSegment(go.PathSegment.Line,.7*y,x)),be.add(new go.PathSegment(go.PathSegment.Line,.7*y,ae).close());var De=Ke(0,.5,.3,ae/a,0,x/a,1,x/a,le());return Ee.spot1=new go.Spot(De.x,De.y),De=Ke(.7,ce/a,1,.5,0,z/a,1,z/a,De),Ee.spot2=new go.Spot(De.x,De.y),ye(De),Ee}),go.Shape.setFigureParameter("IBeamArrow",0,new Yt("ConnectorHeight",.7,.51,.97)),go.Shape.defineFigureGenerator("IBeamArrow",function(se,y,a){var b=se?se.parameter1:NaN;isNaN(b)&&(b=.3);var E=(.5-b/2)*a,x=(.5+b/2)*a,z=new go.Geometry,ae=new go.PathFigure(y,.5*a,!0);z.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,.7*y,a)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*y,x)),ae.add(new go.PathSegment(go.PathSegment.Line,.2*y,x)),ae.add(new go.PathSegment(go.PathSegment.Line,.2*y,a)),ae.add(new go.PathSegment(go.PathSegment.Line,0,a)),ae.add(new go.PathSegment(go.PathSegment.Line,0,0)),ae.add(new go.PathSegment(go.PathSegment.Line,.2*y,0)),ae.add(new go.PathSegment(go.PathSegment.Line,.2*y,E)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*y,E)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*y,0).close()),z.spot1=new go.Spot(0,E/a);var ce=Ke(.7,1,1,.5,0,x/a,1,x/a,le());return z.spot2=new go.Spot(ce.x,ce.y),ye(ce),z}),go.Shape.setFigureParameter("IBeamArrow2",0,new Yt("ConnectorHeight",40)),go.Shape.setFigureParameter("IBeamArrow2",1,new Yt("BeamArrowHeight",100)),go.Shape.defineFigureGenerator("IBeamArrow2",function(se,y,a){var b=se?se.parameter1:NaN;isNaN(b)&&(b=40);var E=se?se.parameter2:NaN;isNaN(E)&&(E=100);var x=(a-b)/2,z=x+b,ae=(a-E)/2,ce=ae+E;(b>a||E>a)&&(E>b?(b=b*a/E,x=(a-b)/2,z=x+b,ae=0,ce=a):(x=0,z=a,ae=0,ce=a));var Ee=new go.Geometry,be=new go.PathFigure(y,.5*a,!0);Ee.add(be),be.add(new go.PathSegment(go.PathSegment.Line,.7*y,ce)),be.add(new go.PathSegment(go.PathSegment.Line,.7*y,z)),be.add(new go.PathSegment(go.PathSegment.Line,.2*y,z)),be.add(new go.PathSegment(go.PathSegment.Line,.2*y,ce)),be.add(new go.PathSegment(go.PathSegment.Line,0,ce)),be.add(new go.PathSegment(go.PathSegment.Line,0,ae)),be.add(new go.PathSegment(go.PathSegment.Line,.2*y,ae)),be.add(new go.PathSegment(go.PathSegment.Line,.2*y,x)),be.add(new go.PathSegment(go.PathSegment.Line,.7*y,x)),be.add(new go.PathSegment(go.PathSegment.Line,.7*y,ae).close()),Ee.spot1=new go.Spot(0,x/a);var De=Ke(.7,ce/a,1,.5,0,z/a,1,z/a,le());return Ee.spot2=new go.Spot(De.x,De.y),ye(De),Ee}),go.Shape.setFigureParameter("Pointer",0,new Yt("BackPoint",.1,0,.2)),go.Shape.defineFigureGenerator("Pointer",function(se,y,a){var b=se?se.parameter1:NaN;isNaN(b)&&(b=.1);var E=new go.Geometry,x=new go.PathFigure(y,.5*a,!0);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,0,a)),x.add(new go.PathSegment(go.PathSegment.Line,b*y,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,0).close()),E.spot1=new go.Spot(b,.35);var z=Ke(.2,.65,1,.65,0,1,1,.5,le());return E.spot2=new go.Spot(z.x,z.y),ye(z),E}),go.Shape.setFigureParameter("RoundedPointer",0,new Yt("RoundedEdge",.3,0,.5)),go.Shape.defineFigureGenerator("RoundedPointer",function(se,y,a){var b=se?se.parameter1:NaN;isNaN(b)&&(b=.3);var E=new go.Geometry,x=new go.PathFigure(y,.5*a,!0);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,0,a)),x.add(new go.PathSegment(go.PathSegment.Bezier,0,0,b*y,.75*a,b*y,.25*a).close()),E.spot1=new go.Spot(b,.35);var z=Ke(0,.65,1,.65,0,1,1,.5,le());return E.spot2=new go.Spot(z.x,z.y),ye(z),E}),go.Shape.setFigureParameter("SplitEndArrow",0,new Yt("TailHeight",.4,.01,.99)),go.Shape.defineFigureGenerator("SplitEndArrow",function(se,y,a){var b=se?se.parameter1:NaN;isNaN(b)&&(b=.4);var E=(.5-b/2)*a,x=(.5+b/2)*a,z=new go.Geometry,ae=new go.PathFigure(y,.5*a,!0);z.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,.7*y,a)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*y,x)),ae.add(new go.PathSegment(go.PathSegment.Line,0,x)),ae.add(new go.PathSegment(go.PathSegment.Line,.2*y,.5*a)),ae.add(new go.PathSegment(go.PathSegment.Line,0,E)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*y,E)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*y,0).close()),z.spot1=new go.Spot(.2,.3);var ce=Ke(.7,1,1,.5,0,x/a,1,x/a,le());return z.spot2=new go.Spot(ce.x,ce.y),ye(ce),z}),go.Shape.setFigureParameter("SplitEndArrow2",0,new Yt("TailThickness",50)),go.Shape.defineFigureGenerator("SplitEndArrow2",function(se,y,a){var b=se?se.parameter1:NaN;isNaN(b)&&(b=50);var E=(a-b)/2,x=E+b;b>a&&(E=0,x=a);var z=new go.Geometry,ae=new go.PathFigure(y,.5*a,!0);z.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,.7*y,a)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*y,x)),ae.add(new go.PathSegment(go.PathSegment.Line,0,x)),ae.add(new go.PathSegment(go.PathSegment.Line,.2*y,.5*a)),ae.add(new go.PathSegment(go.PathSegment.Line,0,E)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*y,E)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*y,0).close()),z.spot1=new go.Spot(.2,E/a);var ce=Ke(.7,1,1,.5,0,x/a,1,x/a,le());return z.spot2=new go.Spot(ce.x,ce.y),ye(ce),z}),go.Shape.setFigureParameter("SquareArrow",0,new Yt("ArrowPoint",.7,.2,.9)),go.Shape.defineFigureGenerator("SquareArrow",function(se,y,a){var b=se?se.parameter1:NaN;isNaN(b)&&(b=.7);var E=new go.Geometry,x=new go.PathFigure(y,.5*a,!0);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,b*y,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,0)),x.add(new go.PathSegment(go.PathSegment.Line,b*y,0).close()),E.spot1=go.Spot.TopLeft,E.spot2=new go.Spot(b,1),E}),go.Shape.defineFigureGenerator("Cone1",function(se,y,a){var b=new go.Geometry,E=pe*.5,x=pe*.1,z=new go.PathFigure(0,.9*a,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),z.add(new go.PathSegment(go.PathSegment.Line,y,.9*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,y,(.9+x)*a,(.5+E)*y,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,(.5-E)*y,a,0,(.9+x)*a).close()),b.spot1=new go.Spot(.25,.5),b.spot2=new go.Spot(.75,.97),b}),go.Shape.defineFigureGenerator("Cone2",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(0,.9*a,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Bezier,y,.9*a,(1-.85/.9)*y,a,.85/.9*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,0,.9*a).close());var x=new go.PathFigure(0,.9*a,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Bezier,y,.9*a,(1-.85/.9)*y,.8*a,.85/.9*y,.8*a)),b.spot1=new go.Spot(.25,.5),b.spot2=new go.Spot(.75,.82),b}),go.Shape.defineFigureGenerator("Cube1",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(.5*y,a,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,.85*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.15*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,0,.15*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.85*a).close());var x=new go.PathFigure(.5*y,a,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*y,.3*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,.15*a)),x.add(new go.PathSegment(go.PathSegment.Move,.5*y,.3*a)),x.add(new go.PathSegment(go.PathSegment.Line,y,.15*a)),b.spot1=new go.Spot(0,.3),b.spot2=new go.Spot(.5,.85),b}),go.Shape.defineFigureGenerator("Cube2",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(0,.3*a,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,.7*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.7*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.3*y,0).close());var x=new go.PathFigure(0,.3*a,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.7*y,.3*a)),x.add(new go.PathSegment(go.PathSegment.Line,y,0)),x.add(new go.PathSegment(go.PathSegment.Move,.7*y,.3*a)),x.add(new go.PathSegment(go.PathSegment.Line,.7*y,a)),b.spot1=new go.Spot(0,.3),b.spot2=new go.Spot(.7,1),b}),go.Shape.defineFigureGenerator("Cylinder1",function(se,y,a){var b=se?se.parameter1:NaN;isNaN(b)&&(b=5),b=Math.min(b,a/3);var E=new go.Geometry,x=pe*.5,z=new go.PathFigure(0,b,!0);E.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,0,pe*b,(.5-x)*y,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,1*y,b,(.5+x)*y,0,1*y,pe*b)),z.add(new go.PathSegment(go.PathSegment.Line,y,a-b)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,1*a,1*y,a-pe*b,(.5+x)*y,1*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,a-b,(.5-x)*y,1*a,0,a-pe*b)),z.add(new go.PathSegment(go.PathSegment.Line,0,b));var ae=new go.PathFigure(y,b,!1);return E.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,2*b,1*y,2*b-pe*b,(.5+x)*y,2*b)),ae.add(new go.PathSegment(go.PathSegment.Bezier,0,b,(.5-x)*y,2*b,0,2*b-pe*b)),E.spot1=new go.Spot(0,0,0,2*b),E.spot2=new go.Spot(1,1),E}),go.Shape.defineFigureGenerator("Cylinder2",function(se,y,a){var b=se?se.parameter1:NaN;isNaN(b)&&(b=5),b=Math.min(b,a/3);var E=new go.Geometry,x=pe*.5,z=new go.PathFigure(0,a-b,!0);E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,b)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,0,pe*b,(.5-x)*y,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,y,b,(.5+x)*y,0,y,pe*b)),z.add(new go.PathSegment(go.PathSegment.Line,y,a-b)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,y,a-pe*b,(.5+x)*y,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,a-b,(.5-x)*y,a,0,a-pe*b));var ae=new go.PathFigure(0,a-b,!1);return E.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a-2*b,0,a-b-pe*b,(.5-x)*y,a-2*b)),ae.add(new go.PathSegment(go.PathSegment.Bezier,y,a-b,(.5+x)*y,a-2*b,y,a-b-pe*b)),E.spot1=new go.Spot(0,0),E.spot2=new go.Spot(1,1,0,-2*b),E}),go.Shape.defineFigureGenerator("Cylinder3",function(se,y,a){var b=se?se.parameter1:NaN;isNaN(b)&&(b=5),b=Math.min(b,y/3);var E=new go.Geometry,x=pe*.5,z=new go.PathFigure(b,0,!0);E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y-b,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,y-pe*b,0,y,(.5-x)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,y-b,a,y,(.5+x)*a,y-pe*b,a)),z.add(new go.PathSegment(go.PathSegment.Line,b,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,pe*b,a,0,(.5+x)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,b,0,0,(.5-x)*a,pe*b,0));var ae=new go.PathFigure(b,0,!1);return E.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,2*b,.5*a,b+pe*b,0,2*b,(.5-x)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,b,a,2*b,(.5+x)*a,b+pe*b,a)),E.spot1=new go.Spot(0,0,2*b,0),E.spot2=new go.Spot(1,1),E}),go.Shape.defineFigureGenerator("Cylinder4",function(se,y,a){var b=se?se.parameter1:NaN;isNaN(b)&&(b=5),b=Math.min(b,y/3);var E=new go.Geometry,x=pe*.5,z=new go.PathFigure(y-b,0,!0);E.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,y-pe*b,0,y,(.5-x)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,y-b,a,y,(.5+x)*a,y-pe*b,a)),z.add(new go.PathSegment(go.PathSegment.Line,b,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,pe*b,a,0,(.5+x)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,b,0,0,(.5-x)*a,pe*b,0)),z.add(new go.PathSegment(go.PathSegment.Line,y-b,0));var ae=new go.PathFigure(y-b,0,!1);return E.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,y-2*b,.5*a,y-b-pe*b,0,y-2*b,(.5-x)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,y-b,a,y-2*b,(.5+x)*a,y-b-pe*b,a)),E.spot1=new go.Spot(0,0),E.spot2=new go.Spot(1,1,-2*b,0),E}),go.Shape.defineFigureGenerator("Prism1",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(.25*y,.25*a,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var x=new go.PathFigure(.25*y,.25*a,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),b.spot1=new go.Spot(.408,.172),b.spot2=new go.Spot(.833,.662),b}),go.Shape.defineFigureGenerator("Prism2",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(0,.25*a,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.25*a)),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,.75*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var x=new go.PathFigure(0,a,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.25*y,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,y,.25*a)),x.add(new go.PathSegment(go.PathSegment.Move,0,.25*a)),x.add(new go.PathSegment(go.PathSegment.Line,.25*y,.5*a)),b.spot1=new go.Spot(.25,.5),b.spot2=new go.Spot(.75,.75),b}),go.Shape.defineFigureGenerator("Pyramid1",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(.5*y,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,.75*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.75*a).close());var x=new go.PathFigure(.5*y,0,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),b.spot1=new go.Spot(.25,.367),b.spot2=new go.Spot(.75,.875),b}),go.Shape.defineFigureGenerator("Pyramid2",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(.5*y,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,.85*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.85*a).close());var x=new go.PathFigure(.5*y,0,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*y,.7*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,.85*a)),x.add(new go.PathSegment(go.PathSegment.Move,.5*y,.7*a)),x.add(new go.PathSegment(go.PathSegment.Line,y,.85*a)),b.spot1=new go.Spot(.25,.367),b.spot2=new go.Spot(.75,.875),b}),go.Shape.defineFigureGenerator("Actor",function(se,y,a){var b=new go.Geometry,E=.2,x=.1,z=pe*E,ae=pe*x,ce=.5,Ee=.1,be=new go.PathFigure(ce*y,(Ee+x)*a,!0);b.add(be),be.add(new go.PathSegment(go.PathSegment.Bezier,(ce-E)*y,Ee*a,(ce-z)*y,(Ee+x)*a,(ce-E)*y,(Ee+ae)*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,ce*y,(Ee-x)*a,(ce-E)*y,(Ee-ae)*a,(ce-z)*y,(Ee-x)*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,(ce+E)*y,Ee*a,(ce+z)*y,(Ee-x)*a,(ce+E)*y,(Ee-ae)*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,ce*y,(Ee+x)*a,(ce+E)*y,(Ee+ae)*a,(ce+z)*y,(Ee+x)*a));var De=.05,Ge=pe*De;ce=.05,Ee=.25;var Ze=new go.PathFigure(.5*y,.2*a,!0);return b.add(Ze),Ze.add(new go.PathSegment(go.PathSegment.Line,.95*y,.2*a)),ce=.95,Ee=.25,Ze.add(new go.PathSegment(go.PathSegment.Bezier,(ce+De)*y,Ee*a,(ce+Ge)*y,(Ee-De)*a,(ce+De)*y,(Ee-Ge)*a)),Ze.add(new go.PathSegment(go.PathSegment.Line,y,.6*a)),Ze.add(new go.PathSegment(go.PathSegment.Line,.85*y,.6*a)),Ze.add(new go.PathSegment(go.PathSegment.Line,.85*y,.35*a)),De=.025,Ge=pe*De,ce=.825,Ee=.35,Ze.add(new go.PathSegment(go.PathSegment.Bezier,ce*y,(Ee-De)*a,(ce+De)*y,(Ee-Ge)*a,(ce+Ge)*y,(Ee-De)*a)),Ze.add(new go.PathSegment(go.PathSegment.Bezier,(ce-De)*y,Ee*a,(ce-Ge)*y,(Ee-De)*a,(ce-De)*y,(Ee-Ge)*a)),Ze.add(new go.PathSegment(go.PathSegment.Line,.8*y,a)),Ze.add(new go.PathSegment(go.PathSegment.Line,.55*y,a)),Ze.add(new go.PathSegment(go.PathSegment.Line,.55*y,.7*a)),De=.05,Ge=pe*De,ce=.5,Ee=.7,Ze.add(new go.PathSegment(go.PathSegment.Bezier,ce*y,(Ee-De)*a,(ce+De)*y,(Ee-Ge)*a,(ce+Ge)*y,(Ee-De)*a)),Ze.add(new go.PathSegment(go.PathSegment.Bezier,(ce-De)*y,Ee*a,(ce-Ge)*y,(Ee-De)*a,(ce-De)*y,(Ee-Ge)*a)),Ze.add(new go.PathSegment(go.PathSegment.Line,.45*y,a)),Ze.add(new go.PathSegment(go.PathSegment.Line,.2*y,a)),Ze.add(new go.PathSegment(go.PathSegment.Line,.2*y,.35*a)),De=.025,Ge=pe*De,ce=.175,Ee=.35,Ze.add(new go.PathSegment(go.PathSegment.Bezier,ce*y,(Ee-De)*a,(ce+De)*y,(Ee-Ge)*a,(ce+Ge)*y,(Ee-De)*a)),Ze.add(new go.PathSegment(go.PathSegment.Bezier,(ce-De)*y,Ee*a,(ce-Ge)*y,(Ee-De)*a,(ce-De)*y,(Ee-Ge)*a)),Ze.add(new go.PathSegment(go.PathSegment.Line,.15*y,.6*a)),Ze.add(new go.PathSegment(go.PathSegment.Line,0,.6*a)),Ze.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),De=.05,Ge=pe*De,ce=.05,Ee=.25,Ze.add(new go.PathSegment(go.PathSegment.Bezier,ce*y,(Ee-De)*a,(ce-De)*y,(Ee-Ge)*a,(ce-Ge)*y,(Ee-De)*a)),Ze.add(new go.PathSegment(go.PathSegment.Line,.5*y,.2*a)),b.spot1=new go.Spot(.2,.2),b.spot2=new go.Spot(.8,.65),b}),go.Shape.setFigureParameter("Card",0,new Yt("CornerCutoutSize",.2,.1,.9)),go.Shape.defineFigureGenerator("Card",function(se,y,a){var b=se?se.parameter1:NaN;isNaN(b)&&(b=.2);var E=new go.Geometry,x=new go.PathFigure(y,0,!0);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,b*a)),x.add(new go.PathSegment(go.PathSegment.Line,b*y,0).close()),E.spot1=new go.Spot(0,b),E.spot2=go.Spot.BottomRight,E}),go.Shape.defineFigureGenerator("Collate",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(.5*y,.5*a,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a));var x=new go.PathFigure(.5*y,.5*a,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a)),x.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a)),b.spot1=new go.Spot(.25,0),b.spot2=new go.Spot(.75,.25),b}),go.Shape.defineFigureGenerator("CreateRequest",function(se,y,a){var b=new go.Geometry,E=se?se.parameter1:NaN;isNaN(E)&&(E=.1);var x=new go.PathFigure(0,0,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,0)),x.add(new go.PathSegment(go.PathSegment.Line,y,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var z=new go.PathFigure(0,E*a,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y,E*a)),z.add(new go.PathSegment(go.PathSegment.Move,0,(1-E)*a)),z.add(new go.PathSegment(go.PathSegment.Line,y,(1-E)*a)),b}),go.Shape.defineFigureGenerator("Database",function(se,y,a){var b=new go.Geometry,E=pe*.5,x=pe*.1,z=new go.PathFigure(y,.1*a,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y,.9*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,y,(.9+x)*a,(.5+E)*y,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,(.5-E)*y,a,0,(.9+x)*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.1*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,0,(.1-x)*a,(.5-E)*y,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,y,.1*a,(.5+E)*y,0,y,(.1-x)*a));var ae=new go.PathFigure(y,.1*a,!1);return b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.2*a,y,(.1+x)*a,(.5+E)*y,.2*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*a,(.5-E)*y,.2*a,0,(.1+x)*a)),ae.add(new go.PathSegment(go.PathSegment.Move,y,.2*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.3*a,y,(.2+x)*a,(.5+E)*y,.3*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*a,(.5-E)*y,.3*a,0,(.2+x)*a)),ae.add(new go.PathSegment(go.PathSegment.Move,y,.3*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.4*a,y,(.3+x)*a,(.5+E)*y,.4*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,0,.3*a,(.5-E)*y,.4*a,0,(.3+x)*a)),b.spot1=new go.Spot(0,.4),b.spot2=new go.Spot(1,.9),b}),go.Shape.defineFigureGenerator("DataStorage",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,.75*y,a,y,0,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*y,.9*a,.25*y,.1*a).close()),b.spot1=new go.Spot(.226,0),b.spot2=new go.Spot(.81,1),b}),go.Shape.defineFigureGenerator("DiskStorage",function(se,y,a){var b=new go.Geometry,E=pe*.5,x=pe*.1,z=new go.PathFigure(y,.1*a,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y,.9*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,y,(.9+x)*a,(.5+E)*y,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,(.5-E)*y,a,0,(.9+x)*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.1*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,0,(.1-x)*a,(.5-E)*y,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,y,.1*a,(.5+E)*y,0,y,(.1-x)*a));var ae=new go.PathFigure(y,.1*a,!1);return b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.2*a,y,(.1+x)*a,(.5+E)*y,.2*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*a,(.5-E)*y,.2*a,0,(.1+x)*a)),ae.add(new go.PathSegment(go.PathSegment.Move,y,.2*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.3*a,y,(.2+x)*a,(.5+E)*y,.3*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*a,(.5-E)*y,.3*a,0,(.2+x)*a)),b.spot1=new go.Spot(0,.3),b.spot2=new go.Spot(1,.9),b}),go.Shape.defineFigureGenerator("Display",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(.25*y,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,.75*y,a,y,0,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.25*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.5*a).close()),b.spot1=new go.Spot(.25,0),b.spot2=new go.Spot(.75,1),b}),go.Shape.defineFigureGenerator("DividedEvent",function(se,y,a){var b=new go.Geometry,E=se?se.parameter1:NaN;isNaN(E)?E=.2:E<.15&&(E=.15);var x=pe*.2,z=new go.PathFigure(0,.2*a,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,.2*y,0,0,(.2-x)*a,(.2-x)*y,0)),z.add(new go.PathSegment(go.PathSegment.Line,.8*y,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,y,.2*a,(.8+x)*y,0,y,(.2-x)*a)),z.add(new go.PathSegment(go.PathSegment.Line,y,.8*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,a,y,(.8+x)*a,(.8+x)*y,a)),z.add(new go.PathSegment(go.PathSegment.Line,.2*y,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.8*a,(.2-x)*y,a,0,(.8+x)*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.2*a));var ae=new go.PathFigure(0,E*a,!1);return b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,y,E*a)),b}),go.Shape.defineFigureGenerator("DividedProcess",function(se,y,a){var b=new go.Geometry,E=se?se.parameter1:NaN;(isNaN(E)||E<.1)&&(E=.1);var x=new go.PathFigure(0,0,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,0)),x.add(new go.PathSegment(go.PathSegment.Line,y,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var z=new go.PathFigure(0,E*a,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y,E*a)),b}),go.Shape.defineFigureGenerator("Document",function(se,y,a){var b=new go.Geometry;a=a/.8;var E=new go.PathFigure(0,.7*a,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.7*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.5*y,.4*a,.5*y,a).close()),b.spot1=go.Spot.TopLeft,b.spot2=new go.Spot(1,.6),b}),go.Shape.defineFigureGenerator("ExternalOrganization",function(se,y,a){var b=new go.Geometry,E=se?se.parameter1:NaN;(isNaN(E)||E<.2)&&(E=.2);var x=new go.PathFigure(0,0,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,0)),x.add(new go.PathSegment(go.PathSegment.Line,y,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var z=new go.PathFigure(E*y,0,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,E*a)),z.add(new go.PathSegment(go.PathSegment.Move,y,E*a)),z.add(new go.PathSegment(go.PathSegment.Line,(1-E)*y,0)),z.add(new go.PathSegment(go.PathSegment.Move,0,(1-E)*a)),z.add(new go.PathSegment(go.PathSegment.Line,E*y,a)),z.add(new go.PathSegment(go.PathSegment.Move,(1-E)*y,a)),z.add(new go.PathSegment(go.PathSegment.Line,y,(1-E)*a)),b}),go.Shape.defineFigureGenerator("ExternalProcess",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(.5*y,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.5*a).close());var x=new go.PathFigure(.1*y,.4*a,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.1*y,.6*a)),x.add(new go.PathSegment(go.PathSegment.Move,.9*y,.6*a)),x.add(new go.PathSegment(go.PathSegment.Line,.9*y,.4*a)),x.add(new go.PathSegment(go.PathSegment.Move,.6*y,.1*a)),x.add(new go.PathSegment(go.PathSegment.Line,.4*y,.1*a)),x.add(new go.PathSegment(go.PathSegment.Move,.4*y,.9*a)),x.add(new go.PathSegment(go.PathSegment.Line,.6*y,.9*a)),b.spot1=new go.Spot(.25,.25),b.spot2=new go.Spot(.75,.75),b}),go.Shape.defineFigureGenerator("File",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.25*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var x=new go.PathFigure(.75*y,0,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.75*y,.25*a)),x.add(new go.PathSegment(go.PathSegment.Line,y,.25*a)),b.spot1=new go.Spot(0,.25),b.spot2=go.Spot.BottomRight,b}),go.Shape.defineFigureGenerator("Interrupt",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(y,.5*a,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a));var x=new go.PathFigure(y,.5*a,!1);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,a));var z=new go.PathFigure(y,.5*a,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.spot1=new go.Spot(0,.25),b.spot2=new go.Spot(.5,.75),b}),go.Shape.defineFigureGenerator("InternalStorage",function(se,y,a){var b=new go.Geometry,E=se?se.parameter1:NaN,x=se?se.parameter2:NaN;isNaN(E)&&(E=.1),isNaN(x)&&(x=.1);var z=new go.PathFigure(0,0,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y,0)),z.add(new go.PathSegment(go.PathSegment.Line,y,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var ae=new go.PathFigure(E*y,0,!1);return b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,E*y,a)),ae.add(new go.PathSegment(go.PathSegment.Move,0,x*a)),ae.add(new go.PathSegment(go.PathSegment.Line,y,x*a)),b}),go.Shape.defineFigureGenerator("Junction",function(se,y,a){var b=new go.Geometry,E=1/Math.SQRT2,x=(1-1/Math.SQRT2)/2,z=pe*.5,ae=.5,ce=new go.PathFigure(y,ae*a,!0);b.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,ae*y,a,y,(ae+z)*a,(ae+z)*y,a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,0,ae*a,(ae-z)*y,a,0,(ae+z)*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,ae*y,0,0,(ae-z)*a,(ae-z)*y,0)),ce.add(new go.PathSegment(go.PathSegment.Bezier,y,ae*a,(ae+z)*y,0,y,(ae-z)*a));var Ee=new go.PathFigure((x+E)*y,(x+E)*a,!1);return b.add(Ee),Ee.add(new go.PathSegment(go.PathSegment.Line,x*y,x*a)),Ee.add(new go.PathSegment(go.PathSegment.Move,x*y,(x+E)*a)),Ee.add(new go.PathSegment(go.PathSegment.Line,(x+E)*y,x*a)),b}),go.Shape.defineFigureGenerator("LinedDocument",function(se,y,a){var b=new go.Geometry;a=a/.8;var E=new go.PathFigure(0,.7*a,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.7*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.5*y,.4*a,.5*y,a).close());var x=new go.PathFigure(.1*y,0,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.1*y,.75*a)),b.spot1=new go.Spot(.1,0),b.spot2=new go.Spot(1,.6),b}),go.Shape.defineFigureGenerator("LoopLimit",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(0,a,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),E.add(new go.PathSegment(go.PathSegment.Line,.25*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.25*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a).close()),b.spot1=new go.Spot(0,.25),b.spot2=go.Spot.BottomRight,b}),go.Shape.defineFigureGenerator("MagneticTape",function(se,y,a){var b=new go.Geometry,E=pe*.5,x=.5,z=new go.PathFigure(.5*y,a,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,0,x*a,(x-E)*y,a,0,(x+E)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,x*y,0,0,(x-E)*a,(x-E)*y,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,y,x*a,(x+E)*y,0,y,(x-E)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,(x+.1)*y,.9*a,y,(x+E)*a,(x+E)*y,.9*a)),z.add(new go.PathSegment(go.PathSegment.Line,y,.9*a)),z.add(new go.PathSegment(go.PathSegment.Line,y,a)),z.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),b.spot1=new go.Spot(.15,.15),b.spot2=new go.Spot(.85,.8),b}),go.Shape.defineFigureGenerator("ManualInput",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(y,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.25*a).close()),b.spot1=new go.Spot(0,.25),b.spot2=go.Spot.BottomRight,b}),go.Shape.defineFigureGenerator("MessageFromUser",function(se,y,a){var b=new go.Geometry,E=se?se.parameter1:NaN;isNaN(E)&&(E=.7);var x=new go.PathFigure(0,0,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,0)),x.add(new go.PathSegment(go.PathSegment.Line,E*y,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,y,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),b.spot1=go.Spot.TopLeft,b}),go.Shape.defineFigureGenerator("MicroformProcessing",function(se,y,a){var b=new go.Geometry,E=se?se.parameter1:NaN;isNaN(E)&&(E=.25);var x=new go.PathFigure(0,0,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*y,E*a)),x.add(new go.PathSegment(go.PathSegment.Line,y,0)),x.add(new go.PathSegment(go.PathSegment.Line,y,a)),x.add(new go.PathSegment(go.PathSegment.Line,.5*y,(1-E)*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),b}),go.Shape.defineFigureGenerator("MicroformRecording",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,.25*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.15*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.85*a)),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,.75*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),b.spot1=new go.Spot(0,.25),b.spot2=new go.Spot(1,.75),b}),go.Shape.defineFigureGenerator("MultiDocument",function(se,y,a){var b=new go.Geometry;a=a/.8;var E=new go.PathFigure(y,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.9*y,.44*a,.96*y,.47*a,.93*y,.45*a)),E.add(new go.PathSegment(go.PathSegment.Line,.9*y,.6*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,.54*a,.86*y,.57*a,.83*y,.55*a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,.7*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.4*y,.4*a,.4*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.2*a)),E.add(new go.PathSegment(go.PathSegment.Line,.1*y,.2*a)),E.add(new go.PathSegment(go.PathSegment.Line,.1*y,.1*a)),E.add(new go.PathSegment(go.PathSegment.Line,.2*y,.1*a)),E.add(new go.PathSegment(go.PathSegment.Line,.2*y,0).close());var x=new go.PathFigure(.1*y,.2*a,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.8*y,.2*a)),x.add(new go.PathSegment(go.PathSegment.Line,.8*y,.54*a)),x.add(new go.PathSegment(go.PathSegment.Move,.2*y,.1*a)),x.add(new go.PathSegment(go.PathSegment.Line,.9*y,.1*a)),x.add(new go.PathSegment(go.PathSegment.Line,.9*y,.44*a)),b.spot1=new go.Spot(0,.25),b.spot2=new go.Spot(.8,.77),b}),go.Shape.defineFigureGenerator("MultiProcess",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(.1*y,.1*a,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.2*y,.1*a)),E.add(new go.PathSegment(go.PathSegment.Line,.2*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,.9*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,.9*y,.9*a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,.9*a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.2*a)),E.add(new go.PathSegment(go.PathSegment.Line,.1*y,.2*a).close());var x=new go.PathFigure(.2*y,.1*a,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.9*y,.1*a)),x.add(new go.PathSegment(go.PathSegment.Line,.9*y,.8*a)),x.add(new go.PathSegment(go.PathSegment.Move,.1*y,.2*a)),x.add(new go.PathSegment(go.PathSegment.Line,.8*y,.2*a)),x.add(new go.PathSegment(go.PathSegment.Line,.8*y,.9*a)),b.spot1=new go.Spot(0,.2),b.spot2=new go.Spot(.8,1),b}),go.Shape.defineFigureGenerator("OfflineStorage",function(se,y,a){var b=new go.Geometry,E=se?se.parameter1:NaN;isNaN(E)&&(E=.1);var x=1-E,z=new go.PathFigure(0,0,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y,0)),z.add(new go.PathSegment(go.PathSegment.Line,.5*y,a).close());var ae=new go.PathFigure(.5*E*y,E*a,!1);return b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,(1-.5*E)*y,E*a)),b}),go.Shape.defineFigureGenerator("OffPageConnector",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),b.spot1=go.Spot.TopLeft,b.spot2=new go.Spot(.75,1),b}),go.Shape.defineFigureGenerator("Or",function(se,y,a){var b=new go.Geometry,E=pe*.5,x=.5,z=new go.PathFigure(y,x*a,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,x*y,a,y,(x+E)*a,(x+E)*y,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,x*a,(x-E)*y,a,0,(x+E)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,x*y,0,0,(x-E)*a,(x-E)*y,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,y,x*a,(x+E)*y,0,y,(x-E)*a));var ae=new go.PathFigure(y,.5*a,!1);return b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),ae.add(new go.PathSegment(go.PathSegment.Move,.5*y,a)),ae.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),b}),go.Shape.defineFigureGenerator("PaperTape",function(se,y,a){var b=new go.Geometry;a=a/.8;var E=new go.PathFigure(0,.7*a,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.3*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,y,.3*a,.5*y,.6*a,.5*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.7*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.5*y,.4*a,.5*y,a).close()),b.spot1=new go.Spot(0,.49),b.spot2=new go.Spot(1,.75),b}),go.Shape.defineFigureGenerator("PrimitiveFromCall",function(se,y,a){var b=new go.Geometry,E=se?se.parameter1:NaN,x=se?se.parameter2:NaN;isNaN(E)&&(E=.1),isNaN(x)&&(x=.3);var z=new go.PathFigure(0,0,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y,0)),z.add(new go.PathSegment(go.PathSegment.Line,(1-x)*y,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,y,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),b}),go.Shape.defineFigureGenerator("PrimitiveToCall",function(se,y,a){var b=new go.Geometry,E=se?se.parameter1:NaN,x=se?se.parameter2:NaN;isNaN(E)&&(E=.1),isNaN(x)&&(x=.3);var z=new go.PathFigure(0,0,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,(1-x)*y,0)),z.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,(1-x)*y,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),b}),go.Shape.defineFigureGenerator("Procedure",function(se,y,a){var b=new go.Geometry,E=se?se.parameter1:NaN;isNaN(E)&&(E=.1);var x=new go.PathFigure(0,0,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,0)),x.add(new go.PathSegment(go.PathSegment.Line,y,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var z=new go.PathFigure((1-E)*y,0,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,(1-E)*y,a)),z.add(new go.PathSegment(go.PathSegment.Move,E*y,0)),z.add(new go.PathSegment(go.PathSegment.Line,E*y,a)),b}),go.Shape.defineFigureGenerator("Process",function(se,y,a){var b=new go.Geometry,E=se?se.parameter1:NaN;isNaN(E)&&(E=.1);var x=new go.PathFigure(0,0,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,0)),x.add(new go.PathSegment(go.PathSegment.Line,y,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var z=new go.PathFigure(E*y,0,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E*y,a)),b.spot2=go.Spot.BottomRight,b}),go.Shape.defineFigureGenerator("Sort",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(.5*y,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.5*a).close());var x=new go.PathFigure(0,.5*a,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),b.spot1=new go.Spot(.25,.25),b.spot2=new go.Spot(.75,.5),b}),go.Shape.defineFigureGenerator("Start",function(se,y,a){var b=new go.Geometry,E=se?se.parameter1:NaN;isNaN(E)&&(E=.25);var x=new go.PathFigure(E*y,0,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*y,.5*a,.25*y,.5*a)),x.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*y,.5*a,.25*y,.5*a));var z=new go.PathFigure(E*y,0,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E*y,a)),z.add(new go.PathSegment(go.PathSegment.Move,(1-E)*y,0)),z.add(new go.PathSegment(go.PathSegment.Line,(1-E)*y,a)),b.spot1=new go.Spot(E,0),b.spot2=new go.Spot(1-E,1),b}),go.Shape.defineFigureGenerator("Terminator",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(.25*y,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*y,.5*a,.25*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*y,.5*a,.25*y,.5*a)),b.spot1=new go.Spot(.23,0),b.spot2=new go.Spot(.77,1),b}),go.Shape.defineFigureGenerator("TransmittalTape",function(se,y,a){var b=new go.Geometry,E=se?se.parameter1:NaN;isNaN(E)&&(E=.1);var x=new go.PathFigure(0,0,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,0)),x.add(new go.PathSegment(go.PathSegment.Line,y,a)),x.add(new go.PathSegment(go.PathSegment.Line,.75*y,(1-E)*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,(1-E)*a).close()),b.spot1=go.Spot.TopLeft,b}),go.Shape.defineFigureGenerator("AndGate",function(se,y,a){var b=new go.Geometry,E=pe*.5,x=new go.PathFigure(0,0,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),x.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,(.5+E)*y,0,y,(.5-E)*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,y,(.5+E)*a,(.5+E)*y,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),b.spot1=go.Spot.TopLeft,b.spot2=new go.Spot(.55,1),b}),go.Shape.defineFigureGenerator("Buffer",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),b.spot1=new go.Spot(0,.25),b.spot2=new go.Spot(.5,.75),b}),go.Shape.defineFigureGenerator("Clock",function(se,y,a){var b=new go.Geometry,E=pe*.5,x=.5,z=new go.PathFigure(y,x*a,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,x*y,a,y,(x+E)*a,(x+E)*y,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,x*a,(x-E)*y,a,0,(x+E)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,x*y,0,0,(x-E)*a,(x-E)*y,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,y,x*a,(x+E)*y,0,y,(x-E)*a));var ae=new go.PathFigure(y,x*a,!1);b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,y,x*a));var ce=new go.PathFigure(.8*y,.75*a,!1);return b.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,.8*y,.25*a)),ce.add(new go.PathSegment(go.PathSegment.Line,.6*y,.25*a)),ce.add(new go.PathSegment(go.PathSegment.Line,.6*y,.75*a)),ce.add(new go.PathSegment(go.PathSegment.Line,.4*y,.75*a)),ce.add(new go.PathSegment(go.PathSegment.Line,.4*y,.25*a)),ce.add(new go.PathSegment(go.PathSegment.Line,.2*y,.25*a)),ce.add(new go.PathSegment(go.PathSegment.Line,.2*y,.75*a)),b}),go.Shape.defineFigureGenerator("Ground",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(.5*y,0,!1);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.4*a)),E.add(new go.PathSegment(go.PathSegment.Move,.2*y,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,.6*a)),E.add(new go.PathSegment(go.PathSegment.Move,.3*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,.7*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Move,.4*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.6*y,a)),b}),go.Shape.defineFigureGenerator("Inverter",function(se,y,a){var b=new go.Geometry,E=pe*.1,x=.1,z=.9,ae=.5,ce=new go.PathFigure(.8*y,.5*a,!0);b.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,0,a)),ce.add(new go.PathSegment(go.PathSegment.Line,0,0)),ce.add(new go.PathSegment(go.PathSegment.Line,.8*y,.5*a));var Ee=new go.PathFigure((z+x)*y,ae*a,!0);return b.add(Ee),Ee.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ae+x)*a,(z+x)*y,(ae+E)*a,(z+E)*y,(ae+x)*a)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(z-x)*y,ae*a,(z-E)*y,(ae+x)*a,(z-x)*y,(ae+E)*a)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ae-x)*a,(z-x)*y,(ae-E)*a,(z-E)*y,(ae-x)*a)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*y,ae*a,(z+E)*y,(ae-x)*a,(z+x)*y,(ae-E)*a)),b.spot1=new go.Spot(0,.25),b.spot2=new go.Spot(.4,.75),b}),go.Shape.defineFigureGenerator("NandGate",function(se,y,a){var b=new go.Geometry,E=pe*.5,x=pe*.4,z=pe*.1,ae=.1,ce=.9,Ee=.5,be=new go.PathFigure(.8*y,.5*a,!0);b.add(be),be.add(new go.PathSegment(go.PathSegment.Bezier,.4*y,a,.8*y,(.5+x)*a,(.4+E)*y,a)),be.add(new go.PathSegment(go.PathSegment.Line,0,a)),be.add(new go.PathSegment(go.PathSegment.Line,0,0)),be.add(new go.PathSegment(go.PathSegment.Line,.4*y,0)),be.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,.5*a,(.4+E)*y,0,.8*y,(.5-x)*a));var De=new go.PathFigure((ce+ae)*y,Ee*a,!0);return b.add(De),De.add(new go.PathSegment(go.PathSegment.Bezier,ce*y,(Ee+ae)*a,(ce+ae)*y,(Ee+z)*a,(ce+z)*y,(Ee+ae)*a)),De.add(new go.PathSegment(go.PathSegment.Bezier,(ce-ae)*y,Ee*a,(ce-z)*y,(Ee+ae)*a,(ce-ae)*y,(Ee+z)*a)),De.add(new go.PathSegment(go.PathSegment.Bezier,ce*y,(Ee-ae)*a,(ce-ae)*y,(Ee-z)*a,(ce-z)*y,(Ee-ae)*a)),De.add(new go.PathSegment(go.PathSegment.Bezier,(ce+ae)*y,Ee*a,(ce+z)*y,(Ee-ae)*a,(ce+ae)*y,(Ee-z)*a)),b.spot1=new go.Spot(0,.05),b.spot2=new go.Spot(.55,.95),b}),go.Shape.defineFigureGenerator("NorGate",function(se,y,a){var b=new go.Geometry,E=.5,x=pe*E,z=0,ae=.5,ce=new go.PathFigure(.8*y,.5*a,!0);b.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,0,a,.7*y,(ae+x)*a,(z+x)*y,(ae+E)*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*y,.75*a,.25*y,.25*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,.5*a,(z+x)*y,(ae-E)*a,.7*y,(ae-x)*a)),E=.1,x=pe*.1,z=.9,ae=.5;var Ee=new go.PathFigure((z-E)*y,ae*a,!0);return b.add(Ee),Ee.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ae-E)*a,(z-E)*y,(ae-x)*a,(z-x)*y,(ae-E)*a)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*y,ae*a,(z+x)*y,(ae-E)*a,(z+E)*y,(ae-x)*a)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ae+E)*a,(z+E)*y,(ae+x)*a,(z+x)*y,(ae+E)*a)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(z-E)*y,ae*a,(z-x)*y,(ae+E)*a,(z-E)*y,(ae+x)*a)),b.spot1=new go.Spot(.2,.25),b.spot2=new go.Spot(.6,.75),b}),go.Shape.defineFigureGenerator("OrGate",function(se,y,a){var b=new go.Geometry,E=.5,x=pe*E,z=0,ae=.5,ce=new go.PathFigure(0,0,!0);return b.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,(z+x+x)*y,(ae-E)*a,.8*y,(ae-x)*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,0,a,.8*y,(ae+x)*a,(z+x+x)*y,(ae+E)*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*y,.75*a,.25*y,.25*a).close()),b.spot1=new go.Spot(.2,.25),b.spot2=new go.Spot(.75,.75),b}),go.Shape.defineFigureGenerator("XnorGate",function(se,y,a){var b=new go.Geometry,E=.5,x=pe*E,z=.2,ae=.5,ce=new go.PathFigure(.1*y,0,!1);b.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,.1*y,a,.35*y,.25*a,.35*y,.75*a));var Ee=new go.PathFigure(.8*y,.5*a,!0);b.add(Ee),Ee.add(new go.PathSegment(go.PathSegment.Bezier,.2*y,a,.7*y,(ae+x)*a,(z+x)*y,(ae+E)*a)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,.2*y,0,.45*y,.75*a,.45*y,.25*a)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,.5*a,(z+x)*y,(ae-E)*a,.7*y,(ae-x)*a)),E=.1,x=pe*.1,z=.9,ae=.5;var be=new go.PathFigure((z-E)*y,ae*a,!0);return b.add(be),be.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ae-E)*a,(z-E)*y,(ae-x)*a,(z-x)*y,(ae-E)*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*y,ae*a,(z+x)*y,(ae-E)*a,(z+E)*y,(ae-x)*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ae+E)*a,(z+E)*y,(ae+x)*a,(z+x)*y,(ae+E)*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,(z-E)*y,ae*a,(z-x)*y,(ae+E)*a,(z-E)*y,(ae+x)*a)),b.spot1=new go.Spot(.4,.25),b.spot2=new go.Spot(.65,.75),b}),go.Shape.defineFigureGenerator("XorGate",function(se,y,a){var b=new go.Geometry,E=.5,x=pe*E,z=.2,ae=.5,ce=new go.PathFigure(.1*y,0,!1);b.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,.1*y,a,.35*y,.25*a,.35*y,.75*a));var Ee=new go.PathFigure(.2*y,0,!0);return b.add(Ee),Ee.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,(z+x)*y,(ae-E)*a,.9*y,(ae-x)*a)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,.2*y,a,.9*y,(ae+x)*a,(z+x)*y,(ae+E)*a)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,.2*y,0,.45*y,.75*a,.45*y,.25*a).close()),b.spot1=new go.Spot(.4,.25),b.spot2=new go.Spot(.8,.75),b}),go.Shape.defineFigureGenerator("Capacitor",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!1);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Move,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),b}),go.Shape.defineFigureGenerator("Resistor",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(0,.5*a,!1);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.1*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.2*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.3*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.4*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.6*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.7*y,.5*a)),b}),go.Shape.defineFigureGenerator("Inductor",function(se,y,a){var b=new go.Geometry,E=pe*.1,x=.1,z=.1,ae=.5,ce=new go.PathFigure((z-E*.5)*y,a,!1);return b.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*y,0,(z-E)*y,a,(z-x)*y,0)),z=.3,ce.add(new go.PathSegment(go.PathSegment.Bezier,z*y,a,(z+x)*y,0,(z+E)*y,a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*y,0,(z-E)*y,a,(z-x)*y,0)),z=.5,ce.add(new go.PathSegment(go.PathSegment.Bezier,z*y,a,(z+x)*y,0,(z+E)*y,a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*y,0,(z-E)*y,a,(z-x)*y,0)),z=.7,ce.add(new go.PathSegment(go.PathSegment.Bezier,z*y,a,(z+x)*y,0,(z+E)*y,a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*y,0,(z-E)*y,a,(z-x)*y,0)),z=.9,ce.add(new go.PathSegment(go.PathSegment.Bezier,(z+E*.5)*y,a,(z+x)*y,0,(z+E)*y,a)),b}),go.Shape.defineFigureGenerator("ACvoltageSource",function(se,y,a){var b=new go.Geometry,E=pe*.5,x=.5,z=.5,ae=.5,ce=new go.PathFigure((z-x)*y,ae*a,!1);return b.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ae-x)*a,(z-x)*y,(ae-E)*a,(z-E)*y,(ae-x)*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*y,ae*a,(z+E)*y,(ae-x)*a,(z+x)*y,(ae-E)*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ae+x)*a,(z+x)*y,(ae+E)*a,(z+E)*y,(ae+x)*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(z-x)*y,ae*a,(z-E)*y,(ae+x)*a,(z-x)*y,(ae+E)*a)),ce.add(new go.PathSegment(go.PathSegment.Move,(z-x+.1)*y,ae*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(z+x-.1)*y,ae*a,z*y,(ae-x)*a,z*y,(ae+x)*a)),b}),go.Shape.defineFigureGenerator("DCvoltageSource",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(0,.75*a,!1);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),E.add(new go.PathSegment(go.PathSegment.Move,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),b}),go.Shape.defineFigureGenerator("Diode",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(y,0,!1);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.spot1=new go.Spot(0,.25),b.spot2=new go.Spot(.5,.75),b}),go.Shape.defineFigureGenerator("Wifi",function(se,y,a){var b=new go.Geometry,E=y,x=a;y=y*.38,a=a*.6;var z=pe*.8,ae=.8,ce=0,Ee=.5,be=(E-y)/2,De=(x-a)/2,Ge=new go.PathFigure(ce*y+be,(Ee+ae)*a+De,!0);b.add(Ge),Ge.add(new go.PathSegment(go.PathSegment.Bezier,(ce-ae)*y+be,Ee*a+De,(ce-z)*y+be,(Ee+ae)*a+De,(ce-ae)*y+be,(Ee+z)*a+De)),Ge.add(new go.PathSegment(go.PathSegment.Bezier,ce*y+be,(Ee-ae)*a+De,(ce-ae)*y+be,(Ee-z)*a+De,(ce-z)*y+be,(Ee-ae)*a+De)),Ge.add(new go.PathSegment(go.PathSegment.Bezier,(ce-ae+z*.5)*y+be,Ee*a+De,ce*y+be,(Ee-ae)*a+De,(ce-ae+z*.5)*y+be,(Ee-z)*a+De)),Ge.add(new go.PathSegment(go.PathSegment.Bezier,ce*y+be,(Ee+ae)*a+De,(ce-ae+z*.5)*y+be,(Ee+z)*a+De,ce*y+be,(Ee+ae)*a+De).close()),z=pe*.4,ae=.4,ce=.2,Ee=.5;var Ze=new go.PathFigure(ce*y+be,(Ee+ae)*a+De,!0);b.add(Ze),Ze.add(new go.PathSegment(go.PathSegment.Bezier,(ce-ae)*y+be,Ee*a+De,(ce-z)*y+be,(Ee+ae)*a+De,(ce-ae)*y+be,(Ee+z)*a+De)),Ze.add(new go.PathSegment(go.PathSegment.Bezier,ce*y+be,(Ee-ae)*a+De,(ce-ae)*y+be,(Ee-z)*a+De,(ce-z)*y+be,(Ee-ae)*a+De)),Ze.add(new go.PathSegment(go.PathSegment.Bezier,(ce-ae+z*.5)*y+be,Ee*a+De,ce*y+be,(Ee-ae)*a+De,(ce-ae+z*.5)*y+be,(Ee-z)*a+De)),Ze.add(new go.PathSegment(go.PathSegment.Bezier,ce*y+be,(Ee+ae)*a+De,(ce-ae+z*.5)*y+be,(Ee+z)*a+De,ce*y+be,(Ee+ae)*a+De).close()),z=pe*.2,ae=.2,ce=.5,Ee=.5;var ot=new go.PathFigure((ce-ae)*y+be,Ee*a+De,!0);b.add(ot),ot.add(new go.PathSegment(go.PathSegment.Bezier,ce*y+be,(Ee-ae)*a+De,(ce-ae)*y+be,(Ee-z)*a+De,(ce-z)*y+be,(Ee-ae)*a+De)),ot.add(new go.PathSegment(go.PathSegment.Bezier,(ce+ae)*y+be,Ee*a+De,(ce+z)*y+be,(Ee-ae)*a+De,(ce+ae)*y+be,(Ee-z)*a+De)),ot.add(new go.PathSegment(go.PathSegment.Bezier,ce*y+be,(Ee+ae)*a+De,(ce+ae)*y+be,(Ee+z)*a+De,(ce+z)*y+be,(Ee+ae)*a+De)),ot.add(new go.PathSegment(go.PathSegment.Bezier,(ce-ae)*y+be,Ee*a+De,(ce-z)*y+be,(Ee+ae)*a+De,(ce-ae)*y+be,(Ee+z)*a+De)),z=pe*.4,ae=.4,ce=.8,Ee=.5;var Te=new go.PathFigure(ce*y+be,(Ee-ae)*a+De,!0);b.add(Te),Te.add(new go.PathSegment(go.PathSegment.Bezier,(ce+ae)*y+be,Ee*a+De,(ce+z)*y+be,(Ee-ae)*a+De,(ce+ae)*y+be,(Ee-z)*a+De)),Te.add(new go.PathSegment(go.PathSegment.Bezier,ce*y+be,(Ee+ae)*a+De,(ce+ae)*y+be,(Ee+z)*a+De,(ce+z)*y+be,(Ee+ae)*a+De)),Te.add(new go.PathSegment(go.PathSegment.Bezier,(ce+ae-z*.5)*y+be,Ee*a+De,ce*y+be,(Ee+ae)*a+De,(ce+ae-z*.5)*y+be,(Ee+z)*a+De)),Te.add(new go.PathSegment(go.PathSegment.Bezier,ce*y+be,(Ee-ae)*a+De,(ce+ae-z*.5)*y+be,(Ee-z)*a+De,ce*y+be,(Ee-ae)*a+De).close()),z=pe*.8,ae=.8,ce=1,Ee=.5;var wt=new go.PathFigure(ce*y+be,(Ee-ae)*a+De,!0);return b.add(wt),wt.add(new go.PathSegment(go.PathSegment.Bezier,(ce+ae)*y+be,Ee*a+De,(ce+z)*y+be,(Ee-ae)*a+De,(ce+ae)*y+be,(Ee-z)*a+De)),wt.add(new go.PathSegment(go.PathSegment.Bezier,ce*y+be,(Ee+ae)*a+De,(ce+ae)*y+be,(Ee+z)*a+De,(ce+z)*y+be,(Ee+ae)*a+De)),wt.add(new go.PathSegment(go.PathSegment.Bezier,(ce+ae-z*.5)*y+be,Ee*a+De,ce*y+be,(Ee+ae)*a+De,(ce+ae-z*.5)*y+be,(Ee+z)*a+De)),wt.add(new go.PathSegment(go.PathSegment.Bezier,ce*y+be,(Ee-ae)*a+De,(ce+ae-z*.5)*y+be,(Ee-z)*a+De,ce*y+be,(Ee-ae)*a+De).close()),b}),go.Shape.defineFigureGenerator("Email",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var x=new go.PathFigure(0,0,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*y,.6*a)),x.add(new go.PathSegment(go.PathSegment.Line,y,0)),x.add(new go.PathSegment(go.PathSegment.Move,0,a)),x.add(new go.PathSegment(go.PathSegment.Line,.45*y,.54*a)),x.add(new go.PathSegment(go.PathSegment.Move,y,a)),x.add(new go.PathSegment(go.PathSegment.Line,.55*y,.54*a)),b}),go.Shape.defineFigureGenerator("Ethernet",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(.35*y,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.65*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.65*y,.4*a)),E.add(new go.PathSegment(go.PathSegment.Line,.35*y,.4*a)),E.add(new go.PathSegment(go.PathSegment.Line,.35*y,0).close());var x=new go.PathFigure(.1*y,a,!0,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.4*y,a)),x.add(new go.PathSegment(go.PathSegment.Line,.4*y,.6*a)),x.add(new go.PathSegment(go.PathSegment.Line,.1*y,.6*a)),x.add(new go.PathSegment(go.PathSegment.Line,.1*y,a).close());var z=new go.PathFigure(.6*y,a,!0,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.9*y,a)),z.add(new go.PathSegment(go.PathSegment.Line,.9*y,.6*a)),z.add(new go.PathSegment(go.PathSegment.Line,.6*y,.6*a)),z.add(new go.PathSegment(go.PathSegment.Line,.6*y,a).close());var ae=new go.PathFigure(0,.5*a,!1);return b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),ae.add(new go.PathSegment(go.PathSegment.Move,.5*y,.5*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.5*y,.4*a)),ae.add(new go.PathSegment(go.PathSegment.Move,.75*y,.5*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.75*y,.6*a)),ae.add(new go.PathSegment(go.PathSegment.Move,.25*y,.5*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.25*y,.6*a)),b}),go.Shape.defineFigureGenerator("Power",function(se,y,a){var b=new go.Geometry,E=pe*.4,x=.4,z=.5,ae=.5,ce=le(),Ee=le(),be=le(),De=le();Je(z,ae-x,z+E,ae-x,z+x,ae-E,z+x,ae,.5,ce,ce,Ee,be,De);var Ge=de(Ee.x,Ee.y),Ze=new go.PathFigure(Ee.x*y,Ee.y*a,!0);b.add(Ze),Ze.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*y,ae*a,be.x*y,be.y*a,De.x*y,De.y*a)),Ze.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ae+x)*a,(z+x)*y,(ae+E)*a,(z+E)*y,(ae+x)*a)),Ze.add(new go.PathSegment(go.PathSegment.Bezier,(z-x)*y,ae*a,(z-E)*y,(ae+x)*a,(z-x)*y,(ae+E)*a)),Je(z-x,ae,z-x,ae-E,z-E,ae-x,z,ae-x,.5,be,De,Ee,ce,ce),Ze.add(new go.PathSegment(go.PathSegment.Bezier,Ee.x*y,Ee.y*a,be.x*y,be.y*a,De.x*y,De.y*a)),E=pe*.3,x=.3,Je(z-x,ae,z-x,ae-E,z-E,ae-x,z,ae-x,.5,be,De,Ee,ce,ce),Ze.add(new go.PathSegment(go.PathSegment.Line,Ee.x*y,Ee.y*a)),Ze.add(new go.PathSegment(go.PathSegment.Bezier,(z-x)*y,ae*a,De.x*y,De.y*a,be.x*y,be.y*a)),Ze.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ae+x)*a,(z-x)*y,(ae+E)*a,(z-E)*y,(ae+x)*a)),Ze.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*y,ae*a,(z+E)*y,(ae+x)*a,(z+x)*y,(ae+E)*a)),Je(z,ae-x,z+E,ae-x,z+x,ae-E,z+x,ae,.5,ce,ce,Ee,be,De),Ze.add(new go.PathSegment(go.PathSegment.Bezier,Ee.x*y,Ee.y*a,De.x*y,De.y*a,be.x*y,be.y*a).close());var Ze=new go.PathFigure(.45*y,0,!0);return b.add(Ze),Ze.add(new go.PathSegment(go.PathSegment.Line,.45*y,.5*a)),Ze.add(new go.PathSegment(go.PathSegment.Line,.55*y,.5*a)),Ze.add(new go.PathSegment(go.PathSegment.Line,.55*y,0).close()),ye(ce),ye(Ee),ye(be),ye(De),ye(Ge),b.spot1=new go.Spot(.25,.45),b.spot2=new go.Spot(.75,.8),b}),go.Shape.defineFigureGenerator("Fallout",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(0,a/2,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Arc,180,360,y/2,a/2,y/2,a/2));function x(z,ae,ce){z.add(new go.PathSegment(go.PathSegment.Move,(.3+ae)*y,(.8+ce)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(.5+ae)*y,(.5+ce)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(.1+ae)*y,(.5+ce)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(.3+ae)*y,(.8+ce)*a).close())}return x(E,0,0),x(E,.4,0),x(E,.2,-.3),b}),go.Shape.defineFigureGenerator("IrritationHazard",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(.2*y,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.3*a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.2*a)),E.add(new go.PathSegment(go.PathSegment.Line,.7*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.7*a)),E.add(new go.PathSegment(go.PathSegment.Line,.2*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,.3*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.2*a).close()),b.spot1=new go.Spot(.3,.3),b.spot2=new go.Spot(.7,.7),b}),go.Shape.defineFigureGenerator("ElectricalHazard",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(.37*y,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.11*a)),E.add(new go.PathSegment(go.PathSegment.Line,.77*y,.04*a)),E.add(new go.PathSegment(go.PathSegment.Line,.33*y,.49*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.37*a)),E.add(new go.PathSegment(go.PathSegment.Line,.63*y,.86*a)),E.add(new go.PathSegment(go.PathSegment.Line,.77*y,.91*a)),E.add(new go.PathSegment(go.PathSegment.Line,.34*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.34*y,.78*a)),E.add(new go.PathSegment(go.PathSegment.Line,.44*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,.65*y,.56*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.68*a).close()),b}),go.Shape.defineFigureGenerator("FireHazard",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(.1*y,a,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Bezier,.29*y,0,-.25*y,.63*a,.45*y,.44*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.51*y,.42*a,.48*y,.17*a,.54*y,.35*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.59*y,.18*a,.59*y,.29*a,.58*y,.28*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.75*y,.6*a,.8*y,.34*a,.88*y,.43*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.88*y,.31*a,.87*y,.48*a,.88*y,.43*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.9*y,a,1.17*y,.76*a,.82*y,.8*a).close()),b.spot1=new go.Spot(.07,.445),b.spot2=new go.Spot(.884,.958),b}),go.Shape.defineFigureGenerator("BpmnActivityLoop",function(se,y,a){var b=new go.Geometry,E=.5,x=0,z=0,ae=E*pe,ce=.4*Math.SQRT2/2+.5,Ee=.5-.5*Math.SQRT2/2,be=1,De=.5,Ge=.5,Ze=0,ot=new go.PathFigure(ce*y,(1-Ee)*a,!1);return b.add(ot),ot.add(new go.PathSegment(go.PathSegment.Bezier,be*y,De*a,be*y,.7*a,be*y,De*a)),ot.add(new go.PathSegment(go.PathSegment.Bezier,(Ge+x)*y,(Ze+x)*a,(.5+E+x)*y,(.5-ae+x)*a,(.5+ae+x)*y,(.5-E+x)*a)),ot.add(new go.PathSegment(go.PathSegment.Bezier,(.5-E+x)*y,(.5+z)*a,(.5-ae+x)*y,(.5-E+z)*a,(.5-E+x)*y,(.5-ae+z)*a)),ot.add(new go.PathSegment(go.PathSegment.Bezier,(.35+x)*y,.9*a,(.5-E+x)*y,(.5+ae+z)*a,(.5-ae+x)*y,.9*a)),ot.add(new go.PathSegment(go.PathSegment.Move,(.25+x)*y,.8*a)),ot.add(new go.PathSegment(go.PathSegment.Line,(.35+x)*y,.9*a)),ot.add(new go.PathSegment(go.PathSegment.Line,(.2+x)*y,.95*a)),b}),go.Shape.defineFigureGenerator("BpmnActivityParallel",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!1);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Move,.5*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),E.add(new go.PathSegment(go.PathSegment.Move,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),b}),go.Shape.defineFigureGenerator("BpmnActivitySequential",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!1);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Move,0,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Move,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),b}),go.Shape.defineFigureGenerator("BpmnActivityAdHoc",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!1);b.add(E);var x=new go.PathFigure(y,a,!1);b.add(x);var z=new go.PathFigure(0,.5*a,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.5*a,.2*y,.35*a,.3*y,.35*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,.7*y,.65*a,.8*y,.65*a)),b}),go.Shape.defineFigureGenerator("BpmnActivityCompensation",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(0,.5*a,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a).close()),b}),go.Shape.defineFigureGenerator("BpmnTaskMessage",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(0,.2*a,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,.2*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.8*a).close());var E=new go.PathFigure(0,.2*a,!1);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.2*a)),b}),go.Shape.defineFigureGenerator("BpmnTaskScript",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(.7*y,a,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.3*y,a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.3*y,0,.6*y,.5*a,0,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.7*y,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,.7*y,a,.4*y,.5*a,y,.5*a).close());var x=new go.PathFigure(.45*y,.73*a,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.7*y,.73*a)),x.add(new go.PathSegment(go.PathSegment.Move,.38*y,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,.63*y,.5*a)),x.add(new go.PathSegment(go.PathSegment.Move,.31*y,.27*a)),x.add(new go.PathSegment(go.PathSegment.Line,.56*y,.27*a)),b}),go.Shape.defineFigureGenerator("BpmnTaskUser",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!1);b.add(E);var x=new go.PathFigure(.335*y,(1-.555)*a,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.335*y,(1-.405)*a)),x.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*y,(1-.405)*a)),x.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*y,(1-.555)*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,y,.68*a,(1-.12)*y,.46*a,(1-.02)*y,.54*a)),x.add(new go.PathSegment(go.PathSegment.Line,y,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,.68*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,.335*y,(1-.555)*a,.02*y,.54*a,.12*y,.46*a)),x.add(new go.PathSegment(go.PathSegment.Line,.365*y,(1-.595)*a));var z=.5-.285,ae=.5,ce=z,Ee=Math.PI/4,be=4*(1-Math.cos(Ee))/(3*Math.sin(Ee)),De=be*.5,Ge=z,Ze=z,ot=be*Ge,Te=be*Ze;x.add(new go.PathSegment(go.PathSegment.Bezier,(ae-Ge)*y,ce*a,(ae-(ot+Ge)/2)*y,(ce+(Ze+Te)/2)*a,(ae-Ge)*y,(ce+Te)*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,ae*y,(ce-Ze)*a,(ae-Ge)*y,(ce-Te)*a,(ae-ot)*y,(ce-Ze)*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,(ae+Ge)*y,ce*a,(ae+ot)*y,(ce-Ze)*a,(ae+Ge)*y,(ce-Te)*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,(1-.365)*y,(1-.595)*a,(ae+Ge)*y,(ce+Te)*a,(ae+(ot+Ge)/2)*y,(ce+(Ze+Te)/2)*a)),x.add(new go.PathSegment(go.PathSegment.Line,(1-.365)*y,(1-.595)*a)),x.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*y,(1-.555)*a)),x.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*y,(1-.405)*a)),x.add(new go.PathSegment(go.PathSegment.Line,.335*y,(1-.405)*a));var wt=new go.PathFigure(.2*y,a,!1);b.add(wt),wt.add(new go.PathSegment(go.PathSegment.Line,.2*y,.8*a));var Qe=new go.PathFigure(.8*y,a,!1);return b.add(Qe),Qe.add(new go.PathSegment(go.PathSegment.Line,.8*y,.8*a)),b}),go.Shape.defineFigureGenerator("BpmnEventConditional",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(.1*y,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.9*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.9*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.1*y,a).close());var x=new go.PathFigure(.2*y,.2*a,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.8*y,.2*a)),x.add(new go.PathSegment(go.PathSegment.Move,.2*y,.4*a)),x.add(new go.PathSegment(go.PathSegment.Line,.8*y,.4*a)),x.add(new go.PathSegment(go.PathSegment.Move,.2*y,.6*a)),x.add(new go.PathSegment(go.PathSegment.Line,.8*y,.6*a)),x.add(new go.PathSegment(go.PathSegment.Move,.2*y,.8*a)),x.add(new go.PathSegment(go.PathSegment.Line,.8*y,.8*a)),b}),go.Shape.defineFigureGenerator("BpmnEventError",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(0,a,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.33*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.66*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.66*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.33*y,.5*a).close()),b}),go.Shape.defineFigureGenerator("BpmnEventEscalation",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!1);b.add(E);var x=new go.PathFigure(y,a,!1);b.add(x);var z=new go.PathFigure(.1*y,a,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),z.add(new go.PathSegment(go.PathSegment.Line,.9*y,a)),z.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a).close()),b}),go.Shape.defineFigureGenerator("Caution",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(.05*y,a,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Bezier,.1*y,.8*a,0,a,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,.45*y,.1*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.55*y,.1*a,.5*y,0,.5*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.95*y,.9*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.9*y,a,y,a,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.05*y,a));var x=.05;return E.add(new go.PathSegment(go.PathSegment.Move,(.5-x)*y,.875*a)),E.add(new go.PathSegment(go.PathSegment.Arc,180,-360,.5*y,.875*a,x*y,x*a)),E.add(new go.PathSegment(go.PathSegment.Move,.5*y,.75*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.325*a,.575*y,.725*a,.625*y,.375*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.75*a,.375*y,.375*a,.425*y,.725*a)),b}),go.Shape.defineFigureGenerator("Recycle",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(.45*y,.95*a,!1);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.2*y,.95*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.185*y,.85*a,.17*y,.95*a,.15*y,.9*a)),E.add(new go.PathSegment(go.PathSegment.Line,.235*y,.75*a)),E.add(new go.PathSegment(go.PathSegment.Line,.3*y,.625*a)),E.add(new go.PathSegment(go.PathSegment.Line,.35*y,.65*a)),E.add(new go.PathSegment(go.PathSegment.Line,.275*y,.45*a)),E.add(new go.PathSegment(go.PathSegment.Line,.05*y,.45*a)),E.add(new go.PathSegment(go.PathSegment.Line,.1*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.05*y,.575*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.1875*y,.95*a,0,.675*a,0,.7*a)),E.add(new go.PathSegment(go.PathSegment.Move,.45*y,.95*a)),E.add(new go.PathSegment(go.PathSegment.Line,.45*y,.775*a)),E.add(new go.PathSegment(go.PathSegment.Line,.22*y,.775*a));var x=new go.PathFigure(.475*y,.2*a,!1);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.4*y,.4*a)),x.add(new go.PathSegment(go.PathSegment.Line,.225*y,.3*a)),x.add(new go.PathSegment(go.PathSegment.Line,.275*y,.175*a)),x.add(new go.PathSegment(go.PathSegment.Line,.325*y,.05*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,.4*y,.05*a,.35*y,0,.375*y,0)),x.add(new go.PathSegment(go.PathSegment.Line,.575*y,.375*a)),x.add(new go.PathSegment(go.PathSegment.Line,.525*y,.4*a)),x.add(new go.PathSegment(go.PathSegment.Line,.75*y,.475*a)),x.add(new go.PathSegment(go.PathSegment.Line,.85*y,.315*a)),x.add(new go.PathSegment(go.PathSegment.Line,.8*y,.32*a)),x.add(new go.PathSegment(go.PathSegment.Line,.65*y,.05*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,.575*y,0,.65*y,.05*a,.625*y,0)),x.add(new go.PathSegment(go.PathSegment.Line,.38*y,.0105*a));var z=new go.PathFigure(.675*y,.575*a,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.875*y,.525*a)),z.add(new go.PathSegment(go.PathSegment.Line,y,.775*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.85*y,.95*a,y,.8*a,y,.85*a)),z.add(new go.PathSegment(go.PathSegment.Line,.65*y,.95*a)),z.add(new go.PathSegment(go.PathSegment.Line,.65*y,a)),z.add(new go.PathSegment(go.PathSegment.Line,.55*y,.85*a)),z.add(new go.PathSegment(go.PathSegment.Line,.65*y,.725*a)),z.add(new go.PathSegment(go.PathSegment.Line,.65*y,.775*a)),z.add(new go.PathSegment(go.PathSegment.Line,.7*y,.775*a)),z.add(new go.PathSegment(go.PathSegment.Line,y,.775*a)),z.add(new go.PathSegment(go.PathSegment.Move,.675*y,.575*a)),z.add(new go.PathSegment(go.PathSegment.Line,.775*y,.775*a)),b}),go.Shape.defineFigureGenerator("BpmnEventTimer",function(se,y,a){var b=new go.Geometry,E=.5,x=pe*.5,z=new go.PathFigure(y,E*a,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,E*y,a,y,(E+x)*a,(E+x)*y,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,E*a,(E-x)*y,a,0,(E+x)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,E*y,0,0,(E-x)*a,(E-x)*y,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,y,E*a,(E+x)*y,0,y,(E-x)*a));var ae=new go.PathFigure(E*y,0,!1);return b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,E*y,.15*a)),ae.add(new go.PathSegment(go.PathSegment.Move,E*y,a)),ae.add(new go.PathSegment(go.PathSegment.Line,E*y,.85*a)),ae.add(new go.PathSegment(go.PathSegment.Move,0,E*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.15*y,E*a)),ae.add(new go.PathSegment(go.PathSegment.Move,y,E*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.85*y,E*a)),ae.add(new go.PathSegment(go.PathSegment.Move,E*y,E*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.58*y,.1*a)),ae.add(new go.PathSegment(go.PathSegment.Move,E*y,E*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.78*y,.54*a)),b}),go.Shape.defineFigureGenerator("Package",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(0,.15*a,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,.15*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var x=new go.PathFigure(0,.15*a,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,0,0)),x.add(new go.PathSegment(go.PathSegment.Line,.6*y,0)),x.add(new go.PathSegment(go.PathSegment.Line,.65*y,.15*a).close()),b.spot1=new go.Spot(0,.1),b.spot2=new go.Spot(1,1),b}),go.Shape.defineFigureGenerator("Class",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var x=new go.PathFigure(0,.2*a,!1);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,.2*a).close());var z=new go.PathFigure(0,.5*a,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y,.5*a).close()),b}),go.Shape.defineFigureGenerator("Component",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(y,a,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.15*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.15*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a).close());var x=new go.PathFigure(0,.2*a,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.45*y,.2*a)),x.add(new go.PathSegment(go.PathSegment.Line,.45*y,.4*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,.4*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,.2*a).close());var z=new go.PathFigure(0,.6*a,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.45*y,.6*a)),z.add(new go.PathSegment(go.PathSegment.Line,.45*y,.8*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.6*a).close()),b}),go.Shape.defineFigureGenerator("Boat Shipment",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(.15*y,.6*a,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.15*y,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,.15*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.85*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,.85*y,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.15*y,.6*a));var x=new go.PathFigure(.15*y,.6*a,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.85*y,.6*a)),b}),go.Shape.defineFigureGenerator("Customer/Supplier",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(y,a,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.66*y,.33*a)),E.add(new go.PathSegment(go.PathSegment.Line,.66*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.33*y,.33*a)),E.add(new go.PathSegment(go.PathSegment.Line,.33*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,0,.33*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a).close()),b}),go.Shape.defineFigureGenerator("Workcell",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(0,a,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.65*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.65*y,.4*a)),E.add(new go.PathSegment(go.PathSegment.Line,.35*y,.4*a)),E.add(new go.PathSegment(go.PathSegment.Line,.35*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),b}),go.Shape.defineFigureGenerator("Supermarket",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!1);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.33*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.33*a)),E.add(new go.PathSegment(go.PathSegment.Move,y,.33*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.66*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.66*a)),E.add(new go.PathSegment(go.PathSegment.Move,y,.66*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),b}),go.Shape.defineFigureGenerator("TruckShipment",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.6*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.6*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var x=new go.PathFigure(y,.8*a,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,.4*a)),x.add(new go.PathSegment(go.PathSegment.Line,.6*y,.4*a)),x.add(new go.PathSegment(go.PathSegment.Line,.6*y,.8*a)),x.add(new go.PathSegment(go.PathSegment.Line,y,.8*a).close());var z=.1,ae=pe*.1,ce=.2,Ee=.9,be=new go.PathFigure((ce-z)*y,Ee*a,!0);b.add(be),be.add(new go.PathSegment(go.PathSegment.Bezier,ce*y,(Ee-z)*a,(ce-z)*y,(Ee-ae)*a,(ce-ae)*y,(Ee-z)*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,(ce+z)*y,Ee*a,(ce+ae)*y,(Ee-z)*a,(ce+z)*y,(Ee-ae)*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,ce*y,(Ee+z)*a,(ce+z)*y,(Ee+ae)*a,(ce+ae)*y,(Ee+z)*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,(ce-z)*y,Ee*a,(ce-ae)*y,(Ee+z)*a,(ce-z)*y,(Ee+ae)*a).close()),z=.1,ae=pe*.1,ce=.8,Ee=.9;var De=new go.PathFigure((ce-z)*y,Ee*a,!0);return b.add(De),De.add(new go.PathSegment(go.PathSegment.Bezier,ce*y,(Ee-z)*a,(ce-z)*y,(Ee-ae)*a,(ce-ae)*y,(Ee-z)*a)),De.add(new go.PathSegment(go.PathSegment.Bezier,(ce+z)*y,Ee*a,(ce+ae)*y,(Ee-z)*a,(ce+z)*y,(Ee-ae)*a)),De.add(new go.PathSegment(go.PathSegment.Bezier,ce*y,(Ee+z)*a,(ce+z)*y,(Ee+ae)*a,(ce+ae)*y,(Ee+z)*a)),De.add(new go.PathSegment(go.PathSegment.Bezier,(ce-z)*y,Ee*a,(ce-ae)*y,(Ee+z)*a,(ce-z)*y,(Ee+ae)*a).close()),b}),go.Shape.defineFigureGenerator("KanbanPost",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(.2*y,0,!1);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.2*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,0)),E.add(new go.PathSegment(go.PathSegment.Move,.5*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.2*y,a)),E.add(new go.PathSegment(go.PathSegment.Move,.5*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,a)),b}),go.Shape.defineFigureGenerator("Forklift",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.4*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,0,0));var x=new go.PathFigure(0,.5*a,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),x.add(new go.PathSegment(go.PathSegment.Line,.5*y,.8*a)),x.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,.5*a));var z=new go.PathFigure(.5*y,.8*a,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*y,.1*a)),z.add(new go.PathSegment(go.PathSegment.Line,.55*y,.1*a)),z.add(new go.PathSegment(go.PathSegment.Line,.55*y,.8*a)),z.add(new go.PathSegment(go.PathSegment.Line,.5*y,.8*a));var ae=new go.PathFigure(.5*y,.7*a,!1);b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,y,.7*a));var ce=.1,Ee=pe*.1,be=.1,De=.9,Ge=new go.PathFigure((be-ce)*y,De*a,!0);b.add(Ge),Ge.add(new go.PathSegment(go.PathSegment.Bezier,be*y,(De-ce)*a,(be-ce)*y,(De-Ee)*a,(be-Ee)*y,(De-ce)*a)),Ge.add(new go.PathSegment(go.PathSegment.Bezier,(be+ce)*y,De*a,(be+Ee)*y,(De-ce)*a,(be+ce)*y,(De-Ee)*a)),Ge.add(new go.PathSegment(go.PathSegment.Bezier,be*y,(De+ce)*a,(be+ce)*y,(De+Ee)*a,(be+Ee)*y,(De+ce)*a)),Ge.add(new go.PathSegment(go.PathSegment.Bezier,(be-ce)*y,De*a,(be-Ee)*y,(De+ce)*a,(be-ce)*y,(De+Ee)*a)),ce=.1,Ee=pe*.1,be=.4,De=.9;var Ze=new go.PathFigure((be-ce)*y,De*a,!0);return b.add(Ze),Ze.add(new go.PathSegment(go.PathSegment.Bezier,be*y,(De-ce)*a,(be-ce)*y,(De-Ee)*a,(be-Ee)*y,(De-ce)*a)),Ze.add(new go.PathSegment(go.PathSegment.Bezier,(be+ce)*y,De*a,(be+Ee)*y,(De-ce)*a,(be+ce)*y,(De-Ee)*a)),Ze.add(new go.PathSegment(go.PathSegment.Bezier,be*y,(De+ce)*a,(be+ce)*y,(De+Ee)*a,(be+Ee)*y,(De+ce)*a)),Ze.add(new go.PathSegment(go.PathSegment.Bezier,(be-ce)*y,De*a,(be-Ee)*y,(De+ce)*a,(be-ce)*y,(De+Ee)*a)),b}),go.Shape.defineFigureGenerator("RailShipment",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(.1*y,.4*a,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.45*y,.4*a)),E.add(new go.PathSegment(go.PathSegment.Line,.45*y,.9*a)),E.add(new go.PathSegment(go.PathSegment.Line,.1*y,.9*a)),E.add(new go.PathSegment(go.PathSegment.Line,.1*y,.4*a).close());var x=new go.PathFigure(.45*y,.7*a,!1);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.55*y,.7*a));var z=new go.PathFigure(.55*y,.4*a,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.9*y,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,.9*y,.9*a)),z.add(new go.PathSegment(go.PathSegment.Line,.55*y,.9*a)),z.add(new go.PathSegment(go.PathSegment.Line,.55*y,.4*a).close());var be=.05,De=pe*.05,Ge=.175,Ze=.95,ae=new go.PathFigure((Ge-be)*y,Ze*a,!0);b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,Ge*y,(Ze-be)*a,(Ge-be)*y,(Ze-De)*a,(Ge-De)*y,(Ze-be)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(Ge+be)*y,Ze*a,(Ge+De)*y,(Ze-be)*a,(Ge+be)*y,(Ze-De)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,Ge*y,(Ze+be)*a,(Ge+be)*y,(Ze+De)*a,(Ge+De)*y,(Ze+be)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(Ge-be)*y,Ze*a,(Ge-De)*y,(Ze+be)*a,(Ge-be)*y,(Ze+De)*a));var be=.05,De=pe*.05,Ge=.375,Ze=.95,ce=new go.PathFigure((Ge-be)*y,Ze*a,!0);b.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,Ge*y,(Ze-be)*a,(Ge-be)*y,(Ze-De)*a,(Ge-De)*y,(Ze-be)*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(Ge+be)*y,Ze*a,(Ge+De)*y,(Ze-be)*a,(Ge+be)*y,(Ze-De)*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,Ge*y,(Ze+be)*a,(Ge+be)*y,(Ze+De)*a,(Ge+De)*y,(Ze+be)*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(Ge-be)*y,Ze*a,(Ge-De)*y,(Ze+be)*a,(Ge-be)*y,(Ze+De)*a));var be=.05,De=pe*.05,Ge=.625,Ze=.95,Ee=new go.PathFigure((Ge-be)*y,Ze*a,!0);b.add(Ee),Ee.add(new go.PathSegment(go.PathSegment.Bezier,Ge*y,(Ze-be)*a,(Ge-be)*y,(Ze-De)*a,(Ge-De)*y,(Ze-be)*a)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(Ge+be)*y,Ze*a,(Ge+De)*y,(Ze-be)*a,(Ge+be)*y,(Ze-De)*a)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,Ge*y,(Ze+be)*a,(Ge+be)*y,(Ze+De)*a,(Ge+De)*y,(Ze+be)*a)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(Ge-be)*y,Ze*a,(Ge-De)*y,(Ze+be)*a,(Ge-be)*y,(Ze+De)*a));var be=.05,De=pe*.05,Ge=.825,Ze=.95,ot=new go.PathFigure((Ge-be)*y,Ze*a,!0);b.add(ot),ot.add(new go.PathSegment(go.PathSegment.Bezier,Ge*y,(Ze-be)*a,(Ge-be)*y,(Ze-De)*a,(Ge-De)*y,(Ze-be)*a)),ot.add(new go.PathSegment(go.PathSegment.Bezier,(Ge+be)*y,Ze*a,(Ge+De)*y,(Ze-be)*a,(Ge+be)*y,(Ze-De)*a)),ot.add(new go.PathSegment(go.PathSegment.Bezier,Ge*y,(Ze+be)*a,(Ge+be)*y,(Ze+De)*a,(Ge+De)*y,(Ze+be)*a)),ot.add(new go.PathSegment(go.PathSegment.Bezier,(Ge-be)*y,Ze*a,(Ge-De)*y,(Ze+be)*a,(Ge-be)*y,(Ze+De)*a).close());var Te=new go.PathFigure(0,a,!1);return b.add(Te),Te.add(new go.PathSegment(go.PathSegment.Line,y,a).close()),b}),go.Shape.defineFigureGenerator("Warehouse",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var x=new go.PathFigure(0,.2*a,!1);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,.2*a).close());var z=new go.PathFigure(.15*y,a,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.15*y,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,.4*y,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,.4*y,a)),z.add(new go.PathSegment(go.PathSegment.Line,.15*y,a).close());var ae=.05,ce=pe*.05,Ee=.35,be=.775,De=new go.PathFigure((Ee-ae)*y,be*a,!0);return b.add(De),De.add(new go.PathSegment(go.PathSegment.Bezier,Ee*y,(be-ae)*a,(Ee-ae)*y,(be-ce)*a,(Ee-ce)*y,(be-ae)*a)),De.add(new go.PathSegment(go.PathSegment.Bezier,(Ee+ae)*y,be*a,(Ee+ce)*y,(be-ae)*a,(Ee+ae)*y,(be-ce)*a)),De.add(new go.PathSegment(go.PathSegment.Bezier,Ee*y,(be+ae)*a,(Ee+ae)*y,(be+ce)*a,(Ee+ce)*y,(be+ae)*a)),De.add(new go.PathSegment(go.PathSegment.Bezier,(Ee-ae)*y,be*a,(Ee-ce)*y,(be+ae)*a,(Ee-ae)*y,(be+ce)*a).close()),b}),go.Shape.defineFigureGenerator("ControlCenter",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(0,a,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,.1*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,.1*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.9*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.9*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Move,.1*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,.9*y,.8*a).close()),b}),go.Shape.defineFigureGenerator("Bluetooth",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(0,.75*a,!1);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.75*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.25*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.75*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),b}),go.Shape.defineFigureGenerator("Bookmark",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Move,.2*y,.2*a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,.2*a)),E.add(new go.PathSegment(go.PathSegment.Move,.2*y,.4*a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,.4*a)),b}),go.Shape.defineFigureGenerator("Bookmark",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Move,.2*y,.2*a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,.2*a)),E.add(new go.PathSegment(go.PathSegment.Move,.2*y,.4*a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,.4*a)),b}),go.Shape.defineFigureGenerator("Globe",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(.5*y,0,!1);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),E.add(new go.PathSegment(go.PathSegment.Move,0,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Move,.5*y,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,.75*y,0,y,.25*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,y,.75*a,.75*y,a)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,.25*y,a,0,.75*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,0,.25*a,.25*y,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,.15*y,.25*a,.15*y,.75*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,.85*y,.75*a,.85*y,.25*a)),E.add(new go.PathSegment(go.PathSegment.Move,.1675*y,.15*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.8325*y,.15*a,.35*y,.3*a,.65*y,.3*a)),E.add(new go.PathSegment(go.PathSegment.Move,.1675*y,.85*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.8325*y,.85*a,.35*y,.7*a,.65*y,.7*a)),b}),go.Shape.defineFigureGenerator("Wave",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(0,.25*a,!1);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Bezier,.3*y,.25*a,.1*y,0,.2*y,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,.7*y,.25*a,.425*y,.5*a,.575*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,y,.25*a,.8*y,0,.9*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.75*a)),E.add(new go.PathSegment(go.PathSegment.Move,0,.25*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.75*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.3*y,.75*a,.1*y,.5*a,.2*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.7*y,.75*a,.425*y,a,.575*y,a)),E.add(new go.PathSegment(go.PathSegment.Bezier,y,.75*a,.8*y,.5*a,.9*y,.5*a)),b}),go.Shape.defineFigureGenerator("Operator",function(se,y,a){var b=new go.Geometry,E=.3,x=pe*.3,z=.5,ae=.7,ce=new go.PathFigure((z-E)*y,ae*a,!0);b.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ae-E)*a,(z-E)*y,(ae-x)*a,(z-x)*y,(ae-E)*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*y,ae*a,(z+x)*y,(ae-E)*a,(z+E)*y,(ae-x)*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ae+E)*a,(z+E)*y,(ae+x)*a,(z+x)*y,(ae+E)*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(z-E)*y,ae*a,(z-x)*y,(ae+E)*a,(z-E)*y,(ae+x)*a));var Ee=new go.PathFigure(0,.7*a,!1);return b.add(Ee),Ee.add(new go.PathSegment(go.PathSegment.Bezier,y,.7*a,0,0,y,0)),b}),go.Shape.defineFigureGenerator("TripleFanBlades",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(.5*y,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.65*a,.65*y,.3*a,.65*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,.35*y,.5*a,.35*y,.3*a)),E.add(new go.PathSegment(go.PathSegment.Move,.5*y,.65*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,a,.3*y,.6*a,.1*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.65*a,.2*y,a,.35*y,.95*a)),E.add(new go.PathSegment(go.PathSegment.Move,.5*y,.65*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,y,a,.7*y,.6*a,.9*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.65*a,.8*y,a,.65*y,.95*a)),b}),go.Shape.defineFigureGenerator("CentrifugalPump",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(y,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.4*y,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,0,.075*a,0,.5*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.4*y,a,0,a,.4*y,a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,.4*a,.8*y,a,.85*y,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.4*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),b}),go.Shape.defineFigureGenerator("Battery",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(0,a,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.1*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.1*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Move,.4*y,.1*a)),E.add(new go.PathSegment(go.PathSegment.Line,.4*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.6*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.6*y,.1*a));var x=new go.PathFigure(0,.6*a,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Move,0,.4*a)),x.add(new go.PathSegment(go.PathSegment.Line,y,.4*a)),b}),go.Shape.defineFigureGenerator("Delete",function(se,y,a){var b=new go.Geometry,E=.5,x=pe*.5,z=.5,ae=.5,ce=new go.PathFigure((z-E)*y,ae*a,!0);b.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ae-E)*a,(z-E)*y,(ae-x)*a,(z-x)*y,(ae-E)*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*y,ae*a,(z+x)*y,(ae-E)*a,(z+E)*y,(ae-x)*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ae+E)*a,(z+E)*y,(ae+x)*a,(z+x)*y,(ae+E)*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(z-E)*y,ae*a,(z-x)*y,(ae+E)*a,(z-E)*y,(ae+x)*a));var Ee=new go.PathFigure(.15*y,.5*a,!1);return b.add(Ee),Ee.add(new go.PathSegment(go.PathSegment.Line,.85*y,.5*a)),b}),go.Shape.defineFigureGenerator("Flag",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(0,.1*a,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Move,0,.1*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.1*a,.15*y,0,.35*y,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,y,.1*a,.65*y,.2*a,.85*y,.2*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.5*a,.85*y,.6*a,.65*y,.6*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,.35*y,.4*a,.15*y,.4*a).close()),b}),go.Shape.defineFigureGenerator("Help",function(se,y,a){var b=new go.Geometry,E=.5,x=pe*.5,z=.5,ae=.5,ce=new go.PathFigure((z-E)*y,ae*a,!1);b.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ae-E)*a,(z-E)*y,(ae-x)*a,(z-x)*y,(ae-E)*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*y,ae*a,(z+x)*y,(ae-E)*a,(z+E)*y,(ae-x)*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ae+E)*a,(z+E)*y,(ae+x)*a,(z+x)*y,(ae+E)*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(z-E)*y,ae*a,(z-x)*y,(ae+E)*a,(z-E)*y,(ae+x)*a).close()),E=.05,x=pe*.05,z=.5,ae=.8;var Ee=new go.PathFigure((z-E)*y,ae*a,!1);return b.add(Ee),Ee.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ae-E)*a,(z-E)*y,(ae-x)*a,(z-x)*y,(ae-E)*a)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*y,ae*a,(z+x)*y,(ae-E)*a,(z+E)*y,(ae-x)*a)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ae+E)*a,(z+E)*y,(ae+x)*a,(z+x)*y,(ae+E)*a)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(z-E)*y,ae*a,(z-x)*y,(ae+E)*a,(z-E)*y,(ae+x)*a).close()),Ee.add(new go.PathSegment(go.PathSegment.Move,.5*y,.7*a)),Ee.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.2*a,.75*y,.475*a,.75*y,.225*a)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,.3*y,.35*a,.4*y,.2*a,.3*y,.25*a)),b}),go.Shape.defineFigureGenerator("Location",function(se,y,a){return new go.Geometry().add(new go.PathFigure(.5*y,a,!0).add(new go.PathSegment(go.PathSegment.Line,.75*y,.5*a)).add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,.975*y,.025*a,.5*y,0)).add(new go.PathSegment(go.PathSegment.Bezier,.25*y,.5*a,.5*y,0,.025*y,.025*a).close()).add(new go.PathSegment(go.PathSegment.Move,.5*y,.2*a)).add(new go.PathSegment(go.PathSegment.Arc,270,360,.5*y,.3*a,.1*y,.1*a).close()))}),go.Shape.defineFigureGenerator("Lock",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(0,.5*a,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.5*a));var x=new go.PathFigure(.2*y,.5*a,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Move,.2*y,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,.2*y,.3*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,.3*a,.25*y,0,.75*y,0)),x.add(new go.PathSegment(go.PathSegment.Line,.8*y,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,.8*y,.3*a)),b}),go.Shape.defineFigureGenerator("Unlocked",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(0,.5*a,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.5*a));var x=new go.PathFigure(.2*y,.5*a,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Move,.2*y,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,.2*y,.3*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,.3*a,.25*y,0,.75*y,0)),x.add(new go.PathSegment(go.PathSegment.Line,.8*y,.35*a)),b}),go.Shape.defineFigureGenerator("Gear",function(se,y,a){return new go.Geometry().add(new go.PathFigure(.9375*y,.56246875*a,!0).add(new go.PathSegment(go.PathSegment.Line,.9375*y,.4375*a)).add(new go.PathSegment(go.PathSegment.Line,.80621875*y,.4375*a)).add(new go.PathSegment(go.PathSegment.Bezier,.763*y,.3316875*a,.79840625*y,.39915625*a,.7834375*y,.3635*a)).add(new go.PathSegment(go.PathSegment.Line,.8566875*y,.23796875*a)).add(new go.PathSegment(go.PathSegment.Line,.76825*y,.14959375*a)).add(new go.PathSegment(go.PathSegment.Line,.67596875*y,.24184375*a)).add(new go.PathSegment(go.PathSegment.Bezier,.5625*y,.19378125*a,.64228125*y,.2188125*a,.603875*y,.2021875*a)).add(new go.PathSegment(go.PathSegment.Line,.5625*y,.0625*a)).add(new go.PathSegment(go.PathSegment.Line,.4375*y,.0625*a)).add(new go.PathSegment(go.PathSegment.Line,.4375*y,.19378125*a)).add(new go.PathSegment(go.PathSegment.Bezier,.32775*y,.239375*a,.39759375*y,.20190625*a,.36053125*y,.2176875*a)).add(new go.PathSegment(go.PathSegment.Line,.2379375*y,.14959375*a)).add(new go.PathSegment(go.PathSegment.Line,.14953125*y,.2379375*a)).add(new go.PathSegment(go.PathSegment.Line,.23934375*y,.3278125*a)).add(new go.PathSegment(go.PathSegment.Bezier,.19378125*y,.4375*a,.21765625*y,.36059375*a,.201875*y,.397625*a)).add(new go.PathSegment(go.PathSegment.Line,.0625*y,.4375*a)).add(new go.PathSegment(go.PathSegment.Line,.0625*y,.5625*a)).add(new go.PathSegment(go.PathSegment.Line,.1938125*y,.5625*a)).add(new go.PathSegment(go.PathSegment.Bezier,.241875*y,.67596875*a,.20221875*y,.603875*a,.21884375*y,.64228125*a)).add(new go.PathSegment(go.PathSegment.Line,.1495625*y,.76825*a)).add(new go.PathSegment(go.PathSegment.Line,.238*y,.8566875*a)).add(new go.PathSegment(go.PathSegment.Line,.3316875*y,.76296875*a)).add(new go.PathSegment(go.PathSegment.Bezier,.43753125*y,.80621875*a,.36353125*y,.78340625*a,.3991875*y,.79840625*a)).add(new go.PathSegment(go.PathSegment.Line,.43753125*y,.9375*a)).add(new go.PathSegment(go.PathSegment.Line,.5625*y,.9375*a)).add(new go.PathSegment(go.PathSegment.Line,.5625*y,.80621875*a)).add(new go.PathSegment(go.PathSegment.Bezier,.67225*y,.760625*a,.602375*y,.79809375*a,.63946875*y,.78234375*a)).add(new go.PathSegment(go.PathSegment.Line,.76828125*y,.8566875*a)).add(new go.PathSegment(go.PathSegment.Line,.85671875*y,.76825*a)).add(new go.PathSegment(go.PathSegment.Line,.76065625*y,.67221875*a)).add(new go.PathSegment(go.PathSegment.Bezier,.80621875*y,.56246875*a,.78234375*y,.63940625*a,.798125*y,.602375*a)).add(new go.PathSegment(go.PathSegment.Line,.9375*y,.56246875*a).close()).add(new go.PathSegment(go.PathSegment.Move,.5*y,.6*a)).add(new go.PathSegment(go.PathSegment.Arc,90,360,.5*y,.5*a,.1*y,.1*a).close()))}),go.Shape.defineFigureGenerator("Hand",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(0,.5*a,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Bezier,.1*y,.3*a,0,.375*a,.05*y,.325*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.45*y,.075*a,.3*y,.225*a,.4*y,.175*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.525*y,.075*a,.46*y,.05*a,.525*y,.05*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.3*y,.4*a,.525*y,.275*a,.475*y,.325*a)),E.add(new go.PathSegment(go.PathSegment.Line,.9*y,.4*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.9*y,.55*a,y,.4*a,y,.55*a)),E.add(new go.PathSegment(go.PathSegment.Line,.425*y,.55*a)),E.add(new go.PathSegment(go.PathSegment.Line,.6*y,.55*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.6*y,.7*a,.675*y,.55*a,.675*y,.7*a)),E.add(new go.PathSegment(go.PathSegment.Line,.4*y,.7*a)),E.add(new go.PathSegment(go.PathSegment.Line,.575*y,.7*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.575*y,.85*a,.65*y,.7*a,.65*y,.85*a)),E.add(new go.PathSegment(go.PathSegment.Line,.4*y,.85*a)),E.add(new go.PathSegment(go.PathSegment.Line,.525*y,.85*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.535*y,a,.61*y,.85*a,.61*y,a)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,.435*y,a,0,a).close()),b}),go.Shape.defineFigureGenerator("Map",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(0,.2*a,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.25*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.2*a)),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.2*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.25*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),E.add(new go.PathSegment(go.PathSegment.Move,.25*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.25*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Move,.5*y,.2*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),E.add(new go.PathSegment(go.PathSegment.Move,.75*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,.8*a)),b}),go.Shape.defineFigureGenerator("Eject",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(0,a,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a*.7)),E.add(new go.PathSegment(go.PathSegment.Line,0,a*.7).close());var x=new go.PathFigure(0,a*.6,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,.6*a)),x.add(new go.PathSegment(go.PathSegment.Line,.5*y,0).close()),b}),go.Shape.defineFigureGenerator("Pencil",function(se,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.2*y,.1*a)).add(new go.PathSegment(go.PathSegment.Line,y,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.9*y,a)).add(new go.PathSegment(go.PathSegment.Line,.1*y,.2*a).close()))}),go.Shape.defineFigureGenerator("Building",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(y*1,a*1,!1);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,0,a*.85)),E.add(new go.PathSegment(go.PathSegment.Line,.046*y,a*.85)),E.add(new go.PathSegment(go.PathSegment.Line,.046*y,a*.45)),E.add(new go.PathSegment(go.PathSegment.Line,0,a*.45)),E.add(new go.PathSegment(go.PathSegment.Line,0,a*.3)),E.add(new go.PathSegment(go.PathSegment.Line,.046*y,a*.3)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a*0)),E.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*y,a*.3)),E.add(new go.PathSegment(go.PathSegment.Line,y,a*.3)),E.add(new go.PathSegment(go.PathSegment.Line,y,a*.45)),E.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*y,a*.45)),E.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*y,a*.85)),E.add(new go.PathSegment(go.PathSegment.Line,y,a*.85).close());var x=new go.PathFigure(.126*y,.85*a,!1);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.126*y,.45*a)),x.add(new go.PathSegment(go.PathSegment.Line,.322*y,.45*a)),x.add(new go.PathSegment(go.PathSegment.Line,.322*y,.85*a).close());var z=new go.PathFigure(.402*y,.85*a,!1);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.402*y,.45*a)),z.add(new go.PathSegment(go.PathSegment.Line,.598*y,.45*a)),z.add(new go.PathSegment(go.PathSegment.Line,.598*y,.85*a).close());var ae=new go.PathFigure(.678*y,.85*a,!1);b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,.678*y,.45*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.874*y,.45*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.874*y,.85*a).close());var ce=new go.PathFigure(.5*y,.1*a,!1);return b.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,(.046+.15)*y,.3*a)),ce.add(new go.PathSegment(go.PathSegment.Line,(1-(.046+.15))*y,.3*a).close()),b}),go.Shape.defineFigureGenerator("Staircase",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(0,a*1,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y*.2,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*.2,a*.8)),E.add(new go.PathSegment(go.PathSegment.Line,y*.4,a*.8)),E.add(new go.PathSegment(go.PathSegment.Line,y*.4,a*.6)),E.add(new go.PathSegment(go.PathSegment.Line,y*.6,a*.6)),E.add(new go.PathSegment(go.PathSegment.Line,y*.6,a*.4)),E.add(new go.PathSegment(go.PathSegment.Line,y*.8,a*.4)),E.add(new go.PathSegment(go.PathSegment.Line,y*.8,a*.2)),E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*.2)),E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*.15)),E.add(new go.PathSegment(go.PathSegment.Line,y*.75,a*.15)),E.add(new go.PathSegment(go.PathSegment.Line,y*.75,a*.35)),E.add(new go.PathSegment(go.PathSegment.Line,y*.55,a*.35)),E.add(new go.PathSegment(go.PathSegment.Line,y*.55,a*.55)),E.add(new go.PathSegment(go.PathSegment.Line,y*.35,a*.55)),E.add(new go.PathSegment(go.PathSegment.Line,y*.35,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.15,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.15,a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,0,a*.95).close()),b}),go.Shape.defineFigureGenerator("5Bars",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(0,a*1,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y*.184,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*.184,a*(1-.184)).close());var x=new go.PathFigure(y*.204,a,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y*.204,a*(1-.184))),x.add(new go.PathSegment(go.PathSegment.Line,y*.388,a*(1-.184*2))),x.add(new go.PathSegment(go.PathSegment.Line,y*.388,a*1).close());var z=new go.PathFigure(y*.408,a,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y*.408,a*(1-.184*2))),z.add(new go.PathSegment(go.PathSegment.Line,y*.592,a*(1-.184*3))),z.add(new go.PathSegment(go.PathSegment.Line,y*.592,a*1).close());var ae=new go.PathFigure(y*.612,a,!0);b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,y*.612,a*(1-.184*3))),ae.add(new go.PathSegment(go.PathSegment.Line,y*.796,a*(1-.184*4))),ae.add(new go.PathSegment(go.PathSegment.Line,y*.796,a*1).close());var ce=new go.PathFigure(y*.816,a,!0);return b.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,y*.816,a*(1-.184*4))),ce.add(new go.PathSegment(go.PathSegment.Line,y*1,a*(1-.184*5))),ce.add(new go.PathSegment(go.PathSegment.Line,y*1,a*1).close()),b}),go.Shape.defineFigureGenerator("PC",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*.3,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*.3,0).close());var x=new go.PathFigure(y*.055,.07*a,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y*.245,a*.07)),x.add(new go.PathSegment(go.PathSegment.Line,y*.245,a*.1)),x.add(new go.PathSegment(go.PathSegment.Line,y*.055,a*.1).close());var z=new go.PathFigure(y*.055,.13*a,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y*.245,a*.13)),z.add(new go.PathSegment(go.PathSegment.Line,y*.245,a*.16)),z.add(new go.PathSegment(go.PathSegment.Line,y*.055,a*.16).close());var ae=new go.PathFigure(y*.055,.18*a,!0);b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,y*.245,a*.18)),ae.add(new go.PathSegment(go.PathSegment.Line,y*.245,a*.21)),ae.add(new go.PathSegment(go.PathSegment.Line,y*.055,a*.21).close());var ce=new go.PathFigure(y*1,0,!0);return b.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,y*.4,0)),ce.add(new go.PathSegment(go.PathSegment.Line,y*.4,a*.65)),ce.add(new go.PathSegment(go.PathSegment.Line,y*1,a*.65).close()),b}),go.Shape.defineFigureGenerator("Plane",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(.55*y,a,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,.4*y,.7*a)),E.add(new go.PathSegment(go.PathSegment.Line,.1*y,.475*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.35*y,.525*a,0,.4*a,.225*y,.45*a)),E.add(new go.PathSegment(go.PathSegment.Line,.4*y,.475*a)),E.add(new go.PathSegment(go.PathSegment.Line,.15*y,.35*a)),E.add(new go.PathSegment(go.PathSegment.Line,.2*y,.325*a)),E.add(new go.PathSegment(go.PathSegment.Line,.6*y,.325*a)),E.add(new go.PathSegment(go.PathSegment.Line,.85*y,.1*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.9*y,.2*a,.975*y,0,y,.08*a)),E.add(new go.PathSegment(go.PathSegment.Line,.7*y,.45*a)),E.add(new go.PathSegment(go.PathSegment.Line,.6*y,.95*a)),E.add(new go.PathSegment(go.PathSegment.Line,.55*y,a).close()),b}),go.Shape.defineFigureGenerator("Key",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(y*1,a*.5,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y*.9,.4*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.5,.4*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.5,.35*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.45,.35*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.3,.2*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.15,.2*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.35*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.65*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.15,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.3,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.45,.65*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.5,.65*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.5,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.6,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.65,.55*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.7,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.75,.55*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.8,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.85,.575*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.9,.6*a).close()),E.add(new go.PathSegment(go.PathSegment.Move,.17*y,.425*a)),E.add(new go.PathSegment(go.PathSegment.Arc,270,360,.17*y,.5*a,.075*y,.075*a).close()),b}),go.Shape.defineFigureGenerator("FilmTape",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!1);b.add(E),E.add(new go.PathSegment(go.PathSegment.Arc,270,180,y*0,y*.3,y*.055)),E.add(new go.PathSegment(go.PathSegment.Line,0,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*.08,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*.08,a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*1),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*1),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*2),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*2),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*3),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*3),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*4),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*4),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*5),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*5),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*6),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*6),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*7),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*7),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*8),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*8),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*9),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*9),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*10),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*10),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*11),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*11),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*12),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*12),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*13),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*13),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*14),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*14),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*15),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*15),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*1));var x=new go.PathFigure(0,0,!1);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y*1,a*0)),x.add(new go.PathSegment(go.PathSegment.Arc,270,-180,y*1,y*.3,y*.055)),x.add(new go.PathSegment(go.PathSegment.Line,y*1,a*1));var z=new go.PathFigure(y*.11,a*.1,!1);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*1+.028*0),a*.1)),z.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*1+.028*0),a*.8)),z.add(new go.PathSegment(go.PathSegment.Line,y*.11,a*.8).close());var ae=new go.PathFigure(y*(.11+.24133333*1+.028*1),a*.1,!1);b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*2+.028*1),a*.1)),ae.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*2+.028*1),a*.8)),ae.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*1+.028*1),a*.8).close());var ce=new go.PathFigure(y*(.11+.24133333*2+.028*2),a*.1,!1);return b.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*3+.028*2),a*.1)),ce.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*3+.028*2),a*.8)),ce.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*2+.028*2),a*.8).close()),b}),go.Shape.defineFigureGenerator("FloppyDisk",function(se,y,a){var b=new go.Geometry,E=8,x=E*pe,z=new go.PathFigure(E,0,!1);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y*.86,0)),z.add(new go.PathSegment(go.PathSegment.Line,y*1,a*.14)),z.add(new go.PathSegment(go.PathSegment.Line,y,a-E)),z.add(new go.PathSegment(go.PathSegment.Bezier,y-E,a,y,a-x,y-x,a)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,a-E,x,a,0,a-x)),z.add(new go.PathSegment(go.PathSegment.Line,0,E)),z.add(new go.PathSegment(go.PathSegment.Bezier,E,0,0,x,x,0).close());var ae=new go.PathFigure(y*.83,0,!1);b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,y*.83,a*.3)),ae.add(new go.PathSegment(go.PathSegment.Line,y*.17,a*.3)),ae.add(new go.PathSegment(go.PathSegment.Line,y*.17,a*0).close());var ce=new go.PathFigure(y*.83,a*1,!1);b.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,y*.83,a*.5)),ce.add(new go.PathSegment(go.PathSegment.Line,y*.17,a*.5)),ce.add(new go.PathSegment(go.PathSegment.Line,y*.17,a*1).close());var Ee=new go.PathFigure(y*.78,a*.05,!1);return b.add(Ee),Ee.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*.05)),Ee.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*.25)),Ee.add(new go.PathSegment(go.PathSegment.Line,y*.78,a*.25).close()),b}),go.Shape.defineFigureGenerator("SpeechBubble",function(se,y,a){var b=se?se.parameter1:NaN;(isNaN(b)||b<0)&&(b=15),b=Math.min(b,y/3),b=Math.min(b,a/3);var E=b*pe,x=a*.8,z=new go.Geometry,ae=new go.PathFigure(b,0,!0);return z.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,y-b,0)),ae.add(new go.PathSegment(go.PathSegment.Bezier,y,b,y-E,0,y,E)),ae.add(new go.PathSegment(go.PathSegment.Line,y,x-b)),ae.add(new go.PathSegment(go.PathSegment.Bezier,y-b,x,y,x-E,y-E,x)),ae.add(new go.PathSegment(go.PathSegment.Line,y*.7,x)),ae.add(new go.PathSegment(go.PathSegment.Line,y*.7,a)),ae.add(new go.PathSegment(go.PathSegment.Line,y*.55,x)),ae.add(new go.PathSegment(go.PathSegment.Line,b,x)),ae.add(new go.PathSegment(go.PathSegment.Bezier,0,x-b,E,x,0,x-E)),ae.add(new go.PathSegment(go.PathSegment.Line,0,b)),ae.add(new go.PathSegment(go.PathSegment.Bezier,b,0,0,E,E,0).close()),E>1?(z.spot1=new go.Spot(0,0,E,E),z.spot2=new go.Spot(1,.8,-E,-E)):(z.spot1=go.Spot.TopLeft,z.spot2=new go.Spot(1,.8)),z}),go.Shape.defineFigureGenerator("Repeat",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(y*0,a*.45,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y*.25,a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*.5,a*.45)),E.add(new go.PathSegment(go.PathSegment.Line,y*.3,a*.45)),E.add(new go.PathSegment(go.PathSegment.Line,y*.3,a*.9)),E.add(new go.PathSegment(go.PathSegment.Line,y*.6,a*.9)),E.add(new go.PathSegment(go.PathSegment.Line,y*.65,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*.2,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*.2,a*.45).close());var x=new go.PathFigure(y*1,a*.55,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y*.75,a*1)),x.add(new go.PathSegment(go.PathSegment.Line,y*.5,a*.55)),x.add(new go.PathSegment(go.PathSegment.Line,y*.7,a*.55)),x.add(new go.PathSegment(go.PathSegment.Line,y*.7,a*.1)),x.add(new go.PathSegment(go.PathSegment.Line,y*.4,a*.1)),x.add(new go.PathSegment(go.PathSegment.Line,y*.35,a*0)),x.add(new go.PathSegment(go.PathSegment.Line,y*.8,a*0)),x.add(new go.PathSegment(go.PathSegment.Line,y*.8,a*.55).close()),b}),go.Shape.defineFigureGenerator("Windows",function(se,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close()).add(new go.PathSegment(go.PathSegment.Move,.4*y,.4*a)).add(new go.PathSegment(go.PathSegment.Line,.4*y,.8*a)).add(new go.PathSegment(go.PathSegment.Line,.9*y,.8*a)).add(new go.PathSegment(go.PathSegment.Line,.9*y,.4*a).close()).add(new go.PathSegment(go.PathSegment.Move,.2*y,.1*a)).add(new go.PathSegment(go.PathSegment.Line,.2*y,.6*a)).add(new go.PathSegment(go.PathSegment.Line,.7*y,.6*a)).add(new go.PathSegment(go.PathSegment.Line,.7*y,.1*a).close()).add(new go.PathSegment(go.PathSegment.Move,.1*y,.6*a)).add(new go.PathSegment(go.PathSegment.Line,.1*y,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.5*y,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.5*y,.6*a).close()))}),go.Shape.defineFigureGenerator("Terminal",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(y*0,a*.1,!1);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*.1)),E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*.9)),E.add(new go.PathSegment(go.PathSegment.Line,y*0,a*.9).close());var x=new go.PathFigure(y*.1,a*.2,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y*.1,a*.25)),x.add(new go.PathSegment(go.PathSegment.Line,y*.22,a*.285)),x.add(new go.PathSegment(go.PathSegment.Line,y*.1,a*.32)),x.add(new go.PathSegment(go.PathSegment.Line,y*.1,a*.37)),x.add(new go.PathSegment(go.PathSegment.Line,y*.275,a*.32)),x.add(new go.PathSegment(go.PathSegment.Line,y*.275,a*.25).close());var z=new go.PathFigure(y*.28,a*.37,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y*.45,a*.37)),z.add(new go.PathSegment(go.PathSegment.Line,y*.45,a*.41)),z.add(new go.PathSegment(go.PathSegment.Line,y*.28,a*.41).close()),b}),go.Shape.defineFigureGenerator("Beaker",function(se,y,a){var b=new go.Geometry,E=15,x=E*pe,z=new go.PathFigure(y*.62,a*.475,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y,a-E)),z.add(new go.PathSegment(go.PathSegment.Bezier,y-E,a,y,a-x,y-x,a)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,a-E,x,a,0,a-x)),z.add(new go.PathSegment(go.PathSegment.Line,y*.38,a*.475)),z.add(new go.PathSegment(go.PathSegment.Line,y*.38,a*.03)),z.add(new go.PathSegment(go.PathSegment.Line,y*.36,a*0)),z.add(new go.PathSegment(go.PathSegment.Line,y*.64,a*0)),z.add(new go.PathSegment(go.PathSegment.Line,y*.62,a*.03).close()),x>1?(b.spot1=new go.Spot(0,0,x,x),b.spot2=new go.Spot(1,1,-x,-x)):(b.spot1=go.Spot.TopLeft,b.spot2=go.Spot.BottomRight),b}),go.Shape.defineFigureGenerator("Download",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(y*0,a*1,!0);b.add(E);var x=.1/.3;E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,y*.8,a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*.055)),E.add(new go.PathSegment(go.PathSegment.Line,y*.755,a*.055)),E.add(new go.PathSegment(go.PathSegment.Line,y*.93,a*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,y*.64,a*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,y*.61,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.5,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.39,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.36,a*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,y*.07,a*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,y*(1-.755),a*.055)),E.add(new go.PathSegment(go.PathSegment.Line,y*(1-.66),a*.055)),E.add(new go.PathSegment(go.PathSegment.Line,y*(1-.66),a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*(1-.8),a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*0,a*(1-x)).close());var z=new go.PathFigure(y*.4,a*0,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y*.4,a*.44)),z.add(new go.PathSegment(go.PathSegment.Line,y*.26,a*.44)),z.add(new go.PathSegment(go.PathSegment.Line,y*.5,a*.66)),z.add(new go.PathSegment(go.PathSegment.Line,y*(1-.26),a*.44)),z.add(new go.PathSegment(go.PathSegment.Line,y*.6,a*.44)),z.add(new go.PathSegment(go.PathSegment.Line,y*.6,a*0).close()),b}),go.Shape.defineFigureGenerator("Bin",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(y*0,a*1,!0);b.add(E);var x=.1/.3;return E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,y*.8,a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*.055)),E.add(new go.PathSegment(go.PathSegment.Line,y*.755,a*.055)),E.add(new go.PathSegment(go.PathSegment.Line,y*.93,a*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,y*.64,a*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,y*.61,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.5,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.39,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.36,a*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,y*.07,a*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,y*(1-.755),a*.055)),E.add(new go.PathSegment(go.PathSegment.Line,y*(1-.66),a*.055)),E.add(new go.PathSegment(go.PathSegment.Line,y*(1-.66),a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*(1-.8),a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*0,a*(1-x)).close()),b}),go.Shape.defineFigureGenerator("Upload",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(y*0,a*1,!0);b.add(E);var x=.1/.3;E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,y*.8,a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*.055)),E.add(new go.PathSegment(go.PathSegment.Line,y*.755,a*.055)),E.add(new go.PathSegment(go.PathSegment.Line,y*.93,a*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,y*.64,a*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,y*.61,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.5,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.39,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.36,a*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,y*.07,a*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,y*(1-.755),a*.055)),E.add(new go.PathSegment(go.PathSegment.Line,y*(1-.66),a*.055)),E.add(new go.PathSegment(go.PathSegment.Line,y*(1-.66),a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*(1-.8),a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*0,a*(1-x)).close());var z=new go.PathFigure(y*.5,a*0,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y*.26,a*.25)),z.add(new go.PathSegment(go.PathSegment.Line,y*.4,a*.25)),z.add(new go.PathSegment(go.PathSegment.Line,y*.4,a*.63)),z.add(new go.PathSegment(go.PathSegment.Line,y*.6,a*.63)),z.add(new go.PathSegment(go.PathSegment.Line,y*.6,a*.25)),z.add(new go.PathSegment(go.PathSegment.Line,y*.74,a*.25).close()),b}),go.Shape.defineFigureGenerator("EmptyDrink",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(y*.15,a*0,!1);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y*.85,a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*.7,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*.3,a*1).close()),b}),go.Shape.defineFigureGenerator("Drink",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(y*.15,a*0,!1);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y*.85,a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*.7,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*.3,a*1).close());var x=new go.PathFigure(y*.235,a*.28,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y*.765,a*.28)),x.add(new go.PathSegment(go.PathSegment.Line,y*.655,a*.97)),x.add(new go.PathSegment(go.PathSegment.Line,y*.345,a*.97).close()),b}),go.Shape.defineFigureGenerator("4Arrows",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(y*.5,a*0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y*.65,a*.25)),E.add(new go.PathSegment(go.PathSegment.Line,y*.55,a*.25)),E.add(new go.PathSegment(go.PathSegment.Line,y*.55,a*.45)),E.add(new go.PathSegment(go.PathSegment.Line,y*.75,a*.45)),E.add(new go.PathSegment(go.PathSegment.Line,y*.75,a*.35)),E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*.5)),E.add(new go.PathSegment(go.PathSegment.Line,y*.75,a*.65)),E.add(new go.PathSegment(go.PathSegment.Line,y*.75,a*.55)),E.add(new go.PathSegment(go.PathSegment.Line,y*.55,a*.55)),E.add(new go.PathSegment(go.PathSegment.Line,y*.55,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.65,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.5,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*.35,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.45,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.45,a*.55)),E.add(new go.PathSegment(go.PathSegment.Line,y*.25,a*.55)),E.add(new go.PathSegment(go.PathSegment.Line,y*.25,a*.65)),E.add(new go.PathSegment(go.PathSegment.Line,y*0,a*.5)),E.add(new go.PathSegment(go.PathSegment.Line,y*.25,a*.35)),E.add(new go.PathSegment(go.PathSegment.Line,y*.25,a*.45)),E.add(new go.PathSegment(go.PathSegment.Line,y*.45,a*.45)),E.add(new go.PathSegment(go.PathSegment.Line,y*.45,a*.25)),E.add(new go.PathSegment(go.PathSegment.Line,y*.35,a*.25).close()),b}),go.Shape.defineFigureGenerator("Connector","Ellipse"),go.Shape.defineFigureGenerator("Alternative","TriangleUp"),go.Shape.defineFigureGenerator("Merge","TriangleUp"),go.Shape.defineFigureGenerator("Decision","Diamond"),go.Shape.defineFigureGenerator("DataTransmissions","Hexagon"),go.Shape.defineFigureGenerator("Gate","Crescent"),go.Shape.defineFigureGenerator("Delay","HalfEllipse"),go.Shape.defineFigureGenerator("Input","Parallelogram1"),go.Shape.defineFigureGenerator("ManualLoop","ManualOperation"),go.Shape.defineFigureGenerator("ISOProcess","Chevron"),go.Shape.defineFigureGenerator("MessageToUser","SquareArrow"),go.Shape.defineFigureGenerator("MagneticData","Cylinder1"),go.Shape.defineFigureGenerator("DirectData","Cylinder4"),go.Shape.defineFigureGenerator("StoredData","DataStorage"),go.Shape.defineFigureGenerator("SequentialData","MagneticTape"),go.Shape.defineFigureGenerator("Subroutine","Procedure")},61016:function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;(function(){if(typeof window.GGBApplet=="function"){console.warn("deployggb.js was loaded twice");return}var isRenderGGBElementEnabled=!1,scriptLoadStarted=!1,html5AppletsToProcess=null,ggbHTML5LoadedCodebaseIsWebSimple=!1,ggbHTML5LoadedCodebaseVersion=null,ggbHTML5LoadedScript=null,GGBApplet=function(){"use strict";for(var Yt={},Nt="5.0",de={},le=null,ye=!1,Ke=!1,Je=null,ze=!1,Re=null,pe=null,ve=0;ve4?parseFloat(Et):5};Yt.setHTML5Codebase=function(Et,Cn){pe=Et,ut(Et,Cn)},Yt.setJavaCodebase=Yt.setJavaCodebaseVersion=Yt.isCompiledInstalled=Yt.setPreCompiledScriptPath=Yt.setPreCompiledResourcePath=function(){},Yt.setHTML5CodebaseVersion=function(Et,Cn){var Ln=parseFloat(Et);if(Ln!==NaN&&Ln<5){console.log("The GeoGebra HTML5 codebase version "+Ln+" is deprecated. Using version latest instead.");return}Re=Et,tt(Et,Cn)},Yt.getHTML5CodebaseVersion=function(){return se},Yt.getParameters=function(){return de},Yt.setFontsCSSURL=function(Et){z=Et},Yt.setGiacJSURL=function(Et){},Yt.setJNLPFile=function(Et){ge=Et},Yt.setJNLPBaseDir=function(Et){},Yt.inject=function(){function Et(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var Cn="auto",Ln=de.id,Yn,xn=!1,tr=0;tr=5)return!0;var Et=Yt.getAppletObject();return Et&&typeof Et.recalculateEnvironments=="function"?(Et.recalculateEnvironments(),!0):!1},Yt.startAnimation=function(){var Et=Yt.getAppletObject();return Et&&typeof Et.startAnimation=="function"?(Et.startAnimation(),!0):!1},Yt.stopAnimation=function(){var Et=Yt.getAppletObject();return Et&&typeof Et.stopAnimation=="function"?(Et.stopAnimation(),!0):!1},Yt.getAppletObject=function(){var Et=de.id!==void 0?de.id:"ggbApplet";return window[Et]},Yt.resize=function(){};var ot=function(Et,Cn,Ln){var Yn=document.createElement("param");Yn.setAttribute("name",Cn),Yn.setAttribute("value",Ln),Et.appendChild(Yn)},Te=function(Et){return Et&&Et!=="false"},wt=function(Et,Cn,Ln){ce(se)<=4.2&&(Ln=!0);var Yn=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==se||ggbHTML5LoadedCodebaseIsWebSimple&&!a)&&(Yn=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var xn=document.createElement("div");xn.classList.add("appletParameters","notranslate");var tr=Cn.width,xt=Cn.height;if(Cn.disableAutoScale=Cn.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():Cn.disableAutoScale,Cn.width!==void 0)if(ce(se)<=4.4)Te(Cn.showToolBar)&&(Cn.height-=7),Te(Cn.showAlgebraInput)&&(Cn.height-=37),Cn.width<605&&Te(Cn.showToolBar)&&(Cn.width=605,tr=605);else{var Tn=100;(Te(Cn.showToolBar)||Te(Cn.showMenuBar))&&(Cn.hasOwnProperty("customToolBar")&&(Cn.customToolbar=Cn.customToolBar),Tn=Te(Cn.showMenuBar)?245:155),tr=5?(Cn.appletOnLoad=function(Wn){var Bt=Et.querySelector(".ggb_preview");Bt&&Bt.parentNode.removeChild(Bt),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(cn),window.GGBT_wsf_view&&$(window).trigger("resize"),Ye(Wn)},Oe||cn.appendChild(fe)):xn.appendChild(fe),cn.appendChild(xn),Oe||Et.appendChild(cn),setTimeout(function(){Yt.resize()},1)}else{var me=document.createElement("div");me.className="applet_scaler",me.style.position="relative",me.style.display="block",me.appendChild(xn),Et.appendChild(me),Cn.appletOnLoad=function(Wn){Yt.resize(),Ye(Wn)}}function Ue(Wn,Bt){Bt&&typeof Bt.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(Wn,Bt.appletOnLoad):renderGGBElement(Wn),mn("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",Bt)}function qe(Wn,Bt){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:Wn,params:Bt}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(Kt){Ue(Kt.article,Kt.params)}),html5AppletsToProcess=null)},ce(se)<5&&(Wn.className+=" geogebraweb")):Ue(Wn,Bt)}if(Yn){scriptLoadStarted=!0;for(var ct=0;ct0?(ir.remove(),cn.attr("id","fullscreencontent").show(),jQuery(Ye).append(cn),window.dispatchEvent(new Event("resize"))):wt(ir,Cn,!1),window.GGBT_wsf_view.launchFullScreen(Ye)}else we=Yn,wt(Et,Cn,!1);if(!window.GGBT_wsf_view)for(xt=0;xtEt/4*3&&(ir=Et/4*3),Ye=ir/5.8,Tn.setAttribute("src",E),Tn.setAttribute("width",ir),Tn.setAttribute("height",Ye);var cn=(Et-ir)/2,Oe=(Cn-Ye)/2;Tn.style.left=cn+"px",Tn.style.top=Oe+"px",xn.appendChild(Tn)}}return xn.appendChild(xt),xn},gt=function(Et){return Et=Et.toLowerCase(),Et==="html5"||Et==="screenshot"?Et:"html5"},pt=["web","webSimple","web3d","tablet","tablet3d","phone"],tt=function(Et,Cn){if(se=Et,Cn){ut(se,!0);return}var Ln=!ye;if(Ln){var Yn=ce(se);!isNaN(Yn)&&Yn<4.4&&(Ln=!1)}var xn,tr;window.location.protocol.substr(0,4)==="http"?xn=window.location.protocol:xn="http:";var xt=se.indexOf("//");xt>0?tr=se:xt===0?tr=xn+se:tr="https://www.geogebra.org/apps/5.2.814.0/";for(var Tn in pt)if(se.slice(pt[Tn].length*-1)===pt[Tn]||se.slice((pt[Tn].length+1)*-1)===pt[Tn]+"/"){ut(tr,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&Ln&&!le.is3D&&!le.AV&&!le.SV&&!le.CV&&!le.EV2&&!le.CP&&!le.PC&&!le.DA&&!le.FI&&!le.PV&&!Te(de.showToolBar)&&!Te(de.showMenuBar)&&!Te(de.showAlgebraInput)&&!Te(de.enableRightClick)&&(!de.appName||de.appName=="classic")?tr+="webSimple/":tr+="web3d/",ut(tr,!1)},ut=function(Et,Cn){if(Et.requirejs){Ie=Et;return}Et.slice(-1)!=="/"&&(Et+="/"),Ie=Et,Cn===null&&(Cn=Et.indexOf("http")===-1),Pe=Cn,y="web.nocache.js",a=!1;var Ln=Ie.split("/");Ln.length>1&&(!Cn&&Ln[Ln.length-2]==="webSimple"?(y="webSimple.nocache.js",a=!0):pt.indexOf(Ln[Ln.length-2])>=0&&(y=Ln[Ln.length-2]+".nocache.js")),Ln=Et.split("/"),se=Ln[Ln.length-3],se.substr(0,4)==="test"?se=se.substr(4,1)+"."+se.substr(5,1):(se.substr(0,3)==="war"||se.substr(0,4)==="beta")&&(se="5.0");var Yn=parseFloat(se);Yn!==NaN&&Yn<5&&Et.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+Yn+" is deprecated. Using version latest instead."),tt("5.0",Cn))},mn=function(Et,Cn){window.console&&window.console.log&&(!Cn||typeof Cn.showLogging=="undefined"||Cn.showLogging&&Cn.showLogging!=="false")&&console.log(Et)};de.material_id!==void 0?De(en):en();function en(){var Et=Nt;Re!==null?Et=Re:parseFloat(Et)<5&&(Et="5.0"),tt(Et,!1),pe!==null&&ut(pe,Pe),ze=!0}return Yt},GGBAppletUtils=function(){"use strict";function Yt(){return window.GGBT_wsf_edit!==void 0}function Nt(ze,Re){Re!=1?(ze.style.transformOrigin="0% 0% 0px",ze.style.webkitTransformOrigin="0% 0% 0px",ze.style.transform="scale("+Re+","+Re+")",ze.style.webkitTransform="scale("+Re+","+Re+")",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 de(ze,Re,pe,ve,Le,ge){var Ie=null;if(ge!=null&&ge!="")for(var Pe=ze.parentNode;Pe!=null;)if((" "+Pe.className+" ").indexOf(" "+ge+" ")>-1){Ie=Pe;break}else Pe=Pe.parentNode;var we=0,se=0,y=0,a=0,b=0,E=0,x=0;if(Ie)we=Ie.offsetWidth,se=Math.max(ve?Ie.offsetWidth:0,Ie.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(we=Math.min(window.innerWidth,document.documentElement.clientWidth),se=Math.min(window.innerHeight,document.documentElement.clientHeight),y=we):(we=window.innerWidth,se=window.innerHeight,y=window.innerWidth),ze){var z=ze.getBoundingClientRect();z.left>0&&z.left<=we&&(Le===void 0||!Le)&&(document.dir==="rtl"?(b=we-z.width-z.left,E=y<=480?10:30):(E=z.left,b=y<=480?10:30),a=E+b)}if(ze&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var ae=ze.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(a=40,x=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(a=0,x=40)}}return ze&&((pe===void 0||!pe)&&Re>0&&Re+a1&&(ge=!0)),Re&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(ge=!0),!(ze.hasOwnProperty("disableAutoScale")&&ze.disableAutoScale))Le=le(ze,Re,ge,pe,ze.scaleContainerClass);else return ve;return ge&&(!ze.hasOwnProperty("scale")||ve===1)?Le:Math.min(ve,Le)}function Ke(ze){var Re=Math.min(window.innerWidth,document.documentElement.clientWidth),pe=Math.min(window.innerHeight,document.documentElement.clientHeight),ve=ze.getBoundingClientRect(),Le=(Re-ve.width)/2,ge=(pe-ve.height)/2;ge<0&&(ge=0),ze.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(Le<40?ze.style.left="40px":ze.style.left=Le+"px",ze.style.top=ge+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(ge<40?ze.style.top="40px":ze.style.top=ge+"px",ze.style.left=Le+"px")}function Je(ze,Re){var pe=ze.querySelector(".appletParameters");if(pe){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(Re.id!==pe.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(ze)}if(pe.parentElement&&/fullscreen/.test(pe.parentElement.className))return;var ve=ye(Re,ze);Yt()&&pe.setAttribute("data-param-scale",ve);for(var Le=null,ge=0;ge=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(Yt){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(Yt){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(Yt){var Nt=c[Yt];return Nt==null?null:Nt},r=d,webModule.__errFn=e}function B(){function Yt(ze){var Re=ze.lastIndexOf(rb);Re==-1&&(Re=ze.length);var pe=ze.indexOf(sb);pe==-1&&(pe=ze.length);var ve=ze.lastIndexOf(tb,Math.min(pe,Re));return ve>=O?ze.substring(O,ve+P):W}function Nt(ze){if(!ze.match(/^\w+:\/\//)){var Re=o.createElement(ub);Re.src=ze+vb,ze=Yt(Re.src)}return ze}function de(){var ze=__gwt_getMetaProperty(wb);return ze!=null?ze:W}function le(){for(var ze=o.getElementsByTagName(_),Re=O;ReO?ze[ze.length-P].href:W}function Ke(){var ze=o.location;return ze.href==ze.protocol+zb+ze.host+ze.pathname+ze.search+ze.hash}var Je=de();return Je==W&&(Je=le()),Je==W&&(Je=ye()),Je==W&&Ke()&&(Je=Yt(o.location.href)),Je=Nt(Je),Je}function C(Yt){return Yt.match(/^\//)||Yt.match(/^[a-zA-Z]+:\/\//)?Yt:webModule.__moduleBase+Yt}function D(){var Yt=[],Nt=O,de=[],le=[];function ye(ze){var Re=le[ze](),pe=de[ze];if(Re in pe)return Re;var ve=[];for(var Le in pe)ve[pe[Le]]=Le;throw r&&r(ze,ve,Re),null}if(__gwt_isKnownPropertyValue=function(ze,Re){return Re in de[ze]},webModule.__getPropMap=function(){var ze={};for(var Re in de)de.hasOwnProperty(Re)&&(ze[Re]=ye(Re));return ze},webModule.__computePropValue=ye,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var Ke;try{Ke=Cb;var Je=Ke.indexOf(Db);Je!=-1&&(Nt=parseInt(Ke.substring(Je+P),$),Ke=Ke.substring(O,Je))}catch(ze){}return webModule.__softPermutationId=Nt,C(Ke+Eb)}function F(){n.__gwt_stylesLoaded||(n.__gwt_stylesLoaded={})}A(),webModule.__moduleBase=window.ENV==="build"?"/react/build/js/mathematicalGraphics/"+name+"/":"/js/mathematicalGraphics/"+name+"/",s[L].moduleBase=webModule.__moduleBase;var G=D();return F(),w(G),!0}return webModule},typeof window.web3d!="function"&&(window.web3d=GGBAppletUtils.makeModule("web3d","A18F540516513B1292CA7CEF2F6AFC7E")),typeof window.webSimple!="function"&&(window.webSimple=GGBAppletUtils.makeModule("webSimple","96B09BF1B436BF53F0DF54116700F16A")),window.GGBApplet=GGBApplet})()},15476:function(Yt,Nt,de){"use strict";de.d(Nt,{Ax:function(){return Je},Ds:function(){return ze},KI:function(){return pe},SI:function(){return Ke},f1:function(){return ye}});var le=de(11320);function ye(ve){let Le=!0;if(ve.length>0){for(let ge=0;geEe in ce?Ie(ce,Ee,{enumerable:!0,configurable:!0,writable:!0,value:be}):ce[Ee]=be,a=(ce,Ee)=>{for(var be in Ee||(Ee={}))we.call(Ee,be)&&y(ce,be,Ee[be]);if(Pe)for(var be of Pe(Ee))se.call(Ee,be)&&y(ce,be,Ee[be]);return ce};const b=(ce={})=>{var Ee,be,De,Ge;let Ze=(Ee=ce==null?void 0:ce.emotion)==null?void 0:Ee.map(Qe=>a({value:Qe==null?void 0:Qe.rate},Qe)),ot=(be=ce==null?void 0:ce.focus)==null?void 0:be.map(Qe=>a({value:Qe==null?void 0:Qe.rate},Qe)),Te=(De=ce==null?void 0:ce.action)==null?void 0:De.map(Qe=>a({value:Qe==null?void 0:Qe.rate},Qe)),wt=(Ge=ce==null?void 0:ce.intention)==null?void 0:Ge.map(Qe=>a({value:Qe==null?void 0:Qe.rate},Qe));return[{title:"\u8868\u60C5\u5360\u6BD4",color:["#f7ca2e","#4ccf71","#3791ee","#f9ac95","#4f74ee","#f0e999"],data:Ze||[]},{title:"\u4E13\u6CE8\u5EA6\u5360\u6BD4",color:["#4f74ee","#f9ac95","#9cb5fe","#eaa170","#3791ee","#a39bed"],data:ot||[]},{title:"\u884C\u4E3A\u5360\u6BD4\u60C5\u51B5",color:["#5eca9c","#a39bed","#f68238","#f0e999","#eaa170","#f9ac95"],data:Te||[]},{title:"\u610F\u56FE\u5360\u6BD4\u60C5\u51B5",color:["#eaa170","#739fcb","#f0e999","#f9ac95","#4f74ee","#5eca9c"],data:wt||[]}]},E=({className:ce,dataSource:Ee=[],col:be=4,right:De,bottom:Ge=23,precision:Ze=0,wrapWidth:ot=1200})=>{const Te=(Qe="",Ot,lt="--")=>Qe?(Qe==null?void 0:Qe.length)>Ot?(Qe==null?void 0:Qe.slice(0,Ot-1))+"...":Qe:lt,wt=Math.floor((ot-(be-1)*De)/be);return le.createElement("div",{className:Je()(ye.list,ce)},!!(Ee!=null&&Ee.length)&&(Ee==null?void 0:Ee.map((Qe,Ot)=>{const{cover_pic:lt,created_at:it,emotion:Ft,action:gt,intention:pt,focus:tt}=Qe;return le.createElement("div",{key:Ot,className:ye.wrap,style:{width:wt,marginRight:(1+Ot)%be===0?0:De+Ze,marginBottom:Ge}},le.createElement("div",{className:ye.img},le.createElement("img",{src:`${ge.Z.API_SERVER}${lt}`}),le.createElement("div",{className:ye.tips},le.createElement("div",null,le.createElement("i",{className:"iconfont icon-paisheshijian mr5 font14"})," \u62CD\u6444\u65F6\u95F4"),le.createElement("span",null,it))),le.createElement("div",{className:ye.footer},le.createElement("ul",null,le.createElement("li",null,le.createElement("i",{className:"iconfont icon-biaoqing"}),le.createElement("span",null,"\u8868\u60C5\uFF1A",le.createElement(Re.Z,{title:Ft},le.createElement("span",{className:"c-grey-333"},Te(Ft,4))))),le.createElement("li",null,le.createElement("i",{className:"iconfont icon-hangwei"}),le.createElement("span",null,"\u884C\u4E3A\uFF1A",le.createElement(Re.Z,{title:gt},le.createElement("span",{className:"c-grey-333"},Te(gt,4)))))),le.createElement("ul",null,le.createElement("li",null,le.createElement("i",{className:"iconfont icon-yitu"}),le.createElement("span",null,"\u610F\u56FE\uFF1A",le.createElement(Re.Z,{title:pt},le.createElement("span",{className:"c-grey-333"},Te(pt,4))))),le.createElement("li",null,le.createElement("i",{className:"iconfont icon-zhuangtai"}),le.createElement("span",null,"\u4E13\u6CE8\u5EA6\uFF1A",le.createElement(Re.Z,{title:tt},le.createElement("span",{className:"c-grey-333"},Te(tt,3))))))))})))},x=({className:ce,style:Ee,title:be,hideBar:De=!1,children:Ge,customText:Ze="",noDataText:ot="",emptyData:Te=[],loading:wt,actionAnalysis:Qe})=>{var Ot,lt;const it=((Ot=Te==null?void 0:Te[0])==null?void 0:Ot.every(gt=>{var pt;return!((pt=gt==null?void 0:gt.data)!=null&&pt.length)}))&&!((lt=Te==null?void 0:Te[1])!=null&<.length)||!Qe,Ft=Qe?ot:Ze;return le.createElement(pe.Z,{loading:wt,active:!0},it&&le.createElement("div",{className:Je()(ye.noData,ce),style:Ee},!!be&&le.createElement("div",{className:ye.title},!De&&le.createElement("b",null),le.createElement("span",null,be)),le.createElement("div",{className:ye.itemWrap},le.createElement(Le.Z,{customText:Ft}))),!it&&Ge)};var ae=({className:ce,style:Ee,data:be=[],title:De,hideBar:Ge=!1,loading:Ze=!1})=>le.createElement("div",{className:Je()(ye.analysis,ce),style:Ee},!!De&&le.createElement("div",{className:ye.title},!Ge&&le.createElement("b",null),le.createElement("span",null,De)),le.createElement(ve.Z,{spinning:Ze},le.createElement("div",{className:ye.itemWrap},be==null?void 0:be.map((ot,Te)=>le.createElement("div",{className:ye.item,key:Te},le.createElement(ze.Z,{option:{tooltip:{trigger:"item",formatter:"{a}
{b}: {c}%"},title:{left:"center",bottom:15,text:ot==null?void 0:ot.title},legend:{top:10,right:10,orient:"vertical",show:!0,align:"left",icon:"circle",itemWidth:10,itemHeight:10,formatter:function(wt){for(let Qe in ot==null?void 0:ot.data)if(wt==(ot==null?void 0:ot.data[Qe].name))return wt+" "+(ot==null?void 0:ot.data[Qe].value)+"%"},textStyle:{color:"#767676",fontSize:12}},color:ot==null?void 0:ot.color,series:[{type:"pie",radius:["20%","35%"],center:["20%","40%"],avoidLabelOverlap:!1,label:{show:!1},labelLine:{show:!1},data:ot==null?void 0:ot.data}]},style:{height:145}}))))))},56243:function(Yt,Nt,de){"use strict";var le=de(17187),ye=de.n(le),Ke=Object.defineProperty,Je=(ve,Le,ge)=>Le in ve?Ke(ve,Le,{enumerable:!0,configurable:!0,writable:!0,value:ge}):ve[Le]=ge,ze=(ve,Le,ge)=>Je(ve,typeof Le!="symbol"?Le+"":Le,ge),Re=(ve,Le,ge)=>new Promise((Ie,Pe)=>{var we=a=>{try{y(ge.next(a))}catch(b){Pe(b)}},se=a=>{try{y(ge.throw(a))}catch(b){Pe(b)}},y=a=>a.done?Ie(a.value):Promise.resolve(a.value).then(we,se);y((ge=ge.apply(ve,Le)).next())});class pe extends le.EventEmitter{constructor(Le,ge){super(),ze(this,"url"),ze(this,"body"),ze(this,"fullContent",""),ze(this,"controller",null),ze(this,"buffer",""),this.url=Le,this.body=ge}startStream(){return Re(this,null,function*(){this.controller=new AbortController;const{signal:Le}=this.controller;try{const ge=yield fetch(this.url,{method:"POST",headers:{"Content-Type":"application/json; charset=utf-8"},credentials:"include",body:JSON.stringify(this.body),signal:Le});if(!ge.ok)throw new Error(`\u8BF7\u6C42\u5931\u8D25: ${ge.status}`);const Ie=ge.headers.get("content-type");if(!Ie)throw new Error("\u54CD\u5E94\u5934\u7F3A\u5C11 content-type");if(Ie.includes("application/json")){const se=yield ge.json();this.emit("error",se);return}if(!Ie.includes("text/event-stream"))throw new Error("\u54CD\u5E94\u6570\u636E\u683C\u5F0F\u9519\u8BEF");const Pe=ge.body.getReader(),we=new TextDecoder("utf-8");for(;;){const{done:se,value:y}=yield Pe.read();if(se)break;const a=we.decode(y,{stream:!0});this.buffer+=a;const b=this.buffer.split(` `);this.buffer=b.pop()||"";for(const E of b)if(E.startsWith("data:")){const x=E.slice(5).trim();if(x==="[DONE]")break;try{const z=JSON.parse(x);z.data&&this.handleData(z.data)}catch(z){this.buffer=E+` `+this.buffer,console.error("\u89E3\u6790 JSON \u5931\u8D25:",z)}}}this.emit("done",this.fullContent)}catch(ge){ge.name==="AbortError"?this.emit("cancelled",this.fullContent):this.emit("error",ge.message)}})}handleData(Le){Le.content&&(this.fullContent+=Le.content,this.emit("data",{chunk:Le,full:this.fullContent}))}cancelRequest(){var Le;(Le=this.controller)==null||Le.abort()}}Nt.Z=pe},63205:function(Yt,Nt,de){"use strict";de.d(Nt,{Z:function(){return Ie}});var le=de(67294),ye={imageDimensions:"imageDimensions___a7crR",img:"img___Kroat",fullWidth:"fullWidth___c492T"},Ke=de(94184),Je=de.n(Ke),ze=de(57953),Re=de(15979),pe=de(33170),ve=de(28706),Le=(Pe,we,se)=>new Promise((y,a)=>{var b=z=>{try{x(se.next(z))}catch(ae){a(ae)}},E=z=>{try{x(se.throw(z))}catch(ae){a(ae)}},x=z=>z.done?y(z.value):Promise.resolve(z.value).then(b,E);x((se=se.apply(Pe,we)).next())}),Ie=({data:Pe,className:we,fullWidth:se,style:y={},onClose:a,onOk:b,showFullTools:E,noAssociationId:x})=>{const z=(0,le.useRef)(null),ae=(0,le.useRef)(null),ce=(0,le.useRef)(null),Ee=(0,le.useRef)(null),[be,De]=(0,le.useState)(!1),[Ge,Ze]=(0,le.useState)("\u6B63\u5728\u52A0\u8F7D\u4E2D");(0,le.useEffect)(()=>{ce.current||(ce.current=document.createElement("style"),document.head.appendChild(ce.current)),Pe!=null&&Pe.visible?(document.body.setAttribute("data-custom","y-hidden"),ce.current.innerHTML=" html { overflow-y: hidden; }",Pe!=null&&Pe.src&&ot()):(document.body.removeAttribute("data-custom"),ce.current&&(document.head.removeChild(ce.current),ce.current=null))},[Pe==null?void 0:Pe.visible]);const ot=()=>Le(void 0,null,function*(){De(!0),Ze("\u6B63\u5728\u52A0\u8F7D\u4E2D");const lt=yield(0,ve.ZJ)(Pe==null?void 0:Pe.src);z.current.src="",z.current.src=lt,z.current.onload=function(){Ot()},De(!1),Ze("")}),Te=()=>{document.body.removeAttribute("data-custom"),ce.current.innerHTML=" ",a()},wt=lt=>Le(void 0,null,function*(){De(!0),Ze("\u6B63\u5728\u4FDD\u5B58\u4E2D");const it=yield(0,pe.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Pe.title,file:lt.dataUrl}});it!=null&&it.id&&!x?(yield(0,pe.ZP)(`/api/attachments/${Pe.id}/add_subitem.json`,{method:"post",body:{subitem_id:it==null?void 0:it.id,settings:JSON.stringify(lt.state)}})).status===0&&b():it!=null&&it.id&&b(it),document.body.removeAttribute("data-custom"),ce.current.innerHTML=" ",De(!1),Ze("")}),Qe=()=>{const lt=document.querySelector('a[href="https://markerjs.com/"]');lt&<.parentNode&&(lt.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(Ft=>{const gt=document.querySelector(Ft.name);gt&>.setAttribute("title",Ft.title)})},Ot=()=>{ae.current=new Re.hP(z.current),ae.current.targetRoot=Ee.current,ae.current.addEventListener("render",wt),ae.current.addEventListener("beforeclose",Te),E&&(ae.current.availableMarkerTypes=ae.current.ALL_MARKER_TYPES,ae.current.uiStyleSettings.redoButtonVisible=!0,ae.current.uiStyleSettings.notesButtonVisible=!0,ae.current.uiStyleSettings.zoomButtonVisible=!0,ae.current.uiStyleSettings.zoomOutButtonVisible=!0,ae.current.uiStyleSettings.clearButtonVisible=!0),window.markerArea=ae.current.uiStyleSettings,ae.current.show(),Pe!=null&&Pe.snapshotData&&ae.current.restoreState(Pe.snapshotData),setTimeout(()=>{window.scrollTo(0,0),Qe()},300)};return le.createElement(le.Fragment,null,(Pe==null?void 0:Pe.visible)&&le.createElement(ze.Z,{spinning:be,tip:Ge,style:{position:"absolute"}},le.createElement("div",{ref:Ee,className:Je()(ye.imageDimensions,we,se?ye.fullWidth:""),style:y},le.createElement("img",{className:ye.img,ref:z}))))}},36527:function(Yt,Nt,de){"use strict";var le=de(67294),ye=de(71230),Ke=de(15746),Je=de(66368),ze=de(71577),Re=de(85725),pe=de(71736),ve=de(84279),Le=de(67294);const ge=(0,le.forwardRef)(({callback:Ie,showSaveButton:Pe,value:we=""},se)=>{const y=(0,le.useRef)(),a=[{name:"\u5206\u6570\u5F97\u5206",value:"\\frac{x}{y}",children:[{name:"\u5206\u6570 Fractions",data:[{value:"\\frac{a}{b}"},{value:"x\\tfrac{x}{a} "},{value:"\\mathrm{d}t"},{value:"\\partial t"},{value:"\\frac{\\partial y}{\\partial x}"},{value:"\\nabla\\psi"},{value:"\\frac{\\partial^2}{\\partial x_1\\partial x_2}y"},{value:"\\cfrac{1}{a + \\cfrac{7}{b + \\cfrac{2}{9}}} = c"}]},{name:"\u5BFC\u6570 Derivative",data:[{value:"\\dot{a} "},{value:"\\ddot{a}"},{value:"{f}^{\\prime}"},{value:"{f}^{\\prime\\prime}"},{value:"{f}^{(n)}"}]},{name:"\u6A21\u7B97\u672F Modular arithmetic",data:[{value:"a \\bmod b"},{value:"a \\equiv b \\pmod{m} "},{value:"\\gcd(m, n) "},{value:"\\operatorname{lcm}(m, n) "}]}]},{name:"\u6839\u5F0F\u89D2\u6807",value:"\\sqrt{x}",children:[{name:"\u6839\u5F0F Radicals",data:[{value:"\\sqrt{x}"},{value:"\\sqrt[y]{x}"}]},{name:"\u4E0A\u4E0B\u6807 Sub&Super",data:[{value:"x^{a}"},{value:"x_{a}"},{value:"x_{a}^{b} "},{value:"_{a}^{b} x"},{value:"x_{a}^{b} "}]},{name:"\u91CD\u97F3\u7B26\u53CA\u5176\u4ED6 Accents and Others",data:[{value:"\\hat{a} "},{value:"\\sqrt[y]{x}"},{value:"\\check{} "},{value:"\\grave{a} "},{value:"\\acute{a}"},{value:"\\tilde{a}"},{value:"\\breve{a}"},{value:"\\bar{a}"},{value:"\\vec{a}"},{value:"\\not{a}"},{value:"\\widetilde{abc}"},{value:"\\widehat{abc}"},{value:"\\overleftarrow{abc} "},{value:"\\overrightarrow{abc}"},{value:"\\overline{abc}"},{value:"\\underline{abc}"},{value:"\\overbrace{abc}"},{value:"\\underbrace{abc}"},{value:"\\overset{a}{abc}"},{value:"\\underset{a}{abc} \\stackrel\\frown{ab}"},{value:"\\overline{ab} "},{value:"\\overleftrightarrow{ab}"},{value:"\\overset{a}{\\leftarrow}"},{value:"\\overset{a}{\\rightarrow}"},{value:"\\xleftarrow[abc]{a}"},{value:"\\xrightarrow[abc]{a} "}]}]},{name:"\u6781\u9650\u5BF9\u6570",value:"\\lim_{x \\to 0}",children:[{name:"\u6781\u9650 Limits",data:[{value:"\\lim a"},{value:"\\lim_{x \\to 0}"},{value:"\\lim_{x \\to \\infty}"},{value:"\\max_b{a}"},{value:"\\min_a{b}"}]},{name:"\u5BF9\u6570\u6307\u6570 Logarithms and exponentials",data:[{value:"\\log_{a}{b}"},{value:"\\lg_{a}{b}"},{value:"\\ln_{a}{b}"},{value:"\\exp a"}]},{name:"\u754C\u9650 Bounds",data:[{value:"\\min x"},{value:"\\sup t"},{value:"\\inf s"},{value:"\\lim u"},{value:"\\limsup w"},{value:"\\dim p"},{value:"\\ker\\phi "}]}]},{name:"\u4E09\u89D2\u51FD\u6570",value:"\\sin a",children:[{name:"\u4E09\u89D2\u51FD\u6570 Trigonometric functions",data:[{value:"\\sin a"},{value:"\\cos a"},{value:"\\tan a"},{value:"\\cot a "},{value:"\\sec a "},{value:"\\csc a "}]},{name:"\u53CD\u4E09\u89D2\u51FD\u6570 Inverse trigonometric functions",data:[{value:"\\sin^{-1}"},{value:"\\cos^{-1}"},{value:"\\tan^{-1}"},{value:"\\cot^{-1}"},{value:"\\sec^{-1}"},{value:"\\csc^{-1}"},{value:"\\arcsin a"},{value:"\\arccos a"},{value:"\\arctan a"},{value:"\\operatorname{arccot} a"},{value:"\\operatorname{arcsec} a"},{value:"\\operatorname{arccsc} a"}]},{name:"\u53CC\u66F2\u51FD\u6570 Hyperblic functions",data:[{value:"\\sinh a"},{value:"\\cosh a"},{value:"\\tanh a"},{value:"\\coth a"},{value:"\\operatorname{sech} a"},{value:"\\operatorname{csch} a"}]},{name:"\u53CD\u53CC\u66F2\u51FD\u6570 Inverse hyperbolic functions",data:[{value:"\\sinh^{-1}"},{value:"a\\cosh^{-1} a"},{value:"\\tanh^{-1} a"},{value:"\\coth^{-1} a"},{value:"\\operatorname{sech}^{-1} a"},{value:"\\operatorname{csch}^{-1} a"}]}]},{name:"\u79EF\u5206\u8FD0\u7B97",value:"\\int_{a}^{b}",children:[{name:"\u79EF\u5206 Integral",data:[{value:"\\int"},{value:"\\int_{a}^{b}"},{value:"\\int\\limits_{a}^{b}"}]},{name:"\u53CC\u91CD\u79EF\u5206 Double integral",data:[{value:"\\iint"},{value:"\\iint_{a}^{b} "},{value:"\\iint\\limits_{a}^{b} "}]},{name:"\u4E09\u91CD\u79EF\u5206 Triple integral",data:[{value:"\\iiint"},{value:"\\iiint_{a}^{b}"},{value:"\\iiint\\limits_{a}^{b} "}]},{name:"\u66F2\u7EBF\u79EF\u5206 Closed line or path integral",data:[{value:"\\oint"},{value:"\\oint_{a}^{b} "}]}]},{name:"\u5927\u578B\u8FD0\u7B97",value:"\\sum_{a}^{b}",children:[{name:"\u6C42\u548C Summation",data:[{value:"\\sum"},{value:"\\sum_{a}^{b}"},{value:"{\\textstyle \\sum_{a}^{b}} "}]},{name:"\u4E58\u79EF\u4F59\u79EF Product and coproduct",data:[{value:"\\prod"},{value:"\\prod_{a}^{b}"},{value:"{\\textstyle \\prod_{a}^{b}}"},{value:"\\coprod"},{value:"\\coprod_{a}^{b}"},{value:"{\\textstyle \\coprod_{a}^{b}} "}]},{name:"\u5E76\u96C6\u4EA4\u96C6 Union and intersection",data:[{value:"\\bigcup"},{value:"\\bigcup_{a}^{b}"},{value:"{\\textstyle \\bigcup_{a}^{b}}"},{value:"\\bigcap"},{value:"\\bigcap_{a}^{b}"}]},{name:"\u6790\u53D6\u5408\u53D6 Disjunction and conjunction",data:[{value:"\\bigvee"},{value:"\\bigvee_{a}^{b}"},{value:"\\bigwedge"},{value:"\\bigwedge_{a}^{b}"}]}]},{name:"\u62EC\u53F7\u53D6\u6574",value:"\\left [ \\left ( \\right ) \\right ] ",children:[{name:"\u62EC\u53F7 Brackets",data:[{value:"\\left ( \\right )"},{value:"\\left [ \\right ]"},{value:"\\left \\langle \\right \\rangle "},{value:"\\left | \\right | "},{value:"\\left \\lfloor \\right \\rfloor "},{value:"\\left \\lceil \\right \\rceil "}]}]}],b=[{name:"\u4EE3\u6570",value:"\\sqrt{a^2+b^2}",children:[{data:[{value:"\\left(x-1\\right)\\left(x+3\\right) "},{value:"\\sqrt{a^2+b^2}"},{value:"\\left ( \\frac{a}{b}\\right )^{n}= \\frac{a^{n}}{b^{n}}"},{value:"\\frac{a}{b}\\pm \\frac{c}{d}= \\frac{ad \\pm bc}{bd} "},{value:"\\frac{x^{2}}{a^{2}}-\\frac{y^{2}}{b^{2}}=1 "},{value:"\\frac{1}{\\sqrt{a}}=\\frac{\\sqrt{a}}{a},a\\ge 0\\frac{1}{\\sqrt{a}}=\\frac{\\sqrt{a}}{a},a\\ge 0 "},{value:"\\sqrt[n]{a^{n}}=\\left ( \\sqrt[n]{a}\\right )^{n} "},{value:"x ={-b \\pm \\sqrt{b^2-4ac}\\over 2a} "},{value:"y-y_{1}=k \\left( x-x_{1}\\right) "},{value:`\\left\\{\\begin{matrix} \r x=a + r\\text{cos}\\theta \\ \r y=b + r\\text{sin}\\theta \r \\end{matrix}\\right. `},{value:`\\begin{array}{l} \r \\text{\u5BF9\u4E8E\u65B9\u7A0B\u5F62\u5982\uFF1A}x^{3}-1=0 \\ \r \\text{\u8BBE}\\text{:}\\omega =\\frac{-1+\\sqrt{3}i}{2} \\ \r x_{1}=1,x_{2}= \\omega =\\frac{-1+\\sqrt{3}i}{2} \\ \r x_{3}= \\omega ^{2}=\\frac{-1-\\sqrt{3}i}{2} \r \\end{array} `},{value:`\\begin{array}{l} \r a\\mathop{{x}}\\nolimits^{{2}}+bx+c=0 \\ \r \\Delta =\\mathop{{b}}\\nolimits^{{2}}-4ac \\ \r \\left\\{\\begin{matrix} \r \\Delta \\gt 0\\text{\u65B9\u7A0B\u6709\u4E24\u4E2A\u4E0D\u76F8\u7B49\u7684\u5B9E\u6839} \\ \r \\Delta = 0\\text{\u65B9\u7A0B\u6709\u4E24\u4E2A\u76F8\u7B49\u7684\u5B9E\u6839} \\ \r \\Delta \\lt 0\\text{\u65B9\u7A0B\u65E0\u5B9E\u6839} \r \\end{matrix}\\right. \r \\end{array} `},{value:`\\begin{array}{l} \r a\\mathop{{x}}\\nolimits^{{2}}+bx+c=0 \\ \r \\Delta =\\mathop{{b}}\\nolimits^{{2}}-4ac \\ \r \\mathop{{x}}\\nolimits_{{1,2}}=\\frac{{-b \\pm \r \\sqrt{{\\mathop{{b}}\\nolimits^{{2}}-4ac}}}}{{2a}} \\ \r \\mathop{{x}}\\nolimits_{{1}}+\\mathop{{x}}\\nolimits_{{2}}=-\\frac{{b}}{{a}} \\ \r \\mathop{{x}}\\nolimits_{{1}}\\mathop{{x}}\\nolimits_{{2}}=\\frac{{c}}{{a}} \r \\end{array} `}]}]},{name:"\u51E0\u4F55",value:"\\Delta A B C ",children:[{data:[{value:"\\Delta A B C "},{value:"a \\parallel c,b \\parallel c \\Rightarrow a \\parallel b "},{value:"l \\perp \\beta ,l \\subset \\alpha \\Rightarrow \\alpha \\perp \\beta"},{value:`\\left.\\begin{matrix} \r a \\perp \\alpha \\ \r b \\perp \\alpha \r \\end{matrix}\\right\\}\\Rightarrow a \\parallel b`},{value:"P \\in \\alpha ,P \\in \\beta , \\alpha \\cap \\beta =l \\Rightarrow P \\in l "},{value:`\\alpha \\perp \\beta , \\alpha \\cap \\beta =l,a \\subset \\alpha ,a \\perp l \r \\Rightarrow a \\perp \\beta `},{value:`\\left.\\begin{matrix} \r a \\subset \\beta ,b \\subset \\beta ,a \\cap b=P \\ \r a \\parallel \\partial ,b \\parallel \\partial \r \\end{matrix}\\right\\}\\Rightarrow \\beta \\parallel \\alpha `},{value:"\\alpha \\parallel \\beta , \\gamma \\cap \\alpha =a, \\gamma \\cap \\beta =b \\Rightarrow a \\parallel b "},{value:"A \\in l,B \\in l,A \\in \\alpha ,B \\in \\alpha \\Rightarrow l \\subset \\alpha "},{value:`\\left.\\begin{matrix} \r m \\subset \\alpha ,n \\subset \\alpha ,m \\cap n=P \\ \r a \\perp m,a \\perp n \r \\end{matrix}\\right\\}\\Rightarrow a \\perp \\alpha `},{value:`\\begin{array}{c} \r \\text{\u76F4\u89D2\u4E09\u89D2\u5F62\u4E2D,\u76F4\u89D2\u8FB9\u957Fa,b,\u659C\u8FB9\u8FB9\u957Fc} \\ \r a^{2}+b^{2}=c^{2} \r \\end{array}`}]}]},{name:"\u4E0D\u7B49\u5F0F",value:"a > b",children:[{data:[{value:"a > b,b > c \\Rightarrow a > c "},{value:"a > b,c > d \\Rightarrow a+c > b+d "},{value:"a > b > 0,c > d > 0 \\Rightarrow ac bd "},{value:`\\begin{array}{c} \r a \\gt b,c \\gt 0 \\Rightarrow ac \\gt bc \\ \r a \\gt b,c \\lt 0 \\Rightarrow ac \\lt bc \r \\end{array}`},{value:"\\left | a-b \\right | \\geqslant \\left | a \\right | -\\left | b \\right | "},{value:"-\\left | a \\right |\\leq a\\leqslant \\left | a \\right | "},{value:"\\left | a \\right |\\leqslant b \\Rightarrow -b \\leqslant a \\leqslant \\left | b \\right | "},{value:"\\left | a+b \\right | \\leqslant \\left | a \\right | + \\left | b \\right | "},{value:`\\begin{array}{c} \r a \\gt b \\gt 0,n \\in N^{\\ast},n \\gt 1 \\ \r \\Rightarrow a^{n}\\gt b^{n}, \\sqrt[n]{a}\\gt \\sqrt[n]{b} \r \\end{array}`},{value:`\\left( \\sum_{k=1}^n a_k b_k \\right)^{\\!\\!2}\\leq \r \\left( \\sum_{k=1}^n a_k^2 \\right) \\left( \\sum_{k=1}^n b_k^2 \\right) `},{value:`\\begin{array}{c} \r a,b \\in R^{+} \\ \r \\Rightarrow \\frac{a+b}{{2}}\\ge \\sqrt{ab} \\ \r \\left( \\text{\u5F53\u4E14\u4EC5\u5F53}a=b\\text{\u65F6\u53D6\u201C}=\\text{\u201D\u53F7}\\right) \r \\end{array}`},{value:`\\begin{array}{c} \r a,b \\in R \\ \r \\Rightarrow a^{2}+b^{2}\\gt 2ab \\ \r \\left( \\text{\u5F53\u4E14\u4EC5\u5F53}a=b\\text{\u65F6\u53D6\u201C}=\\text{\u201D\u53F7}\\right) \r \\end{array}`},{value:`\\begin{array}{c} \r H_{n}=\\frac{n}{\\sum \\limits_{i=1}^{n}\\frac{1}{x_{i}}}= \\frac{n}{\\frac{1}{x_{1}}+ \\frac{1}{x_{2}}+ \\cdots + \\frac{1}{x_{n}}} \\ G_{n}=\\sqrt[n]{\\prod \\limits_{i=1}^{n}x_{i}}= \\sqrt[n]{x_{1}x_{2}\\cdots x_{n}} \\ A_{n}=\\frac{1}{n}\\sum \\limits_{i=1}^{n}x_{i}=\\frac{x_{1}+ x_{2}+ \\cdots + x_{n}}{n} \\ Q_{n}=\\sqrt{\\sum \\limits_{i=1}^{n}x_{i}^{2}}= \\sqrt{\\frac{x_{1}^{2}+ x_{2}^{2}+ \\cdots + x_{n}^{2}}{n}} \\ H_{n}\\leq G_{n}\\leq A_{n}\\leq Q_{n} \r \\end{array}`}]}]},{name:"\u79EF\u5206",value:"\\frac{\\mathrm{d}\\partial}{\\partial x}",children:[{data:[{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}x^n=nx^{n-1} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}e^{ax}=a\\,e^{ax} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\ln(x)=\\frac{1}{x} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\sin x=\\cos x "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\cos x=-\\sin x "},{value:"\\int k\\mathrm{d}x = kx+C "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\tan x=\\sec^2 x "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\cot x=-\\csc^2 x "},{value:"\\int \\frac{1}{x}\\mathrm{d}x= \\ln \\left| x \\right| +C "},{value:"\\int \\frac{1}{\\sqrt{1-x^{2}}}\\mathrm{d}x= \\arcsin x +C "},{value:"\\int \\frac{1}{1+x^{2}}\\mathrm{d}x= \\arctan x +C "},{value:"\\int u \\frac{\\mathrm{d}v}{\\mathrm{d}x}\\,\\mathrm{d}x=uv-\\int \\frac{\\mathrm{d}u}{\\mathrm{d}x}v\\,\\mathrm{d}x "},{value:"f(x) = \\int_{-\\infty}^\\infty \\hat f(x)\\xi\\,e^{2 \\pi i \\xi x} \\,\\mathrm{d}\\xi "},{value:"\\int x^{\\mu}\\mathrm{d}x=\\frac{x^{\\mu +1}}{\\mu +1}+C, \\left({\\mu \\neq -1}\\right) "}]}]},{name:"\u4E09\u89D2",value:"e^{i \\theta}",children:[{name:"\u6C42\u548C Summation",data:[{value:"e^{i \\theta} "},{value:"\\left(\\frac{\\pi}{2}-\\theta \\right ) "},{value:"\\text{sin}^{2}\\frac{\\alpha}{2}=\\frac{1- \\text{cos}\\alpha}{2} "},{value:"\\text{cos}^{2}\\frac{\\alpha}{2}=\\frac{1+ \\text{cos}\\alpha}{2} "},{value:"\\text{tan}\\frac{\\alpha}{2}=\\frac{\\text{sin}\\alpha}{1+ \\text{cos}\\alpha} "},{value:"\\sin \\alpha + \\sin \\beta =2 \\sin \\frac{\\alpha + \\beta}{2}\\cos \\frac{\\alpha - \\beta}{2} "},{value:"\\sin \\alpha - \\sin \\beta =2 \\cos \\frac{\\alpha + \\beta}{2}\\sin \\frac{\\alpha - \\beta}{2} "},{value:"\\cos \\alpha + \\cos \\beta =2 \\cos \\frac{\\alpha + \\beta}{2}\\cos \\frac{\\alpha - \\beta}{2} "},{value:"\\cos \\alpha - \\cos \\beta =-2\\sin \\frac{\\alpha + \\beta}{2}\\sin \\frac{\\alpha - \\beta}{2} "},{value:"a^{2}=b^{2}+c^{2}-2bc\\cos A "},{value:"\\frac{\\sin A}{a}=\\frac{\\sin B}{b}=\\frac{\\sin C}{c}=\\frac{1}{2R} "},{value:"\\sin \\left ( \\frac{\\pi}{2}-\\alpha \\right ) = \\cos \\alpha "},{value:"\\sin \\left ( \\frac{\\pi}{2}+\\alpha \\right ) = \\cos \\alpha "}]}]},{name:"\u7EDF\u8BA1",value:"C_{r}^{n}",children:[{data:[{value:"C_{r}^{n} "},{value:"\\frac{n!}{r!(n-r)!} "},{value:"\\sum_{i=1}^{n}{X_i} "},{value:"\\sum_{i=1}^{n}{X_i^2} "},{value:"X_1, \\cdots,X_n "},{value:"\\frac{x-\\mu}{\\sigma} "},{value:"\\sum_{i=1}^{n}{(X_i - \\overline{X})^2} "},{value:`\\begin{array}{c} \r \\text{\u82E5}P \\left( AB \\right) =P \\left( A \\right) P \\left( B \\right) \\\\ \r \\text{\u5219}P \\left( A \\left| B\\right. \\right) =P \\left({B}\\right) \r \\end{array}`},{value:"P(E) ={n \\choose k}p^k (1-p)^{n-k} "},{value:"P \\left( A \\right) = \\lim \\limits_{n \\to \\infty}f_{n}\\left ( A \\right ) "},{value:"P \\left( \\bigcup \\limits_{i=1}^{+ \\infty}A_{i}\\right) = \\prod \\limits_{i=1}^{+ \\infty}P{\\left( A_{i}\\right)} "},{value:`\\begin{array}{c} \r P \\left( \\emptyset \\right) =0 \\\\ \r P \\left( S \\right) =1 \r \\end{array}`},{value:`\\begin{array}{c} \r \\forall A \\in S \\\\ \r P \\left( A \\right) \\ge 0 \r \\end{array}`},{value:"P \\left( \\bigcup \\limits_{i=1}^{n}A_{i}\\right) = \\prod \\limits_{i=1}^{n}P \\left( A_{i}\\right) "},{value:`\\begin{array}{c} \r S= \\binom{N}{n},A_{k}=\\binom{M}{k}\\cdot \\binom{N-M}{n-k} \\\\ \r P\\left ( A_{k}\\right ) = \\frac{\\binom{M}{k}\\cdot \\binom{N-M}{n-k}}{\\binom{N}{n}} \r \\end{array}`},{value:`\\begin{array}{c} \r P_{n}=n! \\\\ \r A_{n}^{k}=\\frac{n!}{\\left( n-k \\left) !\\right. \\right.} \r \\end{array}`}]}]}],E=ae=>{y.current.setValue(y.current.getValue()+" "+ae.value+" ")},x=[{key:"1",label:"\u5FEB\u6377\u6A21\u677F",children:Le.createElement(ye.Z,{className:pe.Z.lists,gutter:[10,10]},a.map((ae,ce)=>Le.createElement(Ke.Z,{flex:"110px",className:pe.Z.item},Le.createElement("div",null,Le.createElement(Re.Z,{value:`$$${ae.value}$$`}),ae.name),Le.createElement("div",{className:pe.Z.children},ae.children.map((Ee,be)=>Le.createElement("div",{key:be},Le.createElement("h1",null,Ee.name),Le.createElement(ye.Z,{gutter:[10,10]},Ee.data.map((De,Ge)=>Le.createElement(Ke.Z,{key:Ge,onClick:()=>E(De),className:pe.Z.diamond},Le.createElement(Re.Z,{value:"`$$"+De.value+"$$`"}))))))))))},{key:"2",label:"\u516C\u5F0F\u6A21\u677F",children:Le.createElement(ye.Z,{className:pe.Z.lists,gutter:[10,10]},b.map((ae,ce)=>Le.createElement(Ke.Z,{flex:"110px",className:pe.Z.item},Le.createElement("div",null,Le.createElement(Re.Z,{value:"`$$"+ae.value+"$$`"}),ae.name),Le.createElement("div",{className:pe.Z.children},ae.children.map((Ee,be)=>Le.createElement("div",{key:be},Ee.name&&Le.createElement("h1",null,Ee.name),Le.createElement(ye.Z,{gutter:[10,10]},Ee.data.map((De,Ge)=>Le.createElement(Ke.Z,{key:Ge,onClick:()=>E(De),className:pe.Z.diamond},Le.createElement(Re.Z,{value:"`$$"+De.value+"$$`"}))))))))))}],z=()=>{var ae=document.createElement("div");ae.innerHTML=y.current.getValue();var ce=ae.innerText;return Ie&&Ie(ce),ce};return(0,le.useImperativeHandle)(se,()=>({getData:z})),Le.createElement("div",{className:pe.Z.mathWrap},Le.createElement(Je.default,{defaultActiveKey:"1",items:x}),Le.createElement("math-field",{locale:"zh_cn",className:pe.Z.mathField,placeholder:"\u8BF7\u6253\u5F00\u952E\u76D8\uFF0C\u8F93\u5165\u516C\u5F0F",ref:y,style:{width:800,marginTop:30,fontSize:18}},we||""),Pe&&Le.createElement("div",{className:pe.Z.button},Le.createElement(ze.ZP,{size:"large",onClick:z,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))});Nt.Z=ge},1916:function(Yt,Nt,de){"use strict";de.d(Nt,{Z:function(){return wt}});var le=de(67294),ye=de(35973),Ke=de(14446),Je=de(22150),ze=de(2453),Re=de(57953),pe=de(79870),ve=de(71230),Le=de(15746),ge=de(83062),Ie=de(69677),Pe={currentPrimary:"currentPrimary___NPWiR",currentDelete:"currentDelete___UEfhf",DirectoryTree:"DirectoryTree___xPxCY",EditDom:"EditDom___seNxC"},we=de(9343),se=de(65900),y=de(26194),a=de(80150),b=Object.defineProperty,E=Object.defineProperties,x=Object.getOwnPropertyDescriptors,z=Object.getOwnPropertySymbols,ae=Object.prototype.hasOwnProperty,ce=Object.prototype.propertyIsEnumerable,Ee=(Qe,Ot,lt)=>Ot in Qe?b(Qe,Ot,{enumerable:!0,configurable:!0,writable:!0,value:lt}):Qe[Ot]=lt,be=(Qe,Ot)=>{for(var lt in Ot||(Ot={}))ae.call(Ot,lt)&&Ee(Qe,lt,Ot[lt]);if(z)for(var lt of z(Ot))ce.call(Ot,lt)&&Ee(Qe,lt,Ot[lt]);return Qe},De=(Qe,Ot)=>E(Qe,x(Ot)),Ge=(Qe,Ot)=>{var lt={};for(var it in Qe)ae.call(Qe,it)&&Ot.indexOf(it)<0&&(lt[it]=Qe[it]);if(Qe!=null&&z)for(var it of z(Qe))Ot.indexOf(it)<0&&ce.call(Qe,it)&&(lt[it]=Qe[it]);return lt},Ze=(Qe,Ot,lt)=>new Promise((it,Ft)=>{var gt=ut=>{try{tt(lt.next(ut))}catch(mn){Ft(mn)}},pt=ut=>{try{tt(lt.throw(ut))}catch(mn){Ft(mn)}},tt=ut=>ut.done?it(ut.value):Promise.resolve(ut.value).then(gt,pt);tt((lt=lt.apply(Qe,Ot)).next())});const ot=(Qe=[])=>Qe==null?void 0:Qe.map(Ot=>De(be({},Ot),{title:(Ot==null?void 0:Ot.value)||"",key:Ot==null?void 0:Ot.id,isLeaf:!0})),Te=Qe=>{var Ot=Qe,{user:lt,children:it,isShowComponent:Ft=!0,ModalProps:gt={},onDataSelect:pt}=Ot,tt=Ge(Ot,["user","children","isShowComponent","ModalProps","onDataSelect"]);const[ut,mn]=Ke.default.useModal(),[en]=Je.default.useForm(),[Et,Cn]=(0,le.useState)([]),[Ln,Yn]=(0,le.useState)(!1),[xn,tr]=(0,le.useState)(!1),[,xt,Tn,ir]=(0,we.U)(se.qE,{page:1,limit:9999}),[,,Ye]=(0,we.U)(se.V8,{}),[,,cn]=(0,we.U)(se.B$,{}),[,,Oe]=(0,we.U)(se.DH,{}),[,,fe]=(0,we.U)(se.bJ,{}),me=()=>{Yn(!1),en.resetFields(),tr(!1)},Ue=ct=>Ze(void 0,null,function*(){const{node:st,dragNode:an,event:gn}=ct,An=ct.node.pos.split("-"),Wn=ct.dropPosition-Number(An[An.length-1]);if(Wn==0){ze.ZP.warning("\u65E0\u6CD5\u79FB\u52A8\u5230\u5185\u90E8\u4F4D\u7F6E");return}if(Wn==1&&(an==null?void 0:an.item_index)==(st==null?void 0:st.item_index)+1){ze.ZP.warning("\u672A\u79FB\u52A8\u4F4D\u7F6E");return}const Bt=yield fe({id:an==null?void 0:an.key,position:Wn==-1?1:(an==null?void 0:an.item_index)>(st==null?void 0:st.item_index)?(st==null?void 0:st.item_index)+1:st==null?void 0:st.item_index});(Bt==null?void 0:Bt.status)===0&&(ze.ZP.success("\u79FB\u52A8\u6210\u529F"),Tn({},!0))}),qe=ct=>Ze(void 0,null,function*(){let st={};xn?st=yield cn(be({},ct)):st=yield Oe(be({},ct)),(st==null?void 0:st.status)==0&&(ze.ZP.success((st==null?void 0:st.message)||(xn?"\u6DFB\u52A0\u6210\u529F":"\u66F4\u65B0\u6210\u529F")),Tn({},!0),me())});return(0,le.useEffect)(()=>{gt!=null&>.open&&Tn({},!0)},[gt==null?void 0:gt.open]),(0,le.useEffect)(()=>{var ct;Cn(ot((ct=ir==null?void 0:ir.data)==null?void 0:ct.list))},[ir]),Ft?le.createElement(le.Fragment,null,mn,it,le.createElement(Ke.default,be({},be({title:"\u5E38\u7528\u8BC4\u8BED",width:640,centered:!0,footer:null,bodyStyle:{padding:"10px 5px 25px"}},gt)),le.createElement(Re.Z,{spinning:xt},(Et==null?void 0:Et.length)>0?le.createElement(le.Fragment,null,le.createElement(pe.default.DirectoryTree,{height:500,className:Pe.DirectoryTree,multiple:!0,draggable:{icon:!1},defaultExpandAll:!0,switcherIcon:!1,showIcon:!1,onSelect:pt,treeData:Et,onDrop:Ue,titleRender:ct=>le.createElement(le.Fragment,null,le.createElement("span",{className:"multi_ellipsis1",style:{flex:1,marginRight:"32px"}},ct==null?void 0:ct.title),le.createElement("div",{className:`${Pe.EditDom}`},le.createElement(ve.Z,{wrap:!1,align:"middle",gutter:16},le.createElement(Le.Z,null,le.createElement(ge.Z,{title:"\u957F\u6309\u53EF\u8FDB\u884C\u62D6\u62FD\u6392\u5E8F"},le.createElement("i",{className:`iconfont icon-tuodong1 font12 ${Pe.currentPrimary}`}))),le.createElement(Le.Z,null,le.createElement(ge.Z,{title:"\u7F16\u8F91"},le.createElement("i",{className:`iconfont icon-bianji11 font12 ${Pe.currentPrimary}`,onClick:st=>{st.stopPropagation(),en.setFieldsValue(be({},ct)),Yn(!0)}}))),le.createElement(Le.Z,null,le.createElement(ge.Z,{title:"\u5220\u9664"},le.createElement("i",{className:`iconfont icon-shanchu14 font12 ${Pe.currentDelete}`,onClick:st=>{st.stopPropagation(),ut.confirm({icon:null,title:"\u5220\u9664\u5E38\u7528\u8BC4\u8BED",centered:!0,content:"\u4F60\u786E\u5B9A\u8981\u5220\u9664\u8BE5\u6761\u5E38\u7528\u8BC4\u8BED\u5417\uFF1F",onOk:()=>Ze(void 0,null,function*(){const an=yield Ye({id:ct==null?void 0:ct.key});(an==null?void 0:an.status)==0&&(ze.ZP.success((an==null?void 0:an.message)||"\u5220\u9664\u6210\u529F"),Tn({},!0))})})}}))))))}),le.createElement(a.op,{className:"ml20 mt20",icon:le.createElement("i",{className:"iconfont icon-xiaojiahao"}),style:{borderRadius:"4px"},onClick:()=>{tr(!0),Yn(!0)}},"\u6DFB\u52A0\u5E38\u7528\u8BC4\u8BED")):le.createElement(y.Z,{styles:{margin:"30px auto"},customText:le.createElement("span",null,"\u6682\u65E0\u5E38\u7528\u8BC4\u8BED\uFF0C\u4F60\u53EF\u4EE5",le.createElement("a",{onClick:()=>{tr(!0),Yn(!0)}},"\u6DFB\u52A0\u5E38\u7528\u8BC4\u8BED"))}))),le.createElement(Ke.default,{title:xn?"\u6DFB\u52A0\u5E38\u7528\u8BC4\u8BED":"\u7F16\u8F91\u5E38\u7528\u8BC4\u8BED",open:Ln,okText:xn?"\u6DFB\u52A0":"\u786E\u5B9A",onCancel:()=>{me()},onOk:()=>{en.submit()}},le.createElement(Je.default,{form:en,onFinish:qe},xn&&le.createElement("span",{className:"font14",style:{color:"#191919"}},"\u6DFB\u52A0\u5E38\u7528\u8BC4\u8BED\uFF0C\u53EF\u4EE5\u5E2E\u52A9\u4F60\u63D0\u9AD8\u8BC4\u9605\u4F5C\u4E1A\u7684\u6548\u7387"),le.createElement(Je.default.Item,{hidden:!0,name:"id"}),le.createElement(Je.default.Item,{className:"mt10",name:"value"},le.createElement(Ie.default.TextArea,{placeholder:"\u8F93\u5165\u5E38\u7528\u8BC4\u8BED\u3002\u4F8B\u5982\uFF1A\u4F60\u7684\u7F16\u7A0B\u4F5C\u4E1A\u6574\u4F53\u8868\u73B0\u826F\u597D\uFF0C\u4F46\u4ECD\u6709\u4E00\u4E9B\u5C0F\u7684\u6539\u8FDB\u7A7A\u95F4\u3002",autoSize:{minRows:8,maxRows:9},maxLength:100,showCount:!0}))))):null};var wt=(0,ye.connect)(({loading:Qe,user:Ot})=>({user:Ot,loading:Qe.effects}))(Te)},57444:function(Yt,Nt,de){"use strict";de.d(Nt,{h:function(){return ae}});var le=de(67294),ye=de(11713),Ke=de(22150),Je=de(71577),ze=de(4631),Re=de.n(ze),pe=de(71749),ve=de(30483),Le=Object.defineProperty,ge=Object.defineProperties,Ie=Object.getOwnPropertyDescriptors,Pe=Object.getOwnPropertySymbols,we=Object.prototype.hasOwnProperty,se=Object.prototype.propertyIsEnumerable,y=(ce,Ee,be)=>Ee in ce?Le(ce,Ee,{enumerable:!0,configurable:!0,writable:!0,value:be}):ce[Ee]=be,a=(ce,Ee)=>{for(var be in Ee||(Ee={}))we.call(Ee,be)&&y(ce,be,Ee[be]);if(Pe)for(var be of Pe(Ee))se.call(Ee,be)&&y(ce,be,Ee[be]);return ce},b=(ce,Ee)=>ge(ce,Ie(Ee));const E=ye.default.Option,x={labelCol:{span:4},wrapperCol:{span:20}},z={asp:["ASP","vbscript"],actionscript:["ActionScript(3.0)/Flash/Flex","clike"],bash:["Bash/Bat","shell"],css:["CSS","css"],c:["C","clike"],cpp:["C++","clike"],csharp:["C#","clike"],coffeescript:["CoffeeScript","coffeescript"],d:["D","d"],dart:["Dart","dart"],delphi:["Delphi/Pascal","pascal"],erlang:["Erlang","erlang"],go:["Golang","go"],groovy:["Groovy","groovy"],html:["HTML","text/html"],java:["Java","clike"],json:["JSON","text/json"],javascript:["Javascript","javascript"],lua:["Lua","lua"],less:["LESS","css"],markdown:["Markdown","gfm"],"objective-c":["Objective-C","clike"],php:["PHP","php"],perl:["Perl","perl"],python:["Python","python"],r:["R","r"],rst:["reStructedText","rst"],ruby:["Ruby","ruby"],sql:["SQL","sql"],sass:["SASS/SCSS","sass"],shell:["Shell","shell"],scala:["Scala","clike"],swift:["Swift","clike"],vb:["VB/VBScript","vb"],xml:["XML","text/xml"],yaml:["YAML","yaml"]};Nt.Z=({callback:ce,onCancel:Ee})=>{const[be,De]=(0,le.useState)("python");function Ge(ot){De(z[ot][1])}function Ze(ot){ce(ot)}return le.createElement(Ke.default,b(a({},x),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:Ze,style:{width:500}}),le.createElement(Ke.default.Item,{label:"\u4EE3\u7801\u8BED\u8A00",name:"language"},le.createElement(ye.default,{getPopupContainer:ot=>ot.parentNode,onChange:Ge},Object.keys(z).map(ot=>le.createElement(E,{key:ot,value:ot},z[ot][0])))),le.createElement(Ke.default.Item,{label:"\u4EE3\u7801\u5185\u5BB9",name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EE3\u7801\u5185\u5BB9"}]},le.createElement(ae,{mode:be})),le.createElement("div",{className:"flex-container flex-end"},le.createElement(Je.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),le.createElement(Je.ZP,{type:"ghost",onClick:Ee},"\u53D6\u6D88")))};function ae({value:ce,onChange:Ee,mode:be,options:De={}}){const Ge=(0,le.useRef)(),[Ze,ot]=(0,le.useState)();return(0,le.useEffect)(()=>{if(Ze){let Te=function(wt){const Qe=wt.getValue();Ee&&Ee(Qe)};return Ze.on("change",Te),()=>{Ze.off("change",Te)}}},[Ze,Ee]),(0,le.useEffect)(()=>{Ze&&Ze.setOption("mode",be)},[Ze,be]),(0,le.useEffect)(()=>{Ze&&(ce!==Ze.getValue()||ce==="")&&setTimeout(()=>{Ze.setValue(ce||"")},300)},[Ze,ce]),(0,le.useEffect)(()=>{if(Ge.current&&!Ze){const Te=Re().fromTextArea(Ge.current,a({mode:be,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},De));ot(Te)}},[Ge.current,Ze]),le.createElement("div",{className:"my-codemirror-container"},le.createElement("textarea",{ref:Ge}))}},35567:function(Yt,Nt,de){"use strict";de.d(Nt,{Z:function(){return ma}});var le=de(67294),ye=de(4631),Ke=de.n(ye),Je=de(91033),ze=de(71749),Re=de(57341),pe=de(82801),ve=de(88386),Le=de(49047),ge=de(80785),Ie=de(85725),Pe=({value:En="",className:On,showTextOnly:vn,showLines:Pr,style:Vr={}})=>{const Ba=(0,le.useMemo)(()=>"",[En]);return le.createElement(le.Fragment,null,le.createElement("div",{dangerouslySetInnerHTML:{__html:Ba}}))},we=de(67294),se=Object.defineProperty,y=Object.defineProperties,a=Object.getOwnPropertyDescriptors,b=Object.getOwnPropertySymbols,E=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable,z=(En,On,vn)=>On in En?se(En,On,{enumerable:!0,configurable:!0,writable:!0,value:vn}):En[On]=vn,ae=(En,On)=>{for(var vn in On||(On={}))E.call(On,vn)&&z(En,vn,On[vn]);if(b)for(var vn of b(On))x.call(On,vn)&&z(En,vn,On[vn]);return En},ce=(En,On)=>y(En,a(On));let Ee=[{title:"\u7C97\u4F53",icon:"md-iconfont icon-bold",actionName:"bold"},{title:"\u659C\u4F53",icon:"md-iconfont icon-italic",actionName:"italic"},"|",{title:"\u65E0\u5E8F\u5217\u8868",icon:"md-iconfont icon-unorder-list",actionName:"list-ul"},{title:"\u6709\u5E8F\u5217\u8868",icon:"md-iconfont icon-order-list",actionName:"list-ol"},"|",{title:"\u884C\u5185\u4EE3\u7801",icon:"md-iconfont icon-code",actionName:"code"},{title:"\u4EE3\u7801\u5757\uFF08\u591A\u8BED\u8A00\u98CE\u683C\uFF09",icon:"md-iconfont icon-file-code",actionName:"code-block"},{title:"\u94FE\u63A5",icon:"md-iconfont icon-link",actionName:"link"},"|",{title:"\u884C\u5185\u516C\u5F0F",icon:"md-iconfont icon-sum",actionName:"inline-latex"},{title:"\u6570\u5B66\u56FE\u50CF",icon:"iconfont icon-shuxuetuxiang2",actionName:"maths-latex"},{title:"\u591A\u884C\u516C\u5F0F",icon:"iconfont icon-jisuan1",actionName:"latex"},"|",{title:"\u6DFB\u52A0\u56FE\u7247",icon:"md-iconfont icon-picture",actionName:"upload-image"},{title:"\u63D2\u5165\u753B\u56FE",icon:"iconfont icon-sheji",actionName:"draw-image"},{title:"\u63D2\u5165\u6D41\u7A0B\u56FE",icon:"iconfont icon-liucheng",actionName:"add-flowchart"},{title:"\u8868\u683C",icon:"md-iconfont icon-table",actionName:"add-table"},"|",{title:"\u6362\u884C",icon:"md-iconfont icon-minus",actionName:"line-break"},{title:"\u6E05\u7A7A",icon:"md-iconfont icon-eraser",actionName:"eraser"}];function be({onActionCallback:En,title:On,icon:vn,actionName:Pr,className:Vr="",children:Ba}){function Da(){En(Pr)}return we.createElement("a",{title:On,className:Vr,onClick:Da},we.createElement("i",{className:`${vn}`}),Ba)}var De=({watch:En,showNullButton:On,showNullProgramButton:vn,onActionCallback:Pr,fullScreen:Vr,insertTemp:Ba,hidetoolBar:Da,extraUse:Ia})=>{const Yo=[...Ee,{title:`${En?"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8":"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"}`,icon:`${En?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return we.createElement("ul",{className:"markdown-toolbar-container"},!Da&&Yo.map((Ho,gi)=>we.createElement("li",{key:gi},Ho.actionName?we.createElement(be,ce(ae({},Ho),{onActionCallback:Pr})):we.createElement("span",{className:"v-line"}))),On?we.createElement("li",null,we.createElement(be,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-null-ch",onActionCallback:Pr},we.createElement("span",{className:"fill-tip"},"\u70B9\u51FB\u63D2\u5165\b\u586B\u7A7A\u9879"))):null,vn?we.createElement(we.Fragment,null,we.createElement("li",null,we.createElement(be,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-signal",onActionCallback:Pr},we.createElement("span",{className:"fill-tip"},"+\u5355\u884C\u586B\u7A7A\u9879"))),we.createElement("li",null,we.createElement(be,{icon:"md-iconfont icon-uniE900 insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-multiple",onActionCallback:Pr},we.createElement("span",{className:"fill-tip"},"+\u591A\u884C\u586B\u7A7A\u9879")))):null,Ba&&we.createElement("li",null,we.createElement(be,{icon:"md-iconfont icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:`inster-template-${Ba}`,onActionCallback:Pr},we.createElement("span",{className:"fill-tip"},"\u63D2\u5165\u6A21\u677F"))),Ia&&we.createElement("li",null,Ia),we.createElement("li",{className:"btn-full-screen"},we.createElement(be,{icon:`${Vr?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:Vr?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:Pr})))},Ge=de(76621),Ze=de(22150),ot=de(69677),Te=de(71577),wt=Object.defineProperty,Qe=Object.defineProperties,Ot=Object.getOwnPropertyDescriptors,lt=Object.getOwnPropertySymbols,it=Object.prototype.hasOwnProperty,Ft=Object.prototype.propertyIsEnumerable,gt=(En,On,vn)=>On in En?wt(En,On,{enumerable:!0,configurable:!0,writable:!0,value:vn}):En[On]=vn,pt=(En,On)=>{for(var vn in On||(On={}))it.call(On,vn)&>(En,vn,On[vn]);if(lt)for(var vn of lt(On))Ft.call(On,vn)&>(En,vn,On[vn]);return En},tt=(En,On)=>Qe(En,Ot(On));const ut={labelCol:{span:4},wrapperCol:{span:20}};var mn=({callback:En,onCancel:On})=>{function vn(Pr){En(Pr)}return le.createElement(Ze.default,tt(pt({},ut),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:vn,style:{width:500}}),le.createElement(Ze.default.Item,{label:"\u94FE\u63A5\u5730\u5740",name:"link",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u5730\u5740"}]},le.createElement(ot.default,null)),le.createElement(Ze.default.Item,{label:"\u94FE\u63A5\u6807\u9898",name:"title",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u6807\u9898"}]},le.createElement(ot.default,null)),le.createElement("div",{className:"flex-container flex-end"},le.createElement(Te.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),le.createElement(Te.ZP,{type:"ghost",onClick:On},"\u53D6\u6D88")))},en=de(57444),Et=de(70859),Cn=de(14446),Ln=de(71230),Yn=de(63205),xn=de(67294),tr=({callback:En,onCancel:On})=>{const vn=document.createElement("canvas"),Pr=vn.getContext("2d");vn.width=1e3,vn.height=800,Pr.fillStyle="#ffffff",Pr.fillRect(0,0,vn.width,vn.height);const Vr=vn.toDataURL("image/png");return xn.createElement(Cn.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},xn.createElement(Ln.Z,{style:{height:"100vh"}},xn.createElement(Yn.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:Vr,visible:!0,title:String(Date.now())},onOk:Ba=>{En({src:Ba.url})},onClose:On})))},xt=de(23495);function Tn(){go.CommandHandler.call(this),this._arrowKeyBehavior="move",this._pasteOffset=new go.Point(10,10),this._lastPasteOffset=new go.Point(0,0)}go.Diagram.inherit(Tn,go.CommandHandler),Tn.prototype.canAlignSelection=function(){var En=this.diagram;return!(En===null||En.isReadOnly||En.isModelReadOnly||En.selection.count<2)},Tn.prototype.alignLeft=function(){var En=this.diagram;En.startTransaction("aligning left");var On=1/0;En.selection.each(function(vn){vn instanceof go.Link||(On=Math.min(vn.position.x,On))}),En.selection.each(function(vn){vn instanceof go.Link||vn.move(new go.Point(On,vn.position.y))}),En.commitTransaction("aligning left")},Tn.prototype.alignRight=function(){var En=this.diagram;En.startTransaction("aligning right");var On=-1/0;En.selection.each(function(vn){if(!(vn instanceof go.Link)){var Pr=vn.actualBounds.x+vn.actualBounds.width;On=Math.max(Pr,On)}}),En.selection.each(function(vn){vn instanceof go.Link||vn.move(new go.Point(On-vn.actualBounds.width,vn.position.y))}),En.commitTransaction("aligning right")},Tn.prototype.alignTop=function(){var En=this.diagram;En.startTransaction("alignTop");var On=1/0;En.selection.each(function(vn){vn instanceof go.Link||(On=Math.min(vn.position.y,On))}),En.selection.each(function(vn){vn instanceof go.Link||vn.move(new go.Point(vn.position.x,On))}),En.commitTransaction("alignTop")},Tn.prototype.alignBottom=function(){var En=this.diagram;En.startTransaction("aligning bottom");var On=-1/0;En.selection.each(function(vn){if(!(vn instanceof go.Link)){var Pr=vn.actualBounds.y+vn.actualBounds.height;On=Math.max(Pr,On)}}),En.selection.each(function(vn){vn instanceof go.Link||vn.move(new go.Point(vn.actualBounds.x,On-vn.actualBounds.height))}),En.commitTransaction("aligning bottom")},Tn.prototype.alignCenterX=function(){var En=this.diagram,On=En.selection.first();if(On){En.startTransaction("aligning Center X");var vn=On.actualBounds.x+On.actualBounds.width/2;En.selection.each(function(Pr){Pr instanceof go.Link||Pr.move(new go.Point(vn-Pr.actualBounds.width/2,Pr.actualBounds.y))}),En.commitTransaction("aligning Center X")}},Tn.prototype.alignCenterY=function(){var En=this.diagram,On=En.selection.first();if(On){En.startTransaction("aligning Center Y");var vn=On.actualBounds.y+On.actualBounds.height/2;En.selection.each(function(Pr){Pr instanceof go.Link||Pr.move(new go.Point(Pr.actualBounds.x,vn-Pr.actualBounds.height/2))}),En.commitTransaction("aligning Center Y")}},Tn.prototype.alignColumn=function(En){var On=this.diagram;On.startTransaction("align Column"),En===void 0&&(En=0),En=parseFloat(En);var vn=new Array;On.selection.each(function(Ia){Ia instanceof go.Link||vn.push(Ia)});for(var Pr=0;Pr0){for(var Ia=Ba.elt(Da-1);Ia!==null&&Ia.isTreeExpanded&&!Ia.isTreeLeaf;){var Yo=this._sortTreeChildrenByY(Ia);Ia=Yo.last()}Ia!==null&&En.select(Ia)}else En.select(Vr)}}else if(vn.key==="Down")if(On.isTreeExpanded&&!On.isTreeLeaf){var Pr=this._sortTreeChildrenByY(On).first();Pr!==null&&En.select(Pr)}else for(;On!==null;){var Vr=On.findTreeParentNode();if(Vr===null)break;var Ba=this._sortTreeChildrenByY(Vr),Da=Ba.indexOf(On);if(DaBa.y?1:Vr.xBa.x?1:0}),On},Tn.prototype.copyToClipboard=function(En){go.CommandHandler.prototype.copyToClipboard.call(this,En),this._lastPasteOffset.set(this.pasteOffset)},Tn.prototype.pasteFromClipboard=function(){var En=go.CommandHandler.prototype.pasteFromClipboard.call(this);return this.diagram.moveParts(En,this._lastPasteOffset),this._lastPasteOffset.add(this.pasteOffset),En},Object.defineProperty(Tn.prototype,"arrowKeyBehavior",{get:function(){return this._arrowKeyBehavior},set:function(En){if(En!=="move"&&En!=="select"&&En!=="scroll"&&En!=="tree"&&En!=="none")throw new Error('DrawCommandHandler.arrowKeyBehavior must be either "move", "select", "scroll", "tree", or "none", not: '+En);this._arrowKeyBehavior=En}}),Object.defineProperty(Tn.prototype,"pasteOffset",{get:function(){return this._pasteOffset},set:function(En){if(!(En instanceof go.Point))throw new Error("DrawCommandHandler.pasteOffset must be a Point, not: "+En);this._pasteOffset.set(En)}});var ir=Tn,Ye=de(18023),cn=de(15746),Oe=de(33170),fe={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re"},me=de(67294),Ue=(En,On,vn)=>new Promise((Pr,Vr)=>{var Ba=Yo=>{try{Ia(vn.next(Yo))}catch(Ho){Vr(Ho)}},Da=Yo=>{try{Ia(vn.throw(Yo))}catch(Ho){Vr(Ho)}},Ia=Yo=>Yo.done?Pr(Yo.value):Promise.resolve(Yo.value).then(Ba,Da);Ia((vn=vn.apply(En,On)).next())});function qe({onCancel:En,callback:On}){let vn=(0,le.useRef)(),Pr=(0,le.useRef)(),Vr=(0,le.useRef)(),Ba=(0,le.useRef)(!1);const Da=(0,le.useRef)(!1),[Ia,Yo]=(0,le.useState)(0);function Ho(){const _r=xt.bx.make,co={red:"#ff3333",blue:"#3358ff",green:"#25ad23",magenta:"#d533ff",purple:"#7d33ff",orange:"#ff6233",brown:"#8e571e",white:"#ffffff",black:"#000000",beige:"#fffcd5",extralightblue:"#d5ebff",extralightred:"#f2dfe0",lightblue:"#a5d2fa",lightgray:"#cccccc",lightgreen:"#b3e6b3",lightred:"#fcbbbd"};vn.current=new xt.S0(Pr.current,{padding:20,grid:_r(xt.s_,"Grid",_r(xt.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),_r(xt.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),"draggingTool.isGridSnapEnabled":!0,handlesDragDropForTopLevelParts:!0,mouseDrop:zr=>{var Ea=zr.diagram.commandHandler.addTopLevelParts(zr.diagram.selection,!0);Ea||zr.diagram.currentTool.doCancel()},commandHandler:_r(ir),"clickCreatingTool.archetypeNodeData":{text:"\u672A\u547D\u540D",fill:null,stroke:null,borderColor:"rgba(0,0,0,0)"},PartCreated:zr=>{var Ea=zr.subject;Ea.location=Ea.location.copy().snapToGridPoint(zr.diagram.grid.gridOrigin,zr.diagram.grid.gridCellSize),setTimeout(()=>{zr.diagram.commandHandler.editTextBlock()},20)},"commandHandler.archetypeGroupData":{isGroup:!0,text:"NEW GROUP"},SelectionGrouped:zr=>{var Ea=zr.subject;setTimeout(()=>{zr.diagram.commandHandler.editTextBlock()})},LinkRelinked:zr=>{var Ea=zr.parameter.part;Ea.invalidateConnectedLinks();var Wo=zr.subject;zr.diagram.toolManager.linkingTool.isForwards?Wo.toNode.invalidateConnectedLinks():Wo.fromNode.invalidateConnectedLinks()},"undoManager.isEnabled":!0}),vn.current.nodeTemplate=_r(xt.NB,"Auto",{locationSpot:xt.z6.Center,locationObjectName:"SHAPE",desiredSize:new xt.$u(120,60),minSize:new xt.$u(40,40),resizable:!0,resizeCellSize:new xt.$u(10,10),rotatable:!0},new xt.KX("location","loc",xt.E9.parse).makeTwoWay(xt.E9.stringify),new xt.KX("desiredSize","size",xt.$u.parse).makeTwoWay(xt.$u.stringify),_r(xt.bn,{name:"SHAPE",fill:co.white,cursor:"pointer",portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:xt.z6.AllSides,toSpot:xt.z6.AllSides},new xt.KX("figure"),new xt.KX("fill"),new xt.KX("stroke","borderColor"),new xt.KX("strokeWidth","thickness"),new xt.KX("strokeDashArray","dash")),_r(xt.bn,{width:100,height:20,strokeWidth:0,fill:"transparent"}),_r(xt.al,{margin:1,textAlign:"center",overflow:xt.al.OverflowEllipsis,editable:!0},new xt.KX("text").makeTwoWay(),new xt.KX("stroke","color"))),vn.current.nodeTemplate.toolTip=_r("ToolTip",_r(xt.s_,"Vertical",{maxSize:new xt.$u(200,NaN)},_r(xt.al,{font:"bold 10pt sans-serif",textAlign:"center"},new xt.KX("text")),_r(xt.al,{font:"10pt sans-serif",textAlign:"center"},new xt.KX("text","details"))));function Hi(zr,Ea){var Wo=(fo,as)=>{fo.handled=!0,fo.diagram.model.commit(pi=>{var ji=as.part.adornedPart,os=new xt.E9().setRectSpot(ji.actualBounds,zr);os.subtract(ji.location),os.scale(2,2),os.x+=Math.sign(os.x)*130,os.y+=Math.sign(os.y)*130,os.add(ji.location),os.snapToGridPoint(fo.diagram.grid.gridOrigin,fo.diagram.grid.gridCellSize);var _s=pi.copyNodeData(ji.data);pi.setGroupKeyForNodeData(_s,pi.getGroupKeyForNodeData(ji.data)),pi.addNodeData(_s);var Xo={from:ji.key,to:pi.getKeyForNodeData(_s)};pi.addLinkData(Xo);var Na=fo.diagram.findNodeForData(_s);Na.location=os,fo.diagram.select(Na),setTimeout(()=>{fo.diagram.commandHandler.editTextBlock()},20)})};return _r(xt.bn,{figure:Ea,alignment:zr,alignmentFocus:zr.opposite(),width:zr.equals(xt.z6.Top)||zr.equals(xt.z6.Bottom)?25:18,height:zr.equals(xt.z6.Top)||zr.equals(xt.z6.Bottom)?18:25,fill:"orange",stroke:co.white,strokeWidth:4,mouseEnter:(fo,as)=>as.fill="dodgerblue",mouseLeave:(fo,as)=>as.fill="orange",isActionable:!0,click:Wo,contextClick:Wo})}function bs(zr){return _r(xt.bn,{fill:"orange",stroke:"rgba(0, 0, 0, 0)",strokeWidth:15,background:"transparent",geometryString:"F1 M0 0 b 0 360 -4 0 4 z M10 0 b 0 360 -4 0 4 z M20 0 b 0 360 -4 0 4",isActionable:!0,cursor:"context-menu",mouseEnter:(Ea,Wo)=>Wo.fill="dodgerblue",mouseLeave:(Ea,Wo)=>Wo.fill="orange",click:(Ea,Wo)=>{Ea.diagram.commandHandler.showContextMenu(Wo.part.adornedPart)}},zr||{})}vn.current.nodeTemplate.selectionAdornmentTemplate=_r(xt.uz,"Spot",_r(xt.Vm,{padding:10}),Hi(xt.z6.Top,"TriangleUp"),Hi(xt.z6.Left,"TriangleLeft"),Hi(xt.z6.Right,"TriangleRight"),Hi(xt.z6.Bottom,"TriangleDown"),bs({alignment:new xt.z6(.75,0)}));function li(zr,Ea){return(Wo,fo)=>{Wo.handled=!0,Wo.diagram.model.commit(as=>{as.set(fo.part.adornedPart.data,zr,Ea)})}}function fi(zr,Ea){return Ea||(Ea="color"),_r(xt.bn,{width:16,height:16,stroke:"lightgray",fill:zr,margin:1,background:"transparent",mouseEnter:(Wo,fo)=>fo.stroke="dodgerblue",mouseLeave:(Wo,fo)=>fo.stroke="lightgray",click:li(Ea,zr),contextClick:li(Ea,zr)})}function Ha(){return[_r("ContextMenuButton",_r(xt.s_,"Horizontal",fi(co.white,"fill"),fi(co.beige,"fill"),fi(co.extralightblue,"fill"),fi(co.extralightred,"fill"))),_r("ContextMenuButton",_r(xt.s_,"Horizontal",fi(co.lightgray,"fill"),fi(co.lightgreen,"fill"),fi(co.lightblue,"fill"),fi(co.lightred,"fill")))]}function Ko(){return[_r("ContextMenuButton",_r(xt.s_,"Horizontal",fi(co.black),fi(co.green),fi(co.blue),fi(co.red))),_r("ContextMenuButton",_r(xt.s_,"Horizontal",fi(co.white),fi(co.magenta),fi(co.purple),fi(co.orange)))]}function ii(zr,Ea){return Ea||(Ea="thickness"),_r(xt.bn,"LineH",{width:16,height:16,strokeWidth:zr,margin:1,background:"transparent",mouseEnter:(Wo,fo)=>fo.background="dodgerblue",mouseLeave:(Wo,fo)=>fo.background="transparent",click:li(Ea,zr),contextClick:li(Ea,zr)})}function hs(zr,Ea){return Ea||(Ea="dash"),_r(xt.bn,"LineH",{width:24,height:16,strokeWidth:2,strokeDashArray:zr,margin:1,background:"transparent",mouseEnter:(Wo,fo)=>fo.background="dodgerblue",mouseLeave:(Wo,fo)=>fo.background="transparent",click:li(Ea,zr),contextClick:li(Ea,zr)})}function Ti(){return[_r("ContextMenuButton",_r(xt.s_,"Horizontal",ii(1),ii(2),ii(3),ii(4))),_r("ContextMenuButton",_r(xt.s_,"Horizontal",hs(null),hs([2,4]),hs([4,4])))]}function Ki(zr,Ea){return Ea||(Ea="figure"),_r(xt.bn,{width:32,height:32,scale:.5,fill:"lightgray",figure:zr,margin:1,background:"transparent",mouseEnter:(Wo,fo)=>fo.fill="dodgerblue",mouseLeave:(Wo,fo)=>fo.fill="lightgray",click:li(Ea,zr),contextClick:li(Ea,zr)})}vn.current.nodeTemplate.contextMenu=_r("ContextMenu",_r("ContextMenuButton",_r(xt.s_,"Horizontal",Ki("Rectangle"),Ki("RoundedRectangle"),Ki("Ellipse"),Ki("Diamond"))),_r("ContextMenuButton",_r(xt.s_,"Horizontal",Ki("Parallelogram2"),Ki("ManualOperation"),Ki("Procedure"),Ki("Cylinder1"))),_r("ContextMenuButton",_r(xt.s_,"Horizontal",Ki("Terminator"),Ki("CreateRequest"),Ki("Document"),Ki("TriangleDown"))),Ha(),Ko(),Ti()),vn.current.groupTemplate=_r(xt.ZA,"Spot",{layerName:"Background",ungroupable:!0,locationSpot:xt.z6.Center,selectionObjectName:"BODY",computesBoundsAfterDrag:!0,handlesDragDropForMembers:!0,mouseDrop:(zr,Ea)=>{var Wo=Ea.addMembers(Ea.diagram.selection,!0);Wo||Ea.diagram.currentTool.doCancel()},avoidable:!1},new xt.KX("location","loc",xt.E9.parse).makeTwoWay(xt.E9.stringify),_r(xt.s_,"Auto",{name:"BODY"},_r(xt.bn,{parameter1:10,fill:co.white,strokeWidth:2,cursor:"pointer",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:xt.z6.AllSides,toSpot:xt.z6.AllSides},new xt.KX("fill"),new xt.KX("stroke","color"),new xt.KX("strokeWidth","thickness"),new xt.KX("strokeDashArray","dash")),_r(xt.Vm,{background:"transparent",margin:20})),_r(xt.al,{alignment:xt.z6.Top,alignmentFocus:xt.z6.Bottom,font:"bold 12pt sans-serif",editable:!0},new xt.KX("text"),new xt.KX("stroke","color"))),vn.current.groupTemplate.selectionAdornmentTemplate=_r(xt.uz,"Spot",_r(xt.s_,"Auto",_r(xt.bn,{fill:null,stroke:"dodgerblue",strokeWidth:3}),_r(xt.Vm,{margin:1.5})),bs({alignment:xt.z6.TopRight,alignmentFocus:xt.z6.BottomRight})),vn.current.groupTemplate.contextMenu=_r("ContextMenu",Ha(),Ko(),Ti()),vn.current.linkTemplate=_r(xt.rU,{layerName:"Foreground",routing:xt.rU.AvoidsNodes,corner:10,fromShortLength:10,toShortLength:15,relinkableFrom:!0,relinkableTo:!0,reshapable:!0,resegmentable:!0},new xt.KX("fromSpot","fromSpot",xt.z6.parse),new xt.KX("toSpot","toSpot",xt.z6.parse),new xt.KX("fromShortLength","dir",zr=>zr>=1?10:0),new xt.KX("toShortLength","dir",zr=>zr>=1?10:0),new xt.KX("points").makeTwoWay(),_r(xt.bn,{strokeWidth:2},new xt.KX("stroke","color"),new xt.KX("strokeWidth","thickness"),new xt.KX("strokeDashArray","dash")),_r(xt.bn,{segmentIndex:0,segmentOffset:new xt.E9(15,0),segmentOrientation:xt.rU.OrientAlong,alignmentFocus:xt.z6.Right,figure:"circle",width:10,strokeWidth:0},new xt.KX("fill","color"),new xt.KX("visible","dir",zr=>zr===1)),_r(xt.bn,{segmentIndex:-1,segmentOffset:new xt.E9(-10,6),segmentOrientation:xt.rU.OrientPlus90,alignmentFocus:xt.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new xt.KX("fill","color"),new xt.KX("visible","dir",zr=>zr>=1),new xt.KX("width","thickness",zr=>7+3*zr),new xt.KX("height","thickness",zr=>7+3*zr),new xt.KX("segmentOffset","thickness",zr=>new xt.E9(-15,4+1.5*zr))),_r(xt.bn,{segmentIndex:0,segmentOffset:new xt.E9(15,-6),segmentOrientation:xt.rU.OrientMinus90,alignmentFocus:xt.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new xt.KX("fill","color"),new xt.KX("visible","dir",zr=>zr===2),new xt.KX("width","thickness",zr=>7+3*zr),new xt.KX("height","thickness",zr=>7+3*zr),new xt.KX("segmentOffset","thickness",zr=>new xt.E9(-15,4+1.5*zr))),_r(xt.al,{alignmentFocus:new xt.z6(0,1,-4,0),editable:!0},new xt.KX("text").makeTwoWay(),new xt.KX("stroke","color"))),vn.current.linkTemplate.selectionAdornmentTemplate=_r(xt.uz,_r(xt.bn,{isPanelMain:!0,stroke:"transparent",strokeWidth:6,pathPattern:Us(2)},new xt.KX("pathPattern","thickness",Us)),bs({alignmentFocus:new xt.z6(0,0,-6,-4)}));function Us(zr){return _r(xt.bn,{stroke:"dodgerblue",strokeWidth:2,strokeCap:"square",geometryString:"M0 0 M4 2 H3 M4 "+(zr+4).toString()+" H3"})}function Gs(zr){var Ea="M0 0 M8 16 M0 8 L16 8 M12 11 L16 8 L12 5";return zr===0?Ea="M0 0 M16 16 M0 8 L16 8":zr===2&&(Ea="M0 0 M16 16 M0 8 L16 8 M12 11 L16 8 L12 5 M4 11 L0 8 L4 5"),_r(xt.bn,{geometryString:Ea,margin:2,background:"transparent",mouseEnter:(Wo,fo)=>fo.background="dodgerblue",mouseLeave:(Wo,fo)=>fo.background="transparent",click:li("dir",zr),contextClick:li("dir",zr)})}function zi(zr){var Ea=(Wo,fo)=>{Wo.handled=!0,Wo.diagram.model.commit(as=>{var pi=fo.part.adornedPart;as.set(pi.data,zr?"toSpot":"fromSpot",xt.z6.stringify(xt.z6.AllSides)),(zr?pi.toNode:pi.fromNode).invalidateConnectedLinks()})};return _r(xt.bn,{width:12,height:12,fill:"transparent",mouseEnter:(Wo,fo)=>fo.background="dodgerblue",mouseLeave:(Wo,fo)=>fo.background="transparent",click:Ea,contextClick:Ea})}function Ws(zr,Ea){var Wo=0,fo=xt.z6.RightSide;zr.equals(xt.z6.Top)?(Wo=270,fo=xt.z6.TopSide):zr.equals(xt.z6.Left)?(Wo=180,fo=xt.z6.LeftSide):zr.equals(xt.z6.Bottom)&&(Wo=90,fo=xt.z6.BottomSide),Ea||(Wo-=180);var as=(pi,ji)=>{pi.handled=!0,pi.diagram.model.commit(os=>{var _s=ji.part.adornedPart;os.set(_s.data,Ea?"toSpot":"fromSpot",xt.z6.stringify(fo)),(Ea?_s.toNode:_s.fromNode).invalidateConnectedLinks()})};return _r(xt.bn,{alignment:zr,alignmentFocus:zr.opposite(),geometryString:"M0 0 M12 12 M12 6 L1 6 L4 4 M1 6 L4 8",angle:Wo,background:"transparent",mouseEnter:(pi,ji)=>ji.background="dodgerblue",mouseLeave:(pi,ji)=>ji.background="transparent",click:as,contextClick:as})}vn.current.linkTemplate.contextMenu=_r("ContextMenu",Ko(),Ti(),_r("ContextMenuButton",_r(xt.s_,"Horizontal",Gs(0),Gs(1),Gs(2))),_r("ContextMenuButton",_r(xt.s_,"Horizontal",_r(xt.s_,"Spot",zi(!1),Ws(xt.z6.Top,!1),Ws(xt.z6.Left,!1),Ws(xt.z6.Right,!1),Ws(xt.z6.Bottom,!1)),_r(xt.s_,"Spot",{margin:new xt.Zt(0,0,0,2)},zi(!0),Ws(xt.z6.Top,!0),Ws(xt.z6.Left,!0),Ws(xt.z6.Right,!0),Ws(xt.z6.Bottom,!0)))));const PA=`{ "class": "GraphLinksModel", "nodeDataArray": [ {"text":"Find Problem","key":-9,"loc":"-20 -140","color":"#3358ff","fill":"white","figure":"Procedure","thickness":3}, {"text":"What do we want?","key":-10,"loc":"-65 -324.305","group":-16,"figure":"Ellipse","fill":"white"}, {"text":"What do our users want?","key":-11,"loc":"105 -334.305","group":-20,"figure":"Ellipse","fill":"#ffffff","color":"black"}, {"text":"Meetings","key":-12,"loc":"-65 -444.305","group":-16,"figure":"TriangleDown","fill":"#ffffff"}, {"text":"Reviews","key":-13,"loc":"105 -454.305","group":-20,"figure":"TriangleDown","fill":"#ffffff","color":"black"}, {"text":"Can we solve it?","key":-14,"loc":"190 -140","color":"#7d33ff","fill":"#ffffff","figure":"Diamond","size":"140 80","thickness":3}, {"isGroup":true,"text":"Internal","key":-16,"loc":"-65 -384.305","fill":"#d5ebff","dash":null,"thickness":1,"group":-22}, {"isGroup":true,"text":"External","key":-20,"loc":"105 -394.305","fill":"#d5ebff","dash":null,"thickness":1,"group":-22}, {"isGroup":true,"text":"Sources","key":-22,"loc":"20 -400","fill":"#a5d2fa","dash":[4,4],"color":"#3358ff"} ], "linkDataArray": [ {"from":-12,"to":-10,"points":[-65,-414.305,-65,-404.305,-65,-384.305,-65,-384.305,-65,-364.305,-65,-354.305],"dash":null,"dir":1}, {"from":-13,"to":-11,"points":[105,-424.305,105,-414.305,105,-394.305,105,-394.305,105,-374.305,105,-364.305],"dash":null,"color":"#000000","dir":1}, {"from":-10,"to":-9,"points":[-65,-294.305,-65,-284.305,-65,-232.1525,-40,-232.1525,-40,-180,-40,-170],"dir":2,"dash":[4,4]}, {"from":-11,"to":-9,"points":[105,-304.305,105,-294.305,105,-237.1525,0,-237.1525,0,-180,0,-170],"dash":[4,4],"dir":2}, {"from":-9,"to":-14,"points":[40,-150,58,-150,80,-150,80,-153.33333333333331,102,-153.33333333333331,120,-153.33333333333331],"dir":1,"color":"#3358ff"}, {"from":-14,"to":-9,"points":[190,-100,190,-90,-20,-90,-20,-95,-20,-100,-20,-110],"fromSpot":"BottomSide","toSpot":"BottomSide","text":"No","color":"#ff3333","thickness":2,"dir":1}, {"from":-9,"to":-14,"points":[40,-130,58,-130,80,-130,80,-126.66666666666666,102,-126.66666666666666,120,-126.66666666666666]} ]}`;var Yr=["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 zo(zr){return console.log("shapeName:",zr),Yr.indexOf(zr)>=0}var Ji=new xt.YI(Vr.current,{maxSelectionCount:1,linkTemplate:_r(xt.rU,{locationSpot:xt.z6.Center,selectionAdornmentTemplate:_r(xt.uz,"Link",{locationSpot:xt.z6.Center},_r(xt.bn,{isPanelMain:!0,fill:null,stroke:"deepskyblue",strokeWidth:0}),_r(xt.bn,{toArrow:"Standard",stroke:null}))},{routing:xt.rU.AvoidsNodes,curve:xt.rU.JumpOver,corner:5,toShortLength:4},new xt.KX("points"),_r(xt.bn,{isPanelMain:!0,strokeWidth:2}),_r(xt.bn,{toArrow:"Standard",stroke:null})),model:new xt.FJ([{text:"\u672A\u547D\u540D",size:"100 100",fill:null,stroke:"#000"},...xt.bn.getFigureGenerators().toArray().map(zr=>({text:"\u672A\u547D\u540D",size:"100 100",figure:zr.key,fill:"white",stroke:"#666",borderColor:"#000"}))])});return vn.current.addDiagramListener("TextEdited",function(zr){var Ea;const Wo=zr.subject.part;var fo=(Ea=document.activeElement)==null?void 0:Ea.value;typeof fo=="string"&&fo.trim()===""&&vn.current.model.commit(function(as){as.set(Wo.data,"text","\u672A\u547D\u540D"),vn.current.commandHandler.stopCommand()},"increment")}),Ji.nodeTemplate=_r(xt.NB,"Auto",{locationSpot:xt.z6.Center},new xt.KX("location","location",xt.E9.parse).makeTwoWay(xt.E9.stringify),_r(xt.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 xt.KX("stroke").makeTwoWay(),new xt.KX("fill").makeTwoWay(),new xt.KX("figure")),_r(xt.al,{margin:new xt.Zt(5,5,3,5),font:"10pt sans-serif",minSize:new xt.$u(16,16),maxSize:new xt.$u(10,NaN),textAlign:"center",editable:!0},new xt.KX("key").makeTwoWay())),setTimeout(()=>{vn.current.grid=_r(xt.s_,"Grid",_r(xt.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),_r(xt.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),vn.current.grid.visible=!0,vn.current.grid.gridCellStroke="darkgray",vn.current.grid.gridCellStrokeWidth=1},300),window.myDiagrams=vn.current,vn.current}const gi=()=>Ue(this,null,function*(){var _r=vn.current.makeImage();const co=yield(0,Oe.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Date.now(),file:_r.src}});On({src:co.url})});return(0,le.useEffect)(()=>(setTimeout(()=>{Ho()},500),Yo(Ia+1),()=>{vn.current=null}),[]),me.createElement("div",{ref:Da,className:Ba.current?`${fe.maxH60} body-overflow-initial`:"body-overflow-initial"},me.createElement(Cn.default,{width:1200,icon:null,footer:null,closable:!0,visible:!!Ia,destroyOnClose:!0,maskClosable:!1,rootClassName:"zIndex-9999",title:me.createElement(Ln.Z,null,me.createElement(cn.Z,{flex:1},"\u63D2\u5165\u6D41\u7A0B\u56FE"),me.createElement(cn.Z,{onClick:()=>{var _r,co,Hi=vn.current.selection.first();if(Ba.current=!Ba.current,document.activeElement&&Hi){let bs=(co=(_r=document.activeElement)==null?void 0:_r.value)==null?void 0:co.trim();typeof bs=="string"&&vn.current.model.commit(function(li){li.set(Hi.data,"text",bs||"\u672A\u547D\u540D"),vn.current.commandHandler.stopCommand()},"increment")}Yo(Ia+1)}},me.createElement("span",{className:"current c-blue mr30",style:{fontWeight:400}},"\u5C55\u5F00/\u6536\u8D77"))),onCancel:En},me.createElement("div",{style:{width:"100%",height:"80vh",overflow:"hidden",position:"relative"},className:fe.flowChartWrp},me.createElement("div",{style:{display:"flex",height:"100%"}},me.createElement("div",{style:{width:"300px",height:"100%"}},me.createElement("div",{style:{background:"#fff",position:"relative",zIndex:12,fontSize:16,color:"#3061d0"}},"\u56FE\u5F62\u5E93"),me.createElement("div",{style:{height:"calc(100% - 50px)"},className:fe.myPaletteDiv,ref:Vr})),me.createElement("div",{style:{flex:1,position:"relative"}},me.createElement("div",{ref:Pr,style:{height:"80vh"}}))),me.createElement("div",{className:"tr"},me.createElement(Te.ZP,{size:"large",onClick:gi,style:{position:"absolute",right:0,bottom:0,zIndex:8},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))))}var ct=qe,st=de(78045),an=de(31795);const gn=st.ZP.Group,An={margin:"0 8px"};var Wn=({callback:En,onCancel:On})=>{function vn(Pr){En(Pr)}return le.createElement(Ze.default,{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:vn},le.createElement("div",{className:"flex-container",style:{alignItems:"baseline"}},le.createElement("span",{style:An},"\u5355\u5143\u683C\u6570\uFF1A"),le.createElement("span",{style:An},"\u884C\u6570"),le.createElement(Ze.default.Item,{name:"row",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u884C\u6570"}]},le.createElement(an.Z,null)),le.createElement("span",{style:An},"\u5217\u6570"),le.createElement(Ze.default.Item,{name:"col",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5217\u6570"}]},le.createElement(an.Z,null))),le.createElement("div",{className:"flex-container",style:{marginTop:12,alignItems:"baseline"}},le.createElement("span",{style:An},"\u5BF9\u9F50\u65B9\u5F0F\uFF1A"),le.createElement(Ze.default.Item,{name:"align"},le.createElement(gn,null,le.createElement(st.ZP,{value:"default"},le.createElement("i",{className:"fa fa-align-justify"})),le.createElement(st.ZP,{value:"left"},le.createElement("i",{className:"fa fa-align-left"})),le.createElement(st.ZP,{value:"center"},le.createElement("i",{className:"fa fa-align-center"})),le.createElement(st.ZP,{value:"right"},le.createElement("i",{className:"fa fa-align-right"}))))),le.createElement("div",{className:"flex-container flex-end"},le.createElement(Te.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),le.createElement(Te.ZP,{type:"ghost",onClick:On},"\u53D6\u6D88")))},Bt=de(47897),Kt=de(61016),Wt=de.n(Kt),yt=(0,le.forwardRef)(({use3d:En,width:On,height:vn,callback:Pr,showSaveButton:Vr},Ba)=>{const Da=(0,le.useRef)(),Ia=(0,le.useRef)(),[Yo,Ho]=(0,le.useState)(!1),gi=(0,le.useRef)({id:Da,appName:"graphing",width:On||1e3,height:vn||600,showToolBar:!0,showMenuBar:!0,allowStyleBar:!0,showAlgebraInput:!0,enableLabelDrags:!1,enableShiftDragZoom:!0,showToolBarHelp:!1,errorDialogsActive:!0,showTutorialLink:!0,showLogging:!0,useBrowserForJS:!1});(0,le.useEffect)(()=>{Ia.current=new(Wt())(gi.current,!0),window.onload=function(){Ia.current.inject("applet_container")}},[]);const _r=()=>{var co=window.ggbApplet.getPNGBase64(1,!0,72);return Pr&&Pr(co),co};return(0,le.useEffect)(()=>{gi.current.appName=Yo?"3D":"graphing",Ia.current.inject("applet_container")},[Yo]),(0,le.useEffect)(()=>{Ho(En)},[En]),(0,le.useImperativeHandle)(Ba,()=>({getImgData:_r})),le.createElement(le.Fragment,null,le.createElement("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:Da}),le.createElement(Ln.Z,{align:"middle"},le.createElement(cn.Z,{flex:1},le.createElement(Bt.Z,{size:"default",checkedChildren:"\u5173\u95ED3D\u56FE\u50CF",unCheckedChildren:"\u5F00\u542F3D\u56FE\u50CF",checked:Yo,onChange:co=>Ho(co)})),le.createElement(cn.Z,null,le.createElement(Te.ZP,{size:"large",onClick:_r,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"))))}),Un=de(36527),kt=de(25934),Jt=de(2453);const Nn="link",Qn="upload-image",qn="add-flowchart",Cr="draw-image",Zr="add-flowchart",Wr="code-block",cr="add-table",mr="------------",vr={default:mr,left:`:${mr}`,center:`:${mr}:`,right:`${mr}:`};var jr=de(99914),Aa=(En,On,vn)=>new Promise((Pr,Vr)=>{var Ba=Yo=>{try{Ia(vn.next(Yo))}catch(Ho){Vr(Ho)}},Da=Yo=>{try{Ia(vn.throw(Yo))}catch(Ho){Vr(Ho)}},Ia=Yo=>Yo.done?Pr(Yo.value):Promise.resolve(Yo.value).then(Ba,Da);Ia((vn=vn.apply(En,On)).next())});function ca(){}let bo=0;const No=1e4,ho="\u2581",da="@\u2581\u2581@",ln="@\u2581@",ga=` **\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`,Lo=["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 Bi(En){return/^\d+$/.test(En)?`${En}px`:En}const Po=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",Di={[Po+"-B"]:"bold",[Po+"-I"]:"italic"},Yi={[Nn]:"\u6DFB\u52A0\u94FE\u63A5",[Wr]:"\u6DFB\u52A0\u4EE3\u7801\u5757",[Qn]:"\u6DFB\u52A0\u56FE\u7247",[Cr]:"\u6DFB\u52A0\u753B\u56FE",[qn]:"\u63D2\u5165\u6D41\u7A0B\u56FE",[cr]:"\u6DFB\u52A0\u8868\u683C","maths-latex":"\u6570\u5B66\u56FE\u50CF","inline-latex":"LATEX\u516C\u5F0F"};var ma=({defaultValue:En="",onChange:On,width:vn="100%",height:Pr=400,miniToolbar:Vr=!1,isFocus:Ba=!1,watch:Da,insertTemp:Ia,mode:Yo="markdown",id:Ho="markdown-editor-id",showResizeBar:gi=!1,noStorage:_r=!1,showNullButton:co=!1,showNullProgramButton:Hi=!1,hidetoolBar:bs=!1,fullScreen:li=!1,onBlur:fi,onCMBeforeChange:Ha,onFullScreen:Ko,className:ii="",disablePaste:hs=!1,disabled:Ti=!1,disabledFill:Ki=!1,placeholder:Us="",values:Gs="",extraUse:zi,isShowTool:Ws=!0,disableImageUpload:PA=!1})=>{const[Yr,zo]=(0,le.useState)(null),[Ji,zr]=(0,le.useState)(En),[Ea,Wo]=(0,le.useState)(Da),[fo,as]=(0,le.useState)(li),[pi,ji]=(0,le.useState)(""),[os,_s]=(0,le.useState)(0),[Xo,Na]=(0,le.useState)(Pr),[wl,gA]=(0,le.useState)(!1),Rs=(0,le.useRef)((0,kt.Z)()),pA=(0,le.useRef)(!1),IA=(0,le.useRef)(),[NA,$s]=(0,le.useState)(0),[FA,Fo]=(0,le.useState)(0),Fi=(0,le.useRef)(),Ls=(0,le.useRef)(),jn=(0,le.useRef)(),Gn=(0,le.useRef)(),ft=()=>Aa(void 0,null,function*(){var Tt;const St=yield Fetch("/api/attachments/distinct_hash_val.json",{method:"post",body:{hash_val:Rs.current}});(Tt=St==null?void 0:St.attachments)!=null&&Tt.length&&(console.log("cm:",Yr,Fi),St.attachments.map(zt=>{zt.content_type.indexOf("image")>-1?Yr.replaceSelection(`![,](/api/attachments/${zt.id}?type=${zt.content_type})`):zt.content_type.indexOf("video")>-1?Yr.replaceSelection(``):zt.content_type.indexOf("pdf")>-1?Yr.replaceSelection(`${zt.name}`):Yr.replaceSelection(`[${zt.name}](${ENV.API_SERVER}/api/attachments/${zt.id}?type=${zt.content_type})`)}))});(0,le.useEffect)(()=>{const Tt=window.scrollY||window.pageYOffset;zr(Gs),Yr==null||Yr.setValue(Gs),window.scrollTo(0,Tt)},[Gs]),(0,le.useEffect)(()=>{Ko==null||Ko(fo)},[fo]),(0,le.useEffect)(()=>{if(Fi.current){let Tt=function(zt,Pn){var ur,Rr;if(hs){Pn.preventDefault();return}const Fr=Pn.clipboardData;if(Fr){const or=Fr.types.toString(),dr=Fr.items;if(or==="Files"||Fr.types.indexOf("Files")>-1){if(Pn.preventDefault(),Yo=="stex")return;try{let Xr=dr[1];((ur=dr[0])==null?void 0:ur.kind)==="file"&&(Xr=dr[0]);const oa=Xr.getAsFile(),Ya=oa.name.split(".").pop();if(PA&&((Rr=oa==null?void 0:oa.type)==null?void 0:Rr.indexOf("image"))>-1)return!0;(0,Et.I)(oa,ra=>{var Ka,yo,wn;ra.id?((Ka=oa==null?void 0:oa.type)==null?void 0:Ka.indexOf("image"))>-1?St.replaceSelection(``):((yo=oa==null?void 0:oa.type)==null?void 0:yo.indexOf("video"))>-1?St.replaceSelection(``):((wn=oa==null?void 0:oa.type)==null?void 0:wn.indexOf("pdf"))>-1?St.replaceSelection(`${oa.name}`):Lo.includes(Ya)?St.replaceSelection(`${oa.name}`):St.replaceSelection(`[${oa.name}](/api/attachments/${ra.id}?type=${ra.content_type})`):(ra==null?void 0:ra.status)===401&&(Jt.ZP.warning((ra==null?void 0:ra.message)||"\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),document.location.href="/user/login")})}catch(Xr){Jt.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};const St=Ke().fromTextArea(Fi.current,{mode:Yo,lineNumbers:!Vr,lineWrapping:!0,value:En,autoCloseTags:!Hi,autoCloseBrackets:!0});return St.on("keyup",function(zt,Pn){Pn.keyCode===8&&(zt.getValue()==""?St.setOption("placeholder",Us):St.setOption("placeholder",null))}),St.on("keydown",function(zt,Pn){if(Pn.keyCode===8){var ur=rr(zt);ur&&Pn.preventDefault()}}),Ba&&St.focus(),St.on("paste",Tt),St.on("dragleave",function(zt,Pn){Ls.current.classList.remove("mouse-hover-md")}),Ti&&St.on("beforeChange",function(zt,Pn){(Pn.origin==="paste"||Pn.origin==="+input")&&Pn.cancel()}),zo(St),()=>{St.off("paste",Tt)}}},[]);const Dt=(0,le.useCallback)(()=>{if(Ls.current)try{}catch(Tt){console.log(Tt,"---- to set md editor body height")}},[Xo,Ls,fo]);(0,le.useEffect)(()=>{function Tt(){let St=new Je.Z(zt=>{for(let Pn of zt)(Pn.target.offsetHeight>0||Pn.target.offsetWidth>0)&&(Dt(),Yr.setSize("100%","100%"),Yr.refresh())});return St.observe(Fi.current.parentElement),St}if(Yr){const St=Tt();return()=>{var zt,Pn;(zt=Fi.current)!=null&&zt.parentElement&&St.unobserve((Pn=Fi.current)==null?void 0:Pn.parentElement)}}},[Yr,Dt]),(0,le.useEffect)(()=>{if(Yr){let Tt=[];for(const[St,zt]of Object.entries(Di)){let Pn={[St]:()=>{Kr(zt)}};Tt.push(Pn),Yr.addKeyMap(Pn)}return IA.current=setInterval(()=>{pA.current&&ft()},4e3),()=>{clearInterval(IA.current);for(let St of Tt)Yr.removeKeyMap(St)}}},[Yr]),(0,le.useEffect)(()=>{li!==fo&&as(li)},[li]),(0,jr.Z)(()=>{if(!_r&&os>0){let Tt=new Date().getTime(),St=window.sessionStorage.getItem(Ho);Tt>=os+No&&(!St||St!==Ji)&&(window.sessionStorage.setItem(Ho,Ji),gA(!0))}},No),(0,le.useEffect)(()=>{Wo(Da)},[Yr,Da]),(0,le.useEffect)(()=>{Yr&&Ba&&Yr.focus()},[Yr,Ba]),(0,le.useEffect)(()=>{if(Ea&&Yr){let Tt=function(zt){let Pn=zt.target;if(Gn.current){let ur=Pn.scrollTop/Pn.scrollHeight;Gn.current.scrollTop=Gn.current.scrollHeight*ur}};const St=Yr.getScrollerElement();return St.addEventListener("scroll",Tt),()=>{St.removeEventListener("scroll",Tt)}}},[Yr,Ea]),(0,le.useEffect)(()=>{if(Yr&&Ha){let Tt=function(St,zt){Ha(St,zt)};return Yr.on("beforeChange",Tt),()=>{Yr.off("beforeChange",Tt)}}},[Yr,Ha]),(0,le.useEffect)(()=>{if(Yr&&fi){let Tt=function(){fi(Yr.getValue())};return Yr.on("blur",Tt),()=>{Yr.off("blur",Tt)}}},[Yr,fi]);function rr(Tt,St){var zt=Tt.getDoc(),Pn=zt.getCursor(),ur=zt.getLine(Pn.line),Rr=ur.charAt(Pn.ch-1),Fr=ur.lastIndexOf("@\u2581@",Pn.ch),or=ur.lastIndexOf("@\u2581\u2581@",Pn.ch),dr=Fr>or?Fr:or,Xr=Fr>or?3:4;if(da.indexOf(Rr)===-1)return null;if(console.log("change1:",St,Tt,ur,Pn,dr,Fr,or,Rr),dr>=0&&Pn.ch-dr<5){var oa=dr+Xr;return zt.replaceRange("",{line:Pn.line,ch:dr},{line:Pn.line,ch:oa}),{line:Pn.line,ch:oa}}return null}(0,le.useEffect)(()=>{if(Yr){let Tt=function(St,zt){const Pn=St.getValue();zr(Pn),_s(new Date().getTime()),St.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),On&&(Hi?On(Pn,na(Pn)):On(Pn))};return Yr.on("change",Tt),()=>{Yr.off("change",Tt)}}},[Yr,On]),(0,le.useEffect)(()=>{if(Yr)if(En==null)Yr.setValue(""),zr("");else{const Tt=window.scrollY||window.pageYOffset;En!==Yr.getValue()&&(Yr.setValue(En),zr(En),Yr.setCursor(Ti?1:Yr.lineCount(),0),window.scrollTo(0,Tt))}},[Yr,En]);const Kr=(0,le.useCallback)(Tt=>{const St=Yr.getCursor(),zt=Yr.getSelection();let Pn=zt.split(` `);switch(Tt){case"bold":return Yr.replaceSelection("**"+zt+"**"),zt===""&&Yr.setCursor(St.line,St.ch+2),Yr.focus();case"italic":return Yr.replaceSelection("*"+zt+"*"),zt===""&&Yr.setCursor(St.line,St.ch+1),Yr.focus();case"code":return Yr.replaceSelection("`"+zt+"`"),zt===""&&Yr.setCursor(St.line,St.ch+1),Yr.focus();case"inline-latex":return ji("inline-latex"),Yr.focus();case"latex":return Yr.replaceSelection("```latex\n"+zt+"\n```"),Yr.setCursor(St.line+1,zt.length+1),Yr.focus();case"line-break":return Yr.replaceSelection(`
`),Yr.focus();case"list-ul":return zt===""?Yr.replaceSelection("- "+zt):Yr.replaceSelection(Pn.map(ur=>ur===""?"":`- ${ur}`).join(` `)),Yr.focus();case"list-ol":return zt===""?Yr.replaceSelection("1. "+zt):Yr.replaceSelection(Pn.map((ur,Rr)=>ur===""?"":`${Rr+1}. ${ur}`).join(` `)),Yr.focus();case"add-null-ch":return zt===""&&Yr.setCursor(St.line,St.ch),Yr.replaceSelection(ho),Yr.focus();case"add-signal":return zt===""&&Yr.setCursor(St.line,St.ch),Yr.replaceSelection(ln),Yr.focus();case"add-multiple":return zt===""&&Yr.setCursor(St.line,St.ch),Yr.replaceSelection(da),Yr.focus();case"inster-template-1":return zt===""&&Yr.setCursor(St.line,St.ch),Yr.replaceSelection(ga),Yr.focus();case"eraser":return Yr.setValue(""),Yr.focus();case"trigger-watch":return Wo(!Ea),Yr.focus();case"trigger-full-screen":return as(!fo),Yr.focus();case Nn:ji(Nn);return;case Wr:ji(Wr);return;case Qn:ji(Qn);return;case Cr:ji(Cr);return;case"maths-latex":ji("maths-latex");return;case qn:ji(qn);return;case cr:ji(cr);return;default:throw new Error}},[Yr,Ea,fo]),kr=(0,le.useCallback)((Tt,St)=>{var zt,Pn,ur,Rr,Fr,or;if(ji(""),!(PA&&pi==Qn))switch(pi){case Nn:const{title:ra,link:Ka}=Tt;return Yr.replaceSelection(`[${ra}](${Ka})`),Yr.focus();case Wr:const{language:yo,content:wn}=Tt;return Yr.replaceSelection(["```"+yo,wn,"```"].join(` `)),Yr.focus();case"maths-latex":for(var dr=atob(Tt),Xr=new Uint8Array(dr.length),oa=0;oa{ja.id?Yr.replaceSelection(`![,](/api/attachments/${ja.id}?type=${ja.content_type})`):(ja==null?void 0:ja.status)===401&&(document.location.href="/user/login")});break;case"inline-latex":Yr.replaceSelection("`$$"+Tt+"$$`");break;case Qn:case Cr:case Zr:const{src:tn,alt:fn}=Tt,kn=St,Gr=(ur=(Pn=(zt=kn==null?void 0:kn.name)==null?void 0:zt.split("."))==null?void 0:Pn.pop)==null?void 0:ur.call(Pn);return((Rr=kn==null?void 0:kn.type)==null?void 0:Rr.indexOf("image"))>-1||!(kn!=null&&kn.type)?kn.align||kn.width?Yr.replaceSelection(`

${fn||

`):Yr.replaceSelection(`${fn||`):((Fr=kn==null?void 0:kn.type)==null?void 0:Fr.indexOf("video"))>-1?Yr.replaceSelection(``):((or=kn==null?void 0:kn.type)==null?void 0:or.indexOf("pdf"))>-1?Yr.replaceSelection(`${kn.name}`):Lo.includes(Gr)?Yr.replaceSelection(`${kn.name}`):Yr.replaceSelection(`[${kn.name}](${tn})`),Yr.focus();case cr:const{row:nr,col:er,align:Sa}=Tt;let fa=` `;for(let ja=0;ja{switch(pi){case Nn:return le.createElement(mn,{callback:kr,onCancel:ar});case Wr:return le.createElement(en.Z,{callback:kr,onCancel:ar});case Qn:return le.createElement(Et.Z,{callback:kr,onCancel:ar});case qn:return le.createElement(ct,{callback:kr,onCancel:ar});case cr:return le.createElement(Wn,{callback:kr,onCancel:ar});case"maths-latex":return le.createElement(yt,{showSaveButton:!0,callback:kr});case"inline-latex":return le.createElement(Un.Z,{showSaveButton:!0,callback:kr});default:return null}},[pi]);function ar(){ji("")}(0,le.useEffect)(()=>{if(jn.current){let Tt=function(Fr){ur=!0,Rr=Fr.pageY},St=function(){ur=!1},zt=function(Fr){if(ur){let or=Fr.pageY-Rr;or<0&&(or=0),or>300&&(or=300);let dr=Pr+or+"px";Na(dr)}},Pn=jn.current,ur=!1,Rr=0;return Pn.addEventListener("mousedown",Tt),document.addEventListener("mousemove",zt),document.addEventListener("mouseup",St),()=>{Pn.removeEventListener("mousedown",Tt),document.removeEventListener("mousemove",zt),document.removeEventListener("mouseup",St)}}},[Yr,jn]),(0,le.useEffect)(()=>{Na(Pr)},[Pr]);const $n=Bi(vn),hr=Bi(Xo),Nr={width:$n,height:hr},ia=(0,le.useMemo)(()=>{if(os){let Tt=new Date(os),St=Tt.getHours(),zt=Tt.getMinutes(),Pn=Tt.getSeconds();return St=St<10?"0"+St:St,zt=zt<10?"0"+zt:zt,Pn=Pn<10?"0"+Pn:Pn,`${St}:${zt}:${Pn}`}return 0},[os]),na=Tt=>{const St=[];if(Hi){let zt=-1;Tt=Tt.replace(/(@▁▁@|@▁@)/g,function(Pn,ur,Rr){St.push({multiLine:Pn!==ln})})}return St};function Ja(){window.sessionStorage.removeItem(Ho),gA(!1),_s(0)}function so(){gA(!1),_s(0),Yr.setValue(window.sessionStorage.getItem(Ho))}(0,le.useEffect)(()=>{Yi[pi]&&pi!==Cr&&pi!==qn&&setTimeout(()=>{const Tt=document.getElementsByClassName("markdown-popup-form")[0],St=window.innerWidth/2-Tt.offsetWidth/2,zt=window.innerHeight/2-Tt.offsetHeight/2;$s(St),Fo(zt)},0)},[pi]);const Bo=Tt=>{Tt.preventDefault();const St=Tt.clientX-NA,zt=Tt.clientY-FA;document.body.onmousemove=Pn=>{let ur=Pn.clientX-St,Rr=Pn.clientY-zt;const Fr=document.getElementsByClassName("markdown-popup-form")[0],or=window.innerWidth-Fr.offsetWidth,dr=window.innerHeight-Fr.offsetHeight;ur=Math.max(0,Math.min(ur,or)),Rr=Math.max(0,Math.min(Rr,dr)),ua(Pn.clientX,Pn.clientY,St,zt)&&($s(ur),Fo(Rr))},document.body.onmouseup=function(){document.body.onmousemove=null}},ua=(Tt,St,zt,Pn)=>{const ur=document.body.clientHeight,Rr=document.body.clientWidth;return Tt<20&&zt>Tt||Tt>Rr-20&&ztSt||St>ur-20&&Pnot in Ze?Pe(Ze,ot,{enumerable:!0,configurable:!0,writable:!0,value:Te}):Ze[ot]=Te,x=(Ze,ot)=>{for(var Te in ot||(ot={}))a.call(ot,Te)&&E(Ze,Te,ot[Te]);if(y)for(var Te of y(ot))b.call(ot,Te)&&E(Ze,Te,ot[Te]);return Ze},z=(Ze,ot)=>we(Ze,se(ot));const{useForm:ae}=le.default,ce={width:280,marginRight:10},Ee={labelCol:{span:5},wrapperCol:{span:19}};var be=({callback:Ze,onCancel:ot})=>{const[Te]=ae();let wt=(0,Le.useRef)();function Qe(it){wt.current.width=Te.getFieldValue("width"),wt.current.align=Te.getFieldValue("align"),Ze(it,wt.current)}function Ot(it,Ft){if(it.status===-1){ye.ZP.error(it.message);return}Te.setFieldsValue({src:`/api/attachments/${it.id}`,type:Ft.type})}function lt(it){let Ft=it.target.files[0];wt.current=Ft,Ge(Ft,Ot)}return Ie.createElement(le.default,z(x({form:Te},Ee),{className:"upload-image-panel",onFinish:Qe,style:{width:470,overflow:"hidden"}}),Ie.createElement(le.default.Item,{label:"\u56FE\u7247\u5730\u5740",required:!0},Ie.createElement("div",{className:"flex-container"},Ie.createElement(le.default.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5730\u5740"}]},Ie.createElement(Ke.default,{style:ce})),Ie.createElement(De,{onFileChange:lt}))),Ie.createElement(le.default.Item,{label:"\u56FE\u7247\u63CF\u8FF0",name:"alt"},Ie.createElement(Ke.default,{style:{width:264}})),Ie.createElement(le.default.Item,{label:"\u56FE\u7247\u5BBD\u5EA6",name:"width"},Ie.createElement(Je.Z,null,Ie.createElement(le.default.Item,{name:"width",style:{margin:0}},Ie.createElement(ze.Z,{style:{width:264}})),Ie.createElement("span",{className:"ml8"},"%"))),Ie.createElement(le.default.Item,{label:"\u5BF9\u9F50\u65B9\u5F0F",name:"align"},Ie.createElement(Re.ZP.Group,{name:"align",defaultValue:1,options:[{value:"left",label:"\u5DE6\u5BF9\u9F50"},{value:"center",label:"\u5C45\u4E2D\u5BF9\u9F50"},{value:"right",label:"\u53F3\u5BF9\u9F50"}]})),Ie.createElement("aside",null,Ie.createElement(le.default.Item,{style:{textAlign:"right",position:"relative",right:-98}},Ie.createElement(pe.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),Ie.createElement(pe.ZP,{type:"default",onClick:ot},"\u53D6\u6D88"))))};function De({onFileChange:Ze}){return Ie.createElement("label",{className:"upload-button",style:{cursor:"pointer"}},"\u672C\u5730\u4E0A\u4F20",Ie.createElement("input",{type:"file",onChange:Ze}))}function Ge(Ze,ot){if(!Ze)throw new String("\u6CA1\u6709\u6587\u4EF6");if(!(0,ge.bg)())throw ye.ZP.warning("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),new String("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C");let Te=new FormData;Te.append("editormd-image-file",Ze),Te.append("file_param_name","editormd-image-file"),Te.append("byxhr","true");var wt=new window.XMLHttpRequest;wt.withCredentials=!0,wt.addEventListener("load",function(Qe){ot(JSON.parse(Qe.target.responseText),Ze)},!1),wt.addEventListener("error",function(Qe){console.error(Qe)},!1),wt.open("POST",`${ve.KI}/api/attachments.json`),wt.send(Te)}},76621:function(Yt,Nt,de){"use strict";de.d(Nt,{Z:function(){return Ke}});var le=de(67294),ye=de(73935);class Ke extends le.Component{constructor(ze){super(ze);const Re=window.document;this.node=Re.createElement("div"),Re.body.appendChild(this.node)}render(){const{children:ze}=this.props;return(0,ye.createPortal)(ze,this.node)}componentWillUnmount(){window.document.body.removeChild(this.node)}}},5476:function(Yt,Nt,de){"use strict";de.d(Nt,{i:function(){return Ee},Z:function(){return De}});var le={flex_box_center:"flex_box_center___AQ53o",flex_space_between:"flex_space_between___i2aIa",flex_box_vertical_center:"flex_box_vertical_center___sPEKB",flex_box_center_end:"flex_box_center_end___GhSSH",flex_box_column:"flex_box_column___R9_Hb",list:"list___jb2Ay",wrap:"wrap___VsQDr",lockWrap:"lockWrap___g1k1T",li:"li___IxCLC",cover:"cover___Mu8wr",img:"img___IpFLA",movebq:"movebq___mF7wt",bq:"bq___Bil0T",sign:"sign___DXJ4d",name:"name___l7FoJ",e:"e___pXQUG",unit:"unit___wCIFR",tags:"tags___w_Mil",tag1:"tag1___dxm7r",tag2:"tag2___llZkf",wrapisCurrent:"wrapisCurrent___qIfQT"},ye=de(57953),Ke=de(83062),Je=de(38703),ze=de(94184),Re=de.n(ze),pe=de(28706),ve=de(26194),Le=de(52262),ge=de(79005),Ie=de(20345),Pe=de(77882),we=de(31081),se=de(75309),y=de(71979),a=de(47558),b=de(60345),E=de(66832),x=de(96593),z=de(19664),ae=de(91833),ce=de(67294);const Ee=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:ge,swimg:Ie},{name:"101\u8BA1\u5212",ptimg:Pe,swimg:we},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:se,swimg:y},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:a,swimg:b},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:E,swimg:x},{name:"\u519B\u961F\u4E00\u6D41",ptimg:z,swimg:ae}];var De=({className:Ge,dataSource:Ze=[],col:ot=4,right:Te,bottom:wt=23,precision:Qe=0,wrapWidth:Ot=1200,trackEventItems:lt,loading:it,onRemove:Ft=()=>{},isCurrent:gt=!0,showAlias:pt=!1,showProgress:tt=!1})=>{const ut=Math.floor((Ot-(ot-1)*Te)/ot),mn=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:"/images/tjzx.png",swimg:"/images/sw_tjzx.png"},{name:"101\u8BA1\u5212",ptimg:"/images/jh.png",swimg:"/images/sw_jh.png"},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:"/images/gjyl.png",swimg:"/images/sw_gjyl.png"},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:"/images/sjyl.png",swimg:"/images/sw_sjyl.png"},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:"/images/jpkc.png",swimg:"/images/sw_jpkc.png"},{name:"\u519B\u961F\u4E00\u6D41",ptimg:"/images/jdyl.png",swimg:"/images/sw_jdyl.png"},{name:"\u65B0\u578B\u6559\u6750",ptimg:"/images/xxjc.png",swimg:"/images/sw_xxjc.png"}].map(en=>(window.ENV==="build"&&(en.ptimg=`/react/build${en.ptimg}`,en.swimg=`/react/build${en.swimg}`),en));return ce.createElement(ye.Z,{spinning:it},ce.createElement("div",{className:Re()(le.list,Ge)},!!(Ze!=null&&Ze.length)&&(Ze==null?void 0:Ze.map((en,Et)=>{var Cn,Ln,Yn,xn,tr,xt;const{name:Tn,id:ir,identifier:Ye,featured:cn,school_name:Oe,image_url:fe,excellent:me,is_plan:Ue}=en;return ce.createElement("div",{key:ir,className:gt&&tt?le.wrapisCurrent:le.wrap,style:{width:ut,marginRight:(1+Et)%ot===0?0:Te+Qe,marginBottom:wt}},ce.createElement("a",{className:le.li,onClick:qe=>{qe.preventDefault(),qe.stopPropagation(),lt&&(0,pe.L9)([lt]),(0,pe.xg)(`/paths/${Ye}`)}},ce.createElement("div",{className:le.img},ce.createElement("img",{className:le.cover,src:`${fe}`}),gt&&(0,Le.bg)()&&(en==null?void 0:en.studying)&&ce.createElement("div",{className:`${le.movebq} user-path-items`,onClick:qe=>{qe.stopPropagation(),Ft(en)}},ce.createElement("i",{className:"iconfont icon-yichu1 mr5 c-red"}),ce.createElement("span",{className:"c-red"},"\u79FB\u9664")),(Cn=en==null?void 0:en.subject_tags)==null?void 0:Cn.map((qe,ct)=>{var st,an;if(ct===0){const An=(st=mn.find(Wn=>Wn.name==qe))==null?void 0:st.swimg;return ce.createElement("img",{className:le.sign,src:An,style:{left:"-4px"}})}const gn=(an=mn.find(An=>An.name==qe))==null?void 0:an.ptimg;return ce.createElement("img",{className:le.sign,src:gn,style:{left:`${48+52*(ct-1)+2*ct}px`}})}),ce.createElement("div",{style:{position:"absolute",top:"150px",left:"4px"}},(en==null?void 0:en.excellent)&&ce.createElement("div",{className:le.bq},"\u5F00\u653E\u8BFE\u7A0B"))),ce.createElement("div",{className:le.name},ce.createElement(Ke.Z,{title:pt&&(en!=null&&en.excellent_alias_name)?ce.createElement("span",null,`\u8BFE\u7A0B\u539F\u540D\uFF1A${Tn}`,ce.createElement("br",null),ce.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${en==null?void 0:en.excellent_alias_name}`)):Tn},ce.createElement("span",{className:le.e},pt&&(en==null?void 0:en.excellent_alias_name)||Tn))),gt&&tt&&((Ln=en==null?void 0:en.progress)==null?void 0:Ln.all_score)!=0&&ce.createElement("div",{style:{padding:"0px 10px",color:"#333",marginTop:10}},ce.createElement(Je.Z,{strokeColor:"#44d7b6",gap:"small",percent:(((Yn=en==null?void 0:en.progress)==null?void 0:Yn.my_score)/((xn=en==null?void 0:en.progress)==null?void 0:xn.all_score)*100).toFixed(),showInfo:!1}),"\u5DF2\u5B8C\u6210 ",(tr=en==null?void 0:en.progress)==null?void 0:tr.my_score,"/",(xt=en==null?void 0:en.progress)==null?void 0:xt.all_score),(!gt||!tt)&&ce.createElement("div",{className:le.tags},ce.createElement("div",null,ce.createElement(Ke.Z,{placement:"bottom",title:"\u7AE0\u8282\u6570"},ce.createElement("span",null,ce.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),ce.createElement("span",null,en.stages_count))),ce.createElement(Ke.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},ce.createElement("span",null,ce.createElement("i",{className:"iconfont icon-chengyuan font14 mr3"}),ce.createElement("span",null,en.members_count)))))))})),!Ze.length&&ce.createElement(ve.Z,null)))}},80150:function(Yt,Nt,de){"use strict";de.d(Nt,{jL:function(){return ze},w9:function(){return Bi},vv:function(){return vn},dN:function(){return Yi},QD:function(){return gA},cQ:function(){return ct.Z},vg:function(){return ho},Oz:function(){return vr},op:function(){return ji},O5:function(){return hr},_b:function(){return FA},t7:function(){return wt},tT:function(){return lt},Gi:function(){return bs},YG:function(){return Da},Ed:function(){return co},kT:function(){return Ho},qp:function(){return b},Um:function(){return Ee},K3:function(){return z},vr:function(){return IA},qE:function(){return Xo},Je:function(){return gt},wb:function(){return xt},rC:function(){return qe},lB:function(){return Ye},cq:function(){return hs},kO:function(){return Gs},tp:function(){return Ge},Si:function(){return na},k8:function(){return yo},Du:function(){return Pn}});var le=de(67294),ye={flex_box_center:"flex_box_center___NeSU8",flex_space_between:"flex_space_between___ImTGl",flex_box_vertical_center:"flex_box_vertical_center___BtRd9",flex_box_center_end:"flex_box_center_end___qcLe3",flex_box_column:"flex_box_column___Ze_3q",banner:"banner___PoUBO",content:"content___XoDjy",btns:"btns___Pb35j"},Ke="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE4AAAA0CAYAAAAkEw66AAAAAXNSR0IArs4c6QAAGNVJREFUeF7VmwmwHVWdxr9zuvvu9+3ZXsxCiNkIQZOwEzM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2HZMguKhOC4kpPpF8fNgLEjkPzyz/qzjo3zcwKSyqOfy2avePKuNHgwUjEB3j4FbB1R973/3zfsh9ten/+nerk35RM36MPfswdu2qMDoqOY9BO59jhb6zJdbVneyhSMixPpnphR7BSBr3tAf9i2cH45j9k0Dy58Zreitwr0dSRK5J0YbwJDLfo39eWTDrTOebkDeL2+13e5nnPZfrh/UTdmVvOJb6fq6OsIzziK9H8lCI6RldtMcX46ZbDT9V//oJ6fAz4iBI7VMfYp5SBmEFw1uTNcezFcB56YQPv329qHfPXo8n2vF4BX8rsXbdS/WD0L72ZThfA4NrqiLIdlMGSfjtBYn1Nx9HH1wDQ7Nj9v6/zGB3S5HWCvUlFfvWiGWMYFQpQzzXSoAfxlWD1w0X1y33tPEkyy33CPk6/TBx8yF7f05pDjuIrOzuaaVUoExxKT43a5akFCtVys3+Wcwweu1dbHV+LxN3VhPsEx8jANGfOAh4eiL5x0iHPeG47YtAv+9I3xp9f0yIvLDAw6ySIY/ExSnpkqVcels/x/syLgtXHpx9bhlF2CO/tanVuzHHfPqmJVOf0nNdr5SFP7D02Eb/3iEfkdtdsbFeCXbtYfXlDGueU85iKZsjXZklnpyZdpGmgWFcS4pGsQnzvuOBG/4CzXFX/Qp+zZi28pPzkZHeNIS337X2+Qp+IckWajb1RsyXWffqOeN8tRH+rKyWOhsSBnYyYziiCAa0k8EQKb2kF01acPc3akXS8IbsW1Onf6AnVib16ewqWz21vq9qu2yNPeqL7thW7xZ65391jcV1jE/1qKFcaeCfDwOYeK9D83nv32/wHzrWgvjJ8Q7AAAAABJRU5ErkJggg==",ze=({dataSource:wn=[],img:tn,imgWidth:fn=346,title:kn,sunTitle:Gr,bannerExtraContent:nr})=>le.createElement("div",{className:ye.banner},le.createElement("div",{className:ye.content},le.createElement("aside",null,le.createElement("p",null,le.createElement("b",null,kn),le.createElement("span",null,Gr)),wn.length>0&&le.createElement("div",{className:ye.btns},wn.map((er,Sa)=>le.createElement("div",{key:Sa,onClick:er.click},er.name,er.sign?le.createElement("img",{src:Ke,width:39}):null))),nr),tn&&le.createElement("img",{style:{marginTop:33,marginRight:38},src:tn,width:fn}))),Re={flex_box_center:"flex_box_center___hG6RI",flex_space_between:"flex_space_between___ss3Fh",flex_box_vertical_center:"flex_box_vertical_center___K80p9",flex_box_center_end:"flex_box_center_end___qmXX3",flex_box_column:"flex_box_column___GFV8F",row:"row___aXJjm",title:"title___HUKL0",tagsWrap:"tagsWrap___XB2W3",action:"action___VdHb1",bar:"bar___t1kKC",tag:"tag___V7Eft",name:"name___Hk1Ip",num:"num___xQpcH",active:"active___XryTX",tagsBorderWrap:"tagsBorderWrap___OMxjs"},pe=de(94184),ve=de.n(pe),Le=de(96486),ge=Object.defineProperty,Ie=Object.getOwnPropertySymbols,Pe=Object.prototype.hasOwnProperty,we=Object.prototype.propertyIsEnumerable,se=(wn,tn,fn)=>tn in wn?ge(wn,tn,{enumerable:!0,configurable:!0,writable:!0,value:fn}):wn[tn]=fn,y=(wn,tn)=>{for(var fn in tn||(tn={}))Pe.call(tn,fn)&&se(wn,fn,tn[fn]);if(Ie)for(var fn of Ie(tn))we.call(tn,fn)&&se(wn,fn,tn[fn]);return wn},b=({dataSource:wn=[],value:tn,onChange:fn,onTitleChange:kn,className:Gr,title:nr,titleWidth:er=41,style:Sa={},fontColor:fa="#6A7283",showCount:ja,classNameActive:ka,styleItem:Jr={}})=>{const[za,Ro]=(0,le.useState)(0),[dn,on]=(0,le.useState)(!1),xa=(0,le.useRef)(null),ya=(0,le.useRef)(null);return(0,le.useEffect)(()=>{var aa;wn.length!==0&&(((aa=xa==null?void 0:xa.current)==null?void 0:aa.clientHeight)>97?Ro(1):Ro(0)),wn.length===0&&Ro(0),on(!1)},[wn]),le.createElement("div",{className:ve()(Re.row,Gr),style:Sa},le.createElement("div",{onClick:(0,Le.throttle)(()=>kn==null?void 0:kn(),2e3),style:{width:er,marginTop:dn?12:4},className:`${Re.title} ${kn?"current":""}`},nr),le.createElement("div",{className:dn?`${Re.tagsWrap} ${Re.tagsBorderWrap}`:Re.tagsWrap},le.createElement("div",{className:Re.bar,ref:ya,style:za>0?{height:za===1?97:"auto",overflow:za===1?"hidden":"auto",paddingRight:55}:{paddingRight:0}},le.createElement("div",{className:Re.tag,ref:xa},wn==null?void 0:wn.map(aa=>le.createElement("span",{onClick:()=>fn(aa.id),key:aa.id,style:y(y({color:fa},Jr),(aa==null?void 0:aa.style)||{}),className:tn===aa.id?ve()(ka||Re.active,aa.classNameActive):""},le.createElement("span",{title:aa.name,className:Re.name},aa.name),!!ja&&le.createElement("span",{className:Re.num},aa.count))))),!!za&&le.createElement(le.Fragment,null,za===1?le.createElement("div",{onClick:()=>{var aa;Ro(2),((aa=xa==null?void 0:xa.current)==null?void 0:aa.clientHeight)>245?on(!0):on(!1)},className:Re.action},"\u5C55\u5F00",le.createElement("i",{style:{transform:"translateY(1px) scale(0.6)"},className:"iconfont icon-zhankai4"})):le.createElement("div",{onClick:()=>{ya.current.scrollTop=0,Ro(1),on(!1)},className:Re.action},"\u6536\u8D77",le.createElement("i",{style:{transform:"translateY(0px) scale(0.6)"},className:"iconfont icon-shouqi3"})))))},E={flex_box_center:"flex_box_center___HDG9F",flex_space_between:"flex_space_between___KhP6Z",flex_box_vertical_center:"flex_box_vertical_center___ZlFcA",flex_box_center_end:"flex_box_center_end___o7d_z",flex_box_column:"flex_box_column___ULJgZ",row:"row___Skft7",title:"title___KP2uZ",fenge:"fenge___yM8ys",tagsWrap:"tagsWrap___XcmUd",action:"action___y7wAl",bar:"bar___gdtOz",tag:"tag___PL8Db",name:"name___gsqnj",num:"num___sRnLB",active:"active___yNnAU",tagsBorderWrap:"tagsBorderWrap___BKCHD"},z=({dataSource:wn=[],value:tn,onChange:fn,onTitleChange:kn,className:Gr,title:nr,titleWidth:er=41,style:Sa={},fontColor:fa="#6A7283",showCount:ja,expand:ka=!0})=>{const[Jr,za]=(0,le.useState)(0),[Ro,dn]=(0,le.useState)(!1),on=(0,le.useRef)(null),xa=(0,le.useRef)(null),[ya,aa]=(0,le.useState)(ka);return le.createElement("div",{className:ve()(E.row,Gr),style:Sa},le.createElement("div",{className:"flex item-center justify-between"},le.createElement("div",{onClick:(0,Le.throttle)(()=>kn==null?void 0:kn(),2e3),style:{width:er,marginTop:Ro?12:4},className:`${E.title} ${kn?"current":""}`},nr),le.createElement("i",{className:`iconfont ${ya?"icon-yizhankai":"icon-weizhankai"} current`,style:{color:"#727C95",fontSize:ya?8:10},onClick:()=>aa(!ya)})),ya&&le.createElement("div",{className:Ro?`${E.tagsWrap} ${E.tagsBorderWrap}`:E.tagsWrap},le.createElement("div",{className:E.fenge}),le.createElement("div",{className:E.bar,ref:xa},le.createElement("div",{className:E.tag,ref:on},wn==null?void 0:wn.map(Uo=>le.createElement("span",{onClick:()=>fn(Uo.id),key:Uo.id,style:{color:fa},className:tn===Uo.id?E.active:""},le.createElement("span",{title:Uo.name,className:E.name},Uo.name),!!ja&&le.createElement("span",{className:E.num},Uo.count)))))))},ae={flex_box_center:"flex_box_center___kXy2O",flex_space_between:"flex_space_between___EKVqf",flex_box_vertical_center:"flex_box_vertical_center___KJzcw",flex_box_center_end:"flex_box_center_end___V4Nm9",flex_box_column:"flex_box_column___g6Cee",row:"row___pqtGl",title:"title___eewYd",tagsWrap:"tagsWrap___AWV66",action:"action___Toj3O",bar:"bar___NZVtB",tag:"tag___z872k",name:"name___m2dAl",num:"num___EhDNX",active:"active___GSjsu",tagsBorderWrap:"tagsBorderWrap___VoQL3"},Ee=({dataSource:wn=[],value:tn,onChange:fn,onTitleChange:kn,className:Gr,title:nr,titleWidth:er=41,style:Sa={},fontColor:fa="#fff",showCount:ja,expand:ka=!0})=>{const[Jr,za]=(0,le.useState)(0),[Ro,dn]=(0,le.useState)(!1),on=(0,le.useRef)(null),xa=(0,le.useRef)(null),[ya,aa]=(0,le.useState)(ka);return le.createElement("div",{className:ve()(ae.row,Gr),style:Sa},le.createElement("div",{className:"flex item-center justify-between"},le.createElement("div",{onClick:(0,Le.throttle)(()=>kn==null?void 0:kn(),2e3),style:{width:er},className:`${ae.title} ${kn?"current":""}`},nr),le.createElement("i",{className:`iconfont ${ya?"icon-yizhankai":"icon-weizhankai"} current`,style:{color:ya?"#00DDC7":"#037F74",fontSize:ya?10:12},onClick:()=>aa(!ya)})),ya&&le.createElement("div",{className:Ro?`${ae.tagsWrap} ${ae.tagsBorderWrap}`:ae.tagsWrap},le.createElement("div",{className:ae.bar,ref:xa},le.createElement("div",{className:ae.tag,ref:on},wn==null?void 0:wn.map(Uo=>le.createElement("span",{onClick:()=>fn(Uo.id),key:Uo.id,style:{color:fa},className:tn===Uo.id?ae.active:""},le.createElement("span",{title:Uo.name,className:ae.name},Uo.name),!!ja&&le.createElement("span",{className:ae.num},Uo.count)))))))},be={flex_box_center:"flex_box_center___aK2n3",flex_space_between:"flex_space_between___HX0Oh",flex_box_vertical_center:"flex_box_vertical_center___LJOJr",flex_box_center_end:"flex_box_center_end___SCakF",flex_box_column:"flex_box_column___AYv4m",tabs:"tabs___GTqPV",active:"active___F26E8"},Ge=({dataSource:wn=[],value:tn,onChange:fn,className:kn,style:Gr={}})=>le.createElement("div",{style:Gr,className:ve()(be.tabs,kn)},wn.map(nr=>le.createElement("span",{onClick:()=>fn(nr.id),className:tn===nr.id?be.active:"",key:nr.id},nr.name))),Ze={flex_box_center:"flex_box_center___yX6Oa",flex_space_between:"flex_space_between___t7oqF",flex_box_vertical_center:"flex_box_vertical_center___dEIHy",flex_box_center_end:"flex_box_center_end___taQDF",flex_box_column:"flex_box_column___xY_Lr",input:"input___PW2zI",dropdown:"dropdown___vSy8B",menu:"menu___NiyBu",text:"text___Grueu",b1:"b1___ZKryM",b2:"b2___aKyGa"},ot=de(69677),wt=({dataSource:wn=[],value:tn="",onChange:fn,onInputChange:kn=()=>{},className:Gr,style:nr={},placeholder:er,allowClear:Sa=!1})=>{var fa;const[ja,ka]=(0,le.useState)(""),[Jr,za]=(0,le.useState)("");(0,le.useEffect)(()=>{var on;let xa=tn;(on=JSON.stringify(tn))!=null&&on.includes("{")&&(ka(tn.id),xa=tn.value||"");try{za(decodeURIComponent(xa||""))}catch(ya){za(decodeURIComponent(xa||""))}},[tn]);const Ro=()=>{fn(encodeURIComponent(Jr),ja||null)},dn=on=>{on!==ja&&(ka(on),fn(encodeURIComponent(Jr),on))};return le.createElement("div",{className:ve()(Ze.input,Gr),style:nr},!!wn.length&&le.createElement("div",{className:Ze.dropdown},le.createElement("div",{className:Ze.text},(fa=wn.find(on=>on.id===ja))==null?void 0:fa.name,le.createElement("i",{className:"iconfont icon-zhankai4"}),le.createElement("b",{className:Ze.b1}),le.createElement("b",{className:Ze.b2})),le.createElement("div",{className:Ze.menu},wn.map((on,xa)=>le.createElement("div",{key:xa,onClick:()=>dn(on.id)},on.name)))),le.createElement(ot.default,{onPressEnter:Ro,value:Jr,onChange:on=>{za(on.target.value),kn(encodeURIComponent(on.target.value),ja||null)},bordered:!1,placeholder:er}),le.createElement("i",{onClick:Ro,className:"iconfont icon-sousuo9 font14 pl10 current"}))},Qe={flex_box_center:"flex_box_center___pVsOk",flex_space_between:"flex_space_between___bQwBe",flex_box_vertical_center:"flex_box_vertical_center___gdKht",flex_box_center_end:"flex_box_center_end___wJuEm",flex_box_column:"flex_box_column___F50s0",input:"input___f7GZE",dropdown:"dropdown___oJkxW",menu:"menu___RplGU",text:"text___EgRKl"},lt=({dataSource:wn=[],value:tn="",onChange:fn,onInputChange:kn=()=>{},className:Gr,style:nr={},placeholder:er,allowClear:Sa=!1})=>{var fa;const[ja,ka]=(0,le.useState)(""),[Jr,za]=(0,le.useState)("");(0,le.useEffect)(()=>{var on;let xa=tn;(on=JSON.stringify(tn))!=null&&on.includes("{")&&(ka(tn.id),xa=tn.value||"");try{za(decodeURIComponent(xa||""))}catch(ya){za(decodeURIComponent(xa||""))}},[tn]);const Ro=()=>{fn(encodeURIComponent(Jr),ja||null)},dn=on=>{on!==ja&&(ka(on),fn(encodeURIComponent(Jr),on))};return le.createElement("div",{className:ve()(Qe.input,Gr),style:nr},!!wn.length&&le.createElement("div",{className:Qe.dropdown},le.createElement("div",{className:Qe.text},(fa=wn.find(on=>on.id===ja))==null?void 0:fa.name,le.createElement("i",{className:"iconfont icon-zhankai4 ml5"})),le.createElement("div",{className:Qe.menu},wn.map((on,xa)=>le.createElement("div",{key:xa,onClick:()=>dn(on.id)},on.name)))),le.createElement(ot.default,{onPressEnter:Ro,value:Jr,onChange:on=>{za(on.target.value),kn(encodeURIComponent(on.target.value),ja||null)},bordered:!1,placeholder:er}),le.createElement("i",{onClick:Ro,className:"iconfont icon-sousuo9 font14 pl10 current"}))},it={flex_box_center:"flex_box_center___tol8o",flex_space_between:"flex_space_between___Z235C",flex_box_vertical_center:"flex_box_vertical_center___Wq1sZ",flex_box_center_end:"flex_box_center_end___LLxom",flex_box_column:"flex_box_column___DbMSN",quickPager:"quickPager___GM30J",disabled:"disabled___Ozc8I"},gt=({value:wn,onChange:tn,className:fn,total:kn,pageSize:Gr,style:nr={}})=>{const er=wn<2,Sa=wn>=Math.ceil(kn/Gr);return kn<=Gr?le.createElement(le.Fragment,null):le.createElement("div",{className:ve()(it.quickPager,fn),style:nr},le.createElement("div",{onClick:()=>{er||tn(wn-1,"prev")},className:er?it.disabled:""},"\u4E0A\u4E00\u9875"),le.createElement("div",{onClick:()=>{Sa||tn(wn+1,"next")},className:Sa?it.disabled:""},"\u4E0B\u4E00\u9875"))},pt={flex_box_center:"flex_box_center___FO7TP",flex_space_between:"flex_space_between___LotYx",flex_box_vertical_center:"flex_box_vertical_center___bWdaw",flex_box_center_end:"flex_box_center_end___mVJ1o",flex_box_column:"flex_box_column___M83Mm",list:"list___oOsiS",wrap:"wrap___G6T7F",lockWrap:"lockWrap___Rl79E",li:"li___oZZ7l",cover:"cover___b2bYW",img:"img___IQX7w",sign:"sign___HkT6C",name:"name___SsJx8",e:"e___TMqq0",tags:"tags___bcjyo",rate:"rate___YACg7"},tt=de(57953),ut=de(83062),mn=de(12604),en=de(11320),Et=de(28706),Cn=de(96908),Ln=de(57177),Yn=de(81378),xn=de(26194),xt=({className:wn,dataSource:tn=[],col:fn=4,right:kn,bottom:Gr=23,precision:nr=0,wrapWidth:er=1200,trackEventItems:Sa,loading:fa})=>{const ja=Math.floor((er-(fn-1)*kn)/fn);return le.createElement(tt.Z,{spinning:fa},le.createElement("div",{className:ve()(pt.list,wn)},!!tn.length&&tn.map((ka,Jr)=>{const{name:za,id:Ro,identifier:dn,power:on,cover_image_id:xa,pic:ya}=ka;return le.createElement("div",{className:pt.wrap,key:Ro,style:{width:ja,marginRight:(1+Jr)%fn===0?0:kn+nr,marginBottom:Gr}},le.createElement("a",{target:"_blank",href:`/shixuns/${dn}/challenges`,className:pt.li,onClick:aa=>{aa.preventDefault(),Sa&&(0,Et.L9)([Sa]),on&&(0,Et.xg)(`/shixuns/${dn}/challenges`)}},le.createElement("div",{className:pt.img},le.createElement("img",{className:pt.cover,src:`${ya}`}),ka.is_jupyter&&le.createElement("img",{className:pt.sign,src:Cn}),ka.is_jupyter_lab&&le.createElement("img",{className:pt.sign,src:Ln}),ka.is_unity_3d&&le.createElement("img",{className:pt.sign,src:Yn})),le.createElement("div",{className:pt.name},le.createElement(ut.Z,{title:za||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},le.createElement("span",{className:pt.e},za||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),le.createElement("div",{className:pt.tags},le.createElement(ut.Z,{placement:"bottom",title:"\u5173\u5361\u6570"},le.createElement("span",null,le.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),le.createElement("span",null,ka.challenges_count))),!!ka.myshixuns_count&&le.createElement(ut.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},le.createElement("span",null,le.createElement("i",{className:"iconfont icon-chengyuan font14 mr2"}),le.createElement("span",null,ka.myshixuns_count))),le.createElement(ut.Z,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},le.createElement("span",null,le.createElement("span",null,ka.level))),le.createElement("div",{className:pt.rate},le.createElement(mn.Z,{allowHalf:!0,disabled:!0,defaultValue:ka.score_info}),le.createElement("span",null,"\xA0",ka.score_info?`${ka.score_info}\u5206`:"5\u5206")))),!on&&le.createElement("div",{className:pt.lockWrap},le.createElement("img",{src:`${en.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),le.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!tn.length&&le.createElement(xn.Z,null)))},Tn={flex_box_center:"flex_box_center___KD0ZB",flex_space_between:"flex_space_between___rMep5",flex_box_vertical_center:"flex_box_vertical_center___jD3Po",flex_box_center_end:"flex_box_center_end___RbohB",flex_box_column:"flex_box_column___GmzUj",list:"list___dlUtq",wrap:"wrap___LYbIZ",lockWrap:"lockWrap___U7Ajb",li:"li___bsnqy",img:"img___yQ3UM",cover:"cover___KP0L8",bq:"bq___DtmL1",sign:"sign___TZ9Wq",titleBg:"titleBg___tnX0O",name:"name___OGYeq",e:"e___zxiB9",text:"text____ZmZX",value:"value___WPLok",rate:"rate___iOr7E"},Ye=({className:wn,dataSource:tn=[],col:fn=4,right:kn,bottom:Gr=23,precision:nr=0,wrapWidth:er=1200,wrapClassName:Sa,trackEventItems:fa,loading:ja})=>{const ka=Math.floor((er-(fn-1)*kn)/fn);return le.createElement(tt.Z,{spinning:ja},le.createElement("div",{className:ve()(Tn.list,wn)},!!tn.length&&tn.map((Jr,za)=>{const{name:Ro,id:dn,identifier:on,power:xa,cover_image_id:ya,pic:aa}=Jr;return le.createElement("div",{className:ve()(Tn.wrap,Sa),key:dn,style:{width:ka,marginRight:(1+za)%fn===0?0:kn+nr,marginBottom:Gr}},le.createElement("a",{target:"_blank",href:`/shixuns/${on}/challenges`,className:Tn.li,onClick:Uo=>{Uo.preventDefault(),fa&&(0,Et.L9)([fa]),xa&&(0,Et.xg)(`/shixuns/${on}/challenges`)}},le.createElement("img",{src:de(79633),className:Tn.titleBg}),le.createElement("div",{className:Tn.name},le.createElement(ut.Z,{title:Ro||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},le.createElement("span",{className:Tn.e},Ro||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),le.createElement("div",{style:{padding:"14px",paddingBottom:0}},le.createElement("div",{className:Tn.img},le.createElement("img",{className:Tn.cover,src:ya?`${en.Z.API_SERVER}/api/attachments/${ya}`:`${en.Z.IMG_SERVER+aa}`}),Jr.is_jupyter&&le.createElement("div",{className:Tn.bq},"Jupyter"),Jr.is_jupyter_lab&&le.createElement("div",{className:Tn.bq},"JupyterLab"),Jr.is_unity_3d&&le.createElement("div",{className:Tn.bq,style:{background:"linear-gradient(rgba(90, 167, 237, 0.8) 0%, rgba(79, 29, 189, 0.8) 100%)"}},"\u865A\u62DF\u4EFF\u771F")),le.createElement("div",{className:"mt20 flex item-center justify-between"},le.createElement("div",null,le.createElement("span",{className:Tn.text},"\u5B66\u4E60\u4EBA\u6570"),le.createElement("span",{className:Tn.value},Jr.myshixuns_count)),le.createElement("div",null,le.createElement("span",{className:Tn.text},"\u56F0\u96BE\u7B49\u7EA7"),le.createElement("span",{className:Tn.value},Jr.level))),le.createElement("div",{className:"mt10 mb10 flex item-center justify-between"},le.createElement("div",null,le.createElement("span",{className:Tn.text},"\u5173\u5361\u6570"),le.createElement("span",{className:Tn.value},Jr.challenges_count)),le.createElement("div",{className:Tn.rate},le.createElement(mn.Z,{allowHalf:!0,disabled:!0,defaultValue:Jr.score_info}),le.createElement("span",{className:Tn.value,style:{color:"#FF9C00"}},"\xA0",Jr.score_info?`${Jr.score_info}\u5206`:"5\u5206"))))),!xa&&le.createElement("div",{className:Tn.lockWrap},le.createElement("img",{src:`${en.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),le.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!tn.length&&le.createElement(xn.Z,null)))},cn={flex_box_center:"flex_box_center___MoMqv",flex_space_between:"flex_space_between___G_1Pa",flex_box_vertical_center:"flex_box_vertical_center___vHNpc",flex_box_center_end:"flex_box_center_end___dt_Dx",flex_box_column:"flex_box_column___gK3h_",list:"list___GYKT6",wrap:"wrap___uLNQf",lockWrap:"lockWrap___lZQo7",li:"li___X7Rkc",img:"img___bih4x",cover:"cover___UiMEf",sign:"sign___WPSew",name:"name___ZLjiX",e:"e___tB29O",tags:"tags___a3FKn",rate:"rate___dh30H"},Oe="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKQAAAA8CAYAAADogBFvAAAAAXNSR0IArs4c6QAADzxJREFUeF7tnQl4VcUVx3/3JSEBARFEFllcQAMJuKDUD7FqtVbFtUqtS6ufS1soxaW1Si0KBaFVWy2ittqqdQ9xpYq4tLgVFWUThYQlJIEkkJXs63u333lzL+/mrfeF9/KSeM/35Xv3zZw5c+bM/83MOTN3ouGQY4EuZAGtC+niqOJYAAeQDgi6lAU0fUayHqCR5gJXEriS/T6TICkZNOMzIN/gFx7/8vvLiFxDtpfP4G2Xb5Ej6SaPKddav6mPtb5g9e/PF9nSvmTVlpD1S36Sr63WOj1ukD/d+PR+b1NpAekmj5Gve8Dd5lc2ivK4G2lzV4K7Eo/8eSrQ3ZW424rw6J/ST1utTb2jtkuhLAplwgDS7BDj09txdgFqgsjCbwVOKMCYAPH+IAzABIDf8qPYz+OygMus0+8HFQDmYDpaypj1mp+m/qKbgMoKQO+zxwIyCzhNPhOIQQFrAas/uK3l5dlt/SEY9bbn0ZsrS1obynfXNJQXFTeUbPugua5utQZrM7PZHgU2EsIaHJAJUcWp1JYFklKgVx/fX0oqpPSBgw6BASOh/xAlxgC+u6WJqh0bqdi2nrb66gI0sjQXL2W8xHpb9XUykwPITjZ43KuTpcnBw2HA4TBwFBw81Dt66+42aoq2U7FjAw0Ve8R52Kx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Pzcw4Gv8iZ4mnNtBQp0l9BlcHzFAAeu0h8B48V+JdQjQri2D57a/VyBBkMNanSOw1WNCt0bSUh82FZXHgD3cwM81VxbAT10yNWlQm+6vceupKuTQTJ7J7ZYGZE9AHZtHzy1XViBSn0B1Hpnr5jlziZh642WV7V6AOzCBniqurYCnWhDodZ2upGtliXA9l3Y9r75dx4Au7YHntourkChLhOdDjxzPV1wKl8oxpn/Fp0HwC5ugKe6ayvQbGhAuc75SwY5cB8lIfFeoVcPgF1bf09tl1fAgDxdut0wS+supIt2Y8v3zELxqSz7ajsnXZ6Sp4F/rRVoMFShRmf/yq3eK8JljcSE6dsxu9sD4H8trAzK2eqgQ54uDXohPdyJUXLgnkxC4sseADuxWJ4i7l+Ban0JGvW2U+9t9c4B7QZIJ3oA7P698fTgxAo0GepRobN/qaFlMxy4/f8E90wA8RE2tUgAAAAASUVORK5CYII=",qe=({className:wn,dataSource:tn=[],col:fn=4,right:kn,bottom:Gr=23,precision:nr=0,wrapWidth:er=1200,trackEventItems:Sa,loading:fa,wrapClassName:ja,imgClassName:ka})=>{const Jr=Math.floor((er-(fn-1)*kn)/fn);return le.createElement(tt.Z,{spinning:fa},le.createElement("div",{className:ve()(cn.list,wn)},!!tn.length&&tn.map((za,Ro)=>{const{name:dn,id:on,identifier:xa,power:ya,cover_image_id:aa,pic:Uo}=za;return le.createElement("div",{className:ve()(cn.wrap,ja),key:on,style:{width:Jr,marginRight:(1+Ro)%fn===0?0:kn+nr,marginBottom:Gr}},le.createElement("a",{target:"_blank",href:`/shixuns/${xa}/challenges`,className:cn.li,onClick:Io=>{Io.preventDefault(),Sa&&(0,Et.L9)([Sa]),ya&&(0,Et.xg)(`/shixuns/${xa}/challenges`)}},le.createElement("div",{className:ve()(cn.img,ka)},le.createElement("img",{className:cn.cover,src:aa?`${en.Z.API_SERVER}/api/attachments/${aa}`:`${en.Z.IMG_SERVER+Uo}`}),za.is_jupyter&&le.createElement("img",{className:cn.sign,src:Oe}),za.is_jupyter_lab&&le.createElement("img",{className:cn.sign,src:fe}),za.is_unity_3d&&le.createElement("img",{className:cn.sign,src:me})),le.createElement("div",{className:cn.name},le.createElement(ut.Z,{title:dn||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},le.createElement("span",{className:cn.e},dn||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),le.createElement("div",{className:cn.tags},le.createElement(ut.Z,{placement:"bottom",title:"\u5173\u5361\u6570"},le.createElement("span",null,le.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),le.createElement("span",null,za.challenges_count))),!!za.myshixuns_count&&le.createElement(ut.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},le.createElement("span",null,le.createElement("i",{className:"iconfont icon-chengyuan font14 mr2"}),le.createElement("span",null,za.myshixuns_count))),le.createElement(ut.Z,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},le.createElement("span",null,le.createElement("span",null,za.level))),le.createElement("div",{className:cn.rate},le.createElement(mn.Z,{allowHalf:!0,disabled:!0,defaultValue:za.score_info}),le.createElement("span",null,"\xA0",za.score_info?`${za.score_info}\u5206`:"5\u5206")))),!ya&&le.createElement("div",{className:cn.lockWrap},le.createElement("img",{src:`${en.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),le.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!tn.length&&le.createElement(xn.Z,null)))},ct=de(5476),st={flex_box_center:"flex_box_center___vu9yi",flex_space_between:"flex_space_between___LwoH7",flex_box_vertical_center:"flex_box_vertical_center___pUG0J",flex_box_center_end:"flex_box_center_end___xWI9t",flex_box_column:"flex_box_column___Mr5rB",list:"list___zE1wj",wrap:"wrap___5HG1h",lockWrap:"lockWrap___zziwX",li:"li___aNI2z",img:"img___adfIp",cover:"cover___G1cj9",bq:"bq___hpdTt",sign:"sign___kHAha",titleBg:"titleBg___S1VlI",name:"name___zsjxM",e:"e___fd1jW",text:"text___b9Tdy",value:"value___ZASRv",unit:"unit___sMNBQ",tags:"tags___KbL1d",tag1:"tag1___c9ebE",tag2:"tag2___bxczv"},an=de(79005),gn=de(20345),An=de(77882),Wn=de(31081),Bt=de(75309),Kt=de(71979),Wt=de(47558),bn=de(60345),yt=de(66832),Un=de(96593),kt=de(19664),Jt=de(91833),Nn=Object.defineProperty,Qn=Object.getOwnPropertySymbols,qn=Object.prototype.hasOwnProperty,Cr=Object.prototype.propertyIsEnumerable,Zr=(wn,tn,fn)=>tn in wn?Nn(wn,tn,{enumerable:!0,configurable:!0,writable:!0,value:fn}):wn[tn]=fn,Wr=(wn,tn)=>{for(var fn in tn||(tn={}))qn.call(tn,fn)&&Zr(wn,fn,tn[fn]);if(Qn)for(var fn of Qn(tn))Cr.call(tn,fn)&&Zr(wn,fn,tn[fn]);return wn};const cr=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:an,swimg:gn},{name:"101\u8BA1\u5212",ptimg:An,swimg:Wn},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:Bt,swimg:Kt},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:Wt,swimg:bn},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:yt,swimg:Un},{name:"\u519B\u961F\u4E00\u6D41",ptimg:kt,swimg:Jt}];var vr=({className:wn,dataSource:tn=[],col:fn=4,right:kn,bottom:Gr=23,precision:nr=0,wrapWidth:er=1200,trackEventItems:Sa,loading:fa,wrapClassName:ja,imgClassName:ka,isArrow:Jr=!1,imgStyle:za={}})=>{const Ro=Math.floor((er-(fn-1)*kn)/fn),[dn,on]=(0,le.useState)(),[xa,ya]=(0,le.useState)(),aa=Io=>on(Io),Uo=()=>on(-1);return le.createElement(tt.Z,{spinning:fa},le.createElement("div",{className:ve()(st.list,wn)},!!(tn!=null&&tn.length)&&(tn==null?void 0:tn.map((Io,Go)=>{var ri;const{name:qi,id:xA,identifier:mi,featured:Oi,school_name:Oa,image_url:lo,excellent:Si,is_plan:Ei}=Io;return le.createElement("div",{key:xA,className:ve()(st.wrap,ja),style:{width:Ro,marginRight:(1+Go)%fn===0?0:kn+nr,marginBottom:Gr}},le.createElement("a",{target:"_blank",href:`/paths/${mi}`,className:st.li,onClick:ki=>{ki.preventDefault(),Sa&&(0,Et.L9)([Sa]),(0,Et.xg)(`/paths/${mi}`)}},le.createElement("img",{src:de(39057),className:st.titleBg}),le.createElement("div",{className:st.name},le.createElement(ut.Z,{title:qi},le.createElement("span",{className:st.e,style:{color:Jr&&dn===Go?"#145DFF":"#000000"},onMouseEnter:()=>{aa(Go)},onMouseLeave:Uo},qi))),le.createElement("div",{style:{padding:"14px",paddingBottom:0}},le.createElement("div",{className:ve()(st.img,ka)},le.createElement("img",{className:st.cover,style:Wr({},za),src:`${en.Z.IMG_SERVER+lo}`}),(ri=Io==null?void 0:Io.subject_tags)==null?void 0:ri.map((ki,To)=>{var Is,tA;if(To===0){const ps=(Is=cr.find(YA=>YA.name==ki))==null?void 0:Is.swimg;return le.createElement("img",{className:st.sign,src:ps,style:{left:"-4px"}})}const nA=(tA=cr.find(ps=>ps.name==ki))==null?void 0:tA.ptimg;return le.createElement("img",{className:st.sign,src:nA,style:{left:`${48+52*(To-1)+2*To}px`}})}),le.createElement("div",{style:{position:"absolute",right:"4px",bottom:"4px"}},(Io==null?void 0:Io.excellent)&&le.createElement("div",{className:st.bq},"\u5F00\u653E\u8BFE\u7A0B"))),le.createElement("div",{className:"mt10 mb10 flex item-center justify-between"},le.createElement("div",null,le.createElement("span",{className:st.text},"\u7AE0\u8282\u6570"),le.createElement("span",{className:st.value},Io.stages_count)),le.createElement("div",null,le.createElement("span",{className:st.text},"\u5B66\u4E60\u4EBA\u6570"),le.createElement("span",{className:st.value},Io.members_count))))))})),!tn.length&&le.createElement(xn.Z,null)))},jr={flex_box_center:"flex_box_center___o6B0Z",flex_space_between:"flex_space_between___Uz22Q",flex_box_vertical_center:"flex_box_vertical_center___nWLOj",flex_box_center_end:"flex_box_center_end___eqMdD",flex_box_column:"flex_box_column___ypdJv",list:"list___qA19p",wrap:"wrap___YaRtD",lockWrap:"lockWrap___Cle7R",li:"li___Hpfsl",img:"img___li1Ky",cover:"cover___iuyl5",bq:"bq___BpHtR",sign:"sign___ajRAC",titleBg:"titleBg___h8Qq7",name:"name___mAV5m",e:"e___YPSD7",text:"text___nDpTk",value:"value___guywy",unit:"unit___aTzYz",tags:"tags___X1lul",tag1:"tag1___AHRAc",tag2:"tag2___Pska6"},Aa=de(52262),ca=de(67294);const bo=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:an,swimg:gn},{name:"101\u8BA1\u5212",ptimg:An,swimg:Wn},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:Bt,swimg:Kt},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:Wt,swimg:bn},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:yt,swimg:Un},{name:"\u519B\u961F\u4E00\u6D41",ptimg:kt,swimg:Jt}];var ho=({className:wn,dataSource:tn=[],col:fn=4,right:kn,bottom:Gr=23,precision:nr=0,wrapWidth:er=1200,trackEventItems:Sa,loading:fa,onRemove:ja=()=>{},isCurrent:ka=!0,showAlias:Jr=!1,wrapClassName:za,imgClassName:Ro})=>{const dn=Math.floor((er-(fn-1)*kn)/fn),on=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:"/images/tjzx.png",swimg:"/images/sw_tjzx.png"},{name:"101\u8BA1\u5212",ptimg:"/images/jh.png",swimg:"/images/sw_jh.png"},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:"/images/gjyl.png",swimg:"/images/sw_gjyl.png"},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:"/images/sjyl.png",swimg:"/images/sw_sjyl.png"},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:"/images/jpkc.png",swimg:"/images/sw_jpkc.png"},{name:"\u519B\u961F\u4E00\u6D41",ptimg:"/images/jdyl.png",swimg:"/images/sw_jdyl.png"},{name:"\u65B0\u578B\u6559\u6750",ptimg:"/images/xxjc.png",swimg:"/images/sw_xxjc.png"}].map(xa=>(window.ENV==="build"&&(xa.ptimg=`/react/build${xa.ptimg}`,xa.swimg=`/react/build${xa.swimg}`),xa));return ca.createElement(tt.Z,{spinning:fa},ca.createElement("div",{className:ve()(jr.list,wn)},!!(tn!=null&&tn.length)&&(tn==null?void 0:tn.map((xa,ya)=>{var aa;const{name:Uo,id:Io,identifier:Go,featured:ri,school_name:qi,image_url:xA,excellent:mi,is_plan:Oi}=xa;return ca.createElement("div",{key:Io,className:ve()(jr.wrap,za),style:{width:dn,marginRight:(1+ya)%fn===0?0:kn+nr,marginBottom:Gr}},ca.createElement("a",{className:jr.li,onClick:Oa=>{Oa.preventDefault(),Oa.stopPropagation(),Sa&&(0,Et.L9)([Sa]),(0,Et.xg)(`/paths/${Go}`)}},ca.createElement("div",{className:ve()(jr.img,Ro)},ca.createElement("img",{className:jr.cover,src:`${en.Z.IMG_SERVER+xA}`}),ka&&(0,Aa.bg)()&&(xa==null?void 0:xa.studying)&&ca.createElement("div",{className:`${jr.movebq} user-path-items`,onClick:Oa=>{Oa.stopPropagation(),ja(xa)}},ca.createElement("i",{className:"iconfont icon-yichu1 mr5 c-red"}),ca.createElement("span",{className:"c-red"},"\u79FB\u9664")),(aa=xa==null?void 0:xa.subject_tags)==null?void 0:aa.map((Oa,lo)=>{var Si,Ei;if(lo===0){const To=(Si=on.find(Is=>Is.name==Oa))==null?void 0:Si.swimg;return ca.createElement("img",{className:jr.sign,src:To,style:{left:"-4px"}})}const ki=(Ei=on.find(To=>To.name==Oa))==null?void 0:Ei.ptimg;return ca.createElement("img",{className:jr.sign,src:ki,style:{left:`${48+52*(lo-1)+2*lo}px`}})}),ca.createElement("div",{style:{position:"absolute",bottom:"10px",right:"10px"}},(xa==null?void 0:xa.excellent)&&ca.createElement("div",{className:jr.bq},"\u5F00\u653E\u8BFE\u7A0B"))),ca.createElement("div",{className:jr.name},ca.createElement(ut.Z,{title:Jr&&(xa!=null&&xa.excellent_alias_name)?ca.createElement("span",null,`\u8BFE\u7A0B\u539F\u540D\uFF1A${Uo}`,ca.createElement("br",null),ca.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${xa==null?void 0:xa.excellent_alias_name}`)):Uo},ca.createElement("span",{className:jr.e},Jr&&(xa==null?void 0:xa.excellent_alias_name)||Uo))),ca.createElement("div",{className:jr.tags},ca.createElement("div",null,ca.createElement(ut.Z,{placement:"bottom",title:"\u7AE0\u8282\u6570"},ca.createElement("span",null,ca.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),ca.createElement("span",null,xa.stages_count))),ca.createElement(ut.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},ca.createElement("span",null,ca.createElement("i",{className:"iconfont icon-chengyuan font14 mr3"}),ca.createElement("span",null,xa.members_count)))))))})),!tn.length&&ca.createElement(xn.Z,null)))},da={flex_box_center:"flex_box_center___eMcr7",flex_space_between:"flex_space_between___HcNca",flex_box_vertical_center:"flex_box_vertical_center___ZnvVN",flex_box_center_end:"flex_box_center_end___fdgDf",flex_box_column:"flex_box_column___SEKvd",list:"list___L1hmU",wrap:"wrap___pKgcW",lockWrap:"lockWrap___SMhkK",top:"top___udHSB",sign:"sign___uwRpq",name:"name___Fpf90",img:"img___AMLhL",text:"text___KiTb7",btns:"btns___i6IuZ",bottom:"bottom____k2sh"},ln="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JKmEQPILClJZfpEfIUAChFQSHIJxnGDiDYwsb8KRLUuWZcmSxqN9pJF6nV7eSZ373u1509Mzvd2eGVt6VV2z9Ht3+9459+yX8Bq4mDmWK2GLqla3MvFWZt4KpjVM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className:wn,dataSource:tn=[],col:fn=4,right:kn,bottom:Gr=23,precision:nr=0,wrapWidth:er=1200,trackEventItems:Sa,loading:fa})=>{const ja=Math.floor((er-(fn-1)*kn)/fn);return ga.createElement(tt.Z,{spinning:fa},ga.createElement("div",{className:ve()(da.list,wn)},!!tn.length&&tn.map((ka,Jr)=>{const{subject_identifier:za,id:Ro,identifier:dn,power:on}=ka,xa=ka.is_public!=0&&ka.is_public;return ga.createElement("div",{className:da.wrap,key:Ro,style:{width:ja,marginRight:(1+Jr)%fn===0?0:kn+nr,marginBottom:Gr}},ga.createElement("a",{className:da.li,onClick:ya=>{ya.preventDefault(),Sa&&(0,Et.L9)([Sa]),(0,Et.xg)(ka.first_category_url)}},ga.createElement("div",{className:da.top},ga.createElement(ut.Z,{title:ka.name},ga.createElement("div",{className:da.name},ka.name)),ga.createElement("img",{className:da.img,src:en.Z.IMG_SERVER+"/images/"+ka.avatar_url}),ga.createElement("div",{className:da.text,title:ka.creator},ka.creator),za&&ga.createElement("div",{className:da.btns},ga.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),ga.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802")),xa&&ga.createElement("div",{className:da.sign},"\u516C\u5F00")),ga.createElement("div",{className:da.bottom},ka.visits>0&&ga.createElement(ut.Z,{title:"\u8BBF\u95EE\u91CF",placement:"bottom"},ga.createElement("span",null,ga.createElement("i",{className:"iconfont icon-liulanyan"}),ga.createElement("span",null,ka.visits))),ka.course_members_count>0&&ga.createElement(ut.Z,{title:"\u6210\u5458",placement:"bottom"},ga.createElement("span",null,ga.createElement("i",{className:"iconfont icon-chengyuan"}),ka.course_members_count)),ka.tasks_count>0&&ga.createElement(ut.Z,{title:"\u4F5C\u4E1A",placement:"bottom"},ga.createElement("span",null,ga.createElement("i",{className:"iconfont icon-zuoye"}),ka.tasks_count)),ka.is_end?ga.createElement("div",{style:{color:"#6B758B"}},"\u5DF2\u7ED3\u675F"):ga.createElement("div",{style:{color:"#00B187"}},"\u8FDB\u884C\u4E2D"))),!ka.is_accessible&&ga.createElement("div",{className:da.lockWrap},ga.createElement("img",{src:`${en.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),ga.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!tn.length&&ga.createElement(xn.Z,null)))},_a={flex_box_center:"flex_box_center___PuarE",flex_space_between:"flex_space_between___q4lAa",flex_box_vertical_center:"flex_box_vertical_center___wsb8w",flex_box_center_end:"flex_box_center_end___H781P",flex_box_column:"flex_box_column___bHK1y",list:"list___e2XDo",wrap:"wrap___cz7sh",lockWrap:"lockWrap___EPuRr",creator:"creator___Y6Xjp",img:"img___kSEud",text:"text___GIlhY",top:"top___K4GCD",sign:"sign___KCjEP",name:"name___z3U4d",middle:"middle___LeUM5",row:"row___VBzfJ",value:"value___qigWu",btns:"btns___kGysm",bottom:"bottom___yPYd5",warpStyle:"warpStyle___pH3uC"},Po="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JKmEQPILClJZfpEfIUAChFQSHIJxnGDiDYwsb8KRLUuWZcmSxqN9pJF6nV7eSZ373u1509Mzvd2eGVt6VV2z9Ht3+9459+yX8Bq4mDmWK2GLqla3MvFWZt4KpjVMSBNzGoQ0M6WJkJbpMiNDxBkwMkyUIUYGxCeJaB8x7fMcZ18yiv1EVHy1Lw+9GicwO8tXlSrlbSB6O4HfANAmZlY250JEHsBHGLQTzA9H3chDfX2012Yfy9HWqwJgZh7NF6vvY/a2gWkbgyeWY3Hq+yDQcRA/RKQeSsSce4jo9EqMo50+Vy3AzNxXKFTv9MAfB/AuZo60M7Fe30tEZQA/UqBvx+POvUQ02+s+O2l/1QGcy5Xe6Cn1SXj8YYAHO5nU8j9DM1D0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CbPbnK9F8XBa9OQRYrFb+nmz23vmerABvpulwt339RhWoPZFGFIk7k9k6l5cV6sw6w0ZOrqHzvojGkRZCJdjhwP9iJntush54ALJ2KwJUrVL4M4A9frbbrZovX7fdiWwbwN8m4+7l2LVSt9t0zgM0AxEHhVflbF/flBbvjtHLot9pxHLQK6jxdupOH2n1GuxpR+S6Yb2332dfk/USPOnA/2qrLr5s16DkFm8EJm84Xq5/wPP7LC5eaaVop+pNEzPlmwJ67wa6lZ5cN4BDQw9l8+StEdNeFsjcLmMz89VQi8qdEdKYlZCzdtOwAm3EHIblfZeabLc1lVTYjccsK/NlEIvrESgxwxQAOCWHv9jz+Aph/cSUWoGd9Ej2mFH3RlkWq03GuOMBm4JLwRh4+z+DbOp3ManhOsvxY4UvpeOSR1TGe1TCK0BiC/OS7APoQwKHqHKtsoPOGQzMA/7sCvp5MRp9aTSNdNRRcvyhSTqJQqN7pgT8O4F3MvArC3uZGKdVsAPxIgb4djzv3EtHsagLWjGXVAhxeLCnxlC9W38fsbQPTNgZPrMRiSgU5ED9EpB5KxJx7iKjFkxlXYrR+n68KgOuXJ6ituQ1E2wj8eoA2McuxWPYuqbcM8BEG7QTzw1E38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",Yi=({className:wn,dataSource:tn=[],col:fn=4,right:kn,bottom:Gr=23,precision:nr=0,wrapWidth:er=1200,wrapClassName:Sa,trackEventItems:fa,loading:ja})=>{const ka=Math.floor((er-(fn-1)*kn)/fn);return le.createElement(tt.Z,{spinning:ja},le.createElement("div",{className:ve()(_a.list,wn)},!!tn.length&&tn.map((Jr,za)=>{const{subject_identifier:Ro,id:dn,identifier:on,power:xa}=Jr,ya=Jr.is_public!=0&&Jr.is_public;return le.createElement("div",{className:ve()(`${_a.wrap} ${Jr.is_accessible?"":_a.warpStyle}`,Sa),key:dn,style:{width:ka,marginRight:(1+za)%fn===0?0:kn+nr,marginBottom:Gr}},le.createElement("a",{className:_a.li,onClick:aa=>{aa.preventDefault(),fa&&(0,Et.L9)([fa]),(0,Et.xg)(Jr.first_category_url)}},le.createElement("div",{className:_a.creator},le.createElement("img",{className:_a.img,src:en.Z.IMG_SERVER+"/images/"+Jr.avatar_url}),le.createElement("div",{className:_a.text,title:Jr.creator},Jr.creator)),le.createElement("div",{className:_a.top},le.createElement(ut.Z,{title:Jr.name},le.createElement("div",{className:_a.name},Jr.name)),ya&&le.createElement("div",{className:_a.sign},"\u516C\u5F00")),le.createElement("div",{className:_a.middle},le.createElement("div",{className:_a.row,style:{marginBottom:6}},le.createElement("div",null,le.createElement("span",{className:_a.text},"\u8BBF\u95EE\u91CF"),le.createElement("span",{className:_a.value},(Jr==null?void 0:Jr.visits)||0)),le.createElement("div",null,le.createElement("span",{className:_a.text},"\u6210\u5458"),le.createElement("span",{className:_a.value},(Jr==null?void 0:Jr.course_members_count)||0))),le.createElement("div",{className:_a.row},le.createElement("div",null,le.createElement("span",{className:_a.text,style:{width:42}},"\u4F5C",le.createElement("span",{style:{marginLeft:14}},"\u4E1A")),le.createElement("span",{className:_a.value},(Jr==null?void 0:Jr.tasks_count)||0)),le.createElement("div",null,le.createElement("span",{className:_a.text},"\u72B6\u6001"),Jr.is_end?le.createElement("span",{className:_a.value,style:{color:"#6E8BAA"}},"\u5DF2\u7ED3\u675F"):le.createElement("span",{className:_a.value,style:{color:"#1AAE64"}},"\u8FDB\u884C\u4E2D")))),Ro&&le.createElement("div",{className:_a.btns},le.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),le.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802"))),!Jr.is_accessible&&le.createElement("div",{className:_a.lockWrap},le.createElement("img",{src:`${en.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),le.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!tn.length&&le.createElement(xn.Z,null)))},ma={flex_box_center:"flex_box_center___eJQtn",flex_space_between:"flex_space_between___lzV1x",flex_box_vertical_center:"flex_box_vertical_center___IYfoZ",flex_box_center_end:"flex_box_center_end___lcJOu",flex_box_column:"flex_box_column____ShCG",list:"list___YXSRr",wrap:"wrap___ZGdF6",lockWrap:"lockWrap___VKZgR",creator:"creator___tLnuI",img:"img___P8alm",text:"text___ijpmj",top:"top___md6mc",sign:"sign___ydolt",name:"name___OEush",middle:"middle___WFQ2R",row:"row___MFUrm",value:"value___rEYMy",btns:"btns___Y5S2B",bottom:"bottom___RsfJC",warpStyle:"warpStyle___R8xtx"},En="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JKmEQPILClJZfpEfIUAChFQSHIJxnGDiDYwsb8KRLUuWZcmSxqN9pJF6nV7eSZ373u1509Mzvd2eGVt6VV2z9Ht3+9459+yX8Bq4mDmWK2GLqla3MvFWZt4KpjVMSBNzGoQ0M6WJkJbpMiNDxBkwMkyUIUYGxCeJaB8x7fMcZ18yiv1EVHy1Lw+9GicwO8tXlSrlbSB6O4HfANAmZlY250JEHsBHGLQTzA9H3chDfX2012Yfy9HWqwJgZh7NF6vvY/a2gWkbgyeWY3Hq+yDQcRA/RKQeSsSce4jo9EqMo50+Vy3AzNxXKFTv9MAfB/AuZo60M7Fe30tEZQA/UqBvx+POvUQ02+s+O2l/1QGcy5Xe6Cn1SXj8YYAHO5nU8j9DM1D0b8rzvpFMRp9a/v4X73HVAJwplN9GHj7P4NtW0wK1OxYCPcAKX0rHI4+0+2wv7l9xgHPFyrs9j78A5l/sxQRXrE2ix5SiLyZj7v+s2BgArBjA+XzpzR7oq8x880ouQK/7JqKnFfiziUT0iV731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M0AxEHhVflbF/flBbvjtHLot9pxHLQK6jxdupOH2n1GuxpR+S6Yb2332dfk/USPOnA/2qrLr5s16DkFm8EJm84Xq5/wPP7LC5eaaVop+pNEzPlmwJ67wa6lZ5cN4BDQw9l8+StEdNeFsjcLmMz89VQi8qdEdKYlZCzdtOwAm3EHIblfZeabLc1lVTYjccsK/NlEIvrESgxwxQAOCWHv9jz+Aph/cSUWoGd9Ej2mFH3RlkWq03GuOMBm4JLwRh4+z+DbOp3ManhOsvxY4UvpeOSR1TGe1TCK0BiC/OS7APoQwKHqHKtsoPOGQzMA/7sCvp5MRp9aTSNdNRRcvyhSTqJQqN7pgT8O4F3MvArC3uZGKdVsAPxIgb4djzv3EtHsagLWjGXVAhxeLCnxlC9W38fsbQPTNgZPrMRiSgU5ED9EpB5KxJx7iKjFkxlXYrR+n68KgOuXJ6ituQ1E2wj8eoA2McuxWPYuqbcM8BEG7QTzw1E38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",vn=({className:wn,dataSource:tn=[],col:fn=4,right:kn,bottom:Gr=23,precision:nr=0,wrapWidth:er=1200,wrapClassName:Sa,trackEventItems:fa,loading:ja})=>{const ka=Math.floor((er-(fn-1)*kn)/fn);return le.createElement(tt.Z,{spinning:ja},le.createElement("div",{className:ve()(ma.list,wn)},!!tn.length&&tn.map((Jr,za)=>{const{subject_identifier:Ro,id:dn,identifier:on,power:xa}=Jr,ya=Jr.is_public!=0&&Jr.is_public;return le.createElement("div",{className:ve()(`${ma.wrap} ${Jr.is_accessible?"":ma.warpStyle}`,Sa),key:dn,style:{width:ka,marginRight:(1+za)%fn===0?0:kn+nr,marginBottom:Gr}},le.createElement("a",{className:ma.li,onClick:aa=>{aa.preventDefault(),fa&&(0,Et.L9)([fa]),(0,Et.xg)(Jr.first_category_url)}},le.createElement("div",{className:ma.creator},le.createElement("img",{className:ma.img,src:en.Z.IMG_SERVER+"/images/"+Jr.avatar_url}),le.createElement("div",{className:ma.text,title:Jr.creator},Jr.creator)),le.createElement("div",{className:ma.top},le.createElement(ut.Z,{title:Jr.name},le.createElement("div",{className:ma.name},Jr.name)),ya&&le.createElement("div",{className:ma.sign})),le.createElement("div",{className:ma.middle},le.createElement("div",{className:ma.row,style:{marginBottom:6}},le.createElement("div",null,le.createElement("span",{className:ma.text},"\u8BBF\u95EE\u91CF"),le.createElement("span",{className:ma.value},(Jr==null?void 0:Jr.visits)||0)),le.createElement("div",null,le.createElement("span",{className:ma.text},"\u6210\u5458"),le.createElement("span",{className:ma.value},(Jr==null?void 0:Jr.course_members_count)||0))),le.createElement("div",{className:ma.row},le.createElement("div",null,le.createElement("span",{className:ma.text,style:{width:42}},"\u4F5C",le.createElement("span",{style:{marginLeft:14}},"\u4E1A")),le.createElement("span",{className:ma.value},(Jr==null?void 0:Jr.tasks_count)||0)),le.createElement("div",null,le.createElement("span",{className:ma.text},"\u72B6\u6001"),Jr.is_end?le.createElement("span",{className:ma.value,style:{color:"#6E8BAA"}},"\u5DF2\u7ED3\u675F"):le.createElement("span",{className:ma.value,style:{color:"#00DDC7"}},"\u8FDB\u884C\u4E2D")))),Ro&&le.createElement("div",{className:ma.btns},le.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),le.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802"))),!Jr.is_accessible&&le.createElement("div",{className:ma.lockWrap},le.createElement("img",{src:`${en.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),le.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!tn.length&&le.createElement(xn.Z,null)))},Pr={flex_box_center:"flex_box_center___d27mZ",flex_space_between:"flex_space_between___qfRU9",flex_box_vertical_center:"flex_box_vertical_center___fCRld",flex_box_center_end:"flex_box_center_end___ORMV8",flex_box_column:"flex_box_column___PNKtZ",tabs:"tabs___alpa7",tabsWrap:"tabsWrap___aCQjw",tab:"tab___MKLr4",active:"active___nl_4v"},Vr=de(35973),Da=({dataSource:wn=[],value:tn,onChange:fn,className:kn,style:Gr={},tabBarExtraContent:nr})=>le.createElement("div",{className:ve()(Pr.tabs,kn),style:Gr},le.createElement("div",{className:Pr.tabsWrap},wn.map((er,Sa)=>le.createElement("aside",{className:Pr.tab,onClick:()=>{fn(er.id),er.link&&Vr.history.push(er.link)},key:Sa},le.createElement("div",{className:tn===er.id?Pr.active:""},er.name),(er==null?void 0:er.resetCount)==null&&(er==null?void 0:er.total)!==void 0&&le.createElement("span",null,"\uFF08",er==null?void 0:er.total,"\uFF09"),(er==null?void 0:er.resetCount)!==void 0&&(er==null?void 0:er.total)!==void 0&&le.createElement(ut.Z,{title:(er==null?void 0:er.tip)!=null?er==null?void 0:er.tip:""},le.createElement("span",{style:{color:"#9096A3"}},"\uFF08",le.createElement("span",{style:{color:"#000"}},er==null?void 0:er.resetCount),"/",le.createElement("span",null,er==null?void 0:er.total),"\uFF09"))))),le.createElement("div",{className:Pr.tabBar},nr)),Ia={flex_box_center:"flex_box_center___itkVp",flex_space_between:"flex_space_between___F4yZx",flex_box_vertical_center:"flex_box_vertical_center___ko4cu",flex_box_center_end:"flex_box_center_end___cCBYR",flex_box_column:"flex_box_column___Mpq6K",tabs:"tabs___qRAhL",tabsWrap:"tabsWrap___CGRvS",tab:"tab___eYne_",active:"active___swSx6"},Ho=({dataSource:wn=[],value:tn,onChange:fn,className:kn,style:Gr={},tabBarExtraContent:nr})=>le.createElement("div",{className:ve()(Ia.tabs,kn),style:Gr},le.createElement("div",{className:Ia.tabsWrap},wn.map((er,Sa)=>le.createElement("aside",{className:Ia.tab,onClick:()=>{fn(er.id),er.link&&Vr.history.push(er.link)},key:Sa},le.createElement("div",{className:tn===er.id?Ia.active:""},er.name),(er==null?void 0:er.resetCount)==null&&(er==null?void 0:er.total)!==void 0&&le.createElement("span",null,"\uFF08",er==null?void 0:er.total,"\uFF09"),(er==null?void 0:er.resetCount)!==void 0&&(er==null?void 0:er.total)!==void 0&&le.createElement(ut.Z,{title:(er==null?void 0:er.tip)!=null?er==null?void 0:er.tip:""},le.createElement("span",{style:{color:"#9096A3"}},"\uFF08",le.createElement("span",{style:{color:"#000"}},er==null?void 0:er.resetCount),"/",le.createElement("span",null,er==null?void 0:er.total),"\uFF09"))))),le.createElement("div",{className:Ia.tabBar},nr)),gi={flex_box_center:"flex_box_center___uWCU1",flex_space_between:"flex_space_between___pKZJo",flex_box_vertical_center:"flex_box_vertical_center___NKr7Z",flex_box_center_end:"flex_box_center_end___ycaEu",flex_box_column:"flex_box_column___dDKjA",tabs:"tabs___cNVh5",tabsWrap:"tabsWrap___IJpOg",tab:"tab___fitSZ",active:"active___LBYdH"},co=({dataSource:wn=[],value:tn,onChange:fn,className:kn,style:Gr={},tabBarExtraContent:nr})=>le.createElement("div",{className:ve()(gi.tabs,kn),style:Gr},le.createElement("div",{className:gi.tabsWrap},wn.map((er,Sa)=>le.createElement("aside",{className:`${gi.tab} ${tn===er.id?gi.active:""}`,onClick:()=>{fn(er.id),er.link&&Vr.history.push(er.link)},key:Sa},le.createElement("div",null,er.name),(er==null?void 0:er.resetCount)==null&&(er==null?void 0:er.total)!==void 0&&le.createElement("span",null,"\uFF08",er==null?void 0:er.total,"\uFF09"),(er==null?void 0:er.resetCount)!==void 0&&(er==null?void 0:er.total)!==void 0&&le.createElement(ut.Z,{title:(er==null?void 0:er.tip)!=null?er==null?void 0:er.tip:""},le.createElement("span",{style:{color:"#9096A3"}},"\uFF08",le.createElement("span",{style:{color:"#000"}},er==null?void 0:er.resetCount),"/",le.createElement("span",null,er==null?void 0:er.total),"\uFF09"))))),le.createElement("div",{className:gi.tabBar},nr)),bs=({className:wn,style:tn={},children:fn})=>le.createElement("div",{className:ve()(wn),style:tn},fn),li={flex_box_center:"flex_box_center___e6HxQ",flex_space_between:"flex_space_between___RnXYe",flex_box_vertical_center:"flex_box_vertical_center___lVxPk",flex_box_center_end:"flex_box_center_end___bu8yv",flex_box_column:"flex_box_column___JczGj",orderWrap:"orderWrap___ZfyGX",orderIconWrap:"orderIconWrap___XTB_O",orderAsc:"orderAsc___KWHmA",orderDesc:"orderDesc___rHdbB",active:"active___a7eSP",cursorPointer:"cursorPointer___gs9kL",orderTextWrap:"orderTextWrap___teAKn"},fi=de(85418),Ha=de(68508);const Ko=[{id:"updated_at",name:"\u6700\u65B0\u52A8\u6001"},{id:"created_at",name:"\u6700\u65B0\u521B\u5EFA"},{id:"name",name:"\u540D\u79F0\u6392\u5E8F"}];var hs=({sortValue:wn,dropValue:tn,className:fn,onSort:kn,onDrop:Gr,dataSource:nr=Ko})=>{var er;return le.createElement("div",{className:ve()(li.orderWrap,fn)},le.createElement(fi.Z,{dropdownRender:()=>le.createElement(Ha.default,null,nr.map((Sa,fa)=>le.createElement(Ha.default.Item,{key:fa,onClick:()=>Gr(Sa.id)},Sa.name)))},le.createElement("span",{className:li.orderTextWrap},(er=nr.find(Sa=>tn===Sa.id))==null?void 0:er.name)),le.createElement("span",{className:li.orderIconWrap},le.createElement("span",{className:li.orderAsc},le.createElement("i",{className:wn==="asc"?`iconfont icon-sanjiaoxing-up font12 ${li.cursorPointer} ${li.active}`:`iconfont icon-sanjiaoxing-up font12 ${li.cursorPointer}`,onClick:()=>kn(wn==="asc"?"desc":"asc")})),le.createElement("span",{className:li.orderDesc},le.createElement("i",{className:wn==="desc"?`iconfont icon-sanjiaoxing-down font12 ${li.cursorPointer} ${li.active}`:`iconfont icon-sanjiaoxing-down font12 ${li.cursorPointer}`,onClick:()=>kn(wn==="asc"?"desc":"asc")}))))},Ti={flex_box_center:"flex_box_center___JJ9sS",flex_space_between:"flex_space_between___t8Vfh",flex_box_vertical_center:"flex_box_vertical_center___NXwpW",flex_box_center_end:"flex_box_center_end___d7nF9",flex_box_column:"flex_box_column___RWkXa",orderWrap:"orderWrap___Z6UhI",orderIconWrap:"orderIconWrap___vT5et",orderAsc:"orderAsc___Xrpfj",orderDesc:"orderDesc___FgOA0",active:"active___ryj8i",cursorPointer:"cursorPointer___Gg3bB",orderTextWrap:"orderTextWrap___BAYWJ"};const Ki=[{id:"updated_at",name:"\u6700\u65B0\u52A8\u6001"},{id:"created_at",name:"\u6700\u65B0\u521B\u5EFA"},{id:"name",name:"\u540D\u79F0\u6392\u5E8F"}];var Gs=({sortValue:wn,dropValue:tn,className:fn,onSort:kn,onDrop:Gr,dataSource:nr=Ki})=>{var er;return le.createElement("div",{className:ve()(Ti.orderWrap,fn)},le.createElement(fi.Z,{dropdownRender:()=>le.createElement(Ha.default,null,nr.map((Sa,fa)=>le.createElement(Ha.default.Item,{key:fa,onClick:()=>Gr(Sa.id)},Sa.name)))},le.createElement("span",{className:Ti.orderTextWrap},(er=nr.find(Sa=>tn===Sa.id))==null?void 0:er.name)),le.createElement("span",{className:Ti.orderIconWrap},le.createElement("span",{className:Ti.orderAsc},le.createElement("i",{className:wn==="asc"?`iconfont icon-sanjiaoxing-up font12 ${Ti.cursorPointer} ${Ti.active}`:`iconfont icon-sanjiaoxing-up font12 ${Ti.cursorPointer}`,onClick:()=>kn(wn==="asc"?"desc":"asc")})),le.createElement("span",{className:Ti.orderDesc},le.createElement("i",{className:wn==="desc"?`iconfont icon-sanjiaoxing-down font12 ${Ti.cursorPointer} ${Ti.active}`:`iconfont icon-sanjiaoxing-down font12 ${Ti.cursorPointer}`,onClick:()=>kn(wn==="asc"?"desc":"asc")}))))},zi={flex_box_center:"flex_box_center___LCi0B",flex_space_between:"flex_space_between___hzONe",flex_box_vertical_center:"flex_box_vertical_center___ZyQRE",flex_box_center_end:"flex_box_center_end___XKM74",flex_box_column:"flex_box_column___p8LCU",btn:"btn___In02G","mediacy-round":"mediacy-round___uveEv","mediacy-default":"mediacy-default___dDxsd",default:"default___K791v",ThemeOne:"ThemeOne___iCQio"},Ws=de(71577),PA=de(52810),Yr=Object.defineProperty,zo=Object.getOwnPropertySymbols,Ji=Object.prototype.hasOwnProperty,zr=Object.prototype.propertyIsEnumerable,Ea=(wn,tn,fn)=>tn in wn?Yr(wn,tn,{enumerable:!0,configurable:!0,writable:!0,value:fn}):wn[tn]=fn,Wo=(wn,tn)=>{for(var fn in tn||(tn={}))Ji.call(tn,fn)&&Ea(wn,fn,tn[fn]);if(zo)for(var fn of zo(tn))zr.call(tn,fn)&&Ea(wn,fn,tn[fn]);return wn},fo=(wn,tn)=>{var fn={};for(var kn in wn)Ji.call(wn,kn)&&tn.indexOf(kn)<0&&(fn[kn]=wn[kn]);if(wn!=null&&zo)for(var kn of zo(wn))tn.indexOf(kn)<0&&zr.call(wn,kn)&&(fn[kn]=wn[kn]);return fn},as=(wn,tn,fn)=>new Promise((kn,Gr)=>{var nr=fa=>{try{Sa(fn.next(fa))}catch(ja){Gr(ja)}},er=fa=>{try{Sa(fn.throw(fa))}catch(ja){Gr(ja)}},Sa=fa=>fa.done?kn(fa.value):Promise.resolve(fa.value).then(nr,er);Sa((fn=fn.apply(wn,tn)).next())}),ji=wn=>{var tn=wn,{className:fn,style:kn,children:Gr,loading:nr=!1,openLoading:er,onClick:Sa=()=>{},size:fa="middle",shape:ja="round",theme:ka}=tn,Jr=fo(tn,["className","style","children","loading","openLoading","onClick","size","shape","theme"]);const[za,Ro]=(0,le.useState)(!1),dn=(0,le.useMemo)(()=>{switch(ka){case PA.Fy.THEMEONE:return zi.ThemeOne;case PA.Fy.DEFAULT:default:return zi.btn}},[ka]);return le.createElement(Ws.ZP,Wo({onClick:(0,Le.throttle)(on=>as(void 0,null,function*(){er&&Ro(!0);try{yield Sa(on)}catch(xa){console.log("error",xa)}er&&Ro(!1)}),2e3,{leading:!0,trailing:!1}),className:ve()(dn,zi[`${fa}-${ja}`],fn),style:kn,size:fa,shape:ja,loading:za||nr},Jr),Gr)},os={flex_box_center:"flex_box_center___TB7bQ",flex_space_between:"flex_space_between___oBlTb",flex_box_vertical_center:"flex_box_vertical_center___b5XbB",flex_box_center_end:"flex_box_center_end___CNhe7",flex_box_column:"flex_box_column___yHXKW",head:"head___ghH72",node:"node___mjPEy"},Xo=({className:wn,style:tn,children:fn=null,onClick:kn,title:Gr})=>le.createElement("div",{className:ve()(os.head,wn),style:tn},le.createElement("span",{className:"primary-hover",onClick:kn},le.createElement("i",{className:"iconfont icon-fanhui2 font12"}),"\u8FD4\u56DE"),le.createElement("b",{title:Gr},Gr),le.createElement("div",{className:os.node},fn)),Na={flex_box_center:"flex_box_center___AlHuF",flex_space_between:"flex_space_between___vN2LW",flex_box_vertical_center:"flex_box_vertical_center___Ac7D2",flex_box_center_end:"flex_box_center_end___y38I7",flex_box_column:"flex_box_column___iQE6P",btns:"btns___sNgTb",confirm:"confirm___Ozirl",cancel:"cancel___aiq1I"},gA=({confirmShow:wn=!0,confirmTitle:tn,confirmClick:fn,cancelShow:kn=!0,cancelTitle:Gr,cancelClick:nr,className:er,style:Sa,confirmLoading:fa=!1})=>le.createElement("div",{className:ve()(Na.btns,er),style:Sa},wn&&le.createElement(Ws.ZP,{loading:fa,onClick:fn,type:"primary",className:Na.confirm},tn),kn&&le.createElement(Ws.ZP,{onClick:nr,className:Na.cancel},Gr)),Rs={flex_box_center:"flex_box_center___jkpdr",flex_space_between:"flex_space_between___OtsL8",flex_box_vertical_center:"flex_box_vertical_center___rbcb_",flex_box_center_end:"flex_box_center_end___zBR21",flex_box_column:"flex_box_column___nS_eP",fixedBottom:"fixedBottom___oJl7m",wrap:"wrap___A3Oq1",center:"center____VL1y"},IA=({className:wn,style:tn={},LeftContent:fn,children:kn,RightContent:Gr})=>le.createElement("div",{className:ve()(Rs.fixedBottom,wn),style:tn},le.createElement("div",{className:Rs.wrap},le.createElement("div",{className:Rs.left},fn),le.createElement("div",{className:Rs.center},kn),le.createElement("div",{className:Rs.right},Gr))),NA={flex_box_center:"flex_box_center___tY8Yn",flex_space_between:"flex_space_between___vHdYA",flex_box_vertical_center:"flex_box_vertical_center___pa61F",flex_box_center_end:"flex_box_center_end___HyDXt",flex_box_column:"flex_box_column___UjZek",crumbs:"crumbs___V41Oe",hover:"hover___bEIVd"},FA=({className:wn,style:tn={},dataSource:fn=[]})=>le.createElement("div",{className:ve()(NA.crumbs,wn),style:tn},fn.map((kn,Gr)=>GrVr.history.push(kn.path)},kn.name):le.createElement("span",null,kn.name),le.createElement("span",null,"\xA0",">","\xA0")):le.createElement("span",{key:Gr,style:{color:"#5F6368"}},kn.name))),Fo=de(55054),Fi=Object.defineProperty,Ls=Object.defineProperties,jn=Object.getOwnPropertyDescriptors,Gn=Object.getOwnPropertySymbols,ft=Object.prototype.hasOwnProperty,Dt=Object.prototype.propertyIsEnumerable,rr=(wn,tn,fn)=>tn in wn?Fi(wn,tn,{enumerable:!0,configurable:!0,writable:!0,value:fn}):wn[tn]=fn,Kr=(wn,tn)=>{for(var fn in tn||(tn={}))ft.call(tn,fn)&&rr(wn,fn,tn[fn]);if(Gn)for(var fn of Gn(tn))Dt.call(tn,fn)&&rr(wn,fn,tn[fn]);return wn},kr=(wn,tn)=>Ls(wn,jn(tn)),Vn=(wn,tn)=>{var fn={};for(var kn in wn)ft.call(wn,kn)&&tn.indexOf(kn)<0&&(fn[kn]=wn[kn]);if(wn!=null&&Gn)for(var kn of Gn(wn))tn.indexOf(kn)<0&&Dt.call(wn,kn)&&(fn[kn]=wn[kn]);return fn};const{Countdown:ar}=Fo.default;var hr=wn=>{var tn=wn,{onChange:fn}=tn,kn=Vn(tn,["onChange"]);const[Gr,nr]=(0,le.useState)(null);(0,le.useEffect)(()=>{typeof Gr=="number"&&Gr>=0&&fn(Gr)},[Gr]);const er=Sa=>{const fa=Math.floor(Sa/1e3);nr(fa)};return le.createElement(ar,kr(Kr({},kn),{onChange:er}))},Nr={ClassRoomItem:"ClassRoomItem___F4pL0",TitleDom:"TitleDom___DB76T"},na=({DataProps:wn,className:tn,style:fn={}})=>{var kn;return le.createElement("div",{className:ve()("rounded-40px bg-white py-10px pb-30px px-30px flex gap-22px current h-full",Nr.ClassRoomItem,tn),style:fn,onClick:()=>{(0,Et.xg)(wn==null?void 0:wn.first_category_url)}},le.createElement("div",{className:"flex flex-col item-center"},le.createElement("img",{src:`${(kn=en.Z)==null?void 0:kn.IMG_SERVER}/images/${wn==null?void 0:wn.avatar_url}`,className:"rounded-full",style:{height:76,width:76,marginTop:"-24px"}}),(wn==null?void 0:wn.subject_identifier)&&le.createElement("div",{className:"mt-40px"},le.createElement("div",{className:"rounded-full",style:{background:"rgba(33,202,159,0.1)",border:"1px solid #6BFF98",color:"#0EA17B"}},"\u5F00\u653E\u8BFE\u7A0B"),le.createElement("div",{className:"rounded-full",style:{background:"rgba(255,160,0,0.1)",border:"1px solid #FFC055",color:"#C97319"}},"\u5F00\u653E\u8BFE\u5802"))),le.createElement("div",{className:"flex-1 flex flex-col justify-between gap-10px"},le.createElement("div",{className:"multi_ellipsis2",style:{height:48}},!!(wn!=null&&wn.is_public)&&le.createElement("div",{className:"c-white rounded-4px mr-4px h-24px w-42px item-center justify-center",style:{background:"#21CA9F",border:"1px solid #6BFF98",display:"inline-flex"}},"\u516C\u5F00"),le.createElement("span",{className:ve()("text-16px font-medium",Nr.TitleDom)},wn==null?void 0:wn.name)),le.createElement("div",{className:"c-grey-333 font-medium"},wn==null?void 0:wn.creator),le.createElement("div",{className:"c-grey-333"},"\u6210\u5458\uFF1A",wn==null?void 0:wn.course_members_count),le.createElement("div",{className:"c-grey-333 flex item-center justify-between"},le.createElement("div",null,"\u4F5C\u4E1A\uFF1A",wn==null?void 0:wn.tasks_count),wn!=null&&wn.is_end?le.createElement("div",{style:{color:"#5F6A95"}},"\u5DF2\u7ED3\u675F"):le.createElement("div",{style:{color:"#37AD83"}},"\u8FDB\u884C\u4E2D"))))},Ja=Object.defineProperty,so=Object.getOwnPropertySymbols,Bo=Object.prototype.hasOwnProperty,ua=Object.prototype.propertyIsEnumerable,Tt=(wn,tn,fn)=>tn in wn?Ja(wn,tn,{enumerable:!0,configurable:!0,writable:!0,value:fn}):wn[tn]=fn,St=(wn,tn)=>{for(var fn in tn||(tn={}))Bo.call(tn,fn)&&Tt(wn,fn,tn[fn]);if(so)for(var fn of so(tn))ua.call(tn,fn)&&Tt(wn,fn,tn[fn]);return wn},Pn=({DataProps:wn=[],selectValue:tn,onChange:fn,className:kn,style:Gr={},extra:nr,classNameItem:er,styleItem:Sa={},barHidden:fa})=>{const[ja,ka]=(0,le.useState)();return(0,le.useEffect)(()=>{ka(Array.isArray(tn)?tn:[tn])},[tn]),le.createElement("div",{className:ve()("flex px-20px py-10px gap-40px",kn),style:St({borderBottom:"1px solid #D3F0FF"},Gr)},wn==null?void 0:wn.map(Jr=>le.createElement("div",{key:Jr==null?void 0:Jr.id,className:ve()("flex item-center justify-center current c-grey-333 text-16 relative",er,Jr==null?void 0:Jr.className),style:St(St({color:ja!=null&&ja.includes(Jr==null?void 0:Jr.id)?"#1890FF":"",minWidth:88},Sa),(Jr==null?void 0:Jr.style)||{}),onClick:za=>{fn==null||fn({domEvent:za,item:Jr}),Jr!=null&&Jr.link&&Vr.history.push(Jr==null?void 0:Jr.link)}},Jr==null?void 0:Jr.name,!fa&&(ja==null?void 0:ja.includes(Jr==null?void 0:Jr.id))&&le.createElement("div",{className:"absolute w-full h-2px",style:{background:"#1890FF",bottom:"-10px",left:0}}))),le.createElement("div",{className:"ml-auto"},nr))},ur=Object.defineProperty,Rr=Object.defineProperties,Fr=Object.getOwnPropertyDescriptors,or=Object.getOwnPropertySymbols,dr=Object.prototype.hasOwnProperty,Xr=Object.prototype.propertyIsEnumerable,oa=(wn,tn,fn)=>tn in wn?ur(wn,tn,{enumerable:!0,configurable:!0,writable:!0,value:fn}):wn[tn]=fn,Ya=(wn,tn)=>{for(var fn in tn||(tn={}))dr.call(tn,fn)&&oa(wn,fn,tn[fn]);if(or)for(var fn of or(tn))Xr.call(tn,fn)&&oa(wn,fn,tn[fn]);return wn},ra=(wn,tn)=>Rr(wn,Fr(tn)),yo=({value:wn,onChange:tn,onInputChange:fn,className:kn,style:Gr={},InputProps:nr})=>{const[er,Sa]=(0,le.useState)(wn);return le.createElement("div",{className:ve()("flex item-center rounded-full px-10px py-2px",kn),style:Ya({background:"linear-gradient( #E4F6FF 0%, #EAF3FF 100%)",border:"1px solid #fff",boxShadow:"inset 0px 1px 3px 0px rgba(133,188,255,0.5)"},Gr)},le.createElement(ot.default,ra(Ya({bordered:!1},nr),{onChange:fa=>{Sa(fa.target.value),fn==null||fn(encodeURIComponent(fa.target.value))},onPressEnter:fa=>{tn==null||tn({domEvent:fa,item:{value:er}})}})),le.createElement("img",{className:"h-22px current",src:de(25365),height:22,onClick:fa=>{tn==null||tn({domEvent:fa,item:{value:er}})}}))}},99914:function(Yt,Nt,de){"use strict";de.d(Nt,{Z:function(){return ye}});var le=de(67294);function ye(Ke,Je){const ze=(0,le.useRef)();(0,le.useEffect)(()=>{ze.current=Ke}),(0,le.useEffect)(()=>{function Re(){ze.current()}if(Je!==null){let pe=setInterval(Re,Je);return()=>clearInterval(pe)}},[Je])}},16151:function(Yt,Nt,de){"use strict";var le=de(14446),ye=de(2453),Ke=de(33170),Je=de(35973),ze=de(52262),Re=de(67294),pe=(Le,ge,Ie)=>new Promise((Pe,we)=>{var se=b=>{try{a(Ie.next(b))}catch(E){we(E)}},y=b=>{try{a(Ie.throw(b))}catch(E){we(E)}},a=b=>b.done?Pe(b.value):Promise.resolve(b.value).then(se,y);a((Ie=Ie.apply(Le,ge)).next())});const ve=({shixunHomeworks:Le,classroomList:ge,dispatch:Ie})=>{const Pe=(0,Je.useParams)();return Re.createElement(le.default,{centered:!0,title:"\u63D0\u793A",open:Le.actionTabs.key==="\u6253\u56DE\u91CD\u505A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>pe(void 0,null,function*(){var we,se,y,a;if((0,ze.Rm)()&&!((we=ge.AssistantObject.practice)!=null&&we.can_redo)){ye.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}const b=yield(0,Ke.ZP)(`/api/myshixuns/${Le.actionTabs.selectArrs.myshixun_identifier}/reset_my_game.json`,{method:"GET",params:{course_id:Pe.coursesId,homework_common_id:Le.actionTabs.homework_common_id}});if(b.shixun_identifier){ye.ZP.success("\u64CD\u4F5C\u6210\u529F"),Ie({type:"shixunHomeworks/setActionTabs",payload:{}});const E=(y=(se=b==null?void 0:b.new_works)==null?void 0:se.find(x=>`${x.homework_common_id}`===Pe.categoryId))==null?void 0:y.id;if((0,ze.Rm)()&&!((a=ge.AssistantObject.practice)!=null&&a.can_view))return;Je.history.replace(`/classrooms/${Pe.coursesId}/shixun_homework/${Pe.categoryId}/${E}/comment`)}}),onCancel:()=>{Ie({type:"shixunHomeworks/setActionTabs",payload:{}})}},Re.createElement("p",null,"\u8BE5\u4F5C\u4E1A\u5C06\u88AB\u6253\u56DE\u91CD\u505A\uFF0C\u5B66\u751F\u5B9E\u8BAD\u8BB0\u5F55\u5C06\u88AB\u6E05\u7A7A!"),Re.createElement("p",null,"\u786E\u5B9A\u6253\u56DE?"))};Nt.Z=(0,Je.connect)(({shixunHomeworks:Le,classroomList:ge})=>({shixunHomeworks:Le,classroomList:ge}))(ve)},68828:function(Yt,Nt,de){"use strict";de.r(Nt),de.d(Nt,{default:function(){return ua}});var le=de(52810),ye=de(67294),Ke=de(35973),Je=de(27484),ze=de.n(Je),Re=de(55733),pe=de.n(Re),ve=de(33170),Le=de(14446),ge=de(2453),Ie=de(46303),Pe=de(85673),we=de(71577),se=de(83062),y=de(69677),a=de(96074),b=de(71230),E=de(15746),x=de(9430),z=de(11713),ae=de(28452),ce=de(87922),Ee=de(55304),be=de(84249),De=de(11320),Ge=de(52262),Ze=de(28706),ot=de(50976),Te={flex_box_center:"flex_box_center___RiSTC",flex_space_between:"flex_space_between___r2zEY",flex_box_vertical_center:"flex_box_vertical_center___TMaa1",flex_box_center_end:"flex_box_center_end___Y0BIL",flex_box_column:"flex_box_column___iz8FU",NewButtonStyle:"NewButtonStyle___houPy",TableStyle:"TableStyle___CslJA",title:"title___qgujt",score:"score___b7Ujv",export:"export___D8VKP",title1_right:"title1_right___cy888",userPic:"userPic___oaJ3H",userInfo:"userInfo___l2HkY",listItem:"listItem___cZoS7",rightInfo:"rightInfo___m8guB",shixunTitle:"shixunTitle___lKvEa",shixunWrp:"shixunWrp___HKtVw",footerBar:"footerBar___qBo2N",footerBarStatic:"footerBarStatic____tmYG",exitComment:"exitComment___meSbD",nextComment:"nextComment___elRVJ",modal:"modal___WCPN7",footer:"footer___itbW_"},wt={normal:{opacity:.8,shadowBlur:10,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"rgba(0, 0, 0, 0)",color:"#2e65ad"}};const Qe=({shixunHomeworks:Tt,data:St,globalSetting:zt,loading:Pn,dispatch:ur})=>{var Rr;const{shixunWorkReport:Fr}=Tt;let or=((Rr=St==null?void 0:St.efficiency_list)==null?void 0:Rr.length)-parseInt(St==null?void 0:St.myself_eff[0]);const dr=()=>({title:{text:"\u5B66\u4E60\u6548\u7387",subtext:"\u5B66\u4E60\u6548\u7387=log(\u5B9E\u8BAD\u603B\u5F97\u5206/\u5B9E\u8BAD\u603B\u8017\u65F6)"},backgroundColor:"#fff",color:["#dd4444","#fec42c","#80F1BE"],grid:{left:"3%",right:"9%",bottom:"3%",containLabel:!0},tooltip:{showDelay:0,formatter:function(oa){return oa.name===Fr.username?"\u59D3\u540D\uFF1A"+Fr.username+"
\u5B66\u53F7\uFF1A "+Fr.user_id+"
\u6548\u7387\uFF1A"+(St==null?void 0:St.myself_eff[1]):oa.name+":"+oa.value+" "},axisPointer:{show:!0,type:"cross",lineStyle:{type:"dashed",width:1}}},xAxis:[{type:"value",name:"\u5B66\u751F\u4F4D\u7F6E",nameTextStyle:{color:"#000",fontSize:12},scale:!0,axisLabel:{formatter:""},axisTick:{show:!1},splitLine:{show:!1}}],yAxis:[{type:"value",name:" ",nameGap:20,nameTextStyle:{color:"#000",fontSize:12},scale:!0,axisLabel:{formatter:"{value}"},splitLine:{show:!1}}],series:[{name:"",type:"scatter",data:St==null?void 0:St.efficiency_list,itemStyle:{normal:{color:"#2e65ad"}},markArea:{silent:!0,itemStyle:{normal:{color:"transparent",borderWidth:1,borderType:"dashed"}},data:[[{name:"\u5B66\u4E60\u6548\u7387\u5206\u5E03\u533A\u95F4",xAxis:"min",yAxis:"min"},{xAxis:"max",yAxis:"max"}]]},markPoint:{data:[{name:Fr.username,xAxis:or,yAxis:St==null?void 0:St.myself_eff[1],value:St==null?void 0:St.myself_eff[1]}],itemStyle:{normal:{color:"#c23531"}}},markLine:{lineStyle:{normal:{type:"solid",color:"#ff6800"}},data:[{type:"average",name:"\u4E2D\u4F4D\u503C"}]}}]}),Xr=()=>({title:{text:"\u80FD\u529B\u503C",subtext:"\u80FD\u529B\u503C\uFF08\u5B9E\u8BAD\u83B7\u5F97\u7ECF\u9A8C\u503C/\u5B9E\u8BAD\u8BC4\u6D4B\u6B21\u6570\uFF09"},backgroundColor:"#fff",color:["#dd4444","#fec42c","#80F1BE"],grid:{x:"10%",x2:150,y:"18%",y2:"10%"},tooltip:{padding:10,backgroundColor:"#222",borderColor:"#777",borderWidth:1,formatter:function(oa){var Ya=oa.value;if(oa.name===Fr.username)return"\u59D3\u540D\uFF1A"+Fr.username+"
\u5B66\u53F7\uFF1A "+Fr.user_id+"
\u5F97\u5206\uFF1A"+(St==null?void 0:St.myself_object[1])}},xAxis:{type:"value",name:"log(\u5B9E\u8BAD\u7684\u603B\u65F6\u95F4)",nameGap:16,nameTextStyle:{color:"#000",fontSize:14},splitLine:{show:!1},axisLine:{lineStyle:{color:"#000"}}},yAxis:{type:"value",name:" ",nameLocation:"end",nameGap:20,nameTextStyle:{color:"#000",fontSize:12},axisLine:{lineStyle:{color:"#000"}},splitLine:{show:!1}},series:[{name:"\u80FD\u529B",type:"scatter",itemStyle:wt,data:St==null?void 0:St.consume_list,symbolSize:function(oa){return Math.round(oa[2])},markPoint:{data:[{name:Fr.username,xAxis:St==null?void 0:St.myself_object[0],yAxis:St==null?void 0:St.myself_object[1],value:St==null?void 0:St.myself_object[1]}],itemStyle:{normal:{color:"#c23531"}}}}]});return ye.createElement(ye.Fragment,null,ye.createElement("aside",{className:"ml60 pr30"},ye.createElement(b.Z,null,ye.createElement(E.Z,{flex:"800px"},ye.createElement(ot.Z,{style:{width:750,height:580},option:dr()})),ye.createElement(E.Z,{flex:"1"},ye.createElement("aside",{className:Te.rightInfo},ye.createElement("ul",null,ye.createElement("li",null,ye.createElement("span",null,"\u59D3\u540D")," ",ye.createElement("span",{className:"ml30"},Fr.username)),ye.createElement("li",null,ye.createElement("span",null,"\u5B66\u53F7")," ",ye.createElement("span",{className:"ml30"},Fr.student_id||"--")),ye.createElement("li",null,ye.createElement("span",null,"\u5B66\u4E60\u6548\u7387")," ",ye.createElement("span",{className:"ml30 c-orange"},St==null?void 0:St.myself_eff[1])),ye.createElement("li",null,ye.createElement("span",null,"\u5F53\u524D\u6392\u540D")," ",ye.createElement("span",{className:"ml30 c-orange"},St==null?void 0:St.myself_eff[0]))),ye.createElement("p",null,"1\u4E2A\u5C0F\u5706\u70B9\u4EE3\u88681\u4E2A\u5B66\u751F\u7684\u5B66\u4E60\u6548\u7387",ye.createElement("br",null),"\u7EA2\u8272\u6C34\u6EF4\u8868\u793A\u5F53\u524D\u5B66\u751F\u7684\u5B66\u4E60\u6548\u7387\u503C",ye.createElement("br",null),"\u5C0F\u5706\u70B9\u8D8A\u9AD8\uFF0C\u5B66\u4E60\u6548\u7387\u8D8A\u9AD8",ye.createElement("br",null),"\u6A59\u8272\u6A2A\u5411\u7BAD\u5934\uFF1A\u4E2D\u4F4D\u503C\uFF0C\u8868\u793A\u6574\u4E2A\u8BFE\u5802\u5B66\u751F\u8868\u73B0\u7684\u5E73\u5747\u503C"))))),ye.createElement("aside",{className:"ml60 pr30"},ye.createElement(b.Z,null,ye.createElement(E.Z,{flex:"800px"},ye.createElement(ot.Z,{style:{width:750,height:580},option:Xr()})),ye.createElement(E.Z,{flex:"1"},ye.createElement("aside",{className:Te.rightInfo},ye.createElement("ul",null,ye.createElement("li",null,ye.createElement("span",null,"\u59D3\u540D")," ",ye.createElement("span",{className:"ml30"},Fr.username)),ye.createElement("li",null,ye.createElement("span",null,"\u5B66\u53F7")," ",ye.createElement("span",{className:"ml30"},Fr.student_id||"--")),ye.createElement("li",null,ye.createElement("span",null,"\u80FD\u529B")," ",ye.createElement("span",{className:"ml30 c-orange"},St==null?void 0:St.myself_object[1]))),ye.createElement("p",null,"1\u4E2A\u5C0F\u5706\u70B9\u4EE3\u88681\u4E2A\u5B66\u751F\u7684\u80FD\u529B\u503C",ye.createElement("br",null),"\u7EA2\u8272\u6C34\u6EF4\u8868\u793A\u5F53\u524D\u5B66\u751F\u7684\u80FD\u529B\u503C",ye.createElement("br",null),"\u5C0F\u5706\u5708\u8D8A\u5927\uFF0C\u8BC4\u6D4B\u6B21\u6570\u8D8A\u5C11",ye.createElement("br",null)))))))};var Ot=(0,Ke.connect)(({shixunHomeworks:Tt,loading:St,globalSetting:zt})=>({shixunHomeworks:Tt,globalSetting:zt,loading:St.effects}))(Qe),lt=de(36295),it=de(31795),Ft=({defaultValue:Tt,onBlur:St,max:zt,className:Pn="game-score"})=>{const[ur,Rr]=(0,ye.useState)(Tt);(0,ye.useEffect)(()=>{Rr(Tt)},[Tt]);function Fr(dr){Rr(dr)}function or(){ur!==Tt&&St(ur>zt?zt:ur)}return ye.createElement(it.Z,{max:zt,min:0,className:Pn,value:ur,onChange:Fr,onBlur:or})},gt=de(35567),pt={md:"md___GIQyK"},tt=de(67294),ut=Object.defineProperty,mn=Object.defineProperties,en=Object.getOwnPropertyDescriptors,Et=Object.getOwnPropertySymbols,Cn=Object.prototype.hasOwnProperty,Ln=Object.prototype.propertyIsEnumerable,Yn=(Tt,St,zt)=>St in Tt?ut(Tt,St,{enumerable:!0,configurable:!0,writable:!0,value:zt}):Tt[St]=zt,xn=(Tt,St)=>{for(var zt in St||(St={}))Cn.call(St,zt)&&Yn(Tt,zt,St[zt]);if(Et)for(var zt of Et(St))Ln.call(St,zt)&&Yn(Tt,zt,St[zt]);return Tt},tr=(Tt,St)=>mn(Tt,en(St));const xt=z.default.Option,Tn={selectOnLineNumbers:!0,readOnly:!0,minimap:{enabled:!1},scrollBeyondLastLine:!1,enableSplitViewResizing:!1,roundedSelection:!1,renderIndicators:!1,useShadows:!1};var ir=(Tt=>(Tt[Tt.SET_PATH=0]="SET_PATH",Tt[Tt.GET_PASSED_CONTENT=1]="GET_PASSED_CONTENT",Tt))(ir||{});function Ye(Tt,St){switch(St.type){case 0:return tr(xn({},Tt),{selectedPath:St.payload});case 1:return tr(xn({},Tt),{passedContent:St.payload});default:throw new Error}}var cn=({path:Tt,game_id:St,onPathChange:zt,autoHeight:Pn,diff_code_count:ur,data:Rr,game_codes_cn:Fr})=>{var or,dr,Xr,oa;const Ya=Tt.split("\uFF1B").filter(kn=>!!kn),[ra,Ka]=(0,ye.useReducer)(Ye,{selectedPath:Ya[0],passedContent:{language:"python",content:""}}),{selectedPath:yo,passedContent:wn}=ra;function tn(kn){Ka({type:0,payload:kn})}const fn={\u6700\u540E\u901A\u5173\u4EE3\u7801:"\u901A\u8FC7\u4E86\u672C\u9898\uFF0C\u5728\u4F5C\u4E1A\u65F6\u95F4\u5185\u6700\u540E\u4E00\u6B21\u63D0\u4EA4\u7684\u901A\u5173\u4EE3\u7801",\u6700\u65B0\u4EE3\u7801:"\u672A\u901A\u8FC7\u672C\u9898\uFF0C\u5C55\u793A\u6700\u65B0\u7F16\u5199\u7684\u4EE3\u7801\u8BE6\u60C5",\u622A\u6B62\u540E\u901A\u5173\u4EE3\u7801:"\u5728\u4F5C\u4E1A\u65F6\u95F4\u7ED3\u675F\u540E\u901A\u5173\u8BE5\u9898\u7684\u4EE3\u7801\u8BE6\u60C5"};return tt.createElement(tt.Fragment,null,tt.createElement("h2",null," ",tt.createElement("span",null,Fr,tt.createElement(se.Z,{title:tt.createElement("div",null,tt.createElement("div",null,"\u4EE3\u7801\u5C55\u793A\u89C4\u5219\uFF1A"),tt.createElement("div",null,"1.\u5C55\u793A\u5B66\u5458\u5728\u4F5C\u4E1A\u622A\u6B62\u524D\u5F97\u5206\u6700\u9AD8\u7684\u4EE3\u7801\u7248\u672C\u3002"),tt.createElement("div",null," 2.\u82E5\u6709\u591A\u4E2A\u6700\u9AD8\u5206\u7248\u672C\uFF0C\u5C55\u793A\u63D0\u4EA4\u65F6\u95F4\u6700\u665A\u7684\u7248\u672C\u3002"),tt.createElement("div",null," 3.\u4F5C\u4E1A\u622A\u6B62\u540E\u63D0\u4EA4\u7684\u4EE3\u7801\u5C06\u4E0D\u4E88\u5C55\u793A\u3002"))},tt.createElement("i",{style:{marginLeft:10,color:"#3061D0",fontSize:16},className:"iconfont icon-tishixiaowenhao"}))),ur&&tt.createElement("span",{style:{marginLeft:"50px"}},"\u4EE3\u7801\u4FEE\u6539\u884C\u6570 ",ur),tt.createElement("span",null,tt.createElement(z.default,{style:{width:200},value:yo,onChange:tn}," ",Ya.map(kn=>tt.createElement(xt,{key:kn,value:kn},kn))," "))," "),(yo==null?void 0:yo.split(".")[1])==="md"&&tt.createElement(gt.Z,{height:300,autoHeight:Pn,defaultValue:((dr=(or=Rr==null?void 0:Rr.filter(kn=>kn.path===yo))==null?void 0:or[0])==null?void 0:dr.content)||"",className:pt.md}),(yo==null?void 0:yo.split(".")[1])!=="md"&&tt.createElement(lt.ZP,{height:300,language:wn.language,value:((oa=(Xr=Rr==null?void 0:Rr.filter(kn=>kn.path===yo))==null?void 0:Xr[0])==null?void 0:oa.content)||"",autoHeight:Pn,theme:"default",isCopy:!0,options:Tn}))},Oe=de(89779),fe=de(61193),me=de.n(fe),Ue=Object.defineProperty,qe=Object.getOwnPropertySymbols,ct=Object.prototype.hasOwnProperty,st=Object.prototype.propertyIsEnumerable,an=(Tt,St,zt)=>St in Tt?Ue(Tt,St,{enumerable:!0,configurable:!0,writable:!0,value:zt}):Tt[St]=zt,gn=(Tt,St)=>{for(var zt in St||(St={}))ct.call(St,zt)&&an(Tt,zt,St[zt]);if(qe)for(var zt of qe(St))st.call(St,zt)&&an(Tt,zt,St[zt]);return Tt},An=(Tt,St,zt)=>new Promise((Pn,ur)=>{var Rr=dr=>{try{or(zt.next(dr))}catch(Xr){ur(Xr)}},Fr=dr=>{try{or(zt.throw(dr))}catch(Xr){ur(Xr)}},or=dr=>dr.done?Pn(dr.value):Promise.resolve(dr.value).then(Rr,Fr);or((zt=zt.apply(Tt,St)).next())});const Wn=({shixunHomeworks:Tt,autoHeight:St,classroomList:zt,dispatch:Pn})=>{var ur,Rr,Fr,or,dr,Xr,oa;const{shixunWorkReport:Ya}=Tt,{stage_list:ra,work_id:Ka}=Ya,[yo,wn]=(0,ye.useState)(!1),[tn,fn]=(0,ye.useState)(!0),[kn,Gr]=(0,ye.useState)({left:0,top:0,bottom:0,right:0}),nr=(0,ye.useRef)(null),[er,Sa]=(0,ye.useState)(!1),fa=(ya,aa)=>{var Uo;const{clientWidth:Io,clientHeight:Go}=window.document.documentElement,ri=(Uo=nr.current)==null?void 0:Uo.getBoundingClientRect();ri&&Gr({left:-ri.left+aa.x,right:Io-(ri.right-aa.x),top:-ri.top+aa.y,bottom:Go-(ri.bottom-aa.y)})},ja=(0,Ke.useParams)(),ka=(0,Ge.GJ)(),Jr={selectOnLineNumbers:!0,readOnly:!0,minimap:{enabled:!1},scrollBeyondLastLine:!1};(0,ye.useEffect)(()=>{console.log(ja)},[]);const za=[{title:"\u8BC4\u6D4B\u6B21\u6570",dataIndex:"position",width:"100px"},{title:"\u8BE6\u7EC6\u4FE1\u606F",dataIndex:"output_detail",render:(ya,aa,Uo)=>ye.createElement("div",null,ya,aa.is_work_end_evaluate&&ye.createElement(Ze.vA,{status:5}))},{title:"\u8BC4\u6D4B\u8017\u65F6(S)",dataIndex:"ts_time",width:"130px"},{title:"\u5185\u5B58\u6D88\u8017(MB)",width:"150px",dataIndex:"ts_mem"},{title:"\u8BC4\u6D4B\u65F6\u95F4",width:"170px",dataIndex:"created_at",render:ya=>ze()(ya).format("YYYY-MM-DD HH:mm")},{title:"\u64CD\u4F5C",width:"80px",dataIndex:"query_index",render:(ya,aa)=>ye.createElement("span",{className:"c-blue current",onClick:()=>An(void 0,null,function*(){var Uo,Io;const Go=yield(0,Oe.Lk)(aa.game_identifier,{path:(Io=(Uo=aa.path)==null?void 0:Uo.replace(/\;/g,";"))==null?void 0:Io.split(";")[0],query_index:aa.query_index,homework_common_id:ja.categoryId});(Go==null?void 0:Go.status)===0&&(Sa(Go),wn(!0))})},aa.query_index?"\u67E5\u770B\u4EE3\u7801":"")}],Ro=[{title:"\u8C03\u5206\u7528\u6237",dataIndex:["user","name"],width:350,render:(ya,aa)=>{var Uo;return ye.createElement("span",null,ye.createElement("img",{width:30,height:30,style:{borderRadius:"50%",marginRight:"10px"},src:De.Z.IMG_SERVER+"/images/"+((Uo=aa==null?void 0:aa.user)==null?void 0:Uo.image_url)}),ya)}},{title:"\u8C03\u5206\u524D",dataIndex:"old_score",width:270,render:ya=>ye.createElement("span",null,"\u4FEE\u6B63\u524D\u5206\u6570\uFF1A",ya,"\u5206")},{title:"\u8C03\u5206\u540E",dataIndex:"score",width:270,render:ya=>ye.createElement("span",null,"\u4FEE\u6B63\u540E\u5206\u6570\uFF1A",ya,"\u5206")},{title:"\u8C03\u5206\u65F6\u95F4",dataIndex:"created_at",align:"right",render:ya=>ye.createElement("span",null,"\u4FEE\u6B63\u65F6\u95F4\uFF1A",ya?ze()(ya).format("YYYY-MM-DD HH:mm"):"--")}];function dn(ya,aa){return An(this,null,function*(){const{challenge_id:Uo}=ra[ya],Io=yield Pn({type:"shixunHomeworks/changeScore",payload:{categoryId:ja.homeworkId,type:"report",score:aa,challenge_id:Uo}});yield Pn({type:"shixunHomeworks/getShixunWorkReport",payload:gn({},ja)}),Io.status===0&&ge.ZP.success("\u64CD\u4F5C\u6210\u529F")})}function on(ya,aa){return(0,ve.U2)(`student_works/${Ka}/rep_passed_content.json`,{path:aa,game_id:ya})}const xa=Ya.shixun_detail;return ye.createElement(ye.Fragment,null,xa==null?void 0:xa.map(function(ya,aa){var Uo,Io;return ye.createElement("div",{key:aa},ye.createElement("aside",{className:"pl30 pr30",key:aa},ye.createElement("div",{className:`${Te.shixunTitle} mt10`},ye.createElement("div",null,ye.createElement("span",{className:"fa fa-code "}),ye.createElement("strong",{className:"c-black"},"\u7B2C",aa+1,"\u5173 ",ye.createElement(Ke.Link,{className:"c-black",target:"_blank",to:`/tasks/${ja.coursesId}/${ja.categoryId}/${ya.game_identifier}`},ya.subject))),ka?ye.createElement("span",null,"\u8C03\u5206\uFF1A",ye.createElement(Ft,{className:"game-score",max:ra[aa].game_score_full,defaultValue:ra[aa].game_score,onBlur:Go=>{var ri;if((0,Ge.Rm)()&&!((ri=zt.AssistantObject.practice)!=null&&ri.can_appraise)){ge.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}dn(aa,Go)}})):null),ye.createElement("div",{className:"font16 mt10"},ya.st===0&&(ya.path?typeof(ya==null?void 0:ya.game_codes_cn)=="string"?ye.createElement("aside",{className:Te.shixunWrp},ye.createElement(cn,{game_codes_cn:ya==null?void 0:ya.game_codes_cn,autoHeight:St,path:ya.path,game_id:ya.id,data:ya.game_codes,diff_code_count:ya.diff_code_count,onPathChange:on})):ye.createElement("div",{className:"font14",style:{border:"1px solid #d9d9d9",padding:"6px 10px"}}," \u63D0\u793A\uFF1A\u7EAF\u56FE\u5F62\u5316\u3001\u547D\u4EE4\u884C\u7684\u5B9E\u8BAD\u4E0D\u5C55\u793A\u901A\u5173\u4EE3\u7801\uFF0C\u5982\u9700\u67E5\u770B\u5B66\u751F\u4EE3\u7801\u8BF7\u524D\u5F80\u4F5C\u4E1A\u5217\u8868\u5BFC\u51FA\u5B9E\u9A8C\u6587\u4EF6\u3002"):"\u76EE\u524D\u56FE\u5F62\u5316\u3001\u547D\u4EE4\u884C\u3001Vscode\u7F16\u8F91\u5668\u3001\u9009\u62E9\u9898\u6A21\u5F0F\u7684\u5B9E\u9A8C\uFF0C\u6682\u65F6\u65E0\u6CD5\u4F7F\u7528\u6B64\u529F\u80FD"),ya.st===1&&(ya.complete_status===0?"\u672C\u5173\u6682\u672A\u901A\u8FC7\uFF0C\u65E0\u901A\u5173\u4EE3\u7801":"\u76EE\u524D\u56FE\u5F62\u5316\u3001\u547D\u4EE4\u884C\u3001Vscode\u7F16\u8F91\u5668\u3001\u9009\u62E9\u9898\u6A21\u5F0F\u7684\u5B9E\u9A8C\uFF0C\u6682\u65F6\u65E0\u6CD5\u4F7F\u7528\u6B64\u529F\u80FD")),ye.createElement("aside",{className:"mt10 font16"},(Uo=ya.outputs)!=null&&Uo.length?ye.createElement(x.default,{columns:za,pagination:{hideOnSinglePage:!0},dataSource:ya.outputs.map(Go=>gn(gn({},ya),Go))}):"\u672C\u5173\u65E0\u8BC4\u6D4B\u8BB0\u5F55"),ye.createElement("aside",{className:"mt10 font16"},((Io=ya==null?void 0:ya.adjust_review_score_list)==null?void 0:Io.length)>0&&(0,Ge.GJ)()&&ye.createElement("div",null,ye.createElement("strong",{className:"c-black font14"},"\u8C03\u5206\u8BB0\u5F55"),ye.createElement(x.default,{columns:Ro,pagination:{hideOnSinglePage:!0},dataSource:ya.adjust_review_score_list,showHeader:!1})))))}),ye.createElement(Le.default,{open:yo,width:900,okText:"\u5173\u95ED",cancelButtonProps:{style:{display:"none"}},onOk:()=>{Sa({}),wn(!1)},onCancel:()=>{Sa({}),wn(!1)},title:ye.createElement("div",{style:{width:"100%",cursor:"move"},onMouseOver:()=>{tn&&fn(!1)},onMouseOut:()=>{fn(!0)},onFocus:()=>{},onBlur:()=>{}},"\u4EE3\u7801\u5185\u5BB9"),modalRender:ya=>ye.createElement(me(),{disabled:tn,bounds:kn,nodeRef:nr,onStart:(aa,Uo)=>fa(aa,Uo)},ye.createElement("div",{ref:nr},ya))},ye.createElement("div",{style:{background:"#F6F7F9",padding:"30px 20px",marginBottom:20}},ye.createElement("div",{style:{display:"flex",alignItems:"center"}},((ur=er==null?void 0:er.data)==null?void 0:ur.output_detail)==="\u8BC4\u6D4B\u901A\u8FC7"?ye.createElement("i",{style:{color:"#0B9953",fontSize:18,marginRight:10},className:"iconfont icon-duigou1"}):ye.createElement("i",{style:{color:"#E21010",fontSize:18,marginRight:10},className:"iconfont icon-jinggao1"}),ye.createElement("div",{style:{color:((Rr=er==null?void 0:er.data)==null?void 0:Rr.output_detail)==="\u8BC4\u6D4B\u901A\u8FC7"?"#0B9953":"#E21010",fontSize:16,fontWeight:600}},(Fr=er==null?void 0:er.data)==null?void 0:Fr.output_detail)),ye.createElement("div",{style:{display:"flex",justifyContent:"space-between",marginTop:20}},ye.createElement("div",null,ye.createElement("span",{style:{color:"#6A7283"}},"\u8BC4\u6D4B\u65F6\u95F4"),ye.createElement("span",{style:{marginLeft:8,color:"#232B40"}},ze()((or=er==null?void 0:er.data)==null?void 0:or.created_at).format("YYYY-MM-DD HH:mm:ss"))),ye.createElement("div",null,ye.createElement("span",{style:{color:"#6A7283"}},"\u7528\u65F6"),ye.createElement("span",{style:{marginLeft:8,color:"#232B40"}},(dr=er==null?void 0:er.data)==null?void 0:dr.ts_time,"s")),ye.createElement("div",null,ye.createElement("span",{style:{color:"#6A7283"}},"\u5185\u5B58"),ye.createElement("span",{style:{marginLeft:8,color:"#232B40"}},(Xr=er==null?void 0:er.data)==null?void 0:Xr.ts_mem,"mb")),ye.createElement("div",null,ye.createElement("span",{style:{color:"#6A7283"}},"\u7528\u4F8B\u901A\u8FC7\u7387"),ye.createElement("span",{style:{marginLeft:8,color:"#232B40"}},((oa=er==null?void 0:er.data)==null?void 0:oa.test_set_passed_rate)*100,"%")))),ye.createElement(lt.ZP,{height:500,autoHeight:St,language:"python",theme:"default",isCopy:!0,value:decodeURIComponent(escape(window.atob((er==null?void 0:er.content)||""))),options:Jr})))};var Bt=(0,Ke.connect)(({shixunHomeworks:Tt,loading:St,globalSetting:zt,classroomList:Pn})=>({shixunHomeworks:Tt,globalSetting:zt,loading:St.effects,classroomList:Pn}))(Wn),Kt=de(22150),Wt={greyText:"greyText___Ypiia",info:"info___XU7Xg",label:"label___r5OkY",blackContent:"blackContent___SxDt0",orangeContent:"orangeContent___Nuo4G",inputLabel:"inputLabel___OM4Yo",tableTitle:"tableTitle___uG2JW",scoreTable:"scoreTable___M561L"},bn=de(1916),yt=de(67294),Un=Object.defineProperty,kt=Object.getOwnPropertySymbols,Jt=Object.prototype.hasOwnProperty,Nn=Object.prototype.propertyIsEnumerable,Qn=(Tt,St,zt)=>St in Tt?Un(Tt,St,{enumerable:!0,configurable:!0,writable:!0,value:zt}):Tt[St]=zt,qn=(Tt,St)=>{for(var zt in St||(St={}))Jt.call(St,zt)&&Qn(Tt,zt,St[zt]);if(kt)for(var zt of kt(St))Nn.call(St,zt)&&Qn(Tt,zt,St[zt]);return Tt},Cr=(Tt,St,zt)=>new Promise((Pn,ur)=>{var Rr=dr=>{try{or(zt.next(dr))}catch(Xr){ur(Xr)}},Fr=dr=>{try{or(zt.throw(dr))}catch(Xr){ur(Xr)}},or=dr=>dr.done?Pn(dr.value):Promise.resolve(dr.value).then(Rr,Fr);or((zt=zt.apply(Tt,St)).next())});const Zr=({shixunHomeworks:Tt,dispatch:St,classroomList:zt})=>{const{shixunWorkReport:Pn}=Tt,ur=(0,Ke.useParams)(),[Rr,Fr]=(0,ye.useState)(!1),[or]=Kt.default.useForm(),[dr,Xr]=Le.default.useModal(),[oa,Ya]=(0,ye.useState)(!1),[ra,Ka]=(0,ye.useState)(!1);(0,ye.useEffect)(()=>{var tn,fn,kn,Gr;Tt.actionTabs.key==="\u66F4\u6539\u70B9\u8BC4"&&or.setFieldsValue({comment:(fn=(tn=Tt.actionTabs.selectArrs)==null?void 0:tn.data)==null?void 0:fn.work_comment,hidden_comment:(Gr=(kn=Tt.actionTabs.selectArrs)==null?void 0:kn.data)==null?void 0:Gr.work_comment_hidden})},[Tt.actionTabs.key]);const yo=()=>Cr(void 0,null,function*(){const tn=or.getFieldsValue();(yield(0,ve.ZP)(`/api/student_works/${ur.homeworkId}/shixun_work_comment.json`,{method:"post",body:{hidden_comment:tn.hidden_comment,comment:tn.comment}})).status===0&&(ge.ZP.success("\u8BC4\u9605\u6210\u529F"),or.resetFields(),St({type:"shixunHomeworks/setActionTabs",payload:{}}),St({type:"shixunHomeworks/getShixunWorkReport",payload:qn({},ur)}))}),wn=[{title:"\u5173\u5361",dataIndex:"name",render:(tn,fn,kn)=>kn+1},{title:"\u4EFB\u52A1\u540D\u79F0",dataIndex:"name",render:(tn,fn,kn)=>yt.createElement("div",null,tn,fn.complete_status===4&&yt.createElement(Ze.vA,{status:fn.complete_status}))},{title:"\u5F00\u59CB\u65F6\u95F4",dataIndex:"open_time"},{title:"\u5B8C\u6210\u65F6\u95F4",dataIndex:"finished_time"},{title:"\u8BC4\u6D4B\u6B21\u6570",dataIndex:"evaluate_count",align:"center"},{title:"\u5B9E\u8BAD\u8017\u65F6",dataIndex:"time_consuming"},{title:"\u662F\u5426\u67E5\u770B\u7B54\u6848",dataIndex:"view_answer",align:"center",render:tn=>tn?"\u662F":"\u5426"},{title:"\u5173\u5361\u5F97\u5206",dataIndex:"game_score",align:"center",render:(tn,fn)=>yt.createElement("div",null,yt.createElement("span",{style:{color:parseFloat(fn.game_score_full)!==parseFloat(tn)?"#E30000":"#53C41B"}},tn),"/",fn.game_score_full)},{title:"\u8C03\u5206",dataIndex:"game_score",align:"center",fixed:"right",render:(tn,fn)=>(0,Ge.GJ)()?yt.createElement(Ft,{max:fn.game_score_full,defaultValue:parseFloat(tn),onBlur:kn=>Cr(void 0,null,function*(){var Gr,nr;if((0,Ge.Rm)()&&!((Gr=zt.AssistantObject.practice)!=null&&Gr.can_appraise)){ge.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}const er=yield St({type:"shixunHomeworks/changeScore",payload:{categoryId:ur.homeworkId,type:"report",score:kn,challenge_id:fn.challenge_id}});(nr=Tt==null?void 0:Tt.actionTabs)==null||nr.fn(),yield St({type:"shixunHomeworks/getShixunWorkReport",payload:qn({},ur)}),er.status===0&&ge.ZP.success("\u64CD\u4F5C\u6210\u529F")})}):tn}];return yt.createElement(yt.Fragment,null,Xr,yt.createElement(Le.default,{centered:!0,width:1080,title:"\u70B9\u8BC4\u4F5C\u4E1A",open:Tt.actionTabs.key==="\u66F4\u6539\u70B9\u8BC4",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>Cr(void 0,null,function*(){var tn;if((0,Ge.Rm)()&&!((tn=zt.AssistantObject.practice)!=null&&tn.can_appraise)){ge.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}const fn=or.getFieldsValue();JSON.stringify(fn)==="{}"||fn.hidden_comment===""&&fn.comment===""?Fr(!0):yo()}),onCancel:()=>{St({type:"shixunHomeworks/setActionTabs",payload:{}})}},yt.createElement(b.Z,{justify:"space-between",className:Wt.info},yt.createElement(E.Z,null,yt.createElement("span",{className:`${Wt.label} ${Wt.greyText}`},"\u59D3\u540D"),yt.createElement("span",{className:Wt.blackContent},Pn==null?void 0:Pn.username)),yt.createElement(E.Z,null,yt.createElement("span",{className:`${Wt.label} ${Wt.greyText}`},"\u5B66\u53F7"),yt.createElement("span",{className:Wt.blackContent},(Pn==null?void 0:Pn.student_id)||"--")),yt.createElement(E.Z,null,yt.createElement("span",{className:`${Wt.label} ${Wt.greyText}`},"\u73ED\u7EA7"),yt.createElement("span",{className:Wt.blackContent},(Pn==null?void 0:Pn.group_name)||"--")),yt.createElement(E.Z,null,yt.createElement("span",{className:`${Wt.label} ${Wt.greyText}`},"\u5173\u5361\u5F97\u5206"),yt.createElement("span",{className:Wt.orangeContent},(Pn==null?void 0:Pn.challenge_score)||"--")),yt.createElement(E.Z,null,yt.createElement("span",{className:`${Wt.label} ${Wt.greyText}`},"\u6548\u7387\u5206"),yt.createElement("span",{className:Wt.orangeContent},(Pn==null?void 0:Pn.eff_score)||"--")),yt.createElement(E.Z,null,yt.createElement("span",{className:`${Wt.label} ${Wt.greyText}`},"\u8865\u4EA4\u6263\u5206"),yt.createElement("span",{className:Wt.orangeContent},(Pn==null?void 0:Pn.late_penalty)||"--")),yt.createElement(E.Z,null,yt.createElement("span",{className:`${Wt.label} ${Wt.greyText}`},"\u6700\u7EC8\u6210\u7EE9"),yt.createElement("span",{className:Wt.orangeContent},(Pn==null?void 0:Pn.work_score)||"--"))),yt.createElement(Kt.default,{form:or,onChange:()=>{Rr&&Fr(!1)}},yt.createElement(b.Z,{wrap:!1,align:"middle",justify:"space-between"},yt.createElement(E.Z,null,yt.createElement("div",{className:`${Wt.inputLabel} ${Wt.greyText}`},"\u5B66\u751F\u548C\u8BFE\u5802\u8001\u5E08\u53EF\u89C1")),yt.createElement(E.Z,null,yt.createElement(bn.Z,{isShowComponent:(0,Ge.G5)(),ModalProps:{open:oa,onCancel:()=>{Ya(!1)}},onDataSelect:(tn,fn)=>Cr(void 0,[tn,fn],function*(kn,{node:Gr}){const nr=()=>{or.setFieldsValue({comment:Gr==null?void 0:Gr.value}),Ya(!1)};if(or.getFieldValue("comment")){dr.confirm({icon:null,title:"\u63D0\u793A",centered:!0,content:"\u7CFB\u7EDF\u68C0\u6D4B\u5230\u8BC4\u8BED\u8F93\u5165\u6846\u4E2D\u5DF2\u6709\u5185\u5BB9\uFF0C\u4F7F\u7528\u5E38\u7528\u8BC4\u8BED\u5C06\u4F1A\u8986\u76D6\u539F\u6709\u5185\u5BB9\u3002\u662F\u5426\u4F7F\u7528\uFF1F",okText:"\u4F7F\u7528",onOk:nr});return}nr()})},yt.createElement(we.ZP,{style:{padding:0,height:"auto"},icon:yt.createElement("i",{className:"iconfont icon-changyongpingyu"}),type:"link",onClick:tn=>{Ya(!0)}},"\u5E38\u7528\u8BC4\u8BED")))),yt.createElement(Kt.default.Item,{name:"comment"},yt.createElement(y.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165\u8BC4\u9605\u5185\u5BB9",rows:3})),yt.createElement(b.Z,{wrap:!1,align:"middle",justify:"space-between"},yt.createElement(E.Z,null,yt.createElement("div",{className:`${Wt.inputLabel} ${Wt.greyText}`},"\u4EC5\u8BFE\u5802\u8001\u5E08\u53EF\u89C1")),yt.createElement(E.Z,null,yt.createElement(bn.Z,{isShowComponent:(0,Ge.G5)(),ModalProps:{open:ra,onCancel:()=>{Ka(!1)}},onDataSelect:(tn,fn)=>Cr(void 0,[tn,fn],function*(kn,{node:Gr}){const nr=()=>{or.setFieldsValue({hidden_comment:Gr==null?void 0:Gr.value}),Ka(!1)};if(or.getFieldValue("hidden_comment")){dr.confirm({icon:null,title:"\u63D0\u793A",centered:!0,content:"\u7CFB\u7EDF\u68C0\u6D4B\u5230\u8BC4\u8BED\u8F93\u5165\u6846\u4E2D\u5DF2\u6709\u5185\u5BB9\uFF0C\u4F7F\u7528\u5E38\u7528\u8BC4\u8BED\u5C06\u4F1A\u8986\u76D6\u539F\u6709\u5185\u5BB9\u3002\u662F\u5426\u4F7F\u7528\uFF1F",okText:"\u4F7F\u7528",onOk:nr});return}nr()})},yt.createElement(we.ZP,{style:{padding:0,height:"auto"},icon:yt.createElement("i",{className:"iconfont icon-changyongpingyu"}),type:"link",onClick:tn=>{Ka(!0)}},"\u5E38\u7528\u8BC4\u8BED")))),yt.createElement(Kt.default.Item,{name:"hidden_comment"},yt.createElement(y.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165\u8BC4\u9605\u5185\u5BB9",rows:3}))),Rr&&yt.createElement("p",{className:"c-red"},"\u8BC4\u9605\u5185\u5BB9\u81F3\u5C11\u6709\u4E00\u4E2A\u4E0D\u4E3A\u7A7A"),yt.createElement("div",{className:Wt.tableTitle},"\u5173\u5361\u6210\u7EE9"),yt.createElement(x.default,{className:Wt.scoreTable,dataSource:Pn.stage_list,rowKey:"challenge_id",pagination:!1,columns:wn,scroll:{x:"max-content"}})))};var Wr=(0,Ke.connect)(({shixunHomeworks:Tt,classroomList:St})=>({shixunHomeworks:Tt,classroomList:St}))(Zr),cr=de(42420),mr=de(85725),vr=de(86763),jr=de(80599),Aa=de.n(jr),ca={wrap:"wrap___rFTBy",line:"line___kZzhh"},bo=de(446),ho=({detailData:Tt})=>{var St;return ye.createElement("div",{className:ca.wrap},ye.createElement(bo.ij,{hideBar:!0,actionAnalysis:!0,loading:!1,emptyData:[(0,bo.Uf)(Tt),(Tt==null?void 0:Tt.photos)||[]],title:"\u5B9E\u8BAD\u5B66\u4E60\u5206\u6790",noDataText:"\u8BE5\u5B66\u751F\u65E0\u5B66\u4E60\u884C\u4E3A\u5206\u6790\u6570\u636E"},ye.createElement(bo.ZP,{hideBar:!0,title:"\u5B9E\u8BAD\u5B66\u4E60\u5206\u6790",data:(0,bo.Uf)(Tt)}),!!((St=Tt==null?void 0:Tt.photos)!=null&&St.length)&&ye.createElement(ye.Fragment,null,ye.createElement("div",{className:ca.line}),ye.createElement(bo._s,{dataSource:Tt==null?void 0:Tt.photos,right:21,col:4,wrapWidth:1140}))))},da=de(98769),ln=de(67294),ga=Object.defineProperty,Lo=Object.defineProperties,Bi=Object.getOwnPropertyDescriptors,_a=Object.getOwnPropertySymbols,Po=Object.prototype.hasOwnProperty,Di=Object.prototype.propertyIsEnumerable,Yi=(Tt,St,zt)=>St in Tt?ga(Tt,St,{enumerable:!0,configurable:!0,writable:!0,value:zt}):Tt[St]=zt,ma=(Tt,St)=>{for(var zt in St||(St={}))Po.call(St,zt)&&Yi(Tt,zt,St[zt]);if(_a)for(var zt of _a(St))Di.call(St,zt)&&Yi(Tt,zt,St[zt]);return Tt},En=(Tt,St)=>Lo(Tt,Bi(St)),On=(Tt,St)=>{var zt={};for(var Pn in Tt)Po.call(Tt,Pn)&&St.indexOf(Pn)<0&&(zt[Pn]=Tt[Pn]);if(Tt!=null&&_a)for(var Pn of _a(Tt))St.indexOf(Pn)<0&&Di.call(Tt,Pn)&&(zt[Pn]=Tt[Pn]);return zt},vn=(Tt,St,zt)=>new Promise((Pn,ur)=>{var Rr=dr=>{try{or(zt.next(dr))}catch(Xr){ur(Xr)}},Fr=dr=>{try{or(zt.throw(dr))}catch(Xr){ur(Xr)}},or=dr=>dr.done?Pn(dr.value):Promise.resolve(dr.value).then(Rr,Fr);or((zt=zt.apply(Tt,St)).next())});const Pr=Tt=>{var St=Tt,{shixunHomeworks:zt,classroomList:Pn,globalSetting:ur,loading:Rr,user:Fr,dispatch:or}=St,dr=On(St,["shixunHomeworks","classroomList","globalSetting","loading","user","dispatch"]),Xr,oa,Ya;const[ra,Ka]=(0,ye.useState)(ma({},(0,Ke.useParams)())),yo=(0,Ke.useParams)(),[wn,tn]=(0,ye.useState)({page:1,page_size:10}),fn=(0,Ke.useLocation)(),[]=(0,ye.useState)([]),[kn,Gr]=(0,ye.useState)(),nr=(0,ye.useRef)(),[er,Sa]=(0,ye.useState)(!1),[fa,ja]=(0,ye.useState)(!0),[ka,Jr]=(0,ye.useState)(!1),[za,Ro]=(0,ye.useState)(!1),{shixunWorkReport:dn}=zt,[on,xa]=(0,ye.useState)(),[ya,aa]=(0,ye.useState)([]),[Uo,Io]=(0,ye.useState)(),[Go,ri]=(0,ye.useState)("all"),qi=(0,Ge.GJ)(),[xA,mi]=(0,ye.useState)(new(pe())),[Oi,Oa]=(0,ye.useState)(0),[lo,Si]=(0,ye.useState)(!1),[Ei,ki]=(0,ye.useState)(!1),[To,Is]=(0,ye.useState)(!1),[tA,nA]=(0,ye.useState)(""),[ps,YA]=(0,ye.useState)(!1),[vA,KA]=(0,ye.useState)(!0),[Ms,BA]=(0,ye.useState)(0),is=(0,ye.useRef)(JSON.parse(sessionStorage.all_student_works_params||"{}")),$i=(0,ye.useRef)(),SA=()=>vn(void 0,null,function*(){(Fr.userInfo.is_teacher||Fr.userInfo.admin)&&(YA(!0),KA(!1))});(0,ye.useEffect)(()=>{var oe;(0,Ge.Rm)()&&Pn.AssistantObject.practice&&!((oe=Pn.AssistantObject.practice)!=null&&oe.can_view)&&Ke.history.replace("/403")},[(Xr=Pn.AssistantObject.practice)==null?void 0:Xr.can_view]),(0,ye.useEffect)(()=>{SA(),console.log("\u6253\u5370\u7684------",dn),$i.current=dn==null?void 0:dn.next_student_work_id,nA(dn.repeat_minus_score)},[dn,Fr]),(0,ye.useEffect)(()=>{console.log("\u89E6\u53D1\u8FD9",dn.work_score),BA(dn.work_score)},[dn.work_score,tA]),(0,ye.useEffect)(()=>(or({type:"globalSetting/footerToggle",payload:!1}),()=>{or({type:"globalSetting/footerToggle",payload:!0})}),[]),(0,ye.useEffect)(()=>{var oe;if(dn){let ne=[];(oe=dn==null?void 0:dn.target_test_sets)==null||oe.map((re,he)=>{var Ce;(Ce=re==null?void 0:re.targets)==null||Ce.map((Se,Ne)=>{var ke;Se.name=re==null?void 0:re.name,Se.total_target_score=re==null?void 0:re.total_target_score,Se.actual_target_score=re==null?void 0:re.actual_target_score,Se.rowSpan=Ne===0?(ke=re==null?void 0:re.targets)==null?void 0:ke.length:0,Se.order=he+1,ne.push(Se)})}),xa(ne),(0,Ge.Rm)()&&or({type:"classroomList/getAssistantPermissions",payload:{course_id:ra.coursesId}})}},[dn]),(0,ye.useEffect)(()=>{zt.actionTabs.key==="\u5BFC\u51FA\u5B9E\u8BAD\u62A5\u544A"&&(dn==null?void 0:dn.students_count)>0&&!fa&&setTimeout(()=>{DA("all")},800)},[dn==null?void 0:dn.homework_common_id,fa]),(0,ye.useEffect)(()=>{Ka(ma({},yo))},[fn.pathname]);const Rl=()=>{document.body.scrollIntoView()},Yl=oe=>{wn.page=oe,tn(ma({},wn)),XA(wn,Go)},XA=(oe,ne)=>vn(void 0,null,function*(){Jr(!0);const re=yield(0,ve.ZP)(`/api/student_works/${ra==null?void 0:ra.homeworkId}/adjust_review_score_histories.json`,{method:"get",params:En(ma({},oe),{challenge_id:ne=="all"?null:ne})});(re==null?void 0:re.status)===0&&(aa(re==null?void 0:re.list),Io(re==null?void 0:re.count)),Jr(!1)});function Al(){return vn(this,null,function*(){is.current=JSON.parse(sessionStorage.all_student_works_params||"{}")})}const Xl=()=>{document.querySelectorAll("canvas").forEach(oe=>{(!oe.clientWidth||!oe.clientHeight)&&oe.remove()})},ll=oe=>vn(void 0,null,function*(){const ne=yield(0,vr.t1)({homeworkId:oe||ra.homeworkId});Gr(ne==null?void 0:ne.data)}),DA=oe=>vn(void 0,null,function*(){var ne,re,he,Ce;let Se=0,Ne;Ne=Le.default.info({width:460,title:ln.createElement("div",null,"\u6B63\u5728\u5BFC\u51FA\u5B9E\u8BAD\u62A5\u544A,",ln.createElement("span",{className:"c-red"},"\u8BF7\u52FF\u5173\u95ED\u6216\u64CD\u4F5C\u5F53\u524D\u6D4F\u89C8\u5668\u7A97\u53E3")),content:ln.createElement("div",null,"\u5F53\u524D\u8FDB\u5EA6: ",ln.createElement("span",{className:"c-blue"},Se+1),"/",oe!=="all"?1:dn==null?void 0:dn.students_count,ln.createElement("br",null),"\u8BF7\u52FF\u5173\u95ED\u6D4F\u89C8\u5668\u7A97\u53E3"),maskClosable:!1,className:Te.modal,onOk:()=>{}});const ke={margin:[0,0],filename:`${dn!=null&&dn.student_id&&(dn==null?void 0:dn.student_id)!="--"?dn==null?void 0:dn.student_id:""}${dn.username}.pdf`,html2canvas:{useCORS:!0,letterRendering:!0},jsPDF:{unit:"mm",format:"a4",orientation:"landscape"}},Me=xA.folder(dn==null?void 0:dn.shixun_name);function et(dt){return vn(this,null,function*(){yield ll(dt||$i.current);const vt=yield or({type:"shixunHomeworks/getShixunWorkReport",payload:ma({homeworkId:dt||$i.current},is.current||{})});$i.current=vt==null?void 0:vt.next_student_work_id,Rl(),Se++,setTimeout(()=>vn(this,null,function*(){var It,Ve,Xt,Rt;Xl();const Ut=Me.folder(`${vt==null?void 0:vt.group_name}`).folder(`${vt!=null&&vt.student_id&&(vt==null?void 0:vt.student_id)!="--"?vt.student_id+"+":""}${vt==null?void 0:vt.username}`),nn=document.querySelector("#export-all").children;let In=Aa()();for(let _n=0;_nvn(this,null,function*(){_n0&&((Xt=(Ve=vt==null?void 0:vt.shixun_detail)==null?void 0:Ve.filter(_n=>{var Ar;return((Ar=_n==null?void 0:_n.game_codes)==null?void 0:Ar.length)>0}))==null?void 0:Xt.length)>0){const _n=Ut.folder("\u4EE3\u7801\u6587\u4EF6");(Rt=vt==null?void 0:vt.shixun_detail)==null||Rt.map((Ar,Ur)=>{var Xn,Sn;if(((Xn=Ar==null?void 0:Ar.game_codes)==null?void 0:Xn.length)>0){const Qr=_n.folder(`\u7B2C${Ur+1}\u5173-${Ar.subject}-${Ar.id}`);(Sn=Ar==null?void 0:Ar.game_codes)==null||Sn.map(Dr=>{Qr.file(`${Dr.filename}.txt`,Dr==null?void 0:Dr.content)})}})}Ne.update({content:ln.createElement("div",null,"\u5F53\u524D\u8FDB\u5EA6: ",ln.createElement("span",{className:"c-blue"},Se),"/",vt==null?void 0:vt.students_count,ln.createElement("br",null),"\u8BF7\u52FF\u5173\u95ED\u6D4F\u89C8\u5668\u7A97\u53E3")}),Se==(vt==null?void 0:vt.students_count)?(Ne.destroy(),Ml()):et()}),2200)})}if(oe!=="all"||(dn==null?void 0:dn.students_count)<2){Xl(),Rl();const dt=nr.current.children;let vt=Aa()();const Ve=Me.folder(`${dn==null?void 0:dn.group_name}`).folder(`${dn!=null&&dn.student_id&&(dn==null?void 0:dn.student_id)!="--"?(dn==null?void 0:dn.student_id)+"+":""}${dn==null?void 0:dn.username}`);for(let Xt=0;Xtvn(void 0,null,function*(){Xt0&&((he=(re=dn==null?void 0:dn.shixun_detail)==null?void 0:re.filter(Xt=>{var Rt;return((Rt=Xt==null?void 0:Xt.game_codes)==null?void 0:Rt.length)>0}))==null?void 0:he.length)>0){const Xt=Ve.folder("\u4EE3\u7801\u6587\u4EF6");(Ce=dn==null?void 0:dn.shixun_detail)==null||Ce.map((Rt,rn)=>{var Ut,nn;if(((Ut=Rt==null?void 0:Rt.game_codes)==null?void 0:Ut.length)>0){const In=Xt.folder(`\u7B2C${rn+1}\u5173-${Rt.subject}-${Rt.id}`);(nn=Rt==null?void 0:Rt.game_codes)==null||nn.map(_n=>{In.file(`${_n.filename}.txt`,_n==null?void 0:_n.content)})}})}Ne.destroy(),Ml();return}else et(dn==null?void 0:dn.first_student_work_id)}),Ml=()=>{xA.generateAsync({type:"blob"}).then(function(oe){console.log(dn,"shixunWorkReport");const ne=document.createElement("a");ne.href=window.URL.createObjectURL(oe),ne.download=(dn==null?void 0:dn.shixun_name)+".zip",document.body.appendChild(ne);const re=document.createEvent("MouseEvents");re.initEvent("click",!1,!1),ne.dispatchEvent(re),document.body.removeChild(ne),mi(new(pe()))}),Ro(!1)};(0,ye.useEffect)(()=>{ul()},[ra.homeworkId]);const ul=()=>vn(void 0,null,function*(){yield or({type:"shixunHomeworks/getShixunWorkReport",payload:ma(ma({},ra),is.current||{})}),ll(),(0,Ge.GJ)()&&Al(),ja(!1)}),Cl=[{title:"\u5173\u5361",dataIndex:"name",render:(oe,ne,re)=>re+1},{title:"\u4EFB\u52A1\u540D\u79F0",dataIndex:"name",render:(oe,ne,re)=>ln.createElement("div",null,oe,ne.complete_status===4&&ln.createElement(Ze.vA,{status:ne.complete_status}))},{title:"\u5F00\u542F\u65F6\u95F4",dataIndex:"open_time"},{title:"\u4EE3\u7801\u4FEE\u6539\u884C\u6570",dataIndex:"diff_code_count",render:(oe,ne,re)=>oe||"- -"},{title:"\u8BC4\u6D4B\u6B21\u6570",dataIndex:"evaluate_count"},{title:"\u5B8C\u6210\u65F6\u95F4",dataIndex:"finished_time"},{title:"\u5B9E\u8BAD\u8017\u65F6",dataIndex:"time_consuming"},{title:"\u662F\u5426\u67E5\u770B\u7B54\u6848",dataIndex:"view_answer",render:oe=>oe?"\u662F":"\u5426"},{title:"\u7ECF\u9A8C\u503C",dataIndex:"experience",render:(oe,ne)=>ln.createElement("div",null,ln.createElement("span",{style:{color:parseFloat(ne.myself_experience)!==parseFloat(oe)?"red":"green"}},ne.myself_experience),"/",oe)},{title:"\u5173\u5361\u5F97\u5206",dataIndex:"game_score",render:(oe,ne)=>ln.createElement("div",null,ln.createElement("span",{style:{color:parseFloat(ne.game_score_full)!==parseFloat(oe)?"red":"green"}},oe),"/",ne.game_score_full)},{title:"\u8C03\u5206",dataIndex:"game_score",render:(oe,ne)=>qi?ln.createElement(Ft,{max:ne.game_score_full,defaultValue:parseFloat(oe),onBlur:re=>vn(void 0,null,function*(){var he;if((0,Ge.Rm)()&&!((he=Pn.AssistantObject.practice)!=null&&he.can_appraise)){ge.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}const Ce=yield or({type:"shixunHomeworks/changeScore",payload:{categoryId:ra.homeworkId,type:"report",score:re,challenge_id:ne.challenge_id}});XA({page:1,page_size:10},"all"),yield or({type:"shixunHomeworks/getShixunWorkReport",payload:ma(ma({},ra),is.current||{})}),Ce.status===0&&ge.ZP.success("\u64CD\u4F5C\u6210\u529F")})}):oe}];let Jl=[{title:"\u5173\u5361",dataIndex:"order",key:"order",render:(oe,ne,re)=>({children:oe,props:{rowSpan:ne.rowSpan}})},{title:"\u4EFB\u52A1\u540D\u79F0",dataIndex:"name",key:"name",render:(oe,ne,re)=>({children:oe,props:{rowSpan:ne.rowSpan}})},{title:"\u6307\u6807\u540D\u79F0",dataIndex:"target_name",key:"target_name"},{title:"\u6307\u6807\u9884\u671F\u7ED3\u679C",dataIndex:"output",key:"output"},{title:"\u6307\u6807\u5B9E\u9645\u7ED3\u679C",dataIndex:"actual_output",key:"actual_output"},{title:"\u6307\u6807\u5F97\u5206",dataIndex:"test_score",key:"test_score",render:(oe,ne,re)=>ln.createElement("div",null,ln.createElement("span",{style:{color:parseFloat(ne.actual_test_score)!==parseFloat(oe)?"red":"green"}},ne.actual_test_score),"/",oe)},{title:"\u6307\u6807\u603B\u5206",render:(oe,ne,re)=>({children:ln.createElement("div",null,ln.createElement("span",{style:{color:parseFloat(ne.actual_target_score)!==parseFloat(oe)?"red":"green"}},ne.actual_target_score),"/",oe),props:{rowSpan:ne.rowSpan}}),dataIndex:"total_target_score",key:"total_target_score"}];const pu=[{title:"\u5173\u5361",dataIndex:"challenge_num",width:220},{title:"\u8C03\u5206\u7528\u6237",dataIndex:["user","name"]},{title:"\u8C03\u5206\u524D",dataIndex:"old_score"},{title:"\u8C03\u5206\u540E",dataIndex:"score"},{title:"\u8C03\u5206\u65F6\u95F4",dataIndex:"created_at",render:oe=>ln.createElement("span",null,oe?ze()(oe).format("YYYY-MM-DD HH:mm"):"--")}],du=oe=>{or({type:"shixunHomeworks/setActionTabs",payload:{key:"",type:2}}),setTimeout(()=>{oe==="next"?Ke.history.push(`/classrooms/${ra.coursesId}/shixun_homework/${ra.categoryId}/${dn==null?void 0:dn.next_student_work_id}/comment`):Ke.history.push(`/classrooms/${ra.coursesId}/shixun_homework/${ra.categoryId}/${dn==null?void 0:dn.pre_student_work_id}/comment`)},200)},yA=oe=>{nA(""),oe.target.value&&(console.log("\u8FDB\u6765",dn),oe.target.value=oe.target.value>dn.repeat_setting_score?dn.repeat_setting_score:oe.target.value,nA(oe.target.value))},ql=()=>vn(void 0,null,function*(){const oe=yield(0,ve.ZP)(`/api/student_works/${dn==null?void 0:dn.work_id}/update_repeat_score`,{method:"put",body:{score:tA}});yield or({type:"shixunHomeworks/getShixunWorkReport",payload:ma(ma({},ra),is.current||{})}),oe.status===0&&ge.ZP.info("\u64CD\u4F5C\u6210\u529F")});return ln.createElement("section",{style:{minHeight:"100vh",background:`url(${de(26528)}) center / cover no-repeat`}},ln.createElement("div",{className:"edu-container pb-60px"},ln.createElement(Ie.Z,{loading:Rr["shixunHomeworks/getShixunWorkReport"],active:!0,avatar:{size:40},paragraph:{rows:5}},dn.course_id&&ln.createElement("section",{className:"animated fadeIn pt-10px"},dn.category&&ln.createElement(Pe.Z,{separator:">",items:[{title:ln.createElement(Ke.Link,{to:`/classrooms/${dn.course_id}/shixun_homework`}," ",dn.course_name)},{title:ln.createElement(Ke.Link,{to:`/classrooms/${dn.course_id}/shixun_homework/${dn.category.main?"":dn.category.category_id}`}," ",dn.category.category_name)},{title:ln.createElement(Ke.Link,{to:`/classrooms/${dn.course_id}/shixun_homework/${dn.homework_common_id}/detail`},"\u4F5C\u4E1A\u8BE6\u60C5")},{title:dn.username}]}),ln.createElement("div",{className:"mt20 flex item-center gap-10px"},ln.createElement("strong",{className:"font20"}," ",dn==null?void 0:dn.homework_name," "),ln.createElement(Ze.VV,{temporary:!0,status:dn.homework_status}),ln.createElement("div",{className:"ml-auto flex item-center gap-10px"},dn.view_tpi&&ln.createElement(we.ZP,{icon:ln.createElement("span",{className:"iconfont icon-yijiandianping"}),onClick:()=>{var oe,ne;(0,Ze.xg)(`/tasks/${dn==null?void 0:dn.course_id}/${dn==null?void 0:dn.homework_common_id}/${(ne=(oe=dn==null?void 0:dn.shixun_detail)==null?void 0:oe[0])==null?void 0:ne.game_identifier}`)}}," \u67E5\u770B\u5B66\u5458\u5B9E\u8BAD "),(0,Ge.GJ)()&&dn.homework_end===!1&&!!dn.myshixun_id&&ln.createElement(we.ZP,{icon:ln.createElement("span",{className:"iconfont icon-dahuizhongzuo3x"}),onClick:()=>vn(void 0,null,function*(){yield or({type:"shixunHomeworks/setActionTabs",payload:{key:"\u6253\u56DE\u91CD\u505A",selectArrs:{myshixun_identifier:dn.myshixun_identifier},homework_common_id:yo.categoryId}})})},"\u6253\u56DE\u91CD\u505A"),ln.createElement(we.ZP,{icon:ln.createElement("span",{className:"iconfont icon-daochu"}),onClick:()=>{var oe;if((0,Ge.Rm)()&&!((oe=Pn.AssistantObject.practice)!=null&&oe.can_download)){ge.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}DA("")},loading:er},"\u5BFC\u51FA\u5B9E\u8BAD\u62A5\u544A"),(0,Ge.GJ)()&&(dn==null?void 0:dn.students_count)>1&&ln.createElement(we.ZP,{icon:ln.createElement("span",{className:"iconfont icon-daochu"}),onClick:()=>{var oe;if((0,Ge.Rm)()&&!((oe=Pn.AssistantObject.practice)!=null&&oe.can_download)){ge.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Le.default.confirm({title:"\u9009\u62E9\u5BFC\u51FA\u65B9\u5F0F",closable:!0,icon:null,centered:!0,okText:ln.createElement(se.Z,{title:"\u5BFC\u51FA\u65F6\u4E0D\u80FD\u9000\u51FA\u6216\u5173\u95ED\u5BFC\u51FA\u9875\u9762\uFF0C\u53EF\u80FD\u4F1A\u5F71\u54CD\u5176\u4ED6\u64CD\u4F5C"},"\u524D\u7AEF\u5BFC\u51FA"),cancelText:ln.createElement(se.Z,{title:"\u751F\u6210\u5BFC\u51FA\u4EFB\u52A1\u540E\u53EF\u5173\u95ED\u9875\u9762\uFF0C\u540E\u53F0\u5BFC\u51FA\u6210\u529F\u540E\u5728\u5386\u53F2\u5BFC\u51FA\u9875\u9762\u81EA\u884C\u4E0B\u8F7D\uFF0C\u4E0D\u5F71\u54CD\u5176\u4ED6\u64CD\u4F5C"},"\u540E\u53F0\u5BFC\u51FA"),onOk:()=>{DA("all")},onCancel:()=>{},cancelButtonProps:{onClick:()=>{(0,da.jj)({categoryId:ra.categoryId,coursesId:ra.coursesId},"shixun_report")}}})}},"\u5BFC\u51FA\u5168\u90E8\u5B66\u751F\u5B9E\u8BAD\u62A5\u544A")))),ln.createElement("aside",{className:"mt-6px rounded-8px px-20px py-12px",style:{background:"rgba(255,255,255,0.9)",border:"1px solid #FFFFFF"}},ln.createElement("div",{id:"export-all",ref:nr},ln.createElement("div",{id:"export-all-1"},ln.createElement("div",{className:"flex item-center"},ln.createElement("div",{className:"text-16px"},"\u603B\u4F53\u8BC4\u4EF7"),(0,Ge.GJ)()&&ln.createElement(we.ZP,{className:`ml-auto rounded-4px ${Te.NewButtonStyle}`,type:"primary",icon:ln.createElement(ce.Z,{rev:void 0}),onClick:()=>{or({type:"shixunHomeworks/setActionTabs",payload:{key:"\u66F4\u6539\u70B9\u8BC4",selectArrs:{myshixun_identifier:dn.user_id,data:ma({},dn)},fn:()=>XA({page:1,page_size:10},"all")}})}}," ",dn.has_shixun_work_comment?"\u66F4\u6539\u70B9\u8BC4":"\u70B9\u8BC4\u4F5C\u4E1A"," ")),ln.createElement("div",{className:"mt-12px rounded-8px p-36px flex item-center relative",style:{background:"#FFFAF7",border:"1px solid #FFFFFF"}},ln.createElement("div",{className:"flex flex-col justify-center item-center"},ln.createElement("div",{className:"flex flex-col item-center"},ln.createElement("img",{className:"h-56px w-56px rounded-full",src:`${De.Z.IMG_SERVER}/images/${dn.image_url}`,alt:dn.username}),ln.createElement("div",{style:{marginTop:"-10px",marginLeft:"-10px"}},ln.createElement(Ze.vA,{status:dn.compelete_status}))),ln.createElement("div",{className:"text-20px c-grey-333 font-medium mt-10px"},dn.username),ln.createElement("div",{className:"mt-14px",style:{color:"#8E8E8E"}},"\u5B66\u53F7",ln.createElement("span",{className:"ml10 c-grey-333"},dn.student_id||"--")),ln.createElement("div",{className:"mt-14px",style:{color:"#8E8E8E"}},"\u5206\u73ED",ln.createElement("span",{className:"ml10 c-grey-333"},dn.group_name||"--"))),ln.createElement("div",{className:"flex-1 minW-0 flex flex-col justify-center gap-48px",style:{paddingLeft:"80px"}},ln.createElement("div",{className:"flex item-center justify-between",style:{width:"80%"}},[{title:"\u622A\u6B62\u5F53\u524D\u5B8C\u6210\u5173\u5361",children:ln.createElement(ln.Fragment,null,ln.createElement("span",{className:"c-red"},dn.complete_count||"--"),"/",ln.createElement("span",{className:"c-red"},dn.challenges_count))},{title:"\u6700\u65B0\u5B8C\u6210\u5173\u5361",children:ln.createElement(ln.Fragment,null,ln.createElement("span",{className:"c-red"},dn.current_complete_count||"--"),"/",ln.createElement("span",{className:"c-red"},dn.challenges_count))},{title:"\u5B8C\u6210\u6548\u7387",children:dn&&dn.efficiency===null?"--":dn&&dn.efficiency},{title:"\u8BFE\u5802\u6700\u9AD8\u5B8C\u6210\u6548\u7387",children:dn&&dn.max_efficiency===null?"--":dn&&dn.max_efficiency},{title:"\u5173\u5361\u5F97\u5206",children:ln.createElement(ln.Fragment,null,ln.createElement("span",{className:"c-orange"},dn.challenge_score),"/",ln.createElement("span",{className:"c-light-black"},dn.challenge_score_full)),hidden:!(dn!=null&&dn.eff_score_full)},{title:"\u6548\u7387\u5206",children:ln.createElement(ln.Fragment,null,ln.createElement("span",{className:"c-orange"},dn.eff_score),"/",ln.createElement("span",{className:"c-light-black"},dn.eff_score_full)),hidden:!(dn!=null&&dn.eff_score_full)}].map((oe,ne)=>!(oe!=null&&oe.hidden)&&ln.createElement("div",{key:ne,className:"flex flex-col item-center gap-10px"},ln.createElement("div",{className:"text-16px"},oe==null?void 0:oe.children),ln.createElement("div",{style:{color:"#8E8E8E"}},oe==null?void 0:oe.title)))),ln.createElement("div",{className:"flex item-center justify-between"},[{title:"\u901A\u5173\u65F6\u95F4",children:dn&&dn.passed_time===null||dn&&dn.passed_time==="--"?"--":ze()(dn&&dn.passed_time).format("YYYY-MM-DD HH:mm")},{title:ln.createElement(ln.Fragment,null,"\u8BA1\u65F6\u89C4\u5219 ",ln.createElement("span",{style:{color:"#145DFF",fontSize:16},className:"iconfont icon-tishixiaowenhao ml-4px current",onClick:oe=>{Si(!0)}})),children:dn==null?void 0:dn.human_training_time_rules},{title:ln.createElement(ln.Fragment,null,"\u5B9E\u8BAD\u603B\u8017\u65F6",ln.createElement("span",{style:{color:"#145DFF",fontSize:16},className:"iconfont icon-tishixiaowenhao ml-4px current",onClick:oe=>{ki(!0)}})),children:dn==null?void 0:dn.time_consuming},{title:"\u8BC4\u6D4B\u6B21\u6570",children:dn.evaluate_count},{title:"\u901A\u5173\u65F6\u95F4",children:dn&&dn.passed_time===null||dn&&dn.passed_time==="--"?"--":ze()(dn&&dn.passed_time).format("YYYY-MM-DD HH:mm")},{title:ln.createElement(ln.Fragment,null," \u67E5\u91CD\u6263\u5206",dn!=null&&dn.review_rate?ln.createElement("span",{style:{background:"#0152d9",borderRadius:"6px 6px 6px 0",cursor:"pointer"},onClick:()=>{dn!=null&&dn.review_id&&ps&&(localStorage.setItem("studentDetial",window.location.pathname),Ke.history.push(`/classrooms/:coursesId/shixun_homework/${ra.categoryId}/review_detail/${dn==null?void 0:dn.review_id}`))}}," ",dn.review_rate.toFixed(1),"% "):ln.createElement("span",{style:{background:"#0152d9",borderRadius:"6px 6px 6px 0"}},"- -")),children:ln.createElement(ln.Fragment,null,(dn==null?void 0:dn.repeat_minus_score)!==0?"- -":ln.createElement(ln.Fragment,null,ps?ln.createElement(ln.Fragment,null,ln.createElement(y.default,{style:{width:"45px",height:"22px"},value:tA,onChange:oe=>{yA(oe)},onBlur:ql,disabled:vA})," / ",dn==null?void 0:dn.repeat_setting_score):ln.createElement(ln.Fragment,null," ",dn==null?void 0:dn.repeat_minus_score," / ",dn==null?void 0:dn.repeat_setting_score," "))),hidden:!(dn!=null&&dn.have_repeat)},{title:"\u8865\u4EA4\u6263\u5206",children:dn.late_penalty||"- -"},{title:"\u6700\u7EC8\u6210\u7EE9(\u6EE1\u5206100\u5206)",children:ln.createElement(ln.Fragment,null,ln.createElement("span",{className:"c-orange"},Ms),"/",ln.createElement("span",{className:"c-light-black"},dn.all_work_score))}].map((oe,ne)=>!(oe!=null&&oe.hidden)&&ln.createElement("div",{key:ne,className:"flex flex-col item-center gap-10px"},ln.createElement("div",{className:"text-16px"},oe==null?void 0:oe.children),ln.createElement("div",{style:{color:"#8E8E8E"}},oe==null?void 0:oe.title))))),ln.createElement("div",{className:"absolute flex item-center justify-center h-36px",style:{top:0,right:0,width:219,background:`url(${de(55541)}) center / cover no-repeat`}},dn.overall_appraisal)),ln.createElement(a.Z,{className:"mt-20px",style:{marginLeft:"-20px",width:"calc(100% + 40px)",backgroundColor:"#E0EEFF"}}),(dn.work_comment_hidden||dn.work_comment)&&ln.createElement("div",null,ln.createElement(b.Z,{align:"middle"},ln.createElement(E.Z,{flex:1},ln.createElement("h1",{className:Te.title},"\u70B9\u8BC4\u5185\u5BB9")),ln.createElement(E.Z,{className:"pr30"},(0,Ge.GJ)()&&ln.createElement(we.ZP,{onClick:()=>vn(void 0,null,function*(){Le.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",icon:ln.createElement(Ee.Z,null),content:"\u662F\u5426\u786E\u8BA4\u5220\u9664\uFF1F",onOk(){return vn(this,null,function*(){(yield(0,vr.gZ)({comment_id:dn.comment_id,homeworkId:ra.homeworkId})).status===0&&(ge.ZP.success("\u5220\u9664\u6210\u529F"),or({type:"shixunHomeworks/getShixunWorkReport",payload:ma(ma({},ra),is.current||{})}))})}})})},ln.createElement(be.Z,null),"\u5220\u9664"))),ln.createElement(a.Z,{style:{margin:0}}),dn.work_comment&&ln.createElement("aside",{className:"pl30 pr30 mt20"},ln.createElement("span",{className:"c-light-black font12"},"# \u5B66\u751F\u548C\u8BFE\u5802\u8001\u5E08\u53EF\u89C1"),ln.createElement("br",null),ln.createElement(mr.Z,{value:dn.work_comment})),dn.work_comment_hidden&&ln.createElement("aside",{className:"pl30 pr30 mt20"},ln.createElement("span",{className:"c-light-black font12"},"# \u4EC5\u8BFE\u5802\u8001\u5E08\u53EF\u89C1"),ln.createElement("br",null),ln.createElement(mr.Z,{value:dn.work_comment_hidden}))),(dn==null?void 0:dn.action_analysis)&&ln.createElement(ho,{detailData:dn}),ln.createElement("div",{className:Te.score},ln.createElement("h1",{className:Te.title},"\u9636\u6BB5\u6210\u7EE9"),(dn==null?void 0:dn.adjust_review_score_count)>0&&(0,Ge.GJ)()&&ln.createElement("div",{style:{color:"#0152d9",cursor:"pointer"},onClick:()=>{Is(!0),XA({page:1,page_size:10},"all")}},"\u6210\u7EE9\u8C03\u5206\u8BB0\u5F55\uFF08",dn==null?void 0:dn.adjust_review_score_count,"\u6B21\uFF09")),ln.createElement(x.default,{className:Te.TableStyle,dataSource:dn.stage_list,rowKey:oe=>oe==null?void 0:oe.challenge_id,pagination:!1,columns:Cl}),((oa=dn==null?void 0:dn.target_test_sets)==null?void 0:oa.length)>0&&ln.createElement("div",null,ln.createElement("h1",{className:Te.title},"\u6307\u6807\u6210\u7EE9"),ln.createElement(x.default,{className:Te.TableStyle,dataSource:on,rowKey:oe=>oe==null?void 0:oe.challenge_id,pagination:!1,bordered:!0,columns:Jl})),(dn==null?void 0:dn.work_description)&&ln.createElement(ln.Fragment,null,ln.createElement("h1",{className:Te.title},"\u4E2A\u4EBA\u603B\u7ED3"),ln.createElement(mr.Z,{value:dn==null?void 0:dn.work_description})),ln.createElement("h1",{className:Te.title},"\u56FE\u5F62\u7EDF\u8BA1"),ln.createElement(Ot,{data:kn}),ln.createElement("h1",{className:Te.title},"\u5B9E\u8BAD\u8BE6\u60C5")),ln.createElement(Bt,{autoHeight:za}))))),(0,Ge.GJ)()&&ln.createElement("aside",{className:`sticky ${Te.footerBar}`},ln.createElement("aside",{className:"edu-container flex item-center"},ln.createElement(Ke.Link,{className:Te.exitComment,to:`/classrooms/${ra.coursesId}/shixun_homework/${ra.categoryId}/detail`},"\u8FD4\u56DE\u5217\u8868"),ln.createElement("div",{className:"ml-auto flex item-center gap-20px"},ln.createElement(we.ZP,{disabled:!(dn!=null&&dn.pre_student_work_id),onClick:()=>du()},"\u4E0A\u4E00\u4E2A"),ln.createElement(we.ZP,{disabled:!(dn!=null&&dn.next_student_work_id),onClick:()=>du("next")},"\u4E0B\u4E00\u4E2A"),(0,Ge.GJ)()&&ln.createElement(we.ZP,{className:Te.NewButtonStyle,type:"primary",onClick:()=>vn(void 0,null,function*(){or({type:"shixunHomeworks/setActionTabs",payload:{key:"\u66F4\u6539\u70B9\u8BC4",selectArrs:{myshixun_identifier:dn.user_id,data:ma({},dn)},fn:()=>XA({page:1,page_size:10},"all")}})})}," \u70B9\u8BC4\u4F5C\u4E1A ")))),ln.createElement(Wr,null),ln.createElement(cr.Z,null),ln.createElement(Le.default,{open:lo,width:860,centered:!0,onCancel:()=>{Si(!1)},title:"\u8BA1\u65F6\u89C4\u5219\u8BF4\u660E",footer:null},ln.createElement("div",{style:{color:"#333333",fontWeight:400}},ln.createElement("span",{style:{fontWeight:500}},"1\u3001\u9875\u9762\u505C\u7559\u65F6\u957F"),ln.createElement("br",null),ln.createElement("span",null,"\u5B66\u751F\u8FDB\u5165\u5173\u5361\u7684\u7B54\u9898\u9875\u9762\u5F00\u59CB\u8BA1\u65F6\uFF0C\u76F4\u81F3\u5B66\u751F\u5173\u5361\u8BC4\u6D4B\u901A\u8FC7\uFF0C\u5219\u8BA1\u65F6\u7ED3\u675F\uFF1B"),ln.createElement("br",null),ln.createElement("span",null," \u5B66\u751F\u8FDB\u5165\u5173\u5361\u7684\u7B54\u9898\u9875\u9762\u5F00\u59CB\u8BA1\u65F6\uFF0C\u82E5\u5B66\u751F\u5173\u95ED/\u9000\u51FA\u7B54\u9898\u9875\u9762\uFF0C\u5219\u8BA1\u65F6\u6682\u505C\uFF0C\u518D\u6B21\u8FDB\u5165\u7B54\u9898\u9875\u9762\u65F6\u5F00\u59CB\u7D2F\u8BA1\u8BA1\u65F6\u76F4\u81F3\u8BC4\u6D4B\u901A\u8FC7\uFF0C\u5219\u8BA1\u65F6\u7ED3\u675F\uFF1B"),ln.createElement("span",{style:{color:"#FA6400",display:"flex",height:34,alignItems:"center"}}," \u53EF\u80FD\u4F1A\u9020\u6210\u65F6\u957F\u8BC4\u4F30\u4E0E\u5B9E\u9645\u505A\u9898\u80FD\u529B\u4E0D\u7B26\u7684\u60C5\u51B5 "),ln.createElement("span",null,"a\u3001\u5B66\u751F\u8FDB\u5165\u5173\u5361\u770B\u5B8C\u9898\u540E\uFF0C\u9000\u51FA\u7B54\u9898\u9875\u9762\u5B8C\u6210\u4EE3\u7801\u8BBE\u8BA1\uFF0C\u518D\u590D\u5236\u8FDB\u5E73\u53F0\u7B54\u9898\u9875\u9762\u8FDB\u884C\u8BC4\u6D4B\uFF0C\u65E0\u6CD5\u8BC4\u4F30\u5B66\u751F\u7684\u5B66\u4E60\u548C\u601D\u8003\u65F6\u95F4\u3002")),ln.createElement("div",{style:{color:"#333333",marginTop:20,fontWeight:400}},ln.createElement("span",{style:{fontWeight:500}},"2\u3001\u5173\u5361\u603B\u8017\u65F6"),ln.createElement("br",null),ln.createElement("span",{style:{}},"\u5B66\u751F\u7B2C\u4E00\u6B21\u8FDB\u5165\u5173\u5361\u7B54\u9898\u9875\u9762\u5F00\u59CB\u8BA1\u65F6\uFF0C\u76F4\u81F3\u8BE5\u5173\u5361\u8BC4\u6D4B\u901A\u8FC7\uFF0C\u5219\u8BA1\u65F6\u7ED3\u675F\u3002 "),ln.createElement("br",null),ln.createElement("span",null," \u53E6\uFF0C\u5373\u4F7F\u5173\u5361\u95EF\u5173\u8FC7\u7A0B\u4E2D\uFF0C\u5B66\u751F\u9000\u51FA/\u5173\u95ED\u7B54\u9898\u9875\u9762\uFF0C\u4E5F\u5C06\u6301\u7EED\u8BA1\u65F6\uFF0C\u76F4\u81F3\u8BE5\u5173\u5361\u901A\u8FC7\u3002"),ln.createElement("span",{style:{color:"#FA6400",display:"flex",height:44,paddingTop:10}}," \u53EF\u80FD\u4F1A\u9020\u6210\u65F6\u957F\u8BC4\u4F30\u4E0E\u5B9E\u9645\u505A\u9898\u80FD\u529B\u4E0D\u7B26\u7684\u60C5\u51B5 "),ln.createElement("span",null,"a\u3001\u5B66\u751F\u4ECE\u5176\u4ED6\u540C\u5B66\u5904\u770B\u5230\u9898\u76EE\u540E\uFF0C\u5B8C\u6210\u4EE3\u7801\u8BBE\u8BA1\uFF0C\u518D\u8FDB\u5165\u5173\u5361\u7B54\u9898\u9875\u9762\uFF0C\u5C06\u5DF2\u5B8C\u6210\u7684\u4EE3\u7801\u590D\u5236\u81F3\u5E73\u53F0\u8FDB\u884C\u8BC4\u6D4B\uFF1B"),ln.createElement("br",null),ln.createElement("span",null,"b\u3001\u5B66\u751F\u7B2C\u4E00\u6B21\u6253\u5F00\u5173\u5361\u540E\uFF0C\u56E0\u4E3A\u67D0\u79CD\u539F\u56E0\u79BB\u5F00\u9875\u9762\uFF0C\u65F6\u9694\u591A\u65E5\u624D\u518D\u6B21\u8FDB\u5165\u5E73\u53F0\u95EF\u5173\uFF0C\u5C31\u4F1A\u5BFC\u81F4\u5B66\u751F\u5173\u5361\u603B\u8017\u65F6\u8FC7\u957F\uFF1B")),ln.createElement("div",{style:{color:"#333333",marginTop:20,fontWeight:400}},ln.createElement("span",{style:{fontWeight:500}},"3\u3001\u4F5C\u4E1A\u901A\u5173\u65F6\u957F"),ln.createElement("br",null),ln.createElement("span",{style:{}},"\u4ECE\u8001\u5E08\u53D1\u5E03\u7684\u5B9E\u8BAD\u4F5C\u4E1A\u5F00\u59CB\u65F6\u95F4\uFF0C\u5F00\u59CB\u8BA1\u65F6\uFF0C\u76F4\u81F3\u5B66\u751F\u5B9E\u8BAD\u901A\u5173\uFF08\u5305\u62EC\u8FDF\u4EA4\u901A\u5173\uFF09\uFF0C\u7ED3\u675F\u8BA1\u65F6\u3002\u5982\u679C\u5B66\u751F\u672A\u901A\u5173\uFF0C\u5219\u8BE5\u751F\u7684\u95EF\u5173\u8017\u65F6\u4E3A\u8001\u5E08\u8BBE\u7F6E\u7684\u5B9E\u8BAD\u5F00\u59CB\u65F6\u95F4\u81F3\u5B9E\u8BAD\u622A\u6B62\u65F6\u95F4\uFF0C\u5982\u679C\u8001\u5E08\u5F00\u542F\u4E86\u8865\u4EA4\uFF0C\u5219\u8BE5\u751F\u7684\u95EF\u5173\u8017\u65F6\u4E3A\u5B9E\u8BAD\u5F00\u59CB\u65F6\u95F4\u81F3\u5B9E\u8BAD\u8865\u4EA4\u622A\u6B62\u65F6\u95F4\u3002")),ln.createElement("div",{style:{color:"#333333",marginTop:20,fontWeight:400}},ln.createElement("span",{style:{fontWeight:500}},"\u89C4\u5219\u76EE\u7684"),ln.createElement("br",null),ln.createElement("span",{style:{}},"\u9F13\u52B1\u5B66\u751F\u5728\u5B9E\u8BAD\u4F5C\u4E1A\u53D1\u5E03\u7684\u7B2C\u4E00\u65F6\u95F4\uFF0C\u7ACB\u5373\u767B\u5F55\u5E73\u53F0\u5B8C\u6210\u5B9E\u8BAD\u4F5C\u4E1A\u7684\u901A\u5173\u3002"))),ln.createElement(Le.default,{open:Ei,title:"\u5B9E\u8BAD\u603B\u8017\u65F6\u8BF4\u660E",centered:!0,footer:null,onCancel:()=>{ki(!1)},width:600},ln.createElement("div",{style:{fontWeight:400,color:"#333333"}},ln.createElement("div",null,"1\u3001\u5F53\u8BA1\u65F6\u89C4\u5219\u4E3A\u201C",ln.createElement("span",{style:{color:"#145DFF"}},"\u9875\u9762\u505C\u7559\u65F6\u957F"),"\u201D\u65F6\uFF0C\u5B9E\u8BAD\u603B\u8017\u65F6\u4E3A\u6240\u6709\u5173\u5361\u8017\u65F6\u76F8\u52A0\u4E4B\u548C\uFF1B"),ln.createElement("div",{style:{margin:"20px 0px"}},"2\u3001\u5F53\u8BA1\u65F6\u89C4\u5219\u4E3A\u201C",ln.createElement("span",{style:{color:"#145DFF"}},"\u5173\u5361\u603B\u8017\u65F6"),"\u201D\u65F6\uFF0C\u5B9E\u8BAD\u603B\u8017\u65F6\u4E3A\u6240\u6709\u5173\u5361\u8017\u65F6\u76F8\u52A0\u4E4B\u548C\uFF1B"),ln.createElement("div",null,"3\u3001\u5F53\u8BA1\u65F6\u89C4\u5219\u4E3A\u201C",ln.createElement("span",{style:{color:"#145DFF"}},"\u4F5C\u4E1A\u901A\u5173\u65F6\u957F"),"\u201D\u65F6\uFF0C\u5B9E\u8BAD\u603B\u8017\u65F6\u4E3A\u5B9E\u8BAD\u53D1\u5E03\u65F6\u95F4\u81F3\u5B9E\u8BAD\u901A\u5173\u65F6\u95F4\uFF0C\u5F53\u5B66\u751F\u672A\u901A\u5173\u65F6\uFF0C\u5B9E\u8BAD\u603B\u8017\u65F6\u4E3A\u5B9E\u8BAD\u53D1\u5E03\u65F6\u95F4\u81F3\u5B9E\u8BAD\u622A\u6B62\u65F6\u95F4\u3002"))),ln.createElement(Le.default,{open:To,title:"\u6210\u7EE9\u8C03\u5206\u8BB0\u5F55",centered:!0,footer:null,onCancel:()=>{ri("all"),Is(!1)},destroyOnClose:!0,width:900},ln.createElement("div",{style:{fontWeight:400,color:"#333333"}},ln.createElement("div",null,ln.createElement("span",null,"\u5173\u5361\uFF1A"),ln.createElement(z.default,{style:{width:300},value:Go,placeholder:"\u8BF7\u9009\u62E9\u5173\u5361",defaultValue:"all",onChange:oe=>vn(void 0,null,function*(){ri(oe),XA({page:1,page_size:10},oe)})},ln.createElement(z.default.Option,{value:"all"}," \u5168\u90E8 "),(Ya=dn==null?void 0:dn.stage_list)==null?void 0:Ya.map((oe,ne)=>ln.createElement(z.default.Option,{key:ne,value:oe==null?void 0:oe.challenge_id},"\u7B2C",(0,Ze.EM)(ne+1),"\u5173")))),ln.createElement("div",{className:"mt20"},ln.createElement(x.default,{dataSource:ya,rowKey:oe=>oe==null?void 0:oe.id,pagination:!1,columns:pu,loading:ka})),ln.createElement("div",{className:Te.footer},ln.createElement("div",null,ln.createElement("span",{style:{color:"#656F87"}},"\u5171",ln.createElement("span",{className:"c-light-primary"},Uo),"\u6761\u6570\u636E")),ln.createElement(ae.Z,{defaultCurrent:1,defaultPageSize:10,current:(wn==null?void 0:wn.page)||1,showSizeChanger:!1,showQuickJumper:!0,hideOnSinglePage:!0,total:Uo,onChange:Yl})))))};var Vr=(0,Ke.connect)(({shixunHomeworks:Tt,classroomList:St,loading:zt,globalSetting:Pn,user:ur})=>({shixunHomeworks:Tt,classroomList:St,globalSetting:Pn,loading:zt.effects,user:ur}))(Pr),Ba=de(52310),Da={flex_box_center:"flex_box_center___KJUhi",flex_space_between:"flex_space_between____N4uH",flex_box_vertical_center:"flex_box_vertical_center___yOdsz",flex_box_center_end:"flex_box_center_end___seJB9",flex_box_column:"flex_box_column___ihHC5",title:"title___JSmnB",score:"score___ERcuI",export:"export___pgR1H",title1_right:"title1_right___MdWJo",userPic:"userPic___UeG3e",userInfo:"userInfo___TNu6l",listItem:"listItem___wdbM_",rightInfo:"rightInfo___Swqk5",shixunTitle:"shixunTitle___L2Tc4",shixunWrp:"shixunWrp___ZoaTc",footerBar:"footerBar___QW5rq",footerBarStatic:"footerBarStatic___CRq8b",exitComment:"exitComment___u4Rqt",nextComment:"nextComment___lvaID",modal:"modal___g3B3L",footer:"footer___eJCnt",pingjia:"pingjia___X_ooM",pj_close:"pj_close___PHP4h",pj_save:"pj_save___COfQy"},Ia={normal:{opacity:.8,shadowBlur:10,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"rgba(0, 0, 0, 0)",color:"#2e65ad"}};const Yo=({shixunHomeworks:Tt,data:St,globalSetting:zt,loading:Pn,dispatch:ur})=>{var Rr;const{shixunWorkReport:Fr}=Tt;let or=((Rr=St==null?void 0:St.efficiency_list)==null?void 0:Rr.length)-parseInt(St==null?void 0:St.myself_eff[0]);const dr=()=>({title:{text:"\u5B66\u4E60\u6548\u7387",subtext:"\u5B66\u4E60\u6548\u7387=log(\u5B9E\u8BAD\u603B\u5F97\u5206/\u5B9E\u8BAD\u603B\u8017\u65F6)"},backgroundColor:"#fff",color:["#dd4444","#fec42c","#80F1BE"],grid:{left:"3%",right:"9%",bottom:"3%",containLabel:!0},tooltip:{showDelay:0,formatter:function(oa){return oa.name===Fr.username?"\u59D3\u540D\uFF1A"+Fr.username+"
\u5B66\u53F7\uFF1A "+Fr.user_id+"
\u6548\u7387\uFF1A"+(St==null?void 0:St.myself_eff[1]):oa.name+":"+oa.value+" "},axisPointer:{show:!0,type:"cross",lineStyle:{type:"dashed",width:1}}},xAxis:[{type:"value",name:"\u5B66\u751F\u4F4D\u7F6E",nameTextStyle:{color:"#000",fontSize:12},scale:!0,axisLabel:{formatter:""},axisTick:{show:!1},splitLine:{show:!1}}],yAxis:[{type:"value",name:" ",nameGap:20,nameTextStyle:{color:"#000",fontSize:12},scale:!0,axisLabel:{formatter:"{value}"},splitLine:{show:!1}}],series:[{name:"",type:"scatter",data:St==null?void 0:St.efficiency_list,itemStyle:{normal:{color:"#2e65ad"}},markArea:{silent:!0,itemStyle:{normal:{color:"transparent",borderWidth:1,borderType:"dashed"}},data:[[{name:"\u5B66\u4E60\u6548\u7387\u5206\u5E03\u533A\u95F4",xAxis:"min",yAxis:"min"},{xAxis:"max",yAxis:"max"}]]},markPoint:{data:[{name:Fr.username,xAxis:or,yAxis:St==null?void 0:St.myself_eff[1],value:St==null?void 0:St.myself_eff[1]}],itemStyle:{normal:{color:"#c23531"}}},markLine:{lineStyle:{normal:{type:"solid",color:"#ff6800"}},data:[{type:"average",name:"\u4E2D\u4F4D\u503C"}]}}]}),Xr=()=>({title:{text:"\u80FD\u529B\u503C",subtext:"\u80FD\u529B\u503C\uFF08\u5B9E\u8BAD\u83B7\u5F97\u7ECF\u9A8C\u503C/\u5B9E\u8BAD\u8BC4\u6D4B\u6B21\u6570\uFF09"},backgroundColor:"#fff",color:["#dd4444","#fec42c","#80F1BE"],grid:{x:"10%",x2:150,y:"18%",y2:"10%"},tooltip:{padding:10,backgroundColor:"#222",borderColor:"#777",borderWidth:1,formatter:function(oa){var Ya=oa.value;if(oa.name===Fr.username)return"\u59D3\u540D\uFF1A"+Fr.username+"
\u5B66\u53F7\uFF1A "+Fr.user_id+"
\u5F97\u5206\uFF1A"+(St==null?void 0:St.myself_object[1])}},xAxis:{type:"value",name:"log(\u5B9E\u8BAD\u7684\u603B\u65F6\u95F4)",nameGap:16,nameTextStyle:{color:"#000",fontSize:14},splitLine:{show:!1},axisLine:{lineStyle:{color:"#000"}}},yAxis:{type:"value",name:" ",nameLocation:"end",nameGap:20,nameTextStyle:{color:"#000",fontSize:12},axisLine:{lineStyle:{color:"#000"}},splitLine:{show:!1}},series:[{name:"\u80FD\u529B",type:"scatter",itemStyle:Ia,data:St==null?void 0:St.consume_list,symbolSize:function(oa){return Math.round(oa[2])},markPoint:{data:[{name:Fr.username,xAxis:St==null?void 0:St.myself_object[0],yAxis:St==null?void 0:St.myself_object[1],value:St==null?void 0:St.myself_object[1]}],itemStyle:{normal:{color:"#c23531"}}}}]});return ye.createElement(ye.Fragment,null,ye.createElement("aside",{className:"ml60 pr30"},ye.createElement(b.Z,null,ye.createElement(E.Z,{flex:"800px"},ye.createElement(ot.Z,{style:{width:750,height:580},option:dr()})),ye.createElement(E.Z,{flex:"1"},ye.createElement("aside",{className:Da.rightInfo},ye.createElement("ul",null,ye.createElement("li",null,ye.createElement("span",null,"\u59D3\u540D")," ",ye.createElement("span",{className:"ml30"},Fr.username)),ye.createElement("li",null,ye.createElement("span",null,"\u5B66\u53F7")," ",ye.createElement("span",{className:"ml30"},Fr.student_id||"--")),ye.createElement("li",null,ye.createElement("span",null,"\u5B66\u4E60\u6548\u7387")," ",ye.createElement("span",{className:"ml30 c-orange"},St==null?void 0:St.myself_eff[1])),ye.createElement("li",null,ye.createElement("span",null,"\u5F53\u524D\u6392\u540D")," ",ye.createElement("span",{className:"ml30 c-orange"},St==null?void 0:St.myself_eff[0]))),ye.createElement("p",null,"1\u4E2A\u5C0F\u5706\u70B9\u4EE3\u88681\u4E2A\u5B66\u751F\u7684\u5B66\u4E60\u6548\u7387",ye.createElement("br",null),"\u7EA2\u8272\u6C34\u6EF4\u8868\u793A\u5F53\u524D\u5B66\u751F\u7684\u5B66\u4E60\u6548\u7387\u503C",ye.createElement("br",null),"\u5C0F\u5706\u70B9\u8D8A\u9AD8\uFF0C\u5B66\u4E60\u6548\u7387\u8D8A\u9AD8",ye.createElement("br",null),"\u6A59\u8272\u6A2A\u5411\u7BAD\u5934\uFF1A\u4E2D\u4F4D\u503C\uFF0C\u8868\u793A\u6574\u4E2A\u8BFE\u5802\u5B66\u751F\u8868\u73B0\u7684\u5E73\u5747\u503C"))))),ye.createElement("aside",{className:"ml60 pr30"},ye.createElement(b.Z,null,ye.createElement(E.Z,{flex:"800px"},ye.createElement(ot.Z,{style:{width:750,height:580},option:Xr()})),ye.createElement(E.Z,{flex:"1"},ye.createElement("aside",{className:Da.rightInfo},ye.createElement("ul",null,ye.createElement("li",null,ye.createElement("span",null,"\u59D3\u540D")," ",ye.createElement("span",{className:"ml30"},Fr.username)),ye.createElement("li",null,ye.createElement("span",null,"\u5B66\u53F7")," ",ye.createElement("span",{className:"ml30"},Fr.student_id||"--")),ye.createElement("li",null,ye.createElement("span",null,"\u80FD\u529B")," ",ye.createElement("span",{className:"ml30 c-orange"},St==null?void 0:St.myself_object[1]))),ye.createElement("p",null,"1\u4E2A\u5C0F\u5706\u70B9\u4EE3\u88681\u4E2A\u5B66\u751F\u7684\u80FD\u529B\u503C",ye.createElement("br",null),"\u7EA2\u8272\u6C34\u6EF4\u8868\u793A\u5F53\u524D\u5B66\u751F\u7684\u80FD\u529B\u503C",ye.createElement("br",null),"\u5C0F\u5706\u5708\u8D8A\u5927\uFF0C\u8BC4\u6D4B\u6B21\u6570\u8D8A\u5C11",ye.createElement("br",null)))))))};var Ho=(0,Ke.connect)(({shixunHomeworks:Tt,loading:St,globalSetting:zt})=>({shixunHomeworks:Tt,globalSetting:zt,loading:St.effects}))(Yo),gi=({defaultValue:Tt,onBlur:St,max:zt,className:Pn="game-score"})=>{const[ur,Rr]=(0,ye.useState)(Tt);(0,ye.useEffect)(()=>{Rr(Tt)},[Tt]);function Fr(dr){Rr(dr)}function or(){ur!==Tt&&St(ur>zt?zt:ur)}return ye.createElement(it.Z,{max:zt,min:0,className:Pn,value:ur,onChange:Fr,onBlur:or})},_r={md:"md___TEmcT"},co=de(67294),Hi=Object.defineProperty,bs=Object.defineProperties,li=Object.getOwnPropertyDescriptors,fi=Object.getOwnPropertySymbols,Ha=Object.prototype.hasOwnProperty,Ko=Object.prototype.propertyIsEnumerable,ii=(Tt,St,zt)=>St in Tt?Hi(Tt,St,{enumerable:!0,configurable:!0,writable:!0,value:zt}):Tt[St]=zt,hs=(Tt,St)=>{for(var zt in St||(St={}))Ha.call(St,zt)&&ii(Tt,zt,St[zt]);if(fi)for(var zt of fi(St))Ko.call(St,zt)&&ii(Tt,zt,St[zt]);return Tt},Ti=(Tt,St)=>bs(Tt,li(St));const Ki=z.default.Option,Us={selectOnLineNumbers:!0,readOnly:!0,minimap:{enabled:!1},scrollBeyondLastLine:!1,enableSplitViewResizing:!1,roundedSelection:!1,renderIndicators:!1,useShadows:!1};var Gs=(Tt=>(Tt[Tt.SET_PATH=0]="SET_PATH",Tt[Tt.GET_PASSED_CONTENT=1]="GET_PASSED_CONTENT",Tt))(Gs||{});function zi(Tt,St){switch(St.type){case 0:return Ti(hs({},Tt),{selectedPath:St.payload});case 1:return Ti(hs({},Tt),{passedContent:St.payload});default:throw new Error}}var Ws=({path:Tt,game_id:St,onPathChange:zt,autoHeight:Pn,diff_code_count:ur,data:Rr,game_codes_cn:Fr})=>{var or,dr,Xr,oa;const Ya=Tt.split("\uFF1B").filter(kn=>!!kn),[ra,Ka]=(0,ye.useReducer)(zi,{selectedPath:Ya[0],passedContent:{language:"python",content:""}}),{selectedPath:yo,passedContent:wn}=ra;function tn(kn){Ka({type:0,payload:kn})}const fn={\u6700\u540E\u901A\u5173\u4EE3\u7801:"\u901A\u8FC7\u4E86\u672C\u9898\uFF0C\u5728\u4F5C\u4E1A\u65F6\u95F4\u5185\u6700\u540E\u4E00\u6B21\u63D0\u4EA4\u7684\u901A\u5173\u4EE3\u7801",\u6700\u65B0\u4EE3\u7801:"\u672A\u901A\u8FC7\u672C\u9898\uFF0C\u5C55\u793A\u6700\u65B0\u7F16\u5199\u7684\u4EE3\u7801\u8BE6\u60C5",\u622A\u6B62\u540E\u901A\u5173\u4EE3\u7801:"\u5728\u4F5C\u4E1A\u65F6\u95F4\u7ED3\u675F\u540E\u901A\u5173\u8BE5\u9898\u7684\u4EE3\u7801\u8BE6\u60C5"};return co.createElement(co.Fragment,null,co.createElement("h2",null," ",co.createElement("span",null,Fr,co.createElement(se.Z,{title:co.createElement("div",null,co.createElement("div",null,"\u4EE3\u7801\u5C55\u793A\u89C4\u5219\uFF1A"),co.createElement("div",null,"1.\u5C55\u793A\u5B66\u5458\u5728\u4F5C\u4E1A\u622A\u6B62\u524D\u5F97\u5206\u6700\u9AD8\u7684\u4EE3\u7801\u7248\u672C\u3002"),co.createElement("div",null," 2.\u82E5\u6709\u591A\u4E2A\u6700\u9AD8\u5206\u7248\u672C\uFF0C\u5C55\u793A\u63D0\u4EA4\u65F6\u95F4\u6700\u665A\u7684\u7248\u672C\u3002"),co.createElement("div",null," 3.\u4F5C\u4E1A\u622A\u6B62\u540E\u63D0\u4EA4\u7684\u4EE3\u7801\u5C06\u4E0D\u4E88\u5C55\u793A\u3002"))},co.createElement("i",{style:{marginLeft:10,color:"#3061D0",fontSize:16},className:"iconfont icon-tishixiaowenhao"}))),ur&&co.createElement("span",{style:{marginLeft:"50px"}},"\u4EE3\u7801\u4FEE\u6539\u884C\u6570 ",ur),co.createElement("span",null,co.createElement(z.default,{style:{width:200},value:yo,onChange:tn}," ",Ya.map(kn=>co.createElement(Ki,{key:kn,value:kn},kn))," "))," "),(yo==null?void 0:yo.split(".")[1])==="md"&&co.createElement(gt.Z,{height:300,autoHeight:Pn,defaultValue:((dr=(or=Rr==null?void 0:Rr.filter(kn=>kn.path===yo))==null?void 0:or[0])==null?void 0:dr.content)||"",className:_r.md}),(yo==null?void 0:yo.split(".")[1])!=="md"&&co.createElement(lt.ZP,{height:300,language:wn.language,value:((oa=(Xr=Rr==null?void 0:Rr.filter(kn=>kn.path===yo))==null?void 0:Xr[0])==null?void 0:oa.content)||"",autoHeight:Pn,theme:"default",isCopy:!0,options:Us}))},PA=de(56243),Yr=Object.defineProperty,zo=Object.defineProperties,Ji=Object.getOwnPropertyDescriptors,zr=Object.getOwnPropertySymbols,Ea=Object.prototype.hasOwnProperty,Wo=Object.prototype.propertyIsEnumerable,fo=(Tt,St,zt)=>St in Tt?Yr(Tt,St,{enumerable:!0,configurable:!0,writable:!0,value:zt}):Tt[St]=zt,as=(Tt,St)=>{for(var zt in St||(St={}))Ea.call(St,zt)&&fo(Tt,zt,St[zt]);if(zr)for(var zt of zr(St))Wo.call(St,zt)&&fo(Tt,zt,St[zt]);return Tt},pi=(Tt,St)=>zo(Tt,Ji(St)),ji=(Tt,St,zt)=>new Promise((Pn,ur)=>{var Rr=dr=>{try{or(zt.next(dr))}catch(Xr){ur(Xr)}},Fr=dr=>{try{or(zt.throw(dr))}catch(Xr){ur(Xr)}},or=dr=>dr.done?Pn(dr.value):Promise.resolve(dr.value).then(Rr,Fr);or((zt=zt.apply(Tt,St)).next())});const os=({shixunHomeworks:Tt,autoHeight:St,classroomList:zt,dispatch:Pn})=>{var ur,Rr,Fr,or,dr,Xr,oa,Ya;const{shixunWorkReport:ra}=Tt,{stage_list:Ka,work_id:yo,ai_code_evaluation_promote:wn}=ra,[tn,fn]=(0,ye.useState)(!1),[kn,Gr]=(0,ye.useState)(!0),[nr,er]=(0,ye.useState)({left:0,top:0,bottom:0,right:0}),Sa=(0,ye.useRef)(null),[fa,ja]=(0,ye.useState)(!1),[ka,Jr]=(0,ye.useState)(""),za=(0,ye.useRef)(null),Ro=(Oa,lo)=>{var Si;const{clientWidth:Ei,clientHeight:ki}=window.document.documentElement,To=(Si=Sa.current)==null?void 0:Si.getBoundingClientRect();To&&er({left:-To.left+lo.x,right:Ei-(To.right-lo.x),top:-To.top+lo.y,bottom:ki-(To.bottom-lo.y)})},dn=(0,Ke.useParams)(),on=(0,Ge.GJ)(),xa={selectOnLineNumbers:!0,readOnly:!0,minimap:{enabled:!1},scrollBeyondLastLine:!1};(0,ye.useEffect)(()=>{console.log(dn)},[]);const ya=[{title:"\u8BC4\u6D4B\u6B21\u6570",dataIndex:"position",width:"100px"},{title:"\u8BE6\u7EC6\u4FE1\u606F",dataIndex:"output_detail",render:(Oa,lo,Si)=>ye.createElement("div",null,Oa,lo.is_work_end_evaluate&&ye.createElement(Ze.vA,{status:5}))},{title:"\u8BC4\u6D4B\u8017\u65F6(S)",dataIndex:"ts_time",width:"130px"},{title:"\u5185\u5B58\u6D88\u8017(MB)",width:"150px",dataIndex:"ts_mem"},{title:"\u8BC4\u6D4B\u65F6\u95F4",width:"170px",dataIndex:"created_at",render:Oa=>ze()(Oa).format("YYYY-MM-DD HH:mm")},{title:"\u64CD\u4F5C",width:"80px",dataIndex:"query_index",render:(Oa,lo)=>ye.createElement("span",{className:"c-blue current",onClick:()=>ji(void 0,null,function*(){var Si,Ei;const ki=yield(0,Oe.Lk)(lo.game_identifier,{path:(Ei=(Si=lo.path)==null?void 0:Si.replace(/\;/g,";"))==null?void 0:Ei.split(";")[0],query_index:lo.query_index,homework_common_id:dn.categoryId});(ki==null?void 0:ki.status)===0&&(ja(ki),fn(!0))})},lo.query_index?"\u67E5\u770B\u4EE3\u7801":"")}],aa=[{title:"\u8C03\u5206\u7528\u6237",dataIndex:["user","name"],width:350,render:(Oa,lo)=>{var Si;return ye.createElement("span",null,ye.createElement("img",{width:30,height:30,style:{borderRadius:"50%",marginRight:"10px"},src:De.Z.IMG_SERVER+"/images/"+((Si=lo==null?void 0:lo.user)==null?void 0:Si.image_url)}),Oa)}},{title:"\u8C03\u5206\u524D",dataIndex:"old_score",width:270,render:Oa=>ye.createElement("span",null,"\u4FEE\u6B63\u524D\u5206\u6570\uFF1A",Oa,"\u5206")},{title:"\u8C03\u5206\u540E",dataIndex:"score",width:270,render:Oa=>ye.createElement("span",null,"\u4FEE\u6B63\u540E\u5206\u6570\uFF1A",Oa,"\u5206")},{title:"\u8C03\u5206\u65F6\u95F4",dataIndex:"created_at",align:"right",render:Oa=>ye.createElement("span",null,"\u4FEE\u6B63\u65F6\u95F4\uFF1A",Oa?ze()(Oa).format("YYYY-MM-DD HH:mm"):"--")}];function Uo(Oa,lo){return ji(this,null,function*(){const{challenge_id:Si}=Ka[Oa],Ei=yield Pn({type:"shixunHomeworks/changeScore",payload:{categoryId:dn.homeworkId,type:"report",score:lo,challenge_id:Si}});yield Pn({type:"shixunHomeworks/getShixunWorkReport",payload:as({},dn)}),Ei.status===0&&ge.ZP.success("\u64CD\u4F5C\u6210\u529F")})}function Io(Oa,lo){return(0,ve.U2)(`student_works/${yo}/rep_passed_content.json`,{path:lo,game_id:Oa})}const[Go,ri]=(0,ye.useState)((ur=ra==null?void 0:ra.shixun_detail)==null?void 0:ur.map(Oa=>pi(as({},Oa),{commentEdit:!1}))),qi=Oa=>Oa.replace(/\\\(([\s\S]*?)\\\)/g,"$$$$$1$$$$").replace(/\\\[([\s\S]*?)\\\]/g,"$$$$$1$$$$").replace(/`(\$\$.*?\$\$)`/g,"$$$$$1$$$$").replace(/_{2,}/g,"`$&`"),[xA,mi]=(0,ye.useState)(!1),Oi=(Oa,lo)=>ji(void 0,null,function*(){var Si,Ei;mi(!0),za.current=new PA.Z(De.Z.API_SERVER+"/api/stream/intelligent_imports/chat_messages.json",{response_mode:"streaming",model:"qwen-max",scene_awareness:!1,thinking_enabled:!1,image_generator:!1,file_ids:[],history:[],prompt:wn,shixun_id:ra==null?void 0:ra.myshixun_identifier,game_id:Oa==null?void 0:Oa.id,source:"shixun",is_chat:!1,type:9,description:Oa==null?void 0:Oa.challenge_description,query:(Ei=(Si=Oa==null?void 0:Oa.game_codes)==null?void 0:Si[0])==null?void 0:Ei.content,homework_common_id:dn.categoryId}),yield new Promise((ki,To)=>{za.current.on("data",Is=>{const tA=[...Go];tA[lo].comment=qi(Is==null?void 0:Is.full),ri(tA)}),za.current.on("done",()=>ji(void 0,null,function*(){var Is;mi(!1);const tA=[...Go],nA=yield(0,ve.ZP)(`/api/student_works/${dn==null?void 0:dn.homeworkId}/challenge_comment`,{method:"put",body:{challenge_id:Oa==null?void 0:Oa.challenge_id,comment:tA[lo].comment}});if((nA==null?void 0:nA.status)==0){ge.ZP.success("\u8BC4\u4EF7\u6210\u529F");const ps=[...Go];ps[lo].comment_updated_at=(Is=nA==null?void 0:nA.data)==null?void 0:Is.comment_updated_at,ri(ps)}})),za.current.startStream()})});return ye.createElement(ye.Fragment,null,Go==null?void 0:Go.map(function(Oa,lo){var Si,Ei;return ye.createElement("div",{key:lo},ye.createElement("aside",{className:"pl30 pr30",key:lo},ye.createElement("div",{className:`${Da.shixunTitle} mt10`},ye.createElement("div",null,ye.createElement("span",{className:"fa fa-code "}),ye.createElement("strong",{className:"c-black"},"\u7B2C",lo+1,"\u5173 ",ye.createElement(Ke.Link,{className:"c-black",target:"_blank",to:`/tasks/${dn.coursesId}/${dn.categoryId}/${Oa.game_identifier}`},Oa.subject))),on?ye.createElement("span",null,"\u8C03\u5206\uFF1A",ye.createElement(gi,{className:"game-score",max:Ka[lo].game_score_full,defaultValue:Ka[lo].game_score,onBlur:ki=>{var To;if((0,Ge.Rm)()&&!((To=zt.AssistantObject.practice)!=null&&To.can_appraise)){ge.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Uo(lo,ki)}})):null),ye.createElement("div",{className:"font16 mt10"},Oa.st===0&&(Oa.path?typeof(Oa==null?void 0:Oa.game_codes_cn)=="string"?ye.createElement("aside",{className:Da.shixunWrp},ye.createElement(Ws,{game_codes_cn:Oa==null?void 0:Oa.game_codes_cn,autoHeight:St,path:Oa.path,game_id:Oa.id,data:Oa.game_codes,diff_code_count:Oa.diff_code_count,onPathChange:Io})):ye.createElement("div",{className:"font14",style:{border:"1px solid #d9d9d9",padding:"6px 10px"}}," \u63D0\u793A\uFF1A\u7EAF\u56FE\u5F62\u5316\u3001\u547D\u4EE4\u884C\u7684\u5B9E\u8BAD\u4E0D\u5C55\u793A\u901A\u5173\u4EE3\u7801\uFF0C\u5982\u9700\u67E5\u770B\u5B66\u751F\u4EE3\u7801\u8BF7\u524D\u5F80\u4F5C\u4E1A\u5217\u8868\u5BFC\u51FA\u5B9E\u9A8C\u6587\u4EF6\u3002"):"\u76EE\u524D\u56FE\u5F62\u5316\u3001\u547D\u4EE4\u884C\u3001Vscode\u7F16\u8F91\u5668\u3001\u7406\u8BBA\u9898\u6A21\u5F0F\u7684\u5B9E\u9A8C\uFF0C\u6682\u65F6\u65E0\u6CD5\u4F7F\u7528\u6B64\u529F\u80FD"),Oa.st===1&&(Oa.complete_status===0?"\u672C\u5173\u6682\u672A\u901A\u8FC7\uFF0C\u65E0\u901A\u5173\u4EE3\u7801":"\u76EE\u524D\u56FE\u5F62\u5316\u3001\u547D\u4EE4\u884C\u3001Vscode\u7F16\u8F91\u5668\u3001\u7406\u8BBA\u9898\u6A21\u5F0F\u7684\u5B9E\u9A8C\uFF0C\u6682\u65F6\u65E0\u6CD5\u4F7F\u7528\u6B64\u529F\u80FD")),ye.createElement("aside",{className:"mt10 font16"},(Si=Oa.outputs)!=null&&Si.length?ye.createElement(x.default,{columns:ya,pagination:{hideOnSinglePage:!0},dataSource:Oa.outputs.map(ki=>as(as({},Oa),ki))}):"\u672C\u5173\u65E0\u8BC4\u6D4B\u8BB0\u5F55"),ye.createElement("aside",{className:"mt10 font16"},((Ei=Oa==null?void 0:Oa.adjust_review_score_list)==null?void 0:Ei.length)>0&&(0,Ge.GJ)()&&ye.createElement("div",null,ye.createElement("strong",{className:"c-black font14"},"\u8C03\u5206\u8BB0\u5F55"),ye.createElement(x.default,{columns:aa,pagination:{hideOnSinglePage:!0},dataSource:Oa.adjust_review_score_list,showHeader:!1})))))}),ye.createElement(Le.default,{open:tn,width:900,okText:"\u5173\u95ED",cancelButtonProps:{style:{display:"none"}},onOk:()=>{ja({}),fn(!1)},onCancel:()=>{ja({}),fn(!1)},title:ye.createElement("div",{style:{width:"100%",cursor:"move"},onMouseOver:()=>{kn&&Gr(!1)},onMouseOut:()=>{Gr(!0)},onFocus:()=>{},onBlur:()=>{}},"\u4EE3\u7801\u5185\u5BB9"),modalRender:Oa=>ye.createElement(me(),{disabled:kn,bounds:nr,nodeRef:Sa,onStart:(lo,Si)=>Ro(lo,Si)},ye.createElement("div",{ref:Sa},Oa))},ye.createElement("div",{style:{background:"#F6F7F9",padding:"30px 20px",marginBottom:20}},ye.createElement("div",{style:{display:"flex",alignItems:"center"}},((Rr=fa==null?void 0:fa.data)==null?void 0:Rr.output_detail)==="\u8BC4\u6D4B\u901A\u8FC7"?ye.createElement("i",{style:{color:"#0B9953",fontSize:18,marginRight:10},className:"iconfont icon-duigou1"}):ye.createElement("i",{style:{color:"#E21010",fontSize:18,marginRight:10},className:"iconfont icon-jinggao1"}),ye.createElement("div",{style:{color:((Fr=fa==null?void 0:fa.data)==null?void 0:Fr.output_detail)==="\u8BC4\u6D4B\u901A\u8FC7"?"#0B9953":"#E21010",fontSize:16,fontWeight:600}},(or=fa==null?void 0:fa.data)==null?void 0:or.output_detail)),ye.createElement("div",{style:{display:"flex",justifyContent:"space-between",marginTop:20}},ye.createElement("div",null,ye.createElement("span",{style:{color:"#6A7283"}},"\u8BC4\u6D4B\u65F6\u95F4"),ye.createElement("span",{style:{marginLeft:8,color:"#232B40"}},ze()((dr=fa==null?void 0:fa.data)==null?void 0:dr.created_at).format("YYYY-MM-DD HH:mm:ss"))),ye.createElement("div",null,ye.createElement("span",{style:{color:"#6A7283"}},"\u7528\u65F6"),ye.createElement("span",{style:{marginLeft:8,color:"#232B40"}},(Xr=fa==null?void 0:fa.data)==null?void 0:Xr.ts_time,"s")),ye.createElement("div",null,ye.createElement("span",{style:{color:"#6A7283"}},"\u5185\u5B58"),ye.createElement("span",{style:{marginLeft:8,color:"#232B40"}},(oa=fa==null?void 0:fa.data)==null?void 0:oa.ts_mem,"mb")),ye.createElement("div",null,ye.createElement("span",{style:{color:"#6A7283"}},"\u7528\u4F8B\u901A\u8FC7\u7387"),ye.createElement("span",{style:{marginLeft:8,color:"#232B40"}},((Ya=fa==null?void 0:fa.data)==null?void 0:Ya.test_set_passed_rate)*100,"%")))),ye.createElement(lt.ZP,{height:500,autoHeight:St,language:"python",theme:"default",isCopy:!0,value:decodeURIComponent(escape(window.atob((fa==null?void 0:fa.content)||""))),options:xa})))};var _s=(0,Ke.connect)(({shixunHomeworks:Tt,loading:St,globalSetting:zt,classroomList:Pn})=>({shixunHomeworks:Tt,globalSetting:zt,loading:St.effects,classroomList:Pn}))(os),Xo={greyText:"greyText___nOpNq",info:"info___nBB3c",label:"label___P6my8",blackContent:"blackContent___O4HnS",orangeContent:"orangeContent___JBF44",inputLabel:"inputLabel___B2GAs",tableTitle:"tableTitle___IqAxM",scoreTable:"scoreTable___RJvpU"},Na=de(67294),wl=Object.defineProperty,gA=Object.getOwnPropertySymbols,Rs=Object.prototype.hasOwnProperty,pA=Object.prototype.propertyIsEnumerable,IA=(Tt,St,zt)=>St in Tt?wl(Tt,St,{enumerable:!0,configurable:!0,writable:!0,value:zt}):Tt[St]=zt,NA=(Tt,St)=>{for(var zt in St||(St={}))Rs.call(St,zt)&&IA(Tt,zt,St[zt]);if(gA)for(var zt of gA(St))pA.call(St,zt)&&IA(Tt,zt,St[zt]);return Tt},$s=(Tt,St,zt)=>new Promise((Pn,ur)=>{var Rr=dr=>{try{or(zt.next(dr))}catch(Xr){ur(Xr)}},Fr=dr=>{try{or(zt.throw(dr))}catch(Xr){ur(Xr)}},or=dr=>dr.done?Pn(dr.value):Promise.resolve(dr.value).then(Rr,Fr);or((zt=zt.apply(Tt,St)).next())});const FA=({shixunHomeworks:Tt,dispatch:St,classroomList:zt})=>{const{shixunWorkReport:Pn}=Tt,ur=(0,Ke.useParams)(),[Rr,Fr]=(0,ye.useState)(!1),[or]=Kt.default.useForm(),[dr,Xr]=Le.default.useModal(),[oa,Ya]=(0,ye.useState)(!1),[ra,Ka]=(0,ye.useState)(!1);(0,ye.useEffect)(()=>{var tn,fn,kn,Gr;Tt.actionTabs.key==="\u66F4\u6539\u70B9\u8BC4"&&or.setFieldsValue({comment:(fn=(tn=Tt.actionTabs.selectArrs)==null?void 0:tn.data)==null?void 0:fn.work_comment,hidden_comment:(Gr=(kn=Tt.actionTabs.selectArrs)==null?void 0:kn.data)==null?void 0:Gr.work_comment_hidden})},[Tt.actionTabs.key]);const yo=()=>$s(void 0,null,function*(){const tn=or.getFieldsValue();(yield(0,ve.ZP)(`/api/student_works/${ur.homeworkId}/shixun_work_comment.json`,{method:"post",body:{hidden_comment:tn.hidden_comment,comment:tn.comment}})).status===0&&(ge.ZP.success("\u8BC4\u9605\u6210\u529F"),or.resetFields(),St({type:"shixunHomeworks/setActionTabs",payload:{}}),St({type:"shixunHomeworks/getShixunWorkReport",payload:NA({},ur)}))}),wn=[{title:"\u5173\u5361",dataIndex:"name",render:(tn,fn,kn)=>kn+1},{title:"\u4EFB\u52A1\u540D\u79F0",dataIndex:"name",render:(tn,fn,kn)=>Na.createElement("div",null,tn,fn.complete_status===4&&Na.createElement(Ze.vA,{status:fn.complete_status}))},{title:"\u5F00\u59CB\u65F6\u95F4",dataIndex:"open_time"},{title:"\u5B8C\u6210\u65F6\u95F4",dataIndex:"finished_time"},{title:"\u8BC4\u6D4B\u6B21\u6570",dataIndex:"evaluate_count",align:"center"},{title:"\u5B9E\u8BAD\u8017\u65F6",dataIndex:"time_consuming"},{title:"\u662F\u5426\u67E5\u770B\u7B54\u6848",dataIndex:"view_answer",align:"center",render:tn=>tn?"\u662F":"\u5426"},{title:"\u5173\u5361\u5F97\u5206",dataIndex:"game_score",align:"center",render:(tn,fn)=>Na.createElement("div",null,Na.createElement("span",{style:{color:parseFloat(fn.game_score_full)!==parseFloat(tn)?"#E30000":"#53C41B"}},tn),"/",fn.game_score_full)},{title:"\u8C03\u5206",dataIndex:"game_score",align:"center",fixed:"right",render:(tn,fn)=>(0,Ge.GJ)()?Na.createElement(gi,{max:fn.game_score_full,defaultValue:parseFloat(tn),onBlur:kn=>$s(void 0,null,function*(){var Gr,nr;if((0,Ge.Rm)()&&!((Gr=zt.AssistantObject.practice)!=null&&Gr.can_appraise)){ge.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}const er=yield St({type:"shixunHomeworks/changeScore",payload:{categoryId:ur.homeworkId,type:"report",score:kn,challenge_id:fn.challenge_id}});(nr=Tt==null?void 0:Tt.actionTabs)==null||nr.fn(),yield St({type:"shixunHomeworks/getShixunWorkReport",payload:NA({},ur)}),er.status===0&&ge.ZP.success("\u64CD\u4F5C\u6210\u529F")})}):tn}];return Na.createElement(Na.Fragment,null,Xr,Na.createElement(Le.default,{centered:!0,width:1080,title:"\u70B9\u8BC4\u4F5C\u4E1A",open:Tt.actionTabs.key==="\u66F4\u6539\u70B9\u8BC4",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>$s(void 0,null,function*(){var tn;if((0,Ge.Rm)()&&!((tn=zt.AssistantObject.practice)!=null&&tn.can_appraise)){ge.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}const fn=or.getFieldsValue();JSON.stringify(fn)==="{}"||fn.hidden_comment===""&&fn.comment===""?Fr(!0):yo()}),onCancel:()=>{St({type:"shixunHomeworks/setActionTabs",payload:{}})}},Na.createElement(b.Z,{justify:"space-between",className:Xo.info},Na.createElement(E.Z,null,Na.createElement("span",{className:`${Xo.label} ${Xo.greyText}`},"\u59D3\u540D"),Na.createElement("span",{className:Xo.blackContent},Pn==null?void 0:Pn.username)),Na.createElement(E.Z,null,Na.createElement("span",{className:`${Xo.label} ${Xo.greyText}`},"\u5B66\u53F7"),Na.createElement("span",{className:Xo.blackContent},(Pn==null?void 0:Pn.student_id)||"--")),Na.createElement(E.Z,null,Na.createElement("span",{className:`${Xo.label} ${Xo.greyText}`},"\u73ED\u7EA7"),Na.createElement("span",{className:Xo.blackContent},(Pn==null?void 0:Pn.group_name)||"--")),Na.createElement(E.Z,null,Na.createElement("span",{className:`${Xo.label} ${Xo.greyText}`},"\u5173\u5361\u5F97\u5206"),Na.createElement("span",{className:Xo.orangeContent},(Pn==null?void 0:Pn.challenge_score)||"--")),Na.createElement(E.Z,null,Na.createElement("span",{className:`${Xo.label} ${Xo.greyText}`},"\u6548\u7387\u5206"),Na.createElement("span",{className:Xo.orangeContent},(Pn==null?void 0:Pn.eff_score)||"--")),Na.createElement(E.Z,null,Na.createElement("span",{className:`${Xo.label} ${Xo.greyText}`},"\u8865\u4EA4\u6263\u5206"),Na.createElement("span",{className:Xo.orangeContent},(Pn==null?void 0:Pn.late_penalty)||"--")),Na.createElement(E.Z,null,Na.createElement("span",{className:`${Xo.label} ${Xo.greyText}`},"\u6700\u7EC8\u6210\u7EE9"),Na.createElement("span",{className:Xo.orangeContent},(Pn==null?void 0:Pn.work_score)||"--"))),Na.createElement(Kt.default,{form:or,onChange:()=>{Rr&&Fr(!1)}},Na.createElement(b.Z,{wrap:!1,align:"middle",justify:"space-between"},Na.createElement(E.Z,null,Na.createElement("div",{className:`${Xo.inputLabel} ${Xo.greyText}`},"\u5B66\u751F\u548C\u8BFE\u5802\u8001\u5E08\u53EF\u89C1")),Na.createElement(E.Z,null,Na.createElement(bn.Z,{isShowComponent:(0,Ge.G5)(),ModalProps:{open:oa,onCancel:()=>{Ya(!1)}},onDataSelect:(tn,fn)=>$s(void 0,[tn,fn],function*(kn,{node:Gr}){const nr=()=>{or.setFieldsValue({comment:Gr==null?void 0:Gr.value}),Ya(!1)};if(or.getFieldValue("comment")){dr.confirm({icon:null,title:"\u63D0\u793A",centered:!0,content:"\u7CFB\u7EDF\u68C0\u6D4B\u5230\u8BC4\u8BED\u8F93\u5165\u6846\u4E2D\u5DF2\u6709\u5185\u5BB9\uFF0C\u4F7F\u7528\u5E38\u7528\u8BC4\u8BED\u5C06\u4F1A\u8986\u76D6\u539F\u6709\u5185\u5BB9\u3002\u662F\u5426\u4F7F\u7528\uFF1F",okText:"\u4F7F\u7528",onOk:nr});return}nr()})},Na.createElement(we.ZP,{style:{padding:0,height:"auto"},icon:Na.createElement("i",{className:"iconfont icon-changyongpingyu"}),type:"link",onClick:tn=>{Ya(!0)}},"\u5E38\u7528\u8BC4\u8BED")))),Na.createElement(Kt.default.Item,{name:"comment"},Na.createElement(y.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165\u8BC4\u9605\u5185\u5BB9",rows:3})),Na.createElement(b.Z,{wrap:!1,align:"middle",justify:"space-between"},Na.createElement(E.Z,null,Na.createElement("div",{className:`${Xo.inputLabel} ${Xo.greyText}`},"\u4EC5\u8BFE\u5802\u8001\u5E08\u53EF\u89C1")),Na.createElement(E.Z,null,Na.createElement(bn.Z,{isShowComponent:(0,Ge.G5)(),ModalProps:{open:ra,onCancel:()=>{Ka(!1)}},onDataSelect:(tn,fn)=>$s(void 0,[tn,fn],function*(kn,{node:Gr}){const nr=()=>{or.setFieldsValue({hidden_comment:Gr==null?void 0:Gr.value}),Ka(!1)};if(or.getFieldValue("hidden_comment")){dr.confirm({icon:null,title:"\u63D0\u793A",centered:!0,content:"\u7CFB\u7EDF\u68C0\u6D4B\u5230\u8BC4\u8BED\u8F93\u5165\u6846\u4E2D\u5DF2\u6709\u5185\u5BB9\uFF0C\u4F7F\u7528\u5E38\u7528\u8BC4\u8BED\u5C06\u4F1A\u8986\u76D6\u539F\u6709\u5185\u5BB9\u3002\u662F\u5426\u4F7F\u7528\uFF1F",okText:"\u4F7F\u7528",onOk:nr});return}nr()})},Na.createElement(we.ZP,{style:{padding:0,height:"auto"},icon:Na.createElement("i",{className:"iconfont icon-changyongpingyu"}),type:"link",onClick:tn=>{Ka(!0)}},"\u5E38\u7528\u8BC4\u8BED")))),Na.createElement(Kt.default.Item,{name:"hidden_comment"},Na.createElement(y.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165\u8BC4\u9605\u5185\u5BB9",rows:3}))),Rr&&Na.createElement("p",{className:"c-red"},"\u8BC4\u9605\u5185\u5BB9\u81F3\u5C11\u6709\u4E00\u4E2A\u4E0D\u4E3A\u7A7A"),Na.createElement("div",{className:Xo.tableTitle},"\u5173\u5361\u6210\u7EE9"),Na.createElement(x.default,{className:Xo.scoreTable,dataSource:Pn.stage_list,rowKey:"challenge_id",pagination:!1,columns:wn,scroll:{x:"max-content"}})))};var Fo=(0,Ke.connect)(({shixunHomeworks:Tt,classroomList:St})=>({shixunHomeworks:Tt,classroomList:St}))(FA),Fi=de(16151),Ls={wrap:"wrap___LZOi9",line:"line___oju0L"},Gn=({detailData:Tt})=>{var St;return ye.createElement("div",{className:Ls.wrap},ye.createElement(bo.ij,{hideBar:!0,actionAnalysis:!0,loading:!1,emptyData:[(0,bo.Uf)(Tt),(Tt==null?void 0:Tt.photos)||[]],title:"\u5B9E\u8BAD\u5B66\u4E60\u5206\u6790",noDataText:"\u8BE5\u5B66\u751F\u65E0\u5B66\u4E60\u884C\u4E3A\u5206\u6790\u6570\u636E"},ye.createElement(bo.ZP,{hideBar:!0,title:"\u5B9E\u8BAD\u5B66\u4E60\u5206\u6790",data:(0,bo.Uf)(Tt)}),!!((St=Tt==null?void 0:Tt.photos)!=null&&St.length)&&ye.createElement(ye.Fragment,null,ye.createElement("div",{className:Ls.line}),ye.createElement(bo._s,{dataSource:Tt==null?void 0:Tt.photos,right:21,col:4,wrapWidth:1140}))))},ft=de(67294),Dt=Object.defineProperty,rr=Object.defineProperties,Kr=Object.getOwnPropertyDescriptors,kr=Object.getOwnPropertySymbols,Vn=Object.prototype.hasOwnProperty,ar=Object.prototype.propertyIsEnumerable,$n=(Tt,St,zt)=>St in Tt?Dt(Tt,St,{enumerable:!0,configurable:!0,writable:!0,value:zt}):Tt[St]=zt,hr=(Tt,St)=>{for(var zt in St||(St={}))Vn.call(St,zt)&&$n(Tt,zt,St[zt]);if(kr)for(var zt of kr(St))ar.call(St,zt)&&$n(Tt,zt,St[zt]);return Tt},Nr=(Tt,St)=>rr(Tt,Kr(St)),ia=(Tt,St)=>{var zt={};for(var Pn in Tt)Vn.call(Tt,Pn)&&St.indexOf(Pn)<0&&(zt[Pn]=Tt[Pn]);if(Tt!=null&&kr)for(var Pn of kr(Tt))St.indexOf(Pn)<0&&ar.call(Tt,Pn)&&(zt[Pn]=Tt[Pn]);return zt},na=(Tt,St,zt)=>new Promise((Pn,ur)=>{var Rr=dr=>{try{or(zt.next(dr))}catch(Xr){ur(Xr)}},Fr=dr=>{try{or(zt.throw(dr))}catch(Xr){ur(Xr)}},or=dr=>dr.done?Pn(dr.value):Promise.resolve(dr.value).then(Rr,Fr);or((zt=zt.apply(Tt,St)).next())});const Ja=Tt=>{var St=Tt,{shixunHomeworks:zt,classroomList:Pn,globalSetting:ur,loading:Rr,user:Fr,dispatch:or}=St,dr=ia(St,["shixunHomeworks","classroomList","globalSetting","loading","user","dispatch"]),Xr,oa,Ya;const[ra,Ka]=(0,ye.useState)(hr({},(0,Ke.useParams)())),yo=(0,Ke.useParams)(),[wn,tn]=(0,ye.useState)({page:1,page_size:10}),fn=(0,Ke.useLocation)(),[]=(0,ye.useState)([]),[kn,Gr]=(0,ye.useState)(),nr=(0,ye.useRef)(),er=(0,ye.useRef)(),[Sa,fa]=(0,ye.useState)(!1),[ja,ka]=(0,ye.useState)(!0),[Jr,za]=(0,ye.useState)(!1),[Ro,dn]=(0,ye.useState)(!1),{shixunWorkReport:on}=zt,[xa,ya]=(0,ye.useState)(),[aa,Uo]=(0,ye.useState)([]),[Io,Go]=(0,ye.useState)(),[ri,qi]=(0,ye.useState)("all"),xA=(0,Ge.GJ)(),[mi,Oi]=(0,ye.useState)(new(pe())),[Oa,lo]=(0,ye.useState)(0),[Si,Ei]=(0,ye.useState)(!1),[ki,To]=(0,ye.useState)(!1),[Is,tA]=(0,ye.useState)(!1),[nA,ps]=(0,ye.useState)(""),[YA,vA]=(0,ye.useState)(!1),[KA,Ms]=(0,ye.useState)(!0),[BA,is]=(0,ye.useState)(0),$i=(0,ye.useRef)(JSON.parse(sessionStorage.all_student_works_params||"{}")),SA=(0,ye.useRef)(),Rl=()=>na(void 0,null,function*(){(Fr.userInfo.is_teacher||Fr.userInfo.admin)&&(vA(!0),Ms(!1))});(0,ye.useEffect)(()=>{var re;(0,Ge.Rm)()&&Pn.AssistantObject.practice&&!((re=Pn.AssistantObject.practice)!=null&&re.can_view)&&Ke.history.replace("/403")},[(Xr=Pn.AssistantObject.practice)==null?void 0:Xr.can_view]),(0,ye.useEffect)(()=>{Rl(),console.log("\u6253\u5370\u7684------",on),SA.current=on==null?void 0:on.next_student_work_id,ps(on.repeat_minus_score)},[on,Fr]),(0,ye.useEffect)(()=>{console.log("\u89E6\u53D1\u8FD9",on.work_score),is(on.work_score)},[on.work_score,nA]),(0,ye.useEffect)(()=>(or({type:"globalSetting/footerToggle",payload:!1}),()=>{or({type:"globalSetting/footerToggle",payload:!0})}),[]),(0,ye.useEffect)(()=>{var re;if(on){let he=[];(re=on==null?void 0:on.target_test_sets)==null||re.map((Ce,Se)=>{var Ne;(Ne=Ce==null?void 0:Ce.targets)==null||Ne.map((ke,Me)=>{var et;ke.name=Ce==null?void 0:Ce.name,ke.total_target_score=Ce==null?void 0:Ce.total_target_score,ke.actual_target_score=Ce==null?void 0:Ce.actual_target_score,ke.rowSpan=Me===0?(et=Ce==null?void 0:Ce.targets)==null?void 0:et.length:0,ke.order=Se+1,he.push(ke)})}),ya(he),(0,Ge.Rm)()&&or({type:"classroomList/getAssistantPermissions",payload:{course_id:ra.coursesId}})}},[on]),(0,ye.useEffect)(()=>{zt.actionTabs.key==="\u5BFC\u51FA\u5B9E\u8BAD\u62A5\u544A"&&(on==null?void 0:on.students_count)>0&&!ja&&setTimeout(()=>{ul("all")},800)},[on==null?void 0:on.homework_common_id,ja]),(0,ye.useEffect)(()=>{Ka(hr({},yo))},[fn.pathname]);const Yl=()=>{document.body.scrollIntoView()},XA=re=>{wn.page=re,tn(hr({},wn)),Al(wn,ri)},Al=(re,he)=>na(void 0,null,function*(){za(!0);const Ce=yield(0,ve.ZP)(`/api/student_works/${ra==null?void 0:ra.homeworkId}/adjust_review_score_histories.json`,{method:"get",params:Nr(hr({},re),{challenge_id:he=="all"?null:he})});(Ce==null?void 0:Ce.status)===0&&(Uo(Ce==null?void 0:Ce.list),Go(Ce==null?void 0:Ce.count)),za(!1)});function Xl(){return na(this,null,function*(){$i.current=JSON.parse(sessionStorage.all_student_works_params||"{}")})}const ll=()=>{document.querySelectorAll("canvas").forEach(re=>{(!re.clientWidth||!re.clientHeight)&&re.remove()})},DA=()=>{nr.current.offsetHeight>62e3?dn(!1):dn(!0)},Ml=re=>na(void 0,null,function*(){const he=yield(0,vr.t1)({homeworkId:re||ra.homeworkId});Gr(he==null?void 0:he.data)}),ul=re=>na(void 0,null,function*(){var he,Ce,Se,Ne;let ke=0,Me;Me=Le.default.info({width:460,title:ft.createElement("div",null,"\u6B63\u5728\u5BFC\u51FA\u5B9E\u8BAD\u62A5\u544A,",ft.createElement("span",{className:"c-red"},"\u8BF7\u52FF\u5173\u95ED\u6216\u64CD\u4F5C\u5F53\u524D\u6D4F\u89C8\u5668\u7A97\u53E3")),content:ft.createElement("div",null,"\u5F53\u524D\u8FDB\u5EA6: ",ft.createElement("span",{className:"c-blue"},ke+1),"/",re!=="all"?1:on==null?void 0:on.students_count,ft.createElement("br",null),"\u8BF7\u52FF\u5173\u95ED\u6D4F\u89C8\u5668\u7A97\u53E3"),maskClosable:!1,className:Da.modal,onOk:()=>{}});const et={margin:[0,0],filename:`${on!=null&&on.student_id&&(on==null?void 0:on.student_id)!="--"?on==null?void 0:on.student_id:""}${on.username}.pdf`,html2canvas:{useCORS:!0,letterRendering:!0},jsPDF:{unit:"mm",format:"a4",orientation:"landscape"}},dt=mi.folder(on==null?void 0:on.shixun_name);function vt(It){return na(this,null,function*(){yield Ml(It||SA.current);const Ve=yield or({type:"shixunHomeworks/getShixunWorkReport",payload:hr({homeworkId:It||SA.current},$i.current||{})});SA.current=Ve==null?void 0:Ve.next_student_work_id,Yl(),ke++,setTimeout(()=>na(this,null,function*(){var Xt,Rt,rn,Ut;ll();const In=dt.folder(`${Ve==null?void 0:Ve.group_name}`).folder(`${Ve!=null&&Ve.student_id&&(Ve==null?void 0:Ve.student_id)!="--"?Ve.student_id+"+":""}${Ve==null?void 0:Ve.username}`),_n=document.querySelector("#export-all").children;let Ar=Aa()();for(let Ur=0;Ur<_n.length;Ur++)yield Ar.set(et).from(_n[Ur]).toContainer().toCanvas().toPdf().get("pdf").then(Xn=>na(this,null,function*(){Ur<_n.length-1&&(yield Xn.addPage())}));if(In.file(`${Ve!=null&&Ve.student_id&&(Ve==null?void 0:Ve.student_id)!="--"?Ve.student_id+"+":""}${Ve==null?void 0:Ve.username}.pdf`,Ar.output("blob")),((Xt=Ve==null?void 0:Ve.shixun_detail)==null?void 0:Xt.length)>0&&((rn=(Rt=Ve==null?void 0:Ve.shixun_detail)==null?void 0:Rt.filter(Ur=>{var Xn;return((Xn=Ur==null?void 0:Ur.game_codes)==null?void 0:Xn.length)>0}))==null?void 0:rn.length)>0){const Ur=In.folder("\u4EE3\u7801\u6587\u4EF6");(Ut=Ve==null?void 0:Ve.shixun_detail)==null||Ut.map((Xn,Sn)=>{var Qr,Dr;if(((Qr=Xn==null?void 0:Xn.game_codes)==null?void 0:Qr.length)>0){const Zt=Ur.folder(`\u7B2C${Sn+1}\u5173-${Xn.subject}-${Xn.id}`);(Dr=Xn==null?void 0:Xn.game_codes)==null||Dr.map(_t=>{Zt.file(`${_t.filename}.txt`,_t==null?void 0:_t.content)})}})}Me.update({content:ft.createElement("div",null,"\u5F53\u524D\u8FDB\u5EA6: ",ft.createElement("span",{className:"c-blue"},ke),"/",Ve==null?void 0:Ve.students_count,ft.createElement("br",null),"\u8BF7\u52FF\u5173\u95ED\u6D4F\u89C8\u5668\u7A97\u53E3")}),ke==(Ve==null?void 0:Ve.students_count)?(Me.destroy(),Cl()):vt()}),2200)})}if(re!=="all"||(on==null?void 0:on.students_count)<2){ll(),Yl();const It=er.current.children;let Ve=Aa()();const Rt=dt.folder(`${on==null?void 0:on.group_name}`).folder(`${on!=null&&on.student_id&&(on==null?void 0:on.student_id)!="--"?(on==null?void 0:on.student_id)+"+":""}${on==null?void 0:on.username}`);for(let rn=0;rnna(void 0,null,function*(){rn0&&((Se=(Ce=on==null?void 0:on.shixun_detail)==null?void 0:Ce.filter(rn=>{var Ut;return((Ut=rn==null?void 0:rn.game_codes)==null?void 0:Ut.length)>0}))==null?void 0:Se.length)>0){const rn=Rt.folder("\u4EE3\u7801\u6587\u4EF6");(Ne=on==null?void 0:on.shixun_detail)==null||Ne.map((Ut,nn)=>{var In,_n;if(((In=Ut==null?void 0:Ut.game_codes)==null?void 0:In.length)>0){const Ar=rn.folder(`\u7B2C${nn+1}\u5173-${Ut.subject}-${Ut.id}`);(_n=Ut==null?void 0:Ut.game_codes)==null||_n.map(Ur=>{Ar.file(`${Ur.filename}.txt`,Ur==null?void 0:Ur.content)})}})}Me.destroy(),Cl();return}else vt(on==null?void 0:on.first_student_work_id)}),Cl=()=>{mi.generateAsync({type:"blob"}).then(function(re){console.log(on,"shixunWorkReport");const he=document.createElement("a");he.href=window.URL.createObjectURL(re),he.download=(on==null?void 0:on.shixun_name)+".zip",document.body.appendChild(he);const Ce=document.createEvent("MouseEvents");Ce.initEvent("click",!1,!1),he.dispatchEvent(Ce),document.body.removeChild(he),Oi(new(pe()))}),dn(!1)};(0,ye.useEffect)(()=>{Jl()},[ra.homeworkId]);const Jl=()=>na(void 0,null,function*(){ka(!0),yield or({type:"shixunHomeworks/getShixunWorkReport",payload:hr(hr({},ra),$i.current||{})}),Ml(),(0,Ge.GJ)()&&Xl(),ka(!1)}),pu=[{title:"\u5173\u5361",dataIndex:"name",render:(re,he,Ce)=>Ce+1},{title:"\u4EFB\u52A1\u540D\u79F0",dataIndex:"name",render:(re,he,Ce)=>ft.createElement("div",null,re,he.complete_status===4&&ft.createElement(Ze.vA,{status:he.complete_status}))},{title:"\u5F00\u542F\u65F6\u95F4",dataIndex:"open_time"},{title:"\u4EE3\u7801\u4FEE\u6539\u884C\u6570",dataIndex:"diff_code_count",render:(re,he,Ce)=>re||"- -"},{title:"\u8BC4\u6D4B\u6B21\u6570",dataIndex:"evaluate_count"},{title:"\u5B8C\u6210\u65F6\u95F4",dataIndex:"finished_time"},{title:"\u5B9E\u8BAD\u8017\u65F6",dataIndex:"time_consuming"},{title:"\u662F\u5426\u67E5\u770B\u7B54\u6848",dataIndex:"view_answer",render:re=>re?"\u662F":"\u5426"},{title:"\u7ECF\u9A8C\u503C",dataIndex:"experience",render:(re,he)=>ft.createElement("div",null,ft.createElement("span",{style:{color:parseFloat(he.myself_experience)!==parseFloat(re)?"red":"green"}},he.myself_experience),"/",re)},{title:"\u5173\u5361\u5F97\u5206",dataIndex:"game_score",render:(re,he)=>ft.createElement("div",null,ft.createElement("span",{style:{color:parseFloat(he.game_score_full)!==parseFloat(re)?"red":"green"}},re),"/",he.game_score_full)},{title:"\u8C03\u5206",dataIndex:"game_score",render:(re,he)=>xA?ft.createElement(gi,{max:he.game_score_full,defaultValue:parseFloat(re),onBlur:Ce=>na(void 0,null,function*(){var Se;if((0,Ge.Rm)()&&!((Se=Pn.AssistantObject.practice)!=null&&Se.can_appraise)){ge.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}const Ne=yield or({type:"shixunHomeworks/changeScore",payload:{categoryId:ra.homeworkId,type:"report",score:Ce,challenge_id:he.challenge_id}});Al({page:1,page_size:10},"all"),yield or({type:"shixunHomeworks/getShixunWorkReport",payload:hr(hr({},ra),$i.current||{})}),Ne.status===0&&ge.ZP.success("\u64CD\u4F5C\u6210\u529F")})}):re}];let du=[{title:"\u5173\u5361",dataIndex:"order",key:"order",render:(re,he,Ce)=>({children:re,props:{rowSpan:he.rowSpan}})},{title:"\u4EFB\u52A1\u540D\u79F0",dataIndex:"name",key:"name",render:(re,he,Ce)=>({children:re,props:{rowSpan:he.rowSpan}})},{title:"\u6307\u6807\u540D\u79F0",dataIndex:"target_name",key:"target_name"},{title:"\u6307\u6807\u9884\u671F\u7ED3\u679C",dataIndex:"output",key:"output"},{title:"\u6307\u6807\u5B9E\u9645\u7ED3\u679C",dataIndex:"actual_output",key:"actual_output"},{title:"\u6307\u6807\u5F97\u5206",dataIndex:"test_score",key:"test_score",render:(re,he,Ce)=>ft.createElement("div",null,ft.createElement("span",{style:{color:parseFloat(he.actual_test_score)!==parseFloat(re)?"red":"green"}},he.actual_test_score),"/",re)},{title:"\u6307\u6807\u603B\u5206",render:(re,he,Ce)=>({children:ft.createElement("div",null,ft.createElement("span",{style:{color:parseFloat(he.actual_target_score)!==parseFloat(re)?"red":"green"}},he.actual_target_score),"/",re),props:{rowSpan:he.rowSpan}}),dataIndex:"total_target_score",key:"total_target_score"}];const yA=[{title:"\u5173\u5361",dataIndex:"challenge_num",width:220},{title:"\u8C03\u5206\u7528\u6237",dataIndex:["user","name"]},{title:"\u8C03\u5206\u524D",dataIndex:"old_score"},{title:"\u8C03\u5206\u540E",dataIndex:"score"},{title:"\u8C03\u5206\u65F6\u95F4",dataIndex:"created_at",render:re=>ft.createElement("span",null,re?ze()(re).format("YYYY-MM-DD HH:mm"):"--")}],ql=re=>{or({type:"shixunHomeworks/setActionTabs",payload:{key:"",type:2}}),setTimeout(()=>{re==="next"?Ke.history.push(`/classrooms/${ra.coursesId}/shixun_homework/${ra.categoryId}/${on==null?void 0:on.next_student_work_id}/comment`):Ke.history.push(`/classrooms/${ra.coursesId}/shixun_homework/${ra.categoryId}/${on==null?void 0:on.pre_student_work_id}/comment`)},200)},oe=re=>{ps(""),re.target.value&&(console.log("\u8FDB\u6765",on),re.target.value=re.target.value>on.repeat_setting_score?on.repeat_setting_score:re.target.value,ps(re.target.value))},ne=()=>na(void 0,null,function*(){const re=yield(0,ve.ZP)(`/api/student_works/${on==null?void 0:on.work_id}/update_repeat_score`,{method:"put",body:{score:nA}});yield or({type:"shixunHomeworks/getShixunWorkReport",payload:hr(hr({},ra),$i.current||{})}),re.status===0&&ge.ZP.info("\u64CD\u4F5C\u6210\u529F")});return ft.createElement("section",{className:"bg-fafafa",style:{position:"sticky",top:0}},ft.createElement("div",{className:"edu-container mt10",style:{paddingBottom:100}},ft.createElement(Ie.Z,{loading:Rr["shixunHomeworks/getShixunWorkReport"],active:!0,avatar:{size:40},paragraph:{rows:5}},ft.createElement("div",{className:"edu-container"},on.course_id&&ft.createElement("section",{className:"animated fadeIn"},ft.createElement("aside",{className:""},on.category&&ft.createElement(Pe.Z,{separator:">"},ft.createElement(Pe.Z.Item,null,ft.createElement(Ke.Link,{to:`/classrooms/${on.course_id}/shixun_homework`},on.course_name)),ft.createElement(Pe.Z.Item,null,ft.createElement(Ke.Link,{to:`/classrooms/${on.course_id}/shixun_homework/${on.category.main?"":on.category.category_id}`},on.category.category_name)),ft.createElement(Pe.Z.Item,null,ft.createElement(Ke.Link,{to:`/classrooms/${on.course_id}/shixun_homework/${on.homework_common_id}/detail${(0,Ge.dE)()?"?tabs=1":""}`},"\u4F5C\u4E1A\u8BE6\u60C5")),ft.createElement(Pe.Z.Item,null,on.username))),ft.createElement("aside",{className:[Da.title1,"mt20"].join(" ")},ft.createElement(b.Z,{align:"middle"},ft.createElement(E.Z,{flex:1},ft.createElement(Ke.Link,{to:`/classrooms/${on.course_id}/shixun_homework/${on.homework_common_id}/detail`},ft.createElement(Ba.Z,{className:"font16 c-black"})),ft.createElement("strong",{className:"font20 ml5"},on==null?void 0:on.homework_name),ft.createElement(Ze.VV,{temporary:!0,status:on.homework_status})),ft.createElement(E.Z,{className:Da.title1_right},on.view_tpi&&ft.createElement(we.ZP,{onClick:()=>{var re,he;(0,Ze.xg)(`/tasks/${on==null?void 0:on.course_id}/${on==null?void 0:on.homework_common_id}/${(he=(re=on==null?void 0:on.shixun_detail)==null?void 0:re[0])==null?void 0:he.game_identifier}`)}},ft.createElement("span",{className:"iconfont icon-yijiandianping mr5"}),"\u67E5\u770B\u5B66\u5458\u5B9E\u8BAD"),(0,Ge.GJ)()&&on.homework_end===!1&&!!on.myshixun_id&&ft.createElement(we.ZP,{className:"ml10",onClick:()=>na(void 0,null,function*(){yield or({type:"shixunHomeworks/setActionTabs",payload:{key:"\u6253\u56DE\u91CD\u505A",selectArrs:{myshixun_identifier:on.myshixun_identifier},homework_common_id:yo.categoryId}})})},ft.createElement("span",{className:"iconfont icon-dahuizhongzuo3x mr5"}),"\u6253\u56DE\u91CD\u505A"),ft.createElement(we.ZP,{className:"ml10",onClick:()=>{var re;if((0,Ge.Rm)()&&!((re=Pn.AssistantObject.practice)!=null&&re.can_download)){ge.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}ul("")},loading:Sa},ft.createElement("span",{className:"iconfont icon-daochu mr5"}),"\u5BFC\u51FA\u5B9E\u8BAD\u62A5\u544A"),(0,Ge.GJ)()&&(on==null?void 0:on.students_count)>1&&ft.createElement(we.ZP,{className:"ml10",onClick:()=>{var re;if((0,Ge.Rm)()&&!((re=Pn.AssistantObject.practice)!=null&&re.can_download)){ge.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Le.default.confirm({title:"\u9009\u62E9\u5BFC\u51FA\u65B9\u5F0F",closable:!0,icon:null,centered:!0,okText:ft.createElement(se.Z,{title:"\u5BFC\u51FA\u65F6\u4E0D\u80FD\u9000\u51FA\u6216\u5173\u95ED\u5BFC\u51FA\u9875\u9762\uFF0C\u53EF\u80FD\u4F1A\u5F71\u54CD\u5176\u4ED6\u64CD\u4F5C"},"\u524D\u7AEF\u5BFC\u51FA"),cancelText:ft.createElement(se.Z,{title:"\u751F\u6210\u5BFC\u51FA\u4EFB\u52A1\u540E\u53EF\u5173\u95ED\u9875\u9762\uFF0C\u540E\u53F0\u5BFC\u51FA\u6210\u529F\u540E\u5728\u5386\u53F2\u5BFC\u51FA\u9875\u9762\u81EA\u884C\u4E0B\u8F7D\uFF0C\u4E0D\u5F71\u54CD\u5176\u4ED6\u64CD\u4F5C"},"\u540E\u53F0\u5BFC\u51FA"),onOk:()=>{ul("all")},onCancel:()=>{},cancelButtonProps:{onClick:()=>{(0,da.jj)({categoryId:ra.categoryId,coursesId:ra.coursesId},"shixun_report")}}})}},ft.createElement("span",{className:"iconfont icon-daochu mr5"}),"\u5BFC\u51FA\u5168\u90E8\u5B66\u751F\u5B9E\u8BAD\u62A5\u544A"))))),ft.createElement("aside",{className:"mt30 relative"})),ft.createElement("aside",{className:"edu-container bg-white",ref:nr},ft.createElement("div",{id:"export-all",ref:er},ft.createElement("div",{id:"export-all-1"},ft.createElement("div",{className:Da.title},ft.createElement("h1",null,"\u603B\u4F53\u8BC4\u4EF7"),ft.createElement("div",null,(0,Ge.GJ)()&&ft.createElement(we.ZP,{className:"mr20",type:"primary",onClick:()=>{or({type:"shixunHomeworks/setActionTabs",payload:{key:"\u66F4\u6539\u70B9\u8BC4",selectArrs:{myshixun_identifier:on.user_id,data:hr({},on)},fn:()=>Al({page:1,page_size:10},"all")}})}},ft.createElement(ce.Z,null),on.has_shixun_work_comment?"\u66F4\u6539\u70B9\u8BC4":"\u70B9\u8BC4\u4F5C\u4E1A"))),ft.createElement(a.Z,{style:{marginTop:0}}),ft.createElement(b.Z,{className:"pl30 pr30"},ft.createElement(E.Z,null,ft.createElement("img",{className:Da.userPic,src:`${De.Z.IMG_SERVER}/images/${on.image_url}`,alt:on.username})),ft.createElement(E.Z,null,ft.createElement("span",{className:"font16 ml40"},on.username),ft.createElement(Ze.vA,{status:on.compelete_status}),ft.createElement("ul",{className:Da.userInfo},ft.createElement("li",null,"\u5B66\u53F7\uFF1A",on.student_id||"--"),ft.createElement("li",null,"\u5206\u73ED\uFF1A",on.group_name||"--"),ft.createElement("br",null),ft.createElement("li",null,"\u622A\u6B62\u524D\u5B8C\u6210\u5173\u5361\uFF1A",ft.createElement("span",{className:"c-red"},on.complete_count),"/",ft.createElement("span",{className:"c-red"},on.challenges_count)),ft.createElement("li",null,"\u6700\u65B0\u5B8C\u6210\u5173\u5361\uFF1A",ft.createElement("span",{className:"c-red"},on.current_complete_count||"-"),"/",ft.createElement("span",{className:"c-red"},on.challenges_count)),ft.createElement("li",null,"\u5B8C\u6210\u6548\u7387\uFF1A",on&&on.efficiency===null?"--":on&&on.efficiency),ft.createElement("li",null,"\u8BFE\u5802\u6700\u9AD8\u5B8C\u6210\u6548\u7387\uFF1A",on&&on.max_efficiency===null?"--":on&&on.max_efficiency))),ft.createElement("ul",{className:[Da.listItem,"mt10"].join(" ")},ft.createElement("li",null,ft.createElement("strong",null,"\u901A\u5173\u65F6\u95F4"),ft.createElement("div",{className:"c-light-black mt20"},on&&on.passed_time===null||on&&on.passed_time==="--"?"--":ze()(on&&on.passed_time).format("YYYY-MM-DD HH:mm"))),ft.createElement("li",null,ft.createElement("strong",null,"\u8BA1\u65F6\u89C4\u5219",ft.createElement("i",{onClick:re=>{re.stopPropagation(),re.preventDefault(),Ei(!0)},style:{marginLeft:4,color:"#145DFF",fontSize:16,cursor:"pointer"},className:"iconfont icon-tishixiaowenhao"})),ft.createElement("div",{className:"c-light-black mt20"},on==null?void 0:on.human_training_time_rules)),ft.createElement("li",null,ft.createElement("strong",null,"\u5B9E\u8BAD\u603B\u8017\u65F6",ft.createElement("i",{onClick:re=>{re.stopPropagation(),re.preventDefault(),To(!0)},style:{marginLeft:4,color:"#145DFF",fontSize:16,cursor:"pointer"},className:"iconfont icon-tishixiaowenhao"})),ft.createElement("div",{className:"c-light-black mt20"},on.time_consuming)),ft.createElement("li",null,ft.createElement("strong",null,"\u8BC4\u6D4B\u6B21\u6570"),ft.createElement("div",{className:"mt20"},on.evaluate_count)),(on==null?void 0:on.eff_score_full)&&ft.createElement(ft.Fragment,null,ft.createElement("li",null,ft.createElement("strong",null,"\u5173\u5361\u5F97\u5206"),ft.createElement("div",{className:"mt20"},ft.createElement("span",{className:"c-orange"},on.challenge_score),"/",ft.createElement("span",{className:"c-light-black"},on.challenge_score_full))),ft.createElement("li",null,ft.createElement("strong",null,"\u6548\u7387\u5206"),ft.createElement("div",{className:"mt20"},ft.createElement("span",{className:"c-orange"},on.eff_score),"/",ft.createElement("span",{className:"c-light-black"},on.eff_score_full)))),(on==null?void 0:on.have_repeat)&&(on==null?void 0:on.repeat_minus_score)!==0&&ft.createElement("li",{style:{position:"relative"}},ft.createElement("div",{style:{display:"flex",justifyContent:"space-between"}},ft.createElement("strong",null,"\u67E5\u91CD\u6263\u5206"),ft.createElement("div",{style:{position:"absolute",fontSize:"10px",color:"white",left:"57px",width:"46px",bottom:"72px"}},on!=null&&on.review_rate?ft.createElement("span",{style:{background:"#0152d9",borderRadius:"6px 6px 6px 0",cursor:"pointer"},onClick:()=>{if(on!=null&&on.review_id&&YA)localStorage.setItem("studentDetial",window.location.pathname),Ke.history.push({pathname:`/classrooms/:coursesId/shixun_homework/${ra.categoryId}/review_detail/${on==null?void 0:on.review_id}`});else return}},on.review_rate.toFixed(1),"%"):ft.createElement("span",{style:{background:"#0152d9",borderRadius:"6px 6px 6px 0"}},"- -"))),YA?ft.createElement("div",{className:"mt20"},ft.createElement(y.default,{style:{width:"45px",height:"22px"},value:nA,onChange:re=>{oe(re)},onBlur:ne,disabled:KA})," / ",on==null?void 0:on.repeat_setting_score):ft.createElement("div",{className:"mt20"},on==null?void 0:on.repeat_minus_score," / ",on==null?void 0:on.repeat_setting_score)),console.log("sssssssssssssssssssssss",on==null?void 0:on.have_repeat,on==null?void 0:on.repeat_minus_score),(on==null?void 0:on.have_repeat)&&(on==null?void 0:on.repeat_minus_score)===0&&ft.createElement("li",null,ft.createElement("strong",null,"\u67E5\u91CD\u6263\u5206"),ft.createElement("div",{className:"mt20"}," - -")),!(on!=null&&on.have_repeat)&&ft.createElement("li",null,ft.createElement("strong",null,"\u67E5\u91CD\u6263\u5206"),ft.createElement("div",{className:"mt20"}," - -")),ft.createElement("li",null,ft.createElement("strong",null,"\u8865\u4EA4\u6263\u5206"),ft.createElement("div",{className:"mt20"},ft.createElement("span",null,on.late_penalty||"- -"))),ft.createElement("li",null,ft.createElement("strong",null,"\u6700\u7EC8\u6210\u7EE9"),ft.createElement("div",{className:"mt20"},ft.createElement("span",{className:"c-orange"},BA),"/",ft.createElement("span",{className:"c-light-black"},on.all_work_score))),ft.createElement("li",null,ft.createElement("strong",null,"\u603B\u8BC4"),ft.createElement("div",{className:"mt20"},ft.createElement("span",{className:"c-orange"},on.overall_appraisal))))),ft.createElement(a.Z,{style:{margin:0}}),(on.work_comment_hidden||on.work_comment)&&ft.createElement("div",null,ft.createElement(b.Z,{align:"middle"},ft.createElement(E.Z,{flex:1},ft.createElement("h1",{className:Da.title},"\u70B9\u8BC4\u5185\u5BB9")),ft.createElement(E.Z,{className:"pr30"},(0,Ge.GJ)()&&ft.createElement(we.ZP,{onClick:()=>na(void 0,null,function*(){Le.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",icon:ft.createElement(Ee.Z,null),content:"\u662F\u5426\u786E\u8BA4\u5220\u9664\uFF1F",onOk(){return na(this,null,function*(){(yield(0,vr.gZ)({comment_id:on.comment_id,homeworkId:ra.homeworkId})).status===0&&(ge.ZP.success("\u5220\u9664\u6210\u529F"),or({type:"shixunHomeworks/getShixunWorkReport",payload:hr(hr({},ra),$i.current||{})}))})}})})},ft.createElement(be.Z,null),"\u5220\u9664"))),ft.createElement(a.Z,{style:{margin:0}}),on.work_comment&&ft.createElement("aside",{className:"pl30 pr30 mt20"},ft.createElement("span",{className:"c-light-black font12"},"# \u5B66\u751F\u548C\u8BFE\u5802\u8001\u5E08\u53EF\u89C1"),ft.createElement("br",null),ft.createElement(mr.Z,{value:on.work_comment})),on.work_comment_hidden&&ft.createElement("aside",{className:"pl30 pr30 mt20"},ft.createElement("span",{className:"c-light-black font12"},"# \u4EC5\u8BFE\u5802\u8001\u5E08\u53EF\u89C1"),ft.createElement("br",null),ft.createElement(mr.Z,{value:on.work_comment_hidden}))),(on==null?void 0:on.action_analysis)&&ft.createElement(Gn,{detailData:on}),ft.createElement("div",{className:Da.score},ft.createElement("h1",{className:Da.title},"\u9636\u6BB5\u6210\u7EE9"),(on==null?void 0:on.adjust_review_score_count)>0&&(0,Ge.GJ)()&&ft.createElement("div",{style:{color:"#0152d9",cursor:"pointer"},onClick:()=>{tA(!0),Al({page:1,page_size:10},"all")}},"\u6210\u7EE9\u8C03\u5206\u8BB0\u5F55\uFF08",on==null?void 0:on.adjust_review_score_count,"\u6B21\uFF09")),ft.createElement("aside",{className:"pl30 pr30"},ft.createElement(x.default,{dataSource:on.stage_list,rowKey:re=>re==null?void 0:re.challenge_id,pagination:!1,columns:pu})),((oa=on==null?void 0:on.target_test_sets)==null?void 0:oa.length)>0&&ft.createElement("div",null,ft.createElement("h1",{className:Da.title},"\u6307\u6807\u6210\u7EE9"),ft.createElement("aside",{className:"pl30 pr30"},ft.createElement(x.default,{dataSource:xa,rowKey:re=>re==null?void 0:re.challenge_id,pagination:!1,bordered:!0,columns:du}))),(on==null?void 0:on.work_description)&&ft.createElement(ft.Fragment,null,ft.createElement("h1",{className:Da.title},"\u4E2A\u4EBA\u603B\u7ED3"),ft.createElement("aside",{className:"pl30 pr30"},ft.createElement(mr.Z,{value:on==null?void 0:on.work_description}))),ft.createElement("h1",{className:Da.title},"\u56FE\u5F62\u7EDF\u8BA1"),ft.createElement(Ho,{data:kn}),ft.createElement("h1",{className:Da.title},"\u5B9E\u8BAD\u8BE6\u60C5")),ft.createElement(_s,{autoHeight:Ro}))),(0,Ge.GJ)()&&ft.createElement("aside",{className:`${Da.footerBar} ${Sa?Da.footerBarStatic:""}`},ft.createElement("aside",{className:"edu-container"},ft.createElement(b.Z,{align:"middle"},ft.createElement(E.Z,{flex:"1"},ft.createElement(Ke.Link,{className:Da.exitComment,to:`/classrooms/${ra.coursesId}/shixun_homework/${ra.categoryId}/detail`},"\u8FD4\u56DE\u5217\u8868")),ft.createElement(E.Z,{flex:"1",className:"tr"},ft.createElement(we.ZP,{type:"default",disabled:!(on!=null&&on.pre_student_work_id),onClick:()=>ql()},"\u4E0A\u4E00\u4E2A"),ft.createElement(we.ZP,{type:"default",style:{marginLeft:"20px",marginRight:"20px"},disabled:!(on!=null&&on.next_student_work_id),onClick:()=>ql("next")},"\u4E0B\u4E00\u4E2A"),(0,Ge.GJ)()&&ft.createElement(we.ZP,{type:"primary",onClick:()=>na(void 0,null,function*(){or({type:"shixunHomeworks/setActionTabs",payload:{key:"\u66F4\u6539\u70B9\u8BC4",selectArrs:{myshixun_identifier:on.user_id,data:hr({},on)},fn:()=>Al({page:1,page_size:10},"all")}})})},"\u70B9\u8BC4\u4F5C\u4E1A"))))))),ft.createElement(Fo,null),ft.createElement(Fi.Z,null),ft.createElement(Le.default,{open:Si,width:860,centered:!0,onCancel:()=>{Ei(!1)},title:"\u8BA1\u65F6\u89C4\u5219\u8BF4\u660E",footer:null},ft.createElement("div",{style:{color:"#333333",fontWeight:400}},ft.createElement("span",{style:{fontWeight:500}},"1\u3001\u9875\u9762\u505C\u7559\u65F6\u957F"),ft.createElement("br",null),ft.createElement("span",null,"\u5B66\u751F\u8FDB\u5165\u5173\u5361\u7684\u7B54\u9898\u9875\u9762\u5F00\u59CB\u8BA1\u65F6\uFF0C\u76F4\u81F3\u5B66\u751F\u5173\u5361\u8BC4\u6D4B\u901A\u8FC7\uFF0C\u5219\u8BA1\u65F6\u7ED3\u675F\uFF1B"),ft.createElement("br",null),ft.createElement("span",null," \u5B66\u751F\u8FDB\u5165\u5173\u5361\u7684\u7B54\u9898\u9875\u9762\u5F00\u59CB\u8BA1\u65F6\uFF0C\u82E5\u5B66\u751F\u5173\u95ED/\u9000\u51FA\u7B54\u9898\u9875\u9762\uFF0C\u5219\u8BA1\u65F6\u6682\u505C\uFF0C\u518D\u6B21\u8FDB\u5165\u7B54\u9898\u9875\u9762\u65F6\u5F00\u59CB\u7D2F\u8BA1\u8BA1\u65F6\u76F4\u81F3\u8BC4\u6D4B\u901A\u8FC7\uFF0C\u5219\u8BA1\u65F6\u7ED3\u675F\uFF1B"),ft.createElement("span",{style:{color:"#FA6400",display:"flex",height:34,alignItems:"center"}}," \u53EF\u80FD\u4F1A\u9020\u6210\u65F6\u957F\u8BC4\u4F30\u4E0E\u5B9E\u9645\u505A\u9898\u80FD\u529B\u4E0D\u7B26\u7684\u60C5\u51B5 "),ft.createElement("span",null,"a\u3001\u5B66\u751F\u8FDB\u5165\u5173\u5361\u770B\u5B8C\u9898\u540E\uFF0C\u9000\u51FA\u7B54\u9898\u9875\u9762\u5B8C\u6210\u4EE3\u7801\u8BBE\u8BA1\uFF0C\u518D\u590D\u5236\u8FDB\u5E73\u53F0\u7B54\u9898\u9875\u9762\u8FDB\u884C\u8BC4\u6D4B\uFF0C\u65E0\u6CD5\u8BC4\u4F30\u5B66\u751F\u7684\u5B66\u4E60\u548C\u601D\u8003\u65F6\u95F4\u3002")),ft.createElement("div",{style:{color:"#333333",marginTop:20,fontWeight:400}},ft.createElement("span",{style:{fontWeight:500}},"2\u3001\u5173\u5361\u603B\u8017\u65F6"),ft.createElement("br",null),ft.createElement("span",{style:{}},"\u5B66\u751F\u7B2C\u4E00\u6B21\u8FDB\u5165\u5173\u5361\u7B54\u9898\u9875\u9762\u5F00\u59CB\u8BA1\u65F6\uFF0C\u76F4\u81F3\u8BE5\u5173\u5361\u8BC4\u6D4B\u901A\u8FC7\uFF0C\u5219\u8BA1\u65F6\u7ED3\u675F\u3002 "),ft.createElement("br",null),ft.createElement("span",null," \u53E6\uFF0C\u5373\u4F7F\u5173\u5361\u95EF\u5173\u8FC7\u7A0B\u4E2D\uFF0C\u5B66\u751F\u9000\u51FA/\u5173\u95ED\u7B54\u9898\u9875\u9762\uFF0C\u4E5F\u5C06\u6301\u7EED\u8BA1\u65F6\uFF0C\u76F4\u81F3\u8BE5\u5173\u5361\u901A\u8FC7\u3002"),ft.createElement("span",{style:{color:"#FA6400",display:"flex",height:44,paddingTop:10}}," \u53EF\u80FD\u4F1A\u9020\u6210\u65F6\u957F\u8BC4\u4F30\u4E0E\u5B9E\u9645\u505A\u9898\u80FD\u529B\u4E0D\u7B26\u7684\u60C5\u51B5 "),ft.createElement("span",null,"a\u3001\u5B66\u751F\u4ECE\u5176\u4ED6\u540C\u5B66\u5904\u770B\u5230\u9898\u76EE\u540E\uFF0C\u5B8C\u6210\u4EE3\u7801\u8BBE\u8BA1\uFF0C\u518D\u8FDB\u5165\u5173\u5361\u7B54\u9898\u9875\u9762\uFF0C\u5C06\u5DF2\u5B8C\u6210\u7684\u4EE3\u7801\u590D\u5236\u81F3\u5E73\u53F0\u8FDB\u884C\u8BC4\u6D4B\uFF1B"),ft.createElement("br",null),ft.createElement("span",null,"b\u3001\u5B66\u751F\u7B2C\u4E00\u6B21\u6253\u5F00\u5173\u5361\u540E\uFF0C\u56E0\u4E3A\u67D0\u79CD\u539F\u56E0\u79BB\u5F00\u9875\u9762\uFF0C\u65F6\u9694\u591A\u65E5\u624D\u518D\u6B21\u8FDB\u5165\u5E73\u53F0\u95EF\u5173\uFF0C\u5C31\u4F1A\u5BFC\u81F4\u5B66\u751F\u5173\u5361\u603B\u8017\u65F6\u8FC7\u957F\uFF1B")),ft.createElement("div",{style:{color:"#333333",marginTop:20,fontWeight:400}},ft.createElement("span",{style:{fontWeight:500}},"3\u3001\u4F5C\u4E1A\u901A\u5173\u65F6\u957F"),ft.createElement("br",null),ft.createElement("span",{style:{}},"\u4ECE\u8001\u5E08\u53D1\u5E03\u7684\u5B9E\u8BAD\u4F5C\u4E1A\u5F00\u59CB\u65F6\u95F4\uFF0C\u5F00\u59CB\u8BA1\u65F6\uFF0C\u76F4\u81F3\u5B66\u751F\u5B9E\u8BAD\u901A\u5173\uFF08\u5305\u62EC\u8FDF\u4EA4\u901A\u5173\uFF09\uFF0C\u7ED3\u675F\u8BA1\u65F6\u3002\u5982\u679C\u5B66\u751F\u672A\u901A\u5173\uFF0C\u5219\u8BE5\u751F\u7684\u95EF\u5173\u8017\u65F6\u4E3A\u8001\u5E08\u8BBE\u7F6E\u7684\u5B9E\u8BAD\u5F00\u59CB\u65F6\u95F4\u81F3\u5B9E\u8BAD\u622A\u6B62\u65F6\u95F4\uFF0C\u5982\u679C\u8001\u5E08\u5F00\u542F\u4E86\u8865\u4EA4\uFF0C\u5219\u8BE5\u751F\u7684\u95EF\u5173\u8017\u65F6\u4E3A\u5B9E\u8BAD\u5F00\u59CB\u65F6\u95F4\u81F3\u5B9E\u8BAD\u8865\u4EA4\u622A\u6B62\u65F6\u95F4\u3002")),ft.createElement("div",{style:{color:"#333333",marginTop:20,fontWeight:400}},ft.createElement("span",{style:{fontWeight:500}},"\u89C4\u5219\u76EE\u7684"),ft.createElement("br",null),ft.createElement("span",{style:{}},"\u9F13\u52B1\u5B66\u751F\u5728\u5B9E\u8BAD\u4F5C\u4E1A\u53D1\u5E03\u7684\u7B2C\u4E00\u65F6\u95F4\uFF0C\u7ACB\u5373\u767B\u5F55\u5E73\u53F0\u5B8C\u6210\u5B9E\u8BAD\u4F5C\u4E1A\u7684\u901A\u5173\u3002"))),ft.createElement(Le.default,{open:ki,title:"\u5B9E\u8BAD\u603B\u8017\u65F6\u8BF4\u660E",centered:!0,footer:null,onCancel:()=>{To(!1)},width:600},ft.createElement("div",{style:{fontWeight:400,color:"#333333"}},ft.createElement("div",null,"1\u3001\u5F53\u8BA1\u65F6\u89C4\u5219\u4E3A\u201C",ft.createElement("span",{style:{color:"#145DFF"}},"\u9875\u9762\u505C\u7559\u65F6\u957F"),"\u201D\u65F6\uFF0C\u5B9E\u8BAD\u603B\u8017\u65F6\u4E3A\u6240\u6709\u5173\u5361\u8017\u65F6\u76F8\u52A0\u4E4B\u548C\uFF1B"),ft.createElement("div",{style:{margin:"20px 0px"}},"2\u3001\u5F53\u8BA1\u65F6\u89C4\u5219\u4E3A\u201C",ft.createElement("span",{style:{color:"#145DFF"}},"\u5173\u5361\u603B\u8017\u65F6"),"\u201D\u65F6\uFF0C\u5B9E\u8BAD\u603B\u8017\u65F6\u4E3A\u6240\u6709\u5173\u5361\u8017\u65F6\u76F8\u52A0\u4E4B\u548C\uFF1B"),ft.createElement("div",null,"3\u3001\u5F53\u8BA1\u65F6\u89C4\u5219\u4E3A\u201C",ft.createElement("span",{style:{color:"#145DFF"}},"\u4F5C\u4E1A\u901A\u5173\u65F6\u957F"),"\u201D\u65F6\uFF0C\u5B9E\u8BAD\u603B\u8017\u65F6\u4E3A\u5B9E\u8BAD\u53D1\u5E03\u65F6\u95F4\u81F3\u5B9E\u8BAD\u901A\u5173\u65F6\u95F4\uFF0C\u5F53\u5B66\u751F\u672A\u901A\u5173\u65F6\uFF0C\u5B9E\u8BAD\u603B\u8017\u65F6\u4E3A\u5B9E\u8BAD\u53D1\u5E03\u65F6\u95F4\u81F3\u5B9E\u8BAD\u622A\u6B62\u65F6\u95F4\u3002"))),ft.createElement(Le.default,{open:Is,title:"\u6210\u7EE9\u8C03\u5206\u8BB0\u5F55",centered:!0,footer:null,onCancel:()=>{qi("all"),tA(!1)},destroyOnClose:!0,width:900},ft.createElement("div",{style:{fontWeight:400,color:"#333333"}},ft.createElement("div",null,ft.createElement("span",null,"\u5173\u5361\uFF1A"),ft.createElement(z.default,{style:{width:300},value:ri,placeholder:"\u8BF7\u9009\u62E9\u5173\u5361",defaultValue:"all",onChange:re=>na(void 0,null,function*(){qi(re),Al({page:1,page_size:10},re)})},ft.createElement(z.default.Option,{value:"all"}," \u5168\u90E8 "),(Ya=on==null?void 0:on.stage_list)==null?void 0:Ya.map((re,he)=>ft.createElement(z.default.Option,{key:he,value:re==null?void 0:re.challenge_id},"\u7B2C",(0,Ze.EM)(he+1),"\u5173")))),ft.createElement("div",{className:"mt20"},ft.createElement(x.default,{dataSource:aa,rowKey:re=>re==null?void 0:re.id,pagination:!1,columns:yA,loading:Jr})),ft.createElement("div",{className:Da.footer},ft.createElement("div",null,ft.createElement("span",{style:{color:"#656F87"}},"\u5171",ft.createElement("span",{className:"c-light-primary"},Io),"\u6761\u6570\u636E")),ft.createElement(ae.Z,{defaultCurrent:1,defaultPageSize:10,current:(wn==null?void 0:wn.page)||1,showSizeChanger:!1,showQuickJumper:!0,hideOnSinglePage:!0,total:Io,onChange:XA})))))};var so=(0,Ke.connect)(({shixunHomeworks:Tt,classroomList:St,loading:zt,globalSetting:Pn,user:ur})=>({shixunHomeworks:Tt,classroomList:St,globalSetting:Pn,loading:zt.effects,user:ur}))(Ja);const Bo=({globalSetting:Tt})=>{var St;switch(Number((St=Tt==null?void 0:Tt.setting)==null?void 0:St.theme)){case le.Fy.THEMEONE:return ye.createElement(Vr,null);case le.Fy.DEFAULT:default:return ye.createElement(so,null)}};var ua=(0,Ke.connect)(({globalSetting:Tt})=>({globalSetting:Tt}))(Bo)},42420:function(Yt,Nt,de){"use strict";var le=de(14446),ye=de(2453),Ke=de(33170),Je=de(35973),ze=de(52262),Re=de(67294),pe=(Le,ge,Ie)=>new Promise((Pe,we)=>{var se=b=>{try{a(Ie.next(b))}catch(E){we(E)}},y=b=>{try{a(Ie.throw(b))}catch(E){we(E)}},a=b=>b.done?Pe(b.value):Promise.resolve(b.value).then(se,y);a((Ie=Ie.apply(Le,ge)).next())});const ve=({shixunHomeworks:Le,classroomList:ge,dispatch:Ie})=>{const Pe=(0,Je.useParams)();return Re.createElement(le.default,{centered:!0,title:"\u63D0\u793A",open:Le.actionTabs.key==="\u6253\u56DE\u91CD\u505A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>pe(void 0,null,function*(){var we,se,y,a;if((0,ze.Rm)()&&!((we=ge.AssistantObject.practice)!=null&&we.can_redo)){ye.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}const b=yield(0,Ke.ZP)(`/api/myshixuns/${Le.actionTabs.selectArrs.myshixun_identifier}/reset_my_game.json`,{method:"GET",params:{course_id:Pe.coursesId,homework_common_id:Le.actionTabs.homework_common_id}});if(b.shixun_identifier){ye.ZP.success("\u64CD\u4F5C\u6210\u529F"),Ie({type:"shixunHomeworks/setActionTabs",payload:{}});const E=(y=(se=b==null?void 0:b.new_works)==null?void 0:se.find(x=>`${x.homework_common_id}`===Pe.categoryId))==null?void 0:y.id;if((0,ze.Rm)()&&!((a=ge.AssistantObject.practice)!=null&&a.can_view))return;Je.history.replace(`/classrooms/${Pe.coursesId}/shixun_homework/${Pe.categoryId}/${E}/comment`)}}),onCancel:()=>{Ie({type:"shixunHomeworks/setActionTabs",payload:{}})}},Re.createElement("p",null,"\u8BE5\u4F5C\u4E1A\u5C06\u88AB\u6253\u56DE\u91CD\u505A\uFF0C\u5B66\u751F\u5B9E\u8BAD\u8BB0\u5F55\u5C06\u88AB\u6E05\u7A7A!"),Re.createElement("p",null,"\u786E\u5B9A\u6253\u56DE?"))};Nt.Z=(0,Je.connect)(({shixunHomeworks:Le,classroomList:ge})=>({shixunHomeworks:Le,classroomList:ge}))(ve)},98769:function(Yt,Nt,de){"use strict";de.d(Nt,{AD:function(){return Ot},BA:function(){return cn},D9:function(){return tt},Hp:function(){return Ee},IM:function(){return mn},Iy:function(){return be},KM:function(){return Ye},KU:function(){return Ln},MJ:function(){return De},Ne:function(){return ut},ON:function(){return xn},Uj:function(){return Tn},VY:function(){return Cn},YO:function(){return xt},YX:function(){return tr},Zn:function(){return y},_g:function(){return z},_k:function(){return gt},c6:function(){return wt},cr:function(){return a},eV:function(){return Qe},fi:function(){return b},gh:function(){return ot},hS:function(){return en},iA:function(){return E},j6:function(){return ae},je:function(){return Ft},jj:function(){return ce},kS:function(){return Yn},o6:function(){return Te},pO:function(){return ir},rQ:function(){return lt},sA:function(){return Ze},xm:function(){return pt},xo:function(){return Et},y8:function(){return it},yd:function(){return x}});var le=de(89779),ye=de(35973),Ke=de(28706),Je=de(2453),ze=de(11320),Re=Object.defineProperty,pe=Object.getOwnPropertySymbols,ve=Object.prototype.hasOwnProperty,Le=Object.prototype.propertyIsEnumerable,ge=(Oe,fe,me)=>fe in Oe?Re(Oe,fe,{enumerable:!0,configurable:!0,writable:!0,value:me}):Oe[fe]=me,Ie=(Oe,fe)=>{for(var me in fe||(fe={}))ve.call(fe,me)&&ge(Oe,me,fe[me]);if(pe)for(var me of pe(fe))Le.call(fe,me)&&ge(Oe,me,fe[me]);return Oe},Pe=(Oe,fe,me)=>new Promise((Ue,qe)=>{var ct=gn=>{try{an(me.next(gn))}catch(An){qe(An)}},st=gn=>{try{an(me.throw(gn))}catch(An){qe(An)}},an=gn=>gn.done?Ue(gn.value):Promise.resolve(gn.value).then(ct,st);an((me=me.apply(Oe,fe)).next())});const we=()=>{(0,ye.getDvaApp)()._store.dispatch({type:"globalSetting/setGlobalLoading",payload:{show:!0,text:"\u6B63\u5728\u751F\u6210\u6587\u4EF6\uFF0C\u8BF7\u7A0D\u540E..."}})},se=()=>{(0,ye.getDvaApp)()._store.dispatch({type:"globalSetting/setGlobalLoading",payload:{show:!1,text:""}})},y=Oe=>Pe(void 0,null,function*(){we(),(yield(0,le.YR)(Ie({},Oe))).status===0&&(yield(0,Ke.QH)("",(0,Ke.NY)({url:ze.Z.API_SERVER+`/api/courses/${Oe.coursesId}/export_couser_info.json`,query:Oe}))),se()}),a=Oe=>Pe(void 0,null,function*(){const fe=yield(0,le.yS)(Ie({},Oe));if(fe.status===0)Je.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),ye.history.push(`/classrooms/${Oe.coursesId}/exportlist/course_member_act_score`);else{if(fe.status===-2)return fe;fe.status===-3&&((0,ye.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),ye.history.push(`/classrooms/${Oe.coursesId}/exportlist/course_member_act_score`))}}),b=Oe=>Pe(void 0,null,function*(){const fe=yield(0,le.W0)(Ie({},Oe));if(fe.status===0)Je.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),ye.history.push(`/classrooms/${Oe.coursesId}/exportlist/course_total_score`);else{if(fe.status===-4)return fe;fe.status===-3&&((0,ye.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),ye.history.push(`/classrooms/${Oe.coursesId}/exportlist/course_total_score`))}}),E=Oe=>Pe(void 0,null,function*(){const fe=yield(0,le.Nl)(Ie({},Oe));if(fe.status===0)Je.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),ye.history.push(`/classrooms/${Oe.coursesId}/exportlist/course_total_exercise_and_other`);else{if(fe.status===-4)return fe;fe.status===-3&&((0,ye.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),ye.history.push(`/classrooms/${Oe.coursesId}/exportlist/course_total_exercise_and_other`))}}),x=Oe=>Pe(void 0,null,function*(){const fe=yield(0,le.IU)(Ie({},Oe));if(fe.status===0)Je.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),ye.history.push(`/classrooms/${Oe.coursesId}/exportlist/export_star_user`);else{if(fe.status===-4)return fe;fe.status===-3&&((0,ye.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),ye.history.push(`/classrooms/${Oe.coursesId}/exportlist/export_star_user`))}}),z=Oe=>Pe(void 0,null,function*(){const fe=yield(0,le.td)(Ie({},Oe));if(fe.status===0)Je.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),ye.history.push(`/classrooms/${Oe.coursesId}/exportlist/course_total_exercise_and_other`);else{if(fe.status===-2)return fe;if(fe.status===-3)(0,ye.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),ye.history.push(`/classrooms/${Oe.coursesId}/exportlist/course_total_exercise_and_other`);else if(fe.status===-4)return fe}}),ae=Oe=>Pe(void 0,null,function*(){const fe=yield(0,le.QX)(Ie({},Oe));if(fe.status===0)Je.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),ye.history.push(`/classrooms/${Oe.coursesId}/exportlist/course_total_homework`);else{if(fe.status===-4)return fe;fe.status===-3&&((0,ye.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),ye.history.push(`/classrooms/${Oe.coursesId}/exportlist/course_total_homework`))}}),ce=(Oe,fe)=>Pe(void 0,null,function*(){const me=yield(0,le.o_)(Ie({},Oe));me.status===0?(Je.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F\uFF01\u5BFC\u51FA\u540E\u6587\u4EF6\u4FDD\u5B58\u65F6\u95F4\u4E3A7\u5929\uFF0C\u8BF7\u53CA\u65F6\u4E0B\u8F7D"),ye.history.push(`/classrooms/${Oe.coursesId}/exportlist/${fe}`)):me.status===-3&&((0,ye.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),ye.history.push(`/classrooms/${Oe.coursesId}/exportlist/${fe}`))}),Ee=(Oe,fe)=>Pe(void 0,null,function*(){const me=yield(0,le.ZL)(Ie({},Oe));me.status===0?(Je.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F\uFF01\u5BFC\u51FA\u540E\u6587\u4EF6\u4FDD\u5B58\u65F6\u95F4\u4E3A7\u5929\uFF0C\u8BF7\u53CA\u65F6\u4E0B\u8F7D"),ye.history.push(`/classrooms/${Oe.coursesId}/exportlist/${fe}`)):me.status===-3&&((0,ye.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),ye.history.push(`/classrooms/${Oe.coursesId}/exportlist/${fe}`))}),be=(Oe,fe)=>Pe(void 0,null,function*(){const me=yield(0,le.aP)(Ie({},Oe));me.status===0?(Je.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),ye.history.push(`/classrooms/${Oe.coursesId}/exportlist/${fe}`)):me.status===-3&&((0,ye.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),ye.history.push(`/classrooms/${Oe.coursesId}/exportlist/${fe}`))}),De=(Oe,fe)=>Pe(void 0,null,function*(){const me=yield(0,le.vV)(Ie({},Oe));me.status===0?(Je.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F\uFF01\u5BFC\u51FA\u540E\u6587\u4EF6\u4FDD\u5B58\u65F6\u95F4\u4E3A7\u5929\uFF0C\u8BF7\u53CA\u65F6\u4E0B\u8F7D"),ye.history.push(`/classrooms/${Oe.coursesId}/exportlist/${fe}`)):me.status===-3&&((0,ye.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),ye.history.push(`/classrooms/${Oe.coursesId}/exportlist/${fe}`))}),Ge=Oe=>Pe(void 0,null,function*(){we(),(yield exportCourseWorkListAppendix(Ie({},Oe))).status===0&&(yield downLoadFileIframe("",setUrlQuery({url:ENV.API_SERVER+`/api/homework_commons/${Oe.categoryId}/works_list.zip`,query:Oe}))),se()}),Ze=Oe=>Pe(void 0,null,function*(){we(),yield(0,Ke.QH)("",ze.Z.API_SERVER+`/api/polls/${Oe.categoryId}/commit_result.xlsx`),se()}),ot=Oe=>Pe(void 0,null,function*(){yield(0,Ke.FH)("",(0,Ke.NY)({url:ze.Z.API_SERVER+`/api/courses/${Oe.coursesId}/attendances/export_xlsx_data.xlsx`,query:Oe}))}),Te=Oe=>Pe(void 0,null,function*(){yield(0,Ke.FH)("",(0,Ke.NY)({url:ze.Z.API_SERVER+`/api/courses/${Oe.coursesId}/video_study_statics.xlsx`,query:Oe}))}),wt=Oe=>Pe(void 0,null,function*(){yield(0,Ke.FH)("",(0,Ke.NY)({url:ze.Z.API_SERVER+`/api/courses/${Oe.coursesId}/export_video_study.xlsx`,query:Oe}))}),Qe=Oe=>Pe(void 0,null,function*(){yield(0,Ke.FH)("",(0,Ke.NY)({url:ze.Z.API_SERVER+`/api/courses/${Oe.coursesId}/export_course_students_info.xlsx`,query:Oe}))}),Ot=Oe=>Pe(void 0,null,function*(){yield(0,Ke.FH)("",(0,Ke.NY)({url:ze.Z.API_SERVER+"/api/school_manages/students.xlsx",query:Oe}))}),lt=Oe=>Pe(void 0,null,function*(){yield(0,Ke.FH)("",(0,Ke.NY)({url:ze.Z.API_SERVER+"/api/item_banks/export.xlsx",query:Oe}))}),it=Oe=>Pe(void 0,null,function*(){yield(0,Ke.FH)("",(0,Ke.NY)({url:ze.Z.API_SERVER+"/api/competitions/region_reports.xlsx",query:Oe}))}),Ft=Oe=>Pe(void 0,null,function*(){const fe=yield(0,le.Uy)(Ie({},Oe));fe.status===0?(Je.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),ye.history.push(`/classrooms/${Oe.coursesId}/exportlist/exercise_score,export_exercise_users`)):fe.status===-3&&((0,ye.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),ye.history.push(`/classrooms/${Oe.coursesId}/exportlist/exercise_score,export_exercise_users`))}),gt=Oe=>Pe(void 0,null,function*(){console.log("----------","\u8C03\u7528\u4E0B\u8F7D"),yield(0,Ke.FH)("",(0,Ke.NY)({url:ze.Z.API_SERVER+`/api/export_records/${Oe.id}.xlsx`,query:Oe}))}),pt=Oe=>Pe(void 0,null,function*(){yield(0,Ke.FH)("",(0,Ke.NY)({url:ze.Z.API_SERVER+"/api/ec_major_schools/0/ec_years.xlsx",query:Oe}))}),tt=Oe=>Pe(void 0,null,function*(){yield(0,Ke.FH)("",(0,Ke.NY)({url:ze.Z.API_SERVER+`/api/courses/${Oe==null?void 0:Oe.coursesId}/${Oe.menuKey}_statistic.xlsx?${Oe.checkedList.map(fe=>`course_group_id[]=${fe}`).join("&")}`,query:Oe}))}),ut=Oe=>Pe(void 0,null,function*(){yield(0,Ke.FH)("",(0,Ke.NY)({url:ze.Z.API_SERVER+`/api/ec_years/${Oe==null?void 0:Oe.ec_year_id}/ec_training_objectives.xlsx`,query:Oe}))}),mn=Oe=>Pe(void 0,null,function*(){yield(0,Ke.FH)(Oe==null?void 0:Oe.name,(0,Ke.NY)({url:ze.Z.API_SERVER+"/api/attachments/get_ecs_attachment.docx",query:Oe}))}),en=Oe=>Pe(void 0,null,function*(){yield(0,Ke.FH)("",(0,Ke.NY)({url:ze.Z.API_SERVER+`/api/ec_years/${Oe==null?void 0:Oe.ec_year_id}/ec_courses.xlsx`,query:Oe}))}),Et=Oe=>Pe(void 0,null,function*(){yield(0,Ke.FH)("",(0,Ke.NY)({url:ze.Z.API_SERVER+`/api/ec_years/${Oe==null?void 0:Oe.ec_year_id}/ec_graduation_requirements.xlsx`,query:Oe}))}),Cn=Oe=>Pe(void 0,null,function*(){yield(0,Ke.FH)("",(0,Ke.NY)({url:ze.Z.API_SERVER+"/api/courses/rank_list.xlsx",query:Oe}))}),Ln=Oe=>Pe(void 0,null,function*(){yield(0,Ke.FH)("",(0,Ke.NY)({url:ze.Z.API_SERVER+`/api/exercises/${Oe.categoryId}/rank_list.xlsx`,query:Oe}))}),Yn=Oe=>Pe(void 0,null,function*(){yield(0,Ke.FH)("",(0,Ke.NY)({url:ze.Z.API_SERVER+"/api/courses/question_rank_list.xlsx",query:Oe}))}),xn=Oe=>Pe(void 0,null,function*(){yield(0,Ke.FH)("",(0,Ke.NY)({url:ze.Z.API_SERVER+`/api/examination_banks/${Oe.id}.json`,query:Oe}))}),tr=Oe=>Pe(void 0,null,function*(){yield(0,Ke.FH)("",(0,Ke.NY)({url:ze.Z.API_SERVER+`/api/exercises/${Oe.categoryId}.json`,query:Oe}))}),xt=Oe=>Pe(void 0,null,function*(){yield(0,Ke.FH)("",(0,Ke.NY)({url:ze.Z.API_SERVER+`/api/polls/${Oe==null?void 0:Oe.id}/commit_result.json`,query:Oe}))}),Tn=Oe=>Pe(void 0,null,function*(){yield(0,Ke.FH)("",(0,Ke.NY)({url:ze.Z.API_SERVER+"/api/paths/get_task_pass.json",query:Oe}))}),ir=(Oe,fe)=>Pe(void 0,null,function*(){yield(0,Ke.FH)(fe||"",(0,Ke.NY)({url:ze.Z.API_SERVER+`/api/exercises/${Oe==null?void 0:Oe.exercise_id}/consult_exercise.json`,query:Oe}))}),Ye=Oe=>Pe(void 0,null,function*(){yield(0,Ke.FH)("",(0,Ke.NY)({url:ze.Z.API_SERVER+`/api/competitions/${Oe==null?void 0:Oe.identifier}/competition_commit_records/member_works.xlsx`,query:Oe}))}),cn=Oe=>Pe(void 0,null,function*(){yield(0,Ke.FH)("",(0,Ke.NY)({url:ze.Z.API_SERVER+`/api/courses/${Oe==null?void 0:Oe.coursesId}/group_homeworks/import_group_template.xlsx`,query:Oe}))})},9343:function(Yt,Nt,de){"use strict";de.d(Nt,{U:function(){return Le}});var le=de(67294),ye=Object.defineProperty,Ke=Object.getOwnPropertySymbols,Je=Object.prototype.hasOwnProperty,ze=Object.prototype.propertyIsEnumerable,Re=(ge,Ie,Pe)=>Ie in ge?ye(ge,Ie,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ge[Ie]=Pe,pe=(ge,Ie)=>{for(var Pe in Ie||(Ie={}))Je.call(Ie,Pe)&&Re(ge,Pe,Ie[Pe]);if(Ke)for(var Pe of Ke(Ie))ze.call(Ie,Pe)&&Re(ge,Pe,Ie[Pe]);return ge},ve=(ge,Ie,Pe)=>new Promise((we,se)=>{var y=E=>{try{b(Pe.next(E))}catch(x){se(x)}},a=E=>{try{b(Pe.throw(E))}catch(x){se(x)}},b=E=>E.done?we(E.value):Promise.resolve(E.value).then(y,a);b((Pe=Pe.apply(ge,Ie)).next())});function Le(ge,Ie){const[Pe,we]=(0,le.useState)(Ie),[se,y]=(0,le.useState)(!1),[a,b]=(0,le.useState)();return[Pe,se,(x,z=!1)=>ve(this,null,function*(){const ae=z?Ie:pe(pe({},Pe),x);y(!0),we(ae);const ce=yield ge(ae);return y(!1),b(ce),ce}),a]}},38780:function(Yt,Nt){"use strict";function de(){const le=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let ye=1;ye{const ze=Ke[Je];ze!==void 0&&(le[Je]=ze)})}return le}Nt.Z=de},66367:function(Yt,Nt,de){"use strict";de.d(Nt,{F:function(){return le},Z:function(){return ye}});function le(Ke){return Ke!=null&&Ke===Ke.window}function ye(Ke,Je){var ze,Re;if(typeof window=="undefined")return 0;const pe=Je?"scrollTop":"scrollLeft";let ve=0;return le(Ke)?ve=Ke[Je?"pageYOffset":"pageXOffset"]:Ke instanceof Document?ve=Ke.documentElement[pe]:(Ke instanceof HTMLElement||Ke)&&(ve=Ke[pe]),Ke&&!le(Ke)&&typeof ve!="number"&&(ve=(Re=((ze=Ke.ownerDocument)!==null&&ze!==void 0?ze:Ke).documentElement)===null||Re===void 0?void 0:Re[pe]),ve}},57838:function(Yt,Nt,de){"use strict";de.d(Nt,{Z:function(){return ye}});var le=de(67294);function ye(){const[,Ke]=le.useReducer(Je=>Je+1,0);return Ke}},58375:function(Yt,Nt,de){"use strict";de.d(Nt,{Z:function(){return Je}});var le=de(96523);function ye(ze,Re,pe,ve){const Le=pe-Re;return ze/=ve/2,ze<1?Le/2*ze*ze*ze+Re:Le/2*((ze-=2)*ze*ze+2)+Re}var Ke=de(66367);function Je(ze){let Re=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{getContainer:pe=()=>window,callback:ve,duration:Le=450}=Re,ge=pe(),Ie=(0,Ke.Z)(ge,!0),Pe=Date.now(),we=()=>{const y=Date.now()-Pe,a=ye(y>Le?Le:y,Ie,ze,Le);(0,Ke.F)(ge)?ge.scrollTo(window.pageXOffset,a):ge instanceof Document||ge.constructor.name==="HTMLDocument"?ge.documentElement.scrollTop=a:ge.scrollTop=a,y{let{children:it}=lt;const{getPrefixCls:Ft}=ze.useContext(pe.E_),gt=Ft("breadcrumb");return ze.createElement("li",{className:`${gt}-separator`,"aria-hidden":"true"},it===""?it:it||"/")};ge.__ANT_BREADCRUMB_SEPARATOR=!0;var Ie=ge,Pe=function(lt,it){var Ft={};for(var gt in lt)Object.prototype.hasOwnProperty.call(lt,gt)&&it.indexOf(gt)<0&&(Ft[gt]=lt[gt]);if(lt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var pt=0,gt=Object.getOwnPropertySymbols(lt);ptit[pt]||gt)}function se(lt,it,Ft,gt){if(Ft==null)return null;const{className:pt,onClick:tt}=it,ut=Pe(it,["className","onClick"]),mn=Object.assign(Object.assign({},(0,Je.Z)(ut,{data:!0,aria:!0})),{onClick:tt});return gt!==void 0?ze.createElement("a",Object.assign({},mn,{className:ye()(`${lt}-link`,pt),href:gt}),Ft):ze.createElement("span",Object.assign({},mn,{className:ye()(`${lt}-link`,pt)}),Ft)}function y(lt,it){return(gt,pt,tt,ut,mn)=>{if(it)return it(gt,pt,tt,ut);const en=we(gt,pt);return se(lt,gt,en,mn)}}var a=function(lt,it){var Ft={};for(var gt in lt)Object.prototype.hasOwnProperty.call(lt,gt)&&it.indexOf(gt)<0&&(Ft[gt]=lt[gt]);if(lt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var pt=0,gt=Object.getOwnPropertySymbols(lt);pt{const{prefixCls:it,separator:Ft="/",children:gt,menu:pt,overlay:tt,dropdownProps:ut,href:mn}=lt,Et=(Cn=>{if(pt||tt){const Ln=Object.assign({},ut);if(pt){const Yn=pt||{},{items:xn}=Yn,tr=a(Yn,["items"]);Ln.menu=Object.assign(Object.assign({},tr),{items:xn==null?void 0:xn.map((xt,Tn)=>{var{key:ir,title:Ye,label:cn,path:Oe}=xt,fe=a(xt,["key","title","label","path"]);let me=cn!=null?cn:Ye;return Oe&&(me=ze.createElement("a",{href:`${mn}${Oe}`},me)),Object.assign(Object.assign({},fe),{key:ir!=null?ir:Tn,label:me})})})}else tt&&(Ln.overlay=tt);return ze.createElement(Le.Z,Object.assign({placement:"bottom"},Ln),ze.createElement("span",{className:`${it}-overlay-link`},Cn,ze.createElement(ve.Z,null)))}return Cn})(gt);return Et!=null?ze.createElement(ze.Fragment,null,ze.createElement("li",null,Et),Ft&&ze.createElement(Ie,null,Ft)):null},E=lt=>{const{prefixCls:it,children:Ft,href:gt}=lt,pt=a(lt,["prefixCls","children","href"]),{getPrefixCls:tt}=ze.useContext(pe.E_),ut=tt("breadcrumb",it);return ze.createElement(b,Object.assign({},pt,{prefixCls:ut}),se(ut,pt,Ft,gt))};E.__ANT_BREADCRUMB_ITEM=!0;var x=E,z=de(14747),ae=de(67968),ce=de(45503);const Ee=lt=>{const{componentCls:it,iconCls:Ft}=lt;return{[it]:Object.assign(Object.assign({},(0,z.Wf)(lt)),{color:lt.itemColor,fontSize:lt.fontSize,[Ft]:{fontSize:lt.iconFontSize},ol:{display:"flex",flexWrap:"wrap",margin:0,padding:0,listStyle:"none"},a:Object.assign({color:lt.linkColor,transition:`color ${lt.motionDurationMid}`,padding:`0 ${lt.paddingXXS}px`,borderRadius:lt.borderRadiusSM,height:lt.lineHeight*lt.fontSize,display:"inline-block",marginInline:-lt.marginXXS,"&:hover":{color:lt.linkHoverColor,backgroundColor:lt.colorBgTextHover}},(0,z.Qy)(lt)),"li:last-child":{color:lt.lastItemColor},[`${it}-separator`]:{marginInline:lt.separatorMargin,color:lt.separatorColor},[`${it}-link`]:{[` > ${Ft} + span, > ${Ft} + a `]:{marginInlineStart:lt.marginXXS}},[`${it}-overlay-link`]:{borderRadius:lt.borderRadiusSM,height:lt.lineHeight*lt.fontSize,display:"inline-block",padding:`0 ${lt.paddingXXS}px`,marginInline:-lt.marginXXS,[`> ${Ft}`]:{marginInlineStart:lt.marginXXS,fontSize:lt.fontSizeIcon},"&:hover":{color:lt.linkHoverColor,backgroundColor:lt.colorBgTextHover,a:{color:lt.linkHoverColor}},a:{"&:hover":{backgroundColor:"transparent"}}},[`&${lt.componentCls}-rtl`]:{direction:"rtl"}})}};var be=(0,ae.Z)("Breadcrumb",lt=>{const it=(0,ce.TS)(lt,{});return[Ee(it)]},lt=>({itemColor:lt.colorTextDescription,lastItemColor:lt.colorText,iconFontSize:lt.fontSize,linkColor:lt.colorTextDescription,linkHoverColor:lt.colorText,separatorColor:lt.colorTextDescription,separatorMargin:lt.marginXS})),De=function(lt,it){var Ft={};for(var gt in lt)Object.prototype.hasOwnProperty.call(lt,gt)&&it.indexOf(gt)<0&&(Ft[gt]=lt[gt]);if(lt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var pt=0,gt=Object.getOwnPropertySymbols(lt);pt{var{breadcrumbName:ut}=tt,mn=De(tt,["breadcrumbName"]);return Object.assign(Object.assign({},mn),{title:ut})})}),pt}function Ze(lt,it){return(0,ze.useMemo)(()=>lt||(it?it.map(Ge):null),[lt,it])}var ot=function(lt,it){var Ft={};for(var gt in lt)Object.prototype.hasOwnProperty.call(lt,gt)&&it.indexOf(gt)<0&&(Ft[gt]=lt[gt]);if(lt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var pt=0,gt=Object.getOwnPropertySymbols(lt);pt{if(it===void 0)return it;let Ft=(it||"").replace(/^\//,"");return Object.keys(lt).forEach(gt=>{Ft=Ft.replace(`:${gt}`,lt[gt])}),Ft},wt=lt=>{const{prefixCls:it,separator:Ft="/",style:gt,className:pt,rootClassName:tt,routes:ut,items:mn,children:en,itemRender:Et,params:Cn={}}=lt,Ln=ot(lt,["prefixCls","separator","style","className","rootClassName","routes","items","children","itemRender","params"]),{getPrefixCls:Yn,direction:xn,breadcrumb:tr}=ze.useContext(pe.E_);let xt;const Tn=Yn("breadcrumb",it),[ir,Ye]=be(Tn),cn=Ze(mn,ut),Oe=y(Tn,Et);if(cn&&cn.length>0){const Ue=[],qe=mn||ut;xt=cn.map((ct,st)=>{const{path:an,key:gn,type:An,menu:Wn,overlay:Bt,onClick:Kt,className:Wt,separator:bn,dropdownProps:yt}=ct,Un=Te(Cn,an);Un!==void 0&&Ue.push(Un);const kt=gn!=null?gn:st;if(An==="separator")return ze.createElement(Ie,{key:kt},bn);const Jt={},Nn=st===cn.length-1;Wn?Jt.menu=Wn:Bt&&(Jt.overlay=Bt);let{href:Qn}=ct;return Ue.length&&Un!==void 0&&(Qn=`#/${Ue.join("/")}`),ze.createElement(b,Object.assign({key:kt},Jt,(0,Je.Z)(ct,{data:!0,aria:!0}),{className:Wt,dropdownProps:yt,href:Qn,separator:Nn?"":Ft,onClick:Kt,prefixCls:Tn}),Oe(ct,Cn,qe,Ue,Qn))})}else if(en){const Ue=(0,Ke.Z)(en).length;xt=(0,Ke.Z)(en).map((qe,ct)=>{if(!qe)return qe;const st=ct===Ue-1;return(0,Re.Tm)(qe,{separator:st?"":Ft,key:ct})})}const fe=ye()(Tn,tr==null?void 0:tr.className,{[`${Tn}-rtl`]:xn==="rtl"},pt,tt,Ye),me=Object.assign(Object.assign({},tr==null?void 0:tr.style),gt);return ir(ze.createElement("nav",Object.assign({className:fe,style:me},Ln),ze.createElement("ol",null,xt)))};wt.Item=x,wt.Separator=Ie;var Qe=wt,Ot=Qe},84567:function(Yt,Nt,de){"use strict";de.d(Nt,{default:function(){return be}});var le=de(94184),ye=de.n(le),Ke=de(95860),Je=de(67294),ze=de(53124),Re=de(98866),pe=de(65223),Le=Je.createContext(null),ge=de(63185),Ie=de(45353),Pe=de(92429),we=function(De,Ge){var Ze={};for(var ot in De)Object.prototype.hasOwnProperty.call(De,ot)&&Ge.indexOf(ot)<0&&(Ze[ot]=De[ot]);if(De!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Te=0,ot=Object.getOwnPropertySymbols(De);Te{var Ze;const{prefixCls:ot,className:Te,rootClassName:wt,children:Qe,indeterminate:Ot=!1,style:lt,onMouseEnter:it,onMouseLeave:Ft,skipGroup:gt=!1,disabled:pt}=De,tt=we(De,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:ut,direction:mn,checkbox:en}=Je.useContext(ze.E_),Et=Je.useContext(Le),{isFormItemInput:Cn}=Je.useContext(pe.aM),Ln=Je.useContext(Re.Z),Yn=(Ze=(Et==null?void 0:Et.disabled)||pt)!==null&&Ze!==void 0?Ze:Ln,xn=Je.useRef(tt.value);Je.useEffect(()=>{Et==null||Et.registerValue(tt.value)},[]),Je.useEffect(()=>{if(!gt)return tt.value!==xn.current&&(Et==null||Et.cancelValue(xn.current),Et==null||Et.registerValue(tt.value),xn.current=tt.value),()=>Et==null?void 0:Et.cancelValue(tt.value)},[tt.value]);const tr=ut("checkbox",ot),[xt,Tn]=(0,ge.ZP)(tr),ir=Object.assign({},tt);Et&&!gt&&(ir.onChange=function(){tt.onChange&&tt.onChange.apply(tt,arguments),Et.toggleOption&&Et.toggleOption({label:Qe,value:tt.value})},ir.name=Et.name,ir.checked=Et.value.includes(tt.value));const Ye=ye()(`${tr}-wrapper`,{[`${tr}-rtl`]:mn==="rtl",[`${tr}-wrapper-checked`]:ir.checked,[`${tr}-wrapper-disabled`]:Yn,[`${tr}-wrapper-in-form-item`]:Cn},en==null?void 0:en.className,Te,wt,Tn),cn=ye()({[`${tr}-indeterminate`]:Ot},Pe.A,Tn),Oe=Ot?"mixed":void 0;return xt(Je.createElement(Ie.Z,{component:"Checkbox",disabled:Yn},Je.createElement("label",{className:Ye,style:Object.assign(Object.assign({},en==null?void 0:en.style),lt),onMouseEnter:it,onMouseLeave:Ft},Je.createElement(Ke.Z,Object.assign({"aria-checked":Oe},ir,{prefixCls:tr,className:cn,disabled:Yn,ref:Ge})),Qe!==void 0&&Je.createElement("span",null,Qe))))};var a=Je.forwardRef(se),b=de(74902),E=de(10366),x=function(De,Ge){var Ze={};for(var ot in De)Object.prototype.hasOwnProperty.call(De,ot)&&Ge.indexOf(ot)<0&&(Ze[ot]=De[ot]);if(De!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Te=0,ot=Object.getOwnPropertySymbols(De);Te{const{defaultValue:Ze,children:ot,options:Te=[],prefixCls:wt,className:Qe,rootClassName:Ot,style:lt,onChange:it}=De,Ft=x(De,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:gt,direction:pt}=Je.useContext(ze.E_),[tt,ut]=Je.useState(Ft.value||Ze||[]),[mn,en]=Je.useState([]);Je.useEffect(()=>{"value"in Ft&&ut(Ft.value||[])},[Ft.value]);const Et=Je.useMemo(()=>Te.map(fe=>typeof fe=="string"||typeof fe=="number"?{label:fe,value:fe}:fe),[Te]),Cn=fe=>{en(me=>me.filter(Ue=>Ue!==fe))},Ln=fe=>{en(me=>[].concat((0,b.Z)(me),[fe]))},Yn=fe=>{const me=tt.indexOf(fe.value),Ue=(0,b.Z)(tt);me===-1?Ue.push(fe.value):Ue.splice(me,1),"value"in Ft||ut(Ue),it==null||it(Ue.filter(qe=>mn.includes(qe)).sort((qe,ct)=>{const st=Et.findIndex(gn=>gn.value===qe),an=Et.findIndex(gn=>gn.value===ct);return st-an}))},xn=gt("checkbox",wt),tr=`${xn}-group`,[xt,Tn]=(0,ge.ZP)(xn),ir=(0,E.Z)(Ft,["value","disabled"]),Ye=Te.length?Et.map(fe=>Je.createElement(a,{prefixCls:xn,key:fe.value.toString(),disabled:"disabled"in fe?fe.disabled:Ft.disabled,value:fe.value,checked:tt.includes(fe.value),onChange:fe.onChange,className:`${tr}-item`,style:fe.style,title:fe.title},fe.label)):ot,cn={toggleOption:Yn,value:tt,disabled:Ft.disabled,name:Ft.name,registerValue:Ln,cancelValue:Cn},Oe=ye()(tr,{[`${tr}-rtl`]:pt==="rtl"},Qe,Ot,Tn);return xt(Je.createElement("div",Object.assign({className:Oe,style:lt},ir,{ref:Ge}),Je.createElement(Le.Provider,{value:cn},Ye)))},ae=Je.forwardRef(z);var ce=Je.memo(ae);const Ee=a;Ee.Group=ce,Ee.__ANT_CHECKBOX=!0;var be=Ee},63185:function(Yt,Nt,de){"use strict";de.d(Nt,{C2:function(){return ze}});var le=de(14747),ye=de(45503),Ke=de(67968);const Je=Re=>{const{checkboxCls:pe}=Re,ve=`${pe}-wrapper`;return[{[`${pe}-group`]:Object.assign(Object.assign({},(0,le.Wf)(Re)),{display:"inline-flex",flexWrap:"wrap",columnGap:Re.marginXS,[`> ${Re.antCls}-row`]:{flex:1}}),[ve]:Object.assign(Object.assign({},(0,le.Wf)(Re)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${ve}`]:{marginInlineStart:0},[`&${ve}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[pe]:Object.assign(Object.assign({},(0,le.Wf)(Re)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:Re.borderRadiusSM,alignSelf:"center",[`${pe}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${pe}-inner`]:Object.assign({},(0,le.oN)(Re))},[`${pe}-inner`]:{boxSizing:"border-box",position:"relative",top:0,insetInlineStart:0,display:"block",width:Re.checkboxSize,height:Re.checkboxSize,direction:"ltr",backgroundColor:Re.colorBgContainer,border:`${Re.lineWidth}px ${Re.lineType} ${Re.colorBorder}`,borderRadius:Re.borderRadiusSM,borderCollapse:"separate",transition:`all ${Re.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"21.5%",display:"table",width:Re.checkboxSize/14*5,height:Re.checkboxSize/14*8,border:`${Re.lineWidthBold}px solid ${Re.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${Re.motionDurationFast} ${Re.motionEaseInBack}, opacity ${Re.motionDurationFast}`}},"& + span":{paddingInlineStart:Re.paddingXS,paddingInlineEnd:Re.paddingXS}})},{[` ${ve}:not(${ve}-disabled), ${pe}:not(${pe}-disabled) `]:{[`&:hover ${pe}-inner`]:{borderColor:Re.colorPrimary}},[`${ve}:not(${ve}-disabled)`]:{[`&:hover ${pe}-checked:not(${pe}-disabled) ${pe}-inner`]:{backgroundColor:Re.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${pe}-checked:not(${pe}-disabled):after`]:{borderColor:Re.colorPrimaryHover}}},{[`${pe}-checked`]:{[`${pe}-inner`]:{backgroundColor:Re.colorPrimary,borderColor:Re.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${Re.motionDurationMid} ${Re.motionEaseOutBack} ${Re.motionDurationFast}`}}},[` ${ve}-checked:not(${ve}-disabled), ${pe}-checked:not(${pe}-disabled) `]:{[`&:hover ${pe}-inner`]:{backgroundColor:Re.colorPrimaryHover,borderColor:"transparent"}}},{[pe]:{"&-indeterminate":{[`${pe}-inner`]:{backgroundColor:Re.colorBgContainer,borderColor:Re.colorBorder,"&:after":{top:"50%",insetInlineStart:"50%",width:Re.fontSizeLG/2,height:Re.fontSizeLG/2,backgroundColor:Re.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}}}}},{[`${ve}-disabled`]:{cursor:"not-allowed"},[`${pe}-disabled`]:{[`&, ${pe}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${pe}-inner`]:{background:Re.colorBgContainerDisabled,borderColor:Re.colorBorder,"&:after":{borderColor:Re.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:Re.colorTextDisabled},[`&${pe}-indeterminate ${pe}-inner::after`]:{background:Re.colorTextDisabled}}}]};function ze(Re,pe){const ve=(0,ye.TS)(pe,{checkboxCls:`.${Re}`,checkboxSize:pe.controlInteractiveSize});return[Je(ve)]}Nt.ZP=(0,Ke.Z)("Checkbox",(Re,pe)=>{let{prefixCls:ve}=pe;return[ze(ve,Re)]})},96074:function(Yt,Nt,de){"use strict";de.d(Nt,{Z:function(){return Pe}});var le=de(94184),ye=de.n(le),Ke=de(67294),Je=de(53124),ze=de(14747),Re=de(67968),pe=de(45503);const ve=we=>{const{componentCls:se,sizePaddingEdgeHorizontal:y,colorSplit:a,lineWidth:b,textPaddingInline:E,orientationMargin:x,verticalMarginInline:z}=we;return{[se]:Object.assign(Object.assign({},(0,ze.Wf)(we)),{borderBlockStart:`${b}px solid ${a}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",marginInline:z,marginBlock:0,verticalAlign:"middle",borderTop:0,borderInlineStart:`${b}px solid ${a}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${we.dividerHorizontalGutterMargin}px 0`},[`&-horizontal${se}-with-text`]:{display:"flex",alignItems:"center",margin:`${we.dividerHorizontalWithTextGutterMargin}px 0`,color:we.colorTextHeading,fontWeight:500,fontSize:we.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:`0 ${a}`,"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:`${b}px solid transparent`,borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},[`&-horizontal${se}-with-text-left`]:{"&::before":{width:`${x*100}%`},"&::after":{width:`${100-x*100}%`}},[`&-horizontal${se}-with-text-right`]:{"&::before":{width:`${100-x*100}%`},"&::after":{width:`${x*100}%`}},[`${se}-inner-text`]:{display:"inline-block",paddingBlock:0,paddingInline:E},"&-dashed":{background:"none",borderColor:a,borderStyle:"dashed",borderWidth:`${b}px 0 0`},[`&-horizontal${se}-with-text${se}-dashed`]:{"&::before, &::after":{borderStyle:"dashed none none"}},[`&-vertical${se}-dashed`]:{borderInlineStartWidth:b,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${se}-with-text`]:{color:we.colorText,fontWeight:"normal",fontSize:we.fontSize},[`&-horizontal${se}-with-text-left${se}-no-default-orientation-margin-left`]:{"&::before":{width:0},"&::after":{width:"100%"},[`${se}-inner-text`]:{paddingInlineStart:y}},[`&-horizontal${se}-with-text-right${se}-no-default-orientation-margin-right`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${se}-inner-text`]:{paddingInlineEnd:y}}})}};var Le=(0,Re.Z)("Divider",we=>{const se=(0,pe.TS)(we,{dividerHorizontalWithTextGutterMargin:we.margin,dividerHorizontalGutterMargin:we.marginLG,sizePaddingEdgeHorizontal:0});return[ve(se)]},we=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:we.marginXS})),ge=function(we,se){var y={};for(var a in we)Object.prototype.hasOwnProperty.call(we,a)&&se.indexOf(a)<0&&(y[a]=we[a]);if(we!=null&&typeof Object.getOwnPropertySymbols=="function")for(var b=0,a=Object.getOwnPropertySymbols(we);b{const{getPrefixCls:se,direction:y,divider:a}=Ke.useContext(Je.E_),{prefixCls:b,type:E="horizontal",orientation:x="center",orientationMargin:z,className:ae,rootClassName:ce,children:Ee,dashed:be,plain:De,style:Ge}=we,Ze=ge(we,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","plain","style"]),ot=se("divider",b),[Te,wt]=Le(ot),Qe=x.length>0?`-${x}`:x,Ot=!!Ee,lt=x==="left"&&z!=null,it=x==="right"&&z!=null,Ft=ye()(ot,a==null?void 0:a.className,wt,`${ot}-${E}`,{[`${ot}-with-text`]:Ot,[`${ot}-with-text${Qe}`]:Ot,[`${ot}-dashed`]:!!be,[`${ot}-plain`]:!!De,[`${ot}-rtl`]:y==="rtl",[`${ot}-no-default-orientation-margin-left`]:lt,[`${ot}-no-default-orientation-margin-right`]:it},ae,ce),gt=Ke.useMemo(()=>typeof z=="number"?z:/^\d+$/.test(z)?Number(z):z,[z]),pt=Object.assign(Object.assign({},lt&&{marginLeft:gt}),it&&{marginRight:gt});return Te(Ke.createElement("div",Object.assign({className:Ft,style:Object.assign(Object.assign({},a==null?void 0:a.style),Ge)},Ze,{role:"separator"}),Ee&&E!=="vertical"&&Ke.createElement("span",{className:`${ot}-inner-text`,style:pt},Ee)))}},35874:function(Yt,Nt,de){"use strict";de.d(Nt,{Z:function(){return me}});var le=de(67294),ye=de(91034),Ke=de(94184),Je=de.n(Ke),ze=de(87462),Re=de(4942),pe=de(97685),ve=de(45987),Le=de(62709),ge=de(71002),Ie=de(12060);function Pe(Ue,qe,ct){var st=React.useRef({});return(!("value"in st.current)||ct(st.current.condition,qe))&&(st.current.value=Ue(),st.current.condition=qe),st.current.value}function we(Ue,qe){typeof Ue=="function"?Ue(qe):(0,ge.Z)(Ue)==="object"&&Ue&&"current"in Ue&&(Ue.current=qe)}function se(){for(var Ue=arguments.length,qe=new Array(Ue),ct=0;ct=b.F1&&ct<=b.F12)return!1;switch(ct){case b.ALT:case b.CAPS_LOCK:case b.CONTEXT_MENU:case b.CTRL:case b.DOWN:case b.END:case b.ESC:case b.HOME:case b.INSERT:case b.LEFT:case b.MAC_FF_META:case b.META:case b.NUMLOCK:case b.NUM_CENTER:case b.PAGE_DOWN:case b.PAGE_UP:case b.PAUSE:case b.PRINT_SCREEN:case b.RIGHT:case b.SHIFT:case b.UP:case b.WIN_KEY:case b.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(qe){if(qe>=b.ZERO&&qe<=b.NINE||qe>=b.NUM_ZERO&&qe<=b.NUM_MULTIPLY||qe>=b.A&&qe<=b.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&qe===0)return!0;switch(qe){case b.SPACE:case b.QUESTION_MARK:case b.NUM_PLUS:case b.NUM_MINUS:case b.NUM_PERIOD:case b.NUM_DIVISION:case b.SEMICOLON:case b.DASH:case b.EQUALS:case b.COMMA:case b.PERIOD:case b.SLASH:case b.APOSTROPHE:case b.SINGLE_QUOTE:case b.OPEN_SQUARE_BRACKET:case b.BACKSLASH:case b.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},E=b,x=function(qe){return+setTimeout(qe,16)},z=function(qe){return clearTimeout(qe)};typeof window!="undefined"&&"requestAnimationFrame"in window&&(x=function(qe){return window.requestAnimationFrame(qe)},z=function(qe){return window.cancelAnimationFrame(qe)});var ae=0,ce=new Map;function Ee(Ue){ce.delete(Ue)}var be=function(qe){var ct=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;ae+=1;var st=ae;function an(gn){if(gn===0)Ee(st),qe();else{var An=x(function(){an(gn-1)});ce.set(st,An)}}return an(ct),st};be.cancel=function(Ue){var qe=ce.get(Ue);return Ee(qe),z(qe)};var De=be,Ge=E.ESC,Ze=E.TAB;function ot(Ue){var qe=Ue.visible,ct=Ue.triggerRef,st=Ue.onVisibleChange,an=Ue.autoFocus,gn=Ue.overlayRef,An=le.useRef(!1),Wn=function(){if(qe){var bn,yt;(bn=ct.current)===null||bn===void 0||(yt=bn.focus)===null||yt===void 0||yt.call(bn),st==null||st(!1)}},Bt=function(){var bn;return(bn=gn.current)!==null&&bn!==void 0&&bn.focus?(gn.current.focus(),An.current=!0,!0):!1},Kt=function(bn){switch(bn.keyCode){case Ge:Wn();break;case Ze:{var yt=!1;An.current||(yt=Bt()),yt?bn.preventDefault():Wn();break}}};le.useEffect(function(){return qe?(window.addEventListener("keydown",Kt),an&&De(Bt,3),function(){window.removeEventListener("keydown",Kt),An.current=!1}):function(){An.current=!1}},[qe])}var Te=(0,le.forwardRef)(function(Ue,qe){var ct=Ue.overlay,st=Ue.arrow,an=Ue.prefixCls,gn=(0,le.useMemo)(function(){var Wn;return typeof ct=="function"?Wn=ct():Wn=ct,Wn},[ct]),An=se(qe,gn==null?void 0:gn.ref);return le.createElement(le.Fragment,null,st&&le.createElement("div",{className:"".concat(an,"-arrow")}),le.cloneElement(gn,{ref:a(gn)?An:void 0}))}),wt=Te,Qe={adjustX:1,adjustY:1},Ot=[0,0],lt={topLeft:{points:["bl","tl"],overflow:Qe,offset:[0,-4],targetOffset:Ot},top:{points:["bc","tc"],overflow:Qe,offset:[0,-4],targetOffset:Ot},topRight:{points:["br","tr"],overflow:Qe,offset:[0,-4],targetOffset:Ot},bottomLeft:{points:["tl","bl"],overflow:Qe,offset:[0,4],targetOffset:Ot},bottom:{points:["tc","bc"],overflow:Qe,offset:[0,4],targetOffset:Ot},bottomRight:{points:["tr","br"],overflow:Qe,offset:[0,4],targetOffset:Ot}},it=lt,Ft=["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger","autoFocus","overlay","children","onVisibleChange"];function gt(Ue,qe){var ct,st=Ue.arrow,an=st===void 0?!1:st,gn=Ue.prefixCls,An=gn===void 0?"rc-dropdown":gn,Wn=Ue.transitionName,Bt=Ue.animation,Kt=Ue.align,Wt=Ue.placement,bn=Wt===void 0?"bottomLeft":Wt,yt=Ue.placements,Un=yt===void 0?it:yt,kt=Ue.getPopupContainer,Jt=Ue.showAction,Nn=Ue.hideAction,Qn=Ue.overlayClassName,qn=Ue.overlayStyle,Cr=Ue.visible,Zr=Ue.trigger,Wr=Zr===void 0?["hover"]:Zr,cr=Ue.autoFocus,mr=Ue.overlay,vr=Ue.children,jr=Ue.onVisibleChange,Aa=(0,ve.Z)(Ue,Ft),ca=le.useState(),bo=(0,pe.Z)(ca,2),No=bo[0],ho=bo[1],da="visible"in Ue?Cr:No,ln=le.useRef(null),ga=le.useRef(null),Lo=le.useRef(null);le.useImperativeHandle(qe,function(){return ln.current});var Bi=function(Pr){ho(Pr),jr==null||jr(Pr)};ot({visible:da,triggerRef:Lo,onVisibleChange:Bi,autoFocus:cr,overlayRef:ga});var _a=function(Pr){var Vr=Ue.onOverlayClick;ho(!1),Vr&&Vr(Pr)},Po=function(){return le.createElement(wt,{ref:ga,overlay:mr,prefixCls:An,arrow:an})},Di=function(){return typeof mr=="function"?Po:Po()},Yi=function(){var Pr=Ue.minOverlayWidthMatchTrigger,Vr=Ue.alignPoint;return"minOverlayWidthMatchTrigger"in Ue?Pr:!Vr},ma=function(){var Pr=Ue.openClassName;return Pr!==void 0?Pr:"".concat(An,"-open")},En=le.cloneElement(vr,{className:Je()((ct=vr.props)===null||ct===void 0?void 0:ct.className,da&&ma()),ref:a(vr)?se(Lo,vr.ref):void 0}),On=Nn;return!On&&Wr.indexOf("contextMenu")!==-1&&(On=["click"]),le.createElement(Le.Z,(0,ze.Z)({builtinPlacements:Un},Aa,{prefixCls:An,ref:ln,popupClassName:Je()(Qn,(0,Re.Z)({},"".concat(An,"-show-arrow"),an)),popupStyle:qn,action:Wr,showAction:Jt,hideAction:On,popupPlacement:bn,popupAlign:Kt,popupTransitionName:Wn,popupAnimation:Bt,popupVisible:da,stretch:Yi()?"minWidth":"",popup:Di(),onPopupVisibleChange:Bi,onPopupClick:_a,getPopupContainer:kt}),En)}var pt=le.forwardRef(gt),tt=pt,ut=de(60276),mn=de(5663),en=de(10366),Et=de(80636),Cn=de(8745),Ln=de(96159),Yn=de(53124),xn=de(68508),tr=de(76529),xt=de(46605),Tn=de(66748);const ir=null,Ye=Ue=>{const{menu:qe,arrow:ct,prefixCls:st,children:an,trigger:gn,disabled:An,dropdownRender:Wn,getPopupContainer:Bt,overlayClassName:Kt,rootClassName:Wt,open:bn,onOpenChange:yt,visible:Un,onVisibleChange:kt,mouseEnterDelay:Jt=.15,mouseLeaveDelay:Nn=.1,autoAdjustOverflow:Qn=!0,placement:qn="",overlay:Cr,transitionName:Zr}=Ue,{getPopupContainer:Wr,getPrefixCls:cr,direction:mr}=le.useContext(Yn.E_),vr=le.useMemo(()=>{const En=cr();return Zr!==void 0?Zr:qn.includes("top")?`${En}-slide-down`:`${En}-slide-up`},[cr,qn,Zr]),jr=le.useMemo(()=>qn?qn.includes("Center")?qn.slice(0,qn.indexOf("Center")):qn:mr==="rtl"?"bottomRight":"bottomLeft",[qn,mr]),Aa=cr("dropdown",st),[ca,bo]=(0,Tn.Z)(Aa),[,No]=(0,xt.Z)(),ho=le.Children.only(an),da=(0,Ln.Tm)(ho,{className:Je()(`${Aa}-trigger`,{[`${Aa}-rtl`]:mr==="rtl"},ho.props.className),disabled:An}),ln=An?[]:gn;let ga;ln&&ln.includes("contextMenu")&&(ga=!0);const[Lo,Bi]=(0,mn.Z)(!1,{value:bn!=null?bn:Un}),_a=(0,ut.useEvent)(En=>{yt==null||yt(En),kt==null||kt(En),Bi(En)}),Po=Je()(Kt,Wt,bo,{[`${Aa}-rtl`]:mr==="rtl"}),Di=(0,Et.Z)({arrowPointAtCenter:typeof ct=="object"&&ct.pointAtCenter,autoAdjustOverflow:Qn,offset:No.marginXXS,arrowWidth:ct?No.sizePopupArrow:0,borderRadius:No.borderRadius}),Yi=le.useCallback(()=>{Bi(!1)},[]),ma=()=>{let En;return qe!=null&&qe.items?En=le.createElement(xn.default,Object.assign({},qe)):typeof Cr=="function"?En=Cr():En=Cr,Wn&&(En=Wn(En)),En=le.Children.only(typeof En=="string"?le.createElement("span",null,En):En),le.createElement(tr.J,{prefixCls:`${Aa}-menu`,expandIcon:le.createElement("span",{className:`${Aa}-menu-submenu-arrow`},le.createElement(ye.Z,{className:`${Aa}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:Yi,validator:On=>{let{mode:vn}=On}},En)};return ca(le.createElement(tt,Object.assign({alignPoint:ga},(0,en.Z)(Ue,["rootClassName"]),{mouseEnterDelay:Jt,mouseLeaveDelay:Nn,visible:Lo,builtinPlacements:Di,arrow:!!ct,overlayClassName:Po,prefixCls:Aa,getPopupContainer:Bt||Wr,transitionName:vr,trigger:ln,overlay:ma,placement:jr,onVisibleChange:_a}),da))};function cn(Ue){return Object.assign(Object.assign({},Ue),{align:{overflow:{adjustX:!1,adjustY:!1}}})}const Oe=(0,Cn.Z)(Ye,"dropdown",Ue=>Ue,cn),fe=Ue=>le.createElement(Oe,Object.assign({},Ue),le.createElement("span",null));Ye._InternalPanelDoNotUseOrYouWillBeFired=fe;var me=Ye},85418:function(Yt,Nt,de){"use strict";de.d(Nt,{Z:function(){return y}});var le=de(35874),ye=de(94184),Ke=de.n(ye),Je=de(67294),ze=de(25877),Re=de(71577),pe=de(53124),ve=de(93421),Le=de(4173),ge=de(66748),Ie=function(a,b){var E={};for(var x in a)Object.prototype.hasOwnProperty.call(a,x)&&b.indexOf(x)<0&&(E[x]=a[x]);if(a!=null&&typeof Object.getOwnPropertySymbols=="function")for(var z=0,x=Object.getOwnPropertySymbols(a);z{const{getPopupContainer:b,getPrefixCls:E,direction:x}=Je.useContext(pe.E_),{prefixCls:z,type:ae="default",danger:ce,disabled:Ee,loading:be,onClick:De,htmlType:Ge,children:Ze,className:ot,menu:Te,arrow:wt,autoFocus:Qe,overlay:Ot,trigger:lt,align:it,open:Ft,onOpenChange:gt,placement:pt,getPopupContainer:tt,href:ut,icon:mn=Je.createElement(ze.Z,null),title:en,buttonsRender:Et=An=>An,mouseEnterDelay:Cn,mouseLeaveDelay:Ln,overlayClassName:Yn,overlayStyle:xn,destroyPopupOnHide:tr,dropdownRender:xt}=a,Tn=Ie(a,["prefixCls","type","danger","disabled","loading","onClick","htmlType","children","className","menu","arrow","autoFocus","overlay","trigger","align","open","onOpenChange","placement","getPopupContainer","href","icon","title","buttonsRender","mouseEnterDelay","mouseLeaveDelay","overlayClassName","overlayStyle","destroyPopupOnHide","dropdownRender"]),ir=E("dropdown",z),Ye=`${ir}-button`,[cn,Oe]=(0,ge.Z)(ir),fe={menu:Te,arrow:wt,autoFocus:Qe,align:it,disabled:Ee,trigger:Ee?[]:lt,onOpenChange:gt,getPopupContainer:tt||b,mouseEnterDelay:Cn,mouseLeaveDelay:Ln,overlayClassName:Yn,overlayStyle:xn,destroyPopupOnHide:tr,dropdownRender:xt},{compactSize:me,compactItemClassnames:Ue}=(0,Le.ri)(ir,x),qe=Ke()(Ye,Ue,ot,Oe);"overlay"in a&&(fe.overlay=Ot),"open"in a&&(fe.open=Ft),"placement"in a?fe.placement=pt:fe.placement=x==="rtl"?"bottomLeft":"bottomRight";const ct=Je.createElement(Re.ZP,{type:ae,danger:ce,disabled:Ee,loading:be,onClick:De,htmlType:Ge,href:ut,title:en},Ze),st=Je.createElement(Re.ZP,{type:ae,danger:ce,icon:mn}),[an,gn]=Et([ct,st]);return cn(Je.createElement(ve.Z.Compact,Object.assign({className:qe,size:me,block:!0},Tn),an,Je.createElement(le.Z,Object.assign({},fe),gn)))};Pe.__ANT_BUTTON=!0;var we=Pe;const se=le.Z;se.Button=we;var y=se},66748:function(Yt,Nt,de){"use strict";de.d(Nt,{Z:function(){return Ie}});var le=de(14747),ye=de(67771),Ke=de(33297),Je=de(50438),ze=de(97414),Re=de(67968),pe=de(45503),Le=Pe=>{const{componentCls:we,menuCls:se,colorError:y,colorTextLightSolid:a}=Pe,b=`${se}-item`;return{[`${we}, ${we}-menu-submenu`]:{[`${se} ${b}`]:{[`&${b}-danger:not(${b}-disabled)`]:{color:y,"&:hover":{color:a,backgroundColor:y}}}}}};const ge=Pe=>{const{componentCls:we,menuCls:se,zIndexPopup:y,dropdownArrowDistance:a,sizePopupArrow:b,antCls:E,iconCls:x,motionDurationMid:z,dropdownPaddingVertical:ae,fontSize:ce,dropdownEdgeChildPadding:Ee,colorTextDisabled:be,fontSizeIcon:De,controlPaddingHorizontal:Ge,colorBgElevated:Ze}=Pe;return[{[we]:Object.assign(Object.assign({},(0,le.Wf)(Pe)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:y,display:"block","&::before":{position:"absolute",insetBlock:-a+b/2,zIndex:-9999,opacity:1e-4,content:'""'},[`&-trigger${E}-btn`]:{[`& > ${x}-down, & > ${E}-btn-icon > ${x}-down`]:{fontSize:De}},[`${we}-wrap`]:{position:"relative",[`${E}-btn > ${x}-down`]:{fontSize:De},[`${x}-down::before`]:{transition:`transform ${z}`}},[`${we}-wrap-open`]:{[`${x}-down::before`]:{transform:"rotate(180deg)"}},"\n &-hidden,\n &-menu-hidden,\n &-menu-submenu-hidden\n ":{display:"none"},[`&${E}-slide-down-enter${E}-slide-down-enter-active${we}-placement-bottomLeft, &${E}-slide-down-appear${E}-slide-down-appear-active${we}-placement-bottomLeft, &${E}-slide-down-enter${E}-slide-down-enter-active${we}-placement-bottom, &${E}-slide-down-appear${E}-slide-down-appear-active${we}-placement-bottom, &${E}-slide-down-enter${E}-slide-down-enter-active${we}-placement-bottomRight, &${E}-slide-down-appear${E}-slide-down-appear-active${we}-placement-bottomRight`]:{animationName:ye.fJ},[`&${E}-slide-up-enter${E}-slide-up-enter-active${we}-placement-topLeft, &${E}-slide-up-appear${E}-slide-up-appear-active${we}-placement-topLeft, &${E}-slide-up-enter${E}-slide-up-enter-active${we}-placement-top, &${E}-slide-up-appear${E}-slide-up-appear-active${we}-placement-top, &${E}-slide-up-enter${E}-slide-up-enter-active${we}-placement-topRight, &${E}-slide-up-appear${E}-slide-up-appear-active${we}-placement-topRight`]:{animationName:ye.Qt},[`&${E}-slide-down-leave${E}-slide-down-leave-active${we}-placement-bottomLeft, &${E}-slide-down-leave${E}-slide-down-leave-active${we}-placement-bottom, &${E}-slide-down-leave${E}-slide-down-leave-active${we}-placement-bottomRight`]:{animationName:ye.Uw},[`&${E}-slide-up-leave${E}-slide-up-leave-active${we}-placement-topLeft, &${E}-slide-up-leave${E}-slide-up-leave-active${we}-placement-top, &${E}-slide-up-leave${E}-slide-up-leave-active${we}-placement-topRight`]:{animationName:ye.ly}})},(0,ze.ZP)(Pe,{colorBg:Ze,limitVerticalRadius:!0,arrowPlacement:{top:!0,bottom:!0}}),{[`${we} ${se}`]:{position:"relative",margin:0},[`${se}-submenu-popup`]:{position:"absolute",zIndex:y,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${we}, ${we}-menu-submenu`]:{[se]:Object.assign(Object.assign({padding:Ee,listStyleType:"none",backgroundColor:Ze,backgroundClip:"padding-box",borderRadius:Pe.borderRadiusLG,outline:"none",boxShadow:Pe.boxShadowSecondary},(0,le.Qy)(Pe)),{[`${se}-item-group-title`]:{padding:`${ae}px ${Ge}px`,color:Pe.colorTextDescription,transition:`all ${z}`},[`${se}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${se}-item-icon`]:{minWidth:ce,marginInlineEnd:Pe.marginXS,fontSize:Pe.fontSizeSM},[`${se}-title-content`]:{flex:"auto","> a":{color:"inherit",transition:`all ${z}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}}},[`${se}-item, ${se}-submenu-title`]:Object.assign(Object.assign({clear:"both",margin:0,padding:`${ae}px ${Ge}px`,color:Pe.colorText,fontWeight:"normal",fontSize:ce,lineHeight:Pe.lineHeight,cursor:"pointer",transition:`all ${z}`,borderRadius:Pe.borderRadiusSM,"&:hover, &-active":{backgroundColor:Pe.controlItemBgHover}},(0,le.Qy)(Pe)),{"&-selected":{color:Pe.colorPrimary,backgroundColor:Pe.controlItemBgActive,"&:hover, &-active":{backgroundColor:Pe.controlItemBgActiveHover}},"&-disabled":{color:be,cursor:"not-allowed","&:hover":{color:be,backgroundColor:Ze,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${Pe.marginXXS}px 0`,overflow:"hidden",lineHeight:0,backgroundColor:Pe.colorSplit},[`${we}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:Pe.paddingXS,[`${we}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:Pe.colorTextDescription,fontSize:De,fontStyle:"normal"}}}),[`${se}-item-group-list`]:{margin:`0 ${Pe.marginXS}px`,padding:0,listStyle:"none"},[`${se}-submenu-title`]:{paddingInlineEnd:Ge+Pe.fontSizeSM},[`${se}-submenu-vertical`]:{position:"relative"},[`${se}-submenu${se}-submenu-disabled ${we}-menu-submenu-title`]:{[`&, ${we}-menu-submenu-arrow-icon`]:{color:be,backgroundColor:Ze,cursor:"not-allowed"}},[`${se}-submenu-selected ${we}-menu-submenu-title`]:{color:Pe.colorPrimary}})}},[(0,ye.oN)(Pe,"slide-up"),(0,ye.oN)(Pe,"slide-down"),(0,Ke.Fm)(Pe,"move-up"),(0,Ke.Fm)(Pe,"move-down"),(0,Je._y)(Pe,"zoom-big")]]};var Ie=(0,Re.Z)("Dropdown",(Pe,we)=>{let{rootPrefixCls:se}=we;const{marginXXS:y,sizePopupArrow:a,controlHeight:b,fontSize:E,lineHeight:x,paddingXXS:z,componentCls:ae,borderRadiusLG:ce}=Pe,Ee=(b-E*x)/2,{dropdownArrowOffset:be}=(0,ze.fS)({contentRadius:ce}),De=(0,pe.TS)(Pe,{menuCls:`${ae}-menu`,rootPrefixCls:se,dropdownArrowDistance:a/2+y,dropdownArrowOffset:be,dropdownPaddingVertical:Ee,dropdownEdgeChildPadding:z});return[ge(De),Le(De)]},Pe=>({zIndexPopup:Pe.zIndexPopupBase+50}))},25378:function(Yt,Nt,de){"use strict";var le=de(67294),ye=de(14075),Ke=de(57838),Je=de(74443);function ze(){let Re=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;const pe=(0,le.useRef)({}),ve=(0,Ke.Z)(),Le=(0,Je.ZP)();return(0,ye.Z)(()=>{const ge=Le.subscribe(Ie=>{pe.current=Ie,Re&&ve()});return()=>Le.unsubscribe(ge)},[]),pe.current}Nt.Z=ze},71322:function(Yt,Nt,de){"use strict";de.d(Nt,{D:function(){return x},Z:function(){return ce}});var le=de(87462),ye=de(67294),Ke={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"bars",theme:"outlined"},Je=Ke,ze=de(74643),Re=function(be,De){return ye.createElement(ze.Z,(0,le.Z)({},be,{ref:De,icon:Je}))},pe=ye.forwardRef(Re),ve=de(22751),Le=de(91034),ge=de(94184),Ie=de.n(ge),Pe=de(10366),se=Ee=>!isNaN(parseFloat(Ee))&&isFinite(Ee),y=de(53124),a=de(84321),b=function(Ee,be){var De={};for(var Ge in Ee)Object.prototype.hasOwnProperty.call(Ee,Ge)&&be.indexOf(Ge)<0&&(De[Ge]=Ee[Ge]);if(Ee!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ze=0,Ge=Object.getOwnPropertySymbols(Ee);Ze{let Ee=0;return function(){let be=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return Ee+=1,`${be}${Ee}`}})();var ce=ye.forwardRef((Ee,be)=>{const{prefixCls:De,className:Ge,trigger:Ze,children:ot,defaultCollapsed:Te=!1,theme:wt="dark",style:Qe={},collapsible:Ot=!1,reverseArrow:lt=!1,width:it=200,collapsedWidth:Ft=80,zeroWidthTriggerStyle:gt,breakpoint:pt,onCollapse:tt,onBreakpoint:ut}=Ee,mn=b(Ee,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:en}=(0,ye.useContext)(a.Gs),[Et,Cn]=(0,ye.useState)("collapsed"in Ee?Ee.collapsed:Te),[Ln,Yn]=(0,ye.useState)(!1);(0,ye.useEffect)(()=>{"collapsed"in Ee&&Cn(Ee.collapsed)},[Ee.collapsed]);const xn=(cn,Oe)=>{"collapsed"in Ee||Cn(cn),tt==null||tt(cn,Oe)},tr=(0,ye.useRef)();tr.current=cn=>{Yn(cn.matches),ut==null||ut(cn.matches),Et!==cn.matches&&xn(cn.matches,"responsive")},(0,ye.useEffect)(()=>{function cn(fe){return tr.current(fe)}let Oe;if(typeof window!="undefined"){const{matchMedia:fe}=window;if(fe&&pt&&pt in E){Oe=fe(`(max-width: ${E[pt]})`);try{Oe.addEventListener("change",cn)}catch(me){Oe.addListener(cn)}cn(Oe)}}return()=>{try{Oe==null||Oe.removeEventListener("change",cn)}catch(fe){Oe==null||Oe.removeListener(cn)}}},[pt]),(0,ye.useEffect)(()=>{const cn=z("ant-sider-");return en.addSider(cn),()=>en.removeSider(cn)},[]);const xt=()=>{xn(!Et,"clickTrigger")},{getPrefixCls:Tn}=(0,ye.useContext)(y.E_),ir=()=>{const cn=Tn("layout-sider",De),Oe=(0,Pe.Z)(mn,["collapsed"]),fe=Et?Ft:it,me=se(fe)?`${fe}px`:String(fe),Ue=parseFloat(String(Ft||0))===0?ye.createElement("span",{onClick:xt,className:Ie()(`${cn}-zero-width-trigger`,`${cn}-zero-width-trigger-${lt?"right":"left"}`),style:gt},Ze||ye.createElement(pe,null)):null,st={expanded:lt?ye.createElement(Le.Z,null):ye.createElement(ve.Z,null),collapsed:lt?ye.createElement(ve.Z,null):ye.createElement(Le.Z,null)}[Et?"collapsed":"expanded"],an=Ze!==null?Ue||ye.createElement("div",{className:`${cn}-trigger`,onClick:xt,style:{width:me}},Ze||st):null,gn=Object.assign(Object.assign({},Qe),{flex:`0 0 ${me}`,maxWidth:me,minWidth:me,width:me}),An=Ie()(cn,`${cn}-${wt}`,{[`${cn}-collapsed`]:!!Et,[`${cn}-has-trigger`]:Ot&&Ze!==null&&!Ue,[`${cn}-below`]:!!Ln,[`${cn}-zero-width`]:parseFloat(me)===0},Ge);return ye.createElement("aside",Object.assign({className:An},Oe,{style:gn,ref:be}),ye.createElement("div",{className:`${cn}-children`},ot),Ot||Ln&&Ue?an:null)},Ye=ye.useMemo(()=>({siderCollapsed:Et}),[Et]);return ye.createElement(x.Provider,{value:Ye},ir())})},84321:function(Yt,Nt,de){"use strict";de.d(Nt,{VY:function(){return z},$_:function(){return x},h4:function(){return E},Gs:function(){return we},ZP:function(){return ae}});var le=de(74902),ye=de(94184),Ke=de.n(ye),Je=de(10366),ze=de(67294),Re=de(53124),pe=de(67968),Le=ce=>{const{componentCls:Ee,bodyBg:be,lightSiderBg:De,lightTriggerBg:Ge,lightTriggerColor:Ze}=ce;return{[`${Ee}-sider-light`]:{background:De,[`${Ee}-sider-trigger`]:{color:Ze,background:Ge},[`${Ee}-sider-zero-width-trigger`]:{color:Ze,background:Ge,border:`1px solid ${be}`,borderInlineStart:0}}}};const ge=ce=>{const{antCls:Ee,componentCls:be,colorText:De,triggerColor:Ge,footerBg:Ze,triggerBg:ot,headerHeight:Te,headerPadding:wt,headerColor:Qe,footerPadding:Ot,triggerHeight:lt,zeroTriggerHeight:it,zeroTriggerWidth:Ft,motionDurationMid:gt,motionDurationSlow:pt,fontSize:tt,borderRadius:ut,bodyBg:mn,headerBg:en,siderBg:Et}=ce;return{[be]:Object.assign(Object.assign({display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:mn,"&, *":{boxSizing:"border-box"},[`&${be}-has-sider`]:{flexDirection:"row",[`> ${be}, > ${be}-content`]:{width:0}},[`${be}-header, &${be}-footer`]:{flex:"0 0 auto"},[`${be}-sider`]:{position:"relative",minWidth:0,background:Et,transition:`all ${gt}, background 0s`,"&-children":{height:"100%",marginTop:-.1,paddingTop:.1,[`${Ee}-menu${Ee}-menu-inline-collapsed`]:{width:"auto"}},"&-has-trigger":{paddingBottom:lt},"&-right":{order:1},"&-trigger":{position:"fixed",bottom:0,zIndex:1,height:lt,color:Ge,lineHeight:`${lt}px`,textAlign:"center",background:ot,cursor:"pointer",transition:`all ${gt}`},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:Te,insetInlineEnd:-Ft,zIndex:1,width:Ft,height:it,color:Ge,fontSize:ce.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:Et,borderStartStartRadius:0,borderStartEndRadius:ut,borderEndEndRadius:ut,borderEndStartRadius:0,cursor:"pointer",transition:`background ${pt} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${pt}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:-Ft,borderStartStartRadius:ut,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:ut}}}}},Le(ce)),{"&-rtl":{direction:"rtl"}}),[`${be}-header`]:{height:Te,padding:wt,color:Qe,lineHeight:`${Te}px`,background:en,[`${Ee}-menu`]:{lineHeight:"inherit"}},[`${be}-footer`]:{padding:Ot,color:De,fontSize:tt,background:Ze},[`${be}-content`]:{flex:"auto",minHeight:0}}};var Ie=(0,pe.Z)("Layout",ce=>[ge(ce)],ce=>{const{colorBgLayout:Ee,controlHeight:be,controlHeightLG:De,colorText:Ge,controlHeightSM:Ze,marginXXS:ot,colorTextLightSolid:Te,colorBgContainer:wt}=ce,Qe=De*1.25;return{colorBgHeader:"#001529",colorBgBody:Ee,colorBgTrigger:"#002140",bodyBg:Ee,headerBg:"#001529",headerHeight:be*2,headerPadding:`0 ${Qe}px`,headerColor:Ge,footerPadding:`${Ze}px ${Qe}px`,footerBg:Ee,siderBg:"#001529",triggerHeight:De+ot*2,triggerBg:"#002140",triggerColor:Te,zeroTriggerWidth:De,zeroTriggerHeight:De,lightSiderBg:wt,lightTriggerBg:wt,lightTriggerColor:Ge}},{deprecatedTokens:[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]]}),Pe=function(ce,Ee){var be={};for(var De in ce)Object.prototype.hasOwnProperty.call(ce,De)&&Ee.indexOf(De)<0&&(be[De]=ce[De]);if(ce!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ge=0,De=Object.getOwnPropertySymbols(ce);Genull,removeSider:()=>null}});function se(ce){let{suffixCls:Ee,tagName:be,displayName:De}=ce;return Ge=>ze.forwardRef((ot,Te)=>ze.createElement(Ge,Object.assign({ref:Te,suffixCls:Ee,tagName:be},ot)))}const y=ze.forwardRef((ce,Ee)=>{const{prefixCls:be,suffixCls:De,className:Ge,tagName:Ze}=ce,ot=Pe(ce,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:Te}=ze.useContext(Re.E_),wt=Te("layout",be),[Qe,Ot]=Ie(wt),lt=De?`${wt}-${De}`:wt;return Qe(ze.createElement(Ze,Object.assign({className:Ke()(be||lt,Ge,Ot),ref:Ee},ot)))}),a=ze.forwardRef((ce,Ee)=>{const{direction:be}=ze.useContext(Re.E_),[De,Ge]=ze.useState([]),{prefixCls:Ze,className:ot,rootClassName:Te,children:wt,hasSider:Qe,tagName:Ot,style:lt}=ce,it=Pe(ce,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),Ft=(0,Je.Z)(it,["suffixCls"]),{getPrefixCls:gt,layout:pt}=ze.useContext(Re.E_),tt=gt("layout",Ze),[ut,mn]=Ie(tt),en=Ke()(tt,{[`${tt}-has-sider`]:typeof Qe=="boolean"?Qe:De.length>0,[`${tt}-rtl`]:be==="rtl"},pt==null?void 0:pt.className,ot,Te,mn),Et=ze.useMemo(()=>({siderHook:{addSider:Cn=>{Ge(Ln=>[].concat((0,le.Z)(Ln),[Cn]))},removeSider:Cn=>{Ge(Ln=>Ln.filter(Yn=>Yn!==Cn))}}}),[]);return ut(ze.createElement(we.Provider,{value:Et},ze.createElement(Ot,Object.assign({ref:Ee,className:en,style:Object.assign(Object.assign({},pt==null?void 0:pt.style),lt)},Ft),wt)))}),b=se({tagName:"div",displayName:"Layout"})(a),E=se({suffixCls:"header",tagName:"header",displayName:"Header"})(y),x=se({suffixCls:"footer",tagName:"footer",displayName:"Footer"})(y),z=se({suffixCls:"content",tagName:"main",displayName:"Content"})(y);var ae=b},76529:function(Yt,Nt,de){"use strict";de.d(Nt,{J:function(){return Re}});var le=de(67294),ye=de(4173),Ke=de(60276),Je=function(pe,ve){var Le={};for(var ge in pe)Object.prototype.hasOwnProperty.call(pe,ge)&&ve.indexOf(ge)<0&&(Le[ge]=pe[ge]);if(pe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ie=0,ge=Object.getOwnPropertySymbols(pe);Ie{const{children:Le}=pe,ge=Je(pe,["children"]),Ie=le.useContext(ze),Pe=le.useMemo(()=>Object.assign(Object.assign({},Ie),ge),[Ie,ge.prefixCls,ge.mode,ge.selectable]);return le.createElement(ze.Provider,{value:Pe},le.createElement(ye.BR,null,(0,Ke.supportNodeRef)(Le)?le.cloneElement(Le,{ref:ve}):Le))});Nt.Z=ze},68508:function(Yt,Nt,de){"use strict";de.d(Nt,{default:function(){return cn}});var le=de(78595),ye=de(67294),Ke=de(71322),Je=de(94184),ze=de.n(Je),Re=de(53124),pe=function(Oe,fe){var me={};for(var Ue in Oe)Object.prototype.hasOwnProperty.call(Oe,Ue)&&fe.indexOf(Ue)<0&&(me[Ue]=Oe[Ue]);if(Oe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var qe=0,Ue=Object.getOwnPropertySymbols(Oe);qe{const{prefixCls:fe,className:me,dashed:Ue}=Oe,qe=pe(Oe,["prefixCls","className","dashed"]),{getPrefixCls:ct}=ye.useContext(Re.E_),st=ct("menu",fe),an=ze()({[`${st}-item-divider-dashed`]:!!Ue},me);return ye.createElement(le.iz,Object.assign({className:an},qe))},ge=de(37419),Ie=de(10366),Pe=de(83062),we=de(96159),y=(0,ye.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),b=Oe=>{var fe;const{className:me,children:Ue,icon:qe,title:ct,danger:st}=Oe,{prefixCls:an,firstLevel:gn,direction:An,disableMenuItemTitleTooltip:Wn,inlineCollapsed:Bt}=ye.useContext(y),Kt=Jt=>{const Nn=ye.createElement("span",{className:`${an}-title-content`},Ue);return(!qe||(0,we.l$)(Ue)&&Ue.type==="span")&&Ue&&Jt&&gn&&typeof Ue=="string"?ye.createElement("div",{className:`${an}-inline-collapsed-noicon`},Ue.charAt(0)):Nn},{siderCollapsed:Wt}=ye.useContext(Ke.D);let bn=ct;typeof ct=="undefined"?bn=gn?Ue:"":ct===!1&&(bn="");const yt={title:bn};!Wt&&!Bt&&(yt.title=null,yt.open=!1);const Un=(0,ge.Z)(Ue).length;let kt=ye.createElement(le.ck,Object.assign({},(0,Ie.Z)(Oe,["title","icon","danger"]),{className:ze()({[`${an}-item-danger`]:st,[`${an}-item-only-child`]:(qe?Un+1:Un)===1},me),title:typeof ct=="string"?ct:void 0}),(0,we.Tm)(qe,{className:ze()((0,we.l$)(qe)?(fe=qe.props)===null||fe===void 0?void 0:fe.className:"",`${an}-item-icon`)}),Kt(Bt));return Wn||(kt=ye.createElement(Pe.Z,Object.assign({},yt,{placement:An==="rtl"?"left":"right",overlayClassName:`${an}-inline-collapsed-tooltip`}),kt)),kt},x=Oe=>{var fe;const{popupClassName:me,icon:Ue,title:qe,theme:ct}=Oe,st=ye.useContext(y),{prefixCls:an,inlineCollapsed:gn,theme:An}=st,Wn=(0,le.Xl)();let Bt;if(!Ue)Bt=gn&&!Wn.length&&qe&&typeof qe=="string"?ye.createElement("div",{className:`${an}-inline-collapsed-noicon`},qe.charAt(0)):ye.createElement("span",{className:`${an}-title-content`},qe);else{const Wt=(0,we.l$)(qe)&&qe.type==="span";Bt=ye.createElement(ye.Fragment,null,(0,we.Tm)(Ue,{className:ze()((0,we.l$)(Ue)?(fe=Ue.props)===null||fe===void 0?void 0:fe.className:"",`${an}-item-icon`)}),Wt?qe:ye.createElement("span",{className:`${an}-title-content`},qe))}const Kt=ye.useMemo(()=>Object.assign(Object.assign({},st),{firstLevel:!1}),[st]);return ye.createElement(y.Provider,{value:Kt},ye.createElement(le.Wd,Object.assign({},(0,Ie.Z)(Oe,["icon"]),{title:Bt,popupClassName:ze()(an,me,`${an}-${ct||An}`)})))},z=de(25877),ae=de(60276),ce=de(33603),Ee=de(76529),be=function(Oe,fe){var me={};for(var Ue in Oe)Object.prototype.hasOwnProperty.call(Oe,Ue)&&fe.indexOf(Ue)<0&&(me[Ue]=Oe[Ue]);if(Oe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var qe=0,Ue=Object.getOwnPropertySymbols(Oe);qe{if(fe&&typeof fe=="object"){const Ue=fe,{label:qe,children:ct,key:st,type:an}=Ue,gn=be(Ue,["label","children","key","type"]),An=st!=null?st:`tmp-${me}`;return ct||an==="group"?an==="group"?ye.createElement(le.BW,Object.assign({key:An},gn,{title:qe}),De(ct)):ye.createElement(x,Object.assign({key:An},gn,{title:qe}),De(ct)):an==="divider"?ye.createElement(Le,Object.assign({key:An},gn)):ye.createElement(b,Object.assign({key:An},gn),qe)}return null}).filter(fe=>fe)}function Ge(Oe){return ye.useMemo(()=>Oe&&De(Oe),[Oe])}var Ze=de(84780),ot=de(14747),Te=de(33507),wt=de(67771),Qe=de(50438),Ot=de(67968),lt=de(45503),Ft=Oe=>{const{componentCls:fe,motionDurationSlow:me,horizontalLineHeight:Ue,colorSplit:qe,lineWidth:ct,lineType:st,itemPaddingInline:an}=Oe;return{[`${fe}-horizontal`]:{lineHeight:Ue,border:0,borderBottom:`${ct}px ${st} ${qe}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${fe}-item, ${fe}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:an},[`> ${fe}-item:hover, > ${fe}-item-active, > ${fe}-submenu ${fe}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${fe}-item, ${fe}-submenu-title`]:{transition:[`border-color ${me}`,`background ${me}`].join(",")},[`${fe}-submenu-arrow`]:{display:"none"}}}},pt=Oe=>{let{componentCls:fe,menuArrowOffset:me}=Oe;return{[`${fe}-rtl`]:{direction:"rtl"},[`${fe}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${fe}-rtl${fe}-vertical, ${fe}-submenu-rtl ${fe}-vertical`]:{[`${fe}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(-${me})`},"&::after":{transform:`rotate(45deg) translateY(${me})`}}}}};const tt=Oe=>Object.assign({},(0,ot.oN)(Oe));var mn=(Oe,fe)=>{const{componentCls:me,itemColor:Ue,itemSelectedColor:qe,groupTitleColor:ct,itemBg:st,subMenuItemBg:an,itemSelectedBg:gn,activeBarHeight:An,activeBarWidth:Wn,activeBarBorderWidth:Bt,motionDurationSlow:Kt,motionEaseInOut:Wt,motionEaseOut:bn,itemPaddingInline:yt,motionDurationMid:Un,itemHoverColor:kt,lineType:Jt,colorSplit:Nn,itemDisabledColor:Qn,dangerItemColor:qn,dangerItemHoverColor:Cr,dangerItemSelectedColor:Zr,dangerItemActiveBg:Wr,dangerItemSelectedBg:cr,itemHoverBg:mr,itemActiveBg:vr,menuSubMenuBg:jr,horizontalItemSelectedColor:Aa,horizontalItemSelectedBg:ca,horizontalItemBorderRadius:bo,horizontalItemHoverBg:No,popupBg:ho}=Oe;return{[`${me}-${fe}, ${me}-${fe} > ${me}`]:{color:Ue,background:st,[`&${me}-root:focus-visible`]:Object.assign({},tt(Oe)),[`${me}-item-group-title`]:{color:ct},[`${me}-submenu-selected`]:{[`> ${me}-submenu-title`]:{color:qe}},[`${me}-item-disabled, ${me}-submenu-disabled`]:{color:`${Qn} !important`},[`${me}-item:not(${me}-item-selected):not(${me}-submenu-selected)`]:{[`&:hover, > ${me}-submenu-title:hover`]:{color:kt}},[`&:not(${me}-horizontal)`]:{[`${me}-item:not(${me}-item-selected)`]:{"&:hover":{backgroundColor:mr},"&:active":{backgroundColor:vr}},[`${me}-submenu-title`]:{"&:hover":{backgroundColor:mr},"&:active":{backgroundColor:vr}}},[`${me}-item-danger`]:{color:qn,[`&${me}-item:hover`]:{[`&:not(${me}-item-selected):not(${me}-submenu-selected)`]:{color:Cr}},[`&${me}-item:active`]:{background:Wr}},[`${me}-item a`]:{"&, &:hover":{color:"inherit"}},[`${me}-item-selected`]:{color:qe,[`&${me}-item-danger`]:{color:Zr},"a, a:hover":{color:"inherit"}},[`& ${me}-item-selected`]:{backgroundColor:gn,[`&${me}-item-danger`]:{backgroundColor:cr}},[`${me}-item, ${me}-submenu-title`]:{[`&:not(${me}-item-disabled):focus-visible`]:Object.assign({},tt(Oe))},[`&${me}-submenu > ${me}`]:{backgroundColor:jr},[`&${me}-popup > ${me}`]:{backgroundColor:ho},[`&${me}-horizontal`]:Object.assign(Object.assign({},fe==="dark"?{borderBottom:0}:{}),{[`> ${me}-item, > ${me}-submenu`]:{top:Bt,marginTop:-Bt,marginBottom:0,borderRadius:bo,"&::after":{position:"absolute",insetInline:yt,bottom:0,borderBottom:`${An}px solid transparent`,transition:`border-color ${Kt} ${Wt}`,content:'""'},"&:hover, &-active, &-open":{background:No,"&::after":{borderBottomWidth:An,borderBottomColor:Aa}},"&-selected":{color:Aa,backgroundColor:ca,"&:hover":{backgroundColor:ca},"&::after":{borderBottomWidth:An,borderBottomColor:Aa}}}}),[`&${me}-root`]:{[`&${me}-inline, &${me}-vertical`]:{borderInlineEnd:`${Bt}px ${Jt} ${Nn}`}},[`&${me}-inline`]:{[`${me}-sub${me}-inline`]:{background:an},[`${me}-item, ${me}-submenu-title`]:Bt&&Wn?{width:`calc(100% + ${Bt}px)`}:{},[`${me}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${Wn}px solid ${qe}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${Un} ${bn}`,`opacity ${Un} ${bn}`].join(","),content:'""'},[`&${me}-item-danger`]:{"&::after":{borderInlineEndColor:Zr}}},[`${me}-selected, ${me}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${Un} ${Wt}`,`opacity ${Un} ${Wt}`].join(",")}}}}}};const en=Oe=>{const{componentCls:fe,itemHeight:me,itemMarginInline:Ue,padding:qe,menuArrowSize:ct,marginXS:st,itemMarginBlock:an}=Oe,gn=qe+ct+st;return{[`${fe}-item`]:{position:"relative",overflow:"hidden"},[`${fe}-item, ${fe}-submenu-title`]:{height:me,lineHeight:`${me}px`,paddingInline:qe,overflow:"hidden",textOverflow:"ellipsis",marginInline:Ue,marginBlock:an,width:`calc(100% - ${Ue*2}px)`},[`> ${fe}-item, > ${fe}-submenu > ${fe}-submenu-title`]:{height:me,lineHeight:`${me}px`},[`${fe}-item-group-list ${fe}-submenu-title, ${fe}-submenu-title`]:{paddingInlineEnd:gn}}};var Cn=Oe=>{const{componentCls:fe,iconCls:me,itemHeight:Ue,colorTextLightSolid:qe,dropdownWidth:ct,controlHeightLG:st,motionDurationMid:an,motionEaseOut:gn,paddingXL:An,itemMarginInline:Wn,fontSizeLG:Bt,motionDurationSlow:Kt,paddingXS:Wt,boxShadowSecondary:bn,collapsedWidth:yt,collapsedIconSize:Un}=Oe,kt={height:Ue,lineHeight:`${Ue}px`,listStylePosition:"inside",listStyleType:"disc"};return[{[fe]:{"&-inline, &-vertical":Object.assign({[`&${fe}-root`]:{boxShadow:"none"}},en(Oe))},[`${fe}-submenu-popup`]:{[`${fe}-vertical`]:Object.assign(Object.assign({},en(Oe)),{boxShadow:bn})}},{[`${fe}-submenu-popup ${fe}-vertical${fe}-sub`]:{minWidth:ct,maxHeight:`calc(100vh - ${st*2.5}px)`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${fe}-inline`]:{width:"100%",[`&${fe}-root`]:{[`${fe}-item, ${fe}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${Kt}`,`background ${Kt}`,`padding ${an} ${gn}`].join(","),[`> ${fe}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${fe}-sub${fe}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${fe}-submenu > ${fe}-submenu-title`]:kt,[`& ${fe}-item-group-title`]:{paddingInlineStart:An}},[`${fe}-item`]:kt}},{[`${fe}-inline-collapsed`]:{width:yt,[`&${fe}-root`]:{[`${fe}-item, ${fe}-submenu ${fe}-submenu-title`]:{[`> ${fe}-inline-collapsed-noicon`]:{fontSize:Bt,textAlign:"center"}}},[`> ${fe}-item, > ${fe}-item-group > ${fe}-item-group-list > ${fe}-item, > ${fe}-item-group > ${fe}-item-group-list > ${fe}-submenu > ${fe}-submenu-title, > ${fe}-submenu > ${fe}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${Bt/2}px - ${Wn}px)`,textOverflow:"clip",[` ${fe}-submenu-arrow, ${fe}-submenu-expand-icon `]:{opacity:0},[`${fe}-item-icon, ${me}`]:{margin:0,fontSize:Un,lineHeight:`${Ue}px`,"+ span":{display:"inline-block",opacity:0}}},[`${fe}-item-icon, ${me}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${fe}-item-icon, ${me}`]:{display:"none"},"a, a:hover":{color:qe}},[`${fe}-item-group-title`]:Object.assign(Object.assign({},ot.vS),{paddingInline:Wt})}}]};const Ln=Oe=>{const{componentCls:fe,motionDurationSlow:me,motionDurationMid:Ue,motionEaseInOut:qe,motionEaseOut:ct,iconCls:st,iconSize:an,iconMarginInlineEnd:gn}=Oe;return{[`${fe}-item, ${fe}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${me}`,`background ${me}`,`padding ${me} ${qe}`].join(","),[`${fe}-item-icon, ${st}`]:{minWidth:an,fontSize:an,transition:[`font-size ${Ue} ${ct}`,`margin ${me} ${qe}`,`color ${me}`].join(","),"+ span":{marginInlineStart:gn,opacity:1,transition:[`opacity ${me} ${qe}`,`margin ${me}`,`color ${me}`].join(",")}},[`${fe}-item-icon`]:Object.assign({},(0,ot.Ro)()),[`&${fe}-item-only-child`]:{[`> ${st}, > ${fe}-item-icon`]:{marginInlineEnd:0}}},[`${fe}-item-disabled, ${fe}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important"},[`> ${fe}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},Yn=Oe=>{const{componentCls:fe,motionDurationSlow:me,motionEaseInOut:Ue,borderRadius:qe,menuArrowSize:ct,menuArrowOffset:st}=Oe;return{[`${fe}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:Oe.margin,width:ct,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${me} ${Ue}, opacity ${me}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:ct*.6,height:ct*.15,backgroundColor:"currentcolor",borderRadius:qe,transition:[`background ${me} ${Ue}`,`transform ${me} ${Ue}`,`top ${me} ${Ue}`,`color ${me} ${Ue}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(-${st})`},"&::after":{transform:`rotate(-45deg) translateY(${st})`}}}}},xn=Oe=>{const{antCls:fe,componentCls:me,fontSize:Ue,motionDurationSlow:qe,motionDurationMid:ct,motionEaseInOut:st,paddingXS:an,padding:gn,colorSplit:An,lineWidth:Wn,zIndexPopup:Bt,borderRadiusLG:Kt,subMenuItemBorderRadius:Wt,menuArrowSize:bn,menuArrowOffset:yt,lineType:Un,menuPanelMaskInset:kt,groupTitleLineHeight:Jt,groupTitleFontSize:Nn}=Oe;return[{"":{[`${me}`]:Object.assign(Object.assign({},(0,ot.dF)()),{"&-hidden":{display:"none"}})},[`${me}-submenu-hidden`]:{display:"none"}},{[me]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,ot.Wf)(Oe)),(0,ot.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:Ue,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${qe} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${me}-item`]:{flex:"none"}},[`${me}-item, ${me}-submenu, ${me}-submenu-title`]:{borderRadius:Oe.itemBorderRadius},[`${me}-item-group-title`]:{padding:`${an}px ${gn}px`,fontSize:Nn,lineHeight:Jt,transition:`all ${qe}`},[`&-horizontal ${me}-submenu`]:{transition:[`border-color ${qe} ${st}`,`background ${qe} ${st}`].join(",")},[`${me}-submenu, ${me}-submenu-inline`]:{transition:[`border-color ${qe} ${st}`,`background ${qe} ${st}`,`padding ${ct} ${st}`].join(",")},[`${me}-submenu ${me}-sub`]:{cursor:"initial",transition:[`background ${qe} ${st}`,`padding ${qe} ${st}`].join(",")},[`${me}-title-content`]:{transition:`color ${qe}`},[`${me}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${me}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:An,borderStyle:Un,borderWidth:0,borderTopWidth:Wn,marginBlock:Wn,padding:0,"&-dashed":{borderStyle:"dashed"}}}),Ln(Oe)),{[`${me}-item-group`]:{[`${me}-item-group-list`]:{margin:0,padding:0,[`${me}-item, ${me}-submenu-title`]:{paddingInline:`${Ue*2}px ${gn}px`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:Bt,borderRadius:Kt,boxShadow:"none",transformOrigin:"0 0",[`&${me}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:`${kt}px 0 0`,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'}},"&-placement-rightTop::before":{top:0,insetInlineStart:kt},"\n &-placement-leftTop,\n &-placement-bottomRight,\n ":{transformOrigin:"100% 0"},"\n &-placement-leftBottom,\n &-placement-topRight,\n ":{transformOrigin:"100% 100%"},"\n &-placement-rightBottom,\n &-placement-topLeft,\n ":{transformOrigin:"0 100%"},"\n &-placement-bottomLeft,\n &-placement-rightTop,\n ":{transformOrigin:"0 0"},"\n &-placement-leftTop,\n &-placement-leftBottom\n ":{paddingInlineEnd:Oe.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:Oe.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:Oe.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:Oe.paddingXS},[`> ${me}`]:Object.assign(Object.assign(Object.assign({borderRadius:Kt},Ln(Oe)),Yn(Oe)),{[`${me}-item, ${me}-submenu > ${me}-submenu-title`]:{borderRadius:Wt},[`${me}-submenu-title::after`]:{transition:`transform ${qe} ${st}`}})}}),Yn(Oe)),{[`&-inline-collapsed ${me}-submenu-arrow, &-inline ${me}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${yt})`},"&::after":{transform:`rotate(45deg) translateX(-${yt})`}},[`${me}-submenu-open${me}-submenu-inline > ${me}-submenu-title > ${me}-submenu-arrow`]:{transform:`translateY(-${bn*.2}px)`,"&::after":{transform:`rotate(-45deg) translateX(-${yt})`},"&::before":{transform:`rotate(45deg) translateX(${yt})`}}})},{[`${fe}-layout-header`]:{[me]:{lineHeight:"inherit"}}}]};var tr=(Oe,fe)=>(0,Ot.Z)("Menu",Ue=>{if(fe===!1)return[];const{colorBgElevated:qe,colorPrimary:ct,colorTextLightSolid:st,controlHeightLG:an,fontSize:gn,darkItemColor:An,darkDangerItemColor:Wn,darkItemBg:Bt,darkSubMenuItemBg:Kt,darkItemSelectedColor:Wt,darkItemSelectedBg:bn,darkDangerItemSelectedBg:yt,darkItemHoverBg:Un,darkGroupTitleColor:kt,darkItemHoverColor:Jt,darkItemDisabledColor:Nn,darkDangerItemHoverColor:Qn,darkDangerItemSelectedColor:qn,darkDangerItemActiveBg:Cr}=Ue,Zr=gn/7*5,Wr=(0,lt.TS)(Ue,{menuArrowSize:Zr,menuHorizontalHeight:an*1.15,menuArrowOffset:`${Zr*.25}px`,menuPanelMaskInset:-7,menuSubMenuBg:qe}),cr=(0,lt.TS)(Wr,{itemColor:An,itemHoverColor:Jt,groupTitleColor:kt,itemSelectedColor:Wt,itemBg:Bt,popupBg:Bt,subMenuItemBg:Kt,itemActiveBg:"transparent",itemSelectedBg:bn,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:Un,itemDisabledColor:Nn,dangerItemColor:Wn,dangerItemHoverColor:Qn,dangerItemSelectedColor:qn,dangerItemActiveBg:Cr,dangerItemSelectedBg:yt,menuSubMenuBg:Kt,horizontalItemSelectedColor:st,horizontalItemSelectedBg:ct});return[xn(Wr),Ft(Wr),Cn(Wr),mn(Wr,"light"),mn(cr,"dark"),pt(Wr),(0,Te.Z)(Wr),(0,wt.oN)(Wr,"slide-up"),(0,wt.oN)(Wr,"slide-down"),(0,Qe._y)(Wr,"zoom-big")]},Ue=>{const{colorPrimary:qe,colorError:ct,colorTextDisabled:st,colorErrorBg:an,colorText:gn,colorTextDescription:An,colorBgContainer:Wn,colorFillAlter:Bt,colorFillContent:Kt,lineWidth:Wt,lineWidthBold:bn,controlItemBgActive:yt,colorBgTextHover:Un,controlHeightLG:kt,lineHeight:Jt,colorBgElevated:Nn,marginXXS:Qn,padding:qn,fontSize:Cr,controlHeightSM:Zr,fontSizeLG:Wr,colorTextLightSolid:cr,colorErrorHover:mr}=Ue,vr=new Ze.C(cr).setAlpha(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:Ue.zIndexPopupBase+50,radiusItem:Ue.borderRadiusLG,itemBorderRadius:Ue.borderRadiusLG,radiusSubMenuItem:Ue.borderRadiusSM,subMenuItemBorderRadius:Ue.borderRadiusSM,colorItemText:gn,itemColor:gn,colorItemTextHover:gn,itemHoverColor:gn,colorItemTextHoverHorizontal:qe,horizontalItemHoverColor:qe,colorGroupTitle:An,groupTitleColor:An,colorItemTextSelected:qe,itemSelectedColor:qe,colorItemTextSelectedHorizontal:qe,horizontalItemSelectedColor:qe,colorItemBg:Wn,itemBg:Wn,colorItemBgHover:Un,itemHoverBg:Un,colorItemBgActive:Kt,itemActiveBg:yt,colorSubItemBg:Bt,subMenuItemBg:Bt,colorItemBgSelected:yt,itemSelectedBg:yt,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:0,colorActiveBarHeight:bn,activeBarHeight:bn,colorActiveBarBorderSize:Wt,activeBarBorderWidth:Wt,colorItemTextDisabled:st,itemDisabledColor:st,colorDangerItemText:ct,dangerItemColor:ct,colorDangerItemTextHover:ct,dangerItemHoverColor:ct,colorDangerItemTextSelected:ct,dangerItemSelectedColor:ct,colorDangerItemBgActive:an,dangerItemActiveBg:an,colorDangerItemBgSelected:an,dangerItemSelectedBg:an,itemMarginInline:Ue.marginXXS,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:kt,groupTitleLineHeight:Jt,collapsedWidth:kt*2,popupBg:Nn,itemMarginBlock:Qn,itemPaddingInline:qn,horizontalLineHeight:`${kt*1.15}px`,iconSize:Cr,iconMarginInlineEnd:Zr-Cr,collapsedIconSize:Wr,groupTitleFontSize:Cr,darkItemDisabledColor:new Ze.C(cr).setAlpha(.25).toRgbString(),darkItemColor:vr,darkDangerItemColor:ct,darkItemBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:cr,darkItemSelectedBg:qe,darkDangerItemSelectedBg:ct,darkItemHoverBg:"transparent",darkGroupTitleColor:vr,darkItemHoverColor:cr,darkDangerItemHoverColor:mr,darkDangerItemSelectedColor:cr,darkDangerItemActiveBg:ct}},{deprecatedTokens:[["colorGroupTitle","groupTitleColor"],["radiusItem","itemBorderRadius"],["radiusSubMenuItem","subMenuItemBorderRadius"],["colorItemText","itemColor"],["colorItemTextHover","itemHoverColor"],["colorItemTextHoverHorizontal","horizontalItemHoverColor"],["colorItemTextSelected","itemSelectedColor"],["colorItemTextSelectedHorizontal","horizontalItemSelectedColor"],["colorItemTextDisabled","itemDisabledColor"],["colorDangerItemText","dangerItemColor"],["colorDangerItemTextHover","dangerItemHoverColor"],["colorDangerItemTextSelected","dangerItemSelectedColor"],["colorDangerItemBgActive","dangerItemActiveBg"],["colorDangerItemBgSelected","dangerItemSelectedBg"],["colorItemBg","itemBg"],["colorItemBgHover","itemHoverBg"],["colorSubItemBg","subMenuItemBg"],["colorItemBgActive","itemActiveBg"],["colorItemBgSelectedHorizontal","horizontalItemSelectedBg"],["colorActiveBarWidth","activeBarWidth"],["colorActiveBarHeight","activeBarHeight"],["colorActiveBarBorderSize","activeBarBorderWidth"],["colorItemBgSelected","itemSelectedBg"]]})(Oe),xt=function(Oe,fe){var me={};for(var Ue in Oe)Object.prototype.hasOwnProperty.call(Oe,Ue)&&fe.indexOf(Ue)<0&&(me[Ue]=Oe[Ue]);if(Oe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var qe=0,Ue=Object.getOwnPropertySymbols(Oe);qe{var me,Ue;const qe=ye.useContext(Ee.Z),ct=qe||{},{getPrefixCls:st,getPopupContainer:an,direction:gn,menu:An}=ye.useContext(Re.E_),Wn=st(),{prefixCls:Bt,className:Kt,style:Wt,theme:bn="light",expandIcon:yt,_internalDisableMenuItemTitleTooltip:Un,inlineCollapsed:kt,siderCollapsed:Jt,items:Nn,children:Qn,rootClassName:qn,mode:Cr,selectable:Zr,onClick:Wr,overflowedIndicatorPopupClassName:cr}=Oe,mr=xt(Oe,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","items","children","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),vr=(0,Ie.Z)(mr,["collapsedWidth"]),jr=Ge(Nn)||Qn;(me=ct.validator)===null||me===void 0||me.call(ct,{mode:Cr});const Aa=(0,ae.useEvent)(function(){var Po;Wr==null||Wr.apply(void 0,arguments),(Po=ct.onClick)===null||Po===void 0||Po.call(ct)}),ca=ct.mode||Cr,bo=Zr!=null?Zr:ct.selectable,No=ye.useMemo(()=>Jt!==void 0?Jt:kt,[kt,Jt]),ho={horizontal:{motionName:`${Wn}-slide-up`},inline:(0,ce.Z)(Wn),other:{motionName:`${Wn}-zoom-big`}},da=st("menu",Bt||ct.prefixCls),[ln,ga]=tr(da,!qe),Lo=ze()(`${da}-${bn}`,An==null?void 0:An.className,Kt);let Bi;if(typeof yt=="function")Bi=yt;else if(yt===null||yt===!1)Bi=null;else if(ct.expandIcon===null||ct.expandIcon===!1)Bi=null;else{const Po=yt!=null?yt:ct.expandIcon;Bi=(0,we.Tm)(Po,{className:ze()(`${da}-submenu-expand-icon`,(0,we.l$)(Po)?(Ue=Po.props)===null||Ue===void 0?void 0:Ue.className:"")})}const _a=ye.useMemo(()=>({prefixCls:da,inlineCollapsed:No||!1,direction:gn,firstLevel:!0,theme:bn,mode:ca,disableMenuItemTitleTooltip:Un}),[da,No,gn,Un,bn]);return ln(ye.createElement(Ee.Z.Provider,{value:null},ye.createElement(y.Provider,{value:_a},ye.createElement(le.ZP,Object.assign({getPopupContainer:an,overflowedIndicator:ye.createElement(z.Z,null),overflowedIndicatorPopupClassName:ze()(da,`${da}-${bn}`,cr),mode:ca,selectable:bo,onClick:Aa},vr,{inlineCollapsed:No,style:Object.assign(Object.assign({},An==null?void 0:An.style),Wt),className:Lo,prefixCls:da,direction:gn,defaultMotions:ho,expandIcon:Bi,ref:fe,rootClassName:ze()(qn,ga)}),jr))))});const Ye=(0,ye.forwardRef)((Oe,fe)=>{const me=(0,ye.useRef)(null),Ue=ye.useContext(Ke.D);return(0,ye.useImperativeHandle)(fe,()=>({menu:me.current,focus:qe=>{var ct;(ct=me.current)===null||ct===void 0||ct.focus(qe)}})),ye.createElement(ir,Object.assign({ref:me},Oe,Ue))});Ye.Item=b,Ye.SubMenu=x,Ye.Divider=Le,Ye.ItemGroup=le.BW;var cn=Ye},28452:function(Yt,Nt,de){"use strict";de.d(Nt,{Z:function(){return Wn}});var le=de(87462),ye=de(67294),Ke={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M272.9 512l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L186.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H532c6.7 0 10.4-7.7 6.3-12.9L272.9 512zm304 0l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L490.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H836c6.7 0 10.4-7.7 6.3-12.9L576.9 512z"}}]},name:"double-left",theme:"outlined"},Je=Ke,ze=de(74643),Re=function(Kt,Wt){return ye.createElement(ze.Z,(0,le.Z)({},Kt,{ref:Wt,icon:Je}))},pe=ye.forwardRef(Re),ve=de(81893),Le=de(22751),ge=de(91034),Ie=de(94184),Pe=de.n(Ie),we=de(4942),se=de(1413),y=de(15671),a=de(43144),b=de(60136),E=de(51630),x=`accept acceptCharset accessKey action allowFullScreen allowTransparency alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge charSet checked classID className colSpan cols content contentEditable contextMenu controls coords crossOrigin data dateTime default defer dir disabled download draggable encType form formAction formEncType formMethod formNoValidate formTarget frameBorder headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media mediaGroup method min minLength multiple muted name noValidate nonce open optimum pattern placeholder poster preload radioGroup readOnly rel required reversed role rowSpan rows sandbox scope scoped scrolling seamless selected shape size sizes span spellCheck src srcDoc srcLang srcSet start step style summary tabIndex target title type useMap value width wmode wrap`,z=`onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError`,ae="".concat(x," ").concat(z).split(/[\s\n]+/),ce="aria-",Ee="data-";function be(Bt,Kt){return Bt.indexOf(Kt)===0}function De(Bt){var Kt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Wt;Kt===!1?Wt={aria:!0,data:!0,attr:!0}:Kt===!0?Wt={aria:!0}:Wt=(0,se.Z)({},Kt);var bn={};return Object.keys(Bt).forEach(function(yt){(Wt.aria&&(yt==="role"||be(yt,ce))||Wt.data&&be(yt,Ee)||Wt.attr&&ae.includes(yt))&&(bn[yt]=Bt[yt])}),bn}var Ge={ZERO:48,NINE:57,NUMPAD_ZERO:96,NUMPAD_NINE:105,BACKSPACE:8,DELETE:46,ENTER:13,ARROW_UP:38,ARROW_DOWN:40},Ze=Ge,ot=de(81626),Te=function(Bt){(0,b.Z)(Wt,Bt);var Kt=(0,E.Z)(Wt);function Wt(){var bn;(0,y.Z)(this,Wt);for(var yt=arguments.length,Un=new Array(yt),kt=0;kt=0||Jt.relatedTarget.className.indexOf("".concat(Cr,"-item"))>=0))&&qn(bn.getValidValue()))},bn.go=function(Jt){var Nn=bn.state.goInputText;Nn!==""&&(Jt.keyCode===Ze.ENTER||Jt.type==="click")&&(bn.setState({goInputText:""}),bn.props.quickGo(bn.getValidValue()))},bn}return(0,a.Z)(Wt,[{key:"getPageSizeOptions",value:function(){var yt=this.props,Un=yt.pageSize,kt=yt.pageSizeOptions;return kt.some(function(Jt){return Jt.toString()===Un.toString()})?kt:kt.concat([Un.toString()]).sort(function(Jt,Nn){var Qn=Number.isNaN(Number(Jt))?0:Number(Jt),qn=Number.isNaN(Number(Nn))?0:Number(Nn);return Qn-qn})}},{key:"render",value:function(){var yt=this,Un=this.props,kt=Un.pageSize,Jt=Un.locale,Nn=Un.rootPrefixCls,Qn=Un.changeSize,qn=Un.quickGo,Cr=Un.goButton,Zr=Un.selectComponentClass,Wr=Un.buildOptionText,cr=Un.selectPrefixCls,mr=Un.disabled,vr=this.state.goInputText,jr="".concat(Nn,"-options"),Aa=Zr,ca=null,bo=null,No=null;if(!Qn&&!qn)return null;var ho=this.getPageSizeOptions();if(Qn&&Aa){var da=ho.map(function(ln,ga){return ye.createElement(Aa.Option,{key:ga,value:ln.toString()},(Wr||yt.buildOptionText)(ln))});ca=ye.createElement(Aa,{disabled:mr,prefixCls:cr,showSearch:!1,className:"".concat(jr,"-size-changer"),optionLabelProp:"children",popupMatchSelectWidth:!1,value:(kt||ho[0]).toString(),onChange:this.changeSize,getPopupContainer:function(ga){return ga.parentNode},"aria-label":Jt.page_size,defaultOpen:!1},da)}return qn&&(Cr&&(No=typeof Cr=="boolean"?ye.createElement("button",{type:"button",onClick:this.go,onKeyUp:this.go,disabled:mr,className:"".concat(jr,"-quick-jumper-button")},Jt.jump_to_confirm):ye.createElement("span",{onClick:this.go,onKeyUp:this.go},Cr)),bo=ye.createElement("div",{className:"".concat(jr,"-quick-jumper")},Jt.jump_to,ye.createElement("input",{disabled:mr,type:"text",value:vr,onChange:this.handleChange,onKeyUp:this.go,onBlur:this.handleBlur,"aria-label":Jt.page}),Jt.page,No)),ye.createElement("li",{className:"".concat(jr)},ca,bo)}}]),Wt}(ye.Component);Te.defaultProps={pageSizeOptions:["10","20","50","100"]};var wt=Te,Qe=function(Kt){var Wt,bn=Kt.rootPrefixCls,yt=Kt.page,Un=Kt.active,kt=Kt.className,Jt=Kt.showTitle,Nn=Kt.onClick,Qn=Kt.onKeyPress,qn=Kt.itemRender,Cr="".concat(bn,"-item"),Zr=Pe()(Cr,"".concat(Cr,"-").concat(yt),(Wt={},(0,we.Z)(Wt,"".concat(Cr,"-active"),Un),(0,we.Z)(Wt,"".concat(Cr,"-disabled"),!yt),(0,we.Z)(Wt,Kt.className,kt),Wt)),Wr=function(){Nn(yt)},cr=function(jr){Qn(jr,Nn,yt)},mr=qn(yt,"page",ye.createElement("a",{rel:"nofollow"},yt));return mr?ye.createElement("li",{title:Jt?yt.toString():null,className:Zr,onClick:Wr,onKeyPress:cr,tabIndex:0},mr):null},Ot=Qe;function lt(){}function it(Bt){var Kt=Number(Bt);return typeof Kt=="number"&&!Number.isNaN(Kt)&&isFinite(Kt)&&Math.floor(Kt)===Kt}var Ft=function(Kt,Wt,bn){return bn};function gt(Bt,Kt,Wt){var bn=typeof Bt=="undefined"?Kt.pageSize:Bt;return Math.floor((Wt.total-1)/bn)+1}var pt=function(Bt){(0,b.Z)(Wt,Bt);var Kt=(0,E.Z)(Wt);function Wt(bn){var yt;(0,y.Z)(this,Wt),yt=Kt.call(this,bn),yt.paginationNode=ye.createRef(),yt.getJumpPrevPage=function(){return Math.max(1,yt.state.current-(yt.props.showLessItems?3:5))},yt.getJumpNextPage=function(){return Math.min(gt(void 0,yt.state,yt.props),yt.state.current+(yt.props.showLessItems?3:5))},yt.getItemIcon=function(Qn,qn){var Cr=yt.props.prefixCls,Zr=Qn||ye.createElement("button",{type:"button","aria-label":qn,className:"".concat(Cr,"-item-link")});return typeof Qn=="function"&&(Zr=ye.createElement(Qn,(0,se.Z)({},yt.props))),Zr},yt.isValid=function(Qn){var qn=yt.props.total;return it(Qn)&&Qn!==yt.state.current&&it(qn)&&qn>0},yt.shouldDisplayQuickJumper=function(){var Qn=yt.props,qn=Qn.showQuickJumper,Cr=Qn.total,Zr=yt.state.pageSize;return Cr<=Zr?!1:qn},yt.handleKeyDown=function(Qn){(Qn.keyCode===Ze.ARROW_UP||Qn.keyCode===Ze.ARROW_DOWN)&&Qn.preventDefault()},yt.handleKeyUp=function(Qn){var qn=yt.getValidValue(Qn),Cr=yt.state.currentInputValue;qn!==Cr&&yt.setState({currentInputValue:qn}),Qn.keyCode===Ze.ENTER?yt.handleChange(qn):Qn.keyCode===Ze.ARROW_UP?yt.handleChange(qn-1):Qn.keyCode===Ze.ARROW_DOWN&&yt.handleChange(qn+1)},yt.handleBlur=function(Qn){var qn=yt.getValidValue(Qn);yt.handleChange(qn)},yt.changePageSize=function(Qn){var qn=yt.state.current,Cr=gt(Qn,yt.state,yt.props);qn=qn>Cr?Cr:qn,Cr===0&&(qn=yt.state.current),typeof Qn=="number"&&("pageSize"in yt.props||yt.setState({pageSize:Qn}),"current"in yt.props||yt.setState({current:qn,currentInputValue:qn})),yt.props.onShowSizeChange(qn,Qn),"onChange"in yt.props&&yt.props.onChange&&yt.props.onChange(qn,Qn)},yt.handleChange=function(Qn){var qn=yt.props,Cr=qn.disabled,Zr=qn.onChange,Wr=yt.state,cr=Wr.pageSize,mr=Wr.current,vr=Wr.currentInputValue;if(yt.isValid(Qn)&&!Cr){var jr=gt(void 0,yt.state,yt.props),Aa=Qn;return Qn>jr?Aa=jr:Qn<1&&(Aa=1),"current"in yt.props||yt.setState({current:Aa}),Aa!==vr&&yt.setState({currentInputValue:Aa}),Zr(Aa,cr),Aa}return mr},yt.prev=function(){yt.hasPrev()&&yt.handleChange(yt.state.current-1)},yt.next=function(){yt.hasNext()&&yt.handleChange(yt.state.current+1)},yt.jumpPrev=function(){yt.handleChange(yt.getJumpPrevPage())},yt.jumpNext=function(){yt.handleChange(yt.getJumpNextPage())},yt.hasPrev=function(){return yt.state.current>1},yt.hasNext=function(){return yt.state.current2?Cr-2:0),Wr=2;Wr=kt?Nn=kt:Nn=Number(Un),Nn}},{key:"getShowSizeChanger",value:function(){var yt=this.props,Un=yt.showSizeChanger,kt=yt.total,Jt=yt.totalBoundaryShowSizeChanger;return typeof Un!="undefined"?Un:kt>Jt}},{key:"render",value:function(){var yt=this.props,Un=yt.prefixCls,kt=yt.className,Jt=yt.style,Nn=yt.disabled,Qn=yt.hideOnSinglePage,qn=yt.total,Cr=yt.locale,Zr=yt.showQuickJumper,Wr=yt.showLessItems,cr=yt.showTitle,mr=yt.showTotal,vr=yt.simple,jr=yt.itemRender,Aa=yt.showPrevNextJumpers,ca=yt.jumpPrevIcon,bo=yt.jumpNextIcon,No=yt.selectComponentClass,ho=yt.selectPrefixCls,da=yt.pageSizeOptions,ln=this.state,ga=ln.current,Lo=ln.pageSize,Bi=ln.currentInputValue;if(Qn===!0&&qn<=Lo)return null;var _a=gt(void 0,this.state,this.props),Po=[],Di=null,Yi=null,ma=null,En=null,On=null,vn=Zr&&Zr.goButton,Pr=Wr?1:2,Vr=ga-1>0?ga-1:0,Ba=ga+1<_a?ga+1:_a,Da=De(this.props,{aria:!0,data:!0}),Ia=mr&&ye.createElement("li",{className:"".concat(Un,"-total-text")},mr(qn,[qn===0?0:(ga-1)*Lo+1,ga*Lo>qn?qn:ga*Lo]));if(vr){vn&&(typeof vn=="boolean"?On=ye.createElement("button",{type:"button",onClick:this.handleGoTO,onKeyUp:this.handleGoTO},Cr.jump_to_confirm):On=ye.createElement("span",{onClick:this.handleGoTO,onKeyUp:this.handleGoTO},vn),On=ye.createElement("li",{title:cr?"".concat(Cr.jump_to).concat(ga,"/").concat(_a):null,className:"".concat(Un,"-simple-pager")},On));var Yo=this.renderPrev(Vr);return ye.createElement("ul",(0,le.Z)({className:Pe()(Un,"".concat(Un,"-simple"),(0,we.Z)({},"".concat(Un,"-disabled"),Nn),kt),style:Jt,ref:this.paginationNode},Da),Ia,Yo?ye.createElement("li",{title:cr?Cr.prev_page:null,onClick:this.prev,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterPrev,className:Pe()("".concat(Un,"-prev"),(0,we.Z)({},"".concat(Un,"-disabled"),!this.hasPrev())),"aria-disabled":!this.hasPrev()},Yo):null,ye.createElement("li",{title:cr?"".concat(ga,"/").concat(_a):null,className:"".concat(Un,"-simple-pager")},ye.createElement("input",{type:"text",value:Bi,disabled:Nn,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onChange:this.handleKeyUp,onBlur:this.handleBlur,size:3}),ye.createElement("span",{className:"".concat(Un,"-slash")},"/"),_a),ye.createElement("li",{title:cr?Cr.next_page:null,onClick:this.next,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterNext,className:Pe()("".concat(Un,"-next"),(0,we.Z)({},"".concat(Un,"-disabled"),!this.hasNext())),"aria-disabled":!this.hasNext()},this.renderNext(Ba)),On)}if(_a<=3+Pr*2){var Ho={locale:Cr,rootPrefixCls:Un,onClick:this.handleChange,onKeyPress:this.runIfEnter,showTitle:cr,itemRender:jr};_a||Po.push(ye.createElement(Ot,(0,le.Z)({},Ho,{key:"noPager",page:1,className:"".concat(Un,"-item-disabled")})));for(var gi=1;gi<=_a;gi+=1){var _r=ga===gi;Po.push(ye.createElement(Ot,(0,le.Z)({},Ho,{key:gi,page:gi,active:_r})))}}else{var co=Wr?Cr.prev_3:Cr.prev_5,Hi=Wr?Cr.next_3:Cr.next_5,bs=jr(this.getJumpPrevPage(),"jump-prev",this.getItemIcon(ca,"prev page")),li=jr(this.getJumpNextPage(),"jump-next",this.getItemIcon(bo,"next page"));Aa&&(Di=bs?ye.createElement("li",{title:cr?co:null,key:"prev",onClick:this.jumpPrev,tabIndex:0,onKeyPress:this.runIfEnterJumpPrev,className:Pe()("".concat(Un,"-jump-prev"),(0,we.Z)({},"".concat(Un,"-jump-prev-custom-icon"),!!ca))},bs):null,Yi=li?ye.createElement("li",{title:cr?Hi:null,key:"next",tabIndex:0,onClick:this.jumpNext,onKeyPress:this.runIfEnterJumpNext,className:Pe()("".concat(Un,"-jump-next"),(0,we.Z)({},"".concat(Un,"-jump-next-custom-icon"),!!bo))},li):null),En=ye.createElement(Ot,{locale:Cr,last:!0,rootPrefixCls:Un,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:_a,page:_a,active:!1,showTitle:cr,itemRender:jr}),ma=ye.createElement(Ot,{locale:Cr,rootPrefixCls:Un,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:1,page:1,active:!1,showTitle:cr,itemRender:jr});var fi=Math.max(1,ga-Pr),Ha=Math.min(ga+Pr,_a);ga-1<=Pr&&(Ha=1+Pr*2),_a-ga<=Pr&&(fi=_a-Pr*2);for(var Ko=fi;Ko<=Ha;Ko+=1){var ii=ga===Ko;Po.push(ye.createElement(Ot,{locale:Cr,rootPrefixCls:Un,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:Ko,page:Ko,active:ii,showTitle:cr,itemRender:jr}))}ga-1>=Pr*2&&ga!==3&&(Po[0]=(0,ye.cloneElement)(Po[0],{className:"".concat(Un,"-item-after-jump-prev")}),Po.unshift(Di)),_a-ga>=Pr*2&&ga!==_a-2&&(Po[Po.length-1]=(0,ye.cloneElement)(Po[Po.length-1],{className:"".concat(Un,"-item-before-jump-next")}),Po.push(Yi)),fi!==1&&Po.unshift(ma),Ha!==_a&&Po.push(En)}var hs=!this.hasPrev()||!_a,Ti=!this.hasNext()||!_a,Ki=this.renderPrev(Vr),Us=this.renderNext(Ba);return ye.createElement("ul",(0,le.Z)({className:Pe()(Un,kt,(0,we.Z)({},"".concat(Un,"-disabled"),Nn)),style:Jt,ref:this.paginationNode},Da),Ia,Ki?ye.createElement("li",{title:cr?Cr.prev_page:null,onClick:this.prev,tabIndex:hs?null:0,onKeyPress:this.runIfEnterPrev,className:Pe()("".concat(Un,"-prev"),(0,we.Z)({},"".concat(Un,"-disabled"),hs)),"aria-disabled":hs},Ki):null,Po,Us?ye.createElement("li",{title:cr?Cr.next_page:null,onClick:this.next,tabIndex:Ti?null:0,onKeyPress:this.runIfEnterNext,className:Pe()("".concat(Un,"-next"),(0,we.Z)({},"".concat(Un,"-disabled"),Ti)),"aria-disabled":Ti},Us):null,ye.createElement(wt,{disabled:Nn,locale:Cr,rootPrefixCls:Un,selectComponentClass:No,selectPrefixCls:ho,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:ga,pageSize:Lo,pageSizeOptions:da,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:vn}))}}],[{key:"getDerivedStateFromProps",value:function(yt,Un){var kt={};if("current"in yt&&(kt.current=yt.current,yt.current!==Un.current&&(kt.currentInputValue=kt.current)),"pageSize"in yt&&yt.pageSize!==Un.pageSize){var Jt=Un.current,Nn=gt(yt.pageSize,Un,yt);Jt=Jt>Nn?Nn:Jt,"current"in yt||(kt.current=Jt,kt.currentInputValue=Jt),kt.pageSize=yt.pageSize}return kt}}]),Wt}(ye.Component);pt.defaultProps={defaultCurrent:1,total:0,defaultPageSize:10,onChange:lt,className:"",selectPrefixCls:"rc-select",prefixCls:"rc-pagination",selectComponentClass:null,hideOnSinglePage:!1,showPrevNextJumpers:!0,showQuickJumper:!1,showLessItems:!1,showTitle:!0,onShowSizeChange:lt,locale:ot.Z,style:{},itemRender:Ft,totalBoundaryShowSizeChanger:50};var tt=pt,ut=de(62906),mn=de(53124),en=de(98675),Et=de(25378),Cn=de(10110),Ln=de(11713);const Yn=Bt=>ye.createElement(Ln.default,Object.assign({},Bt,{showSearch:!0,size:"small"})),xn=Bt=>ye.createElement(Ln.default,Object.assign({},Bt,{showSearch:!0,size:"middle"}));Yn.Option=Ln.default.Option,xn.Option=Ln.default.Option;var tr=de(47673),xt=de(14747),Tn=de(67968),ir=de(45503);const Ye=Bt=>{const{componentCls:Kt}=Bt;return{[`${Kt}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${Kt}-item-link`]:{color:Bt.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${Kt}-item-link`]:{color:Bt.colorTextDisabled,cursor:"not-allowed"}}},[`&${Kt}-disabled`]:{cursor:"not-allowed",[`${Kt}-item`]:{cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},a:{color:Bt.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:Bt.colorBorder,backgroundColor:Bt.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:Bt.itemActiveBgDisabled},a:{color:Bt.itemActiveColorDisabled}}},[`${Kt}-item-link`]:{color:Bt.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${Kt}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${Kt}-simple-pager`]:{color:Bt.colorTextDisabled},[`${Kt}-jump-prev, ${Kt}-jump-next`]:{[`${Kt}-item-link-icon`]:{opacity:0},[`${Kt}-item-ellipsis`]:{opacity:1}}},[`&${Kt}-simple`]:{[`${Kt}-prev, ${Kt}-next`]:{[`&${Kt}-disabled ${Kt}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},cn=Bt=>{const{componentCls:Kt}=Bt;return{[`&${Kt}-mini ${Kt}-total-text, &${Kt}-mini ${Kt}-simple-pager`]:{height:Bt.itemSizeSM,lineHeight:`${Bt.itemSizeSM}px`},[`&${Kt}-mini ${Kt}-item`]:{minWidth:Bt.itemSizeSM,height:Bt.itemSizeSM,margin:0,lineHeight:`${Bt.itemSizeSM-2}px`},[`&${Kt}-mini:not(${Kt}-disabled) ${Kt}-item:not(${Kt}-item-active)`]:{backgroundColor:"transparent",borderColor:"transparent","&:hover":{backgroundColor:Bt.colorBgTextHover},"&:active":{backgroundColor:Bt.colorBgTextActive}},[`&${Kt}-mini ${Kt}-prev, &${Kt}-mini ${Kt}-next`]:{minWidth:Bt.itemSizeSM,height:Bt.itemSizeSM,margin:0,lineHeight:`${Bt.itemSizeSM}px`},[`&${Kt}-mini:not(${Kt}-disabled)`]:{[`${Kt}-prev, ${Kt}-next`]:{[`&:hover ${Kt}-item-link`]:{backgroundColor:Bt.colorBgTextHover},[`&:active ${Kt}-item-link`]:{backgroundColor:Bt.colorBgTextActive},[`&${Kt}-disabled:hover ${Kt}-item-link`]:{backgroundColor:"transparent"}}},[` &${Kt}-mini ${Kt}-prev ${Kt}-item-link, &${Kt}-mini ${Kt}-next ${Kt}-item-link `]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:Bt.itemSizeSM,lineHeight:`${Bt.itemSizeSM}px`}},[`&${Kt}-mini ${Kt}-jump-prev, &${Kt}-mini ${Kt}-jump-next`]:{height:Bt.itemSizeSM,marginInlineEnd:0,lineHeight:`${Bt.itemSizeSM}px`},[`&${Kt}-mini ${Kt}-options`]:{marginInlineStart:Bt.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:Bt.miniOptionsSizeChangerTop},"&-quick-jumper":{height:Bt.itemSizeSM,lineHeight:`${Bt.itemSizeSM}px`,input:Object.assign(Object.assign({},(0,tr.x0)(Bt)),{width:Bt.paginationMiniQuickJumperInputWidth,height:Bt.controlHeightSM})}}}},Oe=Bt=>{const{componentCls:Kt}=Bt;return{[` &${Kt}-simple ${Kt}-prev, &${Kt}-simple ${Kt}-next `]:{height:Bt.itemSizeSM,lineHeight:`${Bt.itemSizeSM}px`,verticalAlign:"top",[`${Kt}-item-link`]:{height:Bt.itemSizeSM,backgroundColor:"transparent",border:0,"&:hover":{backgroundColor:Bt.colorBgTextHover},"&:active":{backgroundColor:Bt.colorBgTextActive},"&::after":{height:Bt.itemSizeSM,lineHeight:`${Bt.itemSizeSM}px`}}},[`&${Kt}-simple ${Kt}-simple-pager`]:{display:"inline-block",height:Bt.itemSizeSM,marginInlineEnd:Bt.marginXS,input:{boxSizing:"border-box",height:"100%",marginInlineEnd:Bt.marginXS,padding:`0 ${Bt.paginationItemPaddingInline}px`,textAlign:"center",backgroundColor:Bt.itemInputBg,border:`${Bt.lineWidth}px ${Bt.lineType} ${Bt.colorBorder}`,borderRadius:Bt.borderRadius,outline:"none",transition:`border-color ${Bt.motionDurationMid}`,color:"inherit","&:hover":{borderColor:Bt.colorPrimary},"&:focus":{borderColor:Bt.colorPrimaryHover,boxShadow:`${Bt.inputOutlineOffset}px 0 ${Bt.controlOutlineWidth}px ${Bt.controlOutline}`},"&[disabled]":{color:Bt.colorTextDisabled,backgroundColor:Bt.colorBgContainerDisabled,borderColor:Bt.colorBorder,cursor:"not-allowed"}}}}},fe=Bt=>{const{componentCls:Kt}=Bt;return{[`${Kt}-jump-prev, ${Kt}-jump-next`]:{outline:0,[`${Kt}-item-container`]:{position:"relative",[`${Kt}-item-link-icon`]:{color:Bt.colorPrimary,fontSize:Bt.fontSizeSM,opacity:0,transition:`all ${Bt.motionDurationMid}`,"&-svg":{top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,margin:"auto"}},[`${Kt}-item-ellipsis`]:{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,display:"block",margin:"auto",color:Bt.colorTextDisabled,fontFamily:"Arial, Helvetica, sans-serif",letterSpacing:Bt.paginationEllipsisLetterSpacing,textAlign:"center",textIndent:Bt.paginationEllipsisTextIndent,opacity:1,transition:`all ${Bt.motionDurationMid}`}},"&:hover":{[`${Kt}-item-link-icon`]:{opacity:1},[`${Kt}-item-ellipsis`]:{opacity:0}}},[` ${Kt}-prev, ${Kt}-jump-prev, ${Kt}-jump-next `]:{marginInlineEnd:Bt.marginXS},[` ${Kt}-prev, ${Kt}-next, ${Kt}-jump-prev, ${Kt}-jump-next `]:{display:"inline-block",minWidth:Bt.itemSize,height:Bt.itemSize,color:Bt.colorText,fontFamily:Bt.fontFamily,lineHeight:`${Bt.itemSize}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:Bt.borderRadius,cursor:"pointer",transition:`all ${Bt.motionDurationMid}`},[`${Kt}-prev, ${Kt}-next`]:{fontFamily:"Arial, Helvetica, sans-serif",outline:0,button:{color:Bt.colorText,cursor:"pointer",userSelect:"none"},[`${Kt}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:Bt.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${Bt.lineWidth}px ${Bt.lineType} transparent`,borderRadius:Bt.borderRadius,outline:"none",transition:`all ${Bt.motionDurationMid}`},[`&:hover ${Kt}-item-link`]:{backgroundColor:Bt.colorBgTextHover},[`&:active ${Kt}-item-link`]:{backgroundColor:Bt.colorBgTextActive},[`&${Kt}-disabled:hover`]:{[`${Kt}-item-link`]:{backgroundColor:"transparent"}}},[`${Kt}-slash`]:{marginInlineEnd:Bt.paginationSlashMarginInlineEnd,marginInlineStart:Bt.paginationSlashMarginInlineStart},[`${Kt}-options`]:{display:"inline-block",marginInlineStart:Bt.margin,verticalAlign:"middle","&-size-changer.-select":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:Bt.controlHeight,marginInlineStart:Bt.marginXS,lineHeight:`${Bt.controlHeight}px`,verticalAlign:"top",input:Object.assign(Object.assign({},(0,tr.ik)(Bt)),{width:Bt.controlHeightLG*1.25,height:Bt.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:Bt.marginXS,marginInlineEnd:Bt.marginXS})}}}},me=Bt=>{const{componentCls:Kt}=Bt;return{[`${Kt}-item`]:{display:"inline-block",minWidth:Bt.itemSize,height:Bt.itemSize,marginInlineEnd:Bt.marginXS,fontFamily:Bt.fontFamily,lineHeight:`${Bt.itemSize-2}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:"transparent",border:`${Bt.lineWidth}px ${Bt.lineType} transparent`,borderRadius:Bt.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${Bt.paginationItemPaddingInline}px`,color:Bt.colorText,"&:hover":{textDecoration:"none"}},[`&:not(${Kt}-item-active)`]:{"&:hover":{transition:`all ${Bt.motionDurationMid}`,backgroundColor:Bt.colorBgTextHover},"&:active":{backgroundColor:Bt.colorBgTextActive}},"&-active":{fontWeight:Bt.fontWeightStrong,backgroundColor:Bt.itemActiveBg,borderColor:Bt.colorPrimary,a:{color:Bt.colorPrimary},"&:hover":{borderColor:Bt.colorPrimaryHover},"&:hover a":{color:Bt.colorPrimaryHover}}}}},Ue=Bt=>{const{componentCls:Kt}=Bt;return{[Kt]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,xt.Wf)(Bt)),{"ul, ol":{margin:0,padding:0,listStyle:"none"},"&::after":{display:"block",clear:"both",height:0,overflow:"hidden",visibility:"hidden",content:'""'},[`${Kt}-total-text`]:{display:"inline-block",height:Bt.itemSize,marginInlineEnd:Bt.marginXS,lineHeight:`${Bt.itemSize-2}px`,verticalAlign:"middle"}}),me(Bt)),fe(Bt)),Oe(Bt)),cn(Bt)),Ye(Bt)),{[`@media only screen and (max-width: ${Bt.screenLG}px)`]:{[`${Kt}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${Bt.screenSM}px)`]:{[`${Kt}-options`]:{display:"none"}}}),[`&${Bt.componentCls}-rtl`]:{direction:"rtl"}}},qe=Bt=>{const{componentCls:Kt}=Bt;return{[`${Kt}${Kt}-disabled:not(${Kt}-mini)`]:{"&, &:hover":{[`${Kt}-item-link`]:{borderColor:Bt.colorBorder}},"&:focus-visible":{[`${Kt}-item-link`]:{borderColor:Bt.colorBorder}},[`${Kt}-item, ${Kt}-item-link`]:{backgroundColor:Bt.colorBgContainerDisabled,borderColor:Bt.colorBorder,[`&:hover:not(${Kt}-item-active)`]:{backgroundColor:Bt.colorBgContainerDisabled,borderColor:Bt.colorBorder,a:{color:Bt.colorTextDisabled}},[`&${Kt}-item-active`]:{backgroundColor:Bt.itemActiveBgDisabled}},[`${Kt}-prev, ${Kt}-next`]:{"&:hover button":{backgroundColor:Bt.colorBgContainerDisabled,borderColor:Bt.colorBorder,color:Bt.colorTextDisabled},[`${Kt}-item-link`]:{backgroundColor:Bt.colorBgContainerDisabled,borderColor:Bt.colorBorder}}},[`${Kt}:not(${Kt}-mini)`]:{[`${Kt}-prev, ${Kt}-next`]:{"&:hover button":{borderColor:Bt.colorPrimaryHover,backgroundColor:Bt.itemBg},[`${Kt}-item-link`]:{backgroundColor:Bt.itemLinkBg,borderColor:Bt.colorBorder},[`&:hover ${Kt}-item-link`]:{borderColor:Bt.colorPrimary,backgroundColor:Bt.itemBg,color:Bt.colorPrimary},[`&${Kt}-disabled`]:{[`${Kt}-item-link`]:{borderColor:Bt.colorBorder,color:Bt.colorTextDisabled}}},[`${Kt}-item`]:{backgroundColor:Bt.itemBg,border:`${Bt.lineWidth}px ${Bt.lineType} ${Bt.colorBorder}`,[`&:hover:not(${Kt}-item-active)`]:{borderColor:Bt.colorPrimary,backgroundColor:Bt.itemBg,a:{color:Bt.colorPrimary}},"&-active":{borderColor:Bt.colorPrimary}}}}},ct=Bt=>{const{componentCls:Kt}=Bt;return{[`${Kt}:not(${Kt}-disabled)`]:{[`${Kt}-item`]:Object.assign({},(0,xt.Qy)(Bt)),[`${Kt}-jump-prev, ${Kt}-jump-next`]:{"&:focus-visible":Object.assign({[`${Kt}-item-link-icon`]:{opacity:1},[`${Kt}-item-ellipsis`]:{opacity:0}},(0,xt.oN)(Bt))},[`${Kt}-prev, ${Kt}-next`]:{[`&:focus-visible ${Kt}-item-link`]:Object.assign({},(0,xt.oN)(Bt))}}}};var st=(0,Tn.Z)("Pagination",Bt=>{const Kt=(0,ir.TS)(Bt,{inputOutlineOffset:0,paginationMiniOptionsMarginInlineStart:Bt.marginXXS/2,paginationMiniQuickJumperInputWidth:Bt.controlHeightLG*1.1,paginationItemPaddingInline:Bt.marginXXS*1.5,paginationEllipsisLetterSpacing:Bt.marginXXS/2,paginationSlashMarginInlineStart:Bt.marginXXS,paginationSlashMarginInlineEnd:Bt.marginSM,paginationEllipsisTextIndent:"0.13em"},(0,tr.e5)(Bt),(0,tr.TM)(Bt));return[Ue(Kt),ct(Kt),Bt.wireframe&&qe(Kt)]},Bt=>({itemBg:Bt.colorBgContainer,itemSize:Bt.controlHeight,itemSizeSM:Bt.controlHeightSM,itemActiveBg:Bt.colorBgContainer,itemLinkBg:Bt.colorBgContainer,itemActiveColorDisabled:Bt.colorTextDisabled,itemActiveBgDisabled:Bt.controlItemBgActiveDisabled,itemInputBg:Bt.colorBgContainer,miniOptionsSizeChangerTop:0})),an=function(Bt,Kt){var Wt={};for(var bn in Bt)Object.prototype.hasOwnProperty.call(Bt,bn)&&Kt.indexOf(bn)<0&&(Wt[bn]=Bt[bn]);if(Bt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var yt=0,bn=Object.getOwnPropertySymbols(Bt);yt{const{prefixCls:Kt,selectPrefixCls:Wt,className:bn,rootClassName:yt,style:Un,size:kt,locale:Jt,selectComponentClass:Nn,responsive:Qn,showSizeChanger:qn}=Bt,Cr=an(Bt,["prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","selectComponentClass","responsive","showSizeChanger"]),{xs:Zr}=(0,Et.Z)(Qn),{getPrefixCls:Wr,direction:cr,pagination:mr={}}=ye.useContext(mn.E_),vr=Wr("pagination",Kt),[jr,Aa]=st(vr),ca=qn!=null?qn:mr.showSizeChanger,bo=ye.useMemo(()=>{const _a=ye.createElement("span",{className:`${vr}-item-ellipsis`},"\u2022\u2022\u2022"),Po=ye.createElement("button",{className:`${vr}-item-link`,type:"button",tabIndex:-1},cr==="rtl"?ye.createElement(ge.Z,null):ye.createElement(Le.Z,null)),Di=ye.createElement("button",{className:`${vr}-item-link`,type:"button",tabIndex:-1},cr==="rtl"?ye.createElement(Le.Z,null):ye.createElement(ge.Z,null)),Yi=ye.createElement("a",{className:`${vr}-item-link`},ye.createElement("div",{className:`${vr}-item-container`},cr==="rtl"?ye.createElement(ve.Z,{className:`${vr}-item-link-icon`}):ye.createElement(pe,{className:`${vr}-item-link-icon`}),_a)),ma=ye.createElement("a",{className:`${vr}-item-link`},ye.createElement("div",{className:`${vr}-item-container`},cr==="rtl"?ye.createElement(pe,{className:`${vr}-item-link-icon`}):ye.createElement(ve.Z,{className:`${vr}-item-link-icon`}),_a));return{prevIcon:Po,nextIcon:Di,jumpPrevIcon:Yi,jumpNextIcon:ma}},[cr,vr]),[No]=(0,Cn.Z)("Pagination",ut.Z),ho=Object.assign(Object.assign({},No),Jt),da=(0,en.Z)(kt),ln=da==="small"||!!(Zr&&!da&&Qn),ga=Wr("select",Wt),Lo=Pe()({[`${vr}-mini`]:ln,[`${vr}-rtl`]:cr==="rtl"},mr==null?void 0:mr.className,bn,yt,Aa),Bi=Object.assign(Object.assign({},mr==null?void 0:mr.style),Un);return jr(ye.createElement(tt,Object.assign({},bo,Cr,{style:Bi,prefixCls:vr,selectPrefixCls:ga,className:Lo,selectComponentClass:Nn||(ln?Yn:xn),locale:ho,showSizeChanger:ca})))},Wn=An},38703:function(Yt,Nt,de){"use strict";de.d(Nt,{Z:function(){return Un}});var le=de(67294),ye=de(87725),Ke=de(18299),Je=de(16646),ze=de(73475),Re=de(94184),pe=de.n(Re),ve=de(10366),Le=de(53124),ge=de(87462),Ie=de(1413),Pe=de(45987),we={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},se=function(){var Jt=(0,le.useRef)([]),Nn=(0,le.useRef)(null);return(0,le.useEffect)(function(){var Qn=Date.now(),qn=!1;Jt.current.forEach(function(Cr){if(Cr){qn=!0;var Zr=Cr.style;Zr.transitionDuration=".3s, .3s, .3s, .06s",Nn.current&&Qn-Nn.current<100&&(Zr.transitionDuration="0s, 0s")}}),qn&&(Nn.current=Date.now())}),Jt.current},y=["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"],a=function(Jt){var Nn=(0,Ie.Z)((0,Ie.Z)({},we),Jt),Qn=Nn.className,qn=Nn.percent,Cr=Nn.prefixCls,Zr=Nn.strokeColor,Wr=Nn.strokeLinecap,cr=Nn.strokeWidth,mr=Nn.style,vr=Nn.trailColor,jr=Nn.trailWidth,Aa=Nn.transition,ca=(0,Pe.Z)(Nn,y);delete ca.gapPosition;var bo=Array.isArray(qn)?qn:[qn],No=Array.isArray(Zr)?Zr:[Zr],ho=se(),da=cr/2,ln=100-cr/2,ga="M ".concat(Wr==="round"?da:0,",").concat(da,` L `).concat(Wr==="round"?ln:100,",").concat(da),Lo="0 0 100 ".concat(cr),Bi=0;return le.createElement("svg",(0,ge.Z)({className:pe()("".concat(Cr,"-line"),Qn),viewBox:Lo,preserveAspectRatio:"none",style:mr},ca),le.createElement("path",{className:"".concat(Cr,"-line-trail"),d:ga,strokeLinecap:Wr,stroke:vr,strokeWidth:jr||cr,fillOpacity:"0"}),bo.map(function(_a,Po){var Di=1;switch(Wr){case"round":Di=1-cr/100;break;case"square":Di=1-cr/2/100;break;default:Di=1;break}var Yi={strokeDasharray:"".concat(_a*Di,"px, 100px"),strokeDashoffset:"-".concat(Bi,"px"),transition:Aa||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},ma=No[Po]||No[No.length-1];return Bi+=_a,le.createElement("path",{key:Po,className:"".concat(Cr,"-line-path"),d:ga,strokeLinecap:Wr,stroke:ma,strokeWidth:cr,fillOpacity:"0",ref:function(On){ho[Po]=On},style:Yi})}))},b=a,E=de(71002),x=de(97685),z=de(98924),ae=0,ce=(0,z.Z)();function Ee(){var kt;return ce?(kt=ae,ae+=1):kt="TEST_OR_SSR",kt}var be=function(kt){var Jt=le.useState(),Nn=(0,x.Z)(Jt,2),Qn=Nn[0],qn=Nn[1];return le.useEffect(function(){qn("rc_progress_".concat(Ee()))},[]),kt||Qn},De=function(Jt){var Nn=Jt.bg,Qn=Jt.children;return le.createElement("div",{style:{width:"100%",height:"100%",background:Nn}},Qn)};function Ge(kt,Jt){return Object.keys(kt).map(function(Nn){var Qn=parseFloat(Nn),qn="".concat(Math.floor(Qn*Jt),"%");return"".concat(kt[Nn]," ").concat(qn)})}var Ze=le.forwardRef(function(kt,Jt){var Nn=kt.prefixCls,Qn=kt.color,qn=kt.gradientId,Cr=kt.radius,Zr=kt.style,Wr=kt.ptg,cr=kt.strokeLinecap,mr=kt.strokeWidth,vr=kt.size,jr=kt.gapDegree,Aa=Qn&&(0,E.Z)(Qn)==="object",ca=Aa?"#FFF":void 0,bo=vr/2,No=le.createElement("circle",{className:"".concat(Nn,"-circle-path"),r:Cr,cx:bo,cy:bo,stroke:ca,strokeLinecap:cr,strokeWidth:mr,opacity:Wr===0?0:1,style:Zr,ref:Jt});if(!Aa)return No;var ho="".concat(qn,"-conic"),da=jr?"".concat(180+jr/2,"deg"):"0deg",ln=Ge(Qn,(360-jr)/360),ga=Ge(Qn,1),Lo="conic-gradient(from ".concat(da,", ").concat(ln.join(", "),")"),Bi="linear-gradient(to ".concat(jr?"bottom":"top",", ").concat(ga.join(", "),")");return le.createElement(le.Fragment,null,le.createElement("mask",{id:ho},No),le.createElement("foreignObject",{x:0,y:0,width:vr,height:vr,mask:"url(#".concat(ho,")")},le.createElement(De,{bg:Bi},le.createElement(De,{bg:Lo}))))}),ot=Ze,Te=100,wt=function(Jt,Nn,Qn,qn,Cr,Zr,Wr,cr,mr,vr){var jr=arguments.length>10&&arguments[10]!==void 0?arguments[10]:0,Aa=Qn/100*360*((360-Zr)/360),ca=Zr===0?0:{bottom:0,top:180,left:90,right:-90}[Wr],bo=(100-qn)/100*Nn;mr==="round"&&qn!==100&&(bo+=vr/2,bo>=Nn&&(bo=Nn-.01));var No=Te/2;return{stroke:typeof cr=="string"?cr:void 0,strokeDasharray:"".concat(Nn,"px ").concat(Jt),strokeDashoffset:bo+jr,transform:"rotate(".concat(Cr+Aa+ca,"deg)"),transformOrigin:"".concat(No,"px ").concat(No,"px"),transition:"stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s",fillOpacity:0}},Qe=["id","prefixCls","steps","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function Ot(kt){var Jt=kt!=null?kt:[];return Array.isArray(Jt)?Jt:[Jt]}var lt=function(Jt){var Nn=(0,Ie.Z)((0,Ie.Z)({},we),Jt),Qn=Nn.id,qn=Nn.prefixCls,Cr=Nn.steps,Zr=Nn.strokeWidth,Wr=Nn.trailWidth,cr=Nn.gapDegree,mr=cr===void 0?0:cr,vr=Nn.gapPosition,jr=Nn.trailColor,Aa=Nn.strokeLinecap,ca=Nn.style,bo=Nn.className,No=Nn.strokeColor,ho=Nn.percent,da=(0,Pe.Z)(Nn,Qe),ln=Te/2,ga=be(Qn),Lo="".concat(ga,"-gradient"),Bi=ln-Zr/2,_a=Math.PI*2*Bi,Po=mr>0?90+mr/2:-90,Di=_a*((360-mr)/360),Yi=(0,E.Z)(Cr)==="object"?Cr:{count:Cr,space:2},ma=Yi.count,En=Yi.space,On=Ot(ho),vn=Ot(No),Pr=vn.find(function(gi){return gi&&(0,E.Z)(gi)==="object"}),Vr=Pr&&(0,E.Z)(Pr)==="object",Ba=Vr?"butt":Aa,Da=wt(_a,Di,0,100,Po,mr,vr,jr,Ba,Zr),Ia=se(),Yo=function(){var _r=0;return On.map(function(co,Hi){var bs=vn[Hi]||vn[vn.length-1],li=wt(_a,Di,_r,co,Po,mr,vr,bs,Ba,Zr);return _r+=co,le.createElement(ot,{key:Hi,color:bs,ptg:co,radius:Bi,prefixCls:qn,gradientId:Lo,style:li,strokeLinecap:Ba,strokeWidth:Zr,gapDegree:mr,ref:function(Ha){Ia[Hi]=Ha},size:Te})}).reverse()},Ho=function(){var _r=Math.round(ma*(On[0]/100)),co=100/ma,Hi=0;return new Array(ma).fill(null).map(function(bs,li){var fi=li<=_r-1?vn[0]:jr,Ha=fi&&(0,E.Z)(fi)==="object"?"url(#".concat(Lo,")"):void 0,Ko=wt(_a,Di,Hi,co,Po,mr,vr,fi,"butt",Zr,En);return Hi+=(Di-Ko.strokeDashoffset+En)*100/Di,le.createElement("circle",{key:li,className:"".concat(qn,"-circle-path"),r:Bi,cx:ln,cy:ln,stroke:Ha,strokeWidth:Zr,opacity:1,style:Ko,ref:function(hs){Ia[li]=hs}})})};return le.createElement("svg",(0,ge.Z)({className:pe()("".concat(qn,"-circle"),bo),viewBox:"0 0 ".concat(Te," ").concat(Te),style:ca,id:Qn,role:"presentation"},da),!ma&&le.createElement("circle",{className:"".concat(qn,"-circle-trail"),r:Bi,cx:ln,cy:ln,stroke:jr,strokeLinecap:Ba,strokeWidth:Wr||Zr,style:Da}),ma?Ho():Yo())},it=lt,Ft={Line:b,Circle:it},gt=de(83062),pt=de(47448);function tt(kt){return!kt||kt<0?0:kt>100?100:kt}function ut(kt){let{success:Jt,successPercent:Nn}=kt,Qn=Nn;return Jt&&"progress"in Jt&&(Qn=Jt.progress),Jt&&"percent"in Jt&&(Qn=Jt.percent),Qn}const mn=kt=>{let{percent:Jt,success:Nn,successPercent:Qn}=kt;const qn=tt(ut({success:Nn,successPercent:Qn}));return[qn,tt(tt(Jt)-qn)]},en=kt=>{let{success:Jt={},strokeColor:Nn}=kt;const{strokeColor:Qn}=Jt;return[Qn||pt.presetPrimaryColors.green,Nn||null]},Et=(kt,Jt,Nn)=>{var Qn,qn,Cr,Zr;let Wr=-1,cr=-1;if(Jt==="step"){const mr=Nn.steps,vr=Nn.strokeWidth;typeof kt=="string"||typeof kt=="undefined"?(Wr=kt==="small"?2:14,cr=vr!=null?vr:8):typeof kt=="number"?[Wr,cr]=[kt,kt]:[Wr=14,cr=8]=kt,Wr*=mr}else if(Jt==="line"){const mr=Nn==null?void 0:Nn.strokeWidth;typeof kt=="string"||typeof kt=="undefined"?cr=mr||(kt==="small"?6:8):typeof kt=="number"?[Wr,cr]=[kt,kt]:[Wr=-1,cr=8]=kt}else(Jt==="circle"||Jt==="dashboard")&&(typeof kt=="string"||typeof kt=="undefined"?[Wr,cr]=kt==="small"?[60,60]:[120,120]:typeof kt=="number"?[Wr,cr]=[kt,kt]:(Wr=(qn=(Qn=kt[0])!==null&&Qn!==void 0?Qn:kt[1])!==null&&qn!==void 0?qn:120,cr=(Zr=(Cr=kt[0])!==null&&Cr!==void 0?Cr:kt[1])!==null&&Zr!==void 0?Zr:120));return[Wr,cr]},Cn=3,Ln=kt=>Cn/kt*100;var xn=kt=>{const{prefixCls:Jt,trailColor:Nn=null,strokeLinecap:Qn="round",gapPosition:qn,gapDegree:Cr,width:Zr=120,type:Wr,children:cr,success:mr,size:vr=Zr}=kt,[jr,Aa]=Et(vr,"circle");let{strokeWidth:ca}=kt;ca===void 0&&(ca=Math.max(Ln(jr),6));const bo={width:jr,height:Aa,fontSize:jr*.15+6},No=le.useMemo(()=>{if(Cr||Cr===0)return Cr;if(Wr==="dashboard")return 75},[Cr,Wr]),ho=qn||Wr==="dashboard"&&"bottom"||void 0,da=Object.prototype.toString.call(kt.strokeColor)==="[object Object]",ln=en({success:mr,strokeColor:kt.strokeColor}),ga=pe()(`${Jt}-inner`,{[`${Jt}-circle-gradient`]:da}),Lo=le.createElement(it,{percent:mn(kt),strokeWidth:ca,trailWidth:ca,strokeColor:ln,strokeLinecap:Qn,trailColor:Nn,prefixCls:Jt,gapDegree:No,gapPosition:ho});return le.createElement("div",{className:ga,style:bo},jr<=20?le.createElement(gt.Z,{title:cr},le.createElement("span",null,Lo)):le.createElement(le.Fragment,null,Lo,cr))},tr=function(kt,Jt){var Nn={};for(var Qn in kt)Object.prototype.hasOwnProperty.call(kt,Qn)&&Jt.indexOf(Qn)<0&&(Nn[Qn]=kt[Qn]);if(kt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var qn=0,Qn=Object.getOwnPropertySymbols(kt);qn{let Jt=[];return Object.keys(kt).forEach(Nn=>{const Qn=parseFloat(Nn.replace(/%/g,""));isNaN(Qn)||Jt.push({key:Qn,value:kt[Nn]})}),Jt=Jt.sort((Nn,Qn)=>Nn.key-Qn.key),Jt.map(Nn=>{let{key:Qn,value:qn}=Nn;return`${qn} ${Qn}%`}).join(", ")},Tn=(kt,Jt)=>{const{from:Nn=pt.presetPrimaryColors.blue,to:Qn=pt.presetPrimaryColors.blue,direction:qn=Jt==="rtl"?"to left":"to right"}=kt,Cr=tr(kt,["from","to","direction"]);if(Object.keys(Cr).length!==0){const Zr=xt(Cr);return{backgroundImage:`linear-gradient(${qn}, ${Zr})`}}return{backgroundImage:`linear-gradient(${qn}, ${Nn}, ${Qn})`}};var Ye=kt=>{const{prefixCls:Jt,direction:Nn,percent:Qn,size:qn,strokeWidth:Cr,strokeColor:Zr,strokeLinecap:Wr="round",children:cr,trailColor:mr=null,success:vr}=kt,jr=Zr&&typeof Zr!="string"?Tn(Zr,Nn):{backgroundColor:Zr},Aa=Wr==="square"||Wr==="butt"?0:void 0,ca={backgroundColor:mr||void 0,borderRadius:Aa},bo=qn!=null?qn:[-1,Cr||(qn==="small"?6:8)],[No,ho]=Et(bo,"line",{strokeWidth:Cr}),da=Object.assign({width:`${tt(Qn)}%`,height:ho,borderRadius:Aa},jr),ln=ut(kt),ga={width:`${tt(ln)}%`,height:ho,borderRadius:Aa,backgroundColor:vr==null?void 0:vr.strokeColor},Lo={width:No<0?"100%":No,height:ho};return le.createElement(le.Fragment,null,le.createElement("div",{className:`${Jt}-outer`,style:Lo},le.createElement("div",{className:`${Jt}-inner`,style:ca},le.createElement("div",{className:`${Jt}-bg`,style:da}),ln!==void 0?le.createElement("div",{className:`${Jt}-success-bg`,style:ga}):null)),cr)},Oe=kt=>{const{size:Jt,steps:Nn,percent:Qn=0,strokeWidth:qn=8,strokeColor:Cr,trailColor:Zr=null,prefixCls:Wr,children:cr}=kt,mr=Math.round(Nn*(Qn/100)),vr=Jt==="small"?2:14,jr=Jt!=null?Jt:[vr,qn],[Aa,ca]=Et(jr,"step",{steps:Nn,strokeWidth:qn}),bo=Aa/Nn,No=new Array(Nn);for(let ho=0;ho{const Jt=kt?"100%":"-100%";return new fe.Keyframes(`antProgress${kt?"RTL":"LTR"}Active`,{"0%":{transform:`translateX(${Jt}) scaleX(0)`,opacity:.1},"20%":{transform:`translateX(${Jt}) scaleX(0)`,opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}})},st=kt=>{const{componentCls:Jt,iconCls:Nn}=kt;return{[Jt]:Object.assign(Object.assign({},(0,me.Wf)(kt)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:kt.fontSize,marginInlineEnd:kt.marginXS,marginBottom:kt.marginXS},[`${Jt}-outer`]:{display:"inline-block",width:"100%"},[`&${Jt}-show-info`]:{[`${Jt}-outer`]:{marginInlineEnd:`calc(-2em - ${kt.marginXS}px)`,paddingInlineEnd:`calc(2em + ${kt.paddingXS}px)`}},[`${Jt}-inner`]:{position:"relative",display:"inline-block",width:"100%",overflow:"hidden",verticalAlign:"middle",backgroundColor:kt.remainingColor,borderRadius:kt.lineBorderRadius},[`${Jt}-inner:not(${Jt}-circle-gradient)`]:{[`${Jt}-circle-path`]:{stroke:kt.defaultColor}},[`${Jt}-success-bg, ${Jt}-bg`]:{position:"relative",backgroundColor:kt.defaultColor,borderRadius:kt.lineBorderRadius,transition:`all ${kt.motionDurationSlow} ${kt.motionEaseInOutCirc}`},[`${Jt}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:kt.colorSuccess},[`${Jt}-text`]:{display:"inline-block",width:"2em",marginInlineStart:kt.marginXS,color:kt.colorText,lineHeight:1,whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[Nn]:{fontSize:kt.fontSize}},[`&${Jt}-status-active`]:{[`${Jt}-bg::before`]:{position:"absolute",inset:0,backgroundColor:kt.colorBgContainer,borderRadius:kt.lineBorderRadius,opacity:0,animationName:ct(),animationDuration:kt.progressActiveMotionDuration,animationTimingFunction:kt.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${Jt}-rtl${Jt}-status-active`]:{[`${Jt}-bg::before`]:{animationName:ct(!0)}},[`&${Jt}-status-exception`]:{[`${Jt}-bg`]:{backgroundColor:kt.colorError},[`${Jt}-text`]:{color:kt.colorError}},[`&${Jt}-status-exception ${Jt}-inner:not(${Jt}-circle-gradient)`]:{[`${Jt}-circle-path`]:{stroke:kt.colorError}},[`&${Jt}-status-success`]:{[`${Jt}-bg`]:{backgroundColor:kt.colorSuccess},[`${Jt}-text`]:{color:kt.colorSuccess}},[`&${Jt}-status-success ${Jt}-inner:not(${Jt}-circle-gradient)`]:{[`${Jt}-circle-path`]:{stroke:kt.colorSuccess}}})}},an=kt=>{const{componentCls:Jt,iconCls:Nn}=kt;return{[Jt]:{[`${Jt}-circle-trail`]:{stroke:kt.remainingColor},[`&${Jt}-circle ${Jt}-inner`]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},[`&${Jt}-circle ${Jt}-text`]:{position:"absolute",insetBlockStart:"50%",insetInlineStart:0,width:"100%",margin:0,padding:0,color:kt.circleTextColor,fontSize:kt.circleTextFontSize,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[Nn]:{fontSize:`${kt.fontSize/kt.fontSizeSM}em`}},[`${Jt}-circle&-status-exception`]:{[`${Jt}-text`]:{color:kt.colorError}},[`${Jt}-circle&-status-success`]:{[`${Jt}-text`]:{color:kt.colorSuccess}}},[`${Jt}-inline-circle`]:{lineHeight:1,[`${Jt}-inner`]:{verticalAlign:"bottom"}}}},gn=kt=>{const{componentCls:Jt}=kt;return{[Jt]:{[`${Jt}-steps`]:{display:"inline-block","&-outer":{display:"flex",flexDirection:"row",alignItems:"center"},"&-item":{flexShrink:0,minWidth:kt.progressStepMinWidth,marginInlineEnd:kt.progressStepMarginInlineEnd,backgroundColor:kt.remainingColor,transition:`all ${kt.motionDurationSlow}`,"&-active":{backgroundColor:kt.defaultColor}}}}}},An=kt=>{const{componentCls:Jt,iconCls:Nn}=kt;return{[Jt]:{[`${Jt}-small&-line, ${Jt}-small&-line ${Jt}-text ${Nn}`]:{fontSize:kt.fontSizeSM}}}};var Wn=(0,Ue.Z)("Progress",kt=>{const Jt=kt.marginXXS/2,Nn=(0,qe.TS)(kt,{progressStepMarginInlineEnd:Jt,progressStepMinWidth:Jt,progressActiveMotionDuration:"2.4s"});return[st(Nn),an(Nn),gn(Nn),An(Nn)]},kt=>({circleTextColor:kt.colorText,defaultColor:kt.colorInfo,remainingColor:kt.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:"1em"})),Bt=function(kt,Jt){var Nn={};for(var Qn in kt)Object.prototype.hasOwnProperty.call(kt,Qn)&&Jt.indexOf(Qn)<0&&(Nn[Qn]=kt[Qn]);if(kt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var qn=0,Qn=Object.getOwnPropertySymbols(kt);qn{const{prefixCls:Nn,className:Qn,rootClassName:qn,steps:Cr,strokeColor:Zr,percent:Wr=0,size:cr="default",showInfo:mr=!0,type:vr="line",status:jr,format:Aa,style:ca}=kt,bo=Bt(kt,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style"]),No=le.useMemo(()=>{var On,vn;const Pr=ut(kt);return parseInt(Pr!==void 0?(On=Pr!=null?Pr:0)===null||On===void 0?void 0:On.toString():(vn=Wr!=null?Wr:0)===null||vn===void 0?void 0:vn.toString(),10)},[Wr,kt.success,kt.successPercent]),ho=le.useMemo(()=>!Wt.includes(jr)&&No>=100?"success":jr||"normal",[jr,No]),{getPrefixCls:da,direction:ln,progress:ga}=le.useContext(Le.E_),Lo=da("progress",Nn),[Bi,_a]=Wn(Lo),Po=le.useMemo(()=>{if(!mr)return null;const On=ut(kt);let vn;const Pr=Aa||(Ba=>`${Ba}%`),Vr=vr==="line";return Aa||ho!=="exception"&&ho!=="success"?vn=Pr(tt(Wr),tt(On)):ho==="exception"?vn=Vr?le.createElement(Je.Z,null):le.createElement(ze.Z,null):ho==="success"&&(vn=Vr?le.createElement(ye.Z,null):le.createElement(Ke.Z,null)),le.createElement("span",{className:`${Lo}-text`,title:typeof vn=="string"?vn:void 0},vn)},[mr,Wr,No,ho,vr,Lo,Aa]),Di=Array.isArray(Zr)?Zr[0]:Zr,Yi=typeof Zr=="string"||Array.isArray(Zr)?Zr:void 0;let ma;vr==="line"?ma=Cr?le.createElement(Oe,Object.assign({},kt,{strokeColor:Yi,prefixCls:Lo,steps:Cr}),Po):le.createElement(Ye,Object.assign({},kt,{strokeColor:Di,prefixCls:Lo,direction:ln}),Po):(vr==="circle"||vr==="dashboard")&&(ma=le.createElement(xn,Object.assign({},kt,{strokeColor:Di,prefixCls:Lo,progressStatus:ho}),Po));const En=pe()(Lo,`${Lo}-status-${ho}`,`${Lo}-${vr==="dashboard"&&"circle"||Cr&&"steps"||vr}`,{[`${Lo}-inline-circle`]:vr==="circle"&&Et(cr,"circle")[0]<=20,[`${Lo}-show-info`]:mr,[`${Lo}-${cr}`]:typeof cr=="string",[`${Lo}-rtl`]:ln==="rtl"},ga==null?void 0:ga.className,Qn,qn,_a);return Bi(le.createElement("div",Object.assign({ref:Jt,style:Object.assign(Object.assign({},ga==null?void 0:ga.style),ca),className:En,role:"progressbar","aria-valuenow":No},(0,ve.Z)(bo,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),ma))}),Un=yt},12604:function(Yt,Nt,de){"use strict";de.d(Nt,{Z:function(){return pt}});var le=de(87462),ye=de(67294),Ke={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"}}]},name:"star",theme:"filled"},Je=Ke,ze=de(74643),Re=function(ut,mn){return ye.createElement(ze.Z,(0,le.Z)({},ut,{ref:mn,icon:Je}))},pe=ye.forwardRef(Re),ve=de(94184),Le=de.n(ve),ge=de(4942),Ie=de(97685),Pe=de(45987),we=de(21770),se=de(15105),y=de(64217);function a(tt,ut){var mn=tt.disabled,en=tt.prefixCls,Et=tt.character,Cn=tt.characterRender,Ln=tt.index,Yn=tt.count,xn=tt.value,tr=tt.allowHalf,xt=tt.focused,Tn=tt.onHover,ir=tt.onClick,Ye=function(st){Tn(st,Ln)},cn=function(st){ir(st,Ln)},Oe=function(st){st.keyCode===se.Z.ENTER&&ir(st,Ln)},fe=Ln+1,me=new Set([en]);xn===0&&Ln===0&&xt?me.add("".concat(en,"-focused")):tr&&xn+.5>=fe&&xnLn?"true":"false","aria-posinset":Ln+1,"aria-setsize":Yn,tabIndex:mn?-1:0},ye.createElement("div",{className:"".concat(en,"-first")},Ue),ye.createElement("div",{className:"".concat(en,"-second")},Ue)));return Cn&&(qe=Cn(qe,tt)),qe}var b=ye.forwardRef(a);function E(){var tt=ye.useRef({});function ut(en){return tt.current[en]}function mn(en){return function(Et){tt.current[en]=Et}}return[ut,mn]}function x(tt){var ut=tt.pageXOffset,mn="scrollLeft";if(typeof ut!="number"){var en=tt.document;ut=en.documentElement[mn],typeof ut!="number"&&(ut=en.body[mn])}return ut}function z(tt){var ut,mn,en=tt.ownerDocument,Et=en.body,Cn=en&&en.documentElement,Ln=tt.getBoundingClientRect();return ut=Ln.left,mn=Ln.top,ut-=Cn.clientLeft||Et.clientLeft||0,mn-=Cn.clientTop||Et.clientTop||0,{left:ut,top:mn}}function ae(tt){var ut=z(tt),mn=tt.ownerDocument,en=mn.defaultView||mn.parentWindow;return ut.left+=x(en),ut.left}var ce=["prefixCls","className","defaultValue","value","count","allowHalf","allowClear","character","characterRender","disabled","direction","tabIndex","autoFocus","onHoverChange","onChange","onFocus","onBlur","onKeyDown","onMouseLeave"];function Ee(tt,ut){var mn,en=tt.prefixCls,Et=en===void 0?"rc-rate":en,Cn=tt.className,Ln=tt.defaultValue,Yn=tt.value,xn=tt.count,tr=xn===void 0?5:xn,xt=tt.allowHalf,Tn=xt===void 0?!1:xt,ir=tt.allowClear,Ye=ir===void 0?!0:ir,cn=tt.character,Oe=cn===void 0?"\u2605":cn,fe=tt.characterRender,me=tt.disabled,Ue=tt.direction,qe=Ue===void 0?"ltr":Ue,ct=tt.tabIndex,st=ct===void 0?0:ct,an=tt.autoFocus,gn=tt.onHoverChange,An=tt.onChange,Wn=tt.onFocus,Bt=tt.onBlur,Kt=tt.onKeyDown,Wt=tt.onMouseLeave,bn=(0,Pe.Z)(tt,ce),yt=E(),Un=(0,Ie.Z)(yt,2),kt=Un[0],Jt=Un[1],Nn=ye.useRef(null),Qn=function(){if(!me){var Vr;(Vr=Nn.current)===null||Vr===void 0||Vr.focus()}};ye.useImperativeHandle(ut,function(){return{focus:Qn,blur:function(){if(!me){var Vr;(Vr=Nn.current)===null||Vr===void 0||Vr.blur()}}}});var qn=(0,we.Z)(Ln||0,{value:Yn}),Cr=(0,Ie.Z)(qn,2),Zr=Cr[0],Wr=Cr[1],cr=(0,we.Z)(null),mr=(0,Ie.Z)(cr,2),vr=mr[0],jr=mr[1],Aa=function(Vr,Ba){var Da=qe==="rtl",Ia=Vr+1;if(Tn){var Yo=kt(Vr),Ho=ae(Yo),gi=Yo.clientWidth;(Da&&Ba-Ho>gi/2||!Da&&Ba-Ho0&&!Da||Ba===se.Z.RIGHT&&Ia>0&&Da?(Tn?Ia-=.5:Ia-=1,ca(Ia),Vr.preventDefault()):Ba===se.Z.LEFT&&Ia{const{componentCls:ut}=tt;return{[`${ut}-star`]:{position:"relative",display:"inline-block",color:"inherit",cursor:"pointer","&:not(:last-child)":{marginInlineEnd:tt.marginXS},"> div":{transition:`all ${tt.motionDurationMid}, outline 0s`,"&:hover":{transform:tt.starHoverScale},"&:focus":{outline:0},"&:focus-visible":{outline:`${tt.lineWidth}px dashed ${tt.starColor}`,transform:tt.starHoverScale}},"&-first, &-second":{color:tt.starBg,transition:`all ${tt.motionDurationMid}`,userSelect:"none",[tt.iconCls]:{verticalAlign:"middle"}},"&-first":{position:"absolute",top:0,insetInlineStart:0,width:"50%",height:"100%",overflow:"hidden",opacity:0},[`&-half ${ut}-star-first, &-half ${ut}-star-second`]:{opacity:1},[`&-half ${ut}-star-first, &-full ${ut}-star-second`]:{color:"inherit"}}}},Ot=tt=>({[`&-rtl${tt.componentCls}`]:{direction:"rtl"}}),lt=tt=>{const{componentCls:ut}=tt;return{[ut]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,ot.Wf)(tt)),{display:"inline-block",margin:0,padding:0,color:tt.starColor,fontSize:tt.starSize,lineHeight:"unset",listStyle:"none",outline:"none",[`&-disabled${ut} ${ut}-star`]:{cursor:"default","> div:hover":{transform:"scale(1)"}}}),Qe(tt)),{[`+ ${ut}-text`]:{display:"inline-block",marginInlineStart:tt.marginXS,fontSize:tt.fontSize}}),Ot(tt))}};var it=(0,Te.Z)("Rate",tt=>{const ut=(0,wt.TS)(tt,{});return[lt(ut)]},tt=>({starColor:tt.yellow6,starSize:tt.controlHeightLG*.5,starHoverScale:"scale(1.1)",starBg:tt.colorFillContent})),Ft=function(tt,ut){var mn={};for(var en in tt)Object.prototype.hasOwnProperty.call(tt,en)&&ut.indexOf(en)<0&&(mn[en]=tt[en]);if(tt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Et=0,en=Object.getOwnPropertySymbols(tt);Et{const{prefixCls:mn,className:en,rootClassName:Et,style:Cn,tooltips:Ln,character:Yn=ye.createElement(pe,null)}=tt,xn=Ft(tt,["prefixCls","className","rootClassName","style","tooltips","character"]),tr=(me,Ue)=>{let{index:qe}=Ue;return Ln?ye.createElement(Ze.Z,{title:Ln[qe]},me):me},{getPrefixCls:xt,direction:Tn,rate:ir}=ye.useContext(Ge.E_),Ye=xt("rate",mn),[cn,Oe]=it(Ye),fe=Object.assign(Object.assign({},ir==null?void 0:ir.style),Cn);return cn(ye.createElement(De,Object.assign({ref:ut,character:Yn,characterRender:tr},xn,{className:Le()(en,Et,Oe,ir==null?void 0:ir.className),style:fe,prefixCls:Ye,direction:Tn})))})},46303:function(Yt,Nt,de){"use strict";de.d(Nt,{Z:function(){return Oe}});var le=de(94184),ye=de.n(le),Ke=de(67294),Je=de(53124),ze=de(10366),pe=fe=>{const{prefixCls:me,className:Ue,style:qe,size:ct,shape:st}=fe,an=ye()({[`${me}-lg`]:ct==="large",[`${me}-sm`]:ct==="small"}),gn=ye()({[`${me}-circle`]:st==="circle",[`${me}-square`]:st==="square",[`${me}-round`]:st==="round"}),An=Ke.useMemo(()=>typeof ct=="number"?{width:ct,height:ct,lineHeight:`${ct}px`}:{},[ct]);return Ke.createElement("span",{className:ye()(me,an,gn,Ue),style:Object.assign(Object.assign({},An),qe)})},ve=de(45930),Le=de(67968),ge=de(45503);const Ie=new ve.Keyframes("ant-skeleton-loading",{"0%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),Pe=fe=>({height:fe,lineHeight:`${fe}px`}),we=fe=>Object.assign({width:fe},Pe(fe)),se=fe=>({background:fe.skeletonLoadingBackground,backgroundSize:"400% 100%",animationName:Ie,animationDuration:fe.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite"}),y=fe=>Object.assign({width:fe*5,minWidth:fe*5},Pe(fe)),a=fe=>{const{skeletonAvatarCls:me,gradientFromColor:Ue,controlHeight:qe,controlHeightLG:ct,controlHeightSM:st}=fe;return{[`${me}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:Ue},we(qe)),[`${me}${me}-circle`]:{borderRadius:"50%"},[`${me}${me}-lg`]:Object.assign({},we(ct)),[`${me}${me}-sm`]:Object.assign({},we(st))}},b=fe=>{const{controlHeight:me,borderRadiusSM:Ue,skeletonInputCls:qe,controlHeightLG:ct,controlHeightSM:st,gradientFromColor:an}=fe;return{[`${qe}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:an,borderRadius:Ue},y(me)),[`${qe}-lg`]:Object.assign({},y(ct)),[`${qe}-sm`]:Object.assign({},y(st))}},E=fe=>Object.assign({width:fe},Pe(fe)),x=fe=>{const{skeletonImageCls:me,imageSizeBase:Ue,gradientFromColor:qe,borderRadiusSM:ct}=fe;return{[`${me}`]:Object.assign(Object.assign({display:"flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",background:qe,borderRadius:ct},E(Ue*2)),{[`${me}-path`]:{fill:"#bfbfbf"},[`${me}-svg`]:Object.assign(Object.assign({},E(Ue)),{maxWidth:Ue*4,maxHeight:Ue*4}),[`${me}-svg${me}-svg-circle`]:{borderRadius:"50%"}}),[`${me}${me}-circle`]:{borderRadius:"50%"}}},z=(fe,me,Ue)=>{const{skeletonButtonCls:qe}=fe;return{[`${Ue}${qe}-circle`]:{width:me,minWidth:me,borderRadius:"50%"},[`${Ue}${qe}-round`]:{borderRadius:me}}},ae=fe=>Object.assign({width:fe*2,minWidth:fe*2},Pe(fe)),ce=fe=>{const{borderRadiusSM:me,skeletonButtonCls:Ue,controlHeight:qe,controlHeightLG:ct,controlHeightSM:st,gradientFromColor:an}=fe;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[`${Ue}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:an,borderRadius:me,width:qe*2,minWidth:qe*2},ae(qe))},z(fe,qe,Ue)),{[`${Ue}-lg`]:Object.assign({},ae(ct))}),z(fe,ct,`${Ue}-lg`)),{[`${Ue}-sm`]:Object.assign({},ae(st))}),z(fe,st,`${Ue}-sm`))},Ee=fe=>{const{componentCls:me,skeletonAvatarCls:Ue,skeletonTitleCls:qe,skeletonParagraphCls:ct,skeletonButtonCls:st,skeletonInputCls:an,skeletonImageCls:gn,controlHeight:An,controlHeightLG:Wn,controlHeightSM:Bt,gradientFromColor:Kt,padding:Wt,marginSM:bn,borderRadius:yt,titleHeight:Un,blockRadius:kt,paragraphLiHeight:Jt,controlHeightXS:Nn,paragraphMarginTop:Qn}=fe;return{[`${me}`]:{display:"table",width:"100%",[`${me}-header`]:{display:"table-cell",paddingInlineEnd:Wt,verticalAlign:"top",[`${Ue}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:Kt},we(An)),[`${Ue}-circle`]:{borderRadius:"50%"},[`${Ue}-lg`]:Object.assign({},we(Wn)),[`${Ue}-sm`]:Object.assign({},we(Bt))},[`${me}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[`${qe}`]:{width:"100%",height:Un,background:Kt,borderRadius:kt,[`+ ${ct}`]:{marginBlockStart:Bt}},[`${ct}`]:{padding:0,"> li":{width:"100%",height:Jt,listStyle:"none",background:Kt,borderRadius:kt,"+ li":{marginBlockStart:Nn}}},[`${ct}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${me}-content`]:{[`${qe}, ${ct} > li`]:{borderRadius:yt}}},[`${me}-with-avatar ${me}-content`]:{[`${qe}`]:{marginBlockStart:bn,[`+ ${ct}`]:{marginBlockStart:Qn}}},[`${me}${me}-element`]:Object.assign(Object.assign(Object.assign(Object.assign({display:"inline-block",width:"auto"},ce(fe)),a(fe)),b(fe)),x(fe)),[`${me}${me}-block`]:{width:"100%",[`${st}`]:{width:"100%"},[`${an}`]:{width:"100%"}},[`${me}${me}-active`]:{[` ${qe}, ${ct} > li, ${Ue}, ${st}, ${an}, ${gn} `]:Object.assign({},se(fe))}}};var be=(0,Le.Z)("Skeleton",fe=>{const{componentCls:me}=fe,Ue=(0,ge.TS)(fe,{skeletonAvatarCls:`${me}-avatar`,skeletonTitleCls:`${me}-title`,skeletonParagraphCls:`${me}-paragraph`,skeletonButtonCls:`${me}-button`,skeletonInputCls:`${me}-input`,skeletonImageCls:`${me}-image`,imageSizeBase:fe.controlHeight*1.5,borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${fe.gradientFromColor} 25%, ${fe.gradientToColor} 37%, ${fe.gradientFromColor} 63%)`,skeletonLoadingMotionDuration:"1.4s"});return[Ee(Ue)]},fe=>{const{colorFillContent:me,colorFill:Ue}=fe,qe=me,ct=Ue;return{color:qe,colorGradientEnd:ct,gradientFromColor:qe,gradientToColor:ct,titleHeight:fe.controlHeight/2,blockRadius:fe.borderRadiusSM,paragraphMarginTop:fe.marginLG+fe.marginXXS,paragraphLiHeight:fe.controlHeight/2}},{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]}),Ge=fe=>{const{prefixCls:me,className:Ue,rootClassName:qe,active:ct,shape:st="circle",size:an="default"}=fe,{getPrefixCls:gn}=Ke.useContext(Je.E_),An=gn("skeleton",me),[Wn,Bt]=be(An),Kt=(0,ze.Z)(fe,["prefixCls","className"]),Wt=ye()(An,`${An}-element`,{[`${An}-active`]:ct},Ue,qe,Bt);return Wn(Ke.createElement("div",{className:Wt},Ke.createElement(pe,Object.assign({prefixCls:`${An}-avatar`,shape:st,size:an},Kt))))},ot=fe=>{const{prefixCls:me,className:Ue,rootClassName:qe,active:ct,block:st=!1,size:an="default"}=fe,{getPrefixCls:gn}=Ke.useContext(Je.E_),An=gn("skeleton",me),[Wn,Bt]=be(An),Kt=(0,ze.Z)(fe,["prefixCls"]),Wt=ye()(An,`${An}-element`,{[`${An}-active`]:ct,[`${An}-block`]:st},Ue,qe,Bt);return Wn(Ke.createElement("div",{className:Wt},Ke.createElement(pe,Object.assign({prefixCls:`${An}-button`,size:an},Kt))))};const Te="M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z";var Qe=fe=>{const{prefixCls:me,className:Ue,rootClassName:qe,style:ct,active:st}=fe,{getPrefixCls:an}=Ke.useContext(Je.E_),gn=an("skeleton",me),[An,Wn]=be(gn),Bt=ye()(gn,`${gn}-element`,{[`${gn}-active`]:st},Ue,qe,Wn);return An(Ke.createElement("div",{className:Bt},Ke.createElement("div",{className:ye()(`${gn}-image`,Ue),style:ct},Ke.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${gn}-image-svg`},Ke.createElement("path",{d:Te,className:`${gn}-image-path`})))))},lt=fe=>{const{prefixCls:me,className:Ue,rootClassName:qe,active:ct,block:st,size:an="default"}=fe,{getPrefixCls:gn}=Ke.useContext(Je.E_),An=gn("skeleton",me),[Wn,Bt]=be(An),Kt=(0,ze.Z)(fe,["prefixCls"]),Wt=ye()(An,`${An}-element`,{[`${An}-active`]:ct,[`${An}-block`]:st},Ue,qe,Bt);return Wn(Ke.createElement("div",{className:Wt},Ke.createElement(pe,Object.assign({prefixCls:`${An}-input`,size:an},Kt))))},it=de(87462),Ft={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M888 792H200V168c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h752c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM288 604a64 64 0 10128 0 64 64 0 10-128 0zm118-224a48 48 0 1096 0 48 48 0 10-96 0zm158 228a96 96 0 10192 0 96 96 0 10-192 0zm148-314a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"dot-chart",theme:"outlined"},gt=Ft,pt=de(74643),tt=function(me,Ue){return Ke.createElement(pt.Z,(0,it.Z)({},me,{ref:Ue,icon:gt}))},ut=Ke.forwardRef(tt),en=fe=>{const{prefixCls:me,className:Ue,rootClassName:qe,style:ct,active:st,children:an}=fe,{getPrefixCls:gn}=Ke.useContext(Je.E_),An=gn("skeleton",me),[Wn,Bt]=be(An),Kt=ye()(An,`${An}-element`,{[`${An}-active`]:st},Bt,Ue,qe),Wt=an!=null?an:Ke.createElement(ut,null);return Wn(Ke.createElement("div",{className:Kt},Ke.createElement("div",{className:ye()(`${An}-image`,Ue),style:ct},Wt)))},Et=de(74902),Ln=fe=>{const me=gn=>{const{width:An,rows:Wn=2}=fe;if(Array.isArray(An))return An[gn];if(Wn-1===gn)return An},{prefixCls:Ue,className:qe,style:ct,rows:st}=fe,an=(0,Et.Z)(Array(st)).map((gn,An)=>Ke.createElement("li",{key:An,style:{width:me(An)}}));return Ke.createElement("ul",{className:ye()(Ue,qe),style:ct},an)},xn=fe=>{let{prefixCls:me,className:Ue,width:qe,style:ct}=fe;return Ke.createElement("h3",{className:ye()(me,Ue),style:Object.assign({width:qe},ct)})};function tr(fe){return fe&&typeof fe=="object"?fe:{}}function xt(fe,me){return fe&&!me?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function Tn(fe,me){return!fe&&me?{width:"38%"}:fe&&me?{width:"50%"}:{}}function ir(fe,me){const Ue={};return(!fe||!me)&&(Ue.width="61%"),!fe&&me?Ue.rows=3:Ue.rows=2,Ue}const Ye=fe=>{const{prefixCls:me,loading:Ue,className:qe,rootClassName:ct,style:st,children:an,avatar:gn=!1,title:An=!0,paragraph:Wn=!0,active:Bt,round:Kt}=fe,{getPrefixCls:Wt,direction:bn,skeleton:yt}=Ke.useContext(Je.E_),Un=Wt("skeleton",me),[kt,Jt]=be(Un);if(Ue||!("loading"in fe)){const Nn=!!gn,Qn=!!An,qn=!!Wn;let Cr;if(Nn){const cr=Object.assign(Object.assign({prefixCls:`${Un}-avatar`},xt(Qn,qn)),tr(gn));Cr=Ke.createElement("div",{className:`${Un}-header`},Ke.createElement(pe,Object.assign({},cr)))}let Zr;if(Qn||qn){let cr;if(Qn){const vr=Object.assign(Object.assign({prefixCls:`${Un}-title`},Tn(Nn,qn)),tr(An));cr=Ke.createElement(xn,Object.assign({},vr))}let mr;if(qn){const vr=Object.assign(Object.assign({prefixCls:`${Un}-paragraph`},ir(Nn,Qn)),tr(Wn));mr=Ke.createElement(Ln,Object.assign({},vr))}Zr=Ke.createElement("div",{className:`${Un}-content`},cr,mr)}const Wr=ye()(Un,{[`${Un}-with-avatar`]:Nn,[`${Un}-active`]:Bt,[`${Un}-rtl`]:bn==="rtl",[`${Un}-round`]:Kt},yt==null?void 0:yt.className,qe,ct,Jt);return kt(Ke.createElement("div",{className:Wr,style:Object.assign(Object.assign({},yt==null?void 0:yt.style),st)},Cr,Zr))}return typeof an!="undefined"?an:null};Ye.Button=ot,Ye.Avatar=Ge,Ye.Input=lt,Ye.Image=Qe,Ye.Node=en;var cn=Ye,Oe=cn},55054:function(Yt,Nt,de){"use strict";de.d(Nt,{default:function(){return be}});var le=de(67294),ye=de(57838),Ke=de(96159),Je=de(94184),ze=de.n(Je),Re=de(53124),pe=de(46303),Le=De=>{const{value:Ge,formatter:Ze,precision:ot,decimalSeparator:Te,groupSeparator:wt="",prefixCls:Qe}=De;let Ot;if(typeof Ze=="function")Ot=Ze(Ge);else{const lt=String(Ge),it=lt.match(/^(-?)(\d*)(\.(\d+))?$/);if(!it||lt==="-")Ot=lt;else{const Ft=it[1];let gt=it[2]||"0",pt=it[4]||"";gt=gt.replace(/\B(?=(\d{3})+(?!\d))/g,wt),typeof ot=="number"&&(pt=pt.padEnd(ot,"0").slice(0,ot>0?ot:0)),pt&&(pt=`${Te}${pt}`),Ot=[le.createElement("span",{key:"int",className:`${Qe}-content-value-int`},Ft,gt),pt&&le.createElement("span",{key:"decimal",className:`${Qe}-content-value-decimal`},pt)]}}return le.createElement("span",{className:`${Qe}-content-value`},Ot)},ge=de(14747),Ie=de(67968),Pe=de(45503);const we=De=>{const{componentCls:Ge,marginXXS:Ze,padding:ot,colorTextDescription:Te,titleFontSize:wt,colorTextHeading:Qe,contentFontSize:Ot,fontFamily:lt}=De;return{[`${Ge}`]:Object.assign(Object.assign({},(0,ge.Wf)(De)),{[`${Ge}-title`]:{marginBottom:Ze,color:Te,fontSize:wt},[`${Ge}-skeleton`]:{paddingTop:ot},[`${Ge}-content`]:{color:Qe,fontSize:Ot,fontFamily:lt,[`${Ge}-content-value`]:{display:"inline-block",direction:"ltr"},[`${Ge}-content-prefix, ${Ge}-content-suffix`]:{display:"inline-block"},[`${Ge}-content-prefix`]:{marginInlineEnd:Ze},[`${Ge}-content-suffix`]:{marginInlineStart:Ze}}})}};var se=(0,Ie.Z)("Statistic",De=>{const Ge=(0,Pe.TS)(De,{});return[we(Ge)]},De=>{const{fontSizeHeading3:Ge,fontSize:Ze}=De;return{titleFontSize:Ze,contentFontSize:Ge}}),a=De=>{const{prefixCls:Ge,className:Ze,rootClassName:ot,style:Te,valueStyle:wt,value:Qe=0,title:Ot,valueRender:lt,prefix:it,suffix:Ft,loading:gt=!1,onMouseEnter:pt,onMouseLeave:tt,decimalSeparator:ut=".",groupSeparator:mn=","}=De,{getPrefixCls:en,direction:Et,statistic:Cn}=le.useContext(Re.E_),Ln=en("statistic",Ge),[Yn,xn]=se(Ln),tr=le.createElement(Le,Object.assign({decimalSeparator:ut,groupSeparator:mn,prefixCls:Ln},De,{value:Qe})),xt=ze()(Ln,{[`${Ln}-rtl`]:Et==="rtl"},Cn==null?void 0:Cn.className,Ze,ot,xn);return Yn(le.createElement("div",{className:xt,style:Object.assign(Object.assign({},Cn==null?void 0:Cn.style),Te),onMouseEnter:pt,onMouseLeave:tt},Ot&&le.createElement("div",{className:`${Ln}-title`},Ot),le.createElement(pe.Z,{paragraph:!1,loading:gt,className:`${Ln}-skeleton`},le.createElement("div",{style:wt,className:`${Ln}-content`},it&&le.createElement("span",{className:`${Ln}-content-prefix`},it),lt?lt(tr):tr,Ft&&le.createElement("span",{className:`${Ln}-content-suffix`},Ft)))))};const b=[["Y",1e3*60*60*24*365],["M",1e3*60*60*24*30],["D",1e3*60*60*24],["H",1e3*60*60],["m",1e3*60],["s",1e3],["S",1]];function E(De,Ge){let Ze=De;const ot=/\[[^\]]*]/g,Te=(Ge.match(ot)||[]).map(lt=>lt.slice(1,-1)),wt=Ge.replace(ot,"[]"),Qe=b.reduce((lt,it)=>{let[Ft,gt]=it;if(lt.includes(Ft)){const pt=Math.floor(Ze/gt);return Ze-=pt*gt,lt.replace(new RegExp(`${Ft}+`,"g"),tt=>{const ut=tt.length;return pt.toString().padStart(ut,"0")})}return lt},wt);let Ot=0;return Qe.replace(ot,()=>{const lt=Te[Ot];return Ot+=1,lt})}function x(De,Ge){const{format:Ze=""}=Ge,ot=new Date(De).getTime(),Te=Date.now(),wt=Math.max(ot-Te,0);return E(wt,Ze)}const z=1e3/30;function ae(De){return new Date(De).getTime()}const ce=De=>{const{value:Ge,format:Ze="HH:mm:ss",onChange:ot,onFinish:Te}=De,wt=(0,ye.Z)(),Qe=le.useRef(null),Ot=()=>{Te==null||Te(),Qe.current&&(clearInterval(Qe.current),Qe.current=null)},lt=()=>{const gt=ae(Ge);gt>=Date.now()&&(Qe.current=setInterval(()=>{wt(),ot==null||ot(gt-Date.now()),gt(lt(),()=>{Qe.current&&(clearInterval(Qe.current),Qe.current=null)}),[Ge]);const it=(gt,pt)=>x(gt,Object.assign(Object.assign({},pt),{format:Ze})),Ft=gt=>(0,Ke.Tm)(gt,{title:void 0});return le.createElement(a,Object.assign({},De,{valueRender:Ft,formatter:it}))};var Ee=le.memo(ce);a.Countdown=Ee;var be=a},49867:function(Yt,Nt,de){"use strict";de.d(Nt,{N:function(){return le}});const le=ye=>({color:ye.colorLink,textDecoration:"none",outline:"none",cursor:"pointer",transition:`color ${ye.motionDurationSlow}`,"&:focus, &:hover":{color:ye.colorLinkHover},"&:active":{color:ye.colorLinkActive}})},9430:function(Yt,Nt,de){"use strict";de.d(Nt,{default:function(){return tu}});var le={},ye="rc-table-internal-hook",Ke=de(97685),Je=de(66680),ze=de(8410),Re=de(91881),pe=de(67294),ve=de(73935);function Le(He){var We=pe.createContext(void 0),at=function(Qt){var Ht=Qt.value,un=Qt.children,Gt=pe.useRef(Ht);Gt.current=Ht;var yn=pe.useState(function(){return{getValue:function(){return Gt.current},listeners:new Set}}),Mn=(0,Ke.Z)(yn,1),Jn=Mn[0];return(0,ze.Z)(function(){(0,ve.unstable_batchedUpdates)(function(){Jn.listeners.forEach(function(Hn){Hn(Ht)})})},[Ht]),pe.createElement(We.Provider,{value:Jn},un)};return{Context:We,Provider:at,defaultValue:He}}function ge(He,We){var at=(0,Je.Z)(typeof We=="function"?We:function(Hn){if(We===void 0)return Hn;if(!Array.isArray(We))return Hn[We];var xr={};return We.forEach(function(wr){xr[wr]=Hn[wr]}),xr}),mt=pe.useContext(He==null?void 0:He.Context),Qt=mt||{},Ht=Qt.listeners,un=Qt.getValue,Gt=pe.useRef();Gt.current=at(mt?un():He==null?void 0:He.defaultValue);var yn=pe.useState({}),Mn=(0,Ke.Z)(yn,2),Jn=Mn[1];return(0,ze.Z)(function(){if(!mt)return;function Hn(xr){var wr=at(xr);(0,Re.Z)(Gt.current,wr,!0)||Jn({})}return Ht.add(Hn),function(){Ht.delete(Hn)}},[mt]),Gt.current}var Ie=de(87462),Pe=de(42550);function we(){var He=pe.createContext(null);function We(){return pe.useContext(He)}function at(Qt,Ht){var un=(0,Pe.Yr)(Qt),Gt=function(Mn,Jn){var Hn=un?{ref:Jn}:{},xr=pe.useRef(0),wr=pe.useRef(Mn),Er=We();return Er!==null?pe.createElement(Qt,(0,Ie.Z)({},Mn,Hn)):((!Ht||Ht(wr.current,Mn))&&(xr.current+=1),wr.current=Mn,pe.createElement(He.Provider,{value:xr.current},pe.createElement(Qt,(0,Ie.Z)({},Mn,Hn))))};return un?pe.forwardRef(Gt):Gt}function mt(Qt,Ht){var un=(0,Pe.Yr)(Qt),Gt=function(Mn,Jn){var Hn=un?{ref:Jn}:{};return We(),pe.createElement(Qt,(0,Ie.Z)({},Mn,Hn))};return un?pe.memo(pe.forwardRef(Gt),Ht):pe.memo(Gt,Ht)}return{makeImmutable:at,responseImmutable:mt,useImmutableMark:We}}var se=we(),y=se.makeImmutable,a=se.responseImmutable,b=se.useImmutableMark,E=we(),x=E.makeImmutable,z=E.responseImmutable,ae=E.useImmutableMark,ce=Le(),Ee=ce;function be(He,We){var at=pe.useRef(0);at.current+=1;var mt=pe.useRef(He),Qt=[];Object.keys(He||{}).map(function(un){var Gt;(He==null?void 0:He[un])!==((Gt=mt.current)===null||Gt===void 0?void 0:Gt[un])&&Qt.push(un)}),mt.current=He;var Ht=pe.useRef([]);return Qt.length&&(Ht.current=Qt),pe.useDebugValue(at.current),pe.useDebugValue(Ht.current.join(", ")),We&&console.log("".concat(We,":"),at.current,Ht.current),at.current}var De=null,Ge=pe.memo(function(){var He=be();return pe.createElement("h1",null,"Render Times: ",He)});Ge.displayName="RenderBlock";var Ze=de(71002),ot=de(1413),Te=de(4942),wt=de(94184),Qe=de.n(wt);function Ot(He,We,at){var mt=pe.useRef({});return(!("value"in mt.current)||at(mt.current.condition,We))&&(mt.current.value=He(),mt.current.condition=We),mt.current.value}var lt={},it=[],Ft=function(We){it.push(We)};function gt(He,We){if(0)var at}function pt(He,We){if(0)var at}function tt(){lt={}}function ut(He,We,at){!We&&!lt[at]&&(He(!1,at),lt[at]=!0)}function mn(He,We){ut(gt,He,We)}function en(He,We){ut(pt,He,We)}mn.preMessage=Ft,mn.resetWarned=tt,mn.noteOnce=en;var Et=mn;function Cn(He,We){var at=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,mt=new Set;function Qt(Ht,un){var Gt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,yn=mt.has(Ht);if(Et(!yn,"Warning: There may be circular references"),yn)return!1;if(Ht===un)return!0;if(at&&Gt>1)return!1;mt.add(Ht);var Mn=Gt+1;if(Array.isArray(Ht)){if(!Array.isArray(un)||Ht.length!==un.length)return!1;for(var Jn=0;Jn=at}function me(He,We){return ge(Ee,function(at){var mt=fe(He,We||1,at.hoverStartRow,at.hoverEndRow);return[mt,at.onHover]})}var Ue=function(We){var at=We.ellipsis,mt=We.rowType,Qt=We.children,Ht,un=at===!0?{showTitle:!0}:at;return un&&(un.showTitle||mt==="header")&&(typeof Qt=="string"||typeof Qt=="number"?Ht=Qt.toString():pe.isValidElement(Qt)&&typeof Qt.props.children=="string"&&(Ht=Qt.props.children)),Ht};function qe(He){var We,at,mt,Qt,Ht,un,Gt,yn,Mn=He.component,Jn=He.children,Hn=He.ellipsis,xr=He.scope,wr=He.prefixCls,Er=He.className,Hr=He.align,qr=He.record,la=He.render,ta=He.dataIndex,sa=He.renderIndex,Za=He.shouldCellUpdate,Ra=He.index,Ua=He.rowType,to=He.colSpan,Qo=He.rowSpan,ba=He.fixLeft,Wa=He.fixRight,Fa=He.firstFixLeft,pa=He.lastFixLeft,Qa=He.firstFixRight,Co=He.lastFixRight,Zo=He.appendNode,jo=He.additionalProps,mo=jo===void 0?{}:jo,ti=He.isSticky,_o="".concat(wr,"-cell"),Qi=ge(Ee,["supportSticky","allColumnsFixedLeft"]),ci=Qi.supportSticky,ts=Qi.allColumnsFixedLeft,wi=Oe(qr,ta,sa,Jn,la,Za),Do=(0,Ke.Z)(wi,2),vs=Do[0],La=Do[1],_i={},Zi=typeof ba=="number"&&ci,Ps=typeof Wa=="number"&&ci;Zi&&(_i.position="sticky",_i.left=ba),Ps&&(_i.position="sticky",_i.right=Wa);var po=(We=(at=(mt=La==null?void 0:La.colSpan)!==null&&mt!==void 0?mt:mo.colSpan)!==null&&at!==void 0?at:to)!==null&&We!==void 0?We:1,uo=(Qt=(Ht=(un=La==null?void 0:La.rowSpan)!==null&&un!==void 0?un:mo.rowSpan)!==null&&Ht!==void 0?Ht:Qo)!==null&&Qt!==void 0?Qt:1,no=me(Ra,uo),Va=(0,Ke.Z)(no,2),Ci=Va[0],$a=Va[1],Oo=function(Bs){var AA;qr&&$a(Ra,Ra+uo-1),mo==null||(AA=mo.onMouseEnter)===null||AA===void 0||AA.call(mo,Bs)},si=function(Bs){var AA;qr&&$a(-1,-1),mo==null||(AA=mo.onMouseLeave)===null||AA===void 0||AA.call(mo,Bs)};if(po===0||uo===0)return null;var $o=(Gt=mo.title)!==null&&Gt!==void 0?Gt:Ue({rowType:Ua,ellipsis:Hn,children:vs}),Ns=Qe()(_o,Er,(yn={},(0,Te.Z)(yn,"".concat(_o,"-fix-left"),Zi&&ci),(0,Te.Z)(yn,"".concat(_o,"-fix-left-first"),Fa&&ci),(0,Te.Z)(yn,"".concat(_o,"-fix-left-last"),pa&&ci),(0,Te.Z)(yn,"".concat(_o,"-fix-left-all"),pa&&ts&&ci),(0,Te.Z)(yn,"".concat(_o,"-fix-right"),Ps&&ci),(0,Te.Z)(yn,"".concat(_o,"-fix-right-first"),Qa&&ci),(0,Te.Z)(yn,"".concat(_o,"-fix-right-last"),Co&&ci),(0,Te.Z)(yn,"".concat(_o,"-ellipsis"),Hn),(0,Te.Z)(yn,"".concat(_o,"-with-append"),Zo),(0,Te.Z)(yn,"".concat(_o,"-fix-sticky"),(Zi||Ps)&&ti&&ci),(0,Te.Z)(yn,"".concat(_o,"-row-hover"),!La&&Ci),yn),mo.className,La==null?void 0:La.className),Ys={};Hr&&(Ys.textAlign=Hr);var mA=(0,ot.Z)((0,ot.Z)((0,ot.Z)((0,ot.Z)({},_i),mo.style),Ys),La==null?void 0:La.style),Li=vs;return(0,Ze.Z)(Li)==="object"&&!Array.isArray(Li)&&!pe.isValidElement(Li)&&(Li=null),Hn&&(pa||Qa)&&(Li=pe.createElement("span",{className:"".concat(_o,"-content")},Li)),pe.createElement(Mn,(0,Ie.Z)({},La,mo,{className:Ns,style:mA,title:$o,scope:xr,onMouseEnter:Oo,onMouseLeave:si,colSpan:po!==1?po:null,rowSpan:uo!==1?uo:null}),Zo,Li)}var ct=pe.memo(qe);function st(He,We,at,mt,Qt,Ht){var un=at[He]||{},Gt=at[We]||{},yn,Mn;un.fixed==="left"?yn=mt.left[Qt==="rtl"?We:He]:Gt.fixed==="right"&&(Mn=mt.right[Qt==="rtl"?He:We]);var Jn=!1,Hn=!1,xr=!1,wr=!1,Er=at[We+1],Hr=at[He-1],qr=!(Ht!=null&&Ht.children);if(Qt==="rtl"){if(yn!==void 0){var la=Hr&&Hr.fixed==="left";wr=!la&&qr}else if(Mn!==void 0){var ta=Er&&Er.fixed==="right";xr=!ta&&qr}}else if(yn!==void 0){var sa=Er&&Er.fixed==="left";Jn=!sa&&qr}else if(Mn!==void 0){var Za=Hr&&Hr.fixed==="right";Hn=!Za&&qr}return{fixLeft:yn,fixRight:Mn,lastFixLeft:Jn,firstFixRight:Hn,lastFixRight:xr,firstFixLeft:wr,isSticky:mt.isSticky}}var an=pe.createContext({}),gn=an;function An(He){var We=He.className,at=He.index,mt=He.children,Qt=He.colSpan,Ht=Qt===void 0?1:Qt,un=He.rowSpan,Gt=He.align,yn=ge(Ee,["prefixCls","direction"]),Mn=yn.prefixCls,Jn=yn.direction,Hn=pe.useContext(gn),xr=Hn.scrollColumnIndex,wr=Hn.stickyOffsets,Er=Hn.flattenColumns,Hr=Hn.columns,qr=at+Ht-1,la=qr+1===xr?Ht+1:Ht,ta=st(at,at+la-1,Er,wr,Jn,Hr==null?void 0:Hr[at]);return pe.createElement(ct,(0,Ie.Z)({className:We,index:at,component:"td",prefixCls:Mn,record:null,dataIndex:null,align:Gt,colSpan:la,rowSpan:un,render:function(){return mt}},ta))}var Wn=de(45987),Bt=["children"];function Kt(He){var We=He.children,at=(0,Wn.Z)(He,Bt);return pe.createElement("tr",at,We)}function Wt(He){var We=He.children;return We}Wt.Row=Kt,Wt.Cell=An;var bn=Wt;function yt(He){var We=He.children,at=He.stickyOffsets,mt=He.flattenColumns,Qt=He.columns,Ht=ge(Ee,"prefixCls"),un=mt.length-1,Gt=mt[un],yn=pe.useMemo(function(){return{stickyOffsets:at,flattenColumns:mt,scrollColumnIndex:Gt!=null&&Gt.scrollbar?un:null,columns:Qt}},[Gt,mt,un,at,Qt]);return pe.createElement(gn.Provider,{value:yn},pe.createElement("tfoot",{className:"".concat(Ht,"-summary")},We))}var Un=z(yt),kt=bn;function Jt(He){var We=pe.useRef();We.current=He;var at=pe.useCallback(function(){for(var mt,Qt=arguments.length,Ht=new Array(Qt),un=0;un3&&arguments[3]!==void 0?arguments[3]:!1;return We.length&&mt&&at===void 0&&!get(He,We.slice(0,-1))?He:ho(He,We,at,mt)}function ln(He){return _typeof(He)==="object"&&He!==null&&Object.getPrototypeOf(He)===Object.prototype}function ga(He){return Array.isArray(He)?[]:{}}var Lo=typeof Reflect=="undefined"?Object.keys:Reflect.ownKeys;function Bi(){for(var He=arguments.length,We=new Array(He),at=0;at