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__Ed...

298 lines
1.2 MiB

(self.webpackChunk=self.webpackChunk||[]).push([[5816],{89489:function(_t,Rt,ae){"use strict";ae.d(Rt,{Z:function(){return Ze}});var b=ae(14809),se=ae(59301),be={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"},Ae=be,Ie=ae(7657),Re=function(Te,ke){return se.createElement(Ie.Z,(0,b.Z)({},Te,{ref:ke,icon:Ae}))},ue=se.forwardRef(Re),Ze=ue},59477:function(_t,Rt,ae){"use strict";ae.d(Rt,{Z:function(){return Ze}});var b=ae(14809),se=ae(59301),be={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"},Ae=be,Ie=ae(7657),Re=function(Te,ke){return se.createElement(Ie.Z,(0,b.Z)({},Te,{ref:ke,icon:Ae}))},ue=se.forwardRef(Re),Ze=ue},49198:function(_t,Rt,ae){"use strict";ae.d(Rt,{Z:function(){return Ze}});var b=ae(14809),se=ae(59301),be={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"},Ae=be,Ie=ae(7657),Re=function(Te,ke){return se.createElement(Ie.Z,(0,b.Z)({},Te,{ref:ke,icon:Ae}))},ue=se.forwardRef(Re),Ze=ue},87169:function(_t,Rt,ae){"use strict";ae.d(Rt,{Z:function(){return Ze}});var b=ae(14809),se=ae(59301),be={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"},Ae=be,Ie=ae(7657),Re=function(Te,ke){return se.createElement(Ie.Z,(0,b.Z)({},Te,{ref:ke,icon:Ae}))},ue=se.forwardRef(Re),Ze=ue},52671:function(_t,Rt,ae){"use strict";ae.d(Rt,{Z:function(){return Ze}});var b=ae(14809),se=ae(59301),be={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"},Ae=be,Ie=ae(7657),Re=function(Te,ke){return se.createElement(Ie.Z,(0,b.Z)({},Te,{ref:ke,icon:Ae}))},ue=se.forwardRef(Re),Ze=ue},8657:function(_t,Rt,ae){"use strict";ae.d(Rt,{Z:function(){return Ze}});var b=ae(14809),se=ae(59301),be={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"},Ae=be,Ie=ae(7657),Re=function(Te,ke){return se.createElement(Ie.Z,(0,b.Z)({},Te,{ref:ke,icon:Ae}))},ue=se.forwardRef(Re),Ze=ue},56082:function(_t,Rt,ae){"use strict";ae.d(Rt,{Z:function(){return Ze}});var b=ae(14809),se=ae(59301),be={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"},Ae=be,Ie=ae(7657),Re=function(Te,ke){return se.createElement(Ie.Z,(0,b.Z)({},Te,{ref:ke,icon:Ae}))},ue=se.forwardRef(Re),Ze=ue},33853:function(_t,Rt,ae){"use strict";ae.d(Rt,{Z:function(){return Ze}});var b=ae(14809),se=ae(59301),be={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"},Ae=be,Ie=ae(7657),Re=function(Te,ke){return se.createElement(Ie.Z,(0,b.Z)({},Te,{ref:ke,icon:Ae}))},ue=se.forwardRef(Re),Ze=ue},12893:function(_t,Rt,ae){"use strict";ae.d(Rt,{Z:function(){return Ze}});var b=ae(14809),se=ae(59301),be={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"},Ae=be,Ie=ae(7657),Re=function(Te,ke){return se.createElement(Ie.Z,(0,b.Z)({},Te,{ref:ke,icon:Ae}))},ue=se.forwardRef(Re),Ze=ue},15075:function(_t,Rt,ae){"use strict";ae.d(Rt,{Z:function(){return Ze}});var b=ae(14809),se=ae(59301),be={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"},Ae=be,Ie=ae(7657),Re=function(Te,ke){return se.createElement(Ie.Z,(0,b.Z)({},Te,{ref:ke,icon:Ae}))},ue=se.forwardRef(Re),Ze=ue},32134:function(_t,Rt,ae){"use strict";ae.d(Rt,{Z:function(){return Ze}});var b=ae(14809),se=ae(59301),be={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"},Ae=be,Ie=ae(7657),Re=function(Te,ke){return se.createElement(Ie.Z,(0,b.Z)({},Te,{ref:ke,icon:Ae}))},ue=se.forwardRef(Re),Ze=ue},43531:function(_t,Rt,ae){"use strict";ae.d(Rt,{Z:function(){return Ze}});var b=ae(14809),se=ae(59301),be={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"},Ae=be,Ie=ae(7657),Re=function(Te,ke){return se.createElement(Ie.Z,(0,b.Z)({},Te,{ref:ke,icon:Ae}))},ue=se.forwardRef(Re),Ze=ue},38819:function(_t,Rt,ae){"use strict";ae.d(Rt,{Z:function(){return Ze}});var b=ae(14809),se=ae(59301),be={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"},Ae=be,Ie=ae(7657),Re=function(Te,ke){return se.createElement(Ie.Z,(0,b.Z)({},Te,{ref:ke,icon:Ae}))},ue=se.forwardRef(Re),Ze=ue},99587:function(_t,Rt){"use strict";Rt.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},8423:function(_t,Rt){"use strict";Rt.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"}},12327:function(_t,Rt,ae){"use strict";var b=ae(59301),se=Object.defineProperty,be=Object.getOwnPropertySymbols,Ae=Object.prototype.hasOwnProperty,Ie=Object.prototype.propertyIsEnumerable,Re=(We,Te,ke)=>Te in We?se(We,Te,{enumerable:!0,configurable:!0,writable:!0,value:ke}):We[Te]=ke,ue=(We,Te)=>{for(var ke in Te||(Te={}))Ae.call(Te,ke)&&Re(We,ke,Te[ke]);if(be)for(var ke of be(Te))Ie.call(Te,ke)&&Re(We,ke,Te[ke]);return We};const Ze=We=>React.createElement("svg",ue({width:14,height:14,xmlns:"http://www.w3.org/2000/svg"},We),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"})));Rt.Z="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48Y2lyY2xlIGZpbGw9IiNGQ0IwNDEiIGN4PSI3IiBjeT0iNyIgcj0iNyIvPjxwYXRoIGQ9Ik03LjUzMSA5LjYzOGEuNjE2LjYxNiAwIDEgMS0xLjIzMSAwdi0uMDJhLjYxNi42MTYgMCAxIDEgMS4yMzEgMHYuMDJabTAtMi4yNWEuNjE2LjYxNiAwIDEgMS0xLjIzMSAwVjQuMTE3YS42MTYuNjE2IDAgMSAxIDEuMjMxIDB2My4yNzNaIiBmaWxsPSIjRkZGIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L2c+PC9zdmc+"},63720:function(){"use strict";function _t(le,E,a,x){a===void 0&&(a=0),x===void 0&&(x=1/0),this._name=le,this._defaultValue=E,this._minimum=a,this._maximum=x}Object.defineProperty(_t.prototype,"name",{get:function(){return this._name},set:function(le){if(typeof le!="string"||le==="")throw new Error("Shape name must be a valid string.");this._name=le}}),Object.defineProperty(_t.prototype,"defaultValue",{get:function(){return this._defaultValue},set:function(le){if(typeof le!="number"||isNaN(le))throw new Error("The default value must be a real number, not: "+le);this._defaultValue=le}}),Object.defineProperty(_t.prototype,"minimum",{get:function(){return this._minimum},set:function(le){if(typeof le!="number"||isNaN(le))throw new Error("Minimum must be a real number, not: "+le);this._minimum=le}}),Object.defineProperty(_t.prototype,"maximum",{get:function(){return this._maximum},set:function(le){if(typeof le!="number"||isNaN(le))throw new Error("Maximum must be a real number, not: "+le);this._maximum=le}}),go.Shape._FigureParameters={},go.Shape.getFigureParameter=function(le,E){var a=go.Shape._FigureParameters[le];return a?a[E]:null},go.Shape.setFigureParameter=function(le,E,a){if(!(a instanceof _t))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 x=go.Shape._FigureParameters[le];x||(x=[],go.Shape._FigureParameters[le]=x),x[E]=a};var Rt=[];function ae(le,E){var a=Rt.pop();return a===void 0?new go.Point(le,E):(a.x=le,a.y=E,a)}function b(){var le=Rt.pop();return le===void 0?new go.Point:le}function se(le){Rt.push(le)}function be(le,E,a,x,y,z,te,re,ie){ie||(ie=new go.Point);var ce=le-a,pe=y-te,ge=NaN,ye=NaN;if(ce===0)if(pe===0)le===a&&(ge=le,ye=E);else{var Ee=(z-re)/pe,Le=z-Ee*y;ge=le,ye=Ee*ge+Le}else if(pe===0){var ve=(E-x)/ce,$e=E-ve*le;ge=y,ye=ve*ge+$e}else{var ve=(E-x)/ce,Ee=(z-re)/pe,$e=E-ve*le,Le=z-Ee*y;ge=(Le-$e)/(ve-Ee),ye=ve*ge+$e}return ie.x=ge,ie.y=ye,ie}function Ae(le,E,a,x,y,z,te,re,ie,ce,pe,ge,ye,Ee){var Le=1-ie,ve=ie,$e=le*Le+a*ve,He=E*Le+x*ve,it=a*Le+y*ve,Ne=x*Le+z*ve,Qe=y*Le+te*ve,lt=z*Le+re*ve,Ke=$e*Le+it*ve,Ye=He*Le+Ne*ve,Kt=it*Le+Qe*ve,ot=Ne*Le+lt*ve,Ht=Ke*Le+Kt*ve,en=Ye*Le+ot*ve;ce.x=$e,ce.y=He,pe.x=Ke,pe.y=Ye,ge.x=Ht,ge.y=en,ye.x=Kt,ye.y=ot,Ee.x=Qe,Ee.y=lt}var Ie=new go.Spot(.156,.156),Re=new go.Spot(.844,.844),ue=4*((Math.sqrt(2)-1)/3);go.Shape.setFigureParameter("RoundedRectangle",0,new _t("CornerRounding",5)),go.Shape.defineFigureGenerator("RoundedRectangle",function(le,E,a){var x=le?le.parameter1:NaN;(isNaN(x)||x<0)&&(x=5),x=Math.min(x,E/3),x=Math.min(x,a/3);var y=x*ue,z=new go.Geometry().add(new go.PathFigure(x,0,!0).add(new go.PathSegment(go.PathSegment.Line,E-x,0)).add(new go.PathSegment(go.PathSegment.Bezier,E,x,E-y,0,E,y)).add(new go.PathSegment(go.PathSegment.Line,E,a-x)).add(new go.PathSegment(go.PathSegment.Bezier,E-x,a,E,a-y,E-y,a)).add(new go.PathSegment(go.PathSegment.Line,x,a)).add(new go.PathSegment(go.PathSegment.Bezier,0,a-x,y,a,0,a-y)).add(new go.PathSegment(go.PathSegment.Line,0,x)).add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,y,y,0).close()));return y>1&&(z.spot1=new go.Spot(0,0,y,y),z.spot2=new go.Spot(1,1,-y,-y)),z}),go.Shape.defineFigureGenerator("Border","RoundedRectangle"),go.Shape.defineFigureGenerator("TriangleRight",function(le,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(le,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(le,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(le,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(le,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(le,E,a){var x=new go.Geometry(go.Geometry.Line);return x.startX=0,x.startY=a/2,x.endX=E,x.endY=a/2,x}),go.Shape.defineFigureGenerator("LineV",function(le,E,a){var x=new go.Geometry(go.Geometry.Line);return x.startX=E/2,x.startY=0,x.endX=E/2,x.endY=a,x}),go.Shape.defineFigureGenerator("BarH","Rectangle"),go.Shape.defineFigureGenerator("BarV","Rectangle"),go.Shape.defineFigureGenerator("MinusLine","LineH"),go.Shape.defineFigureGenerator("PlusLine",function(le,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(le,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(le,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(le,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(le,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(le,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(le,E,a){var x=.2/Math.SQRT2;return new go.Geometry().add(new go.PathFigure(x*E,(1-x)*a,!1).add(new go.PathSegment(go.PathSegment.Line,(1-x)*E,x*a)).add(new go.PathSegment(go.PathSegment.Move,x*E,x*a)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*E,(1-x)*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(le,E,a){var x=E/2,y=new go.Geometry().add(new go.PathFigure(E,E/2,!1).add(new go.PathSegment(go.PathSegment.Arc,0,360,x,x,x,x).close()));return y.spot1=Ie,y.spot2=Re,y.defaultStretch=go.GraphObject.Uniform,y}),go.Shape.defineFigureGenerator("Line1",function(le,E,a){var x=new go.Geometry(go.Geometry.Line);return x.startX=0,x.startY=0,x.endX=E,x.endY=a,x}),go.Shape.defineFigureGenerator("Line2",function(le,E,a){var x=new go.Geometry(go.Geometry.Line);return x.startX=E,x.startY=0,x.endX=0,x.endY=a,x}),go.Shape.defineFigureGenerator("Curve1",function(le,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,E,a,ue*E,0,E,(1-ue)*a)))}),go.Shape.defineFigureGenerator("Curve2",function(le,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,E,a,0,ue*a,(1-ue)*E,a)))}),go.Shape.defineFigureGenerator("Curve3",function(le,E,a){return new go.Geometry().add(new go.PathFigure(E,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,a,E,ue*a,ue*E,a)))}),go.Shape.defineFigureGenerator("Curve4",function(le,E,a){return new go.Geometry().add(new go.PathFigure(E,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,a,(1-ue)*E,0,0,(1-ue)*a)))}),go.Shape.defineFigureGenerator("TriangleDownLeft",function(le,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(le,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(le,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(le,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 _t("Indent",.1,-.99,.99)),go.Shape.defineFigureGenerator("Parallelogram1",function(le,E,a){var x=le?le.parameter1:NaN;isNaN(x)?x=.1:x<-1?x=-1:x>1&&(x=1);var y=Math.abs(x)*E;if(x===0){var z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=E,z.endY=a,z}else{var z=new go.Geometry;return x>0?z.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())):z.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&&z.setSpots(y/E,0,(E-y)/E,1),z}}),go.Shape.defineFigureGenerator("Parallelogram","Parallelogram1"),go.Shape.setFigureParameter("Parallelogram2",0,new _t("Indent",10,-1/0,1/0)),go.Shape.defineFigureGenerator("Parallelogram2",function(le,E,a){var x=le?le.parameter1:NaN;isNaN(x)?x=10:x<-E?x=-E:x>E&&(x=E);var y=Math.abs(x);if(x===0){var z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=E,z.endY=a,z}else{var z=new go.Geometry;return x>0?z.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())):z.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&&z.setSpots(y/E,0,(E-y)/E,1),z}}),go.Shape.setFigureParameter("Trapezoid1",0,new _t("Indent",.2,-.99,.99)),go.Shape.defineFigureGenerator("Trapezoid1",function(le,E,a){var x=le?le.parameter1:NaN;isNaN(x)?x=.2:x<.5?x=-.5:x>.5&&(x=.5);var y=Math.abs(x)*E;if(x===0){var z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=E,z.endY=a,z}else{var z=new go.Geometry;return x>0?z.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())):z.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&&z.setSpots(y/E,0,(E-y)/E,1),z}}),go.Shape.defineFigureGenerator("Trapezoid","Trapezoid1"),go.Shape.setFigureParameter("Trapezoid2",0,new _t("Indent",20,-1/0,1/0)),go.Shape.defineFigureGenerator("Trapezoid2",function(le,E,a){var x=le?le.parameter1:NaN;isNaN(x)?x=20:x<-E?x=-E/2:x>E&&(x=E/2);var y=Math.abs(x);if(x===0){var z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=E,z.endY=a,z}else{var z=new go.Geometry;return x>0?z.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())):z.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&&z.setSpots(y/E,0,(E-y)/E,1),z}}),go.Shape.setFigureParameter("ManualOperation",0,new _t("Indent",10,-1/0,1/0)),go.Shape.defineFigureGenerator("ManualOperation",function(le,E,a){var x=le?le.parameter1:NaN;isNaN(x)?x=10:x<-E?x=-E/2:x>E&&(x=E/2);var y=Math.abs(x);if(x===0){var z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=E,z.endY=a,z}else{var z=new go.Geometry;return x>0?z.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())):z.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&&z.setSpots(y/E,0,(E-y)/E,1),z}});var Ze=[];function We(){var le=Ze.pop();return le===void 0?[]:le}function Te(le){le.length=0,Ze.push(le)}function ke(le){for(var E=We(),a=.5,x=.5,y=Math.PI*1.5,z=0,te=0;te<le;te++)z=2*Math.PI/le*te+y,E[te]=new go.Point(x+a*Math.cos(z),x+a*Math.sin(z));return E.push(E[0]),E}function je(le){var E=De(le),a=We();a[0]=E[0];for(var x=1,y=1;x<E.length;x+=2,y+=3)a[y]=E[x],a[y+1]=E[x],a[y+2]=E[x+1];return Te(E),a}function De(le){for(var E=ke(le),a=We(),x=Math.floor(E.length/2),y=E.length-1,z=le%2===0?2:1,te=0;te<y;te++){var re=E[te],ie=E[te+1],ce=E[(x+te-1)%y],pe=E[(x+te+z)%y];a[te*2]=re,a[te*2+1]=be(re.x,re.y,ce.x,ce.y,ie.x,ie.y,pe.x,pe.y,new go.Point)}return a[a.length]=a[0],Te(E),a}go.Shape.defineFigureGenerator("Pentagon",function(le,E,a){var x=ke(5),y=new go.Geometry,z=new go.PathFigure(x[0].x*E,x[0].y*a,!0);y.add(z);for(var te=1;te<5;te++)z.add(new go.PathSegment(go.PathSegment.Line,x[te].x*E,x[te].y*a));return z.add(new go.PathSegment(go.PathSegment.Line,x[0].x*E,x[0].y*a).close()),Te(x),y.spot1=new go.Spot(.2,.22),y.spot2=new go.Spot(.8,.9),y}),go.Shape.defineFigureGenerator("Hexagon",function(le,E,a){var x=ke(6),y=new go.Geometry,z=new go.PathFigure(x[0].x*E,x[0].y*a,!0);y.add(z);for(var te=1;te<6;te++)z.add(new go.PathSegment(go.PathSegment.Line,x[te].x*E,x[te].y*a));return z.add(new go.PathSegment(go.PathSegment.Line,x[0].x*E,x[0].y*a).close()),Te(x),y.spot1=new go.Spot(.07,.25),y.spot2=new go.Spot(.93,.75),y}),go.Shape.defineFigureGenerator("Heptagon",function(le,E,a){var x=ke(7),y=new go.Geometry,z=new go.PathFigure(x[0].x*E,x[0].y*a,!0);y.add(z);for(var te=1;te<7;te++)z.add(new go.PathSegment(go.PathSegment.Line,x[te].x*E,x[te].y*a));return z.add(new go.PathSegment(go.PathSegment.Line,x[0].x*E,x[0].y*a).close()),Te(x),y.spot1=new go.Spot(.2,.15),y.spot2=new go.Spot(.8,.85),y}),go.Shape.defineFigureGenerator("Octagon",function(le,E,a){var x=ke(8),y=new go.Geometry,z=new go.PathFigure(x[0].x*E,x[0].y*a,!0);y.add(z);for(var te=1;te<8;te++)z.add(new go.PathSegment(go.PathSegment.Line,x[te].x*E,x[te].y*a));return z.add(new go.PathSegment(go.PathSegment.Line,x[0].x*E,x[0].y*a).close()),Te(x),y.spot1=new go.Spot(.15,.15),y.spot2=new go.Spot(.85,.85),y}),go.Shape.defineFigureGenerator("Nonagon",function(le,E,a){var x=ke(9),y=new go.Geometry,z=new go.PathFigure(x[0].x*E,x[0].y*a,!0);y.add(z);for(var te=1;te<9;te++)z.add(new go.PathSegment(go.PathSegment.Line,x[te].x*E,x[te].y*a));return z.add(new go.PathSegment(go.PathSegment.Line,x[0].x*E,x[0].y*a).close()),Te(x),y.spot1=new go.Spot(.17,.13),y.spot2=new go.Spot(.82,.82),y}),go.Shape.defineFigureGenerator("Decagon",function(le,E,a){var x=ke(10),y=new go.Geometry,z=new go.PathFigure(x[0].x*E,x[0].y*a,!0);y.add(z);for(var te=1;te<10;te++)z.add(new go.PathSegment(go.PathSegment.Line,x[te].x*E,x[te].y*a));return z.add(new go.PathSegment(go.PathSegment.Line,x[0].x*E,x[0].y*a).close()),Te(x),y.spot1=new go.Spot(.16,.16),y.spot2=new go.Spot(.84,.84),y}),go.Shape.defineFigureGenerator("Dodecagon",function(le,E,a){var x=ke(12),y=new go.Geometry,z=new go.PathFigure(x[0].x*E,x[0].y*a,!0);y.add(z);for(var te=1;te<12;te++)z.add(new go.PathSegment(go.PathSegment.Line,x[te].x*E,x[te].y*a));return z.add(new go.PathSegment(go.PathSegment.Line,x[0].x*E,x[0].y*a).close()),Te(x),y.spot1=new go.Spot(.16,.16),y.spot2=new go.Spot(.84,.84),y}),go.Shape.defineFigureGenerator("FivePointedStar",function(le,E,a){var x=De(5),y=new go.Geometry,z=new go.PathFigure(x[0].x*E,x[0].y*a,!0);y.add(z);for(var te=1;te<10;te++)z.add(new go.PathSegment(go.PathSegment.Line,x[te].x*E,x[te].y*a));return z.add(new go.PathSegment(go.PathSegment.Line,x[0].x*E,x[0].y*a).close()),Te(x),y.spot1=new go.Spot(.266,.333),y.spot2=new go.Spot(.733,.733),y}),go.Shape.defineFigureGenerator("SixPointedStar",function(le,E,a){var x=De(6),y=new go.Geometry,z=new go.PathFigure(x[0].x*E,x[0].y*a,!0);y.add(z);for(var te=1;te<12;te++)z.add(new go.PathSegment(go.PathSegment.Line,x[te].x*E,x[te].y*a));return z.add(new go.PathSegment(go.PathSegment.Line,x[0].x*E,x[0].y*a).close()),Te(x),y.spot1=new go.Spot(.17,.25),y.spot2=new go.Spot(.83,.75),y}),go.Shape.defineFigureGenerator("SevenPointedStar",function(le,E,a){var x=De(7),y=new go.Geometry,z=new go.PathFigure(x[0].x*E,x[0].y*a,!0);y.add(z);for(var te=1;te<14;te++)z.add(new go.PathSegment(go.PathSegment.Line,x[te].x*E,x[te].y*a));return z.add(new go.PathSegment(go.PathSegment.Line,x[0].x*E,x[0].y*a).close()),Te(x),y.spot1=new go.Spot(.222,.277),y.spot2=new go.Spot(.777,.666),y}),go.Shape.defineFigureGenerator("EightPointedStar",function(le,E,a){var x=De(8),y=new go.Geometry,z=new go.PathFigure(x[0].x*E,x[0].y*a,!0);y.add(z);for(var te=1;te<16;te++)z.add(new go.PathSegment(go.PathSegment.Line,x[te].x*E,x[te].y*a));return z.add(new go.PathSegment(go.PathSegment.Line,x[0].x*E,x[0].y*a).close()),Te(x),y.spot1=new go.Spot(.25,.25),y.spot2=new go.Spot(.75,.75),y}),go.Shape.defineFigureGenerator("NinePointedStar",function(le,E,a){var x=De(9),y=new go.Geometry,z=new go.PathFigure(x[0].x*E,x[0].y*a,!0);y.add(z);for(var te=1;te<18;te++)z.add(new go.PathSegment(go.PathSegment.Line,x[te].x*E,x[te].y*a));return z.add(new go.PathSegment(go.PathSegment.Line,x[0].x*E,x[0].y*a).close()),Te(x),y.spot1=new go.Spot(.222,.277),y.spot2=new go.Spot(.777,.666),y}),go.Shape.defineFigureGenerator("TenPointedStar",function(le,E,a){var x=De(10),y=new go.Geometry,z=new go.PathFigure(x[0].x*E,x[0].y*a,!0);y.add(z);for(var te=1;te<20;te++)z.add(new go.PathSegment(go.PathSegment.Line,x[te].x*E,x[te].y*a));return z.add(new go.PathSegment(go.PathSegment.Line,x[0].x*E,x[0].y*a).close()),Te(x),y.spot1=new go.Spot(.281,.261),y.spot2=new go.Spot(.723,.748),y}),go.Shape.defineFigureGenerator("FivePointedBurst",function(le,E,a){var x=je(5),y=new go.Geometry,z=new go.PathFigure(x[0].x*E,x[0].y*a,!0);y.add(z);for(var te=1;te<x.length;te+=3)z.add(new go.PathSegment(go.PathSegment.Bezier,x[te+2].x*E,x[te+2].y*a,x[te].x*E,x[te].y*a,x[te+1].x*E,x[te+1].y*a));return z.segments.last().close(),Te(x),y.spot1=new go.Spot(.222,.277),y.spot2=new go.Spot(.777,.777),y}),go.Shape.defineFigureGenerator("SixPointedBurst",function(le,E,a){var x=je(6),y=new go.Geometry,z=new go.PathFigure(x[0].x*E,x[0].y*a,!0);y.add(z);for(var te=1;te<x.length;te+=3)z.add(new go.PathSegment(go.PathSegment.Bezier,x[te+2].x*E,x[te+2].y*a,x[te].x*E,x[te].y*a,x[te+1].x*E,x[te+1].y*a));return z.segments.last().close(),Te(x),y.spot1=new go.Spot(.17,.222),y.spot2=new go.Spot(.833,.777),y}),go.Shape.defineFigureGenerator("SevenPointedBurst",function(le,E,a){var x=je(7),y=new go.Geometry,z=new go.PathFigure(x[0].x*E,x[0].y*a,!0);y.add(z);for(var te=1;te<x.length;te+=3)z.add(new go.PathSegment(go.PathSegment.Bezier,x[te+2].x*E,x[te+2].y*a,x[te].x*E,x[te].y*a,x[te+1].x*E,x[te+1].y*a));return z.segments.last().close(),Te(x),y.spot1=new go.Spot(.222,.222),y.spot2=new go.Spot(.777,.777),y}),go.Shape.defineFigureGenerator("EightPointedBurst",function(le,E,a){var x=je(8),y=new go.Geometry,z=new go.PathFigure(x[0].x*E,x[0].y*a,!0);y.add(z);for(var te=1;te<x.length;te+=3)z.add(new go.PathSegment(go.PathSegment.Bezier,x[te+2].x*E,x[te+2].y*a,x[te].x*E,x[te].y*a,x[te+1].x*E,x[te+1].y*a));return z.segments.last().close(),Te(x),y.spot1=new go.Spot(.222,.222),y.spot2=new go.Spot(.777,.777),y}),go.Shape.defineFigureGenerator("NinePointedBurst",function(le,E,a){var x=je(9),y=new go.Geometry,z=new go.PathFigure(x[0].x*E,x[0].y*a,!0);y.add(z);for(var te=1;te<x.length;te+=3)z.add(new go.PathSegment(go.PathSegment.Bezier,x[te+2].x*E,x[te+2].y*a,x[te].x*E,x[te].y*a,x[te+1].x*E,x[te+1].y*a));return z.segments.last().close(),Te(x),y.spot1=new go.Spot(.222,.222),y.spot2=new go.Spot(.777,.777),y}),go.Shape.defineFigureGenerator("TenPointedBurst",function(le,E,a){var x=je(10),y=new go.Geometry,z=new go.PathFigure(x[0].x*E,x[0].y*a,!0);y.add(z);for(var te=1;te<x.length;te+=3)z.add(new go.PathSegment(go.PathSegment.Bezier,x[te+2].x*E,x[te+2].y*a,x[te].x*E,x[te].y*a,x[te+1].x*E,x[te+1].y*a));return z.segments.last().close(),Te(x),y.spot1=new go.Spot(.222,.222),y.spot2=new go.Spot(.777,.777),y}),go.Shape.setFigureParameter("FramedRectangle",0,new _t("ThicknessX",8)),go.Shape.setFigureParameter("FramedRectangle",1,new _t("ThicknessY",8)),go.Shape.defineFigureGenerator("FramedRectangle",function(le,E,a){var x=le?le.parameter1:NaN,y=le?le.parameter2:NaN;isNaN(x)&&(x=8),isNaN(y)&&(y=8);var z=new go.Geometry,te=new go.PathFigure(0,0,!0);return z.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E,0)),te.add(new go.PathSegment(go.PathSegment.Line,E,a)),te.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x<E/2&&y<a/2&&(te.add(new go.PathSegment(go.PathSegment.Move,x,y)),te.add(new go.PathSegment(go.PathSegment.Line,x,a-y)),te.add(new go.PathSegment(go.PathSegment.Line,E-x,a-y)),te.add(new go.PathSegment(go.PathSegment.Line,E-x,y).close())),z.setSpots(0,0,1,1,x,y,-x,-y),z}),go.Shape.setFigureParameter("Ring",0,new _t("Thickness",8)),go.Shape.defineFigureGenerator("Ring",function(le,E,a){var x=le?le.parameter1:NaN;(isNaN(x)||x<0)&&(x=8);var y=E/2,z=new go.Geometry,te=new go.PathFigure(E,E/2,!0);z.add(te),te.add(new go.PathSegment(go.PathSegment.Arc,0,360,y,y,y,y).close());var re=Math.max(y-x,0);return re>0&&(te.add(new go.PathSegment(go.PathSegment.Move,E/2+re,E/2)),te.add(new go.PathSegment(go.PathSegment.Arc,0,-360,y,y,re,re).close())),z.spot1=Ie,z.spot2=Re,z.defaultStretch=go.GraphObject.Uniform,z}),go.Shape.defineFigureGenerator("Cloud",function(le,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(le,E,a){var x=1/(Math.SQRT2+2);return new go.Geometry().add(new go.PathFigure(x*E,0,!0).add(new go.PathSegment(go.PathSegment.Line,(1-x)*E,0)).add(new go.PathSegment(go.PathSegment.Line,E,x*a)).add(new go.PathSegment(go.PathSegment.Line,E,(1-x)*a)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*E,a)).add(new go.PathSegment(go.PathSegment.Line,x*E,a)).add(new go.PathSegment(go.PathSegment.Line,0,(1-x)*a)).add(new go.PathSegment(go.PathSegment.Line,0,x*a).close())).setSpots(x/2,x/2,1-x/2,1-x/2)}),go.Shape.setFigureParameter("Pie",0,new _t("Start",0,-360,360)),go.Shape.setFigureParameter("Pie",1,new _t("Sweep",315,-360,360)),go.Shape.defineFigureGenerator("Pie",function(le,E,a){var x=le?le.parameter1:NaN,y=le?le.parameter2:NaN;isNaN(x)&&(x=0),isNaN(y)&&(y=315);var z=x%360;z<0&&(z+=360);var te=y%360,re=Math.min(E,a)/2;return new go.Geometry().add(new go.PathFigure(re,re).add(new go.PathSegment(go.PathSegment.Arc,z,te,re,re,re,re).close()))}),go.Shape.defineFigureGenerator("PiePiece",function(le,E,a){var x=ue/Math.SQRT2*.5,y=Math.SQRT2/2,z=1-Math.SQRT2/2;return new go.Geometry().add(new go.PathFigure(E,a,!0).add(new go.PathSegment(go.PathSegment.Bezier,y*E,z*a,E,(1-x)*a,(y+x)*E,(z+x)*a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close()))}),go.Shape.setFigureParameter("ThickCross",0,new _t("Thickness",30)),go.Shape.defineFigureGenerator("ThickCross",function(le,E,a){var x=le?le.parameter1:NaN;(isNaN(x)||x<0)&&(x=30);var y=Math.min(x,E)/2,z=E/2,te=a/2;return new go.Geometry().add(new go.PathFigure(z-y,0,!0).add(new go.PathSegment(go.PathSegment.Line,z+y,0)).add(new go.PathSegment(go.PathSegment.Line,z+y,te-y)).add(new go.PathSegment(go.PathSegment.Line,E,te-y)).add(new go.PathSegment(go.PathSegment.Line,E,te+y)).add(new go.PathSegment(go.PathSegment.Line,z+y,te+y)).add(new go.PathSegment(go.PathSegment.Line,z+y,a)).add(new go.PathSegment(go.PathSegment.Line,z-y,a)).add(new go.PathSegment(go.PathSegment.Line,z-y,te+y)).add(new go.PathSegment(go.PathSegment.Line,0,te+y)).add(new go.PathSegment(go.PathSegment.Line,0,te-y)).add(new go.PathSegment(go.PathSegment.Line,z-y,te-y).close()))}),go.Shape.setFigureParameter("ThinCross",0,new _t("Thickness",10)),go.Shape.defineFigureGenerator("ThinCross",function(le,E,a){var x=le?le.parameter1:NaN;(isNaN(x)||x<0)&&(x=10);var y=Math.min(x,E)/2,z=E/2,te=a/2;return new go.Geometry().add(new go.PathFigure(z-y,0,!0).add(new go.PathSegment(go.PathSegment.Line,z+y,0)).add(new go.PathSegment(go.PathSegment.Line,z+y,te-y)).add(new go.PathSegment(go.PathSegment.Line,E,te-y)).add(new go.PathSegment(go.PathSegment.Line,E,te+y)).add(new go.PathSegment(go.PathSegment.Line,z+y,te+y)).add(new go.PathSegment(go.PathSegment.Line,z+y,a)).add(new go.PathSegment(go.PathSegment.Line,z-y,a)).add(new go.PathSegment(go.PathSegment.Line,z-y,te+y)).add(new go.PathSegment(go.PathSegment.Line,0,te+y)).add(new go.PathSegment(go.PathSegment.Line,0,te-y)).add(new go.PathSegment(go.PathSegment.Line,z-y,te-y).close()))}),go.Shape.setFigureParameter("ThickX",0,new _t("Thickness",30)),go.Shape.defineFigureGenerator("ThickX",function(le,E,a){var x=le?le.parameter1:NaN;if((isNaN(x)||x<0)&&(x=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 z=E/2,te=a/2,re=Math.atan2(a,E),ie=x-Math.min(Math.cos(re)*x/2,z),ce=x-Math.min(Math.sin(re)*x/2,te),y=new go.Geometry,pe=new go.PathFigure(ie,0,!0);return y.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,z,.2*a)),pe.add(new go.PathSegment(go.PathSegment.Line,E-ie,0)),pe.add(new go.PathSegment(go.PathSegment.Line,E,ce)),pe.add(new go.PathSegment(go.PathSegment.Line,.8*E,te)),pe.add(new go.PathSegment(go.PathSegment.Line,E,a-ce)),pe.add(new go.PathSegment(go.PathSegment.Line,E-ie,a)),pe.add(new go.PathSegment(go.PathSegment.Line,z,.8*a)),pe.add(new go.PathSegment(go.PathSegment.Line,ie,a)),pe.add(new go.PathSegment(go.PathSegment.Line,0,a-ce)),pe.add(new go.PathSegment(go.PathSegment.Line,.2*E,te)),pe.add(new go.PathSegment(go.PathSegment.Line,0,ce).close()),y}}),go.Shape.setFigureParameter("ThinX",0,new _t("Thickness",10)),go.Shape.defineFigureGenerator("ThinX",function(le,E,a){var x=le?le.parameter1:NaN;(isNaN(x)||x<0)&&(x=10);var y=new go.Geometry,z=new go.PathFigure(.1*E,0,!0);return y.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,.9*E,0)),z.add(new go.PathSegment(go.PathSegment.Line,E,.1*a)),z.add(new go.PathSegment(go.PathSegment.Line,.6*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,.9*a)),z.add(new go.PathSegment(go.PathSegment.Line,.9*E,a)),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,.6*a)),z.add(new go.PathSegment(go.PathSegment.Line,.1*E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.9*a)),z.add(new go.PathSegment(go.PathSegment.Line,.4*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.1*a).close()),y}),go.Shape.setFigureParameter("SquareIBeam",0,new _t("BeamWidth",.2,.1,.9)),go.Shape.defineFigureGenerator("SquareIBeam",function(le,E,a){var x=le?le.parameter1:NaN;isNaN(x)&&(x=.2);var y=new go.Geometry,z=new go.PathFigure(0,0,!0);return y.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Line,E,x*a)),z.add(new go.PathSegment(go.PathSegment.Line,(.5+x/2)*E,x*a)),z.add(new go.PathSegment(go.PathSegment.Line,(.5+x/2)*E,(1-x)*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,(1-x)*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,(1-x)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(.5-x/2)*E,(1-x)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(.5-x/2)*E,x*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,x*a).close()),y}),go.Shape.setFigureParameter("RoundedIBeam",0,new _t("Curviness",.5,.05,.65)),go.Shape.defineFigureGenerator("RoundedIBeam",function(le,E,a){var x=le?le.parameter1:NaN;isNaN(x)&&(x=.5);var y=new go.Geometry,z=new go.PathFigure(0,0,!0);return y.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,E,a,Math.abs(1-x)*E,.25*a,Math.abs(1-x)*E,.75*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,0,x*E,.75*a,x*E,.25*a).close()),y}),go.Shape.defineFigureGenerator("HalfEllipse",function(le,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,ue*E,0,E,(.5-ue/2)*a)).add(new go.PathSegment(go.PathSegment.Bezier,0,a,E,(.5+ue/2)*a,ue*E,a).close())).setSpots(0,.156,.844,.844)}),go.Shape.defineFigureGenerator("Crescent",function(le,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(le,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(le,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(le,E,a){var x=new go.Geometry,y=new go.PathFigure(.4*E,.6*a,!0);x.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 z=.2,te=.3,re=0,ie=z*ue;return y.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*E,(.5+z+re)*a,(.5-z+te)*E,(.5+ie+re)*a,(.5-ie+te)*E,(.5+z+re)*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+z+te)*E,(.5+re)*a,(.5+ie+te)*E,(.5+z+re)*a,(.5+z+te)*E,(.5+ie+re)*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*E,(.5-z+re)*a,(1-.5+z+te)*E,(.5-ie+re)*a,(.5+ie+te)*E,(.5-z+re)*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.65*E,.36771243*a,(.5-ie+te)*E,(.5-z+re)*a,(.5-z+te+.05)*E,(.5-ie+re-.02)*a)),z=.2,te=0,re=-.3,ie=z*ue,y.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+z+te)*E,(.5+re)*a,(.5+ie+te)*E,(.5+z+re)*a,(.5+z+te)*E,(.5+ie+re)*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*E,(.5-z+re)*a,(1-.5+z+te)*E,(.5-ie+re)*a,(.5+ie+te)*E,(.5-z+re)*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5-z+te)*E,(.5+re)*a,(.5-ie+te)*E,(.5-z+re)*a,(.5-z+te)*E,(.5-ie+re)*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5-ie+te)*E,(.5+z+re)*a,(.5-z+te)*E,(.5+ie+re)*a,(.5-ie+te)*E,(.5+z+re)*a)),z=.2,te=-.3,re=0,ie=z*ue,y.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*E,(.5-z+re)*a,(1-.5+z+te-.05)*E,(.5-ie+re-.02)*a,(.5+ie+te)*E,(.5-z+re)*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5-z+te)*E,(.5+re)*a,(.5-ie+te)*E,(.5-z+re)*a,(.5-z+te)*E,(.5-ie+re)*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*E,(.5+z+re)*a,(.5-z+te)*E,(.5+ie+re)*a,(.5-ie+te)*E,(.5+z+re)*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.4*E,.6*a,(.5+ie+te)*E,(.5+z+re)*a,(.5+z+te)*E,(.5+ie+re)*a).close()),x.setSpots(.06,.33,.93,.68),x}),go.Shape.defineFigureGenerator("YinYang",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(E*.5,0,!0);x.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 z=.1,te=.5,re=.25;return y.add(new go.PathSegment(go.PathSegment.Move,(te+z)*E,re*a)),y.add(new go.PathSegment(go.PathSegment.Arc,0,-360,E*te,a*re,z*E,z*E).close()),y=new go.PathFigure(E*.5,0,!1),x.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,270,-180,E*.5,E*.5,E*.5,E*.5)),re=.75,y=new go.PathFigure((te+z)*E,re*a,!0),x.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,0,360,E*te,a*re,z*E,z*E).close()),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("Peace",function(le,E,a){var x=.8535533905932737,y=.5*E,z=.5*a;return new go.Geometry().add(new go.PathFigure(y,0,!1).add(new go.PathSegment(go.PathSegment.Arc,270,360,y,z,y,z)).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Move,y,z)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*E,x*a)).add(new go.PathSegment(go.PathSegment.Move,y,z)).add(new go.PathSegment(go.PathSegment.Line,x*E,x*a)))}),go.Shape.defineFigureGenerator("NotAllowed",function(le,E,a){var x=new go.Geometry,y=ue*.5,z=.5,te=.5,re=.5,ie=new go.PathFigure(te*E,(re-z)*a);x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*E,re*a,(te-y)*E,(re-z)*a,(te-z)*E,(re-y)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(re+z)*a,(te-z)*E,(re+y)*a,(te-y)*E,(re+z)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*E,re*a,(te+y)*E,(re+z)*a,(te+z)*E,(re+y)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(re-z)*a,(te+z)*E,(re-y)*a,(te+y)*E,(re-z)*a)),z=.4,y=ue*.4;var ce=b(),pe=b(),ge=b(),ye=b();Ae(te,re-z,te+y,re-z,te+z,re-y,te+z,re,.42,ce,pe,ge,ye,ye);var Ee=b(),Le=b(),ve=b();Ae(te,re-z,te+y,re-z,te+z,re-y,te+z,re,.58,ye,ye,ve,Ee,Le);var $e=b(),He=b(),it=b();Ae(te,re+z,te-y,re+z,te-z,re+y,te-z,re,.42,$e,He,it,ye,ye);var Ne=b(),Qe=b(),lt=b();return Ae(te,re+z,te-y,re+z,te-z,re+y,te-z,re,.58,ye,ye,lt,Ne,Qe),ie.add(new go.PathSegment(go.PathSegment.Move,lt.x*E,lt.y*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*E,re*a,Ne.x*E,Ne.y*a,Qe.x*E,Qe.y*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(re-z)*a,(te-z)*E,(re-y)*a,(te-y)*E,(re-z)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,ge.x*E,ge.y*a,ce.x*E,ce.y*a,pe.x*E,pe.y*a)),ie.add(new go.PathSegment(go.PathSegment.Line,lt.x*E,lt.y*a).close()),ie.add(new go.PathSegment(go.PathSegment.Move,it.x*E,it.y*a)),ie.add(new go.PathSegment(go.PathSegment.Line,ve.x*E,ve.y*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*E,re*a,Ee.x*E,Ee.y*a,Le.x*E,Le.y*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(re+z)*a,(te+z)*E,(re+y)*a,(te+y)*E,(re+z)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,it.x*E,it.y*a,$e.x*E,$e.y*a,He.x*E,He.y*a).close()),se(ce),se(pe),se(ge),se(ye),se(Ee),se(Le),se(ve),se($e),se(He),se(it),se(Ne),se(Qe),se(lt),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("Fragile",function(le,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 _t("Thickness",30)),go.Shape.defineFigureGenerator("HourGlass",function(le,E,a){var x=le?le.parameter1:NaN;(isNaN(x)||x<0)&&(x=30),x>E&&(x=E);var y=(E-x)/2,z=y+x;return new go.Geometry().add(new go.PathFigure(z,.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(le,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(le,E,a){var x=new go.Geometry,y=ue*.4,z=.4,te=.5,re=.5,ie=b(),ce=b(),pe=b(),ge=b(),ye=new go.PathFigure((te-z)*E,re*a,!1);x.add(ye),ye.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(re-z)*a,(te-z)*E,(re-y)*a,(te-y)*E,(re-z)*a)),Ae(te,re-z,te+y,re-z,te+z,re-y,te+z,re,.44,pe,ge,ce,ie,ie),ye.add(new go.PathSegment(go.PathSegment.Bezier,ce.x*E,ce.y*a,pe.x*E,pe.y*a,ge.x*E,ge.y*a));var Ee=ae(ce.x,ce.y);Ae(te,re-z,te+y,re-z,te+z,re-y,te+z,re,.56,ie,ie,ce,pe,ge);var Le=ae(ce.x,ce.y);ye.add(new go.PathSegment(go.PathSegment.Line,(Ee.x*.1+.95*.9)*E,Ee.y*.1*a)),ye.add(new go.PathSegment(go.PathSegment.Line,.85*E,Ee.y*.1*a)),ye.add(new go.PathSegment(go.PathSegment.Line,.85*E,0)),ye.add(new go.PathSegment(go.PathSegment.Line,E,0)),ye.add(new go.PathSegment(go.PathSegment.Line,E,.15*a)),ye.add(new go.PathSegment(go.PathSegment.Line,(Le.x*.1+.9)*E,.15*a)),ye.add(new go.PathSegment(go.PathSegment.Line,(Le.x*.1+.9)*E,(Le.y*.1+.05*.9)*a)),ye.add(new go.PathSegment(go.PathSegment.Line,Le.x*E,Le.y*a)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*E,re*a,pe.x*E,pe.y*a,ge.x*E,ge.y*a)),ye.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(re+z)*a,(te+z)*E,(re+y)*a,(te+y)*E,(re+z)*a)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*E,re*a,(te-y)*E,(re+z)*a,(te-z)*E,(re+y)*a)),z=.35,y=ue*.35;var ve=new go.PathFigure(te*E,(re-z)*a,!1);x.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*E,re*a,(te-y)*E,(re-z)*a,(te-z)*E,(re-y)*a)),ve.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(re+z)*a,(te-z)*E,(re+y)*a,(te-y)*E,(re+z)*a)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*E,re*a,(te+y)*E,(re+z)*a,(te+z)*E,(re+y)*a)),ve.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(re-z)*a,(te+z)*E,(re-y)*a,(te+y)*E,(re-z)*a));var $e=new go.PathFigure((te-z)*E,re*a,!1);return x.add($e),se(ie),se(ce),se(pe),se(ge),se(Ee),se(Le),x.spot1=new go.Spot(.202,.257),x.spot2=new go.Spot(.792,.739),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("GenderFemale",function(le,E,a){var x=new go.Geometry,y=.375,z=0,te=-.125,re=y*ue,ie=new go.PathFigure((.525+z)*E,(.5+y+te)*a,!1);x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+y+z)*E,(.5+te)*a,(.5+re+z)*E,(.5+y+te)*a,(.5+y+z)*E,(.5+re+te)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*E,(.5-y+te)*a,(1-.5+y+z)*E,(.5-re+te)*a,(.5+re+z)*E,(.5-y+te)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(.5-y+z)*E,(.5+te)*a,(.5-re+z)*E,(.5-y+te)*a,(.5-y+z)*E,(.5-re+te)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(.475+z)*E,(.5+y+te)*a,(.5-y+z)*E,(.5+re+te)*a,(.5-re+z)*E,(.5+y+te)*a)),ie.add(new go.PathSegment(go.PathSegment.Line,.475*E,.85*a)),ie.add(new go.PathSegment(go.PathSegment.Line,.425*E,.85*a)),ie.add(new go.PathSegment(go.PathSegment.Line,.425*E,.9*a)),ie.add(new go.PathSegment(go.PathSegment.Line,.475*E,.9*a)),ie.add(new go.PathSegment(go.PathSegment.Line,.475*E,a)),ie.add(new go.PathSegment(go.PathSegment.Line,.525*E,a)),ie.add(new go.PathSegment(go.PathSegment.Line,.525*E,.9*a)),ie.add(new go.PathSegment(go.PathSegment.Line,.575*E,.9*a)),ie.add(new go.PathSegment(go.PathSegment.Line,.575*E,.85*a)),ie.add(new go.PathSegment(go.PathSegment.Line,.525*E,.85*a).close()),y=.325,z=0,te=-.125,re=y*ue;var ie=new go.PathFigure((1-.5+y+z)*E,(.5+te)*a,!1);x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*E,(.5+y+te)*a,(.5+y+z)*E,(.5+re+te)*a,(.5+re+z)*E,(.5+y+te)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(.5-y+z)*E,(.5+te)*a,(.5-re+z)*E,(.5+y+te)*a,(.5-y+z)*E,(.5+re+te)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*E,(.5-y+te)*a,(.5-y+z)*E,(.5-re+te)*a,(.5-re+z)*E,(.5-y+te)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+y+z)*E,(.5+te)*a,(.5+re+z)*E,(.5-y+te)*a,(1-.5+y+z)*E,(.5-re+te)*a));var ie=new go.PathFigure((.525+z)*E,(.5+y+te)*a,!1);return x.add(ie),x.spot1=new go.Spot(.232,.136),x.spot2=new go.Spot(.682,.611),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("LogicImplies",function(le,E,a){var x=le?le.parameter1:NaN;return isNaN(x)&&(x=.2),new go.Geometry().add(new go.PathFigure((1-x)*E,0,!1).add(new go.PathSegment(go.PathSegment.Line,E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*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(le,E,a){var x=le?le.parameter1:NaN;return isNaN(x)&&(x=.2),new go.Geometry().add(new go.PathFigure((1-x)*E,0,!1).add(new go.PathSegment(go.PathSegment.Line,E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*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,x*E,0)).add(new go.PathSegment(go.PathSegment.Line,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,x*E,a))).setSpots(.2,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicNot",function(le,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(le,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(le,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(le,E,a){var x=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 x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("LogicTruth",function(le,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(le,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(le,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(le,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(le,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(le,E,a){var x=.5;return new go.Geometry().add(new go.PathFigure(0,a,!1).add(new go.PathSegment(go.PathSegment.Line,0,x*a)).add(new go.PathSegment(go.PathSegment.Arc,180,180,x*E,x*a,x*E,x*a)).add(new go.PathSegment(go.PathSegment.Line,E,a))).setSpots(0,.5,1,1)}),go.Shape.defineFigureGenerator("LogicUnion",function(le,E,a){var x=.5;return new go.Geometry().add(new go.PathFigure(E,0,!1).add(new go.PathSegment(go.PathSegment.Line,E,x*a)).add(new go.PathSegment(go.PathSegment.Arc,0,180,x*E,x*a,x*E,x*a)).add(new go.PathSegment(go.PathSegment.Line,0,0))).setSpots(0,0,1,.5)}),go.Shape.setFigureParameter("Arrow",0,new _t("ArrowheadWidth",.3,.01,.99)),go.Shape.setFigureParameter("Arrow",1,new _t("TailHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("Arrow",function(le,E,a){var x=le?le.parameter1:NaN;isNaN(x)&&(x=.3);var y=le?le.parameter2:NaN;isNaN(y)&&(y=.3);var z=(1-x)*E,te=(.5-y/2)*a,re=(.5+y/2)*a,ie=new go.Geometry,ce=new go.PathFigure(0,te,!0);ie.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,z,te)),ce.add(new go.PathSegment(go.PathSegment.Line,z,0)),ce.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),ce.add(new go.PathSegment(go.PathSegment.Line,z,a)),ce.add(new go.PathSegment(go.PathSegment.Line,z,re)),ce.add(new go.PathSegment(go.PathSegment.Line,0,re).close()),ie.spot1=new go.Spot(0,te/a);var pe=be(0,re/a,1,re/a,z/E,1,1,.5,b());return ie.spot2=new go.Spot(pe.x,pe.y),se(pe),ie}),go.Shape.setFigureParameter("Arrow2",0,new _t("ArrowheadWidth",30)),go.Shape.setFigureParameter("Arrow2",0,new _t("TailHeight",30)),go.Shape.defineFigureGenerator("Arrow2",function(le,E,a){var x=le?le.parameter1:NaN;isNaN(x)&&(x=30),x>E&&(x=E);var y=le?le.parameter2:NaN;isNaN(y)&&(y=30),y=Math.min(y,a/2);var z=E-x,te=(a-y)/2,re=te+y,ie=new go.Geometry,ce=new go.PathFigure(0,te,!0);ie.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,z,te)),ce.add(new go.PathSegment(go.PathSegment.Line,z,0)),ce.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),ce.add(new go.PathSegment(go.PathSegment.Line,z,a)),ce.add(new go.PathSegment(go.PathSegment.Line,z,re)),ce.add(new go.PathSegment(go.PathSegment.Line,0,re).close()),ie.spot1=new go.Spot(0,te/a);var pe=be(0,re/a,1,re/a,z/E,1,1,.5,b());return ie.spot2=new go.Spot(pe.x,pe.y),se(pe),ie}),go.Shape.defineFigureGenerator("Chevron",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*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()),x}),go.Shape.defineFigureGenerator("DoubleArrow",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.3*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()),x}),go.Shape.setFigureParameter("DoubleEndArrow",0,new _t("ConnecterHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("DoubleEndArrow",function(le,E,a){var x=le?le.parameter1:NaN;isNaN(x)&&(x=.3);var y=(.5-x/2)*a,z=(.5+x/2)*a,te=new go.Geometry,re=new go.PathFigure(E,.5*a,!0);te.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.7*E,a)),re.add(new go.PathSegment(go.PathSegment.Line,.7*E,z)),re.add(new go.PathSegment(go.PathSegment.Line,.3*E,z)),re.add(new go.PathSegment(go.PathSegment.Line,.3*E,a)),re.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),re.add(new go.PathSegment(go.PathSegment.Line,.3*E,0)),re.add(new go.PathSegment(go.PathSegment.Line,.3*E,y)),re.add(new go.PathSegment(go.PathSegment.Line,.7*E,y)),re.add(new go.PathSegment(go.PathSegment.Line,.7*E,0).close());var ie=be(0,.5,.3,0,0,y/a,.1,y/a,b());return te.spot1=new go.Spot(ie.x,ie.y),ie=be(.7,1,1,.5,0,z/a,1,z/a,ie),te.spot2=new go.Spot(ie.x,ie.y),se(ie),te}),go.Shape.setFigureParameter("DoubleEndArrow2",0,new _t("ConnecterHeight",40)),go.Shape.setFigureParameter("DoubleEndArrow2",1,new _t("ArrowHeight",100)),go.Shape.defineFigureGenerator("DoubleEndArrow2",function(le,E,a){var x=le?le.parameter1:NaN;isNaN(x)&&(x=40);var y=le?le.parameter2:NaN;isNaN(y)&&(y=100);var z=(a-x)/2,te=z+x,re=(a-y)/2,ie=re+y;(x>a||y>a)&&(y>x?(x=x*a/y,z=(a-x)/2,te=z+x,re=0,ie=a):(z=0,te=a,re=0,ie=a));var ce=new go.Geometry,pe=new go.PathFigure(E,.5*a,!0);ce.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,.7*E,ie)),pe.add(new go.PathSegment(go.PathSegment.Line,.7*E,te)),pe.add(new go.PathSegment(go.PathSegment.Line,.3*E,te)),pe.add(new go.PathSegment(go.PathSegment.Line,.3*E,ie)),pe.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),pe.add(new go.PathSegment(go.PathSegment.Line,.3*E,re)),pe.add(new go.PathSegment(go.PathSegment.Line,.3*E,z)),pe.add(new go.PathSegment(go.PathSegment.Line,.7*E,z)),pe.add(new go.PathSegment(go.PathSegment.Line,.7*E,re).close());var ge=be(0,.5,.3,re/a,0,z/a,1,z/a,b());return ce.spot1=new go.Spot(ge.x,ge.y),ge=be(.7,ie/a,1,.5,0,te/a,1,te/a,ge),ce.spot2=new go.Spot(ge.x,ge.y),se(ge),ce}),go.Shape.setFigureParameter("IBeamArrow",0,new _t("ConnectorHeight",.7,.51,.97)),go.Shape.defineFigureGenerator("IBeamArrow",function(le,E,a){var x=le?le.parameter1:NaN;isNaN(x)&&(x=.3);var y=(.5-x/2)*a,z=(.5+x/2)*a,te=new go.Geometry,re=new go.PathFigure(E,.5*a,!0);te.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.7*E,a)),re.add(new go.PathSegment(go.PathSegment.Line,.7*E,z)),re.add(new go.PathSegment(go.PathSegment.Line,.2*E,z)),re.add(new go.PathSegment(go.PathSegment.Line,.2*E,a)),re.add(new go.PathSegment(go.PathSegment.Line,0,a)),re.add(new go.PathSegment(go.PathSegment.Line,0,0)),re.add(new go.PathSegment(go.PathSegment.Line,.2*E,0)),re.add(new go.PathSegment(go.PathSegment.Line,.2*E,y)),re.add(new go.PathSegment(go.PathSegment.Line,.7*E,y)),re.add(new go.PathSegment(go.PathSegment.Line,.7*E,0).close()),te.spot1=new go.Spot(0,y/a);var ie=be(.7,1,1,.5,0,z/a,1,z/a,b());return te.spot2=new go.Spot(ie.x,ie.y),se(ie),te}),go.Shape.setFigureParameter("IBeamArrow2",0,new _t("ConnectorHeight",40)),go.Shape.setFigureParameter("IBeamArrow2",1,new _t("BeamArrowHeight",100)),go.Shape.defineFigureGenerator("IBeamArrow2",function(le,E,a){var x=le?le.parameter1:NaN;isNaN(x)&&(x=40);var y=le?le.parameter2:NaN;isNaN(y)&&(y=100);var z=(a-x)/2,te=z+x,re=(a-y)/2,ie=re+y;(x>a||y>a)&&(y>x?(x=x*a/y,z=(a-x)/2,te=z+x,re=0,ie=a):(z=0,te=a,re=0,ie=a));var ce=new go.Geometry,pe=new go.PathFigure(E,.5*a,!0);ce.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,.7*E,ie)),pe.add(new go.PathSegment(go.PathSegment.Line,.7*E,te)),pe.add(new go.PathSegment(go.PathSegment.Line,.2*E,te)),pe.add(new go.PathSegment(go.PathSegment.Line,.2*E,ie)),pe.add(new go.PathSegment(go.PathSegment.Line,0,ie)),pe.add(new go.PathSegment(go.PathSegment.Line,0,re)),pe.add(new go.PathSegment(go.PathSegment.Line,.2*E,re)),pe.add(new go.PathSegment(go.PathSegment.Line,.2*E,z)),pe.add(new go.PathSegment(go.PathSegment.Line,.7*E,z)),pe.add(new go.PathSegment(go.PathSegment.Line,.7*E,re).close()),ce.spot1=new go.Spot(0,z/a);var ge=be(.7,ie/a,1,.5,0,te/a,1,te/a,b());return ce.spot2=new go.Spot(ge.x,ge.y),se(ge),ce}),go.Shape.setFigureParameter("Pointer",0,new _t("BackPoint",.1,0,.2)),go.Shape.defineFigureGenerator("Pointer",function(le,E,a){var x=le?le.parameter1:NaN;isNaN(x)&&(x=.1);var y=new go.Geometry,z=new go.PathFigure(E,.5*a,!0);y.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,a)),z.add(new go.PathSegment(go.PathSegment.Line,x*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,0).close()),y.spot1=new go.Spot(x,.35);var te=be(.2,.65,1,.65,0,1,1,.5,b());return y.spot2=new go.Spot(te.x,te.y),se(te),y}),go.Shape.setFigureParameter("RoundedPointer",0,new _t("RoundedEdge",.3,0,.5)),go.Shape.defineFigureGenerator("RoundedPointer",function(le,E,a){var x=le?le.parameter1:NaN;isNaN(x)&&(x=.3);var y=new go.Geometry,z=new go.PathFigure(E,.5*a,!0);y.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,0,x*E,.75*a,x*E,.25*a).close()),y.spot1=new go.Spot(x,.35);var te=be(0,.65,1,.65,0,1,1,.5,b());return y.spot2=new go.Spot(te.x,te.y),se(te),y}),go.Shape.setFigureParameter("SplitEndArrow",0,new _t("TailHeight",.4,.01,.99)),go.Shape.defineFigureGenerator("SplitEndArrow",function(le,E,a){var x=le?le.parameter1:NaN;isNaN(x)&&(x=.4);var y=(.5-x/2)*a,z=(.5+x/2)*a,te=new go.Geometry,re=new go.PathFigure(E,.5*a,!0);te.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.7*E,a)),re.add(new go.PathSegment(go.PathSegment.Line,.7*E,z)),re.add(new go.PathSegment(go.PathSegment.Line,0,z)),re.add(new go.PathSegment(go.PathSegment.Line,.2*E,.5*a)),re.add(new go.PathSegment(go.PathSegment.Line,0,y)),re.add(new go.PathSegment(go.PathSegment.Line,.7*E,y)),re.add(new go.PathSegment(go.PathSegment.Line,.7*E,0).close()),te.spot1=new go.Spot(.2,.3);var ie=be(.7,1,1,.5,0,z/a,1,z/a,b());return te.spot2=new go.Spot(ie.x,ie.y),se(ie),te}),go.Shape.setFigureParameter("SplitEndArrow2",0,new _t("TailThickness",50)),go.Shape.defineFigureGenerator("SplitEndArrow2",function(le,E,a){var x=le?le.parameter1:NaN;isNaN(x)&&(x=50);var y=(a-x)/2,z=y+x;x>a&&(y=0,z=a);var te=new go.Geometry,re=new go.PathFigure(E,.5*a,!0);te.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.7*E,a)),re.add(new go.PathSegment(go.PathSegment.Line,.7*E,z)),re.add(new go.PathSegment(go.PathSegment.Line,0,z)),re.add(new go.PathSegment(go.PathSegment.Line,.2*E,.5*a)),re.add(new go.PathSegment(go.PathSegment.Line,0,y)),re.add(new go.PathSegment(go.PathSegment.Line,.7*E,y)),re.add(new go.PathSegment(go.PathSegment.Line,.7*E,0).close()),te.spot1=new go.Spot(.2,y/a);var ie=be(.7,1,1,.5,0,z/a,1,z/a,b());return te.spot2=new go.Spot(ie.x,ie.y),se(ie),te}),go.Shape.setFigureParameter("SquareArrow",0,new _t("ArrowPoint",.7,.2,.9)),go.Shape.defineFigureGenerator("SquareArrow",function(le,E,a){var x=le?le.parameter1:NaN;isNaN(x)&&(x=.7);var y=new go.Geometry,z=new go.PathFigure(E,.5*a,!0);return y.add(z),z.add(new go.PathSegment(go.PathSegment.Line,x*E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,0)),z.add(new go.PathSegment(go.PathSegment.Line,x*E,0).close()),y.spot1=go.Spot.TopLeft,y.spot2=new go.Spot(x,1),y}),go.Shape.defineFigureGenerator("Cone1",function(le,E,a){var x=new go.Geometry,y=ue*.5,z=ue*.1,te=new go.PathFigure(0,.9*a,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),te.add(new go.PathSegment(go.PathSegment.Line,E,.9*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,E,(.9+z)*a,(.5+y)*E,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,(.5-y)*E,a,0,(.9+z)*a).close()),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.97),x}),go.Shape.defineFigureGenerator("Cone2",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.9*a,!0);x.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 z=new go.PathFigure(0,.9*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,E,.9*a,(1-.85/.9)*E,.8*a,.85/.9*E,.8*a)),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.82),x}),go.Shape.defineFigureGenerator("Cube1",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(.5*E,a,!0);x.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 z=new go.PathFigure(.5*E,a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,.3*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.15*a)),z.add(new go.PathSegment(go.PathSegment.Move,.5*E,.3*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,.15*a)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(.5,.85),x}),go.Shape.defineFigureGenerator("Cube2",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.3*a,!0);x.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 z=new go.PathFigure(0,.3*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.7*E,.3*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Move,.7*E,.3*a)),z.add(new go.PathSegment(go.PathSegment.Line,.7*E,a)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(.7,1),x}),go.Shape.defineFigureGenerator("Cylinder1",function(le,E,a){var x=le?le.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,a/3);var y=new go.Geometry,z=ue*.5,te=new go.PathFigure(0,x,!0);y.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,0,ue*x,(.5-z)*E,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,1*E,x,(.5+z)*E,0,1*E,ue*x)),te.add(new go.PathSegment(go.PathSegment.Line,E,a-x)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,1*a,1*E,a-ue*x,(.5+z)*E,1*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,a-x,(.5-z)*E,1*a,0,a-ue*x)),te.add(new go.PathSegment(go.PathSegment.Line,0,x));var re=new go.PathFigure(E,x,!1);return y.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,2*x,1*E,2*x-ue*x,(.5+z)*E,2*x)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,x,(.5-z)*E,2*x,0,2*x-ue*x)),y.spot1=new go.Spot(0,0,0,2*x),y.spot2=new go.Spot(1,1),y}),go.Shape.defineFigureGenerator("Cylinder2",function(le,E,a){var x=le?le.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,a/3);var y=new go.Geometry,z=ue*.5,te=new go.PathFigure(0,a-x,!0);y.add(te),te.add(new go.PathSegment(go.PathSegment.Line,0,x)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,0,ue*x,(.5-z)*E,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,E,x,(.5+z)*E,0,E,ue*x)),te.add(new go.PathSegment(go.PathSegment.Line,E,a-x)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,E,a-ue*x,(.5+z)*E,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,a-x,(.5-z)*E,a,0,a-ue*x));var re=new go.PathFigure(0,a-x,!1);return y.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a-2*x,0,a-x-ue*x,(.5-z)*E,a-2*x)),re.add(new go.PathSegment(go.PathSegment.Bezier,E,a-x,(.5+z)*E,a-2*x,E,a-x-ue*x)),y.spot1=new go.Spot(0,0),y.spot2=new go.Spot(1,1,0,-2*x),y}),go.Shape.defineFigureGenerator("Cylinder3",function(le,E,a){var x=le?le.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,E/3);var y=new go.Geometry,z=ue*.5,te=new go.PathFigure(x,0,!0);y.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E-x,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,E-ue*x,0,E,(.5-z)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,E-x,a,E,(.5+z)*a,E-ue*x,a)),te.add(new go.PathSegment(go.PathSegment.Line,x,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,ue*x,a,0,(.5+z)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,(.5-z)*a,ue*x,0));var re=new go.PathFigure(x,0,!1);return y.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,2*x,.5*a,x+ue*x,0,2*x,(.5-z)*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,x,a,2*x,(.5+z)*a,x+ue*x,a)),y.spot1=new go.Spot(0,0,2*x,0),y.spot2=new go.Spot(1,1),y}),go.Shape.defineFigureGenerator("Cylinder4",function(le,E,a){var x=le?le.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,E/3);var y=new go.Geometry,z=ue*.5,te=new go.PathFigure(E-x,0,!0);y.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,E-ue*x,0,E,(.5-z)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,E-x,a,E,(.5+z)*a,E-ue*x,a)),te.add(new go.PathSegment(go.PathSegment.Line,x,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,ue*x,a,0,(.5+z)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,(.5-z)*a,ue*x,0)),te.add(new go.PathSegment(go.PathSegment.Line,E-x,0));var re=new go.PathFigure(E-x,0,!1);return y.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,E-2*x,.5*a,E-x-ue*x,0,E-2*x,(.5-z)*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,E-x,a,E-2*x,(.5+z)*a,E-x-ue*x,a)),y.spot1=new go.Spot(0,0),y.spot2=new go.Spot(1,1,-2*x,0),y}),go.Shape.defineFigureGenerator("Prism1",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(.25*E,.25*a,!0);x.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 z=new go.PathFigure(.25*E,.25*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),x.spot1=new go.Spot(.408,.172),x.spot2=new go.Spot(.833,.662),x}),go.Shape.defineFigureGenerator("Prism2",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.25*a,!0);x.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 z=new go.PathFigure(0,a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.25*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,.25*a)),z.add(new go.PathSegment(go.PathSegment.Move,0,.25*a)),z.add(new go.PathSegment(go.PathSegment.Line,.25*E,.5*a)),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.75),x}),go.Shape.defineFigureGenerator("Pyramid1",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(.5*E,0,!0);x.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 z=new go.PathFigure(.5*E,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),x.spot1=new go.Spot(.25,.367),x.spot2=new go.Spot(.75,.875),x}),go.Shape.defineFigureGenerator("Pyramid2",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(.5*E,0,!0);x.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 z=new go.PathFigure(.5*E,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,.7*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.85*a)),z.add(new go.PathSegment(go.PathSegment.Move,.5*E,.7*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,.85*a)),x.spot1=new go.Spot(.25,.367),x.spot2=new go.Spot(.75,.875),x}),go.Shape.defineFigureGenerator("Actor",function(le,E,a){var x=new go.Geometry,y=.2,z=.1,te=ue*y,re=ue*z,ie=.5,ce=.1,pe=new go.PathFigure(ie*E,(ce+z)*a,!0);x.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,(ie-y)*E,ce*a,(ie-te)*E,(ce+z)*a,(ie-y)*E,(ce+re)*a)),pe.add(new go.PathSegment(go.PathSegment.Bezier,ie*E,(ce-z)*a,(ie-y)*E,(ce-re)*a,(ie-te)*E,(ce-z)*a)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(ie+y)*E,ce*a,(ie+te)*E,(ce-z)*a,(ie+y)*E,(ce-re)*a)),pe.add(new go.PathSegment(go.PathSegment.Bezier,ie*E,(ce+z)*a,(ie+y)*E,(ce+re)*a,(ie+te)*E,(ce+z)*a));var ge=.05,ye=ue*ge;ie=.05,ce=.25;var Ee=new go.PathFigure(.5*E,.2*a,!0);return x.add(Ee),Ee.add(new go.PathSegment(go.PathSegment.Line,.95*E,.2*a)),ie=.95,ce=.25,Ee.add(new go.PathSegment(go.PathSegment.Bezier,(ie+ge)*E,ce*a,(ie+ye)*E,(ce-ge)*a,(ie+ge)*E,(ce-ye)*a)),Ee.add(new go.PathSegment(go.PathSegment.Line,E,.6*a)),Ee.add(new go.PathSegment(go.PathSegment.Line,.85*E,.6*a)),Ee.add(new go.PathSegment(go.PathSegment.Line,.85*E,.35*a)),ge=.025,ye=ue*ge,ie=.825,ce=.35,Ee.add(new go.PathSegment(go.PathSegment.Bezier,ie*E,(ce-ge)*a,(ie+ge)*E,(ce-ye)*a,(ie+ye)*E,(ce-ge)*a)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(ie-ge)*E,ce*a,(ie-ye)*E,(ce-ge)*a,(ie-ge)*E,(ce-ye)*a)),Ee.add(new go.PathSegment(go.PathSegment.Line,.8*E,a)),Ee.add(new go.PathSegment(go.PathSegment.Line,.55*E,a)),Ee.add(new go.PathSegment(go.PathSegment.Line,.55*E,.7*a)),ge=.05,ye=ue*ge,ie=.5,ce=.7,Ee.add(new go.PathSegment(go.PathSegment.Bezier,ie*E,(ce-ge)*a,(ie+ge)*E,(ce-ye)*a,(ie+ye)*E,(ce-ge)*a)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(ie-ge)*E,ce*a,(ie-ye)*E,(ce-ge)*a,(ie-ge)*E,(ce-ye)*a)),Ee.add(new go.PathSegment(go.PathSegment.Line,.45*E,a)),Ee.add(new go.PathSegment(go.PathSegment.Line,.2*E,a)),Ee.add(new go.PathSegment(go.PathSegment.Line,.2*E,.35*a)),ge=.025,ye=ue*ge,ie=.175,ce=.35,Ee.add(new go.PathSegment(go.PathSegment.Bezier,ie*E,(ce-ge)*a,(ie+ge)*E,(ce-ye)*a,(ie+ye)*E,(ce-ge)*a)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(ie-ge)*E,ce*a,(ie-ye)*E,(ce-ge)*a,(ie-ge)*E,(ce-ye)*a)),Ee.add(new go.PathSegment(go.PathSegment.Line,.15*E,.6*a)),Ee.add(new go.PathSegment(go.PathSegment.Line,0,.6*a)),Ee.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),ge=.05,ye=ue*ge,ie=.05,ce=.25,Ee.add(new go.PathSegment(go.PathSegment.Bezier,ie*E,(ce-ge)*a,(ie-ge)*E,(ce-ye)*a,(ie-ye)*E,(ce-ge)*a)),Ee.add(new go.PathSegment(go.PathSegment.Line,.5*E,.2*a)),x.spot1=new go.Spot(.2,.2),x.spot2=new go.Spot(.8,.65),x}),go.Shape.setFigureParameter("Card",0,new _t("CornerCutoutSize",.2,.1,.9)),go.Shape.defineFigureGenerator("Card",function(le,E,a){var x=le?le.parameter1:NaN;isNaN(x)&&(x=.2);var y=new go.Geometry,z=new go.PathFigure(E,0,!0);return y.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,x*a)),z.add(new go.PathSegment(go.PathSegment.Line,x*E,0).close()),y.spot1=new go.Spot(0,x),y.spot2=go.Spot.BottomRight,y}),go.Shape.defineFigureGenerator("Collate",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(.5*E,.5*a,!0);x.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 z=new go.PathFigure(.5*E,.5*a,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a)),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a)),x.spot1=new go.Spot(.25,0),x.spot2=new go.Spot(.75,.25),x}),go.Shape.defineFigureGenerator("CreateRequest",function(le,E,a){var x=new go.Geometry,y=le?le.parameter1:NaN;isNaN(y)&&(y=.1);var z=new go.PathFigure(0,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var te=new go.PathFigure(0,y*a,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E,y*a)),te.add(new go.PathSegment(go.PathSegment.Move,0,(1-y)*a)),te.add(new go.PathSegment(go.PathSegment.Line,E,(1-y)*a)),x}),go.Shape.defineFigureGenerator("Database",function(le,E,a){var x=new go.Geometry,y=ue*.5,z=ue*.1,te=new go.PathFigure(E,.1*a,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E,.9*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,E,(.9+z)*a,(.5+y)*E,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,(.5-y)*E,a,0,(.9+z)*a)),te.add(new go.PathSegment(go.PathSegment.Line,0,.1*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,0,(.1-z)*a,(.5-y)*E,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,E,.1*a,(.5+y)*E,0,E,(.1-z)*a));var re=new go.PathFigure(E,.1*a,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.2*a,E,(.1+z)*a,(.5+y)*E,.2*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*a,(.5-y)*E,.2*a,0,(.1+z)*a)),re.add(new go.PathSegment(go.PathSegment.Move,E,.2*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.3*a,E,(.2+z)*a,(.5+y)*E,.3*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*a,(.5-y)*E,.3*a,0,(.2+z)*a)),re.add(new go.PathSegment(go.PathSegment.Move,E,.3*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.4*a,E,(.3+z)*a,(.5+y)*E,.4*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,.3*a,(.5-y)*E,.4*a,0,(.3+z)*a)),x.spot1=new go.Spot(0,.4),x.spot2=new go.Spot(1,.9),x}),go.Shape.defineFigureGenerator("DataStorage",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*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()),x.spot1=new go.Spot(.226,0),x.spot2=new go.Spot(.81,1),x}),go.Shape.defineFigureGenerator("DiskStorage",function(le,E,a){var x=new go.Geometry,y=ue*.5,z=ue*.1,te=new go.PathFigure(E,.1*a,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E,.9*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,E,(.9+z)*a,(.5+y)*E,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,(.5-y)*E,a,0,(.9+z)*a)),te.add(new go.PathSegment(go.PathSegment.Line,0,.1*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,0,(.1-z)*a,(.5-y)*E,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,E,.1*a,(.5+y)*E,0,E,(.1-z)*a));var re=new go.PathFigure(E,.1*a,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.2*a,E,(.1+z)*a,(.5+y)*E,.2*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*a,(.5-y)*E,.2*a,0,(.1+z)*a)),re.add(new go.PathSegment(go.PathSegment.Move,E,.2*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.3*a,E,(.2+z)*a,(.5+y)*E,.3*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*a,(.5-y)*E,.3*a,0,(.2+z)*a)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(1,.9),x}),go.Shape.defineFigureGenerator("Display",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(.25*E,0,!0);return x.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()),x.spot1=new go.Spot(.25,0),x.spot2=new go.Spot(.75,1),x}),go.Shape.defineFigureGenerator("DividedEvent",function(le,E,a){var x=new go.Geometry,y=le?le.parameter1:NaN;isNaN(y)?y=.2:y<.15&&(y=.15);var z=ue*.2,te=new go.PathFigure(0,.2*a,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,.2*E,0,0,(.2-z)*a,(.2-z)*E,0)),te.add(new go.PathSegment(go.PathSegment.Line,.8*E,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,E,.2*a,(.8+z)*E,0,E,(.2-z)*a)),te.add(new go.PathSegment(go.PathSegment.Line,E,.8*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,a,E,(.8+z)*a,(.8+z)*E,a)),te.add(new go.PathSegment(go.PathSegment.Line,.2*E,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.8*a,(.2-z)*E,a,0,(.8+z)*a)),te.add(new go.PathSegment(go.PathSegment.Line,0,.2*a));var re=new go.PathFigure(0,y*a,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,E,y*a)),x}),go.Shape.defineFigureGenerator("DividedProcess",function(le,E,a){var x=new go.Geometry,y=le?le.parameter1:NaN;(isNaN(y)||y<.1)&&(y=.1);var z=new go.PathFigure(0,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var te=new go.PathFigure(0,y*a,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E,y*a)),x}),go.Shape.defineFigureGenerator("Document",function(le,E,a){var x=new go.Geometry;a=a/.8;var y=new go.PathFigure(0,.7*a,!0);return x.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()),x.spot1=go.Spot.TopLeft,x.spot2=new go.Spot(1,.6),x}),go.Shape.defineFigureGenerator("ExternalOrganization",function(le,E,a){var x=new go.Geometry,y=le?le.parameter1:NaN;(isNaN(y)||y<.2)&&(y=.2);var z=new go.PathFigure(0,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var te=new go.PathFigure(y*E,0,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,0,y*a)),te.add(new go.PathSegment(go.PathSegment.Move,E,y*a)),te.add(new go.PathSegment(go.PathSegment.Line,(1-y)*E,0)),te.add(new go.PathSegment(go.PathSegment.Move,0,(1-y)*a)),te.add(new go.PathSegment(go.PathSegment.Line,y*E,a)),te.add(new go.PathSegment(go.PathSegment.Move,(1-y)*E,a)),te.add(new go.PathSegment(go.PathSegment.Line,E,(1-y)*a)),x}),go.Shape.defineFigureGenerator("ExternalProcess",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(.5*E,0,!0);x.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 z=new go.PathFigure(.1*E,.4*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.1*E,.6*a)),z.add(new go.PathSegment(go.PathSegment.Move,.9*E,.6*a)),z.add(new go.PathSegment(go.PathSegment.Line,.9*E,.4*a)),z.add(new go.PathSegment(go.PathSegment.Move,.6*E,.1*a)),z.add(new go.PathSegment(go.PathSegment.Line,.4*E,.1*a)),z.add(new go.PathSegment(go.PathSegment.Move,.4*E,.9*a)),z.add(new go.PathSegment(go.PathSegment.Line,.6*E,.9*a)),x.spot1=new go.Spot(.25,.25),x.spot2=new go.Spot(.75,.75),x}),go.Shape.defineFigureGenerator("File",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);x.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 z=new go.PathFigure(.75*E,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.75*E,.25*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,.25*a)),x.spot1=new go.Spot(0,.25),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("Interrupt",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(E,.5*a,!0);x.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 z=new go.PathFigure(E,.5*a,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,a));var te=new go.PathFigure(E,.5*a,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E,0)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.5,.75),x}),go.Shape.defineFigureGenerator("InternalStorage",function(le,E,a){var x=new go.Geometry,y=le?le.parameter1:NaN,z=le?le.parameter2:NaN;isNaN(y)&&(y=.1),isNaN(z)&&(z=.1);var te=new go.PathFigure(0,0,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E,0)),te.add(new go.PathSegment(go.PathSegment.Line,E,a)),te.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var re=new go.PathFigure(y*E,0,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,y*E,a)),re.add(new go.PathSegment(go.PathSegment.Move,0,z*a)),re.add(new go.PathSegment(go.PathSegment.Line,E,z*a)),x}),go.Shape.defineFigureGenerator("Junction",function(le,E,a){var x=new go.Geometry,y=1/Math.SQRT2,z=(1-1/Math.SQRT2)/2,te=ue*.5,re=.5,ie=new go.PathFigure(E,re*a,!0);x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,re*E,a,E,(re+te)*a,(re+te)*E,a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,0,re*a,(re-te)*E,a,0,(re+te)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,re*E,0,0,(re-te)*a,(re-te)*E,0)),ie.add(new go.PathSegment(go.PathSegment.Bezier,E,re*a,(re+te)*E,0,E,(re-te)*a));var ce=new go.PathFigure((z+y)*E,(z+y)*a,!1);return x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,z*E,z*a)),ce.add(new go.PathSegment(go.PathSegment.Move,z*E,(z+y)*a)),ce.add(new go.PathSegment(go.PathSegment.Line,(z+y)*E,z*a)),x}),go.Shape.defineFigureGenerator("LinedDocument",function(le,E,a){var x=new go.Geometry;a=a/.8;var y=new go.PathFigure(0,.7*a,!0);x.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 z=new go.PathFigure(.1*E,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.1*E,.75*a)),x.spot1=new go.Spot(.1,0),x.spot2=new go.Spot(1,.6),x}),go.Shape.defineFigureGenerator("LoopLimit",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,a,!0);return x.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()),x.spot1=new go.Spot(0,.25),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("MagneticTape",function(le,E,a){var x=new go.Geometry,y=ue*.5,z=.5,te=new go.PathFigure(.5*E,a,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,0,z*a,(z-y)*E,a,0,(z+y)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,z*E,0,0,(z-y)*a,(z-y)*E,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,E,z*a,(z+y)*E,0,E,(z-y)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,(z+.1)*E,.9*a,E,(z+y)*a,(z+y)*E,.9*a)),te.add(new go.PathSegment(go.PathSegment.Line,E,.9*a)),te.add(new go.PathSegment(go.PathSegment.Line,E,a)),te.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),x.spot1=new go.Spot(.15,.15),x.spot2=new go.Spot(.85,.8),x}),go.Shape.defineFigureGenerator("ManualInput",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(E,0,!0);return x.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()),x.spot1=new go.Spot(0,.25),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("MessageFromUser",function(le,E,a){var x=new go.Geometry,y=le?le.parameter1:NaN;isNaN(y)&&(y=.7);var z=new go.PathFigure(0,0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Line,y*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x.spot1=go.Spot.TopLeft,x}),go.Shape.defineFigureGenerator("MicroformProcessing",function(le,E,a){var x=new go.Geometry,y=le?le.parameter1:NaN;isNaN(y)&&(y=.25);var z=new go.PathFigure(0,0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,y*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,(1-y)*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x}),go.Shape.defineFigureGenerator("MicroformRecording",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*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()),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(1,.75),x}),go.Shape.defineFigureGenerator("MultiDocument",function(le,E,a){var x=new go.Geometry;a=a/.8;var y=new go.PathFigure(E,0,!0);x.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 z=new go.PathFigure(.1*E,.2*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.2*a)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.54*a)),z.add(new go.PathSegment(go.PathSegment.Move,.2*E,.1*a)),z.add(new go.PathSegment(go.PathSegment.Line,.9*E,.1*a)),z.add(new go.PathSegment(go.PathSegment.Line,.9*E,.44*a)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.8,.77),x}),go.Shape.defineFigureGenerator("MultiProcess",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(.1*E,.1*a,!0);x.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 z=new go.PathFigure(.2*E,.1*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.9*E,.1*a)),z.add(new go.PathSegment(go.PathSegment.Line,.9*E,.8*a)),z.add(new go.PathSegment(go.PathSegment.Move,.1*E,.2*a)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.2*a)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.9*a)),x.spot1=new go.Spot(0,.2),x.spot2=new go.Spot(.8,1),x}),go.Shape.defineFigureGenerator("OfflineStorage",function(le,E,a){var x=new go.Geometry,y=le?le.parameter1:NaN;isNaN(y)&&(y=.1);var z=1-y,te=new go.PathFigure(0,0,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E,0)),te.add(new go.PathSegment(go.PathSegment.Line,.5*E,a).close());var re=new go.PathFigure(.5*y*E,y*a,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,(1-.5*y)*E,y*a)),x}),go.Shape.defineFigureGenerator("OffPageConnector",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*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()),x.spot1=go.Spot.TopLeft,x.spot2=new go.Spot(.75,1),x}),go.Shape.defineFigureGenerator("Or",function(le,E,a){var x=new go.Geometry,y=ue*.5,z=.5,te=new go.PathFigure(E,z*a,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,z*E,a,E,(z+y)*a,(z+y)*E,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,z*a,(z-y)*E,a,0,(z+y)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,z*E,0,0,(z-y)*a,(z-y)*E,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,E,z*a,(z+y)*E,0,E,(z-y)*a));var re=new go.PathFigure(E,.5*a,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),re.add(new go.PathSegment(go.PathSegment.Move,.5*E,a)),re.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),x}),go.Shape.defineFigureGenerator("PaperTape",function(le,E,a){var x=new go.Geometry;a=a/.8;var y=new go.PathFigure(0,.7*a,!0);return x.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()),x.spot1=new go.Spot(0,.49),x.spot2=new go.Spot(1,.75),x}),go.Shape.defineFigureGenerator("PrimitiveFromCall",function(le,E,a){var x=new go.Geometry,y=le?le.parameter1:NaN,z=le?le.parameter2:NaN;isNaN(y)&&(y=.1),isNaN(z)&&(z=.3);var te=new go.PathFigure(0,0,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E,0)),te.add(new go.PathSegment(go.PathSegment.Line,(1-z)*E,.5*a)),te.add(new go.PathSegment(go.PathSegment.Line,E,a)),te.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x}),go.Shape.defineFigureGenerator("PrimitiveToCall",function(le,E,a){var x=new go.Geometry,y=le?le.parameter1:NaN,z=le?le.parameter2:NaN;isNaN(y)&&(y=.1),isNaN(z)&&(z=.3);var te=new go.PathFigure(0,0,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,(1-z)*E,0)),te.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),te.add(new go.PathSegment(go.PathSegment.Line,(1-z)*E,a)),te.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x}),go.Shape.defineFigureGenerator("Procedure",function(le,E,a){var x=new go.Geometry,y=le?le.parameter1:NaN;isNaN(y)&&(y=.1);var z=new go.PathFigure(0,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var te=new go.PathFigure((1-y)*E,0,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,(1-y)*E,a)),te.add(new go.PathSegment(go.PathSegment.Move,y*E,0)),te.add(new go.PathSegment(go.PathSegment.Line,y*E,a)),x}),go.Shape.defineFigureGenerator("Process",function(le,E,a){var x=new go.Geometry,y=le?le.parameter1:NaN;isNaN(y)&&(y=.1);var z=new go.PathFigure(0,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var te=new go.PathFigure(y*E,0,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y*E,a)),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("Sort",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(.5*E,0,!0);x.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 z=new go.PathFigure(0,.5*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),x.spot1=new go.Spot(.25,.25),x.spot2=new go.Spot(.75,.5),x}),go.Shape.defineFigureGenerator("Start",function(le,E,a){var x=new go.Geometry,y=le?le.parameter1:NaN;isNaN(y)&&(y=.25);var z=new go.PathFigure(y*E,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*E,.5*a,.25*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*E,.5*a,.25*E,.5*a));var te=new go.PathFigure(y*E,0,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y*E,a)),te.add(new go.PathSegment(go.PathSegment.Move,(1-y)*E,0)),te.add(new go.PathSegment(go.PathSegment.Line,(1-y)*E,a)),x.spot1=new go.Spot(y,0),x.spot2=new go.Spot(1-y,1),x}),go.Shape.defineFigureGenerator("Terminator",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(.25*E,0,!0);return x.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)),x.spot1=new go.Spot(.23,0),x.spot2=new go.Spot(.77,1),x}),go.Shape.defineFigureGenerator("TransmittalTape",function(le,E,a){var x=new go.Geometry,y=le?le.parameter1:NaN;isNaN(y)&&(y=.1);var z=new go.PathFigure(0,0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,.75*E,(1-y)*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,(1-y)*a).close()),x.spot1=go.Spot.TopLeft,x}),go.Shape.defineFigureGenerator("AndGate",function(le,E,a){var x=new go.Geometry,y=ue*.5,z=new go.PathFigure(0,0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,(.5+y)*E,0,E,(.5-y)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,E,(.5+y)*a,(.5+y)*E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x.spot1=go.Spot.TopLeft,x.spot2=new go.Spot(.55,1),x}),go.Shape.defineFigureGenerator("Buffer",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.5,.75),x}),go.Shape.defineFigureGenerator("Clock",function(le,E,a){var x=new go.Geometry,y=ue*.5,z=.5,te=new go.PathFigure(E,z*a,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,z*E,a,E,(z+y)*a,(z+y)*E,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,z*a,(z-y)*E,a,0,(z+y)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,z*E,0,0,(z-y)*a,(z-y)*E,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,E,z*a,(z+y)*E,0,E,(z-y)*a));var re=new go.PathFigure(E,z*a,!1);x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,E,z*a));var ie=new go.PathFigure(.8*E,.75*a,!1);return x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Line,.8*E,.25*a)),ie.add(new go.PathSegment(go.PathSegment.Line,.6*E,.25*a)),ie.add(new go.PathSegment(go.PathSegment.Line,.6*E,.75*a)),ie.add(new go.PathSegment(go.PathSegment.Line,.4*E,.75*a)),ie.add(new go.PathSegment(go.PathSegment.Line,.4*E,.25*a)),ie.add(new go.PathSegment(go.PathSegment.Line,.2*E,.25*a)),ie.add(new go.PathSegment(go.PathSegment.Line,.2*E,.75*a)),x}),go.Shape.defineFigureGenerator("Ground",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(.5*E,0,!1);return x.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)),x}),go.Shape.defineFigureGenerator("Inverter",function(le,E,a){var x=new go.Geometry,y=ue*.1,z=.1,te=.9,re=.5,ie=new go.PathFigure(.8*E,.5*a,!0);x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Line,0,a)),ie.add(new go.PathSegment(go.PathSegment.Line,0,0)),ie.add(new go.PathSegment(go.PathSegment.Line,.8*E,.5*a));var ce=new go.PathFigure((te+z)*E,re*a,!0);return x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(re+z)*a,(te+z)*E,(re+y)*a,(te+y)*E,(re+z)*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*E,re*a,(te-y)*E,(re+z)*a,(te-z)*E,(re+y)*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(re-z)*a,(te-z)*E,(re-y)*a,(te-y)*E,(re-z)*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*E,re*a,(te+y)*E,(re-z)*a,(te+z)*E,(re-y)*a)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.4,.75),x}),go.Shape.defineFigureGenerator("NandGate",function(le,E,a){var x=new go.Geometry,y=ue*.5,z=ue*.4,te=ue*.1,re=.1,ie=.9,ce=.5,pe=new go.PathFigure(.8*E,.5*a,!0);x.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,.4*E,a,.8*E,(.5+z)*a,(.4+y)*E,a)),pe.add(new go.PathSegment(go.PathSegment.Line,0,a)),pe.add(new go.PathSegment(go.PathSegment.Line,0,0)),pe.add(new go.PathSegment(go.PathSegment.Line,.4*E,0)),pe.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,.5*a,(.4+y)*E,0,.8*E,(.5-z)*a));var ge=new go.PathFigure((ie+re)*E,ce*a,!0);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,ie*E,(ce+re)*a,(ie+re)*E,(ce+te)*a,(ie+te)*E,(ce+re)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(ie-re)*E,ce*a,(ie-te)*E,(ce+re)*a,(ie-re)*E,(ce+te)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,ie*E,(ce-re)*a,(ie-re)*E,(ce-te)*a,(ie-te)*E,(ce-re)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(ie+re)*E,ce*a,(ie+te)*E,(ce-re)*a,(ie+re)*E,(ce-te)*a)),x.spot1=new go.Spot(0,.05),x.spot2=new go.Spot(.55,.95),x}),go.Shape.defineFigureGenerator("NorGate",function(le,E,a){var x=new go.Geometry,y=.5,z=ue*y,te=0,re=.5,ie=new go.PathFigure(.8*E,.5*a,!0);x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,0,a,.7*E,(re+z)*a,(te+z)*E,(re+y)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*E,.75*a,.25*E,.25*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,.5*a,(te+z)*E,(re-y)*a,.7*E,(re-z)*a)),y=.1,z=ue*.1,te=.9,re=.5;var ce=new go.PathFigure((te-y)*E,re*a,!0);return x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(re-y)*a,(te-y)*E,(re-z)*a,(te-z)*E,(re-y)*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(te+y)*E,re*a,(te+z)*E,(re-y)*a,(te+y)*E,(re-z)*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(re+y)*a,(te+y)*E,(re+z)*a,(te+z)*E,(re+y)*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(te-y)*E,re*a,(te-z)*E,(re+y)*a,(te-y)*E,(re+z)*a)),x.spot1=new go.Spot(.2,.25),x.spot2=new go.Spot(.6,.75),x}),go.Shape.defineFigureGenerator("OrGate",function(le,E,a){var x=new go.Geometry,y=.5,z=ue*y,te=0,re=.5,ie=new go.PathFigure(0,0,!0);return x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,(te+z+z)*E,(re-y)*a,.8*E,(re-z)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,0,a,.8*E,(re+z)*a,(te+z+z)*E,(re+y)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*E,.75*a,.25*E,.25*a).close()),x.spot1=new go.Spot(.2,.25),x.spot2=new go.Spot(.75,.75),x}),go.Shape.defineFigureGenerator("XnorGate",function(le,E,a){var x=new go.Geometry,y=.5,z=ue*y,te=.2,re=.5,ie=new go.PathFigure(.1*E,0,!1);x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,.1*E,a,.35*E,.25*a,.35*E,.75*a));var ce=new go.PathFigure(.8*E,.5*a,!0);x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,.2*E,a,.7*E,(re+z)*a,(te+z)*E,(re+y)*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,.2*E,0,.45*E,.75*a,.45*E,.25*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,.5*a,(te+z)*E,(re-y)*a,.7*E,(re-z)*a)),y=.1,z=ue*.1,te=.9,re=.5;var pe=new go.PathFigure((te-y)*E,re*a,!0);return x.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(re-y)*a,(te-y)*E,(re-z)*a,(te-z)*E,(re-y)*a)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(te+y)*E,re*a,(te+z)*E,(re-y)*a,(te+y)*E,(re-z)*a)),pe.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(re+y)*a,(te+y)*E,(re+z)*a,(te+z)*E,(re+y)*a)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(te-y)*E,re*a,(te-z)*E,(re+y)*a,(te-y)*E,(re+z)*a)),x.spot1=new go.Spot(.4,.25),x.spot2=new go.Spot(.65,.75),x}),go.Shape.defineFigureGenerator("XorGate",function(le,E,a){var x=new go.Geometry,y=.5,z=ue*y,te=.2,re=.5,ie=new go.PathFigure(.1*E,0,!1);x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,.1*E,a,.35*E,.25*a,.35*E,.75*a));var ce=new go.PathFigure(.2*E,0,!0);return x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,(te+z)*E,(re-y)*a,.9*E,(re-z)*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,.2*E,a,.9*E,(re+z)*a,(te+z)*E,(re+y)*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,.2*E,0,.45*E,.75*a,.45*E,.25*a).close()),x.spot1=new go.Spot(.4,.25),x.spot2=new go.Spot(.8,.75),x}),go.Shape.defineFigureGenerator("Capacitor",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Move,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),x}),go.Shape.defineFigureGenerator("Resistor",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.5*a,!1);return x.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)),x}),go.Shape.defineFigureGenerator("Inductor",function(le,E,a){var x=new go.Geometry,y=ue*.1,z=.1,te=.1,re=.5,ie=new go.PathFigure((te-y*.5)*E,a,!1);return x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*E,0,(te-y)*E,a,(te-z)*E,0)),te=.3,ie.add(new go.PathSegment(go.PathSegment.Bezier,te*E,a,(te+z)*E,0,(te+y)*E,a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*E,0,(te-y)*E,a,(te-z)*E,0)),te=.5,ie.add(new go.PathSegment(go.PathSegment.Bezier,te*E,a,(te+z)*E,0,(te+y)*E,a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*E,0,(te-y)*E,a,(te-z)*E,0)),te=.7,ie.add(new go.PathSegment(go.PathSegment.Bezier,te*E,a,(te+z)*E,0,(te+y)*E,a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*E,0,(te-y)*E,a,(te-z)*E,0)),te=.9,ie.add(new go.PathSegment(go.PathSegment.Bezier,(te+y*.5)*E,a,(te+z)*E,0,(te+y)*E,a)),x}),go.Shape.defineFigureGenerator("ACvoltageSource",function(le,E,a){var x=new go.Geometry,y=ue*.5,z=.5,te=.5,re=.5,ie=new go.PathFigure((te-z)*E,re*a,!1);return x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(re-z)*a,(te-z)*E,(re-y)*a,(te-y)*E,(re-z)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*E,re*a,(te+y)*E,(re-z)*a,(te+z)*E,(re-y)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(re+z)*a,(te+z)*E,(re+y)*a,(te+y)*E,(re+z)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*E,re*a,(te-y)*E,(re+z)*a,(te-z)*E,(re+y)*a)),ie.add(new go.PathSegment(go.PathSegment.Move,(te-z+.1)*E,re*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(te+z-.1)*E,re*a,te*E,(re-z)*a,te*E,(re+z)*a)),x}),go.Shape.defineFigureGenerator("DCvoltageSource",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.75*a,!1);return x.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)),x}),go.Shape.defineFigureGenerator("Diode",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(E,0,!1);return x.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)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.5,.75),x}),go.Shape.defineFigureGenerator("Wifi",function(le,E,a){var x=new go.Geometry,y=E,z=a;E=E*.38,a=a*.6;var te=ue*.8,re=.8,ie=0,ce=.5,pe=(y-E)/2,ge=(z-a)/2,ye=new go.PathFigure(ie*E+pe,(ce+re)*a+ge,!0);x.add(ye),ye.add(new go.PathSegment(go.PathSegment.Bezier,(ie-re)*E+pe,ce*a+ge,(ie-te)*E+pe,(ce+re)*a+ge,(ie-re)*E+pe,(ce+te)*a+ge)),ye.add(new go.PathSegment(go.PathSegment.Bezier,ie*E+pe,(ce-re)*a+ge,(ie-re)*E+pe,(ce-te)*a+ge,(ie-te)*E+pe,(ce-re)*a+ge)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(ie-re+te*.5)*E+pe,ce*a+ge,ie*E+pe,(ce-re)*a+ge,(ie-re+te*.5)*E+pe,(ce-te)*a+ge)),ye.add(new go.PathSegment(go.PathSegment.Bezier,ie*E+pe,(ce+re)*a+ge,(ie-re+te*.5)*E+pe,(ce+te)*a+ge,ie*E+pe,(ce+re)*a+ge).close()),te=ue*.4,re=.4,ie=.2,ce=.5;var Ee=new go.PathFigure(ie*E+pe,(ce+re)*a+ge,!0);x.add(Ee),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(ie-re)*E+pe,ce*a+ge,(ie-te)*E+pe,(ce+re)*a+ge,(ie-re)*E+pe,(ce+te)*a+ge)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,ie*E+pe,(ce-re)*a+ge,(ie-re)*E+pe,(ce-te)*a+ge,(ie-te)*E+pe,(ce-re)*a+ge)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(ie-re+te*.5)*E+pe,ce*a+ge,ie*E+pe,(ce-re)*a+ge,(ie-re+te*.5)*E+pe,(ce-te)*a+ge)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,ie*E+pe,(ce+re)*a+ge,(ie-re+te*.5)*E+pe,(ce+te)*a+ge,ie*E+pe,(ce+re)*a+ge).close()),te=ue*.2,re=.2,ie=.5,ce=.5;var Le=new go.PathFigure((ie-re)*E+pe,ce*a+ge,!0);x.add(Le),Le.add(new go.PathSegment(go.PathSegment.Bezier,ie*E+pe,(ce-re)*a+ge,(ie-re)*E+pe,(ce-te)*a+ge,(ie-te)*E+pe,(ce-re)*a+ge)),Le.add(new go.PathSegment(go.PathSegment.Bezier,(ie+re)*E+pe,ce*a+ge,(ie+te)*E+pe,(ce-re)*a+ge,(ie+re)*E+pe,(ce-te)*a+ge)),Le.add(new go.PathSegment(go.PathSegment.Bezier,ie*E+pe,(ce+re)*a+ge,(ie+re)*E+pe,(ce+te)*a+ge,(ie+te)*E+pe,(ce+re)*a+ge)),Le.add(new go.PathSegment(go.PathSegment.Bezier,(ie-re)*E+pe,ce*a+ge,(ie-te)*E+pe,(ce+re)*a+ge,(ie-re)*E+pe,(ce+te)*a+ge)),te=ue*.4,re=.4,ie=.8,ce=.5;var ve=new go.PathFigure(ie*E+pe,(ce-re)*a+ge,!0);x.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,(ie+re)*E+pe,ce*a+ge,(ie+te)*E+pe,(ce-re)*a+ge,(ie+re)*E+pe,(ce-te)*a+ge)),ve.add(new go.PathSegment(go.PathSegment.Bezier,ie*E+pe,(ce+re)*a+ge,(ie+re)*E+pe,(ce+te)*a+ge,(ie+te)*E+pe,(ce+re)*a+ge)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(ie+re-te*.5)*E+pe,ce*a+ge,ie*E+pe,(ce+re)*a+ge,(ie+re-te*.5)*E+pe,(ce+te)*a+ge)),ve.add(new go.PathSegment(go.PathSegment.Bezier,ie*E+pe,(ce-re)*a+ge,(ie+re-te*.5)*E+pe,(ce-te)*a+ge,ie*E+pe,(ce-re)*a+ge).close()),te=ue*.8,re=.8,ie=1,ce=.5;var $e=new go.PathFigure(ie*E+pe,(ce-re)*a+ge,!0);return x.add($e),$e.add(new go.PathSegment(go.PathSegment.Bezier,(ie+re)*E+pe,ce*a+ge,(ie+te)*E+pe,(ce-re)*a+ge,(ie+re)*E+pe,(ce-te)*a+ge)),$e.add(new go.PathSegment(go.PathSegment.Bezier,ie*E+pe,(ce+re)*a+ge,(ie+re)*E+pe,(ce+te)*a+ge,(ie+te)*E+pe,(ce+re)*a+ge)),$e.add(new go.PathSegment(go.PathSegment.Bezier,(ie+re-te*.5)*E+pe,ce*a+ge,ie*E+pe,(ce+re)*a+ge,(ie+re-te*.5)*E+pe,(ce+te)*a+ge)),$e.add(new go.PathSegment(go.PathSegment.Bezier,ie*E+pe,(ce-re)*a+ge,(ie+re-te*.5)*E+pe,(ce-te)*a+ge,ie*E+pe,(ce-re)*a+ge).close()),x}),go.Shape.defineFigureGenerator("Email",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);x.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 z=new go.PathFigure(0,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,.6*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Move,0,a)),z.add(new go.PathSegment(go.PathSegment.Line,.45*E,.54*a)),z.add(new go.PathSegment(go.PathSegment.Move,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,.55*E,.54*a)),x}),go.Shape.defineFigureGenerator("Ethernet",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(.35*E,0,!0);x.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 z=new go.PathFigure(.1*E,a,!0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.4*E,a)),z.add(new go.PathSegment(go.PathSegment.Line,.4*E,.6*a)),z.add(new go.PathSegment(go.PathSegment.Line,.1*E,.6*a)),z.add(new go.PathSegment(go.PathSegment.Line,.1*E,a).close());var te=new go.PathFigure(.6*E,a,!0,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.9*E,a)),te.add(new go.PathSegment(go.PathSegment.Line,.9*E,.6*a)),te.add(new go.PathSegment(go.PathSegment.Line,.6*E,.6*a)),te.add(new go.PathSegment(go.PathSegment.Line,.6*E,a).close());var re=new go.PathFigure(0,.5*a,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),re.add(new go.PathSegment(go.PathSegment.Move,.5*E,.5*a)),re.add(new go.PathSegment(go.PathSegment.Line,.5*E,.4*a)),re.add(new go.PathSegment(go.PathSegment.Move,.75*E,.5*a)),re.add(new go.PathSegment(go.PathSegment.Line,.75*E,.6*a)),re.add(new go.PathSegment(go.PathSegment.Move,.25*E,.5*a)),re.add(new go.PathSegment(go.PathSegment.Line,.25*E,.6*a)),x}),go.Shape.defineFigureGenerator("Power",function(le,E,a){var x=new go.Geometry,y=ue*.4,z=.4,te=.5,re=.5,ie=b(),ce=b(),pe=b(),ge=b();Ae(te,re-z,te+y,re-z,te+z,re-y,te+z,re,.5,ie,ie,ce,pe,ge);var ye=ae(ce.x,ce.y),Ee=new go.PathFigure(ce.x*E,ce.y*a,!0);x.add(Ee),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*E,re*a,pe.x*E,pe.y*a,ge.x*E,ge.y*a)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(re+z)*a,(te+z)*E,(re+y)*a,(te+y)*E,(re+z)*a)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*E,re*a,(te-y)*E,(re+z)*a,(te-z)*E,(re+y)*a)),Ae(te-z,re,te-z,re-y,te-y,re-z,te,re-z,.5,pe,ge,ce,ie,ie),Ee.add(new go.PathSegment(go.PathSegment.Bezier,ce.x*E,ce.y*a,pe.x*E,pe.y*a,ge.x*E,ge.y*a)),y=ue*.3,z=.3,Ae(te-z,re,te-z,re-y,te-y,re-z,te,re-z,.5,pe,ge,ce,ie,ie),Ee.add(new go.PathSegment(go.PathSegment.Line,ce.x*E,ce.y*a)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*E,re*a,ge.x*E,ge.y*a,pe.x*E,pe.y*a)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(re+z)*a,(te-z)*E,(re+y)*a,(te-y)*E,(re+z)*a)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*E,re*a,(te+y)*E,(re+z)*a,(te+z)*E,(re+y)*a)),Ae(te,re-z,te+y,re-z,te+z,re-y,te+z,re,.5,ie,ie,ce,pe,ge),Ee.add(new go.PathSegment(go.PathSegment.Bezier,ce.x*E,ce.y*a,ge.x*E,ge.y*a,pe.x*E,pe.y*a).close());var Ee=new go.PathFigure(.45*E,0,!0);return x.add(Ee),Ee.add(new go.PathSegment(go.PathSegment.Line,.45*E,.5*a)),Ee.add(new go.PathSegment(go.PathSegment.Line,.55*E,.5*a)),Ee.add(new go.PathSegment(go.PathSegment.Line,.55*E,0).close()),se(ie),se(ce),se(pe),se(ge),se(ye),x.spot1=new go.Spot(.25,.45),x.spot2=new go.Spot(.75,.8),x}),go.Shape.defineFigureGenerator("Fallout",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,a/2,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,180,360,E/2,a/2,E/2,a/2));function z(te,re,ie){te.add(new go.PathSegment(go.PathSegment.Move,(.3+re)*E,(.8+ie)*a)),te.add(new go.PathSegment(go.PathSegment.Line,(.5+re)*E,(.5+ie)*a)),te.add(new go.PathSegment(go.PathSegment.Line,(.1+re)*E,(.5+ie)*a)),te.add(new go.PathSegment(go.PathSegment.Line,(.3+re)*E,(.8+ie)*a).close())}return z(y,0,0),z(y,.4,0),z(y,.2,-.3),x}),go.Shape.defineFigureGenerator("IrritationHazard",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(.2*E,0,!0);return x.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()),x.spot1=new go.Spot(.3,.3),x.spot2=new go.Spot(.7,.7),x}),go.Shape.defineFigureGenerator("ElectricalHazard",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(.37*E,0,!0);return x.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()),x}),go.Shape.defineFigureGenerator("FireHazard",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(.1*E,a,!0);return x.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()),x.spot1=new go.Spot(.07,.445),x.spot2=new go.Spot(.884,.958),x}),go.Shape.defineFigureGenerator("BpmnActivityLoop",function(le,E,a){var x=new go.Geometry,y=.5,z=0,te=0,re=y*ue,ie=.4*Math.SQRT2/2+.5,ce=.5-.5*Math.SQRT2/2,pe=1,ge=.5,ye=.5,Ee=0,Le=new go.PathFigure(ie*E,(1-ce)*a,!1);return x.add(Le),Le.add(new go.PathSegment(go.PathSegment.Bezier,pe*E,ge*a,pe*E,.7*a,pe*E,ge*a)),Le.add(new go.PathSegment(go.PathSegment.Bezier,(ye+z)*E,(Ee+z)*a,(.5+y+z)*E,(.5-re+z)*a,(.5+re+z)*E,(.5-y+z)*a)),Le.add(new go.PathSegment(go.PathSegment.Bezier,(.5-y+z)*E,(.5+te)*a,(.5-re+z)*E,(.5-y+te)*a,(.5-y+z)*E,(.5-re+te)*a)),Le.add(new go.PathSegment(go.PathSegment.Bezier,(.35+z)*E,.9*a,(.5-y+z)*E,(.5+re+te)*a,(.5-re+z)*E,.9*a)),Le.add(new go.PathSegment(go.PathSegment.Move,(.25+z)*E,.8*a)),Le.add(new go.PathSegment(go.PathSegment.Line,(.35+z)*E,.9*a)),Le.add(new go.PathSegment(go.PathSegment.Line,(.2+z)*E,.95*a)),x}),go.Shape.defineFigureGenerator("BpmnActivityParallel",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,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)),x}),go.Shape.defineFigureGenerator("BpmnActivitySequential",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!1);return x.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)),x}),go.Shape.defineFigureGenerator("BpmnActivityAdHoc",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!1);x.add(y);var z=new go.PathFigure(E,a,!1);x.add(z);var te=new go.PathFigure(0,.5*a,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.5*a,.2*E,.35*a,.3*E,.35*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,.7*E,.65*a,.8*E,.65*a)),x}),go.Shape.defineFigureGenerator("BpmnActivityCompensation",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.5*a,!0);return x.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()),x}),go.Shape.defineFigureGenerator("BpmnTaskMessage",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.2*a,!0);x.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 x.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)),x}),go.Shape.defineFigureGenerator("BpmnTaskScript",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(.7*E,a,!0);x.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 z=new go.PathFigure(.45*E,.73*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.7*E,.73*a)),z.add(new go.PathSegment(go.PathSegment.Move,.38*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,.63*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Move,.31*E,.27*a)),z.add(new go.PathSegment(go.PathSegment.Line,.56*E,.27*a)),x}),go.Shape.defineFigureGenerator("BpmnTaskUser",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!1);x.add(y);var z=new go.PathFigure(.335*E,(1-.555)*a,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.335*E,(1-.405)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*E,(1-.405)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*E,(1-.555)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,E,.68*a,(1-.12)*E,.46*a,(1-.02)*E,.54*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.68*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.335*E,(1-.555)*a,.02*E,.54*a,.12*E,.46*a)),z.add(new go.PathSegment(go.PathSegment.Line,.365*E,(1-.595)*a));var te=.5-.285,re=.5,ie=te,ce=Math.PI/4,pe=4*(1-Math.cos(ce))/(3*Math.sin(ce)),ge=pe*.5,ye=te,Ee=te,Le=pe*ye,ve=pe*Ee;z.add(new go.PathSegment(go.PathSegment.Bezier,(re-ye)*E,ie*a,(re-(Le+ye)/2)*E,(ie+(Ee+ve)/2)*a,(re-ye)*E,(ie+ve)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,re*E,(ie-Ee)*a,(re-ye)*E,(ie-ve)*a,(re-Le)*E,(ie-Ee)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,(re+ye)*E,ie*a,(re+Le)*E,(ie-Ee)*a,(re+ye)*E,(ie-ve)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,(1-.365)*E,(1-.595)*a,(re+ye)*E,(ie+ve)*a,(re+(Le+ye)/2)*E,(ie+(Ee+ve)/2)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.365)*E,(1-.595)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*E,(1-.555)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*E,(1-.405)*a)),z.add(new go.PathSegment(go.PathSegment.Line,.335*E,(1-.405)*a));var $e=new go.PathFigure(.2*E,a,!1);x.add($e),$e.add(new go.PathSegment(go.PathSegment.Line,.2*E,.8*a));var He=new go.PathFigure(.8*E,a,!1);return x.add(He),He.add(new go.PathSegment(go.PathSegment.Line,.8*E,.8*a)),x}),go.Shape.defineFigureGenerator("BpmnEventConditional",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(.1*E,0,!0);x.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 z=new go.PathFigure(.2*E,.2*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.2*a)),z.add(new go.PathSegment(go.PathSegment.Move,.2*E,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.4*a)),z.add(new go.PathSegment(go.PathSegment.Move,.2*E,.6*a)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.6*a)),z.add(new go.PathSegment(go.PathSegment.Move,.2*E,.8*a)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.8*a)),x}),go.Shape.defineFigureGenerator("BpmnEventError",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,a,!0);return x.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()),x}),go.Shape.defineFigureGenerator("BpmnEventEscalation",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!1);x.add(y);var z=new go.PathFigure(E,a,!1);x.add(z);var te=new go.PathFigure(.1*E,a,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),te.add(new go.PathSegment(go.PathSegment.Line,.9*E,a)),te.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a).close()),x}),go.Shape.defineFigureGenerator("Caution",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(.05*E,a,!0);x.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 z=.05;return y.add(new go.PathSegment(go.PathSegment.Move,(.5-z)*E,.875*a)),y.add(new go.PathSegment(go.PathSegment.Arc,180,-360,.5*E,.875*a,z*E,z*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)),x}),go.Shape.defineFigureGenerator("Recycle",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(.45*E,.95*a,!1);x.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 z=new go.PathFigure(.475*E,.2*a,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.4*E,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,.225*E,.3*a)),z.add(new go.PathSegment(go.PathSegment.Line,.275*E,.175*a)),z.add(new go.PathSegment(go.PathSegment.Line,.325*E,.05*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.4*E,.05*a,.35*E,0,.375*E,0)),z.add(new go.PathSegment(go.PathSegment.Line,.575*E,.375*a)),z.add(new go.PathSegment(go.PathSegment.Line,.525*E,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,.75*E,.475*a)),z.add(new go.PathSegment(go.PathSegment.Line,.85*E,.315*a)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.32*a)),z.add(new go.PathSegment(go.PathSegment.Line,.65*E,.05*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.575*E,0,.65*E,.05*a,.625*E,0)),z.add(new go.PathSegment(go.PathSegment.Line,.38*E,.0105*a));var te=new go.PathFigure(.675*E,.575*a,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.875*E,.525*a)),te.add(new go.PathSegment(go.PathSegment.Line,E,.775*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,.85*E,.95*a,E,.8*a,E,.85*a)),te.add(new go.PathSegment(go.PathSegment.Line,.65*E,.95*a)),te.add(new go.PathSegment(go.PathSegment.Line,.65*E,a)),te.add(new go.PathSegment(go.PathSegment.Line,.55*E,.85*a)),te.add(new go.PathSegment(go.PathSegment.Line,.65*E,.725*a)),te.add(new go.PathSegment(go.PathSegment.Line,.65*E,.775*a)),te.add(new go.PathSegment(go.PathSegment.Line,.7*E,.775*a)),te.add(new go.PathSegment(go.PathSegment.Line,E,.775*a)),te.add(new go.PathSegment(go.PathSegment.Move,.675*E,.575*a)),te.add(new go.PathSegment(go.PathSegment.Line,.775*E,.775*a)),x}),go.Shape.defineFigureGenerator("BpmnEventTimer",function(le,E,a){var x=new go.Geometry,y=.5,z=ue*.5,te=new go.PathFigure(E,y*a,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,y*E,a,E,(y+z)*a,(y+z)*E,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,y*a,(y-z)*E,a,0,(y+z)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,y*E,0,0,(y-z)*a,(y-z)*E,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,E,y*a,(y+z)*E,0,E,(y-z)*a));var re=new go.PathFigure(y*E,0,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,y*E,.15*a)),re.add(new go.PathSegment(go.PathSegment.Move,y*E,a)),re.add(new go.PathSegment(go.PathSegment.Line,y*E,.85*a)),re.add(new go.PathSegment(go.PathSegment.Move,0,y*a)),re.add(new go.PathSegment(go.PathSegment.Line,.15*E,y*a)),re.add(new go.PathSegment(go.PathSegment.Move,E,y*a)),re.add(new go.PathSegment(go.PathSegment.Line,.85*E,y*a)),re.add(new go.PathSegment(go.PathSegment.Move,y*E,y*a)),re.add(new go.PathSegment(go.PathSegment.Line,.58*E,.1*a)),re.add(new go.PathSegment(go.PathSegment.Move,y*E,y*a)),re.add(new go.PathSegment(go.PathSegment.Line,.78*E,.54*a)),x}),go.Shape.defineFigureGenerator("Package",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.15*a,!0);x.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 z=new go.PathFigure(0,.15*a,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,0)),z.add(new go.PathSegment(go.PathSegment.Line,.6*E,0)),z.add(new go.PathSegment(go.PathSegment.Line,.65*E,.15*a).close()),x.spot1=new go.Spot(0,.1),x.spot2=new go.Spot(1,1),x}),go.Shape.defineFigureGenerator("Class",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);x.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 z=new go.PathFigure(0,.2*a,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,.2*a).close());var te=new go.PathFigure(0,.5*a,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E,.5*a).close()),x}),go.Shape.defineFigureGenerator("Component",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(E,a,!0);x.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 z=new go.PathFigure(0,.2*a,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.45*E,.2*a)),z.add(new go.PathSegment(go.PathSegment.Line,.45*E,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.2*a).close());var te=new go.PathFigure(0,.6*a,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.45*E,.6*a)),te.add(new go.PathSegment(go.PathSegment.Line,.45*E,.8*a)),te.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),te.add(new go.PathSegment(go.PathSegment.Line,0,.6*a).close()),x}),go.Shape.defineFigureGenerator("Boat Shipment",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(.15*E,.6*a,!0);x.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 z=new go.PathFigure(.15*E,.6*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.85*E,.6*a)),x}),go.Shape.defineFigureGenerator("Customer/Supplier",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(E,a,!0);return x.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()),x}),go.Shape.defineFigureGenerator("Workcell",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,a,!0);return x.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()),x}),go.Shape.defineFigureGenerator("Supermarket",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!1);return x.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)),x}),go.Shape.defineFigureGenerator("TruckShipment",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);x.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 z=new go.PathFigure(E,.8*a,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,.6*E,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,.6*E,.8*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,.8*a).close());var te=.1,re=ue*.1,ie=.2,ce=.9,pe=new go.PathFigure((ie-te)*E,ce*a,!0);x.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,ie*E,(ce-te)*a,(ie-te)*E,(ce-re)*a,(ie-re)*E,(ce-te)*a)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(ie+te)*E,ce*a,(ie+re)*E,(ce-te)*a,(ie+te)*E,(ce-re)*a)),pe.add(new go.PathSegment(go.PathSegment.Bezier,ie*E,(ce+te)*a,(ie+te)*E,(ce+re)*a,(ie+re)*E,(ce+te)*a)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(ie-te)*E,ce*a,(ie-re)*E,(ce+te)*a,(ie-te)*E,(ce+re)*a).close()),te=.1,re=ue*.1,ie=.8,ce=.9;var ge=new go.PathFigure((ie-te)*E,ce*a,!0);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,ie*E,(ce-te)*a,(ie-te)*E,(ce-re)*a,(ie-re)*E,(ce-te)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(ie+te)*E,ce*a,(ie+re)*E,(ce-te)*a,(ie+te)*E,(ce-re)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,ie*E,(ce+te)*a,(ie+te)*E,(ce+re)*a,(ie+re)*E,(ce+te)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(ie-te)*E,ce*a,(ie-re)*E,(ce+te)*a,(ie-te)*E,(ce+re)*a).close()),x}),go.Shape.defineFigureGenerator("KanbanPost",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(.2*E,0,!1);return x.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)),x}),go.Shape.defineFigureGenerator("Forklift",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.5*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 z=new go.PathFigure(0,.5*a,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,.8*a)),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.5*a));var te=new go.PathFigure(.5*E,.8*a,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*E,.1*a)),te.add(new go.PathSegment(go.PathSegment.Line,.55*E,.1*a)),te.add(new go.PathSegment(go.PathSegment.Line,.55*E,.8*a)),te.add(new go.PathSegment(go.PathSegment.Line,.5*E,.8*a));var re=new go.PathFigure(.5*E,.7*a,!1);x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,E,.7*a));var ie=.1,ce=ue*.1,pe=.1,ge=.9,ye=new go.PathFigure((pe-ie)*E,ge*a,!0);x.add(ye),ye.add(new go.PathSegment(go.PathSegment.Bezier,pe*E,(ge-ie)*a,(pe-ie)*E,(ge-ce)*a,(pe-ce)*E,(ge-ie)*a)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(pe+ie)*E,ge*a,(pe+ce)*E,(ge-ie)*a,(pe+ie)*E,(ge-ce)*a)),ye.add(new go.PathSegment(go.PathSegment.Bezier,pe*E,(ge+ie)*a,(pe+ie)*E,(ge+ce)*a,(pe+ce)*E,(ge+ie)*a)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(pe-ie)*E,ge*a,(pe-ce)*E,(ge+ie)*a,(pe-ie)*E,(ge+ce)*a)),ie=.1,ce=ue*.1,pe=.4,ge=.9;var Ee=new go.PathFigure((pe-ie)*E,ge*a,!0);return x.add(Ee),Ee.add(new go.PathSegment(go.PathSegment.Bezier,pe*E,(ge-ie)*a,(pe-ie)*E,(ge-ce)*a,(pe-ce)*E,(ge-ie)*a)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(pe+ie)*E,ge*a,(pe+ce)*E,(ge-ie)*a,(pe+ie)*E,(ge-ce)*a)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,pe*E,(ge+ie)*a,(pe+ie)*E,(ge+ce)*a,(pe+ce)*E,(ge+ie)*a)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(pe-ie)*E,ge*a,(pe-ce)*E,(ge+ie)*a,(pe-ie)*E,(ge+ce)*a)),x}),go.Shape.defineFigureGenerator("RailShipment",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(.1*E,.4*a,!0);x.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 z=new go.PathFigure(.45*E,.7*a,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.55*E,.7*a));var te=new go.PathFigure(.55*E,.4*a,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.9*E,.4*a)),te.add(new go.PathSegment(go.PathSegment.Line,.9*E,.9*a)),te.add(new go.PathSegment(go.PathSegment.Line,.55*E,.9*a)),te.add(new go.PathSegment(go.PathSegment.Line,.55*E,.4*a).close());var pe=.05,ge=ue*.05,ye=.175,Ee=.95,re=new go.PathFigure((ye-pe)*E,Ee*a,!0);x.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,ye*E,(Ee-pe)*a,(ye-pe)*E,(Ee-ge)*a,(ye-ge)*E,(Ee-pe)*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,(ye+pe)*E,Ee*a,(ye+ge)*E,(Ee-pe)*a,(ye+pe)*E,(Ee-ge)*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,ye*E,(Ee+pe)*a,(ye+pe)*E,(Ee+ge)*a,(ye+ge)*E,(Ee+pe)*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,(ye-pe)*E,Ee*a,(ye-ge)*E,(Ee+pe)*a,(ye-pe)*E,(Ee+ge)*a));var pe=.05,ge=ue*.05,ye=.375,Ee=.95,ie=new go.PathFigure((ye-pe)*E,Ee*a,!0);x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,ye*E,(Ee-pe)*a,(ye-pe)*E,(Ee-ge)*a,(ye-ge)*E,(Ee-pe)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(ye+pe)*E,Ee*a,(ye+ge)*E,(Ee-pe)*a,(ye+pe)*E,(Ee-ge)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,ye*E,(Ee+pe)*a,(ye+pe)*E,(Ee+ge)*a,(ye+ge)*E,(Ee+pe)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(ye-pe)*E,Ee*a,(ye-ge)*E,(Ee+pe)*a,(ye-pe)*E,(Ee+ge)*a));var pe=.05,ge=ue*.05,ye=.625,Ee=.95,ce=new go.PathFigure((ye-pe)*E,Ee*a,!0);x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,ye*E,(Ee-pe)*a,(ye-pe)*E,(Ee-ge)*a,(ye-ge)*E,(Ee-pe)*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(ye+pe)*E,Ee*a,(ye+ge)*E,(Ee-pe)*a,(ye+pe)*E,(Ee-ge)*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,ye*E,(Ee+pe)*a,(ye+pe)*E,(Ee+ge)*a,(ye+ge)*E,(Ee+pe)*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(ye-pe)*E,Ee*a,(ye-ge)*E,(Ee+pe)*a,(ye-pe)*E,(Ee+ge)*a));var pe=.05,ge=ue*.05,ye=.825,Ee=.95,Le=new go.PathFigure((ye-pe)*E,Ee*a,!0);x.add(Le),Le.add(new go.PathSegment(go.PathSegment.Bezier,ye*E,(Ee-pe)*a,(ye-pe)*E,(Ee-ge)*a,(ye-ge)*E,(Ee-pe)*a)),Le.add(new go.PathSegment(go.PathSegment.Bezier,(ye+pe)*E,Ee*a,(ye+ge)*E,(Ee-pe)*a,(ye+pe)*E,(Ee-ge)*a)),Le.add(new go.PathSegment(go.PathSegment.Bezier,ye*E,(Ee+pe)*a,(ye+pe)*E,(Ee+ge)*a,(ye+ge)*E,(Ee+pe)*a)),Le.add(new go.PathSegment(go.PathSegment.Bezier,(ye-pe)*E,Ee*a,(ye-ge)*E,(Ee+pe)*a,(ye-pe)*E,(Ee+ge)*a).close());var ve=new go.PathFigure(0,a,!1);return x.add(ve),ve.add(new go.PathSegment(go.PathSegment.Line,E,a).close()),x}),go.Shape.defineFigureGenerator("Warehouse",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);x.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 z=new go.PathFigure(0,.2*a,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,.2*a).close());var te=new go.PathFigure(.15*E,a,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.15*E,.5*a)),te.add(new go.PathSegment(go.PathSegment.Line,.4*E,.5*a)),te.add(new go.PathSegment(go.PathSegment.Line,.4*E,a)),te.add(new go.PathSegment(go.PathSegment.Line,.15*E,a).close());var re=.05,ie=ue*.05,ce=.35,pe=.775,ge=new go.PathFigure((ce-re)*E,pe*a,!0);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,ce*E,(pe-re)*a,(ce-re)*E,(pe-ie)*a,(ce-ie)*E,(pe-re)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(ce+re)*E,pe*a,(ce+ie)*E,(pe-re)*a,(ce+re)*E,(pe-ie)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,ce*E,(pe+re)*a,(ce+re)*E,(pe+ie)*a,(ce+ie)*E,(pe+re)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(ce-re)*E,pe*a,(ce-ie)*E,(pe+re)*a,(ce-re)*E,(pe+ie)*a).close()),x}),go.Shape.defineFigureGenerator("ControlCenter",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,a,!0);return x.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()),x}),go.Shape.defineFigureGenerator("Bluetooth",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.75*a,!1);return x.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)),x}),go.Shape.defineFigureGenerator("Bookmark",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,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)),x}),go.Shape.defineFigureGenerator("Bookmark",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,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)),x}),go.Shape.defineFigureGenerator("Globe",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(.5*E,0,!1);return x.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)),x}),go.Shape.defineFigureGenerator("Wave",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.25*a,!1);return x.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)),x}),go.Shape.defineFigureGenerator("Operator",function(le,E,a){var x=new go.Geometry,y=.3,z=ue*.3,te=.5,re=.7,ie=new go.PathFigure((te-y)*E,re*a,!0);x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(re-y)*a,(te-y)*E,(re-z)*a,(te-z)*E,(re-y)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(te+y)*E,re*a,(te+z)*E,(re-y)*a,(te+y)*E,(re-z)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(re+y)*a,(te+y)*E,(re+z)*a,(te+z)*E,(re+y)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(te-y)*E,re*a,(te-z)*E,(re+y)*a,(te-y)*E,(re+z)*a));var ce=new go.PathFigure(0,.7*a,!1);return x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,E,.7*a,0,0,E,0)),x}),go.Shape.defineFigureGenerator("TripleFanBlades",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(.5*E,0,!0);return x.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)),x}),go.Shape.defineFigureGenerator("CentrifugalPump",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(E,0,!0);return x.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)),x}),go.Shape.defineFigureGenerator("Battery",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,a,!0);x.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 z=new go.PathFigure(0,.6*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Move,0,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,.4*a)),x}),go.Shape.defineFigureGenerator("Delete",function(le,E,a){var x=new go.Geometry,y=.5,z=ue*.5,te=.5,re=.5,ie=new go.PathFigure((te-y)*E,re*a,!0);x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(re-y)*a,(te-y)*E,(re-z)*a,(te-z)*E,(re-y)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(te+y)*E,re*a,(te+z)*E,(re-y)*a,(te+y)*E,(re-z)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(re+y)*a,(te+y)*E,(re+z)*a,(te+z)*E,(re+y)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(te-y)*E,re*a,(te-z)*E,(re+y)*a,(te-y)*E,(re+z)*a));var ce=new go.PathFigure(.15*E,.5*a,!1);return x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,.85*E,.5*a)),x}),go.Shape.defineFigureGenerator("Flag",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.1*a,!0);return x.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()),x}),go.Shape.defineFigureGenerator("Help",function(le,E,a){var x=new go.Geometry,y=.5,z=ue*.5,te=.5,re=.5,ie=new go.PathFigure((te-y)*E,re*a,!1);x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(re-y)*a,(te-y)*E,(re-z)*a,(te-z)*E,(re-y)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(te+y)*E,re*a,(te+z)*E,(re-y)*a,(te+y)*E,(re-z)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(re+y)*a,(te+y)*E,(re+z)*a,(te+z)*E,(re+y)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(te-y)*E,re*a,(te-z)*E,(re+y)*a,(te-y)*E,(re+z)*a).close()),y=.05,z=ue*.05,te=.5,re=.8;var ce=new go.PathFigure((te-y)*E,re*a,!1);return x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(re-y)*a,(te-y)*E,(re-z)*a,(te-z)*E,(re-y)*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(te+y)*E,re*a,(te+z)*E,(re-y)*a,(te+y)*E,(re-z)*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(re+y)*a,(te+y)*E,(re+z)*a,(te+z)*E,(re+y)*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(te-y)*E,re*a,(te-z)*E,(re+y)*a,(te-y)*E,(re+z)*a).close()),ce.add(new go.PathSegment(go.PathSegment.Move,.5*E,.7*a)),ce.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.2*a,.75*E,.475*a,.75*E,.225*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,.3*E,.35*a,.4*E,.2*a,.3*E,.25*a)),x}),go.Shape.defineFigureGenerator("Location",function(le,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(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.5*a,!0);x.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 z=new go.PathFigure(.2*E,.5*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Move,.2*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,.2*E,.3*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,.3*a,.25*E,0,.75*E,0)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.3*a)),x}),go.Shape.defineFigureGenerator("Unlocked",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.5*a,!0);x.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 z=new go.PathFigure(.2*E,.5*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Move,.2*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,.2*E,.3*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,.3*a,.25*E,0,.75*E,0)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.35*a)),x}),go.Shape.defineFigureGenerator("Gear",function(le,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(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.5*a,!0);return x.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()),x}),go.Shape.defineFigureGenerator("Map",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.2*a,!0);return x.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)),x}),go.Shape.defineFigureGenerator("Eject",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,a,!0);x.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 z=new go.PathFigure(0,a*.6,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,.6*a)),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,0).close()),x}),go.Shape.defineFigureGenerator("Pencil",function(le,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(le,E,a){var x=new go.Geometry,y=new go.PathFigure(E*1,a*1,!1);x.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 z=new go.PathFigure(.126*E,.85*a,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.126*E,.45*a)),z.add(new go.PathSegment(go.PathSegment.Line,.322*E,.45*a)),z.add(new go.PathSegment(go.PathSegment.Line,.322*E,.85*a).close());var te=new go.PathFigure(.402*E,.85*a,!1);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.402*E,.45*a)),te.add(new go.PathSegment(go.PathSegment.Line,.598*E,.45*a)),te.add(new go.PathSegment(go.PathSegment.Line,.598*E,.85*a).close());var re=new go.PathFigure(.678*E,.85*a,!1);x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.678*E,.45*a)),re.add(new go.PathSegment(go.PathSegment.Line,.874*E,.45*a)),re.add(new go.PathSegment(go.PathSegment.Line,.874*E,.85*a).close());var ie=new go.PathFigure(.5*E,.1*a,!1);return x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Line,(.046+.15)*E,.3*a)),ie.add(new go.PathSegment(go.PathSegment.Line,(1-(.046+.15))*E,.3*a).close()),x}),go.Shape.defineFigureGenerator("Staircase",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,a*1,!0);return x.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()),x}),go.Shape.defineFigureGenerator("5Bars",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,a*1,!0);x.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 z=new go.PathFigure(E*.204,a,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E*.204,a*(1-.184))),z.add(new go.PathSegment(go.PathSegment.Line,E*.388,a*(1-.184*2))),z.add(new go.PathSegment(go.PathSegment.Line,E*.388,a*1).close());var te=new go.PathFigure(E*.408,a,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E*.408,a*(1-.184*2))),te.add(new go.PathSegment(go.PathSegment.Line,E*.592,a*(1-.184*3))),te.add(new go.PathSegment(go.PathSegment.Line,E*.592,a*1).close());var re=new go.PathFigure(E*.612,a,!0);x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,E*.612,a*(1-.184*3))),re.add(new go.PathSegment(go.PathSegment.Line,E*.796,a*(1-.184*4))),re.add(new go.PathSegment(go.PathSegment.Line,E*.796,a*1).close());var ie=new go.PathFigure(E*.816,a,!0);return x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Line,E*.816,a*(1-.184*4))),ie.add(new go.PathSegment(go.PathSegment.Line,E*1,a*(1-.184*5))),ie.add(new go.PathSegment(go.PathSegment.Line,E*1,a*1).close()),x}),go.Shape.defineFigureGenerator("PC",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);x.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 z=new go.PathFigure(E*.055,.07*a,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E*.245,a*.07)),z.add(new go.PathSegment(go.PathSegment.Line,E*.245,a*.1)),z.add(new go.PathSegment(go.PathSegment.Line,E*.055,a*.1).close());var te=new go.PathFigure(E*.055,.13*a,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E*.245,a*.13)),te.add(new go.PathSegment(go.PathSegment.Line,E*.245,a*.16)),te.add(new go.PathSegment(go.PathSegment.Line,E*.055,a*.16).close());var re=new go.PathFigure(E*.055,.18*a,!0);x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,E*.245,a*.18)),re.add(new go.PathSegment(go.PathSegment.Line,E*.245,a*.21)),re.add(new go.PathSegment(go.PathSegment.Line,E*.055,a*.21).close());var ie=new go.PathFigure(E*1,0,!0);return x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Line,E*.4,0)),ie.add(new go.PathSegment(go.PathSegment.Line,E*.4,a*.65)),ie.add(new go.PathSegment(go.PathSegment.Line,E*1,a*.65).close()),x}),go.Shape.defineFigureGenerator("Plane",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(.55*E,a,!0);return x.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()),x}),go.Shape.defineFigureGenerator("Key",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(E*1,a*.5,!0);return x.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()),x}),go.Shape.defineFigureGenerator("FilmTape",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!1);x.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,270,180,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 z=new go.PathFigure(0,0,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E*1,a*0)),z.add(new go.PathSegment(go.PathSegment.Arc,270,-180,E*1,E*.3,E*.055)),z.add(new go.PathSegment(go.PathSegment.Line,E*1,a*1));var te=new go.PathFigure(E*.11,a*.1,!1);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*1+.028*0),a*.1)),te.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*1+.028*0),a*.8)),te.add(new go.PathSegment(go.PathSegment.Line,E*.11,a*.8).close());var re=new go.PathFigure(E*(.11+.24133333*1+.028*1),a*.1,!1);x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*2+.028*1),a*.1)),re.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*2+.028*1),a*.8)),re.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*1+.028*1),a*.8).close());var ie=new go.PathFigure(E*(.11+.24133333*2+.028*2),a*.1,!1);return x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*3+.028*2),a*.1)),ie.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*3+.028*2),a*.8)),ie.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*2+.028*2),a*.8).close()),x}),go.Shape.defineFigureGenerator("FloppyDisk",function(le,E,a){var x=new go.Geometry,y=8,z=y*ue,te=new go.PathFigure(y,0,!1);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E*.86,0)),te.add(new go.PathSegment(go.PathSegment.Line,E*1,a*.14)),te.add(new go.PathSegment(go.PathSegment.Line,E,a-y)),te.add(new go.PathSegment(go.PathSegment.Bezier,E-y,a,E,a-z,E-z,a)),te.add(new go.PathSegment(go.PathSegment.Line,y,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,a-y,z,a,0,a-z)),te.add(new go.PathSegment(go.PathSegment.Line,0,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,y,0,0,z,z,0).close());var re=new go.PathFigure(E*.83,0,!1);x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,E*.83,a*.3)),re.add(new go.PathSegment(go.PathSegment.Line,E*.17,a*.3)),re.add(new go.PathSegment(go.PathSegment.Line,E*.17,a*0).close());var ie=new go.PathFigure(E*.83,a*1,!1);x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Line,E*.83,a*.5)),ie.add(new go.PathSegment(go.PathSegment.Line,E*.17,a*.5)),ie.add(new go.PathSegment(go.PathSegment.Line,E*.17,a*1).close());var ce=new go.PathFigure(E*.78,a*.05,!1);return x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*.05)),ce.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*.25)),ce.add(new go.PathSegment(go.PathSegment.Line,E*.78,a*.25).close()),x}),go.Shape.defineFigureGenerator("SpeechBubble",function(le,E,a){var x=le?le.parameter1:NaN;(isNaN(x)||x<0)&&(x=15),x=Math.min(x,E/3),x=Math.min(x,a/3);var y=x*ue,z=a*.8,te=new go.Geometry,re=new go.PathFigure(x,0,!0);return te.add(re),re.add(new go.PathSegment(go.PathSegment.Line,E-x,0)),re.add(new go.PathSegment(go.PathSegment.Bezier,E,x,E-y,0,E,y)),re.add(new go.PathSegment(go.PathSegment.Line,E,z-x)),re.add(new go.PathSegment(go.PathSegment.Bezier,E-x,z,E,z-y,E-y,z)),re.add(new go.PathSegment(go.PathSegment.Line,E*.7,z)),re.add(new go.PathSegment(go.PathSegment.Line,E*.7,a)),re.add(new go.PathSegment(go.PathSegment.Line,E*.55,z)),re.add(new go.PathSegment(go.PathSegment.Line,x,z)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,z-x,y,z,0,z-y)),re.add(new go.PathSegment(go.PathSegment.Line,0,x)),re.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,y,y,0).close()),y>1?(te.spot1=new go.Spot(0,0,y,y),te.spot2=new go.Spot(1,.8,-y,-y)):(te.spot1=go.Spot.TopLeft,te.spot2=new go.Spot(1,.8)),te}),go.Shape.defineFigureGenerator("Repeat",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(E*0,a*.45,!0);x.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 z=new go.PathFigure(E*1,a*.55,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E*.75,a*1)),z.add(new go.PathSegment(go.PathSegment.Line,E*.5,a*.55)),z.add(new go.PathSegment(go.PathSegment.Line,E*.7,a*.55)),z.add(new go.PathSegment(go.PathSegment.Line,E*.7,a*.1)),z.add(new go.PathSegment(go.PathSegment.Line,E*.4,a*.1)),z.add(new go.PathSegment(go.PathSegment.Line,E*.35,a*0)),z.add(new go.PathSegment(go.PathSegment.Line,E*.8,a*0)),z.add(new go.PathSegment(go.PathSegment.Line,E*.8,a*.55).close()),x}),go.Shape.defineFigureGenerator("Windows",function(le,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(le,E,a){var x=new go.Geometry,y=new go.PathFigure(E*0,a*.1,!1);x.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 z=new go.PathFigure(E*.1,a*.2,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E*.1,a*.25)),z.add(new go.PathSegment(go.PathSegment.Line,E*.22,a*.285)),z.add(new go.PathSegment(go.PathSegment.Line,E*.1,a*.32)),z.add(new go.PathSegment(go.PathSegment.Line,E*.1,a*.37)),z.add(new go.PathSegment(go.PathSegment.Line,E*.275,a*.32)),z.add(new go.PathSegment(go.PathSegment.Line,E*.275,a*.25).close());var te=new go.PathFigure(E*.28,a*.37,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E*.45,a*.37)),te.add(new go.PathSegment(go.PathSegment.Line,E*.45,a*.41)),te.add(new go.PathSegment(go.PathSegment.Line,E*.28,a*.41).close()),x}),go.Shape.defineFigureGenerator("Beaker",function(le,E,a){var x=new go.Geometry,y=15,z=y*ue,te=new go.PathFigure(E*.62,a*.475,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E,a-y)),te.add(new go.PathSegment(go.PathSegment.Bezier,E-y,a,E,a-z,E-z,a)),te.add(new go.PathSegment(go.PathSegment.Line,y,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,a-y,z,a,0,a-z)),te.add(new go.PathSegment(go.PathSegment.Line,E*.38,a*.475)),te.add(new go.PathSegment(go.PathSegment.Line,E*.38,a*.03)),te.add(new go.PathSegment(go.PathSegment.Line,E*.36,a*0)),te.add(new go.PathSegment(go.PathSegment.Line,E*.64,a*0)),te.add(new go.PathSegment(go.PathSegment.Line,E*.62,a*.03).close()),z>1?(x.spot1=new go.Spot(0,0,z,z),x.spot2=new go.Spot(1,1,-z,-z)):(x.spot1=go.Spot.TopLeft,x.spot2=go.Spot.BottomRight),x}),go.Shape.defineFigureGenerator("Download",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(E*0,a*1,!0);x.add(y);var z=.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-z))),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-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*.64,a*(1-z))),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-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*.07,a*(1-z))),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-z)).close());var te=new go.PathFigure(E*.4,a*0,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E*.4,a*.44)),te.add(new go.PathSegment(go.PathSegment.Line,E*.26,a*.44)),te.add(new go.PathSegment(go.PathSegment.Line,E*.5,a*.66)),te.add(new go.PathSegment(go.PathSegment.Line,E*(1-.26),a*.44)),te.add(new go.PathSegment(go.PathSegment.Line,E*.6,a*.44)),te.add(new go.PathSegment(go.PathSegment.Line,E*.6,a*0).close()),x}),go.Shape.defineFigureGenerator("Bin",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(E*0,a*1,!0);x.add(y);var z=.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-z))),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-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*.64,a*(1-z))),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-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*.07,a*(1-z))),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-z)).close()),x}),go.Shape.defineFigureGenerator("Upload",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(E*0,a*1,!0);x.add(y);var z=.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-z))),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-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*.64,a*(1-z))),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-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*.07,a*(1-z))),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-z)).close());var te=new go.PathFigure(E*.5,a*0,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E*.26,a*.25)),te.add(new go.PathSegment(go.PathSegment.Line,E*.4,a*.25)),te.add(new go.PathSegment(go.PathSegment.Line,E*.4,a*.63)),te.add(new go.PathSegment(go.PathSegment.Line,E*.6,a*.63)),te.add(new go.PathSegment(go.PathSegment.Line,E*.6,a*.25)),te.add(new go.PathSegment(go.PathSegment.Line,E*.74,a*.25).close()),x}),go.Shape.defineFigureGenerator("EmptyDrink",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(E*.15,a*0,!1);return x.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()),x}),go.Shape.defineFigureGenerator("Drink",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(E*.15,a*0,!1);x.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 z=new go.PathFigure(E*.235,a*.28,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E*.765,a*.28)),z.add(new go.PathSegment(go.PathSegment.Line,E*.655,a*.97)),z.add(new go.PathSegment(go.PathSegment.Line,E*.345,a*.97).close()),x}),go.Shape.defineFigureGenerator("4Arrows",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(E*.5,a*0,!0);return x.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()),x}),go.Shape.defineFigureGenerator("Connector","Ellipse"),go.Shape.defineFigureGenerator("Alternative","TriangleUp"),go.Shape.defineFigureGenerator("Merge","TriangleUp"),go.Shape.defineFigureGenerator("Decision","Diamond"),go.Shape.defineFigureGenerator("DataTransmissions","Hexagon"),go.Shape.defineFigureGenerator("Gate","Crescent"),go.Shape.defineFigureGenerator("Delay","HalfEllipse"),go.Shape.defineFigureGenerator("Input","Parallelogram1"),go.Shape.defineFigureGenerator("ManualLoop","ManualOperation"),go.Shape.defineFigureGenerator("ISOProcess","Chevron"),go.Shape.defineFigureGenerator("MessageToUser","SquareArrow"),go.Shape.defineFigureGenerator("MagneticData","Cylinder1"),go.Shape.defineFigureGenerator("DirectData","Cylinder4"),go.Shape.defineFigureGenerator("StoredData","DataStorage"),go.Shape.defineFigureGenerator("SequentialData","MagneticTape"),go.Shape.defineFigureGenerator("Subroutine","Procedure")},43001:function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;(function(){if(typeof window.GGBApplet=="function"){console.warn("deployggb.js was loaded twice");return}var isRenderGGBElementEnabled=!1,scriptLoadStarted=!1,html5AppletsToProcess=null,ggbHTML5LoadedCodebaseIsWebSimple=!1,ggbHTML5LoadedCodebaseVersion=null,ggbHTML5LoadedScript=null,GGBApplet=function(){"use strict";for(var _t={},Rt="5.0",ae={},b=null,se=!1,be=!1,Ae=null,Ie=!1,Re=null,ue=null,Ze=0;Ze<arguments.length;Ze++){var We=arguments[Ze];if(We!==null)switch(typeof We){case"number":Rt=We.toFixed(1);break;case"string":We.match(new RegExp("^[0-9]\\.[0-9]+$"))?Rt=We:Ae=We;break;case"object":typeof We.is3D!="undefined"?b=We:ae=We;break;case"boolean":se=We,be=!0;break}}b===null&&(b={is3D:!1,AV:!1,SV:!1,CV:!1,EV2:!1,CP:!1,PC:!1,DA:!1,FI:!1,PV:!1,macro:!1},ae.material_id!==void 0&&!be&&(se=!0)),Ae!==null&&ae.id===void 0&&(ae.id=Ae);var Te="",ke="",je=!1,De=null,le=null,E=null,a=!1,x=null,y=null,z=null,te=null,re=null;ae.height!==void 0&&(ae.height=Math.round(ae.height)),ae.width!==void 0&&(ae.width=Math.round(ae.width));var ie=function(Je){return parseFloat(Je)>4?parseFloat(Je):5};_t.setHTML5Codebase=function(Je,ft){ue=Je,ot(Je,ft)},_t.setJavaCodebase=_t.setJavaCodebaseVersion=_t.isCompiledInstalled=_t.setPreCompiledScriptPath=_t.setPreCompiledResourcePath=function(){},_t.setHTML5CodebaseVersion=function(Je,ft){var Dt=parseFloat(Je);if(Dt!==NaN&&Dt<5){console.log("The GeoGebra HTML5 codebase version "+Dt+" is deprecated. Using version latest instead.");return}Re=Je,Kt(Je,ft)},_t.getHTML5CodebaseVersion=function(){return le},_t.getParameters=function(){return ae},_t.setFontsCSSURL=function(Je){te=Je},_t.setGiacJSURL=function(Je){},_t.setJNLPFile=function(Je){Te=Je},_t.setJNLPBaseDir=function(Je){},_t.inject=function(){function Je(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var ft="auto",Dt=ae.id,ln,yt=!1,Yt=0;Yt<arguments.length;Yt++){var Be=arguments[Yt];typeof Be=="string"?(Be=Be.toLowerCase(),Be.match(/^(prefer)?(java|html5|compiled|auto|screenshot)$/)?ft=Be:Dt=arguments[Yt]):typeof Be=="boolean"?yt=Be:Be instanceof HTMLElement&&(ln=Be)}Ut();function Ut(){if(!Ie){setTimeout(Ut,200);return}ft=Ke(ft);var Cn=ln||document.getElementById(Dt);if(!Cn){console.log("possibly bug on ajax loading? ");return}if(_t.removeExistingApplet(Cn,!1),ae.width===void 0&&Cn.clientWidth&&(ae.width=Cn.clientWidth),ae.height===void 0&&Cn.clientHeight&&(ae.height=Cn.clientHeight),!(ae.width&&ae.height)&&ft==="html5"&&(delete ae.width,delete ae.height),De=ft,ft==="screenshot")He(Cn,ae);else{var Ft=!1;ae.hasOwnProperty("playButton")&&ae.playButton||ae.hasOwnProperty("clickToLoad")&&ae.clickToLoad?Ft=!0:ae.hasOwnProperty("playButtonAutoDecide")&&ae.playButtonAutoDecide&&(Ft=(!ce()||Je())&&pe()),Ft?(De="screenshot",Ne(Cn,ae,yt,ft)):$e(Cn,ae,yt)}}};function ce(){try{return window.self!==window.top}catch(Je){return!0}}function pe(){return ae.hasOwnProperty("screenshotGenerator")&&ae.screenshotGenerator?!1:Math.max(screen.width,screen.height)<800}_t.getViews=function(){return b},_t.isJavaInstalled=function(){return!1};var ge=function(Je){var ft=function(Yt){var Be=JSON.parse(Yt),Ut=function(It){return It.type=="G"||It.type=="E"},Cn=Be.elements?Be.elements.filter(Ut)[0]:Be;if(!Cn||!Cn.url){Dt();return}ae.fileName=Cn.url,ye(Cn.settings||{}),b.is3D=!0;var Ft="https://www.geogebra.org/images/";_t.setPreviewImage(x||Cn.previewUrl,Ft+"GeoGebra_loading.png",Ft+"applet_play.png"),Je()},Dt=function(){ae.onError&&ae.onError(),Ht("Error: Fetching material (id "+ae.material_id+") failed.",ae)},ln=location.host.match(/(www|stage|beta|groot|alpha).geogebra.(org|net)/)?location.host:"www.geogebra.org",yt="/materials/"+ae.material_id+"?scope=basic";Ee("https://"+ln+"/api/proxy.php?path="+encodeURIComponent(yt),ft,Dt)};function ye(Je){var ft=["width","height","showToolBar","showMenuBar","showAlgebraInput","allowStyleBar","showResetIcon","enableLabelDrags","enableShiftDragZoom","enableRightClick","appName"];["enableLabelDrags","enableShiftDragZoom","enableRightClick"].forEach(function(Dt){Je[Dt]=!!Je[Dt]}),ft.forEach(function(Dt){ae[Dt]===void 0&&Je[Dt]!==void 0&&(ae[Dt]=Je[Dt])}),ae.showToolBarHelp===void 0&&(ae.showToolBarHelp=ae.showToolBar)}function Ee(Je,ft,Dt){var ln=new XMLHttpRequest;ln.open("GET",Je),ln.onload=function(){ft(ln.responseText)},ln.onerror=Dt,ln.send()}_t.isHTML5Installed=function(){return!0},_t.getLoadedAppletType=function(){return De},_t.setPreviewImage=function(Je,ft,Dt){x=Je,y=ft,z=Dt},_t.removeExistingApplet=function(Je,ft){var Dt;typeof Je=="string"&&(Je=document.getElementById(Je)),De=null;var ln=null;for(Dt=0;Dt<Je.childNodes.length;Dt++){var yt=Je.childNodes[Dt],Yt=yt.className;Yt==="applet_screenshot"?ft?(yt.style.display="block",De="screenshot"):yt.style.display="none":Yt!=="applet_scaler prerender"&&(Je.removeChild(yt),ln=Yt&&Yt.indexOf("appletParameters")!=-1?yt.id:null,Dt--)}var Be=ae.id!==void 0?ae.id:ln,Ut=window[Be];Ut&&typeof Ut.getBase64=="function"&&(Ut.remove(),window[Be]=null)},_t.refreshHitPoints=function(){if(ie(ggbHTML5LoadedCodebaseVersion)>=5)return!0;var Je=_t.getAppletObject();return Je&&typeof Je.recalculateEnvironments=="function"?(Je.recalculateEnvironments(),!0):!1},_t.startAnimation=function(){var Je=_t.getAppletObject();return Je&&typeof Je.startAnimation=="function"?(Je.startAnimation(),!0):!1},_t.stopAnimation=function(){var Je=_t.getAppletObject();return Je&&typeof Je.stopAnimation=="function"?(Je.stopAnimation(),!0):!1},_t.getAppletObject=function(){var Je=ae.id!==void 0?ae.id:"ggbApplet";return window[Je]},_t.resize=function(){};var Le=function(Je,ft,Dt){var ln=document.createElement("param");ln.setAttribute("name",ft),ln.setAttribute("value",Dt),Je.appendChild(ln)},ve=function(Je){return Je&&Je!=="false"},$e=function(Je,ft,Dt){ie(le)<=4.2&&(Dt=!0);var ln=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==le||ggbHTML5LoadedCodebaseIsWebSimple&&!a)&&(ln=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var yt=document.createElement("div");yt.classList.add("appletParameters","notranslate");var Yt=ft.width,Be=ft.height;if(ft.disableAutoScale=ft.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():ft.disableAutoScale,ft.width!==void 0)if(ie(le)<=4.4)ve(ft.showToolBar)&&(ft.height-=7),ve(ft.showAlgebraInput)&&(ft.height-=37),ft.width<605&&ve(ft.showToolBar)&&(ft.width=605,Yt=605);else{var Ut=100;(ve(ft.showToolBar)||ve(ft.showMenuBar))&&(ft.hasOwnProperty("customToolBar")&&(ft.customToolbar=ft.customToolBar),Ut=ve(ft.showMenuBar)?245:155),Yt<Ut&&(ft.width=Ut,Yt=Ut)}yt.style.border="none",yt.style.display="inline-block";for(var Cn in ft)ft.hasOwnProperty(Cn)&&Cn!=="appletOnLoad"&&yt.setAttribute("data-param-"+Cn,ft[Cn]);te&&yt.setAttribute("data-param-fontscssurl",te),_t.resize=function(){GGBAppletUtils.responsiveResize(Je,ft)},window.addEventListener("resize",function(_e){_t.resize()});var Ft=typeof ft.appletOnLoad=="function"?ft.appletOnLoad:function(){};if(!Dt&&ft.width!==void 0){ft.hasOwnProperty("showSplash")||yt.setAttribute("data-param-showSplash","false");var It=Je.querySelector(".applet_scaler.prerender"),nt=It!==null;if(nt)var Ue=It.querySelector(".ggb_preview");else{var Ue=lt(Yt,Be,ft.borderColor,!1);It=document.createElement("div"),It.className="applet_scaler",It.style.position="relative",It.style.display="block",It.style.width=Yt+"px",It.style.height=Be+"px"}window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(It,"66%"),ie(le)>=5?(ft.appletOnLoad=function(_e){var Pt=Je.querySelector(".ggb_preview");Pt&&Pt.parentNode.removeChild(Pt),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(It),window.GGBT_wsf_view&&$(window).trigger("resize"),Ft(_e)},nt||It.appendChild(Ue)):yt.appendChild(Ue),It.appendChild(yt),nt||Je.appendChild(It),setTimeout(function(){_t.resize()},1)}else{var Fe=document.createElement("div");Fe.className="applet_scaler",Fe.style.position="relative",Fe.style.display="block",Fe.appendChild(yt),Je.appendChild(Fe),ft.appletOnLoad=function(_e){_t.resize(),Ft(_e)}}function he(_e,Pt){Pt&&typeof Pt.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(_e,Pt.appletOnLoad):renderGGBElement(_e),Ht("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",Pt)}function at(_e,Pt){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:_e,params:Pt}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(cn){he(cn.article,cn.params)}),html5AppletsToProcess=null)},ie(le)<5&&(_e.className+=" geogebraweb")):he(_e,Pt)}if(ln){scriptLoadStarted=!0;for(var At=0;At<yt.childNodes.length;At++){var we=yt.childNodes[At].tagName;we==="TABLE"&&(yt.removeChild(yt.childNodes[At]),At--)}if(ggbHTML5LoadedScript!==null){var Ce=document.querySelector('script[src="'+ggbHTML5LoadedScript+'"]');Ce!=null&&Ce.parentNode.removeChild(Ce)}var vt=document.createElement("script"),Xe=function(){at(yt,ft)};vt.src=ke+E,ggbHTML5LoadedCodebaseIsWebSimple=a,ggbHTML5LoadedCodebaseVersion=le,ggbHTML5LoadedScript=vt.src,Ht("GeoGebra HTML5 codebase loaded: '"+ke+"'.",ft),!ue&&(!Re||Re=="5.0")?(a?webSimple.succeeded=webSimple.succeeded||webSimple():web3d.succeeded=web3d.succeeded||web3d(),Xe()):ke.requirejs?__webpack_require__.e(7963).then(function(){var _e=[__webpack_require__(87963)];Xe.apply(null,_e)}.bind(this)).catch(__webpack_require__.oe):(vt.onload=Xe,Je.appendChild(vt))}else at(yt,ft);ft.height=Be,ft.width=Yt},He=function(Je,ft,Dt){var ln=lt(ft.width,ft.height,ft.borderColor,Dt),yt=document.createElement("div");yt.style.position="relative",yt.style.display="block",yt.style.width=ft.width+"px",yt.style.height=ft.height+"px",yt.className="applet_screenshot applet_scaler"+(Dt?" applet_screenshot_play":""),yt.appendChild(ln);var Yt=GGBAppletUtils.getScale(ft,Je,Dt);Dt?(Je.appendChild(Qe()),window.GGBT_wsf_view||(Je.style.position="relative")):window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(yt,"66%"),Je.appendChild(yt),Yt!==1&&!isNaN(Yt)&&(GGBAppletUtils.scaleElement(yt,Yt),yt.style.width=ft.width+"px",yt.style.height=ft.height+"px",yt.parentNode.style.width=ft.width*Yt+"px",yt.parentNode.style.height=ft.height*Yt+"px"),_t.resize=function(){it(Je,ln,yt,Dt)},window.addEventListener("resize",function(Be){_t.resize()}),_t.resize()};function it(Je,ft,Dt,ln){if(Je.contains(ft)){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(Je.id!=="fullscreencontent")return;window.GGBT_wsf_view.setCloseBtnPosition(Je)}var yt=GGBAppletUtils.getScale(ae,Je,ln);Dt.parentNode!==null&&(!isNaN(yt)&&yt!==1?(GGBAppletUtils.scaleElement(Dt,yt),Dt.parentNode.style.width=ae.width*yt+"px",Dt.parentNode.style.height=ae.height*yt+"px"):(GGBAppletUtils.scaleElement(Dt,1),Dt.parentNode.style.width=ae.width+"px",Dt.parentNode.style.height=ae.height+"px")),typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&GGBAppletUtils.positionCenter(Je),typeof window.GGBT_ws_header_footer=="object"&&window.GGBT_ws_header_footer.setWsScrollerHeight()}}_t.onExitFullscreen=function(Je,ft){ft.appendChild(Je)};var Ne=function(Je,ft,Dt,ln){He(Je,ft,!0);for(var yt=function(){var Ut=[];for(Be=0;Be<Je.childNodes.length;Be++)Ut.push(Je.childNodes[Be]);if(window.GGBT_wsf_view){var Cn=window.GGBT_wsf_view.renderFullScreen(Je,ft.id),Ft=document.getElementById("fullscreencontainer"),It=jQuery(Je).find(".fullscreencontent");It.length>0?(Cn.remove(),It.attr("id","fullscreencontent").show(),jQuery(Ft).append(It),window.dispatchEvent(new Event("resize"))):$e(Cn,ft,!1),window.GGBT_wsf_view.launchFullScreen(Ft)}else De=ln,$e(Je,ft,!1);if(!window.GGBT_wsf_view)for(Be=0;Be<Ut.length;Be++)Je.removeChild(Ut[Be])},Yt=Je.getElementsByClassName("ggb_preview_play"),Be=0;Be<Yt.length;Be++)Yt[Be].addEventListener("click",yt,!1),Yt[Be].addEventListener("ontouchstart",yt,!1);typeof window.ggbAppletPlayerOnload=="function"&&window.ggbAppletPlayerOnload(Je),pe()&&window.GGBT_wsf_view&&$(".wsf-element-fullscreen-button").remove()},Qe=function(){var Je=document.createElement("div");if(Je.className="ggb_preview_play icon-applet-play",!window.GGBT_wsf_view){var ft='.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");}',Dt=document.createElement("style");Dt.styleSheet?Dt.styleSheet.cssText=ft:Dt.appendChild(document.createTextNode(ft)),document.getElementsByTagName("head")[0].appendChild(Dt)}return Je},lt=function(Je,ft,Dt,ln){var yt=document.createElement("div");yt.className="ggb_preview",yt.style.position="absolute",yt.style.zIndex="90",yt.style.width=Je-2+"px",yt.style.height=ft-2+"px",yt.style.top="0px",yt.style.left="0px",yt.style.overflow="hidden",yt.style.backgroundColor="white";var Yt="lightgrey";Dt!==void 0&&(Dt==="none"?Yt="transparent":Yt=Dt),yt.style.border="1px solid "+Yt;var Be=document.createElement("img");if(Be.style.position="relative",Be.style.zIndex="1000",Be.style.top="-1px",Be.style.left="-1px",x!==null&&Be.setAttribute("src",x),Be.style.opacity=.7,y!==null){var Ut,Cn,Ft;if(!ln){Ut=document.createElement("img"),Ut.style.position="absolute",Ut.style.zIndex="1001",Ut.style.opacity=1,Be.style.opacity=.3,Cn=360,Cn>Je/4*3&&(Cn=Je/4*3),Ft=Cn/5.8,Ut.setAttribute("src",y),Ut.setAttribute("width",Cn),Ut.setAttribute("height",Ft);var It=(Je-Cn)/2,nt=(ft-Ft)/2;Ut.style.left=It+"px",Ut.style.top=nt+"px",yt.appendChild(Ut)}}return yt.appendChild(Be),yt},Ke=function(Je){return Je=Je.toLowerCase(),Je==="html5"||Je==="screenshot"?Je:"html5"},Ye=["web","webSimple","web3d","tablet","tablet3d","phone"],Kt=function(Je,ft){if(le=Je,ft){ot(le,!0);return}var Dt=!se;if(Dt){var ln=ie(le);!isNaN(ln)&&ln<4.4&&(Dt=!1)}var yt,Yt;window.location.protocol.substr(0,4)==="http"?yt=window.location.protocol:yt="http:";var Be=le.indexOf("//");Be>0?Yt=le:Be===0?Yt=yt+le:Yt="https://www.geogebra.org/apps/5.2.814.0/";for(var Ut in Ye)if(le.slice(Ye[Ut].length*-1)===Ye[Ut]||le.slice((Ye[Ut].length+1)*-1)===Ye[Ut]+"/"){ot(Yt,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&Dt&&!b.is3D&&!b.AV&&!b.SV&&!b.CV&&!b.EV2&&!b.CP&&!b.PC&&!b.DA&&!b.FI&&!b.PV&&!ve(ae.showToolBar)&&!ve(ae.showMenuBar)&&!ve(ae.showAlgebraInput)&&!ve(ae.enableRightClick)&&(!ae.appName||ae.appName=="classic")?Yt+="webSimple/":Yt+="web3d/",ot(Yt,!1)},ot=function(Je,ft){if(Je.requirejs){ke=Je;return}Je.slice(-1)!=="/"&&(Je+="/"),ke=Je,ft===null&&(ft=Je.indexOf("http")===-1),je=ft,E="web.nocache.js",a=!1;var Dt=ke.split("/");Dt.length>1&&(!ft&&Dt[Dt.length-2]==="webSimple"?(E="webSimple.nocache.js",a=!0):Ye.indexOf(Dt[Dt.length-2])>=0&&(E=Dt[Dt.length-2]+".nocache.js")),Dt=Je.split("/"),le=Dt[Dt.length-3],le.substr(0,4)==="test"?le=le.substr(4,1)+"."+le.substr(5,1):(le.substr(0,3)==="war"||le.substr(0,4)==="beta")&&(le="5.0");var ln=parseFloat(le);ln!==NaN&&ln<5&&Je.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+ln+" is deprecated. Using version latest instead."),Kt("5.0",ft))},Ht=function(Je,ft){window.console&&window.console.log&&(!ft||typeof ft.showLogging=="undefined"||ft.showLogging&&ft.showLogging!=="false")&&console.log(Je)};ae.material_id!==void 0?ge(en):en();function en(){var Je=Rt;Re!==null?Je=Re:parseFloat(Je)<5&&(Je="5.0"),Kt(Je,!1),ue!==null&&ot(ue,je),Ie=!0}return _t},GGBAppletUtils=function(){"use strict";function _t(){return window.GGBT_wsf_edit!==void 0}function Rt(Ie,Re){Re!=1?(Ie.style.transformOrigin="0% 0% 0px",Ie.style.webkitTransformOrigin="0% 0% 0px",Ie.style.transform="scale("+Re+","+Re+")",Ie.style.webkitTransform="scale("+Re+","+Re+")",Ie.style.maxWidth="initial",Ie.querySelector(".ggb_preview")!==null&&(Ie.querySelector(".ggb_preview").style.maxWidth="initial"),Ie.querySelectorAll(".ggb_preview img")[0]!==void 0&&(Ie.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),Ie.querySelectorAll(".ggb_preview img")[1]!==void 0&&(Ie.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(Ie.style.transform="none",Ie.style.webkitTransform="none")}function ae(Ie,Re,ue,Ze,We,Te){var ke=null;if(Te!=null&&Te!="")for(var je=Ie.parentNode;je!=null;)if((" "+je.className+" ").indexOf(" "+Te+" ")>-1){ke=je;break}else je=je.parentNode;var De=0,le=0,E=0,a=0,x=0,y=0,z=0;if(ke)De=ke.offsetWidth,le=Math.max(Ze?ke.offsetWidth:0,ke.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(De=Math.min(window.innerWidth,document.documentElement.clientWidth),le=Math.min(window.innerHeight,document.documentElement.clientHeight),E=De):(De=window.innerWidth,le=window.innerHeight,E=window.innerWidth),Ie){var te=Ie.getBoundingClientRect();te.left>0&&te.left<=De&&(We===void 0||!We)&&(document.dir==="rtl"?(x=De-te.width-te.left,y=E<=480?10:30):(y=te.left,x=E<=480?10:30),a=y+x)}if(Ie&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var re=Ie.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(a=40,z=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(a=0,z=40)}}return Ie&&((ue===void 0||!ue)&&Re>0&&Re+a<De?De=Re:De-=a,typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(ue===void 0||!ue)&&(le-=z)),{width:De,height:le}}function b(Ie,Re,ue,Ze,We){if(Ie.isScreenshoGenerator)return 1;var Te=Ze!==void 0&&Ze,ke=Ie.noScaleMargin!=null&&Ie.noScaleMargin,je=function(re){return re&&re!=="false"},De=je(Ie.autoHeight),le=ae(Re,Ie.width,ue,De,Te&&window.GGBT_wsf_view||ke,We),E=parseInt(le.width),a=Ie.width,x=Ie.height;if(a===void 0){var y=Re.querySelector(".appletParameters");y&&(a=y.offsetWidth,x=y.offsetHeight)}var z=E/a,te=Te?1:le.height/x;return ue!==void 0&&!ue&&(z=Math.min(1,z),te=Math.min(1,te)),Math.min(z,te)}function se(Ie,Re,ue){var Ze=1,We,Te=!1;if(Ie.hasOwnProperty("allowUpscale")&&(Te=Ie.allowUpscale),Ie.hasOwnProperty("scale")&&(Ze=parseFloat(Ie.scale),(isNaN(Ze)||Ze===null||Ze===0)&&(Ze=1),Ze>1&&(Te=!0)),Re&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(Te=!0),!(Ie.hasOwnProperty("disableAutoScale")&&Ie.disableAutoScale))We=b(Ie,Re,Te,ue,Ie.scaleContainerClass);else return Ze;return Te&&(!Ie.hasOwnProperty("scale")||Ze===1)?We:Math.min(Ze,We)}function be(Ie){var Re=Math.min(window.innerWidth,document.documentElement.clientWidth),ue=Math.min(window.innerHeight,document.documentElement.clientHeight),Ze=Ie.getBoundingClientRect(),We=(Re-Ze.width)/2,Te=(ue-Ze.height)/2;Te<0&&(Te=0),Ie.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(We<40?Ie.style.left="40px":Ie.style.left=We+"px",Ie.style.top=Te+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(Te<40?Ie.style.top="40px":Ie.style.top=Te+"px",Ie.style.left=We+"px")}function Ae(Ie,Re){var ue=Ie.querySelector(".appletParameters");if(ue){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(Re.id!==ue.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(Ie)}if(ue.parentElement&&/fullscreen/.test(ue.parentElement.className))return;var Ze=se(Re,Ie);_t()&&ue.setAttribute("data-param-scale",Ze);for(var We=null,Te=0;Te<Ie.childNodes.length;Te++)if(Ie.childNodes[Te].className!==void 0&&Ie.childNodes[Te].className.match(/^applet_scaler/)){We=Ie.childNodes[Te];break}if(We!==null&&We.querySelector(".noscale")!==null)return;var ke=Re.id!==void 0?Re.id:"ggbApplet",je=window[ke];(je==null||!je.recalculateEnvironments)&&We!==null&&!We.className.match(/fullscreen/)&&(We.parentNode.style.transform="",!isNaN(Ze)&&Ze!==1?(We.parentNode.style.width=Re.width*Ze+"px",We.parentNode.style.height=Re.height*Ze+"px",Rt(We,Ze)):(Rt(We,1),We.parentNode.style.width=Re.width+"px",We.parentNode.style.height=Re.height+"px")),typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&be(Ie),window.GGBT_wsf_view&&!window.GGBT_wsf_view.isFullscreen()&&window.GGBT_wsf_general.adjustContentToResize($(ue).parents(".content-added-content"))}}return{responsiveResize:Ae,isFlexibleWorksheetEditor:_t,positionCenter:be,getScale:se,scaleElement:Rt}}();__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 _t=n.location.search;return _t.indexOf(J)!=-1||_t.indexOf(K)!=-1}function q(_t,Rt){}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(_t){var Rt=s[L].bindings;s[L].bindings=function(){for(var ae=Rt?Rt():{},b=_t[webModule.__softPermutationId],se=O;se<b.length;se++){var be=b[se];ae[be[O]]=be[P]}return ae}};var t;function u(){return v(),t}function v(){if(!t){var _t=o.createElement(Q);if(_t.id=L,_t.style.cssText=R+S,_t.tabIndex=-1,o.body.appendChild(_t),t=_t.contentWindow.document,navigator.userAgent.indexOf(T)==-1){t.open();var Rt=document.compatMode==U?V:W;t.write(Rt+X),t.close()}}}function w(_t){function Rt(b){function se(){return typeof o.readyState==Y?typeof o.body!=Y&&o.body!=null:/loaded|complete/.test(o.readyState)}var be=se();if(be){b();return}function Ae(){if(!be){if(!se())return;be=!0,b(),o.removeEventListener&&o.removeEventListener(Z,Ae,!1),Ie&&clearInterval(Ie)}}o.addEventListener&&o.addEventListener(Z,Ae,!1);var Ie=setInterval(function(){Ae()},$)}function ae(b){var se=u(),be=se.body,Ae=se.createElement(_);Ae.language=ab,Ae.crossOrigin=W,Ae.src=b,webModule.__errFn&&(Ae.onerror=function(){webModule.__errFn(L,new Error(bb+b))}),be.appendChild(Ae)}Rt(function(){ae(_t)})}webModule.__startLoadingFragment=function(_t){return C(_t)},webModule.__installRunAsyncCode=function(_t){var Rt=u(),ae=Rt.body,b=Rt.createElement(_);b.language=ab,b.text=_t,ae.appendChild(b),ae.removeChild(b)};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(_t){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(_t){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(_t){var Rt=c[_t];return Rt==null?null:Rt},r=d,webModule.__errFn=e}function B(){function _t(Ie){var Re=Ie.lastIndexOf(rb);Re==-1&&(Re=Ie.length);var ue=Ie.indexOf(sb);ue==-1&&(ue=Ie.length);var Ze=Ie.lastIndexOf(tb,Math.min(ue,Re));return Ze>=O?Ie.substring(O,Ze+P):W}function Rt(Ie){if(!Ie.match(/^\w+:\/\//)){var Re=o.createElement(ub);Re.src=Ie+vb,Ie=_t(Re.src)}return Ie}function ae(){var Ie=__gwt_getMetaProperty(wb);return Ie!=null?Ie:W}function b(){for(var Ie=o.getElementsByTagName(_),Re=O;Re<Ie.length;++Re)if(Ie[Re].src.indexOf(xb)!=-1)return _t(Ie[Re].src);return W}function se(){var Ie=o.getElementsByTagName(yb);return Ie.length>O?Ie[Ie.length-P].href:W}function be(){var Ie=o.location;return Ie.href==Ie.protocol+zb+Ie.host+Ie.pathname+Ie.search+Ie.hash}var Ae=ae();return Ae==W&&(Ae=b()),Ae==W&&(Ae=se()),Ae==W&&be()&&(Ae=_t(o.location.href)),Ae=Rt(Ae),Ae}function C(_t){return _t.match(/^\//)||_t.match(/^[a-zA-Z]+:\/\//)?_t:webModule.__moduleBase+_t}function D(){var _t=[],Rt=O,ae=[],b=[];function se(Ie){var Re=b[Ie](),ue=ae[Ie];if(Re in ue)return Re;var Ze=[];for(var We in ue)Ze[ue[We]]=We;throw r&&r(Ie,Ze,Re),null}if(__gwt_isKnownPropertyValue=function(Ie,Re){return Re in ae[Ie]},webModule.__getPropMap=function(){var Ie={};for(var Re in ae)ae.hasOwnProperty(Re)&&(Ie[Re]=se(Re));return Ie},webModule.__computePropValue=se,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var be;try{be=Cb;var Ae=be.indexOf(Db);Ae!=-1&&(Rt=parseInt(be.substring(Ae+P),$),be=be.substring(O,Ae))}catch(Ie){}return webModule.__softPermutationId=Rt,C(be+Eb)}function F(){n.__gwt_stylesLoaded||(n.__gwt_stylesLoaded={})}A(),webModule.__moduleBase=window.ENV==="build"?"/react/build/js/mathematicalGraphics/"+name+"/":"/js/mathematicalGraphics/"+name+"/",s[L].moduleBase=webModule.__moduleBase;var G=D();return F(),w(G),!0}return webModule},typeof window.web3d!="function"&&(window.web3d=GGBAppletUtils.makeModule("web3d","A18F540516513B1292CA7CEF2F6AFC7E")),typeof window.webSimple!="function"&&(window.webSimple=GGBAppletUtils.makeModule("webSimple","96B09BF1B436BF53F0DF54116700F16A")),window.GGBApplet=GGBApplet})()},46699:function(_t,Rt,ae){"use strict";ae.d(Rt,{Ax:function(){return Ae},Ds:function(){return Ie},KI:function(){return ue},SI:function(){return be},f1:function(){return se}});var b=ae(346);function se(Ze){let We=!0;if(Ze.length>0){for(let Te=0;Te<Ze.length;Te++)if(Ze[Te].compile_success==0||!Ze[Te].compile_success){We=!1;break}}else We=!1;return We}function be(Ze,We=""){let Te=[];for(let ke=0;ke<Ze.length;ke++){let je=Ze[ke],De=We?`${We}/${je.name}`:`${je.name}`;Te.push({title:je.name,type:je.type,isLeaf:je.type!=="tree",key:De})}return Te}function Ae(Ze,We,Te){for(let ke=0;ke<Ze.length;ke++){let je=Ze[ke];if(je.key===We){je.children=Te;break}je.children&&Ae(je.children,We,Te)}return Ze}function Ie(Ze,We,Te){let ke;return function(){let je=this,De=arguments,le=function(){ke=null,Te||Ze.apply(je,De)},E=Te&&!ke;clearTimeout(ke),ke=setTimeout(le,We),E&&Ze.apply(je,De)}}const Re=!0,ue=b.Z.API_SERVER},84842:function(_t,Rt,ae){"use strict";ae.d(Rt,{Z:function(){return le}});var b=ae(3113),se=ae(59301),be=Object.defineProperty,Ae=Object.defineProperties,Ie=Object.getOwnPropertyDescriptors,Re=Object.getOwnPropertySymbols,ue=Object.prototype.hasOwnProperty,Ze=Object.prototype.propertyIsEnumerable,We=(E,a,x)=>a in E?be(E,a,{enumerable:!0,configurable:!0,writable:!0,value:x}):E[a]=x,Te=(E,a)=>{for(var x in a||(a={}))ue.call(a,x)&&We(E,x,a[x]);if(Re)for(var x of Re(a))Ze.call(a,x)&&We(E,x,a[x]);return E},ke=(E,a)=>Ae(E,Ie(a)),je=(E,a)=>{var x={};for(var y in E)ue.call(E,y)&&a.indexOf(y)<0&&(x[y]=E[y]);if(E!=null&&Re)for(var y of Re(E))a.indexOf(y)<0&&Ze.call(E,y)&&(x[y]=E[y]);return x},De=(E,a,x)=>new Promise((y,z)=>{var te=ce=>{try{ie(x.next(ce))}catch(pe){z(pe)}},re=ce=>{try{ie(x.throw(ce))}catch(pe){z(pe)}},ie=ce=>ce.done?y(ce.value):Promise.resolve(ce.value).then(te,re);ie((x=x.apply(E,a)).next())});const le=E=>{var a=E,{children:x}=a,y=je(a,["children"]);const[z,te]=(0,se.useState)(!1);return se.createElement(b.ZP,ke(Te({},y),{loading:z,onClick:re=>De(void 0,null,function*(){try{te(!0),yield y.onClick(re),te(!1)}catch(ie){console.error(ie),te(!1)}})}),x)}},54650:function(_t,Rt,ae){"use strict";ae.d(Rt,{Z:function(){return De}});var b=ae(59301),se=ae(8591),be=ae(92832),Ae={codeBox:"codeBox___WpkVl"},Ie=ae(92310),Re=ae.n(Ie),ue=Object.defineProperty,Ze=(le,E,a)=>E in le?ue(le,E,{enumerable:!0,configurable:!0,writable:!0,value:a}):le[E]=a,We=(le,E,a)=>Ze(le,typeof E!="symbol"?E+"":E,a),Te=(le,E,a)=>new Promise((x,y)=>{var z=ie=>{try{re(a.next(ie))}catch(ce){y(ce)}},te=ie=>{try{re(a.throw(ie))}catch(ce){y(ce)}},re=ie=>ie.done?x(ie.value):Promise.resolve(ie.value).then(z,te);re((a=a.apply(le,E)).next())});class ke extends b.Component{constructor(E){super(E),We(this,"canvas"),We(this,"randomNum",(a,x)=>Math.floor(Math.random()*(x-a)+a)),We(this,"drawPic",()=>{this.randomCode()}),We(this,"reloadPic",()=>{this.drawPic()}),We(this,"changeCode",a=>{console.log(a.target.value,222),this.setState({value:a.target.value,showError:!1})}),We(this,"onVerify",()=>{let a;return this.state.value.toLowerCase()!==""&&this.state.value.toLowerCase()!==this.state.code.toLowerCase()?(a=!0,se.ZP.error("\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u9A8C\u8BC1\u7801"),this.reloadPic()):this.state.value.toLowerCase()===""?(a=!0,se.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=b.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 x=this.randomNum(E,a),y=this.randomNum(E,a),z=this.randomNum(E,a);return`rgb(${x}, ${y}, ${z})`}drawText(E,a,x){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 z=10,te=(this.state.contentWidth-40)/(this.state.code.length-1);let re=z;x>0&&(re=z+x*te);let ie=this.randomNum(this.state.fontSizeMax,this.state.contentHeight-5);y>40&&(ie=40);const ce=this.randomNum(-10,10);E.translate(re,ie),E.rotate(ce*Math.PI/180),E.fillText(a,0,0),E.rotate(-ce*Math.PI/180),E.translate(-re,-ie)}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 x=0;x<this.state.codeLength;x++){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 z=0;z<this.state.code.length;z++)this.drawText(y,this.state.code[z],z);this.drawLine(y),this.drawDot(y)})}render(){const{className:E,width:a=300}=this.props;return b.createElement("div",{className:Re()(Ae.codeBox,E),style:{width:a}},b.createElement("aside",null,b.createElement(be.default,{value:this.state.value,onChange:this.changeCode,placeholder:"\u8BF7\u8F93\u5165\u56FE\u7247\u4E2D\u7684\u9A8C\u8BC1\u7801"})),b.createElement("div",null,b.createElement("canvas",{onClick:this.reloadPic,ref:this.canvas,width:"100",height:"30"}),b.createElement("div",{className:"current",onClick:this.reloadPic},"\u770B\u4E0D\u6E05\uFF1F\u6362\u4E00\u5F20")))}}const je=(le,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(ke,{ref:x=>a=x})),onOk:()=>Te(void 0,null,function*(){if(a.onVerify())return Promise.reject();le()})})};var De=ke},30371:function(_t,Rt,ae){"use strict";ae.d(Rt,{Z:function(){return We}});var b=ae(59301),se=ae(92832),be=ae(12563),Ae=ae(8591),Ie={flex:"flex___eLcnP",flex1:"flex1___yUTT7",color666:"color666___TiUhG",error:"error___gTTtv",deleteIcon:"deleteIcon___mnZW1",addIcon:"addIcon___JC5NS"},Re=ae(62772);const{TextArea:ue}=se.default;class Ze extends b.Component{constructor(ke){super(ke),this.state={inputVisible:!1,EditInputIndex:-1}}render(){let{index:ke,onAnswerChange:je,addChildAnswer:De,exerciseIsPublish:le,answers:E,activeOptionErrorIndex:a,flex:x="0 0 1000px"}=this.props;console.log("----",E);let{inputVisible:y,EditInputIndex:z}=this.state;return b.createElement("div",{className:Ie.flex},b.createElement("div",{className:`${Ie.color666} mb5 mt6`,style:{flex:"0 0 90px"}},"\u7B54\u6848(\u586B\u7A7A",ke+1,"):"),b.createElement("div",{style:{border:"1px solid #f6f6f6",flex:1,padding:10}},E==null?void 0:E.map((te,re)=>b.createElement(b.Fragment,null,z!==re?(te==null?void 0:te.length)>0?b.createElement(be.default,{className:"edit-tag",key:te,closable:!((E==null?void 0:E.length)===1&&re===0),onClose:ie=>{ie.preventDefault(),(E==null?void 0:E.length)===1&&re===0?this.props.deleteChildAnswermain(ke,re):this.props.deleteChildAnswer(ke,re)}},b.createElement("span",{onDoubleClick:ie=>{this.setState({EditInputIndex:re}),ie.preventDefault()}},te)):b.createElement(se.default,{defaultValue:te,style:{width:78,marginRight:8,height:24,verticalAlign:"top"},onBlur:ie=>{if(ie.target.value.replaceAll(" ","").length<=0){Ae.ZP.info("\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7EAF\u7A7A\u683C");return}je(ke,re,ie.target.value),this.setState({EditInputIndex:-1,inputVisible:!1})}}):b.createElement(se.default,{defaultValue:te,style:{width:78,marginRight:8,height:24,verticalAlign:"top"},onBlur:ie=>{if(ie.target.value.replaceAll(" ","").length<=0){Ae.ZP.info("\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7EAF\u7A7A\u683C");return}je(ke,re,ie.target.value),this.setState({EditInputIndex:-1,inputVisible:!1})}}))),!y&&b.createElement(be.default,{className:"site-tag-plus",onClick:()=>{De(ke),this.setState({inputVisible:!0})}},b.createElement(Re.Z,null)," \u65B0\u589E\u7B54\u6848")))}}var We=Ze},61011:function(_t,Rt,ae){"use strict";ae.d(Rt,{Z:function(){return le}});var b=ae(59301),se=ae(39793),be=Object.defineProperty,Ae=Object.defineProperties,Ie=Object.getOwnPropertyDescriptors,Re=Object.getOwnPropertySymbols,ue=Object.prototype.hasOwnProperty,Ze=Object.prototype.propertyIsEnumerable,We=(E,a,x)=>a in E?be(E,a,{enumerable:!0,configurable:!0,writable:!0,value:x}):E[a]=x,Te=(E,a)=>{for(var x in a||(a={}))ue.call(a,x)&&We(E,x,a[x]);if(Re)for(var x of Re(a))Ze.call(a,x)&&We(E,x,a[x]);return E},ke=(E,a)=>Ae(E,Ie(a)),je=(E,a,x)=>We(E,typeof a!="symbol"?a+"":a,x);const De="\u2581";class le extends b.Component{constructor(){super(...arguments),je(this,"getChCountBeforeCursor",(a,x)=>{const y=x.line;let z=0;for(let re=0;re<y;re++)z+=a.getLine(re).split(De).length-1;const te=a.getLine(y).substring(0,x.ch);return z+=te.split(De).length-1,z}),je(this,"onCMBeforeChange",(a,x)=>{const y=a.getRange(x.from,x.to);let z=0;if(x.text.forEach(te=>{z+=te.split(De).length-1}),y&&y.indexOf(De)!=-1){const te=y.split(De).length-1,re=this.getChCountBeforeCursor(a,x.from);console.log(`\u5220\u9664${te}\u4E2A\uFF0C \u4E4B\u524D\u6709${re}\u4E2A\uFF0C\u65B0\u589E${z}\u4E2A`),this.props.deleteEmptyDisabled?x.cancel():this.props.onPlaceholderChange&&this.props.onPlaceholderChange(re,te,z)}else if(z){const te=this.getChCountBeforeCursor(a,x.from);console.log(`\u65B0\u589E${z}\u4E2A\uFF0C\u4E4B\u524D\u6709${te}\u4E2A`),this.props.onPlaceholderChange&&this.props.onPlaceholderChange(te,0,z)}})}render(){return b.createElement(se.Z,ke(Te({},this.props),{onCMBeforeChange:this.onCMBeforeChange}))}}},81868:function(_t,Rt,ae){"use strict";ae.d(Rt,{d4:function(){return De},VP:function(){return We}});var b=ae(59301),se={digitalLabel:"digitalLabel___hkWuZ",active:"active___jawU1",titleEditor:"titleEditor___wX1lW",title:"title___SuT2h",editIcon:"editIcon___XrTIi",paperTab:"paperTab___GUxeB",tabItem:"tabItem___or0fY",dottedLine:"dottedLine___Ln0Xr"};const be=({number:le,active:E,className:a})=>b.createElement("div",{className:`${se.digitalLabel} ${E?se.active:""} ${a}`},le);var Ae=ae(6848),Ie=ae(92832),Re=ae(8591),ue=ae(59301),Ze=(le,E,a)=>new Promise((x,y)=>{var z=ie=>{try{re(a.next(ie))}catch(ce){y(ce)}},te=ie=>{try{re(a.throw(ie))}catch(ce){y(ce)}},re=ie=>ie.done?x(ie.value):Promise.resolve(ie.value).then(z,te);re((a=a.apply(le,E)).next())});const We=({defaultValue:le,onFinish:E})=>{const[a,x]=(0,b.useState)(!1),[y,z]=(0,b.useState)(le);return(0,b.useEffect)(()=>{z(le)},[le]),ue.createElement("div",{className:se.titleEditor},a?ue.createElement(Ie.default,{autoFocus:!0,maxLength:60,style:{textAlign:"center",marginTop:20,marginBottom:20},value:y,onChange:te=>{z(te.target.value)},onBlur:()=>Ze(void 0,null,function*(){var te;if(((te=y==null?void 0:y.replaceAll(" ",""))==null?void 0:te.length)<=0){Re.ZP.error("\u8BD5\u5377\u6807\u9898\u4E0D\u80FD\u4E3A\u7A7A");return}(yield E(y))&&x(!1)}),onPressEnter:()=>Ze(void 0,null,function*(){var te;if(((te=y==null?void 0:y.replaceAll(" ",""))==null?void 0:te.length)<=0){Re.ZP.error("\u8BD5\u5377\u6807\u9898\u4E0D\u80FD\u4E3A\u7A7A");return}(yield E(y))&&x(!1)})}):ue.createElement("div",{className:se.title,onDoubleClick:()=>x(!0)},y,ue.createElement(Ae.Z,{title:"\u7F16\u8F91\u8BD5\u5377\u540D\u79F0"},ue.createElement("i",{className:`${se.editIcon} iconfont icon-bianji_Hover`,onClick:()=>x(!0)}))))};var Te=ae(95237),ke=ae(43604),je=(le,E,a)=>new Promise((x,y)=>{var z=ie=>{try{re(a.next(ie))}catch(ce){y(ce)}},te=ie=>{try{re(a.throw(ie))}catch(ce){y(ce)}},re=ie=>ie.done?x(ie.value):Promise.resolve(ie.value).then(z,te);re((a=a.apply(le,E)).next())});const De=({onChange:le=()=>je(void 0,null,function*(){}),tabs:E,activeKey:a,defaultActiveKey:x,className:y=""})=>{var z,te,re,ie,ce,pe,ge;const[ye,Ee]=(0,b.useState)(x===void 0?(z=E[0])==null?void 0:z.key:x);return(0,b.useEffect)(()=>{a!==void 0&&Ee(a)},[a]),b.createElement(Te.Z,{justify:"center",align:"middle",className:`${se.paperTab} ${y}`},b.createElement(ke.Z,{className:`${se.tabItem} ${ye===((te=E[0])==null?void 0:te.key)?se.active:""}`,onClick:()=>je(void 0,null,function*(){var Le;yield le(E[0].key),Ee((Le=E[0])==null?void 0:Le.key)})},b.createElement(be,{number:1,active:ye===((re=E[0])==null?void 0:re.key),className:"mr10"}),b.createElement("span",null,(ie=E[0])==null?void 0:ie.label)),b.createElement(ke.Z,{flex:"188px",className:`${se.dottedLine} ml30 mr30`}),b.createElement(ke.Z,{className:`${se.tabItem} ${ye===((ce=E[1])==null?void 0:ce.key)?se.active:""}`,onClick:()=>je(void 0,null,function*(){var Le,ve;yield le((Le=E[1])==null?void 0:Le.key),Ee((ve=E[1])==null?void 0:ve.key)})},b.createElement(be,{number:2,active:ye===((pe=E[1])==null?void 0:pe.key),className:"mr10"}),b.createElement("span",null,(ge=E[1])==null?void 0:ge.label)))}},94361:function(_t,Rt,ae){"use strict";ae.d(Rt,{Z:function(){return Re}});var b=ae(60324),se={text:"text___FxbAX",wrap:"wrap___UlBQ1",contact:"contact____pUDq",img:"img___BapAv"},be=ae(32637),Ae=ae(59301),Re=({type:ue,style:Ze})=>{const We=Ae.createElement("div",{className:se.wrap,onClick:Te=>{Te.preventDefault(),Te.stopPropagation()}},Ae.createElement("p",null,ue==="shixun"||ue==="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",Ae.createElement("br",null),"\u6839\u636E\u5E73\u53F0\u4F7F\u7528\u89C4\u5219\uFF0C\u9700\u8981\u6388\u6743\u624D\u80FD\u4F7F\u7528\u3002",ue==="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"),Ae.createElement("div",{className:se.contact},Ae.createElement("div",{className:se.img},Ae.createElement("img",{src:be,width:"124px",height:"124px"})),Ae.createElement("div",{className:"tc font14 mt10",style:{color:"#777A93"}},"\u626B\u4E00\u626B\uFF0C\u83B7\u53D6\u6388\u6743\u7801")));return Ae.createElement(b.Z,{content:We},Ae.createElement("span",{className:se.text,style:Ze},"\u9AD8\u6D88\u8017"))}},9507:function(_t,Rt,ae){"use strict";ae.d(Rt,{Z:function(){return ke}});var b=ae(59301),se={imageDimensions:"imageDimensions___a7crR",img:"img___Kroat",fullWidth:"fullWidth___c492T"},be=ae(92310),Ae=ae.n(be),Ie=ae(71418),Re=ae(2859),ue=ae(38986),Ze=ae(51257),We=(je,De,le)=>new Promise((E,a)=>{var x=te=>{try{z(le.next(te))}catch(re){a(re)}},y=te=>{try{z(le.throw(te))}catch(re){a(re)}},z=te=>te.done?E(te.value):Promise.resolve(te.value).then(x,y);z((le=le.apply(je,De)).next())}),ke=({data:je,className:De,fullWidth:le,style:E={},onClose:a,onOk:x,showFullTools:y,noAssociationId:z})=>{const te=(0,b.useRef)(null),re=(0,b.useRef)(null),ie=(0,b.useRef)(null),ce=(0,b.useRef)(null),[pe,ge]=(0,b.useState)(!1),[ye,Ee]=(0,b.useState)("\u6B63\u5728\u52A0\u8F7D\u4E2D");(0,b.useEffect)(()=>{ie.current||(ie.current=document.createElement("style"),document.head.appendChild(ie.current)),je!=null&&je.visible?(document.body.setAttribute("data-custom","y-hidden"),ie.current.innerHTML=" html { overflow-y: hidden; }",je!=null&&je.src&&Le()):(document.body.removeAttribute("data-custom"),ie.current&&(document.head.removeChild(ie.current),ie.current=null))},[je==null?void 0:je.visible]);const Le=()=>We(void 0,null,function*(){ge(!0),Ee("\u6B63\u5728\u52A0\u8F7D\u4E2D");const Ne=yield(0,Ze.ZJ)(je==null?void 0:je.src);te.current.src="",te.current.src=Ne,te.current.onload=function(){it()},ge(!1),Ee("")}),ve=()=>{document.body.removeAttribute("data-custom"),ie.current.innerHTML=" ",a()},$e=Ne=>We(void 0,null,function*(){ge(!0),Ee("\u6B63\u5728\u4FDD\u5B58\u4E2D");const Qe=yield(0,ue.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:je.title,file:Ne.dataUrl}});Qe!=null&&Qe.id&&!z?(yield(0,ue.ZP)(`/api/attachments/${je.id}/add_subitem.json`,{method:"post",body:{subitem_id:Qe==null?void 0:Qe.id,settings:JSON.stringify(Ne.state)}})).status===0&&x():Qe!=null&&Qe.id&&x(Qe),document.body.removeAttribute("data-custom"),ie.current.innerHTML=" ",ge(!1),Ee("")}),He=()=>{const Ne=document.querySelector('a[href="https://markerjs.com/"]');Ne&&Ne.parentNode&&(Ne.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 Ke=document.querySelector(lt.name);Ke&&Ke.setAttribute("title",lt.title)})},it=()=>{re.current=new Re.hP(te.current),re.current.targetRoot=ce.current,re.current.addEventListener("render",$e),re.current.addEventListener("beforeclose",ve),y&&(re.current.availableMarkerTypes=re.current.ALL_MARKER_TYPES,re.current.uiStyleSettings.redoButtonVisible=!0,re.current.uiStyleSettings.notesButtonVisible=!0,re.current.uiStyleSettings.zoomButtonVisible=!0,re.current.uiStyleSettings.zoomOutButtonVisible=!0,re.current.uiStyleSettings.clearButtonVisible=!0),window.markerArea=re.current.uiStyleSettings,re.current.show(),je!=null&&je.snapshotData&&re.current.restoreState(je.snapshotData),setTimeout(()=>{window.scrollTo(0,0),He()},300)};return b.createElement(b.Fragment,null,(je==null?void 0:je.visible)&&b.createElement(Ie.Z,{spinning:pe,tip:ye,style:{position:"absolute"}},b.createElement("div",{ref:ce,className:Ae()(se.imageDimensions,De,le?se.fullWidth:""),style:E},b.createElement("img",{className:se.img,ref:te}))))}},19105:function(_t,Rt,ae){"use strict";var b=ae(59301),se=ae(99587),be=ae(48136),Ae=ae(76562),Ie=ae(43418),Re=ae(59301);const ue=(0,b.forwardRef)(({callback:Ze,width:We,onChange:Te,disabled:ke,readOnly:je,type:De="",value:le="",style:E={}},a)=>{const x=(0,b.useRef)(),y=(0,b.useRef)(),[z,te]=(0,b.useState)(0),[re,ie]=(0,b.useState)(0),[ce,pe]=(0,b.useState)(!1),ge=()=>{var ve=document.createElement("div");ve.innerHTML=x.current.getValue();var $e=ve.innerText;return Ze&&Ze($e),$e};(0,b.useImperativeHandle)(a,()=>({getData:ge}));const ye=ve=>{ve.preventDefault();const $e=ve.clientX-z,He=ve.clientY-re;document.body.onmousemove=it=>{let Ne=it.clientX-$e,Qe=it.clientY-He;const lt=document.getElementsByClassName("markdown-popup-form")[0],Ke=window.innerWidth-lt.offsetWidth,Ye=window.innerHeight-lt.offsetHeight;Ne=Math.max(0,Math.min(Ne,Ke)),Qe=Math.max(0,Math.min(Qe,Ye)),Ee(it.clientX,it.clientY,$e,He)&&(te(Ne),ie(Qe))},document.body.onmouseup=function(){document.body.onmousemove=null}},Ee=(ve,$e,He,it)=>{const Ne=document.body.clientHeight,Qe=document.body.clientWidth;return ve<20&&He>ve||ve>Qe-20&&He<ve||$e<20&&it>$e||$e>Ne-20&&it<$e?(document.body.onmousemove=null,document.body.onmouseup=null,!1):!0};(0,b.useEffect)(()=>{ce&&setTimeout(()=>{const ve=document.getElementsByClassName("markdown-popup-form")[0],$e=window.innerWidth/2-ve.offsetWidth/2,He=window.innerHeight/2-ve.offsetHeight/2;te($e),ie(He)},0)},[ce]);const Le=()=>{ke||je||pe(!0)};return Re.createElement("div",{style:E},Re.createElement("div",{style:{width:We||"100%",position:"relative"},className:`${se.Z.mathFillWrap} ${ke||je?"cursorDefault":""}`,onClick:()=>Le()},Re.createElement("math-field",{disabled:ke,locale:"zh_cn",class:`${se.Z.mathField} ${De}`,readOnly:je,placeholder:"\u8BF7\u8F93\u5165\u516C\u5F0F",ref:x,style:{width:"100%",fontSize:le?18:14},value:le||""})),Re.createElement(Ie.default,{maskClosable:!1,centered:!0,width:860,style:{position:"absolute",left:z,top:re},title:Re.createElement("div",{style:{cursor:"move"},onMouseDown:ye},"\u8F93\u5165\u516C\u5F0F"),open:ce,onOk:()=>{const ve=y.current.getData();x.current.setValue(ve),Te(ve),pe(!1)},onCancel:()=>{pe(!1)},destroyOnClose:!0,className:"markdown-popup-form"},Re.createElement(Ae.Z,{value:le,ref:y,onChange:Te,showSaveButton:!1})))});Rt.Z=ue},76562:function(_t,Rt,ae){"use strict";var b=ae(59301),se=ae(95237),be=ae(43604),Ae=ae(99313),Ie=ae(3113),Re=ae(91842),ue=ae(99587),Ze=ae(48136),We=ae(59301);const Te=(0,b.forwardRef)(({callback:ke,showSaveButton:je,value:De=""},le)=>{const E=(0,b.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 "}]}]}],x=[{name:"\u4EE3\u6570",value:"\\sqrt{a^2+b^2}",children:[{data:[{value:"\\left(x-1\\right)\\left(x+3\\right) "},{value:"\\sqrt{a^2+b^2}"},{value:"\\left ( \\frac{a}{b}\\right )^{n}= \\frac{a^{n}}{b^{n}}"},{value:"\\frac{a}{b}\\pm \\frac{c}{d}= \\frac{ad \\pm bc}{bd} "},{value:"\\frac{x^{2}}{a^{2}}-\\frac{y^{2}}{b^{2}}=1 "},{value:"\\frac{1}{\\sqrt{a}}=\\frac{\\sqrt{a}}{a},a\\ge 0\\frac{1}{\\sqrt{a}}=\\frac{\\sqrt{a}}{a},a\\ge 0 "},{value:"\\sqrt[n]{a^{n}}=\\left ( \\sqrt[n]{a}\\right )^{n} "},{value:"x ={-b \\pm \\sqrt{b^2-4ac}\\over 2a} "},{value:"y-y_{1}=k \\left( x-x_{1}\\right) "},{value:`\\left\\{\\begin{matrix} \r
x=a + r\\text{cos}\\theta \\ \r
y=b + r\\text{sin}\\theta \r
\\end{matrix}\\right. `},{value:`\\begin{array}{l} \r
\\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=re=>{E.current.setValue(E.current.getValue()+" "+re.value+" ")},z=[{key:"1",label:"\u5FEB\u6377\u6A21\u677F",children:We.createElement(se.Z,{className:ue.Z.lists,gutter:[10,10]},a.map((re,ie)=>We.createElement(be.Z,{flex:"110px",className:ue.Z.item},We.createElement("div",null,We.createElement(Re.Z,{value:`$$${re.value}$$`}),re.name),We.createElement("div",{className:ue.Z.children},re.children.map((ce,pe)=>We.createElement("div",{key:pe},We.createElement("h1",null,ce.name),We.createElement(se.Z,{gutter:[10,10]},ce.data.map((ge,ye)=>We.createElement(be.Z,{key:ye,onClick:()=>y(ge),className:ue.Z.diamond},We.createElement(Re.Z,{value:"`$$"+ge.value+"$$`"}))))))))))},{key:"2",label:"\u516C\u5F0F\u6A21\u677F",children:We.createElement(se.Z,{className:ue.Z.lists,gutter:[10,10]},x.map((re,ie)=>We.createElement(be.Z,{flex:"110px",className:ue.Z.item},We.createElement("div",null,We.createElement(Re.Z,{value:"`$$"+re.value+"$$`"}),re.name),We.createElement("div",{className:ue.Z.children},re.children.map((ce,pe)=>We.createElement("div",{key:pe},ce.name&&We.createElement("h1",null,ce.name),We.createElement(se.Z,{gutter:[10,10]},ce.data.map((ge,ye)=>We.createElement(be.Z,{key:ye,onClick:()=>y(ge),className:ue.Z.diamond},We.createElement(Re.Z,{value:"`$$"+ge.value+"$$`"}))))))))))}],te=()=>{var re=document.createElement("div");re.innerHTML=E.current.getValue();var ie=re.innerText;return ke&&ke(ie),ie};return(0,b.useImperativeHandle)(le,()=>({getData:te})),We.createElement("div",{className:ue.Z.mathWrap},We.createElement(Ae.default,{defaultActiveKey:"1",items:z}),We.createElement("math-field",{locale:"zh_cn",className:ue.Z.mathField,placeholder:"\u8BF7\u6253\u5F00\u952E\u76D8\uFF0C\u8F93\u5165\u516C\u5F0F",ref:E,style:{width:800,marginTop:30,fontSize:18}},De||""),je&&We.createElement("div",{className:ue.Z.button},We.createElement(Ie.ZP,{size:"large",onClick:te,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))});Rt.Z=Te},68571:function(_t,Rt,ae){"use strict";ae.d(Rt,{t:function(){return nt}});var b=ae(59301),se=ae(92832),be=ae(78241),Ae=ae(43418),Ie=ae(95237),Re=ae(43604),ue=ae(5871),Ze=ae(57809),We=ae(5112),Te=ae(31457),ke=ae(25690),je=ae(8423),De=ae(8591),le=ae(3113),E=ae(71418),a=ae(24334),x={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=ae(38986),z=ae(81072),te=ae(39793),re=ae(56102),ie=ae(37345),ce=ae(59301),pe=Object.defineProperty,ge=Object.defineProperties,ye=Object.getOwnPropertyDescriptors,Ee=Object.getOwnPropertySymbols,Le=Object.prototype.hasOwnProperty,ve=Object.prototype.propertyIsEnumerable,$e=(Ue,Fe,he)=>Fe in Ue?pe(Ue,Fe,{enumerable:!0,configurable:!0,writable:!0,value:he}):Ue[Fe]=he,He=(Ue,Fe)=>{for(var he in Fe||(Fe={}))Le.call(Fe,he)&&$e(Ue,he,Fe[he]);if(Ee)for(var he of Ee(Fe))ve.call(Fe,he)&&$e(Ue,he,Fe[he]);return Ue},it=(Ue,Fe)=>ge(Ue,ye(Fe)),Ne=(Ue,Fe,he)=>new Promise((at,At)=>{var we=Xe=>{try{vt(he.next(Xe))}catch(_e){At(_e)}},Ce=Xe=>{try{vt(he.throw(Xe))}catch(_e){At(_e)}},vt=Xe=>Xe.done?at(Xe.value):Promise.resolve(Xe.value).then(we,Ce);vt((he=he.apply(Ue,Fe)).next())}),lt=({buttonProps:Ue,buttonText:Fe,form:he,hackIdentifier:at="",answerKey:At,data:we})=>{const[Ce,vt]=(0,b.useState)(!1),[Xe,_e]=(0,b.useState)(!1),[Pt,cn]=(0,b.useState)(!1),[Ot,Xt]=(0,b.useState)({}),[$t,nn]=(0,b.useState)(""),[bt,rn]=(0,b.useState)(""),wn=(0,b.useRef)(at),Zt=(0,b.useRef)(""),wt=(0,b.useRef)(!1);(0,b.useEffect)(()=>{Pt&&Yn()},[Pt]),(0,b.useEffect)(()=>()=>{sessionStorage.removeItem("projectFill")},[]);const Ln=()=>new Date().getTime(),zn=we==null?void 0:we.code,Wn=()=>{var qt,pn;let Zn=zn?we==null?void 0:we.code:(qt=he.getFieldValue("hack_codes"))==null?void 0:qt.code,xn=zn?we==null?void 0:we.answer_content:he.getFieldValue(At),Na=zn?we==null?void 0:we.input:(pn=he.getFieldValue("hack_sets"))==null?void 0:pn.input;xn==null||xn.forEach(Wa=>{const ta=Wa.value||Wa.answer_text||"";Zn=Zn.replace(/(@▁@|@▁▁@)/,ta)}),rn(Na),nn(Zn),Xt({}),cn(!0)},Yn=()=>Ne(void 0,null,function*(){var qt,pn,Zn,xn;const Na=Ln(),Wa=zn?we==null?void 0:we.time_limit:(qt=he.getFieldsValue())==null?void 0:qt.hack.time_limit,ta=zn?(pn=we==null?void 0:we.answer_content)==null?void 0:pn.length:(xn=(Zn=he.getFieldsValue())==null?void 0:Zn.standard_answers)==null?void 0:xn.length;vt(!0),yield(0,z.bM)(Zt.current,{test_hack_code:$t,test_input:bt});function En(){return Ne(this,null,function*(){const{status:Oa,data:Ve}=yield(0,z.rX)(Zt.current,"submit"),Gt=Ln()-Na>(Wa+3)*1e3*ta;if(wt.current){if(Gt){De.ZP.error("\u8C03\u8BD5\u4EE3\u7801\u8D85\u65F6"),vt(!1);return}if(Oa===0){vt(!1),Xt(it(He({},Ve),{showText:!0}));return}setTimeout(En,1e3)}})}En()}),xa=()=>Ne(void 0,null,function*(){var qt,pn,Zn,xn,Na,Wa,ta;if(!we){try{yield he.validateFields()}catch(Bt){(Zn=(pn=(qt=Bt==null?void 0:Bt.errorFields)==null?void 0:qt[0])==null?void 0:pn.name)!=null&&Zn.includes("standard_answers")?De.ZP.error("\u586B\u7A7A\u9879\u7B54\u6848\u4E0D\u80FD\u4E3A\u7A7A"):De.ZP.error(Bt.errorFields[0].errors[0]),he.scrollToField(Bt.errorFields[0].name,{behavior:"smooth",block:"center"});return}_e(!0);let Oa="";const Ve=he.getFieldsValue();wn.current?Oa=yield(0,y.ZP)(`/api/problems/${wn.current}.json`,{method:"put",body:it(He({},Ve),{hack:it(He({},Ve==null?void 0:Ve.hack),{sub_discipline_id:(ta=(Wa=Ve==null?void 0:Ve.hack)==null?void 0:Wa.sub_discipline_id)==null?void 0:ta[1],difficult:Ve.difficulty,item_banks_group_id:Ve.item_banks_group_id}),hack_codes:it(He({},Ve.hack_codes),{code:a.Base64.encode(Ve.hack_codes.code)}),update_hack_sets:[He({},Ve.hack_sets)],is_blank:!0})}):(Oa=yield(0,y.ZP)("/api/problems.json",{method:"post",body:it(He({},Ve),{hack:it(He({},Ve==null?void 0:Ve.hack),{sub_discipline_id:(Na=(xn=Ve==null?void 0:Ve.hack)==null?void 0:xn.sub_discipline_id)==null?void 0:Na[1],difficult:Ve.difficulty,item_banks_group_id:Ve.item_banks_group_id}),hack_codes:it(He({},Ve.hack_codes),{code:a.Base64.encode(Ve.hack_codes.code)}),hack_sets:[He({},Ve.hack_sets)],is_blank:!0})}),wn.current=Oa==null?void 0:Oa.identifier,sessionStorage.projectFill=Oa==null?void 0:Oa.identifier)}const En=yield(0,y.ZP)(`/api/problems/${wn.current}/start.json`,{method:"get"});if((En==null?void 0:En.status)===0){Zt.current=En==null?void 0:En.identifier,wt.current=!0,_e(!1),Wn();return}_e(!1)}),on=qt=>{const{status:pn,error_msg:Zn,execute_time:xn,output:Na,input:Wa,expected_output:ta}=qt;let En=null;switch(pn){case ie.h.OK:En=ce.createElement(ce.Fragment,null,ce.createElement("p",null,"\u6267\u884C\u7528\u65F6\uFF1A",xn/1e3,"\u79D2"),ce.createElement("p",null,"\u6267\u884C\u7ED3\u679C\uFF1A\u8C03\u8BD5\u901A\u8FC7"));break;case ie.h.NOMATCH:En=ce.createElement(ce.Fragment,null,ce.createElement("div",null,"\u8F93\u5165\uFF1A"),ce.createElement("pre",{style:{fontFamily:"initial"}},Wa),ce.createElement("div",null,"\u8F93\u51FA\uFF1A"),ce.createElement("pre",{style:{fontFamily:"initial"}},Na&&a.Base64.decode(Na)),ce.createElement("div",null,"\u9884\u671F\u8F93\u51FA\uFF1A"),ce.createElement("pre",{style:{fontFamily:"initial"}},ta&&a.Base64.decode(ta)));break;case ie.h.EXECUTEFAILURE:En=ce.createElement(ce.Fragment,null,ce.createElement("p",null,"\u6700\u540E\u6267\u884C\u7684\u8F93\u5165\uFF1A",ce.createElement("pre",null,Wa)),ce.createElement("p",null,"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),ce.createElement("pre",{className:"error"},a.Base64.decode(Zn)));break;case ie.h.COMPILEFAILURE:En=ce.createElement(ce.Fragment,null,ce.createElement("p",null,"\u6700\u540E\u6267\u884C\u7684\u8F93\u5165\uFF1A",ce.createElement("pre",null,Wa)),ce.createElement("p",null,"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),ce.createElement("pre",{className:"error"},a.Base64.decode(Zn)));break;case ie.h.PODFAILURE:En=ce.createElement("p",null,"\u521B\u5EFApod\u5931\u8D25\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break;case ie.h.TIMEOUT:En=ce.createElement("p",null,"\u8BC4\u6D4B\u8D85\u65F6\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break}return ce.createElement(ce.Fragment,null," ",En," ")};return ce.createElement("div",null,ce.createElement(le.ZP,it(He({loading:Xe},Ue),{onClick:xa}),Fe),ce.createElement(Ae.default,{open:Pt,title:"\u8C03\u8BD5\u4EE3\u7801",destroyOnClose:!0,width:1200,okText:"\u8FD0\u884C\u6D4B\u8BD5",confirmLoading:Ce,cancelButtonProps:{style:{display:"none"}},onOk:()=>Yn(),onCancel:()=>{wt.current=!1,cn(!1)}},ce.createElement("div",{className:x.result},ce.createElement("div",{className:x.left},ce.createElement("div",{className:"mb20"},ce.createElement("span",{className:"c-black"},"\u6267\u884C\u4EE3\u7801"),!we&&ce.createElement(re.CopyToClipboard,{text:$t,onCopy:()=>De.ZP.success("\u590D\u5236\u6210\u529F")},ce.createElement("span",{style:{float:"right"},className:"current c-light-primary"},ce.createElement("i",{className:"iconfont icon-fuzhi8 mr5"}),"\u590D\u5236"))),ce.createElement(te.Z,{height:510,className:"mb0",hidetoolBar:!0,defaultValue:$t,onChange:qt=>nn(qt)})),ce.createElement("div",{className:x.right},ce.createElement("div",{className:"c-black mb20"},"\u81EA\u5B9A\u4E49\u6D4B\u8BD5\u7528\u4F8B"),ce.createElement("div",{className:x.box},ce.createElement("div",{className:x.li},ce.createElement(se.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165",value:bt,onChange:qt=>rn(qt.target.value),bordered:!1,style:{height:180}}))),ce.createElement("div",{className:"c-black mb20 mt30"},"\u4EE3\u7801\u6267\u884C\u7ED3\u679C"),ce.createElement("div",{className:x.box},ce.createElement(E.Z,{spinning:Ce,tip:"\u4EE3\u7801\u6267\u884C\u4E2D"},ce.createElement("div",{className:x.li,style:{height:196,overflow:"auto",padding:10}},on(Ot))))))))},Ke=ae(87169),Ye=ae(59301),Kt=Object.defineProperty,ot=Object.defineProperties,Ht=Object.getOwnPropertyDescriptors,en=Object.getOwnPropertySymbols,Je=Object.prototype.hasOwnProperty,ft=Object.prototype.propertyIsEnumerable,Dt=(Ue,Fe,he)=>Fe in Ue?Kt(Ue,Fe,{enumerable:!0,configurable:!0,writable:!0,value:he}):Ue[Fe]=he,ln=(Ue,Fe)=>{for(var he in Fe||(Fe={}))Je.call(Fe,he)&&Dt(Ue,he,Fe[he]);if(en)for(var he of en(Fe))ft.call(Fe,he)&&Dt(Ue,he,Fe[he]);return Ue},yt=(Ue,Fe)=>ot(Ue,Ht(Fe)),Yt=(Ue,Fe)=>{var he={};for(var at in Ue)Je.call(Ue,at)&&Fe.indexOf(at)<0&&(he[at]=Ue[at]);if(Ue!=null&&en)for(var at of en(Ue))Fe.indexOf(at)<0&&ft.call(Ue,at)&&(he[at]=Ue[at]);return he};const{TextArea:Be}=se.default,Ut=[{title:"C",key:"C"},{title:"C++",key:"C++"},{title:"Python",key:"Python"},{title:"Java",key:"Java"}],Cn=({value:Ue,onChange:Fe})=>Ye.createElement(Switch,{checked:Ue,onChange:he=>{Fe(he)}}),Ft="@\u2581@",It="@\u2581\u2581@",nt=({questionTitlePlaceholder:Ue,form:Fe,scoreByBlank:he=!1,hackidentifier:at,answerKey:At})=>{const[we,Ce]=(0,b.useState)(!1),[vt,Xe]=(0,b.useState)(!1),Pt=(0,ke.useParams)().type==="edit",cn=(Zt,wt)=>{const Ln=wt.line;let zn=0;for(let Yn=0;Yn<Ln;Yn++)zn+=Zt.getLine(Yn).split(Ft).length-1;for(let Yn=0;Yn<Ln;Yn++)zn+=Zt.getLine(Yn).split(It).length-1;const Wn=Zt.getLine(Ln).substring(0,wt.ch);return zn+=Wn.split(Ft).length-1,zn+=Wn.split(It).length-1,zn},Ot=(Zt,wt,Ln,zn)=>{const Wn=Zt.getRange(wt.from,wt.to);let Yn=0;if(wt.text.forEach(xa=>{Yn+=xa.split(Ft).length-1}),wt.text.forEach(xa=>{Yn+=xa.split(It).length-1}),wt.origin!=="setValue"){if(Wn&&(Wn.indexOf(Ft)!==-1||Wn.indexOf(It)!==-1)){const xa=Wn.split(Ft).length-1+Wn.split(It).length-1,on=cn(Zt,wt.from);if(console.log(`\u5220\u9664${xa}\u4E2A\uFF0C \u524D\u9762\u6709${on}\u4E2A\uFF0C\u65B0\u589E${Yn}\u4E2A`),xa>1){const qt=Array.from({length:xa},(pn,Zn)=>on+Zn);zn(qt)}else zn(on)}else if(Yn>0){const xa=cn(Zt,wt.from);console.log(`\u65B0\u589E${Yn}\u4E2A\uFF0C\u4E4B\u524D\u6709${xa}\u4E2A`),Ln(Yn,xa)}}},Xt=()=>{const Zt=Fe.getFieldValue(At);Fe.setFieldsValue({[At]:Zt==null?void 0:Zt.map((wt,Ln)=>yt(ln({},wt),{position:Ln+1}))})},$t=(0,b.useRef)(),nn=(Zt,wt)=>{for(let Ln=0;Ln<Zt;Ln++)$t.current({position:null,answer_text:""},wt+Ln);Xt()},bt=(0,b.useRef)(),rn=Zt=>{bt.current(Zt),Xt()},wn=be.default.useWatch(At,Fe);return Ye.createElement("div",{className:je.Z.wrap},Ye.createElement(be.default.Item,{label:"\u8BD5\u9898\u63CF\u8FF0",name:["hack","description"],style:{display:"table"},className:"w100",labelCol:{span:24},rules:[{required:!0}]},Ye.createElement(Te.h,{scrollId:"name",watch:!0,height:140})),Ye.createElement("div",{className:je.Z.questionTitleEditorWrap},Ye.createElement(be.default.Item,{label:"\u7A0B\u5E8F\u4EE3\u7801",name:["hack_codes","code"],labelCol:{span:24},rules:[{required:!0}]},Ye.createElement(Te.h,{scrollId:"name",watch:!0,height:400,hidetoolBar:!0,showNullProgramButton:!0,onChange:(Zt,wt)=>{const Ln=Fe.getFieldValue(At);console.log("--preAnswerData",Ln,wt),Fe.setFieldsValue({[At]:Ln==null?void 0:Ln.map((zn,Wn)=>{var Yn;return yt(ln({},zn),{position:Wn+1,multi_line:(Yn=wt==null?void 0:wt[Wn])==null?void 0:Yn.multiLine})})})},placeholder:Ue,onCMBeforeChange:(Zt,wt)=>{Ot(Zt,wt,nn,rn)}}))),Ye.createElement(be.default.List,{name:At,rules:[{validator(Zt,wt){if(!(wt!=null&&wt.length))return Promise.reject(new Error("\u7B54\u6848\u4E0D\u80FD\u4E3A\u7A7A"));for(const Ln of wt){const{answer_text:zn}=Ln||{};if((zn==null?void 0:zn.length)===0)return Promise.reject(new Error("\u586B\u7A7A\u9879\u7B54\u6848\u4E0D\u80FD\u4E3A\u7A7A"))}return Promise.resolve()}}]},(Zt,{add:wt,remove:Ln},{errors:zn})=>($t.current=wt,bt.current=Ln,Ye.createElement(Ye.Fragment,null,Ye.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between"}},Ye.createElement(be.default.Item,{label:"\u586B\u7A7A\u9879\u7B54\u6848",required:!0,labelCol:{span:24}}),Ye.createElement("div",{onClick:()=>{Ae.default.warning({title:"\u7ED9\u5206\u8BF4\u660E",icon:null,width:700,centered:!0,content:Ye.createElement("div",null,Ye.createElement("div",null,"1.\u5B66\u751F\u586B\u5199\u7B54\u6848\u4E4B\u540E\uFF0C\u5FC5\u987B\u63D0\u4EA4\u4EE3\u7801",Ye.createElement("span",{style:{color:"#e30000"}},"\u8FDB\u884C\u8BC4\u6D4B"),"\u624D\u80FD\u5F97\u5206\u3002"),Ye.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"}},Ye.createElement(Ke.Z,{style:{marginRight:3,color:"#3061D0"}}),Ye.createElement("span",null," \u7ED9\u5206\u8BF4\u660E"))),Zt.map((Wn,Yn)=>{var xa=Wn,{key:on,name:qt}=xa,pn=Yt(xa,["key","name"]),Zn,xn;return Ye.createElement(Ie.Z,{className:"mb20",key:on,align:"middle",wrap:!1},Ye.createElement(Re.Z,{flex:"0 0 auto",className:`${je.Z.blankIndex}`},"\u586B\u7A7A\u9879",Yn+1),Ye.createElement(Re.Z,{flex:1},Ye.createElement(Ie.Z,{align:"top",justify:"space-between",wrap:!1},Ye.createElement(Re.Z,null,Ye.createElement(be.default.Item,yt(ln({},pn),{name:[qt,"answer_text"],noStyle:!0}),(Zn=wn==null?void 0:wn[qt])!=null&&Zn.multi_line||(xn=wn==null?void 0:wn[qt])!=null&&xn.multiLine?Ye.createElement(Be,{spellCheck:!1,style:{marginLeft:10,width:550}}):Ye.createElement(se.default,{style:{marginLeft:10,width:550},className:je.Z.blankInput,size:"large",maxLength:1e3,onBlur:Na=>{}}))),he&&Ye.createElement(Re.Z,{flex:"224px"},Ye.createElement(be.default.Item,yt(ln({},pn),{name:[qt,"score"],label:"\u5206\u503C",rules:[{required:!0}]}),Ye.createElement(ue.Z,{size:"large",className:je.Z.blankInput,min:.1,max:100,precision:1,style:{width:"100%"},placeholder:"\u8BF7\u8F93\u5165\u5206\u503C"}))))))})))),Ye.createElement("div",{onClick:()=>Ce(!0)},Ye.createElement(be.default.Item,{name:["hack","analysis"],label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},Ye.createElement(Te.x,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:we}))),Ye.createElement(be.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"}]},Ye.createElement(Ze.default,{size:"large"},Ut.map(Zt=>Ye.createElement(Ze.default.Option,{key:Zt.title,value:Zt.key}," ",Zt.title)))),Ye.createElement(be.default.Item,{label:"\u6700\u5927\u8BC4\u6D4B\u65F6\u957F\uFF08\u79D2\uFF09",style:{marginTop:30},labelCol:{span:24},required:!0},Ye.createElement(be.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},Ye.createElement(ue.Z,{precision:0,max:10,min:3,size:"large",style:{width:"97%"}})),Ye.createElement("span",{className:"ml10 font14"},"\u79D2")),Ye.createElement(be.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"}]},Ye.createElement(We.ZP.Group,{style:{marginTop:-10}},Ye.createElement(We.ZP,{value:0},"\u4E0D\u5FFD\u7565\u7A7A\u683C"),Ye.createElement(We.ZP,{value:1},"\u5FFD\u7565\u9996\u5C3E\u7A7A\u683C"),Ye.createElement(We.ZP,{value:2},"\u5FFD\u7565\u6240\u6709\u7A7A\u683C"))),Ye.createElement(be.default.Item,{label:"\u6D4B\u8BD5\u7528\u4F8B",required:!0,style:{marginTop:30}}),Ye.createElement("div",{style:{background:"#F6F7F9",padding:15}},Ye.createElement(be.default.Item,{label:"\u8F93\u5165",labelCol:{span:24},name:["hack_sets","input"]},Ye.createElement(Be,{rows:4})),Ye.createElement(be.default.Item,{label:"\u8F93\u51FA",labelCol:{span:24},name:["hack_sets","output"],rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u8F93\u51FA\u5185\u5BB9"}]},Ye.createElement(Be,{rows:4}))),Ye.createElement(lt,{form:Fe,answerKey:At,hackIdentifier:at,buttonText:"\u8FD0\u884C\u8C03\u8BD5",buttonProps:{ghost:!0,icon:Ye.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"}}}))}},81727:function(_t,Rt,ae){"use strict";ae.d(Rt,{u:function(){return ce}});var b=ae(59301),se=ae(95237),be=ae(43604),Ae=ae(6848),Ie=ae(78241),Re=ae(8423),ue=ae(32134),Ze=ae(12893),We=ae(31457),Te=ae(59301),ke=Object.defineProperty,je=Object.defineProperties,De=Object.getOwnPropertyDescriptors,le=Object.getOwnPropertySymbols,E=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable,x=(pe,ge,ye)=>ge in pe?ke(pe,ge,{enumerable:!0,configurable:!0,writable:!0,value:ye}):pe[ge]=ye,y=(pe,ge)=>{for(var ye in ge||(ge={}))E.call(ge,ye)&&x(pe,ye,ge[ye]);if(le)for(var ye of le(ge))a.call(ge,ye)&&x(pe,ye,ge[ye]);return pe},z=(pe,ge)=>je(pe,De(ge)),te=(pe,ge)=>{var ye={};for(var Ee in pe)E.call(pe,Ee)&&ge.indexOf(Ee)<0&&(ye[Ee]=pe[Ee]);if(pe!=null&&le)for(var Ee of le(pe))ge.indexOf(Ee)<0&&a.call(pe,Ee)&&(ye[Ee]=pe[Ee]);return ye};const re=["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"],ie=({value:pe,onChange:ge,choiceTextKey:ye,answerKey:Ee,index:Le,isEdit:ve,setInputActive:$e,form:He,choiceOptionsPath:it,allowChangeMode:Ne,showAddIcon:Qe,addItem:lt,deleteItem:Ke})=>{console.log(pe,"value");const Ye=(pe==null?void 0:pe[Ee])===1,Kt=()=>{const Ht=He.getFieldValue(it);He.setFieldValue(it,Ht.map(en=>z(y({},en),{[Ee]:0})))},ot=()=>{Ye?ge(z(y({},pe),{[Ee]:0})):(Ne||Kt(),ge(z(y({},pe),{[Ee]:1})))};return Te.createElement(se.Z,{className:Re.Z.choiceWrap,align:"middle",wrap:!1},Te.createElement(be.Z,{onClick:ot,className:`${Re.Z.choiceIndex} ${Ye?Re.Z.activeAnswer:""}`},re[Le]),Te.createElement(be.Z,{flex:1,className:`${Re.Z.editorWrap} ml15`,onClick:$e},Te.createElement(We.x,{height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9009\u9879",isEdit:ve,value:pe==null?void 0:pe[ye],onChange:Ht=>{ge(z(y({},pe),{[ye]:Ht}))}})),Te.createElement(be.Z,{flex:"0 0 auto",className:"ml15"},Te.createElement("div",{onClick:ot,className:`${Re.Z.setAnswerBtn} ${Ye?Re.Z.activeAnswer:""}`},Ye?"\u6B63\u786E\u7B54\u6848":"\u8BBE\u4E3A\u7B54\u6848")),Te.createElement(be.Z,{className:Re.Z.actionWrapper},Te.createElement(Ae.Z,{title:"\u65B0\u589E\u53C2\u8003\u7B54\u6848"},Te.createElement(ue.Z,{className:Re.Z.addIcon,onClick:lt,style:{visibility:Qe?"visible":"hidden"}})),Te.createElement(Ae.Z,{title:"\u5220\u9664"},Te.createElement(Ze.Z,{className:Re.Z.deleteIcon,onClick:Ke,style:{visibility:Le>1?"visible":"hidden"}}))))},ce=({questionTitlePlaceholder:pe,titleKey:ge,choiceKey:ye,analysisKey:Ee,choiceTextKey:Le,answerKey:ve,choiceOptionsPath:$e,allowChangeMode:He=!0,form:it,showAnalysis:Ne=!0})=>{const[Qe,lt]=(0,b.useState)(),[Ke,Ye]=(0,b.useState)(!1);return Te.createElement("div",{className:Re.Z.wrap},Te.createElement("div",{className:Re.Z.questionTitleEditorWrap},Te.createElement(Ie.default.Item,{label:"\u9898\u5E72",name:ge,labelCol:{span:24},rules:[{required:!0}]},Te.createElement(We.h,{scrollId:Array.isArray(ge)?ge.join("_"):`${ge}`,watch:!0,height:140,placeholder:pe}))),Te.createElement(Ie.default.Item,{label:"\u7B54\u6848\u9009\u9879",required:!0,labelCol:{span:24}}),Te.createElement(Ie.default.List,{name:ye,rules:[{validator(Kt,ot){const Ht=ot.some(Je=>Je[ve]===1),en=ot.findIndex(Je=>{var ft;return((ft=Je[Le])==null?void 0:ft.length)<=0});return en!==-1?Promise.reject(new Error(`\u8BF7\u5148\u8F93\u5165${re[en]}\u9009\u9879\u7684\u5185\u5BB9`)):Ht?Promise.resolve():Promise.reject(new Error("\u8BF7\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848"))}}]},(Kt,{add:ot,remove:Ht})=>Te.createElement("div",{id:Array.isArray($e)?$e.join("_"):`${$e}`},Kt.map((en,Je)=>{var ft=en,{key:Dt,name:ln}=ft,yt=te(ft,["key","name"]);const Yt=Qe===Dt,Be=()=>{lt(Dt)},Ut=Je<7&&Je===Kt.length-1,Cn=()=>ot({[Le]:"",[ve]:0}),Ft=()=>Ht(ln);return Te.createElement(Ie.default.Item,z(y({},yt),{key:Dt,name:ln,className:Re.Z.choiceListWrap,rules:[{validator(It,nt){return nt!=null&&nt.choice_text?Promise.resolve():Promise.reject(new Error(`\u8BF7\u5148\u8F93\u5165${re[Je]}\u9009\u9879\u7684\u5185\u5BB9`))}}]}),Te.createElement(ie,{choiceTextKey:Le,answerKey:ve,index:Je,isEdit:Yt,setInputActive:Be,form:it,choiceOptionsPath:$e,allowChangeMode:He,showAddIcon:Ut,addItem:Cn,deleteItem:Ft}))}),Kt.length<8&&Te.createElement("div",{className:`${Re.Z.addBtn} mb30`,onClick:()=>ot({[Le]:"",[ve]:0})},"\u6DFB\u52A0\u9009\u9879"))),Ne&&Te.createElement("div",{onClick:()=>Ye(!0)},Te.createElement(Ie.default.Item,{name:Ee,label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},Te.createElement(We.x,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:Ke}))))}},92046:function(_t,Rt,ae){"use strict";ae.d(Rt,{u:function(){return He}});var b=ae(59301),se=ae(43418),be=ae(95237),Ae=ae(43604),Ie=ae(92832),Re=ae(6848),ue=ae(78673),Ze=ae(78241),We=ae(5112),Te=ae(5871),ke=ae(31457),je=ae(12893),De=ae(61485),le=ae(8423),E=ae(19105),a=ae(59301),x=Object.defineProperty,y=Object.defineProperties,z=Object.getOwnPropertyDescriptors,te=Object.getOwnPropertySymbols,re=Object.prototype.hasOwnProperty,ie=Object.prototype.propertyIsEnumerable,ce=(it,Ne,Qe)=>Ne in it?x(it,Ne,{enumerable:!0,configurable:!0,writable:!0,value:Qe}):it[Ne]=Qe,pe=(it,Ne)=>{for(var Qe in Ne||(Ne={}))re.call(Ne,Qe)&&ce(it,Qe,Ne[Qe]);if(te)for(var Qe of te(Ne))ie.call(Ne,Qe)&&ce(it,Qe,Ne[Qe]);return it},ge=(it,Ne)=>y(it,z(Ne)),ye=(it,Ne)=>{var Qe={};for(var lt in it)re.call(it,lt)&&Ne.indexOf(lt)<0&&(Qe[lt]=it[lt]);if(it!=null&&te)for(var lt of te(it))Ne.indexOf(lt)<0&&ie.call(it,lt)&&(Qe[lt]=it[lt]);return Qe};const Ee=({value:it,onChange:Ne})=>{const Qe=Ke=>{se.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:le.Z.modal,onOk:()=>{const Ye=[...it];Ye.splice(Ke,1),Ne(Ye)}})},lt=()=>{const Ke=[...it];Ke.push(""),Ne(Ke)};return a.createElement(be.Z,{className:"ml20"},a.createElement(Ae.Z,{flex:1},it==null?void 0:it.map((Ke,Ye)=>a.createElement(be.Z,{key:`${Ke}_${Ye}`,className:"mb20"},a.createElement(Ie.default.TextArea,{style:{flex:1,minHeight:44},defaultValue:Ke,autoSize:{maxRows:3},maxLength:1e3,onBlur:Kt=>{const ot=[...it],Ht=Kt.target.value.trim();ot[Ye]=Ht,Ne(ot)}}),a.createElement(Re.Z,{title:"\u5220\u9664"},a.createElement(je.Z,{className:le.Z.deleteIcon,style:{marginLeft:15,visibility:Ye>0?"visible":"hidden"},onClick:()=>Qe(Ye)}))))),a.createElement(Ae.Z,null,a.createElement("div",{className:`${le.Z.addBtn}`,onClick:()=>{lt()}},"\u65B0\u589E\u7B54\u6848")))},Le=({value:it,onChange:Ne})=>{const Qe=Ke=>{se.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:le.Z.modal,onOk:()=>{const Ye=[...it];Ye.splice(Ke,1),Ne(Ye)}})},lt=()=>{const Ke=[...it];Ke.push(""),Ne(Ke)};return a.createElement(be.Z,{className:"ml20"},a.createElement(Ae.Z,{flex:1},it==null?void 0:it.map((Ke,Ye)=>a.createElement(be.Z,{key:`${Ke}_${Ye}`,align:"middle",className:"mb20"},a.createElement(E.Z,{value:Ke,style:{flex:1},onChange:Kt=>{const ot=[...it];ot[Ye]=Kt,Ne(ot)}}),a.createElement(Re.Z,{title:"\u5220\u9664"},a.createElement(je.Z,{className:le.Z.deleteIcon,style:{marginLeft:15,visibility:Ye>0?"visible":"hidden"},onClick:()=>Qe(Ye)}))))),a.createElement(Ae.Z,null,a.createElement("div",{className:`${le.Z.addBtn}`,onClick:()=>{lt()}},"\u65B0\u589E\u7B54\u6848")))},ve=({value:it=!0,onChange:Ne})=>a.createElement(ue.Z,{checked:!it,onChange:Qe=>{Ne(!Qe)}}),$e="\u2581",He=({questionTitlePlaceholder:it,form:Ne,scoreByBlank:Qe=!1,answerKey:lt})=>{const[Ke,Ye]=(0,b.useState)(!1),Kt=(yt,Yt)=>{const Be=Yt.line;let Ut=0;for(let Ft=0;Ft<Be;Ft++)Ut+=yt.getLine(Ft).split($e).length-1;const Cn=yt.getLine(Be).substring(0,Yt.ch);return Ut+=Cn.split($e).length-1,Ut},ot=(yt,Yt,Be,Ut)=>{const Cn=yt.getRange(Yt.from,Yt.to);let Ft=0;if(Yt.text.forEach(It=>{Ft+=It.split($e).length-1}),Yt.origin!=="setValue"){if(Cn&&Cn.indexOf($e)!==-1){const It=Cn.split($e).length-1,nt=Kt(yt,Yt.from);if(console.log(`\u5220\u9664${It}\u4E2A\uFF0C \u524D\u9762\u6709${nt}\u4E2A\uFF0C\u65B0\u589E${Ft}\u4E2A`),It>1){const Ue=Array.from({length:It},(Fe,he)=>nt+he);Ut(Ue)}else Ut(nt)}else if(Ft>0){const It=Kt(yt,Yt.from);console.log(`\u65B0\u589E${Ft}\u4E2A\uFF0C\u4E4B\u524D\u6709${It}\u4E2A`),Be(Ft,It)}}},Ht=()=>{const yt=Ne.getFieldValue(lt);Ne.setFieldsValue({[lt]:yt.map((Yt,Be)=>ge(pe({},Yt),{position:Be+1}))})},en=(0,b.useRef)(),Je=(yt,Yt)=>{for(let Be=0;Be<yt;Be++)en.current({position:null,answer_text:[""],model:1},Yt+Be);Ht()},ft=(0,b.useRef)(),Dt=yt=>{ft.current(yt),Ht()},ln=Ze.default.useWatch(lt,Ne);return a.createElement("div",{className:le.Z.wrap},a.createElement("div",{className:le.Z.questionTitleEditorWrap},a.createElement(Ze.default.Item,{label:"\u9898\u5E72",name:"name",labelCol:{span:24},rules:[{required:!0}]},a.createElement(ke.h,{scrollId:"name",watch:!0,height:140,placeholder:it,showNullButton:!0,onCMBeforeChange:(yt,Yt)=>{ot(yt,Yt,Je,Dt)}}))),a.createElement(Ze.default.List,{name:lt,rules:[{validator(yt,Yt){if(!(Yt!=null&&Yt.length))return Promise.reject(new Error("\u8BF7\u5148\u5728\u9898\u5E72\u4E2D\u63D2\u5165\u586B\u7A7A\u9879"));for(const Be of Yt){const{answer_text:Ut}=Be||{};if(Ut!=null&&Ut.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()}}]},(yt,{add:Yt,remove:Be},{errors:Ut})=>(en.current=Yt,ft.current=Be,a.createElement(a.Fragment,null,a.createElement(Ze.default.Item,{label:a.createElement("span",null,"\u586B\u7A7A\u9879\u7B54\u6848",!(yt!=null&&yt.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}}),yt.map((Cn,Ft)=>{var It=Cn,{key:nt,name:Ue}=It,Fe=ye(It,["key","name"]),he,at;return a.createElement("div",{style:{marginBottom:10},key:nt},a.createElement(be.Z,{className:"mb20",align:"middle",wrap:!1},a.createElement(Ae.Z,{style:{marginRight:10},flex:"0 0 auto",className:`${le.Z.blankIndex}`},"\u586B\u7A7A\u9879",Ft+1),a.createElement(Ze.default.Item,ge(pe({},Fe),{name:[Ue,"model"],noStyle:!0}),a.createElement(We.ZP.Group,{onChange:()=>{const At=Ne.getFieldValue(lt);Ne.setFieldsValue({[lt]:At.map((we,Ce)=>ge(pe({},we),{answer_text:Ue===Ce?[""]:we.answer_text}))})}},a.createElement(We.ZP,{value:1},"\u6587\u672C\u6A21\u5F0F ",a.createElement(Re.Z,{title:"\u5B66\u751F\u7B54\u9898\u65F6\uFF0C\u9700\u8981\u5728\u6587\u672C\u6846\u4E2D\u586B\u5199\u6587\u672C\u7B54\u6848"},a.createElement(De.Z,null))),a.createElement(We.ZP,{value:2},"\u6570\u5B66\u516C\u5F0F\u6A21\u5F0F ",a.createElement(Re.Z,{title:"\u5B66\u751F\u7B54\u9898\u65F6\uFF0C\u9700\u8981\u7F16\u5199\u6570\u5B66\u516C\u5F0F\u4F5C\u4E3A\u7B54\u6848"},a.createElement(De.Z,null)))))),a.createElement(be.Z,{style:{marginLeft:20},align:"middle",wrap:!1},a.createElement(Ae.Z,{flex:1},a.createElement(be.Z,{align:"top",justify:"space-between",wrap:!1},a.createElement(Ae.Z,{flex:1},a.createElement(Ze.default.Item,ge(pe({},Fe),{name:[Ue,"answer_text"],noStyle:!0}),((at=(he=Ne.getFieldValue(lt))==null?void 0:he[Ue])==null?void 0:at.model)===1?a.createElement(Ee,null):a.createElement(Le,null))),Qe&&a.createElement(Ae.Z,{flex:"224px",style:{margin:"-7px 0 0 20px"}},a.createElement(Ze.default.Item,ge(pe({},Fe),{name:[Ue,"score"],label:"\u5206\u503C",rules:[{required:!0}],className:le.Z.blankInputNumberWrapper}),a.createElement(Te.Z,{min:.1,max:100,precision:1,style:{width:"100%"},placeholder:"\u8BF7\u8F93\u5165\u5206\u503C"})))),a.createElement(Ze.default.Item,ge(pe({},Fe),{name:[Ue,"position"],noStyle:!0}),a.createElement(Ie.default,{type:"hidden"})))))})))),a.createElement(be.Z,{align:"middle"},a.createElement(Ze.default.Item,{name:"downcase",valuePropName:"checked"},a.createElement(ue.Z,null)),a.createElement(Ae.Z,{className:"ml10"},"\u5224\u5206\u65F6\u5FFD\u7565\u7B54\u6848\u4E2D\u7684\u5B57\u6BCD\u5927\u5C0F\u5199")),a.createElement(be.Z,{align:"middle"},a.createElement(Ze.default.Item,{name:"no_space",valuePropName:"checked"},a.createElement(ue.Z,null)),a.createElement(Ae.Z,{className:"ml10"},"\u5224\u5206\u65F6\u5FFD\u7565\u7B54\u6848\u4E2D\u7684\u7A7A\u683C")),(ln==null?void 0:ln.length)>1&&a.createElement(be.Z,{align:"middle",className:(ln==null?void 0:ln.length)>1?"mb30":`${le.Z.hide}`},a.createElement(Ze.default.Item,{name:"is_ordered"},a.createElement(ve,null)),a.createElement(Ae.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:()=>Ye(!0)},a.createElement(Ze.default.Item,{name:"analysis",label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},a.createElement(ke.x,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:Ke}))))}},14289:function(_t,Rt,ae){"use strict";ae.d(Rt,{Z:function(){return te}});var b=ae(59301),se=ae(95237),be=ae(43604),Ae=ae(78241),Ie=ae(8423),Re=ae(31457),ue=ae(59301),Ze=Object.defineProperty,We=Object.defineProperties,Te=Object.getOwnPropertyDescriptors,ke=Object.getOwnPropertySymbols,je=Object.prototype.hasOwnProperty,De=Object.prototype.propertyIsEnumerable,le=(re,ie,ce)=>ie in re?Ze(re,ie,{enumerable:!0,configurable:!0,writable:!0,value:ce}):re[ie]=ce,E=(re,ie)=>{for(var ce in ie||(ie={}))je.call(ie,ce)&&le(re,ce,ie[ce]);if(ke)for(var ce of ke(ie))De.call(ie,ce)&&le(re,ce,ie[ce]);return re},a=(re,ie)=>We(re,Te(ie)),x=(re,ie)=>{var ce={};for(var pe in re)je.call(re,pe)&&ie.indexOf(pe)<0&&(ce[pe]=re[pe]);if(re!=null&&ke)for(var pe of ke(re))ie.indexOf(pe)<0&&De.call(re,pe)&&(ce[pe]=re[pe]);return ce};const y={\u6B63\u786E:"T",\u9519\u8BEF:"F"},z=({value:re,onChange:ie,form:ce})=>{const pe=(re==null?void 0:re.is_answer)===1,ge=re==null?void 0:re.choice_text,ye=()=>{const Ee=ce.getFieldsValue().choices.map(Le=>({choice_text:Le.choice_text,is_answer:0}));ce.setFieldsValue({choices:Ee}),ie(a(E({},re),{is_answer:1}))};return ue.createElement(se.Z,{className:Ie.Z.choiceWrap,align:"middle",wrap:!1,style:{marginBottom:"20px"}},ue.createElement(be.Z,{onClick:ye,className:`${Ie.Z.choiceIndex} ${Ie.Z.judgementIndex} ${pe?Ie.Z.activeAnswer:""}`},y[ge]),ue.createElement(be.Z,{flex:1,className:`${Ie.Z.editorWrap} ml15`},ue.createElement("div",{className:`${Ie.Z.inputBorder} ${Ie.Z.placeholder} ${pe?Ie.Z.activeJudgementAnswer:""}`},ge)),ue.createElement(be.Z,{flex:"0 0 auto",className:"ml15"},ue.createElement("div",{onClick:ye,className:`${Ie.Z.setAnswerBtn} ${pe?Ie.Z.activeAnswer:""}`},pe?"\u6B63\u786E\u7B54\u6848":"\u8BBE\u4E3A\u7B54\u6848")))},te=({questionTitlePlaceholder:re,choiceKey:ie,form:ce})=>{const[pe,ge]=(0,b.useState)(!1);return ue.createElement("div",{className:Ie.Z.wrap},ue.createElement("div",{className:Ie.Z.questionTitleEditorWrap},ue.createElement(Ae.default.Item,{label:"\u9898\u5E72",name:"name",labelCol:{span:24},rules:[{required:!0}]},ue.createElement(Re.h,{scrollId:"name",watch:!0,height:140,placeholder:re}))),ue.createElement(Ae.default.Item,{label:"\u7B54\u6848\u9009\u9879",required:!0,labelCol:{span:24}},ue.createElement(Ae.default.List,{name:"choices",rules:[{validator(ye,Ee){return Ee.some(ve=>(ve==null?void 0:ve.is_answer)===1)?Promise.resolve():Promise.reject(new Error("\u8BF7\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848"))}}]},ye=>ue.createElement("div",{id:"choices"},ye.map(Ee=>{var Le=Ee,{key:ve,name:$e}=Le,He=x(Le,["key","name"]);return ue.createElement(Ae.default.Item,a(E({},He),{key:ve,name:$e,noStyle:!0}),ue.createElement(z,{form:ce}))})))),ue.createElement("div",{onClick:()=>ge(!0)},ue.createElement(Ae.default.Item,{name:"analysis",label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},ue.createElement(Re.x,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:pe}))))}},31457:function(_t,Rt,ae){"use strict";ae.d(Rt,{h:function(){return E},x:function(){return a}});var b=ae(39793),se=ae(8423),be=ae(91842),Ae=ae(59301),Ie=Object.defineProperty,Re=Object.defineProperties,ue=Object.getOwnPropertyDescriptors,Ze=Object.getOwnPropertySymbols,We=Object.prototype.hasOwnProperty,Te=Object.prototype.propertyIsEnumerable,ke=(x,y,z)=>y in x?Ie(x,y,{enumerable:!0,configurable:!0,writable:!0,value:z}):x[y]=z,je=(x,y)=>{for(var z in y||(y={}))We.call(y,z)&&ke(x,z,y[z]);if(Ze)for(var z of Ze(y))Te.call(y,z)&&ke(x,z,y[z]);return x},De=(x,y)=>Re(x,ue(y)),le=(x,y)=>{var z={};for(var te in x)We.call(x,te)&&y.indexOf(te)<0&&(z[te]=x[te]);if(x!=null&&Ze)for(var te of Ze(x))y.indexOf(te)<0&&Te.call(x,te)&&(z[te]=x[te]);return z};const E=x=>{var y=x,{value:z,onChange:te,scrollId:re}=y,ie=le(y,["value","onChange","scrollId"]);return Ae.createElement("div",{id:re||""},Ae.createElement(b.Z,De(je({},ie),{defaultValue:z,onChange:(ce,pe)=>{pe!=null&&pe.length?te(ce,pe):te(ce)}})))},a=({value:x,onChange:y,placeholder:z,height:te=140,isEdit:re,miniToolbar:ie,watch:ce=!0})=>re?Ae.createElement(b.Z,{watch:ce,isFocus:!0,height:te||void 0,placeholder:z,defaultValue:x,onChange:y,miniToolbar:ie}):Ae.createElement("div",{style:{cursor:"pointer"}},x?Ae.createElement(be.Z,{className:se.Z.inputBorder,value:x}):Ae.createElement("div",{className:`${se.Z.inputBorder} ${se.Z.placeholder} inputBorderError`},z))},44272:function(_t,Rt,ae){"use strict";ae.d(Rt,{W:function(){return Le}});var b=ae(59301),se=ae(8591),be=ae(12563),Ae=ae(78241),Ie=ae(78673),Re=ae(95237),ue=ae(43604),Ze=ae(6848),We=ae(92832),Te=ae(5871),ke=ae(8423),je=ae(31457),De=ae(39793),le=ae(61485),E=Object.defineProperty,a=Object.defineProperties,x=Object.getOwnPropertyDescriptors,y=Object.getOwnPropertySymbols,z=Object.prototype.hasOwnProperty,te=Object.prototype.propertyIsEnumerable,re=(ve,$e,He)=>$e in ve?E(ve,$e,{enumerable:!0,configurable:!0,writable:!0,value:He}):ve[$e]=He,ie=(ve,$e)=>{for(var He in $e||($e={}))z.call($e,He)&&re(ve,He,$e[He]);if(y)for(var He of y($e))te.call($e,He)&&re(ve,He,$e[He]);return ve},ce=(ve,$e)=>a(ve,x($e)),pe=(ve,$e)=>{var He={};for(var it in ve)z.call(ve,it)&&$e.indexOf(it)<0&&(He[it]=ve[it]);if(ve!=null&&y)for(var it of y(ve))$e.indexOf(it)<0&&te.call(ve,it)&&(He[it]=ve[it]);return He};const ge=ve=>{var $e=ve,{value:He,onChange:it}=$e,Ne=pe($e,["value","onChange"]);const Qe=lt=>{it([lt])};return b.createElement(De.Z,ce(ie({},Ne),{defaultValue:He==null?void 0:He[0],onChange:Qe}))},ye=ve=>{if(!ve)return!1;if(/^s*$/.test(ve)||ve.trim()===""){se.ZP.warning("\u5173\u952E\u8BCD\u4E0D\u80FD\u5168\u4E3A\u7A7A\u683C");return}let $e=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 ve==="|"?(se.ZP.warning("\u5173\u952E\u8BCD\u4E0D\u80FD\u53EA\u8F93\u5165\u4E00\u4E2A\u201C|\u201D\u5B57\u7B26\uFF01"),!1):!0},Ee=({value:ve=[],onClose:$e})=>b.createElement(be.default,{closable:!0,onClose:$e,className:ke.Z.keywordTag},b.createElement("pre",{style:{margin:"0px",whiteSpace:"pre-wrap"}},ve.join(" \u6216 "))),Le=({questionTitlePlaceholder:ve,form:$e,showKeywords:He,isMustKeyWords:it=He})=>{const[Ne,Qe]=(0,b.useState)(!1),[lt,Ke]=(0,b.useState)(""),Ye=Ae.default.useWatch("use_keywords",$e),Kt=Ae.default.useWatch("question_score",$e);return b.createElement("div",{className:ke.Z.wrap},b.createElement("div",{className:ke.Z.questionTitleEditorWrap},b.createElement(Ae.default.Item,{label:"\u9898\u5E72",name:"name",labelCol:{span:24},rules:[{required:!0}]},b.createElement(je.h,{scrollId:"name",watch:!0,height:140,placeholder:ve}))),b.createElement(Ae.default.Item,{label:"\u53C2\u8003\u7B54\u6848",name:"answer_texts",labelCol:{span:24}},b.createElement(ge,{watch:!0,height:140,placeholder:"\u8BF7\u7F16\u8F91\u53C2\u8003\u7B54\u6848\uFF08\u975E\u5FC5\u586B\uFF09"})),He&&!it&&b.createElement(Ae.default.Item,{hidden:!0,name:"use_keywords",valuePropName:"checked"},b.createElement(Ie.Z,{defaultChecked:!0})),He&&it&&b.createElement(Re.Z,{align:"middle",className:"mb30"},b.createElement(Ae.default.Item,{name:"use_keywords",valuePropName:"checked"},b.createElement(Ie.Z,null)),b.createElement(ue.Z,{className:"ml10"},"\u5F00\u542F\u5173\u952E\u8BCD\u81EA\u52A8\u5224\u5206"),b.createElement(ue.Z,null,b.createElement(Ze.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"},b.createElement(le.Z,{style:{color:"#3061D0",marginLeft:6,cursor:"pointer"}})))),(Ye||!it)&&b.createElement(Ae.default.List,{name:"keywords",rules:[{validator(ot,Ht){return it?Ht!=null&&Ht.length?(Ht==null?void 0:Ht.reduce((Je,ft)=>Je+ft.score,0))>parseFloat(Kt)?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()}}]},(ot,{add:Ht,remove:en})=>b.createElement(b.Fragment,null,b.createElement("div",{className:`${ke.Z.title} mb10`},it?"\u5173\u952E\u8BCD":b.createElement("span",{style:{color:"#9096A3"}},"\u5224\u5206\u5173\u952E\u8BCD")),b.createElement(Re.Z,{align:"middle",className:"font14 mb30"},b.createElement(ue.Z,{flex:1},b.createElement(We.default,{value:lt,onChange:Je=>{Ke(Je.target.value)},maxLength:50,allowClear:!0,onPressEnter:Je=>{var ft,Dt,ln,yt;const Yt=`${(ft=Je.target)==null?void 0:ft.value}`,Be=(ln=(Dt=Yt==null?void 0:Yt.split("|"))==null?void 0:Dt.filter(Ft=>!!Ft))==null?void 0:ln.map(Ft=>Ft==null?void 0:Ft.trim()),Ut=$e.getFieldValue("keywords"),Cn=((yt=Ut==null?void 0:Ut.map(Ft=>Ft==null?void 0:Ft.keyword))==null?void 0:yt.flat())||[];for(const Ft of Be)if(Cn.includes(Ft)){se.ZP.error("\u4E3A\u907F\u514D\u5224\u5206\u9519\u8BEF\uFF0C\u8BF7\u52FF\u8BBE\u7F6E\u76F8\u540C\u7684\u5173\u952E\u8BCD");return}ye(Yt)&&(Ht({keyword:Be,score:1}),Ke(""))},className:ke.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"})),b.createElement(ue.Z,{flex:"148px",style:{textAlign:"right",color:"#e99237"}},"\u201C\u56DE\u8F66\u952E\u201D\u4FDD\u5B58\u5173\u952E\u8BCD")),ot.map(Je=>{var ft=Je,{key:Dt,name:ln}=ft,yt=pe(ft,["key","name"]);return b.createElement(Re.Z,{key:Dt,className:"mb20",style:{marginRight:148}},b.createElement(ue.Z,{flex:1},b.createElement(Re.Z,{align:"middle",justify:"space-between"},b.createElement(Ae.default.Item,ce(ie({},yt),{name:[ln,"keyword"]}),b.createElement(Ee,{onClose:()=>en(ln)})),it&&b.createElement(Ae.default.Item,ce(ie({},yt),{name:[ln,"score"],label:"\u5206\u503C",rules:[{required:!0}],className:ke.Z.blankInputNumberWrapper}),b.createElement(Te.Z,{className:ke.Z.blankInput,min:.1,max:100,precision:1,style:{width:"100%"},placeholder:"\u8BF7\u8F93\u5165\u5173\u952E\u8BCD\u5206\u6570"})))))}))),b.createElement("div",{onClick:()=>Qe(!0)},b.createElement(Ae.default.Item,{name:"analysis",label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},b.createElement(je.x,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:Ne}))))}},77762:function(_t,Rt,ae){"use strict";ae.d(Rt,{tc:function(){return xa.t},uh:function(){return b.u},rL:function(){return Yn},u8:function(){return be.u},ZZ:function(){return se.Z},Wk:function(){return Ae.W}});var b=ae(81727),se=ae(14289),be=ae(92046),Ae=ae(44272),Ie=ae(59301),Re=ae(36381),ue=ae(78241),Ze=ae(95237),We=ae(43604),Te=ae(5871),ke=ae(6848),je=ae(38854),De=ae(8423),le=ae(12893),E=ae(31457),a=ae(43418),x=ae(92832),y=ae(78673),z=ae(59301),te=Object.defineProperty,re=Object.defineProperties,ie=Object.getOwnPropertyDescriptors,ce=Object.getOwnPropertySymbols,pe=Object.prototype.hasOwnProperty,ge=Object.prototype.propertyIsEnumerable,ye=(on,qt,pn)=>qt in on?te(on,qt,{enumerable:!0,configurable:!0,writable:!0,value:pn}):on[qt]=pn,Ee=(on,qt)=>{for(var pn in qt||(qt={}))pe.call(qt,pn)&&ye(on,pn,qt[pn]);if(ce)for(var pn of ce(qt))ge.call(qt,pn)&&ye(on,pn,qt[pn]);return on},Le=(on,qt)=>re(on,ie(qt)),ve=(on,qt)=>{var pn={};for(var Zn in on)pe.call(on,Zn)&&qt.indexOf(Zn)<0&&(pn[Zn]=on[Zn]);if(on!=null&&ce)for(var Zn of ce(on))qt.indexOf(Zn)<0&&ge.call(on,Zn)&&(pn[Zn]=on[Zn]);return pn};const $e=({value:on,onChange:qt})=>{const pn=xn=>{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:De.Z.modal,onOk:()=>{const Na=[...on];Na.splice(xn,1),qt(Na)}})},Zn=()=>{const xn=[...on];xn.push(""),qt(xn)};return z.createElement(Ze.Z,{className:"ml20"},z.createElement(We.Z,{flex:1},on==null?void 0:on.map((xn,Na)=>z.createElement(Ze.Z,{key:`${xn}_${Na}`,align:"middle",className:"mb20"},z.createElement(x.default.TextArea,{style:{flex:1,minHeight:44},defaultValue:xn,autoSize:{maxRows:3},maxLength:1e3,onBlur:Wa=>{const ta=[...on],En=Wa.target.value.trim();ta[Na]=En,qt(ta)}}),z.createElement(ke.Z,{title:"\u5220\u9664"},z.createElement(le.Z,{className:De.Z.deleteIcon,style:{marginLeft:15,visibility:Na>0?"visible":"hidden"},onClick:()=>pn(Na)}))))),z.createElement(We.Z,null,z.createElement("div",{className:`${De.Z.addBtn}`,onClick:()=>{Zn()}},"\u65B0\u589E\u7B54\u6848")))},He=({value:on=!0,onChange:qt})=>z.createElement(y.Z,{checked:!on,onChange:pn=>{qt(!pn)}}),it="\u2581",Ne=({questionTitlePlaceholder:on,form:qt,name:pn,scoreByBlank:Zn=!1,answerKey:xn,titleKey:Na="name",analysisKey:Wa="analysis",isOrdered:ta="is_ordered"})=>{var En,Oa;const[Ve,Bt]=(0,Ie.useState)(!1),Gt=(Wt,vn)=>{const an=vn.line;let kn=0;for(let Bn=0;Bn<an;Bn++)kn+=Wt.getLine(Bn).split(it).length-1;const Fn=Wt.getLine(an).substring(0,vn.ch);return kn+=Fn.split(it).length-1,kn},Vt=(Wt,vn,an,kn)=>{const Fn=Wt.getRange(vn.from,vn.to);let Bn=0;if(vn.text.forEach(Un=>{Bn+=Un.split(it).length-1}),vn.origin!=="setValue"){if(Fn&&Fn.indexOf(it)!==-1){const Un=Fn.split(it).length-1,Ra=Gt(Wt,vn.from);if(console.log(`\u5220\u9664${Un}\u4E2A\uFF0C \u524D\u9762\u6709${Ra}\u4E2A\uFF0C\u65B0\u589E${Bn}\u4E2A`),Un>1){const yn=Array.from({length:Un},(pa,$a)=>Ra+$a);kn(yn)}else kn(Ra)}else if(Bn>0){const Un=Gt(Wt,vn.from);console.log(`\u65B0\u589E${Bn}\u4E2A\uFF0C\u4E4B\u524D\u6709${Un}\u4E2A`),an(Bn,Un)}}},tn=()=>{const Wt=qt.getFieldValue(["sub_item_banks",...xn]);qt.setFieldValue(["sub_item_banks",...xn],Wt==null?void 0:Wt.map((vn,an)=>Le(Ee({},vn),{position:an+1})))},Sn=(0,Ie.useRef)(),mn=(Wt,vn)=>{for(let an=0;an<Wt;an++)Sn.current({position:null,answer_text:[""]},vn+an);tn()},ut=(0,Ie.useRef)(),pt=Wt=>{ut.current(Wt),tn()},ct=(Oa=(En=qt.getFieldValue("sub_item_banks"))==null?void 0:En[xn==null?void 0:xn[0]])==null?void 0:Oa[xn==null?void 0:xn[1]];return(0,Ie.useEffect)(()=>{console.log("========",qt.getFieldsValue())},[qt]),z.createElement("div",{className:De.Z.wrap},z.createElement("div",{className:De.Z.questionTitleEditorWrap},z.createElement(ue.default.Item,{label:"\u9898\u5E72",name:Na,labelCol:{span:24},rules:[{required:!0}]},z.createElement(E.h,{scrollId:"name",watch:!0,height:140,placeholder:on,showNullButton:!0,onCMBeforeChange:(Wt,vn)=>{Vt(Wt,vn,mn,pt)}}))),z.createElement(ue.default.List,{name:xn,rules:[{validator(Wt,vn){if((vn==null?void 0:vn.length)===0)return Promise.reject(new Error("\u8BF7\u5148\u5728\u9898\u5E72\u4E2D\u63D2\u5165\u586B\u7A7A\u9879"));for(const an of vn){const{answer_text:kn}=an||{};if(kn!=null&&kn.some(Fn=>(Fn==null?void 0:Fn.length)===0))return Promise.reject(new Error("\u586B\u7A7A\u9879\u7B54\u6848\u4E0D\u80FD\u4E3A\u7A7A"))}return Promise.resolve()}}]},(Wt,{add:vn,remove:an},{errors:kn})=>(Sn.current=vn,ut.current=an,z.createElement(z.Fragment,null,z.createElement(ue.default.Item,{label:z.createElement("span",null,"\u586B\u7A7A\u9879\u7B54\u6848",!(Wt!=null&&Wt.length)&&z.createElement("span",{style:{color:"#E99237"}},"\uFF08\u8BF7\u5148\u5728\u9898\u5E72\u4E2D\u63D2\u5165\u586B\u7A7A\u9879\uFF09")),required:!0,labelCol:{span:24}}),Wt.map((Fn,Bn)=>{var Un=Fn,{key:Ra,name:yn}=Un,pa=ve(Un,["key","name"]);return z.createElement(Ze.Z,{align:"top",key:Ra},z.createElement(We.Z,{className:`${De.Z.blankIndex} pt5`},"\u586B\u7A7A\u9879",Bn+1),z.createElement(We.Z,{flex:1},z.createElement(Ze.Z,{align:"top",justify:"space-between"},z.createElement(We.Z,{flex:1},z.createElement(ue.default.Item,Le(Ee({},pa),{name:[yn,"answer_text"],noStyle:!0}),z.createElement($e,null))),Zn&&z.createElement(We.Z,{flex:"224px"},z.createElement(ue.default.Item,Le(Ee({},pa),{name:[yn,"score"],label:"\u5206\u503C",rules:[{required:!0}],className:De.Z.blankInputNumberWrapper}),z.createElement(Te.Z,{className:De.Z.blankInput,min:.1,max:100,precision:1,style:{width:"100%"},placeholder:"\u6309\u7A7A\u7ED9\u5206\u8BF7\u8F93\u5165\u5206\u503C"})))),z.createElement(ue.default.Item,Le(Ee({},pa),{name:[yn,"position"],noStyle:!0}),z.createElement(x.default,{type:"hidden"}))))})))),z.createElement(Ze.Z,{align:"middle"},z.createElement(ue.default.Item,{name:[pn,"downcase"],valuePropName:"checked"},z.createElement(y.Z,null)),z.createElement(We.Z,{className:"ml10"},"\u5224\u5206\u65F6\u5FFD\u7565\u7B54\u6848\u4E2D\u7684\u5B57\u6BCD\u5927\u5C0F\u5199")),z.createElement(Ze.Z,{align:"middle"},z.createElement(ue.default.Item,{name:[pn,"no_space"],valuePropName:"checked"},z.createElement(y.Z,null)),z.createElement(We.Z,{className:"ml10"},"\u5224\u5206\u65F6\u5FFD\u7565\u7B54\u6848\u4E2D\u7684\u7A7A\u683C")),(ct==null?void 0:ct.length)>1&&z.createElement(Ze.Z,{align:"middle",className:(ct==null?void 0:ct.length)>1?"mb30":`${De.Z.hide}`},z.createElement(ue.default.Item,{name:ta},z.createElement(He,null)),z.createElement(We.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")),z.createElement("div",{className:"mt30",onClick:()=>Bt(!0)},z.createElement(ue.default.Item,{name:Wa,label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},z.createElement(E.x,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:Ve}))))};var Qe=ae(59301),lt=Object.defineProperty,Ke=Object.defineProperties,Ye=Object.getOwnPropertyDescriptors,Kt=Object.getOwnPropertySymbols,ot=Object.prototype.hasOwnProperty,Ht=Object.prototype.propertyIsEnumerable,en=(on,qt,pn)=>qt in on?lt(on,qt,{enumerable:!0,configurable:!0,writable:!0,value:pn}):on[qt]=pn,Je=(on,qt)=>{for(var pn in qt||(qt={}))ot.call(qt,pn)&&en(on,pn,qt[pn]);if(Kt)for(var pn of Kt(qt))Ht.call(qt,pn)&&en(on,pn,qt[pn]);return on},ft=(on,qt)=>Ke(on,Ye(qt)),Dt=(on,qt)=>{var pn={};for(var Zn in on)ot.call(on,Zn)&&qt.indexOf(Zn)<0&&(pn[Zn]=on[Zn]);if(on!=null&&Kt)for(var Zn of Kt(on))qt.indexOf(Zn)<0&&Ht.call(on,Zn)&&(pn[Zn]=on[Zn]);return pn};const ln={\u6B63\u786E:"T",\u9519\u8BEF:"F"},yt=({value:on,onChange:qt,form:pn,choiceKey:Zn})=>{const xn=(on==null?void 0:on.is_answer)===1,Na=on==null?void 0:on.choice_text,Wa=()=>{var ta;const En=(ta=pn==null?void 0:pn.getFieldValue(["sub_item_banks",...Zn]))==null?void 0:ta.map(Oa=>({choice_text:Oa.choice_text,is_answer:0}));pn==null||pn.setFieldValue(["sub_item_banks",...Zn],En),qt(ft(Je({},on),{is_answer:1}))};return Qe.createElement(Ze.Z,{className:De.Z.choiceWrap,align:"middle",wrap:!1},Qe.createElement(We.Z,{onClick:Wa,className:`${De.Z.choiceIndex} ${De.Z.judgementIndex} ${xn?De.Z.activeAnswer:""}`},ln[Na]),Qe.createElement(We.Z,{flex:1,className:`${De.Z.editorWrap} ml15`},Qe.createElement("div",{className:`${De.Z.inputBorder} ${De.Z.placeholder} ${xn?De.Z.activeJudgementAnswer:""}`},Na)),Qe.createElement(We.Z,{flex:"0 0 auto",className:"ml15"},Qe.createElement("div",{onClick:Wa,className:`${De.Z.setAnswerBtn} ${xn?De.Z.activeAnswer:""}`},xn?"\u6B63\u786E\u7B54\u6848":"\u8BBE\u4E3A\u7B54\u6848")))},Yt=({questionTitlePlaceholder:on,choiceKey:qt="choices",form:pn,titleKey:Zn="name",analysisKey:xn="analysis"})=>{const[Na,Wa]=(0,Ie.useState)(!1);return Qe.createElement("div",{className:De.Z.wrap},Qe.createElement("div",{className:De.Z.questionTitleEditorWrap},Qe.createElement(ue.default.Item,{label:"\u9898\u5E72",name:Zn,labelCol:{span:24},rules:[{required:!0}]},Qe.createElement(E.h,{scrollId:"name",watch:!0,height:140,placeholder:on}))),Qe.createElement(ue.default.Item,{label:"\u7B54\u6848\u9009\u9879",required:!0,labelCol:{span:24}},Qe.createElement(ue.default.List,{name:qt,rules:[{validator(ta,En){return En.some(Ve=>(Ve==null?void 0:Ve.is_answer)===1)?Promise.resolve():Promise.reject(new Error("\u8BF7\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848"))}}]},ta=>Qe.createElement("div",{id:"choices",style:{display:"flex",flexDirection:"column",gap:"20px"}},ta.map(En=>{var Oa=En,{key:Ve,name:Bt}=Oa,Gt=Dt(Oa,["key","name"]);return Qe.createElement(ue.default.Item,ft(Je({},Gt),{key:Ve,name:Bt,noStyle:!0}),Qe.createElement(yt,{form:pn,choiceKey:qt}))})))),Qe.createElement("div",{className:"mt30",onClick:()=>Wa(!0)},Qe.createElement(ue.default.Item,{name:xn,label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},Qe.createElement(E.x,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:Na}))))};var Be=ae(8591),Ut=ae(12563),Cn=ae(39793),Ft=ae(61485),It=Object.defineProperty,nt=Object.defineProperties,Ue=Object.getOwnPropertyDescriptors,Fe=Object.getOwnPropertySymbols,he=Object.prototype.hasOwnProperty,at=Object.prototype.propertyIsEnumerable,At=(on,qt,pn)=>qt in on?It(on,qt,{enumerable:!0,configurable:!0,writable:!0,value:pn}):on[qt]=pn,we=(on,qt)=>{for(var pn in qt||(qt={}))he.call(qt,pn)&&At(on,pn,qt[pn]);if(Fe)for(var pn of Fe(qt))at.call(qt,pn)&&At(on,pn,qt[pn]);return on},Ce=(on,qt)=>nt(on,Ue(qt)),vt=(on,qt)=>{var pn={};for(var Zn in on)he.call(on,Zn)&&qt.indexOf(Zn)<0&&(pn[Zn]=on[Zn]);if(on!=null&&Fe)for(var Zn of Fe(on))qt.indexOf(Zn)<0&&at.call(on,Zn)&&(pn[Zn]=on[Zn]);return pn};const Xe=on=>{var qt=on,{value:pn,onChange:Zn}=qt,xn=vt(qt,["value","onChange"]);const Na=Wa=>{Zn([Wa])};return Ie.createElement(Cn.Z,Ce(we({},xn),{defaultValue:pn==null?void 0:pn[0],onChange:Na}))},_e=on=>{if(!on)return!1;let qt=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 on==="|"?(Be.ZP.warning("\u5173\u952E\u8BCD\u4E0D\u80FD\u53EA\u8F93\u5165\u4E00\u4E2A\u201C|\u201D\u5B57\u7B26\uFF01"),!1):!0},Pt=({value:on=[],onClose:qt})=>Ie.createElement(Ut.default,{closable:!0,onClose:qt,className:De.Z.keywordTag},Ie.createElement("pre",{style:{margin:"0px",whiteSpace:"pre-wrap"}},on.join(" \u6216 "))),cn=({questionTitlePlaceholder:on,form:qt,showKeywords:pn,isMustKeyWords:Zn=pn,titleKey:xn="name",analysisKey:Na="analysis",answerTexts:Wa="answer_texts",keywords:ta="keywords",useKeywords:En="use_keywords",indexs:Oa})=>{const[Ve,Bt]=(0,Ie.useState)(!1),[Gt,Vt]=(0,Ie.useState)(""),[tn,Sn]=(0,Ie.useState)(!1),mn=ue.default.useWatch("question_score",qt);return Ie.createElement("div",{className:De.Z.wrap},Ie.createElement("div",{className:De.Z.questionTitleEditorWrap},Ie.createElement(ue.default.Item,{label:"\u9898\u5E72",name:xn,labelCol:{span:24},rules:[{required:!0}]},Ie.createElement(E.h,{scrollId:"name",watch:!0,height:140,placeholder:on}))),Ie.createElement(ue.default.Item,{label:"\u53C2\u8003\u7B54\u6848",name:Wa,labelCol:{span:24}},Ie.createElement(Xe,{watch:!0,height:140,placeholder:"\u8BF7\u7F16\u8F91\u53C2\u8003\u7B54\u6848\uFF08\u975E\u5FC5\u586B\uFF09"})),pn&&!Zn&&Ie.createElement(ue.default.Item,{hidden:!0,name:En,valuePropName:"checked"},Ie.createElement(y.Z,{defaultChecked:!0})),pn&&Zn&&Ie.createElement(Ze.Z,{align:"middle",className:"mb30"},Ie.createElement(ue.default.Item,{name:En,valuePropName:"checked"},Ie.createElement(y.Z,{onChange:()=>{var ut,pt,ct,Wt,vn,an;console.log(qt.getFieldsValue()),Sn((ct=(pt=(ut=qt.getFieldsValue())==null?void 0:ut.sub_item_banks)==null?void 0:pt[Oa])==null?void 0:ct.use_keywords),console.log((an=(vn=(Wt=qt.getFieldsValue())==null?void 0:Wt.sub_item_banks)==null?void 0:vn[Oa])==null?void 0:an.use_keywords),console.log(tn)}})),Ie.createElement(We.Z,{className:"ml10"},"\u5F00\u542F\u5173\u952E\u8BCD\u81EA\u52A8\u5224\u5206"),Ie.createElement(We.Z,null,Ie.createElement(ke.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"},Ie.createElement(Ft.Z,{style:{color:"#3061D0",marginLeft:6,cursor:"pointer"}})))),(tn||!Zn)&&Ie.createElement(ue.default.List,{name:ta,rules:[{validator(ut,pt){return Zn?pt!=null&&pt.length?(pt==null?void 0:pt.reduce((Wt,vn)=>Wt+vn.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()}}]},(ut,{add:pt,remove:ct})=>Ie.createElement(Ie.Fragment,null,Ie.createElement("div",{className:`${De.Z.title} mb10`},Zn?"\u5173\u952E\u8BCD":Ie.createElement("span",{style:{color:"#9096A3"}},"\u5224\u5206\u5173\u952E\u8BCD")),Ie.createElement(Ze.Z,{align:"middle",className:"font14 mb30"},Ie.createElement(We.Z,{flex:1},Ie.createElement(x.default,{value:Gt,onChange:Wt=>{Vt(Wt.target.value)},maxLength:50,allowClear:!0,onPressEnter:Wt=>{var vn,an,kn,Fn;const Bn=`${(vn=Wt.target)==null?void 0:vn.value}`,Un=(kn=(an=Bn==null?void 0:Bn.split("|"))==null?void 0:an.filter(pa=>!!pa))==null?void 0:kn.map(pa=>pa==null?void 0:pa.trim()),Ra=qt.getFieldValue(["sub_item_banks",...ta]),yn=((Fn=Ra==null?void 0:Ra.map(pa=>pa==null?void 0:pa.keyword))==null?void 0:Fn.flat())||[];for(const pa of Un)if(yn.includes(pa)){Be.ZP.error("\u4E3A\u907F\u514D\u5224\u5206\u9519\u8BEF\uFF0C\u8BF7\u52FF\u8BBE\u7F6E\u76F8\u540C\u7684\u5173\u952E\u8BCD");return}_e(Bn)&&(pt({keyword:Un,score:1}),Vt(""))},className:De.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"})),Ie.createElement(We.Z,{flex:"148px",style:{textAlign:"right",color:"#e99237"}},"\u201C\u56DE\u8F66\u952E\u201D\u4FDD\u5B58\u5173\u952E\u8BCD")),ut.map(Wt=>{var vn=Wt,{key:an,name:kn}=vn,Fn=vt(vn,["key","name"]);return Ie.createElement(Ze.Z,{key:an,className:"mb20",style:{marginRight:148}},Ie.createElement(We.Z,{flex:1},Ie.createElement(Ze.Z,{align:"middle",justify:"space-between"},Ie.createElement(ue.default.Item,Ce(we({},Fn),{name:[kn,"keyword"]}),Ie.createElement(Pt,{onClose:()=>ct(kn)})),Zn&&Ie.createElement(ue.default.Item,Ce(we({},Fn),{name:[kn,"score"],label:"\u5206\u503C",rules:[{required:!0}],className:De.Z.blankInputNumberWrapper}),Ie.createElement(Te.Z,{className:De.Z.blankInput,min:.1,max:100,precision:1,style:{width:"100%"},placeholder:"\u8BF7\u8F93\u5165\u5173\u952E\u8BCD\u5206\u6570"})))))}))),Ie.createElement("div",{onClick:()=>Bt(!0)},Ie.createElement(ue.default.Item,{name:Na,label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},Ie.createElement(E.x,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:Ve}))))};var Ot=ae(59301),Xt=Object.defineProperty,$t=Object.defineProperties,nn=Object.getOwnPropertyDescriptors,bt=Object.getOwnPropertySymbols,rn=Object.prototype.hasOwnProperty,wn=Object.prototype.propertyIsEnumerable,Zt=(on,qt,pn)=>qt in on?Xt(on,qt,{enumerable:!0,configurable:!0,writable:!0,value:pn}):on[qt]=pn,wt=(on,qt)=>{for(var pn in qt||(qt={}))rn.call(qt,pn)&&Zt(on,pn,qt[pn]);if(bt)for(var pn of bt(qt))wn.call(qt,pn)&&Zt(on,pn,qt[pn]);return on},Ln=(on,qt)=>$t(on,nn(qt)),zn=(on,qt)=>{var pn={};for(var Zn in on)rn.call(on,Zn)&&qt.indexOf(Zn)<0&&(pn[Zn]=on[Zn]);if(on!=null&&bt)for(var Zn of bt(on))qt.indexOf(Zn)<0&&wn.call(on,Zn)&&(pn[Zn]=on[Zn]);return pn};const{Panel:Wn}=Re.default,Yn=({questionTitlePlaceholder:on,choiceKey:qt,form:pn,withScore:Zn})=>{const[xn,Na]=(0,Ie.useState)([]),Wa=ta=>{Na(ta)};return Ot.createElement("div",{className:De.Z.wrap},Ot.createElement("div",{className:De.Z.questionTitleEditorWrap},Ot.createElement(ue.default.Item,{label:"\u9898\u5E72",name:"name",labelCol:{span:24},rules:[{required:!0}]},Ot.createElement(E.h,{scrollId:"name",watch:!0,height:140,placeholder:on}))),Ot.createElement(ue.default.Item,{label:"\u5C0F\u9898",required:!0,labelCol:{span:24}}),Ot.createElement(ue.default.List,{name:"sub_item_banks",rules:[{validator(ta,En){return En?Promise.resolve():Promise.reject(new Error("\u8BF7\u6DFB\u52A0\u5C0F\u9898"))}}]},(ta,{add:En,remove:Oa,move:Ve})=>{const Bt=pn.getFieldValue("sub_item_banks");return Ot.createElement(Ot.Fragment,null,Ot.createElement(Re.default,{className:ta.length>0?De.Z.collapseWrapper:"",bordered:!1,activeKey:xn,onChange:Wa,expandIcon:({isActive:Gt})=>Ot.createElement("i",{className:`iconfont icon-weizhankai ${Gt?De.Z.open:De.Z.close}`,style:{fontSize:14,transition:"all .2s"}})},ta.map((Gt,Vt)=>{var tn=Gt,{key:Sn,name:mn}=tn,ut=zn(tn,["key","name"]),pt,ct,Wt,vn,an,kn,Fn,Bn,Un,Ra;return Ot.createElement(Wn,{className:De.Z.panel,forceRender:!0,header:Ot.createElement("div",{className:De.Z.panelHeader},"\u7B2C",Vt+1,"\u5C0F\u9898",Ot.createElement("span",null,"\uFF08",((pt=Bt==null?void 0:Bt[mn])==null?void 0:pt.item_type)=="SINGLE"?"\u5355\u9009\u9898":((ct=Bt==null?void 0:Bt[mn])==null?void 0:ct.item_type)=="MULTIPLE"?"\u591A\u9009\u9898":((Wt=Bt==null?void 0:Bt[mn])==null?void 0:Wt.item_type)=="COMPLETION"?"\u586B\u7A7A\u9898":((vn=Bt==null?void 0:Bt[mn])==null?void 0:vn.item_type)=="JUDGMENT"?"\u5224\u65AD\u9898":"\u7B80\u7B54\u9898","\uFF09")),key:mn,extra:Ot.createElement(Ze.Z,{align:"middle",onClick:yn=>yn.stopPropagation()},Zn&&Ot.createElement(We.Z,null,Ot.createElement(ue.default.Item,Ln(wt({},ut),{rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5C0F\u9898\u5206\u503C"}],label:"\u5206\u503C",name:[mn,"question_score"],className:De.Z.blankInputNumberWrapper}),Ot.createElement(Te.Z,{className:De.Z.blankInput,placeholder:"\u8BF7\u8F93\u5165\u5F53\u524D\u5C0F\u9898\u5206\u6570",min:.1,precision:1,max:100,style:{width:150}}))),Ot.createElement(We.Z,null,Ot.createElement(Ze.Z,{align:"middle",className:"pl40",justify:"end"},Vt!==0&&Ot.createElement("div",{onClick:()=>{var yn;Ve(Vt,Vt-1);const pa=(yn=pn.getFieldValue("sub_item_banks"))==null?void 0:yn.map(($a,lr)=>(ta.map((Jn,sn)=>{lr===sn&&($a.q_position=Number(Jn.name)+1)}),$a));pn.setFieldValue("sub_item_banks",pa)}},Ot.createElement(ke.Z,{title:"\u4E0A\u79FB"},Ot.createElement("i",{className:"iconfont icon-shangyi3 c-grey-999 primary-hover"}))),Vt<ta.length-1&&Ot.createElement("div",{onClick:()=>{var yn;Ve(Vt,Vt+1);const pa=(yn=pn.getFieldValue("sub_item_banks"))==null?void 0:yn.map(($a,lr)=>(ta.map((Jn,sn)=>{lr===sn&&($a.q_position=Number(Jn.name)+1)}),$a));pn.setFieldValue("sub_item_banks",pa)},className:Vt===0?"":"ml15"},Ot.createElement(ke.Z,{title:"\u4E0B\u79FB"},Ot.createElement("i",{className:"iconfont icon-xiayi3 c-grey-999 primary-hover"}))))),Ot.createElement(We.Z,null,Ot.createElement(ke.Z,{title:"\u5220\u9664"},Ot.createElement(le.Z,{className:`${De.Z.deleteIcon} ml15`,onClick:()=>Oa(mn)}))))},Ot.createElement(ue.default.Item,Ln(wt({},ut),{name:mn}),(((an=Bt==null?void 0:Bt[mn])==null?void 0:an.item_type)=="SINGLE"||((kn=Bt==null?void 0:Bt[mn])==null?void 0:kn.item_type)=="MULTIPLE")&&Ot.createElement(b.u,{questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u9009\u62E9\u9898\u9898\u5E72\u5185\u5BB9",allowChangeMode:((Fn=Bt==null?void 0:Bt[mn])==null?void 0:Fn.item_type)=="MULTIPLE",form:pn,choiceKey:[mn,"choices"],titleKey:[mn,"name"],analysisKey:[mn,"analysis"],choiceOptionsPath:["sub_item_banks",mn,"choices"],choiceTextKey:"choice_text",answerKey:"is_answer"}),((Bn=Bt==null?void 0:Bt[mn])==null?void 0:Bn.item_type)=="COMPLETION"&&Ot.createElement(Ne,{form:pn,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"]}),((Un=Bt==null?void 0:Bt[mn])==null?void 0:Un.item_type)=="JUDGMENT"&&Ot.createElement(Yt,{form:pn,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u5224\u65AD\u9898\u9898\u5E72\u5185\u5BB9",titleKey:[mn,"name"],analysisKey:[mn,"analysis"],choiceKey:[mn,"choices"]}),((Ra=Bt==null?void 0:Bt[mn])==null?void 0:Ra.item_type)=="SUBJECTIVE"&&Ot.createElement(cn,{showKeywords:!0,isMustKeyWords:!1,form:pn,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"})))})),ta.length<20&&Ot.createElement(je.Z,{menu:{items:[{label:Ot.createElement("div",{onClick:()=>{En({name:"",choices:Array.from({length:4},()=>({choice_text:"",is_answer:0})),analysis:"",item_type:"SINGLE"}),Na([ta==null?void 0:ta.length,...xn])}},"\u5355\u9009\u9898"),key:"1",show:!0},{label:Ot.createElement("div",{onClick:()=>{En({name:"",choices:Array.from({length:4},()=>({choice_text:"",is_answer:0})),analysis:"",item_type:"MULTIPLE"}),Na([ta==null?void 0:ta.length,...xn])}},"\u591A\u9009\u9898"),key:"2",show:!0},{label:Ot.createElement("div",{onClick:()=>{En({name:"",choices:[{choice_text:"\u6B63\u786E",is_answer:0},{choice_text:"\u9519\u8BEF",is_answer:0}],analysis:"",item_type:"JUDGMENT"}),Na([ta==null?void 0:ta.length,...xn])}},"\u5224\u65AD\u9898"),key:"3",show:!0},{label:Ot.createElement("div",{onClick:()=>{En({name:"",analysis:"",is_ordered:!0,standard_answers:[],item_type:"COMPLETION",downcase:!0,no_space:!0}),Na([ta==null?void 0:ta.length,...xn])}},"\u586B\u7A7A\u9898"),key:"4",show:!0},{label:Ot.createElement("div",{onClick:()=>{En({name:"",answer_texts:[],keywords:[],use_keywords:!0,analysis:"",item_type:"SUBJECTIVE"}),Na([ta==null?void 0:ta.length,...xn])}},"\u7B80\u7B54\u9898"),key:"5",show:!0}].filter(Gt=>Gt.show).map(Gt=>({label:Gt.label,key:Gt.key}))}},Ot.createElement("div",{className:`${De.Z.addBtn}`},"\u6DFB\u52A0\u5C0F\u9898")))}))};var xa=ae(68571)},60572:function(_t,Rt,ae){"use strict";ae.d(Rt,{C:function(){return Ne}});var b=ae(59301),se={recalculation:"recalculation____i9AE",tips:"tips___GoMu8",filter:"filter___Vx7VO",input:"input___OEMMv",operating:"operating___TS9iA",operatingItem:"operatingItem___AT84q"},be=ae(92310),Ae=ae.n(be),Ie=ae(24905),Re=ae(95237),ue=ae(8591),Ze=ae(6848),We=ae(3113),Te=ae(43418),ke=ae(1710),je=ae(5871),De=ae(78241),le=ae(71418),E=ae(51257),a=ae(38986),x=ae(48790),y=ae(54650),z=ae(9148),te=Object.defineProperty,re=Object.defineProperties,ie=Object.getOwnPropertyDescriptors,ce=Object.getOwnPropertySymbols,pe=Object.prototype.hasOwnProperty,ge=Object.prototype.propertyIsEnumerable,ye=(Qe,lt,Ke)=>lt in Qe?te(Qe,lt,{enumerable:!0,configurable:!0,writable:!0,value:Ke}):Qe[lt]=Ke,Ee=(Qe,lt)=>{for(var Ke in lt||(lt={}))pe.call(lt,Ke)&&ye(Qe,Ke,lt[Ke]);if(ce)for(var Ke of ce(lt))ge.call(lt,Ke)&&ye(Qe,Ke,lt[Ke]);return Qe},Le=(Qe,lt)=>re(Qe,ie(lt)),ve=(Qe,lt,Ke)=>new Promise((Ye,Kt)=>{var ot=Je=>{try{en(Ke.next(Je))}catch(ft){Kt(ft)}},Ht=Je=>{try{en(Ke.throw(Je))}catch(ft){Kt(ft)}},en=Je=>Je.done?Ye(Je.value):Promise.resolve(Je.value).then(ot,Ht);en((Ke=Ke.apply(Qe,lt)).next())});const $e=Ie.default.Group,He=({className:Qe,title:lt,items:Ke=[],value:Ye,onChange:Kt})=>{const ot=(Ke==null?void 0:Ke.length)===(Ye==null?void 0:Ye.length),Ht=(Ye==null?void 0:Ye.length)>0&&(Ye==null?void 0:Ye.length)<(Ke==null?void 0:Ke.length),en=Je=>{const ft=Ke.map(Dt=>Dt.id);Kt(Je.target.checked?ft:[])};return b.createElement(Re.Z,{align:"middle",className:Qe},!!lt&&b.createElement("div",{className:"mr20",style:{color:"#5F6368"}},lt),b.createElement(Ie.default,{indeterminate:Ht,onChange:en,checked:ot},"\u5168\u90E8"),b.createElement($e,{value:Ye,onChange:Kt},Ke.map(Je=>b.createElement(Ie.default,{className:"ml30 c-black",key:Je.id,value:Je.id},Je.name,b.createElement("span",null,`(${Je.count})`)))))};var Ne=({className:Qe,style:lt,dataSource:Ke})=>{var Ye,Kt,ot,Ht,en,Je,ft;const[Dt,ln]=(0,b.useState)({}),[yt,Yt]=(0,b.useState)(!0),[Be,Ut]=(0,b.useState)(!1),[Cn,Ft]=(0,b.useState)(!1),[It,nt]=(0,b.useState)(null),[Ue,Fe]=(0,b.useState)(0),[he,at]=(0,b.useState)({}),[At,we]=(0,b.useState)(!0),[Ce,vt]=(0,b.useState)(0),[Xe,_e]=(0,b.useState)(0),[Pt,cn]=(0,b.useState)(!1),Ot=(0,b.useRef)(null),[Xt,$t]=(0,b.useState)(!1),[nn,bt]=(0,b.useState)(!0),[rn,wn]=(0,b.useState)([]),Zt={page:1,per_page:5,keyword:"",review:[],question_status:[],success_status:[],sort_by:null,direction:null},[wt,Ln]=(0,b.useState)(Ee({},Zt));(0,b.useEffect)(()=>{Ke!=null&&Ke.question_id&&ln(Ke)},[Ke==null?void 0:Ke.question_id]),(0,b.useEffect)(()=>{var En;if(((En=Dt==null?void 0:Dt.exercise_question_resubmit)==null?void 0:En.status)==="running"){const Oa=setInterval(()=>{Yn()},3e3);return()=>clearInterval(Oa)}},[(Ye=Dt==null?void 0:Dt.exercise_question_resubmit)==null?void 0:Ye.status]),(0,b.useEffect)(()=>{var En;Cn&&(Cn===1&&(wt.question_status=xa.map(Oa=>Oa.value),wt.review=on.map(Oa=>Oa.value)),Cn===2&&(wt.exercise_question_resubmit_id=(En=Dt==null?void 0:Dt.exercise_question_resubmit)==null?void 0:En.id,It===1&&(wt.success_status=[1]),It===2&&(wt.success_status=[0])),Ln(Ee({},wt)),zn(wt),_e(Dt!=null&&Dt.is_mirror?3:10),vt(Dt!=null&&Dt.is_mirror?1:5))},[Cn]),(0,b.useEffect)(()=>{Xt&&Wn()},[Xt]);const zn=En=>ve(void 0,null,function*(){Yt(!0);const Oa=yield(0,a.ZP)(`/api/exercise_questions/${Dt==null?void 0:Dt.question_id}/resubmit_student_list.json`,{method:"get",params:En});(Oa==null?void 0:Oa.status)==0&&(at(Oa||[]),Fe(Oa==null?void 0:Oa.count)),Yt(!1)}),Wn=()=>ve(void 0,null,function*(){bt(!0);const En=yield(0,a.ZP)(`/api/exercise_questions/${Dt==null?void 0:Dt.question_id}/resubmit_history.json`,{method:"get"});(En==null?void 0:En.status)==0&&wn((En==null?void 0:En.data)||[]),bt(!1)}),Yn=()=>ve(void 0,null,function*(){const En=yield(0,a.ZP)(`/api/exercise_questions/${Dt==null?void 0:Dt.question_id}/resubmit_status.json`,{method:"get"});(En==null?void 0:En.status)==0&&ln(Le(Ee({},Dt),{show_resubmit_history:!0,exercise_question_resubmit:(En==null?void 0:En.data)||{}}))}),xa=[{label:"\u672A\u8BC4\u6D4B",value:2,color:"#9096A3"},{label:"\u672A\u901A\u5173",value:0,color:"#E30000"},{label:"\u5DF2\u901A\u5173",value:1,color:"#00B187"}],on=[{label:"\u672A\u8BC4\u9605",value:0,color:"#9096A3"},{label:"\u8BC4\u9605\u4E2D",value:2,color:"#FF9D18"},{label:"\u5DF2\u8BC4\u9605",value:1,color:"#3061D0"}],qt=[{label:"\u6210\u529F",value:1,color:"#00B187"},{label:"\u5931\u8D25",value:0,color:"#E30000"}],pn=[{title:"\u5E8F\u53F7",dataIndex:"key",render:(En,Oa,Ve)=>b.createElement("span",{className:"c-black"},Ve+1+(wt.page-1)*wt.per_page)},{title:"\u59D3\u540D",dataIndex:"user_name",render:En=>b.createElement("span",{className:"c-black"},En)},{title:"\u5B66\u53F7",dataIndex:"student_id",sorter:!0,render:En=>b.createElement("span",{className:"c-grey-666"},En||"--")},{title:"\u5206\u73ED",dataIndex:"group_name",render:En=>b.createElement("span",{className:"c-black"},En)},{title:"\u9898\u76EE\u72B6\u6001",dataIndex:"question_status",render:En=>{const{label:Oa,color:Ve}=xa.find(Bt=>Bt.value===En)||{};return b.createElement("span",{style:{color:Ve}},Oa)}},{title:"\u9898\u76EE\u5F97\u5206",dataIndex:"question_score",sorter:!0,render:En=>b.createElement("span",{className:"c-black"},En)},{title:"\u6700\u7EC8\u6210\u7EE9",dataIndex:"score",sorter:!0,render:En=>b.createElement("span",{className:"c-black"},En)},{title:"\u8BC4\u9605\u72B6\u6001",dataIndex:"review",render:En=>{const{label:Oa,color:Ve}=on.find(Bt=>Bt.value===En)||{};return b.createElement("span",{style:{color:Ve}},Oa)}},Cn===2&&{title:"\u91CD\u65B0\u8BC4\u6D4B\u7ED3\u679C",dataIndex:"success_status",render:En=>{const{label:Oa,color:Ve}=qt.find(Bt=>Bt.value===En)||{};return b.createElement("span",{style:{color:Ve}},Oa)}}].filter(Boolean),Zn=(En,Oa,Ve)=>{wt.page=En==null?void 0:En.current,wt.per_page=En==null?void 0:En.pageSize,Ve!=null&&Ve.order?(wt.sort_by=Ve==null?void 0:Ve.field,wt.direction=(Ve==null?void 0:Ve.order)==="ascend"?"asc":"desc"):(wt.sort_by=null,wt.direction=null),Ln(Ee({},wt)),zn(wt)},xn=()=>{if(!Ce){ue.ZP.warning("\u8BF7\u8F93\u5165\u91CD\u65B0\u8BC4\u6D4B\u4EFB\u52A1\u5E76\u53D1\u4EBA\u6570");return}cn(!0)},Na=()=>ve(void 0,null,function*(){var En,Oa;if((En=Ot.current)!=null&&En.onVerify())return;Ut(!0);const Ve=yield(0,a.ZP)(`/api/exercise_questions/${Dt==null?void 0:Dt.question_id}/resubmit.json`,{method:"post",body:{keyword:wt.keyword,question_status:wt.question_status,review:wt.review_status,success_status:wt.success_status,use_max_score:At,permits:Ce,exercise_question_resubmit_id:Cn===1?null:(Oa=Dt==null?void 0:Dt.exercise_question_resubmit)==null?void 0:Oa.id}});(Ve==null?void 0:Ve.status)==0&&(yield Yn(),ue.ZP.success("\u64CD\u4F5C\u6210\u529F"),cn(!1),Ft(!1)),Ut(!1)}),Wa=(En,Oa)=>{wt.page=1,wt[Oa]=En,Ln(Ee({},wt)),zn(wt)},ta=["","\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 b.createElement(b.Fragment,null,b.createElement("div",{className:Ae()(se.recalculation,Qe),style:lt},b.createElement(Ze.Z,{title:ta[(Dt==null?void 0:Dt.disable_resubmit_reason)||0]},b.createElement(We.ZP,{disabled:(Dt==null?void 0:Dt.disable_resubmit)||((Kt=Dt==null?void 0:Dt.exercise_question_resubmit)==null?void 0:Kt.status)==="running",onClick:()=>Ft(1),icon:b.createElement("i",{className:"iconfont icon-zhongxinpingce font14"}),type:"primary",ghost:!0},"\u91CD\u65B0\u8BC4\u6D4B\u7B97\u5206")),(Dt==null?void 0:Dt.show_resubmit_history)&&b.createElement(b.Fragment,null,((ot=Dt==null?void 0:Dt.exercise_question_resubmit)==null?void 0:ot.status)==="running"?b.createElement("div",{className:"c-grey-666"},"\u91CD\u65B0\u8BC4\u6D4B\u4E2D\uFF0C\u5F53\u524D\u8FDB\u5EA6",b.createElement("span",{className:"c-light-primary ml3"},(Ht=Dt==null?void 0:Dt.exercise_question_resubmit)==null?void 0:Ht.rate)):b.createElement("div",{className:"c-grey-666"},"\u91CD\u65B0\u8BC4\u6D4B\u6210\u529F",b.createElement("span",{onClick:()=>{Ft(2),nt(1)},className:"current",style:{color:"#3061D0",textDecoration:"underline",margin:"0 3px"}},(en=Dt==null?void 0:Dt.exercise_question_resubmit)==null?void 0:en.success_student_count),"\u4EBA\uFF0C\u5931\u8D25",b.createElement("span",{onClick:()=>{Ft(2),nt(2)},className:"current",style:{color:"#E30000",textDecoration:"underline",margin:"0 3px"}},(Je=Dt==null?void 0:Dt.exercise_question_resubmit)==null?void 0:Je.fail_count),"\u4EBA"),b.createElement(Ze.Z,{title:"\u64CD\u4F5C\u8BB0\u5F55"},b.createElement("i",{onClick:()=>$t(!0),className:"iconfont icon-chakanshenqingjilu c-light-primary current font14"})))),b.createElement(Te.default,{centered:!0,open:!!Cn,title:`\u91CD\u65B0\u8BC4\u6D4B${Cn===1?"\u7B97\u5206":"\u7ED3\u679C"}`,width:870,okText:"\u91CD\u65B0\u8BC4\u6D4B\u7B97\u5206",onCancel:()=>Ft(!1),onOk:xn,afterClose:()=>{we(!0),nt(null),Ln(Ee({},Zt))}},b.createElement("div",{className:se.filter},Cn===1&&b.createElement(b.Fragment,null,b.createElement("div",{className:se.tips},b.createElement("div",{className:"mb5",style:{color:"#FF9D18"}},b.createElement("i",{className:"iconfont icon-tishi9 mr10 font14"}),"\u6E29\u99A8\u63D0\u793A"),b.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"),b.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"),b.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")),b.createElement(He,{className:"mt10",title:"\u9898\u76EE\u72B6\u6001",items:(he==null?void 0:he.question_status)||[],value:wt.question_status,onChange:En=>Wa(En,"question_status")}),b.createElement(He,{className:"mt10",title:"\u8BC4\u9605\u72B6\u6001",items:(he==null?void 0:he.review_status)||[],value:wt.review,onChange:En=>Wa(En,"review")})),Cn===2&&b.createElement(b.Fragment,null,b.createElement(He,{className:"mt10",title:"\u91CD\u65B0\u8BC4\u6D4B\u7ED3\u679C",items:(he==null?void 0:he.success_status)||[],value:wt.success_status,onChange:En=>Wa(En,"success_status")})),b.createElement(z.t7,{className:se.input,style:{bottom:Cn===1?10:-5},value:wt.keyword,onChange:En=>Wa(En,"keyword"),placeholder:"\u8BF7\u8F93\u5165\u59D3\u540D\u6216\u8005\u5B66\u53F7\u641C\u7D22"})),b.createElement(ke.default,{className:"mt20",columns:pn,scroll:((ft=he==null?void 0:he.data)==null?void 0:ft.length)>7?{y:300}:{},dataSource:(he==null?void 0:he.data)||[],loading:yt,onChange:Zn,pagination:{total:Ue,pageSize:wt.per_page,current:wt.page,hideOnSinglePage:!Ue,showSizeChanger:!0,pageSizeOptions:["5","10","20","50","100"],showQuickJumper:!0,size:"default",showTotal:E.rU}}),b.createElement(Re.Z,{justify:"space-between",align:"middle",className:"mt10"},b.createElement(Ie.default,{className:"c-black",checked:At,onChange:En=>we(En.target.checked)},"\u91CD\u65B0\u8BC4\u6D4B\u540E\u7684\u5206\u6570\u5927\u4E8E\u539F\u6765\u7684\u5206\u6570\u624D\u66F4\u65B0\u6210\u7EE9"),(0,x.Ny)()&&b.createElement("div",{className:"c-black"},"\u91CD\u65B0\u8BC4\u6D4B\u4EFB\u52A1\u5E76\u53D1\u4EBA\u6570",b.createElement(je.Z,{className:"ml10 mr10",value:Ce,max:Xe,min:1,precision:0,onChange:En=>vt(En)}),"\u4EBA",b.createElement(Ze.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"},b.createElement("i",{style:{color:"#9096A3"},className:"iconfont icon-tishi5 font13 ml10"}))))),b.createElement(Te.default,{centered:!0,title:"\u91CD\u65B0\u8BC4\u6D4B\u7B97\u5206",open:Pt,width:494,zIndex:1001,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",confirmLoading:Be,destroyOnClose:!0,onOk:Na,onCancel:()=>cn(!1)},b.createElement(De.default.Item,{className:"mb0",colon:!1,label:"\u9A8C\u8BC1\u7801",name:"code",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u9A8C\u8BC1\u7801"}]},b.createElement(y.Z,{ref:En=>Ot.current=En}))),b.createElement(Te.default,{centered:!0,title:"\u64CD\u4F5C\u8BB0\u5F55",open:Xt,width:710,onCancel:()=>$t(!1),footer:null},b.createElement(le.Z,{spinning:nn},b.createElement("div",{className:se.operating},rn.map((En,Oa)=>b.createElement("div",{key:Oa,className:se.operatingItem},b.createElement("div",{style:{flex:"0 0 180px"},className:"c-grey-666"},En==null?void 0:En.created_at),b.createElement("div",{className:"c-black"},En==null?void 0:En.user_name,"\u64CD\u4F5C\u4E86\u91CD\u65B0\u8BC4\u6D4B\u7B97\u5206"),(En==null?void 0:En.status)==="running"?b.createElement("div",{className:"c-black"},"\u91CD\u65B0\u8BC4\u6D4B\u4E2D\uFF0C\u5F53\u524D\u8FDB\u5EA6",b.createElement("span",{className:"c-light-primary ml3"},En==null?void 0:En.rate)):b.createElement("div",{className:"c-black"},"\u91CD\u65B0\u8BC4\u6D4B\u6210\u529F",b.createElement("span",{style:{color:"#3061D0",margin:"0 3px"}},En==null?void 0:En.success_student_count),"\u4EBA\uFF0C\u5931\u8D25",b.createElement("span",{style:{color:"#E30000",margin:"0 3px"}},En==null?void 0:En.fail_count),"\u4EBA")))),b.createElement("div",{style:{height:20}}))))}},3039:function(_t,Rt,ae){"use strict";ae.d(Rt,{Z:function(){return Ze}});var b=ae(59301),se={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"},be=ae(43418),Ae="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAPCAYAAADUFP50AAAAAXNSR0IArs4c6QAAAUFJREFUOE+V0ktKw1AUxvH/rVqIxT4wkgwEUSmK4APRBfiYCKU7cOZEBOkadAMZiwhuwJETBQciFRTtwJkPBLW2BRGrRanU9kpN2sSYiGaWc/PjuznnCN2Qh8AkPo+AzXxKLLiPhW7ICtDqB4GzQkqM/huGFZgZcDCBBDaaicsTMKbZH2xfwdY5/ICAEGSasC0AwRYblj+gKkENwfy4WS9V4LHsgsk49EZteJKHdBa6w7AybdZzr3D64ILxGKjtNrx9gfsSRBSYtf6xZh1/u+qQClrIhtdFuHmGvhisJcz65RPsZl2Jc/3QE7FhpgDHuT80x2+O9cR1K/GiCDt3rkQ/+Ns43gDFD0YVmHIuQGOOmiGTARhxwkGd1cZ7Vwd0OppWr3911StpcV++Iwn67q/kyBMuHchErcqwFxT1XZXsfQJqo2zI6kdI4QAAAABJRU5ErkJggg==",Ie="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAAAAXNSR0IArs4c6QAAAW1JREFUOE+dkj1IQmEUht9z/blp4VQEjS39eW+oSCFCpFCI4BiKFGWWQUSrCjVVg+lQNJZQDZGNTm1B4NTibS3n2lo0wuqEN8i/a0HfeN7v+d73nO+QJEcKAJzQPAwCnSpKNtoqkyRHqgDrtUFAb6Rnedx43KgT6O5P0GQijFiNLe/Sy3/B8g+YTIRRrb5jP32JYNADr8eOldU0RJEqVlm8r1kyuA/AIEB10OWy4vBgA4ryCIdjCJlMDmfn1zAY6EmyGY/UrAwrgGATWKsn4mGEQl4Uiw+YX9hT73aZiEcl8eMbZAGA0AT6/ZPY3Ykiny/A55tA7uoGqdQFBD2VbDbDugoSTTEj3gTGYgG8Vt7UeG63hNkZJ7a2s+gw1XqPnf5REKhkt4kxNakO08ycbOtRC/7FcakCwNTJ0WwmDI+1LUCZZDkSYGa5Eewf0G0KAnprNYtFQHdPbZhNS1cmLafF5bUTJsyBSVMHPm+/ADTrfrtCH68WAAAAAElFTkSuQmCC",Re=(We,Te,ke)=>new Promise((je,De)=>{var le=x=>{try{a(ke.next(x))}catch(y){De(y)}},E=x=>{try{a(ke.throw(x))}catch(y){De(y)}},a=x=>x.done?je(x.value):Promise.resolve(x.value).then(le,E);a((ke=ke.apply(We,Te)).next())}),Ze=({type:We,resdata:Te,onok:ke,oktext:je,okloading:De})=>{const[le,E]=(0,b.useState)(!1),{can_copy_list:a,can_copy_num:x,challenge_type:y,course_data_list:z,no_copy_list:te,no_copy_num:re,no_use_list:ie,no_use_num:ce,repeat_shixun_num:pe,student_count:ge,total_num:ye,use_num:Ee}=Te;let Le=x>0||We==="exercise";(0,b.useEffect)(()=>{(Te==null?void 0:Te.student_count)>0&&E(!0)},[Te]),console.log("---11",De),(0,b.useEffect)(()=>{De||E(!1)},[De]);const ve=()=>{if(We==="exercise"&&y===1)return b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709",b.createElement("span",{className:se.orangeColor},ge),"\u540D\u5B66\u751F\u5DF2\u5728\u5176\u4ED6\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",b.createElement("span",{className:se.orangeColor},Ee),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C",b.createElement("span",{className:se.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(We==="exercise"&&y===2)return b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709",b.createElement("span",{className:se.orangeColor},ge),"\u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",b.createElement("span",{className:se.orangeColor},Ee),"\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",b.createElement("span",{className:se.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(We==="shixun"&&y===1)return b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709",b.createElement("span",{className:se.orangeColor},ge),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u8BE5\u5B9E\u8DF5\u9879\u76EE\uFF0C",b.createElement("span",{className:se.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(We==="shixun"&&y===2)return b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709",b.createElement("span",{className:se.orangeColor},ge),"\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",b.createElement("span",{className:se.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(We==="subject"&&y===1)return b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709",b.createElement("span",{className:se.orangeColor},ge),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",b.createElement("span",{className:se.orangeColor},Ee),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C",b.createElement("span",{className:se.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(We==="subject"&&y===2)return b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709 ",b.createElement("span",{className:se.orangeColor},ge)," \u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u6311\u6218\u8FC7\u5176\u4E2D\u7684 ",b.createElement("span",{className:se.orangeColor},Ee)," \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",b.createElement("span",{className:se.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(We==="exercisepush")return b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709",b.createElement("span",{className:se.orangeColor},ge),"\u540D\u5B66\u751F\u5DF2\u5728\u5176\u4ED6\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u8BD5\u5377\u4E2D\u7684",b.createElement("span",{className:se.orangeColor},Ee),"\u4E2A\u5B9E\u8DF5\u9879\u76EE \uFF0C",b.createElement("span",{className:se.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(We==="shixunpush"&&y===1)return b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709",b.createElement("span",{className:se.orangeColor},ge),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",b.createElement("span",{className:se.orangeColor},Ee),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C",b.createElement("span",{className:se.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(We==="shixunpush"&&y===2)return b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709",b.createElement("span",{className:se.orangeColor},ge),"\u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u4E2D\u6311\u6218\u8FC7",b.createElement("span",{className:se.orangeColor},Ee),"\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",b.createElement("span",{className:se.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"))},$e=()=>{if(We==="exercise"||We==="subject"||We==="exercisepush"||We==="shixunpush")return b.createElement("div",{style:{marginTop:20}},re>0&&b.createElement("div",null,b.createElement("span",{className:se.flex},b.createElement("img",{src:Ie,style:{width:14}}),b.createElement("span",{className:se.statustitle},"\u4E0D\u652F\u6301\u590D\u5236\u7684\u5B9E\u8DF5\u9879\u76EE")),b.createElement("div",{className:se.statusbody},We==="exercise"&&b.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",b.createElement("span",{className:se.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"),(We==="subject"||We==="exercisepush")&&b.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",Le&&b.createElement("span",{className:se.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"),We==="shixunpush"&&b.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",Le&&b.createElement("span",{className:se.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"),b.createElement("div",null,te==null?void 0:te.map((He,it)=>b.createElement("a",{href:`/shixuns/${He.identifier}/challenges`,target:"_blank"},"\u300A",He==null?void 0:He.name,"\u300B",it+1!==re&&"\u3001"))))),x>0&&b.createElement("div",{style:{marginTop:20}},b.createElement("span",{className:se.flex},b.createElement("img",{src:Ae,style:{width:14}}),b.createElement("span",{className:se.statustitle},"\u652F\u6301\u590D\u5236\u7684\u5B9E\u8DF5\u9879\u76EE")),b.createElement("div",{className:se.statusbody},We==="exercise"&&b.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"),(We==="subject"||We==="exercisepush")&&b.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"),We==="shixunpush"&&b.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"),b.createElement("div",null,a==null?void 0:a.map((He,it)=>b.createElement("a",{href:`/shixuns/${He.identifier}/challenges`,target:"_blank"},"\u300A",He==null?void 0:He.name,"\u300B",it+1!==x&&"\u3001"))))));if(We==="shixun")return b.createElement("div",{style:{marginTop:20}},x>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 b.createElement(be.default,{open:le,onCancel:()=>{E(!1)},cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",width:700,centered:!0,cancelButtonProps:{style:{display:!Le&&"none"}},zIndex:1003,confirmLoading:De,okText:Le?je:"\u6211\u77E5\u9053\u4E86",onOk:()=>Re(void 0,null,function*(){Le?yield ke([...a,...ie]):E(!1)})},b.createElement("div",{style:{maxHeight:600,overflow:"auto"}},ve(),$e()))}},90283:function(_t,Rt,ae){"use strict";ae.d(Rt,{Z:function(){return Re}});var b=ae(59301),se={btn:"btn___kReTL",redBtn:"redBtn___UFEL0"},be=ae(92310),Ae=ae.n(be),Re=({className:ue,style:Ze,state:We,onClick:Te})=>{var ke,je;return b.createElement("div",{onClick:Te,className:Ae()(We?(ke=se)==null?void 0:ke.redBtn:(je=se)==null?void 0:je.btn,ue),style:Ze},We?b.createElement(b.Fragment,null,b.createElement("i",{className:"iconfont icon-biaoji1"}),b.createElement("span",null,"\u53D6\u6D88\u6807\u8BB0\u9519\u9898")):b.createElement(b.Fragment,null,b.createElement("i",{className:"iconfont icon-biaojigaiti"}),b.createElement("span",null,"\u6807\u8BB0\u9519\u9898")))}},69720:function(_t,Rt,ae){"use strict";ae.d(Rt,{h:function(){return re}});var b=ae(59301),se=ae(57809),be=ae(78241),Ae=ae(3113),Ie=ae(89780),Re=ae.n(Ie),ue=ae(8336),Ze=ae(12469),We=Object.defineProperty,Te=Object.defineProperties,ke=Object.getOwnPropertyDescriptors,je=Object.getOwnPropertySymbols,De=Object.prototype.hasOwnProperty,le=Object.prototype.propertyIsEnumerable,E=(ie,ce,pe)=>ce in ie?We(ie,ce,{enumerable:!0,configurable:!0,writable:!0,value:pe}):ie[ce]=pe,a=(ie,ce)=>{for(var pe in ce||(ce={}))De.call(ce,pe)&&E(ie,pe,ce[pe]);if(je)for(var pe of je(ce))le.call(ce,pe)&&E(ie,pe,ce[pe]);return ie},x=(ie,ce)=>Te(ie,ke(ce));const y=se.default.Option,z={labelCol:{span:4},wrapperCol:{span:20}},te={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"]};Rt.Z=({callback:ie,onCancel:ce})=>{const[pe,ge]=(0,b.useState)("python");function ye(Le){ge(te[Le][1])}function Ee(Le){ie(Le)}return b.createElement(be.default,x(a({},z),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:Ee,style:{width:500}}),b.createElement(be.default.Item,{label:"\u4EE3\u7801\u8BED\u8A00",name:"language"},b.createElement(se.default,{getPopupContainer:Le=>Le.parentNode,onChange:ye},Object.keys(te).map(Le=>b.createElement(y,{key:Le,value:Le},te[Le][0])))),b.createElement(be.default.Item,{label:"\u4EE3\u7801\u5185\u5BB9",name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EE3\u7801\u5185\u5BB9"}]},b.createElement(re,{mode:pe})),b.createElement("div",{className:"flex-container flex-end"},b.createElement(Ae.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),b.createElement(Ae.ZP,{type:"ghost",onClick:ce},"\u53D6\u6D88")))};function re({value:ie,onChange:ce,mode:pe,options:ge={}}){const ye=(0,b.useRef)(),[Ee,Le]=(0,b.useState)();return(0,b.useEffect)(()=>{if(Ee){let ve=function($e){const He=$e.getValue();ce&&ce(He)};return Ee.on("change",ve),()=>{Ee.off("change",ve)}}},[Ee,ce]),(0,b.useEffect)(()=>{Ee&&Ee.setOption("mode",pe)},[Ee,pe]),(0,b.useEffect)(()=>{Ee&&(ie!==Ee.getValue()||ie==="")&&setTimeout(()=>{Ee.setValue(ie||"")},300)},[Ee,ie]),(0,b.useEffect)(()=>{if(ye.current&&!Ee){const ve=Re().fromTextArea(ye.current,a({mode:pe,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},ge));Le(ve)}},[ye.current,Ee]),b.createElement("div",{className:"my-codemirror-container"},b.createElement("textarea",{ref:ye}))}},39793:function(_t,Rt,ae){"use strict";ae.d(Rt,{Z:function(){return mn}});var b=ae(59301),se=ae(89780),be=ae.n(se),Ae=ae(76374),Ie=ae(8336),Re=ae(6313),ue=ae(25717),Ze=ae(99498),We=ae(25419),Te=ae(67549),ke=ae(91842),je=({value:ut="",className:pt,showTextOnly:ct,showLines:Wt,style:vn={}})=>{const an=(0,b.useMemo)(()=>"",[ut]);return b.createElement(b.Fragment,null,b.createElement("div",{dangerouslySetInnerHTML:{__html:an}}))},De=ae(59301),le=Object.defineProperty,E=Object.defineProperties,a=Object.getOwnPropertyDescriptors,x=Object.getOwnPropertySymbols,y=Object.prototype.hasOwnProperty,z=Object.prototype.propertyIsEnumerable,te=(ut,pt,ct)=>pt in ut?le(ut,pt,{enumerable:!0,configurable:!0,writable:!0,value:ct}):ut[pt]=ct,re=(ut,pt)=>{for(var ct in pt||(pt={}))y.call(pt,ct)&&te(ut,ct,pt[ct]);if(x)for(var ct of x(pt))z.call(pt,ct)&&te(ut,ct,pt[ct]);return ut},ie=(ut,pt)=>E(ut,a(pt));let ce=[{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 pe({onActionCallback:ut,title:pt,icon:ct,actionName:Wt,className:vn="",children:an}){function kn(){ut(Wt)}return De.createElement("a",{title:pt,className:vn,onClick:kn},De.createElement("i",{className:`${ct}`}),an)}var ge=({watch:ut,showNullButton:pt,showNullProgramButton:ct,onActionCallback:Wt,fullScreen:vn,insertTemp:an,hidetoolBar:kn,extraUse:Fn})=>{const Bn=[...ce,{title:`${ut?"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8":"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"}`,icon:`${ut?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return De.createElement("ul",{className:"markdown-toolbar-container"},!kn&&Bn.map((Un,Ra)=>De.createElement("li",{key:Ra},Un.actionName?De.createElement(pe,ie(re({},Un),{onActionCallback:Wt})):De.createElement("span",{className:"v-line"}))),pt?De.createElement("li",null,De.createElement(pe,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-null-ch",onActionCallback:Wt},De.createElement("span",{className:"fill-tip"},"\u70B9\u51FB\u63D2\u5165\b\u586B\u7A7A\u9879"))):null,ct?De.createElement(De.Fragment,null,De.createElement("li",null,De.createElement(pe,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-signal",onActionCallback:Wt},De.createElement("span",{className:"fill-tip"},"+\u5355\u884C\u586B\u7A7A\u9879"))),De.createElement("li",null,De.createElement(pe,{icon:"md-iconfont icon-uniE900 insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-multiple",onActionCallback:Wt},De.createElement("span",{className:"fill-tip"},"+\u591A\u884C\u586B\u7A7A\u9879")))):null,an&&De.createElement("li",null,De.createElement(pe,{icon:"md-iconfont icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:`inster-template-${an}`,onActionCallback:Wt},De.createElement("span",{className:"fill-tip"},"\u63D2\u5165\u6A21\u677F"))),Fn&&De.createElement("li",null,Fn),De.createElement("li",{className:"btn-full-screen"},De.createElement(pe,{icon:`${vn?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:vn?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:Wt})))},ye=ae(91558),Ee=ae(78241),Le=ae(92832),ve=ae(3113),$e=Object.defineProperty,He=Object.defineProperties,it=Object.getOwnPropertyDescriptors,Ne=Object.getOwnPropertySymbols,Qe=Object.prototype.hasOwnProperty,lt=Object.prototype.propertyIsEnumerable,Ke=(ut,pt,ct)=>pt in ut?$e(ut,pt,{enumerable:!0,configurable:!0,writable:!0,value:ct}):ut[pt]=ct,Ye=(ut,pt)=>{for(var ct in pt||(pt={}))Qe.call(pt,ct)&&Ke(ut,ct,pt[ct]);if(Ne)for(var ct of Ne(pt))lt.call(pt,ct)&&Ke(ut,ct,pt[ct]);return ut},Kt=(ut,pt)=>He(ut,it(pt));const ot={labelCol:{span:4},wrapperCol:{span:20}};var Ht=({callback:ut,onCancel:pt})=>{function ct(Wt){ut(Wt)}return b.createElement(Ee.default,Kt(Ye({},ot),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:ct,style:{width:500}}),b.createElement(Ee.default.Item,{label:"\u94FE\u63A5\u5730\u5740",name:"link",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u5730\u5740"}]},b.createElement(Le.default,null)),b.createElement(Ee.default.Item,{label:"\u94FE\u63A5\u6807\u9898",name:"title",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u6807\u9898"}]},b.createElement(Le.default,null)),b.createElement("div",{className:"flex-container flex-end"},b.createElement(ve.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),b.createElement(ve.ZP,{type:"ghost",onClick:pt},"\u53D6\u6D88")))},en=ae(69720),Je=ae(17077),ft=ae(43418),Dt=ae(95237),ln=ae(9507),yt=ae(59301),Yt=({callback:ut,onCancel:pt})=>{const ct=document.createElement("canvas"),Wt=ct.getContext("2d");ct.width=1e3,ct.height=800,Wt.fillStyle="#ffffff",Wt.fillRect(0,0,ct.width,ct.height);const vn=ct.toDataURL("image/png");return yt.createElement(ft.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},yt.createElement(Dt.Z,{style:{height:"100vh"}},yt.createElement(ln.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:vn,visible:!0,title:String(Date.now())},onOk:an=>{ut({src:an.url})},onClose:pt})))},Be=ae(12378);function Ut(){go.CommandHandler.call(this),this._arrowKeyBehavior="move",this._pasteOffset=new go.Point(10,10),this._lastPasteOffset=new go.Point(0,0)}go.Diagram.inherit(Ut,go.CommandHandler),Ut.prototype.canAlignSelection=function(){var ut=this.diagram;return!(ut===null||ut.isReadOnly||ut.isModelReadOnly||ut.selection.count<2)},Ut.prototype.alignLeft=function(){var ut=this.diagram;ut.startTransaction("aligning left");var pt=1/0;ut.selection.each(function(ct){ct instanceof go.Link||(pt=Math.min(ct.position.x,pt))}),ut.selection.each(function(ct){ct instanceof go.Link||ct.move(new go.Point(pt,ct.position.y))}),ut.commitTransaction("aligning left")},Ut.prototype.alignRight=function(){var ut=this.diagram;ut.startTransaction("aligning right");var pt=-1/0;ut.selection.each(function(ct){if(!(ct instanceof go.Link)){var Wt=ct.actualBounds.x+ct.actualBounds.width;pt=Math.max(Wt,pt)}}),ut.selection.each(function(ct){ct instanceof go.Link||ct.move(new go.Point(pt-ct.actualBounds.width,ct.position.y))}),ut.commitTransaction("aligning right")},Ut.prototype.alignTop=function(){var ut=this.diagram;ut.startTransaction("alignTop");var pt=1/0;ut.selection.each(function(ct){ct instanceof go.Link||(pt=Math.min(ct.position.y,pt))}),ut.selection.each(function(ct){ct instanceof go.Link||ct.move(new go.Point(ct.position.x,pt))}),ut.commitTransaction("alignTop")},Ut.prototype.alignBottom=function(){var ut=this.diagram;ut.startTransaction("aligning bottom");var pt=-1/0;ut.selection.each(function(ct){if(!(ct instanceof go.Link)){var Wt=ct.actualBounds.y+ct.actualBounds.height;pt=Math.max(Wt,pt)}}),ut.selection.each(function(ct){ct instanceof go.Link||ct.move(new go.Point(ct.actualBounds.x,pt-ct.actualBounds.height))}),ut.commitTransaction("aligning bottom")},Ut.prototype.alignCenterX=function(){var ut=this.diagram,pt=ut.selection.first();if(pt){ut.startTransaction("aligning Center X");var ct=pt.actualBounds.x+pt.actualBounds.width/2;ut.selection.each(function(Wt){Wt instanceof go.Link||Wt.move(new go.Point(ct-Wt.actualBounds.width/2,Wt.actualBounds.y))}),ut.commitTransaction("aligning Center X")}},Ut.prototype.alignCenterY=function(){var ut=this.diagram,pt=ut.selection.first();if(pt){ut.startTransaction("aligning Center Y");var ct=pt.actualBounds.y+pt.actualBounds.height/2;ut.selection.each(function(Wt){Wt instanceof go.Link||Wt.move(new go.Point(Wt.actualBounds.x,ct-Wt.actualBounds.height/2))}),ut.commitTransaction("aligning Center Y")}},Ut.prototype.alignColumn=function(ut){var pt=this.diagram;pt.startTransaction("align Column"),ut===void 0&&(ut=0),ut=parseFloat(ut);var ct=new Array;pt.selection.each(function(Fn){Fn instanceof go.Link||ct.push(Fn)});for(var Wt=0;Wt<ct.length-1;Wt++){var vn=ct[Wt],an=vn.actualBounds.y+vn.actualBounds.height+ut,kn=ct[Wt+1];kn.move(new go.Point(vn.actualBounds.x,an))}pt.commitTransaction("align Column")},Ut.prototype.alignRow=function(ut){ut===void 0&&(ut=0),ut=parseFloat(ut);var pt=this.diagram;pt.startTransaction("align Row");var ct=new Array;pt.selection.each(function(Fn){Fn instanceof go.Link||ct.push(Fn)});for(var Wt=0;Wt<ct.length-1;Wt++){var vn=ct[Wt],an=vn.actualBounds.x+vn.actualBounds.width+ut,kn=ct[Wt+1];kn.move(new go.Point(an,vn.actualBounds.y))}pt.commitTransaction("align Row")},Ut.prototype.canRotate=function(ut){var pt=this.diagram;return!(pt===null||pt.isReadOnly||pt.isModelReadOnly||pt.selection.count<1)},Ut.prototype.rotate=function(ut){ut===void 0&&(ut=90);var pt=this.diagram;pt.startTransaction("rotate "+ut.toString());var pt=this.diagram;pt.selection.each(function(ct){ct instanceof go.Link||ct instanceof go.Group||(ct.angle+=ut)}),pt.commitTransaction("rotate "+ut.toString())},Ut.prototype.pullToFront=function(){var ut=this.diagram;ut.startTransaction("pullToFront");var pt=new go.Map;ut.selection.each(function(ct){pt.set(ct.layer,0)}),pt.iteratorKeys.each(function(ct){var Wt=0;ct.parts.each(function(vn){if(!vn.isSelected){var an=vn.zOrder;isNaN(an)?vn.zOrder=0:Wt=Math.max(Wt,an)}}),pt.set(ct,Wt)}),ut.selection.each(function(ct){Ut._assignZOrder(ct,pt.get(ct.layer)+1)}),ut.commitTransaction("pullToFront")},Ut.prototype.pushToBack=function(){var ut=this.diagram;ut.startTransaction("pushToBack");var pt=new go.Map;ut.selection.each(function(ct){pt.set(ct.layer,0)}),pt.iteratorKeys.each(function(ct){var Wt=0;ct.parts.each(function(vn){if(!vn.isSelected){var an=vn.zOrder;isNaN(an)?vn.zOrder=0:Wt=Math.min(Wt,an)}}),pt.set(ct,Wt)}),ut.selection.each(function(ct){Ut._assignZOrder(ct,pt.get(ct.layer)-1-Ut._findGroupDepth(ct))}),ut.commitTransaction("pushToBack")},Ut._assignZOrder=function(ut,pt,ct){ct===void 0&&(ct=ut),ut.layer===ct.layer&&(ut.zOrder=pt),ut instanceof go.Group&&ut.memberParts.each(function(Wt){Ut._assignZOrder(Wt,pt+1,ct)})},Ut._findGroupDepth=function(ut){if(ut instanceof go.Group){var pt=0;return ut.memberParts.each(function(ct){pt=Math.max(pt,Ut._findGroupDepth(ct))}),pt+1}else return 0},Ut.prototype.doKeyDown=function(){var ut=this.diagram;if(ut!==null){var pt=ut.lastInput;if(pt.key==="Up"||pt.key==="Down"||pt.key==="Left"||pt.key==="Right"){var ct=this.arrowKeyBehavior;if(ct==="none")return;if(ct==="select"){this._arrowKeySelect();return}else if(ct==="move"){this._arrowKeyMove();return}else if(ct==="tree"){this._arrowKeyTree();return}}go.CommandHandler.prototype.doKeyDown.call(this)}},Ut.prototype._getAllParts=function(){var ut=new Array;return this.diagram.nodes.each(function(pt){ut.push(pt)}),this.diagram.parts.each(function(pt){ut.push(pt)}),ut},Ut.prototype._arrowKeyMove=function(){var ut=this.diagram,pt=ut.lastInput,ct=0,Wt=0;if(pt.control||pt.meta)ct=1,Wt=1;else if(ut.grid!==null){var vn=ut.grid.gridCellSize;Wt=vn.width,ct=vn.height}ut.startTransaction("arrowKeyMove"),ut.selection.each(function(an){pt.key==="Up"?an.move(new go.Point(an.actualBounds.x,an.actualBounds.y-ct)):pt.key==="Down"?an.move(new go.Point(an.actualBounds.x,an.actualBounds.y+ct)):pt.key==="Left"?an.move(new go.Point(an.actualBounds.x-Wt,an.actualBounds.y)):pt.key==="Right"&&an.move(new go.Point(an.actualBounds.x+Wt,an.actualBounds.y))}),ut.commitTransaction("arrowKeyMove")},Ut.prototype._arrowKeySelect=function(){var ut=this.diagram,pt=ut.lastInput,ct=null;pt.key==="Up"?ct=this._findNearestPartTowards(270):pt.key==="Down"?ct=this._findNearestPartTowards(90):pt.key==="Left"?ct=this._findNearestPartTowards(180):pt.key==="Right"&&(ct=this._findNearestPartTowards(0)),ct!==null&&(pt.shift?ct.isSelected=!0:pt.control||pt.meta?ct.isSelected=!ct.isSelected:ut.select(ct))},Ut.prototype._findNearestPartTowards=function(ut){var pt=this.diagram.selection.first();if(pt===null)return null;for(var ct=pt.actualBounds.center,Wt=this._getAllParts(),vn=1/0,an=pt,kn=0;kn<Wt.length;kn++){var Fn=Wt[kn];if(Fn!==pt&&Fn.canSelect()){var Bn=Fn.actualBounds.center,Un=ct.directionPoint(Bn),Ra=this._angleCloseness(Un,ut);if(Ra<=45){var yn=ct.distanceSquaredPoint(Bn);yn*=1+Math.sin(Ra*Math.PI/180),yn<vn&&(vn=yn,an=Fn)}}}return an},Ut.prototype._angleCloseness=function(ut,pt){return Math.min(Math.abs(pt-ut),Math.min(Math.abs(pt+360-ut),Math.abs(pt-360-ut)))},Ut.prototype._arrowKeyTree=function(){var ut=this.diagram,pt=ut.selection.first();if(pt instanceof go.Node){var ct=ut.lastInput;if(ct.key==="Right"){if(!pt.isTreeLeaf)if(!pt.isTreeExpanded)ut.commandHandler.canExpandTree(pt)&&ut.commandHandler.expandTree(pt);else{var Wt=this._sortTreeChildrenByY(pt).first();Wt!==null&&ut.select(Wt)}}else if(ct.key==="Left")if(!pt.isTreeLeaf&&pt.isTreeExpanded)ut.commandHandler.canCollapseTree(pt)&&ut.commandHandler.collapseTree(pt);else{var vn=pt.findTreeParentNode();vn!==null&&ut.select(vn)}else if(ct.key==="Up"){var vn=pt.findTreeParentNode();if(vn!==null){var an=this._sortTreeChildrenByY(vn),kn=an.indexOf(pt);if(kn>0){for(var Fn=an.elt(kn-1);Fn!==null&&Fn.isTreeExpanded&&!Fn.isTreeLeaf;){var Bn=this._sortTreeChildrenByY(Fn);Fn=Bn.last()}Fn!==null&&ut.select(Fn)}else ut.select(vn)}}else if(ct.key==="Down")if(pt.isTreeExpanded&&!pt.isTreeLeaf){var Wt=this._sortTreeChildrenByY(pt).first();Wt!==null&&ut.select(Wt)}else for(;pt!==null;){var vn=pt.findTreeParentNode();if(vn===null)break;var an=this._sortTreeChildrenByY(vn),kn=an.indexOf(pt);if(kn<an.length-1){ut.select(an.elt(kn+1));break}else pt=vn}var Un=ut.selection.first();Un!==null&&ut.scrollToRect(Un.actualBounds)}},Ut.prototype._sortTreeChildrenByY=function(ut){var pt=new go.List().addAll(ut.findTreeChildrenNodes());return pt.sort(function(ct,Wt){var vn=ct.location,an=Wt.location;return vn.y<an.y?-1:vn.y>an.y?1:vn.x<an.x?-1:vn.x>an.x?1:0}),pt},Ut.prototype.copyToClipboard=function(ut){go.CommandHandler.prototype.copyToClipboard.call(this,ut),this._lastPasteOffset.set(this.pasteOffset)},Ut.prototype.pasteFromClipboard=function(){var ut=go.CommandHandler.prototype.pasteFromClipboard.call(this);return this.diagram.moveParts(ut,this._lastPasteOffset),this._lastPasteOffset.add(this.pasteOffset),ut},Object.defineProperty(Ut.prototype,"arrowKeyBehavior",{get:function(){return this._arrowKeyBehavior},set:function(ut){if(ut!=="move"&&ut!=="select"&&ut!=="scroll"&&ut!=="tree"&&ut!=="none")throw new Error('DrawCommandHandler.arrowKeyBehavior must be either "move", "select", "scroll", "tree", or "none", not: '+ut);this._arrowKeyBehavior=ut}}),Object.defineProperty(Ut.prototype,"pasteOffset",{get:function(){return this._pasteOffset},set:function(ut){if(!(ut instanceof go.Point))throw new Error("DrawCommandHandler.pasteOffset must be a Point, not: "+ut);this._pasteOffset.set(ut)}});var Cn=Ut,Ft=ae(63720),It=ae(43604),nt=ae(38986),Ue={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re"},Fe=ae(59301),he=(ut,pt,ct)=>new Promise((Wt,vn)=>{var an=Bn=>{try{Fn(ct.next(Bn))}catch(Un){vn(Un)}},kn=Bn=>{try{Fn(ct.throw(Bn))}catch(Un){vn(Un)}},Fn=Bn=>Bn.done?Wt(Bn.value):Promise.resolve(Bn.value).then(an,kn);Fn((ct=ct.apply(ut,pt)).next())});function at({onCancel:ut,callback:pt}){let ct=(0,b.useRef)(),Wt=(0,b.useRef)(),vn=(0,b.useRef)(),an=(0,b.useRef)(!1);const kn=(0,b.useRef)(!1),[Fn,Bn]=(0,b.useState)(0);function Un(){const yn=Be.bx.make,pa={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"};ct.current=new Be.S0(Wt.current,{padding:20,grid:yn(Be.s_,"Grid",yn(Be.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),yn(Be.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),"draggingTool.isGridSnapEnabled":!0,handlesDragDropForTopLevelParts:!0,mouseDrop:$n=>{var wa=$n.diagram.commandHandler.addTopLevelParts($n.diagram.selection,!0);wa||$n.diagram.currentTool.doCancel()},commandHandler:yn(Cn),"clickCreatingTool.archetypeNodeData":{text:"\u672A\u547D\u540D",fill:null,stroke:null,borderColor:"rgba(0,0,0,0)"},PartCreated:$n=>{var wa=$n.subject;wa.location=wa.location.copy().snapToGridPoint($n.diagram.grid.gridOrigin,$n.diagram.grid.gridCellSize),setTimeout(()=>{$n.diagram.commandHandler.editTextBlock()},20)},"commandHandler.archetypeGroupData":{isGroup:!0,text:"NEW GROUP"},SelectionGrouped:$n=>{var wa=$n.subject;setTimeout(()=>{$n.diagram.commandHandler.editTextBlock()})},LinkRelinked:$n=>{var wa=$n.parameter.part;wa.invalidateConnectedLinks();var ja=$n.subject;$n.diagram.toolManager.linkingTool.isForwards?ja.toNode.invalidateConnectedLinks():ja.fromNode.invalidateConnectedLinks()},"undoManager.isEnabled":!0}),ct.current.nodeTemplate=yn(Be.NB,"Auto",{locationSpot:Be.z6.Center,locationObjectName:"SHAPE",desiredSize:new Be.$u(120,60),minSize:new Be.$u(40,40),resizable:!0,resizeCellSize:new Be.$u(10,10),rotatable:!0},new Be.KX("location","loc",Be.E9.parse).makeTwoWay(Be.E9.stringify),new Be.KX("desiredSize","size",Be.$u.parse).makeTwoWay(Be.$u.stringify),yn(Be.bn,{name:"SHAPE",fill:pa.white,cursor:"pointer",portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:Be.z6.AllSides,toSpot:Be.z6.AllSides},new Be.KX("figure"),new Be.KX("fill"),new Be.KX("stroke","borderColor"),new Be.KX("strokeWidth","thickness"),new Be.KX("strokeDashArray","dash")),yn(Be.bn,{width:100,height:20,strokeWidth:0,fill:"transparent"}),yn(Be.al,{margin:1,textAlign:"center",overflow:Be.al.OverflowEllipsis,editable:!0},new Be.KX("text").makeTwoWay(),new Be.KX("stroke","color"))),ct.current.nodeTemplate.toolTip=yn("ToolTip",yn(Be.s_,"Vertical",{maxSize:new Be.$u(200,NaN)},yn(Be.al,{font:"bold 10pt sans-serif",textAlign:"center"},new Be.KX("text")),yn(Be.al,{font:"10pt sans-serif",textAlign:"center"},new Be.KX("text","details"))));function $a($n,wa){var ja=(ga,fr)=>{ga.handled=!0,ga.diagram.model.commit(Hr=>{var oo=fr.part.adornedPart,Tr=new Be.E9().setRectSpot(oo.actualBounds,$n);Tr.subtract(oo.location),Tr.scale(2,2),Tr.x+=Math.sign(Tr.x)*130,Tr.y+=Math.sign(Tr.y)*130,Tr.add(oo.location),Tr.snapToGridPoint(ga.diagram.grid.gridOrigin,ga.diagram.grid.gridCellSize);var co=Hr.copyNodeData(oo.data);Hr.setGroupKeyForNodeData(co,Hr.getGroupKeyForNodeData(oo.data)),Hr.addNodeData(co);var ni={from:oo.key,to:Hr.getKeyForNodeData(co)};Hr.addLinkData(ni);var $o=ga.diagram.findNodeForData(co);$o.location=Tr,ga.diagram.select($o),setTimeout(()=>{ga.diagram.commandHandler.editTextBlock()},20)})};return yn(Be.bn,{figure:wa,alignment:$n,alignmentFocus:$n.opposite(),width:$n.equals(Be.z6.Top)||$n.equals(Be.z6.Bottom)?25:18,height:$n.equals(Be.z6.Top)||$n.equals(Be.z6.Bottom)?18:25,fill:"orange",stroke:pa.white,strokeWidth:4,mouseEnter:(ga,fr)=>fr.fill="dodgerblue",mouseLeave:(ga,fr)=>fr.fill="orange",isActionable:!0,click:ja,contextClick:ja})}function lr($n){return yn(Be.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:(wa,ja)=>ja.fill="dodgerblue",mouseLeave:(wa,ja)=>ja.fill="orange",click:(wa,ja)=>{wa.diagram.commandHandler.showContextMenu(ja.part.adornedPart)}},$n||{})}ct.current.nodeTemplate.selectionAdornmentTemplate=yn(Be.uz,"Spot",yn(Be.Vm,{padding:10}),$a(Be.z6.Top,"TriangleUp"),$a(Be.z6.Left,"TriangleLeft"),$a(Be.z6.Right,"TriangleRight"),$a(Be.z6.Bottom,"TriangleDown"),lr({alignment:new Be.z6(.75,0)}));function Jn($n,wa){return(ja,ga)=>{ja.handled=!0,ja.diagram.model.commit(fr=>{fr.set(ga.part.adornedPart.data,$n,wa)})}}function sn($n,wa){return wa||(wa="color"),yn(Be.bn,{width:16,height:16,stroke:"lightgray",fill:$n,margin:1,background:"transparent",mouseEnter:(ja,ga)=>ga.stroke="dodgerblue",mouseLeave:(ja,ga)=>ga.stroke="lightgray",click:Jn(wa,$n),contextClick:Jn(wa,$n)})}function Dr(){return[yn("ContextMenuButton",yn(Be.s_,"Horizontal",sn(pa.white,"fill"),sn(pa.beige,"fill"),sn(pa.extralightblue,"fill"),sn(pa.extralightred,"fill"))),yn("ContextMenuButton",yn(Be.s_,"Horizontal",sn(pa.lightgray,"fill"),sn(pa.lightgreen,"fill"),sn(pa.lightblue,"fill"),sn(pa.lightred,"fill")))]}function Ga(){return[yn("ContextMenuButton",yn(Be.s_,"Horizontal",sn(pa.black),sn(pa.green),sn(pa.blue),sn(pa.red))),yn("ContextMenuButton",yn(Be.s_,"Horizontal",sn(pa.white),sn(pa.magenta),sn(pa.purple),sn(pa.orange)))]}function Er($n,wa){return wa||(wa="thickness"),yn(Be.bn,"LineH",{width:16,height:16,strokeWidth:$n,margin:1,background:"transparent",mouseEnter:(ja,ga)=>ga.background="dodgerblue",mouseLeave:(ja,ga)=>ga.background="transparent",click:Jn(wa,$n),contextClick:Jn(wa,$n)})}function Cr($n,wa){return wa||(wa="dash"),yn(Be.bn,"LineH",{width:24,height:16,strokeWidth:2,strokeDashArray:$n,margin:1,background:"transparent",mouseEnter:(ja,ga)=>ga.background="dodgerblue",mouseLeave:(ja,ga)=>ga.background="transparent",click:Jn(wa,$n),contextClick:Jn(wa,$n)})}function Nr(){return[yn("ContextMenuButton",yn(Be.s_,"Horizontal",Er(1),Er(2),Er(3),Er(4))),yn("ContextMenuButton",yn(Be.s_,"Horizontal",Cr(null),Cr([2,4]),Cr([4,4])))]}function xr($n,wa){return wa||(wa="figure"),yn(Be.bn,{width:32,height:32,scale:.5,fill:"lightgray",figure:$n,margin:1,background:"transparent",mouseEnter:(ja,ga)=>ga.fill="dodgerblue",mouseLeave:(ja,ga)=>ga.fill="lightgray",click:Jn(wa,$n),contextClick:Jn(wa,$n)})}ct.current.nodeTemplate.contextMenu=yn("ContextMenu",yn("ContextMenuButton",yn(Be.s_,"Horizontal",xr("Rectangle"),xr("RoundedRectangle"),xr("Ellipse"),xr("Diamond"))),yn("ContextMenuButton",yn(Be.s_,"Horizontal",xr("Parallelogram2"),xr("ManualOperation"),xr("Procedure"),xr("Cylinder1"))),yn("ContextMenuButton",yn(Be.s_,"Horizontal",xr("Terminator"),xr("CreateRequest"),xr("Document"),xr("TriangleDown"))),Dr(),Ga(),Nr()),ct.current.groupTemplate=yn(Be.ZA,"Spot",{layerName:"Background",ungroupable:!0,locationSpot:Be.z6.Center,selectionObjectName:"BODY",computesBoundsAfterDrag:!0,handlesDragDropForMembers:!0,mouseDrop:($n,wa)=>{var ja=wa.addMembers(wa.diagram.selection,!0);ja||wa.diagram.currentTool.doCancel()},avoidable:!1},new Be.KX("location","loc",Be.E9.parse).makeTwoWay(Be.E9.stringify),yn(Be.s_,"Auto",{name:"BODY"},yn(Be.bn,{parameter1:10,fill:pa.white,strokeWidth:2,cursor:"pointer",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:Be.z6.AllSides,toSpot:Be.z6.AllSides},new Be.KX("fill"),new Be.KX("stroke","color"),new Be.KX("strokeWidth","thickness"),new Be.KX("strokeDashArray","dash")),yn(Be.Vm,{background:"transparent",margin:20})),yn(Be.al,{alignment:Be.z6.Top,alignmentFocus:Be.z6.Bottom,font:"bold 12pt sans-serif",editable:!0},new Be.KX("text"),new Be.KX("stroke","color"))),ct.current.groupTemplate.selectionAdornmentTemplate=yn(Be.uz,"Spot",yn(Be.s_,"Auto",yn(Be.bn,{fill:null,stroke:"dodgerblue",strokeWidth:3}),yn(Be.Vm,{margin:1.5})),lr({alignment:Be.z6.TopRight,alignmentFocus:Be.z6.BottomRight})),ct.current.groupTemplate.contextMenu=yn("ContextMenu",Dr(),Ga(),Nr()),ct.current.linkTemplate=yn(Be.rU,{layerName:"Foreground",routing:Be.rU.AvoidsNodes,corner:10,fromShortLength:10,toShortLength:15,relinkableFrom:!0,relinkableTo:!0,reshapable:!0,resegmentable:!0},new Be.KX("fromSpot","fromSpot",Be.z6.parse),new Be.KX("toSpot","toSpot",Be.z6.parse),new Be.KX("fromShortLength","dir",$n=>$n>=1?10:0),new Be.KX("toShortLength","dir",$n=>$n>=1?10:0),new Be.KX("points").makeTwoWay(),yn(Be.bn,{strokeWidth:2},new Be.KX("stroke","color"),new Be.KX("strokeWidth","thickness"),new Be.KX("strokeDashArray","dash")),yn(Be.bn,{segmentIndex:0,segmentOffset:new Be.E9(15,0),segmentOrientation:Be.rU.OrientAlong,alignmentFocus:Be.z6.Right,figure:"circle",width:10,strokeWidth:0},new Be.KX("fill","color"),new Be.KX("visible","dir",$n=>$n===1)),yn(Be.bn,{segmentIndex:-1,segmentOffset:new Be.E9(-10,6),segmentOrientation:Be.rU.OrientPlus90,alignmentFocus:Be.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new Be.KX("fill","color"),new Be.KX("visible","dir",$n=>$n>=1),new Be.KX("width","thickness",$n=>7+3*$n),new Be.KX("height","thickness",$n=>7+3*$n),new Be.KX("segmentOffset","thickness",$n=>new Be.E9(-15,4+1.5*$n))),yn(Be.bn,{segmentIndex:0,segmentOffset:new Be.E9(15,-6),segmentOrientation:Be.rU.OrientMinus90,alignmentFocus:Be.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new Be.KX("fill","color"),new Be.KX("visible","dir",$n=>$n===2),new Be.KX("width","thickness",$n=>7+3*$n),new Be.KX("height","thickness",$n=>7+3*$n),new Be.KX("segmentOffset","thickness",$n=>new Be.E9(-15,4+1.5*$n))),yn(Be.al,{alignmentFocus:new Be.z6(0,1,-4,0),editable:!0},new Be.KX("text").makeTwoWay(),new Be.KX("stroke","color"))),ct.current.linkTemplate.selectionAdornmentTemplate=yn(Be.uz,yn(Be.bn,{isPanelMain:!0,stroke:"transparent",strokeWidth:6,pathPattern:so(2)},new Be.KX("pathPattern","thickness",so)),lr({alignmentFocus:new Be.z6(0,0,-6,-4)}));function so($n){return yn(Be.bn,{stroke:"dodgerblue",strokeWidth:2,strokeCap:"square",geometryString:"M0 0 M4 2 H3 M4 "+($n+4).toString()+" H3"})}function qr($n){var wa="M0 0 M8 16 M0 8 L16 8 M12 11 L16 8 L12 5";return $n===0?wa="M0 0 M16 16 M0 8 L16 8":$n===2&&(wa="M0 0 M16 16 M0 8 L16 8 M12 11 L16 8 L12 5 M4 11 L0 8 L4 5"),yn(Be.bn,{geometryString:wa,margin:2,background:"transparent",mouseEnter:(ja,ga)=>ga.background="dodgerblue",mouseLeave:(ja,ga)=>ga.background="transparent",click:Jn("dir",$n),contextClick:Jn("dir",$n)})}function _o($n){var wa=(ja,ga)=>{ja.handled=!0,ja.diagram.model.commit(fr=>{var Hr=ga.part.adornedPart;fr.set(Hr.data,$n?"toSpot":"fromSpot",Be.z6.stringify(Be.z6.AllSides)),($n?Hr.toNode:Hr.fromNode).invalidateConnectedLinks()})};return yn(Be.bn,{width:12,height:12,fill:"transparent",mouseEnter:(ja,ga)=>ga.background="dodgerblue",mouseLeave:(ja,ga)=>ga.background="transparent",click:wa,contextClick:wa})}function Mn($n,wa){var ja=0,ga=Be.z6.RightSide;$n.equals(Be.z6.Top)?(ja=270,ga=Be.z6.TopSide):$n.equals(Be.z6.Left)?(ja=180,ga=Be.z6.LeftSide):$n.equals(Be.z6.Bottom)&&(ja=90,ga=Be.z6.BottomSide),wa||(ja-=180);var fr=(Hr,oo)=>{Hr.handled=!0,Hr.diagram.model.commit(Tr=>{var co=oo.part.adornedPart;Tr.set(co.data,wa?"toSpot":"fromSpot",Be.z6.stringify(ga)),(wa?co.toNode:co.fromNode).invalidateConnectedLinks()})};return yn(Be.bn,{alignment:$n,alignmentFocus:$n.opposite(),geometryString:"M0 0 M12 12 M12 6 L1 6 L4 4 M1 6 L4 8",angle:ja,background:"transparent",mouseEnter:(Hr,oo)=>oo.background="dodgerblue",mouseLeave:(Hr,oo)=>oo.background="transparent",click:fr,contextClick:fr})}ct.current.linkTemplate.contextMenu=yn("ContextMenu",Ga(),Nr(),yn("ContextMenuButton",yn(Be.s_,"Horizontal",qr(0),qr(1),qr(2))),yn("ContextMenuButton",yn(Be.s_,"Horizontal",yn(Be.s_,"Spot",_o(!1),Mn(Be.z6.Top,!1),Mn(Be.z6.Left,!1),Mn(Be.z6.Right,!1),Mn(Be.z6.Bottom,!1)),yn(Be.s_,"Spot",{margin:new Be.Zt(0,0,0,2)},_o(!0),Mn(Be.z6.Top,!0),Mn(Be.z6.Left,!0),Mn(Be.z6.Right,!0),Mn(Be.z6.Bottom,!0)))));const Mr=`{ "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 Rr=["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 Gr($n){return console.log("shapeName:",$n),Rr.indexOf($n)>=0}var za=new Be.YI(vn.current,{maxSelectionCount:1,linkTemplate:yn(Be.rU,{locationSpot:Be.z6.Center,selectionAdornmentTemplate:yn(Be.uz,"Link",{locationSpot:Be.z6.Center},yn(Be.bn,{isPanelMain:!0,fill:null,stroke:"deepskyblue",strokeWidth:0}),yn(Be.bn,{toArrow:"Standard",stroke:null}))},{routing:Be.rU.AvoidsNodes,curve:Be.rU.JumpOver,corner:5,toShortLength:4},new Be.KX("points"),yn(Be.bn,{isPanelMain:!0,strokeWidth:2}),yn(Be.bn,{toArrow:"Standard",stroke:null})),model:new Be.FJ([{text:"\u672A\u547D\u540D",size:"100 100",fill:null,stroke:"#000"},...Be.bn.getFigureGenerators().toArray().map($n=>({text:"\u672A\u547D\u540D",size:"100 100",figure:$n.key,fill:"white",stroke:"#666",borderColor:"#000"}))])});return ct.current.addDiagramListener("TextEdited",function($n){var wa;const ja=$n.subject.part;var ga=(wa=document.activeElement)==null?void 0:wa.value;typeof ga=="string"&&ga.trim()===""&&ct.current.model.commit(function(fr){fr.set(ja.data,"text","\u672A\u547D\u540D"),ct.current.commandHandler.stopCommand()},"increment")}),za.nodeTemplate=yn(Be.NB,"Auto",{locationSpot:Be.z6.Center},new Be.KX("location","location",Be.E9.parse).makeTwoWay(Be.E9.stringify),yn(Be.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 Be.KX("stroke").makeTwoWay(),new Be.KX("fill").makeTwoWay(),new Be.KX("figure")),yn(Be.al,{margin:new Be.Zt(5,5,3,5),font:"10pt sans-serif",minSize:new Be.$u(16,16),maxSize:new Be.$u(10,NaN),textAlign:"center",editable:!0},new Be.KX("key").makeTwoWay())),setTimeout(()=>{ct.current.grid=yn(Be.s_,"Grid",yn(Be.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),yn(Be.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),ct.current.grid.visible=!0,ct.current.grid.gridCellStroke="darkgray",ct.current.grid.gridCellStrokeWidth=1},300),window.myDiagrams=ct.current,ct.current}const Ra=()=>he(this,null,function*(){var yn=ct.current.makeImage();const pa=yield(0,nt.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Date.now(),file:yn.src}});pt({src:pa.url})});return(0,b.useEffect)(()=>(setTimeout(()=>{Un()},500),Bn(Fn+1),()=>{ct.current=null}),[]),Fe.createElement("div",{ref:kn,className:an.current?`${Ue.maxH60} body-overflow-initial`:"body-overflow-initial"},Fe.createElement(ft.default,{width:1200,icon:null,footer:null,closable:!0,visible:!!Fn,destroyOnClose:!0,maskClosable:!1,rootClassName:"zIndex-9999",title:Fe.createElement(Dt.Z,null,Fe.createElement(It.Z,{flex:1},"\u63D2\u5165\u6D41\u7A0B\u56FE"),Fe.createElement(It.Z,{onClick:()=>{var yn,pa,$a=ct.current.selection.first();if(an.current=!an.current,document.activeElement&&$a){let lr=(pa=(yn=document.activeElement)==null?void 0:yn.value)==null?void 0:pa.trim();typeof lr=="string"&&ct.current.model.commit(function(Jn){Jn.set($a.data,"text",lr||"\u672A\u547D\u540D"),ct.current.commandHandler.stopCommand()},"increment")}Bn(Fn+1)}},Fe.createElement("span",{className:"current c-blue mr30",style:{fontWeight:400}},"\u5C55\u5F00/\u6536\u8D77"))),onCancel:ut},Fe.createElement("div",{style:{width:"100%",height:"80vh",overflow:"hidden",position:"relative"},className:Ue.flowChartWrp},Fe.createElement("div",{style:{display:"flex",height:"100%"}},Fe.createElement("div",{style:{width:"300px",height:"100%"}},Fe.createElement("div",{style:{background:"#fff",position:"relative",zIndex:12,fontSize:16,color:"#3061d0"}},"\u56FE\u5F62\u5E93"),Fe.createElement("div",{style:{height:"calc(100% - 50px)"},className:Ue.myPaletteDiv,ref:vn})),Fe.createElement("div",{style:{flex:1,position:"relative"}},Fe.createElement("div",{ref:Wt,style:{height:"80vh"}}))),Fe.createElement("div",{className:"tr"},Fe.createElement(ve.ZP,{size:"large",onClick:Ra,style:{position:"absolute",right:0,bottom:0,zIndex:8},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))))}var At=at,we=ae(5112),Ce=ae(5871);const vt=we.ZP.Group,Xe={margin:"0 8px"};var _e=({callback:ut,onCancel:pt})=>{function ct(Wt){ut(Wt)}return b.createElement(Ee.default,{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:ct},b.createElement("div",{className:"flex-container",style:{alignItems:"baseline"}},b.createElement("span",{style:Xe},"\u5355\u5143\u683C\u6570\uFF1A"),b.createElement("span",{style:Xe},"\u884C\u6570"),b.createElement(Ee.default.Item,{name:"row",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u884C\u6570"}]},b.createElement(Ce.Z,null)),b.createElement("span",{style:Xe},"\u5217\u6570"),b.createElement(Ee.default.Item,{name:"col",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5217\u6570"}]},b.createElement(Ce.Z,null))),b.createElement("div",{className:"flex-container",style:{marginTop:12,alignItems:"baseline"}},b.createElement("span",{style:Xe},"\u5BF9\u9F50\u65B9\u5F0F\uFF1A"),b.createElement(Ee.default.Item,{name:"align"},b.createElement(vt,null,b.createElement(we.ZP,{value:"default"},b.createElement("i",{className:"fa fa-align-justify"})),b.createElement(we.ZP,{value:"left"},b.createElement("i",{className:"fa fa-align-left"})),b.createElement(we.ZP,{value:"center"},b.createElement("i",{className:"fa fa-align-center"})),b.createElement(we.ZP,{value:"right"},b.createElement("i",{className:"fa fa-align-right"}))))),b.createElement("div",{className:"flex-container flex-end"},b.createElement(ve.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),b.createElement(ve.ZP,{type:"ghost",onClick:pt},"\u53D6\u6D88")))},Pt=ae(78673),cn=ae(43001),Ot=ae.n(cn),$t=(0,b.forwardRef)(({use3d:ut,width:pt,height:ct,callback:Wt,showSaveButton:vn},an)=>{const kn=(0,b.useRef)(),Fn=(0,b.useRef)(),[Bn,Un]=(0,b.useState)(!1),Ra=(0,b.useRef)({id:kn,appName:"graphing",width:pt||1e3,height:ct||600,showToolBar:!0,showMenuBar:!0,allowStyleBar:!0,showAlgebraInput:!0,enableLabelDrags:!1,enableShiftDragZoom:!0,showToolBarHelp:!1,errorDialogsActive:!0,showTutorialLink:!0,showLogging:!0,useBrowserForJS:!1});(0,b.useEffect)(()=>{Fn.current=new(Ot())(Ra.current,!0),window.onload=function(){Fn.current.inject("applet_container")}},[]);const yn=()=>{var pa=window.ggbApplet.getPNGBase64(1,!0,72);return Wt&&Wt(pa),pa};return(0,b.useEffect)(()=>{Ra.current.appName=Bn?"3D":"graphing",Fn.current.inject("applet_container")},[Bn]),(0,b.useEffect)(()=>{Un(ut)},[ut]),(0,b.useImperativeHandle)(an,()=>({getImgData:yn})),b.createElement(b.Fragment,null,b.createElement("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:kn}),b.createElement(Dt.Z,{align:"middle"},b.createElement(It.Z,{flex:1},b.createElement(Pt.Z,{size:"default",checkedChildren:"\u5173\u95ED3D\u56FE\u50CF",unCheckedChildren:"\u5F00\u542F3D\u56FE\u50CF",checked:Bn,onChange:pa=>Un(pa)})),b.createElement(It.Z,null,b.createElement(ve.ZP,{size:"large",onClick:yn,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"))))}),nn=ae(76562),bt=ae(1012),rn=ae(8591);const wn="link",Zt="upload-image",wt="add-flowchart",Ln="draw-image",zn="add-flowchart",Wn="code-block",Yn="add-table",xa="------------",on={default:xa,left:`:${xa}`,center:`:${xa}:`,right:`${xa}:`};var qt=ae(37808),pn=(ut,pt,ct)=>new Promise((Wt,vn)=>{var an=Bn=>{try{Fn(ct.next(Bn))}catch(Un){vn(Un)}},kn=Bn=>{try{Fn(ct.throw(Bn))}catch(Un){vn(Un)}},Fn=Bn=>Bn.done?Wt(Bn.value):Promise.resolve(Bn.value).then(an,kn);Fn((ct=ct.apply(ut,pt)).next())});function Zn(){}let xn=0;const Na=1e4,Wa="\u2581",ta="@\u2581\u2581@",En="@\u2581@",Oa=`
**\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`,Ve=["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 Bt(ut){return/^\d+$/.test(ut)?`${ut}px`:ut}const Vt=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",tn={[Vt+"-B"]:"bold",[Vt+"-I"]:"italic"},Sn={[wn]:"\u6DFB\u52A0\u94FE\u63A5",[Wn]:"\u6DFB\u52A0\u4EE3\u7801\u5757",[Zt]:"\u6DFB\u52A0\u56FE\u7247",[Ln]:"\u6DFB\u52A0\u753B\u56FE",[wt]:"\u63D2\u5165\u6D41\u7A0B\u56FE",[Yn]:"\u6DFB\u52A0\u8868\u683C","maths-latex":"\u6570\u5B66\u56FE\u50CF","inline-latex":"LATEX\u516C\u5F0F"};var mn=({defaultValue:ut="",onChange:pt,width:ct="100%",height:Wt=400,miniToolbar:vn=!1,isFocus:an=!1,watch:kn,insertTemp:Fn,mode:Bn="markdown",id:Un="markdown-editor-id",showResizeBar:Ra=!1,noStorage:yn=!1,showNullButton:pa=!1,showNullProgramButton:$a=!1,hidetoolBar:lr=!1,fullScreen:Jn=!1,onBlur:sn,onCMBeforeChange:Dr,onFullScreen:Ga,className:Er="",disablePaste:Cr=!1,disabled:Nr=!1,disabledFill:xr=!1,placeholder:so="",values:qr="",extraUse:_o})=>{const[Mn,Mr]=(0,b.useState)(null),[Rr,Gr]=(0,b.useState)(ut),[za,$n]=(0,b.useState)(kn),[wa,ja]=(0,b.useState)(Jn),[ga,fr]=(0,b.useState)(""),[Hr,oo]=(0,b.useState)(0),[Tr,co]=(0,b.useState)(Wt),[ni,$o]=(0,b.useState)(!1),_i=(0,b.useRef)((0,bt.Z)()),So=(0,b.useRef)(!1),Ba=(0,b.useRef)(),[eo,mo]=(0,b.useState)(0),[Ro,Po]=(0,b.useState)(0),xo=(0,b.useRef)(),oi=(0,b.useRef)(),Yo=(0,b.useRef)(),Wo=(0,b.useRef)(),Ci=()=>pn(void 0,null,function*(){var Ta;const na=yield Fetch("/api/attachments/distinct_hash_val.json",{method:"post",body:{hash_val:_i.current}});(Ta=na==null?void 0:na.attachments)!=null&&Ta.length&&(console.log("cm:",Mn,xo),na.attachments.map(ia=>{ia.content_type.indexOf("image")>-1?Mn.replaceSelection(`![,](/api/attachments/${ia.id}?type=${ia.content_type})`):ia.content_type.indexOf("video")>-1?Mn.replaceSelection(`<video width="100%" controls src="${ENV.API_SERVER}/api/attachments/${data.id}"></video>`):ia.content_type.indexOf("pdf")>-1?Mn.replaceSelection(`<a href="${ENV.API_SERVER}/api/attachments/${ia.id}?type=${ia.content_type}&disposition=inline" target="_blank">${ia.name}</a>`):Mn.replaceSelection(`[${ia.name}](${ENV.API_SERVER}/api/attachments/${ia.id}?type=${ia.content_type})`)}))});(0,b.useEffect)(()=>{const Ta=window.scrollY||window.pageYOffset;Gr(qr),Mn==null||Mn.setValue(qr),window.scrollTo(0,Ta)},[qr]),(0,b.useEffect)(()=>{Ga==null||Ga(wa)},[wa]),(0,b.useEffect)(()=>{if(xo.current){let Ta=function(ia,Pa){var hr;if(Cr){Pa.preventDefault();return}const _r=Pa.clipboardData;if(_r){const no=_r.types.toString(),fo=_r.items;if(no==="Files"||_r.types.indexOf("Files")>-1){if(Pa.preventDefault(),Bn=="stex")return;try{let Ao=fo[1];((hr=fo[0])==null?void 0:hr.kind)==="file"&&(Ao=fo[0]);const Bo=Ao.getAsFile(),ka=Bo.name.split(".").pop();(0,Je.I)(Bo,jo=>{var Bi,si,ki;jo.id?((Bi=Bo==null?void 0:Bo.type)==null?void 0:Bi.indexOf("image"))>-1?na.replaceSelection(`<img width="100%" src="/api/attachments/${jo.id}?type=${jo.content_type})" alt="" />`):((si=Bo==null?void 0:Bo.type)==null?void 0:si.indexOf("video"))>-1?na.replaceSelection(`<video width="100%" controls src="/api/attachments/${jo.id}"></video>`):((ki=Bo==null?void 0:Bo.type)==null?void 0:ki.indexOf("pdf"))>-1?na.replaceSelection(`<a href="/api/attachments/${jo.id}?type=${Bo.type}&disposition=inline" target="_blank">${Bo.name}</a>`):Ve.includes(ka)?na.replaceSelection(`<a href="/api/attachments/${jo.id}?type=office&disposition=inline" target="_blank">${Bo.name}</a>`):na.replaceSelection(`[${Bo.name}](/api/attachments/${jo.id}?type=${jo.content_type})`):(jo==null?void 0:jo.status)===401&&(rn.ZP.warning((jo==null?void 0:jo.message)||"\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),document.location.href="/user/login")})}catch(Ao){rn.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};const na=be().fromTextArea(xo.current,{mode:Bn,lineNumbers:!vn,lineWrapping:!0,value:ut,autoCloseTags:!$a,autoCloseBrackets:!0});return na.on("keyup",function(ia,Pa){Pa.keyCode===8&&(ia.getValue()==""?na.setOption("placeholder",so):na.setOption("placeholder",null))}),na.on("keydown",function(ia,Pa){if(Pa.keyCode===8){var hr=Eo(ia);hr&&Pa.preventDefault()}}),an&&na.focus(),na.on("paste",Ta),na.on("dragleave",function(ia,Pa){oi.current.classList.remove("mouse-hover-md")}),Nr&&na.on("beforeChange",function(ia,Pa){(Pa.origin==="paste"||Pa.origin==="+input")&&Pa.cancel()}),Mr(na),()=>{na.off("paste",Ta)}}},[]);const Vo=(0,b.useCallback)(()=>{if(oi.current)try{}catch(Ta){console.log(Ta,"---- to set md editor body height")}},[Tr,oi,wa]);(0,b.useEffect)(()=>{function Ta(){let na=new Ae.Z(ia=>{for(let Pa of ia)(Pa.target.offsetHeight>0||Pa.target.offsetWidth>0)&&(Vo(),Mn.setSize("100%","100%"),Mn.refresh())});return na.observe(xo.current.parentElement),na}if(Mn){const na=Ta();return()=>{var ia,Pa;(ia=xo.current)!=null&&ia.parentElement&&na.unobserve((Pa=xo.current)==null?void 0:Pa.parentElement)}}},[Mn,Vo]),(0,b.useEffect)(()=>{if(Mn){let Ta=[];for(const[na,ia]of Object.entries(tn)){let Pa={[na]:()=>{xi(ia)}};Ta.push(Pa),Mn.addKeyMap(Pa)}return Ba.current=setInterval(()=>{So.current&&Ci()},4e3),()=>{clearInterval(Ba.current);for(let na of Ta)Mn.removeKeyMap(na)}}},[Mn]),(0,b.useEffect)(()=>{Jn!==wa&&ja(Jn)},[Jn]),(0,qt.Z)(()=>{if(!yn&&Hr>0){let Ta=new Date().getTime(),na=window.sessionStorage.getItem(Un);Ta>=Hr+Na&&(!na||na!==Rr)&&(window.sessionStorage.setItem(Un,Rr),$o(!0))}},Na),(0,b.useEffect)(()=>{$n(kn)},[Mn,kn]),(0,b.useEffect)(()=>{Mn&&an&&Mn.focus()},[Mn,an]),(0,b.useEffect)(()=>{if(za&&Mn){let Ta=function(ia){let Pa=ia.target;if(Wo.current){let hr=Pa.scrollTop/Pa.scrollHeight;Wo.current.scrollTop=Wo.current.scrollHeight*hr}};const na=Mn.getScrollerElement();return na.addEventListener("scroll",Ta),()=>{na.removeEventListener("scroll",Ta)}}},[Mn,za]),(0,b.useEffect)(()=>{if(Mn&&Dr){let Ta=function(na,ia){Dr(na,ia)};return Mn.on("beforeChange",Ta),()=>{Mn.off("beforeChange",Ta)}}},[Mn,Dr]),(0,b.useEffect)(()=>{if(Mn&&sn){let Ta=function(){sn(Mn.getValue())};return Mn.on("blur",Ta),()=>{Mn.off("blur",Ta)}}},[Mn,sn]);function Eo(Ta,na){var ia=Ta.getDoc(),Pa=ia.getCursor(),hr=ia.getLine(Pa.line),_r=hr.charAt(Pa.ch-1),no=hr.lastIndexOf("@\u2581@",Pa.ch),fo=hr.lastIndexOf("@\u2581\u2581@",Pa.ch),Ao=no>fo?no:fo,Bo=no>fo?3:4;if(ta.indexOf(_r)===-1)return null;if(console.log("change1:",na,Ta,hr,Pa,Ao,no,fo,_r),Ao>=0&&Pa.ch-Ao<5){var ka=Ao+Bo;return ia.replaceRange("",{line:Pa.line,ch:Ao},{line:Pa.line,ch:ka}),{line:Pa.line,ch:ka}}return null}(0,b.useEffect)(()=>{if(Mn){let Ta=function(na,ia){const Pa=na.getValue();Gr(Pa),oo(new Date().getTime()),na.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),pt&&($a?pt(Pa,Ki(Pa)):pt(Pa))};return Mn.on("change",Ta),()=>{Mn.off("change",Ta)}}},[Mn,pt]),(0,b.useEffect)(()=>{if(Mn)if(ut==null)Mn.setValue(""),Gr("");else{const Ta=window.scrollY||window.pageYOffset;ut!==Mn.getValue()&&(Mn.setValue(ut),Gr(ut),Mn.setCursor(Nr?1:Mn.lineCount(),0),window.scrollTo(0,Ta))}},[Mn,ut]);const xi=(0,b.useCallback)(Ta=>{const na=Mn.getCursor(),ia=Mn.getSelection();let Pa=ia.split(`
`);switch(Ta){case"bold":return Mn.replaceSelection("**"+ia+"**"),ia===""&&Mn.setCursor(na.line,na.ch+2),Mn.focus();case"italic":return Mn.replaceSelection("*"+ia+"*"),ia===""&&Mn.setCursor(na.line,na.ch+1),Mn.focus();case"code":return Mn.replaceSelection("`"+ia+"`"),ia===""&&Mn.setCursor(na.line,na.ch+1),Mn.focus();case"inline-latex":return fr("inline-latex"),Mn.focus();case"latex":return Mn.replaceSelection("```latex\n"+ia+"\n```"),Mn.setCursor(na.line+1,ia.length+1),Mn.focus();case"line-break":return Mn.replaceSelection(`<br/>
`),Mn.focus();case"list-ul":return ia===""?Mn.replaceSelection("- "+ia):Mn.replaceSelection(Pa.map(hr=>hr===""?"":`- ${hr}`).join(`
`)),Mn.focus();case"list-ol":return ia===""?Mn.replaceSelection("1. "+ia):Mn.replaceSelection(Pa.map((hr,_r)=>hr===""?"":`${_r+1}. ${hr}`).join(`
`)),Mn.focus();case"add-null-ch":return ia===""&&Mn.setCursor(na.line,na.ch),Mn.replaceSelection(Wa),Mn.focus();case"add-signal":return ia===""&&Mn.setCursor(na.line,na.ch),Mn.replaceSelection(En),Mn.focus();case"add-multiple":return ia===""&&Mn.setCursor(na.line,na.ch),Mn.replaceSelection(ta),Mn.focus();case"inster-template-1":return ia===""&&Mn.setCursor(na.line,na.ch),Mn.replaceSelection(Oa),Mn.focus();case"eraser":return Mn.setValue(""),Mn.focus();case"trigger-watch":return $n(!za),Mn.focus();case"trigger-full-screen":return ja(!wa),Mn.focus();case wn:fr(wn);return;case Wn:fr(Wn);return;case Zt:fr(Zt);return;case Ln:fr(Ln);return;case"maths-latex":fr("maths-latex");return;case wt:fr(wt);return;case Yn:fr(Yn);return;default:throw new Error}},[Mn,za,wa]),yo=(0,b.useCallback)((Ta,na)=>{var ia,Pa,hr,_r,no,fo;switch(fr(""),ga){case wn:const{title:Bi,link:si}=Ta;return Mn.replaceSelection(`[${Bi}](${si})`),Mn.focus();case Wn:const{language:ki,content:Zi}=Ta;return Mn.replaceSelection(["```"+ki,Zi,"```"].join(`
`)),Mn.focus();case"maths-latex":for(var Ao=atob(Ta),Bo=new Uint8Array(Ao.length),ka=0;ka<Ao.length;ka++)Bo[ka]=Ao.charCodeAt(ka);var jo=new Blob([Bo],{type:"image/png"});(0,Je.I)(jo,To=>{To.id?Mn.replaceSelection(`![,](/api/attachments/${To.id}?type=${To.content_type})`):(To==null?void 0:To.status)===401&&(document.location.href="/user/login")});break;case"inline-latex":Mn.replaceSelection("`$$"+Ta+"$$`");break;case Zt:case Ln:case zn:const{src:zi,alt:Ur}=Ta,Mo=na,ol=(hr=(Pa=(ia=Mo==null?void 0:Mo.name)==null?void 0:ia.split("."))==null?void 0:Pa.pop)==null?void 0:hr.call(Pa);return((_r=Mo==null?void 0:Mo.type)==null?void 0:_r.indexOf("image"))>-1||!(Mo!=null&&Mo.type)?Mo.align||Mo.width?Mn.replaceSelection(`<p style="text-align:${Mo.align||"initial"}"><img width="${Mo.width?Mo.width+"%":"initial"}" src="${zi}" alt="${Ur||""}" /></p>`):Mn.replaceSelection(`<img width="100%" src="${zi}" alt="${Ur||""}" />`):((no=Mo==null?void 0:Mo.type)==null?void 0:no.indexOf("video"))>-1?Mn.replaceSelection(`<video width="100%" controls src="${zi}"></video>`):((fo=Mo==null?void 0:Mo.type)==null?void 0:fo.indexOf("pdf"))>-1?Mn.replaceSelection(`<a href="${zi}?type=${Mo.type}&disposition=inline" target="_blank">${Mo.name}</a>`):Ve.includes(ol)?Mn.replaceSelection(`<a href="${zi}?type=office&disposition=inline" target="_blank">${Mo.name}</a>`):Mn.replaceSelection(`[${Mo.name}](${zi})`),Mn.focus();case Yn:const{row:vi,col:Ui,align:il}=Ta;let Xi=`
`;for(let To=0;To<vi;To++){let qi=[],el=[];for(let ll=0;ll<Ui;ll++)To===1&&el.push(on[il]),qi.push(" ");To===1&&(Xi+=`| ${el.join(" | ")} |
`),Xi+=`| ${qi.join(Ui===1?"":" | ")} |
`}return Mn.replaceSelection(Xi+`
`),Mn.focus();default:throw new Error}},[Mn,ga]),Mi=(0,b.useMemo)(()=>{switch(ga){case wn:return b.createElement(Ht,{callback:yo,onCancel:ai});case Wn:return b.createElement(en.Z,{callback:yo,onCancel:ai});case Zt:return b.createElement(Je.Z,{callback:yo,onCancel:ai});case wt:return b.createElement(At,{callback:yo,onCancel:ai});case Yn:return b.createElement(_e,{callback:yo,onCancel:ai});case"maths-latex":return b.createElement($t,{showSaveButton:!0,callback:yo});case"inline-latex":return b.createElement(nn.Z,{showSaveButton:!0,callback:yo});default:return null}},[ga]);function ai(){fr("")}(0,b.useEffect)(()=>{if(Yo.current){let Ta=function(no){hr=!0,_r=no.pageY},na=function(){hr=!1},ia=function(no){if(hr){let fo=no.pageY-_r;fo<0&&(fo=0),fo>300&&(fo=300);let Ao=Wt+fo+"px";co(Ao)}},Pa=Yo.current,hr=!1,_r=0;return Pa.addEventListener("mousedown",Ta),document.addEventListener("mousemove",ia),document.addEventListener("mouseup",na),()=>{Pa.removeEventListener("mousedown",Ta),document.removeEventListener("mousemove",ia),document.removeEventListener("mouseup",na)}}},[Mn,Yo]),(0,b.useEffect)(()=>{co(Wt)},[Wt]);const Wi=Bt(ct),Di=Bt(Tr),Ti={width:Wi,height:Di},Xo=(0,b.useMemo)(()=>{if(Hr){let Ta=new Date(Hr),na=Ta.getHours(),ia=Ta.getMinutes(),Pa=Ta.getSeconds();return na=na<10?"0"+na:na,ia=ia<10?"0"+ia:ia,Pa=Pa<10?"0"+Pa:Pa,`${na}:${ia}:${Pa}`}return 0},[Hr]),Ki=Ta=>{const na=[];if($a){let ia=-1;Ta=Ta.replace(/(@▁▁@|@▁@)/g,function(Pa,hr,_r){na.push({multiLine:Pa!==En})})}return na};function pl(){window.sessionStorage.removeItem(Un),$o(!1),oo(0)}function $i(){$o(!1),oo(0),Mn.setValue(window.sessionStorage.getItem(Un))}(0,b.useEffect)(()=>{Sn[ga]&&ga!==Ln&&ga!==wt&&setTimeout(()=>{const Ta=document.getElementsByClassName("markdown-popup-form")[0],na=window.innerWidth/2-Ta.offsetWidth/2,ia=window.innerHeight/2-Ta.offsetHeight/2;mo(na),Po(ia)},0)},[ga]);const Yi=Ta=>{Ta.preventDefault();const na=Ta.clientX-eo,ia=Ta.clientY-Ro;document.body.onmousemove=Pa=>{let hr=Pa.clientX-na,_r=Pa.clientY-ia;const no=document.getElementsByClassName("markdown-popup-form")[0],fo=window.innerWidth-no.offsetWidth,Ao=window.innerHeight-no.offsetHeight;hr=Math.max(0,Math.min(hr,fo)),_r=Math.max(0,Math.min(_r,Ao)),Kr(Pa.clientX,Pa.clientY,na,ia)&&(mo(hr),Po(_r))},document.body.onmouseup=function(){document.body.onmousemove=null}},Kr=(Ta,na,ia,Pa)=>{const hr=document.body.clientHeight,_r=document.body.clientWidth;return Ta<20&&ia>Ta||Ta>_r-20&&ia<Ta||na<20&&Pa>na||na>hr-20&&Pa<na?(document.body.onmousemove=null,document.body.onmouseup=null,!1):!0};return b.createElement(b.Fragment,null,b.createElement("div",{className:"markdown-editor-wrapper",ref:oi},b.createElement("div",{className:`markdown-editor-container ${Er} ${za?"on-preview":""} ${vn?"mini":""} ${wa?"full-screen":""}`,style:Ti},b.createElement(ge,{insertTemp:Fn,watch:za,fullScreen:wa,showNullButton:pa,showNullProgramButton:$a,onActionCallback:xi,hidetoolBar:lr,extraUse:_o}),b.createElement("div",{className:"markdown-editor-body"},b.createElement("div",{className:"codemirror-container"},b.createElement("textarea",{ref:xo,placeholder:so})),za?b.createElement("div",{ref:Wo,className:"preview-container"},Bn==="stex"&&b.createElement(je,{value:Rr}),Bn!=="stex"&&b.createElement(ke.Z,{disabledFill:xr,showProgramFill:$a,value:Rr})):null))),Ra?b.createElement("a",{ref:Yo,className:"editor-resize"}):null,ga===Ln&&b.createElement(Yt,{callback:yo,onCancel:ai}),ga===wt&&b.createElement(At,{callback:yo,onCancel:ai}),b.createElement(ye.Z,null,Sn[ga]&&ga!==Ln&&ga!==wt?b.createElement(ft.default,{maskClosable:!1,centered:!0,style:{position:"absolute",left:eo,top:Ro},title:b.createElement("div",{style:{cursor:"move"},onMouseDown:Yi},Sn[ga]),open:!0,onCancel:ai,footer:null,destroyOnClose:!0,width:ga===wt?"1200px":null,height:ga===wt?"80vh":null,className:"markdown-popup-form"},Mi):null))}},17077:function(_t,Rt,ae){"use strict";ae.d(Rt,{Z:function(){return pe},I:function(){return ye}});var b=ae(78241),se=ae(8591),be=ae(92832),Ae=ae(81327),Ie=ae(5871),Re=ae(5112),ue=ae(3113),Ze=ae(46699),We=ae(59301),Te=ae(48790),ke=ae(59301),je=Object.defineProperty,De=Object.defineProperties,le=Object.getOwnPropertyDescriptors,E=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable,y=(Ee,Le,ve)=>Le in Ee?je(Ee,Le,{enumerable:!0,configurable:!0,writable:!0,value:ve}):Ee[Le]=ve,z=(Ee,Le)=>{for(var ve in Le||(Le={}))a.call(Le,ve)&&y(Ee,ve,Le[ve]);if(E)for(var ve of E(Le))x.call(Le,ve)&&y(Ee,ve,Le[ve]);return Ee},te=(Ee,Le)=>De(Ee,le(Le));const{useForm:re}=b.default,ie={width:280,marginRight:10},ce={labelCol:{span:5},wrapperCol:{span:19}};var pe=({callback:Ee,onCancel:Le})=>{const[ve]=re();let $e=(0,We.useRef)();function He(Qe){$e.current.width=ve.getFieldValue("width"),$e.current.align=ve.getFieldValue("align"),Ee(Qe,$e.current)}function it(Qe,lt){if(Qe.status===-1){se.ZP.error(Qe.message);return}ve.setFieldsValue({src:`/api/attachments/${Qe.id}`,type:lt.type})}function Ne(Qe){let lt=Qe.target.files[0];$e.current=lt,ye(lt,it)}return ke.createElement(b.default,te(z({form:ve},ce),{className:"upload-image-panel",onFinish:He,style:{width:470,overflow:"hidden"}}),ke.createElement(b.default.Item,{label:"\u56FE\u7247\u5730\u5740",required:!0},ke.createElement("div",{className:"flex-container"},ke.createElement(b.default.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5730\u5740"}]},ke.createElement(be.default,{style:ie})),ke.createElement(ge,{onFileChange:Ne}))),ke.createElement(b.default.Item,{label:"\u56FE\u7247\u63CF\u8FF0",name:"alt"},ke.createElement(be.default,{style:{width:264}})),ke.createElement(b.default.Item,{label:"\u56FE\u7247\u5BBD\u5EA6",name:"width"},ke.createElement(Ae.Z,null,ke.createElement(b.default.Item,{name:"width",style:{margin:0}},ke.createElement(Ie.Z,{style:{width:264}})),ke.createElement("span",{className:"ml8"},"%"))),ke.createElement(b.default.Item,{label:"\u5BF9\u9F50\u65B9\u5F0F",name:"align"},ke.createElement(Re.ZP.Group,{name:"align",defaultValue:1,options:[{value:"left",label:"\u5DE6\u5BF9\u9F50"},{value:"center",label:"\u5C45\u4E2D\u5BF9\u9F50"},{value:"right",label:"\u53F3\u5BF9\u9F50"}]})),ke.createElement("aside",null,ke.createElement(b.default.Item,{style:{textAlign:"right",position:"relative",right:-98}},ke.createElement(ue.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),ke.createElement(ue.ZP,{type:"default",onClick:Le},"\u53D6\u6D88"))))};function ge({onFileChange:Ee}){return ke.createElement("label",{className:"upload-button",style:{cursor:"pointer"}},"\u672C\u5730\u4E0A\u4F20",ke.createElement("input",{type:"file",onChange:Ee}))}function ye(Ee,Le){if(!Ee)throw new String("\u6CA1\u6709\u6587\u4EF6");if(!(0,Te.bg)())throw se.ZP.warning("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),new String("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C");let ve=new FormData;ve.append("editormd-image-file",Ee),ve.append("file_param_name","editormd-image-file"),ve.append("byxhr","true");var $e=new window.XMLHttpRequest;$e.withCredentials=!0,$e.addEventListener("load",function(He){Le(JSON.parse(He.target.responseText),Ee)},!1),$e.addEventListener("error",function(He){console.error(He)},!1),$e.open("POST",`${Ze.KI}/api/attachments.json`),$e.send(ve)}},91558:function(_t,Rt,ae){"use strict";ae.d(Rt,{Z:function(){return be}});var b=ae(59301),se=ae(4676);class be extends b.Component{constructor(Ie){super(Ie);const Re=window.document;this.node=Re.createElement("div"),Re.body.appendChild(this.node)}render(){const{children:Ie}=this.props;return(0,se.createPortal)(Ie,this.node)}componentWillUnmount(){window.document.body.removeChild(this.node)}}},7501:function(_t,Rt,ae){"use strict";ae.d(Rt,{i:function(){return ie},Z:function(){return pe}});var b={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"},se=ae(71418),be=ae(6848),Ae=ae(92310),Ie=ae.n(Ae),Re=ae(51257),ue=ae(28426),Ze=ae(48790),We="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+cIPEexg4+hPn0K0IPCz4A4GkrH4DkCxpEDa2fCAFqzC8AsMBifYLI6p93vdkUGUwtzEtCZC4bg0bXxnRNDrdlwBIfG8eoxZP3SCJc+sEicEUhvLBLrQsXw+r5Ognn8LGk4IoPiiQhB1vzCQ+XjHNeP2/AUkZU8JpgCRWr1yxinFy9bu+IyYZrAH8sP3ECsVOBwx1nGCPGyTN8kDg/ReYxDaFf41Vkr46F0C8MLRihmCFCyT6zNDyUYI9wu8J1+cB0+XuDPemndz/GJMcZvDyq5NJjr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ke,swimg:je},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:De,swimg:le},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:E,swimg:a},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:x,swimg:y},{name:"\u519B\u961F\u4E00\u6D41",ptimg:z,swimg:te}];var pe=({className:ge,dataSource:ye=[],col:Ee=4,right:Le,bottom:ve=23,precision:$e=0,wrapWidth:He=1200,trackEventItems:it,loading:Ne,onRemove:Qe=()=>{},isCurrent:lt=!0,showAlias:Ke=!1})=>{const Ye=Math.floor((He-(Ee-1)*Le)/Ee),Kt=[{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(ot=>(window.ENV==="build"&&(ot.ptimg=`/react/build${ot.ptimg}`,ot.swimg=`/react/build${ot.swimg}`),ot));return re.createElement(se.Z,{spinning:Ne},re.createElement("div",{className:Ie()(b.list,ge)},!!(ye!=null&&ye.length)&&(ye==null?void 0:ye.map((ot,Ht)=>{var en;const{name:Je,id:ft,identifier:Dt,featured:ln,school_name:yt,image_url:Yt,excellent:Be,is_plan:Ut}=ot;return re.createElement("div",{key:ft,className:b.wrap,style:{width:Ye,marginRight:(1+Ht)%Ee===0?0:Le+$e,marginBottom:ve}},re.createElement("a",{className:b.li,onClick:Cn=>{Cn.preventDefault(),Cn.stopPropagation(),it&&(0,Re.L9)([it]),(0,Re.xg)(`/paths/${Dt}`)}},re.createElement("div",{className:b.img},re.createElement("img",{className:b.cover,src:`${Yt}`}),lt&&(0,Ze.bg)()&&(ot==null?void 0:ot.studying)&&re.createElement("div",{className:`${b.movebq} user-path-items`,onClick:Cn=>{Cn.stopPropagation(),Qe(ot)}},re.createElement("i",{className:"iconfont icon-yichu1 mr5 c-red"}),re.createElement("span",{className:"c-red"},"\u79FB\u9664")),(en=ot==null?void 0:ot.subject_tags)==null?void 0:en.map((Cn,Ft)=>{var It,nt;if(Ft===0){const Fe=(It=Kt.find(he=>he.name==Cn))==null?void 0:It.swimg;return re.createElement("img",{className:b.sign,src:Fe,style:{left:"-4px"}})}const Ue=(nt=Kt.find(Fe=>Fe.name==Cn))==null?void 0:nt.ptimg;return re.createElement("img",{className:b.sign,src:Ue,style:{left:`${48+52*(Ft-1)+2*Ft}px`}})}),re.createElement("div",{style:{position:"absolute",top:"150px",left:"4px"}},(ot==null?void 0:ot.excellent)&&re.createElement("div",{className:b.bq},"\u5F00\u653E\u8BFE\u7A0B"))),re.createElement("div",{className:b.name},re.createElement(be.Z,{title:Ke&&(ot!=null&&ot.excellent_alias_name)?re.createElement("span",null,`\u8BFE\u7A0B\u539F\u540D\uFF1A${Je}`,re.createElement("br",null),re.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${ot==null?void 0:ot.excellent_alias_name}`)):Je},re.createElement("span",{className:b.e},Ke&&(ot==null?void 0:ot.excellent_alias_name)||Je))),re.createElement("div",{className:b.tags},re.createElement("div",null,re.createElement(be.Z,{placement:"bottom",title:"\u7AE0\u8282\u6570"},re.createElement("span",null,re.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),re.createElement("span",null,ot.stages_count))),re.createElement(be.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},re.createElement("span",null,re.createElement("i",{className:"iconfont icon-chengyuan font14 mr3"}),re.createElement("span",null,ot.members_count)))))))})),!ye.length&&re.createElement(ue.Z,null)))}},9148:function(_t,Rt,ae){"use strict";ae.d(Rt,{jL:function(){return Ie},w9:function(){return ot},QD:function(){return nn},cQ:function(){return Qe.Z},op:function(){return _e},O5:function(){return Oa},_b:function(){return Ln},t7:function(){return y},Gi:function(){return ln},YG:function(){return ft},qp:function(){return ke},vr:function(){return wn},qE:function(){return Ot},Je:function(){return re},wb:function(){return Ne},cq:function(){return Ft},tp:function(){return le}});var b=ae(59301),se={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"},be="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE4AAAA0CAYAAAAkEw66AAAAAXNSR0IArs4c6QAAGNVJREFUeF7VmwmwHVWdxr9zuvvu9+3ZXsxCiNkIQZOwEzMgyADjggsWgzPqOAJaMiCjYiGKqDBQAo4iWGAxA+ooMm7gBhSyhBBRIIBSAQlrHuTt7913t97PmfpOd4cXlLAFGO6rW9237719+/z6+6/nPIHX+XHttddaex38nlW2lLO1svq1wJ4aeFMM9CqFnNKoaYVapDAOicfjGEMKqKk2nrx59Lbt5xx6aPR6DEG8Hj/K3xwY0YtjSx2vYnlspLEsX0BRKUBrINtyX+PZp0r3fR+IIgzFSo9EsahFUfSHWIj7Pa919zvf2vlo+rFXdWivObjHJvR8S6vTJORHckV0+4GBAF4InwQlBCAIkEMXgCLA9Mn9WCef4ft8HWkgVIDn6ckwUA/HQfCzoFX71TsP6n/41aL3moHTWotnJnGysPEFx8ZcAtMqGTjh2NmVTL+iDB6BZurjsRSe2SogjhNwMZIngbZbqgXom8N26/KjV3femB7ebRxfE3DbRnW/k8c3LQvv5yCjOFVVqhgCyNnJmAhoxyOFasz1OeCM2lLTJry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G47YtAv+9I3xp9f0yIvLDAw6ySIY/ExSnpkqVcels/x/syLgtXHpx9bhlF2CO/tanVuzHHfPqmJVOf0nNdr5SFP7D02Eb/3iEfkdtdsbFeCXbtYfXlDGueU85iKZsjXZklnpyZdpGmgWFcS4pGsQnzvuOBG/4CzXFX/Qp+zZi28pPzkZHeNIS337X2+Qp+IckWajb1RsyXWffqOeN8tRH+rKyWOhsSBnYyYziiCAa0k8EQKb2kF01acPc3akXS8IbsW1Onf6AnVib16ewqWz21vq9qu2yNPeqL7thW7xZ65391jcV1jE/1qKFcaeCfDwOYeK9D83nv32/wHzrWgvjJ8Q7AAAAABJRU5ErkJggg==",Ie=({dataSource:Ve=[],img:Bt,imgWidth:Gt=346,title:Vt,sunTitle:tn,bannerExtraContent:Sn})=>b.createElement("div",{className:se.banner},b.createElement("div",{className:se.content},b.createElement("aside",null,b.createElement("p",null,b.createElement("b",null,Vt),b.createElement("span",null,tn)),Ve.length>0&&b.createElement("div",{className:se.btns},Ve.map((mn,ut)=>b.createElement("div",{key:ut,onClick:mn.click},mn.name,mn.sign?b.createElement("img",{src:be,width:39}):null))),Sn),Bt&&b.createElement("img",{style:{marginTop:33,marginRight:38},src:Bt,width:Gt}))),Re={flex_box_center:"flex_box_center___hG6RI",flex_space_between:"flex_space_between___ss3Fh",flex_box_vertical_center:"flex_box_vertical_center___K80p9",flex_box_center_end:"flex_box_center_end___qmXX3",flex_box_column:"flex_box_column___GFV8F",row:"row___aXJjm",title:"title___HUKL0",tagsWrap:"tagsWrap___XB2W3",action:"action___VdHb1",bar:"bar___t1kKC",tag:"tag___V7Eft",name:"name___Hk1Ip",num:"num___xQpcH",active:"active___XryTX",tagsBorderWrap:"tagsBorderWrap___OMxjs"},ue=ae(92310),Ze=ae.n(ue),We=ae(89392),ke=({dataSource:Ve=[],value:Bt,onChange:Gt,onTitleChange:Vt,className:tn,title:Sn,titleWidth:mn=41,style:ut={},fontColor:pt="#6A7283",showCount:ct})=>{const[Wt,vn]=(0,b.useState)(0),[an,kn]=(0,b.useState)(!1),Fn=(0,b.useRef)(null),Bn=(0,b.useRef)(null);return(0,b.useEffect)(()=>{var Un;Ve.length!==0&&(((Un=Fn==null?void 0:Fn.current)==null?void 0:Un.clientHeight)>97?vn(1):vn(0)),Ve.length===0&&vn(0),kn(!1)},[Ve]),b.createElement("div",{className:Ze()(Re.row,tn),style:ut},b.createElement("div",{onClick:(0,We.throttle)(()=>Vt==null?void 0:Vt(),2e3),style:{width:mn,marginTop:an?12:4},className:`${Re.title} ${Vt?"current":""}`},Sn),b.createElement("div",{className:an?`${Re.tagsWrap} ${Re.tagsBorderWrap}`:Re.tagsWrap},b.createElement("div",{className:Re.bar,ref:Bn,style:Wt>0?{height:Wt===1?97:"auto",overflow:Wt===1?"hidden":"auto",paddingRight:55}:{paddingRight:0}},b.createElement("div",{className:Re.tag,ref:Fn},Ve==null?void 0:Ve.map(Un=>b.createElement("span",{onClick:()=>Gt(Un.id),key:Un.id,style:{color:pt},className:Bt===Un.id?Re.active:""},b.createElement("span",{title:Un.name,className:Re.name},Un.name),!!ct&&b.createElement("span",{className:Re.num},Un.count))))),!!Wt&&b.createElement(b.Fragment,null,Wt===1?b.createElement("div",{onClick:()=>{var Un;vn(2),((Un=Fn==null?void 0:Fn.current)==null?void 0:Un.clientHeight)>245?kn(!0):kn(!1)},className:Re.action},"\u5C55\u5F00",b.createElement("i",{style:{transform:"translateY(1px) scale(0.6)"},className:"iconfont icon-zhankai4"})):b.createElement("div",{onClick:()=>{Bn.current.scrollTop=0,vn(1),kn(!1)},className:Re.action},"\u6536\u8D77",b.createElement("i",{style:{transform:"translateY(0px) scale(0.6)"},className:"iconfont icon-shouqi3"})))))},je={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"},le=({dataSource:Ve=[],value:Bt,onChange:Gt,className:Vt,style:tn={}})=>b.createElement("div",{style:tn,className:Ze()(je.tabs,Vt)},Ve.map(Sn=>b.createElement("span",{onClick:()=>Gt(Sn.id),className:Bt===Sn.id?je.active:"",key:Sn.id},Sn.name))),E={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"},a=ae(92832),y=({dataSource:Ve=[],value:Bt="",onChange:Gt,onInputChange:Vt=()=>{},className:tn,style:Sn={},placeholder:mn,allowClear:ut=!1})=>{var pt;const[ct,Wt]=(0,b.useState)(""),[vn,an]=(0,b.useState)("");(0,b.useEffect)(()=>{var Bn;let Un=Bt;(Bn=JSON.stringify(Bt))!=null&&Bn.includes("{")&&(Wt(Bt.id),Un=Bt.value||"");try{an(decodeURIComponent(Un||""))}catch(Ra){an(decodeURIComponent(Un||""))}},[Bt]);const kn=()=>{Gt(encodeURIComponent(vn),ct||null)},Fn=Bn=>{Bn!==ct&&(Wt(Bn),Gt(encodeURIComponent(vn),Bn))};return b.createElement("div",{className:Ze()(E.input,tn),style:Sn},!!Ve.length&&b.createElement("div",{className:E.dropdown},b.createElement("div",{className:E.text},(pt=Ve.find(Bn=>Bn.id===ct))==null?void 0:pt.name,b.createElement("i",{className:"iconfont icon-zhankai4"}),b.createElement("b",{className:E.b1}),b.createElement("b",{className:E.b2})),b.createElement("div",{className:E.menu},Ve.map((Bn,Un)=>b.createElement("div",{key:Un,onClick:()=>Fn(Bn.id)},Bn.name)))),b.createElement(a.default,{onPressEnter:kn,value:vn,onChange:Bn=>{an(Bn.target.value),Vt(encodeURIComponent(Bn.target.value),ct||null)},bordered:!1,placeholder:mn}),b.createElement("i",{onClick:kn,className:"iconfont icon-sousuo9 font14 pl10 current"}))},z={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"},re=({value:Ve,onChange:Bt,className:Gt,total:Vt,pageSize:tn,style:Sn={}})=>{const mn=Ve<2,ut=Ve>=Math.ceil(Vt/tn);return Vt<=tn?b.createElement(b.Fragment,null):b.createElement("div",{className:Ze()(z.quickPager,Gt),style:Sn},b.createElement("div",{onClick:()=>{mn||Bt(Ve-1,"prev")},className:mn?z.disabled:""},"\u4E0A\u4E00\u9875"),b.createElement("div",{onClick:()=>{ut||Bt(Ve+1,"next")},className:ut?z.disabled:""},"\u4E0B\u4E00\u9875"))},ie={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"},ce=ae(71418),pe=ae(6848),ge=ae(13570),ye=ae(346),Ee=ae(51257),Le=ae(96908),ve=ae(57177),$e=ae(81378),He=ae(28426),Ne=({className:Ve,dataSource:Bt=[],col:Gt=4,right:Vt,bottom:tn=23,precision:Sn=0,wrapWidth:mn=1200,trackEventItems:ut,loading:pt})=>{const ct=Math.floor((mn-(Gt-1)*Vt)/Gt);return b.createElement(ce.Z,{spinning:pt},b.createElement("div",{className:Ze()(ie.list,Ve)},!!Bt.length&&Bt.map((Wt,vn)=>{const{name:an,id:kn,identifier:Fn,power:Bn,cover_image_id:Un,pic:Ra}=Wt;return b.createElement("div",{className:ie.wrap,key:kn,style:{width:ct,marginRight:(1+vn)%Gt===0?0:Vt+Sn,marginBottom:tn}},b.createElement("a",{target:"_blank",href:`/shixuns/${Fn}/challenges`,className:ie.li,onClick:yn=>{yn.preventDefault(),ut&&(0,Ee.L9)([ut]),Bn&&(0,Ee.xg)(`/shixuns/${Fn}/challenges`)}},b.createElement("div",{className:ie.img},b.createElement("img",{className:ie.cover,src:`${Ra}`}),Wt.is_jupyter&&b.createElement("img",{className:ie.sign,src:Le}),Wt.is_jupyter_lab&&b.createElement("img",{className:ie.sign,src:ve}),Wt.is_unity_3d&&b.createElement("img",{className:ie.sign,src:$e})),b.createElement("div",{className:ie.name},b.createElement(pe.Z,{title:an||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},b.createElement("span",{className:ie.e},an||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),b.createElement("div",{className:ie.tags},b.createElement(pe.Z,{placement:"bottom",title:"\u5173\u5361\u6570"},b.createElement("span",null,b.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),b.createElement("span",null,Wt.challenges_count))),!!Wt.myshixuns_count&&b.createElement(pe.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},b.createElement("span",null,b.createElement("i",{className:"iconfont icon-chengyuan font14 mr2"}),b.createElement("span",null,Wt.myshixuns_count))),b.createElement(pe.Z,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},b.createElement("span",null,b.createElement("span",null,Wt.level))),b.createElement("div",{className:ie.rate},b.createElement(ge.Z,{allowHalf:!0,disabled:!0,defaultValue:Wt.score_info}),b.createElement("span",null,"\xA0",Wt.score_info?`${Wt.score_info}\u5206`:"5\u5206")))),!Bn&&b.createElement("div",{className:ie.lockWrap},b.createElement("img",{src:`${ye.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),b.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!Bt.length&&b.createElement(He.Z,null)))},Qe=ae(7501),lt={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"},Ke="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JKmEQPILClJZfpEfIUAChFQSHIJxnGDiDYwsb8KRLUuWZcmSxqN9pJF6nV7eSZ373u1509Mzvd2eGVt6VV2z9Ht3+9459+yX8Bq4mDmWK2GLqla3MvFWZt4KpjVMSBNzGoQ0M6WJkJbpMiNDxBkwMkyUIUYGxCeJaB8x7fMcZ18yiv1EVHy1Lw+9GicwO8tXlSrlbSB6O4HfANAmZlY250JEHsBHGLQTzA9H3chDfX2012Yfy9HWqwJgZh7NF6vvY/a2gWkbgyeWY3Hq+yDQcRA/RKQeSsSce4jo9EqMo50+Vy3AzNxXKFTv9MAfB/AuZo60M7Fe30tEZQA/UqBvx+POvUQ02+s+O2l/1QGcy5Xe6Cn1SXj8YYAHO5nU8j9DM1D0b8rzvpFMRp9a/v4X73HVAJwplN9GHj7P4NtW0wK1OxYCPcAKX0rHI4+0+2wv7l9xgHPFyrs9j78A5l/sxQRXrE2ix5SiLyZj7v+s2BgArBjA+XzpzR7oq8x880ouQK/7JqKnFfiziUT0iV731aj9ZQeYmYez+fJXiOguZl72/ldkkYmYmb+eSkT+lIjOLOcYlm2BB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332dfk/USPOnA/2qrLr5s16DkFm8EJm84Xq5/wPP7LC5eaaVop+pNEzPlmwJ67wa6lZ5cN4BDQw9l8+StEdNeFsjcLmMz89VQi8qdEdKYlZCzdtOwAm3EHIblfZeabLc1lVTYjccsK/NlEIvrESgxwxQAOCWHv9jz+Aph/cSUWoGd9Ej2mFH3RlkWq03GuOMBm4JLwRh4+z+DbOp3ManhOsvxY4UvpeOSR1TGe1TCK0BiC/OS7APoQwKHqHKtsoPOGQzMA/7sCvp5MRp9aTSNdNRRcvyhSTqJQqN7pgT8O4F3MvArC3uZGKdVsAPxIgb4djzv3EtHsagLWjGXVAhxeLCnxlC9W38fsbQPTNgZPrMRiSgU5ED9EpB5KxJx7iKjFkxlXYrR+n68KgOuXJ6ituQ1E2wj8eoA2McuxWPYuqbcM8BEG7QTzw1E38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",Ye=ae(59301),ot=({className:Ve,dataSource:Bt=[],col:Gt=4,right:Vt,bottom:tn=23,precision:Sn=0,wrapWidth:mn=1200,trackEventItems:ut,loading:pt})=>{const ct=Math.floor((mn-(Gt-1)*Vt)/Gt);return Ye.createElement(ce.Z,{spinning:pt},Ye.createElement("div",{className:Ze()(lt.list,Ve)},!!Bt.length&&Bt.map((Wt,vn)=>{const{subject_identifier:an,id:kn,identifier:Fn,power:Bn}=Wt,Un=Wt.is_public!=0&&Wt.is_public;return Ye.createElement("div",{className:lt.wrap,key:kn,style:{width:ct,marginRight:(1+vn)%Gt===0?0:Vt+Sn,marginBottom:tn}},Ye.createElement("a",{className:lt.li,onClick:Ra=>{Ra.preventDefault(),ut&&(0,Ee.L9)([ut]),(0,Ee.xg)(Wt.first_category_url)}},Ye.createElement("div",{className:lt.top},Ye.createElement(pe.Z,{title:Wt.name},Ye.createElement("div",{className:lt.name},Wt.name)),Ye.createElement("img",{className:lt.img,src:ye.Z.IMG_SERVER+"/images/"+Wt.avatar_url}),Ye.createElement("div",{className:lt.text,title:Wt.creator},Wt.creator),an&&Ye.createElement("div",{className:lt.btns},Ye.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),Ye.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802")),Un&&Ye.createElement("div",{className:lt.sign},"\u516C\u5F00")),Ye.createElement("div",{className:lt.bottom},Wt.visits>0&&Ye.createElement(pe.Z,{title:"\u8BBF\u95EE\u91CF",placement:"bottom"},Ye.createElement("span",null,Ye.createElement("i",{className:"iconfont icon-liulanyan"}),Ye.createElement("span",null,Wt.visits))),Wt.course_members_count>0&&Ye.createElement(pe.Z,{title:"\u6210\u5458",placement:"bottom"},Ye.createElement("span",null,Ye.createElement("i",{className:"iconfont icon-chengyuan"}),Wt.course_members_count)),Wt.tasks_count>0&&Ye.createElement(pe.Z,{title:"\u4F5C\u4E1A",placement:"bottom"},Ye.createElement("span",null,Ye.createElement("i",{className:"iconfont icon-zuoye"}),Wt.tasks_count)),Wt.is_end?Ye.createElement("div",{style:{color:"#6B758B"}},"\u5DF2\u7ED3\u675F"):Ye.createElement("div",{style:{color:"#00B187"}},"\u8FDB\u884C\u4E2D"))),!Wt.is_accessible&&Ye.createElement("div",{className:lt.lockWrap},Ye.createElement("img",{src:`${ye.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),Ye.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!Bt.length&&Ye.createElement(He.Z,null)))},Ht={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"},en=ae(25690),ft=({dataSource:Ve=[],value:Bt,onChange:Gt,className:Vt,style:tn={},tabBarExtraContent:Sn})=>b.createElement("div",{className:Ze()(Ht.tabs,Vt),style:tn},b.createElement("div",{className:Ht.tabsWrap},Ve.map((mn,ut)=>b.createElement("aside",{className:Ht.tab,onClick:()=>{Gt(mn.id),mn.link&&en.history.push(mn.link)},key:ut},b.createElement("div",{className:Bt===mn.id?Ht.active:""},mn.name),(mn==null?void 0:mn.resetCount)==null&&(mn==null?void 0:mn.total)!==void 0&&b.createElement("span",null,"\uFF08",mn==null?void 0:mn.total,"\uFF09"),(mn==null?void 0:mn.resetCount)!==void 0&&(mn==null?void 0:mn.total)!==void 0&&b.createElement(pe.Z,{title:(mn==null?void 0:mn.tip)!=null?mn==null?void 0:mn.tip:""},b.createElement("span",{style:{color:"#9096A3"}},"\uFF08",b.createElement("span",{style:{color:"#000"}},mn==null?void 0:mn.resetCount),"/",b.createElement("span",null,mn==null?void 0:mn.total),"\uFF09"))))),b.createElement("div",{className:Ht.tabBar},Sn)),ln=({className:Ve,style:Bt={},children:Gt})=>b.createElement("div",{className:Ze()(Ve),style:Bt},Gt),yt={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"},Yt=ae(38854),Be=ae(20834);const Ut=[{id:"updated_at",name:"\u6700\u65B0\u52A8\u6001"},{id:"created_at",name:"\u6700\u65B0\u521B\u5EFA"},{id:"name",name:"\u540D\u79F0\u6392\u5E8F"}];var Ft=({sortValue:Ve,dropValue:Bt,className:Gt,onSort:Vt,onDrop:tn,dataSource:Sn=Ut})=>{var mn;return b.createElement("div",{className:Ze()(yt.orderWrap,Gt)},b.createElement(Yt.Z,{dropdownRender:()=>b.createElement(Be.default,null,Sn.map((ut,pt)=>b.createElement(Be.default.Item,{key:pt,onClick:()=>tn(ut.id)},ut.name)))},b.createElement("span",{className:yt.orderTextWrap},(mn=Sn.find(ut=>Bt===ut.id))==null?void 0:mn.name)),b.createElement("span",{className:yt.orderIconWrap},b.createElement("span",{className:yt.orderAsc},b.createElement("i",{className:Ve==="asc"?`iconfont icon-sanjiaoxing-up font12 ${yt.cursorPointer} ${yt.active}`:`iconfont icon-sanjiaoxing-up font12 ${yt.cursorPointer}`,onClick:()=>Vt(Ve==="asc"?"desc":"asc")})),b.createElement("span",{className:yt.orderDesc},b.createElement("i",{className:Ve==="desc"?`iconfont icon-sanjiaoxing-down font12 ${yt.cursorPointer} ${yt.active}`:`iconfont icon-sanjiaoxing-down font12 ${yt.cursorPointer}`,onClick:()=>Vt(Ve==="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"},nt=ae(3113),Ue=Object.defineProperty,Fe=Object.getOwnPropertySymbols,he=Object.prototype.hasOwnProperty,at=Object.prototype.propertyIsEnumerable,At=(Ve,Bt,Gt)=>Bt in Ve?Ue(Ve,Bt,{enumerable:!0,configurable:!0,writable:!0,value:Gt}):Ve[Bt]=Gt,we=(Ve,Bt)=>{for(var Gt in Bt||(Bt={}))he.call(Bt,Gt)&&At(Ve,Gt,Bt[Gt]);if(Fe)for(var Gt of Fe(Bt))at.call(Bt,Gt)&&At(Ve,Gt,Bt[Gt]);return Ve},Ce=(Ve,Bt)=>{var Gt={};for(var Vt in Ve)he.call(Ve,Vt)&&Bt.indexOf(Vt)<0&&(Gt[Vt]=Ve[Vt]);if(Ve!=null&&Fe)for(var Vt of Fe(Ve))Bt.indexOf(Vt)<0&&at.call(Ve,Vt)&&(Gt[Vt]=Ve[Vt]);return Gt},vt=(Ve,Bt,Gt)=>new Promise((Vt,tn)=>{var Sn=pt=>{try{ut(Gt.next(pt))}catch(ct){tn(ct)}},mn=pt=>{try{ut(Gt.throw(pt))}catch(ct){tn(ct)}},ut=pt=>pt.done?Vt(pt.value):Promise.resolve(pt.value).then(Sn,mn);ut((Gt=Gt.apply(Ve,Bt)).next())}),_e=Ve=>{var Bt=Ve,{className:Gt,style:Vt,children:tn,loading:Sn=!1,openLoading:mn,onClick:ut=()=>{},size:pt="middle",shape:ct="round"}=Bt,Wt=Ce(Bt,["className","style","children","loading","openLoading","onClick","size","shape"]);const[vn,an]=(0,b.useState)(!1);return b.createElement(nt.ZP,we({onClick:(0,We.throttle)(kn=>vt(void 0,null,function*(){mn&&an(!0);try{yield ut(kn)}catch(Fn){console.log("error",Fn)}mn&&an(!1)}),2e3,{leading:!0,trailing:!1}),className:Ze()(It.btn,It[`${pt}-${ct}`],Gt),style:Vt,size:pt,shape:ct,loading:vn||Sn},Wt),tn)},Pt={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"},Ot=({className:Ve,style:Bt,children:Gt=null,onClick:Vt,title:tn})=>b.createElement("div",{className:Ze()(Pt.head,Ve),style:Bt},b.createElement("span",{className:"primary-hover",onClick:Vt},b.createElement("i",{className:"iconfont icon-fanhui2 font12"}),"\u8FD4\u56DE"),b.createElement("b",{title:tn},tn),b.createElement("div",{className:Pt.node},Gt)),Xt={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"},nn=({confirmShow:Ve=!0,confirmTitle:Bt,confirmClick:Gt,cancelShow:Vt=!0,cancelTitle:tn,cancelClick:Sn,className:mn,style:ut,confirmLoading:pt=!1})=>b.createElement("div",{className:Ze()(Xt.btns,mn),style:ut},Ve&&b.createElement(nt.ZP,{loading:pt,onClick:Gt,type:"primary",className:Xt.confirm},Bt),Vt&&b.createElement(nt.ZP,{onClick:Sn,className:Xt.cancel},tn)),bt={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"},wn=({className:Ve,style:Bt={},LeftContent:Gt,children:Vt,RightContent:tn})=>b.createElement("div",{className:Ze()(bt.fixedBottom,Ve),style:Bt},b.createElement("div",{className:bt.wrap},b.createElement("div",{className:bt.left},Gt),b.createElement("div",{className:bt.center},Vt),b.createElement("div",{className:bt.right},tn))),Zt={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"},Ln=({className:Ve,style:Bt={},dataSource:Gt=[]})=>b.createElement("div",{className:Ze()(Zt.crumbs,Ve),style:Bt},Gt.map((Vt,tn)=>tn<Gt.length-1?b.createElement(b.Fragment,{key:tn},Vt.path||Vt.onClick?b.createElement("span",{className:Zt.hover,onClick:Vt!=null&&Vt.onClick?Vt.onClick:()=>en.history.push(Vt.path)},Vt.name):b.createElement("span",null,Vt.name),b.createElement("span",null,"\xA0",">","\xA0")):b.createElement("span",{key:tn,style:{color:"#5F6368"}},Vt.name))),zn=ae(31797),Wn=Object.defineProperty,Yn=Object.defineProperties,xa=Object.getOwnPropertyDescriptors,on=Object.getOwnPropertySymbols,qt=Object.prototype.hasOwnProperty,pn=Object.prototype.propertyIsEnumerable,Zn=(Ve,Bt,Gt)=>Bt in Ve?Wn(Ve,Bt,{enumerable:!0,configurable:!0,writable:!0,value:Gt}):Ve[Bt]=Gt,xn=(Ve,Bt)=>{for(var Gt in Bt||(Bt={}))qt.call(Bt,Gt)&&Zn(Ve,Gt,Bt[Gt]);if(on)for(var Gt of on(Bt))pn.call(Bt,Gt)&&Zn(Ve,Gt,Bt[Gt]);return Ve},Na=(Ve,Bt)=>Yn(Ve,xa(Bt)),Wa=(Ve,Bt)=>{var Gt={};for(var Vt in Ve)qt.call(Ve,Vt)&&Bt.indexOf(Vt)<0&&(Gt[Vt]=Ve[Vt]);if(Ve!=null&&on)for(var Vt of on(Ve))Bt.indexOf(Vt)<0&&pn.call(Ve,Vt)&&(Gt[Vt]=Ve[Vt]);return Gt};const{Countdown:ta}=zn.default;var Oa=Ve=>{var Bt=Ve,{onChange:Gt}=Bt,Vt=Wa(Bt,["onChange"]);const[tn,Sn]=(0,b.useState)(null);(0,b.useEffect)(()=>{typeof tn=="number"&&tn>=0&&Gt(tn)},[tn]);const mn=ut=>{const pt=Math.floor(ut/1e3);Sn(pt)};return b.createElement(ta,Na(xn({},Vt),{onChange:mn}))}},37808:function(_t,Rt,ae){"use strict";ae.d(Rt,{Z:function(){return se}});var b=ae(59301);function se(be,Ae){const Ie=(0,b.useRef)();(0,b.useEffect)(()=>{Ie.current=be}),(0,b.useEffect)(()=>{function Re(){Ie.current()}if(Ae!==null){let ue=setInterval(Re,Ae);return()=>clearInterval(ue)}},[Ae])}},37345:function(_t,Rt,ae){"use strict";ae.d(Rt,{h:function(){return b}});var b=(se=>(se[se.NOMATCH=-1]="NOMATCH",se[se.OK=0]="OK",se[se.TIMEOUT=2]="TIMEOUT",se[se.PODFAILURE=3]="PODFAILURE",se[se.COMPILEFAILURE=4]="COMPILEFAILURE",se[se.EXECUTEFAILURE=5]="EXECUTEFAILURE",se[se.HIDE_COMPILE_STATUS=11]="HIDE_COMPILE_STATUS",se))(b||{})},81072:function(_t,Rt,ae){"use strict";ae.d(Rt,{H7:function(){return E},MK:function(){return le},MU:function(){return Te},X6:function(){return je},bM:function(){return We},fi:function(){return a},fu:function(){return Ze},n4:function(){return x},rX:function(){return De},vl:function(){return y},zO:function(){return ke}});var b=ae(38986),se=Object.defineProperty,be=Object.getOwnPropertySymbols,Ae=Object.prototype.hasOwnProperty,Ie=Object.prototype.propertyIsEnumerable,Re=(z,te,re)=>te in z?se(z,te,{enumerable:!0,configurable:!0,writable:!0,value:re}):z[te]=re,ue=(z,te)=>{for(var re in te||(te={}))Ae.call(te,re)&&Re(z,re,te[re]);if(be)for(var re of be(te))Ie.call(te,re)&&Re(z,re,te[re]);return z};function Ze(z,te){return(0,b.U2)(`myproblems/${z}.json`,ue({hidePopLogin:!0},te||{}))}function We(z,te){return(0,b.v_)(`myproblems/${z}/code_submit.json`,te)}function Te(z,te){return(0,b.v_)(`myproblems/${z}/code_debug.json`,te)}function ke(z,te){return te.language&&(te.language=encodeURIComponent(te.language)),(0,b.U2)(`myproblems/${z}/submit_records.json`,te)}function je(z){return(0,b.U2)("myproblems/record_detail.json",{id:z})}function De(z,te){return(0,b.U2)(`myproblems/${z}/result.json`,{mode:te})}function le(z,te){return(0,b.v_)(`myproblems/${z}/add_notes.json`,te)}function E(z,te){return(0,b.v_)(`myproblems/${z}/restore_initial_code.json`,te)}function a(z){return(0,b.v_)(`myproblems/${z}/sync_code.json`)}function x(z,te){return(0,b.v_)(`myproblems/${z}/update_code.json`,te)}function y(z,te){return(0,b.v_)(`discusses/${z}/plus.json`,te)}},43554:function(_t,Rt,ae){"use strict";ae.d(Rt,{Z:function(){return ji}});var b=ae(59301),se={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"},be=ae(78241),Ae=ae(6848),Ie=ae(3113),Re=ae(43418),ue=ae(5871),Ze=ae(8591),We=ae(92832),Te=ae(28103),ke=ae(24905),je=ae(95237),De=ae(43604),le=ae(58421),E=ae(60324),a=Object.defineProperty,x=Object.getOwnPropertySymbols,y=Object.prototype.hasOwnProperty,z=Object.prototype.propertyIsEnumerable,te=(ze,tt,mt)=>tt in ze?a(ze,tt,{enumerable:!0,configurable:!0,writable:!0,value:mt}):ze[tt]=mt,re=(ze,tt)=>{for(var mt in tt||(tt={}))y.call(tt,mt)&&te(ze,mt,tt[mt]);if(x)for(var mt of x(tt))z.call(tt,mt)&&te(ze,mt,tt[mt]);return ze};const ie=ze=>React.createElement("svg",re({width:34,height:34,xmlns:"http://www.w3.org/2000/svg"},ze),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 ce="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzQiIGhlaWdodD0iMzQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48cmVjdCBmaWxsPSIjRTRFNkZEIiB3aWR0aD0iMzQiIGhlaWdodD0iMzQiIHJ4PSIxMCIvPjxnIGZpbGwtcnVsZT0ibm9uemVybyI+PHBhdGggZD0iTTEzLjgwOCAxMS40NDhhLjU1OC41NTggMCAwIDEgMCAuNzg4bC0xLjU2NCAxLjU2NWEuNTU4LjU1OCAwIDEgMS0uNzg5LS43OWwxLjU2NC0xLjU2M2EuNTU4LjU1OCAwIDAgMSAuNzkgMFptOS44ODIgMi40NjJhLjU1OC41NTggMCAwIDEtLjc4OSAwbC0xLjU2NC0xLjU2M2EuNTU4LjU1OCAwIDEgMSAuNzg5LS43ODlsMS41NjQgMS41NjRhLjU1Ni41NTYgMCAwIDEgMCAuNzg4WiIgZmlsbD0iIzY2NzhFQiIvPjxwYXRoIGQ9Ik0yMS43NTMgMjEuNzA3YTUuOTM3IDUuOTM3IDAgMSAwLTguNTguMDE1bC0uOTM3LjkzNmEuNTU4LjU1OCAwIDEgMCAuNzg5Ljc4OGwuOTk1LS45OTRhNS45MSA1LjkxIDAgMCAwIDMuNDM2IDEuMDk1YzEuMjg3IDAgMi40OC0uNDEgMy40NTItMS4xMDZsLjk5Mi45OTJhLjU1OC41NTggMCAxIDAgLjc4OS0uNzg5bC0uOTM2LS45MzdaIiBmaWxsPSIjNjY3OEVCIi8+PHBhdGggZD0ibTIwLjg1OCAxOC45NS0zLjAyNC0xLjc0NXYtMi4wNTRhLjU1OC41NTggMCAxIDAtMS4xMTcgMHYyLjM1MWMwIC4wNjQuMDExLjEyNi4wMzEuMTg0YS41NTEuNTUxIDAgMCAwIC4yNTguMzNsMy4yOTMgMS45YS41NTcuNTU3IDAgMCAwIC41NTktLjk2NloiIGZpbGw9IiNGRkYiLz48L2c+PC9nPjwvc3ZnPg==",pe=ae(91842),ge=ae(25690),ye=ae(51257),Ee=ae(38986),Le=Object.defineProperty,ve=Object.getOwnPropertySymbols,$e=Object.prototype.hasOwnProperty,He=Object.prototype.propertyIsEnumerable,it=(ze,tt,mt)=>tt in ze?Le(ze,tt,{enumerable:!0,configurable:!0,writable:!0,value:mt}):ze[tt]=mt,Ne=(ze,tt)=>{for(var mt in tt||(tt={}))$e.call(tt,mt)&&it(ze,mt,tt[mt]);if(ve)for(var mt of ve(tt))He.call(tt,mt)&&it(ze,mt,tt[mt]);return ze};const Qe=ze=>React.createElement("svg",Ne({width:34,height:34,xmlns:"http://www.w3.org/2000/svg"},ze),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=",Ke=Object.defineProperty,Ye=Object.getOwnPropertySymbols,Kt=Object.prototype.hasOwnProperty,ot=Object.prototype.propertyIsEnumerable,Ht=(ze,tt,mt)=>tt in ze?Ke(ze,tt,{enumerable:!0,configurable:!0,writable:!0,value:mt}):ze[tt]=mt,en=(ze,tt)=>{for(var mt in tt||(tt={}))Kt.call(tt,mt)&&Ht(ze,mt,tt[mt]);if(Ye)for(var mt of Ye(tt))ot.call(tt,mt)&&Ht(ze,mt,tt[mt]);return ze};const Je=ze=>React.createElement("svg",en({width:34,height:34,xmlns:"http://www.w3.org/2000/svg"},ze),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 ft="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzQiIGhlaWdodD0iMzQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48cmVjdCBmaWxsPSIjRTdGM0ZGIiB3aWR0aD0iMzQiIGhlaWdodD0iMzQiIHJ4PSIxMCIvPjxnIGZpbGw9IiM0QzZGRkYiIGZpbGwtcnVsZT0ibm9uemVybyI+PHBhdGggZD0ibTIzLjcxOSAxMy4zMjUtNC4wOTgtMy45NGMtLjA5Ny0uMTMtLjIyNS0uMTYyLS4zNTUtLjE2Mi0uMTI5IDAtLjI1OC4wNjQtLjM4Ny4xNjFsLTcuNTUgNy43NTNjLS4wNjUuMDY1LS4wOTguMTYyLS4xMy4yMjdsLTEuMDMyIDUuNDI3Yy0uMDMzLjE5NC4wMzIuMzIzLjE2LjQ4NC4xMy4xMy4yMjcuMTYyLjM4OS4xNjJoLjA5Nmw0Ljc3Ni0xLjA5OWMuMDk3LS4wMzIuMTk0LS4wNjQuMjU4LS4xNjFsNy44NDEtOC4xMDhjLjE5NC0uMTYyLjE5NC0uNTE3LjAzMy0uNzQ0aC0uMDAxWm0tOC4xIDguMDQ0YS41MzQuNTM0IDAgMCAxLS4zODYuMTYyLjU2LjU2IDAgMCAxLS4zODgtLjE2MmwtMy0yLjgxYy0uMjI2LS4xOTQtLjIyNi0uNTE3LS4wMzMtLjc0My4xOTQtLjIyNy41MTctLjIyNy43NDMtLjAzM2wzIDIuODExYy4yNTkuMjI2LjI5MS41NS4wNjUuNzc2Wk0xNyAyMi45Mmg2Ljg0NHYxLjA1NUgxN3oiLz48L2c+PC9nPjwvc3ZnPg==",Dt=ae(12327),ln=ae(39793),yt=ae(61011),Yt=ae(30371),Be={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"},Ut=ae(59301),Cn=Object.defineProperty,Ft=Object.defineProperties,It=Object.getOwnPropertyDescriptors,nt=Object.getOwnPropertySymbols,Ue=Object.prototype.hasOwnProperty,Fe=Object.prototype.propertyIsEnumerable,he=(ze,tt,mt)=>tt in ze?Cn(ze,tt,{enumerable:!0,configurable:!0,writable:!0,value:mt}):ze[tt]=mt,at=(ze,tt)=>{for(var mt in tt||(tt={}))Ue.call(tt,mt)&&he(ze,mt,tt[mt]);if(nt)for(var mt of nt(tt))Fe.call(tt,mt)&&he(ze,mt,tt[mt]);return ze},At=(ze,tt)=>Ft(ze,It(tt)),we=(ze,tt)=>{var mt={};for(var Ct in ze)Ue.call(ze,Ct)&&tt.indexOf(Ct)<0&&(mt[Ct]=ze[Ct]);if(ze!=null&&nt)for(var Ct of nt(ze))tt.indexOf(Ct)<0&&Fe.call(ze,Ct)&&(mt[Ct]=ze[Ct]);return mt};const Ce=null,vt=(ze,tt)=>{var mt=ze,{globalSetting:Ct,loading:fn,dispatch:On,isEdit:Xn,editData:Hn}=mt,Tn=we(mt,["globalSetting","loading","dispatch","isEdit","editData"]);const[un,Gn]=(0,b.useState)(""),[da,qa]=(0,b.useState)(""),[Ya,Qn]=(0,b.useState)([]),[Vn,Nn]=(0,b.useState)(""),[jn,Fa]=(0,b.useState)(),[rr,ba]=(0,b.useState)(!1),[aa,fa]=(0,b.useState)({}),[ra,va]=(0,b.useState)([]);(0,b.useEffect)(()=>{!Hn||!Xn||(Gn(Hn==null?void 0:Hn.name),qa(Hn==null?void 0:Hn.analysis),Fa(Hn==null?void 0:Hn.is_ordered),fa(Hn),ba(!0))},[Hn]),(0,b.useEffect)(()=>{if(!rr)return;const Lr=Hn==null?void 0:Hn.standard_answer.map(po=>po==null?void 0:po.answer_text);Qn(Lr);const Co=Hn==null?void 0:Hn.standard_answer.map(po=>po==null?void 0:po.score);va(Co),ba(!1)},[rr]),(0,b.useImperativeHandle)(tt,()=>({onSave:Ir,Clear:lo}));const Ir=()=>{let Lr=[],Co=!1;return un?(Ya.forEach((po,Do)=>{Lr.push({position:Do+1,answer_text:[],score:ra[Do]}),po==null||po.forEach((ui,gl)=>{Lr[Do].answer_text.push(ui),(!ui||!(0,ye.eR)(ui,1e4))&&(Nn(`${Do}-${gl}`),Ze.ZP.info(ui?"\u7B54\u6848\u4E0D\u80FD\u8D85\u8FC710000\u5B57\u7B26":"\u7B54\u6848\uFF1A\u4E0D\u80FD\u4E3A\u7A7A"),Co=!0)})}),Co?!1:(Lr==null?void 0:Lr.length)>20?(Ze.ZP.warning("\u586B\u7A7A\u9898\u6807\u51C6\u7B54\u6848\u4E0D\u80FD\u4E3A\u7A7A/\u4E0D\u80FD\u8D85\u8FC720\u4E2A\uFF01"),!1):{name:un,analysis:da,standard_answers:Lr,is_ordered:jn,downcase:aa==null?void 0:aa.downcase,no_space:aa==null?void 0:aa.no_space,use_blank_score:aa==null?void 0:aa.use_blank_score}):(Ze.ZP.info("\u8BF7\u60A8\u8F93\u5165\u9898\u5E72"),!1)},lo=()=>{Gn(""),qa(""),Qn([]),Fa(!1)},Fo=(Lr,Co,po)=>{const Do=Ya.slice();if(Co&&Do.splice(Lr,Co),po)for(let ui=0;ui<po;ui++)Do.splice(Lr+ui,0,[""]);Qn(Do)},qo=(Lr,Co,po)=>{Nn("");let Do=Ya.slice();Do[Lr][Co]=po,Qn(Do)},er=Lr=>{let Co=Ya.slice();Co[Lr]=[...Co[Lr],""],Qn(Co)},mi=(Lr,Co)=>{let po=Ya.slice();if(!po[Lr][Co]){po[Lr]=po[Lr].filter((Do,ui)=>ui!==Co),Qn(po);return}Re.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:Be.modal,onOk:()=>{po[Lr]=po[Lr].filter((Do,ui)=>ui!==Co),Qn(po)}})},fi=Lr=>{Re.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:Be.modal,onOk:()=>{let Co=Ya.slice();Co=Ya.filter((po,Do)=>Lr!==Do),Qn(Co)}})};return Ut.createElement("section",{className:Be.wrap},Ut.createElement("p",{className:Be.titleWrap},Ut.createElement("span",{className:Be.required},"*"),Ut.createElement("span",{className:Be.title},"\u9898\u5E72\uFF1A")),Ut.createElement("div",null,Ut.createElement(yt.Z,{id:"completion-question-tittle",placeholder:"\u8BF7\u60A8\u8F93\u5165\u9898\u76EE",height:155,defaultValue:un,onChange:Lr=>Gn(Lr),showNullButton:!0,onPlaceholderChange:Fo})),Ut.createElement("div",{className:"mt20"},Ya.map((Lr,Co)=>Ut.createElement("div",{style:{display:"flex"}},Ut.createElement("div",{style:{flex:1}},Ut.createElement(Yt.Z,{key:Co,answers:Lr,index:Co,flex:1,is_md:!0,activeOptionErrorIndex:Vn,onAnswerChange:qo,addChildAnswer:er,deleteChildAnswer:mi,deleteChildAnswermain:fi})),aa.use_blank_score&&Ut.createElement("div",{style:{display:"flex",alignItems:"center",width:"165px"}},Ut.createElement("span",{style:{color:"red",margin:"auto 5px auto 10px"}},"*"),"\u5206\u503C\uFF1A",Ut.createElement(ue.Z,{style:{width:"100px"},size:"large",defaultValue:ra[Co],onBlur:po=>{ra[Co]=po.target.value,va([...ra])}}))))),Ut.createElement("div",null,Ut.createElement(ke.default,{className:`${Be.color333} font14 mt20`,checked:aa.use_blank_score,onChange:Lr=>fa(At(at({},aa),{use_blank_score:Lr.target.checked}))},"\u5224\u5206\u65F6\u6309\u7A7A\u7ED9\u5206"),Ut.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")),Ut.createElement("div",null,Ut.createElement(ke.default,{className:`${Be.color333} font14 mt20`,checked:aa.downcase,onChange:Lr=>fa(At(at({},aa),{downcase:Lr.target.checked}))},"\u5224\u5206\u65F6\u5FFD\u7565\u7B54\u6848\u4E2D\u7684\u5B57\u6BCD\u5927\u5C0F\u5199")),Ut.createElement("div",null,Ut.createElement(ke.default,{className:`${Be.color333} font14 mt20`,checked:aa.no_space,onChange:Lr=>fa(At(at({},aa),{no_space:Lr.target.checked}))},"\u5224\u5206\u65F6\u5FFD\u7565\u7B54\u6848\u4E2D\u7684\u7A7A\u683C")),Ut.createElement("div",{className:"mt20"},(Ya==null?void 0:Ya.length)>1&&Ut.createElement("span",null,Ut.createElement(ke.default,{checked:jn,onChange:Lr=>Fa(Lr.target.checked),className:`${Be.color333} font14`},"\u591A\u4E2A\u586B\u7A7A\u7684\u7B54\u6848\u6709\u987A\u5E8F\u8981\u6C42"),Ut.createElement("span",{className:`${Be.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"))),Ut.createElement("p",{className:Be.titleWrap},Ut.createElement("span",{className:Be.title},"\u9898\u76EE\u89E3\u6790\uFF1A")),Ut.createElement(ln.Z,{id:"single-question-answer",watch:!0,height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9898\u76EE\u89E3\u6790",defaultValue:da,onChange:Lr=>qa(Lr)}))};var Xe=(0,ge.connect)(({loading:ze,globalSetting:tt})=>({globalSetting:tt,loading:ze.effects}),null,null,{forwardRef:!0})((0,b.forwardRef)(vt)),_e=ae(5112),Pt=Object.getOwnPropertySymbols,cn=Object.prototype.hasOwnProperty,Ot=Object.prototype.propertyIsEnumerable,Xt=(ze,tt)=>{var mt={};for(var Ct in ze)cn.call(ze,Ct)&&tt.indexOf(Ct)<0&&(mt[Ct]=ze[Ct]);if(ze!=null&&Pt)for(var Ct of Pt(ze))tt.indexOf(Ct)<0&&Ot.call(ze,Ct)&&(mt[Ct]=ze[Ct]);return mt};const $t=null,nn=(ze,tt)=>{var mt=ze,{globalSetting:Ct,loading:fn,editData:On,dispatch:Xn,onRef:Hn=()=>{},isEdit:Tn}=mt,un=Xt(mt,["globalSetting","loading","editData","dispatch","onRef","isEdit"]);const[Gn,da]=(0,b.useState)(),[qa,Ya]=(0,b.useState)(""),[Qn,Vn]=(0,b.useState)("");(0,b.useEffect)(()=>{if(!On||!Tn)return;Ya(On==null?void 0:On.name),Vn(On==null?void 0:On.analysis);const Fa=On==null?void 0:On.choices.find(rr=>rr.is_answer);da(Fa.choice_text==="\u6B63\u786E"?"0":"1")},[On]),(0,b.useImperativeHandle)(tt,()=>({onSave:Nn,Clear:jn}));const Nn=()=>qa?Gn?{name:qa,choices:[{choice_text:"\u6B63\u786E",is_answer:Gn==="0"?1:0},{choice_text:"\u9519\u8BEF",is_answer:Gn==="1"?1:0}],analysis:Qn}:(Ze.ZP.info("\u8BF7\u5148\u70B9\u51FB\u9009\u62E9\u672C\u9009\u62E9\u9898\u7684\u6B63\u786E\u9009\u9879"),!1):(Ze.ZP.info("\u8BF7\u60A8\u8F93\u5165\u9898\u5E72"),!1),jn=()=>{Ya(""),Vn(""),da("")};return b.createElement("section",{className:Be.wrap},b.createElement("p",{className:Be.titleWrap},b.createElement("span",{className:Be.required},"*"),b.createElement("span",{className:Be.title},"\u9898\u5E72\uFF1A")),b.createElement(ln.Z,{id:"single-question-title",watch:!0,height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9898\u5E72",defaultValue:qa,onChange:Fa=>Ya(Fa)}),b.createElement("p",{className:Be.titleWrap},b.createElement("span",{className:Be.required},"*"),b.createElement("span",{className:Be.title},"\u7B54\u6848\u9009\u9879\uFF1A",b.createElement("span",{className:Be.colorGray},"\u70B9\u51FB\u9009\u9879\u53EF\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848"))),b.createElement(_e.ZP.Group,{buttonStyle:"solid",value:Gn,onChange:Fa=>da(Fa.target.value)},b.createElement(_e.ZP.Button,{value:"0",className:`${Be.radio} mr40`},"\u6B63\u786E"),b.createElement(_e.ZP.Button,{value:"1",className:Be.radio},"\u9519\u8BEF")),b.createElement("p",{className:Be.titleWrap},b.createElement("span",{className:Be.title},"\u9898\u76EE\u89E3\u6790\uFF1A")),b.createElement(ln.Z,{id:"single-question-answer",watch:!0,height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9898\u76EE\u89E3\u6790",defaultValue:Qn,onChange:Fa=>Vn(Fa)}))};var bt=(0,ge.connect)(({loading:ze,globalSetting:tt})=>({globalSetting:tt,loading:ze.effects}),null,null,{forwardRef:!0})((0,b.forwardRef)(nn)),rn=Object.getOwnPropertySymbols,wn=Object.prototype.hasOwnProperty,Zt=Object.prototype.propertyIsEnumerable,wt=(ze,tt)=>{var mt={};for(var Ct in ze)wn.call(ze,Ct)&&tt.indexOf(Ct)<0&&(mt[Ct]=ze[Ct]);if(ze!=null&&rn)for(var Ct of rn(ze))tt.indexOf(Ct)<0&&Zt.call(ze,Ct)&&(mt[Ct]=ze[Ct]);return mt};const Ln=null,zn=(ze,tt)=>{var mt=ze,{globalSetting:Ct,loading:fn,editData:On,dispatch:Xn,onRef:Hn=()=>{},isEdit:Tn}=mt,un=wt(mt,["globalSetting","loading","editData","dispatch","onRef","isEdit"]);const[Gn,da]=(0,b.useState)([]);(0,b.useEffect)(()=>{var Vn;if(!On||!Tn)return;const Nn=(Vn=On==null?void 0:On.shixun)==null?void 0:Vn.challenges.map(jn=>({id:jn==null?void 0:jn.id,score:jn.score}));da(Nn)},[On]),(0,b.useImperativeHandle)(tt,()=>({onSave:qa,Clear:Ya}));const qa=()=>({challenges:[...Gn]}),Ya=()=>{da([])};console.log("editData--",On);const Qn=Vn=>{var Nn,jn;return b.createElement("div",null,(jn=(Nn=Vn==null?void 0:Vn.shixun)==null?void 0:Nn.challenges)==null?void 0:jn.map((Fa,rr)=>{var ba;return b.createElement("div",{className:"c-grey-666 font14 ml25",style:{display:"flex",alignItems:"center",justifyContent:"space-between",marginBottom:"15px"}},b.createElement("div",null,b.createElement("span",{className:"mr5"},"\u7B2C",rr+1,"\u5173"),b.createElement(Ae.Z,{key:rr,title:Fa==null?void 0:Fa.challenge_name},b.createElement("span",null,(0,ye.Pq)(Fa==null?void 0:Fa.challenge_name,44)))),b.createElement("p",{style:{marginBottom:0}},b.createElement("span",{className:Be.required},"*"),b.createElement("span",{className:Be.title},"\u5206\u503C\uFF1A"),b.createElement(ue.Z,{precision:1,min:1,max:100,className:Be.baseFormItem,style:{width:176},value:(ba=Gn.find(aa=>aa.id===Fa.id))==null?void 0:ba.score,onChange:aa=>{Gn.find(fa=>fa.id===Fa.id).score=aa,da([...Gn])}})))}),b.createElement("div",{style:{clear:"both"}}))};return b.createElement("section",{className:Be.wrap},b.createElement(pe.Z,{style:{paddingRight:10},className:Be.titleHtml,value:`${On==null?void 0:On.position}\u3001${On==null?void 0:On.name}`}),b.createElement("p",{style:{marginBottom:"10px",marginTop:"25px"}},b.createElement("span",{className:Be.required},"*"),b.createElement("span",{className:Be.title},"\u5173\u5361")),Qn(On))};var Wn=(0,ge.connect)(({loading:ze,globalSetting:tt})=>({globalSetting:tt,loading:ze.effects}),null,null,{forwardRef:!0})((0,b.forwardRef)(zn)),Yn=Object.getOwnPropertySymbols,xa=Object.prototype.hasOwnProperty,on=Object.prototype.propertyIsEnumerable,qt=(ze,tt)=>{var mt={};for(var Ct in ze)xa.call(ze,Ct)&&tt.indexOf(Ct)<0&&(mt[Ct]=ze[Ct]);if(ze!=null&&Yn)for(var Ct of Yn(ze))tt.indexOf(Ct)<0&&on.call(ze,Ct)&&(mt[Ct]=ze[Ct]);return mt};const pn=["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"],Zn=(ze,tt)=>{var mt=ze,{editData:Ct,globalSetting:fn,loading:On,dispatch:Xn,onRef:Hn=()=>{},isEdit:Tn}=mt,un=qt(mt,["editData","globalSetting","loading","dispatch","onRef","isEdit"]);const[Gn,da]=(0,b.useState)([]),[qa,Ya]=(0,b.useState)(),[Qn,Vn]=(0,b.useState)([]),[Nn,jn]=(0,b.useState)(""),[Fa,rr]=(0,b.useState)("");(0,b.useEffect)(()=>{da(["","","",""])},[]),(0,b.useEffect)(()=>{if(!Ct||!Tn)return;jn(Ct==null?void 0:Ct.name),rr(Ct==null?void 0:Ct.analysis),da(Ct==null?void 0:Ct.choices.map(ra=>ra.choice_text));const fa=[];Ct==null||Ct.choices.map((ra,va)=>{ra.is_answer&&fa.push(va)}),Vn(fa)},[Ct]),(0,b.useImperativeHandle)(tt,()=>({onSave:ba,Clear:aa}));const ba=()=>{if(!Nn)return Ze.ZP.info("\u8BF7\u60A8\u8F93\u5165\u9898\u5E72"),!1;const fa=Gn.findIndex(va=>!va);if(fa>-1)return Ze.ZP.info(`\u8BF7\u5148\u8F93\u5165 ${pn[fa]} \u9009\u9879\u7684\u5185\u5BB9`),!1;if(!Qn.length)return Ze.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(Qn.length<2)return Ze.ZP.info("\u591A\u9009\u9898\u6700\u5C0F\u6B63\u786E\u9009\u9879\u4E3A2\u4E2A"),!1;const ra=Gn.map((va,Ir)=>({choice_text:va,is_answer:Qn.includes(Ir)?1:0}));return{name:Nn,choices:ra,analysis:Fa}},aa=()=>{da(["","","",""]),jn(""),rr(""),Vn("")};return b.createElement("section",{className:Be.wrap},b.createElement("p",{className:Be.titleWrap},b.createElement("span",{className:Be.required},"*"),b.createElement("span",{className:Be.title},"\u9898\u5E72\uFF1A")),b.createElement(ln.Z,{id:"single-question-title",watch:!0,height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9898\u5E72",defaultValue:Nn,onChange:fa=>jn(fa)}),b.createElement("p",{className:Be.titleWrap},b.createElement("span",{className:Be.required},"*"),b.createElement("span",{className:Be.title},"\u7B54\u6848\u9009\u9879\uFF1A",b.createElement("span",{className:Be.colorGray},"\u70B9\u51FB\u9009\u9879\u53EF\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848"))),Gn.map((fa,ra)=>b.createElement("div",{className:Be.choiceWrap,key:ra},b.createElement(Ae.Z,{title:"\u70B9\u51FB\u8BBE\u7F6E\u4E3A\u6807\u51C6\u7B54\u6848",placement:"left"},b.createElement("div",{className:`${Be.answer} ${Qn.includes(ra)?Be.activeAnswer:""}`,onClick:()=>{Qn.includes(ra)?Vn(Qn.filter(va=>va!==ra)):Vn([...Qn,ra])}},pn[ra])),b.createElement("div",{className:Be.editorWrap},qa===ra?b.createElement(ln.Z,{id:`single-question-option-${ra}`,watch:!0,height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9009\u9879",defaultValue:fa,onChange:va=>{Gn[ra]=va,da(Gn)}}):b.createElement("div",{className:Be.htmlWrap,onClick:()=>Ya(ra)},b.createElement(pe.Z,{value:fa}))),ra>1&&b.createElement(Ae.Z,{title:"\u5220\u9664"},b.createElement("i",{className:`${Be.deleteIcon} iconfont icon-htmal5icon19`,onClick:()=>{da(Gn.filter((va,Ir)=>Ir!==ra)),Qn.includes(ra)?Vn(Qn.filter(va=>va!==ra)):Vn([...Qn,ra])}})),ra<7&&ra===Gn.length-1&&b.createElement(Ae.Z,{title:"\u65B0\u589E\u53C2\u8003\u7B54\u6848"},b.createElement("i",{className:`${Be.addIcon} iconfont icon-roundaddfill ml6`,onClick:()=>da([...Gn,""])})))),b.createElement("p",{className:Be.titleWrap},b.createElement("span",{className:Be.title},"\u9898\u76EE\u89E3\u6790\uFF1A")),b.createElement(ln.Z,{id:"single-question-answer",watch:!0,height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9898\u76EE\u89E3\u6790",defaultValue:Fa,onChange:fa=>rr(fa)}))};var xn=(0,ge.connect)(({loading:ze,globalSetting:tt})=>({globalSetting:tt,loading:ze.effects}),null,null,{forwardRef:!0})((0,b.forwardRef)(Zn)),Na=Object.getOwnPropertySymbols,Wa=Object.prototype.hasOwnProperty,ta=Object.prototype.propertyIsEnumerable,En=(ze,tt)=>{var mt={};for(var Ct in ze)Wa.call(ze,Ct)&&tt.indexOf(Ct)<0&&(mt[Ct]=ze[Ct]);if(ze!=null&&Na)for(var Ct of Na(ze))tt.indexOf(Ct)<0&&ta.call(ze,Ct)&&(mt[Ct]=ze[Ct]);return mt};const Oa=["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"],Ve=(ze,tt)=>{var mt=ze,{editData:Ct,globalSetting:fn,loading:On,dispatch:Xn,onRef:Hn=()=>{},isEdit:Tn}=mt,un=En(mt,["editData","globalSetting","loading","dispatch","onRef","isEdit"]);const[Gn,da]=(0,b.useState)([]),[qa,Ya]=(0,b.useState)(),[Qn,Vn]=(0,b.useState)(),[Nn,jn]=(0,b.useState)(""),[Fa,rr]=(0,b.useState)("");(0,b.useEffect)(()=>{da(["","","",""])},[]),(0,b.useEffect)(()=>{if(!Ct||!Tn)return;const fa=[],ra=[];Ct==null||Ct.choices.forEach((va,Ir)=>{fa.push(va.choice_text),va.is_answer&&ra.push(Ir)}),jn(Ct==null?void 0:Ct.name),rr(Ct==null?void 0:Ct.analysis),da(fa),Vn(ra)},[Ct]),(0,b.useImperativeHandle)(tt,()=>({onSave:ba,Clear:aa}));const ba=()=>{if(!Nn)return Ze.ZP.info("\u8BF7\u60A8\u8F93\u5165\u9898\u5E72"),!1;const fa=Gn.findIndex(va=>!va);if(fa>-1)return Ze.ZP.info(`\u8BF7\u5148\u8F93\u5165 ${Oa[fa]} \u9009\u9879\u7684\u5185\u5BB9`),!1;if(!Array.isArray(Qn))return Ze.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 ra=Gn.map((va,Ir)=>({choice_text:va,is_answer:Qn.includes(Ir)?1:0}));return{name:Nn,choices:ra,analysis:Fa}},aa=()=>{da(["","","",""]),jn(""),rr(""),Vn("")};return b.createElement("section",{className:Be.wrap},b.createElement("p",{className:Be.titleWrap},b.createElement("span",{className:Be.required},"*"),b.createElement("span",{className:Be.title},"\u9898\u5E72\uFF1A")),b.createElement(ln.Z,{id:"single-question-title",watch:!0,height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9898\u5E72",defaultValue:Nn,onChange:fa=>jn(fa)}),b.createElement("p",{className:Be.titleWrap},b.createElement("span",{className:Be.required},"*"),b.createElement("span",{className:Be.title},"\u7B54\u6848\u9009\u9879\uFF1A",b.createElement("span",{className:Be.colorGray},"\u70B9\u51FB\u9009\u9879\u53EF\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848"))),Gn.map((fa,ra)=>b.createElement("div",{className:Be.choiceWrap,key:ra},b.createElement(Ae.Z,{title:"\u70B9\u51FB\u8BBE\u7F6E\u4E3A\u6807\u51C6\u7B54\u6848",placement:"left"},b.createElement("div",{className:`${Be.answer} ${Qn!=null&&Qn.includes(ra)?Be.activeAnswer:""}`,onClick:()=>Vn([ra])},Oa[ra])),b.createElement("div",{className:Be.editorWrap},qa===ra?b.createElement(ln.Z,{id:`single-question-option-${ra}`,watch:!0,height:155,isFocus:!0,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9009\u9879",defaultValue:fa,onChange:va=>{Gn[ra]=va,da(Gn)}}):b.createElement("div",{className:Be.htmlWrap,onClick:()=>Ya(ra)},b.createElement(pe.Z,{value:fa}))),ra>1&&b.createElement(Ae.Z,{title:"\u5220\u9664"},b.createElement("i",{className:`${Be.deleteIcon} iconfont icon-htmal5icon19`,onClick:()=>{da(Gn.filter((va,Ir)=>Ir!==ra)),ra===Qn&&Vn(null)}})),ra<7&&ra===Gn.length-1&&b.createElement(Ae.Z,{title:"\u65B0\u589E\u53C2\u8003\u7B54\u6848"},b.createElement("i",{className:`${Be.addIcon} iconfont icon-roundaddfill ml6`,onClick:()=>da([...Gn,""])})))),b.createElement("p",{className:Be.titleWrap},b.createElement("span",{className:Be.title},"\u9898\u76EE\u89E3\u6790\uFF1A")),b.createElement(ln.Z,{id:"single-question-answer",watch:!0,height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9898\u76EE\u89E3\u6790",defaultValue:Fa,onChange:fa=>rr(fa)}))};var Bt=(0,ge.connect)(({loading:ze,globalSetting:tt})=>({globalSetting:tt,loading:ze.effects}),null,null,{forwardRef:!0})((0,b.forwardRef)(Ve)),Gt=ae(12563),Vt=ae(78673),tn=ae(61485),Sn=ae(59301),mn=Object.defineProperty,ut=Object.defineProperties,pt=Object.getOwnPropertyDescriptors,ct=Object.getOwnPropertySymbols,Wt=Object.prototype.hasOwnProperty,vn=Object.prototype.propertyIsEnumerable,an=(ze,tt,mt)=>tt in ze?mn(ze,tt,{enumerable:!0,configurable:!0,writable:!0,value:mt}):ze[tt]=mt,kn=(ze,tt)=>{for(var mt in tt||(tt={}))Wt.call(tt,mt)&&an(ze,mt,tt[mt]);if(ct)for(var mt of ct(tt))vn.call(tt,mt)&&an(ze,mt,tt[mt]);return ze},Fn=(ze,tt)=>ut(ze,pt(tt)),Bn=(ze,tt)=>{var mt={};for(var Ct in ze)Wt.call(ze,Ct)&&tt.indexOf(Ct)<0&&(mt[Ct]=ze[Ct]);if(ze!=null&&ct)for(var Ct of ct(ze))tt.indexOf(Ct)<0&&vn.call(ze,Ct)&&(mt[Ct]=ze[Ct]);return mt},Un=(ze,tt,mt)=>new Promise((Ct,fn)=>{var On=Tn=>{try{Hn(mt.next(Tn))}catch(un){fn(un)}},Xn=Tn=>{try{Hn(mt.throw(Tn))}catch(un){fn(un)}},Hn=Tn=>Tn.done?Ct(Tn.value):Promise.resolve(Tn.value).then(On,Xn);Hn((mt=mt.apply(ze,tt)).next())});const Ra=ze=>{if(!ze)return!1;if(/^s*$/.test(ze)||ze.trim()===""){Ze.ZP.warning("\u5173\u952E\u8BCD\u4E0D\u80FD\u5168\u4E3A\u7A7A\u683C");return}let tt=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 ze==="|"?(Ze.ZP.warning("\u5173\u952E\u8BCD\u4E0D\u80FD\u53EA\u8F93\u5165\u4E00\u4E2A\u201C|\u201D\u5B57\u7B26\uFF01"),!1):!0},yn=({value:ze=[],onClose:tt})=>Sn.createElement(Gt.default,{closable:!0,onClose:tt,className:Be.keywordTag},Sn.createElement("pre",{style:{margin:"0px",whiteSpace:"pre-wrap"}},ze.join(" \u6216 "))),pa=(ze,tt)=>{var mt=ze,{editData:Ct,globalSetting:fn,loading:On,dispatch:Xn,onRef:Hn=()=>{},isEdit:Tn}=mt,un=Bn(mt,["editData","globalSetting","loading","dispatch","onRef","isEdit"]);const[Gn,da]=(0,b.useState)(""),[qa,Ya]=(0,b.useState)(""),[Qn,Vn]=(0,b.useState)(""),[Nn,jn]=(0,b.useState)(""),[Fa]=be.default.useForm(),rr=be.default.useWatch("use_keywords",Fa);(0,b.useEffect)(()=>{var ra;!Ct||!Tn||(da(Ct==null?void 0:Ct.name),Ya(Ct==null?void 0:Ct.analysis),Vn((ra=Ct==null?void 0:Ct.answer_texts)==null?void 0:ra[0]),Fa.setFieldsValue(kn({},Ct)))},[Ct]),(0,b.useImperativeHandle)(tt,()=>({onSave:ba,Clear:aa}));const ba=()=>Un(void 0,null,function*(){if(!Gn)return Ze.ZP.info("\u8BF7\u60A8\u8F93\u5165\u9898\u5E72"),!1;try{yield Fa.validateFields()}catch(va){Ze.ZP.error(va.errorFields[0].errors[0]);return}const ra=Fa.getFieldsValue();return console.log(ra,"values"),kn({name:Gn,answer_texts:[Qn],analysis:qa},ra)}),aa=()=>{da(""),Ya(""),Vn(""),Fa.resetFields()},fa=Ct==null?void 0:Ct.score;return Sn.createElement("section",{className:Be.wrap},Sn.createElement("p",{className:Be.titleWrap},Sn.createElement("span",{className:Be.required},"*"),Sn.createElement("span",{className:Be.title},"\u9898\u5E72\uFF1A")),Sn.createElement(ln.Z,{id:"single-question-title",watch:!0,height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9898\u5E72",defaultValue:Gn,onChange:ra=>da(ra)}),Sn.createElement("p",{className:Be.titleWrap},Sn.createElement("span",{className:Be.title},"\u53C2\u8003\u7B54\u6848\uFF1A")),Sn.createElement(ln.Z,{id:"single-question-reference-answer",watch:!0,height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u53C2\u8003\u7B54\u6848",defaultValue:Qn,onChange:ra=>Vn(ra)}),Sn.createElement("p",{className:Be.titleWrap},Sn.createElement("span",{className:Be.title},"\u9898\u76EE\u89E3\u6790\uFF1A")),Sn.createElement(ln.Z,{id:"single-question-answer",watch:!0,height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9898\u76EE\u89E3\u6790",defaultValue:qa,onChange:ra=>Ya(ra)}),Sn.createElement(be.default,{form:Fa,size:"large",onFinishFailed:ra=>Un(void 0,null,function*(){var va,Ir;Ze.ZP.error(ra.errorFields[0].errors[0]),Fa.scrollToField((Ir=(va=ra==null?void 0:ra.errorFields)==null?void 0:va[0])==null?void 0:Ir.name,{behavior:"smooth",block:"center"})})},Sn.createElement(je.Z,{align:"middle",className:"mb30 mt20"},Sn.createElement(be.default.Item,{noStyle:!0,name:"use_keywords",valuePropName:"checked"},Sn.createElement(Vt.Z,null)),Sn.createElement(De.Z,{className:"ml10"},"\u5F00\u542F\u5173\u952E\u8BCD\u81EA\u52A8\u5224\u5206"),Sn.createElement(De.Z,null,Sn.createElement(Ae.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"},Sn.createElement(tn.Z,{style:{color:"#3061D0",marginLeft:6,cursor:"pointer"}})))),rr&&Sn.createElement(be.default.List,{name:"keywords",rules:[{validator(ra,va){return va!=null&&va.length?(va==null?void 0:va.reduce((lo,Fo)=>lo+Fo.score,0))>parseFloat(fa)?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"))}}]},(ra,{add:va,remove:Ir})=>Sn.createElement(Sn.Fragment,null,Sn.createElement("div",{className:"mb10"},"\u5173\u952E\u8BCD"),Sn.createElement(je.Z,{align:"middle",className:"font14 mb30"},Sn.createElement(De.Z,{flex:1},Sn.createElement(We.default,{value:Nn,onChange:lo=>{jn(lo.target.value)},maxLength:50,allowClear:!0,onPressEnter:lo=>{var Fo,qo,er,mi;const fi=`${(Fo=lo.target)==null?void 0:Fo.value}`,Lr=(er=(qo=fi==null?void 0:fi.split("|"))==null?void 0:qo.filter(Do=>!!Do))==null?void 0:er.map(Do=>Do==null?void 0:Do.trim()),Co=Fa.getFieldValue("keywords"),po=((mi=Co==null?void 0:Co.map(Do=>Do==null?void 0:Do.keyword))==null?void 0:mi.flat())||[];for(const Do of Lr)if(po.includes(Do)){Ze.ZP.error("\u4E3A\u907F\u514D\u5224\u5206\u9519\u8BEF\uFF0C\u8BF7\u52FF\u8BBE\u7F6E\u76F8\u540C\u7684\u5173\u952E\u8BCD");return}Ra(fi)&&(va({keyword:Lr,score:1}),jn(""))},className:Be.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"})),Sn.createElement(De.Z,{flex:"148px",style:{textAlign:"right",color:"#e99237"}},"\u201C\u56DE\u8F66\u952E\u201D\u4FDD\u5B58\u5173\u952E\u8BCD")),ra.map(lo=>{var Fo=lo,{key:qo,name:er}=Fo,mi=Bn(Fo,["key","name"]);return Sn.createElement(je.Z,{key:qo,style:{marginRight:148}},Sn.createElement(De.Z,{flex:1},Sn.createElement(je.Z,{align:"middle",justify:"space-between"},Sn.createElement(be.default.Item,Fn(kn({},mi),{name:[er,"keyword"]}),Sn.createElement(yn,{onClose:()=>Ir(er)})),Sn.createElement(be.default.Item,Fn(kn({},mi),{name:[er,"score"],label:"\u5206\u503C",rules:[{required:!0}]}),Sn.createElement(ue.Z,{min:.1,max:100,precision:1,style:{width:"100%"},placeholder:"\u8BF7\u8F93\u5165\u5173\u952E\u8BCD\u5206\u6570"})))))})))))};var $a=(0,ge.connect)(({loading:ze,globalSetting:tt})=>({globalSetting:tt,loading:ze.effects}),null,null,{forwardRef:!0})((0,b.forwardRef)(pa)),lr=ae(36381),Jn={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"},sn=ae(32134),Dr=ae(12893),Ga=Object.defineProperty,Er=Object.defineProperties,Cr=Object.getOwnPropertyDescriptors,Nr=Object.getOwnPropertySymbols,xr=Object.prototype.hasOwnProperty,so=Object.prototype.propertyIsEnumerable,qr=(ze,tt,mt)=>tt in ze?Ga(ze,tt,{enumerable:!0,configurable:!0,writable:!0,value:mt}):ze[tt]=mt,_o=(ze,tt)=>{for(var mt in tt||(tt={}))xr.call(tt,mt)&&qr(ze,mt,tt[mt]);if(Nr)for(var mt of Nr(tt))so.call(tt,mt)&&qr(ze,mt,tt[mt]);return ze},Mn=(ze,tt)=>Er(ze,Cr(tt)),Mr=(ze,tt)=>{var mt={};for(var Ct in ze)xr.call(ze,Ct)&&tt.indexOf(Ct)<0&&(mt[Ct]=ze[Ct]);if(ze!=null&&Nr)for(var Ct of Nr(ze))tt.indexOf(Ct)<0&&so.call(ze,Ct)&&(mt[Ct]=ze[Ct]);return mt};const Rr=ze=>{var tt=ze,{value:mt,onChange:Ct,scrollId:fn}=tt,On=Mr(tt,["value","onChange","scrollId"]);return b.createElement("div",{id:fn||""},b.createElement(ln.Z,Mn(_o({},On),{defaultValue:mt,onChange:(Xn,Hn)=>{Hn!=null&&Hn.length?Ct(Xn,Hn):Ct(Xn)}})))},Gr=({value:ze,onChange:tt,placeholder:mt,height:Ct=140,isEdit:fn})=>fn?b.createElement(ln.Z,{watch:!0,isFocus:!0,height:Ct,placeholder:mt,defaultValue:ze,onChange:tt}):b.createElement("div",{style:{cursor:"pointer"}},ze?b.createElement(pe.Z,{className:Jn.inputBorder,value:ze}):b.createElement("div",{className:`${Jn.inputBorder} ${Jn.placeholder}`},mt));var za=ae(59301),$n=Object.defineProperty,wa=Object.defineProperties,ja=Object.getOwnPropertyDescriptors,ga=Object.getOwnPropertySymbols,fr=Object.prototype.hasOwnProperty,Hr=Object.prototype.propertyIsEnumerable,oo=(ze,tt,mt)=>tt in ze?$n(ze,tt,{enumerable:!0,configurable:!0,writable:!0,value:mt}):ze[tt]=mt,Tr=(ze,tt)=>{for(var mt in tt||(tt={}))fr.call(tt,mt)&&oo(ze,mt,tt[mt]);if(ga)for(var mt of ga(tt))Hr.call(tt,mt)&&oo(ze,mt,tt[mt]);return ze},co=(ze,tt)=>wa(ze,ja(tt)),ni=(ze,tt)=>{var mt={};for(var Ct in ze)fr.call(ze,Ct)&&tt.indexOf(Ct)<0&&(mt[Ct]=ze[Ct]);if(ze!=null&&ga)for(var Ct of ga(ze))tt.indexOf(Ct)<0&&Hr.call(ze,Ct)&&(mt[Ct]=ze[Ct]);return mt};const $o=["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"],_i=({value:ze,onChange:tt,choiceTextKey:mt,answerKey:Ct,index:fn,isEdit:On,setInputActive:Xn,form:Hn,choiceOptionsPath:Tn,allowChangeMode:un,showAddIcon:Gn,addItem:da,deleteItem:qa})=>{const Ya=(ze==null?void 0:ze[Ct])===!0,Qn=()=>{const Nn=Hn.getFieldValue(Tn);Hn.setFieldValue(Tn,Nn.map(jn=>co(Tr({},jn),{[Ct]:!1})))},Vn=()=>{Ya?tt(co(Tr({},ze),{[Ct]:!1})):(un||Qn(),tt(co(Tr({},ze),{[Ct]:!0})))};return za.createElement(je.Z,{className:Jn.choiceWrap,align:"middle",wrap:!1},za.createElement(De.Z,{onClick:Vn,className:`${Jn.choiceIndex} ${Ya?Jn.activeAnswer:""}`},$o[fn]),za.createElement(De.Z,{flex:1,className:`${Jn.editorWrap} ml15`,onClick:Xn},za.createElement(Gr,{height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9009\u9879",isEdit:On,value:ze==null?void 0:ze[mt],onChange:Nn=>{tt(co(Tr({},ze),{[mt]:Nn}))}})),za.createElement(De.Z,{flex:"0 0 auto",className:"ml15"},za.createElement("div",{onClick:Vn,className:`${Jn.setAnswerBtn} ${Ya?Jn.activeAnswer:""}`},Ya?"\u6B63\u786E\u7B54\u6848":"\u8BBE\u4E3A\u7B54\u6848")),za.createElement(De.Z,{className:Jn.actionWrapper},za.createElement(Ae.Z,{title:"\u65B0\u589E\u53C2\u8003\u7B54\u6848"},za.createElement(sn.Z,{className:Jn.addIcon,onClick:da,style:{visibility:Gn?"visible":"hidden"}})),za.createElement(Ae.Z,{title:"\u5220\u9664"},za.createElement(Dr.Z,{className:Jn.deleteIcon,onClick:qa,style:{visibility:fn>1?"visible":"hidden"}}))))},So=({questionTitlePlaceholder:ze,titleKey:tt,choiceKey:mt,analysisKey:Ct,choiceTextKey:fn,answerKey:On,choiceOptionsPath:Xn,allowChangeMode:Hn=!0,form:Tn,showAnalysis:un=!0})=>{const[Gn,da]=(0,b.useState)(),[qa,Ya]=(0,b.useState)(!1);return za.createElement("div",{className:Jn.wrap},za.createElement("div",{className:Jn.questionTitleEditorWrap},za.createElement(be.default.Item,{label:"\u9898\u5E72",name:tt,labelCol:{span:24},rules:[{required:!0}]},za.createElement(Rr,{scrollId:Array.isArray(tt)?tt.join("_"):`${tt}`,watch:!0,height:140,placeholder:ze}))),za.createElement(be.default.Item,{label:"\u7B54\u6848\u9009\u9879",required:!0,labelCol:{span:24}}),za.createElement(be.default.List,{name:mt,rules:[{validator(Qn,Vn){const Nn=Vn.some(Fa=>Fa[On]),jn=Vn.findIndex(Fa=>{var rr;return((rr=Fa[fn])==null?void 0:rr.length)<=0});return jn!==-1?Promise.reject(new Error(`\u8BF7\u5148\u8F93\u5165${$o[jn]}\u9009\u9879\u7684\u5185\u5BB9`)):Nn?Promise.resolve():Promise.reject(new Error("\u8BF7\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848"))}}]},(Qn,{add:Vn,remove:Nn})=>za.createElement("div",{id:Array.isArray(Xn)?Xn.join("_"):`${Xn}`},Qn.map((jn,Fa)=>{var rr=jn,{key:ba,name:aa}=rr,fa=ni(rr,["key","name"]);const ra=Gn===ba,va=()=>{da(ba)},Ir=Fa<7&&Fa===Qn.length-1,lo=()=>Vn({[fn]:"",[On]:0}),Fo=()=>Nn(aa);return za.createElement(be.default.Item,co(Tr({},fa),{key:ba,name:aa,noStyle:!0}),za.createElement(_i,{choiceTextKey:fn,answerKey:On,index:Fa,isEdit:ra,setInputActive:va,form:Tn,choiceOptionsPath:Xn,allowChangeMode:Hn,showAddIcon:Ir,addItem:lo,deleteItem:Fo}))}),Qn.length<8&&za.createElement("div",{className:`${Jn.addBtn} mb30`,onClick:()=>Vn({[fn]:"",[On]:0})},"\u6DFB\u52A0\u9009\u9879"))),un&&za.createElement("div",{onClick:()=>Ya(!0)},za.createElement(be.default.Item,{name:Ct,label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},za.createElement(Gr,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:qa}))))};var Ba=ae(59301),eo=Object.defineProperty,mo=Object.defineProperties,Ro=Object.getOwnPropertyDescriptors,Po=Object.getOwnPropertySymbols,xo=Object.prototype.hasOwnProperty,oi=Object.prototype.propertyIsEnumerable,Yo=(ze,tt,mt)=>tt in ze?eo(ze,tt,{enumerable:!0,configurable:!0,writable:!0,value:mt}):ze[tt]=mt,Wo=(ze,tt)=>{for(var mt in tt||(tt={}))xo.call(tt,mt)&&Yo(ze,mt,tt[mt]);if(Po)for(var mt of Po(tt))oi.call(tt,mt)&&Yo(ze,mt,tt[mt]);return ze},Ci=(ze,tt)=>mo(ze,Ro(tt)),Vo=(ze,tt)=>{var mt={};for(var Ct in ze)xo.call(ze,Ct)&&tt.indexOf(Ct)<0&&(mt[Ct]=ze[Ct]);if(ze!=null&&Po)for(var Ct of Po(ze))tt.indexOf(Ct)<0&&oi.call(ze,Ct)&&(mt[Ct]=ze[Ct]);return mt};const Eo=({value:ze,onChange:tt})=>{const mt=fn=>{Re.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:Jn.modal,onOk:()=>{const On=[...ze];On.splice(fn,1),tt(On)}})},Ct=()=>{const fn=[...ze];fn.push(""),tt(fn)};return Ba.createElement(je.Z,{align:"middle",className:"ml20",gutter:[40,20]},ze==null?void 0:ze.map((fn,On)=>Ba.createElement(De.Z,{key:`${fn}_${On}`,className:Jn.blankWrapper},Ba.createElement(We.default,{className:Jn.blankInput,defaultValue:fn,maxLength:1e3,onBlur:Xn=>{const Hn=[...ze],Tn=Xn.target.value.trim();Hn[On]=Tn,tt(Hn)}}),Ba.createElement(Ae.Z,{title:"\u5220\u9664"},Ba.createElement(Dr.Z,{className:Jn.deleteIcon,style:{marginLeft:15,visibility:On>0?"visible":"hidden"},onClick:()=>mt(On)})))),Ba.createElement(De.Z,null,Ba.createElement("div",{className:`${Jn.addBtn}`,onClick:()=>{Ct()}},"\u65B0\u589E\u7B54\u6848")))},xi=({value:ze=!0,onChange:tt})=>Ba.createElement(Vt.Z,{checked:!ze,onChange:mt=>{tt(!mt)}}),yo="\u2581",Mi=({questionTitlePlaceholder:ze,form:tt,name:mt,scoreByBlank:Ct="use_blank_score",answerKey:fn,titleKey:On="name",analysisKey:Xn="analysis",isOrdered:Hn="is_ordered"})=>{var Tn,un;const[Gn,da]=(0,b.useState)(!1),qa=(ba,aa)=>{const fa=aa.line;let ra=0;for(let Ir=0;Ir<fa;Ir++)ra+=ba.getLine(Ir).split(yo).length-1;const va=ba.getLine(fa).substring(0,aa.ch);return ra+=va.split(yo).length-1,ra},Ya=(ba,aa,fa,ra)=>{const va=ba.getRange(aa.from,aa.to);let Ir=0;if(aa.text.forEach(lo=>{Ir+=lo.split(yo).length-1}),aa.origin!=="setValue"){if(va&&va.indexOf(yo)!==-1){const lo=va.split(yo).length-1,Fo=qa(ba,aa.from);if(console.log(`\u5220\u9664${lo}\u4E2A\uFF0C \u524D\u9762\u6709${Fo}\u4E2A\uFF0C\u65B0\u589E${Ir}\u4E2A`),lo>1){const qo=Array.from({length:lo},(er,mi)=>Fo+mi);ra(qo)}else ra(Fo)}else if(Ir>0){const lo=qa(ba,aa.from);console.log(`\u65B0\u589E${Ir}\u4E2A\uFF0C\u4E4B\u524D\u6709${lo}\u4E2A`),fa(Ir,lo)}}},Qn=()=>{const ba=tt.getFieldValue(["sub_item_banks",...fn]);tt.setFieldValue(["sub_item_banks",...fn],ba==null?void 0:ba.map((aa,fa)=>Ci(Wo({},aa),{position:fa+1})))},Vn=(0,b.useRef)(),Nn=(ba,aa)=>{for(let fa=0;fa<ba;fa++)Vn.current({position:null,answer_text:[""]},aa+fa);Qn()},jn=(0,b.useRef)(),Fa=ba=>{jn.current(ba),Qn()},rr=(un=(Tn=tt.getFieldValue("sub_item_banks"))==null?void 0:Tn[fn==null?void 0:fn[0]])==null?void 0:un[fn==null?void 0:fn[1]];return Ba.createElement("div",{className:Jn.wrap},Ba.createElement("div",{className:Jn.questionTitleEditorWrap},Ba.createElement(be.default.Item,{label:"\u9898\u5E72",name:On,labelCol:{span:24},rules:[{required:!0}]},Ba.createElement(Rr,{scrollId:"name",watch:!0,height:140,placeholder:ze,showNullButton:!0,onCMBeforeChange:(ba,aa)=>{Ya(ba,aa,Nn,Fa)}}))),Ba.createElement(be.default.List,{name:fn,rules:[{validator(ba,aa){if((aa==null?void 0:aa.length)===0)return Promise.reject(new Error("\u7B54\u6848\u4E0D\u80FD\u4E3A\u7A7A"));for(const fa of aa){const{answer_text:ra}=fa||{};if(ra!=null&&ra.some(va=>(va==null?void 0:va.length)===0))return Promise.reject(new Error("\u586B\u7A7A\u9879\u7B54\u6848\u4E0D\u80FD\u4E3A\u7A7A"))}return Promise.resolve()}}]},(ba,{add:aa,remove:fa},{errors:ra})=>(Vn.current=aa,jn.current=fa,Ba.createElement(Ba.Fragment,null,Ba.createElement(be.default.Item,{label:"\u7B54\u6848\u9009\u9879",required:!0,labelCol:{span:24}}),ba.map((va,Ir)=>{var lo=va,{key:Fo,name:qo}=lo,er=Vo(lo,["key","name"]);return Ba.createElement(je.Z,{className:"mb20",key:Fo,align:"middle",wrap:!1},Ba.createElement(De.Z,{flex:"0 0 auto",className:`${Jn.blankIndex}`},"\u586B\u7A7A\u9879",Ir+1),Ba.createElement(De.Z,{flex:1},Ba.createElement(je.Z,{align:"top",justify:"space-between",wrap:!1},Ba.createElement(De.Z,null,Ba.createElement(be.default.Item,Ci(Wo({},er),{name:[qo,"answer_text"],noStyle:!0}),Ba.createElement(Eo,null))),(tt==null?void 0:tt.getFieldValue(["sub_item_banks",...Ct]))&&Ba.createElement(De.Z,{flex:"224px"},Ba.createElement(be.default.Item,Ci(Wo({},er),{name:[qo,"score"],label:"\u5206\u503C",rules:[{required:!0}],className:Jn.blankInputNumberWrapper}),Ba.createElement(ue.Z,{className:Jn.blankInput,min:.1,max:100,style:{width:"100%"},placeholder:"\u6309\u7A7A\u7ED9\u5206\u8BF7\u8F93\u5165\u5206\u503C"})))),Ba.createElement(be.default.Item,Ci(Wo({},er),{name:[qo,"position"],noStyle:!0}),Ba.createElement(We.default,{type:"hidden"}))))})))),Ba.createElement(je.Z,{align:"middle"},Ba.createElement(be.default.Item,{name:[mt,"downcase"],valuePropName:"checked"},Ba.createElement(Vt.Z,null)),Ba.createElement(De.Z,{className:"ml10"},"\u5224\u5206\u65F6\u5FFD\u7565\u7B54\u6848\u4E2D\u7684\u5B57\u6BCD\u5927\u5C0F\u5199")),Ba.createElement(je.Z,{align:"middle"},Ba.createElement(be.default.Item,{name:[mt,"no_space"],valuePropName:"checked"},Ba.createElement(Vt.Z,null)),Ba.createElement(De.Z,{className:"ml10"},"\u5224\u5206\u65F6\u5FFD\u7565\u7B54\u6848\u4E2D\u7684\u7A7A\u683C")),(rr==null?void 0:rr.length)>1&&Ba.createElement(je.Z,{align:"middle",className:(rr==null?void 0:rr.length)>1?"mb30":`${Jn.hide}`},Ba.createElement(be.default.Item,{name:Hn},Ba.createElement(xi,null)),Ba.createElement(De.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")),Ba.createElement("div",{onClick:()=>da(!0)},Ba.createElement(be.default.Item,{name:Xn,label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},Ba.createElement(Gr,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:Gn}))))};var ai=Object.defineProperty,Wi=Object.defineProperties,Di=Object.getOwnPropertyDescriptors,Ti=Object.getOwnPropertySymbols,Xo=Object.prototype.hasOwnProperty,Ki=Object.prototype.propertyIsEnumerable,pl=(ze,tt,mt)=>tt in ze?ai(ze,tt,{enumerable:!0,configurable:!0,writable:!0,value:mt}):ze[tt]=mt,$i=(ze,tt)=>{for(var mt in tt||(tt={}))Xo.call(tt,mt)&&pl(ze,mt,tt[mt]);if(Ti)for(var mt of Ti(tt))Ki.call(tt,mt)&&pl(ze,mt,tt[mt]);return ze},Yi=(ze,tt)=>Wi(ze,Di(tt)),Kr=(ze,tt)=>{var mt={};for(var Ct in ze)Xo.call(ze,Ct)&&tt.indexOf(Ct)<0&&(mt[Ct]=ze[Ct]);if(ze!=null&&Ti)for(var Ct of Ti(ze))tt.indexOf(Ct)<0&&Ki.call(ze,Ct)&&(mt[Ct]=ze[Ct]);return mt};const Ta={\u6B63\u786E:"T",\u9519\u8BEF:"F"},na=({value:ze,onChange:tt,form:mt,choiceKey:Ct})=>{const fn=(ze==null?void 0:ze.is_answer)===!0,On=ze==null?void 0:ze.choice_text,Xn=()=>{var Hn;const Tn=(Hn=mt==null?void 0:mt.getFieldValue(["sub_item_banks",...Ct]))==null?void 0:Hn.map(un=>({choice_text:un==null?void 0:un.choice_text,is_answer:!1}));mt==null||mt.setFieldValue(["sub_item_banks",...Ct],Tn),tt(Yi($i({},ze),{is_answer:!0}))};return b.createElement(je.Z,{className:Jn.choiceWrap,align:"middle",wrap:!1},b.createElement(De.Z,{onClick:Xn,className:`${Jn.choiceIndex} ${Jn.judgementIndex} ${fn?Jn.activeAnswer:""}`},Ta[On]),b.createElement(De.Z,{flex:1,className:`${Jn.editorWrap} ml15`},b.createElement("div",{className:`${Jn.inputBorder} ${Jn.placeholder} ${fn?Jn.activeJudgementAnswer:""}`},On)),b.createElement(De.Z,{flex:"0 0 auto",className:"ml15"},b.createElement("div",{onClick:Xn,className:`${Jn.setAnswerBtn} ${fn?Jn.activeAnswer:""}`},fn?"\u6B63\u786E\u7B54\u6848":"\u8BBE\u4E3A\u7B54\u6848")))},ia=({questionTitlePlaceholder:ze,choiceKey:tt="choices",form:mt,titleKey:Ct="name",analysisKey:fn="analysis"})=>{const[On,Xn]=(0,b.useState)(!1);return b.createElement("div",{className:Jn.wrap},b.createElement("div",{className:Jn.questionTitleEditorWrap},b.createElement(be.default.Item,{label:"\u9898\u5E72",name:Ct,labelCol:{span:24},rules:[{required:!0}]},b.createElement(Rr,{scrollId:"name",watch:!0,height:140,placeholder:ze}))),b.createElement(be.default.Item,{label:"\u7B54\u6848\u9009\u9879",required:!0,labelCol:{span:24}},b.createElement(be.default.List,{name:tt,rules:[{validator(Hn,Tn){return Tn.some(Gn=>(Gn==null?void 0:Gn.is_answer)===!0)?Promise.resolve():Promise.reject(new Error("\u8BF7\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848"))}}]},Hn=>b.createElement("div",{id:"choices"},Hn.map(Tn=>{var un=Tn,{key:Gn,name:da}=un,qa=Kr(un,["key","name"]);return b.createElement(be.default.Item,Yi($i({},qa),{key:Gn,name:da,noStyle:!0}),b.createElement(na,{form:mt,choiceKey:tt}))})))),b.createElement("div",{onClick:()=>Xn(!0)},b.createElement(be.default.Item,{name:fn,label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},b.createElement(Gr,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:On}))))};var Pa=Object.defineProperty,hr=Object.defineProperties,_r=Object.getOwnPropertyDescriptors,no=Object.getOwnPropertySymbols,fo=Object.prototype.hasOwnProperty,Ao=Object.prototype.propertyIsEnumerable,Bo=(ze,tt,mt)=>tt in ze?Pa(ze,tt,{enumerable:!0,configurable:!0,writable:!0,value:mt}):ze[tt]=mt,ka=(ze,tt)=>{for(var mt in tt||(tt={}))fo.call(tt,mt)&&Bo(ze,mt,tt[mt]);if(no)for(var mt of no(tt))Ao.call(tt,mt)&&Bo(ze,mt,tt[mt]);return ze},jo=(ze,tt)=>hr(ze,_r(tt)),Bi=(ze,tt)=>{var mt={};for(var Ct in ze)fo.call(ze,Ct)&&tt.indexOf(Ct)<0&&(mt[Ct]=ze[Ct]);if(ze!=null&&no)for(var Ct of no(ze))tt.indexOf(Ct)<0&&Ao.call(ze,Ct)&&(mt[Ct]=ze[Ct]);return mt};const si=ze=>{var tt=ze,{value:mt,onChange:Ct}=tt,fn=Bi(tt,["value","onChange"]);const On=Xn=>{Ct([Xn])};return b.createElement(ln.Z,jo(ka({},fn),{defaultValue:mt==null?void 0:mt[0],onChange:On}))},ki=ze=>{if(!ze)return!1;let tt=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 ze==="|"?(Ze.ZP.warning("\u5173\u952E\u8BCD\u4E0D\u80FD\u53EA\u8F93\u5165\u4E00\u4E2A\u201C|\u201D\u5B57\u7B26\uFF01"),!1):!0},Zi=({value:ze=[],onClose:tt})=>b.createElement(Gt.default,{closable:!0,onClose:tt,className:Jn.keywordTag},ze==null?void 0:ze.join(" \u6216 ")),zi=({questionTitlePlaceholder:ze,form:tt,showKeywords:mt,isMustKeyWords:Ct=mt,titleKey:fn="name",analysisKey:On="analysis",answerTexts:Xn="answer_texts",keywords:Hn="keywords",useKeywords:Tn="use_keywords",indexs:un})=>{const[Gn,da]=(0,b.useState)(!1),[qa,Ya]=(0,b.useState)(""),Qn=be.default.useWatch("sub_item_banks",tt),{use_keywords:Vn,score:Nn}=(Qn==null?void 0:Qn[un])||{};return console.log(Vn,Nn,"itemValues"),b.createElement("div",{className:Jn.wrap},b.createElement("div",{className:Jn.questionTitleEditorWrap},b.createElement(be.default.Item,{label:"\u9898\u5E72",name:fn,labelCol:{span:24},rules:[{required:!0}]},b.createElement(Rr,{scrollId:"name",watch:!0,height:140,placeholder:ze}))),b.createElement(be.default.Item,{label:"\u53C2\u8003\u7B54\u6848",name:Xn,labelCol:{span:24}},b.createElement(si,{watch:!0,height:140,placeholder:"\u8BF7\u7F16\u8F91\u53C2\u8003\u7B54\u6848\uFF08\u975E\u5FC5\u586B\uFF09"})),mt&&!Ct&&b.createElement(be.default.Item,{hidden:!0,name:Tn,valuePropName:"checked"},b.createElement(Vt.Z,{defaultChecked:!0})),mt&&Ct&&b.createElement(je.Z,{align:"middle",className:"mb30"},b.createElement(be.default.Item,{name:Tn,valuePropName:"checked"},b.createElement(Vt.Z,null)),b.createElement(De.Z,{className:"ml10"},"\u5F00\u542F\u5173\u952E\u8BCD\u81EA\u52A8\u5224\u5206"),b.createElement(De.Z,null,b.createElement(Ae.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"},b.createElement(tn.Z,{style:{color:"#3061D0",marginLeft:6,cursor:"pointer"}})))),(Vn||!Ct)&&b.createElement(be.default.List,{name:Hn,rules:[{validator(jn,Fa){return Ct?Fa!=null&&Fa.length?(Fa==null?void 0:Fa.reduce((ba,aa)=>ba+aa.score,0))>parseFloat(Nn)?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()}}]},(jn,{add:Fa,remove:rr})=>b.createElement(b.Fragment,null,b.createElement("div",{className:`${Jn.title} mb10`},Ct?"\u5173\u952E\u8BCD":b.createElement("span",{style:{color:"#9096A3"}},"\u5224\u5206\u5173\u952E\u8BCD")),b.createElement(je.Z,{align:"middle",className:"font14 mb30"},b.createElement(De.Z,{flex:1},b.createElement(We.default,{value:qa,onChange:ba=>{Ya(ba.target.value)},maxLength:50,allowClear:!0,onPressEnter:ba=>{var aa,fa,ra,va;const Ir=`${(aa=ba.target)==null?void 0:aa.value}`,lo=(ra=(fa=Ir==null?void 0:Ir.split("|"))==null?void 0:fa.filter(er=>!!er))==null?void 0:ra.map(er=>er==null?void 0:er.trim()),Fo=tt.getFieldValue(["sub_item_banks",...Hn]),qo=((va=Fo==null?void 0:Fo.map(er=>er==null?void 0:er.keyword))==null?void 0:va.flat())||[];for(const er of lo)if(qo.includes(er)){Ze.ZP.error("\u4E3A\u907F\u514D\u5224\u5206\u9519\u8BEF\uFF0C\u8BF7\u52FF\u8BBE\u7F6E\u76F8\u540C\u7684\u5173\u952E\u8BCD");return}ki(Ir)&&(Fa({keyword:lo,score:1}),Ya(""))},className:Jn.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"})),b.createElement(De.Z,{flex:"148px",style:{textAlign:"right",color:"#e99237"}},"\u201C\u56DE\u8F66\u952E\u201D\u4FDD\u5B58\u5173\u952E\u8BCD")),jn.map(ba=>{var aa=ba,{key:fa,name:ra}=aa,va=Bi(aa,["key","name"]);return b.createElement(je.Z,{key:fa,className:"mb20",style:{marginRight:148}},b.createElement(De.Z,{flex:1},b.createElement(je.Z,{align:"middle",justify:"space-between"},b.createElement(be.default.Item,jo(ka({},va),{name:[ra,"keyword"]}),b.createElement(Zi,{onClose:()=>rr(ra)})),Ct&&b.createElement(be.default.Item,jo(ka({},va),{name:[ra,"score"],label:"\u5206\u503C",rules:[{required:!0}],className:Jn.blankInputNumberWrapper}),b.createElement(ue.Z,{className:Jn.blankInput,min:.1,max:100,precision:1,style:{width:"100%"},placeholder:"\u8BF7\u8F93\u5165\u5173\u952E\u8BCD\u5206\u6570"})))))}))),b.createElement("div",{onClick:()=>da(!0)},b.createElement(be.default.Item,{name:On,label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},b.createElement(Gr,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:Gn}))))};var Ur=ae(59301),Mo=Object.defineProperty,ol=Object.defineProperties,vi=Object.getOwnPropertyDescriptors,Ui=Object.getOwnPropertySymbols,il=Object.prototype.hasOwnProperty,Xi=Object.prototype.propertyIsEnumerable,To=(ze,tt,mt)=>tt in ze?Mo(ze,tt,{enumerable:!0,configurable:!0,writable:!0,value:mt}):ze[tt]=mt,qi=(ze,tt)=>{for(var mt in tt||(tt={}))il.call(tt,mt)&&To(ze,mt,tt[mt]);if(Ui)for(var mt of Ui(tt))Xi.call(tt,mt)&&To(ze,mt,tt[mt]);return ze},el=(ze,tt)=>ol(ze,vi(tt)),ll=(ze,tt)=>{var mt={};for(var Ct in ze)il.call(ze,Ct)&&tt.indexOf(Ct)<0&&(mt[Ct]=ze[Ct]);if(ze!=null&&Ui)for(var Ct of Ui(ze))tt.indexOf(Ct)<0&&Xi.call(ze,Ct)&&(mt[Ct]=ze[Ct]);return mt},ul=(ze,tt,mt)=>new Promise((Ct,fn)=>{var On=Tn=>{try{Hn(mt.next(Tn))}catch(un){fn(un)}},Xn=Tn=>{try{Hn(mt.throw(Tn))}catch(un){fn(un)}},Hn=Tn=>Tn.done?Ct(Tn.value):Promise.resolve(Tn.value).then(On,Xn);Hn((mt=mt.apply(ze,tt)).next())});const{Panel:Rl}=lr.default,ql=null,_l=(ze,tt)=>{var mt=ze,{globalSetting:Ct,loading:fn,dispatch:On,editData:Xn,onRef:Hn=()=>{},isEdit:Tn}=mt,un=ll(mt,["globalSetting","loading","dispatch","editData","onRef","isEdit"]);const[Gn,da]=(0,b.useState)(""),[qa,Ya]=(0,b.useState)([]),[Qn]=be.default.useForm();(0,b.useEffect)(()=>{!Xn||!Tn||(da(Xn==null?void 0:Xn.name),Ya(Xn==null?void 0:Xn.sub_item_banks),Qn.setFieldsValue(qi({},Xn)))},[Xn]),(0,b.useEffect)(()=>{Ya(Qn.getFieldValue("sub_item_banks"))},[be.default.useWatch("sub_item_banks",Qn)]),(0,b.useImperativeHandle)(tt,()=>({onSave:Vn,Clear:Nn}));const Vn=()=>ul(void 0,null,function*(){if(!Gn)return Ze.ZP.info("\u8BF7\u60A8\u8F93\u5165\u9898\u5E72"),!1;try{yield Qn.validateFields()}catch(fa){return console.log(fa,"errInfo"),Ze.ZP.error(fa.errorFields[0].errors[0]),!1}const aa=qa.map(fa=>qi({id:fa.id>1?fa.id:null},fa));return{name:Gn,sub_item_banks:aa}}),Nn=()=>{da(""),Ya([])},jn={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"},Fa=({value:aa})=>Ur.createElement("div",{style:{textAlign:"center",color:"#DF3065",margin:"0 5px"}},aa),[rr,ba]=(0,b.useState)();return Ur.createElement("section",{className:Be.wrap},Ur.createElement("p",{className:Be.titleWrap},Ur.createElement("span",{className:Be.required},"*"),Ur.createElement("span",{className:Be.title},"\u9898\u5E72\uFF1A")),Ur.createElement(ln.Z,{id:"combination-question-title",watch:!0,height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9898\u5E72",defaultValue:Gn,onChange:aa=>da(aa)}),Ur.createElement(be.default,{form:Qn,autoComplete:"off"},Ur.createElement(be.default.List,{name:"sub_item_banks",rules:[{validator(aa,fa){return fa?Promise.resolve():Promise.reject(new Error("\u8BF7\u6DFB\u52A0\u5C0F\u9898"))}}]},(aa,{add:fa,remove:ra})=>{const va=Qn.getFieldValue("sub_item_banks");return Ur.createElement(Ur.Fragment,null,Ur.createElement(lr.default,{className:aa.length>0?Be.collapseWrapper:"",bordered:!1,expandIcon:({isActive:Ir})=>Ur.createElement("i",{className:`iconfont icon-weizhankai ${Ir?Be.open:Be.close}`,style:{fontSize:14,transition:"all .2s"}})},aa.map((Ir,lo)=>{var Fo=Ir,{key:qo,name:er}=Fo,mi=ll(Fo,["key","name"]),fi,Lr,Co,po,Do,ui,gl,Ml,Al,Hl,Tl,Wl;return Ur.createElement(Rl,{className:Be.panel,forceRender:!0,header:Ur.createElement("div",{className:Be.panelHeader},"\u7B2C",lo+1,"\u5C0F\u9898",Ur.createElement("span",null,"\uFF08",jn[(fi=va==null?void 0:va[er])==null?void 0:fi.item_type],"\uFF09")),extra:Ur.createElement(je.Z,{align:"middle",onClick:vl=>vl.stopPropagation(),style:{display:"flex",alignItems:"center"}},((Lr=va==null?void 0:va[er])==null?void 0:Lr.item_type)=="completion"&&Ur.createElement(be.default.Item,el(qi({},mi),{name:[er,"score"],className:Be.blankInputNumberWrapper,style:{marginBottom:0}}),((Co=va==null?void 0:va[er])==null?void 0:Co.item_type)=="completion"&&Ur.createElement("div",{style:{display:"flex",alignItems:"center",color:"#191919"}},"\u5171",Ur.createElement(Fa,{value:(po=va==null?void 0:va[er])==null?void 0:po.score}),"\u5206")),((Do=va==null?void 0:va[er])==null?void 0:Do.item_type)=="completion"&&Ur.createElement(Ur.Fragment,null,Ur.createElement(_e.ZP.Group,{defaultValue:(ui=va==null?void 0:va[er])==null?void 0:ui.use_blank_score,className:Be.scoreByBlankRadio,style:{marginRight:10},optionType:"button",options:[{label:"\u6309\u7A7A\u7ED9\u5206",value:!0},{label:"\u6309\u9898\u7ED9\u5206",value:!1}],onChange:vl=>{var Dl;console.log(Qn.getFieldsValue()),Qn==null||Qn.setFieldValue(["sub_item_banks",er,"use_blank_score"],(Dl=vl==null?void 0:vl.target)==null?void 0:Dl.value),ba(new Date)}}),Ur.createElement(Ae.Z,{overlayInnerStyle:{width:460},title:Ur.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",Ur.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")},Ur.createElement("i",{className:"icon-tishixiaowenhao font18 c-3061d0"})))),key:qo},Ur.createElement(be.default.Item,el(qi({},mi),{name:er}),(((gl=va==null?void 0:va[er])==null?void 0:gl.item_type)=="single"||((Ml=va==null?void 0:va[er])==null?void 0:Ml.item_type)=="multiple")&&Ur.createElement(So,{questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u9009\u62E9\u9898\u9898\u5E72\u5185\u5BB9",allowChangeMode:((Al=va==null?void 0:va[er])==null?void 0:Al.item_type)!="single",form:Qn,choiceKey:[er,"choices"],titleKey:[er,"name"],analysisKey:[er,"analysis"],choiceOptionsPath:["sub_item_banks",er,"choices"],choiceTextKey:"choice_text",answerKey:"is_answer"}),((Hl=va==null?void 0:va[er])==null?void 0:Hl.item_type)=="completion"&&Ur.createElement(Mi,{form:Qn,name:er,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u9898\u5E72\u5E76\u8BBE\u7F6E\u586B\u7A7A\u9879",scoreByBlank:[er,"use_blank_score"],titleKey:[er,"name"],analysisKey:[er,"analysis"],isOrdered:[er,"is_ordered"],answerKey:[er,"standard_answer"],key:rr}),((Tl=va==null?void 0:va[er])==null?void 0:Tl.item_type)=="judgement"&&Ur.createElement(ia,{form:Qn,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u5224\u65AD\u9898\u9898\u5E72\u5185\u5BB9",titleKey:[er,"name"],analysisKey:[er,"analysis"],choiceKey:[er,"choices"]}),((Wl=va==null?void 0:va[er])==null?void 0:Wl.item_type)=="subjective"&&Ur.createElement(zi,{showKeywords:!0,form:Qn,titleKey:[er,"name"],analysisKey:[er,"analysis"],answerTexts:[er,"answer_texts"],useKeywords:[er,"use_keywords"],keywords:[er,"keywords"],indexs:er,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u7B80\u7B54\u9898\u9898\u5E72\u5185\u5BB9"})))})))})))};var Ri=(0,ge.connect)(({loading:ze,globalSetting:tt})=>({globalSetting:tt,loading:ze.effects}),null,null,{forwardRef:!0})((0,b.forwardRef)(_l)),Fl=ae(84842),tl=ae(19842),wl=ae(57809),Gl=ae(1710),gt={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"},ht=ae(9148),zt=ae(58433),An=ae(82264),Dn=ae(45937),Pn=ae(28426),hn=ae(94361),dn=({open:ze,onCancel:tt,onOk:mt})=>{const Ct=(0,zt.g)(),[fn,On,Xn,Hn]=(0,Dn.U)(An.Gm,{page:1,limit:10,keyword:"",diff:"",shixun_publish_status:"",discipline_id:"",sub_discipline_id:"",type:0,include_shixuns:!0,item_type:"SHIXUN"}),[Tn,un]=(0,b.useState)(!1);(0,b.useEffect)(()=>{ze&&Xn({page:1,limit:10,type:0},!0).then(Qn=>{(Qn==null?void 0:Qn.shixuns_count)===0&&un(!0)})},[ze]);const[Gn,da]=(0,b.useState)([]),[qa,Ya]=(0,b.useState)([]);return b.createElement(Re.default,{title:"\u9009\u62E9\u5B9E\u8BAD\u9898",open:ze,width:948,centered:!0,closable:!0,onCancel:tt,onOk:()=>mt(qa),destroyOnClose:!0},b.createElement(je.Z,{justify:"space-between",className:"mb20",style:{maxHeight:650}},b.createElement(De.Z,null,b.createElement(tl.Z,{style:{width:160},size:"large",placeholder:"\u8BF7\u9009\u62E9\u65B9\u5411&\u8BFE\u7A0B",options:Ct,onChange:Qn=>{Xn({page:1,discipline_id:Qn==null?void 0:Qn[0],sub_discipline_id:Qn==null?void 0:Qn[1]})}}),b.createElement(wl.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:Qn=>Xn({page:1,diff:Qn})}),b.createElement(wl.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:Qn=>Xn({page:1,shixun_publish_status:Qn})})),b.createElement(ht.t7,{placeholder:"\u8BF7\u8F93\u5165\u5173\u952E\u8BCD\u641C\u7D22",style:{width:290},onChange:Qn=>{Xn({keyword:Qn,page:1})}})),Tn?b.createElement("div",null,b.createElement(Pn.Z,{customText:"\u6682\u65E0\u6570\u636E",ButtonText:"\u524D\u5F80\u5B9E\u8DF5\u9879\u76EE\u5E93\uFF0C\u6DFB\u52A0\u66F4\u591A\u8BD5\u9898>",ButtonClick:()=>(0,ye.xg)("/shixuns")})):b.createElement(Gl.default,{loading:On,rowKey:"id",columns:[{title:"\u8BD5\u9898\u540D\u79F0",dataIndex:"name",width:"30%",ellipsis:{showTitle:!0},render:(Qn,Vn)=>b.createElement("div",{style:{display:"flex",alignItems:"center"}},b.createElement("div",{className:Vn!=null&&Vn.high_resources_consume?gt.title:"",title:Qn||"--"},b.createElement(pe.Z,{key:1,showLines:1,showTextOnly:!0,value:Qn||"--"})),(Vn==null?void 0:Vn.high_resources_consume)&&b.createElement(hn.Z,{type:"shixun",style:{marginLeft:10}}))},{title:"\u96BE\u5EA6",dataIndex:"level"},{title:"\u5173\u5361\u6570\u91CF",dataIndex:"challenges_count",key:"challenges_count",render:(Qn,Vn,Nn)=>b.createElement("span",null,Qn||"- -")},{title:"\u4F7F\u7528\u6B21\u6570",dataIndex:"study_count"},{title:b.createElement("span",null,"\u53D1\u5E03\u72B6\u6001 ",b.createElement(Ae.Z,{title:"\u672A\u53D1\u5E03\u7684\u5B9E\u8DF5\u9879\u76EE\u4E0D\u80FD\u88AB\u9009\u7528"},b.createElement(tn.Z,null))),dataIndex:"shixun_tag_num_name",key:"shixun_tag_num_name",width:100,render:(Qn,Vn,Nn)=>b.createElement("span",null,Qn||"- -")},{title:"\u64CD\u4F5C",render(Qn,Vn){const{title:Nn,challenge_names:jn,author_name:Fa,identifier:rr,author_school_name:ba,study_count:aa}=Vn||{};return b.createElement("div",null,b.createElement("span",{style:{color:"#165DFF",cursor:"pointer"},onClick:()=>{Re.default.confirm({title:"\u9898\u76EE\u8BE6\u60C5",closable:!0,width:1e3,centered:!0,icon:null,footer:null,content:b.createElement("div",null,b.createElement(pe.Z,{value:Nn,style:{marginBottom:18}}),b.createElement("div",{className:gt.challengeNameWrapper},jn.map((fa,ra)=>b.createElement("div",{className:gt.challengeName,key:ra},"\u7B2C",(0,ye.EM)(ra+1),"\u9898\xA0",fa))),b.createElement(je.Z,{className:gt.shixunPreviewFooter,justify:"space-between",style:{alignItems:"center"}},b.createElement(De.Z,{className:gt.shixunInfoWrapper},b.createElement("span",null,"\u521B\u5EFA\u8005"),b.createElement("span",{className:gt.shixunInfo},Fa.split("\u3001")[0]),b.createElement("span",null,"\u6240\u5C5E\u5355\u4F4D"),b.createElement("span",{className:gt.shixunInfo},ba),b.createElement("span",null,"\u5B66\u4E60\u4EBA\u6570"),b.createElement("span",{className:gt.shixunInfo},aa)),b.createElement(Ie.ZP,{type:"primary",className:gt.btnToDetail,onClick:()=>(0,ye.xg)(`/shixuns/${rr}/challenges?exercise=true`)},b.createElement("i",{className:"iconfont icon-shixunkecheng"}),"\u5B9E\u8BAD\u8BE6\u60C5")))})}},"\u67E5\u770B"),(Vn==null?void 0:Vn.shixun_tag_num)===1&&b.createElement("a",{target:"_blank",href:`/shixuns/${Vn==null?void 0:Vn.identifier}/challenges`,style:{marginLeft:10}},"\u53BB\u53D1\u5E03"))}}],dataSource:Hn==null?void 0:Hn.items,rowSelection:{type:"radio",selectedRowKeys:Gn,preserveSelectedRowKeys:!0,getCheckboxProps:Qn=>({disabled:Qn.shixun_tag_num===1}),onChange(Qn,Vn){var Nn,jn,Fa;console.log(Qn),da(Qn);const rr=[];for(const aa of qa)Qn.includes(aa.id)&&rr.push(aa);const ba=rr.map(aa=>aa.id);for(const aa of Vn)aa&&Qn.includes(aa.id)&&!ba.includes(aa.id)&&rr.push({id:aa.id,difficulty:aa.level,identifier:aa.identifier,name:aa.name,real_name:(Nn=aa==null?void 0:aa.author_name)==null?void 0:Nn.split("\u3001")[0],school_name:aa.author_school_name,challenge_names:aa.challenge_names,challenges:(jn=aa.challenge_names)==null?void 0:jn.map((fa,ra)=>({subject:fa,id:ra,score:5})),score:((Fa=aa.challenge_names)==null?void 0:Fa.length)*5,study_count:aa.study_count,challenges_count:aa.challenges_count});Ya(rr)}},pagination:{current:fn.page,pageSize:fn.limit,total:Hn==null?void 0:Hn.items_count,showTotal:Qn=>b.createElement("span",null,"\u5171\xA0",b.createElement("span",{style:{color:"#165DFF"}},Qn),"\xA0\u6761\u6570\u636E"),showQuickJumper:!0,onChange(Qn,Vn){Xn({page:Qn,limit:Vn})},size:"default"},scroll:{y:400}}))},_n=ae(3039),la=ae(75736),or=(ze,tt,mt)=>new Promise((Ct,fn)=>{var On=Tn=>{try{Hn(mt.next(Tn))}catch(un){fn(un)}},Xn=Tn=>{try{Hn(mt.throw(Tn))}catch(un){fn(un)}},Hn=Tn=>Tn.done?Ct(Tn.value):Promise.resolve(Tn.value).then(On,Xn);Hn((mt=mt.apply(ze,tt)).next())}),ao=({visible:ze,getdata:tt,onCancel:mt,onRandomExchange:Ct,selectFromProblemSet:fn,questionParams:On})=>{const[Xn,Hn]=(0,b.useState)(!1),[Tn,un]=(0,b.useState)(!1),[Gn,da]=(0,b.useState)({}),qa=(0,ge.useParams)(),[Ya,Qn]=(0,b.useState)(),Vn=(Nn,jn)=>or(void 0,null,function*(){un(!0);const Fa=yield(0,Ee.ZP)(`/api/exercises/${qa.categoryId}/toggle_random_question.json`,{method:"post",body:{question_id:On.id,item_bank_id:Nn,shixuns_info:[{id:Nn,is_copy:jn!=1,is_use:jn!=1}]}});un(!1),Fa!=null&&Fa.status||(Ze.ZP.info("\u6362\u9898\u6210\u529F"),mt(),tt())});return b.createElement(Re.default,{title:"\u8BF7\u9009\u62E9\u66FF\u6362\u65B9\u5F0F",open:ze,onCancel:mt,centered:!0,maskClosable:!0,footer:null},b.createElement(je.Z,{justify:"center",className:"pb20"},b.createElement(Fl.Z,{onClick:Ct},"\u968F\u673A\u66F4\u6362"),(On==null?void 0:On.type)!=="PRACTICAL"&&b.createElement(Ie.ZP,{style:{marginLeft:24},onClick:fn},"\u4ECE\u9898\u5E93\u4E2D\u9009\u62E9"),(On==null?void 0:On.type)==="PRACTICAL"&&b.createElement(Ie.ZP,{style:{marginLeft:24},onClick:()=>{Hn(!0)}},"\u4ECE\u9898\u5E93\u4E2D\u9009\u62E9")),b.createElement(dn,{open:Xn,onCancel:()=>Hn(!1),onOk:Nn=>or(void 0,null,function*(){if(console.log("----selectedRows",Nn,qa),(Nn==null?void 0:Nn.length)<=0){Ze.ZP.info("\u8BF7\u9009\u62E9\u5B9E\u8BAD");return}let jn=Nn==null?void 0:Nn.map(rr=>rr==null?void 0:rr.id),Fa=yield(0,la.Tr)({id:[...jn],course_id:qa.coursesId,type:"shixun"});(Fa==null?void 0:Fa.student_count)===0?Vn(jn==null?void 0:jn[0],1):(Qn(jn),da(Fa)),Hn(!1)})}),b.createElement(_n.Z,{resdata:Gn,type:"shixun",okloading:Tn,oktext:(Gn==null?void 0:Gn.can_copy_num)===0?"\u786E\u5B9A":"\u4E00\u952E\u590D\u5236\u5E76\u66FF\u6362",onok:Nn=>or(void 0,null,function*(){Vn(Ya==null?void 0:Ya[0],2)})}))},Fr=ae(77762),Ia=ae(24334),ca=ae(90283),Kn=ae(60572),sr=ae(32162),mr=Object.defineProperty,Br=Object.defineProperties,Jr=Object.getOwnPropertyDescriptors,dr=Object.getOwnPropertySymbols,kr=Object.prototype.hasOwnProperty,cr=Object.prototype.propertyIsEnumerable,ya=(ze,tt,mt)=>tt in ze?mr(ze,tt,{enumerable:!0,configurable:!0,writable:!0,value:mt}):ze[tt]=mt,yr=(ze,tt)=>{for(var mt in tt||(tt={}))kr.call(tt,mt)&&ya(ze,mt,tt[mt]);if(dr)for(var mt of dr(tt))cr.call(tt,mt)&&ya(ze,mt,tt[mt]);return ze},Vr=(ze,tt)=>Br(ze,Jr(tt)),bo=(ze,tt,mt)=>new Promise((Ct,fn)=>{var On=Tn=>{try{Hn(mt.next(Tn))}catch(un){fn(un)}},Xn=Tn=>{try{Hn(mt.throw(Tn))}catch(un){fn(un)}},Hn=Tn=>Tn.done?Ct(Tn.value):Promise.resolve(Tn.value).then(On,Xn);Hn((mt=mt.apply(ze,tt)).next())}),ji=({data:ze,submit:tt,goBack:mt,loading:Ct,onTypeScore:fn,editPreview:On=!1,onSkipExamination:Xn,selectValue:Hn,onExchange:Tn,getdata:un,handleMarkWrongQuestion:Gn})=>{var da,qa,Ya,Qn,Vn,Nn,jn,Fa,rr,ba,aa;const fa=(0,b.useRef)(),[ra,va]=(0,b.useState)(null),[Ir,lo]=(0,b.useState)(!1),[Fo,qo]=(0,b.useState)(!1),er=(0,b.useRef)(),[mi]=be.default.useForm(),fi=(0,ge.useParams)(),[Lr,Co]=(0,b.useState)(!1);(0,b.useEffect)(()=>{lo(!0)},[]),(0,b.useEffect)(()=>{On||(0,ye.Dk)("\u8BD5\u5377\u9884\u89C8")},[On]);const po=["\u5BB9\u6613","\u7B80\u5355","\u9002\u4E2D","\u56F0\u96BE"],Do={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"},ui={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"},gl=jt=>{var Ea;const br=[];return b.createElement(b.Fragment,null,b.createElement("aside",{className:se.single},(Ea=jt==null?void 0:jt.choices)==null?void 0:Ea.map((fe,me)=>(fe.is_answer&&br.push(sr.k4[me]),b.createElement("ul",{key:me},b.createElement("li",null,sr.k4[me],"\u3001"),b.createElement("li",null,b.createElement(pe.Z,{value:fe.choice_text})))))),b.createElement("div",{className:se.analysis},b.createElement("div",null,"\u6B63\u786E\u7B54\u6848\uFF1A",br.join(""),b.createElement("span",{className:"ml30"},"\u96BE\u5EA6\uFF1A",po[jt.difficulty])),b.createElement("aside",null,b.createElement("span",{className:se.text},"\u89E3\u6790:"),b.createElement(pe.Z,{value:jt.analysis?jt.analysis:"\u6682\u65E0\u89E3\u6790"})),b.createElement("ul",null,b.createElement("li",null,b.createElement("span",{style:{color:"#007AFF",marginRight:10}},"\u65B9\u5411&\u8BFE\u7A0B:"),`${(jt==null?void 0:jt.discipline_name)||"--"}/${jt==null?void 0:jt.sub_discipline_name}`),b.createElement(Ae.Z,{title:jt==null?void 0:jt.tag_discipline_name},b.createElement("li",{style:{maxWidth:"400px",overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"}},b.createElement("span",{style:{color:"#5AB891",marginRight:10}},"\u77E5\u8BC6\u70B9:"),jt==null?void 0:jt.tag_discipline_name)))))},Ml=(jt,Ea)=>{var br;const fe=(br=jt==null?void 0:jt.standard_answer)==null?void 0:br.map((me,Me)=>{var Ge;return b.createElement("div",{key:Me},`\u7B54\u6848\uFF08\u586B\u7A7A${me==null?void 0:me.position}\uFF09\uFF1A${(Ge=me==null?void 0:me.answer_text)==null?void 0:Ge.join("\u3001")}`)});return b.createElement(b.Fragment,null,b.createElement("div",{className:se.analysis},b.createElement("div",{style:{display:"flex"}},b.createElement("div",null,"\u6B63\u786E\u7B54\u6848\uFF1A"),b.createElement("div",null,fe)),b.createElement("aside",null,b.createElement("span",{className:se.text},"\u89E3\u6790:"),b.createElement(pe.Z,{value:jt.analysis?jt.analysis:"\u6682\u65E0\u89E3\u6790"})),b.createElement("ul",null,b.createElement("li",null,b.createElement("span",{style:{color:"#007AFF",marginRight:10}},"\u65B9\u5411&\u8BFE\u7A0B:"),Ea?`${(Ea==null?void 0:Ea.discipline_name)||"--"}/${Ea==null?void 0:Ea.sub_discipline_name}`:`${(jt==null?void 0:jt.discipline_name)||"--"}/${jt==null?void 0:jt.sub_discipline_name}`),b.createElement(Ae.Z,{title:Ea?Ea==null?void 0:Ea.tag_discipline_name:jt==null?void 0:jt.tag_discipline_name},b.createElement("li",{style:{maxWidth:"400px",overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"}},b.createElement("span",{style:{color:"#5AB891",marginRight:10}},"\u77E5\u8BC6\u70B9:"),Ea?Ea==null?void 0:Ea.tag_discipline_name:jt==null?void 0:jt.tag_discipline_name)))))},Al=jt=>{var Ea;const br=(Ea=jt==null?void 0:jt.standard_answer)==null?void 0:Ea.map((fe,me)=>b.createElement("div",{key:me},`\u7B54\u6848\uFF08\u586B\u7A7A${(fe==null?void 0:fe.position)||(fe==null?void 0:fe.exercise_choice_id)}\uFF09\uFF1A${fe==null?void 0:fe.answer_text}`));return b.createElement(b.Fragment,null,b.createElement("div",{className:se.analysis},b.createElement("div",{style:{display:"flex"}},b.createElement("div",null,"\u6B63\u786E\u7B54\u6848\uFF1A"),b.createElement("div",null,br)),b.createElement("aside",null,b.createElement("span",{className:se.text},"\u89E3\u6790:"),b.createElement(pe.Z,{value:jt.analysis?jt.analysis:"\u6682\u65E0\u89E3\u6790"})),b.createElement("ul",null,b.createElement("li",null,b.createElement("span",{style:{color:"#007AFF",marginRight:10}},"\u65B9\u5411&\u8BFE\u7A0B:"),`${(jt==null?void 0:jt.discipline_name)||"--"}/${jt==null?void 0:jt.sub_discipline_name}`),b.createElement(Ae.Z,{title:jt==null?void 0:jt.tag_discipline_name},b.createElement("li",{style:{maxWidth:"400px",overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"}},b.createElement("span",{style:{color:"#5AB891",marginRight:10}},"\u77E5\u8BC6\u70B9:"),jt==null?void 0:jt.tag_discipline_name)))))},Hl=(jt,Ea)=>{var br;return b.createElement("div",{className:se.analysis},b.createElement("div",null,"\u6B63\u786E\u7B54\u6848\uFF1A",(br=jt==null?void 0:jt.answer_texts)==null?void 0:br[0]),b.createElement("aside",null,b.createElement("span",{className:se.text},"\u89E3\u6790:"),b.createElement(pe.Z,{value:jt.analysis?jt.analysis:"\u6682\u65E0\u89E3\u6790"})),b.createElement("ul",null,b.createElement("li",null,b.createElement("span",{style:{color:"#007AFF",marginRight:10}},"\u65B9\u5411&\u8BFE\u7A0B:"),Ea?`${(Ea==null?void 0:Ea.discipline_name)||"--"}/${Ea==null?void 0:Ea.sub_discipline_name}`:`${(jt==null?void 0:jt.discipline_name)||"--"}/${jt==null?void 0:jt.sub_discipline_name}`),b.createElement(Ae.Z,{title:Ea?Ea==null?void 0:Ea.tag_discipline_name:jt==null?void 0:jt.tag_discipline_name},b.createElement("li",{style:{maxWidth:"400px",overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"}},b.createElement("span",{style:{color:"#5AB891",marginRight:10}},"\u77E5\u8BC6\u70B9:"),Ea?Ea==null?void 0:Ea.tag_discipline_name:jt==null?void 0:jt.tag_discipline_name))))},Tl=jt=>{var Ea,br;return b.createElement("div",{className:se.analysis},b.createElement("aside",null,b.createElement("span",{className:se.text},"\u9884\u671F\u8F93\u51FA:"),b.createElement(pe.Z,{value:(Ea=jt==null?void 0:jt.program_attr)==null?void 0:Ea.description})),b.createElement("div",{style:{marginTop:20}},"\u6B63\u786E\u7B54\u6848\uFF1A",((br=jt==null?void 0:jt.program_attr)==null?void 0:br.answer_text)||"--"),b.createElement("aside",null,b.createElement("span",{className:se.text},"\u89E3\u6790:"),b.createElement(pe.Z,{value:jt.analysis?jt.analysis:"\u6682\u65E0\u89E3\u6790"})),b.createElement("ul",null,b.createElement("li",null,b.createElement("span",{style:{color:"#007AFF",marginRight:10}},"\u65B9\u5411&\u8BFE\u7A0B:"),`${(jt==null?void 0:jt.discipline_name)||"--"}/${jt==null?void 0:jt.sub_discipline_name}`),b.createElement(Ae.Z,{title:jt==null?void 0:jt.tag_discipline_name},b.createElement("li",{style:{maxWidth:"400px",overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"}},b.createElement("span",{style:{color:"#5AB891",marginRight:10}},"\u77E5\u8BC6\u70B9:"),jt==null?void 0:jt.tag_discipline_name))))},Wl=(jt,Ea)=>{var br;return b.createElement("div",null,(br=jt==null?void 0:jt.sub_item_banks)==null?void 0:br.map((fe,me)=>{var Me,Ge;const et=[];return b.createElement(b.Fragment,null,b.createElement("div",{style:{marginLeft:25,fontSize:"16px",color:"#333",paddingTop:"15px"}},Ea+1+"."+(me+1),"\uFF08",Do[fe.item_type]||ui[fe.item_type],"\uFF09",fe.name),(fe.item_type=="SINGLE"||fe.item_type=="MULTIPLE"||fe.item_type=="JUDGMENT"||fe.item_type=="single"||fe.item_type=="multiple"||fe.item_type=="judgement")&&b.createElement(b.Fragment,null,b.createElement("aside",{className:se.single},(Me=fe==null?void 0:fe.choices)==null?void 0:Me.map((qe,Nt)=>(qe.is_answer&&et.push(sr.k4[Nt]),b.createElement("ul",{key:Nt},b.createElement("li",null,sr.k4[Nt],"\u3001"),b.createElement("li",null,b.createElement(pe.Z,{value:qe.choice_text})))))),b.createElement("div",{className:se.analysis},b.createElement("div",null,"\u6B63\u786E\u7B54\u6848\uFF1A",et.join(""),b.createElement("span",{className:"ml30"},"\u96BE\u5EA6\uFF1A",po[fe.difficulty])),b.createElement("aside",null,b.createElement("span",{className:se.text},"\u89E3\u6790:"),b.createElement(pe.Z,{value:fe.analysis?fe.analysis:"\u6682\u65E0\u89E3\u6790"})),b.createElement("ul",null,b.createElement("li",null,b.createElement("span",{style:{color:"#007AFF",marginRight:10}},"\u65B9\u5411&\u8BFE\u7A0B:"),`${(jt==null?void 0:jt.discipline_name)||"--"}/${jt==null?void 0:jt.sub_discipline_name}`),b.createElement(Ae.Z,{title:jt==null?void 0:jt.tag_discipline_name},b.createElement("li",{style:{maxWidth:"400px",overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"}},b.createElement("span",{style:{color:"#5AB891",marginRight:10}},"\u77E5\u8BC6\u70B9:"),jt==null?void 0:jt.tag_discipline_name))))),(fe.item_type=="COMPLETION"||fe.item_type=="completion")&&Ml(fe,jt),(fe.item_type=="SUBJECTIVE"||fe.item_type=="subjective")&&Hl(fe,jt),((Ge=ze==null?void 0:ze.exam)==null?void 0:Ge.exercise_status)===3&&b.createElement("div",{className:"flex gap-20px mt20"},b.createElement(ca.Z,{state:fe==null?void 0:fe.is_wrong,onClick:()=>{Gn==null||Gn({value:Vr(yr({},fe),{question_id:fe==null?void 0:fe.id,question_score:fe==null?void 0:fe.score})})}}),fe.item_type=="single"&&b.createElement(Ie.ZP,{style:{color:"#3061D0"},onClick:()=>{nu({value:fe})}},"\u589E\u8BBE\u6B63\u786E\u7B54\u6848")))}))},vl=jt=>{var Ea,br,fe;return b.createElement("div",{style:{marginTop:"12px"}},(br=(Ea=jt==null?void 0:jt.shixun)==null?void 0:Ea.challenges)==null?void 0:br.map((me,Me)=>b.createElement("div",{className:"c-grey-666 font14 mb10 ml25",style:{display:"flex",alignItems:"center",justifyContent:"space-between"}},b.createElement("div",null,b.createElement("span",{className:"mr5"},"\u7B2C",Me+1,"\u5173"),b.createElement(Ae.Z,{key:Me,title:me==null?void 0:me.challenge_name},b.createElement("span",null,(0,ye.Pq)(me==null?void 0:me.challenge_name,44)))),On&&b.createElement("div",null,"\u5206\u503C\uFF1A",me.score,"\u5206"))),b.createElement(ge.Link,{style:{float:"right"},target:"_blank",to:`/shixuns/${(fe=jt==null?void 0:jt.shixun)==null?void 0:fe.identifier}/challenges`},"\u5B9E\u8BAD\u8BE6\u60C5"),b.createElement("div",{style:{clear:"both"}}))},Dl=jt=>{let Ea=jt.questions_score/jt.questions_count;Re.default.confirm({icon:null,centered:!0,title:"\u5206\u6570\u8BBE\u7F6E",content:b.createElement("div",{className:se.modalColumn},b.createElement("div",{className:se.modalRow,style:{justifyContent:"flex-start"}},b.createElement("sup",{className:se.sup},"*"),b.createElement("span",null,jt==null?void 0:jt.name,"\uFF1A"),b.createElement(ue.Z,{min:0,precision:1,defaultValue:Ea,onChange:br=>{Ea=br}}),b.createElement("span",{className:"ml5"},"\u5206/\u9898"))),okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",onOk:()=>bo(void 0,null,function*(){var br;if(!Ea)return Ze.ZP.warning("\u5206\u6570\u4E0D\u80FD\u4E3A\u7A7A\u6216\u4E3A0"),Promise.reject();const fe={type:jt==null?void 0:jt.type,score:Ea,scoreTotal:Number((br=Ea*jt.questions_count)==null?void 0:br.toFixed(1))};fn(fe)})})},Il=()=>{let jt="";Re.default.confirm({icon:null,centered:!0,title:"\u4FDD\u5B58\u8BD5\u5377",content:b.createElement("div",{className:se.modalColumn},b.createElement("div",{style:{color:"#676A6C",display:"flex",alignItems:"center"},className:"font14 mt20"},b.createElement("img",{style:{marginRight:5},src:Dt.Z}),"\u4FDD\u5B58\u540E\u5355\u72EC\u751F\u6210\u4E00\u4EFD\u4EBA\u5DE5\u7EC4\u5377\u7C7B\u578B\u7684\u56FA\u5B9A\u8BD5\u5377\u3002"),b.createElement("div",{className:se.modalRow,style:{marginTop:20}},b.createElement("sup",{className:se.sup},"*"),b.createElement("span",{style:{flexShrink:0}},"\u8BD5\u5377\u540D\u79F0\uFF1A"),b.createElement(We.default,{placeholder:"\u8BF7\u8F93\u5165\u8BD5\u5377\u540D\u79F0",min:0,maxLength:60,defaultValue:jt,onChange:Ea=>{jt=Ea.target.value}}))),okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",onOk:()=>bo(void 0,null,function*(){var Ea;if(!jt)return Ze.ZP.warning("\u8BD5\u5377\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A"),Promise.reject();const br=[],fe=[],me=[],Me=[];(Ea=ze==null?void 0:ze.questionList)==null||Ea.forEach(et=>{var qe;(qe=et.questions)==null||qe.forEach(Nt=>{let xt=et.questions_score/et.questions_count;xt=xt&&xt.toFixed(1),et.type==="COMBINATION"&&me.push({id:Nt.id,sub_item_bank_ids:Nt.sub_item_banks.map(Mt=>Mt.id)}),et.type==="PRACTICAL"?Me.push(Nt.id):(br.push(Nt.id),fe.push(xt))})}),console.log("-----",me),yield tt({item_bank_ids:br,item_bank_scores:fe,name:jt,combination_item_banks:me,shixun_ids:Me})})})},eu=(jt,Ea,br,fe)=>{var me;const Me=`${location.pathname}${location.search}`,Ge=(me=fe.questions)==null?void 0:me.map(et=>et==null?void 0:et.id);if(Me.includes("exercise"))er.current={id:jt,ids:Ge,type:Ea,index:br},qo(!0);else{let et=Re.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:()=>bo(void 0,null,function*(){et.update({cancelButtonProps:{disabled:!0}}),yield Tn({single_question_id:jt,seleted_item_bank_ids:Ge},{type:Ea,index:br}),et.update({cancelButtonProps:{disabled:!1}}),Ze.ZP.success("\u5DF2\u91CD\u65B0\u968F\u673A\u751F\u6210\u8BD5\u9898")})})}},sl=jt=>{var Ea;const br=(Ea=jt.questions)==null?void 0:Ea.map(Me=>Me==null?void 0:Me.id),fe=jt.name;let me=Re.default.confirm({icon:null,centered:!0,title:"\u6E29\u99A8\u63D0\u793A",content:`\u786E\u8BA4\u66F4\u6362${fe}\u4E2D\u7684\u6240\u6709\u8BD5\u9898\u5417\uFF1F`,cancelButtonProps:{disabled:!1},maskClosable:!1,keyboard:!1,okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",onOk:()=>bo(void 0,null,function*(){me.update({cancelButtonProps:{disabled:!0}}),yield Tn({seleted_item_bank_ids:br},{type:jt.type}),me.update({cancelButtonProps:{disabled:!1}}),Ze.ZP.success(`\u5DF2\u91CD\u65B0\u968F\u673A\u751F\u6210${fe}\u8BD5\u9898`)})})},kl=()=>{let jt=Re.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:()=>bo(void 0,null,function*(){jt.update({cancelButtonProps:{disabled:!0}}),yield Tn(),jt.update({cancelButtonProps:{disabled:!1}}),Ze.ZP.success("\u5DF2\u91CD\u65B0\u968F\u673A\u751F\u6210\u6574\u5F20\u8BD5\u9898")})})},Ll=jt=>{console.log(jt,"key"),Xn(jt-1)},Kl=(jt,Ea)=>{var br,fe;if(Ea==="SINGLE")return b.createElement(b.Fragment,null,b.createElement(Bt,{ref:fa,editData:jt,isEdit:!0}),b.createElement(Te.Z,null));if(Ea==="MULTIPLE")return b.createElement(b.Fragment,null,b.createElement(xn,{ref:fa,editData:jt,isEdit:!0}),b.createElement(Te.Z,null));if(Ea==="JUDGMENT")return b.createElement(b.Fragment,null,b.createElement(bt,{ref:fa,editData:jt,isEdit:!0}),b.createElement(Te.Z,null));if(Ea==="COMPLETION")return b.createElement(b.Fragment,null,b.createElement(Xe,{ref:fa,editData:jt,isEdit:!0}),b.createElement(Te.Z,null));if(Ea==="SUBJECTIVE")return b.createElement(b.Fragment,null,b.createElement($a,{ref:fa,editData:jt,isEdit:!0}),b.createElement(Te.Z,null));if(Ea==="COMBINATION")return b.createElement(b.Fragment,null,b.createElement(Ri,{ref:fa,editData:jt,isEdit:!0}),b.createElement(Te.Z,null));if(Ea==="BPROGRAM")return b.createElement(b.Fragment,null,b.createElement(be.default,{form:mi,style:{marginTop:20},onFinishFailed:me=>{var Me,Ge;me.errorFields[0].name.includes("standard_answers")?Ze.ZP.error("\u586B\u7A7A\u9879\u7B54\u6848\u4E0D\u80FD\u4E3A\u7A7A"):Ze.ZP.error(me.errorFields[0].errors[0]),mi.scrollToField((Ge=(Me=me==null?void 0:me.errorFields)==null?void 0:Me[0])==null?void 0:Ge.name,{behavior:"smooth",block:"center"})},onFinish:me=>bo(void 0,null,function*(){var Me;let Ge=Vr(yr({question_score:jt.score},me),{question_type:8,hack:Vr(yr({},me.hack),{difficult:jt.program_attr.difficult}),hack_codes:Vr(yr({},me.hack_codes),{code:Ia.Base64.encode((Me=me.hack_codes)==null?void 0:Me.code)})});Lr&&(Ge.is_cover=1);const et=yield(0,Ee.ZP)(`/api/exercise_questions/${jt.id}.json`,{method:"put",body:Ge});(et==null?void 0:et.status)===0&&(Ze.ZP.success("\u7F16\u8F91\u6210\u529F"),Ll(Hn+1)),va(null)})},b.createElement(Fr.tc,{form:mi,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u9898\u5E72\u5E76\u8BBE\u7F6E\u586B\u7A7A\u9879",scoreByBlank:!1,hackidentifier:(br=jt==null?void 0:jt.program_attr)==null?void 0:br.identifier,answerKey:"standard_answers"}),b.createElement(Te.Z,null)));if(Ea==="PROGRAM"&&ge.history.push(`/problems/${(fe=jt==null?void 0:jt.program_attr)==null?void 0:fe.identifier}/edit?type=exercises&express_id=${fi.categoryId}&question_id=${jt==null?void 0:jt.id}&score=${jt==null?void 0:jt.score}&callback_url=${location.pathname}&select=${Hn}&exercise=true`),Ea==="PRACTICAL")return b.createElement(b.Fragment,null,b.createElement(Wn,{ref:fa,editData:jt,isEdit:!0}),b.createElement(Te.Z,null))},Ul=(jt,Ea)=>bo(void 0,null,function*(){var br,fe,me,Me,Ge,et;const qe=yield(br=fa.current)==null?void 0:br.onSave();if(!qe)return;const Nt=Tt=>{const Qt=Tt.map(bn=>bn.choice_text.trim().replace(/^\s+|\s+$/g,""));return new Set(Qt).size!==Qt.length},xt={question_score:Ea.score,analysis:qe.analysis};if(jt==="SINGLE"||jt==="MULTIPLE"||jt==="JUDGMENT"){if(jt!=="JUDGMENT"&&Nt(qe==null?void 0:qe.choices)){Ze.ZP.error("\u9009\u62E9\u9898\u9009\u9879\u5185\u5BB9\u4E0D\u80FD\u91CD\u590D\uFF0C\u8BF7\u4FEE\u6539\u540E\u518D\u4FDD\u5B58");return}const Tt=[],Qt=[];xt.question_type=jt==="JUDGMENT"?2:1,xt.question_title=qe==null?void 0:qe.name,(fe=qe==null?void 0:qe.choices)==null||fe.forEach((In,bn)=>{Tt.push(In.choice_text),In!=null&&In.is_answer&&Qt.push(bn+1)}),xt.question_choices=Tt,xt.standard_answers=Qt}if(jt==="COMPLETION"){let Tt=(me=qe==null?void 0:qe.standard_answers)==null?void 0:me.map((bn,Rn)=>(bn==null?void 0:bn.score)<=0?Rn+1:null).filter(bn=>bn!==null);if((Tt==null?void 0:Tt.length)>0)return Ze.ZP.warning(`\u7B2C${Tt.join("\u3001")}\u9879\u7684\u5206\u503C\u4E0D\u80FD\u4E3A\u7A7A`),!1;let Qt=(Me=qe==null?void 0:qe.standard_answers)==null?void 0:Me.reduce((bn,Rn)=>bn+(Number(Rn==null?void 0:Rn.score)||0),0);if(parseFloat(Qt.toFixed(2))!=(xt==null?void 0:xt.question_score))return Ze.ZP.warning("\u5404\u586B\u7A7A\u9879\u5206\u503C\u4E4B\u548C\u5FC5\u987B\u7B49\u4E8E\u8BE5\u5C0F\u9898\u5206\u503C\uFF01"),!1;xt.is_ordered=qe.is_ordered,xt.question_title=qe==null?void 0:qe.name,xt.use_blank_score=qe==null?void 0:qe.use_blank_score,xt.question_type=3;const In=[];(Ge=qe==null?void 0:qe.standard_answers)==null||Ge.forEach((bn,Rn)=>{In.push({choice_id:bn.position,answer_text:bn.answer_text,score:bn.score})}),xt.standard_answers=In,xt.downcase=qe==null?void 0:qe.downcase,xt.no_space=qe==null?void 0:qe.no_space}if(jt==="SUBJECTIVE"&&(console.log("editorData"),console.log(qe),xt.question_title=qe==null?void 0:qe.name,xt.question_type=4,xt.answer_texts=qe==null?void 0:qe.answer_texts,xt.use_keywords=qe==null?void 0:qe.use_keywords,xt.keywords=qe==null?void 0:qe.keywords),jt==="COMBINATION"){xt.question_title=qe==null?void 0:qe.name,xt.question_type=7;try{xt.sub_questions=(et=qe==null?void 0:qe.sub_item_banks)==null?void 0:et.map((Tt,Qt)=>{var In,bn,Rn;if((Tt==null?void 0:Tt.item_type)=="single"||(Tt==null?void 0:Tt.item_type)=="multiple"){if(Nt(Tt==null?void 0:Tt.choices))throw new Error(`\u7B2C${Qt+1}\u5C0F\u9898\u9009\u9879\u5185\u5BB9\u91CD\u590D\uFF0C\u8BF7\u4FEE\u6539\u540E\u518D\u4FDD\u5B58`);const sa=[],qn=[];return(In=Tt==null?void 0:Tt.choices)==null||In.forEach((oa,ea)=>{sa.push(oa.choice_text),oa!=null&&oa.is_answer&&qn.push(ea+1)}),{id:Tt.id,question_id:Tt.id,question_title:Tt.name,difficulty:Tt.difficulty,question_type:(Tt==null?void 0:Tt.item_type)=="single"?0:(Tt==null?void 0:Tt.item_type)=="multiple"?1:2,question_choices:sa,standard_answers:qn,analysis:Tt.analysis,question_score:Tt==null?void 0:Tt.score}}else if((Tt==null?void 0:Tt.item_type)=="completion"){let sa=(bn=Tt==null?void 0:Tt.standard_answer)==null?void 0:bn.reduce((oa,ea)=>oa+(Number(ea==null?void 0:ea.score)||0),0);if(parseFloat(sa.toFixed(2))!=(Tt==null?void 0:Tt.score))throw new Error("\u5404\u586B\u7A7A\u9879\u5206\u503C\u4E4B\u548C\u5FC5\u987B\u7B49\u4E8E\u8BE5\u5C0F\u9898\u5206\u503C\uFF01");const qn=[];return(Rn=Tt==null?void 0:Tt.standard_answer)==null||Rn.forEach((oa,ea)=>{qn.push({choice_id:oa.position,answer_text:oa.answer_text,score:oa.score})}),{id:Tt.id,question_id:Tt.id,is_ordered:Tt.is_ordered,question_title:Tt.name,difficulty:Tt.difficulty,question_type:3,standard_answers:qn,use_blank_score:Tt.use_blank_score,analysis:Tt.analysis,downcase:Tt==null?void 0:Tt.downcase,no_space:Tt==null?void 0:Tt.no_space,question_score:Tt==null?void 0:Tt.score}}else if((Tt==null?void 0:Tt.item_type)=="subjective")return{id:Tt.id,question_id:Tt.id,question_title:Tt.name,question_type:4,difficulty:Tt.difficulty,answer_texts:Tt==null?void 0:Tt.answer_texts,analysis:Tt.analysis,question_score:Tt==null?void 0:Tt.score,use_keywords:Tt.use_keywords,keywords:Tt==null?void 0:Tt.keywords}})}catch(Tt){Ze.ZP.warning(Tt.message);return}delete xt.analysis}let Mt=!1;(Ea==null?void 0:Ea.is_my)===1&&(Mt=yield new Promise((Qt,In)=>{Re.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:()=>{Qt(!0)},onCancel:()=>{Qt(!1)}})})),Mt&&(xt.is_cover=1);const Jt=jt!=="PRACTICAL"?yield(0,Ee.ZP)(`/api/exercise_questions/${Ea.id}.json`,{method:"put",body:xt}):yield(0,Ee.ZP)(`/api/exercise_questions/${Ea.id}/update_shixun_score.json`,{method:"post",body:yr({},qe)});(Jt==null?void 0:Jt.status)===0&&(Ze.ZP.success("\u7F16\u8F91\u6210\u529F"),Ll(Hn+1),va(null))}),tu=()=>bo(void 0,null,function*(){(0,ge.getDvaApp)()._store.dispatch({type:"globalSetting/setGlobalLoading",payload:{show:!0,text:"\u6B63\u5728\u66F4\u65B0\u8BD5\u5377\uFF0C\u8BF7\u7A0D\u540E..."}}),(yield(0,Ee.ZP)(`/api/exercises/${fi.categoryId}/sync_random_question.json`,{method:"post"})).status===0&&(yield Xn(Hn),Ze.ZP.success("\u66F4\u65B0\u6210\u529F")),(0,ge.getDvaApp)()._store.dispatch({type:"globalSetting/setGlobalLoading",payload:{show:!1}})}),nu=({value:jt}={})=>{var Ea;const br=[];let fe=[];const me=(Ea=jt==null?void 0:jt.choices)==null?void 0:Ea.map((Ge,et)=>{var qe;const Nt=et+1;return Ge!=null&&Ge.is_answer&&(br.push(Nt),fe.push(Nt)),{value:Nt,label:b.createElement(pe.Z,{className:"c-black font14",value:`${(qe=sr.k4)==null?void 0:qe[et]}. ${Ge==null?void 0:Ge.choice_text}`}),disabled:Ge==null?void 0:Ge.origin_standard_answer}}),Me=Re.default.confirm({centered:!0,icon:null,title:"\u589E\u8BBE\u6B63\u786E\u7B54\u6848",width:800,content:b.createElement(b.Fragment,null,"\u5F53\u524D\u8BD5\u9898\u7684\u6B63\u786E\u7B54\u6848\u4E3A ",br==null?void 0:br.map(Ge=>{var et;return(et=sr.k4)==null?void 0:et[Ge-1]}),"\uFF0C\u8BF7\u9009\u62E9\u9700\u8981\u589E\u8BBE\u4E3A\u6B63\u786E\u7B54\u6848\u7684\u9009\u9879\u3002",b.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",b.createElement("br",null),b.createElement(ke.default.Group,{className:"flex-col mt20",options:me,defaultValue:fe,onChange:Ge=>{fe=Ge}})),onOk:()=>bo(void 0,null,function*(){const Ge=yield(0,Ee.ZP)(`/api/exercises/${fi.categoryId}/questions/${jt==null?void 0:jt.id}/add_standard_answers.json`,{method:"put",body:{standard_answer:fe}});(Ge==null?void 0:Ge.status)===0&&(Ze.ZP.success("\u4FEE\u6539\u6210\u529F"),Ll(Hn+1))})})},Vl=(da=ze==null?void 0:ze.questionList)==null?void 0:da.reduce((jt,Ea)=>jt+Number(Ea.questions_score),0),au=On&&((qa=ze==null?void 0:ze.exam)==null?void 0:qa.exercise_status)!==1;return b.createElement("section",{className:se.wrap},b.createElement("div",{id:"id_left_preview",className:se.left,onMouseEnter:jt=>{const Ea=document.getElementById("id_left_preview");Ea.style.overflowY="auto"},onMouseLeave:jt=>{const Ea=document.getElementById("id_left_preview");Ea.style.overflowY="hidden"}},b.createElement("div",{className:se.title},b.createElement("div",{className:"body-overflow-initial"},b.createElement("b",null),b.createElement("span",null,"\u7B54\u9898\u5361"))),b.createElement("div",{className:se.total},b.createElement("div",null,b.createElement("img",{src:lt}),b.createElement("span",null,"\u9898\u6570(\u9053)"),b.createElement("aside",null,ze==null?void 0:ze.all_questions_count)),b.createElement("div",{className:"mr30 ml30"},b.createElement("img",{src:ft}),b.createElement("span",null,"\u603B\u5206(\u5206)"),b.createElement("aside",null,Vl&&Vl.toFixed(1))),b.createElement("div",null,b.createElement("img",{src:ce}),b.createElement("span",null,"\u65F6\u957F(\u5206)"),b.createElement("aside",null,((Ya=ze==null?void 0:ze.exam)==null?void 0:Ya.time)===-1||((Qn=ze==null?void 0:ze.exam)==null?void 0:Qn.time)===null?"\u4E0D\u9650":(Vn=ze==null?void 0:ze.exam)==null?void 0:Vn.time))),(Nn=ze==null?void 0:ze.questionList)==null?void 0:Nn.map((jt,Ea)=>{var br;return b.createElement("div",{className:se.list,key:Ea},b.createElement("div",{className:se.name},b.createElement("b",null),b.createElement("span",null,jt.name)),b.createElement("aside",null,b.createElement("div",null,"\u5171",b.createElement("span",{className:se.b},jt.questions_count),"\u9898 ",b.createElement("span",{className:se.l},"|"),"\u5171",b.createElement("span",{className:se.r},jt.questions_score),"\u5206"),b.createElement("div",{className:se.answerSheet},(br=jt==null?void 0:jt.questions)==null?void 0:br.map((fe,me)=>b.createElement("div",{onClick:()=>{const Me=`Anchor_${fe==null?void 0:fe.id}`;let Ge=document.getElementById(Me);Ge&&setTimeout(()=>Ge.scrollIntoView({block:"center",behavior:"smooth"}))},key:fe==null?void 0:fe.id,className:se.tag},me+1)))))})),b.createElement("div",{className:se.right},b.createElement("div",{className:se.examName,id:"examName"},b.createElement("div",{className:se.name},b.createElement(Ae.Z,{title:(jn=ze==null?void 0:ze.exam)==null?void 0:jn.name,getPopupContainer:jt=>jt.parentNode},b.createElement("span",{className:se.t},(Fa=ze==null?void 0:ze.exam)==null?void 0:Fa.name))),On&&((rr=ze==null?void 0:ze.exam)==null?void 0:rr.exercise_status)===1&&b.createElement(ht.op,{openLoading:!0,shape:"default",onClick:()=>{Re.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:()=>{tu()}})},type:"primary"},"\u66F4\u65B0\u8BD5\u5377"),!On&&b.createElement(Ie.ZP,{onClick:kl,type:"primary"},"\u968F\u673A\u66F4\u6362")),b.createElement("div",{className:se.topWarp},(ba=ze==null?void 0:ze.questionList)==null?void 0:ba.map((jt,Ea)=>{var br,fe;return b.createElement(b.Fragment,{key:Ea},b.createElement("div",{className:se.head,style:Ea===0?{border:0,marginTop:-16}:{}},b.createElement("div",{className:se.name},b.createElement("b",null),b.createElement("span",null,jt.name)),b.createElement("div",{className:se.so},"\u5171",b.createElement("span",{className:se.b},jt.questions_count," "),"\u9898 ",jt.type==="COMBINATION"&&`\uFF08\u5305\u542B${(br=jt==null?void 0:jt.questions)==null?void 0:br.map(me=>{var Me;return(Me=me==null?void 0:me.sub_item_banks)==null?void 0:Me.length}).reduce((me,Me)=>me+Me)}\u5C0F\u9898\uFF09`,b.createElement("span",{className:se.l},"|"),"\u5171",b.createElement("span",{className:se.r},jt.questions_score),"\u5206"),!On&&b.createElement("div",{className:se.btn},b.createElement(Ie.ZP,{onClick:()=>{Dl(jt)},type:"primary",ghost:!0,className:"mr20"},"\u8BBE\u7F6E\u5F97\u5206"),b.createElement(Ie.ZP,{onClick:()=>sl(jt),type:"primary",ghost:!0},"\u968F\u673A\u66F4\u6362"))),(fe=jt==null?void 0:jt.questions)==null?void 0:fe.map((me,Me)=>{var Ge,et,qe,Nt;return ra===(me==null?void 0:me.id)?b.createElement("div",{id:`Anchor_${me==null?void 0:me.id}`,className:se.content,style:{padding:0,marginTop:24},key:me==null?void 0:me.id},b.createElement("div",{style:{float:"right",marginTop:`${(jt==null?void 0:jt.type)==="PRACTICAL"?"-2px":"-6px"}`}},b.createElement(Ie.ZP,{onClick:()=>va(null),className:"mr20",type:"primary",ghost:!0},"\u53D6\u6D88"),b.createElement(Ie.ZP,{onClick:()=>{Ul(jt==null?void 0:jt.type,me)},type:"primary"},"\u4FDD\u5B58")),Kl(me,jt.type)):b.createElement("div",{id:`Anchor_${me==null?void 0:me.id}`,className:se.content,key:me==null?void 0:me.id},b.createElement("div",{className:se.titleWrap},(me==null?void 0:me.item_type)==="bprogram"?b.createElement(pe.Z,{style:{paddingRight:10},value:Me+1+"\u3001"+((Ge=me==null?void 0:me.program_attr)==null?void 0:Ge.description)}):b.createElement(pe.Z,{style:{paddingRight:10},className:se.titleHtml,value:Me+1+`\u3001${(me==null?void 0:me.item_type)==="combination"?"\uFF08\u9898\u5E72\uFF09":""}`+(me==null?void 0:me.name)}),On&&b.createElement(Ie.ZP,{onClick:()=>{var xt,Mt,Jt;if(ra){Ze.ZP.warning("\u5148\u4FDD\u5B58\u6216\u53D6\u6D88\u5F53\u524D\u6B63\u5728\u7F16\u8F91\u7684\u8BD5\u9898");return}mi.setFieldsValue({standard_answers:me==null?void 0:me.standard_answer,hack:yr(yr({},me),me==null?void 0:me.program_attr),hack_codes:Vr(yr({},me==null?void 0:me.program_attr),{code:Ia.Base64.decode(((xt=me==null?void 0:me.program_attr)==null?void 0:xt.code)||"")}),hack_sets:yr({},(Mt=me==null?void 0:me.hack_sets)==null?void 0:Mt[0])}),(me==null?void 0:me.item_type)=="program"?ge.history.push(`/problems/newedit/${(Jt=me==null?void 0:me.program_attr)==null?void 0:Jt.identifier}?type=exercises&express_id=${fi.categoryId}&question_id=${me==null?void 0:me.id}&score=${me==null?void 0:me.score}&exercise=true&callback_url=/classrooms/${fi.coursesId}/exercise/${fi.categoryId}/detail?random=true`):va(me==null?void 0:me.id)},type:"primary",style:{marginLeft:"auto"},ghost:!0},"\u7F16\u8F91"),!au&&b.createElement(Ie.ZP,{disabled:au,className:"ml20",onClick:()=>eu(me==null?void 0:me.id,jt.type,Me,jt),type:"primary",ghost:!0},"\u6362\u4E00\u9898")),(me==null?void 0:me.item_type)==="bprogram"&&b.createElement(pe.Z,{style:{paddingRight:10,paddingLeft:25},showProgramFill:!0,disabledFill:!0,className:se.titleHtml,value:Ia.Base64.decode(((et=me==null?void 0:me.program_attr)==null?void 0:et.code)||"")}),(jt.type==="SINGLE"||jt.type==="JUDGMENT"||jt.type==="MULTIPLE")&&gl(me),jt.type==="COMPLETION"&&Ml(me),jt.type==="SUBJECTIVE"&&Hl(me),jt.type==="PROGRAM"&&Tl(me),jt.type==="BPROGRAM"&&Al(me),jt.type==="COMBINATION"&&Wl(me,Me),jt.type==="PRACTICAL"&&vl(me),b.createElement(je.Z,{className:"mt20",wrap:!1,align:"middle",gutter:20},((qe=ze==null?void 0:ze.exam)==null?void 0:qe.exercise_status)===3&&!["PROGRAM","BPROGRAM","PRACTICAL","COMBINATION"].includes(jt.type)&&b.createElement(De.Z,null,b.createElement(ca.Z,{state:me==null?void 0:me.is_wrong,onClick:()=>{Gn==null||Gn({value:Vr(yr({},me),{question_id:me==null?void 0:me.id,question_score:me==null?void 0:me.score})})}})),["PROGRAM","BPROGRAM","PRACTICAL"].includes(jt.type)&&(me==null?void 0:me.show_resubmit)&&b.createElement(De.Z,null,b.createElement(Kn.C,{dataSource:Vr(yr({},me),{question_id:me==null?void 0:me.id})})),((Nt=ze==null?void 0:ze.exam)==null?void 0:Nt.exercise_status)===3&&["SINGLE"].includes(jt.type)&&b.createElement(De.Z,null,b.createElement(Ie.ZP,{style:{color:"#3061D0"},onClick:()=>{nu({value:me})}},"\u589E\u8BBE\u6B63\u786E\u7B54\u6848"))))}))}))),On?b.createElement(ht.vr,null,b.createElement(le.Z,{showTotal:ye.rU,total:(aa=ze==null?void 0:ze.exam)==null?void 0:aa.total_num,pageSize:1,current:Hn+1,showSizeChanger:!1,onChange:Ll,showQuickJumper:!1,hideOnSinglePage:!1})):b.createElement(ht.vr,{LeftContent:b.createElement(ht.op,{onClick:mt,shape:"default",style:{height:38,background:"#fff",boxShadow:"none"}},"\u8FD4\u56DE"),RightContent:b.createElement(je.Z,{align:"middle"},b.createElement(E.Z,{color:"#55575D",overlayClassName:se.popover,open:Ir,getPopupContainer:jt=>jt==null?void 0:jt.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"},b.createElement(ht.op,{onMouseEnter:()=>lo(!0),onMouseLeave:()=>lo(!1),onClick:()=>Il(),shape:"default",style:{height:38,background:"#fff",boxShadow:"none"}},"\u4FDD\u5B58")),b.createElement(ht.op,{shape:"default",type:"primary",onClick:()=>tt(),style:{height:38,marginLeft:20}},"\u63D0\u4EA4"))}),b.createElement(ao,{visible:Fo,questionParams:er.current,getdata:un,onRandomExchange:()=>bo(void 0,null,function*(){const jt=er.current;yield Tn({single_question_id:jt.id,seleted_item_bank_ids:jt.ids},{type:jt.type,index:jt.index}),qo(!1)}),selectFromProblemSet:()=>{const jt=er.current,Ea=`${location.pathname}${location.search}`;Ea.includes("exercise")&&ge.history.push(`/paperlibrary/exchangequestion?type=exercise&qid=${jt.id}&qtype=${jt.type}&exerciseid=${fi.categoryId}&from=${Ea}`)},onCancel:()=>{qo(!1)}}))}},12624:function(_t,Rt,ae){"use strict";ae.r(Rt),ae.d(Rt,{default:function(){return Gl}});var b=ae(59301),se={wrapper:"wrapper___KtBVT",breadCrumbWrapper:"breadCrumbWrapper___k9tSB",baseInfo:"baseInfo____j5EY",radioBtnWrapper:"radioBtnWrapper___k9OCh",baseLineHeight:"baseLineHeight___O_QXK",radiogroup:"radiogroup___e2fW6",easy:"easy___WcUAp",medium:"medium___U_o3j",hard:"hard___dAXLS",formWrap:"formWrap___wt5tC",baseFormItem:"baseFormItem___zV64d",cascaderPopup:"cascaderPopup___qm63f",fixedBottom:"fixedBottom___liDZ4",cancelBtn:"cancelBtn___ZV9Mi",confirmBtn:"confirmBtn___DwH6m",previewBtn:"previewBtn___aLYCy",concat:"concat___ZuLMo"},be=ae(8591),Ae=ae(78241),Ie=ae(66104),Re=ae(25690),ue=ae(81868),Ze=ae(71418),We=ae(92832),Te=ae(19842),ke=ae(5112),je=ae(95237),De=ae(5871),le=ae(3113),E=ae(38986),a=Object.defineProperty,x=Object.getOwnPropertySymbols,y=Object.prototype.hasOwnProperty,z=Object.prototype.propertyIsEnumerable,te=(gt,ht,zt)=>ht in gt?a(gt,ht,{enumerable:!0,configurable:!0,writable:!0,value:zt}):gt[ht]=zt,re=(gt,ht)=>{for(var zt in ht||(ht={}))y.call(ht,zt)&&te(gt,zt,ht[zt]);if(x)for(var zt of x(ht))z.call(ht,zt)&&te(gt,zt,ht[zt]);return gt},ie=(gt,ht,zt)=>new Promise((An,Dn)=>{var Pn=dn=>{try{kt(zt.next(dn))}catch(_n){Dn(_n)}},hn=dn=>{try{kt(zt.throw(dn))}catch(_n){Dn(_n)}},kt=dn=>dn.done?An(dn.value):Promise.resolve(dn.value).then(Pn,hn);kt((zt=zt.apply(gt,ht)).next())});function ce(gt){return ie(this,null,function*(){return(0,E.ZP)(`/api/examination_banks/${gt}/edit_random_exam_new.json`,{method:"get"})})}function pe(gt,ht){return ie(this,null,function*(){return(0,E.ZP)(`/api/examination_banks/${gt}/update_random_exam.json`,{method:"post",body:ht})})}function ge(gt){return ie(this,null,function*(){return(0,E.ZP)("/api/examination_banks/create_random_exam.json",{method:"post",body:gt})})}function ye(gt){return ie(this,null,function*(){return(0,E.ZP)("/api/disciplines.json",{method:"get",params:gt})})}function Ee(gt){return ie(this,null,function*(){return(0,E.ZP)("/api/item_banks/item_difficulty_count.json",{method:"get",params:gt})})}function Le(gt,ht){return ie(this,null,function*(){return(0,E.ZP)(`/api/examination_banks/${gt}/set_item_type_score.json`,{method:"post",body:ht})})}function ve(gt,ht){return ie(this,null,function*(){return(0,E.ZP)(`/api/exercises/${gt}/set_item_type_score.json`,{method:"post",body:ht})})}function $e(gt,ht){return ie(this,null,function*(){return(0,E.ZP)(`/api/examination_banks/${gt}/delete_item_type.json`,{method:"post",body:ht})})}function He(gt,ht){return ie(this,null,function*(){return(0,E.ZP)(`/api/exercises/${gt}/delete_item_type.json`,{method:"post",body:ht})})}function it(gt){return ie(this,null,function*(){return(0,E.ZP)("/api/examination_banks/preview_random_questions.json",{method:"post",body:gt})})}function Ne(gt){return ie(this,null,function*(){return(0,E.ZP)("/api/examination_banks/toggle_random_questions.json",{method:"post",body:gt})})}function Qe(gt){return ie(this,null,function*(){return(0,E.ZP)("/api/examination_banks/save_question_list.json",{method:"post",body:gt})})}function lt(gt){return ie(this,null,function*(){return(0,E.ZP)(`/api/exercises/${gt.categoryId}/edit.json`,{method:"get",params:re({},gt)})})}var Ke=(gt=>(gt.OnlyFileFolder="1",gt.OnlyKnowledge="2",gt.OnlyDifficulty="3",gt.FileFolderAndDiff="4",gt.FileFolderAndKnowledge="5",gt.KnowledgeAndDiff="6",gt.All="7",gt.Shixun="8",gt))(Ke||{}),Ye=ae(89392),Kt=Object.defineProperty,ot=Object.defineProperties,Ht=Object.getOwnPropertyDescriptors,en=Object.getOwnPropertySymbols,Je=Object.prototype.hasOwnProperty,ft=Object.prototype.propertyIsEnumerable,Dt=(gt,ht,zt)=>ht in gt?Kt(gt,ht,{enumerable:!0,configurable:!0,writable:!0,value:zt}):gt[ht]=zt,ln=(gt,ht)=>{for(var zt in ht||(ht={}))Je.call(ht,zt)&&Dt(gt,zt,ht[zt]);if(en)for(var zt of en(ht))ft.call(ht,zt)&&Dt(gt,zt,ht[zt]);return gt},yt=(gt,ht)=>ot(gt,Ht(ht)),Yt=(gt=>(gt[gt.FileFolder=1]="FileFolder",gt[gt.Difficulty=2]="Difficulty",gt[gt.Knowledge=3]="Knowledge",gt))(Yt||{});const Be=(0,b.createContext)(null),Ut={[Ke.OnlyFileFolder]:[1],[Ke.OnlyKnowledge]:[3],[Ke.OnlyDifficulty]:[2],[Ke.FileFolderAndDiff]:[1,2],[Ke.FileFolderAndKnowledge]:[1,3],[Ke.KnowledgeAndDiff]:[3,2],[Ke.All]:[3,2,1]},Cn=(gt,ht)=>{if(gt.length!==ht.length)return!1;for(const zt of ht)if(!gt.includes(zt))return!1;return!0},Ft=gt=>{for(const[ht,zt]of Object.entries(Ut))if(Cn(gt,zt))return ht},It={SINGLE:"\u5355\u9009\u9898",MULTIPLE:"\u591A\u9009\u9898",COMPLETION:"\u586B\u7A7A\u9898",JUDGMENT:"\u5224\u65AD\u9898",SUBJECTIVE:"\u7B80\u7B54\u9898",PROGRAM:"\u7F16\u7A0B\u9898",BPROGRAM:"\u7A0B\u5E8F\u586B\u7A7A\u9898",COMBINATION:"\u7EC4\u5408\u9898",PRACTICAL:"\u5B9E\u8BAD\u9898"},nt={1:{label:"\u7B80\u5355",color:"#46B70E"},2:{label:"\u9002\u4E2D",color:"#165DFF"},3:{label:"\u56F0\u96BE",color:"#EE6F1A"}},Ue=gt=>gt&&parseFloat(gt.toFixed(1)),Fe=(gt,ht)=>{var zt,An,Dn;switch(ht.type){case"init":return ht.payload;case"updateBaseInfo":return yt(ln({},gt),{examination_bank:ht.payload});case"deleteQuestionType":{const{item_types:Pn}=gt,hn=Pn.filter(kt=>kt.item_type!==ht.payload);return gt.examination_bank.question_count=Ue(hn.reduce((kt,dn)=>kt+dn.item_bank_count,0)),gt.examination_bank.total_score=Ue(hn.reduce((kt,dn)=>kt+dn.total_score,0)),yt(ln({},gt),{item_types:hn})}case"setQuestionType":{const{item_types:Pn=[]}=gt,hn=Pn.map(dn=>dn.item_type),kt=Pn.filter(dn=>ht.payload.includes(dn.item_type));for(const dn of ht.payload)hn.includes(dn)||(dn==="PRACTICAL"?kt.push({item_type:dn,contents:[],item_banks:[],item_bank_count:0,item_bank_num:0,item_type_text:It[dn],random_rule_type:Ke.Shixun,score:0,total_score:0}):kt.push({item_type:dn,contents:[],item_bank_count:0,item_type_text:It[dn],score:0,total_score:0}));return yt(ln({},gt),{item_types:kt})}case"updateItemTypes":return yt(ln({},gt),{item_types:ht.payload});case"deleteRule":{const Pn=(0,Ye.cloneDeep)(gt),hn=Pn.item_types.find(dn=>dn.item_type===ht.payload.itemType),kt=hn.contents.find(dn=>dn.id===ht.payload.id&&dn.is_share==ht.payload.is_share);return hn.contents=hn.contents.filter(dn=>dn!==kt),((zt=hn.contents)==null?void 0:zt.length)===0&&(hn.random_rule_type=[]),hn.item_bank_count-=kt==null?void 0:kt.quanlity,Pn.examination_bank.question_count-=kt==null?void 0:kt.quanlity,hn.total_score-=(kt==null?void 0:kt.quanlity)*hn.score,Pn.examination_bank.total_score-=(kt==null?void 0:kt.quanlity)*hn.score,hn.total_score=Ue(hn.total_score),Pn.examination_bank.total_score=Ue(Pn.examination_bank.total_score),Pn.contents=hn.contents,Pn}case"changeQuestionNum":{const Pn=(0,Ye.cloneDeep)(gt),hn=Pn.item_types.find(or=>or.item_type===ht.payload.itemType),kt=(An=hn==null?void 0:hn.contents)==null?void 0:An.find(or=>or.id===ht.payload.id);if(ht.payload.itemType==="PRACTICAL")return ht.payload.num&&(Pn.examination_bank.question_count=Pn.examination_bank.question_count-hn.item_bank_count+ht.payload.num,Pn.examination_bank.total_score=Ue(Pn.examination_bank.total_score-hn.total_score+ht.payload.num*hn.score)),ht.payload.score&&(Pn.examination_bank.total_score=Ue(Pn.examination_bank.total_score-hn.total_score+ht.payload.num*hn.score)),hn.item_bank_count=ht.payload.num,hn.total_score=Ue(hn.item_bank_count*hn.score),Pn;Pn.examination_bank.question_count=Pn.examination_bank.question_count-(kt==null?void 0:kt.quanlity)+ht.payload.num;const dn=hn.contents.find(or=>or.id===ht.payload.id&&or.teacher_group_id===ht.payload.teacher_group_id);dn.quanlity=ht.payload.num;let _n=0,la=0;for(const or of hn.contents)_n+=or==null?void 0:or.quanlity,la+=(or==null?void 0:or.quanlity)*hn.score;return Pn.examination_bank.total_score=Ue(Pn.examination_bank.total_score-hn.total_score+la),hn.item_bank_count=_n,hn.total_score=Ue(la),Pn}case"changeQuestionScore":{const Pn=(0,Ye.cloneDeep)(gt),hn=Pn.item_types.find(kt=>kt.item_type===ht.payload.itemType);return hn.score=ht.payload.score,hn.total_score=Ue(hn.item_bank_count*hn.score),Pn.examination_bank.total_score=Ue(Pn.item_types.reduce((kt,dn)=>kt+dn.total_score,0)),Pn}case"editRule":{const Pn=(0,Ye.cloneDeep)(gt),hn=Pn.item_types.find(kt=>kt.item_type===ht.payload.itemType);return hn.contents=ht.payload.tableData.map(kt=>yt(ln({},kt),{item_type:ht.payload.itemType,random_rule_type:ht.payload.randomRuleType})),hn.random_rule_type=ht.payload.randomRuleType,hn.item_bank_count=hn.contents.reduce((kt,dn)=>kt+(dn==null?void 0:dn.quanlity),0),hn.score=hn.score||1,hn.total_score=Ue(hn.item_bank_count*hn.score),Pn.examination_bank.question_count=Pn.item_types.reduce((kt,dn)=>kt+dn.item_bank_count,0),Pn.examination_bank.total_score=Ue(Pn.item_types.reduce((kt,dn)=>kt+dn.total_score,0)),Pn}case"addShixun":{const Pn=(0,Ye.cloneDeep)(gt),hn=Pn.item_types.find(kt=>kt.item_type==="PRACTICAL");return hn.item_banks=ht.payload.shixunList,Pn.examination_bank.question_count=Pn.examination_bank.question_count+1,hn.item_bank_num=hn.item_banks.length,hn.item_bank_count=hn.item_bank_count||1,hn.score=hn.score||1,hn.total_score=hn.total_score||hn.score*hn.item_bank_count,Pn.examination_bank.total_score=(Dn=Pn==null?void 0:Pn.item_types)==null?void 0:Dn.map(kt=>kt.total_score).reduce((kt,dn)=>kt+dn),Pn}case"deleteShixunQuestion":{const Pn=(0,Ye.cloneDeep)(gt),hn=Pn.item_types.find(kt=>kt.item_type==="PRACTICAL");return hn.item_banks=hn.item_banks.filter(kt=>kt.id!==ht.payload.shixunId),hn.item_bank_num-=1,hn.item_bank_count>hn.item_bank_num&&(hn.item_bank_count-=1,hn.total_score-=hn.score,hn.total_score=Ue(hn.total_score)),Pn}}};var he=ae(52154),at=Object.defineProperty,At=Object.defineProperties,we=Object.getOwnPropertyDescriptors,Ce=Object.getOwnPropertySymbols,vt=Object.prototype.hasOwnProperty,Xe=Object.prototype.propertyIsEnumerable,_e=(gt,ht,zt)=>ht in gt?at(gt,ht,{enumerable:!0,configurable:!0,writable:!0,value:zt}):gt[ht]=zt,Pt=(gt,ht)=>{for(var zt in ht||(ht={}))vt.call(ht,zt)&&_e(gt,zt,ht[zt]);if(Ce)for(var zt of Ce(ht))Xe.call(ht,zt)&&_e(gt,zt,ht[zt]);return gt},cn=(gt,ht)=>At(gt,we(ht)),Ot=(gt,ht,zt)=>new Promise((An,Dn)=>{var Pn=dn=>{try{kt(zt.next(dn))}catch(_n){Dn(_n)}},hn=dn=>{try{kt(zt.throw(dn))}catch(_n){Dn(_n)}},kt=dn=>dn.done?An(dn.value):Promise.resolve(dn.value).then(Pn,hn);kt((zt=zt.apply(gt,ht)).next())}),$t=({courseOptions:gt,setCurrentKey:ht,loading:zt,form:An})=>{const{data:Dn,disabled:Pn,dispatch:hn}=(0,b.useContext)(Be),kt=(0,Re.useParams)(),dn=(0,b.useRef)(!0),[_n,la]=(0,b.useState)(!1),or=(0,b.useMemo)(()=>{var Qa,ao,Fr,Ia,ca;if(!gt.length||!Dn)return;const Kn=(Qa=Dn==null?void 0:Dn.examination_bank)==null?void 0:Qa.sub_discipline_id,sr=((ao=Dn==null?void 0:Dn.examination_bank)==null?void 0:ao.time)===-1?void 0:dn.current?kt.id?(Fr=Dn==null?void 0:Dn.examination_bank)==null?void 0:Fr.time:((Ia=Dn==null?void 0:Dn.examination_bank)==null?void 0:Ia.time)||60:(ca=Dn==null?void 0:Dn.examination_bank)==null?void 0:ca.time;dn.current=!1;let mr=[];for(const Br of gt)for(const Jr of Br.children)Jr.value===Kn&&(mr=[Br.value,Jr.value]);return cn(Pt({},Dn.examination_bank),{time:sr,course:mr})},[Dn,gt]);return(0,b.useEffect)(()=>{An.setFieldsValue(Pt({},or))},[or]),b.createElement(Ze.Z,{spinning:zt,size:"large",style:{position:"fixed",maxHeight:"100vh"},className:"mt30"},b.createElement("div",{className:se.formWrap},b.createElement(Ae.default,{form:An,autoComplete:"off",colon:!1,labelCol:{span:4},wrapperCol:{span:20},initialValues:or||{difficulty:2,time:60},onValuesChange:(Qa,ao)=>{const{course:Fr=[]}=ao,Ia=cn(Pt({},ao),{sub_discipline_id:Fr[1]||0});hn({type:"updateBaseInfo",payload:Ia})}},b.createElement(Ae.default.Item,{name:"name",label:"\u8BD5\u5377\u540D\u79F0",className:se.baseLineHeight,rules:[{required:!0,validator:(Qa,ao)=>{var Fr;return((Fr=ao==null?void 0:ao.replaceAll(" ",""))==null?void 0:Fr.length)>0?Promise.resolve():Promise.reject("\u8BF7\u8F93\u5165\u8BD5\u5377\u540D\u79F0")}}]},b.createElement(We.default,{maxLength:60,className:se.baseFormItem,placeholder:"\u8BF7\u8F93\u5165\u8BD5\u5377\u540D\u79F0",showCount:!0})),b.createElement(Ae.default.Item,{label:"\u65B9\u5411&\u8BFE\u7A0B",name:"course",className:se.baseLineHeight},b.createElement(Te.Z,{className:se.baseFormItem,disabled:Pn,size:"large",allowClear:!1,placeholder:"\u8BF7\u9009\u62E9\u65B9\u5411&\u8BFE\u7A0B",options:gt,dropdownMenuColumnStyle:{padding:"8px 12px",fontSize:14}})),b.createElement("div",{className:se.concat},"\u6CA1\u6709\u5408\u9002\u7684\u65B9\u5411&\u8BFE\u7A0B\uFF1F",b.createElement("span",{onClick:()=>la(!0)},"\u8054\u7CFB\u6559\u7814\u52A9\u7406")),b.createElement(Ae.default.Item,{label:"\u96BE\u5EA6",name:"difficulty",className:se.radioBtnWrapper,rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u96BE\u5EA6"}]},b.createElement(ke.ZP.Group,{disabled:Pn,className:se.radiogroup},b.createElement(ke.ZP.Button,{className:se.easy,value:1},"\u7B80\u5355"),b.createElement(ke.ZP.Button,{className:se.medium,value:2},"\u9002\u4E2D"),b.createElement(ke.ZP.Button,{className:se.hard,value:3},"\u56F0\u96BE"))),b.createElement(Ae.default.Item,{label:"\u7B54\u9898\u65F6\u957F",className:se.baseLineHeight},b.createElement(je.Z,{align:"middle"},b.createElement(Ae.default.Item,{name:"time",noStyle:!0},b.createElement(De.Z,{className:se.baseFormItem,min:1,disabled:Pn,size:"large",max:9999,style:{width:220},placeholder:"\u8BF7\u586B\u5199\u7B54\u9898\u65F6\u957F"})),b.createElement("span",{style:{marginLeft:"10px",width:"40px",lineHeight:"46px",fontSize:14}},"\u5206\u949F"))),b.createElement(Ae.default.Item,{label:"\u8BD5\u5377\u987B\u77E5",name:"exam_notes"},b.createElement(We.default.TextArea,{rows:6,disabled:Pn,maxLength:65535,placeholder:"\u8BF7\u8F93\u5165\u8BD5\u5377\u987B\u77E5"})))),b.createElement("div",{className:se.fixedBottom},b.createElement(le.ZP,{className:`${se.cancelBtn} mr5`,onClick:()=>{kt.id||window.location.href.indexOf("randompaper")>-1?Re.history.push("/paperlibrary"):Re.history.push(`/classrooms/${kt.coursesId}/exercise`)}},"\u53D6\u6D88"),b.createElement(le.ZP,{className:`${se.confirmBtn} ml15`,type:"primary",size:"large",onClick:()=>Ot(void 0,null,function*(){if(yield An.validateFields(),!kt.id&&!kt.coursesId){const Qa=yield ge(Dn);Qa.status===0&&(Re.history.replace(`/randompaper/edit/${Qa==null?void 0:Qa.examination_bank_id}?type=settings`),ht("settings"))}else ht("settings")})},"\u4E0B\u4E00\u6B65")),b.createElement(he.Z,{open:_n,onCancel:()=>{la(!1)}}))},nn=ae(43418),bt=ae(43604),rn={flex_box_center:"flex_box_center___NXYwj",flex_space_between:"flex_space_between___Oy2UZ",flex_box_vertical_center:"flex_box_vertical_center___ybBar",flex_box_center_end:"flex_box_center_end___yyQPf",flex_box_column:"flex_box_column____kuXY",questionInfo:"questionInfo___U9mnu",label:"label___PP7Ng",content:"content___PUXFl",leftPart:"leftPart___uoQeo",rightPart:"rightPart___mCG7H",dragItem:"dragItem___djmPG",blackText:"blackText___KqEaU",greyText:"greyText___VamKm",iconWrapper:"iconWrapper___o1C0y",contentArea:"contentArea___Fj7D0",dragging:"dragging___mX3Il",hidden:"hidden___KWDLK",dragIcon:"dragIcon___yPuB3",deleteIcon:"deleteIcon___go29y",disabled:"disabled___uSK9k",challengeNameWrapper:"challengeNameWrapper___DFjRy",challengeName:"challengeName___m7v0x",shixunPreviewFooter:"shixunPreviewFooter___iaciG",shixunInfoWrapper:"shixunInfoWrapper___aSihg",shixunInfo:"shixunInfo___WYBm1",btnToDetail:"btnToDetail___WVmtj",fixedBottom:"fixedBottom___oeMSX",cancelBtn:"cancelBtn___ac73V",confirmBtn:"confirmBtn___sYh2O",previewBtn:"previewBtn___c2uQz",setScoreModalTable:"setScoreModalTable___kPddX",title:"title___lP1E2",tipcontent:"tipcontent___tV6uE",name:"name___YLyPW",tip:"tip___FYIzt",info:"info___rSdr9",img:"img___ft7eS"},wn=ae(28426),Zt=ae(9148),wt=ae(24905);const Ln=[{label:"\u5355\u9009\u9898",value:"SINGLE"},{label:"\u591A\u9009\u9898",value:"MULTIPLE"},{label:"\u586B\u7A7A\u9898",value:"COMPLETION"},{label:"\u5224\u65AD\u9898",value:"JUDGMENT"},{label:"\u7B80\u7B54\u9898",value:"SUBJECTIVE"},{label:"\u7F16\u7A0B\u9898",value:"PROGRAM"},{label:"\u7EC4\u5408\u9898",value:"COMBINATION"},{label:"\u5B9E\u8BAD\u9898",value:"PRACTICAL"},{label:"\u7A0B\u5E8F\u586B\u7A7A\u9898",value:"BPROGRAM"}];var Wn=({open:gt,onCancel:ht,onOk:zt})=>{const{data:An,dispatch:Dn}=(0,b.useContext)(Be);(0,b.useEffect)(()=>{if(gt){const{item_types:kt}=An||{};hn(kt==null?void 0:kt.map(dn=>dn.item_type))}},[gt,An]);const[Pn,hn]=(0,b.useState)([]);return b.createElement(nn.default,{title:b.createElement("div",null,"\u9898\u578B\u8BBE\u7F6E",b.createElement("span",{className:"c-grey-333",style:{fontSize:14,fontWeight:400}},"\uFF08\u901A\u8FC7\u52FE\u9009\u53EF\u5BF9\u9898\u578B\u8FDB\u884C\u6DFB\u52A0/\u5220\u9664\uFF09")),closable:!0,centered:!0,open:gt,onCancel:ht,onOk:()=>zt(Pn)},b.createElement(wt.default.Group,{value:Pn,onChange:kt=>hn(kt)},b.createElement(je.Z,{gutter:[0,20]},Ln.map(kt=>b.createElement(bt.Z,{key:kt.value,span:6},b.createElement(wt.default,{value:kt.value},kt.label))))))},Yn=ae(1710),xa=Object.defineProperty,on=Object.getOwnPropertySymbols,qt=Object.prototype.hasOwnProperty,pn=Object.prototype.propertyIsEnumerable,Zn=(gt,ht,zt)=>ht in gt?xa(gt,ht,{enumerable:!0,configurable:!0,writable:!0,value:zt}):gt[ht]=zt,xn=(gt,ht)=>{for(var zt in ht||(ht={}))qt.call(ht,zt)&&Zn(gt,zt,ht[zt]);if(on)for(var zt of on(ht))pn.call(ht,zt)&&Zn(gt,zt,ht[zt]);return gt},Wa=({open:gt,onCancel:ht,onOk:zt})=>{const{data:An}=(0,b.useContext)(Be),[Dn,Pn]=(0,b.useState)();console.log("--xxx-",Dn),(0,b.useEffect)(()=>{gt&&Pn((0,Ye.cloneDeep)(An))},[gt,An]);const hn=(0,b.useMemo)(()=>{var kt;let dn;return dn=(kt=Dn==null?void 0:Dn.item_types)==null?void 0:kt.map(_n=>_n.total_score).reduce((_n,la)=>parseFloat(_n)+parseFloat(la)),dn==null?void 0:dn.toFixed(1)},[Dn]);return gt?b.createElement(nn.default,{title:"\u6279\u91CF\u8BBE\u7F6E\u5206\u503C",open:gt,width:640,centered:!0,closable:!0,onCancel:ht,onOk:()=>{zt(Dn)}},b.createElement("div",{className:"c-black mb20"},"\u603B\u5206",b.createElement("span",{className:"ml10 c-light-primary"},hn)),b.createElement(Yn.default,{columns:[{title:"\u9898\u578B\u540D\u79F0",dataIndex:"item_type_text",width:130},{title:"\u5C0F\u9898\u603B\u6570",dataIndex:"item_bank_count",width:130},{title:"\u9898\u578B\u603B\u5206",dataIndex:"total_score",width:130},{title:"\u64CD\u4F5C",render(kt,dn){const{score:_n,item_type:la}=dn;return b.createElement("div",{style:{color:"#9096A3"}},"\u6BCF",((dn==null?void 0:dn.item_type)==="PRACTICAL","\u9898"),b.createElement(De.Z,{precision:1,size:"large",className:"ml10 mr10",min:.1,disabled:(dn==null?void 0:dn.item_bank_count)===0,max:100,onChange:or=>{const Qa=Dn,ao=Qa.item_types.find(Ia=>Ia.item_type===la);ao.score=Number(or);const Fr=or*ao.item_bank_count;ao.total_score=Fr&&Number(Fr.toFixed(1)),Qa.examination_bank.total_score=Qa.item_types.reduce((Ia,ca)=>Number(Ia)+Number(ca.total_score),0),Pn(xn({},Qa))}}),"\u5206")}}],className:rn.setScoreModalTable,dataSource:Dn==null?void 0:Dn.item_types,rowKey:"item_type",pagination:!1})):null},ta=ae(99313),En=ae(57809),Oa=ae(17574),Ve="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAAAXNSR0IArs4c6QAAAtFJREFUWEftWL9rU1EYPffFpCCKEEEJVUQHB10qAUHFHwguDg4ORRDq4uDg4CBIJ6GD0D/B3UEFJ5cugjbQChIqokWKClVrFDGIg2B8yZX3Xl/z/O5LzvfyKhTJXV7g/jrfOfc797sx1toCNnAzQ4A51RkymJNA/CcMvpoYhf0xDWtPwqICWEKM+QSYGgojt3Hw3mweFjmD9YlR+N8WAJSdjYwBrAWCb1oL+jzvMbzSFKoPBgLKAc6dugPbuRDtHzAXgGEMxmjjsXEAYr4MMOw2DcA8wcjWG6g+XOEAZ8c+wNpKtCXZMI+WMn6DJrbsOMQBPtrr9ySM4ZX9LEApkOfd5QBntvvhuhqFswKOz2/wDQWSZ9o0FADLfji5fBTYPwmUduYVMmV+IrLWF2DpFtCcizDTu3hmFeCBKaC4LR2cJpvjMZrwfn8HFm8qATan/bWslWckq6SuTyWcIfi5allrkmsY/DoZSZzanCwQo0REAwTIJf583e9txNIWic9p5E2OCQilZ7BxzY/8L60RSqRkcgnHqKXERgFw5eq/80EagIbB91cSPigilMabNWmYD6okXr7cZdABIAE7Gv6dpfIuZxJDI/G7S32ymJx6CoDP50ny5mIXIJPQ2Y8kEVVEw+DSeCKLW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RYcJ5S0ZWy5grqho/cjG+WjdU51+/adsG3x8fb9AbX1TlEZMmx8D0zP1ld9A4TioeyTcvYoOWxfcJCrEcB0T3Edhqm5clvtg4TRLjGX4c/jblH6h8ztCawRwFjI1tBI0PyKoW4nzvPWZ03zE7tgGhRMf1tx2xPHt6wlNI2a0b/g/k/BV9hgiUXOq8HS5ei43iPSQJ8r6xiVocv4JBwJ79K5WtEOx0Tny0XdD8QfXPT0f0+dmWvKWAHfbqoe8b1MafGpKN0xiLn2r2z+X0GS6JyeW5o5VmPhfIW2b2y5xduDh44CABFqhUBa9nP1xGWw1dqoRUcy8M6JD6CF7mVLbDqOW1uF5vjpeK+YfEYQkCWYYZc4HQyxU+6Veqeme1Jpuc4t4CNFqdcY9g1yzbX2/WL+QCM9QLhzstl90/S1fUdg2FgWQT6EVLbNHpThjNhaa8Hz6e7DgcFVbPTxwNcrk9JgqH9bBkCWYDZPh7uNmWanuhVfhIVaIwOjUzeNfLZ141XPdbcpNX4F/ikyqlsA/6bwAAAABJRU5ErkJggg==",tn={ruleCheckBox:"ruleCheckBox___Onj2f",folderAreaWrapper:"folderAreaWrapper___ut2mr",folderAreaHeader:"folderAreaHeader___fOIDA",folderWrapper:"folderWrapper___IpJ50",folderIcon:"folderIcon___zBoRM",shareFolderIcon:"shareFolderIcon____5s3p",treeNodeItem:"treeNodeItem___quqla",treeNodeDifficulty:"treeNodeDifficulty___en0gk"},Sn=ae(46722),mn=Object.defineProperty,ut=Object.defineProperties,pt=Object.getOwnPropertyDescriptors,ct=Object.getOwnPropertySymbols,Wt=Object.prototype.hasOwnProperty,vn=Object.prototype.propertyIsEnumerable,an=(gt,ht,zt)=>ht in gt?mn(gt,ht,{enumerable:!0,configurable:!0,writable:!0,value:zt}):gt[ht]=zt,kn=(gt,ht)=>{for(var zt in ht||(ht={}))Wt.call(ht,zt)&&an(gt,zt,ht[zt]);if(ct)for(var zt of ct(ht))vn.call(ht,zt)&&an(gt,zt,ht[zt]);return gt},Fn=(gt,ht)=>ut(gt,pt(ht)),Bn=(gt,ht,zt)=>new Promise((An,Dn)=>{var Pn=dn=>{try{kt(zt.next(dn))}catch(_n){Dn(_n)}},hn=dn=>{try{kt(zt.throw(dn))}catch(_n){Dn(_n)}},kt=dn=>dn.done?An(dn.value):Promise.resolve(dn.value).then(Pn,hn);kt((zt=zt.apply(gt,ht)).next())});const Un=(gt,ht,zt)=>gt.map(An=>An.key===ht?kn(kn({},An),zt):An.children?Fn(kn({},An),{children:Un(An.children,ht,zt)}):An),Ra={\u7B80\u5355:1,\u9002\u4E2D:2,\u56F0\u96BE:3},yn=(gt,ht,zt)=>gt.map(An=>{var Dn;const Pn=An==null?void 0:An.tag_disciplines.map(kt=>{const dn=kt==null?void 0:kt.difficulty_count.map(_n=>({label:_n==null?void 0:_n.name,value:Ra[_n.name]}));return{title:Ft(ht)===Ke.All&&dn.length>0?b.createElement(je.Z,{justify:"space-between"},b.createElement(bt.Z,null,`${kt.name}\uFF08${kt.child_count}\uFF09`),b.createElement(bt.Z,null,b.createElement("span",{className:"mr15",style:{color:"#666"}},"\u96BE\u5EA6"),b.createElement(Ae.default.Item,{noStyle:!0,name:[`${An.id}_${kt.id}`,"diffValue"]},b.createElement(wt.default.Group,{style:{columnGap:12},options:dn})),b.createElement(Ae.default.Item,{noStyle:!0,name:[`${An.id}_${kt.id}`,"diffNum"],initialValue:kt==null?void 0:kt.difficulty_count},b.createElement("input",{type:"hidden"})),b.createElement(Ae.default.Item,{noStyle:!0,name:[`${An.id}_${kt.id}`,"extra"],initialValue:Fn(kn({},An),{type:zt})},b.createElement("input",{type:"hidden"})))):`${kt.name}\uFF08${kt.child_count}\uFF09`,key:`${An.id}_${kt.id}`,name:kt.name,parentName:An.name,item_banks_count:kt.child_count,icon:null,isLeaf:!0,checkable:Ft(ht)===Ke.FileFolderAndKnowledge,disableCheckbox:kt.child_count===0}}),hn=An==null?void 0:An.difficulty_count.map(kt=>({label:kt==null?void 0:kt.name,value:Ra[kt.name]}));return{title:Ft(ht)===Ke.FileFolderAndDiff&&hn.length>0?b.createElement(je.Z,{justify:"space-between"},b.createElement(bt.Z,null,`${An.name}\uFF08${An.item_banks_count}\uFF09`),b.createElement(bt.Z,null,b.createElement("span",{className:"mr15",style:{color:"#666"}},"\u96BE\u5EA6"),b.createElement(Ae.default.Item,{noStyle:!0,name:[`${An.id}`,"diffValue"]},b.createElement(wt.default.Group,{style:{columnGap:12},options:hn})),b.createElement(Ae.default.Item,{noStyle:!0,name:[`${An.id}`,"diffNum"],initialValue:An==null?void 0:An.difficulty_count},b.createElement("input",{type:"hidden"})),b.createElement(Ae.default.Item,{noStyle:!0,name:[`${An.id}`,"extra"],initialValue:Fn(kn({},An),{type:zt})},b.createElement("input",{type:"hidden"})))):`${An.name}\uFF08${An.item_banks_count}\uFF09`,key:`${An.id}`,name:An.name,item_banks_count:An.item_banks_count,icon:kt=>kt.expanded?zt==="0"?b.createElement("img",{src:Bt,className:tn.folderIcon}):b.createElement("img",{src:Gt,className:tn.shareFolderIcon}):zt==="0"?b.createElement("img",{src:Ve,className:tn.folderIcon}):b.createElement("img",{src:Vt,className:tn.shareFolderIcon}),isLeaf:!An.have_child&&!((Dn=An.tag_disciplines)!=null&&Dn.length),checkable:Ft(ht)===Ke.OnlyFileFolder,disableCheckbox:An.item_banks_count===0,children:An.children.length?Ft(ht)===Ke.All||Ft(ht)===Ke.FileFolderAndKnowledge?[...yn(An.children,ht,zt),...Pn]:yn(An.children,ht,zt):[]}}),pa=(gt,ht,zt)=>gt.map(An=>{var Dn;const Pn=An==null?void 0:An.tag_disciplines.map(kt=>{console.log("tagItem:",kt);const dn=kt==null?void 0:kt.difficulty_count.map(_n=>({label:_n==null?void 0:_n.name,value:Ra[_n.name]}));return{title:Ft(ht)===Ke.All&&dn.length>0?b.createElement(je.Z,{justify:"space-between"},b.createElement(bt.Z,null,`${kt.name}\uFF08${kt.child_count}\uFF09`),b.createElement(bt.Z,null,b.createElement("span",{className:"mr15",style:{color:"#666"}},"\u96BE\u5EA6"),b.createElement(Ae.default.Item,{noStyle:!0,name:[`${An.id}_${kt.id}`,"diffValue"]},b.createElement(wt.default.Group,{style:{columnGap:12},options:dn})),b.createElement(Ae.default.Item,{noStyle:!0,name:[`${An.id}_${kt.id}`,"diffNum"],initialValue:kt==null?void 0:kt.difficulty_count},b.createElement("input",{type:"hidden"})),b.createElement(Ae.default.Item,{noStyle:!0,name:[`${An.id}_${kt.id}`,"extra"],initialValue:Fn(kn({},An),{type:zt})},b.createElement("input",{type:"hidden"})))):`${kt.name}\uFF08${kt.child_count}\uFF09`,key:`${An.id}_${kt.id}`,name:kt.name,parentName:An.name,item_banks_count:kt.child_count,icon:null,isLeaf:!0,checkable:Ft(ht)===Ke.FileFolderAndKnowledge,disableCheckbox:kt.child_count===0}}),hn=An==null?void 0:An.difficulty_count.map(kt=>({label:kt==null?void 0:kt.name,value:Ra[kt.name]}));return{title:Ft(ht)===Ke.FileFolderAndDiff&&hn.length>0?b.createElement(je.Z,{justify:"space-between"},b.createElement(bt.Z,null,`${An.name}\uFF08${An.item_banks_count}\uFF09`),b.createElement(bt.Z,null,b.createElement("span",{className:"mr15",style:{color:"#666"}},"\u96BE\u5EA6"),b.createElement(Ae.default.Item,{noStyle:!0,name:[`${An.id}`,"diffValue"]},b.createElement(wt.default.Group,{style:{columnGap:12},options:hn})),b.createElement(Ae.default.Item,{noStyle:!0,name:[`${An.id}`,"diffNum"],initialValue:An==null?void 0:An.difficulty_count},b.createElement("input",{type:"hidden"})),b.createElement(Ae.default.Item,{noStyle:!0,name:[`${An.id}`,"extra"],initialValue:Fn(kn({},An),{type:zt})},b.createElement("input",{type:"hidden"})))):`${An.name}\uFF08${An.item_banks_count}\uFF09`,key:`${An.id}`,name:An.name,item_banks_count:An.item_banks_count,icon:kt=>kt.expanded?zt==="0"?b.createElement("img",{src:Bt,className:tn.folderIcon}):b.createElement("img",{src:Gt,className:tn.shareFolderIcon}):zt==="0"?b.createElement("img",{src:Ve,className:tn.folderIcon}):b.createElement("img",{src:Vt,className:tn.shareFolderIcon}),isLeaf:!An.have_child&&!((Dn=An.tag_disciplines)!=null&&Dn.length),checkable:Ft(ht)===Ke.OnlyFileFolder,disableCheckbox:An.item_banks_count===0,children:[...pa(An.children,ht,zt),...Pn]}});var lr=({ruleValue:gt,defaultData:ht,setSelectData:zt,currentItemType:An,selectData:Dn})=>{const[Pn,hn]=(0,b.useState)("1"),[kt,dn]=(0,b.useState)(!0),[_n]=Ae.default.useForm(),[la,or]=(0,b.useState)([]),[Qa,ao]=(0,b.useState)("all"),Fr=(fn,On,Xn)=>{const{checkedNodes:Hn}=On;console.log("type:",Xn,Hn,Dn),Xn==="0"?(ca(fn),Ft(gt)===Ke.OnlyFileFolder?(zt(Tn=>Fn(kn({},Tn),{my:Hn.map(un=>({id:un.key,group_id:un.key,group_name:un.name,item_bank_num:un.item_banks_count,folderType:"0",quanlity:1}))})),Ct(Hn.reduce((Tn,un)=>Tn+un.item_banks_count,0))):(console.log(Hn),zt(Tn=>Fn(kn({},Tn),{my:Hn.map(un=>{const[Gn,da]=un.key.split("_");return{id:un.key,tag_discipline_name:un.name,group_id:Gn,tag_discipline_id:da,folderType:"0",group_name:un.parentName,item_bank_num:un.item_banks_count,quanlity:1}})})),Ct(Hn.reduce((Tn,un)=>Tn+un.item_banks_count,0)))):(sr(fn),Ft(gt)===Ke.OnlyFileFolder?zt(Tn=>(console.log("pre:",Tn),Fn(kn({},Tn),{public:Hn.map(un=>({id:un.key==="0"?"00":un.key,teacher_group_name:un.name,teacher_group_id:un.key,folderType:"3",item_bank_num:un.item_banks_count,quanlity:1}))}))):zt(Tn=>Fn(kn({},Tn),{public:Hn.map(un=>{const[Gn,da]=un.key.split("_");return{id:un.key==="0"?"00":un.key,tag_discipline_name:un.name,teacher_group_id:Gn,tag_discipline_id:da,folderType:"3",teacher_group_name:un.parentName,item_bank_num:un.item_banks_count,quanlity:1}})})),Ct(Hn.reduce((Tn,un)=>Tn+un.item_banks_count,0)))},[Ia,ca]=(0,b.useState)([]),[Kn,sr]=(0,b.useState)([]),[mr,Br]=(0,b.useState)([]),[Jr,dr]=(0,b.useState)([]),[kr,cr]=(0,b.useState)([]),[ya,yr]=(0,b.useState)([]),[Vr,bo]=(0,b.useState)(!1),[ri,ji]=(0,b.useState)(!1);function ze(){return Bn(this,null,function*(){let fn=yield(0,E.ZP)("/api/teach_group_shares.json",{method:"get"});fn&&or(fn==null?void 0:fn.groups)})}(0,b.useEffect)(()=>{ze()},[]);const tt=fn=>Bn(void 0,null,function*(){var On,Xn,Hn,Tn,un,Gn,da,qa,Ya,Qn,Vn,Nn;fn.type==="0"?bo(!0):ji(!0);const jn=yield(0,Sn.ex)(fn);fn.type==="0"?bo(!1):ji(!1),fn.type==="0"?cr(jn):yr(jn);const Fa=(On=jn.navigation[0])==null?void 0:On.difficulty_count.map(ba=>({label:ba==null?void 0:ba.name,value:Ra[ba.name]})),rr=(Xn=jn.navigation[0])==null?void 0:Xn.tag_disciplines.map(ba=>{const aa=ba==null?void 0:ba.difficulty_count.map(fa=>({label:fa==null?void 0:fa.name,value:Ra[fa.name]}));return{title:Ft(gt)===Ke.All&&aa.length>0?b.createElement(je.Z,{justify:"space-between",style:{color:"#232B40"}},b.createElement(bt.Z,null,`${ba.name}\uFF08${ba.child_count}\uFF09`),b.createElement(bt.Z,null,b.createElement("span",{className:"mr15",style:{color:"#666"}},"\u96BE\u5EA6"),b.createElement(Ae.default.Item,{noStyle:!0,name:[`0_${ba.id}`,"diffValue"]},b.createElement(wt.default.Group,{style:{columnGap:12},options:aa})),b.createElement(Ae.default.Item,{noStyle:!0,name:[`0_${ba.id}`,"diffNum"],initialValue:ba==null?void 0:ba.difficulty_count},b.createElement("input",{type:"hidden"})),b.createElement(Ae.default.Item,{noStyle:!0,name:[`0_${ba.id}`,"extra"],initialValue:{tag_discipline_name:ba.name,name:"\u6839\u76EE\u5F55",type:fn.type}},b.createElement("input",{type:"hidden"})))):b.createElement("span",{style:{color:"#232B40"}},ba.name,"\uFF08",ba.child_count,"\uFF09"),key:`0_${ba.id}`,name:ba.name,parentName:"\u6839\u76EE\u5F55",item_banks_count:ba.child_count,icon:null,isLeaf:!0,checkable:Ft(gt)===Ke.FileFolderAndKnowledge,disableCheckbox:ba.child_count===0}});if(fn.type==="0"){const ba=yn(jn.data,gt,"0"),aa=pa(jn.data,gt,"0");console.log("normalChildren2:",aa),Br([{title:Ft(gt)===Ke.FileFolderAndDiff?b.createElement(je.Z,{justify:"space-between",style:{color:"#232B40"}},b.createElement(bt.Z,null,`\u6839\u76EE\u5F55\uFF08${(Hn=jn.navigation[0])==null?void 0:Hn.child_count}\uFF09`),b.createElement(bt.Z,null,b.createElement("span",{className:"mr15",style:{color:"#666"}},"\u96BE\u5EA6"),b.createElement(Ae.default.Item,{noStyle:!0,name:["0","diffValue"],initialValue:[]},b.createElement(wt.default.Group,{style:{columnGap:12},options:Fa})),b.createElement(Ae.default.Item,{noStyle:!0,name:["0","diffNum"],initialValue:(Tn=jn.navigation[0])==null?void 0:Tn.difficulty_count},b.createElement("input",{type:"hidden"})),b.createElement(Ae.default.Item,{noStyle:!0,name:["0","extra"],initialValue:{type:"0",group_id:"0",name:"\u6839\u76EE\u5F55"}},b.createElement("input",{type:"hidden"})))):b.createElement("span",{style:{color:"#232B40"}},`\u6839\u76EE\u5F55\uFF08${(un=jn.navigation[0])==null?void 0:un.child_count}\uFF09`),key:"0",name:"\u6839\u76EE\u5F55",item_banks_count:(Gn=jn.navigation[0])==null?void 0:Gn.child_count,disabled:!(((da=jn.navigation[0])==null?void 0:da.child_count)>0),checkable:Ft(gt)===Ke.OnlyFileFolder,icon:fa=>fa.expanded?b.createElement("img",{src:Bt,className:tn.folderIcon}):b.createElement("img",{src:Ve,className:tn.folderIcon}),isLeaf:!1,children:Ft(gt)===Ke.OnlyFileFolder||Ft(gt)===Ke.FileFolderAndDiff?ba:[...aa,...rr]}])}else{const ba=yn(jn.data,gt,"3");dr([{title:Ft(gt)===Ke.FileFolderAndDiff?b.createElement(je.Z,{justify:"space-between"},b.createElement(bt.Z,null,`\u6839\u76EE\u5F55\uFF08${(qa=jn.navigation[0])==null?void 0:qa.child_count}\uFF09`),b.createElement(bt.Z,null,b.createElement("span",{className:"mr15",style:{color:"#666"}},"\u96BE\u5EA6"),b.createElement(Ae.default.Item,{noStyle:!0,name:["0","diffValue"]},b.createElement(wt.default.Group,{style:{columnGap:12},options:Fa})),b.createElement(Ae.default.Item,{noStyle:!0,name:["0","diffNum"],initialValue:(Ya=jn.navigation[0])==null?void 0:Ya.difficulty_count},b.createElement("input",{type:"hidden"})),b.createElement(Ae.default.Item,{noStyle:!0,name:["0","extra"],initialValue:{type:"3",group_id:"0",name:"\u6839\u76EE\u5F55"}},b.createElement("input",{type:"hidden"})))):b.createElement("span",{style:{color:"#232B40"}},`\u6839\u76EE\u5F55\uFF08${(Qn=jn.navigation[0])==null?void 0:Qn.child_count}\uFF09`),key:"0",name:"\u6839\u76EE\u5F55",item_banks_count:(Vn=jn.navigation[0])==null?void 0:Vn.child_count,checkable:Ft(gt)===Ke.OnlyFileFolder,icon:aa=>aa.expanded?b.createElement("img",{src:Gt,className:tn.shareFolderIcon}):b.createElement("img",{src:Vt,className:tn.shareFolderIcon}),isLeaf:!1,disabled:!(((Nn=jn.navigation[0])==null?void 0:Nn.child_count)>0),children:Ft(gt)===Ke.OnlyFileFolder||Ft(gt)===Ke.FileFolderAndDiff?ba:[...ba,...rr]}])}});(0,b.useEffect)(()=>{Pn==="1"?tt({type:"0",group_id:0,item_type:An,show_children:!0}):Pn==="2"&&tt({type:"3",except_mine:!0,item_type:An,show_children:!0,teach_group_id:Qa==="all"?"":Qa})},[gt,Pn,Qa]),(0,b.useEffect)(()=>{var fn,On,Xn,Hn,Tn,un,Gn,da,qa,Ya,Qn,Vn;console.log("selectData-active:",Dn,ht,Pn),Pn==="1"?(ca((fn=Dn==null?void 0:Dn.my)==null?void 0:fn.map(Nn=>Nn.id)),Ct(((Xn=(On=Dn==null?void 0:Dn.my)==null?void 0:On.reduce)==null?void 0:Xn.call(On,(Nn,jn)=>Nn+jn.item_bank_num,0))||0)):Pn==="2"&&(sr((Hn=Dn==null?void 0:Dn.public)==null?void 0:Hn.map(Nn=>Nn.id)),Ct(((un=(Tn=Dn==null?void 0:Dn.public)==null?void 0:Tn.reduce)==null?void 0:un.call(Tn,(Nn,jn)=>Nn+jn.item_bank_num,0))||0)),Ft(gt)===Ke.All&&(Pn==="1"?(ca((Gn=Dn==null?void 0:Dn.my)==null?void 0:Gn.map(Nn=>Nn.id)),Ct((Dn==null?void 0:Dn.filter(Nn=>!Nn.is_share).reduce((Nn,jn)=>Nn+jn.item_bank_num,0))||0),(da=Dn==null?void 0:Dn.filter(Nn=>!Nn.is_share))==null||da.forEach(Nn=>{const jn=_n.getFieldValue([`${Nn.group_id||0}_${Nn.tag_discipline_id}`,"diffValue"])||[];console.log("prev:",jn),jn!=null&&jn.includes[Nn.difficulty]||_n.setFieldValue([`${Nn.group_id||0}_${Nn.tag_discipline_id}`,"diffValue"],Array.from(new Set([...jn,Nn.difficulty])))})):Pn==="2"&&(sr((qa=Dn==null?void 0:Dn.public)==null?void 0:qa.map(Nn=>Nn.id)),Ct((Dn==null?void 0:Dn.filter(Nn=>!!Nn.is_share).reduce((Nn,jn)=>Nn+jn.item_bank_num,0))||0),(Ya=Dn==null?void 0:Dn.filter(Nn=>!!Nn.is_share))==null||Ya.forEach(Nn=>{const jn=_n.getFieldValue([`${Nn.teacher_group_id||0}_${Nn.tag_discipline_id}`,"diffValue"])||[];jn!=null&&jn.includes[Nn.difficulty]||_n.setFieldValue([`${Nn.teacher_group_id||0}_${Nn.tag_discipline_id}`,"diffValue"],Array.from(new Set([...jn,Nn.difficulty])))}))),Ft(gt)===Ke.FileFolderAndDiff&&(_n.resetFields(),setTimeout(()=>{zt(Dn)},300),Pn==="1"?(Ct((Dn==null?void 0:Dn.filter(Nn=>!Nn.is_share).reduce((Nn,jn)=>Nn+jn.item_bank_num,0))||0),(Qn=Dn==null?void 0:Dn.filter(Nn=>!Nn.is_share))==null||Qn.forEach(Nn=>{const jn=_n.getFieldValue([`${Nn.group_id}`,"diffValue"])||[];console.log("prev:",jn),jn!=null&&jn.includes[Nn.difficulty]||_n.setFieldValue([`${Nn.group_id}`,"diffValue"],Array.from(new Set([...jn,Nn.difficulty])))})):(Ct((Dn==null?void 0:Dn.filter(Nn=>!!Nn.is_share).reduce((Nn,jn)=>Nn+jn.item_bank_num,0))||0),(Vn=Dn==null?void 0:Dn.filter(Nn=>!!Nn.is_share))==null||Vn.forEach(Nn=>{const jn=_n.getFieldValue([`${Nn.teacher_group_id}`,"diffValue"])||[];jn!=null&&jn.includes[Nn.difficulty]||_n.setFieldValue([`${Nn.teacher_group_id}`,"diffValue"],Array.from(new Set([...jn,Nn.difficulty])))})))},[Pn]),console.log("1111111111:",Ia,Kn),(0,b.useEffect)(()=>{setTimeout(()=>{var fn,On,Xn,Hn,Tn;switch(Ft(gt)){case Ke.OnlyFileFolder:{const un=[],Gn=[];for(const da of Dn.my||[])un.push(da);for(const da of Dn.public||[])Gn.push(da);ca(un.map(da=>`${da.group_id}`)),sr(Gn.map(da=>`${da.teacher_group_id}`)),Ct(Pn==="1"?un.reduce((da,qa)=>da+qa.item_bank_num,0):Gn.reduce((da,qa)=>da+qa.item_bank_num,0));break}case Ke.FileFolderAndKnowledge:{const un=[],Gn=[];for(const da of(Dn==null?void 0:Dn.my)||[])un.push(da);for(const da of(Dn==null?void 0:Dn.public)||[])Gn.push(da);Ct((fn=Pn==="1"?un:Gn)==null?void 0:fn.reduce((da,qa)=>da+qa.item_bank_num,0)),ca(un.map(da=>`${da.group_id}_${da.tag_discipline_id}`)),sr(Gn.map(da=>`${da.teacher_group_id}_${da.tag_discipline_id}`));break}case Ke.All:{Pn==="1"?(Ct((Dn==null?void 0:Dn.filter(un=>!un.is_share).reduce((un,Gn)=>un+Gn.item_bank_num,0))||0),(On=Dn==null?void 0:Dn.filter(un=>!un.is_share))==null||On.forEach(un=>{const Gn=_n.getFieldValue([`${un.group_id||0}_${un.tag_discipline_id}`,"diffValue"])||[];console.log("prev:",Gn,un.difficulty,un),Gn!=null&&Gn.includes[un.difficulty]||_n.setFieldValue([`${un.group_id||0}_${un.tag_discipline_id}`,"diffValue"],Array.from(new Set([...Gn,un.difficulty])))})):(Ct((Dn==null?void 0:Dn.filter(un=>!!un.is_share).reduce((un,Gn)=>un+Gn.item_bank_num,0))||0),(Xn=Dn==null?void 0:Dn.filter(un=>!!un.is_share))==null||Xn.forEach(un=>{const Gn=_n.getFieldValue([`${un.group_id||0}_${un.tag_discipline_id}`,"diffValue"])||[];console.log("prev:",Gn,un.difficulty,un),Gn!=null&&Gn.includes[un.difficulty]||_n.setFieldValue([`${un.group_id||0}_${un.tag_discipline_id}`,"diffValue"],Array.from(new Set([...Gn,un.difficulty])))}));break}case Ke.FileFolderAndDiff:{Pn==="1"?(Ct((Dn==null?void 0:Dn.filter(un=>!un.is_share).reduce((un,Gn)=>un+Gn.item_bank_num,0))||0),(Hn=Dn==null?void 0:Dn.filter(un=>!un.is_share))==null||Hn.forEach(un=>{const Gn=_n.getFieldValue([`${un.group_id}`,"diffValue"])||[];console.log("prev:",Gn,un.difficulty),Gn!=null&&Gn.includes[un.difficulty]||_n.setFieldValue([`${un.group_id}`,"diffValue"],Array.from(new Set([...Gn,un.difficulty])))})):(Ct((Dn==null?void 0:Dn.filter(un=>!!un.is_share).reduce((un,Gn)=>un+Gn.item_bank_num,0))||0),(Tn=Dn==null?void 0:Dn.filter(un=>!!un.is_share))==null||Tn.forEach(un=>{const Gn=_n.getFieldValue([`${un.group_id}`,"diffValue"])||[];Gn!=null&&Gn.includes[un.difficulty]||_n.setFieldValue([`${un.group_id}`,"diffValue"],Array.from(new Set([...Gn,un.difficulty])))}));break}}},800)},[ht,gt,mr,Jr]);const[mt,Ct]=(0,b.useState)(0);return b.createElement(Ae.default,{form:_n,onValuesChange:(fn,On)=>Bn(void 0,null,function*(){var Xn,Hn,Tn,un;console.log("onValuesChange:",On,fn);let Gn=0;if(Ft(gt)===Ke.FileFolderAndDiff){const da=yield _n.getFieldValue(),qa=[],Ya=[];for(const Vn of Object.keys(da))if((Hn=(Xn=da[Vn])==null?void 0:Xn.diffValue)!=null&&Hn.length&&Vn!=="null"&&Vn!==null){const Nn=da[Vn];qa.push(kn({id:Vn},Nn))}const Qn={1:"\u7B80\u5355",2:"\u9002\u4E2D",3:"\u56F0\u96BE"};qa.map(Vn=>{var Nn,jn,Fa,rr,ba;Vn.id==0&&(Vn.diffNum=Pn==="1"?(jn=(Nn=kr==null?void 0:kr.navigation)==null?void 0:Nn[0])==null?void 0:jn.difficulty_count:(rr=(Fa=ya==null?void 0:ya.navigation)==null?void 0:Fa[0])==null?void 0:rr.difficulty_count),(ba=Vn==null?void 0:Vn.diffValue)==null||ba.map(aa=>{var fa,ra,va,Ir,lo;const Fo={group_name:((fa=Vn.extra)==null?void 0:fa.name)||"",teacher_group_name:"",id:`${Vn.id}_${aa}`,group_id:Vn.id,difficulty:aa,item_bank_num:(Ir=(va=(ra=Vn.diffNum)==null?void 0:ra.filter(qo=>qo.name===Qn[aa]))==null?void 0:va[0])==null?void 0:Ir.value};Pn==="2"&&(Fo.is_share=!0,Fo.teacher_group_id=Vn.id,Fo.teacher_group_name=(lo=Vn.extra)==null?void 0:lo.name),Ya.push(Fo)})}),Gn=Ya.reduce((Vn,Nn)=>Vn+Nn.item_bank_num,0),zt([...Ya,...Dn==null?void 0:Dn.filter(Vn=>Pn==="1"?Vn.is_share:!Vn.is_share)])}else if(Ft(gt)===Ke.All){const da=[];for(const qa of Object.keys(On)){const{diffNum:Ya=[],diffValue:Qn=[],extra:Vn={}}=On[qa];console.log("---",Vn);const[Nn,jn]=qa.split("_");let Fa=(un=(Tn=Vn.tag_disciplines)==null?void 0:Tn.filter(rr=>parseInt(rr.id)===parseInt(jn)))==null?void 0:un[0];Qn.forEach(rr=>{var ba;const aa={1:"\u7B80\u5355",2:"\u9002\u4E2D",3:"\u56F0\u96BE"},fa=(ba=Ya==null?void 0:Ya.find(va=>va.name===aa[rr]))==null?void 0:ba.value,ra={group_name:"",teacher_group_name:"",tag_discipline_name:(Fa==null?void 0:Fa.name)||Vn.tag_discipline_name,id:`${qa}_${rr}`,group_id:Nn,is_share:!!(Fa!=null&&Fa.is_share||(Vn==null?void 0:Vn.type)==="3"),tag_discipline_id:jn,difficulty:rr,item_bank_num:fa};Gn+=fa,Vn.type==="0"?ra.group_name=Vn.name:ra.teacher_group_name=Vn.name,Pn==="2"&&(ra.is_share=!0,ra.teacher_group_id=Vn.id||0,ra.teacher_group_name=Vn.name),fa>0&&da.push(ra)})}zt([...da,...Dn==null?void 0:Dn.filter(qa=>Pn==="1"?qa.is_share:!qa.is_share)])}Ct(Gn)})},b.createElement(ta.default,{destroyInactiveTabPane:!0,activeKey:Pn,onChange:fn=>hn(fn),style:{minHeight:260},tabBarExtraContent:{right:Pn==="2"&&(la==null?void 0:la.length)>0&&b.createElement(En.default,{onChange:fn=>{ao(fn)},value:Qa,style:{width:120}},b.createElement(En.default.Option,{key:"all",value:"all"},"\u5168\u90E8"),la==null?void 0:la.map(fn=>b.createElement(En.default.Option,{key:fn==null?void 0:fn.group_id,value:fn==null?void 0:fn.group_id},fn==null?void 0:fn.name)))},items:[{key:"1",label:"\u6211\u521B\u5EFA\u7684",children:(mr==null?void 0:mr.length)===0?b.createElement(Ze.Z,{spinning:Vr},b.createElement(wn.Z,{ButtonTwo:b.createElement("a",{target:"_blank",href:"/problemset"},"\u524D\u5F80\u9898\u5E93\uFF0C\u65B0\u589E\u66F4\u591A\u8BD5\u9898",">")})):b.createElement("div",{className:tn.folderAreaWrapper},b.createElement(je.Z,{justify:"space-between",align:"middle",className:tn.folderAreaHeader},b.createElement("span",null,"\u6587\u4EF6\u5939"),b.createElement("span",{className:"mr20"},"\u5DF2\u9009",b.createElement("span",{style:{color:"#3061D0"}}," ",mt," "),"\u9898")),b.createElement(Ze.Z,{spinning:Vr},b.createElement("div",{style:{minHeight:200}},mr.length>0&&b.createElement(Oa.default,{checkable:!0,className:tn.folderWrapper,rootStyle:{paddingLeft:15,paddingRight:0,paddingTop:10},selectable:!1,onCheck:(fn,On)=>Fr(fn,On,"0"),checkedKeys:Ia,checkStrictly:!0,treeData:mr,showIcon:!0,blockNode:!0,defaultExpandAll:!0}))))},{key:"2",label:"\u56E2\u961F\u5171\u4EAB",children:(Jr==null?void 0:Jr.length)===0?b.createElement(Ze.Z,{spinning:ri},b.createElement(wn.Z,{ButtonTwo:b.createElement("a",{target:"_blank",href:"/problemset"},"\u524D\u5F80\u9898\u5E93\uFF0C\u65B0\u589E\u66F4\u591A\u8BD5\u9898",">")})):b.createElement("div",{className:tn.folderAreaWrapper},b.createElement(je.Z,{justify:"space-between",align:"middle",className:tn.folderAreaHeader},b.createElement("span",null,"\u6587\u4EF6\u5939"),b.createElement("span",{className:"mr20"},"\u5DF2\u9009",b.createElement("span",{style:{color:"#3061D0"}}," ",mt||0," "),"\u9898")),b.createElement(Ze.Z,{spinning:ri},b.createElement("div",{style:{minHeight:200}},(Jr==null?void 0:Jr.length)>0&&b.createElement(Oa.default,{checkable:!0,className:tn.folderWrapper,selectable:!1,rootStyle:{paddingLeft:15,paddingRight:0,paddingTop:10},onCheck:(fn,On)=>Fr(fn,On,"3"),checkedKeys:Kn,checkStrictly:!0,treeData:Jr,showIcon:!0,blockNode:!0,defaultExpandAll:!0}))))}]}))},Jn=ae(55305),sn=ae(45937),Dr=Object.defineProperty,Ga=Object.defineProperties,Er=Object.getOwnPropertyDescriptors,Cr=Object.getOwnPropertySymbols,Nr=Object.prototype.hasOwnProperty,xr=Object.prototype.propertyIsEnumerable,so=(gt,ht,zt)=>ht in gt?Dr(gt,ht,{enumerable:!0,configurable:!0,writable:!0,value:zt}):gt[ht]=zt,qr=(gt,ht)=>{for(var zt in ht||(ht={}))Nr.call(ht,zt)&&so(gt,zt,ht[zt]);if(Cr)for(var zt of Cr(ht))xr.call(ht,zt)&&so(gt,zt,ht[zt]);return gt},_o=(gt,ht)=>Ga(gt,Er(ht)),Mn=(gt,ht,zt)=>new Promise((An,Dn)=>{var Pn=dn=>{try{kt(zt.next(dn))}catch(_n){Dn(_n)}},hn=dn=>{try{kt(zt.throw(dn))}catch(_n){Dn(_n)}},kt=dn=>dn.done?An(dn.value):Promise.resolve(dn.value).then(Pn,hn);kt((zt=zt.apply(gt,ht)).next())});const Mr={\u7B80\u5355:1,\u9002\u4E2D:2,\u56F0\u96BE:3};var Gr=({ruleValue:gt,setSelectData:ht,currentItemType:zt,defaultData:An,isFirst:Dn})=>{const[Pn,hn]=(0,b.useState)([]),[kt,dn,_n,la]=(0,sn.U)(ye,{source:"question",page:1,per_page:10,group_id:0,keyword:"",group_type:0,clazz:"ItemBanksGroup",sub_discipline_id:void 0,item_type:zt,show_children:!0});(0,b.useEffect)(()=>{Mn(void 0,null,function*(){const Kn=yield _n({},!0);hn((0,Jn.L)(Kn.disciplines))})},[]),console.log(An),(0,b.useEffect)(()=>{if(Dn)switch(Ft(gt)){case Ke.OnlyKnowledge:{Ia(An.map(Kn=>Kn.tag_discipline_id));break}case Ke.KnowledgeAndDiff:{const Kn=new Map;An.forEach(sr=>{sr&&(Kn.has(sr.tag_discipline_id)?Kn.set(sr.tag_discipline_id,[...Kn.get(sr.tag_discipline_id),sr.difficulty]):Kn.set(sr.tag_discipline_id,[sr.difficulty]))});for(const[sr,mr]of Kn.entries())or.setFieldValue([sr,"diff"],mr);break}}},[An,gt,Dn]);const[or]=Ae.default.useForm(),Qa=(0,b.useMemo)(()=>{const Kn=[];let sr="",mr="";const Br={};for(const Jr of(la==null?void 0:la.disciplines)||[]){sr=Jr.name;for(const dr of Jr.sub_disciplines){mr=dr.name;for(const kr of dr.tag_disciplines){const cr={sub_discipline_name:`${sr}&${mr}`,sub_discipline_id:dr.id,tag_discipline_name:kr.name,id:kr.id,item_bank_num:kr.total_count,difficulty_count:kr.difficulty_count,tag_discipline_id:kr.id};Kn.push(cr)}}}return Kn},[la,An]),ao=[{title:"\u77E5\u8BC6\u70B9",dataIndex:"tag_discipline_name",show:!0,render:(Kn,sr)=>{const{item_bank_num:mr}=sr;return b.createElement("div",null,Kn,`(${mr})`)}},{title:"\u65B9\u5411&\u8BFE\u7A0B",dataIndex:"sub_discipline_name",ellipsis:!0,show:!0},{title:"\u96BE\u5EA6",width:"35%",show:gt.includes(Yt.Difficulty),render:(Kn,sr)=>{const{id:mr,difficulty_count:Br,total_count:Jr,sub_discipline_name:dr,tag_discipline_name:kr}=sr;return b.createElement(b.Fragment,null,b.createElement(Ae.default.Item,{name:[mr,"diff"],noStyle:!0},b.createElement(wt.default.Group,{style:{columnGap:12},options:Br.map(cr=>({label:cr.name,value:Mr[cr.name]}))})),b.createElement(Ae.default.Item,{name:[mr,"extra"],initialValue:{difficulty_count:Br,total_count:Jr,sub_discipline_name:dr,tag_discipline_name:kr},noStyle:!0},b.createElement("input",{type:"hidden"})))}}].filter(Kn=>Kn.show),[Fr,Ia]=(0,b.useState)([]),ca=(0,b.useRef)(new Map);return b.createElement("div",{style:{marginTop:12}},b.createElement(je.Z,{className:"mb20",align:"middle",gutter:20},b.createElement(bt.Z,null,b.createElement(Te.Z,{placeholder:"\u8BF7\u9009\u62E9\u65B9\u5411&\u8BFE\u7A0B",size:"large",style:{width:240},options:Pn,onChange:Kn=>{_n({sub_discipline_id:Kn==null?void 0:Kn[1]})}})),b.createElement(bt.Z,null,b.createElement(Zt.t7,{style:{width:300},placeholder:"\u8BF7\u8F93\u5165\u77E5\u8BC6\u70B9\u540D\u79F0\u8FDB\u884C\u641C\u7D22",value:kt.keyword,onChange:Kn=>_n({keyword:Kn})}))),b.createElement(Ae.default,{form:or,onValuesChange:(Kn,sr)=>{var mr;console.log(sr),ca.current.clear();for(const Br of Object.keys(sr)){const Jr={1:"\u7B80\u5355",2:"\u9002\u4E2D",3:"\u56F0\u96BE"},dr=sr[Br],{difficulty_count:kr,total_count:cr}=dr.extra||{};(mr=dr==null?void 0:dr.diff)==null||mr.forEach(ya=>{var yr;const Vr=(yr=kr==null?void 0:kr.find(ri=>ri.name===Jr[ya]))==null?void 0:yr.value,bo=_o(qr({},dr.extra),{id:`${Br}_${ya}`,difficulty:ya,item_bank_num:Vr,tag_discipline_id:Br});Vr>0&&ca.current.set(`${Br}_${ya}`,bo)})}ht([...ca.current.values()])}},(Qa==null?void 0:Qa.length)===0?b.createElement(wn.Z,{ButtonTwo:b.createElement("a",{target:"_blank",href:"/problemset"},"\u524D\u5F80\u9898\u5E93\uFF0C\u65B0\u589E\u66F4\u591A\u8BD5\u9898",">")}):b.createElement(Yn.default,{rowSelection:Ft(gt)===Ke.OnlyKnowledge?{preserveSelectedRowKeys:!0,type:"checkbox",onChange(Kn,sr){console.log("table-selectedRowKeys:",Kn,sr),Ia(Kn),ht(sr)},getCheckboxProps:Kn=>({disabled:Kn.item_bank_num===0}),selectedRowKeys:Fr}:void 0,columns:ao,dataSource:Qa,loading:dn,scroll:{y:480},rowKey:"id",pagination:!1})))},za=Object.defineProperty,$n=Object.defineProperties,wa=Object.getOwnPropertyDescriptors,ja=Object.getOwnPropertySymbols,ga=Object.prototype.hasOwnProperty,fr=Object.prototype.propertyIsEnumerable,Hr=(gt,ht,zt)=>ht in gt?za(gt,ht,{enumerable:!0,configurable:!0,writable:!0,value:zt}):gt[ht]=zt,oo=(gt,ht)=>{for(var zt in ht||(ht={}))ga.call(ht,zt)&&Hr(gt,zt,ht[zt]);if(ja)for(var zt of ja(ht))fr.call(ht,zt)&&Hr(gt,zt,ht[zt]);return gt},Tr=(gt,ht)=>$n(gt,wa(ht)),co=(gt,ht,zt)=>new Promise((An,Dn)=>{var Pn=dn=>{try{kt(zt.next(dn))}catch(_n){Dn(_n)}},hn=dn=>{try{kt(zt.throw(dn))}catch(_n){Dn(_n)}},kt=dn=>dn.done?An(dn.value):Promise.resolve(dn.value).then(Pn,hn);kt((zt=zt.apply(gt,ht)).next())});const ni={\u7B80\u5355:1,\u9002\u4E2D:2,\u56F0\u96BE:3};var _i=({open:gt,onCancel:ht,setVisibleModalType:zt,currentItemType:An})=>{var Dn;const{data:Pn,dispatch:hn}=(0,b.useContext)(Be),[kt,dn]=(0,b.useState)([]),[_n,la]=(0,b.useState)(),or=(Dn=Pn==null?void 0:Pn.item_types)==null?void 0:Dn.find(mr=>mr.item_type===An);(0,b.useEffect)(()=>{var mr,Br,Jr;if(gt){const dr=(mr=Pn==null?void 0:Pn.item_types)==null?void 0:mr.find(kr=>kr.item_type===An);if((dr==null?void 0:dr.random_rule_type)!==Ke.Shixun){const kr=Ut[dr==null?void 0:dr.random_rule_type]||[];dn(kr);const cr=(Jr=(Br=Pn==null?void 0:Pn.item_types)==null?void 0:Br.find(ya=>ya.item_type===An))==null?void 0:Jr.contents;switch(console.log("----xxx",Ft(kr)),Ft(kr)){case Ke.OnlyDifficulty:{Ia(cr.map(ya=>ya.difficulty));break}case Ke.OnlyFileFolder:{Ia({my:cr==null?void 0:cr.filter(ya=>parseInt(ya.teacher_group_id)!=="NaN"&&!ya.teacher_group_id&&ya.teacher_group_id!==0),public:cr==null?void 0:cr.filter(ya=>parseInt(ya.teacher_group_id)>=0)}),la({my:cr==null?void 0:cr.filter(ya=>parseInt(ya.teacher_group_id)!=="NaN"&&!ya.teacher_group_id&&ya.teacher_group_id!==0),public:cr==null?void 0:cr.filter(ya=>parseInt(ya.teacher_group_id)>=0)});break}case Ke.FileFolderAndKnowledge:{Ia({my:cr==null?void 0:cr.filter(ya=>parseInt(ya.teacher_group_id)!=="NaN"&&!ya.teacher_group_id&&ya.teacher_group_id!==0),public:cr==null?void 0:cr.filter(ya=>parseInt(ya.teacher_group_id)>=0)}),la({my:cr==null?void 0:cr.filter(ya=>parseInt(ya.teacher_group_id)!=="NaN"&&!ya.teacher_group_id&&ya.teacher_group_id!==0),public:cr==null?void 0:cr.filter(ya=>parseInt(ya.teacher_group_id)>=0)});break}case Ke.FileFolderAndDiff:{Ia(cr),la(cr);break}case Ke.All:{Ia(cr),la(cr);break}default:Ia(cr)}}}},[gt]);const[Qa,ao]=(0,b.useState)([]);(0,b.useEffect)(()=>{gt&&Ee({item_type:An}).then(mr=>{mr.status===0&&ao(mr.data)})},[gt]),(0,b.useEffect)(()=>{console.log("selectData",_n)},[_n]);const[Fr,Ia]=(0,b.useState)(),[ca,Kn]=(0,b.useState)(!0);console.log("isFirst:",ca);const sr=mr=>{dn(mr),la([]),Ia([]),Kn(!1)};return b.createElement(nn.default,{title:"\u8BBE\u7F6E\u62BD\u9898\u89C4\u5219",width:948,closable:!0,centered:!0,open:gt,onCancel:ht,destroyOnClose:!0,onOk:()=>co(void 0,null,function*(){var mr,Br,Jr,dr,kr,cr,ya;if(_n===void 0){zt("");return}if(Object.prototype.toString.call(_n)==="[object Object]"&&!((mr=_n.my)!=null&&mr.length)&&!((Br=_n.public)!=null&&Br.length)){be.ZP.warning("\u8BD5\u9898\u603B\u6570=0\uFF0C\u8BF7\u5148\u8BBE\u7F6E\u62BD\u9898\u89C4\u5219");return}if(!Object.keys(_n).length&&!(_n!=null&&_n.length)){be.ZP.warning("\u8BD5\u9898\u603B\u6570=0\uFF0C\u8BF7\u5148\u8BBE\u7F6E\u62BD\u9898\u89C4\u5219");return}const yr=Ft(kt);switch(yr){case Ke.OnlyFileFolder:{hn({type:"editRule",payload:{itemType:An,tableData:[..._n.my||[],..._n.public||[]],randomRuleType:yr}});break}case Ke.OnlyDifficulty:{const Vr=(dr=(Jr=Pn==null?void 0:Pn.item_types)==null?void 0:Jr.find(ri=>ri.item_type===An))==null?void 0:dr.contents;let bo=[{},{value:(kr=Qa.find(ri=>ri.name==="\u7B80\u5355"))==null?void 0:kr.value},{value:(cr=Qa.find(ri=>ri.name==="\u9002\u4E2D"))==null?void 0:cr.value},{value:(ya=Qa.find(ri=>ri.name==="\u56F0\u96BE"))==null?void 0:ya.value}];hn({type:"editRule",payload:{itemType:An,tableData:_n.map((ri,ji)=>{var ze,tt,mt,Ct;return{difficulty:ri,id:ji,quanlity:((tt=(ze=Vr==null?void 0:Vr.filter(fn=>fn.id===ji))==null?void 0:ze[0])==null?void 0:tt.quanlity)||1,item_bank_num:(Qa==null?void 0:Qa.length)===1?(mt=Qa[0])==null?void 0:mt.value:(Ct=bo==null?void 0:bo[ri])==null?void 0:Ct.value}}),randomRuleType:yr}});break}case Ke.OnlyKnowledge:{hn({type:"editRule",payload:{itemType:An,tableData:_n.map(Vr=>Tr(oo({},Vr),{quanlity:Vr.quanlity||1})),randomRuleType:yr}});break}case Ke.KnowledgeAndDiff:{hn({type:"editRule",payload:{itemType:An,tableData:_n.map(Vr=>Tr(oo({},Vr),{quanlity:Vr.quanlity||1})),randomRuleType:yr}});break}case Ke.FileFolderAndDiff:{hn({type:"editRule",payload:{itemType:An,tableData:_n.map(Vr=>Tr(oo({},Vr),{quanlity:Vr.quanlity||1})),randomRuleType:yr}});break}case Ke.FileFolderAndKnowledge:{hn({type:"editRule",payload:{itemType:An,tableData:[..._n.my||[],..._n.public||[]],randomRuleType:yr}});break}case Ke.All:{hn({type:"editRule",payload:{itemType:An,tableData:_n.map(Vr=>Tr(oo({},Vr),{quanlity:Vr.quanlity||1})),randomRuleType:yr}});break}}zt("")})},b.createElement(wt.default.Group,{className:`${tn.ruleCheckBox}`,style:{marginBottom:8},value:kt,onChange:mr=>{var Br;kt!=null&&kt.length&&((Br=or==null?void 0:or.contents)==null?void 0:Br.length)>0?nn.default.confirm({title:"\u63D0\u793A",content:"\u5207\u6362\u89C4\u5219\u540E\uFF0C\u4E4B\u524D\u7684\u62BD\u9898\u914D\u7F6E\u5C06\u88AB\u6E05\u7A7A\uFF01",okText:"\u7ACB\u5373\u5207\u6362",cancelText:"\u6682\u4E0D\u5207\u6362",onOk:()=>sr(mr)}):sr(mr)},options:[{label:"\u6307\u5B9A\u6587\u4EF6\u5939\u62BD\u9898",value:Yt.FileFolder},{label:"\u6307\u5B9A\u96BE\u5EA6\u62BD\u9898",value:Yt.Difficulty},{label:"\u6307\u5B9A\u77E5\u8BC6\u70B9\u62BD\u9898",value:Yt.Knowledge}]}),kt.includes(Yt.FileFolder)?b.createElement(lr,{defaultData:Fr,selectData:_n,ruleValue:kt,setSelectData:la,currentItemType:An}):kt.includes(Yt.Knowledge)?b.createElement(Gr,{defaultData:Fr,isFirst:ca,ruleValue:kt,setSelectData:la,currentItemType:An}):kt.includes(Yt.Difficulty)?b.createElement("div",{style:{marginTop:12}},b.createElement("span",{className:"mr20",style:{color:"#666"}},"\u96BE\u5EA6"),b.createElement(wt.default.Group,{style:{columnGap:12},options:Qa.map(mr=>({label:mr.name,value:ni[mr.name]})),value:_n||Fr,onChange:mr=>la(mr)})):null)},Ba=({open:gt,onCancel:ht,setVisibleModalType:zt,currentItemType:An})=>gt?b.createElement(_i,{open:gt,onCancel:ht,setVisibleModalType:zt,currentItemType:An}):null,eo=ae(6848),mo=ae(58433),Ro=ae(82264),Po=ae(91842),xo=ae(51257),oi=ae(61485),Yo=ae(94361),Ci=({open:gt,onCancel:ht,onOk:zt})=>{const{data:An}=(0,b.useContext)(Be),Dn=(0,mo.g)(),[Pn,hn,kt,dn]=(0,sn.U)(Ro.Gm,{page:1,limit:10,keyword:"",diff:"",shixun_publish_status:"",discipline_id:"",sub_discipline_id:"",type:0,include_shixuns:!0,item_type:"SHIXUN"}),[_n,la]=(0,b.useState)(!1);(0,b.useEffect)(()=>{if(gt){kt({page:1,limit:10,type:0},!0).then(ca=>{(ca==null?void 0:ca.shixuns_count)===0&&la(!0)});const Ia=An.item_types.find(ca=>ca.item_type==="PRACTICAL");Qa(Ia.item_banks.map(ca=>ca.id)),Fr(Ia.item_banks)}},[gt,An]);const[or,Qa]=(0,b.useState)([]),[ao,Fr]=(0,b.useState)([]);return b.createElement(nn.default,{title:"\u9009\u62E9\u5B9E\u8BAD\u9898",open:gt,width:948,centered:!0,closable:!0,onCancel:ht,onOk:()=>zt(ao),destroyOnClose:!0},b.createElement(je.Z,{justify:"space-between",className:"mb20",style:{maxHeight:650}},b.createElement(bt.Z,null,b.createElement(Te.Z,{style:{width:160},size:"large",placeholder:"\u8BF7\u9009\u62E9\u65B9\u5411&\u8BFE\u7A0B",options:Dn,onChange:Ia=>{kt({page:1,discipline_id:Ia==null?void 0:Ia[0],sub_discipline_id:Ia==null?void 0:Ia[1]})}}),b.createElement(En.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:Ia=>kt({page:1,diff:Ia})}),b.createElement(En.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:Ia=>kt({page:1,shixun_publish_status:Ia})})),b.createElement(Zt.t7,{placeholder:"\u8BF7\u8F93\u5165\u5173\u952E\u8BCD\u641C\u7D22",style:{width:290},onChange:Ia=>{kt({keyword:Ia,page:1})}})),_n?b.createElement("div",null,b.createElement(wn.Z,{customText:"\u6682\u65E0\u6570\u636E",ButtonText:"\u524D\u5F80\u5B9E\u8DF5\u9879\u76EE\u5E93\uFF0C\u6DFB\u52A0\u66F4\u591A\u8BD5\u9898>",ButtonClick:()=>(0,xo.xg)("/shixuns")})):b.createElement(Yn.default,{loading:hn,rowKey:"id",columns:[{title:"\u8BD5\u9898\u540D\u79F0",dataIndex:"name",width:"30%",ellipsis:{showTitle:!0},render:(Ia,ca)=>b.createElement("div",{style:{display:"flex",alignItems:"center"}},b.createElement("div",{className:ca!=null&&ca.high_resources_consume?rn.title:"",title:Ia||"--"},b.createElement(Po.Z,{key:1,showLines:1,showTextOnly:!0,value:Ia||"--"})),(ca==null?void 0:ca.high_resources_consume)&&b.createElement(Yo.Z,{type:"shixun",style:{marginLeft:10}}))},{title:"\u96BE\u5EA6",dataIndex:"level"},{title:"\u5173\u5361\u6570\u91CF",dataIndex:"challenges_count",key:"challenges_count",render:(Ia,ca,Kn)=>b.createElement("span",null,Ia||"- -")},{title:"\u4F7F\u7528\u6B21\u6570",dataIndex:"study_count"},{title:b.createElement("span",null,"\u53D1\u5E03\u72B6\u6001 ",b.createElement(eo.Z,{title:"\u672A\u53D1\u5E03\u7684\u5B9E\u8DF5\u9879\u76EE\u4E0D\u80FD\u88AB\u9009\u7528"},b.createElement(oi.Z,null))),dataIndex:"shixun_tag_num_name",key:"shixun_tag_num_name",width:100,render:(Ia,ca,Kn)=>b.createElement("span",null,Ia||"- -")},{title:"\u64CD\u4F5C",render(Ia,ca){const{title:Kn,challenge_names:sr,author_name:mr,identifier:Br,author_school_name:Jr,study_count:dr}=ca||{};return b.createElement("div",null,b.createElement("span",{style:{color:"#165DFF",cursor:"pointer"},onClick:()=>{nn.default.confirm({title:"\u9898\u76EE\u8BE6\u60C5",closable:!0,width:1e3,centered:!0,icon:null,footer:null,content:b.createElement("div",null,b.createElement(Po.Z,{value:Kn,style:{marginBottom:18}}),b.createElement("div",{className:rn.challengeNameWrapper},sr.map((kr,cr)=>b.createElement("div",{className:rn.challengeName,key:cr},"\u7B2C",(0,xo.EM)(cr+1),"\u9898\xA0",kr))),b.createElement(je.Z,{className:rn.shixunPreviewFooter,justify:"space-between",style:{alignItems:"center"}},b.createElement(bt.Z,{className:rn.shixunInfoWrapper},b.createElement("span",null,"\u521B\u5EFA\u8005"),b.createElement("span",{className:rn.shixunInfo},mr.split("\u3001")[0]),b.createElement("span",null,"\u6240\u5C5E\u5355\u4F4D"),b.createElement("span",{className:rn.shixunInfo},Jr),b.createElement("span",null,"\u5B66\u4E60\u4EBA\u6570"),b.createElement("span",{className:rn.shixunInfo},dr)),b.createElement(le.ZP,{type:"primary",className:rn.btnToDetail,onClick:()=>(0,xo.xg)(`/shixuns/${Br}/challenges?exercise=true`)},b.createElement("i",{className:"iconfont icon-shixunkecheng"}),"\u5B9E\u8BAD\u8BE6\u60C5")))})}},"\u67E5\u770B"),(ca==null?void 0:ca.shixun_tag_num)===1&&b.createElement("a",{target:"_blank",href:`/shixuns/${ca==null?void 0:ca.identifier}/challenges`,style:{marginLeft:10}},"\u53BB\u53D1\u5E03"))}}],dataSource:dn==null?void 0:dn.items,rowSelection:{selectedRowKeys:or,preserveSelectedRowKeys:!0,getCheckboxProps:Ia=>({disabled:Ia.shixun_tag_num===1}),onChange(Ia,ca){var Kn,sr,mr;console.log(Ia),Qa(Ia);const Br=[];for(const dr of ao)Ia.includes(dr.id)&&Br.push(dr);const Jr=Br.map(dr=>dr.id);for(const dr of ca)dr&&Ia.includes(dr.id)&&!Jr.includes(dr.id)&&Br.push({id:dr.id,difficulty:dr.level,identifier:dr.identifier,name:dr.name,real_name:(Kn=dr==null?void 0:dr.author_name)==null?void 0:Kn.split("\u3001")[0],school_name:dr.author_school_name,challenge_names:dr.challenge_names,challenges:(sr=dr.challenge_names)==null?void 0:sr.map((kr,cr)=>({subject:kr,id:cr,score:5})),score:((mr=dr.challenge_names)==null?void 0:mr.length)*5,study_count:dr.study_count,challenges_count:dr.challenges_count});Fr(Br)}},pagination:{current:Pn.page,pageSize:Pn.limit,total:dn==null?void 0:dn.items_count,showTotal:Ia=>b.createElement("span",null,"\u5171\xA0",b.createElement("span",{style:{color:"#165DFF"}},Ia),"\xA0\u6761\u6570\u636E"),showQuickJumper:!0,onChange(Ia,ca){kt({page:Ia,limit:ca})},size:"default"},scroll:{y:400}}))},Vo=ae(57985),Eo=ae(59301),xi=Object.defineProperty,yo=Object.defineProperties,Mi=Object.getOwnPropertyDescriptors,ai=Object.getOwnPropertySymbols,Wi=Object.prototype.hasOwnProperty,Di=Object.prototype.propertyIsEnumerable,Ti=(gt,ht,zt)=>ht in gt?xi(gt,ht,{enumerable:!0,configurable:!0,writable:!0,value:zt}):gt[ht]=zt,Xo=(gt,ht)=>{for(var zt in ht||(ht={}))Wi.call(ht,zt)&&Ti(gt,zt,ht[zt]);if(ai)for(var zt of ai(ht))Di.call(ht,zt)&&Ti(gt,zt,ht[zt]);return gt},Ki=(gt,ht)=>yo(gt,Mi(ht)),$i=({onDelete:gt,list:ht,onSelect:zt})=>{const[An,Dn]=(0,b.useState)(!1),{dispatch:Pn,disabled:hn}=(0,b.useContext)(Be),kt=(Qa,ao,Fr)=>{const Ia=Array.from(Qa),[ca]=Ia.splice(ao,1);return Ia.splice(Fr,0,ca),Ia},[dn,_n]=(0,b.useState)(null),[la,or]=(0,b.useState)(!1);return Eo.createElement(Vo.Z5,{onDragStart:()=>{or(!0)},onDragEnd:Qa=>{if(or(!1),!Qa.destination)return;const ao=kt(ht,Qa.source.index,Qa.destination.index);Pn({type:"updateItemTypes",payload:ao})}},Eo.createElement(Vo.bK,{droppableId:"droppable"},(Qa,ao)=>Eo.createElement("div",Ki(Xo({},Qa.droppableProps),{ref:Qa.innerRef}),Eo.createElement(Ze.Z,{spinning:An},ht.map((Fr,Ia)=>Eo.createElement(Vo._l,{key:Ia,draggableId:Ia.toString(),index:Ia,isDragDisabled:dn!==Fr.item_type},(ca,Kn)=>Eo.createElement(je.Z,Ki(Xo(Xo({align:"middle",wrap:!1,ref:ca.innerRef},ca.draggableProps),ca.dragHandleProps),{className:`${rn.dragItem} ${la?rn.dragging:""}`}),Eo.createElement(bt.Z,{className:rn.contentArea,onClick:()=>{zt(Fr.item_type),(0,xo.k3)()}},Eo.createElement("span",{className:rn.blackText},(0,xo.EM)(Ia+1),"\u3001\u3010",Fr.item_type_text,"\u3011"),Eo.createElement(eo.Z,{title:`\uFF08${Fr.item_bank_count}\u5C0F\u9898\uFF0C\u5171${parseFloat(Fr.total_score).toFixed(1)}\u5206\uFF09`},Eo.createElement("span",{className:rn.greyText},`\uFF08${Fr.item_bank_count}\u5C0F\u9898\uFF0C\u5171${parseFloat(Fr.total_score).toFixed(1)}\u5206\uFF09`))),!hn&&Eo.createElement(Eo.Fragment,null,Eo.createElement(eo.Z,{title:"\u957F\u6309\u53EF\u8FDB\u884C\u62D6\u62FD\u6392\u5E8F",open:dn===Fr.item_type&&!la},Eo.createElement("div",{style:{cursor:"grab"},className:`${rn.iconWrapper} ${la?rn.hidden:""}`,onMouseEnter:()=>{_n(Fr.item_type)},onMouseLeave:()=>_n(null)},Eo.createElement("i",{className:`iconfont icon-tuodong1 ${rn.dragIcon}`}))),Eo.createElement(eo.Z,{title:"\u5220\u9664"},Eo.createElement("div",{className:`${rn.iconWrapper} ${la?rn.hidden:""}`,style:{cursor:"pointer"},onClick:()=>gt(Fr.item_type)},Eo.createElement("i",{className:`iconfont icon-shanchu12 ${rn.deleteIcon}`})))))))),Qa.placeholder)))},Yi=ae(10777),Kr={flex_box_center:"flex_box_center___ppkzA",flex_space_between:"flex_space_between___Z1syx",flex_box_vertical_center:"flex_box_vertical_center___twJ9S",flex_box_center_end:"flex_box_center_end___uI0uW",flex_box_column:"flex_box_column___JRp7D",timelineWrapper:"timelineWrapper___LP9aM",title:"title___KUHj_",desc:"desc___ubc8E",titles:"titles___njkjf",questionDetailWrapper:"questionDetailWrapper___p4SFM",questionTitle:"questionTitle___JC9X6",questionScoreInfo:"questionScoreInfo___NgOJI",deleteIcon:"deleteIcon___oMVTN",deleteBtn:"deleteBtn___JUPEl",normalText:"normalText___FW9Y_",folderIcon:"folderIcon___gvacQ",challengeNameWrapper:"challengeNameWrapper___fG7Vv",challengeName:"challengeName___Ia1Xs",shixunPreviewFooter:"shixunPreviewFooter___rKsnN",shixunInfoWrapper:"shixunInfoWrapper___FEnDb",shixunInfo:"shixunInfo___TbrA2",btnToDetail:"btnToDetail___dqLQP",q_title:"q_title___qnv4p"},Ta=ae(73631),na=ae(31328);const ia=(gt,ht,zt,An)=>{const Dn={[Ke.OnlyDifficulty]:[{title:"\u96BE\u5EA6",key:"difficulty",render(Pn,hn){const{difficulty:kt}=hn;return b.createElement("span",{style:{color:nt[kt].color}},nt[kt].label)}}],[Ke.OnlyKnowledge]:[{title:"\u77E5\u8BC6\u70B9",dataIndex:"tag_discipline_name",ellipsis:!0},{title:"\u65B9\u5411&\u8BFE\u7A0B",dataIndex:"sub_discipline_name",width:180,ellipsis:{showTitle:!0},render(Pn,hn){return`${Pn}`}}],[Ke.OnlyFileFolder]:[{title:"\u6587\u4EF6\u5939",render(Pn,hn,kt){const{group_name:dn,teacher_group_name:_n}=hn,la=dn||_n,or=_n?na:Ta;return b.createElement("div",{style:{display:"flex"}},b.createElement("img",{src:or,className:Kr.folderIcon})," ",b.createElement(eo.Z,{title:la},b.createElement("span",{className:Kr.titles},la)))}},{title:"\u7C7B\u578B",render(Pn,hn){const{teacher_group_name:kt}=hn;return b.createElement("span",null,kt?"\u56E2\u961F\u5171\u4EAB":"\u6211\u521B\u5EFA\u7684")}}],[Ke.KnowledgeAndDiff]:[{title:"\u77E5\u8BC6\u70B9",dataIndex:"tag_discipline_name",ellipsis:{showTitle:!0}},{title:"\u65B9\u5411&\u8BFE\u7A0B",width:180,dataIndex:"sub_discipline_name",ellipsis:{showTitle:!0}},{title:"\u96BE\u5EA6",key:"difficulty",render(Pn,hn){const{difficulty:kt}=hn;return b.createElement("span",{style:{color:nt[kt].color}},nt[kt].label)}}],[Ke.FileFolderAndKnowledge]:[{title:"\u77E5\u8BC6\u70B9",dataIndex:"tag_discipline_name",ellipsis:!0},{title:"\u6587\u4EF6\u5939",render(Pn,hn){const{group_name:kt,teacher_group_name:dn}=hn,_n=kt||dn,la=dn?na:Ta;return b.createElement("div",{style:{display:"flex"}},b.createElement("img",{src:la,className:Kr.folderIcon})," ",b.createElement(eo.Z,{title:_n},b.createElement("span",{className:Kr.titles},_n)))}},{title:"\u7C7B\u578B",render(Pn,hn){const{teacher_group_name:kt}=hn;return b.createElement("span",null,kt?"\u56E2\u961F\u5171\u4EAB":"\u6211\u521B\u5EFA\u7684")}}],[Ke.FileFolderAndDiff]:[{title:"\u6587\u4EF6\u5939",render(Pn,hn){const{group_name:kt,teacher_group_name:dn}=hn,_n=kt||dn,la=dn?na:Ta;return b.createElement("div",{style:{display:"flex"}},b.createElement("img",{src:la,className:Kr.folderIcon})," ",b.createElement(eo.Z,{title:_n},b.createElement("span",{className:Kr.titles},_n)))}},{title:"\u7C7B\u578B",render(Pn,hn){const{teacher_group_name:kt}=hn;return b.createElement("span",null,kt?"\u56E2\u961F\u5171\u4EAB":"\u6211\u521B\u5EFA\u7684")}},{title:"\u96BE\u5EA6",key:"difficulty",render(Pn,hn){const{difficulty:kt}=hn;return b.createElement("span",{style:{color:nt[kt].color}},nt[kt].label)}}],[Ke.All]:[{title:"\u77E5\u8BC6\u70B9",dataIndex:"tag_discipline_name",ellipsis:!0},{title:"\u6587\u4EF6\u5939",render(Pn,hn){const{group_name:kt,teacher_group_name:dn,teacher_group_id:_n}=hn,la=kt||dn,or=_n||_n===0?na:Ta;return b.createElement("div",{style:{display:"flex"}},b.createElement("img",{src:or,className:Kr.folderIcon})," ",b.createElement(eo.Z,{title:la},b.createElement("span",{className:Kr.titles},la)))}},{title:"\u7C7B\u578B",render(Pn,hn){const{teacher_group_id:kt}=hn;return b.createElement("span",null,kt||kt===0?"\u56E2\u961F\u5171\u4EAB":"\u6211\u521B\u5EFA\u7684")}},{title:"\u96BE\u5EA6",key:"difficulty",render(Pn,hn){const{difficulty:kt}=hn;return b.createElement("span",{style:{color:nt[kt].color}},nt[kt].label)}}],[Ke.Shixun]:[]};for(const Pn of Object.values(Dn))Pn.push({title:"\u62BD\u9898\u6570\u91CF",key:"quanlity",render(hn,kt){const{item_bank_num:dn,quanlity:_n,id:la,teacher_group_id:or}=kt||{};return b.createElement(je.Z,{align:"middle"},b.createElement(De.Z,{disabled:An,min:1,max:dn,size:"large",precision:0,value:_n,onChange:Qa=>{ht({type:"changeQuestionNum",payload:{itemType:zt,id:la,num:Qa,teacher_group_id:or}})}}),b.createElement("span",{className:"ml10 font14",style:{color:"#333333"}},"/",dn))}},{title:"\u64CD\u4F5C",key:"action",align:"right",render(hn,kt){const{id:dn,is_share:_n}=kt;return An?b.createElement("span",{className:"cursorNotAllowed c-grey-999"},"\u5220\u9664"):b.createElement("span",{className:Kr.deleteBtn,onClick:()=>{ht({type:"deleteRule",payload:{itemType:zt,id:dn,is_share:_n}})}},"\u5220\u9664")}});return Dn[gt]},Pa=({setVisibleModalType:gt})=>{var ht,zt,An,Dn;const{data:Pn,dispatch:hn,disabled:kt}=(0,b.useContext)(Be),dn=(ht=Pn==null?void 0:Pn.item_types)==null?void 0:ht.find(_n=>_n.item_type==="PRACTICAL");return b.createElement(Yi.Z,{className:Kr.timelineWrapper,items:[{children:b.createElement("div",{style:{transform:"translateY(-4px)"}},b.createElement(je.Z,{className:"mb20",align:"middle",justify:"space-between"},b.createElement(bt.Z,null,b.createElement("span",{className:Kr.title},"\u9898\u5E93\u9009\u9898"),b.createElement("span",{className:Kr.desc},"\uFF08\u9700\u8981\u5148\u4ECE\u9898\u5E93\u4E2D\u9009\u62E9\u5B9E\u8BAD\u9898\uFF0C\u518D\u8BBE\u7F6E\u4ECE\u5DF2\u9009\u5B9E\u8BAD\u9898\u4E2D\u968F\u673A\u62BD\u9898\u7684\u6570\u91CF\uFF09")),!kt&&b.createElement(Zt.op,{style:{width:102},onClick:()=>gt("selectShixun")},"\u4ECE\u9898\u5E93\u9009\u62E9")),((zt=dn==null?void 0:dn.item_banks)==null?void 0:zt.length)===0?b.createElement(wn.Z,{customText:"\u6682\u65E0\u5F85\u62BD\u8BD5\u9898\uFF0C\u8BF7\u5148\u4ECE\u9898\u5E93\u8FDB\u884C\u9009\u62E9\uFF5E"}):b.createElement(Yn.default,{rowKey:"id",className:"mb10",columns:[{title:"\u5E8F\u53F7",width:60,render(_n,la,or){return b.createElement("span",null,or+1)}},{title:"\u8BD5\u9898\u540D\u79F0",dataIndex:"name",width:"40%",ellipsis:{showTitle:!0},render:(_n,la)=>b.createElement("div",{style:{display:"flex",alignItems:"center"}},b.createElement("div",{className:la!=null&&la.high_resources_consume?Kr.q_title:"",title:_n||"--"},b.createElement(Po.Z,{key:1,showLines:1,showTextOnly:!0,value:_n})),(la==null?void 0:la.high_resources_consume)&&b.createElement(Yo.Z,{type:"shixun",style:{marginLeft:10}}))},{title:"\u4F7F\u7528\u6B21\u6570",dataIndex:"study_count"},{title:"\u5173\u5361\u6570\u91CF",dataIndex:"challenges_count",key:"challenges_count",render:(_n,la,or)=>b.createElement("span",null,_n||"- -")},{title:"\u96BE\u5EA6",dataIndex:"difficulty"},{title:"\u64CD\u4F5C",align:"right",width:180,render(_n,la,or){const{id:Qa,identifier:ao,name:Fr,challenge_names:Ia=[],real_name:ca,school_name:Kn,study_count:sr,challenges:mr=[]}=la||{};return b.createElement("div",null,b.createElement("span",{style:{color:"#165DFF",cursor:"pointer",marginLeft:20},onClick:()=>{nn.default.confirm({title:"\u9898\u76EE\u8BE6\u60C5",closable:!0,width:1e3,centered:!0,icon:null,footer:null,content:b.createElement("div",null,b.createElement(Po.Z,{value:Fr,style:{marginBottom:18}}),b.createElement("div",{className:Kr.challengeNameWrapper},mr==null?void 0:mr.map((Br,Jr)=>b.createElement("div",{className:Kr.challengeName,key:Jr},"\u7B2C",(0,xo.EM)(Jr+1),"\u9898\xA0",Br==null?void 0:Br.subject))),b.createElement(je.Z,{className:Kr.shixunPreviewFooter,justify:"space-between",style:{alignItems:"center"}},b.createElement(bt.Z,{className:Kr.shixunInfoWrapper},b.createElement("span",null,"\u521B\u5EFA\u8005"),b.createElement("span",{className:Kr.shixunInfo},ca),b.createElement("span",null,"\u6240\u5C5E\u5355\u4F4D"),b.createElement("span",{className:Kr.shixunInfo},Kn),b.createElement("span",null,"\u5B66\u4E60\u4EBA\u6570"),b.createElement("span",{className:Kr.shixunInfo},sr)),b.createElement(le.ZP,{type:"primary",className:Kr.btnToDetail,onClick:()=>(0,xo.xg)(`/shixuns/${ao}/challenges?exercise=true`)},b.createElement("i",{className:"iconfont icon-shixunkecheng"}),"\u5B9E\u8BAD\u8BE6\u60C5")))})}},"\u67E5\u770B"),!kt&&b.createElement("span",{onClick:()=>{hn({type:"deleteShixunQuestion",payload:{shixunId:Qa}})},className:`ml20 ${Kr.deleteBtn}`},"\u5220\u9664"))}}],dataSource:(dn==null?void 0:dn.item_banks)||[],pagination:!1}))},{children:b.createElement(je.Z,{style:{transform:(An=dn==null?void 0:dn.item_banks)!=null&&An.length?"translateY(-8px)":"none"},align:"middle",justify:"space-between"},b.createElement("span",{className:Kr.title},"\u5DF2\u9009\u5B9E\u8BAD\u9898\u4E2D\u968F\u673A\u62BD\u9898"),!!((Dn=dn==null?void 0:dn.item_banks)!=null&&Dn.length)&&b.createElement(bt.Z,null,b.createElement(je.Z,{align:"middle"},b.createElement("span",{className:Kr.normalText},"\u62BD\u9898\u6570\u91CF"),b.createElement(De.Z,{min:0,disabled:kt,max:dn==null?void 0:dn.item_bank_num,size:"large",precision:0,className:"ml10 mr10",value:(dn==null?void 0:dn.item_bank_count)||1,onChange:_n=>hn({type:"changeQuestionNum",payload:{num:_n||1,itemType:"PRACTICAL"}})}),b.createElement("span",{className:`${Kr.normalText} mr30`},"/",dn==null?void 0:dn.item_bank_num),b.createElement("span",{className:Kr.normalText},"\u6BCF\u9898\u5206\u503C"),b.createElement(De.Z,{disabled:kt,min:0,max:100,precision:1,size:"large",precision:1,className:"ml10 mr10",value:dn==null?void 0:dn.score,onChange:_n=>hn({type:"changeQuestionScore",payload:{score:_n,itemType:"PRACTICAL"}})}),b.createElement("span",{className:Kr.normalText},"\u5206"))))}]})};var _r=({setVisibleModalType:gt,currentItemType:ht,onDelete:zt})=>{var An,Dn;const Pn=(0,Re.useParams)(),{data:hn,dispatch:kt,disabled:dn}=(0,b.useContext)(Be),_n=((An=hn==null?void 0:hn.item_types)==null?void 0:An.findIndex(or=>or.item_type===ht))+1,la=(Dn=hn==null?void 0:hn.item_types)==null?void 0:Dn.find(or=>or.item_type===ht);return b.createElement("div",{className:Kr.questionDetailWrapper},b.createElement(je.Z,{justify:"space-between",align:"middle",className:"mb30"},b.createElement(bt.Z,null,b.createElement("span",{className:Kr.questionTitle},`${(0,xo.EM)(_n)}\u3001${la==null?void 0:la.item_type_text}`),b.createElement("span",{className:Kr.questionScoreInfo},"\uFF08",b.createElement("span",{style:{color:"#3061D0"}},la==null?void 0:la.item_bank_count),"\u5C0F\u9898 ",b.createElement("span",null,"\uFF0C\u5171",b.createElement("span",{style:{color:"#3061D0"}},la==null?void 0:la.total_score),"\u5206"),"\uFF09")),!dn&&b.createElement("i",{className:`iconfont icon-shanchutimu ${Kr.deleteIcon}`,onClick:()=>zt(ht)})),ht==="PRACTICAL"?b.createElement(Pa,{setVisibleModalType:gt}):b.createElement(b.Fragment,null,(la==null?void 0:la.contents.length)===0?b.createElement(wn.Z,{styles:{margin:"70px auto 100px auto"},customText:b.createElement("span",null,"\u6682\u65E0\u62BD\u9898\u89C4\u5219\uFF0C\u652F\u6301",b.createElement("span",{style:{color:"#EA9741"}},"\u6307\u5B9A\u6587\u4EF6\u5939\u3001\u96BE\u5EA6\u3001\u77E5\u8BC6\u70B9"),"\u8FDB\u884C\u62BD\u9898\uFF5E"),ButtonTwo:(Pn==null?void 0:Pn.id)&&b.createElement(je.Z,{justify:"center",className:"mt30"},b.createElement(Zt.op,{style:{width:136,marginTop:-10},onClick:()=>gt("rule")},"\u8BBE\u7F6E\u62BD\u9898\u89C4\u5219"))}):b.createElement(b.Fragment,null,b.createElement(je.Z,{justify:"space-between",align:"middle",className:"mb20"},b.createElement(bt.Z,null,b.createElement(je.Z,{align:"middle"},b.createElement("span",{className:`${Kr.normalText}`},"\u6BCF\u9898\u5206\u503C"),b.createElement(De.Z,{disabled:dn,size:"large",className:"ml10 mr10",min:.1,max:100,value:la==null?void 0:la.score,precision:1,onChange:or=>kt({type:"changeQuestionScore",payload:{score:or,itemType:ht}})}),b.createElement("span",{className:Kr.normalText},"\u5206"))),(Pn==null?void 0:Pn.id)&&b.createElement(Zt.op,{onClick:()=>gt("rule")},"\u8BBE\u7F6E\u62BD\u9898\u89C4\u5219")),b.createElement(Yn.default,{columns:ia(la==null?void 0:la.random_rule_type,kt,ht,dn),dataSource:la==null?void 0:la.contents,pagination:!1,rowKey:"id"}))))},no=ae(84842),fo=ae(81722),Ao=ae(48790),Bo=ae(32637),ka=ae(59301),jo=Object.defineProperty,Bi=Object.defineProperties,si=Object.getOwnPropertyDescriptors,ki=Object.getOwnPropertySymbols,Zi=Object.prototype.hasOwnProperty,zi=Object.prototype.propertyIsEnumerable,Ur=(gt,ht,zt)=>ht in gt?jo(gt,ht,{enumerable:!0,configurable:!0,writable:!0,value:zt}):gt[ht]=zt,Mo=(gt,ht)=>{for(var zt in ht||(ht={}))Zi.call(ht,zt)&&Ur(gt,zt,ht[zt]);if(ki)for(var zt of ki(ht))zi.call(ht,zt)&&Ur(gt,zt,ht[zt]);return gt},ol=(gt,ht)=>Bi(gt,si(ht)),vi=(gt,ht,zt)=>new Promise((An,Dn)=>{var Pn=dn=>{try{kt(zt.next(dn))}catch(_n){Dn(_n)}},hn=dn=>{try{kt(zt.throw(dn))}catch(_n){Dn(_n)}},kt=dn=>dn.done?An(dn.value):Promise.resolve(dn.value).then(Pn,hn);kt((zt=zt.apply(gt,ht)).next())}),il=({})=>{var gt,ht,zt,An,Dn,Pn,hn,kt,dn,_n,la,or,Qa,ao,Fr;const[Ia]=(0,Re.useSearchParams)(),ca=(0,Re.useParams)(),{data:Kn,dispatch:sr,setPreview:mr,getData:Br,handlePreview:Jr,disabled:dr}=(0,b.useContext)(Be),[kr,cr]=(0,b.useState)(""),[ya,yr]=(0,b.useState)((ht=(gt=Kn==null?void 0:Kn.item_types)==null?void 0:gt[0])==null?void 0:ht.item_type),[Vr,bo]=(0,b.useState)(!0),[ri,ji]=(0,b.useState)(!1),ze=(fn,On)=>vi(void 0,null,function*(){var Xn,Hn,Tn,un,Gn,da;const qa=Kn.item_types.map(jn=>jn.item_type_text),Ya=(Xn=Kn==null?void 0:Kn.item_types)==null?void 0:Xn.filter(jn=>{var Fa,rr;return((Fa=jn.contents)==null?void 0:Fa.length)>0||((rr=jn==null?void 0:jn.item_banks)==null?void 0:rr.length)>0});if(Kn.sort_by_item_type=qa,!((Hn=Kn.item_types)!=null&&Hn.length)){be.ZP.warning("\u8BD5\u9898\u603B\u6570=0\uFF0C\u8BF7\u5148\u8BBE\u7F6E\u62BD\u9898\u89C4\u5219");return}if((Ya==null?void 0:Ya.length)===0){be.ZP.warning("\u8BD5\u9898\u603B\u6570=0\uFF0C\u8BF7\u5148\u8BBE\u7F6E\u62BD\u9898\u89C4\u5219");return}let Qn=()=>vi(void 0,null,function*(){const jn=(0,Ye.cloneDeep)(Kn),{item_types:Fa}=jn||{};jn.item_types=Fa.filter(ba=>ba.item_type===ya),(yield pe(ca.id||ca.categoryId,jn)).status===0&&(yr(On),be.ZP.success("\u4FDD\u5B58\u6210\u529F"),fn||Re.history.push("/paperlibrary"))}),Vn=(un=(Tn=Kn==null?void 0:Kn.item_types)==null?void 0:Tn.filter(jn=>jn.item_type_text==="\u5B9E\u8BAD\u9898")[0])==null?void 0:un.item_banks,Nn=0;Vn==null||Vn.map(jn=>{jn.high_resources_consume&&(Nn=Nn+1)}),console.log(Nn),Nn>0?nn.default.info({centered:!0,icon:null,width:600,okText:"\u6211\u77E5\u9053\u4E86",title:"\u63D0\u793A",content:ka.createElement("div",null,ka.createElement("div",{className:rn.tipcontent},ka.createElement("div",null,ka.createElement("div",{className:rn.name},"\u60A8\u597D\uFF01",(Gn=(0,Ao.eY)())==null?void 0:Gn.username,"\uFF08",(da=(0,Ao.eY)())==null?void 0:da.login,"\uFF09\uFF1A"),ka.createElement("div",{className:rn.tip},"\u5F53\u524D\u8BD5\u5377\u5305\u542B\u9AD8\u6D88\u8017\u7C7B\u578B\u7684\u5B9E\u9A8C\u3002",ka.createElement("br",null),"\u6839\u636E\u5E73\u53F0\u4F7F\u7528\u89C4\u5219\uFF0C\u9700\u8981\u6388\u6743\u624D\u80FD\u4F7F\u7528\u3002\u53D1\u5E03\u8003\u8BD5\u524D\uFF0C\u8BF7\u5148\u8054\u7CFB\u5E73\u53F0\u7BA1\u7406\u5458\u83B7\u53D6\u6388\u6743\u7801\u3002"),ka.createElement("div",{className:rn.info},ka.createElement("i",{className:"iconfont icon-xunifangzhenti1 mr10 font26"}),ka.createElement("span",{className:"mr10",style:{color:"#6A7283"}},"\u9AD8\u6D88\u8017\u5B9E\u9A8C"),ka.createElement("span",{style:{color:"#232B40"}},`${Nn}\u4E2A`))),ka.createElement("div",null,ka.createElement("div",{className:rn.img},ka.createElement("img",{src:Bo,width:"124px",height:"124px"})),ka.createElement("div",{className:"tc font14 mt10",style:{color:"#777A93"}},"\u626B\u4E00\u626B\uFF0C\u83B7\u53D6\u6388\u6743\u7801")))),onOk:()=>{Qn()}}):Qn()}),tt=(fn,On,Xn,Hn=!1)=>vi(void 0,null,function*(){console.log(Kn);const Tn=ol(Mo(Mo({},Kn.exercise),ca),{exerciseId:ca.categoryId,sort_by_item_type:Kn.sort_by_item_type,difficulty:Kn.examination_bank.difficulty,exam_notes:Kn.examination_bank.exam_notes,exercise_name:Kn.examination_bank.name,time:Kn.examination_bank.time,changed_item_type:ya,item_types:Kn.item_types,changed_item_type:ya,sub_discipline_id:Kn.examination_bank.sub_discipline_id});(!fn||On===1)&&(Tn.is_reset=1);const un=yield(0,fo.wy)(Tn);return un.status===0&&(Hn||be.ZP.success("\u4FEE\u6539\u6210\u529F "),yr(Xn),fn||Re.history.push(`/classrooms/${ca.coursesId}/exercise/${ca.categoryId}/detail?random=true`)),un}),mt=fn=>{nn.default.confirm({title:"\u63D0\u793A",icon:null,centered:!0,closable:!0,content:ka.createElement("div",null,"\u786E\u8BA4\u5220\u9664\u8BE5\u9898\u578B\uFF1F"),onOk:()=>vi(void 0,null,function*(){var On,Xn,Hn,Tn;if(ca.id){if((yield $e(ca.id,{item_type:[fn]})).status!==0)return}else{const un=yield He(ca.categoryId,{item_type:[fn]});if(Br(),un.status!==0)return}if(sr({type:"deleteQuestionType",payload:fn}),fn===ya){const un=Fe(Kn,{type:"deleteQuestionType",payload:fn});yr(un.item_types.length?un.item_types[0].item_type:(Xn=(On=Kn==null?void 0:Kn.item_types)==null?void 0:On[0])==null?void 0:Xn.item_type)}else yr((Tn=(Hn=Kn==null?void 0:Kn.item_types)==null?void 0:Hn[0])==null?void 0:Tn.item_type)})})};(0,b.useEffect)(()=>{var fn;(fn=Kn==null?void 0:Kn.examination_bank)!=null&&fn.name&&bo(!1),(0,xo.Dk)("\u968F\u673A\u7EC4\u5377")},[(zt=Kn==null?void 0:Kn.examination_bank)==null?void 0:zt.name]);const Ct=()=>vi(void 0,null,function*(){var fn;let On=yield tt(!0,1,ya,!0);if((On==null?void 0:On.status)===0){const Xn=yield(0,E.ZP)(`/api/exercises/${ca==null?void 0:ca.categoryId}/simulate_start_answer.json`,{method:"get",params:{coursesId:ca==null?void 0:ca.coursesId,categoryId:ca==null?void 0:ca.categoryId}});(Xn==null?void 0:Xn.status)!=-1&&window.open(`/classrooms/${ca.coursesId}/exercise/${ca.categoryId}/${(fn=(0,Ao.eY)())==null?void 0:fn.login}/initate_answer`)}});return ka.createElement("div",{className:rn.questionInfo},ka.createElement("div",{className:"tc mb20"},ka.createElement(ue.VP,{defaultValue:(An=Kn==null?void 0:Kn.examination_bank)==null?void 0:An.name,onFinish:fn=>vi(void 0,null,function*(){return sr({type:"updateBaseInfo",payload:ol(Mo({},Kn.examination_bank),{name:fn})}),(0,fo.wy)({exercise_name:fn,exerciseId:ca==null?void 0:ca.categoryId}),!0})})),ka.createElement(je.Z,{justify:"center",className:"mb20"},ka.createElement(bt.Z,{className:"mr30"},ka.createElement("span",{className:rn.label},"\u7B54\u9898\u65F6\u957F"),ka.createElement("span",null,((Dn=Kn==null?void 0:Kn.examination_bank)==null?void 0:Dn.time)===-1?"\u4E0D\u9650":((Pn=Kn==null?void 0:Kn.examination_bank)==null?void 0:Pn.time)||"\u4E0D\u9650")),ka.createElement(bt.Z,{className:"mr30"},ka.createElement("span",{className:rn.label},"\u96BE\u5EA6"),ka.createElement("span",null,(kt=nt[`${(hn=Kn==null?void 0:Kn.examination_bank)==null?void 0:hn.difficulty}`])==null?void 0:kt.label)),ka.createElement(bt.Z,{className:"mr30"},ka.createElement("span",{className:rn.label},"\u8BD5\u9898\u603B\u6570"),ka.createElement("span",null,((dn=Kn==null?void 0:Kn.examination_bank)==null?void 0:dn.question_count)||0)),ka.createElement(bt.Z,null,ka.createElement("span",{className:rn.label},"\u603B\u5206"),ka.createElement("span",null,((la=(_n=Kn==null?void 0:Kn.examination_bank)==null?void 0:_n.total_score)==null?void 0:la.toFixed(1))||0))),ka.createElement("div",{className:rn.content,style:{border:((or=Kn==null?void 0:Kn.item_types)==null?void 0:or.length)<=0&&"none"}},((Qa=Kn==null?void 0:Kn.item_types)==null?void 0:Qa.length)>0?ka.createElement(je.Z,{wrap:!1},ka.createElement(bt.Z,{flex:"260px",className:rn.leftPart},!dr&&ka.createElement(je.Z,{className:"mb20"},ka.createElement(Zt.op,{style:{margin:"0 15px",borderRadius:2},onClick:()=>cr("setScore")},"\u6279\u91CF\u8BBE\u7F6E\u5206\u503C"),(ca==null?void 0:ca.id)&&ka.createElement(Zt.op,{shape:"default",onClick:()=>cr("questionType")},"\u6DFB\u52A0\u9898\u578B")),ka.createElement($i,{list:Kn.item_types,onSelect:fn=>vi(void 0,null,function*(){if(fn===ya)return;bo(!0);const On=Kn.item_types.find(Xn=>Xn.item_type===ya);if(ya!=="PRACTICAL"&&On.contents.length>0&&(ca!=null&&ca.id)){const Xn=(0,Ye.cloneDeep)(Kn),{item_types:Hn}=Xn||{};Xn.item_types=Hn.filter(Tn=>Tn.item_type===ya);try{(yield pe(ca.id||ca.categoryId,Xn)).status===0&&yr(fn)}catch(Tn){}}else ca.categoryId?tt(!0,2,fn):ze(!0,fn);bo(!1)}),onDelete:mt})),ka.createElement(bt.Z,{flex:1,className:rn.rightPart},ka.createElement(Ze.Z,{spinning:Vr},ka.createElement(_r,{setVisibleModalType:cr,currentItemType:ya,onDelete:mt})))):ka.createElement(wn.Z,{customText:"\u8BF7\u5148\u8BBE\u7F6E\u8BD5\u5377\u9898\u578B",styles:{margin:"70px auto"},ButtonTwo:ka.createElement(je.Z,{justify:"center",className:"mt20"},(ca==null?void 0:ca.id)&&ka.createElement(Zt.op,{style:{width:88},onClick:()=>cr("questionType")},"\u6DFB\u52A0\u9898\u578B"))})),!!(ca!=null&&ca.id)&&ka.createElement("div",{className:rn.fixedBottom},ka.createElement(no.Z,{className:`${rn.previewBtn} mr20`,onClick:()=>vi(void 0,null,function*(){var fn,On;const Xn=(fn=Kn==null?void 0:Kn.item_types)==null?void 0:fn.filter(Hn=>{var Tn,un;return((Tn=Hn.contents)==null?void 0:Tn.length)>0||((un=Hn==null?void 0:Hn.item_banks)==null?void 0:un.length)>0});if(!((On=Kn.item_types)!=null&&On.length)){be.ZP.warning("\u8BD5\u9898\u603B\u6570=0\uFF0C\u8BF7\u5148\u8BBE\u7F6E\u62BD\u9898\u89C4\u5219");return}if((Xn==null?void 0:Xn.length)===0){be.ZP.warning("\u8BD5\u9898\u603B\u6570=0\uFF0C\u8BF7\u5148\u8BBE\u7F6E\u62BD\u9898\u89C4\u5219");return}yield ze(!0,ya),Jr()})},"\u8BD5\u5377\u9884\u89C8"),ka.createElement(no.Z,{type:"primary",className:rn.confirmBtn,onClick:()=>ze()},ka.createElement("i",{className:"iconfont icon-baocun1 mr5"}),"\u4FDD\u5B58\u8BD5\u5377")),!!(ca!=null&&ca.categoryId)&&ka.createElement("div",{className:rn.fixedBottom,style:{justifyContent:((ao=Kn==null?void 0:Kn.exercise)==null?void 0:ao.exercise_status)!==1?"end":"center"}},ka.createElement(no.Z,{className:`${rn.previewBtn} mr20`,onClick:()=>vi(void 0,null,function*(){var fn,On;document.body.scrollIntoView(),Re.history.push(`/classrooms/${ca.coursesId}/exercise/${(fn=Kn==null?void 0:Kn.exercise)==null?void 0:fn.id}/detail?random=${(On=Kn==null?void 0:Kn.exercise)==null?void 0:On.is_random}`)})},"\u8FD4\u56DE"),((Fr=Kn==null?void 0:Kn.exercise)==null?void 0:Fr.exercise_status)===1&&ka.createElement(no.Z,{className:`${rn.previewBtn} mr20`,onClick:Ct},"\u6A21\u62DF\u8003\u8BD5"),(Kn==null?void 0:Kn.exercise.exercise_status)===1&&ka.createElement(no.Z,{type:"primary",className:rn.confirmBtn,onClick:()=>tt()},"\u63D0\u4EA4")),ka.createElement(Wn,{open:kr==="questionType",onCancel:()=>cr(""),onOk:fn=>vi(void 0,null,function*(){var On,Xn;const Hn=[],Tn=Fe(Kn,{type:"setQuestionType",payload:fn}),un=((On=Tn==null?void 0:Tn.item_types)==null?void 0:On.map(Gn=>Gn.item_type))||[];for(const Gn of((Xn=Kn==null?void 0:Kn.item_types)==null?void 0:Xn.map(da=>da.item_type))||[])un.includes(Gn)||Hn.push(Gn);ca.id&&Hn.length>0&&(yield $e(ca.id,{item_type:Hn})).status!==0||(sr({type:"setQuestionType",payload:fn}),yr(ya||Tn.item_types[0].item_type),cr(""))})}),ka.createElement(Wa,{open:kr==="setScore",onCancel:()=>{cr("")},onOk:fn=>vi(void 0,null,function*(){console.log("---newData",fn);const On=fn.item_types.map(Xn=>({item_type:Xn.item_type,score:Xn.score}));ca.id?(yield Le(ca.id,{score_settings:On})).status===0&&sr({type:"init",payload:fn}):(yield ve(ca.categoryId,{score_settings:On})).status===0&&sr({type:"init",payload:fn}),cr("")})}),ka.createElement(Ba,{open:kr==="rule",onCancel:()=>cr(""),currentItemType:ya,setVisibleModalType:cr}),Ia.get("type")==="settings"&&ka.createElement(Ci,{open:kr==="selectShixun",onCancel:()=>cr(""),onOk:fn=>{if(console.log(fn),(fn==null?void 0:fn.length)<=0){be.ZP.info("\u5B9E\u8BAD\u6570\u4E0D\u80FD\u4E3A0");return}sr({type:"addShixun",payload:{shixunList:[...fn]}}),cr("")}}))},Xi=ae(43554),To=ae(59301),qi=Object.defineProperty,el=Object.defineProperties,ll=Object.getOwnPropertyDescriptors,ul=Object.getOwnPropertySymbols,Rl=Object.prototype.hasOwnProperty,ql=Object.prototype.propertyIsEnumerable,_l=(gt,ht,zt)=>ht in gt?qi(gt,ht,{enumerable:!0,configurable:!0,writable:!0,value:zt}):gt[ht]=zt,Ri=(gt,ht)=>{for(var zt in ht||(ht={}))Rl.call(ht,zt)&&_l(gt,zt,ht[zt]);if(ul)for(var zt of ul(ht))ql.call(ht,zt)&&_l(gt,zt,ht[zt]);return gt},Fl=(gt,ht)=>el(gt,ll(ht)),tl=(gt,ht,zt)=>new Promise((An,Dn)=>{var Pn=dn=>{try{kt(zt.next(dn))}catch(_n){Dn(_n)}},hn=dn=>{try{kt(zt.throw(dn))}catch(_n){Dn(_n)}},kt=dn=>dn.done?An(dn.value):Promise.resolve(dn.value).then(Pn,hn);kt((zt=zt.apply(gt,ht)).next())}),Gl=()=>{var gt,ht,zt,An;const[Dn,Pn]=(0,b.useState)("baseInfo"),hn=(0,Re.useDispatch)();(0,b.useEffect)(()=>{hn({type:"globalSetting/footerToggle",payload:!1})},[]);const kt=(0,Re.useParams)(),dn=!!(kt.id||kt.categoryId),[_n]=(0,Re.useSearchParams)();(0,b.useEffect)(()=>{_n.get("type")==="settings"&&Pn("settings")},[]);const[la,or]=(0,b.useReducer)(Fe,null),[Qa,ao]=(0,b.useState)(!1),Fr=()=>tl(void 0,null,function*(){ao(!0);let ya;kt.categoryId?ya=yield lt(kt):ya=yield ce(kt.id),ao(!1),ya.status===0&&or({type:"init",payload:ya})});(0,b.useEffect)(()=>{dn?Fr():or({type:"init",payload:{examination_bank:{difficulty:2}}})},[kt]);const[Ia,ca]=(0,b.useState)(""),Kn=(ya,yr)=>tl(void 0,null,function*(){var Vr,bo,ri,ji;const ze=(Vr=la==null?void 0:la.item_types)==null?void 0:Vr.filter(Ct=>{var fn;return((fn=Ct==null?void 0:Ct.item_type)==null?void 0:fn.toUpperCase())===(yr==null?void 0:yr.type)}),tt={sort_by_item_type:la.sort_by_item_type,difficulty:la.examination_bank.difficulty,exam_notes:la.examination_bank.exam_notes,name:la.examination_bank.name,time:la.examination_bank.time,item_types:la.item_types};if(ya!==void 0&&!(ya!=null&&ya.single_question_id)){tt.seleted_item_bank_ids=ya==null?void 0:ya.seleted_item_bank_ids,tt.item_types=ze;const Ct=yield Ne(tt);if((Ct==null?void 0:Ct.status)===0){let fn=(0,Ye.cloneDeep)(dr.data);fn.questionList=(bo=fn==null?void 0:fn.questionList)==null?void 0:bo.map(On=>{var Xn;return On.type===yr.type?Fl(Ri({},On),{questions:((Xn=Ct==null?void 0:Ct.questions)==null?void 0:Xn.questions)||[]}):On}),kr({show:!0,data:fn})}return}if(ya!==void 0&&(ya!=null&&ya.single_question_id)){tt.seleted_item_bank_ids=ya==null?void 0:ya.seleted_item_bank_ids,tt.single_question_id=ya==null?void 0:ya.single_question_id,tt.item_types=ze;const Ct=yield Ne(tt);if((Ct==null?void 0:Ct.status)===0){let fn=(0,Ye.cloneDeep)(dr.data);fn.questionList=(ri=fn==null?void 0:fn.questionList)==null?void 0:ri.map(On=>{var Xn,Hn;if(On.type===yr.type){const Tn=(0,Ye.cloneDeep)(On==null?void 0:On.questions);return Tn.splice(yr.index,1,(Hn=(Xn=Ct==null?void 0:Ct.questions)==null?void 0:Xn.questions)==null?void 0:Hn[0]),console.log(On==null?void 0:On.questions,Tn,yr.index,"new_questions"),Fl(Ri({},On),{questions:Tn})}return On}),kr({show:!0,data:fn})}return}const mt=yield it(tt);if((mt==null?void 0:mt.status)===0){const Ct=(0,xo.ad)(mt);let fn=[];(ji=la==null?void 0:la.item_types)==null||ji.forEach(On=>{var Xn;const Hn=(Xn=Ct==null?void 0:Ct.questionList)==null?void 0:Xn.find(Tn=>On.item_type===Tn.type);fn.push(Hn)}),console.log(la,"sortList"),fn=(0,Ye.compact)(fn),Ct.questionList=fn,kr({show:!0,data:Ct}),ca(new Date)}}),sr=ya=>{var yr;let Vr=(0,Ye.cloneDeep)(dr.data);Vr.questionList=(yr=Vr==null?void 0:Vr.questionList)==null?void 0:yr.map(bo=>bo.type===ya.type?Fl(Ri({},bo),{questions_score:ya.scoreTotal}):bo),or({type:"changeQuestionScore",payload:{score:ya.score,itemType:ya.type}}),kr({show:!0,data:Vr})},mr=ya=>tl(void 0,null,function*(){const yr={sort_by_item_type:la.sort_by_item_type,difficulty:la.examination_bank.difficulty,exam_notes:la.examination_bank.exam_notes,name:la.examination_bank.name,time:la.examination_bank.time,item_types:la.item_types,sub_discipline_id:la.examination_bank.sub_discipline_id};if(ya){(yield Qe(Ri(Ri({},yr),ya))).status===0&&be.ZP.success("\u4FDD\u5B58\u6210\u529F");return}(yield pe(kt.id,yr)).status===0&&(be.ZP.success("\u63D0\u4EA4\u6210\u529F"),Re.history.push("/paperlibrary?defaultActiveKey=0"))}),Br=(0,mo.g)(),[Jr]=Ae.default.useForm(),[dr,kr]=(0,b.useState)({show:!1,data:{}}),cr=!!((gt=la==null?void 0:la.exercise)!=null&&gt.exercise_status)&&((ht=la==null?void 0:la.exercise)==null?void 0:ht.exercise_status)!==1;return To.createElement(Be.Provider,{value:{data:la,disabled:cr,dispatch:or,setPreview:kr,getData:Fr,handlePreview:Kn}},dr.show?To.createElement(Xi.Z,{key:Ia,data:dr.data,onExchange:Kn,onTypeScore:sr,submit:mr,goBack:()=>kr({show:!1,data:{}})}):To.createElement("div",{className:se.wrapper},To.createElement("div",{className:"edu-container"},To.createElement(Ie.Z,{className:se.breadCrumbWrapper,separator:">",items:kt!=null&&kt.categoryId?[{title:To.createElement(Re.Link,{to:`/classrooms/${kt.coursesId}/exercise`},(An=(zt=(0,Ao.eY)())==null?void 0:zt.course)==null?void 0:An.course_name)},{title:To.createElement(Re.Link,{to:`/classrooms/${kt.coursesId}/exercise`},"\u8BD5\u5377\u5217\u8868")},{title:"\u7F16\u8F91\u8BD5\u5377"}]:[{title:To.createElement(Re.Link,{to:"/paperlibrary"},"\u8BD5\u5377\u5E93")},{title:"\u968F\u673A\u7EC4\u5377"}]}),To.createElement(ue.d4,{activeKey:Dn,tabs:[{key:"baseInfo",label:"\u8BD5\u5377\u57FA\u7840\u4FE1\u606F"},{key:"settings",label:"\u7EC4\u5377\u914D\u7F6E"}],onChange:ya=>tl(void 0,null,function*(){if(ya==="settings"&&(yield Jr.validateFields(),!dn)){const yr=yield ge(la);yr.status===0&&Re.history.replace(`/randompaper/edit/${yr==null?void 0:yr.examination_bank_id}?type=settings`)}Pn(ya)})}),Dn==="baseInfo"&&To.createElement($t,{courseOptions:Br,setCurrentKey:Pn,loading:Qa,form:Jr}),To.createElement("div",{style:{display:Dn==="settings"?"block":"none"}},la&&To.createElement(il,null)))))}},52154:function(_t,Rt,ae){"use strict";ae.d(Rt,{Z:function(){return Te}});var b=ae(43418),se={ul:"ul___TdfYY"},be=ae(32637),Ae=ae(59301),Ie=Object.getOwnPropertySymbols,Re=Object.prototype.hasOwnProperty,ue=Object.prototype.propertyIsEnumerable,Ze=(ke,je)=>{var De={};for(var le in ke)Re.call(ke,le)&&je.indexOf(le)<0&&(De[le]=ke[le]);if(ke!=null&&Ie)for(var le of Ie(ke))je.indexOf(le)<0&&ue.call(ke,le)&&(De[le]=ke[le]);return De},Te=ke=>{var je=ke,{open:De,onCancel:le}=je,E=Ze(je,["open","onCancel"]);return Ae.createElement(b.default,{centered:!0,open:De,title:Ae.createElement("div",{style:{fontWeight:"bold"}},"\u8054\u7CFB\u6559\u7814\u52A9\u7406"),width:"696px",onCancel:le,footer:null},Ae.createElement("div",null,Ae.createElement("div",{className:"tc"},Ae.createElement("img",{className:"mt10",src:be,width:"182px",height:"181px",style:{borderRadius:"2px",border:"1px solid #D8E3E9"}})),Ae.createElement("div",{style:{color:"#191919",fontWeight:"bold"},className:"tc font16 mt10"},"\u514D\u8D39\u6559\u7814\u52A9\u7406"),Ae.createElement("div",{style:{color:"#191919",fontWeight:"bold"},className:"tc font16"},"\u5FAE\u4FE1\u626B\u4E00\u626B\u6DFB\u52A0"),Ae.createElement("div",{style:{color:"#333"},className:"pt30 font14"},Ae.createElement("ul",{className:se.ul},Ae.createElement("li",null,"1\u3001\u89E3\u7B54\u8001\u5E08\u7591\u60D1\u3001\u5E2E\u52A9\u8001\u5E08\u66F4\u5FEB\u719F\u6089\u548C\u4F7F\u7528\u5E73\u53F0\u6559\u5B66\u3002"),Ae.createElement("li",null,"2\u3001\u534F\u52A9\u8001\u5E08\u521B\u5EFA\u8BFE\u5802\u3001\u8BFE\u7A0B\u8BBE\u8BA1\u3001\u505A\u597D\u6559\u5B66\u5DE5\u4F5C\u3002"),Ae.createElement("li",null,"3\u3001\u6839\u636E\u8001\u5E08\u6559\u5B66\u65B9\u5411\uFF0C\u5206\u4EAB\u5934\u6B4C\u5E73\u53F0C9\u9662\u6821\u3001985\u9AD8\u6821\u3001211\u9AD8\u6821\u3001\u53CC\u4E00\u6D41\u9AD8\u6821\u8001\u5E08\u7ECF\u5178\u5B9E\u8DF5\u6559\u5B66\u6848\u4F8B\u3002")))))}},58433:function(_t,Rt,ae){"use strict";ae.d(Rt,{g:function(){return Ie}});var b=ae(59301),se=ae(93629),be=ae(55305),Ae=(Re,ue,Ze)=>new Promise((We,Te)=>{var ke=le=>{try{De(Ze.next(le))}catch(E){Te(E)}},je=le=>{try{De(Ze.throw(le))}catch(E){Te(E)}},De=le=>le.done?We(le.value):Promise.resolve(le.value).then(ke,je);De((Ze=Ze.apply(Re,ue)).next())});const Ie=()=>{const[Re,ue]=(0,b.useState)([]);return(0,b.useEffect)(()=>{Ae(void 0,null,function*(){const We=yield(0,se.d1)({source:"question"});We!=null&&We.disciplines&&ue((0,be.L)(We==null?void 0:We.disciplines))})},[]),Re}},45937:function(_t,Rt,ae){"use strict";ae.d(Rt,{U:function(){return We}});var b=ae(59301),se=Object.defineProperty,be=Object.getOwnPropertySymbols,Ae=Object.prototype.hasOwnProperty,Ie=Object.prototype.propertyIsEnumerable,Re=(Te,ke,je)=>ke in Te?se(Te,ke,{enumerable:!0,configurable:!0,writable:!0,value:je}):Te[ke]=je,ue=(Te,ke)=>{for(var je in ke||(ke={}))Ae.call(ke,je)&&Re(Te,je,ke[je]);if(be)for(var je of be(ke))Ie.call(ke,je)&&Re(Te,je,ke[je]);return Te},Ze=(Te,ke,je)=>new Promise((De,le)=>{var E=y=>{try{x(je.next(y))}catch(z){le(z)}},a=y=>{try{x(je.throw(y))}catch(z){le(z)}},x=y=>y.done?De(y.value):Promise.resolve(y.value).then(E,a);x((je=je.apply(Te,ke)).next())});function We(Te,ke){const[je,De]=(0,b.useState)(ke),[le,E]=(0,b.useState)(!1),[a,x]=(0,b.useState)();return[je,le,(z,te=!1)=>Ze(this,null,function*(){const re=te?ke:ue(ue({},je),z);E(!0),De(re);const ie=yield Te(re);return E(!1),x(ie),ie}),a]}},50371:function(_t,Rt){"use strict";function ae(){const b=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let se=1;se<arguments.length;se++){const be=se<0||arguments.length<=se?void 0:arguments[se];be&&Object.keys(be).forEach(Ae=>{const Ie=be[Ae];Ie!==void 0&&(b[Ae]=Ie)})}return b}Rt.Z=ae},77578:function(_t,Rt,ae){"use strict";ae.d(Rt,{Z:function(){return b}});const b=se=>se?typeof se=="function"?se():se:null},13845:function(_t,Rt,ae){"use strict";ae.d(Rt,{F:function(){return b},Z:function(){return se}});function b(be){return be!=null&&be===be.window}function se(be,Ae){var Ie,Re;if(typeof window=="undefined")return 0;const ue=Ae?"scrollTop":"scrollLeft";let Ze=0;return b(be)?Ze=be[Ae?"pageYOffset":"pageXOffset"]:be instanceof Document?Ze=be.documentElement[ue]:(be instanceof HTMLElement||be)&&(Ze=be[ue]),be&&!b(be)&&typeof Ze!="number"&&(Ze=(Re=((Ie=be.ownerDocument)!==null&&Ie!==void 0?Ie:be).documentElement)===null||Re===void 0?void 0:Re[ue]),Ze}},56762:function(_t,Rt,ae){"use strict";ae.d(Rt,{Z:function(){return se}});var b=ae(59301);function se(){const[,be]=b.useReducer(Ae=>Ae+1,0);return be}},68031:function(_t,Rt,ae){"use strict";ae.d(Rt,{Z:function(){return Ae}});var b=ae(16089);function se(Ie,Re,ue,Ze){const We=ue-Re;return Ie/=Ze/2,Ie<1?We/2*Ie*Ie*Ie+Re:We/2*((Ie-=2)*Ie*Ie+2)+Re}var be=ae(13845);function Ae(Ie){let Re=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{getContainer:ue=()=>window,callback:Ze,duration:We=450}=Re,Te=ue(),ke=(0,be.Z)(Te,!0),je=Date.now(),De=()=>{const E=Date.now()-je,a=se(E>We?We:E,ke,Ie,We);(0,be.F)(Te)?Te.scrollTo(window.pageXOffset,a):Te instanceof Document||Te.constructor.name==="HTMLDocument"?Te.documentElement.scrollTop=a:Te.scrollTop=a,E<We?(0,b.Z)(De):typeof Ze=="function"&&Ze()};(0,b.Z)(De)}},66104:function(_t,Rt,ae){"use strict";ae.d(Rt,{Z:function(){return it}});var b=ae(92310),se=ae.n(b),be=ae(11592),Ae=ae(26112),Ie=ae(59301),Re=ae(92343),ue=ae(36355),Ze=ae(84105),We=ae(91857);const Te=Ne=>{let{children:Qe}=Ne;const{getPrefixCls:lt}=Ie.useContext(ue.E_),Ke=lt("breadcrumb");return Ie.createElement("li",{className:`${Ke}-separator`,"aria-hidden":"true"},Qe===""?Qe:Qe||"/")};Te.__ANT_BREADCRUMB_SEPARATOR=!0;var ke=Te,je=function(Ne,Qe){var lt={};for(var Ke in Ne)Object.prototype.hasOwnProperty.call(Ne,Ke)&&Qe.indexOf(Ke)<0&&(lt[Ke]=Ne[Ke]);if(Ne!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ye=0,Ke=Object.getOwnPropertySymbols(Ne);Ye<Ke.length;Ye++)Qe.indexOf(Ke[Ye])<0&&Object.prototype.propertyIsEnumerable.call(Ne,Ke[Ye])&&(lt[Ke[Ye]]=Ne[Ke[Ye]]);return lt};function De(Ne,Qe){if(Ne.title===void 0||Ne.title===null)return null;const lt=Object.keys(Qe).join("|");return typeof Ne.title=="object"?Ne.title:String(Ne.title).replace(new RegExp(`:(${lt})`,"g"),(Ke,Ye)=>Qe[Ye]||Ke)}function le(Ne,Qe,lt,Ke){if(lt==null)return null;const{className:Ye,onClick:Kt}=Qe,ot=je(Qe,["className","onClick"]),Ht=Object.assign(Object.assign({},(0,Ae.Z)(ot,{data:!0,aria:!0})),{onClick:Kt});return Ke!==void 0?Ie.createElement("a",Object.assign({},Ht,{className:se()(`${Ne}-link`,Ye),href:Ke}),lt):Ie.createElement("span",Object.assign({},Ht,{className:se()(`${Ne}-link`,Ye)}),lt)}function E(Ne,Qe){return(Ke,Ye,Kt,ot,Ht)=>{if(Qe)return Qe(Ke,Ye,Kt,ot);const en=De(Ke,Ye);return le(Ne,Ke,en,Ht)}}var a=function(Ne,Qe){var lt={};for(var Ke in Ne)Object.prototype.hasOwnProperty.call(Ne,Ke)&&Qe.indexOf(Ke)<0&&(lt[Ke]=Ne[Ke]);if(Ne!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ye=0,Ke=Object.getOwnPropertySymbols(Ne);Ye<Ke.length;Ye++)Qe.indexOf(Ke[Ye])<0&&Object.prototype.propertyIsEnumerable.call(Ne,Ke[Ye])&&(lt[Ke[Ye]]=Ne[Ke[Ye]]);return lt};const x=Ne=>{const{prefixCls:Qe,separator:lt="/",children:Ke,menu:Ye,overlay:Kt,dropdownProps:ot,href:Ht}=Ne,Je=(ft=>{if(Ye||Kt){const Dt=Object.assign({},ot);if(Ye){const ln=Ye||{},{items:yt}=ln,Yt=a(ln,["items"]);Dt.menu=Object.assign(Object.assign({},Yt),{items:yt==null?void 0:yt.map((Be,Ut)=>{var{key:Cn,title:Ft,label:It,path:nt}=Be,Ue=a(Be,["key","title","label","path"]);let Fe=It!=null?It:Ft;return nt&&(Fe=Ie.createElement("a",{href:`${Ht}${nt}`},Fe)),Object.assign(Object.assign({},Ue),{key:Cn!=null?Cn:Ut,label:Fe})})})}else Kt&&(Dt.overlay=Kt);return Ie.createElement(We.Z,Object.assign({placement:"bottom"},Dt),Ie.createElement("span",{className:`${Qe}-overlay-link`},ft,Ie.createElement(Ze.Z,null)))}return ft})(Ke);return Je!=null?Ie.createElement(Ie.Fragment,null,Ie.createElement("li",null,Je),lt&&Ie.createElement(ke,null,lt)):null},y=Ne=>{const{prefixCls:Qe,children:lt,href:Ke}=Ne,Ye=a(Ne,["prefixCls","children","href"]),{getPrefixCls:Kt}=Ie.useContext(ue.E_),ot=Kt("breadcrumb",Qe);return Ie.createElement(x,Object.assign({},Ye,{prefixCls:ot}),le(ot,Ye,lt,Ke))};y.__ANT_BREADCRUMB_ITEM=!0;var z=y,te=ae(17313),re=ae(83116),ie=ae(37613);const ce=Ne=>{const{componentCls:Qe,iconCls:lt}=Ne;return{[Qe]:Object.assign(Object.assign({},(0,te.Wf)(Ne)),{color:Ne.itemColor,fontSize:Ne.fontSize,[lt]:{fontSize:Ne.iconFontSize},ol:{display:"flex",flexWrap:"wrap",margin:0,padding:0,listStyle:"none"},a:Object.assign({color:Ne.linkColor,transition:`color ${Ne.motionDurationMid}`,padding:`0 ${Ne.paddingXXS}px`,borderRadius:Ne.borderRadiusSM,height:Ne.lineHeight*Ne.fontSize,display:"inline-block",marginInline:-Ne.marginXXS,"&:hover":{color:Ne.linkHoverColor,backgroundColor:Ne.colorBgTextHover}},(0,te.Qy)(Ne)),"li:last-child":{color:Ne.lastItemColor},[`${Qe}-separator`]:{marginInline:Ne.separatorMargin,color:Ne.separatorColor},[`${Qe}-link`]:{[`
> ${lt} + span,
> ${lt} + a
`]:{marginInlineStart:Ne.marginXXS}},[`${Qe}-overlay-link`]:{borderRadius:Ne.borderRadiusSM,height:Ne.lineHeight*Ne.fontSize,display:"inline-block",padding:`0 ${Ne.paddingXXS}px`,marginInline:-Ne.marginXXS,[`> ${lt}`]:{marginInlineStart:Ne.marginXXS,fontSize:Ne.fontSizeIcon},"&:hover":{color:Ne.linkHoverColor,backgroundColor:Ne.colorBgTextHover,a:{color:Ne.linkHoverColor}},a:{"&:hover":{backgroundColor:"transparent"}}},[`&${Ne.componentCls}-rtl`]:{direction:"rtl"}})}};var pe=(0,re.Z)("Breadcrumb",Ne=>{const Qe=(0,ie.TS)(Ne,{});return[ce(Qe)]},Ne=>({itemColor:Ne.colorTextDescription,lastItemColor:Ne.colorText,iconFontSize:Ne.fontSize,linkColor:Ne.colorTextDescription,linkHoverColor:Ne.colorText,separatorColor:Ne.colorTextDescription,separatorMargin:Ne.marginXS})),ge=function(Ne,Qe){var lt={};for(var Ke in Ne)Object.prototype.hasOwnProperty.call(Ne,Ke)&&Qe.indexOf(Ke)<0&&(lt[Ke]=Ne[Ke]);if(Ne!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ye=0,Ke=Object.getOwnPropertySymbols(Ne);Ye<Ke.length;Ye++)Qe.indexOf(Ke[Ye])<0&&Object.prototype.propertyIsEnumerable.call(Ne,Ke[Ye])&&(lt[Ke[Ye]]=Ne[Ke[Ye]]);return lt};function ye(Ne){const{breadcrumbName:Qe,children:lt}=Ne,Ke=ge(Ne,["breadcrumbName","children"]),Ye=Object.assign({title:Qe},Ke);return lt&&(Ye.menu={items:lt.map(Kt=>{var{breadcrumbName:ot}=Kt,Ht=ge(Kt,["breadcrumbName"]);return Object.assign(Object.assign({},Ht),{title:ot})})}),Ye}function Ee(Ne,Qe){return(0,Ie.useMemo)(()=>Ne||(Qe?Qe.map(ye):null),[Ne,Qe])}var Le=function(Ne,Qe){var lt={};for(var Ke in Ne)Object.prototype.hasOwnProperty.call(Ne,Ke)&&Qe.indexOf(Ke)<0&&(lt[Ke]=Ne[Ke]);if(Ne!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ye=0,Ke=Object.getOwnPropertySymbols(Ne);Ye<Ke.length;Ye++)Qe.indexOf(Ke[Ye])<0&&Object.prototype.propertyIsEnumerable.call(Ne,Ke[Ye])&&(lt[Ke[Ye]]=Ne[Ke[Ye]]);return lt};const ve=(Ne,Qe)=>{if(Qe===void 0)return Qe;let lt=(Qe||"").replace(/^\//,"");return Object.keys(Ne).forEach(Ke=>{lt=lt.replace(`:${Ke}`,Ne[Ke])}),lt},$e=Ne=>{const{prefixCls:Qe,separator:lt="/",style:Ke,className:Ye,rootClassName:Kt,routes:ot,items:Ht,children:en,itemRender:Je,params:ft={}}=Ne,Dt=Le(Ne,["prefixCls","separator","style","className","rootClassName","routes","items","children","itemRender","params"]),{getPrefixCls:ln,direction:yt,breadcrumb:Yt}=Ie.useContext(ue.E_);let Be;const Ut=ln("breadcrumb",Qe),[Cn,Ft]=pe(Ut),It=Ee(Ht,ot),nt=E(Ut,Je);if(It&&It.length>0){const he=[],at=Ht||ot;Be=It.map((At,we)=>{const{path:Ce,key:vt,type:Xe,menu:_e,overlay:Pt,onClick:cn,className:Ot,separator:Xt,dropdownProps:$t}=At,nn=ve(ft,Ce);nn!==void 0&&he.push(nn);const bt=vt!=null?vt:we;if(Xe==="separator")return Ie.createElement(ke,{key:bt},Xt);const rn={},wn=we===It.length-1;_e?rn.menu=_e:Pt&&(rn.overlay=Pt);let{href:Zt}=At;return he.length&&nn!==void 0&&(Zt=`#/${he.join("/")}`),Ie.createElement(x,Object.assign({key:bt},rn,(0,Ae.Z)(At,{data:!0,aria:!0}),{className:Ot,dropdownProps:$t,href:Zt,separator:wn?"":lt,onClick:cn,prefixCls:Ut}),nt(At,ft,at,he,Zt))})}else if(en){const he=(0,be.Z)(en).length;Be=(0,be.Z)(en).map((at,At)=>{if(!at)return at;const we=At===he-1;return(0,Re.Tm)(at,{separator:we?"":lt,key:At})})}const Ue=se()(Ut,Yt==null?void 0:Yt.className,{[`${Ut}-rtl`]:yt==="rtl"},Ye,Kt,Ft),Fe=Object.assign(Object.assign({},Yt==null?void 0:Yt.style),Ke);return Cn(Ie.createElement("nav",Object.assign({className:Ue,style:Fe},Dt),Ie.createElement("ol",null,Be)))};$e.Item=z,$e.Separator=ke;var He=$e,it=He},19842:function(_t,Rt,ae){"use strict";ae.d(Rt,{Z:function(){return Oa}});var b=ae(95190),se=ae(59301),be=ae(33853),Ae=ae(58617),Ie=ae(38819),Re=ae(92310),ue=ae.n(Re),Ze=ae(14809),We=ae(50298),Te=ae(62646),ke=ae(77861),je=ae(17115),De=ae(90782),le=ae(6089),E=ae(18929),a=se.createContext(null),x=a,y=ae(93664),z=ae(4635),te=ae(20439),re="__rc_cascader_search_mark__",ie=function(Bt,Gt,Vt){var tn=Vt.label;return Gt.some(function(Sn){return String(Sn[tn]).toLowerCase().includes(Bt.toLowerCase())})},ce=function(Bt,Gt,Vt,tn){return Gt.map(function(Sn){return Sn[tn.label]}).join(" / ")},pe=function(Ve,Bt,Gt,Vt,tn,Sn){var mn=tn.filter,ut=mn===void 0?ie:mn,pt=tn.render,ct=pt===void 0?ce:pt,Wt=tn.limit,vn=Wt===void 0?50:Wt,an=tn.sort;return se.useMemo(function(){var kn=[];if(!Ve)return[];function Fn(Bn,Un){var Ra=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;Bn.forEach(function(yn){if(!(!an&&vn!==!1&&vn>0&&kn.length>=vn)){var pa=[].concat((0,b.Z)(Un),[yn]),$a=yn[Gt.children],lr=Ra||yn.disabled;if((!$a||$a.length===0||Sn)&&ut(Ve,pa,{label:Gt.label})){var Jn;kn.push((0,te.Z)((0,te.Z)({},yn),{},(Jn={disabled:lr},(0,z.Z)(Jn,Gt.label,ct(Ve,pa,Vt,Gt)),(0,z.Z)(Jn,re,pa),(0,z.Z)(Jn,Gt.children,void 0),Jn)))}$a&&Fn(yn[Gt.children],pa,lr)}})}return Fn(Bt,[]),an&&kn.sort(function(Bn,Un){return an(Bn[re],Un[re],Ve,Gt)}),vn!==!1&&vn>0?kn.slice(0,vn):kn},[Ve,Bt,Gt,Vt,ct,Sn,ut,an,vn])},ge="__RC_CASCADER_SPLIT__",ye="SHOW_PARENT",Ee="SHOW_CHILD";function Le(Ve){return Ve.join(ge)}function ve(Ve){return Ve.map(Le)}function $e(Ve){return Ve.split(ge)}function He(Ve){var Bt=Ve||{},Gt=Bt.label,Vt=Bt.value,tn=Bt.children,Sn=Vt||"value";return{label:Gt||"label",value:Sn,key:Sn,children:tn||"children"}}function it(Ve,Bt){var Gt,Vt;return(Gt=Ve.isLeaf)!==null&&Gt!==void 0?Gt:!((Vt=Ve[Bt.children])!==null&&Vt!==void 0&&Vt.length)}function Ne(Ve){var Bt=Ve.parentElement;if(Bt){var Gt=Ve.offsetTop-Bt.offsetTop;Gt-Bt.scrollTop<0?Bt.scrollTo({top:Gt}):Gt+Ve.offsetHeight-Bt.scrollTop>Bt.offsetHeight&&Bt.scrollTo({top:Gt+Ve.offsetHeight-Bt.offsetHeight})}}function Qe(Ve,Bt){return Ve.map(function(Gt){var Vt;return(Vt=Gt[re])===null||Vt===void 0?void 0:Vt.map(function(tn){return tn[Bt.value]})})}function lt(Ve,Bt,Gt){var Vt=new Set(Ve),tn=Bt();return Ve.filter(function(Sn){var mn=tn[Sn],ut=mn?mn.parent:null,pt=mn?mn.children:null;return mn&&mn.node.disabled?!0:Gt===Ee?!(pt&&pt.some(function(ct){return ct.key&&Vt.has(ct.key)})):!(ut&&!ut.node.disabled&&Vt.has(ut.key))})}function Ke(Ve,Bt,Gt){for(var Vt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,tn=Bt,Sn=[],mn=function(){var ct,Wt,vn,an=Ve[ut],kn=(ct=tn)===null||ct===void 0?void 0:ct.findIndex(function(Bn){var Un=Bn[Gt.value];return Vt?String(Un)===String(an):Un===an}),Fn=kn!==-1?(Wt=tn)===null||Wt===void 0?void 0:Wt[kn]:null;Sn.push({value:(vn=Fn==null?void 0:Fn[Gt.value])!==null&&vn!==void 0?vn:an,index:kn,option:Fn}),tn=Fn==null?void 0:Fn[Gt.children]},ut=0;ut<Ve.length;ut+=1)mn();return Sn}var Ye=function(Ve,Bt,Gt,Vt,tn){return se.useMemo(function(){var Sn=tn||function(mn){var ut=Vt?mn.slice(-1):mn,pt=" / ";return ut.every(function(ct){return["string","number"].includes((0,y.Z)(ct))})?ut.join(pt):ut.reduce(function(ct,Wt,vn){var an=se.isValidElement(Wt)?se.cloneElement(Wt,{key:vn}):Wt;return vn===0?[an]:[].concat((0,b.Z)(ct),[pt,an])},[])};return Ve.map(function(mn){var ut,pt,ct=Ke(mn,Bt,Gt),Wt=Sn(ct.map(function(an){var kn,Fn=an.option,Bn=an.value;return(kn=Fn==null?void 0:Fn[Gt.label])!==null&&kn!==void 0?kn:Bn}),ct.map(function(an){var kn=an.option;return kn})),vn=Le(mn);return{label:Wt,value:vn,key:vn,valueCells:mn,disabled:(ut=ct[ct.length-1])===null||ut===void 0||(pt=ut.option)===null||pt===void 0?void 0:pt.disabled}})},[Ve,Bt,Gt,tn,Vt])},Kt=ae(71430),ot=function(Ve,Bt){var Gt=se.useRef({options:null,info:null}),Vt=se.useCallback(function(){return Gt.current.options!==Ve&&(Gt.current.options=Ve,Gt.current.info=(0,Kt.I8)(Ve,{fieldNames:Bt,initWrapper:function(Sn){return(0,te.Z)((0,te.Z)({},Sn),{},{pathKeyEntities:{}})},processEntity:function(Sn,mn){var ut=Sn.nodes.map(function(pt){return pt[Bt.value]}).join(ge);mn.pathKeyEntities[ut]=Sn,Sn.key=ut}})),Gt.current.info.pathKeyEntities},[Bt,Ve]);return Vt},Ht=function(Ve,Bt){return se.useCallback(function(Gt){var Vt=[],tn=[];return Gt.forEach(function(Sn){var mn=Ke(Sn,Ve,Bt);mn.every(function(ut){return ut.option})?tn.push(Sn):Vt.push(Sn)}),[tn,Vt]},[Ve,Bt])},en=ae(48736);function Je(Ve){return se.useMemo(function(){if(!Ve)return[!1,{}];var Bt={matchInputWidth:!0,limit:50};return Ve&&(0,y.Z)(Ve)==="object"&&(Bt=(0,te.Z)((0,te.Z)({},Bt),Ve)),Bt.limit<=0&&delete Bt.limit,[!0,Bt]},[Ve])}var ft=se.memo(function(Ve){var Bt=Ve.children;return Bt},function(Ve,Bt){return!Bt.open}),Dt=ft;function ln(Ve){var Bt,Gt=Ve.prefixCls,Vt=Ve.checked,tn=Ve.halfChecked,Sn=Ve.disabled,mn=Ve.onClick,ut=Ve.disableCheckbox,pt=se.useContext(x),ct=pt.checkable,Wt=typeof ct!="boolean"?ct:null;return se.createElement("span",{className:ue()("".concat(Gt),(Bt={},(0,z.Z)(Bt,"".concat(Gt,"-checked"),Vt),(0,z.Z)(Bt,"".concat(Gt,"-indeterminate"),!Vt&&tn),(0,z.Z)(Bt,"".concat(Gt,"-disabled"),Sn||ut),Bt)),onClick:mn},Wt)}var yt="__cascader_fix_label__";function Yt(Ve){var Bt=Ve.prefixCls,Gt=Ve.multiple,Vt=Ve.options,tn=Ve.activeValue,Sn=Ve.prevValuePath,mn=Ve.onToggleOpen,ut=Ve.onSelect,pt=Ve.onActive,ct=Ve.checkedSet,Wt=Ve.halfCheckedSet,vn=Ve.loadingKeys,an=Ve.isSelectable,kn=Ve.searchValue,Fn="".concat(Bt,"-menu"),Bn="".concat(Bt,"-menu-item"),Un=se.useContext(x),Ra=Un.fieldNames,yn=Un.changeOnSelect,pa=Un.expandTrigger,$a=Un.expandIcon,lr=Un.loadingIcon,Jn=Un.dropdownMenuColumnStyle,sn=pa==="hover",Dr=se.useMemo(function(){return Vt.map(function(Ga){var Er,Cr=Ga.disabled,Nr=Ga.disableCheckbox,xr=Ga[re],so=(Er=Ga[yt])!==null&&Er!==void 0?Er:Ga[Ra.label],qr=Ga[Ra.value],_o=it(Ga,Ra),Mn=xr?xr.map(function($n){return $n[Ra.value]}):[].concat((0,b.Z)(Sn),[qr]),Mr=Le(Mn),Rr=vn.includes(Mr),Gr=ct.has(Mr),za=Wt.has(Mr);return{disabled:Cr,label:so,value:qr,isLeaf:_o,isLoading:Rr,checked:Gr,halfChecked:za,option:Ga,disableCheckbox:Nr,fullPath:Mn,fullPathKey:Mr}})},[Vt,ct,Ra,Wt,vn,Sn]);return se.createElement("ul",{className:Fn,role:"menu"},Dr.map(function(Ga){var Er,Cr=Ga.disabled,Nr=Ga.label,xr=Ga.value,so=Ga.isLeaf,qr=Ga.isLoading,_o=Ga.checked,Mn=Ga.halfChecked,Mr=Ga.option,Rr=Ga.fullPath,Gr=Ga.fullPathKey,za=Ga.disableCheckbox,$n=function(){if(!(Cr||kn)){var fr=(0,b.Z)(Rr);sn&&so&&fr.pop(),pt(fr)}},wa=function(){an(Mr)&&ut(Rr,so)},ja;return typeof Mr.title=="string"?ja=Mr.title:typeof Nr=="string"&&(ja=Nr),se.createElement("li",{key:Gr,className:ue()(Bn,(Er={},(0,z.Z)(Er,"".concat(Bn,"-expand"),!so),(0,z.Z)(Er,"".concat(Bn,"-active"),tn===xr||tn===Gr),(0,z.Z)(Er,"".concat(Bn,"-disabled"),Cr),(0,z.Z)(Er,"".concat(Bn,"-loading"),qr),Er)),style:Jn,role:"menuitemcheckbox",title:ja,"aria-checked":_o,"data-path-key":Gr,onClick:function(){$n(),!za&&(!Gt||so)&&wa()},onDoubleClick:function(){yn&&mn(!1)},onMouseEnter:function(){sn&&$n()},onMouseDown:function(fr){fr.preventDefault()}},Gt&&se.createElement(ln,{prefixCls:"".concat(Bt,"-checkbox"),checked:_o,halfChecked:Mn,disabled:Cr||za,disableCheckbox:za,onClick:function(fr){za||(fr.stopPropagation(),wa())}}),se.createElement("div",{className:"".concat(Bn,"-content")},Nr),!qr&&$a&&!so&&se.createElement("div",{className:"".concat(Bn,"-expand-icon")},$a),qr&&lr&&se.createElement("div",{className:"".concat(Bn,"-loading-icon")},lr))}))}var Be=function(){var Ve=(0,ke.lk)(),Bt=Ve.multiple,Gt=Ve.open,Vt=se.useContext(x),tn=Vt.values,Sn=se.useState([]),mn=(0,We.Z)(Sn,2),ut=mn[0],pt=mn[1];return se.useEffect(function(){if(Gt&&!Bt){var ct=tn[0];pt(ct||[])}},[Gt]),[ut,pt]},Ut=ae(10228),Cn=function(Ve,Bt,Gt,Vt,tn,Sn){var mn=(0,ke.lk)(),ut=mn.direction,pt=mn.searchValue,ct=mn.toggleOpen,Wt=mn.open,vn=ut==="rtl",an=se.useMemo(function(){for(var Jn=-1,sn=Bt,Dr=[],Ga=[],Er=Vt.length,Cr=Qe(Bt,Gt),Nr=function(Mr){var Rr=sn.findIndex(function(Gr,za){return(Cr[za]?Le(Cr[za]):Gr[Gt.value])===Vt[Mr]});if(Rr===-1)return"break";Jn=Rr,Dr.push(Jn),Ga.push(Vt[Mr]),sn=sn[Jn][Gt.children]},xr=0;xr<Er&&sn;xr+=1){var so=Nr(xr);if(so==="break")break}for(var qr=Bt,_o=0;_o<Dr.length-1;_o+=1)qr=qr[Dr[_o]][Gt.children];return[Ga,Jn,qr,Cr]},[Vt,Gt,Bt]),kn=(0,We.Z)(an,4),Fn=kn[0],Bn=kn[1],Un=kn[2],Ra=kn[3],yn=function(sn){tn(sn)},pa=function(sn){var Dr=Un.length,Ga=Bn;Ga===-1&&sn<0&&(Ga=Dr);for(var Er=0;Er<Dr;Er+=1){Ga=(Ga+sn+Dr)%Dr;var Cr=Un[Ga];if(Cr&&!Cr.disabled){var Nr=Fn.slice(0,-1).concat(Ra[Ga]?Le(Ra[Ga]):Cr[Gt.value]);yn(Nr);return}}},$a=function(){if(Fn.length>1){var sn=Fn.slice(0,-1);yn(sn)}else ct(!1)},lr=function(){var sn,Dr=((sn=Un[Bn])===null||sn===void 0?void 0:sn[Gt.children])||[],Ga=Dr.find(function(Cr){return!Cr.disabled});if(Ga){var Er=[].concat((0,b.Z)(Fn),[Ga[Gt.value]]);yn(Er)}};se.useImperativeHandle(Ve,function(){return{onKeyDown:function(sn){var Dr=sn.which;switch(Dr){case Ut.Z.UP:case Ut.Z.DOWN:{var Ga=0;Dr===Ut.Z.UP?Ga=-1:Dr===Ut.Z.DOWN&&(Ga=1),Ga!==0&&pa(Ga);break}case Ut.Z.LEFT:{if(pt)break;vn?lr():$a();break}case Ut.Z.RIGHT:{if(pt)break;vn?$a():lr();break}case Ut.Z.BACKSPACE:{pt||$a();break}case Ut.Z.ENTER:{if(Fn.length){var Er=Un[Bn],Cr=(Er==null?void 0:Er[re])||[];Cr.length?Sn(Cr.map(function(Nr){return Nr[Gt.value]}),Cr[Cr.length-1]):Sn(Fn,Un[Bn])}break}case Ut.Z.ESC:ct(!1),Wt&&sn.stopPropagation()}},onKeyUp:function(){}}})},Ft=se.forwardRef(function(Ve,Bt){var Gt,Vt,tn,Sn,mn=(0,ke.lk)(),ut=mn.prefixCls,pt=mn.multiple,ct=mn.searchValue,Wt=mn.toggleOpen,vn=mn.notFoundContent,an=mn.direction,kn=mn.open,Fn=se.useRef(),Bn=an==="rtl",Un=se.useContext(x),Ra=Un.options,yn=Un.values,pa=Un.halfValues,$a=Un.fieldNames,lr=Un.changeOnSelect,Jn=Un.onSelect,sn=Un.searchOptions,Dr=Un.dropdownPrefixCls,Ga=Un.loadData,Er=Un.expandTrigger,Cr=Dr||ut,Nr=se.useState([]),xr=(0,We.Z)(Nr,2),so=xr[0],qr=xr[1],_o=function(Ba){if(!(!Ga||ct)){var eo=Ke(Ba,Ra,$a),mo=eo.map(function(xo){var oi=xo.option;return oi}),Ro=mo[mo.length-1];if(Ro&&!it(Ro,$a)){var Po=Le(Ba);qr(function(xo){return[].concat((0,b.Z)(xo),[Po])}),Ga(mo)}}};se.useEffect(function(){so.length&&so.forEach(function(So){var Ba=$e(So),eo=Ke(Ba,Ra,$a,!0).map(function(Ro){var Po=Ro.option;return Po}),mo=eo[eo.length-1];(!mo||mo[$a.children]||it(mo,$a))&&qr(function(Ro){return Ro.filter(function(Po){return Po!==So})})})},[Ra,so,$a]);var Mn=se.useMemo(function(){return new Set(ve(yn))},[yn]),Mr=se.useMemo(function(){return new Set(ve(pa))},[pa]),Rr=Be(),Gr=(0,We.Z)(Rr,2),za=Gr[0],$n=Gr[1],wa=function(Ba){$n(Ba),_o(Ba)},ja=function(Ba){var eo=Ba.disabled,mo=it(Ba,$a);return!eo&&(mo||lr||pt)},ga=function(Ba,eo){var mo=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;Jn(Ba),!pt&&(eo||lr&&(Er==="hover"||mo))&&Wt(!1)},fr=se.useMemo(function(){return ct?sn:Ra},[ct,sn,Ra]),Hr=se.useMemo(function(){for(var So=[{options:fr}],Ba=fr,eo=Qe(Ba,$a),mo=function(){var oi=za[Ro],Yo=Ba.find(function(Ci,Vo){return(eo[Vo]?Le(eo[Vo]):Ci[$a.value])===oi}),Wo=Yo==null?void 0:Yo[$a.children];if(!(Wo!=null&&Wo.length))return"break";Ba=Wo,So.push({options:Wo})},Ro=0;Ro<za.length;Ro+=1){var Po=mo();if(Po==="break")break}return So},[fr,za,$a]),oo=function(Ba,eo){ja(eo)&&ga(Ba,it(eo,$a),!0)};Cn(Bt,fr,$a,za,wa,oo),se.useEffect(function(){for(var So=0;So<za.length;So+=1){var Ba,eo=za.slice(0,So+1),mo=Le(eo),Ro=(Ba=Fn.current)===null||Ba===void 0?void 0:Ba.querySelector('li[data-path-key="'.concat(mo.replace(/\\{0,2}"/g,'\\"'),'"]'));Ro&&Ne(Ro)}},[za]);var Tr=!((Gt=Hr[0])!==null&&Gt!==void 0&&(Vt=Gt.options)!==null&&Vt!==void 0&&Vt.length),co=[(tn={},(0,z.Z)(tn,$a.value,"__EMPTY__"),(0,z.Z)(tn,yt,vn),(0,z.Z)(tn,"disabled",!0),tn)],ni=(0,te.Z)((0,te.Z)({},Ve),{},{multiple:!Tr&&pt,onSelect:ga,onActive:wa,onToggleOpen:Wt,checkedSet:Mn,halfCheckedSet:Mr,loadingKeys:so,isSelectable:ja}),$o=Tr?[{options:co}]:Hr,_i=$o.map(function(So,Ba){var eo=za.slice(0,Ba),mo=za[Ba];return se.createElement(Yt,(0,Ze.Z)({key:Ba},ni,{searchValue:ct,prefixCls:Cr,options:So.options,prevValuePath:eo,activeValue:mo}))});return se.createElement(Dt,{open:kn},se.createElement("div",{className:ue()("".concat(Cr,"-menus"),(Sn={},(0,z.Z)(Sn,"".concat(Cr,"-menu-empty"),Tr),(0,z.Z)(Sn,"".concat(Cr,"-rtl"),Bn),Sn)),ref:Fn},_i))}),It=Ft;function nt(Ve){var Bt=Ve.onPopupVisibleChange,Gt=Ve.popupVisible,Vt=Ve.popupClassName,tn=Ve.popupPlacement;warning(!Bt,"`onPopupVisibleChange` is deprecated. Please use `onDropdownVisibleChange` instead."),warning(Gt===void 0,"`popupVisible` is deprecated. Please use `open` instead."),warning(Vt===void 0,"`popupClassName` is deprecated. Please use `dropdownClassName` instead."),warning(tn===void 0,"`popupPlacement` is deprecated. Please use `placement` instead.")}function Ue(Ve,Bt){if(Ve){var Gt=function Vt(tn){for(var Sn=0;Sn<tn.length;Sn++){var mn=tn[Sn];if(mn[Bt==null?void 0:Bt.value]===null)return warning(!1,"`value` in Cascader options should not be `null`."),!0;if(Array.isArray(mn[Bt==null?void 0:Bt.children])&&Vt(mn[Bt==null?void 0:Bt.children]))return!0}};Gt(Ve)}}var Fe=null,he=["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 at(Ve){return Array.isArray(Ve)&&Array.isArray(Ve[0])}function At(Ve){return Ve?at(Ve)?Ve:(Ve.length===0?[]:[Ve]).map(function(Bt){return Array.isArray(Bt)?Bt:[Bt]}):[]}var we=se.forwardRef(function(Ve,Bt){var Gt=Ve.id,Vt=Ve.prefixCls,tn=Vt===void 0?"rc-cascader":Vt,Sn=Ve.fieldNames,mn=Ve.defaultValue,ut=Ve.value,pt=Ve.changeOnSelect,ct=Ve.onChange,Wt=Ve.displayRender,vn=Ve.checkable,an=Ve.autoClearSearchValue,kn=an===void 0?!0:an,Fn=Ve.searchValue,Bn=Ve.onSearch,Un=Ve.showSearch,Ra=Ve.expandTrigger,yn=Ve.options,pa=Ve.dropdownPrefixCls,$a=Ve.loadData,lr=Ve.popupVisible,Jn=Ve.open,sn=Ve.popupClassName,Dr=Ve.dropdownClassName,Ga=Ve.dropdownMenuColumnStyle,Er=Ve.popupPlacement,Cr=Ve.placement,Nr=Ve.onDropdownVisibleChange,xr=Ve.onPopupVisibleChange,so=Ve.expandIcon,qr=so===void 0?">":so,_o=Ve.loadingIcon,Mn=Ve.children,Mr=Ve.dropdownMatchSelectWidth,Rr=Mr===void 0?!1:Mr,Gr=Ve.showCheckedStrategy,za=Gr===void 0?ye:Gr,$n=(0,Te.Z)(Ve,he),wa=(0,je.ZP)(Gt),ja=!!vn,ga=(0,E.Z)(mn,{value:ut,postState:At}),fr=(0,We.Z)(ga,2),Hr=fr[0],oo=fr[1],Tr=se.useMemo(function(){return He(Sn)},[JSON.stringify(Sn)]),co=se.useMemo(function(){return yn||[]},[yn]),ni=ot(co,Tr),$o=se.useCallback(function(na){var ia=ni();return na.map(function(Pa){var hr=ia[Pa].nodes;return hr.map(function(_r){return _r[Tr.value]})})},[ni,Tr]),_i=(0,E.Z)("",{value:Fn,postState:function(ia){return ia||""}}),So=(0,We.Z)(_i,2),Ba=So[0],eo=So[1],mo=function(ia,Pa){eo(ia),Pa.source!=="blur"&&Bn&&Bn(ia)},Ro=Je(Un),Po=(0,We.Z)(Ro,2),xo=Po[0],oi=Po[1],Yo=pe(Ba,co,Tr,pa||tn,oi,pt),Wo=Ht(co,Tr),Ci=se.useMemo(function(){var na=Wo(Hr),ia=(0,We.Z)(na,2),Pa=ia[0],hr=ia[1];if(!ja||!Hr.length)return[Pa,[],hr];var _r=ve(Pa),no=ni(),fo=(0,De.S)(_r,!0,no),Ao=fo.checkedKeys,Bo=fo.halfCheckedKeys;return[$o(Ao),$o(Bo),hr]},[ja,Hr,ni,$o,Wo]),Vo=(0,We.Z)(Ci,3),Eo=Vo[0],xi=Vo[1],yo=Vo[2],Mi=se.useMemo(function(){var na=ve(Eo),ia=lt(na,ni,za);return[].concat((0,b.Z)(yo),(0,b.Z)($o(ia)))},[Eo,ni,$o,yo,za]),ai=Ye(Mi,co,Tr,ja,Wt),Wi=(0,le.Z)(function(na){if(oo(na),ct){var ia=At(na),Pa=ia.map(function(no){return Ke(no,co,Tr).map(function(fo){return fo.option})}),hr=ja?ia:ia[0],_r=ja?Pa:Pa[0];ct(hr,_r)}}),Di=(0,le.Z)(function(na){if((!ja||kn)&&eo(""),!ja)Wi(na);else{var ia=Le(na),Pa=ve(Eo),hr=ve(xi),_r=Pa.includes(ia),no=yo.some(function(Zi){return Le(Zi)===ia}),fo=Eo,Ao=yo;if(no&&!_r)Ao=yo.filter(function(Zi){return Le(Zi)!==ia});else{var Bo=_r?Pa.filter(function(Zi){return Zi!==ia}):[].concat((0,b.Z)(Pa),[ia]),ka=ni(),jo;if(_r){var Bi=(0,De.S)(Bo,{checked:!1,halfCheckedKeys:hr},ka);jo=Bi.checkedKeys}else{var si=(0,De.S)(Bo,!0,ka);jo=si.checkedKeys}var ki=lt(jo,ni,za);fo=$o(ki)}Wi([].concat((0,b.Z)(Ao),(0,b.Z)(fo)))}}),Ti=function(ia,Pa){if(Pa.type==="clear"){Wi([]);return}var hr=Pa.values[0],_r=hr.valueCells;Di(_r)},Xo=Jn!==void 0?Jn:lr,Ki=Dr||sn,pl=Cr||Er,$i=function(ia){Nr==null||Nr(ia),xr==null||xr(ia)},Yi=se.useMemo(function(){return{options:co,fieldNames:Tr,values:Eo,halfValues:xi,changeOnSelect:pt,onSelect:Di,checkable:vn,searchOptions:Yo,dropdownPrefixCls:pa,loadData:$a,expandTrigger:Ra,expandIcon:qr,loadingIcon:_o,dropdownMenuColumnStyle:Ga}},[co,Tr,Eo,xi,pt,Di,vn,Yo,pa,$a,Ra,qr,_o,Ga]),Kr=!(Ba?Yo:co).length,Ta=Ba&&oi.matchInputWidth||Kr?{}:{minWidth:"auto"};return se.createElement(x.Provider,{value:Yi},se.createElement(ke.Ac,(0,Ze.Z)({},$n,{ref:Bt,id:wa,prefixCls:tn,autoClearSearchValue:kn,dropdownMatchSelectWidth:Rr,dropdownStyle:Ta,displayValues:ai,onDisplayValuesChange:Ti,mode:ja?"multiple":void 0,searchValue:Ba,onSearch:mo,showSearch:xo,OptionList:It,emptyOptions:Kr,open:Xo,dropdownClassName:Ki,placement:pl,onDropdownVisibleChange:$i,getRawInputElement:function(){return Mn}})))});we.SHOW_PARENT=ye,we.SHOW_CHILD=Ee;var Ce=we,vt=Ce,Xe=ae(2738),_e=ae(62892),Pt=ae(53487),cn=ae(19080),Ot=ae(36355),Xt=ae(93891),$t=ae(1684),nn=ae(19716),bt=ae(32441),rn=ae(14154),wn=ae(58582),Zt=ae(84443),wt=ae(66339),Ln=ae(33234),zn=ae(98447),Wn=ae(17313),Yn=ae(74207),xa=ae(83116);const on=Ve=>{const{prefixCls:Bt,componentCls:Gt,antCls:Vt}=Ve,tn=`${Gt}-menu-item`,Sn=`
&${tn}-expand ${tn}-expand-icon,
${tn}-loading-icon
`;return[{[Gt]:{width:Ve.controlWidth}},{[`${Gt}-dropdown`]:[(0,zn.C2)(`${Bt}-checkbox`,Ve),{[`&${Vt}-select-dropdown`]:{padding:0}},{[Gt]:{"&-checkbox":{top:0,marginInlineEnd:Ve.paddingXS},"&-menus":{display:"flex",flexWrap:"nowrap",alignItems:"flex-start",[`&${Gt}-menu-empty`]:{[`${Gt}-menu`]:{width:"100%",height:"auto",[tn]:{color:Ve.colorTextDisabled}}}},"&-menu":{flexGrow:1,minWidth:Ve.controlItemWidth,height:Ve.dropdownHeight,margin:0,padding:Ve.menuPadding,overflow:"auto",verticalAlign:"top",listStyle:"none","-ms-overflow-style":"-ms-autohiding-scrollbar","&:not(:last-child)":{borderInlineEnd:`${Ve.lineWidth}px ${Ve.lineType} ${Ve.colorSplit}`},"&-item":Object.assign(Object.assign({},Wn.vS),{display:"flex",flexWrap:"nowrap",alignItems:"center",padding:Ve.optionPadding,lineHeight:Ve.lineHeight,cursor:"pointer",transition:`all ${Ve.motionDurationMid}`,borderRadius:Ve.borderRadiusSM,"&:hover":{background:Ve.controlItemBgHover},"&-disabled":{color:Ve.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"},[Sn]:{color:Ve.colorTextDisabled}},[`&-active:not(${tn}-disabled)`]:{"&, &:hover":{fontWeight:Ve.optionSelectedFontWeight,backgroundColor:Ve.optionSelectedBg}},"&-content":{flex:"auto"},[Sn]:{marginInlineStart:Ve.paddingXXS,color:Ve.colorTextDescription,fontSize:Ve.fontSizeIcon},"&-keyword":{color:Ve.colorHighlight}})}}}]},{[`${Gt}-dropdown-rtl`]:{direction:"rtl"}},(0,Yn.c)(Ve)]};var qt=(0,xa.Z)("Cascader",Ve=>[on(Ve)],Ve=>{const Bt=Math.round((Ve.controlHeight-Ve.fontSize*Ve.lineHeight)/2);return{controlWidth:184,controlItemWidth:111,dropdownHeight:180,optionSelectedBg:Ve.controlItemBgActive,optionSelectedFontWeight:Ve.fontWeightStrong,optionPadding:`${Bt}px ${Ve.paddingSM}px`,menuPadding:Ve.paddingXXS}}),pn=function(Ve,Bt){var Gt={};for(var Vt in Ve)Object.prototype.hasOwnProperty.call(Ve,Vt)&&Bt.indexOf(Vt)<0&&(Gt[Vt]=Ve[Vt]);if(Ve!=null&&typeof Object.getOwnPropertySymbols=="function")for(var tn=0,Vt=Object.getOwnPropertySymbols(Ve);tn<Vt.length;tn++)Bt.indexOf(Vt[tn])<0&&Object.prototype.propertyIsEnumerable.call(Ve,Vt[tn])&&(Gt[Vt[tn]]=Ve[Vt[tn]]);return Gt};const{SHOW_CHILD:Zn,SHOW_PARENT:xn}=vt;function Na(Ve,Bt,Gt){const Vt=Ve.toLowerCase().split(Bt).reduce((mn,ut,pt)=>pt===0?[ut]:[].concat((0,b.Z)(mn),[Bt,ut]),[]),tn=[];let Sn=0;return Vt.forEach((mn,ut)=>{const pt=Sn+mn.length;let ct=Ve.slice(Sn,pt);Sn=pt,ut%2===1&&(ct=se.createElement("span",{className:`${Gt}-menu-item-keyword`,key:`separator-${ut}`},ct)),tn.push(ct)}),tn}const Wa=(Ve,Bt,Gt,Vt)=>{const tn=[],Sn=Ve.toLowerCase();return Bt.forEach((mn,ut)=>{ut!==0&&tn.push(" / ");let pt=mn[Vt.label];const ct=typeof pt;(ct==="string"||ct==="number")&&(pt=Na(String(pt),Sn,Gt)),tn.push(pt)}),tn},ta=se.forwardRef((Ve,Bt)=>{const{prefixCls:Gt,size:Vt,disabled:tn,className:Sn,rootClassName:mn,multiple:ut,bordered:pt=!0,transitionName:ct,choiceTransitionName:Wt="",popupClassName:vn,dropdownClassName:an,expandIcon:kn,placement:Fn,showSearch:Bn,allowClear:Un=!0,notFoundContent:Ra,direction:yn,getPopupContainer:pa,status:$a,showArrow:lr,builtinPlacements:Jn,style:sn}=Ve,Dr=pn(Ve,["prefixCls","size","disabled","className","rootClassName","multiple","bordered","transitionName","choiceTransitionName","popupClassName","dropdownClassName","expandIcon","placement","showSearch","allowClear","notFoundContent","direction","getPopupContainer","status","showArrow","builtinPlacements","style"]),Ga=(0,Xe.Z)(Dr,["suffixIcon"]),{getPopupContainer:Er,getPrefixCls:Cr,renderEmpty:Nr,direction:xr,popupOverflow:so,cascader:qr}=se.useContext(Ot.E_),_o=yn||xr,Mn=_o==="rtl",{status:Mr,hasFeedback:Rr,isFormItemInput:Gr,feedbackIcon:za}=se.useContext(bt.aM),$n=(0,cn.F)(Mr,$a),wa=Ra||(Nr==null?void 0:Nr("Cascader"))||se.createElement(Xt.Z,{componentName:"Cascader"}),ja=Cr(),ga=Cr("select",Gt),fr=Cr("cascader",Gt),[Hr,oo]=(0,rn.Z)(ga),[Tr]=qt(fr),{compactSize:co,compactItemClassnames:ni}=(0,Ln.ri)(ga,yn),$o=ue()(vn||an,`${fr}-dropdown`,{[`${fr}-dropdown-rtl`]:_o==="rtl"},mn,oo),_i=se.useMemo(()=>{if(!Bn)return Bn;let yo={render:Wa};return typeof Bn=="object"&&(yo=Object.assign(Object.assign({},yo),Bn)),yo},[Bn]),So=(0,nn.Z)(yo=>{var Mi;return(Mi=Vt!=null?Vt:co)!==null&&Mi!==void 0?Mi:yo}),Ba=se.useContext($t.Z),eo=tn!=null?tn:Ba;let mo=kn;kn||(mo=Mn?se.createElement(be.Z,null):se.createElement(Ie.Z,null));const Ro=se.createElement("span",{className:`${ga}-menu-item-loading-icon`},se.createElement(Ae.Z,{spin:!0})),Po=se.useMemo(()=>ut?se.createElement("span",{className:`${fr}-checkbox-inner`}):!1,[ut]),xo=(0,Zt.Z)(Ve.suffixIcon,lr),{suffixIcon:oi,removeIcon:Yo,clearIcon:Wo}=(0,wt.Z)(Object.assign(Object.assign({},Ve),{hasFeedback:Rr,feedbackIcon:za,showSuffixIcon:xo,multiple:ut,prefixCls:ga,componentName:"Cascader"})),Ci=se.useMemo(()=>Fn!==void 0?Fn:Mn?"bottomRight":"bottomLeft",[Fn,Mn]),Vo=(0,wn.Z)(Jn,so),Eo=Un===!0?{clearIcon:Wo}:Un,xi=se.createElement(vt,Object.assign({prefixCls:ga,className:ue()(!Gt&&fr,{[`${ga}-lg`]:So==="large",[`${ga}-sm`]:So==="small",[`${ga}-rtl`]:Mn,[`${ga}-borderless`]:!pt,[`${ga}-in-form-item`]:Gr},(0,cn.Z)(ga,$n,Rr),ni,qr==null?void 0:qr.className,Sn,mn,oo),disabled:eo,style:Object.assign(Object.assign({},qr==null?void 0:qr.style),sn)},Ga,{builtinPlacements:Vo,direction:_o,placement:Ci,notFoundContent:wa,allowClear:Eo,showSearch:_i,expandIcon:mo,suffixIcon:oi,removeIcon:Yo,loadingIcon:Ro,checkable:Po,dropdownClassName:$o,dropdownPrefixCls:Gt||fr,choiceTransitionName:(0,_e.m)(ja,"",Wt),transitionName:(0,_e.m)(ja,"slide-up",ct),getPopupContainer:pa||Er,ref:Bt}));return Tr(Hr(xi))}),En=(0,Pt.Z)(ta);ta.SHOW_PARENT=xn,ta.SHOW_CHILD=Zn,ta._InternalPanelDoNotUseOrYouWillBeFired=En;var Oa=ta},24905:function(_t,Rt,ae){"use strict";ae.d(Rt,{default:function(){return pe}});var b=ae(92310),se=ae.n(b),be=ae(5630),Ae=ae(59301),Ie=ae(36355),Re=ae(1684),ue=ae(32441),We=Ae.createContext(null),Te=ae(98447),ke=ae(14088),je=ae(4572),De=function(ge,ye){var Ee={};for(var Le in ge)Object.prototype.hasOwnProperty.call(ge,Le)&&ye.indexOf(Le)<0&&(Ee[Le]=ge[Le]);if(ge!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ve=0,Le=Object.getOwnPropertySymbols(ge);ve<Le.length;ve++)ye.indexOf(Le[ve])<0&&Object.prototype.propertyIsEnumerable.call(ge,Le[ve])&&(Ee[Le[ve]]=ge[Le[ve]]);return Ee};const le=(ge,ye)=>{var Ee;const{prefixCls:Le,className:ve,rootClassName:$e,children:He,indeterminate:it=!1,style:Ne,onMouseEnter:Qe,onMouseLeave:lt,skipGroup:Ke=!1,disabled:Ye}=ge,Kt=De(ge,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:ot,direction:Ht,checkbox:en}=Ae.useContext(Ie.E_),Je=Ae.useContext(We),{isFormItemInput:ft}=Ae.useContext(ue.aM),Dt=Ae.useContext(Re.Z),ln=(Ee=(Je==null?void 0:Je.disabled)||Ye)!==null&&Ee!==void 0?Ee:Dt,yt=Ae.useRef(Kt.value);Ae.useEffect(()=>{Je==null||Je.registerValue(Kt.value)},[]),Ae.useEffect(()=>{if(!Ke)return Kt.value!==yt.current&&(Je==null||Je.cancelValue(yt.current),Je==null||Je.registerValue(Kt.value),yt.current=Kt.value),()=>Je==null?void 0:Je.cancelValue(Kt.value)},[Kt.value]);const Yt=ot("checkbox",Le),[Be,Ut]=(0,Te.ZP)(Yt),Cn=Object.assign({},Kt);Je&&!Ke&&(Cn.onChange=function(){Kt.onChange&&Kt.onChange.apply(Kt,arguments),Je.toggleOption&&Je.toggleOption({label:He,value:Kt.value})},Cn.name=Je.name,Cn.checked=Je.value.includes(Kt.value));const Ft=se()(`${Yt}-wrapper`,{[`${Yt}-rtl`]:Ht==="rtl",[`${Yt}-wrapper-checked`]:Cn.checked,[`${Yt}-wrapper-disabled`]:ln,[`${Yt}-wrapper-in-form-item`]:ft},en==null?void 0:en.className,ve,$e,Ut),It=se()({[`${Yt}-indeterminate`]:it},je.A,Ut),nt=it?"mixed":void 0;return Be(Ae.createElement(ke.Z,{component:"Checkbox",disabled:ln},Ae.createElement("label",{className:Ft,style:Object.assign(Object.assign({},en==null?void 0:en.style),Ne),onMouseEnter:Qe,onMouseLeave:lt},Ae.createElement(be.Z,Object.assign({"aria-checked":nt},Cn,{prefixCls:Yt,className:It,disabled:ln,ref:ye})),He!==void 0&&Ae.createElement("span",null,He))))};var a=Ae.forwardRef(le),x=ae(95190),y=ae(2738),z=function(ge,ye){var Ee={};for(var Le in ge)Object.prototype.hasOwnProperty.call(ge,Le)&&ye.indexOf(Le)<0&&(Ee[Le]=ge[Le]);if(ge!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ve=0,Le=Object.getOwnPropertySymbols(ge);ve<Le.length;ve++)ye.indexOf(Le[ve])<0&&Object.prototype.propertyIsEnumerable.call(ge,Le[ve])&&(Ee[Le[ve]]=ge[Le[ve]]);return Ee};const te=(ge,ye)=>{const{defaultValue:Ee,children:Le,options:ve=[],prefixCls:$e,className:He,rootClassName:it,style:Ne,onChange:Qe}=ge,lt=z(ge,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:Ke,direction:Ye}=Ae.useContext(Ie.E_),[Kt,ot]=Ae.useState(lt.value||Ee||[]),[Ht,en]=Ae.useState([]);Ae.useEffect(()=>{"value"in lt&&ot(lt.value||[])},[lt.value]);const Je=Ae.useMemo(()=>ve.map(Ue=>typeof Ue=="string"||typeof Ue=="number"?{label:Ue,value:Ue}:Ue),[ve]),ft=Ue=>{en(Fe=>Fe.filter(he=>he!==Ue))},Dt=Ue=>{en(Fe=>[].concat((0,x.Z)(Fe),[Ue]))},ln=Ue=>{const Fe=Kt.indexOf(Ue.value),he=(0,x.Z)(Kt);Fe===-1?he.push(Ue.value):he.splice(Fe,1),"value"in lt||ot(he),Qe==null||Qe(he.filter(at=>Ht.includes(at)).sort((at,At)=>{const we=Je.findIndex(vt=>vt.value===at),Ce=Je.findIndex(vt=>vt.value===At);return we-Ce}))},yt=Ke("checkbox",$e),Yt=`${yt}-group`,[Be,Ut]=(0,Te.ZP)(yt),Cn=(0,y.Z)(lt,["value","disabled"]),Ft=ve.length?Je.map(Ue=>Ae.createElement(a,{prefixCls:yt,key:Ue.value.toString(),disabled:"disabled"in Ue?Ue.disabled:lt.disabled,value:Ue.value,checked:Kt.includes(Ue.value),onChange:Ue.onChange,className:`${Yt}-item`,style:Ue.style,title:Ue.title},Ue.label)):Le,It={toggleOption:ln,value:Kt,disabled:lt.disabled,name:lt.name,registerValue:Dt,cancelValue:ft},nt=se()(Yt,{[`${Yt}-rtl`]:Ye==="rtl"},He,it,Ut);return Be(Ae.createElement("div",Object.assign({className:nt,style:Ne},Cn,{ref:ye}),Ae.createElement(We.Provider,{value:It},Ft)))},re=Ae.forwardRef(te);var ie=Ae.memo(re);const ce=a;ce.Group=ie,ce.__ANT_CHECKBOX=!0;var pe=ce},98447:function(_t,Rt,ae){"use strict";ae.d(Rt,{C2:function(){return Ie}});var b=ae(17313),se=ae(37613),be=ae(83116);const Ae=Re=>{const{checkboxCls:ue}=Re,Ze=`${ue}-wrapper`;return[{[`${ue}-group`]:Object.assign(Object.assign({},(0,b.Wf)(Re)),{display:"inline-flex",flexWrap:"wrap",columnGap:Re.marginXS,[`> ${Re.antCls}-row`]:{flex:1}}),[Ze]:Object.assign(Object.assign({},(0,b.Wf)(Re)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${Ze}`]:{marginInlineStart:0},[`&${Ze}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[ue]:Object.assign(Object.assign({},(0,b.Wf)(Re)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:Re.borderRadiusSM,alignSelf:"center",[`${ue}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${ue}-inner`]:Object.assign({},(0,b.oN)(Re))},[`${ue}-inner`]:{boxSizing:"border-box",position:"relative",top:0,insetInlineStart:0,display:"block",width:Re.checkboxSize,height:Re.checkboxSize,direction:"ltr",backgroundColor:Re.colorBgContainer,border:`${Re.lineWidth}px ${Re.lineType} ${Re.colorBorder}`,borderRadius:Re.borderRadiusSM,borderCollapse:"separate",transition:`all ${Re.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"21.5%",display:"table",width:Re.checkboxSize/14*5,height:Re.checkboxSize/14*8,border:`${Re.lineWidthBold}px solid ${Re.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${Re.motionDurationFast} ${Re.motionEaseInBack}, opacity ${Re.motionDurationFast}`}},"& + span":{paddingInlineStart:Re.paddingXS,paddingInlineEnd:Re.paddingXS}})},{[`
${Ze}:not(${Ze}-disabled),
${ue}:not(${ue}-disabled)
`]:{[`&:hover ${ue}-inner`]:{borderColor:Re.colorPrimary}},[`${Ze}:not(${Ze}-disabled)`]:{[`&:hover ${ue}-checked:not(${ue}-disabled) ${ue}-inner`]:{backgroundColor:Re.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${ue}-checked:not(${ue}-disabled):after`]:{borderColor:Re.colorPrimaryHover}}},{[`${ue}-checked`]:{[`${ue}-inner`]:{backgroundColor:Re.colorPrimary,borderColor:Re.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${Re.motionDurationMid} ${Re.motionEaseOutBack} ${Re.motionDurationFast}`}}},[`
${Ze}-checked:not(${Ze}-disabled),
${ue}-checked:not(${ue}-disabled)
`]:{[`&:hover ${ue}-inner`]:{backgroundColor:Re.colorPrimaryHover,borderColor:"transparent"}}},{[ue]:{"&-indeterminate":{[`${ue}-inner`]:{backgroundColor:Re.colorBgContainer,borderColor:Re.colorBorder,"&:after":{top:"50%",insetInlineStart:"50%",width:Re.fontSizeLG/2,height:Re.fontSizeLG/2,backgroundColor:Re.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}}}}},{[`${Ze}-disabled`]:{cursor:"not-allowed"},[`${ue}-disabled`]:{[`&, ${ue}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${ue}-inner`]:{background:Re.colorBgContainerDisabled,borderColor:Re.colorBorder,"&:after":{borderColor:Re.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:Re.colorTextDisabled},[`&${ue}-indeterminate ${ue}-inner::after`]:{background:Re.colorTextDisabled}}}]};function Ie(Re,ue){const Ze=(0,se.TS)(ue,{checkboxCls:`.${Re}`,checkboxSize:ue.controlInteractiveSize});return[Ae(Ze)]}Rt.ZP=(0,be.Z)("Checkbox",(Re,ue)=>{let{prefixCls:Ze}=ue;return[Ie(Ze,Re)]})},36381:function(_t,Rt,ae){"use strict";ae.d(Rt,{default:function(){return Cn}});var b=ae(38819),se=ae(92310),be=ae.n(se),Ae=ae(14809),Ie=ae(95190),Re=ae(50298),ue=ae(93664),Ze=ae(18929),We=ae(48736),Te=ae(59301),ke=ae(62646),je=ae(11592),De=ae(4635),le=ae(77900),E=ae(10228),a=Te.forwardRef(function(Ft,It){var nt=Ft.prefixCls,Ue=Ft.forceRender,Fe=Ft.className,he=Ft.style,at=Ft.children,At=Ft.isActive,we=Ft.role,Ce=Te.useState(At||Ue),vt=(0,Re.Z)(Ce,2),Xe=vt[0],_e=vt[1];return Te.useEffect(function(){(Ue||At)&&_e(!0)},[Ue,At]),Xe?Te.createElement("div",{ref:It,className:be()("".concat(nt,"-content"),(0,De.Z)((0,De.Z)({},"".concat(nt,"-content-active"),At),"".concat(nt,"-content-inactive"),!At),Fe),style:he,role:we},Te.createElement("div",{className:"".concat(nt,"-content-box")},at)):null});a.displayName="PanelContent";var x=a,y=["showArrow","headerClass","isActive","onItemClick","forceRender","className","prefixCls","collapsible","accordion","panelKey","extra","header","expandIcon","openMotion","destroyInactivePanel","children"],z=Te.forwardRef(function(Ft,It){var nt=Ft.showArrow,Ue=nt===void 0?!0:nt,Fe=Ft.headerClass,he=Ft.isActive,at=Ft.onItemClick,At=Ft.forceRender,we=Ft.className,Ce=Ft.prefixCls,vt=Ft.collapsible,Xe=Ft.accordion,_e=Ft.panelKey,Pt=Ft.extra,cn=Ft.header,Ot=Ft.expandIcon,Xt=Ft.openMotion,$t=Ft.destroyInactivePanel,nn=Ft.children,bt=(0,ke.Z)(Ft,y),rn=vt==="disabled",wn=vt==="header",Zt=vt==="icon",wt=Pt!=null&&typeof Pt!="boolean",Ln=function(){at==null||at(_e)},zn=function(pn){(pn.key==="Enter"||pn.keyCode===E.Z.ENTER||pn.which===E.Z.ENTER)&&Ln()},Wn=typeof Ot=="function"?Ot(Ft):Te.createElement("i",{className:"arrow"});Wn&&(Wn=Te.createElement("div",{className:"".concat(Ce,"-expand-icon"),onClick:["header","icon"].includes(vt)?Ln:void 0},Wn));var Yn=be()((0,De.Z)((0,De.Z)((0,De.Z)({},"".concat(Ce,"-item"),!0),"".concat(Ce,"-item-active"),he),"".concat(Ce,"-item-disabled"),rn),we),xa=be()(Fe,(0,De.Z)((0,De.Z)((0,De.Z)({},"".concat(Ce,"-header"),!0),"".concat(Ce,"-header-collapsible-only"),wn),"".concat(Ce,"-icon-collapsible-only"),Zt)),on={className:xa,"aria-expanded":he,"aria-disabled":rn,onKeyDown:zn};return!wn&&!Zt&&(on.onClick=Ln,on.role=Xe?"tab":"button",on.tabIndex=rn?-1:0),Te.createElement("div",(0,Ae.Z)({},bt,{ref:It,className:Yn}),Te.createElement("div",on,Ue&&Wn,Te.createElement("span",{className:"".concat(Ce,"-header-text"),onClick:vt==="header"?Ln:void 0},cn),wt&&Te.createElement("div",{className:"".concat(Ce,"-extra")},Pt)),Te.createElement(le.default,(0,Ae.Z)({visible:he,leavedClassName:"".concat(Ce,"-content-hidden")},Xt,{forceRender:At,removeOnLeave:$t}),function(qt,pn){var Zn=qt.className,xn=qt.style;return Te.createElement(x,{ref:pn,prefixCls:Ce,className:Zn,style:xn,isActive:he,forceRender:At,role:Xe?"tabpanel":void 0},nn)}))}),te=z,re=["children","label","key","collapsible","onItemClick","destroyInactivePanel"],ie=function(It,nt){var Ue=nt.prefixCls,Fe=nt.accordion,he=nt.collapsible,at=nt.destroyInactivePanel,At=nt.onItemClick,we=nt.activeKey,Ce=nt.openMotion,vt=nt.expandIcon;return It.map(function(Xe,_e){var Pt=Xe.children,cn=Xe.label,Ot=Xe.key,Xt=Xe.collapsible,$t=Xe.onItemClick,nn=Xe.destroyInactivePanel,bt=(0,ke.Z)(Xe,re),rn=String(Ot!=null?Ot:_e),wn=Xt!=null?Xt:he,Zt=nn!=null?nn:at,wt=function(Wn){wn!=="disabled"&&(At(Wn),$t==null||$t(Wn))},Ln=!1;return Fe?Ln=we[0]===rn:Ln=we.indexOf(rn)>-1,Te.createElement(te,(0,Ae.Z)({},bt,{prefixCls:Ue,key:rn,panelKey:rn,isActive:Ln,accordion:Fe,openMotion:Ce,expandIcon:vt,header:cn,collapsible:wn,onItemClick:wt,destroyInactivePanel:Zt}),Pt)})},ce=function(It,nt,Ue){if(!It)return null;var Fe=Ue.prefixCls,he=Ue.accordion,at=Ue.collapsible,At=Ue.destroyInactivePanel,we=Ue.onItemClick,Ce=Ue.activeKey,vt=Ue.openMotion,Xe=Ue.expandIcon,_e=It.key||String(nt),Pt=It.props,cn=Pt.header,Ot=Pt.headerClass,Xt=Pt.destroyInactivePanel,$t=Pt.collapsible,nn=Pt.onItemClick,bt=!1;he?bt=Ce[0]===_e:bt=Ce.indexOf(_e)>-1;var rn=$t!=null?$t:at,wn=function(Ln){rn!=="disabled"&&(we(Ln),nn==null||nn(Ln))},Zt={key:_e,panelKey:_e,header:cn,headerClass:Ot,isActive:bt,prefixCls:Fe,destroyInactivePanel:Xt!=null?Xt:At,openMotion:vt,accordion:he,children:It.props.children,onItemClick:wn,expandIcon:Xe,collapsible:rn};return typeof It.type=="string"?It:(Object.keys(Zt).forEach(function(wt){typeof Zt[wt]=="undefined"&&delete Zt[wt]}),Te.cloneElement(It,Zt))};function pe(Ft,It,nt){return Array.isArray(Ft)?ie(Ft,nt):(0,je.Z)(It).map(function(Ue,Fe){return ce(Ue,Fe,nt)})}var ge=pe,ye=ae(26112);function Ee(Ft){var It=Ft;if(!Array.isArray(It)){var nt=(0,ue.Z)(It);It=nt==="number"||nt==="string"?[It]:[]}return It.map(function(Ue){return String(Ue)})}var Le=Te.forwardRef(function(Ft,It){var nt=Ft.prefixCls,Ue=nt===void 0?"rc-collapse":nt,Fe=Ft.destroyInactivePanel,he=Fe===void 0?!1:Fe,at=Ft.style,At=Ft.accordion,we=Ft.className,Ce=Ft.children,vt=Ft.collapsible,Xe=Ft.openMotion,_e=Ft.expandIcon,Pt=Ft.activeKey,cn=Ft.defaultActiveKey,Ot=Ft.onChange,Xt=Ft.items,$t=be()(Ue,we),nn=(0,Ze.Z)([],{value:Pt,onChange:function(zn){return Ot==null?void 0:Ot(zn)},defaultValue:cn,postState:Ee}),bt=(0,Re.Z)(nn,2),rn=bt[0],wn=bt[1],Zt=function(zn){return wn(function(){if(At)return rn[0]===zn?[]:[zn];var Wn=rn.indexOf(zn),Yn=Wn>-1;return Yn?rn.filter(function(xa){return xa!==zn}):[].concat((0,Ie.Z)(rn),[zn])})};(0,We.ZP)(!Ce,"[rc-collapse] `children` will be removed in next major version. Please use `items` instead.");var wt=ge(Xt,Ce,{prefixCls:Ue,accordion:At,openMotion:Xe,expandIcon:_e,collapsible:vt,destroyInactivePanel:he,onItemClick:Zt,activeKey:rn});return Te.createElement("div",(0,Ae.Z)({ref:It,className:$t,style:at,role:At?"tablist":void 0},(0,ye.Z)(Ft,{aria:!0,data:!0})),wt)}),ve=Object.assign(Le,{Panel:te}),$e=ve,He=ve.Panel,it=ae(2738),Ne=ae(62892),Qe=ae(92343),lt=ae(36355),Ke=ae(19716),Kt=Te.forwardRef((Ft,It)=>{const{getPrefixCls:nt}=Te.useContext(lt.E_),{prefixCls:Ue,className:Fe,showArrow:he=!0}=Ft,at=nt("collapse",Ue),At=be()({[`${at}-no-arrow`]:!he},Fe);return Te.createElement($e.Panel,Object.assign({ref:It},Ft,{prefixCls:at,className:At}))}),ot=ae(17313),Ht=ae(8378),en=ae(83116),Je=ae(37613);const ft=Ft=>{const{componentCls:It,contentBg:nt,padding:Ue,headerBg:Fe,headerPadding:he,collapseHeaderPaddingSM:at,collapseHeaderPaddingLG:At,collapsePanelBorderRadius:we,lineWidth:Ce,lineType:vt,colorBorder:Xe,colorText:_e,colorTextHeading:Pt,colorTextDisabled:cn,fontSize:Ot,fontSizeLG:Xt,lineHeight:$t,marginSM:nn,paddingSM:bt,paddingLG:rn,paddingXS:wn,motionDurationSlow:Zt,fontSizeIcon:wt,contentPadding:Ln}=Ft,zn=`${Ce}px ${vt} ${Xe}`;return{[It]:Object.assign(Object.assign({},(0,ot.Wf)(Ft)),{backgroundColor:Fe,border:zn,borderBottom:0,borderRadius:`${we}px`,"&-rtl":{direction:"rtl"},[`& > ${It}-item`]:{borderBottom:zn,"&:last-child":{[`
&,
& > ${It}-header`]:{borderRadius:`0 0 ${we}px ${we}px`}},[`> ${It}-header`]:{position:"relative",display:"flex",flexWrap:"nowrap",alignItems:"flex-start",padding:he,color:Pt,lineHeight:$t,cursor:"pointer",transition:`all ${Zt}, visibility 0s`,[`> ${It}-header-text`]:{flex:"auto"},"&:focus":{outline:"none"},[`${It}-expand-icon`]:{height:Ot*$t,display:"flex",alignItems:"center",paddingInlineEnd:nn},[`${It}-arrow`]:Object.assign(Object.assign({},(0,ot.Ro)()),{fontSize:wt,svg:{transition:`transform ${Zt}`}}),[`${It}-header-text`]:{marginInlineEnd:"auto"}},[`${It}-header-collapsible-only`]:{cursor:"default",[`${It}-header-text`]:{flex:"none",cursor:"pointer"}},[`${It}-icon-collapsible-only`]:{cursor:"default",[`${It}-expand-icon`]:{cursor:"pointer"}}},[`${It}-content`]:{color:_e,backgroundColor:nt,borderTop:zn,[`& > ${It}-content-box`]:{padding:Ln},"&-hidden":{display:"none"}},"&-small":{[`> ${It}-item`]:{[`> ${It}-header`]:{padding:at,paddingInlineStart:wn,[`> ${It}-expand-icon`]:{marginInlineStart:bt-wn}},[`> ${It}-content > ${It}-content-box`]:{padding:bt}}},"&-large":{[`> ${It}-item`]:{fontSize:Xt,[`> ${It}-header`]:{padding:At,paddingInlineStart:Ue,[`> ${It}-expand-icon`]:{height:Xt*$t,marginInlineStart:rn-Ue}},[`> ${It}-content > ${It}-content-box`]:{padding:rn}}},[`${It}-item:last-child`]:{[`> ${It}-content`]:{borderRadius:`0 0 ${we}px ${we}px`}},[`& ${It}-item-disabled > ${It}-header`]:{"\n &,\n & > .arrow\n ":{color:cn,cursor:"not-allowed"}},[`&${It}-icon-position-end`]:{[`& > ${It}-item`]:{[`> ${It}-header`]:{[`${It}-expand-icon`]:{order:1,paddingInlineEnd:0,paddingInlineStart:nn}}}}})}},Dt=Ft=>{const{componentCls:It}=Ft,nt=`> ${It}-item > ${It}-header ${It}-arrow svg`;return{[`${It}-rtl`]:{[nt]:{transform:"rotate(180deg)"}}}},ln=Ft=>{const{componentCls:It,headerBg:nt,paddingXXS:Ue,colorBorder:Fe}=Ft;return{[`${It}-borderless`]:{backgroundColor:nt,border:0,[`> ${It}-item`]:{borderBottom:`1px solid ${Fe}`},[`
> ${It}-item:last-child,
> ${It}-item:last-child ${It}-header
`]:{borderRadius:0},[`> ${It}-item:last-child`]:{borderBottom:0},[`> ${It}-item > ${It}-content`]:{backgroundColor:"transparent",borderTop:0},[`> ${It}-item > ${It}-content > ${It}-content-box`]:{paddingTop:Ue}}}},yt=Ft=>{const{componentCls:It,paddingSM:nt}=Ft;return{[`${It}-ghost`]:{backgroundColor:"transparent",border:0,[`> ${It}-item`]:{borderBottom:0,[`> ${It}-content`]:{backgroundColor:"transparent",border:0,[`> ${It}-content-box`]:{paddingBlock:nt}}}}}};var Yt=(0,en.Z)("Collapse",Ft=>{const It=(0,Je.TS)(Ft,{collapseHeaderPaddingSM:`${Ft.paddingXS}px ${Ft.paddingSM}px`,collapseHeaderPaddingLG:`${Ft.padding}px ${Ft.paddingLG}px`,collapsePanelBorderRadius:Ft.borderRadiusLG});return[ft(It),ln(It),yt(It),Dt(It),(0,Ht.Z)(It)]},Ft=>({headerPadding:`${Ft.paddingSM}px ${Ft.padding}px`,headerBg:Ft.colorFillAlter,contentPadding:`${Ft.padding}px 16px`,contentBg:Ft.colorBgContainer})),Ut=Object.assign(Te.forwardRef((Ft,It)=>{const{getPrefixCls:nt,direction:Ue,collapse:Fe}=Te.useContext(lt.E_),{prefixCls:he,className:at,rootClassName:At,style:we,bordered:Ce=!0,ghost:vt,size:Xe,expandIconPosition:_e="start",children:Pt,expandIcon:cn}=Ft,Ot=(0,Ke.Z)(zn=>{var Wn;return(Wn=Xe!=null?Xe:zn)!==null&&Wn!==void 0?Wn:"middle"}),Xt=nt("collapse",he),$t=nt(),[nn,bt]=Yt(Xt),rn=Te.useMemo(()=>_e==="left"?"start":_e==="right"?"end":_e,[_e]),wn=function(){let zn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const Wn=cn?cn(zn):Te.createElement(b.Z,{rotate:zn.isActive?90:void 0});return(0,Qe.Tm)(Wn,()=>({className:be()(Wn.props.className,`${Xt}-arrow`)}))},Zt=be()(`${Xt}-icon-position-${rn}`,{[`${Xt}-borderless`]:!Ce,[`${Xt}-rtl`]:Ue==="rtl",[`${Xt}-ghost`]:!!vt,[`${Xt}-${Ot}`]:Ot!=="middle"},Fe==null?void 0:Fe.className,at,At,bt),wt=Object.assign(Object.assign({},(0,Ne.Z)($t)),{motionAppear:!1,leavedClassName:`${Xt}-content-hidden`}),Ln=Te.useMemo(()=>Pt?(0,je.Z)(Pt).map((zn,Wn)=>{var Yn,xa;if(!((Yn=zn.props)===null||Yn===void 0)&&Yn.disabled){const on=(xa=zn.key)!==null&&xa!==void 0?xa:String(Wn),{disabled:qt,collapsible:pn}=zn.props,Zn=Object.assign(Object.assign({},(0,it.Z)(zn.props,["disabled"])),{key:on,collapsible:pn!=null?pn:qt?"disabled":void 0});return(0,Qe.Tm)(zn,Zn)}return zn}):null,[Pt]);return nn(Te.createElement($e,Object.assign({ref:It,openMotion:wt},(0,it.Z)(Ft,["rootClassName"]),{expandIcon:wn,prefixCls:Xt,className:Zt,style:Object.assign(Object.assign({},Fe==null?void 0:Fe.style),we)}),Ln))}),{Panel:Kt}),Cn=Ut},28103:function(_t,Rt,ae){"use strict";ae.d(Rt,{Z:function(){return je}});var b=ae(92310),se=ae.n(b),be=ae(59301),Ae=ae(36355),Ie=ae(17313),Re=ae(83116),ue=ae(37613);const Ze=De=>{const{componentCls:le,sizePaddingEdgeHorizontal:E,colorSplit:a,lineWidth:x,textPaddingInline:y,orientationMargin:z,verticalMarginInline:te}=De;return{[le]:Object.assign(Object.assign({},(0,Ie.Wf)(De)),{borderBlockStart:`${x}px solid ${a}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",marginInline:te,marginBlock:0,verticalAlign:"middle",borderTop:0,borderInlineStart:`${x}px solid ${a}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${De.dividerHorizontalGutterMargin}px 0`},[`&-horizontal${le}-with-text`]:{display:"flex",alignItems:"center",margin:`${De.dividerHorizontalWithTextGutterMargin}px 0`,color:De.colorTextHeading,fontWeight:500,fontSize:De.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:`0 ${a}`,"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:`${x}px solid transparent`,borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},[`&-horizontal${le}-with-text-left`]:{"&::before":{width:`${z*100}%`},"&::after":{width:`${100-z*100}%`}},[`&-horizontal${le}-with-text-right`]:{"&::before":{width:`${100-z*100}%`},"&::after":{width:`${z*100}%`}},[`${le}-inner-text`]:{display:"inline-block",paddingBlock:0,paddingInline:y},"&-dashed":{background:"none",borderColor:a,borderStyle:"dashed",borderWidth:`${x}px 0 0`},[`&-horizontal${le}-with-text${le}-dashed`]:{"&::before, &::after":{borderStyle:"dashed none none"}},[`&-vertical${le}-dashed`]:{borderInlineStartWidth:x,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${le}-with-text`]:{color:De.colorText,fontWeight:"normal",fontSize:De.fontSize},[`&-horizontal${le}-with-text-left${le}-no-default-orientation-margin-left`]:{"&::before":{width:0},"&::after":{width:"100%"},[`${le}-inner-text`]:{paddingInlineStart:E}},[`&-horizontal${le}-with-text-right${le}-no-default-orientation-margin-right`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${le}-inner-text`]:{paddingInlineEnd:E}}})}};var We=(0,Re.Z)("Divider",De=>{const le=(0,ue.TS)(De,{dividerHorizontalWithTextGutterMargin:De.margin,dividerHorizontalGutterMargin:De.marginLG,sizePaddingEdgeHorizontal:0});return[Ze(le)]},De=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:De.marginXS})),Te=function(De,le){var E={};for(var a in De)Object.prototype.hasOwnProperty.call(De,a)&&le.indexOf(a)<0&&(E[a]=De[a]);if(De!=null&&typeof Object.getOwnPropertySymbols=="function")for(var x=0,a=Object.getOwnPropertySymbols(De);x<a.length;x++)le.indexOf(a[x])<0&&Object.prototype.propertyIsEnumerable.call(De,a[x])&&(E[a[x]]=De[a[x]]);return E},je=De=>{const{getPrefixCls:le,direction:E,divider:a}=be.useContext(Ae.E_),{prefixCls:x,type:y="horizontal",orientation:z="center",orientationMargin:te,className:re,rootClassName:ie,children:ce,dashed:pe,plain:ge,style:ye}=De,Ee=Te(De,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","plain","style"]),Le=le("divider",x),[ve,$e]=We(Le),He=z.length>0?`-${z}`:z,it=!!ce,Ne=z==="left"&&te!=null,Qe=z==="right"&&te!=null,lt=se()(Le,a==null?void 0:a.className,$e,`${Le}-${y}`,{[`${Le}-with-text`]:it,[`${Le}-with-text${He}`]:it,[`${Le}-dashed`]:!!pe,[`${Le}-plain`]:!!ge,[`${Le}-rtl`]:E==="rtl",[`${Le}-no-default-orientation-margin-left`]:Ne,[`${Le}-no-default-orientation-margin-right`]:Qe},re,ie),Ke=be.useMemo(()=>typeof te=="number"?te:/^\d+$/.test(te)?Number(te):te,[te]),Ye=Object.assign(Object.assign({},Ne&&{marginLeft:Ke}),Qe&&{marginRight:Ke});return ve(be.createElement("div",Object.assign({className:lt,style:Object.assign(Object.assign({},a==null?void 0:a.style),ye)},Ee,{role:"separator"}),ce&&y!=="vertical"&&be.createElement("span",{className:`${Le}-inner-text`,style:Ye},ce)))}},91857:function(_t,Rt,ae){"use strict";var b=ae(59301),se=ae(38819),be=ae(92310),Ae=ae.n(be),Ie=ae(31561),Re=ae(70425),ue=ae(18929),Ze=ae(2738),We=ae(79676),Te=ae(53487),ke=ae(92343),je=ae(36355),De=ae(20834),le=ae(40875),E=ae(88088),a=ae(47211);const x=null,y=ie=>{const{menu:ce,arrow:pe,prefixCls:ge,children:ye,trigger:Ee,disabled:Le,dropdownRender:ve,getPopupContainer:$e,overlayClassName:He,rootClassName:it,open:Ne,onOpenChange:Qe,visible:lt,onVisibleChange:Ke,mouseEnterDelay:Ye=.15,mouseLeaveDelay:Kt=.1,autoAdjustOverflow:ot=!0,placement:Ht="",overlay:en,transitionName:Je}=ie,{getPopupContainer:ft,getPrefixCls:Dt,direction:ln}=b.useContext(je.E_),yt=b.useMemo(()=>{const _e=Dt();return Je!==void 0?Je:Ht.includes("top")?`${_e}-slide-down`:`${_e}-slide-up`},[Dt,Ht,Je]),Yt=b.useMemo(()=>Ht?Ht.includes("Center")?Ht.slice(0,Ht.indexOf("Center")):Ht:ln==="rtl"?"bottomRight":"bottomLeft",[Ht,ln]),Be=Dt("dropdown",ge),[Ut,Cn]=(0,a.Z)(Be),[,Ft]=(0,E.Z)(),It=b.Children.only(ye),nt=(0,ke.Tm)(It,{className:Ae()(`${Be}-trigger`,{[`${Be}-rtl`]:ln==="rtl"},It.props.className),disabled:Le}),Ue=Le?[]:Ee;let Fe;Ue&&Ue.includes("contextMenu")&&(Fe=!0);const[he,at]=(0,ue.Z)(!1,{value:Ne!=null?Ne:lt}),At=(0,Re.useEvent)(_e=>{Qe==null||Qe(_e),Ke==null||Ke(_e),at(_e)}),we=Ae()(He,it,Cn,{[`${Be}-rtl`]:ln==="rtl"}),Ce=(0,We.Z)({arrowPointAtCenter:typeof pe=="object"&&pe.pointAtCenter,autoAdjustOverflow:ot,offset:Ft.marginXXS,arrowWidth:pe?Ft.sizePopupArrow:0,borderRadius:Ft.borderRadius}),vt=b.useCallback(()=>{at(!1)},[]),Xe=()=>{let _e;return ce!=null&&ce.items?_e=b.createElement(De.default,Object.assign({},ce)):typeof en=="function"?_e=en():_e=en,ve&&(_e=ve(_e)),_e=b.Children.only(typeof _e=="string"?b.createElement("span",null,_e):_e),b.createElement(le.J,{prefixCls:`${Be}-menu`,expandIcon:b.createElement("span",{className:`${Be}-menu-submenu-arrow`},b.createElement(se.Z,{className:`${Be}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:vt,validator:Pt=>{let{mode:cn}=Pt}},_e)};return Ut(b.createElement(Ie.Z,Object.assign({alignPoint:Fe},(0,Ze.Z)(ie,["rootClassName"]),{mouseEnterDelay:Ye,mouseLeaveDelay:Kt,visible:he,builtinPlacements:Ce,arrow:!!pe,overlayClassName:we,prefixCls:Be,getPopupContainer:$e||ft,transitionName:yt,trigger:Ue,overlay:Xe,placement:Yt,onVisibleChange:At}),nt))};function z(ie){return Object.assign(Object.assign({},ie),{align:{overflow:{adjustX:!1,adjustY:!1}}})}const te=(0,Te.Z)(y,"dropdown",ie=>ie,z),re=ie=>b.createElement(te,Object.assign({},ie),b.createElement("span",null));y._InternalPanelDoNotUseOrYouWillBeFired=re,Rt.Z=y},38854:function(_t,Rt,ae){"use strict";ae.d(Rt,{Z:function(){return E}});var b=ae(91857),se=ae(92310),be=ae.n(se),Ae=ae(59301),Ie=ae(18785),Re=ae(3113),ue=ae(36355),Ze=ae(81327),We=ae(33234),Te=ae(47211),ke=function(a,x){var y={};for(var z in a)Object.prototype.hasOwnProperty.call(a,z)&&x.indexOf(z)<0&&(y[z]=a[z]);if(a!=null&&typeof Object.getOwnPropertySymbols=="function")for(var te=0,z=Object.getOwnPropertySymbols(a);te<z.length;te++)x.indexOf(z[te])<0&&Object.prototype.propertyIsEnumerable.call(a,z[te])&&(y[z[te]]=a[z[te]]);return y};const je=a=>{const{getPopupContainer:x,getPrefixCls:y,direction:z}=Ae.useContext(ue.E_),{prefixCls:te,type:re="default",danger:ie,disabled:ce,loading:pe,onClick:ge,htmlType:ye,children:Ee,className:Le,menu:ve,arrow:$e,autoFocus:He,overlay:it,trigger:Ne,align:Qe,open:lt,onOpenChange:Ke,placement:Ye,getPopupContainer:Kt,href:ot,icon:Ht=Ae.createElement(Ie.Z,null),title:en,buttonsRender:Je=Xe=>Xe,mouseEnterDelay:ft,mouseLeaveDelay:Dt,overlayClassName:ln,overlayStyle:yt,destroyPopupOnHide:Yt,dropdownRender:Be}=a,Ut=ke(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"]),Cn=y("dropdown",te),Ft=`${Cn}-button`,[It,nt]=(0,Te.Z)(Cn),Ue={menu:ve,arrow:$e,autoFocus:He,align:Qe,disabled:ce,trigger:ce?[]:Ne,onOpenChange:Ke,getPopupContainer:Kt||x,mouseEnterDelay:ft,mouseLeaveDelay:Dt,overlayClassName:ln,overlayStyle:yt,destroyPopupOnHide:Yt,dropdownRender:Be},{compactSize:Fe,compactItemClassnames:he}=(0,We.ri)(Cn,z),at=be()(Ft,he,Le,nt);"overlay"in a&&(Ue.overlay=it),"open"in a&&(Ue.open=lt),"placement"in a?Ue.placement=Ye:Ue.placement=z==="rtl"?"bottomLeft":"bottomRight";const At=Ae.createElement(Re.ZP,{type:re,danger:ie,disabled:ce,loading:pe,onClick:ge,htmlType:ye,href:ot,title:en},Ee),we=Ae.createElement(Re.ZP,{type:re,danger:ie,icon:Ht}),[Ce,vt]=Je([At,we]);return It(Ae.createElement(Ze.Z.Compact,Object.assign({className:at,size:Fe,block:!0},Ut),Ce,Ae.createElement(b.Z,Object.assign({},Ue),vt)))};je.__ANT_BUTTON=!0;var De=je;const le=b.Z;le.Button=De;var E=le},47211:function(_t,Rt,ae){"use strict";ae.d(Rt,{Z:function(){return ke}});var b=ae(17313),se=ae(13826),be=ae(92899),Ae=ae(29878),Ie=ae(19447),Re=ae(83116),ue=ae(37613),We=je=>{const{componentCls:De,menuCls:le,colorError:E,colorTextLightSolid:a}=je,x=`${le}-item`;return{[`${De}, ${De}-menu-submenu`]:{[`${le} ${x}`]:{[`&${x}-danger:not(${x}-disabled)`]:{color:E,"&:hover":{color:a,backgroundColor:E}}}}}};const Te=je=>{const{componentCls:De,menuCls:le,zIndexPopup:E,dropdownArrowDistance:a,sizePopupArrow:x,antCls:y,iconCls:z,motionDurationMid:te,dropdownPaddingVertical:re,fontSize:ie,dropdownEdgeChildPadding:ce,colorTextDisabled:pe,fontSizeIcon:ge,controlPaddingHorizontal:ye,colorBgElevated:Ee}=je;return[{[De]:Object.assign(Object.assign({},(0,b.Wf)(je)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:E,display:"block","&::before":{position:"absolute",insetBlock:-a+x/2,zIndex:-9999,opacity:1e-4,content:'""'},[`&-trigger${y}-btn`]:{[`& > ${z}-down, & > ${y}-btn-icon > ${z}-down`]:{fontSize:ge}},[`${De}-wrap`]:{position:"relative",[`${y}-btn > ${z}-down`]:{fontSize:ge},[`${z}-down::before`]:{transition:`transform ${te}`}},[`${De}-wrap-open`]:{[`${z}-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${De}-placement-bottomLeft,
&${y}-slide-down-appear${y}-slide-down-appear-active${De}-placement-bottomLeft,
&${y}-slide-down-enter${y}-slide-down-enter-active${De}-placement-bottom,
&${y}-slide-down-appear${y}-slide-down-appear-active${De}-placement-bottom,
&${y}-slide-down-enter${y}-slide-down-enter-active${De}-placement-bottomRight,
&${y}-slide-down-appear${y}-slide-down-appear-active${De}-placement-bottomRight`]:{animationName:se.fJ},[`&${y}-slide-up-enter${y}-slide-up-enter-active${De}-placement-topLeft,
&${y}-slide-up-appear${y}-slide-up-appear-active${De}-placement-topLeft,
&${y}-slide-up-enter${y}-slide-up-enter-active${De}-placement-top,
&${y}-slide-up-appear${y}-slide-up-appear-active${De}-placement-top,
&${y}-slide-up-enter${y}-slide-up-enter-active${De}-placement-topRight,
&${y}-slide-up-appear${y}-slide-up-appear-active${De}-placement-topRight`]:{animationName:se.Qt},[`&${y}-slide-down-leave${y}-slide-down-leave-active${De}-placement-bottomLeft,
&${y}-slide-down-leave${y}-slide-down-leave-active${De}-placement-bottom,
&${y}-slide-down-leave${y}-slide-down-leave-active${De}-placement-bottomRight`]:{animationName:se.Uw},[`&${y}-slide-up-leave${y}-slide-up-leave-active${De}-placement-topLeft,
&${y}-slide-up-leave${y}-slide-up-leave-active${De}-placement-top,
&${y}-slide-up-leave${y}-slide-up-leave-active${De}-placement-topRight`]:{animationName:se.ly}})},(0,Ie.ZP)(je,{colorBg:Ee,limitVerticalRadius:!0,arrowPlacement:{top:!0,bottom:!0}}),{[`${De} ${le}`]:{position:"relative",margin:0},[`${le}-submenu-popup`]:{position:"absolute",zIndex:E,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${De}, ${De}-menu-submenu`]:{[le]:Object.assign(Object.assign({padding:ce,listStyleType:"none",backgroundColor:Ee,backgroundClip:"padding-box",borderRadius:je.borderRadiusLG,outline:"none",boxShadow:je.boxShadowSecondary},(0,b.Qy)(je)),{[`${le}-item-group-title`]:{padding:`${re}px ${ye}px`,color:je.colorTextDescription,transition:`all ${te}`},[`${le}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${le}-item-icon`]:{minWidth:ie,marginInlineEnd:je.marginXS,fontSize:je.fontSizeSM},[`${le}-title-content`]:{flex:"auto","> a":{color:"inherit",transition:`all ${te}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}}},[`${le}-item, ${le}-submenu-title`]:Object.assign(Object.assign({clear:"both",margin:0,padding:`${re}px ${ye}px`,color:je.colorText,fontWeight:"normal",fontSize:ie,lineHeight:je.lineHeight,cursor:"pointer",transition:`all ${te}`,borderRadius:je.borderRadiusSM,"&:hover, &-active":{backgroundColor:je.controlItemBgHover}},(0,b.Qy)(je)),{"&-selected":{color:je.colorPrimary,backgroundColor:je.controlItemBgActive,"&:hover, &-active":{backgroundColor:je.controlItemBgActiveHover}},"&-disabled":{color:pe,cursor:"not-allowed","&:hover":{color:pe,backgroundColor:Ee,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${je.marginXXS}px 0`,overflow:"hidden",lineHeight:0,backgroundColor:je.colorSplit},[`${De}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:je.paddingXS,[`${De}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:je.colorTextDescription,fontSize:ge,fontStyle:"normal"}}}),[`${le}-item-group-list`]:{margin:`0 ${je.marginXS}px`,padding:0,listStyle:"none"},[`${le}-submenu-title`]:{paddingInlineEnd:ye+je.fontSizeSM},[`${le}-submenu-vertical`]:{position:"relative"},[`${le}-submenu${le}-submenu-disabled ${De}-menu-submenu-title`]:{[`&, ${De}-menu-submenu-arrow-icon`]:{color:pe,backgroundColor:Ee,cursor:"not-allowed"}},[`${le}-submenu-selected ${De}-menu-submenu-title`]:{color:je.colorPrimary}})}},[(0,se.oN)(je,"slide-up"),(0,se.oN)(je,"slide-down"),(0,be.Fm)(je,"move-up"),(0,be.Fm)(je,"move-down"),(0,Ae._y)(je,"zoom-big")]]};var ke=(0,Re.Z)("Dropdown",(je,De)=>{let{rootPrefixCls:le}=De;const{marginXXS:E,sizePopupArrow:a,controlHeight:x,fontSize:y,lineHeight:z,paddingXXS:te,componentCls:re,borderRadiusLG:ie}=je,ce=(x-y*z)/2,{dropdownArrowOffset:pe}=(0,Ie.fS)({contentRadius:ie}),ge=(0,ue.TS)(je,{menuCls:`${re}-menu`,rootPrefixCls:le,dropdownArrowDistance:a/2+E,dropdownArrowOffset:pe,dropdownPaddingVertical:ce,dropdownEdgeChildPadding:te});return[Te(ge),We(ge)]},je=>({zIndexPopup:je.zIndexPopupBase+50}))},8628:function(_t,Rt,ae){"use strict";var b=ae(59301),se=ae(34280),be=ae(56762),Ae=ae(69507);function Ie(){let Re=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;const ue=(0,b.useRef)({}),Ze=(0,be.Z)(),We=(0,Ae.ZP)();return(0,se.Z)(()=>{const Te=We.subscribe(ke=>{ue.current=ke,Re&&Ze()});return()=>We.unsubscribe(Te)},[]),ue.current}Rt.Z=Ie},45818:function(_t,Rt,ae){"use strict";ae.d(Rt,{D:function(){return te},Z:function(){return ce}});var b=ae(14809),se=ae(59301),be={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"},Ae=be,Ie=ae(7657),Re=function(ge,ye){return se.createElement(Ie.Z,(0,b.Z)({},ge,{ref:ye,icon:Ae}))},ue=se.forwardRef(Re),Ze=ue,We=ae(33853),Te=ae(38819),ke=ae(92310),je=ae.n(ke),De=ae(2738),E=pe=>!isNaN(parseFloat(pe))&&isFinite(pe),a=ae(36355),x=ae(84966),y=function(pe,ge){var ye={};for(var Ee in pe)Object.prototype.hasOwnProperty.call(pe,Ee)&&ge.indexOf(Ee)<0&&(ye[Ee]=pe[Ee]);if(pe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Le=0,Ee=Object.getOwnPropertySymbols(pe);Le<Ee.length;Le++)ge.indexOf(Ee[Le])<0&&Object.prototype.propertyIsEnumerable.call(pe,Ee[Le])&&(ye[Ee[Le]]=pe[Ee[Le]]);return ye};const z={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},te=se.createContext({}),re=(()=>{let pe=0;return function(){let ge=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return pe+=1,`${ge}${pe}`}})();var ce=se.forwardRef((pe,ge)=>{const{prefixCls:ye,className:Ee,trigger:Le,children:ve,defaultCollapsed:$e=!1,theme:He="dark",style:it={},collapsible:Ne=!1,reverseArrow:Qe=!1,width:lt=200,collapsedWidth:Ke=80,zeroWidthTriggerStyle:Ye,breakpoint:Kt,onCollapse:ot,onBreakpoint:Ht}=pe,en=y(pe,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:Je}=(0,se.useContext)(x.Gs),[ft,Dt]=(0,se.useState)("collapsed"in pe?pe.collapsed:$e),[ln,yt]=(0,se.useState)(!1);(0,se.useEffect)(()=>{"collapsed"in pe&&Dt(pe.collapsed)},[pe.collapsed]);const Yt=(nt,Ue)=>{"collapsed"in pe||Dt(nt),ot==null||ot(nt,Ue)},Be=(0,se.useRef)();Be.current=nt=>{yt(nt.matches),Ht==null||Ht(nt.matches),ft!==nt.matches&&Yt(nt.matches,"responsive")},(0,se.useEffect)(()=>{function nt(Fe){return Be.current(Fe)}let Ue;if(typeof window!="undefined"){const{matchMedia:Fe}=window;if(Fe&&Kt&&Kt in z){Ue=Fe(`(max-width: ${z[Kt]})`);try{Ue.addEventListener("change",nt)}catch(he){Ue.addListener(nt)}nt(Ue)}}return()=>{try{Ue==null||Ue.removeEventListener("change",nt)}catch(Fe){Ue==null||Ue.removeListener(nt)}}},[Kt]),(0,se.useEffect)(()=>{const nt=re("ant-sider-");return Je.addSider(nt),()=>Je.removeSider(nt)},[]);const Ut=()=>{Yt(!ft,"clickTrigger")},{getPrefixCls:Cn}=(0,se.useContext)(a.E_),Ft=()=>{const nt=Cn("layout-sider",ye),Ue=(0,De.Z)(en,["collapsed"]),Fe=ft?Ke:lt,he=E(Fe)?`${Fe}px`:String(Fe),at=parseFloat(String(Ke||0))===0?se.createElement("span",{onClick:Ut,className:je()(`${nt}-zero-width-trigger`,`${nt}-zero-width-trigger-${Qe?"right":"left"}`),style:Ye},Le||se.createElement(Ze,null)):null,Ce={expanded:Qe?se.createElement(Te.Z,null):se.createElement(We.Z,null),collapsed:Qe?se.createElement(We.Z,null):se.createElement(Te.Z,null)}[ft?"collapsed":"expanded"],vt=Le!==null?at||se.createElement("div",{className:`${nt}-trigger`,onClick:Ut,style:{width:he}},Le||Ce):null,Xe=Object.assign(Object.assign({},it),{flex:`0 0 ${he}`,maxWidth:he,minWidth:he,width:he}),_e=je()(nt,`${nt}-${He}`,{[`${nt}-collapsed`]:!!ft,[`${nt}-has-trigger`]:Ne&&Le!==null&&!at,[`${nt}-below`]:!!ln,[`${nt}-zero-width`]:parseFloat(he)===0},Ee);return se.createElement("aside",Object.assign({className:_e},Ue,{style:Xe,ref:ge}),se.createElement("div",{className:`${nt}-children`},ve),Ne||ln&&at?vt:null)},It=se.useMemo(()=>({siderCollapsed:ft}),[ft]);return se.createElement(te.Provider,{value:It},Ft())})},84966:function(_t,Rt,ae){"use strict";ae.d(Rt,{VY:function(){return te},$_:function(){return z},h4:function(){return y},Gs:function(){return De},ZP:function(){return re}});var b=ae(95190),se=ae(92310),be=ae.n(se),Ae=ae(2738),Ie=ae(59301),Re=ae(36355),ue=ae(83116),We=ie=>{const{componentCls:ce,bodyBg:pe,lightSiderBg:ge,lightTriggerBg:ye,lightTriggerColor:Ee}=ie;return{[`${ce}-sider-light`]:{background:ge,[`${ce}-sider-trigger`]:{color:Ee,background:ye},[`${ce}-sider-zero-width-trigger`]:{color:Ee,background:ye,border:`1px solid ${pe}`,borderInlineStart:0}}}};const Te=ie=>{const{antCls:ce,componentCls:pe,colorText:ge,triggerColor:ye,footerBg:Ee,triggerBg:Le,headerHeight:ve,headerPadding:$e,headerColor:He,footerPadding:it,triggerHeight:Ne,zeroTriggerHeight:Qe,zeroTriggerWidth:lt,motionDurationMid:Ke,motionDurationSlow:Ye,fontSize:Kt,borderRadius:ot,bodyBg:Ht,headerBg:en,siderBg:Je}=ie;return{[pe]:Object.assign(Object.assign({display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:Ht,"&, *":{boxSizing:"border-box"},[`&${pe}-has-sider`]:{flexDirection:"row",[`> ${pe}, > ${pe}-content`]:{width:0}},[`${pe}-header, &${pe}-footer`]:{flex:"0 0 auto"},[`${pe}-sider`]:{position:"relative",minWidth:0,background:Je,transition:`all ${Ke}, background 0s`,"&-children":{height:"100%",marginTop:-.1,paddingTop:.1,[`${ce}-menu${ce}-menu-inline-collapsed`]:{width:"auto"}},"&-has-trigger":{paddingBottom:Ne},"&-right":{order:1},"&-trigger":{position:"fixed",bottom:0,zIndex:1,height:Ne,color:ye,lineHeight:`${Ne}px`,textAlign:"center",background:Le,cursor:"pointer",transition:`all ${Ke}`},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:ve,insetInlineEnd:-lt,zIndex:1,width:lt,height:Qe,color:ye,fontSize:ie.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:Je,borderStartStartRadius:0,borderStartEndRadius:ot,borderEndEndRadius:ot,borderEndStartRadius:0,cursor:"pointer",transition:`background ${Ye} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${Ye}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:-lt,borderStartStartRadius:ot,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:ot}}}}},We(ie)),{"&-rtl":{direction:"rtl"}}),[`${pe}-header`]:{height:ve,padding:$e,color:He,lineHeight:`${ve}px`,background:en,[`${ce}-menu`]:{lineHeight:"inherit"}},[`${pe}-footer`]:{padding:it,color:ge,fontSize:Kt,background:Ee},[`${pe}-content`]:{flex:"auto",minHeight:0}}};var ke=(0,ue.Z)("Layout",ie=>[Te(ie)],ie=>{const{colorBgLayout:ce,controlHeight:pe,controlHeightLG:ge,colorText:ye,controlHeightSM:Ee,marginXXS:Le,colorTextLightSolid:ve,colorBgContainer:$e}=ie,He=ge*1.25;return{colorBgHeader:"#001529",colorBgBody:ce,colorBgTrigger:"#002140",bodyBg:ce,headerBg:"#001529",headerHeight:pe*2,headerPadding:`0 ${He}px`,headerColor:ye,footerPadding:`${Ee}px ${He}px`,footerBg:ce,siderBg:"#001529",triggerHeight:ge+Le*2,triggerBg:"#002140",triggerColor:ve,zeroTriggerWidth:ge,zeroTriggerHeight:ge,lightSiderBg:$e,lightTriggerBg:$e,lightTriggerColor:ye}},{deprecatedTokens:[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]]}),je=function(ie,ce){var pe={};for(var ge in ie)Object.prototype.hasOwnProperty.call(ie,ge)&&ce.indexOf(ge)<0&&(pe[ge]=ie[ge]);if(ie!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ye=0,ge=Object.getOwnPropertySymbols(ie);ye<ge.length;ye++)ce.indexOf(ge[ye])<0&&Object.prototype.propertyIsEnumerable.call(ie,ge[ye])&&(pe[ge[ye]]=ie[ge[ye]]);return pe};const De=Ie.createContext({siderHook:{addSider:()=>null,removeSider:()=>null}});function le(ie){let{suffixCls:ce,tagName:pe,displayName:ge}=ie;return ye=>Ie.forwardRef((Le,ve)=>Ie.createElement(ye,Object.assign({ref:ve,suffixCls:ce,tagName:pe},Le)))}const E=Ie.forwardRef((ie,ce)=>{const{prefixCls:pe,suffixCls:ge,className:ye,tagName:Ee}=ie,Le=je(ie,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:ve}=Ie.useContext(Re.E_),$e=ve("layout",pe),[He,it]=ke($e),Ne=ge?`${$e}-${ge}`:$e;return He(Ie.createElement(Ee,Object.assign({className:be()(pe||Ne,ye,it),ref:ce},Le)))}),a=Ie.forwardRef((ie,ce)=>{const{direction:pe}=Ie.useContext(Re.E_),[ge,ye]=Ie.useState([]),{prefixCls:Ee,className:Le,rootClassName:ve,children:$e,hasSider:He,tagName:it,style:Ne}=ie,Qe=je(ie,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),lt=(0,Ae.Z)(Qe,["suffixCls"]),{getPrefixCls:Ke,layout:Ye}=Ie.useContext(Re.E_),Kt=Ke("layout",Ee),[ot,Ht]=ke(Kt),en=be()(Kt,{[`${Kt}-has-sider`]:typeof He=="boolean"?He:ge.length>0,[`${Kt}-rtl`]:pe==="rtl"},Ye==null?void 0:Ye.className,Le,ve,Ht),Je=Ie.useMemo(()=>({siderHook:{addSider:ft=>{ye(Dt=>[].concat((0,b.Z)(Dt),[ft]))},removeSider:ft=>{ye(Dt=>Dt.filter(ln=>ln!==ft))}}}),[]);return ot(Ie.createElement(De.Provider,{value:Je},Ie.createElement(it,Object.assign({ref:ce,className:en,style:Object.assign(Object.assign({},Ye==null?void 0:Ye.style),Ne)},lt),$e)))}),x=le({tagName:"div",displayName:"Layout"})(a),y=le({suffixCls:"header",tagName:"header",displayName:"Header"})(E),z=le({suffixCls:"footer",tagName:"footer",displayName:"Footer"})(E),te=le({suffixCls:"content",tagName:"main",displayName:"Content"})(E);var re=x},40875:function(_t,Rt,ae){"use strict";ae.d(Rt,{J:function(){return Re}});var b=ae(59301),se=ae(33234),be=ae(70425),Ae=function(ue,Ze){var We={};for(var Te in ue)Object.prototype.hasOwnProperty.call(ue,Te)&&Ze.indexOf(Te)<0&&(We[Te]=ue[Te]);if(ue!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ke=0,Te=Object.getOwnPropertySymbols(ue);ke<Te.length;ke++)Ze.indexOf(Te[ke])<0&&Object.prototype.propertyIsEnumerable.call(ue,Te[ke])&&(We[Te[ke]]=ue[Te[ke]]);return We};const Ie=b.createContext(null),Re=b.forwardRef((ue,Ze)=>{const{children:We}=ue,Te=Ae(ue,["children"]),ke=b.useContext(Ie),je=b.useMemo(()=>Object.assign(Object.assign({},ke),Te),[ke,Te.prefixCls,Te.mode,Te.selectable]);return b.createElement(Ie.Provider,{value:je},b.createElement(se.BR,null,(0,be.supportNodeRef)(We)?b.cloneElement(We,{ref:Ze}):We))});Rt.Z=Ie},20834:function(_t,Rt,ae){"use strict";ae.d(Rt,{default:function(){return It}});var b=ae(15285),se=ae(59301),be=ae(45818),Ae=ae(92310),Ie=ae.n(Ae),Re=ae(36355),ue=function(nt,Ue){var Fe={};for(var he in nt)Object.prototype.hasOwnProperty.call(nt,he)&&Ue.indexOf(he)<0&&(Fe[he]=nt[he]);if(nt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var at=0,he=Object.getOwnPropertySymbols(nt);at<he.length;at++)Ue.indexOf(he[at])<0&&Object.prototype.propertyIsEnumerable.call(nt,he[at])&&(Fe[he[at]]=nt[he[at]]);return Fe},We=nt=>{const{prefixCls:Ue,className:Fe,dashed:he}=nt,at=ue(nt,["prefixCls","className","dashed"]),{getPrefixCls:At}=se.useContext(Re.E_),we=At("menu",Ue),Ce=Ie()({[`${we}-item-divider-dashed`]:!!he},Fe);return se.createElement(b.iz,Object.assign({className:Ce},at))},Te=ae(11592),ke=ae(2738),je=ae(6848),De=ae(92343),E=(0,se.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),x=nt=>{var Ue;const{className:Fe,children:he,icon:at,title:At,danger:we}=nt,{prefixCls:Ce,firstLevel:vt,direction:Xe,disableMenuItemTitleTooltip:_e,inlineCollapsed:Pt}=se.useContext(E),cn=rn=>{const wn=se.createElement("span",{className:`${Ce}-title-content`},he);return(!at||(0,De.l$)(he)&&he.type==="span")&&he&&rn&&vt&&typeof he=="string"?se.createElement("div",{className:`${Ce}-inline-collapsed-noicon`},he.charAt(0)):wn},{siderCollapsed:Ot}=se.useContext(be.D);let Xt=At;typeof At=="undefined"?Xt=vt?he:"":At===!1&&(Xt="");const $t={title:Xt};!Ot&&!Pt&&($t.title=null,$t.open=!1);const nn=(0,Te.Z)(he).length;let bt=se.createElement(b.ck,Object.assign({},(0,ke.Z)(nt,["title","icon","danger"]),{className:Ie()({[`${Ce}-item-danger`]:we,[`${Ce}-item-only-child`]:(at?nn+1:nn)===1},Fe),title:typeof At=="string"?At:void 0}),(0,De.Tm)(at,{className:Ie()((0,De.l$)(at)?(Ue=at.props)===null||Ue===void 0?void 0:Ue.className:"",`${Ce}-item-icon`)}),cn(Pt));return _e||(bt=se.createElement(je.Z,Object.assign({},$t,{placement:Xe==="rtl"?"left":"right",overlayClassName:`${Ce}-inline-collapsed-tooltip`}),bt)),bt},z=nt=>{var Ue;const{popupClassName:Fe,icon:he,title:at,theme:At}=nt,we=se.useContext(E),{prefixCls:Ce,inlineCollapsed:vt,theme:Xe}=we,_e=(0,b.Xl)();let Pt;if(!he)Pt=vt&&!_e.length&&at&&typeof at=="string"?se.createElement("div",{className:`${Ce}-inline-collapsed-noicon`},at.charAt(0)):se.createElement("span",{className:`${Ce}-title-content`},at);else{const Ot=(0,De.l$)(at)&&at.type==="span";Pt=se.createElement(se.Fragment,null,(0,De.Tm)(he,{className:Ie()((0,De.l$)(he)?(Ue=he.props)===null||Ue===void 0?void 0:Ue.className:"",`${Ce}-item-icon`)}),Ot?at:se.createElement("span",{className:`${Ce}-title-content`},at))}const cn=se.useMemo(()=>Object.assign(Object.assign({},we),{firstLevel:!1}),[we]);return se.createElement(E.Provider,{value:cn},se.createElement(b.Wd,Object.assign({},(0,ke.Z)(nt,["icon"]),{title:Pt,popupClassName:Ie()(Ce,Fe,`${Ce}-${At||Xe}`)})))},te=ae(18785),re=ae(70425),ie=ae(62892),ce=ae(40875),pe=function(nt,Ue){var Fe={};for(var he in nt)Object.prototype.hasOwnProperty.call(nt,he)&&Ue.indexOf(he)<0&&(Fe[he]=nt[he]);if(nt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var at=0,he=Object.getOwnPropertySymbols(nt);at<he.length;at++)Ue.indexOf(he[at])<0&&Object.prototype.propertyIsEnumerable.call(nt,he[at])&&(Fe[he[at]]=nt[he[at]]);return Fe};function ge(nt){return(nt||[]).map((Ue,Fe)=>{if(Ue&&typeof Ue=="object"){const he=Ue,{label:at,children:At,key:we,type:Ce}=he,vt=pe(he,["label","children","key","type"]),Xe=we!=null?we:`tmp-${Fe}`;return At||Ce==="group"?Ce==="group"?se.createElement(b.BW,Object.assign({key:Xe},vt,{title:at}),ge(At)):se.createElement(z,Object.assign({key:Xe},vt,{title:at}),ge(At)):Ce==="divider"?se.createElement(We,Object.assign({key:Xe},vt)):se.createElement(x,Object.assign({key:Xe},vt),at)}return null}).filter(Ue=>Ue)}function ye(nt){return se.useMemo(()=>nt&&ge(nt),[nt])}var Ee=ae(64993),Le=ae(17313),ve=ae(8378),$e=ae(13826),He=ae(29878),it=ae(83116),Ne=ae(37613),lt=nt=>{const{componentCls:Ue,motionDurationSlow:Fe,horizontalLineHeight:he,colorSplit:at,lineWidth:At,lineType:we,itemPaddingInline:Ce}=nt;return{[`${Ue}-horizontal`]:{lineHeight:he,border:0,borderBottom:`${At}px ${we} ${at}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${Ue}-item, ${Ue}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:Ce},[`> ${Ue}-item:hover,
> ${Ue}-item-active,
> ${Ue}-submenu ${Ue}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${Ue}-item, ${Ue}-submenu-title`]:{transition:[`border-color ${Fe}`,`background ${Fe}`].join(",")},[`${Ue}-submenu-arrow`]:{display:"none"}}}},Ye=nt=>{let{componentCls:Ue,menuArrowOffset:Fe}=nt;return{[`${Ue}-rtl`]:{direction:"rtl"},[`${Ue}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${Ue}-rtl${Ue}-vertical,
${Ue}-submenu-rtl ${Ue}-vertical`]:{[`${Ue}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(-${Fe})`},"&::after":{transform:`rotate(45deg) translateY(${Fe})`}}}}};const Kt=nt=>Object.assign({},(0,Le.oN)(nt));var Ht=(nt,Ue)=>{const{componentCls:Fe,itemColor:he,itemSelectedColor:at,groupTitleColor:At,itemBg:we,subMenuItemBg:Ce,itemSelectedBg:vt,activeBarHeight:Xe,activeBarWidth:_e,activeBarBorderWidth:Pt,motionDurationSlow:cn,motionEaseInOut:Ot,motionEaseOut:Xt,itemPaddingInline:$t,motionDurationMid:nn,itemHoverColor:bt,lineType:rn,colorSplit:wn,itemDisabledColor:Zt,dangerItemColor:wt,dangerItemHoverColor:Ln,dangerItemSelectedColor:zn,dangerItemActiveBg:Wn,dangerItemSelectedBg:Yn,itemHoverBg:xa,itemActiveBg:on,menuSubMenuBg:qt,horizontalItemSelectedColor:pn,horizontalItemSelectedBg:Zn,horizontalItemBorderRadius:xn,horizontalItemHoverBg:Na,popupBg:Wa}=nt;return{[`${Fe}-${Ue}, ${Fe}-${Ue} > ${Fe}`]:{color:he,background:we,[`&${Fe}-root:focus-visible`]:Object.assign({},Kt(nt)),[`${Fe}-item-group-title`]:{color:At},[`${Fe}-submenu-selected`]:{[`> ${Fe}-submenu-title`]:{color:at}},[`${Fe}-item-disabled, ${Fe}-submenu-disabled`]:{color:`${Zt} !important`},[`${Fe}-item:not(${Fe}-item-selected):not(${Fe}-submenu-selected)`]:{[`&:hover, > ${Fe}-submenu-title:hover`]:{color:bt}},[`&:not(${Fe}-horizontal)`]:{[`${Fe}-item:not(${Fe}-item-selected)`]:{"&:hover":{backgroundColor:xa},"&:active":{backgroundColor:on}},[`${Fe}-submenu-title`]:{"&:hover":{backgroundColor:xa},"&:active":{backgroundColor:on}}},[`${Fe}-item-danger`]:{color:wt,[`&${Fe}-item:hover`]:{[`&:not(${Fe}-item-selected):not(${Fe}-submenu-selected)`]:{color:Ln}},[`&${Fe}-item:active`]:{background:Wn}},[`${Fe}-item a`]:{"&, &:hover":{color:"inherit"}},[`${Fe}-item-selected`]:{color:at,[`&${Fe}-item-danger`]:{color:zn},"a, a:hover":{color:"inherit"}},[`& ${Fe}-item-selected`]:{backgroundColor:vt,[`&${Fe}-item-danger`]:{backgroundColor:Yn}},[`${Fe}-item, ${Fe}-submenu-title`]:{[`&:not(${Fe}-item-disabled):focus-visible`]:Object.assign({},Kt(nt))},[`&${Fe}-submenu > ${Fe}`]:{backgroundColor:qt},[`&${Fe}-popup > ${Fe}`]:{backgroundColor:Wa},[`&${Fe}-horizontal`]:Object.assign(Object.assign({},Ue==="dark"?{borderBottom:0}:{}),{[`> ${Fe}-item, > ${Fe}-submenu`]:{top:Pt,marginTop:-Pt,marginBottom:0,borderRadius:xn,"&::after":{position:"absolute",insetInline:$t,bottom:0,borderBottom:`${Xe}px solid transparent`,transition:`border-color ${cn} ${Ot}`,content:'""'},"&:hover, &-active, &-open":{background:Na,"&::after":{borderBottomWidth:Xe,borderBottomColor:pn}},"&-selected":{color:pn,backgroundColor:Zn,"&:hover":{backgroundColor:Zn},"&::after":{borderBottomWidth:Xe,borderBottomColor:pn}}}}),[`&${Fe}-root`]:{[`&${Fe}-inline, &${Fe}-vertical`]:{borderInlineEnd:`${Pt}px ${rn} ${wn}`}},[`&${Fe}-inline`]:{[`${Fe}-sub${Fe}-inline`]:{background:Ce},[`${Fe}-item, ${Fe}-submenu-title`]:Pt&&_e?{width:`calc(100% + ${Pt}px)`}:{},[`${Fe}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${_e}px solid ${at}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${nn} ${Xt}`,`opacity ${nn} ${Xt}`].join(","),content:'""'},[`&${Fe}-item-danger`]:{"&::after":{borderInlineEndColor:zn}}},[`${Fe}-selected, ${Fe}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${nn} ${Ot}`,`opacity ${nn} ${Ot}`].join(",")}}}}}};const en=nt=>{const{componentCls:Ue,itemHeight:Fe,itemMarginInline:he,padding:at,menuArrowSize:At,marginXS:we,itemMarginBlock:Ce}=nt,vt=at+At+we;return{[`${Ue}-item`]:{position:"relative",overflow:"hidden"},[`${Ue}-item, ${Ue}-submenu-title`]:{height:Fe,lineHeight:`${Fe}px`,paddingInline:at,overflow:"hidden",textOverflow:"ellipsis",marginInline:he,marginBlock:Ce,width:`calc(100% - ${he*2}px)`},[`> ${Ue}-item,
> ${Ue}-submenu > ${Ue}-submenu-title`]:{height:Fe,lineHeight:`${Fe}px`},[`${Ue}-item-group-list ${Ue}-submenu-title,
${Ue}-submenu-title`]:{paddingInlineEnd:vt}}};var ft=nt=>{const{componentCls:Ue,iconCls:Fe,itemHeight:he,colorTextLightSolid:at,dropdownWidth:At,controlHeightLG:we,motionDurationMid:Ce,motionEaseOut:vt,paddingXL:Xe,itemMarginInline:_e,fontSizeLG:Pt,motionDurationSlow:cn,paddingXS:Ot,boxShadowSecondary:Xt,collapsedWidth:$t,collapsedIconSize:nn}=nt,bt={height:he,lineHeight:`${he}px`,listStylePosition:"inside",listStyleType:"disc"};return[{[Ue]:{"&-inline, &-vertical":Object.assign({[`&${Ue}-root`]:{boxShadow:"none"}},en(nt))},[`${Ue}-submenu-popup`]:{[`${Ue}-vertical`]:Object.assign(Object.assign({},en(nt)),{boxShadow:Xt})}},{[`${Ue}-submenu-popup ${Ue}-vertical${Ue}-sub`]:{minWidth:At,maxHeight:`calc(100vh - ${we*2.5}px)`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${Ue}-inline`]:{width:"100%",[`&${Ue}-root`]:{[`${Ue}-item, ${Ue}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${cn}`,`background ${cn}`,`padding ${Ce} ${vt}`].join(","),[`> ${Ue}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${Ue}-sub${Ue}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${Ue}-submenu > ${Ue}-submenu-title`]:bt,[`& ${Ue}-item-group-title`]:{paddingInlineStart:Xe}},[`${Ue}-item`]:bt}},{[`${Ue}-inline-collapsed`]:{width:$t,[`&${Ue}-root`]:{[`${Ue}-item, ${Ue}-submenu ${Ue}-submenu-title`]:{[`> ${Ue}-inline-collapsed-noicon`]:{fontSize:Pt,textAlign:"center"}}},[`> ${Ue}-item,
> ${Ue}-item-group > ${Ue}-item-group-list > ${Ue}-item,
> ${Ue}-item-group > ${Ue}-item-group-list > ${Ue}-submenu > ${Ue}-submenu-title,
> ${Ue}-submenu > ${Ue}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${Pt/2}px - ${_e}px)`,textOverflow:"clip",[`
${Ue}-submenu-arrow,
${Ue}-submenu-expand-icon
`]:{opacity:0},[`${Ue}-item-icon, ${Fe}`]:{margin:0,fontSize:nn,lineHeight:`${he}px`,"+ span":{display:"inline-block",opacity:0}}},[`${Ue}-item-icon, ${Fe}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${Ue}-item-icon, ${Fe}`]:{display:"none"},"a, a:hover":{color:at}},[`${Ue}-item-group-title`]:Object.assign(Object.assign({},Le.vS),{paddingInline:Ot})}}]};const Dt=nt=>{const{componentCls:Ue,motionDurationSlow:Fe,motionDurationMid:he,motionEaseInOut:at,motionEaseOut:At,iconCls:we,iconSize:Ce,iconMarginInlineEnd:vt}=nt;return{[`${Ue}-item, ${Ue}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${Fe}`,`background ${Fe}`,`padding ${Fe} ${at}`].join(","),[`${Ue}-item-icon, ${we}`]:{minWidth:Ce,fontSize:Ce,transition:[`font-size ${he} ${At}`,`margin ${Fe} ${at}`,`color ${Fe}`].join(","),"+ span":{marginInlineStart:vt,opacity:1,transition:[`opacity ${Fe} ${at}`,`margin ${Fe}`,`color ${Fe}`].join(",")}},[`${Ue}-item-icon`]:Object.assign({},(0,Le.Ro)()),[`&${Ue}-item-only-child`]:{[`> ${we}, > ${Ue}-item-icon`]:{marginInlineEnd:0}}},[`${Ue}-item-disabled, ${Ue}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important"},[`> ${Ue}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},ln=nt=>{const{componentCls:Ue,motionDurationSlow:Fe,motionEaseInOut:he,borderRadius:at,menuArrowSize:At,menuArrowOffset:we}=nt;return{[`${Ue}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:nt.margin,width:At,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${Fe} ${he}, opacity ${Fe}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:At*.6,height:At*.15,backgroundColor:"currentcolor",borderRadius:at,transition:[`background ${Fe} ${he}`,`transform ${Fe} ${he}`,`top ${Fe} ${he}`,`color ${Fe} ${he}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(-${we})`},"&::after":{transform:`rotate(-45deg) translateY(${we})`}}}}},yt=nt=>{const{antCls:Ue,componentCls:Fe,fontSize:he,motionDurationSlow:at,motionDurationMid:At,motionEaseInOut:we,paddingXS:Ce,padding:vt,colorSplit:Xe,lineWidth:_e,zIndexPopup:Pt,borderRadiusLG:cn,subMenuItemBorderRadius:Ot,menuArrowSize:Xt,menuArrowOffset:$t,lineType:nn,menuPanelMaskInset:bt,groupTitleLineHeight:rn,groupTitleFontSize:wn}=nt;return[{"":{[`${Fe}`]:Object.assign(Object.assign({},(0,Le.dF)()),{"&-hidden":{display:"none"}})},[`${Fe}-submenu-hidden`]:{display:"none"}},{[Fe]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Le.Wf)(nt)),(0,Le.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:he,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${at} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${Fe}-item`]:{flex:"none"}},[`${Fe}-item, ${Fe}-submenu, ${Fe}-submenu-title`]:{borderRadius:nt.itemBorderRadius},[`${Fe}-item-group-title`]:{padding:`${Ce}px ${vt}px`,fontSize:wn,lineHeight:rn,transition:`all ${at}`},[`&-horizontal ${Fe}-submenu`]:{transition:[`border-color ${at} ${we}`,`background ${at} ${we}`].join(",")},[`${Fe}-submenu, ${Fe}-submenu-inline`]:{transition:[`border-color ${at} ${we}`,`background ${at} ${we}`,`padding ${At} ${we}`].join(",")},[`${Fe}-submenu ${Fe}-sub`]:{cursor:"initial",transition:[`background ${at} ${we}`,`padding ${at} ${we}`].join(",")},[`${Fe}-title-content`]:{transition:`color ${at}`},[`${Fe}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${Fe}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:Xe,borderStyle:nn,borderWidth:0,borderTopWidth:_e,marginBlock:_e,padding:0,"&-dashed":{borderStyle:"dashed"}}}),Dt(nt)),{[`${Fe}-item-group`]:{[`${Fe}-item-group-list`]:{margin:0,padding:0,[`${Fe}-item, ${Fe}-submenu-title`]:{paddingInline:`${he*2}px ${vt}px`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:Pt,borderRadius:cn,boxShadow:"none",transformOrigin:"0 0",[`&${Fe}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:`${bt}px 0 0`,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'}},"&-placement-rightTop::before":{top:0,insetInlineStart:bt},"\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:nt.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:nt.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:nt.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:nt.paddingXS},[`> ${Fe}`]:Object.assign(Object.assign(Object.assign({borderRadius:cn},Dt(nt)),ln(nt)),{[`${Fe}-item, ${Fe}-submenu > ${Fe}-submenu-title`]:{borderRadius:Ot},[`${Fe}-submenu-title::after`]:{transition:`transform ${at} ${we}`}})}}),ln(nt)),{[`&-inline-collapsed ${Fe}-submenu-arrow,
&-inline ${Fe}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${$t})`},"&::after":{transform:`rotate(45deg) translateX(-${$t})`}},[`${Fe}-submenu-open${Fe}-submenu-inline > ${Fe}-submenu-title > ${Fe}-submenu-arrow`]:{transform:`translateY(-${Xt*.2}px)`,"&::after":{transform:`rotate(-45deg) translateX(-${$t})`},"&::before":{transform:`rotate(45deg) translateX(${$t})`}}})},{[`${Ue}-layout-header`]:{[Fe]:{lineHeight:"inherit"}}}]};var Yt=(nt,Ue)=>(0,it.Z)("Menu",he=>{if(Ue===!1)return[];const{colorBgElevated:at,colorPrimary:At,colorTextLightSolid:we,controlHeightLG:Ce,fontSize:vt,darkItemColor:Xe,darkDangerItemColor:_e,darkItemBg:Pt,darkSubMenuItemBg:cn,darkItemSelectedColor:Ot,darkItemSelectedBg:Xt,darkDangerItemSelectedBg:$t,darkItemHoverBg:nn,darkGroupTitleColor:bt,darkItemHoverColor:rn,darkItemDisabledColor:wn,darkDangerItemHoverColor:Zt,darkDangerItemSelectedColor:wt,darkDangerItemActiveBg:Ln}=he,zn=vt/7*5,Wn=(0,Ne.TS)(he,{menuArrowSize:zn,menuHorizontalHeight:Ce*1.15,menuArrowOffset:`${zn*.25}px`,menuPanelMaskInset:-7,menuSubMenuBg:at}),Yn=(0,Ne.TS)(Wn,{itemColor:Xe,itemHoverColor:rn,groupTitleColor:bt,itemSelectedColor:Ot,itemBg:Pt,popupBg:Pt,subMenuItemBg:cn,itemActiveBg:"transparent",itemSelectedBg:Xt,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:nn,itemDisabledColor:wn,dangerItemColor:_e,dangerItemHoverColor:Zt,dangerItemSelectedColor:wt,dangerItemActiveBg:Ln,dangerItemSelectedBg:$t,menuSubMenuBg:cn,horizontalItemSelectedColor:we,horizontalItemSelectedBg:At});return[yt(Wn),lt(Wn),ft(Wn),Ht(Wn,"light"),Ht(Yn,"dark"),Ye(Wn),(0,ve.Z)(Wn),(0,$e.oN)(Wn,"slide-up"),(0,$e.oN)(Wn,"slide-down"),(0,He._y)(Wn,"zoom-big")]},he=>{const{colorPrimary:at,colorError:At,colorTextDisabled:we,colorErrorBg:Ce,colorText:vt,colorTextDescription:Xe,colorBgContainer:_e,colorFillAlter:Pt,colorFillContent:cn,lineWidth:Ot,lineWidthBold:Xt,controlItemBgActive:$t,colorBgTextHover:nn,controlHeightLG:bt,lineHeight:rn,colorBgElevated:wn,marginXXS:Zt,padding:wt,fontSize:Ln,controlHeightSM:zn,fontSizeLG:Wn,colorTextLightSolid:Yn,colorErrorHover:xa}=he,on=new Ee.C(Yn).setAlpha(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:he.zIndexPopupBase+50,radiusItem:he.borderRadiusLG,itemBorderRadius:he.borderRadiusLG,radiusSubMenuItem:he.borderRadiusSM,subMenuItemBorderRadius:he.borderRadiusSM,colorItemText:vt,itemColor:vt,colorItemTextHover:vt,itemHoverColor:vt,colorItemTextHoverHorizontal:at,horizontalItemHoverColor:at,colorGroupTitle:Xe,groupTitleColor:Xe,colorItemTextSelected:at,itemSelectedColor:at,colorItemTextSelectedHorizontal:at,horizontalItemSelectedColor:at,colorItemBg:_e,itemBg:_e,colorItemBgHover:nn,itemHoverBg:nn,colorItemBgActive:cn,itemActiveBg:$t,colorSubItemBg:Pt,subMenuItemBg:Pt,colorItemBgSelected:$t,itemSelectedBg:$t,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:0,colorActiveBarHeight:Xt,activeBarHeight:Xt,colorActiveBarBorderSize:Ot,activeBarBorderWidth:Ot,colorItemTextDisabled:we,itemDisabledColor:we,colorDangerItemText:At,dangerItemColor:At,colorDangerItemTextHover:At,dangerItemHoverColor:At,colorDangerItemTextSelected:At,dangerItemSelectedColor:At,colorDangerItemBgActive:Ce,dangerItemActiveBg:Ce,colorDangerItemBgSelected:Ce,dangerItemSelectedBg:Ce,itemMarginInline:he.marginXXS,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:bt,groupTitleLineHeight:rn,collapsedWidth:bt*2,popupBg:wn,itemMarginBlock:Zt,itemPaddingInline:wt,horizontalLineHeight:`${bt*1.15}px`,iconSize:Ln,iconMarginInlineEnd:zn-Ln,collapsedIconSize:Wn,groupTitleFontSize:Ln,darkItemDisabledColor:new Ee.C(Yn).setAlpha(.25).toRgbString(),darkItemColor:on,darkDangerItemColor:At,darkItemBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:Yn,darkItemSelectedBg:at,darkDangerItemSelectedBg:At,darkItemHoverBg:"transparent",darkGroupTitleColor:on,darkItemHoverColor:Yn,darkDangerItemHoverColor:xa,darkDangerItemSelectedColor:Yn,darkDangerItemActiveBg:At}},{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"]]})(nt),Be=function(nt,Ue){var Fe={};for(var he in nt)Object.prototype.hasOwnProperty.call(nt,he)&&Ue.indexOf(he)<0&&(Fe[he]=nt[he]);if(nt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var at=0,he=Object.getOwnPropertySymbols(nt);at<he.length;at++)Ue.indexOf(he[at])<0&&Object.prototype.propertyIsEnumerable.call(nt,he[at])&&(Fe[he[at]]=nt[he[at]]);return Fe},Cn=(0,se.forwardRef)((nt,Ue)=>{var Fe,he;const at=se.useContext(ce.Z),At=at||{},{getPrefixCls:we,getPopupContainer:Ce,direction:vt,menu:Xe}=se.useContext(Re.E_),_e=we(),{prefixCls:Pt,className:cn,style:Ot,theme:Xt="light",expandIcon:$t,_internalDisableMenuItemTitleTooltip:nn,inlineCollapsed:bt,siderCollapsed:rn,items:wn,children:Zt,rootClassName:wt,mode:Ln,selectable:zn,onClick:Wn,overflowedIndicatorPopupClassName:Yn}=nt,xa=Be(nt,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","items","children","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),on=(0,ke.Z)(xa,["collapsedWidth"]),qt=ye(wn)||Zt;(Fe=At.validator)===null||Fe===void 0||Fe.call(At,{mode:Ln});const pn=(0,re.useEvent)(function(){var Vt;Wn==null||Wn.apply(void 0,arguments),(Vt=At.onClick)===null||Vt===void 0||Vt.call(At)}),Zn=At.mode||Ln,xn=zn!=null?zn:At.selectable,Na=se.useMemo(()=>rn!==void 0?rn:bt,[bt,rn]),Wa={horizontal:{motionName:`${_e}-slide-up`},inline:(0,ie.Z)(_e),other:{motionName:`${_e}-zoom-big`}},ta=we("menu",Pt||At.prefixCls),[En,Oa]=Yt(ta,!at),Ve=Ie()(`${ta}-${Xt}`,Xe==null?void 0:Xe.className,cn);let Bt;if(typeof $t=="function")Bt=$t;else if($t===null||$t===!1)Bt=null;else if(At.expandIcon===null||At.expandIcon===!1)Bt=null;else{const Vt=$t!=null?$t:At.expandIcon;Bt=(0,De.Tm)(Vt,{className:Ie()(`${ta}-submenu-expand-icon`,(0,De.l$)(Vt)?(he=Vt.props)===null||he===void 0?void 0:he.className:"")})}const Gt=se.useMemo(()=>({prefixCls:ta,inlineCollapsed:Na||!1,direction:vt,firstLevel:!0,theme:Xt,mode:Zn,disableMenuItemTitleTooltip:nn}),[ta,Na,vt,nn,Xt]);return En(se.createElement(ce.Z.Provider,{value:null},se.createElement(E.Provider,{value:Gt},se.createElement(b.ZP,Object.assign({getPopupContainer:Ce,overflowedIndicator:se.createElement(te.Z,null),overflowedIndicatorPopupClassName:Ie()(ta,`${ta}-${Xt}`,Yn),mode:Zn,selectable:xn,onClick:pn},on,{inlineCollapsed:Na,style:Object.assign(Object.assign({},Xe==null?void 0:Xe.style),Ot),className:Ve,prefixCls:ta,direction:vt,defaultMotions:Wa,expandIcon:Bt,ref:Ue,rootClassName:Ie()(wt,Oa)}),qt))))});const Ft=(0,se.forwardRef)((nt,Ue)=>{const Fe=(0,se.useRef)(null),he=se.useContext(be.D);return(0,se.useImperativeHandle)(Ue,()=>({menu:Fe.current,focus:at=>{var At;(At=Fe.current)===null||At===void 0||At.focus(at)}})),se.createElement(Cn,Object.assign({ref:Fe},nt,he))});Ft.Item=x,Ft.SubMenu=z,Ft.Divider=We,Ft.ItemGroup=b.BW;var It=Ft},58421:function(_t,Rt,ae){"use strict";ae.d(Rt,{Z:function(){return At}});var b=ae(14809),se=ae(59301),be={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"},Ae=be,Ie=ae(7657),Re=function(Ce,vt){return se.createElement(Ie.Z,(0,b.Z)({},Ce,{ref:vt,icon:Ae}))},ue=se.forwardRef(Re),Ze=ue,We=ae(49198),Te=ae(33853),ke=ae(38819),je=ae(92310),De=ae.n(je),le=ae(4635),E=ae(20439),a=ae(99153),x=ae(84851),y=ae(19257),z=ae(93046),te=ae(26112),re={ZERO:48,NINE:57,NUMPAD_ZERO:96,NUMPAD_NINE:105,BACKSPACE:8,DELETE:46,ENTER:13,ARROW_UP:38,ARROW_DOWN:40},ie=re,ce=ae(91735),pe=function(we){(0,y.Z)(vt,we);var Ce=(0,z.Z)(vt);function vt(){var Xe;(0,a.Z)(this,vt);for(var _e=arguments.length,Pt=new Array(_e),cn=0;cn<_e;cn++)Pt[cn]=arguments[cn];return Xe=Ce.call.apply(Ce,[this].concat(Pt)),Xe.state={goInputText:""},Xe.getValidValue=function(){var Ot=Xe.state.goInputText;return!Ot||Number.isNaN(Ot)?void 0:Number(Ot)},Xe.buildOptionText=function(Ot){return"".concat(Ot," ").concat(Xe.props.locale.items_per_page)},Xe.changeSize=function(Ot){Xe.props.changeSize(Number(Ot))},Xe.handleChange=function(Ot){Xe.setState({goInputText:Ot.target.value})},Xe.handleBlur=function(Ot){var Xt=Xe.props,$t=Xt.goButton,nn=Xt.quickGo,bt=Xt.rootPrefixCls,rn=Xe.state.goInputText;$t||rn===""||(Xe.setState({goInputText:""}),!(Ot.relatedTarget&&(Ot.relatedTarget.className.indexOf("".concat(bt,"-item-link"))>=0||Ot.relatedTarget.className.indexOf("".concat(bt,"-item"))>=0))&&nn(Xe.getValidValue()))},Xe.go=function(Ot){var Xt=Xe.state.goInputText;Xt!==""&&(Ot.keyCode===ie.ENTER||Ot.type==="click")&&(Xe.setState({goInputText:""}),Xe.props.quickGo(Xe.getValidValue()))},Xe}return(0,x.Z)(vt,[{key:"getPageSizeOptions",value:function(){var _e=this.props,Pt=_e.pageSize,cn=_e.pageSizeOptions;return cn.some(function(Ot){return Ot.toString()===Pt.toString()})?cn:cn.concat([Pt.toString()]).sort(function(Ot,Xt){var $t=Number.isNaN(Number(Ot))?0:Number(Ot),nn=Number.isNaN(Number(Xt))?0:Number(Xt);return $t-nn})}},{key:"render",value:function(){var _e=this,Pt=this.props,cn=Pt.pageSize,Ot=Pt.locale,Xt=Pt.rootPrefixCls,$t=Pt.changeSize,nn=Pt.quickGo,bt=Pt.goButton,rn=Pt.selectComponentClass,wn=Pt.buildOptionText,Zt=Pt.selectPrefixCls,wt=Pt.disabled,Ln=this.state.goInputText,zn="".concat(Xt,"-options"),Wn=rn,Yn=null,xa=null,on=null;if(!$t&&!nn)return null;var qt=this.getPageSizeOptions();if($t&&Wn){var pn=qt.map(function(Zn,xn){return se.createElement(Wn.Option,{key:xn,value:Zn.toString()},(wn||_e.buildOptionText)(Zn))});Yn=se.createElement(Wn,{disabled:wt,prefixCls:Zt,showSearch:!1,className:"".concat(zn,"-size-changer"),optionLabelProp:"children",popupMatchSelectWidth:!1,value:(cn||qt[0]).toString(),onChange:this.changeSize,getPopupContainer:function(xn){return xn.parentNode},"aria-label":Ot.page_size,defaultOpen:!1},pn)}return nn&&(bt&&(on=typeof bt=="boolean"?se.createElement("button",{type:"button",onClick:this.go,onKeyUp:this.go,disabled:wt,className:"".concat(zn,"-quick-jumper-button")},Ot.jump_to_confirm):se.createElement("span",{onClick:this.go,onKeyUp:this.go},bt)),xa=se.createElement("div",{className:"".concat(zn,"-quick-jumper")},Ot.jump_to,se.createElement("input",{disabled:wt,type:"text",value:Ln,onChange:this.handleChange,onKeyUp:this.go,onBlur:this.handleBlur,"aria-label":Ot.page}),Ot.page,on)),se.createElement("li",{className:"".concat(zn)},Yn,xa)}}]),vt}(se.Component);pe.defaultProps={pageSizeOptions:["10","20","50","100"]};var ge=pe,ye=function(Ce){var vt,Xe=Ce.rootPrefixCls,_e=Ce.page,Pt=Ce.active,cn=Ce.className,Ot=Ce.showTitle,Xt=Ce.onClick,$t=Ce.onKeyPress,nn=Ce.itemRender,bt="".concat(Xe,"-item"),rn=De()(bt,"".concat(bt,"-").concat(_e),(vt={},(0,le.Z)(vt,"".concat(bt,"-active"),Pt),(0,le.Z)(vt,"".concat(bt,"-disabled"),!_e),(0,le.Z)(vt,Ce.className,cn),vt)),wn=function(){Xt(_e)},Zt=function(zn){$t(zn,Xt,_e)},wt=nn(_e,"page",se.createElement("a",{rel:"nofollow"},_e));return wt?se.createElement("li",{title:Ot?_e.toString():null,className:rn,onClick:wn,onKeyPress:Zt,tabIndex:0},wt):null},Ee=ye;function Le(){}function ve(we){var Ce=Number(we);return typeof Ce=="number"&&!Number.isNaN(Ce)&&isFinite(Ce)&&Math.floor(Ce)===Ce}var $e=function(Ce,vt,Xe){return Xe};function He(we,Ce,vt){var Xe=typeof we=="undefined"?Ce.pageSize:we;return Math.floor((vt.total-1)/Xe)+1}var it=function(we){(0,y.Z)(vt,we);var Ce=(0,z.Z)(vt);function vt(Xe){var _e;(0,a.Z)(this,vt),_e=Ce.call(this,Xe),_e.paginationNode=se.createRef(),_e.getJumpPrevPage=function(){return Math.max(1,_e.state.current-(_e.props.showLessItems?3:5))},_e.getJumpNextPage=function(){return Math.min(He(void 0,_e.state,_e.props),_e.state.current+(_e.props.showLessItems?3:5))},_e.getItemIcon=function($t,nn){var bt=_e.props.prefixCls,rn=$t||se.createElement("button",{type:"button","aria-label":nn,className:"".concat(bt,"-item-link")});return typeof $t=="function"&&(rn=se.createElement($t,(0,E.Z)({},_e.props))),rn},_e.isValid=function($t){var nn=_e.props.total;return ve($t)&&$t!==_e.state.current&&ve(nn)&&nn>0},_e.shouldDisplayQuickJumper=function(){var $t=_e.props,nn=$t.showQuickJumper,bt=$t.total,rn=_e.state.pageSize;return bt<=rn?!1:nn},_e.handleKeyDown=function($t){($t.keyCode===ie.ARROW_UP||$t.keyCode===ie.ARROW_DOWN)&&$t.preventDefault()},_e.handleKeyUp=function($t){var nn=_e.getValidValue($t),bt=_e.state.currentInputValue;nn!==bt&&_e.setState({currentInputValue:nn}),$t.keyCode===ie.ENTER?_e.handleChange(nn):$t.keyCode===ie.ARROW_UP?_e.handleChange(nn-1):$t.keyCode===ie.ARROW_DOWN&&_e.handleChange(nn+1)},_e.handleBlur=function($t){var nn=_e.getValidValue($t);_e.handleChange(nn)},_e.changePageSize=function($t){var nn=_e.state.current,bt=He($t,_e.state,_e.props);nn=nn>bt?bt:nn,bt===0&&(nn=_e.state.current),typeof $t=="number"&&("pageSize"in _e.props||_e.setState({pageSize:$t}),"current"in _e.props||_e.setState({current:nn,currentInputValue:nn})),_e.props.onShowSizeChange(nn,$t),"onChange"in _e.props&&_e.props.onChange&&_e.props.onChange(nn,$t)},_e.handleChange=function($t){var nn=_e.props,bt=nn.disabled,rn=nn.onChange,wn=_e.state,Zt=wn.pageSize,wt=wn.current,Ln=wn.currentInputValue;if(_e.isValid($t)&&!bt){var zn=He(void 0,_e.state,_e.props),Wn=$t;return $t>zn?Wn=zn:$t<1&&(Wn=1),"current"in _e.props||_e.setState({current:Wn}),Wn!==Ln&&_e.setState({currentInputValue:Wn}),rn(Wn,Zt),Wn}return wt},_e.prev=function(){_e.hasPrev()&&_e.handleChange(_e.state.current-1)},_e.next=function(){_e.hasNext()&&_e.handleChange(_e.state.current+1)},_e.jumpPrev=function(){_e.handleChange(_e.getJumpPrevPage())},_e.jumpNext=function(){_e.handleChange(_e.getJumpNextPage())},_e.hasPrev=function(){return _e.state.current>1},_e.hasNext=function(){return _e.state.current<He(void 0,_e.state,_e.props)},_e.runIfEnter=function($t,nn){if($t.key==="Enter"||$t.charCode===13){for(var bt=arguments.length,rn=new Array(bt>2?bt-2:0),wn=2;wn<bt;wn++)rn[wn-2]=arguments[wn];nn.apply(void 0,rn)}},_e.runIfEnterPrev=function($t){_e.runIfEnter($t,_e.prev)},_e.runIfEnterNext=function($t){_e.runIfEnter($t,_e.next)},_e.runIfEnterJumpPrev=function($t){_e.runIfEnter($t,_e.jumpPrev)},_e.runIfEnterJumpNext=function($t){_e.runIfEnter($t,_e.jumpNext)},_e.handleGoTO=function($t){($t.keyCode===ie.ENTER||$t.type==="click")&&_e.handleChange(_e.state.currentInputValue)},_e.renderPrev=function($t){var nn=_e.props,bt=nn.prevIcon,rn=nn.itemRender,wn=rn($t,"prev",_e.getItemIcon(bt,"prev page")),Zt=!_e.hasPrev();return(0,se.isValidElement)(wn)?(0,se.cloneElement)(wn,{disabled:Zt}):wn},_e.renderNext=function($t){var nn=_e.props,bt=nn.nextIcon,rn=nn.itemRender,wn=rn($t,"next",_e.getItemIcon(bt,"next page")),Zt=!_e.hasNext();return(0,se.isValidElement)(wn)?(0,se.cloneElement)(wn,{disabled:Zt}):wn};var Pt=Xe.onChange!==Le,cn="current"in Xe;cn&&!Pt&&console.warn("Warning: You provided a `current` prop to a Pagination component without an `onChange` handler. This will render a read-only component.");var Ot=Xe.defaultCurrent;"current"in Xe&&(Ot=Xe.current);var Xt=Xe.defaultPageSize;return"pageSize"in Xe&&(Xt=Xe.pageSize),Ot=Math.min(Ot,He(Xt,void 0,Xe)),_e.state={current:Ot,currentInputValue:Ot,pageSize:Xt},_e}return(0,x.Z)(vt,[{key:"componentDidUpdate",value:function(_e,Pt){var cn=this.props.prefixCls;if(Pt.current!==this.state.current&&this.paginationNode.current){var Ot=this.paginationNode.current.querySelector(".".concat(cn,"-item-").concat(Pt.current));if(Ot&&document.activeElement===Ot){var Xt;Ot==null||(Xt=Ot.blur)===null||Xt===void 0||Xt.call(Ot)}}}},{key:"getValidValue",value:function(_e){var Pt=_e.target.value,cn=He(void 0,this.state,this.props),Ot=this.state.currentInputValue,Xt;return Pt===""?Xt=Pt:Number.isNaN(Number(Pt))?Xt=Ot:Pt>=cn?Xt=cn:Xt=Number(Pt),Xt}},{key:"getShowSizeChanger",value:function(){var _e=this.props,Pt=_e.showSizeChanger,cn=_e.total,Ot=_e.totalBoundaryShowSizeChanger;return typeof Pt!="undefined"?Pt:cn>Ot}},{key:"render",value:function(){var _e=this.props,Pt=_e.prefixCls,cn=_e.className,Ot=_e.style,Xt=_e.disabled,$t=_e.hideOnSinglePage,nn=_e.total,bt=_e.locale,rn=_e.showQuickJumper,wn=_e.showLessItems,Zt=_e.showTitle,wt=_e.showTotal,Ln=_e.simple,zn=_e.itemRender,Wn=_e.showPrevNextJumpers,Yn=_e.jumpPrevIcon,xa=_e.jumpNextIcon,on=_e.selectComponentClass,qt=_e.selectPrefixCls,pn=_e.pageSizeOptions,Zn=this.state,xn=Zn.current,Na=Zn.pageSize,Wa=Zn.currentInputValue;if($t===!0&&nn<=Na)return null;var ta=He(void 0,this.state,this.props),En=[],Oa=null,Ve=null,Bt=null,Gt=null,Vt=null,tn=rn&&rn.goButton,Sn=wn?1:2,mn=xn-1>0?xn-1:0,ut=xn+1<ta?xn+1:ta,pt=(0,te.Z)(this.props,{aria:!0,data:!0}),ct=wt&&se.createElement("li",{className:"".concat(Pt,"-total-text")},wt(nn,[nn===0?0:(xn-1)*Na+1,xn*Na>nn?nn:xn*Na]));if(Ln){tn&&(typeof tn=="boolean"?Vt=se.createElement("button",{type:"button",onClick:this.handleGoTO,onKeyUp:this.handleGoTO},bt.jump_to_confirm):Vt=se.createElement("span",{onClick:this.handleGoTO,onKeyUp:this.handleGoTO},tn),Vt=se.createElement("li",{title:Zt?"".concat(bt.jump_to).concat(xn,"/").concat(ta):null,className:"".concat(Pt,"-simple-pager")},Vt));var Wt=this.renderPrev(mn);return se.createElement("ul",(0,b.Z)({className:De()(Pt,"".concat(Pt,"-simple"),(0,le.Z)({},"".concat(Pt,"-disabled"),Xt),cn),style:Ot,ref:this.paginationNode},pt),ct,Wt?se.createElement("li",{title:Zt?bt.prev_page:null,onClick:this.prev,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterPrev,className:De()("".concat(Pt,"-prev"),(0,le.Z)({},"".concat(Pt,"-disabled"),!this.hasPrev())),"aria-disabled":!this.hasPrev()},Wt):null,se.createElement("li",{title:Zt?"".concat(xn,"/").concat(ta):null,className:"".concat(Pt,"-simple-pager")},se.createElement("input",{type:"text",value:Wa,disabled:Xt,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onChange:this.handleKeyUp,onBlur:this.handleBlur,size:3}),se.createElement("span",{className:"".concat(Pt,"-slash")},"/"),ta),se.createElement("li",{title:Zt?bt.next_page:null,onClick:this.next,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterNext,className:De()("".concat(Pt,"-next"),(0,le.Z)({},"".concat(Pt,"-disabled"),!this.hasNext())),"aria-disabled":!this.hasNext()},this.renderNext(ut)),Vt)}if(ta<=3+Sn*2){var vn={locale:bt,rootPrefixCls:Pt,onClick:this.handleChange,onKeyPress:this.runIfEnter,showTitle:Zt,itemRender:zn};ta||En.push(se.createElement(Ee,(0,b.Z)({},vn,{key:"noPager",page:1,className:"".concat(Pt,"-item-disabled")})));for(var an=1;an<=ta;an+=1){var kn=xn===an;En.push(se.createElement(Ee,(0,b.Z)({},vn,{key:an,page:an,active:kn})))}}else{var Fn=wn?bt.prev_3:bt.prev_5,Bn=wn?bt.next_3:bt.next_5,Un=zn(this.getJumpPrevPage(),"jump-prev",this.getItemIcon(Yn,"prev page")),Ra=zn(this.getJumpNextPage(),"jump-next",this.getItemIcon(xa,"next page"));Wn&&(Oa=Un?se.createElement("li",{title:Zt?Fn:null,key:"prev",onClick:this.jumpPrev,tabIndex:0,onKeyPress:this.runIfEnterJumpPrev,className:De()("".concat(Pt,"-jump-prev"),(0,le.Z)({},"".concat(Pt,"-jump-prev-custom-icon"),!!Yn))},Un):null,Ve=Ra?se.createElement("li",{title:Zt?Bn:null,key:"next",tabIndex:0,onClick:this.jumpNext,onKeyPress:this.runIfEnterJumpNext,className:De()("".concat(Pt,"-jump-next"),(0,le.Z)({},"".concat(Pt,"-jump-next-custom-icon"),!!xa))},Ra):null),Gt=se.createElement(Ee,{locale:bt,last:!0,rootPrefixCls:Pt,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:ta,page:ta,active:!1,showTitle:Zt,itemRender:zn}),Bt=se.createElement(Ee,{locale:bt,rootPrefixCls:Pt,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:1,page:1,active:!1,showTitle:Zt,itemRender:zn});var yn=Math.max(1,xn-Sn),pa=Math.min(xn+Sn,ta);xn-1<=Sn&&(pa=1+Sn*2),ta-xn<=Sn&&(yn=ta-Sn*2);for(var $a=yn;$a<=pa;$a+=1){var lr=xn===$a;En.push(se.createElement(Ee,{locale:bt,rootPrefixCls:Pt,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:$a,page:$a,active:lr,showTitle:Zt,itemRender:zn}))}xn-1>=Sn*2&&xn!==3&&(En[0]=(0,se.cloneElement)(En[0],{className:"".concat(Pt,"-item-after-jump-prev")}),En.unshift(Oa)),ta-xn>=Sn*2&&xn!==ta-2&&(En[En.length-1]=(0,se.cloneElement)(En[En.length-1],{className:"".concat(Pt,"-item-before-jump-next")}),En.push(Ve)),yn!==1&&En.unshift(Bt),pa!==ta&&En.push(Gt)}var Jn=!this.hasPrev()||!ta,sn=!this.hasNext()||!ta,Dr=this.renderPrev(mn),Ga=this.renderNext(ut);return se.createElement("ul",(0,b.Z)({className:De()(Pt,cn,(0,le.Z)({},"".concat(Pt,"-disabled"),Xt)),style:Ot,ref:this.paginationNode},pt),ct,Dr?se.createElement("li",{title:Zt?bt.prev_page:null,onClick:this.prev,tabIndex:Jn?null:0,onKeyPress:this.runIfEnterPrev,className:De()("".concat(Pt,"-prev"),(0,le.Z)({},"".concat(Pt,"-disabled"),Jn)),"aria-disabled":Jn},Dr):null,En,Ga?se.createElement("li",{title:Zt?bt.next_page:null,onClick:this.next,tabIndex:sn?null:0,onKeyPress:this.runIfEnterNext,className:De()("".concat(Pt,"-next"),(0,le.Z)({},"".concat(Pt,"-disabled"),sn)),"aria-disabled":sn},Ga):null,se.createElement(ge,{disabled:Xt,locale:bt,rootPrefixCls:Pt,selectComponentClass:on,selectPrefixCls:qt,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:xn,pageSize:Na,pageSizeOptions:pn,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:tn}))}}],[{key:"getDerivedStateFromProps",value:function(_e,Pt){var cn={};if("current"in _e&&(cn.current=_e.current,_e.current!==Pt.current&&(cn.currentInputValue=cn.current)),"pageSize"in _e&&_e.pageSize!==Pt.pageSize){var Ot=Pt.current,Xt=He(_e.pageSize,Pt,_e);Ot=Ot>Xt?Xt:Ot,"current"in _e||(cn.current=Ot,cn.currentInputValue=Ot),cn.pageSize=_e.pageSize}return cn}}]),vt}(se.Component);it.defaultProps={defaultCurrent:1,total:0,defaultPageSize:10,onChange:Le,className:"",selectPrefixCls:"rc-select",prefixCls:"rc-pagination",selectComponentClass:null,hideOnSinglePage:!1,showPrevNextJumpers:!0,showQuickJumper:!1,showLessItems:!1,showTitle:!0,onShowSizeChange:Le,locale:ce.Z,style:{},itemRender:$e,totalBoundaryShowSizeChanger:50};var Ne=it,Qe=ae(22075),lt=ae(36355),Ke=ae(19716),Ye=ae(8628),Kt=ae(9763),ot=ae(57809);const Ht=we=>se.createElement(ot.default,Object.assign({},we,{showSearch:!0,size:"small"})),en=we=>se.createElement(ot.default,Object.assign({},we,{showSearch:!0,size:"middle"}));Ht.Option=ot.default.Option,en.Option=ot.default.Option;var Je=ae(9937),ft=ae(17313),Dt=ae(83116),ln=ae(37613);const yt=we=>{const{componentCls:Ce}=we;return{[`${Ce}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${Ce}-item-link`]:{color:we.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${Ce}-item-link`]:{color:we.colorTextDisabled,cursor:"not-allowed"}}},[`&${Ce}-disabled`]:{cursor:"not-allowed",[`${Ce}-item`]:{cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},a:{color:we.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:we.colorBorder,backgroundColor:we.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:we.itemActiveBgDisabled},a:{color:we.itemActiveColorDisabled}}},[`${Ce}-item-link`]:{color:we.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${Ce}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${Ce}-simple-pager`]:{color:we.colorTextDisabled},[`${Ce}-jump-prev, ${Ce}-jump-next`]:{[`${Ce}-item-link-icon`]:{opacity:0},[`${Ce}-item-ellipsis`]:{opacity:1}}},[`&${Ce}-simple`]:{[`${Ce}-prev, ${Ce}-next`]:{[`&${Ce}-disabled ${Ce}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},Yt=we=>{const{componentCls:Ce}=we;return{[`&${Ce}-mini ${Ce}-total-text, &${Ce}-mini ${Ce}-simple-pager`]:{height:we.itemSizeSM,lineHeight:`${we.itemSizeSM}px`},[`&${Ce}-mini ${Ce}-item`]:{minWidth:we.itemSizeSM,height:we.itemSizeSM,margin:0,lineHeight:`${we.itemSizeSM-2}px`},[`&${Ce}-mini:not(${Ce}-disabled) ${Ce}-item:not(${Ce}-item-active)`]:{backgroundColor:"transparent",borderColor:"transparent","&:hover":{backgroundColor:we.colorBgTextHover},"&:active":{backgroundColor:we.colorBgTextActive}},[`&${Ce}-mini ${Ce}-prev, &${Ce}-mini ${Ce}-next`]:{minWidth:we.itemSizeSM,height:we.itemSizeSM,margin:0,lineHeight:`${we.itemSizeSM}px`},[`&${Ce}-mini:not(${Ce}-disabled)`]:{[`${Ce}-prev, ${Ce}-next`]:{[`&:hover ${Ce}-item-link`]:{backgroundColor:we.colorBgTextHover},[`&:active ${Ce}-item-link`]:{backgroundColor:we.colorBgTextActive},[`&${Ce}-disabled:hover ${Ce}-item-link`]:{backgroundColor:"transparent"}}},[`
&${Ce}-mini ${Ce}-prev ${Ce}-item-link,
&${Ce}-mini ${Ce}-next ${Ce}-item-link
`]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:we.itemSizeSM,lineHeight:`${we.itemSizeSM}px`}},[`&${Ce}-mini ${Ce}-jump-prev, &${Ce}-mini ${Ce}-jump-next`]:{height:we.itemSizeSM,marginInlineEnd:0,lineHeight:`${we.itemSizeSM}px`},[`&${Ce}-mini ${Ce}-options`]:{marginInlineStart:we.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:we.miniOptionsSizeChangerTop},"&-quick-jumper":{height:we.itemSizeSM,lineHeight:`${we.itemSizeSM}px`,input:Object.assign(Object.assign({},(0,Je.x0)(we)),{width:we.paginationMiniQuickJumperInputWidth,height:we.controlHeightSM})}}}},Be=we=>{const{componentCls:Ce}=we;return{[`
&${Ce}-simple ${Ce}-prev,
&${Ce}-simple ${Ce}-next
`]:{height:we.itemSizeSM,lineHeight:`${we.itemSizeSM}px`,verticalAlign:"top",[`${Ce}-item-link`]:{height:we.itemSizeSM,backgroundColor:"transparent",border:0,"&:hover":{backgroundColor:we.colorBgTextHover},"&:active":{backgroundColor:we.colorBgTextActive},"&::after":{height:we.itemSizeSM,lineHeight:`${we.itemSizeSM}px`}}},[`&${Ce}-simple ${Ce}-simple-pager`]:{display:"inline-block",height:we.itemSizeSM,marginInlineEnd:we.marginXS,input:{boxSizing:"border-box",height:"100%",marginInlineEnd:we.marginXS,padding:`0 ${we.paginationItemPaddingInline}px`,textAlign:"center",backgroundColor:we.itemInputBg,border:`${we.lineWidth}px ${we.lineType} ${we.colorBorder}`,borderRadius:we.borderRadius,outline:"none",transition:`border-color ${we.motionDurationMid}`,color:"inherit","&:hover":{borderColor:we.colorPrimary},"&:focus":{borderColor:we.colorPrimaryHover,boxShadow:`${we.inputOutlineOffset}px 0 ${we.controlOutlineWidth}px ${we.controlOutline}`},"&[disabled]":{color:we.colorTextDisabled,backgroundColor:we.colorBgContainerDisabled,borderColor:we.colorBorder,cursor:"not-allowed"}}}}},Ut=we=>{const{componentCls:Ce}=we;return{[`${Ce}-jump-prev, ${Ce}-jump-next`]:{outline:0,[`${Ce}-item-container`]:{position:"relative",[`${Ce}-item-link-icon`]:{color:we.colorPrimary,fontSize:we.fontSizeSM,opacity:0,transition:`all ${we.motionDurationMid}`,"&-svg":{top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,margin:"auto"}},[`${Ce}-item-ellipsis`]:{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,display:"block",margin:"auto",color:we.colorTextDisabled,fontFamily:"Arial, Helvetica, sans-serif",letterSpacing:we.paginationEllipsisLetterSpacing,textAlign:"center",textIndent:we.paginationEllipsisTextIndent,opacity:1,transition:`all ${we.motionDurationMid}`}},"&:hover":{[`${Ce}-item-link-icon`]:{opacity:1},[`${Ce}-item-ellipsis`]:{opacity:0}}},[`
${Ce}-prev,
${Ce}-jump-prev,
${Ce}-jump-next
`]:{marginInlineEnd:we.marginXS},[`
${Ce}-prev,
${Ce}-next,
${Ce}-jump-prev,
${Ce}-jump-next
`]:{display:"inline-block",minWidth:we.itemSize,height:we.itemSize,color:we.colorText,fontFamily:we.fontFamily,lineHeight:`${we.itemSize}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:we.borderRadius,cursor:"pointer",transition:`all ${we.motionDurationMid}`},[`${Ce}-prev, ${Ce}-next`]:{fontFamily:"Arial, Helvetica, sans-serif",outline:0,button:{color:we.colorText,cursor:"pointer",userSelect:"none"},[`${Ce}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:we.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${we.lineWidth}px ${we.lineType} transparent`,borderRadius:we.borderRadius,outline:"none",transition:`all ${we.motionDurationMid}`},[`&:hover ${Ce}-item-link`]:{backgroundColor:we.colorBgTextHover},[`&:active ${Ce}-item-link`]:{backgroundColor:we.colorBgTextActive},[`&${Ce}-disabled:hover`]:{[`${Ce}-item-link`]:{backgroundColor:"transparent"}}},[`${Ce}-slash`]:{marginInlineEnd:we.paginationSlashMarginInlineEnd,marginInlineStart:we.paginationSlashMarginInlineStart},[`${Ce}-options`]:{display:"inline-block",marginInlineStart:we.margin,verticalAlign:"middle","&-size-changer.-select":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:we.controlHeight,marginInlineStart:we.marginXS,lineHeight:`${we.controlHeight}px`,verticalAlign:"top",input:Object.assign(Object.assign({},(0,Je.ik)(we)),{width:we.controlHeightLG*1.25,height:we.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:we.marginXS,marginInlineEnd:we.marginXS})}}}},Cn=we=>{const{componentCls:Ce}=we;return{[`${Ce}-item`]:{display:"inline-block",minWidth:we.itemSize,height:we.itemSize,marginInlineEnd:we.marginXS,fontFamily:we.fontFamily,lineHeight:`${we.itemSize-2}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:"transparent",border:`${we.lineWidth}px ${we.lineType} transparent`,borderRadius:we.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${we.paginationItemPaddingInline}px`,color:we.colorText,"&:hover":{textDecoration:"none"}},[`&:not(${Ce}-item-active)`]:{"&:hover":{transition:`all ${we.motionDurationMid}`,backgroundColor:we.colorBgTextHover},"&:active":{backgroundColor:we.colorBgTextActive}},"&-active":{fontWeight:we.fontWeightStrong,backgroundColor:we.itemActiveBg,borderColor:we.colorPrimary,a:{color:we.colorPrimary},"&:hover":{borderColor:we.colorPrimaryHover},"&:hover a":{color:we.colorPrimaryHover}}}}},Ft=we=>{const{componentCls:Ce}=we;return{[Ce]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,ft.Wf)(we)),{"ul, ol":{margin:0,padding:0,listStyle:"none"},"&::after":{display:"block",clear:"both",height:0,overflow:"hidden",visibility:"hidden",content:'""'},[`${Ce}-total-text`]:{display:"inline-block",height:we.itemSize,marginInlineEnd:we.marginXS,lineHeight:`${we.itemSize-2}px`,verticalAlign:"middle"}}),Cn(we)),Ut(we)),Be(we)),Yt(we)),yt(we)),{[`@media only screen and (max-width: ${we.screenLG}px)`]:{[`${Ce}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${we.screenSM}px)`]:{[`${Ce}-options`]:{display:"none"}}}),[`&${we.componentCls}-rtl`]:{direction:"rtl"}}},It=we=>{const{componentCls:Ce}=we;return{[`${Ce}${Ce}-disabled:not(${Ce}-mini)`]:{"&, &:hover":{[`${Ce}-item-link`]:{borderColor:we.colorBorder}},"&:focus-visible":{[`${Ce}-item-link`]:{borderColor:we.colorBorder}},[`${Ce}-item, ${Ce}-item-link`]:{backgroundColor:we.colorBgContainerDisabled,borderColor:we.colorBorder,[`&:hover:not(${Ce}-item-active)`]:{backgroundColor:we.colorBgContainerDisabled,borderColor:we.colorBorder,a:{color:we.colorTextDisabled}},[`&${Ce}-item-active`]:{backgroundColor:we.itemActiveBgDisabled}},[`${Ce}-prev, ${Ce}-next`]:{"&:hover button":{backgroundColor:we.colorBgContainerDisabled,borderColor:we.colorBorder,color:we.colorTextDisabled},[`${Ce}-item-link`]:{backgroundColor:we.colorBgContainerDisabled,borderColor:we.colorBorder}}},[`${Ce}:not(${Ce}-mini)`]:{[`${Ce}-prev, ${Ce}-next`]:{"&:hover button":{borderColor:we.colorPrimaryHover,backgroundColor:we.itemBg},[`${Ce}-item-link`]:{backgroundColor:we.itemLinkBg,borderColor:we.colorBorder},[`&:hover ${Ce}-item-link`]:{borderColor:we.colorPrimary,backgroundColor:we.itemBg,color:we.colorPrimary},[`&${Ce}-disabled`]:{[`${Ce}-item-link`]:{borderColor:we.colorBorder,color:we.colorTextDisabled}}},[`${Ce}-item`]:{backgroundColor:we.itemBg,border:`${we.lineWidth}px ${we.lineType} ${we.colorBorder}`,[`&:hover:not(${Ce}-item-active)`]:{borderColor:we.colorPrimary,backgroundColor:we.itemBg,a:{color:we.colorPrimary}},"&-active":{borderColor:we.colorPrimary}}}}},nt=we=>{const{componentCls:Ce}=we;return{[`${Ce}:not(${Ce}-disabled)`]:{[`${Ce}-item`]:Object.assign({},(0,ft.Qy)(we)),[`${Ce}-jump-prev, ${Ce}-jump-next`]:{"&:focus-visible":Object.assign({[`${Ce}-item-link-icon`]:{opacity:1},[`${Ce}-item-ellipsis`]:{opacity:0}},(0,ft.oN)(we))},[`${Ce}-prev, ${Ce}-next`]:{[`&:focus-visible ${Ce}-item-link`]:Object.assign({},(0,ft.oN)(we))}}}};var Ue=(0,Dt.Z)("Pagination",we=>{const Ce=(0,ln.TS)(we,{inputOutlineOffset:0,paginationMiniOptionsMarginInlineStart:we.marginXXS/2,paginationMiniQuickJumperInputWidth:we.controlHeightLG*1.1,paginationItemPaddingInline:we.marginXXS*1.5,paginationEllipsisLetterSpacing:we.marginXXS/2,paginationSlashMarginInlineStart:we.marginXXS,paginationSlashMarginInlineEnd:we.marginSM,paginationEllipsisTextIndent:"0.13em"},(0,Je.e5)(we),(0,Je.TM)(we));return[Ft(Ce),nt(Ce),we.wireframe&&It(Ce)]},we=>({itemBg:we.colorBgContainer,itemSize:we.controlHeight,itemSizeSM:we.controlHeightSM,itemActiveBg:we.colorBgContainer,itemLinkBg:we.colorBgContainer,itemActiveColorDisabled:we.colorTextDisabled,itemActiveBgDisabled:we.controlItemBgActiveDisabled,itemInputBg:we.colorBgContainer,miniOptionsSizeChangerTop:0})),Fe=function(we,Ce){var vt={};for(var Xe in we)Object.prototype.hasOwnProperty.call(we,Xe)&&Ce.indexOf(Xe)<0&&(vt[Xe]=we[Xe]);if(we!=null&&typeof Object.getOwnPropertySymbols=="function")for(var _e=0,Xe=Object.getOwnPropertySymbols(we);_e<Xe.length;_e++)Ce.indexOf(Xe[_e])<0&&Object.prototype.propertyIsEnumerable.call(we,Xe[_e])&&(vt[Xe[_e]]=we[Xe[_e]]);return vt},at=we=>{const{prefixCls:Ce,selectPrefixCls:vt,className:Xe,rootClassName:_e,style:Pt,size:cn,locale:Ot,selectComponentClass:Xt,responsive:$t,showSizeChanger:nn}=we,bt=Fe(we,["prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","selectComponentClass","responsive","showSizeChanger"]),{xs:rn}=(0,Ye.Z)($t),{getPrefixCls:wn,direction:Zt,pagination:wt={}}=se.useContext(lt.E_),Ln=wn("pagination",Ce),[zn,Wn]=Ue(Ln),Yn=nn!=null?nn:wt.showSizeChanger,xa=se.useMemo(()=>{const ta=se.createElement("span",{className:`${Ln}-item-ellipsis`},"\u2022\u2022\u2022"),En=se.createElement("button",{className:`${Ln}-item-link`,type:"button",tabIndex:-1},Zt==="rtl"?se.createElement(ke.Z,null):se.createElement(Te.Z,null)),Oa=se.createElement("button",{className:`${Ln}-item-link`,type:"button",tabIndex:-1},Zt==="rtl"?se.createElement(Te.Z,null):se.createElement(ke.Z,null)),Ve=se.createElement("a",{className:`${Ln}-item-link`},se.createElement("div",{className:`${Ln}-item-container`},Zt==="rtl"?se.createElement(We.Z,{className:`${Ln}-item-link-icon`}):se.createElement(Ze,{className:`${Ln}-item-link-icon`}),ta)),Bt=se.createElement("a",{className:`${Ln}-item-link`},se.createElement("div",{className:`${Ln}-item-container`},Zt==="rtl"?se.createElement(Ze,{className:`${Ln}-item-link-icon`}):se.createElement(We.Z,{className:`${Ln}-item-link-icon`}),ta));return{prevIcon:En,nextIcon:Oa,jumpPrevIcon:Ve,jumpNextIcon:Bt}},[Zt,Ln]),[on]=(0,Kt.Z)("Pagination",Qe.Z),qt=Object.assign(Object.assign({},on),Ot),pn=(0,Ke.Z)(cn),Zn=pn==="small"||!!(rn&&!pn&&$t),xn=wn("select",vt),Na=De()({[`${Ln}-mini`]:Zn,[`${Ln}-rtl`]:Zt==="rtl"},wt==null?void 0:wt.className,Xe,_e,Wn),Wa=Object.assign(Object.assign({},wt==null?void 0:wt.style),Pt);return zn(se.createElement(Ne,Object.assign({},xa,bt,{style:Wa,prefixCls:Ln,selectPrefixCls:xn,className:Na,selectComponentClass:Xt||(Zn?Ht:en),locale:qt,showSizeChanger:Yn})))},At=at},39722:function(_t,Rt,ae){"use strict";ae.d(Rt,{t5:function(){return Te}});var b=ae(92310),se=ae.n(b),be=ae(55477),Ae=ae(59301),Ie=ae(36355),Re=ae(77578),ue=ae(17356),Ze=function(je,De){var le={};for(var E in je)Object.prototype.hasOwnProperty.call(je,E)&&De.indexOf(E)<0&&(le[E]=je[E]);if(je!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,E=Object.getOwnPropertySymbols(je);a<E.length;a++)De.indexOf(E[a])<0&&Object.prototype.propertyIsEnumerable.call(je,E[a])&&(le[E[a]]=je[E[a]]);return le};const We=(je,De,le)=>{if(!(!De&&!le))return Ae.createElement(Ae.Fragment,null,De&&Ae.createElement("div",{className:`${je}-title`},(0,Re.Z)(De)),Ae.createElement("div",{className:`${je}-inner-content`},(0,Re.Z)(le)))},Te=je=>{const{hashId:De,prefixCls:le,className:E,style:a,placement:x="top",title:y,content:z,children:te}=je;return Ae.createElement("div",{className:se()(De,le,`${le}-pure`,`${le}-placement-${x}`,E),style:a},Ae.createElement("div",{className:`${le}-arrow`}),Ae.createElement(be.G,Object.assign({},je,{className:De,prefixCls:le}),te||We(le,y,z)))},ke=je=>{const{prefixCls:De}=je,le=Ze(je,["prefixCls"]),{getPrefixCls:E}=Ae.useContext(Ie.E_),a=E("popover",De),[x,y]=(0,ue.Z)(a);return x(Ae.createElement(Te,Object.assign({},le,{prefixCls:a,hashId:y})))};Rt.ZP=ke},60324:function(_t,Rt,ae){"use strict";var b=ae(92310),se=ae.n(b),be=ae(59301),Ae=ae(77578),Ie=ae(62892),Re=ae(36355),ue=ae(6848),Ze=ae(39722),We=ae(17356),Te=function(De,le){var E={};for(var a in De)Object.prototype.hasOwnProperty.call(De,a)&&le.indexOf(a)<0&&(E[a]=De[a]);if(De!=null&&typeof Object.getOwnPropertySymbols=="function")for(var x=0,a=Object.getOwnPropertySymbols(De);x<a.length;x++)le.indexOf(a[x])<0&&Object.prototype.propertyIsEnumerable.call(De,a[x])&&(E[a[x]]=De[a[x]]);return E};const ke=De=>{let{title:le,content:E,prefixCls:a}=De;return be.createElement(be.Fragment,null,le&&be.createElement("div",{className:`${a}-title`},(0,Ae.Z)(le)),be.createElement("div",{className:`${a}-inner-content`},(0,Ae.Z)(E)))},je=be.forwardRef((De,le)=>{const{prefixCls:E,title:a,content:x,overlayClassName:y,placement:z="top",trigger:te="hover",mouseEnterDelay:re=.1,mouseLeaveDelay:ie=.1,overlayStyle:ce={}}=De,pe=Te(De,["prefixCls","title","content","overlayClassName","placement","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle"]),{getPrefixCls:ge}=be.useContext(Re.E_),ye=ge("popover",E),[Ee,Le]=(0,We.Z)(ye),ve=ge(),$e=se()(y,Le);return Ee(be.createElement(ue.Z,Object.assign({placement:z,trigger:te,mouseEnterDelay:re,mouseLeaveDelay:ie,overlayStyle:ce},pe,{prefixCls:ye,overlayClassName:$e,ref:le,overlay:a||x?be.createElement(ke,{prefixCls:ye,title:a,content:x}):null,transitionName:(0,Ie.m)(ve,"zoom-big",pe.transitionName),"data-popover-inject":!0})))});je._InternalPanelDoNotUseOrYouWillBeFired=Ze.ZP,Rt.Z=je},17356:function(_t,Rt,ae){"use strict";var b=ae(17313),se=ae(29878),be=ae(19447),Ae=ae(33166),Ie=ae(83116),Re=ae(37613);const ue=Te=>{const{componentCls:ke,popoverColor:je,minWidth:De,fontWeightStrong:le,popoverPadding:E,boxShadowSecondary:a,colorTextHeading:x,borderRadiusLG:y,zIndexPopup:z,marginXS:te,colorBgElevated:re,popoverBg:ie}=Te;return[{[ke]:Object.assign(Object.assign({},(0,b.Wf)(Te)),{position:"absolute",top:0,left:{_skip_check_:!0,value:0},zIndex:z,fontWeight:"normal",whiteSpace:"normal",textAlign:"start",cursor:"auto",userSelect:"text",transformOrigin:"var(--arrow-x, 50%) var(--arrow-y, 50%)","--antd-arrow-background-color":re,"&-rtl":{direction:"rtl"},"&-hidden":{display:"none"},[`${ke}-content`]:{position:"relative"},[`${ke}-inner`]:{backgroundColor:ie,backgroundClip:"padding-box",borderRadius:y,boxShadow:a,padding:E},[`${ke}-title`]:{minWidth:De,marginBottom:te,color:x,fontWeight:le},[`${ke}-inner-content`]:{color:je}})},(0,be.ZP)(Te,{colorBg:"var(--antd-arrow-background-color)"}),{[`${ke}-pure`]:{position:"relative",maxWidth:"none",margin:Te.sizePopupArrow,display:"inline-block",[`${ke}-content`]:{display:"inline-block"}}}]},Ze=Te=>{const{componentCls:ke}=Te;return{[ke]:Ae.i.map(je=>{const De=Te[`${je}6`];return{[`&${ke}-${je}`]:{"--antd-arrow-background-color":De,[`${ke}-inner`]:{backgroundColor:De},[`${ke}-arrow`]:{background:"transparent"}}}})}},We=Te=>{const{componentCls:ke,lineWidth:je,lineType:De,colorSplit:le,paddingSM:E,controlHeight:a,fontSize:x,lineHeight:y,padding:z}=Te,te=a-Math.round(x*y),re=te/2,ie=te/2-je,ce=z;return{[ke]:{[`${ke}-inner`]:{padding:0},[`${ke}-title`]:{margin:0,padding:`${re}px ${ce}px ${ie}px`,borderBottom:`${je}px ${De} ${le}`},[`${ke}-inner-content`]:{padding:`${E}px ${ce}px`}}}};Rt.Z=(0,Ie.Z)("Popover",Te=>{const{colorBgElevated:ke,colorText:je,wireframe:De}=Te,le=(0,Re.TS)(Te,{popoverPadding:12,popoverBg:ke,popoverColor:je});return[ue(le),Ze(le),De&&We(le),(0,se._y)(le,"zoom-big")]},Te=>({width:177,minWidth:177,zIndexPopup:Te.zIndexPopupBase+30}),{resetStyle:!1,deprecatedTokens:[["width","minWidth"]]})},13570:function(_t,Rt,ae){"use strict";ae.d(Rt,{Z:function(){return Kt}});var b=ae(14809),se=ae(59301),be={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"},Ae=be,Ie=ae(7657),Re=function(Ht,en){return se.createElement(Ie.Z,(0,b.Z)({},Ht,{ref:en,icon:Ae}))},ue=se.forwardRef(Re),Ze=ue,We=ae(92310),Te=ae.n(We),ke=ae(4635),je=ae(50298),De=ae(62646),le=ae(18929),E=ae(10228),a=ae(26112);function x(ot,Ht){var en=ot.disabled,Je=ot.prefixCls,ft=ot.character,Dt=ot.characterRender,ln=ot.index,yt=ot.count,Yt=ot.value,Be=ot.allowHalf,Ut=ot.focused,Cn=ot.onHover,Ft=ot.onClick,It=function(Ce){Cn(Ce,ln)},nt=function(Ce){Ft(Ce,ln)},Ue=function(Ce){Ce.keyCode===E.Z.ENTER&&Ft(Ce,ln)},Fe=ln+1,he=new Set([Je]);Yt===0&&ln===0&&Ut?he.add("".concat(Je,"-focused")):Be&&Yt+.5>=Fe&&Yt<Fe?(he.add("".concat(Je,"-half")),he.add("".concat(Je,"-active")),Ut&&he.add("".concat(Je,"-focused"))):(Fe<=Yt?he.add("".concat(Je,"-full")):he.add("".concat(Je,"-zero")),Fe===Yt&&Ut&&he.add("".concat(Je,"-focused")));var at=typeof ft=="function"?ft(ot):ft,At=se.createElement("li",{className:Te()(Array.from(he)),ref:Ht},se.createElement("div",{onClick:en?null:nt,onKeyDown:en?null:Ue,onMouseMove:en?null:It,role:"radio","aria-checked":Yt>ln?"true":"false","aria-posinset":ln+1,"aria-setsize":yt,tabIndex:en?-1:0},se.createElement("div",{className:"".concat(Je,"-first")},at),se.createElement("div",{className:"".concat(Je,"-second")},at)));return Dt&&(At=Dt(At,ot)),At}var y=se.forwardRef(x);function z(){var ot=se.useRef({});function Ht(Je){return ot.current[Je]}function en(Je){return function(ft){ot.current[Je]=ft}}return[Ht,en]}function te(ot){var Ht=ot.pageXOffset,en="scrollLeft";if(typeof Ht!="number"){var Je=ot.document;Ht=Je.documentElement[en],typeof Ht!="number"&&(Ht=Je.body[en])}return Ht}function re(ot){var Ht,en,Je=ot.ownerDocument,ft=Je.body,Dt=Je&&Je.documentElement,ln=ot.getBoundingClientRect();return Ht=ln.left,en=ln.top,Ht-=Dt.clientLeft||ft.clientLeft||0,en-=Dt.clientTop||ft.clientTop||0,{left:Ht,top:en}}function ie(ot){var Ht=re(ot),en=ot.ownerDocument,Je=en.defaultView||en.parentWindow;return Ht.left+=te(Je),Ht.left}var ce=["prefixCls","className","defaultValue","value","count","allowHalf","allowClear","character","characterRender","disabled","direction","tabIndex","autoFocus","onHoverChange","onChange","onFocus","onBlur","onKeyDown","onMouseLeave"];function pe(ot,Ht){var en,Je=ot.prefixCls,ft=Je===void 0?"rc-rate":Je,Dt=ot.className,ln=ot.defaultValue,yt=ot.value,Yt=ot.count,Be=Yt===void 0?5:Yt,Ut=ot.allowHalf,Cn=Ut===void 0?!1:Ut,Ft=ot.allowClear,It=Ft===void 0?!0:Ft,nt=ot.character,Ue=nt===void 0?"\u2605":nt,Fe=ot.characterRender,he=ot.disabled,at=ot.direction,At=at===void 0?"ltr":at,we=ot.tabIndex,Ce=we===void 0?0:we,vt=ot.autoFocus,Xe=ot.onHoverChange,_e=ot.onChange,Pt=ot.onFocus,cn=ot.onBlur,Ot=ot.onKeyDown,Xt=ot.onMouseLeave,$t=(0,De.Z)(ot,ce),nn=z(),bt=(0,je.Z)(nn,2),rn=bt[0],wn=bt[1],Zt=se.useRef(null),wt=function(){if(!he){var an;(an=Zt.current)===null||an===void 0||an.focus()}};se.useImperativeHandle(Ht,function(){return{focus:wt,blur:function(){if(!he){var an;(an=Zt.current)===null||an===void 0||an.blur()}}}});var Ln=(0,le.Z)(ln||0,{value:yt}),zn=(0,je.Z)(Ln,2),Wn=zn[0],Yn=zn[1],xa=(0,le.Z)(null),on=(0,je.Z)(xa,2),qt=on[0],pn=on[1],Zn=function(an,kn){var Fn=At==="rtl",Bn=an+1;if(Cn){var Un=rn(an),Ra=ie(Un),yn=Un.clientWidth;(Fn&&kn-Ra>yn/2||!Fn&&kn-Ra<yn/2)&&(Bn-=.5)}return Bn},xn=function(an){Yn(an),_e==null||_e(an)},Na=se.useState(!1),Wa=(0,je.Z)(Na,2),ta=Wa[0],En=Wa[1],Oa=function(){En(!0),Pt==null||Pt()},Ve=function(){En(!1),cn==null||cn()},Bt=se.useState(null),Gt=(0,je.Z)(Bt,2),Vt=Gt[0],tn=Gt[1],Sn=function(an,kn){var Fn=Zn(kn,an.pageX);Fn!==qt&&(tn(Fn),pn(null)),Xe==null||Xe(Fn)},mn=function(an){he||(tn(null),pn(null),Xe==null||Xe(void 0)),an&&(Xt==null||Xt(an))},ut=function(an,kn){var Fn=Zn(kn,an.pageX),Bn=!1;It&&(Bn=Fn===Wn),mn(),xn(Bn?0:Fn),pn(Bn?Fn:null)},pt=function(an){var kn=an.keyCode,Fn=At==="rtl",Bn=Wn;kn===E.Z.RIGHT&&Bn<Be&&!Fn?(Cn?Bn+=.5:Bn+=1,xn(Bn),an.preventDefault()):kn===E.Z.LEFT&&Bn>0&&!Fn||kn===E.Z.RIGHT&&Bn>0&&Fn?(Cn?Bn-=.5:Bn-=1,xn(Bn),an.preventDefault()):kn===E.Z.LEFT&&Bn<Be&&Fn&&(Cn?Bn+=.5:Bn+=1,xn(Bn),an.preventDefault()),Ot==null||Ot(an)};se.useEffect(function(){vt&&!he&&wt()},[]);var ct=new Array(Be).fill(0).map(function(vn,an){return se.createElement(y,{ref:wn(an),index:an,count:Be,disabled:he,prefixCls:"".concat(ft,"-star"),allowHalf:Cn,value:Vt===null?Wn:Vt,onClick:ut,onHover:Sn,key:vn||an,character:Ue,characterRender:Fe,focused:ta})}),Wt=Te()(ft,Dt,(en={},(0,ke.Z)(en,"".concat(ft,"-disabled"),he),(0,ke.Z)(en,"".concat(ft,"-rtl"),At==="rtl"),en));return se.createElement("ul",(0,b.Z)({className:Wt,onMouseLeave:mn,tabIndex:he?-1:Ce,onFocus:he?null:Oa,onBlur:he?null:Ve,onKeyDown:he?null:pt,ref:Zt,role:"radiogroup"},(0,a.Z)($t,{aria:!0,data:!0,attr:!0})),ct)}var ge=se.forwardRef(pe),ye=ge,Ee=ae(36355),Le=ae(6848),ve=ae(17313),$e=ae(83116),He=ae(37613);const it=ot=>{const{componentCls:Ht}=ot;return{[`${Ht}-star`]:{position:"relative",display:"inline-block",color:"inherit",cursor:"pointer","&:not(:last-child)":{marginInlineEnd:ot.marginXS},"> div":{transition:`all ${ot.motionDurationMid}, outline 0s`,"&:hover":{transform:ot.starHoverScale},"&:focus":{outline:0},"&:focus-visible":{outline:`${ot.lineWidth}px dashed ${ot.starColor}`,transform:ot.starHoverScale}},"&-first, &-second":{color:ot.starBg,transition:`all ${ot.motionDurationMid}`,userSelect:"none",[ot.iconCls]:{verticalAlign:"middle"}},"&-first":{position:"absolute",top:0,insetInlineStart:0,width:"50%",height:"100%",overflow:"hidden",opacity:0},[`&-half ${Ht}-star-first, &-half ${Ht}-star-second`]:{opacity:1},[`&-half ${Ht}-star-first, &-full ${Ht}-star-second`]:{color:"inherit"}}}},Ne=ot=>({[`&-rtl${ot.componentCls}`]:{direction:"rtl"}}),Qe=ot=>{const{componentCls:Ht}=ot;return{[Ht]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,ve.Wf)(ot)),{display:"inline-block",margin:0,padding:0,color:ot.starColor,fontSize:ot.starSize,lineHeight:"unset",listStyle:"none",outline:"none",[`&-disabled${Ht} ${Ht}-star`]:{cursor:"default","> div:hover":{transform:"scale(1)"}}}),it(ot)),{[`+ ${Ht}-text`]:{display:"inline-block",marginInlineStart:ot.marginXS,fontSize:ot.fontSize}}),Ne(ot))}};var lt=(0,$e.Z)("Rate",ot=>{const Ht=(0,He.TS)(ot,{});return[Qe(Ht)]},ot=>({starColor:ot.yellow6,starSize:ot.controlHeightLG*.5,starHoverScale:"scale(1.1)",starBg:ot.colorFillContent})),Ke=function(ot,Ht){var en={};for(var Je in ot)Object.prototype.hasOwnProperty.call(ot,Je)&&Ht.indexOf(Je)<0&&(en[Je]=ot[Je]);if(ot!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ft=0,Je=Object.getOwnPropertySymbols(ot);ft<Je.length;ft++)Ht.indexOf(Je[ft])<0&&Object.prototype.propertyIsEnumerable.call(ot,Je[ft])&&(en[Je[ft]]=ot[Je[ft]]);return en},Kt=se.forwardRef((ot,Ht)=>{const{prefixCls:en,className:Je,rootClassName:ft,style:Dt,tooltips:ln,character:yt=se.createElement(Ze,null)}=ot,Yt=Ke(ot,["prefixCls","className","rootClassName","style","tooltips","character"]),Be=(he,at)=>{let{index:At}=at;return ln?se.createElement(Le.Z,{title:ln[At]},he):he},{getPrefixCls:Ut,direction:Cn,rate:Ft}=se.useContext(Ee.E_),It=Ut("rate",en),[nt,Ue]=lt(It),Fe=Object.assign(Object.assign({},Ft==null?void 0:Ft.style),Dt);return nt(se.createElement(ye,Object.assign({ref:Ht,character:yt,characterRender:Be},Yt,{className:Te()(Je,ft,Ue,Ft==null?void 0:Ft.className),style:Fe,prefixCls:It,direction:Cn})))})},61621:function(_t,Rt,ae){"use strict";ae.d(Rt,{Z:function(){return Ue}});var b=ae(92310),se=ae.n(b),be=ae(59301),Ae=ae(36355),Ie=ae(2738),ue=Fe=>{const{prefixCls:he,className:at,style:At,size:we,shape:Ce}=Fe,vt=se()({[`${he}-lg`]:we==="large",[`${he}-sm`]:we==="small"}),Xe=se()({[`${he}-circle`]:Ce==="circle",[`${he}-square`]:Ce==="square",[`${he}-round`]:Ce==="round"}),_e=be.useMemo(()=>typeof we=="number"?{width:we,height:we,lineHeight:`${we}px`}:{},[we]);return be.createElement("span",{className:se()(he,vt,Xe,at),style:Object.assign(Object.assign({},_e),At)})},Ze=ae(93083),We=ae(83116),Te=ae(37613);const ke=new Ze.Keyframes("ant-skeleton-loading",{"0%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),je=Fe=>({height:Fe,lineHeight:`${Fe}px`}),De=Fe=>Object.assign({width:Fe},je(Fe)),le=Fe=>({background:Fe.skeletonLoadingBackground,backgroundSize:"400% 100%",animationName:ke,animationDuration:Fe.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite"}),E=Fe=>Object.assign({width:Fe*5,minWidth:Fe*5},je(Fe)),a=Fe=>{const{skeletonAvatarCls:he,gradientFromColor:at,controlHeight:At,controlHeightLG:we,controlHeightSM:Ce}=Fe;return{[`${he}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:at},De(At)),[`${he}${he}-circle`]:{borderRadius:"50%"},[`${he}${he}-lg`]:Object.assign({},De(we)),[`${he}${he}-sm`]:Object.assign({},De(Ce))}},x=Fe=>{const{controlHeight:he,borderRadiusSM:at,skeletonInputCls:At,controlHeightLG:we,controlHeightSM:Ce,gradientFromColor:vt}=Fe;return{[`${At}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:vt,borderRadius:at},E(he)),[`${At}-lg`]:Object.assign({},E(we)),[`${At}-sm`]:Object.assign({},E(Ce))}},y=Fe=>Object.assign({width:Fe},je(Fe)),z=Fe=>{const{skeletonImageCls:he,imageSizeBase:at,gradientFromColor:At,borderRadiusSM:we}=Fe;return{[`${he}`]:Object.assign(Object.assign({display:"flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",background:At,borderRadius:we},y(at*2)),{[`${he}-path`]:{fill:"#bfbfbf"},[`${he}-svg`]:Object.assign(Object.assign({},y(at)),{maxWidth:at*4,maxHeight:at*4}),[`${he}-svg${he}-svg-circle`]:{borderRadius:"50%"}}),[`${he}${he}-circle`]:{borderRadius:"50%"}}},te=(Fe,he,at)=>{const{skeletonButtonCls:At}=Fe;return{[`${at}${At}-circle`]:{width:he,minWidth:he,borderRadius:"50%"},[`${at}${At}-round`]:{borderRadius:he}}},re=Fe=>Object.assign({width:Fe*2,minWidth:Fe*2},je(Fe)),ie=Fe=>{const{borderRadiusSM:he,skeletonButtonCls:at,controlHeight:At,controlHeightLG:we,controlHeightSM:Ce,gradientFromColor:vt}=Fe;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[`${at}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:vt,borderRadius:he,width:At*2,minWidth:At*2},re(At))},te(Fe,At,at)),{[`${at}-lg`]:Object.assign({},re(we))}),te(Fe,we,`${at}-lg`)),{[`${at}-sm`]:Object.assign({},re(Ce))}),te(Fe,Ce,`${at}-sm`))},ce=Fe=>{const{componentCls:he,skeletonAvatarCls:at,skeletonTitleCls:At,skeletonParagraphCls:we,skeletonButtonCls:Ce,skeletonInputCls:vt,skeletonImageCls:Xe,controlHeight:_e,controlHeightLG:Pt,controlHeightSM:cn,gradientFromColor:Ot,padding:Xt,marginSM:$t,borderRadius:nn,titleHeight:bt,blockRadius:rn,paragraphLiHeight:wn,controlHeightXS:Zt,paragraphMarginTop:wt}=Fe;return{[`${he}`]:{display:"table",width:"100%",[`${he}-header`]:{display:"table-cell",paddingInlineEnd:Xt,verticalAlign:"top",[`${at}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:Ot},De(_e)),[`${at}-circle`]:{borderRadius:"50%"},[`${at}-lg`]:Object.assign({},De(Pt)),[`${at}-sm`]:Object.assign({},De(cn))},[`${he}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[`${At}`]:{width:"100%",height:bt,background:Ot,borderRadius:rn,[`+ ${we}`]:{marginBlockStart:cn}},[`${we}`]:{padding:0,"> li":{width:"100%",height:wn,listStyle:"none",background:Ot,borderRadius:rn,"+ li":{marginBlockStart:Zt}}},[`${we}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${he}-content`]:{[`${At}, ${we} > li`]:{borderRadius:nn}}},[`${he}-with-avatar ${he}-content`]:{[`${At}`]:{marginBlockStart:$t,[`+ ${we}`]:{marginBlockStart:wt}}},[`${he}${he}-element`]:Object.assign(Object.assign(Object.assign(Object.assign({display:"inline-block",width:"auto"},ie(Fe)),a(Fe)),x(Fe)),z(Fe)),[`${he}${he}-block`]:{width:"100%",[`${Ce}`]:{width:"100%"},[`${vt}`]:{width:"100%"}},[`${he}${he}-active`]:{[`
${At},
${we} > li,
${at},
${Ce},
${vt},
${Xe}
`]:Object.assign({},le(Fe))}}};var pe=(0,We.Z)("Skeleton",Fe=>{const{componentCls:he}=Fe,at=(0,Te.TS)(Fe,{skeletonAvatarCls:`${he}-avatar`,skeletonTitleCls:`${he}-title`,skeletonParagraphCls:`${he}-paragraph`,skeletonButtonCls:`${he}-button`,skeletonInputCls:`${he}-input`,skeletonImageCls:`${he}-image`,imageSizeBase:Fe.controlHeight*1.5,borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${Fe.gradientFromColor} 25%, ${Fe.gradientToColor} 37%, ${Fe.gradientFromColor} 63%)`,skeletonLoadingMotionDuration:"1.4s"});return[ce(at)]},Fe=>{const{colorFillContent:he,colorFill:at}=Fe,At=he,we=at;return{color:At,colorGradientEnd:we,gradientFromColor:At,gradientToColor:we,titleHeight:Fe.controlHeight/2,blockRadius:Fe.borderRadiusSM,paragraphMarginTop:Fe.marginLG+Fe.marginXXS,paragraphLiHeight:Fe.controlHeight/2}},{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]}),ye=Fe=>{const{prefixCls:he,className:at,rootClassName:At,active:we,shape:Ce="circle",size:vt="default"}=Fe,{getPrefixCls:Xe}=be.useContext(Ae.E_),_e=Xe("skeleton",he),[Pt,cn]=pe(_e),Ot=(0,Ie.Z)(Fe,["prefixCls","className"]),Xt=se()(_e,`${_e}-element`,{[`${_e}-active`]:we},at,At,cn);return Pt(be.createElement("div",{className:Xt},be.createElement(ue,Object.assign({prefixCls:`${_e}-avatar`,shape:Ce,size:vt},Ot))))},Le=Fe=>{const{prefixCls:he,className:at,rootClassName:At,active:we,block:Ce=!1,size:vt="default"}=Fe,{getPrefixCls:Xe}=be.useContext(Ae.E_),_e=Xe("skeleton",he),[Pt,cn]=pe(_e),Ot=(0,Ie.Z)(Fe,["prefixCls"]),Xt=se()(_e,`${_e}-element`,{[`${_e}-active`]:we,[`${_e}-block`]:Ce},at,At,cn);return Pt(be.createElement("div",{className:Xt},be.createElement(ue,Object.assign({prefixCls:`${_e}-button`,size:vt},Ot))))};const ve="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 He=Fe=>{const{prefixCls:he,className:at,rootClassName:At,style:we,active:Ce}=Fe,{getPrefixCls:vt}=be.useContext(Ae.E_),Xe=vt("skeleton",he),[_e,Pt]=pe(Xe),cn=se()(Xe,`${Xe}-element`,{[`${Xe}-active`]:Ce},at,At,Pt);return _e(be.createElement("div",{className:cn},be.createElement("div",{className:se()(`${Xe}-image`,at),style:we},be.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${Xe}-image-svg`},be.createElement("path",{d:ve,className:`${Xe}-image-path`})))))},Ne=Fe=>{const{prefixCls:he,className:at,rootClassName:At,active:we,block:Ce,size:vt="default"}=Fe,{getPrefixCls:Xe}=be.useContext(Ae.E_),_e=Xe("skeleton",he),[Pt,cn]=pe(_e),Ot=(0,Ie.Z)(Fe,["prefixCls"]),Xt=se()(_e,`${_e}-element`,{[`${_e}-active`]:we,[`${_e}-block`]:Ce},at,At,cn);return Pt(be.createElement("div",{className:Xt},be.createElement(ue,Object.assign({prefixCls:`${_e}-input`,size:vt},Ot))))},Qe=ae(14809),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"},Ke=lt,Ye=ae(7657),Kt=function(he,at){return be.createElement(Ye.Z,(0,Qe.Z)({},he,{ref:at,icon:Ke}))},ot=be.forwardRef(Kt),Ht=ot,Je=Fe=>{const{prefixCls:he,className:at,rootClassName:At,style:we,active:Ce,children:vt}=Fe,{getPrefixCls:Xe}=be.useContext(Ae.E_),_e=Xe("skeleton",he),[Pt,cn]=pe(_e),Ot=se()(_e,`${_e}-element`,{[`${_e}-active`]:Ce},cn,at,At),Xt=vt!=null?vt:be.createElement(Ht,null);return Pt(be.createElement("div",{className:Ot},be.createElement("div",{className:se()(`${_e}-image`,at),style:we},Xt)))},ft=ae(95190),ln=Fe=>{const he=Xe=>{const{width:_e,rows:Pt=2}=Fe;if(Array.isArray(_e))return _e[Xe];if(Pt-1===Xe)return _e},{prefixCls:at,className:At,style:we,rows:Ce}=Fe,vt=(0,ft.Z)(Array(Ce)).map((Xe,_e)=>be.createElement("li",{key:_e,style:{width:he(_e)}}));return be.createElement("ul",{className:se()(at,At),style:we},vt)},Yt=Fe=>{let{prefixCls:he,className:at,width:At,style:we}=Fe;return be.createElement("h3",{className:se()(he,at),style:Object.assign({width:At},we)})};function Be(Fe){return Fe&&typeof Fe=="object"?Fe:{}}function Ut(Fe,he){return Fe&&!he?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function Cn(Fe,he){return!Fe&&he?{width:"38%"}:Fe&&he?{width:"50%"}:{}}function Ft(Fe,he){const at={};return(!Fe||!he)&&(at.width="61%"),!Fe&&he?at.rows=3:at.rows=2,at}const It=Fe=>{const{prefixCls:he,loading:at,className:At,rootClassName:we,style:Ce,children:vt,avatar:Xe=!1,title:_e=!0,paragraph:Pt=!0,active:cn,round:Ot}=Fe,{getPrefixCls:Xt,direction:$t,skeleton:nn}=be.useContext(Ae.E_),bt=Xt("skeleton",he),[rn,wn]=pe(bt);if(at||!("loading"in Fe)){const Zt=!!Xe,wt=!!_e,Ln=!!Pt;let zn;if(Zt){const xa=Object.assign(Object.assign({prefixCls:`${bt}-avatar`},Ut(wt,Ln)),Be(Xe));zn=be.createElement("div",{className:`${bt}-header`},be.createElement(ue,Object.assign({},xa)))}let Wn;if(wt||Ln){let xa;if(wt){const qt=Object.assign(Object.assign({prefixCls:`${bt}-title`},Cn(Zt,Ln)),Be(_e));xa=be.createElement(Yt,Object.assign({},qt))}let on;if(Ln){const qt=Object.assign(Object.assign({prefixCls:`${bt}-paragraph`},Ft(Zt,wt)),Be(Pt));on=be.createElement(ln,Object.assign({},qt))}Wn=be.createElement("div",{className:`${bt}-content`},xa,on)}const Yn=se()(bt,{[`${bt}-with-avatar`]:Zt,[`${bt}-active`]:cn,[`${bt}-rtl`]:$t==="rtl",[`${bt}-round`]:Ot},nn==null?void 0:nn.className,At,we,wn);return rn(be.createElement("div",{className:Yn,style:Object.assign(Object.assign({},nn==null?void 0:nn.style),Ce)},zn,Wn))}return typeof vt!="undefined"?vt:null};It.Button=Le,It.Avatar=ye,It.Input=Ne,It.Image=He,It.Node=Je;var nt=It,Ue=nt},31797:function(_t,Rt,ae){"use strict";ae.d(Rt,{default:function(){return pe}});var b=ae(59301),se=ae(56762),be=ae(92343),Ae=ae(92310),Ie=ae.n(Ae),Re=ae(36355),ue=ae(61621),We=ge=>{const{value:ye,formatter:Ee,precision:Le,decimalSeparator:ve,groupSeparator:$e="",prefixCls:He}=ge;let it;if(typeof Ee=="function")it=Ee(ye);else{const Ne=String(ye),Qe=Ne.match(/^(-?)(\d*)(\.(\d+))?$/);if(!Qe||Ne==="-")it=Ne;else{const lt=Qe[1];let Ke=Qe[2]||"0",Ye=Qe[4]||"";Ke=Ke.replace(/\B(?=(\d{3})+(?!\d))/g,$e),typeof Le=="number"&&(Ye=Ye.padEnd(Le,"0").slice(0,Le>0?Le:0)),Ye&&(Ye=`${ve}${Ye}`),it=[b.createElement("span",{key:"int",className:`${He}-content-value-int`},lt,Ke),Ye&&b.createElement("span",{key:"decimal",className:`${He}-content-value-decimal`},Ye)]}}return b.createElement("span",{className:`${He}-content-value`},it)},Te=ae(17313),ke=ae(83116),je=ae(37613);const De=ge=>{const{componentCls:ye,marginXXS:Ee,padding:Le,colorTextDescription:ve,titleFontSize:$e,colorTextHeading:He,contentFontSize:it,fontFamily:Ne}=ge;return{[`${ye}`]:Object.assign(Object.assign({},(0,Te.Wf)(ge)),{[`${ye}-title`]:{marginBottom:Ee,color:ve,fontSize:$e},[`${ye}-skeleton`]:{paddingTop:Le},[`${ye}-content`]:{color:He,fontSize:it,fontFamily:Ne,[`${ye}-content-value`]:{display:"inline-block",direction:"ltr"},[`${ye}-content-prefix, ${ye}-content-suffix`]:{display:"inline-block"},[`${ye}-content-prefix`]:{marginInlineEnd:Ee},[`${ye}-content-suffix`]:{marginInlineStart:Ee}}})}};var le=(0,ke.Z)("Statistic",ge=>{const ye=(0,je.TS)(ge,{});return[De(ye)]},ge=>{const{fontSizeHeading3:ye,fontSize:Ee}=ge;return{titleFontSize:Ee,contentFontSize:ye}}),a=ge=>{const{prefixCls:ye,className:Ee,rootClassName:Le,style:ve,valueStyle:$e,value:He=0,title:it,valueRender:Ne,prefix:Qe,suffix:lt,loading:Ke=!1,onMouseEnter:Ye,onMouseLeave:Kt,decimalSeparator:ot=".",groupSeparator:Ht=","}=ge,{getPrefixCls:en,direction:Je,statistic:ft}=b.useContext(Re.E_),Dt=en("statistic",ye),[ln,yt]=le(Dt),Yt=b.createElement(We,Object.assign({decimalSeparator:ot,groupSeparator:Ht,prefixCls:Dt},ge,{value:He})),Be=Ie()(Dt,{[`${Dt}-rtl`]:Je==="rtl"},ft==null?void 0:ft.className,Ee,Le,yt);return ln(b.createElement("div",{className:Be,style:Object.assign(Object.assign({},ft==null?void 0:ft.style),ve),onMouseEnter:Ye,onMouseLeave:Kt},it&&b.createElement("div",{className:`${Dt}-title`},it),b.createElement(ue.Z,{paragraph:!1,loading:Ke,className:`${Dt}-skeleton`},b.createElement("div",{style:$e,className:`${Dt}-content`},Qe&&b.createElement("span",{className:`${Dt}-content-prefix`},Qe),Ne?Ne(Yt):Yt,lt&&b.createElement("span",{className:`${Dt}-content-suffix`},lt)))))};const x=[["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(ge,ye){let Ee=ge;const Le=/\[[^\]]*]/g,ve=(ye.match(Le)||[]).map(Ne=>Ne.slice(1,-1)),$e=ye.replace(Le,"[]"),He=x.reduce((Ne,Qe)=>{let[lt,Ke]=Qe;if(Ne.includes(lt)){const Ye=Math.floor(Ee/Ke);return Ee-=Ye*Ke,Ne.replace(new RegExp(`${lt}+`,"g"),Kt=>{const ot=Kt.length;return Ye.toString().padStart(ot,"0")})}return Ne},$e);let it=0;return He.replace(Le,()=>{const Ne=ve[it];return it+=1,Ne})}function z(ge,ye){const{format:Ee=""}=ye,Le=new Date(ge).getTime(),ve=Date.now(),$e=Math.max(Le-ve,0);return y($e,Ee)}const te=1e3/30;function re(ge){return new Date(ge).getTime()}const ie=ge=>{const{value:ye,format:Ee="HH:mm:ss",onChange:Le,onFinish:ve}=ge,$e=(0,se.Z)(),He=b.useRef(null),it=()=>{ve==null||ve(),He.current&&(clearInterval(He.current),He.current=null)},Ne=()=>{const Ke=re(ye);Ke>=Date.now()&&(He.current=setInterval(()=>{$e(),Le==null||Le(Ke-Date.now()),Ke<Date.now()&&it()},te))};b.useEffect(()=>(Ne(),()=>{He.current&&(clearInterval(He.current),He.current=null)}),[ye]);const Qe=(Ke,Ye)=>z(Ke,Object.assign(Object.assign({},Ye),{format:Ee})),lt=Ke=>(0,be.Tm)(Ke,{title:void 0});return b.createElement(a,Object.assign({},ge,{valueRender:lt,formatter:Qe}))};var ce=b.memo(ie);a.Countdown=ce;var pe=a},15969:function(_t,Rt,ae){"use strict";ae.d(Rt,{N:function(){return b}});const b=se=>({color:se.colorLink,textDecoration:"none",outline:"none",cursor:"pointer",transition:`color ${se.motionDurationSlow}`,"&:focus, &:hover":{color:se.colorLinkHover},"&:active":{color:se.colorLinkActive}})},1710:function(_t,Rt,ae){"use strict";ae.d(Rt,{default:function(){return br}});var b={},se="rc-table-internal-hook",be=ae(50298),Ae=ae(6089),Ie=ae(34280),Re=ae(13697),ue=ae(59301),Ze=ae(4676);function We(fe){var me=ue.createContext(void 0),Me=function(et){var qe=et.value,Nt=et.children,xt=ue.useRef(qe);xt.current=qe;var Mt=ue.useState(function(){return{getValue:function(){return xt.current},listeners:new Set}}),Jt=(0,be.Z)(Mt,1),Tt=Jt[0];return(0,Ie.Z)(function(){(0,Ze.unstable_batchedUpdates)(function(){Tt.listeners.forEach(function(Qt){Qt(qe)})})},[qe]),ue.createElement(me.Provider,{value:Tt},Nt)};return{Context:me,Provider:Me,defaultValue:fe}}function Te(fe,me){var Me=(0,Ae.Z)(typeof me=="function"?me:function(Qt){if(me===void 0)return Qt;if(!Array.isArray(me))return Qt[me];var In={};return me.forEach(function(bn){In[bn]=Qt[bn]}),In}),Ge=ue.useContext(fe==null?void 0:fe.Context),et=Ge||{},qe=et.listeners,Nt=et.getValue,xt=ue.useRef();xt.current=Me(Ge?Nt():fe==null?void 0:fe.defaultValue);var Mt=ue.useState({}),Jt=(0,be.Z)(Mt,2),Tt=Jt[1];return(0,Ie.Z)(function(){if(!Ge)return;function Qt(In){var bn=Me(In);(0,Re.Z)(xt.current,bn,!0)||Tt({})}return qe.add(Qt),function(){qe.delete(Qt)}},[Ge]),xt.current}var ke=ae(14809),je=ae(8654);function De(){var fe=ue.createContext(null);function me(){return ue.useContext(fe)}function Me(et,qe){var Nt=(0,je.Yr)(et),xt=function(Jt,Tt){var Qt=Nt?{ref:Tt}:{},In=ue.useRef(0),bn=ue.useRef(Jt),Rn=me();return Rn!==null?ue.createElement(et,(0,ke.Z)({},Jt,Qt)):((!qe||qe(bn.current,Jt))&&(In.current+=1),bn.current=Jt,ue.createElement(fe.Provider,{value:In.current},ue.createElement(et,(0,ke.Z)({},Jt,Qt))))};return Nt?ue.forwardRef(xt):xt}function Ge(et,qe){var Nt=(0,je.Yr)(et),xt=function(Jt,Tt){var Qt=Nt?{ref:Tt}:{};return me(),ue.createElement(et,(0,ke.Z)({},Jt,Qt))};return Nt?ue.memo(ue.forwardRef(xt),qe):ue.memo(xt,qe)}return{makeImmutable:Me,responseImmutable:Ge,useImmutableMark:me}}var le=De(),E=le.makeImmutable,a=le.responseImmutable,x=le.useImmutableMark,y=De(),z=y.makeImmutable,te=y.responseImmutable,re=y.useImmutableMark,ie=We(),ce=ie;function pe(fe,me){var Me=ue.useRef(0);Me.current+=1;var Ge=ue.useRef(fe),et=[];Object.keys(fe||{}).map(function(Nt){var xt;(fe==null?void 0:fe[Nt])!==((xt=Ge.current)===null||xt===void 0?void 0:xt[Nt])&&et.push(Nt)}),Ge.current=fe;var qe=ue.useRef([]);return et.length&&(qe.current=et),ue.useDebugValue(Me.current),ue.useDebugValue(qe.current.join(", ")),me&&console.log("".concat(me,":"),Me.current,qe.current),Me.current}var ge=null,ye=ue.memo(function(){var fe=pe();return ue.createElement("h1",null,"Render Times: ",fe)});ye.displayName="RenderBlock";var Ee=ae(93664),Le=ae(20439),ve=ae(4635),$e=ae(92310),He=ae.n($e),it=ae(80547),Ne=ae(97938),Qe=ae(48736),lt=ue.createContext({renderWithProps:!1}),Ke=lt,Ye="RC_TABLE_KEY";function Kt(fe){return fe==null?[]:Array.isArray(fe)?fe:[fe]}function ot(fe){var me=[],Me={};return fe.forEach(function(Ge){for(var et=Ge||{},qe=et.key,Nt=et.dataIndex,xt=qe||Kt(Nt).join("-")||Ye;Me[xt];)xt="".concat(xt,"_next");Me[xt]=!0,me.push(xt)}),me}function Ht(fe){return fe!=null}function en(fe){return fe&&(0,Ee.Z)(fe)==="object"&&!Array.isArray(fe)&&!ue.isValidElement(fe)}function Je(fe,me,Me,Ge,et,qe){var Nt=ue.useContext(Ke),xt=re(),Mt=(0,it.Z)(function(){if(Ht(Ge))return[Ge];var Jt=me==null||me===""?[]:Array.isArray(me)?me:[me],Tt=(0,Ne.Z)(fe,Jt),Qt=Tt,In=void 0;if(et){var bn=et(Tt,fe,Me);en(bn)?(Qt=bn.children,In=bn.props,Nt.renderWithProps=!0):Qt=bn}return[Qt,In]},[xt,fe,Ge,me,et,Me],function(Jt,Tt){if(qe){var Qt=(0,be.Z)(Jt,2),In=Qt[1],bn=(0,be.Z)(Tt,2),Rn=bn[1];return qe(Rn,In)}return Nt.renderWithProps?!0:!(0,Re.Z)(Jt,Tt,!0)});return Mt}function ft(fe,me,Me,Ge){var et=fe+me-1;return fe<=Ge&&et>=Me}function Dt(fe,me){return Te(ce,function(Me){var Ge=ft(fe,me||1,Me.hoverStartRow,Me.hoverEndRow);return[Ge,Me.onHover]})}var ln=function(me){var Me=me.ellipsis,Ge=me.rowType,et=me.children,qe,Nt=Me===!0?{showTitle:!0}:Me;return Nt&&(Nt.showTitle||Ge==="header")&&(typeof et=="string"||typeof et=="number"?qe=et.toString():ue.isValidElement(et)&&typeof et.props.children=="string"&&(qe=et.props.children)),qe};function yt(fe){var me,Me,Ge,et,qe,Nt,xt,Mt,Jt=fe.component,Tt=fe.children,Qt=fe.ellipsis,In=fe.scope,bn=fe.prefixCls,Rn=fe.className,sa=fe.align,qn=fe.record,oa=fe.render,ea=fe.dataIndex,Ca=fe.renderIndex,Ua=fe.shouldCellUpdate,Ja=fe.index,Ma=fe.rowType,gr=fe.colSpan,Sr=fe.rowSpan,Aa=fe.fixLeft,Za=fe.fixRight,Da=fe.firstFixLeft,ha=fe.lastFixLeft,La=fe.firstFixRight,ur=fe.lastFixRight,wr=fe.appendNode,pr=fe.additionalProps,tr=pr===void 0?{}:pr,Ar=fe.isSticky,Zr="".concat(bn,"-cell"),Io=Te(ce,["supportSticky","allColumnsFixedLeft"]),to=Io.supportSticky,Ko=Io.allColumnsFixedLeft,wo=Je(qn,ea,Ca,Tt,oa,Ua),Pr=(0,be.Z)(wo,2),Qo=Pr[0],$r=Pr[1],ko={},Oo=typeof Aa=="number"&&to,Fi=typeof Za=="number"&&to;Oo&&(ko.position="sticky",ko.left=Aa),Fi&&(ko.position="sticky",ko.right=Za);var ir=(me=(Me=(Ge=$r==null?void 0:$r.colSpan)!==null&&Ge!==void 0?Ge:tr.colSpan)!==null&&Me!==void 0?Me:gr)!==null&&me!==void 0?me:1,nr=(et=(qe=(Nt=$r==null?void 0:$r.rowSpan)!==null&&Nt!==void 0?Nt:tr.rowSpan)!==null&&qe!==void 0?qe:Sr)!==null&&et!==void 0?et:1,Xa=Dt(Ja,nr),Ka=(0,be.Z)(Xa,2),ro=Ka[0],Ha=Ka[1],vr=function(ti){var wi;qn&&Ha(Ja,Ja+nr-1),tr==null||(wi=tr.onMouseEnter)===null||wi===void 0||wi.call(tr,ti)},Qr=function(ti){var wi;qn&&Ha(-1,-1),tr==null||(wi=tr.onMouseLeave)===null||wi===void 0||wi.call(tr,ti)};if(ir===0||nr===0)return null;var Wr=(xt=tr.title)!==null&&xt!==void 0?xt:ln({rowType:Ma,ellipsis:Qt,children:Qo}),di=He()(Zr,Rn,(Mt={},(0,ve.Z)(Mt,"".concat(Zr,"-fix-left"),Oo&&to),(0,ve.Z)(Mt,"".concat(Zr,"-fix-left-first"),Da&&to),(0,ve.Z)(Mt,"".concat(Zr,"-fix-left-last"),ha&&to),(0,ve.Z)(Mt,"".concat(Zr,"-fix-left-all"),ha&&Ko&&to),(0,ve.Z)(Mt,"".concat(Zr,"-fix-right"),Fi&&to),(0,ve.Z)(Mt,"".concat(Zr,"-fix-right-first"),La&&to),(0,ve.Z)(Mt,"".concat(Zr,"-fix-right-last"),ur&&to),(0,ve.Z)(Mt,"".concat(Zr,"-ellipsis"),Qt),(0,ve.Z)(Mt,"".concat(Zr,"-with-append"),wr),(0,ve.Z)(Mt,"".concat(Zr,"-fix-sticky"),(Oo||Fi)&&Ar&&to),(0,ve.Z)(Mt,"".concat(Zr,"-row-hover"),!$r&&ro),Mt),tr.className,$r==null?void 0:$r.className),ci={};sa&&(ci.textAlign=sa);var Gi=(0,Le.Z)((0,Le.Z)((0,Le.Z)((0,Le.Z)({},ko),tr.style),ci),$r==null?void 0:$r.style),ei=Qo;return(0,Ee.Z)(ei)==="object"&&!Array.isArray(ei)&&!ue.isValidElement(ei)&&(ei=null),Qt&&(ha||La)&&(ei=ue.createElement("span",{className:"".concat(Zr,"-content")},ei)),ue.createElement(Jt,(0,ke.Z)({},$r,tr,{className:di,style:Gi,title:Wr,scope:In,onMouseEnter:vr,onMouseLeave:Qr,colSpan:ir!==1?ir:null,rowSpan:nr!==1?nr:null}),wr,ei)}var Yt=ue.memo(yt);function Be(fe,me,Me,Ge,et,qe){var Nt=Me[fe]||{},xt=Me[me]||{},Mt,Jt;Nt.fixed==="left"?Mt=Ge.left[et==="rtl"?me:fe]:xt.fixed==="right"&&(Jt=Ge.right[et==="rtl"?fe:me]);var Tt=!1,Qt=!1,In=!1,bn=!1,Rn=Me[me+1],sa=Me[fe-1],qn=!(qe!=null&&qe.children);if(et==="rtl"){if(Mt!==void 0){var oa=sa&&sa.fixed==="left";bn=!oa&&qn}else if(Jt!==void 0){var ea=Rn&&Rn.fixed==="right";In=!ea&&qn}}else if(Mt!==void 0){var Ca=Rn&&Rn.fixed==="left";Tt=!Ca&&qn}else if(Jt!==void 0){var Ua=sa&&sa.fixed==="right";Qt=!Ua&&qn}return{fixLeft:Mt,fixRight:Jt,lastFixLeft:Tt,firstFixRight:Qt,lastFixRight:In,firstFixLeft:bn,isSticky:Ge.isSticky}}var Ut=ue.createContext({}),Cn=Ut;function Ft(fe){var me=fe.className,Me=fe.index,Ge=fe.children,et=fe.colSpan,qe=et===void 0?1:et,Nt=fe.rowSpan,xt=fe.align,Mt=Te(ce,["prefixCls","direction"]),Jt=Mt.prefixCls,Tt=Mt.direction,Qt=ue.useContext(Cn),In=Qt.scrollColumnIndex,bn=Qt.stickyOffsets,Rn=Qt.flattenColumns,sa=Qt.columns,qn=Me+qe-1,oa=qn+1===In?qe+1:qe,ea=Be(Me,Me+oa-1,Rn,bn,Tt,sa==null?void 0:sa[Me]);return ue.createElement(Yt,(0,ke.Z)({className:me,index:Me,component:"td",prefixCls:Jt,record:null,dataIndex:null,align:xt,colSpan:oa,rowSpan:Nt,render:function(){return Ge}},ea))}var It=ae(62646),nt=["children"];function Ue(fe){var me=fe.children,Me=(0,It.Z)(fe,nt);return ue.createElement("tr",Me,me)}function Fe(fe){var me=fe.children;return me}Fe.Row=Ue,Fe.Cell=Ft;var he=Fe;function at(fe){var me=fe.children,Me=fe.stickyOffsets,Ge=fe.flattenColumns,et=fe.columns,qe=Te(ce,"prefixCls"),Nt=Ge.length-1,xt=Ge[Nt],Mt=ue.useMemo(function(){return{stickyOffsets:Me,flattenColumns:Ge,scrollColumnIndex:xt!=null&&xt.scrollbar?Nt:null,columns:et}},[xt,Ge,Nt,Me,et]);return ue.createElement(Cn.Provider,{value:Mt},ue.createElement("tfoot",{className:"".concat(qe,"-summary")},me))}var At=te(at),we=he,Ce=ae(70425),vt=ae(29301),Xe=ae(29194),_e=ae(24514),Pt=ae(75152),cn=ae(26112);function Ot(fe,me,Me,Ge,et,qe,Nt){fe.push({record:me,indent:Me,index:Nt});var xt=qe(me),Mt=et==null?void 0:et.has(xt);if(me&&Array.isArray(me[Ge])&&Mt)for(var Jt=0;Jt<me[Ge].length;Jt+=1)Ot(fe,me[Ge][Jt],Me+1,Ge,et,qe,Jt)}function Xt(fe,me,Me,Ge){var et=ue.useMemo(function(){if(Me!=null&&Me.size){for(var qe=[],Nt=0;Nt<(fe==null?void 0:fe.length);Nt+=1){var xt=fe[Nt];Ot(qe,xt,0,me,Me,Ge,Nt)}return qe}return fe==null?void 0:fe.map(function(Mt,Jt){return{record:Mt,indent:0,index:Jt}})},[fe,me,Me,Ge]);return et}function $t(fe){var me=fe.prefixCls,Me=fe.children,Ge=fe.component,et=fe.cellComponent,qe=fe.className,Nt=fe.expanded,xt=fe.colSpan,Mt=fe.isEmpty,Jt=Te(ce,["scrollbarSize","fixHeader","fixColumn","componentWidth","horizonScroll"]),Tt=Jt.scrollbarSize,Qt=Jt.fixHeader,In=Jt.fixColumn,bn=Jt.componentWidth,Rn=Jt.horizonScroll,sa=Me;return(Mt?Rn&&bn:In)&&(sa=ue.createElement("div",{style:{width:bn-(Qt?Tt:0),position:"sticky",left:0,overflow:"hidden"},className:"".concat(me,"-expanded-row-fixed")},sa)),ue.createElement(Ge,{className:qe,style:{display:Nt?null:"none"}},ue.createElement(Yt,{component:et,prefixCls:me,colSpan:xt},sa))}var nn=$t;function bt(fe,me,Me,Ge){var et=Te(ce,["prefixCls","fixedInfoList","flattenColumns","expandableType","expandRowByClick","onTriggerExpand","rowClassName","expandedRowClassName","indentSize","expandIcon","expandedRowRender","expandIconColumnIndex","expandedKeys","childrenColumnName","rowExpandable","onRow"]),qe=et.flattenColumns,Nt=et.expandableType,xt=et.expandedKeys,Mt=et.childrenColumnName,Jt=et.onTriggerExpand,Tt=et.rowExpandable,Qt=et.onRow,In=et.expandRowByClick,bn=et.rowClassName,Rn=Nt==="nest",sa=Nt==="row"&&(!Tt||Tt(fe)),qn=sa||Rn,oa=xt&&xt.has(me),ea=Mt&&fe&&fe[Mt],Ca=(0,Ce.useEvent)(Jt),Ua=Qt==null?void 0:Qt(fe,Me),Ja=Ua==null?void 0:Ua.onClick,Ma=function(Za){In&&qn&&Jt(fe,Za);for(var Da=arguments.length,ha=new Array(Da>1?Da-1:0),La=1;La<Da;La++)ha[La-1]=arguments[La];Ja==null||Ja.apply(void 0,[Za].concat(ha))},gr;typeof bn=="string"?gr=bn:typeof bn=="function"&&(gr=bn(fe,Me,Ge));var Sr=ot(qe);return(0,Le.Z)((0,Le.Z)({},et),{},{columnsKey:Sr,nestExpandable:Rn,expanded:oa,hasNestChildren:ea,record:fe,onTriggerExpand:Ca,rowSupportExpand:sa,expandable:qn,rowProps:(0,Le.Z)((0,Le.Z)({},Ua),{},{className:He()(gr,Ua==null?void 0:Ua.className),onClick:Ma})})}function rn(fe,me,Me,Ge,et){var qe=fe.record,Nt=fe.prefixCls,xt=fe.columnsKey,Mt=fe.fixedInfoList,Jt=fe.expandIconColumnIndex,Tt=fe.nestExpandable,Qt=fe.indentSize,In=fe.expandIcon,bn=fe.expanded,Rn=fe.hasNestChildren,sa=fe.onTriggerExpand,qn=xt[Me],oa=Mt[Me],ea;Me===(Jt||0)&&Tt&&(ea=ue.createElement(ue.Fragment,null,ue.createElement("span",{style:{paddingLeft:"".concat(Qt*Ge,"px")},className:"".concat(Nt,"-row-indent indent-level-").concat(Ge)}),In({prefixCls:Nt,expanded:bn,expandable:Rn,record:qe,onExpand:sa})));var Ca;return me.onCell&&(Ca=me.onCell(qe,et)),{key:qn,fixedInfo:oa,appendCellNode:ea,additionalCellProps:Ca||{}}}function wn(fe){var me=fe.className,Me=fe.style,Ge=fe.record,et=fe.index,qe=fe.renderIndex,Nt=fe.rowKey,xt=fe.indent,Mt=xt===void 0?0:xt,Jt=fe.rowComponent,Tt=fe.cellComponent,Qt=fe.scopeCellComponent,In=bt(Ge,Nt,et,Mt),bn=In.prefixCls,Rn=In.flattenColumns,sa=In.expandedRowClassName,qn=In.expandedRowRender,oa=In.rowProps,ea=In.expanded,Ca=In.rowSupportExpand,Ua=ue.useState(!1),Ja=(0,be.Z)(Ua,2),Ma=Ja[0],gr=Ja[1];ue.useEffect(function(){ea&&gr(!0)},[ea]);var Sr=ue.createElement(Jt,(0,ke.Z)({},oa,{"data-row-key":Nt,className:He()(me,"".concat(bn,"-row"),"".concat(bn,"-row-level-").concat(Mt),oa==null?void 0:oa.className),style:(0,Le.Z)((0,Le.Z)({},Me),oa==null?void 0:oa.style)}),Rn.map(function(ha,La){var ur=ha.render,wr=ha.dataIndex,pr=ha.className,tr=rn(In,ha,La,Mt,et),Ar=tr.key,Zr=tr.fixedInfo,Io=tr.appendCellNode,to=tr.additionalCellProps;return ue.createElement(Yt,(0,ke.Z)({className:pr,ellipsis:ha.ellipsis,align:ha.align,scope:ha.rowScope,component:ha.rowScope?Qt:Tt,prefixCls:bn,key:Ar,record:Ge,index:et,renderIndex:qe,dataIndex:wr,render:ur,shouldCellUpdate:ha.shouldCellUpdate},Zr,{appendNode:Io,additionalProps:to}))})),Aa;if(Ca&&(Ma||ea)){var Za=qn(Ge,et,Mt+1,ea),Da=sa&&sa(Ge,et,Mt);Aa=ue.createElement(nn,{expanded:ea,className:He()("".concat(bn,"-expanded-row"),"".concat(bn,"-expanded-row-level-").concat(Mt+1),Da),prefixCls:bn,component:Jt,cellComponent:Tt,colSpan:Rn.length,isEmpty:!1},Za)}return ue.createElement(ue.Fragment,null,Sr,Aa)}wn.displayName="BodyRow";var Zt=te(wn);function wt(fe){var me=fe.columnKey,Me=fe.onColumnResize,Ge=ue.useRef();return ue.useEffect(function(){Ge.current&&Me(me,Ge.current.offsetWidth)},[]),ue.createElement(vt.Z,{data:me},ue.createElement("td",{ref:Ge,style:{padding:0,border:0,height:0}},ue.createElement("div",{style:{height:0,overflow:"hidden"}},"\xA0")))}function Ln(fe){var me=fe.prefixCls,Me=fe.columnsKey,Ge=fe.onColumnResize;return ue.createElement("tr",{"aria-hidden":"true",className:"".concat(me,"-measure-row"),style:{height:0,fontSize:0}},ue.createElement(vt.Z.Collection,{onBatchResize:function(qe){qe.forEach(function(Nt){var xt=Nt.data,Mt=Nt.size;Ge(xt,Mt.offsetWidth)})}},Me.map(function(et){return ue.createElement(wt,{key:et,columnKey:et,onColumnResize:Ge})})))}function zn(fe){var me=fe.data,Me=fe.measureColumnWidth,Ge=Te(ce,["prefixCls","getComponent","onColumnResize","flattenColumns","getRowKey","expandedKeys","childrenColumnName","emptyNode"]),et=Ge.prefixCls,qe=Ge.getComponent,Nt=Ge.onColumnResize,xt=Ge.flattenColumns,Mt=Ge.getRowKey,Jt=Ge.expandedKeys,Tt=Ge.childrenColumnName,Qt=Ge.emptyNode,In=Xt(me,Tt,Jt,Mt),bn=ue.useRef({renderWithProps:!1}),Rn=qe(["body","wrapper"],"tbody"),sa=qe(["body","row"],"tr"),qn=qe(["body","cell"],"td"),oa=qe(["body","cell"],"th"),ea;me.length?ea=In.map(function(Ua,Ja){var Ma=Ua.record,gr=Ua.indent,Sr=Ua.index,Aa=Mt(Ma,Ja);return ue.createElement(Zt,{key:Aa,rowKey:Aa,record:Ma,index:Ja,renderIndex:Sr,rowComponent:sa,cellComponent:qn,scopeCellComponent:oa,getRowKey:Mt,indent:gr})}):ea=ue.createElement(nn,{expanded:!0,className:"".concat(et,"-placeholder"),prefixCls:et,component:sa,cellComponent:qn,colSpan:xt.length,isEmpty:!0},Qt);var Ca=ot(xt);return ue.createElement(Ke.Provider,{value:bn.current},ue.createElement(Rn,{className:"".concat(et,"-tbody")},Me&&ue.createElement(Ln,{prefixCls:et,columnsKey:Ca,onColumnResize:Nt}),ea))}zn.displayName="Body";var Wn=te(zn),Yn=["expandable"],xa="RC_TABLE_INTERNAL_COL_DEFINE";function on(fe){var me=fe.expandable,Me=(0,It.Z)(fe,Yn),Ge;return"expandable"in fe?Ge=(0,Le.Z)((0,Le.Z)({},Me),me):Ge=Me,Ge.showExpandColumn===!1&&(Ge.expandIconColumnIndex=-1),Ge}var qt=["columnType"];function pn(fe){for(var me=fe.colWidths,Me=fe.columns,Ge=fe.columCount,et=[],qe=Ge||Me.length,Nt=!1,xt=qe-1;xt>=0;xt-=1){var Mt=me[xt],Jt=Me&&Me[xt],Tt=Jt&&Jt[xa];if(Mt||Tt||Nt){var Qt=Tt||{},In=Qt.columnType,bn=(0,It.Z)(Qt,qt);et.unshift(ue.createElement("col",(0,ke.Z)({key:xt,style:{width:Mt}},bn))),Nt=!0}}return ue.createElement("colgroup",null,et)}var Zn=pn,xn=ae(95190),Na=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];function Wa(fe,me){return(0,ue.useMemo)(function(){for(var Me=[],Ge=0;Ge<me;Ge+=1){var et=fe[Ge];if(et!==void 0)Me[Ge]=et;else return null}return Me},[fe.join("_"),me])}var ta=ue.forwardRef(function(fe,me){var Me=fe.className,Ge=fe.noData,et=fe.columns,qe=fe.flattenColumns,Nt=fe.colWidths,xt=fe.columCount,Mt=fe.stickyOffsets,Jt=fe.direction,Tt=fe.fixHeader,Qt=fe.stickyTopOffset,In=fe.stickyBottomOffset,bn=fe.stickyClassName,Rn=fe.onScroll,sa=fe.maxContentScroll,qn=fe.children,oa=(0,It.Z)(fe,Na),ea=Te(ce,["prefixCls","scrollbarSize","isSticky"]),Ca=ea.prefixCls,Ua=ea.scrollbarSize,Ja=ea.isSticky,Ma=Ja&&!Tt?0:Ua,gr=ue.useRef(null),Sr=ue.useCallback(function(pr){(0,je.mH)(me,pr),(0,je.mH)(gr,pr)},[]);ue.useEffect(function(){var pr;function tr(Ar){var Zr=Ar,Io=Zr.currentTarget,to=Zr.deltaX;to&&(Rn({currentTarget:Io,scrollLeft:Io.scrollLeft+to}),Ar.preventDefault())}return(pr=gr.current)===null||pr===void 0||pr.addEventListener("wheel",tr),function(){var Ar;(Ar=gr.current)===null||Ar===void 0||Ar.removeEventListener("wheel",tr)}},[]);var Aa=ue.useMemo(function(){return qe.every(function(pr){return pr.width})},[qe]),Za=qe[qe.length-1],Da={fixed:Za?Za.fixed:null,scrollbar:!0,onHeaderCell:function(){return{className:"".concat(Ca,"-cell-scrollbar")}}},ha=(0,ue.useMemo)(function(){return Ma?[].concat((0,xn.Z)(et),[Da]):et},[Ma,et]),La=(0,ue.useMemo)(function(){return Ma?[].concat((0,xn.Z)(qe),[Da]):qe},[Ma,qe]),ur=(0,ue.useMemo)(function(){var pr=Mt.right,tr=Mt.left;return(0,Le.Z)((0,Le.Z)({},Mt),{},{left:Jt==="rtl"?[].concat((0,xn.Z)(tr.map(function(Ar){return Ar+Ma})),[0]):tr,right:Jt==="rtl"?pr:[].concat((0,xn.Z)(pr.map(function(Ar){return Ar+Ma})),[0]),isSticky:Ja})},[Ma,Mt,Ja]),wr=Wa(Nt,xt);return ue.createElement("div",{style:(0,Le.Z)({overflow:"hidden"},Ja?{top:Qt,bottom:In}:{}),ref:Sr,className:He()(Me,(0,ve.Z)({},bn,!!bn))},ue.createElement("table",{style:{tableLayout:"fixed",visibility:Ge||wr?null:"hidden"}},(!Ge||!sa||Aa)&&ue.createElement(Zn,{colWidths:wr?[].concat((0,xn.Z)(wr),[Ma]):[],columCount:xt+1,columns:La}),qn((0,Le.Z)((0,Le.Z)({},oa),{},{stickyOffsets:ur,columns:ha,flattenColumns:La}))))});ta.displayName="FixedHolder";var En=ue.memo(ta);function Oa(fe){var me=fe.cells,Me=fe.stickyOffsets,Ge=fe.flattenColumns,et=fe.rowComponent,qe=fe.cellComponent,Nt=fe.tdCellComponent,xt=fe.onHeaderRow,Mt=fe.index,Jt=Te(ce,["prefixCls","direction"]),Tt=Jt.prefixCls,Qt=Jt.direction,In;xt&&(In=xt(me.map(function(Rn){return Rn.column}),Mt));var bn=ot(me.map(function(Rn){return Rn.column}));return ue.createElement(et,In,me.map(function(Rn,sa){var qn=Rn.column,oa=Be(Rn.colStart,Rn.colEnd,Ge,Me,Qt,qn),ea;return qn&&qn.onHeaderCell&&(ea=Rn.column.onHeaderCell(qn)),ue.createElement(Yt,(0,ke.Z)({},Rn,{scope:qn.title?Rn.colSpan>1?"colgroup":"col":null,ellipsis:qn.ellipsis,align:qn.align,component:qn.title?qe:Nt,prefixCls:Tt,key:bn[sa]},oa,{additionalProps:ea,rowType:"header"}))}))}Oa.displayName="HeaderRow";var Ve=Oa;function Bt(fe){var me=[];function Me(Nt,xt){var Mt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;me[Mt]=me[Mt]||[];var Jt=xt,Tt=Nt.filter(Boolean).map(function(Qt){var In={key:Qt.key,className:Qt.className||"",children:Qt.title,column:Qt,colStart:Jt},bn=1,Rn=Qt.children;return Rn&&Rn.length>0&&(bn=Me(Rn,Jt,Mt+1).reduce(function(sa,qn){return sa+qn},0),In.hasSubColumns=!0),"colSpan"in Qt&&(bn=Qt.colSpan),"rowSpan"in Qt&&(In.rowSpan=Qt.rowSpan),In.colSpan=bn,In.colEnd=In.colStart+bn-1,me[Mt].push(In),Jt+=bn,bn});return Tt}Me(fe,0);for(var Ge=me.length,et=function(xt){me[xt].forEach(function(Mt){!("rowSpan"in Mt)&&!Mt.hasSubColumns&&(Mt.rowSpan=Ge-xt)})},qe=0;qe<Ge;qe+=1)et(qe);return me}function Gt(fe){var me=fe.stickyOffsets,Me=fe.columns,Ge=fe.flattenColumns,et=fe.onHeaderRow,qe=Te(ce,["prefixCls","getComponent"]),Nt=qe.prefixCls,xt=qe.getComponent,Mt=ue.useMemo(function(){return Bt(Me)},[Me]),Jt=xt(["header","wrapper"],"thead"),Tt=xt(["header","row"],"tr"),Qt=xt(["header","cell"],"th"),In=xt(["header","cell"],"td");return ue.createElement(Jt,{className:"".concat(Nt,"-thead")},Mt.map(function(bn,Rn){var sa=ue.createElement(Ve,{key:Rn,flattenColumns:Ge,cells:bn,stickyOffsets:me,rowComponent:Tt,cellComponent:Qt,tdCellComponent:In,onHeaderRow:et,index:Rn});return sa}))}var Vt=te(Gt),tn=ae(11592);function Sn(fe){var me=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return typeof me=="number"?me:me.endsWith("%")?fe*parseFloat(me)/100:null}function mn(fe,me){return ue.useMemo(function(){if(me&&me>0){var Me=0,Ge=0;fe.forEach(function(Jt){var Tt=Sn(me,Jt.width);Tt?Me+=Tt:Ge+=1});var et=me-Me,qe=Ge,Nt=et/Ge,xt=0,Mt=fe.map(function(Jt){var Tt=(0,Le.Z)({},Jt),Qt=Sn(me,Tt.width);if(Qt)Tt.width=Qt;else{var In=Math.floor(Nt);Tt.width=qe===1?et:In,et-=In,qe-=1}return xt+=Tt.width,Tt});return[Mt,xt]}return[fe,me]},[fe,me])}var ut=["children"],pt=["fixed"];function ct(fe){return(0,tn.Z)(fe).filter(function(me){return ue.isValidElement(me)}).map(function(me){var Me=me.key,Ge=me.props,et=Ge.children,qe=(0,It.Z)(Ge,ut),Nt=(0,Le.Z)({key:Me},qe);return et&&(Nt.children=ct(et)),Nt})}function Wt(fe){var me=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"key";return fe.filter(function(Me){return Me&&(0,Ee.Z)(Me)==="object"}).reduce(function(Me,Ge,et){var qe=Ge.fixed,Nt=qe===!0?"left":qe,xt="".concat(me,"-").concat(et),Mt=Ge.children;return Mt&&Mt.length>0?[].concat((0,xn.Z)(Me),(0,xn.Z)(Wt(Mt,xt).map(function(Jt){return(0,Le.Z)({fixed:Nt},Jt)}))):[].concat((0,xn.Z)(Me),[(0,Le.Z)((0,Le.Z)({key:xt},Ge),{},{fixed:Nt})])},[])}function vn(fe){for(var me=!0,Me=0;Me<fe.length;Me+=1){var Ge=fe[Me];if(me&&Ge.fixed!=="left")me=!1;else if(!me&&Ge.fixed==="left"){warning(!1,"Index ".concat(Me-1," of `columns` missing `fixed='left'` prop."));break}}for(var et=!0,qe=fe.length-1;qe>=0;qe-=1){var Nt=fe[qe];if(et&&Nt.fixed!=="right")et=!1;else if(!et&&Nt.fixed==="right"){warning(!1,"Index ".concat(qe+1," of `columns` missing `fixed='right'` prop."));break}}}function an(fe){return fe.map(function(me){var Me=me.fixed,Ge=(0,It.Z)(me,pt),et=Me;return Me==="left"?et="right":Me==="right"&&(et="left"),(0,Le.Z)({fixed:et},Ge)})}function kn(fe,me){var Me=fe.prefixCls,Ge=fe.columns,et=fe.children,qe=fe.expandable,Nt=fe.expandedKeys,xt=fe.columnTitle,Mt=fe.getRowKey,Jt=fe.onTriggerExpand,Tt=fe.expandIcon,Qt=fe.rowExpandable,In=fe.expandIconColumnIndex,bn=fe.direction,Rn=fe.expandRowByClick,sa=fe.columnWidth,qn=fe.fixed,oa=fe.scrollWidth,ea=ue.useMemo(function(){return Ge||ct(et)},[Ge,et]),Ca=ue.useMemo(function(){if(qe){var Za,Da=ea.slice();if(!Da.includes(b)){var ha=In||0;ha>=0&&Da.splice(ha,0,b)}var La=Da.indexOf(b);Da=Da.filter(function(tr,Ar){return tr!==b||Ar===La});var ur=ea[La],wr;(qn==="left"||qn)&&!In?wr="left":(qn==="right"||qn)&&In===ea.length?wr="right":wr=ur?ur.fixed:null;var pr=(Za={},(0,ve.Z)(Za,xa,{className:"".concat(Me,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),(0,ve.Z)(Za,"title",xt),(0,ve.Z)(Za,"fixed",wr),(0,ve.Z)(Za,"className","".concat(Me,"-row-expand-icon-cell")),(0,ve.Z)(Za,"width",sa),(0,ve.Z)(Za,"render",function(Ar,Zr,Io){var to=Mt(Zr,Io),Ko=Nt.has(to),wo=Qt?Qt(Zr):!0,Pr=Tt({prefixCls:Me,expanded:Ko,expandable:wo,record:Zr,onExpand:Jt});return Rn?ue.createElement("span",{onClick:function($r){return $r.stopPropagation()}},Pr):Pr}),Za);return Da.map(function(tr){return tr===b?pr:tr})}return ea.filter(function(tr){return tr!==b})},[qe,ea,Mt,Nt,Tt,bn]),Ua=ue.useMemo(function(){var Za=Ca;return me&&(Za=me(Za)),Za.length||(Za=[{render:function(){return null}}]),Za},[me,Ca,bn]),Ja=ue.useMemo(function(){return bn==="rtl"?an(Wt(Ua)):Wt(Ua)},[Ua,bn,oa]),Ma=mn(Ja,oa),gr=(0,be.Z)(Ma,2),Sr=gr[0],Aa=gr[1];return[Ua,Sr,Aa]}var Fn=kn;function Bn(fe){var me,Me=fe.prefixCls,Ge=fe.record,et=fe.onExpand,qe=fe.expanded,Nt=fe.expandable,xt="".concat(Me,"-row-expand-icon");if(!Nt)return ue.createElement("span",{className:He()(xt,"".concat(Me,"-row-spaced"))});var Mt=function(Tt){et(Ge,Tt),Tt.stopPropagation()};return ue.createElement("span",{className:He()(xt,(me={},(0,ve.Z)(me,"".concat(Me,"-row-expanded"),qe),(0,ve.Z)(me,"".concat(Me,"-row-collapsed"),!qe),me)),onClick:Mt})}function Un(fe,me,Me){var Ge=[];function et(qe){(qe||[]).forEach(function(Nt,xt){Ge.push(me(Nt,xt)),et(Nt[Me])})}return et(fe),Ge}function Ra(fe,me,Me){var Ge=on(fe),et=Ge.expandIcon,qe=Ge.expandedRowKeys,Nt=Ge.defaultExpandedRowKeys,xt=Ge.defaultExpandAllRows,Mt=Ge.expandedRowRender,Jt=Ge.onExpand,Tt=Ge.onExpandedRowsChange,Qt=Ge.childrenColumnName,In=et||Bn,bn=Qt||"children",Rn=ue.useMemo(function(){return Mt?"row":fe.expandable&&fe.internalHooks===se&&fe.expandable.__PARENT_RENDER_ICON__||me.some(function(Ja){return Ja&&(0,Ee.Z)(Ja)==="object"&&Ja[bn]})?"nest":!1},[!!Mt,me]),sa=ue.useState(function(){return Nt||(xt?Un(me,Me,bn):[])}),qn=(0,be.Z)(sa,2),oa=qn[0],ea=qn[1],Ca=ue.useMemo(function(){return new Set(qe||oa||[])},[qe,oa]),Ua=ue.useCallback(function(Ja){var Ma=Me(Ja,me.indexOf(Ja)),gr,Sr=Ca.has(Ma);Sr?(Ca.delete(Ma),gr=(0,xn.Z)(Ca)):gr=[].concat((0,xn.Z)(Ca),[Ma]),ea(gr),Jt&&Jt(!Sr,Ja),Tt&&Tt(gr)},[Me,Ca,me,Jt,Tt]);return[Ge,Rn,Ca,In,bn,Ua]}function yn(fe,me,Me,Ge){var et=fe.map(function(qe,Nt){return Be(Nt,Nt,fe,me,Me,Ge==null?void 0:Ge[Nt])});return(0,it.Z)(function(){return et},[et],function(qe,Nt){return!(0,Re.Z)(qe,Nt)})}function pa(fe){var me=(0,ue.useRef)(fe),Me=(0,ue.useState)({}),Ge=(0,be.Z)(Me,2),et=Ge[1],qe=(0,ue.useRef)(null),Nt=(0,ue.useRef)([]);function xt(Mt){Nt.current.push(Mt);var Jt=Promise.resolve();qe.current=Jt,Jt.then(function(){if(qe.current===Jt){var Tt=Nt.current,Qt=me.current;Nt.current=[],Tt.forEach(function(In){me.current=In(me.current)}),qe.current=null,Qt!==me.current&&et({})}})}return(0,ue.useEffect)(function(){return function(){qe.current=null}},[]),[me.current,xt]}function $a(fe){var me=(0,ue.useRef)(fe||null),Me=(0,ue.useRef)();function Ge(){window.clearTimeout(Me.current)}function et(Nt){me.current=Nt,Ge(),Me.current=window.setTimeout(function(){me.current=null,Me.current=void 0},100)}function qe(){return me.current}return(0,ue.useEffect)(function(){return Ge},[]),[et,qe]}function lr(){var fe=ue.useState(-1),me=(0,be.Z)(fe,2),Me=me[0],Ge=me[1],et=ue.useState(-1),qe=(0,be.Z)(et,2),Nt=qe[0],xt=qe[1],Mt=ue.useCallback(function(Jt,Tt){Ge(Jt),xt(Tt)},[]);return[Me,Nt,Mt]}var Jn=ae(47273),sn=(0,Jn.Z)()?window:null;function Dr(fe,me){var Me=(0,Ee.Z)(fe)==="object"?fe:{},Ge=Me.offsetHeader,et=Ge===void 0?0:Ge,qe=Me.offsetSummary,Nt=qe===void 0?0:qe,xt=Me.offsetScroll,Mt=xt===void 0?0:xt,Jt=Me.getContainer,Tt=Jt===void 0?function(){return sn}:Jt,Qt=Tt()||sn;return ue.useMemo(function(){var In=!!fe;return{isSticky:In,stickyClassName:In?"".concat(me,"-sticky-holder"):"",offsetHeader:et,offsetSummary:Nt,offsetScroll:Mt,container:Qt}},[Mt,et,Nt,me,Qt])}function Ga(fe,me,Me){var Ge=(0,ue.useMemo)(function(){for(var et=[],qe=[],Nt=0,xt=0,Mt=0;Mt<me;Mt+=1)if(Me==="rtl"){qe[Mt]=xt,xt+=fe[Mt]||0;var Jt=me-Mt-1;et[Jt]=Nt,Nt+=fe[Jt]||0}else{et[Mt]=Nt,Nt+=fe[Mt]||0;var Tt=me-Mt-1;qe[Tt]=xt,xt+=fe[Tt]||0}return{left:et,right:qe}},[fe,me,Me]);return Ge}var Er=Ga;function Cr(fe){var me=fe.className,Me=fe.children;return ue.createElement("div",{className:me},Me)}var Nr=Cr,xr=ae(8224),so=ae(55468),qr=function(me,Me){var Ge,et,qe=me.scrollBodyRef,Nt=me.onScroll,xt=me.offsetScroll,Mt=me.container,Jt=Te(ce,"prefixCls"),Tt=((Ge=qe.current)===null||Ge===void 0?void 0:Ge.scrollWidth)||0,Qt=((et=qe.current)===null||et===void 0?void 0:et.clientWidth)||0,In=Tt&&Qt*(Qt/Tt),bn=ue.useRef(),Rn=pa({scrollLeft:0,isHiddenScrollBar:!1}),sa=(0,be.Z)(Rn,2),qn=sa[0],oa=sa[1],ea=ue.useRef({delta:0,x:0}),Ca=ue.useState(!1),Ua=(0,be.Z)(Ca,2),Ja=Ua[0],Ma=Ua[1],gr=function(){Ma(!1)},Sr=function(La){La.persist(),ea.current.delta=La.pageX-qn.scrollLeft,ea.current.x=0,Ma(!0),La.preventDefault()},Aa=function(La){var ur,wr=La||((ur=window)===null||ur===void 0?void 0:ur.event),pr=wr.buttons;if(!Ja||pr===0){Ja&&Ma(!1);return}var tr=ea.current.x+La.pageX-ea.current.x-ea.current.delta;tr<=0&&(tr=0),tr+In>=Qt&&(tr=Qt-In),Nt({scrollLeft:tr/Qt*(Tt+2)}),ea.current.x=La.pageX},Za=function(){if(qe.current){var La=(0,so.os)(qe.current).top,ur=La+qe.current.offsetHeight,wr=Mt===window?document.documentElement.scrollTop+window.innerHeight:(0,so.os)(Mt).top+Mt.clientHeight;ur-(0,Pt.Z)()<=wr||La>=wr-xt?oa(function(pr){return(0,Le.Z)((0,Le.Z)({},pr),{},{isHiddenScrollBar:!0})}):oa(function(pr){return(0,Le.Z)((0,Le.Z)({},pr),{},{isHiddenScrollBar:!1})})}},Da=function(La){oa(function(ur){return(0,Le.Z)((0,Le.Z)({},ur),{},{scrollLeft:La/Tt*Qt||0})})};return ue.useImperativeHandle(Me,function(){return{setScrollLeft:Da}}),ue.useEffect(function(){var ha=(0,xr.Z)(document.body,"mouseup",gr,!1),La=(0,xr.Z)(document.body,"mousemove",Aa,!1);return Za(),function(){ha.remove(),La.remove()}},[In,Ja]),ue.useEffect(function(){var ha=(0,xr.Z)(Mt,"scroll",Za,!1),La=(0,xr.Z)(window,"resize",Za,!1);return function(){ha.remove(),La.remove()}},[Mt]),ue.useEffect(function(){qn.isHiddenScrollBar||oa(function(ha){var La=qe.current;return La?(0,Le.Z)((0,Le.Z)({},ha),{},{scrollLeft:La.scrollLeft/La.scrollWidth*La.clientWidth}):ha})},[qn.isHiddenScrollBar]),Tt<=Qt||!In||qn.isHiddenScrollBar?null:ue.createElement("div",{style:{height:(0,Pt.Z)(),width:Qt,bottom:xt},className:"".concat(Jt,"-sticky-scroll")},ue.createElement("div",{onMouseDown:Sr,ref:bn,className:He()("".concat(Jt,"-sticky-scroll-bar"),(0,ve.Z)({},"".concat(Jt,"-sticky-scroll-bar-active"),Ja)),style:{width:"".concat(In,"px"),transform:"translate3d(".concat(qn.scrollLeft,"px, 0, 0)")}}))},_o=ue.forwardRef(qr);function Mn(fe){return null}var Mr=Mn;function Rr(fe){return null}var Gr=Rr,za="rc-table",$n=[],wa={};function ja(){return"No Data"}function ga(fe){var me,Me=(0,Le.Z)({rowKey:"key",prefixCls:za,emptyText:ja},fe),Ge=Me.prefixCls,et=Me.className,qe=Me.rowClassName,Nt=Me.style,xt=Me.data,Mt=Me.rowKey,Jt=Me.scroll,Tt=Me.tableLayout,Qt=Me.direction,In=Me.title,bn=Me.footer,Rn=Me.summary,sa=Me.caption,qn=Me.id,oa=Me.showHeader,ea=Me.components,Ca=Me.emptyText,Ua=Me.onRow,Ja=Me.onHeaderRow,Ma=Me.internalHooks,gr=Me.transformColumns,Sr=Me.internalRefs,Aa=Me.tailor,Za=Me.sticky,Da=xt||$n,ha=!!Da.length,La=Ma===se,ur=ue.useCallback(function(Xr,zo){return(0,Ne.Z)(ea,Xr)||zo},[ea]),wr=ue.useMemo(function(){return typeof Mt=="function"?Mt:function(Xr){var zo=Xr&&Xr[Mt];return zo}},[Mt]),pr=ur(["body"]),tr=lr(),Ar=(0,be.Z)(tr,3),Zr=Ar[0],Io=Ar[1],to=Ar[2],Ko=Ra(Me,Da,wr),wo=(0,be.Z)(Ko,6),Pr=wo[0],Qo=wo[1],$r=wo[2],ko=wo[3],Oo=wo[4],Fi=wo[5],ir=Jt==null?void 0:Jt.x,nr=ue.useState(0),Xa=(0,be.Z)(nr,2),Ka=Xa[0],ro=Xa[1],Ha=Fn((0,Le.Z)((0,Le.Z)((0,Le.Z)({},Me),Pr),{},{expandable:!!Pr.expandedRowRender,columnTitle:Pr.columnTitle,expandedKeys:$r,getRowKey:wr,onTriggerExpand:Fi,expandIcon:ko,expandIconColumnIndex:Pr.expandIconColumnIndex,direction:Qt,scrollWidth:La&&Aa&&typeof ir=="number"?ir:null}),La?gr:null),vr=(0,be.Z)(Ha,3),Qr=vr[0],Wr=vr[1],di=vr[2],ci=di!=null?di:ir,Gi=ue.useMemo(function(){return{columns:Qr,flattenColumns:Wr}},[Qr,Wr]),ei=ue.useRef(),Vi=ue.useRef(),ti=ue.useRef(),wi=ue.useRef(),Ol=ue.useRef(),uo=ue.useState(!1),vo=(0,be.Z)(uo,2),Lo=vo[0],Go=vo[1],Jo=ue.useState(!1),zr=(0,be.Z)(Jo,2),hi=zr[0],Si=zr[1],pi=pa(new Map),dl=(0,be.Z)(pi,2),nl=dl[0],Pi=dl[1],al=ot(Wr),Hi=al.map(function(Xr){return nl.get(Xr)}),Ii=ue.useMemo(function(){return Hi},[Hi.join("_")]),Ei=Er(Ii,Wr.length,Qt),Uo=Jt&&Ht(Jt.y),Zo=Jt&&Ht(ci)||!!Pr.fixed,cl=Zo&&Wr.some(function(Xr){var zo=Xr.fixed;return zo}),Nl=ue.useRef(),hl=Dr(Za,Ge),Qi=hl.isSticky,Sl=hl.offsetHeader,fu=hl.offsetSummary,Yr=hl.offsetScroll,No=hl.stickyClassName,gi=hl.container,Ho=ue.useMemo(function(){return Rn==null?void 0:Rn(Da)},[Rn,Da]),yi=(Uo||Qi)&&ue.isValidElement(Ho)&&Ho.type===he&&Ho.props.fixed,bi,Li,ml;Uo&&(Li={overflowY:"scroll",maxHeight:Jt.y}),Zo&&(bi={overflowX:"auto"},Uo||(Li={overflowY:"hidden"}),ml={width:ci===!0?"auto":ci,minWidth:"100%"});var Ql=ue.useCallback(function(Xr,zo){(0,Xe.Z)(ei.current)&&Pi(function(Ji){if(Ji.get(Xr)!==zo){var Pl=new Map(Ji);return Pl.set(Xr,zo),Pl}return Ji})},[]),Vu=$a(null),Au=(0,be.Z)(Vu,2),Du=Au[0],Iu=Au[1];function ru(Xr,zo){zo&&(typeof zo=="function"?zo(Xr):zo.scrollLeft!==Xr&&(zo.scrollLeft=Xr,zo.scrollLeft!==Xr&&setTimeout(function(){zo.scrollLeft=Xr},0)))}var Jl=(0,Ae.Z)(function(Xr){var zo=Xr.currentTarget,Ji=Xr.scrollLeft,Pl=Qt==="rtl",El=typeof Ji=="number"?Ji:zo.scrollLeft,gu=zo||wa;if(!Iu()||Iu()===gu){var Eu;Du(gu),ru(El,Vi.current),ru(El,ti.current),ru(El,Ol.current),ru(El,(Eu=Nl.current)===null||Eu===void 0?void 0:Eu.setScrollLeft)}var yu=zo||Vi.current;if(yu){var bu=yu.scrollWidth,Cu=yu.clientWidth;if(bu===Cu){Go(!1),Si(!1);return}Pl?(Go(-El<bu-Cu),Si(-El>0)):(Go(El>0),Si(El<bu-Cu))}}),Lu=function(){Zo&&ti.current?Jl({currentTarget:ti.current}):(Go(!1),Si(!1))},cs=function(zo){var Ji=zo.width;Ji!==Ka&&(Lu(),ro(ei.current?ei.current.offsetWidth:Ji))},Zl=ue.useRef(!1);ue.useEffect(function(){Zl.current&&Lu()},[Zo,xt,Qr.length]),ue.useEffect(function(){Zl.current=!0},[]);var Qu=ue.useState(0),ou=(0,be.Z)(Qu,2),iu=ou[0],Ou=ou[1],Ju=ue.useState(!0),lu=(0,be.Z)(Ju,2),pu=lu[0],$u=lu[1];ue.useEffect(function(){(!Aa||!La)&&(ti.current instanceof Element?Ou((0,Pt.o)(ti.current).width):Ou((0,Pt.o)(wi.current).width)),$u((0,_e.G)("position","sticky"))},[]),ue.useEffect(function(){La&&Sr&&(Sr.body.current=ti.current)});var Yu=ue.useCallback(function(Xr){return ue.createElement(ue.Fragment,null,ue.createElement(Vt,Xr),yi==="top"&&ue.createElement(At,Xr,Ho))},[yi,Ho]),Xu=ue.useCallback(function(Xr){return ue.createElement(At,Xr,Ho)},[Ho]),Nu=ur(["table"],"table"),uu=ue.useMemo(function(){return Tt||(cl?ci==="max-content"?"auto":"fixed":Uo||Qi||Wr.some(function(Xr){var zo=Xr.ellipsis;return zo})?"fixed":"auto")},[Uo,cl,Wr,Tt,Qi]),vu,hu={colWidths:Ii,columCount:Wr.length,stickyOffsets:Ei,onHeaderRow:Ja,fixHeader:Uo,scroll:Jt},Ru=ue.useMemo(function(){return ha?null:typeof Ca=="function"?Ca():Ca},[ha,Ca]),$l=ue.createElement(Wn,{data:Da,measureColumnWidth:Uo||Zo||Qi}),_u=ue.createElement(Zn,{colWidths:Wr.map(function(Xr){var zo=Xr.width;return zo}),columns:Wr}),Su=sa!=null?ue.createElement("caption",{className:"".concat(Ge,"-caption")},sa):void 0,su=(0,cn.Z)(Me,{data:!0}),Pu=(0,cn.Z)(Me,{aria:!0});if(Uo||Qi){var du;typeof pr=="function"?(du=pr(Da,{scrollbarSize:iu,ref:ti,onScroll:Jl}),hu.colWidths=Wr.map(function(Xr,zo){var Ji=Xr.width,Pl=zo===Wr.length-1?Ji-iu:Ji;return typeof Pl=="number"&&!Number.isNaN(Pl)?Pl:0})):du=ue.createElement("div",{style:(0,Le.Z)((0,Le.Z)({},bi),Li),onScroll:Jl,ref:ti,className:He()("".concat(Ge,"-body"))},ue.createElement(Nu,(0,ke.Z)({style:(0,Le.Z)((0,Le.Z)({},ml),{},{tableLayout:uu})},Pu),Su,_u,$l,!yi&&Ho&&ue.createElement(At,{stickyOffsets:Ei,flattenColumns:Wr,columns:Qr},Ho)));var Mu=(0,Le.Z)((0,Le.Z)((0,Le.Z)({noData:!Da.length,maxContentScroll:Zo&&ci==="max-content"},hu),Gi),{},{direction:Qt,stickyClassName:No,onScroll:Jl});vu=ue.createElement(ue.Fragment,null,oa!==!1&&ue.createElement(En,(0,ke.Z)({},Mu,{stickyTopOffset:Sl,className:"".concat(Ge,"-header"),ref:Vi}),Yu),du,yi&&yi!=="top"&&ue.createElement(En,(0,ke.Z)({},Mu,{stickyBottomOffset:fu,className:"".concat(Ge,"-summary"),ref:Ol}),Xu),Qi&&ue.createElement(_o,{ref:Nl,offsetScroll:Yr,scrollBodyRef:ti,onScroll:Jl,container:gi}))}else vu=ue.createElement("div",{style:(0,Le.Z)((0,Le.Z)({},bi),Li),className:He()("".concat(Ge,"-content")),onScroll:Jl,ref:ti},ue.createElement(Nu,(0,ke.Z)({style:(0,Le.Z)((0,Le.Z)({},ml),{},{tableLayout:uu})},Pu),Su,_u,oa!==!1&&ue.createElement(Vt,(0,ke.Z)({},hu,Gi)),$l,Ho&&ue.createElement(At,{stickyOffsets:Ei,flattenColumns:Wr,columns:Qr},Ho)));var cu=ue.createElement("div",(0,ke.Z)({className:He()(Ge,et,(me={},(0,ve.Z)(me,"".concat(Ge,"-rtl"),Qt==="rtl"),(0,ve.Z)(me,"".concat(Ge,"-ping-left"),Lo),(0,ve.Z)(me,"".concat(Ge,"-ping-right"),hi),(0,ve.Z)(me,"".concat(Ge,"-layout-fixed"),Tt==="fixed"),(0,ve.Z)(me,"".concat(Ge,"-fixed-header"),Uo),(0,ve.Z)(me,"".concat(Ge,"-fixed-column"),cl),(0,ve.Z)(me,"".concat(Ge,"-scroll-horizontal"),Zo),(0,ve.Z)(me,"".concat(Ge,"-has-fix-left"),Wr[0]&&Wr[0].fixed),(0,ve.Z)(me,"".concat(Ge,"-has-fix-right"),Wr[Wr.length-1]&&Wr[Wr.length-1].fixed==="right"),me)),style:Nt,id:qn,ref:ei},su),In&&ue.createElement(Nr,{className:"".concat(Ge,"-title")},In(Da)),ue.createElement("div",{ref:wi,className:"".concat(Ge,"-container")},vu),bn&&ue.createElement(Nr,{className:"".concat(Ge,"-footer")},bn(Da)));Zo&&(cu=ue.createElement(vt.Z,{onResize:cs},cu));var Tu=yn(Wr,Ei,Qt,Qr),qu=ue.useMemo(function(){return{scrollX:ci,prefixCls:Ge,getComponent:ur,scrollbarSize:iu,direction:Qt,fixedInfoList:Tu,isSticky:Qi,supportSticky:pu,componentWidth:Ka,fixHeader:Uo,fixColumn:cl,horizonScroll:Zo,tableLayout:uu,rowClassName:qe,expandedRowClassName:Pr.expandedRowClassName,expandIcon:ko,expandableType:Qo,expandRowByClick:Pr.expandRowByClick,expandedRowRender:Pr.expandedRowRender,onTriggerExpand:Fi,expandIconColumnIndex:Pr.expandIconColumnIndex,indentSize:Pr.indentSize,allColumnsFixedLeft:Wr.every(function(Xr){return Xr.fixed==="left"}),emptyNode:Ru,columns:Qr,flattenColumns:Wr,onColumnResize:Ql,hoverStartRow:Zr,hoverEndRow:Io,onHover:to,rowExpandable:Pr.rowExpandable,onRow:Ua,getRowKey:wr,expandedKeys:$r,childrenColumnName:Oo}},[ci,Ge,ur,iu,Qt,Tu,Qi,pu,Ka,Uo,cl,Zo,uu,qe,Pr.expandedRowClassName,ko,Qo,Pr.expandRowByClick,Pr.expandedRowRender,Fi,Pr.expandIconColumnIndex,Pr.indentSize,Ru,Qr,Wr,Ql,Zr,Io,to,Pr.rowExpandable,Ua,wr,$r,Oo]);return ue.createElement(ce.Provider,{value:qu},cu)}function fr(fe){return z(ga,fe)}var Hr=fr();Hr.EXPAND_COLUMN=b,Hr.INTERNAL_HOOKS=se,Hr.Column=Mr,Hr.ColumnGroup=Gr,Hr.Summary=we;var oo=Hr,Tr=ae(6790),co=We(null),ni=We(null);function $o(fe,me,Me){var Ge=me||1;return Me[fe+Ge]-(Me[fe]||0)}function _i(fe){var me=fe.rowInfo,Me=fe.column,Ge=fe.colIndex,et=fe.indent,qe=fe.index,Nt=fe.renderIndex,xt=fe.record,Mt=fe.style,Jt=fe.className,Tt=fe.inverse,Qt=fe.getHeight,In=Me.render,bn=Me.dataIndex,Rn=Me.className,sa=Me.width,qn=Te(ni,["columnsOffset"]),oa=qn.columnsOffset,ea=rn(me,Me,Ge,et,qe),Ca=ea.key,Ua=ea.fixedInfo,Ja=ea.appendCellNode,Ma=ea.additionalCellProps,gr=Ma.style,Sr=Ma.colSpan,Aa=Sr===void 0?1:Sr,Za=Ma.rowSpan,Da=Za===void 0?1:Za,ha=Ge-1,La=$o(ha,Aa,oa),ur=Aa>1?sa-La:0,wr=(0,Le.Z)((0,Le.Z)((0,Le.Z)({},gr),Mt),{},{flex:"0 0 ".concat(La,"px"),width:"".concat(La,"px"),marginRight:ur,pointerEvents:"auto"}),pr=ue.useMemo(function(){return Tt?Da<=1:Aa===0||Da===0||Da>1},[Da,Aa,Tt]);pr?wr.visibility="hidden":Tt&&(wr.height=Qt==null?void 0:Qt(Da));var tr=pr?function(){return null}:In,Ar={};return(Da===0||Aa===0)&&(Ar.rowSpan=1,Ar.colSpan=1),ue.createElement(Yt,(0,ke.Z)({className:He()(Rn,Jt),ellipsis:Me.ellipsis,align:Me.align,scope:Me.rowScope,component:"div",prefixCls:me.prefixCls,key:Ca,record:xt,index:qe,renderIndex:Nt,dataIndex:bn,render:tr,shouldCellUpdate:Me.shouldCellUpdate},Ua,{appendNode:Ja,additionalProps:(0,Le.Z)((0,Le.Z)({},Ma),{},{style:wr},Ar)}))}var So=_i,Ba=["data","index","className","rowKey","style","extra","getHeight"],eo=ue.forwardRef(function(fe,me){var Me=fe.data,Ge=fe.index,et=fe.className,qe=fe.rowKey,Nt=fe.style,xt=fe.extra,Mt=fe.getHeight,Jt=(0,It.Z)(fe,Ba),Tt=Me.record,Qt=Me.indent,In=Me.index,bn=Te(ce,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),Rn=bn.scrollX,sa=bn.flattenColumns,qn=bn.prefixCls,oa=bn.fixColumn,ea=bn.componentWidth,Ca=bt(Tt,qe,Ge,Qt),Ua=Ca.rowSupportExpand,Ja=Ca.expanded,Ma=Ca.rowProps,gr=Ca.expandedRowRender,Sr=Ca.expandedRowClassName,Aa;if(Ua&&Ja){var Za=gr(Tt,Ge,Qt+1,Ja),Da=Sr==null?void 0:Sr(Tt,Ge,Qt),ha={};oa&&(ha={style:(0,ve.Z)({},"--virtual-width","".concat(ea,"px"))});var La="".concat(qn,"-expanded-row-cell");Aa=ue.createElement("div",{className:He()("".concat(qn,"-expanded-row"),"".concat(qn,"-expanded-row-level-").concat(Qt+1),Da)},ue.createElement(Yt,{component:"div",prefixCls:qn,className:He()(La,(0,ve.Z)({},"".concat(La,"-fixed"),oa)),additionalProps:ha},Za))}var ur=(0,Le.Z)((0,Le.Z)({},Nt),{},{width:Rn});xt&&(ur.position="absolute",ur.pointerEvents="none");var wr=ue.createElement("div",(0,ke.Z)({},Ma,Jt,{ref:Ua?null:me,className:He()(et,"".concat(qn,"-row"),Ma==null?void 0:Ma.className,(0,ve.Z)({},"".concat(qn,"-row-extra"),xt)),style:(0,Le.Z)((0,Le.Z)({},ur),Ma==null?void 0:Ma.style)}),sa.map(function(pr,tr){return ue.createElement(So,{key:tr,rowInfo:Ca,column:pr,colIndex:tr,indent:Qt,index:Ge,renderIndex:In,record:Tt,inverse:xt,getHeight:Mt})}));return Ua?ue.createElement("div",{ref:me},wr,Aa):wr}),mo=te(eo),Ro=mo,Po=ue.forwardRef(function(fe,me){var Me=fe.data,Ge=fe.onScroll,et=Te(ce,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","emptyNode","scrollX"]),qe=et.flattenColumns,Nt=et.onColumnResize,xt=et.getRowKey,Mt=et.expandedKeys,Jt=et.prefixCls,Tt=et.childrenColumnName,Qt=et.emptyNode,In=et.scrollX,bn=Te(co),Rn=bn.scrollY,sa=bn.listItemHeight,qn=ue.useRef(),oa=Xt(Me,Tt,Mt,xt),ea=ue.useMemo(function(){var Aa=0;return qe.map(function(Za){var Da=Za.width,ha=Za.key;return Aa+=Da,[ha,Da,Aa]})},[qe]),Ca=ue.useMemo(function(){return ea.map(function(Aa){return Aa[2]})},[ea]);ue.useEffect(function(){ea.forEach(function(Aa){var Za=(0,be.Z)(Aa,2),Da=Za[0],ha=Za[1];Nt(Da,ha)})},[ea]),ue.useImperativeHandle(me,function(){var Aa={};return Object.defineProperty(Aa,"scrollLeft",{get:function(){var Da;return((Da=qn.current)===null||Da===void 0?void 0:Da.getScrollInfo().x)||0},set:function(Da){var ha;(ha=qn.current)===null||ha===void 0||ha.scrollTo({left:Da})}}),Aa});var Ua=function(Za,Da){var ha,La=(ha=oa[Da])===null||ha===void 0?void 0:ha.record,ur=Za.onCell;if(ur){var wr,pr=ur(La,Da);return(wr=pr==null?void 0:pr.rowSpan)!==null&&wr!==void 0?wr:1}return 1},Ja=function(Za){var Da=Za.start,ha=Za.end,La=Za.getSize,ur=Za.offsetY;if(ha<0)return null;for(var wr=qe.filter(function(ir){return Ua(ir,Da)===0}),pr=Da,tr=function(nr){if(wr=wr.filter(function(Xa){return Ua(Xa,nr)===0}),!wr.length)return pr=nr,"break"},Ar=Da;Ar>=0;Ar-=1){var Zr=tr(Ar);if(Zr==="break")break}for(var Io=qe.filter(function(ir){return Ua(ir,ha)!==1}),to=ha,Ko=function(nr){if(Io=Io.filter(function(Xa){return Ua(Xa,nr)!==1}),!Io.length)return to=Math.max(nr-1,ha),"break"},wo=ha;wo<oa.length;wo+=1){var Pr=Ko(wo);if(Pr==="break")break}for(var Qo=[],$r=function(nr){var Xa=oa[nr];if(!Xa)return"continue";qe.some(function(Ka){return Ua(Ka,nr)>1})&&Qo.push(nr)},ko=pr;ko<=to;ko+=1)var Oo=$r(ko);var Fi=Qo.map(function(ir){var nr=oa[ir],Xa=xt(nr.record,ir),Ka=function(vr){var Qr=ir+vr-1,Wr=xt(oa[Qr].record,Qr),di=La(Xa,Wr);return di.bottom-di.top},ro=La(Xa);return ue.createElement(Ro,{key:ir,data:nr,rowKey:Xa,index:ir,style:{top:-ur+ro.top},extra:!0,getHeight:Ka})});return Fi},Ma=ue.useMemo(function(){return{columnsOffset:Ca}},[Ca]),gr="".concat(Jt,"-tbody"),Sr;return oa.length?Sr=ue.createElement(Tr.Z,{fullHeight:!1,ref:qn,className:He()(gr,"".concat(gr,"-virtual")),height:Rn,itemHeight:sa||24,data:oa,itemKey:function(Za){return xt(Za.record)},scrollWidth:In,onVirtualScroll:function(Za){var Da=Za.x;Ge({scrollLeft:Da})},extraRender:Ja},function(Aa,Za,Da){var ha=xt(Aa.record,Za);return ue.createElement(Ro,(0,ke.Z)({data:Aa,rowKey:ha,index:Za},Da))}):Sr=ue.createElement("div",{className:He()("".concat(Jt,"-placeholder"))},ue.createElement(Yt,{component:"div",prefixCls:Jt},Qt)),ue.createElement(ni.Provider,{value:Ma},Sr)}),xo=te(Po),oi=xo,Yo=function(me,Me){var Ge=Me.ref,et=Me.onScroll;return ue.createElement(oi,{ref:Ge,data:me,onScroll:et})},Wo=100;function Ci(fe){var me=fe.columns,Me=fe.scroll,Ge=fe.prefixCls,et=Ge===void 0?za:Ge,qe=fe.className,Nt=fe.listItemHeight,xt=Me||{},Mt=xt.x,Jt=xt.y;typeof Mt!="number"&&(Mt=((me||[]).length+1)*Wo),typeof Jt!="number"&&(Jt=500);var Tt=ue.useMemo(function(){return{scrollY:Jt,listItemHeight:Nt}},[Jt,Nt]);return ue.createElement(co.Provider,{value:Tt},ue.createElement(oo,(0,ke.Z)({},fe,{className:He()(qe,"".concat(et,"-virtual")),scroll:(0,Le.Z)((0,Le.Z)({},Me),{},{x:Mt}),components:{body:Yo},columns:me,internalHooks:se,tailor:!0})))}function Vo(fe){return z(Ci,fe)}var Eo=Vo(),xi=null;function yo(fe){return null}var Mi=yo;function ai(fe){return null}var Wi=ai,Di=ae(2738),Ti=ae(68031),Xo=ae(36355),Ki=ae(93891),pl=ae(19716),$i=ae(8628),Yi=ae(31724),Kr=ae(58421),Ta=ae(71418),na=ae(88088);function ia(fe){return function(Me){let{prefixCls:Ge,onExpand:et,record:qe,expanded:Nt,expandable:xt}=Me;const Mt=`${Ge}-row-expand-icon`;return ue.createElement("button",{type:"button",onClick:Jt=>{et(qe,Jt),Jt.stopPropagation()},className:He()(Mt,{[`${Mt}-spaced`]:!xt,[`${Mt}-expanded`]:xt&&Nt,[`${Mt}-collapsed`]:xt&&!Nt}),"aria-label":Nt?fe.collapse:fe.expand,"aria-expanded":Nt})}}var Pa=ia;function hr(fe,me){return"key"in fe&&fe.key!==void 0&&fe.key!==null?fe.key:fe.dataIndex?Array.isArray(fe.dataIndex)?fe.dataIndex.join("."):fe.dataIndex:me}function _r(fe,me){return me?`${me}-${fe}`:`${fe}`}function no(fe,me){return typeof fe=="function"?fe(me):fe}function fo(fe,me){const Me=no(fe,me);return Object.prototype.toString.call(Me)==="[object Object]"?"":Me}var Ao={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"},Bo=Ao,ka=ae(7657),jo=function(me,Me){return ue.createElement(ka.Z,(0,ke.Z)({},me,{ref:Me,icon:Bo}))},Bi=ue.forwardRef(jo),si=Bi,ki=ae(56762);function Zi(fe){const me=ue.useRef(fe),Me=(0,ki.Z)();return[()=>me.current,Ge=>{me.current=Ge,Me()}]}var zi=ae(3113),Ur=ae(24905),Mo=ae(38854),ol=ae(64165),vi=ae(20834),Ui=ae(40875),il=ae(5112),Xi=ae(17574),To=ae(47472),qi=ae(92832);function el(fe){let{value:me,onChange:Me,filterSearch:Ge,tablePrefixCls:et,locale:qe}=fe;return Ge?ue.createElement("div",{className:`${et}-filter-dropdown-search`},ue.createElement(qi.default,{prefix:ue.createElement(To.Z,null),placeholder:qe.filterSearchPlaceholder,onChange:Me,value:me,htmlSize:1,className:`${et}-filter-dropdown-search-input`})):null}var ll=el,ul=ae(10228);const Rl=fe=>{const{keyCode:me}=fe;me===ul.Z.ENTER&&fe.stopPropagation()};var _l=ue.forwardRef((fe,me)=>ue.createElement("div",{className:fe.className,onClick:Me=>Me.stopPropagation(),onKeyDown:Rl,ref:me},fe.children));function Ri(fe){let me=[];return(fe||[]).forEach(Me=>{let{value:Ge,children:et}=Me;me.push(Ge),et&&(me=[].concat((0,xn.Z)(me),(0,xn.Z)(Ri(et))))}),me}function Fl(fe){return fe.some(me=>{let{children:Me}=me;return Me})}function tl(fe,me){return typeof me=="string"||typeof me=="number"?me==null?void 0:me.toString().toLowerCase().includes(fe.trim().toLowerCase()):!1}function wl(fe){let{filters:me,prefixCls:Me,filteredKeys:Ge,filterMultiple:et,searchValue:qe,filterSearch:Nt}=fe;return me.map((xt,Mt)=>{const Jt=String(xt.value);if(xt.children)return{key:Jt||Mt,label:xt.text,popupClassName:`${Me}-dropdown-submenu`,children:wl({filters:xt.children,prefixCls:Me,filteredKeys:Ge,filterMultiple:et,searchValue:qe,filterSearch:Nt})};const Tt=et?Ur.default:il.ZP,Qt={key:xt.value!==void 0?Jt:Mt,label:ue.createElement(ue.Fragment,null,ue.createElement(Tt,{checked:Ge.includes(Jt)}),ue.createElement("span",null,xt.text))};return qe.trim()?typeof Nt=="function"?Nt(qe,xt)?Qt:null:tl(qe,xt.text)?Qt:null:Qt})}function Gl(fe){var me,Me;const{tablePrefixCls:Ge,prefixCls:et,column:qe,dropdownPrefixCls:Nt,columnKey:xt,filterMultiple:Mt,filterMode:Jt="menu",filterSearch:Tt=!1,filterState:Qt,triggerFilter:In,locale:bn,children:Rn,getPopupContainer:sa}=fe,{filterDropdownOpen:qn,onFilterDropdownOpenChange:oa,filterResetToDefaultFilteredValue:ea,defaultFilteredValue:Ca,filterDropdownVisible:Ua,onFilterDropdownVisibleChange:Ja}=qe,[Ma,gr]=ue.useState(!1),Sr=!!(Qt&&(!((me=Qt.filteredKeys)===null||me===void 0)&&me.length||Qt.forceFiltered)),Aa=Ha=>{gr(Ha),oa==null||oa(Ha),Ja==null||Ja(Ha)},Za=(Me=qn!=null?qn:Ua)!==null&&Me!==void 0?Me:Ma,Da=Qt==null?void 0:Qt.filteredKeys,[ha,La]=Zi(Da||[]),ur=Ha=>{let{selectedKeys:vr}=Ha;La(vr)},wr=(Ha,vr)=>{let{node:Qr,checked:Wr}=vr;ur(Mt?{selectedKeys:Ha}:{selectedKeys:Wr&&Qr.key?[Qr.key]:[]})};ue.useEffect(()=>{Ma&&ur({selectedKeys:Da||[]})},[Da]);const[pr,tr]=ue.useState([]),Ar=Ha=>{tr(Ha)},[Zr,Io]=ue.useState(""),to=Ha=>{const{value:vr}=Ha.target;Io(vr)};ue.useEffect(()=>{Ma||Io("")},[Ma]);const Ko=Ha=>{const vr=Ha&&Ha.length?Ha:null;if(vr===null&&(!Qt||!Qt.filteredKeys)||(0,Re.Z)(vr,Qt==null?void 0:Qt.filteredKeys,!0))return null;In({column:qe,key:xt,filteredKeys:vr})},wo=()=>{Aa(!1),Ko(ha())},Pr=function(){let{confirm:Ha,closeDropdown:vr}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{confirm:!1,closeDropdown:!1};Ha&&Ko([]),vr&&Aa(!1),Io(""),La(ea?(Ca||[]).map(Qr=>String(Qr)):[])},Qo=function(){let{closeDropdown:Ha}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{closeDropdown:!0};Ha&&Aa(!1),Ko(ha())},$r=Ha=>{Ha&&Da!==void 0&&La(Da||[]),Aa(Ha),!Ha&&!qe.filterDropdown&&wo()},ko=He()({[`${Nt}-menu-without-submenu`]:!Fl(qe.filters||[])}),Oo=Ha=>{if(Ha.target.checked){const vr=Ri(qe==null?void 0:qe.filters).map(Qr=>String(Qr));La(vr)}else La([])},Fi=Ha=>{let{filters:vr}=Ha;return(vr||[]).map((Qr,Wr)=>{const di=String(Qr.value),ci={title:Qr.text,key:Qr.value!==void 0?di:Wr};return Qr.children&&(ci.children=Fi({filters:Qr.children})),ci})},ir=Ha=>{var vr;return Object.assign(Object.assign({},Ha),{text:Ha.title,value:Ha.key,children:((vr=Ha.children)===null||vr===void 0?void 0:vr.map(Qr=>ir(Qr)))||[]})};let nr;if(typeof qe.filterDropdown=="function")nr=qe.filterDropdown({prefixCls:`${Nt}-custom`,setSelectedKeys:Ha=>ur({selectedKeys:Ha}),selectedKeys:ha(),confirm:Qo,clearFilters:Pr,filters:qe.filters,visible:Za,close:()=>{Aa(!1)}});else if(qe.filterDropdown)nr=qe.filterDropdown;else{const Ha=ha()||[],vr=()=>(qe.filters||[]).length===0?ue.createElement(ol.Z,{image:ol.Z.PRESENTED_IMAGE_SIMPLE,description:bn.filterEmptyText,imageStyle:{height:24},style:{margin:0,padding:"16px 0"}}):Jt==="tree"?ue.createElement(ue.Fragment,null,ue.createElement(ll,{filterSearch:Tt,value:Zr,onChange:to,tablePrefixCls:Ge,locale:bn}),ue.createElement("div",{className:`${Ge}-filter-dropdown-tree`},Mt?ue.createElement(Ur.default,{checked:Ha.length===Ri(qe.filters).length,indeterminate:Ha.length>0&&Ha.length<Ri(qe.filters).length,className:`${Ge}-filter-dropdown-checkall`,onChange:Oo},bn.filterCheckall):null,ue.createElement(Xi.default,{checkable:!0,selectable:!1,blockNode:!0,multiple:Mt,checkStrictly:!Mt,className:`${Nt}-menu`,onCheck:wr,checkedKeys:Ha,selectedKeys:Ha,showIcon:!1,treeData:Fi({filters:qe.filters}),autoExpandParent:!0,defaultExpandAll:!0,filterTreeNode:Zr.trim()?Wr=>typeof Tt=="function"?Tt(Zr,ir(Wr)):tl(Zr,Wr.title):void 0}))):ue.createElement(ue.Fragment,null,ue.createElement(ll,{filterSearch:Tt,value:Zr,onChange:to,tablePrefixCls:Ge,locale:bn}),ue.createElement(vi.default,{selectable:!0,multiple:Mt,prefixCls:`${Nt}-menu`,className:ko,onSelect:ur,onDeselect:ur,selectedKeys:Ha,getPopupContainer:sa,openKeys:pr,onOpenChange:Ar,items:wl({filters:qe.filters||[],filterSearch:Tt,prefixCls:et,filteredKeys:ha(),filterMultiple:Mt,searchValue:Zr})})),Qr=()=>ea?(0,Re.Z)((Ca||[]).map(Wr=>String(Wr)),Ha,!0):Ha.length===0;nr=ue.createElement(ue.Fragment,null,vr(),ue.createElement("div",{className:`${et}-dropdown-btns`},ue.createElement(zi.ZP,{type:"link",size:"small",disabled:Qr(),onClick:()=>Pr()},bn.filterReset),ue.createElement(zi.ZP,{type:"primary",size:"small",onClick:wo},bn.filterConfirm)))}qe.filterDropdown&&(nr=ue.createElement(Ui.J,{selectable:void 0},nr));const Xa=()=>ue.createElement(_l,{className:`${et}-dropdown`},nr);let Ka;typeof qe.filterIcon=="function"?Ka=qe.filterIcon(Sr):qe.filterIcon?Ka=qe.filterIcon:Ka=ue.createElement(si,null);const{direction:ro}=ue.useContext(Xo.E_);return ue.createElement("div",{className:`${et}-column`},ue.createElement("span",{className:`${Ge}-column-title`},Rn),ue.createElement(Mo.Z,{dropdownRender:Xa,trigger:["click"],open:Za,onOpenChange:$r,getPopupContainer:sa,placement:ro==="rtl"?"bottomLeft":"bottomRight"},ue.createElement("span",{role:"button",tabIndex:-1,className:He()(`${et}-trigger`,{active:Sr}),onClick:Ha=>{Ha.stopPropagation()}},Ka)))}var gt=Gl;function ht(fe,me,Me){let Ge=[];return(fe||[]).forEach((et,qe)=>{var Nt;const xt=_r(qe,Me);if(et.filters||"filterDropdown"in et||"onFilter"in et)if("filteredValue"in et){let Mt=et.filteredValue;"filterDropdown"in et||(Mt=(Nt=Mt==null?void 0:Mt.map(String))!==null&&Nt!==void 0?Nt:Mt),Ge.push({column:et,key:hr(et,xt),filteredKeys:Mt,forceFiltered:et.filtered})}else Ge.push({column:et,key:hr(et,xt),filteredKeys:me&&et.defaultFilteredValue?et.defaultFilteredValue:void 0,forceFiltered:et.filtered});"children"in et&&(Ge=[].concat((0,xn.Z)(Ge),(0,xn.Z)(ht(et.children,me,xt))))}),Ge}function zt(fe,me,Me,Ge,et,qe,Nt,xt){return Me.map((Mt,Jt)=>{const Tt=_r(Jt,xt),{filterMultiple:Qt=!0,filterMode:In,filterSearch:bn}=Mt;let Rn=Mt;if(Rn.filters||Rn.filterDropdown){const sa=hr(Rn,Tt),qn=Ge.find(oa=>{let{key:ea}=oa;return sa===ea});Rn=Object.assign(Object.assign({},Rn),{title:oa=>ue.createElement(gt,{tablePrefixCls:fe,prefixCls:`${fe}-filter`,dropdownPrefixCls:me,column:Rn,columnKey:sa,filterState:qn,filterMultiple:Qt,filterMode:In,filterSearch:bn,triggerFilter:qe,locale:et,getPopupContainer:Nt},no(Mt.title,oa))})}return"children"in Rn&&(Rn=Object.assign(Object.assign({},Rn),{children:zt(fe,me,Rn.children,Ge,et,qe,Nt,Tt)})),Rn})}function An(fe){const me={};return fe.forEach(Me=>{let{key:Ge,filteredKeys:et,column:qe}=Me;const{filters:Nt,filterDropdown:xt}=qe;if(xt)me[Ge]=et||null;else if(Array.isArray(et)){const Mt=Ri(Nt);me[Ge]=Mt.filter(Jt=>et.includes(String(Jt)))}else me[Ge]=null}),me}function Dn(fe,me){return me.reduce((Me,Ge)=>{const{column:{onFilter:et,filters:qe},filteredKeys:Nt}=Ge;return et&&Nt&&Nt.length?Me.filter(xt=>Nt.some(Mt=>{const Jt=Ri(qe),Tt=Jt.findIndex(In=>String(In)===String(Mt)),Qt=Tt!==-1?Jt[Tt]:Mt;return et(Qt,xt)})):Me},fe)}const Pn=fe=>fe.flatMap(me=>"children"in me?[me].concat((0,xn.Z)(Pn(me.children||[]))):[me]);function hn(fe){let{prefixCls:me,dropdownPrefixCls:Me,mergedColumns:Ge,onFilterChange:et,getPopupContainer:qe,locale:Nt}=fe;const xt=ue.useMemo(()=>Pn(Ge||[]),[Ge]),[Mt,Jt]=ue.useState(()=>ht(xt,!0)),Tt=ue.useMemo(()=>{const Rn=ht(xt,!1);if(Rn.length===0)return Rn;let sa=!0,qn=!0;if(Rn.forEach(oa=>{let{filteredKeys:ea}=oa;ea!==void 0?sa=!1:qn=!1}),sa){const oa=(xt||[]).map((ea,Ca)=>hr(ea,_r(Ca)));return Mt.filter(ea=>{let{key:Ca}=ea;return oa.includes(Ca)}).map(ea=>{const Ca=xt[oa.findIndex(Ua=>Ua===ea.key)];return Object.assign(Object.assign({},ea),{column:Object.assign(Object.assign({},ea.column),Ca),forceFiltered:Ca.filtered})})}return Rn},[xt,Mt]),Qt=ue.useMemo(()=>An(Tt),[Tt]),In=Rn=>{const sa=Tt.filter(qn=>{let{key:oa}=qn;return oa!==Rn.key});sa.push(Rn),Jt(sa),et(An(sa),sa)};return[Rn=>zt(me,Me,Rn,Tt,Nt,In,qe),Tt,Qt]}var kt=hn;function dn(fe,me,Me){const Ge=ue.useRef({});function et(qe){if(!Ge.current||Ge.current.data!==fe||Ge.current.childrenColumnName!==me||Ge.current.getRowKey!==Me){let xt=function(Mt){Mt.forEach((Jt,Tt)=>{const Qt=Me(Jt,Tt);Nt.set(Qt,Jt),Jt&&typeof Jt=="object"&&me in Jt&&xt(Jt[me]||[])})};const Nt=new Map;xt(fe),Ge.current={data:fe,childrenColumnName:me,kvMap:Nt,getRowKey:Me}}return Ge.current.kvMap.get(qe)}return[et]}var _n=ae(50371),la=function(fe,me){var Me={};for(var Ge in fe)Object.prototype.hasOwnProperty.call(fe,Ge)&&me.indexOf(Ge)<0&&(Me[Ge]=fe[Ge]);if(fe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var et=0,Ge=Object.getOwnPropertySymbols(fe);et<Ge.length;et++)me.indexOf(Ge[et])<0&&Object.prototype.propertyIsEnumerable.call(fe,Ge[et])&&(Me[Ge[et]]=fe[Ge[et]]);return Me};const or=10;function Qa(fe,me){const Me={current:fe.current,pageSize:fe.pageSize};return Object.keys(me&&typeof me=="object"?me:{}).forEach(et=>{const qe=fe[et];typeof qe!="function"&&(Me[et]=qe)}),Me}function ao(fe,me,Me){const Ge=Me&&typeof Me=="object"?Me:{},{total:et=0}=Ge,qe=la(Ge,["total"]),[Nt,xt]=(0,ue.useState)(()=>({current:"defaultCurrent"in qe?qe.defaultCurrent:1,pageSize:"defaultPageSize"in qe?qe.defaultPageSize:or})),Mt=(0,_n.Z)(Nt,qe,{total:et>0?et:fe}),Jt=Math.ceil((et||fe)/Mt.pageSize);Mt.current>Jt&&(Mt.current=Jt||1);const Tt=(In,bn)=>{xt({current:In!=null?In:1,pageSize:bn||Mt.pageSize})},Qt=(In,bn)=>{var Rn;Me&&((Rn=Me.onChange)===null||Rn===void 0||Rn.call(Me,In,bn)),Tt(In,bn),me(In,bn||(Mt==null?void 0:Mt.pageSize))};return Me===!1?[{},()=>{}]:[Object.assign(Object.assign({},Mt),{onChange:Qt}),Tt]}var Fr=ao,Ia=ae(84105),ca=ae(35654),Kn=ae(90782),sr=ae(71430),mr=ae(18929);const Br={},Jr="SELECT_ALL",dr="SELECT_INVERT",kr="SELECT_NONE",cr=[],ya=(fe,me)=>{let Me=[];return(me||[]).forEach(Ge=>{Me.push(Ge),Ge&&typeof Ge=="object"&&fe in Ge&&(Me=[].concat((0,xn.Z)(Me),(0,xn.Z)(ya(fe,Ge[fe]))))}),Me};var Vr=(fe,me)=>{const{preserveSelectedRowKeys:Me,selectedRowKeys:Ge,defaultSelectedRowKeys:et,getCheckboxProps:qe,onChange:Nt,onSelect:xt,onSelectAll:Mt,onSelectInvert:Jt,onSelectNone:Tt,onSelectMultiple:Qt,columnWidth:In,type:bn,selections:Rn,fixed:sa,renderCell:qn,hideSelectAll:oa,checkStrictly:ea=!0}=me||{},{prefixCls:Ca,data:Ua,pageData:Ja,getRecordByKey:Ma,getRowKey:gr,expandType:Sr,childrenColumnName:Aa,locale:Za,getPopupContainer:Da}=fe,[ha,La]=(0,mr.Z)(Ge||et||cr,{value:Ge}),ur=ue.useRef(new Map),wr=(0,ue.useCallback)(ir=>{if(Me){const nr=new Map;ir.forEach(Xa=>{let Ka=Ma(Xa);!Ka&&ur.current.has(Xa)&&(Ka=ur.current.get(Xa)),nr.set(Xa,Ka)}),ur.current=nr}},[Ma,Me]);ue.useEffect(()=>{wr(ha)},[ha]);const{keyEntities:pr}=(0,ue.useMemo)(()=>{if(ea)return{keyEntities:null};let ir=Ua;if(Me){const nr=new Set(Ua.map((Ka,ro)=>gr(Ka,ro))),Xa=Array.from(ur.current).reduce((Ka,ro)=>{let[Ha,vr]=ro;return nr.has(Ha)?Ka:Ka.concat(vr)},[]);ir=[].concat((0,xn.Z)(ir),(0,xn.Z)(Xa))}return(0,sr.I8)(ir,{externalGetKey:gr,childrenPropName:Aa})},[Ua,gr,ea,Aa,Me]),tr=(0,ue.useMemo)(()=>ya(Aa,Ja),[Aa,Ja]),Ar=(0,ue.useMemo)(()=>{const ir=new Map;return tr.forEach((nr,Xa)=>{const Ka=gr(nr,Xa),ro=(qe?qe(nr):null)||{};ir.set(Ka,ro)}),ir},[tr,gr,qe]),Zr=(0,ue.useCallback)(ir=>{var nr;return!!(!((nr=Ar.get(gr(ir)))===null||nr===void 0)&&nr.disabled)},[Ar,gr]),[Io,to]=(0,ue.useMemo)(()=>{if(ea)return[ha||[],[]];const{checkedKeys:ir,halfCheckedKeys:nr}=(0,Kn.S)(ha,!0,pr,Zr);return[ir||[],nr]},[ha,ea,pr,Zr]),Ko=(0,ue.useMemo)(()=>{const ir=bn==="radio"?Io.slice(0,1):Io;return new Set(ir)},[Io,bn]),wo=(0,ue.useMemo)(()=>bn==="radio"?new Set:new Set(to),[to,bn]),[Pr,Qo]=(0,ue.useState)(null);ue.useEffect(()=>{me||La(cr)},[!!me]);const $r=(0,ue.useCallback)((ir,nr)=>{let Xa,Ka;wr(ir),Me?(Xa=ir,Ka=ir.map(ro=>ur.current.get(ro))):(Xa=[],Ka=[],ir.forEach(ro=>{const Ha=Ma(ro);Ha!==void 0&&(Xa.push(ro),Ka.push(Ha))})),La(Xa),Nt==null||Nt(Xa,Ka,{type:nr})},[La,Ma,Nt,Me]),ko=(0,ue.useCallback)((ir,nr,Xa,Ka)=>{if(xt){const ro=Xa.map(Ha=>Ma(Ha));xt(Ma(ir),nr,ro,Ka)}$r(Xa,"single")},[xt,Ma,$r]),Oo=(0,ue.useMemo)(()=>!Rn||oa?null:(Rn===!0?[Jr,dr,kr]:Rn).map(nr=>nr===Jr?{key:"all",text:Za.selectionAll,onSelect(){$r(Ua.map((Xa,Ka)=>gr(Xa,Ka)).filter(Xa=>{const Ka=Ar.get(Xa);return!(Ka!=null&&Ka.disabled)||Ko.has(Xa)}),"all")}}:nr===dr?{key:"invert",text:Za.selectInvert,onSelect(){const Xa=new Set(Ko);Ja.forEach((ro,Ha)=>{const vr=gr(ro,Ha),Qr=Ar.get(vr);Qr!=null&&Qr.disabled||(Xa.has(vr)?Xa.delete(vr):Xa.add(vr))});const Ka=Array.from(Xa);Jt&&Jt(Ka),$r(Ka,"invert")}}:nr===kr?{key:"none",text:Za.selectNone,onSelect(){Tt==null||Tt(),$r(Array.from(Ko).filter(Xa=>{const Ka=Ar.get(Xa);return Ka==null?void 0:Ka.disabled}),"none")}}:nr).map(nr=>Object.assign(Object.assign({},nr),{onSelect:function(){for(var Xa,Ka,ro=arguments.length,Ha=new Array(ro),vr=0;vr<ro;vr++)Ha[vr]=arguments[vr];(Ka=nr.onSelect)===null||Ka===void 0||(Xa=Ka).call.apply(Xa,[nr].concat(Ha)),Qo(null)}})),[Rn,Ko,Ja,gr,Jt,$r]);return[(0,ue.useCallback)(ir=>{var nr;if(!me)return ir.filter(uo=>uo!==Br);let Xa=(0,xn.Z)(ir);const Ka=new Set(Ko),ro=tr.map(gr).filter(uo=>!Ar.get(uo).disabled),Ha=ro.every(uo=>Ka.has(uo)),vr=ro.some(uo=>Ka.has(uo)),Qr=()=>{const uo=[];Ha?ro.forEach(Lo=>{Ka.delete(Lo),uo.push(Lo)}):ro.forEach(Lo=>{Ka.has(Lo)||(Ka.add(Lo),uo.push(Lo))});const vo=Array.from(Ka);Mt==null||Mt(!Ha,vo.map(Lo=>Ma(Lo)),uo.map(Lo=>Ma(Lo))),$r(vo,"all"),Qo(null)};let Wr;if(bn!=="radio"){let uo;if(Oo){const zr={getPopupContainer:Da,items:Oo.map((hi,Si)=>{const{key:pi,text:dl,onSelect:nl}=hi;return{key:pi!=null?pi:Si,onClick:()=>{nl==null||nl(ro)},label:dl}})};uo=ue.createElement("div",{className:`${Ca}-selection-extra`},ue.createElement(Mo.Z,{menu:zr,getPopupContainer:Da},ue.createElement("span",null,ue.createElement(Ia.Z,null))))}const vo=tr.map((zr,hi)=>{const Si=gr(zr,hi),pi=Ar.get(Si)||{};return Object.assign({checked:Ka.has(Si)},pi)}).filter(zr=>{let{disabled:hi}=zr;return hi}),Lo=!!vo.length&&vo.length===tr.length,Go=Lo&&vo.every(zr=>{let{checked:hi}=zr;return hi}),Jo=Lo&&vo.some(zr=>{let{checked:hi}=zr;return hi});Wr=!oa&&ue.createElement("div",{className:`${Ca}-selection`},ue.createElement(Ur.default,{checked:Lo?Go:!!tr.length&&Ha,indeterminate:Lo?!Go&&Jo:!Ha&&vr,onChange:Qr,disabled:tr.length===0||Lo,"aria-label":uo?"Custom selection":"Select all",skipGroup:!0}),uo)}let di;bn==="radio"?di=(uo,vo,Lo)=>{const Go=gr(vo,Lo),Jo=Ka.has(Go);return{node:ue.createElement(il.ZP,Object.assign({},Ar.get(Go),{checked:Jo,onClick:zr=>zr.stopPropagation(),onChange:zr=>{Ka.has(Go)||ko(Go,!0,[Go],zr.nativeEvent)}})),checked:Jo}}:di=(uo,vo,Lo)=>{var Go;const Jo=gr(vo,Lo),zr=Ka.has(Jo),hi=wo.has(Jo),Si=Ar.get(Jo);let pi;return Sr==="nest"?pi=hi:pi=(Go=Si==null?void 0:Si.indeterminate)!==null&&Go!==void 0?Go:hi,{node:ue.createElement(Ur.default,Object.assign({},Si,{indeterminate:pi,checked:zr,skipGroup:!0,onClick:dl=>dl.stopPropagation(),onChange:dl=>{let{nativeEvent:nl}=dl;const{shiftKey:Pi}=nl;let al=-1,Hi=-1;if(Pi&&ea){const Ii=new Set([Pr,Jo]);ro.some((Ei,Uo)=>{if(Ii.has(Ei))if(al===-1)al=Uo;else return Hi=Uo,!0;return!1})}if(Hi!==-1&&al!==Hi&&ea){const Ii=ro.slice(al,Hi+1),Ei=[];zr?Ii.forEach(Zo=>{Ka.has(Zo)&&(Ei.push(Zo),Ka.delete(Zo))}):Ii.forEach(Zo=>{Ka.has(Zo)||(Ei.push(Zo),Ka.add(Zo))});const Uo=Array.from(Ka);Qt==null||Qt(!zr,Uo.map(Zo=>Ma(Zo)),Ei.map(Zo=>Ma(Zo))),$r(Uo,"multiple")}else{const Ii=Io;if(ea){const Ei=zr?(0,ca._5)(Ii,Jo):(0,ca.L0)(Ii,Jo);ko(Jo,!zr,Ei,nl)}else{const Ei=(0,Kn.S)([].concat((0,xn.Z)(Ii),[Jo]),!0,pr,Zr),{checkedKeys:Uo,halfCheckedKeys:Zo}=Ei;let cl=Uo;if(zr){const Nl=new Set(Uo);Nl.delete(Jo),cl=(0,Kn.S)(Array.from(Nl),{checked:!1,halfCheckedKeys:Zo},pr,Zr).checkedKeys}ko(Jo,!zr,cl,nl)}}Qo(zr?null:Jo)}})),checked:zr}};const ci=(uo,vo,Lo)=>{const{node:Go,checked:Jo}=di(uo,vo,Lo);return qn?qn(Jo,vo,Lo,Go):Go};if(!Xa.includes(Br))if(Xa.findIndex(uo=>{var vo;return((vo=uo[xa])===null||vo===void 0?void 0:vo.columnType)==="EXPAND_COLUMN"})===0){const[uo,...vo]=Xa;Xa=[uo,Br].concat((0,xn.Z)(vo))}else Xa=[Br].concat((0,xn.Z)(Xa));const Gi=Xa.indexOf(Br);Xa=Xa.filter((uo,vo)=>uo!==Br||vo===Gi);const ei=Xa[Gi-1],Vi=Xa[Gi+1];let ti=sa;ti===void 0&&((Vi==null?void 0:Vi.fixed)!==void 0?ti=Vi.fixed:(ei==null?void 0:ei.fixed)!==void 0&&(ti=ei.fixed)),ti&&ei&&((nr=ei[xa])===null||nr===void 0?void 0:nr.columnType)==="EXPAND_COLUMN"&&ei.fixed===void 0&&(ei.fixed=ti);const wi=He()(`${Ca}-selection-col`,{[`${Ca}-selection-col-with-dropdown`]:Rn&&bn==="checkbox"}),Ol={fixed:ti,width:In,className:`${Ca}-selection-column`,title:me.columnTitle||Wr,render:ci,onCell:me.onCell,[xa]:{className:wi}};return Xa.map(uo=>uo===Br?Ol:uo)},[gr,tr,me,Io,Ko,wo,In,Oo,Sr,Pr,Ar,Qt,ko,Zr]),Ko]},bo=ae(89489),ri=ae(59477),ji=ae(6848);const ze="ascend",tt="descend";function mt(fe){return typeof fe.sorter=="object"&&typeof fe.sorter.multiple=="number"?fe.sorter.multiple:!1}function Ct(fe){return typeof fe=="function"?fe:fe&&typeof fe=="object"&&fe.compare?fe.compare:!1}function fn(fe,me){return me?fe[fe.indexOf(me)+1]:fe[0]}function On(fe,me,Me){let Ge=[];function et(qe,Nt){Ge.push({column:qe,key:hr(qe,Nt),multiplePriority:mt(qe),sortOrder:qe.sortOrder})}return(fe||[]).forEach((qe,Nt)=>{const xt=_r(Nt,Me);qe.children?("sortOrder"in qe&&et(qe,xt),Ge=[].concat((0,xn.Z)(Ge),(0,xn.Z)(On(qe.children,me,xt)))):qe.sorter&&("sortOrder"in qe?et(qe,xt):me&&qe.defaultSortOrder&&Ge.push({column:qe,key:hr(qe,xt),multiplePriority:mt(qe),sortOrder:qe.defaultSortOrder}))}),Ge}function Xn(fe,me,Me,Ge,et,qe,Nt,xt){return(me||[]).map((Mt,Jt)=>{const Tt=_r(Jt,xt);let Qt=Mt;if(Qt.sorter){const In=Qt.sortDirections||et,bn=Qt.showSorterTooltip===void 0?Nt:Qt.showSorterTooltip,Rn=hr(Qt,Tt),sa=Me.find(Sr=>{let{key:Aa}=Sr;return Aa===Rn}),qn=sa?sa.sortOrder:null,oa=fn(In,qn);let ea;if(Mt.sortIcon)ea=Mt.sortIcon({sortOrder:qn});else{const Sr=In.includes(ze)&&ue.createElement(ri.Z,{className:He()(`${fe}-column-sorter-up`,{active:qn===ze})}),Aa=In.includes(tt)&&ue.createElement(bo.Z,{className:He()(`${fe}-column-sorter-down`,{active:qn===tt})});ea=ue.createElement("span",{className:He()(`${fe}-column-sorter`,{[`${fe}-column-sorter-full`]:!!(Sr&&Aa)})},ue.createElement("span",{className:`${fe}-column-sorter-inner`,"aria-hidden":"true"},Sr,Aa))}const{cancelSort:Ca,triggerAsc:Ua,triggerDesc:Ja}=qe||{};let Ma=Ca;oa===tt?Ma=Ja:oa===ze&&(Ma=Ua);const gr=typeof bn=="object"?bn:{title:Ma};Qt=Object.assign(Object.assign({},Qt),{className:He()(Qt.className,{[`${fe}-column-sort`]:qn}),title:Sr=>{const Aa=ue.createElement("div",{className:`${fe}-column-sorters`},ue.createElement("span",{className:`${fe}-column-title`},no(Mt.title,Sr)),ea);return bn?ue.createElement(ji.Z,Object.assign({},gr),Aa):Aa},onHeaderCell:Sr=>{const Aa=Mt.onHeaderCell&&Mt.onHeaderCell(Sr)||{},Za=Aa.onClick,Da=Aa.onKeyDown;Aa.onClick=ur=>{Ge({column:Mt,key:Rn,sortOrder:oa,multiplePriority:mt(Mt)}),Za==null||Za(ur)},Aa.onKeyDown=ur=>{ur.keyCode===ul.Z.ENTER&&(Ge({column:Mt,key:Rn,sortOrder:oa,multiplePriority:mt(Mt)}),Da==null||Da(ur))};const ha=fo(Mt.title,{}),La=ha==null?void 0:ha.toString();return qn?Aa["aria-sort"]=qn==="ascend"?"ascending":"descending":Aa["aria-label"]=La||"",Aa.className=He()(Aa.className,`${fe}-column-has-sorters`),Aa.tabIndex=0,Mt.ellipsis&&(Aa.title=(ha!=null?ha:"").toString()),Aa}})}return"children"in Qt&&(Qt=Object.assign(Object.assign({},Qt),{children:Xn(fe,Qt.children,Me,Ge,et,qe,Nt,Tt)})),Qt})}function Hn(fe){const{column:me,sortOrder:Me}=fe;return{column:me,order:Me,field:me.dataIndex,columnKey:me.key}}function Tn(fe){const me=fe.filter(Me=>{let{sortOrder:Ge}=Me;return Ge}).map(Hn);return me.length===0&&fe.length?Object.assign(Object.assign({},Hn(fe[fe.length-1])),{column:void 0}):me.length<=1?me[0]||{}:me}function un(fe,me,Me){const Ge=me.slice().sort((Nt,xt)=>xt.multiplePriority-Nt.multiplePriority),et=fe.slice(),qe=Ge.filter(Nt=>{let{column:{sorter:xt},sortOrder:Mt}=Nt;return Ct(xt)&&Mt});return qe.length?et.sort((Nt,xt)=>{for(let Mt=0;Mt<qe.length;Mt+=1){const Jt=qe[Mt],{column:{sorter:Tt},sortOrder:Qt}=Jt,In=Ct(Tt);if(In&&Qt){const bn=In(Nt,xt,Qt);if(bn!==0)return Qt===ze?bn:-bn}}return 0}).map(Nt=>{const xt=Nt[Me];return xt?Object.assign(Object.assign({},Nt),{[Me]:un(xt,me,Me)}):Nt}):et}function Gn(fe){let{prefixCls:me,mergedColumns:Me,onSorterChange:Ge,sortDirections:et,tableLocale:qe,showSorterTooltip:Nt}=fe;const[xt,Mt]=ue.useState(On(Me,!0)),Jt=ue.useMemo(()=>{let Rn=!0;const sa=On(Me,!1);if(!sa.length)return xt;const qn=[];function oa(Ca){Rn?qn.push(Ca):qn.push(Object.assign(Object.assign({},Ca),{sortOrder:null}))}let ea=null;return sa.forEach(Ca=>{ea===null?(oa(Ca),Ca.sortOrder&&(Ca.multiplePriority===!1?Rn=!1:ea=!0)):(ea&&Ca.multiplePriority!==!1||(Rn=!1),oa(Ca))}),qn},[Me,xt]),Tt=ue.useMemo(()=>{const Rn=Jt.map(sa=>{let{column:qn,sortOrder:oa}=sa;return{column:qn,order:oa}});return{sortColumns:Rn,sortColumn:Rn[0]&&Rn[0].column,sortOrder:Rn[0]&&Rn[0].order}},[Jt]);function Qt(Rn){let sa;Rn.multiplePriority===!1||!Jt.length||Jt[0].multiplePriority===!1?sa=[Rn]:sa=[].concat((0,xn.Z)(Jt.filter(qn=>{let{key:oa}=qn;return oa!==Rn.key})),[Rn]),Mt(sa),Ge(Tn(sa),sa)}return[Rn=>Xn(me,Rn,Jt,Qt,et,qe,Nt),Jt,Tt,()=>Tn(Jt)]}function da(fe,me){return fe.map(Me=>{const Ge=Object.assign({},Me);return Ge.title=no(Me.title,me),"children"in Ge&&(Ge.children=da(Ge.children,me)),Ge})}function qa(fe){return[ue.useCallback(Me=>da(Me,fe),[fe])]}var Ya=fr((fe,me)=>{const{_renderTimes:Me}=fe,{_renderTimes:Ge}=me;return Me!==Ge}),Qn=Vo((fe,me)=>{const{_renderTimes:Me}=fe,{_renderTimes:Ge}=me;return Me!==Ge}),Vn=ae(64993),Nn=ae(17313),jn=ae(83116),Fa=ae(37613),ba=fe=>{const{componentCls:me}=fe,Me=`${fe.lineWidth}px ${fe.lineType} ${fe.tableBorderColor}`,Ge=(et,qe,Nt)=>({[`&${me}-${et}`]:{[`> ${me}-container`]:{[`> ${me}-content, > ${me}-body`]:{"\n > table > tbody > tr > th,\n > table > tbody > tr > td\n ":{[`> ${me}-expanded-row-fixed`]:{margin:`-${qe}px -${Nt+fe.lineWidth}px`}}}}}});return{[`${me}-wrapper`]:{[`${me}${me}-bordered`]:Object.assign(Object.assign(Object.assign({[`> ${me}-title`]:{border:Me,borderBottom:0},[`> ${me}-container`]:{borderInlineStart:Me,borderTop:Me,[`
> ${me}-content,
> ${me}-header,
> ${me}-body,
> ${me}-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:Me},"> thead":{"> tr:not(:last-child) > th":{borderBottom:Me},"> tr > th::before":{backgroundColor:"transparent !important"}},"\n > thead > tr,\n > tbody > tr,\n > tfoot > tr\n ":{[`> ${me}-cell-fix-right-first::after`]:{borderInlineEnd:Me}},"\n > tbody > tr > th,\n > tbody > tr > td\n ":{[`> ${me}-expanded-row-fixed`]:{margin:`-${fe.tablePaddingVertical}px -${fe.tablePaddingHorizontal+fe.lineWidth}px`,"&::after":{position:"absolute",top:0,insetInlineEnd:fe.lineWidth,bottom:0,borderInlineEnd:Me,content:'""'}}}}}},[`&${me}-scroll-horizontal`]:{[`> ${me}-container > ${me}-body`]:{"> table > tbody":{[`
> tr${me}-expanded-row,
> tr${me}-placeholder
`]:{"> th, > td":{borderInlineEnd:0}}}}}},Ge("middle",fe.tablePaddingVerticalMiddle,fe.tablePaddingHorizontalMiddle)),Ge("small",fe.tablePaddingVerticalSmall,fe.tablePaddingHorizontalSmall)),{[`> ${me}-footer`]:{border:Me,borderTop:0}}),[`${me}-cell`]:{[`${me}-container:first-child`]:{borderTop:0},"&-scrollbar:not([rowspan])":{boxShadow:`0 ${fe.lineWidth}px 0 ${fe.lineWidth}px ${fe.tableHeaderBg}`}},[`${me}-bordered ${me}-cell-scrollbar`]:{borderInlineEnd:Me}}}},fa=fe=>{const{componentCls:me}=fe;return{[`${me}-wrapper`]:{[`${me}-cell-ellipsis`]:Object.assign(Object.assign({},Nn.vS),{wordBreak:"keep-all",[`
&${me}-cell-fix-left-last,
&${me}-cell-fix-right-first
`]:{overflow:"visible",[`${me}-cell-content`]:{display:"block",overflow:"hidden",textOverflow:"ellipsis"}},[`${me}-column-title`]:{overflow:"hidden",textOverflow:"ellipsis",wordBreak:"keep-all"}})}}},va=fe=>{const{componentCls:me}=fe;return{[`${me}-wrapper`]:{[`${me}-tbody > tr${me}-placeholder`]:{textAlign:"center",color:fe.colorTextDisabled,"\n &:hover > th,\n &:hover > td,\n ":{background:fe.colorBgContainer}}}}},Ir=ae(15969),Fo=fe=>{const{componentCls:me,antCls:Me,controlInteractiveSize:Ge,motionDurationSlow:et,lineWidth:qe,paddingXS:Nt,lineType:xt,tableBorderColor:Mt,tableExpandIconBg:Jt,tableExpandColumnWidth:Tt,borderRadius:Qt,fontSize:In,fontSizeSM:bn,lineHeight:Rn,tablePaddingVertical:sa,tablePaddingHorizontal:qn,tableExpandedRowBg:oa,paddingXXS:ea}=fe,Ca=Ge/2-qe,Ua=Ca*2+qe*3,Ja=`${qe}px ${xt} ${Mt}`,Ma=ea-qe;return{[`${me}-wrapper`]:{[`${me}-expand-icon-col`]:{width:Tt},[`${me}-row-expand-icon-cell`]:{textAlign:"center",[`${me}-row-expand-icon`]:{display:"inline-flex",float:"none",verticalAlign:"sub"}},[`${me}-row-indent`]:{height:1,float:"left"},[`${me}-row-expand-icon`]:Object.assign(Object.assign({},(0,Ir.N)(fe)),{position:"relative",float:"left",boxSizing:"border-box",width:Ua,height:Ua,padding:0,color:"inherit",lineHeight:`${Ua}px`,background:Jt,border:Ja,borderRadius:Qt,transform:`scale(${Ge/Ua})`,transition:`all ${et}`,userSelect:"none","&:focus, &:hover, &:active":{borderColor:"currentcolor"},"&::before, &::after":{position:"absolute",background:"currentcolor",transition:`transform ${et} ease-out`,content:'""'},"&::before":{top:Ca,insetInlineEnd:Ma,insetInlineStart:Ma,height:qe},"&::after":{top:Ma,bottom:Ma,insetInlineStart:Ca,width:qe,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"}}),[`${me}-row-indent + ${me}-row-expand-icon`]:{marginTop:(In*Rn-qe*3)/2-Math.ceil((bn*1.4-qe*3)/2),marginInlineEnd:Nt},[`tr${me}-expanded-row`]:{"&, &:hover":{"> th, > td":{background:oa}},[`${Me}-descriptions-view`]:{display:"flex",table:{flex:"auto",width:"auto"}}},[`${me}-expanded-row-fixed`]:{position:"relative",margin:`-${sa}px -${qn}px`,padding:`${sa}px ${qn}px`}}}},er=fe=>{const{componentCls:me,antCls:Me,iconCls:Ge,tableFilterDropdownWidth:et,tableFilterDropdownSearchWidth:qe,paddingXXS:Nt,paddingXS:xt,colorText:Mt,lineWidth:Jt,lineType:Tt,tableBorderColor:Qt,tableHeaderIconColor:In,fontSizeSM:bn,tablePaddingHorizontal:Rn,borderRadius:sa,motionDurationSlow:qn,colorTextDescription:oa,colorPrimary:ea,tableHeaderFilterActiveBg:Ca,colorTextDisabled:Ua,tableFilterDropdownBg:Ja,tableFilterDropdownHeight:Ma,controlItemBgHover:gr,controlItemBgActive:Sr,boxShadowSecondary:Aa,filterDropdownMenuBg:Za}=fe,Da=`${Me}-dropdown`,ha=`${me}-filter-dropdown`,La=`${Me}-tree`,ur=`${Jt}px ${Tt} ${Qt}`;return[{[`${me}-wrapper`]:{[`${me}-filter-column`]:{display:"flex",justifyContent:"space-between"},[`${me}-filter-trigger`]:{position:"relative",display:"flex",alignItems:"center",marginBlock:-Nt,marginInline:`${Nt}px ${-Rn/2}px`,padding:`0 ${Nt}px`,color:In,fontSize:bn,borderRadius:sa,cursor:"pointer",transition:`all ${qn}`,"&:hover":{color:oa,background:Ca},"&.active":{color:ea}}}},{[`${Me}-dropdown`]:{[ha]:Object.assign(Object.assign({},(0,Nn.Wf)(fe)),{minWidth:et,backgroundColor:Ja,borderRadius:sa,boxShadow:Aa,overflow:"hidden",[`${Da}-menu`]:{maxHeight:Ma,overflowX:"hidden",border:0,boxShadow:"none",borderRadius:"unset",backgroundColor:Za,"&:empty::after":{display:"block",padding:`${xt}px 0`,color:Ua,fontSize:bn,textAlign:"center",content:'"Not Found"'}},[`${ha}-tree`]:{paddingBlock:`${xt}px 0`,paddingInline:xt,[La]:{padding:0},[`${La}-treenode ${La}-node-content-wrapper:hover`]:{backgroundColor:gr},[`${La}-treenode-checkbox-checked ${La}-node-content-wrapper`]:{"&, &:hover":{backgroundColor:Sr}}},[`${ha}-search`]:{padding:xt,borderBottom:ur,"&-input":{input:{minWidth:qe},[Ge]:{color:Ua}}},[`${ha}-checkall`]:{width:"100%",marginBottom:Nt,marginInlineStart:Nt},[`${ha}-btns`]:{display:"flex",justifyContent:"space-between",padding:`${xt-Jt}px ${xt}px`,overflow:"hidden",borderTop:ur}})}},{[`${Me}-dropdown ${ha}, ${ha}-submenu`]:{[`${Me}-checkbox-wrapper + span`]:{paddingInlineStart:xt,color:Mt},"> ul":{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]},fi=fe=>{const{componentCls:me,lineWidth:Me,colorSplit:Ge,motionDurationSlow:et,zIndexTableFixed:qe,tableBg:Nt,zIndexTableSticky:xt}=fe,Mt=Ge;return{[`${me}-wrapper`]:{[`
${me}-cell-fix-left,
${me}-cell-fix-right
`]:{position:"sticky !important",zIndex:qe,background:Nt},[`
${me}-cell-fix-left-first::after,
${me}-cell-fix-left-last::after
`]:{position:"absolute",top:0,right:{_skip_check_:!0,value:0},bottom:-Me,width:30,transform:"translateX(100%)",transition:`box-shadow ${et}`,content:'""',pointerEvents:"none"},[`${me}-cell-fix-left-all::after`]:{display:"none"},[`
${me}-cell-fix-right-first::after,
${me}-cell-fix-right-last::after
`]:{position:"absolute",top:0,bottom:-Me,left:{_skip_check_:!0,value:0},width:30,transform:"translateX(-100%)",transition:`box-shadow ${et}`,content:'""',pointerEvents:"none"},[`${me}-container`]:{"&::before, &::after":{position:"absolute",top:0,bottom:0,zIndex:xt+1,width:30,transition:`box-shadow ${et}`,content:'""',pointerEvents:"none"},"&::before":{insetInlineStart:0},"&::after":{insetInlineEnd:0}},[`${me}-ping-left`]:{[`&:not(${me}-has-fix-left) ${me}-container`]:{position:"relative","&::before":{boxShadow:`inset 10px 0 8px -8px ${Mt}`}},[`
${me}-cell-fix-left-first::after,
${me}-cell-fix-left-last::after
`]:{boxShadow:`inset 10px 0 8px -8px ${Mt}`},[`${me}-cell-fix-left-last::before`]:{backgroundColor:"transparent !important"}},[`${me}-ping-right`]:{[`&:not(${me}-has-fix-right) ${me}-container`]:{position:"relative","&::after":{boxShadow:`inset -10px 0 8px -8px ${Mt}`}},[`
${me}-cell-fix-right-first::after,
${me}-cell-fix-right-last::after
`]:{boxShadow:`inset -10px 0 8px -8px ${Mt}`}}}}},Co=fe=>{const{componentCls:me,antCls:Me}=fe;return{[`${me}-wrapper`]:{[`${me}-pagination${Me}-pagination`]:{margin:`${fe.margin}px 0`},[`${me}-pagination`]:{display:"flex",flexWrap:"wrap",rowGap:fe.paddingXS,"> *":{flex:"none"},"&-left":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-right":{justifyContent:"flex-end"}}}}},Do=fe=>{const{componentCls:me,tableRadius:Me}=fe;return{[`${me}-wrapper`]:{[me]:{[`${me}-title, ${me}-header`]:{borderRadius:`${Me}px ${Me}px 0 0`},[`${me}-title + ${me}-container`]:{borderStartStartRadius:0,borderStartEndRadius:0,[`${me}-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:Me,borderStartEndRadius:Me,"table > thead > tr:first-child":{"> *:first-child":{borderStartStartRadius:Me},"> *:last-child":{borderStartEndRadius:Me}}},"&-footer":{borderRadius:`0 0 ${Me}px ${Me}px`}}}}},gl=fe=>{const{componentCls:me}=fe;return{[`${me}-wrapper-rtl`]:{direction:"rtl",table:{direction:"rtl"},[`${me}-pagination-left`]:{justifyContent:"flex-end"},[`${me}-pagination-right`]:{justifyContent:"flex-start"},[`${me}-row-expand-icon`]:{float:"right","&::after":{transform:"rotate(-90deg)"},"&-collapsed::before":{transform:"rotate(180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"}},[`${me}-container`]:{"&::before":{insetInlineStart:"unset",insetInlineEnd:0},"&::after":{insetInlineStart:0,insetInlineEnd:"unset"},[`${me}-row-indent`]:{float:"right"}}}}},Al=fe=>{const{componentCls:me,antCls:Me,iconCls:Ge,fontSizeIcon:et,padding:qe,paddingXS:Nt,tableHeaderIconColor:xt,tableHeaderIconColorHover:Mt,tableSelectionColumnWidth:Jt}=fe;return{[`${me}-wrapper`]:{[`${me}-selection-col`]:{width:Jt,[`&${me}-selection-col-with-dropdown`]:{width:Jt+et+qe/4}},[`${me}-bordered ${me}-selection-col`]:{width:Jt+Nt*2,[`&${me}-selection-col-with-dropdown`]:{width:Jt+et+qe/4+Nt*2}},[`
table tr th${me}-selection-column,
table tr td${me}-selection-column
`]:{paddingInlineEnd:fe.paddingXS,paddingInlineStart:fe.paddingXS,textAlign:"center",[`${Me}-radio-wrapper`]:{marginInlineEnd:0}},[`table tr th${me}-selection-column${me}-cell-fix-left`]:{zIndex:fe.zIndexTableFixed+1},[`table tr th${me}-selection-column::after`]:{backgroundColor:"transparent !important"},[`${me}-selection`]:{position:"relative",display:"inline-flex",flexDirection:"column"},[`${me}-selection-extra`]:{position:"absolute",top:0,zIndex:1,cursor:"pointer",transition:`all ${fe.motionDurationSlow}`,marginInlineStart:"100%",paddingInlineStart:`${fe.tablePaddingHorizontal/4}px`,[Ge]:{color:xt,fontSize:et,verticalAlign:"baseline","&:hover":{color:Mt}}}}}},Tl=fe=>{const{componentCls:me}=fe,Me=(Ge,et,qe,Nt)=>({[`${me}${me}-${Ge}`]:{fontSize:Nt,[`
${me}-title,
${me}-footer,
${me}-cell,
${me}-thead > tr > th,
${me}-tbody > tr > th,
${me}-tbody > tr > td,
tfoot > tr > th,
tfoot > tr > td
`]:{padding:`${et}px ${qe}px`},[`${me}-filter-trigger`]:{marginInlineEnd:`-${qe/2}px`},[`${me}-expanded-row-fixed`]:{margin:`-${et}px -${qe}px`},[`${me}-tbody`]:{[`${me}-wrapper:only-child ${me}`]:{marginBlock:`-${et}px`,marginInline:`${fe.tableExpandColumnWidth-qe}px -${qe}px`}},[`${me}-selection-column`]:{paddingInlineStart:`${qe/4}px`}}});return{[`${me}-wrapper`]:Object.assign(Object.assign({},Me("middle",fe.tablePaddingVerticalMiddle,fe.tablePaddingHorizontalMiddle,fe.tableFontSizeMiddle)),Me("small",fe.tablePaddingVerticalSmall,fe.tablePaddingHorizontalSmall,fe.tableFontSizeSmall))}},vl=fe=>{const{componentCls:me,marginXXS:Me,fontSizeIcon:Ge,tableHeaderIconColor:et,tableHeaderIconColorHover:qe}=fe;return{[`${me}-wrapper`]:{[`${me}-thead th${me}-column-has-sorters`]:{outline:"none",cursor:"pointer",transition:`all ${fe.motionDurationSlow}`,"&:hover":{background:fe.tableHeaderSortHoverBg,"&::before":{backgroundColor:"transparent !important"}},"&:focus-visible":{color:fe.colorPrimary},[`
&${me}-cell-fix-left:hover,
&${me}-cell-fix-right:hover
`]:{background:fe.tableFixedHeaderSortActiveBg}},[`${me}-thead th${me}-column-sort`]:{background:fe.tableHeaderSortBg,"&::before":{backgroundColor:"transparent !important"}},[`td${me}-column-sort`]:{background:fe.tableBodySortBg},[`${me}-column-title`]:{position:"relative",zIndex:1,flex:1},[`${me}-column-sorters`]:{display:"flex",flex:"auto",alignItems:"center",justifyContent:"space-between","&::after":{position:"absolute",inset:0,width:"100%",height:"100%",content:'""'}},[`${me}-column-sorter`]:{marginInlineStart:Me,color:et,fontSize:0,transition:`color ${fe.motionDurationSlow}`,"&-inner":{display:"inline-flex",flexDirection:"column",alignItems:"center"},"&-up, &-down":{fontSize:Ge,"&.active":{color:fe.colorPrimary}},[`${me}-column-sorter-up + ${me}-column-sorter-down`]:{marginTop:"-0.3em"}},[`${me}-column-sorters:hover ${me}-column-sorter`]:{color:qe}}}},Il=fe=>{const{componentCls:me,opacityLoading:Me,tableScrollThumbBg:Ge,tableScrollThumbBgHover:et,tableScrollThumbSize:qe,tableScrollBg:Nt,zIndexTableSticky:xt,stickyScrollBarBorderRadius:Mt}=fe,Jt=`${fe.lineWidth}px ${fe.lineType} ${fe.tableBorderColor}`;return{[`${me}-wrapper`]:{[`${me}-sticky`]:{"&-holder":{position:"sticky",zIndex:xt,background:fe.colorBgContainer},"&-scroll":{position:"sticky",bottom:0,height:`${qe}px !important`,zIndex:xt,display:"flex",alignItems:"center",background:Nt,borderTop:Jt,opacity:Me,"&:hover":{transformOrigin:"center bottom"},"&-bar":{height:qe,backgroundColor:Ge,borderRadius:Mt,transition:`all ${fe.motionDurationSlow}, transform none`,position:"absolute",bottom:0,"&:hover, &-active":{backgroundColor:et}}}}}}},sl=fe=>{const{componentCls:me,lineWidth:Me,tableBorderColor:Ge}=fe,et=`${Me}px ${fe.lineType} ${Ge}`;return{[`${me}-wrapper`]:{[`${me}-summary`]:{position:"relative",zIndex:fe.zIndexTableFixed,background:fe.tableBg,"> tr":{"> th, > td":{borderBottom:et}}},[`div${me}-summary`]:{boxShadow:`0 -${Me}px 0 ${Ge}`}}}},Ll=fe=>{const{componentCls:me}=fe,Me=`${fe.lineWidth}px ${fe.lineType} ${fe.tableBorderColor}`,Ge=`${me}-expanded-row-cell`;return{[`${me}-wrapper`]:{[`${me}-tbody-virtual`]:{[`${me}-row`]:{display:"flex",boxSizing:"border-box",width:"100%"},[`${me}-cell`]:{borderBottom:Me},[`${me}-expanded-row`]:{[`${Ge}${Ge}-fixed`]:{position:"sticky",insetInlineStart:0,overflow:"hidden",width:`calc(var(--virtual-width) - ${fe.lineWidth}px)`,borderInlineEnd:"none"}}},[`${me}-bordered`]:{[`${me}-tbody-virtual`]:{"&:after":{content:'""',insetInline:0,bottom:0,borderBottom:Me,position:"absolute"},[`${me}-cell`]:{borderInlineEnd:Me,[`&${me}-cell-fix-right-first:before`]:{content:'""',position:"absolute",insetBlock:0,insetInlineStart:-fe.lineWidth,borderInlineStart:Me}}}}}}};const Kl=fe=>{const{componentCls:me,fontWeightStrong:Me,tablePaddingVertical:Ge,tablePaddingHorizontal:et,lineWidth:qe,lineType:Nt,tableBorderColor:xt,tableFontSize:Mt,tableBg:Jt,tableRadius:Tt,tableHeaderTextColor:Qt,motionDurationMid:In,tableHeaderBg:bn,tableHeaderCellSplitColor:Rn,tableRowHoverBg:sa,tableSelectedRowBg:qn,tableSelectedRowHoverBg:oa,tableFooterTextColor:ea,tableFooterBg:Ca,paddingContentVerticalLG:Ua}=fe,Ja=`${qe}px ${Nt} ${xt}`;return{[`${me}-wrapper`]:Object.assign(Object.assign({clear:"both",maxWidth:"100%"},(0,Nn.dF)()),{[me]:Object.assign(Object.assign({},(0,Nn.Wf)(fe)),{fontSize:Mt,background:Jt,borderRadius:`${Tt}px ${Tt}px 0 0`}),table:{width:"100%",textAlign:"start",borderRadius:`${Tt}px ${Tt}px 0 0`,borderCollapse:"separate",borderSpacing:0},[`
${me}-cell,
${me}-thead > tr > th,
${me}-tbody > tr > th,
${me}-tbody > tr > td,
tfoot > tr > th,
tfoot > tr > td
`]:{position:"relative",padding:`${Ua}px ${et}px`,overflowWrap:"break-word"},[`${me}-title`]:{padding:`${Ge}px ${et}px`},[`${me}-thead`]:{"\n > tr > th,\n > tr > td\n ":{position:"relative",color:Qt,fontWeight:Me,textAlign:"start",background:bn,borderBottom:Ja,transition:`background ${In} ease`,"&[colspan]:not([colspan='1'])":{textAlign:"center"},[`&:not(:last-child):not(${me}-selection-column):not(${me}-row-expand-icon-cell):not([colspan])::before`]:{position:"absolute",top:"50%",insetInlineEnd:0,width:1,height:"1.6em",backgroundColor:Rn,transform:"translateY(-50%)",transition:`background-color ${In}`,content:'""'}},"> tr:not(:last-child) > th[colspan]":{borderBottom:0}},[`${me}-tbody`]:{"> tr":{"> th, > td":{transition:`background ${In}, border-color ${In}`,borderBottom:Ja,[`
> ${me}-wrapper:only-child,
> ${me}-expanded-row-fixed > ${me}-wrapper:only-child
`]:{[me]:{marginBlock:`-${Ge}px`,marginInline:`${fe.tableExpandColumnWidth-et}px -${et}px`,[`${me}-tbody > tr:last-child > td`]:{borderBottom:0,"&:first-child, &:last-child":{borderRadius:0}}}}},"> th":{position:"relative",color:Qt,fontWeight:Me,textAlign:"start",background:bn,borderBottom:Ja,transition:`background ${In} ease`},[`
&${me}-row:hover > th,
&${me}-row:hover > td,
> th${me}-cell-row-hover,
> td${me}-cell-row-hover
`]:{background:sa},[`&${me}-row-selected`]:{"> th, > td":{background:qn},"&:hover > th, &:hover > td":{background:oa}}}},[`${me}-footer`]:{padding:`${Ge}px ${et}px`,color:ea,background:Ca}})}};var Ul=(0,jn.Z)("Table",fe=>{const{colorTextHeading:me,colorSplit:Me,colorIcon:Ge,colorIconHover:et,opacityLoading:qe,colorBgContainer:Nt,controlInteractiveSize:xt,headerBg:Mt,headerColor:Jt,headerSortActiveBg:Tt,headerSortHoverBg:Qt,bodySortBg:In,rowHoverBg:bn,rowSelectedBg:Rn,rowSelectedHoverBg:sa,rowExpandedBg:qn,cellPaddingBlock:oa,cellPaddingInline:ea,cellPaddingBlockMD:Ca,cellPaddingInlineMD:Ua,cellPaddingBlockSM:Ja,cellPaddingInlineSM:Ma,borderColor:gr,footerBg:Sr,footerColor:Aa,headerBorderRadius:Za,cellFontSize:Da,cellFontSizeMD:ha,cellFontSizeSM:La,headerSplitColor:ur,fixedHeaderSortActiveBg:wr,headerFilterHoverBg:pr,filterDropdownBg:tr,expandIconBg:Ar,selectionColumnWidth:Zr,stickyScrollBarBg:Io}=fe,to=new Vn.C(Ge),Ko=new Vn.C(et),wo=2,Pr=(0,Fa.TS)(fe,{tableFontSize:Da,tableBg:Nt,tableRadius:Za,tablePaddingVertical:oa,tablePaddingHorizontal:ea,tablePaddingVerticalMiddle:Ca,tablePaddingHorizontalMiddle:Ua,tablePaddingVerticalSmall:Ja,tablePaddingHorizontalSmall:Ma,tableBorderColor:gr,tableHeaderTextColor:Jt,tableHeaderBg:Mt,tableFooterTextColor:Aa,tableFooterBg:Sr,tableHeaderCellSplitColor:ur,tableHeaderSortBg:Tt,tableHeaderSortHoverBg:Qt,tableHeaderIconColor:to.clone().setAlpha(to.getAlpha()*qe).toRgbString(),tableHeaderIconColorHover:Ko.clone().setAlpha(Ko.getAlpha()*qe).toRgbString(),tableBodySortBg:In,tableFixedHeaderSortActiveBg:wr,tableHeaderFilterActiveBg:pr,tableFilterDropdownBg:tr,tableRowHoverBg:bn,tableSelectedRowBg:Rn,tableSelectedRowHoverBg:sa,zIndexTableFixed:wo,zIndexTableSticky:wo+1,tableFontSizeMiddle:ha,tableFontSizeSmall:La,tableSelectionColumnWidth:Zr,tableExpandIconBg:Ar,tableExpandColumnWidth:xt+2*fe.padding,tableExpandedRowBg:qn,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:Io,tableScrollThumbBgHover:me,tableScrollBg:Me});return[Kl(Pr),Co(Pr),sl(Pr),vl(Pr),er(Pr),ba(Pr),Do(Pr),Fo(Pr),sl(Pr),va(Pr),Al(Pr),fi(Pr),Il(Pr),fa(Pr),Tl(Pr),gl(Pr),Ll(Pr)]},fe=>{const{colorFillAlter:me,colorBgContainer:Me,colorTextHeading:Ge,colorFillSecondary:et,colorFillContent:qe,controlItemBgActive:Nt,controlItemBgActiveHover:xt,padding:Mt,paddingSM:Jt,paddingXS:Tt,colorBorderSecondary:Qt,borderRadiusLG:In,fontSize:bn,controlHeight:Rn,colorTextPlaceholder:sa}=fe,qn=new Vn.C(et).onBackground(Me).toHexShortString(),oa=new Vn.C(qe).onBackground(Me).toHexShortString(),ea=new Vn.C(me).onBackground(Me).toHexShortString();return{headerBg:ea,headerColor:Ge,headerSortActiveBg:qn,headerSortHoverBg:oa,bodySortBg:ea,rowHoverBg:ea,rowSelectedBg:Nt,rowSelectedHoverBg:xt,rowExpandedBg:me,cellPaddingBlock:Mt,cellPaddingInline:Mt,cellPaddingBlockMD:Jt,cellPaddingInlineMD:Tt,cellPaddingBlockSM:Tt,cellPaddingInlineSM:Tt,borderColor:Qt,headerBorderRadius:In,footerBg:ea,footerColor:Ge,cellFontSize:bn,cellFontSizeMD:bn,cellFontSizeSM:bn,headerSplitColor:Qt,fixedHeaderSortActiveBg:qn,headerFilterHoverBg:qe,filterDropdownMenuBg:Me,filterDropdownBg:Me,expandIconBg:Me,selectionColumnWidth:Rn,stickyScrollBarBg:sa,stickyScrollBarBorderRadius:100}});const tu=[],nu=(fe,me)=>{const{prefixCls:Me,className:Ge,rootClassName:et,style:qe,size:Nt,bordered:xt,dropdownPrefixCls:Mt,dataSource:Jt,pagination:Tt,rowSelection:Qt,rowKey:In="key",rowClassName:bn,columns:Rn,children:sa,childrenColumnName:qn,onChange:oa,getPopupContainer:ea,loading:Ca,expandIcon:Ua,expandable:Ja,expandedRowRender:Ma,expandIconColumnIndex:gr,indentSize:Sr,scroll:Aa,sortDirections:Za,locale:Da,showSorterTooltip:ha=!0,virtual:La}=fe,ur=ue.useMemo(()=>Rn||ct(sa),[Rn,sa]),wr=ue.useMemo(()=>ur.some(Yr=>Yr.responsive),[ur]),pr=(0,$i.Z)(wr),tr=ue.useMemo(()=>{const Yr=new Set(Object.keys(pr).filter(No=>pr[No]));return ur.filter(No=>!No.responsive||No.responsive.some(gi=>Yr.has(gi)))},[ur,pr]),Ar=(0,Di.Z)(fe,["className","style","columns"]),{locale:Zr=Yi.Z,direction:Io,table:to,renderEmpty:Ko,getPrefixCls:wo,getPopupContainer:Pr}=ue.useContext(Xo.E_),Qo=(0,pl.Z)(Nt),$r=Object.assign(Object.assign({},Zr.Table),Da),ko=Jt||tu,Oo=wo("table",Me),Fi=wo("dropdown",Mt),ir=Object.assign({childrenColumnName:qn,expandIconColumnIndex:gr},Ja),{childrenColumnName:nr="children"}=ir,Xa=ue.useMemo(()=>ko.some(Yr=>Yr==null?void 0:Yr[nr])?"nest":Ma||Ja&&Ja.expandedRowRender?"row":null,[ko]),Ka={body:ue.useRef()},ro=ue.useMemo(()=>typeof In=="function"?In:Yr=>Yr==null?void 0:Yr[In],[In]),[Ha]=dn(ko,nr,ro),vr={},Qr=function(Yr,No){let gi=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;var Ho,yi,bi;const Li=Object.assign(Object.assign({},vr),Yr);gi&&((Ho=vr.resetPagination)===null||Ho===void 0||Ho.call(vr),!((yi=Li.pagination)===null||yi===void 0)&&yi.current&&(Li.pagination.current=1),Tt&&Tt.onChange&&Tt.onChange(1,(bi=Li.pagination)===null||bi===void 0?void 0:bi.pageSize)),Aa&&Aa.scrollToFirstRowOnChange!==!1&&Ka.body.current&&(0,Ti.Z)(0,{getContainer:()=>Ka.body.current}),oa==null||oa(Li.pagination,Li.filters,Li.sorter,{currentDataSource:Dn(un(ko,Li.sorterStates,nr),Li.filterStates),action:No})},Wr=(Yr,No)=>{Qr({sorter:Yr,sorterStates:No},"sort",!1)},[di,ci,Gi,ei]=Gn({prefixCls:Oo,mergedColumns:tr,onSorterChange:Wr,sortDirections:Za||["ascend","descend"],tableLocale:$r,showSorterTooltip:ha}),Vi=ue.useMemo(()=>un(ko,ci,nr),[ko,ci]);vr.sorter=ei(),vr.sorterStates=ci;const ti=(Yr,No)=>{Qr({filters:Yr,filterStates:No},"filter",!0)},[wi,Ol,uo]=kt({prefixCls:Oo,locale:$r,dropdownPrefixCls:Fi,mergedColumns:tr,onFilterChange:ti,getPopupContainer:ea||Pr}),vo=Dn(Vi,Ol);vr.filters=uo,vr.filterStates=Ol;const Lo=ue.useMemo(()=>{const Yr={};return Object.keys(uo).forEach(No=>{uo[No]!==null&&(Yr[No]=uo[No])}),Object.assign(Object.assign({},Gi),{filters:Yr})},[Gi,uo]),[Go]=qa(Lo),Jo=(Yr,No)=>{Qr({pagination:Object.assign(Object.assign({},vr.pagination),{current:Yr,pageSize:No})},"paginate")},[zr,hi]=Fr(vo.length,Jo,Tt);vr.pagination=Tt===!1?{}:Qa(zr,Tt),vr.resetPagination=hi;const Si=ue.useMemo(()=>{if(Tt===!1||!zr.pageSize)return vo;const{current:Yr=1,total:No,pageSize:gi=or}=zr;return vo.length<No?vo.length>gi?vo.slice((Yr-1)*gi,Yr*gi):vo:vo.slice((Yr-1)*gi,Yr*gi)},[!!Tt,vo,zr&&zr.current,zr&&zr.pageSize,zr&&zr.total]),[pi,dl]=Vr({prefixCls:Oo,data:vo,pageData:Si,getRowKey:ro,getRecordByKey:Ha,expandType:Xa,childrenColumnName:nr,locale:$r,getPopupContainer:ea||Pr},Qt),nl=(Yr,No,gi)=>{let Ho;return typeof bn=="function"?Ho=He()(bn(Yr,No,gi)):Ho=He()(bn),He()({[`${Oo}-row-selected`]:dl.has(ro(Yr,No))},Ho)};ir.__PARENT_RENDER_ICON__=ir.expandIcon,ir.expandIcon=ir.expandIcon||Ua||Pa($r),Xa==="nest"&&ir.expandIconColumnIndex===void 0?ir.expandIconColumnIndex=Qt?1:0:ir.expandIconColumnIndex>0&&Qt&&(ir.expandIconColumnIndex-=1),typeof ir.indentSize!="number"&&(ir.indentSize=typeof Sr=="number"?Sr:15);const Pi=ue.useCallback(Yr=>Go(pi(wi(di(Yr)))),[di,wi,pi]);let al,Hi;if(Tt!==!1&&(zr!=null&&zr.total)){let Yr;zr.size?Yr=zr.size:Yr=Qo==="small"||Qo==="middle"?"small":void 0;const No=yi=>ue.createElement(Kr.Z,Object.assign({},zr,{className:He()(`${Oo}-pagination ${Oo}-pagination-${yi}`,zr.className),size:Yr})),gi=Io==="rtl"?"left":"right",{position:Ho}=zr;if(Ho!==null&&Array.isArray(Ho)){const yi=Ho.find(ml=>ml.includes("top")),bi=Ho.find(ml=>ml.includes("bottom")),Li=Ho.every(ml=>`${ml}`=="none");!yi&&!bi&&!Li&&(Hi=No(gi)),yi&&(al=No(yi.toLowerCase().replace("top",""))),bi&&(Hi=No(bi.toLowerCase().replace("bottom","")))}else Hi=No(gi)}let Ii;typeof Ca=="boolean"?Ii={spinning:Ca}:typeof Ca=="object"&&(Ii=Object.assign({spinning:!0},Ca));const[Ei,Uo]=Ul(Oo),[,Zo]=(0,na.Z)(),cl=He()(`${Oo}-wrapper`,to==null?void 0:to.className,{[`${Oo}-wrapper-rtl`]:Io==="rtl"},Ge,et,Uo),Nl=Object.assign(Object.assign({},to==null?void 0:to.style),qe),hl=Da&&Da.emptyText||(Ko==null?void 0:Ko("Table"))||ue.createElement(Ki.Z,{componentName:"Table"}),Qi=La?Qn:Ya,Sl={},fu=ue.useMemo(()=>{const{fontSize:Yr,lineHeight:No,padding:gi,paddingXS:Ho,paddingSM:yi}=Zo,bi=Math.floor(Yr*No);switch(Qo){case"large":return gi*2+bi;case"small":return Ho*2+bi;default:return yi*2+bi}},[Zo,Qo]);return La&&(Sl.listItemHeight=fu),Ei(ue.createElement("div",{ref:me,className:cl,style:Nl},ue.createElement(Ta.Z,Object.assign({spinning:!1},Ii),al,ue.createElement(Qi,Object.assign({},Sl,Ar,{columns:tr,direction:Io,expandable:ir,prefixCls:Oo,className:He()({[`${Oo}-middle`]:Qo==="middle",[`${Oo}-small`]:Qo==="small",[`${Oo}-bordered`]:xt,[`${Oo}-empty`]:ko.length===0}),data:Si,rowKey:ro,rowClassName:nl,emptyText:hl,internalHooks:se,internalRefs:Ka,transformColumns:Pi})),Hi)))};var Vl=ue.forwardRef(nu);const au=(fe,me)=>{const Me=ue.useRef(0);return Me.current+=1,ue.createElement(Vl,Object.assign({},fe,{ref:me,_renderTimes:Me.current}))},jt=ue.forwardRef(au);jt.SELECTION_COLUMN=Br,jt.EXPAND_COLUMN=b,jt.SELECTION_ALL=Jr,jt.SELECTION_INVERT=dr,jt.SELECTION_NONE=kr,jt.Column=Mi,jt.ColumnGroup=Wi,jt.Summary=we;var Ea=jt,br=Ea},12563:function(_t,Rt,ae){"use strict";ae.d(Rt,{default:function(){return Le}});var b=ae(59301),se=ae(99267),be=ae(92310),Ae=ae.n(be),Ie=ae(36785),Re=ae(47729),ue=ae(14088),Ze=ae(36355),We=ae(17313),Te=ae(37613),ke=ae(83116);const je=ve=>{const{paddingXXS:$e,lineWidth:He,tagPaddingHorizontal:it,componentCls:Ne}=ve,Qe=it-He,lt=$e-He;return{[Ne]:Object.assign(Object.assign({},(0,We.Wf)(ve)),{display:"inline-block",height:"auto",marginInlineEnd:ve.marginXS,paddingInline:Qe,fontSize:ve.tagFontSize,lineHeight:ve.tagLineHeight,whiteSpace:"nowrap",background:ve.defaultBg,border:`${ve.lineWidth}px ${ve.lineType} ${ve.colorBorder}`,borderRadius:ve.borderRadiusSM,opacity:1,transition:`all ${ve.motionDurationMid}`,textAlign:"start",position:"relative",[`&${Ne}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:ve.defaultColor},[`${Ne}-close-icon`]:{marginInlineStart:lt,color:ve.colorTextDescription,fontSize:ve.tagIconSize,cursor:"pointer",transition:`all ${ve.motionDurationMid}`,"&:hover":{color:ve.colorTextHeading}},[`&${Ne}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${ve.iconCls}-close, ${ve.iconCls}-close:hover`]:{color:ve.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${Ne}-checkable-checked):hover`]:{color:ve.colorPrimary,backgroundColor:ve.colorFillSecondary},"&:active, &-checked":{color:ve.colorTextLightSolid},"&-checked":{backgroundColor:ve.colorPrimary,"&:hover":{backgroundColor:ve.colorPrimaryHover}},"&:active":{backgroundColor:ve.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${ve.iconCls} + span, > span + ${ve.iconCls}`]:{marginInlineStart:Qe}}),[`${Ne}-borderless`]:{borderColor:"transparent",background:ve.tagBorderlessBg}}},De=ve=>{const{lineWidth:$e,fontSizeIcon:He}=ve,it=ve.fontSizeSM,Ne=`${ve.lineHeightSM*it}px`;return(0,Te.TS)(ve,{tagFontSize:it,tagLineHeight:Ne,tagIconSize:He-2*$e,tagPaddingHorizontal:8,tagBorderlessBg:ve.colorFillTertiary})},le=ve=>({defaultBg:ve.colorFillQuaternary,defaultColor:ve.colorText});var E=(0,ke.Z)("Tag",ve=>{const $e=De(ve);return je($e)},le),a=function(ve,$e){var He={};for(var it in ve)Object.prototype.hasOwnProperty.call(ve,it)&&$e.indexOf(it)<0&&(He[it]=ve[it]);if(ve!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ne=0,it=Object.getOwnPropertySymbols(ve);Ne<it.length;Ne++)$e.indexOf(it[Ne])<0&&Object.prototype.propertyIsEnumerable.call(ve,it[Ne])&&(He[it[Ne]]=ve[it[Ne]]);return He},y=ve=>{const{prefixCls:$e,style:He,className:it,checked:Ne,onChange:Qe,onClick:lt}=ve,Ke=a(ve,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:Ye,tag:Kt}=b.useContext(Ze.E_),ot=Dt=>{Qe==null||Qe(!Ne),lt==null||lt(Dt)},Ht=Ye("tag",$e),[en,Je]=E(Ht),ft=Ae()(Ht,`${Ht}-checkable`,{[`${Ht}-checkable-checked`]:Ne},Kt==null?void 0:Kt.className,it,Je);return en(b.createElement("span",Object.assign({},Ke,{style:Object.assign(Object.assign({},He),Kt==null?void 0:Kt.style),className:ft,onClick:ot})))},z=ae(45157);const te=ve=>(0,z.Z)(ve,($e,He)=>{let{textColor:it,lightBorderColor:Ne,lightColor:Qe,darkColor:lt}=He;return{[`${ve.componentCls}-${$e}`]:{color:it,background:Qe,borderColor:Ne,"&-inverse":{color:ve.colorTextLightSolid,background:lt,borderColor:lt},[`&${ve.componentCls}-borderless`]:{borderColor:"transparent"}}}});var re=(0,ke.b)(["Tag","preset"],ve=>{const $e=De(ve);return te($e)},le);function ie(ve){return typeof ve!="string"?ve:ve.charAt(0).toUpperCase()+ve.slice(1)}const ce=(ve,$e,He)=>{const it=ie(He);return{[`${ve.componentCls}-${$e}`]:{color:ve[`color${He}`],background:ve[`color${it}Bg`],borderColor:ve[`color${it}Border`],[`&${ve.componentCls}-borderless`]:{borderColor:"transparent"}}}};var pe=(0,ke.b)(["Tag","status"],ve=>{const $e=De(ve);return[ce($e,"success","Success"),ce($e,"processing","Info"),ce($e,"error","Error"),ce($e,"warning","Warning")]},le),ge=function(ve,$e){var He={};for(var it in ve)Object.prototype.hasOwnProperty.call(ve,it)&&$e.indexOf(it)<0&&(He[it]=ve[it]);if(ve!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ne=0,it=Object.getOwnPropertySymbols(ve);Ne<it.length;Ne++)$e.indexOf(it[Ne])<0&&Object.prototype.propertyIsEnumerable.call(ve,it[Ne])&&(He[it[Ne]]=ve[it[Ne]]);return He};const ye=(ve,$e)=>{const{prefixCls:He,className:it,rootClassName:Ne,style:Qe,children:lt,icon:Ke,color:Ye,onClose:Kt,closeIcon:ot,closable:Ht,bordered:en=!0}=ve,Je=ge(ve,["prefixCls","className","rootClassName","style","children","icon","color","onClose","closeIcon","closable","bordered"]),{getPrefixCls:ft,direction:Dt,tag:ln}=b.useContext(Ze.E_),[yt,Yt]=b.useState(!0);b.useEffect(()=>{"visible"in Je&&Yt(Je.visible)},[Je.visible]);const Be=(0,Ie.o2)(Ye),Ut=(0,Ie.yT)(Ye),Cn=Be||Ut,Ft=Object.assign(Object.assign({backgroundColor:Ye&&!Cn?Ye:void 0},ln==null?void 0:ln.style),Qe),It=ft("tag",He),[nt,Ue]=E(It),Fe=Ae()(It,ln==null?void 0:ln.className,{[`${It}-${Ye}`]:Cn,[`${It}-has-color`]:Ye&&!Cn,[`${It}-hidden`]:!yt,[`${It}-rtl`]:Dt==="rtl",[`${It}-borderless`]:!en},it,Ne,Ue),he=Xe=>{Xe.stopPropagation(),Kt==null||Kt(Xe),!Xe.defaultPrevented&&Yt(!1)},[,at]=(0,Re.Z)(Ht,ot,Xe=>Xe===null?b.createElement(se.Z,{className:`${It}-close-icon`,onClick:he}):b.createElement("span",{className:`${It}-close-icon`,onClick:he},Xe),null,!1),At=typeof Je.onClick=="function"||lt&&lt.type==="a",we=Ke||null,Ce=we?b.createElement(b.Fragment,null,we,lt&&b.createElement("span",null,lt)):lt,vt=b.createElement("span",Object.assign({},Je,{ref:$e,className:Fe,style:Ft}),Ce,at,Be&&b.createElement(re,{key:"preset",prefixCls:It}),Ut&&b.createElement(pe,{key:"status",prefixCls:It}));return nt(At?b.createElement(ue.Z,{component:"Tag"},vt):vt)},Ee=b.forwardRef(ye);Ee.CheckableTag=y;var Le=Ee},10777:function(_t,Rt,ae){"use strict";ae.d(Rt,{Z:function(){return pe}});var b=ae(92310),se=ae.n(b),be=ae(59301),Ae=ae(36355),Ie=function(ge,ye){var Ee={};for(var Le in ge)Object.prototype.hasOwnProperty.call(ge,Le)&&ye.indexOf(Le)<0&&(Ee[Le]=ge[Le]);if(ge!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ve=0,Le=Object.getOwnPropertySymbols(ge);ve<Le.length;ve++)ye.indexOf(Le[ve])<0&&Object.prototype.propertyIsEnumerable.call(ge,Le[ve])&&(Ee[Le[ve]]=ge[Le[ve]]);return Ee},ue=ge=>{var{prefixCls:ye,className:Ee,color:Le="blue",dot:ve,pending:$e=!1,position:He,label:it,children:Ne}=ge,Qe=Ie(ge,["prefixCls","className","color","dot","pending","position","label","children"]);const{getPrefixCls:lt}=be.useContext(Ae.E_),Ke=lt("timeline",ye),Ye=se()(`${Ke}-item`,{[`${Ke}-item-pending`]:$e},Ee),Kt=/blue|red|green|gray/.test(Le||"")?void 0:Le,ot=se()(`${Ke}-item-head`,{[`${Ke}-item-head-custom`]:!!ve,[`${Ke}-item-head-${Le}`]:!Kt});return be.createElement("li",Object.assign({},Qe,{className:Ye}),it&&be.createElement("div",{className:`${Ke}-item-label`},it),be.createElement("div",{className:`${Ke}-item-tail`}),be.createElement("div",{className:ot,style:{borderColor:Kt,color:Kt}},ve),be.createElement("div",{className:`${Ke}-item-content`},Ne))},Ze=ae(95190),We=ae(58617),Te=function(ge,ye){var Ee={};for(var Le in ge)Object.prototype.hasOwnProperty.call(ge,Le)&&ye.indexOf(Le)<0&&(Ee[Le]=ge[Le]);if(ge!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ve=0,Le=Object.getOwnPropertySymbols(ge);ve<Le.length;ve++)ye.indexOf(Le[ve])<0&&Object.prototype.propertyIsEnumerable.call(ge,Le[ve])&&(Ee[Le[ve]]=ge[Le[ve]]);return Ee},je=ge=>{var{prefixCls:ye,className:Ee,pending:Le=!1,children:ve,items:$e,rootClassName:He,reverse:it=!1,direction:Ne,hashId:Qe,pendingDot:lt,mode:Ke=""}=ge,Ye=Te(ge,["prefixCls","className","pending","children","items","rootClassName","reverse","direction","hashId","pendingDot","mode"]);const Kt=(yt,Yt)=>Ke==="alternate"?yt==="right"?`${ye}-item-right`:yt==="left"?`${ye}-item-left`:Yt%2===0?`${ye}-item-left`:`${ye}-item-right`:Ke==="left"?`${ye}-item-left`:Ke==="right"?`${ye}-item-right`:yt==="right"?`${ye}-item-right`:"",ot=(0,Ze.Z)($e||[]),Ht=typeof Le=="boolean"?null:Le;Le&&ot.push({pending:!!Le,dot:lt||be.createElement(We.Z,null),children:Ht}),it&&ot.reverse();const en=ot.length,Je=`${ye}-item-last`,ft=ot.filter(yt=>!!yt).map((yt,Yt)=>{var Be;const Ut=Yt===en-2?Je:"",Cn=Yt===en-1?Je:"",{className:Ft}=yt,It=Te(yt,["className"]);return be.createElement(ue,Object.assign({},It,{className:se()([Ft,!it&&Le?Ut:Cn,Kt((Be=yt==null?void 0:yt.position)!==null&&Be!==void 0?Be:"",Yt)]),key:(yt==null?void 0:yt.key)||Yt}))}),Dt=ot.some(yt=>!!(yt!=null&&yt.label)),ln=se()(ye,{[`${ye}-pending`]:!!Le,[`${ye}-reverse`]:!!it,[`${ye}-${Ke}`]:!!Ke&&!Dt,[`${ye}-label`]:Dt,[`${ye}-rtl`]:Ne==="rtl"},Ee,He,Qe);return be.createElement("ul",Object.assign({},Ye,{className:ln}),ft)},De=ae(11592);function le(ge,ye){return ge&&Array.isArray(ge)?ge:(0,De.Z)(ye).map(Ee=>{var Le,ve;return Object.assign({children:(ve=(Le=Ee==null?void 0:Ee.props)===null||Le===void 0?void 0:Le.children)!==null&&ve!==void 0?ve:""},Ee.props)})}var E=le,a=ae(17313),x=ae(83116),y=ae(37613);const z=ge=>{const{componentCls:ye}=ge;return{[ye]:Object.assign(Object.assign({},(0,a.Wf)(ge)),{margin:0,padding:0,listStyle:"none",[`${ye}-item`]:{position:"relative",margin:0,paddingBottom:ge.itemPaddingBottom,fontSize:ge.fontSize,listStyle:"none","&-tail":{position:"absolute",insetBlockStart:ge.itemHeadSize,insetInlineStart:(ge.itemHeadSize-ge.tailWidth)/2,height:`calc(100% - ${ge.itemHeadSize}px)`,borderInlineStart:`${ge.tailWidth}px ${ge.lineType} ${ge.tailColor}`},"&-pending":{[`${ye}-item-head`]:{fontSize:ge.fontSizeSM,backgroundColor:"transparent"},[`${ye}-item-tail`]:{display:"none"}},"&-head":{position:"absolute",width:ge.itemHeadSize,height:ge.itemHeadSize,backgroundColor:ge.dotBg,border:`${ge.dotBorderWidth}px ${ge.lineType} transparent`,borderRadius:"50%","&-blue":{color:ge.colorPrimary,borderColor:ge.colorPrimary},"&-red":{color:ge.colorError,borderColor:ge.colorError},"&-green":{color:ge.colorSuccess,borderColor:ge.colorSuccess},"&-gray":{color:ge.colorTextDisabled,borderColor:ge.colorTextDisabled}},"&-head-custom":{position:"absolute",insetBlockStart:ge.itemHeadSize/2,insetInlineStart:ge.itemHeadSize/2,width:"auto",height:"auto",marginBlockStart:0,paddingBlock:ge.customHeadPaddingVertical,lineHeight:1,textAlign:"center",border:0,borderRadius:0,transform:"translate(-50%, -50%)"},"&-content":{position:"relative",insetBlockStart:-(ge.fontSize*ge.lineHeight-ge.fontSize)+ge.lineWidth,marginInlineStart:ge.margin+ge.itemHeadSize,marginInlineEnd:0,marginBlockStart:0,marginBlockEnd:0,wordBreak:"break-word"},"&-last":{[`> ${ye}-item-tail`]:{display:"none"},[`> ${ye}-item-content`]:{minHeight:ge.controlHeightLG*1.2}}},[`&${ye}-alternate,
&${ye}-right,
&${ye}-label`]:{[`${ye}-item`]:{"&-tail, &-head, &-head-custom":{insetInlineStart:"50%"},"&-head":{marginInlineStart:`-${ge.marginXXS}px`,"&-custom":{marginInlineStart:ge.tailWidth/2}},"&-left":{[`${ye}-item-content`]:{insetInlineStart:`calc(50% - ${ge.marginXXS}px)`,width:`calc(50% - ${ge.marginSM}px)`,textAlign:"start"}},"&-right":{[`${ye}-item-content`]:{width:`calc(50% - ${ge.marginSM}px)`,margin:0,textAlign:"end"}}}},[`&${ye}-right`]:{[`${ye}-item-right`]:{[`${ye}-item-tail,
${ye}-item-head,
${ye}-item-head-custom`]:{insetInlineStart:`calc(100% - ${(ge.itemHeadSize+ge.tailWidth)/2}px)`},[`${ye}-item-content`]:{width:`calc(100% - ${ge.itemHeadSize+ge.marginXS}px)`}}},[`&${ye}-pending
${ye}-item-last
${ye}-item-tail`]:{display:"block",height:`calc(100% - ${ge.margin}px)`,borderInlineStart:`${ge.tailWidth}px dotted ${ge.tailColor}`},[`&${ye}-reverse
${ye}-item-last
${ye}-item-tail`]:{display:"none"},[`&${ye}-reverse ${ye}-item-pending`]:{[`${ye}-item-tail`]:{insetBlockStart:ge.margin,display:"block",height:`calc(100% - ${ge.margin}px)`,borderInlineStart:`${ge.tailWidth}px dotted ${ge.tailColor}`},[`${ye}-item-content`]:{minHeight:ge.controlHeightLG*1.2}},[`&${ye}-label`]:{[`${ye}-item-label`]:{position:"absolute",insetBlockStart:-(ge.fontSize*ge.lineHeight-ge.fontSize)+ge.tailWidth,width:`calc(50% - ${ge.marginSM}px)`,textAlign:"end"},[`${ye}-item-right`]:{[`${ye}-item-label`]:{insetInlineStart:`calc(50% + ${ge.marginSM}px)`,width:`calc(50% - ${ge.marginSM}px)`,textAlign:"start"}}},"&-rtl":{direction:"rtl",[`${ye}-item-head-custom`]:{transform:"translate(50%, -50%)"}}})}};var te=(0,x.Z)("Timeline",ge=>{const ye=(0,y.TS)(ge,{itemHeadSize:10,customHeadPaddingVertical:ge.paddingXXS,paddingInlineEnd:2});return[z(ye)]},ge=>({tailColor:ge.colorSplit,tailWidth:ge.lineWidthBold,dotBorderWidth:ge.wireframe?ge.lineWidthBold:ge.lineWidth*3,dotBg:ge.colorBgContainer,itemPaddingBottom:ge.padding*1.25})),re=function(ge,ye){var Ee={};for(var Le in ge)Object.prototype.hasOwnProperty.call(ge,Le)&&ye.indexOf(Le)<0&&(Ee[Le]=ge[Le]);if(ge!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ve=0,Le=Object.getOwnPropertySymbols(ge);ve<Le.length;ve++)ye.indexOf(Le[ve])<0&&Object.prototype.propertyIsEnumerable.call(ge,Le[ve])&&(Ee[Le[ve]]=ge[Le[ve]]);return Ee};const ie=ge=>{const{getPrefixCls:ye,direction:Ee,timeline:Le}=be.useContext(Ae.E_),{prefixCls:ve,children:$e,items:He,className:it,style:Ne}=ge,Qe=re(ge,["prefixCls","children","items","className","style"]),lt=ye("timeline",ve),[Ke,Ye]=te(lt),Kt=E(He,$e);return Ke(be.createElement(je,Object.assign({},Qe,{className:se()(Le==null?void 0:Le.className,it),style:Object.assign(Object.assign({},Le==null?void 0:Le.style),Ne),prefixCls:lt,direction:Ee,items:Kt,hashId:Ye})))};ie.Item=ue;var ce=ie,pe=ce},17574:function(_t,Rt,ae){"use strict";ae.d(Rt,{default:function(){return Ye}});var b=ae(79556),se=ae(95190),be=ae(52671),Ae=ae(8657),Ie=ae(14809),Re=ae(59301),ue={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"},Ze=ue,We=ae(7657),Te=function(ot,Ht){return Re.createElement(We.Z,(0,Ie.Z)({},ot,{ref:Ht,icon:Ze}))},ke=Re.forwardRef(Te),je=ke,De=ae(92310),le=ae.n(De),E=ae(35654),a=ae(71430),x=ae(36355),y=ae(56082),z=ae(62892),te=ae(20648);const re=4;function ie(Kt){const{dropPosition:ot,dropLevelOffset:Ht,prefixCls:en,indent:Je,direction:ft="ltr"}=Kt,Dt=ft==="ltr"?"left":"right",ln=ft==="ltr"?"right":"left",yt={[Dt]:-Ht*Je+re,[ln]:0};switch(ot){case-1:yt.top=-3;break;case 1:yt.bottom=-3;break;default:yt.bottom=-3,yt[Dt]=Je+re;break}return Re.createElement("div",{style:yt,className:`${en}-drop-indicator`})}var ce=ae(71997),ge=Re.forwardRef((Kt,ot)=>{const{getPrefixCls:Ht,direction:en,virtual:Je,tree:ft}=Re.useContext(x.E_),{prefixCls:Dt,className:ln,showIcon:yt=!1,showLine:Yt,switcherIcon:Be,blockNode:Ut=!1,children:Cn,checkable:Ft=!1,selectable:It=!0,draggable:nt,motion:Ue,style:Fe}=Kt,he=Ht("tree",Dt),at=Ht(),At=Ue!=null?Ue:Object.assign(Object.assign({},(0,z.Z)(at)),{motionAppear:!1}),we=Object.assign(Object.assign({},Kt),{checkable:Ft,selectable:It,showIcon:yt,motion:At,blockNode:Ut,showLine:!!Yt,dropIndicatorRender:ie}),[Ce,vt]=(0,te.ZP)(he),Xe=Re.useMemo(()=>{if(!nt)return!1;let Pt={};switch(typeof nt){case"function":Pt.nodeDraggable=nt;break;case"object":Pt=Object.assign({},nt);break;default:break}return Pt.icon!==!1&&(Pt.icon=Pt.icon||Re.createElement(y.Z,null)),Pt},[nt]),_e=Pt=>Re.createElement(ce.Z,{prefixCls:he,switcherIcon:Be,treeNodeProps:Pt,showLine:Yt});return Ce(Re.createElement(b.Z,Object.assign({itemHeight:20,ref:ot,virtual:Je},we,{style:Object.assign(Object.assign({},ft==null?void 0:ft.style),Fe),prefixCls:he,className:le()({[`${he}-icon-hide`]:!yt,[`${he}-block-node`]:Ut,[`${he}-unselectable`]:!It,[`${he}-rtl`]:en==="rtl"},ft==null?void 0:ft.className,ln,vt),direction:en,checkable:Ft&&Re.createElement("span",{className:`${he}-checkbox-inner`}),selectable:It,switcherIcon:_e,draggable:Xe}),Cn))}),ye;(function(Kt){Kt[Kt.None=0]="None",Kt[Kt.Start=1]="Start",Kt[Kt.End=2]="End"})(ye||(ye={}));function Ee(Kt,ot){function Ht(en){const{key:Je,children:ft}=en;ot(Je,en)!==!1&&Ee(ft||[],ot)}Kt.forEach(Ht)}function Le(Kt){let{treeData:ot,expandedKeys:Ht,startKey:en,endKey:Je}=Kt;const ft=[];let Dt=ye.None;if(en&&en===Je)return[en];if(!en||!Je)return[];function ln(yt){return yt===en||yt===Je}return Ee(ot,yt=>{if(Dt===ye.End)return!1;if(ln(yt)){if(ft.push(yt),Dt===ye.None)Dt=ye.Start;else if(Dt===ye.Start)return Dt=ye.End,!1}else Dt===ye.Start&&ft.push(yt);return Ht.includes(yt)}),ft}function ve(Kt,ot){const Ht=(0,se.Z)(ot),en=[];return Ee(Kt,(Je,ft)=>{const Dt=Ht.indexOf(Je);return Dt!==-1&&(en.push(ft),Ht.splice(Dt,1)),!!Ht.length}),en}var $e=function(Kt,ot){var Ht={};for(var en in Kt)Object.prototype.hasOwnProperty.call(Kt,en)&&ot.indexOf(en)<0&&(Ht[en]=Kt[en]);if(Kt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Je=0,en=Object.getOwnPropertySymbols(Kt);Je<en.length;Je++)ot.indexOf(en[Je])<0&&Object.prototype.propertyIsEnumerable.call(Kt,en[Je])&&(Ht[en[Je]]=Kt[en[Je]]);return Ht};function He(Kt){const{isLeaf:ot,expanded:Ht}=Kt;return ot?Re.createElement(be.Z,null):Ht?Re.createElement(Ae.Z,null):Re.createElement(je,null)}function it(Kt){let{treeData:ot,children:Ht}=Kt;return ot||(0,a.zn)(Ht)}const Ne=(Kt,ot)=>{var{defaultExpandAll:Ht,defaultExpandParent:en,defaultExpandedKeys:Je}=Kt,ft=$e(Kt,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);const Dt=Re.useRef(),ln=Re.useRef(),yt=()=>{const{keyEntities:Xe}=(0,a.I8)(it(ft));let _e;return Ht?_e=Object.keys(Xe):en?_e=(0,E.r7)(ft.expandedKeys||Je||[],Xe):_e=ft.expandedKeys||Je,_e},[Yt,Be]=Re.useState(ft.selectedKeys||ft.defaultSelectedKeys||[]),[Ut,Cn]=Re.useState(()=>yt());Re.useEffect(()=>{"selectedKeys"in ft&&Be(ft.selectedKeys)},[ft.selectedKeys]),Re.useEffect(()=>{"expandedKeys"in ft&&Cn(ft.expandedKeys)},[ft.expandedKeys]);const Ft=(Xe,_e)=>{var Pt;return"expandedKeys"in ft||Cn(Xe),(Pt=ft.onExpand)===null||Pt===void 0?void 0:Pt.call(ft,Xe,_e)},It=(Xe,_e)=>{var Pt;const{multiple:cn}=ft,{node:Ot,nativeEvent:Xt}=_e,{key:$t=""}=Ot,nn=it(ft),bt=Object.assign(Object.assign({},_e),{selected:!0}),rn=(Xt==null?void 0:Xt.ctrlKey)||(Xt==null?void 0:Xt.metaKey),wn=Xt==null?void 0:Xt.shiftKey;let Zt;cn&&rn?(Zt=Xe,Dt.current=$t,ln.current=Zt,bt.selectedNodes=ve(nn,Zt)):cn&&wn?(Zt=Array.from(new Set([].concat((0,se.Z)(ln.current||[]),(0,se.Z)(Le({treeData:nn,expandedKeys:Ut,startKey:$t,endKey:Dt.current}))))),bt.selectedNodes=ve(nn,Zt)):(Zt=[$t],Dt.current=$t,ln.current=Zt,bt.selectedNodes=ve(nn,Zt)),(Pt=ft.onSelect)===null||Pt===void 0||Pt.call(ft,Zt,bt),"selectedKeys"in ft||Be(Zt)},{getPrefixCls:nt,direction:Ue}=Re.useContext(x.E_),{prefixCls:Fe,className:he,showIcon:at=!0,expandAction:At="click"}=ft,we=$e(ft,["prefixCls","className","showIcon","expandAction"]),Ce=nt("tree",Fe),vt=le()(`${Ce}-directory`,{[`${Ce}-directory-rtl`]:Ue==="rtl"},he);return Re.createElement(ge,Object.assign({icon:He,ref:ot,blockNode:!0},we,{showIcon:at,expandAction:At,prefixCls:Ce,className:vt,expandedKeys:Ut,selectedKeys:Yt,onSelect:It,onExpand:Ft}))};var lt=Re.forwardRef(Ne);const Ke=ge;Ke.DirectoryTree=lt,Ke.TreeNode=b.O;var Ye=Ke},20648:function(_t,Rt,ae){"use strict";ae.d(Rt,{TM:function(){return De},Yk:function(){return je}});var b=ae(93083),se=ae(98447),be=ae(17313),Ae=ae(8378),Ie=ae(37613),Re=ae(83116);const ue=new b.Keyframes("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),Ze=(le,E)=>({[`.${le}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${E.motionDurationSlow}`}}}),We=(le,E)=>({[`.${le}-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:'""'}}}),Te=(le,E)=>{const{treeCls:a,treeNodeCls:x,treeNodePadding:y,titleHeight:z,nodeSelectedBg:te,nodeHoverBg:re}=E,ie=E.paddingXS;return{[a]:Object.assign(Object.assign({},(0,be.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,be.oN)(E)),[`${a}-list-holder-inner`]:{alignItems:"flex-start"},[`&${a}-block-node`]:{[`${a}-list-holder-inner`]:{alignItems:"stretch",[`${a}-node-content-wrapper`]:{flex:"auto"},[`${x}.dragging`]:{position:"relative","&:after":{position:"absolute",top:0,insetInlineEnd:0,bottom:y,insetInlineStart:0,border:`1px solid ${E.colorPrimary}`,opacity:0,animationName:ue,animationDuration:E.motionDurationSlow,animationPlayState:"running",animationFillMode:"forwards",content:'""',pointerEvents:"none"}}}},[`${x}`]:{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,be.oN)(E)),[`&:not(${x}-disabled).filter-node ${a}-title`]:{color:"inherit",fontWeight:500},"&-draggable":{[`${a}-draggable-icon`]:{flexShrink:0,width:z,lineHeight:`${z}px`,textAlign:"center",visibility:"visible",opacity:.2,transition:`opacity ${E.motionDurationSlow}`,[`${x}:hover &`]:{opacity:.45}},[`&${x}-disabled`]:{[`${a}-draggable-icon`]:{visibility:"hidden"}}}},[`${a}-indent`]:{alignSelf:"stretch",whiteSpace:"nowrap",userSelect:"none","&-unit":{display:"inline-block",width:z}},[`${a}-draggable-icon`]:{visibility:"hidden"},[`${a}-switcher`]:Object.assign(Object.assign({},Ze(le,E)),{position:"relative",flex:"none",alignSelf:"stretch",width:z,margin:0,lineHeight:`${z}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:z/2,bottom:-y,marginInlineStart:-1,borderInlineEnd:`1px solid ${E.colorBorder}`,content:'""'},"&:after":{position:"absolute",width:z/2*.8,height:z/2,borderBottom:`1px solid ${E.colorBorder}`,content:'""'}}}),[`${a}-checkbox`]:{top:"initial",marginInlineEnd:ie},[`${a}-node-content-wrapper, ${a}-checkbox + span`]:{position:"relative",zIndex:"auto",minHeight:z,margin:0,padding:`0 ${E.paddingXS/2}px`,color:"inherit",lineHeight:`${z}px`,background:"transparent",borderRadius:E.borderRadius,cursor:"pointer",transition:`all ${E.motionDurationMid}, border 0s, line-height 0s, box-shadow 0s`,"&:hover":{backgroundColor:re},[`&${a}-node-selected`]:{backgroundColor:te},[`${a}-iconEle`]:{display:"inline-block",width:z,height:z,lineHeight:`${z}px`,textAlign:"center",verticalAlign:"top","&:empty":{display:"none"}}},[`${a}-unselectable ${a}-node-content-wrapper:hover`]:{backgroundColor:"transparent"},[`${a}-node-content-wrapper`]:Object.assign({lineHeight:`${z}px`,userSelect:"none"},We(le,E)),[`${x}.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:z/2,bottom:-y,borderInlineEnd:`1px solid ${E.colorBorder}`,content:'""'},"&-end":{"&:before":{display:"none"}}}},[`${a}-switcher`]:{background:"transparent","&-line-icon":{verticalAlign:"-0.15em"}}},[`${x}-leaf-last`]:{[`${a}-switcher`]:{"&-leaf-line":{"&:before":{top:"auto !important",bottom:"auto !important",height:`${z/2}px !important`}}}}})}},ke=le=>{const{treeCls:E,treeNodeCls:a,treeNodePadding:x,directoryNodeSelectedBg:y,directoryNodeSelectedColor:z}=le;return{[`${E}${E}-directory`]:{[a]:{position:"relative","&:before":{position:"absolute",top:0,insetInlineEnd:0,bottom:x,insetInlineStart:0,transition:`background-color ${le.motionDurationMid}`,content:'""',pointerEvents:"none"},"&:hover":{"&:before":{background:le.controlItemBgHover}},"> *":{zIndex:1},[`${E}-switcher`]:{transition:`color ${le.motionDurationMid}`},[`${E}-node-content-wrapper`]:{borderRadius:0,userSelect:"none","&:hover":{background:"transparent"},[`&${E}-node-selected`]:{color:z,background:"transparent"}},"&-selected":{"\n &:hover::before,\n &::before\n ":{background:y},[`${E}-switcher`]:{color:z},[`${E}-node-content-wrapper`]:{color:z,background:"transparent"}}}}}},je=(le,E)=>{const a=`.${le}`,x=`${a}-treenode`,y=E.paddingXS/2,z=(0,Ie.TS)(E,{treeCls:a,treeNodeCls:x,treeNodePadding:y});return[Te(le,z),ke(z)]},De=le=>{const{controlHeightSM:E}=le;return{titleHeight:E,nodeHoverBg:le.controlItemBgHover,nodeSelectedBg:le.controlItemBgActive}};Rt.ZP=(0,Re.Z)("Tree",(le,E)=>{let{prefixCls:a}=E;return[{[le.componentCls]:(0,se.C2)(`${a}-checkbox`,le)},je(a,le),(0,Ae.Z)(le)]},le=>{const{colorTextLightSolid:E,colorPrimary:a}=le;return Object.assign(Object.assign({},De(le)),{directoryNodeSelectedColor:E,directoryNodeSelectedBg:a})})},71997:function(_t,Rt,ae){"use strict";ae.d(Rt,{Z:function(){return x}});var b=ae(14809),se=ae(59301),be={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"},Ae=be,Ie=ae(7657),Re=function(z,te){return se.createElement(Ie.Z,(0,b.Z)({},z,{ref:te,icon:Ae}))},ue=se.forwardRef(Re),Ze=ue,We=ae(52671),Te=ae(58617),ke=ae(15075),je=ae(43531),De=ae(92310),le=ae.n(De),E=ae(92343),x=y=>{const{prefixCls:z,switcherIcon:te,treeNodeProps:re,showLine:ie}=y,{isLeaf:ce,expanded:pe,loading:ge}=re;if(ge)return se.createElement(Te.Z,{className:`${z}-switcher-loading-icon`});let ye;if(ie&&typeof ie=="object"&&(ye=ie.showLeafIcon),ce){if(!ie)return null;if(typeof ye!="boolean"&&ye){const ve=typeof ye=="function"?ye(re):ye,$e=`${z}-switcher-line-custom-icon`;return(0,E.l$)(ve)?(0,E.Tm)(ve,{className:le()(ve.props.className||"",$e)}):ve}return ye?se.createElement(We.Z,{className:`${z}-switcher-line-icon`}):se.createElement("span",{className:`${z}-switcher-leaf-line`})}const Ee=`${z}-switcher-icon`,Le=typeof te=="function"?te(re):te;return(0,E.l$)(Le)?(0,E.Tm)(Le,{className:le()(Le.props.className||"",Ee)}):Le!==void 0?Le:ie?pe?se.createElement(ke.Z,{className:`${z}-switcher-line-icon`}):se.createElement(je.Z,{className:`${z}-switcher-line-icon`}):se.createElement(Ze,{className:Ee})}},24334:function(_t,Rt,ae){var b,se;(function(be,Ae){_t.exports=Ae(be)})(typeof self!="undefined"?self:typeof window!="undefined"?window:typeof ae.g!="undefined"?ae.g:this,function(be){"use strict";be=be||{};var Ae=be.Base64,Ie="2.6.4",Re="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",ue=function(He){for(var it={},Ne=0,Qe=He.length;Ne<Qe;Ne++)it[He.charAt(Ne)]=Ne;return it}(Re),Ze=String.fromCharCode,We=function(He){if(He.length<2){var it=He.charCodeAt(0);return it<128?He:it<2048?Ze(192|it>>>6)+Ze(128|it&63):Ze(224|it>>>12&15)+Ze(128|it>>>6&63)+Ze(128|it&63)}else{var it=65536+(He.charCodeAt(0)-55296)*1024+(He.charCodeAt(1)-56320);return Ze(240|it>>>18&7)+Ze(128|it>>>12&63)+Ze(128|it>>>6&63)+Ze(128|it&63)}},Te=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,ke=function(He){return He.replace(Te,We)},je=function(He){var it=[0,2,1][He.length%3],Ne=He.charCodeAt(0)<<16|(He.length>1?He.charCodeAt(1):0)<<8|(He.length>2?He.charCodeAt(2):0),Qe=[Re.charAt(Ne>>>18),Re.charAt(Ne>>>12&63),it>=2?"=":Re.charAt(Ne>>>6&63),it>=1?"=":Re.charAt(Ne&63)];return Qe.join("")},De=be.btoa&&typeof be.btoa=="function"?function(He){return be.btoa(He)}:function(He){if(He.match(/[^\x00-\xFF]/))throw new RangeError("The string contains invalid characters.");return He.replace(/[\s\S]{1,3}/g,je)},le=function(He){return De(ke(String(He)))},E=function(He){return He.replace(/[+\/]/g,function(it){return it=="+"?"-":"_"}).replace(/=/g,"")},a=function(He,it){return it?E(le(He)):le(He)},x=function(He){return a(He,!0)},y;be.Uint8Array&&(y=function(He,it){for(var Ne="",Qe=0,lt=He.length;Qe<lt;Qe+=3){var Ke=He[Qe],Ye=He[Qe+1],Kt=He[Qe+2],ot=Ke<<16|Ye<<8|Kt;Ne+=Re.charAt(ot>>>18)+Re.charAt(ot>>>12&63)+(typeof Ye!="undefined"?Re.charAt(ot>>>6&63):"=")+(typeof Kt!="undefined"?Re.charAt(ot&63):"=")}return it?E(Ne):Ne});var z=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,te=function(He){switch(He.length){case 4:var it=(7&He.charCodeAt(0))<<18|(63&He.charCodeAt(1))<<12|(63&He.charCodeAt(2))<<6|63&He.charCodeAt(3),Ne=it-65536;return Ze((Ne>>>10)+55296)+Ze((Ne&1023)+56320);case 3:return Ze((15&He.charCodeAt(0))<<12|(63&He.charCodeAt(1))<<6|63&He.charCodeAt(2));default:return Ze((31&He.charCodeAt(0))<<6|63&He.charCodeAt(1))}},re=function(He){return He.replace(z,te)},ie=function(He){var it=He.length,Ne=it%4,Qe=(it>0?ue[He.charAt(0)]<<18:0)|(it>1?ue[He.charAt(1)]<<12:0)|(it>2?ue[He.charAt(2)]<<6:0)|(it>3?ue[He.charAt(3)]:0),lt=[Ze(Qe>>>16),Ze(Qe>>>8&255),Ze(Qe&255)];return lt.length-=[0,0,2,1][Ne],lt.join("")},ce=be.atob&&typeof be.atob=="function"?function(He){return be.atob(He)}:function(He){return He.replace(/\S{1,4}/g,ie)},pe=function(He){return ce(String(He).replace(/[^A-Za-z0-9\+\/]/g,""))},ge=function(He){return re(ce(He))},ye=function(He){return String(He).replace(/[-_]/g,function(it){return it=="-"?"+":"/"}).replace(/[^A-Za-z0-9\+\/]/g,"")},Ee=function(He){return ge(ye(He))},Le;be.Uint8Array&&(Le=function(He){return Uint8Array.from(pe(ye(He)),function(it){return it.charCodeAt(0)})});var ve=function(){var He=be.Base64;return be.Base64=Ae,He};if(be.Base64={VERSION:Ie,atob:pe,btoa:De,fromBase64:Ee,toBase64:a,utob:ke,encode:a,encodeURI:x,btou:re,decode:Ee,noConflict:ve,fromUint8Array:y,toUint8Array:Le},typeof Object.defineProperty=="function"){var $e=function(He){return{value:He,enumerable:!1,writable:!0,configurable:!0}};be.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",$e(function(){return Ee(this)})),Object.defineProperty(String.prototype,"toBase64",$e(function(He){return a(this,He)})),Object.defineProperty(String.prototype,"toBase64URI",$e(function(){return a(this,!0)}))}}return be.Meteor&&(Base64=be.Base64),_t.exports?_t.exports.Base64=be.Base64:(b=[],se=function(){return be.Base64}.apply(Rt,b),se!==void 0&&(_t.exports=se)),{Base64:be.Base64}})},39417:function(_t,Rt,ae){"use strict";ae.d(Rt,{Z:function(){return ge}});var b=ae(14809),se=ae(4635),be=ae(62646),Ae=ae(20439),Ie=ae(99153),Re=ae(84851),ue=ae(13028),Ze=ae(19257),We=ae(93046),Te=ae(92310),ke=ae.n(Te),je=ae(26112),De=ae(59301),le=ae(39378),E=function(Ee){for(var Le=Ee.prefixCls,ve=Ee.level,$e=Ee.isStart,He=Ee.isEnd,it="".concat(Le,"-indent-unit"),Ne=[],Qe=0;Qe<ve;Qe+=1){var lt;Ne.push(De.createElement("span",{key:Qe,className:ke()(it,(lt={},(0,se.Z)(lt,"".concat(it,"-start"),$e[Qe]),(0,se.Z)(lt,"".concat(it,"-end"),He[Qe]),lt))}))}return De.createElement("span",{"aria-hidden":"true",className:"".concat(Le,"-indent")},Ne)},a=De.memo(E),x=ae(67841),y=ae(71430),z=["eventKey","className","style","dragOver","dragOverGapTop","dragOverGapBottom","isLeaf","isStart","isEnd","expanded","selected","checked","halfChecked","loading","domRef","active","data","onMouseMove","selectable"],te="open",re="close",ie="---",ce=function(ye){(0,Ze.Z)(Le,ye);var Ee=(0,We.Z)(Le);function Le(){var ve;(0,Ie.Z)(this,Le);for(var $e=arguments.length,He=new Array($e),it=0;it<$e;it++)He[it]=arguments[it];return ve=Ee.call.apply(Ee,[this].concat(He)),ve.state={dragNodeHighlight:!1},ve.selectHandle=void 0,ve.cacheIndent=void 0,ve.onSelectorClick=function(Ne){var Qe=ve.props.context.onNodeClick;Qe(Ne,(0,y.F)(ve.props)),ve.isSelectable()?ve.onSelect(Ne):ve.onCheck(Ne)},ve.onSelectorDoubleClick=function(Ne){var Qe=ve.props.context.onNodeDoubleClick;Qe(Ne,(0,y.F)(ve.props))},ve.onSelect=function(Ne){if(!ve.isDisabled()){var Qe=ve.props.context.onNodeSelect;Qe(Ne,(0,y.F)(ve.props))}},ve.onCheck=function(Ne){if(!ve.isDisabled()){var Qe=ve.props,lt=Qe.disableCheckbox,Ke=Qe.checked,Ye=ve.props.context.onNodeCheck;if(!(!ve.isCheckable()||lt)){var Kt=!Ke;Ye(Ne,(0,y.F)(ve.props),Kt)}}},ve.onMouseEnter=function(Ne){var Qe=ve.props.context.onNodeMouseEnter;Qe(Ne,(0,y.F)(ve.props))},ve.onMouseLeave=function(Ne){var Qe=ve.props.context.onNodeMouseLeave;Qe(Ne,(0,y.F)(ve.props))},ve.onContextMenu=function(Ne){var Qe=ve.props.context.onNodeContextMenu;Qe(Ne,(0,y.F)(ve.props))},ve.onDragStart=function(Ne){var Qe=ve.props.context.onNodeDragStart;Ne.stopPropagation(),ve.setState({dragNodeHighlight:!0}),Qe(Ne,(0,ue.Z)(ve));try{Ne.dataTransfer.setData("text/plain","")}catch(lt){}},ve.onDragEnter=function(Ne){var Qe=ve.props.context.onNodeDragEnter;Ne.preventDefault(),Ne.stopPropagation(),Qe(Ne,(0,ue.Z)(ve))},ve.onDragOver=function(Ne){var Qe=ve.props.context.onNodeDragOver;Ne.preventDefault(),Ne.stopPropagation(),Qe(Ne,(0,ue.Z)(ve))},ve.onDragLeave=function(Ne){var Qe=ve.props.context.onNodeDragLeave;Ne.stopPropagation(),Qe(Ne,(0,ue.Z)(ve))},ve.onDragEnd=function(Ne){var Qe=ve.props.context.onNodeDragEnd;Ne.stopPropagation(),ve.setState({dragNodeHighlight:!1}),Qe(Ne,(0,ue.Z)(ve))},ve.onDrop=function(Ne){var Qe=ve.props.context.onNodeDrop;Ne.preventDefault(),Ne.stopPropagation(),ve.setState({dragNodeHighlight:!1}),Qe(Ne,(0,ue.Z)(ve))},ve.onExpand=function(Ne){var Qe=ve.props,lt=Qe.loading,Ke=Qe.context.onNodeExpand;lt||Ke(Ne,(0,y.F)(ve.props))},ve.setSelectHandle=function(Ne){ve.selectHandle=Ne},ve.getNodeState=function(){var Ne=ve.props.expanded;return ve.isLeaf()?null:Ne?te:re},ve.hasChildren=function(){var Ne=ve.props.eventKey,Qe=ve.props.context.keyEntities,lt=(0,x.Z)(Qe,Ne)||{},Ke=lt.children;return!!(Ke||[]).length},ve.isLeaf=function(){var Ne=ve.props,Qe=Ne.isLeaf,lt=Ne.loaded,Ke=ve.props.context.loadData,Ye=ve.hasChildren();return Qe===!1?!1:Qe||!Ke&&!Ye||Ke&&lt&&!Ye},ve.isDisabled=function(){var Ne=ve.props.disabled,Qe=ve.props.context.disabled;return!!(Qe||Ne)},ve.isCheckable=function(){var Ne=ve.props.checkable,Qe=ve.props.context.checkable;return!Qe||Ne===!1?!1:Qe},ve.syncLoadData=function(Ne){var Qe=Ne.expanded,lt=Ne.loading,Ke=Ne.loaded,Ye=ve.props.context,Kt=Ye.loadData,ot=Ye.onNodeLoad;lt||Kt&&Qe&&!ve.isLeaf()&&!ve.hasChildren()&&!Ke&&ot((0,y.F)(ve.props))},ve.isDraggable=function(){var Ne=ve.props,Qe=Ne.data,lt=Ne.context.draggable;return!!(lt&&(!lt.nodeDraggable||lt.nodeDraggable(Qe)))},ve.renderDragHandler=function(){var Ne=ve.props.context,Qe=Ne.draggable,lt=Ne.prefixCls;return Qe!=null&&Qe.icon?De.createElement("span",{className:"".concat(lt,"-draggable-icon")},Qe.icon):null},ve.renderSwitcherIconDom=function(Ne){var Qe=ve.props.switcherIcon,lt=ve.props.context.switcherIcon,Ke=Qe||lt;return typeof Ke=="function"?Ke((0,Ae.Z)((0,Ae.Z)({},ve.props),{},{isLeaf:Ne})):Ke},ve.renderSwitcher=function(){var Ne=ve.props.expanded,Qe=ve.props.context.prefixCls;if(ve.isLeaf()){var lt=ve.renderSwitcherIconDom(!0);return lt!==!1?De.createElement("span",{className:ke()("".concat(Qe,"-switcher"),"".concat(Qe,"-switcher-noop"))},lt):null}var Ke=ke()("".concat(Qe,"-switcher"),"".concat(Qe,"-switcher_").concat(Ne?te:re)),Ye=ve.renderSwitcherIconDom(!1);return Ye!==!1?De.createElement("span",{onClick:ve.onExpand,className:Ke},Ye):null},ve.renderCheckbox=function(){var Ne=ve.props,Qe=Ne.checked,lt=Ne.halfChecked,Ke=Ne.disableCheckbox,Ye=ve.props.context.prefixCls,Kt=ve.isDisabled(),ot=ve.isCheckable();if(!ot)return null;var Ht=typeof ot!="boolean"?ot:null;return De.createElement("span",{className:ke()("".concat(Ye,"-checkbox"),Qe&&"".concat(Ye,"-checkbox-checked"),!Qe&&lt&&"".concat(Ye,"-checkbox-indeterminate"),(Kt||Ke)&&"".concat(Ye,"-checkbox-disabled")),onClick:ve.onCheck},Ht)},ve.renderIcon=function(){var Ne=ve.props.loading,Qe=ve.props.context.prefixCls;return De.createElement("span",{className:ke()("".concat(Qe,"-iconEle"),"".concat(Qe,"-icon__").concat(ve.getNodeState()||"docu"),Ne&&"".concat(Qe,"-icon_loading"))})},ve.renderSelector=function(){var Ne=ve.state.dragNodeHighlight,Qe=ve.props,lt=Qe.title,Ke=lt===void 0?ie:lt,Ye=Qe.selected,Kt=Qe.icon,ot=Qe.loading,Ht=Qe.data,en=ve.props.context,Je=en.prefixCls,ft=en.showIcon,Dt=en.icon,ln=en.loadData,yt=en.titleRender,Yt=ve.isDisabled(),Be="".concat(Je,"-node-content-wrapper"),Ut;if(ft){var Cn=Kt||Dt;Ut=Cn?De.createElement("span",{className:ke()("".concat(Je,"-iconEle"),"".concat(Je,"-icon__customize"))},typeof Cn=="function"?Cn(ve.props):Cn):ve.renderIcon()}else ln&&ot&&(Ut=ve.renderIcon());var Ft;typeof Ke=="function"?Ft=Ke(Ht):yt?Ft=yt(Ht):Ft=Ke;var It=De.createElement("span",{className:"".concat(Je,"-title")},Ft);return De.createElement("span",{ref:ve.setSelectHandle,title:typeof Ke=="string"?Ke:"",className:ke()("".concat(Be),"".concat(Be,"-").concat(ve.getNodeState()||"normal"),!Yt&&(Ye||Ne)&&"".concat(Je,"-node-selected")),onMouseEnter:ve.onMouseEnter,onMouseLeave:ve.onMouseLeave,onContextMenu:ve.onContextMenu,onClick:ve.onSelectorClick,onDoubleClick:ve.onSelectorDoubleClick},Ut,It,ve.renderDropIndicator())},ve.renderDropIndicator=function(){var Ne=ve.props,Qe=Ne.disabled,lt=Ne.eventKey,Ke=ve.props.context,Ye=Ke.draggable,Kt=Ke.dropLevelOffset,ot=Ke.dropPosition,Ht=Ke.prefixCls,en=Ke.indent,Je=Ke.dropIndicatorRender,ft=Ke.dragOverNodeKey,Dt=Ke.direction,ln=!!Ye,yt=!Qe&&ln&&ft===lt,Yt=en!=null?en:ve.cacheIndent;return ve.cacheIndent=en,yt?Je({dropPosition:ot,dropLevelOffset:Kt,indent:Yt,prefixCls:Ht,direction:Dt}):null},ve}return(0,Re.Z)(Le,[{key:"componentDidMount",value:function(){this.syncLoadData(this.props)}},{key:"componentDidUpdate",value:function(){this.syncLoadData(this.props)}},{key:"isSelectable",value:function(){var $e=this.props.selectable,He=this.props.context.selectable;return typeof $e=="boolean"?$e:He}},{key:"render",value:function(){var $e,He=this.props,it=He.eventKey,Ne=He.className,Qe=He.style,lt=He.dragOver,Ke=He.dragOverGapTop,Ye=He.dragOverGapBottom,Kt=He.isLeaf,ot=He.isStart,Ht=He.isEnd,en=He.expanded,Je=He.selected,ft=He.checked,Dt=He.halfChecked,ln=He.loading,yt=He.domRef,Yt=He.active,Be=He.data,Ut=He.onMouseMove,Cn=He.selectable,Ft=(0,be.Z)(He,z),It=this.props.context,nt=It.prefixCls,Ue=It.filterTreeNode,Fe=It.keyEntities,he=It.dropContainerKey,at=It.dropTargetKey,At=It.draggingNodeKey,we=this.isDisabled(),Ce=(0,je.Z)(Ft,{aria:!0,data:!0}),vt=(0,x.Z)(Fe,it)||{},Xe=vt.level,_e=Ht[Ht.length-1],Pt=this.isDraggable(),cn=!we&&Pt,Ot=At===it,Xt=Cn!==void 0?{"aria-selected":!!Cn}:void 0;return De.createElement("div",(0,b.Z)({ref:yt,className:ke()(Ne,"".concat(nt,"-treenode"),($e={},(0,se.Z)($e,"".concat(nt,"-treenode-disabled"),we),(0,se.Z)($e,"".concat(nt,"-treenode-switcher-").concat(en?"open":"close"),!Kt),(0,se.Z)($e,"".concat(nt,"-treenode-checkbox-checked"),ft),(0,se.Z)($e,"".concat(nt,"-treenode-checkbox-indeterminate"),Dt),(0,se.Z)($e,"".concat(nt,"-treenode-selected"),Je),(0,se.Z)($e,"".concat(nt,"-treenode-loading"),ln),(0,se.Z)($e,"".concat(nt,"-treenode-active"),Yt),(0,se.Z)($e,"".concat(nt,"-treenode-leaf-last"),_e),(0,se.Z)($e,"".concat(nt,"-treenode-draggable"),Pt),(0,se.Z)($e,"dragging",Ot),(0,se.Z)($e,"drop-target",at===it),(0,se.Z)($e,"drop-container",he===it),(0,se.Z)($e,"drag-over",!we&&lt),(0,se.Z)($e,"drag-over-gap-top",!we&&Ke),(0,se.Z)($e,"drag-over-gap-bottom",!we&&Ye),(0,se.Z)($e,"filter-node",Ue&&Ue((0,y.F)(this.props))),$e)),style:Qe,draggable:cn,"aria-grabbed":Ot,onDragStart:cn?this.onDragStart:void 0,onDragEnter:Pt?this.onDragEnter:void 0,onDragOver:Pt?this.onDragOver:void 0,onDragLeave:Pt?this.onDragLeave:void 0,onDrop:Pt?this.onDrop:void 0,onDragEnd:Pt?this.onDragEnd:void 0,onMouseMove:Ut},Xt,Ce),De.createElement(a,{prefixCls:nt,level:Xe,isStart:ot,isEnd:Ht}),this.renderDragHandler(),this.renderSwitcher(),this.renderCheckbox(),this.renderSelector())}}]),Le}(De.Component),pe=function(Ee){return De.createElement(le.k.Consumer,null,function(Le){return De.createElement(ce,(0,b.Z)({},Ee,{context:Le}))})};pe.displayName="TreeNode",pe.isTreeNode=1;var ge=pe},39378:function(_t,Rt,ae){"use strict";ae.d(Rt,{k:function(){return se}});var b=ae(59301),se=b.createContext(null)},79556:function(_t,Rt,ae){"use strict";ae.d(Rt,{O:function(){return ge.Z},Z:function(){return It}});var b=ae(14809),se=ae(4635),be=ae(93664),Ae=ae(20439),Ie=ae(95190),Re=ae(99153),ue=ae(84851),Ze=ae(13028),We=ae(19257),Te=ae(93046),ke=ae(92310),je=ae.n(ke),De=ae(10228),le=ae(26112),E=ae(48736),a=ae(59301),x=ae(39378);function y(nt){var Ue=nt.dropPosition,Fe=nt.dropLevelOffset,he=nt.indent,at={pointerEvents:"none",position:"absolute",right:0,backgroundColor:"red",height:2};switch(Ue){case-1:at.top=0,at.left=-Fe*he;break;case 1:at.bottom=0,at.left=-Fe*he;break;case 0:at.bottom=0,at.left=he;break}return a.createElement("div",{style:at})}function z(nt){if(nt==null)throw new TypeError("Cannot destructure "+nt)}var te=ae(50298),re=ae(62646),ie=ae(34280),ce=ae(6790),pe=ae(77900),ge=ae(39417);function ye(nt,Ue){var Fe=a.useState(!1),he=(0,te.Z)(Fe,2),at=he[0],At=he[1];a.useLayoutEffect(function(){if(at)return nt(),function(){Ue()}},[at]),a.useLayoutEffect(function(){return At(!0),function(){At(!1)}},[])}var Ee=ae(71430),Le=["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"],ve=function(Ue,Fe){var he=Ue.className,at=Ue.style,At=Ue.motion,we=Ue.motionNodes,Ce=Ue.motionType,vt=Ue.onMotionStart,Xe=Ue.onMotionEnd,_e=Ue.active,Pt=Ue.treeNodeRequiredProps,cn=(0,re.Z)(Ue,Le),Ot=a.useState(!0),Xt=(0,te.Z)(Ot,2),$t=Xt[0],nn=Xt[1],bt=a.useContext(x.k),rn=bt.prefixCls,wn=we&&Ce!=="hide";(0,ie.Z)(function(){we&&wn!==$t&&nn(wn)},[we]);var Zt=function(){we&&vt()},wt=a.useRef(!1),Ln=function(){we&&!wt.current&&(wt.current=!0,Xe())};ye(Zt,Ln);var zn=function(Yn){wn===Yn&&Ln()};return we?a.createElement(pe.default,(0,b.Z)({ref:Fe,visible:$t},At,{motionAppear:Ce==="show",onVisibleChanged:zn}),function(Wn,Yn){var xa=Wn.className,on=Wn.style;return a.createElement("div",{ref:Yn,className:je()("".concat(rn,"-treenode-motion"),xa),style:on},we.map(function(qt){var pn=(0,b.Z)({},(z(qt.data),qt.data)),Zn=qt.title,xn=qt.key,Na=qt.isStart,Wa=qt.isEnd;delete pn.children;var ta=(0,Ee.H8)(xn,Pt);return a.createElement(ge.Z,(0,b.Z)({},pn,ta,{title:Zn,active:_e,data:qt.data,key:xn,isStart:Na,isEnd:Wa}))}))}):a.createElement(ge.Z,(0,b.Z)({domRef:Fe,className:he,style:at},cn,{active:_e}))};ve.displayName="MotionTreeNode";var $e=a.forwardRef(ve),He=$e;function it(){var nt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],Ue=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],Fe=nt.length,he=Ue.length;if(Math.abs(Fe-he)!==1)return{add:!1,key:null};function at(At,we){var Ce=new Map;At.forEach(function(Xe){Ce.set(Xe,!0)});var vt=we.filter(function(Xe){return!Ce.has(Xe)});return vt.length===1?vt[0]:null}return Fe<he?{add:!0,key:at(nt,Ue)}:{add:!1,key:at(Ue,nt)}}function Ne(nt,Ue,Fe){var he=nt.findIndex(function(Ce){return Ce.key===Fe}),at=nt[he+1],At=Ue.findIndex(function(Ce){return Ce.key===Fe});if(at){var we=Ue.findIndex(function(Ce){return Ce.key===at.key});return Ue.slice(At+1,we)}return Ue.slice(At+1)}var Qe=["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},Ke=function(){},Ye="RC_TREE_MOTION_".concat(Math.random()),Kt={key:Ye},ot={key:Ye,level:0,index:0,pos:"0",node:Kt,nodes:[Kt]},Ht={parent:null,children:[],pos:ot.pos,data:Kt,title:null,key:Ye,isStart:[],isEnd:[]};function en(nt,Ue,Fe,he){return Ue===!1||!Fe?nt:nt.slice(0,Math.ceil(Fe/he)+1)}function Je(nt){var Ue=nt.key,Fe=nt.pos;return(0,Ee.km)(Ue,Fe)}function ft(nt){for(var Ue=String(nt.data.key),Fe=nt;Fe.parent;)Fe=Fe.parent,Ue="".concat(Fe.data.key," > ").concat(Ue);return Ue}var Dt=a.forwardRef(function(nt,Ue){var Fe=nt.prefixCls,he=nt.data,at=nt.selectable,At=nt.checkable,we=nt.expandedKeys,Ce=nt.selectedKeys,vt=nt.checkedKeys,Xe=nt.loadedKeys,_e=nt.loadingKeys,Pt=nt.halfCheckedKeys,cn=nt.keyEntities,Ot=nt.disabled,Xt=nt.dragging,$t=nt.dragOverNodeKey,nn=nt.dropPosition,bt=nt.motion,rn=nt.height,wn=nt.itemHeight,Zt=nt.virtual,wt=nt.focusable,Ln=nt.activeItem,zn=nt.focused,Wn=nt.tabIndex,Yn=nt.onKeyDown,xa=nt.onFocus,on=nt.onBlur,qt=nt.onActiveChange,pn=nt.onListChangeStart,Zn=nt.onListChangeEnd,xn=(0,re.Z)(nt,Qe),Na=a.useRef(null),Wa=a.useRef(null);a.useImperativeHandle(Ue,function(){return{scrollTo:function(Jn){Na.current.scrollTo(Jn)},getIndentWidth:function(){return Wa.current.offsetWidth}}});var ta=a.useState(we),En=(0,te.Z)(ta,2),Oa=En[0],Ve=En[1],Bt=a.useState(he),Gt=(0,te.Z)(Bt,2),Vt=Gt[0],tn=Gt[1],Sn=a.useState(he),mn=(0,te.Z)(Sn,2),ut=mn[0],pt=mn[1],ct=a.useState([]),Wt=(0,te.Z)(ct,2),vn=Wt[0],an=Wt[1],kn=a.useState(null),Fn=(0,te.Z)(kn,2),Bn=Fn[0],Un=Fn[1],Ra=a.useRef(he);Ra.current=he;function yn(){var lr=Ra.current;tn(lr),pt(lr),an([]),Un(null),Zn()}(0,ie.Z)(function(){Ve(we);var lr=it(Oa,we);if(lr.key!==null)if(lr.add){var Jn=Vt.findIndex(function(Nr){var xr=Nr.key;return xr===lr.key}),sn=en(Ne(Vt,he,lr.key),Zt,rn,wn),Dr=Vt.slice();Dr.splice(Jn+1,0,Ht),pt(Dr),an(sn),Un("show")}else{var Ga=he.findIndex(function(Nr){var xr=Nr.key;return xr===lr.key}),Er=en(Ne(he,Vt,lr.key),Zt,rn,wn),Cr=he.slice();Cr.splice(Ga+1,0,Ht),pt(Cr),an(Er),Un("hide")}else Vt!==he&&(tn(he),pt(he))},[we,he]),a.useEffect(function(){Xt||yn()},[Xt]);var pa=bt?ut:he,$a={expandedKeys:we,selectedKeys:Ce,loadedKeys:Xe,loadingKeys:_e,checkedKeys:vt,halfCheckedKeys:Pt,dragOverNodeKey:$t,dropPosition:nn,keyEntities:cn};return a.createElement(a.Fragment,null,zn&&Ln&&a.createElement("span",{style:lt,"aria-live":"assertive"},ft(Ln)),a.createElement("div",null,a.createElement("input",{style:lt,disabled:wt===!1||Ot,tabIndex:wt!==!1?Wn:null,onKeyDown:Yn,onFocus:xa,onBlur:on,value:"",onChange:Ke,"aria-label":"for screen reader"})),a.createElement("div",{className:"".concat(Fe,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},a.createElement("div",{className:"".concat(Fe,"-indent")},a.createElement("div",{ref:Wa,className:"".concat(Fe,"-indent-unit")}))),a.createElement(ce.Z,(0,b.Z)({},xn,{data:pa,itemKey:Je,height:rn,fullHeight:!1,virtual:Zt,itemHeight:wn,prefixCls:"".concat(Fe,"-list"),ref:Na,onVisibleChange:function(Jn,sn){var Dr=new Set(Jn),Ga=sn.filter(function(Er){return!Dr.has(Er)});Ga.some(function(Er){return Je(Er)===Ye})&&yn()}}),function(lr){var Jn=lr.pos,sn=(0,b.Z)({},(z(lr.data),lr.data)),Dr=lr.title,Ga=lr.key,Er=lr.isStart,Cr=lr.isEnd,Nr=(0,Ee.km)(Ga,Jn);delete sn.key,delete sn.children;var xr=(0,Ee.H8)(Nr,$a);return a.createElement(He,(0,b.Z)({},sn,xr,{title:Dr,active:!!Ln&&Ga===Ln.key,pos:Jn,data:lr.data,isStart:Er,isEnd:Cr,motion:bt,motionNodes:Ga===Ye?vn:null,motionType:Bn,onMotionStart:pn,onMotionEnd:yn,treeNodeRequiredProps:$a,onMouseMove:function(){qt(null)}}))}))});Dt.displayName="NodeList";var ln=Dt,yt=ae(35654),Yt=ae(90782),Be=ae(67841),Ut=10,Cn=function(nt){(0,We.Z)(Fe,nt);var Ue=(0,Te.Z)(Fe);function Fe(){var he;(0,Re.Z)(this,Fe);for(var at=arguments.length,At=new Array(at),we=0;we<at;we++)At[we]=arguments[we];return he=Ue.call.apply(Ue,[this].concat(At)),he.destroyed=!1,he.delayedDragEnterLogic=void 0,he.loadingRetryTimes={},he.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,Ee.w$)()},he.dragStartMousePosition=null,he.dragNode=void 0,he.currentMouseOverDroppableNodeKey=null,he.listRef=a.createRef(),he.onNodeDragStart=function(Ce,vt){var Xe=he.state,_e=Xe.expandedKeys,Pt=Xe.keyEntities,cn=he.props.onDragStart,Ot=vt.props.eventKey;he.dragNode=vt,he.dragStartMousePosition={x:Ce.clientX,y:Ce.clientY};var Xt=(0,yt._5)(_e,Ot);he.setState({draggingNodeKey:Ot,dragChildrenKeys:(0,yt.wA)(Ot,Pt),indent:he.listRef.current.getIndentWidth()}),he.setExpandedKeys(Xt),window.addEventListener("dragend",he.onWindowDragEnd),cn==null||cn({event:Ce,node:(0,Ee.F)(vt.props)})},he.onNodeDragEnter=function(Ce,vt){var Xe=he.state,_e=Xe.expandedKeys,Pt=Xe.keyEntities,cn=Xe.dragChildrenKeys,Ot=Xe.flattenNodes,Xt=Xe.indent,$t=he.props,nn=$t.onDragEnter,bt=$t.onExpand,rn=$t.allowDrop,wn=$t.direction,Zt=vt.props,wt=Zt.pos,Ln=Zt.eventKey,zn=(0,Ze.Z)(he),Wn=zn.dragNode;if(he.currentMouseOverDroppableNodeKey!==Ln&&(he.currentMouseOverDroppableNodeKey=Ln),!Wn){he.resetDragState();return}var Yn=(0,yt.OM)(Ce,Wn,vt,Xt,he.dragStartMousePosition,rn,Ot,Pt,_e,wn),xa=Yn.dropPosition,on=Yn.dropLevelOffset,qt=Yn.dropTargetKey,pn=Yn.dropContainerKey,Zn=Yn.dropTargetPos,xn=Yn.dropAllowed,Na=Yn.dragOverNodeKey;if(cn.indexOf(qt)!==-1||!xn){he.resetDragState();return}if(he.delayedDragEnterLogic||(he.delayedDragEnterLogic={}),Object.keys(he.delayedDragEnterLogic).forEach(function(Wa){clearTimeout(he.delayedDragEnterLogic[Wa])}),Wn.props.eventKey!==vt.props.eventKey&&(Ce.persist(),he.delayedDragEnterLogic[wt]=window.setTimeout(function(){if(he.state.draggingNodeKey!==null){var Wa=(0,Ie.Z)(_e),ta=(0,Be.Z)(Pt,vt.props.eventKey);ta&&(ta.children||[]).length&&(Wa=(0,yt.L0)(_e,vt.props.eventKey)),"expandedKeys"in he.props||he.setExpandedKeys(Wa),bt==null||bt(Wa,{node:(0,Ee.F)(vt.props),expanded:!0,nativeEvent:Ce.nativeEvent})}},800)),Wn.props.eventKey===qt&&on===0){he.resetDragState();return}he.setState({dragOverNodeKey:Na,dropPosition:xa,dropLevelOffset:on,dropTargetKey:qt,dropContainerKey:pn,dropTargetPos:Zn,dropAllowed:xn}),nn==null||nn({event:Ce,node:(0,Ee.F)(vt.props),expandedKeys:_e})},he.onNodeDragOver=function(Ce,vt){var Xe=he.state,_e=Xe.dragChildrenKeys,Pt=Xe.flattenNodes,cn=Xe.keyEntities,Ot=Xe.expandedKeys,Xt=Xe.indent,$t=he.props,nn=$t.onDragOver,bt=$t.allowDrop,rn=$t.direction,wn=(0,Ze.Z)(he),Zt=wn.dragNode;if(Zt){var wt=(0,yt.OM)(Ce,Zt,vt,Xt,he.dragStartMousePosition,bt,Pt,cn,Ot,rn),Ln=wt.dropPosition,zn=wt.dropLevelOffset,Wn=wt.dropTargetKey,Yn=wt.dropContainerKey,xa=wt.dropAllowed,on=wt.dropTargetPos,qt=wt.dragOverNodeKey;_e.indexOf(Wn)!==-1||!xa||(Zt.props.eventKey===Wn&&zn===0?he.state.dropPosition===null&&he.state.dropLevelOffset===null&&he.state.dropTargetKey===null&&he.state.dropContainerKey===null&&he.state.dropTargetPos===null&&he.state.dropAllowed===!1&&he.state.dragOverNodeKey===null||he.resetDragState():Ln===he.state.dropPosition&&zn===he.state.dropLevelOffset&&Wn===he.state.dropTargetKey&&Yn===he.state.dropContainerKey&&on===he.state.dropTargetPos&&xa===he.state.dropAllowed&&qt===he.state.dragOverNodeKey||he.setState({dropPosition:Ln,dropLevelOffset:zn,dropTargetKey:Wn,dropContainerKey:Yn,dropTargetPos:on,dropAllowed:xa,dragOverNodeKey:qt}),nn==null||nn({event:Ce,node:(0,Ee.F)(vt.props)}))}},he.onNodeDragLeave=function(Ce,vt){he.currentMouseOverDroppableNodeKey===vt.props.eventKey&&!Ce.currentTarget.contains(Ce.relatedTarget)&&(he.resetDragState(),he.currentMouseOverDroppableNodeKey=null);var Xe=he.props.onDragLeave;Xe==null||Xe({event:Ce,node:(0,Ee.F)(vt.props)})},he.onWindowDragEnd=function(Ce){he.onNodeDragEnd(Ce,null,!0),window.removeEventListener("dragend",he.onWindowDragEnd)},he.onNodeDragEnd=function(Ce,vt){var Xe=he.props.onDragEnd;he.setState({dragOverNodeKey:null}),he.cleanDragState(),Xe==null||Xe({event:Ce,node:(0,Ee.F)(vt.props)}),he.dragNode=null,window.removeEventListener("dragend",he.onWindowDragEnd)},he.onNodeDrop=function(Ce,vt){var Xe,_e=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,Pt=he.state,cn=Pt.dragChildrenKeys,Ot=Pt.dropPosition,Xt=Pt.dropTargetKey,$t=Pt.dropTargetPos,nn=Pt.dropAllowed;if(nn){var bt=he.props.onDrop;if(he.setState({dragOverNodeKey:null}),he.cleanDragState(),Xt!==null){var rn=(0,Ae.Z)((0,Ae.Z)({},(0,Ee.H8)(Xt,he.getTreeNodeRequiredProps())),{},{active:((Xe=he.getActiveItem())===null||Xe===void 0?void 0:Xe.key)===Xt,data:(0,Be.Z)(he.state.keyEntities,Xt).node}),wn=cn.indexOf(Xt)!==-1;(0,E.ZP)(!wn,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var Zt=(0,yt.yx)($t),wt={event:Ce,node:(0,Ee.F)(rn),dragNode:he.dragNode?(0,Ee.F)(he.dragNode.props):null,dragNodesKeys:[he.dragNode.props.eventKey].concat(cn),dropToGap:Ot!==0,dropPosition:Ot+Number(Zt[Zt.length-1])};_e||bt==null||bt(wt),he.dragNode=null}}},he.cleanDragState=function(){var Ce=he.state.draggingNodeKey;Ce!==null&&he.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),he.dragStartMousePosition=null,he.currentMouseOverDroppableNodeKey=null},he.triggerExpandActionExpand=function(Ce,vt){var Xe=he.state,_e=Xe.expandedKeys,Pt=Xe.flattenNodes,cn=vt.expanded,Ot=vt.key,Xt=vt.isLeaf;if(!(Xt||Ce.shiftKey||Ce.metaKey||Ce.ctrlKey)){var $t=Pt.filter(function(bt){return bt.key===Ot})[0],nn=(0,Ee.F)((0,Ae.Z)((0,Ae.Z)({},(0,Ee.H8)(Ot,he.getTreeNodeRequiredProps())),{},{data:$t.data}));he.setExpandedKeys(cn?(0,yt._5)(_e,Ot):(0,yt.L0)(_e,Ot)),he.onNodeExpand(Ce,nn)}},he.onNodeClick=function(Ce,vt){var Xe=he.props,_e=Xe.onClick,Pt=Xe.expandAction;Pt==="click"&&he.triggerExpandActionExpand(Ce,vt),_e==null||_e(Ce,vt)},he.onNodeDoubleClick=function(Ce,vt){var Xe=he.props,_e=Xe.onDoubleClick,Pt=Xe.expandAction;Pt==="doubleClick"&&he.triggerExpandActionExpand(Ce,vt),_e==null||_e(Ce,vt)},he.onNodeSelect=function(Ce,vt){var Xe=he.state.selectedKeys,_e=he.state,Pt=_e.keyEntities,cn=_e.fieldNames,Ot=he.props,Xt=Ot.onSelect,$t=Ot.multiple,nn=vt.selected,bt=vt[cn.key],rn=!nn;rn?$t?Xe=(0,yt.L0)(Xe,bt):Xe=[bt]:Xe=(0,yt._5)(Xe,bt);var wn=Xe.map(function(Zt){var wt=(0,Be.Z)(Pt,Zt);return wt?wt.node:null}).filter(function(Zt){return Zt});he.setUncontrolledState({selectedKeys:Xe}),Xt==null||Xt(Xe,{event:"select",selected:rn,node:vt,selectedNodes:wn,nativeEvent:Ce.nativeEvent})},he.onNodeCheck=function(Ce,vt,Xe){var _e=he.state,Pt=_e.keyEntities,cn=_e.checkedKeys,Ot=_e.halfCheckedKeys,Xt=he.props,$t=Xt.checkStrictly,nn=Xt.onCheck,bt=vt.key,rn,wn={event:"check",node:vt,checked:Xe,nativeEvent:Ce.nativeEvent};if($t){var Zt=Xe?(0,yt.L0)(cn,bt):(0,yt._5)(cn,bt),wt=(0,yt._5)(Ot,bt);rn={checked:Zt,halfChecked:wt},wn.checkedNodes=Zt.map(function(on){return(0,Be.Z)(Pt,on)}).filter(function(on){return on}).map(function(on){return on.node}),he.setUncontrolledState({checkedKeys:Zt})}else{var Ln=(0,Yt.S)([].concat((0,Ie.Z)(cn),[bt]),!0,Pt),zn=Ln.checkedKeys,Wn=Ln.halfCheckedKeys;if(!Xe){var Yn=new Set(zn);Yn.delete(bt);var xa=(0,Yt.S)(Array.from(Yn),{checked:!1,halfCheckedKeys:Wn},Pt);zn=xa.checkedKeys,Wn=xa.halfCheckedKeys}rn=zn,wn.checkedNodes=[],wn.checkedNodesPositions=[],wn.halfCheckedKeys=Wn,zn.forEach(function(on){var qt=(0,Be.Z)(Pt,on);if(qt){var pn=qt.node,Zn=qt.pos;wn.checkedNodes.push(pn),wn.checkedNodesPositions.push({node:pn,pos:Zn})}}),he.setUncontrolledState({checkedKeys:zn},!1,{halfCheckedKeys:Wn})}nn==null||nn(rn,wn)},he.onNodeLoad=function(Ce){var vt=Ce.key,Xe=new Promise(function(_e,Pt){he.setState(function(cn){var Ot=cn.loadedKeys,Xt=Ot===void 0?[]:Ot,$t=cn.loadingKeys,nn=$t===void 0?[]:$t,bt=he.props,rn=bt.loadData,wn=bt.onLoad;if(!rn||Xt.indexOf(vt)!==-1||nn.indexOf(vt)!==-1)return null;var Zt=rn(Ce);return Zt.then(function(){var wt=he.state.loadedKeys,Ln=(0,yt.L0)(wt,vt);wn==null||wn(Ln,{event:"load",node:Ce}),he.setUncontrolledState({loadedKeys:Ln}),he.setState(function(zn){return{loadingKeys:(0,yt._5)(zn.loadingKeys,vt)}}),_e()}).catch(function(wt){if(he.setState(function(zn){return{loadingKeys:(0,yt._5)(zn.loadingKeys,vt)}}),he.loadingRetryTimes[vt]=(he.loadingRetryTimes[vt]||0)+1,he.loadingRetryTimes[vt]>=Ut){var Ln=he.state.loadedKeys;(0,E.ZP)(!1,"Retry for `loadData` many times but still failed. No more retry."),he.setUncontrolledState({loadedKeys:(0,yt.L0)(Ln,vt)}),_e()}Pt(wt)}),{loadingKeys:(0,yt.L0)(nn,vt)}})});return Xe.catch(function(){}),Xe},he.onNodeMouseEnter=function(Ce,vt){var Xe=he.props.onMouseEnter;Xe==null||Xe({event:Ce,node:vt})},he.onNodeMouseLeave=function(Ce,vt){var Xe=he.props.onMouseLeave;Xe==null||Xe({event:Ce,node:vt})},he.onNodeContextMenu=function(Ce,vt){var Xe=he.props.onRightClick;Xe&&(Ce.preventDefault(),Xe({event:Ce,node:vt}))},he.onFocus=function(){var Ce=he.props.onFocus;he.setState({focused:!0});for(var vt=arguments.length,Xe=new Array(vt),_e=0;_e<vt;_e++)Xe[_e]=arguments[_e];Ce==null||Ce.apply(void 0,Xe)},he.onBlur=function(){var Ce=he.props.onBlur;he.setState({focused:!1}),he.onActiveChange(null);for(var vt=arguments.length,Xe=new Array(vt),_e=0;_e<vt;_e++)Xe[_e]=arguments[_e];Ce==null||Ce.apply(void 0,Xe)},he.getTreeNodeRequiredProps=function(){var Ce=he.state,vt=Ce.expandedKeys,Xe=Ce.selectedKeys,_e=Ce.loadedKeys,Pt=Ce.loadingKeys,cn=Ce.checkedKeys,Ot=Ce.halfCheckedKeys,Xt=Ce.dragOverNodeKey,$t=Ce.dropPosition,nn=Ce.keyEntities;return{expandedKeys:vt||[],selectedKeys:Xe||[],loadedKeys:_e||[],loadingKeys:Pt||[],checkedKeys:cn||[],halfCheckedKeys:Ot||[],dragOverNodeKey:Xt,dropPosition:$t,keyEntities:nn}},he.setExpandedKeys=function(Ce){var vt=he.state,Xe=vt.treeData,_e=vt.fieldNames,Pt=(0,Ee.oH)(Xe,Ce,_e);he.setUncontrolledState({expandedKeys:Ce,flattenNodes:Pt},!0)},he.onNodeExpand=function(Ce,vt){var Xe=he.state.expandedKeys,_e=he.state,Pt=_e.listChanging,cn=_e.fieldNames,Ot=he.props,Xt=Ot.onExpand,$t=Ot.loadData,nn=vt.expanded,bt=vt[cn.key];if(!Pt){var rn=Xe.indexOf(bt),wn=!nn;if((0,E.ZP)(nn&&rn!==-1||!nn&&rn===-1,"Expand state not sync with index check"),wn?Xe=(0,yt.L0)(Xe,bt):Xe=(0,yt._5)(Xe,bt),he.setExpandedKeys(Xe),Xt==null||Xt(Xe,{node:vt,expanded:wn,nativeEvent:Ce.nativeEvent}),wn&&$t){var Zt=he.onNodeLoad(vt);Zt&&Zt.then(function(){var wt=(0,Ee.oH)(he.state.treeData,Xe,cn);he.setUncontrolledState({flattenNodes:wt})}).catch(function(){var wt=he.state.expandedKeys,Ln=(0,yt._5)(wt,bt);he.setExpandedKeys(Ln)})}}},he.onListChangeStart=function(){he.setUncontrolledState({listChanging:!0})},he.onListChangeEnd=function(){setTimeout(function(){he.setUncontrolledState({listChanging:!1})})},he.onActiveChange=function(Ce){var vt=he.state.activeKey,Xe=he.props.onActiveChange;vt!==Ce&&(he.setState({activeKey:Ce}),Ce!==null&&he.scrollTo({key:Ce}),Xe==null||Xe(Ce))},he.getActiveItem=function(){var Ce=he.state,vt=Ce.activeKey,Xe=Ce.flattenNodes;return vt===null?null:Xe.find(function(_e){var Pt=_e.key;return Pt===vt})||null},he.offsetActiveKey=function(Ce){var vt=he.state,Xe=vt.flattenNodes,_e=vt.activeKey,Pt=Xe.findIndex(function(Xt){var $t=Xt.key;return $t===_e});Pt===-1&&Ce<0&&(Pt=Xe.length),Pt=(Pt+Ce+Xe.length)%Xe.length;var cn=Xe[Pt];if(cn){var Ot=cn.key;he.onActiveChange(Ot)}else he.onActiveChange(null)},he.onKeyDown=function(Ce){var vt=he.state,Xe=vt.activeKey,_e=vt.expandedKeys,Pt=vt.checkedKeys,cn=vt.fieldNames,Ot=he.props,Xt=Ot.onKeyDown,$t=Ot.checkable,nn=Ot.selectable;switch(Ce.which){case De.Z.UP:{he.offsetActiveKey(-1),Ce.preventDefault();break}case De.Z.DOWN:{he.offsetActiveKey(1),Ce.preventDefault();break}}var bt=he.getActiveItem();if(bt&&bt.data){var rn=he.getTreeNodeRequiredProps(),wn=bt.data.isLeaf===!1||!!(bt.data[cn.children]||[]).length,Zt=(0,Ee.F)((0,Ae.Z)((0,Ae.Z)({},(0,Ee.H8)(Xe,rn)),{},{data:bt.data,active:!0}));switch(Ce.which){case De.Z.LEFT:{wn&&_e.includes(Xe)?he.onNodeExpand({},Zt):bt.parent&&he.onActiveChange(bt.parent.key),Ce.preventDefault();break}case De.Z.RIGHT:{wn&&!_e.includes(Xe)?he.onNodeExpand({},Zt):bt.children&&bt.children.length&&he.onActiveChange(bt.children[0].key),Ce.preventDefault();break}case De.Z.ENTER:case De.Z.SPACE:{$t&&!Zt.disabled&&Zt.checkable!==!1&&!Zt.disableCheckbox?he.onNodeCheck({},Zt,!Pt.includes(Xe)):!$t&&nn&&!Zt.disabled&&Zt.selectable!==!1&&he.onNodeSelect({},Zt);break}}}Xt==null||Xt(Ce)},he.setUncontrolledState=function(Ce){var vt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Xe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!he.destroyed){var _e=!1,Pt=!0,cn={};Object.keys(Ce).forEach(function(Ot){if(Ot in he.props){Pt=!1;return}_e=!0,cn[Ot]=Ce[Ot]}),_e&&(!vt||Pt)&&he.setState((0,Ae.Z)((0,Ae.Z)({},cn),Xe))}},he.scrollTo=function(Ce){he.listRef.current.scrollTo(Ce)},he}return(0,ue.Z)(Fe,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var at=this.props.activeKey;at!==void 0&&at!==this.state.activeKey&&(this.setState({activeKey:at}),at!==null&&this.scrollTo({key:at}))}},{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 at,At=this.state,we=At.focused,Ce=At.flattenNodes,vt=At.keyEntities,Xe=At.draggingNodeKey,_e=At.activeKey,Pt=At.dropLevelOffset,cn=At.dropContainerKey,Ot=At.dropTargetKey,Xt=At.dropPosition,$t=At.dragOverNodeKey,nn=At.indent,bt=this.props,rn=bt.prefixCls,wn=bt.className,Zt=bt.style,wt=bt.showLine,Ln=bt.focusable,zn=bt.tabIndex,Wn=zn===void 0?0:zn,Yn=bt.selectable,xa=bt.showIcon,on=bt.icon,qt=bt.switcherIcon,pn=bt.draggable,Zn=bt.checkable,xn=bt.checkStrictly,Na=bt.disabled,Wa=bt.motion,ta=bt.loadData,En=bt.filterTreeNode,Oa=bt.height,Ve=bt.itemHeight,Bt=bt.virtual,Gt=bt.titleRender,Vt=bt.dropIndicatorRender,tn=bt.onContextMenu,Sn=bt.onScroll,mn=bt.direction,ut=bt.rootClassName,pt=bt.rootStyle,ct=(0,le.Z)(this.props,{aria:!0,data:!0}),Wt;return pn&&((0,be.Z)(pn)==="object"?Wt=pn:typeof pn=="function"?Wt={nodeDraggable:pn}:Wt={}),a.createElement(x.k.Provider,{value:{prefixCls:rn,selectable:Yn,showIcon:xa,icon:on,switcherIcon:qt,draggable:Wt,draggingNodeKey:Xe,checkable:Zn,checkStrictly:xn,disabled:Na,keyEntities:vt,dropLevelOffset:Pt,dropContainerKey:cn,dropTargetKey:Ot,dropPosition:Xt,dragOverNodeKey:$t,indent:nn,direction:mn,dropIndicatorRender:Vt,loadData:ta,filterTreeNode:En,titleRender:Gt,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()(rn,wn,ut,(at={},(0,se.Z)(at,"".concat(rn,"-show-line"),wt),(0,se.Z)(at,"".concat(rn,"-focused"),we),(0,se.Z)(at,"".concat(rn,"-active-focused"),_e!==null),at)),style:pt},a.createElement(ln,(0,b.Z)({ref:this.listRef,prefixCls:rn,style:Zt,data:Ce,disabled:Na,selectable:Yn,checkable:!!Zn,motion:Wa,dragging:Xe!==null,height:Oa,itemHeight:Ve,virtual:Bt,focusable:Ln,focused:we,tabIndex:Wn,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:tn,onScroll:Sn},this.getTreeNodeRequiredProps(),ct))))}}],[{key:"getDerivedStateFromProps",value:function(at,At){var we=At.prevProps,Ce={prevProps:at};function vt(Ln){return!we&&Ln in at||we&&we[Ln]!==at[Ln]}var Xe,_e=At.fieldNames;if(vt("fieldNames")&&(_e=(0,Ee.w$)(at.fieldNames),Ce.fieldNames=_e),vt("treeData")?Xe=at.treeData:vt("children")&&((0,E.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),Xe=(0,Ee.zn)(at.children)),Xe){Ce.treeData=Xe;var Pt=(0,Ee.I8)(Xe,{fieldNames:_e});Ce.keyEntities=(0,Ae.Z)((0,se.Z)({},Ye,ot),Pt.keyEntities)}var cn=Ce.keyEntities||At.keyEntities;if(vt("expandedKeys")||we&&vt("autoExpandParent"))Ce.expandedKeys=at.autoExpandParent||!we&&at.defaultExpandParent?(0,yt.r7)(at.expandedKeys,cn):at.expandedKeys;else if(!we&&at.defaultExpandAll){var Ot=(0,Ae.Z)({},cn);delete Ot[Ye],Ce.expandedKeys=Object.keys(Ot).map(function(Ln){return Ot[Ln].key})}else!we&&at.defaultExpandedKeys&&(Ce.expandedKeys=at.autoExpandParent||at.defaultExpandParent?(0,yt.r7)(at.defaultExpandedKeys,cn):at.defaultExpandedKeys);if(Ce.expandedKeys||delete Ce.expandedKeys,Xe||Ce.expandedKeys){var Xt=(0,Ee.oH)(Xe||At.treeData,Ce.expandedKeys||At.expandedKeys,_e);Ce.flattenNodes=Xt}if(at.selectable&&(vt("selectedKeys")?Ce.selectedKeys=(0,yt.BT)(at.selectedKeys,at):!we&&at.defaultSelectedKeys&&(Ce.selectedKeys=(0,yt.BT)(at.defaultSelectedKeys,at))),at.checkable){var $t;if(vt("checkedKeys")?$t=(0,yt.E6)(at.checkedKeys)||{}:!we&&at.defaultCheckedKeys?$t=(0,yt.E6)(at.defaultCheckedKeys)||{}:Xe&&($t=(0,yt.E6)(at.checkedKeys)||{checkedKeys:At.checkedKeys,halfCheckedKeys:At.halfCheckedKeys}),$t){var nn=$t,bt=nn.checkedKeys,rn=bt===void 0?[]:bt,wn=nn.halfCheckedKeys,Zt=wn===void 0?[]:wn;if(!at.checkStrictly){var wt=(0,Yt.S)(rn,!0,cn);rn=wt.checkedKeys,Zt=wt.halfCheckedKeys}Ce.checkedKeys=rn,Ce.halfCheckedKeys=Zt}}return vt("loadedKeys")&&(Ce.loadedKeys=at.loadedKeys),Ce}}]),Fe}(a.Component);Cn.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},Cn.TreeNode=ge.Z;var Ft=Cn,It=Ft},35654:function(_t,Rt,ae){"use strict";ae.d(Rt,{BT:function(){return a},E6:function(){return z},L0:function(){return Te},OM:function(){return E},_5:function(){return We},r7:function(){return te},wA:function(){return je},yx:function(){return ke}});var b=ae(95190),se=ae(93664),be=ae(48736),Ae=ae(59301),Ie=ae(39417),Re=ae(67841),ue=ae(71430),Ze=null;function We(re,ie){if(!re)return[];var ce=re.slice(),pe=ce.indexOf(ie);return pe>=0&&ce.splice(pe,1),ce}function Te(re,ie){var ce=(re||[]).slice();return ce.indexOf(ie)===-1&&ce.push(ie),ce}function ke(re){return re.split("-")}function je(re,ie){var ce=[],pe=(0,Re.Z)(ie,re);function ge(){var ye=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];ye.forEach(function(Ee){var Le=Ee.key,ve=Ee.children;ce.push(Le),ge(ve)})}return ge(pe.children),ce}function De(re){if(re.parent){var ie=ke(re.pos);return Number(ie[ie.length-1])===re.parent.children.length-1}return!1}function le(re){var ie=ke(re.pos);return Number(ie[ie.length-1])===0}function E(re,ie,ce,pe,ge,ye,Ee,Le,ve,$e){var He,it=re.clientX,Ne=re.clientY,Qe=re.target.getBoundingClientRect(),lt=Qe.top,Ke=Qe.height,Ye=($e==="rtl"?-1:1)*(((ge==null?void 0:ge.x)||0)-it),Kt=(Ye-12)/pe,ot=(0,Re.Z)(Le,ce.props.eventKey);if(Ne<lt+Ke/2){var Ht=Ee.findIndex(function(It){return It.key===ot.key}),en=Ht<=0?0:Ht-1,Je=Ee[en].key;ot=(0,Re.Z)(Le,Je)}var ft=ot.key,Dt=ot,ln=ot.key,yt=0,Yt=0;if(!ve.includes(ft))for(var Be=0;Be<Kt&&De(ot);Be+=1)ot=ot.parent,Yt+=1;var Ut=ie.props.data,Cn=ot.node,Ft=!0;return le(ot)&&ot.level===0&&Ne<lt+Ke/2&&ye({dragNode:Ut,dropNode:Cn,dropPosition:-1})&&ot.key===ce.props.eventKey?yt=-1:(Dt.children||[]).length&&ve.includes(ln)?ye({dragNode:Ut,dropNode:Cn,dropPosition:0})?yt=0:Ft=!1:Yt===0?Kt>-1.5?ye({dragNode:Ut,dropNode:Cn,dropPosition:1})?yt=1:Ft=!1:ye({dragNode:Ut,dropNode:Cn,dropPosition:0})?yt=0:ye({dragNode:Ut,dropNode:Cn,dropPosition:1})?yt=1:Ft=!1:ye({dragNode:Ut,dropNode:Cn,dropPosition:1})?yt=1:Ft=!1,{dropPosition:yt,dropLevelOffset:Yt,dropTargetKey:ot.key,dropTargetPos:ot.pos,dragOverNodeKey:ln,dropContainerKey:yt===0?null:((He=ot.parent)===null||He===void 0?void 0:He.key)||null,dropAllowed:Ft}}function a(re,ie){if(re){var ce=ie.multiple;return ce?re.slice():re.length?[re[0]]:re}}var x=function(ie){return ie};function y(re,ie){if(!re)return[];var ce=ie||{},pe=ce.processProps,ge=pe===void 0?x:pe,ye=Array.isArray(re)?re:[re];return ye.map(function(Ee){var Le=Ee.children,ve=_objectWithoutProperties(Ee,Ze),$e=y(Le,ie);return React.createElement(TreeNode,_extends({key:ve.key},ge(ve)),$e)})}function z(re){if(!re)return null;var ie;if(Array.isArray(re))ie={checkedKeys:re,halfCheckedKeys:void 0};else if((0,se.Z)(re)==="object")ie={checkedKeys:re.checked||void 0,halfCheckedKeys:re.halfChecked||void 0};else return(0,be.ZP)(!1,"`checkedKeys` is not an array or an object"),null;return ie}function te(re,ie){var ce=new Set;function pe(ge){if(!ce.has(ge)){var ye=(0,Re.Z)(ie,ge);if(ye){ce.add(ge);var Ee=ye.parent,Le=ye.node;Le.disabled||Ee&&pe(Ee.key)}}}return(re||[]).forEach(function(ge){pe(ge)}),(0,b.Z)(ce)}},90782:function(_t,Rt,ae){"use strict";ae.d(Rt,{S:function(){return ue}});var b=ae(48736),se=ae(67841);function be(Ze,We){var Te=new Set;return Ze.forEach(function(ke){We.has(ke)||Te.add(ke)}),Te}function Ae(Ze){var We=Ze||{},Te=We.disabled,ke=We.disableCheckbox,je=We.checkable;return!!(Te||ke)||je===!1}function Ie(Ze,We,Te,ke){for(var je=new Set(Ze),De=new Set,le=0;le<=Te;le+=1){var E=We.get(le)||new Set;E.forEach(function(z){var te=z.key,re=z.node,ie=z.children,ce=ie===void 0?[]:ie;je.has(te)&&!ke(re)&&ce.filter(function(pe){return!ke(pe.node)}).forEach(function(pe){je.add(pe.key)})})}for(var a=new Set,x=Te;x>=0;x-=1){var y=We.get(x)||new Set;y.forEach(function(z){var te=z.parent,re=z.node;if(!(ke(re)||!z.parent||a.has(z.parent.key))){if(ke(z.parent.node)){a.add(te.key);return}var ie=!0,ce=!1;(te.children||[]).filter(function(pe){return!ke(pe.node)}).forEach(function(pe){var ge=pe.key,ye=je.has(ge);ie&&!ye&&(ie=!1),!ce&&(ye||De.has(ge))&&(ce=!0)}),ie&&je.add(te.key),ce&&De.add(te.key),a.add(te.key)}})}return{checkedKeys:Array.from(je),halfCheckedKeys:Array.from(be(De,je))}}function Re(Ze,We,Te,ke,je){for(var De=new Set(Ze),le=new Set(We),E=0;E<=ke;E+=1){var a=Te.get(E)||new Set;a.forEach(function(te){var re=te.key,ie=te.node,ce=te.children,pe=ce===void 0?[]:ce;!De.has(re)&&!le.has(re)&&!je(ie)&&pe.filter(function(ge){return!je(ge.node)}).forEach(function(ge){De.delete(ge.key)})})}le=new Set;for(var x=new Set,y=ke;y>=0;y-=1){var z=Te.get(y)||new Set;z.forEach(function(te){var re=te.parent,ie=te.node;if(!(je(ie)||!te.parent||x.has(te.parent.key))){if(je(te.parent.node)){x.add(re.key);return}var ce=!0,pe=!1;(re.children||[]).filter(function(ge){return!je(ge.node)}).forEach(function(ge){var ye=ge.key,Ee=De.has(ye);ce&&!Ee&&(ce=!1),!pe&&(Ee||le.has(ye))&&(pe=!0)}),ce||De.delete(re.key),pe&&le.add(re.key),x.add(re.key)}})}return{checkedKeys:Array.from(De),halfCheckedKeys:Array.from(be(le,De))}}function ue(Ze,We,Te,ke){var je=[],De;ke?De=ke:De=Ae;var le=new Set(Ze.filter(function(y){var z=!!(0,se.Z)(Te,y);return z||je.push(y),z})),E=new Map,a=0;Object.keys(Te).forEach(function(y){var z=Te[y],te=z.level,re=E.get(te);re||(re=new Set,E.set(te,re)),re.add(z),a=Math.max(a,te)}),(0,b.ZP)(!je.length,"Tree missing follow keys: ".concat(je.slice(0,100).map(function(y){return"'".concat(y,"'")}).join(", ")));var x;return We===!0?x=Ie(le,E,a,De):x=Re(le,We.halfCheckedKeys,E,a,De),x}},67841:function(_t,Rt,ae){"use strict";ae.d(Rt,{Z:function(){return b}});function b(se,be){return se[be]}},71430:function(_t,Rt,ae){"use strict";ae.d(Rt,{F:function(){return te},H8:function(){return z},I8:function(){return y},km:function(){return je},oH:function(){return a},w$:function(){return De},zn:function(){return E}});var b=ae(93664),se=ae(95190),be=ae(20439),Ae=ae(62646),Ie=ae(11592),Re=ae(2738),ue=ae(48736),Ze=ae(67841),We=["children"];function Te(re,ie){return"".concat(re,"-").concat(ie)}function ke(re){return re&&re.type&&re.type.isTreeNode}function je(re,ie){return re!=null?re:ie}function De(re){var ie=re||{},ce=ie.title,pe=ie._title,ge=ie.key,ye=ie.children,Ee=ce||"title";return{title:Ee,_title:pe||[Ee],key:ge||"key",children:ye||"children"}}function le(re,ie){var ce=new Map;function pe(ge){var ye=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(ge||[]).forEach(function(Ee){var Le=Ee[ie.key],ve=Ee[ie.children];warning(Le!=null,"Tree node must have a certain key: [".concat(ye).concat(Le,"]"));var $e=String(Le);warning(!ce.has($e)||Le===null||Le===void 0,"Same 'key' exist in the Tree: ".concat($e)),ce.set($e,!0),pe(ve,"".concat(ye).concat($e," > "))})}pe(re)}function E(re){function ie(ce){var pe=(0,Ie.Z)(ce);return pe.map(function(ge){if(!ke(ge))return(0,ue.ZP)(!ge,"Tree/TreeNode can only accept TreeNode as children."),null;var ye=ge.key,Ee=ge.props,Le=Ee.children,ve=(0,Ae.Z)(Ee,We),$e=(0,be.Z)({key:ye},ve),He=ie(Le);return He.length&&($e.children=He),$e}).filter(function(ge){return ge})}return ie(re)}function a(re,ie,ce){var pe=De(ce),ge=pe._title,ye=pe.key,Ee=pe.children,Le=new Set(ie===!0?[]:ie),ve=[];function $e(He){var it=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return He.map(function(Ne,Qe){for(var lt=Te(it?it.pos:"0",Qe),Ke=je(Ne[ye],lt),Ye,Kt=0;Kt<ge.length;Kt+=1){var ot=ge[Kt];if(Ne[ot]!==void 0){Ye=Ne[ot];break}}var Ht=(0,be.Z)((0,be.Z)({},(0,Re.Z)(Ne,[].concat((0,se.Z)(ge),[ye,Ee]))),{},{title:Ye,key:Ke,parent:it,pos:lt,children:null,data:Ne,isStart:[].concat((0,se.Z)(it?it.isStart:[]),[Qe===0]),isEnd:[].concat((0,se.Z)(it?it.isEnd:[]),[Qe===He.length-1])});return ve.push(Ht),ie===!0||Le.has(Ke)?Ht.children=$e(Ne[Ee]||[],Ht):Ht.children=[],Ht})}return $e(re),ve}function x(re,ie,ce){var pe={};(0,b.Z)(ce)==="object"?pe=ce:pe={externalGetKey:ce},pe=pe||{};var ge=pe,ye=ge.childrenPropName,Ee=ge.externalGetKey,Le=ge.fieldNames,ve=De(Le),$e=ve.key,He=ve.children,it=ye||He,Ne;Ee?typeof Ee=="string"?Ne=function(Ke){return Ke[Ee]}:typeof Ee=="function"&&(Ne=function(Ke){return Ee(Ke)}):Ne=function(Ke,Ye){return je(Ke[$e],Ye)};function Qe(lt,Ke,Ye,Kt){var ot=lt?lt[it]:re,Ht=lt?Te(Ye.pos,Ke):"0",en=lt?[].concat((0,se.Z)(Kt),[lt]):[];if(lt){var Je=Ne(lt,Ht),ft={node:lt,index:Ke,pos:Ht,key:Je,parentPos:Ye.node?Ye.pos:null,level:Ye.level+1,nodes:en};ie(ft)}ot&&ot.forEach(function(Dt,ln){Qe(Dt,ln,{node:lt,pos:Ht,level:Ye?Ye.level+1:-1},en)})}Qe(null)}function y(re){var ie=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},ce=ie.initWrapper,pe=ie.processEntity,ge=ie.onProcessFinished,ye=ie.externalGetKey,Ee=ie.childrenPropName,Le=ie.fieldNames,ve=arguments.length>2?arguments[2]:void 0,$e=ye||ve,He={},it={},Ne={posEntities:He,keyEntities:it};return ce&&(Ne=ce(Ne)||Ne),x(re,function(Qe){var lt=Qe.node,Ke=Qe.index,Ye=Qe.pos,Kt=Qe.key,ot=Qe.parentPos,Ht=Qe.level,en=Qe.nodes,Je={node:lt,nodes:en,index:Ke,key:Kt,pos:Ye,level:Ht},ft=je(Kt,Ye);He[Ye]=Je,it[ft]=Je,Je.parent=He[ot],Je.parent&&(Je.parent.children=Je.parent.children||[],Je.parent.children.push(Je)),pe&&pe(Je,Ne)},{externalGetKey:$e,childrenPropName:Ee,fieldNames:Le}),ge&&ge(Ne),Ne}function z(re,ie){var ce=ie.expandedKeys,pe=ie.selectedKeys,ge=ie.loadedKeys,ye=ie.loadingKeys,Ee=ie.checkedKeys,Le=ie.halfCheckedKeys,ve=ie.dragOverNodeKey,$e=ie.dropPosition,He=ie.keyEntities,it=(0,Ze.Z)(He,re),Ne={eventKey:re,expanded:ce.indexOf(re)!==-1,selected:pe.indexOf(re)!==-1,loaded:ge.indexOf(re)!==-1,loading:ye.indexOf(re)!==-1,checked:Ee.indexOf(re)!==-1,halfChecked:Le.indexOf(re)!==-1,pos:String(it?it.pos:""),dragOver:ve===re&&$e===0,dragOverGapTop:ve===re&&$e===-1,dragOverGapBottom:ve===re&&$e===1};return Ne}function te(re){var ie=re.data,ce=re.expanded,pe=re.selected,ge=re.checked,ye=re.loaded,Ee=re.loading,Le=re.halfChecked,ve=re.dragOver,$e=re.dragOverGapTop,He=re.dragOverGapBottom,it=re.pos,Ne=re.active,Qe=re.eventKey,lt=(0,be.Z)((0,be.Z)({},ie),{},{expanded:ce,selected:pe,checked:ge,loaded:ye,loading:Ee,halfChecked:Le,dragOver:ve,dragOverGapTop:$e,dragOverGapBottom:He,pos:it,active:Ne,key:Qe});return"props"in lt||Object.defineProperty(lt,"props",{get:function(){return(0,ue.ZP)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),re}}),lt}},8224:function(_t,Rt,ae){"use strict";ae.d(Rt,{Z:function(){return se}});var b=ae(4676);function se(be,Ae,Ie,Re){var ue=b.unstable_batchedUpdates?function(We){b.unstable_batchedUpdates(Ie,We)}:Ie;return be!=null&&be.addEventListener&&be.addEventListener(Ae,ue,Re),{remove:function(){be!=null&&be.removeEventListener&&be.removeEventListener(Ae,ue,Re)}}}},55468:function(_t,Rt,ae){"use strict";ae.d(Rt,{g1:function(){return ke},os:function(){return De}});var b=/margin|padding|width|height|max|min|offset/,se={left:!0,top:!0},be={cssFloat:1,styleFloat:1,float:1};function Ae(le){return le.nodeType===1?le.ownerDocument.defaultView.getComputedStyle(le,null):{}}function Ie(le,E,a){if(E=E.toLowerCase(),a==="auto"){if(E==="height")return le.offsetHeight;if(E==="width")return le.offsetWidth}return E in se||(se[E]=b.test(E)),se[E]?parseFloat(a)||0:a}function Re(le,E){var a=arguments.length,x=Ae(le);return E=be[E]?"cssFloat"in le.style?"cssFloat":"styleFloat":E,a===1?x:Ie(le,E,x[E]||le.style[E])}function ue(le,E,a){var x=arguments.length;if(E=be[E]?"cssFloat"in le.style?"cssFloat":"styleFloat":E,x===3)return typeof a=="number"&&b.test(E)&&(a="".concat(a,"px")),le.style[E]=a,a;for(var y in E)E.hasOwnProperty(y)&&ue(le,y,E[y]);return Ae(le)}function Ze(le){return le===document.body?document.documentElement.clientWidth:le.offsetWidth}function We(le){return le===document.body?window.innerHeight||document.documentElement.clientHeight:le.offsetHeight}function Te(){var le=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth),E=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight);return{width:le,height:E}}function ke(){var le=document.documentElement.clientWidth,E=window.innerHeight||document.documentElement.clientHeight;return{width:le,height:E}}function je(){return{scrollLeft:Math.max(document.documentElement.scrollLeft,document.body.scrollLeft),scrollTop:Math.max(document.documentElement.scrollTop,document.body.scrollTop)}}function De(le){var E=le.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(_t,Rt,ae){"use strict";ae.d(Rt,{G:function(){return Ae}});var b=ae(47273),se=function(Re){if((0,b.Z)()&&window.document.documentElement){var ue=Array.isArray(Re)?Re:[Re],Ze=window.document.documentElement;return ue.some(function(We){return We in Ze.style})}return!1},be=function(Re,ue){if(!se(Re))return!1;var Ze=document.createElement("div"),We=Ze.style[Re];return Ze.style[Re]=ue,Ze.style[Re]!==We};function Ae(Ie,Re){return!Array.isArray(Ie)&&Re!==void 0?be(Ie,Re):se(Ie)}},57985:function(_t,Rt,ae){"use strict";ae.d(Rt,{Z5:function(){return Xs},_l:function(){return jd},bK:function(){return As}});var b=ae(59301),se=ae(2386);function be(ee,ne){ee.prototype=Object.create(ne.prototype),ee.prototype.constructor=ee,(0,se.Z)(ee,ne)}var Ae=ae(14809),Ie=ae(59781),Re=b.createContext(null),ue=null;function Ze(ee){ee()}var We=Ze,Te=function(ne){return We=ne},ke=function(){return We};function je(){var ee=ke(),ne=null,oe=null;return{clear:function(){ne=null,oe=null},notify:function(){ee(function(){for(var Se=ne;Se;)Se.callback(),Se=Se.next})},get:function(){for(var Se=[],Pe=ne;Pe;)Se.push(Pe),Pe=Pe.next;return Se},subscribe:function(Se){var Pe=!0,xe=oe={callback:Se,next:null,prev:oe};return xe.prev?xe.prev.next=xe:ne=xe,function(){!Pe||ne===null||(Pe=!1,xe.next?xe.next.prev=xe.prev:oe=xe.prev,xe.prev?xe.prev.next=xe.next:ne=xe.next)}}}}var De={notify:function(){},get:function(){return[]}};function le(ee,ne){var oe,de=De;function Se(st){return rt(),de.subscribe(st)}function Pe(){de.notify()}function xe(){St.onStateChange&&St.onStateChange()}function Oe(){return!!oe}function rt(){oe||(oe=ne?ne.addNestedSub(xe):ee.subscribe(xe),de=je())}function Et(){oe&&(oe(),oe=void 0,de.clear(),de=De)}var St={addNestedSub:Se,notifyNestedSubs:Pe,handleChangeWrapper:xe,isSubscribed:Oe,trySubscribe:rt,tryUnsubscribe:Et,getListeners:function(){return de}};return St}var E=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined"?b.useLayoutEffect:b.useEffect;function a(ee){var ne=ee.store,oe=ee.context,de=ee.children,Se=(0,b.useMemo)(function(){var Oe=le(ne);return{store:ne,subscription:Oe}},[ne]),Pe=(0,b.useMemo)(function(){return ne.getState()},[ne]);E(function(){var Oe=Se.subscription;return Oe.onStateChange=Oe.notifyNestedSubs,Oe.trySubscribe(),Pe!==ne.getState()&&Oe.notifyNestedSubs(),function(){Oe.tryUnsubscribe(),Oe.onStateChange=null}},[Se,Pe]);var xe=oe||Re;return b.createElement(xe.Provider,{value:Se},de)}var x=a,y=ae(74126),z=ae(94266),te=ae.n(z),re=ae(53410),ie=["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef","forwardRef","context"],ce=["reactReduxForwardedRef"],pe=[],ge=[null,null],ye=function(ne){try{return JSON.stringify(ne)}catch(oe){return String(ne)}};function Ee(ee,ne){var oe=ee[1];return[ne.payload,oe+1]}function Le(ee,ne,oe){E(function(){return ee.apply(void 0,ne)},oe)}function ve(ee,ne,oe,de,Se,Pe,xe){ee.current=de,ne.current=Se,oe.current=!1,Pe.current&&(Pe.current=null,xe())}function $e(ee,ne,oe,de,Se,Pe,xe,Oe,rt,Et){if(ee){var St=!1,st=null,dt=function(){if(!St){var ua=ne.getState(),ma,Sa;try{ma=de(ua,Se.current)}catch(_a){Sa=_a,st=_a}Sa||(st=null),ma===Pe.current?xe.current||rt():(Pe.current=ma,Oe.current=ma,xe.current=!0,Et({type:"STORE_UPDATED",payload:{error:Sa}}))}};oe.onStateChange=dt,oe.trySubscribe(),dt();var Lt=function(){if(St=!0,oe.tryUnsubscribe(),oe.onStateChange=null,st)throw st};return Lt}}var He=function(){return[null,0]};function it(ee,ne){ne===void 0&&(ne={});var oe=ne,de=oe.getDisplayName,Se=de===void 0?function(Or){return"ConnectAdvanced("+Or+")"}:de,Pe=oe.methodName,xe=Pe===void 0?"connectAdvanced":Pe,Oe=oe.renderCountProp,rt=Oe===void 0?void 0:Oe,Et=oe.shouldHandleStateChanges,St=Et===void 0?!0:Et,st=oe.storeKey,dt=st===void 0?"store":st,Lt=oe.withRef,gn=Lt===void 0?!1:Lt,ua=oe.forwardRef,ma=ua===void 0?!1:ua,Sa=oe.context,_a=Sa===void 0?Re:Sa,Va=(0,y.Z)(oe,ie);if(0)var ar;var jr=_a;return function(io){var ii=io.displayName||io.name||"Component",ho=Se(ii),li=(0,Ae.Z)({},Va,{getDisplayName:Se,methodName:xe,renderCountProp:rt,shouldHandleStateChanges:St,storeKey:dt,displayName:ho,wrappedComponentName:ii,WrappedComponent:io}),Ai=Va.pure;function Oi(Ni){return ee(Ni.dispatch,li)}var yl=Ai?b.useMemo:function(Ni){return Ni()};function fl(Ni){var zl=(0,b.useMemo)(function(){var wu=Ni.reactReduxForwardedRef,ds=(0,y.Z)(Ni,ce);return[Ni.context,wu,ds]},[Ni]),Cl=zl[0],Bu=zl[1],Yl=zl[2],jl=(0,b.useMemo)(function(){return Cl&&Cl.Consumer&&(0,re.isContextConsumer)(b.createElement(Cl.Consumer,null))?Cl:jr},[Cl,jr]),xl=(0,b.useContext)(jl),Xl=!!Ni.store&&!!Ni.store.getState&&!!Ni.store.dispatch,ju=!!xl&&!!xl.store,Bl=Xl?Ni.store:xl.store,Fu=(0,b.useMemo)(function(){return Oi(Bl)},[Bl]),Gu=(0,b.useMemo)(function(){if(!St)return ge;var wu=le(Bl,Xl?null:xl.subscription),ds=wu.notifyNestedSubs.bind(wu);return[wu,ds]},[Bl,Xl,xl]),mu=Gu[0],Hu=Gu[1],Wu=(0,b.useMemo)(function(){return Xl?xl:(0,Ae.Z)({},xl,{subscription:mu})},[Xl,xl,mu]),Ds=(0,b.useReducer)(Ee,pe,He),Vd=Ds[0],Ku=Vd[0],Qd=Ds[1];if(Ku&&Ku.error)throw Ku.error;var Is=(0,b.useRef)(),ls=(0,b.useRef)(Yl),Uu=(0,b.useRef)(),Ls=(0,b.useRef)(!1),us=yl(function(){return Uu.current&&Yl===ls.current?Uu.current:Fu(Bl.getState(),Yl)},[Bl,Ku,Yl]);Le(ve,[ls,Is,Ls,Yl,us,Uu,Hu]),Le($e,[St,Bl,mu,Fu,ls,Is,Ls,Uu,Hu,Qd],[Bl,mu,Fu]);var ss=(0,b.useMemo)(function(){return b.createElement(io,(0,Ae.Z)({},us,{ref:Bu}))},[Bu,io,us]),Jd=(0,b.useMemo)(function(){return St?b.createElement(jl.Provider,{value:Wu},ss):ss},[jl,ss,Wu]);return Jd}var rl=Ai?b.memo(fl):fl;if(rl.WrappedComponent=io,rl.displayName=fl.displayName=ho,ma){var bl=b.forwardRef(function(zl,Cl){return b.createElement(rl,(0,Ae.Z)({},zl,{reactReduxForwardedRef:Cl}))});return bl.displayName=ho,bl.WrappedComponent=io,te()(bl,io)}return te()(rl,io)}}function Ne(ee,ne){return ee===ne?ee!==0||ne!==0||1/ee===1/ne:ee!==ee&&ne!==ne}function Qe(ee,ne){if(Ne(ee,ne))return!0;if(typeof ee!="object"||ee===null||typeof ne!="object"||ne===null)return!1;var oe=Object.keys(ee),de=Object.keys(ne);if(oe.length!==de.length)return!1;for(var Se=0;Se<oe.length;Se++)if(!Object.prototype.hasOwnProperty.call(ne,oe[Se])||!Ne(ee[oe[Se]],ne[oe[Se]]))return!1;return!0}function lt(ee,ne){var oe={},de=function(xe){var Oe=ee[xe];typeof Oe=="function"&&(oe[xe]=function(){return ne(Oe.apply(void 0,arguments))})};for(var Se in ee)de(Se);return oe}function Ke(ee){return function(oe,de){var Se=ee(oe,de);function Pe(){return Se}return Pe.dependsOnOwnProps=!1,Pe}}function Ye(ee){return ee.dependsOnOwnProps!==null&&ee.dependsOnOwnProps!==void 0?!!ee.dependsOnOwnProps:ee.length!==1}function Kt(ee,ne){return function(de,Se){var Pe=Se.displayName,xe=function(rt,Et){return xe.dependsOnOwnProps?xe.mapToProps(rt,Et):xe.mapToProps(rt)};return xe.dependsOnOwnProps=!0,xe.mapToProps=function(rt,Et){xe.mapToProps=ee,xe.dependsOnOwnProps=Ye(ee);var St=xe(rt,Et);return typeof St=="function"&&(xe.mapToProps=St,xe.dependsOnOwnProps=Ye(St),St=xe(rt,Et)),St},xe}}function ot(ee){return typeof ee=="function"?Kt(ee,"mapDispatchToProps"):void 0}function Ht(ee){return ee?void 0:Ke(function(ne){return{dispatch:ne}})}function en(ee){return ee&&typeof ee=="object"?Ke(function(ne){return lt(ee,ne)}):void 0}var Je=[ot,Ht,en];function ft(ee){return typeof ee=="function"?Kt(ee,"mapStateToProps"):void 0}function Dt(ee){return ee?void 0:Ke(function(){return{}})}var ln=[ft,Dt];function yt(ee,ne,oe){return(0,Ae.Z)({},oe,ee,ne)}function Yt(ee){return function(oe,de){var Se=de.displayName,Pe=de.pure,xe=de.areMergedPropsEqual,Oe=!1,rt;return function(St,st,dt){var Lt=ee(St,st,dt);return Oe?(!Pe||!xe(Lt,rt))&&(rt=Lt):(Oe=!0,rt=Lt),rt}}}function Be(ee){return typeof ee=="function"?Yt(ee):void 0}function Ut(ee){return ee?void 0:function(){return yt}}var Cn=[Be,Ut],Ft=["initMapStateToProps","initMapDispatchToProps","initMergeProps"];function It(ee,ne,oe,de){return function(Pe,xe){return oe(ee(Pe,xe),ne(de,xe),xe)}}function nt(ee,ne,oe,de,Se){var Pe=Se.areStatesEqual,xe=Se.areOwnPropsEqual,Oe=Se.areStatePropsEqual,rt=!1,Et,St,st,dt,Lt;function gn(Va,ar){return Et=Va,St=ar,st=ee(Et,St),dt=ne(de,St),Lt=oe(st,dt,St),rt=!0,Lt}function ua(){return st=ee(Et,St),ne.dependsOnOwnProps&&(dt=ne(de,St)),Lt=oe(st,dt,St),Lt}function ma(){return ee.dependsOnOwnProps&&(st=ee(Et,St)),ne.dependsOnOwnProps&&(dt=ne(de,St)),Lt=oe(st,dt,St),Lt}function Sa(){var Va=ee(Et,St),ar=!Oe(Va,st);return st=Va,ar&&(Lt=oe(st,dt,St)),Lt}function _a(Va,ar){var jr=!xe(ar,St),Or=!Pe(Va,Et,ar,St);return Et=Va,St=ar,jr&&Or?ua():jr?ma():Or?Sa():Lt}return function(ar,jr){return rt?_a(ar,jr):gn(ar,jr)}}function Ue(ee,ne){var oe=ne.initMapStateToProps,de=ne.initMapDispatchToProps,Se=ne.initMergeProps,Pe=(0,y.Z)(ne,Ft),xe=oe(ee,Pe),Oe=de(ee,Pe),rt=Se(ee,Pe),Et=Pe.pure?nt:It;return Et(xe,Oe,rt,ee,Pe)}var Fe=["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"];function he(ee,ne,oe){for(var de=ne.length-1;de>=0;de--){var Se=ne[de](ee);if(Se)return Se}return function(Pe,xe){throw new Error("Invalid value of type "+typeof ee+" for "+oe+" argument when connecting component "+xe.wrappedComponentName+".")}}function at(ee,ne){return ee===ne}function At(ee){var ne=ee===void 0?{}:ee,oe=ne.connectHOC,de=oe===void 0?it:oe,Se=ne.mapStateToPropsFactories,Pe=Se===void 0?ln:Se,xe=ne.mapDispatchToPropsFactories,Oe=xe===void 0?Je:xe,rt=ne.mergePropsFactories,Et=rt===void 0?Cn:rt,St=ne.selectorFactory,st=St===void 0?Ue:St;return function(Lt,gn,ua,ma){ma===void 0&&(ma={});var Sa=ma,_a=Sa.pure,Va=_a===void 0?!0:_a,ar=Sa.areStatesEqual,jr=ar===void 0?at:ar,Or=Sa.areOwnPropsEqual,io=Or===void 0?Qe:Or,ii=Sa.areStatePropsEqual,ho=ii===void 0?Qe:ii,li=Sa.areMergedPropsEqual,Ai=li===void 0?Qe:li,Oi=(0,y.Z)(Sa,Fe),yl=he(Lt,Pe,"mapStateToProps"),fl=he(gn,Oe,"mapDispatchToProps"),rl=he(ua,Et,"mergeProps");return de(st,(0,Ae.Z)({methodName:"connect",getDisplayName:function(Ni){return"Connect("+Ni+")"},shouldHandleStateChanges:!!Lt,initMapStateToProps:yl,initMapDispatchToProps:fl,initMergeProps:rl,pure:Va,areStatesEqual:jr,areOwnPropsEqual:io,areStatePropsEqual:ho,areMergedPropsEqual:Ai},Oi))}}var we=At();function Ce(){var ee=useContext(ReactReduxContext);return ee}function vt(ee){ee===void 0&&(ee=ReactReduxContext);var ne=ee===ReactReduxContext?useDefaultReduxContext:function(){return useContext(ee)};return function(){var de=ne(),Se=de.store;return Se}}var Xe=null;function _e(ee){ee===void 0&&(ee=ReactReduxContext);var ne=ee===ReactReduxContext?useDefaultStore:createStoreHook(ee);return function(){var de=ne();return de.dispatch}}var Pt=null,cn=function(ne,oe){return ne===oe};function Ot(ee,ne,oe,de){var Se=useReducer(function(gn){return gn+1},0),Pe=Se[1],xe=useMemo(function(){return createSubscription(oe,de)},[oe,de]),Oe=useRef(),rt=useRef(),Et=useRef(),St=useRef(),st=oe.getState(),dt;try{if(ee!==rt.current||st!==Et.current||Oe.current){var Lt=ee(st);St.current===void 0||!ne(Lt,St.current)?dt=Lt:dt=St.current}else dt=St.current}catch(gn){throw Oe.current&&(gn.message+=`
The error may be correlated with this previous error:
`+Oe.current.stack+`
`),gn}return useIsomorphicLayoutEffect(function(){rt.current=ee,Et.current=st,St.current=dt,Oe.current=void 0}),useIsomorphicLayoutEffect(function(){function gn(){try{var ua=oe.getState();if(ua===Et.current)return;var ma=rt.current(ua);if(ne(ma,St.current))return;St.current=ma,Et.current=ua}catch(Sa){Oe.current=Sa}Pe()}return xe.onStateChange=gn,xe.trySubscribe(),gn(),function(){return xe.tryUnsubscribe()}},[oe,xe]),dt}function Xt(ee){ee===void 0&&(ee=ReactReduxContext);var ne=ee===ReactReduxContext?useDefaultReduxContext:function(){return useContext(ee)};return function(de,Se){Se===void 0&&(Se=cn);var Pe=ne(),xe=Pe.store,Oe=Pe.subscription,rt=Ot(de,Se,xe,Oe);return useDebugValue(rt),rt}}var $t=null,nn=ae(4676);Te(nn.unstable_batchedUpdates);function bt(ee,ne){if(ee.length!==ne.length)return!1;for(var oe=0;oe<ee.length;oe++)if(ee[oe]!==ne[oe])return!1;return!0}function rn(ee,ne){var oe=(0,b.useState)(function(){return{inputs:ne,result:ee()}})[0],de=(0,b.useRef)(!0),Se=(0,b.useRef)(oe),Pe=de.current||!!(ne&&Se.current.inputs&&bt(ne,Se.current.inputs)),xe=Pe?Se.current:{inputs:ne,result:ee()};return(0,b.useEffect)(function(){de.current=!1,Se.current=xe},[xe]),xe.result}function wn(ee,ne){return rn(function(){return ee},ne)}var Zt=rn,wt=wn,Ln=!0,zn="Invariant failed";function Wn(ee,ne){if(!ee){if(Ln)throw new Error(zn);var oe=typeof ne=="function"?ne():ne,de=oe?"".concat(zn,": ").concat(oe):zn;throw new Error(de)}}var Yn=function(ne){var oe=ne.top,de=ne.right,Se=ne.bottom,Pe=ne.left,xe=de-Pe,Oe=Se-oe,rt={top:oe,right:de,bottom:Se,left:Pe,width:xe,height:Oe,x:Pe,y:oe,center:{x:(de+Pe)/2,y:(Se+oe)/2}};return rt},xa=function(ne,oe){return{top:ne.top-oe.top,left:ne.left-oe.left,bottom:ne.bottom+oe.bottom,right:ne.right+oe.right}},on=function(ne,oe){return{top:ne.top+oe.top,left:ne.left+oe.left,bottom:ne.bottom-oe.bottom,right:ne.right-oe.right}},qt=function(ne,oe){return{top:ne.top+oe.y,left:ne.left+oe.x,bottom:ne.bottom+oe.y,right:ne.right+oe.x}},pn={top:0,right:0,bottom:0,left:0},Zn=function(ne){var oe=ne.borderBox,de=ne.margin,Se=de===void 0?pn:de,Pe=ne.border,xe=Pe===void 0?pn:Pe,Oe=ne.padding,rt=Oe===void 0?pn:Oe,Et=Yn(xa(oe,Se)),St=Yn(on(oe,xe)),st=Yn(on(St,rt));return{marginBox:Et,borderBox:Yn(oe),paddingBox:St,contentBox:st,margin:Se,border:xe,padding:rt}},xn=function(ne){var oe=ne.slice(0,-2),de=ne.slice(-2);if(de!=="px")return 0;var Se=Number(oe);return isNaN(Se)&&Wn(!1),Se},Na=function(){return{x:window.pageXOffset,y:window.pageYOffset}},Wa=function(ne,oe){var de=ne.borderBox,Se=ne.border,Pe=ne.margin,xe=ne.padding,Oe=qt(de,oe);return Zn({borderBox:Oe,border:Se,margin:Pe,padding:xe})},ta=function(ne,oe){return oe===void 0&&(oe=Na()),Wa(ne,oe)},En=function(ne,oe){var de={top:xn(oe.marginTop),right:xn(oe.marginRight),bottom:xn(oe.marginBottom),left:xn(oe.marginLeft)},Se={top:xn(oe.paddingTop),right:xn(oe.paddingRight),bottom:xn(oe.paddingBottom),left:xn(oe.paddingLeft)},Pe={top:xn(oe.borderTopWidth),right:xn(oe.borderRightWidth),bottom:xn(oe.borderBottomWidth),left:xn(oe.borderLeftWidth)};return Zn({borderBox:ne,margin:de,padding:Se,border:Pe})},Oa=function(ne){var oe=ne.getBoundingClientRect(),de=window.getComputedStyle(ne);return En(oe,de)},Ve=Number.isNaN||function(ne){return typeof ne=="number"&&ne!==ne};function Bt(ee,ne){return!!(ee===ne||Ve(ee)&&Ve(ne))}function Gt(ee,ne){if(ee.length!==ne.length)return!1;for(var oe=0;oe<ee.length;oe++)if(!Bt(ee[oe],ne[oe]))return!1;return!0}function Vt(ee,ne){ne===void 0&&(ne=Gt);var oe,de=[],Se,Pe=!1;function xe(){for(var Oe=[],rt=0;rt<arguments.length;rt++)Oe[rt]=arguments[rt];return Pe&&oe===this&&ne(Oe,de)||(Se=ee.apply(this,Oe),Pe=!0,oe=this,de=Oe),Se}return xe}var tn=Vt,Sn=function(ne){var oe=[],de=null,Se=function(){for(var xe=arguments.length,Oe=new Array(xe),rt=0;rt<xe;rt++)Oe[rt]=arguments[rt];oe=Oe,!de&&(de=requestAnimationFrame(function(){de=null,ne.apply(void 0,oe)}))};return Se.cancel=function(){de&&(cancelAnimationFrame(de),de=null)},Se},mn=Sn,ut=!0,pt=/[ \t]{2,}/g,ct=/^[ \t]*/gm,Wt=function(ne){return ne.replace(pt," ").replace(ct,"").trim()},vn=function(ne){return Wt(`
%creact-beautiful-dnd
%c`+Wt(ne)+`
%c\u{1F477}\u200D This is a development only message. It will be removed in production builds.
`)},an=function(ne){return[vn(ne),"color: #00C584; font-size: 1.2em; font-weight: bold;","line-height: 1.5","color: #723874;"]},kn="__react-beautiful-dnd-disable-dev-warnings";function Fn(ee,ne){var oe;ut||typeof window!="undefined"&&window[kn]||(oe=console)[ee].apply(oe,an(ne))}var Bn=Fn.bind(null,"warn"),Un=Fn.bind(null,"error");function Ra(){}function yn(ee,ne){return(0,Ae.Z)({},ee,{},ne)}function pa(ee,ne,oe){var de=ne.map(function(Se){var Pe=yn(oe,Se.options);return ee.addEventListener(Se.eventName,Se.fn,Pe),function(){ee.removeEventListener(Se.eventName,Se.fn,Pe)}});return function(){de.forEach(function(Pe){Pe()})}}var $a=!0,lr="Invariant failed";function Jn(ee){this.message=ee}Jn.prototype.toString=function(){return this.message};function sn(ee,ne){if(!ee)throw $a?new Jn(lr):new Jn(lr+": "+(ne||""))}var Dr=function(ee){be(ne,ee);function ne(){for(var de,Se=arguments.length,Pe=new Array(Se),xe=0;xe<Se;xe++)Pe[xe]=arguments[xe];return de=ee.call.apply(ee,[this].concat(Pe))||this,de.callbacks=null,de.unbind=Ra,de.onWindowError=function(Oe){var rt=de.getCallbacks();rt.isDragging()&&rt.tryAbort();var Et=Oe.error;Et instanceof Jn&&Oe.preventDefault()},de.getCallbacks=function(){if(!de.callbacks)throw new Error("Unable to find AppCallbacks in <ErrorBoundary/>");return de.callbacks},de.setCallbacks=function(Oe){de.callbacks=Oe},de}var oe=ne.prototype;return oe.componentDidMount=function(){this.unbind=pa(window,[{eventName:"error",fn:this.onWindowError}])},oe.componentWillUnmount=function(){this.unbind()},oe.componentDidCatch=function(Se){if(Se instanceof Jn){this.setState({});return}throw Se},oe.render=function(){return this.props.children(this.setCallbacks)},ne}(b.Component),Ga=`
Press space bar to start a drag.
When dragging you can use the arrow keys to move the item around and escape to cancel.
Some screen readers may require you to be in focus mode or to use your pass through key
`,Er=function(ne){return ne+1},Cr=function(ne){return`
You have lifted an item in position `+Er(ne.source.index)+`
`},Nr=function(ne,oe){var de=ne.droppableId===oe.droppableId,Se=Er(ne.index),Pe=Er(oe.index);return de?`
You have moved the item from position `+Se+`
to position `+Pe+`
`:`
You have moved the item from position `+Se+`
in list `+ne.droppableId+`
to list `+oe.droppableId+`
in position `+Pe+`
`},xr=function(ne,oe,de){var Se=oe.droppableId===de.droppableId;return Se?`
The item `+ne+`
has been combined with `+de.draggableId:`
The item `+ne+`
in list `+oe.droppableId+`
has been combined with `+de.draggableId+`
in list `+de.droppableId+`
`},so=function(ne){var oe=ne.destination;if(oe)return Nr(ne.source,oe);var de=ne.combine;return de?xr(ne.draggableId,ne.source,de):"You are over an area that cannot be dropped on"},qr=function(ne){return`
The item has returned to its starting position
of `+Er(ne.index)+`
`},_o=function(ne){if(ne.reason==="CANCEL")return`
Movement cancelled.
`+qr(ne.source)+`
`;var oe=ne.destination,de=ne.combine;return oe?`
You have dropped the item.
`+Nr(ne.source,oe)+`
`:de?`
You have dropped the item.
`+xr(ne.draggableId,ne.source,de)+`
`:`
The item has been dropped while not over a drop area.
`+qr(ne.source)+`
`},Mn={dragHandleUsageInstructions:Ga,onDragStart:Cr,onDragUpdate:so,onDragEnd:_o},Mr={x:0,y:0},Rr=function(ne,oe){return{x:ne.x+oe.x,y:ne.y+oe.y}},Gr=function(ne,oe){return{x:ne.x-oe.x,y:ne.y-oe.y}},za=function(ne,oe){return ne.x===oe.x&&ne.y===oe.y},$n=function(ne){return{x:ne.x!==0?-ne.x:0,y:ne.y!==0?-ne.y:0}},wa=function(ne,oe,de){var Se;return de===void 0&&(de=0),Se={},Se[ne]=oe,Se[ne==="x"?"y":"x"]=de,Se},ja=function(ne,oe){return Math.sqrt(Math.pow(oe.x-ne.x,2)+Math.pow(oe.y-ne.y,2))},ga=function(ne,oe){return Math.min.apply(Math,oe.map(function(de){return ja(ne,de)}))},fr=function(ne){return function(oe){return{x:ne(oe.x),y:ne(oe.y)}}},Hr=function(ee,ne){var oe=Yn({top:Math.max(ne.top,ee.top),right:Math.min(ne.right,ee.right),bottom:Math.min(ne.bottom,ee.bottom),left:Math.max(ne.left,ee.left)});return oe.width<=0||oe.height<=0?null:oe},oo=function(ne,oe){return{top:ne.top+oe.y,left:ne.left+oe.x,bottom:ne.bottom+oe.y,right:ne.right+oe.x}},Tr=function(ne){return[{x:ne.left,y:ne.top},{x:ne.right,y:ne.top},{x:ne.left,y:ne.bottom},{x:ne.right,y:ne.bottom}]},co={top:0,right:0,bottom:0,left:0},ni=function(ne,oe){return oe?oo(ne,oe.scroll.diff.displacement):ne},$o=function(ne,oe,de){if(de&&de.increasedBy){var Se;return(0,Ae.Z)({},ne,(Se={},Se[oe.end]=ne[oe.end]+de.increasedBy[oe.line],Se))}return ne},_i=function(ne,oe){return oe&&oe.shouldClipSubject?Hr(oe.pageMarginBox,ne):Yn(ne)},So=function(ee){var ne=ee.page,oe=ee.withPlaceholder,de=ee.axis,Se=ee.frame,Pe=ni(ne.marginBox,Se),xe=$o(Pe,de,oe),Oe=_i(xe,Se);return{page:ne,withPlaceholder:oe,active:Oe}},Ba=function(ee,ne){ee.frame||sn(!1);var oe=ee.frame,de=Gr(ne,oe.scroll.initial),Se=$n(de),Pe=(0,Ae.Z)({},oe,{scroll:{initial:oe.scroll.initial,current:ne,diff:{value:de,displacement:Se},max:oe.scroll.max}}),xe=So({page:ee.subject.page,withPlaceholder:ee.subject.withPlaceholder,axis:ee.axis,frame:Pe}),Oe=(0,Ae.Z)({},ee,{frame:Pe,subject:xe});return Oe};function eo(ee){return Number.isInteger?Number.isInteger(ee):typeof ee=="number"&&isFinite(ee)&&Math.floor(ee)===ee}function mo(ee){return Object.values?Object.values(ee):Object.keys(ee).map(function(ne){return ee[ne]})}function Ro(ee,ne){if(ee.findIndex)return ee.findIndex(ne);for(var oe=0;oe<ee.length;oe++)if(ne(ee[oe]))return oe;return-1}function Po(ee,ne){if(ee.find)return ee.find(ne);var oe=Ro(ee,ne);if(oe!==-1)return ee[oe]}function xo(ee){return Array.prototype.slice.call(ee)}var oi=tn(function(ee){return ee.reduce(function(ne,oe){return ne[oe.descriptor.id]=oe,ne},{})}),Yo=tn(function(ee){return ee.reduce(function(ne,oe){return ne[oe.descriptor.id]=oe,ne},{})}),Wo=tn(function(ee){return mo(ee)}),Ci=tn(function(ee){return mo(ee)}),Vo=tn(function(ee,ne){var oe=Ci(ne).filter(function(de){return ee===de.descriptor.droppableId}).sort(function(de,Se){return de.descriptor.index-Se.descriptor.index});return oe});function Eo(ee){return ee.at&&ee.at.type==="REORDER"?ee.at.destination:null}function xi(ee){return ee.at&&ee.at.type==="COMBINE"?ee.at.combine:null}var yo=tn(function(ee,ne){return ne.filter(function(oe){return oe.descriptor.id!==ee.descriptor.id})}),Mi=function(ee){var ne=ee.isMovingForward,oe=ee.draggable,de=ee.destination,Se=ee.insideDestination,Pe=ee.previousImpact;if(!de.isCombineEnabled)return null;var xe=Eo(Pe);if(!xe)return null;function Oe(ua){var ma={type:"COMBINE",combine:{draggableId:ua,droppableId:de.descriptor.id}};return(0,Ae.Z)({},Pe,{at:ma})}var rt=Pe.displaced.all,Et=rt.length?rt[0]:null;if(ne)return Et?Oe(Et):null;var St=yo(oe,Se);if(!Et){if(!St.length)return null;var st=St[St.length-1];return Oe(st.descriptor.id)}var dt=Ro(St,function(ua){return ua.descriptor.id===Et});dt===-1&&sn(!1);var Lt=dt-1;if(Lt<0)return null;var gn=St[Lt];return Oe(gn.descriptor.id)},ai=function(ee,ne){return ee.descriptor.droppableId===ne.descriptor.id},Wi={point:Mr,value:0},Di={invisible:{},visible:{},all:[]},Ti={displaced:Di,displacedBy:Wi,at:null},Xo=function(ee,ne){return function(oe){return ee<=oe&&oe<=ne}},Ki=function(ee){var ne=Xo(ee.top,ee.bottom),oe=Xo(ee.left,ee.right);return function(de){var Se=ne(de.top)&&ne(de.bottom)&&oe(de.left)&&oe(de.right);if(Se)return!0;var Pe=ne(de.top)||ne(de.bottom),xe=oe(de.left)||oe(de.right),Oe=Pe&&xe;if(Oe)return!0;var rt=de.top<ee.top&&de.bottom>ee.bottom,Et=de.left<ee.left&&de.right>ee.right,St=rt&&Et;if(St)return!0;var st=rt&&xe||Et&&Pe;return st}},pl=function(ee){var ne=Xo(ee.top,ee.bottom),oe=Xo(ee.left,ee.right);return function(de){var Se=ne(de.top)&&ne(de.bottom)&&oe(de.left)&&oe(de.right);return Se}},$i={direction:"vertical",line:"y",crossAxisLine:"x",start:"top",end:"bottom",size:"height",crossAxisStart:"left",crossAxisEnd:"right",crossAxisSize:"width"},Yi={direction:"horizontal",line:"x",crossAxisLine:"y",start:"left",end:"right",size:"width",crossAxisStart:"top",crossAxisEnd:"bottom",crossAxisSize:"height"},Kr=function(ee){return function(ne){var oe=Xo(ne.top,ne.bottom),de=Xo(ne.left,ne.right);return function(Se){return ee===$i?oe(Se.top)&&oe(Se.bottom):de(Se.left)&&de(Se.right)}}},Ta=function(ne,oe){var de=oe.frame?oe.frame.scroll.diff.displacement:Mr;return oo(ne,de)},na=function(ne,oe,de){return oe.subject.active?de(oe.subject.active)(ne):!1},ia=function(ne,oe,de){return de(oe)(ne)},Pa=function(ne){var oe=ne.target,de=ne.destination,Se=ne.viewport,Pe=ne.withDroppableDisplacement,xe=ne.isVisibleThroughFrameFn,Oe=Pe?Ta(oe,de):oe;return na(Oe,de,xe)&&ia(Oe,Se,xe)},hr=function(ne){return Pa((0,Ae.Z)({},ne,{isVisibleThroughFrameFn:Ki}))},_r=function(ne){return Pa((0,Ae.Z)({},ne,{isVisibleThroughFrameFn:pl}))},no=function(ne){return Pa((0,Ae.Z)({},ne,{isVisibleThroughFrameFn:Kr(ne.destination.axis)}))},fo=function(ne,oe,de){if(typeof de=="boolean")return de;if(!oe)return!0;var Se=oe.invisible,Pe=oe.visible;if(Se[ne])return!1;var xe=Pe[ne];return xe?xe.shouldAnimate:!0};function Ao(ee,ne){var oe=ee.page.marginBox,de={top:ne.point.y,right:0,bottom:0,left:ne.point.x};return Yn(xa(oe,de))}function Bo(ee){var ne=ee.afterDragging,oe=ee.destination,de=ee.displacedBy,Se=ee.viewport,Pe=ee.forceShouldAnimate,xe=ee.last;return ne.reduce(function(rt,Et){var St=Ao(Et,de),st=Et.descriptor.id;rt.all.push(st);var dt=hr({target:St,destination:oe,viewport:Se,withDroppableDisplacement:!0});if(!dt)return rt.invisible[Et.descriptor.id]=!0,rt;var Lt=fo(st,xe,Pe),gn={draggableId:st,shouldAnimate:Lt};return rt.visible[st]=gn,rt},{all:[],visible:{},invisible:{}})}function ka(ee,ne){if(!ee.length)return 0;var oe=ee[ee.length-1].descriptor.index;return ne.inHomeList?oe:oe+1}function jo(ee){var ne=ee.insideDestination,oe=ee.inHomeList,de=ee.displacedBy,Se=ee.destination,Pe=ka(ne,{inHomeList:oe});return{displaced:Di,displacedBy:de,at:{type:"REORDER",destination:{droppableId:Se.descriptor.id,index:Pe}}}}function Bi(ee){var ne=ee.draggable,oe=ee.insideDestination,de=ee.destination,Se=ee.viewport,Pe=ee.displacedBy,xe=ee.last,Oe=ee.index,rt=ee.forceShouldAnimate,Et=ai(ne,de);if(Oe==null)return jo({insideDestination:oe,inHomeList:Et,displacedBy:Pe,destination:de});var St=Po(oe,function(ua){return ua.descriptor.index===Oe});if(!St)return jo({insideDestination:oe,inHomeList:Et,displacedBy:Pe,destination:de});var st=yo(ne,oe),dt=oe.indexOf(St),Lt=st.slice(dt),gn=Bo({afterDragging:Lt,destination:de,displacedBy:Pe,last:xe,viewport:Se.frame,forceShouldAnimate:rt});return{displaced:gn,displacedBy:Pe,at:{type:"REORDER",destination:{droppableId:de.descriptor.id,index:Oe}}}}function si(ee,ne){return!!ne.effected[ee]}var ki=function(ee){var ne=ee.isMovingForward,oe=ee.destination,de=ee.draggables,Se=ee.combine,Pe=ee.afterCritical;if(!oe.isCombineEnabled)return null;var xe=Se.draggableId,Oe=de[xe],rt=Oe.descriptor.index,Et=si(xe,Pe);return Et?ne?rt:rt-1:ne?rt+1:rt},Zi=function(ee){var ne=ee.isMovingForward,oe=ee.isInHomeList,de=ee.insideDestination,Se=ee.location;if(!de.length)return null;var Pe=Se.index,xe=ne?Pe+1:Pe-1,Oe=de[0].descriptor.index,rt=de[de.length-1].descriptor.index,Et=oe?rt:rt+1;return xe<Oe||xe>Et?null:xe},zi=function(ee){var ne=ee.isMovingForward,oe=ee.isInHomeList,de=ee.draggable,Se=ee.draggables,Pe=ee.destination,xe=ee.insideDestination,Oe=ee.previousImpact,rt=ee.viewport,Et=ee.afterCritical,St=Oe.at;if(St||sn(!1),St.type==="REORDER"){var st=Zi({isMovingForward:ne,isInHomeList:oe,location:St.destination,insideDestination:xe});return st==null?null:Bi({draggable:de,insideDestination:xe,destination:Pe,viewport:rt,last:Oe.displaced,displacedBy:Oe.displacedBy,index:st})}var dt=ki({isMovingForward:ne,destination:Pe,displaced:Oe.displaced,draggables:Se,combine:St.combine,afterCritical:Et});return dt==null?null:Bi({draggable:de,insideDestination:xe,destination:Pe,viewport:rt,last:Oe.displaced,displacedBy:Oe.displacedBy,index:dt})},Ur=function(ee){var ne=ee.displaced,oe=ee.afterCritical,de=ee.combineWith,Se=ee.displacedBy,Pe=!!(ne.visible[de]||ne.invisible[de]);return si(de,oe)?Pe?Mr:$n(Se.point):Pe?Se.point:Mr},Mo=function(ee){var ne=ee.afterCritical,oe=ee.impact,de=ee.draggables,Se=xi(oe);Se||sn(!1);var Pe=Se.draggableId,xe=de[Pe].page.borderBox.center,Oe=Ur({displaced:oe.displaced,afterCritical:ne,combineWith:Pe,displacedBy:oe.displacedBy});return Rr(xe,Oe)},ol=function(ne,oe){return oe.margin[ne.start]+oe.borderBox[ne.size]/2},vi=function(ne,oe){return oe.margin[ne.end]+oe.borderBox[ne.size]/2},Ui=function(ne,oe,de){return oe[ne.crossAxisStart]+de.margin[ne.crossAxisStart]+de.borderBox[ne.crossAxisSize]/2},il=function(ne){var oe=ne.axis,de=ne.moveRelativeTo,Se=ne.isMoving;return wa(oe.line,de.marginBox[oe.end]+ol(oe,Se),Ui(oe,de.marginBox,Se))},Xi=function(ne){var oe=ne.axis,de=ne.moveRelativeTo,Se=ne.isMoving;return wa(oe.line,de.marginBox[oe.start]-vi(oe,Se),Ui(oe,de.marginBox,Se))},To=function(ne){var oe=ne.axis,de=ne.moveInto,Se=ne.isMoving;return wa(oe.line,de.contentBox[oe.start]+ol(oe,Se),Ui(oe,de.contentBox,Se))},qi=function(ee){var ne=ee.impact,oe=ee.draggable,de=ee.draggables,Se=ee.droppable,Pe=ee.afterCritical,xe=Vo(Se.descriptor.id,de),Oe=oe.page,rt=Se.axis;if(!xe.length)return To({axis:rt,moveInto:Se.page,isMoving:Oe});var Et=ne.displaced,St=ne.displacedBy,st=Et.all[0];if(st){var dt=de[st];if(si(st,Pe))return Xi({axis:rt,moveRelativeTo:dt.page,isMoving:Oe});var Lt=Wa(dt.page,St.point);return Xi({axis:rt,moveRelativeTo:Lt,isMoving:Oe})}var gn=xe[xe.length-1];if(gn.descriptor.id===oe.descriptor.id)return Oe.borderBox.center;if(si(gn.descriptor.id,Pe)){var ua=Wa(gn.page,$n(Pe.displacedBy.point));return il({axis:rt,moveRelativeTo:ua,isMoving:Oe})}return il({axis:rt,moveRelativeTo:gn.page,isMoving:Oe})},el=function(ee,ne){var oe=ee.frame;return oe?Rr(ne,oe.scroll.diff.displacement):ne},ll=function(ne){var oe=ne.impact,de=ne.draggable,Se=ne.droppable,Pe=ne.draggables,xe=ne.afterCritical,Oe=de.page.borderBox.center,rt=oe.at;return!Se||!rt?Oe:rt.type==="REORDER"?qi({impact:oe,draggable:de,draggables:Pe,droppable:Se,afterCritical:xe}):Mo({impact:oe,draggables:Pe,afterCritical:xe})},ul=function(ee){var ne=ll(ee),oe=ee.droppable,de=oe?el(oe,ne):ne;return de},Rl=function(ee,ne){var oe=Gr(ne,ee.scroll.initial),de=$n(oe),Se=Yn({top:ne.y,bottom:ne.y+ee.frame.height,left:ne.x,right:ne.x+ee.frame.width}),Pe={frame:Se,scroll:{initial:ee.scroll.initial,max:ee.scroll.max,current:ne,diff:{value:oe,displacement:de}}};return Pe};function ql(ee,ne){return ee.map(function(oe){return ne[oe]})}function _l(ee,ne){for(var oe=0;oe<ne.length;oe++){var de=ne[oe].visible[ee];if(de)return de}return null}var Ri=function(ee){var ne=ee.impact,oe=ee.viewport,de=ee.destination,Se=ee.draggables,Pe=ee.maxScrollChange,xe=Rl(oe,Rr(oe.scroll.current,Pe)),Oe=de.frame?Ba(de,Rr(de.frame.scroll.current,Pe)):de,rt=ne.displaced,Et=Bo({afterDragging:ql(rt.all,Se),destination:de,displacedBy:ne.displacedBy,viewport:xe.frame,last:rt,forceShouldAnimate:!1}),St=Bo({afterDragging:ql(rt.all,Se),destination:Oe,displacedBy:ne.displacedBy,viewport:oe.frame,last:rt,forceShouldAnimate:!1}),st={},dt={},Lt=[rt,Et,St];rt.all.forEach(function(ua){var ma=_l(ua,Lt);if(ma){dt[ua]=ma;return}st[ua]=!0});var gn=(0,Ae.Z)({},ne,{displaced:{all:rt.all,invisible:st,visible:dt}});return gn},Fl=function(ee,ne){return Rr(ee.scroll.diff.displacement,ne)},tl=function(ee){var ne=ee.pageBorderBoxCenter,oe=ee.draggable,de=ee.viewport,Se=Fl(de,ne),Pe=Gr(Se,oe.page.borderBox.center);return Rr(oe.client.borderBox.center,Pe)},wl=function(ee){var ne=ee.draggable,oe=ee.destination,de=ee.newPageBorderBoxCenter,Se=ee.viewport,Pe=ee.withDroppableDisplacement,xe=ee.onlyOnMainAxis,Oe=xe===void 0?!1:xe,rt=Gr(de,ne.page.borderBox.center),Et=oo(ne.page.borderBox,rt),St={target:Et,destination:oe,withDroppableDisplacement:Pe,viewport:Se};return Oe?no(St):_r(St)},Gl=function(ee){var ne=ee.isMovingForward,oe=ee.draggable,de=ee.destination,Se=ee.draggables,Pe=ee.previousImpact,xe=ee.viewport,Oe=ee.previousPageBorderBoxCenter,rt=ee.previousClientSelection,Et=ee.afterCritical;if(!de.isEnabled)return null;var St=Vo(de.descriptor.id,Se),st=ai(oe,de),dt=Mi({isMovingForward:ne,draggable:oe,destination:de,insideDestination:St,previousImpact:Pe})||zi({isMovingForward:ne,isInHomeList:st,draggable:oe,draggables:Se,destination:de,insideDestination:St,previousImpact:Pe,viewport:xe,afterCritical:Et});if(!dt)return null;var Lt=ul({impact:dt,draggable:oe,droppable:de,draggables:Se,afterCritical:Et}),gn=wl({draggable:oe,destination:de,newPageBorderBoxCenter:Lt,viewport:xe.frame,withDroppableDisplacement:!1,onlyOnMainAxis:!0});if(gn){var ua=tl({pageBorderBoxCenter:Lt,draggable:oe,viewport:xe});return{clientSelection:ua,impact:dt,scrollJumpRequest:null}}var ma=Gr(Lt,Oe),Sa=Ri({impact:dt,viewport:xe,destination:de,draggables:Se,maxScrollChange:ma});return{clientSelection:rt,impact:Sa,scrollJumpRequest:ma}},gt=function(ne){var oe=ne.subject.active;return oe||sn(!1),oe},ht=function(ee){var ne=ee.isMovingForward,oe=ee.pageBorderBoxCenter,de=ee.source,Se=ee.droppables,Pe=ee.viewport,xe=de.subject.active;if(!xe)return null;var Oe=de.axis,rt=Xo(xe[Oe.start],xe[Oe.end]),Et=Wo(Se).filter(function(st){return st!==de}).filter(function(st){return st.isEnabled}).filter(function(st){return!!st.subject.active}).filter(function(st){return Ki(Pe.frame)(gt(st))}).filter(function(st){var dt=gt(st);return ne?xe[Oe.crossAxisEnd]<dt[Oe.crossAxisEnd]:dt[Oe.crossAxisStart]<xe[Oe.crossAxisStart]}).filter(function(st){var dt=gt(st),Lt=Xo(dt[Oe.start],dt[Oe.end]);return rt(dt[Oe.start])||rt(dt[Oe.end])||Lt(xe[Oe.start])||Lt(xe[Oe.end])}).sort(function(st,dt){var Lt=gt(st)[Oe.crossAxisStart],gn=gt(dt)[Oe.crossAxisStart];return ne?Lt-gn:gn-Lt}).filter(function(st,dt,Lt){return gt(st)[Oe.crossAxisStart]===gt(Lt[0])[Oe.crossAxisStart]});if(!Et.length)return null;if(Et.length===1)return Et[0];var St=Et.filter(function(st){var dt=Xo(gt(st)[Oe.start],gt(st)[Oe.end]);return dt(oe[Oe.line])});return St.length===1?St[0]:St.length>1?St.sort(function(st,dt){return gt(st)[Oe.start]-gt(dt)[Oe.start]})[0]:Et.sort(function(st,dt){var Lt=ga(oe,Tr(gt(st))),gn=ga(oe,Tr(gt(dt)));return Lt!==gn?Lt-gn:gt(st)[Oe.start]-gt(dt)[Oe.start]})[0]},zt=function(ne,oe){var de=ne.page.borderBox.center;return si(ne.descriptor.id,oe)?Gr(de,oe.displacedBy.point):de},An=function(ne,oe){var de=ne.page.borderBox;return si(ne.descriptor.id,oe)?oo(de,$n(oe.displacedBy.point)):de},Dn=function(ee){var ne=ee.pageBorderBoxCenter,oe=ee.viewport,de=ee.destination,Se=ee.insideDestination,Pe=ee.afterCritical,xe=Se.filter(function(Oe){return _r({target:An(Oe,Pe),destination:de,viewport:oe.frame,withDroppableDisplacement:!0})}).sort(function(Oe,rt){var Et=ja(ne,el(de,zt(Oe,Pe))),St=ja(ne,el(de,zt(rt,Pe)));return Et<St?-1:St<Et?1:Oe.descriptor.index-rt.descriptor.index});return xe[0]||null},Pn=tn(function(ne,oe){var de=oe[ne.line];return{value:de,point:wa(ne.line,de)}}),hn=function(ne,oe,de){var Se=ne.axis;if(ne.descriptor.mode==="virtual")return wa(Se.line,oe[Se.line]);var Pe=ne.subject.page.contentBox[Se.size],xe=Vo(ne.descriptor.id,de),Oe=xe.reduce(function(St,st){return St+st.client.marginBox[Se.size]},0),rt=Oe+oe[Se.line],Et=rt-Pe;return Et<=0?null:wa(Se.line,Et)},kt=function(ne,oe){return(0,Ae.Z)({},ne,{scroll:(0,Ae.Z)({},ne.scroll,{max:oe})})},dn=function(ne,oe,de){var Se=ne.frame;ai(oe,ne)&&sn(!1),ne.subject.withPlaceholder&&sn(!1);var Pe=Pn(ne.axis,oe.displaceBy).point,xe=hn(ne,Pe,de),Oe={placeholderSize:Pe,increasedBy:xe,oldFrameMaxScroll:ne.frame?ne.frame.scroll.max:null};if(!Se){var rt=So({page:ne.subject.page,withPlaceholder:Oe,axis:ne.axis,frame:ne.frame});return(0,Ae.Z)({},ne,{subject:rt})}var Et=xe?Rr(Se.scroll.max,xe):Se.scroll.max,St=kt(Se,Et),st=So({page:ne.subject.page,withPlaceholder:Oe,axis:ne.axis,frame:St});return(0,Ae.Z)({},ne,{subject:st,frame:St})},_n=function(ne){var oe=ne.subject.withPlaceholder;oe||sn(!1);var de=ne.frame;if(!de){var Se=So({page:ne.subject.page,axis:ne.axis,frame:null,withPlaceholder:null});return(0,Ae.Z)({},ne,{subject:Se})}var Pe=oe.oldFrameMaxScroll;Pe||sn(!1);var xe=kt(de,Pe),Oe=So({page:ne.subject.page,axis:ne.axis,frame:xe,withPlaceholder:null});return(0,Ae.Z)({},ne,{subject:Oe,frame:xe})},la=function(ee){var ne=ee.previousPageBorderBoxCenter,oe=ee.moveRelativeTo,de=ee.insideDestination,Se=ee.draggable,Pe=ee.draggables,xe=ee.destination,Oe=ee.viewport,rt=ee.afterCritical;if(!oe){if(de.length)return null;var Et={displaced:Di,displacedBy:Wi,at:{type:"REORDER",destination:{droppableId:xe.descriptor.id,index:0}}},St=ul({impact:Et,draggable:Se,droppable:xe,draggables:Pe,afterCritical:rt}),st=ai(Se,xe)?xe:dn(xe,Se,Pe),dt=wl({draggable:Se,destination:st,newPageBorderBoxCenter:St,viewport:Oe.frame,withDroppableDisplacement:!1,onlyOnMainAxis:!0});return dt?Et:null}var Lt=ne[xe.axis.line]<=oe.page.borderBox.center[xe.axis.line],gn=function(){var ma=oe.descriptor.index;return oe.descriptor.id===Se.descriptor.id||Lt?ma:ma+1}(),ua=Pn(xe.axis,Se.displaceBy);return Bi({draggable:Se,insideDestination:de,destination:xe,viewport:Oe,displacedBy:ua,last:Di,index:gn})},or=function(ee){var ne=ee.isMovingForward,oe=ee.previousPageBorderBoxCenter,de=ee.draggable,Se=ee.isOver,Pe=ee.draggables,xe=ee.droppables,Oe=ee.viewport,rt=ee.afterCritical,Et=ht({isMovingForward:ne,pageBorderBoxCenter:oe,source:Se,droppables:xe,viewport:Oe});if(!Et)return null;var St=Vo(Et.descriptor.id,Pe),st=Dn({pageBorderBoxCenter:oe,viewport:Oe,destination:Et,insideDestination:St,afterCritical:rt}),dt=la({previousPageBorderBoxCenter:oe,destination:Et,draggable:de,draggables:Pe,moveRelativeTo:st,insideDestination:St,viewport:Oe,afterCritical:rt});if(!dt)return null;var Lt=ul({impact:dt,draggable:de,droppable:Et,draggables:Pe,afterCritical:rt}),gn=tl({pageBorderBoxCenter:Lt,draggable:de,viewport:Oe});return{clientSelection:gn,impact:dt,scrollJumpRequest:null}},Qa=function(ee){var ne=ee.at;return ne?ne.type==="REORDER"?ne.destination.droppableId:ne.combine.droppableId:null},ao=function(ne,oe){var de=Qa(ne);return de?oe[de]:null},Fr=function(ee){var ne=ee.state,oe=ee.type,de=ao(ne.impact,ne.dimensions.droppables),Se=!!de,Pe=ne.dimensions.droppables[ne.critical.droppable.id],xe=de||Pe,Oe=xe.axis.direction,rt=Oe==="vertical"&&(oe==="MOVE_UP"||oe==="MOVE_DOWN")||Oe==="horizontal"&&(oe==="MOVE_LEFT"||oe==="MOVE_RIGHT");if(rt&&!Se)return null;var Et=oe==="MOVE_DOWN"||oe==="MOVE_RIGHT",St=ne.dimensions.draggables[ne.critical.draggable.id],st=ne.current.page.borderBoxCenter,dt=ne.dimensions,Lt=dt.draggables,gn=dt.droppables;return rt?Gl({isMovingForward:Et,previousPageBorderBoxCenter:st,draggable:St,destination:xe,draggables:Lt,viewport:ne.viewport,previousClientSelection:ne.current.client.selection,previousImpact:ne.impact,afterCritical:ne.afterCritical}):or({isMovingForward:Et,previousPageBorderBoxCenter:st,draggable:St,isOver:xe,draggables:Lt,droppables:gn,viewport:ne.viewport,afterCritical:ne.afterCritical})};function Ia(ee){return ee.phase==="DRAGGING"||ee.phase==="COLLECTING"}function ca(ee){var ne=Xo(ee.top,ee.bottom),oe=Xo(ee.left,ee.right);return function(Se){return ne(Se.y)&&oe(Se.x)}}function Kn(ee,ne){return ee.left<ne.right&&ee.right>ne.left&&ee.top<ne.bottom&&ee.bottom>ne.top}function sr(ee){var ne=ee.pageBorderBox,oe=ee.draggable,de=ee.candidates,Se=oe.page.borderBox.center,Pe=de.map(function(xe){var Oe=xe.axis,rt=wa(xe.axis.line,ne.center[Oe.line],xe.page.borderBox.center[Oe.crossAxisLine]);return{id:xe.descriptor.id,distance:ja(Se,rt)}}).sort(function(xe,Oe){return Oe.distance-xe.distance});return Pe[0]?Pe[0].id:null}function mr(ee){var ne=ee.pageBorderBox,oe=ee.draggable,de=ee.droppables,Se=Wo(de).filter(function(Pe){if(!Pe.isEnabled)return!1;var xe=Pe.subject.active;if(!xe||!Kn(ne,xe))return!1;if(ca(xe)(ne.center))return!0;var Oe=Pe.axis,rt=xe.center[Oe.crossAxisLine],Et=ne[Oe.crossAxisStart],St=ne[Oe.crossAxisEnd],st=Xo(xe[Oe.crossAxisStart],xe[Oe.crossAxisEnd]),dt=st(Et),Lt=st(St);return!dt&&!Lt?!0:dt?Et<rt:St>rt});return Se.length?Se.length===1?Se[0].descriptor.id:sr({pageBorderBox:ne,draggable:oe,candidates:Se}):null}var Br=function(ne,oe){return Yn(oo(ne,oe))},Jr=function(ee,ne){var oe=ee.frame;return oe?Br(ne,oe.scroll.diff.value):ne};function dr(ee){var ne=ee.displaced,oe=ee.id;return!!(ne.visible[oe]||ne.invisible[oe])}function kr(ee){var ne=ee.draggable,oe=ee.closest,de=ee.inHomeList;return oe?de&&oe.descriptor.index>ne.descriptor.index?oe.descriptor.index-1:oe.descriptor.index:null}var cr=function(ee){var ne=ee.pageBorderBoxWithDroppableScroll,oe=ee.draggable,de=ee.destination,Se=ee.insideDestination,Pe=ee.last,xe=ee.viewport,Oe=ee.afterCritical,rt=de.axis,Et=Pn(de.axis,oe.displaceBy),St=Et.value,st=ne[rt.start],dt=ne[rt.end],Lt=yo(oe,Se),gn=Po(Lt,function(ma){var Sa=ma.descriptor.id,_a=ma.page.borderBox.center[rt.line],Va=si(Sa,Oe),ar=dr({displaced:Pe,id:Sa});return Va?ar?dt<=_a:st<_a-St:ar?dt<=_a+St:st<_a}),ua=kr({draggable:oe,closest:gn,inHomeList:ai(oe,de)});return Bi({draggable:oe,insideDestination:Se,destination:de,viewport:xe,last:Pe,displacedBy:Et,index:ua})},ya=4,yr=function(ee){var ne=ee.draggable,oe=ee.pageBorderBoxWithDroppableScroll,de=ee.previousImpact,Se=ee.destination,Pe=ee.insideDestination,xe=ee.afterCritical;if(!Se.isCombineEnabled)return null;var Oe=Se.axis,rt=Pn(Se.axis,ne.displaceBy),Et=rt.value,St=oe[Oe.start],st=oe[Oe.end],dt=yo(ne,Pe),Lt=Po(dt,function(ua){var ma=ua.descriptor.id,Sa=ua.page.borderBox,_a=Sa[Oe.size],Va=_a/ya,ar=si(ma,xe),jr=dr({displaced:de.displaced,id:ma});return ar?jr?st>Sa[Oe.start]+Va&&st<Sa[Oe.end]-Va:St>Sa[Oe.start]-Et+Va&&St<Sa[Oe.end]-Et-Va:jr?st>Sa[Oe.start]+Et+Va&&st<Sa[Oe.end]+Et-Va:St>Sa[Oe.start]+Va&&St<Sa[Oe.end]-Va});if(!Lt)return null;var gn={displacedBy:rt,displaced:de.displaced,at:{type:"COMBINE",combine:{draggableId:Lt.descriptor.id,droppableId:Se.descriptor.id}}};return gn},Vr=function(ee){var ne=ee.pageOffset,oe=ee.draggable,de=ee.draggables,Se=ee.droppables,Pe=ee.previousImpact,xe=ee.viewport,Oe=ee.afterCritical,rt=Br(oe.page.borderBox,ne),Et=mr({pageBorderBox:rt,draggable:oe,droppables:Se});if(!Et)return Ti;var St=Se[Et],st=Vo(St.descriptor.id,de),dt=Jr(St,rt);return yr({pageBorderBoxWithDroppableScroll:dt,draggable:oe,previousImpact:Pe,destination:St,insideDestination:st,afterCritical:Oe})||cr({pageBorderBoxWithDroppableScroll:dt,draggable:oe,destination:St,insideDestination:st,last:Pe.displaced,viewport:xe,afterCritical:Oe})},bo=function(ee,ne){var oe;return(0,Ae.Z)({},ee,(oe={},oe[ne.descriptor.id]=ne,oe))},ri=function(ne){var oe=ne.previousImpact,de=ne.impact,Se=ne.droppables,Pe=Qa(oe),xe=Qa(de);if(!Pe||Pe===xe)return Se;var Oe=Se[Pe];if(!Oe.subject.withPlaceholder)return Se;var rt=_n(Oe);return bo(Se,rt)},ji=function(ee){var ne=ee.draggable,oe=ee.draggables,de=ee.droppables,Se=ee.previousImpact,Pe=ee.impact,xe=ri({previousImpact:Se,impact:Pe,droppables:de}),Oe=Qa(Pe);if(!Oe)return xe;var rt=de[Oe];if(ai(ne,rt)||rt.subject.withPlaceholder)return xe;var Et=dn(rt,ne,oe);return bo(xe,Et)},ze=function(ee){var ne=ee.state,oe=ee.clientSelection,de=ee.dimensions,Se=ee.viewport,Pe=ee.impact,xe=ee.scrollJumpRequest,Oe=Se||ne.viewport,rt=de||ne.dimensions,Et=oe||ne.current.client.selection,St=Gr(Et,ne.initial.client.selection),st={offset:St,selection:Et,borderBoxCenter:Rr(ne.initial.client.borderBoxCenter,St)},dt={selection:Rr(st.selection,Oe.scroll.current),borderBoxCenter:Rr(st.borderBoxCenter,Oe.scroll.current),offset:Rr(st.offset,Oe.scroll.diff.value)},Lt={client:st,page:dt};if(ne.phase==="COLLECTING")return(0,Ae.Z)({phase:"COLLECTING"},ne,{dimensions:rt,viewport:Oe,current:Lt});var gn=rt.draggables[ne.critical.draggable.id],ua=Pe||Vr({pageOffset:dt.offset,draggable:gn,draggables:rt.draggables,droppables:rt.droppables,previousImpact:ne.impact,viewport:Oe,afterCritical:ne.afterCritical}),ma=ji({draggable:gn,impact:ua,previousImpact:ne.impact,draggables:rt.draggables,droppables:rt.droppables}),Sa=(0,Ae.Z)({},ne,{current:Lt,dimensions:{draggables:rt.draggables,droppables:ma},impact:ua,viewport:Oe,scrollJumpRequest:xe||null,forceShouldAnimate:xe?!1:null});return Sa};function tt(ee,ne){return ee.map(function(oe){return ne[oe]})}var mt=function(ee){var ne=ee.impact,oe=ee.viewport,de=ee.draggables,Se=ee.destination,Pe=ee.forceShouldAnimate,xe=ne.displaced,Oe=tt(xe.all,de),rt=Bo({afterDragging:Oe,destination:Se,displacedBy:ne.displacedBy,viewport:oe.frame,forceShouldAnimate:Pe,last:xe});return(0,Ae.Z)({},ne,{displaced:rt})},Ct=function(ee){var ne=ee.impact,oe=ee.draggable,de=ee.droppable,Se=ee.draggables,Pe=ee.viewport,xe=ee.afterCritical,Oe=ul({impact:ne,draggable:oe,draggables:Se,droppable:de,afterCritical:xe});return tl({pageBorderBoxCenter:Oe,draggable:oe,viewport:Pe})},fn=function(ee){var ne=ee.state,oe=ee.dimensions,de=ee.viewport;ne.movementMode!=="SNAP"&&sn(!1);var Se=ne.impact,Pe=de||ne.viewport,xe=oe||ne.dimensions,Oe=xe.draggables,rt=xe.droppables,Et=Oe[ne.critical.draggable.id],St=Qa(Se);St||sn(!1);var st=rt[St],dt=mt({impact:Se,viewport:Pe,destination:st,draggables:Oe}),Lt=Ct({impact:dt,draggable:Et,droppable:st,draggables:Oe,viewport:Pe,afterCritical:ne.afterCritical});return ze({impact:dt,clientSelection:Lt,state:ne,dimensions:xe,viewport:Pe})},On=function(ee){return{index:ee.index,droppableId:ee.droppableId}},Xn=function(ee){var ne=ee.draggable,oe=ee.home,de=ee.draggables,Se=ee.viewport,Pe=Pn(oe.axis,ne.displaceBy),xe=Vo(oe.descriptor.id,de),Oe=xe.indexOf(ne);Oe===-1&&sn(!1);var rt=xe.slice(Oe+1),Et=rt.reduce(function(Lt,gn){return Lt[gn.descriptor.id]=!0,Lt},{}),St={inVirtualList:oe.descriptor.mode==="virtual",displacedBy:Pe,effected:Et},st=Bo({afterDragging:rt,destination:oe,displacedBy:Pe,last:null,viewport:Se.frame,forceShouldAnimate:!1}),dt={displaced:st,displacedBy:Pe,at:{type:"REORDER",destination:On(ne.descriptor)}};return{impact:dt,afterCritical:St}},Hn=function(ee,ne){return{draggables:ee.draggables,droppables:bo(ee.droppables,ne)}},Tn=function(ne){},un=function(ne){},Gn=function(ee){var ne=ee.draggable,oe=ee.offset,de=ee.initialWindowScroll,Se=Wa(ne.client,oe),Pe=ta(Se,de),xe=(0,Ae.Z)({},ne,{placeholder:(0,Ae.Z)({},ne.placeholder,{client:Se}),client:Se,page:Pe});return xe},da=function(ee){var ne=ee.frame;return ne||sn(!1),ne},qa=function(ee){var ne=ee.additions,oe=ee.updatedDroppables,de=ee.viewport,Se=de.scroll.diff.value;return ne.map(function(Pe){var xe=Pe.descriptor.droppableId,Oe=oe[xe],rt=da(Oe),Et=rt.scroll.diff.value,St=Rr(Se,Et),st=Gn({draggable:Pe,offset:St,initialWindowScroll:de.scroll.initial});return st})},Ya=function(ee){var ne=ee.state,oe=ee.published;Tn();var de=oe.modified.map(function(Va){var ar=ne.dimensions.droppables[Va.droppableId],jr=Ba(ar,Va.scroll);return jr}),Se=(0,Ae.Z)({},ne.dimensions.droppables,{},oi(de)),Pe=Yo(qa({additions:oe.additions,updatedDroppables:Se,viewport:ne.viewport})),xe=(0,Ae.Z)({},ne.dimensions.draggables,{},Pe);oe.removals.forEach(function(Va){delete xe[Va]});var Oe={droppables:Se,draggables:xe},rt=Qa(ne.impact),Et=rt?Oe.droppables[rt]:null,St=Oe.draggables[ne.critical.draggable.id],st=Oe.droppables[ne.critical.droppable.id],dt=Xn({draggable:St,home:st,draggables:xe,viewport:ne.viewport}),Lt=dt.impact,gn=dt.afterCritical,ua=Et&&Et.isCombineEnabled?ne.impact:Lt,ma=Vr({pageOffset:ne.current.page.offset,draggable:Oe.draggables[ne.critical.draggable.id],draggables:Oe.draggables,droppables:Oe.droppables,previousImpact:ua,viewport:ne.viewport,afterCritical:gn});un();var Sa=(0,Ae.Z)({phase:"DRAGGING"},ne,{phase:"DRAGGING",impact:ma,onLiftImpact:Lt,dimensions:Oe,afterCritical:gn,forceShouldAnimate:!1});if(ne.phase==="COLLECTING")return Sa;var _a=(0,Ae.Z)({phase:"DROP_PENDING"},Sa,{phase:"DROP_PENDING",reason:ne.reason,isWaiting:!1});return _a},Qn=function(ne){return ne.movementMode==="SNAP"},Vn=function(ne,oe,de){var Se=Hn(ne.dimensions,oe);return!Qn(ne)||de?ze({state:ne,dimensions:Se}):fn({state:ne,dimensions:Se})};function Nn(ee){return ee.isDragging&&ee.movementMode==="SNAP"?(0,Ae.Z)({phase:"DRAGGING"},ee,{scrollJumpRequest:null}):ee}var jn={phase:"IDLE",completed:null,shouldFlush:!1},Fa=function(ee,ne){if(ee===void 0&&(ee=jn),ne.type==="FLUSH")return(0,Ae.Z)({},jn,{shouldFlush:!0});if(ne.type==="INITIAL_PUBLISH"){ee.phase!=="IDLE"&&sn(!1);var oe=ne.payload,de=oe.critical,Se=oe.clientSelection,Pe=oe.viewport,xe=oe.dimensions,Oe=oe.movementMode,rt=xe.draggables[de.draggable.id],Et=xe.droppables[de.droppable.id],St={selection:Se,borderBoxCenter:rt.client.borderBox.center,offset:Mr},st={client:St,page:{selection:Rr(St.selection,Pe.scroll.initial),borderBoxCenter:Rr(St.selection,Pe.scroll.initial),offset:Rr(St.selection,Pe.scroll.diff.value)}},dt=Wo(xe.droppables).every(function(Wu){return!Wu.isFixedOnPage}),Lt=Xn({draggable:rt,home:Et,draggables:xe.draggables,viewport:Pe}),gn=Lt.impact,ua=Lt.afterCritical,ma={phase:"DRAGGING",isDragging:!0,critical:de,movementMode:Oe,dimensions:xe,initial:st,current:st,isWindowScrollAllowed:dt,impact:gn,afterCritical:ua,onLiftImpact:gn,viewport:Pe,scrollJumpRequest:null,forceShouldAnimate:null};return ma}if(ne.type==="COLLECTION_STARTING"){if(ee.phase==="COLLECTING"||ee.phase==="DROP_PENDING")return ee;ee.phase!=="DRAGGING"&&sn(!1);var Sa=(0,Ae.Z)({phase:"COLLECTING"},ee,{phase:"COLLECTING"});return Sa}if(ne.type==="PUBLISH_WHILE_DRAGGING")return ee.phase==="COLLECTING"||ee.phase==="DROP_PENDING"||sn(!1),Ya({state:ee,published:ne.payload});if(ne.type==="MOVE"){if(ee.phase==="DROP_PENDING")return ee;Ia(ee)||sn(!1);var _a=ne.payload.client;return za(_a,ee.current.client.selection)?ee:ze({state:ee,clientSelection:_a,impact:Qn(ee)?ee.impact:null})}if(ne.type==="UPDATE_DROPPABLE_SCROLL"){if(ee.phase==="DROP_PENDING"||ee.phase==="COLLECTING")return Nn(ee);Ia(ee)||sn(!1);var Va=ne.payload,ar=Va.id,jr=Va.newScroll,Or=ee.dimensions.droppables[ar];if(!Or)return ee;var io=Ba(Or,jr);return Vn(ee,io,!1)}if(ne.type==="UPDATE_DROPPABLE_IS_ENABLED"){if(ee.phase==="DROP_PENDING")return ee;Ia(ee)||sn(!1);var ii=ne.payload,ho=ii.id,li=ii.isEnabled,Ai=ee.dimensions.droppables[ho];Ai||sn(!1),Ai.isEnabled===li&&sn(!1);var Oi=(0,Ae.Z)({},Ai,{isEnabled:li});return Vn(ee,Oi,!0)}if(ne.type==="UPDATE_DROPPABLE_IS_COMBINE_ENABLED"){if(ee.phase==="DROP_PENDING")return ee;Ia(ee)||sn(!1);var yl=ne.payload,fl=yl.id,rl=yl.isCombineEnabled,bl=ee.dimensions.droppables[fl];bl||sn(!1),bl.isCombineEnabled===rl&&sn(!1);var Ni=(0,Ae.Z)({},bl,{isCombineEnabled:rl});return Vn(ee,Ni,!0)}if(ne.type==="MOVE_BY_WINDOW_SCROLL"){if(ee.phase==="DROP_PENDING"||ee.phase==="DROP_ANIMATING")return ee;Ia(ee)||sn(!1),ee.isWindowScrollAllowed||sn(!1);var zl=ne.payload.newScroll;if(za(ee.viewport.scroll.current,zl))return Nn(ee);var Cl=Rl(ee.viewport,zl);return Qn(ee)?fn({state:ee,viewport:Cl}):ze({state:ee,viewport:Cl})}if(ne.type==="UPDATE_VIEWPORT_MAX_SCROLL"){if(!Ia(ee))return ee;var Bu=ne.payload.maxScroll;if(za(Bu,ee.viewport.scroll.max))return ee;var Yl=(0,Ae.Z)({},ee.viewport,{scroll:(0,Ae.Z)({},ee.viewport.scroll,{max:Bu})});return(0,Ae.Z)({phase:"DRAGGING"},ee,{viewport:Yl})}if(ne.type==="MOVE_UP"||ne.type==="MOVE_DOWN"||ne.type==="MOVE_LEFT"||ne.type==="MOVE_RIGHT"){if(ee.phase==="COLLECTING"||ee.phase==="DROP_PENDING")return ee;ee.phase!=="DRAGGING"&&sn(!1);var jl=Fr({state:ee,type:ne.type});return jl?ze({state:ee,impact:jl.impact,clientSelection:jl.clientSelection,scrollJumpRequest:jl.scrollJumpRequest}):ee}if(ne.type==="DROP_PENDING"){var xl=ne.payload.reason;ee.phase!=="COLLECTING"&&sn(!1);var Xl=(0,Ae.Z)({phase:"DROP_PENDING"},ee,{phase:"DROP_PENDING",isWaiting:!0,reason:xl});return Xl}if(ne.type==="DROP_ANIMATE"){var ju=ne.payload,Bl=ju.completed,Fu=ju.dropDuration,Gu=ju.newHomeClientOffset;ee.phase==="DRAGGING"||ee.phase==="DROP_PENDING"||sn(!1);var mu={phase:"DROP_ANIMATING",completed:Bl,dropDuration:Fu,newHomeClientOffset:Gu,dimensions:ee.dimensions};return mu}if(ne.type==="DROP_COMPLETE"){var Hu=ne.payload.completed;return{phase:"IDLE",completed:Hu,shouldFlush:!1}}return ee},rr=function(ne){return{type:"BEFORE_INITIAL_CAPTURE",payload:ne}},ba=function(ne){return{type:"LIFT",payload:ne}},aa=function(ne){return{type:"INITIAL_PUBLISH",payload:ne}},fa=function(ne){return{type:"PUBLISH_WHILE_DRAGGING",payload:ne}},ra=function(){return{type:"COLLECTION_STARTING",payload:null}},va=function(ne){return{type:"UPDATE_DROPPABLE_SCROLL",payload:ne}},Ir=function(ne){return{type:"UPDATE_DROPPABLE_IS_ENABLED",payload:ne}},lo=function(ne){return{type:"UPDATE_DROPPABLE_IS_COMBINE_ENABLED",payload:ne}},Fo=function(ne){return{type:"MOVE",payload:ne}},qo=function(ne){return{type:"MOVE_BY_WINDOW_SCROLL",payload:ne}},er=function(ne){return{type:"UPDATE_VIEWPORT_MAX_SCROLL",payload:ne}},mi=function(){return{type:"MOVE_UP",payload:null}},fi=function(){return{type:"MOVE_DOWN",payload:null}},Lr=function(){return{type:"MOVE_RIGHT",payload:null}},Co=function(){return{type:"MOVE_LEFT",payload:null}},po=function(){return{type:"FLUSH",payload:null}},Do=function(ne){return{type:"DROP_ANIMATE",payload:ne}},ui=function(ne){return{type:"DROP_COMPLETE",payload:ne}},gl=function(ne){return{type:"DROP",payload:ne}},Ml=function(ne){return{type:"DROP_PENDING",payload:ne}},Al=function(){return{type:"DROP_ANIMATION_FINISHED",payload:null}};function Hl(ee){if(!(ee.length<=1)){for(var ne=ee.map(function(Oe){return Oe.descriptor.index}),oe={},de=1;de<ne.length;de++){var Se=ne[de],Pe=ne[de-1];Se!==Pe+1&&(oe[Se]=!0)}if(Object.keys(oe).length)var xe=ne.map(function(Oe){var rt=!!oe[Oe];return rt?"[\u{1F525}"+Oe+"]":""+Oe}).join(", ")}}function Tl(ee,ne){if(0)var oe}var Wl=function(ee){return function(ne){var oe=ne.getState,de=ne.dispatch;return function(Se){return function(Pe){if(Pe.type!=="LIFT"){Se(Pe);return}var xe=Pe.payload,Oe=xe.id,rt=xe.clientSelection,Et=xe.movementMode,St=oe();St.phase==="DROP_ANIMATING"&&de(ui({completed:St.completed})),oe().phase!=="IDLE"&&sn(!1),de(po()),de(rr({draggableId:Oe,movementMode:Et}));var st={shouldPublishImmediately:Et==="SNAP"},dt={draggableId:Oe,scrollOptions:st},Lt=ee.startPublishing(dt),gn=Lt.critical,ua=Lt.dimensions,ma=Lt.viewport;Tl(gn,ua),de(aa({critical:gn,dimensions:ua,clientSelection:rt,movementMode:Et,viewport:ma}))}}}},vl=function(ee){return function(){return function(ne){return function(oe){oe.type==="INITIAL_PUBLISH"&&ee.dragging(),oe.type==="DROP_ANIMATE"&&ee.dropping(oe.payload.completed.result.reason),(oe.type==="FLUSH"||oe.type==="DROP_COMPLETE")&&ee.resting(),ne(oe)}}}},Dl={outOfTheWay:"cubic-bezier(0.2, 0, 0, 1)",drop:"cubic-bezier(.2,1,.1,1)"},Il={opacity:{drop:0,combining:.7},scale:{drop:.75}},eu={outOfTheWay:.2,minDropTime:.33,maxDropTime:.55},sl=eu.outOfTheWay+"s "+Dl.outOfTheWay,kl={fluid:"opacity "+sl,snap:"transform "+sl+", opacity "+sl,drop:function(ne){var oe=ne+"s "+Dl.drop;return"transform "+oe+", opacity "+oe},outOfTheWay:"transform "+sl,placeholder:"height "+sl+", width "+sl+", margin "+sl},Ll=function(ne){return za(ne,Mr)?null:"translate("+ne.x+"px, "+ne.y+"px)"},Kl={moveTo:Ll,drop:function(ne,oe){var de=Ll(ne);return de?oe?de+" scale("+Il.scale.drop+")":de:null}},Ul=eu.minDropTime,tu=eu.maxDropTime,nu=tu-Ul,Vl=1500,au=.6,jt=function(ee){var ne=ee.current,oe=ee.destination,de=ee.reason,Se=ja(ne,oe);if(Se<=0)return Ul;if(Se>=Vl)return tu;var Pe=Se/Vl,xe=Ul+nu*Pe,Oe=de==="CANCEL"?xe*au:xe;return Number(Oe.toFixed(2))},Ea=function(ee){var ne=ee.impact,oe=ee.draggable,de=ee.dimensions,Se=ee.viewport,Pe=ee.afterCritical,xe=de.draggables,Oe=de.droppables,rt=Qa(ne),Et=rt?Oe[rt]:null,St=Oe[oe.descriptor.droppableId],st=Ct({impact:ne,draggable:oe,draggables:xe,afterCritical:Pe,droppable:Et||St,viewport:Se}),dt=Gr(st,oe.client.borderBox.center);return dt},br=function(ee){var ne=ee.draggables,oe=ee.reason,de=ee.lastImpact,Se=ee.home,Pe=ee.viewport,xe=ee.onLiftImpact;if(!de.at||oe!=="DROP"){var Oe=mt({draggables:ne,impact:xe,destination:Se,viewport:Pe,forceShouldAnimate:!0});return{impact:Oe,didDropInsideDroppable:!1}}if(de.at.type==="REORDER")return{impact:de,didDropInsideDroppable:!0};var rt=(0,Ae.Z)({},de,{displaced:Di});return{impact:rt,didDropInsideDroppable:!0}},fe=function(ee){var ne=ee.getState,oe=ee.dispatch;return function(de){return function(Se){if(Se.type!=="DROP"){de(Se);return}var Pe=ne(),xe=Se.payload.reason;if(Pe.phase==="COLLECTING"){oe(Ml({reason:xe}));return}if(Pe.phase!=="IDLE"){var Oe=Pe.phase==="DROP_PENDING"&&Pe.isWaiting;Oe&&sn(!1),Pe.phase==="DRAGGING"||Pe.phase==="DROP_PENDING"||sn(!1);var rt=Pe.critical,Et=Pe.dimensions,St=Et.draggables[Pe.critical.draggable.id],st=br({reason:xe,lastImpact:Pe.impact,afterCritical:Pe.afterCritical,onLiftImpact:Pe.onLiftImpact,home:Pe.dimensions.droppables[Pe.critical.droppable.id],viewport:Pe.viewport,draggables:Pe.dimensions.draggables}),dt=st.impact,Lt=st.didDropInsideDroppable,gn=Lt?Eo(dt):null,ua=Lt?xi(dt):null,ma={index:rt.draggable.index,droppableId:rt.droppable.id},Sa={draggableId:St.descriptor.id,type:St.descriptor.type,source:ma,reason:xe,mode:Pe.movementMode,destination:gn,combine:ua},_a=Ea({impact:dt,draggable:St,dimensions:Et,viewport:Pe.viewport,afterCritical:Pe.afterCritical}),Va={critical:Pe.critical,afterCritical:Pe.afterCritical,result:Sa,impact:dt},ar=!za(Pe.current.client.offset,_a)||!!Sa.combine;if(!ar){oe(ui({completed:Va}));return}var jr=jt({current:Pe.current.client.offset,destination:_a,reason:xe}),Or={newHomeClientOffset:_a,dropDuration:jr,completed:Va};oe(Do(Or))}}}},me=function(){return{x:window.pageXOffset,y:window.pageYOffset}};function Me(ee){return{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(oe){oe.target!==window&&oe.target!==window.document||ee()}}}function Ge(ee){var ne=ee.onWindowScroll;function oe(){ne(me())}var de=mn(oe),Se=Me(de),Pe=Ra;function xe(){return Pe!==Ra}function Oe(){xe()&&sn(!1),Pe=pa(window,[Se])}function rt(){xe()||sn(!1),de.cancel(),Pe(),Pe=Ra}return{start:Oe,stop:rt,isActive:xe}}var et=function(ne){return ne.type==="DROP_COMPLETE"||ne.type==="DROP_ANIMATE"||ne.type==="FLUSH"},qe=function(ee){var ne=Ge({onWindowScroll:function(de){ee.dispatch(qo({newScroll:de}))}});return function(oe){return function(de){!ne.isActive()&&de.type==="INITIAL_PUBLISH"&&ne.start(),ne.isActive()&&et(de)&&ne.stop(),oe(de)}}},Nt=function(ee){var ne=!1,oe=!1,de=setTimeout(function(){oe=!0}),Se=function(xe){ne||oe||(ne=!0,ee(xe),clearTimeout(de))};return Se.wasCalled=function(){return ne},Se},xt=function(){var ee=[],ne=function(Pe){var xe=Ro(ee,function(Et){return Et.timerId===Pe});xe===-1&&sn(!1);var Oe=ee.splice(xe,1),rt=Oe[0];rt.callback()},oe=function(Pe){var xe=setTimeout(function(){return ne(xe)}),Oe={timerId:xe,callback:Pe};ee.push(Oe)},de=function(){if(ee.length){var Pe=[].concat(ee);ee.length=0,Pe.forEach(function(xe){clearTimeout(xe.timerId),xe.callback()})}};return{add:oe,flush:de}},Mt=function(ne,oe){return ne==null&&oe==null?!0:ne==null||oe==null?!1:ne.droppableId===oe.droppableId&&ne.index===oe.index},Jt=function(ne,oe){return ne==null&&oe==null?!0:ne==null||oe==null?!1:ne.draggableId===oe.draggableId&&ne.droppableId===oe.droppableId},Tt=function(ne,oe){if(ne===oe)return!0;var de=ne.draggable.id===oe.draggable.id&&ne.draggable.droppableId===oe.draggable.droppableId&&ne.draggable.type===oe.draggable.type&&ne.draggable.index===oe.draggable.index,Se=ne.droppable.id===oe.droppable.id&&ne.droppable.type===oe.droppable.type;return de&&Se},Qt=function(ne,oe){Tn(),oe(),un()},In=function(ne,oe){return{draggableId:ne.draggable.id,type:ne.droppable.type,source:{droppableId:ne.droppable.id,index:ne.draggable.index},mode:oe}},bn=function(ne,oe,de,Se){if(!ne){de(Se(oe));return}var Pe=Nt(de),xe={announce:Pe};ne(oe,xe),Pe.wasCalled()||de(Se(oe))},Rn=function(ee,ne){var oe=xt(),de=null,Se=function(dt,Lt){de&&sn(!1),Qt("onBeforeCapture",function(){var gn=ee().onBeforeCapture;if(gn){var ua={draggableId:dt,mode:Lt};gn(ua)}})},Pe=function(dt,Lt){de&&sn(!1),Qt("onBeforeDragStart",function(){var gn=ee().onBeforeDragStart;gn&&gn(In(dt,Lt))})},xe=function(dt,Lt){de&&sn(!1);var gn=In(dt,Lt);de={mode:Lt,lastCritical:dt,lastLocation:gn.source,lastCombine:null},oe.add(function(){Qt("onDragStart",function(){return bn(ee().onDragStart,gn,ne,Mn.onDragStart)})})},Oe=function(dt,Lt){var gn=Eo(Lt),ua=xi(Lt);de||sn(!1);var ma=!Tt(dt,de.lastCritical);ma&&(de.lastCritical=dt);var Sa=!Mt(de.lastLocation,gn);Sa&&(de.lastLocation=gn);var _a=!Jt(de.lastCombine,ua);if(_a&&(de.lastCombine=ua),!(!ma&&!Sa&&!_a)){var Va=(0,Ae.Z)({},In(dt,de.mode),{combine:ua,destination:gn});oe.add(function(){Qt("onDragUpdate",function(){return bn(ee().onDragUpdate,Va,ne,Mn.onDragUpdate)})})}},rt=function(){de||sn(!1),oe.flush()},Et=function(dt){de||sn(!1),de=null,Qt("onDragEnd",function(){return bn(ee().onDragEnd,dt,ne,Mn.onDragEnd)})},St=function(){if(de){var dt=(0,Ae.Z)({},In(de.lastCritical,de.mode),{combine:null,destination:null,reason:"CANCEL"});Et(dt)}};return{beforeCapture:Se,beforeStart:Pe,start:xe,update:Oe,flush:rt,drop:Et,abort:St}},sa=function(ee,ne){var oe=Rn(ee,ne);return function(de){return function(Se){return function(Pe){if(Pe.type==="BEFORE_INITIAL_CAPTURE"){oe.beforeCapture(Pe.payload.draggableId,Pe.payload.movementMode);return}if(Pe.type==="INITIAL_PUBLISH"){var xe=Pe.payload.critical;oe.beforeStart(xe,Pe.payload.movementMode),Se(Pe),oe.start(xe,Pe.payload.movementMode);return}if(Pe.type==="DROP_COMPLETE"){var Oe=Pe.payload.completed.result;oe.flush(),Se(Pe),oe.drop(Oe);return}if(Se(Pe),Pe.type==="FLUSH"){oe.abort();return}var rt=de.getState();rt.phase==="DRAGGING"&&oe.update(rt.critical,rt.impact)}}}},qn=function(ee){return function(ne){return function(oe){if(oe.type!=="DROP_ANIMATION_FINISHED"){ne(oe);return}var de=ee.getState();de.phase!=="DROP_ANIMATING"&&sn(!1),ee.dispatch(ui({completed:de.completed}))}}},oa=function(ee){var ne=null,oe=null;function de(){oe&&(cancelAnimationFrame(oe),oe=null),ne&&(ne(),ne=null)}return function(Se){return function(Pe){if((Pe.type==="FLUSH"||Pe.type==="DROP_COMPLETE"||Pe.type==="DROP_ANIMATION_FINISHED")&&de(),Se(Pe),Pe.type==="DROP_ANIMATE"){var xe={eventName:"scroll",options:{capture:!0,passive:!1,once:!0},fn:function(){var rt=ee.getState();rt.phase==="DROP_ANIMATING"&&ee.dispatch(Al())}};oe=requestAnimationFrame(function(){oe=null,ne=pa(window,[xe])})}}}},ea=function(ee){return function(){return function(ne){return function(oe){(oe.type==="DROP_COMPLETE"||oe.type==="FLUSH"||oe.type==="DROP_ANIMATE")&&ee.stopPublishing(),ne(oe)}}}},Ca=function(ee){var ne=!1;return function(){return function(oe){return function(de){if(de.type==="INITIAL_PUBLISH"){ne=!0,ee.tryRecordFocus(de.payload.critical.draggable.id),oe(de),ee.tryRestoreFocusRecorded();return}if(oe(de),!!ne){if(de.type==="FLUSH"){ne=!1,ee.tryRestoreFocusRecorded();return}if(de.type==="DROP_COMPLETE"){ne=!1;var Se=de.payload.completed.result;Se.combine&&ee.tryShiftRecord(Se.draggableId,Se.combine.draggableId),ee.tryRestoreFocusRecorded()}}}}}},Ua=function(ne){return ne.type==="DROP_COMPLETE"||ne.type==="DROP_ANIMATE"||ne.type==="FLUSH"},Ja=function(ee){return function(ne){return function(oe){return function(de){if(Ua(de)){ee.stop(),oe(de);return}if(de.type==="INITIAL_PUBLISH"){oe(de);var Se=ne.getState();Se.phase!=="DRAGGING"&&sn(!1),ee.start(Se);return}oe(de),ee.scroll(ne.getState())}}}},Ma=function(ee){return function(ne){return function(oe){if(ne(oe),oe.type==="PUBLISH_WHILE_DRAGGING"){var de=ee.getState();de.phase==="DROP_PENDING"&&(de.isWaiting||ee.dispatch(gl({reason:de.reason})))}}}},gr=Ie.qC,Sr=function(ee){var ne=ee.dimensionMarshal,oe=ee.focusMarshal,de=ee.styleMarshal,Se=ee.getResponders,Pe=ee.announce,xe=ee.autoScroller;return(0,Ie.MT)(Fa,gr((0,Ie.md)(vl(de),ea(ne),Wl(ne),fe,qn,oa,Ma,Ja(xe),qe,Ca(oe),sa(Se,Pe))))},Aa=function(){return{additions:{},removals:{},modified:{}}};function Za(ee){var ne=ee.registry,oe=ee.callbacks,de=Aa(),Se=null,Pe=function(){Se||(oe.collectionStarting(),Se=requestAnimationFrame(function(){Se=null,Tn();var St=de,st=St.additions,dt=St.removals,Lt=St.modified,gn=Object.keys(st).map(function(Sa){return ne.draggable.getById(Sa).getDimension(Mr)}).sort(function(Sa,_a){return Sa.descriptor.index-_a.descriptor.index}),ua=Object.keys(Lt).map(function(Sa){var _a=ne.droppable.getById(Sa),Va=_a.callbacks.getScrollWhileDragging();return{droppableId:Sa,scroll:Va}}),ma={additions:gn,removals:Object.keys(dt),modified:ua};de=Aa(),un(),oe.publish(ma)}))},xe=function(St){var st=St.descriptor.id;de.additions[st]=St,de.modified[St.descriptor.droppableId]=!0,de.removals[st]&&delete de.removals[st],Pe()},Oe=function(St){var st=St.descriptor;de.removals[st.id]=!0,de.modified[st.droppableId]=!0,de.additions[st.id]&&delete de.additions[st.id],Pe()},rt=function(){Se&&(cancelAnimationFrame(Se),Se=null,de=Aa())};return{add:xe,remove:Oe,stop:rt}}var Da=function(ee){var ne=ee.scrollHeight,oe=ee.scrollWidth,de=ee.height,Se=ee.width,Pe=Gr({x:oe,y:ne},{x:Se,y:de}),xe={x:Math.max(0,Pe.x),y:Math.max(0,Pe.y)};return xe},ha=function(){var ee=document.documentElement;return ee||sn(!1),ee},La=function(){var ee=ha(),ne=Da({scrollHeight:ee.scrollHeight,scrollWidth:ee.scrollWidth,width:ee.clientWidth,height:ee.clientHeight});return ne},ur=function(){var ee=me(),ne=La(),oe=ee.y,de=ee.x,Se=ha(),Pe=Se.clientWidth,xe=Se.clientHeight,Oe=de+Pe,rt=oe+xe,Et=Yn({top:oe,left:de,right:Oe,bottom:rt}),St={frame:Et,scroll:{initial:ee,current:ee,max:ne,diff:{value:Mr,displacement:Mr}}};return St},wr=function(ee){var ne=ee.critical,oe=ee.scrollOptions,de=ee.registry;Tn();var Se=ur(),Pe=Se.scroll.current,xe=ne.droppable,Oe=de.droppable.getAllByType(xe.type).map(function(st){return st.callbacks.getDimensionAndWatchScroll(Pe,oe)}),rt=de.draggable.getAllByType(ne.draggable.type).map(function(st){return st.getDimension(Pe)}),Et={draggables:Yo(rt),droppables:oi(Oe)};un();var St={dimensions:Et,critical:ne,viewport:Se};return St};function pr(ee,ne,oe){if(oe.descriptor.id===ne.id||oe.descriptor.type!==ne.type)return!1;var de=ee.droppable.getById(oe.descriptor.droppableId);return de.descriptor.mode==="virtual"}var tr=function(ee,ne){var oe=null,de=Za({callbacks:{publish:ne.publishWhileDragging,collectionStarting:ne.collectionStarting},registry:ee}),Se=function(Lt,gn){ee.droppable.exists(Lt)||sn(!1),oe&&ne.updateDroppableIsEnabled({id:Lt,isEnabled:gn})},Pe=function(Lt,gn){oe&&(ee.droppable.exists(Lt)||sn(!1),ne.updateDroppableIsCombineEnabled({id:Lt,isCombineEnabled:gn}))},xe=function(Lt,gn){oe&&(ee.droppable.exists(Lt)||sn(!1),ne.updateDroppableScroll({id:Lt,newScroll:gn}))},Oe=function(Lt,gn){oe&&ee.droppable.getById(Lt).callbacks.scroll(gn)},rt=function(){if(oe){de.stop();var Lt=oe.critical.droppable;ee.droppable.getAllByType(Lt.type).forEach(function(gn){return gn.callbacks.dragStopped()}),oe.unsubscribe(),oe=null}},Et=function(Lt){oe||sn(!1);var gn=oe.critical.draggable;Lt.type==="ADDITION"&&pr(ee,gn,Lt.value)&&de.add(Lt.value),Lt.type==="REMOVAL"&&pr(ee,gn,Lt.value)&&de.remove(Lt.value)},St=function(Lt){oe&&sn(!1);var gn=ee.draggable.getById(Lt.draggableId),ua=ee.droppable.getById(gn.descriptor.droppableId),ma={draggable:gn.descriptor,droppable:ua.descriptor},Sa=ee.subscribe(Et);return oe={critical:ma,unsubscribe:Sa},wr({critical:ma,registry:ee,scrollOptions:Lt.scrollOptions})},st={updateDroppableIsEnabled:Se,updateDroppableIsCombineEnabled:Pe,scrollDroppable:Oe,updateDroppableScroll:xe,startPublishing:St,stopPublishing:rt};return st},Ar=function(ee,ne){return ee.phase==="IDLE"?!0:ee.phase!=="DROP_ANIMATING"||ee.completed.result.draggableId===ne?!1:ee.completed.result.reason==="DROP"},Zr=function(ee){window.scrollBy(ee.x,ee.y)},Io=tn(function(ee){return Wo(ee).filter(function(ne){return!(!ne.isEnabled||!ne.frame)})}),to=function(ne,oe){var de=Po(Io(oe),function(Se){return Se.frame||sn(!1),ca(Se.frame.pageMarginBox)(ne)});return de},Ko=function(ee){var ne=ee.center,oe=ee.destination,de=ee.droppables;if(oe){var Se=de[oe];return Se.frame?Se:null}var Pe=to(ne,de);return Pe},wo={startFromPercentage:.25,maxScrollAtPercentage:.05,maxPixelScroll:28,ease:function(ne){return Math.pow(ne,2)},durationDampening:{stopDampeningAt:1200,accelerateAt:360}},Pr=function(ee,ne){var oe=ee[ne.size]*wo.startFromPercentage,de=ee[ne.size]*wo.maxScrollAtPercentage,Se={startScrollingFrom:oe,maxScrollValueAt:de};return Se},Qo=function(ee){var ne=ee.startOfRange,oe=ee.endOfRange,de=ee.current,Se=oe-ne;if(Se===0)return 0;var Pe=de-ne,xe=Pe/Se;return xe},$r=1,ko=function(ee,ne){if(ee>ne.startScrollingFrom)return 0;if(ee<=ne.maxScrollValueAt)return wo.maxPixelScroll;if(ee===ne.startScrollingFrom)return $r;var oe=Qo({startOfRange:ne.maxScrollValueAt,endOfRange:ne.startScrollingFrom,current:ee}),de=1-oe,Se=wo.maxPixelScroll*wo.ease(de);return Math.ceil(Se)},Oo=wo.durationDampening.accelerateAt,Fi=wo.durationDampening.stopDampeningAt,ir=function(ee,ne){var oe=ne,de=Fi,Se=Date.now(),Pe=Se-oe;if(Pe>=Fi)return ee;if(Pe<Oo)return $r;var xe=Qo({startOfRange:Oo,endOfRange:de,current:Pe}),Oe=ee*wo.ease(xe);return Math.ceil(Oe)},nr=function(ee){var ne=ee.distanceToEdge,oe=ee.thresholds,de=ee.dragStartTime,Se=ee.shouldUseTimeDampening,Pe=ko(ne,oe);return Pe===0?0:Se?Math.max(ir(Pe,de),$r):Pe},Xa=function(ee){var ne=ee.container,oe=ee.distanceToEdges,de=ee.dragStartTime,Se=ee.axis,Pe=ee.shouldUseTimeDampening,xe=Pr(ne,Se),Oe=oe[Se.end]<oe[Se.start];return Oe?nr({distanceToEdge:oe[Se.end],thresholds:xe,dragStartTime:de,shouldUseTimeDampening:Pe}):-1*nr({distanceToEdge:oe[Se.start],thresholds:xe,dragStartTime:de,shouldUseTimeDampening:Pe})},Ka=function(ee){var ne=ee.container,oe=ee.subject,de=ee.proposedScroll,Se=oe.height>ne.height,Pe=oe.width>ne.width;return!Pe&&!Se?de:Pe&&Se?null:{x:Pe?0:de.x,y:Se?0:de.y}},ro=fr(function(ee){return ee===0?0:ee}),Ha=function(ee){var ne=ee.dragStartTime,oe=ee.container,de=ee.subject,Se=ee.center,Pe=ee.shouldUseTimeDampening,xe={top:Se.y-oe.top,right:oe.right-Se.x,bottom:oe.bottom-Se.y,left:Se.x-oe.left},Oe=Xa({container:oe,distanceToEdges:xe,dragStartTime:ne,axis:$i,shouldUseTimeDampening:Pe}),rt=Xa({container:oe,distanceToEdges:xe,dragStartTime:ne,axis:Yi,shouldUseTimeDampening:Pe}),Et=ro({x:rt,y:Oe});if(za(Et,Mr))return null;var St=Ka({container:oe,subject:de,proposedScroll:Et});return St?za(St,Mr)?null:St:null},vr=fr(function(ee){return ee===0?0:ee>0?1:-1}),Qr=function(){var ee=function(oe,de){return oe<0?oe:oe>de?oe-de:0};return function(ne){var oe=ne.current,de=ne.max,Se=ne.change,Pe=Rr(oe,Se),xe={x:ee(Pe.x,de.x),y:ee(Pe.y,de.y)};return za(xe,Mr)?null:xe}}(),Wr=function(ne){var oe=ne.max,de=ne.current,Se=ne.change,Pe={x:Math.max(de.x,oe.x),y:Math.max(de.y,oe.y)},xe=vr(Se),Oe=Qr({max:Pe,current:de,change:xe});return!Oe||xe.x!==0&&Oe.x===0||xe.y!==0&&Oe.y===0},di=function(ne,oe){return Wr({current:ne.scroll.current,max:ne.scroll.max,change:oe})},ci=function(ne,oe){if(!di(ne,oe))return null;var de=ne.scroll.max,Se=ne.scroll.current;return Qr({current:Se,max:de,change:oe})},Gi=function(ne,oe){var de=ne.frame;return de?Wr({current:de.scroll.current,max:de.scroll.max,change:oe}):!1},ei=function(ne,oe){var de=ne.frame;return!de||!Gi(ne,oe)?null:Qr({current:de.scroll.current,max:de.scroll.max,change:oe})},Vi=function(ee){var ne=ee.viewport,oe=ee.subject,de=ee.center,Se=ee.dragStartTime,Pe=ee.shouldUseTimeDampening,xe=Ha({dragStartTime:Se,container:ne.frame,subject:oe,center:de,shouldUseTimeDampening:Pe});return xe&&di(ne,xe)?xe:null},ti=function(ee){var ne=ee.droppable,oe=ee.subject,de=ee.center,Se=ee.dragStartTime,Pe=ee.shouldUseTimeDampening,xe=ne.frame;if(!xe)return null;var Oe=Ha({dragStartTime:Se,container:xe.pageMarginBox,subject:oe,center:de,shouldUseTimeDampening:Pe});return Oe&&Gi(ne,Oe)?Oe:null},wi=function(ee){var ne=ee.state,oe=ee.dragStartTime,de=ee.shouldUseTimeDampening,Se=ee.scrollWindow,Pe=ee.scrollDroppable,xe=ne.current.page.borderBoxCenter,Oe=ne.dimensions.draggables[ne.critical.draggable.id],rt=Oe.page.marginBox;if(ne.isWindowScrollAllowed){var Et=ne.viewport,St=Vi({dragStartTime:oe,viewport:Et,subject:rt,center:xe,shouldUseTimeDampening:de});if(St){Se(St);return}}var st=Ko({center:xe,destination:Qa(ne.impact),droppables:ne.dimensions.droppables});if(st){var dt=ti({dragStartTime:oe,droppable:st,subject:rt,center:xe,shouldUseTimeDampening:de});dt&&Pe(st.descriptor.id,dt)}},Ol=function(ee){var ne=ee.scrollWindow,oe=ee.scrollDroppable,de=mn(ne),Se=mn(oe),Pe=null,xe=function(St){Pe||sn(!1);var st=Pe,dt=st.shouldUseTimeDampening,Lt=st.dragStartTime;wi({state:St,scrollWindow:de,scrollDroppable:Se,dragStartTime:Lt,shouldUseTimeDampening:dt})},Oe=function(St){Tn(),Pe&&sn(!1);var st=Date.now(),dt=!1,Lt=function(){dt=!0};wi({state:St,dragStartTime:0,shouldUseTimeDampening:!1,scrollWindow:Lt,scrollDroppable:Lt}),Pe={dragStartTime:st,shouldUseTimeDampening:dt},un(),dt&&xe(St)},rt=function(){Pe&&(de.cancel(),Se.cancel(),Pe=null)};return{start:Oe,stop:rt,scroll:xe}},uo=function(ee){var ne=ee.move,oe=ee.scrollDroppable,de=ee.scrollWindow,Se=function(Et,St){var st=Rr(Et.current.client.selection,St);ne({client:st})},Pe=function(Et,St){if(!Gi(Et,St))return St;var st=ei(Et,St);if(!st)return oe(Et.descriptor.id,St),null;var dt=Gr(St,st);oe(Et.descriptor.id,dt);var Lt=Gr(St,dt);return Lt},xe=function(Et,St,st){if(!Et||!di(St,st))return st;var dt=ci(St,st);if(!dt)return de(st),null;var Lt=Gr(st,dt);de(Lt);var gn=Gr(st,Lt);return gn},Oe=function(Et){var St=Et.scrollJumpRequest;if(St){var st=Qa(Et.impact);st||sn(!1);var dt=Pe(Et.dimensions.droppables[st],St);if(dt){var Lt=Et.viewport,gn=xe(Et.isWindowScrollAllowed,Lt,dt);gn&&Se(Et,gn)}}};return Oe},vo=function(ee){var ne=ee.scrollDroppable,oe=ee.scrollWindow,de=ee.move,Se=Ol({scrollWindow:oe,scrollDroppable:ne}),Pe=uo({move:de,scrollWindow:oe,scrollDroppable:ne}),xe=function(Et){if(Et.phase==="DRAGGING"){if(Et.movementMode==="FLUID"){Se.scroll(Et);return}Et.scrollJumpRequest&&Pe(Et)}},Oe={scroll:xe,start:Se.start,stop:Se.stop};return Oe},Lo="data-rbd",Go=function(){var ee=Lo+"-drag-handle";return{base:ee,draggableId:ee+"-draggable-id",contextId:ee+"-context-id"}}(),Jo=function(){var ee=Lo+"-draggable";return{base:ee,contextId:ee+"-context-id",id:ee+"-id"}}(),zr=function(){var ee=Lo+"-droppable";return{base:ee,contextId:ee+"-context-id",id:ee+"-id"}}(),hi={contextId:Lo+"-scroll-container-context-id"},Si=function(ne){return function(oe){return"["+oe+'="'+ne+'"]'}},pi=function(ne,oe){return ne.map(function(de){var Se=de.styles[oe];return Se?de.selector+" { "+Se+" }":""}).join(" ")},dl="pointer-events: none;",nl=function(ee){var ne=Si(ee),oe=function(){var Oe=`
cursor: -webkit-grab;
cursor: grab;
`;return{selector:ne(Go.contextId),styles:{always:`
-webkit-touch-callout: none;
-webkit-tap-highlight-color: rgba(0,0,0,0);
touch-action: manipulation;
`,resting:Oe,dragging:dl,dropAnimating:Oe}}}(),de=function(){var Oe=`
transition: `+kl.outOfTheWay+`;
`;return{selector:ne(Jo.contextId),styles:{dragging:Oe,dropAnimating:Oe,userCancel:Oe}}}(),Se={selector:ne(zr.contextId),styles:{always:"overflow-anchor: none;"}},Pe={selector:"body",styles:{dragging:`
cursor: grabbing;
cursor: -webkit-grabbing;
user-select: none;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
overflow-anchor: none;
`}},xe=[de,oe,Se,Pe];return{always:pi(xe,"always"),resting:pi(xe,"resting"),dragging:pi(xe,"dragging"),dropAnimating:pi(xe,"dropAnimating"),userCancel:pi(xe,"userCancel")}},Pi=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined"?b.useLayoutEffect:b.useEffect,al=function(){var ne=document.querySelector("head");return ne||sn(!1),ne},Hi=function(ne){var oe=document.createElement("style");return ne&&oe.setAttribute("nonce",ne),oe.type="text/css",oe};function Ii(ee,ne){var oe=Zt(function(){return nl(ee)},[ee]),de=(0,b.useRef)(null),Se=(0,b.useRef)(null),Pe=wt(tn(function(st){var dt=Se.current;dt||sn(!1),dt.textContent=st}),[]),xe=wt(function(st){var dt=de.current;dt||sn(!1),dt.textContent=st},[]);Pi(function(){!de.current&&!Se.current||sn(!1);var st=Hi(ne),dt=Hi(ne);return de.current=st,Se.current=dt,st.setAttribute(Lo+"-always",ee),dt.setAttribute(Lo+"-dynamic",ee),al().appendChild(st),al().appendChild(dt),xe(oe.always),Pe(oe.resting),function(){var Lt=function(ua){var ma=ua.current;ma||sn(!1),al().removeChild(ma),ua.current=null};Lt(de),Lt(Se)}},[ne,xe,Pe,oe.always,oe.resting,ee]);var Oe=wt(function(){return Pe(oe.dragging)},[Pe,oe.dragging]),rt=wt(function(st){if(st==="DROP"){Pe(oe.dropAnimating);return}Pe(oe.userCancel)},[Pe,oe.dropAnimating,oe.userCancel]),Et=wt(function(){Se.current&&Pe(oe.resting)},[Pe,oe.resting]),St=Zt(function(){return{dragging:Oe,dropping:rt,resting:Et}},[Oe,rt,Et]);return St}var Ei=function(ee){return ee&&ee.ownerDocument?ee.ownerDocument.defaultView:window};function Uo(ee){return ee instanceof Ei(ee).HTMLElement}function Zo(ee,ne){var oe="["+Go.contextId+'="'+ee+'"]',de=xo(document.querySelectorAll(oe));if(!de.length)return null;var Se=Po(de,function(Pe){return Pe.getAttribute(Go.draggableId)===ne});return!Se||!Uo(Se)?null:Se}function cl(ee){var ne=(0,b.useRef)({}),oe=(0,b.useRef)(null),de=(0,b.useRef)(null),Se=(0,b.useRef)(!1),Pe=wt(function(dt,Lt){var gn={id:dt,focus:Lt};return ne.current[dt]=gn,function(){var ma=ne.current,Sa=ma[dt];Sa!==gn&&delete ma[dt]}},[]),xe=wt(function(dt){var Lt=Zo(ee,dt);Lt&&Lt!==document.activeElement&&Lt.focus()},[ee]),Oe=wt(function(dt,Lt){oe.current===dt&&(oe.current=Lt)},[]),rt=wt(function(){de.current||Se.current&&(de.current=requestAnimationFrame(function(){de.current=null;var dt=oe.current;dt&&xe(dt)}))},[xe]),Et=wt(function(dt){oe.current=null;var Lt=document.activeElement;Lt&&Lt.getAttribute(Go.draggableId)===dt&&(oe.current=dt)},[]);Pi(function(){return Se.current=!0,function(){Se.current=!1;var dt=de.current;dt&&cancelAnimationFrame(dt)}},[]);var St=Zt(function(){return{register:Pe,tryRecordFocus:Et,tryRestoreFocusRecorded:rt,tryShiftRecord:Oe}},[Pe,Et,rt,Oe]);return St}function Nl(){var ee={draggables:{},droppables:{}},ne=[];function oe(st){return ne.push(st),function(){var Lt=ne.indexOf(st);Lt!==-1&&ne.splice(Lt,1)}}function de(st){ne.length&&ne.forEach(function(dt){return dt(st)})}function Se(st){return ee.draggables[st]||null}function Pe(st){var dt=Se(st);return dt||sn(!1),dt}var xe={register:function(dt){ee.draggables[dt.descriptor.id]=dt,de({type:"ADDITION",value:dt})},update:function(dt,Lt){var gn=ee.draggables[Lt.descriptor.id];gn&&gn.uniqueId===dt.uniqueId&&(delete ee.draggables[Lt.descriptor.id],ee.draggables[dt.descriptor.id]=dt)},unregister:function(dt){var Lt=dt.descriptor.id,gn=Se(Lt);gn&&dt.uniqueId===gn.uniqueId&&(delete ee.draggables[Lt],de({type:"REMOVAL",value:dt}))},getById:Pe,findById:Se,exists:function(dt){return!!Se(dt)},getAllByType:function(dt){return mo(ee.draggables).filter(function(Lt){return Lt.descriptor.type===dt})}};function Oe(st){return ee.droppables[st]||null}function rt(st){var dt=Oe(st);return dt||sn(!1),dt}var Et={register:function(dt){ee.droppables[dt.descriptor.id]=dt},unregister:function(dt){var Lt=Oe(dt.descriptor.id);Lt&&dt.uniqueId===Lt.uniqueId&&delete ee.droppables[dt.descriptor.id]},getById:rt,findById:Oe,exists:function(dt){return!!Oe(dt)},getAllByType:function(dt){return mo(ee.droppables).filter(function(Lt){return Lt.descriptor.type===dt})}};function St(){ee.draggables={},ee.droppables={},ne.length=0}return{draggable:xe,droppable:Et,subscribe:oe,clean:St}}function hl(){var ee=Zt(Nl,[]);return(0,b.useEffect)(function(){return function(){requestAnimationFrame(ee.clean)}},[ee]),ee}var Qi=b.createContext(null),Sl=function(){var ee=document.body;return ee||sn(!1),ee},fu={position:"absolute",width:"1px",height:"1px",margin:"-1px",border:"0",padding:"0",overflow:"hidden",clip:"rect(0 0 0 0)","clip-path":"inset(100%)"},Yr=function(ne){return"rbd-announcement-"+ne};function No(ee){var ne=Zt(function(){return Yr(ee)},[ee]),oe=(0,b.useRef)(null);(0,b.useEffect)(function(){var Pe=document.createElement("div");return oe.current=Pe,Pe.id=ne,Pe.setAttribute("aria-live","assertive"),Pe.setAttribute("aria-atomic","true"),(0,Ae.Z)(Pe.style,fu),Sl().appendChild(Pe),function(){setTimeout(function(){var rt=Sl();rt.contains(Pe)&&rt.removeChild(Pe),Pe===oe.current&&(oe.current=null)})}},[ne]);var de=wt(function(Se){var Pe=oe.current;if(Pe){Pe.textContent=Se;return}},[]);return de}var gi=0,Ho={separator:"::"};function yi(){gi=0}function bi(ee,ne){return ne===void 0&&(ne=Ho),Zt(function(){return""+ee+ne.separator+gi++},[ne.separator,ee])}function Li(ee){var ne=ee.contextId,oe=ee.uniqueId;return"rbd-hidden-text-"+ne+"-"+oe}function ml(ee){var ne=ee.contextId,oe=ee.text,de=bi("hidden-text",{separator:"-"}),Se=Zt(function(){return Li({contextId:ne,uniqueId:de})},[de,ne]);return(0,b.useEffect)(function(){var xe=document.createElement("div");return xe.id=Se,xe.textContent=oe,xe.style.display="none",Sl().appendChild(xe),function(){var rt=Sl();rt.contains(xe)&&rt.removeChild(xe)}},[Se,oe]),Se}var Ql=b.createContext(null),Vu={react:"^16.8.5","react-dom":"^16.8.5"},Au=/(\d+)\.(\d+)\.(\d+)/,Du=function(ne){var oe=Au.exec(ne);oe==null&&sn(!1);var de=Number(oe[1]),Se=Number(oe[2]),Pe=Number(oe[3]);return{major:de,minor:Se,patch:Pe,raw:ne}},Iu=function(ne,oe){return oe.major>ne.major?!0:oe.major<ne.major?!1:oe.minor>ne.minor?!0:oe.minor<ne.minor?!1:oe.patch>=ne.patch},ru=function(ee,ne){var oe=Du(ee),de=Du(ne);Iu(oe,de)},Jl=`
We expect a html5 doctype: <!doctype html>
This is to ensure consistent browser layout and measurement
More information: https://github.com/atlassian/react-beautiful-dnd/blob/master/docs/guides/doctype.md
`,Lu=function(ee){var ne=ee.doctype;ne&&(ne.name.toLowerCase(),ne.publicId)};function cs(ee){}function Zl(ee,ne){}function Qu(){Zl(function(){ru(Vu.react,b.version),Lu(document)},[])}function ou(ee){var ne=(0,b.useRef)(ee);return(0,b.useEffect)(function(){ne.current=ee}),ne}function iu(){var ee=null;function ne(){return!!ee}function oe(xe){return xe===ee}function de(xe){ee&&sn(!1);var Oe={abandon:xe};return ee=Oe,Oe}function Se(){ee||sn(!1),ee=null}function Pe(){ee&&(ee.abandon(),Se())}return{isClaimed:ne,isActive:oe,claim:de,release:Se,tryAbandon:Pe}}var Ou=9,Ju=13,lu=27,pu=32,$u=33,Yu=34,Xu=35,Nu=36,uu=37,vu=38,hu=39,Ru=40,$l,_u=($l={},$l[Ju]=!0,$l[Ou]=!0,$l),Su=function(ee){_u[ee.keyCode]&&ee.preventDefault()},su=function(){var ee="visibilitychange";if(typeof document=="undefined")return ee;var ne=[ee,"ms"+ee,"webkit"+ee,"moz"+ee,"o"+ee],oe=Po(ne,function(de){return"on"+de in document});return oe||ee}(),Pu=0,du=5;function Mu(ee,ne){return Math.abs(ne.x-ee.x)>=du||Math.abs(ne.y-ee.y)>=du}var cu={type:"IDLE"};function Tu(ee){var ne=ee.cancel,oe=ee.completed,de=ee.getPhase,Se=ee.setPhase;return[{eventName:"mousemove",fn:function(xe){var Oe=xe.button,rt=xe.clientX,Et=xe.clientY;if(Oe===Pu){var St={x:rt,y:Et},st=de();if(st.type==="DRAGGING"){xe.preventDefault(),st.actions.move(St);return}st.type!=="PENDING"&&sn(!1);var dt=st.point;if(Mu(dt,St)){xe.preventDefault();var Lt=st.actions.fluidLift(St);Se({type:"DRAGGING",actions:Lt})}}}},{eventName:"mouseup",fn:function(xe){var Oe=de();if(Oe.type!=="DRAGGING"){ne();return}xe.preventDefault(),Oe.actions.drop({shouldBlockNextClick:!0}),oe()}},{eventName:"mousedown",fn:function(xe){de().type==="DRAGGING"&&xe.preventDefault(),ne()}},{eventName:"keydown",fn:function(xe){var Oe=de();if(Oe.type==="PENDING"){ne();return}if(xe.keyCode===lu){xe.preventDefault(),ne();return}Su(xe)}},{eventName:"resize",fn:ne},{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(){de().type==="PENDING"&&ne()}},{eventName:"webkitmouseforcedown",fn:function(xe){var Oe=de();if(Oe.type==="IDLE"&&sn(!1),Oe.actions.shouldRespectForcePress()){ne();return}xe.preventDefault()}},{eventName:su,fn:ne}]}function qu(ee){var ne=(0,b.useRef)(cu),oe=(0,b.useRef)(Ra),de=Zt(function(){return{eventName:"mousedown",fn:function(st){if(!st.defaultPrevented&&st.button===Pu&&!(st.ctrlKey||st.metaKey||st.shiftKey||st.altKey)){var dt=ee.findClosestDraggableId(st);if(dt){var Lt=ee.tryGetLock(dt,xe,{sourceEvent:st});if(Lt){st.preventDefault();var gn={x:st.clientX,y:st.clientY};oe.current(),Et(Lt,gn)}}}}}},[ee]),Se=Zt(function(){return{eventName:"webkitmouseforcewillbegin",fn:function(st){if(!st.defaultPrevented){var dt=ee.findClosestDraggableId(st);if(dt){var Lt=ee.findOptionsForDraggable(dt);Lt&&(Lt.shouldRespectForcePress||ee.canGetLock(dt)&&st.preventDefault())}}}}},[ee]),Pe=wt(function(){var st={passive:!1,capture:!0};oe.current=pa(window,[Se,de],st)},[Se,de]),xe=wt(function(){var St=ne.current;St.type!=="IDLE"&&(ne.current=cu,oe.current(),Pe())},[Pe]),Oe=wt(function(){var St=ne.current;xe(),St.type==="DRAGGING"&&St.actions.cancel({shouldBlockNextClick:!0}),St.type==="PENDING"&&St.actions.abort()},[xe]),rt=wt(function(){var st={capture:!0,passive:!1},dt=Tu({cancel:Oe,completed:xe,getPhase:function(){return ne.current},setPhase:function(gn){ne.current=gn}});oe.current=pa(window,dt,st)},[Oe,xe]),Et=wt(function(st,dt){ne.current.type!=="IDLE"&&sn(!1),ne.current={type:"PENDING",point:dt,actions:st},rt()},[rt]);Pi(function(){return Pe(),function(){oe.current()}},[Pe])}var Xr;function zo(){}var Ji=(Xr={},Xr[Yu]=!0,Xr[$u]=!0,Xr[Nu]=!0,Xr[Xu]=!0,Xr);function Pl(ee,ne){function oe(){ne(),ee.cancel()}function de(){ne(),ee.drop()}return[{eventName:"keydown",fn:function(Pe){if(Pe.keyCode===lu){Pe.preventDefault(),oe();return}if(Pe.keyCode===pu){Pe.preventDefault(),de();return}if(Pe.keyCode===Ru){Pe.preventDefault(),ee.moveDown();return}if(Pe.keyCode===vu){Pe.preventDefault(),ee.moveUp();return}if(Pe.keyCode===hu){Pe.preventDefault(),ee.moveRight();return}if(Pe.keyCode===uu){Pe.preventDefault(),ee.moveLeft();return}if(Ji[Pe.keyCode]){Pe.preventDefault();return}Su(Pe)}},{eventName:"mousedown",fn:oe},{eventName:"mouseup",fn:oe},{eventName:"click",fn:oe},{eventName:"touchstart",fn:oe},{eventName:"resize",fn:oe},{eventName:"wheel",fn:oe,options:{passive:!0}},{eventName:su,fn:oe}]}function El(ee){var ne=(0,b.useRef)(zo),oe=Zt(function(){return{eventName:"keydown",fn:function(Pe){if(Pe.defaultPrevented||Pe.keyCode!==pu)return;var xe=ee.findClosestDraggableId(Pe);if(!xe)return;var Oe=ee.tryGetLock(xe,St,{sourceEvent:Pe});if(!Oe)return;Pe.preventDefault();var rt=!0,Et=Oe.snapLift();ne.current();function St(){rt||sn(!1),rt=!1,ne.current(),de()}ne.current=pa(window,Pl(Et,St),{capture:!0,passive:!1})}}},[ee]),de=wt(function(){var Pe={passive:!1,capture:!0};ne.current=pa(window,[oe],Pe)},[oe]);Pi(function(){return de(),function(){ne.current()}},[de])}var gu={type:"IDLE"},Eu=120,yu=.15;function bu(ee){var ne=ee.cancel,oe=ee.getPhase;return[{eventName:"orientationchange",fn:ne},{eventName:"resize",fn:ne},{eventName:"contextmenu",fn:function(Se){Se.preventDefault()}},{eventName:"keydown",fn:function(Se){if(oe().type!=="DRAGGING"){ne();return}Se.keyCode===lu&&Se.preventDefault(),ne()}},{eventName:su,fn:ne}]}function Cu(ee){var ne=ee.cancel,oe=ee.completed,de=ee.getPhase;return[{eventName:"touchmove",options:{capture:!1},fn:function(Pe){var xe=de();if(xe.type!=="DRAGGING"){ne();return}xe.hasMoved=!0;var Oe=Pe.touches[0],rt=Oe.clientX,Et=Oe.clientY,St={x:rt,y:Et};Pe.preventDefault(),xe.actions.move(St)}},{eventName:"touchend",fn:function(Pe){var xe=de();if(xe.type!=="DRAGGING"){ne();return}Pe.preventDefault(),xe.actions.drop({shouldBlockNextClick:!0}),oe()}},{eventName:"touchcancel",fn:function(Pe){if(de().type!=="DRAGGING"){ne();return}Pe.preventDefault(),ne()}},{eventName:"touchforcechange",fn:function(Pe){var xe=de();xe.type==="IDLE"&&sn(!1);var Oe=Pe.touches[0];if(Oe){var rt=Oe.force>=yu;if(rt){var Et=xe.actions.shouldRespectForcePress();if(xe.type==="PENDING"){Et&&ne();return}if(Et){if(xe.hasMoved){Pe.preventDefault();return}ne();return}Pe.preventDefault()}}}},{eventName:su,fn:ne}]}function Os(ee){var ne=(0,b.useRef)(gu),oe=(0,b.useRef)(Ra),de=wt(function(){return ne.current},[]),Se=wt(function(Lt){ne.current=Lt},[]),Pe=Zt(function(){return{eventName:"touchstart",fn:function(Lt){if(!Lt.defaultPrevented){var gn=ee.findClosestDraggableId(Lt);if(gn){var ua=ee.tryGetLock(gn,Oe,{sourceEvent:Lt});if(ua){var ma=Lt.touches[0],Sa=ma.clientX,_a=ma.clientY,Va={x:Sa,y:_a};oe.current(),st(ua,Va)}}}}}},[ee]),xe=wt(function(){var Lt={capture:!0,passive:!1};oe.current=pa(window,[Pe],Lt)},[Pe]),Oe=wt(function(){var dt=ne.current;dt.type!=="IDLE"&&(dt.type==="PENDING"&&clearTimeout(dt.longPressTimerId),Se(gu),oe.current(),xe())},[xe,Se]),rt=wt(function(){var dt=ne.current;Oe(),dt.type==="DRAGGING"&&dt.actions.cancel({shouldBlockNextClick:!0}),dt.type==="PENDING"&&dt.actions.abort()},[Oe]),Et=wt(function(){var Lt={capture:!0,passive:!1},gn={cancel:rt,completed:Oe,getPhase:de},ua=pa(window,Cu(gn),Lt),ma=pa(window,bu(gn),Lt);oe.current=function(){ua(),ma()}},[rt,de,Oe]),St=wt(function(){var Lt=de();Lt.type!=="PENDING"&&sn(!1);var gn=Lt.actions.fluidLift(Lt.point);Se({type:"DRAGGING",actions:gn,hasMoved:!1})},[de,Se]),st=wt(function(Lt,gn){de().type!=="IDLE"&&sn(!1);var ua=setTimeout(St,Eu);Se({type:"PENDING",point:gn,actions:Lt,longPressTimerId:ua}),Et()},[Et,de,Se,St]);Pi(function(){return xe(),function(){oe.current();var gn=de();gn.type==="PENDING"&&(clearTimeout(gn.longPressTimerId),Se(gu))}},[de,xe,Se]),Pi(function(){var Lt=pa(window,[{eventName:"touchmove",fn:function(){},options:{capture:!1,passive:!1}}]);return Lt},[])}function Ns(ee){}var Rs={input:!0,button:!0,textarea:!0,select:!0,option:!0,optgroup:!0,video:!0,audio:!0};function gs(ee,ne){if(ne==null)return!1;var oe=!!Rs[ne.tagName.toLowerCase()];if(oe)return!0;var de=ne.getAttribute("contenteditable");return de==="true"||de===""?!0:ne===ee?!1:gs(ee,ne.parentElement)}function _s(ee,ne){var oe=ne.target;return Uo(oe)?gs(ee,oe):!1}var Ms=function(ee){return Yn(ee.getBoundingClientRect()).center};function Ts(ee){return ee instanceof Ei(ee).Element}var ks=function(){var ee="matches";if(typeof document=="undefined")return ee;var ne=[ee,"msMatchesSelector","webkitMatchesSelector"],oe=Po(ne,function(de){return de in Element.prototype});return oe||ee}();function ms(ee,ne){return ee==null?null:ee[ks](ne)?ee:ms(ee.parentElement,ne)}function Zs(ee,ne){return ee.closest?ee.closest(ne):ms(ee,ne)}function zs(ee){return"["+Go.contextId+'="'+ee+'"]'}function js(ee,ne){var oe=ne.target;if(!Ts(oe))return null;var de=zs(ee),Se=Zs(oe,de);return!Se||!Uo(Se)?null:Se}function Gs(ee,ne){var oe=js(ee,ne);return oe?oe.getAttribute(Go.draggableId):null}function Hs(ee,ne){var oe="["+Jo.contextId+'="'+ee+'"]',de=xo(document.querySelectorAll(oe)),Se=Po(de,function(Pe){return Pe.getAttribute(Jo.id)===ne});return!Se||!Uo(Se)?null:Se}function Ws(ee){ee.preventDefault()}function ku(ee){var ne=ee.expected,oe=ee.phase,de=ee.isLockActive,Se=ee.shouldWarn;return!(!de()||ne!==oe)}function fs(ee){var ne=ee.lockAPI,oe=ee.store,de=ee.registry,Se=ee.draggableId;if(ne.isClaimed())return!1;var Pe=de.draggable.findById(Se);return!(!Pe||!Pe.options.isEnabled||!Ar(oe.getState(),Se))}function Ks(ee){var ne=ee.lockAPI,oe=ee.contextId,de=ee.store,Se=ee.registry,Pe=ee.draggableId,xe=ee.forceSensorStop,Oe=ee.sourceEvent,rt=fs({lockAPI:ne,store:de,registry:Se,draggableId:Pe});if(!rt)return null;var Et=Se.draggable.getById(Pe),St=Hs(oe,Et.descriptor.id);if(!St||Oe&&!Et.options.canDragInteractiveElements&&_s(St,Oe))return null;var st=ne.claim(xe||Ra),dt="PRE_DRAG";function Lt(){return Et.options.shouldRespectForcePress}function gn(){return ne.isActive(st)}function ua(Or,io){ku({expected:Or,phase:dt,isLockActive:gn,shouldWarn:!0})&&de.dispatch(io())}var ma=ua.bind(null,"DRAGGING");function Sa(Or){function io(){ne.release(),dt="COMPLETED"}dt!=="PRE_DRAG"&&(io(),dt!=="PRE_DRAG"&&sn(!1)),de.dispatch(ba(Or.liftActionArgs)),dt="DRAGGING";function ii(ho,li){if(li===void 0&&(li={shouldBlockNextClick:!1}),Or.cleanup(),li.shouldBlockNextClick){var Ai=pa(window,[{eventName:"click",fn:Ws,options:{once:!0,passive:!1,capture:!0}}]);setTimeout(Ai)}io(),de.dispatch(gl({reason:ho}))}return(0,Ae.Z)({isActive:function(){return ku({expected:"DRAGGING",phase:dt,isLockActive:gn,shouldWarn:!1})},shouldRespectForcePress:Lt,drop:function(li){return ii("DROP",li)},cancel:function(li){return ii("CANCEL",li)}},Or.actions)}function _a(Or){var io=mn(function(ho){ma(function(){return Fo({client:ho})})}),ii=Sa({liftActionArgs:{id:Pe,clientSelection:Or,movementMode:"FLUID"},cleanup:function(){return io.cancel()},actions:{move:io}});return(0,Ae.Z)({},ii,{move:io})}function Va(){var Or={moveUp:function(){return ma(mi)},moveRight:function(){return ma(Lr)},moveDown:function(){return ma(fi)},moveLeft:function(){return ma(Co)}};return Sa({liftActionArgs:{id:Pe,clientSelection:Ms(St),movementMode:"SNAP"},cleanup:Ra,actions:Or})}function ar(){var Or=ku({expected:"PRE_DRAG",phase:dt,isLockActive:gn,shouldWarn:!0});Or&&ne.release()}var jr={isActive:function(){return ku({expected:"PRE_DRAG",phase:dt,isLockActive:gn,shouldWarn:!1})},shouldRespectForcePress:Lt,fluidLift:_a,snapLift:Va,abort:ar};return jr}var Us=[qu,El,Os];function Vs(ee){var ne=ee.contextId,oe=ee.store,de=ee.registry,Se=ee.customSensors,Pe=ee.enableDefaultSensors,xe=[].concat(Pe?Us:[],Se||[]),Oe=(0,b.useState)(function(){return iu()})[0],rt=wt(function(_a,Va){_a.isDragging&&!Va.isDragging&&Oe.tryAbandon()},[Oe]);Pi(function(){var _a=oe.getState(),Va=oe.subscribe(function(){var ar=oe.getState();rt(_a,ar),_a=ar});return Va},[Oe,oe,rt]),Pi(function(){return Oe.tryAbandon},[Oe.tryAbandon]);var Et=wt(function(Sa){return fs({lockAPI:Oe,registry:de,store:oe,draggableId:Sa})},[Oe,de,oe]),St=wt(function(Sa,_a,Va){return Ks({lockAPI:Oe,registry:de,contextId:ne,store:oe,draggableId:Sa,forceSensorStop:_a,sourceEvent:Va&&Va.sourceEvent?Va.sourceEvent:null})},[ne,Oe,de,oe]),st=wt(function(Sa){return Gs(ne,Sa)},[ne]),dt=wt(function(Sa){var _a=de.draggable.findById(Sa);return _a?_a.options:null},[de.draggable]),Lt=wt(function(){Oe.isClaimed()&&(Oe.tryAbandon(),oe.getState().phase!=="IDLE"&&oe.dispatch(po()))},[Oe,oe]),gn=wt(Oe.isClaimed,[Oe]),ua=Zt(function(){return{canGetLock:Et,tryGetLock:St,findClosestDraggableId:st,findOptionsForDraggable:dt,tryReleaseLock:Lt,isLockClaimed:gn}},[Et,St,st,dt,Lt,gn]);Ns(xe);for(var ma=0;ma<xe.length;ma++)xe[ma](ua)}var Qs=function(ne){return{onBeforeCapture:ne.onBeforeCapture,onBeforeDragStart:ne.onBeforeDragStart,onDragStart:ne.onDragStart,onDragEnd:ne.onDragEnd,onDragUpdate:ne.onDragUpdate}};function xu(ee){return ee.current||sn(!1),ee.current}function Js(ee){var ne=ee.contextId,oe=ee.setCallbacks,de=ee.sensors,Se=ee.nonce,Pe=ee.dragHandleUsageInstructions,xe=(0,b.useRef)(null);Qu();var Oe=ou(ee),rt=wt(function(){return Qs(Oe.current)},[Oe]),Et=No(ne),St=ml({contextId:ne,text:Pe}),st=Ii(ne,Se),dt=wt(function(ho){xu(xe).dispatch(ho)},[]),Lt=Zt(function(){return(0,Ie.DE)({publishWhileDragging:fa,updateDroppableScroll:va,updateDroppableIsEnabled:Ir,updateDroppableIsCombineEnabled:lo,collectionStarting:ra},dt)},[dt]),gn=hl(),ua=Zt(function(){return tr(gn,Lt)},[gn,Lt]),ma=Zt(function(){return vo((0,Ae.Z)({scrollWindow:Zr,scrollDroppable:ua.scrollDroppable},(0,Ie.DE)({move:Fo},dt)))},[ua.scrollDroppable,dt]),Sa=cl(ne),_a=Zt(function(){return Sr({announce:Et,autoScroller:ma,dimensionMarshal:ua,focusMarshal:Sa,getResponders:rt,styleMarshal:st})},[Et,ma,ua,Sa,rt,st]);xe.current=_a;var Va=wt(function(){var ho=xu(xe),li=ho.getState();li.phase!=="IDLE"&&ho.dispatch(po())},[]),ar=wt(function(){var ho=xu(xe).getState();return ho.isDragging||ho.phase==="DROP_ANIMATING"},[]),jr=Zt(function(){return{isDragging:ar,tryAbort:Va}},[ar,Va]);oe(jr);var Or=wt(function(ho){return Ar(xu(xe).getState(),ho)},[]),io=wt(function(){return Ia(xu(xe).getState())},[]),ii=Zt(function(){return{marshal:ua,focus:Sa,contextId:ne,canLift:Or,isMovementAllowed:io,dragHandleUsageInstructionsId:St,registry:gn}},[ne,ua,St,Sa,Or,io,gn]);return Vs({contextId:ne,store:_a,registry:gn,customSensors:de,enableDefaultSensors:ee.enableDefaultSensors!==!1}),(0,b.useEffect)(function(){return Va},[Va]),b.createElement(Ql.Provider,{value:ii},b.createElement(x,{context:Qi,store:_a},ee.children))}var ps=0;function $s(){ps=0}function Ys(){return Zt(function(){return""+ps++},[])}function $d(){$s(),yi()}function Xs(ee){var ne=Ys(),oe=ee.dragHandleUsageInstructions||Mn.dragHandleUsageInstructions;return b.createElement(Dr,null,function(de){return b.createElement(Js,{nonce:ee.nonce,contextId:ne,setCallbacks:de,dragHandleUsageInstructions:oe,enableDefaultSensors:ee.enableDefaultSensors,sensors:ee.sensors,onBeforeCapture:ee.onBeforeCapture,onBeforeDragStart:ee.onBeforeDragStart,onDragStart:ee.onDragStart,onDragUpdate:ee.onDragUpdate,onDragEnd:ee.onDragEnd},ee.children)})}var es=function(ne){return function(oe){return ne===oe}},qs=es("scroll"),ed=es("auto"),td=es("visible"),vs=function(ne,oe){return oe(ne.overflowX)||oe(ne.overflowY)},nd=function(ne,oe){return oe(ne.overflowX)&&oe(ne.overflowY)},hs=function(ne){var oe=window.getComputedStyle(ne),de={overflowX:oe.overflowX,overflowY:oe.overflowY};return vs(de,qs)||vs(de,ed)},ad=function(){return!1;var ne,oe,de,Se},Ss=function ee(ne){return ne==null?null:ne===document.body?ad()?ne:null:ne===document.documentElement?null:hs(ne)?ne:ee(ne.parentElement)},Yd=function(ee){if(ee)var ne=Ss(ee.parentElement)},ts=function(ee){return{x:ee.scrollLeft,y:ee.scrollTop}},rd=function ee(ne){if(!ne)return!1;var oe=window.getComputedStyle(ne);return oe.position==="fixed"?!0:ee(ne.parentElement)},od=function(ee){var ne=Ss(ee),oe=rd(ee);return{closestScrollable:ne,isFixedOnPage:oe}},id=function(ee){var ne=ee.descriptor,oe=ee.isEnabled,de=ee.isCombineEnabled,Se=ee.isFixedOnPage,Pe=ee.direction,xe=ee.client,Oe=ee.page,rt=ee.closest,Et=function(){if(!rt)return null;var Lt=rt.scrollSize,gn=rt.client,ua=Da({scrollHeight:Lt.scrollHeight,scrollWidth:Lt.scrollWidth,height:gn.paddingBox.height,width:gn.paddingBox.width});return{pageMarginBox:rt.page.marginBox,frameClient:gn,scrollSize:Lt,shouldClipSubject:rt.shouldClipSubject,scroll:{initial:rt.scroll,current:rt.scroll,max:ua,diff:{value:Mr,displacement:Mr}}}}(),St=Pe==="vertical"?$i:Yi,st=So({page:Oe,withPlaceholder:null,axis:St,frame:Et}),dt={descriptor:ne,isCombineEnabled:de,isFixedOnPage:Se,axis:St,isEnabled:oe,client:xe,page:Oe,frame:Et,subject:st};return dt},ld=function(ne,oe){var de=Oa(ne);if(!oe||ne!==oe)return de;var Se=de.paddingBox.top-oe.scrollTop,Pe=de.paddingBox.left-oe.scrollLeft,xe=Se+oe.scrollHeight,Oe=Pe+oe.scrollWidth,rt={top:Se,right:Oe,bottom:xe,left:Pe},Et=xa(rt,de.border),St=Zn({borderBox:Et,margin:de.margin,border:de.border,padding:de.padding});return St},ud=function(ee){var ne=ee.ref,oe=ee.descriptor,de=ee.env,Se=ee.windowScroll,Pe=ee.direction,xe=ee.isDropDisabled,Oe=ee.isCombineEnabled,rt=ee.shouldClipSubject,Et=de.closestScrollable,St=ld(ne,Et),st=ta(St,Se),dt=function(){if(!Et)return null;var gn=Oa(Et),ua={scrollHeight:Et.scrollHeight,scrollWidth:Et.scrollWidth};return{client:gn,page:ta(gn,Se),scroll:ts(Et),scrollSize:ua,shouldClipSubject:rt}}(),Lt=id({descriptor:oe,isEnabled:!xe,isCombineEnabled:Oe,isFixedOnPage:de.isFixedOnPage,direction:Pe,client:St,page:st,closest:dt});return Lt},sd={passive:!1},dd={passive:!0},Ps=function(ee){return ee.shouldPublishImmediately?sd:dd};function Zu(ee){var ne=(0,b.useContext)(ee);return ne||sn(!1),ne}var zu=function(ne){return ne&&ne.env.closestScrollable||null};function cd(ee){var ne=(0,b.useRef)(null),oe=Zu(Ql),de=bi("droppable"),Se=oe.registry,Pe=oe.marshal,xe=ou(ee),Oe=Zt(function(){return{id:ee.droppableId,type:ee.type,mode:ee.mode}},[ee.droppableId,ee.mode,ee.type]),rt=(0,b.useRef)(Oe),Et=Zt(function(){return tn(function(ar,jr){ne.current||sn(!1);var Or={x:ar,y:jr};Pe.updateDroppableScroll(Oe.id,Or)})},[Oe.id,Pe]),St=wt(function(){var ar=ne.current;return!ar||!ar.env.closestScrollable?Mr:ts(ar.env.closestScrollable)},[]),st=wt(function(){var ar=St();Et(ar.x,ar.y)},[St,Et]),dt=Zt(function(){return mn(st)},[st]),Lt=wt(function(){var ar=ne.current,jr=zu(ar);ar&&jr||sn(!1);var Or=ar.scrollOptions;if(Or.shouldPublishImmediately){st();return}dt()},[dt,st]),gn=wt(function(ar,jr){ne.current&&sn(!1);var Or=xe.current,io=Or.getDroppableRef();io||sn(!1);var ii=od(io),ho={ref:io,descriptor:Oe,env:ii,scrollOptions:jr};ne.current=ho;var li=ud({ref:io,descriptor:Oe,env:ii,windowScroll:ar,direction:Or.direction,isDropDisabled:Or.isDropDisabled,isCombineEnabled:Or.isCombineEnabled,shouldClipSubject:!Or.ignoreContainerClipping}),Ai=ii.closestScrollable;return Ai&&(Ai.setAttribute(hi.contextId,oe.contextId),Ai.addEventListener("scroll",Lt,Ps(ho.scrollOptions))),li},[oe.contextId,Oe,Lt,xe]),ua=wt(function(){var ar=ne.current,jr=zu(ar);return ar&&jr||sn(!1),ts(jr)},[]),ma=wt(function(){var ar=ne.current;ar||sn(!1);var jr=zu(ar);ne.current=null,jr&&(dt.cancel(),jr.removeAttribute(hi.contextId),jr.removeEventListener("scroll",Lt,Ps(ar.scrollOptions)))},[Lt,dt]),Sa=wt(function(ar){var jr=ne.current;jr||sn(!1);var Or=zu(jr);Or||sn(!1),Or.scrollTop+=ar.y,Or.scrollLeft+=ar.x},[]),_a=Zt(function(){return{getDimensionAndWatchScroll:gn,getScrollWhileDragging:ua,dragStopped:ma,scroll:Sa}},[ma,gn,ua,Sa]),Va=Zt(function(){return{uniqueId:de,descriptor:Oe,callbacks:_a}},[_a,Oe,de]);Pi(function(){return rt.current=Va.descriptor,Se.droppable.register(Va),function(){ne.current&&ma(),Se.droppable.unregister(Va)}},[_a,Oe,ma,Va,Pe,Se.droppable]),Pi(function(){ne.current&&Pe.updateDroppableIsEnabled(rt.current.id,!ee.isDropDisabled)},[ee.isDropDisabled,Pe]),Pi(function(){ne.current&&Pe.updateDroppableIsCombineEnabled(rt.current.id,ee.isCombineEnabled)},[ee.isCombineEnabled,Pe])}function ns(){}var Es={width:0,height:0,margin:co},gd=function(ne){var oe=ne.isAnimatingOpenOnMount,de=ne.placeholder,Se=ne.animate;return oe||Se==="close"?Es:{height:de.client.borderBox.height,width:de.client.borderBox.width,margin:de.client.margin}},md=function(ne){var oe=ne.isAnimatingOpenOnMount,de=ne.placeholder,Se=ne.animate,Pe=gd({isAnimatingOpenOnMount:oe,placeholder:de,animate:Se});return{display:de.display,boxSizing:"border-box",width:Pe.width,height:Pe.height,marginTop:Pe.margin.top,marginRight:Pe.margin.right,marginBottom:Pe.margin.bottom,marginLeft:Pe.margin.left,flexShrink:"0",flexGrow:"0",pointerEvents:"none",transition:Se!=="none"?kl.placeholder:null}};function fd(ee){var ne=(0,b.useRef)(null),oe=wt(function(){ne.current&&(clearTimeout(ne.current),ne.current=null)},[]),de=ee.animate,Se=ee.onTransitionEnd,Pe=ee.onClose,xe=ee.contextId,Oe=(0,b.useState)(ee.animate==="open"),rt=Oe[0],Et=Oe[1];(0,b.useEffect)(function(){return rt?de!=="open"?(oe(),Et(!1),ns):ne.current?ns:(ne.current=setTimeout(function(){ne.current=null,Et(!1)}),oe):ns},[de,rt,oe]);var St=wt(function(dt){dt.propertyName==="height"&&(Se(),de==="close"&&Pe())},[de,Pe,Se]),st=md({isAnimatingOpenOnMount:rt,animate:ee.animate,placeholder:ee.placeholder});return b.createElement(ee.placeholder.tagName,{style:st,"data-rbd-placeholder-context-id":xe,onTransitionEnd:St,ref:ee.innerRef})}var pd=b.memo(fd),as=b.createContext(null);function ys(ee){ee&&Uo(ee)||sn(!1)}function rs(ee){return typeof ee=="boolean"}function os(ee,ne){ne.forEach(function(oe){return oe(ee)})}var vd=[function(ne){var oe=ne.props;oe.droppableId||sn(!1),typeof oe.droppableId!="string"&&sn(!1)},function(ne){var oe=ne.props;rs(oe.isDropDisabled)||sn(!1),rs(oe.isCombineEnabled)||sn(!1),rs(oe.ignoreContainerClipping)||sn(!1)},function(ne){var oe=ne.getDroppableRef;ys(oe())}],hd=[function(ne){var oe=ne.props,de=ne.getPlaceholderRef;if(oe.placeholder)var Se=de()}],Sd=[function(ne){var oe=ne.props;oe.renderClone||sn(!1)},function(ne){var oe=ne.getPlaceholderRef;oe()&&sn(!1)}];function Pd(ee){Zl(function(){os(ee,vd),ee.props.mode==="standard"&&os(ee,hd),ee.props.mode==="virtual"&&os(ee,Sd)})}var Ed=function(ee){be(ne,ee);function ne(){for(var de,Se=arguments.length,Pe=new Array(Se),xe=0;xe<Se;xe++)Pe[xe]=arguments[xe];return de=ee.call.apply(ee,[this].concat(Pe))||this,de.state={isVisible:!!de.props.on,data:de.props.on,animate:de.props.shouldAnimate&&de.props.on?"open":"none"},de.onClose=function(){de.state.animate==="close"&&de.setState({isVisible:!1})},de}ne.getDerivedStateFromProps=function(Se,Pe){return Se.shouldAnimate?Se.on?{isVisible:!0,data:Se.on,animate:"open"}:Pe.isVisible?{isVisible:!0,data:Pe.data,animate:"close"}:{isVisible:!1,animate:"close",data:null}:{isVisible:!!Se.on,data:Se.on,animate:"none"}};var oe=ne.prototype;return oe.render=function(){if(!this.state.isVisible)return null;var Se={onClose:this.onClose,data:this.state.data,animate:this.state.animate};return this.props.children(Se)},ne}(b.PureComponent),bs={dragging:5e3,dropAnimating:4500},yd=function(ne,oe){return oe?kl.drop(oe.duration):ne?kl.snap:kl.fluid},bd=function(ne,oe){return ne?oe?Il.opacity.drop:Il.opacity.combining:null},Cd=function(ne){return ne.forceShouldAnimate!=null?ne.forceShouldAnimate:ne.mode==="SNAP"};function xd(ee){var ne=ee.dimension,oe=ne.client,de=ee.offset,Se=ee.combineWith,Pe=ee.dropping,xe=!!Se,Oe=Cd(ee),rt=!!Pe,Et=rt?Kl.drop(de,xe):Kl.moveTo(de),St={position:"fixed",top:oe.marginBox.top,left:oe.marginBox.left,boxSizing:"border-box",width:oe.borderBox.width,height:oe.borderBox.height,transition:yd(Oe,Pe),transform:Et,opacity:bd(xe,rt),zIndex:rt?bs.dropAnimating:bs.dragging,pointerEvents:"none"};return St}function Bd(ee){return{transform:Kl.moveTo(ee.offset),transition:ee.shouldAnimateDisplacement?null:"none"}}function Fd(ee){return ee.type==="DRAGGING"?xd(ee):Bd(ee)}function wd(ee,ne,oe){oe===void 0&&(oe=Mr);var de=window.getComputedStyle(ne),Se=ne.getBoundingClientRect(),Pe=En(Se,de),xe=ta(Pe,oe),Oe={client:Pe,tagName:ne.tagName.toLowerCase(),display:de.display},rt={x:Pe.marginBox.width,y:Pe.marginBox.height},Et={descriptor:ee,placeholder:Oe,displaceBy:rt,client:Pe,page:xe};return Et}function Ad(ee){var ne=bi("draggable"),oe=ee.descriptor,de=ee.registry,Se=ee.getDraggableRef,Pe=ee.canDragInteractiveElements,xe=ee.shouldRespectForcePress,Oe=ee.isEnabled,rt=Zt(function(){return{canDragInteractiveElements:Pe,shouldRespectForcePress:xe,isEnabled:Oe}},[Pe,Oe,xe]),Et=wt(function(Lt){var gn=Se();return gn||sn(!1),wd(oe,gn,Lt)},[oe,Se]),St=Zt(function(){return{uniqueId:ne,descriptor:oe,options:rt,getDimension:Et}},[oe,Et,rt,ne]),st=(0,b.useRef)(St),dt=(0,b.useRef)(!0);Pi(function(){return de.draggable.register(st.current),function(){return de.draggable.unregister(st.current)}},[de.draggable]),Pi(function(){if(dt.current){dt.current=!1;return}var Lt=st.current;st.current=St,de.draggable.update(St,Lt)},[St,de.draggable])}function Dd(ee,ne,oe){Zl(function(){function de(Pe){return"Draggable[id: "+Pe+"]: "}var Se=ee.draggableId;Se||sn(!1),typeof Se!="string"&&sn(!1),eo(ee.index)||sn(!1),ee.mapped.type!=="DRAGGING"&&(ys(oe()),ee.isEnabled&&(Zo(ne,Se)||sn(!1)))})}function Id(ee){}function Ld(ee){ee.preventDefault()}function Od(ee){var ne=(0,b.useRef)(null),oe=wt(function(ho){ne.current=ho},[]),de=wt(function(){return ne.current},[]),Se=Zu(Ql),Pe=Se.contextId,xe=Se.dragHandleUsageInstructionsId,Oe=Se.registry,rt=Zu(as),Et=rt.type,St=rt.droppableId,st=Zt(function(){return{id:ee.draggableId,index:ee.index,type:Et,droppableId:St}},[ee.draggableId,ee.index,Et,St]),dt=ee.children,Lt=ee.draggableId,gn=ee.isEnabled,ua=ee.shouldRespectForcePress,ma=ee.canDragInteractiveElements,Sa=ee.isClone,_a=ee.mapped,Va=ee.dropAnimationFinished;if(Dd(ee,Pe,de),Id(Sa),!Sa){var ar=Zt(function(){return{descriptor:st,registry:Oe,getDraggableRef:de,canDragInteractiveElements:ma,shouldRespectForcePress:ua,isEnabled:gn}},[st,Oe,de,ma,ua,gn]);Ad(ar)}var jr=Zt(function(){return gn?{tabIndex:0,role:"button","aria-describedby":xe,"data-rbd-drag-handle-draggable-id":Lt,"data-rbd-drag-handle-context-id":Pe,draggable:!1,onDragStart:Ld}:null},[Pe,xe,Lt,gn]),Or=wt(function(ho){_a.type==="DRAGGING"&&_a.dropping&&ho.propertyName==="transform"&&Va()},[Va,_a]),io=Zt(function(){var ho=Fd(_a),li=_a.type==="DRAGGING"&&_a.dropping?Or:null,Ai={innerRef:oe,draggableProps:{"data-rbd-draggable-context-id":Pe,"data-rbd-draggable-id":Lt,style:ho,onTransitionEnd:li},dragHandleProps:jr};return Ai},[Pe,jr,Lt,_a,Or,oe]),ii=Zt(function(){return{draggableId:st.id,type:st.type,source:{index:st.index,droppableId:st.droppableId}}},[st.droppableId,st.id,st.index,st.type]);return dt(io,_a.snapshot,ii)}var Cs=function(ee,ne){return ee===ne},xs=function(ee){var ne=ee.combine,oe=ee.destination;return oe?oe.droppableId:ne?ne.droppableId:null},Nd=function(ne){return ne.combine?ne.combine.draggableId:null},Rd=function(ne){return ne.at&&ne.at.type==="COMBINE"?ne.at.combine.draggableId:null};function _d(){var ee=tn(function(Se,Pe){return{x:Se,y:Pe}}),ne=tn(function(Se,Pe,xe,Oe,rt){return{isDragging:!0,isClone:Pe,isDropAnimating:!!rt,dropAnimation:rt,mode:Se,draggingOver:xe,combineWith:Oe,combineTargetFor:null}}),oe=tn(function(Se,Pe,xe,Oe,rt,Et,St){return{mapped:{type:"DRAGGING",dropping:null,draggingOver:rt,combineWith:Et,mode:Pe,offset:Se,dimension:xe,forceShouldAnimate:St,snapshot:ne(Pe,Oe,rt,Et,null)}}}),de=function(Pe,xe){if(Pe.isDragging){if(Pe.critical.draggable.id!==xe.draggableId)return null;var Oe=Pe.current.client.offset,rt=Pe.dimensions.draggables[xe.draggableId],Et=Qa(Pe.impact),St=Rd(Pe.impact),st=Pe.forceShouldAnimate;return oe(ee(Oe.x,Oe.y),Pe.movementMode,rt,xe.isClone,Et,St,st)}if(Pe.phase==="DROP_ANIMATING"){var dt=Pe.completed;if(dt.result.draggableId!==xe.draggableId)return null;var Lt=xe.isClone,gn=Pe.dimensions.draggables[xe.draggableId],ua=dt.result,ma=ua.mode,Sa=xs(ua),_a=Nd(ua),Va=Pe.dropDuration,ar={duration:Va,curve:Dl.drop,moveTo:Pe.newHomeClientOffset,opacity:_a?Il.opacity.drop:null,scale:_a?Il.scale.drop:null};return{mapped:{type:"DRAGGING",offset:Pe.newHomeClientOffset,dimension:gn,dropping:ar,draggingOver:Sa,combineWith:_a,mode:ma,forceShouldAnimate:null,snapshot:ne(ma,Lt,Sa,_a,ar)}}}return null};return de}function Bs(ee){return{isDragging:!1,isDropAnimating:!1,isClone:!1,dropAnimation:null,mode:null,draggingOver:null,combineTargetFor:ee,combineWith:null}}var Md={mapped:{type:"SECONDARY",offset:Mr,combineTargetFor:null,shouldAnimateDisplacement:!0,snapshot:Bs(null)}};function Td(){var ee=tn(function(xe,Oe){return{x:xe,y:Oe}}),ne=tn(Bs),oe=tn(function(xe,Oe,rt){return Oe===void 0&&(Oe=null),{mapped:{type:"SECONDARY",offset:xe,combineTargetFor:Oe,shouldAnimateDisplacement:rt,snapshot:ne(Oe)}}}),de=function(Oe){return Oe?oe(Mr,Oe,!0):null},Se=function(Oe,rt,Et,St){var st=Et.displaced.visible[Oe],dt=!!(St.inVirtualList&&St.effected[Oe]),Lt=xi(Et),gn=Lt&&Lt.draggableId===Oe?rt:null;if(!st){if(!dt)return de(gn);if(Et.displaced.invisible[Oe])return null;var ua=$n(St.displacedBy.point),ma=ee(ua.x,ua.y);return oe(ma,gn,!0)}if(dt)return de(gn);var Sa=Et.displacedBy.point,_a=ee(Sa.x,Sa.y);return oe(_a,gn,st.shouldAnimate)},Pe=function(Oe,rt){if(Oe.isDragging)return Oe.critical.draggable.id===rt.draggableId?null:Se(rt.draggableId,Oe.critical.draggable.id,Oe.impact,Oe.afterCritical);if(Oe.phase==="DROP_ANIMATING"){var Et=Oe.completed;return Et.result.draggableId===rt.draggableId?null:Se(rt.draggableId,Et.result.draggableId,Et.impact,Et.afterCritical)}return null};return Pe}var kd=function(){var ne=_d(),oe=Td(),de=function(Pe,xe){return ne(Pe,xe)||oe(Pe,xe)||Md};return de},Zd={dropAnimationFinished:Al},zd=we(kd,Zd,null,{context:Qi,pure:!0,areStatePropsEqual:Cs})(Od);function Fs(ee){var ne=Zu(as),oe=ne.isUsingCloneFor;return oe===ee.draggableId&&!ee.isClone?null:b.createElement(zd,ee)}function jd(ee){var ne=typeof ee.isDragDisabled=="boolean"?!ee.isDragDisabled:!0,oe=!!ee.disableInteractiveElementBlocking,de=!!ee.shouldRespectForcePress;return b.createElement(Fs,(0,Ae.Z)({},ee,{isClone:!1,isEnabled:ne,canDragInteractiveElements:oe,shouldRespectForcePress:de}))}function Gd(ee){var ne=(0,b.useContext)(Ql);ne||sn(!1);var oe=ne.contextId,de=ne.isMovementAllowed,Se=(0,b.useRef)(null),Pe=(0,b.useRef)(null),xe=ee.children,Oe=ee.droppableId,rt=ee.type,Et=ee.mode,St=ee.direction,st=ee.ignoreContainerClipping,dt=ee.isDropDisabled,Lt=ee.isCombineEnabled,gn=ee.snapshot,ua=ee.useClone,ma=ee.updateViewportMaxScroll,Sa=ee.getContainerForClone,_a=wt(function(){return Se.current},[]),Va=wt(function(Oi){Se.current=Oi},[]),ar=wt(function(){return Pe.current},[]),jr=wt(function(Oi){Pe.current=Oi},[]);Pd({props:ee,getDroppableRef:_a,getPlaceholderRef:ar});var Or=wt(function(){de()&&ma({maxScroll:La()})},[de,ma]);cd({droppableId:Oe,type:rt,mode:Et,direction:St,isDropDisabled:dt,isCombineEnabled:Lt,ignoreContainerClipping:st,getDroppableRef:_a});var io=b.createElement(Ed,{on:ee.placeholder,shouldAnimate:ee.shouldAnimatePlaceholder},function(Oi){var yl=Oi.onClose,fl=Oi.data,rl=Oi.animate;return b.createElement(pd,{placeholder:fl,onClose:yl,innerRef:jr,animate:rl,contextId:oe,onTransitionEnd:Or})}),ii=Zt(function(){return{innerRef:Va,placeholder:io,droppableProps:{"data-rbd-droppable-id":Oe,"data-rbd-droppable-context-id":oe}}},[oe,Oe,io,Va]),ho=ua?ua.dragging.draggableId:null,li=Zt(function(){return{droppableId:Oe,type:rt,isUsingCloneFor:ho}},[Oe,ho,rt]);function Ai(){if(!ua)return null;var Oi=ua.dragging,yl=ua.render,fl=b.createElement(Fs,{draggableId:Oi.draggableId,index:Oi.source.index,isClone:!0,isEnabled:!0,shouldRespectForcePress:!1,canDragInteractiveElements:!0},function(rl,bl){return yl(rl,bl,Oi)});return nn.createPortal(fl,Sa())}return b.createElement(as.Provider,{value:li},xe(ii,gn),Ai())}var is=function(ne,oe){return ne===oe.droppable.type},ws=function(ne,oe){return oe.draggables[ne.draggable.id]},Hd=function(){var ne={placeholder:null,shouldAnimatePlaceholder:!0,snapshot:{isDraggingOver:!1,draggingOverWith:null,draggingFromThisWith:null,isUsingPlaceholder:!1},useClone:null},oe=(0,Ae.Z)({},ne,{shouldAnimatePlaceholder:!1}),de=tn(function(xe){return{draggableId:xe.id,type:xe.type,source:{index:xe.index,droppableId:xe.droppableId}}}),Se=tn(function(xe,Oe,rt,Et,St,st){var dt=St.descriptor.id,Lt=St.descriptor.droppableId===xe;if(Lt){var gn=st?{render:st,dragging:de(St.descriptor)}:null,ua={isDraggingOver:rt,draggingOverWith:rt?dt:null,draggingFromThisWith:dt,isUsingPlaceholder:!0};return{placeholder:St.placeholder,shouldAnimatePlaceholder:!1,snapshot:ua,useClone:gn}}if(!Oe)return oe;if(!Et)return ne;var ma={isDraggingOver:rt,draggingOverWith:dt,draggingFromThisWith:null,isUsingPlaceholder:!0};return{placeholder:St.placeholder,shouldAnimatePlaceholder:!0,snapshot:ma,useClone:null}}),Pe=function(Oe,rt){var Et=rt.droppableId,St=rt.type,st=!rt.isDropDisabled,dt=rt.renderClone;if(Oe.isDragging){var Lt=Oe.critical;if(!is(St,Lt))return oe;var gn=ws(Lt,Oe.dimensions),ua=Qa(Oe.impact)===Et;return Se(Et,st,ua,ua,gn,dt)}if(Oe.phase==="DROP_ANIMATING"){var ma=Oe.completed;if(!is(St,ma.critical))return oe;var Sa=ws(ma.critical,Oe.dimensions);return Se(Et,st,xs(ma.result)===Et,Qa(ma.impact)===Et,Sa,dt)}if(Oe.phase==="IDLE"&&Oe.completed&&!Oe.shouldFlush){var _a=Oe.completed;if(!is(St,_a.critical))return oe;var Va=Qa(_a.impact)===Et,ar=!!(_a.impact.at&&_a.impact.at.type==="COMBINE"),jr=_a.critical.droppable.id===Et;return Va?ar?ne:oe:jr?ne:oe}return oe};return Pe},Wd={updateViewportMaxScroll:er};function Kd(){return document.body||sn(!1),document.body}var Ud={mode:"standard",type:"DEFAULT",direction:"vertical",isDropDisabled:!1,isCombineEnabled:!1,ignoreContainerClipping:!1,renderClone:null,getContainerForClone:Kd},As=we(Hd,Wd,null,{context:Qi,pure:!0,areStatePropsEqual:Cs})(Gd);As.defaultProps=Ud},38486:function(_t,Rt){"use strict";var ae;var b=60103,se=60106,be=60107,Ae=60108,Ie=60114,Re=60109,ue=60110,Ze=60112,We=60113,Te=60120,ke=60115,je=60116,De=60121,le=60122,E=60117,a=60129,x=60131;if(typeof Symbol=="function"&&Symbol.for){var y=Symbol.for;b=y("react.element"),se=y("react.portal"),be=y("react.fragment"),Ae=y("react.strict_mode"),Ie=y("react.profiler"),Re=y("react.provider"),ue=y("react.context"),Ze=y("react.forward_ref"),We=y("react.suspense"),Te=y("react.suspense_list"),ke=y("react.memo"),je=y("react.lazy"),De=y("react.block"),le=y("react.server.block"),E=y("react.fundamental"),a=y("react.debug_trace_mode"),x=y("react.legacy_hidden")}function z($e){if(typeof $e=="object"&&$e!==null){var He=$e.$$typeof;switch(He){case b:switch($e=$e.type,$e){case be:case Ie:case Ae:case We:case Te:return $e;default:switch($e=$e&&$e.$$typeof,$e){case ue:case Ze:case je:case ke:case Re:return $e;default:return He}}case se:return He}}}var te=Re,re=b,ie=Ze,ce=be,pe=je,ge=ke,ye=se,Ee=Ie,Le=Ae,ve=We;ae=ue,ae=te,ae=re,ae=ie,ae=ce,ae=pe,ae=ge,ae=ye,ae=Ee,ae=Le,ae=ve,ae=function(){return!1},ae=function(){return!1},Rt.isContextConsumer=function($e){return z($e)===ue},ae=function($e){return z($e)===Re},ae=function($e){return typeof $e=="object"&&$e!==null&&$e.$$typeof===b},ae=function($e){return z($e)===Ze},ae=function($e){return z($e)===be},ae=function($e){return z($e)===je},ae=function($e){return z($e)===ke},ae=function($e){return z($e)===se},ae=function($e){return z($e)===Ie},ae=function($e){return z($e)===Ae},ae=function($e){return z($e)===We},ae=function($e){return typeof $e=="string"||typeof $e=="function"||$e===be||$e===Ie||$e===a||$e===Ae||$e===We||$e===Te||$e===x||typeof $e=="object"&&$e!==null&&($e.$$typeof===je||$e.$$typeof===ke||$e.$$typeof===Re||$e.$$typeof===ue||$e.$$typeof===Ze||$e.$$typeof===E||$e.$$typeof===De||$e[0]===le)},ae=z},53410:function(_t,Rt,ae){"use strict";_t.exports=ae(38486)},32637:function(_t,Rt,ae){"use strict";_t.exports=ae.p+"static/AssistantCode3.a8740efb.jpeg"},73631:function(_t){"use strict";_t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAAXNSR0IArs4c6QAAAZxJREFUOBGtlL1Ow0AMgH2XUIkOLFXVASgTsDHxBIAEzAwMPBQjT8AATGVBgEBCYmHmFcICYmBogCbNYSe52HUTVZWwFJ3PP599Z+WMcy6Af5SwYkWnLYifTyBzq5XNK8YNwbbvYP381ZuaVlN1+HJwAc4d1QYaA+gDsHYANrhGHTdCMtSDMILtwSMDn7ZiANPKwyjeQ0Reo4r1gEoEwRkDb7spdPcBeocMk1Cv00oii5L+fgPwcR/zHfb3AJY2sEpUVLOUhB/l+w7I1iS9TYDFrM3AzhqGDstPZ3li2Z12U2WLvk4fGJh+F0elYN8ZrbWiA7igAP4WR6sFzDAKPgPHP0VnlMsFS5IyyIGoeAamCKybYI5UQLWVE2fgGI/s72wqQXRd9jyxiHgGJtihFxGQm8Qd5XvtF3fEQOrQH9mDm1Z9hyJuEphXIq9uSWSQqv8a4RbAUTFdcs7gifwplYGjT3wzbPFz6Q70EZv8WZoxMP66ApMc86inirNBA8njcFIuvOTXhowPyzuQJiukzi3hQgS7b+I9nJtQn/AHsLGsvlcPPWsAAAAASUVORK5CYII="},31328:function(_t){"use strict";_t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAAXNSR0IArs4c6QAAAodJREFUOBGtU0trFEEQ/qZnM5NsWBCfSEjwQdSggmAieAv4uOnFg5eIXgTvEY+ePJqToDf9AcZDFAUF8SgEQUxAjC6+QlhX4xo0G93ZnRnr697umSyKBCyY/aqqq76q6uoF/rN4lu/BmzSsLGFM7P4kAZQCiBTR64nCw/MHvRnj+fuvI7zxtDWJJD1lQulO5TPHnkAqpuAUFKZUqg8da8xI35+/cMh77AjHJ5cakh/oqHa2ZhGHpSb+STxJZA3l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