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

219 lines
972 KiB

(self.webpackChunk=self.webpackChunk||[]).push([[337],{89489:function(ft,vt,ne){"use strict";ne.d(vt,{Z:function(){return De}});var z=ne(54476),ie=ne(59301),Pe={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"},Me=Pe,be=ne(7657),xe=function(Ae,Le){return ie.createElement(be.Z,(0,z.Z)({},Ae,{ref:Le,icon:Me}))},re=ie.forwardRef(xe),De=re},59477:function(ft,vt,ne){"use strict";ne.d(vt,{Z:function(){return De}});var z=ne(54476),ie=ne(59301),Pe={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"},Me=Pe,be=ne(7657),xe=function(Ae,Le){return ie.createElement(be.Z,(0,z.Z)({},Ae,{ref:Le,icon:Me}))},re=ie.forwardRef(xe),De=re},49198:function(ft,vt,ne){"use strict";ne.d(vt,{Z:function(){return De}});var z=ne(54476),ie=ne(59301),Pe={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"},Me=Pe,be=ne(7657),xe=function(Ae,Le){return ie.createElement(be.Z,(0,z.Z)({},Ae,{ref:Le,icon:Me}))},re=ie.forwardRef(xe),De=re},87169:function(ft,vt,ne){"use strict";ne.d(vt,{Z:function(){return De}});var z=ne(54476),ie=ne(59301),Pe={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"},Me=Pe,be=ne(7657),xe=function(Ae,Le){return ie.createElement(be.Z,(0,z.Z)({},Ae,{ref:Le,icon:Me}))},re=ie.forwardRef(xe),De=re},52671:function(ft,vt,ne){"use strict";ne.d(vt,{Z:function(){return De}});var z=ne(54476),ie=ne(59301),Pe={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"},Me=Pe,be=ne(7657),xe=function(Ae,Le){return ie.createElement(be.Z,(0,z.Z)({},Ae,{ref:Le,icon:Me}))},re=ie.forwardRef(xe),De=re},8657:function(ft,vt,ne){"use strict";ne.d(vt,{Z:function(){return De}});var z=ne(54476),ie=ne(59301),Pe={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"},Me=Pe,be=ne(7657),xe=function(Ae,Le){return ie.createElement(be.Z,(0,z.Z)({},Ae,{ref:Le,icon:Me}))},re=ie.forwardRef(xe),De=re},56082:function(ft,vt,ne){"use strict";ne.d(vt,{Z:function(){return De}});var z=ne(54476),ie=ne(59301),Pe={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"},Me=Pe,be=ne(7657),xe=function(Ae,Le){return ie.createElement(be.Z,(0,z.Z)({},Ae,{ref:Le,icon:Me}))},re=ie.forwardRef(xe),De=re},33853:function(ft,vt,ne){"use strict";ne.d(vt,{Z:function(){return De}});var z=ne(54476),ie=ne(59301),Pe={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"},Me=Pe,be=ne(7657),xe=function(Ae,Le){return ie.createElement(be.Z,(0,z.Z)({},Ae,{ref:Le,icon:Me}))},re=ie.forwardRef(xe),De=re},12893:function(ft,vt,ne){"use strict";ne.d(vt,{Z:function(){return De}});var z=ne(54476),ie=ne(59301),Pe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M696 480H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z"}},{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"}}]},name:"minus-circle",theme:"outlined"},Me=Pe,be=ne(7657),xe=function(Ae,Le){return ie.createElement(be.Z,(0,z.Z)({},Ae,{ref:Le,icon:Me}))},re=ie.forwardRef(xe),De=re},15075:function(ft,vt,ne){"use strict";ne.d(vt,{Z:function(){return De}});var z=ne(54476),ie=ne(59301),Pe={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"},Me=Pe,be=ne(7657),xe=function(Ae,Le){return ie.createElement(be.Z,(0,z.Z)({},Ae,{ref:Le,icon:Me}))},re=ie.forwardRef(xe),De=re},32134:function(ft,vt,ne){"use strict";ne.d(vt,{Z:function(){return De}});var z=ne(54476),ie=ne(59301),Pe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M696 480H544V328c0-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 8h152v152c0 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-8z"}},{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"}}]},name:"plus-circle",theme:"outlined"},Me=Pe,be=ne(7657),xe=function(Ae,Le){return ie.createElement(be.Z,(0,z.Z)({},Ae,{ref:Le,icon:Me}))},re=ie.forwardRef(xe),De=re},43531:function(ft,vt,ne){"use strict";ne.d(vt,{Z:function(){return De}});var z=ne(54476),ie=ne(59301),Pe={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"},Me=Pe,be=ne(7657),xe=function(Ae,Le){return ie.createElement(be.Z,(0,z.Z)({},Ae,{ref:Le,icon:Me}))},re=ie.forwardRef(xe),De=re},38819:function(ft,vt,ne){"use strict";ne.d(vt,{Z:function(){return De}});var z=ne(54476),ie=ne(59301),Pe={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"},Me=Pe,be=ne(7657),xe=function(Ae,Le){return ie.createElement(be.Z,(0,z.Z)({},Ae,{ref:Le,icon:Me}))},re=ie.forwardRef(xe),De=re},21697:function(ft,vt){"use strict";vt.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},69092:function(ft,vt){"use strict";vt.Z={wrap:"wrap___ilWvf",deleteIcon:"deleteIcon___JBDG8",keywordTag:"keywordTag___iieCb",questionTitleEditorWrap:"questionTitleEditorWrap___MHB5s",choiceListWrap:"choiceListWrap___jB8b1",choiceWrap:"choiceWrap___QFkTc",choiceIndex:"choiceIndex___Mr2YO",judgementIndex:"judgementIndex___fUVWK",setAnswerBtn:"setAnswerBtn___Whox5",activeAnswer:"activeAnswer___fGU6Y",activeJudgementAnswer:"activeJudgementAnswer___wJv8P",actionWrapper:"actionWrapper___ERQ7k",addIcon:"addIcon___L9TE0",inputBorder:"inputBorder___Q5tRE",placeholder:"placeholder___p9sFY",blankInputNumberWrapper:"blankInputNumberWrapper___uEHb0",addBtn:"addBtn___WR5ZI",blankIndex:"blankIndex___x9Pny",baseInputWrapper:"baseInputWrapper___eVsG7",collapseWrapper:"collapseWrapper___ZTysU",panelHeader:"panelHeader___QSN9g",open:"open___B6FU9",close:"close___QX19r",hide:"hide___mn25n"}},1198:function(ft,vt,ne){"use strict";var z=ne(59301),ie=Object.defineProperty,Pe=Object.getOwnPropertySymbols,Me=Object.prototype.hasOwnProperty,be=Object.prototype.propertyIsEnumerable,xe=(Ne,Ae,Le)=>Ae in Ne?ie(Ne,Ae,{enumerable:!0,configurable:!0,writable:!0,value:Le}):Ne[Ae]=Le,re=(Ne,Ae)=>{for(var Le in Ae||(Ae={}))Me.call(Ae,Le)&&xe(Ne,Le,Ae[Le]);if(Pe)for(var Le of Pe(Ae))be.call(Ae,Le)&&xe(Ne,Le,Ae[Le]);return Ne};const De=Ne=>React.createElement("svg",re({width:14,height:14,xmlns:"http://www.w3.org/2000/svg"},Ne),React.createElement("title",null,"\u7F16\u7EC4 18"),React.createElement("g",{fill:"none",fillRule:"evenodd"},React.createElement("circle",{fill:"#FCB041",cx:7,cy:7,r:7}),React.createElement("path",{d:"M7.531 9.638a.616.616 0 1 1-1.231 0v-.02a.616.616 0 1 1 1.231 0v.02Zm0-2.25a.616.616 0 1 1-1.231 0V4.117a.616.616 0 1 1 1.231 0v3.273Z",fill:"#FFF",fillRule:"nonzero"})));vt.Z="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48Y2lyY2xlIGZpbGw9IiNGQ0IwNDEiIGN4PSI3IiBjeT0iNyIgcj0iNyIvPjxwYXRoIGQ9Ik03LjUzMSA5LjYzOGEuNjE2LjYxNiAwIDEgMS0xLjIzMSAwdi0uMDJhLjYxNi42MTYgMCAxIDEgMS4yMzEgMHYuMDJabTAtMi4yNWEuNjE2LjYxNiAwIDEgMS0xLjIzMSAwVjQuMTE3YS42MTYuNjE2IDAgMSAxIDEuMjMxIDB2My4yNzNaIiBmaWxsPSIjRkZGIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L2c+PC9zdmc+"},20397:function(){"use strict";function ft(oe,E,a,b){a===void 0&&(a=0),b===void 0&&(b=1/0),this._name=oe,this._defaultValue=E,this._minimum=a,this._maximum=b}Object.defineProperty(ft.prototype,"name",{get:function(){return this._name},set:function(oe){if(typeof oe!="string"||oe==="")throw new Error("Shape name must be a valid string.");this._name=oe}}),Object.defineProperty(ft.prototype,"defaultValue",{get:function(){return this._defaultValue},set:function(oe){if(typeof oe!="number"||isNaN(oe))throw new Error("The default value must be a real number, not: "+oe);this._defaultValue=oe}}),Object.defineProperty(ft.prototype,"minimum",{get:function(){return this._minimum},set:function(oe){if(typeof oe!="number"||isNaN(oe))throw new Error("Minimum must be a real number, not: "+oe);this._minimum=oe}}),Object.defineProperty(ft.prototype,"maximum",{get:function(){return this._maximum},set:function(oe){if(typeof oe!="number"||isNaN(oe))throw new Error("Maximum must be a real number, not: "+oe);this._maximum=oe}}),go.Shape._FigureParameters={},go.Shape.getFigureParameter=function(oe,E){var a=go.Shape._FigureParameters[oe];return a?a[E]:null},go.Shape.setFigureParameter=function(oe,E,a){if(!(a instanceof ft))throw new Error("Third argument to Shape.setFigureParameter is not FigureParameter: "+a);if(a.defaultValue<a.minimum||a.defaultValue>a.maximum)throw new Error("defaultValue must be between minimum and maximum, not: "+a.defaultValue);var b=go.Shape._FigureParameters[oe];b||(b=[],go.Shape._FigureParameters[oe]=b),b[E]=a};var vt=[];function ne(oe,E){var a=vt.pop();return a===void 0?new go.Point(oe,E):(a.x=oe,a.y=E,a)}function z(){var oe=vt.pop();return oe===void 0?new go.Point:oe}function ie(oe){vt.push(oe)}function Pe(oe,E,a,b,y,x,ee,te,ae){ae||(ae=new go.Point);var ue=oe-a,de=y-ee,me=NaN,Be=NaN;if(ue===0)if(de===0)oe===a&&(me=oe,Be=E);else{var ve=(x-te)/de,Fe=x-ve*y;me=oe,Be=ve*me+Fe}else if(de===0){var ge=(E-b)/ue,Je=E-ge*oe;me=y,Be=ge*me+Je}else{var ge=(E-b)/ue,ve=(x-te)/de,Je=E-ge*oe,Fe=x-ve*y;me=(Fe-Je)/(ge-ve),Be=ge*me+Je}return ae.x=me,ae.y=Be,ae}function Me(oe,E,a,b,y,x,ee,te,ae,ue,de,me,Be,ve){var Fe=1-ae,ge=ae,Je=oe*Fe+a*ge,Ie=E*Fe+b*ge,Ue=a*Fe+y*ge,ze=b*Fe+x*ge,Ke=y*Fe+ee*ge,lt=x*Fe+te*ge,St=Je*Fe+Ue*ge,ot=Ie*Fe+ze*ge,Bt=Ue*Fe+Ke*ge,Qe=ze*Fe+lt*ge,yt=St*Fe+Bt*ge,Ft=ot*Fe+Qe*ge;ue.x=Je,ue.y=Ie,de.x=St,de.y=ot,me.x=yt,me.y=Ft,Be.x=Bt,Be.y=Qe,ve.x=Ke,ve.y=lt}var be=new go.Spot(.156,.156),xe=new go.Spot(.844,.844),re=4*((Math.sqrt(2)-1)/3);go.Shape.setFigureParameter("RoundedRectangle",0,new ft("CornerRounding",5)),go.Shape.defineFigureGenerator("RoundedRectangle",function(oe,E,a){var b=oe?oe.parameter1:NaN;(isNaN(b)||b<0)&&(b=5),b=Math.min(b,E/3),b=Math.min(b,a/3);var y=b*re,x=new go.Geometry().add(new go.PathFigure(b,0,!0).add(new go.PathSegment(go.PathSegment.Line,E-b,0)).add(new go.PathSegment(go.PathSegment.Bezier,E,b,E-y,0,E,y)).add(new go.PathSegment(go.PathSegment.Line,E,a-b)).add(new go.PathSegment(go.PathSegment.Bezier,E-b,a,E,a-y,E-y,a)).add(new go.PathSegment(go.PathSegment.Line,b,a)).add(new go.PathSegment(go.PathSegment.Bezier,0,a-b,y,a,0,a-y)).add(new go.PathSegment(go.PathSegment.Line,0,b)).add(new go.PathSegment(go.PathSegment.Bezier,b,0,0,y,y,0).close()));return y>1&&(x.spot1=new go.Spot(0,0,y,y),x.spot2=new go.Spot(1,1,-y,-y)),x}),go.Shape.defineFigureGenerator("Border","RoundedRectangle"),go.Shape.defineFigureGenerator("TriangleRight",function(oe,E,a){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())).setSpots(0,.25,.5,.75)}),go.Shape.defineFigureGenerator("TriangleDown",function(oe,E,a){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,.5*E,a).close())).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("TriangleLeft",function(oe,E,a){return new go.Geometry().add(new go.PathFigure(E,a).add(new go.PathSegment(go.PathSegment.Line,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,E,0).close())).setSpots(.5,.25,1,.75)}),go.Shape.defineFigureGenerator("TriangleUp",function(oe,E,a){return new go.Geometry().add(new go.PathFigure(E,a).add(new go.PathSegment(go.PathSegment.Line,0,a)).add(new go.PathSegment(go.PathSegment.Line,.5*E,0).close())).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("Triangle","TriangleUp"),go.Shape.defineFigureGenerator("Diamond",function(oe,E,a){return new go.Geometry().add(new go.PathFigure(.5*E,0).add(new go.PathSegment(go.PathSegment.Line,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.5*E,a)).add(new go.PathSegment(go.PathSegment.Line,E,.5*a).close())).setSpots(.25,.25,.75,.75)}),go.Shape.defineFigureGenerator("LineH",function(oe,E,a){var b=new go.Geometry(go.Geometry.Line);return b.startX=0,b.startY=a/2,b.endX=E,b.endY=a/2,b}),go.Shape.defineFigureGenerator("LineV",function(oe,E,a){var b=new go.Geometry(go.Geometry.Line);return b.startX=E/2,b.startY=0,b.endX=E/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(oe,E,a){return new go.Geometry().add(new go.PathFigure(0,a/2,!1).add(new go.PathSegment(go.PathSegment.Line,E,a/2)).add(new go.PathSegment(go.PathSegment.Move,E/2,0)).add(new go.PathSegment(go.PathSegment.Line,E/2,a)))}),go.Shape.defineFigureGenerator("XLine",function(oe,E,a){return new go.Geometry().add(new go.PathFigure(0,a,!1).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Move,0,0)).add(new go.PathSegment(go.PathSegment.Line,E,a)))}),go.Shape.defineFigureGenerator("LineRight",function(oe,E,a){return new go.Geometry().add(new go.PathFigure(.25*E,0,!1).add(new go.PathSegment(go.PathSegment.Line,.75*E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.25*E,a)))}),go.Shape.defineFigureGenerator("LineDown",function(oe,E,a){return new go.Geometry().add(new go.PathFigure(0,.25*a,!1).add(new go.PathSegment(go.PathSegment.Line,.5*E,.75*a)).add(new go.PathSegment(go.PathSegment.Line,E,.25*a)))}),go.Shape.defineFigureGenerator("LineLeft",function(oe,E,a){return new go.Geometry().add(new go.PathFigure(.75*E,0,!1).add(new go.PathSegment(go.PathSegment.Line,.25*E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.75*E,a)))}),go.Shape.defineFigureGenerator("LineUp",function(oe,E,a){return new go.Geometry().add(new go.PathFigure(0,.75*a,!1).add(new go.PathSegment(go.PathSegment.Line,.5*E,.25*a)).add(new go.PathSegment(go.PathSegment.Line,E,.75*a)))}),go.Shape.defineFigureGenerator("AsteriskLine",function(oe,E,a){var b=.2/Math.SQRT2;return new go.Geometry().add(new go.PathFigure(b*E,(1-b)*a,!1).add(new go.PathSegment(go.PathSegment.Line,(1-b)*E,b*a)).add(new go.PathSegment(go.PathSegment.Move,b*E,b*a)).add(new go.PathSegment(go.PathSegment.Line,(1-b)*E,(1-b)*a)).add(new go.PathSegment(go.PathSegment.Move,0,a/2)).add(new go.PathSegment(go.PathSegment.Line,E,a/2)).add(new go.PathSegment(go.PathSegment.Move,E/2,0)).add(new go.PathSegment(go.PathSegment.Line,E/2,a)))}),go.Shape.defineFigureGenerator("CircleLine",function(oe,E,a){var b=E/2,y=new go.Geometry().add(new go.PathFigure(E,E/2,!1).add(new go.PathSegment(go.PathSegment.Arc,0,360,b,b,b,b).close()));return y.spot1=be,y.spot2=xe,y.defaultStretch=go.GraphObject.Uniform,y}),go.Shape.defineFigureGenerator("Line1",function(oe,E,a){var b=new go.Geometry(go.Geometry.Line);return b.startX=0,b.startY=0,b.endX=E,b.endY=a,b}),go.Shape.defineFigureGenerator("Line2",function(oe,E,a){var b=new go.Geometry(go.Geometry.Line);return b.startX=E,b.startY=0,b.endX=0,b.endY=a,b}),go.Shape.defineFigureGenerator("Curve1",function(oe,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,E,a,re*E,0,E,(1-re)*a)))}),go.Shape.defineFigureGenerator("Curve2",function(oe,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,E,a,0,re*a,(1-re)*E,a)))}),go.Shape.defineFigureGenerator("Curve3",function(oe,E,a){return new go.Geometry().add(new go.PathFigure(E,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,a,E,re*a,re*E,a)))}),go.Shape.defineFigureGenerator("Curve4",function(oe,E,a){return new go.Geometry().add(new go.PathFigure(E,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,a,(1-re)*E,0,0,(1-re)*a)))}),go.Shape.defineFigureGenerator("TriangleDownLeft",function(oe,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())).setSpots(0,.5,.5,1)}),go.Shape.defineFigureGenerator("TriangleDownRight",function(oe,E,a){return new go.Geometry().add(new go.PathFigure(E,0,!0).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())).setSpots(.5,.5,1,1)}),go.Shape.defineFigureGenerator("TriangleUpLeft",function(oe,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())).setSpots(0,0,.5,.5)}),go.Shape.defineFigureGenerator("TriangleUpRight",function(oe,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E,a).close())).setSpots(.5,0,1,.5)}),go.Shape.defineFigureGenerator("RightTriangle","TriangleDownLeft"),go.Shape.setFigureParameter("Parallelogram1",0,new ft("Indent",.1,-.99,.99)),go.Shape.defineFigureGenerator("Parallelogram1",function(oe,E,a){var b=oe?oe.parameter1:NaN;isNaN(b)?b=.1:b<-1?b=-1:b>1&&(b=1);var y=Math.abs(b)*E;if(b===0){var x=new go.Geometry(go.Geometry.Rectangle);return x.startX=0,x.startY=0,x.endX=E,x.endY=a,x}else{var x=new go.Geometry;return b>0?x.add(new go.PathFigure(y,0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E-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,E-y,0)).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,y,a).close())),y<E/2&&x.setSpots(y/E,0,(E-y)/E,1),x}}),go.Shape.defineFigureGenerator("Parallelogram","Parallelogram1"),go.Shape.setFigureParameter("Parallelogram2",0,new ft("Indent",10,-1/0,1/0)),go.Shape.defineFigureGenerator("Parallelogram2",function(oe,E,a){var b=oe?oe.parameter1:NaN;isNaN(b)?b=10:b<-E?b=-E:b>E&&(b=E);var y=Math.abs(b);if(b===0){var x=new go.Geometry(go.Geometry.Rectangle);return x.startX=0,x.startY=0,x.endX=E,x.endY=a,x}else{var x=new go.Geometry;return b>0?x.add(new go.PathFigure(y,0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E-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,E-y,0)).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,y,a).close())),y<E/2&&x.setSpots(y/E,0,(E-y)/E,1),x}}),go.Shape.setFigureParameter("Trapezoid1",0,new ft("Indent",.2,-.99,.99)),go.Shape.defineFigureGenerator("Trapezoid1",function(oe,E,a){var b=oe?oe.parameter1:NaN;isNaN(b)?b=.2:b<.5?b=-.5:b>.5&&(b=.5);var y=Math.abs(b)*E;if(b===0){var x=new go.Geometry(go.Geometry.Rectangle);return x.startX=0,x.startY=0,x.endX=E,x.endY=a,x}else{var x=new go.Geometry;return b>0?x.add(new go.PathFigure(y,0).add(new go.PathSegment(go.PathSegment.Line,E-y,0)).add(new go.PathSegment(go.PathSegment.Line,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,E,0)).add(new go.PathSegment(go.PathSegment.Line,E-y,a)).add(new go.PathSegment(go.PathSegment.Line,y,a).close())),y<E/2&&x.setSpots(y/E,0,(E-y)/E,1),x}}),go.Shape.defineFigureGenerator("Trapezoid","Trapezoid1"),go.Shape.setFigureParameter("Trapezoid2",0,new ft("Indent",20,-1/0,1/0)),go.Shape.defineFigureGenerator("Trapezoid2",function(oe,E,a){var b=oe?oe.parameter1:NaN;isNaN(b)?b=20:b<-E?b=-E/2:b>E&&(b=E/2);var y=Math.abs(b);if(b===0){var x=new go.Geometry(go.Geometry.Rectangle);return x.startX=0,x.startY=0,x.endX=E,x.endY=a,x}else{var x=new go.Geometry;return b>0?x.add(new go.PathFigure(y,0).add(new go.PathSegment(go.PathSegment.Line,E-y,0)).add(new go.PathSegment(go.PathSegment.Line,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,E,0)).add(new go.PathSegment(go.PathSegment.Line,E-y,a)).add(new go.PathSegment(go.PathSegment.Line,y,a).close())),y<E/2&&x.setSpots(y/E,0,(E-y)/E,1),x}}),go.Shape.setFigureParameter("ManualOperation",0,new ft("Indent",10,-1/0,1/0)),go.Shape.defineFigureGenerator("ManualOperation",function(oe,E,a){var b=oe?oe.parameter1:NaN;isNaN(b)?b=10:b<-E?b=-E/2:b>E&&(b=E/2);var y=Math.abs(b);if(b===0){var x=new go.Geometry(go.Geometry.Rectangle);return x.startX=0,x.startY=0,x.endX=E,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,E,0)).add(new go.PathSegment(go.PathSegment.Line,E-y,a)).add(new go.PathSegment(go.PathSegment.Line,y,a).close())):x.add(new go.PathFigure(y,0).add(new go.PathSegment(go.PathSegment.Line,E-y,0)).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())),y<E/2&&x.setSpots(y/E,0,(E-y)/E,1),x}});var De=[];function Ne(){var oe=De.pop();return oe===void 0?[]:oe}function Ae(oe){oe.length=0,De.push(oe)}function Le(oe){for(var E=Ne(),a=.5,b=.5,y=Math.PI*1.5,x=0,ee=0;ee<oe;ee++)x=2*Math.PI/oe*ee+y,E[ee]=new go.Point(b+a*Math.cos(x),b+a*Math.sin(x));return E.push(E[0]),E}function je(oe){var E=Ee(oe),a=Ne();a[0]=E[0];for(var b=1,y=1;b<E.length;b+=2,y+=3)a[y]=E[b],a[y+1]=E[b],a[y+2]=E[b+1];return Ae(E),a}function Ee(oe){for(var E=Le(oe),a=Ne(),b=Math.floor(E.length/2),y=E.length-1,x=oe%2===0?2:1,ee=0;ee<y;ee++){var te=E[ee],ae=E[ee+1],ue=E[(b+ee-1)%y],de=E[(b+ee+x)%y];a[ee*2]=te,a[ee*2+1]=Pe(te.x,te.y,ue.x,ue.y,ae.x,ae.y,de.x,de.y,new go.Point)}return a[a.length]=a[0],Ae(E),a}go.Shape.defineFigureGenerator("Pentagon",function(oe,E,a){var b=Le(5),y=new go.Geometry,x=new go.PathFigure(b[0].x*E,b[0].y*a,!0);y.add(x);for(var ee=1;ee<5;ee++)x.add(new go.PathSegment(go.PathSegment.Line,b[ee].x*E,b[ee].y*a));return x.add(new go.PathSegment(go.PathSegment.Line,b[0].x*E,b[0].y*a).close()),Ae(b),y.spot1=new go.Spot(.2,.22),y.spot2=new go.Spot(.8,.9),y}),go.Shape.defineFigureGenerator("Hexagon",function(oe,E,a){var b=Le(6),y=new go.Geometry,x=new go.PathFigure(b[0].x*E,b[0].y*a,!0);y.add(x);for(var ee=1;ee<6;ee++)x.add(new go.PathSegment(go.PathSegment.Line,b[ee].x*E,b[ee].y*a));return x.add(new go.PathSegment(go.PathSegment.Line,b[0].x*E,b[0].y*a).close()),Ae(b),y.spot1=new go.Spot(.07,.25),y.spot2=new go.Spot(.93,.75),y}),go.Shape.defineFigureGenerator("Heptagon",function(oe,E,a){var b=Le(7),y=new go.Geometry,x=new go.PathFigure(b[0].x*E,b[0].y*a,!0);y.add(x);for(var ee=1;ee<7;ee++)x.add(new go.PathSegment(go.PathSegment.Line,b[ee].x*E,b[ee].y*a));return x.add(new go.PathSegment(go.PathSegment.Line,b[0].x*E,b[0].y*a).close()),Ae(b),y.spot1=new go.Spot(.2,.15),y.spot2=new go.Spot(.8,.85),y}),go.Shape.defineFigureGenerator("Octagon",function(oe,E,a){var b=Le(8),y=new go.Geometry,x=new go.PathFigure(b[0].x*E,b[0].y*a,!0);y.add(x);for(var ee=1;ee<8;ee++)x.add(new go.PathSegment(go.PathSegment.Line,b[ee].x*E,b[ee].y*a));return x.add(new go.PathSegment(go.PathSegment.Line,b[0].x*E,b[0].y*a).close()),Ae(b),y.spot1=new go.Spot(.15,.15),y.spot2=new go.Spot(.85,.85),y}),go.Shape.defineFigureGenerator("Nonagon",function(oe,E,a){var b=Le(9),y=new go.Geometry,x=new go.PathFigure(b[0].x*E,b[0].y*a,!0);y.add(x);for(var ee=1;ee<9;ee++)x.add(new go.PathSegment(go.PathSegment.Line,b[ee].x*E,b[ee].y*a));return x.add(new go.PathSegment(go.PathSegment.Line,b[0].x*E,b[0].y*a).close()),Ae(b),y.spot1=new go.Spot(.17,.13),y.spot2=new go.Spot(.82,.82),y}),go.Shape.defineFigureGenerator("Decagon",function(oe,E,a){var b=Le(10),y=new go.Geometry,x=new go.PathFigure(b[0].x*E,b[0].y*a,!0);y.add(x);for(var ee=1;ee<10;ee++)x.add(new go.PathSegment(go.PathSegment.Line,b[ee].x*E,b[ee].y*a));return x.add(new go.PathSegment(go.PathSegment.Line,b[0].x*E,b[0].y*a).close()),Ae(b),y.spot1=new go.Spot(.16,.16),y.spot2=new go.Spot(.84,.84),y}),go.Shape.defineFigureGenerator("Dodecagon",function(oe,E,a){var b=Le(12),y=new go.Geometry,x=new go.PathFigure(b[0].x*E,b[0].y*a,!0);y.add(x);for(var ee=1;ee<12;ee++)x.add(new go.PathSegment(go.PathSegment.Line,b[ee].x*E,b[ee].y*a));return x.add(new go.PathSegment(go.PathSegment.Line,b[0].x*E,b[0].y*a).close()),Ae(b),y.spot1=new go.Spot(.16,.16),y.spot2=new go.Spot(.84,.84),y}),go.Shape.defineFigureGenerator("FivePointedStar",function(oe,E,a){var b=Ee(5),y=new go.Geometry,x=new go.PathFigure(b[0].x*E,b[0].y*a,!0);y.add(x);for(var ee=1;ee<10;ee++)x.add(new go.PathSegment(go.PathSegment.Line,b[ee].x*E,b[ee].y*a));return x.add(new go.PathSegment(go.PathSegment.Line,b[0].x*E,b[0].y*a).close()),Ae(b),y.spot1=new go.Spot(.266,.333),y.spot2=new go.Spot(.733,.733),y}),go.Shape.defineFigureGenerator("SixPointedStar",function(oe,E,a){var b=Ee(6),y=new go.Geometry,x=new go.PathFigure(b[0].x*E,b[0].y*a,!0);y.add(x);for(var ee=1;ee<12;ee++)x.add(new go.PathSegment(go.PathSegment.Line,b[ee].x*E,b[ee].y*a));return x.add(new go.PathSegment(go.PathSegment.Line,b[0].x*E,b[0].y*a).close()),Ae(b),y.spot1=new go.Spot(.17,.25),y.spot2=new go.Spot(.83,.75),y}),go.Shape.defineFigureGenerator("SevenPointedStar",function(oe,E,a){var b=Ee(7),y=new go.Geometry,x=new go.PathFigure(b[0].x*E,b[0].y*a,!0);y.add(x);for(var ee=1;ee<14;ee++)x.add(new go.PathSegment(go.PathSegment.Line,b[ee].x*E,b[ee].y*a));return x.add(new go.PathSegment(go.PathSegment.Line,b[0].x*E,b[0].y*a).close()),Ae(b),y.spot1=new go.Spot(.222,.277),y.spot2=new go.Spot(.777,.666),y}),go.Shape.defineFigureGenerator("EightPointedStar",function(oe,E,a){var b=Ee(8),y=new go.Geometry,x=new go.PathFigure(b[0].x*E,b[0].y*a,!0);y.add(x);for(var ee=1;ee<16;ee++)x.add(new go.PathSegment(go.PathSegment.Line,b[ee].x*E,b[ee].y*a));return x.add(new go.PathSegment(go.PathSegment.Line,b[0].x*E,b[0].y*a).close()),Ae(b),y.spot1=new go.Spot(.25,.25),y.spot2=new go.Spot(.75,.75),y}),go.Shape.defineFigureGenerator("NinePointedStar",function(oe,E,a){var b=Ee(9),y=new go.Geometry,x=new go.PathFigure(b[0].x*E,b[0].y*a,!0);y.add(x);for(var ee=1;ee<18;ee++)x.add(new go.PathSegment(go.PathSegment.Line,b[ee].x*E,b[ee].y*a));return x.add(new go.PathSegment(go.PathSegment.Line,b[0].x*E,b[0].y*a).close()),Ae(b),y.spot1=new go.Spot(.222,.277),y.spot2=new go.Spot(.777,.666),y}),go.Shape.defineFigureGenerator("TenPointedStar",function(oe,E,a){var b=Ee(10),y=new go.Geometry,x=new go.PathFigure(b[0].x*E,b[0].y*a,!0);y.add(x);for(var ee=1;ee<20;ee++)x.add(new go.PathSegment(go.PathSegment.Line,b[ee].x*E,b[ee].y*a));return x.add(new go.PathSegment(go.PathSegment.Line,b[0].x*E,b[0].y*a).close()),Ae(b),y.spot1=new go.Spot(.281,.261),y.spot2=new go.Spot(.723,.748),y}),go.Shape.defineFigureGenerator("FivePointedBurst",function(oe,E,a){var b=je(5),y=new go.Geometry,x=new go.PathFigure(b[0].x*E,b[0].y*a,!0);y.add(x);for(var ee=1;ee<b.length;ee+=3)x.add(new go.PathSegment(go.PathSegment.Bezier,b[ee+2].x*E,b[ee+2].y*a,b[ee].x*E,b[ee].y*a,b[ee+1].x*E,b[ee+1].y*a));return x.segments.last().close(),Ae(b),y.spot1=new go.Spot(.222,.277),y.spot2=new go.Spot(.777,.777),y}),go.Shape.defineFigureGenerator("SixPointedBurst",function(oe,E,a){var b=je(6),y=new go.Geometry,x=new go.PathFigure(b[0].x*E,b[0].y*a,!0);y.add(x);for(var ee=1;ee<b.length;ee+=3)x.add(new go.PathSegment(go.PathSegment.Bezier,b[ee+2].x*E,b[ee+2].y*a,b[ee].x*E,b[ee].y*a,b[ee+1].x*E,b[ee+1].y*a));return x.segments.last().close(),Ae(b),y.spot1=new go.Spot(.17,.222),y.spot2=new go.Spot(.833,.777),y}),go.Shape.defineFigureGenerator("SevenPointedBurst",function(oe,E,a){var b=je(7),y=new go.Geometry,x=new go.PathFigure(b[0].x*E,b[0].y*a,!0);y.add(x);for(var ee=1;ee<b.length;ee+=3)x.add(new go.PathSegment(go.PathSegment.Bezier,b[ee+2].x*E,b[ee+2].y*a,b[ee].x*E,b[ee].y*a,b[ee+1].x*E,b[ee+1].y*a));return x.segments.last().close(),Ae(b),y.spot1=new go.Spot(.222,.222),y.spot2=new go.Spot(.777,.777),y}),go.Shape.defineFigureGenerator("EightPointedBurst",function(oe,E,a){var b=je(8),y=new go.Geometry,x=new go.PathFigure(b[0].x*E,b[0].y*a,!0);y.add(x);for(var ee=1;ee<b.length;ee+=3)x.add(new go.PathSegment(go.PathSegment.Bezier,b[ee+2].x*E,b[ee+2].y*a,b[ee].x*E,b[ee].y*a,b[ee+1].x*E,b[ee+1].y*a));return x.segments.last().close(),Ae(b),y.spot1=new go.Spot(.222,.222),y.spot2=new go.Spot(.777,.777),y}),go.Shape.defineFigureGenerator("NinePointedBurst",function(oe,E,a){var b=je(9),y=new go.Geometry,x=new go.PathFigure(b[0].x*E,b[0].y*a,!0);y.add(x);for(var ee=1;ee<b.length;ee+=3)x.add(new go.PathSegment(go.PathSegment.Bezier,b[ee+2].x*E,b[ee+2].y*a,b[ee].x*E,b[ee].y*a,b[ee+1].x*E,b[ee+1].y*a));return x.segments.last().close(),Ae(b),y.spot1=new go.Spot(.222,.222),y.spot2=new go.Spot(.777,.777),y}),go.Shape.defineFigureGenerator("TenPointedBurst",function(oe,E,a){var b=je(10),y=new go.Geometry,x=new go.PathFigure(b[0].x*E,b[0].y*a,!0);y.add(x);for(var ee=1;ee<b.length;ee+=3)x.add(new go.PathSegment(go.PathSegment.Bezier,b[ee+2].x*E,b[ee+2].y*a,b[ee].x*E,b[ee].y*a,b[ee+1].x*E,b[ee+1].y*a));return x.segments.last().close(),Ae(b),y.spot1=new go.Spot(.222,.222),y.spot2=new go.Spot(.777,.777),y}),go.Shape.setFigureParameter("FramedRectangle",0,new ft("ThicknessX",8)),go.Shape.setFigureParameter("FramedRectangle",1,new ft("ThicknessY",8)),go.Shape.defineFigureGenerator("FramedRectangle",function(oe,E,a){var b=oe?oe.parameter1:NaN,y=oe?oe.parameter2:NaN;isNaN(b)&&(b=8),isNaN(y)&&(y=8);var x=new go.Geometry,ee=new go.PathFigure(0,0,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,E,0)),ee.add(new go.PathSegment(go.PathSegment.Line,E,a)),ee.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),b<E/2&&y<a/2&&(ee.add(new go.PathSegment(go.PathSegment.Move,b,y)),ee.add(new go.PathSegment(go.PathSegment.Line,b,a-y)),ee.add(new go.PathSegment(go.PathSegment.Line,E-b,a-y)),ee.add(new go.PathSegment(go.PathSegment.Line,E-b,y).close())),x.setSpots(0,0,1,1,b,y,-b,-y),x}),go.Shape.setFigureParameter("Ring",0,new ft("Thickness",8)),go.Shape.defineFigureGenerator("Ring",function(oe,E,a){var b=oe?oe.parameter1:NaN;(isNaN(b)||b<0)&&(b=8);var y=E/2,x=new go.Geometry,ee=new go.PathFigure(E,E/2,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Arc,0,360,y,y,y,y).close());var te=Math.max(y-b,0);return te>0&&(ee.add(new go.PathSegment(go.PathSegment.Move,E/2+te,E/2)),ee.add(new go.PathSegment(go.PathSegment.Arc,0,-360,y,y,te,te).close())),x.spot1=be,x.spot2=xe,x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("Cloud",function(oe,E,a){return new go.Geometry().add(new go.PathFigure(.08034461*E,.1944299*a,!0).add(new go.PathSegment(go.PathSegment.Bezier,.2008615*E,.05349299*a,-.09239631*E,.07836421*a,.1406031*E,-.0542823*a)).add(new go.PathSegment(go.PathSegment.Bezier,.4338609*E,.074219*a,.2450511*E,-.00697547*a,.3776197*E,-.01112067*a)).add(new go.PathSegment(go.PathSegment.Bezier,.6558228*E,.07004196*a,.4539471*E,0,.6066018*E,-.02526587*a)).add(new go.PathSegment(go.PathSegment.Bezier,.8921095*E,.08370865*a,.6914277*E,-.01904177*a,.8921095*E,-.01220843*a)).add(new go.PathSegment(go.PathSegment.Bezier,.9147671*E,.3194596*a,1.036446*E,.04105738*a,1.020377*E,.3022052*a)).add(new go.PathSegment(go.PathSegment.Bezier,.9082935*E,.562044*a,1.04448*E,.360238*a,.992256*E,.5219009*a)).add(new go.PathSegment(go.PathSegment.Bezier,.9212406*E,.8217117*a,1.032337*E,.5771781*a,1.018411*E,.8120651*a)).add(new go.PathSegment(go.PathSegment.Bezier,.7592566*E,.9156953*a,1.028411*E,.9571472*a,.8556702*E,1.052487*a)).add(new go.PathSegment(go.PathSegment.Bezier,.5101666*E,.9310455*a,.7431877*E,1.009325*a,.5624123*E,1.021761*a)).add(new go.PathSegment(go.PathSegment.Bezier,.2609328*E,.9344623*a,.4820677*E,1.031761*a,.3030112*E,1.002796*a)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*E,.870098*a,.2329994*E,1.01518*a,.03213784*E,1.01518*a)).add(new go.PathSegment(go.PathSegment.Bezier,.06829292*E,.6545475*a,-.02812061*E,.9032597*a,-.01205169*E,.6835638*a)).add(new go.PathSegment(go.PathSegment.Bezier,.06427569*E,.4265613*a,-.01812061*E,.6089503*a,-.00606892*E,.4555777*a)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*E,.1944299*a,-.01606892*E,.3892545*a,-.01205169*E,.1944299*a))).setSpots(.1,.1,.9,.9)}),go.Shape.defineFigureGenerator("StopSign",function(oe,E,a){var b=1/(Math.SQRT2+2);return new go.Geometry().add(new go.PathFigure(b*E,0,!0).add(new go.PathSegment(go.PathSegment.Line,(1-b)*E,0)).add(new go.PathSegment(go.PathSegment.Line,E,b*a)).add(new go.PathSegment(go.PathSegment.Line,E,(1-b)*a)).add(new go.PathSegment(go.PathSegment.Line,(1-b)*E,a)).add(new go.PathSegment(go.PathSegment.Line,b*E,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 ft("Start",0,-360,360)),go.Shape.setFigureParameter("Pie",1,new ft("Sweep",315,-360,360)),go.Shape.defineFigureGenerator("Pie",function(oe,E,a){var b=oe?oe.parameter1:NaN,y=oe?oe.parameter2:NaN;isNaN(b)&&(b=0),isNaN(y)&&(y=315);var x=b%360;x<0&&(x+=360);var ee=y%360,te=Math.min(E,a)/2;return new go.Geometry().add(new go.PathFigure(te,te).add(new go.PathSegment(go.PathSegment.Arc,x,ee,te,te,te,te).close()))}),go.Shape.defineFigureGenerator("PiePiece",function(oe,E,a){var b=re/Math.SQRT2*.5,y=Math.SQRT2/2,x=1-Math.SQRT2/2;return new go.Geometry().add(new go.PathFigure(E,a,!0).add(new go.PathSegment(go.PathSegment.Bezier,y*E,x*a,E,(1-b)*a,(y+b)*E,(x+b)*a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close()))}),go.Shape.setFigureParameter("ThickCross",0,new ft("Thickness",30)),go.Shape.defineFigureGenerator("ThickCross",function(oe,E,a){var b=oe?oe.parameter1:NaN;(isNaN(b)||b<0)&&(b=30);var y=Math.min(b,E)/2,x=E/2,ee=a/2;return new go.Geometry().add(new go.PathFigure(x-y,0,!0).add(new go.PathSegment(go.PathSegment.Line,x+y,0)).add(new go.PathSegment(go.PathSegment.Line,x+y,ee-y)).add(new go.PathSegment(go.PathSegment.Line,E,ee-y)).add(new go.PathSegment(go.PathSegment.Line,E,ee+y)).add(new go.PathSegment(go.PathSegment.Line,x+y,ee+y)).add(new go.PathSegment(go.PathSegment.Line,x+y,a)).add(new go.PathSegment(go.PathSegment.Line,x-y,a)).add(new go.PathSegment(go.PathSegment.Line,x-y,ee+y)).add(new go.PathSegment(go.PathSegment.Line,0,ee+y)).add(new go.PathSegment(go.PathSegment.Line,0,ee-y)).add(new go.PathSegment(go.PathSegment.Line,x-y,ee-y).close()))}),go.Shape.setFigureParameter("ThinCross",0,new ft("Thickness",10)),go.Shape.defineFigureGenerator("ThinCross",function(oe,E,a){var b=oe?oe.parameter1:NaN;(isNaN(b)||b<0)&&(b=10);var y=Math.min(b,E)/2,x=E/2,ee=a/2;return new go.Geometry().add(new go.PathFigure(x-y,0,!0).add(new go.PathSegment(go.PathSegment.Line,x+y,0)).add(new go.PathSegment(go.PathSegment.Line,x+y,ee-y)).add(new go.PathSegment(go.PathSegment.Line,E,ee-y)).add(new go.PathSegment(go.PathSegment.Line,E,ee+y)).add(new go.PathSegment(go.PathSegment.Line,x+y,ee+y)).add(new go.PathSegment(go.PathSegment.Line,x+y,a)).add(new go.PathSegment(go.PathSegment.Line,x-y,a)).add(new go.PathSegment(go.PathSegment.Line,x-y,ee+y)).add(new go.PathSegment(go.PathSegment.Line,0,ee+y)).add(new go.PathSegment(go.PathSegment.Line,0,ee-y)).add(new go.PathSegment(go.PathSegment.Line,x-y,ee-y).close()))}),go.Shape.setFigureParameter("ThickX",0,new ft("Thickness",30)),go.Shape.defineFigureGenerator("ThickX",function(oe,E,a){var b=oe?oe.parameter1:NaN;if((isNaN(b)||b<0)&&(b=30),E===0||a===0){var y=new go.Geometry(go.Geometry.Rectangle);return y.startX=0,y.startY=0,y.endX=E,y.endY=a,y}else{var x=E/2,ee=a/2,te=Math.atan2(a,E),ae=b-Math.min(Math.cos(te)*b/2,x),ue=b-Math.min(Math.sin(te)*b/2,ee),y=new go.Geometry,de=new go.PathFigure(ae,0,!0);return y.add(de),de.add(new go.PathSegment(go.PathSegment.Line,x,.2*a)),de.add(new go.PathSegment(go.PathSegment.Line,E-ae,0)),de.add(new go.PathSegment(go.PathSegment.Line,E,ue)),de.add(new go.PathSegment(go.PathSegment.Line,.8*E,ee)),de.add(new go.PathSegment(go.PathSegment.Line,E,a-ue)),de.add(new go.PathSegment(go.PathSegment.Line,E-ae,a)),de.add(new go.PathSegment(go.PathSegment.Line,x,.8*a)),de.add(new go.PathSegment(go.PathSegment.Line,ae,a)),de.add(new go.PathSegment(go.PathSegment.Line,0,a-ue)),de.add(new go.PathSegment(go.PathSegment.Line,.2*E,ee)),de.add(new go.PathSegment(go.PathSegment.Line,0,ue).close()),y}}),go.Shape.setFigureParameter("ThinX",0,new ft("Thickness",10)),go.Shape.defineFigureGenerator("ThinX",function(oe,E,a){var b=oe?oe.parameter1:NaN;(isNaN(b)||b<0)&&(b=10);var y=new go.Geometry,x=new go.PathFigure(.1*E,0,!0);return y.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*E,.4*a)),x.add(new go.PathSegment(go.PathSegment.Line,.9*E,0)),x.add(new go.PathSegment(go.PathSegment.Line,E,.1*a)),x.add(new go.PathSegment(go.PathSegment.Line,.6*E,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,E,.9*a)),x.add(new go.PathSegment(go.PathSegment.Line,.9*E,a)),x.add(new go.PathSegment(go.PathSegment.Line,.5*E,.6*a)),x.add(new go.PathSegment(go.PathSegment.Line,.1*E,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,.9*a)),x.add(new go.PathSegment(go.PathSegment.Line,.4*E,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,.1*a).close()),y}),go.Shape.setFigureParameter("SquareIBeam",0,new ft("BeamWidth",.2,.1,.9)),go.Shape.defineFigureGenerator("SquareIBeam",function(oe,E,a){var b=oe?oe.parameter1:NaN;isNaN(b)&&(b=.2);var y=new go.Geometry,x=new go.PathFigure(0,0,!0);return y.add(x),x.add(new go.PathSegment(go.PathSegment.Line,E,0)),x.add(new go.PathSegment(go.PathSegment.Line,E,b*a)),x.add(new go.PathSegment(go.PathSegment.Line,(.5+b/2)*E,b*a)),x.add(new go.PathSegment(go.PathSegment.Line,(.5+b/2)*E,(1-b)*a)),x.add(new go.PathSegment(go.PathSegment.Line,E,(1-b)*a)),x.add(new go.PathSegment(go.PathSegment.Line,E,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)*E,(1-b)*a)),x.add(new go.PathSegment(go.PathSegment.Line,(.5-b/2)*E,b*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,b*a).close()),y}),go.Shape.setFigureParameter("RoundedIBeam",0,new ft("Curviness",.5,.05,.65)),go.Shape.defineFigureGenerator("RoundedIBeam",function(oe,E,a){var b=oe?oe.parameter1:NaN;isNaN(b)&&(b=.5);var y=new go.Geometry,x=new go.PathFigure(0,0,!0);return y.add(x),x.add(new go.PathSegment(go.PathSegment.Line,E,0)),x.add(new go.PathSegment(go.PathSegment.Bezier,E,a,Math.abs(1-b)*E,.25*a,Math.abs(1-b)*E,.75*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a)),x.add(new go.PathSegment(go.PathSegment.Bezier,0,0,b*E,.75*a,b*E,.25*a).close()),y}),go.Shape.defineFigureGenerator("HalfEllipse",function(oe,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,re*E,0,E,(.5-re/2)*a)).add(new go.PathSegment(go.PathSegment.Bezier,0,a,E,(.5+re/2)*a,re*E,a).close())).setSpots(0,.156,.844,.844)}),go.Shape.defineFigureGenerator("Crescent",function(oe,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,a,E,0,E,a)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.5*E,.75*a,.5*E,.25*a).close())).setSpots(.311,.266,.744,.744)}),go.Shape.defineFigureGenerator("Heart",function(oe,E,a){return new go.Geometry().add(new go.PathFigure(.5*E,a,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,.3*a,.1*E,.8*a,0,.5*a)).add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.3*a,0,0,.45*E,0)).add(new go.PathSegment(go.PathSegment.Bezier,E,.3*a,.55*E,0,E,0)).add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,E,.5*a,.9*E,.8*a).close())).setSpots(.14,.29,.86,.78)}),go.Shape.defineFigureGenerator("Spade",function(oe,E,a){return new go.Geometry().add(new go.PathFigure(.5*E,0,!0).add(new go.PathSegment(go.PathSegment.Line,.51*E,.01*a)).add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,.6*E,.2*a,E,.25*a)).add(new go.PathSegment(go.PathSegment.Bezier,.55*E,.7*a,E,.8*a,.6*E,.8*a)).add(new go.PathSegment(go.PathSegment.Bezier,.75*E,a,.5*E,.75*a,.55*E,.95*a)).add(new go.PathSegment(go.PathSegment.Line,.25*E,a)).add(new go.PathSegment(go.PathSegment.Bezier,.45*E,.7*a,.45*E,.95*a,.5*E,.75*a)).add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,.4*E,.8*a,0,.8*a)).add(new go.PathSegment(go.PathSegment.Bezier,.49*E,.01*a,0,.25*a,.4*E,.2*a).close())).setSpots(.14,.26,.86,.78)}),go.Shape.defineFigureGenerator("Club",function(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(.4*E,.6*a,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,.15*E,a,.5*E,.75*a,.45*E,.95*a)),y.add(new go.PathSegment(go.PathSegment.Line,.85*E,a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.6*E,.6*a,.55*E,.95*a,.5*E,.75*a));var x=.2,ee=.3,te=0,ae=x*re;return y.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*E,(.5+x+te)*a,(.5-x+ee)*E,(.5+ae+te)*a,(.5-ae+ee)*E,(.5+x+te)*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+x+ee)*E,(.5+te)*a,(.5+ae+ee)*E,(.5+x+te)*a,(.5+x+ee)*E,(.5+ae+te)*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*E,(.5-x+te)*a,(1-.5+x+ee)*E,(.5-ae+te)*a,(.5+ae+ee)*E,(.5-x+te)*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.65*E,.36771243*a,(.5-ae+ee)*E,(.5-x+te)*a,(.5-x+ee+.05)*E,(.5-ae+te-.02)*a)),x=.2,ee=0,te=-.3,ae=x*re,y.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+x+ee)*E,(.5+te)*a,(.5+ae+ee)*E,(.5+x+te)*a,(.5+x+ee)*E,(.5+ae+te)*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*E,(.5-x+te)*a,(1-.5+x+ee)*E,(.5-ae+te)*a,(.5+ae+ee)*E,(.5-x+te)*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5-x+ee)*E,(.5+te)*a,(.5-ae+ee)*E,(.5-x+te)*a,(.5-x+ee)*E,(.5-ae+te)*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5-ae+ee)*E,(.5+x+te)*a,(.5-x+ee)*E,(.5+ae+te)*a,(.5-ae+ee)*E,(.5+x+te)*a)),x=.2,ee=-.3,te=0,ae=x*re,y.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*E,(.5-x+te)*a,(1-.5+x+ee-.05)*E,(.5-ae+te-.02)*a,(.5+ae+ee)*E,(.5-x+te)*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5-x+ee)*E,(.5+te)*a,(.5-ae+ee)*E,(.5-x+te)*a,(.5-x+ee)*E,(.5-ae+te)*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*E,(.5+x+te)*a,(.5-x+ee)*E,(.5+ae+te)*a,(.5-ae+ee)*E,(.5+x+te)*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.4*E,.6*a,(.5+ae+ee)*E,(.5+x+te)*a,(.5+x+ee)*E,(.5+ae+te)*a).close()),b.setSpots(.06,.33,.93,.68),b}),go.Shape.defineFigureGenerator("YinYang",function(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(E*.5,0,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,270,180,E*.5,E*.5,E*.5,E*.5)),y.add(new go.PathSegment(go.PathSegment.Arc,90,-180,E*.5,E*.75,E*.25,E*.25)),y.add(new go.PathSegment(go.PathSegment.Arc,90,180,E*.5,E*.25,E*.25,E*.25));var x=.1,ee=.5,te=.25;return y.add(new go.PathSegment(go.PathSegment.Move,(ee+x)*E,te*a)),y.add(new go.PathSegment(go.PathSegment.Arc,0,-360,E*ee,a*te,x*E,x*E).close()),y=new go.PathFigure(E*.5,0,!1),b.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,270,-180,E*.5,E*.5,E*.5,E*.5)),te=.75,y=new go.PathFigure((ee+x)*E,te*a,!0),b.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,0,360,E*ee,a*te,x*E,x*E).close()),b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("Peace",function(oe,E,a){var b=.8535533905932737,y=.5*E,x=.5*a;return new go.Geometry().add(new go.PathFigure(y,0,!1).add(new go.PathSegment(go.PathSegment.Arc,270,360,y,x,y,x)).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Move,y,x)).add(new go.PathSegment(go.PathSegment.Line,(1-b)*E,b*a)).add(new go.PathSegment(go.PathSegment.Move,y,x)).add(new go.PathSegment(go.PathSegment.Line,b*E,b*a)))}),go.Shape.defineFigureGenerator("NotAllowed",function(oe,E,a){var b=new go.Geometry,y=re*.5,x=.5,ee=.5,te=.5,ae=new go.PathFigure(ee*E,(te-x)*a);b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,(ee-x)*E,te*a,(ee-y)*E,(te-x)*a,(ee-x)*E,(te-y)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(te+x)*a,(ee-x)*E,(te+y)*a,(ee-y)*E,(te+x)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(ee+x)*E,te*a,(ee+y)*E,(te+x)*a,(ee+x)*E,(te+y)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(te-x)*a,(ee+x)*E,(te-y)*a,(ee+y)*E,(te-x)*a)),x=.4,y=re*.4;var ue=z(),de=z(),me=z(),Be=z();Me(ee,te-x,ee+y,te-x,ee+x,te-y,ee+x,te,.42,ue,de,me,Be,Be);var ve=z(),Fe=z(),ge=z();Me(ee,te-x,ee+y,te-x,ee+x,te-y,ee+x,te,.58,Be,Be,ge,ve,Fe);var Je=z(),Ie=z(),Ue=z();Me(ee,te+x,ee-y,te+x,ee-x,te+y,ee-x,te,.42,Je,Ie,Ue,Be,Be);var ze=z(),Ke=z(),lt=z();return Me(ee,te+x,ee-y,te+x,ee-x,te+y,ee-x,te,.58,Be,Be,lt,ze,Ke),ae.add(new go.PathSegment(go.PathSegment.Move,lt.x*E,lt.y*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(ee-x)*E,te*a,ze.x*E,ze.y*a,Ke.x*E,Ke.y*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(te-x)*a,(ee-x)*E,(te-y)*a,(ee-y)*E,(te-x)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,me.x*E,me.y*a,ue.x*E,ue.y*a,de.x*E,de.y*a)),ae.add(new go.PathSegment(go.PathSegment.Line,lt.x*E,lt.y*a).close()),ae.add(new go.PathSegment(go.PathSegment.Move,Ue.x*E,Ue.y*a)),ae.add(new go.PathSegment(go.PathSegment.Line,ge.x*E,ge.y*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(ee+x)*E,te*a,ve.x*E,ve.y*a,Fe.x*E,Fe.y*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(te+x)*a,(ee+x)*E,(te+y)*a,(ee+y)*E,(te+x)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,Ue.x*E,Ue.y*a,Je.x*E,Je.y*a,Ie.x*E,Ie.y*a).close()),ie(ue),ie(de),ie(me),ie(Be),ie(ve),ie(Fe),ie(ge),ie(Je),ie(Ie),ie(Ue),ie(ze),ie(Ke),ie(lt),b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("Fragile",function(oe,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.25*E,0)).add(new go.PathSegment(go.PathSegment.Line,.2*E,.15*a)).add(new go.PathSegment(go.PathSegment.Line,.3*E,.25*a)).add(new go.PathSegment(go.PathSegment.Line,.29*E,.33*a)).add(new go.PathSegment(go.PathSegment.Line,.35*E,.25*a)).add(new go.PathSegment(go.PathSegment.Line,.3*E,.15*a)).add(new go.PathSegment(go.PathSegment.Line,.4*E,0)).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Bezier,.55*E,.5*a,E,.25*a,.75*E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.55*E,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.7*E,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.7*E,a)).add(new go.PathSegment(go.PathSegment.Line,.3*E,a)).add(new go.PathSegment(go.PathSegment.Line,.3*E,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.45*E,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.45*E,.5*a)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*E,.5*a,0,.25*a).close()))}),go.Shape.setFigureParameter("HourGlass",0,new ft("Thickness",30)),go.Shape.defineFigureGenerator("HourGlass",function(oe,E,a){var b=oe?oe.parameter1:NaN;(isNaN(b)||b<0)&&(b=30),b>E&&(b=E);var y=(E-b)/2,x=y+b;return new go.Geometry().add(new go.PathFigure(x,.5*a).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,0,a)).add(new go.PathSegment(go.PathSegment.Line,y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,0,0)).add(new go.PathSegment(go.PathSegment.Line,E,0).close()))}),go.Shape.defineFigureGenerator("Lightning",function(oe,E,a){return new go.Geometry().add(new go.PathFigure(0,.55*a).add(new go.PathSegment(go.PathSegment.Line,.6*E,0)).add(new go.PathSegment(go.PathSegment.Line,.3*E,.45*a)).add(new go.PathSegment(go.PathSegment.Line,E,.45*a)).add(new go.PathSegment(go.PathSegment.Line,.4*E,a)).add(new go.PathSegment(go.PathSegment.Line,.7*E,.55*a).close()))}),go.Shape.defineFigureGenerator("GenderMale",function(oe,E,a){var b=new go.Geometry,y=re*.4,x=.4,ee=.5,te=.5,ae=z(),ue=z(),de=z(),me=z(),Be=new go.PathFigure((ee-x)*E,te*a,!1);b.add(Be),Be.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(te-x)*a,(ee-x)*E,(te-y)*a,(ee-y)*E,(te-x)*a)),Me(ee,te-x,ee+y,te-x,ee+x,te-y,ee+x,te,.44,de,me,ue,ae,ae),Be.add(new go.PathSegment(go.PathSegment.Bezier,ue.x*E,ue.y*a,de.x*E,de.y*a,me.x*E,me.y*a));var ve=ne(ue.x,ue.y);Me(ee,te-x,ee+y,te-x,ee+x,te-y,ee+x,te,.56,ae,ae,ue,de,me);var Fe=ne(ue.x,ue.y);Be.add(new go.PathSegment(go.PathSegment.Line,(ve.x*.1+.95*.9)*E,ve.y*.1*a)),Be.add(new go.PathSegment(go.PathSegment.Line,.85*E,ve.y*.1*a)),Be.add(new go.PathSegment(go.PathSegment.Line,.85*E,0)),Be.add(new go.PathSegment(go.PathSegment.Line,E,0)),Be.add(new go.PathSegment(go.PathSegment.Line,E,.15*a)),Be.add(new go.PathSegment(go.PathSegment.Line,(Fe.x*.1+.9)*E,.15*a)),Be.add(new go.PathSegment(go.PathSegment.Line,(Fe.x*.1+.9)*E,(Fe.y*.1+.05*.9)*a)),Be.add(new go.PathSegment(go.PathSegment.Line,Fe.x*E,Fe.y*a)),Be.add(new go.PathSegment(go.PathSegment.Bezier,(ee+x)*E,te*a,de.x*E,de.y*a,me.x*E,me.y*a)),Be.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(te+x)*a,(ee+x)*E,(te+y)*a,(ee+y)*E,(te+x)*a)),Be.add(new go.PathSegment(go.PathSegment.Bezier,(ee-x)*E,te*a,(ee-y)*E,(te+x)*a,(ee-x)*E,(te+y)*a)),x=.35,y=re*.35;var ge=new go.PathFigure(ee*E,(te-x)*a,!1);b.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,(ee-x)*E,te*a,(ee-y)*E,(te-x)*a,(ee-x)*E,(te-y)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(te+x)*a,(ee-x)*E,(te+y)*a,(ee-y)*E,(te+x)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(ee+x)*E,te*a,(ee+y)*E,(te+x)*a,(ee+x)*E,(te+y)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(te-x)*a,(ee+x)*E,(te-y)*a,(ee+y)*E,(te-x)*a));var Je=new go.PathFigure((ee-x)*E,te*a,!1);return b.add(Je),ie(ae),ie(ue),ie(de),ie(me),ie(ve),ie(Fe),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(oe,E,a){var b=new go.Geometry,y=.375,x=0,ee=-.125,te=y*re,ae=new go.PathFigure((.525+x)*E,(.5+y+ee)*a,!1);b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+y+x)*E,(.5+ee)*a,(.5+te+x)*E,(.5+y+ee)*a,(.5+y+x)*E,(.5+te+ee)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(.5+x)*E,(.5-y+ee)*a,(1-.5+y+x)*E,(.5-te+ee)*a,(.5+te+x)*E,(.5-y+ee)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(.5-y+x)*E,(.5+ee)*a,(.5-te+x)*E,(.5-y+ee)*a,(.5-y+x)*E,(.5-te+ee)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(.475+x)*E,(.5+y+ee)*a,(.5-y+x)*E,(.5+te+ee)*a,(.5-te+x)*E,(.5+y+ee)*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.475*E,.85*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.425*E,.85*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.425*E,.9*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.475*E,.9*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.475*E,a)),ae.add(new go.PathSegment(go.PathSegment.Line,.525*E,a)),ae.add(new go.PathSegment(go.PathSegment.Line,.525*E,.9*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.575*E,.9*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.575*E,.85*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.525*E,.85*a).close()),y=.325,x=0,ee=-.125,te=y*re;var ae=new go.PathFigure((1-.5+y+x)*E,(.5+ee)*a,!1);b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,(.5+x)*E,(.5+y+ee)*a,(.5+y+x)*E,(.5+te+ee)*a,(.5+te+x)*E,(.5+y+ee)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(.5-y+x)*E,(.5+ee)*a,(.5-te+x)*E,(.5+y+ee)*a,(.5-y+x)*E,(.5+te+ee)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(.5+x)*E,(.5-y+ee)*a,(.5-y+x)*E,(.5-te+ee)*a,(.5-te+x)*E,(.5-y+ee)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+y+x)*E,(.5+ee)*a,(.5+te+x)*E,(.5-y+ee)*a,(1-.5+y+x)*E,(.5-te+ee)*a));var ae=new go.PathFigure((.525+x)*E,(.5+y+ee)*a,!1);return b.add(ae),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(oe,E,a){var b=oe?oe.parameter1:NaN;return isNaN(b)&&(b=.2),new go.Geometry().add(new go.PathFigure((1-b)*E,0,!1).add(new go.PathSegment(go.PathSegment.Line,E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,(1-b)*E,a)).add(new go.PathSegment(go.PathSegment.Move,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,E,.5*a))).setSpots(0,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicIff",function(oe,E,a){var b=oe?oe.parameter1:NaN;return isNaN(b)&&(b=.2),new go.Geometry().add(new go.PathFigure((1-b)*E,0,!1).add(new go.PathSegment(go.PathSegment.Line,E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,(1-b)*E,a)).add(new go.PathSegment(go.PathSegment.Move,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,E,.5*a)).add(new go.PathSegment(go.PathSegment.Move,b*E,0)).add(new go.PathSegment(go.PathSegment.Line,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,b*E,a))).setSpots(.2,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicNot",function(oe,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E,a)))}),go.Shape.defineFigureGenerator("LogicAnd",function(oe,E,a){return new go.Geometry().add(new go.PathFigure(0,a,!1).add(new go.PathSegment(go.PathSegment.Line,.5*E,0)).add(new go.PathSegment(go.PathSegment.Line,E,a))).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("LogicOr",function(oe,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*E,a)).add(new go.PathSegment(go.PathSegment.Line,E,0))).setSpots(.219,0,.78,.409)}),go.Shape.defineFigureGenerator("LogicXor",function(oe,E,a){var b=new go.Geometry().add(new go.PathFigure(.5*E,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*E,a)).add(new go.PathSegment(go.PathSegment.Move,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,E,.5*a)).add(new go.PathSegment(go.PathSegment.Arc,0,360,.5*E,.5*a,.5*E,.5*a)));return b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("LogicTruth",function(oe,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Move,.5*E,0)).add(new go.PathSegment(go.PathSegment.Line,.5*E,a)))}),go.Shape.defineFigureGenerator("LogicFalsity",function(oe,E,a){return new go.Geometry().add(new go.PathFigure(0,a,!1).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Move,.5*E,a)).add(new go.PathSegment(go.PathSegment.Line,.5*E,0)))}),go.Shape.defineFigureGenerator("LogicThereExists",function(oe,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,0,.5*a)).add(new go.PathSegment(go.PathSegment.Move,E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,0,a)))}),go.Shape.defineFigureGenerator("LogicForAll",function(oe,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*E,a)).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Move,.25*E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.75*E,.5*a))).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("LogicIsDefinedAs",function(oe,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Move,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,E,.5*a)).add(new go.PathSegment(go.PathSegment.Move,0,a)).add(new go.PathSegment(go.PathSegment.Line,E,a))).setSpots(.01,.01,.99,.49)}),go.Shape.defineFigureGenerator("LogicIntersect",function(oe,E,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*E,b*a,b*E,b*a)).add(new go.PathSegment(go.PathSegment.Line,E,a))).setSpots(0,.5,1,1)}),go.Shape.defineFigureGenerator("LogicUnion",function(oe,E,a){var b=.5;return new go.Geometry().add(new go.PathFigure(E,0,!1).add(new go.PathSegment(go.PathSegment.Line,E,b*a)).add(new go.PathSegment(go.PathSegment.Arc,0,180,b*E,b*a,b*E,b*a)).add(new go.PathSegment(go.PathSegment.Line,0,0))).setSpots(0,0,1,.5)}),go.Shape.setFigureParameter("Arrow",0,new ft("ArrowheadWidth",.3,.01,.99)),go.Shape.setFigureParameter("Arrow",1,new ft("TailHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("Arrow",function(oe,E,a){var b=oe?oe.parameter1:NaN;isNaN(b)&&(b=.3);var y=oe?oe.parameter2:NaN;isNaN(y)&&(y=.3);var x=(1-b)*E,ee=(.5-y/2)*a,te=(.5+y/2)*a,ae=new go.Geometry,ue=new go.PathFigure(0,ee,!0);ae.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,x,ee)),ue.add(new go.PathSegment(go.PathSegment.Line,x,0)),ue.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),ue.add(new go.PathSegment(go.PathSegment.Line,x,a)),ue.add(new go.PathSegment(go.PathSegment.Line,x,te)),ue.add(new go.PathSegment(go.PathSegment.Line,0,te).close()),ae.spot1=new go.Spot(0,ee/a);var de=Pe(0,te/a,1,te/a,x/E,1,1,.5,z());return ae.spot2=new go.Spot(de.x,de.y),ie(de),ae}),go.Shape.setFigureParameter("Arrow2",0,new ft("ArrowheadWidth",30)),go.Shape.setFigureParameter("Arrow2",0,new ft("TailHeight",30)),go.Shape.defineFigureGenerator("Arrow2",function(oe,E,a){var b=oe?oe.parameter1:NaN;isNaN(b)&&(b=30),b>E&&(b=E);var y=oe?oe.parameter2:NaN;isNaN(y)&&(y=30),y=Math.min(y,a/2);var x=E-b,ee=(a-y)/2,te=ee+y,ae=new go.Geometry,ue=new go.PathFigure(0,ee,!0);ae.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,x,ee)),ue.add(new go.PathSegment(go.PathSegment.Line,x,0)),ue.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),ue.add(new go.PathSegment(go.PathSegment.Line,x,a)),ue.add(new go.PathSegment(go.PathSegment.Line,x,te)),ue.add(new go.PathSegment(go.PathSegment.Line,0,te).close()),ae.spot1=new go.Spot(0,ee/a);var de=Pe(0,te/a,1,te/a,x/E,1,1,.5,z());return ae.spot2=new go.Spot(de.x,de.y),ie(de),ae}),go.Shape.defineFigureGenerator("Chevron",function(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(0,0,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a).close()),b}),go.Shape.defineFigureGenerator("DoubleArrow",function(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(0,0,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.3*E,.214*a)),y.add(new go.PathSegment(go.PathSegment.Line,.3*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,1*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.3*E,1*a)),y.add(new go.PathSegment(go.PathSegment.Line,.3*E,.786*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,1*a).close()),b}),go.Shape.setFigureParameter("DoubleEndArrow",0,new ft("ConnecterHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("DoubleEndArrow",function(oe,E,a){var b=oe?oe.parameter1:NaN;isNaN(b)&&(b=.3);var y=(.5-b/2)*a,x=(.5+b/2)*a,ee=new go.Geometry,te=new go.PathFigure(E,.5*a,!0);ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.7*E,a)),te.add(new go.PathSegment(go.PathSegment.Line,.7*E,x)),te.add(new go.PathSegment(go.PathSegment.Line,.3*E,x)),te.add(new go.PathSegment(go.PathSegment.Line,.3*E,a)),te.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),te.add(new go.PathSegment(go.PathSegment.Line,.3*E,0)),te.add(new go.PathSegment(go.PathSegment.Line,.3*E,y)),te.add(new go.PathSegment(go.PathSegment.Line,.7*E,y)),te.add(new go.PathSegment(go.PathSegment.Line,.7*E,0).close());var ae=Pe(0,.5,.3,0,0,y/a,.1,y/a,z());return ee.spot1=new go.Spot(ae.x,ae.y),ae=Pe(.7,1,1,.5,0,x/a,1,x/a,ae),ee.spot2=new go.Spot(ae.x,ae.y),ie(ae),ee}),go.Shape.setFigureParameter("DoubleEndArrow2",0,new ft("ConnecterHeight",40)),go.Shape.setFigureParameter("DoubleEndArrow2",1,new ft("ArrowHeight",100)),go.Shape.defineFigureGenerator("DoubleEndArrow2",function(oe,E,a){var b=oe?oe.parameter1:NaN;isNaN(b)&&(b=40);var y=oe?oe.parameter2:NaN;isNaN(y)&&(y=100);var x=(a-b)/2,ee=x+b,te=(a-y)/2,ae=te+y;(b>a||y>a)&&(y>b?(b=b*a/y,x=(a-b)/2,ee=x+b,te=0,ae=a):(x=0,ee=a,te=0,ae=a));var ue=new go.Geometry,de=new go.PathFigure(E,.5*a,!0);ue.add(de),de.add(new go.PathSegment(go.PathSegment.Line,.7*E,ae)),de.add(new go.PathSegment(go.PathSegment.Line,.7*E,ee)),de.add(new go.PathSegment(go.PathSegment.Line,.3*E,ee)),de.add(new go.PathSegment(go.PathSegment.Line,.3*E,ae)),de.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),de.add(new go.PathSegment(go.PathSegment.Line,.3*E,te)),de.add(new go.PathSegment(go.PathSegment.Line,.3*E,x)),de.add(new go.PathSegment(go.PathSegment.Line,.7*E,x)),de.add(new go.PathSegment(go.PathSegment.Line,.7*E,te).close());var me=Pe(0,.5,.3,te/a,0,x/a,1,x/a,z());return ue.spot1=new go.Spot(me.x,me.y),me=Pe(.7,ae/a,1,.5,0,ee/a,1,ee/a,me),ue.spot2=new go.Spot(me.x,me.y),ie(me),ue}),go.Shape.setFigureParameter("IBeamArrow",0,new ft("ConnectorHeight",.7,.51,.97)),go.Shape.defineFigureGenerator("IBeamArrow",function(oe,E,a){var b=oe?oe.parameter1:NaN;isNaN(b)&&(b=.3);var y=(.5-b/2)*a,x=(.5+b/2)*a,ee=new go.Geometry,te=new go.PathFigure(E,.5*a,!0);ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.7*E,a)),te.add(new go.PathSegment(go.PathSegment.Line,.7*E,x)),te.add(new go.PathSegment(go.PathSegment.Line,.2*E,x)),te.add(new go.PathSegment(go.PathSegment.Line,.2*E,a)),te.add(new go.PathSegment(go.PathSegment.Line,0,a)),te.add(new go.PathSegment(go.PathSegment.Line,0,0)),te.add(new go.PathSegment(go.PathSegment.Line,.2*E,0)),te.add(new go.PathSegment(go.PathSegment.Line,.2*E,y)),te.add(new go.PathSegment(go.PathSegment.Line,.7*E,y)),te.add(new go.PathSegment(go.PathSegment.Line,.7*E,0).close()),ee.spot1=new go.Spot(0,y/a);var ae=Pe(.7,1,1,.5,0,x/a,1,x/a,z());return ee.spot2=new go.Spot(ae.x,ae.y),ie(ae),ee}),go.Shape.setFigureParameter("IBeamArrow2",0,new ft("ConnectorHeight",40)),go.Shape.setFigureParameter("IBeamArrow2",1,new ft("BeamArrowHeight",100)),go.Shape.defineFigureGenerator("IBeamArrow2",function(oe,E,a){var b=oe?oe.parameter1:NaN;isNaN(b)&&(b=40);var y=oe?oe.parameter2:NaN;isNaN(y)&&(y=100);var x=(a-b)/2,ee=x+b,te=(a-y)/2,ae=te+y;(b>a||y>a)&&(y>b?(b=b*a/y,x=(a-b)/2,ee=x+b,te=0,ae=a):(x=0,ee=a,te=0,ae=a));var ue=new go.Geometry,de=new go.PathFigure(E,.5*a,!0);ue.add(de),de.add(new go.PathSegment(go.PathSegment.Line,.7*E,ae)),de.add(new go.PathSegment(go.PathSegment.Line,.7*E,ee)),de.add(new go.PathSegment(go.PathSegment.Line,.2*E,ee)),de.add(new go.PathSegment(go.PathSegment.Line,.2*E,ae)),de.add(new go.PathSegment(go.PathSegment.Line,0,ae)),de.add(new go.PathSegment(go.PathSegment.Line,0,te)),de.add(new go.PathSegment(go.PathSegment.Line,.2*E,te)),de.add(new go.PathSegment(go.PathSegment.Line,.2*E,x)),de.add(new go.PathSegment(go.PathSegment.Line,.7*E,x)),de.add(new go.PathSegment(go.PathSegment.Line,.7*E,te).close()),ue.spot1=new go.Spot(0,x/a);var me=Pe(.7,ae/a,1,.5,0,ee/a,1,ee/a,z());return ue.spot2=new go.Spot(me.x,me.y),ie(me),ue}),go.Shape.setFigureParameter("Pointer",0,new ft("BackPoint",.1,0,.2)),go.Shape.defineFigureGenerator("Pointer",function(oe,E,a){var b=oe?oe.parameter1:NaN;isNaN(b)&&(b=.1);var y=new go.Geometry,x=new go.PathFigure(E,.5*a,!0);y.add(x),x.add(new go.PathSegment(go.PathSegment.Line,0,a)),x.add(new go.PathSegment(go.PathSegment.Line,b*E,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,0).close()),y.spot1=new go.Spot(b,.35);var ee=Pe(.2,.65,1,.65,0,1,1,.5,z());return y.spot2=new go.Spot(ee.x,ee.y),ie(ee),y}),go.Shape.setFigureParameter("RoundedPointer",0,new ft("RoundedEdge",.3,0,.5)),go.Shape.defineFigureGenerator("RoundedPointer",function(oe,E,a){var b=oe?oe.parameter1:NaN;isNaN(b)&&(b=.3);var y=new go.Geometry,x=new go.PathFigure(E,.5*a,!0);y.add(x),x.add(new go.PathSegment(go.PathSegment.Line,0,a)),x.add(new go.PathSegment(go.PathSegment.Bezier,0,0,b*E,.75*a,b*E,.25*a).close()),y.spot1=new go.Spot(b,.35);var ee=Pe(0,.65,1,.65,0,1,1,.5,z());return y.spot2=new go.Spot(ee.x,ee.y),ie(ee),y}),go.Shape.setFigureParameter("SplitEndArrow",0,new ft("TailHeight",.4,.01,.99)),go.Shape.defineFigureGenerator("SplitEndArrow",function(oe,E,a){var b=oe?oe.parameter1:NaN;isNaN(b)&&(b=.4);var y=(.5-b/2)*a,x=(.5+b/2)*a,ee=new go.Geometry,te=new go.PathFigure(E,.5*a,!0);ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.7*E,a)),te.add(new go.PathSegment(go.PathSegment.Line,.7*E,x)),te.add(new go.PathSegment(go.PathSegment.Line,0,x)),te.add(new go.PathSegment(go.PathSegment.Line,.2*E,.5*a)),te.add(new go.PathSegment(go.PathSegment.Line,0,y)),te.add(new go.PathSegment(go.PathSegment.Line,.7*E,y)),te.add(new go.PathSegment(go.PathSegment.Line,.7*E,0).close()),ee.spot1=new go.Spot(.2,.3);var ae=Pe(.7,1,1,.5,0,x/a,1,x/a,z());return ee.spot2=new go.Spot(ae.x,ae.y),ie(ae),ee}),go.Shape.setFigureParameter("SplitEndArrow2",0,new ft("TailThickness",50)),go.Shape.defineFigureGenerator("SplitEndArrow2",function(oe,E,a){var b=oe?oe.parameter1:NaN;isNaN(b)&&(b=50);var y=(a-b)/2,x=y+b;b>a&&(y=0,x=a);var ee=new go.Geometry,te=new go.PathFigure(E,.5*a,!0);ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.7*E,a)),te.add(new go.PathSegment(go.PathSegment.Line,.7*E,x)),te.add(new go.PathSegment(go.PathSegment.Line,0,x)),te.add(new go.PathSegment(go.PathSegment.Line,.2*E,.5*a)),te.add(new go.PathSegment(go.PathSegment.Line,0,y)),te.add(new go.PathSegment(go.PathSegment.Line,.7*E,y)),te.add(new go.PathSegment(go.PathSegment.Line,.7*E,0).close()),ee.spot1=new go.Spot(.2,y/a);var ae=Pe(.7,1,1,.5,0,x/a,1,x/a,z());return ee.spot2=new go.Spot(ae.x,ae.y),ie(ae),ee}),go.Shape.setFigureParameter("SquareArrow",0,new ft("ArrowPoint",.7,.2,.9)),go.Shape.defineFigureGenerator("SquareArrow",function(oe,E,a){var b=oe?oe.parameter1:NaN;isNaN(b)&&(b=.7);var y=new go.Geometry,x=new go.PathFigure(E,.5*a,!0);return y.add(x),x.add(new go.PathSegment(go.PathSegment.Line,b*E,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*E,0).close()),y.spot1=go.Spot.TopLeft,y.spot2=new go.Spot(b,1),y}),go.Shape.defineFigureGenerator("Cone1",function(oe,E,a){var b=new go.Geometry,y=re*.5,x=re*.1,ee=new go.PathFigure(0,.9*a,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),ee.add(new go.PathSegment(go.PathSegment.Line,E,.9*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,E,(.9+x)*a,(.5+y)*E,a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,(.5-y)*E,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(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(0,.9*a,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,E,.9*a,(1-.85/.9)*E,a,.85/.9*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),y.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,E,.9*a,(1-.85/.9)*E,.8*a,.85/.9*E,.8*a)),b.spot1=new go.Spot(.25,.5),b.spot2=new go.Spot(.75,.82),b}),go.Shape.defineFigureGenerator("Cube1",function(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(.5*E,a,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,.85*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.15*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,0,.15*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.85*a).close());var x=new go.PathFigure(.5*E,a,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*E,.3*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,.15*a)),x.add(new go.PathSegment(go.PathSegment.Move,.5*E,.3*a)),x.add(new go.PathSegment(go.PathSegment.Line,E,.15*a)),b.spot1=new go.Spot(0,.3),b.spot2=new go.Spot(.5,.85),b}),go.Shape.defineFigureGenerator("Cube2",function(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(0,.3*a,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,.7*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.7*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.3*E,0).close());var x=new go.PathFigure(0,.3*a,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.7*E,.3*a)),x.add(new go.PathSegment(go.PathSegment.Line,E,0)),x.add(new go.PathSegment(go.PathSegment.Move,.7*E,.3*a)),x.add(new go.PathSegment(go.PathSegment.Line,.7*E,a)),b.spot1=new go.Spot(0,.3),b.spot2=new go.Spot(.7,1),b}),go.Shape.defineFigureGenerator("Cylinder1",function(oe,E,a){var b=oe?oe.parameter1:NaN;isNaN(b)&&(b=5),b=Math.min(b,a/3);var y=new go.Geometry,x=re*.5,ee=new go.PathFigure(0,b,!0);y.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,0,re*b,(.5-x)*E,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,1*E,b,(.5+x)*E,0,1*E,re*b)),ee.add(new go.PathSegment(go.PathSegment.Line,E,a-b)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,1*a,1*E,a-re*b,(.5+x)*E,1*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,a-b,(.5-x)*E,1*a,0,a-re*b)),ee.add(new go.PathSegment(go.PathSegment.Line,0,b));var te=new go.PathFigure(E,b,!1);return y.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,2*b,1*E,2*b-re*b,(.5+x)*E,2*b)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,b,(.5-x)*E,2*b,0,2*b-re*b)),y.spot1=new go.Spot(0,0,0,2*b),y.spot2=new go.Spot(1,1),y}),go.Shape.defineFigureGenerator("Cylinder2",function(oe,E,a){var b=oe?oe.parameter1:NaN;isNaN(b)&&(b=5),b=Math.min(b,a/3);var y=new go.Geometry,x=re*.5,ee=new go.PathFigure(0,a-b,!0);y.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,0,b)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,0,re*b,(.5-x)*E,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,E,b,(.5+x)*E,0,E,re*b)),ee.add(new go.PathSegment(go.PathSegment.Line,E,a-b)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,E,a-re*b,(.5+x)*E,a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,a-b,(.5-x)*E,a,0,a-re*b));var te=new go.PathFigure(0,a-b,!1);return y.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a-2*b,0,a-b-re*b,(.5-x)*E,a-2*b)),te.add(new go.PathSegment(go.PathSegment.Bezier,E,a-b,(.5+x)*E,a-2*b,E,a-b-re*b)),y.spot1=new go.Spot(0,0),y.spot2=new go.Spot(1,1,0,-2*b),y}),go.Shape.defineFigureGenerator("Cylinder3",function(oe,E,a){var b=oe?oe.parameter1:NaN;isNaN(b)&&(b=5),b=Math.min(b,E/3);var y=new go.Geometry,x=re*.5,ee=new go.PathFigure(b,0,!0);y.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,E-b,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,E-re*b,0,E,(.5-x)*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,E-b,a,E,(.5+x)*a,E-re*b,a)),ee.add(new go.PathSegment(go.PathSegment.Line,b,a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,re*b,a,0,(.5+x)*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,b,0,0,(.5-x)*a,re*b,0));var te=new go.PathFigure(b,0,!1);return y.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,2*b,.5*a,b+re*b,0,2*b,(.5-x)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,b,a,2*b,(.5+x)*a,b+re*b,a)),y.spot1=new go.Spot(0,0,2*b,0),y.spot2=new go.Spot(1,1),y}),go.Shape.defineFigureGenerator("Cylinder4",function(oe,E,a){var b=oe?oe.parameter1:NaN;isNaN(b)&&(b=5),b=Math.min(b,E/3);var y=new go.Geometry,x=re*.5,ee=new go.PathFigure(E-b,0,!0);y.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,E-re*b,0,E,(.5-x)*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,E-b,a,E,(.5+x)*a,E-re*b,a)),ee.add(new go.PathSegment(go.PathSegment.Line,b,a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,re*b,a,0,(.5+x)*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,b,0,0,(.5-x)*a,re*b,0)),ee.add(new go.PathSegment(go.PathSegment.Line,E-b,0));var te=new go.PathFigure(E-b,0,!1);return y.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,E-2*b,.5*a,E-b-re*b,0,E-2*b,(.5-x)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,E-b,a,E-2*b,(.5+x)*a,E-b-re*b,a)),y.spot1=new go.Spot(0,0),y.spot2=new go.Spot(1,1,-2*b,0),y}),go.Shape.defineFigureGenerator("Prism1",function(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(.25*E,.25*a,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var x=new go.PathFigure(.25*E,.25*a,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),b.spot1=new go.Spot(.408,.172),b.spot2=new go.Spot(.833,.662),b}),go.Shape.defineFigureGenerator("Prism2",function(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(0,.25*a,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.25*a)),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,.75*a)),y.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*E,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,E,.25*a)),x.add(new go.PathSegment(go.PathSegment.Move,0,.25*a)),x.add(new go.PathSegment(go.PathSegment.Line,.25*E,.5*a)),b.spot1=new go.Spot(.25,.5),b.spot2=new go.Spot(.75,.75),b}),go.Shape.defineFigureGenerator("Pyramid1",function(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(.5*E,0,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,.75*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.75*a).close());var x=new go.PathFigure(.5*E,0,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),b.spot1=new go.Spot(.25,.367),b.spot2=new go.Spot(.75,.875),b}),go.Shape.defineFigureGenerator("Pyramid2",function(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(.5*E,0,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,.85*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.85*a).close());var x=new go.PathFigure(.5*E,0,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*E,.7*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,.85*a)),x.add(new go.PathSegment(go.PathSegment.Move,.5*E,.7*a)),x.add(new go.PathSegment(go.PathSegment.Line,E,.85*a)),b.spot1=new go.Spot(.25,.367),b.spot2=new go.Spot(.75,.875),b}),go.Shape.defineFigureGenerator("Actor",function(oe,E,a){var b=new go.Geometry,y=.2,x=.1,ee=re*y,te=re*x,ae=.5,ue=.1,de=new go.PathFigure(ae*E,(ue+x)*a,!0);b.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,(ae-y)*E,ue*a,(ae-ee)*E,(ue+x)*a,(ae-y)*E,(ue+te)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,ae*E,(ue-x)*a,(ae-y)*E,(ue-te)*a,(ae-ee)*E,(ue-x)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,(ae+y)*E,ue*a,(ae+ee)*E,(ue-x)*a,(ae+y)*E,(ue-te)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,ae*E,(ue+x)*a,(ae+y)*E,(ue+te)*a,(ae+ee)*E,(ue+x)*a));var me=.05,Be=re*me;ae=.05,ue=.25;var ve=new go.PathFigure(.5*E,.2*a,!0);return b.add(ve),ve.add(new go.PathSegment(go.PathSegment.Line,.95*E,.2*a)),ae=.95,ue=.25,ve.add(new go.PathSegment(go.PathSegment.Bezier,(ae+me)*E,ue*a,(ae+Be)*E,(ue-me)*a,(ae+me)*E,(ue-Be)*a)),ve.add(new go.PathSegment(go.PathSegment.Line,E,.6*a)),ve.add(new go.PathSegment(go.PathSegment.Line,.85*E,.6*a)),ve.add(new go.PathSegment(go.PathSegment.Line,.85*E,.35*a)),me=.025,Be=re*me,ae=.825,ue=.35,ve.add(new go.PathSegment(go.PathSegment.Bezier,ae*E,(ue-me)*a,(ae+me)*E,(ue-Be)*a,(ae+Be)*E,(ue-me)*a)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(ae-me)*E,ue*a,(ae-Be)*E,(ue-me)*a,(ae-me)*E,(ue-Be)*a)),ve.add(new go.PathSegment(go.PathSegment.Line,.8*E,a)),ve.add(new go.PathSegment(go.PathSegment.Line,.55*E,a)),ve.add(new go.PathSegment(go.PathSegment.Line,.55*E,.7*a)),me=.05,Be=re*me,ae=.5,ue=.7,ve.add(new go.PathSegment(go.PathSegment.Bezier,ae*E,(ue-me)*a,(ae+me)*E,(ue-Be)*a,(ae+Be)*E,(ue-me)*a)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(ae-me)*E,ue*a,(ae-Be)*E,(ue-me)*a,(ae-me)*E,(ue-Be)*a)),ve.add(new go.PathSegment(go.PathSegment.Line,.45*E,a)),ve.add(new go.PathSegment(go.PathSegment.Line,.2*E,a)),ve.add(new go.PathSegment(go.PathSegment.Line,.2*E,.35*a)),me=.025,Be=re*me,ae=.175,ue=.35,ve.add(new go.PathSegment(go.PathSegment.Bezier,ae*E,(ue-me)*a,(ae+me)*E,(ue-Be)*a,(ae+Be)*E,(ue-me)*a)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(ae-me)*E,ue*a,(ae-Be)*E,(ue-me)*a,(ae-me)*E,(ue-Be)*a)),ve.add(new go.PathSegment(go.PathSegment.Line,.15*E,.6*a)),ve.add(new go.PathSegment(go.PathSegment.Line,0,.6*a)),ve.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),me=.05,Be=re*me,ae=.05,ue=.25,ve.add(new go.PathSegment(go.PathSegment.Bezier,ae*E,(ue-me)*a,(ae-me)*E,(ue-Be)*a,(ae-Be)*E,(ue-me)*a)),ve.add(new go.PathSegment(go.PathSegment.Line,.5*E,.2*a)),b.spot1=new go.Spot(.2,.2),b.spot2=new go.Spot(.8,.65),b}),go.Shape.setFigureParameter("Card",0,new ft("CornerCutoutSize",.2,.1,.9)),go.Shape.defineFigureGenerator("Card",function(oe,E,a){var b=oe?oe.parameter1:NaN;isNaN(b)&&(b=.2);var y=new go.Geometry,x=new go.PathFigure(E,0,!0);return y.add(x),x.add(new go.PathSegment(go.PathSegment.Line,E,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*E,0).close()),y.spot1=new go.Spot(0,b),y.spot2=go.Spot.BottomRight,y}),go.Shape.defineFigureGenerator("Collate",function(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(.5*E,.5*a,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a));var x=new go.PathFigure(.5*E,.5*a,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,E,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a)),x.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a)),b.spot1=new go.Spot(.25,0),b.spot2=new go.Spot(.75,.25),b}),go.Shape.defineFigureGenerator("CreateRequest",function(oe,E,a){var b=new go.Geometry,y=oe?oe.parameter1:NaN;isNaN(y)&&(y=.1);var x=new go.PathFigure(0,0,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,E,0)),x.add(new go.PathSegment(go.PathSegment.Line,E,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var ee=new go.PathFigure(0,y*a,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,E,y*a)),ee.add(new go.PathSegment(go.PathSegment.Move,0,(1-y)*a)),ee.add(new go.PathSegment(go.PathSegment.Line,E,(1-y)*a)),b}),go.Shape.defineFigureGenerator("Database",function(oe,E,a){var b=new go.Geometry,y=re*.5,x=re*.1,ee=new go.PathFigure(E,.1*a,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,E,.9*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,E,(.9+x)*a,(.5+y)*E,a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,(.5-y)*E,a,0,(.9+x)*a)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.1*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,0,(.1-x)*a,(.5-y)*E,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,E,.1*a,(.5+y)*E,0,E,(.1-x)*a));var te=new go.PathFigure(E,.1*a,!1);return b.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.2*a,E,(.1+x)*a,(.5+y)*E,.2*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*a,(.5-y)*E,.2*a,0,(.1+x)*a)),te.add(new go.PathSegment(go.PathSegment.Move,E,.2*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.3*a,E,(.2+x)*a,(.5+y)*E,.3*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*a,(.5-y)*E,.3*a,0,(.2+x)*a)),te.add(new go.PathSegment(go.PathSegment.Move,E,.3*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.4*a,E,(.3+x)*a,(.5+y)*E,.4*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.3*a,(.5-y)*E,.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(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(0,0,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,.75*E,a,E,0,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*E,.9*a,.25*E,.1*a).close()),b.spot1=new go.Spot(.226,0),b.spot2=new go.Spot(.81,1),b}),go.Shape.defineFigureGenerator("DiskStorage",function(oe,E,a){var b=new go.Geometry,y=re*.5,x=re*.1,ee=new go.PathFigure(E,.1*a,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,E,.9*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,E,(.9+x)*a,(.5+y)*E,a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,(.5-y)*E,a,0,(.9+x)*a)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.1*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,0,(.1-x)*a,(.5-y)*E,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,E,.1*a,(.5+y)*E,0,E,(.1-x)*a));var te=new go.PathFigure(E,.1*a,!1);return b.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.2*a,E,(.1+x)*a,(.5+y)*E,.2*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*a,(.5-y)*E,.2*a,0,(.1+x)*a)),te.add(new go.PathSegment(go.PathSegment.Move,E,.2*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.3*a,E,(.2+x)*a,(.5+y)*E,.3*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*a,(.5-y)*E,.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(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(.25*E,0,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,.75*E,a,E,0,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.25*E,a)),y.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(oe,E,a){var b=new go.Geometry,y=oe?oe.parameter1:NaN;isNaN(y)?y=.2:y<.15&&(y=.15);var x=re*.2,ee=new go.PathFigure(0,.2*a,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,.2*E,0,0,(.2-x)*a,(.2-x)*E,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*E,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,E,.2*a,(.8+x)*E,0,E,(.2-x)*a)),ee.add(new go.PathSegment(go.PathSegment.Line,E,.8*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,a,E,(.8+x)*a,(.8+x)*E,a)),ee.add(new go.PathSegment(go.PathSegment.Line,.2*E,a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.8*a,(.2-x)*E,a,0,(.8+x)*a)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.2*a));var te=new go.PathFigure(0,y*a,!1);return b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E,y*a)),b}),go.Shape.defineFigureGenerator("DividedProcess",function(oe,E,a){var b=new go.Geometry,y=oe?oe.parameter1:NaN;(isNaN(y)||y<.1)&&(y=.1);var x=new go.PathFigure(0,0,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,E,0)),x.add(new go.PathSegment(go.PathSegment.Line,E,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var ee=new go.PathFigure(0,y*a,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,E,y*a)),b}),go.Shape.defineFigureGenerator("Document",function(oe,E,a){var b=new go.Geometry;a=a/.8;var y=new go.PathFigure(0,.7*a,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.7*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.5*E,.4*a,.5*E,a).close()),b.spot1=go.Spot.TopLeft,b.spot2=new go.Spot(1,.6),b}),go.Shape.defineFigureGenerator("ExternalOrganization",function(oe,E,a){var b=new go.Geometry,y=oe?oe.parameter1:NaN;(isNaN(y)||y<.2)&&(y=.2);var x=new go.PathFigure(0,0,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,E,0)),x.add(new go.PathSegment(go.PathSegment.Line,E,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var ee=new go.PathFigure(y*E,0,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,0,y*a)),ee.add(new go.PathSegment(go.PathSegment.Move,E,y*a)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-y)*E,0)),ee.add(new go.PathSegment(go.PathSegment.Move,0,(1-y)*a)),ee.add(new go.PathSegment(go.PathSegment.Line,y*E,a)),ee.add(new go.PathSegment(go.PathSegment.Move,(1-y)*E,a)),ee.add(new go.PathSegment(go.PathSegment.Line,E,(1-y)*a)),b}),go.Shape.defineFigureGenerator("ExternalProcess",function(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(.5*E,0,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.5*a).close());var x=new go.PathFigure(.1*E,.4*a,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.1*E,.6*a)),x.add(new go.PathSegment(go.PathSegment.Move,.9*E,.6*a)),x.add(new go.PathSegment(go.PathSegment.Line,.9*E,.4*a)),x.add(new go.PathSegment(go.PathSegment.Move,.6*E,.1*a)),x.add(new go.PathSegment(go.PathSegment.Line,.4*E,.1*a)),x.add(new go.PathSegment(go.PathSegment.Move,.4*E,.9*a)),x.add(new go.PathSegment(go.PathSegment.Line,.6*E,.9*a)),b.spot1=new go.Spot(.25,.25),b.spot2=new go.Spot(.75,.75),b}),go.Shape.defineFigureGenerator("File",function(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(0,0,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.25*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var x=new go.PathFigure(.75*E,0,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.75*E,.25*a)),x.add(new go.PathSegment(go.PathSegment.Line,E,.25*a)),b.spot1=new go.Spot(0,.25),b.spot2=go.Spot.BottomRight,b}),go.Shape.defineFigureGenerator("Interrupt",function(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(E,.5*a,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a));var x=new go.PathFigure(E,.5*a,!1);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,E,a));var ee=new go.PathFigure(E,.5*a,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,E,0)),b.spot1=new go.Spot(0,.25),b.spot2=new go.Spot(.5,.75),b}),go.Shape.defineFigureGenerator("InternalStorage",function(oe,E,a){var b=new go.Geometry,y=oe?oe.parameter1:NaN,x=oe?oe.parameter2:NaN;isNaN(y)&&(y=.1),isNaN(x)&&(x=.1);var ee=new go.PathFigure(0,0,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,E,0)),ee.add(new go.PathSegment(go.PathSegment.Line,E,a)),ee.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var te=new go.PathFigure(y*E,0,!1);return b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y*E,a)),te.add(new go.PathSegment(go.PathSegment.Move,0,x*a)),te.add(new go.PathSegment(go.PathSegment.Line,E,x*a)),b}),go.Shape.defineFigureGenerator("Junction",function(oe,E,a){var b=new go.Geometry,y=1/Math.SQRT2,x=(1-1/Math.SQRT2)/2,ee=re*.5,te=.5,ae=new go.PathFigure(E,te*a,!0);b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,te*E,a,E,(te+ee)*a,(te+ee)*E,a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,0,te*a,(te-ee)*E,a,0,(te+ee)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,te*E,0,0,(te-ee)*a,(te-ee)*E,0)),ae.add(new go.PathSegment(go.PathSegment.Bezier,E,te*a,(te+ee)*E,0,E,(te-ee)*a));var ue=new go.PathFigure((x+y)*E,(x+y)*a,!1);return b.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,x*E,x*a)),ue.add(new go.PathSegment(go.PathSegment.Move,x*E,(x+y)*a)),ue.add(new go.PathSegment(go.PathSegment.Line,(x+y)*E,x*a)),b}),go.Shape.defineFigureGenerator("LinedDocument",function(oe,E,a){var b=new go.Geometry;a=a/.8;var y=new go.PathFigure(0,.7*a,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.7*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.5*E,.4*a,.5*E,a).close());var x=new go.PathFigure(.1*E,0,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.1*E,.75*a)),b.spot1=new go.Spot(.1,0),b.spot2=new go.Spot(1,.6),b}),go.Shape.defineFigureGenerator("LoopLimit",function(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(0,a,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),y.add(new go.PathSegment(go.PathSegment.Line,.25*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.25*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a).close()),b.spot1=new go.Spot(0,.25),b.spot2=go.Spot.BottomRight,b}),go.Shape.defineFigureGenerator("MagneticTape",function(oe,E,a){var b=new go.Geometry,y=re*.5,x=.5,ee=new go.PathFigure(.5*E,a,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,x*a,(x-y)*E,a,0,(x+y)*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,x*E,0,0,(x-y)*a,(x-y)*E,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,E,x*a,(x+y)*E,0,E,(x-y)*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,(x+.1)*E,.9*a,E,(x+y)*a,(x+y)*E,.9*a)),ee.add(new go.PathSegment(go.PathSegment.Line,E,.9*a)),ee.add(new go.PathSegment(go.PathSegment.Line,E,a)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),b.spot1=new go.Spot(.15,.15),b.spot2=new go.Spot(.85,.8),b}),go.Shape.defineFigureGenerator("ManualInput",function(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(E,0,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.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(oe,E,a){var b=new go.Geometry,y=oe?oe.parameter1:NaN;isNaN(y)&&(y=.7);var x=new go.PathFigure(0,0,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,E,0)),x.add(new go.PathSegment(go.PathSegment.Line,y*E,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,E,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),b.spot1=go.Spot.TopLeft,b}),go.Shape.defineFigureGenerator("MicroformProcessing",function(oe,E,a){var b=new go.Geometry,y=oe?oe.parameter1:NaN;isNaN(y)&&(y=.25);var x=new go.PathFigure(0,0,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*E,y*a)),x.add(new go.PathSegment(go.PathSegment.Line,E,0)),x.add(new go.PathSegment(go.PathSegment.Line,E,a)),x.add(new go.PathSegment(go.PathSegment.Line,.5*E,(1-y)*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),b}),go.Shape.defineFigureGenerator("MicroformRecording",function(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(0,0,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,.25*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.15*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.85*a)),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,.75*a)),y.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(oe,E,a){var b=new go.Geometry;a=a/.8;var y=new go.PathFigure(E,0,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.9*E,.44*a,.96*E,.47*a,.93*E,.45*a)),y.add(new go.PathSegment(go.PathSegment.Line,.9*E,.6*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,.54*a,.86*E,.57*a,.83*E,.55*a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,.7*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.4*E,.4*a,.4*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,.1*E,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,.1*E,.1*a)),y.add(new go.PathSegment(go.PathSegment.Line,.2*E,.1*a)),y.add(new go.PathSegment(go.PathSegment.Line,.2*E,0).close());var x=new go.PathFigure(.1*E,.2*a,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.8*E,.2*a)),x.add(new go.PathSegment(go.PathSegment.Line,.8*E,.54*a)),x.add(new go.PathSegment(go.PathSegment.Move,.2*E,.1*a)),x.add(new go.PathSegment(go.PathSegment.Line,.9*E,.1*a)),x.add(new go.PathSegment(go.PathSegment.Line,.9*E,.44*a)),b.spot1=new go.Spot(0,.25),b.spot2=new go.Spot(.8,.77),b}),go.Shape.defineFigureGenerator("MultiProcess",function(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(.1*E,.1*a,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.2*E,.1*a)),y.add(new go.PathSegment(go.PathSegment.Line,.2*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,.9*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,.9*E,.9*a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,.9*a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,.1*E,.2*a).close());var x=new go.PathFigure(.2*E,.1*a,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.9*E,.1*a)),x.add(new go.PathSegment(go.PathSegment.Line,.9*E,.8*a)),x.add(new go.PathSegment(go.PathSegment.Move,.1*E,.2*a)),x.add(new go.PathSegment(go.PathSegment.Line,.8*E,.2*a)),x.add(new go.PathSegment(go.PathSegment.Line,.8*E,.9*a)),b.spot1=new go.Spot(0,.2),b.spot2=new go.Spot(.8,1),b}),go.Shape.defineFigureGenerator("OfflineStorage",function(oe,E,a){var b=new go.Geometry,y=oe?oe.parameter1:NaN;isNaN(y)&&(y=.1);var x=1-y,ee=new go.PathFigure(0,0,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,E,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*E,a).close());var te=new go.PathFigure(.5*y*E,y*a,!1);return b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,(1-.5*y)*E,y*a)),b}),go.Shape.defineFigureGenerator("OffPageConnector",function(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(0,0,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,a)),y.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(oe,E,a){var b=new go.Geometry,y=re*.5,x=.5,ee=new go.PathFigure(E,x*a,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,x*E,a,E,(x+y)*a,(x+y)*E,a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,x*a,(x-y)*E,a,0,(x+y)*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,x*E,0,0,(x-y)*a,(x-y)*E,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,E,x*a,(x+y)*E,0,E,(x-y)*a));var te=new go.PathFigure(E,.5*a,!1);return b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),te.add(new go.PathSegment(go.PathSegment.Move,.5*E,a)),te.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),b}),go.Shape.defineFigureGenerator("PaperTape",function(oe,E,a){var b=new go.Geometry;a=a/.8;var y=new go.PathFigure(0,.7*a,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.3*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,E,.3*a,.5*E,.6*a,.5*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.7*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.5*E,.4*a,.5*E,a).close()),b.spot1=new go.Spot(0,.49),b.spot2=new go.Spot(1,.75),b}),go.Shape.defineFigureGenerator("PrimitiveFromCall",function(oe,E,a){var b=new go.Geometry,y=oe?oe.parameter1:NaN,x=oe?oe.parameter2:NaN;isNaN(y)&&(y=.1),isNaN(x)&&(x=.3);var ee=new go.PathFigure(0,0,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,E,0)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-x)*E,.5*a)),ee.add(new go.PathSegment(go.PathSegment.Line,E,a)),ee.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),b}),go.Shape.defineFigureGenerator("PrimitiveToCall",function(oe,E,a){var b=new go.Geometry,y=oe?oe.parameter1:NaN,x=oe?oe.parameter2:NaN;isNaN(y)&&(y=.1),isNaN(x)&&(x=.3);var ee=new go.PathFigure(0,0,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,(1-x)*E,0)),ee.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-x)*E,a)),ee.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),b}),go.Shape.defineFigureGenerator("Procedure",function(oe,E,a){var b=new go.Geometry,y=oe?oe.parameter1:NaN;isNaN(y)&&(y=.1);var x=new go.PathFigure(0,0,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,E,0)),x.add(new go.PathSegment(go.PathSegment.Line,E,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var ee=new go.PathFigure((1-y)*E,0,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,(1-y)*E,a)),ee.add(new go.PathSegment(go.PathSegment.Move,y*E,0)),ee.add(new go.PathSegment(go.PathSegment.Line,y*E,a)),b}),go.Shape.defineFigureGenerator("Process",function(oe,E,a){var b=new go.Geometry,y=oe?oe.parameter1:NaN;isNaN(y)&&(y=.1);var x=new go.PathFigure(0,0,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,E,0)),x.add(new go.PathSegment(go.PathSegment.Line,E,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var ee=new go.PathFigure(y*E,0,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,y*E,a)),b.spot2=go.Spot.BottomRight,b}),go.Shape.defineFigureGenerator("Sort",function(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(.5*E,0,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),y.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,E,.5*a)),b.spot1=new go.Spot(.25,.25),b.spot2=new go.Spot(.75,.5),b}),go.Shape.defineFigureGenerator("Start",function(oe,E,a){var b=new go.Geometry,y=oe?oe.parameter1:NaN;isNaN(y)&&(y=.25);var x=new go.PathFigure(y*E,0,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*E,.5*a,.25*E,.5*a)),x.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*E,.5*a,.25*E,.5*a));var ee=new go.PathFigure(y*E,0,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,y*E,a)),ee.add(new go.PathSegment(go.PathSegment.Move,(1-y)*E,0)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-y)*E,a)),b.spot1=new go.Spot(y,0),b.spot2=new go.Spot(1-y,1),b}),go.Shape.defineFigureGenerator("Terminator",function(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(.25*E,0,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*E,.5*a,.25*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*E,.5*a,.25*E,.5*a)),b.spot1=new go.Spot(.23,0),b.spot2=new go.Spot(.77,1),b}),go.Shape.defineFigureGenerator("TransmittalTape",function(oe,E,a){var b=new go.Geometry,y=oe?oe.parameter1:NaN;isNaN(y)&&(y=.1);var x=new go.PathFigure(0,0,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,E,0)),x.add(new go.PathSegment(go.PathSegment.Line,E,a)),x.add(new go.PathSegment(go.PathSegment.Line,.75*E,(1-y)*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,(1-y)*a).close()),b.spot1=go.Spot.TopLeft,b}),go.Shape.defineFigureGenerator("AndGate",function(oe,E,a){var b=new go.Geometry,y=re*.5,x=new go.PathFigure(0,0,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),x.add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,(.5+y)*E,0,E,(.5-y)*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,E,(.5+y)*a,(.5+y)*E,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(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(0,0,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.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(oe,E,a){var b=new go.Geometry,y=re*.5,x=.5,ee=new go.PathFigure(E,x*a,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,x*E,a,E,(x+y)*a,(x+y)*E,a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,x*a,(x-y)*E,a,0,(x+y)*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,x*E,0,0,(x-y)*a,(x-y)*E,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,E,x*a,(x+y)*E,0,E,(x-y)*a));var te=new go.PathFigure(E,x*a,!1);b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E,x*a));var ae=new go.PathFigure(.8*E,.75*a,!1);return b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,.8*E,.25*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.6*E,.25*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.6*E,.75*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.4*E,.75*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.4*E,.25*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.2*E,.25*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.2*E,.75*a)),b}),go.Shape.defineFigureGenerator("Ground",function(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(.5*E,0,!1);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.4*a)),y.add(new go.PathSegment(go.PathSegment.Move,.2*E,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,.6*a)),y.add(new go.PathSegment(go.PathSegment.Move,.3*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,.7*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Move,.4*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.6*E,a)),b}),go.Shape.defineFigureGenerator("Inverter",function(oe,E,a){var b=new go.Geometry,y=re*.1,x=.1,ee=.9,te=.5,ae=new go.PathFigure(.8*E,.5*a,!0);b.add(ae),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,.8*E,.5*a));var ue=new go.PathFigure((ee+x)*E,te*a,!0);return b.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(te+x)*a,(ee+x)*E,(te+y)*a,(ee+y)*E,(te+x)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(ee-x)*E,te*a,(ee-y)*E,(te+x)*a,(ee-x)*E,(te+y)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(te-x)*a,(ee-x)*E,(te-y)*a,(ee-y)*E,(te-x)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(ee+x)*E,te*a,(ee+y)*E,(te-x)*a,(ee+x)*E,(te-y)*a)),b.spot1=new go.Spot(0,.25),b.spot2=new go.Spot(.4,.75),b}),go.Shape.defineFigureGenerator("NandGate",function(oe,E,a){var b=new go.Geometry,y=re*.5,x=re*.4,ee=re*.1,te=.1,ae=.9,ue=.5,de=new go.PathFigure(.8*E,.5*a,!0);b.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,.4*E,a,.8*E,(.5+x)*a,(.4+y)*E,a)),de.add(new go.PathSegment(go.PathSegment.Line,0,a)),de.add(new go.PathSegment(go.PathSegment.Line,0,0)),de.add(new go.PathSegment(go.PathSegment.Line,.4*E,0)),de.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,.5*a,(.4+y)*E,0,.8*E,(.5-x)*a));var me=new go.PathFigure((ae+te)*E,ue*a,!0);return b.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,ae*E,(ue+te)*a,(ae+te)*E,(ue+ee)*a,(ae+ee)*E,(ue+te)*a)),me.add(new go.PathSegment(go.PathSegment.Bezier,(ae-te)*E,ue*a,(ae-ee)*E,(ue+te)*a,(ae-te)*E,(ue+ee)*a)),me.add(new go.PathSegment(go.PathSegment.Bezier,ae*E,(ue-te)*a,(ae-te)*E,(ue-ee)*a,(ae-ee)*E,(ue-te)*a)),me.add(new go.PathSegment(go.PathSegment.Bezier,(ae+te)*E,ue*a,(ae+ee)*E,(ue-te)*a,(ae+te)*E,(ue-ee)*a)),b.spot1=new go.Spot(0,.05),b.spot2=new go.Spot(.55,.95),b}),go.Shape.defineFigureGenerator("NorGate",function(oe,E,a){var b=new go.Geometry,y=.5,x=re*y,ee=0,te=.5,ae=new go.PathFigure(.8*E,.5*a,!0);b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,0,a,.7*E,(te+x)*a,(ee+x)*E,(te+y)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*E,.75*a,.25*E,.25*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,.5*a,(ee+x)*E,(te-y)*a,.7*E,(te-x)*a)),y=.1,x=re*.1,ee=.9,te=.5;var ue=new go.PathFigure((ee-y)*E,te*a,!0);return b.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(te-y)*a,(ee-y)*E,(te-x)*a,(ee-x)*E,(te-y)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(ee+y)*E,te*a,(ee+x)*E,(te-y)*a,(ee+y)*E,(te-x)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(te+y)*a,(ee+y)*E,(te+x)*a,(ee+x)*E,(te+y)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(ee-y)*E,te*a,(ee-x)*E,(te+y)*a,(ee-y)*E,(te+x)*a)),b.spot1=new go.Spot(.2,.25),b.spot2=new go.Spot(.6,.75),b}),go.Shape.defineFigureGenerator("OrGate",function(oe,E,a){var b=new go.Geometry,y=.5,x=re*y,ee=0,te=.5,ae=new go.PathFigure(0,0,!0);return b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,(ee+x+x)*E,(te-y)*a,.8*E,(te-x)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,0,a,.8*E,(te+x)*a,(ee+x+x)*E,(te+y)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*E,.75*a,.25*E,.25*a).close()),b.spot1=new go.Spot(.2,.25),b.spot2=new go.Spot(.75,.75),b}),go.Shape.defineFigureGenerator("XnorGate",function(oe,E,a){var b=new go.Geometry,y=.5,x=re*y,ee=.2,te=.5,ae=new go.PathFigure(.1*E,0,!1);b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,.1*E,a,.35*E,.25*a,.35*E,.75*a));var ue=new go.PathFigure(.8*E,.5*a,!0);b.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,.2*E,a,.7*E,(te+x)*a,(ee+x)*E,(te+y)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,.2*E,0,.45*E,.75*a,.45*E,.25*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,.5*a,(ee+x)*E,(te-y)*a,.7*E,(te-x)*a)),y=.1,x=re*.1,ee=.9,te=.5;var de=new go.PathFigure((ee-y)*E,te*a,!0);return b.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(te-y)*a,(ee-y)*E,(te-x)*a,(ee-x)*E,(te-y)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,(ee+y)*E,te*a,(ee+x)*E,(te-y)*a,(ee+y)*E,(te-x)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(te+y)*a,(ee+y)*E,(te+x)*a,(ee+x)*E,(te+y)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,(ee-y)*E,te*a,(ee-x)*E,(te+y)*a,(ee-y)*E,(te+x)*a)),b.spot1=new go.Spot(.4,.25),b.spot2=new go.Spot(.65,.75),b}),go.Shape.defineFigureGenerator("XorGate",function(oe,E,a){var b=new go.Geometry,y=.5,x=re*y,ee=.2,te=.5,ae=new go.PathFigure(.1*E,0,!1);b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,.1*E,a,.35*E,.25*a,.35*E,.75*a));var ue=new go.PathFigure(.2*E,0,!0);return b.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,(ee+x)*E,(te-y)*a,.9*E,(te-x)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,.2*E,a,.9*E,(te+x)*a,(ee+x)*E,(te+y)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,.2*E,0,.45*E,.75*a,.45*E,.25*a).close()),b.spot1=new go.Spot(.4,.25),b.spot2=new go.Spot(.8,.75),b}),go.Shape.defineFigureGenerator("Capacitor",function(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(0,0,!1);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Move,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),b}),go.Shape.defineFigureGenerator("Resistor",function(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(0,.5*a,!1);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.1*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.2*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.3*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.4*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.6*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.7*E,.5*a)),b}),go.Shape.defineFigureGenerator("Inductor",function(oe,E,a){var b=new go.Geometry,y=re*.1,x=.1,ee=.1,te=.5,ae=new go.PathFigure((ee-y*.5)*E,a,!1);return b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,(ee+x)*E,0,(ee-y)*E,a,(ee-x)*E,0)),ee=.3,ae.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,a,(ee+x)*E,0,(ee+y)*E,a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(ee+x)*E,0,(ee-y)*E,a,(ee-x)*E,0)),ee=.5,ae.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,a,(ee+x)*E,0,(ee+y)*E,a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(ee+x)*E,0,(ee-y)*E,a,(ee-x)*E,0)),ee=.7,ae.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,a,(ee+x)*E,0,(ee+y)*E,a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(ee+x)*E,0,(ee-y)*E,a,(ee-x)*E,0)),ee=.9,ae.add(new go.PathSegment(go.PathSegment.Bezier,(ee+y*.5)*E,a,(ee+x)*E,0,(ee+y)*E,a)),b}),go.Shape.defineFigureGenerator("ACvoltageSource",function(oe,E,a){var b=new go.Geometry,y=re*.5,x=.5,ee=.5,te=.5,ae=new go.PathFigure((ee-x)*E,te*a,!1);return b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(te-x)*a,(ee-x)*E,(te-y)*a,(ee-y)*E,(te-x)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(ee+x)*E,te*a,(ee+y)*E,(te-x)*a,(ee+x)*E,(te-y)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(te+x)*a,(ee+x)*E,(te+y)*a,(ee+y)*E,(te+x)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(ee-x)*E,te*a,(ee-y)*E,(te+x)*a,(ee-x)*E,(te+y)*a)),ae.add(new go.PathSegment(go.PathSegment.Move,(ee-x+.1)*E,te*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(ee+x-.1)*E,te*a,ee*E,(te-x)*a,ee*E,(te+x)*a)),b}),go.Shape.defineFigureGenerator("DCvoltageSource",function(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(0,.75*a,!1);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),y.add(new go.PathSegment(go.PathSegment.Move,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),b}),go.Shape.defineFigureGenerator("Diode",function(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(E,0,!1);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),b.spot1=new go.Spot(0,.25),b.spot2=new go.Spot(.5,.75),b}),go.Shape.defineFigureGenerator("Wifi",function(oe,E,a){var b=new go.Geometry,y=E,x=a;E=E*.38,a=a*.6;var ee=re*.8,te=.8,ae=0,ue=.5,de=(y-E)/2,me=(x-a)/2,Be=new go.PathFigure(ae*E+de,(ue+te)*a+me,!0);b.add(Be),Be.add(new go.PathSegment(go.PathSegment.Bezier,(ae-te)*E+de,ue*a+me,(ae-ee)*E+de,(ue+te)*a+me,(ae-te)*E+de,(ue+ee)*a+me)),Be.add(new go.PathSegment(go.PathSegment.Bezier,ae*E+de,(ue-te)*a+me,(ae-te)*E+de,(ue-ee)*a+me,(ae-ee)*E+de,(ue-te)*a+me)),Be.add(new go.PathSegment(go.PathSegment.Bezier,(ae-te+ee*.5)*E+de,ue*a+me,ae*E+de,(ue-te)*a+me,(ae-te+ee*.5)*E+de,(ue-ee)*a+me)),Be.add(new go.PathSegment(go.PathSegment.Bezier,ae*E+de,(ue+te)*a+me,(ae-te+ee*.5)*E+de,(ue+ee)*a+me,ae*E+de,(ue+te)*a+me).close()),ee=re*.4,te=.4,ae=.2,ue=.5;var ve=new go.PathFigure(ae*E+de,(ue+te)*a+me,!0);b.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,(ae-te)*E+de,ue*a+me,(ae-ee)*E+de,(ue+te)*a+me,(ae-te)*E+de,(ue+ee)*a+me)),ve.add(new go.PathSegment(go.PathSegment.Bezier,ae*E+de,(ue-te)*a+me,(ae-te)*E+de,(ue-ee)*a+me,(ae-ee)*E+de,(ue-te)*a+me)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(ae-te+ee*.5)*E+de,ue*a+me,ae*E+de,(ue-te)*a+me,(ae-te+ee*.5)*E+de,(ue-ee)*a+me)),ve.add(new go.PathSegment(go.PathSegment.Bezier,ae*E+de,(ue+te)*a+me,(ae-te+ee*.5)*E+de,(ue+ee)*a+me,ae*E+de,(ue+te)*a+me).close()),ee=re*.2,te=.2,ae=.5,ue=.5;var Fe=new go.PathFigure((ae-te)*E+de,ue*a+me,!0);b.add(Fe),Fe.add(new go.PathSegment(go.PathSegment.Bezier,ae*E+de,(ue-te)*a+me,(ae-te)*E+de,(ue-ee)*a+me,(ae-ee)*E+de,(ue-te)*a+me)),Fe.add(new go.PathSegment(go.PathSegment.Bezier,(ae+te)*E+de,ue*a+me,(ae+ee)*E+de,(ue-te)*a+me,(ae+te)*E+de,(ue-ee)*a+me)),Fe.add(new go.PathSegment(go.PathSegment.Bezier,ae*E+de,(ue+te)*a+me,(ae+te)*E+de,(ue+ee)*a+me,(ae+ee)*E+de,(ue+te)*a+me)),Fe.add(new go.PathSegment(go.PathSegment.Bezier,(ae-te)*E+de,ue*a+me,(ae-ee)*E+de,(ue+te)*a+me,(ae-te)*E+de,(ue+ee)*a+me)),ee=re*.4,te=.4,ae=.8,ue=.5;var ge=new go.PathFigure(ae*E+de,(ue-te)*a+me,!0);b.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,(ae+te)*E+de,ue*a+me,(ae+ee)*E+de,(ue-te)*a+me,(ae+te)*E+de,(ue-ee)*a+me)),ge.add(new go.PathSegment(go.PathSegment.Bezier,ae*E+de,(ue+te)*a+me,(ae+te)*E+de,(ue+ee)*a+me,(ae+ee)*E+de,(ue+te)*a+me)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(ae+te-ee*.5)*E+de,ue*a+me,ae*E+de,(ue+te)*a+me,(ae+te-ee*.5)*E+de,(ue+ee)*a+me)),ge.add(new go.PathSegment(go.PathSegment.Bezier,ae*E+de,(ue-te)*a+me,(ae+te-ee*.5)*E+de,(ue-ee)*a+me,ae*E+de,(ue-te)*a+me).close()),ee=re*.8,te=.8,ae=1,ue=.5;var Je=new go.PathFigure(ae*E+de,(ue-te)*a+me,!0);return b.add(Je),Je.add(new go.PathSegment(go.PathSegment.Bezier,(ae+te)*E+de,ue*a+me,(ae+ee)*E+de,(ue-te)*a+me,(ae+te)*E+de,(ue-ee)*a+me)),Je.add(new go.PathSegment(go.PathSegment.Bezier,ae*E+de,(ue+te)*a+me,(ae+te)*E+de,(ue+ee)*a+me,(ae+ee)*E+de,(ue+te)*a+me)),Je.add(new go.PathSegment(go.PathSegment.Bezier,(ae+te-ee*.5)*E+de,ue*a+me,ae*E+de,(ue+te)*a+me,(ae+te-ee*.5)*E+de,(ue+ee)*a+me)),Je.add(new go.PathSegment(go.PathSegment.Bezier,ae*E+de,(ue-te)*a+me,(ae+te-ee*.5)*E+de,(ue-ee)*a+me,ae*E+de,(ue-te)*a+me).close()),b}),go.Shape.defineFigureGenerator("Email",function(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(0,0,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.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*E,.6*a)),x.add(new go.PathSegment(go.PathSegment.Line,E,0)),x.add(new go.PathSegment(go.PathSegment.Move,0,a)),x.add(new go.PathSegment(go.PathSegment.Line,.45*E,.54*a)),x.add(new go.PathSegment(go.PathSegment.Move,E,a)),x.add(new go.PathSegment(go.PathSegment.Line,.55*E,.54*a)),b}),go.Shape.defineFigureGenerator("Ethernet",function(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(.35*E,0,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.65*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.65*E,.4*a)),y.add(new go.PathSegment(go.PathSegment.Line,.35*E,.4*a)),y.add(new go.PathSegment(go.PathSegment.Line,.35*E,0).close());var x=new go.PathFigure(.1*E,a,!0,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.4*E,a)),x.add(new go.PathSegment(go.PathSegment.Line,.4*E,.6*a)),x.add(new go.PathSegment(go.PathSegment.Line,.1*E,.6*a)),x.add(new go.PathSegment(go.PathSegment.Line,.1*E,a).close());var ee=new go.PathFigure(.6*E,a,!0,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.9*E,a)),ee.add(new go.PathSegment(go.PathSegment.Line,.9*E,.6*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.6*E,.6*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.6*E,a).close());var te=new go.PathFigure(0,.5*a,!1);return b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),te.add(new go.PathSegment(go.PathSegment.Move,.5*E,.5*a)),te.add(new go.PathSegment(go.PathSegment.Line,.5*E,.4*a)),te.add(new go.PathSegment(go.PathSegment.Move,.75*E,.5*a)),te.add(new go.PathSegment(go.PathSegment.Line,.75*E,.6*a)),te.add(new go.PathSegment(go.PathSegment.Move,.25*E,.5*a)),te.add(new go.PathSegment(go.PathSegment.Line,.25*E,.6*a)),b}),go.Shape.defineFigureGenerator("Power",function(oe,E,a){var b=new go.Geometry,y=re*.4,x=.4,ee=.5,te=.5,ae=z(),ue=z(),de=z(),me=z();Me(ee,te-x,ee+y,te-x,ee+x,te-y,ee+x,te,.5,ae,ae,ue,de,me);var Be=ne(ue.x,ue.y),ve=new go.PathFigure(ue.x*E,ue.y*a,!0);b.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,(ee+x)*E,te*a,de.x*E,de.y*a,me.x*E,me.y*a)),ve.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(te+x)*a,(ee+x)*E,(te+y)*a,(ee+y)*E,(te+x)*a)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(ee-x)*E,te*a,(ee-y)*E,(te+x)*a,(ee-x)*E,(te+y)*a)),Me(ee-x,te,ee-x,te-y,ee-y,te-x,ee,te-x,.5,de,me,ue,ae,ae),ve.add(new go.PathSegment(go.PathSegment.Bezier,ue.x*E,ue.y*a,de.x*E,de.y*a,me.x*E,me.y*a)),y=re*.3,x=.3,Me(ee-x,te,ee-x,te-y,ee-y,te-x,ee,te-x,.5,de,me,ue,ae,ae),ve.add(new go.PathSegment(go.PathSegment.Line,ue.x*E,ue.y*a)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(ee-x)*E,te*a,me.x*E,me.y*a,de.x*E,de.y*a)),ve.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(te+x)*a,(ee-x)*E,(te+y)*a,(ee-y)*E,(te+x)*a)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(ee+x)*E,te*a,(ee+y)*E,(te+x)*a,(ee+x)*E,(te+y)*a)),Me(ee,te-x,ee+y,te-x,ee+x,te-y,ee+x,te,.5,ae,ae,ue,de,me),ve.add(new go.PathSegment(go.PathSegment.Bezier,ue.x*E,ue.y*a,me.x*E,me.y*a,de.x*E,de.y*a).close());var ve=new go.PathFigure(.45*E,0,!0);return b.add(ve),ve.add(new go.PathSegment(go.PathSegment.Line,.45*E,.5*a)),ve.add(new go.PathSegment(go.PathSegment.Line,.55*E,.5*a)),ve.add(new go.PathSegment(go.PathSegment.Line,.55*E,0).close()),ie(ae),ie(ue),ie(de),ie(me),ie(Be),b.spot1=new go.Spot(.25,.45),b.spot2=new go.Spot(.75,.8),b}),go.Shape.defineFigureGenerator("Fallout",function(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(0,a/2,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,180,360,E/2,a/2,E/2,a/2));function x(ee,te,ae){ee.add(new go.PathSegment(go.PathSegment.Move,(.3+te)*E,(.8+ae)*a)),ee.add(new go.PathSegment(go.PathSegment.Line,(.5+te)*E,(.5+ae)*a)),ee.add(new go.PathSegment(go.PathSegment.Line,(.1+te)*E,(.5+ae)*a)),ee.add(new go.PathSegment(go.PathSegment.Line,(.3+te)*E,(.8+ae)*a).close())}return x(y,0,0),x(y,.4,0),x(y,.2,-.3),b}),go.Shape.defineFigureGenerator("IrritationHazard",function(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(.2*E,0,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.3*a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,.7*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.7*a)),y.add(new go.PathSegment(go.PathSegment.Line,.2*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,.3*E,.5*a)),y.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(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(.37*E,0,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.11*a)),y.add(new go.PathSegment(go.PathSegment.Line,.77*E,.04*a)),y.add(new go.PathSegment(go.PathSegment.Line,.33*E,.49*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.37*a)),y.add(new go.PathSegment(go.PathSegment.Line,.63*E,.86*a)),y.add(new go.PathSegment(go.PathSegment.Line,.77*E,.91*a)),y.add(new go.PathSegment(go.PathSegment.Line,.34*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.34*E,.78*a)),y.add(new go.PathSegment(go.PathSegment.Line,.44*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,.65*E,.56*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.68*a).close()),b}),go.Shape.defineFigureGenerator("FireHazard",function(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(.1*E,a,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,.29*E,0,-.25*E,.63*a,.45*E,.44*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.51*E,.42*a,.48*E,.17*a,.54*E,.35*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.59*E,.18*a,.59*E,.29*a,.58*E,.28*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.75*E,.6*a,.8*E,.34*a,.88*E,.43*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.88*E,.31*a,.87*E,.48*a,.88*E,.43*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.9*E,a,1.17*E,.76*a,.82*E,.8*a).close()),b.spot1=new go.Spot(.07,.445),b.spot2=new go.Spot(.884,.958),b}),go.Shape.defineFigureGenerator("BpmnActivityLoop",function(oe,E,a){var b=new go.Geometry,y=.5,x=0,ee=0,te=y*re,ae=.4*Math.SQRT2/2+.5,ue=.5-.5*Math.SQRT2/2,de=1,me=.5,Be=.5,ve=0,Fe=new go.PathFigure(ae*E,(1-ue)*a,!1);return b.add(Fe),Fe.add(new go.PathSegment(go.PathSegment.Bezier,de*E,me*a,de*E,.7*a,de*E,me*a)),Fe.add(new go.PathSegment(go.PathSegment.Bezier,(Be+x)*E,(ve+x)*a,(.5+y+x)*E,(.5-te+x)*a,(.5+te+x)*E,(.5-y+x)*a)),Fe.add(new go.PathSegment(go.PathSegment.Bezier,(.5-y+x)*E,(.5+ee)*a,(.5-te+x)*E,(.5-y+ee)*a,(.5-y+x)*E,(.5-te+ee)*a)),Fe.add(new go.PathSegment(go.PathSegment.Bezier,(.35+x)*E,.9*a,(.5-y+x)*E,(.5+te+ee)*a,(.5-te+x)*E,.9*a)),Fe.add(new go.PathSegment(go.PathSegment.Move,(.25+x)*E,.8*a)),Fe.add(new go.PathSegment(go.PathSegment.Line,(.35+x)*E,.9*a)),Fe.add(new go.PathSegment(go.PathSegment.Line,(.2+x)*E,.95*a)),b}),go.Shape.defineFigureGenerator("BpmnActivityParallel",function(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(0,0,!1);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Move,.5*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),y.add(new go.PathSegment(go.PathSegment.Move,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),b}),go.Shape.defineFigureGenerator("BpmnActivitySequential",function(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(0,0,!1);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Move,0,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Move,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),b}),go.Shape.defineFigureGenerator("BpmnActivityAdHoc",function(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(0,0,!1);b.add(y);var x=new go.PathFigure(E,a,!1);b.add(x);var ee=new go.PathFigure(0,.5*a,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.5*a,.2*E,.35*a,.3*E,.35*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,.7*E,.65*a,.8*E,.65*a)),b}),go.Shape.defineFigureGenerator("BpmnActivityCompensation",function(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(0,.5*a,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a).close()),b}),go.Shape.defineFigureGenerator("BpmnTaskMessage",function(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(0,.2*a,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.8*a).close());var y=new go.PathFigure(0,.2*a,!1);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.2*a)),b}),go.Shape.defineFigureGenerator("BpmnTaskScript",function(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(.7*E,a,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.3*E,a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.3*E,0,.6*E,.5*a,0,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.7*E,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,.7*E,a,.4*E,.5*a,E,.5*a).close());var x=new go.PathFigure(.45*E,.73*a,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.7*E,.73*a)),x.add(new go.PathSegment(go.PathSegment.Move,.38*E,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,.63*E,.5*a)),x.add(new go.PathSegment(go.PathSegment.Move,.31*E,.27*a)),x.add(new go.PathSegment(go.PathSegment.Line,.56*E,.27*a)),b}),go.Shape.defineFigureGenerator("BpmnTaskUser",function(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(0,0,!1);b.add(y);var x=new go.PathFigure(.335*E,(1-.555)*a,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.335*E,(1-.405)*a)),x.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*E,(1-.405)*a)),x.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*E,(1-.555)*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,E,.68*a,(1-.12)*E,.46*a,(1-.02)*E,.54*a)),x.add(new go.PathSegment(go.PathSegment.Line,E,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*E,(1-.555)*a,.02*E,.54*a,.12*E,.46*a)),x.add(new go.PathSegment(go.PathSegment.Line,.365*E,(1-.595)*a));var ee=.5-.285,te=.5,ae=ee,ue=Math.PI/4,de=4*(1-Math.cos(ue))/(3*Math.sin(ue)),me=de*.5,Be=ee,ve=ee,Fe=de*Be,ge=de*ve;x.add(new go.PathSegment(go.PathSegment.Bezier,(te-Be)*E,ae*a,(te-(Fe+Be)/2)*E,(ae+(ve+ge)/2)*a,(te-Be)*E,(ae+ge)*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(ae-ve)*a,(te-Be)*E,(ae-ge)*a,(te-Fe)*E,(ae-ve)*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,(te+Be)*E,ae*a,(te+Fe)*E,(ae-ve)*a,(te+Be)*E,(ae-ge)*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,(1-.365)*E,(1-.595)*a,(te+Be)*E,(ae+ge)*a,(te+(Fe+Be)/2)*E,(ae+(ve+ge)/2)*a)),x.add(new go.PathSegment(go.PathSegment.Line,(1-.365)*E,(1-.595)*a)),x.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*E,(1-.555)*a)),x.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*E,(1-.405)*a)),x.add(new go.PathSegment(go.PathSegment.Line,.335*E,(1-.405)*a));var Je=new go.PathFigure(.2*E,a,!1);b.add(Je),Je.add(new go.PathSegment(go.PathSegment.Line,.2*E,.8*a));var Ie=new go.PathFigure(.8*E,a,!1);return b.add(Ie),Ie.add(new go.PathSegment(go.PathSegment.Line,.8*E,.8*a)),b}),go.Shape.defineFigureGenerator("BpmnEventConditional",function(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(.1*E,0,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.9*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.9*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.1*E,a).close());var x=new go.PathFigure(.2*E,.2*a,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.8*E,.2*a)),x.add(new go.PathSegment(go.PathSegment.Move,.2*E,.4*a)),x.add(new go.PathSegment(go.PathSegment.Line,.8*E,.4*a)),x.add(new go.PathSegment(go.PathSegment.Move,.2*E,.6*a)),x.add(new go.PathSegment(go.PathSegment.Line,.8*E,.6*a)),x.add(new go.PathSegment(go.PathSegment.Move,.2*E,.8*a)),x.add(new go.PathSegment(go.PathSegment.Line,.8*E,.8*a)),b}),go.Shape.defineFigureGenerator("BpmnEventError",function(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(0,a,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.33*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.66*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.66*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.33*E,.5*a).close()),b}),go.Shape.defineFigureGenerator("BpmnEventEscalation",function(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(0,0,!1);b.add(y);var x=new go.PathFigure(E,a,!1);b.add(x);var ee=new go.PathFigure(.1*E,a,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.9*E,a)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a).close()),b}),go.Shape.defineFigureGenerator("Caution",function(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(.05*E,a,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,.1*E,.8*a,0,a,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,.45*E,.1*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.55*E,.1*a,.5*E,0,.5*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.95*E,.9*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.9*E,a,E,a,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.05*E,a));var x=.05;return y.add(new go.PathSegment(go.PathSegment.Move,(.5-x)*E,.875*a)),y.add(new go.PathSegment(go.PathSegment.Arc,180,-360,.5*E,.875*a,x*E,x*a)),y.add(new go.PathSegment(go.PathSegment.Move,.5*E,.75*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.325*a,.575*E,.725*a,.625*E,.375*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.75*a,.375*E,.375*a,.425*E,.725*a)),b}),go.Shape.defineFigureGenerator("Recycle",function(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(.45*E,.95*a,!1);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.2*E,.95*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.185*E,.85*a,.17*E,.95*a,.15*E,.9*a)),y.add(new go.PathSegment(go.PathSegment.Line,.235*E,.75*a)),y.add(new go.PathSegment(go.PathSegment.Line,.3*E,.625*a)),y.add(new go.PathSegment(go.PathSegment.Line,.35*E,.65*a)),y.add(new go.PathSegment(go.PathSegment.Line,.275*E,.45*a)),y.add(new go.PathSegment(go.PathSegment.Line,.05*E,.45*a)),y.add(new go.PathSegment(go.PathSegment.Line,.1*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.05*E,.575*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.1875*E,.95*a,0,.675*a,0,.7*a)),y.add(new go.PathSegment(go.PathSegment.Move,.45*E,.95*a)),y.add(new go.PathSegment(go.PathSegment.Line,.45*E,.775*a)),y.add(new go.PathSegment(go.PathSegment.Line,.22*E,.775*a));var x=new go.PathFigure(.475*E,.2*a,!1);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.4*E,.4*a)),x.add(new go.PathSegment(go.PathSegment.Line,.225*E,.3*a)),x.add(new go.PathSegment(go.PathSegment.Line,.275*E,.175*a)),x.add(new go.PathSegment(go.PathSegment.Line,.325*E,.05*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,.4*E,.05*a,.35*E,0,.375*E,0)),x.add(new go.PathSegment(go.PathSegment.Line,.575*E,.375*a)),x.add(new go.PathSegment(go.PathSegment.Line,.525*E,.4*a)),x.add(new go.PathSegment(go.PathSegment.Line,.75*E,.475*a)),x.add(new go.PathSegment(go.PathSegment.Line,.85*E,.315*a)),x.add(new go.PathSegment(go.PathSegment.Line,.8*E,.32*a)),x.add(new go.PathSegment(go.PathSegment.Line,.65*E,.05*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,.575*E,0,.65*E,.05*a,.625*E,0)),x.add(new go.PathSegment(go.PathSegment.Line,.38*E,.0105*a));var ee=new go.PathFigure(.675*E,.575*a,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.875*E,.525*a)),ee.add(new go.PathSegment(go.PathSegment.Line,E,.775*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.85*E,.95*a,E,.8*a,E,.85*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.65*E,.95*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.65*E,a)),ee.add(new go.PathSegment(go.PathSegment.Line,.55*E,.85*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.65*E,.725*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.65*E,.775*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*E,.775*a)),ee.add(new go.PathSegment(go.PathSegment.Line,E,.775*a)),ee.add(new go.PathSegment(go.PathSegment.Move,.675*E,.575*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.775*E,.775*a)),b}),go.Shape.defineFigureGenerator("BpmnEventTimer",function(oe,E,a){var b=new go.Geometry,y=.5,x=re*.5,ee=new go.PathFigure(E,y*a,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,y*E,a,E,(y+x)*a,(y+x)*E,a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,y*a,(y-x)*E,a,0,(y+x)*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,y*E,0,0,(y-x)*a,(y-x)*E,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,E,y*a,(y+x)*E,0,E,(y-x)*a));var te=new go.PathFigure(y*E,0,!1);return b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y*E,.15*a)),te.add(new go.PathSegment(go.PathSegment.Move,y*E,a)),te.add(new go.PathSegment(go.PathSegment.Line,y*E,.85*a)),te.add(new go.PathSegment(go.PathSegment.Move,0,y*a)),te.add(new go.PathSegment(go.PathSegment.Line,.15*E,y*a)),te.add(new go.PathSegment(go.PathSegment.Move,E,y*a)),te.add(new go.PathSegment(go.PathSegment.Line,.85*E,y*a)),te.add(new go.PathSegment(go.PathSegment.Move,y*E,y*a)),te.add(new go.PathSegment(go.PathSegment.Line,.58*E,.1*a)),te.add(new go.PathSegment(go.PathSegment.Move,y*E,y*a)),te.add(new go.PathSegment(go.PathSegment.Line,.78*E,.54*a)),b}),go.Shape.defineFigureGenerator("Package",function(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(0,.15*a,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,.15*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.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*E,0)),x.add(new go.PathSegment(go.PathSegment.Line,.65*E,.15*a).close()),b.spot1=new go.Spot(0,.1),b.spot2=new go.Spot(1,1),b}),go.Shape.defineFigureGenerator("Class",function(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(0,0,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.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,E,.2*a).close());var ee=new go.PathFigure(0,.5*a,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,E,.5*a).close()),b}),go.Shape.defineFigureGenerator("Component",function(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(E,a,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.15*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.15*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a).close());var x=new go.PathFigure(0,.2*a,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.45*E,.2*a)),x.add(new go.PathSegment(go.PathSegment.Line,.45*E,.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 ee=new go.PathFigure(0,.6*a,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.45*E,.6*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.45*E,.8*a)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.6*a).close()),b}),go.Shape.defineFigureGenerator("Boat Shipment",function(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(.15*E,.6*a,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.15*E,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,.15*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.85*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,.85*E,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.15*E,.6*a));var x=new go.PathFigure(.15*E,.6*a,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.85*E,.6*a)),b}),go.Shape.defineFigureGenerator("Customer/Supplier",function(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(E,a,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.66*E,.33*a)),y.add(new go.PathSegment(go.PathSegment.Line,.66*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.33*E,.33*a)),y.add(new go.PathSegment(go.PathSegment.Line,.33*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,0,.33*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a).close()),b}),go.Shape.defineFigureGenerator("Workcell",function(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(0,a,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.65*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.65*E,.4*a)),y.add(new go.PathSegment(go.PathSegment.Line,.35*E,.4*a)),y.add(new go.PathSegment(go.PathSegment.Line,.35*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),b}),go.Shape.defineFigureGenerator("Supermarket",function(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(0,0,!1);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.33*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.33*a)),y.add(new go.PathSegment(go.PathSegment.Move,E,.33*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.66*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.66*a)),y.add(new go.PathSegment(go.PathSegment.Move,E,.66*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),b}),go.Shape.defineFigureGenerator("TruckShipment",function(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(0,0,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.6*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.6*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var x=new go.PathFigure(E,.8*a,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,E,.4*a)),x.add(new go.PathSegment(go.PathSegment.Line,.6*E,.4*a)),x.add(new go.PathSegment(go.PathSegment.Line,.6*E,.8*a)),x.add(new go.PathSegment(go.PathSegment.Line,E,.8*a).close());var ee=.1,te=re*.1,ae=.2,ue=.9,de=new go.PathFigure((ae-ee)*E,ue*a,!0);b.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,ae*E,(ue-ee)*a,(ae-ee)*E,(ue-te)*a,(ae-te)*E,(ue-ee)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,(ae+ee)*E,ue*a,(ae+te)*E,(ue-ee)*a,(ae+ee)*E,(ue-te)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,ae*E,(ue+ee)*a,(ae+ee)*E,(ue+te)*a,(ae+te)*E,(ue+ee)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,(ae-ee)*E,ue*a,(ae-te)*E,(ue+ee)*a,(ae-ee)*E,(ue+te)*a).close()),ee=.1,te=re*.1,ae=.8,ue=.9;var me=new go.PathFigure((ae-ee)*E,ue*a,!0);return b.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,ae*E,(ue-ee)*a,(ae-ee)*E,(ue-te)*a,(ae-te)*E,(ue-ee)*a)),me.add(new go.PathSegment(go.PathSegment.Bezier,(ae+ee)*E,ue*a,(ae+te)*E,(ue-ee)*a,(ae+ee)*E,(ue-te)*a)),me.add(new go.PathSegment(go.PathSegment.Bezier,ae*E,(ue+ee)*a,(ae+ee)*E,(ue+te)*a,(ae+te)*E,(ue+ee)*a)),me.add(new go.PathSegment(go.PathSegment.Bezier,(ae-ee)*E,ue*a,(ae-te)*E,(ue+ee)*a,(ae-ee)*E,(ue+te)*a).close()),b}),go.Shape.defineFigureGenerator("KanbanPost",function(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(.2*E,0,!1);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.2*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,0)),y.add(new go.PathSegment(go.PathSegment.Move,.5*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.2*E,a)),y.add(new go.PathSegment(go.PathSegment.Move,.5*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,a)),b}),go.Shape.defineFigureGenerator("Forklift",function(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(0,0,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.4*E,0)),y.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*E,.8*a)),x.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,.5*a));var ee=new go.PathFigure(.5*E,.8*a,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*E,.1*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.55*E,.1*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.55*E,.8*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*E,.8*a));var te=new go.PathFigure(.5*E,.7*a,!1);b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E,.7*a));var ae=.1,ue=re*.1,de=.1,me=.9,Be=new go.PathFigure((de-ae)*E,me*a,!0);b.add(Be),Be.add(new go.PathSegment(go.PathSegment.Bezier,de*E,(me-ae)*a,(de-ae)*E,(me-ue)*a,(de-ue)*E,(me-ae)*a)),Be.add(new go.PathSegment(go.PathSegment.Bezier,(de+ae)*E,me*a,(de+ue)*E,(me-ae)*a,(de+ae)*E,(me-ue)*a)),Be.add(new go.PathSegment(go.PathSegment.Bezier,de*E,(me+ae)*a,(de+ae)*E,(me+ue)*a,(de+ue)*E,(me+ae)*a)),Be.add(new go.PathSegment(go.PathSegment.Bezier,(de-ae)*E,me*a,(de-ue)*E,(me+ae)*a,(de-ae)*E,(me+ue)*a)),ae=.1,ue=re*.1,de=.4,me=.9;var ve=new go.PathFigure((de-ae)*E,me*a,!0);return b.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,de*E,(me-ae)*a,(de-ae)*E,(me-ue)*a,(de-ue)*E,(me-ae)*a)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(de+ae)*E,me*a,(de+ue)*E,(me-ae)*a,(de+ae)*E,(me-ue)*a)),ve.add(new go.PathSegment(go.PathSegment.Bezier,de*E,(me+ae)*a,(de+ae)*E,(me+ue)*a,(de+ue)*E,(me+ae)*a)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(de-ae)*E,me*a,(de-ue)*E,(me+ae)*a,(de-ae)*E,(me+ue)*a)),b}),go.Shape.defineFigureGenerator("RailShipment",function(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(.1*E,.4*a,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.45*E,.4*a)),y.add(new go.PathSegment(go.PathSegment.Line,.45*E,.9*a)),y.add(new go.PathSegment(go.PathSegment.Line,.1*E,.9*a)),y.add(new go.PathSegment(go.PathSegment.Line,.1*E,.4*a).close());var x=new go.PathFigure(.45*E,.7*a,!1);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.55*E,.7*a));var ee=new go.PathFigure(.55*E,.4*a,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.9*E,.4*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.9*E,.9*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.55*E,.9*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.55*E,.4*a).close());var de=.05,me=re*.05,Be=.175,ve=.95,te=new go.PathFigure((Be-de)*E,ve*a,!0);b.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,Be*E,(ve-de)*a,(Be-de)*E,(ve-me)*a,(Be-me)*E,(ve-de)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,(Be+de)*E,ve*a,(Be+me)*E,(ve-de)*a,(Be+de)*E,(ve-me)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,Be*E,(ve+de)*a,(Be+de)*E,(ve+me)*a,(Be+me)*E,(ve+de)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,(Be-de)*E,ve*a,(Be-me)*E,(ve+de)*a,(Be-de)*E,(ve+me)*a));var de=.05,me=re*.05,Be=.375,ve=.95,ae=new go.PathFigure((Be-de)*E,ve*a,!0);b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,Be*E,(ve-de)*a,(Be-de)*E,(ve-me)*a,(Be-me)*E,(ve-de)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(Be+de)*E,ve*a,(Be+me)*E,(ve-de)*a,(Be+de)*E,(ve-me)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,Be*E,(ve+de)*a,(Be+de)*E,(ve+me)*a,(Be+me)*E,(ve+de)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(Be-de)*E,ve*a,(Be-me)*E,(ve+de)*a,(Be-de)*E,(ve+me)*a));var de=.05,me=re*.05,Be=.625,ve=.95,ue=new go.PathFigure((Be-de)*E,ve*a,!0);b.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,Be*E,(ve-de)*a,(Be-de)*E,(ve-me)*a,(Be-me)*E,(ve-de)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(Be+de)*E,ve*a,(Be+me)*E,(ve-de)*a,(Be+de)*E,(ve-me)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,Be*E,(ve+de)*a,(Be+de)*E,(ve+me)*a,(Be+me)*E,(ve+de)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(Be-de)*E,ve*a,(Be-me)*E,(ve+de)*a,(Be-de)*E,(ve+me)*a));var de=.05,me=re*.05,Be=.825,ve=.95,Fe=new go.PathFigure((Be-de)*E,ve*a,!0);b.add(Fe),Fe.add(new go.PathSegment(go.PathSegment.Bezier,Be*E,(ve-de)*a,(Be-de)*E,(ve-me)*a,(Be-me)*E,(ve-de)*a)),Fe.add(new go.PathSegment(go.PathSegment.Bezier,(Be+de)*E,ve*a,(Be+me)*E,(ve-de)*a,(Be+de)*E,(ve-me)*a)),Fe.add(new go.PathSegment(go.PathSegment.Bezier,Be*E,(ve+de)*a,(Be+de)*E,(ve+me)*a,(Be+me)*E,(ve+de)*a)),Fe.add(new go.PathSegment(go.PathSegment.Bezier,(Be-de)*E,ve*a,(Be-me)*E,(ve+de)*a,(Be-de)*E,(ve+me)*a).close());var ge=new go.PathFigure(0,a,!1);return b.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,E,a).close()),b}),go.Shape.defineFigureGenerator("Warehouse",function(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(0,0,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.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,E,.2*a).close());var ee=new go.PathFigure(.15*E,a,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.15*E,.5*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.4*E,.5*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.4*E,a)),ee.add(new go.PathSegment(go.PathSegment.Line,.15*E,a).close());var te=.05,ae=re*.05,ue=.35,de=.775,me=new go.PathFigure((ue-te)*E,de*a,!0);return b.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,ue*E,(de-te)*a,(ue-te)*E,(de-ae)*a,(ue-ae)*E,(de-te)*a)),me.add(new go.PathSegment(go.PathSegment.Bezier,(ue+te)*E,de*a,(ue+ae)*E,(de-te)*a,(ue+te)*E,(de-ae)*a)),me.add(new go.PathSegment(go.PathSegment.Bezier,ue*E,(de+te)*a,(ue+te)*E,(de+ae)*a,(ue+ae)*E,(de+te)*a)),me.add(new go.PathSegment(go.PathSegment.Bezier,(ue-te)*E,de*a,(ue-ae)*E,(de+te)*a,(ue-te)*E,(de+ae)*a).close()),b}),go.Shape.defineFigureGenerator("ControlCenter",function(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(0,a,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,.1*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,.1*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.9*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.9*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Move,.1*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,.9*E,.8*a).close()),b}),go.Shape.defineFigureGenerator("Bluetooth",function(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(0,.75*a,!1);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.75*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.25*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.75*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),b}),go.Shape.defineFigureGenerator("Bookmark",function(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(0,0,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Move,.2*E,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,.2*a)),y.add(new go.PathSegment(go.PathSegment.Move,.2*E,.4*a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,.4*a)),b}),go.Shape.defineFigureGenerator("Bookmark",function(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(0,0,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Move,.2*E,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,.2*a)),y.add(new go.PathSegment(go.PathSegment.Move,.2*E,.4*a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,.4*a)),b}),go.Shape.defineFigureGenerator("Globe",function(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(.5*E,0,!1);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),y.add(new go.PathSegment(go.PathSegment.Move,0,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Move,.5*E,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,.75*E,0,E,.25*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,E,.75*a,.75*E,a)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,.25*E,a,0,.75*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,0,.25*a,.25*E,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,.15*E,.25*a,.15*E,.75*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,.85*E,.75*a,.85*E,.25*a)),y.add(new go.PathSegment(go.PathSegment.Move,.1675*E,.15*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.8325*E,.15*a,.35*E,.3*a,.65*E,.3*a)),y.add(new go.PathSegment(go.PathSegment.Move,.1675*E,.85*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.8325*E,.85*a,.35*E,.7*a,.65*E,.7*a)),b}),go.Shape.defineFigureGenerator("Wave",function(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(0,.25*a,!1);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,.3*E,.25*a,.1*E,0,.2*E,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,.7*E,.25*a,.425*E,.5*a,.575*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,E,.25*a,.8*E,0,.9*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.75*a)),y.add(new go.PathSegment(go.PathSegment.Move,0,.25*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.75*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.3*E,.75*a,.1*E,.5*a,.2*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.7*E,.75*a,.425*E,a,.575*E,a)),y.add(new go.PathSegment(go.PathSegment.Bezier,E,.75*a,.8*E,.5*a,.9*E,.5*a)),b}),go.Shape.defineFigureGenerator("Operator",function(oe,E,a){var b=new go.Geometry,y=.3,x=re*.3,ee=.5,te=.7,ae=new go.PathFigure((ee-y)*E,te*a,!0);b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(te-y)*a,(ee-y)*E,(te-x)*a,(ee-x)*E,(te-y)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(ee+y)*E,te*a,(ee+x)*E,(te-y)*a,(ee+y)*E,(te-x)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(te+y)*a,(ee+y)*E,(te+x)*a,(ee+x)*E,(te+y)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(ee-y)*E,te*a,(ee-x)*E,(te+y)*a,(ee-y)*E,(te+x)*a));var ue=new go.PathFigure(0,.7*a,!1);return b.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,E,.7*a,0,0,E,0)),b}),go.Shape.defineFigureGenerator("TripleFanBlades",function(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(.5*E,0,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.65*a,.65*E,.3*a,.65*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,.35*E,.5*a,.35*E,.3*a)),y.add(new go.PathSegment(go.PathSegment.Move,.5*E,.65*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,a,.3*E,.6*a,.1*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.65*a,.2*E,a,.35*E,.95*a)),y.add(new go.PathSegment(go.PathSegment.Move,.5*E,.65*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,E,a,.7*E,.6*a,.9*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.65*a,.8*E,a,.65*E,.95*a)),b}),go.Shape.defineFigureGenerator("CentrifugalPump",function(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(E,0,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.4*E,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,0,.075*a,0,.5*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.4*E,a,0,a,.4*E,a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,.4*a,.8*E,a,.85*E,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.4*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),b}),go.Shape.defineFigureGenerator("Battery",function(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(0,a,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.1*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.1*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Move,.4*E,.1*a)),y.add(new go.PathSegment(go.PathSegment.Line,.4*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.6*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.6*E,.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,E,.4*a)),b}),go.Shape.defineFigureGenerator("Delete",function(oe,E,a){var b=new go.Geometry,y=.5,x=re*.5,ee=.5,te=.5,ae=new go.PathFigure((ee-y)*E,te*a,!0);b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(te-y)*a,(ee-y)*E,(te-x)*a,(ee-x)*E,(te-y)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(ee+y)*E,te*a,(ee+x)*E,(te-y)*a,(ee+y)*E,(te-x)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(te+y)*a,(ee+y)*E,(te+x)*a,(ee+x)*E,(te+y)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(ee-y)*E,te*a,(ee-x)*E,(te+y)*a,(ee-y)*E,(te+x)*a));var ue=new go.PathFigure(.15*E,.5*a,!1);return b.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,.85*E,.5*a)),b}),go.Shape.defineFigureGenerator("Flag",function(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(0,.1*a,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Move,0,.1*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.1*a,.15*E,0,.35*E,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,E,.1*a,.65*E,.2*a,.85*E,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.5*a,.85*E,.6*a,.65*E,.6*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,.35*E,.4*a,.15*E,.4*a).close()),b}),go.Shape.defineFigureGenerator("Help",function(oe,E,a){var b=new go.Geometry,y=.5,x=re*.5,ee=.5,te=.5,ae=new go.PathFigure((ee-y)*E,te*a,!1);b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(te-y)*a,(ee-y)*E,(te-x)*a,(ee-x)*E,(te-y)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(ee+y)*E,te*a,(ee+x)*E,(te-y)*a,(ee+y)*E,(te-x)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(te+y)*a,(ee+y)*E,(te+x)*a,(ee+x)*E,(te+y)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(ee-y)*E,te*a,(ee-x)*E,(te+y)*a,(ee-y)*E,(te+x)*a).close()),y=.05,x=re*.05,ee=.5,te=.8;var ue=new go.PathFigure((ee-y)*E,te*a,!1);return b.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(te-y)*a,(ee-y)*E,(te-x)*a,(ee-x)*E,(te-y)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(ee+y)*E,te*a,(ee+x)*E,(te-y)*a,(ee+y)*E,(te-x)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(te+y)*a,(ee+y)*E,(te+x)*a,(ee+x)*E,(te+y)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(ee-y)*E,te*a,(ee-x)*E,(te+y)*a,(ee-y)*E,(te+x)*a).close()),ue.add(new go.PathSegment(go.PathSegment.Move,.5*E,.7*a)),ue.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.2*a,.75*E,.475*a,.75*E,.225*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,.3*E,.35*a,.4*E,.2*a,.3*E,.25*a)),b}),go.Shape.defineFigureGenerator("Location",function(oe,E,a){return new go.Geometry().add(new go.PathFigure(.5*E,a,!0).add(new go.PathSegment(go.PathSegment.Line,.75*E,.5*a)).add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,.975*E,.025*a,.5*E,0)).add(new go.PathSegment(go.PathSegment.Bezier,.25*E,.5*a,.5*E,0,.025*E,.025*a).close()).add(new go.PathSegment(go.PathSegment.Move,.5*E,.2*a)).add(new go.PathSegment(go.PathSegment.Arc,270,360,.5*E,.3*a,.1*E,.1*a).close()))}),go.Shape.defineFigureGenerator("Lock",function(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(0,.5*a,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.5*a));var x=new go.PathFigure(.2*E,.5*a,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Move,.2*E,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,.2*E,.3*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,.3*a,.25*E,0,.75*E,0)),x.add(new go.PathSegment(go.PathSegment.Line,.8*E,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,.8*E,.3*a)),b}),go.Shape.defineFigureGenerator("Unlocked",function(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(0,.5*a,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.5*a));var x=new go.PathFigure(.2*E,.5*a,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Move,.2*E,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,.2*E,.3*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,.3*a,.25*E,0,.75*E,0)),x.add(new go.PathSegment(go.PathSegment.Line,.8*E,.35*a)),b}),go.Shape.defineFigureGenerator("Gear",function(oe,E,a){return new go.Geometry().add(new go.PathFigure(.9375*E,.56246875*a,!0).add(new go.PathSegment(go.PathSegment.Line,.9375*E,.4375*a)).add(new go.PathSegment(go.PathSegment.Line,.80621875*E,.4375*a)).add(new go.PathSegment(go.PathSegment.Bezier,.763*E,.3316875*a,.79840625*E,.39915625*a,.7834375*E,.3635*a)).add(new go.PathSegment(go.PathSegment.Line,.8566875*E,.23796875*a)).add(new go.PathSegment(go.PathSegment.Line,.76825*E,.14959375*a)).add(new go.PathSegment(go.PathSegment.Line,.67596875*E,.24184375*a)).add(new go.PathSegment(go.PathSegment.Bezier,.5625*E,.19378125*a,.64228125*E,.2188125*a,.603875*E,.2021875*a)).add(new go.PathSegment(go.PathSegment.Line,.5625*E,.0625*a)).add(new go.PathSegment(go.PathSegment.Line,.4375*E,.0625*a)).add(new go.PathSegment(go.PathSegment.Line,.4375*E,.19378125*a)).add(new go.PathSegment(go.PathSegment.Bezier,.32775*E,.239375*a,.39759375*E,.20190625*a,.36053125*E,.2176875*a)).add(new go.PathSegment(go.PathSegment.Line,.2379375*E,.14959375*a)).add(new go.PathSegment(go.PathSegment.Line,.14953125*E,.2379375*a)).add(new go.PathSegment(go.PathSegment.Line,.23934375*E,.3278125*a)).add(new go.PathSegment(go.PathSegment.Bezier,.19378125*E,.4375*a,.21765625*E,.36059375*a,.201875*E,.397625*a)).add(new go.PathSegment(go.PathSegment.Line,.0625*E,.4375*a)).add(new go.PathSegment(go.PathSegment.Line,.0625*E,.5625*a)).add(new go.PathSegment(go.PathSegment.Line,.1938125*E,.5625*a)).add(new go.PathSegment(go.PathSegment.Bezier,.241875*E,.67596875*a,.20221875*E,.603875*a,.21884375*E,.64228125*a)).add(new go.PathSegment(go.PathSegment.Line,.1495625*E,.76825*a)).add(new go.PathSegment(go.PathSegment.Line,.238*E,.8566875*a)).add(new go.PathSegment(go.PathSegment.Line,.3316875*E,.76296875*a)).add(new go.PathSegment(go.PathSegment.Bezier,.43753125*E,.80621875*a,.36353125*E,.78340625*a,.3991875*E,.79840625*a)).add(new go.PathSegment(go.PathSegment.Line,.43753125*E,.9375*a)).add(new go.PathSegment(go.PathSegment.Line,.5625*E,.9375*a)).add(new go.PathSegment(go.PathSegment.Line,.5625*E,.80621875*a)).add(new go.PathSegment(go.PathSegment.Bezier,.67225*E,.760625*a,.602375*E,.79809375*a,.63946875*E,.78234375*a)).add(new go.PathSegment(go.PathSegment.Line,.76828125*E,.8566875*a)).add(new go.PathSegment(go.PathSegment.Line,.85671875*E,.76825*a)).add(new go.PathSegment(go.PathSegment.Line,.76065625*E,.67221875*a)).add(new go.PathSegment(go.PathSegment.Bezier,.80621875*E,.56246875*a,.78234375*E,.63940625*a,.798125*E,.602375*a)).add(new go.PathSegment(go.PathSegment.Line,.9375*E,.56246875*a).close()).add(new go.PathSegment(go.PathSegment.Move,.5*E,.6*a)).add(new go.PathSegment(go.PathSegment.Arc,90,360,.5*E,.5*a,.1*E,.1*a).close()))}),go.Shape.defineFigureGenerator("Hand",function(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(0,.5*a,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,.1*E,.3*a,0,.375*a,.05*E,.325*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.45*E,.075*a,.3*E,.225*a,.4*E,.175*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.525*E,.075*a,.46*E,.05*a,.525*E,.05*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.3*E,.4*a,.525*E,.275*a,.475*E,.325*a)),y.add(new go.PathSegment(go.PathSegment.Line,.9*E,.4*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.9*E,.55*a,E,.4*a,E,.55*a)),y.add(new go.PathSegment(go.PathSegment.Line,.425*E,.55*a)),y.add(new go.PathSegment(go.PathSegment.Line,.6*E,.55*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.6*E,.7*a,.675*E,.55*a,.675*E,.7*a)),y.add(new go.PathSegment(go.PathSegment.Line,.4*E,.7*a)),y.add(new go.PathSegment(go.PathSegment.Line,.575*E,.7*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.575*E,.85*a,.65*E,.7*a,.65*E,.85*a)),y.add(new go.PathSegment(go.PathSegment.Line,.4*E,.85*a)),y.add(new go.PathSegment(go.PathSegment.Line,.525*E,.85*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.535*E,a,.61*E,.85*a,.61*E,a)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,.435*E,a,0,a).close()),b}),go.Shape.defineFigureGenerator("Map",function(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(0,.2*a,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.25*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.25*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),y.add(new go.PathSegment(go.PathSegment.Move,.25*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.25*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Move,.5*E,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),y.add(new go.PathSegment(go.PathSegment.Move,.75*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,.8*a)),b}),go.Shape.defineFigureGenerator("Eject",function(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(0,a,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a*.7)),y.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,E,.6*a)),x.add(new go.PathSegment(go.PathSegment.Line,.5*E,0).close()),b}),go.Shape.defineFigureGenerator("Pencil",function(oe,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.2*E,.1*a)).add(new go.PathSegment(go.PathSegment.Line,E,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.9*E,a)).add(new go.PathSegment(go.PathSegment.Line,.1*E,.2*a).close()))}),go.Shape.defineFigureGenerator("Building",function(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(E*1,a*1,!1);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,0,a*.85)),y.add(new go.PathSegment(go.PathSegment.Line,.046*E,a*.85)),y.add(new go.PathSegment(go.PathSegment.Line,.046*E,a*.45)),y.add(new go.PathSegment(go.PathSegment.Line,0,a*.45)),y.add(new go.PathSegment(go.PathSegment.Line,0,a*.3)),y.add(new go.PathSegment(go.PathSegment.Line,.046*E,a*.3)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a*0)),y.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*E,a*.3)),y.add(new go.PathSegment(go.PathSegment.Line,E,a*.3)),y.add(new go.PathSegment(go.PathSegment.Line,E,a*.45)),y.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*E,a*.45)),y.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*E,a*.85)),y.add(new go.PathSegment(go.PathSegment.Line,E,a*.85).close());var x=new go.PathFigure(.126*E,.85*a,!1);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.126*E,.45*a)),x.add(new go.PathSegment(go.PathSegment.Line,.322*E,.45*a)),x.add(new go.PathSegment(go.PathSegment.Line,.322*E,.85*a).close());var ee=new go.PathFigure(.402*E,.85*a,!1);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.402*E,.45*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.598*E,.45*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.598*E,.85*a).close());var te=new go.PathFigure(.678*E,.85*a,!1);b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.678*E,.45*a)),te.add(new go.PathSegment(go.PathSegment.Line,.874*E,.45*a)),te.add(new go.PathSegment(go.PathSegment.Line,.874*E,.85*a).close());var ae=new go.PathFigure(.5*E,.1*a,!1);return b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,(.046+.15)*E,.3*a)),ae.add(new go.PathSegment(go.PathSegment.Line,(1-(.046+.15))*E,.3*a).close()),b}),go.Shape.defineFigureGenerator("Staircase",function(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(0,a*1,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E*.2,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*.2,a*.8)),y.add(new go.PathSegment(go.PathSegment.Line,E*.4,a*.8)),y.add(new go.PathSegment(go.PathSegment.Line,E*.4,a*.6)),y.add(new go.PathSegment(go.PathSegment.Line,E*.6,a*.6)),y.add(new go.PathSegment(go.PathSegment.Line,E*.6,a*.4)),y.add(new go.PathSegment(go.PathSegment.Line,E*.8,a*.4)),y.add(new go.PathSegment(go.PathSegment.Line,E*.8,a*.2)),y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*.2)),y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*.15)),y.add(new go.PathSegment(go.PathSegment.Line,E*.75,a*.15)),y.add(new go.PathSegment(go.PathSegment.Line,E*.75,a*.35)),y.add(new go.PathSegment(go.PathSegment.Line,E*.55,a*.35)),y.add(new go.PathSegment(go.PathSegment.Line,E*.55,a*.55)),y.add(new go.PathSegment(go.PathSegment.Line,E*.35,a*.55)),y.add(new go.PathSegment(go.PathSegment.Line,E*.35,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.15,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.15,a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,0,a*.95).close()),b}),go.Shape.defineFigureGenerator("5Bars",function(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(0,a*1,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E*.184,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*.184,a*(1-.184)).close());var x=new go.PathFigure(E*.204,a,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,E*.204,a*(1-.184))),x.add(new go.PathSegment(go.PathSegment.Line,E*.388,a*(1-.184*2))),x.add(new go.PathSegment(go.PathSegment.Line,E*.388,a*1).close());var ee=new go.PathFigure(E*.408,a,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,E*.408,a*(1-.184*2))),ee.add(new go.PathSegment(go.PathSegment.Line,E*.592,a*(1-.184*3))),ee.add(new go.PathSegment(go.PathSegment.Line,E*.592,a*1).close());var te=new go.PathFigure(E*.612,a,!0);b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E*.612,a*(1-.184*3))),te.add(new go.PathSegment(go.PathSegment.Line,E*.796,a*(1-.184*4))),te.add(new go.PathSegment(go.PathSegment.Line,E*.796,a*1).close());var ae=new go.PathFigure(E*.816,a,!0);return b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,E*.816,a*(1-.184*4))),ae.add(new go.PathSegment(go.PathSegment.Line,E*1,a*(1-.184*5))),ae.add(new go.PathSegment(go.PathSegment.Line,E*1,a*1).close()),b}),go.Shape.defineFigureGenerator("PC",function(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(0,0,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*.3,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*.3,0).close());var x=new go.PathFigure(E*.055,.07*a,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,E*.245,a*.07)),x.add(new go.PathSegment(go.PathSegment.Line,E*.245,a*.1)),x.add(new go.PathSegment(go.PathSegment.Line,E*.055,a*.1).close());var ee=new go.PathFigure(E*.055,.13*a,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,E*.245,a*.13)),ee.add(new go.PathSegment(go.PathSegment.Line,E*.245,a*.16)),ee.add(new go.PathSegment(go.PathSegment.Line,E*.055,a*.16).close());var te=new go.PathFigure(E*.055,.18*a,!0);b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E*.245,a*.18)),te.add(new go.PathSegment(go.PathSegment.Line,E*.245,a*.21)),te.add(new go.PathSegment(go.PathSegment.Line,E*.055,a*.21).close());var ae=new go.PathFigure(E*1,0,!0);return b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,E*.4,0)),ae.add(new go.PathSegment(go.PathSegment.Line,E*.4,a*.65)),ae.add(new go.PathSegment(go.PathSegment.Line,E*1,a*.65).close()),b}),go.Shape.defineFigureGenerator("Plane",function(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(.55*E,a,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,.4*E,.7*a)),y.add(new go.PathSegment(go.PathSegment.Line,.1*E,.475*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.35*E,.525*a,0,.4*a,.225*E,.45*a)),y.add(new go.PathSegment(go.PathSegment.Line,.4*E,.475*a)),y.add(new go.PathSegment(go.PathSegment.Line,.15*E,.35*a)),y.add(new go.PathSegment(go.PathSegment.Line,.2*E,.325*a)),y.add(new go.PathSegment(go.PathSegment.Line,.6*E,.325*a)),y.add(new go.PathSegment(go.PathSegment.Line,.85*E,.1*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.9*E,.2*a,.975*E,0,E,.08*a)),y.add(new go.PathSegment(go.PathSegment.Line,.7*E,.45*a)),y.add(new go.PathSegment(go.PathSegment.Line,.6*E,.95*a)),y.add(new go.PathSegment(go.PathSegment.Line,.55*E,a).close()),b}),go.Shape.defineFigureGenerator("Key",function(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(E*1,a*.5,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E*.9,.4*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.5,.4*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.5,.35*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.45,.35*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.3,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.15,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.35*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.65*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.15,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.3,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.45,.65*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.5,.65*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.5,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.6,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.65,.55*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.7,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.75,.55*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.8,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.85,.575*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.9,.6*a).close()),y.add(new go.PathSegment(go.PathSegment.Move,.17*E,.425*a)),y.add(new go.PathSegment(go.PathSegment.Arc,270,360,.17*E,.5*a,.075*E,.075*a).close()),b}),go.Shape.defineFigureGenerator("FilmTape",function(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(0,0,!1);b.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,270,180,E*0,E*.3,E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,0,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*.08,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*.08,a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*1),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*1),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*2),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*2),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*3),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*3),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*4),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*4),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*5),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*5),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*6),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*6),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*7),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*7),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*8),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*8),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*9),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*9),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*10),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*10),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*11),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*11),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*12),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*12),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*13),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*13),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*14),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*14),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*15),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*15),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*1));var x=new go.PathFigure(0,0,!1);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,E*1,a*0)),x.add(new go.PathSegment(go.PathSegment.Arc,270,-180,E*1,E*.3,E*.055)),x.add(new go.PathSegment(go.PathSegment.Line,E*1,a*1));var ee=new go.PathFigure(E*.11,a*.1,!1);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*1+.028*0),a*.1)),ee.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*1+.028*0),a*.8)),ee.add(new go.PathSegment(go.PathSegment.Line,E*.11,a*.8).close());var te=new go.PathFigure(E*(.11+.24133333*1+.028*1),a*.1,!1);b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*2+.028*1),a*.1)),te.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*2+.028*1),a*.8)),te.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*1+.028*1),a*.8).close());var ae=new go.PathFigure(E*(.11+.24133333*2+.028*2),a*.1,!1);return b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*3+.028*2),a*.1)),ae.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*3+.028*2),a*.8)),ae.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*2+.028*2),a*.8).close()),b}),go.Shape.defineFigureGenerator("FloppyDisk",function(oe,E,a){var b=new go.Geometry,y=8,x=y*re,ee=new go.PathFigure(y,0,!1);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,E*.86,0)),ee.add(new go.PathSegment(go.PathSegment.Line,E*1,a*.14)),ee.add(new go.PathSegment(go.PathSegment.Line,E,a-y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,E-y,a,E,a-x,E-x,a)),ee.add(new go.PathSegment(go.PathSegment.Line,y,a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,a-y,x,a,0,a-x)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,y,0,0,x,x,0).close());var te=new go.PathFigure(E*.83,0,!1);b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E*.83,a*.3)),te.add(new go.PathSegment(go.PathSegment.Line,E*.17,a*.3)),te.add(new go.PathSegment(go.PathSegment.Line,E*.17,a*0).close());var ae=new go.PathFigure(E*.83,a*1,!1);b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,E*.83,a*.5)),ae.add(new go.PathSegment(go.PathSegment.Line,E*.17,a*.5)),ae.add(new go.PathSegment(go.PathSegment.Line,E*.17,a*1).close());var ue=new go.PathFigure(E*.78,a*.05,!1);return b.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*.05)),ue.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*.25)),ue.add(new go.PathSegment(go.PathSegment.Line,E*.78,a*.25).close()),b}),go.Shape.defineFigureGenerator("SpeechBubble",function(oe,E,a){var b=oe?oe.parameter1:NaN;(isNaN(b)||b<0)&&(b=15),b=Math.min(b,E/3),b=Math.min(b,a/3);var y=b*re,x=a*.8,ee=new go.Geometry,te=new go.PathFigure(b,0,!0);return ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E-b,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,E,b,E-y,0,E,y)),te.add(new go.PathSegment(go.PathSegment.Line,E,x-b)),te.add(new go.PathSegment(go.PathSegment.Bezier,E-b,x,E,x-y,E-y,x)),te.add(new go.PathSegment(go.PathSegment.Line,E*.7,x)),te.add(new go.PathSegment(go.PathSegment.Line,E*.7,a)),te.add(new go.PathSegment(go.PathSegment.Line,E*.55,x)),te.add(new go.PathSegment(go.PathSegment.Line,b,x)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,x-b,y,x,0,x-y)),te.add(new go.PathSegment(go.PathSegment.Line,0,b)),te.add(new go.PathSegment(go.PathSegment.Bezier,b,0,0,y,y,0).close()),y>1?(ee.spot1=new go.Spot(0,0,y,y),ee.spot2=new go.Spot(1,.8,-y,-y)):(ee.spot1=go.Spot.TopLeft,ee.spot2=new go.Spot(1,.8)),ee}),go.Shape.defineFigureGenerator("Repeat",function(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(E*0,a*.45,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E*.25,a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*.5,a*.45)),y.add(new go.PathSegment(go.PathSegment.Line,E*.3,a*.45)),y.add(new go.PathSegment(go.PathSegment.Line,E*.3,a*.9)),y.add(new go.PathSegment(go.PathSegment.Line,E*.6,a*.9)),y.add(new go.PathSegment(go.PathSegment.Line,E*.65,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*.2,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*.2,a*.45).close());var x=new go.PathFigure(E*1,a*.55,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,E*.75,a*1)),x.add(new go.PathSegment(go.PathSegment.Line,E*.5,a*.55)),x.add(new go.PathSegment(go.PathSegment.Line,E*.7,a*.55)),x.add(new go.PathSegment(go.PathSegment.Line,E*.7,a*.1)),x.add(new go.PathSegment(go.PathSegment.Line,E*.4,a*.1)),x.add(new go.PathSegment(go.PathSegment.Line,E*.35,a*0)),x.add(new go.PathSegment(go.PathSegment.Line,E*.8,a*0)),x.add(new go.PathSegment(go.PathSegment.Line,E*.8,a*.55).close()),b}),go.Shape.defineFigureGenerator("Windows",function(oe,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close()).add(new go.PathSegment(go.PathSegment.Move,.4*E,.4*a)).add(new go.PathSegment(go.PathSegment.Line,.4*E,.8*a)).add(new go.PathSegment(go.PathSegment.Line,.9*E,.8*a)).add(new go.PathSegment(go.PathSegment.Line,.9*E,.4*a).close()).add(new go.PathSegment(go.PathSegment.Move,.2*E,.1*a)).add(new go.PathSegment(go.PathSegment.Line,.2*E,.6*a)).add(new go.PathSegment(go.PathSegment.Line,.7*E,.6*a)).add(new go.PathSegment(go.PathSegment.Line,.7*E,.1*a).close()).add(new go.PathSegment(go.PathSegment.Move,.1*E,.6*a)).add(new go.PathSegment(go.PathSegment.Line,.1*E,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.5*E,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.5*E,.6*a).close()))}),go.Shape.defineFigureGenerator("Terminal",function(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(E*0,a*.1,!1);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*.1)),y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*.9)),y.add(new go.PathSegment(go.PathSegment.Line,E*0,a*.9).close());var x=new go.PathFigure(E*.1,a*.2,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,E*.1,a*.25)),x.add(new go.PathSegment(go.PathSegment.Line,E*.22,a*.285)),x.add(new go.PathSegment(go.PathSegment.Line,E*.1,a*.32)),x.add(new go.PathSegment(go.PathSegment.Line,E*.1,a*.37)),x.add(new go.PathSegment(go.PathSegment.Line,E*.275,a*.32)),x.add(new go.PathSegment(go.PathSegment.Line,E*.275,a*.25).close());var ee=new go.PathFigure(E*.28,a*.37,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,E*.45,a*.37)),ee.add(new go.PathSegment(go.PathSegment.Line,E*.45,a*.41)),ee.add(new go.PathSegment(go.PathSegment.Line,E*.28,a*.41).close()),b}),go.Shape.defineFigureGenerator("Beaker",function(oe,E,a){var b=new go.Geometry,y=15,x=y*re,ee=new go.PathFigure(E*.62,a*.475,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,E,a-y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,E-y,a,E,a-x,E-x,a)),ee.add(new go.PathSegment(go.PathSegment.Line,y,a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,a-y,x,a,0,a-x)),ee.add(new go.PathSegment(go.PathSegment.Line,E*.38,a*.475)),ee.add(new go.PathSegment(go.PathSegment.Line,E*.38,a*.03)),ee.add(new go.PathSegment(go.PathSegment.Line,E*.36,a*0)),ee.add(new go.PathSegment(go.PathSegment.Line,E*.64,a*0)),ee.add(new go.PathSegment(go.PathSegment.Line,E*.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(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(E*0,a*1,!0);b.add(y);var x=.1/.3;y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*(1-x))),y.add(new go.PathSegment(go.PathSegment.Line,E*.8,a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,E*.755,a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,E*.93,a*(1-x))),y.add(new go.PathSegment(go.PathSegment.Line,E*.64,a*(1-x))),y.add(new go.PathSegment(go.PathSegment.Line,E*.61,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.5,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.39,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.36,a*(1-x))),y.add(new go.PathSegment(go.PathSegment.Line,E*.07,a*(1-x))),y.add(new go.PathSegment(go.PathSegment.Line,E*(1-.755),a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,E*(1-.66),a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,E*(1-.66),a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*(1-.8),a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*0,a*(1-x)).close());var ee=new go.PathFigure(E*.4,a*0,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,E*.4,a*.44)),ee.add(new go.PathSegment(go.PathSegment.Line,E*.26,a*.44)),ee.add(new go.PathSegment(go.PathSegment.Line,E*.5,a*.66)),ee.add(new go.PathSegment(go.PathSegment.Line,E*(1-.26),a*.44)),ee.add(new go.PathSegment(go.PathSegment.Line,E*.6,a*.44)),ee.add(new go.PathSegment(go.PathSegment.Line,E*.6,a*0).close()),b}),go.Shape.defineFigureGenerator("Bin",function(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(E*0,a*1,!0);b.add(y);var x=.1/.3;return y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*(1-x))),y.add(new go.PathSegment(go.PathSegment.Line,E*.8,a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,E*.755,a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,E*.93,a*(1-x))),y.add(new go.PathSegment(go.PathSegment.Line,E*.64,a*(1-x))),y.add(new go.PathSegment(go.PathSegment.Line,E*.61,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.5,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.39,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.36,a*(1-x))),y.add(new go.PathSegment(go.PathSegment.Line,E*.07,a*(1-x))),y.add(new go.PathSegment(go.PathSegment.Line,E*(1-.755),a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,E*(1-.66),a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,E*(1-.66),a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*(1-.8),a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*0,a*(1-x)).close()),b}),go.Shape.defineFigureGenerator("Upload",function(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(E*0,a*1,!0);b.add(y);var x=.1/.3;y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*(1-x))),y.add(new go.PathSegment(go.PathSegment.Line,E*.8,a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,E*.755,a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,E*.93,a*(1-x))),y.add(new go.PathSegment(go.PathSegment.Line,E*.64,a*(1-x))),y.add(new go.PathSegment(go.PathSegment.Line,E*.61,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.5,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.39,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.36,a*(1-x))),y.add(new go.PathSegment(go.PathSegment.Line,E*.07,a*(1-x))),y.add(new go.PathSegment(go.PathSegment.Line,E*(1-.755),a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,E*(1-.66),a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,E*(1-.66),a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*(1-.8),a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*0,a*(1-x)).close());var ee=new go.PathFigure(E*.5,a*0,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,E*.26,a*.25)),ee.add(new go.PathSegment(go.PathSegment.Line,E*.4,a*.25)),ee.add(new go.PathSegment(go.PathSegment.Line,E*.4,a*.63)),ee.add(new go.PathSegment(go.PathSegment.Line,E*.6,a*.63)),ee.add(new go.PathSegment(go.PathSegment.Line,E*.6,a*.25)),ee.add(new go.PathSegment(go.PathSegment.Line,E*.74,a*.25).close()),b}),go.Shape.defineFigureGenerator("EmptyDrink",function(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(E*.15,a*0,!1);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E*.85,a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*.7,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*.3,a*1).close()),b}),go.Shape.defineFigureGenerator("Drink",function(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(E*.15,a*0,!1);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E*.85,a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*.7,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*.3,a*1).close());var x=new go.PathFigure(E*.235,a*.28,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,E*.765,a*.28)),x.add(new go.PathSegment(go.PathSegment.Line,E*.655,a*.97)),x.add(new go.PathSegment(go.PathSegment.Line,E*.345,a*.97).close()),b}),go.Shape.defineFigureGenerator("4Arrows",function(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(E*.5,a*0,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E*.65,a*.25)),y.add(new go.PathSegment(go.PathSegment.Line,E*.55,a*.25)),y.add(new go.PathSegment(go.PathSegment.Line,E*.55,a*.45)),y.add(new go.PathSegment(go.PathSegment.Line,E*.75,a*.45)),y.add(new go.PathSegment(go.PathSegment.Line,E*.75,a*.35)),y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*.5)),y.add(new go.PathSegment(go.PathSegment.Line,E*.75,a*.65)),y.add(new go.PathSegment(go.PathSegment.Line,E*.75,a*.55)),y.add(new go.PathSegment(go.PathSegment.Line,E*.55,a*.55)),y.add(new go.PathSegment(go.PathSegment.Line,E*.55,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.65,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.5,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*.35,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.45,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.45,a*.55)),y.add(new go.PathSegment(go.PathSegment.Line,E*.25,a*.55)),y.add(new go.PathSegment(go.PathSegment.Line,E*.25,a*.65)),y.add(new go.PathSegment(go.PathSegment.Line,E*0,a*.5)),y.add(new go.PathSegment(go.PathSegment.Line,E*.25,a*.35)),y.add(new go.PathSegment(go.PathSegment.Line,E*.25,a*.45)),y.add(new go.PathSegment(go.PathSegment.Line,E*.45,a*.45)),y.add(new go.PathSegment(go.PathSegment.Line,E*.45,a*.25)),y.add(new go.PathSegment(go.PathSegment.Line,E*.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")},11081:function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;(function(){if(typeof window.GGBApplet=="function"){console.warn("deployggb.js was loaded twice");return}var isRenderGGBElementEnabled=!1,scriptLoadStarted=!1,html5AppletsToProcess=null,ggbHTML5LoadedCodebaseIsWebSimple=!1,ggbHTML5LoadedCodebaseVersion=null,ggbHTML5LoadedScript=null,GGBApplet=function(){"use strict";for(var ft={},vt="5.0",ne={},z=null,ie=!1,Pe=!1,Me=null,be=!1,xe=null,re=null,De=0;De<arguments.length;De++){var Ne=arguments[De];if(Ne!==null)switch(typeof Ne){case"number":vt=Ne.toFixed(1);break;case"string":Ne.match(new RegExp("^[0-9]\\.[0-9]+$"))?vt=Ne:Me=Ne;break;case"object":typeof Ne.is3D!="undefined"?z=Ne:ne=Ne;break;case"boolean":ie=Ne,Pe=!0;break}}z===null&&(z={is3D:!1,AV:!1,SV:!1,CV:!1,EV2:!1,CP:!1,PC:!1,DA:!1,FI:!1,PV:!1,macro:!1},ne.material_id!==void 0&&!Pe&&(ie=!0)),Me!==null&&ne.id===void 0&&(ne.id=Me);var Ae="",Le="",je=!1,Ee=null,oe=null,E=null,a=!1,b=null,y=null,x=null,ee=null,te=null;ne.height!==void 0&&(ne.height=Math.round(ne.height)),ne.width!==void 0&&(ne.width=Math.round(ne.width));var ae=function(Te){return parseFloat(Te)>4?parseFloat(Te):5};ft.setHTML5Codebase=function(Te,Ge){re=Te,Qe(Te,Ge)},ft.setJavaCodebase=ft.setJavaCodebaseVersion=ft.isCompiledInstalled=ft.setPreCompiledScriptPath=ft.setPreCompiledResourcePath=function(){},ft.setHTML5CodebaseVersion=function(Te,Ge){var gt=parseFloat(Te);if(gt!==NaN&&gt<5){console.log("The GeoGebra HTML5 codebase version "+gt+" is deprecated. Using version latest instead.");return}xe=Te,Bt(Te,Ge)},ft.getHTML5CodebaseVersion=function(){return oe},ft.getParameters=function(){return ne},ft.setFontsCSSURL=function(Te){ee=Te},ft.setGiacJSURL=function(Te){},ft.setJNLPFile=function(Te){Ae=Te},ft.setJNLPBaseDir=function(Te){},ft.inject=function(){function Te(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var Ge="auto",gt=ne.id,Zt,mt=!1,Ot=0;Ot<arguments.length;Ot++){var Se=arguments[Ot];typeof Se=="string"?(Se=Se.toLowerCase(),Se.match(/^(prefer)?(java|html5|compiled|auto|screenshot)$/)?Ge=Se:gt=arguments[Ot]):typeof Se=="boolean"?mt=Se:Se instanceof HTMLElement&&(Zt=Se)}Ct();function Ct(){if(!be){setTimeout(Ct,200);return}Ge=St(Ge);var Jt=Zt||document.getElementById(gt);if(!Jt){console.log("possibly bug on ajax loading? ");return}if(ft.removeExistingApplet(Jt,!1),ne.width===void 0&&Jt.clientWidth&&(ne.width=Jt.clientWidth),ne.height===void 0&&Jt.clientHeight&&(ne.height=Jt.clientHeight),!(ne.width&&ne.height)&&Ge==="html5"&&(delete ne.width,delete ne.height),Ee=Ge,Ge==="screenshot")Ie(Jt,ne);else{var Pt=!1;ne.hasOwnProperty("playButton")&&ne.playButton||ne.hasOwnProperty("clickToLoad")&&ne.clickToLoad?Pt=!0:ne.hasOwnProperty("playButtonAutoDecide")&&ne.playButtonAutoDecide&&(Pt=(!ue()||Te())&&de()),Pt?(Ee="screenshot",ze(Jt,ne,mt,Ge)):Je(Jt,ne,mt)}}};function ue(){try{return window.self!==window.top}catch(Te){return!0}}function de(){return ne.hasOwnProperty("screenshotGenerator")&&ne.screenshotGenerator?!1:Math.max(screen.width,screen.height)<800}ft.getViews=function(){return z},ft.isJavaInstalled=function(){return!1};var me=function(Te){var Ge=function(Ot){var Se=JSON.parse(Ot),Ct=function(ut){return ut.type=="G"||ut.type=="E"},Jt=Se.elements?Se.elements.filter(Ct)[0]:Se;if(!Jt||!Jt.url){gt();return}ne.fileName=Jt.url,Be(Jt.settings||{}),z.is3D=!0;var Pt="https://www.geogebra.org/images/";ft.setPreviewImage(b||Jt.previewUrl,Pt+"GeoGebra_loading.png",Pt+"applet_play.png"),Te()},gt=function(){ne.onError&&ne.onError(),yt("Error: Fetching material (id "+ne.material_id+") failed.",ne)},Zt=location.host.match(/(www|stage|beta|groot|alpha).geogebra.(org|net)/)?location.host:"www.geogebra.org",mt="/materials/"+ne.material_id+"?scope=basic";ve("https://"+Zt+"/api/proxy.php?path="+encodeURIComponent(mt),Ge,gt)};function Be(Te){var Ge=["width","height","showToolBar","showMenuBar","showAlgebraInput","allowStyleBar","showResetIcon","enableLabelDrags","enableShiftDragZoom","enableRightClick","appName"];["enableLabelDrags","enableShiftDragZoom","enableRightClick"].forEach(function(gt){Te[gt]=!!Te[gt]}),Ge.forEach(function(gt){ne[gt]===void 0&&Te[gt]!==void 0&&(ne[gt]=Te[gt])}),ne.showToolBarHelp===void 0&&(ne.showToolBarHelp=ne.showToolBar)}function ve(Te,Ge,gt){var Zt=new XMLHttpRequest;Zt.open("GET",Te),Zt.onload=function(){Ge(Zt.responseText)},Zt.onerror=gt,Zt.send()}ft.isHTML5Installed=function(){return!0},ft.getLoadedAppletType=function(){return Ee},ft.setPreviewImage=function(Te,Ge,gt){b=Te,y=Ge,x=gt},ft.removeExistingApplet=function(Te,Ge){var gt;typeof Te=="string"&&(Te=document.getElementById(Te)),Ee=null;var Zt=null;for(gt=0;gt<Te.childNodes.length;gt++){var mt=Te.childNodes[gt],Ot=mt.className;Ot==="applet_screenshot"?Ge?(mt.style.display="block",Ee="screenshot"):mt.style.display="none":Ot!=="applet_scaler prerender"&&(Te.removeChild(mt),Zt=Ot&&Ot.indexOf("appletParameters")!=-1?mt.id:null,gt--)}var Se=ne.id!==void 0?ne.id:Zt,Ct=window[Se];Ct&&typeof Ct.getBase64=="function"&&(Ct.remove(),window[Se]=null)},ft.refreshHitPoints=function(){if(ae(ggbHTML5LoadedCodebaseVersion)>=5)return!0;var Te=ft.getAppletObject();return Te&&typeof Te.recalculateEnvironments=="function"?(Te.recalculateEnvironments(),!0):!1},ft.startAnimation=function(){var Te=ft.getAppletObject();return Te&&typeof Te.startAnimation=="function"?(Te.startAnimation(),!0):!1},ft.stopAnimation=function(){var Te=ft.getAppletObject();return Te&&typeof Te.stopAnimation=="function"?(Te.stopAnimation(),!0):!1},ft.getAppletObject=function(){var Te=ne.id!==void 0?ne.id:"ggbApplet";return window[Te]},ft.resize=function(){};var Fe=function(Te,Ge,gt){var Zt=document.createElement("param");Zt.setAttribute("name",Ge),Zt.setAttribute("value",gt),Te.appendChild(Zt)},ge=function(Te){return Te&&Te!=="false"},Je=function(Te,Ge,gt){ae(oe)<=4.2&&(gt=!0);var Zt=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==oe||ggbHTML5LoadedCodebaseIsWebSimple&&!a)&&(Zt=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var mt=document.createElement("div");mt.classList.add("appletParameters","notranslate");var Ot=Ge.width,Se=Ge.height;if(Ge.disableAutoScale=Ge.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():Ge.disableAutoScale,Ge.width!==void 0)if(ae(oe)<=4.4)ge(Ge.showToolBar)&&(Ge.height-=7),ge(Ge.showAlgebraInput)&&(Ge.height-=37),Ge.width<605&&ge(Ge.showToolBar)&&(Ge.width=605,Ot=605);else{var Ct=100;(ge(Ge.showToolBar)||ge(Ge.showMenuBar))&&(Ge.hasOwnProperty("customToolBar")&&(Ge.customToolbar=Ge.customToolBar),Ct=ge(Ge.showMenuBar)?245:155),Ot<Ct&&(Ge.width=Ct,Ot=Ct)}mt.style.border="none",mt.style.display="inline-block";for(var Jt in Ge)Ge.hasOwnProperty(Jt)&&Jt!=="appletOnLoad"&&mt.setAttribute("data-param-"+Jt,Ge[Jt]);ee&&mt.setAttribute("data-param-fontscssurl",ee),ft.resize=function(){GGBAppletUtils.responsiveResize(Te,Ge)},window.addEventListener("resize",function(Ce){ft.resize()});var Pt=typeof Ge.appletOnLoad=="function"?Ge.appletOnLoad:function(){};if(!gt&&Ge.width!==void 0){Ge.hasOwnProperty("showSplash")||mt.setAttribute("data-param-showSplash","false");var ut=Te.querySelector(".applet_scaler.prerender"),We=ut!==null;if(We)var Re=ut.querySelector(".ggb_preview");else{var Re=lt(Ot,Se,Ge.borderColor,!1);ut=document.createElement("div"),ut.className="applet_scaler",ut.style.position="relative",ut.style.display="block",ut.style.width=Ot+"px",ut.style.height=Se+"px"}window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(ut,"66%"),ae(oe)>=5?(Ge.appletOnLoad=function(Ce){var tt=Te.querySelector(".ggb_preview");tt&&tt.parentNode.removeChild(tt),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(ut),window.GGBT_wsf_view&&$(window).trigger("resize"),Pt(Ce)},We||ut.appendChild(Re)):mt.appendChild(Re),ut.appendChild(mt),We||Te.appendChild(ut),setTimeout(function(){ft.resize()},1)}else{var he=document.createElement("div");he.className="applet_scaler",he.style.position="relative",he.style.display="block",he.appendChild(mt),Te.appendChild(he),Ge.appletOnLoad=function(Ce){ft.resize(),Pt(Ce)}}function ce(Ce,tt){tt&&typeof tt.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(Ce,tt.appletOnLoad):renderGGBElement(Ce),yt("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",tt)}function _e(Ce,tt){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:Ce,params:tt}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(Rt){ce(Rt.article,Rt.params)}),html5AppletsToProcess=null)},ae(oe)<5&&(Ce.className+=" geogebraweb")):ce(Ce,tt)}if(Zt){scriptLoadStarted=!0;for(var it=0;it<mt.childNodes.length;it++){var pe=mt.childNodes[it].tagName;pe==="TABLE"&&(mt.removeChild(mt.childNodes[it]),it--)}if(ggbHTML5LoadedScript!==null){var fe=document.querySelector('script[src="'+ggbHTML5LoadedScript+'"]');fe!=null&&fe.parentNode.removeChild(fe)}var Xe=document.createElement("script"),ke=function(){_e(mt,Ge)};Xe.src=Le+E,ggbHTML5LoadedCodebaseIsWebSimple=a,ggbHTML5LoadedCodebaseVersion=oe,ggbHTML5LoadedScript=Xe.src,yt("GeoGebra HTML5 codebase loaded: '"+Le+"'.",Ge),!re&&(!xe||xe=="5.0")?(a?webSimple.succeeded=webSimple.succeeded||webSimple():web3d.succeeded=web3d.succeeded||web3d(),ke()):Le.requirejs?__webpack_require__.e(981).then(function(){var Ce=[__webpack_require__(60981)];ke.apply(null,Ce)}.bind(this)).catch(__webpack_require__.oe):(Xe.onload=ke,Te.appendChild(Xe))}else _e(mt,Ge);Ge.height=Se,Ge.width=Ot},Ie=function(Te,Ge,gt){var Zt=lt(Ge.width,Ge.height,Ge.borderColor,gt),mt=document.createElement("div");mt.style.position="relative",mt.style.display="block",mt.style.width=Ge.width+"px",mt.style.height=Ge.height+"px",mt.className="applet_screenshot applet_scaler"+(gt?" applet_screenshot_play":""),mt.appendChild(Zt);var Ot=GGBAppletUtils.getScale(Ge,Te,gt);gt?(Te.appendChild(Ke()),window.GGBT_wsf_view||(Te.style.position="relative")):window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(mt,"66%"),Te.appendChild(mt),Ot!==1&&!isNaN(Ot)&&(GGBAppletUtils.scaleElement(mt,Ot),mt.style.width=Ge.width+"px",mt.style.height=Ge.height+"px",mt.parentNode.style.width=Ge.width*Ot+"px",mt.parentNode.style.height=Ge.height*Ot+"px"),ft.resize=function(){Ue(Te,Zt,mt,gt)},window.addEventListener("resize",function(Se){ft.resize()}),ft.resize()};function Ue(Te,Ge,gt,Zt){if(Te.contains(Ge)){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(Te.id!=="fullscreencontent")return;window.GGBT_wsf_view.setCloseBtnPosition(Te)}var mt=GGBAppletUtils.getScale(ne,Te,Zt);gt.parentNode!==null&&(!isNaN(mt)&&mt!==1?(GGBAppletUtils.scaleElement(gt,mt),gt.parentNode.style.width=ne.width*mt+"px",gt.parentNode.style.height=ne.height*mt+"px"):(GGBAppletUtils.scaleElement(gt,1),gt.parentNode.style.width=ne.width+"px",gt.parentNode.style.height=ne.height+"px")),typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&GGBAppletUtils.positionCenter(Te),typeof window.GGBT_ws_header_footer=="object"&&window.GGBT_ws_header_footer.setWsScrollerHeight()}}ft.onExitFullscreen=function(Te,Ge){Ge.appendChild(Te)};var ze=function(Te,Ge,gt,Zt){Ie(Te,Ge,!0);for(var mt=function(){var Ct=[];for(Se=0;Se<Te.childNodes.length;Se++)Ct.push(Te.childNodes[Se]);if(window.GGBT_wsf_view){var Jt=window.GGBT_wsf_view.renderFullScreen(Te,Ge.id),Pt=document.getElementById("fullscreencontainer"),ut=jQuery(Te).find(".fullscreencontent");ut.length>0?(Jt.remove(),ut.attr("id","fullscreencontent").show(),jQuery(Pt).append(ut),window.dispatchEvent(new Event("resize"))):Je(Jt,Ge,!1),window.GGBT_wsf_view.launchFullScreen(Pt)}else Ee=Zt,Je(Te,Ge,!1);if(!window.GGBT_wsf_view)for(Se=0;Se<Ct.length;Se++)Te.removeChild(Ct[Se])},Ot=Te.getElementsByClassName("ggb_preview_play"),Se=0;Se<Ot.length;Se++)Ot[Se].addEventListener("click",mt,!1),Ot[Se].addEventListener("ontouchstart",mt,!1);typeof window.ggbAppletPlayerOnload=="function"&&window.ggbAppletPlayerOnload(Te),de()&&window.GGBT_wsf_view&&$(".wsf-element-fullscreen-button").remove()},Ke=function(){var Te=document.createElement("div");if(Te.className="ggb_preview_play icon-applet-play",!window.GGBT_wsf_view){var Ge='.icon-applet-play { width: 100%; height: 100%;box-sizing: border-box;position: absolute;z-index: 1001;cursor: pointer;border-width: 0px; background-color: transparent;background-repeat: no-repeat;left: 0;top: 0;background-position: center center; background-image: url("https://www.geogebra.org/images/worksheet/icon-start-applet.png");}.icon-applet-play:hover {background-image: url("https://www.geogebra.org/images/worksheet/icon-start-applet-hover.png");}',gt=document.createElement("style");gt.styleSheet?gt.styleSheet.cssText=Ge:gt.appendChild(document.createTextNode(Ge)),document.getElementsByTagName("head")[0].appendChild(gt)}return Te},lt=function(Te,Ge,gt,Zt){var mt=document.createElement("div");mt.className="ggb_preview",mt.style.position="absolute",mt.style.zIndex="90",mt.style.width=Te-2+"px",mt.style.height=Ge-2+"px",mt.style.top="0px",mt.style.left="0px",mt.style.overflow="hidden",mt.style.backgroundColor="white";var Ot="lightgrey";gt!==void 0&&(gt==="none"?Ot="transparent":Ot=gt),mt.style.border="1px solid "+Ot;var Se=document.createElement("img");if(Se.style.position="relative",Se.style.zIndex="1000",Se.style.top="-1px",Se.style.left="-1px",b!==null&&Se.setAttribute("src",b),Se.style.opacity=.7,y!==null){var Ct,Jt,Pt;if(!Zt){Ct=document.createElement("img"),Ct.style.position="absolute",Ct.style.zIndex="1001",Ct.style.opacity=1,Se.style.opacity=.3,Jt=360,Jt>Te/4*3&&(Jt=Te/4*3),Pt=Jt/5.8,Ct.setAttribute("src",y),Ct.setAttribute("width",Jt),Ct.setAttribute("height",Pt);var ut=(Te-Jt)/2,We=(Ge-Pt)/2;Ct.style.left=ut+"px",Ct.style.top=We+"px",mt.appendChild(Ct)}}return mt.appendChild(Se),mt},St=function(Te){return Te=Te.toLowerCase(),Te==="html5"||Te==="screenshot"?Te:"html5"},ot=["web","webSimple","web3d","tablet","tablet3d","phone"],Bt=function(Te,Ge){if(oe=Te,Ge){Qe(oe,!0);return}var gt=!ie;if(gt){var Zt=ae(oe);!isNaN(Zt)&&Zt<4.4&&(gt=!1)}var mt,Ot;window.location.protocol.substr(0,4)==="http"?mt=window.location.protocol:mt="http:";var Se=oe.indexOf("//");Se>0?Ot=oe:Se===0?Ot=mt+oe:Ot="https://www.geogebra.org/apps/5.2.814.0/";for(var Ct in ot)if(oe.slice(ot[Ct].length*-1)===ot[Ct]||oe.slice((ot[Ct].length+1)*-1)===ot[Ct]+"/"){Qe(Ot,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&gt&&!z.is3D&&!z.AV&&!z.SV&&!z.CV&&!z.EV2&&!z.CP&&!z.PC&&!z.DA&&!z.FI&&!z.PV&&!ge(ne.showToolBar)&&!ge(ne.showMenuBar)&&!ge(ne.showAlgebraInput)&&!ge(ne.enableRightClick)&&(!ne.appName||ne.appName=="classic")?Ot+="webSimple/":Ot+="web3d/",Qe(Ot,!1)},Qe=function(Te,Ge){if(Te.requirejs){Le=Te;return}Te.slice(-1)!=="/"&&(Te+="/"),Le=Te,Ge===null&&(Ge=Te.indexOf("http")===-1),je=Ge,E="web.nocache.js",a=!1;var gt=Le.split("/");gt.length>1&&(!Ge&&gt[gt.length-2]==="webSimple"?(E="webSimple.nocache.js",a=!0):ot.indexOf(gt[gt.length-2])>=0&&(E=gt[gt.length-2]+".nocache.js")),gt=Te.split("/"),oe=gt[gt.length-3],oe.substr(0,4)==="test"?oe=oe.substr(4,1)+"."+oe.substr(5,1):(oe.substr(0,3)==="war"||oe.substr(0,4)==="beta")&&(oe="5.0");var Zt=parseFloat(oe);Zt!==NaN&&Zt<5&&Te.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+Zt+" is deprecated. Using version latest instead."),Bt("5.0",Ge))},yt=function(Te,Ge){window.console&&window.console.log&&(!Ge||typeof Ge.showLogging=="undefined"||Ge.showLogging&&Ge.showLogging!=="false")&&console.log(Te)};ne.material_id!==void 0?me(Ft):Ft();function Ft(){var Te=vt;xe!==null?Te=xe:parseFloat(Te)<5&&(Te="5.0"),Bt(Te,!1),re!==null&&Qe(re,je),be=!0}return ft},GGBAppletUtils=function(){"use strict";function ft(){return window.GGBT_wsf_edit!==void 0}function vt(be,xe){xe!=1?(be.style.transformOrigin="0% 0% 0px",be.style.webkitTransformOrigin="0% 0% 0px",be.style.transform="scale("+xe+","+xe+")",be.style.webkitTransform="scale("+xe+","+xe+")",be.style.maxWidth="initial",be.querySelector(".ggb_preview")!==null&&(be.querySelector(".ggb_preview").style.maxWidth="initial"),be.querySelectorAll(".ggb_preview img")[0]!==void 0&&(be.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),be.querySelectorAll(".ggb_preview img")[1]!==void 0&&(be.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(be.style.transform="none",be.style.webkitTransform="none")}function ne(be,xe,re,De,Ne,Ae){var Le=null;if(Ae!=null&&Ae!="")for(var je=be.parentNode;je!=null;)if((" "+je.className+" ").indexOf(" "+Ae+" ")>-1){Le=je;break}else je=je.parentNode;var Ee=0,oe=0,E=0,a=0,b=0,y=0,x=0;if(Le)Ee=Le.offsetWidth,oe=Math.max(De?Le.offsetWidth:0,Le.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(Ee=Math.min(window.innerWidth,document.documentElement.clientWidth),oe=Math.min(window.innerHeight,document.documentElement.clientHeight),E=Ee):(Ee=window.innerWidth,oe=window.innerHeight,E=window.innerWidth),be){var ee=be.getBoundingClientRect();ee.left>0&&ee.left<=Ee&&(Ne===void 0||!Ne)&&(document.dir==="rtl"?(b=Ee-ee.width-ee.left,y=E<=480?10:30):(y=ee.left,b=E<=480?10:30),a=y+b)}if(be&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var te=be.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(a=40,x=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(a=0,x=40)}}return be&&((re===void 0||!re)&&xe>0&&xe+a<Ee?Ee=xe:Ee-=a,typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(re===void 0||!re)&&(oe-=x)),{width:Ee,height:oe}}function z(be,xe,re,De,Ne){if(be.isScreenshoGenerator)return 1;var Ae=De!==void 0&&De,Le=be.noScaleMargin!=null&&be.noScaleMargin,je=function(te){return te&&te!=="false"},Ee=je(be.autoHeight),oe=ne(xe,be.width,re,Ee,Ae&&window.GGBT_wsf_view||Le,Ne),E=parseInt(oe.width),a=be.width,b=be.height;if(a===void 0){var y=xe.querySelector(".appletParameters");y&&(a=y.offsetWidth,b=y.offsetHeight)}var x=E/a,ee=Ae?1:oe.height/b;return re!==void 0&&!re&&(x=Math.min(1,x),ee=Math.min(1,ee)),Math.min(x,ee)}function ie(be,xe,re){var De=1,Ne,Ae=!1;if(be.hasOwnProperty("allowUpscale")&&(Ae=be.allowUpscale),be.hasOwnProperty("scale")&&(De=parseFloat(be.scale),(isNaN(De)||De===null||De===0)&&(De=1),De>1&&(Ae=!0)),xe&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(Ae=!0),!(be.hasOwnProperty("disableAutoScale")&&be.disableAutoScale))Ne=z(be,xe,Ae,re,be.scaleContainerClass);else return De;return Ae&&(!be.hasOwnProperty("scale")||De===1)?Ne:Math.min(De,Ne)}function Pe(be){var xe=Math.min(window.innerWidth,document.documentElement.clientWidth),re=Math.min(window.innerHeight,document.documentElement.clientHeight),De=be.getBoundingClientRect(),Ne=(xe-De.width)/2,Ae=(re-De.height)/2;Ae<0&&(Ae=0),be.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(Ne<40?be.style.left="40px":be.style.left=Ne+"px",be.style.top=Ae+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(Ae<40?be.style.top="40px":be.style.top=Ae+"px",be.style.left=Ne+"px")}function Me(be,xe){var re=be.querySelector(".appletParameters");if(re){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(xe.id!==re.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(be)}if(re.parentElement&&/fullscreen/.test(re.parentElement.className))return;var De=ie(xe,be);ft()&&re.setAttribute("data-param-scale",De);for(var Ne=null,Ae=0;Ae<be.childNodes.length;Ae++)if(be.childNodes[Ae].className!==void 0&&be.childNodes[Ae].className.match(/^applet_scaler/)){Ne=be.childNodes[Ae];break}if(Ne!==null&&Ne.querySelector(".noscale")!==null)return;var Le=xe.id!==void 0?xe.id:"ggbApplet",je=window[Le];(je==null||!je.recalculateEnvironments)&&Ne!==null&&!Ne.className.match(/fullscreen/)&&(Ne.parentNode.style.transform="",!isNaN(De)&&De!==1?(Ne.parentNode.style.width=xe.width*De+"px",Ne.parentNode.style.height=xe.height*De+"px",vt(Ne,De)):(vt(Ne,1),Ne.parentNode.style.width=xe.width+"px",Ne.parentNode.style.height=xe.height+"px")),typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&Pe(be),window.GGBT_wsf_view&&!window.GGBT_wsf_view.isFullscreen()&&window.GGBT_wsf_general.adjustContentToResize($(re).parents(".content-added-content"))}}return{responsiveResize:Me,isFlexibleWorksheetEditor:ft,positionCenter:Pe,getScale:ie,scaleElement:vt}}();__WEBPACK_AMD_DEFINE_ARRAY__=[],__WEBPACK_AMD_DEFINE_RESULT__=function(){return GGBApplet}.apply(exports,__WEBPACK_AMD_DEFINE_ARRAY__),__WEBPACK_AMD_DEFINE_RESULT__!==void 0&&(module.exports=__WEBPACK_AMD_DEFINE_RESULT__),GGBAppletUtils.makeModule=function(name,permutation){function webModule(){var H="bootstrap",I="begin",J="gwt.codesvr."+name+"=",K="gwt.codesvr=",L=name,M="startup",N="DUMMY",O=0,P=1,Q="iframe",R="position:absolute; width:0; height:0; border:none; left: -1000px;",S=" top: -1000px;",T="Chrome",U="CSS1Compat",V="<!doctype html>",W="",X="<html><head></head><body></body></html>",Y="undefined",Z="readystatechange",$=10,_="script",ab="javascript",bb="Failed to load ",cb="moduleStartup",db="scriptTagAdded",eb="moduleRequested",fb="meta",gb="name",hb=name+"::",ib="::",jb="gwt:property",kb="content",lb="=",mb="gwt:onPropertyErrorFn",nb='Bad handler "',ob='" for "gwt:onPropertyErrorFn"',pb="gwt:onLoadErrorFn",qb='" for "gwt:onLoadErrorFn"',rb="#",sb="?",tb="/",ub="img",vb="clear.cache.gif",wb="baseUrl",xb=name+".nocache.js",yb="base",zb="//",Ab="selectingPermutation",Bb=name+".devmode.js",Cb=permutation,Db=":",Eb=".cache.js",Fb="loadExternalRefs",Gb="end",n=window,o=document;function p(){var ft=n.location.search;return ft.indexOf(J)!=-1||ft.indexOf(K)!=-1}function q(ft,vt){}webModule.__sendStats=q,webModule.__moduleName=L,webModule.__errFn=null,webModule.__moduleBase=N,webModule.__softPermutationId=O,webModule.__computePropValue=null,webModule.__getPropMap=null,webModule.__installRunAsyncCode=function(){},webModule.__gwtStartLoadingFragment=function(){return null},webModule.__gwt_isKnownPropertyValue=function(){return!1},webModule.__gwt_getMetaProperty=function(){return null};var r=null,s=n.__gwt_activeModules=n.__gwt_activeModules||{};s[L]={moduleName:L},webModule.__moduleStartupDone=function(ft){var vt=s[L].bindings;s[L].bindings=function(){for(var ne=vt?vt():{},z=ft[webModule.__softPermutationId],ie=O;ie<z.length;ie++){var Pe=z[ie];ne[Pe[O]]=Pe[P]}return ne}};var t;function u(){return v(),t}function v(){if(!t){var ft=o.createElement(Q);if(ft.id=L,ft.style.cssText=R+S,ft.tabIndex=-1,o.body.appendChild(ft),t=ft.contentWindow.document,navigator.userAgent.indexOf(T)==-1){t.open();var vt=document.compatMode==U?V:W;t.write(vt+X),t.close()}}}function w(ft){function vt(z){function ie(){return typeof o.readyState==Y?typeof o.body!=Y&&o.body!=null:/loaded|complete/.test(o.readyState)}var Pe=ie();if(Pe){z();return}function Me(){if(!Pe){if(!ie())return;Pe=!0,z(),o.removeEventListener&&o.removeEventListener(Z,Me,!1),be&&clearInterval(be)}}o.addEventListener&&o.addEventListener(Z,Me,!1);var be=setInterval(function(){Me()},$)}function ne(z){var ie=u(),Pe=ie.body,Me=ie.createElement(_);Me.language=ab,Me.crossOrigin=W,Me.src=z,webModule.__errFn&&(Me.onerror=function(){webModule.__errFn(L,new Error(bb+z))}),Pe.appendChild(Me)}vt(function(){ne(ft)})}webModule.__startLoadingFragment=function(ft){return C(ft)},webModule.__installRunAsyncCode=function(ft){var vt=u(),ne=vt.body,z=vt.createElement(_);z.language=ab,z.text=ft,ne.appendChild(z),ne.removeChild(z)};function A(){for(var c={},d,e,f=o.getElementsByTagName(fb),g=O,h=f.length;g<h;++g){var i=f[g],j=i.getAttribute(gb),k;if(j){if(j=j.replace(hb,W),j.indexOf(ib)>=O)continue;if(j==jb){if(k=i.getAttribute(kb),k){var l,m=k.indexOf(lb);m>=O?(j=k.substring(O,m),l=k.substring(m+P)):(j=k,l=W),c[j]=l}}else if(j==mb){if(k=i.getAttribute(kb),k)try{d=eval(k)}catch(ft){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(ft){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(ft){var vt=c[ft];return vt==null?null:vt},r=d,webModule.__errFn=e}function B(){function ft(be){var xe=be.lastIndexOf(rb);xe==-1&&(xe=be.length);var re=be.indexOf(sb);re==-1&&(re=be.length);var De=be.lastIndexOf(tb,Math.min(re,xe));return De>=O?be.substring(O,De+P):W}function vt(be){if(!be.match(/^\w+:\/\//)){var xe=o.createElement(ub);xe.src=be+vb,be=ft(xe.src)}return be}function ne(){var be=__gwt_getMetaProperty(wb);return be!=null?be:W}function z(){for(var be=o.getElementsByTagName(_),xe=O;xe<be.length;++xe)if(be[xe].src.indexOf(xb)!=-1)return ft(be[xe].src);return W}function ie(){var be=o.getElementsByTagName(yb);return be.length>O?be[be.length-P].href:W}function Pe(){var be=o.location;return be.href==be.protocol+zb+be.host+be.pathname+be.search+be.hash}var Me=ne();return Me==W&&(Me=z()),Me==W&&(Me=ie()),Me==W&&Pe()&&(Me=ft(o.location.href)),Me=vt(Me),Me}function C(ft){return ft.match(/^\//)||ft.match(/^[a-zA-Z]+:\/\//)?ft:webModule.__moduleBase+ft}function D(){var ft=[],vt=O,ne=[],z=[];function ie(be){var xe=z[be](),re=ne[be];if(xe in re)return xe;var De=[];for(var Ne in re)De[re[Ne]]=Ne;throw r&&r(be,De,xe),null}if(__gwt_isKnownPropertyValue=function(be,xe){return xe in ne[be]},webModule.__getPropMap=function(){var be={};for(var xe in ne)ne.hasOwnProperty(xe)&&(be[xe]=ie(xe));return be},webModule.__computePropValue=ie,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var Pe;try{Pe=Cb;var Me=Pe.indexOf(Db);Me!=-1&&(vt=parseInt(Pe.substring(Me+P),$),Pe=Pe.substring(O,Me))}catch(be){}return webModule.__softPermutationId=vt,C(Pe+Eb)}function F(){n.__gwt_stylesLoaded||(n.__gwt_stylesLoaded={})}A(),webModule.__moduleBase=window.ENV==="build"?"/react/build/js/mathematicalGraphics/"+name+"/":"/js/mathematicalGraphics/"+name+"/",s[L].moduleBase=webModule.__moduleBase;var G=D();return F(),w(G),!0}return webModule},typeof window.web3d!="function"&&(window.web3d=GGBAppletUtils.makeModule("web3d","A18F540516513B1292CA7CEF2F6AFC7E")),typeof window.webSimple!="function"&&(window.webSimple=GGBAppletUtils.makeModule("webSimple","96B09BF1B436BF53F0DF54116700F16A")),window.GGBApplet=GGBApplet})()},67303:function(ft,vt,ne){"use strict";ne.d(vt,{Ax:function(){return Me},Ds:function(){return be},KI:function(){return re},SI:function(){return Pe},f1:function(){return ie}});var z=ne(90524);function ie(De){let Ne=!0;if(De.length>0){for(let Ae=0;Ae<De.length;Ae++)if(De[Ae].compile_success==0||!De[Ae].compile_success){Ne=!1;break}}else Ne=!1;return Ne}function Pe(De,Ne=""){let Ae=[];for(let Le=0;Le<De.length;Le++){let je=De[Le],Ee=Ne?`${Ne}/${je.name}`:`${je.name}`;Ae.push({title:je.name,type:je.type,isLeaf:je.type!=="tree",key:Ee})}return Ae}function Me(De,Ne,Ae){for(let Le=0;Le<De.length;Le++){let je=De[Le];if(je.key===Ne){je.children=Ae;break}je.children&&Me(je.children,Ne,Ae)}return De}function be(De,Ne,Ae){let Le;return function(){let je=this,Ee=arguments,oe=function(){Le=null,Ae||De.apply(je,Ee)},E=Ae&&!Le;clearTimeout(Le),Le=setTimeout(oe,Ne),E&&De.apply(je,Ee)}}const xe=!0,re=z.Z.API_SERVER},64885:function(ft,vt,ne){"use strict";ne.d(vt,{Z:function(){return oe}});var z=ne(3113),ie=ne(59301),Pe=Object.defineProperty,Me=Object.defineProperties,be=Object.getOwnPropertyDescriptors,xe=Object.getOwnPropertySymbols,re=Object.prototype.hasOwnProperty,De=Object.prototype.propertyIsEnumerable,Ne=(E,a,b)=>a in E?Pe(E,a,{enumerable:!0,configurable:!0,writable:!0,value:b}):E[a]=b,Ae=(E,a)=>{for(var b in a||(a={}))re.call(a,b)&&Ne(E,b,a[b]);if(xe)for(var b of xe(a))De.call(a,b)&&Ne(E,b,a[b]);return E},Le=(E,a)=>Me(E,be(a)),je=(E,a)=>{var b={};for(var y in E)re.call(E,y)&&a.indexOf(y)<0&&(b[y]=E[y]);if(E!=null&&xe)for(var y of xe(E))a.indexOf(y)<0&&De.call(E,y)&&(b[y]=E[y]);return b},Ee=(E,a,b)=>new Promise((y,x)=>{var ee=ue=>{try{ae(b.next(ue))}catch(de){x(de)}},te=ue=>{try{ae(b.throw(ue))}catch(de){x(de)}},ae=ue=>ue.done?y(ue.value):Promise.resolve(ue.value).then(ee,te);ae((b=b.apply(E,a)).next())});const oe=E=>{var a=E,{children:b}=a,y=je(a,["children"]);const[x,ee]=(0,ie.useState)(!1);return ie.createElement(z.ZP,Le(Ae({},y),{loading:x,onClick:te=>Ee(void 0,null,function*(){try{ee(!0),yield y.onClick(te),ee(!1)}catch(ae){console.error(ae),ee(!1)}})}),b)}},77817:function(ft,vt,ne){"use strict";ne.d(vt,{Z:function(){return Ee}});var z=ne(59301),ie=ne(8591),Pe=ne(92832),Me={codeBox:"codeBox___WpkVl"},be=ne(92310),xe=ne.n(be),re=Object.defineProperty,De=(oe,E,a)=>E in oe?re(oe,E,{enumerable:!0,configurable:!0,writable:!0,value:a}):oe[E]=a,Ne=(oe,E,a)=>De(oe,typeof E!="symbol"?E+"":E,a),Ae=(oe,E,a)=>new Promise((b,y)=>{var x=ae=>{try{te(a.next(ae))}catch(ue){y(ue)}},ee=ae=>{try{te(a.throw(ae))}catch(ue){y(ue)}},te=ae=>ae.done?b(ae.value):Promise.resolve(ae.value).then(x,ee);te((a=a.apply(oe,E)).next())});class Le extends z.Component{constructor(E){super(E),Ne(this,"canvas"),Ne(this,"randomNum",(a,b)=>Math.floor(Math.random()*(b-a)+a)),Ne(this,"drawPic",()=>{this.randomCode()}),Ne(this,"reloadPic",()=>{this.drawPic()}),Ne(this,"changeCode",a=>{console.log(a.target.value,222),this.setState({value:a.target.value,showError:!1})}),Ne(this,"onVerify",()=>{let a;return this.state.value.toLowerCase()!==""&&this.state.value.toLowerCase()!==this.state.code.toLowerCase()?(a=!0,ie.ZP.error("\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u9A8C\u8BC1\u7801"),this.reloadPic()):this.state.value.toLowerCase()===""?(a=!0,ie.ZP.error("\u8BF7\u8F93\u5165\u9A8C\u8BC1\u7801")):this.state.value.toLowerCase()===this.state.code.toLowerCase()&&(a=!1),this.setState({showError:a}),a}),this.canvas=z.createRef(),this.state={value:"",code:"",codeLength:4,fontSizeMin:20,fontSizeMax:22,backgroundColorMin:240,backgroundColorMax:250,colorMin:10,colorMax:20,lineColorMin:40,lineColorMax:180,contentWidth:96,contentHeight:38,showError:!1}}componentDidMount(){this.drawPic()}randomColor(E,a){const b=this.randomNum(E,a),y=this.randomNum(E,a),x=this.randomNum(E,a);return`rgb(${b}, ${y}, ${x})`}drawText(E,a,b){E.fillStyle=this.randomColor(this.state.colorMin,this.state.colorMax);const y=this.randomNum(this.state.fontSizeMin,this.state.fontSizeMax);E.font=y+"px SimHei";const x=10,ee=(this.state.contentWidth-40)/(this.state.code.length-1);let te=x;b>0&&(te=x+b*ee);let ae=this.randomNum(this.state.fontSizeMax,this.state.contentHeight-5);y>40&&(ae=40);const ue=this.randomNum(-10,10);E.translate(te,ae),E.rotate(ue*Math.PI/180),E.fillText(a,0,0),E.rotate(-ue*Math.PI/180),E.translate(-te,-ae)}drawLine(E){for(let a=0;a<1;a++)E.strokeStyle=this.randomColor(this.state.lineColorMin,this.state.lineColorMax),E.beginPath(),E.moveTo(this.randomNum(0,this.state.contentWidth),this.randomNum(0,this.state.contentHeight)),E.lineTo(this.randomNum(0,this.state.contentWidth),this.randomNum(0,this.state.contentHeight)),E.stroke()}drawDot(E){for(let a=0;a<100;a++)E.fillStyle=this.randomColor(0,255),E.beginPath(),E.arc(this.randomNum(0,this.state.contentWidth),this.randomNum(0,this.state.contentHeight),1,0,2*Math.PI),E.fill()}randomCode(){let E="";const a="QWERTYUPLKJHGFDSAZXCVBNMqwertyupkjhgfdsazxcvbnm1234567890";for(let b=0;b<this.state.codeLength;b++){const y=Math.floor(Math.random()*57);E+=a[y]}this.setState({code:E},()=>{const y=this.canvas.current.getContext("2d");y.textBaseline="bottom",y.fillStyle=this.randomColor(this.state.backgroundColorMin,this.state.backgroundColorMax),y.fillRect(0,0,this.state.contentWidth,this.state.contentHeight);for(let x=0;x<this.state.code.length;x++)this.drawText(y,this.state.code[x],x);this.drawLine(y),this.drawDot(y)})}render(){const{className:E,width:a=300}=this.props;return z.createElement("div",{className:xe()(Me.codeBox,E),style:{width:a}},z.createElement("aside",null,z.createElement(Pe.default,{value:this.state.value,onChange:this.changeCode,placeholder:"\u8BF7\u8F93\u5165\u56FE\u7247\u4E2D\u7684\u9A8C\u8BC1\u7801"})),z.createElement("div",null,z.createElement("canvas",{onClick:this.reloadPic,ref:this.canvas,width:"100",height:"30"}),z.createElement("div",{className:"current",onClick:this.reloadPic},"\u770B\u4E0D\u6E05\uFF1F\u6362\u4E00\u5F20")))}}const je=(oe,E)=>{let a;Modal.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:React.createElement("div",null,React.createElement("p",null,E),React.createElement(Le,{ref:b=>a=b})),onOk:()=>Ae(void 0,null,function*(){if(a.onVerify())return Promise.reject();oe()})})};var Ee=Le},20927:function(ft,vt,ne){"use strict";ne.d(vt,{Z:function(){return Ne}});var z=ne(59301),ie=ne(92832),Pe=ne(12563),Me=ne(8591),be={flex:"flex___eLcnP",flex1:"flex1___yUTT7",color666:"color666___TiUhG",error:"error___gTTtv",deleteIcon:"deleteIcon___mnZW1",addIcon:"addIcon___JC5NS"},xe=ne(62772);const{TextArea:re}=ie.default;class De extends z.Component{constructor(Le){super(Le),this.state={inputVisible:!1,EditInputIndex:-1}}render(){let{index:Le,onAnswerChange:je,addChildAnswer:Ee,exerciseIsPublish:oe,answers:E,activeOptionErrorIndex:a,flex:b="0 0 1000px"}=this.props;console.log("----",E);let{inputVisible:y,EditInputIndex:x}=this.state;return z.createElement("div",{className:be.flex},z.createElement("div",{className:`${be.color666} mb5 mt6`,style:{flex:"0 0 90px"}},"\u7B54\u6848(\u586B\u7A7A",Le+1,"):"),z.createElement("div",{style:{border:"1px solid #f6f6f6",flex:1,padding:10}},E==null?void 0:E.map((ee,te)=>z.createElement(z.Fragment,null,x!==te?(ee==null?void 0:ee.length)>0?z.createElement(Pe.default,{className:"edit-tag",key:ee,closable:!((E==null?void 0:E.length)===1&&te===0),onClose:ae=>{ae.preventDefault(),(E==null?void 0:E.length)===1&&te===0?this.props.deleteChildAnswermain(Le,te):this.props.deleteChildAnswer(Le,te)}},z.createElement("span",{onDoubleClick:ae=>{this.setState({EditInputIndex:te}),ae.preventDefault()}},ee)):z.createElement(ie.default,{defaultValue:ee,style:{width:78,marginRight:8,height:24,verticalAlign:"top"},onBlur:ae=>{if(ae.target.value.replaceAll(" ","").length<=0){Me.ZP.info("\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7EAF\u7A7A\u683C");return}je(Le,te,ae.target.value),this.setState({EditInputIndex:-1,inputVisible:!1})}}):z.createElement(ie.default,{defaultValue:ee,style:{width:78,marginRight:8,height:24,verticalAlign:"top"},onBlur:ae=>{if(ae.target.value.replaceAll(" ","").length<=0){Me.ZP.info("\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7EAF\u7A7A\u683C");return}je(Le,te,ae.target.value),this.setState({EditInputIndex:-1,inputVisible:!1})}}))),!y&&z.createElement(Pe.default,{className:"site-tag-plus",onClick:()=>{Ee(Le),this.setState({inputVisible:!0})}},z.createElement(xe.Z,null)," \u65B0\u589E\u7B54\u6848")))}}var Ne=De},48106:function(ft,vt,ne){"use strict";ne.d(vt,{Z:function(){return oe}});var z=ne(59301),ie=ne(89389),Pe=Object.defineProperty,Me=Object.defineProperties,be=Object.getOwnPropertyDescriptors,xe=Object.getOwnPropertySymbols,re=Object.prototype.hasOwnProperty,De=Object.prototype.propertyIsEnumerable,Ne=(E,a,b)=>a in E?Pe(E,a,{enumerable:!0,configurable:!0,writable:!0,value:b}):E[a]=b,Ae=(E,a)=>{for(var b in a||(a={}))re.call(a,b)&&Ne(E,b,a[b]);if(xe)for(var b of xe(a))De.call(a,b)&&Ne(E,b,a[b]);return E},Le=(E,a)=>Me(E,be(a)),je=(E,a,b)=>Ne(E,typeof a!="symbol"?a+"":a,b);const Ee="\u2581";class oe extends z.Component{constructor(){super(...arguments),je(this,"getChCountBeforeCursor",(a,b)=>{const y=b.line;let x=0;for(let te=0;te<y;te++)x+=a.getLine(te).split(Ee).length-1;const ee=a.getLine(y).substring(0,b.ch);return x+=ee.split(Ee).length-1,x}),je(this,"onCMBeforeChange",(a,b)=>{const y=a.getRange(b.from,b.to);let x=0;if(b.text.forEach(ee=>{x+=ee.split(Ee).length-1}),y&&y.indexOf(Ee)!=-1){const ee=y.split(Ee).length-1,te=this.getChCountBeforeCursor(a,b.from);console.log(`\u5220\u9664${ee}\u4E2A\uFF0C \u4E4B\u524D\u6709${te}\u4E2A\uFF0C\u65B0\u589E${x}\u4E2A`),this.props.deleteEmptyDisabled?b.cancel():this.props.onPlaceholderChange&&this.props.onPlaceholderChange(te,ee,x)}else if(x){const ee=this.getChCountBeforeCursor(a,b.from);console.log(`\u65B0\u589E${x}\u4E2A\uFF0C\u4E4B\u524D\u6709${ee}\u4E2A`),this.props.onPlaceholderChange&&this.props.onPlaceholderChange(ee,0,x)}})}render(){return z.createElement(ie.Z,Le(Ae({},this.props),{onCMBeforeChange:this.onCMBeforeChange}))}}},84216:function(ft,vt,ne){"use strict";ne.d(vt,{Z:function(){return xe}});var z=ne(60324),ie={text:"text___FxbAX",wrap:"wrap___UlBQ1",contact:"contact____pUDq",img:"img___BapAv"},Pe=ne(32637),Me=ne(59301),xe=({type:re,style:De})=>{const Ne=Me.createElement("div",{className:ie.wrap,onClick:Ae=>{Ae.preventDefault(),Ae.stopPropagation()}},Me.createElement("p",null,re==="shixun"||re==="paths"?"\u5F53\u524D\u5B9E\u8DF5\u9879\u76EE\u662F\u9AD8\u6D88\u8017\u7C7B\u578B\u7684\u5B9E\u9A8C\u3002":"\u5F53\u524D\u8BD5\u5377\u5305\u542B\u9AD8\u6D88\u8017\u7C7B\u578B\u7684\u5B9E\u9A8C\u3002",Me.createElement("br",null),"\u6839\u636E\u5E73\u53F0\u4F7F\u7528\u89C4\u5219\uFF0C\u9700\u8981\u6388\u6743\u624D\u80FD\u4F7F\u7528\u3002",re==="paths"?"\u53D1\u9001\u5230\u8BFE\u5802":"\u53D1\u5E03","\u4F7F\u7528\u4E4B\u524D\uFF0C\u8BF7\u5148\u8054\u7CFB\u5E73\u53F0\u7BA1\u7406\u5458\u83B7\u53D6\u6388\u6743\u7801\u3002"),Me.createElement("div",{className:ie.contact},Me.createElement("div",{className:ie.img},Me.createElement("img",{src:Pe,width:"124px",height:"124px"})),Me.createElement("div",{className:"tc font14 mt10",style:{color:"#777A93"}},"\u626B\u4E00\u626B\uFF0C\u83B7\u53D6\u6388\u6743\u7801")));return Me.createElement(z.Z,{content:Ne},Me.createElement("span",{className:ie.text,style:De},"\u9AD8\u6D88\u8017"))}},6077:function(ft,vt,ne){"use strict";ne.d(vt,{Z:function(){return Le}});var z=ne(59301),ie={imageDimensions:"imageDimensions___a7crR",img:"img___Kroat",fullWidth:"fullWidth___c492T"},Pe=ne(92310),Me=ne.n(Pe),be=ne(71418),xe=ne(2859),re=ne(82093),De=ne(49661),Ne=(je,Ee,oe)=>new Promise((E,a)=>{var b=ee=>{try{x(oe.next(ee))}catch(te){a(te)}},y=ee=>{try{x(oe.throw(ee))}catch(te){a(te)}},x=ee=>ee.done?E(ee.value):Promise.resolve(ee.value).then(b,y);x((oe=oe.apply(je,Ee)).next())}),Le=({data:je,className:Ee,fullWidth:oe,style:E={},onClose:a,onOk:b,showFullTools:y,noAssociationId:x})=>{const ee=(0,z.useRef)(null),te=(0,z.useRef)(null),ae=(0,z.useRef)(null),ue=(0,z.useRef)(null),[de,me]=(0,z.useState)(!1),[Be,ve]=(0,z.useState)("\u6B63\u5728\u52A0\u8F7D\u4E2D");(0,z.useEffect)(()=>{ae.current||(ae.current=document.createElement("style"),document.head.appendChild(ae.current)),je!=null&&je.visible?(document.body.setAttribute("data-custom","y-hidden"),ae.current.innerHTML=" html { overflow-y: hidden; }",je!=null&&je.src&&Fe()):(document.body.removeAttribute("data-custom"),ae.current&&(document.head.removeChild(ae.current),ae.current=null))},[je==null?void 0:je.visible]);const Fe=()=>Ne(void 0,null,function*(){me(!0),ve("\u6B63\u5728\u52A0\u8F7D\u4E2D");const ze=yield(0,De.ZJ)(je==null?void 0:je.src);ee.current.src="",ee.current.src=ze,ee.current.onload=function(){Ue()},me(!1),ve("")}),ge=()=>{document.body.removeAttribute("data-custom"),ae.current.innerHTML=" ",a()},Je=ze=>Ne(void 0,null,function*(){me(!0),ve("\u6B63\u5728\u4FDD\u5B58\u4E2D");const Ke=yield(0,re.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:je.title,file:ze.dataUrl}});Ke!=null&&Ke.id&&!x?(yield(0,re.ZP)(`/api/attachments/${je.id}/add_subitem.json`,{method:"post",body:{subitem_id:Ke==null?void 0:Ke.id,settings:JSON.stringify(ze.state)}})).status===0&&b():Ke!=null&&Ke.id&&b(Ke),document.body.removeAttribute("data-custom"),ae.current.innerHTML=" ",me(!1),ve("")}),Ie=()=>{const ze=document.querySelector('a[href="https://markerjs.com/"]');ze&&ze.parentNode&&(ze.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(lt=>{const St=document.querySelector(lt.name);St&&St.setAttribute("title",lt.title)})},Ue=()=>{te.current=new xe.hP(ee.current),te.current.targetRoot=ue.current,te.current.addEventListener("render",Je),te.current.addEventListener("beforeclose",ge),y&&(te.current.availableMarkerTypes=te.current.ALL_MARKER_TYPES,te.current.uiStyleSettings.redoButtonVisible=!0,te.current.uiStyleSettings.notesButtonVisible=!0,te.current.uiStyleSettings.zoomButtonVisible=!0,te.current.uiStyleSettings.zoomOutButtonVisible=!0,te.current.uiStyleSettings.clearButtonVisible=!0),window.markerArea=te.current.uiStyleSettings,te.current.show(),je!=null&&je.snapshotData&&te.current.restoreState(je.snapshotData),setTimeout(()=>{window.scrollTo(0,0),Ie()},300)};return z.createElement(z.Fragment,null,(je==null?void 0:je.visible)&&z.createElement(be.Z,{spinning:de,tip:Be,style:{position:"absolute"}},z.createElement("div",{ref:ue,className:Me()(ie.imageDimensions,Ee,oe?ie.fullWidth:""),style:E},z.createElement("img",{className:ie.img,ref:ee}))))}},65986:function(ft,vt,ne){"use strict";var z=ne(59301),ie=ne(21697),Pe=ne(48136),Me=ne(88615),be=ne(43418),xe=ne(59301);const re=(0,z.forwardRef)(({callback:De,width:Ne,onChange:Ae,disabled:Le,readOnly:je,type:Ee="",value:oe="",style:E={}},a)=>{const b=(0,z.useRef)(),y=(0,z.useRef)(),[x,ee]=(0,z.useState)(0),[te,ae]=(0,z.useState)(0),[ue,de]=(0,z.useState)(!1),me=()=>{var ge=document.createElement("div");ge.innerHTML=b.current.getValue();var Je=ge.innerText;return De&&De(Je),Je};(0,z.useImperativeHandle)(a,()=>({getData:me}));const Be=ge=>{ge.preventDefault();const Je=ge.clientX-x,Ie=ge.clientY-te;document.body.onmousemove=Ue=>{let ze=Ue.clientX-Je,Ke=Ue.clientY-Ie;const lt=document.getElementsByClassName("markdown-popup-form")[0],St=window.innerWidth-lt.offsetWidth,ot=window.innerHeight-lt.offsetHeight;ze=Math.max(0,Math.min(ze,St)),Ke=Math.max(0,Math.min(Ke,ot)),ve(Ue.clientX,Ue.clientY,Je,Ie)&&(ee(ze),ae(Ke))},document.body.onmouseup=function(){document.body.onmousemove=null}},ve=(ge,Je,Ie,Ue)=>{const ze=document.body.clientHeight,Ke=document.body.clientWidth;return ge<20&&Ie>ge||ge>Ke-20&&Ie<ge||Je<20&&Ue>Je||Je>ze-20&&Ue<Je?(document.body.onmousemove=null,document.body.onmouseup=null,!1):!0};(0,z.useEffect)(()=>{ue&&setTimeout(()=>{const ge=document.getElementsByClassName("markdown-popup-form")[0],Je=window.innerWidth/2-ge.offsetWidth/2,Ie=window.innerHeight/2-ge.offsetHeight/2;ee(Je),ae(Ie)},0)},[ue]);const Fe=()=>{Le||je||de(!0)};return xe.createElement("div",{style:E},xe.createElement("div",{style:{width:Ne||"100%",position:"relative"},className:`${ie.Z.mathFillWrap} ${Le||je?"cursorDefault":""}`,onClick:()=>Fe()},xe.createElement("math-field",{disabled:Le,locale:"zh_cn",class:`${ie.Z.mathField} ${Ee}`,readOnly:je,placeholder:"\u8BF7\u8F93\u5165\u516C\u5F0F",ref:b,style:{width:"100%",fontSize:oe?18:14},value:oe||""})),xe.createElement(be.default,{maskClosable:!1,centered:!0,width:860,style:{position:"absolute",left:x,top:te},title:xe.createElement("div",{style:{cursor:"move"},onMouseDown:Be},"\u8F93\u5165\u516C\u5F0F"),open:ue,onOk:()=>{const ge=y.current.getData();b.current.setValue(ge),Ae(ge),de(!1)},onCancel:()=>{de(!1)},destroyOnClose:!0,className:"markdown-popup-form"},xe.createElement(Me.Z,{value:oe,ref:y,onChange:Ae,showSaveButton:!1})))});vt.Z=re},88615:function(ft,vt,ne){"use strict";var z=ne(59301),ie=ne(95237),Pe=ne(43604),Me=ne(99313),be=ne(3113),xe=ne(7664),re=ne(21697),De=ne(48136),Ne=ne(59301);const Ae=(0,z.forwardRef)(({callback:Le,showSaveButton:je,value:Ee=""},oe)=>{const E=(0,z.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}`}]}]}],y=te=>{E.current.setValue(E.current.getValue()+" "+te.value+" ")},x=[{key:"1",label:"\u5FEB\u6377\u6A21\u677F",children:Ne.createElement(ie.Z,{className:re.Z.lists,gutter:[10,10]},a.map((te,ae)=>Ne.createElement(Pe.Z,{flex:"110px",className:re.Z.item},Ne.createElement("div",null,Ne.createElement(xe.Z,{value:`$$${te.value}$$`}),te.name),Ne.createElement("div",{className:re.Z.children},te.children.map((ue,de)=>Ne.createElement("div",{key:de},Ne.createElement("h1",null,ue.name),Ne.createElement(ie.Z,{gutter:[10,10]},ue.data.map((me,Be)=>Ne.createElement(Pe.Z,{key:Be,onClick:()=>y(me),className:re.Z.diamond},Ne.createElement(xe.Z,{value:"`$$"+me.value+"$$`"}))))))))))},{key:"2",label:"\u516C\u5F0F\u6A21\u677F",children:Ne.createElement(ie.Z,{className:re.Z.lists,gutter:[10,10]},b.map((te,ae)=>Ne.createElement(Pe.Z,{flex:"110px",className:re.Z.item},Ne.createElement("div",null,Ne.createElement(xe.Z,{value:"`$$"+te.value+"$$`"}),te.name),Ne.createElement("div",{className:re.Z.children},te.children.map((ue,de)=>Ne.createElement("div",{key:de},ue.name&&Ne.createElement("h1",null,ue.name),Ne.createElement(ie.Z,{gutter:[10,10]},ue.data.map((me,Be)=>Ne.createElement(Pe.Z,{key:Be,onClick:()=>y(me),className:re.Z.diamond},Ne.createElement(xe.Z,{value:"`$$"+me.value+"$$`"}))))))))))}],ee=()=>{var te=document.createElement("div");te.innerHTML=E.current.getValue();var ae=te.innerText;return Le&&Le(ae),ae};return(0,z.useImperativeHandle)(oe,()=>({getData:ee})),Ne.createElement("div",{className:re.Z.mathWrap},Ne.createElement(Me.default,{defaultActiveKey:"1",items:x}),Ne.createElement("math-field",{locale:"zh_cn",className:re.Z.mathField,placeholder:"\u8BF7\u6253\u5F00\u952E\u76D8\uFF0C\u8F93\u5165\u516C\u5F0F",ref:E,style:{width:800,marginTop:30,fontSize:18}},Ee||""),je&&Ne.createElement("div",{className:re.Z.button},Ne.createElement(be.ZP,{size:"large",onClick:ee,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))});vt.Z=Ae},51110:function(ft,vt,ne){"use strict";ne.d(vt,{t:function(){return We}});var z=ne(59301),ie=ne(92832),Pe=ne(78241),Me=ne(43418),be=ne(95237),xe=ne(43604),re=ne(5871),De=ne(57809),Ne=ne(5112),Ae=ne(54657),Le=ne(76560),je=ne(69092),Ee=ne(8591),oe=ne(3113),E=ne(71418),a=ne(24334),b={flex_box_center:"flex_box_center___kOQ8P",flex_space_between:"flex_space_between___fY6jt",flex_box_vertical_center:"flex_box_vertical_center___bDSSI",flex_box_center_end:"flex_box_center_end___mQ6mU",flex_box_column:"flex_box_column___F15G0",result:"result___UYRo8",left:"left___TRaH5",right:"right___twp9s",box:"box___vwndt",li:"li___hRe2d"},y=ne(82093),x=ne(50582),ee=ne(89389),te=ne(56102),ae=ne(55956),ue=ne(59301),de=Object.defineProperty,me=Object.defineProperties,Be=Object.getOwnPropertyDescriptors,ve=Object.getOwnPropertySymbols,Fe=Object.prototype.hasOwnProperty,ge=Object.prototype.propertyIsEnumerable,Je=(Re,he,ce)=>he in Re?de(Re,he,{enumerable:!0,configurable:!0,writable:!0,value:ce}):Re[he]=ce,Ie=(Re,he)=>{for(var ce in he||(he={}))Fe.call(he,ce)&&Je(Re,ce,he[ce]);if(ve)for(var ce of ve(he))ge.call(he,ce)&&Je(Re,ce,he[ce]);return Re},Ue=(Re,he)=>me(Re,Be(he)),ze=(Re,he,ce)=>new Promise((_e,it)=>{var pe=ke=>{try{Xe(ce.next(ke))}catch(Ce){it(Ce)}},fe=ke=>{try{Xe(ce.throw(ke))}catch(Ce){it(Ce)}},Xe=ke=>ke.done?_e(ke.value):Promise.resolve(ke.value).then(pe,fe);Xe((ce=ce.apply(Re,he)).next())}),lt=({buttonProps:Re,buttonText:he,form:ce,hackIdentifier:_e="",answerKey:it,data:pe})=>{const[fe,Xe]=(0,z.useState)(!1),[ke,Ce]=(0,z.useState)(!1),[tt,Rt]=(0,z.useState)(!1),[dt,wt]=(0,z.useState)({}),[At,zt]=(0,z.useState)(""),[pt,en]=(0,z.useState)(""),nn=(0,z.useRef)(_e),Tt=(0,z.useRef)(""),Nt=(0,z.useRef)(!1);(0,z.useEffect)(()=>{tt&&wn()},[tt]),(0,z.useEffect)(()=>()=>{sessionStorage.removeItem("projectFill")},[]);const $t=()=>new Date().getTime(),ln=pe==null?void 0:pe.code,dn=()=>{var Dt,Gt;let un=ln?pe==null?void 0:pe.code:(Dt=ce.getFieldValue("hack_codes"))==null?void 0:Dt.code,tn=ln?pe==null?void 0:pe.answer_content:ce.getFieldValue(it),Qn=ln?pe==null?void 0:pe.input:(Gt=ce.getFieldValue("hack_sets"))==null?void 0:Gt.input;tn==null||tn.forEach(ca=>{const Pn=ca.value||ca.answer_text||"";un=un.replace(/(@▁@|@▁▁@)/,Pn)}),en(Qn),zt(un),wt({}),Rt(!0)},wn=()=>ze(void 0,null,function*(){var Dt,Gt,un,tn;const Qn=$t(),ca=ln?pe==null?void 0:pe.time_limit:(Dt=ce.getFieldsValue())==null?void 0:Dt.hack.time_limit,Pn=ln?(Gt=pe==null?void 0:pe.answer_content)==null?void 0:Gt.length:(tn=(un=ce.getFieldsValue())==null?void 0:un.standard_answers)==null?void 0:tn.length;Xe(!0),yield(0,x.bM)(Tt.current,{test_hack_code:At,test_input:pt});function Ut(){return ze(this,null,function*(){const{status:Xn,data:et}=yield(0,x.rX)(Tt.current,"submit"),qt=$t()-Qn>(ca+3)*1e3*Pn;if(Nt.current){if(qt){Ee.ZP.error("\u8C03\u8BD5\u4EE3\u7801\u8D85\u65F6"),Xe(!1);return}if(Xn===0){Xe(!1),wt(Ue(Ie({},et),{showText:!0}));return}setTimeout(Ut,1e3)}})}Ut()}),zn=()=>ze(void 0,null,function*(){var Dt,Gt,un,tn,Qn,ca,Pn;if(!pe){try{yield ce.validateFields()}catch(Ht){(un=(Gt=(Dt=Ht==null?void 0:Ht.errorFields)==null?void 0:Dt[0])==null?void 0:Gt.name)!=null&&un.includes("standard_answers")?Ee.ZP.error("\u586B\u7A7A\u9879\u7B54\u6848\u4E0D\u80FD\u4E3A\u7A7A"):Ee.ZP.error(Ht.errorFields[0].errors[0]),ce.scrollToField(Ht.errorFields[0].name,{behavior:"smooth",block:"center"});return}Ce(!0);let Xn="";const et=ce.getFieldsValue();nn.current?Xn=yield(0,y.ZP)(`/api/problems/${nn.current}.json`,{method:"put",body:Ue(Ie({},et),{hack:Ue(Ie({},et==null?void 0:et.hack),{sub_discipline_id:(Pn=(ca=et==null?void 0:et.hack)==null?void 0:ca.sub_discipline_id)==null?void 0:Pn[1],difficult:et.difficulty,item_banks_group_id:et.item_banks_group_id}),hack_codes:Ue(Ie({},et.hack_codes),{code:a.Base64.encode(et.hack_codes.code)}),update_hack_sets:[Ie({},et.hack_sets)],is_blank:!0})}):(Xn=yield(0,y.ZP)("/api/problems.json",{method:"post",body:Ue(Ie({},et),{hack:Ue(Ie({},et==null?void 0:et.hack),{sub_discipline_id:(Qn=(tn=et==null?void 0:et.hack)==null?void 0:tn.sub_discipline_id)==null?void 0:Qn[1],difficult:et.difficulty,item_banks_group_id:et.item_banks_group_id}),hack_codes:Ue(Ie({},et.hack_codes),{code:a.Base64.encode(et.hack_codes.code)}),hack_sets:[Ie({},et.hack_sets)],is_blank:!0})}),nn.current=Xn==null?void 0:Xn.identifier,sessionStorage.projectFill=Xn==null?void 0:Xn.identifier)}const Ut=yield(0,y.ZP)(`/api/problems/${nn.current}/start.json`,{method:"get"});if((Ut==null?void 0:Ut.status)===0){Tt.current=Ut==null?void 0:Ut.identifier,Nt.current=!0,Ce(!1),dn();return}Ce(!1)}),Mt=Dt=>{const{status:Gt,error_msg:un,execute_time:tn,output:Qn,input:ca,expected_output:Pn}=Dt;let Ut=null;switch(Gt){case ae.h.OK:Ut=ue.createElement(ue.Fragment,null,ue.createElement("p",null,"\u6267\u884C\u7528\u65F6\uFF1A",tn/1e3,"\u79D2"),ue.createElement("p",null,"\u6267\u884C\u7ED3\u679C\uFF1A\u8C03\u8BD5\u901A\u8FC7"));break;case ae.h.NOMATCH:Ut=ue.createElement(ue.Fragment,null,ue.createElement("div",null,"\u8F93\u5165\uFF1A"),ue.createElement("pre",{style:{fontFamily:"initial"}},ca),ue.createElement("div",null,"\u8F93\u51FA\uFF1A"),ue.createElement("pre",{style:{fontFamily:"initial"}},Qn&&a.Base64.decode(Qn)),ue.createElement("div",null,"\u9884\u671F\u8F93\u51FA\uFF1A"),ue.createElement("pre",{style:{fontFamily:"initial"}},Pn&&a.Base64.decode(Pn)));break;case ae.h.EXECUTEFAILURE:Ut=ue.createElement(ue.Fragment,null,ue.createElement("p",null,"\u6700\u540E\u6267\u884C\u7684\u8F93\u5165\uFF1A",ue.createElement("pre",null,ca)),ue.createElement("p",null,"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),ue.createElement("pre",{className:"error"},a.Base64.decode(un)));break;case ae.h.COMPILEFAILURE:Ut=ue.createElement(ue.Fragment,null,ue.createElement("p",null,"\u6700\u540E\u6267\u884C\u7684\u8F93\u5165\uFF1A",ue.createElement("pre",null,ca)),ue.createElement("p",null,"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),ue.createElement("pre",{className:"error"},a.Base64.decode(un)));break;case ae.h.PODFAILURE:Ut=ue.createElement("p",null,"\u521B\u5EFApod\u5931\u8D25\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break;case ae.h.TIMEOUT:Ut=ue.createElement("p",null,"\u8BC4\u6D4B\u8D85\u65F6\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break}return ue.createElement(ue.Fragment,null," ",Ut," ")};return ue.createElement("div",null,ue.createElement(oe.ZP,Ue(Ie({loading:ke},Re),{onClick:zn}),he),ue.createElement(Me.default,{open:tt,title:"\u8C03\u8BD5\u4EE3\u7801",destroyOnClose:!0,width:1200,okText:"\u8FD0\u884C\u6D4B\u8BD5",confirmLoading:fe,cancelButtonProps:{style:{display:"none"}},onOk:()=>wn(),onCancel:()=>{Nt.current=!1,Rt(!1)}},ue.createElement("div",{className:b.result},ue.createElement("div",{className:b.left},ue.createElement("div",{className:"mb20"},ue.createElement("span",{className:"c-black"},"\u6267\u884C\u4EE3\u7801"),!pe&&ue.createElement(te.CopyToClipboard,{text:At,onCopy:()=>Ee.ZP.success("\u590D\u5236\u6210\u529F")},ue.createElement("span",{style:{float:"right"},className:"current c-light-primary"},ue.createElement("i",{className:"iconfont icon-fuzhi8 mr5"}),"\u590D\u5236"))),ue.createElement(ee.Z,{height:510,className:"mb0",hidetoolBar:!0,defaultValue:At,onChange:Dt=>zt(Dt)})),ue.createElement("div",{className:b.right},ue.createElement("div",{className:"c-black mb20"},"\u81EA\u5B9A\u4E49\u6D4B\u8BD5\u7528\u4F8B"),ue.createElement("div",{className:b.box},ue.createElement("div",{className:b.li},ue.createElement(ie.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165",value:pt,onChange:Dt=>en(Dt.target.value),bordered:!1,style:{height:180}}))),ue.createElement("div",{className:"c-black mb20 mt30"},"\u4EE3\u7801\u6267\u884C\u7ED3\u679C"),ue.createElement("div",{className:b.box},ue.createElement(E.Z,{spinning:fe,tip:"\u4EE3\u7801\u6267\u884C\u4E2D"},ue.createElement("div",{className:b.li,style:{height:196,overflow:"auto",padding:10}},Mt(dt))))))))},St=ne(87169),ot=ne(59301),Bt=Object.defineProperty,Qe=Object.defineProperties,yt=Object.getOwnPropertyDescriptors,Ft=Object.getOwnPropertySymbols,Te=Object.prototype.hasOwnProperty,Ge=Object.prototype.propertyIsEnumerable,gt=(Re,he,ce)=>he in Re?Bt(Re,he,{enumerable:!0,configurable:!0,writable:!0,value:ce}):Re[he]=ce,Zt=(Re,he)=>{for(var ce in he||(he={}))Te.call(he,ce)&&gt(Re,ce,he[ce]);if(Ft)for(var ce of Ft(he))Ge.call(he,ce)&&gt(Re,ce,he[ce]);return Re},mt=(Re,he)=>Qe(Re,yt(he)),Ot=(Re,he)=>{var ce={};for(var _e in Re)Te.call(Re,_e)&&he.indexOf(_e)<0&&(ce[_e]=Re[_e]);if(Re!=null&&Ft)for(var _e of Ft(Re))he.indexOf(_e)<0&&Ge.call(Re,_e)&&(ce[_e]=Re[_e]);return ce};const{TextArea:Se}=ie.default,Ct=[{title:"C",key:"C"},{title:"C++",key:"C++"},{title:"Python",key:"Python"},{title:"Java",key:"Java"}],Jt=({value:Re,onChange:he})=>ot.createElement(Switch,{checked:Re,onChange:ce=>{he(ce)}}),Pt="@\u2581@",ut="@\u2581\u2581@",We=({questionTitlePlaceholder:Re,form:he,scoreByBlank:ce=!1,hackidentifier:_e,answerKey:it})=>{const[pe,fe]=(0,z.useState)(!1),[Xe,ke]=(0,z.useState)(!1),tt=(0,Le.useParams)().type==="edit",Rt=(Tt,Nt)=>{const $t=Nt.line;let ln=0;for(let wn=0;wn<$t;wn++)ln+=Tt.getLine(wn).split(Pt).length-1;for(let wn=0;wn<$t;wn++)ln+=Tt.getLine(wn).split(ut).length-1;const dn=Tt.getLine($t).substring(0,Nt.ch);return ln+=dn.split(Pt).length-1,ln+=dn.split(ut).length-1,ln},dt=(Tt,Nt,$t,ln)=>{const dn=Tt.getRange(Nt.from,Nt.to);let wn=0;if(Nt.text.forEach(zn=>{wn+=zn.split(Pt).length-1}),Nt.text.forEach(zn=>{wn+=zn.split(ut).length-1}),Nt.origin!=="setValue"){if(dn&&(dn.indexOf(Pt)!==-1||dn.indexOf(ut)!==-1)){const zn=dn.split(Pt).length-1+dn.split(ut).length-1,Mt=Rt(Tt,Nt.from);if(console.log(`\u5220\u9664${zn}\u4E2A\uFF0C \u524D\u9762\u6709${Mt}\u4E2A\uFF0C\u65B0\u589E${wn}\u4E2A`),zn>1){const Dt=Array.from({length:zn},(Gt,un)=>Mt+un);ln(Dt)}else ln(Mt)}else if(wn>0){const zn=Rt(Tt,Nt.from);console.log(`\u65B0\u589E${wn}\u4E2A\uFF0C\u4E4B\u524D\u6709${zn}\u4E2A`),$t(wn,zn)}}},wt=()=>{const Tt=he.getFieldValue(it);he.setFieldsValue({[it]:Tt==null?void 0:Tt.map((Nt,$t)=>mt(Zt({},Nt),{position:$t+1}))})},At=(0,z.useRef)(),zt=(Tt,Nt)=>{for(let $t=0;$t<Tt;$t++)At.current({position:null,answer_text:""},Nt+$t);wt()},pt=(0,z.useRef)(),en=Tt=>{pt.current(Tt),wt()},nn=Pe.default.useWatch(it,he);return ot.createElement("div",{className:je.Z.wrap},ot.createElement(Pe.default.Item,{label:"\u8BD5\u9898\u63CF\u8FF0",name:["hack","description"],style:{display:"table"},className:"w100",labelCol:{span:24},rules:[{required:!0}]},ot.createElement(Ae.h,{scrollId:"name",watch:!0,height:140})),ot.createElement("div",{className:je.Z.questionTitleEditorWrap},ot.createElement(Pe.default.Item,{label:"\u7A0B\u5E8F\u4EE3\u7801",name:["hack_codes","code"],labelCol:{span:24},rules:[{required:!0}]},ot.createElement(Ae.h,{scrollId:"name",watch:!0,height:400,hidetoolBar:!0,showNullProgramButton:!0,onChange:(Tt,Nt)=>{const $t=he.getFieldValue(it);console.log("--preAnswerData",$t,Nt),he.setFieldsValue({[it]:$t==null?void 0:$t.map((ln,dn)=>{var wn;return mt(Zt({},ln),{position:dn+1,multi_line:(wn=Nt==null?void 0:Nt[dn])==null?void 0:wn.multiLine})})})},placeholder:Re,onCMBeforeChange:(Tt,Nt)=>{dt(Tt,Nt,zt,en)}}))),ot.createElement(Pe.default.List,{name:it,rules:[{validator(Tt,Nt){if(!(Nt!=null&&Nt.length))return Promise.reject(new Error("\u7B54\u6848\u4E0D\u80FD\u4E3A\u7A7A"));for(const $t of Nt){const{answer_text:ln}=$t||{};if((ln==null?void 0:ln.length)===0)return Promise.reject(new Error("\u586B\u7A7A\u9879\u7B54\u6848\u4E0D\u80FD\u4E3A\u7A7A"))}return Promise.resolve()}}]},(Tt,{add:Nt,remove:$t},{errors:ln})=>(At.current=Nt,pt.current=$t,ot.createElement(ot.Fragment,null,ot.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between"}},ot.createElement(Pe.default.Item,{label:"\u586B\u7A7A\u9879\u7B54\u6848",required:!0,labelCol:{span:24}}),ot.createElement("div",{onClick:()=>{Me.default.warning({title:"\u7ED9\u5206\u8BF4\u660E",icon:null,width:700,centered:!0,content:ot.createElement("div",null,ot.createElement("div",null,"1.\u5B66\u751F\u586B\u5199\u7B54\u6848\u4E4B\u540E\uFF0C\u5FC5\u987B\u63D0\u4EA4\u4EE3\u7801",ot.createElement("span",{style:{color:"#e30000"}},"\u8FDB\u884C\u8BC4\u6D4B"),"\u624D\u80FD\u5F97\u5206\u3002"),ot.createElement("div",{style:{marginTop:10}},"2.\u8BD5\u9898\u7B97\u5206\u65F6\uFF0C\u7CFB\u7EDF\u4F1A\u5C06\u7A0B\u5E8F\u91CC\u9762\u7684\u6240\u6709\u7A7A\u66FF\u6362\u6210\u5B66\u751F\u7684\u7B54\u6848\u8FDB\u884C\u8BC4\u6D4B\u3002\u8F93\u51FA\u7684\u7ED3\u679C\u4E0E\u6D4B\u8BD5\u96C6\u6BD4\u5BF9\uFF0C\u5B8C\u5168\u6B63\u786E\u5219\u5F97\u6EE1\u5206\uFF1B\u82E5\u4E0D\u5B8C\u5168\u6B63\u786E\uFF0C\u5219\u4F9D\u6B21\u5C06\u6BCF\u4E2A\u7A7A\u6362\u6210\u5B66\u751F\u63D0\u4EA4\u7684\u7B54\u6848\uFF0C\u540C\u65F6\u5C06\u5176\u4ED6\u7A7A\u66FF\u6362\u6210\u6807\u51C6\u7B54\u6848\uFF0C\u8FD0\u884C\u7A0B\u5E8F\u3002\u5982\u679C\u8FD9\u4E2A\u7A7A\u7684\u5B66\u751F\u7B54\u6848\u4E0E\u6807\u51C6\u7B54\u6848\u7ED3\u5408\u80FD\u5F97\u5230\u6B63\u786E\u8F93\u51FA\uFF0C\u5219\u8FD9\u4E2A\u7A7A\u5F97\u5230\u8BE5\u7A7A\u7684\u6EE1\u5206\uFF0C\u5426\u5219\u8BE5\u7A7A\u5F970\u5206\u3002"))})},style:{minHeight:32,color:"#3061D0",cursor:"pointer"}},ot.createElement(St.Z,{style:{marginRight:3,color:"#3061D0"}}),ot.createElement("span",null," \u7ED9\u5206\u8BF4\u660E"))),Tt.map((dn,wn)=>{var zn=dn,{key:Mt,name:Dt}=zn,Gt=Ot(zn,["key","name"]),un,tn;return ot.createElement(be.Z,{className:"mb20",key:Mt,align:"middle",wrap:!1},ot.createElement(xe.Z,{flex:"0 0 auto",className:`${je.Z.blankIndex}`},"\u586B\u7A7A\u9879",wn+1),ot.createElement(xe.Z,{flex:1},ot.createElement(be.Z,{align:"top",justify:"space-between",wrap:!1},ot.createElement(xe.Z,null,ot.createElement(Pe.default.Item,mt(Zt({},Gt),{name:[Dt,"answer_text"],noStyle:!0}),(un=nn==null?void 0:nn[Dt])!=null&&un.multi_line||(tn=nn==null?void 0:nn[Dt])!=null&&tn.multiLine?ot.createElement(Se,{spellCheck:!1,style:{marginLeft:10,width:550}}):ot.createElement(ie.default,{style:{marginLeft:10,width:550},className:je.Z.blankInput,size:"large",maxLength:1e3,onBlur:Qn=>{}}))),ce&&ot.createElement(xe.Z,{flex:"224px"},ot.createElement(Pe.default.Item,mt(Zt({},Gt),{name:[Dt,"score"],label:"\u5206\u503C",rules:[{required:!0}]}),ot.createElement(re.Z,{size:"large",className:je.Z.blankInput,min:.1,max:100,precision:1,style:{width:"100%"},placeholder:"\u8BF7\u8F93\u5165\u5206\u503C"}))))))})))),ot.createElement("div",{onClick:()=>fe(!0)},ot.createElement(Pe.default.Item,{name:["hack","analysis"],label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},ot.createElement(Ae.x,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:pe}))),ot.createElement(Pe.default.Item,{label:"\u7F16\u7A0B\u8BED\u8A00",style:{marginTop:30},name:["hack_codes","language"],labelCol:{span:24},rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u7F16\u7A0B\u8BED\u8A00"}]},ot.createElement(De.default,{size:"large"},Ct.map(Tt=>ot.createElement(De.default.Option,{key:Tt.title,value:Tt.key}," ",Tt.title)))),ot.createElement(Pe.default.Item,{label:"\u6700\u5927\u8BC4\u6D4B\u65F6\u957F\uFF08\u79D2\uFF09",style:{marginTop:30},labelCol:{span:24},required:!0},ot.createElement(Pe.default.Item,{name:["hack","time_limit"],rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5355\u4E2A\u6D4B\u8BD5\u96C6\u8BC4\u6D4B\u65F6\u957F\u9650\u5236"},{type:"number",min:3,message:"\u6700\u5C0F\u9650\u5236\u65F6\u95F4\u662F3\u79D2"}],noStyle:!0},ot.createElement(re.Z,{precision:0,max:10,min:3,size:"large",style:{width:"97%"}})),ot.createElement("span",{className:"ml10 font14"},"\u79D2")),ot.createElement(Pe.default.Item,{label:"\u8BC4\u6D4B\u65F6\u7A7A\u683C\u5904\u7406",style:{marginTop:30},name:["hack","submit_rule"],labelCol:{span:24},rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u8BC4\u6D4B\u65F6\u7A7A\u683C\u5904\u7406"}]},ot.createElement(Ne.ZP.Group,{style:{marginTop:-10}},ot.createElement(Ne.ZP,{value:0},"\u4E0D\u5FFD\u7565\u7A7A\u683C"),ot.createElement(Ne.ZP,{value:1},"\u5FFD\u7565\u9996\u5C3E\u7A7A\u683C"),ot.createElement(Ne.ZP,{value:2},"\u5FFD\u7565\u6240\u6709\u7A7A\u683C"))),ot.createElement(Pe.default.Item,{label:"\u6D4B\u8BD5\u7528\u4F8B",required:!0,style:{marginTop:30}}),ot.createElement("div",{style:{background:"#F6F7F9",padding:15}},ot.createElement(Pe.default.Item,{label:"\u8F93\u5165",labelCol:{span:24},name:["hack_sets","input"]},ot.createElement(Se,{rows:4})),ot.createElement(Pe.default.Item,{label:"\u8F93\u51FA",labelCol:{span:24},name:["hack_sets","output"],rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u8F93\u51FA\u5185\u5BB9"}]},ot.createElement(Se,{rows:4}))),ot.createElement(lt,{form:he,answerKey:it,hackIdentifier:_e,buttonText:"\u8FD0\u884C\u8C03\u8BD5",buttonProps:{ghost:!0,icon:ot.createElement("i",{className:"iconfont icon-ceshi"}),style:{background:"rgba(55,173,131,0.05)",borderRadius:19,border:"1px solid #37AD83",width:116,height:38,display:"inline-flex",fontSize:14,alignItems:"center",justifyContent:"center",marginTop:20,cursor:"pointer",color:"#37AD83"}}}))}},82482:function(ft,vt,ne){"use strict";ne.d(vt,{u:function(){return ue}});var z=ne(59301),ie=ne(95237),Pe=ne(43604),Me=ne(6848),be=ne(78241),xe=ne(69092),re=ne(32134),De=ne(12893),Ne=ne(54657),Ae=ne(59301),Le=Object.defineProperty,je=Object.defineProperties,Ee=Object.getOwnPropertyDescriptors,oe=Object.getOwnPropertySymbols,E=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable,b=(de,me,Be)=>me in de?Le(de,me,{enumerable:!0,configurable:!0,writable:!0,value:Be}):de[me]=Be,y=(de,me)=>{for(var Be in me||(me={}))E.call(me,Be)&&b(de,Be,me[Be]);if(oe)for(var Be of oe(me))a.call(me,Be)&&b(de,Be,me[Be]);return de},x=(de,me)=>je(de,Ee(me)),ee=(de,me)=>{var Be={};for(var ve in de)E.call(de,ve)&&me.indexOf(ve)<0&&(Be[ve]=de[ve]);if(de!=null&&oe)for(var ve of oe(de))me.indexOf(ve)<0&&a.call(de,ve)&&(Be[ve]=de[ve]);return Be};const te=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],ae=({value:de,onChange:me,choiceTextKey:Be,answerKey:ve,index:Fe,isEdit:ge,setInputActive:Je,form:Ie,choiceOptionsPath:Ue,allowChangeMode:ze,showAddIcon:Ke,addItem:lt,deleteItem:St})=>{console.log(de,"value");const ot=(de==null?void 0:de[ve])===1,Bt=()=>{const yt=Ie.getFieldValue(Ue);Ie.setFieldValue(Ue,yt.map(Ft=>x(y({},Ft),{[ve]:0})))},Qe=()=>{ot?me(x(y({},de),{[ve]:0})):(ze||Bt(),me(x(y({},de),{[ve]:1})))};return Ae.createElement(ie.Z,{className:xe.Z.choiceWrap,align:"middle",wrap:!1},Ae.createElement(Pe.Z,{onClick:Qe,className:`${xe.Z.choiceIndex} ${ot?xe.Z.activeAnswer:""}`},te[Fe]),Ae.createElement(Pe.Z,{flex:1,className:`${xe.Z.editorWrap} ml15`,onClick:Je},Ae.createElement(Ne.x,{height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9009\u9879",isEdit:ge,value:de==null?void 0:de[Be],onChange:yt=>{me(x(y({},de),{[Be]:yt}))}})),Ae.createElement(Pe.Z,{flex:"0 0 auto",className:"ml15"},Ae.createElement("div",{onClick:Qe,className:`${xe.Z.setAnswerBtn} ${ot?xe.Z.activeAnswer:""}`},ot?"\u6B63\u786E\u7B54\u6848":"\u8BBE\u4E3A\u7B54\u6848")),Ae.createElement(Pe.Z,{className:xe.Z.actionWrapper},Ae.createElement(Me.Z,{title:"\u65B0\u589E\u53C2\u8003\u7B54\u6848"},Ae.createElement(re.Z,{className:xe.Z.addIcon,onClick:lt,style:{visibility:Ke?"visible":"hidden"}})),Ae.createElement(Me.Z,{title:"\u5220\u9664"},Ae.createElement(De.Z,{className:xe.Z.deleteIcon,onClick:St,style:{visibility:Fe>1?"visible":"hidden"}}))))},ue=({questionTitlePlaceholder:de,titleKey:me,choiceKey:Be,analysisKey:ve,choiceTextKey:Fe,answerKey:ge,choiceOptionsPath:Je,allowChangeMode:Ie=!0,form:Ue,showAnalysis:ze=!0})=>{const[Ke,lt]=(0,z.useState)(),[St,ot]=(0,z.useState)(!1);return Ae.createElement("div",{className:xe.Z.wrap},Ae.createElement("div",{className:xe.Z.questionTitleEditorWrap},Ae.createElement(be.default.Item,{label:"\u9898\u5E72",name:me,labelCol:{span:24},rules:[{required:!0}]},Ae.createElement(Ne.h,{scrollId:Array.isArray(me)?me.join("_"):`${me}`,watch:!0,height:140,placeholder:de}))),Ae.createElement(be.default.Item,{label:"\u7B54\u6848\u9009\u9879",required:!0,labelCol:{span:24}}),Ae.createElement(be.default.List,{name:Be,rules:[{validator(Bt,Qe){const yt=Qe.some(Te=>Te[ge]===1),Ft=Qe.findIndex(Te=>{var Ge;return((Ge=Te[Fe])==null?void 0:Ge.length)<=0});return Ft!==-1?Promise.reject(new Error(`\u8BF7\u5148\u8F93\u5165${te[Ft]}\u9009\u9879\u7684\u5185\u5BB9`)):yt?Promise.resolve():Promise.reject(new Error("\u8BF7\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848"))}}]},(Bt,{add:Qe,remove:yt})=>Ae.createElement("div",{id:Array.isArray(Je)?Je.join("_"):`${Je}`},Bt.map((Ft,Te)=>{var Ge=Ft,{key:gt,name:Zt}=Ge,mt=ee(Ge,["key","name"]);const Ot=Ke===gt,Se=()=>{lt(gt)},Ct=Te<7&&Te===Bt.length-1,Jt=()=>Qe({[Fe]:"",[ge]:0}),Pt=()=>yt(Zt);return Ae.createElement(be.default.Item,x(y({},mt),{key:gt,name:Zt,className:xe.Z.choiceListWrap,rules:[{validator(ut,We){return We!=null&&We.choice_text?Promise.resolve():Promise.reject(new Error(`\u8BF7\u5148\u8F93\u5165${te[Te]}\u9009\u9879\u7684\u5185\u5BB9`))}}]}),Ae.createElement(ae,{choiceTextKey:Fe,answerKey:ge,index:Te,isEdit:Ot,setInputActive:Se,form:Ue,choiceOptionsPath:Je,allowChangeMode:Ie,showAddIcon:Ct,addItem:Jt,deleteItem:Pt}))}),Bt.length<8&&Ae.createElement("div",{className:`${xe.Z.addBtn} mb30`,onClick:()=>Qe({[Fe]:"",[ge]:0})},"\u6DFB\u52A0\u9009\u9879"))),ze&&Ae.createElement("div",{onClick:()=>ot(!0)},Ae.createElement(be.default.Item,{name:ve,label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},Ae.createElement(Ne.x,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:St}))))}},15460:function(ft,vt,ne){"use strict";ne.d(vt,{u:function(){return Ie}});var z=ne(59301),ie=ne(43418),Pe=ne(95237),Me=ne(43604),be=ne(92832),xe=ne(6848),re=ne(49770),De=ne(78241),Ne=ne(5112),Ae=ne(5871),Le=ne(54657),je=ne(12893),Ee=ne(61485),oe=ne(69092),E=ne(65986),a=ne(59301),b=Object.defineProperty,y=Object.defineProperties,x=Object.getOwnPropertyDescriptors,ee=Object.getOwnPropertySymbols,te=Object.prototype.hasOwnProperty,ae=Object.prototype.propertyIsEnumerable,ue=(Ue,ze,Ke)=>ze in Ue?b(Ue,ze,{enumerable:!0,configurable:!0,writable:!0,value:Ke}):Ue[ze]=Ke,de=(Ue,ze)=>{for(var Ke in ze||(ze={}))te.call(ze,Ke)&&ue(Ue,Ke,ze[Ke]);if(ee)for(var Ke of ee(ze))ae.call(ze,Ke)&&ue(Ue,Ke,ze[Ke]);return Ue},me=(Ue,ze)=>y(Ue,x(ze)),Be=(Ue,ze)=>{var Ke={};for(var lt in Ue)te.call(Ue,lt)&&ze.indexOf(lt)<0&&(Ke[lt]=Ue[lt]);if(Ue!=null&&ee)for(var lt of ee(Ue))ze.indexOf(lt)<0&&ae.call(Ue,lt)&&(Ke[lt]=Ue[lt]);return Ke};const ve=({value:Ue,onChange:ze})=>{const Ke=St=>{ie.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:"\u786E\u8BA4\u8981\u5220\u9664\u8FD9\u4E2A\u53C2\u8003\u7B54\u6848\u5417\uFF1F",className:oe.Z.modal,onOk:()=>{const ot=[...Ue];ot.splice(St,1),ze(ot)}})},lt=()=>{const St=[...Ue];St.push(""),ze(St)};return a.createElement(Pe.Z,{className:"ml20"},a.createElement(Me.Z,{flex:1},Ue==null?void 0:Ue.map((St,ot)=>a.createElement(Pe.Z,{key:`${St}_${ot}`,className:"mb20"},a.createElement(be.default.TextArea,{style:{flex:1,minHeight:44},defaultValue:St,autoSize:{maxRows:3},maxLength:1e3,onBlur:Bt=>{const Qe=[...Ue],yt=Bt.target.value.trim();Qe[ot]=yt,ze(Qe)}}),a.createElement(xe.Z,{title:"\u5220\u9664"},a.createElement(je.Z,{className:oe.Z.deleteIcon,style:{marginLeft:15,visibility:ot>0?"visible":"hidden"},onClick:()=>Ke(ot)}))))),a.createElement(Me.Z,null,a.createElement("div",{className:`${oe.Z.addBtn}`,onClick:()=>{lt()}},"\u65B0\u589E\u7B54\u6848")))},Fe=({value:Ue,onChange:ze})=>{const Ke=St=>{ie.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:"\u786E\u8BA4\u8981\u5220\u9664\u8FD9\u4E2A\u53C2\u8003\u7B54\u6848\u5417\uFF1F",className:oe.Z.modal,onOk:()=>{const ot=[...Ue];ot.splice(St,1),ze(ot)}})},lt=()=>{const St=[...Ue];St.push(""),ze(St)};return a.createElement(Pe.Z,{className:"ml20"},a.createElement(Me.Z,{flex:1},Ue==null?void 0:Ue.map((St,ot)=>a.createElement(Pe.Z,{key:`${St}_${ot}`,align:"middle",className:"mb20"},a.createElement(E.Z,{value:St,style:{flex:1},onChange:Bt=>{const Qe=[...Ue];Qe[ot]=Bt,ze(Qe)}}),a.createElement(xe.Z,{title:"\u5220\u9664"},a.createElement(je.Z,{className:oe.Z.deleteIcon,style:{marginLeft:15,visibility:ot>0?"visible":"hidden"},onClick:()=>Ke(ot)}))))),a.createElement(Me.Z,null,a.createElement("div",{className:`${oe.Z.addBtn}`,onClick:()=>{lt()}},"\u65B0\u589E\u7B54\u6848")))},ge=({value:Ue=!0,onChange:ze})=>a.createElement(re.Z,{checked:!Ue,onChange:Ke=>{ze(!Ke)}}),Je="\u2581",Ie=({questionTitlePlaceholder:Ue,form:ze,scoreByBlank:Ke=!1,answerKey:lt})=>{const[St,ot]=(0,z.useState)(!1),Bt=(mt,Ot)=>{const Se=Ot.line;let Ct=0;for(let Pt=0;Pt<Se;Pt++)Ct+=mt.getLine(Pt).split(Je).length-1;const Jt=mt.getLine(Se).substring(0,Ot.ch);return Ct+=Jt.split(Je).length-1,Ct},Qe=(mt,Ot,Se,Ct)=>{const Jt=mt.getRange(Ot.from,Ot.to);let Pt=0;if(Ot.text.forEach(ut=>{Pt+=ut.split(Je).length-1}),Ot.origin!=="setValue"){if(Jt&&Jt.indexOf(Je)!==-1){const ut=Jt.split(Je).length-1,We=Bt(mt,Ot.from);if(console.log(`\u5220\u9664${ut}\u4E2A\uFF0C \u524D\u9762\u6709${We}\u4E2A\uFF0C\u65B0\u589E${Pt}\u4E2A`),ut>1){const Re=Array.from({length:ut},(he,ce)=>We+ce);Ct(Re)}else Ct(We)}else if(Pt>0){const ut=Bt(mt,Ot.from);console.log(`\u65B0\u589E${Pt}\u4E2A\uFF0C\u4E4B\u524D\u6709${ut}\u4E2A`),Se(Pt,ut)}}},yt=()=>{const mt=ze.getFieldValue(lt);ze.setFieldsValue({[lt]:mt.map((Ot,Se)=>me(de({},Ot),{position:Se+1}))})},Ft=(0,z.useRef)(),Te=(mt,Ot)=>{for(let Se=0;Se<mt;Se++)Ft.current({position:null,answer_text:[""],model:1},Ot+Se);yt()},Ge=(0,z.useRef)(),gt=mt=>{Ge.current(mt),yt()},Zt=De.default.useWatch(lt,ze);return a.createElement("div",{className:oe.Z.wrap},a.createElement("div",{className:oe.Z.questionTitleEditorWrap},a.createElement(De.default.Item,{label:"\u9898\u5E72",name:"name",labelCol:{span:24},rules:[{required:!0}]},a.createElement(Le.h,{scrollId:"name",watch:!0,height:140,placeholder:Ue,showNullButton:!0,onCMBeforeChange:(mt,Ot)=>{Qe(mt,Ot,Te,gt)}}))),a.createElement(De.default.List,{name:lt,rules:[{validator(mt,Ot){if(!(Ot!=null&&Ot.length))return Promise.reject(new Error("\u8BF7\u5148\u5728\u9898\u5E72\u4E2D\u63D2\u5165\u586B\u7A7A\u9879"));for(const Se of Ot){const{answer_text:Ct}=Se||{};if(Ct!=null&&Ct.some(Jt=>(Jt==null?void 0:Jt.length)===0))return Promise.reject(new Error("\u586B\u7A7A\u9879\u7B54\u6848\u4E0D\u80FD\u4E3A\u7A7A"))}return Promise.resolve()}}]},(mt,{add:Ot,remove:Se},{errors:Ct})=>(Ft.current=Ot,Ge.current=Se,a.createElement(a.Fragment,null,a.createElement(De.default.Item,{label:a.createElement("span",null,"\u586B\u7A7A\u9879\u7B54\u6848",!(mt!=null&&mt.length)&&a.createElement("span",{style:{color:"#E99237"}},"\uFF08\u8BF7\u5148\u5728\u9898\u5E72\u4E2D\u63D2\u5165\u586B\u7A7A\u9879\uFF09")),required:!0,labelCol:{span:24}}),mt.map((Jt,Pt)=>{var ut=Jt,{key:We,name:Re}=ut,he=Be(ut,["key","name"]),ce,_e;return a.createElement("div",{style:{marginBottom:10},key:We},a.createElement(Pe.Z,{className:"mb20",align:"middle",wrap:!1},a.createElement(Me.Z,{style:{marginRight:10},flex:"0 0 auto",className:`${oe.Z.blankIndex}`},"\u586B\u7A7A\u9879",Pt+1),a.createElement(De.default.Item,me(de({},he),{name:[Re,"model"],noStyle:!0}),a.createElement(Ne.ZP.Group,{onChange:()=>{const it=ze.getFieldValue(lt);ze.setFieldsValue({[lt]:it.map((pe,fe)=>me(de({},pe),{answer_text:Re===fe?[""]:pe.answer_text}))})}},a.createElement(Ne.ZP,{value:1},"\u6587\u672C\u6A21\u5F0F ",a.createElement(xe.Z,{title:"\u5B66\u751F\u7B54\u9898\u65F6\uFF0C\u9700\u8981\u5728\u6587\u672C\u6846\u4E2D\u586B\u5199\u6587\u672C\u7B54\u6848"},a.createElement(Ee.Z,null))),a.createElement(Ne.ZP,{value:2},"\u6570\u5B66\u516C\u5F0F\u6A21\u5F0F ",a.createElement(xe.Z,{title:"\u5B66\u751F\u7B54\u9898\u65F6\uFF0C\u9700\u8981\u7F16\u5199\u6570\u5B66\u516C\u5F0F\u4F5C\u4E3A\u7B54\u6848"},a.createElement(Ee.Z,null)))))),a.createElement(Pe.Z,{style:{marginLeft:20},align:"middle",wrap:!1},a.createElement(Me.Z,{flex:1},a.createElement(Pe.Z,{align:"top",justify:"space-between",wrap:!1},a.createElement(Me.Z,{flex:1},a.createElement(De.default.Item,me(de({},he),{name:[Re,"answer_text"],noStyle:!0}),((_e=(ce=ze.getFieldValue(lt))==null?void 0:ce[Re])==null?void 0:_e.model)===1?a.createElement(ve,null):a.createElement(Fe,null))),Ke&&a.createElement(Me.Z,{flex:"224px",style:{margin:"-7px 0 0 20px"}},a.createElement(De.default.Item,me(de({},he),{name:[Re,"score"],label:"\u5206\u503C",rules:[{required:!0}],className:oe.Z.blankInputNumberWrapper}),a.createElement(Ae.Z,{min:.1,max:100,precision:1,style:{width:"100%"},placeholder:"\u8BF7\u8F93\u5165\u5206\u503C"})))),a.createElement(De.default.Item,me(de({},he),{name:[Re,"position"],noStyle:!0}),a.createElement(be.default,{type:"hidden"})))))})))),a.createElement(Pe.Z,{align:"middle"},a.createElement(De.default.Item,{name:"downcase",valuePropName:"checked"},a.createElement(re.Z,null)),a.createElement(Me.Z,{className:"ml10"},"\u5224\u5206\u65F6\u5FFD\u7565\u7B54\u6848\u4E2D\u7684\u5B57\u6BCD\u5927\u5C0F\u5199")),a.createElement(Pe.Z,{align:"middle"},a.createElement(De.default.Item,{name:"no_space",valuePropName:"checked"},a.createElement(re.Z,null)),a.createElement(Me.Z,{className:"ml10"},"\u5224\u5206\u65F6\u5FFD\u7565\u7B54\u6848\u4E2D\u7684\u7A7A\u683C")),(Zt==null?void 0:Zt.length)>1&&a.createElement(Pe.Z,{align:"middle",className:(Zt==null?void 0:Zt.length)>1?"mb30":`${oe.Z.hide}`},a.createElement(De.default.Item,{name:"is_ordered"},a.createElement(ge,null)),a.createElement(Me.Z,{className:"ml10"},"\u5141\u8BB8\u5B66\u751F\u6BCF\u4E2A\u586B\u7A7A\u7684\u7B54\u6848\u4E0E\u6807\u51C6\u7B54\u6848\u7684\u987A\u5E8F\u4E0D\u4E00\u81F4")),a.createElement("div",{onClick:()=>ot(!0)},a.createElement(De.default.Item,{name:"analysis",label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},a.createElement(Le.x,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:St}))))}},98815:function(ft,vt,ne){"use strict";ne.d(vt,{Z:function(){return ee}});var z=ne(59301),ie=ne(95237),Pe=ne(43604),Me=ne(78241),be=ne(69092),xe=ne(54657),re=ne(59301),De=Object.defineProperty,Ne=Object.defineProperties,Ae=Object.getOwnPropertyDescriptors,Le=Object.getOwnPropertySymbols,je=Object.prototype.hasOwnProperty,Ee=Object.prototype.propertyIsEnumerable,oe=(te,ae,ue)=>ae in te?De(te,ae,{enumerable:!0,configurable:!0,writable:!0,value:ue}):te[ae]=ue,E=(te,ae)=>{for(var ue in ae||(ae={}))je.call(ae,ue)&&oe(te,ue,ae[ue]);if(Le)for(var ue of Le(ae))Ee.call(ae,ue)&&oe(te,ue,ae[ue]);return te},a=(te,ae)=>Ne(te,Ae(ae)),b=(te,ae)=>{var ue={};for(var de in te)je.call(te,de)&&ae.indexOf(de)<0&&(ue[de]=te[de]);if(te!=null&&Le)for(var de of Le(te))ae.indexOf(de)<0&&Ee.call(te,de)&&(ue[de]=te[de]);return ue};const y={\u6B63\u786E:"T",\u9519\u8BEF:"F"},x=({value:te,onChange:ae,form:ue})=>{const de=(te==null?void 0:te.is_answer)===1,me=te==null?void 0:te.choice_text,Be=()=>{const ve=ue.getFieldsValue().choices.map(Fe=>({choice_text:Fe.choice_text,is_answer:0}));ue.setFieldsValue({choices:ve}),ae(a(E({},te),{is_answer:1}))};return re.createElement(ie.Z,{className:be.Z.choiceWrap,align:"middle",wrap:!1,style:{marginBottom:"20px"}},re.createElement(Pe.Z,{onClick:Be,className:`${be.Z.choiceIndex} ${be.Z.judgementIndex} ${de?be.Z.activeAnswer:""}`},y[me]),re.createElement(Pe.Z,{flex:1,className:`${be.Z.editorWrap} ml15`},re.createElement("div",{className:`${be.Z.inputBorder} ${be.Z.placeholder} ${de?be.Z.activeJudgementAnswer:""}`},me)),re.createElement(Pe.Z,{flex:"0 0 auto",className:"ml15"},re.createElement("div",{onClick:Be,className:`${be.Z.setAnswerBtn} ${de?be.Z.activeAnswer:""}`},de?"\u6B63\u786E\u7B54\u6848":"\u8BBE\u4E3A\u7B54\u6848")))},ee=({questionTitlePlaceholder:te,choiceKey:ae,form:ue})=>{const[de,me]=(0,z.useState)(!1);return re.createElement("div",{className:be.Z.wrap},re.createElement("div",{className:be.Z.questionTitleEditorWrap},re.createElement(Me.default.Item,{label:"\u9898\u5E72",name:"name",labelCol:{span:24},rules:[{required:!0}]},re.createElement(xe.h,{scrollId:"name",watch:!0,height:140,placeholder:te}))),re.createElement(Me.default.Item,{label:"\u7B54\u6848\u9009\u9879",required:!0,labelCol:{span:24}},re.createElement(Me.default.List,{name:"choices",rules:[{validator(Be,ve){return ve.some(ge=>(ge==null?void 0:ge.is_answer)===1)?Promise.resolve():Promise.reject(new Error("\u8BF7\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848"))}}]},Be=>re.createElement("div",{id:"choices"},Be.map(ve=>{var Fe=ve,{key:ge,name:Je}=Fe,Ie=b(Fe,["key","name"]);return re.createElement(Me.default.Item,a(E({},Ie),{key:ge,name:Je,noStyle:!0}),re.createElement(x,{form:ue}))})))),re.createElement("div",{onClick:()=>me(!0)},re.createElement(Me.default.Item,{name:"analysis",label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},re.createElement(xe.x,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:de}))))}},54657:function(ft,vt,ne){"use strict";ne.d(vt,{h:function(){return E},x:function(){return a}});var z=ne(89389),ie=ne(69092),Pe=ne(7664),Me=ne(59301),be=Object.defineProperty,xe=Object.defineProperties,re=Object.getOwnPropertyDescriptors,De=Object.getOwnPropertySymbols,Ne=Object.prototype.hasOwnProperty,Ae=Object.prototype.propertyIsEnumerable,Le=(b,y,x)=>y in b?be(b,y,{enumerable:!0,configurable:!0,writable:!0,value:x}):b[y]=x,je=(b,y)=>{for(var x in y||(y={}))Ne.call(y,x)&&Le(b,x,y[x]);if(De)for(var x of De(y))Ae.call(y,x)&&Le(b,x,y[x]);return b},Ee=(b,y)=>xe(b,re(y)),oe=(b,y)=>{var x={};for(var ee in b)Ne.call(b,ee)&&y.indexOf(ee)<0&&(x[ee]=b[ee]);if(b!=null&&De)for(var ee of De(b))y.indexOf(ee)<0&&Ae.call(b,ee)&&(x[ee]=b[ee]);return x};const E=b=>{var y=b,{value:x,onChange:ee,scrollId:te}=y,ae=oe(y,["value","onChange","scrollId"]);return Me.createElement("div",{id:te||""},Me.createElement(z.Z,Ee(je({},ae),{defaultValue:x,onChange:(ue,de)=>{de!=null&&de.length?ee(ue,de):ee(ue)}})))},a=({value:b,onChange:y,placeholder:x,height:ee=140,isEdit:te,miniToolbar:ae,watch:ue=!0})=>te?Me.createElement(z.Z,{watch:ue,isFocus:!0,height:ee||void 0,placeholder:x,defaultValue:b,onChange:y,miniToolbar:ae}):Me.createElement("div",{style:{cursor:"pointer"}},b?Me.createElement(Pe.Z,{className:ie.Z.inputBorder,value:b}):Me.createElement("div",{className:`${ie.Z.inputBorder} ${ie.Z.placeholder} inputBorderError`},x))},84635:function(ft,vt,ne){"use strict";ne.d(vt,{W:function(){return Fe}});var z=ne(59301),ie=ne(8591),Pe=ne(12563),Me=ne(78241),be=ne(49770),xe=ne(95237),re=ne(43604),De=ne(6848),Ne=ne(92832),Ae=ne(5871),Le=ne(69092),je=ne(54657),Ee=ne(89389),oe=ne(61485),E=Object.defineProperty,a=Object.defineProperties,b=Object.getOwnPropertyDescriptors,y=Object.getOwnPropertySymbols,x=Object.prototype.hasOwnProperty,ee=Object.prototype.propertyIsEnumerable,te=(ge,Je,Ie)=>Je in ge?E(ge,Je,{enumerable:!0,configurable:!0,writable:!0,value:Ie}):ge[Je]=Ie,ae=(ge,Je)=>{for(var Ie in Je||(Je={}))x.call(Je,Ie)&&te(ge,Ie,Je[Ie]);if(y)for(var Ie of y(Je))ee.call(Je,Ie)&&te(ge,Ie,Je[Ie]);return ge},ue=(ge,Je)=>a(ge,b(Je)),de=(ge,Je)=>{var Ie={};for(var Ue in ge)x.call(ge,Ue)&&Je.indexOf(Ue)<0&&(Ie[Ue]=ge[Ue]);if(ge!=null&&y)for(var Ue of y(ge))Je.indexOf(Ue)<0&&ee.call(ge,Ue)&&(Ie[Ue]=ge[Ue]);return Ie};const me=ge=>{var Je=ge,{value:Ie,onChange:Ue}=Je,ze=de(Je,["value","onChange"]);const Ke=lt=>{Ue([lt])};return z.createElement(Ee.Z,ue(ae({},ze),{defaultValue:Ie==null?void 0:Ie[0],onChange:Ke}))},Be=ge=>{if(!ge)return!1;if(/^s*$/.test(ge)||ge.trim()===""){ie.ZP.warning("\u5173\u952E\u8BCD\u4E0D\u80FD\u5168\u4E3A\u7A7A\u683C");return}let Je=new RegExp("[ `~!@#$^&*()={}':;,\\[\\].<>/?~\uFF01@#\uFFE5\u2026\u2026&*\uFF08\uFF09\u2014\u3010\u3011\u2018\uFF1B\uFF1A\u201D\u201C\u3002\uFF0C\u3001\uFF1F\u300C\u300D\u300E\u300F_\\+\\-\xB7%\u300A\u300B]|[\\\\/]");return ge==="|"?(ie.ZP.warning("\u5173\u952E\u8BCD\u4E0D\u80FD\u53EA\u8F93\u5165\u4E00\u4E2A\u201C|\u201D\u5B57\u7B26\uFF01"),!1):!0},ve=({value:ge=[],onClose:Je})=>z.createElement(Pe.default,{closable:!0,onClose:Je,className:Le.Z.keywordTag},z.createElement("pre",{style:{margin:"0px",whiteSpace:"pre-wrap"}},ge.join(" \u6216 "))),Fe=({questionTitlePlaceholder:ge,form:Je,showKeywords:Ie,isMustKeyWords:Ue=Ie})=>{const[ze,Ke]=(0,z.useState)(!1),[lt,St]=(0,z.useState)(""),ot=Me.default.useWatch("use_keywords",Je),Bt=Me.default.useWatch("question_score",Je);return z.createElement("div",{className:Le.Z.wrap},z.createElement("div",{className:Le.Z.questionTitleEditorWrap},z.createElement(Me.default.Item,{label:"\u9898\u5E72",name:"name",labelCol:{span:24},rules:[{required:!0}]},z.createElement(je.h,{scrollId:"name",watch:!0,height:140,placeholder:ge}))),z.createElement(Me.default.Item,{label:"\u53C2\u8003\u7B54\u6848",name:"answer_texts",labelCol:{span:24}},z.createElement(me,{watch:!0,height:140,placeholder:"\u8BF7\u7F16\u8F91\u53C2\u8003\u7B54\u6848\uFF08\u975E\u5FC5\u586B\uFF09"})),Ie&&!Ue&&z.createElement(Me.default.Item,{hidden:!0,name:"use_keywords",valuePropName:"checked"},z.createElement(be.Z,{defaultChecked:!0})),Ie&&Ue&&z.createElement(xe.Z,{align:"middle",className:"mb30"},z.createElement(Me.default.Item,{name:"use_keywords",valuePropName:"checked"},z.createElement(be.Z,null)),z.createElement(re.Z,{className:"ml10"},"\u5F00\u542F\u5173\u952E\u8BCD\u81EA\u52A8\u5224\u5206"),z.createElement(re.Z,null,z.createElement(De.Z,{placement:"right",title:"\u9009\u4E2D\u540E\uFF0C\u9700\u8981\u8BBE\u7F6E\u6BCF\u4E2A\u5173\u952E\u8BCD\u7684\u5206\u503C\uFF0C\u7CFB\u7EDF\u4F1A\u6839\u636E\u8BBE\u7F6E\u7684\u5173\u952E\u8BCD\u8FDB\u884C\u81EA\u52A8\u5224\u5206\uFF1B \u6240\u6709\u5173\u952E\u8BCD\u5206\u503C\u4E4B\u548C\u5FC5\u987B\u5C0F\u4E8E\u7B49\u4E8E\u5C0F\u9898\u5206\u503C\u3002"},z.createElement(oe.Z,{style:{color:"#3061D0",marginLeft:6,cursor:"pointer"}})))),(ot||!Ue)&&z.createElement(Me.default.List,{name:"keywords",rules:[{validator(Qe,yt){return Ue?yt!=null&&yt.length?(yt==null?void 0:yt.reduce((Te,Ge)=>Te+Ge.score,0))>parseFloat(Bt)?Promise.reject(new Error("\u6240\u6709\u5173\u952E\u8BCD\u7684\u5206\u503C\u4E4B\u548C\u5FC5\u987B\u5C0F\u4E8E\u7B49\u4E8E\u8BE5\u5C0F\u9898\u7684\u5206\u503C")):Promise.resolve():Promise.reject(new Error("\u8BF7\u8BBE\u7F6E\u5224\u5206\u5173\u952E\u8BCD")):Promise.resolve()}}]},(Qe,{add:yt,remove:Ft})=>z.createElement(z.Fragment,null,z.createElement("div",{className:`${Le.Z.title} mb10`},Ue?"\u5173\u952E\u8BCD":z.createElement("span",{style:{color:"#9096A3"}},"\u5224\u5206\u5173\u952E\u8BCD")),z.createElement(xe.Z,{align:"middle",className:"font14 mb30"},z.createElement(re.Z,{flex:1},z.createElement(Ne.default,{value:lt,onChange:Te=>{St(Te.target.value)},maxLength:50,allowClear:!0,onPressEnter:Te=>{var Ge,gt,Zt,mt;const Ot=`${(Ge=Te.target)==null?void 0:Ge.value}`,Se=(Zt=(gt=Ot==null?void 0:Ot.split("|"))==null?void 0:gt.filter(Pt=>!!Pt))==null?void 0:Zt.map(Pt=>Pt==null?void 0:Pt.trim()),Ct=Je.getFieldValue("keywords"),Jt=((mt=Ct==null?void 0:Ct.map(Pt=>Pt==null?void 0:Pt.keyword))==null?void 0:mt.flat())||[];for(const Pt of Se)if(Jt.includes(Pt)){ie.ZP.error("\u4E3A\u907F\u514D\u5224\u5206\u9519\u8BEF\uFF0C\u8BF7\u52FF\u8BBE\u7F6E\u76F8\u540C\u7684\u5173\u952E\u8BCD");return}Be(Ot)&&(yt({keyword:Se,score:1}),St(""))},className:Le.Z.inputBorder,placeholder:"\u652F\u6301\u8BBE\u7F6E\u591A\u4E2A\u5173\u952E\u8BCD\uFF1B\u5E76\u5217\u5173\u952E\u8BCD\uFF08\u6216\u7684\u5173\u7CFB\uFF09\u8BF7\u7528\u201C|\u201D\u5206\u9694\u5F00"})),z.createElement(re.Z,{flex:"148px",style:{textAlign:"right",color:"#e99237"}},"\u201C\u56DE\u8F66\u952E\u201D\u4FDD\u5B58\u5173\u952E\u8BCD")),Qe.map(Te=>{var Ge=Te,{key:gt,name:Zt}=Ge,mt=de(Ge,["key","name"]);return z.createElement(xe.Z,{key:gt,className:"mb20",style:{marginRight:148}},z.createElement(re.Z,{flex:1},z.createElement(xe.Z,{align:"middle",justify:"space-between"},z.createElement(Me.default.Item,ue(ae({},mt),{name:[Zt,"keyword"]}),z.createElement(ve,{onClose:()=>Ft(Zt)})),Ue&&z.createElement(Me.default.Item,ue(ae({},mt),{name:[Zt,"score"],label:"\u5206\u503C",rules:[{required:!0}],className:Le.Z.blankInputNumberWrapper}),z.createElement(Ae.Z,{className:Le.Z.blankInput,min:.1,max:100,precision:1,style:{width:"100%"},placeholder:"\u8BF7\u8F93\u5165\u5173\u952E\u8BCD\u5206\u6570"})))))}))),z.createElement("div",{onClick:()=>Ke(!0)},z.createElement(Me.default.Item,{name:"analysis",label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},z.createElement(je.x,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:ze}))))}},77411:function(ft,vt,ne){"use strict";ne.d(vt,{tc:function(){return zn.t},uh:function(){return z.u},rL:function(){return wn},u8:function(){return Pe.u},ZZ:function(){return ie.Z},Wk:function(){return Me.W}});var z=ne(82482),ie=ne(98815),Pe=ne(15460),Me=ne(84635),be=ne(59301),xe=ne(36381),re=ne(78241),De=ne(95237),Ne=ne(43604),Ae=ne(5871),Le=ne(6848),je=ne(38854),Ee=ne(69092),oe=ne(12893),E=ne(54657),a=ne(43418),b=ne(92832),y=ne(49770),x=ne(59301),ee=Object.defineProperty,te=Object.defineProperties,ae=Object.getOwnPropertyDescriptors,ue=Object.getOwnPropertySymbols,de=Object.prototype.hasOwnProperty,me=Object.prototype.propertyIsEnumerable,Be=(Mt,Dt,Gt)=>Dt in Mt?ee(Mt,Dt,{enumerable:!0,configurable:!0,writable:!0,value:Gt}):Mt[Dt]=Gt,ve=(Mt,Dt)=>{for(var Gt in Dt||(Dt={}))de.call(Dt,Gt)&&Be(Mt,Gt,Dt[Gt]);if(ue)for(var Gt of ue(Dt))me.call(Dt,Gt)&&Be(Mt,Gt,Dt[Gt]);return Mt},Fe=(Mt,Dt)=>te(Mt,ae(Dt)),ge=(Mt,Dt)=>{var Gt={};for(var un in Mt)de.call(Mt,un)&&Dt.indexOf(un)<0&&(Gt[un]=Mt[un]);if(Mt!=null&&ue)for(var un of ue(Mt))Dt.indexOf(un)<0&&me.call(Mt,un)&&(Gt[un]=Mt[un]);return Gt};const Je=({value:Mt,onChange:Dt})=>{const Gt=tn=>{a.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:"\u786E\u8BA4\u8981\u5220\u9664\u8FD9\u4E2A\u53C2\u8003\u7B54\u6848\u5417\uFF1F",className:Ee.Z.modal,onOk:()=>{const Qn=[...Mt];Qn.splice(tn,1),Dt(Qn)}})},un=()=>{const tn=[...Mt];tn.push(""),Dt(tn)};return x.createElement(De.Z,{className:"ml20"},x.createElement(Ne.Z,{flex:1},Mt==null?void 0:Mt.map((tn,Qn)=>x.createElement(De.Z,{key:`${tn}_${Qn}`,align:"middle",className:"mb20"},x.createElement(b.default.TextArea,{style:{flex:1,minHeight:44},defaultValue:tn,autoSize:{maxRows:3},maxLength:1e3,onBlur:ca=>{const Pn=[...Mt],Ut=ca.target.value.trim();Pn[Qn]=Ut,Dt(Pn)}}),x.createElement(Le.Z,{title:"\u5220\u9664"},x.createElement(oe.Z,{className:Ee.Z.deleteIcon,style:{marginLeft:15,visibility:Qn>0?"visible":"hidden"},onClick:()=>Gt(Qn)}))))),x.createElement(Ne.Z,null,x.createElement("div",{className:`${Ee.Z.addBtn}`,onClick:()=>{un()}},"\u65B0\u589E\u7B54\u6848")))},Ie=({value:Mt=!0,onChange:Dt})=>x.createElement(y.Z,{checked:!Mt,onChange:Gt=>{Dt(!Gt)}}),Ue="\u2581",ze=({questionTitlePlaceholder:Mt,form:Dt,name:Gt,scoreByBlank:un=!1,answerKey:tn,titleKey:Qn="name",analysisKey:ca="analysis",isOrdered:Pn="is_ordered"})=>{var Ut,Xn;const[et,Ht]=(0,be.useState)(!1),qt=(kt,Kt)=>{const jt=Kt.line;let Sn=0;for(let sn=0;sn<jt;sn++)Sn+=kt.getLine(sn).split(Ue).length-1;const cn=kt.getLine(jt).substring(0,Kt.ch);return Sn+=cn.split(Ue).length-1,Sn},on=(kt,Kt,jt,Sn)=>{const cn=kt.getRange(Kt.from,Kt.to);let sn=0;if(Kt.text.forEach(Ln=>{sn+=Ln.split(Ue).length-1}),Kt.origin!=="setValue"){if(cn&&cn.indexOf(Ue)!==-1){const Ln=cn.split(Ue).length-1,Ea=qt(kt,Kt.from);if(console.log(`\u5220\u9664${Ln}\u4E2A\uFF0C \u524D\u9762\u6709${Ea}\u4E2A\uFF0C\u65B0\u589E${sn}\u4E2A`),Ln>1){const Qt=Array.from({length:Ln},(Kn,ua)=>Ea+ua);Sn(Qt)}else Sn(Ea)}else if(sn>0){const Ln=qt(kt,Kt.from);console.log(`\u65B0\u589E${sn}\u4E2A\uFF0C\u4E4B\u524D\u6709${Ln}\u4E2A`),jt(sn,Ln)}}},yn=()=>{const kt=Dt.getFieldValue(["sub_item_banks",...tn]);Dt.setFieldValue(["sub_item_banks",...tn],kt==null?void 0:kt.map((Kt,jt)=>Fe(ve({},Kt),{position:jt+1})))},rn=(0,be.useRef)(),mn=(kt,Kt)=>{for(let jt=0;jt<kt;jt++)rn.current({position:null,answer_text:[""]},Kt+jt);yn()},qe=(0,be.useRef)(),nt=kt=>{qe.current(kt),yn()},$e=(Xn=(Ut=Dt.getFieldValue("sub_item_banks"))==null?void 0:Ut[tn==null?void 0:tn[0]])==null?void 0:Xn[tn==null?void 0:tn[1]];return(0,be.useEffect)(()=>{console.log("========",Dt.getFieldsValue())},[Dt]),x.createElement("div",{className:Ee.Z.wrap},x.createElement("div",{className:Ee.Z.questionTitleEditorWrap},x.createElement(re.default.Item,{label:"\u9898\u5E72",name:Qn,labelCol:{span:24},rules:[{required:!0}]},x.createElement(E.h,{scrollId:"name",watch:!0,height:140,placeholder:Mt,showNullButton:!0,onCMBeforeChange:(kt,Kt)=>{on(kt,Kt,mn,nt)}}))),x.createElement(re.default.List,{name:tn,rules:[{validator(kt,Kt){if((Kt==null?void 0:Kt.length)===0)return Promise.reject(new Error("\u8BF7\u5148\u5728\u9898\u5E72\u4E2D\u63D2\u5165\u586B\u7A7A\u9879"));for(const jt of Kt){const{answer_text:Sn}=jt||{};if(Sn!=null&&Sn.some(cn=>(cn==null?void 0:cn.length)===0))return Promise.reject(new Error("\u586B\u7A7A\u9879\u7B54\u6848\u4E0D\u80FD\u4E3A\u7A7A"))}return Promise.resolve()}}]},(kt,{add:Kt,remove:jt},{errors:Sn})=>(rn.current=Kt,qe.current=jt,x.createElement(x.Fragment,null,x.createElement(re.default.Item,{label:x.createElement("span",null,"\u586B\u7A7A\u9879\u7B54\u6848",!(kt!=null&&kt.length)&&x.createElement("span",{style:{color:"#E99237"}},"\uFF08\u8BF7\u5148\u5728\u9898\u5E72\u4E2D\u63D2\u5165\u586B\u7A7A\u9879\uFF09")),required:!0,labelCol:{span:24}}),kt.map((cn,sn)=>{var Ln=cn,{key:Ea,name:Qt}=Ln,Kn=ge(Ln,["key","name"]);return x.createElement(De.Z,{align:"top",key:Ea},x.createElement(Ne.Z,{className:`${Ee.Z.blankIndex} pt5`},"\u586B\u7A7A\u9879",sn+1),x.createElement(Ne.Z,{flex:1},x.createElement(De.Z,{align:"top",justify:"space-between"},x.createElement(Ne.Z,{flex:1},x.createElement(re.default.Item,Fe(ve({},Kn),{name:[Qt,"answer_text"],noStyle:!0}),x.createElement(Je,null))),un&&x.createElement(Ne.Z,{flex:"224px"},x.createElement(re.default.Item,Fe(ve({},Kn),{name:[Qt,"score"],label:"\u5206\u503C",rules:[{required:!0}],className:Ee.Z.blankInputNumberWrapper}),x.createElement(Ae.Z,{className:Ee.Z.blankInput,min:.1,max:100,precision:1,style:{width:"100%"},placeholder:"\u6309\u7A7A\u7ED9\u5206\u8BF7\u8F93\u5165\u5206\u503C"})))),x.createElement(re.default.Item,Fe(ve({},Kn),{name:[Qt,"position"],noStyle:!0}),x.createElement(b.default,{type:"hidden"}))))})))),x.createElement(De.Z,{align:"middle"},x.createElement(re.default.Item,{name:[Gt,"downcase"],valuePropName:"checked"},x.createElement(y.Z,null)),x.createElement(Ne.Z,{className:"ml10"},"\u5224\u5206\u65F6\u5FFD\u7565\u7B54\u6848\u4E2D\u7684\u5B57\u6BCD\u5927\u5C0F\u5199")),x.createElement(De.Z,{align:"middle"},x.createElement(re.default.Item,{name:[Gt,"no_space"],valuePropName:"checked"},x.createElement(y.Z,null)),x.createElement(Ne.Z,{className:"ml10"},"\u5224\u5206\u65F6\u5FFD\u7565\u7B54\u6848\u4E2D\u7684\u7A7A\u683C")),($e==null?void 0:$e.length)>1&&x.createElement(De.Z,{align:"middle",className:($e==null?void 0:$e.length)>1?"mb30":`${Ee.Z.hide}`},x.createElement(re.default.Item,{name:Pn},x.createElement(Ie,null)),x.createElement(Ne.Z,{className:"ml10"},"\u5141\u8BB8\u5B66\u751F\u6BCF\u4E2A\u586B\u7A7A\u7684\u7B54\u6848\u4E0E\u6807\u51C6\u7B54\u6848\u7684\u987A\u5E8F\u4E0D\u4E00\u81F4")),x.createElement("div",{className:"mt30",onClick:()=>Ht(!0)},x.createElement(re.default.Item,{name:ca,label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},x.createElement(E.x,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:et}))))};var Ke=ne(59301),lt=Object.defineProperty,St=Object.defineProperties,ot=Object.getOwnPropertyDescriptors,Bt=Object.getOwnPropertySymbols,Qe=Object.prototype.hasOwnProperty,yt=Object.prototype.propertyIsEnumerable,Ft=(Mt,Dt,Gt)=>Dt in Mt?lt(Mt,Dt,{enumerable:!0,configurable:!0,writable:!0,value:Gt}):Mt[Dt]=Gt,Te=(Mt,Dt)=>{for(var Gt in Dt||(Dt={}))Qe.call(Dt,Gt)&&Ft(Mt,Gt,Dt[Gt]);if(Bt)for(var Gt of Bt(Dt))yt.call(Dt,Gt)&&Ft(Mt,Gt,Dt[Gt]);return Mt},Ge=(Mt,Dt)=>St(Mt,ot(Dt)),gt=(Mt,Dt)=>{var Gt={};for(var un in Mt)Qe.call(Mt,un)&&Dt.indexOf(un)<0&&(Gt[un]=Mt[un]);if(Mt!=null&&Bt)for(var un of Bt(Mt))Dt.indexOf(un)<0&&yt.call(Mt,un)&&(Gt[un]=Mt[un]);return Gt};const Zt={\u6B63\u786E:"T",\u9519\u8BEF:"F"},mt=({value:Mt,onChange:Dt,form:Gt,choiceKey:un})=>{const tn=(Mt==null?void 0:Mt.is_answer)===1,Qn=Mt==null?void 0:Mt.choice_text,ca=()=>{var Pn;const Ut=(Pn=Gt==null?void 0:Gt.getFieldValue(["sub_item_banks",...un]))==null?void 0:Pn.map(Xn=>({choice_text:Xn.choice_text,is_answer:0}));Gt==null||Gt.setFieldValue(["sub_item_banks",...un],Ut),Dt(Ge(Te({},Mt),{is_answer:1}))};return Ke.createElement(De.Z,{className:Ee.Z.choiceWrap,align:"middle",wrap:!1},Ke.createElement(Ne.Z,{onClick:ca,className:`${Ee.Z.choiceIndex} ${Ee.Z.judgementIndex} ${tn?Ee.Z.activeAnswer:""}`},Zt[Qn]),Ke.createElement(Ne.Z,{flex:1,className:`${Ee.Z.editorWrap} ml15`},Ke.createElement("div",{className:`${Ee.Z.inputBorder} ${Ee.Z.placeholder} ${tn?Ee.Z.activeJudgementAnswer:""}`},Qn)),Ke.createElement(Ne.Z,{flex:"0 0 auto",className:"ml15"},Ke.createElement("div",{onClick:ca,className:`${Ee.Z.setAnswerBtn} ${tn?Ee.Z.activeAnswer:""}`},tn?"\u6B63\u786E\u7B54\u6848":"\u8BBE\u4E3A\u7B54\u6848")))},Ot=({questionTitlePlaceholder:Mt,choiceKey:Dt="choices",form:Gt,titleKey:un="name",analysisKey:tn="analysis"})=>{const[Qn,ca]=(0,be.useState)(!1);return Ke.createElement("div",{className:Ee.Z.wrap},Ke.createElement("div",{className:Ee.Z.questionTitleEditorWrap},Ke.createElement(re.default.Item,{label:"\u9898\u5E72",name:un,labelCol:{span:24},rules:[{required:!0}]},Ke.createElement(E.h,{scrollId:"name",watch:!0,height:140,placeholder:Mt}))),Ke.createElement(re.default.Item,{label:"\u7B54\u6848\u9009\u9879",required:!0,labelCol:{span:24}},Ke.createElement(re.default.List,{name:Dt,rules:[{validator(Pn,Ut){return Ut.some(et=>(et==null?void 0:et.is_answer)===1)?Promise.resolve():Promise.reject(new Error("\u8BF7\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848"))}}]},Pn=>Ke.createElement("div",{id:"choices",style:{display:"flex",flexDirection:"column",gap:"20px"}},Pn.map(Ut=>{var Xn=Ut,{key:et,name:Ht}=Xn,qt=gt(Xn,["key","name"]);return Ke.createElement(re.default.Item,Ge(Te({},qt),{key:et,name:Ht,noStyle:!0}),Ke.createElement(mt,{form:Gt,choiceKey:Dt}))})))),Ke.createElement("div",{className:"mt30",onClick:()=>ca(!0)},Ke.createElement(re.default.Item,{name:tn,label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},Ke.createElement(E.x,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:Qn}))))};var Se=ne(8591),Ct=ne(12563),Jt=ne(89389),Pt=ne(61485),ut=Object.defineProperty,We=Object.defineProperties,Re=Object.getOwnPropertyDescriptors,he=Object.getOwnPropertySymbols,ce=Object.prototype.hasOwnProperty,_e=Object.prototype.propertyIsEnumerable,it=(Mt,Dt,Gt)=>Dt in Mt?ut(Mt,Dt,{enumerable:!0,configurable:!0,writable:!0,value:Gt}):Mt[Dt]=Gt,pe=(Mt,Dt)=>{for(var Gt in Dt||(Dt={}))ce.call(Dt,Gt)&&it(Mt,Gt,Dt[Gt]);if(he)for(var Gt of he(Dt))_e.call(Dt,Gt)&&it(Mt,Gt,Dt[Gt]);return Mt},fe=(Mt,Dt)=>We(Mt,Re(Dt)),Xe=(Mt,Dt)=>{var Gt={};for(var un in Mt)ce.call(Mt,un)&&Dt.indexOf(un)<0&&(Gt[un]=Mt[un]);if(Mt!=null&&he)for(var un of he(Mt))Dt.indexOf(un)<0&&_e.call(Mt,un)&&(Gt[un]=Mt[un]);return Gt};const ke=Mt=>{var Dt=Mt,{value:Gt,onChange:un}=Dt,tn=Xe(Dt,["value","onChange"]);const Qn=ca=>{un([ca])};return be.createElement(Jt.Z,fe(pe({},tn),{defaultValue:Gt==null?void 0:Gt[0],onChange:Qn}))},Ce=Mt=>{if(!Mt)return!1;let Dt=new RegExp("[ `~!@#$^&*()={}':;,\\[\\].<>/?~\uFF01@#\uFFE5\u2026\u2026&*\uFF08\uFF09\u2014\u3010\u3011\u2018\uFF1B\uFF1A\u201D\u201C\u3002\uFF0C\u3001\uFF1F\u300C\u300D\u300E\u300F_\\+\\-\xB7%\u300A\u300B]|[\\\\/]");return Mt==="|"?(Se.ZP.warning("\u5173\u952E\u8BCD\u4E0D\u80FD\u53EA\u8F93\u5165\u4E00\u4E2A\u201C|\u201D\u5B57\u7B26\uFF01"),!1):!0},tt=({value:Mt=[],onClose:Dt})=>be.createElement(Ct.default,{closable:!0,onClose:Dt,className:Ee.Z.keywordTag},be.createElement("pre",{style:{margin:"0px",whiteSpace:"pre-wrap"}},Mt.join(" \u6216 "))),Rt=({questionTitlePlaceholder:Mt,form:Dt,showKeywords:Gt,isMustKeyWords:un=Gt,titleKey:tn="name",analysisKey:Qn="analysis",answerTexts:ca="answer_texts",keywords:Pn="keywords",useKeywords:Ut="use_keywords",indexs:Xn})=>{const[et,Ht]=(0,be.useState)(!1),[qt,on]=(0,be.useState)(""),[yn,rn]=(0,be.useState)(!1),mn=re.default.useWatch("question_score",Dt);return be.createElement("div",{className:Ee.Z.wrap},be.createElement("div",{className:Ee.Z.questionTitleEditorWrap},be.createElement(re.default.Item,{label:"\u9898\u5E72",name:tn,labelCol:{span:24},rules:[{required:!0}]},be.createElement(E.h,{scrollId:"name",watch:!0,height:140,placeholder:Mt}))),be.createElement(re.default.Item,{label:"\u53C2\u8003\u7B54\u6848",name:ca,labelCol:{span:24}},be.createElement(ke,{watch:!0,height:140,placeholder:"\u8BF7\u7F16\u8F91\u53C2\u8003\u7B54\u6848\uFF08\u975E\u5FC5\u586B\uFF09"})),Gt&&!un&&be.createElement(re.default.Item,{hidden:!0,name:Ut,valuePropName:"checked"},be.createElement(y.Z,{defaultChecked:!0})),Gt&&un&&be.createElement(De.Z,{align:"middle",className:"mb30"},be.createElement(re.default.Item,{name:Ut,valuePropName:"checked"},be.createElement(y.Z,{onChange:()=>{var qe,nt,$e,kt,Kt,jt;console.log(Dt.getFieldsValue()),rn(($e=(nt=(qe=Dt.getFieldsValue())==null?void 0:qe.sub_item_banks)==null?void 0:nt[Xn])==null?void 0:$e.use_keywords),console.log((jt=(Kt=(kt=Dt.getFieldsValue())==null?void 0:kt.sub_item_banks)==null?void 0:Kt[Xn])==null?void 0:jt.use_keywords),console.log(yn)}})),be.createElement(Ne.Z,{className:"ml10"},"\u5F00\u542F\u5173\u952E\u8BCD\u81EA\u52A8\u5224\u5206"),be.createElement(Ne.Z,null,be.createElement(Le.Z,{placement:"right",title:"\u9009\u4E2D\u540E\uFF0C\u9700\u8981\u8BBE\u7F6E\u6BCF\u4E2A\u5173\u952E\u8BCD\u7684\u5206\u503C\uFF0C\u7CFB\u7EDF\u4F1A\u6839\u636E\u8BBE\u7F6E\u7684\u5173\u952E\u8BCD\u8FDB\u884C\u81EA\u52A8\u5224\u5206\uFF1B \u6240\u6709\u5173\u952E\u8BCD\u5206\u503C\u4E4B\u548C\u5FC5\u987B\u5C0F\u4E8E\u7B49\u4E8E\u5C0F\u9898\u5206\u503C\u3002"},be.createElement(Pt.Z,{style:{color:"#3061D0",marginLeft:6,cursor:"pointer"}})))),(yn||!un)&&be.createElement(re.default.List,{name:Pn,rules:[{validator(qe,nt){return un?nt!=null&&nt.length?(nt==null?void 0:nt.reduce((kt,Kt)=>kt+Kt.score,0))>parseFloat(mn)?Promise.reject(new Error("\u6240\u6709\u5173\u952E\u8BCD\u7684\u5206\u503C\u4E4B\u548C\u5FC5\u987B\u5C0F\u4E8E\u7B49\u4E8E\u8BE5\u5C0F\u9898\u7684\u5206\u503C")):Promise.resolve():Promise.reject(new Error("\u8BF7\u8BBE\u7F6E\u5224\u5206\u5173\u952E\u8BCD")):Promise.resolve()}}]},(qe,{add:nt,remove:$e})=>be.createElement(be.Fragment,null,be.createElement("div",{className:`${Ee.Z.title} mb10`},un?"\u5173\u952E\u8BCD":be.createElement("span",{style:{color:"#9096A3"}},"\u5224\u5206\u5173\u952E\u8BCD")),be.createElement(De.Z,{align:"middle",className:"font14 mb30"},be.createElement(Ne.Z,{flex:1},be.createElement(b.default,{value:qt,onChange:kt=>{on(kt.target.value)},maxLength:50,allowClear:!0,onPressEnter:kt=>{var Kt,jt,Sn,cn;const sn=`${(Kt=kt.target)==null?void 0:Kt.value}`,Ln=(Sn=(jt=sn==null?void 0:sn.split("|"))==null?void 0:jt.filter(Kn=>!!Kn))==null?void 0:Sn.map(Kn=>Kn==null?void 0:Kn.trim()),Ea=Dt.getFieldValue(["sub_item_banks",...Pn]),Qt=((cn=Ea==null?void 0:Ea.map(Kn=>Kn==null?void 0:Kn.keyword))==null?void 0:cn.flat())||[];for(const Kn of Ln)if(Qt.includes(Kn)){Se.ZP.error("\u4E3A\u907F\u514D\u5224\u5206\u9519\u8BEF\uFF0C\u8BF7\u52FF\u8BBE\u7F6E\u76F8\u540C\u7684\u5173\u952E\u8BCD");return}Ce(sn)&&(nt({keyword:Ln,score:1}),on(""))},className:Ee.Z.inputBorder,placeholder:"\u652F\u6301\u8BBE\u7F6E\u591A\u4E2A\u5173\u952E\u8BCD\uFF1B\u5E76\u5217\u5173\u952E\u8BCD\uFF08\u6216\u7684\u5173\u7CFB\uFF09\u8BF7\u7528\u201C|\u201D\u5206\u9694\u5F00"})),be.createElement(Ne.Z,{flex:"148px",style:{textAlign:"right",color:"#e99237"}},"\u201C\u56DE\u8F66\u952E\u201D\u4FDD\u5B58\u5173\u952E\u8BCD")),qe.map(kt=>{var Kt=kt,{key:jt,name:Sn}=Kt,cn=Xe(Kt,["key","name"]);return be.createElement(De.Z,{key:jt,className:"mb20",style:{marginRight:148}},be.createElement(Ne.Z,{flex:1},be.createElement(De.Z,{align:"middle",justify:"space-between"},be.createElement(re.default.Item,fe(pe({},cn),{name:[Sn,"keyword"]}),be.createElement(tt,{onClose:()=>$e(Sn)})),un&&be.createElement(re.default.Item,fe(pe({},cn),{name:[Sn,"score"],label:"\u5206\u503C",rules:[{required:!0}],className:Ee.Z.blankInputNumberWrapper}),be.createElement(Ae.Z,{className:Ee.Z.blankInput,min:.1,max:100,precision:1,style:{width:"100%"},placeholder:"\u8BF7\u8F93\u5165\u5173\u952E\u8BCD\u5206\u6570"})))))}))),be.createElement("div",{onClick:()=>Ht(!0)},be.createElement(re.default.Item,{name:Qn,label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},be.createElement(E.x,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:et}))))};var dt=ne(59301),wt=Object.defineProperty,At=Object.defineProperties,zt=Object.getOwnPropertyDescriptors,pt=Object.getOwnPropertySymbols,en=Object.prototype.hasOwnProperty,nn=Object.prototype.propertyIsEnumerable,Tt=(Mt,Dt,Gt)=>Dt in Mt?wt(Mt,Dt,{enumerable:!0,configurable:!0,writable:!0,value:Gt}):Mt[Dt]=Gt,Nt=(Mt,Dt)=>{for(var Gt in Dt||(Dt={}))en.call(Dt,Gt)&&Tt(Mt,Gt,Dt[Gt]);if(pt)for(var Gt of pt(Dt))nn.call(Dt,Gt)&&Tt(Mt,Gt,Dt[Gt]);return Mt},$t=(Mt,Dt)=>At(Mt,zt(Dt)),ln=(Mt,Dt)=>{var Gt={};for(var un in Mt)en.call(Mt,un)&&Dt.indexOf(un)<0&&(Gt[un]=Mt[un]);if(Mt!=null&&pt)for(var un of pt(Mt))Dt.indexOf(un)<0&&nn.call(Mt,un)&&(Gt[un]=Mt[un]);return Gt};const{Panel:dn}=xe.default,wn=({questionTitlePlaceholder:Mt,choiceKey:Dt,form:Gt,withScore:un})=>{const[tn,Qn]=(0,be.useState)([]),ca=Pn=>{Qn(Pn)};return dt.createElement("div",{className:Ee.Z.wrap},dt.createElement("div",{className:Ee.Z.questionTitleEditorWrap},dt.createElement(re.default.Item,{label:"\u9898\u5E72",name:"name",labelCol:{span:24},rules:[{required:!0}]},dt.createElement(E.h,{scrollId:"name",watch:!0,height:140,placeholder:Mt}))),dt.createElement(re.default.Item,{label:"\u5C0F\u9898",required:!0,labelCol:{span:24}}),dt.createElement(re.default.List,{name:"sub_item_banks",rules:[{validator(Pn,Ut){return Ut?Promise.resolve():Promise.reject(new Error("\u8BF7\u6DFB\u52A0\u5C0F\u9898"))}}]},(Pn,{add:Ut,remove:Xn,move:et})=>{const Ht=Gt.getFieldValue("sub_item_banks");return dt.createElement(dt.Fragment,null,dt.createElement(xe.default,{className:Pn.length>0?Ee.Z.collapseWrapper:"",bordered:!1,activeKey:tn,onChange:ca,expandIcon:({isActive:qt})=>dt.createElement("i",{className:`iconfont icon-weizhankai ${qt?Ee.Z.open:Ee.Z.close}`,style:{fontSize:14,transition:"all .2s"}})},Pn.map((qt,on)=>{var yn=qt,{key:rn,name:mn}=yn,qe=ln(yn,["key","name"]),nt,$e,kt,Kt,jt,Sn,cn,sn,Ln,Ea;return dt.createElement(dn,{className:Ee.Z.panel,forceRender:!0,header:dt.createElement("div",{className:Ee.Z.panelHeader},"\u7B2C",on+1,"\u5C0F\u9898",dt.createElement("span",null,"\uFF08",((nt=Ht==null?void 0:Ht[mn])==null?void 0:nt.item_type)=="SINGLE"?"\u5355\u9009\u9898":(($e=Ht==null?void 0:Ht[mn])==null?void 0:$e.item_type)=="MULTIPLE"?"\u591A\u9009\u9898":((kt=Ht==null?void 0:Ht[mn])==null?void 0:kt.item_type)=="COMPLETION"?"\u586B\u7A7A\u9898":((Kt=Ht==null?void 0:Ht[mn])==null?void 0:Kt.item_type)=="JUDGMENT"?"\u5224\u65AD\u9898":"\u7B80\u7B54\u9898","\uFF09")),key:mn,extra:dt.createElement(De.Z,{align:"middle",onClick:Qt=>Qt.stopPropagation()},un&&dt.createElement(Ne.Z,null,dt.createElement(re.default.Item,$t(Nt({},qe),{rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5C0F\u9898\u5206\u503C"}],label:"\u5206\u503C",name:[mn,"question_score"],className:Ee.Z.blankInputNumberWrapper}),dt.createElement(Ae.Z,{className:Ee.Z.blankInput,placeholder:"\u8BF7\u8F93\u5165\u5F53\u524D\u5C0F\u9898\u5206\u6570",min:.1,precision:1,max:100,style:{width:150}}))),dt.createElement(Ne.Z,null,dt.createElement(De.Z,{align:"middle",className:"pl40",justify:"end"},on!==0&&dt.createElement("div",{onClick:()=>{var Qt;et(on,on-1);const Kn=(Qt=Gt.getFieldValue("sub_item_banks"))==null?void 0:Qt.map((ua,Pa)=>(Pn.map((pn,ea)=>{Pa===ea&&(ua.q_position=Number(pn.name)+1)}),ua));Gt.setFieldValue("sub_item_banks",Kn)}},dt.createElement(Le.Z,{title:"\u4E0A\u79FB"},dt.createElement("i",{className:"iconfont icon-shangyi3 c-grey-999 primary-hover"}))),on<Pn.length-1&&dt.createElement("div",{onClick:()=>{var Qt;et(on,on+1);const Kn=(Qt=Gt.getFieldValue("sub_item_banks"))==null?void 0:Qt.map((ua,Pa)=>(Pn.map((pn,ea)=>{Pa===ea&&(ua.q_position=Number(pn.name)+1)}),ua));Gt.setFieldValue("sub_item_banks",Kn)},className:on===0?"":"ml15"},dt.createElement(Le.Z,{title:"\u4E0B\u79FB"},dt.createElement("i",{className:"iconfont icon-xiayi3 c-grey-999 primary-hover"}))))),dt.createElement(Ne.Z,null,dt.createElement(Le.Z,{title:"\u5220\u9664"},dt.createElement(oe.Z,{className:`${Ee.Z.deleteIcon} ml15`,onClick:()=>Xn(mn)}))))},dt.createElement(re.default.Item,$t(Nt({},qe),{name:mn}),(((jt=Ht==null?void 0:Ht[mn])==null?void 0:jt.item_type)=="SINGLE"||((Sn=Ht==null?void 0:Ht[mn])==null?void 0:Sn.item_type)=="MULTIPLE")&&dt.createElement(z.u,{questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u9009\u62E9\u9898\u9898\u5E72\u5185\u5BB9",allowChangeMode:((cn=Ht==null?void 0:Ht[mn])==null?void 0:cn.item_type)=="MULTIPLE",form:Gt,choiceKey:[mn,"choices"],titleKey:[mn,"name"],analysisKey:[mn,"analysis"],choiceOptionsPath:["sub_item_banks",mn,"choices"],choiceTextKey:"choice_text",answerKey:"is_answer"}),((sn=Ht==null?void 0:Ht[mn])==null?void 0:sn.item_type)=="COMPLETION"&&dt.createElement(ze,{form:Gt,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u9898\u5E72\u5E76\u8BBE\u7F6E\u586B\u7A7A\u9879",scoreByBlank:!1,name:mn,titleKey:[mn,"name"],analysisKey:[mn,"analysis"],isOrdered:[mn,"is_ordered"],answerKey:[mn,"standard_answers"]}),((Ln=Ht==null?void 0:Ht[mn])==null?void 0:Ln.item_type)=="JUDGMENT"&&dt.createElement(Ot,{form:Gt,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u5224\u65AD\u9898\u9898\u5E72\u5185\u5BB9",titleKey:[mn,"name"],analysisKey:[mn,"analysis"],choiceKey:[mn,"choices"]}),((Ea=Ht==null?void 0:Ht[mn])==null?void 0:Ea.item_type)=="SUBJECTIVE"&&dt.createElement(Rt,{showKeywords:!0,isMustKeyWords:!1,form:Gt,titleKey:[mn,"name"],analysisKey:[mn,"analysis"],answerTexts:[mn,"answer_texts"],useKeywords:[mn,"use_keywords"],keywords:[mn,"keywords"],indexs:mn,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u7B80\u7B54\u9898\u9898\u5E72\u5185\u5BB9"})))})),Pn.length<20&&dt.createElement(je.Z,{menu:{items:[{label:dt.createElement("div",{onClick:()=>{Ut({name:"",choices:Array.from({length:4},()=>({choice_text:"",is_answer:0})),analysis:"",item_type:"SINGLE"}),Qn([Pn==null?void 0:Pn.length,...tn])}},"\u5355\u9009\u9898"),key:"1",show:!0},{label:dt.createElement("div",{onClick:()=>{Ut({name:"",choices:Array.from({length:4},()=>({choice_text:"",is_answer:0})),analysis:"",item_type:"MULTIPLE"}),Qn([Pn==null?void 0:Pn.length,...tn])}},"\u591A\u9009\u9898"),key:"2",show:!0},{label:dt.createElement("div",{onClick:()=>{Ut({name:"",choices:[{choice_text:"\u6B63\u786E",is_answer:0},{choice_text:"\u9519\u8BEF",is_answer:0}],analysis:"",item_type:"JUDGMENT"}),Qn([Pn==null?void 0:Pn.length,...tn])}},"\u5224\u65AD\u9898"),key:"3",show:!0},{label:dt.createElement("div",{onClick:()=>{Ut({name:"",analysis:"",is_ordered:!0,standard_answers:[],item_type:"COMPLETION",downcase:!0,no_space:!0}),Qn([Pn==null?void 0:Pn.length,...tn])}},"\u586B\u7A7A\u9898"),key:"4",show:!0},{label:dt.createElement("div",{onClick:()=>{Ut({name:"",answer_texts:[],keywords:[],use_keywords:!0,analysis:"",item_type:"SUBJECTIVE"}),Qn([Pn==null?void 0:Pn.length,...tn])}},"\u7B80\u7B54\u9898"),key:"5",show:!0}].filter(qt=>qt.show).map(qt=>({label:qt.label,key:qt.key}))}},dt.createElement("div",{className:`${Ee.Z.addBtn}`},"\u6DFB\u52A0\u5C0F\u9898")))}))};var zn=ne(51110)},29920:function(ft,vt,ne){"use strict";ne.d(vt,{C:function(){return ze}});var z=ne(59301),ie={recalculation:"recalculation____i9AE",tips:"tips___GoMu8",filter:"filter___Vx7VO",input:"input___OEMMv",operating:"operating___TS9iA",operatingItem:"operatingItem___AT84q"},Pe=ne(92310),Me=ne.n(Pe),be=ne(24905),xe=ne(95237),re=ne(8591),De=ne(6848),Ne=ne(3113),Ae=ne(43418),Le=ne(1710),je=ne(5871),Ee=ne(78241),oe=ne(71418),E=ne(49661),a=ne(82093),b=ne(34055),y=ne(77817),x=ne(89831),ee=Object.defineProperty,te=Object.defineProperties,ae=Object.getOwnPropertyDescriptors,ue=Object.getOwnPropertySymbols,de=Object.prototype.hasOwnProperty,me=Object.prototype.propertyIsEnumerable,Be=(Ke,lt,St)=>lt in Ke?ee(Ke,lt,{enumerable:!0,configurable:!0,writable:!0,value:St}):Ke[lt]=St,ve=(Ke,lt)=>{for(var St in lt||(lt={}))de.call(lt,St)&&Be(Ke,St,lt[St]);if(ue)for(var St of ue(lt))me.call(lt,St)&&Be(Ke,St,lt[St]);return Ke},Fe=(Ke,lt)=>te(Ke,ae(lt)),ge=(Ke,lt,St)=>new Promise((ot,Bt)=>{var Qe=Te=>{try{Ft(St.next(Te))}catch(Ge){Bt(Ge)}},yt=Te=>{try{Ft(St.throw(Te))}catch(Ge){Bt(Ge)}},Ft=Te=>Te.done?ot(Te.value):Promise.resolve(Te.value).then(Qe,yt);Ft((St=St.apply(Ke,lt)).next())});const Je=be.default.Group,Ie=({className:Ke,title:lt,items:St=[],value:ot,onChange:Bt})=>{const Qe=(St==null?void 0:St.length)===(ot==null?void 0:ot.length),yt=(ot==null?void 0:ot.length)>0&&(ot==null?void 0:ot.length)<(St==null?void 0:St.length),Ft=Te=>{const Ge=St.map(gt=>gt.id);Bt(Te.target.checked?Ge:[])};return z.createElement(xe.Z,{align:"middle",className:Ke},!!lt&&z.createElement("div",{className:"mr20",style:{color:"#5F6368"}},lt),z.createElement(be.default,{indeterminate:yt,onChange:Ft,checked:Qe},"\u5168\u90E8"),z.createElement(Je,{value:ot,onChange:Bt},St.map(Te=>z.createElement(be.default,{className:"ml30 c-black",key:Te.id,value:Te.id},Te.name,z.createElement("span",null,`(${Te.count})`)))))};var ze=({className:Ke,style:lt,dataSource:St})=>{var ot,Bt,Qe,yt,Ft,Te,Ge;const[gt,Zt]=(0,z.useState)({}),[mt,Ot]=(0,z.useState)(!0),[Se,Ct]=(0,z.useState)(!1),[Jt,Pt]=(0,z.useState)(!1),[ut,We]=(0,z.useState)(null),[Re,he]=(0,z.useState)(0),[ce,_e]=(0,z.useState)({}),[it,pe]=(0,z.useState)(!0),[fe,Xe]=(0,z.useState)(0),[ke,Ce]=(0,z.useState)(0),[tt,Rt]=(0,z.useState)(!1),dt=(0,z.useRef)(null),[wt,At]=(0,z.useState)(!1),[zt,pt]=(0,z.useState)(!0),[en,nn]=(0,z.useState)([]),Tt={page:1,per_page:5,keyword:"",review:[],question_status:[],success_status:[],sort_by:null,direction:null},[Nt,$t]=(0,z.useState)(ve({},Tt));(0,z.useEffect)(()=>{St!=null&&St.question_id&&Zt(St)},[St==null?void 0:St.question_id]),(0,z.useEffect)(()=>{var Ut;if(((Ut=gt==null?void 0:gt.exercise_question_resubmit)==null?void 0:Ut.status)==="running"){const Xn=setInterval(()=>{wn()},3e3);return()=>clearInterval(Xn)}},[(ot=gt==null?void 0:gt.exercise_question_resubmit)==null?void 0:ot.status]),(0,z.useEffect)(()=>{var Ut;Jt&&(Jt===1&&(Nt.question_status=zn.map(Xn=>Xn.value),Nt.review=Mt.map(Xn=>Xn.value)),Jt===2&&(Nt.exercise_question_resubmit_id=(Ut=gt==null?void 0:gt.exercise_question_resubmit)==null?void 0:Ut.id,ut===1&&(Nt.success_status=[1]),ut===2&&(Nt.success_status=[0])),$t(ve({},Nt)),ln(Nt),Ce(gt!=null&&gt.is_mirror?3:10),Xe(gt!=null&&gt.is_mirror?1:5))},[Jt]),(0,z.useEffect)(()=>{wt&&dn()},[wt]);const ln=Ut=>ge(void 0,null,function*(){Ot(!0);const Xn=yield(0,a.ZP)(`/api/exercise_questions/${gt==null?void 0:gt.question_id}/resubmit_student_list.json`,{method:"get",params:Ut});(Xn==null?void 0:Xn.status)==0&&(_e(Xn||[]),he(Xn==null?void 0:Xn.count)),Ot(!1)}),dn=()=>ge(void 0,null,function*(){pt(!0);const Ut=yield(0,a.ZP)(`/api/exercise_questions/${gt==null?void 0:gt.question_id}/resubmit_history.json`,{method:"get"});(Ut==null?void 0:Ut.status)==0&&nn((Ut==null?void 0:Ut.data)||[]),pt(!1)}),wn=()=>ge(void 0,null,function*(){const Ut=yield(0,a.ZP)(`/api/exercise_questions/${gt==null?void 0:gt.question_id}/resubmit_status.json`,{method:"get"});(Ut==null?void 0:Ut.status)==0&&Zt(Fe(ve({},gt),{show_resubmit_history:!0,exercise_question_resubmit:(Ut==null?void 0:Ut.data)||{}}))}),zn=[{label:"\u672A\u8BC4\u6D4B",value:2,color:"#9096A3"},{label:"\u672A\u901A\u5173",value:0,color:"#E30000"},{label:"\u5DF2\u901A\u5173",value:1,color:"#00B187"}],Mt=[{label:"\u672A\u8BC4\u9605",value:0,color:"#9096A3"},{label:"\u8BC4\u9605\u4E2D",value:2,color:"#FF9D18"},{label:"\u5DF2\u8BC4\u9605",value:1,color:"#3061D0"}],Dt=[{label:"\u6210\u529F",value:1,color:"#00B187"},{label:"\u5931\u8D25",value:0,color:"#E30000"}],Gt=[{title:"\u5E8F\u53F7",dataIndex:"key",render:(Ut,Xn,et)=>z.createElement("span",{className:"c-black"},et+1+(Nt.page-1)*Nt.per_page)},{title:"\u59D3\u540D",dataIndex:"user_name",render:Ut=>z.createElement("span",{className:"c-black"},Ut)},{title:"\u5B66\u53F7",dataIndex:"student_id",sorter:!0,render:Ut=>z.createElement("span",{className:"c-grey-666"},Ut||"--")},{title:"\u5206\u73ED",dataIndex:"group_name",render:Ut=>z.createElement("span",{className:"c-black"},Ut)},{title:"\u9898\u76EE\u72B6\u6001",dataIndex:"question_status",render:Ut=>{const{label:Xn,color:et}=zn.find(Ht=>Ht.value===Ut)||{};return z.createElement("span",{style:{color:et}},Xn)}},{title:"\u9898\u76EE\u5F97\u5206",dataIndex:"question_score",sorter:!0,render:Ut=>z.createElement("span",{className:"c-black"},Ut)},{title:"\u6700\u7EC8\u6210\u7EE9",dataIndex:"score",sorter:!0,render:Ut=>z.createElement("span",{className:"c-black"},Ut)},{title:"\u8BC4\u9605\u72B6\u6001",dataIndex:"review",render:Ut=>{const{label:Xn,color:et}=Mt.find(Ht=>Ht.value===Ut)||{};return z.createElement("span",{style:{color:et}},Xn)}},Jt===2&&{title:"\u91CD\u65B0\u8BC4\u6D4B\u7ED3\u679C",dataIndex:"success_status",render:Ut=>{const{label:Xn,color:et}=Dt.find(Ht=>Ht.value===Ut)||{};return z.createElement("span",{style:{color:et}},Xn)}}].filter(Boolean),un=(Ut,Xn,et)=>{Nt.page=Ut==null?void 0:Ut.current,Nt.per_page=Ut==null?void 0:Ut.pageSize,et!=null&&et.order?(Nt.sort_by=et==null?void 0:et.field,Nt.direction=(et==null?void 0:et.order)==="ascend"?"asc":"desc"):(Nt.sort_by=null,Nt.direction=null),$t(ve({},Nt)),ln(Nt)},tn=()=>{if(!fe){re.ZP.warning("\u8BF7\u8F93\u5165\u91CD\u65B0\u8BC4\u6D4B\u4EFB\u52A1\u5E76\u53D1\u4EBA\u6570");return}Rt(!0)},Qn=()=>ge(void 0,null,function*(){var Ut,Xn;if((Ut=dt.current)!=null&&Ut.onVerify())return;Ct(!0);const et=yield(0,a.ZP)(`/api/exercise_questions/${gt==null?void 0:gt.question_id}/resubmit.json`,{method:"post",body:{keyword:Nt.keyword,question_status:Nt.question_status,review:Nt.review_status,success_status:Nt.success_status,use_max_score:it,permits:fe,exercise_question_resubmit_id:Jt===1?null:(Xn=gt==null?void 0:gt.exercise_question_resubmit)==null?void 0:Xn.id}});(et==null?void 0:et.status)==0&&(yield wn(),re.ZP.success("\u64CD\u4F5C\u6210\u529F"),Rt(!1),Pt(!1)),Ct(!1)}),ca=(Ut,Xn)=>{Nt.page=1,Nt[Xn]=Ut,$t(ve({},Nt)),ln(Nt)},Pn=["","\u5F53\u524D\u9898\u76EE\u7684\u5B9E\u9A8C\u8D44\u6E90\u4E3A\u4E13\u6709\u4E91\uFF0C\u4E0D\u652F\u6301\u91CD\u65B0\u8BC4\u6D4B~","\u8BE5\u529F\u80FD\u4EC5\u8BFE\u5802\u7BA1\u7406\u5458\u548C\u8003\u8BD5\u7684\u521B\u5EFA\u8005\u53EF\u4EE5\u64CD\u4F5C~"];return z.createElement(z.Fragment,null,z.createElement("div",{className:Me()(ie.recalculation,Ke),style:lt},z.createElement(De.Z,{title:Pn[(gt==null?void 0:gt.disable_resubmit_reason)||0]},z.createElement(Ne.ZP,{disabled:(gt==null?void 0:gt.disable_resubmit)||((Bt=gt==null?void 0:gt.exercise_question_resubmit)==null?void 0:Bt.status)==="running",onClick:()=>Pt(1),icon:z.createElement("i",{className:"iconfont icon-zhongxinpingce font14"}),type:"primary",ghost:!0},"\u91CD\u65B0\u8BC4\u6D4B\u7B97\u5206")),(gt==null?void 0:gt.show_resubmit_history)&&z.createElement(z.Fragment,null,((Qe=gt==null?void 0:gt.exercise_question_resubmit)==null?void 0:Qe.status)==="running"?z.createElement("div",{className:"c-grey-666"},"\u91CD\u65B0\u8BC4\u6D4B\u4E2D\uFF0C\u5F53\u524D\u8FDB\u5EA6",z.createElement("span",{className:"c-light-primary ml3"},(yt=gt==null?void 0:gt.exercise_question_resubmit)==null?void 0:yt.rate)):z.createElement("div",{className:"c-grey-666"},"\u91CD\u65B0\u8BC4\u6D4B\u6210\u529F",z.createElement("span",{onClick:()=>{Pt(2),We(1)},className:"current",style:{color:"#3061D0",textDecoration:"underline",margin:"0 3px"}},(Ft=gt==null?void 0:gt.exercise_question_resubmit)==null?void 0:Ft.success_student_count),"\u4EBA\uFF0C\u5931\u8D25",z.createElement("span",{onClick:()=>{Pt(2),We(2)},className:"current",style:{color:"#E30000",textDecoration:"underline",margin:"0 3px"}},(Te=gt==null?void 0:gt.exercise_question_resubmit)==null?void 0:Te.fail_count),"\u4EBA"),z.createElement(De.Z,{title:"\u64CD\u4F5C\u8BB0\u5F55"},z.createElement("i",{onClick:()=>At(!0),className:"iconfont icon-chakanshenqingjilu c-light-primary current font14"})))),z.createElement(Ae.default,{centered:!0,open:!!Jt,title:`\u91CD\u65B0\u8BC4\u6D4B${Jt===1?"\u7B97\u5206":"\u7ED3\u679C"}`,width:870,okText:"\u91CD\u65B0\u8BC4\u6D4B\u7B97\u5206",onCancel:()=>Pt(!1),onOk:tn,afterClose:()=>{pe(!0),We(null),$t(ve({},Tt))}},z.createElement("div",{className:ie.filter},Jt===1&&z.createElement(z.Fragment,null,z.createElement("div",{className:ie.tips},z.createElement("div",{className:"mb5",style:{color:"#FF9D18"}},z.createElement("i",{className:"iconfont icon-tishi9 mr10 font14"}),"\u6E29\u99A8\u63D0\u793A"),z.createElement("div",null,"1.\u91CD\u65B0\u8BC4\u6D4B\u7B97\u5206\u6D41\u7A0B\uFF1A \u7CFB\u7EDF\u81EA\u52A8\u83B7\u53D6\u5B66\u751F\u5728\u8003\u8BD5\u9875\u9762\u4FDD\u5B58\u7684\u6700\u65B0\u4EE3\u7801\uFF0C\u5E76\u8FDB\u884C\u91CD\u65B0\u8BC4\u6D4B\uFF0C\u4ECE\u800C\u7CBE\u51C6\u8BA1\u7B97\u51FA\u5B66\u751F\u7684\u6700\u7EC8\u5F97\u5206\uFF1B"),z.createElement("div",{style:{margin:"2px 0"}},"2.\u91CD\u65B0\u8BC4\u6D4B\u6761\u4EF6\uFF1A \u8003\u8BD5\u7ED3\u675F\u540E\uFF0C\u4EC5\u5BF9\u5DF2\u63D0\u4EA4\u8BD5\u5377\u4E14\u5DF2\u4F5C\u7B54\u8BE5\u9898\u76EE\u7684\u5B66\u751F\u8FDB\u884C\u91CD\u65B0\u8BC4\u6D4B\u4E0E\u7B97\u5206\uFF1B"),z.createElement("div",null,"3.\u91CD\u65B0\u8BC4\u6D4B\u65F6\uFF0C\u8BF7\u786E\u4FDD\u5B9E\u9A8C\u73AF\u5883\u80FD\u6B63\u5E38\u542F\u52A8\u5E76\u53EF\u8FD0\u884C\u8BC4\u6D4B\u3002")),z.createElement(Ie,{className:"mt10",title:"\u9898\u76EE\u72B6\u6001",items:(ce==null?void 0:ce.question_status)||[],value:Nt.question_status,onChange:Ut=>ca(Ut,"question_status")}),z.createElement(Ie,{className:"mt10",title:"\u8BC4\u9605\u72B6\u6001",items:(ce==null?void 0:ce.review_status)||[],value:Nt.review,onChange:Ut=>ca(Ut,"review")})),Jt===2&&z.createElement(z.Fragment,null,z.createElement(Ie,{className:"mt10",title:"\u91CD\u65B0\u8BC4\u6D4B\u7ED3\u679C",items:(ce==null?void 0:ce.success_status)||[],value:Nt.success_status,onChange:Ut=>ca(Ut,"success_status")})),z.createElement(x.t7,{className:ie.input,style:{bottom:Jt===1?10:-5},value:Nt.keyword,onChange:Ut=>ca(Ut,"keyword"),placeholder:"\u8BF7\u8F93\u5165\u59D3\u540D\u6216\u8005\u5B66\u53F7\u641C\u7D22"})),z.createElement(Le.default,{className:"mt20",columns:Gt,scroll:((Ge=ce==null?void 0:ce.data)==null?void 0:Ge.length)>7?{y:300}:{},dataSource:(ce==null?void 0:ce.data)||[],loading:mt,onChange:un,pagination:{total:Re,pageSize:Nt.per_page,current:Nt.page,hideOnSinglePage:!Re,showSizeChanger:!0,pageSizeOptions:["5","10","20","50","100"],showQuickJumper:!0,size:"default",showTotal:E.rU}}),z.createElement(xe.Z,{justify:"space-between",align:"middle",className:"mt10"},z.createElement(be.default,{className:"c-black",checked:it,onChange:Ut=>pe(Ut.target.checked)},"\u91CD\u65B0\u8BC4\u6D4B\u540E\u7684\u5206\u6570\u5927\u4E8E\u539F\u6765\u7684\u5206\u6570\u624D\u66F4\u65B0\u6210\u7EE9"),(0,b.Ny)()&&z.createElement("div",{className:"c-black"},"\u91CD\u65B0\u8BC4\u6D4B\u4EFB\u52A1\u5E76\u53D1\u4EBA\u6570",z.createElement(je.Z,{className:"ml10 mr10",value:fe,max:ke,min:1,precision:0,onChange:Ut=>Xe(Ut)}),"\u4EBA",z.createElement(De.Z,{overlayStyle:{maxWidth:450},title:"\u91CD\u65B0\u8BC4\u6D4B\u4EFB\u52A1\u7684\u6700\u5927\u5E76\u53D1\u4EBA\u6570\u4E3A20\u4EBA\uFF08\u81EA\u5B9A\u4E49\u955C\u50CF\u7684\u6700\u5927\u5E76\u53D1\u4EBA\u6570\u4E3A3\u4EBA\uFF09\u3002"},z.createElement("i",{style:{color:"#9096A3"},className:"iconfont icon-tishi5 font13 ml10"}))))),z.createElement(Ae.default,{centered:!0,title:"\u91CD\u65B0\u8BC4\u6D4B\u7B97\u5206",open:tt,width:494,zIndex:1001,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",confirmLoading:Se,destroyOnClose:!0,onOk:Qn,onCancel:()=>Rt(!1)},z.createElement(Ee.default.Item,{className:"mb0",colon:!1,label:"\u9A8C\u8BC1\u7801",name:"code",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u9A8C\u8BC1\u7801"}]},z.createElement(y.Z,{ref:Ut=>dt.current=Ut}))),z.createElement(Ae.default,{centered:!0,title:"\u64CD\u4F5C\u8BB0\u5F55",open:wt,width:710,onCancel:()=>At(!1),footer:null},z.createElement(oe.Z,{spinning:zt},z.createElement("div",{className:ie.operating},en.map((Ut,Xn)=>z.createElement("div",{key:Xn,className:ie.operatingItem},z.createElement("div",{style:{flex:"0 0 180px"},className:"c-grey-666"},Ut==null?void 0:Ut.created_at),z.createElement("div",{className:"c-black"},Ut==null?void 0:Ut.user_name,"\u64CD\u4F5C\u4E86\u91CD\u65B0\u8BC4\u6D4B\u7B97\u5206"),(Ut==null?void 0:Ut.status)==="running"?z.createElement("div",{className:"c-black"},"\u91CD\u65B0\u8BC4\u6D4B\u4E2D\uFF0C\u5F53\u524D\u8FDB\u5EA6",z.createElement("span",{className:"c-light-primary ml3"},Ut==null?void 0:Ut.rate)):z.createElement("div",{className:"c-black"},"\u91CD\u65B0\u8BC4\u6D4B\u6210\u529F",z.createElement("span",{style:{color:"#3061D0",margin:"0 3px"}},Ut==null?void 0:Ut.success_student_count),"\u4EBA\uFF0C\u5931\u8D25",z.createElement("span",{style:{color:"#E30000",margin:"0 3px"}},Ut==null?void 0:Ut.fail_count),"\u4EBA")))),z.createElement("div",{style:{height:20}}))))}},6681:function(ft,vt,ne){"use strict";ne.d(vt,{Z:function(){return De}});var z=ne(59301),ie={flex_box_center:"flex_box_center___rQJfc",flex_space_between:"flex_space_between___MDW24",flex_box_vertical_center:"flex_box_vertical_center___RZbAv",flex_box_center_end:"flex_box_center_end___ILhJA",flex_box_column:"flex_box_column___Fmij7",orangeColor:"orangeColor___U5vU6",redColor:"redColor___qYa6X",statustitle:"statustitle___pTBLm",statusbody:"statusbody___qUPQx",flex:"flex___VtL45"},Pe=ne(43418),Me="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAPCAYAAADUFP50AAAAAXNSR0IArs4c6QAAAUFJREFUOE+V0ktKw1AUxvH/rVqIxT4wkgwEUSmK4APRBfiYCKU7cOZEBOkadAMZiwhuwJETBQciFRTtwJkPBLW2BRGrRanU9kpN2sSYiGaWc/PjuznnCN2Qh8AkPo+AzXxKLLiPhW7ICtDqB4GzQkqM/huGFZgZcDCBBDaaicsTMKbZH2xfwdY5/ICAEGSasC0AwRYblj+gKkENwfy4WS9V4LHsgsk49EZteJKHdBa6w7AybdZzr3D64ILxGKjtNrx9gfsSRBSYtf6xZh1/u+qQClrIhtdFuHmGvhisJcz65RPsZl2Jc/3QE7FhpgDHuT80x2+O9cR1K/GiCDt3rkQ/+Ns43gDFD0YVmHIuQGOOmiGTARhxwkGd1cZ7Vwd0OppWr3911StpcV++Iwn67q/kyBMuHchErcqwFxT1XZXsfQJqo2zI6kdI4QAAAABJRU5ErkJggg==",be="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAAAAXNSR0IArs4c6QAAAW1JREFUOE+dkj1IQmEUht9z/blp4VQEjS39eW+oSCFCpFCI4BiKFGWWQUSrCjVVg+lQNJZQDZGNTm1B4NTibS3n2lo0wuqEN8i/a0HfeN7v+d73nO+QJEcKAJzQPAwCnSpKNtoqkyRHqgDrtUFAb6Rnedx43KgT6O5P0GQijFiNLe/Sy3/B8g+YTIRRrb5jP32JYNADr8eOldU0RJEqVlm8r1kyuA/AIEB10OWy4vBgA4ryCIdjCJlMDmfn1zAY6EmyGY/UrAwrgGATWKsn4mGEQl4Uiw+YX9hT73aZiEcl8eMbZAGA0AT6/ZPY3Ykiny/A55tA7uoGqdQFBD2VbDbDugoSTTEj3gTGYgG8Vt7UeG63hNkZJ7a2s+gw1XqPnf5REKhkt4kxNakO08ycbOtRC/7FcakCwNTJ0WwmDI+1LUCZZDkSYGa5Eewf0G0KAnprNYtFQHdPbZhNS1cmLafF5bUTJsyBSVMHPm+/ADTrfrtCH68WAAAAAElFTkSuQmCC",xe=(Ne,Ae,Le)=>new Promise((je,Ee)=>{var oe=b=>{try{a(Le.next(b))}catch(y){Ee(y)}},E=b=>{try{a(Le.throw(b))}catch(y){Ee(y)}},a=b=>b.done?je(b.value):Promise.resolve(b.value).then(oe,E);a((Le=Le.apply(Ne,Ae)).next())}),De=({type:Ne,resdata:Ae,onok:Le,oktext:je,okloading:Ee})=>{const[oe,E]=(0,z.useState)(!1),{can_copy_list:a,can_copy_num:b,challenge_type:y,course_data_list:x,no_copy_list:ee,no_copy_num:te,no_use_list:ae,no_use_num:ue,repeat_shixun_num:de,student_count:me,total_num:Be,use_num:ve}=Ae;let Fe=b>0||Ne==="exercise";(0,z.useEffect)(()=>{(Ae==null?void 0:Ae.student_count)>0&&E(!0)},[Ae]),console.log("---11",Ee),(0,z.useEffect)(()=>{Ee||E(!1)},[Ee]);const ge=()=>{if(Ne==="exercise"&&y===1)return z.createElement(z.Fragment,null,"\u8BFE\u5802\u5185\u6709",z.createElement("span",{className:ie.orangeColor},me),"\u540D\u5B66\u751F\u5DF2\u5728\u5176\u4ED6\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",z.createElement("span",{className:ie.orangeColor},ve),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C",z.createElement("span",{className:ie.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u4F5C\u7B54\u5DF2\u6311\u6218\u8FC7\u7684\u5B9E\u8BAD\u9898\u3002"));if(Ne==="exercise"&&y===2)return z.createElement(z.Fragment,null,"\u8BFE\u5802\u5185\u6709",z.createElement("span",{className:ie.orangeColor},me),"\u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",z.createElement("span",{className:ie.orangeColor},ve),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4E14\u4F5C\u4E1A\u5DF2\u5F00\u542F\u201C\u4F5C\u4E1A\u622A\u6B62\u540E\u4E0D\u5141\u8BB8\u5B66\u751F\u7F16\u8F91\u4EE3\u7801\u201D\u8BBE\u7F6E\u9879\uFF0C",z.createElement("span",{className:ie.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(Ne==="shixun"&&y===1)return z.createElement(z.Fragment,null,"\u8BFE\u5802\u5185\u6709",z.createElement("span",{className:ie.orangeColor},me),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u8BE5\u5B9E\u8DF5\u9879\u76EE\uFF0C",z.createElement("span",{className:ie.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(Ne==="shixun"&&y===2)return z.createElement(z.Fragment,null,"\u8BFE\u5802\u5185\u6709",z.createElement("span",{className:ie.orangeColor},me),"\u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u4E2D\u6311\u6218\u8FC7\u8BE5\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4E14\u4F5C\u4E1A\u5DF2\u5F00\u542F\u201C\u4F5C\u4E1A\u622A\u6B62\u540E\u4E0D\u5141\u8BB8\u5B66\u751F\u7F16\u8F91\u4EE3\u7801\u201D\u8BBE\u7F6E\u9879\uFF0C",z.createElement("span",{className:ie.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(Ne==="subject"&&y===1)return z.createElement(z.Fragment,null,"\u8BFE\u5802\u5185\u6709",z.createElement("span",{className:ie.orangeColor},me),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",z.createElement("span",{className:ie.orangeColor},ve),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C",z.createElement("span",{className:ie.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(Ne==="subject"&&y===2)return z.createElement(z.Fragment,null,"\u8BFE\u5802\u5185\u6709 ",z.createElement("span",{className:ie.orangeColor},me)," \u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u6311\u6218\u8FC7\u5176\u4E2D\u7684 ",z.createElement("span",{className:ie.orangeColor},ve)," \u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4E14\u4F5C\u4E1A\u5DF2\u5F00\u542F\u201C\u4F5C\u4E1A\u622A\u6B62\u540E\u4E0D\u5141\u8BB8\u5B66\u751F\u7F16\u8F91\u4EE3\u7801\u201D\u8BBE\u7F6E\u9879\uFF0C",z.createElement("span",{className:ie.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(Ne==="exercisepush")return z.createElement(z.Fragment,null,"\u8BFE\u5802\u5185\u6709",z.createElement("span",{className:ie.orangeColor},me),"\u540D\u5B66\u751F\u5DF2\u5728\u5176\u4ED6\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u8BD5\u5377\u4E2D\u7684",z.createElement("span",{className:ie.orangeColor},ve),"\u4E2A\u5B9E\u8DF5\u9879\u76EE \uFF0C",z.createElement("span",{className:ie.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u5728\u5F53\u524D\u8003\u8BD5\u4E2D\u8FDB\u884C\u4F5C\u7B54\u3002"));if(Ne==="shixunpush"&&y===1)return z.createElement(z.Fragment,null,"\u8BFE\u5802\u5185\u6709",z.createElement("span",{className:ie.orangeColor},me),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",z.createElement("span",{className:ie.orangeColor},ve),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C",z.createElement("span",{className:ie.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(Ne==="shixunpush"&&y===2)return z.createElement(z.Fragment,null,"\u8BFE\u5802\u5185\u6709",z.createElement("span",{className:ie.orangeColor},me),"\u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u4E2D\u6311\u6218\u8FC7",z.createElement("span",{className:ie.orangeColor},ve),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4E14\u4F5C\u4E1A\u5DF2\u5F00\u542F\u201C\u4F5C\u4E1A\u622A\u6B62\u540E\u4E0D\u5141\u8BB8\u5B66\u751F\u7F16\u8F91\u4EE3\u7801\u201D\u8BBE\u7F6E\u9879\uFF0C",z.createElement("span",{className:ie.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"))},Je=()=>{if(Ne==="exercise"||Ne==="subject"||Ne==="exercisepush"||Ne==="shixunpush")return z.createElement("div",{style:{marginTop:20}},te>0&&z.createElement("div",null,z.createElement("span",{className:ie.flex},z.createElement("img",{src:be,style:{width:14}}),z.createElement("span",{className:ie.statustitle},"\u4E0D\u652F\u6301\u590D\u5236\u7684\u5B9E\u8DF5\u9879\u76EE")),z.createElement("div",{className:ie.statusbody},Ne==="exercise"&&z.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",z.createElement("span",{className:ie.redColor},"\u4EE5\u4E0B\u8BD5\u9898\u5C06\u4E0D\u4F1A\u88AB\u53D1\u9001\u81F3\u8BFE\u5802\u4E2D\u3002"),"\u60A8\u4E5F\u53EF\u4EE5\u8054\u7CFB\u9879\u76EE\u521B\u5EFA\u8005\u5F00\u542F\u590D\u5236\u6743\u9650\u6216\u8005\u8054\u7CFB\u5E73\u53F0\u6559\u7814\u52A9\u7406\u8FDB\u884C\u534F\u52A9\u3002"),(Ne==="subject"||Ne==="exercisepush")&&z.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",Fe&&z.createElement("span",{className:ie.redColor},"\u4E00\u952E\u590D\u5236\u4E0D\u4F1A\u590D\u5236\u6B64\u90E8\u5206\u9879\u76EE\u3002"),"\u60A8\u53EF\u4EE5\u8054\u7CFB\u9879\u76EE\u521B\u5EFA\u8005\u5F00\u542F\u590D\u5236\u6743\u9650\u6216\u8005\u8054\u7CFB\u5E73\u53F0\u6559\u7814\u52A9\u7406\u8FDB\u884C\u534F\u52A9\u3002"),Ne==="shixunpush"&&z.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",Fe&&z.createElement("span",{className:ie.redColor},"\u4E00\u952E\u590D\u5236\u4E0D\u4F1A\u590D\u5236\u6B64\u90E8\u5206\u9879\u76EE\u3002"),"\u5EFA\u8BAE\u60A8\u91CD\u65B0\u9009\u62E9\u5B9E\u8DF5\u9879\u76EE\u518D\u53D1\u5E03\u4F5C\u4E1A\uFF0C\u4E5F\u53EF\u8054\u7CFB\u9879\u76EE\u521B\u5EFA\u8005\u5F00\u542F\u590D\u5236\u6743\u9650\u6216\u8054\u7CFB\u5E73\u53F0\u6559\u7814\u52A9\u7406\u8FDB\u884C\u534F\u52A9\u3002"),z.createElement("div",null,ee==null?void 0:ee.map((Ie,Ue)=>z.createElement("a",{href:`/shixuns/${Ie.identifier}/challenges`,target:"_blank"},"\u300A",Ie==null?void 0:Ie.name,"\u300B",Ue+1!==te&&"\u3001"))))),b>0&&z.createElement("div",{style:{marginTop:20}},z.createElement("span",{className:ie.flex},z.createElement("img",{src:Me,style:{width:14}}),z.createElement("span",{className:ie.statustitle},"\u652F\u6301\u590D\u5236\u7684\u5B9E\u8DF5\u9879\u76EE")),z.createElement("div",{className:ie.statusbody},Ne==="exercise"&&z.createElement("div",{style:{marginBottom:15}},"\u5EFA\u8BAE\u60A8\u4E00\u952E\u590D\u5236\u5E76\u66FF\u6362\u8BD5\u9898\uFF08\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\u66FF\u6362\u8BD5\u5377\u4E2D\u7684\u539F\u8BD5\u9898\uFF0C\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\uFF09\u3002"),(Ne==="subject"||Ne==="exercisepush")&&z.createElement("div",{style:{marginBottom:15}},"\u5EFA\u8BAE\u60A8\u4E00\u952E\u590D\u5236\u5E76\u53D1\u9001\uFF08\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\uFF0C\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\uFF09\u3002"),Ne==="shixunpush"&&z.createElement("div",{style:{marginBottom:15}},"\u5EFA\u8BAE\u60A8\u4E00\u952E\u590D\u5236\u5E76\u66FF\u6362\u8BD5\u9898\uFF08\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\u66FF\u6362\u5F53\u524D\u4F5C\u4E1A\u4E2D\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\uFF09\u3002"),z.createElement("div",null,a==null?void 0:a.map((Ie,Ue)=>z.createElement("a",{href:`/shixuns/${Ie.identifier}/challenges`,target:"_blank"},"\u300A",Ie==null?void 0:Ie.name,"\u300B",Ue+1!==b&&"\u3001"))))));if(Ne==="shixun")return z.createElement("div",{style:{marginTop:20}},b>0?"\u8BE5\u9879\u76EE\u652F\u6301\u590D\u5236\uFF0C\u5EFA\u8BAE\u60A8\u4E00\u952E\u590D\u5236\u5E76\u53D1\u9001\uFF08\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\uFF0C\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\uFF09\u3002":"\u8BE5\u9879\u76EE\u4E0D\u652F\u6301\u590D\u5236\uFF0C\u60A8\u53EF\u4EE5\u8054\u7CFB\u9879\u76EE\u521B\u5EFA\u8005\u5F00\u542F\u590D\u5236\u6743\u9650\u6216\u8005\u8054\u7CFB\u5E73\u53F0\u6559\u7814\u52A9\u7406\u8FDB\u884C\u534F\u52A9\u3002")};return z.createElement(Pe.default,{open:oe,onCancel:()=>{E(!1)},cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",width:700,centered:!0,cancelButtonProps:{style:{display:!Fe&&"none"}},zIndex:1003,confirmLoading:Ee,okText:Fe?je:"\u6211\u77E5\u9053\u4E86",onOk:()=>xe(void 0,null,function*(){Fe?yield Le([...a,...ae]):E(!1)})},z.createElement("div",{style:{maxHeight:600,overflow:"auto"}},ge(),Je()))}},97410:function(ft,vt,ne){"use strict";ne.d(vt,{Z:function(){return xe}});var z=ne(59301),ie={btn:"btn___kReTL",redBtn:"redBtn___UFEL0"},Pe=ne(92310),Me=ne.n(Pe),xe=({className:re,style:De,state:Ne,onClick:Ae})=>{var Le,je;return z.createElement("div",{onClick:Ae,className:Me()(Ne?(Le=ie)==null?void 0:Le.redBtn:(je=ie)==null?void 0:je.btn,re),style:De},Ne?z.createElement(z.Fragment,null,z.createElement("i",{className:"iconfont icon-biaoji1"}),z.createElement("span",null,"\u53D6\u6D88\u6807\u8BB0\u9519\u9898")):z.createElement(z.Fragment,null,z.createElement("i",{className:"iconfont icon-biaojigaiti"}),z.createElement("span",null,"\u6807\u8BB0\u9519\u9898")))}},44905:function(ft,vt,ne){"use strict";ne.d(vt,{h:function(){return te}});var z=ne(59301),ie=ne(57809),Pe=ne(78241),Me=ne(3113),be=ne(89780),xe=ne.n(be),re=ne(66543),De=ne(59598),Ne=Object.defineProperty,Ae=Object.defineProperties,Le=Object.getOwnPropertyDescriptors,je=Object.getOwnPropertySymbols,Ee=Object.prototype.hasOwnProperty,oe=Object.prototype.propertyIsEnumerable,E=(ae,ue,de)=>ue in ae?Ne(ae,ue,{enumerable:!0,configurable:!0,writable:!0,value:de}):ae[ue]=de,a=(ae,ue)=>{for(var de in ue||(ue={}))Ee.call(ue,de)&&E(ae,de,ue[de]);if(je)for(var de of je(ue))oe.call(ue,de)&&E(ae,de,ue[de]);return ae},b=(ae,ue)=>Ae(ae,Le(ue));const y=ie.default.Option,x={labelCol:{span:4},wrapperCol:{span:20}},ee={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"]};vt.Z=({callback:ae,onCancel:ue})=>{const[de,me]=(0,z.useState)("python");function Be(Fe){me(ee[Fe][1])}function ve(Fe){ae(Fe)}return z.createElement(Pe.default,b(a({},x),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:ve,style:{width:500}}),z.createElement(Pe.default.Item,{label:"\u4EE3\u7801\u8BED\u8A00",name:"language"},z.createElement(ie.default,{getPopupContainer:Fe=>Fe.parentNode,onChange:Be},Object.keys(ee).map(Fe=>z.createElement(y,{key:Fe,value:Fe},ee[Fe][0])))),z.createElement(Pe.default.Item,{label:"\u4EE3\u7801\u5185\u5BB9",name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EE3\u7801\u5185\u5BB9"}]},z.createElement(te,{mode:de})),z.createElement("div",{className:"flex-container flex-end"},z.createElement(Me.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),z.createElement(Me.ZP,{type:"ghost",onClick:ue},"\u53D6\u6D88")))};function te({value:ae,onChange:ue,mode:de,options:me={}}){const Be=(0,z.useRef)(),[ve,Fe]=(0,z.useState)();return(0,z.useEffect)(()=>{if(ve){let ge=function(Je){const Ie=Je.getValue();ue&&ue(Ie)};return ve.on("change",ge),()=>{ve.off("change",ge)}}},[ve,ue]),(0,z.useEffect)(()=>{ve&&ve.setOption("mode",de)},[ve,de]),(0,z.useEffect)(()=>{ve&&(ae!==ve.getValue()||ae==="")&&setTimeout(()=>{ve.setValue(ae||"")},300)},[ve,ae]),(0,z.useEffect)(()=>{if(Be.current&&!ve){const ge=xe().fromTextArea(Be.current,a({mode:de,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},me));Fe(ge)}},[Be.current,ve]),z.createElement("div",{className:"my-codemirror-container"},z.createElement("textarea",{ref:Be}))}},89389:function(ft,vt,ne){"use strict";ne.d(vt,{Z:function(){return mn}});var z=ne(59301),ie=ne(89780),Pe=ne.n(ie),Me=ne(76374),be=ne(66543),xe=ne(6313),re=ne(25717),De=ne(99498),Ne=ne(25419),Ae=ne(67549),Le=ne(7664),je=({value:qe="",className:nt,showTextOnly:$e,showLines:kt,style:Kt={}})=>{const jt=(0,z.useMemo)(()=>"",[qe]);return z.createElement(z.Fragment,null,z.createElement("div",{dangerouslySetInnerHTML:{__html:jt}}))},Ee=ne(59301),oe=Object.defineProperty,E=Object.defineProperties,a=Object.getOwnPropertyDescriptors,b=Object.getOwnPropertySymbols,y=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable,ee=(qe,nt,$e)=>nt in qe?oe(qe,nt,{enumerable:!0,configurable:!0,writable:!0,value:$e}):qe[nt]=$e,te=(qe,nt)=>{for(var $e in nt||(nt={}))y.call(nt,$e)&&ee(qe,$e,nt[$e]);if(b)for(var $e of b(nt))x.call(nt,$e)&&ee(qe,$e,nt[$e]);return qe},ae=(qe,nt)=>E(qe,a(nt));let ue=[{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 de({onActionCallback:qe,title:nt,icon:$e,actionName:kt,className:Kt="",children:jt}){function Sn(){qe(kt)}return Ee.createElement("a",{title:nt,className:Kt,onClick:Sn},Ee.createElement("i",{className:`${$e}`}),jt)}var me=({watch:qe,showNullButton:nt,showNullProgramButton:$e,onActionCallback:kt,fullScreen:Kt,insertTemp:jt,hidetoolBar:Sn,extraUse:cn})=>{const sn=[...ue,{title:`${qe?"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8":"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"}`,icon:`${qe?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return Ee.createElement("ul",{className:"markdown-toolbar-container"},!Sn&&sn.map((Ln,Ea)=>Ee.createElement("li",{key:Ea},Ln.actionName?Ee.createElement(de,ae(te({},Ln),{onActionCallback:kt})):Ee.createElement("span",{className:"v-line"}))),nt?Ee.createElement("li",null,Ee.createElement(de,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-null-ch",onActionCallback:kt},Ee.createElement("span",{className:"fill-tip"},"\u70B9\u51FB\u63D2\u5165\b\u586B\u7A7A\u9879"))):null,$e?Ee.createElement(Ee.Fragment,null,Ee.createElement("li",null,Ee.createElement(de,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-signal",onActionCallback:kt},Ee.createElement("span",{className:"fill-tip"},"+\u5355\u884C\u586B\u7A7A\u9879"))),Ee.createElement("li",null,Ee.createElement(de,{icon:"md-iconfont icon-uniE900 insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-multiple",onActionCallback:kt},Ee.createElement("span",{className:"fill-tip"},"+\u591A\u884C\u586B\u7A7A\u9879")))):null,jt&&Ee.createElement("li",null,Ee.createElement(de,{icon:"md-iconfont icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:`inster-template-${jt}`,onActionCallback:kt},Ee.createElement("span",{className:"fill-tip"},"\u63D2\u5165\u6A21\u677F"))),cn&&Ee.createElement("li",null,cn),Ee.createElement("li",{className:"btn-full-screen"},Ee.createElement(de,{icon:`${Kt?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:Kt?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:kt})))},Be=ne(75790),ve=ne(78241),Fe=ne(92832),ge=ne(3113),Je=Object.defineProperty,Ie=Object.defineProperties,Ue=Object.getOwnPropertyDescriptors,ze=Object.getOwnPropertySymbols,Ke=Object.prototype.hasOwnProperty,lt=Object.prototype.propertyIsEnumerable,St=(qe,nt,$e)=>nt in qe?Je(qe,nt,{enumerable:!0,configurable:!0,writable:!0,value:$e}):qe[nt]=$e,ot=(qe,nt)=>{for(var $e in nt||(nt={}))Ke.call(nt,$e)&&St(qe,$e,nt[$e]);if(ze)for(var $e of ze(nt))lt.call(nt,$e)&&St(qe,$e,nt[$e]);return qe},Bt=(qe,nt)=>Ie(qe,Ue(nt));const Qe={labelCol:{span:4},wrapperCol:{span:20}};var yt=({callback:qe,onCancel:nt})=>{function $e(kt){qe(kt)}return z.createElement(ve.default,Bt(ot({},Qe),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:$e,style:{width:500}}),z.createElement(ve.default.Item,{label:"\u94FE\u63A5\u5730\u5740",name:"link",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u5730\u5740"}]},z.createElement(Fe.default,null)),z.createElement(ve.default.Item,{label:"\u94FE\u63A5\u6807\u9898",name:"title",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u6807\u9898"}]},z.createElement(Fe.default,null)),z.createElement("div",{className:"flex-container flex-end"},z.createElement(ge.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),z.createElement(ge.ZP,{type:"ghost",onClick:nt},"\u53D6\u6D88")))},Ft=ne(44905),Te=ne(45596),Ge=ne(43418),gt=ne(95237),Zt=ne(6077),mt=ne(59301),Ot=({callback:qe,onCancel:nt})=>{const $e=document.createElement("canvas"),kt=$e.getContext("2d");$e.width=1e3,$e.height=800,kt.fillStyle="#ffffff",kt.fillRect(0,0,$e.width,$e.height);const Kt=$e.toDataURL("image/png");return mt.createElement(Ge.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},mt.createElement(gt.Z,{style:{height:"100vh"}},mt.createElement(Zt.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:Kt,visible:!0,title:String(Date.now())},onOk:jt=>{qe({src:jt.url})},onClose:nt})))},Se=ne(12378);function Ct(){go.CommandHandler.call(this),this._arrowKeyBehavior="move",this._pasteOffset=new go.Point(10,10),this._lastPasteOffset=new go.Point(0,0)}go.Diagram.inherit(Ct,go.CommandHandler),Ct.prototype.canAlignSelection=function(){var qe=this.diagram;return!(qe===null||qe.isReadOnly||qe.isModelReadOnly||qe.selection.count<2)},Ct.prototype.alignLeft=function(){var qe=this.diagram;qe.startTransaction("aligning left");var nt=1/0;qe.selection.each(function($e){$e instanceof go.Link||(nt=Math.min($e.position.x,nt))}),qe.selection.each(function($e){$e instanceof go.Link||$e.move(new go.Point(nt,$e.position.y))}),qe.commitTransaction("aligning left")},Ct.prototype.alignRight=function(){var qe=this.diagram;qe.startTransaction("aligning right");var nt=-1/0;qe.selection.each(function($e){if(!($e instanceof go.Link)){var kt=$e.actualBounds.x+$e.actualBounds.width;nt=Math.max(kt,nt)}}),qe.selection.each(function($e){$e instanceof go.Link||$e.move(new go.Point(nt-$e.actualBounds.width,$e.position.y))}),qe.commitTransaction("aligning right")},Ct.prototype.alignTop=function(){var qe=this.diagram;qe.startTransaction("alignTop");var nt=1/0;qe.selection.each(function($e){$e instanceof go.Link||(nt=Math.min($e.position.y,nt))}),qe.selection.each(function($e){$e instanceof go.Link||$e.move(new go.Point($e.position.x,nt))}),qe.commitTransaction("alignTop")},Ct.prototype.alignBottom=function(){var qe=this.diagram;qe.startTransaction("aligning bottom");var nt=-1/0;qe.selection.each(function($e){if(!($e instanceof go.Link)){var kt=$e.actualBounds.y+$e.actualBounds.height;nt=Math.max(kt,nt)}}),qe.selection.each(function($e){$e instanceof go.Link||$e.move(new go.Point($e.actualBounds.x,nt-$e.actualBounds.height))}),qe.commitTransaction("aligning bottom")},Ct.prototype.alignCenterX=function(){var qe=this.diagram,nt=qe.selection.first();if(nt){qe.startTransaction("aligning Center X");var $e=nt.actualBounds.x+nt.actualBounds.width/2;qe.selection.each(function(kt){kt instanceof go.Link||kt.move(new go.Point($e-kt.actualBounds.width/2,kt.actualBounds.y))}),qe.commitTransaction("aligning Center X")}},Ct.prototype.alignCenterY=function(){var qe=this.diagram,nt=qe.selection.first();if(nt){qe.startTransaction("aligning Center Y");var $e=nt.actualBounds.y+nt.actualBounds.height/2;qe.selection.each(function(kt){kt instanceof go.Link||kt.move(new go.Point(kt.actualBounds.x,$e-kt.actualBounds.height/2))}),qe.commitTransaction("aligning Center Y")}},Ct.prototype.alignColumn=function(qe){var nt=this.diagram;nt.startTransaction("align Column"),qe===void 0&&(qe=0),qe=parseFloat(qe);var $e=new Array;nt.selection.each(function(cn){cn instanceof go.Link||$e.push(cn)});for(var kt=0;kt<$e.length-1;kt++){var Kt=$e[kt],jt=Kt.actualBounds.y+Kt.actualBounds.height+qe,Sn=$e[kt+1];Sn.move(new go.Point(Kt.actualBounds.x,jt))}nt.commitTransaction("align Column")},Ct.prototype.alignRow=function(qe){qe===void 0&&(qe=0),qe=parseFloat(qe);var nt=this.diagram;nt.startTransaction("align Row");var $e=new Array;nt.selection.each(function(cn){cn instanceof go.Link||$e.push(cn)});for(var kt=0;kt<$e.length-1;kt++){var Kt=$e[kt],jt=Kt.actualBounds.x+Kt.actualBounds.width+qe,Sn=$e[kt+1];Sn.move(new go.Point(jt,Kt.actualBounds.y))}nt.commitTransaction("align Row")},Ct.prototype.canRotate=function(qe){var nt=this.diagram;return!(nt===null||nt.isReadOnly||nt.isModelReadOnly||nt.selection.count<1)},Ct.prototype.rotate=function(qe){qe===void 0&&(qe=90);var nt=this.diagram;nt.startTransaction("rotate "+qe.toString());var nt=this.diagram;nt.selection.each(function($e){$e instanceof go.Link||$e instanceof go.Group||($e.angle+=qe)}),nt.commitTransaction("rotate "+qe.toString())},Ct.prototype.pullToFront=function(){var qe=this.diagram;qe.startTransaction("pullToFront");var nt=new go.Map;qe.selection.each(function($e){nt.set($e.layer,0)}),nt.iteratorKeys.each(function($e){var kt=0;$e.parts.each(function(Kt){if(!Kt.isSelected){var jt=Kt.zOrder;isNaN(jt)?Kt.zOrder=0:kt=Math.max(kt,jt)}}),nt.set($e,kt)}),qe.selection.each(function($e){Ct._assignZOrder($e,nt.get($e.layer)+1)}),qe.commitTransaction("pullToFront")},Ct.prototype.pushToBack=function(){var qe=this.diagram;qe.startTransaction("pushToBack");var nt=new go.Map;qe.selection.each(function($e){nt.set($e.layer,0)}),nt.iteratorKeys.each(function($e){var kt=0;$e.parts.each(function(Kt){if(!Kt.isSelected){var jt=Kt.zOrder;isNaN(jt)?Kt.zOrder=0:kt=Math.min(kt,jt)}}),nt.set($e,kt)}),qe.selection.each(function($e){Ct._assignZOrder($e,nt.get($e.layer)-1-Ct._findGroupDepth($e))}),qe.commitTransaction("pushToBack")},Ct._assignZOrder=function(qe,nt,$e){$e===void 0&&($e=qe),qe.layer===$e.layer&&(qe.zOrder=nt),qe instanceof go.Group&&qe.memberParts.each(function(kt){Ct._assignZOrder(kt,nt+1,$e)})},Ct._findGroupDepth=function(qe){if(qe instanceof go.Group){var nt=0;return qe.memberParts.each(function($e){nt=Math.max(nt,Ct._findGroupDepth($e))}),nt+1}else return 0},Ct.prototype.doKeyDown=function(){var qe=this.diagram;if(qe!==null){var nt=qe.lastInput;if(nt.key==="Up"||nt.key==="Down"||nt.key==="Left"||nt.key==="Right"){var $e=this.arrowKeyBehavior;if($e==="none")return;if($e==="select"){this._arrowKeySelect();return}else if($e==="move"){this._arrowKeyMove();return}else if($e==="tree"){this._arrowKeyTree();return}}go.CommandHandler.prototype.doKeyDown.call(this)}},Ct.prototype._getAllParts=function(){var qe=new Array;return this.diagram.nodes.each(function(nt){qe.push(nt)}),this.diagram.parts.each(function(nt){qe.push(nt)}),qe},Ct.prototype._arrowKeyMove=function(){var qe=this.diagram,nt=qe.lastInput,$e=0,kt=0;if(nt.control||nt.meta)$e=1,kt=1;else if(qe.grid!==null){var Kt=qe.grid.gridCellSize;kt=Kt.width,$e=Kt.height}qe.startTransaction("arrowKeyMove"),qe.selection.each(function(jt){nt.key==="Up"?jt.move(new go.Point(jt.actualBounds.x,jt.actualBounds.y-$e)):nt.key==="Down"?jt.move(new go.Point(jt.actualBounds.x,jt.actualBounds.y+$e)):nt.key==="Left"?jt.move(new go.Point(jt.actualBounds.x-kt,jt.actualBounds.y)):nt.key==="Right"&&jt.move(new go.Point(jt.actualBounds.x+kt,jt.actualBounds.y))}),qe.commitTransaction("arrowKeyMove")},Ct.prototype._arrowKeySelect=function(){var qe=this.diagram,nt=qe.lastInput,$e=null;nt.key==="Up"?$e=this._findNearestPartTowards(270):nt.key==="Down"?$e=this._findNearestPartTowards(90):nt.key==="Left"?$e=this._findNearestPartTowards(180):nt.key==="Right"&&($e=this._findNearestPartTowards(0)),$e!==null&&(nt.shift?$e.isSelected=!0:nt.control||nt.meta?$e.isSelected=!$e.isSelected:qe.select($e))},Ct.prototype._findNearestPartTowards=function(qe){var nt=this.diagram.selection.first();if(nt===null)return null;for(var $e=nt.actualBounds.center,kt=this._getAllParts(),Kt=1/0,jt=nt,Sn=0;Sn<kt.length;Sn++){var cn=kt[Sn];if(cn!==nt&&cn.canSelect()){var sn=cn.actualBounds.center,Ln=$e.directionPoint(sn),Ea=this._angleCloseness(Ln,qe);if(Ea<=45){var Qt=$e.distanceSquaredPoint(sn);Qt*=1+Math.sin(Ea*Math.PI/180),Qt<Kt&&(Kt=Qt,jt=cn)}}}return jt},Ct.prototype._angleCloseness=function(qe,nt){return Math.min(Math.abs(nt-qe),Math.min(Math.abs(nt+360-qe),Math.abs(nt-360-qe)))},Ct.prototype._arrowKeyTree=function(){var qe=this.diagram,nt=qe.selection.first();if(nt instanceof go.Node){var $e=qe.lastInput;if($e.key==="Right"){if(!nt.isTreeLeaf)if(!nt.isTreeExpanded)qe.commandHandler.canExpandTree(nt)&&qe.commandHandler.expandTree(nt);else{var kt=this._sortTreeChildrenByY(nt).first();kt!==null&&qe.select(kt)}}else if($e.key==="Left")if(!nt.isTreeLeaf&&nt.isTreeExpanded)qe.commandHandler.canCollapseTree(nt)&&qe.commandHandler.collapseTree(nt);else{var Kt=nt.findTreeParentNode();Kt!==null&&qe.select(Kt)}else if($e.key==="Up"){var Kt=nt.findTreeParentNode();if(Kt!==null){var jt=this._sortTreeChildrenByY(Kt),Sn=jt.indexOf(nt);if(Sn>0){for(var cn=jt.elt(Sn-1);cn!==null&&cn.isTreeExpanded&&!cn.isTreeLeaf;){var sn=this._sortTreeChildrenByY(cn);cn=sn.last()}cn!==null&&qe.select(cn)}else qe.select(Kt)}}else if($e.key==="Down")if(nt.isTreeExpanded&&!nt.isTreeLeaf){var kt=this._sortTreeChildrenByY(nt).first();kt!==null&&qe.select(kt)}else for(;nt!==null;){var Kt=nt.findTreeParentNode();if(Kt===null)break;var jt=this._sortTreeChildrenByY(Kt),Sn=jt.indexOf(nt);if(Sn<jt.length-1){qe.select(jt.elt(Sn+1));break}else nt=Kt}var Ln=qe.selection.first();Ln!==null&&qe.scrollToRect(Ln.actualBounds)}},Ct.prototype._sortTreeChildrenByY=function(qe){var nt=new go.List().addAll(qe.findTreeChildrenNodes());return nt.sort(function($e,kt){var Kt=$e.location,jt=kt.location;return Kt.y<jt.y?-1:Kt.y>jt.y?1:Kt.x<jt.x?-1:Kt.x>jt.x?1:0}),nt},Ct.prototype.copyToClipboard=function(qe){go.CommandHandler.prototype.copyToClipboard.call(this,qe),this._lastPasteOffset.set(this.pasteOffset)},Ct.prototype.pasteFromClipboard=function(){var qe=go.CommandHandler.prototype.pasteFromClipboard.call(this);return this.diagram.moveParts(qe,this._lastPasteOffset),this._lastPasteOffset.add(this.pasteOffset),qe},Object.defineProperty(Ct.prototype,"arrowKeyBehavior",{get:function(){return this._arrowKeyBehavior},set:function(qe){if(qe!=="move"&&qe!=="select"&&qe!=="scroll"&&qe!=="tree"&&qe!=="none")throw new Error('DrawCommandHandler.arrowKeyBehavior must be either "move", "select", "scroll", "tree", or "none", not: '+qe);this._arrowKeyBehavior=qe}}),Object.defineProperty(Ct.prototype,"pasteOffset",{get:function(){return this._pasteOffset},set:function(qe){if(!(qe instanceof go.Point))throw new Error("DrawCommandHandler.pasteOffset must be a Point, not: "+qe);this._pasteOffset.set(qe)}});var Jt=Ct,Pt=ne(20397),ut=ne(43604),We=ne(82093),Re={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re"},he=ne(59301),ce=(qe,nt,$e)=>new Promise((kt,Kt)=>{var jt=sn=>{try{cn($e.next(sn))}catch(Ln){Kt(Ln)}},Sn=sn=>{try{cn($e.throw(sn))}catch(Ln){Kt(Ln)}},cn=sn=>sn.done?kt(sn.value):Promise.resolve(sn.value).then(jt,Sn);cn(($e=$e.apply(qe,nt)).next())});function _e({onCancel:qe,callback:nt}){let $e=(0,z.useRef)(),kt=(0,z.useRef)(),Kt=(0,z.useRef)(),jt=(0,z.useRef)(!1);const Sn=(0,z.useRef)(!1),[cn,sn]=(0,z.useState)(0);function Ln(){const Qt=Se.bx.make,Kn={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"};$e.current=new Se.S0(kt.current,{padding:20,grid:Qt(Se.s_,"Grid",Qt(Se.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),Qt(Se.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),"draggingTool.isGridSnapEnabled":!0,handlesDragDropForTopLevelParts:!0,mouseDrop:an=>{var gn=an.diagram.commandHandler.addTopLevelParts(an.diagram.selection,!0);gn||an.diagram.currentTool.doCancel()},commandHandler:Qt(Jt),"clickCreatingTool.archetypeNodeData":{text:"\u672A\u547D\u540D",fill:null,stroke:null,borderColor:"rgba(0,0,0,0)"},PartCreated:an=>{var gn=an.subject;gn.location=gn.location.copy().snapToGridPoint(an.diagram.grid.gridOrigin,an.diagram.grid.gridCellSize),setTimeout(()=>{an.diagram.commandHandler.editTextBlock()},20)},"commandHandler.archetypeGroupData":{isGroup:!0,text:"NEW GROUP"},SelectionGrouped:an=>{var gn=an.subject;setTimeout(()=>{an.diagram.commandHandler.editTextBlock()})},LinkRelinked:an=>{var gn=an.parameter.part;gn.invalidateConnectedLinks();var On=an.subject;an.diagram.toolManager.linkingTool.isForwards?On.toNode.invalidateConnectedLinks():On.fromNode.invalidateConnectedLinks()},"undoManager.isEnabled":!0}),$e.current.nodeTemplate=Qt(Se.NB,"Auto",{locationSpot:Se.z6.Center,locationObjectName:"SHAPE",desiredSize:new Se.$u(120,60),minSize:new Se.$u(40,40),resizable:!0,resizeCellSize:new Se.$u(10,10),rotatable:!0},new Se.KX("location","loc",Se.E9.parse).makeTwoWay(Se.E9.stringify),new Se.KX("desiredSize","size",Se.$u.parse).makeTwoWay(Se.$u.stringify),Qt(Se.bn,{name:"SHAPE",fill:Kn.white,cursor:"pointer",portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:Se.z6.AllSides,toSpot:Se.z6.AllSides},new Se.KX("figure"),new Se.KX("fill"),new Se.KX("stroke","borderColor"),new Se.KX("strokeWidth","thickness"),new Se.KX("strokeDashArray","dash")),Qt(Se.bn,{width:100,height:20,strokeWidth:0,fill:"transparent"}),Qt(Se.al,{margin:1,textAlign:"center",overflow:Se.al.OverflowEllipsis,editable:!0},new Se.KX("text").makeTwoWay(),new Se.KX("stroke","color"))),$e.current.nodeTemplate.toolTip=Qt("ToolTip",Qt(Se.s_,"Vertical",{maxSize:new Se.$u(200,NaN)},Qt(Se.al,{font:"bold 10pt sans-serif",textAlign:"center"},new Se.KX("text")),Qt(Se.al,{font:"10pt sans-serif",textAlign:"center"},new Se.KX("text","details"))));function ua(an,gn){var On=(fn,ia)=>{fn.handled=!0,fn.diagram.model.commit(ka=>{var wa=ia.part.adornedPart,Fa=new Se.E9().setRectSpot(wa.actualBounds,an);Fa.subtract(wa.location),Fa.scale(2,2),Fa.x+=Math.sign(Fa.x)*130,Fa.y+=Math.sign(Fa.y)*130,Fa.add(wa.location),Fa.snapToGridPoint(fn.diagram.grid.gridOrigin,fn.diagram.grid.gridCellSize);var qa=ka.copyNodeData(wa.data);ka.setGroupKeyForNodeData(qa,ka.getGroupKeyForNodeData(wa.data)),ka.addNodeData(qa);var ro={from:wa.key,to:ka.getKeyForNodeData(qa)};ka.addLinkData(ro);var Go=fn.diagram.findNodeForData(qa);Go.location=Fa,fn.diagram.select(Go),setTimeout(()=>{fn.diagram.commandHandler.editTextBlock()},20)})};return Qt(Se.bn,{figure:gn,alignment:an,alignmentFocus:an.opposite(),width:an.equals(Se.z6.Top)||an.equals(Se.z6.Bottom)?25:18,height:an.equals(Se.z6.Top)||an.equals(Se.z6.Bottom)?18:25,fill:"orange",stroke:Kn.white,strokeWidth:4,mouseEnter:(fn,ia)=>ia.fill="dodgerblue",mouseLeave:(fn,ia)=>ia.fill="orange",isActionable:!0,click:On,contextClick:On})}function Pa(an){return Qt(Se.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:(gn,On)=>On.fill="dodgerblue",mouseLeave:(gn,On)=>On.fill="orange",click:(gn,On)=>{gn.diagram.commandHandler.showContextMenu(On.part.adornedPart)}},an||{})}$e.current.nodeTemplate.selectionAdornmentTemplate=Qt(Se.uz,"Spot",Qt(Se.Vm,{padding:10}),ua(Se.z6.Top,"TriangleUp"),ua(Se.z6.Left,"TriangleLeft"),ua(Se.z6.Right,"TriangleRight"),ua(Se.z6.Bottom,"TriangleDown"),Pa({alignment:new Se.z6(.75,0)}));function pn(an,gn){return(On,fn)=>{On.handled=!0,On.diagram.model.commit(ia=>{ia.set(fn.part.adornedPart.data,an,gn)})}}function ea(an,gn){return gn||(gn="color"),Qt(Se.bn,{width:16,height:16,stroke:"lightgray",fill:an,margin:1,background:"transparent",mouseEnter:(On,fn)=>fn.stroke="dodgerblue",mouseLeave:(On,fn)=>fn.stroke="lightgray",click:pn(gn,an),contextClick:pn(gn,an)})}function Ha(){return[Qt("ContextMenuButton",Qt(Se.s_,"Horizontal",ea(Kn.white,"fill"),ea(Kn.beige,"fill"),ea(Kn.extralightblue,"fill"),ea(Kn.extralightred,"fill"))),Qt("ContextMenuButton",Qt(Se.s_,"Horizontal",ea(Kn.lightgray,"fill"),ea(Kn.lightgreen,"fill"),ea(Kn.lightblue,"fill"),ea(Kn.lightred,"fill")))]}function ta(){return[Qt("ContextMenuButton",Qt(Se.s_,"Horizontal",ea(Kn.black),ea(Kn.green),ea(Kn.blue),ea(Kn.red))),Qt("ContextMenuButton",Qt(Se.s_,"Horizontal",ea(Kn.white),ea(Kn.magenta),ea(Kn.purple),ea(Kn.orange)))]}function ja(an,gn){return gn||(gn="thickness"),Qt(Se.bn,"LineH",{width:16,height:16,strokeWidth:an,margin:1,background:"transparent",mouseEnter:(On,fn)=>fn.background="dodgerblue",mouseLeave:(On,fn)=>fn.background="transparent",click:pn(gn,an),contextClick:pn(gn,an)})}function Ga(an,gn){return gn||(gn="dash"),Qt(Se.bn,"LineH",{width:24,height:16,strokeWidth:2,strokeDashArray:an,margin:1,background:"transparent",mouseEnter:(On,fn)=>fn.background="dodgerblue",mouseLeave:(On,fn)=>fn.background="transparent",click:pn(gn,an),contextClick:pn(gn,an)})}function Ua(){return[Qt("ContextMenuButton",Qt(Se.s_,"Horizontal",ja(1),ja(2),ja(3),ja(4))),Qt("ContextMenuButton",Qt(Se.s_,"Horizontal",Ga(null),Ga([2,4]),Ga([4,4])))]}function Lt(an,gn){return gn||(gn="figure"),Qt(Se.bn,{width:32,height:32,scale:.5,fill:"lightgray",figure:an,margin:1,background:"transparent",mouseEnter:(On,fn)=>fn.fill="dodgerblue",mouseLeave:(On,fn)=>fn.fill="lightgray",click:pn(gn,an),contextClick:pn(gn,an)})}$e.current.nodeTemplate.contextMenu=Qt("ContextMenu",Qt("ContextMenuButton",Qt(Se.s_,"Horizontal",Lt("Rectangle"),Lt("RoundedRectangle"),Lt("Ellipse"),Lt("Diamond"))),Qt("ContextMenuButton",Qt(Se.s_,"Horizontal",Lt("Parallelogram2"),Lt("ManualOperation"),Lt("Procedure"),Lt("Cylinder1"))),Qt("ContextMenuButton",Qt(Se.s_,"Horizontal",Lt("Terminator"),Lt("CreateRequest"),Lt("Document"),Lt("TriangleDown"))),Ha(),ta(),Ua()),$e.current.groupTemplate=Qt(Se.ZA,"Spot",{layerName:"Background",ungroupable:!0,locationSpot:Se.z6.Center,selectionObjectName:"BODY",computesBoundsAfterDrag:!0,handlesDragDropForMembers:!0,mouseDrop:(an,gn)=>{var On=gn.addMembers(gn.diagram.selection,!0);On||gn.diagram.currentTool.doCancel()},avoidable:!1},new Se.KX("location","loc",Se.E9.parse).makeTwoWay(Se.E9.stringify),Qt(Se.s_,"Auto",{name:"BODY"},Qt(Se.bn,{parameter1:10,fill:Kn.white,strokeWidth:2,cursor:"pointer",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:Se.z6.AllSides,toSpot:Se.z6.AllSides},new Se.KX("fill"),new Se.KX("stroke","color"),new Se.KX("strokeWidth","thickness"),new Se.KX("strokeDashArray","dash")),Qt(Se.Vm,{background:"transparent",margin:20})),Qt(Se.al,{alignment:Se.z6.Top,alignmentFocus:Se.z6.Bottom,font:"bold 12pt sans-serif",editable:!0},new Se.KX("text"),new Se.KX("stroke","color"))),$e.current.groupTemplate.selectionAdornmentTemplate=Qt(Se.uz,"Spot",Qt(Se.s_,"Auto",Qt(Se.bn,{fill:null,stroke:"dodgerblue",strokeWidth:3}),Qt(Se.Vm,{margin:1.5})),Pa({alignment:Se.z6.TopRight,alignmentFocus:Se.z6.BottomRight})),$e.current.groupTemplate.contextMenu=Qt("ContextMenu",Ha(),ta(),Ua()),$e.current.linkTemplate=Qt(Se.rU,{layerName:"Foreground",routing:Se.rU.AvoidsNodes,corner:10,fromShortLength:10,toShortLength:15,relinkableFrom:!0,relinkableTo:!0,reshapable:!0,resegmentable:!0},new Se.KX("fromSpot","fromSpot",Se.z6.parse),new Se.KX("toSpot","toSpot",Se.z6.parse),new Se.KX("fromShortLength","dir",an=>an>=1?10:0),new Se.KX("toShortLength","dir",an=>an>=1?10:0),new Se.KX("points").makeTwoWay(),Qt(Se.bn,{strokeWidth:2},new Se.KX("stroke","color"),new Se.KX("strokeWidth","thickness"),new Se.KX("strokeDashArray","dash")),Qt(Se.bn,{segmentIndex:0,segmentOffset:new Se.E9(15,0),segmentOrientation:Se.rU.OrientAlong,alignmentFocus:Se.z6.Right,figure:"circle",width:10,strokeWidth:0},new Se.KX("fill","color"),new Se.KX("visible","dir",an=>an===1)),Qt(Se.bn,{segmentIndex:-1,segmentOffset:new Se.E9(-10,6),segmentOrientation:Se.rU.OrientPlus90,alignmentFocus:Se.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new Se.KX("fill","color"),new Se.KX("visible","dir",an=>an>=1),new Se.KX("width","thickness",an=>7+3*an),new Se.KX("height","thickness",an=>7+3*an),new Se.KX("segmentOffset","thickness",an=>new Se.E9(-15,4+1.5*an))),Qt(Se.bn,{segmentIndex:0,segmentOffset:new Se.E9(15,-6),segmentOrientation:Se.rU.OrientMinus90,alignmentFocus:Se.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new Se.KX("fill","color"),new Se.KX("visible","dir",an=>an===2),new Se.KX("width","thickness",an=>7+3*an),new Se.KX("height","thickness",an=>7+3*an),new Se.KX("segmentOffset","thickness",an=>new Se.E9(-15,4+1.5*an))),Qt(Se.al,{alignmentFocus:new Se.z6(0,1,-4,0),editable:!0},new Se.KX("text").makeTwoWay(),new Se.KX("stroke","color"))),$e.current.linkTemplate.selectionAdornmentTemplate=Qt(Se.uz,Qt(Se.bn,{isPanelMain:!0,stroke:"transparent",strokeWidth:6,pathPattern:_t(2)},new Se.KX("pathPattern","thickness",_t)),Pa({alignmentFocus:new Se.z6(0,0,-6,-4)}));function _t(an){return Qt(Se.bn,{stroke:"dodgerblue",strokeWidth:2,strokeCap:"square",geometryString:"M0 0 M4 2 H3 M4 "+(an+4).toString()+" H3"})}function Wt(an){var gn="M0 0 M8 16 M0 8 L16 8 M12 11 L16 8 L12 5";return an===0?gn="M0 0 M16 16 M0 8 L16 8":an===2&&(gn="M0 0 M16 16 M0 8 L16 8 M12 11 L16 8 L12 5 M4 11 L0 8 L4 5"),Qt(Se.bn,{geometryString:gn,margin:2,background:"transparent",mouseEnter:(On,fn)=>fn.background="dodgerblue",mouseLeave:(On,fn)=>fn.background="transparent",click:pn("dir",an),contextClick:pn("dir",an)})}function Fn(an){var gn=(On,fn)=>{On.handled=!0,On.diagram.model.commit(ia=>{var ka=fn.part.adornedPart;ia.set(ka.data,an?"toSpot":"fromSpot",Se.z6.stringify(Se.z6.AllSides)),(an?ka.toNode:ka.fromNode).invalidateConnectedLinks()})};return Qt(Se.bn,{width:12,height:12,fill:"transparent",mouseEnter:(On,fn)=>fn.background="dodgerblue",mouseLeave:(On,fn)=>fn.background="transparent",click:gn,contextClick:gn})}function It(an,gn){var On=0,fn=Se.z6.RightSide;an.equals(Se.z6.Top)?(On=270,fn=Se.z6.TopSide):an.equals(Se.z6.Left)?(On=180,fn=Se.z6.LeftSide):an.equals(Se.z6.Bottom)&&(On=90,fn=Se.z6.BottomSide),gn||(On-=180);var ia=(ka,wa)=>{ka.handled=!0,ka.diagram.model.commit(Fa=>{var qa=wa.part.adornedPart;Fa.set(qa.data,gn?"toSpot":"fromSpot",Se.z6.stringify(fn)),(gn?qa.toNode:qa.fromNode).invalidateConnectedLinks()})};return Qt(Se.bn,{alignment:an,alignmentFocus:an.opposite(),geometryString:"M0 0 M12 12 M12 6 L1 6 L4 4 M1 6 L4 8",angle:On,background:"transparent",mouseEnter:(ka,wa)=>wa.background="dodgerblue",mouseLeave:(ka,wa)=>wa.background="transparent",click:ia,contextClick:ia})}$e.current.linkTemplate.contextMenu=Qt("ContextMenu",ta(),Ua(),Qt("ContextMenuButton",Qt(Se.s_,"Horizontal",Wt(0),Wt(1),Wt(2))),Qt("ContextMenuButton",Qt(Se.s_,"Horizontal",Qt(Se.s_,"Spot",Fn(!1),It(Se.z6.Top,!1),It(Se.z6.Left,!1),It(Se.z6.Right,!1),It(Se.z6.Bottom,!1)),Qt(Se.s_,"Spot",{margin:new Se.Zt(0,0,0,2)},Fn(!0),It(Se.z6.Top,!0),It(Se.z6.Left,!0),It(Se.z6.Right,!0),It(Se.z6.Bottom,!0)))));const ba=`{ "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 Zn=["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 pa(an){return console.log("shapeName:",an),Zn.indexOf(an)>=0}var An=new Se.YI(Kt.current,{maxSelectionCount:1,linkTemplate:Qt(Se.rU,{locationSpot:Se.z6.Center,selectionAdornmentTemplate:Qt(Se.uz,"Link",{locationSpot:Se.z6.Center},Qt(Se.bn,{isPanelMain:!0,fill:null,stroke:"deepskyblue",strokeWidth:0}),Qt(Se.bn,{toArrow:"Standard",stroke:null}))},{routing:Se.rU.AvoidsNodes,curve:Se.rU.JumpOver,corner:5,toShortLength:4},new Se.KX("points"),Qt(Se.bn,{isPanelMain:!0,strokeWidth:2}),Qt(Se.bn,{toArrow:"Standard",stroke:null})),model:new Se.FJ([{text:"\u672A\u547D\u540D",size:"100 100",fill:null,stroke:"#000"},...Se.bn.getFigureGenerators().toArray().map(an=>({text:"\u672A\u547D\u540D",size:"100 100",figure:an.key,fill:"white",stroke:"#666",borderColor:"#000"}))])});return $e.current.addDiagramListener("TextEdited",function(an){var gn;const On=an.subject.part;var fn=(gn=document.activeElement)==null?void 0:gn.value;typeof fn=="string"&&fn.trim()===""&&$e.current.model.commit(function(ia){ia.set(On.data,"text","\u672A\u547D\u540D"),$e.current.commandHandler.stopCommand()},"increment")}),An.nodeTemplate=Qt(Se.NB,"Auto",{locationSpot:Se.z6.Center},new Se.KX("location","location",Se.E9.parse).makeTwoWay(Se.E9.stringify),Qt(Se.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 Se.KX("stroke").makeTwoWay(),new Se.KX("fill").makeTwoWay(),new Se.KX("figure")),Qt(Se.al,{margin:new Se.Zt(5,5,3,5),font:"10pt sans-serif",minSize:new Se.$u(16,16),maxSize:new Se.$u(10,NaN),textAlign:"center",editable:!0},new Se.KX("key").makeTwoWay())),setTimeout(()=>{$e.current.grid=Qt(Se.s_,"Grid",Qt(Se.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),Qt(Se.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),$e.current.grid.visible=!0,$e.current.grid.gridCellStroke="darkgray",$e.current.grid.gridCellStrokeWidth=1},300),window.myDiagrams=$e.current,$e.current}const Ea=()=>ce(this,null,function*(){var Qt=$e.current.makeImage();const Kn=yield(0,We.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Date.now(),file:Qt.src}});nt({src:Kn.url})});return(0,z.useEffect)(()=>(setTimeout(()=>{Ln()},500),sn(cn+1),()=>{$e.current=null}),[]),he.createElement("div",{ref:Sn,className:jt.current?`${Re.maxH60} body-overflow-initial`:"body-overflow-initial"},he.createElement(Ge.default,{width:1200,icon:null,footer:null,closable:!0,visible:!!cn,destroyOnClose:!0,maskClosable:!1,rootClassName:"zIndex-9999",title:he.createElement(gt.Z,null,he.createElement(ut.Z,{flex:1},"\u63D2\u5165\u6D41\u7A0B\u56FE"),he.createElement(ut.Z,{onClick:()=>{var Qt,Kn,ua=$e.current.selection.first();if(jt.current=!jt.current,document.activeElement&&ua){let Pa=(Kn=(Qt=document.activeElement)==null?void 0:Qt.value)==null?void 0:Kn.trim();typeof Pa=="string"&&$e.current.model.commit(function(pn){pn.set(ua.data,"text",Pa||"\u672A\u547D\u540D"),$e.current.commandHandler.stopCommand()},"increment")}sn(cn+1)}},he.createElement("span",{className:"current c-blue mr30",style:{fontWeight:400}},"\u5C55\u5F00/\u6536\u8D77"))),onCancel:qe},he.createElement("div",{style:{width:"100%",height:"80vh",overflow:"hidden",position:"relative"},className:Re.flowChartWrp},he.createElement("div",{style:{display:"flex",height:"100%"}},he.createElement("div",{style:{width:"300px",height:"100%"}},he.createElement("div",{style:{background:"#fff",position:"relative",zIndex:12,fontSize:16,color:"#3061d0"}},"\u56FE\u5F62\u5E93"),he.createElement("div",{style:{height:"calc(100% - 50px)"},className:Re.myPaletteDiv,ref:Kt})),he.createElement("div",{style:{flex:1,position:"relative"}},he.createElement("div",{ref:kt,style:{height:"80vh"}}))),he.createElement("div",{className:"tr"},he.createElement(ge.ZP,{size:"large",onClick:Ea,style:{position:"absolute",right:0,bottom:0,zIndex:8},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))))}var it=_e,pe=ne(5112),fe=ne(5871);const Xe=pe.ZP.Group,ke={margin:"0 8px"};var Ce=({callback:qe,onCancel:nt})=>{function $e(kt){qe(kt)}return z.createElement(ve.default,{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:$e},z.createElement("div",{className:"flex-container",style:{alignItems:"baseline"}},z.createElement("span",{style:ke},"\u5355\u5143\u683C\u6570\uFF1A"),z.createElement("span",{style:ke},"\u884C\u6570"),z.createElement(ve.default.Item,{name:"row",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u884C\u6570"}]},z.createElement(fe.Z,null)),z.createElement("span",{style:ke},"\u5217\u6570"),z.createElement(ve.default.Item,{name:"col",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5217\u6570"}]},z.createElement(fe.Z,null))),z.createElement("div",{className:"flex-container",style:{marginTop:12,alignItems:"baseline"}},z.createElement("span",{style:ke},"\u5BF9\u9F50\u65B9\u5F0F\uFF1A"),z.createElement(ve.default.Item,{name:"align"},z.createElement(Xe,null,z.createElement(pe.ZP,{value:"default"},z.createElement("i",{className:"fa fa-align-justify"})),z.createElement(pe.ZP,{value:"left"},z.createElement("i",{className:"fa fa-align-left"})),z.createElement(pe.ZP,{value:"center"},z.createElement("i",{className:"fa fa-align-center"})),z.createElement(pe.ZP,{value:"right"},z.createElement("i",{className:"fa fa-align-right"}))))),z.createElement("div",{className:"flex-container flex-end"},z.createElement(ge.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),z.createElement(ge.ZP,{type:"ghost",onClick:nt},"\u53D6\u6D88")))},tt=ne(49770),Rt=ne(11081),dt=ne.n(Rt),At=(0,z.forwardRef)(({use3d:qe,width:nt,height:$e,callback:kt,showSaveButton:Kt},jt)=>{const Sn=(0,z.useRef)(),cn=(0,z.useRef)(),[sn,Ln]=(0,z.useState)(!1),Ea=(0,z.useRef)({id:Sn,appName:"graphing",width:nt||1e3,height:$e||600,showToolBar:!0,showMenuBar:!0,allowStyleBar:!0,showAlgebraInput:!0,enableLabelDrags:!1,enableShiftDragZoom:!0,showToolBarHelp:!1,errorDialogsActive:!0,showTutorialLink:!0,showLogging:!0,useBrowserForJS:!1});(0,z.useEffect)(()=>{cn.current=new(dt())(Ea.current,!0),window.onload=function(){cn.current.inject("applet_container")}},[]);const Qt=()=>{var Kn=window.ggbApplet.getPNGBase64(1,!0,72);return kt&&kt(Kn),Kn};return(0,z.useEffect)(()=>{Ea.current.appName=sn?"3D":"graphing",cn.current.inject("applet_container")},[sn]),(0,z.useEffect)(()=>{Ln(qe)},[qe]),(0,z.useImperativeHandle)(jt,()=>({getImgData:Qt})),z.createElement(z.Fragment,null,z.createElement("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:Sn}),z.createElement(gt.Z,{align:"middle"},z.createElement(ut.Z,{flex:1},z.createElement(tt.Z,{size:"default",checkedChildren:"\u5173\u95ED3D\u56FE\u50CF",unCheckedChildren:"\u5F00\u542F3D\u56FE\u50CF",checked:sn,onChange:Kn=>Ln(Kn)})),z.createElement(ut.Z,null,z.createElement(ge.ZP,{size:"large",onClick:Qt,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"))))}),zt=ne(88615),pt=ne(1012),en=ne(8591);const nn="link",Tt="upload-image",Nt="add-flowchart",$t="draw-image",ln="add-flowchart",dn="code-block",wn="add-table",zn="------------",Mt={default:zn,left:`:${zn}`,center:`:${zn}:`,right:`${zn}:`};var Dt=ne(17904),Gt=(qe,nt,$e)=>new Promise((kt,Kt)=>{var jt=sn=>{try{cn($e.next(sn))}catch(Ln){Kt(Ln)}},Sn=sn=>{try{cn($e.throw(sn))}catch(Ln){Kt(Ln)}},cn=sn=>sn.done?kt(sn.value):Promise.resolve(sn.value).then(jt,Sn);cn(($e=$e.apply(qe,nt)).next())});function un(){}let tn=0;const Qn=1e4,ca="\u2581",Pn="@\u2581\u2581@",Ut="@\u2581@",Xn=`
**\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`,et=["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 Ht(qe){return/^\d+$/.test(qe)?`${qe}px`:qe}const on=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",yn={[on+"-B"]:"bold",[on+"-I"]:"italic"},rn={[nn]:"\u6DFB\u52A0\u94FE\u63A5",[dn]:"\u6DFB\u52A0\u4EE3\u7801\u5757",[Tt]:"\u6DFB\u52A0\u56FE\u7247",[$t]:"\u6DFB\u52A0\u753B\u56FE",[Nt]:"\u63D2\u5165\u6D41\u7A0B\u56FE",[wn]:"\u6DFB\u52A0\u8868\u683C","maths-latex":"\u6570\u5B66\u56FE\u50CF","inline-latex":"LATEX\u516C\u5F0F"};var mn=({defaultValue:qe="",onChange:nt,width:$e="100%",height:kt=400,miniToolbar:Kt=!1,isFocus:jt=!1,watch:Sn,insertTemp:cn,mode:sn="markdown",id:Ln="markdown-editor-id",showResizeBar:Ea=!1,noStorage:Qt=!1,showNullButton:Kn=!1,showNullProgramButton:ua=!1,hidetoolBar:Pa=!1,fullScreen:pn=!1,onBlur:ea,onCMBeforeChange:Ha,onFullScreen:ta,className:ja="",disablePaste:Ga=!1,disabled:Ua=!1,disabledFill:Lt=!1,placeholder:_t="",values:Wt="",extraUse:Fn})=>{const[It,ba]=(0,z.useState)(null),[Zn,pa]=(0,z.useState)(qe),[An,an]=(0,z.useState)(Sn),[gn,On]=(0,z.useState)(pn),[fn,ia]=(0,z.useState)(""),[ka,wa]=(0,z.useState)(0),[Fa,qa]=(0,z.useState)(kt),[ro,Go]=(0,z.useState)(!1),Br=(0,z.useRef)((0,pt.Z)()),Bo=(0,z.useRef)(!1),jn=(0,z.useRef)(),[Eo,Co]=(0,z.useState)(0),[Ro,_o]=(0,z.useState)(0),Qo=(0,z.useRef)(),$o=(0,z.useRef)(),Xo=(0,z.useRef)(),Ko=(0,z.useRef)(),pr=()=>Gt(void 0,null,function*(){var na;const bn=yield Fetch("/api/attachments/distinct_hash_val.json",{method:"post",body:{hash_val:Br.current}});(na=bn==null?void 0:bn.attachments)!=null&&na.length&&(console.log("cm:",It,Qo),bn.attachments.map(Cn=>{Cn.content_type.indexOf("image")>-1?It.replaceSelection(`![,](/api/attachments/${Cn.id}?type=${Cn.content_type})`):Cn.content_type.indexOf("video")>-1?It.replaceSelection(`<video width="100%" controls src="${ENV.API_SERVER}/api/attachments/${data.id}"></video>`):Cn.content_type.indexOf("pdf")>-1?It.replaceSelection(`<a href="${ENV.API_SERVER}/api/attachments/${Cn.id}?type=${Cn.content_type}&disposition=inline" target="_blank">${Cn.name}</a>`):It.replaceSelection(`[${Cn.name}](${ENV.API_SERVER}/api/attachments/${Cn.id}?type=${Cn.content_type})`)}))});(0,z.useEffect)(()=>{const na=window.scrollY||window.pageYOffset;pa(Wt),It==null||It.setValue(Wt),window.scrollTo(0,na)},[Wt]),(0,z.useEffect)(()=>{ta==null||ta(gn)},[gn]),(0,z.useEffect)(()=>{if(Qo.current){let na=function(Cn,Rn){var Na;if(Ga){Rn.preventDefault();return}const Ya=Rn.clipboardData;if(Ya){const po=Ya.types.toString(),ho=Ya.items;if(po==="Files"||Ya.types.indexOf("Files")>-1){if(Rn.preventDefault(),sn=="stex")return;try{let wo=ho[1];((Na=ho[0])==null?void 0:Na.kind)==="file"&&(wo=ho[0]);const Do=wo.getAsFile(),qo=Do.name.split(".").pop();(0,Te.I)(Do,ko=>{var wr,Rr,kr;ko.id?((wr=Do==null?void 0:Do.type)==null?void 0:wr.indexOf("image"))>-1?bn.replaceSelection(`<img width="100%" src="/api/attachments/${ko.id}?type=${ko.content_type})" alt="" />`):((Rr=Do==null?void 0:Do.type)==null?void 0:Rr.indexOf("video"))>-1?bn.replaceSelection(`<video width="100%" controls src="/api/attachments/${ko.id}"></video>`):((kr=Do==null?void 0:Do.type)==null?void 0:kr.indexOf("pdf"))>-1?bn.replaceSelection(`<a href="/api/attachments/${ko.id}?type=${Do.type}&disposition=inline" target="_blank">${Do.name}</a>`):et.includes(qo)?bn.replaceSelection(`<a href="/api/attachments/${ko.id}?type=office&disposition=inline" target="_blank">${Do.name}</a>`):bn.replaceSelection(`[${Do.name}](/api/attachments/${ko.id}?type=${ko.content_type})`):(ko==null?void 0:ko.status)===401&&(en.ZP.warning((ko==null?void 0:ko.message)||"\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),document.location.href="/user/login")})}catch(wo){en.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};const bn=Pe().fromTextArea(Qo.current,{mode:sn,lineNumbers:!Kt,lineWrapping:!0,value:qe,autoCloseTags:!ua,autoCloseBrackets:!0});return bn.on("keyup",function(Cn,Rn){Rn.keyCode===8&&(Cn.getValue()==""?bn.setOption("placeholder",_t):bn.setOption("placeholder",null))}),bn.on("keydown",function(Cn,Rn){if(Rn.keyCode===8){var Na=Pr(Cn);Na&&Rn.preventDefault()}}),jt&&bn.focus(),bn.on("paste",na),bn.on("dragleave",function(Cn,Rn){$o.current.classList.remove("mouse-hover-md")}),Ua&&bn.on("beforeChange",function(Cn,Rn){(Rn.origin==="paste"||Rn.origin==="+input")&&Rn.cancel()}),ba(bn),()=>{bn.off("paste",na)}}},[]);const lr=(0,z.useCallback)(()=>{if($o.current)try{}catch(na){console.log(na,"---- to set md editor body height")}},[Fa,$o,gn]);(0,z.useEffect)(()=>{function na(){let bn=new Me.Z(Cn=>{for(let Rn of Cn)(Rn.target.offsetHeight>0||Rn.target.offsetWidth>0)&&(lr(),It.setSize("100%","100%"),It.refresh())});return bn.observe(Qo.current.parentElement),bn}if(It){const bn=na();return()=>{var Cn,Rn;(Cn=Qo.current)!=null&&Cn.parentElement&&bn.unobserve((Rn=Qo.current)==null?void 0:Rn.parentElement)}}},[It,lr]),(0,z.useEffect)(()=>{if(It){let na=[];for(const[bn,Cn]of Object.entries(yn)){let Rn={[bn]:()=>{Fr(Cn)}};na.push(Rn),It.addKeyMap(Rn)}return jn.current=setInterval(()=>{Bo.current&&pr()},4e3),()=>{clearInterval(jn.current);for(let bn of na)It.removeKeyMap(bn)}}},[It]),(0,z.useEffect)(()=>{pn!==gn&&On(pn)},[pn]),(0,Dt.Z)(()=>{if(!Qt&&ka>0){let na=new Date().getTime(),bn=window.sessionStorage.getItem(Ln);na>=ka+Qn&&(!bn||bn!==Zn)&&(window.sessionStorage.setItem(Ln,Zn),Go(!0))}},Qn),(0,z.useEffect)(()=>{an(Sn)},[It,Sn]),(0,z.useEffect)(()=>{It&&jt&&It.focus()},[It,jt]),(0,z.useEffect)(()=>{if(An&&It){let na=function(Cn){let Rn=Cn.target;if(Ko.current){let Na=Rn.scrollTop/Rn.scrollHeight;Ko.current.scrollTop=Ko.current.scrollHeight*Na}};const bn=It.getScrollerElement();return bn.addEventListener("scroll",na),()=>{bn.removeEventListener("scroll",na)}}},[It,An]),(0,z.useEffect)(()=>{if(It&&Ha){let na=function(bn,Cn){Ha(bn,Cn)};return It.on("beforeChange",na),()=>{It.off("beforeChange",na)}}},[It,Ha]),(0,z.useEffect)(()=>{if(It&&ea){let na=function(){ea(It.getValue())};return It.on("blur",na),()=>{It.off("blur",na)}}},[It,ea]);function Pr(na,bn){var Cn=na.getDoc(),Rn=Cn.getCursor(),Na=Cn.getLine(Rn.line),Ya=Na.charAt(Rn.ch-1),po=Na.lastIndexOf("@\u2581@",Rn.ch),ho=Na.lastIndexOf("@\u2581\u2581@",Rn.ch),wo=po>ho?po:ho,Do=po>ho?3:4;if(Pn.indexOf(Ya)===-1)return null;if(console.log("change1:",bn,na,Na,Rn,wo,po,ho,Ya),wo>=0&&Rn.ch-wo<5){var qo=wo+Do;return Cn.replaceRange("",{line:Rn.line,ch:wo},{line:Rn.line,ch:qo}),{line:Rn.line,ch:qo}}return null}(0,z.useEffect)(()=>{if(It){let na=function(bn,Cn){const Rn=bn.getValue();pa(Rn),wa(new Date().getTime()),bn.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),nt&&(ua?nt(Rn,Xr(Rn)):nt(Rn))};return It.on("change",na),()=>{It.off("change",na)}}},[It,nt]),(0,z.useEffect)(()=>{if(It)if(qe==null)It.setValue(""),pa("");else{const na=window.scrollY||window.pageYOffset;qe!==It.getValue()&&(It.setValue(qe),pa(qe),It.setCursor(Ua?1:It.lineCount(),0),window.scrollTo(0,na))}},[It,qe]);const Fr=(0,z.useCallback)(na=>{const bn=It.getCursor(),Cn=It.getSelection();let Rn=Cn.split(`
`);switch(na){case"bold":return It.replaceSelection("**"+Cn+"**"),Cn===""&&It.setCursor(bn.line,bn.ch+2),It.focus();case"italic":return It.replaceSelection("*"+Cn+"*"),Cn===""&&It.setCursor(bn.line,bn.ch+1),It.focus();case"code":return It.replaceSelection("`"+Cn+"`"),Cn===""&&It.setCursor(bn.line,bn.ch+1),It.focus();case"inline-latex":return ia("inline-latex"),It.focus();case"latex":return It.replaceSelection("```latex\n"+Cn+"\n```"),It.setCursor(bn.line+1,Cn.length+1),It.focus();case"line-break":return It.replaceSelection(`<br/>
`),It.focus();case"list-ul":return Cn===""?It.replaceSelection("- "+Cn):It.replaceSelection(Rn.map(Na=>Na===""?"":`- ${Na}`).join(`
`)),It.focus();case"list-ol":return Cn===""?It.replaceSelection("1. "+Cn):It.replaceSelection(Rn.map((Na,Ya)=>Na===""?"":`${Ya+1}. ${Na}`).join(`
`)),It.focus();case"add-null-ch":return Cn===""&&It.setCursor(bn.line,bn.ch),It.replaceSelection(ca),It.focus();case"add-signal":return Cn===""&&It.setCursor(bn.line,bn.ch),It.replaceSelection(Ut),It.focus();case"add-multiple":return Cn===""&&It.setCursor(bn.line,bn.ch),It.replaceSelection(Pn),It.focus();case"inster-template-1":return Cn===""&&It.setCursor(bn.line,bn.ch),It.replaceSelection(Xn),It.focus();case"eraser":return It.setValue(""),It.focus();case"trigger-watch":return an(!An),It.focus();case"trigger-full-screen":return On(!gn),It.focus();case nn:ia(nn);return;case dn:ia(dn);return;case Tt:ia(Tt);return;case $t:ia($t);return;case"maths-latex":ia("maths-latex");return;case Nt:ia(Nt);return;case wn:ia(wn);return;default:throw new Error}},[It,An,gn]),bo=(0,z.useCallback)((na,bn)=>{var Cn,Rn,Na,Ya,po,ho;switch(ia(""),fn){case nn:const{title:wr,link:Rr}=na;return It.replaceSelection(`[${wr}](${Rr})`),It.focus();case dn:const{language:kr,content:Dr}=na;return It.replaceSelection(["```"+kr,Dr,"```"].join(`
`)),It.focus();case"maths-latex":for(var wo=atob(na),Do=new Uint8Array(wo.length),qo=0;qo<wo.length;qo++)Do[qo]=wo.charCodeAt(qo);var ko=new Blob([Do],{type:"image/png"});(0,Te.I)(ko,dr=>{dr.id?It.replaceSelection(`![,](/api/attachments/${dr.id}?type=${dr.content_type})`):(dr==null?void 0:dr.status)===401&&(document.location.href="/user/login")});break;case"inline-latex":It.replaceSelection("`$$"+na+"$$`");break;case Tt:case $t:case ln:const{src:Lr,alt:ao}=na,Zo=bn,fi=(Na=(Rn=(Cn=Zo==null?void 0:Zo.name)==null?void 0:Cn.split("."))==null?void 0:Rn.pop)==null?void 0:Na.call(Rn);return((Ya=Zo==null?void 0:Zo.type)==null?void 0:Ya.indexOf("image"))>-1||!(Zo!=null&&Zo.type)?Zo.align||Zo.width?It.replaceSelection(`<p style="text-align:${Zo.align||"initial"}"><img width="${Zo.width?Zo.width+"%":"initial"}" src="${Lr}" alt="${ao||""}" /></p>`):It.replaceSelection(`<img width="100%" src="${Lr}" alt="${ao||""}" />`):((po=Zo==null?void 0:Zo.type)==null?void 0:po.indexOf("video"))>-1?It.replaceSelection(`<video width="100%" controls src="${Lr}"></video>`):((ho=Zo==null?void 0:Zo.type)==null?void 0:ho.indexOf("pdf"))>-1?It.replaceSelection(`<a href="${Lr}?type=${Zo.type}&disposition=inline" target="_blank">${Zo.name}</a>`):et.includes(fi)?It.replaceSelection(`<a href="${Lr}?type=office&disposition=inline" target="_blank">${Zo.name}</a>`):It.replaceSelection(`[${Zo.name}](${Lr})`),It.focus();case wn:const{row:bi,col:Kr,align:di}=na;let qr=`
`;for(let dr=0;dr<bi;dr++){let Wr=[],ci=[];for(let ei=0;ei<Kr;ei++)dr===1&&ci.push(Mt[di]),Wr.push(" ");dr===1&&(qr+=`| ${ci.join(" | ")} |
`),qr+=`| ${Wr.join(Kr===1?"":" | ")} |
`}return It.replaceSelection(qr+`
`),It.focus();default:throw new Error}},[It,fn]),Ar=(0,z.useMemo)(()=>{switch(fn){case nn:return z.createElement(yt,{callback:bo,onCancel:hr});case dn:return z.createElement(Ft.Z,{callback:bo,onCancel:hr});case Tt:return z.createElement(Te.Z,{callback:bo,onCancel:hr});case Nt:return z.createElement(it,{callback:bo,onCancel:hr});case wn:return z.createElement(Ce,{callback:bo,onCancel:hr});case"maths-latex":return z.createElement(At,{showSaveButton:!0,callback:bo});case"inline-latex":return z.createElement(zt.Z,{showSaveButton:!0,callback:bo});default:return null}},[fn]);function hr(){ia("")}(0,z.useEffect)(()=>{if(Xo.current){let na=function(po){Na=!0,Ya=po.pageY},bn=function(){Na=!1},Cn=function(po){if(Na){let ho=po.pageY-Ya;ho<0&&(ho=0),ho>300&&(ho=300);let wo=kt+ho+"px";qa(wo)}},Rn=Xo.current,Na=!1,Ya=0;return Rn.addEventListener("mousedown",na),document.addEventListener("mousemove",Cn),document.addEventListener("mouseup",bn),()=>{Rn.removeEventListener("mousedown",na),document.removeEventListener("mousemove",Cn),document.removeEventListener("mouseup",bn)}}},[It,Xo]),(0,z.useEffect)(()=>{qa(kt)},[kt]);const Gr=Ht($e),_r=Ht(Fa),Tr={width:Gr,height:_r},Jr=(0,z.useMemo)(()=>{if(ka){let na=new Date(ka),bn=na.getHours(),Cn=na.getMinutes(),Rn=na.getSeconds();return bn=bn<10?"0"+bn:bn,Cn=Cn<10?"0"+Cn:Cn,Rn=Rn<10?"0"+Rn:Rn,`${bn}:${Cn}:${Rn}`}return 0},[ka]),Xr=na=>{const bn=[];if(ua){let Cn=-1;na=na.replace(/(@▁▁@|@▁@)/g,function(Rn,Na,Ya){bn.push({multiLine:Rn!==Ut})})}return bn};function ui(){window.sessionStorage.removeItem(Ln),Go(!1),wa(0)}function si(){Go(!1),wa(0),It.setValue(window.sessionStorage.getItem(Ln))}(0,z.useEffect)(()=>{rn[fn]&&fn!==$t&&fn!==Nt&&setTimeout(()=>{const na=document.getElementsByClassName("markdown-popup-form")[0],bn=window.innerWidth/2-na.offsetWidth/2,Cn=window.innerHeight/2-na.offsetHeight/2;Co(bn),_o(Cn)},0)},[fn]);const Yr=na=>{na.preventDefault();const bn=na.clientX-Eo,Cn=na.clientY-Ro;document.body.onmousemove=Rn=>{let Na=Rn.clientX-bn,Ya=Rn.clientY-Cn;const po=document.getElementsByClassName("markdown-popup-form")[0],ho=window.innerWidth-po.offsetWidth,wo=window.innerHeight-po.offsetHeight;Na=Math.max(0,Math.min(Na,ho)),Ya=Math.max(0,Math.min(Ya,wo)),$r(Rn.clientX,Rn.clientY,bn,Cn)&&(Co(Na),_o(Ya))},document.body.onmouseup=function(){document.body.onmousemove=null}},$r=(na,bn,Cn,Rn)=>{const Na=document.body.clientHeight,Ya=document.body.clientWidth;return na<20&&Cn>na||na>Ya-20&&Cn<na||bn<20&&Rn>bn||bn>Na-20&&Rn<bn?(document.body.onmousemove=null,document.body.onmouseup=null,!1):!0};return z.createElement(z.Fragment,null,z.createElement("div",{className:"markdown-editor-wrapper",ref:$o},z.createElement("div",{className:`markdown-editor-container ${ja} ${An?"on-preview":""} ${Kt?"mini":""} ${gn?"full-screen":""}`,style:Tr},z.createElement(me,{insertTemp:cn,watch:An,fullScreen:gn,showNullButton:Kn,showNullProgramButton:ua,onActionCallback:Fr,hidetoolBar:Pa,extraUse:Fn}),z.createElement("div",{className:"markdown-editor-body"},z.createElement("div",{className:"codemirror-container"},z.createElement("textarea",{ref:Qo,placeholder:_t})),An?z.createElement("div",{ref:Ko,className:"preview-container"},sn==="stex"&&z.createElement(je,{value:Zn}),sn!=="stex"&&z.createElement(Le.Z,{disabledFill:Lt,showProgramFill:ua,value:Zn})):null))),Ea?z.createElement("a",{ref:Xo,className:"editor-resize"}):null,fn===$t&&z.createElement(Ot,{callback:bo,onCancel:hr}),fn===Nt&&z.createElement(it,{callback:bo,onCancel:hr}),z.createElement(Be.Z,null,rn[fn]&&fn!==$t&&fn!==Nt?z.createElement(Ge.default,{maskClosable:!1,centered:!0,style:{position:"absolute",left:Eo,top:Ro},title:z.createElement("div",{style:{cursor:"move"},onMouseDown:Yr},rn[fn]),open:!0,onCancel:hr,footer:null,destroyOnClose:!0,width:fn===Nt?"1200px":null,height:fn===Nt?"80vh":null,className:"markdown-popup-form"},Ar):null))}},45596:function(ft,vt,ne){"use strict";ne.d(vt,{Z:function(){return de},I:function(){return Be}});var z=ne(78241),ie=ne(8591),Pe=ne(92832),Me=ne(81327),be=ne(5871),xe=ne(5112),re=ne(3113),De=ne(67303),Ne=ne(59301),Ae=ne(34055),Le=ne(59301),je=Object.defineProperty,Ee=Object.defineProperties,oe=Object.getOwnPropertyDescriptors,E=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,b=Object.prototype.propertyIsEnumerable,y=(ve,Fe,ge)=>Fe in ve?je(ve,Fe,{enumerable:!0,configurable:!0,writable:!0,value:ge}):ve[Fe]=ge,x=(ve,Fe)=>{for(var ge in Fe||(Fe={}))a.call(Fe,ge)&&y(ve,ge,Fe[ge]);if(E)for(var ge of E(Fe))b.call(Fe,ge)&&y(ve,ge,Fe[ge]);return ve},ee=(ve,Fe)=>Ee(ve,oe(Fe));const{useForm:te}=z.default,ae={width:280,marginRight:10},ue={labelCol:{span:5},wrapperCol:{span:19}};var de=({callback:ve,onCancel:Fe})=>{const[ge]=te();let Je=(0,Ne.useRef)();function Ie(Ke){Je.current.width=ge.getFieldValue("width"),Je.current.align=ge.getFieldValue("align"),ve(Ke,Je.current)}function Ue(Ke,lt){if(Ke.status===-1){ie.ZP.error(Ke.message);return}ge.setFieldsValue({src:`/api/attachments/${Ke.id}`,type:lt.type})}function ze(Ke){let lt=Ke.target.files[0];Je.current=lt,Be(lt,Ue)}return Le.createElement(z.default,ee(x({form:ge},ue),{className:"upload-image-panel",onFinish:Ie,style:{width:470,overflow:"hidden"}}),Le.createElement(z.default.Item,{label:"\u56FE\u7247\u5730\u5740",required:!0},Le.createElement("div",{className:"flex-container"},Le.createElement(z.default.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5730\u5740"}]},Le.createElement(Pe.default,{style:ae})),Le.createElement(me,{onFileChange:ze}))),Le.createElement(z.default.Item,{label:"\u56FE\u7247\u63CF\u8FF0",name:"alt"},Le.createElement(Pe.default,{style:{width:264}})),Le.createElement(z.default.Item,{label:"\u56FE\u7247\u5BBD\u5EA6",name:"width"},Le.createElement(Me.Z,null,Le.createElement(z.default.Item,{name:"width",style:{margin:0}},Le.createElement(be.Z,{style:{width:264}})),Le.createElement("span",{className:"ml8"},"%"))),Le.createElement(z.default.Item,{label:"\u5BF9\u9F50\u65B9\u5F0F",name:"align"},Le.createElement(xe.ZP.Group,{name:"align",defaultValue:1,options:[{value:"left",label:"\u5DE6\u5BF9\u9F50"},{value:"center",label:"\u5C45\u4E2D\u5BF9\u9F50"},{value:"right",label:"\u53F3\u5BF9\u9F50"}]})),Le.createElement("aside",null,Le.createElement(z.default.Item,{style:{textAlign:"right",position:"relative",right:-98}},Le.createElement(re.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),Le.createElement(re.ZP,{type:"default",onClick:Fe},"\u53D6\u6D88"))))};function me({onFileChange:ve}){return Le.createElement("label",{className:"upload-button",style:{cursor:"pointer"}},"\u672C\u5730\u4E0A\u4F20",Le.createElement("input",{type:"file",onChange:ve}))}function Be(ve,Fe){if(!ve)throw new String("\u6CA1\u6709\u6587\u4EF6");if(!(0,Ae.bg)())throw ie.ZP.warning("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),new String("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C");let ge=new FormData;ge.append("editormd-image-file",ve),ge.append("file_param_name","editormd-image-file"),ge.append("byxhr","true");var Je=new window.XMLHttpRequest;Je.withCredentials=!0,Je.addEventListener("load",function(Ie){Fe(JSON.parse(Ie.target.responseText),ve)},!1),Je.addEventListener("error",function(Ie){console.error(Ie)},!1),Je.open("POST",`${De.KI}/api/attachments.json`),Je.send(ge)}},75790:function(ft,vt,ne){"use strict";ne.d(vt,{Z:function(){return Pe}});var z=ne(59301),ie=ne(4676);class Pe extends z.Component{constructor(be){super(be);const xe=window.document;this.node=xe.createElement("div"),xe.body.appendChild(this.node)}render(){const{children:be}=this.props;return(0,ie.createPortal)(be,this.node)}componentWillUnmount(){window.document.body.removeChild(this.node)}}},4573:function(ft,vt,ne){"use strict";ne.d(vt,{i:function(){return ae},Z:function(){return de}});var z={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"},ie=ne(71418),Pe=ne(6848),Me=ne(92310),be=ne.n(Me),xe=ne(49661),re=ne(57884),De=ne(34055),Ne="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGgAAAAgCAYAAAD+Fz2gAAAAAXNSR0IArs4c6QAAEx5JREFUaEPFWwd4FWW6fueE9NATIEAoKkWKgIKVEkBgl2LB6159EFdRwHVd9a67SC+ryFVBEDGAUq57d0WUK6DuigYSeglFMJQIhBJSIIYUQgohObPP9/1l/pmcE7h9nvCcc+bMzJn53v/9vvcrWABQfuovrf3VeMeClWhbVrwFC5Zl0Vfi1aLP/EHu976K42wAtmXBx2cCtk9ew+ZT+bsbbT4/XUWeT1cUf4Bt61faY9v8a2I/vxXn0X7+p86l/bYftu3n7/30Sof6bdAd2351LXmMOl++0nUt/hlxnrg+vVe/6xfPbRwv7oeuJ+5RfUdPz/uMe5VP5zwfkOeDf6tlhUxqPXxOtkXgVFfVHLFgNYHlcwBRIBE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DF/VqYsf+ef3L5SDvAGCVcy/4GKCimrho1yv3tWdR3xgzD9ssC8H6ko8BKpqBi3q1I77sXvBef9M0HX3kxwAV1cRFu95PALhFw2OAimbgol7tB5BbNDwGqKgmLtr1nhJaFw2PASqagYt6db45jhQNMf0Xi7mnon7V4+sfxQIFJqFMNES/v3D+oyz8+Jp/jgX+AT+bS/shEzsoAAAAAElFTkSuQmCC",te=ne(59301);const ae=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:Ne,swimg:Ae},{name:"101\u8BA1\u5212",ptimg:Le,swimg:je},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:Ee,swimg:oe},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:E,swimg:a},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:b,swimg:y},{name:"\u519B\u961F\u4E00\u6D41",ptimg:x,swimg:ee}];var de=({className:me,dataSource:Be=[],col:ve=4,right:Fe,bottom:ge=23,precision:Je=0,wrapWidth:Ie=1200,trackEventItems:Ue,loading:ze,onRemove:Ke=()=>{},isCurrent:lt=!0,showAlias:St=!1})=>{const ot=Math.floor((Ie-(ve-1)*Fe)/ve),Bt=[{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(Qe=>(window.ENV==="build"&&(Qe.ptimg=`/react/build${Qe.ptimg}`,Qe.swimg=`/react/build${Qe.swimg}`),Qe));return te.createElement(ie.Z,{spinning:ze},te.createElement("div",{className:be()(z.list,me)},!!(Be!=null&&Be.length)&&(Be==null?void 0:Be.map((Qe,yt)=>{var Ft;const{name:Te,id:Ge,identifier:gt,featured:Zt,school_name:mt,image_url:Ot,excellent:Se,is_plan:Ct}=Qe;return te.createElement("div",{key:Ge,className:z.wrap,style:{width:ot,marginRight:(1+yt)%ve===0?0:Fe+Je,marginBottom:ge}},te.createElement("a",{className:z.li,onClick:Jt=>{Jt.preventDefault(),Jt.stopPropagation(),Ue&&(0,xe.L9)([Ue]),(0,xe.xg)(`/paths/${gt}`)}},te.createElement("div",{className:z.img},te.createElement("img",{className:z.cover,src:`${Ot}`}),lt&&(0,De.bg)()&&(Qe==null?void 0:Qe.studying)&&te.createElement("div",{className:`${z.movebq} user-path-items`,onClick:Jt=>{Jt.stopPropagation(),Ke(Qe)}},te.createElement("i",{className:"iconfont icon-yichu1 mr5 c-red"}),te.createElement("span",{className:"c-red"},"\u79FB\u9664")),(Ft=Qe==null?void 0:Qe.subject_tags)==null?void 0:Ft.map((Jt,Pt)=>{var ut,We;if(Pt===0){const he=(ut=Bt.find(ce=>ce.name==Jt))==null?void 0:ut.swimg;return te.createElement("img",{className:z.sign,src:he,style:{left:"-4px"}})}const Re=(We=Bt.find(he=>he.name==Jt))==null?void 0:We.ptimg;return te.createElement("img",{className:z.sign,src:Re,style:{left:`${48+52*(Pt-1)+2*Pt}px`}})}),te.createElement("div",{style:{position:"absolute",top:"150px",left:"4px"}},(Qe==null?void 0:Qe.excellent)&&te.createElement("div",{className:z.bq},"\u5F00\u653E\u8BFE\u7A0B"))),te.createElement("div",{className:z.name},te.createElement(Pe.Z,{title:St&&(Qe!=null&&Qe.excellent_alias_name)?te.createElement("span",null,`\u8BFE\u7A0B\u539F\u540D\uFF1A${Te}`,te.createElement("br",null),te.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${Qe==null?void 0:Qe.excellent_alias_name}`)):Te},te.createElement("span",{className:z.e},St&&(Qe==null?void 0:Qe.excellent_alias_name)||Te))),te.createElement("div",{className:z.tags},te.createElement("div",null,te.createElement(Pe.Z,{placement:"bottom",title:"\u7AE0\u8282\u6570"},te.createElement("span",null,te.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),te.createElement("span",null,Qe.stages_count))),te.createElement(Pe.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},te.createElement("span",null,te.createElement("i",{className:"iconfont icon-chengyuan font14 mr3"}),te.createElement("span",null,Qe.members_count)))))))})),!Be.length&&te.createElement(re.Z,null)))}},89831:function(ft,vt,ne){"use strict";ne.d(vt,{jL:function(){return be},w9:function(){return Zt},QD:function(){return ln},cQ:function(){return yt.Z},op:function(){return pt},O5:function(){return mn},_b:function(){return Gt},t7:function(){return de},Gi:function(){return Pt},YG:function(){return Ct},qp:function(){return b},vr:function(){return zn},qE:function(){return Tt},Je:function(){return ve},wb:function(){return Qe},cq:function(){return _e},tp:function(){return ee},Si:function(){return $e},k8:function(){return Ua},Du:function(){return Ea}});var z=ne(59301),ie={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"},Pe="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE4AAAA0CAYAAAAkEw66AAAAAXNSR0IArs4c6QAAGNVJREFUeF7VmwmwHVWdxr9zuvvu9+3ZXsxCiNkIQZOwEzMgyADjggsWgzPqOAJaMiCjYiGKqDBQAo4iWGAxA+ooMm7gBhSyhBBRIIBSAQlrHuTt7913t97PmfpOd4cXlLAFGO6rW9237719+/z6+6/nPIHX+XHttddaex38nlW2lLO1svq1wJ4aeFMM9CqFnNKoaYV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0Dy58Zreitwr0dSRK5J0YbwJDLfo39eWTDrTOebkDeL2+13e5nnPZfrh/UTdmVvOJb6fq6OsIzziK9H8lCI6RldtMcX46ZbDT9V//oJ6fAz4iBI7VMfYp5SBmEFw1uTNcezFcB56YQPv329qHfPXo8n2vF4BX8rsXbdS/WD0L72ZThfA4NrqiLIdlMGSfjtBYn1Nx9HH1wDQ7Nj9v6/zGB3S5HWCvUlFfvWiGWMYFQpQzzXSoAfxlWD1w0X1y33tPEkyy33CPk6/TBx8yF7f05pDjuIrOzuaaVUoExxKT43a5akFCtVys3+Wcwweu1dbHV+LxN3VhPsEx8jANGfOAh4eiL5x0iHPeG47YtAv+9I3xp9f0yIvLDAw6ySIY/ExSnpkqVcels/x/syLgtXHpx9bhlF2CO/tanVuzHHfPqmJVOf0nNdr5SFP7D02Eb/3iEfkdtdsbFeCXbtYfXlDGueU85iKZsjXZklnpyZdpGmgWFcS4pGsQnzvuOBG/4CzXFX/Qp+zZi28pPzkZHeNIS337X2+Qp+IckWajb1RsyXWffqOeN8tRH+rKyWOhsSBnYyYziiCAa0k8EQKb2kF01acPc3akXS8IbsW1Onf6AnVib16ewqWz21vq9qu2yNPeqL7thW7xZ65391jcV1jE/1qKFcaeCfDwOYeK9D83nv32/wHzrWgvjJ8Q7AAAAABJRU5ErkJggg==",be=({dataSource:Lt=[],img:_t,imgWidth:Wt=346,title:Fn,sunTitle:It,bannerExtraContent:ba})=>z.createElement("div",{className:ie.banner},z.createElement("div",{className:ie.content},z.createElement("aside",null,z.createElement("p",null,z.createElement("b",null,Fn),z.createElement("span",null,It)),Lt.length>0&&z.createElement("div",{className:ie.btns},Lt.map((Zn,pa)=>z.createElement("div",{key:pa,onClick:Zn.click},Zn.name,Zn.sign?z.createElement("img",{src:Pe,width:39}):null))),ba),_t&&z.createElement("img",{style:{marginTop:33,marginRight:38},src:_t,width:Wt}))),xe={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"},re=ne(92310),De=ne.n(re),Ne=ne(89392),Ae=Object.defineProperty,Le=Object.getOwnPropertySymbols,je=Object.prototype.hasOwnProperty,Ee=Object.prototype.propertyIsEnumerable,oe=(Lt,_t,Wt)=>_t in Lt?Ae(Lt,_t,{enumerable:!0,configurable:!0,writable:!0,value:Wt}):Lt[_t]=Wt,E=(Lt,_t)=>{for(var Wt in _t||(_t={}))je.call(_t,Wt)&&oe(Lt,Wt,_t[Wt]);if(Le)for(var Wt of Le(_t))Ee.call(_t,Wt)&&oe(Lt,Wt,_t[Wt]);return Lt},b=({dataSource:Lt=[],value:_t,onChange:Wt,onTitleChange:Fn,className:It,title:ba,titleWidth:Zn=41,style:pa={},fontColor:An="#6A7283",showCount:an,classNameActive:gn,styleItem:On={}})=>{const[fn,ia]=(0,z.useState)(0),[ka,wa]=(0,z.useState)(!1),Fa=(0,z.useRef)(null),qa=(0,z.useRef)(null);return(0,z.useEffect)(()=>{var ro;Lt.length!==0&&(((ro=Fa==null?void 0:Fa.current)==null?void 0:ro.clientHeight)>97?ia(1):ia(0)),Lt.length===0&&ia(0),wa(!1)},[Lt]),z.createElement("div",{className:De()(xe.row,It),style:pa},z.createElement("div",{onClick:(0,Ne.throttle)(()=>Fn==null?void 0:Fn(),2e3),style:{width:Zn,marginTop:ka?12:4},className:`${xe.title} ${Fn?"current":""}`},ba),z.createElement("div",{className:ka?`${xe.tagsWrap} ${xe.tagsBorderWrap}`:xe.tagsWrap},z.createElement("div",{className:xe.bar,ref:qa,style:fn>0?{height:fn===1?97:"auto",overflow:fn===1?"hidden":"auto",paddingRight:55}:{paddingRight:0}},z.createElement("div",{className:xe.tag,ref:Fa},Lt==null?void 0:Lt.map(ro=>z.createElement("span",{onClick:()=>Wt(ro.id),key:ro.id,style:E(E({color:An},On),(ro==null?void 0:ro.style)||{}),className:_t===ro.id?De()(gn||xe.active,ro.classNameActive):""},z.createElement("span",{title:ro.name,className:xe.name},ro.name),!!an&&z.createElement("span",{className:xe.num},ro.count))))),!!fn&&z.createElement(z.Fragment,null,fn===1?z.createElement("div",{onClick:()=>{var ro;ia(2),((ro=Fa==null?void 0:Fa.current)==null?void 0:ro.clientHeight)>245?wa(!0):wa(!1)},className:xe.action},"\u5C55\u5F00",z.createElement("i",{style:{transform:"translateY(1px) scale(0.6)"},className:"iconfont icon-zhankai4"})):z.createElement("div",{onClick:()=>{qa.current.scrollTop=0,ia(1),wa(!1)},className:xe.action},"\u6536\u8D77",z.createElement("i",{style:{transform:"translateY(0px) scale(0.6)"},className:"iconfont icon-shouqi3"})))))},y={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"},ee=({dataSource:Lt=[],value:_t,onChange:Wt,className:Fn,style:It={}})=>z.createElement("div",{style:It,className:De()(y.tabs,Fn)},Lt.map(ba=>z.createElement("span",{onClick:()=>Wt(ba.id),className:_t===ba.id?y.active:"",key:ba.id},ba.name))),te={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"},ae=ne(92832),de=({dataSource:Lt=[],value:_t="",onChange:Wt,onInputChange:Fn=()=>{},className:It,style:ba={},placeholder:Zn,allowClear:pa=!1})=>{var An;const[an,gn]=(0,z.useState)(""),[On,fn]=(0,z.useState)("");(0,z.useEffect)(()=>{var wa;let Fa=_t;(wa=JSON.stringify(_t))!=null&&wa.includes("{")&&(gn(_t.id),Fa=_t.value||"");try{fn(decodeURIComponent(Fa||""))}catch(qa){fn(decodeURIComponent(Fa||""))}},[_t]);const ia=()=>{Wt(encodeURIComponent(On),an||null)},ka=wa=>{wa!==an&&(gn(wa),Wt(encodeURIComponent(On),wa))};return z.createElement("div",{className:De()(te.input,It),style:ba},!!Lt.length&&z.createElement("div",{className:te.dropdown},z.createElement("div",{className:te.text},(An=Lt.find(wa=>wa.id===an))==null?void 0:An.name,z.createElement("i",{className:"iconfont icon-zhankai4"}),z.createElement("b",{className:te.b1}),z.createElement("b",{className:te.b2})),z.createElement("div",{className:te.menu},Lt.map((wa,Fa)=>z.createElement("div",{key:Fa,onClick:()=>ka(wa.id)},wa.name)))),z.createElement(ae.default,{onPressEnter:ia,value:On,onChange:wa=>{fn(wa.target.value),Fn(encodeURIComponent(wa.target.value),an||null)},bordered:!1,placeholder:Zn}),z.createElement("i",{onClick:ia,className:"iconfont icon-sousuo9 font14 pl10 current"}))},me={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"},ve=({value:Lt,onChange:_t,className:Wt,total:Fn,pageSize:It,style:ba={}})=>{const Zn=Lt<2,pa=Lt>=Math.ceil(Fn/It);return Fn<=It?z.createElement(z.Fragment,null):z.createElement("div",{className:De()(me.quickPager,Wt),style:ba},z.createElement("div",{onClick:()=>{Zn||_t(Lt-1,"prev")},className:Zn?me.disabled:""},"\u4E0A\u4E00\u9875"),z.createElement("div",{onClick:()=>{pa||_t(Lt+1,"next")},className:pa?me.disabled:""},"\u4E0B\u4E00\u9875"))},Fe={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"},ge=ne(71418),Je=ne(6848),Ie=ne(13570),Ue=ne(90524),ze=ne(49661),Ke=ne(96908),lt=ne(57177),St=ne(81378),ot=ne(57884),Qe=({className:Lt,dataSource:_t=[],col:Wt=4,right:Fn,bottom:It=23,precision:ba=0,wrapWidth:Zn=1200,trackEventItems:pa,loading:An})=>{const an=Math.floor((Zn-(Wt-1)*Fn)/Wt);return z.createElement(ge.Z,{spinning:An},z.createElement("div",{className:De()(Fe.list,Lt)},!!_t.length&&_t.map((gn,On)=>{const{name:fn,id:ia,identifier:ka,power:wa,cover_image_id:Fa,pic:qa}=gn;return z.createElement("div",{className:Fe.wrap,key:ia,style:{width:an,marginRight:(1+On)%Wt===0?0:Fn+ba,marginBottom:It}},z.createElement("a",{target:"_blank",href:`/shixuns/${ka}/challenges`,className:Fe.li,onClick:ro=>{ro.preventDefault(),pa&&(0,ze.L9)([pa]),wa&&(0,ze.xg)(`/shixuns/${ka}/challenges`)}},z.createElement("div",{className:Fe.img},z.createElement("img",{className:Fe.cover,src:`${qa}`}),gn.is_jupyter&&z.createElement("img",{className:Fe.sign,src:Ke}),gn.is_jupyter_lab&&z.createElement("img",{className:Fe.sign,src:lt}),gn.is_unity_3d&&z.createElement("img",{className:Fe.sign,src:St})),z.createElement("div",{className:Fe.name},z.createElement(Je.Z,{title:fn||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},z.createElement("span",{className:Fe.e},fn||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),z.createElement("div",{className:Fe.tags},z.createElement(Je.Z,{placement:"bottom",title:"\u5173\u5361\u6570"},z.createElement("span",null,z.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),z.createElement("span",null,gn.challenges_count))),!!gn.myshixuns_count&&z.createElement(Je.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},z.createElement("span",null,z.createElement("i",{className:"iconfont icon-chengyuan font14 mr2"}),z.createElement("span",null,gn.myshixuns_count))),z.createElement(Je.Z,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},z.createElement("span",null,z.createElement("span",null,gn.level))),z.createElement("div",{className:Fe.rate},z.createElement(Ie.Z,{allowHalf:!0,disabled:!0,defaultValue:gn.score_info}),z.createElement("span",null,"\xA0",gn.score_info?`${gn.score_info}\u5206`:"5\u5206")))),!wa&&z.createElement("div",{className:Fe.lockWrap},z.createElement("img",{src:`${Ue.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),z.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!_t.length&&z.createElement(ot.Z,null)))},yt=ne(4573),Ft={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"},Te="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkI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sPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",Ge=ne(59301),Zt=({className:Lt,dataSource:_t=[],col:Wt=4,right:Fn,bottom:It=23,precision:ba=0,wrapWidth:Zn=1200,trackEventItems:pa,loading:An})=>{const an=Math.floor((Zn-(Wt-1)*Fn)/Wt);return Ge.createElement(ge.Z,{spinning:An},Ge.createElement("div",{className:De()(Ft.list,Lt)},!!_t.length&&_t.map((gn,On)=>{const{subject_identifier:fn,id:ia,identifier:ka,power:wa}=gn,Fa=gn.is_public!=0&&gn.is_public;return Ge.createElement("div",{className:Ft.wrap,key:ia,style:{width:an,marginRight:(1+On)%Wt===0?0:Fn+ba,marginBottom:It}},Ge.createElement("a",{className:Ft.li,onClick:qa=>{qa.preventDefault(),pa&&(0,ze.L9)([pa]),(0,ze.xg)(gn.first_category_url)}},Ge.createElement("div",{className:Ft.top},Ge.createElement(Je.Z,{title:gn.name},Ge.createElement("div",{className:Ft.name},gn.name)),Ge.createElement("img",{className:Ft.img,src:Ue.Z.IMG_SERVER+"/images/"+gn.avatar_url}),Ge.createElement("div",{className:Ft.text,title:gn.creator},gn.creator),fn&&Ge.createElement("div",{className:Ft.btns},Ge.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),Ge.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802")),Fa&&Ge.createElement("div",{className:Ft.sign},"\u516C\u5F00")),Ge.createElement("div",{className:Ft.bottom},gn.visits>0&&Ge.createElement(Je.Z,{title:"\u8BBF\u95EE\u91CF",placement:"bottom"},Ge.createElement("span",null,Ge.createElement("i",{className:"iconfont icon-liulanyan"}),Ge.createElement("span",null,gn.visits))),gn.course_members_count>0&&Ge.createElement(Je.Z,{title:"\u6210\u5458",placement:"bottom"},Ge.createElement("span",null,Ge.createElement("i",{className:"iconfont icon-chengyuan"}),gn.course_members_count)),gn.tasks_count>0&&Ge.createElement(Je.Z,{title:"\u4F5C\u4E1A",placement:"bottom"},Ge.createElement("span",null,Ge.createElement("i",{className:"iconfont icon-zuoye"}),gn.tasks_count)),gn.is_end?Ge.createElement("div",{style:{color:"#6B758B"}},"\u5DF2\u7ED3\u675F"):Ge.createElement("div",{style:{color:"#00B187"}},"\u8FDB\u884C\u4E2D"))),!gn.is_accessible&&Ge.createElement("div",{className:Ft.lockWrap},Ge.createElement("img",{src:`${Ue.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),Ge.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!_t.length&&Ge.createElement(ot.Z,null)))},mt={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"},Ot=ne(76560),Ct=({dataSource:Lt=[],value:_t,onChange:Wt,className:Fn,style:It={},tabBarExtraContent:ba})=>z.createElement("div",{className:De()(mt.tabs,Fn),style:It},z.createElement("div",{className:mt.tabsWrap},Lt.map((Zn,pa)=>z.createElement("aside",{className:mt.tab,onClick:()=>{Wt(Zn.id),Zn.link&&Ot.history.push(Zn.link)},key:pa},z.createElement("div",{className:_t===Zn.id?mt.active:""},Zn.name),(Zn==null?void 0:Zn.resetCount)==null&&(Zn==null?void 0:Zn.total)!==void 0&&z.createElement("span",null,"\uFF08",Zn==null?void 0:Zn.total,"\uFF09"),(Zn==null?void 0:Zn.resetCount)!==void 0&&(Zn==null?void 0:Zn.total)!==void 0&&z.createElement(Je.Z,{title:(Zn==null?void 0:Zn.tip)!=null?Zn==null?void 0:Zn.tip:""},z.createElement("span",{style:{color:"#9096A3"}},"\uFF08",z.createElement("span",{style:{color:"#000"}},Zn==null?void 0:Zn.resetCount),"/",z.createElement("span",null,Zn==null?void 0:Zn.total),"\uFF09"))))),z.createElement("div",{className:mt.tabBar},ba)),Pt=({className:Lt,style:_t={},children:Wt})=>z.createElement("div",{className:De()(Lt),style:_t},Wt),ut={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"},We=ne(38854),Re=ne(20834);const he=[{id:"updated_at",name:"\u6700\u65B0\u52A8\u6001"},{id:"created_at",name:"\u6700\u65B0\u521B\u5EFA"},{id:"name",name:"\u540D\u79F0\u6392\u5E8F"}];var _e=({sortValue:Lt,dropValue:_t,className:Wt,onSort:Fn,onDrop:It,dataSource:ba=he})=>{var Zn;return z.createElement("div",{className:De()(ut.orderWrap,Wt)},z.createElement(We.Z,{dropdownRender:()=>z.createElement(Re.default,null,ba.map((pa,An)=>z.createElement(Re.default.Item,{key:An,onClick:()=>It(pa.id)},pa.name)))},z.createElement("span",{className:ut.orderTextWrap},(Zn=ba.find(pa=>_t===pa.id))==null?void 0:Zn.name)),z.createElement("span",{className:ut.orderIconWrap},z.createElement("span",{className:ut.orderAsc},z.createElement("i",{className:Lt==="asc"?`iconfont icon-sanjiaoxing-up font12 ${ut.cursorPointer} ${ut.active}`:`iconfont icon-sanjiaoxing-up font12 ${ut.cursorPointer}`,onClick:()=>Fn(Lt==="asc"?"desc":"asc")})),z.createElement("span",{className:ut.orderDesc},z.createElement("i",{className:Lt==="desc"?`iconfont icon-sanjiaoxing-down font12 ${ut.cursorPointer} ${ut.active}`:`iconfont icon-sanjiaoxing-down font12 ${ut.cursorPointer}`,onClick:()=>Fn(Lt==="asc"?"desc":"asc")}))))},it={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"},pe=ne(3113),fe=ne(22688),Xe=Object.defineProperty,ke=Object.getOwnPropertySymbols,Ce=Object.prototype.hasOwnProperty,tt=Object.prototype.propertyIsEnumerable,Rt=(Lt,_t,Wt)=>_t in Lt?Xe(Lt,_t,{enumerable:!0,configurable:!0,writable:!0,value:Wt}):Lt[_t]=Wt,dt=(Lt,_t)=>{for(var Wt in _t||(_t={}))Ce.call(_t,Wt)&&Rt(Lt,Wt,_t[Wt]);if(ke)for(var Wt of ke(_t))tt.call(_t,Wt)&&Rt(Lt,Wt,_t[Wt]);return Lt},wt=(Lt,_t)=>{var Wt={};for(var Fn in Lt)Ce.call(Lt,Fn)&&_t.indexOf(Fn)<0&&(Wt[Fn]=Lt[Fn]);if(Lt!=null&&ke)for(var Fn of ke(Lt))_t.indexOf(Fn)<0&&tt.call(Lt,Fn)&&(Wt[Fn]=Lt[Fn]);return Wt},At=(Lt,_t,Wt)=>new Promise((Fn,It)=>{var ba=An=>{try{pa(Wt.next(An))}catch(an){It(an)}},Zn=An=>{try{pa(Wt.throw(An))}catch(an){It(an)}},pa=An=>An.done?Fn(An.value):Promise.resolve(An.value).then(ba,Zn);pa((Wt=Wt.apply(Lt,_t)).next())}),pt=Lt=>{var _t=Lt,{className:Wt,style:Fn,children:It,loading:ba=!1,openLoading:Zn,onClick:pa=()=>{},size:An="middle",shape:an="round",theme:gn}=_t,On=wt(_t,["className","style","children","loading","openLoading","onClick","size","shape","theme"]);const[fn,ia]=(0,z.useState)(!1),ka=(0,z.useMemo)(()=>{switch(gn){case fe.Fy.THEMEONE:return it.ThemeOne;case fe.Fy.DEFAULT:default:return it.btn}},[gn]);return z.createElement(pe.ZP,dt({onClick:(0,Ne.throttle)(wa=>At(void 0,null,function*(){Zn&&ia(!0);try{yield pa(wa)}catch(Fa){console.log("error",Fa)}Zn&&ia(!1)}),2e3,{leading:!0,trailing:!1}),className:De()(ka,it[`${An}-${an}`],Wt),style:Fn,size:An,shape:an,loading:fn||ba},On),It)},en={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"},Tt=({className:Lt,style:_t,children:Wt=null,onClick:Fn,title:It})=>z.createElement("div",{className:De()(en.head,Lt),style:_t},z.createElement("span",{className:"primary-hover",onClick:Fn},z.createElement("i",{className:"iconfont icon-fanhui2 font12"}),"\u8FD4\u56DE"),z.createElement("b",{title:It},It),z.createElement("div",{className:en.node},Wt)),Nt={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"},ln=({confirmShow:Lt=!0,confirmTitle:_t,confirmClick:Wt,cancelShow:Fn=!0,cancelTitle:It,cancelClick:ba,className:Zn,style:pa,confirmLoading:An=!1})=>z.createElement("div",{className:De()(Nt.btns,Zn),style:pa},Lt&&z.createElement(pe.ZP,{loading:An,onClick:Wt,type:"primary",className:Nt.confirm},_t),Fn&&z.createElement(pe.ZP,{onClick:ba,className:Nt.cancel},It)),dn={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"},zn=({className:Lt,style:_t={},LeftContent:Wt,children:Fn,RightContent:It})=>z.createElement("div",{className:De()(dn.fixedBottom,Lt),style:_t},z.createElement("div",{className:dn.wrap},z.createElement("div",{className:dn.left},Wt),z.createElement("div",{className:dn.center},Fn),z.createElement("div",{className:dn.right},It))),Mt={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"},Gt=({className:Lt,style:_t={},dataSource:Wt=[]})=>z.createElement("div",{className:De()(Mt.crumbs,Lt),style:_t},Wt.map((Fn,It)=>It<Wt.length-1?z.createElement(z.Fragment,{key:It},Fn.path||Fn.onClick?z.createElement("span",{className:Mt.hover,onClick:Fn!=null&&Fn.onClick?Fn.onClick:()=>Ot.history.push(Fn.path)},Fn.name):z.createElement("span",null,Fn.name),z.createElement("span",null,"\xA0",">","\xA0")):z.createElement("span",{key:It,style:{color:"#5F6368"}},Fn.name))),un=ne(31797),tn=Object.defineProperty,Qn=Object.defineProperties,ca=Object.getOwnPropertyDescriptors,Pn=Object.getOwnPropertySymbols,Ut=Object.prototype.hasOwnProperty,Xn=Object.prototype.propertyIsEnumerable,et=(Lt,_t,Wt)=>_t in Lt?tn(Lt,_t,{enumerable:!0,configurable:!0,writable:!0,value:Wt}):Lt[_t]=Wt,Ht=(Lt,_t)=>{for(var Wt in _t||(_t={}))Ut.call(_t,Wt)&&et(Lt,Wt,_t[Wt]);if(Pn)for(var Wt of Pn(_t))Xn.call(_t,Wt)&&et(Lt,Wt,_t[Wt]);return Lt},qt=(Lt,_t)=>Qn(Lt,ca(_t)),on=(Lt,_t)=>{var Wt={};for(var Fn in Lt)Ut.call(Lt,Fn)&&_t.indexOf(Fn)<0&&(Wt[Fn]=Lt[Fn]);if(Lt!=null&&Pn)for(var Fn of Pn(Lt))_t.indexOf(Fn)<0&&Xn.call(Lt,Fn)&&(Wt[Fn]=Lt[Fn]);return Wt};const{Countdown:yn}=un.default;var mn=Lt=>{var _t=Lt,{onChange:Wt}=_t,Fn=on(_t,["onChange"]);const[It,ba]=(0,z.useState)(null);(0,z.useEffect)(()=>{typeof It=="number"&&It>=0&&Wt(It)},[It]);const Zn=pa=>{const An=Math.floor(pa/1e3);ba(An)};return z.createElement(yn,qt(Ht({},Fn),{onChange:Zn}))},qe={ClassRoomItem:"ClassRoomItem___F4pL0",TitleDom:"TitleDom___DB76T"},$e=({DataProps:Lt,className:_t,style:Wt={}})=>{var Fn;return z.createElement("div",{className:De()("rounded-40px bg-white py-10px pb-30px px-30px flex gap-22px current h-full",qe.ClassRoomItem,_t),style:Wt,onClick:()=>{(0,ze.xg)(Lt==null?void 0:Lt.first_category_url)}},z.createElement("div",{className:"flex flex-col item-center"},z.createElement("img",{src:`${(Fn=Ue.Z)==null?void 0:Fn.IMG_SERVER}/images/${Lt==null?void 0:Lt.avatar_url}`,className:"rounded-full",style:{height:76,width:76,marginTop:"-24px"}}),(Lt==null?void 0:Lt.subject_identifier)&&z.createElement("div",{className:"mt-40px"},z.createElement("div",{className:"rounded-full",style:{background:"rgba(33,202,159,0.1)",border:"1px solid #6BFF98",color:"#0EA17B"}},"\u5F00\u653E\u8BFE\u7A0B"),z.createElement("div",{className:"rounded-full",style:{background:"rgba(255,160,0,0.1)",border:"1px solid #FFC055",color:"#C97319"}},"\u5F00\u653E\u8BFE\u5802"))),z.createElement("div",{className:"flex-1 flex flex-col justify-between gap-10px"},z.createElement("div",{className:"multi_ellipsis2",style:{height:48}},!!(Lt!=null&&Lt.is_public)&&z.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"),z.createElement("span",{className:De()("text-16px font-medium",qe.TitleDom)},Lt==null?void 0:Lt.name)),z.createElement("div",{className:"c-grey-333 font-medium"},Lt==null?void 0:Lt.creator),z.createElement("div",{className:"c-grey-333"},"\u6210\u5458\uFF1A",Lt==null?void 0:Lt.course_members_count),z.createElement("div",{className:"c-grey-333 flex item-center justify-between"},z.createElement("div",null,"\u4F5C\u4E1A\uFF1A",Lt==null?void 0:Lt.tasks_count),Lt!=null&&Lt.is_end?z.createElement("div",{style:{color:"#5F6A95"}},"\u5DF2\u7ED3\u675F"):z.createElement("div",{style:{color:"#37AD83"}},"\u8FDB\u884C\u4E2D"))))},kt=Object.defineProperty,Kt=Object.getOwnPropertySymbols,jt=Object.prototype.hasOwnProperty,Sn=Object.prototype.propertyIsEnumerable,cn=(Lt,_t,Wt)=>_t in Lt?kt(Lt,_t,{enumerable:!0,configurable:!0,writable:!0,value:Wt}):Lt[_t]=Wt,sn=(Lt,_t)=>{for(var Wt in _t||(_t={}))jt.call(_t,Wt)&&cn(Lt,Wt,_t[Wt]);if(Kt)for(var Wt of Kt(_t))Sn.call(_t,Wt)&&cn(Lt,Wt,_t[Wt]);return Lt},Ea=({DataProps:Lt=[],selectValue:_t,onChange:Wt,className:Fn,style:It={},extra:ba,classNameItem:Zn,styleItem:pa={},barHidden:An})=>{const[an,gn]=(0,z.useState)();return(0,z.useEffect)(()=>{gn(Array.isArray(_t)?_t:[_t])},[_t]),z.createElement("div",{className:De()("flex px-20px py-10px gap-40px",Fn),style:sn({borderBottom:"1px solid #D3F0FF"},It)},Lt==null?void 0:Lt.map(On=>z.createElement("div",{key:On==null?void 0:On.id,className:De()("flex item-center justify-center current c-grey-333 text-16 relative",Zn,On==null?void 0:On.className),style:sn(sn({color:an!=null&&an.includes(On==null?void 0:On.id)?"#1890FF":"",minWidth:88},pa),(On==null?void 0:On.style)||{}),onClick:fn=>{Wt==null||Wt({domEvent:fn,item:On}),On!=null&&On.link&&Ot.history.push(On==null?void 0:On.link)}},On==null?void 0:On.name,!An&&(an==null?void 0:an.includes(On==null?void 0:On.id))&&z.createElement("div",{className:"absolute w-full h-2px",style:{background:"#1890FF",bottom:"-10px",left:0}}))),z.createElement("div",{className:"ml-auto"},ba))},Qt=Object.defineProperty,Kn=Object.defineProperties,ua=Object.getOwnPropertyDescriptors,Pa=Object.getOwnPropertySymbols,pn=Object.prototype.hasOwnProperty,ea=Object.prototype.propertyIsEnumerable,Ha=(Lt,_t,Wt)=>_t in Lt?Qt(Lt,_t,{enumerable:!0,configurable:!0,writable:!0,value:Wt}):Lt[_t]=Wt,ta=(Lt,_t)=>{for(var Wt in _t||(_t={}))pn.call(_t,Wt)&&Ha(Lt,Wt,_t[Wt]);if(Pa)for(var Wt of Pa(_t))ea.call(_t,Wt)&&Ha(Lt,Wt,_t[Wt]);return Lt},ja=(Lt,_t)=>Kn(Lt,ua(_t)),Ua=({value:Lt,onChange:_t,onInputChange:Wt,className:Fn,style:It={},InputProps:ba})=>{const[Zn,pa]=(0,z.useState)(Lt);return z.createElement("div",{className:De()("flex item-center rounded-full px-10px py-2px",Fn),style:ta({background:"linear-gradient( #E4F6FF 0%, #EAF3FF 100%)",border:"1px solid #fff",boxShadow:"inset 0px 1px 3px 0px rgba(133,188,255,0.5)"},It)},z.createElement(ae.default,ja(ta({bordered:!1},ba),{onChange:An=>{pa(An.target.value),Wt==null||Wt(encodeURIComponent(An.target.value))},onPressEnter:An=>{_t==null||_t({domEvent:An,item:{value:Zn}})}})),z.createElement("img",{className:"h-22px current",src:ne(25365),height:22,onClick:An=>{_t==null||_t({domEvent:An,item:{value:Zn}})}}))}},17904:function(ft,vt,ne){"use strict";ne.d(vt,{Z:function(){return ie}});var z=ne(59301);function ie(Pe,Me){const be=(0,z.useRef)();(0,z.useEffect)(()=>{be.current=Pe}),(0,z.useEffect)(()=>{function xe(){be.current()}if(Me!==null){let re=setInterval(xe,Me);return()=>clearInterval(re)}},[Me])}},55956:function(ft,vt,ne){"use strict";ne.d(vt,{h:function(){return z}});var z=(ie=>(ie[ie.NOMATCH=-1]="NOMATCH",ie[ie.OK=0]="OK",ie[ie.TIMEOUT=2]="TIMEOUT",ie[ie.PODFAILURE=3]="PODFAILURE",ie[ie.COMPILEFAILURE=4]="COMPILEFAILURE",ie[ie.EXECUTEFAILURE=5]="EXECUTEFAILURE",ie[ie.HIDE_COMPILE_STATUS=11]="HIDE_COMPILE_STATUS",ie))(z||{})},50582:function(ft,vt,ne){"use strict";ne.d(vt,{H7:function(){return E},MK:function(){return oe},MU:function(){return Ae},X6:function(){return je},bM:function(){return Ne},fi:function(){return a},fu:function(){return De},n4:function(){return b},rX:function(){return Ee},vl:function(){return y},zO:function(){return Le}});var z=ne(82093),ie=Object.defineProperty,Pe=Object.getOwnPropertySymbols,Me=Object.prototype.hasOwnProperty,be=Object.prototype.propertyIsEnumerable,xe=(x,ee,te)=>ee in x?ie(x,ee,{enumerable:!0,configurable:!0,writable:!0,value:te}):x[ee]=te,re=(x,ee)=>{for(var te in ee||(ee={}))Me.call(ee,te)&&xe(x,te,ee[te]);if(Pe)for(var te of Pe(ee))be.call(ee,te)&&xe(x,te,ee[te]);return x};function De(x,ee){return(0,z.U2)(`myproblems/${x}.json`,re({hidePopLogin:!0},ee||{}))}function Ne(x,ee){return(0,z.v_)(`myproblems/${x}/code_submit.json`,ee)}function Ae(x,ee){return(0,z.v_)(`myproblems/${x}/code_debug.json`,ee)}function Le(x,ee){return ee.language&&(ee.language=encodeURIComponent(ee.language)),(0,z.U2)(`myproblems/${x}/submit_records.json`,ee)}function je(x){return(0,z.U2)("myproblems/record_detail.json",{id:x})}function Ee(x,ee){return(0,z.U2)(`myproblems/${x}/result.json`,{mode:ee})}function oe(x,ee){return(0,z.v_)(`myproblems/${x}/add_notes.json`,ee)}function E(x,ee){return(0,z.v_)(`myproblems/${x}/restore_initial_code.json`,ee)}function a(x){return(0,z.v_)(`myproblems/${x}/sync_code.json`)}function b(x,ee){return(0,z.v_)(`myproblems/${x}/update_code.json`,ee)}function y(x,ee){return(0,z.v_)(`discusses/${x}/plus.json`,ee)}},81150:function(ft,vt,ne){"use strict";ne.d(vt,{Z:function(){return il}});var z=ne(59301),ie={flex_box_center:"flex_box_center___bZaL5",flex_space_between:"flex_space_between___oaJSq",flex_box_vertical_center:"flex_box_vertical_center____hsuP",flex_box_center_end:"flex_box_center_end___ZYbPQ",flex_box_column:"flex_box_column___nE_62",wrap:"wrap___ulhwR",left:"left___kyWln",title:"title___jsO1D",total:"total___GEhiU",list:"list___u9dBZ",name:"name___Wxggs",b:"b___Y15YO",r:"r___mKQoe",l:"l___uelFD",tag:"tag___Mpkbg",right:"right___mQ3dU",examName:"examName___Na1r8",t:"t___IgCWK",num:"num___CXI8j",topWarp:"topWarp___Kicpu",head:"head___jx3W8",so:"so___qYW7F",btn:"btn___EMJDz",content:"content___sHGsV",titleWrap:"titleWrap___I__GR",single:"single___K5iv9",analysis:"analysis___NoAuR",text:"text___xESW2",modalColumn:"modalColumn___I_tK_",modalRow:"modalRow___lyw_U",sup:"sup___HSz3Z",popover:"popover___kE8aI"},Pe=ne(78241),Me=ne(6848),be=ne(3113),xe=ne(43418),re=ne(5871),De=ne(8591),Ne=ne(92832),Ae=ne(28103),Le=ne(24905),je=ne(95237),Ee=ne(43604),oe=ne(58421),E=ne(60324),a=Object.defineProperty,b=Object.getOwnPropertySymbols,y=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable,ee=(Oe,Ve,Ye)=>Ve in Oe?a(Oe,Ve,{enumerable:!0,configurable:!0,writable:!0,value:Ye}):Oe[Ve]=Ye,te=(Oe,Ve)=>{for(var Ye in Ve||(Ve={}))y.call(Ve,Ye)&&ee(Oe,Ye,Ve[Ye]);if(b)for(var Ye of b(Ve))x.call(Ve,Ye)&&ee(Oe,Ye,Ve[Ye]);return Oe};const ae=Oe=>React.createElement("svg",te({width:34,height:34,xmlns:"http://www.w3.org/2000/svg"},Oe),React.createElement("title",null,"\u7F16\u7EC4 6"),React.createElement("g",{fill:"none",fillRule:"evenodd"},React.createElement("rect",{fill:"#E4E6FD",width:34,height:34,rx:10}),React.createElement("g",{fillRule:"nonzero"},React.createElement("path",{d:"M13.808 11.448a.558.558 0 0 1 0 .788l-1.564 1.565a.558.558 0 1 1-.789-.79l1.564-1.563a.558.558 0 0 1 .79 0Zm9.882 2.462a.558.558 0 0 1-.789 0l-1.564-1.563a.558.558 0 1 1 .789-.789l1.564 1.564a.556.556 0 0 1 0 .788Z",fill:"#6678EB"}),React.createElement("path",{d:"M21.753 21.707a5.937 5.937 0 1 0-8.58.015l-.937.936a.558.558 0 1 0 .789.788l.995-.994a5.91 5.91 0 0 0 3.436 1.095c1.287 0 2.48-.41 3.452-1.106l.992.992a.558.558 0 1 0 .789-.789l-.936-.937Z",fill:"#6678EB"}),React.createElement("path",{d:"m20.858 18.95-3.024-1.745v-2.054a.558.558 0 1 0-1.117 0v2.351c0 .064.011.126.031.184a.551.551 0 0 0 .258.33l3.293 1.9a.557.557 0 0 0 .559-.966Z",fill:"#FFF"}))));var ue="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzQiIGhlaWdodD0iMzQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48cmVjdCBmaWxsPSIjRTRFNkZEIiB3aWR0aD0iMzQiIGhlaWdodD0iMzQiIHJ4PSIxMCIvPjxnIGZpbGwtcnVsZT0ibm9uemVybyI+PHBhdGggZD0iTTEzLjgwOCAxMS40NDhhLjU1OC41NTggMCAwIDEgMCAuNzg4bC0xLjU2NCAxLjU2NWEuNTU4LjU1OCAwIDEgMS0uNzg5LS43OWwxLjU2NC0xLjU2M2EuNTU4LjU1OCAwIDAgMSAuNzkgMFptOS44ODIgMi40NjJhLjU1OC41NTggMCAwIDEtLjc4OSAwbC0xLjU2NC0xLjU2M2EuNTU4LjU1OCAwIDEgMSAuNzg5LS43ODlsMS41NjQgMS41NjRhLjU1Ni41NTYgMCAwIDEgMCAuNzg4WiIgZmlsbD0iIzY2NzhFQiIvPjxwYXRoIGQ9Ik0yMS43NTMgMjEuNzA3YTUuOTM3IDUuOTM3IDAgMSAwLTguNTguMDE1bC0uOTM3LjkzNmEuNTU4LjU1OCAwIDEgMCAuNzg5Ljc4OGwuOTk1LS45OTRhNS45MSA1LjkxIDAgMCAwIDMuNDM2IDEuMDk1YzEuMjg3IDAgMi40OC0uNDEgMy40NTItMS4xMDZsLjk5Mi45OTJhLjU1OC41NTggMCAxIDAgLjc4OS0uNzg5bC0uOTM2LS45MzdaIiBmaWxsPSIjNjY3OEVCIi8+PHBhdGggZD0ibTIwLjg1OCAxOC45NS0zLjAyNC0xLjc0NXYtMi4wNTRhLjU1OC41NTggMCAxIDAtMS4xMTcgMHYyLjM1MWMwIC4wNjQuMDExLjEyNi4wMzEuMTg0YS41NTEuNTUxIDAgMCAwIC4yNTguMzNsMy4yOTMgMS45YS41NTcuNTU3IDAgMCAwIC41NTktLjk2NloiIGZpbGw9IiNGRkYiLz48L2c+PC9nPjwvc3ZnPg==",de=ne(7664),me=ne(76560),Be=ne(49661),ve=ne(82093),Fe=Object.defineProperty,ge=Object.getOwnPropertySymbols,Je=Object.prototype.hasOwnProperty,Ie=Object.prototype.propertyIsEnumerable,Ue=(Oe,Ve,Ye)=>Ve in Oe?Fe(Oe,Ve,{enumerable:!0,configurable:!0,writable:!0,value:Ye}):Oe[Ve]=Ye,ze=(Oe,Ve)=>{for(var Ye in Ve||(Ve={}))Je.call(Ve,Ye)&&Ue(Oe,Ye,Ve[Ye]);if(ge)for(var Ye of ge(Ve))Ie.call(Ve,Ye)&&Ue(Oe,Ye,Ve[Ye]);return Oe};const Ke=Oe=>React.createElement("svg",ze({width:34,height:34,xmlns:"http://www.w3.org/2000/svg"},Oe),React.createElement("title",null,"\u7F16\u7EC4 12"),React.createElement("g",{fill:"none",fillRule:"evenodd"},React.createElement("rect",{width:34,height:34,rx:10,fill:"#EAF3F4"}),React.createElement("path",{d:"M25.905 15.37a.775.775 0 0 0-.626-.529l-4.814-.7-2.152-4.362a.776.776 0 0 0-1.392 0l-2.153 4.363-4.814.699a.775.775 0 0 0-.43 1.323l3.484 3.396-.823 4.794a.777.777 0 0 0 1.126.818l4.306-2.264 4.305 2.264a.778.778 0 0 0 .817-.059.777.777 0 0 0 .31-.759l-.823-4.794 3.483-3.396a.777.777 0 0 0 .196-.795Z",fill:"#21C0A6",fillRule:"nonzero"})));var lt="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzQiIGhlaWdodD0iMzQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48cmVjdCB3aWR0aD0iMzQiIGhlaWdodD0iMzQiIHJ4PSIxMCIgZmlsbD0iI0VBRjNGNCIvPjxwYXRoIGQ9Ik0yNS45MDUgMTUuMzdhLjc3NS43NzUgMCAwIDAtLjYyNi0uNTI5bC00LjgxNC0uNy0yLjE1Mi00LjM2MmEuNzc2Ljc3NiAwIDAgMC0xLjM5MiAwbC0yLjE1MyA0LjM2My00LjgxNC42OTlhLjc3NS43NzUgMCAwIDAtLjQzIDEuMzIzbDMuNDg0IDMuMzk2LS44MjMgNC43OTRhLjc3Ny43NzcgMCAwIDAgMS4xMjYuODE4bDQuMzA2LTIuMjY0IDQuMzA1IDIuMjY0YS43NzguNzc4IDAgMCAwIC44MTctLjA1OS43NzcuNzc3IDAgMCAwIC4zMS0uNzU5bC0uODIzLTQuNzk0IDMuNDgzLTMuMzk2YS43NzcuNzc3IDAgMCAwIC4xOTYtLjc5NVoiIGZpbGw9IiMyMUMwQTYiIGZpbGwtcnVsZT0ibm9uemVybyIvPjwvZz48L3N2Zz4=",St=Object.defineProperty,ot=Object.getOwnPropertySymbols,Bt=Object.prototype.hasOwnProperty,Qe=Object.prototype.propertyIsEnumerable,yt=(Oe,Ve,Ye)=>Ve in Oe?St(Oe,Ve,{enumerable:!0,configurable:!0,writable:!0,value:Ye}):Oe[Ve]=Ye,Ft=(Oe,Ve)=>{for(var Ye in Ve||(Ve={}))Bt.call(Ve,Ye)&&yt(Oe,Ye,Ve[Ye]);if(ot)for(var Ye of ot(Ve))Qe.call(Ve,Ye)&&yt(Oe,Ye,Ve[Ye]);return Oe};const Te=Oe=>React.createElement("svg",Ft({width:34,height:34,xmlns:"http://www.w3.org/2000/svg"},Oe),React.createElement("title",null,"\u9898\u76EE"),React.createElement("g",{fill:"none",fillRule:"evenodd"},React.createElement("rect",{fill:"#E7F3FF",width:34,height:34,rx:10}),React.createElement("g",{fill:"#4C6FFF",fillRule:"nonzero"},React.createElement("path",{d:"m23.719 13.325-4.098-3.94c-.097-.13-.225-.162-.355-.162-.129 0-.258.064-.387.161l-7.55 7.753c-.065.065-.098.162-.13.227l-1.032 5.427c-.033.194.032.323.16.484.13.13.227.162.389.162h.096l4.776-1.099c.097-.032.194-.064.258-.161l7.841-8.108c.194-.162.194-.517.033-.744h-.001Zm-8.1 8.044a.534.534 0 0 1-.386.162.56.56 0 0 1-.388-.162l-3-2.81c-.226-.194-.226-.517-.033-.743.194-.227.517-.227.743-.033l3 2.811c.259.226.291.55.065.776ZM17 22.92h6.844v1.055H17z"}))));var Ge="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzQiIGhlaWdodD0iMzQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48cmVjdCBmaWxsPSIjRTdGM0ZGIiB3aWR0aD0iMzQiIGhlaWdodD0iMzQiIHJ4PSIxMCIvPjxnIGZpbGw9IiM0QzZGRkYiIGZpbGwtcnVsZT0ibm9uemVybyI+PHBhdGggZD0ibTIzLjcxOSAxMy4zMjUtNC4wOTgtMy45NGMtLjA5Ny0uMTMtLjIyNS0uMTYyLS4zNTUtLjE2Mi0uMTI5IDAtLjI1OC4wNjQtLjM4Ny4xNjFsLTcuNTUgNy43NTNjLS4wNjUuMDY1LS4wOTguMTYyLS4xMy4yMjdsLTEuMDMyIDUuNDI3Yy0uMDMzLjE5NC4wMzIuMzIzLjE2LjQ4NC4xMy4xMy4yMjcuMTYyLjM4OS4xNjJoLjA5Nmw0Ljc3Ni0xLjA5OWMuMDk3LS4wMzIuMTk0LS4wNjQuMjU4LS4xNjFsNy44NDEtOC4xMDhjLjE5NC0uMTYyLjE5NC0uNTE3LjAzMy0uNzQ0aC0uMDAxWm0tOC4xIDguMDQ0YS41MzQuNTM0IDAgMCAxLS4zODYuMTYyLjU2LjU2IDAgMCAxLS4zODgtLjE2MmwtMy0yLjgxYy0uMjI2LS4xOTQtLjIyNi0uNTE3LS4wMzMtLjc0My4xOTQtLjIyNy41MTctLjIyNy43NDMtLjAzM2wzIDIuODExYy4yNTkuMjI2LjI5MS41NS4wNjUuNzc2Wk0xNyAyMi45Mmg2Ljg0NHYxLjA1NUgxN3oiLz48L2c+PC9nPjwvc3ZnPg==",gt=ne(1198),Zt=ne(89389),mt=ne(48106),Ot=ne(20927),Se={wrap:"wrap___OIoOI",modal:"modal___Z3hfU",titleWrap:"titleWrap___aK3oG",required:"required___NHoO7",title:"title___uxb1R",colorGray:"colorGray___O8YPg",choiceWrap:"choiceWrap___t51sb",answer:"answer___vsBnh",activeAnswer:"activeAnswer___AJN4p",deleteIcon:"deleteIcon___WvOJZ",addIcon:"addIcon___UyeIs",editorWrap:"editorWrap___uqcFU",htmlWrap:"htmlWrap___GcBNL",radio:"radio___e8qQ5",color333:"color333___PLzVK",color999:"color999___v3EY0",fold:"fold___OfvPe",head:"head___EejYX",collapseWrapper:"collapseWrapper___sQyVD",panelHeader:"panelHeader___Ivicf",open:"open___aEOQE",close:"close___z4P5H",inputBorder:"inputBorder___ix67O",keywordTag:"keywordTag___iGx08",scoreByBlankRadio:"scoreByBlankRadio___Kwu7q"},Ct=ne(59301),Jt=Object.defineProperty,Pt=Object.defineProperties,ut=Object.getOwnPropertyDescriptors,We=Object.getOwnPropertySymbols,Re=Object.prototype.hasOwnProperty,he=Object.prototype.propertyIsEnumerable,ce=(Oe,Ve,Ye)=>Ve in Oe?Jt(Oe,Ve,{enumerable:!0,configurable:!0,writable:!0,value:Ye}):Oe[Ve]=Ye,_e=(Oe,Ve)=>{for(var Ye in Ve||(Ve={}))Re.call(Ve,Ye)&&ce(Oe,Ye,Ve[Ye]);if(We)for(var Ye of We(Ve))he.call(Ve,Ye)&&ce(Oe,Ye,Ve[Ye]);return Oe},it=(Oe,Ve)=>Pt(Oe,ut(Ve)),pe=(Oe,Ve)=>{var Ye={};for(var Et in Oe)Re.call(Oe,Et)&&Ve.indexOf(Et)<0&&(Ye[Et]=Oe[Et]);if(Oe!=null&&We)for(var Et of We(Oe))Ve.indexOf(Et)<0&&he.call(Oe,Et)&&(Ye[Et]=Oe[Et]);return Ye};const fe=null,Xe=(Oe,Ve)=>{var Ye=Oe,{globalSetting:Et,loading:da,dispatch:Hn,isEdit:ya,editData:Un}=Ye,Yn=pe(Ye,["globalSetting","loading","dispatch","isEdit","editData"]);const[Ia,ga]=(0,z.useState)(""),[Ma,eo]=(0,z.useState)(""),[Za,Bn]=(0,z.useState)([]),[qn,xa]=(0,z.useState)(""),[Aa,aa]=(0,z.useState)(),[_a,La]=(0,z.useState)(!1),[Nn,Wn]=(0,z.useState)({}),[Dn,Tn]=(0,z.useState)([]);(0,z.useEffect)(()=>{!Un||!ya||(ga(Un==null?void 0:Un.name),eo(Un==null?void 0:Un.analysis),aa(Un==null?void 0:Un.is_ordered),Wn(Un),La(!0))},[Un]),(0,z.useEffect)(()=>{if(!_a)return;const Wa=Un==null?void 0:Un.standard_answer.map(vo=>vo==null?void 0:vo.answer_text);Bn(Wa);const mo=Un==null?void 0:Un.standard_answer.map(vo=>vo==null?void 0:vo.score);Tn(mo),La(!1)},[_a]),(0,z.useImperativeHandle)(Ve,()=>({onSave:Xa,Clear:fo}));const Xa=()=>{let Wa=[],mo=!1;return Ia?(Za.forEach((vo,So)=>{Wa.push({position:So+1,answer_text:[],score:Dn[So]}),vo==null||vo.forEach((nr,ai)=>{Wa[So].answer_text.push(nr),(!nr||!(0,Be.eR)(nr,1e4))&&(xa(`${So}-${ai}`),De.ZP.info(nr?"\u7B54\u6848\u4E0D\u80FD\u8D85\u8FC710000\u5B57\u7B26":"\u7B54\u6848\uFF1A\u4E0D\u80FD\u4E3A\u7A7A"),mo=!0)})}),mo?!1:(Wa==null?void 0:Wa.length)>20?(De.ZP.warning("\u586B\u7A7A\u9898\u6807\u51C6\u7B54\u6848\u4E0D\u80FD\u4E3A\u7A7A/\u4E0D\u80FD\u8D85\u8FC720\u4E2A\uFF01"),!1):{name:Ia,analysis:Ma,standard_answers:Wa,is_ordered:Aa,downcase:Nn==null?void 0:Nn.downcase,no_space:Nn==null?void 0:Nn.no_space,use_blank_score:Nn==null?void 0:Nn.use_blank_score}):(De.ZP.info("\u8BF7\u60A8\u8F93\u5165\u9898\u5E72"),!1)},fo=()=>{ga(""),eo(""),Bn([]),aa(!1)},Lo=(Wa,mo,vo)=>{const So=Za.slice();if(mo&&So.splice(Wa,mo),vo)for(let nr=0;nr<vo;nr++)So.splice(Wa+nr,0,[""]);Bn(So)},Jo=(Wa,mo,vo)=>{xa("");let So=Za.slice();So[Wa][mo]=vo,Bn(So)},ma=Wa=>{let mo=Za.slice();mo[Wa]=[...mo[Wa],""],Bn(mo)},er=(Wa,mo)=>{let vo=Za.slice();if(!vo[Wa][mo]){vo[Wa]=vo[Wa].filter((So,nr)=>nr!==mo),Bn(vo);return}xe.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:"\u786E\u8BA4\u8981\u5220\u9664\u8FD9\u4E2A\u53C2\u8003\u7B54\u6848\u5417\uFF1F",className:Se.modal,onOk:()=>{vo[Wa]=vo[Wa].filter((So,nr)=>nr!==mo),Bn(vo)}})},tr=Wa=>{xe.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:"\u786E\u8BA4\u8981\u5220\u9664\u8FD9\u4E2A\u53C2\u8003\u7B54\u6848\u5417\uFF1F",className:Se.modal,onOk:()=>{let mo=Za.slice();mo=Za.filter((vo,So)=>Wa!==So),Bn(mo)}})};return Ct.createElement("section",{className:Se.wrap},Ct.createElement("p",{className:Se.titleWrap},Ct.createElement("span",{className:Se.required},"*"),Ct.createElement("span",{className:Se.title},"\u9898\u5E72\uFF1A")),Ct.createElement("div",null,Ct.createElement(mt.Z,{id:"completion-question-tittle",placeholder:"\u8BF7\u60A8\u8F93\u5165\u9898\u76EE",height:155,defaultValue:Ia,onChange:Wa=>ga(Wa),showNullButton:!0,onPlaceholderChange:Lo})),Ct.createElement("div",{className:"mt20"},Za.map((Wa,mo)=>Ct.createElement("div",{style:{display:"flex"}},Ct.createElement("div",{style:{flex:1}},Ct.createElement(Ot.Z,{key:mo,answers:Wa,index:mo,flex:1,is_md:!0,activeOptionErrorIndex:qn,onAnswerChange:Jo,addChildAnswer:ma,deleteChildAnswer:er,deleteChildAnswermain:tr})),Nn.use_blank_score&&Ct.createElement("div",{style:{display:"flex",alignItems:"center",width:"165px"}},Ct.createElement("span",{style:{color:"red",margin:"auto 5px auto 10px"}},"*"),"\u5206\u503C\uFF1A",Ct.createElement(re.Z,{style:{width:"100px"},size:"large",defaultValue:Dn[mo],onBlur:vo=>{Dn[mo]=vo.target.value,Tn([...Dn])}}))))),Ct.createElement("div",null,Ct.createElement(Le.default,{className:`${Se.color333} font14 mt20`,checked:Nn.use_blank_score,onChange:Wa=>Wn(it(_e({},Nn),{use_blank_score:Wa.target.checked}))},"\u5224\u5206\u65F6\u6309\u7A7A\u7ED9\u5206"),Ct.createElement("span",{style:{color:"#999999",fontSize:"12px"}},"\uFF08\u9009\u4E2D\uFF0C\u5219\u9700\u8981\u8BBE\u7F6E\u6BCF\u7A7A\u5206\u503C\uFF0C\u5B66\u751F\u7B54\u6848\u5224\u5206\u65F6\u6309\u7A7A\u7ED9\u5206\uFF09")),Ct.createElement("div",null,Ct.createElement(Le.default,{className:`${Se.color333} font14 mt20`,checked:Nn.downcase,onChange:Wa=>Wn(it(_e({},Nn),{downcase:Wa.target.checked}))},"\u5224\u5206\u65F6\u5FFD\u7565\u7B54\u6848\u4E2D\u7684\u5B57\u6BCD\u5927\u5C0F\u5199")),Ct.createElement("div",null,Ct.createElement(Le.default,{className:`${Se.color333} font14 mt20`,checked:Nn.no_space,onChange:Wa=>Wn(it(_e({},Nn),{no_space:Wa.target.checked}))},"\u5224\u5206\u65F6\u5FFD\u7565\u7B54\u6848\u4E2D\u7684\u7A7A\u683C")),Ct.createElement("div",{className:"mt20"},(Za==null?void 0:Za.length)>1&&Ct.createElement("span",null,Ct.createElement(Le.default,{checked:Aa,onChange:Wa=>aa(Wa.target.checked),className:`${Se.color333} font14`},"\u591A\u4E2A\u586B\u7A7A\u7684\u7B54\u6848\u6709\u987A\u5E8F\u8981\u6C42"),Ct.createElement("span",{className:`${Se.color999} font12`},"\uFF08\u9009\u4E2D\uFF0C\u6BCF\u4E2A\u586B\u7A7A\u7684\u7B54\u6848\u987A\u5E8F\u5FC5\u987B\u4E0E\u53C2\u8003\u7B54\u6848\u4E00\u81F4\uFF09"))),Ct.createElement("p",{className:Se.titleWrap},Ct.createElement("span",{className:Se.title},"\u9898\u76EE\u89E3\u6790\uFF1A")),Ct.createElement(Zt.Z,{id:"single-question-answer",watch:!0,height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9898\u76EE\u89E3\u6790",defaultValue:Ma,onChange:Wa=>eo(Wa)}))};var ke=(0,me.connect)(({loading:Oe,globalSetting:Ve})=>({globalSetting:Ve,loading:Oe.effects}),null,null,{forwardRef:!0})((0,z.forwardRef)(Xe)),Ce=ne(5112),tt=Object.getOwnPropertySymbols,Rt=Object.prototype.hasOwnProperty,dt=Object.prototype.propertyIsEnumerable,wt=(Oe,Ve)=>{var Ye={};for(var Et in Oe)Rt.call(Oe,Et)&&Ve.indexOf(Et)<0&&(Ye[Et]=Oe[Et]);if(Oe!=null&&tt)for(var Et of tt(Oe))Ve.indexOf(Et)<0&&dt.call(Oe,Et)&&(Ye[Et]=Oe[Et]);return Ye};const At=null,zt=(Oe,Ve)=>{var Ye=Oe,{globalSetting:Et,loading:da,editData:Hn,dispatch:ya,onRef:Un=()=>{},isEdit:Yn}=Ye,Ia=wt(Ye,["globalSetting","loading","editData","dispatch","onRef","isEdit"]);const[ga,Ma]=(0,z.useState)(),[eo,Za]=(0,z.useState)(""),[Bn,qn]=(0,z.useState)("");(0,z.useEffect)(()=>{if(!Hn||!Yn)return;Za(Hn==null?void 0:Hn.name),qn(Hn==null?void 0:Hn.analysis);const aa=Hn==null?void 0:Hn.choices.find(_a=>_a.is_answer);Ma(aa.choice_text==="\u6B63\u786E"?"0":"1")},[Hn]),(0,z.useImperativeHandle)(Ve,()=>({onSave:xa,Clear:Aa}));const xa=()=>eo?ga?{name:eo,choices:[{choice_text:"\u6B63\u786E",is_answer:ga==="0"?1:0},{choice_text:"\u9519\u8BEF",is_answer:ga==="1"?1:0}],analysis:Bn}:(De.ZP.info("\u8BF7\u5148\u70B9\u51FB\u9009\u62E9\u672C\u9009\u62E9\u9898\u7684\u6B63\u786E\u9009\u9879"),!1):(De.ZP.info("\u8BF7\u60A8\u8F93\u5165\u9898\u5E72"),!1),Aa=()=>{Za(""),qn(""),Ma("")};return z.createElement("section",{className:Se.wrap},z.createElement("p",{className:Se.titleWrap},z.createElement("span",{className:Se.required},"*"),z.createElement("span",{className:Se.title},"\u9898\u5E72\uFF1A")),z.createElement(Zt.Z,{id:"single-question-title",watch:!0,height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9898\u5E72",defaultValue:eo,onChange:aa=>Za(aa)}),z.createElement("p",{className:Se.titleWrap},z.createElement("span",{className:Se.required},"*"),z.createElement("span",{className:Se.title},"\u7B54\u6848\u9009\u9879\uFF1A",z.createElement("span",{className:Se.colorGray},"\u70B9\u51FB\u9009\u9879\u53EF\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848"))),z.createElement(Ce.ZP.Group,{buttonStyle:"solid",value:ga,onChange:aa=>Ma(aa.target.value)},z.createElement(Ce.ZP.Button,{value:"0",className:`${Se.radio} mr40`},"\u6B63\u786E"),z.createElement(Ce.ZP.Button,{value:"1",className:Se.radio},"\u9519\u8BEF")),z.createElement("p",{className:Se.titleWrap},z.createElement("span",{className:Se.title},"\u9898\u76EE\u89E3\u6790\uFF1A")),z.createElement(Zt.Z,{id:"single-question-answer",watch:!0,height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9898\u76EE\u89E3\u6790",defaultValue:Bn,onChange:aa=>qn(aa)}))};var pt=(0,me.connect)(({loading:Oe,globalSetting:Ve})=>({globalSetting:Ve,loading:Oe.effects}),null,null,{forwardRef:!0})((0,z.forwardRef)(zt)),en=Object.getOwnPropertySymbols,nn=Object.prototype.hasOwnProperty,Tt=Object.prototype.propertyIsEnumerable,Nt=(Oe,Ve)=>{var Ye={};for(var Et in Oe)nn.call(Oe,Et)&&Ve.indexOf(Et)<0&&(Ye[Et]=Oe[Et]);if(Oe!=null&&en)for(var Et of en(Oe))Ve.indexOf(Et)<0&&Tt.call(Oe,Et)&&(Ye[Et]=Oe[Et]);return Ye};const $t=null,ln=(Oe,Ve)=>{var Ye=Oe,{globalSetting:Et,loading:da,editData:Hn,dispatch:ya,onRef:Un=()=>{},isEdit:Yn}=Ye,Ia=Nt(Ye,["globalSetting","loading","editData","dispatch","onRef","isEdit"]);const[ga,Ma]=(0,z.useState)([]);(0,z.useEffect)(()=>{var qn;if(!Hn||!Yn)return;const xa=(qn=Hn==null?void 0:Hn.shixun)==null?void 0:qn.challenges.map(Aa=>({id:Aa==null?void 0:Aa.id,score:Aa.score}));Ma(xa)},[Hn]),(0,z.useImperativeHandle)(Ve,()=>({onSave:eo,Clear:Za}));const eo=()=>({challenges:[...ga]}),Za=()=>{Ma([])};console.log("editData--",Hn);const Bn=qn=>{var xa,Aa;return z.createElement("div",null,(Aa=(xa=qn==null?void 0:qn.shixun)==null?void 0:xa.challenges)==null?void 0:Aa.map((aa,_a)=>{var La;return z.createElement("div",{className:"c-grey-666 font14 ml25",style:{display:"flex",alignItems:"center",justifyContent:"space-between",marginBottom:"15px"}},z.createElement("div",null,z.createElement("span",{className:"mr5"},"\u7B2C",_a+1,"\u5173"),z.createElement(Me.Z,{key:_a,title:aa==null?void 0:aa.challenge_name},z.createElement("span",null,(0,Be.Pq)(aa==null?void 0:aa.challenge_name,44)))),z.createElement("p",{style:{marginBottom:0}},z.createElement("span",{className:Se.required},"*"),z.createElement("span",{className:Se.title},"\u5206\u503C\uFF1A"),z.createElement(re.Z,{precision:1,min:1,max:100,className:Se.baseFormItem,style:{width:176},value:(La=ga.find(Nn=>Nn.id===aa.id))==null?void 0:La.score,onChange:Nn=>{ga.find(Wn=>Wn.id===aa.id).score=Nn,Ma([...ga])}})))}),z.createElement("div",{style:{clear:"both"}}))};return z.createElement("section",{className:Se.wrap},z.createElement(de.Z,{style:{paddingRight:10},className:Se.titleHtml,value:`${Hn==null?void 0:Hn.position}\u3001${Hn==null?void 0:Hn.name}`}),z.createElement("p",{style:{marginBottom:"10px",marginTop:"25px"}},z.createElement("span",{className:Se.required},"*"),z.createElement("span",{className:Se.title},"\u5173\u5361")),Bn(Hn))};var dn=(0,me.connect)(({loading:Oe,globalSetting:Ve})=>({globalSetting:Ve,loading:Oe.effects}),null,null,{forwardRef:!0})((0,z.forwardRef)(ln)),wn=Object.getOwnPropertySymbols,zn=Object.prototype.hasOwnProperty,Mt=Object.prototype.propertyIsEnumerable,Dt=(Oe,Ve)=>{var Ye={};for(var Et in Oe)zn.call(Oe,Et)&&Ve.indexOf(Et)<0&&(Ye[Et]=Oe[Et]);if(Oe!=null&&wn)for(var Et of wn(Oe))Ve.indexOf(Et)<0&&Mt.call(Oe,Et)&&(Ye[Et]=Oe[Et]);return Ye};const Gt=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],un=(Oe,Ve)=>{var Ye=Oe,{editData:Et,globalSetting:da,loading:Hn,dispatch:ya,onRef:Un=()=>{},isEdit:Yn}=Ye,Ia=Dt(Ye,["editData","globalSetting","loading","dispatch","onRef","isEdit"]);const[ga,Ma]=(0,z.useState)([]),[eo,Za]=(0,z.useState)(),[Bn,qn]=(0,z.useState)([]),[xa,Aa]=(0,z.useState)(""),[aa,_a]=(0,z.useState)("");(0,z.useEffect)(()=>{Ma(["","","",""])},[]),(0,z.useEffect)(()=>{if(!Et||!Yn)return;Aa(Et==null?void 0:Et.name),_a(Et==null?void 0:Et.analysis),Ma(Et==null?void 0:Et.choices.map(Dn=>Dn.choice_text));const Wn=[];Et==null||Et.choices.map((Dn,Tn)=>{Dn.is_answer&&Wn.push(Tn)}),qn(Wn)},[Et]),(0,z.useImperativeHandle)(Ve,()=>({onSave:La,Clear:Nn}));const La=()=>{if(!xa)return De.ZP.info("\u8BF7\u60A8\u8F93\u5165\u9898\u5E72"),!1;const Wn=ga.findIndex(Tn=>!Tn);if(Wn>-1)return De.ZP.info(`\u8BF7\u5148\u8F93\u5165 ${Gt[Wn]} \u9009\u9879\u7684\u5185\u5BB9`),!1;if(!Bn.length)return De.ZP.info("\u8BF7\u8BBE\u7F6E\u672C\u9898\u7684\u6B63\u786E\u7B54\u6848\uFF0C\u70B9\u51FB\u9009\u9879A/B...\u5373\u53EF\u5B8C\u6210\u8BBE\u7F6E"),!1;if(Bn.length<2)return De.ZP.info("\u591A\u9009\u9898\u6700\u5C0F\u6B63\u786E\u9009\u9879\u4E3A2\u4E2A"),!1;const Dn=ga.map((Tn,Xa)=>({choice_text:Tn,is_answer:Bn.includes(Xa)?1:0}));return{name:xa,choices:Dn,analysis:aa}},Nn=()=>{Ma(["","","",""]),Aa(""),_a(""),qn("")};return z.createElement("section",{className:Se.wrap},z.createElement("p",{className:Se.titleWrap},z.createElement("span",{className:Se.required},"*"),z.createElement("span",{className:Se.title},"\u9898\u5E72\uFF1A")),z.createElement(Zt.Z,{id:"single-question-title",watch:!0,height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9898\u5E72",defaultValue:xa,onChange:Wn=>Aa(Wn)}),z.createElement("p",{className:Se.titleWrap},z.createElement("span",{className:Se.required},"*"),z.createElement("span",{className:Se.title},"\u7B54\u6848\u9009\u9879\uFF1A",z.createElement("span",{className:Se.colorGray},"\u70B9\u51FB\u9009\u9879\u53EF\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848"))),ga.map((Wn,Dn)=>z.createElement("div",{className:Se.choiceWrap,key:Dn},z.createElement(Me.Z,{title:"\u70B9\u51FB\u8BBE\u7F6E\u4E3A\u6807\u51C6\u7B54\u6848",placement:"left"},z.createElement("div",{className:`${Se.answer} ${Bn.includes(Dn)?Se.activeAnswer:""}`,onClick:()=>{Bn.includes(Dn)?qn(Bn.filter(Tn=>Tn!==Dn)):qn([...Bn,Dn])}},Gt[Dn])),z.createElement("div",{className:Se.editorWrap},eo===Dn?z.createElement(Zt.Z,{id:`single-question-option-${Dn}`,watch:!0,height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9009\u9879",defaultValue:Wn,onChange:Tn=>{ga[Dn]=Tn,Ma(ga)}}):z.createElement("div",{className:Se.htmlWrap,onClick:()=>Za(Dn)},z.createElement(de.Z,{value:Wn}))),Dn>1&&z.createElement(Me.Z,{title:"\u5220\u9664"},z.createElement("i",{className:`${Se.deleteIcon} iconfont icon-htmal5icon19`,onClick:()=>{Ma(ga.filter((Tn,Xa)=>Xa!==Dn)),Bn.includes(Dn)?qn(Bn.filter(Tn=>Tn!==Dn)):qn([...Bn,Dn])}})),Dn<7&&Dn===ga.length-1&&z.createElement(Me.Z,{title:"\u65B0\u589E\u53C2\u8003\u7B54\u6848"},z.createElement("i",{className:`${Se.addIcon} iconfont icon-roundaddfill ml6`,onClick:()=>Ma([...ga,""])})))),z.createElement("p",{className:Se.titleWrap},z.createElement("span",{className:Se.title},"\u9898\u76EE\u89E3\u6790\uFF1A")),z.createElement(Zt.Z,{id:"single-question-answer",watch:!0,height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9898\u76EE\u89E3\u6790",defaultValue:aa,onChange:Wn=>_a(Wn)}))};var tn=(0,me.connect)(({loading:Oe,globalSetting:Ve})=>({globalSetting:Ve,loading:Oe.effects}),null,null,{forwardRef:!0})((0,z.forwardRef)(un)),Qn=Object.getOwnPropertySymbols,ca=Object.prototype.hasOwnProperty,Pn=Object.prototype.propertyIsEnumerable,Ut=(Oe,Ve)=>{var Ye={};for(var Et in Oe)ca.call(Oe,Et)&&Ve.indexOf(Et)<0&&(Ye[Et]=Oe[Et]);if(Oe!=null&&Qn)for(var Et of Qn(Oe))Ve.indexOf(Et)<0&&Pn.call(Oe,Et)&&(Ye[Et]=Oe[Et]);return Ye};const Xn=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],et=(Oe,Ve)=>{var Ye=Oe,{editData:Et,globalSetting:da,loading:Hn,dispatch:ya,onRef:Un=()=>{},isEdit:Yn}=Ye,Ia=Ut(Ye,["editData","globalSetting","loading","dispatch","onRef","isEdit"]);const[ga,Ma]=(0,z.useState)([]),[eo,Za]=(0,z.useState)(),[Bn,qn]=(0,z.useState)(),[xa,Aa]=(0,z.useState)(""),[aa,_a]=(0,z.useState)("");(0,z.useEffect)(()=>{Ma(["","","",""])},[]),(0,z.useEffect)(()=>{if(!Et||!Yn)return;const Wn=[],Dn=[];Et==null||Et.choices.forEach((Tn,Xa)=>{Wn.push(Tn.choice_text),Tn.is_answer&&Dn.push(Xa)}),Aa(Et==null?void 0:Et.name),_a(Et==null?void 0:Et.analysis),Ma(Wn),qn(Dn)},[Et]),(0,z.useImperativeHandle)(Ve,()=>({onSave:La,Clear:Nn}));const La=()=>{if(!xa)return De.ZP.info("\u8BF7\u60A8\u8F93\u5165\u9898\u5E72"),!1;const Wn=ga.findIndex(Tn=>!Tn);if(Wn>-1)return De.ZP.info(`\u8BF7\u5148\u8F93\u5165 ${Xn[Wn]} \u9009\u9879\u7684\u5185\u5BB9`),!1;if(!Array.isArray(Bn))return De.ZP.info("\u8BF7\u8BBE\u7F6E\u672C\u9898\u7684\u6B63\u786E\u7B54\u6848\uFF0C\u70B9\u51FB\u9009\u9879A/B...\u5373\u53EF\u5B8C\u6210\u8BBE\u7F6E"),!1;const Dn=ga.map((Tn,Xa)=>({choice_text:Tn,is_answer:Bn.includes(Xa)?1:0}));return{name:xa,choices:Dn,analysis:aa}},Nn=()=>{Ma(["","","",""]),Aa(""),_a(""),qn("")};return z.createElement("section",{className:Se.wrap},z.createElement("p",{className:Se.titleWrap},z.createElement("span",{className:Se.required},"*"),z.createElement("span",{className:Se.title},"\u9898\u5E72\uFF1A")),z.createElement(Zt.Z,{id:"single-question-title",watch:!0,height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9898\u5E72",defaultValue:xa,onChange:Wn=>Aa(Wn)}),z.createElement("p",{className:Se.titleWrap},z.createElement("span",{className:Se.required},"*"),z.createElement("span",{className:Se.title},"\u7B54\u6848\u9009\u9879\uFF1A",z.createElement("span",{className:Se.colorGray},"\u70B9\u51FB\u9009\u9879\u53EF\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848"))),ga.map((Wn,Dn)=>z.createElement("div",{className:Se.choiceWrap,key:Dn},z.createElement(Me.Z,{title:"\u70B9\u51FB\u8BBE\u7F6E\u4E3A\u6807\u51C6\u7B54\u6848",placement:"left"},z.createElement("div",{className:`${Se.answer} ${Bn!=null&&Bn.includes(Dn)?Se.activeAnswer:""}`,onClick:()=>qn([Dn])},Xn[Dn])),z.createElement("div",{className:Se.editorWrap},eo===Dn?z.createElement(Zt.Z,{id:`single-question-option-${Dn}`,watch:!0,height:155,isFocus:!0,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9009\u9879",defaultValue:Wn,onChange:Tn=>{ga[Dn]=Tn,Ma(ga)}}):z.createElement("div",{className:Se.htmlWrap,onClick:()=>Za(Dn)},z.createElement(de.Z,{value:Wn}))),Dn>1&&z.createElement(Me.Z,{title:"\u5220\u9664"},z.createElement("i",{className:`${Se.deleteIcon} iconfont icon-htmal5icon19`,onClick:()=>{Ma(ga.filter((Tn,Xa)=>Xa!==Dn)),Dn===Bn&&qn(null)}})),Dn<7&&Dn===ga.length-1&&z.createElement(Me.Z,{title:"\u65B0\u589E\u53C2\u8003\u7B54\u6848"},z.createElement("i",{className:`${Se.addIcon} iconfont icon-roundaddfill ml6`,onClick:()=>Ma([...ga,""])})))),z.createElement("p",{className:Se.titleWrap},z.createElement("span",{className:Se.title},"\u9898\u76EE\u89E3\u6790\uFF1A")),z.createElement(Zt.Z,{id:"single-question-answer",watch:!0,height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9898\u76EE\u89E3\u6790",defaultValue:aa,onChange:Wn=>_a(Wn)}))};var Ht=(0,me.connect)(({loading:Oe,globalSetting:Ve})=>({globalSetting:Ve,loading:Oe.effects}),null,null,{forwardRef:!0})((0,z.forwardRef)(et)),qt=ne(12563),on=ne(49770),yn=ne(61485),rn=ne(59301),mn=Object.defineProperty,qe=Object.defineProperties,nt=Object.getOwnPropertyDescriptors,$e=Object.getOwnPropertySymbols,kt=Object.prototype.hasOwnProperty,Kt=Object.prototype.propertyIsEnumerable,jt=(Oe,Ve,Ye)=>Ve in Oe?mn(Oe,Ve,{enumerable:!0,configurable:!0,writable:!0,value:Ye}):Oe[Ve]=Ye,Sn=(Oe,Ve)=>{for(var Ye in Ve||(Ve={}))kt.call(Ve,Ye)&&jt(Oe,Ye,Ve[Ye]);if($e)for(var Ye of $e(Ve))Kt.call(Ve,Ye)&&jt(Oe,Ye,Ve[Ye]);return Oe},cn=(Oe,Ve)=>qe(Oe,nt(Ve)),sn=(Oe,Ve)=>{var Ye={};for(var Et in Oe)kt.call(Oe,Et)&&Ve.indexOf(Et)<0&&(Ye[Et]=Oe[Et]);if(Oe!=null&&$e)for(var Et of $e(Oe))Ve.indexOf(Et)<0&&Kt.call(Oe,Et)&&(Ye[Et]=Oe[Et]);return Ye},Ln=(Oe,Ve,Ye)=>new Promise((Et,da)=>{var Hn=Yn=>{try{Un(Ye.next(Yn))}catch(Ia){da(Ia)}},ya=Yn=>{try{Un(Ye.throw(Yn))}catch(Ia){da(Ia)}},Un=Yn=>Yn.done?Et(Yn.value):Promise.resolve(Yn.value).then(Hn,ya);Un((Ye=Ye.apply(Oe,Ve)).next())});const Ea=Oe=>{if(!Oe)return!1;if(/^s*$/.test(Oe)||Oe.trim()===""){De.ZP.warning("\u5173\u952E\u8BCD\u4E0D\u80FD\u5168\u4E3A\u7A7A\u683C");return}let Ve=new RegExp("[ `~!@#$^&*()={}':;,\\[\\].<>/?~\uFF01@#\uFFE5\u2026\u2026&*\uFF08\uFF09\u2014\u3010\u3011\u2018\uFF1B\uFF1A\u201D\u201C\u3002\uFF0C\u3001\uFF1F\u300C\u300D\u300E\u300F_\\+\\-\xB7%\u300A\u300B]|[\\\\/]");return Oe==="|"?(De.ZP.warning("\u5173\u952E\u8BCD\u4E0D\u80FD\u53EA\u8F93\u5165\u4E00\u4E2A\u201C|\u201D\u5B57\u7B26\uFF01"),!1):!0},Qt=({value:Oe=[],onClose:Ve})=>rn.createElement(qt.default,{closable:!0,onClose:Ve,className:Se.keywordTag},rn.createElement("pre",{style:{margin:"0px",whiteSpace:"pre-wrap"}},Oe.join(" \u6216 "))),Kn=(Oe,Ve)=>{var Ye=Oe,{editData:Et,globalSetting:da,loading:Hn,dispatch:ya,onRef:Un=()=>{},isEdit:Yn}=Ye,Ia=sn(Ye,["editData","globalSetting","loading","dispatch","onRef","isEdit"]);const[ga,Ma]=(0,z.useState)(""),[eo,Za]=(0,z.useState)(""),[Bn,qn]=(0,z.useState)(""),[xa,Aa]=(0,z.useState)(""),[aa]=Pe.default.useForm(),_a=Pe.default.useWatch("use_keywords",aa);(0,z.useEffect)(()=>{var Dn;!Et||!Yn||(Ma(Et==null?void 0:Et.name),Za(Et==null?void 0:Et.analysis),qn((Dn=Et==null?void 0:Et.answer_texts)==null?void 0:Dn[0]),aa.setFieldsValue(Sn({},Et)))},[Et]),(0,z.useImperativeHandle)(Ve,()=>({onSave:La,Clear:Nn}));const La=()=>Ln(void 0,null,function*(){if(!ga)return De.ZP.info("\u8BF7\u60A8\u8F93\u5165\u9898\u5E72"),!1;try{yield aa.validateFields()}catch(Tn){De.ZP.error(Tn.errorFields[0].errors[0]);return}const Dn=aa.getFieldsValue();return console.log(Dn,"values"),Sn({name:ga,answer_texts:[Bn],analysis:eo},Dn)}),Nn=()=>{Ma(""),Za(""),qn(""),aa.resetFields()},Wn=Et==null?void 0:Et.score;return rn.createElement("section",{className:Se.wrap},rn.createElement("p",{className:Se.titleWrap},rn.createElement("span",{className:Se.required},"*"),rn.createElement("span",{className:Se.title},"\u9898\u5E72\uFF1A")),rn.createElement(Zt.Z,{id:"single-question-title",watch:!0,height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9898\u5E72",defaultValue:ga,onChange:Dn=>Ma(Dn)}),rn.createElement("p",{className:Se.titleWrap},rn.createElement("span",{className:Se.title},"\u53C2\u8003\u7B54\u6848\uFF1A")),rn.createElement(Zt.Z,{id:"single-question-reference-answer",watch:!0,height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u53C2\u8003\u7B54\u6848",defaultValue:Bn,onChange:Dn=>qn(Dn)}),rn.createElement("p",{className:Se.titleWrap},rn.createElement("span",{className:Se.title},"\u9898\u76EE\u89E3\u6790\uFF1A")),rn.createElement(Zt.Z,{id:"single-question-answer",watch:!0,height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9898\u76EE\u89E3\u6790",defaultValue:eo,onChange:Dn=>Za(Dn)}),rn.createElement(Pe.default,{form:aa,size:"large",onFinishFailed:Dn=>Ln(void 0,null,function*(){var Tn,Xa;De.ZP.error(Dn.errorFields[0].errors[0]),aa.scrollToField((Xa=(Tn=Dn==null?void 0:Dn.errorFields)==null?void 0:Tn[0])==null?void 0:Xa.name,{behavior:"smooth",block:"center"})})},rn.createElement(je.Z,{align:"middle",className:"mb30 mt20"},rn.createElement(Pe.default.Item,{noStyle:!0,name:"use_keywords",valuePropName:"checked"},rn.createElement(on.Z,null)),rn.createElement(Ee.Z,{className:"ml10"},"\u5F00\u542F\u5173\u952E\u8BCD\u81EA\u52A8\u5224\u5206"),rn.createElement(Ee.Z,null,rn.createElement(Me.Z,{placement:"right",title:"\u9009\u4E2D\u540E\uFF0C\u9700\u8981\u8BBE\u7F6E\u6BCF\u4E2A\u5173\u952E\u8BCD\u7684\u5206\u503C\uFF0C\u7CFB\u7EDF\u4F1A\u6839\u636E\u8BBE\u7F6E\u7684\u5173\u952E\u8BCD\u8FDB\u884C\u81EA\u52A8\u5224\u5206\uFF1B \u6240\u6709\u5173\u952E\u8BCD\u5206\u503C\u4E4B\u548C\u5FC5\u987B\u5C0F\u4E8E\u7B49\u4E8E\u5C0F\u9898\u5206\u503C\u3002"},rn.createElement(yn.Z,{style:{color:"#3061D0",marginLeft:6,cursor:"pointer"}})))),_a&&rn.createElement(Pe.default.List,{name:"keywords",rules:[{validator(Dn,Tn){return Tn!=null&&Tn.length?(Tn==null?void 0:Tn.reduce((fo,Lo)=>fo+Lo.score,0))>parseFloat(Wn)?Promise.reject(new Error("\u6240\u6709\u5173\u952E\u8BCD\u7684\u5206\u503C\u4E4B\u548C\u5FC5\u987B\u5C0F\u4E8E\u7B49\u4E8E\u8BE5\u5C0F\u9898\u7684\u5206\u503C")):Promise.resolve():Promise.reject(new Error("\u8BF7\u8BBE\u7F6E\u5224\u5206\u5173\u952E\u8BCD"))}}]},(Dn,{add:Tn,remove:Xa})=>rn.createElement(rn.Fragment,null,rn.createElement("div",{className:"mb10"},"\u5173\u952E\u8BCD"),rn.createElement(je.Z,{align:"middle",className:"font14 mb30"},rn.createElement(Ee.Z,{flex:1},rn.createElement(Ne.default,{value:xa,onChange:fo=>{Aa(fo.target.value)},maxLength:50,allowClear:!0,onPressEnter:fo=>{var Lo,Jo,ma,er;const tr=`${(Lo=fo.target)==null?void 0:Lo.value}`,Wa=(ma=(Jo=tr==null?void 0:tr.split("|"))==null?void 0:Jo.filter(So=>!!So))==null?void 0:ma.map(So=>So==null?void 0:So.trim()),mo=aa.getFieldValue("keywords"),vo=((er=mo==null?void 0:mo.map(So=>So==null?void 0:So.keyword))==null?void 0:er.flat())||[];for(const So of Wa)if(vo.includes(So)){De.ZP.error("\u4E3A\u907F\u514D\u5224\u5206\u9519\u8BEF\uFF0C\u8BF7\u52FF\u8BBE\u7F6E\u76F8\u540C\u7684\u5173\u952E\u8BCD");return}Ea(tr)&&(Tn({keyword:Wa,score:1}),Aa(""))},className:Se.inputBorder,placeholder:"\u652F\u6301\u8BBE\u7F6E\u591A\u4E2A\u5173\u952E\u8BCD\uFF1B\u5E76\u5217\u5173\u952E\u8BCD\uFF08\u6216\u7684\u5173\u7CFB\uFF09\u8BF7\u7528\u201C|\u201D\u5206\u9694\u5F00"})),rn.createElement(Ee.Z,{flex:"148px",style:{textAlign:"right",color:"#e99237"}},"\u201C\u56DE\u8F66\u952E\u201D\u4FDD\u5B58\u5173\u952E\u8BCD")),Dn.map(fo=>{var Lo=fo,{key:Jo,name:ma}=Lo,er=sn(Lo,["key","name"]);return rn.createElement(je.Z,{key:Jo,style:{marginRight:148}},rn.createElement(Ee.Z,{flex:1},rn.createElement(je.Z,{align:"middle",justify:"space-between"},rn.createElement(Pe.default.Item,cn(Sn({},er),{name:[ma,"keyword"]}),rn.createElement(Qt,{onClose:()=>Xa(ma)})),rn.createElement(Pe.default.Item,cn(Sn({},er),{name:[ma,"score"],label:"\u5206\u503C",rules:[{required:!0}]}),rn.createElement(re.Z,{min:.1,max:100,precision:1,style:{width:"100%"},placeholder:"\u8BF7\u8F93\u5165\u5173\u952E\u8BCD\u5206\u6570"})))))})))))};var ua=(0,me.connect)(({loading:Oe,globalSetting:Ve})=>({globalSetting:Ve,loading:Oe.effects}),null,null,{forwardRef:!0})((0,z.forwardRef)(Kn)),Pa=ne(36381),pn={wrap:"wrap___Cc0gS",deleteIcon:"deleteIcon___ebwMv",keywordTag:"keywordTag___lUfL5",questionTitleEditorWrap:"questionTitleEditorWrap___u9UgK",choiceWrap:"choiceWrap___VHsr3",choiceIndex:"choiceIndex___rsj9r",judgementIndex:"judgementIndex___fMm6E",setAnswerBtn:"setAnswerBtn___krVC9",activeAnswer:"activeAnswer___WiYo2",activeJudgementAnswer:"activeJudgementAnswer___M6iww",actionWrapper:"actionWrapper___oKI8_",addIcon:"addIcon___eMbGP",inputBorder:"inputBorder___ob_6x",placeholder:"placeholder___Vkwr4",blankWrapper:"blankWrapper____MZQ5",blankInput:"blankInput___ephwY",blankInputNumberWrapper:"blankInputNumberWrapper___C1UJS",addBtn:"addBtn___qRBpJ",blankIndex:"blankIndex___QsKgf",baseInputWrapper:"baseInputWrapper___juqCB",collapseWrapper:"collapseWrapper___kAXJ0",panelHeader:"panelHeader___hLTSe",open:"open___wWDjf",close:"close___XPTJ0",hide:"hide___VytUy"},ea=ne(32134),Ha=ne(12893),ta=Object.defineProperty,ja=Object.defineProperties,Ga=Object.getOwnPropertyDescriptors,Ua=Object.getOwnPropertySymbols,Lt=Object.prototype.hasOwnProperty,_t=Object.prototype.propertyIsEnumerable,Wt=(Oe,Ve,Ye)=>Ve in Oe?ta(Oe,Ve,{enumerable:!0,configurable:!0,writable:!0,value:Ye}):Oe[Ve]=Ye,Fn=(Oe,Ve)=>{for(var Ye in Ve||(Ve={}))Lt.call(Ve,Ye)&&Wt(Oe,Ye,Ve[Ye]);if(Ua)for(var Ye of Ua(Ve))_t.call(Ve,Ye)&&Wt(Oe,Ye,Ve[Ye]);return Oe},It=(Oe,Ve)=>ja(Oe,Ga(Ve)),ba=(Oe,Ve)=>{var Ye={};for(var Et in Oe)Lt.call(Oe,Et)&&Ve.indexOf(Et)<0&&(Ye[Et]=Oe[Et]);if(Oe!=null&&Ua)for(var Et of Ua(Oe))Ve.indexOf(Et)<0&&_t.call(Oe,Et)&&(Ye[Et]=Oe[Et]);return Ye};const Zn=Oe=>{var Ve=Oe,{value:Ye,onChange:Et,scrollId:da}=Ve,Hn=ba(Ve,["value","onChange","scrollId"]);return z.createElement("div",{id:da||""},z.createElement(Zt.Z,It(Fn({},Hn),{defaultValue:Ye,onChange:(ya,Un)=>{Un!=null&&Un.length?Et(ya,Un):Et(ya)}})))},pa=({value:Oe,onChange:Ve,placeholder:Ye,height:Et=140,isEdit:da})=>da?z.createElement(Zt.Z,{watch:!0,isFocus:!0,height:Et,placeholder:Ye,defaultValue:Oe,onChange:Ve}):z.createElement("div",{style:{cursor:"pointer"}},Oe?z.createElement(de.Z,{className:pn.inputBorder,value:Oe}):z.createElement("div",{className:`${pn.inputBorder} ${pn.placeholder}`},Ye));var An=ne(59301),an=Object.defineProperty,gn=Object.defineProperties,On=Object.getOwnPropertyDescriptors,fn=Object.getOwnPropertySymbols,ia=Object.prototype.hasOwnProperty,ka=Object.prototype.propertyIsEnumerable,wa=(Oe,Ve,Ye)=>Ve in Oe?an(Oe,Ve,{enumerable:!0,configurable:!0,writable:!0,value:Ye}):Oe[Ve]=Ye,Fa=(Oe,Ve)=>{for(var Ye in Ve||(Ve={}))ia.call(Ve,Ye)&&wa(Oe,Ye,Ve[Ye]);if(fn)for(var Ye of fn(Ve))ka.call(Ve,Ye)&&wa(Oe,Ye,Ve[Ye]);return Oe},qa=(Oe,Ve)=>gn(Oe,On(Ve)),ro=(Oe,Ve)=>{var Ye={};for(var Et in Oe)ia.call(Oe,Et)&&Ve.indexOf(Et)<0&&(Ye[Et]=Oe[Et]);if(Oe!=null&&fn)for(var Et of fn(Oe))Ve.indexOf(Et)<0&&ka.call(Oe,Et)&&(Ye[Et]=Oe[Et]);return Ye};const Go=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],Br=({value:Oe,onChange:Ve,choiceTextKey:Ye,answerKey:Et,index:da,isEdit:Hn,setInputActive:ya,form:Un,choiceOptionsPath:Yn,allowChangeMode:Ia,showAddIcon:ga,addItem:Ma,deleteItem:eo})=>{const Za=(Oe==null?void 0:Oe[Et])===!0,Bn=()=>{const xa=Un.getFieldValue(Yn);Un.setFieldValue(Yn,xa.map(Aa=>qa(Fa({},Aa),{[Et]:!1})))},qn=()=>{Za?Ve(qa(Fa({},Oe),{[Et]:!1})):(Ia||Bn(),Ve(qa(Fa({},Oe),{[Et]:!0})))};return An.createElement(je.Z,{className:pn.choiceWrap,align:"middle",wrap:!1},An.createElement(Ee.Z,{onClick:qn,className:`${pn.choiceIndex} ${Za?pn.activeAnswer:""}`},Go[da]),An.createElement(Ee.Z,{flex:1,className:`${pn.editorWrap} ml15`,onClick:ya},An.createElement(pa,{height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9009\u9879",isEdit:Hn,value:Oe==null?void 0:Oe[Ye],onChange:xa=>{Ve(qa(Fa({},Oe),{[Ye]:xa}))}})),An.createElement(Ee.Z,{flex:"0 0 auto",className:"ml15"},An.createElement("div",{onClick:qn,className:`${pn.setAnswerBtn} ${Za?pn.activeAnswer:""}`},Za?"\u6B63\u786E\u7B54\u6848":"\u8BBE\u4E3A\u7B54\u6848")),An.createElement(Ee.Z,{className:pn.actionWrapper},An.createElement(Me.Z,{title:"\u65B0\u589E\u53C2\u8003\u7B54\u6848"},An.createElement(ea.Z,{className:pn.addIcon,onClick:Ma,style:{visibility:ga?"visible":"hidden"}})),An.createElement(Me.Z,{title:"\u5220\u9664"},An.createElement(Ha.Z,{className:pn.deleteIcon,onClick:eo,style:{visibility:da>1?"visible":"hidden"}}))))},Bo=({questionTitlePlaceholder:Oe,titleKey:Ve,choiceKey:Ye,analysisKey:Et,choiceTextKey:da,answerKey:Hn,choiceOptionsPath:ya,allowChangeMode:Un=!0,form:Yn,showAnalysis:Ia=!0})=>{const[ga,Ma]=(0,z.useState)(),[eo,Za]=(0,z.useState)(!1);return An.createElement("div",{className:pn.wrap},An.createElement("div",{className:pn.questionTitleEditorWrap},An.createElement(Pe.default.Item,{label:"\u9898\u5E72",name:Ve,labelCol:{span:24},rules:[{required:!0}]},An.createElement(Zn,{scrollId:Array.isArray(Ve)?Ve.join("_"):`${Ve}`,watch:!0,height:140,placeholder:Oe}))),An.createElement(Pe.default.Item,{label:"\u7B54\u6848\u9009\u9879",required:!0,labelCol:{span:24}}),An.createElement(Pe.default.List,{name:Ye,rules:[{validator(Bn,qn){const xa=qn.some(aa=>aa[Hn]),Aa=qn.findIndex(aa=>{var _a;return((_a=aa[da])==null?void 0:_a.length)<=0});return Aa!==-1?Promise.reject(new Error(`\u8BF7\u5148\u8F93\u5165${Go[Aa]}\u9009\u9879\u7684\u5185\u5BB9`)):xa?Promise.resolve():Promise.reject(new Error("\u8BF7\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848"))}}]},(Bn,{add:qn,remove:xa})=>An.createElement("div",{id:Array.isArray(ya)?ya.join("_"):`${ya}`},Bn.map((Aa,aa)=>{var _a=Aa,{key:La,name:Nn}=_a,Wn=ro(_a,["key","name"]);const Dn=ga===La,Tn=()=>{Ma(La)},Xa=aa<7&&aa===Bn.length-1,fo=()=>qn({[da]:"",[Hn]:0}),Lo=()=>xa(Nn);return An.createElement(Pe.default.Item,qa(Fa({},Wn),{key:La,name:Nn,noStyle:!0}),An.createElement(Br,{choiceTextKey:da,answerKey:Hn,index:aa,isEdit:Dn,setInputActive:Tn,form:Yn,choiceOptionsPath:ya,allowChangeMode:Un,showAddIcon:Xa,addItem:fo,deleteItem:Lo}))}),Bn.length<8&&An.createElement("div",{className:`${pn.addBtn} mb30`,onClick:()=>qn({[da]:"",[Hn]:0})},"\u6DFB\u52A0\u9009\u9879"))),Ia&&An.createElement("div",{onClick:()=>Za(!0)},An.createElement(Pe.default.Item,{name:Et,label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},An.createElement(pa,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:eo}))))};var jn=ne(59301),Eo=Object.defineProperty,Co=Object.defineProperties,Ro=Object.getOwnPropertyDescriptors,_o=Object.getOwnPropertySymbols,Qo=Object.prototype.hasOwnProperty,$o=Object.prototype.propertyIsEnumerable,Xo=(Oe,Ve,Ye)=>Ve in Oe?Eo(Oe,Ve,{enumerable:!0,configurable:!0,writable:!0,value:Ye}):Oe[Ve]=Ye,Ko=(Oe,Ve)=>{for(var Ye in Ve||(Ve={}))Qo.call(Ve,Ye)&&Xo(Oe,Ye,Ve[Ye]);if(_o)for(var Ye of _o(Ve))$o.call(Ve,Ye)&&Xo(Oe,Ye,Ve[Ye]);return Oe},pr=(Oe,Ve)=>Co(Oe,Ro(Ve)),lr=(Oe,Ve)=>{var Ye={};for(var Et in Oe)Qo.call(Oe,Et)&&Ve.indexOf(Et)<0&&(Ye[Et]=Oe[Et]);if(Oe!=null&&_o)for(var Et of _o(Oe))Ve.indexOf(Et)<0&&$o.call(Oe,Et)&&(Ye[Et]=Oe[Et]);return Ye};const Pr=({value:Oe,onChange:Ve})=>{const Ye=da=>{xe.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:"\u786E\u8BA4\u8981\u5220\u9664\u8FD9\u4E2A\u53C2\u8003\u7B54\u6848\u5417\uFF1F",className:pn.modal,onOk:()=>{const Hn=[...Oe];Hn.splice(da,1),Ve(Hn)}})},Et=()=>{const da=[...Oe];da.push(""),Ve(da)};return jn.createElement(je.Z,{align:"middle",className:"ml20",gutter:[40,20]},Oe==null?void 0:Oe.map((da,Hn)=>jn.createElement(Ee.Z,{key:`${da}_${Hn}`,className:pn.blankWrapper},jn.createElement(Ne.default,{className:pn.blankInput,defaultValue:da,maxLength:1e3,onBlur:ya=>{const Un=[...Oe],Yn=ya.target.value.trim();Un[Hn]=Yn,Ve(Un)}}),jn.createElement(Me.Z,{title:"\u5220\u9664"},jn.createElement(Ha.Z,{className:pn.deleteIcon,style:{marginLeft:15,visibility:Hn>0?"visible":"hidden"},onClick:()=>Ye(Hn)})))),jn.createElement(Ee.Z,null,jn.createElement("div",{className:`${pn.addBtn}`,onClick:()=>{Et()}},"\u65B0\u589E\u7B54\u6848")))},Fr=({value:Oe=!0,onChange:Ve})=>jn.createElement(on.Z,{checked:!Oe,onChange:Ye=>{Ve(!Ye)}}),bo="\u2581",Ar=({questionTitlePlaceholder:Oe,form:Ve,name:Ye,scoreByBlank:Et="use_blank_score",answerKey:da,titleKey:Hn="name",analysisKey:ya="analysis",isOrdered:Un="is_ordered"})=>{var Yn,Ia;const[ga,Ma]=(0,z.useState)(!1),eo=(La,Nn)=>{const Wn=Nn.line;let Dn=0;for(let Xa=0;Xa<Wn;Xa++)Dn+=La.getLine(Xa).split(bo).length-1;const Tn=La.getLine(Wn).substring(0,Nn.ch);return Dn+=Tn.split(bo).length-1,Dn},Za=(La,Nn,Wn,Dn)=>{const Tn=La.getRange(Nn.from,Nn.to);let Xa=0;if(Nn.text.forEach(fo=>{Xa+=fo.split(bo).length-1}),Nn.origin!=="setValue"){if(Tn&&Tn.indexOf(bo)!==-1){const fo=Tn.split(bo).length-1,Lo=eo(La,Nn.from);if(console.log(`\u5220\u9664${fo}\u4E2A\uFF0C \u524D\u9762\u6709${Lo}\u4E2A\uFF0C\u65B0\u589E${Xa}\u4E2A`),fo>1){const Jo=Array.from({length:fo},(ma,er)=>Lo+er);Dn(Jo)}else Dn(Lo)}else if(Xa>0){const fo=eo(La,Nn.from);console.log(`\u65B0\u589E${Xa}\u4E2A\uFF0C\u4E4B\u524D\u6709${fo}\u4E2A`),Wn(Xa,fo)}}},Bn=()=>{const La=Ve.getFieldValue(["sub_item_banks",...da]);Ve.setFieldValue(["sub_item_banks",...da],La==null?void 0:La.map((Nn,Wn)=>pr(Ko({},Nn),{position:Wn+1})))},qn=(0,z.useRef)(),xa=(La,Nn)=>{for(let Wn=0;Wn<La;Wn++)qn.current({position:null,answer_text:[""]},Nn+Wn);Bn()},Aa=(0,z.useRef)(),aa=La=>{Aa.current(La),Bn()},_a=(Ia=(Yn=Ve.getFieldValue("sub_item_banks"))==null?void 0:Yn[da==null?void 0:da[0]])==null?void 0:Ia[da==null?void 0:da[1]];return jn.createElement("div",{className:pn.wrap},jn.createElement("div",{className:pn.questionTitleEditorWrap},jn.createElement(Pe.default.Item,{label:"\u9898\u5E72",name:Hn,labelCol:{span:24},rules:[{required:!0}]},jn.createElement(Zn,{scrollId:"name",watch:!0,height:140,placeholder:Oe,showNullButton:!0,onCMBeforeChange:(La,Nn)=>{Za(La,Nn,xa,aa)}}))),jn.createElement(Pe.default.List,{name:da,rules:[{validator(La,Nn){if((Nn==null?void 0:Nn.length)===0)return Promise.reject(new Error("\u7B54\u6848\u4E0D\u80FD\u4E3A\u7A7A"));for(const Wn of Nn){const{answer_text:Dn}=Wn||{};if(Dn!=null&&Dn.some(Tn=>(Tn==null?void 0:Tn.length)===0))return Promise.reject(new Error("\u586B\u7A7A\u9879\u7B54\u6848\u4E0D\u80FD\u4E3A\u7A7A"))}return Promise.resolve()}}]},(La,{add:Nn,remove:Wn},{errors:Dn})=>(qn.current=Nn,Aa.current=Wn,jn.createElement(jn.Fragment,null,jn.createElement(Pe.default.Item,{label:"\u7B54\u6848\u9009\u9879",required:!0,labelCol:{span:24}}),La.map((Tn,Xa)=>{var fo=Tn,{key:Lo,name:Jo}=fo,ma=lr(fo,["key","name"]);return jn.createElement(je.Z,{className:"mb20",key:Lo,align:"middle",wrap:!1},jn.createElement(Ee.Z,{flex:"0 0 auto",className:`${pn.blankIndex}`},"\u586B\u7A7A\u9879",Xa+1),jn.createElement(Ee.Z,{flex:1},jn.createElement(je.Z,{align:"top",justify:"space-between",wrap:!1},jn.createElement(Ee.Z,null,jn.createElement(Pe.default.Item,pr(Ko({},ma),{name:[Jo,"answer_text"],noStyle:!0}),jn.createElement(Pr,null))),(Ve==null?void 0:Ve.getFieldValue(["sub_item_banks",...Et]))&&jn.createElement(Ee.Z,{flex:"224px"},jn.createElement(Pe.default.Item,pr(Ko({},ma),{name:[Jo,"score"],label:"\u5206\u503C",rules:[{required:!0}],className:pn.blankInputNumberWrapper}),jn.createElement(re.Z,{className:pn.blankInput,min:.1,max:100,style:{width:"100%"},placeholder:"\u6309\u7A7A\u7ED9\u5206\u8BF7\u8F93\u5165\u5206\u503C"})))),jn.createElement(Pe.default.Item,pr(Ko({},ma),{name:[Jo,"position"],noStyle:!0}),jn.createElement(Ne.default,{type:"hidden"}))))})))),jn.createElement(je.Z,{align:"middle"},jn.createElement(Pe.default.Item,{name:[Ye,"downcase"],valuePropName:"checked"},jn.createElement(on.Z,null)),jn.createElement(Ee.Z,{className:"ml10"},"\u5224\u5206\u65F6\u5FFD\u7565\u7B54\u6848\u4E2D\u7684\u5B57\u6BCD\u5927\u5C0F\u5199")),jn.createElement(je.Z,{align:"middle"},jn.createElement(Pe.default.Item,{name:[Ye,"no_space"],valuePropName:"checked"},jn.createElement(on.Z,null)),jn.createElement(Ee.Z,{className:"ml10"},"\u5224\u5206\u65F6\u5FFD\u7565\u7B54\u6848\u4E2D\u7684\u7A7A\u683C")),(_a==null?void 0:_a.length)>1&&jn.createElement(je.Z,{align:"middle",className:(_a==null?void 0:_a.length)>1?"mb30":`${pn.hide}`},jn.createElement(Pe.default.Item,{name:Un},jn.createElement(Fr,null)),jn.createElement(Ee.Z,{className:"ml10"},"\u5141\u8BB8\u5B66\u751F\u6BCF\u4E2A\u586B\u7A7A\u7684\u7B54\u6848\u4E0E\u6807\u51C6\u7B54\u6848\u7684\u987A\u5E8F\u4E0D\u4E00\u81F4")),jn.createElement("div",{onClick:()=>Ma(!0)},jn.createElement(Pe.default.Item,{name:ya,label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},jn.createElement(pa,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:ga}))))};var hr=Object.defineProperty,Gr=Object.defineProperties,_r=Object.getOwnPropertyDescriptors,Tr=Object.getOwnPropertySymbols,Jr=Object.prototype.hasOwnProperty,Xr=Object.prototype.propertyIsEnumerable,ui=(Oe,Ve,Ye)=>Ve in Oe?hr(Oe,Ve,{enumerable:!0,configurable:!0,writable:!0,value:Ye}):Oe[Ve]=Ye,si=(Oe,Ve)=>{for(var Ye in Ve||(Ve={}))Jr.call(Ve,Ye)&&ui(Oe,Ye,Ve[Ye]);if(Tr)for(var Ye of Tr(Ve))Xr.call(Ve,Ye)&&ui(Oe,Ye,Ve[Ye]);return Oe},Yr=(Oe,Ve)=>Gr(Oe,_r(Ve)),$r=(Oe,Ve)=>{var Ye={};for(var Et in Oe)Jr.call(Oe,Et)&&Ve.indexOf(Et)<0&&(Ye[Et]=Oe[Et]);if(Oe!=null&&Tr)for(var Et of Tr(Oe))Ve.indexOf(Et)<0&&Xr.call(Oe,Et)&&(Ye[Et]=Oe[Et]);return Ye};const na={\u6B63\u786E:"T",\u9519\u8BEF:"F"},bn=({value:Oe,onChange:Ve,form:Ye,choiceKey:Et})=>{const da=(Oe==null?void 0:Oe.is_answer)===!0,Hn=Oe==null?void 0:Oe.choice_text,ya=()=>{var Un;const Yn=(Un=Ye==null?void 0:Ye.getFieldValue(["sub_item_banks",...Et]))==null?void 0:Un.map(Ia=>({choice_text:Ia==null?void 0:Ia.choice_text,is_answer:!1}));Ye==null||Ye.setFieldValue(["sub_item_banks",...Et],Yn),Ve(Yr(si({},Oe),{is_answer:!0}))};return z.createElement(je.Z,{className:pn.choiceWrap,align:"middle",wrap:!1},z.createElement(Ee.Z,{onClick:ya,className:`${pn.choiceIndex} ${pn.judgementIndex} ${da?pn.activeAnswer:""}`},na[Hn]),z.createElement(Ee.Z,{flex:1,className:`${pn.editorWrap} ml15`},z.createElement("div",{className:`${pn.inputBorder} ${pn.placeholder} ${da?pn.activeJudgementAnswer:""}`},Hn)),z.createElement(Ee.Z,{flex:"0 0 auto",className:"ml15"},z.createElement("div",{onClick:ya,className:`${pn.setAnswerBtn} ${da?pn.activeAnswer:""}`},da?"\u6B63\u786E\u7B54\u6848":"\u8BBE\u4E3A\u7B54\u6848")))},Cn=({questionTitlePlaceholder:Oe,choiceKey:Ve="choices",form:Ye,titleKey:Et="name",analysisKey:da="analysis"})=>{const[Hn,ya]=(0,z.useState)(!1);return z.createElement("div",{className:pn.wrap},z.createElement("div",{className:pn.questionTitleEditorWrap},z.createElement(Pe.default.Item,{label:"\u9898\u5E72",name:Et,labelCol:{span:24},rules:[{required:!0}]},z.createElement(Zn,{scrollId:"name",watch:!0,height:140,placeholder:Oe}))),z.createElement(Pe.default.Item,{label:"\u7B54\u6848\u9009\u9879",required:!0,labelCol:{span:24}},z.createElement(Pe.default.List,{name:Ve,rules:[{validator(Un,Yn){return Yn.some(ga=>(ga==null?void 0:ga.is_answer)===!0)?Promise.resolve():Promise.reject(new Error("\u8BF7\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848"))}}]},Un=>z.createElement("div",{id:"choices"},Un.map(Yn=>{var Ia=Yn,{key:ga,name:Ma}=Ia,eo=$r(Ia,["key","name"]);return z.createElement(Pe.default.Item,Yr(si({},eo),{key:ga,name:Ma,noStyle:!0}),z.createElement(bn,{form:Ye,choiceKey:Ve}))})))),z.createElement("div",{onClick:()=>ya(!0)},z.createElement(Pe.default.Item,{name:da,label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},z.createElement(pa,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:Hn}))))};var Rn=Object.defineProperty,Na=Object.defineProperties,Ya=Object.getOwnPropertyDescriptors,po=Object.getOwnPropertySymbols,ho=Object.prototype.hasOwnProperty,wo=Object.prototype.propertyIsEnumerable,Do=(Oe,Ve,Ye)=>Ve in Oe?Rn(Oe,Ve,{enumerable:!0,configurable:!0,writable:!0,value:Ye}):Oe[Ve]=Ye,qo=(Oe,Ve)=>{for(var Ye in Ve||(Ve={}))ho.call(Ve,Ye)&&Do(Oe,Ye,Ve[Ye]);if(po)for(var Ye of po(Ve))wo.call(Ve,Ye)&&Do(Oe,Ye,Ve[Ye]);return Oe},ko=(Oe,Ve)=>Na(Oe,Ya(Ve)),wr=(Oe,Ve)=>{var Ye={};for(var Et in Oe)ho.call(Oe,Et)&&Ve.indexOf(Et)<0&&(Ye[Et]=Oe[Et]);if(Oe!=null&&po)for(var Et of po(Oe))Ve.indexOf(Et)<0&&wo.call(Oe,Et)&&(Ye[Et]=Oe[Et]);return Ye};const Rr=Oe=>{var Ve=Oe,{value:Ye,onChange:Et}=Ve,da=wr(Ve,["value","onChange"]);const Hn=ya=>{Et([ya])};return z.createElement(Zt.Z,ko(qo({},da),{defaultValue:Ye==null?void 0:Ye[0],onChange:Hn}))},kr=Oe=>{if(!Oe)return!1;let Ve=new RegExp("[ `~!@#$^&*()={}':;,\\[\\].<>/?~\uFF01@#\uFFE5\u2026\u2026&*\uFF08\uFF09\u2014\u3010\u3011\u2018\uFF1B\uFF1A\u201D\u201C\u3002\uFF0C\u3001\uFF1F\u300C\u300D\u300E\u300F_\\+\\-\xB7%\u300A\u300B]|[\\\\/]");return Oe==="|"?(De.ZP.warning("\u5173\u952E\u8BCD\u4E0D\u80FD\u53EA\u8F93\u5165\u4E00\u4E2A\u201C|\u201D\u5B57\u7B26\uFF01"),!1):!0},Dr=({value:Oe=[],onClose:Ve})=>z.createElement(qt.default,{closable:!0,onClose:Ve,className:pn.keywordTag},Oe==null?void 0:Oe.join(" \u6216 ")),Lr=({questionTitlePlaceholder:Oe,form:Ve,showKeywords:Ye,isMustKeyWords:Et=Ye,titleKey:da="name",analysisKey:Hn="analysis",answerTexts:ya="answer_texts",keywords:Un="keywords",useKeywords:Yn="use_keywords",indexs:Ia})=>{const[ga,Ma]=(0,z.useState)(!1),[eo,Za]=(0,z.useState)(""),Bn=Pe.default.useWatch("sub_item_banks",Ve),{use_keywords:qn,score:xa}=(Bn==null?void 0:Bn[Ia])||{};return console.log(qn,xa,"itemValues"),z.createElement("div",{className:pn.wrap},z.createElement("div",{className:pn.questionTitleEditorWrap},z.createElement(Pe.default.Item,{label:"\u9898\u5E72",name:da,labelCol:{span:24},rules:[{required:!0}]},z.createElement(Zn,{scrollId:"name",watch:!0,height:140,placeholder:Oe}))),z.createElement(Pe.default.Item,{label:"\u53C2\u8003\u7B54\u6848",name:ya,labelCol:{span:24}},z.createElement(Rr,{watch:!0,height:140,placeholder:"\u8BF7\u7F16\u8F91\u53C2\u8003\u7B54\u6848\uFF08\u975E\u5FC5\u586B\uFF09"})),Ye&&!Et&&z.createElement(Pe.default.Item,{hidden:!0,name:Yn,valuePropName:"checked"},z.createElement(on.Z,{defaultChecked:!0})),Ye&&Et&&z.createElement(je.Z,{align:"middle",className:"mb30"},z.createElement(Pe.default.Item,{name:Yn,valuePropName:"checked"},z.createElement(on.Z,null)),z.createElement(Ee.Z,{className:"ml10"},"\u5F00\u542F\u5173\u952E\u8BCD\u81EA\u52A8\u5224\u5206"),z.createElement(Ee.Z,null,z.createElement(Me.Z,{placement:"right",title:"\u9009\u4E2D\u540E\uFF0C\u9700\u8981\u8BBE\u7F6E\u6BCF\u4E2A\u5173\u952E\u8BCD\u7684\u5206\u503C\uFF0C\u7CFB\u7EDF\u4F1A\u6839\u636E\u8BBE\u7F6E\u7684\u5173\u952E\u8BCD\u8FDB\u884C\u81EA\u52A8\u5224\u5206\uFF1B \u6240\u6709\u5173\u952E\u8BCD\u5206\u503C\u4E4B\u548C\u5FC5\u987B\u5C0F\u4E8E\u7B49\u4E8E\u5C0F\u9898\u5206\u503C\u3002"},z.createElement(yn.Z,{style:{color:"#3061D0",marginLeft:6,cursor:"pointer"}})))),(qn||!Et)&&z.createElement(Pe.default.List,{name:Un,rules:[{validator(Aa,aa){return Et?aa!=null&&aa.length?(aa==null?void 0:aa.reduce((La,Nn)=>La+Nn.score,0))>parseFloat(xa)?Promise.reject(new Error("\u6240\u6709\u5173\u952E\u8BCD\u7684\u5206\u503C\u4E4B\u548C\u5FC5\u987B\u5C0F\u4E8E\u7B49\u4E8E\u8BE5\u5C0F\u9898\u7684\u5206\u503C")):Promise.resolve():Promise.reject(new Error("\u8BF7\u8BBE\u7F6E\u5224\u5206\u5173\u952E\u8BCD")):Promise.resolve()}}]},(Aa,{add:aa,remove:_a})=>z.createElement(z.Fragment,null,z.createElement("div",{className:`${pn.title} mb10`},Et?"\u5173\u952E\u8BCD":z.createElement("span",{style:{color:"#9096A3"}},"\u5224\u5206\u5173\u952E\u8BCD")),z.createElement(je.Z,{align:"middle",className:"font14 mb30"},z.createElement(Ee.Z,{flex:1},z.createElement(Ne.default,{value:eo,onChange:La=>{Za(La.target.value)},maxLength:50,allowClear:!0,onPressEnter:La=>{var Nn,Wn,Dn,Tn;const Xa=`${(Nn=La.target)==null?void 0:Nn.value}`,fo=(Dn=(Wn=Xa==null?void 0:Xa.split("|"))==null?void 0:Wn.filter(ma=>!!ma))==null?void 0:Dn.map(ma=>ma==null?void 0:ma.trim()),Lo=Ve.getFieldValue(["sub_item_banks",...Un]),Jo=((Tn=Lo==null?void 0:Lo.map(ma=>ma==null?void 0:ma.keyword))==null?void 0:Tn.flat())||[];for(const ma of fo)if(Jo.includes(ma)){De.ZP.error("\u4E3A\u907F\u514D\u5224\u5206\u9519\u8BEF\uFF0C\u8BF7\u52FF\u8BBE\u7F6E\u76F8\u540C\u7684\u5173\u952E\u8BCD");return}kr(Xa)&&(aa({keyword:fo,score:1}),Za(""))},className:pn.inputBorder,placeholder:"\u652F\u6301\u8BBE\u7F6E\u591A\u4E2A\u5173\u952E\u8BCD\uFF1B\u5E76\u5217\u5173\u952E\u8BCD\uFF08\u6216\u7684\u5173\u7CFB\uFF09\u8BF7\u7528\u201C|\u201D\u5206\u9694\u5F00"})),z.createElement(Ee.Z,{flex:"148px",style:{textAlign:"right",color:"#e99237"}},"\u201C\u56DE\u8F66\u952E\u201D\u4FDD\u5B58\u5173\u952E\u8BCD")),Aa.map(La=>{var Nn=La,{key:Wn,name:Dn}=Nn,Tn=wr(Nn,["key","name"]);return z.createElement(je.Z,{key:Wn,className:"mb20",style:{marginRight:148}},z.createElement(Ee.Z,{flex:1},z.createElement(je.Z,{align:"middle",justify:"space-between"},z.createElement(Pe.default.Item,ko(qo({},Tn),{name:[Dn,"keyword"]}),z.createElement(Dr,{onClose:()=>_a(Dn)})),Et&&z.createElement(Pe.default.Item,ko(qo({},Tn),{name:[Dn,"score"],label:"\u5206\u503C",rules:[{required:!0}],className:pn.blankInputNumberWrapper}),z.createElement(re.Z,{className:pn.blankInput,min:.1,max:100,precision:1,style:{width:"100%"},placeholder:"\u8BF7\u8F93\u5165\u5173\u952E\u8BCD\u5206\u6570"})))))}))),z.createElement("div",{onClick:()=>Ma(!0)},z.createElement(Pe.default.Item,{name:Hn,label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},z.createElement(pa,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:ga}))))};var ao=ne(59301),Zo=Object.defineProperty,fi=Object.defineProperties,bi=Object.getOwnPropertyDescriptors,Kr=Object.getOwnPropertySymbols,di=Object.prototype.hasOwnProperty,qr=Object.prototype.propertyIsEnumerable,dr=(Oe,Ve,Ye)=>Ve in Oe?Zo(Oe,Ve,{enumerable:!0,configurable:!0,writable:!0,value:Ye}):Oe[Ve]=Ye,Wr=(Oe,Ve)=>{for(var Ye in Ve||(Ve={}))di.call(Ve,Ye)&&dr(Oe,Ye,Ve[Ye]);if(Kr)for(var Ye of Kr(Ve))qr.call(Ve,Ye)&&dr(Oe,Ye,Ve[Ye]);return Oe},ci=(Oe,Ve)=>fi(Oe,bi(Ve)),ei=(Oe,Ve)=>{var Ye={};for(var Et in Oe)di.call(Oe,Et)&&Ve.indexOf(Et)<0&&(Ye[Et]=Oe[Et]);if(Oe!=null&&Kr)for(var Et of Kr(Oe))Ve.indexOf(Et)<0&&qr.call(Oe,Et)&&(Ye[Et]=Oe[Et]);return Ye},Mi=(Oe,Ve,Ye)=>new Promise((Et,da)=>{var Hn=Yn=>{try{Un(Ye.next(Yn))}catch(Ia){da(Ia)}},ya=Yn=>{try{Un(Ye.throw(Yn))}catch(Ia){da(Ia)}},Un=Yn=>Yn.done?Et(Yn.value):Promise.resolve(Yn.value).then(Hn,ya);Un((Ye=Ye.apply(Oe,Ve)).next())});const{Panel:Ji}=Pa.default,_l=null,Xi=(Oe,Ve)=>{var Ye=Oe,{globalSetting:Et,loading:da,dispatch:Hn,editData:ya,onRef:Un=()=>{},isEdit:Yn}=Ye,Ia=ei(Ye,["globalSetting","loading","dispatch","editData","onRef","isEdit"]);const[ga,Ma]=(0,z.useState)(""),[eo,Za]=(0,z.useState)([]),[Bn]=Pe.default.useForm();(0,z.useEffect)(()=>{!ya||!Yn||(Ma(ya==null?void 0:ya.name),Za(ya==null?void 0:ya.sub_item_banks),Bn.setFieldsValue(Wr({},ya)))},[ya]),(0,z.useEffect)(()=>{Za(Bn.getFieldValue("sub_item_banks"))},[Pe.default.useWatch("sub_item_banks",Bn)]),(0,z.useImperativeHandle)(Ve,()=>({onSave:qn,Clear:xa}));const qn=()=>Mi(void 0,null,function*(){if(!ga)return De.ZP.info("\u8BF7\u60A8\u8F93\u5165\u9898\u5E72"),!1;try{yield Bn.validateFields()}catch(Wn){return console.log(Wn,"errInfo"),De.ZP.error(Wn.errorFields[0].errors[0]),!1}const Nn=eo.map(Wn=>Wr({id:Wn.id>1?Wn.id:null},Wn));return{name:ga,sub_item_banks:Nn}}),xa=()=>{Ma(""),Za([])},Aa={single:"\u5355\u9009\u9898",multiple:"\u591A\u9009\u9898",judgement:"\u5224\u65AD\u9898",completion:"\u586B\u7A7A\u9898",subjective:"\u7B80\u7B54\u9898",practical:"\u5B9E\u8BAD\u9898",program:"\u7F16\u7A0B\u9898",bprogram:"\u7A0B\u5E8F\u586B\u7A7A\u9898",combination:"\u7EC4\u5408\u9898"},aa=({value:Nn})=>ao.createElement("div",{style:{textAlign:"center",color:"#DF3065",margin:"0 5px"}},Nn),[_a,La]=(0,z.useState)();return ao.createElement("section",{className:Se.wrap},ao.createElement("p",{className:Se.titleWrap},ao.createElement("span",{className:Se.required},"*"),ao.createElement("span",{className:Se.title},"\u9898\u5E72\uFF1A")),ao.createElement(Zt.Z,{id:"combination-question-title",watch:!0,height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9898\u5E72",defaultValue:ga,onChange:Nn=>Ma(Nn)}),ao.createElement(Pe.default,{form:Bn,autoComplete:"off"},ao.createElement(Pe.default.List,{name:"sub_item_banks",rules:[{validator(Nn,Wn){return Wn?Promise.resolve():Promise.reject(new Error("\u8BF7\u6DFB\u52A0\u5C0F\u9898"))}}]},(Nn,{add:Wn,remove:Dn})=>{const Tn=Bn.getFieldValue("sub_item_banks");return ao.createElement(ao.Fragment,null,ao.createElement(Pa.default,{className:Nn.length>0?Se.collapseWrapper:"",bordered:!1,expandIcon:({isActive:Xa})=>ao.createElement("i",{className:`iconfont icon-weizhankai ${Xa?Se.open:Se.close}`,style:{fontSize:14,transition:"all .2s"}})},Nn.map((Xa,fo)=>{var Lo=Xa,{key:Jo,name:ma}=Lo,er=ei(Lo,["key","name"]),tr,Wa,mo,vo,So,nr,ai,hi,Si,Pi,Ei,Oi;return ao.createElement(Ji,{className:Se.panel,forceRender:!0,header:ao.createElement("div",{className:Se.panelHeader},"\u7B2C",fo+1,"\u5C0F\u9898",ao.createElement("span",null,"\uFF08",Aa[(tr=Tn==null?void 0:Tn[ma])==null?void 0:tr.item_type],"\uFF09")),extra:ao.createElement(je.Z,{align:"middle",onClick:oi=>oi.stopPropagation(),style:{display:"flex",alignItems:"center"}},((Wa=Tn==null?void 0:Tn[ma])==null?void 0:Wa.item_type)=="completion"&&ao.createElement(Pe.default.Item,ci(Wr({},er),{name:[ma,"score"],className:Se.blankInputNumberWrapper,style:{marginBottom:0}}),((mo=Tn==null?void 0:Tn[ma])==null?void 0:mo.item_type)=="completion"&&ao.createElement("div",{style:{display:"flex",alignItems:"center",color:"#191919"}},"\u5171",ao.createElement(aa,{value:(vo=Tn==null?void 0:Tn[ma])==null?void 0:vo.score}),"\u5206")),((So=Tn==null?void 0:Tn[ma])==null?void 0:So.item_type)=="completion"&&ao.createElement(ao.Fragment,null,ao.createElement(Ce.ZP.Group,{defaultValue:(nr=Tn==null?void 0:Tn[ma])==null?void 0:nr.use_blank_score,className:Se.scoreByBlankRadio,style:{marginRight:10},optionType:"button",options:[{label:"\u6309\u7A7A\u7ED9\u5206",value:!0},{label:"\u6309\u9898\u7ED9\u5206",value:!1}],onChange:oi=>{var Ni;console.log(Bn.getFieldsValue()),Bn==null||Bn.setFieldValue(["sub_item_banks",ma,"use_blank_score"],(Ni=oi==null?void 0:oi.target)==null?void 0:Ni.value),La(new Date)}}),ao.createElement(Me.Z,{overlayInnerStyle:{width:460},title:ao.createElement("div",null,"\u6309\u7A7A\u7ED9\u5206\uFF1A\u9700\u8981\u5206\u522B\u8BBE\u7F6E\u6BCF\u4E2A\u586B\u7A7A\u9879\u7684\u5206\u503C\uFF0C\u586B\u7A7A\u9879\u7B54\u5BF9\u4E4B\u540E\u5219\u83B7\u5F97\u5BF9\u5E94\u7684\u5206\u503C\u3002",ao.createElement("br",null),"\u6309\u9898\u7ED9\u5206\uFF1A\u7B54\u5BF9\u5168\u90E8\u586B\u7A7A\u9879\u4E4B\u540E\u624D\u80FD\u83B7\u5F97\u8BE5\u5C0F\u9898\u7684\u5206\u503C\u3002")},ao.createElement("i",{className:"icon-tishixiaowenhao font18 c-3061d0"})))),key:Jo},ao.createElement(Pe.default.Item,ci(Wr({},er),{name:ma}),(((ai=Tn==null?void 0:Tn[ma])==null?void 0:ai.item_type)=="single"||((hi=Tn==null?void 0:Tn[ma])==null?void 0:hi.item_type)=="multiple")&&ao.createElement(Bo,{questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u9009\u62E9\u9898\u9898\u5E72\u5185\u5BB9",allowChangeMode:((Si=Tn==null?void 0:Tn[ma])==null?void 0:Si.item_type)!="single",form:Bn,choiceKey:[ma,"choices"],titleKey:[ma,"name"],analysisKey:[ma,"analysis"],choiceOptionsPath:["sub_item_banks",ma,"choices"],choiceTextKey:"choice_text",answerKey:"is_answer"}),((Pi=Tn==null?void 0:Tn[ma])==null?void 0:Pi.item_type)=="completion"&&ao.createElement(Ar,{form:Bn,name:ma,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u9898\u5E72\u5E76\u8BBE\u7F6E\u586B\u7A7A\u9879",scoreByBlank:[ma,"use_blank_score"],titleKey:[ma,"name"],analysisKey:[ma,"analysis"],isOrdered:[ma,"is_ordered"],answerKey:[ma,"standard_answer"],key:_a}),((Ei=Tn==null?void 0:Tn[ma])==null?void 0:Ei.item_type)=="judgement"&&ao.createElement(Cn,{form:Bn,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u5224\u65AD\u9898\u9898\u5E72\u5185\u5BB9",titleKey:[ma,"name"],analysisKey:[ma,"analysis"],choiceKey:[ma,"choices"]}),((Oi=Tn==null?void 0:Tn[ma])==null?void 0:Oi.item_type)=="subjective"&&ao.createElement(Lr,{showKeywords:!0,form:Bn,titleKey:[ma,"name"],analysisKey:[ma,"analysis"],answerTexts:[ma,"answer_texts"],useKeywords:[ma,"use_keywords"],keywords:[ma,"keywords"],indexs:ma,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u7B80\u7B54\u9898\u9898\u5E72\u5185\u5BB9"})))})))})))};var ti=(0,me.connect)(({loading:Oe,globalSetting:Ve})=>({globalSetting:Ve,loading:Oe.effects}),null,null,{forwardRef:!0})((0,z.forwardRef)(Xi)),Yi=ne(64885),Ti=ne(19842),xi=ne(57809),$i=ne(1710),Or={flex_box_center:"flex_box_center___xDdtW",flex_space_between:"flex_space_between___J4mFI",flex_box_vertical_center:"flex_box_vertical_center___hDYn6",flex_box_center_end:"flex_box_center_end___H7l1j",flex_box_column:"flex_box_column___TPd2T",questionInfo:"questionInfo___ABq66",label:"label___VQOr7",content:"content____HZ6z",leftPart:"leftPart___YB0y5",rightPart:"rightPart___UVMmS",dragItem:"dragItem___Hbx8k",blackText:"blackText___U4u33",greyText:"greyText___rWIL_",iconWrapper:"iconWrapper___I0kek",contentArea:"contentArea___hGC13",dragging:"dragging___z7VVY",hidden:"hidden___nWAxb",dragIcon:"dragIcon___j91TC",deleteIcon:"deleteIcon___cmCqc",disabled:"disabled___ZlKMj",challengeNameWrapper:"challengeNameWrapper___SpiRb",challengeName:"challengeName___lmQe2",shixunPreviewFooter:"shixunPreviewFooter___u0CzD",shixunInfoWrapper:"shixunInfoWrapper___HzLHD",shixunInfo:"shixunInfo___qaQlF",btnToDetail:"btnToDetail___scXqr",fixedBottom:"fixedBottom___wTBAR",cancelBtn:"cancelBtn___Km4Gi",confirmBtn:"confirmBtn___WrECz",previewBtn:"previewBtn____oGPS",setScoreModalTable:"setScoreModalTable___CjDlp",title:"title___cQWdZ",tipcontent:"tipcontent___A8tZ5",name:"name___CvfT9",tip:"tip___EvoCF",info:"info___y_ayi",img:"img___X9CNn"},Nr=ne(89831),Ri=ne(67931),ki=ne(64948),Zi=ne(98072),zi=ne(57884),qi=ne(84216),el=({open:Oe,onCancel:Ve,onOk:Ye})=>{const Et=(0,Ri.g)(),[da,Hn,ya,Un]=(0,Zi.U)(ki.Gm,{page:1,limit:10,keyword:"",diff:"",shixun_publish_status:"",discipline_id:"",sub_discipline_id:"",type:0,include_shixuns:!0,item_type:"SHIXUN"}),[Yn,Ia]=(0,z.useState)(!1);(0,z.useEffect)(()=>{Oe&&ya({page:1,limit:10,type:0},!0).then(Bn=>{(Bn==null?void 0:Bn.shixuns_count)===0&&Ia(!0)})},[Oe]);const[ga,Ma]=(0,z.useState)([]),[eo,Za]=(0,z.useState)([]);return z.createElement(xe.default,{title:"\u9009\u62E9\u5B9E\u8BAD\u9898",open:Oe,width:948,centered:!0,closable:!0,onCancel:Ve,onOk:()=>Ye(eo),destroyOnClose:!0},z.createElement(je.Z,{justify:"space-between",className:"mb20",style:{maxHeight:650}},z.createElement(Ee.Z,null,z.createElement(Ti.Z,{style:{width:160},size:"large",placeholder:"\u8BF7\u9009\u62E9\u65B9\u5411&\u8BFE\u7A0B",options:Et,onChange:Bn=>{ya({page:1,discipline_id:Bn==null?void 0:Bn[0],sub_discipline_id:Bn==null?void 0:Bn[1]})}}),z.createElement(xi.default,{className:"ml20",style:{width:118},size:"large",placeholder:"\u96BE\u5EA6",allowClear:!0,options:[{label:"\u521D\u7EA7",value:1},{label:"\u4E2D\u7EA7",value:2},{label:"\u4E2D\u9AD8\u7EA7",value:3},{label:"\u9AD8\u7EA7",value:4}],onChange:Bn=>ya({page:1,diff:Bn})}),z.createElement(xi.default,{className:"ml20",placeholder:"\u5168\u90E8\u72B6\u6001",style:{width:118},size:"large",allowClear:!0,options:[{label:"\u672A\u53D1\u5E03",value:"unpublish"},{label:"\u9759\u9ED8\u53D1\u5E03",value:"silent_publish"},{label:"\u516C\u5F00\u53D1\u5E03",value:"public_publish"}],onChange:Bn=>ya({page:1,shixun_publish_status:Bn})})),z.createElement(Nr.t7,{placeholder:"\u8BF7\u8F93\u5165\u5173\u952E\u8BCD\u641C\u7D22",style:{width:290},onChange:Bn=>{ya({keyword:Bn,page:1})}})),Yn?z.createElement("div",null,z.createElement(zi.Z,{customText:"\u6682\u65E0\u6570\u636E",ButtonText:"\u524D\u5F80\u5B9E\u8DF5\u9879\u76EE\u5E93\uFF0C\u6DFB\u52A0\u66F4\u591A\u8BD5\u9898>",ButtonClick:()=>(0,Be.xg)("/shixuns")})):z.createElement($i.default,{loading:Hn,rowKey:"id",columns:[{title:"\u8BD5\u9898\u540D\u79F0",dataIndex:"name",width:"30%",ellipsis:{showTitle:!0},render:(Bn,qn)=>z.createElement("div",{style:{display:"flex",alignItems:"center"}},z.createElement("div",{className:qn!=null&&qn.high_resources_consume?Or.title:"",title:Bn||"--"},z.createElement(de.Z,{key:1,showLines:1,showTextOnly:!0,value:Bn||"--"})),(qn==null?void 0:qn.high_resources_consume)&&z.createElement(qi.Z,{type:"shixun",style:{marginLeft:10}}))},{title:"\u96BE\u5EA6",dataIndex:"level"},{title:"\u5173\u5361\u6570\u91CF",dataIndex:"challenges_count",key:"challenges_count",render:(Bn,qn,xa)=>z.createElement("span",null,Bn||"- -")},{title:"\u4F7F\u7528\u6B21\u6570",dataIndex:"study_count"},{title:z.createElement("span",null,"\u53D1\u5E03\u72B6\u6001 ",z.createElement(Me.Z,{title:"\u672A\u53D1\u5E03\u7684\u5B9E\u8DF5\u9879\u76EE\u4E0D\u80FD\u88AB\u9009\u7528"},z.createElement(yn.Z,null))),dataIndex:"shixun_tag_num_name",key:"shixun_tag_num_name",width:100,render:(Bn,qn,xa)=>z.createElement("span",null,Bn||"- -")},{title:"\u64CD\u4F5C",render(Bn,qn){const{title:xa,challenge_names:Aa,author_name:aa,identifier:_a,author_school_name:La,study_count:Nn}=qn||{};return z.createElement("div",null,z.createElement("span",{style:{color:"#165DFF",cursor:"pointer"},onClick:()=>{xe.default.confirm({title:"\u9898\u76EE\u8BE6\u60C5",closable:!0,width:1e3,centered:!0,icon:null,footer:null,content:z.createElement("div",null,z.createElement(de.Z,{value:xa,style:{marginBottom:18}}),z.createElement("div",{className:Or.challengeNameWrapper},Aa.map((Wn,Dn)=>z.createElement("div",{className:Or.challengeName,key:Dn},"\u7B2C",(0,Be.EM)(Dn+1),"\u9898\xA0",Wn))),z.createElement(je.Z,{className:Or.shixunPreviewFooter,justify:"space-between",style:{alignItems:"center"}},z.createElement(Ee.Z,{className:Or.shixunInfoWrapper},z.createElement("span",null,"\u521B\u5EFA\u8005"),z.createElement("span",{className:Or.shixunInfo},aa.split("\u3001")[0]),z.createElement("span",null,"\u6240\u5C5E\u5355\u4F4D"),z.createElement("span",{className:Or.shixunInfo},La),z.createElement("span",null,"\u5B66\u4E60\u4EBA\u6570"),z.createElement("span",{className:Or.shixunInfo},Nn)),z.createElement(be.ZP,{type:"primary",className:Or.btnToDetail,onClick:()=>(0,Be.xg)(`/shixuns/${_a}/challenges?exercise=true`)},z.createElement("i",{className:"iconfont icon-shixunkecheng"}),"\u5B9E\u8BAD\u8BE6\u60C5")))})}},"\u67E5\u770B"),(qn==null?void 0:qn.shixun_tag_num)===1&&z.createElement("a",{target:"_blank",href:`/shixuns/${qn==null?void 0:qn.identifier}/challenges`,style:{marginLeft:10}},"\u53BB\u53D1\u5E03"))}}],dataSource:Un==null?void 0:Un.items,rowSelection:{type:"radio",selectedRowKeys:ga,preserveSelectedRowKeys:!0,getCheckboxProps:Bn=>({disabled:Bn.shixun_tag_num===1}),onChange(Bn,qn){var xa,Aa,aa;console.log(Bn),Ma(Bn);const _a=[];for(const Nn of eo)Bn.includes(Nn.id)&&_a.push(Nn);const La=_a.map(Nn=>Nn.id);for(const Nn of qn)Nn&&Bn.includes(Nn.id)&&!La.includes(Nn.id)&&_a.push({id:Nn.id,difficulty:Nn.level,identifier:Nn.identifier,name:Nn.name,real_name:(xa=Nn==null?void 0:Nn.author_name)==null?void 0:xa.split("\u3001")[0],school_name:Nn.author_school_name,challenge_names:Nn.challenge_names,challenges:(Aa=Nn.challenge_names)==null?void 0:Aa.map((Wn,Dn)=>({subject:Wn,id:Dn,score:5})),score:((aa=Nn.challenge_names)==null?void 0:aa.length)*5,study_count:Nn.study_count,challenges_count:Nn.challenges_count});Za(_a)}},pagination:{current:da.page,pageSize:da.limit,total:Un==null?void 0:Un.items_count,showTotal:Bn=>z.createElement("span",null,"\u5171\xA0",z.createElement("span",{style:{color:"#165DFF"}},Bn),"\xA0\u6761\u6570\u636E"),showQuickJumper:!0,onChange(Bn,qn){ya({page:Bn,limit:qn})},size:"default"},scroll:{y:400}}))},tl=ne(6681),nl=ne(67135),vi=(Oe,Ve,Ye)=>new Promise((Et,da)=>{var Hn=Yn=>{try{Un(Ye.next(Yn))}catch(Ia){da(Ia)}},ya=Yn=>{try{Un(Ye.throw(Yn))}catch(Ia){da(Ia)}},Un=Yn=>Yn.done?Et(Yn.value):Promise.resolve(Yn.value).then(Hn,ya);Un((Ye=Ye.apply(Oe,Ve)).next())}),al=({visible:Oe,getdata:Ve,onCancel:Ye,onRandomExchange:Et,selectFromProblemSet:da,questionParams:Hn})=>{const[ya,Un]=(0,z.useState)(!1),[Yn,Ia]=(0,z.useState)(!1),[ga,Ma]=(0,z.useState)({}),eo=(0,me.useParams)(),[Za,Bn]=(0,z.useState)(),qn=(xa,Aa)=>vi(void 0,null,function*(){Ia(!0);const aa=yield(0,ve.ZP)(`/api/exercises/${eo.categoryId}/toggle_random_question.json`,{method:"post",body:{question_id:Hn.id,item_bank_id:xa,shixuns_info:[{id:xa,is_copy:Aa!=1,is_use:Aa!=1}]}});Ia(!1),aa!=null&&aa.status||(De.ZP.info("\u6362\u9898\u6210\u529F"),Ye(),Ve())});return z.createElement(xe.default,{title:"\u8BF7\u9009\u62E9\u66FF\u6362\u65B9\u5F0F",open:Oe,onCancel:Ye,centered:!0,maskClosable:!0,footer:null},z.createElement(je.Z,{justify:"center",className:"pb20"},z.createElement(Yi.Z,{onClick:Et},"\u968F\u673A\u66F4\u6362"),(Hn==null?void 0:Hn.type)!=="PRACTICAL"&&z.createElement(be.ZP,{style:{marginLeft:24},onClick:da},"\u4ECE\u9898\u5E93\u4E2D\u9009\u62E9"),(Hn==null?void 0:Hn.type)==="PRACTICAL"&&z.createElement(be.ZP,{style:{marginLeft:24},onClick:()=>{Un(!0)}},"\u4ECE\u9898\u5E93\u4E2D\u9009\u62E9")),z.createElement(el,{open:ya,onCancel:()=>Un(!1),onOk:xa=>vi(void 0,null,function*(){if(console.log("----selectedRows",xa,eo),(xa==null?void 0:xa.length)<=0){De.ZP.info("\u8BF7\u9009\u62E9\u5B9E\u8BAD");return}let Aa=xa==null?void 0:xa.map(_a=>_a==null?void 0:_a.id),aa=yield(0,nl.Tr)({id:[...Aa],course_id:eo.coursesId,type:"shixun"});(aa==null?void 0:aa.student_count)===0?qn(Aa==null?void 0:Aa[0],1):(Bn(Aa),Ma(aa)),Un(!1)})}),z.createElement(tl.Z,{resdata:ga,type:"shixun",okloading:Yn,oktext:(ga==null?void 0:ga.can_copy_num)===0?"\u786E\u5B9A":"\u4E00\u952E\u590D\u5236\u5E76\u66FF\u6362",onok:xa=>vi(void 0,null,function*(){qn(Za==null?void 0:Za[0],2)})}))},ol=ne(77411),Bi=ne(24334),Fi=ne(97410),Ai=ne(29920),ni=ne(22688),rl=Object.defineProperty,Zr=Object.defineProperties,wi=Object.getOwnPropertyDescriptors,pi=Object.getOwnPropertySymbols,Di=Object.prototype.hasOwnProperty,ji=Object.prototype.propertyIsEnumerable,Li=(Oe,Ve,Ye)=>Ve in Oe?rl(Oe,Ve,{enumerable:!0,configurable:!0,writable:!0,value:Ye}):Oe[Ve]=Ye,Er=(Oe,Ve)=>{for(var Ye in Ve||(Ve={}))Di.call(Ve,Ye)&&Li(Oe,Ye,Ve[Ye]);if(pi)for(var Ye of pi(Ve))ji.call(Ve,Ye)&&Li(Oe,Ye,Ve[Ye]);return Oe},Vr=(Oe,Ve)=>Zr(Oe,wi(Ve)),yr=(Oe,Ve,Ye)=>new Promise((Et,da)=>{var Hn=Yn=>{try{Un(Ye.next(Yn))}catch(Ia){da(Ia)}},ya=Yn=>{try{Un(Ye.throw(Yn))}catch(Ia){da(Ia)}},Un=Yn=>Yn.done?Et(Yn.value):Promise.resolve(Yn.value).then(Hn,ya);Un((Ye=Ye.apply(Oe,Ve)).next())}),il=({data:Oe,submit:Ve,goBack:Ye,loading:Et,onTypeScore:da,editPreview:Hn=!1,onSkipExamination:ya,selectValue:Un,onExchange:Yn,getdata:Ia,handleMarkWrongQuestion:ga})=>{var Ma,eo,Za,Bn,qn,xa,Aa,aa,_a,La,Nn;const Wn=(0,z.useRef)(),[Dn,Tn]=(0,z.useState)(null),[Xa,fo]=(0,z.useState)(!1),[Lo,Jo]=(0,z.useState)(!1),ma=(0,z.useRef)(),[er]=Pe.default.useForm(),tr=(0,me.useParams)(),[Wa,mo]=(0,z.useState)(!1);(0,z.useEffect)(()=>{fo(!0)},[]),(0,z.useEffect)(()=>{Hn||(0,Be.Dk)("\u8BD5\u5377\u9884\u89C8")},[Hn]);const vo=["\u5BB9\u6613","\u7B80\u5355","\u9002\u4E2D","\u56F0\u96BE"],So={SINGLE:"\u5355\u9009\u9898",MULTIPLE:"\u591A\u9009\u9898",JUDGMENT:"\u5224\u65AD\u9898",COMPLETION:"\u586B\u7A7A\u9898",SUBJECTIVE:"\u7B80\u7B54\u9898",PRACTICAL:"\u5B9E\u8BAD\u9898",PROGRAM:"\u7F16\u7A0B\u9898",BPROGRAM:"\u7A0B\u5E8F\u586B\u7A7A\u9898",COMBINATION:"\u7EC4\u5408\u9898"},nr={single:"\u5355\u9009\u9898",multiple:"\u591A\u9009\u9898",judgement:"\u5224\u65AD\u9898",completion:"\u586B\u7A7A\u9898",subjective:"\u7B80\u7B54\u9898",practical:"\u5B9E\u8BAD\u9898",program:"\u7F16\u7A0B\u9898",bprogram:"\u7A0B\u5E8F\u586B\u7A7A\u9898",combination:"\u7EC4\u5408\u9898"},ai=ht=>{var Mn;const za=[];return z.createElement(z.Fragment,null,z.createElement("aside",{className:ie.single},(Mn=ht==null?void 0:ht.choices)==null?void 0:Mn.map((se,le)=>(se.is_answer&&za.push(ni.k4[le]),z.createElement("ul",{key:le},z.createElement("li",null,ni.k4[le],"\u3001"),z.createElement("li",null,z.createElement(de.Z,{value:se.choice_text})))))),z.createElement("div",{className:ie.analysis},z.createElement("div",null,"\u6B63\u786E\u7B54\u6848\uFF1A",za.join(""),z.createElement("span",{className:"ml30"},"\u96BE\u5EA6\uFF1A",vo[ht.difficulty])),z.createElement("aside",null,z.createElement("span",{className:ie.text},"\u89E3\u6790:"),z.createElement(de.Z,{value:ht.analysis?ht.analysis:"\u6682\u65E0\u89E3\u6790"})),z.createElement("ul",null,z.createElement("li",null,z.createElement("span",{style:{color:"#007AFF",marginRight:10}},"\u65B9\u5411&\u8BFE\u7A0B:"),`${(ht==null?void 0:ht.discipline_name)||"--"}/${ht==null?void 0:ht.sub_discipline_name}`),z.createElement(Me.Z,{title:ht==null?void 0:ht.tag_discipline_name},z.createElement("li",{style:{maxWidth:"400px",overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"}},z.createElement("span",{style:{color:"#5AB891",marginRight:10}},"\u77E5\u8BC6\u70B9:"),ht==null?void 0:ht.tag_discipline_name)))))},hi=(ht,Mn)=>{var za;const se=(za=ht==null?void 0:ht.standard_answer)==null?void 0:za.map((le,ye)=>{var we;return z.createElement("div",{key:ye},`\u7B54\u6848\uFF08\u586B\u7A7A${le==null?void 0:le.position}\uFF09\uFF1A${(we=le==null?void 0:le.answer_text)==null?void 0:we.join("\u3001")}`)});return z.createElement(z.Fragment,null,z.createElement("div",{className:ie.analysis},z.createElement("div",{style:{display:"flex"}},z.createElement("div",null,"\u6B63\u786E\u7B54\u6848\uFF1A"),z.createElement("div",null,se)),z.createElement("aside",null,z.createElement("span",{className:ie.text},"\u89E3\u6790:"),z.createElement(de.Z,{value:ht.analysis?ht.analysis:"\u6682\u65E0\u89E3\u6790"})),z.createElement("ul",null,z.createElement("li",null,z.createElement("span",{style:{color:"#007AFF",marginRight:10}},"\u65B9\u5411&\u8BFE\u7A0B:"),Mn?`${(Mn==null?void 0:Mn.discipline_name)||"--"}/${Mn==null?void 0:Mn.sub_discipline_name}`:`${(ht==null?void 0:ht.discipline_name)||"--"}/${ht==null?void 0:ht.sub_discipline_name}`),z.createElement(Me.Z,{title:Mn?Mn==null?void 0:Mn.tag_discipline_name:ht==null?void 0:ht.tag_discipline_name},z.createElement("li",{style:{maxWidth:"400px",overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"}},z.createElement("span",{style:{color:"#5AB891",marginRight:10}},"\u77E5\u8BC6\u70B9:"),Mn?Mn==null?void 0:Mn.tag_discipline_name:ht==null?void 0:ht.tag_discipline_name)))))},Si=ht=>{var Mn;const za=(Mn=ht==null?void 0:ht.standard_answer)==null?void 0:Mn.map((se,le)=>z.createElement("div",{key:le},`\u7B54\u6848\uFF08\u586B\u7A7A${(se==null?void 0:se.position)||(se==null?void 0:se.exercise_choice_id)}\uFF09\uFF1A${se==null?void 0:se.answer_text}`));return z.createElement(z.Fragment,null,z.createElement("div",{className:ie.analysis},z.createElement("div",{style:{display:"flex"}},z.createElement("div",null,"\u6B63\u786E\u7B54\u6848\uFF1A"),z.createElement("div",null,za)),z.createElement("aside",null,z.createElement("span",{className:ie.text},"\u89E3\u6790:"),z.createElement(de.Z,{value:ht.analysis?ht.analysis:"\u6682\u65E0\u89E3\u6790"})),z.createElement("ul",null,z.createElement("li",null,z.createElement("span",{style:{color:"#007AFF",marginRight:10}},"\u65B9\u5411&\u8BFE\u7A0B:"),`${(ht==null?void 0:ht.discipline_name)||"--"}/${ht==null?void 0:ht.sub_discipline_name}`),z.createElement(Me.Z,{title:ht==null?void 0:ht.tag_discipline_name},z.createElement("li",{style:{maxWidth:"400px",overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"}},z.createElement("span",{style:{color:"#5AB891",marginRight:10}},"\u77E5\u8BC6\u70B9:"),ht==null?void 0:ht.tag_discipline_name)))))},Pi=(ht,Mn)=>{var za;return z.createElement("div",{className:ie.analysis},z.createElement("div",null,"\u6B63\u786E\u7B54\u6848\uFF1A",(za=ht==null?void 0:ht.answer_texts)==null?void 0:za[0]),z.createElement("aside",null,z.createElement("span",{className:ie.text},"\u89E3\u6790:"),z.createElement(de.Z,{value:ht.analysis?ht.analysis:"\u6682\u65E0\u89E3\u6790"})),z.createElement("ul",null,z.createElement("li",null,z.createElement("span",{style:{color:"#007AFF",marginRight:10}},"\u65B9\u5411&\u8BFE\u7A0B:"),Mn?`${(Mn==null?void 0:Mn.discipline_name)||"--"}/${Mn==null?void 0:Mn.sub_discipline_name}`:`${(ht==null?void 0:ht.discipline_name)||"--"}/${ht==null?void 0:ht.sub_discipline_name}`),z.createElement(Me.Z,{title:Mn?Mn==null?void 0:Mn.tag_discipline_name:ht==null?void 0:ht.tag_discipline_name},z.createElement("li",{style:{maxWidth:"400px",overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"}},z.createElement("span",{style:{color:"#5AB891",marginRight:10}},"\u77E5\u8BC6\u70B9:"),Mn?Mn==null?void 0:Mn.tag_discipline_name:ht==null?void 0:ht.tag_discipline_name))))},Ei=ht=>{var Mn,za;return z.createElement("div",{className:ie.analysis},z.createElement("aside",null,z.createElement("span",{className:ie.text},"\u9884\u671F\u8F93\u51FA:"),z.createElement(de.Z,{value:(Mn=ht==null?void 0:ht.program_attr)==null?void 0:Mn.description})),z.createElement("div",{style:{marginTop:20}},"\u6B63\u786E\u7B54\u6848\uFF1A",((za=ht==null?void 0:ht.program_attr)==null?void 0:za.answer_text)||"--"),z.createElement("aside",null,z.createElement("span",{className:ie.text},"\u89E3\u6790:"),z.createElement(de.Z,{value:ht.analysis?ht.analysis:"\u6682\u65E0\u89E3\u6790"})),z.createElement("ul",null,z.createElement("li",null,z.createElement("span",{style:{color:"#007AFF",marginRight:10}},"\u65B9\u5411&\u8BFE\u7A0B:"),`${(ht==null?void 0:ht.discipline_name)||"--"}/${ht==null?void 0:ht.sub_discipline_name}`),z.createElement(Me.Z,{title:ht==null?void 0:ht.tag_discipline_name},z.createElement("li",{style:{maxWidth:"400px",overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"}},z.createElement("span",{style:{color:"#5AB891",marginRight:10}},"\u77E5\u8BC6\u70B9:"),ht==null?void 0:ht.tag_discipline_name))))},Oi=(ht,Mn)=>{var za;return z.createElement("div",null,(za=ht==null?void 0:ht.sub_item_banks)==null?void 0:za.map((se,le)=>{var ye,we;const He=[];return z.createElement(z.Fragment,null,z.createElement("div",{style:{marginLeft:25,fontSize:"16px",color:"#333",paddingTop:"15px"}},Mn+1+"."+(le+1),"\uFF08",So[se.item_type]||nr[se.item_type],"\uFF09",se.name),(se.item_type=="SINGLE"||se.item_type=="MULTIPLE"||se.item_type=="JUDGMENT"||se.item_type=="single"||se.item_type=="multiple"||se.item_type=="judgement")&&z.createElement(z.Fragment,null,z.createElement("aside",{className:ie.single},(ye=se==null?void 0:se.choices)==null?void 0:ye.map((Ze,rt)=>(Ze.is_answer&&He.push(ni.k4[rt]),z.createElement("ul",{key:rt},z.createElement("li",null,ni.k4[rt],"\u3001"),z.createElement("li",null,z.createElement(de.Z,{value:Ze.choice_text})))))),z.createElement("div",{className:ie.analysis},z.createElement("div",null,"\u6B63\u786E\u7B54\u6848\uFF1A",He.join(""),z.createElement("span",{className:"ml30"},"\u96BE\u5EA6\uFF1A",vo[se.difficulty])),z.createElement("aside",null,z.createElement("span",{className:ie.text},"\u89E3\u6790:"),z.createElement(de.Z,{value:se.analysis?se.analysis:"\u6682\u65E0\u89E3\u6790"})),z.createElement("ul",null,z.createElement("li",null,z.createElement("span",{style:{color:"#007AFF",marginRight:10}},"\u65B9\u5411&\u8BFE\u7A0B:"),`${(ht==null?void 0:ht.discipline_name)||"--"}/${ht==null?void 0:ht.sub_discipline_name}`),z.createElement(Me.Z,{title:ht==null?void 0:ht.tag_discipline_name},z.createElement("li",{style:{maxWidth:"400px",overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"}},z.createElement("span",{style:{color:"#5AB891",marginRight:10}},"\u77E5\u8BC6\u70B9:"),ht==null?void 0:ht.tag_discipline_name))))),(se.item_type=="COMPLETION"||se.item_type=="completion")&&hi(se,ht),(se.item_type=="SUBJECTIVE"||se.item_type=="subjective")&&Pi(se,ht),((we=Oe==null?void 0:Oe.exam)==null?void 0:we.exercise_status)===3&&z.createElement("div",{className:"flex gap-20px mt20"},z.createElement(Fi.Z,{state:se==null?void 0:se.is_wrong,onClick:()=>{ga==null||ga({value:Vr(Er({},se),{question_id:se==null?void 0:se.id,question_score:se==null?void 0:se.score})})}}),se.item_type=="single"&&z.createElement(be.ZP,{style:{color:"#3061D0"},onClick:()=>{Gi({value:se})}},"\u589E\u8BBE\u6B63\u786E\u7B54\u6848")))}))},oi=ht=>{var Mn,za,se;return z.createElement("div",{style:{marginTop:"12px"}},(za=(Mn=ht==null?void 0:ht.shixun)==null?void 0:Mn.challenges)==null?void 0:za.map((le,ye)=>z.createElement("div",{className:"c-grey-666 font14 mb10 ml25",style:{display:"flex",alignItems:"center",justifyContent:"space-between"}},z.createElement("div",null,z.createElement("span",{className:"mr5"},"\u7B2C",ye+1,"\u5173"),z.createElement(Me.Z,{key:ye,title:le==null?void 0:le.challenge_name},z.createElement("span",null,(0,Be.Pq)(le==null?void 0:le.challenge_name,44)))),Hn&&z.createElement("div",null,"\u5206\u503C\uFF1A",le.score,"\u5206"))),z.createElement(me.Link,{style:{float:"right"},target:"_blank",to:`/shixuns/${(se=ht==null?void 0:ht.shixun)==null?void 0:se.identifier}/challenges`},"\u5B9E\u8BAD\u8BE6\u60C5"),z.createElement("div",{style:{clear:"both"}}))},Ni=ht=>{let Mn=ht.questions_score/ht.questions_count;xe.default.confirm({icon:null,centered:!0,title:"\u5206\u6570\u8BBE\u7F6E",content:z.createElement("div",{className:ie.modalColumn},z.createElement("div",{className:ie.modalRow,style:{justifyContent:"flex-start"}},z.createElement("sup",{className:ie.sup},"*"),z.createElement("span",null,ht==null?void 0:ht.name,"\uFF1A"),z.createElement(re.Z,{min:0,precision:1,defaultValue:Mn,onChange:za=>{Mn=za}}),z.createElement("span",{className:"ml5"},"\u5206/\u9898"))),okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",onOk:()=>yr(void 0,null,function*(){var za;if(!Mn)return De.ZP.warning("\u5206\u6570\u4E0D\u80FD\u4E3A\u7A7A\u6216\u4E3A0"),Promise.reject();const se={type:ht==null?void 0:ht.type,score:Mn,scoreTotal:Number((za=Mn*ht.questions_count)==null?void 0:za.toFixed(1))};da(se)})})},ll=()=>{let ht="";xe.default.confirm({icon:null,centered:!0,title:"\u4FDD\u5B58\u8BD5\u5377",content:z.createElement("div",{className:ie.modalColumn},z.createElement("div",{style:{color:"#676A6C",display:"flex",alignItems:"center"},className:"font14 mt20"},z.createElement("img",{style:{marginRight:5},src:gt.Z}),"\u4FDD\u5B58\u540E\u5355\u72EC\u751F\u6210\u4E00\u4EFD\u4EBA\u5DE5\u7EC4\u5377\u7C7B\u578B\u7684\u56FA\u5B9A\u8BD5\u5377\u3002"),z.createElement("div",{className:ie.modalRow,style:{marginTop:20}},z.createElement("sup",{className:ie.sup},"*"),z.createElement("span",{style:{flexShrink:0}},"\u8BD5\u5377\u540D\u79F0\uFF1A"),z.createElement(Ne.default,{placeholder:"\u8BF7\u8F93\u5165\u8BD5\u5377\u540D\u79F0",min:0,maxLength:60,defaultValue:ht,onChange:Mn=>{ht=Mn.target.value}}))),okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",onOk:()=>yr(void 0,null,function*(){var Mn;if(!ht)return De.ZP.warning("\u8BD5\u5377\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A"),Promise.reject();const za=[],se=[],le=[],ye=[];(Mn=Oe==null?void 0:Oe.questionList)==null||Mn.forEach(He=>{var Ze;(Ze=He.questions)==null||Ze.forEach(rt=>{let at=He.questions_score/He.questions_count;at=at&&at.toFixed(1),He.type==="COMBINATION"&&le.push({id:rt.id,sub_item_bank_ids:rt.sub_item_banks.map(st=>st.id)}),He.type==="PRACTICAL"?ye.push(rt.id):(za.push(rt.id),se.push(at))})}),console.log("-----",le),yield Ve({item_bank_ids:za,item_bank_scores:se,name:ht,combination_item_banks:le,shixun_ids:ye})})})},bl=(ht,Mn,za,se)=>{var le;const ye=`${location.pathname}${location.search}`,we=(le=se.questions)==null?void 0:le.map(He=>He==null?void 0:He.id);if(ye.includes("exercise"))ma.current={id:ht,ids:we,type:Mn,index:za},Jo(!0);else{let He=xe.default.confirm({icon:null,centered:!0,title:"\u6E29\u99A8\u63D0\u793A",content:"\u786E\u8BA4\u8981\u66F4\u6362\u8BE5\u8BD5\u9898\u5417\uFF1F",cancelButtonProps:{disabled:!1},maskClosable:!0,keyboard:!1,okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",onOk:()=>yr(void 0,null,function*(){He.update({cancelButtonProps:{disabled:!0}}),yield Yn({single_question_id:ht,seleted_item_bank_ids:we},{type:Mn,index:za}),He.update({cancelButtonProps:{disabled:!1}}),De.ZP.success("\u5DF2\u91CD\u65B0\u968F\u673A\u751F\u6210\u8BD5\u9898")})})}},Hi=ht=>{var Mn;const za=(Mn=ht.questions)==null?void 0:Mn.map(ye=>ye==null?void 0:ye.id),se=ht.name;let le=xe.default.confirm({icon:null,centered:!0,title:"\u6E29\u99A8\u63D0\u793A",content:`\u786E\u8BA4\u66F4\u6362${se}\u4E2D\u7684\u6240\u6709\u8BD5\u9898\u5417\uFF1F`,cancelButtonProps:{disabled:!1},maskClosable:!1,keyboard:!1,okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",onOk:()=>yr(void 0,null,function*(){le.update({cancelButtonProps:{disabled:!0}}),yield Yn({seleted_item_bank_ids:za},{type:ht.type}),le.update({cancelButtonProps:{disabled:!1}}),De.ZP.success(`\u5DF2\u91CD\u65B0\u968F\u673A\u751F\u6210${se}\u8BD5\u9898`)})})},xl=()=>{let ht=xe.default.confirm({icon:null,centered:!0,title:"\u6E29\u99A8\u63D0\u793A",content:"\u786E\u8BA4\u66F4\u6362\u9884\u89C8\u4E2D\u7684\u6240\u6709\u8BD5\u9898\u5417\uFF1F",cancelButtonProps:{disabled:!1},maskClosable:!1,keyboard:!1,okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",onOk:()=>yr(void 0,null,function*(){ht.update({cancelButtonProps:{disabled:!0}}),yield Yn(),ht.update({cancelButtonProps:{disabled:!1}}),De.ZP.success("\u5DF2\u91CD\u65B0\u968F\u673A\u751F\u6210\u6574\u5F20\u8BD5\u9898")})})},yi=ht=>{console.log(ht,"key"),ya(ht-1)},ul=(ht,Mn)=>{var za,se;if(Mn==="SINGLE")return z.createElement(z.Fragment,null,z.createElement(Ht,{ref:Wn,editData:ht,isEdit:!0}),z.createElement(Ae.Z,null));if(Mn==="MULTIPLE")return z.createElement(z.Fragment,null,z.createElement(tn,{ref:Wn,editData:ht,isEdit:!0}),z.createElement(Ae.Z,null));if(Mn==="JUDGMENT")return z.createElement(z.Fragment,null,z.createElement(pt,{ref:Wn,editData:ht,isEdit:!0}),z.createElement(Ae.Z,null));if(Mn==="COMPLETION")return z.createElement(z.Fragment,null,z.createElement(ke,{ref:Wn,editData:ht,isEdit:!0}),z.createElement(Ae.Z,null));if(Mn==="SUBJECTIVE")return z.createElement(z.Fragment,null,z.createElement(ua,{ref:Wn,editData:ht,isEdit:!0}),z.createElement(Ae.Z,null));if(Mn==="COMBINATION")return z.createElement(z.Fragment,null,z.createElement(ti,{ref:Wn,editData:ht,isEdit:!0}),z.createElement(Ae.Z,null));if(Mn==="BPROGRAM")return z.createElement(z.Fragment,null,z.createElement(Pe.default,{form:er,style:{marginTop:20},onFinishFailed:le=>{var ye,we;le.errorFields[0].name.includes("standard_answers")?De.ZP.error("\u586B\u7A7A\u9879\u7B54\u6848\u4E0D\u80FD\u4E3A\u7A7A"):De.ZP.error(le.errorFields[0].errors[0]),er.scrollToField((we=(ye=le==null?void 0:le.errorFields)==null?void 0:ye[0])==null?void 0:we.name,{behavior:"smooth",block:"center"})},onFinish:le=>yr(void 0,null,function*(){var ye;let we=Vr(Er({question_score:ht.score},le),{question_type:8,hack:Vr(Er({},le.hack),{difficult:ht.program_attr.difficult}),hack_codes:Vr(Er({},le.hack_codes),{code:Bi.Base64.encode((ye=le.hack_codes)==null?void 0:ye.code)})});Wa&&(we.is_cover=1);const He=yield(0,ve.ZP)(`/api/exercise_questions/${ht.id}.json`,{method:"put",body:we});(He==null?void 0:He.status)===0&&(De.ZP.success("\u7F16\u8F91\u6210\u529F"),yi(Un+1)),Tn(null)})},z.createElement(ol.tc,{form:er,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u9898\u5E72\u5E76\u8BBE\u7F6E\u586B\u7A7A\u9879",scoreByBlank:!1,hackidentifier:(za=ht==null?void 0:ht.program_attr)==null?void 0:za.identifier,answerKey:"standard_answers"}),z.createElement(Ae.Z,null)));if(Mn==="PROGRAM"&&me.history.push(`/problems/${(se=ht==null?void 0:ht.program_attr)==null?void 0:se.identifier}/edit?type=exercises&express_id=${tr.categoryId}&question_id=${ht==null?void 0:ht.id}&score=${ht==null?void 0:ht.score}&callback_url=${location.pathname}&select=${Un}&exercise=true`),Mn==="PRACTICAL")return z.createElement(z.Fragment,null,z.createElement(dn,{ref:Wn,editData:ht,isEdit:!0}),z.createElement(Ae.Z,null))},sl=(ht,Mn)=>yr(void 0,null,function*(){var za,se,le,ye,we,He;const Ze=yield(za=Wn.current)==null?void 0:za.onSave();if(!Ze)return;const rt=ct=>{const bt=ct.map(Vt=>Vt.choice_text.trim().replace(/^\s+|\s+$/g,""));return new Set(bt).size!==bt.length},at={question_score:Mn.score,analysis:Ze.analysis};if(ht==="SINGLE"||ht==="MULTIPLE"||ht==="JUDGMENT"){if(ht!=="JUDGMENT"&&rt(Ze==null?void 0:Ze.choices)){De.ZP.error("\u9009\u62E9\u9898\u9009\u9879\u5185\u5BB9\u4E0D\u80FD\u91CD\u590D\uFF0C\u8BF7\u4FEE\u6539\u540E\u518D\u4FDD\u5B58");return}const ct=[],bt=[];at.question_type=ht==="JUDGMENT"?2:1,at.question_title=Ze==null?void 0:Ze.name,(se=Ze==null?void 0:Ze.choices)==null||se.forEach((Xt,Vt)=>{ct.push(Xt.choice_text),Xt!=null&&Xt.is_answer&&bt.push(Vt+1)}),at.question_choices=ct,at.standard_answers=bt}if(ht==="COMPLETION"){let ct=(le=Ze==null?void 0:Ze.standard_answers)==null?void 0:le.map((Vt,Yt)=>(Vt==null?void 0:Vt.score)<=0?Yt+1:null).filter(Vt=>Vt!==null);if((ct==null?void 0:ct.length)>0)return De.ZP.warning(`\u7B2C${ct.join("\u3001")}\u9879\u7684\u5206\u503C\u4E0D\u80FD\u4E3A\u7A7A`),!1;let bt=(ye=Ze==null?void 0:Ze.standard_answers)==null?void 0:ye.reduce((Vt,Yt)=>Vt+(Number(Yt==null?void 0:Yt.score)||0),0);if(parseFloat(bt.toFixed(2))!=(at==null?void 0:at.question_score))return De.ZP.warning("\u5404\u586B\u7A7A\u9879\u5206\u503C\u4E4B\u548C\u5FC5\u987B\u7B49\u4E8E\u8BE5\u5C0F\u9898\u5206\u503C\uFF01"),!1;at.is_ordered=Ze.is_ordered,at.question_title=Ze==null?void 0:Ze.name,at.use_blank_score=Ze==null?void 0:Ze.use_blank_score,at.question_type=3;const Xt=[];(we=Ze==null?void 0:Ze.standard_answers)==null||we.forEach((Vt,Yt)=>{Xt.push({choice_id:Vt.position,answer_text:Vt.answer_text,score:Vt.score})}),at.standard_answers=Xt,at.downcase=Ze==null?void 0:Ze.downcase,at.no_space=Ze==null?void 0:Ze.no_space}if(ht==="SUBJECTIVE"&&(console.log("editorData"),console.log(Ze),at.question_title=Ze==null?void 0:Ze.name,at.question_type=4,at.answer_texts=Ze==null?void 0:Ze.answer_texts,at.use_keywords=Ze==null?void 0:Ze.use_keywords,at.keywords=Ze==null?void 0:Ze.keywords),ht==="COMBINATION"){at.question_title=Ze==null?void 0:Ze.name,at.question_type=7;try{at.sub_questions=(He=Ze==null?void 0:Ze.sub_item_banks)==null?void 0:He.map((ct,bt)=>{var Xt,Vt,Yt;if((ct==null?void 0:ct.item_type)=="single"||(ct==null?void 0:ct.item_type)=="multiple"){if(rt(ct==null?void 0:ct.choices))throw new Error(`\u7B2C${bt+1}\u5C0F\u9898\u9009\u9879\u5185\u5BB9\u91CD\u590D\uFF0C\u8BF7\u4FEE\u6539\u540E\u518D\u4FDD\u5B58`);const xn=[],vn=[];return(Xt=ct==null?void 0:ct.choices)==null||Xt.forEach((En,hn)=>{xn.push(En.choice_text),En!=null&&En.is_answer&&vn.push(hn+1)}),{id:ct.id,question_id:ct.id,question_title:ct.name,difficulty:ct.difficulty,question_type:(ct==null?void 0:ct.item_type)=="single"?0:(ct==null?void 0:ct.item_type)=="multiple"?1:2,question_choices:xn,standard_answers:vn,analysis:ct.analysis,question_score:ct==null?void 0:ct.score}}else if((ct==null?void 0:ct.item_type)=="completion"){let xn=(Vt=ct==null?void 0:ct.standard_answer)==null?void 0:Vt.reduce((En,hn)=>En+(Number(hn==null?void 0:hn.score)||0),0);if(parseFloat(xn.toFixed(2))!=(ct==null?void 0:ct.score))throw new Error("\u5404\u586B\u7A7A\u9879\u5206\u503C\u4E4B\u548C\u5FC5\u987B\u7B49\u4E8E\u8BE5\u5C0F\u9898\u5206\u503C\uFF01");const vn=[];return(Yt=ct==null?void 0:ct.standard_answer)==null||Yt.forEach((En,hn)=>{vn.push({choice_id:En.position,answer_text:En.answer_text,score:En.score})}),{id:ct.id,question_id:ct.id,is_ordered:ct.is_ordered,question_title:ct.name,difficulty:ct.difficulty,question_type:3,standard_answers:vn,use_blank_score:ct.use_blank_score,analysis:ct.analysis,downcase:ct==null?void 0:ct.downcase,no_space:ct==null?void 0:ct.no_space,question_score:ct==null?void 0:ct.score}}else if((ct==null?void 0:ct.item_type)=="subjective")return{id:ct.id,question_id:ct.id,question_title:ct.name,question_type:4,difficulty:ct.difficulty,answer_texts:ct==null?void 0:ct.answer_texts,analysis:ct.analysis,question_score:ct==null?void 0:ct.score,use_keywords:ct.use_keywords,keywords:ct==null?void 0:ct.keywords}})}catch(ct){De.ZP.warning(ct.message);return}delete at.analysis}let st=!1;(Mn==null?void 0:Mn.is_my)===1&&(st=yield new Promise((bt,Xt)=>{xe.default.confirm({title:"\u63D0\u793A",content:"\u6B64\u9898\u76EE\u5DF2\u5B58\u5728\u4E8E\u8BD5\u9898\u5E93\uFF0C\u662F\u5426\u5C06\u4FEE\u6539\u540E\u7684\u9898\u76EE\u8986\u76D6\u8BD5\u9898\u5E93\u7684\u539F\u9898\uFF1F",okText:"\u8986\u76D6\u539F\u9898",cancelText:"\u4E0D\u8986\u76D6",keyboard:!1,onOk:()=>{bt(!0)},onCancel:()=>{bt(!1)}})})),st&&(at.is_cover=1);const xt=ht!=="PRACTICAL"?yield(0,ve.ZP)(`/api/exercise_questions/${Mn.id}.json`,{method:"put",body:at}):yield(0,ve.ZP)(`/api/exercise_questions/${Mn.id}/update_shixun_score.json`,{method:"post",body:Er({},Ze)});(xt==null?void 0:xt.status)===0&&(De.ZP.success("\u7F16\u8F91\u6210\u529F"),yi(Un+1),Tn(null))}),dl=()=>yr(void 0,null,function*(){(0,me.getDvaApp)()._store.dispatch({type:"globalSetting/setGlobalLoading",payload:{show:!0,text:"\u6B63\u5728\u66F4\u65B0\u8BD5\u5377\uFF0C\u8BF7\u7A0D\u540E..."}}),(yield(0,ve.ZP)(`/api/exercises/${tr.categoryId}/sync_random_question.json`,{method:"post"})).status===0&&(yield ya(Un),De.ZP.success("\u66F4\u65B0\u6210\u529F")),(0,me.getDvaApp)()._store.dispatch({type:"globalSetting/setGlobalLoading",payload:{show:!1}})}),Gi=({value:ht}={})=>{var Mn;const za=[];let se=[];const le=(Mn=ht==null?void 0:ht.choices)==null?void 0:Mn.map((we,He)=>{var Ze;const rt=He+1;return we!=null&&we.is_answer&&(za.push(rt),se.push(rt)),{value:rt,label:z.createElement(de.Z,{className:"c-black font14",value:`${(Ze=ni.k4)==null?void 0:Ze[He]}. ${we==null?void 0:we.choice_text}`}),disabled:we==null?void 0:we.origin_standard_answer}}),ye=xe.default.confirm({centered:!0,icon:null,title:"\u589E\u8BBE\u6B63\u786E\u7B54\u6848",width:800,content:z.createElement(z.Fragment,null,"\u5F53\u524D\u8BD5\u9898\u7684\u6B63\u786E\u7B54\u6848\u4E3A ",za==null?void 0:za.map(we=>{var He;return(He=ni.k4)==null?void 0:He[we-1]}),"\uFF0C\u8BF7\u9009\u62E9\u9700\u8981\u589E\u8BBE\u4E3A\u6B63\u786E\u7B54\u6848\u7684\u9009\u9879\u3002",z.createElement("br",null),"\u52FE\u9009\u63D0\u4EA4\u4E4B\u540E\uFF0C\u9009\u4E2D\u589E\u8BBE\u4E3A\u6B63\u786E\u7B54\u6848\u4EFB\u4E00\u9009\u9879\u7684\u5B66\u751F\u4E5F\u4F1A\u83B7\u5F97\u8BE5\u5C0F\u9898\u7684\u5206\u503C\uFF0C\u4F46\u4E0D\u4F1A\u4FEE\u6539\u5F53\u524D\u8BD5\u9898\u7684\u9898\u578B\u3002\u53D6\u6D88\u52FE\u9009\u63D0\u4EA4\u4E4B\u540E\uFF0C\u4E5F\u4F1A\u91CD\u65B0\u8BA1\u7B97\u5BF9\u5E94\u5B66\u751F\u7684\u5F97\u5206\u3002",z.createElement("br",null),z.createElement(Le.default.Group,{className:"flex-col mt20",options:le,defaultValue:se,onChange:we=>{se=we}})),onOk:()=>yr(void 0,null,function*(){const we=yield(0,ve.ZP)(`/api/exercises/${tr.categoryId}/questions/${ht==null?void 0:ht.id}/add_standard_answers.json`,{method:"put",body:{standard_answer:se}});(we==null?void 0:we.status)===0&&(De.ZP.success("\u4FEE\u6539\u6210\u529F"),yi(Un+1))})})},_i=(Ma=Oe==null?void 0:Oe.questionList)==null?void 0:Ma.reduce((ht,Mn)=>ht+Number(Mn.questions_score),0),Ki=Hn&&((eo=Oe==null?void 0:Oe.exam)==null?void 0:eo.exercise_status)!==1;return z.createElement("section",{className:ie.wrap},z.createElement("div",{id:"id_left_preview",className:ie.left,onMouseEnter:ht=>{const Mn=document.getElementById("id_left_preview");Mn.style.overflowY="auto"},onMouseLeave:ht=>{const Mn=document.getElementById("id_left_preview");Mn.style.overflowY="hidden"}},z.createElement("div",{className:ie.title},z.createElement("div",{className:"body-overflow-initial"},z.createElement("b",null),z.createElement("span",null,"\u7B54\u9898\u5361"))),z.createElement("div",{className:ie.total},z.createElement("div",null,z.createElement("img",{src:lt}),z.createElement("span",null,"\u9898\u6570(\u9053)"),z.createElement("aside",null,Oe==null?void 0:Oe.all_questions_count)),z.createElement("div",{className:"mr30 ml30"},z.createElement("img",{src:Ge}),z.createElement("span",null,"\u603B\u5206(\u5206)"),z.createElement("aside",null,_i&&_i.toFixed(1))),z.createElement("div",null,z.createElement("img",{src:ue}),z.createElement("span",null,"\u65F6\u957F(\u5206)"),z.createElement("aside",null,((Za=Oe==null?void 0:Oe.exam)==null?void 0:Za.time)===-1||((Bn=Oe==null?void 0:Oe.exam)==null?void 0:Bn.time)===null?"\u4E0D\u9650":(qn=Oe==null?void 0:Oe.exam)==null?void 0:qn.time))),(xa=Oe==null?void 0:Oe.questionList)==null?void 0:xa.map((ht,Mn)=>{var za;return z.createElement("div",{className:ie.list,key:Mn},z.createElement("div",{className:ie.name},z.createElement("b",null),z.createElement("span",null,ht.name)),z.createElement("aside",null,z.createElement("div",null,"\u5171",z.createElement("span",{className:ie.b},ht.questions_count),"\u9898 ",z.createElement("span",{className:ie.l},"|"),"\u5171",z.createElement("span",{className:ie.r},ht.questions_score),"\u5206"),z.createElement("div",{className:ie.answerSheet},(za=ht==null?void 0:ht.questions)==null?void 0:za.map((se,le)=>z.createElement("div",{onClick:()=>{const ye=`Anchor_${se==null?void 0:se.id}`;let we=document.getElementById(ye);we&&setTimeout(()=>we.scrollIntoView({block:"center",behavior:"smooth"}))},key:se==null?void 0:se.id,className:ie.tag},le+1)))))})),z.createElement("div",{className:ie.right},z.createElement("div",{className:ie.examName,id:"examName"},z.createElement("div",{className:ie.name},z.createElement(Me.Z,{title:(Aa=Oe==null?void 0:Oe.exam)==null?void 0:Aa.name,getPopupContainer:ht=>ht.parentNode},z.createElement("span",{className:ie.t},(aa=Oe==null?void 0:Oe.exam)==null?void 0:aa.name))),Hn&&((_a=Oe==null?void 0:Oe.exam)==null?void 0:_a.exercise_status)===1&&z.createElement(Nr.op,{openLoading:!0,shape:"default",onClick:()=>{xe.default.confirm({title:"\u63D0\u793A",content:"\u786E\u8BA4\u6839\u636E\u6700\u65B0\u7684\u968F\u673A\u7EC4\u5377\u62BD\u9898\u89C4\u5219\u91CD\u65B0\u751F\u6210\u8BD5\u5377\u5417\uFF1F",onOk:()=>{dl()}})},type:"primary"},"\u66F4\u65B0\u8BD5\u5377"),!Hn&&z.createElement(be.ZP,{onClick:xl,type:"primary"},"\u968F\u673A\u66F4\u6362")),z.createElement("div",{className:ie.topWarp},(La=Oe==null?void 0:Oe.questionList)==null?void 0:La.map((ht,Mn)=>{var za,se;return z.createElement(z.Fragment,{key:Mn},z.createElement("div",{className:ie.head,style:Mn===0?{border:0,marginTop:-16}:{}},z.createElement("div",{className:ie.name},z.createElement("b",null),z.createElement("span",null,ht.name)),z.createElement("div",{className:ie.so},"\u5171",z.createElement("span",{className:ie.b},ht.questions_count," "),"\u9898 ",ht.type==="COMBINATION"&&`\uFF08\u5305\u542B${(za=ht==null?void 0:ht.questions)==null?void 0:za.map(le=>{var ye;return(ye=le==null?void 0:le.sub_item_banks)==null?void 0:ye.length}).reduce((le,ye)=>le+ye)}\u5C0F\u9898\uFF09`,z.createElement("span",{className:ie.l},"|"),"\u5171",z.createElement("span",{className:ie.r},ht.questions_score),"\u5206"),!Hn&&z.createElement("div",{className:ie.btn},z.createElement(be.ZP,{onClick:()=>{Ni(ht)},type:"primary",ghost:!0,className:"mr20"},"\u8BBE\u7F6E\u5F97\u5206"),z.createElement(be.ZP,{onClick:()=>Hi(ht),type:"primary",ghost:!0},"\u968F\u673A\u66F4\u6362"))),(se=ht==null?void 0:ht.questions)==null?void 0:se.map((le,ye)=>{var we,He,Ze,rt;return Dn===(le==null?void 0:le.id)?z.createElement("div",{id:`Anchor_${le==null?void 0:le.id}`,className:ie.content,style:{padding:0,marginTop:24},key:le==null?void 0:le.id},z.createElement("div",{style:{float:"right",marginTop:`${(ht==null?void 0:ht.type)==="PRACTICAL"?"-2px":"-6px"}`}},z.createElement(be.ZP,{onClick:()=>Tn(null),className:"mr20",type:"primary",ghost:!0},"\u53D6\u6D88"),z.createElement(be.ZP,{onClick:()=>{sl(ht==null?void 0:ht.type,le)},type:"primary"},"\u4FDD\u5B58")),ul(le,ht.type)):z.createElement("div",{id:`Anchor_${le==null?void 0:le.id}`,className:ie.content,key:le==null?void 0:le.id},z.createElement("div",{className:ie.titleWrap},(le==null?void 0:le.item_type)==="bprogram"?z.createElement(de.Z,{style:{paddingRight:10},value:ye+1+"\u3001"+((we=le==null?void 0:le.program_attr)==null?void 0:we.description)}):z.createElement(de.Z,{style:{paddingRight:10},className:ie.titleHtml,value:ye+1+`\u3001${(le==null?void 0:le.item_type)==="combination"?"\uFF08\u9898\u5E72\uFF09":""}`+(le==null?void 0:le.name)}),Hn&&z.createElement(be.ZP,{onClick:()=>{var at,st,xt;if(Dn){De.ZP.warning("\u5148\u4FDD\u5B58\u6216\u53D6\u6D88\u5F53\u524D\u6B63\u5728\u7F16\u8F91\u7684\u8BD5\u9898");return}er.setFieldsValue({standard_answers:le==null?void 0:le.standard_answer,hack:Er(Er({},le),le==null?void 0:le.program_attr),hack_codes:Vr(Er({},le==null?void 0:le.program_attr),{code:Bi.Base64.decode(((at=le==null?void 0:le.program_attr)==null?void 0:at.code)||"")}),hack_sets:Er({},(st=le==null?void 0:le.hack_sets)==null?void 0:st[0])}),(le==null?void 0:le.item_type)=="program"?me.history.push(`/problems/newedit/${(xt=le==null?void 0:le.program_attr)==null?void 0:xt.identifier}?type=exercises&express_id=${tr.categoryId}&question_id=${le==null?void 0:le.id}&score=${le==null?void 0:le.score}&exercise=true&callback_url=/classrooms/${tr.coursesId}/exercise/${tr.categoryId}/detail?random=true`):Tn(le==null?void 0:le.id)},type:"primary",style:{marginLeft:"auto"},ghost:!0},"\u7F16\u8F91"),!Ki&&z.createElement(be.ZP,{disabled:Ki,className:"ml20",onClick:()=>bl(le==null?void 0:le.id,ht.type,ye,ht),type:"primary",ghost:!0},"\u6362\u4E00\u9898")),(le==null?void 0:le.item_type)==="bprogram"&&z.createElement(de.Z,{style:{paddingRight:10,paddingLeft:25},showProgramFill:!0,disabledFill:!0,className:ie.titleHtml,value:Bi.Base64.decode(((He=le==null?void 0:le.program_attr)==null?void 0:He.code)||"")}),(ht.type==="SINGLE"||ht.type==="JUDGMENT"||ht.type==="MULTIPLE")&&ai(le),ht.type==="COMPLETION"&&hi(le),ht.type==="SUBJECTIVE"&&Pi(le),ht.type==="PROGRAM"&&Ei(le),ht.type==="BPROGRAM"&&Si(le),ht.type==="COMBINATION"&&Oi(le,ye),ht.type==="PRACTICAL"&&oi(le),z.createElement(je.Z,{className:"mt20",wrap:!1,align:"middle",gutter:20},((Ze=Oe==null?void 0:Oe.exam)==null?void 0:Ze.exercise_status)===3&&!["PROGRAM","BPROGRAM","PRACTICAL","COMBINATION"].includes(ht.type)&&z.createElement(Ee.Z,null,z.createElement(Fi.Z,{state:le==null?void 0:le.is_wrong,onClick:()=>{ga==null||ga({value:Vr(Er({},le),{question_id:le==null?void 0:le.id,question_score:le==null?void 0:le.score})})}})),["PROGRAM","BPROGRAM","PRACTICAL"].includes(ht.type)&&(le==null?void 0:le.show_resubmit)&&z.createElement(Ee.Z,null,z.createElement(Ai.C,{dataSource:Vr(Er({},le),{question_id:le==null?void 0:le.id})})),((rt=Oe==null?void 0:Oe.exam)==null?void 0:rt.exercise_status)===3&&["SINGLE"].includes(ht.type)&&z.createElement(Ee.Z,null,z.createElement(be.ZP,{style:{color:"#3061D0"},onClick:()=>{Gi({value:le})}},"\u589E\u8BBE\u6B63\u786E\u7B54\u6848"))))}))}))),Hn?z.createElement(Nr.vr,null,z.createElement(oe.Z,{showTotal:Be.rU,total:(Nn=Oe==null?void 0:Oe.exam)==null?void 0:Nn.total_num,pageSize:1,current:Un+1,showSizeChanger:!1,onChange:yi,showQuickJumper:!1,hideOnSinglePage:!1})):z.createElement(Nr.vr,{LeftContent:z.createElement(Nr.op,{onClick:Ye,shape:"default",style:{height:38,background:"#fff",boxShadow:"none"}},"\u8FD4\u56DE"),RightContent:z.createElement(je.Z,{align:"middle"},z.createElement(E.Z,{color:"#55575D",overlayClassName:ie.popover,open:Xa,getPopupContainer:ht=>ht==null?void 0:ht.parentNode,content:"\u5982\u60A8\u5BF9\u6B64\u4EFD\u8BD5\u9898\u6EE1\u610F\uFF0C\u53EF\u5C06\u6B64\u4EFD\u8BD5\u9898\u4FDD\u5B58\u4E3A\u56FA\u5B9A\u8BD5\u5377"},z.createElement(Nr.op,{onMouseEnter:()=>fo(!0),onMouseLeave:()=>fo(!1),onClick:()=>ll(),shape:"default",style:{height:38,background:"#fff",boxShadow:"none"}},"\u4FDD\u5B58")),z.createElement(Nr.op,{shape:"default",type:"primary",onClick:()=>Ve(),style:{height:38,marginLeft:20}},"\u63D0\u4EA4"))}),z.createElement(al,{visible:Lo,questionParams:ma.current,getdata:Ia,onRandomExchange:()=>yr(void 0,null,function*(){const ht=ma.current;yield Yn({single_question_id:ht.id,seleted_item_bank_ids:ht.ids},{type:ht.type,index:ht.index}),Jo(!1)}),selectFromProblemSet:()=>{const ht=ma.current,Mn=`${location.pathname}${location.search}`;Mn.includes("exercise")&&me.history.push(`/paperlibrary/exchangequestion?type=exercise&qid=${ht.id}&qtype=${ht.type}&exerciseid=${tr.categoryId}&from=${Mn}`)},onCancel:()=>{Jo(!1)}}))}},98580:function(ft,vt,ne){"use strict";ne.r(vt),ne.d(vt,{default:function(){return y}});var z=ne(59301),ie=ne(76560),Pe={flex_box_center:"flex_box_center___kQBcj",flex_space_between:"flex_space_between___Znlbo",flex_box_vertical_center:"flex_box_vertical_center___CPD50",flex_box_center_end:"flex_box_center_end___jzPvK",flex_box_column:"flex_box_column___cvIBS",wrap:"wrap___lab8O",crumbs:"crumbs___qvTza"},Me=ne(81150),be=ne(8591),xe=ne(61621),re=ne(82093),De=ne(49661),Ne=ne(59301),Ae=Object.defineProperty,Le=Object.getOwnPropertySymbols,je=Object.prototype.hasOwnProperty,Ee=Object.prototype.propertyIsEnumerable,oe=(x,ee,te)=>ee in x?Ae(x,ee,{enumerable:!0,configurable:!0,writable:!0,value:te}):x[ee]=te,E=(x,ee)=>{for(var te in ee||(ee={}))je.call(ee,te)&&oe(x,te,ee[te]);if(Le)for(var te of Le(ee))Ee.call(ee,te)&&oe(x,te,ee[te]);return x},a=(x,ee,te)=>new Promise((ae,ue)=>{var de=ve=>{try{Be(te.next(ve))}catch(Fe){ue(Fe)}},me=ve=>{try{Be(te.throw(ve))}catch(Fe){ue(Fe)}},Be=ve=>ve.done?ae(ve.value):Promise.resolve(ve.value).then(de,me);Be((te=te.apply(x,ee)).next())});const b=({paperlibrary:x,user:ee,globalSetting:te,dispatch:ae,location:ue})=>{var de,me,Be,ve;const[Fe]=(0,ie.useSearchParams)(),ge=Fe.get("select")||0,[Je,Ie]=(0,z.useState)(!1),[Ue,ze]=(0,z.useState)(!0),[Ke,lt]=(0,z.useState)(Number(ge)),[St,ot]=(0,z.useState)({}),Bt=(0,ie.useParams)(),{userInfo:Qe}=ee,{actionTabs:yt}=x;(0,z.useEffect)(()=>(ae({type:"globalSetting/footerToggle",payload:!1}),()=>{ae({type:"globalSetting/footerToggle",payload:!0})}),[]),(0,z.useEffect)(()=>(ae({type:"globalSetting/onlyShowBackTopToggle",payload:!1}),ae({type:"globalSetting/onlyShowBackTopIconToggle",payload:!1}),ae({type:"exercise/getWorkSetting",payload:E({},Bt)}),()=>{ae({type:"globalSetting/onlyShowBackTopToggle",payload:!0}),ae({type:"globalSetting/onlyShowBackTopIconToggle",payload:!0})}),[]),(0,z.useEffect)(()=>{Ft(Ke)},[]),(0,z.useEffect)(()=>{var Ot;(Ot=yt==null?void 0:yt.params)!=null&&Ot.isUpdateData&&Ft(Ke)},[(de=yt==null?void 0:yt.params)==null?void 0:de.isUpdateData]);const Ft=(Ot=0)=>a(void 0,null,function*(){console.log(Bt),ze(!0);const Se=yield(0,re.ZP)(`/api/exercises/${Bt.categoryId}/preview_random_exercise.json`,{method:"get",params:{num:Ot}});ae({type:"paperlibrary/setActionTabs",payload:{params:{isUpdateData:!1}}}),ze(!1),ot((0,De.PF)(Se))}),Te=()=>{ie.history.push(`/classrooms/${Bt.coursesId}/exercise`)},Ge=()=>{alert("\u4FDD\u5B58")},gt=(Ot,Se)=>a(void 0,null,function*(){const Ct=yield(0,re.ZP)(`/api/exercises/${Bt.categoryId}/toggle_random_question.json`,{method:"post",body:{question_id:Ot==null?void 0:Ot.single_question_id}});Ct!=null&&Ct.question&&(be.ZP.info("\u6362\u9898\u6210\u529F"),Ft(Ke))}),Zt=Ot=>a(void 0,null,function*(){document.body.scrollIntoView(),lt(Ot),yield Ft(Ot)}),mt=Ot=>{ae({type:"exercise/setActionTabs",payload:{key:"\u6807\u8BB0\u9519\u9898",params:Ot}})};return Ne.createElement("section",{className:Pe.wrap},Ne.createElement(xe.Z,{loading:Ue,active:!0,paragraph:{rows:5}},((Be=(me=(0,ie.useLocation)())==null?void 0:me.pathname)==null?void 0:Be.includes("preview"))&&Ne.createElement("div",{className:Pe.crumbs},Ne.createElement("b",null),Ne.createElement("span",{className:"current",onClick:()=>ie.history.push(`/classrooms/${Bt.coursesId}/exercise`)},`${(ve=Qe==null?void 0:Qe.course)==null?void 0:ve.course_name}>`),Ne.createElement("span",{className:"current",onClick:()=>ie.history.push(`/classrooms/${Bt.coursesId}/exercise`)},"\u8BD5\u5377\u5217\u8868>"),Ne.createElement("span",{style:{color:"#bebebe"}},"\u9884\u89C8")),Ne.createElement(Me.Z,{loading:Je,submit:Ge,goBack:Te,data:St,getdata:()=>{Ft(Ke)},selectValue:Ke,editPreview:!0,onExchange:gt,onSkipExamination:Zt,handleMarkWrongQuestion:mt})))};var y=(0,ie.connect)(({paperlibrary:x,user:ee,globalSetting:te})=>({paperlibrary:x,user:ee,globalSetting:te}))(b)},67931:function(ft,vt,ne){"use strict";ne.d(vt,{g:function(){return be}});var z=ne(59301),ie=ne(47580),Pe=ne(37798),Me=(xe,re,De)=>new Promise((Ne,Ae)=>{var Le=oe=>{try{Ee(De.next(oe))}catch(E){Ae(E)}},je=oe=>{try{Ee(De.throw(oe))}catch(E){Ae(E)}},Ee=oe=>oe.done?Ne(oe.value):Promise.resolve(oe.value).then(Le,je);Ee((De=De.apply(xe,re)).next())});const be=()=>{const[xe,re]=(0,z.useState)([]);return(0,z.useEffect)(()=>{Me(void 0,null,function*(){const Ne=yield(0,ie.d1)({source:"question"});Ne!=null&&Ne.disciplines&&re((0,Pe.L)(Ne==null?void 0:Ne.disciplines))})},[]),xe}},98072:function(ft,vt,ne){"use strict";ne.d(vt,{U:function(){return Ne}});var z=ne(59301),ie=Object.defineProperty,Pe=Object.getOwnPropertySymbols,Me=Object.prototype.hasOwnProperty,be=Object.prototype.propertyIsEnumerable,xe=(Ae,Le,je)=>Le in Ae?ie(Ae,Le,{enumerable:!0,configurable:!0,writable:!0,value:je}):Ae[Le]=je,re=(Ae,Le)=>{for(var je in Le||(Le={}))Me.call(Le,je)&&xe(Ae,je,Le[je]);if(Pe)for(var je of Pe(Le))be.call(Le,je)&&xe(Ae,je,Le[je]);return Ae},De=(Ae,Le,je)=>new Promise((Ee,oe)=>{var E=y=>{try{b(je.next(y))}catch(x){oe(x)}},a=y=>{try{b(je.throw(y))}catch(x){oe(x)}},b=y=>y.done?Ee(y.value):Promise.resolve(y.value).then(E,a);b((je=je.apply(Ae,Le)).next())});function Ne(Ae,Le){const[je,Ee]=(0,z.useState)(Le),[oe,E]=(0,z.useState)(!1),[a,b]=(0,z.useState)();return[je,oe,(x,ee=!1)=>De(this,null,function*(){const te=ee?Le:re(re({},je),x);E(!0),Ee(te);const ae=yield Ae(te);return E(!1),b(ae),ae}),a]}},50371:function(ft,vt){"use strict";function ne(){const z=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let ie=1;ie<arguments.length;ie++){const Pe=ie<0||arguments.length<=ie?void 0:arguments[ie];Pe&&Object.keys(Pe).forEach(Me=>{const be=Pe[Me];be!==void 0&&(z[Me]=be)})}return z}vt.Z=ne},77578:function(ft,vt,ne){"use strict";ne.d(vt,{Z:function(){return z}});const z=ie=>ie?typeof ie=="function"?ie():ie:null},13845:function(ft,vt,ne){"use strict";ne.d(vt,{F:function(){return z},Z:function(){return ie}});function z(Pe){return Pe!=null&&Pe===Pe.window}function ie(Pe,Me){var be,xe;if(typeof window=="undefined")return 0;const re=Me?"scrollTop":"scrollLeft";let De=0;return z(Pe)?De=Pe[Me?"pageYOffset":"pageXOffset"]:Pe instanceof Document?De=Pe.documentElement[re]:(Pe instanceof HTMLElement||Pe)&&(De=Pe[re]),Pe&&!z(Pe)&&typeof De!="number"&&(De=(xe=((be=Pe.ownerDocument)!==null&&be!==void 0?be:Pe).documentElement)===null||xe===void 0?void 0:xe[re]),De}},56762:function(ft,vt,ne){"use strict";ne.d(vt,{Z:function(){return ie}});var z=ne(59301);function ie(){const[,Pe]=z.useReducer(Me=>Me+1,0);return Pe}},68031:function(ft,vt,ne){"use strict";ne.d(vt,{Z:function(){return Me}});var z=ne(16089);function ie(be,xe,re,De){const Ne=re-xe;return be/=De/2,be<1?Ne/2*be*be*be+xe:Ne/2*((be-=2)*be*be+2)+xe}var Pe=ne(13845);function Me(be){let xe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{getContainer:re=()=>window,callback:De,duration:Ne=450}=xe,Ae=re(),Le=(0,Pe.Z)(Ae,!0),je=Date.now(),Ee=()=>{const E=Date.now()-je,a=ie(E>Ne?Ne:E,Le,be,Ne);(0,Pe.F)(Ae)?Ae.scrollTo(window.pageXOffset,a):Ae instanceof Document||Ae.constructor.name==="HTMLDocument"?Ae.documentElement.scrollTop=a:Ae.scrollTop=a,E<Ne?(0,z.Z)(Ee):typeof De=="function"&&De()};(0,z.Z)(Ee)}},19842:function(ft,vt,ne){"use strict";ne.d(vt,{Z:function(){return Xn}});var z=ne(94480),ie=ne(59301),Pe=ne(33853),Me=ne(58617),be=ne(38819),xe=ne(92310),re=ne.n(xe),De=ne(54476),Ne=ne(42978),Ae=ne(75931),Le=ne(77861),je=ne(17115),Ee=ne(90782),oe=ne(6089),E=ne(18929),a=ie.createContext(null),b=a,y=ne(76190),x=ne(20068),ee=ne(33885),te="__rc_cascader_search_mark__",ae=function(Ht,qt,on){var yn=on.label;return qt.some(function(rn){return String(rn[yn]).toLowerCase().includes(Ht.toLowerCase())})},ue=function(Ht,qt,on,yn){return qt.map(function(rn){return rn[yn.label]}).join(" / ")},de=function(et,Ht,qt,on,yn,rn){var mn=yn.filter,qe=mn===void 0?ae:mn,nt=yn.render,$e=nt===void 0?ue:nt,kt=yn.limit,Kt=kt===void 0?50:kt,jt=yn.sort;return ie.useMemo(function(){var Sn=[];if(!et)return[];function cn(sn,Ln){var Ea=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;sn.forEach(function(Qt){if(!(!jt&&Kt!==!1&&Kt>0&&Sn.length>=Kt)){var Kn=[].concat((0,z.Z)(Ln),[Qt]),ua=Qt[qt.children],Pa=Ea||Qt.disabled;if((!ua||ua.length===0||rn)&&qe(et,Kn,{label:qt.label})){var pn;Sn.push((0,ee.Z)((0,ee.Z)({},Qt),{},(pn={disabled:Pa},(0,x.Z)(pn,qt.label,$e(et,Kn,on,qt)),(0,x.Z)(pn,te,Kn),(0,x.Z)(pn,qt.children,void 0),pn)))}ua&&cn(Qt[qt.children],Kn,Pa)}})}return cn(Ht,[]),jt&&Sn.sort(function(sn,Ln){return jt(sn[te],Ln[te],et,qt)}),Kt!==!1&&Kt>0?Sn.slice(0,Kt):Sn},[et,Ht,qt,on,$e,rn,qe,jt,Kt])},me="__RC_CASCADER_SPLIT__",Be="SHOW_PARENT",ve="SHOW_CHILD";function Fe(et){return et.join(me)}function ge(et){return et.map(Fe)}function Je(et){return et.split(me)}function Ie(et){var Ht=et||{},qt=Ht.label,on=Ht.value,yn=Ht.children,rn=on||"value";return{label:qt||"label",value:rn,key:rn,children:yn||"children"}}function Ue(et,Ht){var qt,on;return(qt=et.isLeaf)!==null&&qt!==void 0?qt:!((on=et[Ht.children])!==null&&on!==void 0&&on.length)}function ze(et){var Ht=et.parentElement;if(Ht){var qt=et.offsetTop-Ht.offsetTop;qt-Ht.scrollTop<0?Ht.scrollTo({top:qt}):qt+et.offsetHeight-Ht.scrollTop>Ht.offsetHeight&&Ht.scrollTo({top:qt+et.offsetHeight-Ht.offsetHeight})}}function Ke(et,Ht){return et.map(function(qt){var on;return(on=qt[te])===null||on===void 0?void 0:on.map(function(yn){return yn[Ht.value]})})}function lt(et,Ht,qt){var on=new Set(et),yn=Ht();return et.filter(function(rn){var mn=yn[rn],qe=mn?mn.parent:null,nt=mn?mn.children:null;return mn&&mn.node.disabled?!0:qt===ve?!(nt&&nt.some(function($e){return $e.key&&on.has($e.key)})):!(qe&&!qe.node.disabled&&on.has(qe.key))})}function St(et,Ht,qt){for(var on=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,yn=Ht,rn=[],mn=function(){var $e,kt,Kt,jt=et[qe],Sn=($e=yn)===null||$e===void 0?void 0:$e.findIndex(function(sn){var Ln=sn[qt.value];return on?String(Ln)===String(jt):Ln===jt}),cn=Sn!==-1?(kt=yn)===null||kt===void 0?void 0:kt[Sn]:null;rn.push({value:(Kt=cn==null?void 0:cn[qt.value])!==null&&Kt!==void 0?Kt:jt,index:Sn,option:cn}),yn=cn==null?void 0:cn[qt.children]},qe=0;qe<et.length;qe+=1)mn();return rn}var ot=function(et,Ht,qt,on,yn){return ie.useMemo(function(){var rn=yn||function(mn){var qe=on?mn.slice(-1):mn,nt=" / ";return qe.every(function($e){return["string","number"].includes((0,y.Z)($e))})?qe.join(nt):qe.reduce(function($e,kt,Kt){var jt=ie.isValidElement(kt)?ie.cloneElement(kt,{key:Kt}):kt;return Kt===0?[jt]:[].concat((0,z.Z)($e),[nt,jt])},[])};return et.map(function(mn){var qe,nt,$e=St(mn,Ht,qt),kt=rn($e.map(function(jt){var Sn,cn=jt.option,sn=jt.value;return(Sn=cn==null?void 0:cn[qt.label])!==null&&Sn!==void 0?Sn:sn}),$e.map(function(jt){var Sn=jt.option;return Sn})),Kt=Fe(mn);return{label:kt,value:Kt,key:Kt,valueCells:mn,disabled:(qe=$e[$e.length-1])===null||qe===void 0||(nt=qe.option)===null||nt===void 0?void 0:nt.disabled}})},[et,Ht,qt,yn,on])},Bt=ne(71430),Qe=function(et,Ht){var qt=ie.useRef({options:null,info:null}),on=ie.useCallback(function(){return qt.current.options!==et&&(qt.current.options=et,qt.current.info=(0,Bt.I8)(et,{fieldNames:Ht,initWrapper:function(rn){return(0,ee.Z)((0,ee.Z)({},rn),{},{pathKeyEntities:{}})},processEntity:function(rn,mn){var qe=rn.nodes.map(function(nt){return nt[Ht.value]}).join(me);mn.pathKeyEntities[qe]=rn,rn.key=qe}})),qt.current.info.pathKeyEntities},[Ht,et]);return on},yt=function(et,Ht){return ie.useCallback(function(qt){var on=[],yn=[];return qt.forEach(function(rn){var mn=St(rn,et,Ht);mn.every(function(qe){return qe.option})?yn.push(rn):on.push(rn)}),[yn,on]},[et,Ht])},Ft=ne(48736);function Te(et){return ie.useMemo(function(){if(!et)return[!1,{}];var Ht={matchInputWidth:!0,limit:50};return et&&(0,y.Z)(et)==="object"&&(Ht=(0,ee.Z)((0,ee.Z)({},Ht),et)),Ht.limit<=0&&delete Ht.limit,[!0,Ht]},[et])}var Ge=ie.memo(function(et){var Ht=et.children;return Ht},function(et,Ht){return!Ht.open}),gt=Ge;function Zt(et){var Ht,qt=et.prefixCls,on=et.checked,yn=et.halfChecked,rn=et.disabled,mn=et.onClick,qe=et.disableCheckbox,nt=ie.useContext(b),$e=nt.checkable,kt=typeof $e!="boolean"?$e:null;return ie.createElement("span",{className:re()("".concat(qt),(Ht={},(0,x.Z)(Ht,"".concat(qt,"-checked"),on),(0,x.Z)(Ht,"".concat(qt,"-indeterminate"),!on&&yn),(0,x.Z)(Ht,"".concat(qt,"-disabled"),rn||qe),Ht)),onClick:mn},kt)}var mt="__cascader_fix_label__";function Ot(et){var Ht=et.prefixCls,qt=et.multiple,on=et.options,yn=et.activeValue,rn=et.prevValuePath,mn=et.onToggleOpen,qe=et.onSelect,nt=et.onActive,$e=et.checkedSet,kt=et.halfCheckedSet,Kt=et.loadingKeys,jt=et.isSelectable,Sn=et.searchValue,cn="".concat(Ht,"-menu"),sn="".concat(Ht,"-menu-item"),Ln=ie.useContext(b),Ea=Ln.fieldNames,Qt=Ln.changeOnSelect,Kn=Ln.expandTrigger,ua=Ln.expandIcon,Pa=Ln.loadingIcon,pn=Ln.dropdownMenuColumnStyle,ea=Kn==="hover",Ha=ie.useMemo(function(){return on.map(function(ta){var ja,Ga=ta.disabled,Ua=ta.disableCheckbox,Lt=ta[te],_t=(ja=ta[mt])!==null&&ja!==void 0?ja:ta[Ea.label],Wt=ta[Ea.value],Fn=Ue(ta,Ea),It=Lt?Lt.map(function(an){return an[Ea.value]}):[].concat((0,z.Z)(rn),[Wt]),ba=Fe(It),Zn=Kt.includes(ba),pa=$e.has(ba),An=kt.has(ba);return{disabled:Ga,label:_t,value:Wt,isLeaf:Fn,isLoading:Zn,checked:pa,halfChecked:An,option:ta,disableCheckbox:Ua,fullPath:It,fullPathKey:ba}})},[on,$e,Ea,kt,Kt,rn]);return ie.createElement("ul",{className:cn,role:"menu"},Ha.map(function(ta){var ja,Ga=ta.disabled,Ua=ta.label,Lt=ta.value,_t=ta.isLeaf,Wt=ta.isLoading,Fn=ta.checked,It=ta.halfChecked,ba=ta.option,Zn=ta.fullPath,pa=ta.fullPathKey,An=ta.disableCheckbox,an=function(){if(!(Ga||Sn)){var ia=(0,z.Z)(Zn);ea&&_t&&ia.pop(),nt(ia)}},gn=function(){jt(ba)&&qe(Zn,_t)},On;return typeof ba.title=="string"?On=ba.title:typeof Ua=="string"&&(On=Ua),ie.createElement("li",{key:pa,className:re()(sn,(ja={},(0,x.Z)(ja,"".concat(sn,"-expand"),!_t),(0,x.Z)(ja,"".concat(sn,"-active"),yn===Lt||yn===pa),(0,x.Z)(ja,"".concat(sn,"-disabled"),Ga),(0,x.Z)(ja,"".concat(sn,"-loading"),Wt),ja)),style:pn,role:"menuitemcheckbox",title:On,"aria-checked":Fn,"data-path-key":pa,onClick:function(){an(),!An&&(!qt||_t)&&gn()},onDoubleClick:function(){Qt&&mn(!1)},onMouseEnter:function(){ea&&an()},onMouseDown:function(ia){ia.preventDefault()}},qt&&ie.createElement(Zt,{prefixCls:"".concat(Ht,"-checkbox"),checked:Fn,halfChecked:It,disabled:Ga||An,disableCheckbox:An,onClick:function(ia){An||(ia.stopPropagation(),gn())}}),ie.createElement("div",{className:"".concat(sn,"-content")},Ua),!Wt&&ua&&!_t&&ie.createElement("div",{className:"".concat(sn,"-expand-icon")},ua),Wt&&Pa&&ie.createElement("div",{className:"".concat(sn,"-loading-icon")},Pa))}))}var Se=function(){var et=(0,Le.lk)(),Ht=et.multiple,qt=et.open,on=ie.useContext(b),yn=on.values,rn=ie.useState([]),mn=(0,Ne.Z)(rn,2),qe=mn[0],nt=mn[1];return ie.useEffect(function(){if(qt&&!Ht){var $e=yn[0];nt($e||[])}},[qt]),[qe,nt]},Ct=ne(10228),Jt=function(et,Ht,qt,on,yn,rn){var mn=(0,Le.lk)(),qe=mn.direction,nt=mn.searchValue,$e=mn.toggleOpen,kt=mn.open,Kt=qe==="rtl",jt=ie.useMemo(function(){for(var pn=-1,ea=Ht,Ha=[],ta=[],ja=on.length,Ga=Ke(Ht,qt),Ua=function(ba){var Zn=ea.findIndex(function(pa,An){return(Ga[An]?Fe(Ga[An]):pa[qt.value])===on[ba]});if(Zn===-1)return"break";pn=Zn,Ha.push(pn),ta.push(on[ba]),ea=ea[pn][qt.children]},Lt=0;Lt<ja&&ea;Lt+=1){var _t=Ua(Lt);if(_t==="break")break}for(var Wt=Ht,Fn=0;Fn<Ha.length-1;Fn+=1)Wt=Wt[Ha[Fn]][qt.children];return[ta,pn,Wt,Ga]},[on,qt,Ht]),Sn=(0,Ne.Z)(jt,4),cn=Sn[0],sn=Sn[1],Ln=Sn[2],Ea=Sn[3],Qt=function(ea){yn(ea)},Kn=function(ea){var Ha=Ln.length,ta=sn;ta===-1&&ea<0&&(ta=Ha);for(var ja=0;ja<Ha;ja+=1){ta=(ta+ea+Ha)%Ha;var Ga=Ln[ta];if(Ga&&!Ga.disabled){var Ua=cn.slice(0,-1).concat(Ea[ta]?Fe(Ea[ta]):Ga[qt.value]);Qt(Ua);return}}},ua=function(){if(cn.length>1){var ea=cn.slice(0,-1);Qt(ea)}else $e(!1)},Pa=function(){var ea,Ha=((ea=Ln[sn])===null||ea===void 0?void 0:ea[qt.children])||[],ta=Ha.find(function(Ga){return!Ga.disabled});if(ta){var ja=[].concat((0,z.Z)(cn),[ta[qt.value]]);Qt(ja)}};ie.useImperativeHandle(et,function(){return{onKeyDown:function(ea){var Ha=ea.which;switch(Ha){case Ct.Z.UP:case Ct.Z.DOWN:{var ta=0;Ha===Ct.Z.UP?ta=-1:Ha===Ct.Z.DOWN&&(ta=1),ta!==0&&Kn(ta);break}case Ct.Z.LEFT:{if(nt)break;Kt?Pa():ua();break}case Ct.Z.RIGHT:{if(nt)break;Kt?ua():Pa();break}case Ct.Z.BACKSPACE:{nt||ua();break}case Ct.Z.ENTER:{if(cn.length){var ja=Ln[sn],Ga=(ja==null?void 0:ja[te])||[];Ga.length?rn(Ga.map(function(Ua){return Ua[qt.value]}),Ga[Ga.length-1]):rn(cn,Ln[sn])}break}case Ct.Z.ESC:$e(!1),kt&&ea.stopPropagation()}},onKeyUp:function(){}}})},Pt=ie.forwardRef(function(et,Ht){var qt,on,yn,rn,mn=(0,Le.lk)(),qe=mn.prefixCls,nt=mn.multiple,$e=mn.searchValue,kt=mn.toggleOpen,Kt=mn.notFoundContent,jt=mn.direction,Sn=mn.open,cn=ie.useRef(),sn=jt==="rtl",Ln=ie.useContext(b),Ea=Ln.options,Qt=Ln.values,Kn=Ln.halfValues,ua=Ln.fieldNames,Pa=Ln.changeOnSelect,pn=Ln.onSelect,ea=Ln.searchOptions,Ha=Ln.dropdownPrefixCls,ta=Ln.loadData,ja=Ln.expandTrigger,Ga=Ha||qe,Ua=ie.useState([]),Lt=(0,Ne.Z)(Ua,2),_t=Lt[0],Wt=Lt[1],Fn=function(jn){if(!(!ta||$e)){var Eo=St(jn,Ea,ua),Co=Eo.map(function(Qo){var $o=Qo.option;return $o}),Ro=Co[Co.length-1];if(Ro&&!Ue(Ro,ua)){var _o=Fe(jn);Wt(function(Qo){return[].concat((0,z.Z)(Qo),[_o])}),ta(Co)}}};ie.useEffect(function(){_t.length&&_t.forEach(function(Bo){var jn=Je(Bo),Eo=St(jn,Ea,ua,!0).map(function(Ro){var _o=Ro.option;return _o}),Co=Eo[Eo.length-1];(!Co||Co[ua.children]||Ue(Co,ua))&&Wt(function(Ro){return Ro.filter(function(_o){return _o!==Bo})})})},[Ea,_t,ua]);var It=ie.useMemo(function(){return new Set(ge(Qt))},[Qt]),ba=ie.useMemo(function(){return new Set(ge(Kn))},[Kn]),Zn=Se(),pa=(0,Ne.Z)(Zn,2),An=pa[0],an=pa[1],gn=function(jn){an(jn),Fn(jn)},On=function(jn){var Eo=jn.disabled,Co=Ue(jn,ua);return!Eo&&(Co||Pa||nt)},fn=function(jn,Eo){var Co=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;pn(jn),!nt&&(Eo||Pa&&(ja==="hover"||Co))&&kt(!1)},ia=ie.useMemo(function(){return $e?ea:Ea},[$e,ea,Ea]),ka=ie.useMemo(function(){for(var Bo=[{options:ia}],jn=ia,Eo=Ke(jn,ua),Co=function(){var $o=An[Ro],Xo=jn.find(function(pr,lr){return(Eo[lr]?Fe(Eo[lr]):pr[ua.value])===$o}),Ko=Xo==null?void 0:Xo[ua.children];if(!(Ko!=null&&Ko.length))return"break";jn=Ko,Bo.push({options:Ko})},Ro=0;Ro<An.length;Ro+=1){var _o=Co();if(_o==="break")break}return Bo},[ia,An,ua]),wa=function(jn,Eo){On(Eo)&&fn(jn,Ue(Eo,ua),!0)};Jt(Ht,ia,ua,An,gn,wa),ie.useEffect(function(){for(var Bo=0;Bo<An.length;Bo+=1){var jn,Eo=An.slice(0,Bo+1),Co=Fe(Eo),Ro=(jn=cn.current)===null||jn===void 0?void 0:jn.querySelector('li[data-path-key="'.concat(Co.replace(/\\{0,2}"/g,'\\"'),'"]'));Ro&&ze(Ro)}},[An]);var Fa=!((qt=ka[0])!==null&&qt!==void 0&&(on=qt.options)!==null&&on!==void 0&&on.length),qa=[(yn={},(0,x.Z)(yn,ua.value,"__EMPTY__"),(0,x.Z)(yn,mt,Kt),(0,x.Z)(yn,"disabled",!0),yn)],ro=(0,ee.Z)((0,ee.Z)({},et),{},{multiple:!Fa&&nt,onSelect:fn,onActive:gn,onToggleOpen:kt,checkedSet:It,halfCheckedSet:ba,loadingKeys:_t,isSelectable:On}),Go=Fa?[{options:qa}]:ka,Br=Go.map(function(Bo,jn){var Eo=An.slice(0,jn),Co=An[jn];return ie.createElement(Ot,(0,De.Z)({key:jn},ro,{searchValue:$e,prefixCls:Ga,options:Bo.options,prevValuePath:Eo,activeValue:Co}))});return ie.createElement(gt,{open:Sn},ie.createElement("div",{className:re()("".concat(Ga,"-menus"),(rn={},(0,x.Z)(rn,"".concat(Ga,"-menu-empty"),Fa),(0,x.Z)(rn,"".concat(Ga,"-rtl"),sn),rn)),ref:cn},Br))}),ut=Pt;function We(et){var Ht=et.onPopupVisibleChange,qt=et.popupVisible,on=et.popupClassName,yn=et.popupPlacement;warning(!Ht,"`onPopupVisibleChange` is deprecated. Please use `onDropdownVisibleChange` instead."),warning(qt===void 0,"`popupVisible` is deprecated. Please use `open` instead."),warning(on===void 0,"`popupClassName` is deprecated. Please use `dropdownClassName` instead."),warning(yn===void 0,"`popupPlacement` is deprecated. Please use `placement` instead.")}function Re(et,Ht){if(et){var qt=function on(yn){for(var rn=0;rn<yn.length;rn++){var mn=yn[rn];if(mn[Ht==null?void 0:Ht.value]===null)return warning(!1,"`value` in Cascader options should not be `null`."),!0;if(Array.isArray(mn[Ht==null?void 0:Ht.children])&&on(mn[Ht==null?void 0:Ht.children]))return!0}};qt(et)}}var he=null,ce=["id","prefixCls","fieldNames","defaultValue","value","changeOnSelect","onChange","displayRender","checkable","autoClearSearchValue","searchValue","onSearch","showSearch","expandTrigger","options","dropdownPrefixCls","loadData","popupVisible","open","popupClassName","dropdownClassName","dropdownMenuColumnStyle","popupPlacement","placement","onDropdownVisibleChange","onPopupVisibleChange","expandIcon","loadingIcon","children","dropdownMatchSelectWidth","showCheckedStrategy"];function _e(et){return Array.isArray(et)&&Array.isArray(et[0])}function it(et){return et?_e(et)?et:(et.length===0?[]:[et]).map(function(Ht){return Array.isArray(Ht)?Ht:[Ht]}):[]}var pe=ie.forwardRef(function(et,Ht){var qt=et.id,on=et.prefixCls,yn=on===void 0?"rc-cascader":on,rn=et.fieldNames,mn=et.defaultValue,qe=et.value,nt=et.changeOnSelect,$e=et.onChange,kt=et.displayRender,Kt=et.checkable,jt=et.autoClearSearchValue,Sn=jt===void 0?!0:jt,cn=et.searchValue,sn=et.onSearch,Ln=et.showSearch,Ea=et.expandTrigger,Qt=et.options,Kn=et.dropdownPrefixCls,ua=et.loadData,Pa=et.popupVisible,pn=et.open,ea=et.popupClassName,Ha=et.dropdownClassName,ta=et.dropdownMenuColumnStyle,ja=et.popupPlacement,Ga=et.placement,Ua=et.onDropdownVisibleChange,Lt=et.onPopupVisibleChange,_t=et.expandIcon,Wt=_t===void 0?">":_t,Fn=et.loadingIcon,It=et.children,ba=et.dropdownMatchSelectWidth,Zn=ba===void 0?!1:ba,pa=et.showCheckedStrategy,An=pa===void 0?Be:pa,an=(0,Ae.Z)(et,ce),gn=(0,je.ZP)(qt),On=!!Kt,fn=(0,E.Z)(mn,{value:qe,postState:it}),ia=(0,Ne.Z)(fn,2),ka=ia[0],wa=ia[1],Fa=ie.useMemo(function(){return Ie(rn)},[JSON.stringify(rn)]),qa=ie.useMemo(function(){return Qt||[]},[Qt]),ro=Qe(qa,Fa),Go=ie.useCallback(function(bn){var Cn=ro();return bn.map(function(Rn){var Na=Cn[Rn].nodes;return Na.map(function(Ya){return Ya[Fa.value]})})},[ro,Fa]),Br=(0,E.Z)("",{value:cn,postState:function(Cn){return Cn||""}}),Bo=(0,Ne.Z)(Br,2),jn=Bo[0],Eo=Bo[1],Co=function(Cn,Rn){Eo(Cn),Rn.source!=="blur"&&sn&&sn(Cn)},Ro=Te(Ln),_o=(0,Ne.Z)(Ro,2),Qo=_o[0],$o=_o[1],Xo=de(jn,qa,Fa,Kn||yn,$o,nt),Ko=yt(qa,Fa),pr=ie.useMemo(function(){var bn=Ko(ka),Cn=(0,Ne.Z)(bn,2),Rn=Cn[0],Na=Cn[1];if(!On||!ka.length)return[Rn,[],Na];var Ya=ge(Rn),po=ro(),ho=(0,Ee.S)(Ya,!0,po),wo=ho.checkedKeys,Do=ho.halfCheckedKeys;return[Go(wo),Go(Do),Na]},[On,ka,ro,Go,Ko]),lr=(0,Ne.Z)(pr,3),Pr=lr[0],Fr=lr[1],bo=lr[2],Ar=ie.useMemo(function(){var bn=ge(Pr),Cn=lt(bn,ro,An);return[].concat((0,z.Z)(bo),(0,z.Z)(Go(Cn)))},[Pr,ro,Go,bo,An]),hr=ot(Ar,qa,Fa,On,kt),Gr=(0,oe.Z)(function(bn){if(wa(bn),$e){var Cn=it(bn),Rn=Cn.map(function(po){return St(po,qa,Fa).map(function(ho){return ho.option})}),Na=On?Cn:Cn[0],Ya=On?Rn:Rn[0];$e(Na,Ya)}}),_r=(0,oe.Z)(function(bn){if((!On||Sn)&&Eo(""),!On)Gr(bn);else{var Cn=Fe(bn),Rn=ge(Pr),Na=ge(Fr),Ya=Rn.includes(Cn),po=bo.some(function(Dr){return Fe(Dr)===Cn}),ho=Pr,wo=bo;if(po&&!Ya)wo=bo.filter(function(Dr){return Fe(Dr)!==Cn});else{var Do=Ya?Rn.filter(function(Dr){return Dr!==Cn}):[].concat((0,z.Z)(Rn),[Cn]),qo=ro(),ko;if(Ya){var wr=(0,Ee.S)(Do,{checked:!1,halfCheckedKeys:Na},qo);ko=wr.checkedKeys}else{var Rr=(0,Ee.S)(Do,!0,qo);ko=Rr.checkedKeys}var kr=lt(ko,ro,An);ho=Go(kr)}Gr([].concat((0,z.Z)(wo),(0,z.Z)(ho)))}}),Tr=function(Cn,Rn){if(Rn.type==="clear"){Gr([]);return}var Na=Rn.values[0],Ya=Na.valueCells;_r(Ya)},Jr=pn!==void 0?pn:Pa,Xr=Ha||ea,ui=Ga||ja,si=function(Cn){Ua==null||Ua(Cn),Lt==null||Lt(Cn)},Yr=ie.useMemo(function(){return{options:qa,fieldNames:Fa,values:Pr,halfValues:Fr,changeOnSelect:nt,onSelect:_r,checkable:Kt,searchOptions:Xo,dropdownPrefixCls:Kn,loadData:ua,expandTrigger:Ea,expandIcon:Wt,loadingIcon:Fn,dropdownMenuColumnStyle:ta}},[qa,Fa,Pr,Fr,nt,_r,Kt,Xo,Kn,ua,Ea,Wt,Fn,ta]),$r=!(jn?Xo:qa).length,na=jn&&$o.matchInputWidth||$r?{}:{minWidth:"auto"};return ie.createElement(b.Provider,{value:Yr},ie.createElement(Le.Ac,(0,De.Z)({},an,{ref:Ht,id:gn,prefixCls:yn,autoClearSearchValue:Sn,dropdownMatchSelectWidth:Zn,dropdownStyle:na,displayValues:hr,onDisplayValuesChange:Tr,mode:On?"multiple":void 0,searchValue:jn,onSearch:Co,showSearch:Qo,OptionList:ut,emptyOptions:$r,open:Jr,dropdownClassName:Xr,placement:ui,onDropdownVisibleChange:si,getRawInputElement:function(){return It}})))});pe.SHOW_PARENT=Be,pe.SHOW_CHILD=ve;var fe=pe,Xe=fe,ke=ne(2738),Ce=ne(62892),tt=ne(53487),Rt=ne(19080),dt=ne(36355),wt=ne(93891),At=ne(1684),zt=ne(19716),pt=ne(32441),en=ne(14154),nn=ne(58582),Tt=ne(84443),Nt=ne(66339),$t=ne(33234),ln=ne(98447),dn=ne(17313),wn=ne(74207),zn=ne(83116);const Mt=et=>{const{prefixCls:Ht,componentCls:qt,antCls:on}=et,yn=`${qt}-menu-item`,rn=`
&${yn}-expand ${yn}-expand-icon,
${yn}-loading-icon
`;return[{[qt]:{width:et.controlWidth}},{[`${qt}-dropdown`]:[(0,ln.C2)(`${Ht}-checkbox`,et),{[`&${on}-select-dropdown`]:{padding:0}},{[qt]:{"&-checkbox":{top:0,marginInlineEnd:et.paddingXS},"&-menus":{display:"flex",flexWrap:"nowrap",alignItems:"flex-start",[`&${qt}-menu-empty`]:{[`${qt}-menu`]:{width:"100%",height:"auto",[yn]:{color:et.colorTextDisabled}}}},"&-menu":{flexGrow:1,minWidth:et.controlItemWidth,height:et.dropdownHeight,margin:0,padding:et.menuPadding,overflow:"auto",verticalAlign:"top",listStyle:"none","-ms-overflow-style":"-ms-autohiding-scrollbar","&:not(:last-child)":{borderInlineEnd:`${et.lineWidth}px ${et.lineType} ${et.colorSplit}`},"&-item":Object.assign(Object.assign({},dn.vS),{display:"flex",flexWrap:"nowrap",alignItems:"center",padding:et.optionPadding,lineHeight:et.lineHeight,cursor:"pointer",transition:`all ${et.motionDurationMid}`,borderRadius:et.borderRadiusSM,"&:hover":{background:et.controlItemBgHover},"&-disabled":{color:et.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"},[rn]:{color:et.colorTextDisabled}},[`&-active:not(${yn}-disabled)`]:{"&, &:hover":{fontWeight:et.optionSelectedFontWeight,backgroundColor:et.optionSelectedBg}},"&-content":{flex:"auto"},[rn]:{marginInlineStart:et.paddingXXS,color:et.colorTextDescription,fontSize:et.fontSizeIcon},"&-keyword":{color:et.colorHighlight}})}}}]},{[`${qt}-dropdown-rtl`]:{direction:"rtl"}},(0,wn.c)(et)]};var Dt=(0,zn.Z)("Cascader",et=>[Mt(et)],et=>{const Ht=Math.round((et.controlHeight-et.fontSize*et.lineHeight)/2);return{controlWidth:184,controlItemWidth:111,dropdownHeight:180,optionSelectedBg:et.controlItemBgActive,optionSelectedFontWeight:et.fontWeightStrong,optionPadding:`${Ht}px ${et.paddingSM}px`,menuPadding:et.paddingXXS}}),Gt=function(et,Ht){var qt={};for(var on in et)Object.prototype.hasOwnProperty.call(et,on)&&Ht.indexOf(on)<0&&(qt[on]=et[on]);if(et!=null&&typeof Object.getOwnPropertySymbols=="function")for(var yn=0,on=Object.getOwnPropertySymbols(et);yn<on.length;yn++)Ht.indexOf(on[yn])<0&&Object.prototype.propertyIsEnumerable.call(et,on[yn])&&(qt[on[yn]]=et[on[yn]]);return qt};const{SHOW_CHILD:un,SHOW_PARENT:tn}=Xe;function Qn(et,Ht,qt){const on=et.toLowerCase().split(Ht).reduce((mn,qe,nt)=>nt===0?[qe]:[].concat((0,z.Z)(mn),[Ht,qe]),[]),yn=[];let rn=0;return on.forEach((mn,qe)=>{const nt=rn+mn.length;let $e=et.slice(rn,nt);rn=nt,qe%2===1&&($e=ie.createElement("span",{className:`${qt}-menu-item-keyword`,key:`separator-${qe}`},$e)),yn.push($e)}),yn}const ca=(et,Ht,qt,on)=>{const yn=[],rn=et.toLowerCase();return Ht.forEach((mn,qe)=>{qe!==0&&yn.push(" / ");let nt=mn[on.label];const $e=typeof nt;($e==="string"||$e==="number")&&(nt=Qn(String(nt),rn,qt)),yn.push(nt)}),yn},Pn=ie.forwardRef((et,Ht)=>{const{prefixCls:qt,size:on,disabled:yn,className:rn,rootClassName:mn,multiple:qe,bordered:nt=!0,transitionName:$e,choiceTransitionName:kt="",popupClassName:Kt,dropdownClassName:jt,expandIcon:Sn,placement:cn,showSearch:sn,allowClear:Ln=!0,notFoundContent:Ea,direction:Qt,getPopupContainer:Kn,status:ua,showArrow:Pa,builtinPlacements:pn,style:ea}=et,Ha=Gt(et,["prefixCls","size","disabled","className","rootClassName","multiple","bordered","transitionName","choiceTransitionName","popupClassName","dropdownClassName","expandIcon","placement","showSearch","allowClear","notFoundContent","direction","getPopupContainer","status","showArrow","builtinPlacements","style"]),ta=(0,ke.Z)(Ha,["suffixIcon"]),{getPopupContainer:ja,getPrefixCls:Ga,renderEmpty:Ua,direction:Lt,popupOverflow:_t,cascader:Wt}=ie.useContext(dt.E_),Fn=Qt||Lt,It=Fn==="rtl",{status:ba,hasFeedback:Zn,isFormItemInput:pa,feedbackIcon:An}=ie.useContext(pt.aM),an=(0,Rt.F)(ba,ua),gn=Ea||(Ua==null?void 0:Ua("Cascader"))||ie.createElement(wt.Z,{componentName:"Cascader"}),On=Ga(),fn=Ga("select",qt),ia=Ga("cascader",qt),[ka,wa]=(0,en.Z)(fn),[Fa]=Dt(ia),{compactSize:qa,compactItemClassnames:ro}=(0,$t.ri)(fn,Qt),Go=re()(Kt||jt,`${ia}-dropdown`,{[`${ia}-dropdown-rtl`]:Fn==="rtl"},mn,wa),Br=ie.useMemo(()=>{if(!sn)return sn;let bo={render:ca};return typeof sn=="object"&&(bo=Object.assign(Object.assign({},bo),sn)),bo},[sn]),Bo=(0,zt.Z)(bo=>{var Ar;return(Ar=on!=null?on:qa)!==null&&Ar!==void 0?Ar:bo}),jn=ie.useContext(At.Z),Eo=yn!=null?yn:jn;let Co=Sn;Sn||(Co=It?ie.createElement(Pe.Z,null):ie.createElement(be.Z,null));const Ro=ie.createElement("span",{className:`${fn}-menu-item-loading-icon`},ie.createElement(Me.Z,{spin:!0})),_o=ie.useMemo(()=>qe?ie.createElement("span",{className:`${ia}-checkbox-inner`}):!1,[qe]),Qo=(0,Tt.Z)(et.suffixIcon,Pa),{suffixIcon:$o,removeIcon:Xo,clearIcon:Ko}=(0,Nt.Z)(Object.assign(Object.assign({},et),{hasFeedback:Zn,feedbackIcon:An,showSuffixIcon:Qo,multiple:qe,prefixCls:fn,componentName:"Cascader"})),pr=ie.useMemo(()=>cn!==void 0?cn:It?"bottomRight":"bottomLeft",[cn,It]),lr=(0,nn.Z)(pn,_t),Pr=Ln===!0?{clearIcon:Ko}:Ln,Fr=ie.createElement(Xe,Object.assign({prefixCls:fn,className:re()(!qt&&ia,{[`${fn}-lg`]:Bo==="large",[`${fn}-sm`]:Bo==="small",[`${fn}-rtl`]:It,[`${fn}-borderless`]:!nt,[`${fn}-in-form-item`]:pa},(0,Rt.Z)(fn,an,Zn),ro,Wt==null?void 0:Wt.className,rn,mn,wa),disabled:Eo,style:Object.assign(Object.assign({},Wt==null?void 0:Wt.style),ea)},ta,{builtinPlacements:lr,direction:Fn,placement:pr,notFoundContent:gn,allowClear:Pr,showSearch:Br,expandIcon:Co,suffixIcon:$o,removeIcon:Xo,loadingIcon:Ro,checkable:_o,dropdownClassName:Go,dropdownPrefixCls:qt||ia,choiceTransitionName:(0,Ce.m)(On,"",kt),transitionName:(0,Ce.m)(On,"slide-up",$e),getPopupContainer:Kn||ja,ref:Ht}));return Fa(ka(Fr))}),Ut=(0,tt.Z)(Pn);Pn.SHOW_PARENT=tn,Pn.SHOW_CHILD=un,Pn._InternalPanelDoNotUseOrYouWillBeFired=Ut;var Xn=Pn},24905:function(ft,vt,ne){"use strict";ne.d(vt,{default:function(){return de}});var z=ne(92310),ie=ne.n(z),Pe=ne(5630),Me=ne(59301),be=ne(36355),xe=ne(1684),re=ne(32441),Ne=Me.createContext(null),Ae=ne(98447),Le=ne(14088),je=ne(4572),Ee=function(me,Be){var ve={};for(var Fe in me)Object.prototype.hasOwnProperty.call(me,Fe)&&Be.indexOf(Fe)<0&&(ve[Fe]=me[Fe]);if(me!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ge=0,Fe=Object.getOwnPropertySymbols(me);ge<Fe.length;ge++)Be.indexOf(Fe[ge])<0&&Object.prototype.propertyIsEnumerable.call(me,Fe[ge])&&(ve[Fe[ge]]=me[Fe[ge]]);return ve};const oe=(me,Be)=>{var ve;const{prefixCls:Fe,className:ge,rootClassName:Je,children:Ie,indeterminate:Ue=!1,style:ze,onMouseEnter:Ke,onMouseLeave:lt,skipGroup:St=!1,disabled:ot}=me,Bt=Ee(me,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:Qe,direction:yt,checkbox:Ft}=Me.useContext(be.E_),Te=Me.useContext(Ne),{isFormItemInput:Ge}=Me.useContext(re.aM),gt=Me.useContext(xe.Z),Zt=(ve=(Te==null?void 0:Te.disabled)||ot)!==null&&ve!==void 0?ve:gt,mt=Me.useRef(Bt.value);Me.useEffect(()=>{Te==null||Te.registerValue(Bt.value)},[]),Me.useEffect(()=>{if(!St)return Bt.value!==mt.current&&(Te==null||Te.cancelValue(mt.current),Te==null||Te.registerValue(Bt.value),mt.current=Bt.value),()=>Te==null?void 0:Te.cancelValue(Bt.value)},[Bt.value]);const Ot=Qe("checkbox",Fe),[Se,Ct]=(0,Ae.ZP)(Ot),Jt=Object.assign({},Bt);Te&&!St&&(Jt.onChange=function(){Bt.onChange&&Bt.onChange.apply(Bt,arguments),Te.toggleOption&&Te.toggleOption({label:Ie,value:Bt.value})},Jt.name=Te.name,Jt.checked=Te.value.includes(Bt.value));const Pt=ie()(`${Ot}-wrapper`,{[`${Ot}-rtl`]:yt==="rtl",[`${Ot}-wrapper-checked`]:Jt.checked,[`${Ot}-wrapper-disabled`]:Zt,[`${Ot}-wrapper-in-form-item`]:Ge},Ft==null?void 0:Ft.className,ge,Je,Ct),ut=ie()({[`${Ot}-indeterminate`]:Ue},je.A,Ct),We=Ue?"mixed":void 0;return Se(Me.createElement(Le.Z,{component:"Checkbox",disabled:Zt},Me.createElement("label",{className:Pt,style:Object.assign(Object.assign({},Ft==null?void 0:Ft.style),ze),onMouseEnter:Ke,onMouseLeave:lt},Me.createElement(Pe.Z,Object.assign({"aria-checked":We},Jt,{prefixCls:Ot,className:ut,disabled:Zt,ref:Be})),Ie!==void 0&&Me.createElement("span",null,Ie))))};var a=Me.forwardRef(oe),b=ne(94480),y=ne(2738),x=function(me,Be){var ve={};for(var Fe in me)Object.prototype.hasOwnProperty.call(me,Fe)&&Be.indexOf(Fe)<0&&(ve[Fe]=me[Fe]);if(me!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ge=0,Fe=Object.getOwnPropertySymbols(me);ge<Fe.length;ge++)Be.indexOf(Fe[ge])<0&&Object.prototype.propertyIsEnumerable.call(me,Fe[ge])&&(ve[Fe[ge]]=me[Fe[ge]]);return ve};const ee=(me,Be)=>{const{defaultValue:ve,children:Fe,options:ge=[],prefixCls:Je,className:Ie,rootClassName:Ue,style:ze,onChange:Ke}=me,lt=x(me,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:St,direction:ot}=Me.useContext(be.E_),[Bt,Qe]=Me.useState(lt.value||ve||[]),[yt,Ft]=Me.useState([]);Me.useEffect(()=>{"value"in lt&&Qe(lt.value||[])},[lt.value]);const Te=Me.useMemo(()=>ge.map(Re=>typeof Re=="string"||typeof Re=="number"?{label:Re,value:Re}:Re),[ge]),Ge=Re=>{Ft(he=>he.filter(ce=>ce!==Re))},gt=Re=>{Ft(he=>[].concat((0,b.Z)(he),[Re]))},Zt=Re=>{const he=Bt.indexOf(Re.value),ce=(0,b.Z)(Bt);he===-1?ce.push(Re.value):ce.splice(he,1),"value"in lt||Qe(ce),Ke==null||Ke(ce.filter(_e=>yt.includes(_e)).sort((_e,it)=>{const pe=Te.findIndex(Xe=>Xe.value===_e),fe=Te.findIndex(Xe=>Xe.value===it);return pe-fe}))},mt=St("checkbox",Je),Ot=`${mt}-group`,[Se,Ct]=(0,Ae.ZP)(mt),Jt=(0,y.Z)(lt,["value","disabled"]),Pt=ge.length?Te.map(Re=>Me.createElement(a,{prefixCls:mt,key:Re.value.toString(),disabled:"disabled"in Re?Re.disabled:lt.disabled,value:Re.value,checked:Bt.includes(Re.value),onChange:Re.onChange,className:`${Ot}-item`,style:Re.style,title:Re.title},Re.label)):Fe,ut={toggleOption:Zt,value:Bt,disabled:lt.disabled,name:lt.name,registerValue:gt,cancelValue:Ge},We=ie()(Ot,{[`${Ot}-rtl`]:ot==="rtl"},Ie,Ue,Ct);return Se(Me.createElement("div",Object.assign({className:We,style:ze},Jt,{ref:Be}),Me.createElement(Ne.Provider,{value:ut},Pt)))},te=Me.forwardRef(ee);var ae=Me.memo(te);const ue=a;ue.Group=ae,ue.__ANT_CHECKBOX=!0;var de=ue},98447:function(ft,vt,ne){"use strict";ne.d(vt,{C2:function(){return be}});var z=ne(17313),ie=ne(37613),Pe=ne(83116);const Me=xe=>{const{checkboxCls:re}=xe,De=`${re}-wrapper`;return[{[`${re}-group`]:Object.assign(Object.assign({},(0,z.Wf)(xe)),{display:"inline-flex",flexWrap:"wrap",columnGap:xe.marginXS,[`> ${xe.antCls}-row`]:{flex:1}}),[De]:Object.assign(Object.assign({},(0,z.Wf)(xe)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${De}`]:{marginInlineStart:0},[`&${De}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[re]:Object.assign(Object.assign({},(0,z.Wf)(xe)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:xe.borderRadiusSM,alignSelf:"center",[`${re}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${re}-inner`]:Object.assign({},(0,z.oN)(xe))},[`${re}-inner`]:{boxSizing:"border-box",position:"relative",top:0,insetInlineStart:0,display:"block",width:xe.checkboxSize,height:xe.checkboxSize,direction:"ltr",backgroundColor:xe.colorBgContainer,border:`${xe.lineWidth}px ${xe.lineType} ${xe.colorBorder}`,borderRadius:xe.borderRadiusSM,borderCollapse:"separate",transition:`all ${xe.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"21.5%",display:"table",width:xe.checkboxSize/14*5,height:xe.checkboxSize/14*8,border:`${xe.lineWidthBold}px solid ${xe.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${xe.motionDurationFast} ${xe.motionEaseInBack}, opacity ${xe.motionDurationFast}`}},"& + span":{paddingInlineStart:xe.paddingXS,paddingInlineEnd:xe.paddingXS}})},{[`
${De}:not(${De}-disabled),
${re}:not(${re}-disabled)
`]:{[`&:hover ${re}-inner`]:{borderColor:xe.colorPrimary}},[`${De}:not(${De}-disabled)`]:{[`&:hover ${re}-checked:not(${re}-disabled) ${re}-inner`]:{backgroundColor:xe.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${re}-checked:not(${re}-disabled):after`]:{borderColor:xe.colorPrimaryHover}}},{[`${re}-checked`]:{[`${re}-inner`]:{backgroundColor:xe.colorPrimary,borderColor:xe.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${xe.motionDurationMid} ${xe.motionEaseOutBack} ${xe.motionDurationFast}`}}},[`
${De}-checked:not(${De}-disabled),
${re}-checked:not(${re}-disabled)
`]:{[`&:hover ${re}-inner`]:{backgroundColor:xe.colorPrimaryHover,borderColor:"transparent"}}},{[re]:{"&-indeterminate":{[`${re}-inner`]:{backgroundColor:xe.colorBgContainer,borderColor:xe.colorBorder,"&:after":{top:"50%",insetInlineStart:"50%",width:xe.fontSizeLG/2,height:xe.fontSizeLG/2,backgroundColor:xe.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}}}}},{[`${De}-disabled`]:{cursor:"not-allowed"},[`${re}-disabled`]:{[`&, ${re}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${re}-inner`]:{background:xe.colorBgContainerDisabled,borderColor:xe.colorBorder,"&:after":{borderColor:xe.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:xe.colorTextDisabled},[`&${re}-indeterminate ${re}-inner::after`]:{background:xe.colorTextDisabled}}}]};function be(xe,re){const De=(0,ie.TS)(re,{checkboxCls:`.${xe}`,checkboxSize:re.controlInteractiveSize});return[Me(De)]}vt.ZP=(0,Pe.Z)("Checkbox",(xe,re)=>{let{prefixCls:De}=re;return[be(De,xe)]})},36381:function(ft,vt,ne){"use strict";ne.d(vt,{default:function(){return Jt}});var z=ne(38819),ie=ne(92310),Pe=ne.n(ie),Me=ne(54476),be=ne(94480),xe=ne(42978),re=ne(76190),De=ne(18929),Ne=ne(48736),Ae=ne(59301),Le=ne(75931),je=ne(11592),Ee=ne(20068),oe=ne(77900),E=ne(10228),a=Ae.forwardRef(function(Pt,ut){var We=Pt.prefixCls,Re=Pt.forceRender,he=Pt.className,ce=Pt.style,_e=Pt.children,it=Pt.isActive,pe=Pt.role,fe=Ae.useState(it||Re),Xe=(0,xe.Z)(fe,2),ke=Xe[0],Ce=Xe[1];return Ae.useEffect(function(){(Re||it)&&Ce(!0)},[Re,it]),ke?Ae.createElement("div",{ref:ut,className:Pe()("".concat(We,"-content"),(0,Ee.Z)((0,Ee.Z)({},"".concat(We,"-content-active"),it),"".concat(We,"-content-inactive"),!it),he),style:ce,role:pe},Ae.createElement("div",{className:"".concat(We,"-content-box")},_e)):null});a.displayName="PanelContent";var b=a,y=["showArrow","headerClass","isActive","onItemClick","forceRender","className","prefixCls","collapsible","accordion","panelKey","extra","header","expandIcon","openMotion","destroyInactivePanel","children"],x=Ae.forwardRef(function(Pt,ut){var We=Pt.showArrow,Re=We===void 0?!0:We,he=Pt.headerClass,ce=Pt.isActive,_e=Pt.onItemClick,it=Pt.forceRender,pe=Pt.className,fe=Pt.prefixCls,Xe=Pt.collapsible,ke=Pt.accordion,Ce=Pt.panelKey,tt=Pt.extra,Rt=Pt.header,dt=Pt.expandIcon,wt=Pt.openMotion,At=Pt.destroyInactivePanel,zt=Pt.children,pt=(0,Le.Z)(Pt,y),en=Xe==="disabled",nn=Xe==="header",Tt=Xe==="icon",Nt=tt!=null&&typeof tt!="boolean",$t=function(){_e==null||_e(Ce)},ln=function(Gt){(Gt.key==="Enter"||Gt.keyCode===E.Z.ENTER||Gt.which===E.Z.ENTER)&&$t()},dn=typeof dt=="function"?dt(Pt):Ae.createElement("i",{className:"arrow"});dn&&(dn=Ae.createElement("div",{className:"".concat(fe,"-expand-icon"),onClick:["header","icon"].includes(Xe)?$t:void 0},dn));var wn=Pe()((0,Ee.Z)((0,Ee.Z)((0,Ee.Z)({},"".concat(fe,"-item"),!0),"".concat(fe,"-item-active"),ce),"".concat(fe,"-item-disabled"),en),pe),zn=Pe()(he,(0,Ee.Z)((0,Ee.Z)((0,Ee.Z)({},"".concat(fe,"-header"),!0),"".concat(fe,"-header-collapsible-only"),nn),"".concat(fe,"-icon-collapsible-only"),Tt)),Mt={className:zn,"aria-expanded":ce,"aria-disabled":en,onKeyDown:ln};return!nn&&!Tt&&(Mt.onClick=$t,Mt.role=ke?"tab":"button",Mt.tabIndex=en?-1:0),Ae.createElement("div",(0,Me.Z)({},pt,{ref:ut,className:wn}),Ae.createElement("div",Mt,Re&&dn,Ae.createElement("span",{className:"".concat(fe,"-header-text"),onClick:Xe==="header"?$t:void 0},Rt),Nt&&Ae.createElement("div",{className:"".concat(fe,"-extra")},tt)),Ae.createElement(oe.default,(0,Me.Z)({visible:ce,leavedClassName:"".concat(fe,"-content-hidden")},wt,{forceRender:it,removeOnLeave:At}),function(Dt,Gt){var un=Dt.className,tn=Dt.style;return Ae.createElement(b,{ref:Gt,prefixCls:fe,className:un,style:tn,isActive:ce,forceRender:it,role:ke?"tabpanel":void 0},zt)}))}),ee=x,te=["children","label","key","collapsible","onItemClick","destroyInactivePanel"],ae=function(ut,We){var Re=We.prefixCls,he=We.accordion,ce=We.collapsible,_e=We.destroyInactivePanel,it=We.onItemClick,pe=We.activeKey,fe=We.openMotion,Xe=We.expandIcon;return ut.map(function(ke,Ce){var tt=ke.children,Rt=ke.label,dt=ke.key,wt=ke.collapsible,At=ke.onItemClick,zt=ke.destroyInactivePanel,pt=(0,Le.Z)(ke,te),en=String(dt!=null?dt:Ce),nn=wt!=null?wt:ce,Tt=zt!=null?zt:_e,Nt=function(dn){nn!=="disabled"&&(it(dn),At==null||At(dn))},$t=!1;return he?$t=pe[0]===en:$t=pe.indexOf(en)>-1,Ae.createElement(ee,(0,Me.Z)({},pt,{prefixCls:Re,key:en,panelKey:en,isActive:$t,accordion:he,openMotion:fe,expandIcon:Xe,header:Rt,collapsible:nn,onItemClick:Nt,destroyInactivePanel:Tt}),tt)})},ue=function(ut,We,Re){if(!ut)return null;var he=Re.prefixCls,ce=Re.accordion,_e=Re.collapsible,it=Re.destroyInactivePanel,pe=Re.onItemClick,fe=Re.activeKey,Xe=Re.openMotion,ke=Re.expandIcon,Ce=ut.key||String(We),tt=ut.props,Rt=tt.header,dt=tt.headerClass,wt=tt.destroyInactivePanel,At=tt.collapsible,zt=tt.onItemClick,pt=!1;ce?pt=fe[0]===Ce:pt=fe.indexOf(Ce)>-1;var en=At!=null?At:_e,nn=function($t){en!=="disabled"&&(pe($t),zt==null||zt($t))},Tt={key:Ce,panelKey:Ce,header:Rt,headerClass:dt,isActive:pt,prefixCls:he,destroyInactivePanel:wt!=null?wt:it,openMotion:Xe,accordion:ce,children:ut.props.children,onItemClick:nn,expandIcon:ke,collapsible:en};return typeof ut.type=="string"?ut:(Object.keys(Tt).forEach(function(Nt){typeof Tt[Nt]=="undefined"&&delete Tt[Nt]}),Ae.cloneElement(ut,Tt))};function de(Pt,ut,We){return Array.isArray(Pt)?ae(Pt,We):(0,je.Z)(ut).map(function(Re,he){return ue(Re,he,We)})}var me=de,Be=ne(26112);function ve(Pt){var ut=Pt;if(!Array.isArray(ut)){var We=(0,re.Z)(ut);ut=We==="number"||We==="string"?[ut]:[]}return ut.map(function(Re){return String(Re)})}var Fe=Ae.forwardRef(function(Pt,ut){var We=Pt.prefixCls,Re=We===void 0?"rc-collapse":We,he=Pt.destroyInactivePanel,ce=he===void 0?!1:he,_e=Pt.style,it=Pt.accordion,pe=Pt.className,fe=Pt.children,Xe=Pt.collapsible,ke=Pt.openMotion,Ce=Pt.expandIcon,tt=Pt.activeKey,Rt=Pt.defaultActiveKey,dt=Pt.onChange,wt=Pt.items,At=Pe()(Re,pe),zt=(0,De.Z)([],{value:tt,onChange:function(ln){return dt==null?void 0:dt(ln)},defaultValue:Rt,postState:ve}),pt=(0,xe.Z)(zt,2),en=pt[0],nn=pt[1],Tt=function(ln){return nn(function(){if(it)return en[0]===ln?[]:[ln];var dn=en.indexOf(ln),wn=dn>-1;return wn?en.filter(function(zn){return zn!==ln}):[].concat((0,be.Z)(en),[ln])})};(0,Ne.ZP)(!fe,"[rc-collapse] `children` will be removed in next major version. Please use `items` instead.");var Nt=me(wt,fe,{prefixCls:Re,accordion:it,openMotion:ke,expandIcon:Ce,collapsible:Xe,destroyInactivePanel:ce,onItemClick:Tt,activeKey:en});return Ae.createElement("div",(0,Me.Z)({ref:ut,className:At,style:_e,role:it?"tablist":void 0},(0,Be.Z)(Pt,{aria:!0,data:!0})),Nt)}),ge=Object.assign(Fe,{Panel:ee}),Je=ge,Ie=ge.Panel,Ue=ne(2738),ze=ne(62892),Ke=ne(92343),lt=ne(36355),St=ne(19716),Bt=Ae.forwardRef((Pt,ut)=>{const{getPrefixCls:We}=Ae.useContext(lt.E_),{prefixCls:Re,className:he,showArrow:ce=!0}=Pt,_e=We("collapse",Re),it=Pe()({[`${_e}-no-arrow`]:!ce},he);return Ae.createElement(Je.Panel,Object.assign({ref:ut},Pt,{prefixCls:_e,className:it}))}),Qe=ne(17313),yt=ne(8378),Ft=ne(83116),Te=ne(37613);const Ge=Pt=>{const{componentCls:ut,contentBg:We,padding:Re,headerBg:he,headerPadding:ce,collapseHeaderPaddingSM:_e,collapseHeaderPaddingLG:it,collapsePanelBorderRadius:pe,lineWidth:fe,lineType:Xe,colorBorder:ke,colorText:Ce,colorTextHeading:tt,colorTextDisabled:Rt,fontSize:dt,fontSizeLG:wt,lineHeight:At,marginSM:zt,paddingSM:pt,paddingLG:en,paddingXS:nn,motionDurationSlow:Tt,fontSizeIcon:Nt,contentPadding:$t}=Pt,ln=`${fe}px ${Xe} ${ke}`;return{[ut]:Object.assign(Object.assign({},(0,Qe.Wf)(Pt)),{backgroundColor:he,border:ln,borderBottom:0,borderRadius:`${pe}px`,"&-rtl":{direction:"rtl"},[`& > ${ut}-item`]:{borderBottom:ln,"&:last-child":{[`
&,
& > ${ut}-header`]:{borderRadius:`0 0 ${pe}px ${pe}px`}},[`> ${ut}-header`]:{position:"relative",display:"flex",flexWrap:"nowrap",alignItems:"flex-start",padding:ce,color:tt,lineHeight:At,cursor:"pointer",transition:`all ${Tt}, visibility 0s`,[`> ${ut}-header-text`]:{flex:"auto"},"&:focus":{outline:"none"},[`${ut}-expand-icon`]:{height:dt*At,display:"flex",alignItems:"center",paddingInlineEnd:zt},[`${ut}-arrow`]:Object.assign(Object.assign({},(0,Qe.Ro)()),{fontSize:Nt,svg:{transition:`transform ${Tt}`}}),[`${ut}-header-text`]:{marginInlineEnd:"auto"}},[`${ut}-header-collapsible-only`]:{cursor:"default",[`${ut}-header-text`]:{flex:"none",cursor:"pointer"}},[`${ut}-icon-collapsible-only`]:{cursor:"default",[`${ut}-expand-icon`]:{cursor:"pointer"}}},[`${ut}-content`]:{color:Ce,backgroundColor:We,borderTop:ln,[`& > ${ut}-content-box`]:{padding:$t},"&-hidden":{display:"none"}},"&-small":{[`> ${ut}-item`]:{[`> ${ut}-header`]:{padding:_e,paddingInlineStart:nn,[`> ${ut}-expand-icon`]:{marginInlineStart:pt-nn}},[`> ${ut}-content > ${ut}-content-box`]:{padding:pt}}},"&-large":{[`> ${ut}-item`]:{fontSize:wt,[`> ${ut}-header`]:{padding:it,paddingInlineStart:Re,[`> ${ut}-expand-icon`]:{height:wt*At,marginInlineStart:en-Re}},[`> ${ut}-content > ${ut}-content-box`]:{padding:en}}},[`${ut}-item:last-child`]:{[`> ${ut}-content`]:{borderRadius:`0 0 ${pe}px ${pe}px`}},[`& ${ut}-item-disabled > ${ut}-header`]:{"\n &,\n & > .arrow\n ":{color:Rt,cursor:"not-allowed"}},[`&${ut}-icon-position-end`]:{[`& > ${ut}-item`]:{[`> ${ut}-header`]:{[`${ut}-expand-icon`]:{order:1,paddingInlineEnd:0,paddingInlineStart:zt}}}}})}},gt=Pt=>{const{componentCls:ut}=Pt,We=`> ${ut}-item > ${ut}-header ${ut}-arrow svg`;return{[`${ut}-rtl`]:{[We]:{transform:"rotate(180deg)"}}}},Zt=Pt=>{const{componentCls:ut,headerBg:We,paddingXXS:Re,colorBorder:he}=Pt;return{[`${ut}-borderless`]:{backgroundColor:We,border:0,[`> ${ut}-item`]:{borderBottom:`1px solid ${he}`},[`
> ${ut}-item:last-child,
> ${ut}-item:last-child ${ut}-header
`]:{borderRadius:0},[`> ${ut}-item:last-child`]:{borderBottom:0},[`> ${ut}-item > ${ut}-content`]:{backgroundColor:"transparent",borderTop:0},[`> ${ut}-item > ${ut}-content > ${ut}-content-box`]:{paddingTop:Re}}}},mt=Pt=>{const{componentCls:ut,paddingSM:We}=Pt;return{[`${ut}-ghost`]:{backgroundColor:"transparent",border:0,[`> ${ut}-item`]:{borderBottom:0,[`> ${ut}-content`]:{backgroundColor:"transparent",border:0,[`> ${ut}-content-box`]:{paddingBlock:We}}}}}};var Ot=(0,Ft.Z)("Collapse",Pt=>{const ut=(0,Te.TS)(Pt,{collapseHeaderPaddingSM:`${Pt.paddingXS}px ${Pt.paddingSM}px`,collapseHeaderPaddingLG:`${Pt.padding}px ${Pt.paddingLG}px`,collapsePanelBorderRadius:Pt.borderRadiusLG});return[Ge(ut),Zt(ut),mt(ut),gt(ut),(0,yt.Z)(ut)]},Pt=>({headerPadding:`${Pt.paddingSM}px ${Pt.padding}px`,headerBg:Pt.colorFillAlter,contentPadding:`${Pt.padding}px 16px`,contentBg:Pt.colorBgContainer})),Ct=Object.assign(Ae.forwardRef((Pt,ut)=>{const{getPrefixCls:We,direction:Re,collapse:he}=Ae.useContext(lt.E_),{prefixCls:ce,className:_e,rootClassName:it,style:pe,bordered:fe=!0,ghost:Xe,size:ke,expandIconPosition:Ce="start",children:tt,expandIcon:Rt}=Pt,dt=(0,St.Z)(ln=>{var dn;return(dn=ke!=null?ke:ln)!==null&&dn!==void 0?dn:"middle"}),wt=We("collapse",ce),At=We(),[zt,pt]=Ot(wt),en=Ae.useMemo(()=>Ce==="left"?"start":Ce==="right"?"end":Ce,[Ce]),nn=function(){let ln=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const dn=Rt?Rt(ln):Ae.createElement(z.Z,{rotate:ln.isActive?90:void 0});return(0,Ke.Tm)(dn,()=>({className:Pe()(dn.props.className,`${wt}-arrow`)}))},Tt=Pe()(`${wt}-icon-position-${en}`,{[`${wt}-borderless`]:!fe,[`${wt}-rtl`]:Re==="rtl",[`${wt}-ghost`]:!!Xe,[`${wt}-${dt}`]:dt!=="middle"},he==null?void 0:he.className,_e,it,pt),Nt=Object.assign(Object.assign({},(0,ze.Z)(At)),{motionAppear:!1,leavedClassName:`${wt}-content-hidden`}),$t=Ae.useMemo(()=>tt?(0,je.Z)(tt).map((ln,dn)=>{var wn,zn;if(!((wn=ln.props)===null||wn===void 0)&&wn.disabled){const Mt=(zn=ln.key)!==null&&zn!==void 0?zn:String(dn),{disabled:Dt,collapsible:Gt}=ln.props,un=Object.assign(Object.assign({},(0,Ue.Z)(ln.props,["disabled"])),{key:Mt,collapsible:Gt!=null?Gt:Dt?"disabled":void 0});return(0,Ke.Tm)(ln,un)}return ln}):null,[tt]);return zt(Ae.createElement(Je,Object.assign({ref:ut,openMotion:Nt},(0,Ue.Z)(Pt,["rootClassName"]),{expandIcon:nn,prefixCls:wt,className:Tt,style:Object.assign(Object.assign({},he==null?void 0:he.style),pe)}),$t))}),{Panel:Bt}),Jt=Ct},28103:function(ft,vt,ne){"use strict";ne.d(vt,{Z:function(){return je}});var z=ne(92310),ie=ne.n(z),Pe=ne(59301),Me=ne(36355),be=ne(17313),xe=ne(83116),re=ne(37613);const De=Ee=>{const{componentCls:oe,sizePaddingEdgeHorizontal:E,colorSplit:a,lineWidth:b,textPaddingInline:y,orientationMargin:x,verticalMarginInline:ee}=Ee;return{[oe]:Object.assign(Object.assign({},(0,be.Wf)(Ee)),{borderBlockStart:`${b}px solid ${a}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",marginInline:ee,marginBlock:0,verticalAlign:"middle",borderTop:0,borderInlineStart:`${b}px solid ${a}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${Ee.dividerHorizontalGutterMargin}px 0`},[`&-horizontal${oe}-with-text`]:{display:"flex",alignItems:"center",margin:`${Ee.dividerHorizontalWithTextGutterMargin}px 0`,color:Ee.colorTextHeading,fontWeight:500,fontSize:Ee.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${oe}-with-text-left`]:{"&::before":{width:`${x*100}%`},"&::after":{width:`${100-x*100}%`}},[`&-horizontal${oe}-with-text-right`]:{"&::before":{width:`${100-x*100}%`},"&::after":{width:`${x*100}%`}},[`${oe}-inner-text`]:{display:"inline-block",paddingBlock:0,paddingInline:y},"&-dashed":{background:"none",borderColor:a,borderStyle:"dashed",borderWidth:`${b}px 0 0`},[`&-horizontal${oe}-with-text${oe}-dashed`]:{"&::before, &::after":{borderStyle:"dashed none none"}},[`&-vertical${oe}-dashed`]:{borderInlineStartWidth:b,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${oe}-with-text`]:{color:Ee.colorText,fontWeight:"normal",fontSize:Ee.fontSize},[`&-horizontal${oe}-with-text-left${oe}-no-default-orientation-margin-left`]:{"&::before":{width:0},"&::after":{width:"100%"},[`${oe}-inner-text`]:{paddingInlineStart:E}},[`&-horizontal${oe}-with-text-right${oe}-no-default-orientation-margin-right`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${oe}-inner-text`]:{paddingInlineEnd:E}}})}};var Ne=(0,xe.Z)("Divider",Ee=>{const oe=(0,re.TS)(Ee,{dividerHorizontalWithTextGutterMargin:Ee.margin,dividerHorizontalGutterMargin:Ee.marginLG,sizePaddingEdgeHorizontal:0});return[De(oe)]},Ee=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:Ee.marginXS})),Ae=function(Ee,oe){var E={};for(var a in Ee)Object.prototype.hasOwnProperty.call(Ee,a)&&oe.indexOf(a)<0&&(E[a]=Ee[a]);if(Ee!=null&&typeof Object.getOwnPropertySymbols=="function")for(var b=0,a=Object.getOwnPropertySymbols(Ee);b<a.length;b++)oe.indexOf(a[b])<0&&Object.prototype.propertyIsEnumerable.call(Ee,a[b])&&(E[a[b]]=Ee[a[b]]);return E},je=Ee=>{const{getPrefixCls:oe,direction:E,divider:a}=Pe.useContext(Me.E_),{prefixCls:b,type:y="horizontal",orientation:x="center",orientationMargin:ee,className:te,rootClassName:ae,children:ue,dashed:de,plain:me,style:Be}=Ee,ve=Ae(Ee,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","plain","style"]),Fe=oe("divider",b),[ge,Je]=Ne(Fe),Ie=x.length>0?`-${x}`:x,Ue=!!ue,ze=x==="left"&&ee!=null,Ke=x==="right"&&ee!=null,lt=ie()(Fe,a==null?void 0:a.className,Je,`${Fe}-${y}`,{[`${Fe}-with-text`]:Ue,[`${Fe}-with-text${Ie}`]:Ue,[`${Fe}-dashed`]:!!de,[`${Fe}-plain`]:!!me,[`${Fe}-rtl`]:E==="rtl",[`${Fe}-no-default-orientation-margin-left`]:ze,[`${Fe}-no-default-orientation-margin-right`]:Ke},te,ae),St=Pe.useMemo(()=>typeof ee=="number"?ee:/^\d+$/.test(ee)?Number(ee):ee,[ee]),ot=Object.assign(Object.assign({},ze&&{marginLeft:St}),Ke&&{marginRight:St});return ge(Pe.createElement("div",Object.assign({className:lt,style:Object.assign(Object.assign({},a==null?void 0:a.style),Be)},ve,{role:"separator"}),ue&&y!=="vertical"&&Pe.createElement("span",{className:`${Fe}-inner-text`,style:ot},ue)))}},91857:function(ft,vt,ne){"use strict";var z=ne(59301),ie=ne(38819),Pe=ne(92310),Me=ne.n(Pe),be=ne(31561),xe=ne(70425),re=ne(18929),De=ne(2738),Ne=ne(79676),Ae=ne(53487),Le=ne(92343),je=ne(36355),Ee=ne(20834),oe=ne(40875),E=ne(88088),a=ne(47211);const b=null,y=ae=>{const{menu:ue,arrow:de,prefixCls:me,children:Be,trigger:ve,disabled:Fe,dropdownRender:ge,getPopupContainer:Je,overlayClassName:Ie,rootClassName:Ue,open:ze,onOpenChange:Ke,visible:lt,onVisibleChange:St,mouseEnterDelay:ot=.15,mouseLeaveDelay:Bt=.1,autoAdjustOverflow:Qe=!0,placement:yt="",overlay:Ft,transitionName:Te}=ae,{getPopupContainer:Ge,getPrefixCls:gt,direction:Zt}=z.useContext(je.E_),mt=z.useMemo(()=>{const Ce=gt();return Te!==void 0?Te:yt.includes("top")?`${Ce}-slide-down`:`${Ce}-slide-up`},[gt,yt,Te]),Ot=z.useMemo(()=>yt?yt.includes("Center")?yt.slice(0,yt.indexOf("Center")):yt:Zt==="rtl"?"bottomRight":"bottomLeft",[yt,Zt]),Se=gt("dropdown",me),[Ct,Jt]=(0,a.Z)(Se),[,Pt]=(0,E.Z)(),ut=z.Children.only(Be),We=(0,Le.Tm)(ut,{className:Me()(`${Se}-trigger`,{[`${Se}-rtl`]:Zt==="rtl"},ut.props.className),disabled:Fe}),Re=Fe?[]:ve;let he;Re&&Re.includes("contextMenu")&&(he=!0);const[ce,_e]=(0,re.Z)(!1,{value:ze!=null?ze:lt}),it=(0,xe.useEvent)(Ce=>{Ke==null||Ke(Ce),St==null||St(Ce),_e(Ce)}),pe=Me()(Ie,Ue,Jt,{[`${Se}-rtl`]:Zt==="rtl"}),fe=(0,Ne.Z)({arrowPointAtCenter:typeof de=="object"&&de.pointAtCenter,autoAdjustOverflow:Qe,offset:Pt.marginXXS,arrowWidth:de?Pt.sizePopupArrow:0,borderRadius:Pt.borderRadius}),Xe=z.useCallback(()=>{_e(!1)},[]),ke=()=>{let Ce;return ue!=null&&ue.items?Ce=z.createElement(Ee.default,Object.assign({},ue)):typeof Ft=="function"?Ce=Ft():Ce=Ft,ge&&(Ce=ge(Ce)),Ce=z.Children.only(typeof Ce=="string"?z.createElement("span",null,Ce):Ce),z.createElement(oe.J,{prefixCls:`${Se}-menu`,expandIcon:z.createElement("span",{className:`${Se}-menu-submenu-arrow`},z.createElement(ie.Z,{className:`${Se}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:Xe,validator:tt=>{let{mode:Rt}=tt}},Ce)};return Ct(z.createElement(be.Z,Object.assign({alignPoint:he},(0,De.Z)(ae,["rootClassName"]),{mouseEnterDelay:ot,mouseLeaveDelay:Bt,visible:ce,builtinPlacements:fe,arrow:!!de,overlayClassName:pe,prefixCls:Se,getPopupContainer:Je||Ge,transitionName:mt,trigger:Re,overlay:ke,placement:Ot,onVisibleChange:it}),We))};function x(ae){return Object.assign(Object.assign({},ae),{align:{overflow:{adjustX:!1,adjustY:!1}}})}const ee=(0,Ae.Z)(y,"dropdown",ae=>ae,x),te=ae=>z.createElement(ee,Object.assign({},ae),z.createElement("span",null));y._InternalPanelDoNotUseOrYouWillBeFired=te,vt.Z=y},38854:function(ft,vt,ne){"use strict";ne.d(vt,{Z:function(){return E}});var z=ne(91857),ie=ne(92310),Pe=ne.n(ie),Me=ne(59301),be=ne(18785),xe=ne(3113),re=ne(36355),De=ne(81327),Ne=ne(33234),Ae=ne(47211),Le=function(a,b){var y={};for(var x in a)Object.prototype.hasOwnProperty.call(a,x)&&b.indexOf(x)<0&&(y[x]=a[x]);if(a!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ee=0,x=Object.getOwnPropertySymbols(a);ee<x.length;ee++)b.indexOf(x[ee])<0&&Object.prototype.propertyIsEnumerable.call(a,x[ee])&&(y[x[ee]]=a[x[ee]]);return y};const je=a=>{const{getPopupContainer:b,getPrefixCls:y,direction:x}=Me.useContext(re.E_),{prefixCls:ee,type:te="default",danger:ae,disabled:ue,loading:de,onClick:me,htmlType:Be,children:ve,className:Fe,menu:ge,arrow:Je,autoFocus:Ie,overlay:Ue,trigger:ze,align:Ke,open:lt,onOpenChange:St,placement:ot,getPopupContainer:Bt,href:Qe,icon:yt=Me.createElement(be.Z,null),title:Ft,buttonsRender:Te=ke=>ke,mouseEnterDelay:Ge,mouseLeaveDelay:gt,overlayClassName:Zt,overlayStyle:mt,destroyPopupOnHide:Ot,dropdownRender:Se}=a,Ct=Le(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"]),Jt=y("dropdown",ee),Pt=`${Jt}-button`,[ut,We]=(0,Ae.Z)(Jt),Re={menu:ge,arrow:Je,autoFocus:Ie,align:Ke,disabled:ue,trigger:ue?[]:ze,onOpenChange:St,getPopupContainer:Bt||b,mouseEnterDelay:Ge,mouseLeaveDelay:gt,overlayClassName:Zt,overlayStyle:mt,destroyPopupOnHide:Ot,dropdownRender:Se},{compactSize:he,compactItemClassnames:ce}=(0,Ne.ri)(Jt,x),_e=Pe()(Pt,ce,Fe,We);"overlay"in a&&(Re.overlay=Ue),"open"in a&&(Re.open=lt),"placement"in a?Re.placement=ot:Re.placement=x==="rtl"?"bottomLeft":"bottomRight";const it=Me.createElement(xe.ZP,{type:te,danger:ae,disabled:ue,loading:de,onClick:me,htmlType:Be,href:Qe,title:Ft},ve),pe=Me.createElement(xe.ZP,{type:te,danger:ae,icon:yt}),[fe,Xe]=Te([it,pe]);return ut(Me.createElement(De.Z.Compact,Object.assign({className:_e,size:he,block:!0},Ct),fe,Me.createElement(z.Z,Object.assign({},Re),Xe)))};je.__ANT_BUTTON=!0;var Ee=je;const oe=z.Z;oe.Button=Ee;var E=oe},47211:function(ft,vt,ne){"use strict";ne.d(vt,{Z:function(){return Le}});var z=ne(17313),ie=ne(13826),Pe=ne(92899),Me=ne(29878),be=ne(19447),xe=ne(83116),re=ne(37613),Ne=je=>{const{componentCls:Ee,menuCls:oe,colorError:E,colorTextLightSolid:a}=je,b=`${oe}-item`;return{[`${Ee}, ${Ee}-menu-submenu`]:{[`${oe} ${b}`]:{[`&${b}-danger:not(${b}-disabled)`]:{color:E,"&:hover":{color:a,backgroundColor:E}}}}}};const Ae=je=>{const{componentCls:Ee,menuCls:oe,zIndexPopup:E,dropdownArrowDistance:a,sizePopupArrow:b,antCls:y,iconCls:x,motionDurationMid:ee,dropdownPaddingVertical:te,fontSize:ae,dropdownEdgeChildPadding:ue,colorTextDisabled:de,fontSizeIcon:me,controlPaddingHorizontal:Be,colorBgElevated:ve}=je;return[{[Ee]:Object.assign(Object.assign({},(0,z.Wf)(je)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:E,display:"block","&::before":{position:"absolute",insetBlock:-a+b/2,zIndex:-9999,opacity:1e-4,content:'""'},[`&-trigger${y}-btn`]:{[`& > ${x}-down, & > ${y}-btn-icon > ${x}-down`]:{fontSize:me}},[`${Ee}-wrap`]:{position:"relative",[`${y}-btn > ${x}-down`]:{fontSize:me},[`${x}-down::before`]:{transition:`transform ${ee}`}},[`${Ee}-wrap-open`]:{[`${x}-down::before`]:{transform:"rotate(180deg)"}},"\n &-hidden,\n &-menu-hidden,\n &-menu-submenu-hidden\n ":{display:"none"},[`&${y}-slide-down-enter${y}-slide-down-enter-active${Ee}-placement-bottomLeft,
&${y}-slide-down-appear${y}-slide-down-appear-active${Ee}-placement-bottomLeft,
&${y}-slide-down-enter${y}-slide-down-enter-active${Ee}-placement-bottom,
&${y}-slide-down-appear${y}-slide-down-appear-active${Ee}-placement-bottom,
&${y}-slide-down-enter${y}-slide-down-enter-active${Ee}-placement-bottomRight,
&${y}-slide-down-appear${y}-slide-down-appear-active${Ee}-placement-bottomRight`]:{animationName:ie.fJ},[`&${y}-slide-up-enter${y}-slide-up-enter-active${Ee}-placement-topLeft,
&${y}-slide-up-appear${y}-slide-up-appear-active${Ee}-placement-topLeft,
&${y}-slide-up-enter${y}-slide-up-enter-active${Ee}-placement-top,
&${y}-slide-up-appear${y}-slide-up-appear-active${Ee}-placement-top,
&${y}-slide-up-enter${y}-slide-up-enter-active${Ee}-placement-topRight,
&${y}-slide-up-appear${y}-slide-up-appear-active${Ee}-placement-topRight`]:{animationName:ie.Qt},[`&${y}-slide-down-leave${y}-slide-down-leave-active${Ee}-placement-bottomLeft,
&${y}-slide-down-leave${y}-slide-down-leave-active${Ee}-placement-bottom,
&${y}-slide-down-leave${y}-slide-down-leave-active${Ee}-placement-bottomRight`]:{animationName:ie.Uw},[`&${y}-slide-up-leave${y}-slide-up-leave-active${Ee}-placement-topLeft,
&${y}-slide-up-leave${y}-slide-up-leave-active${Ee}-placement-top,
&${y}-slide-up-leave${y}-slide-up-leave-active${Ee}-placement-topRight`]:{animationName:ie.ly}})},(0,be.ZP)(je,{colorBg:ve,limitVerticalRadius:!0,arrowPlacement:{top:!0,bottom:!0}}),{[`${Ee} ${oe}`]:{position:"relative",margin:0},[`${oe}-submenu-popup`]:{position:"absolute",zIndex:E,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${Ee}, ${Ee}-menu-submenu`]:{[oe]:Object.assign(Object.assign({padding:ue,listStyleType:"none",backgroundColor:ve,backgroundClip:"padding-box",borderRadius:je.borderRadiusLG,outline:"none",boxShadow:je.boxShadowSecondary},(0,z.Qy)(je)),{[`${oe}-item-group-title`]:{padding:`${te}px ${Be}px`,color:je.colorTextDescription,transition:`all ${ee}`},[`${oe}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${oe}-item-icon`]:{minWidth:ae,marginInlineEnd:je.marginXS,fontSize:je.fontSizeSM},[`${oe}-title-content`]:{flex:"auto","> a":{color:"inherit",transition:`all ${ee}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}}},[`${oe}-item, ${oe}-submenu-title`]:Object.assign(Object.assign({clear:"both",margin:0,padding:`${te}px ${Be}px`,color:je.colorText,fontWeight:"normal",fontSize:ae,lineHeight:je.lineHeight,cursor:"pointer",transition:`all ${ee}`,borderRadius:je.borderRadiusSM,"&:hover, &-active":{backgroundColor:je.controlItemBgHover}},(0,z.Qy)(je)),{"&-selected":{color:je.colorPrimary,backgroundColor:je.controlItemBgActive,"&:hover, &-active":{backgroundColor:je.controlItemBgActiveHover}},"&-disabled":{color:de,cursor:"not-allowed","&:hover":{color:de,backgroundColor:ve,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${je.marginXXS}px 0`,overflow:"hidden",lineHeight:0,backgroundColor:je.colorSplit},[`${Ee}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:je.paddingXS,[`${Ee}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:je.colorTextDescription,fontSize:me,fontStyle:"normal"}}}),[`${oe}-item-group-list`]:{margin:`0 ${je.marginXS}px`,padding:0,listStyle:"none"},[`${oe}-submenu-title`]:{paddingInlineEnd:Be+je.fontSizeSM},[`${oe}-submenu-vertical`]:{position:"relative"},[`${oe}-submenu${oe}-submenu-disabled ${Ee}-menu-submenu-title`]:{[`&, ${Ee}-menu-submenu-arrow-icon`]:{color:de,backgroundColor:ve,cursor:"not-allowed"}},[`${oe}-submenu-selected ${Ee}-menu-submenu-title`]:{color:je.colorPrimary}})}},[(0,ie.oN)(je,"slide-up"),(0,ie.oN)(je,"slide-down"),(0,Pe.Fm)(je,"move-up"),(0,Pe.Fm)(je,"move-down"),(0,Me._y)(je,"zoom-big")]]};var Le=(0,xe.Z)("Dropdown",(je,Ee)=>{let{rootPrefixCls:oe}=Ee;const{marginXXS:E,sizePopupArrow:a,controlHeight:b,fontSize:y,lineHeight:x,paddingXXS:ee,componentCls:te,borderRadiusLG:ae}=je,ue=(b-y*x)/2,{dropdownArrowOffset:de}=(0,be.fS)({contentRadius:ae}),me=(0,re.TS)(je,{menuCls:`${te}-menu`,rootPrefixCls:oe,dropdownArrowDistance:a/2+E,dropdownArrowOffset:de,dropdownPaddingVertical:ue,dropdownEdgeChildPadding:ee});return[Ae(me),Ne(me)]},je=>({zIndexPopup:je.zIndexPopupBase+50}))},8628:function(ft,vt,ne){"use strict";var z=ne(59301),ie=ne(34280),Pe=ne(56762),Me=ne(69507);function be(){let xe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;const re=(0,z.useRef)({}),De=(0,Pe.Z)(),Ne=(0,Me.ZP)();return(0,ie.Z)(()=>{const Ae=Ne.subscribe(Le=>{re.current=Le,xe&&De()});return()=>Ne.unsubscribe(Ae)},[]),re.current}vt.Z=be},45818:function(ft,vt,ne){"use strict";ne.d(vt,{D:function(){return ee},Z:function(){return ue}});var z=ne(54476),ie=ne(59301),Pe={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"},Me=Pe,be=ne(7657),xe=function(me,Be){return ie.createElement(be.Z,(0,z.Z)({},me,{ref:Be,icon:Me}))},re=ie.forwardRef(xe),De=re,Ne=ne(33853),Ae=ne(38819),Le=ne(92310),je=ne.n(Le),Ee=ne(2738),E=de=>!isNaN(parseFloat(de))&&isFinite(de),a=ne(36355),b=ne(84966),y=function(de,me){var Be={};for(var ve in de)Object.prototype.hasOwnProperty.call(de,ve)&&me.indexOf(ve)<0&&(Be[ve]=de[ve]);if(de!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Fe=0,ve=Object.getOwnPropertySymbols(de);Fe<ve.length;Fe++)me.indexOf(ve[Fe])<0&&Object.prototype.propertyIsEnumerable.call(de,ve[Fe])&&(Be[ve[Fe]]=de[ve[Fe]]);return Be};const x={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},ee=ie.createContext({}),te=(()=>{let de=0;return function(){let me=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return de+=1,`${me}${de}`}})();var ue=ie.forwardRef((de,me)=>{const{prefixCls:Be,className:ve,trigger:Fe,children:ge,defaultCollapsed:Je=!1,theme:Ie="dark",style:Ue={},collapsible:ze=!1,reverseArrow:Ke=!1,width:lt=200,collapsedWidth:St=80,zeroWidthTriggerStyle:ot,breakpoint:Bt,onCollapse:Qe,onBreakpoint:yt}=de,Ft=y(de,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:Te}=(0,ie.useContext)(b.Gs),[Ge,gt]=(0,ie.useState)("collapsed"in de?de.collapsed:Je),[Zt,mt]=(0,ie.useState)(!1);(0,ie.useEffect)(()=>{"collapsed"in de&&gt(de.collapsed)},[de.collapsed]);const Ot=(We,Re)=>{"collapsed"in de||gt(We),Qe==null||Qe(We,Re)},Se=(0,ie.useRef)();Se.current=We=>{mt(We.matches),yt==null||yt(We.matches),Ge!==We.matches&&Ot(We.matches,"responsive")},(0,ie.useEffect)(()=>{function We(he){return Se.current(he)}let Re;if(typeof window!="undefined"){const{matchMedia:he}=window;if(he&&Bt&&Bt in x){Re=he(`(max-width: ${x[Bt]})`);try{Re.addEventListener("change",We)}catch(ce){Re.addListener(We)}We(Re)}}return()=>{try{Re==null||Re.removeEventListener("change",We)}catch(he){Re==null||Re.removeListener(We)}}},[Bt]),(0,ie.useEffect)(()=>{const We=te("ant-sider-");return Te.addSider(We),()=>Te.removeSider(We)},[]);const Ct=()=>{Ot(!Ge,"clickTrigger")},{getPrefixCls:Jt}=(0,ie.useContext)(a.E_),Pt=()=>{const We=Jt("layout-sider",Be),Re=(0,Ee.Z)(Ft,["collapsed"]),he=Ge?St:lt,ce=E(he)?`${he}px`:String(he),_e=parseFloat(String(St||0))===0?ie.createElement("span",{onClick:Ct,className:je()(`${We}-zero-width-trigger`,`${We}-zero-width-trigger-${Ke?"right":"left"}`),style:ot},Fe||ie.createElement(De,null)):null,fe={expanded:Ke?ie.createElement(Ae.Z,null):ie.createElement(Ne.Z,null),collapsed:Ke?ie.createElement(Ne.Z,null):ie.createElement(Ae.Z,null)}[Ge?"collapsed":"expanded"],Xe=Fe!==null?_e||ie.createElement("div",{className:`${We}-trigger`,onClick:Ct,style:{width:ce}},Fe||fe):null,ke=Object.assign(Object.assign({},Ue),{flex:`0 0 ${ce}`,maxWidth:ce,minWidth:ce,width:ce}),Ce=je()(We,`${We}-${Ie}`,{[`${We}-collapsed`]:!!Ge,[`${We}-has-trigger`]:ze&&Fe!==null&&!_e,[`${We}-below`]:!!Zt,[`${We}-zero-width`]:parseFloat(ce)===0},ve);return ie.createElement("aside",Object.assign({className:Ce},Re,{style:ke,ref:me}),ie.createElement("div",{className:`${We}-children`},ge),ze||Zt&&_e?Xe:null)},ut=ie.useMemo(()=>({siderCollapsed:Ge}),[Ge]);return ie.createElement(ee.Provider,{value:ut},Pt())})},84966:function(ft,vt,ne){"use strict";ne.d(vt,{VY:function(){return ee},$_:function(){return x},h4:function(){return y},Gs:function(){return Ee},ZP:function(){return te}});var z=ne(94480),ie=ne(92310),Pe=ne.n(ie),Me=ne(2738),be=ne(59301),xe=ne(36355),re=ne(83116),Ne=ae=>{const{componentCls:ue,bodyBg:de,lightSiderBg:me,lightTriggerBg:Be,lightTriggerColor:ve}=ae;return{[`${ue}-sider-light`]:{background:me,[`${ue}-sider-trigger`]:{color:ve,background:Be},[`${ue}-sider-zero-width-trigger`]:{color:ve,background:Be,border:`1px solid ${de}`,borderInlineStart:0}}}};const Ae=ae=>{const{antCls:ue,componentCls:de,colorText:me,triggerColor:Be,footerBg:ve,triggerBg:Fe,headerHeight:ge,headerPadding:Je,headerColor:Ie,footerPadding:Ue,triggerHeight:ze,zeroTriggerHeight:Ke,zeroTriggerWidth:lt,motionDurationMid:St,motionDurationSlow:ot,fontSize:Bt,borderRadius:Qe,bodyBg:yt,headerBg:Ft,siderBg:Te}=ae;return{[de]:Object.assign(Object.assign({display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:yt,"&, *":{boxSizing:"border-box"},[`&${de}-has-sider`]:{flexDirection:"row",[`> ${de}, > ${de}-content`]:{width:0}},[`${de}-header, &${de}-footer`]:{flex:"0 0 auto"},[`${de}-sider`]:{position:"relative",minWidth:0,background:Te,transition:`all ${St}, background 0s`,"&-children":{height:"100%",marginTop:-.1,paddingTop:.1,[`${ue}-menu${ue}-menu-inline-collapsed`]:{width:"auto"}},"&-has-trigger":{paddingBottom:ze},"&-right":{order:1},"&-trigger":{position:"fixed",bottom:0,zIndex:1,height:ze,color:Be,lineHeight:`${ze}px`,textAlign:"center",background:Fe,cursor:"pointer",transition:`all ${St}`},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:ge,insetInlineEnd:-lt,zIndex:1,width:lt,height:Ke,color:Be,fontSize:ae.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:Te,borderStartStartRadius:0,borderStartEndRadius:Qe,borderEndEndRadius:Qe,borderEndStartRadius:0,cursor:"pointer",transition:`background ${ot} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${ot}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:-lt,borderStartStartRadius:Qe,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:Qe}}}}},Ne(ae)),{"&-rtl":{direction:"rtl"}}),[`${de}-header`]:{height:ge,padding:Je,color:Ie,lineHeight:`${ge}px`,background:Ft,[`${ue}-menu`]:{lineHeight:"inherit"}},[`${de}-footer`]:{padding:Ue,color:me,fontSize:Bt,background:ve},[`${de}-content`]:{flex:"auto",minHeight:0}}};var Le=(0,re.Z)("Layout",ae=>[Ae(ae)],ae=>{const{colorBgLayout:ue,controlHeight:de,controlHeightLG:me,colorText:Be,controlHeightSM:ve,marginXXS:Fe,colorTextLightSolid:ge,colorBgContainer:Je}=ae,Ie=me*1.25;return{colorBgHeader:"#001529",colorBgBody:ue,colorBgTrigger:"#002140",bodyBg:ue,headerBg:"#001529",headerHeight:de*2,headerPadding:`0 ${Ie}px`,headerColor:Be,footerPadding:`${ve}px ${Ie}px`,footerBg:ue,siderBg:"#001529",triggerHeight:me+Fe*2,triggerBg:"#002140",triggerColor:ge,zeroTriggerWidth:me,zeroTriggerHeight:me,lightSiderBg:Je,lightTriggerBg:Je,lightTriggerColor:Be}},{deprecatedTokens:[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]]}),je=function(ae,ue){var de={};for(var me in ae)Object.prototype.hasOwnProperty.call(ae,me)&&ue.indexOf(me)<0&&(de[me]=ae[me]);if(ae!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Be=0,me=Object.getOwnPropertySymbols(ae);Be<me.length;Be++)ue.indexOf(me[Be])<0&&Object.prototype.propertyIsEnumerable.call(ae,me[Be])&&(de[me[Be]]=ae[me[Be]]);return de};const Ee=be.createContext({siderHook:{addSider:()=>null,removeSider:()=>null}});function oe(ae){let{suffixCls:ue,tagName:de,displayName:me}=ae;return Be=>be.forwardRef((Fe,ge)=>be.createElement(Be,Object.assign({ref:ge,suffixCls:ue,tagName:de},Fe)))}const E=be.forwardRef((ae,ue)=>{const{prefixCls:de,suffixCls:me,className:Be,tagName:ve}=ae,Fe=je(ae,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:ge}=be.useContext(xe.E_),Je=ge("layout",de),[Ie,Ue]=Le(Je),ze=me?`${Je}-${me}`:Je;return Ie(be.createElement(ve,Object.assign({className:Pe()(de||ze,Be,Ue),ref:ue},Fe)))}),a=be.forwardRef((ae,ue)=>{const{direction:de}=be.useContext(xe.E_),[me,Be]=be.useState([]),{prefixCls:ve,className:Fe,rootClassName:ge,children:Je,hasSider:Ie,tagName:Ue,style:ze}=ae,Ke=je(ae,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),lt=(0,Me.Z)(Ke,["suffixCls"]),{getPrefixCls:St,layout:ot}=be.useContext(xe.E_),Bt=St("layout",ve),[Qe,yt]=Le(Bt),Ft=Pe()(Bt,{[`${Bt}-has-sider`]:typeof Ie=="boolean"?Ie:me.length>0,[`${Bt}-rtl`]:de==="rtl"},ot==null?void 0:ot.className,Fe,ge,yt),Te=be.useMemo(()=>({siderHook:{addSider:Ge=>{Be(gt=>[].concat((0,z.Z)(gt),[Ge]))},removeSider:Ge=>{Be(gt=>gt.filter(Zt=>Zt!==Ge))}}}),[]);return Qe(be.createElement(Ee.Provider,{value:Te},be.createElement(Ue,Object.assign({ref:ue,className:Ft,style:Object.assign(Object.assign({},ot==null?void 0:ot.style),ze)},lt),Je)))}),b=oe({tagName:"div",displayName:"Layout"})(a),y=oe({suffixCls:"header",tagName:"header",displayName:"Header"})(E),x=oe({suffixCls:"footer",tagName:"footer",displayName:"Footer"})(E),ee=oe({suffixCls:"content",tagName:"main",displayName:"Content"})(E);var te=b},40875:function(ft,vt,ne){"use strict";ne.d(vt,{J:function(){return xe}});var z=ne(59301),ie=ne(33234),Pe=ne(70425),Me=function(re,De){var Ne={};for(var Ae in re)Object.prototype.hasOwnProperty.call(re,Ae)&&De.indexOf(Ae)<0&&(Ne[Ae]=re[Ae]);if(re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Le=0,Ae=Object.getOwnPropertySymbols(re);Le<Ae.length;Le++)De.indexOf(Ae[Le])<0&&Object.prototype.propertyIsEnumerable.call(re,Ae[Le])&&(Ne[Ae[Le]]=re[Ae[Le]]);return Ne};const be=z.createContext(null),xe=z.forwardRef((re,De)=>{const{children:Ne}=re,Ae=Me(re,["children"]),Le=z.useContext(be),je=z.useMemo(()=>Object.assign(Object.assign({},Le),Ae),[Le,Ae.prefixCls,Ae.mode,Ae.selectable]);return z.createElement(be.Provider,{value:je},z.createElement(ie.BR,null,(0,Pe.supportNodeRef)(Ne)?z.cloneElement(Ne,{ref:De}):Ne))});vt.Z=be},20834:function(ft,vt,ne){"use strict";ne.d(vt,{default:function(){return ut}});var z=ne(15285),ie=ne(59301),Pe=ne(45818),Me=ne(92310),be=ne.n(Me),xe=ne(36355),re=function(We,Re){var he={};for(var ce in We)Object.prototype.hasOwnProperty.call(We,ce)&&Re.indexOf(ce)<0&&(he[ce]=We[ce]);if(We!=null&&typeof Object.getOwnPropertySymbols=="function")for(var _e=0,ce=Object.getOwnPropertySymbols(We);_e<ce.length;_e++)Re.indexOf(ce[_e])<0&&Object.prototype.propertyIsEnumerable.call(We,ce[_e])&&(he[ce[_e]]=We[ce[_e]]);return he},Ne=We=>{const{prefixCls:Re,className:he,dashed:ce}=We,_e=re(We,["prefixCls","className","dashed"]),{getPrefixCls:it}=ie.useContext(xe.E_),pe=it("menu",Re),fe=be()({[`${pe}-item-divider-dashed`]:!!ce},he);return ie.createElement(z.iz,Object.assign({className:fe},_e))},Ae=ne(11592),Le=ne(2738),je=ne(6848),Ee=ne(92343),E=(0,ie.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),b=We=>{var Re;const{className:he,children:ce,icon:_e,title:it,danger:pe}=We,{prefixCls:fe,firstLevel:Xe,direction:ke,disableMenuItemTitleTooltip:Ce,inlineCollapsed:tt}=ie.useContext(E),Rt=en=>{const nn=ie.createElement("span",{className:`${fe}-title-content`},ce);return(!_e||(0,Ee.l$)(ce)&&ce.type==="span")&&ce&&en&&Xe&&typeof ce=="string"?ie.createElement("div",{className:`${fe}-inline-collapsed-noicon`},ce.charAt(0)):nn},{siderCollapsed:dt}=ie.useContext(Pe.D);let wt=it;typeof it=="undefined"?wt=Xe?ce:"":it===!1&&(wt="");const At={title:wt};!dt&&!tt&&(At.title=null,At.open=!1);const zt=(0,Ae.Z)(ce).length;let pt=ie.createElement(z.ck,Object.assign({},(0,Le.Z)(We,["title","icon","danger"]),{className:be()({[`${fe}-item-danger`]:pe,[`${fe}-item-only-child`]:(_e?zt+1:zt)===1},he),title:typeof it=="string"?it:void 0}),(0,Ee.Tm)(_e,{className:be()((0,Ee.l$)(_e)?(Re=_e.props)===null||Re===void 0?void 0:Re.className:"",`${fe}-item-icon`)}),Rt(tt));return Ce||(pt=ie.createElement(je.Z,Object.assign({},At,{placement:ke==="rtl"?"left":"right",overlayClassName:`${fe}-inline-collapsed-tooltip`}),pt)),pt},x=We=>{var Re;const{popupClassName:he,icon:ce,title:_e,theme:it}=We,pe=ie.useContext(E),{prefixCls:fe,inlineCollapsed:Xe,theme:ke}=pe,Ce=(0,z.Xl)();let tt;if(!ce)tt=Xe&&!Ce.length&&_e&&typeof _e=="string"?ie.createElement("div",{className:`${fe}-inline-collapsed-noicon`},_e.charAt(0)):ie.createElement("span",{className:`${fe}-title-content`},_e);else{const dt=(0,Ee.l$)(_e)&&_e.type==="span";tt=ie.createElement(ie.Fragment,null,(0,Ee.Tm)(ce,{className:be()((0,Ee.l$)(ce)?(Re=ce.props)===null||Re===void 0?void 0:Re.className:"",`${fe}-item-icon`)}),dt?_e:ie.createElement("span",{className:`${fe}-title-content`},_e))}const Rt=ie.useMemo(()=>Object.assign(Object.assign({},pe),{firstLevel:!1}),[pe]);return ie.createElement(E.Provider,{value:Rt},ie.createElement(z.Wd,Object.assign({},(0,Le.Z)(We,["icon"]),{title:tt,popupClassName:be()(fe,he,`${fe}-${it||ke}`)})))},ee=ne(18785),te=ne(70425),ae=ne(62892),ue=ne(40875),de=function(We,Re){var he={};for(var ce in We)Object.prototype.hasOwnProperty.call(We,ce)&&Re.indexOf(ce)<0&&(he[ce]=We[ce]);if(We!=null&&typeof Object.getOwnPropertySymbols=="function")for(var _e=0,ce=Object.getOwnPropertySymbols(We);_e<ce.length;_e++)Re.indexOf(ce[_e])<0&&Object.prototype.propertyIsEnumerable.call(We,ce[_e])&&(he[ce[_e]]=We[ce[_e]]);return he};function me(We){return(We||[]).map((Re,he)=>{if(Re&&typeof Re=="object"){const ce=Re,{label:_e,children:it,key:pe,type:fe}=ce,Xe=de(ce,["label","children","key","type"]),ke=pe!=null?pe:`tmp-${he}`;return it||fe==="group"?fe==="group"?ie.createElement(z.BW,Object.assign({key:ke},Xe,{title:_e}),me(it)):ie.createElement(x,Object.assign({key:ke},Xe,{title:_e}),me(it)):fe==="divider"?ie.createElement(Ne,Object.assign({key:ke},Xe)):ie.createElement(b,Object.assign({key:ke},Xe),_e)}return null}).filter(Re=>Re)}function Be(We){return ie.useMemo(()=>We&&me(We),[We])}var ve=ne(64993),Fe=ne(17313),ge=ne(8378),Je=ne(13826),Ie=ne(29878),Ue=ne(83116),ze=ne(37613),lt=We=>{const{componentCls:Re,motionDurationSlow:he,horizontalLineHeight:ce,colorSplit:_e,lineWidth:it,lineType:pe,itemPaddingInline:fe}=We;return{[`${Re}-horizontal`]:{lineHeight:ce,border:0,borderBottom:`${it}px ${pe} ${_e}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${Re}-item, ${Re}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:fe},[`> ${Re}-item:hover,
> ${Re}-item-active,
> ${Re}-submenu ${Re}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${Re}-item, ${Re}-submenu-title`]:{transition:[`border-color ${he}`,`background ${he}`].join(",")},[`${Re}-submenu-arrow`]:{display:"none"}}}},ot=We=>{let{componentCls:Re,menuArrowOffset:he}=We;return{[`${Re}-rtl`]:{direction:"rtl"},[`${Re}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${Re}-rtl${Re}-vertical,
${Re}-submenu-rtl ${Re}-vertical`]:{[`${Re}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(-${he})`},"&::after":{transform:`rotate(45deg) translateY(${he})`}}}}};const Bt=We=>Object.assign({},(0,Fe.oN)(We));var yt=(We,Re)=>{const{componentCls:he,itemColor:ce,itemSelectedColor:_e,groupTitleColor:it,itemBg:pe,subMenuItemBg:fe,itemSelectedBg:Xe,activeBarHeight:ke,activeBarWidth:Ce,activeBarBorderWidth:tt,motionDurationSlow:Rt,motionEaseInOut:dt,motionEaseOut:wt,itemPaddingInline:At,motionDurationMid:zt,itemHoverColor:pt,lineType:en,colorSplit:nn,itemDisabledColor:Tt,dangerItemColor:Nt,dangerItemHoverColor:$t,dangerItemSelectedColor:ln,dangerItemActiveBg:dn,dangerItemSelectedBg:wn,itemHoverBg:zn,itemActiveBg:Mt,menuSubMenuBg:Dt,horizontalItemSelectedColor:Gt,horizontalItemSelectedBg:un,horizontalItemBorderRadius:tn,horizontalItemHoverBg:Qn,popupBg:ca}=We;return{[`${he}-${Re}, ${he}-${Re} > ${he}`]:{color:ce,background:pe,[`&${he}-root:focus-visible`]:Object.assign({},Bt(We)),[`${he}-item-group-title`]:{color:it},[`${he}-submenu-selected`]:{[`> ${he}-submenu-title`]:{color:_e}},[`${he}-item-disabled, ${he}-submenu-disabled`]:{color:`${Tt} !important`},[`${he}-item:not(${he}-item-selected):not(${he}-submenu-selected)`]:{[`&:hover, > ${he}-submenu-title:hover`]:{color:pt}},[`&:not(${he}-horizontal)`]:{[`${he}-item:not(${he}-item-selected)`]:{"&:hover":{backgroundColor:zn},"&:active":{backgroundColor:Mt}},[`${he}-submenu-title`]:{"&:hover":{backgroundColor:zn},"&:active":{backgroundColor:Mt}}},[`${he}-item-danger`]:{color:Nt,[`&${he}-item:hover`]:{[`&:not(${he}-item-selected):not(${he}-submenu-selected)`]:{color:$t}},[`&${he}-item:active`]:{background:dn}},[`${he}-item a`]:{"&, &:hover":{color:"inherit"}},[`${he}-item-selected`]:{color:_e,[`&${he}-item-danger`]:{color:ln},"a, a:hover":{color:"inherit"}},[`& ${he}-item-selected`]:{backgroundColor:Xe,[`&${he}-item-danger`]:{backgroundColor:wn}},[`${he}-item, ${he}-submenu-title`]:{[`&:not(${he}-item-disabled):focus-visible`]:Object.assign({},Bt(We))},[`&${he}-submenu > ${he}`]:{backgroundColor:Dt},[`&${he}-popup > ${he}`]:{backgroundColor:ca},[`&${he}-horizontal`]:Object.assign(Object.assign({},Re==="dark"?{borderBottom:0}:{}),{[`> ${he}-item, > ${he}-submenu`]:{top:tt,marginTop:-tt,marginBottom:0,borderRadius:tn,"&::after":{position:"absolute",insetInline:At,bottom:0,borderBottom:`${ke}px solid transparent`,transition:`border-color ${Rt} ${dt}`,content:'""'},"&:hover, &-active, &-open":{background:Qn,"&::after":{borderBottomWidth:ke,borderBottomColor:Gt}},"&-selected":{color:Gt,backgroundColor:un,"&:hover":{backgroundColor:un},"&::after":{borderBottomWidth:ke,borderBottomColor:Gt}}}}),[`&${he}-root`]:{[`&${he}-inline, &${he}-vertical`]:{borderInlineEnd:`${tt}px ${en} ${nn}`}},[`&${he}-inline`]:{[`${he}-sub${he}-inline`]:{background:fe},[`${he}-item, ${he}-submenu-title`]:tt&&Ce?{width:`calc(100% + ${tt}px)`}:{},[`${he}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${Ce}px solid ${_e}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${zt} ${wt}`,`opacity ${zt} ${wt}`].join(","),content:'""'},[`&${he}-item-danger`]:{"&::after":{borderInlineEndColor:ln}}},[`${he}-selected, ${he}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${zt} ${dt}`,`opacity ${zt} ${dt}`].join(",")}}}}}};const Ft=We=>{const{componentCls:Re,itemHeight:he,itemMarginInline:ce,padding:_e,menuArrowSize:it,marginXS:pe,itemMarginBlock:fe}=We,Xe=_e+it+pe;return{[`${Re}-item`]:{position:"relative",overflow:"hidden"},[`${Re}-item, ${Re}-submenu-title`]:{height:he,lineHeight:`${he}px`,paddingInline:_e,overflow:"hidden",textOverflow:"ellipsis",marginInline:ce,marginBlock:fe,width:`calc(100% - ${ce*2}px)`},[`> ${Re}-item,
> ${Re}-submenu > ${Re}-submenu-title`]:{height:he,lineHeight:`${he}px`},[`${Re}-item-group-list ${Re}-submenu-title,
${Re}-submenu-title`]:{paddingInlineEnd:Xe}}};var Ge=We=>{const{componentCls:Re,iconCls:he,itemHeight:ce,colorTextLightSolid:_e,dropdownWidth:it,controlHeightLG:pe,motionDurationMid:fe,motionEaseOut:Xe,paddingXL:ke,itemMarginInline:Ce,fontSizeLG:tt,motionDurationSlow:Rt,paddingXS:dt,boxShadowSecondary:wt,collapsedWidth:At,collapsedIconSize:zt}=We,pt={height:ce,lineHeight:`${ce}px`,listStylePosition:"inside",listStyleType:"disc"};return[{[Re]:{"&-inline, &-vertical":Object.assign({[`&${Re}-root`]:{boxShadow:"none"}},Ft(We))},[`${Re}-submenu-popup`]:{[`${Re}-vertical`]:Object.assign(Object.assign({},Ft(We)),{boxShadow:wt})}},{[`${Re}-submenu-popup ${Re}-vertical${Re}-sub`]:{minWidth:it,maxHeight:`calc(100vh - ${pe*2.5}px)`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${Re}-inline`]:{width:"100%",[`&${Re}-root`]:{[`${Re}-item, ${Re}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${Rt}`,`background ${Rt}`,`padding ${fe} ${Xe}`].join(","),[`> ${Re}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${Re}-sub${Re}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${Re}-submenu > ${Re}-submenu-title`]:pt,[`& ${Re}-item-group-title`]:{paddingInlineStart:ke}},[`${Re}-item`]:pt}},{[`${Re}-inline-collapsed`]:{width:At,[`&${Re}-root`]:{[`${Re}-item, ${Re}-submenu ${Re}-submenu-title`]:{[`> ${Re}-inline-collapsed-noicon`]:{fontSize:tt,textAlign:"center"}}},[`> ${Re}-item,
> ${Re}-item-group > ${Re}-item-group-list > ${Re}-item,
> ${Re}-item-group > ${Re}-item-group-list > ${Re}-submenu > ${Re}-submenu-title,
> ${Re}-submenu > ${Re}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${tt/2}px - ${Ce}px)`,textOverflow:"clip",[`
${Re}-submenu-arrow,
${Re}-submenu-expand-icon
`]:{opacity:0},[`${Re}-item-icon, ${he}`]:{margin:0,fontSize:zt,lineHeight:`${ce}px`,"+ span":{display:"inline-block",opacity:0}}},[`${Re}-item-icon, ${he}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${Re}-item-icon, ${he}`]:{display:"none"},"a, a:hover":{color:_e}},[`${Re}-item-group-title`]:Object.assign(Object.assign({},Fe.vS),{paddingInline:dt})}}]};const gt=We=>{const{componentCls:Re,motionDurationSlow:he,motionDurationMid:ce,motionEaseInOut:_e,motionEaseOut:it,iconCls:pe,iconSize:fe,iconMarginInlineEnd:Xe}=We;return{[`${Re}-item, ${Re}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${he}`,`background ${he}`,`padding ${he} ${_e}`].join(","),[`${Re}-item-icon, ${pe}`]:{minWidth:fe,fontSize:fe,transition:[`font-size ${ce} ${it}`,`margin ${he} ${_e}`,`color ${he}`].join(","),"+ span":{marginInlineStart:Xe,opacity:1,transition:[`opacity ${he} ${_e}`,`margin ${he}`,`color ${he}`].join(",")}},[`${Re}-item-icon`]:Object.assign({},(0,Fe.Ro)()),[`&${Re}-item-only-child`]:{[`> ${pe}, > ${Re}-item-icon`]:{marginInlineEnd:0}}},[`${Re}-item-disabled, ${Re}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important"},[`> ${Re}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},Zt=We=>{const{componentCls:Re,motionDurationSlow:he,motionEaseInOut:ce,borderRadius:_e,menuArrowSize:it,menuArrowOffset:pe}=We;return{[`${Re}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:We.margin,width:it,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${he} ${ce}, opacity ${he}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:it*.6,height:it*.15,backgroundColor:"currentcolor",borderRadius:_e,transition:[`background ${he} ${ce}`,`transform ${he} ${ce}`,`top ${he} ${ce}`,`color ${he} ${ce}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(-${pe})`},"&::after":{transform:`rotate(-45deg) translateY(${pe})`}}}}},mt=We=>{const{antCls:Re,componentCls:he,fontSize:ce,motionDurationSlow:_e,motionDurationMid:it,motionEaseInOut:pe,paddingXS:fe,padding:Xe,colorSplit:ke,lineWidth:Ce,zIndexPopup:tt,borderRadiusLG:Rt,subMenuItemBorderRadius:dt,menuArrowSize:wt,menuArrowOffset:At,lineType:zt,menuPanelMaskInset:pt,groupTitleLineHeight:en,groupTitleFontSize:nn}=We;return[{"":{[`${he}`]:Object.assign(Object.assign({},(0,Fe.dF)()),{"&-hidden":{display:"none"}})},[`${he}-submenu-hidden`]:{display:"none"}},{[he]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Fe.Wf)(We)),(0,Fe.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:ce,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${_e} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${he}-item`]:{flex:"none"}},[`${he}-item, ${he}-submenu, ${he}-submenu-title`]:{borderRadius:We.itemBorderRadius},[`${he}-item-group-title`]:{padding:`${fe}px ${Xe}px`,fontSize:nn,lineHeight:en,transition:`all ${_e}`},[`&-horizontal ${he}-submenu`]:{transition:[`border-color ${_e} ${pe}`,`background ${_e} ${pe}`].join(",")},[`${he}-submenu, ${he}-submenu-inline`]:{transition:[`border-color ${_e} ${pe}`,`background ${_e} ${pe}`,`padding ${it} ${pe}`].join(",")},[`${he}-submenu ${he}-sub`]:{cursor:"initial",transition:[`background ${_e} ${pe}`,`padding ${_e} ${pe}`].join(",")},[`${he}-title-content`]:{transition:`color ${_e}`},[`${he}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${he}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:ke,borderStyle:zt,borderWidth:0,borderTopWidth:Ce,marginBlock:Ce,padding:0,"&-dashed":{borderStyle:"dashed"}}}),gt(We)),{[`${he}-item-group`]:{[`${he}-item-group-list`]:{margin:0,padding:0,[`${he}-item, ${he}-submenu-title`]:{paddingInline:`${ce*2}px ${Xe}px`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:tt,borderRadius:Rt,boxShadow:"none",transformOrigin:"0 0",[`&${he}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:`${pt}px 0 0`,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'}},"&-placement-rightTop::before":{top:0,insetInlineStart:pt},"\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:We.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:We.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:We.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:We.paddingXS},[`> ${he}`]:Object.assign(Object.assign(Object.assign({borderRadius:Rt},gt(We)),Zt(We)),{[`${he}-item, ${he}-submenu > ${he}-submenu-title`]:{borderRadius:dt},[`${he}-submenu-title::after`]:{transition:`transform ${_e} ${pe}`}})}}),Zt(We)),{[`&-inline-collapsed ${he}-submenu-arrow,
&-inline ${he}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${At})`},"&::after":{transform:`rotate(45deg) translateX(-${At})`}},[`${he}-submenu-open${he}-submenu-inline > ${he}-submenu-title > ${he}-submenu-arrow`]:{transform:`translateY(-${wt*.2}px)`,"&::after":{transform:`rotate(-45deg) translateX(-${At})`},"&::before":{transform:`rotate(45deg) translateX(${At})`}}})},{[`${Re}-layout-header`]:{[he]:{lineHeight:"inherit"}}}]};var Ot=(We,Re)=>(0,Ue.Z)("Menu",ce=>{if(Re===!1)return[];const{colorBgElevated:_e,colorPrimary:it,colorTextLightSolid:pe,controlHeightLG:fe,fontSize:Xe,darkItemColor:ke,darkDangerItemColor:Ce,darkItemBg:tt,darkSubMenuItemBg:Rt,darkItemSelectedColor:dt,darkItemSelectedBg:wt,darkDangerItemSelectedBg:At,darkItemHoverBg:zt,darkGroupTitleColor:pt,darkItemHoverColor:en,darkItemDisabledColor:nn,darkDangerItemHoverColor:Tt,darkDangerItemSelectedColor:Nt,darkDangerItemActiveBg:$t}=ce,ln=Xe/7*5,dn=(0,ze.TS)(ce,{menuArrowSize:ln,menuHorizontalHeight:fe*1.15,menuArrowOffset:`${ln*.25}px`,menuPanelMaskInset:-7,menuSubMenuBg:_e}),wn=(0,ze.TS)(dn,{itemColor:ke,itemHoverColor:en,groupTitleColor:pt,itemSelectedColor:dt,itemBg:tt,popupBg:tt,subMenuItemBg:Rt,itemActiveBg:"transparent",itemSelectedBg:wt,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:zt,itemDisabledColor:nn,dangerItemColor:Ce,dangerItemHoverColor:Tt,dangerItemSelectedColor:Nt,dangerItemActiveBg:$t,dangerItemSelectedBg:At,menuSubMenuBg:Rt,horizontalItemSelectedColor:pe,horizontalItemSelectedBg:it});return[mt(dn),lt(dn),Ge(dn),yt(dn,"light"),yt(wn,"dark"),ot(dn),(0,ge.Z)(dn),(0,Je.oN)(dn,"slide-up"),(0,Je.oN)(dn,"slide-down"),(0,Ie._y)(dn,"zoom-big")]},ce=>{const{colorPrimary:_e,colorError:it,colorTextDisabled:pe,colorErrorBg:fe,colorText:Xe,colorTextDescription:ke,colorBgContainer:Ce,colorFillAlter:tt,colorFillContent:Rt,lineWidth:dt,lineWidthBold:wt,controlItemBgActive:At,colorBgTextHover:zt,controlHeightLG:pt,lineHeight:en,colorBgElevated:nn,marginXXS:Tt,padding:Nt,fontSize:$t,controlHeightSM:ln,fontSizeLG:dn,colorTextLightSolid:wn,colorErrorHover:zn}=ce,Mt=new ve.C(wn).setAlpha(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:ce.zIndexPopupBase+50,radiusItem:ce.borderRadiusLG,itemBorderRadius:ce.borderRadiusLG,radiusSubMenuItem:ce.borderRadiusSM,subMenuItemBorderRadius:ce.borderRadiusSM,colorItemText:Xe,itemColor:Xe,colorItemTextHover:Xe,itemHoverColor:Xe,colorItemTextHoverHorizontal:_e,horizontalItemHoverColor:_e,colorGroupTitle:ke,groupTitleColor:ke,colorItemTextSelected:_e,itemSelectedColor:_e,colorItemTextSelectedHorizontal:_e,horizontalItemSelectedColor:_e,colorItemBg:Ce,itemBg:Ce,colorItemBgHover:zt,itemHoverBg:zt,colorItemBgActive:Rt,itemActiveBg:At,colorSubItemBg:tt,subMenuItemBg:tt,colorItemBgSelected:At,itemSelectedBg:At,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:0,colorActiveBarHeight:wt,activeBarHeight:wt,colorActiveBarBorderSize:dt,activeBarBorderWidth:dt,colorItemTextDisabled:pe,itemDisabledColor:pe,colorDangerItemText:it,dangerItemColor:it,colorDangerItemTextHover:it,dangerItemHoverColor:it,colorDangerItemTextSelected:it,dangerItemSelectedColor:it,colorDangerItemBgActive:fe,dangerItemActiveBg:fe,colorDangerItemBgSelected:fe,dangerItemSelectedBg:fe,itemMarginInline:ce.marginXXS,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:pt,groupTitleLineHeight:en,collapsedWidth:pt*2,popupBg:nn,itemMarginBlock:Tt,itemPaddingInline:Nt,horizontalLineHeight:`${pt*1.15}px`,iconSize:$t,iconMarginInlineEnd:ln-$t,collapsedIconSize:dn,groupTitleFontSize:$t,darkItemDisabledColor:new ve.C(wn).setAlpha(.25).toRgbString(),darkItemColor:Mt,darkDangerItemColor:it,darkItemBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:wn,darkItemSelectedBg:_e,darkDangerItemSelectedBg:it,darkItemHoverBg:"transparent",darkGroupTitleColor:Mt,darkItemHoverColor:wn,darkDangerItemHoverColor:zn,darkDangerItemSelectedColor:wn,darkDangerItemActiveBg:it}},{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"]]})(We),Se=function(We,Re){var he={};for(var ce in We)Object.prototype.hasOwnProperty.call(We,ce)&&Re.indexOf(ce)<0&&(he[ce]=We[ce]);if(We!=null&&typeof Object.getOwnPropertySymbols=="function")for(var _e=0,ce=Object.getOwnPropertySymbols(We);_e<ce.length;_e++)Re.indexOf(ce[_e])<0&&Object.prototype.propertyIsEnumerable.call(We,ce[_e])&&(he[ce[_e]]=We[ce[_e]]);return he},Jt=(0,ie.forwardRef)((We,Re)=>{var he,ce;const _e=ie.useContext(ue.Z),it=_e||{},{getPrefixCls:pe,getPopupContainer:fe,direction:Xe,menu:ke}=ie.useContext(xe.E_),Ce=pe(),{prefixCls:tt,className:Rt,style:dt,theme:wt="light",expandIcon:At,_internalDisableMenuItemTitleTooltip:zt,inlineCollapsed:pt,siderCollapsed:en,items:nn,children:Tt,rootClassName:Nt,mode:$t,selectable:ln,onClick:dn,overflowedIndicatorPopupClassName:wn}=We,zn=Se(We,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","items","children","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),Mt=(0,Le.Z)(zn,["collapsedWidth"]),Dt=Be(nn)||Tt;(he=it.validator)===null||he===void 0||he.call(it,{mode:$t});const Gt=(0,te.useEvent)(function(){var on;dn==null||dn.apply(void 0,arguments),(on=it.onClick)===null||on===void 0||on.call(it)}),un=it.mode||$t,tn=ln!=null?ln:it.selectable,Qn=ie.useMemo(()=>en!==void 0?en:pt,[pt,en]),ca={horizontal:{motionName:`${Ce}-slide-up`},inline:(0,ae.Z)(Ce),other:{motionName:`${Ce}-zoom-big`}},Pn=pe("menu",tt||it.prefixCls),[Ut,Xn]=Ot(Pn,!_e),et=be()(`${Pn}-${wt}`,ke==null?void 0:ke.className,Rt);let Ht;if(typeof At=="function")Ht=At;else if(At===null||At===!1)Ht=null;else if(it.expandIcon===null||it.expandIcon===!1)Ht=null;else{const on=At!=null?At:it.expandIcon;Ht=(0,Ee.Tm)(on,{className:be()(`${Pn}-submenu-expand-icon`,(0,Ee.l$)(on)?(ce=on.props)===null||ce===void 0?void 0:ce.className:"")})}const qt=ie.useMemo(()=>({prefixCls:Pn,inlineCollapsed:Qn||!1,direction:Xe,firstLevel:!0,theme:wt,mode:un,disableMenuItemTitleTooltip:zt}),[Pn,Qn,Xe,zt,wt]);return Ut(ie.createElement(ue.Z.Provider,{value:null},ie.createElement(E.Provider,{value:qt},ie.createElement(z.ZP,Object.assign({getPopupContainer:fe,overflowedIndicator:ie.createElement(ee.Z,null),overflowedIndicatorPopupClassName:be()(Pn,`${Pn}-${wt}`,wn),mode:un,selectable:tn,onClick:Gt},Mt,{inlineCollapsed:Qn,style:Object.assign(Object.assign({},ke==null?void 0:ke.style),dt),className:et,prefixCls:Pn,direction:Xe,defaultMotions:ca,expandIcon:Ht,ref:Re,rootClassName:be()(Nt,Xn)}),Dt))))});const Pt=(0,ie.forwardRef)((We,Re)=>{const he=(0,ie.useRef)(null),ce=ie.useContext(Pe.D);return(0,ie.useImperativeHandle)(Re,()=>({menu:he.current,focus:_e=>{var it;(it=he.current)===null||it===void 0||it.focus(_e)}})),ie.createElement(Jt,Object.assign({ref:he},We,ce))});Pt.Item=b,Pt.SubMenu=x,Pt.Divider=Ne,Pt.ItemGroup=z.BW;var ut=Pt},58421:function(ft,vt,ne){"use strict";ne.d(vt,{Z:function(){return it}});var z=ne(54476),ie=ne(59301),Pe={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"},Me=Pe,be=ne(7657),xe=function(fe,Xe){return ie.createElement(be.Z,(0,z.Z)({},fe,{ref:Xe,icon:Me}))},re=ie.forwardRef(xe),De=re,Ne=ne(49198),Ae=ne(33853),Le=ne(38819),je=ne(92310),Ee=ne.n(je),oe=ne(20068),E=ne(33885),a=ne(67732),b=ne(83652),y=ne(42403),x=ne(158),ee=ne(26112),te={ZERO:48,NINE:57,NUMPAD_ZERO:96,NUMPAD_NINE:105,BACKSPACE:8,DELETE:46,ENTER:13,ARROW_UP:38,ARROW_DOWN:40},ae=te,ue=ne(91735),de=function(pe){(0,y.Z)(Xe,pe);var fe=(0,x.Z)(Xe);function Xe(){var ke;(0,a.Z)(this,Xe);for(var Ce=arguments.length,tt=new Array(Ce),Rt=0;Rt<Ce;Rt++)tt[Rt]=arguments[Rt];return ke=fe.call.apply(fe,[this].concat(tt)),ke.state={goInputText:""},ke.getValidValue=function(){var dt=ke.state.goInputText;return!dt||Number.isNaN(dt)?void 0:Number(dt)},ke.buildOptionText=function(dt){return"".concat(dt," ").concat(ke.props.locale.items_per_page)},ke.changeSize=function(dt){ke.props.changeSize(Number(dt))},ke.handleChange=function(dt){ke.setState({goInputText:dt.target.value})},ke.handleBlur=function(dt){var wt=ke.props,At=wt.goButton,zt=wt.quickGo,pt=wt.rootPrefixCls,en=ke.state.goInputText;At||en===""||(ke.setState({goInputText:""}),!(dt.relatedTarget&&(dt.relatedTarget.className.indexOf("".concat(pt,"-item-link"))>=0||dt.relatedTarget.className.indexOf("".concat(pt,"-item"))>=0))&&zt(ke.getValidValue()))},ke.go=function(dt){var wt=ke.state.goInputText;wt!==""&&(dt.keyCode===ae.ENTER||dt.type==="click")&&(ke.setState({goInputText:""}),ke.props.quickGo(ke.getValidValue()))},ke}return(0,b.Z)(Xe,[{key:"getPageSizeOptions",value:function(){var Ce=this.props,tt=Ce.pageSize,Rt=Ce.pageSizeOptions;return Rt.some(function(dt){return dt.toString()===tt.toString()})?Rt:Rt.concat([tt.toString()]).sort(function(dt,wt){var At=Number.isNaN(Number(dt))?0:Number(dt),zt=Number.isNaN(Number(wt))?0:Number(wt);return At-zt})}},{key:"render",value:function(){var Ce=this,tt=this.props,Rt=tt.pageSize,dt=tt.locale,wt=tt.rootPrefixCls,At=tt.changeSize,zt=tt.quickGo,pt=tt.goButton,en=tt.selectComponentClass,nn=tt.buildOptionText,Tt=tt.selectPrefixCls,Nt=tt.disabled,$t=this.state.goInputText,ln="".concat(wt,"-options"),dn=en,wn=null,zn=null,Mt=null;if(!At&&!zt)return null;var Dt=this.getPageSizeOptions();if(At&&dn){var Gt=Dt.map(function(un,tn){return ie.createElement(dn.Option,{key:tn,value:un.toString()},(nn||Ce.buildOptionText)(un))});wn=ie.createElement(dn,{disabled:Nt,prefixCls:Tt,showSearch:!1,className:"".concat(ln,"-size-changer"),optionLabelProp:"children",popupMatchSelectWidth:!1,value:(Rt||Dt[0]).toString(),onChange:this.changeSize,getPopupContainer:function(tn){return tn.parentNode},"aria-label":dt.page_size,defaultOpen:!1},Gt)}return zt&&(pt&&(Mt=typeof pt=="boolean"?ie.createElement("button",{type:"button",onClick:this.go,onKeyUp:this.go,disabled:Nt,className:"".concat(ln,"-quick-jumper-button")},dt.jump_to_confirm):ie.createElement("span",{onClick:this.go,onKeyUp:this.go},pt)),zn=ie.createElement("div",{className:"".concat(ln,"-quick-jumper")},dt.jump_to,ie.createElement("input",{disabled:Nt,type:"text",value:$t,onChange:this.handleChange,onKeyUp:this.go,onBlur:this.handleBlur,"aria-label":dt.page}),dt.page,Mt)),ie.createElement("li",{className:"".concat(ln)},wn,zn)}}]),Xe}(ie.Component);de.defaultProps={pageSizeOptions:["10","20","50","100"]};var me=de,Be=function(fe){var Xe,ke=fe.rootPrefixCls,Ce=fe.page,tt=fe.active,Rt=fe.className,dt=fe.showTitle,wt=fe.onClick,At=fe.onKeyPress,zt=fe.itemRender,pt="".concat(ke,"-item"),en=Ee()(pt,"".concat(pt,"-").concat(Ce),(Xe={},(0,oe.Z)(Xe,"".concat(pt,"-active"),tt),(0,oe.Z)(Xe,"".concat(pt,"-disabled"),!Ce),(0,oe.Z)(Xe,fe.className,Rt),Xe)),nn=function(){wt(Ce)},Tt=function(ln){At(ln,wt,Ce)},Nt=zt(Ce,"page",ie.createElement("a",{rel:"nofollow"},Ce));return Nt?ie.createElement("li",{title:dt?Ce.toString():null,className:en,onClick:nn,onKeyPress:Tt,tabIndex:0},Nt):null},ve=Be;function Fe(){}function ge(pe){var fe=Number(pe);return typeof fe=="number"&&!Number.isNaN(fe)&&isFinite(fe)&&Math.floor(fe)===fe}var Je=function(fe,Xe,ke){return ke};function Ie(pe,fe,Xe){var ke=typeof pe=="undefined"?fe.pageSize:pe;return Math.floor((Xe.total-1)/ke)+1}var Ue=function(pe){(0,y.Z)(Xe,pe);var fe=(0,x.Z)(Xe);function Xe(ke){var Ce;(0,a.Z)(this,Xe),Ce=fe.call(this,ke),Ce.paginationNode=ie.createRef(),Ce.getJumpPrevPage=function(){return Math.max(1,Ce.state.current-(Ce.props.showLessItems?3:5))},Ce.getJumpNextPage=function(){return Math.min(Ie(void 0,Ce.state,Ce.props),Ce.state.current+(Ce.props.showLessItems?3:5))},Ce.getItemIcon=function(At,zt){var pt=Ce.props.prefixCls,en=At||ie.createElement("button",{type:"button","aria-label":zt,className:"".concat(pt,"-item-link")});return typeof At=="function"&&(en=ie.createElement(At,(0,E.Z)({},Ce.props))),en},Ce.isValid=function(At){var zt=Ce.props.total;return ge(At)&&At!==Ce.state.current&&ge(zt)&&zt>0},Ce.shouldDisplayQuickJumper=function(){var At=Ce.props,zt=At.showQuickJumper,pt=At.total,en=Ce.state.pageSize;return pt<=en?!1:zt},Ce.handleKeyDown=function(At){(At.keyCode===ae.ARROW_UP||At.keyCode===ae.ARROW_DOWN)&&At.preventDefault()},Ce.handleKeyUp=function(At){var zt=Ce.getValidValue(At),pt=Ce.state.currentInputValue;zt!==pt&&Ce.setState({currentInputValue:zt}),At.keyCode===ae.ENTER?Ce.handleChange(zt):At.keyCode===ae.ARROW_UP?Ce.handleChange(zt-1):At.keyCode===ae.ARROW_DOWN&&Ce.handleChange(zt+1)},Ce.handleBlur=function(At){var zt=Ce.getValidValue(At);Ce.handleChange(zt)},Ce.changePageSize=function(At){var zt=Ce.state.current,pt=Ie(At,Ce.state,Ce.props);zt=zt>pt?pt:zt,pt===0&&(zt=Ce.state.current),typeof At=="number"&&("pageSize"in Ce.props||Ce.setState({pageSize:At}),"current"in Ce.props||Ce.setState({current:zt,currentInputValue:zt})),Ce.props.onShowSizeChange(zt,At),"onChange"in Ce.props&&Ce.props.onChange&&Ce.props.onChange(zt,At)},Ce.handleChange=function(At){var zt=Ce.props,pt=zt.disabled,en=zt.onChange,nn=Ce.state,Tt=nn.pageSize,Nt=nn.current,$t=nn.currentInputValue;if(Ce.isValid(At)&&!pt){var ln=Ie(void 0,Ce.state,Ce.props),dn=At;return At>ln?dn=ln:At<1&&(dn=1),"current"in Ce.props||Ce.setState({current:dn}),dn!==$t&&Ce.setState({currentInputValue:dn}),en(dn,Tt),dn}return Nt},Ce.prev=function(){Ce.hasPrev()&&Ce.handleChange(Ce.state.current-1)},Ce.next=function(){Ce.hasNext()&&Ce.handleChange(Ce.state.current+1)},Ce.jumpPrev=function(){Ce.handleChange(Ce.getJumpPrevPage())},Ce.jumpNext=function(){Ce.handleChange(Ce.getJumpNextPage())},Ce.hasPrev=function(){return Ce.state.current>1},Ce.hasNext=function(){return Ce.state.current<Ie(void 0,Ce.state,Ce.props)},Ce.runIfEnter=function(At,zt){if(At.key==="Enter"||At.charCode===13){for(var pt=arguments.length,en=new Array(pt>2?pt-2:0),nn=2;nn<pt;nn++)en[nn-2]=arguments[nn];zt.apply(void 0,en)}},Ce.runIfEnterPrev=function(At){Ce.runIfEnter(At,Ce.prev)},Ce.runIfEnterNext=function(At){Ce.runIfEnter(At,Ce.next)},Ce.runIfEnterJumpPrev=function(At){Ce.runIfEnter(At,Ce.jumpPrev)},Ce.runIfEnterJumpNext=function(At){Ce.runIfEnter(At,Ce.jumpNext)},Ce.handleGoTO=function(At){(At.keyCode===ae.ENTER||At.type==="click")&&Ce.handleChange(Ce.state.currentInputValue)},Ce.renderPrev=function(At){var zt=Ce.props,pt=zt.prevIcon,en=zt.itemRender,nn=en(At,"prev",Ce.getItemIcon(pt,"prev page")),Tt=!Ce.hasPrev();return(0,ie.isValidElement)(nn)?(0,ie.cloneElement)(nn,{disabled:Tt}):nn},Ce.renderNext=function(At){var zt=Ce.props,pt=zt.nextIcon,en=zt.itemRender,nn=en(At,"next",Ce.getItemIcon(pt,"next page")),Tt=!Ce.hasNext();return(0,ie.isValidElement)(nn)?(0,ie.cloneElement)(nn,{disabled:Tt}):nn};var tt=ke.onChange!==Fe,Rt="current"in ke;Rt&&!tt&&console.warn("Warning: You provided a `current` prop to a Pagination component without an `onChange` handler. This will render a read-only component.");var dt=ke.defaultCurrent;"current"in ke&&(dt=ke.current);var wt=ke.defaultPageSize;return"pageSize"in ke&&(wt=ke.pageSize),dt=Math.min(dt,Ie(wt,void 0,ke)),Ce.state={current:dt,currentInputValue:dt,pageSize:wt},Ce}return(0,b.Z)(Xe,[{key:"componentDidUpdate",value:function(Ce,tt){var Rt=this.props.prefixCls;if(tt.current!==this.state.current&&this.paginationNode.current){var dt=this.paginationNode.current.querySelector(".".concat(Rt,"-item-").concat(tt.current));if(dt&&document.activeElement===dt){var wt;dt==null||(wt=dt.blur)===null||wt===void 0||wt.call(dt)}}}},{key:"getValidValue",value:function(Ce){var tt=Ce.target.value,Rt=Ie(void 0,this.state,this.props),dt=this.state.currentInputValue,wt;return tt===""?wt=tt:Number.isNaN(Number(tt))?wt=dt:tt>=Rt?wt=Rt:wt=Number(tt),wt}},{key:"getShowSizeChanger",value:function(){var Ce=this.props,tt=Ce.showSizeChanger,Rt=Ce.total,dt=Ce.totalBoundaryShowSizeChanger;return typeof tt!="undefined"?tt:Rt>dt}},{key:"render",value:function(){var Ce=this.props,tt=Ce.prefixCls,Rt=Ce.className,dt=Ce.style,wt=Ce.disabled,At=Ce.hideOnSinglePage,zt=Ce.total,pt=Ce.locale,en=Ce.showQuickJumper,nn=Ce.showLessItems,Tt=Ce.showTitle,Nt=Ce.showTotal,$t=Ce.simple,ln=Ce.itemRender,dn=Ce.showPrevNextJumpers,wn=Ce.jumpPrevIcon,zn=Ce.jumpNextIcon,Mt=Ce.selectComponentClass,Dt=Ce.selectPrefixCls,Gt=Ce.pageSizeOptions,un=this.state,tn=un.current,Qn=un.pageSize,ca=un.currentInputValue;if(At===!0&&zt<=Qn)return null;var Pn=Ie(void 0,this.state,this.props),Ut=[],Xn=null,et=null,Ht=null,qt=null,on=null,yn=en&&en.goButton,rn=nn?1:2,mn=tn-1>0?tn-1:0,qe=tn+1<Pn?tn+1:Pn,nt=(0,ee.Z)(this.props,{aria:!0,data:!0}),$e=Nt&&ie.createElement("li",{className:"".concat(tt,"-total-text")},Nt(zt,[zt===0?0:(tn-1)*Qn+1,tn*Qn>zt?zt:tn*Qn]));if($t){yn&&(typeof yn=="boolean"?on=ie.createElement("button",{type:"button",onClick:this.handleGoTO,onKeyUp:this.handleGoTO},pt.jump_to_confirm):on=ie.createElement("span",{onClick:this.handleGoTO,onKeyUp:this.handleGoTO},yn),on=ie.createElement("li",{title:Tt?"".concat(pt.jump_to).concat(tn,"/").concat(Pn):null,className:"".concat(tt,"-simple-pager")},on));var kt=this.renderPrev(mn);return ie.createElement("ul",(0,z.Z)({className:Ee()(tt,"".concat(tt,"-simple"),(0,oe.Z)({},"".concat(tt,"-disabled"),wt),Rt),style:dt,ref:this.paginationNode},nt),$e,kt?ie.createElement("li",{title:Tt?pt.prev_page:null,onClick:this.prev,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterPrev,className:Ee()("".concat(tt,"-prev"),(0,oe.Z)({},"".concat(tt,"-disabled"),!this.hasPrev())),"aria-disabled":!this.hasPrev()},kt):null,ie.createElement("li",{title:Tt?"".concat(tn,"/").concat(Pn):null,className:"".concat(tt,"-simple-pager")},ie.createElement("input",{type:"text",value:ca,disabled:wt,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onChange:this.handleKeyUp,onBlur:this.handleBlur,size:3}),ie.createElement("span",{className:"".concat(tt,"-slash")},"/"),Pn),ie.createElement("li",{title:Tt?pt.next_page:null,onClick:this.next,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterNext,className:Ee()("".concat(tt,"-next"),(0,oe.Z)({},"".concat(tt,"-disabled"),!this.hasNext())),"aria-disabled":!this.hasNext()},this.renderNext(qe)),on)}if(Pn<=3+rn*2){var Kt={locale:pt,rootPrefixCls:tt,onClick:this.handleChange,onKeyPress:this.runIfEnter,showTitle:Tt,itemRender:ln};Pn||Ut.push(ie.createElement(ve,(0,z.Z)({},Kt,{key:"noPager",page:1,className:"".concat(tt,"-item-disabled")})));for(var jt=1;jt<=Pn;jt+=1){var Sn=tn===jt;Ut.push(ie.createElement(ve,(0,z.Z)({},Kt,{key:jt,page:jt,active:Sn})))}}else{var cn=nn?pt.prev_3:pt.prev_5,sn=nn?pt.next_3:pt.next_5,Ln=ln(this.getJumpPrevPage(),"jump-prev",this.getItemIcon(wn,"prev page")),Ea=ln(this.getJumpNextPage(),"jump-next",this.getItemIcon(zn,"next page"));dn&&(Xn=Ln?ie.createElement("li",{title:Tt?cn:null,key:"prev",onClick:this.jumpPrev,tabIndex:0,onKeyPress:this.runIfEnterJumpPrev,className:Ee()("".concat(tt,"-jump-prev"),(0,oe.Z)({},"".concat(tt,"-jump-prev-custom-icon"),!!wn))},Ln):null,et=Ea?ie.createElement("li",{title:Tt?sn:null,key:"next",tabIndex:0,onClick:this.jumpNext,onKeyPress:this.runIfEnterJumpNext,className:Ee()("".concat(tt,"-jump-next"),(0,oe.Z)({},"".concat(tt,"-jump-next-custom-icon"),!!zn))},Ea):null),qt=ie.createElement(ve,{locale:pt,last:!0,rootPrefixCls:tt,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:Pn,page:Pn,active:!1,showTitle:Tt,itemRender:ln}),Ht=ie.createElement(ve,{locale:pt,rootPrefixCls:tt,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:1,page:1,active:!1,showTitle:Tt,itemRender:ln});var Qt=Math.max(1,tn-rn),Kn=Math.min(tn+rn,Pn);tn-1<=rn&&(Kn=1+rn*2),Pn-tn<=rn&&(Qt=Pn-rn*2);for(var ua=Qt;ua<=Kn;ua+=1){var Pa=tn===ua;Ut.push(ie.createElement(ve,{locale:pt,rootPrefixCls:tt,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:ua,page:ua,active:Pa,showTitle:Tt,itemRender:ln}))}tn-1>=rn*2&&tn!==3&&(Ut[0]=(0,ie.cloneElement)(Ut[0],{className:"".concat(tt,"-item-after-jump-prev")}),Ut.unshift(Xn)),Pn-tn>=rn*2&&tn!==Pn-2&&(Ut[Ut.length-1]=(0,ie.cloneElement)(Ut[Ut.length-1],{className:"".concat(tt,"-item-before-jump-next")}),Ut.push(et)),Qt!==1&&Ut.unshift(Ht),Kn!==Pn&&Ut.push(qt)}var pn=!this.hasPrev()||!Pn,ea=!this.hasNext()||!Pn,Ha=this.renderPrev(mn),ta=this.renderNext(qe);return ie.createElement("ul",(0,z.Z)({className:Ee()(tt,Rt,(0,oe.Z)({},"".concat(tt,"-disabled"),wt)),style:dt,ref:this.paginationNode},nt),$e,Ha?ie.createElement("li",{title:Tt?pt.prev_page:null,onClick:this.prev,tabIndex:pn?null:0,onKeyPress:this.runIfEnterPrev,className:Ee()("".concat(tt,"-prev"),(0,oe.Z)({},"".concat(tt,"-disabled"),pn)),"aria-disabled":pn},Ha):null,Ut,ta?ie.createElement("li",{title:Tt?pt.next_page:null,onClick:this.next,tabIndex:ea?null:0,onKeyPress:this.runIfEnterNext,className:Ee()("".concat(tt,"-next"),(0,oe.Z)({},"".concat(tt,"-disabled"),ea)),"aria-disabled":ea},ta):null,ie.createElement(me,{disabled:wt,locale:pt,rootPrefixCls:tt,selectComponentClass:Mt,selectPrefixCls:Dt,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:tn,pageSize:Qn,pageSizeOptions:Gt,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:yn}))}}],[{key:"getDerivedStateFromProps",value:function(Ce,tt){var Rt={};if("current"in Ce&&(Rt.current=Ce.current,Ce.current!==tt.current&&(Rt.currentInputValue=Rt.current)),"pageSize"in Ce&&Ce.pageSize!==tt.pageSize){var dt=tt.current,wt=Ie(Ce.pageSize,tt,Ce);dt=dt>wt?wt:dt,"current"in Ce||(Rt.current=dt,Rt.currentInputValue=dt),Rt.pageSize=Ce.pageSize}return Rt}}]),Xe}(ie.Component);Ue.defaultProps={defaultCurrent:1,total:0,defaultPageSize:10,onChange:Fe,className:"",selectPrefixCls:"rc-select",prefixCls:"rc-pagination",selectComponentClass:null,hideOnSinglePage:!1,showPrevNextJumpers:!0,showQuickJumper:!1,showLessItems:!1,showTitle:!0,onShowSizeChange:Fe,locale:ue.Z,style:{},itemRender:Je,totalBoundaryShowSizeChanger:50};var ze=Ue,Ke=ne(22075),lt=ne(36355),St=ne(19716),ot=ne(8628),Bt=ne(9763),Qe=ne(57809);const yt=pe=>ie.createElement(Qe.default,Object.assign({},pe,{showSearch:!0,size:"small"})),Ft=pe=>ie.createElement(Qe.default,Object.assign({},pe,{showSearch:!0,size:"middle"}));yt.Option=Qe.default.Option,Ft.Option=Qe.default.Option;var Te=ne(9937),Ge=ne(17313),gt=ne(83116),Zt=ne(37613);const mt=pe=>{const{componentCls:fe}=pe;return{[`${fe}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${fe}-item-link`]:{color:pe.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${fe}-item-link`]:{color:pe.colorTextDisabled,cursor:"not-allowed"}}},[`&${fe}-disabled`]:{cursor:"not-allowed",[`${fe}-item`]:{cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},a:{color:pe.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:pe.colorBorder,backgroundColor:pe.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:pe.itemActiveBgDisabled},a:{color:pe.itemActiveColorDisabled}}},[`${fe}-item-link`]:{color:pe.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${fe}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${fe}-simple-pager`]:{color:pe.colorTextDisabled},[`${fe}-jump-prev, ${fe}-jump-next`]:{[`${fe}-item-link-icon`]:{opacity:0},[`${fe}-item-ellipsis`]:{opacity:1}}},[`&${fe}-simple`]:{[`${fe}-prev, ${fe}-next`]:{[`&${fe}-disabled ${fe}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},Ot=pe=>{const{componentCls:fe}=pe;return{[`&${fe}-mini ${fe}-total-text, &${fe}-mini ${fe}-simple-pager`]:{height:pe.itemSizeSM,lineHeight:`${pe.itemSizeSM}px`},[`&${fe}-mini ${fe}-item`]:{minWidth:pe.itemSizeSM,height:pe.itemSizeSM,margin:0,lineHeight:`${pe.itemSizeSM-2}px`},[`&${fe}-mini:not(${fe}-disabled) ${fe}-item:not(${fe}-item-active)`]:{backgroundColor:"transparent",borderColor:"transparent","&:hover":{backgroundColor:pe.colorBgTextHover},"&:active":{backgroundColor:pe.colorBgTextActive}},[`&${fe}-mini ${fe}-prev, &${fe}-mini ${fe}-next`]:{minWidth:pe.itemSizeSM,height:pe.itemSizeSM,margin:0,lineHeight:`${pe.itemSizeSM}px`},[`&${fe}-mini:not(${fe}-disabled)`]:{[`${fe}-prev, ${fe}-next`]:{[`&:hover ${fe}-item-link`]:{backgroundColor:pe.colorBgTextHover},[`&:active ${fe}-item-link`]:{backgroundColor:pe.colorBgTextActive},[`&${fe}-disabled:hover ${fe}-item-link`]:{backgroundColor:"transparent"}}},[`
&${fe}-mini ${fe}-prev ${fe}-item-link,
&${fe}-mini ${fe}-next ${fe}-item-link
`]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:pe.itemSizeSM,lineHeight:`${pe.itemSizeSM}px`}},[`&${fe}-mini ${fe}-jump-prev, &${fe}-mini ${fe}-jump-next`]:{height:pe.itemSizeSM,marginInlineEnd:0,lineHeight:`${pe.itemSizeSM}px`},[`&${fe}-mini ${fe}-options`]:{marginInlineStart:pe.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:pe.miniOptionsSizeChangerTop},"&-quick-jumper":{height:pe.itemSizeSM,lineHeight:`${pe.itemSizeSM}px`,input:Object.assign(Object.assign({},(0,Te.x0)(pe)),{width:pe.paginationMiniQuickJumperInputWidth,height:pe.controlHeightSM})}}}},Se=pe=>{const{componentCls:fe}=pe;return{[`
&${fe}-simple ${fe}-prev,
&${fe}-simple ${fe}-next
`]:{height:pe.itemSizeSM,lineHeight:`${pe.itemSizeSM}px`,verticalAlign:"top",[`${fe}-item-link`]:{height:pe.itemSizeSM,backgroundColor:"transparent",border:0,"&:hover":{backgroundColor:pe.colorBgTextHover},"&:active":{backgroundColor:pe.colorBgTextActive},"&::after":{height:pe.itemSizeSM,lineHeight:`${pe.itemSizeSM}px`}}},[`&${fe}-simple ${fe}-simple-pager`]:{display:"inline-block",height:pe.itemSizeSM,marginInlineEnd:pe.marginXS,input:{boxSizing:"border-box",height:"100%",marginInlineEnd:pe.marginXS,padding:`0 ${pe.paginationItemPaddingInline}px`,textAlign:"center",backgroundColor:pe.itemInputBg,border:`${pe.lineWidth}px ${pe.lineType} ${pe.colorBorder}`,borderRadius:pe.borderRadius,outline:"none",transition:`border-color ${pe.motionDurationMid}`,color:"inherit","&:hover":{borderColor:pe.colorPrimary},"&:focus":{borderColor:pe.colorPrimaryHover,boxShadow:`${pe.inputOutlineOffset}px 0 ${pe.controlOutlineWidth}px ${pe.controlOutline}`},"&[disabled]":{color:pe.colorTextDisabled,backgroundColor:pe.colorBgContainerDisabled,borderColor:pe.colorBorder,cursor:"not-allowed"}}}}},Ct=pe=>{const{componentCls:fe}=pe;return{[`${fe}-jump-prev, ${fe}-jump-next`]:{outline:0,[`${fe}-item-container`]:{position:"relative",[`${fe}-item-link-icon`]:{color:pe.colorPrimary,fontSize:pe.fontSizeSM,opacity:0,transition:`all ${pe.motionDurationMid}`,"&-svg":{top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,margin:"auto"}},[`${fe}-item-ellipsis`]:{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,display:"block",margin:"auto",color:pe.colorTextDisabled,fontFamily:"Arial, Helvetica, sans-serif",letterSpacing:pe.paginationEllipsisLetterSpacing,textAlign:"center",textIndent:pe.paginationEllipsisTextIndent,opacity:1,transition:`all ${pe.motionDurationMid}`}},"&:hover":{[`${fe}-item-link-icon`]:{opacity:1},[`${fe}-item-ellipsis`]:{opacity:0}}},[`
${fe}-prev,
${fe}-jump-prev,
${fe}-jump-next
`]:{marginInlineEnd:pe.marginXS},[`
${fe}-prev,
${fe}-next,
${fe}-jump-prev,
${fe}-jump-next
`]:{display:"inline-block",minWidth:pe.itemSize,height:pe.itemSize,color:pe.colorText,fontFamily:pe.fontFamily,lineHeight:`${pe.itemSize}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:pe.borderRadius,cursor:"pointer",transition:`all ${pe.motionDurationMid}`},[`${fe}-prev, ${fe}-next`]:{fontFamily:"Arial, Helvetica, sans-serif",outline:0,button:{color:pe.colorText,cursor:"pointer",userSelect:"none"},[`${fe}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:pe.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${pe.lineWidth}px ${pe.lineType} transparent`,borderRadius:pe.borderRadius,outline:"none",transition:`all ${pe.motionDurationMid}`},[`&:hover ${fe}-item-link`]:{backgroundColor:pe.colorBgTextHover},[`&:active ${fe}-item-link`]:{backgroundColor:pe.colorBgTextActive},[`&${fe}-disabled:hover`]:{[`${fe}-item-link`]:{backgroundColor:"transparent"}}},[`${fe}-slash`]:{marginInlineEnd:pe.paginationSlashMarginInlineEnd,marginInlineStart:pe.paginationSlashMarginInlineStart},[`${fe}-options`]:{display:"inline-block",marginInlineStart:pe.margin,verticalAlign:"middle","&-size-changer.-select":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:pe.controlHeight,marginInlineStart:pe.marginXS,lineHeight:`${pe.controlHeight}px`,verticalAlign:"top",input:Object.assign(Object.assign({},(0,Te.ik)(pe)),{width:pe.controlHeightLG*1.25,height:pe.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:pe.marginXS,marginInlineEnd:pe.marginXS})}}}},Jt=pe=>{const{componentCls:fe}=pe;return{[`${fe}-item`]:{display:"inline-block",minWidth:pe.itemSize,height:pe.itemSize,marginInlineEnd:pe.marginXS,fontFamily:pe.fontFamily,lineHeight:`${pe.itemSize-2}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:"transparent",border:`${pe.lineWidth}px ${pe.lineType} transparent`,borderRadius:pe.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${pe.paginationItemPaddingInline}px`,color:pe.colorText,"&:hover":{textDecoration:"none"}},[`&:not(${fe}-item-active)`]:{"&:hover":{transition:`all ${pe.motionDurationMid}`,backgroundColor:pe.colorBgTextHover},"&:active":{backgroundColor:pe.colorBgTextActive}},"&-active":{fontWeight:pe.fontWeightStrong,backgroundColor:pe.itemActiveBg,borderColor:pe.colorPrimary,a:{color:pe.colorPrimary},"&:hover":{borderColor:pe.colorPrimaryHover},"&:hover a":{color:pe.colorPrimaryHover}}}}},Pt=pe=>{const{componentCls:fe}=pe;return{[fe]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Ge.Wf)(pe)),{"ul, ol":{margin:0,padding:0,listStyle:"none"},"&::after":{display:"block",clear:"both",height:0,overflow:"hidden",visibility:"hidden",content:'""'},[`${fe}-total-text`]:{display:"inline-block",height:pe.itemSize,marginInlineEnd:pe.marginXS,lineHeight:`${pe.itemSize-2}px`,verticalAlign:"middle"}}),Jt(pe)),Ct(pe)),Se(pe)),Ot(pe)),mt(pe)),{[`@media only screen and (max-width: ${pe.screenLG}px)`]:{[`${fe}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${pe.screenSM}px)`]:{[`${fe}-options`]:{display:"none"}}}),[`&${pe.componentCls}-rtl`]:{direction:"rtl"}}},ut=pe=>{const{componentCls:fe}=pe;return{[`${fe}${fe}-disabled:not(${fe}-mini)`]:{"&, &:hover":{[`${fe}-item-link`]:{borderColor:pe.colorBorder}},"&:focus-visible":{[`${fe}-item-link`]:{borderColor:pe.colorBorder}},[`${fe}-item, ${fe}-item-link`]:{backgroundColor:pe.colorBgContainerDisabled,borderColor:pe.colorBorder,[`&:hover:not(${fe}-item-active)`]:{backgroundColor:pe.colorBgContainerDisabled,borderColor:pe.colorBorder,a:{color:pe.colorTextDisabled}},[`&${fe}-item-active`]:{backgroundColor:pe.itemActiveBgDisabled}},[`${fe}-prev, ${fe}-next`]:{"&:hover button":{backgroundColor:pe.colorBgContainerDisabled,borderColor:pe.colorBorder,color:pe.colorTextDisabled},[`${fe}-item-link`]:{backgroundColor:pe.colorBgContainerDisabled,borderColor:pe.colorBorder}}},[`${fe}:not(${fe}-mini)`]:{[`${fe}-prev, ${fe}-next`]:{"&:hover button":{borderColor:pe.colorPrimaryHover,backgroundColor:pe.itemBg},[`${fe}-item-link`]:{backgroundColor:pe.itemLinkBg,borderColor:pe.colorBorder},[`&:hover ${fe}-item-link`]:{borderColor:pe.colorPrimary,backgroundColor:pe.itemBg,color:pe.colorPrimary},[`&${fe}-disabled`]:{[`${fe}-item-link`]:{borderColor:pe.colorBorder,color:pe.colorTextDisabled}}},[`${fe}-item`]:{backgroundColor:pe.itemBg,border:`${pe.lineWidth}px ${pe.lineType} ${pe.colorBorder}`,[`&:hover:not(${fe}-item-active)`]:{borderColor:pe.colorPrimary,backgroundColor:pe.itemBg,a:{color:pe.colorPrimary}},"&-active":{borderColor:pe.colorPrimary}}}}},We=pe=>{const{componentCls:fe}=pe;return{[`${fe}:not(${fe}-disabled)`]:{[`${fe}-item`]:Object.assign({},(0,Ge.Qy)(pe)),[`${fe}-jump-prev, ${fe}-jump-next`]:{"&:focus-visible":Object.assign({[`${fe}-item-link-icon`]:{opacity:1},[`${fe}-item-ellipsis`]:{opacity:0}},(0,Ge.oN)(pe))},[`${fe}-prev, ${fe}-next`]:{[`&:focus-visible ${fe}-item-link`]:Object.assign({},(0,Ge.oN)(pe))}}}};var Re=(0,gt.Z)("Pagination",pe=>{const fe=(0,Zt.TS)(pe,{inputOutlineOffset:0,paginationMiniOptionsMarginInlineStart:pe.marginXXS/2,paginationMiniQuickJumperInputWidth:pe.controlHeightLG*1.1,paginationItemPaddingInline:pe.marginXXS*1.5,paginationEllipsisLetterSpacing:pe.marginXXS/2,paginationSlashMarginInlineStart:pe.marginXXS,paginationSlashMarginInlineEnd:pe.marginSM,paginationEllipsisTextIndent:"0.13em"},(0,Te.e5)(pe),(0,Te.TM)(pe));return[Pt(fe),We(fe),pe.wireframe&&ut(fe)]},pe=>({itemBg:pe.colorBgContainer,itemSize:pe.controlHeight,itemSizeSM:pe.controlHeightSM,itemActiveBg:pe.colorBgContainer,itemLinkBg:pe.colorBgContainer,itemActiveColorDisabled:pe.colorTextDisabled,itemActiveBgDisabled:pe.controlItemBgActiveDisabled,itemInputBg:pe.colorBgContainer,miniOptionsSizeChangerTop:0})),he=function(pe,fe){var Xe={};for(var ke in pe)Object.prototype.hasOwnProperty.call(pe,ke)&&fe.indexOf(ke)<0&&(Xe[ke]=pe[ke]);if(pe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ce=0,ke=Object.getOwnPropertySymbols(pe);Ce<ke.length;Ce++)fe.indexOf(ke[Ce])<0&&Object.prototype.propertyIsEnumerable.call(pe,ke[Ce])&&(Xe[ke[Ce]]=pe[ke[Ce]]);return Xe},_e=pe=>{const{prefixCls:fe,selectPrefixCls:Xe,className:ke,rootClassName:Ce,style:tt,size:Rt,locale:dt,selectComponentClass:wt,responsive:At,showSizeChanger:zt}=pe,pt=he(pe,["prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","selectComponentClass","responsive","showSizeChanger"]),{xs:en}=(0,ot.Z)(At),{getPrefixCls:nn,direction:Tt,pagination:Nt={}}=ie.useContext(lt.E_),$t=nn("pagination",fe),[ln,dn]=Re($t),wn=zt!=null?zt:Nt.showSizeChanger,zn=ie.useMemo(()=>{const Pn=ie.createElement("span",{className:`${$t}-item-ellipsis`},"\u2022\u2022\u2022"),Ut=ie.createElement("button",{className:`${$t}-item-link`,type:"button",tabIndex:-1},Tt==="rtl"?ie.createElement(Le.Z,null):ie.createElement(Ae.Z,null)),Xn=ie.createElement("button",{className:`${$t}-item-link`,type:"button",tabIndex:-1},Tt==="rtl"?ie.createElement(Ae.Z,null):ie.createElement(Le.Z,null)),et=ie.createElement("a",{className:`${$t}-item-link`},ie.createElement("div",{className:`${$t}-item-container`},Tt==="rtl"?ie.createElement(Ne.Z,{className:`${$t}-item-link-icon`}):ie.createElement(De,{className:`${$t}-item-link-icon`}),Pn)),Ht=ie.createElement("a",{className:`${$t}-item-link`},ie.createElement("div",{className:`${$t}-item-container`},Tt==="rtl"?ie.createElement(De,{className:`${$t}-item-link-icon`}):ie.createElement(Ne.Z,{className:`${$t}-item-link-icon`}),Pn));return{prevIcon:Ut,nextIcon:Xn,jumpPrevIcon:et,jumpNextIcon:Ht}},[Tt,$t]),[Mt]=(0,Bt.Z)("Pagination",Ke.Z),Dt=Object.assign(Object.assign({},Mt),dt),Gt=(0,St.Z)(Rt),un=Gt==="small"||!!(en&&!Gt&&At),tn=nn("select",Xe),Qn=Ee()({[`${$t}-mini`]:un,[`${$t}-rtl`]:Tt==="rtl"},Nt==null?void 0:Nt.className,ke,Ce,dn),ca=Object.assign(Object.assign({},Nt==null?void 0:Nt.style),tt);return ln(ie.createElement(ze,Object.assign({},zn,pt,{style:ca,prefixCls:$t,selectPrefixCls:tn,className:Qn,selectComponentClass:wt||(un?yt:Ft),locale:Dt,showSizeChanger:wn})))},it=_e},39722:function(ft,vt,ne){"use strict";ne.d(vt,{t5:function(){return Ae}});var z=ne(92310),ie=ne.n(z),Pe=ne(55477),Me=ne(59301),be=ne(36355),xe=ne(77578),re=ne(17356),De=function(je,Ee){var oe={};for(var E in je)Object.prototype.hasOwnProperty.call(je,E)&&Ee.indexOf(E)<0&&(oe[E]=je[E]);if(je!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,E=Object.getOwnPropertySymbols(je);a<E.length;a++)Ee.indexOf(E[a])<0&&Object.prototype.propertyIsEnumerable.call(je,E[a])&&(oe[E[a]]=je[E[a]]);return oe};const Ne=(je,Ee,oe)=>{if(!(!Ee&&!oe))return Me.createElement(Me.Fragment,null,Ee&&Me.createElement("div",{className:`${je}-title`},(0,xe.Z)(Ee)),Me.createElement("div",{className:`${je}-inner-content`},(0,xe.Z)(oe)))},Ae=je=>{const{hashId:Ee,prefixCls:oe,className:E,style:a,placement:b="top",title:y,content:x,children:ee}=je;return Me.createElement("div",{className:ie()(Ee,oe,`${oe}-pure`,`${oe}-placement-${b}`,E),style:a},Me.createElement("div",{className:`${oe}-arrow`}),Me.createElement(Pe.G,Object.assign({},je,{className:Ee,prefixCls:oe}),ee||Ne(oe,y,x)))},Le=je=>{const{prefixCls:Ee}=je,oe=De(je,["prefixCls"]),{getPrefixCls:E}=Me.useContext(be.E_),a=E("popover",Ee),[b,y]=(0,re.Z)(a);return b(Me.createElement(Ae,Object.assign({},oe,{prefixCls:a,hashId:y})))};vt.ZP=Le},60324:function(ft,vt,ne){"use strict";var z=ne(92310),ie=ne.n(z),Pe=ne(59301),Me=ne(77578),be=ne(62892),xe=ne(36355),re=ne(6848),De=ne(39722),Ne=ne(17356),Ae=function(Ee,oe){var E={};for(var a in Ee)Object.prototype.hasOwnProperty.call(Ee,a)&&oe.indexOf(a)<0&&(E[a]=Ee[a]);if(Ee!=null&&typeof Object.getOwnPropertySymbols=="function")for(var b=0,a=Object.getOwnPropertySymbols(Ee);b<a.length;b++)oe.indexOf(a[b])<0&&Object.prototype.propertyIsEnumerable.call(Ee,a[b])&&(E[a[b]]=Ee[a[b]]);return E};const Le=Ee=>{let{title:oe,content:E,prefixCls:a}=Ee;return Pe.createElement(Pe.Fragment,null,oe&&Pe.createElement("div",{className:`${a}-title`},(0,Me.Z)(oe)),Pe.createElement("div",{className:`${a}-inner-content`},(0,Me.Z)(E)))},je=Pe.forwardRef((Ee,oe)=>{const{prefixCls:E,title:a,content:b,overlayClassName:y,placement:x="top",trigger:ee="hover",mouseEnterDelay:te=.1,mouseLeaveDelay:ae=.1,overlayStyle:ue={}}=Ee,de=Ae(Ee,["prefixCls","title","content","overlayClassName","placement","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle"]),{getPrefixCls:me}=Pe.useContext(xe.E_),Be=me("popover",E),[ve,Fe]=(0,Ne.Z)(Be),ge=me(),Je=ie()(y,Fe);return ve(Pe.createElement(re.Z,Object.assign({placement:x,trigger:ee,mouseEnterDelay:te,mouseLeaveDelay:ae,overlayStyle:ue},de,{prefixCls:Be,overlayClassName:Je,ref:oe,overlay:a||b?Pe.createElement(Le,{prefixCls:Be,title:a,content:b}):null,transitionName:(0,be.m)(ge,"zoom-big",de.transitionName),"data-popover-inject":!0})))});je._InternalPanelDoNotUseOrYouWillBeFired=De.ZP,vt.Z=je},17356:function(ft,vt,ne){"use strict";var z=ne(17313),ie=ne(29878),Pe=ne(19447),Me=ne(33166),be=ne(83116),xe=ne(37613);const re=Ae=>{const{componentCls:Le,popoverColor:je,minWidth:Ee,fontWeightStrong:oe,popoverPadding:E,boxShadowSecondary:a,colorTextHeading:b,borderRadiusLG:y,zIndexPopup:x,marginXS:ee,colorBgElevated:te,popoverBg:ae}=Ae;return[{[Le]:Object.assign(Object.assign({},(0,z.Wf)(Ae)),{position:"absolute",top:0,left:{_skip_check_:!0,value:0},zIndex:x,fontWeight:"normal",whiteSpace:"normal",textAlign:"start",cursor:"auto",userSelect:"text",transformOrigin:"var(--arrow-x, 50%) var(--arrow-y, 50%)","--antd-arrow-background-color":te,"&-rtl":{direction:"rtl"},"&-hidden":{display:"none"},[`${Le}-content`]:{position:"relative"},[`${Le}-inner`]:{backgroundColor:ae,backgroundClip:"padding-box",borderRadius:y,boxShadow:a,padding:E},[`${Le}-title`]:{minWidth:Ee,marginBottom:ee,color:b,fontWeight:oe},[`${Le}-inner-content`]:{color:je}})},(0,Pe.ZP)(Ae,{colorBg:"var(--antd-arrow-background-color)"}),{[`${Le}-pure`]:{position:"relative",maxWidth:"none",margin:Ae.sizePopupArrow,display:"inline-block",[`${Le}-content`]:{display:"inline-block"}}}]},De=Ae=>{const{componentCls:Le}=Ae;return{[Le]:Me.i.map(je=>{const Ee=Ae[`${je}6`];return{[`&${Le}-${je}`]:{"--antd-arrow-background-color":Ee,[`${Le}-inner`]:{backgroundColor:Ee},[`${Le}-arrow`]:{background:"transparent"}}}})}},Ne=Ae=>{const{componentCls:Le,lineWidth:je,lineType:Ee,colorSplit:oe,paddingSM:E,controlHeight:a,fontSize:b,lineHeight:y,padding:x}=Ae,ee=a-Math.round(b*y),te=ee/2,ae=ee/2-je,ue=x;return{[Le]:{[`${Le}-inner`]:{padding:0},[`${Le}-title`]:{margin:0,padding:`${te}px ${ue}px ${ae}px`,borderBottom:`${je}px ${Ee} ${oe}`},[`${Le}-inner-content`]:{padding:`${E}px ${ue}px`}}}};vt.Z=(0,be.Z)("Popover",Ae=>{const{colorBgElevated:Le,colorText:je,wireframe:Ee}=Ae,oe=(0,xe.TS)(Ae,{popoverPadding:12,popoverBg:Le,popoverColor:je});return[re(oe),De(oe),Ee&&Ne(oe),(0,ie._y)(oe,"zoom-big")]},Ae=>({width:177,minWidth:177,zIndexPopup:Ae.zIndexPopupBase+30}),{resetStyle:!1,deprecatedTokens:[["width","minWidth"]]})},13570:function(ft,vt,ne){"use strict";ne.d(vt,{Z:function(){return Bt}});var z=ne(54476),ie=ne(59301),Pe={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"},Me=Pe,be=ne(7657),xe=function(yt,Ft){return ie.createElement(be.Z,(0,z.Z)({},yt,{ref:Ft,icon:Me}))},re=ie.forwardRef(xe),De=re,Ne=ne(92310),Ae=ne.n(Ne),Le=ne(20068),je=ne(42978),Ee=ne(75931),oe=ne(18929),E=ne(10228),a=ne(26112);function b(Qe,yt){var Ft=Qe.disabled,Te=Qe.prefixCls,Ge=Qe.character,gt=Qe.characterRender,Zt=Qe.index,mt=Qe.count,Ot=Qe.value,Se=Qe.allowHalf,Ct=Qe.focused,Jt=Qe.onHover,Pt=Qe.onClick,ut=function(fe){Jt(fe,Zt)},We=function(fe){Pt(fe,Zt)},Re=function(fe){fe.keyCode===E.Z.ENTER&&Pt(fe,Zt)},he=Zt+1,ce=new Set([Te]);Ot===0&&Zt===0&&Ct?ce.add("".concat(Te,"-focused")):Se&&Ot+.5>=he&&Ot<he?(ce.add("".concat(Te,"-half")),ce.add("".concat(Te,"-active")),Ct&&ce.add("".concat(Te,"-focused"))):(he<=Ot?ce.add("".concat(Te,"-full")):ce.add("".concat(Te,"-zero")),he===Ot&&Ct&&ce.add("".concat(Te,"-focused")));var _e=typeof Ge=="function"?Ge(Qe):Ge,it=ie.createElement("li",{className:Ae()(Array.from(ce)),ref:yt},ie.createElement("div",{onClick:Ft?null:We,onKeyDown:Ft?null:Re,onMouseMove:Ft?null:ut,role:"radio","aria-checked":Ot>Zt?"true":"false","aria-posinset":Zt+1,"aria-setsize":mt,tabIndex:Ft?-1:0},ie.createElement("div",{className:"".concat(Te,"-first")},_e),ie.createElement("div",{className:"".concat(Te,"-second")},_e)));return gt&&(it=gt(it,Qe)),it}var y=ie.forwardRef(b);function x(){var Qe=ie.useRef({});function yt(Te){return Qe.current[Te]}function Ft(Te){return function(Ge){Qe.current[Te]=Ge}}return[yt,Ft]}function ee(Qe){var yt=Qe.pageXOffset,Ft="scrollLeft";if(typeof yt!="number"){var Te=Qe.document;yt=Te.documentElement[Ft],typeof yt!="number"&&(yt=Te.body[Ft])}return yt}function te(Qe){var yt,Ft,Te=Qe.ownerDocument,Ge=Te.body,gt=Te&&Te.documentElement,Zt=Qe.getBoundingClientRect();return yt=Zt.left,Ft=Zt.top,yt-=gt.clientLeft||Ge.clientLeft||0,Ft-=gt.clientTop||Ge.clientTop||0,{left:yt,top:Ft}}function ae(Qe){var yt=te(Qe),Ft=Qe.ownerDocument,Te=Ft.defaultView||Ft.parentWindow;return yt.left+=ee(Te),yt.left}var ue=["prefixCls","className","defaultValue","value","count","allowHalf","allowClear","character","characterRender","disabled","direction","tabIndex","autoFocus","onHoverChange","onChange","onFocus","onBlur","onKeyDown","onMouseLeave"];function de(Qe,yt){var Ft,Te=Qe.prefixCls,Ge=Te===void 0?"rc-rate":Te,gt=Qe.className,Zt=Qe.defaultValue,mt=Qe.value,Ot=Qe.count,Se=Ot===void 0?5:Ot,Ct=Qe.allowHalf,Jt=Ct===void 0?!1:Ct,Pt=Qe.allowClear,ut=Pt===void 0?!0:Pt,We=Qe.character,Re=We===void 0?"\u2605":We,he=Qe.characterRender,ce=Qe.disabled,_e=Qe.direction,it=_e===void 0?"ltr":_e,pe=Qe.tabIndex,fe=pe===void 0?0:pe,Xe=Qe.autoFocus,ke=Qe.onHoverChange,Ce=Qe.onChange,tt=Qe.onFocus,Rt=Qe.onBlur,dt=Qe.onKeyDown,wt=Qe.onMouseLeave,At=(0,Ee.Z)(Qe,ue),zt=x(),pt=(0,je.Z)(zt,2),en=pt[0],nn=pt[1],Tt=ie.useRef(null),Nt=function(){if(!ce){var jt;(jt=Tt.current)===null||jt===void 0||jt.focus()}};ie.useImperativeHandle(yt,function(){return{focus:Nt,blur:function(){if(!ce){var jt;(jt=Tt.current)===null||jt===void 0||jt.blur()}}}});var $t=(0,oe.Z)(Zt||0,{value:mt}),ln=(0,je.Z)($t,2),dn=ln[0],wn=ln[1],zn=(0,oe.Z)(null),Mt=(0,je.Z)(zn,2),Dt=Mt[0],Gt=Mt[1],un=function(jt,Sn){var cn=it==="rtl",sn=jt+1;if(Jt){var Ln=en(jt),Ea=ae(Ln),Qt=Ln.clientWidth;(cn&&Sn-Ea>Qt/2||!cn&&Sn-Ea<Qt/2)&&(sn-=.5)}return sn},tn=function(jt){wn(jt),Ce==null||Ce(jt)},Qn=ie.useState(!1),ca=(0,je.Z)(Qn,2),Pn=ca[0],Ut=ca[1],Xn=function(){Ut(!0),tt==null||tt()},et=function(){Ut(!1),Rt==null||Rt()},Ht=ie.useState(null),qt=(0,je.Z)(Ht,2),on=qt[0],yn=qt[1],rn=function(jt,Sn){var cn=un(Sn,jt.pageX);cn!==Dt&&(yn(cn),Gt(null)),ke==null||ke(cn)},mn=function(jt){ce||(yn(null),Gt(null),ke==null||ke(void 0)),jt&&(wt==null||wt(jt))},qe=function(jt,Sn){var cn=un(Sn,jt.pageX),sn=!1;ut&&(sn=cn===dn),mn(),tn(sn?0:cn),Gt(sn?cn:null)},nt=function(jt){var Sn=jt.keyCode,cn=it==="rtl",sn=dn;Sn===E.Z.RIGHT&&sn<Se&&!cn?(Jt?sn+=.5:sn+=1,tn(sn),jt.preventDefault()):Sn===E.Z.LEFT&&sn>0&&!cn||Sn===E.Z.RIGHT&&sn>0&&cn?(Jt?sn-=.5:sn-=1,tn(sn),jt.preventDefault()):Sn===E.Z.LEFT&&sn<Se&&cn&&(Jt?sn+=.5:sn+=1,tn(sn),jt.preventDefault()),dt==null||dt(jt)};ie.useEffect(function(){Xe&&!ce&&Nt()},[]);var $e=new Array(Se).fill(0).map(function(Kt,jt){return ie.createElement(y,{ref:nn(jt),index:jt,count:Se,disabled:ce,prefixCls:"".concat(Ge,"-star"),allowHalf:Jt,value:on===null?dn:on,onClick:qe,onHover:rn,key:Kt||jt,character:Re,characterRender:he,focused:Pn})}),kt=Ae()(Ge,gt,(Ft={},(0,Le.Z)(Ft,"".concat(Ge,"-disabled"),ce),(0,Le.Z)(Ft,"".concat(Ge,"-rtl"),it==="rtl"),Ft));return ie.createElement("ul",(0,z.Z)({className:kt,onMouseLeave:mn,tabIndex:ce?-1:fe,onFocus:ce?null:Xn,onBlur:ce?null:et,onKeyDown:ce?null:nt,ref:Tt,role:"radiogroup"},(0,a.Z)(At,{aria:!0,data:!0,attr:!0})),$e)}var me=ie.forwardRef(de),Be=me,ve=ne(36355),Fe=ne(6848),ge=ne(17313),Je=ne(83116),Ie=ne(37613);const Ue=Qe=>{const{componentCls:yt}=Qe;return{[`${yt}-star`]:{position:"relative",display:"inline-block",color:"inherit",cursor:"pointer","&:not(:last-child)":{marginInlineEnd:Qe.marginXS},"> div":{transition:`all ${Qe.motionDurationMid}, outline 0s`,"&:hover":{transform:Qe.starHoverScale},"&:focus":{outline:0},"&:focus-visible":{outline:`${Qe.lineWidth}px dashed ${Qe.starColor}`,transform:Qe.starHoverScale}},"&-first, &-second":{color:Qe.starBg,transition:`all ${Qe.motionDurationMid}`,userSelect:"none",[Qe.iconCls]:{verticalAlign:"middle"}},"&-first":{position:"absolute",top:0,insetInlineStart:0,width:"50%",height:"100%",overflow:"hidden",opacity:0},[`&-half ${yt}-star-first, &-half ${yt}-star-second`]:{opacity:1},[`&-half ${yt}-star-first, &-full ${yt}-star-second`]:{color:"inherit"}}}},ze=Qe=>({[`&-rtl${Qe.componentCls}`]:{direction:"rtl"}}),Ke=Qe=>{const{componentCls:yt}=Qe;return{[yt]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,ge.Wf)(Qe)),{display:"inline-block",margin:0,padding:0,color:Qe.starColor,fontSize:Qe.starSize,lineHeight:"unset",listStyle:"none",outline:"none",[`&-disabled${yt} ${yt}-star`]:{cursor:"default","> div:hover":{transform:"scale(1)"}}}),Ue(Qe)),{[`+ ${yt}-text`]:{display:"inline-block",marginInlineStart:Qe.marginXS,fontSize:Qe.fontSize}}),ze(Qe))}};var lt=(0,Je.Z)("Rate",Qe=>{const yt=(0,Ie.TS)(Qe,{});return[Ke(yt)]},Qe=>({starColor:Qe.yellow6,starSize:Qe.controlHeightLG*.5,starHoverScale:"scale(1.1)",starBg:Qe.colorFillContent})),St=function(Qe,yt){var Ft={};for(var Te in Qe)Object.prototype.hasOwnProperty.call(Qe,Te)&&yt.indexOf(Te)<0&&(Ft[Te]=Qe[Te]);if(Qe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ge=0,Te=Object.getOwnPropertySymbols(Qe);Ge<Te.length;Ge++)yt.indexOf(Te[Ge])<0&&Object.prototype.propertyIsEnumerable.call(Qe,Te[Ge])&&(Ft[Te[Ge]]=Qe[Te[Ge]]);return Ft},Bt=ie.forwardRef((Qe,yt)=>{const{prefixCls:Ft,className:Te,rootClassName:Ge,style:gt,tooltips:Zt,character:mt=ie.createElement(De,null)}=Qe,Ot=St(Qe,["prefixCls","className","rootClassName","style","tooltips","character"]),Se=(ce,_e)=>{let{index:it}=_e;return Zt?ie.createElement(Fe.Z,{title:Zt[it]},ce):ce},{getPrefixCls:Ct,direction:Jt,rate:Pt}=ie.useContext(ve.E_),ut=Ct("rate",Ft),[We,Re]=lt(ut),he=Object.assign(Object.assign({},Pt==null?void 0:Pt.style),gt);return We(ie.createElement(Be,Object.assign({ref:yt,character:mt,characterRender:Se},Ot,{className:Ae()(Te,Ge,Re,Pt==null?void 0:Pt.className),style:he,prefixCls:ut,direction:Jt})))})},61621:function(ft,vt,ne){"use strict";ne.d(vt,{Z:function(){return Re}});var z=ne(92310),ie=ne.n(z),Pe=ne(59301),Me=ne(36355),be=ne(2738),re=he=>{const{prefixCls:ce,className:_e,style:it,size:pe,shape:fe}=he,Xe=ie()({[`${ce}-lg`]:pe==="large",[`${ce}-sm`]:pe==="small"}),ke=ie()({[`${ce}-circle`]:fe==="circle",[`${ce}-square`]:fe==="square",[`${ce}-round`]:fe==="round"}),Ce=Pe.useMemo(()=>typeof pe=="number"?{width:pe,height:pe,lineHeight:`${pe}px`}:{},[pe]);return Pe.createElement("span",{className:ie()(ce,Xe,ke,_e),style:Object.assign(Object.assign({},Ce),it)})},De=ne(36237),Ne=ne(83116),Ae=ne(37613);const Le=new De.Keyframes("ant-skeleton-loading",{"0%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),je=he=>({height:he,lineHeight:`${he}px`}),Ee=he=>Object.assign({width:he},je(he)),oe=he=>({background:he.skeletonLoadingBackground,backgroundSize:"400% 100%",animationName:Le,animationDuration:he.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite"}),E=he=>Object.assign({width:he*5,minWidth:he*5},je(he)),a=he=>{const{skeletonAvatarCls:ce,gradientFromColor:_e,controlHeight:it,controlHeightLG:pe,controlHeightSM:fe}=he;return{[`${ce}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:_e},Ee(it)),[`${ce}${ce}-circle`]:{borderRadius:"50%"},[`${ce}${ce}-lg`]:Object.assign({},Ee(pe)),[`${ce}${ce}-sm`]:Object.assign({},Ee(fe))}},b=he=>{const{controlHeight:ce,borderRadiusSM:_e,skeletonInputCls:it,controlHeightLG:pe,controlHeightSM:fe,gradientFromColor:Xe}=he;return{[`${it}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:Xe,borderRadius:_e},E(ce)),[`${it}-lg`]:Object.assign({},E(pe)),[`${it}-sm`]:Object.assign({},E(fe))}},y=he=>Object.assign({width:he},je(he)),x=he=>{const{skeletonImageCls:ce,imageSizeBase:_e,gradientFromColor:it,borderRadiusSM:pe}=he;return{[`${ce}`]:Object.assign(Object.assign({display:"flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",background:it,borderRadius:pe},y(_e*2)),{[`${ce}-path`]:{fill:"#bfbfbf"},[`${ce}-svg`]:Object.assign(Object.assign({},y(_e)),{maxWidth:_e*4,maxHeight:_e*4}),[`${ce}-svg${ce}-svg-circle`]:{borderRadius:"50%"}}),[`${ce}${ce}-circle`]:{borderRadius:"50%"}}},ee=(he,ce,_e)=>{const{skeletonButtonCls:it}=he;return{[`${_e}${it}-circle`]:{width:ce,minWidth:ce,borderRadius:"50%"},[`${_e}${it}-round`]:{borderRadius:ce}}},te=he=>Object.assign({width:he*2,minWidth:he*2},je(he)),ae=he=>{const{borderRadiusSM:ce,skeletonButtonCls:_e,controlHeight:it,controlHeightLG:pe,controlHeightSM:fe,gradientFromColor:Xe}=he;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[`${_e}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:Xe,borderRadius:ce,width:it*2,minWidth:it*2},te(it))},ee(he,it,_e)),{[`${_e}-lg`]:Object.assign({},te(pe))}),ee(he,pe,`${_e}-lg`)),{[`${_e}-sm`]:Object.assign({},te(fe))}),ee(he,fe,`${_e}-sm`))},ue=he=>{const{componentCls:ce,skeletonAvatarCls:_e,skeletonTitleCls:it,skeletonParagraphCls:pe,skeletonButtonCls:fe,skeletonInputCls:Xe,skeletonImageCls:ke,controlHeight:Ce,controlHeightLG:tt,controlHeightSM:Rt,gradientFromColor:dt,padding:wt,marginSM:At,borderRadius:zt,titleHeight:pt,blockRadius:en,paragraphLiHeight:nn,controlHeightXS:Tt,paragraphMarginTop:Nt}=he;return{[`${ce}`]:{display:"table",width:"100%",[`${ce}-header`]:{display:"table-cell",paddingInlineEnd:wt,verticalAlign:"top",[`${_e}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:dt},Ee(Ce)),[`${_e}-circle`]:{borderRadius:"50%"},[`${_e}-lg`]:Object.assign({},Ee(tt)),[`${_e}-sm`]:Object.assign({},Ee(Rt))},[`${ce}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[`${it}`]:{width:"100%",height:pt,background:dt,borderRadius:en,[`+ ${pe}`]:{marginBlockStart:Rt}},[`${pe}`]:{padding:0,"> li":{width:"100%",height:nn,listStyle:"none",background:dt,borderRadius:en,"+ li":{marginBlockStart:Tt}}},[`${pe}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${ce}-content`]:{[`${it}, ${pe} > li`]:{borderRadius:zt}}},[`${ce}-with-avatar ${ce}-content`]:{[`${it}`]:{marginBlockStart:At,[`+ ${pe}`]:{marginBlockStart:Nt}}},[`${ce}${ce}-element`]:Object.assign(Object.assign(Object.assign(Object.assign({display:"inline-block",width:"auto"},ae(he)),a(he)),b(he)),x(he)),[`${ce}${ce}-block`]:{width:"100%",[`${fe}`]:{width:"100%"},[`${Xe}`]:{width:"100%"}},[`${ce}${ce}-active`]:{[`
${it},
${pe} > li,
${_e},
${fe},
${Xe},
${ke}
`]:Object.assign({},oe(he))}}};var de=(0,Ne.Z)("Skeleton",he=>{const{componentCls:ce}=he,_e=(0,Ae.TS)(he,{skeletonAvatarCls:`${ce}-avatar`,skeletonTitleCls:`${ce}-title`,skeletonParagraphCls:`${ce}-paragraph`,skeletonButtonCls:`${ce}-button`,skeletonInputCls:`${ce}-input`,skeletonImageCls:`${ce}-image`,imageSizeBase:he.controlHeight*1.5,borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${he.gradientFromColor} 25%, ${he.gradientToColor} 37%, ${he.gradientFromColor} 63%)`,skeletonLoadingMotionDuration:"1.4s"});return[ue(_e)]},he=>{const{colorFillContent:ce,colorFill:_e}=he,it=ce,pe=_e;return{color:it,colorGradientEnd:pe,gradientFromColor:it,gradientToColor:pe,titleHeight:he.controlHeight/2,blockRadius:he.borderRadiusSM,paragraphMarginTop:he.marginLG+he.marginXXS,paragraphLiHeight:he.controlHeight/2}},{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]}),Be=he=>{const{prefixCls:ce,className:_e,rootClassName:it,active:pe,shape:fe="circle",size:Xe="default"}=he,{getPrefixCls:ke}=Pe.useContext(Me.E_),Ce=ke("skeleton",ce),[tt,Rt]=de(Ce),dt=(0,be.Z)(he,["prefixCls","className"]),wt=ie()(Ce,`${Ce}-element`,{[`${Ce}-active`]:pe},_e,it,Rt);return tt(Pe.createElement("div",{className:wt},Pe.createElement(re,Object.assign({prefixCls:`${Ce}-avatar`,shape:fe,size:Xe},dt))))},Fe=he=>{const{prefixCls:ce,className:_e,rootClassName:it,active:pe,block:fe=!1,size:Xe="default"}=he,{getPrefixCls:ke}=Pe.useContext(Me.E_),Ce=ke("skeleton",ce),[tt,Rt]=de(Ce),dt=(0,be.Z)(he,["prefixCls"]),wt=ie()(Ce,`${Ce}-element`,{[`${Ce}-active`]:pe,[`${Ce}-block`]:fe},_e,it,Rt);return tt(Pe.createElement("div",{className:wt},Pe.createElement(re,Object.assign({prefixCls:`${Ce}-button`,size:Xe},dt))))};const ge="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 Ie=he=>{const{prefixCls:ce,className:_e,rootClassName:it,style:pe,active:fe}=he,{getPrefixCls:Xe}=Pe.useContext(Me.E_),ke=Xe("skeleton",ce),[Ce,tt]=de(ke),Rt=ie()(ke,`${ke}-element`,{[`${ke}-active`]:fe},_e,it,tt);return Ce(Pe.createElement("div",{className:Rt},Pe.createElement("div",{className:ie()(`${ke}-image`,_e),style:pe},Pe.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${ke}-image-svg`},Pe.createElement("path",{d:ge,className:`${ke}-image-path`})))))},ze=he=>{const{prefixCls:ce,className:_e,rootClassName:it,active:pe,block:fe,size:Xe="default"}=he,{getPrefixCls:ke}=Pe.useContext(Me.E_),Ce=ke("skeleton",ce),[tt,Rt]=de(Ce),dt=(0,be.Z)(he,["prefixCls"]),wt=ie()(Ce,`${Ce}-element`,{[`${Ce}-active`]:pe,[`${Ce}-block`]:fe},_e,it,Rt);return tt(Pe.createElement("div",{className:wt},Pe.createElement(re,Object.assign({prefixCls:`${Ce}-input`,size:Xe},dt))))},Ke=ne(54476),lt={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"},St=lt,ot=ne(7657),Bt=function(ce,_e){return Pe.createElement(ot.Z,(0,Ke.Z)({},ce,{ref:_e,icon:St}))},Qe=Pe.forwardRef(Bt),yt=Qe,Te=he=>{const{prefixCls:ce,className:_e,rootClassName:it,style:pe,active:fe,children:Xe}=he,{getPrefixCls:ke}=Pe.useContext(Me.E_),Ce=ke("skeleton",ce),[tt,Rt]=de(Ce),dt=ie()(Ce,`${Ce}-element`,{[`${Ce}-active`]:fe},Rt,_e,it),wt=Xe!=null?Xe:Pe.createElement(yt,null);return tt(Pe.createElement("div",{className:dt},Pe.createElement("div",{className:ie()(`${Ce}-image`,_e),style:pe},wt)))},Ge=ne(94480),Zt=he=>{const ce=ke=>{const{width:Ce,rows:tt=2}=he;if(Array.isArray(Ce))return Ce[ke];if(tt-1===ke)return Ce},{prefixCls:_e,className:it,style:pe,rows:fe}=he,Xe=(0,Ge.Z)(Array(fe)).map((ke,Ce)=>Pe.createElement("li",{key:Ce,style:{width:ce(Ce)}}));return Pe.createElement("ul",{className:ie()(_e,it),style:pe},Xe)},Ot=he=>{let{prefixCls:ce,className:_e,width:it,style:pe}=he;return Pe.createElement("h3",{className:ie()(ce,_e),style:Object.assign({width:it},pe)})};function Se(he){return he&&typeof he=="object"?he:{}}function Ct(he,ce){return he&&!ce?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function Jt(he,ce){return!he&&ce?{width:"38%"}:he&&ce?{width:"50%"}:{}}function Pt(he,ce){const _e={};return(!he||!ce)&&(_e.width="61%"),!he&&ce?_e.rows=3:_e.rows=2,_e}const ut=he=>{const{prefixCls:ce,loading:_e,className:it,rootClassName:pe,style:fe,children:Xe,avatar:ke=!1,title:Ce=!0,paragraph:tt=!0,active:Rt,round:dt}=he,{getPrefixCls:wt,direction:At,skeleton:zt}=Pe.useContext(Me.E_),pt=wt("skeleton",ce),[en,nn]=de(pt);if(_e||!("loading"in he)){const Tt=!!ke,Nt=!!Ce,$t=!!tt;let ln;if(Tt){const zn=Object.assign(Object.assign({prefixCls:`${pt}-avatar`},Ct(Nt,$t)),Se(ke));ln=Pe.createElement("div",{className:`${pt}-header`},Pe.createElement(re,Object.assign({},zn)))}let dn;if(Nt||$t){let zn;if(Nt){const Dt=Object.assign(Object.assign({prefixCls:`${pt}-title`},Jt(Tt,$t)),Se(Ce));zn=Pe.createElement(Ot,Object.assign({},Dt))}let Mt;if($t){const Dt=Object.assign(Object.assign({prefixCls:`${pt}-paragraph`},Pt(Tt,Nt)),Se(tt));Mt=Pe.createElement(Zt,Object.assign({},Dt))}dn=Pe.createElement("div",{className:`${pt}-content`},zn,Mt)}const wn=ie()(pt,{[`${pt}-with-avatar`]:Tt,[`${pt}-active`]:Rt,[`${pt}-rtl`]:At==="rtl",[`${pt}-round`]:dt},zt==null?void 0:zt.className,it,pe,nn);return en(Pe.createElement("div",{className:wn,style:Object.assign(Object.assign({},zt==null?void 0:zt.style),fe)},ln,dn))}return typeof Xe!="undefined"?Xe:null};ut.Button=Fe,ut.Avatar=Be,ut.Input=ze,ut.Image=Ie,ut.Node=Te;var We=ut,Re=We},31797:function(ft,vt,ne){"use strict";ne.d(vt,{default:function(){return de}});var z=ne(59301),ie=ne(56762),Pe=ne(92343),Me=ne(92310),be=ne.n(Me),xe=ne(36355),re=ne(61621),Ne=me=>{const{value:Be,formatter:ve,precision:Fe,decimalSeparator:ge,groupSeparator:Je="",prefixCls:Ie}=me;let Ue;if(typeof ve=="function")Ue=ve(Be);else{const ze=String(Be),Ke=ze.match(/^(-?)(\d*)(\.(\d+))?$/);if(!Ke||ze==="-")Ue=ze;else{const lt=Ke[1];let St=Ke[2]||"0",ot=Ke[4]||"";St=St.replace(/\B(?=(\d{3})+(?!\d))/g,Je),typeof Fe=="number"&&(ot=ot.padEnd(Fe,"0").slice(0,Fe>0?Fe:0)),ot&&(ot=`${ge}${ot}`),Ue=[z.createElement("span",{key:"int",className:`${Ie}-content-value-int`},lt,St),ot&&z.createElement("span",{key:"decimal",className:`${Ie}-content-value-decimal`},ot)]}}return z.createElement("span",{className:`${Ie}-content-value`},Ue)},Ae=ne(17313),Le=ne(83116),je=ne(37613);const Ee=me=>{const{componentCls:Be,marginXXS:ve,padding:Fe,colorTextDescription:ge,titleFontSize:Je,colorTextHeading:Ie,contentFontSize:Ue,fontFamily:ze}=me;return{[`${Be}`]:Object.assign(Object.assign({},(0,Ae.Wf)(me)),{[`${Be}-title`]:{marginBottom:ve,color:ge,fontSize:Je},[`${Be}-skeleton`]:{paddingTop:Fe},[`${Be}-content`]:{color:Ie,fontSize:Ue,fontFamily:ze,[`${Be}-content-value`]:{display:"inline-block",direction:"ltr"},[`${Be}-content-prefix, ${Be}-content-suffix`]:{display:"inline-block"},[`${Be}-content-prefix`]:{marginInlineEnd:ve},[`${Be}-content-suffix`]:{marginInlineStart:ve}}})}};var oe=(0,Le.Z)("Statistic",me=>{const Be=(0,je.TS)(me,{});return[Ee(Be)]},me=>{const{fontSizeHeading3:Be,fontSize:ve}=me;return{titleFontSize:ve,contentFontSize:Be}}),a=me=>{const{prefixCls:Be,className:ve,rootClassName:Fe,style:ge,valueStyle:Je,value:Ie=0,title:Ue,valueRender:ze,prefix:Ke,suffix:lt,loading:St=!1,onMouseEnter:ot,onMouseLeave:Bt,decimalSeparator:Qe=".",groupSeparator:yt=","}=me,{getPrefixCls:Ft,direction:Te,statistic:Ge}=z.useContext(xe.E_),gt=Ft("statistic",Be),[Zt,mt]=oe(gt),Ot=z.createElement(Ne,Object.assign({decimalSeparator:Qe,groupSeparator:yt,prefixCls:gt},me,{value:Ie})),Se=be()(gt,{[`${gt}-rtl`]:Te==="rtl"},Ge==null?void 0:Ge.className,ve,Fe,mt);return Zt(z.createElement("div",{className:Se,style:Object.assign(Object.assign({},Ge==null?void 0:Ge.style),ge),onMouseEnter:ot,onMouseLeave:Bt},Ue&&z.createElement("div",{className:`${gt}-title`},Ue),z.createElement(re.Z,{paragraph:!1,loading:St,className:`${gt}-skeleton`},z.createElement("div",{style:Je,className:`${gt}-content`},Ke&&z.createElement("span",{className:`${gt}-content-prefix`},Ke),ze?ze(Ot):Ot,lt&&z.createElement("span",{className:`${gt}-content-suffix`},lt)))))};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 y(me,Be){let ve=me;const Fe=/\[[^\]]*]/g,ge=(Be.match(Fe)||[]).map(ze=>ze.slice(1,-1)),Je=Be.replace(Fe,"[]"),Ie=b.reduce((ze,Ke)=>{let[lt,St]=Ke;if(ze.includes(lt)){const ot=Math.floor(ve/St);return ve-=ot*St,ze.replace(new RegExp(`${lt}+`,"g"),Bt=>{const Qe=Bt.length;return ot.toString().padStart(Qe,"0")})}return ze},Je);let Ue=0;return Ie.replace(Fe,()=>{const ze=ge[Ue];return Ue+=1,ze})}function x(me,Be){const{format:ve=""}=Be,Fe=new Date(me).getTime(),ge=Date.now(),Je=Math.max(Fe-ge,0);return y(Je,ve)}const ee=1e3/30;function te(me){return new Date(me).getTime()}const ae=me=>{const{value:Be,format:ve="HH:mm:ss",onChange:Fe,onFinish:ge}=me,Je=(0,ie.Z)(),Ie=z.useRef(null),Ue=()=>{ge==null||ge(),Ie.current&&(clearInterval(Ie.current),Ie.current=null)},ze=()=>{const St=te(Be);St>=Date.now()&&(Ie.current=setInterval(()=>{Je(),Fe==null||Fe(St-Date.now()),St<Date.now()&&Ue()},ee))};z.useEffect(()=>(ze(),()=>{Ie.current&&(clearInterval(Ie.current),Ie.current=null)}),[Be]);const Ke=(St,ot)=>x(St,Object.assign(Object.assign({},ot),{format:ve})),lt=St=>(0,Pe.Tm)(St,{title:void 0});return z.createElement(a,Object.assign({},me,{valueRender:lt,formatter:Ke}))};var ue=z.memo(ae);a.Countdown=ue;var de=a},15969:function(ft,vt,ne){"use strict";ne.d(vt,{N:function(){return z}});const z=ie=>({color:ie.colorLink,textDecoration:"none",outline:"none",cursor:"pointer",transition:`color ${ie.motionDurationSlow}`,"&:focus, &:hover":{color:ie.colorLinkHover},"&:active":{color:ie.colorLinkActive}})},1710:function(ft,vt,ne){"use strict";ne.d(vt,{default:function(){return za}});var z={},ie="rc-table-internal-hook",Pe=ne(42978),Me=ne(6089),be=ne(34280),xe=ne(13697),re=ne(59301),De=ne(4676);function Ne(se){var le=re.createContext(void 0),ye=function(He){var Ze=He.value,rt=He.children,at=re.useRef(Ze);at.current=Ze;var st=re.useState(function(){return{getValue:function(){return at.current},listeners:new Set}}),xt=(0,Pe.Z)(st,1),ct=xt[0];return(0,be.Z)(function(){(0,De.unstable_batchedUpdates)(function(){ct.listeners.forEach(function(bt){bt(Ze)})})},[Ze]),re.createElement(le.Provider,{value:ct},rt)};return{Context:le,Provider:ye,defaultValue:se}}function Ae(se,le){var ye=(0,Me.Z)(typeof le=="function"?le:function(bt){if(le===void 0)return bt;if(!Array.isArray(le))return bt[le];var Xt={};return le.forEach(function(Vt){Xt[Vt]=bt[Vt]}),Xt}),we=re.useContext(se==null?void 0:se.Context),He=we||{},Ze=He.listeners,rt=He.getValue,at=re.useRef();at.current=ye(we?rt():se==null?void 0:se.defaultValue);var st=re.useState({}),xt=(0,Pe.Z)(st,2),ct=xt[1];return(0,be.Z)(function(){if(!we)return;function bt(Xt){var Vt=ye(Xt);(0,xe.Z)(at.current,Vt,!0)||ct({})}return Ze.add(bt),function(){Ze.delete(bt)}},[we]),at.current}var Le=ne(54476),je=ne(8654);function Ee(){var se=re.createContext(null);function le(){return re.useContext(se)}function ye(He,Ze){var rt=(0,je.Yr)(He),at=function(xt,ct){var bt=rt?{ref:ct}:{},Xt=re.useRef(0),Vt=re.useRef(xt),Yt=le();return Yt!==null?re.createElement(He,(0,Le.Z)({},xt,bt)):((!Ze||Ze(Vt.current,xt))&&(Xt.current+=1),Vt.current=xt,re.createElement(se.Provider,{value:Xt.current},re.createElement(He,(0,Le.Z)({},xt,bt))))};return rt?re.forwardRef(at):at}function we(He,Ze){var rt=(0,je.Yr)(He),at=function(xt,ct){var bt=rt?{ref:ct}:{};return le(),re.createElement(He,(0,Le.Z)({},xt,bt))};return rt?re.memo(re.forwardRef(at),Ze):re.memo(at,Ze)}return{makeImmutable:ye,responseImmutable:we,useImmutableMark:le}}var oe=Ee(),E=oe.makeImmutable,a=oe.responseImmutable,b=oe.useImmutableMark,y=Ee(),x=y.makeImmutable,ee=y.responseImmutable,te=y.useImmutableMark,ae=Ne(),ue=ae;function de(se,le){var ye=re.useRef(0);ye.current+=1;var we=re.useRef(se),He=[];Object.keys(se||{}).map(function(rt){var at;(se==null?void 0:se[rt])!==((at=we.current)===null||at===void 0?void 0:at[rt])&&He.push(rt)}),we.current=se;var Ze=re.useRef([]);return He.length&&(Ze.current=He),re.useDebugValue(ye.current),re.useDebugValue(Ze.current.join(", ")),le&&console.log("".concat(le,":"),ye.current,Ze.current),ye.current}var me=null,Be=re.memo(function(){var se=de();return re.createElement("h1",null,"Render Times: ",se)});Be.displayName="RenderBlock";var ve=ne(76190),Fe=ne(33885),ge=ne(20068),Je=ne(92310),Ie=ne.n(Je),Ue=ne(80547),ze=ne(97938),Ke=ne(48736),lt=re.createContext({renderWithProps:!1}),St=lt,ot="RC_TABLE_KEY";function Bt(se){return se==null?[]:Array.isArray(se)?se:[se]}function Qe(se){var le=[],ye={};return se.forEach(function(we){for(var He=we||{},Ze=He.key,rt=He.dataIndex,at=Ze||Bt(rt).join("-")||ot;ye[at];)at="".concat(at,"_next");ye[at]=!0,le.push(at)}),le}function yt(se){return se!=null}function Ft(se){return se&&(0,ve.Z)(se)==="object"&&!Array.isArray(se)&&!re.isValidElement(se)}function Te(se,le,ye,we,He,Ze){var rt=re.useContext(St),at=te(),st=(0,Ue.Z)(function(){if(yt(we))return[we];var xt=le==null||le===""?[]:Array.isArray(le)?le:[le],ct=(0,ze.Z)(se,xt),bt=ct,Xt=void 0;if(He){var Vt=He(ct,se,ye);Ft(Vt)?(bt=Vt.children,Xt=Vt.props,rt.renderWithProps=!0):bt=Vt}return[bt,Xt]},[at,se,we,le,He,ye],function(xt,ct){if(Ze){var bt=(0,Pe.Z)(xt,2),Xt=bt[1],Vt=(0,Pe.Z)(ct,2),Yt=Vt[1];return Ze(Yt,Xt)}return rt.renderWithProps?!0:!(0,xe.Z)(xt,ct,!0)});return st}function Ge(se,le,ye,we){var He=se+le-1;return se<=we&&He>=ye}function gt(se,le){return Ae(ue,function(ye){var we=Ge(se,le||1,ye.hoverStartRow,ye.hoverEndRow);return[we,ye.onHover]})}var Zt=function(le){var ye=le.ellipsis,we=le.rowType,He=le.children,Ze,rt=ye===!0?{showTitle:!0}:ye;return rt&&(rt.showTitle||we==="header")&&(typeof He=="string"||typeof He=="number"?Ze=He.toString():re.isValidElement(He)&&typeof He.props.children=="string"&&(Ze=He.props.children)),Ze};function mt(se){var le,ye,we,He,Ze,rt,at,st,xt=se.component,ct=se.children,bt=se.ellipsis,Xt=se.scope,Vt=se.prefixCls,Yt=se.className,xn=se.align,vn=se.record,En=se.render,hn=se.dataIndex,kn=se.renderIndex,la=se.shouldCellUpdate,sa=se.index,Jn=se.rowType,Ba=se.colSpan,Ta=se.rowSpan,Gn=se.fixLeft,$n=se.fixRight,_n=se.firstFixLeft,In=se.lastFixLeft,Vn=se.firstFixRight,Ca=se.lastFixRight,Ka=se.appendNode,Oa=se.additionalProps,fa=Oa===void 0?{}:Oa,Va=se.isSticky,Qa="".concat(Vt,"-cell"),Po=Ae(ue,["supportSticky","allColumnsFixedLeft"]),oo=Po.supportSticky,Mo=Po.allColumnsFixedLeft,To=Te(vn,hn,kn,ct,En,la),Ra=(0,Pe.Z)(To,2),zo=Ra[0],io=Ra[1],Fo={},xo=typeof Gn=="number"&&oo,cr=typeof $n=="number"&&oo;xo&&(Fo.position="sticky",Fo.left=Gn),cr&&(Fo.position="sticky",Fo.right=$n);var Sa=(le=(ye=(we=io==null?void 0:io.colSpan)!==null&&we!==void 0?we:fa.colSpan)!==null&&ye!==void 0?ye:Ba)!==null&&le!==void 0?le:1,ha=(He=(Ze=(rt=io==null?void 0:io.rowSpan)!==null&&rt!==void 0?rt:fa.rowSpan)!==null&&Ze!==void 0?Ze:Ta)!==null&&He!==void 0?He:1,va=gt(sa,ha),oa=(0,Pe.Z)(va,2),lo=oa[0],ra=oa[1],Da=function(Ho){var gr;vn&&ra(sa,sa+ha-1),fa==null||(gr=fa.onMouseEnter)===null||gr===void 0||gr.call(fa,Ho)},to=function(Ho){var gr;vn&&ra(-1,-1),fa==null||(gr=fa.onMouseLeave)===null||gr===void 0||gr.call(fa,Ho)};if(Sa===0||ha===0)return null;var $a=(at=fa.title)!==null&&at!==void 0?at:Zt({rowType:Jn,ellipsis:bt,children:zo}),or=Ie()(Qa,Yt,(st={},(0,ge.Z)(st,"".concat(Qa,"-fix-left"),xo&&oo),(0,ge.Z)(st,"".concat(Qa,"-fix-left-first"),_n&&oo),(0,ge.Z)(st,"".concat(Qa,"-fix-left-last"),In&&oo),(0,ge.Z)(st,"".concat(Qa,"-fix-left-all"),In&&Mo&&oo),(0,ge.Z)(st,"".concat(Qa,"-fix-right"),cr&&oo),(0,ge.Z)(st,"".concat(Qa,"-fix-right-first"),Vn&&oo),(0,ge.Z)(st,"".concat(Qa,"-fix-right-last"),Ca&&oo),(0,ge.Z)(st,"".concat(Qa,"-ellipsis"),bt),(0,ge.Z)(st,"".concat(Qa,"-with-append"),Ka),(0,ge.Z)(st,"".concat(Qa,"-fix-sticky"),(xo||cr)&&Va&&oo),(0,ge.Z)(st,"".concat(Qa,"-row-hover"),!io&&lo),st),fa.className,io==null?void 0:io.className),Yo={};xn&&(Yo.textAlign=xn);var Ir=(0,Fe.Z)((0,Fe.Z)((0,Fe.Z)((0,Fe.Z)({},Fo),fa.style),Yo),io==null?void 0:io.style),jo=zo;return(0,ve.Z)(jo)==="object"&&!Array.isArray(jo)&&!re.isValidElement(jo)&&(jo=null),bt&&(In||Vn)&&(jo=re.createElement("span",{className:"".concat(Qa,"-content")},jo)),re.createElement(xt,(0,Le.Z)({},io,fa,{className:or,style:Ir,title:$a,scope:Xt,onMouseEnter:Da,onMouseLeave:to,colSpan:Sa!==1?Sa:null,rowSpan:ha!==1?ha:null}),Ka,jo)}var Ot=re.memo(mt);function Se(se,le,ye,we,He,Ze){var rt=ye[se]||{},at=ye[le]||{},st,xt;rt.fixed==="left"?st=we.left[He==="rtl"?le:se]:at.fixed==="right"&&(xt=we.right[He==="rtl"?se:le]);var ct=!1,bt=!1,Xt=!1,Vt=!1,Yt=ye[le+1],xn=ye[se-1],vn=!(Ze!=null&&Ze.children);if(He==="rtl"){if(st!==void 0){var En=xn&&xn.fixed==="left";Vt=!En&&vn}else if(xt!==void 0){var hn=Yt&&Yt.fixed==="right";Xt=!hn&&vn}}else if(st!==void 0){var kn=Yt&&Yt.fixed==="left";ct=!kn&&vn}else if(xt!==void 0){var la=xn&&xn.fixed==="right";bt=!la&&vn}return{fixLeft:st,fixRight:xt,lastFixLeft:ct,firstFixRight:bt,lastFixRight:Xt,firstFixLeft:Vt,isSticky:we.isSticky}}var Ct=re.createContext({}),Jt=Ct;function Pt(se){var le=se.className,ye=se.index,we=se.children,He=se.colSpan,Ze=He===void 0?1:He,rt=se.rowSpan,at=se.align,st=Ae(ue,["prefixCls","direction"]),xt=st.prefixCls,ct=st.direction,bt=re.useContext(Jt),Xt=bt.scrollColumnIndex,Vt=bt.stickyOffsets,Yt=bt.flattenColumns,xn=bt.columns,vn=ye+Ze-1,En=vn+1===Xt?Ze+1:Ze,hn=Se(ye,ye+En-1,Yt,Vt,ct,xn==null?void 0:xn[ye]);return re.createElement(Ot,(0,Le.Z)({className:le,index:ye,component:"td",prefixCls:xt,record:null,dataIndex:null,align:at,colSpan:En,rowSpan:rt,render:function(){return we}},hn))}var ut=ne(75931),We=["children"];function Re(se){var le=se.children,ye=(0,ut.Z)(se,We);return re.createElement("tr",ye,le)}function he(se){var le=se.children;return le}he.Row=Re,he.Cell=Pt;var ce=he;function _e(se){var le=se.children,ye=se.stickyOffsets,we=se.flattenColumns,He=se.columns,Ze=Ae(ue,"prefixCls"),rt=we.length-1,at=we[rt],st=re.useMemo(function(){return{stickyOffsets:ye,flattenColumns:we,scrollColumnIndex:at!=null&&at.scrollbar?rt:null,columns:He}},[at,we,rt,ye,He]);return re.createElement(Jt.Provider,{value:st},re.createElement("tfoot",{className:"".concat(Ze,"-summary")},le))}var it=ee(_e),pe=ce,fe=ne(70425),Xe=ne(29301),ke=ne(29194),Ce=ne(24514),tt=ne(75152),Rt=ne(26112);function dt(se,le,ye,we,He,Ze,rt){se.push({record:le,indent:ye,index:rt});var at=Ze(le),st=He==null?void 0:He.has(at);if(le&&Array.isArray(le[we])&&st)for(var xt=0;xt<le[we].length;xt+=1)dt(se,le[we][xt],ye+1,we,He,Ze,xt)}function wt(se,le,ye,we){var He=re.useMemo(function(){if(ye!=null&&ye.size){for(var Ze=[],rt=0;rt<(se==null?void 0:se.length);rt+=1){var at=se[rt];dt(Ze,at,0,le,ye,we,rt)}return Ze}return se==null?void 0:se.map(function(st,xt){return{record:st,indent:0,index:xt}})},[se,le,ye,we]);return He}function At(se){var le=se.prefixCls,ye=se.children,we=se.component,He=se.cellComponent,Ze=se.className,rt=se.expanded,at=se.colSpan,st=se.isEmpty,xt=Ae(ue,["scrollbarSize","fixHeader","fixColumn","componentWidth","horizonScroll"]),ct=xt.scrollbarSize,bt=xt.fixHeader,Xt=xt.fixColumn,Vt=xt.componentWidth,Yt=xt.horizonScroll,xn=ye;return(st?Yt&&Vt:Xt)&&(xn=re.createElement("div",{style:{width:Vt-(bt?ct:0),position:"sticky",left:0,overflow:"hidden"},className:"".concat(le,"-expanded-row-fixed")},xn)),re.createElement(we,{className:Ze,style:{display:rt?null:"none"}},re.createElement(Ot,{component:He,prefixCls:le,colSpan:at},xn))}var zt=At;function pt(se,le,ye,we){var He=Ae(ue,["prefixCls","fixedInfoList","flattenColumns","expandableType","expandRowByClick","onTriggerExpand","rowClassName","expandedRowClassName","indentSize","expandIcon","expandedRowRender","expandIconColumnIndex","expandedKeys","childrenColumnName","rowExpandable","onRow"]),Ze=He.flattenColumns,rt=He.expandableType,at=He.expandedKeys,st=He.childrenColumnName,xt=He.onTriggerExpand,ct=He.rowExpandable,bt=He.onRow,Xt=He.expandRowByClick,Vt=He.rowClassName,Yt=rt==="nest",xn=rt==="row"&&(!ct||ct(se)),vn=xn||Yt,En=at&&at.has(le),hn=st&&se&&se[st],kn=(0,fe.useEvent)(xt),la=bt==null?void 0:bt(se,ye),sa=la==null?void 0:la.onClick,Jn=function($n){Xt&&vn&&xt(se,$n);for(var _n=arguments.length,In=new Array(_n>1?_n-1:0),Vn=1;Vn<_n;Vn++)In[Vn-1]=arguments[Vn];sa==null||sa.apply(void 0,[$n].concat(In))},Ba;typeof Vt=="string"?Ba=Vt:typeof Vt=="function"&&(Ba=Vt(se,ye,we));var Ta=Qe(Ze);return(0,Fe.Z)((0,Fe.Z)({},He),{},{columnsKey:Ta,nestExpandable:Yt,expanded:En,hasNestChildren:hn,record:se,onTriggerExpand:kn,rowSupportExpand:xn,expandable:vn,rowProps:(0,Fe.Z)((0,Fe.Z)({},la),{},{className:Ie()(Ba,la==null?void 0:la.className),onClick:Jn})})}function en(se,le,ye,we,He){var Ze=se.record,rt=se.prefixCls,at=se.columnsKey,st=se.fixedInfoList,xt=se.expandIconColumnIndex,ct=se.nestExpandable,bt=se.indentSize,Xt=se.expandIcon,Vt=se.expanded,Yt=se.hasNestChildren,xn=se.onTriggerExpand,vn=at[ye],En=st[ye],hn;ye===(xt||0)&&ct&&(hn=re.createElement(re.Fragment,null,re.createElement("span",{style:{paddingLeft:"".concat(bt*we,"px")},className:"".concat(rt,"-row-indent indent-level-").concat(we)}),Xt({prefixCls:rt,expanded:Vt,expandable:Yt,record:Ze,onExpand:xn})));var kn;return le.onCell&&(kn=le.onCell(Ze,He)),{key:vn,fixedInfo:En,appendCellNode:hn,additionalCellProps:kn||{}}}function nn(se){var le=se.className,ye=se.style,we=se.record,He=se.index,Ze=se.renderIndex,rt=se.rowKey,at=se.indent,st=at===void 0?0:at,xt=se.rowComponent,ct=se.cellComponent,bt=se.scopeCellComponent,Xt=pt(we,rt,He,st),Vt=Xt.prefixCls,Yt=Xt.flattenColumns,xn=Xt.expandedRowClassName,vn=Xt.expandedRowRender,En=Xt.rowProps,hn=Xt.expanded,kn=Xt.rowSupportExpand,la=re.useState(!1),sa=(0,Pe.Z)(la,2),Jn=sa[0],Ba=sa[1];re.useEffect(function(){hn&&Ba(!0)},[hn]);var Ta=re.createElement(xt,(0,Le.Z)({},En,{"data-row-key":rt,className:Ie()(le,"".concat(Vt,"-row"),"".concat(Vt,"-row-level-").concat(st),En==null?void 0:En.className),style:(0,Fe.Z)((0,Fe.Z)({},ye),En==null?void 0:En.style)}),Yt.map(function(In,Vn){var Ca=In.render,Ka=In.dataIndex,Oa=In.className,fa=en(Xt,In,Vn,st,He),Va=fa.key,Qa=fa.fixedInfo,Po=fa.appendCellNode,oo=fa.additionalCellProps;return re.createElement(Ot,(0,Le.Z)({className:Oa,ellipsis:In.ellipsis,align:In.align,scope:In.rowScope,component:In.rowScope?bt:ct,prefixCls:Vt,key:Va,record:we,index:He,renderIndex:Ze,dataIndex:Ka,render:Ca,shouldCellUpdate:In.shouldCellUpdate},Qa,{appendNode:Po,additionalProps:oo}))})),Gn;if(kn&&(Jn||hn)){var $n=vn(we,He,st+1,hn),_n=xn&&xn(we,He,st);Gn=re.createElement(zt,{expanded:hn,className:Ie()("".concat(Vt,"-expanded-row"),"".concat(Vt,"-expanded-row-level-").concat(st+1),_n),prefixCls:Vt,component:xt,cellComponent:ct,colSpan:Yt.length,isEmpty:!1},$n)}return re.createElement(re.Fragment,null,Ta,Gn)}nn.displayName="BodyRow";var Tt=ee(nn);function Nt(se){var le=se.columnKey,ye=se.onColumnResize,we=re.useRef();return re.useEffect(function(){we.current&&ye(le,we.current.offsetWidth)},[]),re.createElement(Xe.Z,{data:le},re.createElement("td",{ref:we,style:{padding:0,border:0,height:0}},re.createElement("div",{style:{height:0,overflow:"hidden"}},"\xA0")))}function $t(se){var le=se.prefixCls,ye=se.columnsKey,we=se.onColumnResize;return re.createElement("tr",{"aria-hidden":"true",className:"".concat(le,"-measure-row"),style:{height:0,fontSize:0}},re.createElement(Xe.Z.Collection,{onBatchResize:function(Ze){Ze.forEach(function(rt){var at=rt.data,st=rt.size;we(at,st.offsetWidth)})}},ye.map(function(He){return re.createElement(Nt,{key:He,columnKey:He,onColumnResize:we})})))}function ln(se){var le=se.data,ye=se.measureColumnWidth,we=Ae(ue,["prefixCls","getComponent","onColumnResize","flattenColumns","getRowKey","expandedKeys","childrenColumnName","emptyNode"]),He=we.prefixCls,Ze=we.getComponent,rt=we.onColumnResize,at=we.flattenColumns,st=we.getRowKey,xt=we.expandedKeys,ct=we.childrenColumnName,bt=we.emptyNode,Xt=wt(le,ct,xt,st),Vt=re.useRef({renderWithProps:!1}),Yt=Ze(["body","wrapper"],"tbody"),xn=Ze(["body","row"],"tr"),vn=Ze(["body","cell"],"td"),En=Ze(["body","cell"],"th"),hn;le.length?hn=Xt.map(function(la,sa){var Jn=la.record,Ba=la.indent,Ta=la.index,Gn=st(Jn,sa);return re.createElement(Tt,{key:Gn,rowKey:Gn,record:Jn,index:sa,renderIndex:Ta,rowComponent:xn,cellComponent:vn,scopeCellComponent:En,getRowKey:st,indent:Ba})}):hn=re.createElement(zt,{expanded:!0,className:"".concat(He,"-placeholder"),prefixCls:He,component:xn,cellComponent:vn,colSpan:at.length,isEmpty:!0},bt);var kn=Qe(at);return re.createElement(St.Provider,{value:Vt.current},re.createElement(Yt,{className:"".concat(He,"-tbody")},ye&&re.createElement($t,{prefixCls:He,columnsKey:kn,onColumnResize:rt}),hn))}ln.displayName="Body";var dn=ee(ln),wn=["expandable"],zn="RC_TABLE_INTERNAL_COL_DEFINE";function Mt(se){var le=se.expandable,ye=(0,ut.Z)(se,wn),we;return"expandable"in se?we=(0,Fe.Z)((0,Fe.Z)({},ye),le):we=ye,we.showExpandColumn===!1&&(we.expandIconColumnIndex=-1),we}var Dt=["columnType"];function Gt(se){for(var le=se.colWidths,ye=se.columns,we=se.columCount,He=[],Ze=we||ye.length,rt=!1,at=Ze-1;at>=0;at-=1){var st=le[at],xt=ye&&ye[at],ct=xt&&xt[zn];if(st||ct||rt){var bt=ct||{},Xt=bt.columnType,Vt=(0,ut.Z)(bt,Dt);He.unshift(re.createElement("col",(0,Le.Z)({key:at,style:{width:st}},Vt))),rt=!0}}return re.createElement("colgroup",null,He)}var un=Gt,tn=ne(94480),Qn=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];function ca(se,le){return(0,re.useMemo)(function(){for(var ye=[],we=0;we<le;we+=1){var He=se[we];if(He!==void 0)ye[we]=He;else return null}return ye},[se.join("_"),le])}var Pn=re.forwardRef(function(se,le){var ye=se.className,we=se.noData,He=se.columns,Ze=se.flattenColumns,rt=se.colWidths,at=se.columCount,st=se.stickyOffsets,xt=se.direction,ct=se.fixHeader,bt=se.stickyTopOffset,Xt=se.stickyBottomOffset,Vt=se.stickyClassName,Yt=se.onScroll,xn=se.maxContentScroll,vn=se.children,En=(0,ut.Z)(se,Qn),hn=Ae(ue,["prefixCls","scrollbarSize","isSticky"]),kn=hn.prefixCls,la=hn.scrollbarSize,sa=hn.isSticky,Jn=sa&&!ct?0:la,Ba=re.useRef(null),Ta=re.useCallback(function(Oa){(0,je.mH)(le,Oa),(0,je.mH)(Ba,Oa)},[]);re.useEffect(function(){var Oa;function fa(Va){var Qa=Va,Po=Qa.currentTarget,oo=Qa.deltaX;oo&&(Yt({currentTarget:Po,scrollLeft:Po.scrollLeft+oo}),Va.preventDefault())}return(Oa=Ba.current)===null||Oa===void 0||Oa.addEventListener("wheel",fa),function(){var Va;(Va=Ba.current)===null||Va===void 0||Va.removeEventListener("wheel",fa)}},[]);var Gn=re.useMemo(function(){return Ze.every(function(Oa){return Oa.width})},[Ze]),$n=Ze[Ze.length-1],_n={fixed:$n?$n.fixed:null,scrollbar:!0,onHeaderCell:function(){return{className:"".concat(kn,"-cell-scrollbar")}}},In=(0,re.useMemo)(function(){return Jn?[].concat((0,tn.Z)(He),[_n]):He},[Jn,He]),Vn=(0,re.useMemo)(function(){return Jn?[].concat((0,tn.Z)(Ze),[_n]):Ze},[Jn,Ze]),Ca=(0,re.useMemo)(function(){var Oa=st.right,fa=st.left;return(0,Fe.Z)((0,Fe.Z)({},st),{},{left:xt==="rtl"?[].concat((0,tn.Z)(fa.map(function(Va){return Va+Jn})),[0]):fa,right:xt==="rtl"?Oa:[].concat((0,tn.Z)(Oa.map(function(Va){return Va+Jn})),[0]),isSticky:sa})},[Jn,st,sa]),Ka=ca(rt,at);return re.createElement("div",{style:(0,Fe.Z)({overflow:"hidden"},sa?{top:bt,bottom:Xt}:{}),ref:Ta,className:Ie()(ye,(0,ge.Z)({},Vt,!!Vt))},re.createElement("table",{style:{tableLayout:"fixed",visibility:we||Ka?null:"hidden"}},(!we||!xn||Gn)&&re.createElement(un,{colWidths:Ka?[].concat((0,tn.Z)(Ka),[Jn]):[],columCount:at+1,columns:Vn}),vn((0,Fe.Z)((0,Fe.Z)({},En),{},{stickyOffsets:Ca,columns:In,flattenColumns:Vn}))))});Pn.displayName="FixedHolder";var Ut=re.memo(Pn);function Xn(se){var le=se.cells,ye=se.stickyOffsets,we=se.flattenColumns,He=se.rowComponent,Ze=se.cellComponent,rt=se.tdCellComponent,at=se.onHeaderRow,st=se.index,xt=Ae(ue,["prefixCls","direction"]),ct=xt.prefixCls,bt=xt.direction,Xt;at&&(Xt=at(le.map(function(Yt){return Yt.column}),st));var Vt=Qe(le.map(function(Yt){return Yt.column}));return re.createElement(He,Xt,le.map(function(Yt,xn){var vn=Yt.column,En=Se(Yt.colStart,Yt.colEnd,we,ye,bt,vn),hn;return vn&&vn.onHeaderCell&&(hn=Yt.column.onHeaderCell(vn)),re.createElement(Ot,(0,Le.Z)({},Yt,{scope:vn.title?Yt.colSpan>1?"colgroup":"col":null,ellipsis:vn.ellipsis,align:vn.align,component:vn.title?Ze:rt,prefixCls:ct,key:Vt[xn]},En,{additionalProps:hn,rowType:"header"}))}))}Xn.displayName="HeaderRow";var et=Xn;function Ht(se){var le=[];function ye(rt,at){var st=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;le[st]=le[st]||[];var xt=at,ct=rt.filter(Boolean).map(function(bt){var Xt={key:bt.key,className:bt.className||"",children:bt.title,column:bt,colStart:xt},Vt=1,Yt=bt.children;return Yt&&Yt.length>0&&(Vt=ye(Yt,xt,st+1).reduce(function(xn,vn){return xn+vn},0),Xt.hasSubColumns=!0),"colSpan"in bt&&(Vt=bt.colSpan),"rowSpan"in bt&&(Xt.rowSpan=bt.rowSpan),Xt.colSpan=Vt,Xt.colEnd=Xt.colStart+Vt-1,le[st].push(Xt),xt+=Vt,Vt});return ct}ye(se,0);for(var we=le.length,He=function(at){le[at].forEach(function(st){!("rowSpan"in st)&&!st.hasSubColumns&&(st.rowSpan=we-at)})},Ze=0;Ze<we;Ze+=1)He(Ze);return le}function qt(se){var le=se.stickyOffsets,ye=se.columns,we=se.flattenColumns,He=se.onHeaderRow,Ze=Ae(ue,["prefixCls","getComponent"]),rt=Ze.prefixCls,at=Ze.getComponent,st=re.useMemo(function(){return Ht(ye)},[ye]),xt=at(["header","wrapper"],"thead"),ct=at(["header","row"],"tr"),bt=at(["header","cell"],"th"),Xt=at(["header","cell"],"td");return re.createElement(xt,{className:"".concat(rt,"-thead")},st.map(function(Vt,Yt){var xn=re.createElement(et,{key:Yt,flattenColumns:we,cells:Vt,stickyOffsets:le,rowComponent:ct,cellComponent:bt,tdCellComponent:Xt,onHeaderRow:He,index:Yt});return xn}))}var on=ee(qt),yn=ne(11592);function rn(se){var le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return typeof le=="number"?le:le.endsWith("%")?se*parseFloat(le)/100:null}function mn(se,le){return re.useMemo(function(){if(le&&le>0){var ye=0,we=0;se.forEach(function(xt){var ct=rn(le,xt.width);ct?ye+=ct:we+=1});var He=le-ye,Ze=we,rt=He/we,at=0,st=se.map(function(xt){var ct=(0,Fe.Z)({},xt),bt=rn(le,ct.width);if(bt)ct.width=bt;else{var Xt=Math.floor(rt);ct.width=Ze===1?He:Xt,He-=Xt,Ze-=1}return at+=ct.width,ct});return[st,at]}return[se,le]},[se,le])}var qe=["children"],nt=["fixed"];function $e(se){return(0,yn.Z)(se).filter(function(le){return re.isValidElement(le)}).map(function(le){var ye=le.key,we=le.props,He=we.children,Ze=(0,ut.Z)(we,qe),rt=(0,Fe.Z)({key:ye},Ze);return He&&(rt.children=$e(He)),rt})}function kt(se){var le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"key";return se.filter(function(ye){return ye&&(0,ve.Z)(ye)==="object"}).reduce(function(ye,we,He){var Ze=we.fixed,rt=Ze===!0?"left":Ze,at="".concat(le,"-").concat(He),st=we.children;return st&&st.length>0?[].concat((0,tn.Z)(ye),(0,tn.Z)(kt(st,at).map(function(xt){return(0,Fe.Z)({fixed:rt},xt)}))):[].concat((0,tn.Z)(ye),[(0,Fe.Z)((0,Fe.Z)({key:at},we),{},{fixed:rt})])},[])}function Kt(se){for(var le=!0,ye=0;ye<se.length;ye+=1){var we=se[ye];if(le&&we.fixed!=="left")le=!1;else if(!le&&we.fixed==="left"){warning(!1,"Index ".concat(ye-1," of `columns` missing `fixed='left'` prop."));break}}for(var He=!0,Ze=se.length-1;Ze>=0;Ze-=1){var rt=se[Ze];if(He&&rt.fixed!=="right")He=!1;else if(!He&&rt.fixed==="right"){warning(!1,"Index ".concat(Ze+1," of `columns` missing `fixed='right'` prop."));break}}}function jt(se){return se.map(function(le){var ye=le.fixed,we=(0,ut.Z)(le,nt),He=ye;return ye==="left"?He="right":ye==="right"&&(He="left"),(0,Fe.Z)({fixed:He},we)})}function Sn(se,le){var ye=se.prefixCls,we=se.columns,He=se.children,Ze=se.expandable,rt=se.expandedKeys,at=se.columnTitle,st=se.getRowKey,xt=se.onTriggerExpand,ct=se.expandIcon,bt=se.rowExpandable,Xt=se.expandIconColumnIndex,Vt=se.direction,Yt=se.expandRowByClick,xn=se.columnWidth,vn=se.fixed,En=se.scrollWidth,hn=re.useMemo(function(){return we||$e(He)},[we,He]),kn=re.useMemo(function(){if(Ze){var $n,_n=hn.slice();if(!_n.includes(z)){var In=Xt||0;In>=0&&_n.splice(In,0,z)}var Vn=_n.indexOf(z);_n=_n.filter(function(fa,Va){return fa!==z||Va===Vn});var Ca=hn[Vn],Ka;(vn==="left"||vn)&&!Xt?Ka="left":(vn==="right"||vn)&&Xt===hn.length?Ka="right":Ka=Ca?Ca.fixed:null;var Oa=($n={},(0,ge.Z)($n,zn,{className:"".concat(ye,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),(0,ge.Z)($n,"title",at),(0,ge.Z)($n,"fixed",Ka),(0,ge.Z)($n,"className","".concat(ye,"-row-expand-icon-cell")),(0,ge.Z)($n,"width",xn),(0,ge.Z)($n,"render",function(Va,Qa,Po){var oo=st(Qa,Po),Mo=rt.has(oo),To=bt?bt(Qa):!0,Ra=ct({prefixCls:ye,expanded:Mo,expandable:To,record:Qa,onExpand:xt});return Yt?re.createElement("span",{onClick:function(io){return io.stopPropagation()}},Ra):Ra}),$n);return _n.map(function(fa){return fa===z?Oa:fa})}return hn.filter(function(fa){return fa!==z})},[Ze,hn,st,rt,ct,Vt]),la=re.useMemo(function(){var $n=kn;return le&&($n=le($n)),$n.length||($n=[{render:function(){return null}}]),$n},[le,kn,Vt]),sa=re.useMemo(function(){return Vt==="rtl"?jt(kt(la)):kt(la)},[la,Vt,En]),Jn=mn(sa,En),Ba=(0,Pe.Z)(Jn,2),Ta=Ba[0],Gn=Ba[1];return[la,Ta,Gn]}var cn=Sn;function sn(se){var le,ye=se.prefixCls,we=se.record,He=se.onExpand,Ze=se.expanded,rt=se.expandable,at="".concat(ye,"-row-expand-icon");if(!rt)return re.createElement("span",{className:Ie()(at,"".concat(ye,"-row-spaced"))});var st=function(ct){He(we,ct),ct.stopPropagation()};return re.createElement("span",{className:Ie()(at,(le={},(0,ge.Z)(le,"".concat(ye,"-row-expanded"),Ze),(0,ge.Z)(le,"".concat(ye,"-row-collapsed"),!Ze),le)),onClick:st})}function Ln(se,le,ye){var we=[];function He(Ze){(Ze||[]).forEach(function(rt,at){we.push(le(rt,at)),He(rt[ye])})}return He(se),we}function Ea(se,le,ye){var we=Mt(se),He=we.expandIcon,Ze=we.expandedRowKeys,rt=we.defaultExpandedRowKeys,at=we.defaultExpandAllRows,st=we.expandedRowRender,xt=we.onExpand,ct=we.onExpandedRowsChange,bt=we.childrenColumnName,Xt=He||sn,Vt=bt||"children",Yt=re.useMemo(function(){return st?"row":se.expandable&&se.internalHooks===ie&&se.expandable.__PARENT_RENDER_ICON__||le.some(function(sa){return sa&&(0,ve.Z)(sa)==="object"&&sa[Vt]})?"nest":!1},[!!st,le]),xn=re.useState(function(){return rt||(at?Ln(le,ye,Vt):[])}),vn=(0,Pe.Z)(xn,2),En=vn[0],hn=vn[1],kn=re.useMemo(function(){return new Set(Ze||En||[])},[Ze,En]),la=re.useCallback(function(sa){var Jn=ye(sa,le.indexOf(sa)),Ba,Ta=kn.has(Jn);Ta?(kn.delete(Jn),Ba=(0,tn.Z)(kn)):Ba=[].concat((0,tn.Z)(kn),[Jn]),hn(Ba),xt&&xt(!Ta,sa),ct&&ct(Ba)},[ye,kn,le,xt,ct]);return[we,Yt,kn,Xt,Vt,la]}function Qt(se,le,ye,we){var He=se.map(function(Ze,rt){return Se(rt,rt,se,le,ye,we==null?void 0:we[rt])});return(0,Ue.Z)(function(){return He},[He],function(Ze,rt){return!(0,xe.Z)(Ze,rt)})}function Kn(se){var le=(0,re.useRef)(se),ye=(0,re.useState)({}),we=(0,Pe.Z)(ye,2),He=we[1],Ze=(0,re.useRef)(null),rt=(0,re.useRef)([]);function at(st){rt.current.push(st);var xt=Promise.resolve();Ze.current=xt,xt.then(function(){if(Ze.current===xt){var ct=rt.current,bt=le.current;rt.current=[],ct.forEach(function(Xt){le.current=Xt(le.current)}),Ze.current=null,bt!==le.current&&He({})}})}return(0,re.useEffect)(function(){return function(){Ze.current=null}},[]),[le.current,at]}function ua(se){var le=(0,re.useRef)(se||null),ye=(0,re.useRef)();function we(){window.clearTimeout(ye.current)}function He(rt){le.current=rt,we(),ye.current=window.setTimeout(function(){le.current=null,ye.current=void 0},100)}function Ze(){return le.current}return(0,re.useEffect)(function(){return we},[]),[He,Ze]}function Pa(){var se=re.useState(-1),le=(0,Pe.Z)(se,2),ye=le[0],we=le[1],He=re.useState(-1),Ze=(0,Pe.Z)(He,2),rt=Ze[0],at=Ze[1],st=re.useCallback(function(xt,ct){we(xt),at(ct)},[]);return[ye,rt,st]}var pn=ne(47273),ea=(0,pn.Z)()?window:null;function Ha(se,le){var ye=(0,ve.Z)(se)==="object"?se:{},we=ye.offsetHeader,He=we===void 0?0:we,Ze=ye.offsetSummary,rt=Ze===void 0?0:Ze,at=ye.offsetScroll,st=at===void 0?0:at,xt=ye.getContainer,ct=xt===void 0?function(){return ea}:xt,bt=ct()||ea;return re.useMemo(function(){var Xt=!!se;return{isSticky:Xt,stickyClassName:Xt?"".concat(le,"-sticky-holder"):"",offsetHeader:He,offsetSummary:rt,offsetScroll:st,container:bt}},[st,He,rt,le,bt])}function ta(se,le,ye){var we=(0,re.useMemo)(function(){for(var He=[],Ze=[],rt=0,at=0,st=0;st<le;st+=1)if(ye==="rtl"){Ze[st]=at,at+=se[st]||0;var xt=le-st-1;He[xt]=rt,rt+=se[xt]||0}else{He[st]=rt,rt+=se[st]||0;var ct=le-st-1;Ze[ct]=at,at+=se[ct]||0}return{left:He,right:Ze}},[se,le,ye]);return we}var ja=ta;function Ga(se){var le=se.className,ye=se.children;return re.createElement("div",{className:le},ye)}var Ua=Ga,Lt=ne(8224),_t=ne(55468),Wt=function(le,ye){var we,He,Ze=le.scrollBodyRef,rt=le.onScroll,at=le.offsetScroll,st=le.container,xt=Ae(ue,"prefixCls"),ct=((we=Ze.current)===null||we===void 0?void 0:we.scrollWidth)||0,bt=((He=Ze.current)===null||He===void 0?void 0:He.clientWidth)||0,Xt=ct&&bt*(bt/ct),Vt=re.useRef(),Yt=Kn({scrollLeft:0,isHiddenScrollBar:!1}),xn=(0,Pe.Z)(Yt,2),vn=xn[0],En=xn[1],hn=re.useRef({delta:0,x:0}),kn=re.useState(!1),la=(0,Pe.Z)(kn,2),sa=la[0],Jn=la[1],Ba=function(){Jn(!1)},Ta=function(Vn){Vn.persist(),hn.current.delta=Vn.pageX-vn.scrollLeft,hn.current.x=0,Jn(!0),Vn.preventDefault()},Gn=function(Vn){var Ca,Ka=Vn||((Ca=window)===null||Ca===void 0?void 0:Ca.event),Oa=Ka.buttons;if(!sa||Oa===0){sa&&Jn(!1);return}var fa=hn.current.x+Vn.pageX-hn.current.x-hn.current.delta;fa<=0&&(fa=0),fa+Xt>=bt&&(fa=bt-Xt),rt({scrollLeft:fa/bt*(ct+2)}),hn.current.x=Vn.pageX},$n=function(){if(Ze.current){var Vn=(0,_t.os)(Ze.current).top,Ca=Vn+Ze.current.offsetHeight,Ka=st===window?document.documentElement.scrollTop+window.innerHeight:(0,_t.os)(st).top+st.clientHeight;Ca-(0,tt.Z)()<=Ka||Vn>=Ka-at?En(function(Oa){return(0,Fe.Z)((0,Fe.Z)({},Oa),{},{isHiddenScrollBar:!0})}):En(function(Oa){return(0,Fe.Z)((0,Fe.Z)({},Oa),{},{isHiddenScrollBar:!1})})}},_n=function(Vn){En(function(Ca){return(0,Fe.Z)((0,Fe.Z)({},Ca),{},{scrollLeft:Vn/ct*bt||0})})};return re.useImperativeHandle(ye,function(){return{setScrollLeft:_n}}),re.useEffect(function(){var In=(0,Lt.Z)(document.body,"mouseup",Ba,!1),Vn=(0,Lt.Z)(document.body,"mousemove",Gn,!1);return $n(),function(){In.remove(),Vn.remove()}},[Xt,sa]),re.useEffect(function(){var In=(0,Lt.Z)(st,"scroll",$n,!1),Vn=(0,Lt.Z)(window,"resize",$n,!1);return function(){In.remove(),Vn.remove()}},[st]),re.useEffect(function(){vn.isHiddenScrollBar||En(function(In){var Vn=Ze.current;return Vn?(0,Fe.Z)((0,Fe.Z)({},In),{},{scrollLeft:Vn.scrollLeft/Vn.scrollWidth*Vn.clientWidth}):In})},[vn.isHiddenScrollBar]),ct<=bt||!Xt||vn.isHiddenScrollBar?null:re.createElement("div",{style:{height:(0,tt.Z)(),width:bt,bottom:at},className:"".concat(xt,"-sticky-scroll")},re.createElement("div",{onMouseDown:Ta,ref:Vt,className:Ie()("".concat(xt,"-sticky-scroll-bar"),(0,ge.Z)({},"".concat(xt,"-sticky-scroll-bar-active"),sa)),style:{width:"".concat(Xt,"px"),transform:"translate3d(".concat(vn.scrollLeft,"px, 0, 0)")}}))},Fn=re.forwardRef(Wt);function It(se){return null}var ba=It;function Zn(se){return null}var pa=Zn,An="rc-table",an=[],gn={};function On(){return"No Data"}function fn(se){var le,ye=(0,Fe.Z)({rowKey:"key",prefixCls:An,emptyText:On},se),we=ye.prefixCls,He=ye.className,Ze=ye.rowClassName,rt=ye.style,at=ye.data,st=ye.rowKey,xt=ye.scroll,ct=ye.tableLayout,bt=ye.direction,Xt=ye.title,Vt=ye.footer,Yt=ye.summary,xn=ye.caption,vn=ye.id,En=ye.showHeader,hn=ye.components,kn=ye.emptyText,la=ye.onRow,sa=ye.onHeaderRow,Jn=ye.internalHooks,Ba=ye.transformColumns,Ta=ye.internalRefs,Gn=ye.tailor,$n=ye.sticky,_n=at||an,In=!!_n.length,Vn=Jn===ie,Ca=re.useCallback(function(co,Ao){return(0,ze.Z)(hn,co)||Ao},[hn]),Ka=re.useMemo(function(){return typeof st=="function"?st:function(co){var Ao=co&&co[st];return Ao}},[st]),Oa=Ca(["body"]),fa=Pa(),Va=(0,Pe.Z)(fa,3),Qa=Va[0],Po=Va[1],oo=Va[2],Mo=Ea(ye,_n,Ka),To=(0,Pe.Z)(Mo,6),Ra=To[0],zo=To[1],io=To[2],Fo=To[3],xo=To[4],cr=To[5],Sa=xt==null?void 0:xt.x,ha=re.useState(0),va=(0,Pe.Z)(ha,2),oa=va[0],lo=va[1],ra=cn((0,Fe.Z)((0,Fe.Z)((0,Fe.Z)({},ye),Ra),{},{expandable:!!Ra.expandedRowRender,columnTitle:Ra.columnTitle,expandedKeys:io,getRowKey:Ka,onTriggerExpand:cr,expandIcon:Fo,expandIconColumnIndex:Ra.expandIconColumnIndex,direction:bt,scrollWidth:Vn&&Gn&&typeof Sa=="number"?Sa:null}),Vn?Ba:null),Da=(0,Pe.Z)(ra,3),to=Da[0],$a=Da[1],or=Da[2],Yo=or!=null?or:Sa,Ir=re.useMemo(function(){return{columns:to,flattenColumns:$a}},[to,$a]),jo=re.useRef(),Cr=re.useRef(),Ho=re.useRef(),gr=re.useRef(),gi=re.useRef(),uo=re.useState(!1),so=(0,Pe.Z)(uo,2),Oo=so[0],Wo=so[1],Vo=re.useState(!1),Ja=(0,Pe.Z)(Vo,2),ur=Ja[0],rr=Ja[1],Sr=Kn(new Map),zr=(0,Pe.Z)(Sr,2),Mr=zr[0],Ii=zr[1],Ur=Qe($a),br=Ur.map(function(co){return Mr.get(co)}),mr=re.useMemo(function(){return br},[br.join("_")]),sr=ja(mr,$a.length,bt),Uo=xt&&yt(xt.y),No=xt&&yt(Yo)||!!Ra.fixed,jr=No&&$a.some(function(co){var Ao=co.fixed;return Ao}),mi=re.useRef(),ri=Ha($n,we),Hr=ri.isSticky,Wi=ri.offsetHeader,cl=ri.offsetSummary,no=ri.offsetScroll,yo=ri.stickyClassName,ar=ri.container,Io=re.useMemo(function(){return Yt==null?void 0:Yt(_n)},[Yt,_n]),ir=(Uo||Hr)&&re.isValidElement(Io)&&Io.type===ce&&Io.props.fixed,fr,vr,Qr;Uo&&(vr={overflowY:"scroll",maxHeight:xt.y}),No&&(fr={overflowX:"auto"},Uo||(vr={overflowY:"hidden"}),Qr={width:Yo===!0?"auto":Yo,minWidth:"100%"});var Bl=re.useCallback(function(co,Ao){(0,ke.Z)(jo.current)&&Ii(function(xr){if(xr.get(co)!==Ao){var ii=new Map(xr);return ii.set(co,Ao),ii}return xr})},[]),Kl=ua(null),Fl=(0,Pe.Z)(Kl,2),Wl=Fl[0],Al=Fl[1];function Vi(co,Ao){Ao&&(typeof Ao=="function"?Ao(co):Ao.scrollLeft!==co&&(Ao.scrollLeft=co,Ao.scrollLeft!==co&&setTimeout(function(){Ao.scrollLeft=co},0)))}var Ci=(0,Me.Z)(function(co){var Ao=co.currentTarget,xr=co.scrollLeft,ii=bt==="rtl",li=typeof xr=="number"?xr:Ao.scrollLeft,Gl=Ao||gn;if(!Al()||Al()===Gl){var pl;Wl(Gl),Vi(li,Cr.current),Vi(li,Ho.current),Vi(li,gi.current),Vi(li,(pl=mi.current)===null||pl===void 0?void 0:pl.setScrollLeft)}var hl=Ao||Cr.current;if(hl){var Sl=hl.scrollWidth,Pl=hl.clientWidth;if(Sl===Pl){Wo(!1),rr(!1);return}ii?(Wo(-li<Sl-Pl),rr(-li>0)):(Wo(li>0),rr(li<Sl-Pl))}}),wl=function(){No&&Ho.current?Ci({currentTarget:Ho.current}):(Wo(!1),rr(!1))},Vl=function(Ao){var xr=Ao.width;xr!==oa&&(wl(),lo(jo.current?jo.current.offsetWidth:xr))},Dl=re.useRef(!1);re.useEffect(function(){Dl.current&&wl()},[No,at,to.length]),re.useEffect(function(){Dl.current=!0},[]);var Ul=re.useState(0),Ll=(0,Pe.Z)(Ul,2),Ui=Ll[0],Ol=Ll[1],Ql=re.useState(!0),Nl=(0,Pe.Z)(Ql,2),Il=Nl[0],Jl=Nl[1];re.useEffect(function(){(!Gn||!Vn)&&(Ho.current instanceof Element?Ol((0,tt.o)(Ho.current).width):Ol((0,tt.o)(gr.current).width)),Jl((0,Ce.G)("position","sticky"))},[]),re.useEffect(function(){Vn&&Ta&&(Ta.body.current=Ho.current)});var Xl=re.useCallback(function(co){return re.createElement(re.Fragment,null,re.createElement(on,co),ir==="top"&&re.createElement(it,co,Io))},[ir,Io]),Yl=re.useCallback(function(co){return re.createElement(it,co,Io)},[Io]),Ml=Ca(["table"],"table"),Qi=re.useMemo(function(){return ct||(jr?Yo==="max-content"?"auto":"fixed":Uo||Hr||$a.some(function(co){var Ao=co.ellipsis;return Ao})?"fixed":"auto")},[Uo,jr,$a,ct,Hr]),gl,ml={colWidths:mr,columCount:$a.length,stickyOffsets:sr,onHeaderRow:sa,fixHeader:Uo,scroll:xt},Tl=re.useMemo(function(){return In?null:typeof kn=="function"?kn():kn},[In,kn]),Rl=re.createElement(dn,{data:_n,measureColumnWidth:Uo||No||Hr}),kl=re.createElement(un,{colWidths:$a.map(function(co){var Ao=co.width;return Ao}),columns:$a}),Zl=xn!=null?re.createElement("caption",{className:"".concat(we,"-caption")},xn):void 0,$l=(0,Rt.Z)(ye,{data:!0}),zl=(0,Rt.Z)(ye,{aria:!0});if(Uo||Hr){var fl;typeof Oa=="function"?(fl=Oa(_n,{scrollbarSize:Ui,ref:Ho,onScroll:Ci}),ml.colWidths=$a.map(function(co,Ao){var xr=co.width,ii=Ao===$a.length-1?xr-Ui:xr;return typeof ii=="number"&&!Number.isNaN(ii)?ii:0})):fl=re.createElement("div",{style:(0,Fe.Z)((0,Fe.Z)({},fr),vr),onScroll:Ci,ref:Ho,className:Ie()("".concat(we,"-body"))},re.createElement(Ml,(0,Le.Z)({style:(0,Fe.Z)((0,Fe.Z)({},Qr),{},{tableLayout:Qi})},zl),Zl,kl,Rl,!ir&&Io&&re.createElement(it,{stickyOffsets:sr,flattenColumns:$a,columns:to},Io)));var jl=(0,Fe.Z)((0,Fe.Z)((0,Fe.Z)({noData:!_n.length,maxContentScroll:No&&Yo==="max-content"},ml),Ir),{},{direction:bt,stickyClassName:yo,onScroll:Ci});gl=re.createElement(re.Fragment,null,En!==!1&&re.createElement(Ut,(0,Le.Z)({},jl,{stickyTopOffset:Wi,className:"".concat(we,"-header"),ref:Cr}),Xl),fl,ir&&ir!=="top"&&re.createElement(Ut,(0,Le.Z)({},jl,{stickyBottomOffset:cl,className:"".concat(we,"-summary"),ref:gi}),Yl),Hr&&re.createElement(Fn,{ref:mi,offsetScroll:no,scrollBodyRef:Ho,onScroll:Ci,container:ar}))}else gl=re.createElement("div",{style:(0,Fe.Z)((0,Fe.Z)({},fr),vr),className:Ie()("".concat(we,"-content")),onScroll:Ci,ref:Ho},re.createElement(Ml,(0,Le.Z)({style:(0,Fe.Z)((0,Fe.Z)({},Qr),{},{tableLayout:Qi})},zl),Zl,kl,En!==!1&&re.createElement(on,(0,Le.Z)({},ml,Ir)),Rl,Io&&re.createElement(it,{stickyOffsets:sr,flattenColumns:$a,columns:to},Io)));var vl=re.createElement("div",(0,Le.Z)({className:Ie()(we,He,(le={},(0,ge.Z)(le,"".concat(we,"-rtl"),bt==="rtl"),(0,ge.Z)(le,"".concat(we,"-ping-left"),Oo),(0,ge.Z)(le,"".concat(we,"-ping-right"),ur),(0,ge.Z)(le,"".concat(we,"-layout-fixed"),ct==="fixed"),(0,ge.Z)(le,"".concat(we,"-fixed-header"),Uo),(0,ge.Z)(le,"".concat(we,"-fixed-column"),jr),(0,ge.Z)(le,"".concat(we,"-scroll-horizontal"),No),(0,ge.Z)(le,"".concat(we,"-has-fix-left"),$a[0]&&$a[0].fixed),(0,ge.Z)(le,"".concat(we,"-has-fix-right"),$a[$a.length-1]&&$a[$a.length-1].fixed==="right"),le)),style:rt,id:vn,ref:jo},$l),Xt&&re.createElement(Ua,{className:"".concat(we,"-title")},Xt(_n)),re.createElement("div",{ref:gr,className:"".concat(we,"-container")},gl),Vt&&re.createElement(Ua,{className:"".concat(we,"-footer")},Vt(_n)));No&&(vl=re.createElement(Xe.Z,{onResize:Vl},vl));var Hl=Qt($a,sr,bt,to),ql=re.useMemo(function(){return{scrollX:Yo,prefixCls:we,getComponent:Ca,scrollbarSize:Ui,direction:bt,fixedInfoList:Hl,isSticky:Hr,supportSticky:Il,componentWidth:oa,fixHeader:Uo,fixColumn:jr,horizonScroll:No,tableLayout:Qi,rowClassName:Ze,expandedRowClassName:Ra.expandedRowClassName,expandIcon:Fo,expandableType:zo,expandRowByClick:Ra.expandRowByClick,expandedRowRender:Ra.expandedRowRender,onTriggerExpand:cr,expandIconColumnIndex:Ra.expandIconColumnIndex,indentSize:Ra.indentSize,allColumnsFixedLeft:$a.every(function(co){return co.fixed==="left"}),emptyNode:Tl,columns:to,flattenColumns:$a,onColumnResize:Bl,hoverStartRow:Qa,hoverEndRow:Po,onHover:oo,rowExpandable:Ra.rowExpandable,onRow:la,getRowKey:Ka,expandedKeys:io,childrenColumnName:xo}},[Yo,we,Ca,Ui,bt,Hl,Hr,Il,oa,Uo,jr,No,Qi,Ze,Ra.expandedRowClassName,Fo,zo,Ra.expandRowByClick,Ra.expandedRowRender,cr,Ra.expandIconColumnIndex,Ra.indentSize,Tl,to,$a,Bl,Qa,Po,oo,Ra.rowExpandable,la,Ka,io,xo]);return re.createElement(ue.Provider,{value:ql},vl)}function ia(se){return x(fn,se)}var ka=ia();ka.EXPAND_COLUMN=z,ka.INTERNAL_HOOKS=ie,ka.Column=ba,ka.ColumnGroup=pa,ka.Summary=pe;var wa=ka,Fa=ne(48911),qa=Ne(null),ro=Ne(null);function Go(se,le,ye){var we=le||1;return ye[se+we]-(ye[se]||0)}function Br(se){var le=se.rowInfo,ye=se.column,we=se.colIndex,He=se.indent,Ze=se.index,rt=se.renderIndex,at=se.record,st=se.style,xt=se.className,ct=se.inverse,bt=se.getHeight,Xt=ye.render,Vt=ye.dataIndex,Yt=ye.className,xn=ye.width,vn=Ae(ro,["columnsOffset"]),En=vn.columnsOffset,hn=en(le,ye,we,He,Ze),kn=hn.key,la=hn.fixedInfo,sa=hn.appendCellNode,Jn=hn.additionalCellProps,Ba=Jn.style,Ta=Jn.colSpan,Gn=Ta===void 0?1:Ta,$n=Jn.rowSpan,_n=$n===void 0?1:$n,In=we-1,Vn=Go(In,Gn,En),Ca=Gn>1?xn-Vn:0,Ka=(0,Fe.Z)((0,Fe.Z)((0,Fe.Z)({},Ba),st),{},{flex:"0 0 ".concat(Vn,"px"),width:"".concat(Vn,"px"),marginRight:Ca,pointerEvents:"auto"}),Oa=re.useMemo(function(){return ct?_n<=1:Gn===0||_n===0||_n>1},[_n,Gn,ct]);Oa?Ka.visibility="hidden":ct&&(Ka.height=bt==null?void 0:bt(_n));var fa=Oa?function(){return null}:Xt,Va={};return(_n===0||Gn===0)&&(Va.rowSpan=1,Va.colSpan=1),re.createElement(Ot,(0,Le.Z)({className:Ie()(Yt,xt),ellipsis:ye.ellipsis,align:ye.align,scope:ye.rowScope,component:"div",prefixCls:le.prefixCls,key:kn,record:at,index:Ze,renderIndex:rt,dataIndex:Vt,render:fa,shouldCellUpdate:ye.shouldCellUpdate},la,{appendNode:sa,additionalProps:(0,Fe.Z)((0,Fe.Z)({},Jn),{},{style:Ka},Va)}))}var Bo=Br,jn=["data","index","className","rowKey","style","extra","getHeight"],Eo=re.forwardRef(function(se,le){var ye=se.data,we=se.index,He=se.className,Ze=se.rowKey,rt=se.style,at=se.extra,st=se.getHeight,xt=(0,ut.Z)(se,jn),ct=ye.record,bt=ye.indent,Xt=ye.index,Vt=Ae(ue,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),Yt=Vt.scrollX,xn=Vt.flattenColumns,vn=Vt.prefixCls,En=Vt.fixColumn,hn=Vt.componentWidth,kn=pt(ct,Ze,we,bt),la=kn.rowSupportExpand,sa=kn.expanded,Jn=kn.rowProps,Ba=kn.expandedRowRender,Ta=kn.expandedRowClassName,Gn;if(la&&sa){var $n=Ba(ct,we,bt+1,sa),_n=Ta==null?void 0:Ta(ct,we,bt),In={};En&&(In={style:(0,ge.Z)({},"--virtual-width","".concat(hn,"px"))});var Vn="".concat(vn,"-expanded-row-cell");Gn=re.createElement("div",{className:Ie()("".concat(vn,"-expanded-row"),"".concat(vn,"-expanded-row-level-").concat(bt+1),_n)},re.createElement(Ot,{component:"div",prefixCls:vn,className:Ie()(Vn,(0,ge.Z)({},"".concat(Vn,"-fixed"),En)),additionalProps:In},$n))}var Ca=(0,Fe.Z)((0,Fe.Z)({},rt),{},{width:Yt});at&&(Ca.position="absolute",Ca.pointerEvents="none");var Ka=re.createElement("div",(0,Le.Z)({},Jn,xt,{ref:la?null:le,className:Ie()(He,"".concat(vn,"-row"),Jn==null?void 0:Jn.className,(0,ge.Z)({},"".concat(vn,"-row-extra"),at)),style:(0,Fe.Z)((0,Fe.Z)({},Ca),Jn==null?void 0:Jn.style)}),xn.map(function(Oa,fa){return re.createElement(Bo,{key:fa,rowInfo:kn,column:Oa,colIndex:fa,indent:bt,index:we,renderIndex:Xt,record:ct,inverse:at,getHeight:st})}));return la?re.createElement("div",{ref:le},Ka,Gn):Ka}),Co=ee(Eo),Ro=Co,_o=re.forwardRef(function(se,le){var ye=se.data,we=se.onScroll,He=Ae(ue,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","emptyNode","scrollX"]),Ze=He.flattenColumns,rt=He.onColumnResize,at=He.getRowKey,st=He.expandedKeys,xt=He.prefixCls,ct=He.childrenColumnName,bt=He.emptyNode,Xt=He.scrollX,Vt=Ae(qa),Yt=Vt.scrollY,xn=Vt.listItemHeight,vn=re.useRef(),En=wt(ye,ct,st,at),hn=re.useMemo(function(){var Gn=0;return Ze.map(function($n){var _n=$n.width,In=$n.key;return Gn+=_n,[In,_n,Gn]})},[Ze]),kn=re.useMemo(function(){return hn.map(function(Gn){return Gn[2]})},[hn]);re.useEffect(function(){hn.forEach(function(Gn){var $n=(0,Pe.Z)(Gn,2),_n=$n[0],In=$n[1];rt(_n,In)})},[hn]),re.useImperativeHandle(le,function(){var Gn={};return Object.defineProperty(Gn,"scrollLeft",{get:function(){var _n;return((_n=vn.current)===null||_n===void 0?void 0:_n.getScrollInfo().x)||0},set:function(_n){var In;(In=vn.current)===null||In===void 0||In.scrollTo({left:_n})}}),Gn});var la=function($n,_n){var In,Vn=(In=En[_n])===null||In===void 0?void 0:In.record,Ca=$n.onCell;if(Ca){var Ka,Oa=Ca(Vn,_n);return(Ka=Oa==null?void 0:Oa.rowSpan)!==null&&Ka!==void 0?Ka:1}return 1},sa=function($n){var _n=$n.start,In=$n.end,Vn=$n.getSize,Ca=$n.offsetY;if(In<0)return null;for(var Ka=Ze.filter(function(Sa){return la(Sa,_n)===0}),Oa=_n,fa=function(ha){if(Ka=Ka.filter(function(va){return la(va,ha)===0}),!Ka.length)return Oa=ha,"break"},Va=_n;Va>=0;Va-=1){var Qa=fa(Va);if(Qa==="break")break}for(var Po=Ze.filter(function(Sa){return la(Sa,In)!==1}),oo=In,Mo=function(ha){if(Po=Po.filter(function(va){return la(va,ha)!==1}),!Po.length)return oo=Math.max(ha-1,In),"break"},To=In;To<En.length;To+=1){var Ra=Mo(To);if(Ra==="break")break}for(var zo=[],io=function(ha){var va=En[ha];if(!va)return"continue";Ze.some(function(oa){return la(oa,ha)>1})&&zo.push(ha)},Fo=Oa;Fo<=oo;Fo+=1)var xo=io(Fo);var cr=zo.map(function(Sa){var ha=En[Sa],va=at(ha.record,Sa),oa=function(Da){var to=Sa+Da-1,$a=at(En[to].record,to),or=Vn(va,$a);return or.bottom-or.top},lo=Vn(va);return re.createElement(Ro,{key:Sa,data:ha,rowKey:va,index:Sa,style:{top:-Ca+lo.top},extra:!0,getHeight:oa})});return cr},Jn=re.useMemo(function(){return{columnsOffset:kn}},[kn]),Ba="".concat(xt,"-tbody"),Ta;return En.length?Ta=re.createElement(Fa.Z,{fullHeight:!1,ref:vn,className:Ie()(Ba,"".concat(Ba,"-virtual")),height:Yt,itemHeight:xn||24,data:En,itemKey:function($n){return at($n.record)},scrollWidth:Xt,onVirtualScroll:function($n){var _n=$n.x;we({scrollLeft:_n})},extraRender:sa},function(Gn,$n,_n){var In=at(Gn.record,$n);return re.createElement(Ro,(0,Le.Z)({data:Gn,rowKey:In,index:$n},_n))}):Ta=re.createElement("div",{className:Ie()("".concat(xt,"-placeholder"))},re.createElement(Ot,{component:"div",prefixCls:xt},bt)),re.createElement(ro.Provider,{value:Jn},Ta)}),Qo=ee(_o),$o=Qo,Xo=function(le,ye){var we=ye.ref,He=ye.onScroll;return re.createElement($o,{ref:we,data:le,onScroll:He})},Ko=100;function pr(se){var le=se.columns,ye=se.scroll,we=se.prefixCls,He=we===void 0?An:we,Ze=se.className,rt=se.listItemHeight,at=ye||{},st=at.x,xt=at.y;typeof st!="number"&&(st=((le||[]).length+1)*Ko),typeof xt!="number"&&(xt=500);var ct=re.useMemo(function(){return{scrollY:xt,listItemHeight:rt}},[xt,rt]);return re.createElement(qa.Provider,{value:ct},re.createElement(wa,(0,Le.Z)({},se,{className:Ie()(Ze,"".concat(He,"-virtual")),scroll:(0,Fe.Z)((0,Fe.Z)({},ye),{},{x:st}),components:{body:Xo},columns:le,internalHooks:ie,tailor:!0})))}function lr(se){return x(pr,se)}var Pr=lr(),Fr=null;function bo(se){return null}var Ar=bo;function hr(se){return null}var Gr=hr,_r=ne(2738),Tr=ne(68031),Jr=ne(36355),Xr=ne(93891),ui=ne(19716),si=ne(8628),Yr=ne(31724),$r=ne(58421),na=ne(71418),bn=ne(88088);function Cn(se){return function(ye){let{prefixCls:we,onExpand:He,record:Ze,expanded:rt,expandable:at}=ye;const st=`${we}-row-expand-icon`;return re.createElement("button",{type:"button",onClick:xt=>{He(Ze,xt),xt.stopPropagation()},className:Ie()(st,{[`${st}-spaced`]:!at,[`${st}-expanded`]:at&&rt,[`${st}-collapsed`]:at&&!rt}),"aria-label":rt?se.collapse:se.expand,"aria-expanded":rt})}}var Rn=Cn;function Na(se,le){return"key"in se&&se.key!==void 0&&se.key!==null?se.key:se.dataIndex?Array.isArray(se.dataIndex)?se.dataIndex.join("."):se.dataIndex:le}function Ya(se,le){return le?`${le}-${se}`:`${se}`}function po(se,le){return typeof se=="function"?se(le):se}function ho(se,le){const ye=po(se,le);return Object.prototype.toString.call(ye)==="[object Object]"?"":ye}var wo={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M349 838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V642H349v196zm531.1-684H143.9c-24.5 0-39.8 26.7-27.5 48l221.3 376h348.8l221.3-376c12.1-21.3-3.2-48-27.7-48z"}}]},name:"filter",theme:"filled"},Do=wo,qo=ne(7657),ko=function(le,ye){return re.createElement(qo.Z,(0,Le.Z)({},le,{ref:ye,icon:Do}))},wr=re.forwardRef(ko),Rr=wr,kr=ne(56762);function Dr(se){const le=re.useRef(se),ye=(0,kr.Z)();return[()=>le.current,we=>{le.current=we,ye()}]}var Lr=ne(3113),ao=ne(24905),Zo=ne(38854),fi=ne(64165),bi=ne(20834),Kr=ne(40875),di=ne(5112),qr=ne(17574),dr=ne(47472),Wr=ne(92832);function ci(se){let{value:le,onChange:ye,filterSearch:we,tablePrefixCls:He,locale:Ze}=se;return we?re.createElement("div",{className:`${He}-filter-dropdown-search`},re.createElement(Wr.default,{prefix:re.createElement(dr.Z,null),placeholder:Ze.filterSearchPlaceholder,onChange:ye,value:le,htmlSize:1,className:`${He}-filter-dropdown-search-input`})):null}var ei=ci,Mi=ne(10228);const Ji=se=>{const{keyCode:le}=se;le===Mi.Z.ENTER&&se.stopPropagation()};var Xi=re.forwardRef((se,le)=>re.createElement("div",{className:se.className,onClick:ye=>ye.stopPropagation(),onKeyDown:Ji,ref:le},se.children));function ti(se){let le=[];return(se||[]).forEach(ye=>{let{value:we,children:He}=ye;le.push(we),He&&(le=[].concat((0,tn.Z)(le),(0,tn.Z)(ti(He))))}),le}function Yi(se){return se.some(le=>{let{children:ye}=le;return ye})}function Ti(se,le){return typeof le=="string"||typeof le=="number"?le==null?void 0:le.toString().toLowerCase().includes(se.trim().toLowerCase()):!1}function xi(se){let{filters:le,prefixCls:ye,filteredKeys:we,filterMultiple:He,searchValue:Ze,filterSearch:rt}=se;return le.map((at,st)=>{const xt=String(at.value);if(at.children)return{key:xt||st,label:at.text,popupClassName:`${ye}-dropdown-submenu`,children:xi({filters:at.children,prefixCls:ye,filteredKeys:we,filterMultiple:He,searchValue:Ze,filterSearch:rt})};const ct=He?ao.default:di.ZP,bt={key:at.value!==void 0?xt:st,label:re.createElement(re.Fragment,null,re.createElement(ct,{checked:we.includes(xt)}),re.createElement("span",null,at.text))};return Ze.trim()?typeof rt=="function"?rt(Ze,at)?bt:null:Ti(Ze,at.text)?bt:null:bt})}function $i(se){var le,ye;const{tablePrefixCls:we,prefixCls:He,column:Ze,dropdownPrefixCls:rt,columnKey:at,filterMultiple:st,filterMode:xt="menu",filterSearch:ct=!1,filterState:bt,triggerFilter:Xt,locale:Vt,children:Yt,getPopupContainer:xn}=se,{filterDropdownOpen:vn,onFilterDropdownOpenChange:En,filterResetToDefaultFilteredValue:hn,defaultFilteredValue:kn,filterDropdownVisible:la,onFilterDropdownVisibleChange:sa}=Ze,[Jn,Ba]=re.useState(!1),Ta=!!(bt&&(!((le=bt.filteredKeys)===null||le===void 0)&&le.length||bt.forceFiltered)),Gn=ra=>{Ba(ra),En==null||En(ra),sa==null||sa(ra)},$n=(ye=vn!=null?vn:la)!==null&&ye!==void 0?ye:Jn,_n=bt==null?void 0:bt.filteredKeys,[In,Vn]=Dr(_n||[]),Ca=ra=>{let{selectedKeys:Da}=ra;Vn(Da)},Ka=(ra,Da)=>{let{node:to,checked:$a}=Da;Ca(st?{selectedKeys:ra}:{selectedKeys:$a&&to.key?[to.key]:[]})};re.useEffect(()=>{Jn&&Ca({selectedKeys:_n||[]})},[_n]);const[Oa,fa]=re.useState([]),Va=ra=>{fa(ra)},[Qa,Po]=re.useState(""),oo=ra=>{const{value:Da}=ra.target;Po(Da)};re.useEffect(()=>{Jn||Po("")},[Jn]);const Mo=ra=>{const Da=ra&&ra.length?ra:null;if(Da===null&&(!bt||!bt.filteredKeys)||(0,xe.Z)(Da,bt==null?void 0:bt.filteredKeys,!0))return null;Xt({column:Ze,key:at,filteredKeys:Da})},To=()=>{Gn(!1),Mo(In())},Ra=function(){let{confirm:ra,closeDropdown:Da}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{confirm:!1,closeDropdown:!1};ra&&Mo([]),Da&&Gn(!1),Po(""),Vn(hn?(kn||[]).map(to=>String(to)):[])},zo=function(){let{closeDropdown:ra}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{closeDropdown:!0};ra&&Gn(!1),Mo(In())},io=ra=>{ra&&_n!==void 0&&Vn(_n||[]),Gn(ra),!ra&&!Ze.filterDropdown&&To()},Fo=Ie()({[`${rt}-menu-without-submenu`]:!Yi(Ze.filters||[])}),xo=ra=>{if(ra.target.checked){const Da=ti(Ze==null?void 0:Ze.filters).map(to=>String(to));Vn(Da)}else Vn([])},cr=ra=>{let{filters:Da}=ra;return(Da||[]).map((to,$a)=>{const or=String(to.value),Yo={title:to.text,key:to.value!==void 0?or:$a};return to.children&&(Yo.children=cr({filters:to.children})),Yo})},Sa=ra=>{var Da;return Object.assign(Object.assign({},ra),{text:ra.title,value:ra.key,children:((Da=ra.children)===null||Da===void 0?void 0:Da.map(to=>Sa(to)))||[]})};let ha;if(typeof Ze.filterDropdown=="function")ha=Ze.filterDropdown({prefixCls:`${rt}-custom`,setSelectedKeys:ra=>Ca({selectedKeys:ra}),selectedKeys:In(),confirm:zo,clearFilters:Ra,filters:Ze.filters,visible:$n,close:()=>{Gn(!1)}});else if(Ze.filterDropdown)ha=Ze.filterDropdown;else{const ra=In()||[],Da=()=>(Ze.filters||[]).length===0?re.createElement(fi.Z,{image:fi.Z.PRESENTED_IMAGE_SIMPLE,description:Vt.filterEmptyText,imageStyle:{height:24},style:{margin:0,padding:"16px 0"}}):xt==="tree"?re.createElement(re.Fragment,null,re.createElement(ei,{filterSearch:ct,value:Qa,onChange:oo,tablePrefixCls:we,locale:Vt}),re.createElement("div",{className:`${we}-filter-dropdown-tree`},st?re.createElement(ao.default,{checked:ra.length===ti(Ze.filters).length,indeterminate:ra.length>0&&ra.length<ti(Ze.filters).length,className:`${we}-filter-dropdown-checkall`,onChange:xo},Vt.filterCheckall):null,re.createElement(qr.default,{checkable:!0,selectable:!1,blockNode:!0,multiple:st,checkStrictly:!st,className:`${rt}-menu`,onCheck:Ka,checkedKeys:ra,selectedKeys:ra,showIcon:!1,treeData:cr({filters:Ze.filters}),autoExpandParent:!0,defaultExpandAll:!0,filterTreeNode:Qa.trim()?$a=>typeof ct=="function"?ct(Qa,Sa($a)):Ti(Qa,$a.title):void 0}))):re.createElement(re.Fragment,null,re.createElement(ei,{filterSearch:ct,value:Qa,onChange:oo,tablePrefixCls:we,locale:Vt}),re.createElement(bi.default,{selectable:!0,multiple:st,prefixCls:`${rt}-menu`,className:Fo,onSelect:Ca,onDeselect:Ca,selectedKeys:ra,getPopupContainer:xn,openKeys:Oa,onOpenChange:Va,items:xi({filters:Ze.filters||[],filterSearch:ct,prefixCls:He,filteredKeys:In(),filterMultiple:st,searchValue:Qa})})),to=()=>hn?(0,xe.Z)((kn||[]).map($a=>String($a)),ra,!0):ra.length===0;ha=re.createElement(re.Fragment,null,Da(),re.createElement("div",{className:`${He}-dropdown-btns`},re.createElement(Lr.ZP,{type:"link",size:"small",disabled:to(),onClick:()=>Ra()},Vt.filterReset),re.createElement(Lr.ZP,{type:"primary",size:"small",onClick:To},Vt.filterConfirm)))}Ze.filterDropdown&&(ha=re.createElement(Kr.J,{selectable:void 0},ha));const va=()=>re.createElement(Xi,{className:`${He}-dropdown`},ha);let oa;typeof Ze.filterIcon=="function"?oa=Ze.filterIcon(Ta):Ze.filterIcon?oa=Ze.filterIcon:oa=re.createElement(Rr,null);const{direction:lo}=re.useContext(Jr.E_);return re.createElement("div",{className:`${He}-column`},re.createElement("span",{className:`${we}-column-title`},Yt),re.createElement(Zo.Z,{dropdownRender:va,trigger:["click"],open:$n,onOpenChange:io,getPopupContainer:xn,placement:lo==="rtl"?"bottomLeft":"bottomRight"},re.createElement("span",{role:"button",tabIndex:-1,className:Ie()(`${He}-trigger`,{active:Ta}),onClick:ra=>{ra.stopPropagation()}},oa)))}var Or=$i;function Nr(se,le,ye){let we=[];return(se||[]).forEach((He,Ze)=>{var rt;const at=Ya(Ze,ye);if(He.filters||"filterDropdown"in He||"onFilter"in He)if("filteredValue"in He){let st=He.filteredValue;"filterDropdown"in He||(st=(rt=st==null?void 0:st.map(String))!==null&&rt!==void 0?rt:st),we.push({column:He,key:Na(He,at),filteredKeys:st,forceFiltered:He.filtered})}else we.push({column:He,key:Na(He,at),filteredKeys:le&&He.defaultFilteredValue?He.defaultFilteredValue:void 0,forceFiltered:He.filtered});"children"in He&&(we=[].concat((0,tn.Z)(we),(0,tn.Z)(Nr(He.children,le,at))))}),we}function Ri(se,le,ye,we,He,Ze,rt,at){return ye.map((st,xt)=>{const ct=Ya(xt,at),{filterMultiple:bt=!0,filterMode:Xt,filterSearch:Vt}=st;let Yt=st;if(Yt.filters||Yt.filterDropdown){const xn=Na(Yt,ct),vn=we.find(En=>{let{key:hn}=En;return xn===hn});Yt=Object.assign(Object.assign({},Yt),{title:En=>re.createElement(Or,{tablePrefixCls:se,prefixCls:`${se}-filter`,dropdownPrefixCls:le,column:Yt,columnKey:xn,filterState:vn,filterMultiple:bt,filterMode:Xt,filterSearch:Vt,triggerFilter:Ze,locale:He,getPopupContainer:rt},po(st.title,En))})}return"children"in Yt&&(Yt=Object.assign(Object.assign({},Yt),{children:Ri(se,le,Yt.children,we,He,Ze,rt,ct)})),Yt})}function ki(se){const le={};return se.forEach(ye=>{let{key:we,filteredKeys:He,column:Ze}=ye;const{filters:rt,filterDropdown:at}=Ze;if(at)le[we]=He||null;else if(Array.isArray(He)){const st=ti(rt);le[we]=st.filter(xt=>He.includes(String(xt)))}else le[we]=null}),le}function Zi(se,le){return le.reduce((ye,we)=>{const{column:{onFilter:He,filters:Ze},filteredKeys:rt}=we;return He&&rt&&rt.length?ye.filter(at=>rt.some(st=>{const xt=ti(Ze),ct=xt.findIndex(Xt=>String(Xt)===String(st)),bt=ct!==-1?xt[ct]:st;return He(bt,at)})):ye},se)}const zi=se=>se.flatMap(le=>"children"in le?[le].concat((0,tn.Z)(zi(le.children||[]))):[le]);function qi(se){let{prefixCls:le,dropdownPrefixCls:ye,mergedColumns:we,onFilterChange:He,getPopupContainer:Ze,locale:rt}=se;const at=re.useMemo(()=>zi(we||[]),[we]),[st,xt]=re.useState(()=>Nr(at,!0)),ct=re.useMemo(()=>{const Yt=Nr(at,!1);if(Yt.length===0)return Yt;let xn=!0,vn=!0;if(Yt.forEach(En=>{let{filteredKeys:hn}=En;hn!==void 0?xn=!1:vn=!1}),xn){const En=(at||[]).map((hn,kn)=>Na(hn,Ya(kn)));return st.filter(hn=>{let{key:kn}=hn;return En.includes(kn)}).map(hn=>{const kn=at[En.findIndex(la=>la===hn.key)];return Object.assign(Object.assign({},hn),{column:Object.assign(Object.assign({},hn.column),kn),forceFiltered:kn.filtered})})}return Yt},[at,st]),bt=re.useMemo(()=>ki(ct),[ct]),Xt=Yt=>{const xn=ct.filter(vn=>{let{key:En}=vn;return En!==Yt.key});xn.push(Yt),xt(xn),He(ki(xn),xn)};return[Yt=>Ri(le,ye,Yt,ct,rt,Xt,Ze),ct,bt]}var El=qi;function el(se,le,ye){const we=re.useRef({});function He(Ze){if(!we.current||we.current.data!==se||we.current.childrenColumnName!==le||we.current.getRowKey!==ye){let at=function(st){st.forEach((xt,ct)=>{const bt=ye(xt,ct);rt.set(bt,xt),xt&&typeof xt=="object"&&le in xt&&at(xt[le]||[])})};const rt=new Map;at(se),we.current={data:se,childrenColumnName:le,kvMap:rt,getRowKey:ye}}return we.current.kvMap.get(Ze)}return[He]}var tl=ne(50371),nl=function(se,le){var ye={};for(var we in se)Object.prototype.hasOwnProperty.call(se,we)&&le.indexOf(we)<0&&(ye[we]=se[we]);if(se!=null&&typeof Object.getOwnPropertySymbols=="function")for(var He=0,we=Object.getOwnPropertySymbols(se);He<we.length;He++)le.indexOf(we[He])<0&&Object.prototype.propertyIsEnumerable.call(se,we[He])&&(ye[we[He]]=se[we[He]]);return ye};const vi=10;function yl(se,le){const ye={current:se.current,pageSize:se.pageSize};return Object.keys(le&&typeof le=="object"?le:{}).forEach(He=>{const Ze=se[He];typeof Ze!="function"&&(ye[He]=Ze)}),ye}function al(se,le,ye){const we=ye&&typeof ye=="object"?ye:{},{total:He=0}=we,Ze=nl(we,["total"]),[rt,at]=(0,re.useState)(()=>({current:"defaultCurrent"in Ze?Ze.defaultCurrent:1,pageSize:"defaultPageSize"in Ze?Ze.defaultPageSize:vi})),st=(0,tl.Z)(rt,Ze,{total:He>0?He:se}),xt=Math.ceil((He||se)/st.pageSize);st.current>xt&&(st.current=xt||1);const ct=(Xt,Vt)=>{at({current:Xt!=null?Xt:1,pageSize:Vt||st.pageSize})},bt=(Xt,Vt)=>{var Yt;ye&&((Yt=ye.onChange)===null||Yt===void 0||Yt.call(ye,Xt,Vt)),ct(Xt,Vt),le(Xt,Vt||(st==null?void 0:st.pageSize))};return ye===!1?[{},()=>{}]:[Object.assign(Object.assign({},st),{onChange:bt}),ct]}var ol=al,Bi=ne(84105),Fi=ne(35654),Ai=ne(90782),ni=ne(71430),rl=ne(18929);const Zr={},wi="SELECT_ALL",pi="SELECT_INVERT",Di="SELECT_NONE",ji=[],Li=(se,le)=>{let ye=[];return(le||[]).forEach(we=>{ye.push(we),we&&typeof we=="object"&&se in we&&(ye=[].concat((0,tn.Z)(ye),(0,tn.Z)(Li(se,we[se]))))}),ye};var Vr=(se,le)=>{const{preserveSelectedRowKeys:ye,selectedRowKeys:we,defaultSelectedRowKeys:He,getCheckboxProps:Ze,onChange:rt,onSelect:at,onSelectAll:st,onSelectInvert:xt,onSelectNone:ct,onSelectMultiple:bt,columnWidth:Xt,type:Vt,selections:Yt,fixed:xn,renderCell:vn,hideSelectAll:En,checkStrictly:hn=!0}=le||{},{prefixCls:kn,data:la,pageData:sa,getRecordByKey:Jn,getRowKey:Ba,expandType:Ta,childrenColumnName:Gn,locale:$n,getPopupContainer:_n}=se,[In,Vn]=(0,rl.Z)(we||He||ji,{value:we}),Ca=re.useRef(new Map),Ka=(0,re.useCallback)(Sa=>{if(ye){const ha=new Map;Sa.forEach(va=>{let oa=Jn(va);!oa&&Ca.current.has(va)&&(oa=Ca.current.get(va)),ha.set(va,oa)}),Ca.current=ha}},[Jn,ye]);re.useEffect(()=>{Ka(In)},[In]);const{keyEntities:Oa}=(0,re.useMemo)(()=>{if(hn)return{keyEntities:null};let Sa=la;if(ye){const ha=new Set(la.map((oa,lo)=>Ba(oa,lo))),va=Array.from(Ca.current).reduce((oa,lo)=>{let[ra,Da]=lo;return ha.has(ra)?oa:oa.concat(Da)},[]);Sa=[].concat((0,tn.Z)(Sa),(0,tn.Z)(va))}return(0,ni.I8)(Sa,{externalGetKey:Ba,childrenPropName:Gn})},[la,Ba,hn,Gn,ye]),fa=(0,re.useMemo)(()=>Li(Gn,sa),[Gn,sa]),Va=(0,re.useMemo)(()=>{const Sa=new Map;return fa.forEach((ha,va)=>{const oa=Ba(ha,va),lo=(Ze?Ze(ha):null)||{};Sa.set(oa,lo)}),Sa},[fa,Ba,Ze]),Qa=(0,re.useCallback)(Sa=>{var ha;return!!(!((ha=Va.get(Ba(Sa)))===null||ha===void 0)&&ha.disabled)},[Va,Ba]),[Po,oo]=(0,re.useMemo)(()=>{if(hn)return[In||[],[]];const{checkedKeys:Sa,halfCheckedKeys:ha}=(0,Ai.S)(In,!0,Oa,Qa);return[Sa||[],ha]},[In,hn,Oa,Qa]),Mo=(0,re.useMemo)(()=>{const Sa=Vt==="radio"?Po.slice(0,1):Po;return new Set(Sa)},[Po,Vt]),To=(0,re.useMemo)(()=>Vt==="radio"?new Set:new Set(oo),[oo,Vt]),[Ra,zo]=(0,re.useState)(null);re.useEffect(()=>{le||Vn(ji)},[!!le]);const io=(0,re.useCallback)((Sa,ha)=>{let va,oa;Ka(Sa),ye?(va=Sa,oa=Sa.map(lo=>Ca.current.get(lo))):(va=[],oa=[],Sa.forEach(lo=>{const ra=Jn(lo);ra!==void 0&&(va.push(lo),oa.push(ra))})),Vn(va),rt==null||rt(va,oa,{type:ha})},[Vn,Jn,rt,ye]),Fo=(0,re.useCallback)((Sa,ha,va,oa)=>{if(at){const lo=va.map(ra=>Jn(ra));at(Jn(Sa),ha,lo,oa)}io(va,"single")},[at,Jn,io]),xo=(0,re.useMemo)(()=>!Yt||En?null:(Yt===!0?[wi,pi,Di]:Yt).map(ha=>ha===wi?{key:"all",text:$n.selectionAll,onSelect(){io(la.map((va,oa)=>Ba(va,oa)).filter(va=>{const oa=Va.get(va);return!(oa!=null&&oa.disabled)||Mo.has(va)}),"all")}}:ha===pi?{key:"invert",text:$n.selectInvert,onSelect(){const va=new Set(Mo);sa.forEach((lo,ra)=>{const Da=Ba(lo,ra),to=Va.get(Da);to!=null&&to.disabled||(va.has(Da)?va.delete(Da):va.add(Da))});const oa=Array.from(va);xt&&xt(oa),io(oa,"invert")}}:ha===Di?{key:"none",text:$n.selectNone,onSelect(){ct==null||ct(),io(Array.from(Mo).filter(va=>{const oa=Va.get(va);return oa==null?void 0:oa.disabled}),"none")}}:ha).map(ha=>Object.assign(Object.assign({},ha),{onSelect:function(){for(var va,oa,lo=arguments.length,ra=new Array(lo),Da=0;Da<lo;Da++)ra[Da]=arguments[Da];(oa=ha.onSelect)===null||oa===void 0||(va=oa).call.apply(va,[ha].concat(ra)),zo(null)}})),[Yt,Mo,sa,Ba,xt,io]);return[(0,re.useCallback)(Sa=>{var ha;if(!le)return Sa.filter(uo=>uo!==Zr);let va=(0,tn.Z)(Sa);const oa=new Set(Mo),lo=fa.map(Ba).filter(uo=>!Va.get(uo).disabled),ra=lo.every(uo=>oa.has(uo)),Da=lo.some(uo=>oa.has(uo)),to=()=>{const uo=[];ra?lo.forEach(Oo=>{oa.delete(Oo),uo.push(Oo)}):lo.forEach(Oo=>{oa.has(Oo)||(oa.add(Oo),uo.push(Oo))});const so=Array.from(oa);st==null||st(!ra,so.map(Oo=>Jn(Oo)),uo.map(Oo=>Jn(Oo))),io(so,"all"),zo(null)};let $a;if(Vt!=="radio"){let uo;if(xo){const Ja={getPopupContainer:_n,items:xo.map((ur,rr)=>{const{key:Sr,text:zr,onSelect:Mr}=ur;return{key:Sr!=null?Sr:rr,onClick:()=>{Mr==null||Mr(lo)},label:zr}})};uo=re.createElement("div",{className:`${kn}-selection-extra`},re.createElement(Zo.Z,{menu:Ja,getPopupContainer:_n},re.createElement("span",null,re.createElement(Bi.Z,null))))}const so=fa.map((Ja,ur)=>{const rr=Ba(Ja,ur),Sr=Va.get(rr)||{};return Object.assign({checked:oa.has(rr)},Sr)}).filter(Ja=>{let{disabled:ur}=Ja;return ur}),Oo=!!so.length&&so.length===fa.length,Wo=Oo&&so.every(Ja=>{let{checked:ur}=Ja;return ur}),Vo=Oo&&so.some(Ja=>{let{checked:ur}=Ja;return ur});$a=!En&&re.createElement("div",{className:`${kn}-selection`},re.createElement(ao.default,{checked:Oo?Wo:!!fa.length&&ra,indeterminate:Oo?!Wo&&Vo:!ra&&Da,onChange:to,disabled:fa.length===0||Oo,"aria-label":uo?"Custom selection":"Select all",skipGroup:!0}),uo)}let or;Vt==="radio"?or=(uo,so,Oo)=>{const Wo=Ba(so,Oo),Vo=oa.has(Wo);return{node:re.createElement(di.ZP,Object.assign({},Va.get(Wo),{checked:Vo,onClick:Ja=>Ja.stopPropagation(),onChange:Ja=>{oa.has(Wo)||Fo(Wo,!0,[Wo],Ja.nativeEvent)}})),checked:Vo}}:or=(uo,so,Oo)=>{var Wo;const Vo=Ba(so,Oo),Ja=oa.has(Vo),ur=To.has(Vo),rr=Va.get(Vo);let Sr;return Ta==="nest"?Sr=ur:Sr=(Wo=rr==null?void 0:rr.indeterminate)!==null&&Wo!==void 0?Wo:ur,{node:re.createElement(ao.default,Object.assign({},rr,{indeterminate:Sr,checked:Ja,skipGroup:!0,onClick:zr=>zr.stopPropagation(),onChange:zr=>{let{nativeEvent:Mr}=zr;const{shiftKey:Ii}=Mr;let Ur=-1,br=-1;if(Ii&&hn){const mr=new Set([Ra,Vo]);lo.some((sr,Uo)=>{if(mr.has(sr))if(Ur===-1)Ur=Uo;else return br=Uo,!0;return!1})}if(br!==-1&&Ur!==br&&hn){const mr=lo.slice(Ur,br+1),sr=[];Ja?mr.forEach(No=>{oa.has(No)&&(sr.push(No),oa.delete(No))}):mr.forEach(No=>{oa.has(No)||(sr.push(No),oa.add(No))});const Uo=Array.from(oa);bt==null||bt(!Ja,Uo.map(No=>Jn(No)),sr.map(No=>Jn(No))),io(Uo,"multiple")}else{const mr=Po;if(hn){const sr=Ja?(0,Fi._5)(mr,Vo):(0,Fi.L0)(mr,Vo);Fo(Vo,!Ja,sr,Mr)}else{const sr=(0,Ai.S)([].concat((0,tn.Z)(mr),[Vo]),!0,Oa,Qa),{checkedKeys:Uo,halfCheckedKeys:No}=sr;let jr=Uo;if(Ja){const mi=new Set(Uo);mi.delete(Vo),jr=(0,Ai.S)(Array.from(mi),{checked:!1,halfCheckedKeys:No},Oa,Qa).checkedKeys}Fo(Vo,!Ja,jr,Mr)}}zo(Ja?null:Vo)}})),checked:Ja}};const Yo=(uo,so,Oo)=>{const{node:Wo,checked:Vo}=or(uo,so,Oo);return vn?vn(Vo,so,Oo,Wo):Wo};if(!va.includes(Zr))if(va.findIndex(uo=>{var so;return((so=uo[zn])===null||so===void 0?void 0:so.columnType)==="EXPAND_COLUMN"})===0){const[uo,...so]=va;va=[uo,Zr].concat((0,tn.Z)(so))}else va=[Zr].concat((0,tn.Z)(va));const Ir=va.indexOf(Zr);va=va.filter((uo,so)=>uo!==Zr||so===Ir);const jo=va[Ir-1],Cr=va[Ir+1];let Ho=xn;Ho===void 0&&((Cr==null?void 0:Cr.fixed)!==void 0?Ho=Cr.fixed:(jo==null?void 0:jo.fixed)!==void 0&&(Ho=jo.fixed)),Ho&&jo&&((ha=jo[zn])===null||ha===void 0?void 0:ha.columnType)==="EXPAND_COLUMN"&&jo.fixed===void 0&&(jo.fixed=Ho);const gr=Ie()(`${kn}-selection-col`,{[`${kn}-selection-col-with-dropdown`]:Yt&&Vt==="checkbox"}),gi={fixed:Ho,width:Xt,className:`${kn}-selection-column`,title:le.columnTitle||$a,render:Yo,onCell:le.onCell,[zn]:{className:gr}};return va.map(uo=>uo===Zr?gi:uo)},[Ba,fa,le,Po,Mo,To,Xt,xo,Ta,Ra,Va,bt,Fo,Qa]),Mo]},yr=ne(89489),Cl=ne(59477),il=ne(6848);const Oe="ascend",Ve="descend";function Ye(se){return typeof se.sorter=="object"&&typeof se.sorter.multiple=="number"?se.sorter.multiple:!1}function Et(se){return typeof se=="function"?se:se&&typeof se=="object"&&se.compare?se.compare:!1}function da(se,le){return le?se[se.indexOf(le)+1]:se[0]}function Hn(se,le,ye){let we=[];function He(Ze,rt){we.push({column:Ze,key:Na(Ze,rt),multiplePriority:Ye(Ze),sortOrder:Ze.sortOrder})}return(se||[]).forEach((Ze,rt)=>{const at=Ya(rt,ye);Ze.children?("sortOrder"in Ze&&He(Ze,at),we=[].concat((0,tn.Z)(we),(0,tn.Z)(Hn(Ze.children,le,at)))):Ze.sorter&&("sortOrder"in Ze?He(Ze,at):le&&Ze.defaultSortOrder&&we.push({column:Ze,key:Na(Ze,at),multiplePriority:Ye(Ze),sortOrder:Ze.defaultSortOrder}))}),we}function ya(se,le,ye,we,He,Ze,rt,at){return(le||[]).map((st,xt)=>{const ct=Ya(xt,at);let bt=st;if(bt.sorter){const Xt=bt.sortDirections||He,Vt=bt.showSorterTooltip===void 0?rt:bt.showSorterTooltip,Yt=Na(bt,ct),xn=ye.find(Ta=>{let{key:Gn}=Ta;return Gn===Yt}),vn=xn?xn.sortOrder:null,En=da(Xt,vn);let hn;if(st.sortIcon)hn=st.sortIcon({sortOrder:vn});else{const Ta=Xt.includes(Oe)&&re.createElement(Cl.Z,{className:Ie()(`${se}-column-sorter-up`,{active:vn===Oe})}),Gn=Xt.includes(Ve)&&re.createElement(yr.Z,{className:Ie()(`${se}-column-sorter-down`,{active:vn===Ve})});hn=re.createElement("span",{className:Ie()(`${se}-column-sorter`,{[`${se}-column-sorter-full`]:!!(Ta&&Gn)})},re.createElement("span",{className:`${se}-column-sorter-inner`,"aria-hidden":"true"},Ta,Gn))}const{cancelSort:kn,triggerAsc:la,triggerDesc:sa}=Ze||{};let Jn=kn;En===Ve?Jn=sa:En===Oe&&(Jn=la);const Ba=typeof Vt=="object"?Vt:{title:Jn};bt=Object.assign(Object.assign({},bt),{className:Ie()(bt.className,{[`${se}-column-sort`]:vn}),title:Ta=>{const Gn=re.createElement("div",{className:`${se}-column-sorters`},re.createElement("span",{className:`${se}-column-title`},po(st.title,Ta)),hn);return Vt?re.createElement(il.Z,Object.assign({},Ba),Gn):Gn},onHeaderCell:Ta=>{const Gn=st.onHeaderCell&&st.onHeaderCell(Ta)||{},$n=Gn.onClick,_n=Gn.onKeyDown;Gn.onClick=Ca=>{we({column:st,key:Yt,sortOrder:En,multiplePriority:Ye(st)}),$n==null||$n(Ca)},Gn.onKeyDown=Ca=>{Ca.keyCode===Mi.Z.ENTER&&(we({column:st,key:Yt,sortOrder:En,multiplePriority:Ye(st)}),_n==null||_n(Ca))};const In=ho(st.title,{}),Vn=In==null?void 0:In.toString();return vn?Gn["aria-sort"]=vn==="ascend"?"ascending":"descending":Gn["aria-label"]=Vn||"",Gn.className=Ie()(Gn.className,`${se}-column-has-sorters`),Gn.tabIndex=0,st.ellipsis&&(Gn.title=(In!=null?In:"").toString()),Gn}})}return"children"in bt&&(bt=Object.assign(Object.assign({},bt),{children:ya(se,bt.children,ye,we,He,Ze,rt,ct)})),bt})}function Un(se){const{column:le,sortOrder:ye}=se;return{column:le,order:ye,field:le.dataIndex,columnKey:le.key}}function Yn(se){const le=se.filter(ye=>{let{sortOrder:we}=ye;return we}).map(Un);return le.length===0&&se.length?Object.assign(Object.assign({},Un(se[se.length-1])),{column:void 0}):le.length<=1?le[0]||{}:le}function Ia(se,le,ye){const we=le.slice().sort((rt,at)=>at.multiplePriority-rt.multiplePriority),He=se.slice(),Ze=we.filter(rt=>{let{column:{sorter:at},sortOrder:st}=rt;return Et(at)&&st});return Ze.length?He.sort((rt,at)=>{for(let st=0;st<Ze.length;st+=1){const xt=Ze[st],{column:{sorter:ct},sortOrder:bt}=xt,Xt=Et(ct);if(Xt&&bt){const Vt=Xt(rt,at,bt);if(Vt!==0)return bt===Oe?Vt:-Vt}}return 0}).map(rt=>{const at=rt[ye];return at?Object.assign(Object.assign({},rt),{[ye]:Ia(at,le,ye)}):rt}):He}function ga(se){let{prefixCls:le,mergedColumns:ye,onSorterChange:we,sortDirections:He,tableLocale:Ze,showSorterTooltip:rt}=se;const[at,st]=re.useState(Hn(ye,!0)),xt=re.useMemo(()=>{let Yt=!0;const xn=Hn(ye,!1);if(!xn.length)return at;const vn=[];function En(kn){Yt?vn.push(kn):vn.push(Object.assign(Object.assign({},kn),{sortOrder:null}))}let hn=null;return xn.forEach(kn=>{hn===null?(En(kn),kn.sortOrder&&(kn.multiplePriority===!1?Yt=!1:hn=!0)):(hn&&kn.multiplePriority!==!1||(Yt=!1),En(kn))}),vn},[ye,at]),ct=re.useMemo(()=>{const Yt=xt.map(xn=>{let{column:vn,sortOrder:En}=xn;return{column:vn,order:En}});return{sortColumns:Yt,sortColumn:Yt[0]&&Yt[0].column,sortOrder:Yt[0]&&Yt[0].order}},[xt]);function bt(Yt){let xn;Yt.multiplePriority===!1||!xt.length||xt[0].multiplePriority===!1?xn=[Yt]:xn=[].concat((0,tn.Z)(xt.filter(vn=>{let{key:En}=vn;return En!==Yt.key})),[Yt]),st(xn),we(Yn(xn),xn)}return[Yt=>ya(le,Yt,xt,bt,He,Ze,rt),xt,ct,()=>Yn(xt)]}function Ma(se,le){return se.map(ye=>{const we=Object.assign({},ye);return we.title=po(ye.title,le),"children"in we&&(we.children=Ma(we.children,le)),we})}function eo(se){return[re.useCallback(ye=>Ma(ye,se),[se])]}var Za=ia((se,le)=>{const{_renderTimes:ye}=se,{_renderTimes:we}=le;return ye!==we}),Bn=lr((se,le)=>{const{_renderTimes:ye}=se,{_renderTimes:we}=le;return ye!==we}),qn=ne(64993),xa=ne(17313),Aa=ne(83116),aa=ne(37613),La=se=>{const{componentCls:le}=se,ye=`${se.lineWidth}px ${se.lineType} ${se.tableBorderColor}`,we=(He,Ze,rt)=>({[`&${le}-${He}`]:{[`> ${le}-container`]:{[`> ${le}-content, > ${le}-body`]:{"\n > table > tbody > tr > th,\n > table > tbody > tr > td\n ":{[`> ${le}-expanded-row-fixed`]:{margin:`-${Ze}px -${rt+se.lineWidth}px`}}}}}});return{[`${le}-wrapper`]:{[`${le}${le}-bordered`]:Object.assign(Object.assign(Object.assign({[`> ${le}-title`]:{border:ye,borderBottom:0},[`> ${le}-container`]:{borderInlineStart:ye,borderTop:ye,[`
> ${le}-content,
> ${le}-header,
> ${le}-body,
> ${le}-summary
`]:{"> table":{"\n > thead > tr > th,\n > thead > tr > td,\n > tbody > tr > th,\n > tbody > tr > td,\n > tfoot > tr > th,\n > tfoot > tr > td\n ":{borderInlineEnd:ye},"> thead":{"> tr:not(:last-child) > th":{borderBottom:ye},"> tr > th::before":{backgroundColor:"transparent !important"}},"\n > thead > tr,\n > tbody > tr,\n > tfoot > tr\n ":{[`> ${le}-cell-fix-right-first::after`]:{borderInlineEnd:ye}},"\n > tbody > tr > th,\n > tbody > tr > td\n ":{[`> ${le}-expanded-row-fixed`]:{margin:`-${se.tablePaddingVertical}px -${se.tablePaddingHorizontal+se.lineWidth}px`,"&::after":{position:"absolute",top:0,insetInlineEnd:se.lineWidth,bottom:0,borderInlineEnd:ye,content:'""'}}}}}},[`&${le}-scroll-horizontal`]:{[`> ${le}-container > ${le}-body`]:{"> table > tbody":{[`
> tr${le}-expanded-row,
> tr${le}-placeholder
`]:{"> th, > td":{borderInlineEnd:0}}}}}},we("middle",se.tablePaddingVerticalMiddle,se.tablePaddingHorizontalMiddle)),we("small",se.tablePaddingVerticalSmall,se.tablePaddingHorizontalSmall)),{[`> ${le}-footer`]:{border:ye,borderTop:0}}),[`${le}-cell`]:{[`${le}-container:first-child`]:{borderTop:0},"&-scrollbar:not([rowspan])":{boxShadow:`0 ${se.lineWidth}px 0 ${se.lineWidth}px ${se.tableHeaderBg}`}},[`${le}-bordered ${le}-cell-scrollbar`]:{borderInlineEnd:ye}}}},Wn=se=>{const{componentCls:le}=se;return{[`${le}-wrapper`]:{[`${le}-cell-ellipsis`]:Object.assign(Object.assign({},xa.vS),{wordBreak:"keep-all",[`
&${le}-cell-fix-left-last,
&${le}-cell-fix-right-first
`]:{overflow:"visible",[`${le}-cell-content`]:{display:"block",overflow:"hidden",textOverflow:"ellipsis"}},[`${le}-column-title`]:{overflow:"hidden",textOverflow:"ellipsis",wordBreak:"keep-all"}})}}},Tn=se=>{const{componentCls:le}=se;return{[`${le}-wrapper`]:{[`${le}-tbody > tr${le}-placeholder`]:{textAlign:"center",color:se.colorTextDisabled,"\n &:hover > th,\n &:hover > td,\n ":{background:se.colorBgContainer}}}}},Xa=ne(15969),Lo=se=>{const{componentCls:le,antCls:ye,controlInteractiveSize:we,motionDurationSlow:He,lineWidth:Ze,paddingXS:rt,lineType:at,tableBorderColor:st,tableExpandIconBg:xt,tableExpandColumnWidth:ct,borderRadius:bt,fontSize:Xt,fontSizeSM:Vt,lineHeight:Yt,tablePaddingVertical:xn,tablePaddingHorizontal:vn,tableExpandedRowBg:En,paddingXXS:hn}=se,kn=we/2-Ze,la=kn*2+Ze*3,sa=`${Ze}px ${at} ${st}`,Jn=hn-Ze;return{[`${le}-wrapper`]:{[`${le}-expand-icon-col`]:{width:ct},[`${le}-row-expand-icon-cell`]:{textAlign:"center",[`${le}-row-expand-icon`]:{display:"inline-flex",float:"none",verticalAlign:"sub"}},[`${le}-row-indent`]:{height:1,float:"left"},[`${le}-row-expand-icon`]:Object.assign(Object.assign({},(0,Xa.N)(se)),{position:"relative",float:"left",boxSizing:"border-box",width:la,height:la,padding:0,color:"inherit",lineHeight:`${la}px`,background:xt,border:sa,borderRadius:bt,transform:`scale(${we/la})`,transition:`all ${He}`,userSelect:"none","&:focus, &:hover, &:active":{borderColor:"currentcolor"},"&::before, &::after":{position:"absolute",background:"currentcolor",transition:`transform ${He} ease-out`,content:'""'},"&::before":{top:kn,insetInlineEnd:Jn,insetInlineStart:Jn,height:Ze},"&::after":{top:Jn,bottom:Jn,insetInlineStart:kn,width:Ze,transform:"rotate(90deg)"},"&-collapsed::before":{transform:"rotate(-180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"},"&-spaced":{"&::before, &::after":{display:"none",content:"none"},background:"transparent",border:0,visibility:"hidden"}}),[`${le}-row-indent + ${le}-row-expand-icon`]:{marginTop:(Xt*Yt-Ze*3)/2-Math.ceil((Vt*1.4-Ze*3)/2),marginInlineEnd:rt},[`tr${le}-expanded-row`]:{"&, &:hover":{"> th, > td":{background:En}},[`${ye}-descriptions-view`]:{display:"flex",table:{flex:"auto",width:"auto"}}},[`${le}-expanded-row-fixed`]:{position:"relative",margin:`-${xn}px -${vn}px`,padding:`${xn}px ${vn}px`}}}},ma=se=>{const{componentCls:le,antCls:ye,iconCls:we,tableFilterDropdownWidth:He,tableFilterDropdownSearchWidth:Ze,paddingXXS:rt,paddingXS:at,colorText:st,lineWidth:xt,lineType:ct,tableBorderColor:bt,tableHeaderIconColor:Xt,fontSizeSM:Vt,tablePaddingHorizontal:Yt,borderRadius:xn,motionDurationSlow:vn,colorTextDescription:En,colorPrimary:hn,tableHeaderFilterActiveBg:kn,colorTextDisabled:la,tableFilterDropdownBg:sa,tableFilterDropdownHeight:Jn,controlItemBgHover:Ba,controlItemBgActive:Ta,boxShadowSecondary:Gn,filterDropdownMenuBg:$n}=se,_n=`${ye}-dropdown`,In=`${le}-filter-dropdown`,Vn=`${ye}-tree`,Ca=`${xt}px ${ct} ${bt}`;return[{[`${le}-wrapper`]:{[`${le}-filter-column`]:{display:"flex",justifyContent:"space-between"},[`${le}-filter-trigger`]:{position:"relative",display:"flex",alignItems:"center",marginBlock:-rt,marginInline:`${rt}px ${-Yt/2}px`,padding:`0 ${rt}px`,color:Xt,fontSize:Vt,borderRadius:xn,cursor:"pointer",transition:`all ${vn}`,"&:hover":{color:En,background:kn},"&.active":{color:hn}}}},{[`${ye}-dropdown`]:{[In]:Object.assign(Object.assign({},(0,xa.Wf)(se)),{minWidth:He,backgroundColor:sa,borderRadius:xn,boxShadow:Gn,overflow:"hidden",[`${_n}-menu`]:{maxHeight:Jn,overflowX:"hidden",border:0,boxShadow:"none",borderRadius:"unset",backgroundColor:$n,"&:empty::after":{display:"block",padding:`${at}px 0`,color:la,fontSize:Vt,textAlign:"center",content:'"Not Found"'}},[`${In}-tree`]:{paddingBlock:`${at}px 0`,paddingInline:at,[Vn]:{padding:0},[`${Vn}-treenode ${Vn}-node-content-wrapper:hover`]:{backgroundColor:Ba},[`${Vn}-treenode-checkbox-checked ${Vn}-node-content-wrapper`]:{"&, &:hover":{backgroundColor:Ta}}},[`${In}-search`]:{padding:at,borderBottom:Ca,"&-input":{input:{minWidth:Ze},[we]:{color:la}}},[`${In}-checkall`]:{width:"100%",marginBottom:rt,marginInlineStart:rt},[`${In}-btns`]:{display:"flex",justifyContent:"space-between",padding:`${at-xt}px ${at}px`,overflow:"hidden",borderTop:Ca}})}},{[`${ye}-dropdown ${In}, ${In}-submenu`]:{[`${ye}-checkbox-wrapper + span`]:{paddingInlineStart:at,color:st},"> ul":{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]},tr=se=>{const{componentCls:le,lineWidth:ye,colorSplit:we,motionDurationSlow:He,zIndexTableFixed:Ze,tableBg:rt,zIndexTableSticky:at}=se,st=we;return{[`${le}-wrapper`]:{[`
${le}-cell-fix-left,
${le}-cell-fix-right
`]:{position:"sticky !important",zIndex:Ze,background:rt},[`
${le}-cell-fix-left-first::after,
${le}-cell-fix-left-last::after
`]:{position:"absolute",top:0,right:{_skip_check_:!0,value:0},bottom:-ye,width:30,transform:"translateX(100%)",transition:`box-shadow ${He}`,content:'""',pointerEvents:"none"},[`${le}-cell-fix-left-all::after`]:{display:"none"},[`
${le}-cell-fix-right-first::after,
${le}-cell-fix-right-last::after
`]:{position:"absolute",top:0,bottom:-ye,left:{_skip_check_:!0,value:0},width:30,transform:"translateX(-100%)",transition:`box-shadow ${He}`,content:'""',pointerEvents:"none"},[`${le}-container`]:{"&::before, &::after":{position:"absolute",top:0,bottom:0,zIndex:at+1,width:30,transition:`box-shadow ${He}`,content:'""',pointerEvents:"none"},"&::before":{insetInlineStart:0},"&::after":{insetInlineEnd:0}},[`${le}-ping-left`]:{[`&:not(${le}-has-fix-left) ${le}-container`]:{position:"relative","&::before":{boxShadow:`inset 10px 0 8px -8px ${st}`}},[`
${le}-cell-fix-left-first::after,
${le}-cell-fix-left-last::after
`]:{boxShadow:`inset 10px 0 8px -8px ${st}`},[`${le}-cell-fix-left-last::before`]:{backgroundColor:"transparent !important"}},[`${le}-ping-right`]:{[`&:not(${le}-has-fix-right) ${le}-container`]:{position:"relative","&::after":{boxShadow:`inset -10px 0 8px -8px ${st}`}},[`
${le}-cell-fix-right-first::after,
${le}-cell-fix-right-last::after
`]:{boxShadow:`inset -10px 0 8px -8px ${st}`}}}}},mo=se=>{const{componentCls:le,antCls:ye}=se;return{[`${le}-wrapper`]:{[`${le}-pagination${ye}-pagination`]:{margin:`${se.margin}px 0`},[`${le}-pagination`]:{display:"flex",flexWrap:"wrap",rowGap:se.paddingXS,"> *":{flex:"none"},"&-left":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-right":{justifyContent:"flex-end"}}}}},So=se=>{const{componentCls:le,tableRadius:ye}=se;return{[`${le}-wrapper`]:{[le]:{[`${le}-title, ${le}-header`]:{borderRadius:`${ye}px ${ye}px 0 0`},[`${le}-title + ${le}-container`]:{borderStartStartRadius:0,borderStartEndRadius:0,[`${le}-header, table`]:{borderRadius:0},"table > thead > tr:first-child":{"th:first-child, th:last-child, td:first-child, td:last-child":{borderRadius:0}}},"&-container":{borderStartStartRadius:ye,borderStartEndRadius:ye,"table > thead > tr:first-child":{"> *:first-child":{borderStartStartRadius:ye},"> *:last-child":{borderStartEndRadius:ye}}},"&-footer":{borderRadius:`0 0 ${ye}px ${ye}px`}}}}},ai=se=>{const{componentCls:le}=se;return{[`${le}-wrapper-rtl`]:{direction:"rtl",table:{direction:"rtl"},[`${le}-pagination-left`]:{justifyContent:"flex-end"},[`${le}-pagination-right`]:{justifyContent:"flex-start"},[`${le}-row-expand-icon`]:{float:"right","&::after":{transform:"rotate(-90deg)"},"&-collapsed::before":{transform:"rotate(180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"}},[`${le}-container`]:{"&::before":{insetInlineStart:"unset",insetInlineEnd:0},"&::after":{insetInlineStart:0,insetInlineEnd:"unset"},[`${le}-row-indent`]:{float:"right"}}}}},Si=se=>{const{componentCls:le,antCls:ye,iconCls:we,fontSizeIcon:He,padding:Ze,paddingXS:rt,tableHeaderIconColor:at,tableHeaderIconColorHover:st,tableSelectionColumnWidth:xt}=se;return{[`${le}-wrapper`]:{[`${le}-selection-col`]:{width:xt,[`&${le}-selection-col-with-dropdown`]:{width:xt+He+Ze/4}},[`${le}-bordered ${le}-selection-col`]:{width:xt+rt*2,[`&${le}-selection-col-with-dropdown`]:{width:xt+He+Ze/4+rt*2}},[`
table tr th${le}-selection-column,
table tr td${le}-selection-column
`]:{paddingInlineEnd:se.paddingXS,paddingInlineStart:se.paddingXS,textAlign:"center",[`${ye}-radio-wrapper`]:{marginInlineEnd:0}},[`table tr th${le}-selection-column${le}-cell-fix-left`]:{zIndex:se.zIndexTableFixed+1},[`table tr th${le}-selection-column::after`]:{backgroundColor:"transparent !important"},[`${le}-selection`]:{position:"relative",display:"inline-flex",flexDirection:"column"},[`${le}-selection-extra`]:{position:"absolute",top:0,zIndex:1,cursor:"pointer",transition:`all ${se.motionDurationSlow}`,marginInlineStart:"100%",paddingInlineStart:`${se.tablePaddingHorizontal/4}px`,[we]:{color:at,fontSize:He,verticalAlign:"baseline","&:hover":{color:st}}}}}},Ei=se=>{const{componentCls:le}=se,ye=(we,He,Ze,rt)=>({[`${le}${le}-${we}`]:{fontSize:rt,[`
${le}-title,
${le}-footer,
${le}-cell,
${le}-thead > tr > th,
${le}-tbody > tr > th,
${le}-tbody > tr > td,
tfoot > tr > th,
tfoot > tr > td
`]:{padding:`${He}px ${Ze}px`},[`${le}-filter-trigger`]:{marginInlineEnd:`-${Ze/2}px`},[`${le}-expanded-row-fixed`]:{margin:`-${He}px -${Ze}px`},[`${le}-tbody`]:{[`${le}-wrapper:only-child ${le}`]:{marginBlock:`-${He}px`,marginInline:`${se.tableExpandColumnWidth-Ze}px -${Ze}px`}},[`${le}-selection-column`]:{paddingInlineStart:`${Ze/4}px`}}});return{[`${le}-wrapper`]:Object.assign(Object.assign({},ye("middle",se.tablePaddingVerticalMiddle,se.tablePaddingHorizontalMiddle,se.tableFontSizeMiddle)),ye("small",se.tablePaddingVerticalSmall,se.tablePaddingHorizontalSmall,se.tableFontSizeSmall))}},oi=se=>{const{componentCls:le,marginXXS:ye,fontSizeIcon:we,tableHeaderIconColor:He,tableHeaderIconColorHover:Ze}=se;return{[`${le}-wrapper`]:{[`${le}-thead th${le}-column-has-sorters`]:{outline:"none",cursor:"pointer",transition:`all ${se.motionDurationSlow}`,"&:hover":{background:se.tableHeaderSortHoverBg,"&::before":{backgroundColor:"transparent !important"}},"&:focus-visible":{color:se.colorPrimary},[`
&${le}-cell-fix-left:hover,
&${le}-cell-fix-right:hover
`]:{background:se.tableFixedHeaderSortActiveBg}},[`${le}-thead th${le}-column-sort`]:{background:se.tableHeaderSortBg,"&::before":{backgroundColor:"transparent !important"}},[`td${le}-column-sort`]:{background:se.tableBodySortBg},[`${le}-column-title`]:{position:"relative",zIndex:1,flex:1},[`${le}-column-sorters`]:{display:"flex",flex:"auto",alignItems:"center",justifyContent:"space-between","&::after":{position:"absolute",inset:0,width:"100%",height:"100%",content:'""'}},[`${le}-column-sorter`]:{marginInlineStart:ye,color:He,fontSize:0,transition:`color ${se.motionDurationSlow}`,"&-inner":{display:"inline-flex",flexDirection:"column",alignItems:"center"},"&-up, &-down":{fontSize:we,"&.active":{color:se.colorPrimary}},[`${le}-column-sorter-up + ${le}-column-sorter-down`]:{marginTop:"-0.3em"}},[`${le}-column-sorters:hover ${le}-column-sorter`]:{color:Ze}}}},ll=se=>{const{componentCls:le,opacityLoading:ye,tableScrollThumbBg:we,tableScrollThumbBgHover:He,tableScrollThumbSize:Ze,tableScrollBg:rt,zIndexTableSticky:at,stickyScrollBarBorderRadius:st}=se,xt=`${se.lineWidth}px ${se.lineType} ${se.tableBorderColor}`;return{[`${le}-wrapper`]:{[`${le}-sticky`]:{"&-holder":{position:"sticky",zIndex:at,background:se.colorBgContainer},"&-scroll":{position:"sticky",bottom:0,height:`${Ze}px !important`,zIndex:at,display:"flex",alignItems:"center",background:rt,borderTop:xt,opacity:ye,"&:hover":{transformOrigin:"center bottom"},"&-bar":{height:Ze,backgroundColor:we,borderRadius:st,transition:`all ${se.motionDurationSlow}, transform none`,position:"absolute",bottom:0,"&:hover, &-active":{backgroundColor:He}}}}}}},Hi=se=>{const{componentCls:le,lineWidth:ye,tableBorderColor:we}=se,He=`${ye}px ${se.lineType} ${we}`;return{[`${le}-wrapper`]:{[`${le}-summary`]:{position:"relative",zIndex:se.zIndexTableFixed,background:se.tableBg,"> tr":{"> th, > td":{borderBottom:He}}},[`div${le}-summary`]:{boxShadow:`0 -${ye}px 0 ${we}`}}}},yi=se=>{const{componentCls:le}=se,ye=`${se.lineWidth}px ${se.lineType} ${se.tableBorderColor}`,we=`${le}-expanded-row-cell`;return{[`${le}-wrapper`]:{[`${le}-tbody-virtual`]:{[`${le}-row`]:{display:"flex",boxSizing:"border-box",width:"100%"},[`${le}-cell`]:{borderBottom:ye},[`${le}-expanded-row`]:{[`${we}${we}-fixed`]:{position:"sticky",insetInlineStart:0,overflow:"hidden",width:`calc(var(--virtual-width) - ${se.lineWidth}px)`,borderInlineEnd:"none"}}},[`${le}-bordered`]:{[`${le}-tbody-virtual`]:{"&:after":{content:'""',insetInline:0,bottom:0,borderBottom:ye,position:"absolute"},[`${le}-cell`]:{borderInlineEnd:ye,[`&${le}-cell-fix-right-first:before`]:{content:'""',position:"absolute",insetBlock:0,insetInlineStart:-se.lineWidth,borderInlineStart:ye}}}}}}};const ul=se=>{const{componentCls:le,fontWeightStrong:ye,tablePaddingVertical:we,tablePaddingHorizontal:He,lineWidth:Ze,lineType:rt,tableBorderColor:at,tableFontSize:st,tableBg:xt,tableRadius:ct,tableHeaderTextColor:bt,motionDurationMid:Xt,tableHeaderBg:Vt,tableHeaderCellSplitColor:Yt,tableRowHoverBg:xn,tableSelectedRowBg:vn,tableSelectedRowHoverBg:En,tableFooterTextColor:hn,tableFooterBg:kn,paddingContentVerticalLG:la}=se,sa=`${Ze}px ${rt} ${at}`;return{[`${le}-wrapper`]:Object.assign(Object.assign({clear:"both",maxWidth:"100%"},(0,xa.dF)()),{[le]:Object.assign(Object.assign({},(0,xa.Wf)(se)),{fontSize:st,background:xt,borderRadius:`${ct}px ${ct}px 0 0`}),table:{width:"100%",textAlign:"start",borderRadius:`${ct}px ${ct}px 0 0`,borderCollapse:"separate",borderSpacing:0},[`
${le}-cell,
${le}-thead > tr > th,
${le}-tbody > tr > th,
${le}-tbody > tr > td,
tfoot > tr > th,
tfoot > tr > td
`]:{position:"relative",padding:`${la}px ${He}px`,overflowWrap:"break-word"},[`${le}-title`]:{padding:`${we}px ${He}px`},[`${le}-thead`]:{"\n > tr > th,\n > tr > td\n ":{position:"relative",color:bt,fontWeight:ye,textAlign:"start",background:Vt,borderBottom:sa,transition:`background ${Xt} ease`,"&[colspan]:not([colspan='1'])":{textAlign:"center"},[`&:not(:last-child):not(${le}-selection-column):not(${le}-row-expand-icon-cell):not([colspan])::before`]:{position:"absolute",top:"50%",insetInlineEnd:0,width:1,height:"1.6em",backgroundColor:Yt,transform:"translateY(-50%)",transition:`background-color ${Xt}`,content:'""'}},"> tr:not(:last-child) > th[colspan]":{borderBottom:0}},[`${le}-tbody`]:{"> tr":{"> th, > td":{transition:`background ${Xt}, border-color ${Xt}`,borderBottom:sa,[`
> ${le}-wrapper:only-child,
> ${le}-expanded-row-fixed > ${le}-wrapper:only-child
`]:{[le]:{marginBlock:`-${we}px`,marginInline:`${se.tableExpandColumnWidth-He}px -${He}px`,[`${le}-tbody > tr:last-child > td`]:{borderBottom:0,"&:first-child, &:last-child":{borderRadius:0}}}}},"> th":{position:"relative",color:bt,fontWeight:ye,textAlign:"start",background:Vt,borderBottom:sa,transition:`background ${Xt} ease`},[`
&${le}-row:hover > th,
&${le}-row:hover > td,
> th${le}-cell-row-hover,
> td${le}-cell-row-hover
`]:{background:xn},[`&${le}-row-selected`]:{"> th, > td":{background:vn},"&:hover > th, &:hover > td":{background:En}}}},[`${le}-footer`]:{padding:`${we}px ${He}px`,color:hn,background:kn}})}};var sl=(0,Aa.Z)("Table",se=>{const{colorTextHeading:le,colorSplit:ye,colorIcon:we,colorIconHover:He,opacityLoading:Ze,colorBgContainer:rt,controlInteractiveSize:at,headerBg:st,headerColor:xt,headerSortActiveBg:ct,headerSortHoverBg:bt,bodySortBg:Xt,rowHoverBg:Vt,rowSelectedBg:Yt,rowSelectedHoverBg:xn,rowExpandedBg:vn,cellPaddingBlock:En,cellPaddingInline:hn,cellPaddingBlockMD:kn,cellPaddingInlineMD:la,cellPaddingBlockSM:sa,cellPaddingInlineSM:Jn,borderColor:Ba,footerBg:Ta,footerColor:Gn,headerBorderRadius:$n,cellFontSize:_n,cellFontSizeMD:In,cellFontSizeSM:Vn,headerSplitColor:Ca,fixedHeaderSortActiveBg:Ka,headerFilterHoverBg:Oa,filterDropdownBg:fa,expandIconBg:Va,selectionColumnWidth:Qa,stickyScrollBarBg:Po}=se,oo=new qn.C(we),Mo=new qn.C(He),To=2,Ra=(0,aa.TS)(se,{tableFontSize:_n,tableBg:rt,tableRadius:$n,tablePaddingVertical:En,tablePaddingHorizontal:hn,tablePaddingVerticalMiddle:kn,tablePaddingHorizontalMiddle:la,tablePaddingVerticalSmall:sa,tablePaddingHorizontalSmall:Jn,tableBorderColor:Ba,tableHeaderTextColor:xt,tableHeaderBg:st,tableFooterTextColor:Gn,tableFooterBg:Ta,tableHeaderCellSplitColor:Ca,tableHeaderSortBg:ct,tableHeaderSortHoverBg:bt,tableHeaderIconColor:oo.clone().setAlpha(oo.getAlpha()*Ze).toRgbString(),tableHeaderIconColorHover:Mo.clone().setAlpha(Mo.getAlpha()*Ze).toRgbString(),tableBodySortBg:Xt,tableFixedHeaderSortActiveBg:Ka,tableHeaderFilterActiveBg:Oa,tableFilterDropdownBg:fa,tableRowHoverBg:Vt,tableSelectedRowBg:Yt,tableSelectedRowHoverBg:xn,zIndexTableFixed:To,zIndexTableSticky:To+1,tableFontSizeMiddle:In,tableFontSizeSmall:Vn,tableSelectionColumnWidth:Qa,tableExpandIconBg:Va,tableExpandColumnWidth:at+2*se.padding,tableExpandedRowBg:vn,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:Po,tableScrollThumbBgHover:le,tableScrollBg:ye});return[ul(Ra),mo(Ra),Hi(Ra),oi(Ra),ma(Ra),La(Ra),So(Ra),Lo(Ra),Hi(Ra),Tn(Ra),Si(Ra),tr(Ra),ll(Ra),Wn(Ra),Ei(Ra),ai(Ra),yi(Ra)]},se=>{const{colorFillAlter:le,colorBgContainer:ye,colorTextHeading:we,colorFillSecondary:He,colorFillContent:Ze,controlItemBgActive:rt,controlItemBgActiveHover:at,padding:st,paddingSM:xt,paddingXS:ct,colorBorderSecondary:bt,borderRadiusLG:Xt,fontSize:Vt,controlHeight:Yt,colorTextPlaceholder:xn}=se,vn=new qn.C(He).onBackground(ye).toHexShortString(),En=new qn.C(Ze).onBackground(ye).toHexShortString(),hn=new qn.C(le).onBackground(ye).toHexShortString();return{headerBg:hn,headerColor:we,headerSortActiveBg:vn,headerSortHoverBg:En,bodySortBg:hn,rowHoverBg:hn,rowSelectedBg:rt,rowSelectedHoverBg:at,rowExpandedBg:le,cellPaddingBlock:st,cellPaddingInline:st,cellPaddingBlockMD:xt,cellPaddingInlineMD:ct,cellPaddingBlockSM:ct,cellPaddingInlineSM:ct,borderColor:bt,headerBorderRadius:Xt,footerBg:hn,footerColor:we,cellFontSize:Vt,cellFontSizeMD:Vt,cellFontSizeSM:Vt,headerSplitColor:bt,fixedHeaderSortActiveBg:vn,headerFilterHoverBg:Ze,filterDropdownMenuBg:ye,filterDropdownBg:ye,expandIconBg:ye,selectionColumnWidth:Yt,stickyScrollBarBg:xn,stickyScrollBarBorderRadius:100}});const dl=[],Gi=(se,le)=>{const{prefixCls:ye,className:we,rootClassName:He,style:Ze,size:rt,bordered:at,dropdownPrefixCls:st,dataSource:xt,pagination:ct,rowSelection:bt,rowKey:Xt="key",rowClassName:Vt,columns:Yt,children:xn,childrenColumnName:vn,onChange:En,getPopupContainer:hn,loading:kn,expandIcon:la,expandable:sa,expandedRowRender:Jn,expandIconColumnIndex:Ba,indentSize:Ta,scroll:Gn,sortDirections:$n,locale:_n,showSorterTooltip:In=!0,virtual:Vn}=se,Ca=re.useMemo(()=>Yt||$e(xn),[Yt,xn]),Ka=re.useMemo(()=>Ca.some(no=>no.responsive),[Ca]),Oa=(0,si.Z)(Ka),fa=re.useMemo(()=>{const no=new Set(Object.keys(Oa).filter(yo=>Oa[yo]));return Ca.filter(yo=>!yo.responsive||yo.responsive.some(ar=>no.has(ar)))},[Ca,Oa]),Va=(0,_r.Z)(se,["className","style","columns"]),{locale:Qa=Yr.Z,direction:Po,table:oo,renderEmpty:Mo,getPrefixCls:To,getPopupContainer:Ra}=re.useContext(Jr.E_),zo=(0,ui.Z)(rt),io=Object.assign(Object.assign({},Qa.Table),_n),Fo=xt||dl,xo=To("table",ye),cr=To("dropdown",st),Sa=Object.assign({childrenColumnName:vn,expandIconColumnIndex:Ba},sa),{childrenColumnName:ha="children"}=Sa,va=re.useMemo(()=>Fo.some(no=>no==null?void 0:no[ha])?"nest":Jn||sa&&sa.expandedRowRender?"row":null,[Fo]),oa={body:re.useRef()},lo=re.useMemo(()=>typeof Xt=="function"?Xt:no=>no==null?void 0:no[Xt],[Xt]),[ra]=el(Fo,ha,lo),Da={},to=function(no,yo){let ar=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;var Io,ir,fr;const vr=Object.assign(Object.assign({},Da),no);ar&&((Io=Da.resetPagination)===null||Io===void 0||Io.call(Da),!((ir=vr.pagination)===null||ir===void 0)&&ir.current&&(vr.pagination.current=1),ct&&ct.onChange&&ct.onChange(1,(fr=vr.pagination)===null||fr===void 0?void 0:fr.pageSize)),Gn&&Gn.scrollToFirstRowOnChange!==!1&&oa.body.current&&(0,Tr.Z)(0,{getContainer:()=>oa.body.current}),En==null||En(vr.pagination,vr.filters,vr.sorter,{currentDataSource:Zi(Ia(Fo,vr.sorterStates,ha),vr.filterStates),action:yo})},$a=(no,yo)=>{to({sorter:no,sorterStates:yo},"sort",!1)},[or,Yo,Ir,jo]=ga({prefixCls:xo,mergedColumns:fa,onSorterChange:$a,sortDirections:$n||["ascend","descend"],tableLocale:io,showSorterTooltip:In}),Cr=re.useMemo(()=>Ia(Fo,Yo,ha),[Fo,Yo]);Da.sorter=jo(),Da.sorterStates=Yo;const Ho=(no,yo)=>{to({filters:no,filterStates:yo},"filter",!0)},[gr,gi,uo]=El({prefixCls:xo,locale:io,dropdownPrefixCls:cr,mergedColumns:fa,onFilterChange:Ho,getPopupContainer:hn||Ra}),so=Zi(Cr,gi);Da.filters=uo,Da.filterStates=gi;const Oo=re.useMemo(()=>{const no={};return Object.keys(uo).forEach(yo=>{uo[yo]!==null&&(no[yo]=uo[yo])}),Object.assign(Object.assign({},Ir),{filters:no})},[Ir,uo]),[Wo]=eo(Oo),Vo=(no,yo)=>{to({pagination:Object.assign(Object.assign({},Da.pagination),{current:no,pageSize:yo})},"paginate")},[Ja,ur]=ol(so.length,Vo,ct);Da.pagination=ct===!1?{}:yl(Ja,ct),Da.resetPagination=ur;const rr=re.useMemo(()=>{if(ct===!1||!Ja.pageSize)return so;const{current:no=1,total:yo,pageSize:ar=vi}=Ja;return so.length<yo?so.length>ar?so.slice((no-1)*ar,no*ar):so:so.slice((no-1)*ar,no*ar)},[!!ct,so,Ja&&Ja.current,Ja&&Ja.pageSize,Ja&&Ja.total]),[Sr,zr]=Vr({prefixCls:xo,data:so,pageData:rr,getRowKey:lo,getRecordByKey:ra,expandType:va,childrenColumnName:ha,locale:io,getPopupContainer:hn||Ra},bt),Mr=(no,yo,ar)=>{let Io;return typeof Vt=="function"?Io=Ie()(Vt(no,yo,ar)):Io=Ie()(Vt),Ie()({[`${xo}-row-selected`]:zr.has(lo(no,yo))},Io)};Sa.__PARENT_RENDER_ICON__=Sa.expandIcon,Sa.expandIcon=Sa.expandIcon||la||Rn(io),va==="nest"&&Sa.expandIconColumnIndex===void 0?Sa.expandIconColumnIndex=bt?1:0:Sa.expandIconColumnIndex>0&&bt&&(Sa.expandIconColumnIndex-=1),typeof Sa.indentSize!="number"&&(Sa.indentSize=typeof Ta=="number"?Ta:15);const Ii=re.useCallback(no=>Wo(Sr(gr(or(no)))),[or,gr,Sr]);let Ur,br;if(ct!==!1&&(Ja!=null&&Ja.total)){let no;Ja.size?no=Ja.size:no=zo==="small"||zo==="middle"?"small":void 0;const yo=ir=>re.createElement($r.Z,Object.assign({},Ja,{className:Ie()(`${xo}-pagination ${xo}-pagination-${ir}`,Ja.className),size:no})),ar=Po==="rtl"?"left":"right",{position:Io}=Ja;if(Io!==null&&Array.isArray(Io)){const ir=Io.find(Qr=>Qr.includes("top")),fr=Io.find(Qr=>Qr.includes("bottom")),vr=Io.every(Qr=>`${Qr}`=="none");!ir&&!fr&&!vr&&(br=yo(ar)),ir&&(Ur=yo(ir.toLowerCase().replace("top",""))),fr&&(br=yo(fr.toLowerCase().replace("bottom","")))}else br=yo(ar)}let mr;typeof kn=="boolean"?mr={spinning:kn}:typeof kn=="object"&&(mr=Object.assign({spinning:!0},kn));const[sr,Uo]=sl(xo),[,No]=(0,bn.Z)(),jr=Ie()(`${xo}-wrapper`,oo==null?void 0:oo.className,{[`${xo}-wrapper-rtl`]:Po==="rtl"},we,He,Uo),mi=Object.assign(Object.assign({},oo==null?void 0:oo.style),Ze),ri=_n&&_n.emptyText||(Mo==null?void 0:Mo("Table"))||re.createElement(Xr.Z,{componentName:"Table"}),Hr=Vn?Bn:Za,Wi={},cl=re.useMemo(()=>{const{fontSize:no,lineHeight:yo,padding:ar,paddingXS:Io,paddingSM:ir}=No,fr=Math.floor(no*yo);switch(zo){case"large":return ar*2+fr;case"small":return Io*2+fr;default:return ir*2+fr}},[No,zo]);return Vn&&(Wi.listItemHeight=cl),sr(re.createElement("div",{ref:le,className:jr,style:mi},re.createElement(na.Z,Object.assign({spinning:!1},mr),Ur,re.createElement(Hr,Object.assign({},Wi,Va,{columns:fa,direction:Po,expandable:Sa,prefixCls:xo,className:Ie()({[`${xo}-middle`]:zo==="middle",[`${xo}-small`]:zo==="small",[`${xo}-bordered`]:at,[`${xo}-empty`]:Fo.length===0}),data:rr,rowKey:lo,rowClassName:Mr,emptyText:ri,internalHooks:ie,internalRefs:oa,transformColumns:Ii})),br)))};var _i=re.forwardRef(Gi);const Ki=(se,le)=>{const ye=re.useRef(0);return ye.current+=1,re.createElement(_i,Object.assign({},se,{ref:le,_renderTimes:ye.current}))},ht=re.forwardRef(Ki);ht.SELECTION_COLUMN=Zr,ht.EXPAND_COLUMN=z,ht.SELECTION_ALL=wi,ht.SELECTION_INVERT=pi,ht.SELECTION_NONE=Di,ht.Column=Ar,ht.ColumnGroup=Gr,ht.Summary=pe;var Mn=ht,za=Mn},12563:function(ft,vt,ne){"use strict";ne.d(vt,{default:function(){return Fe}});var z=ne(59301),ie=ne(99267),Pe=ne(92310),Me=ne.n(Pe),be=ne(36785),xe=ne(47729),re=ne(14088),De=ne(36355),Ne=ne(17313),Ae=ne(37613),Le=ne(83116);const je=ge=>{const{paddingXXS:Je,lineWidth:Ie,tagPaddingHorizontal:Ue,componentCls:ze}=ge,Ke=Ue-Ie,lt=Je-Ie;return{[ze]:Object.assign(Object.assign({},(0,Ne.Wf)(ge)),{display:"inline-block",height:"auto",marginInlineEnd:ge.marginXS,paddingInline:Ke,fontSize:ge.tagFontSize,lineHeight:ge.tagLineHeight,whiteSpace:"nowrap",background:ge.defaultBg,border:`${ge.lineWidth}px ${ge.lineType} ${ge.colorBorder}`,borderRadius:ge.borderRadiusSM,opacity:1,transition:`all ${ge.motionDurationMid}`,textAlign:"start",position:"relative",[`&${ze}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:ge.defaultColor},[`${ze}-close-icon`]:{marginInlineStart:lt,color:ge.colorTextDescription,fontSize:ge.tagIconSize,cursor:"pointer",transition:`all ${ge.motionDurationMid}`,"&:hover":{color:ge.colorTextHeading}},[`&${ze}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${ge.iconCls}-close, ${ge.iconCls}-close:hover`]:{color:ge.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${ze}-checkable-checked):hover`]:{color:ge.colorPrimary,backgroundColor:ge.colorFillSecondary},"&:active, &-checked":{color:ge.colorTextLightSolid},"&-checked":{backgroundColor:ge.colorPrimary,"&:hover":{backgroundColor:ge.colorPrimaryHover}},"&:active":{backgroundColor:ge.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${ge.iconCls} + span, > span + ${ge.iconCls}`]:{marginInlineStart:Ke}}),[`${ze}-borderless`]:{borderColor:"transparent",background:ge.tagBorderlessBg}}},Ee=ge=>{const{lineWidth:Je,fontSizeIcon:Ie}=ge,Ue=ge.fontSizeSM,ze=`${ge.lineHeightSM*Ue}px`;return(0,Ae.TS)(ge,{tagFontSize:Ue,tagLineHeight:ze,tagIconSize:Ie-2*Je,tagPaddingHorizontal:8,tagBorderlessBg:ge.colorFillTertiary})},oe=ge=>({defaultBg:ge.colorFillQuaternary,defaultColor:ge.colorText});var E=(0,Le.Z)("Tag",ge=>{const Je=Ee(ge);return je(Je)},oe),a=function(ge,Je){var Ie={};for(var Ue in ge)Object.prototype.hasOwnProperty.call(ge,Ue)&&Je.indexOf(Ue)<0&&(Ie[Ue]=ge[Ue]);if(ge!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ze=0,Ue=Object.getOwnPropertySymbols(ge);ze<Ue.length;ze++)Je.indexOf(Ue[ze])<0&&Object.prototype.propertyIsEnumerable.call(ge,Ue[ze])&&(Ie[Ue[ze]]=ge[Ue[ze]]);return Ie},y=ge=>{const{prefixCls:Je,style:Ie,className:Ue,checked:ze,onChange:Ke,onClick:lt}=ge,St=a(ge,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:ot,tag:Bt}=z.useContext(De.E_),Qe=gt=>{Ke==null||Ke(!ze),lt==null||lt(gt)},yt=ot("tag",Je),[Ft,Te]=E(yt),Ge=Me()(yt,`${yt}-checkable`,{[`${yt}-checkable-checked`]:ze},Bt==null?void 0:Bt.className,Ue,Te);return Ft(z.createElement("span",Object.assign({},St,{style:Object.assign(Object.assign({},Ie),Bt==null?void 0:Bt.style),className:Ge,onClick:Qe})))},x=ne(45157);const ee=ge=>(0,x.Z)(ge,(Je,Ie)=>{let{textColor:Ue,lightBorderColor:ze,lightColor:Ke,darkColor:lt}=Ie;return{[`${ge.componentCls}-${Je}`]:{color:Ue,background:Ke,borderColor:ze,"&-inverse":{color:ge.colorTextLightSolid,background:lt,borderColor:lt},[`&${ge.componentCls}-borderless`]:{borderColor:"transparent"}}}});var te=(0,Le.b)(["Tag","preset"],ge=>{const Je=Ee(ge);return ee(Je)},oe);function ae(ge){return typeof ge!="string"?ge:ge.charAt(0).toUpperCase()+ge.slice(1)}const ue=(ge,Je,Ie)=>{const Ue=ae(Ie);return{[`${ge.componentCls}-${Je}`]:{color:ge[`color${Ie}`],background:ge[`color${Ue}Bg`],borderColor:ge[`color${Ue}Border`],[`&${ge.componentCls}-borderless`]:{borderColor:"transparent"}}}};var de=(0,Le.b)(["Tag","status"],ge=>{const Je=Ee(ge);return[ue(Je,"success","Success"),ue(Je,"processing","Info"),ue(Je,"error","Error"),ue(Je,"warning","Warning")]},oe),me=function(ge,Je){var Ie={};for(var Ue in ge)Object.prototype.hasOwnProperty.call(ge,Ue)&&Je.indexOf(Ue)<0&&(Ie[Ue]=ge[Ue]);if(ge!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ze=0,Ue=Object.getOwnPropertySymbols(ge);ze<Ue.length;ze++)Je.indexOf(Ue[ze])<0&&Object.prototype.propertyIsEnumerable.call(ge,Ue[ze])&&(Ie[Ue[ze]]=ge[Ue[ze]]);return Ie};const Be=(ge,Je)=>{const{prefixCls:Ie,className:Ue,rootClassName:ze,style:Ke,children:lt,icon:St,color:ot,onClose:Bt,closeIcon:Qe,closable:yt,bordered:Ft=!0}=ge,Te=me(ge,["prefixCls","className","rootClassName","style","children","icon","color","onClose","closeIcon","closable","bordered"]),{getPrefixCls:Ge,direction:gt,tag:Zt}=z.useContext(De.E_),[mt,Ot]=z.useState(!0);z.useEffect(()=>{"visible"in Te&&Ot(Te.visible)},[Te.visible]);const Se=(0,be.o2)(ot),Ct=(0,be.yT)(ot),Jt=Se||Ct,Pt=Object.assign(Object.assign({backgroundColor:ot&&!Jt?ot:void 0},Zt==null?void 0:Zt.style),Ke),ut=Ge("tag",Ie),[We,Re]=E(ut),he=Me()(ut,Zt==null?void 0:Zt.className,{[`${ut}-${ot}`]:Jt,[`${ut}-has-color`]:ot&&!Jt,[`${ut}-hidden`]:!mt,[`${ut}-rtl`]:gt==="rtl",[`${ut}-borderless`]:!Ft},Ue,ze,Re),ce=ke=>{ke.stopPropagation(),Bt==null||Bt(ke),!ke.defaultPrevented&&Ot(!1)},[,_e]=(0,xe.Z)(yt,Qe,ke=>ke===null?z.createElement(ie.Z,{className:`${ut}-close-icon`,onClick:ce}):z.createElement("span",{className:`${ut}-close-icon`,onClick:ce},ke),null,!1),it=typeof Te.onClick=="function"||lt&&lt.type==="a",pe=St||null,fe=pe?z.createElement(z.Fragment,null,pe,lt&&z.createElement("span",null,lt)):lt,Xe=z.createElement("span",Object.assign({},Te,{ref:Je,className:he,style:Pt}),fe,_e,Se&&z.createElement(te,{key:"preset",prefixCls:ut}),Ct&&z.createElement(de,{key:"status",prefixCls:ut}));return We(it?z.createElement(re.Z,{component:"Tag"},Xe):Xe)},ve=z.forwardRef(Be);ve.CheckableTag=y;var Fe=ve},17574:function(ft,vt,ne){"use strict";ne.d(vt,{default:function(){return ot}});var z=ne(60091),ie=ne(94480),Pe=ne(52671),Me=ne(8657),be=ne(54476),xe=ne(59301),re={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 298.4H521L403.7 186.2a8.15 8.15 0 00-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32zM840 768H184V256h188.5l119.6 114.4H840V768z"}}]},name:"folder",theme:"outlined"},De=re,Ne=ne(7657),Ae=function(Qe,yt){return xe.createElement(Ne.Z,(0,be.Z)({},Qe,{ref:yt,icon:De}))},Le=xe.forwardRef(Ae),je=Le,Ee=ne(92310),oe=ne.n(Ee),E=ne(35654),a=ne(71430),b=ne(36355),y=ne(56082),x=ne(62892),ee=ne(20648);const te=4;function ae(Bt){const{dropPosition:Qe,dropLevelOffset:yt,prefixCls:Ft,indent:Te,direction:Ge="ltr"}=Bt,gt=Ge==="ltr"?"left":"right",Zt=Ge==="ltr"?"right":"left",mt={[gt]:-yt*Te+te,[Zt]:0};switch(Qe){case-1:mt.top=-3;break;case 1:mt.bottom=-3;break;default:mt.bottom=-3,mt[gt]=Te+te;break}return xe.createElement("div",{style:mt,className:`${Ft}-drop-indicator`})}var ue=ne(71997),me=xe.forwardRef((Bt,Qe)=>{const{getPrefixCls:yt,direction:Ft,virtual:Te,tree:Ge}=xe.useContext(b.E_),{prefixCls:gt,className:Zt,showIcon:mt=!1,showLine:Ot,switcherIcon:Se,blockNode:Ct=!1,children:Jt,checkable:Pt=!1,selectable:ut=!0,draggable:We,motion:Re,style:he}=Bt,ce=yt("tree",gt),_e=yt(),it=Re!=null?Re:Object.assign(Object.assign({},(0,x.Z)(_e)),{motionAppear:!1}),pe=Object.assign(Object.assign({},Bt),{checkable:Pt,selectable:ut,showIcon:mt,motion:it,blockNode:Ct,showLine:!!Ot,dropIndicatorRender:ae}),[fe,Xe]=(0,ee.ZP)(ce),ke=xe.useMemo(()=>{if(!We)return!1;let tt={};switch(typeof We){case"function":tt.nodeDraggable=We;break;case"object":tt=Object.assign({},We);break;default:break}return tt.icon!==!1&&(tt.icon=tt.icon||xe.createElement(y.Z,null)),tt},[We]),Ce=tt=>xe.createElement(ue.Z,{prefixCls:ce,switcherIcon:Se,treeNodeProps:tt,showLine:Ot});return fe(xe.createElement(z.Z,Object.assign({itemHeight:20,ref:Qe,virtual:Te},pe,{style:Object.assign(Object.assign({},Ge==null?void 0:Ge.style),he),prefixCls:ce,className:oe()({[`${ce}-icon-hide`]:!mt,[`${ce}-block-node`]:Ct,[`${ce}-unselectable`]:!ut,[`${ce}-rtl`]:Ft==="rtl"},Ge==null?void 0:Ge.className,Zt,Xe),direction:Ft,checkable:Pt&&xe.createElement("span",{className:`${ce}-checkbox-inner`}),selectable:ut,switcherIcon:Ce,draggable:ke}),Jt))}),Be;(function(Bt){Bt[Bt.None=0]="None",Bt[Bt.Start=1]="Start",Bt[Bt.End=2]="End"})(Be||(Be={}));function ve(Bt,Qe){function yt(Ft){const{key:Te,children:Ge}=Ft;Qe(Te,Ft)!==!1&&ve(Ge||[],Qe)}Bt.forEach(yt)}function Fe(Bt){let{treeData:Qe,expandedKeys:yt,startKey:Ft,endKey:Te}=Bt;const Ge=[];let gt=Be.None;if(Ft&&Ft===Te)return[Ft];if(!Ft||!Te)return[];function Zt(mt){return mt===Ft||mt===Te}return ve(Qe,mt=>{if(gt===Be.End)return!1;if(Zt(mt)){if(Ge.push(mt),gt===Be.None)gt=Be.Start;else if(gt===Be.Start)return gt=Be.End,!1}else gt===Be.Start&&Ge.push(mt);return yt.includes(mt)}),Ge}function ge(Bt,Qe){const yt=(0,ie.Z)(Qe),Ft=[];return ve(Bt,(Te,Ge)=>{const gt=yt.indexOf(Te);return gt!==-1&&(Ft.push(Ge),yt.splice(gt,1)),!!yt.length}),Ft}var Je=function(Bt,Qe){var yt={};for(var Ft in Bt)Object.prototype.hasOwnProperty.call(Bt,Ft)&&Qe.indexOf(Ft)<0&&(yt[Ft]=Bt[Ft]);if(Bt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Te=0,Ft=Object.getOwnPropertySymbols(Bt);Te<Ft.length;Te++)Qe.indexOf(Ft[Te])<0&&Object.prototype.propertyIsEnumerable.call(Bt,Ft[Te])&&(yt[Ft[Te]]=Bt[Ft[Te]]);return yt};function Ie(Bt){const{isLeaf:Qe,expanded:yt}=Bt;return Qe?xe.createElement(Pe.Z,null):yt?xe.createElement(Me.Z,null):xe.createElement(je,null)}function Ue(Bt){let{treeData:Qe,children:yt}=Bt;return Qe||(0,a.zn)(yt)}const ze=(Bt,Qe)=>{var{defaultExpandAll:yt,defaultExpandParent:Ft,defaultExpandedKeys:Te}=Bt,Ge=Je(Bt,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);const gt=xe.useRef(),Zt=xe.useRef(),mt=()=>{const{keyEntities:ke}=(0,a.I8)(Ue(Ge));let Ce;return yt?Ce=Object.keys(ke):Ft?Ce=(0,E.r7)(Ge.expandedKeys||Te||[],ke):Ce=Ge.expandedKeys||Te,Ce},[Ot,Se]=xe.useState(Ge.selectedKeys||Ge.defaultSelectedKeys||[]),[Ct,Jt]=xe.useState(()=>mt());xe.useEffect(()=>{"selectedKeys"in Ge&&Se(Ge.selectedKeys)},[Ge.selectedKeys]),xe.useEffect(()=>{"expandedKeys"in Ge&&Jt(Ge.expandedKeys)},[Ge.expandedKeys]);const Pt=(ke,Ce)=>{var tt;return"expandedKeys"in Ge||Jt(ke),(tt=Ge.onExpand)===null||tt===void 0?void 0:tt.call(Ge,ke,Ce)},ut=(ke,Ce)=>{var tt;const{multiple:Rt}=Ge,{node:dt,nativeEvent:wt}=Ce,{key:At=""}=dt,zt=Ue(Ge),pt=Object.assign(Object.assign({},Ce),{selected:!0}),en=(wt==null?void 0:wt.ctrlKey)||(wt==null?void 0:wt.metaKey),nn=wt==null?void 0:wt.shiftKey;let Tt;Rt&&en?(Tt=ke,gt.current=At,Zt.current=Tt,pt.selectedNodes=ge(zt,Tt)):Rt&&nn?(Tt=Array.from(new Set([].concat((0,ie.Z)(Zt.current||[]),(0,ie.Z)(Fe({treeData:zt,expandedKeys:Ct,startKey:At,endKey:gt.current}))))),pt.selectedNodes=ge(zt,Tt)):(Tt=[At],gt.current=At,Zt.current=Tt,pt.selectedNodes=ge(zt,Tt)),(tt=Ge.onSelect)===null||tt===void 0||tt.call(Ge,Tt,pt),"selectedKeys"in Ge||Se(Tt)},{getPrefixCls:We,direction:Re}=xe.useContext(b.E_),{prefixCls:he,className:ce,showIcon:_e=!0,expandAction:it="click"}=Ge,pe=Je(Ge,["prefixCls","className","showIcon","expandAction"]),fe=We("tree",he),Xe=oe()(`${fe}-directory`,{[`${fe}-directory-rtl`]:Re==="rtl"},ce);return xe.createElement(me,Object.assign({icon:Ie,ref:Qe,blockNode:!0},pe,{showIcon:_e,expandAction:it,prefixCls:fe,className:Xe,expandedKeys:Ct,selectedKeys:Ot,onSelect:ut,onExpand:Pt}))};var lt=xe.forwardRef(ze);const St=me;St.DirectoryTree=lt,St.TreeNode=z.O;var ot=St},20648:function(ft,vt,ne){"use strict";ne.d(vt,{TM:function(){return Ee},Yk:function(){return je}});var z=ne(36237),ie=ne(98447),Pe=ne(17313),Me=ne(8378),be=ne(37613),xe=ne(83116);const re=new z.Keyframes("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),De=(oe,E)=>({[`.${oe}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${E.motionDurationSlow}`}}}),Ne=(oe,E)=>({[`.${oe}-drop-indicator`]:{position:"absolute",zIndex:1,height:2,backgroundColor:E.colorPrimary,borderRadius:1,pointerEvents:"none","&:after":{position:"absolute",top:-3,insetInlineStart:-6,width:8,height:8,backgroundColor:"transparent",border:`${E.lineWidthBold}px solid ${E.colorPrimary}`,borderRadius:"50%",content:'""'}}}),Ae=(oe,E)=>{const{treeCls:a,treeNodeCls:b,treeNodePadding:y,titleHeight:x,nodeSelectedBg:ee,nodeHoverBg:te}=E,ae=E.paddingXS;return{[a]:Object.assign(Object.assign({},(0,Pe.Wf)(E)),{background:E.colorBgContainer,borderRadius:E.borderRadius,transition:`background-color ${E.motionDurationSlow}`,[`&${a}-rtl`]:{[`${a}-switcher`]:{"&_close":{[`${a}-switcher-icon`]:{svg:{transform:"rotate(90deg)"}}}}},[`&-focused:not(:hover):not(${a}-active-focused)`]:Object.assign({},(0,Pe.oN)(E)),[`${a}-list-holder-inner`]:{alignItems:"flex-start"},[`&${a}-block-node`]:{[`${a}-list-holder-inner`]:{alignItems:"stretch",[`${a}-node-content-wrapper`]:{flex:"auto"},[`${b}.dragging`]:{position:"relative","&:after":{position:"absolute",top:0,insetInlineEnd:0,bottom:y,insetInlineStart:0,border:`1px solid ${E.colorPrimary}`,opacity:0,animationName:re,animationDuration:E.motionDurationSlow,animationPlayState:"running",animationFillMode:"forwards",content:'""',pointerEvents:"none"}}}},[`${b}`]:{display:"flex",alignItems:"flex-start",padding:`0 0 ${y}px 0`,outline:"none","&-rtl":{direction:"rtl"},"&-disabled":{[`${a}-node-content-wrapper`]:{color:E.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"}}},[`&-active ${a}-node-content-wrapper`]:Object.assign({},(0,Pe.oN)(E)),[`&:not(${b}-disabled).filter-node ${a}-title`]:{color:"inherit",fontWeight:500},"&-draggable":{[`${a}-draggable-icon`]:{flexShrink:0,width:x,lineHeight:`${x}px`,textAlign:"center",visibility:"visible",opacity:.2,transition:`opacity ${E.motionDurationSlow}`,[`${b}:hover &`]:{opacity:.45}},[`&${b}-disabled`]:{[`${a}-draggable-icon`]:{visibility:"hidden"}}}},[`${a}-indent`]:{alignSelf:"stretch",whiteSpace:"nowrap",userSelect:"none","&-unit":{display:"inline-block",width:x}},[`${a}-draggable-icon`]:{visibility:"hidden"},[`${a}-switcher`]:Object.assign(Object.assign({},De(oe,E)),{position:"relative",flex:"none",alignSelf:"stretch",width:x,margin:0,lineHeight:`${x}px`,textAlign:"center",cursor:"pointer",userSelect:"none","&-noop":{cursor:"default"},"&_close":{[`${a}-switcher-icon`]:{svg:{transform:"rotate(-90deg)"}}},"&-loading-icon":{color:E.colorPrimary},"&-leaf-line":{position:"relative",zIndex:1,display:"inline-block",width:"100%",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:x/2,bottom:-y,marginInlineStart:-1,borderInlineEnd:`1px solid ${E.colorBorder}`,content:'""'},"&:after":{position:"absolute",width:x/2*.8,height:x/2,borderBottom:`1px solid ${E.colorBorder}`,content:'""'}}}),[`${a}-checkbox`]:{top:"initial",marginInlineEnd:ae},[`${a}-node-content-wrapper, ${a}-checkbox + span`]:{position:"relative",zIndex:"auto",minHeight:x,margin:0,padding:`0 ${E.paddingXS/2}px`,color:"inherit",lineHeight:`${x}px`,background:"transparent",borderRadius:E.borderRadius,cursor:"pointer",transition:`all ${E.motionDurationMid}, border 0s, line-height 0s, box-shadow 0s`,"&:hover":{backgroundColor:te},[`&${a}-node-selected`]:{backgroundColor:ee},[`${a}-iconEle`]:{display:"inline-block",width:x,height:x,lineHeight:`${x}px`,textAlign:"center",verticalAlign:"top","&:empty":{display:"none"}}},[`${a}-unselectable ${a}-node-content-wrapper:hover`]:{backgroundColor:"transparent"},[`${a}-node-content-wrapper`]:Object.assign({lineHeight:`${x}px`,userSelect:"none"},Ne(oe,E)),[`${b}.drop-container`]:{"> [draggable]":{boxShadow:`0 0 0 2px ${E.colorPrimary}`}},"&-show-line":{[`${a}-indent`]:{"&-unit":{position:"relative",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:x/2,bottom:-y,borderInlineEnd:`1px solid ${E.colorBorder}`,content:'""'},"&-end":{"&:before":{display:"none"}}}},[`${a}-switcher`]:{background:"transparent","&-line-icon":{verticalAlign:"-0.15em"}}},[`${b}-leaf-last`]:{[`${a}-switcher`]:{"&-leaf-line":{"&:before":{top:"auto !important",bottom:"auto !important",height:`${x/2}px !important`}}}}})}},Le=oe=>{const{treeCls:E,treeNodeCls:a,treeNodePadding:b,directoryNodeSelectedBg:y,directoryNodeSelectedColor:x}=oe;return{[`${E}${E}-directory`]:{[a]:{position:"relative","&:before":{position:"absolute",top:0,insetInlineEnd:0,bottom:b,insetInlineStart:0,transition:`background-color ${oe.motionDurationMid}`,content:'""',pointerEvents:"none"},"&:hover":{"&:before":{background:oe.controlItemBgHover}},"> *":{zIndex:1},[`${E}-switcher`]:{transition:`color ${oe.motionDurationMid}`},[`${E}-node-content-wrapper`]:{borderRadius:0,userSelect:"none","&:hover":{background:"transparent"},[`&${E}-node-selected`]:{color:x,background:"transparent"}},"&-selected":{"\n &:hover::before,\n &::before\n ":{background:y},[`${E}-switcher`]:{color:x},[`${E}-node-content-wrapper`]:{color:x,background:"transparent"}}}}}},je=(oe,E)=>{const a=`.${oe}`,b=`${a}-treenode`,y=E.paddingXS/2,x=(0,be.TS)(E,{treeCls:a,treeNodeCls:b,treeNodePadding:y});return[Ae(oe,x),Le(x)]},Ee=oe=>{const{controlHeightSM:E}=oe;return{titleHeight:E,nodeHoverBg:oe.controlItemBgHover,nodeSelectedBg:oe.controlItemBgActive}};vt.ZP=(0,xe.Z)("Tree",(oe,E)=>{let{prefixCls:a}=E;return[{[oe.componentCls]:(0,ie.C2)(`${a}-checkbox`,oe)},je(a,oe),(0,Me.Z)(oe)]},oe=>{const{colorTextLightSolid:E,colorPrimary:a}=oe;return Object.assign(Object.assign({},Ee(oe)),{directoryNodeSelectedColor:E,directoryNodeSelectedBg:a})})},71997:function(ft,vt,ne){"use strict";ne.d(vt,{Z:function(){return b}});var z=ne(54476),ie=ne(59301),Pe={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"filled"},Me=Pe,be=ne(7657),xe=function(x,ee){return ie.createElement(be.Z,(0,z.Z)({},x,{ref:ee,icon:Me}))},re=ie.forwardRef(xe),De=re,Ne=ne(52671),Ae=ne(58617),Le=ne(15075),je=ne(43531),Ee=ne(92310),oe=ne.n(Ee),E=ne(92343),b=y=>{const{prefixCls:x,switcherIcon:ee,treeNodeProps:te,showLine:ae}=y,{isLeaf:ue,expanded:de,loading:me}=te;if(me)return ie.createElement(Ae.Z,{className:`${x}-switcher-loading-icon`});let Be;if(ae&&typeof ae=="object"&&(Be=ae.showLeafIcon),ue){if(!ae)return null;if(typeof Be!="boolean"&&Be){const ge=typeof Be=="function"?Be(te):Be,Je=`${x}-switcher-line-custom-icon`;return(0,E.l$)(ge)?(0,E.Tm)(ge,{className:oe()(ge.props.className||"",Je)}):ge}return Be?ie.createElement(Ne.Z,{className:`${x}-switcher-line-icon`}):ie.createElement("span",{className:`${x}-switcher-leaf-line`})}const ve=`${x}-switcher-icon`,Fe=typeof ee=="function"?ee(te):ee;return(0,E.l$)(Fe)?(0,E.Tm)(Fe,{className:oe()(Fe.props.className||"",ve)}):Fe!==void 0?Fe:ae?de?ie.createElement(Le.Z,{className:`${x}-switcher-line-icon`}):ie.createElement(je.Z,{className:`${x}-switcher-line-icon`}):ie.createElement(De,{className:ve})}},24334:function(ft,vt,ne){var z,ie;(function(Pe,Me){ft.exports=Me(Pe)})(typeof self!="undefined"?self:typeof window!="undefined"?window:typeof ne.g!="undefined"?ne.g:this,function(Pe){"use strict";Pe=Pe||{};var Me=Pe.Base64,be="2.6.4",xe="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",re=function(Ie){for(var Ue={},ze=0,Ke=Ie.length;ze<Ke;ze++)Ue[Ie.charAt(ze)]=ze;return Ue}(xe),De=String.fromCharCode,Ne=function(Ie){if(Ie.length<2){var Ue=Ie.charCodeAt(0);return Ue<128?Ie:Ue<2048?De(192|Ue>>>6)+De(128|Ue&63):De(224|Ue>>>12&15)+De(128|Ue>>>6&63)+De(128|Ue&63)}else{var Ue=65536+(Ie.charCodeAt(0)-55296)*1024+(Ie.charCodeAt(1)-56320);return De(240|Ue>>>18&7)+De(128|Ue>>>12&63)+De(128|Ue>>>6&63)+De(128|Ue&63)}},Ae=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,Le=function(Ie){return Ie.replace(Ae,Ne)},je=function(Ie){var Ue=[0,2,1][Ie.length%3],ze=Ie.charCodeAt(0)<<16|(Ie.length>1?Ie.charCodeAt(1):0)<<8|(Ie.length>2?Ie.charCodeAt(2):0),Ke=[xe.charAt(ze>>>18),xe.charAt(ze>>>12&63),Ue>=2?"=":xe.charAt(ze>>>6&63),Ue>=1?"=":xe.charAt(ze&63)];return Ke.join("")},Ee=Pe.btoa&&typeof Pe.btoa=="function"?function(Ie){return Pe.btoa(Ie)}:function(Ie){if(Ie.match(/[^\x00-\xFF]/))throw new RangeError("The string contains invalid characters.");return Ie.replace(/[\s\S]{1,3}/g,je)},oe=function(Ie){return Ee(Le(String(Ie)))},E=function(Ie){return Ie.replace(/[+\/]/g,function(Ue){return Ue=="+"?"-":"_"}).replace(/=/g,"")},a=function(Ie,Ue){return Ue?E(oe(Ie)):oe(Ie)},b=function(Ie){return a(Ie,!0)},y;Pe.Uint8Array&&(y=function(Ie,Ue){for(var ze="",Ke=0,lt=Ie.length;Ke<lt;Ke+=3){var St=Ie[Ke],ot=Ie[Ke+1],Bt=Ie[Ke+2],Qe=St<<16|ot<<8|Bt;ze+=xe.charAt(Qe>>>18)+xe.charAt(Qe>>>12&63)+(typeof ot!="undefined"?xe.charAt(Qe>>>6&63):"=")+(typeof Bt!="undefined"?xe.charAt(Qe&63):"=")}return Ue?E(ze):ze});var x=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,ee=function(Ie){switch(Ie.length){case 4:var Ue=(7&Ie.charCodeAt(0))<<18|(63&Ie.charCodeAt(1))<<12|(63&Ie.charCodeAt(2))<<6|63&Ie.charCodeAt(3),ze=Ue-65536;return De((ze>>>10)+55296)+De((ze&1023)+56320);case 3:return De((15&Ie.charCodeAt(0))<<12|(63&Ie.charCodeAt(1))<<6|63&Ie.charCodeAt(2));default:return De((31&Ie.charCodeAt(0))<<6|63&Ie.charCodeAt(1))}},te=function(Ie){return Ie.replace(x,ee)},ae=function(Ie){var Ue=Ie.length,ze=Ue%4,Ke=(Ue>0?re[Ie.charAt(0)]<<18:0)|(Ue>1?re[Ie.charAt(1)]<<12:0)|(Ue>2?re[Ie.charAt(2)]<<6:0)|(Ue>3?re[Ie.charAt(3)]:0),lt=[De(Ke>>>16),De(Ke>>>8&255),De(Ke&255)];return lt.length-=[0,0,2,1][ze],lt.join("")},ue=Pe.atob&&typeof Pe.atob=="function"?function(Ie){return Pe.atob(Ie)}:function(Ie){return Ie.replace(/\S{1,4}/g,ae)},de=function(Ie){return ue(String(Ie).replace(/[^A-Za-z0-9\+\/]/g,""))},me=function(Ie){return te(ue(Ie))},Be=function(Ie){return String(Ie).replace(/[-_]/g,function(Ue){return Ue=="-"?"+":"/"}).replace(/[^A-Za-z0-9\+\/]/g,"")},ve=function(Ie){return me(Be(Ie))},Fe;Pe.Uint8Array&&(Fe=function(Ie){return Uint8Array.from(de(Be(Ie)),function(Ue){return Ue.charCodeAt(0)})});var ge=function(){var Ie=Pe.Base64;return Pe.Base64=Me,Ie};if(Pe.Base64={VERSION:be,atob:de,btoa:Ee,fromBase64:ve,toBase64:a,utob:Le,encode:a,encodeURI:b,btou:te,decode:ve,noConflict:ge,fromUint8Array:y,toUint8Array:Fe},typeof Object.defineProperty=="function"){var Je=function(Ie){return{value:Ie,enumerable:!1,writable:!0,configurable:!0}};Pe.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",Je(function(){return ve(this)})),Object.defineProperty(String.prototype,"toBase64",Je(function(Ie){return a(this,Ie)})),Object.defineProperty(String.prototype,"toBase64URI",Je(function(){return a(this,!0)}))}}return Pe.Meteor&&(Base64=Pe.Base64),ft.exports?ft.exports.Base64=Pe.Base64:(z=[],ie=function(){return Pe.Base64}.apply(vt,z),ie!==void 0&&(ft.exports=ie)),{Base64:Pe.Base64}})},39417:function(ft,vt,ne){"use strict";ne.d(vt,{Z:function(){return me}});var z=ne(54476),ie=ne(20068),Pe=ne(75931),Me=ne(33885),be=ne(67732),xe=ne(83652),re=ne(31226),De=ne(42403),Ne=ne(158),Ae=ne(92310),Le=ne.n(Ae),je=ne(26112),Ee=ne(59301),oe=ne(39378),E=function(ve){for(var Fe=ve.prefixCls,ge=ve.level,Je=ve.isStart,Ie=ve.isEnd,Ue="".concat(Fe,"-indent-unit"),ze=[],Ke=0;Ke<ge;Ke+=1){var lt;ze.push(Ee.createElement("span",{key:Ke,className:Le()(Ue,(lt={},(0,ie.Z)(lt,"".concat(Ue,"-start"),Je[Ke]),(0,ie.Z)(lt,"".concat(Ue,"-end"),Ie[Ke]),lt))}))}return Ee.createElement("span",{"aria-hidden":"true",className:"".concat(Fe,"-indent")},ze)},a=Ee.memo(E),b=ne(67841),y=ne(71430),x=["eventKey","className","style","dragOver","dragOverGapTop","dragOverGapBottom","isLeaf","isStart","isEnd","expanded","selected","checked","halfChecked","loading","domRef","active","data","onMouseMove","selectable"],ee="open",te="close",ae="---",ue=function(Be){(0,De.Z)(Fe,Be);var ve=(0,Ne.Z)(Fe);function Fe(){var ge;(0,be.Z)(this,Fe);for(var Je=arguments.length,Ie=new Array(Je),Ue=0;Ue<Je;Ue++)Ie[Ue]=arguments[Ue];return ge=ve.call.apply(ve,[this].concat(Ie)),ge.state={dragNodeHighlight:!1},ge.selectHandle=void 0,ge.cacheIndent=void 0,ge.onSelectorClick=function(ze){var Ke=ge.props.context.onNodeClick;Ke(ze,(0,y.F)(ge.props)),ge.isSelectable()?ge.onSelect(ze):ge.onCheck(ze)},ge.onSelectorDoubleClick=function(ze){var Ke=ge.props.context.onNodeDoubleClick;Ke(ze,(0,y.F)(ge.props))},ge.onSelect=function(ze){if(!ge.isDisabled()){var Ke=ge.props.context.onNodeSelect;Ke(ze,(0,y.F)(ge.props))}},ge.onCheck=function(ze){if(!ge.isDisabled()){var Ke=ge.props,lt=Ke.disableCheckbox,St=Ke.checked,ot=ge.props.context.onNodeCheck;if(!(!ge.isCheckable()||lt)){var Bt=!St;ot(ze,(0,y.F)(ge.props),Bt)}}},ge.onMouseEnter=function(ze){var Ke=ge.props.context.onNodeMouseEnter;Ke(ze,(0,y.F)(ge.props))},ge.onMouseLeave=function(ze){var Ke=ge.props.context.onNodeMouseLeave;Ke(ze,(0,y.F)(ge.props))},ge.onContextMenu=function(ze){var Ke=ge.props.context.onNodeContextMenu;Ke(ze,(0,y.F)(ge.props))},ge.onDragStart=function(ze){var Ke=ge.props.context.onNodeDragStart;ze.stopPropagation(),ge.setState({dragNodeHighlight:!0}),Ke(ze,(0,re.Z)(ge));try{ze.dataTransfer.setData("text/plain","")}catch(lt){}},ge.onDragEnter=function(ze){var Ke=ge.props.context.onNodeDragEnter;ze.preventDefault(),ze.stopPropagation(),Ke(ze,(0,re.Z)(ge))},ge.onDragOver=function(ze){var Ke=ge.props.context.onNodeDragOver;ze.preventDefault(),ze.stopPropagation(),Ke(ze,(0,re.Z)(ge))},ge.onDragLeave=function(ze){var Ke=ge.props.context.onNodeDragLeave;ze.stopPropagation(),Ke(ze,(0,re.Z)(ge))},ge.onDragEnd=function(ze){var Ke=ge.props.context.onNodeDragEnd;ze.stopPropagation(),ge.setState({dragNodeHighlight:!1}),Ke(ze,(0,re.Z)(ge))},ge.onDrop=function(ze){var Ke=ge.props.context.onNodeDrop;ze.preventDefault(),ze.stopPropagation(),ge.setState({dragNodeHighlight:!1}),Ke(ze,(0,re.Z)(ge))},ge.onExpand=function(ze){var Ke=ge.props,lt=Ke.loading,St=Ke.context.onNodeExpand;lt||St(ze,(0,y.F)(ge.props))},ge.setSelectHandle=function(ze){ge.selectHandle=ze},ge.getNodeState=function(){var ze=ge.props.expanded;return ge.isLeaf()?null:ze?ee:te},ge.hasChildren=function(){var ze=ge.props.eventKey,Ke=ge.props.context.keyEntities,lt=(0,b.Z)(Ke,ze)||{},St=lt.children;return!!(St||[]).length},ge.isLeaf=function(){var ze=ge.props,Ke=ze.isLeaf,lt=ze.loaded,St=ge.props.context.loadData,ot=ge.hasChildren();return Ke===!1?!1:Ke||!St&&!ot||St&&lt&&!ot},ge.isDisabled=function(){var ze=ge.props.disabled,Ke=ge.props.context.disabled;return!!(Ke||ze)},ge.isCheckable=function(){var ze=ge.props.checkable,Ke=ge.props.context.checkable;return!Ke||ze===!1?!1:Ke},ge.syncLoadData=function(ze){var Ke=ze.expanded,lt=ze.loading,St=ze.loaded,ot=ge.props.context,Bt=ot.loadData,Qe=ot.onNodeLoad;lt||Bt&&Ke&&!ge.isLeaf()&&!ge.hasChildren()&&!St&&Qe((0,y.F)(ge.props))},ge.isDraggable=function(){var ze=ge.props,Ke=ze.data,lt=ze.context.draggable;return!!(lt&&(!lt.nodeDraggable||lt.nodeDraggable(Ke)))},ge.renderDragHandler=function(){var ze=ge.props.context,Ke=ze.draggable,lt=ze.prefixCls;return Ke!=null&&Ke.icon?Ee.createElement("span",{className:"".concat(lt,"-draggable-icon")},Ke.icon):null},ge.renderSwitcherIconDom=function(ze){var Ke=ge.props.switcherIcon,lt=ge.props.context.switcherIcon,St=Ke||lt;return typeof St=="function"?St((0,Me.Z)((0,Me.Z)({},ge.props),{},{isLeaf:ze})):St},ge.renderSwitcher=function(){var ze=ge.props.expanded,Ke=ge.props.context.prefixCls;if(ge.isLeaf()){var lt=ge.renderSwitcherIconDom(!0);return lt!==!1?Ee.createElement("span",{className:Le()("".concat(Ke,"-switcher"),"".concat(Ke,"-switcher-noop"))},lt):null}var St=Le()("".concat(Ke,"-switcher"),"".concat(Ke,"-switcher_").concat(ze?ee:te)),ot=ge.renderSwitcherIconDom(!1);return ot!==!1?Ee.createElement("span",{onClick:ge.onExpand,className:St},ot):null},ge.renderCheckbox=function(){var ze=ge.props,Ke=ze.checked,lt=ze.halfChecked,St=ze.disableCheckbox,ot=ge.props.context.prefixCls,Bt=ge.isDisabled(),Qe=ge.isCheckable();if(!Qe)return null;var yt=typeof Qe!="boolean"?Qe:null;return Ee.createElement("span",{className:Le()("".concat(ot,"-checkbox"),Ke&&"".concat(ot,"-checkbox-checked"),!Ke&&lt&&"".concat(ot,"-checkbox-indeterminate"),(Bt||St)&&"".concat(ot,"-checkbox-disabled")),onClick:ge.onCheck},yt)},ge.renderIcon=function(){var ze=ge.props.loading,Ke=ge.props.context.prefixCls;return Ee.createElement("span",{className:Le()("".concat(Ke,"-iconEle"),"".concat(Ke,"-icon__").concat(ge.getNodeState()||"docu"),ze&&"".concat(Ke,"-icon_loading"))})},ge.renderSelector=function(){var ze=ge.state.dragNodeHighlight,Ke=ge.props,lt=Ke.title,St=lt===void 0?ae:lt,ot=Ke.selected,Bt=Ke.icon,Qe=Ke.loading,yt=Ke.data,Ft=ge.props.context,Te=Ft.prefixCls,Ge=Ft.showIcon,gt=Ft.icon,Zt=Ft.loadData,mt=Ft.titleRender,Ot=ge.isDisabled(),Se="".concat(Te,"-node-content-wrapper"),Ct;if(Ge){var Jt=Bt||gt;Ct=Jt?Ee.createElement("span",{className:Le()("".concat(Te,"-iconEle"),"".concat(Te,"-icon__customize"))},typeof Jt=="function"?Jt(ge.props):Jt):ge.renderIcon()}else Zt&&Qe&&(Ct=ge.renderIcon());var Pt;typeof St=="function"?Pt=St(yt):mt?Pt=mt(yt):Pt=St;var ut=Ee.createElement("span",{className:"".concat(Te,"-title")},Pt);return Ee.createElement("span",{ref:ge.setSelectHandle,title:typeof St=="string"?St:"",className:Le()("".concat(Se),"".concat(Se,"-").concat(ge.getNodeState()||"normal"),!Ot&&(ot||ze)&&"".concat(Te,"-node-selected")),onMouseEnter:ge.onMouseEnter,onMouseLeave:ge.onMouseLeave,onContextMenu:ge.onContextMenu,onClick:ge.onSelectorClick,onDoubleClick:ge.onSelectorDoubleClick},Ct,ut,ge.renderDropIndicator())},ge.renderDropIndicator=function(){var ze=ge.props,Ke=ze.disabled,lt=ze.eventKey,St=ge.props.context,ot=St.draggable,Bt=St.dropLevelOffset,Qe=St.dropPosition,yt=St.prefixCls,Ft=St.indent,Te=St.dropIndicatorRender,Ge=St.dragOverNodeKey,gt=St.direction,Zt=!!ot,mt=!Ke&&Zt&&Ge===lt,Ot=Ft!=null?Ft:ge.cacheIndent;return ge.cacheIndent=Ft,mt?Te({dropPosition:Qe,dropLevelOffset:Bt,indent:Ot,prefixCls:yt,direction:gt}):null},ge}return(0,xe.Z)(Fe,[{key:"componentDidMount",value:function(){this.syncLoadData(this.props)}},{key:"componentDidUpdate",value:function(){this.syncLoadData(this.props)}},{key:"isSelectable",value:function(){var Je=this.props.selectable,Ie=this.props.context.selectable;return typeof Je=="boolean"?Je:Ie}},{key:"render",value:function(){var Je,Ie=this.props,Ue=Ie.eventKey,ze=Ie.className,Ke=Ie.style,lt=Ie.dragOver,St=Ie.dragOverGapTop,ot=Ie.dragOverGapBottom,Bt=Ie.isLeaf,Qe=Ie.isStart,yt=Ie.isEnd,Ft=Ie.expanded,Te=Ie.selected,Ge=Ie.checked,gt=Ie.halfChecked,Zt=Ie.loading,mt=Ie.domRef,Ot=Ie.active,Se=Ie.data,Ct=Ie.onMouseMove,Jt=Ie.selectable,Pt=(0,Pe.Z)(Ie,x),ut=this.props.context,We=ut.prefixCls,Re=ut.filterTreeNode,he=ut.keyEntities,ce=ut.dropContainerKey,_e=ut.dropTargetKey,it=ut.draggingNodeKey,pe=this.isDisabled(),fe=(0,je.Z)(Pt,{aria:!0,data:!0}),Xe=(0,b.Z)(he,Ue)||{},ke=Xe.level,Ce=yt[yt.length-1],tt=this.isDraggable(),Rt=!pe&&tt,dt=it===Ue,wt=Jt!==void 0?{"aria-selected":!!Jt}:void 0;return Ee.createElement("div",(0,z.Z)({ref:mt,className:Le()(ze,"".concat(We,"-treenode"),(Je={},(0,ie.Z)(Je,"".concat(We,"-treenode-disabled"),pe),(0,ie.Z)(Je,"".concat(We,"-treenode-switcher-").concat(Ft?"open":"close"),!Bt),(0,ie.Z)(Je,"".concat(We,"-treenode-checkbox-checked"),Ge),(0,ie.Z)(Je,"".concat(We,"-treenode-checkbox-indeterminate"),gt),(0,ie.Z)(Je,"".concat(We,"-treenode-selected"),Te),(0,ie.Z)(Je,"".concat(We,"-treenode-loading"),Zt),(0,ie.Z)(Je,"".concat(We,"-treenode-active"),Ot),(0,ie.Z)(Je,"".concat(We,"-treenode-leaf-last"),Ce),(0,ie.Z)(Je,"".concat(We,"-treenode-draggable"),tt),(0,ie.Z)(Je,"dragging",dt),(0,ie.Z)(Je,"drop-target",_e===Ue),(0,ie.Z)(Je,"drop-container",ce===Ue),(0,ie.Z)(Je,"drag-over",!pe&&lt),(0,ie.Z)(Je,"drag-over-gap-top",!pe&&St),(0,ie.Z)(Je,"drag-over-gap-bottom",!pe&&ot),(0,ie.Z)(Je,"filter-node",Re&&Re((0,y.F)(this.props))),Je)),style:Ke,draggable:Rt,"aria-grabbed":dt,onDragStart:Rt?this.onDragStart:void 0,onDragEnter:tt?this.onDragEnter:void 0,onDragOver:tt?this.onDragOver:void 0,onDragLeave:tt?this.onDragLeave:void 0,onDrop:tt?this.onDrop:void 0,onDragEnd:tt?this.onDragEnd:void 0,onMouseMove:Ct},wt,fe),Ee.createElement(a,{prefixCls:We,level:ke,isStart:Qe,isEnd:yt}),this.renderDragHandler(),this.renderSwitcher(),this.renderCheckbox(),this.renderSelector())}}]),Fe}(Ee.Component),de=function(ve){return Ee.createElement(oe.k.Consumer,null,function(Fe){return Ee.createElement(ue,(0,z.Z)({},ve,{context:Fe}))})};de.displayName="TreeNode",de.isTreeNode=1;var me=de},39378:function(ft,vt,ne){"use strict";ne.d(vt,{k:function(){return ie}});var z=ne(59301),ie=z.createContext(null)},60091:function(ft,vt,ne){"use strict";ne.d(vt,{O:function(){return me.Z},Z:function(){return ut}});var z=ne(54476),ie=ne(20068),Pe=ne(76190),Me=ne(33885),be=ne(94480),xe=ne(67732),re=ne(83652),De=ne(31226),Ne=ne(42403),Ae=ne(158),Le=ne(92310),je=ne.n(Le),Ee=ne(10228),oe=ne(26112),E=ne(48736),a=ne(59301),b=ne(39378);function y(We){var Re=We.dropPosition,he=We.dropLevelOffset,ce=We.indent,_e={pointerEvents:"none",position:"absolute",right:0,backgroundColor:"red",height:2};switch(Re){case-1:_e.top=0,_e.left=-he*ce;break;case 1:_e.bottom=0,_e.left=-he*ce;break;case 0:_e.bottom=0,_e.left=ce;break}return a.createElement("div",{style:_e})}function x(We){if(We==null)throw new TypeError("Cannot destructure "+We)}var ee=ne(42978),te=ne(75931),ae=ne(34280),ue=ne(48911),de=ne(77900),me=ne(39417);function Be(We,Re){var he=a.useState(!1),ce=(0,ee.Z)(he,2),_e=ce[0],it=ce[1];a.useLayoutEffect(function(){if(_e)return We(),function(){Re()}},[_e]),a.useLayoutEffect(function(){return it(!0),function(){it(!1)}},[])}var ve=ne(71430),Fe=["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"],ge=function(Re,he){var ce=Re.className,_e=Re.style,it=Re.motion,pe=Re.motionNodes,fe=Re.motionType,Xe=Re.onMotionStart,ke=Re.onMotionEnd,Ce=Re.active,tt=Re.treeNodeRequiredProps,Rt=(0,te.Z)(Re,Fe),dt=a.useState(!0),wt=(0,ee.Z)(dt,2),At=wt[0],zt=wt[1],pt=a.useContext(b.k),en=pt.prefixCls,nn=pe&&fe!=="hide";(0,ae.Z)(function(){pe&&nn!==At&&zt(nn)},[pe]);var Tt=function(){pe&&Xe()},Nt=a.useRef(!1),$t=function(){pe&&!Nt.current&&(Nt.current=!0,ke())};Be(Tt,$t);var ln=function(wn){nn===wn&&$t()};return pe?a.createElement(de.default,(0,z.Z)({ref:he,visible:At},it,{motionAppear:fe==="show",onVisibleChanged:ln}),function(dn,wn){var zn=dn.className,Mt=dn.style;return a.createElement("div",{ref:wn,className:je()("".concat(en,"-treenode-motion"),zn),style:Mt},pe.map(function(Dt){var Gt=(0,z.Z)({},(x(Dt.data),Dt.data)),un=Dt.title,tn=Dt.key,Qn=Dt.isStart,ca=Dt.isEnd;delete Gt.children;var Pn=(0,ve.H8)(tn,tt);return a.createElement(me.Z,(0,z.Z)({},Gt,Pn,{title:un,active:Ce,data:Dt.data,key:tn,isStart:Qn,isEnd:ca}))}))}):a.createElement(me.Z,(0,z.Z)({domRef:he,className:ce,style:_e},Rt,{active:Ce}))};ge.displayName="MotionTreeNode";var Je=a.forwardRef(ge),Ie=Je;function Ue(){var We=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],Re=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],he=We.length,ce=Re.length;if(Math.abs(he-ce)!==1)return{add:!1,key:null};function _e(it,pe){var fe=new Map;it.forEach(function(ke){fe.set(ke,!0)});var Xe=pe.filter(function(ke){return!fe.has(ke)});return Xe.length===1?Xe[0]:null}return he<ce?{add:!0,key:_e(We,Re)}:{add:!1,key:_e(Re,We)}}function ze(We,Re,he){var ce=We.findIndex(function(fe){return fe.key===he}),_e=We[ce+1],it=Re.findIndex(function(fe){return fe.key===he});if(_e){var pe=Re.findIndex(function(fe){return fe.key===_e.key});return Re.slice(it+1,pe)}return Re.slice(it+1)}var Ke=["prefixCls","data","selectable","checkable","expandedKeys","selectedKeys","checkedKeys","loadedKeys","loadingKeys","halfCheckedKeys","keyEntities","disabled","dragging","dragOverNodeKey","dropPosition","motion","height","itemHeight","virtual","focusable","activeItem","focused","tabIndex","onKeyDown","onFocus","onBlur","onActiveChange","onListChangeStart","onListChangeEnd"],lt={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},St=function(){},ot="RC_TREE_MOTION_".concat(Math.random()),Bt={key:ot},Qe={key:ot,level:0,index:0,pos:"0",node:Bt,nodes:[Bt]},yt={parent:null,children:[],pos:Qe.pos,data:Bt,title:null,key:ot,isStart:[],isEnd:[]};function Ft(We,Re,he,ce){return Re===!1||!he?We:We.slice(0,Math.ceil(he/ce)+1)}function Te(We){var Re=We.key,he=We.pos;return(0,ve.km)(Re,he)}function Ge(We){for(var Re=String(We.data.key),he=We;he.parent;)he=he.parent,Re="".concat(he.data.key," > ").concat(Re);return Re}var gt=a.forwardRef(function(We,Re){var he=We.prefixCls,ce=We.data,_e=We.selectable,it=We.checkable,pe=We.expandedKeys,fe=We.selectedKeys,Xe=We.checkedKeys,ke=We.loadedKeys,Ce=We.loadingKeys,tt=We.halfCheckedKeys,Rt=We.keyEntities,dt=We.disabled,wt=We.dragging,At=We.dragOverNodeKey,zt=We.dropPosition,pt=We.motion,en=We.height,nn=We.itemHeight,Tt=We.virtual,Nt=We.focusable,$t=We.activeItem,ln=We.focused,dn=We.tabIndex,wn=We.onKeyDown,zn=We.onFocus,Mt=We.onBlur,Dt=We.onActiveChange,Gt=We.onListChangeStart,un=We.onListChangeEnd,tn=(0,te.Z)(We,Ke),Qn=a.useRef(null),ca=a.useRef(null);a.useImperativeHandle(Re,function(){return{scrollTo:function(pn){Qn.current.scrollTo(pn)},getIndentWidth:function(){return ca.current.offsetWidth}}});var Pn=a.useState(pe),Ut=(0,ee.Z)(Pn,2),Xn=Ut[0],et=Ut[1],Ht=a.useState(ce),qt=(0,ee.Z)(Ht,2),on=qt[0],yn=qt[1],rn=a.useState(ce),mn=(0,ee.Z)(rn,2),qe=mn[0],nt=mn[1],$e=a.useState([]),kt=(0,ee.Z)($e,2),Kt=kt[0],jt=kt[1],Sn=a.useState(null),cn=(0,ee.Z)(Sn,2),sn=cn[0],Ln=cn[1],Ea=a.useRef(ce);Ea.current=ce;function Qt(){var Pa=Ea.current;yn(Pa),nt(Pa),jt([]),Ln(null),un()}(0,ae.Z)(function(){et(pe);var Pa=Ue(Xn,pe);if(Pa.key!==null)if(Pa.add){var pn=on.findIndex(function(Ua){var Lt=Ua.key;return Lt===Pa.key}),ea=Ft(ze(on,ce,Pa.key),Tt,en,nn),Ha=on.slice();Ha.splice(pn+1,0,yt),nt(Ha),jt(ea),Ln("show")}else{var ta=ce.findIndex(function(Ua){var Lt=Ua.key;return Lt===Pa.key}),ja=Ft(ze(ce,on,Pa.key),Tt,en,nn),Ga=ce.slice();Ga.splice(ta+1,0,yt),nt(Ga),jt(ja),Ln("hide")}else on!==ce&&(yn(ce),nt(ce))},[pe,ce]),a.useEffect(function(){wt||Qt()},[wt]);var Kn=pt?qe:ce,ua={expandedKeys:pe,selectedKeys:fe,loadedKeys:ke,loadingKeys:Ce,checkedKeys:Xe,halfCheckedKeys:tt,dragOverNodeKey:At,dropPosition:zt,keyEntities:Rt};return a.createElement(a.Fragment,null,ln&&$t&&a.createElement("span",{style:lt,"aria-live":"assertive"},Ge($t)),a.createElement("div",null,a.createElement("input",{style:lt,disabled:Nt===!1||dt,tabIndex:Nt!==!1?dn:null,onKeyDown:wn,onFocus:zn,onBlur:Mt,value:"",onChange:St,"aria-label":"for screen reader"})),a.createElement("div",{className:"".concat(he,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},a.createElement("div",{className:"".concat(he,"-indent")},a.createElement("div",{ref:ca,className:"".concat(he,"-indent-unit")}))),a.createElement(ue.Z,(0,z.Z)({},tn,{data:Kn,itemKey:Te,height:en,fullHeight:!1,virtual:Tt,itemHeight:nn,prefixCls:"".concat(he,"-list"),ref:Qn,onVisibleChange:function(pn,ea){var Ha=new Set(pn),ta=ea.filter(function(ja){return!Ha.has(ja)});ta.some(function(ja){return Te(ja)===ot})&&Qt()}}),function(Pa){var pn=Pa.pos,ea=(0,z.Z)({},(x(Pa.data),Pa.data)),Ha=Pa.title,ta=Pa.key,ja=Pa.isStart,Ga=Pa.isEnd,Ua=(0,ve.km)(ta,pn);delete ea.key,delete ea.children;var Lt=(0,ve.H8)(Ua,ua);return a.createElement(Ie,(0,z.Z)({},ea,Lt,{title:Ha,active:!!$t&&ta===$t.key,pos:pn,data:Pa.data,isStart:ja,isEnd:Ga,motion:pt,motionNodes:ta===ot?Kt:null,motionType:sn,onMotionStart:Gt,onMotionEnd:Qt,treeNodeRequiredProps:ua,onMouseMove:function(){Dt(null)}}))}))});gt.displayName="NodeList";var Zt=gt,mt=ne(35654),Ot=ne(90782),Se=ne(67841),Ct=10,Jt=function(We){(0,Ne.Z)(he,We);var Re=(0,Ae.Z)(he);function he(){var ce;(0,xe.Z)(this,he);for(var _e=arguments.length,it=new Array(_e),pe=0;pe<_e;pe++)it[pe]=arguments[pe];return ce=Re.call.apply(Re,[this].concat(it)),ce.destroyed=!1,ce.delayedDragEnterLogic=void 0,ce.loadingRetryTimes={},ce.state={keyEntities:{},indent:null,selectedKeys:[],checkedKeys:[],halfCheckedKeys:[],loadedKeys:[],loadingKeys:[],expandedKeys:[],draggingNodeKey:null,dragChildrenKeys:[],dropTargetKey:null,dropPosition:null,dropContainerKey:null,dropLevelOffset:null,dropTargetPos:null,dropAllowed:!0,dragOverNodeKey:null,treeData:[],flattenNodes:[],focused:!1,activeKey:null,listChanging:!1,prevProps:null,fieldNames:(0,ve.w$)()},ce.dragStartMousePosition=null,ce.dragNode=void 0,ce.currentMouseOverDroppableNodeKey=null,ce.listRef=a.createRef(),ce.onNodeDragStart=function(fe,Xe){var ke=ce.state,Ce=ke.expandedKeys,tt=ke.keyEntities,Rt=ce.props.onDragStart,dt=Xe.props.eventKey;ce.dragNode=Xe,ce.dragStartMousePosition={x:fe.clientX,y:fe.clientY};var wt=(0,mt._5)(Ce,dt);ce.setState({draggingNodeKey:dt,dragChildrenKeys:(0,mt.wA)(dt,tt),indent:ce.listRef.current.getIndentWidth()}),ce.setExpandedKeys(wt),window.addEventListener("dragend",ce.onWindowDragEnd),Rt==null||Rt({event:fe,node:(0,ve.F)(Xe.props)})},ce.onNodeDragEnter=function(fe,Xe){var ke=ce.state,Ce=ke.expandedKeys,tt=ke.keyEntities,Rt=ke.dragChildrenKeys,dt=ke.flattenNodes,wt=ke.indent,At=ce.props,zt=At.onDragEnter,pt=At.onExpand,en=At.allowDrop,nn=At.direction,Tt=Xe.props,Nt=Tt.pos,$t=Tt.eventKey,ln=(0,De.Z)(ce),dn=ln.dragNode;if(ce.currentMouseOverDroppableNodeKey!==$t&&(ce.currentMouseOverDroppableNodeKey=$t),!dn){ce.resetDragState();return}var wn=(0,mt.OM)(fe,dn,Xe,wt,ce.dragStartMousePosition,en,dt,tt,Ce,nn),zn=wn.dropPosition,Mt=wn.dropLevelOffset,Dt=wn.dropTargetKey,Gt=wn.dropContainerKey,un=wn.dropTargetPos,tn=wn.dropAllowed,Qn=wn.dragOverNodeKey;if(Rt.indexOf(Dt)!==-1||!tn){ce.resetDragState();return}if(ce.delayedDragEnterLogic||(ce.delayedDragEnterLogic={}),Object.keys(ce.delayedDragEnterLogic).forEach(function(ca){clearTimeout(ce.delayedDragEnterLogic[ca])}),dn.props.eventKey!==Xe.props.eventKey&&(fe.persist(),ce.delayedDragEnterLogic[Nt]=window.setTimeout(function(){if(ce.state.draggingNodeKey!==null){var ca=(0,be.Z)(Ce),Pn=(0,Se.Z)(tt,Xe.props.eventKey);Pn&&(Pn.children||[]).length&&(ca=(0,mt.L0)(Ce,Xe.props.eventKey)),"expandedKeys"in ce.props||ce.setExpandedKeys(ca),pt==null||pt(ca,{node:(0,ve.F)(Xe.props),expanded:!0,nativeEvent:fe.nativeEvent})}},800)),dn.props.eventKey===Dt&&Mt===0){ce.resetDragState();return}ce.setState({dragOverNodeKey:Qn,dropPosition:zn,dropLevelOffset:Mt,dropTargetKey:Dt,dropContainerKey:Gt,dropTargetPos:un,dropAllowed:tn}),zt==null||zt({event:fe,node:(0,ve.F)(Xe.props),expandedKeys:Ce})},ce.onNodeDragOver=function(fe,Xe){var ke=ce.state,Ce=ke.dragChildrenKeys,tt=ke.flattenNodes,Rt=ke.keyEntities,dt=ke.expandedKeys,wt=ke.indent,At=ce.props,zt=At.onDragOver,pt=At.allowDrop,en=At.direction,nn=(0,De.Z)(ce),Tt=nn.dragNode;if(Tt){var Nt=(0,mt.OM)(fe,Tt,Xe,wt,ce.dragStartMousePosition,pt,tt,Rt,dt,en),$t=Nt.dropPosition,ln=Nt.dropLevelOffset,dn=Nt.dropTargetKey,wn=Nt.dropContainerKey,zn=Nt.dropAllowed,Mt=Nt.dropTargetPos,Dt=Nt.dragOverNodeKey;Ce.indexOf(dn)!==-1||!zn||(Tt.props.eventKey===dn&&ln===0?ce.state.dropPosition===null&&ce.state.dropLevelOffset===null&&ce.state.dropTargetKey===null&&ce.state.dropContainerKey===null&&ce.state.dropTargetPos===null&&ce.state.dropAllowed===!1&&ce.state.dragOverNodeKey===null||ce.resetDragState():$t===ce.state.dropPosition&&ln===ce.state.dropLevelOffset&&dn===ce.state.dropTargetKey&&wn===ce.state.dropContainerKey&&Mt===ce.state.dropTargetPos&&zn===ce.state.dropAllowed&&Dt===ce.state.dragOverNodeKey||ce.setState({dropPosition:$t,dropLevelOffset:ln,dropTargetKey:dn,dropContainerKey:wn,dropTargetPos:Mt,dropAllowed:zn,dragOverNodeKey:Dt}),zt==null||zt({event:fe,node:(0,ve.F)(Xe.props)}))}},ce.onNodeDragLeave=function(fe,Xe){ce.currentMouseOverDroppableNodeKey===Xe.props.eventKey&&!fe.currentTarget.contains(fe.relatedTarget)&&(ce.resetDragState(),ce.currentMouseOverDroppableNodeKey=null);var ke=ce.props.onDragLeave;ke==null||ke({event:fe,node:(0,ve.F)(Xe.props)})},ce.onWindowDragEnd=function(fe){ce.onNodeDragEnd(fe,null,!0),window.removeEventListener("dragend",ce.onWindowDragEnd)},ce.onNodeDragEnd=function(fe,Xe){var ke=ce.props.onDragEnd;ce.setState({dragOverNodeKey:null}),ce.cleanDragState(),ke==null||ke({event:fe,node:(0,ve.F)(Xe.props)}),ce.dragNode=null,window.removeEventListener("dragend",ce.onWindowDragEnd)},ce.onNodeDrop=function(fe,Xe){var ke,Ce=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,tt=ce.state,Rt=tt.dragChildrenKeys,dt=tt.dropPosition,wt=tt.dropTargetKey,At=tt.dropTargetPos,zt=tt.dropAllowed;if(zt){var pt=ce.props.onDrop;if(ce.setState({dragOverNodeKey:null}),ce.cleanDragState(),wt!==null){var en=(0,Me.Z)((0,Me.Z)({},(0,ve.H8)(wt,ce.getTreeNodeRequiredProps())),{},{active:((ke=ce.getActiveItem())===null||ke===void 0?void 0:ke.key)===wt,data:(0,Se.Z)(ce.state.keyEntities,wt).node}),nn=Rt.indexOf(wt)!==-1;(0,E.ZP)(!nn,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var Tt=(0,mt.yx)(At),Nt={event:fe,node:(0,ve.F)(en),dragNode:ce.dragNode?(0,ve.F)(ce.dragNode.props):null,dragNodesKeys:[ce.dragNode.props.eventKey].concat(Rt),dropToGap:dt!==0,dropPosition:dt+Number(Tt[Tt.length-1])};Ce||pt==null||pt(Nt),ce.dragNode=null}}},ce.cleanDragState=function(){var fe=ce.state.draggingNodeKey;fe!==null&&ce.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),ce.dragStartMousePosition=null,ce.currentMouseOverDroppableNodeKey=null},ce.triggerExpandActionExpand=function(fe,Xe){var ke=ce.state,Ce=ke.expandedKeys,tt=ke.flattenNodes,Rt=Xe.expanded,dt=Xe.key,wt=Xe.isLeaf;if(!(wt||fe.shiftKey||fe.metaKey||fe.ctrlKey)){var At=tt.filter(function(pt){return pt.key===dt})[0],zt=(0,ve.F)((0,Me.Z)((0,Me.Z)({},(0,ve.H8)(dt,ce.getTreeNodeRequiredProps())),{},{data:At.data}));ce.setExpandedKeys(Rt?(0,mt._5)(Ce,dt):(0,mt.L0)(Ce,dt)),ce.onNodeExpand(fe,zt)}},ce.onNodeClick=function(fe,Xe){var ke=ce.props,Ce=ke.onClick,tt=ke.expandAction;tt==="click"&&ce.triggerExpandActionExpand(fe,Xe),Ce==null||Ce(fe,Xe)},ce.onNodeDoubleClick=function(fe,Xe){var ke=ce.props,Ce=ke.onDoubleClick,tt=ke.expandAction;tt==="doubleClick"&&ce.triggerExpandActionExpand(fe,Xe),Ce==null||Ce(fe,Xe)},ce.onNodeSelect=function(fe,Xe){var ke=ce.state.selectedKeys,Ce=ce.state,tt=Ce.keyEntities,Rt=Ce.fieldNames,dt=ce.props,wt=dt.onSelect,At=dt.multiple,zt=Xe.selected,pt=Xe[Rt.key],en=!zt;en?At?ke=(0,mt.L0)(ke,pt):ke=[pt]:ke=(0,mt._5)(ke,pt);var nn=ke.map(function(Tt){var Nt=(0,Se.Z)(tt,Tt);return Nt?Nt.node:null}).filter(function(Tt){return Tt});ce.setUncontrolledState({selectedKeys:ke}),wt==null||wt(ke,{event:"select",selected:en,node:Xe,selectedNodes:nn,nativeEvent:fe.nativeEvent})},ce.onNodeCheck=function(fe,Xe,ke){var Ce=ce.state,tt=Ce.keyEntities,Rt=Ce.checkedKeys,dt=Ce.halfCheckedKeys,wt=ce.props,At=wt.checkStrictly,zt=wt.onCheck,pt=Xe.key,en,nn={event:"check",node:Xe,checked:ke,nativeEvent:fe.nativeEvent};if(At){var Tt=ke?(0,mt.L0)(Rt,pt):(0,mt._5)(Rt,pt),Nt=(0,mt._5)(dt,pt);en={checked:Tt,halfChecked:Nt},nn.checkedNodes=Tt.map(function(Mt){return(0,Se.Z)(tt,Mt)}).filter(function(Mt){return Mt}).map(function(Mt){return Mt.node}),ce.setUncontrolledState({checkedKeys:Tt})}else{var $t=(0,Ot.S)([].concat((0,be.Z)(Rt),[pt]),!0,tt),ln=$t.checkedKeys,dn=$t.halfCheckedKeys;if(!ke){var wn=new Set(ln);wn.delete(pt);var zn=(0,Ot.S)(Array.from(wn),{checked:!1,halfCheckedKeys:dn},tt);ln=zn.checkedKeys,dn=zn.halfCheckedKeys}en=ln,nn.checkedNodes=[],nn.checkedNodesPositions=[],nn.halfCheckedKeys=dn,ln.forEach(function(Mt){var Dt=(0,Se.Z)(tt,Mt);if(Dt){var Gt=Dt.node,un=Dt.pos;nn.checkedNodes.push(Gt),nn.checkedNodesPositions.push({node:Gt,pos:un})}}),ce.setUncontrolledState({checkedKeys:ln},!1,{halfCheckedKeys:dn})}zt==null||zt(en,nn)},ce.onNodeLoad=function(fe){var Xe=fe.key,ke=new Promise(function(Ce,tt){ce.setState(function(Rt){var dt=Rt.loadedKeys,wt=dt===void 0?[]:dt,At=Rt.loadingKeys,zt=At===void 0?[]:At,pt=ce.props,en=pt.loadData,nn=pt.onLoad;if(!en||wt.indexOf(Xe)!==-1||zt.indexOf(Xe)!==-1)return null;var Tt=en(fe);return Tt.then(function(){var Nt=ce.state.loadedKeys,$t=(0,mt.L0)(Nt,Xe);nn==null||nn($t,{event:"load",node:fe}),ce.setUncontrolledState({loadedKeys:$t}),ce.setState(function(ln){return{loadingKeys:(0,mt._5)(ln.loadingKeys,Xe)}}),Ce()}).catch(function(Nt){if(ce.setState(function(ln){return{loadingKeys:(0,mt._5)(ln.loadingKeys,Xe)}}),ce.loadingRetryTimes[Xe]=(ce.loadingRetryTimes[Xe]||0)+1,ce.loadingRetryTimes[Xe]>=Ct){var $t=ce.state.loadedKeys;(0,E.ZP)(!1,"Retry for `loadData` many times but still failed. No more retry."),ce.setUncontrolledState({loadedKeys:(0,mt.L0)($t,Xe)}),Ce()}tt(Nt)}),{loadingKeys:(0,mt.L0)(zt,Xe)}})});return ke.catch(function(){}),ke},ce.onNodeMouseEnter=function(fe,Xe){var ke=ce.props.onMouseEnter;ke==null||ke({event:fe,node:Xe})},ce.onNodeMouseLeave=function(fe,Xe){var ke=ce.props.onMouseLeave;ke==null||ke({event:fe,node:Xe})},ce.onNodeContextMenu=function(fe,Xe){var ke=ce.props.onRightClick;ke&&(fe.preventDefault(),ke({event:fe,node:Xe}))},ce.onFocus=function(){var fe=ce.props.onFocus;ce.setState({focused:!0});for(var Xe=arguments.length,ke=new Array(Xe),Ce=0;Ce<Xe;Ce++)ke[Ce]=arguments[Ce];fe==null||fe.apply(void 0,ke)},ce.onBlur=function(){var fe=ce.props.onBlur;ce.setState({focused:!1}),ce.onActiveChange(null);for(var Xe=arguments.length,ke=new Array(Xe),Ce=0;Ce<Xe;Ce++)ke[Ce]=arguments[Ce];fe==null||fe.apply(void 0,ke)},ce.getTreeNodeRequiredProps=function(){var fe=ce.state,Xe=fe.expandedKeys,ke=fe.selectedKeys,Ce=fe.loadedKeys,tt=fe.loadingKeys,Rt=fe.checkedKeys,dt=fe.halfCheckedKeys,wt=fe.dragOverNodeKey,At=fe.dropPosition,zt=fe.keyEntities;return{expandedKeys:Xe||[],selectedKeys:ke||[],loadedKeys:Ce||[],loadingKeys:tt||[],checkedKeys:Rt||[],halfCheckedKeys:dt||[],dragOverNodeKey:wt,dropPosition:At,keyEntities:zt}},ce.setExpandedKeys=function(fe){var Xe=ce.state,ke=Xe.treeData,Ce=Xe.fieldNames,tt=(0,ve.oH)(ke,fe,Ce);ce.setUncontrolledState({expandedKeys:fe,flattenNodes:tt},!0)},ce.onNodeExpand=function(fe,Xe){var ke=ce.state.expandedKeys,Ce=ce.state,tt=Ce.listChanging,Rt=Ce.fieldNames,dt=ce.props,wt=dt.onExpand,At=dt.loadData,zt=Xe.expanded,pt=Xe[Rt.key];if(!tt){var en=ke.indexOf(pt),nn=!zt;if((0,E.ZP)(zt&&en!==-1||!zt&&en===-1,"Expand state not sync with index check"),nn?ke=(0,mt.L0)(ke,pt):ke=(0,mt._5)(ke,pt),ce.setExpandedKeys(ke),wt==null||wt(ke,{node:Xe,expanded:nn,nativeEvent:fe.nativeEvent}),nn&&At){var Tt=ce.onNodeLoad(Xe);Tt&&Tt.then(function(){var Nt=(0,ve.oH)(ce.state.treeData,ke,Rt);ce.setUncontrolledState({flattenNodes:Nt})}).catch(function(){var Nt=ce.state.expandedKeys,$t=(0,mt._5)(Nt,pt);ce.setExpandedKeys($t)})}}},ce.onListChangeStart=function(){ce.setUncontrolledState({listChanging:!0})},ce.onListChangeEnd=function(){setTimeout(function(){ce.setUncontrolledState({listChanging:!1})})},ce.onActiveChange=function(fe){var Xe=ce.state.activeKey,ke=ce.props.onActiveChange;Xe!==fe&&(ce.setState({activeKey:fe}),fe!==null&&ce.scrollTo({key:fe}),ke==null||ke(fe))},ce.getActiveItem=function(){var fe=ce.state,Xe=fe.activeKey,ke=fe.flattenNodes;return Xe===null?null:ke.find(function(Ce){var tt=Ce.key;return tt===Xe})||null},ce.offsetActiveKey=function(fe){var Xe=ce.state,ke=Xe.flattenNodes,Ce=Xe.activeKey,tt=ke.findIndex(function(wt){var At=wt.key;return At===Ce});tt===-1&&fe<0&&(tt=ke.length),tt=(tt+fe+ke.length)%ke.length;var Rt=ke[tt];if(Rt){var dt=Rt.key;ce.onActiveChange(dt)}else ce.onActiveChange(null)},ce.onKeyDown=function(fe){var Xe=ce.state,ke=Xe.activeKey,Ce=Xe.expandedKeys,tt=Xe.checkedKeys,Rt=Xe.fieldNames,dt=ce.props,wt=dt.onKeyDown,At=dt.checkable,zt=dt.selectable;switch(fe.which){case Ee.Z.UP:{ce.offsetActiveKey(-1),fe.preventDefault();break}case Ee.Z.DOWN:{ce.offsetActiveKey(1),fe.preventDefault();break}}var pt=ce.getActiveItem();if(pt&&pt.data){var en=ce.getTreeNodeRequiredProps(),nn=pt.data.isLeaf===!1||!!(pt.data[Rt.children]||[]).length,Tt=(0,ve.F)((0,Me.Z)((0,Me.Z)({},(0,ve.H8)(ke,en)),{},{data:pt.data,active:!0}));switch(fe.which){case Ee.Z.LEFT:{nn&&Ce.includes(ke)?ce.onNodeExpand({},Tt):pt.parent&&ce.onActiveChange(pt.parent.key),fe.preventDefault();break}case Ee.Z.RIGHT:{nn&&!Ce.includes(ke)?ce.onNodeExpand({},Tt):pt.children&&pt.children.length&&ce.onActiveChange(pt.children[0].key),fe.preventDefault();break}case Ee.Z.ENTER:case Ee.Z.SPACE:{At&&!Tt.disabled&&Tt.checkable!==!1&&!Tt.disableCheckbox?ce.onNodeCheck({},Tt,!tt.includes(ke)):!At&&zt&&!Tt.disabled&&Tt.selectable!==!1&&ce.onNodeSelect({},Tt);break}}}wt==null||wt(fe)},ce.setUncontrolledState=function(fe){var Xe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,ke=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!ce.destroyed){var Ce=!1,tt=!0,Rt={};Object.keys(fe).forEach(function(dt){if(dt in ce.props){tt=!1;return}Ce=!0,Rt[dt]=fe[dt]}),Ce&&(!Xe||tt)&&ce.setState((0,Me.Z)((0,Me.Z)({},Rt),ke))}},ce.scrollTo=function(fe){ce.listRef.current.scrollTo(fe)},ce}return(0,re.Z)(he,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var _e=this.props.activeKey;_e!==void 0&&_e!==this.state.activeKey&&(this.setState({activeKey:_e}),_e!==null&&this.scrollTo({key:_e}))}},{key:"componentWillUnmount",value:function(){window.removeEventListener("dragend",this.onWindowDragEnd),this.destroyed=!0}},{key:"resetDragState",value:function(){this.setState({dragOverNodeKey:null,dropPosition:null,dropLevelOffset:null,dropTargetKey:null,dropContainerKey:null,dropTargetPos:null,dropAllowed:!1})}},{key:"render",value:function(){var _e,it=this.state,pe=it.focused,fe=it.flattenNodes,Xe=it.keyEntities,ke=it.draggingNodeKey,Ce=it.activeKey,tt=it.dropLevelOffset,Rt=it.dropContainerKey,dt=it.dropTargetKey,wt=it.dropPosition,At=it.dragOverNodeKey,zt=it.indent,pt=this.props,en=pt.prefixCls,nn=pt.className,Tt=pt.style,Nt=pt.showLine,$t=pt.focusable,ln=pt.tabIndex,dn=ln===void 0?0:ln,wn=pt.selectable,zn=pt.showIcon,Mt=pt.icon,Dt=pt.switcherIcon,Gt=pt.draggable,un=pt.checkable,tn=pt.checkStrictly,Qn=pt.disabled,ca=pt.motion,Pn=pt.loadData,Ut=pt.filterTreeNode,Xn=pt.height,et=pt.itemHeight,Ht=pt.virtual,qt=pt.titleRender,on=pt.dropIndicatorRender,yn=pt.onContextMenu,rn=pt.onScroll,mn=pt.direction,qe=pt.rootClassName,nt=pt.rootStyle,$e=(0,oe.Z)(this.props,{aria:!0,data:!0}),kt;return Gt&&((0,Pe.Z)(Gt)==="object"?kt=Gt:typeof Gt=="function"?kt={nodeDraggable:Gt}:kt={}),a.createElement(b.k.Provider,{value:{prefixCls:en,selectable:wn,showIcon:zn,icon:Mt,switcherIcon:Dt,draggable:kt,draggingNodeKey:ke,checkable:un,checkStrictly:tn,disabled:Qn,keyEntities:Xe,dropLevelOffset:tt,dropContainerKey:Rt,dropTargetKey:dt,dropPosition:wt,dragOverNodeKey:At,indent:zt,direction:mn,dropIndicatorRender:on,loadData:Pn,filterTreeNode:Ut,titleRender:qt,onNodeClick:this.onNodeClick,onNodeDoubleClick:this.onNodeDoubleClick,onNodeExpand:this.onNodeExpand,onNodeSelect:this.onNodeSelect,onNodeCheck:this.onNodeCheck,onNodeLoad:this.onNodeLoad,onNodeMouseEnter:this.onNodeMouseEnter,onNodeMouseLeave:this.onNodeMouseLeave,onNodeContextMenu:this.onNodeContextMenu,onNodeDragStart:this.onNodeDragStart,onNodeDragEnter:this.onNodeDragEnter,onNodeDragOver:this.onNodeDragOver,onNodeDragLeave:this.onNodeDragLeave,onNodeDragEnd:this.onNodeDragEnd,onNodeDrop:this.onNodeDrop}},a.createElement("div",{role:"tree",className:je()(en,nn,qe,(_e={},(0,ie.Z)(_e,"".concat(en,"-show-line"),Nt),(0,ie.Z)(_e,"".concat(en,"-focused"),pe),(0,ie.Z)(_e,"".concat(en,"-active-focused"),Ce!==null),_e)),style:nt},a.createElement(Zt,(0,z.Z)({ref:this.listRef,prefixCls:en,style:Tt,data:fe,disabled:Qn,selectable:wn,checkable:!!un,motion:ca,dragging:ke!==null,height:Xn,itemHeight:et,virtual:Ht,focusable:$t,focused:pe,tabIndex:dn,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:yn,onScroll:rn},this.getTreeNodeRequiredProps(),$e))))}}],[{key:"getDerivedStateFromProps",value:function(_e,it){var pe=it.prevProps,fe={prevProps:_e};function Xe($t){return!pe&&$t in _e||pe&&pe[$t]!==_e[$t]}var ke,Ce=it.fieldNames;if(Xe("fieldNames")&&(Ce=(0,ve.w$)(_e.fieldNames),fe.fieldNames=Ce),Xe("treeData")?ke=_e.treeData:Xe("children")&&((0,E.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),ke=(0,ve.zn)(_e.children)),ke){fe.treeData=ke;var tt=(0,ve.I8)(ke,{fieldNames:Ce});fe.keyEntities=(0,Me.Z)((0,ie.Z)({},ot,Qe),tt.keyEntities)}var Rt=fe.keyEntities||it.keyEntities;if(Xe("expandedKeys")||pe&&Xe("autoExpandParent"))fe.expandedKeys=_e.autoExpandParent||!pe&&_e.defaultExpandParent?(0,mt.r7)(_e.expandedKeys,Rt):_e.expandedKeys;else if(!pe&&_e.defaultExpandAll){var dt=(0,Me.Z)({},Rt);delete dt[ot],fe.expandedKeys=Object.keys(dt).map(function($t){return dt[$t].key})}else!pe&&_e.defaultExpandedKeys&&(fe.expandedKeys=_e.autoExpandParent||_e.defaultExpandParent?(0,mt.r7)(_e.defaultExpandedKeys,Rt):_e.defaultExpandedKeys);if(fe.expandedKeys||delete fe.expandedKeys,ke||fe.expandedKeys){var wt=(0,ve.oH)(ke||it.treeData,fe.expandedKeys||it.expandedKeys,Ce);fe.flattenNodes=wt}if(_e.selectable&&(Xe("selectedKeys")?fe.selectedKeys=(0,mt.BT)(_e.selectedKeys,_e):!pe&&_e.defaultSelectedKeys&&(fe.selectedKeys=(0,mt.BT)(_e.defaultSelectedKeys,_e))),_e.checkable){var At;if(Xe("checkedKeys")?At=(0,mt.E6)(_e.checkedKeys)||{}:!pe&&_e.defaultCheckedKeys?At=(0,mt.E6)(_e.defaultCheckedKeys)||{}:ke&&(At=(0,mt.E6)(_e.checkedKeys)||{checkedKeys:it.checkedKeys,halfCheckedKeys:it.halfCheckedKeys}),At){var zt=At,pt=zt.checkedKeys,en=pt===void 0?[]:pt,nn=zt.halfCheckedKeys,Tt=nn===void 0?[]:nn;if(!_e.checkStrictly){var Nt=(0,Ot.S)(en,!0,Rt);en=Nt.checkedKeys,Tt=Nt.halfCheckedKeys}fe.checkedKeys=en,fe.halfCheckedKeys=Tt}}return Xe("loadedKeys")&&(fe.loadedKeys=_e.loadedKeys),fe}}]),he}(a.Component);Jt.defaultProps={prefixCls:"rc-tree",showLine:!1,showIcon:!0,selectable:!0,multiple:!1,checkable:!1,disabled:!1,checkStrictly:!1,draggable:!1,defaultExpandParent:!0,autoExpandParent:!1,defaultExpandAll:!1,defaultExpandedKeys:[],defaultCheckedKeys:[],defaultSelectedKeys:[],dropIndicatorRender:y,allowDrop:function(){return!0},expandAction:!1},Jt.TreeNode=me.Z;var Pt=Jt,ut=Pt},35654:function(ft,vt,ne){"use strict";ne.d(vt,{BT:function(){return a},E6:function(){return x},L0:function(){return Ae},OM:function(){return E},_5:function(){return Ne},r7:function(){return ee},wA:function(){return je},yx:function(){return Le}});var z=ne(94480),ie=ne(76190),Pe=ne(48736),Me=ne(59301),be=ne(39417),xe=ne(67841),re=ne(71430),De=null;function Ne(te,ae){if(!te)return[];var ue=te.slice(),de=ue.indexOf(ae);return de>=0&&ue.splice(de,1),ue}function Ae(te,ae){var ue=(te||[]).slice();return ue.indexOf(ae)===-1&&ue.push(ae),ue}function Le(te){return te.split("-")}function je(te,ae){var ue=[],de=(0,xe.Z)(ae,te);function me(){var Be=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];Be.forEach(function(ve){var Fe=ve.key,ge=ve.children;ue.push(Fe),me(ge)})}return me(de.children),ue}function Ee(te){if(te.parent){var ae=Le(te.pos);return Number(ae[ae.length-1])===te.parent.children.length-1}return!1}function oe(te){var ae=Le(te.pos);return Number(ae[ae.length-1])===0}function E(te,ae,ue,de,me,Be,ve,Fe,ge,Je){var Ie,Ue=te.clientX,ze=te.clientY,Ke=te.target.getBoundingClientRect(),lt=Ke.top,St=Ke.height,ot=(Je==="rtl"?-1:1)*(((me==null?void 0:me.x)||0)-Ue),Bt=(ot-12)/de,Qe=(0,xe.Z)(Fe,ue.props.eventKey);if(ze<lt+St/2){var yt=ve.findIndex(function(ut){return ut.key===Qe.key}),Ft=yt<=0?0:yt-1,Te=ve[Ft].key;Qe=(0,xe.Z)(Fe,Te)}var Ge=Qe.key,gt=Qe,Zt=Qe.key,mt=0,Ot=0;if(!ge.includes(Ge))for(var Se=0;Se<Bt&&Ee(Qe);Se+=1)Qe=Qe.parent,Ot+=1;var Ct=ae.props.data,Jt=Qe.node,Pt=!0;return oe(Qe)&&Qe.level===0&&ze<lt+St/2&&Be({dragNode:Ct,dropNode:Jt,dropPosition:-1})&&Qe.key===ue.props.eventKey?mt=-1:(gt.children||[]).length&&ge.includes(Zt)?Be({dragNode:Ct,dropNode:Jt,dropPosition:0})?mt=0:Pt=!1:Ot===0?Bt>-1.5?Be({dragNode:Ct,dropNode:Jt,dropPosition:1})?mt=1:Pt=!1:Be({dragNode:Ct,dropNode:Jt,dropPosition:0})?mt=0:Be({dragNode:Ct,dropNode:Jt,dropPosition:1})?mt=1:Pt=!1:Be({dragNode:Ct,dropNode:Jt,dropPosition:1})?mt=1:Pt=!1,{dropPosition:mt,dropLevelOffset:Ot,dropTargetKey:Qe.key,dropTargetPos:Qe.pos,dragOverNodeKey:Zt,dropContainerKey:mt===0?null:((Ie=Qe.parent)===null||Ie===void 0?void 0:Ie.key)||null,dropAllowed:Pt}}function a(te,ae){if(te){var ue=ae.multiple;return ue?te.slice():te.length?[te[0]]:te}}var b=function(ae){return ae};function y(te,ae){if(!te)return[];var ue=ae||{},de=ue.processProps,me=de===void 0?b:de,Be=Array.isArray(te)?te:[te];return Be.map(function(ve){var Fe=ve.children,ge=_objectWithoutProperties(ve,De),Je=y(Fe,ae);return React.createElement(TreeNode,_extends({key:ge.key},me(ge)),Je)})}function x(te){if(!te)return null;var ae;if(Array.isArray(te))ae={checkedKeys:te,halfCheckedKeys:void 0};else if((0,ie.Z)(te)==="object")ae={checkedKeys:te.checked||void 0,halfCheckedKeys:te.halfChecked||void 0};else return(0,Pe.ZP)(!1,"`checkedKeys` is not an array or an object"),null;return ae}function ee(te,ae){var ue=new Set;function de(me){if(!ue.has(me)){var Be=(0,xe.Z)(ae,me);if(Be){ue.add(me);var ve=Be.parent,Fe=Be.node;Fe.disabled||ve&&de(ve.key)}}}return(te||[]).forEach(function(me){de(me)}),(0,z.Z)(ue)}},90782:function(ft,vt,ne){"use strict";ne.d(vt,{S:function(){return re}});var z=ne(48736),ie=ne(67841);function Pe(De,Ne){var Ae=new Set;return De.forEach(function(Le){Ne.has(Le)||Ae.add(Le)}),Ae}function Me(De){var Ne=De||{},Ae=Ne.disabled,Le=Ne.disableCheckbox,je=Ne.checkable;return!!(Ae||Le)||je===!1}function be(De,Ne,Ae,Le){for(var je=new Set(De),Ee=new Set,oe=0;oe<=Ae;oe+=1){var E=Ne.get(oe)||new Set;E.forEach(function(x){var ee=x.key,te=x.node,ae=x.children,ue=ae===void 0?[]:ae;je.has(ee)&&!Le(te)&&ue.filter(function(de){return!Le(de.node)}).forEach(function(de){je.add(de.key)})})}for(var a=new Set,b=Ae;b>=0;b-=1){var y=Ne.get(b)||new Set;y.forEach(function(x){var ee=x.parent,te=x.node;if(!(Le(te)||!x.parent||a.has(x.parent.key))){if(Le(x.parent.node)){a.add(ee.key);return}var ae=!0,ue=!1;(ee.children||[]).filter(function(de){return!Le(de.node)}).forEach(function(de){var me=de.key,Be=je.has(me);ae&&!Be&&(ae=!1),!ue&&(Be||Ee.has(me))&&(ue=!0)}),ae&&je.add(ee.key),ue&&Ee.add(ee.key),a.add(ee.key)}})}return{checkedKeys:Array.from(je),halfCheckedKeys:Array.from(Pe(Ee,je))}}function xe(De,Ne,Ae,Le,je){for(var Ee=new Set(De),oe=new Set(Ne),E=0;E<=Le;E+=1){var a=Ae.get(E)||new Set;a.forEach(function(ee){var te=ee.key,ae=ee.node,ue=ee.children,de=ue===void 0?[]:ue;!Ee.has(te)&&!oe.has(te)&&!je(ae)&&de.filter(function(me){return!je(me.node)}).forEach(function(me){Ee.delete(me.key)})})}oe=new Set;for(var b=new Set,y=Le;y>=0;y-=1){var x=Ae.get(y)||new Set;x.forEach(function(ee){var te=ee.parent,ae=ee.node;if(!(je(ae)||!ee.parent||b.has(ee.parent.key))){if(je(ee.parent.node)){b.add(te.key);return}var ue=!0,de=!1;(te.children||[]).filter(function(me){return!je(me.node)}).forEach(function(me){var Be=me.key,ve=Ee.has(Be);ue&&!ve&&(ue=!1),!de&&(ve||oe.has(Be))&&(de=!0)}),ue||Ee.delete(te.key),de&&oe.add(te.key),b.add(te.key)}})}return{checkedKeys:Array.from(Ee),halfCheckedKeys:Array.from(Pe(oe,Ee))}}function re(De,Ne,Ae,Le){var je=[],Ee;Le?Ee=Le:Ee=Me;var oe=new Set(De.filter(function(y){var x=!!(0,ie.Z)(Ae,y);return x||je.push(y),x})),E=new Map,a=0;Object.keys(Ae).forEach(function(y){var x=Ae[y],ee=x.level,te=E.get(ee);te||(te=new Set,E.set(ee,te)),te.add(x),a=Math.max(a,ee)}),(0,z.ZP)(!je.length,"Tree missing follow keys: ".concat(je.slice(0,100).map(function(y){return"'".concat(y,"'")}).join(", ")));var b;return Ne===!0?b=be(oe,E,a,Ee):b=xe(oe,Ne.halfCheckedKeys,E,a,Ee),b}},67841:function(ft,vt,ne){"use strict";ne.d(vt,{Z:function(){return z}});function z(ie,Pe){return ie[Pe]}},71430:function(ft,vt,ne){"use strict";ne.d(vt,{F:function(){return ee},H8:function(){return x},I8:function(){return y},km:function(){return je},oH:function(){return a},w$:function(){return Ee},zn:function(){return E}});var z=ne(76190),ie=ne(94480),Pe=ne(33885),Me=ne(75931),be=ne(11592),xe=ne(2738),re=ne(48736),De=ne(67841),Ne=["children"];function Ae(te,ae){return"".concat(te,"-").concat(ae)}function Le(te){return te&&te.type&&te.type.isTreeNode}function je(te,ae){return te!=null?te:ae}function Ee(te){var ae=te||{},ue=ae.title,de=ae._title,me=ae.key,Be=ae.children,ve=ue||"title";return{title:ve,_title:de||[ve],key:me||"key",children:Be||"children"}}function oe(te,ae){var ue=new Map;function de(me){var Be=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(me||[]).forEach(function(ve){var Fe=ve[ae.key],ge=ve[ae.children];warning(Fe!=null,"Tree node must have a certain key: [".concat(Be).concat(Fe,"]"));var Je=String(Fe);warning(!ue.has(Je)||Fe===null||Fe===void 0,"Same 'key' exist in the Tree: ".concat(Je)),ue.set(Je,!0),de(ge,"".concat(Be).concat(Je," > "))})}de(te)}function E(te){function ae(ue){var de=(0,be.Z)(ue);return de.map(function(me){if(!Le(me))return(0,re.ZP)(!me,"Tree/TreeNode can only accept TreeNode as children."),null;var Be=me.key,ve=me.props,Fe=ve.children,ge=(0,Me.Z)(ve,Ne),Je=(0,Pe.Z)({key:Be},ge),Ie=ae(Fe);return Ie.length&&(Je.children=Ie),Je}).filter(function(me){return me})}return ae(te)}function a(te,ae,ue){var de=Ee(ue),me=de._title,Be=de.key,ve=de.children,Fe=new Set(ae===!0?[]:ae),ge=[];function Je(Ie){var Ue=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return Ie.map(function(ze,Ke){for(var lt=Ae(Ue?Ue.pos:"0",Ke),St=je(ze[Be],lt),ot,Bt=0;Bt<me.length;Bt+=1){var Qe=me[Bt];if(ze[Qe]!==void 0){ot=ze[Qe];break}}var yt=(0,Pe.Z)((0,Pe.Z)({},(0,xe.Z)(ze,[].concat((0,ie.Z)(me),[Be,ve]))),{},{title:ot,key:St,parent:Ue,pos:lt,children:null,data:ze,isStart:[].concat((0,ie.Z)(Ue?Ue.isStart:[]),[Ke===0]),isEnd:[].concat((0,ie.Z)(Ue?Ue.isEnd:[]),[Ke===Ie.length-1])});return ge.push(yt),ae===!0||Fe.has(St)?yt.children=Je(ze[ve]||[],yt):yt.children=[],yt})}return Je(te),ge}function b(te,ae,ue){var de={};(0,z.Z)(ue)==="object"?de=ue:de={externalGetKey:ue},de=de||{};var me=de,Be=me.childrenPropName,ve=me.externalGetKey,Fe=me.fieldNames,ge=Ee(Fe),Je=ge.key,Ie=ge.children,Ue=Be||Ie,ze;ve?typeof ve=="string"?ze=function(St){return St[ve]}:typeof ve=="function"&&(ze=function(St){return ve(St)}):ze=function(St,ot){return je(St[Je],ot)};function Ke(lt,St,ot,Bt){var Qe=lt?lt[Ue]:te,yt=lt?Ae(ot.pos,St):"0",Ft=lt?[].concat((0,ie.Z)(Bt),[lt]):[];if(lt){var Te=ze(lt,yt),Ge={node:lt,index:St,pos:yt,key:Te,parentPos:ot.node?ot.pos:null,level:ot.level+1,nodes:Ft};ae(Ge)}Qe&&Qe.forEach(function(gt,Zt){Ke(gt,Zt,{node:lt,pos:yt,level:ot?ot.level+1:-1},Ft)})}Ke(null)}function y(te){var ae=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},ue=ae.initWrapper,de=ae.processEntity,me=ae.onProcessFinished,Be=ae.externalGetKey,ve=ae.childrenPropName,Fe=ae.fieldNames,ge=arguments.length>2?arguments[2]:void 0,Je=Be||ge,Ie={},Ue={},ze={posEntities:Ie,keyEntities:Ue};return ue&&(ze=ue(ze)||ze),b(te,function(Ke){var lt=Ke.node,St=Ke.index,ot=Ke.pos,Bt=Ke.key,Qe=Ke.parentPos,yt=Ke.level,Ft=Ke.nodes,Te={node:lt,nodes:Ft,index:St,key:Bt,pos:ot,level:yt},Ge=je(Bt,ot);Ie[ot]=Te,Ue[Ge]=Te,Te.parent=Ie[Qe],Te.parent&&(Te.parent.children=Te.parent.children||[],Te.parent.children.push(Te)),de&&de(Te,ze)},{externalGetKey:Je,childrenPropName:ve,fieldNames:Fe}),me&&me(ze),ze}function x(te,ae){var ue=ae.expandedKeys,de=ae.selectedKeys,me=ae.loadedKeys,Be=ae.loadingKeys,ve=ae.checkedKeys,Fe=ae.halfCheckedKeys,ge=ae.dragOverNodeKey,Je=ae.dropPosition,Ie=ae.keyEntities,Ue=(0,De.Z)(Ie,te),ze={eventKey:te,expanded:ue.indexOf(te)!==-1,selected:de.indexOf(te)!==-1,loaded:me.indexOf(te)!==-1,loading:Be.indexOf(te)!==-1,checked:ve.indexOf(te)!==-1,halfChecked:Fe.indexOf(te)!==-1,pos:String(Ue?Ue.pos:""),dragOver:ge===te&&Je===0,dragOverGapTop:ge===te&&Je===-1,dragOverGapBottom:ge===te&&Je===1};return ze}function ee(te){var ae=te.data,ue=te.expanded,de=te.selected,me=te.checked,Be=te.loaded,ve=te.loading,Fe=te.halfChecked,ge=te.dragOver,Je=te.dragOverGapTop,Ie=te.dragOverGapBottom,Ue=te.pos,ze=te.active,Ke=te.eventKey,lt=(0,Pe.Z)((0,Pe.Z)({},ae),{},{expanded:ue,selected:de,checked:me,loaded:Be,loading:ve,halfChecked:Fe,dragOver:ge,dragOverGapTop:Je,dragOverGapBottom:Ie,pos:Ue,active:ze,key:Ke});return"props"in lt||Object.defineProperty(lt,"props",{get:function(){return(0,re.ZP)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),te}}),lt}},8224:function(ft,vt,ne){"use strict";ne.d(vt,{Z:function(){return ie}});var z=ne(4676);function ie(Pe,Me,be,xe){var re=z.unstable_batchedUpdates?function(Ne){z.unstable_batchedUpdates(be,Ne)}:be;return Pe!=null&&Pe.addEventListener&&Pe.addEventListener(Me,re,xe),{remove:function(){Pe!=null&&Pe.removeEventListener&&Pe.removeEventListener(Me,re,xe)}}}},55468:function(ft,vt,ne){"use strict";ne.d(vt,{g1:function(){return Le},os:function(){return Ee}});var z=/margin|padding|width|height|max|min|offset/,ie={left:!0,top:!0},Pe={cssFloat:1,styleFloat:1,float:1};function Me(oe){return oe.nodeType===1?oe.ownerDocument.defaultView.getComputedStyle(oe,null):{}}function be(oe,E,a){if(E=E.toLowerCase(),a==="auto"){if(E==="height")return oe.offsetHeight;if(E==="width")return oe.offsetWidth}return E in ie||(ie[E]=z.test(E)),ie[E]?parseFloat(a)||0:a}function xe(oe,E){var a=arguments.length,b=Me(oe);return E=Pe[E]?"cssFloat"in oe.style?"cssFloat":"styleFloat":E,a===1?b:be(oe,E,b[E]||oe.style[E])}function re(oe,E,a){var b=arguments.length;if(E=Pe[E]?"cssFloat"in oe.style?"cssFloat":"styleFloat":E,b===3)return typeof a=="number"&&z.test(E)&&(a="".concat(a,"px")),oe.style[E]=a,a;for(var y in E)E.hasOwnProperty(y)&&re(oe,y,E[y]);return Me(oe)}function De(oe){return oe===document.body?document.documentElement.clientWidth:oe.offsetWidth}function Ne(oe){return oe===document.body?window.innerHeight||document.documentElement.clientHeight:oe.offsetHeight}function Ae(){var oe=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth),E=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight);return{width:oe,height:E}}function Le(){var oe=document.documentElement.clientWidth,E=window.innerHeight||document.documentElement.clientHeight;return{width:oe,height:E}}function je(){return{scrollLeft:Math.max(document.documentElement.scrollLeft,document.body.scrollLeft),scrollTop:Math.max(document.documentElement.scrollTop,document.body.scrollTop)}}function Ee(oe){var E=oe.getBoundingClientRect(),a=document.documentElement;return{left:E.left+(window.pageXOffset||a.scrollLeft)-(a.clientLeft||document.body.clientLeft||0),top:E.top+(window.pageYOffset||a.scrollTop)-(a.clientTop||document.body.clientTop||0)}}},24514:function(ft,vt,ne){"use strict";ne.d(vt,{G:function(){return Me}});var z=ne(47273),ie=function(xe){if((0,z.Z)()&&window.document.documentElement){var re=Array.isArray(xe)?xe:[xe],De=window.document.documentElement;return re.some(function(Ne){return Ne in De.style})}return!1},Pe=function(xe,re){if(!ie(xe))return!1;var De=document.createElement("div"),Ne=De.style[xe];return De.style[xe]=re,De.style[xe]!==Ne};function Me(be,xe){return!Array.isArray(be)&&xe!==void 0?Pe(be,xe):ie(be)}},32637:function(ft){"use strict";ft.exports="data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAASABIAAD/4QBMRXhpZgAATU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAtKADAAQAAAABAAAAtAAAAAD/7QA4UGhvdG9zaG9wIDMuMAA4QklNBAQAAAAAAAA4QklNBCUAAAAAABDUHYzZjwCyBOmACZjs+EJ+/8IAEQgAtA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