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

251 lines
974 KiB

(self.webpackChunk=self.webpackChunk||[]).push([[1953],{89489:function(xt,It,te){"use strict";te.d(It,{Z:function(){return We}});var z=te(32855),ie=te(59301),Ae={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"outlined"},je=Ae,Ee=te(7657),xe=function(ze,Xe){return ie.createElement(Ee.Z,(0,z.Z)({},ze,{ref:Xe,icon:je}))},re=ie.forwardRef(xe),We=re},59477:function(xt,It,te){"use strict";te.d(It,{Z:function(){return We}});var z=te(32855),ie=te(59301),Ae={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z"}}]},name:"caret-up",theme:"outlined"},je=Ae,Ee=te(7657),xe=function(ze,Xe){return ie.createElement(Ee.Z,(0,z.Z)({},ze,{ref:Xe,icon:je}))},re=ie.forwardRef(xe),We=re},26227:function(xt,It,te){"use strict";te.d(It,{Z:function(){return We}});var z=te(32855),ie=te(59301),Ae={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"}}]},name:"delete",theme:"outlined"},je=Ae,Ee=te(7657),xe=function(ze,Xe){return ie.createElement(Ee.Z,(0,z.Z)({},ze,{ref:Xe,icon:je}))},re=ie.forwardRef(xe),We=re},49198:function(xt,It,te){"use strict";te.d(It,{Z:function(){return We}});var z=te(32855),ie=te(59301),Ae={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z"}}]},name:"double-right",theme:"outlined"},je=Ae,Ee=te(7657),xe=function(ze,Xe){return ie.createElement(Ee.Z,(0,z.Z)({},ze,{ref:Xe,icon:je}))},re=ie.forwardRef(xe),We=re},41464:function(xt,It,te){"use strict";te.d(It,{Z:function(){return We}});var z=te(32855),ie=te(59301),Ae={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"download",theme:"outlined"},je=Ae,Ee=te(7657),xe=function(ze,Xe){return ie.createElement(Ee.Z,(0,z.Z)({},ze,{ref:Xe,icon:je}))},re=ie.forwardRef(xe),We=re},87169:function(xt,It,te){"use strict";te.d(It,{Z:function(){return We}});var z=te(32855),ie=te(59301),Ae={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z"}}]},name:"exclamation-circle",theme:"outlined"},je=Ae,Ee=te(7657),xe=function(ze,Xe){return ie.createElement(Ee.Z,(0,z.Z)({},ze,{ref:Xe,icon:je}))},re=ie.forwardRef(xe),We=re},52671:function(xt,It,te){"use strict";te.d(It,{Z:function(){return We}});var z=te(32855),ie=te(59301),Ae={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z"}}]},name:"file",theme:"outlined"},je=Ae,Ee=te(7657),xe=function(ze,Xe){return ie.createElement(Ee.Z,(0,z.Z)({},ze,{ref:Xe,icon:je}))},re=ie.forwardRef(xe),We=re},8657:function(xt,It,te){"use strict";te.d(It,{Z:function(){return We}});var z=te(32855),ie=te(59301),Ae={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 444H820V330.4c0-17.7-14.3-32-32-32H473L355.7 186.2a8.15 8.15 0 00-5.5-2.2H96c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h698c13 0 24.8-7.9 29.7-20l134-332c1.5-3.8 2.3-7.9 2.3-12 0-17.7-14.3-32-32-32zM136 256h188.5l119.6 114.4H748V444H238c-13 0-24.8 7.9-29.7 20L136 643.2V256zm635.3 512H159l103.3-256h612.4L771.3 768z"}}]},name:"folder-open",theme:"outlined"},je=Ae,Ee=te(7657),xe=function(ze,Xe){return ie.createElement(Ee.Z,(0,z.Z)({},ze,{ref:Xe,icon:je}))},re=ie.forwardRef(xe),We=re},56082:function(xt,It,te){"use strict";te.d(It,{Z:function(){return We}});var z=te(32855),ie=te(59301),Ae={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M300 276.5a56 56 0 1056-97 56 56 0 00-56 97zm0 284a56 56 0 1056-97 56 56 0 00-56 97zM640 228a56 56 0 10112 0 56 56 0 00-112 0zm0 284a56 56 0 10112 0 56 56 0 00-112 0zM300 844.5a56 56 0 1056-97 56 56 0 00-56 97zM640 796a56 56 0 10112 0 56 56 0 00-112 0z"}}]},name:"holder",theme:"outlined"},je=Ae,Ee=te(7657),xe=function(ze,Xe){return ie.createElement(Ee.Z,(0,z.Z)({},ze,{ref:Xe,icon:je}))},re=ie.forwardRef(xe),We=re},33853:function(xt,It,te){"use strict";te.d(It,{Z:function(){return We}});var z=te(32855),ie=te(59301),Ae={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"},je=Ae,Ee=te(7657),xe=function(ze,Xe){return ie.createElement(Ee.Z,(0,z.Z)({},ze,{ref:Xe,icon:je}))},re=ie.forwardRef(xe),We=re},12893:function(xt,It,te){"use strict";te.d(It,{Z:function(){return We}});var z=te(32855),ie=te(59301),Ae={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"},je=Ae,Ee=te(7657),xe=function(ze,Xe){return ie.createElement(Ee.Z,(0,z.Z)({},ze,{ref:Xe,icon:je}))},re=ie.forwardRef(xe),We=re},15075:function(xt,It,te){"use strict";te.d(It,{Z:function(){return We}});var z=te(32855),ie=te(59301),Ae={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"minus-square",theme:"outlined"},je=Ae,Ee=te(7657),xe=function(ze,Xe){return ie.createElement(Ee.Z,(0,z.Z)({},ze,{ref:Xe,icon:je}))},re=ie.forwardRef(xe),We=re},32134:function(xt,It,te){"use strict";te.d(It,{Z:function(){return We}});var z=te(32855),ie=te(59301),Ae={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"},je=Ae,Ee=te(7657),xe=function(ze,Xe){return ie.createElement(Ee.Z,(0,z.Z)({},ze,{ref:Xe,icon:je}))},re=ie.forwardRef(xe),We=re},43531:function(xt,It,te){"use strict";te.d(It,{Z:function(){return We}});var z=te(32855),ie=te(59301),Ae={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"plus-square",theme:"outlined"},je=Ae,Ee=te(7657),xe=function(ze,Xe){return ie.createElement(Ee.Z,(0,z.Z)({},ze,{ref:Xe,icon:je}))},re=ie.forwardRef(xe),We=re},38819:function(xt,It,te){"use strict";te.d(It,{Z:function(){return We}});var z=te(32855),ie=te(59301),Ae={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"},je=Ae,Ee=te(7657),xe=function(ze,Xe){return ie.createElement(Ee.Z,(0,z.Z)({},ze,{ref:Xe,icon:je}))},re=ie.forwardRef(xe),We=re},21697:function(xt,It){"use strict";It.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},69092:function(xt,It){"use strict";It.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"}},20397:function(){"use strict";function xt(ae,y,a,b){a===void 0&&(a=0),b===void 0&&(b=1/0),this._name=ae,this._defaultValue=y,this._minimum=a,this._maximum=b}Object.defineProperty(xt.prototype,"name",{get:function(){return this._name},set:function(ae){if(typeof ae!="string"||ae==="")throw new Error("Shape name must be a valid string.");this._name=ae}}),Object.defineProperty(xt.prototype,"defaultValue",{get:function(){return this._defaultValue},set:function(ae){if(typeof ae!="number"||isNaN(ae))throw new Error("The default value must be a real number, not: "+ae);this._defaultValue=ae}}),Object.defineProperty(xt.prototype,"minimum",{get:function(){return this._minimum},set:function(ae){if(typeof ae!="number"||isNaN(ae))throw new Error("Minimum must be a real number, not: "+ae);this._minimum=ae}}),Object.defineProperty(xt.prototype,"maximum",{get:function(){return this._maximum},set:function(ae){if(typeof ae!="number"||isNaN(ae))throw new Error("Maximum must be a real number, not: "+ae);this._maximum=ae}}),go.Shape._FigureParameters={},go.Shape.getFigureParameter=function(ae,y){var a=go.Shape._FigureParameters[ae];return a?a[y]:null},go.Shape.setFigureParameter=function(ae,y,a){if(!(a instanceof xt))throw new Error("Third argument to Shape.setFigureParameter is not FigureParameter: "+a);if(a.defaultValue<a.minimum||a.defaultValue>a.maximum)throw new Error("defaultValue must be between minimum and maximum, not: "+a.defaultValue);var b=go.Shape._FigureParameters[ae];b||(b=[],go.Shape._FigureParameters[ae]=b),b[y]=a};var It=[];function te(ae,y){var a=It.pop();return a===void 0?new go.Point(ae,y):(a.x=ae,a.y=y,a)}function z(){var ae=It.pop();return ae===void 0?new go.Point:ae}function ie(ae){It.push(ae)}function Ae(ae,y,a,b,E,x,ee,ne,oe){oe||(oe=new go.Point);var le=ae-a,ue=E-ee,ge=NaN,Ce=NaN;if(le===0)if(ue===0)ae===a&&(ge=ae,Ce=y);else{var pe=(x-ne)/ue,Be=x-pe*E;ge=ae,Ce=pe*ge+Be}else if(ue===0){var de=(y-b)/le,et=y-de*ae;ge=E,Ce=de*ge+et}else{var de=(y-b)/le,pe=(x-ne)/ue,et=y-de*ae,Be=x-pe*E;ge=(Be-et)/(de-pe),Ce=de*ge+et}return oe.x=ge,oe.y=Ce,oe}function je(ae,y,a,b,E,x,ee,ne,oe,le,ue,ge,Ce,pe){var Be=1-oe,de=oe,et=ae*Be+a*de,Oe=y*Be+b*de,Ge=a*Be+E*de,Pe=b*Be+x*de,ke=E*Be+ee*de,ot=x*Be+ne*de,Ue=et*Be+Ge*de,it=Oe*Be+Pe*de,Mt=Ge*Be+ke*de,_e=Pe*Be+ot*de,Tt=Ue*Be+Mt*de,Jt=it*Be+_e*de;le.x=et,le.y=Oe,ue.x=Ue,ue.y=it,ge.x=Tt,ge.y=Jt,Ce.x=Mt,Ce.y=_e,pe.x=ke,pe.y=ot}var Ee=new go.Spot(.156,.156),xe=new go.Spot(.844,.844),re=4*((Math.sqrt(2)-1)/3);go.Shape.setFigureParameter("RoundedRectangle",0,new xt("CornerRounding",5)),go.Shape.defineFigureGenerator("RoundedRectangle",function(ae,y,a){var b=ae?ae.parameter1:NaN;(isNaN(b)||b<0)&&(b=5),b=Math.min(b,y/3),b=Math.min(b,a/3);var E=b*re,x=new go.Geometry().add(new go.PathFigure(b,0,!0).add(new go.PathSegment(go.PathSegment.Line,y-b,0)).add(new go.PathSegment(go.PathSegment.Bezier,y,b,y-E,0,y,E)).add(new go.PathSegment(go.PathSegment.Line,y,a-b)).add(new go.PathSegment(go.PathSegment.Bezier,y-b,a,y,a-E,y-E,a)).add(new go.PathSegment(go.PathSegment.Line,b,a)).add(new go.PathSegment(go.PathSegment.Bezier,0,a-b,E,a,0,a-E)).add(new go.PathSegment(go.PathSegment.Line,0,b)).add(new go.PathSegment(go.PathSegment.Bezier,b,0,0,E,E,0).close()));return E>1&&(x.spot1=new go.Spot(0,0,E,E),x.spot2=new go.Spot(1,1,-E,-E)),x}),go.Shape.defineFigureGenerator("Border","RoundedRectangle"),go.Shape.defineFigureGenerator("TriangleRight",function(ae,y,a){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())).setSpots(0,.25,.5,.75)}),go.Shape.defineFigureGenerator("TriangleDown",function(ae,y,a){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,.5*y,a).close())).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("TriangleLeft",function(ae,y,a){return new go.Geometry().add(new go.PathFigure(y,a).add(new go.PathSegment(go.PathSegment.Line,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,y,0).close())).setSpots(.5,.25,1,.75)}),go.Shape.defineFigureGenerator("TriangleUp",function(ae,y,a){return new go.Geometry().add(new go.PathFigure(y,a).add(new go.PathSegment(go.PathSegment.Line,0,a)).add(new go.PathSegment(go.PathSegment.Line,.5*y,0).close())).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("Triangle","TriangleUp"),go.Shape.defineFigureGenerator("Diamond",function(ae,y,a){return new go.Geometry().add(new go.PathFigure(.5*y,0).add(new go.PathSegment(go.PathSegment.Line,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.5*y,a)).add(new go.PathSegment(go.PathSegment.Line,y,.5*a).close())).setSpots(.25,.25,.75,.75)}),go.Shape.defineFigureGenerator("LineH",function(ae,y,a){var b=new go.Geometry(go.Geometry.Line);return b.startX=0,b.startY=a/2,b.endX=y,b.endY=a/2,b}),go.Shape.defineFigureGenerator("LineV",function(ae,y,a){var b=new go.Geometry(go.Geometry.Line);return b.startX=y/2,b.startY=0,b.endX=y/2,b.endY=a,b}),go.Shape.defineFigureGenerator("BarH","Rectangle"),go.Shape.defineFigureGenerator("BarV","Rectangle"),go.Shape.defineFigureGenerator("MinusLine","LineH"),go.Shape.defineFigureGenerator("PlusLine",function(ae,y,a){return new go.Geometry().add(new go.PathFigure(0,a/2,!1).add(new go.PathSegment(go.PathSegment.Line,y,a/2)).add(new go.PathSegment(go.PathSegment.Move,y/2,0)).add(new go.PathSegment(go.PathSegment.Line,y/2,a)))}),go.Shape.defineFigureGenerator("XLine",function(ae,y,a){return new go.Geometry().add(new go.PathFigure(0,a,!1).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Move,0,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)))}),go.Shape.defineFigureGenerator("LineRight",function(ae,y,a){return new go.Geometry().add(new go.PathFigure(.25*y,0,!1).add(new go.PathSegment(go.PathSegment.Line,.75*y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.25*y,a)))}),go.Shape.defineFigureGenerator("LineDown",function(ae,y,a){return new go.Geometry().add(new go.PathFigure(0,.25*a,!1).add(new go.PathSegment(go.PathSegment.Line,.5*y,.75*a)).add(new go.PathSegment(go.PathSegment.Line,y,.25*a)))}),go.Shape.defineFigureGenerator("LineLeft",function(ae,y,a){return new go.Geometry().add(new go.PathFigure(.75*y,0,!1).add(new go.PathSegment(go.PathSegment.Line,.25*y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.75*y,a)))}),go.Shape.defineFigureGenerator("LineUp",function(ae,y,a){return new go.Geometry().add(new go.PathFigure(0,.75*a,!1).add(new go.PathSegment(go.PathSegment.Line,.5*y,.25*a)).add(new go.PathSegment(go.PathSegment.Line,y,.75*a)))}),go.Shape.defineFigureGenerator("AsteriskLine",function(ae,y,a){var b=.2/Math.SQRT2;return new go.Geometry().add(new go.PathFigure(b*y,(1-b)*a,!1).add(new go.PathSegment(go.PathSegment.Line,(1-b)*y,b*a)).add(new go.PathSegment(go.PathSegment.Move,b*y,b*a)).add(new go.PathSegment(go.PathSegment.Line,(1-b)*y,(1-b)*a)).add(new go.PathSegment(go.PathSegment.Move,0,a/2)).add(new go.PathSegment(go.PathSegment.Line,y,a/2)).add(new go.PathSegment(go.PathSegment.Move,y/2,0)).add(new go.PathSegment(go.PathSegment.Line,y/2,a)))}),go.Shape.defineFigureGenerator("CircleLine",function(ae,y,a){var b=y/2,E=new go.Geometry().add(new go.PathFigure(y,y/2,!1).add(new go.PathSegment(go.PathSegment.Arc,0,360,b,b,b,b).close()));return E.spot1=Ee,E.spot2=xe,E.defaultStretch=go.GraphObject.Uniform,E}),go.Shape.defineFigureGenerator("Line1",function(ae,y,a){var b=new go.Geometry(go.Geometry.Line);return b.startX=0,b.startY=0,b.endX=y,b.endY=a,b}),go.Shape.defineFigureGenerator("Line2",function(ae,y,a){var b=new go.Geometry(go.Geometry.Line);return b.startX=y,b.startY=0,b.endX=0,b.endY=a,b}),go.Shape.defineFigureGenerator("Curve1",function(ae,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,y,a,re*y,0,y,(1-re)*a)))}),go.Shape.defineFigureGenerator("Curve2",function(ae,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,y,a,0,re*a,(1-re)*y,a)))}),go.Shape.defineFigureGenerator("Curve3",function(ae,y,a){return new go.Geometry().add(new go.PathFigure(y,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,a,y,re*a,re*y,a)))}),go.Shape.defineFigureGenerator("Curve4",function(ae,y,a){return new go.Geometry().add(new go.PathFigure(y,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,a,(1-re)*y,0,0,(1-re)*a)))}),go.Shape.defineFigureGenerator("TriangleDownLeft",function(ae,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())).setSpots(0,.5,.5,1)}),go.Shape.defineFigureGenerator("TriangleDownRight",function(ae,y,a){return new go.Geometry().add(new go.PathFigure(y,0,!0).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())).setSpots(.5,.5,1,1)}),go.Shape.defineFigureGenerator("TriangleUpLeft",function(ae,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())).setSpots(0,0,.5,.5)}),go.Shape.defineFigureGenerator("TriangleUpRight",function(ae,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y,a).close())).setSpots(.5,0,1,.5)}),go.Shape.defineFigureGenerator("RightTriangle","TriangleDownLeft"),go.Shape.setFigureParameter("Parallelogram1",0,new xt("Indent",.1,-.99,.99)),go.Shape.defineFigureGenerator("Parallelogram1",function(ae,y,a){var b=ae?ae.parameter1:NaN;isNaN(b)?b=.1:b<-1?b=-1:b>1&&(b=1);var E=Math.abs(b)*y;if(b===0){var x=new go.Geometry(go.Geometry.Rectangle);return x.startX=0,x.startY=0,x.endX=y,x.endY=a,x}else{var x=new go.Geometry;return b>0?x.add(new go.PathFigure(E,0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y-E,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())):x.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,y-E,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,E,a).close())),E<y/2&&x.setSpots(E/y,0,(y-E)/y,1),x}}),go.Shape.defineFigureGenerator("Parallelogram","Parallelogram1"),go.Shape.setFigureParameter("Parallelogram2",0,new xt("Indent",10,-1/0,1/0)),go.Shape.defineFigureGenerator("Parallelogram2",function(ae,y,a){var b=ae?ae.parameter1:NaN;isNaN(b)?b=10:b<-y?b=-y:b>y&&(b=y);var E=Math.abs(b);if(b===0){var x=new go.Geometry(go.Geometry.Rectangle);return x.startX=0,x.startY=0,x.endX=y,x.endY=a,x}else{var x=new go.Geometry;return b>0?x.add(new go.PathFigure(E,0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y-E,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())):x.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,y-E,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,E,a).close())),E<y/2&&x.setSpots(E/y,0,(y-E)/y,1),x}}),go.Shape.setFigureParameter("Trapezoid1",0,new xt("Indent",.2,-.99,.99)),go.Shape.defineFigureGenerator("Trapezoid1",function(ae,y,a){var b=ae?ae.parameter1:NaN;isNaN(b)?b=.2:b<.5?b=-.5:b>.5&&(b=.5);var E=Math.abs(b)*y;if(b===0){var x=new go.Geometry(go.Geometry.Rectangle);return x.startX=0,x.startY=0,x.endX=y,x.endY=a,x}else{var x=new go.Geometry;return b>0?x.add(new go.PathFigure(E,0).add(new go.PathSegment(go.PathSegment.Line,y-E,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())):x.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y-E,a)).add(new go.PathSegment(go.PathSegment.Line,E,a).close())),E<y/2&&x.setSpots(E/y,0,(y-E)/y,1),x}}),go.Shape.defineFigureGenerator("Trapezoid","Trapezoid1"),go.Shape.setFigureParameter("Trapezoid2",0,new xt("Indent",20,-1/0,1/0)),go.Shape.defineFigureGenerator("Trapezoid2",function(ae,y,a){var b=ae?ae.parameter1:NaN;isNaN(b)?b=20:b<-y?b=-y/2:b>y&&(b=y/2);var E=Math.abs(b);if(b===0){var x=new go.Geometry(go.Geometry.Rectangle);return x.startX=0,x.startY=0,x.endX=y,x.endY=a,x}else{var x=new go.Geometry;return b>0?x.add(new go.PathFigure(E,0).add(new go.PathSegment(go.PathSegment.Line,y-E,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())):x.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y-E,a)).add(new go.PathSegment(go.PathSegment.Line,E,a).close())),E<y/2&&x.setSpots(E/y,0,(y-E)/y,1),x}}),go.Shape.setFigureParameter("ManualOperation",0,new xt("Indent",10,-1/0,1/0)),go.Shape.defineFigureGenerator("ManualOperation",function(ae,y,a){var b=ae?ae.parameter1:NaN;isNaN(b)?b=10:b<-y?b=-y/2:b>y&&(b=y/2);var E=Math.abs(b);if(b===0){var x=new go.Geometry(go.Geometry.Rectangle);return x.startX=0,x.startY=0,x.endX=y,x.endY=a,x}else{var x=new go.Geometry;return b>0?x.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y-E,a)).add(new go.PathSegment(go.PathSegment.Line,E,a).close())):x.add(new go.PathFigure(E,0).add(new go.PathSegment(go.PathSegment.Line,y-E,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())),E<y/2&&x.setSpots(E/y,0,(y-E)/y,1),x}});var We=[];function Ke(){var ae=We.pop();return ae===void 0?[]:ae}function ze(ae){ae.length=0,We.push(ae)}function Xe(ae){for(var y=Ke(),a=.5,b=.5,E=Math.PI*1.5,x=0,ee=0;ee<ae;ee++)x=2*Math.PI/ae*ee+E,y[ee]=new go.Point(b+a*Math.cos(x),b+a*Math.sin(x));return y.push(y[0]),y}function mt(ae){var y=Re(ae),a=Ke();a[0]=y[0];for(var b=1,E=1;b<y.length;b+=2,E+=3)a[E]=y[b],a[E+1]=y[b],a[E+2]=y[b+1];return ze(y),a}function Re(ae){for(var y=Xe(ae),a=Ke(),b=Math.floor(y.length/2),E=y.length-1,x=ae%2===0?2:1,ee=0;ee<E;ee++){var ne=y[ee],oe=y[ee+1],le=y[(b+ee-1)%E],ue=y[(b+ee+x)%E];a[ee*2]=ne,a[ee*2+1]=Ae(ne.x,ne.y,le.x,le.y,oe.x,oe.y,ue.x,ue.y,new go.Point)}return a[a.length]=a[0],ze(y),a}go.Shape.defineFigureGenerator("Pentagon",function(ae,y,a){var b=Xe(5),E=new go.Geometry,x=new go.PathFigure(b[0].x*y,b[0].y*a,!0);E.add(x);for(var ee=1;ee<5;ee++)x.add(new go.PathSegment(go.PathSegment.Line,b[ee].x*y,b[ee].y*a));return x.add(new go.PathSegment(go.PathSegment.Line,b[0].x*y,b[0].y*a).close()),ze(b),E.spot1=new go.Spot(.2,.22),E.spot2=new go.Spot(.8,.9),E}),go.Shape.defineFigureGenerator("Hexagon",function(ae,y,a){var b=Xe(6),E=new go.Geometry,x=new go.PathFigure(b[0].x*y,b[0].y*a,!0);E.add(x);for(var ee=1;ee<6;ee++)x.add(new go.PathSegment(go.PathSegment.Line,b[ee].x*y,b[ee].y*a));return x.add(new go.PathSegment(go.PathSegment.Line,b[0].x*y,b[0].y*a).close()),ze(b),E.spot1=new go.Spot(.07,.25),E.spot2=new go.Spot(.93,.75),E}),go.Shape.defineFigureGenerator("Heptagon",function(ae,y,a){var b=Xe(7),E=new go.Geometry,x=new go.PathFigure(b[0].x*y,b[0].y*a,!0);E.add(x);for(var ee=1;ee<7;ee++)x.add(new go.PathSegment(go.PathSegment.Line,b[ee].x*y,b[ee].y*a));return x.add(new go.PathSegment(go.PathSegment.Line,b[0].x*y,b[0].y*a).close()),ze(b),E.spot1=new go.Spot(.2,.15),E.spot2=new go.Spot(.8,.85),E}),go.Shape.defineFigureGenerator("Octagon",function(ae,y,a){var b=Xe(8),E=new go.Geometry,x=new go.PathFigure(b[0].x*y,b[0].y*a,!0);E.add(x);for(var ee=1;ee<8;ee++)x.add(new go.PathSegment(go.PathSegment.Line,b[ee].x*y,b[ee].y*a));return x.add(new go.PathSegment(go.PathSegment.Line,b[0].x*y,b[0].y*a).close()),ze(b),E.spot1=new go.Spot(.15,.15),E.spot2=new go.Spot(.85,.85),E}),go.Shape.defineFigureGenerator("Nonagon",function(ae,y,a){var b=Xe(9),E=new go.Geometry,x=new go.PathFigure(b[0].x*y,b[0].y*a,!0);E.add(x);for(var ee=1;ee<9;ee++)x.add(new go.PathSegment(go.PathSegment.Line,b[ee].x*y,b[ee].y*a));return x.add(new go.PathSegment(go.PathSegment.Line,b[0].x*y,b[0].y*a).close()),ze(b),E.spot1=new go.Spot(.17,.13),E.spot2=new go.Spot(.82,.82),E}),go.Shape.defineFigureGenerator("Decagon",function(ae,y,a){var b=Xe(10),E=new go.Geometry,x=new go.PathFigure(b[0].x*y,b[0].y*a,!0);E.add(x);for(var ee=1;ee<10;ee++)x.add(new go.PathSegment(go.PathSegment.Line,b[ee].x*y,b[ee].y*a));return x.add(new go.PathSegment(go.PathSegment.Line,b[0].x*y,b[0].y*a).close()),ze(b),E.spot1=new go.Spot(.16,.16),E.spot2=new go.Spot(.84,.84),E}),go.Shape.defineFigureGenerator("Dodecagon",function(ae,y,a){var b=Xe(12),E=new go.Geometry,x=new go.PathFigure(b[0].x*y,b[0].y*a,!0);E.add(x);for(var ee=1;ee<12;ee++)x.add(new go.PathSegment(go.PathSegment.Line,b[ee].x*y,b[ee].y*a));return x.add(new go.PathSegment(go.PathSegment.Line,b[0].x*y,b[0].y*a).close()),ze(b),E.spot1=new go.Spot(.16,.16),E.spot2=new go.Spot(.84,.84),E}),go.Shape.defineFigureGenerator("FivePointedStar",function(ae,y,a){var b=Re(5),E=new go.Geometry,x=new go.PathFigure(b[0].x*y,b[0].y*a,!0);E.add(x);for(var ee=1;ee<10;ee++)x.add(new go.PathSegment(go.PathSegment.Line,b[ee].x*y,b[ee].y*a));return x.add(new go.PathSegment(go.PathSegment.Line,b[0].x*y,b[0].y*a).close()),ze(b),E.spot1=new go.Spot(.266,.333),E.spot2=new go.Spot(.733,.733),E}),go.Shape.defineFigureGenerator("SixPointedStar",function(ae,y,a){var b=Re(6),E=new go.Geometry,x=new go.PathFigure(b[0].x*y,b[0].y*a,!0);E.add(x);for(var ee=1;ee<12;ee++)x.add(new go.PathSegment(go.PathSegment.Line,b[ee].x*y,b[ee].y*a));return x.add(new go.PathSegment(go.PathSegment.Line,b[0].x*y,b[0].y*a).close()),ze(b),E.spot1=new go.Spot(.17,.25),E.spot2=new go.Spot(.83,.75),E}),go.Shape.defineFigureGenerator("SevenPointedStar",function(ae,y,a){var b=Re(7),E=new go.Geometry,x=new go.PathFigure(b[0].x*y,b[0].y*a,!0);E.add(x);for(var ee=1;ee<14;ee++)x.add(new go.PathSegment(go.PathSegment.Line,b[ee].x*y,b[ee].y*a));return x.add(new go.PathSegment(go.PathSegment.Line,b[0].x*y,b[0].y*a).close()),ze(b),E.spot1=new go.Spot(.222,.277),E.spot2=new go.Spot(.777,.666),E}),go.Shape.defineFigureGenerator("EightPointedStar",function(ae,y,a){var b=Re(8),E=new go.Geometry,x=new go.PathFigure(b[0].x*y,b[0].y*a,!0);E.add(x);for(var ee=1;ee<16;ee++)x.add(new go.PathSegment(go.PathSegment.Line,b[ee].x*y,b[ee].y*a));return x.add(new go.PathSegment(go.PathSegment.Line,b[0].x*y,b[0].y*a).close()),ze(b),E.spot1=new go.Spot(.25,.25),E.spot2=new go.Spot(.75,.75),E}),go.Shape.defineFigureGenerator("NinePointedStar",function(ae,y,a){var b=Re(9),E=new go.Geometry,x=new go.PathFigure(b[0].x*y,b[0].y*a,!0);E.add(x);for(var ee=1;ee<18;ee++)x.add(new go.PathSegment(go.PathSegment.Line,b[ee].x*y,b[ee].y*a));return x.add(new go.PathSegment(go.PathSegment.Line,b[0].x*y,b[0].y*a).close()),ze(b),E.spot1=new go.Spot(.222,.277),E.spot2=new go.Spot(.777,.666),E}),go.Shape.defineFigureGenerator("TenPointedStar",function(ae,y,a){var b=Re(10),E=new go.Geometry,x=new go.PathFigure(b[0].x*y,b[0].y*a,!0);E.add(x);for(var ee=1;ee<20;ee++)x.add(new go.PathSegment(go.PathSegment.Line,b[ee].x*y,b[ee].y*a));return x.add(new go.PathSegment(go.PathSegment.Line,b[0].x*y,b[0].y*a).close()),ze(b),E.spot1=new go.Spot(.281,.261),E.spot2=new go.Spot(.723,.748),E}),go.Shape.defineFigureGenerator("FivePointedBurst",function(ae,y,a){var b=mt(5),E=new go.Geometry,x=new go.PathFigure(b[0].x*y,b[0].y*a,!0);E.add(x);for(var ee=1;ee<b.length;ee+=3)x.add(new go.PathSegment(go.PathSegment.Bezier,b[ee+2].x*y,b[ee+2].y*a,b[ee].x*y,b[ee].y*a,b[ee+1].x*y,b[ee+1].y*a));return x.segments.last().close(),ze(b),E.spot1=new go.Spot(.222,.277),E.spot2=new go.Spot(.777,.777),E}),go.Shape.defineFigureGenerator("SixPointedBurst",function(ae,y,a){var b=mt(6),E=new go.Geometry,x=new go.PathFigure(b[0].x*y,b[0].y*a,!0);E.add(x);for(var ee=1;ee<b.length;ee+=3)x.add(new go.PathSegment(go.PathSegment.Bezier,b[ee+2].x*y,b[ee+2].y*a,b[ee].x*y,b[ee].y*a,b[ee+1].x*y,b[ee+1].y*a));return x.segments.last().close(),ze(b),E.spot1=new go.Spot(.17,.222),E.spot2=new go.Spot(.833,.777),E}),go.Shape.defineFigureGenerator("SevenPointedBurst",function(ae,y,a){var b=mt(7),E=new go.Geometry,x=new go.PathFigure(b[0].x*y,b[0].y*a,!0);E.add(x);for(var ee=1;ee<b.length;ee+=3)x.add(new go.PathSegment(go.PathSegment.Bezier,b[ee+2].x*y,b[ee+2].y*a,b[ee].x*y,b[ee].y*a,b[ee+1].x*y,b[ee+1].y*a));return x.segments.last().close(),ze(b),E.spot1=new go.Spot(.222,.222),E.spot2=new go.Spot(.777,.777),E}),go.Shape.defineFigureGenerator("EightPointedBurst",function(ae,y,a){var b=mt(8),E=new go.Geometry,x=new go.PathFigure(b[0].x*y,b[0].y*a,!0);E.add(x);for(var ee=1;ee<b.length;ee+=3)x.add(new go.PathSegment(go.PathSegment.Bezier,b[ee+2].x*y,b[ee+2].y*a,b[ee].x*y,b[ee].y*a,b[ee+1].x*y,b[ee+1].y*a));return x.segments.last().close(),ze(b),E.spot1=new go.Spot(.222,.222),E.spot2=new go.Spot(.777,.777),E}),go.Shape.defineFigureGenerator("NinePointedBurst",function(ae,y,a){var b=mt(9),E=new go.Geometry,x=new go.PathFigure(b[0].x*y,b[0].y*a,!0);E.add(x);for(var ee=1;ee<b.length;ee+=3)x.add(new go.PathSegment(go.PathSegment.Bezier,b[ee+2].x*y,b[ee+2].y*a,b[ee].x*y,b[ee].y*a,b[ee+1].x*y,b[ee+1].y*a));return x.segments.last().close(),ze(b),E.spot1=new go.Spot(.222,.222),E.spot2=new go.Spot(.777,.777),E}),go.Shape.defineFigureGenerator("TenPointedBurst",function(ae,y,a){var b=mt(10),E=new go.Geometry,x=new go.PathFigure(b[0].x*y,b[0].y*a,!0);E.add(x);for(var ee=1;ee<b.length;ee+=3)x.add(new go.PathSegment(go.PathSegment.Bezier,b[ee+2].x*y,b[ee+2].y*a,b[ee].x*y,b[ee].y*a,b[ee+1].x*y,b[ee+1].y*a));return x.segments.last().close(),ze(b),E.spot1=new go.Spot(.222,.222),E.spot2=new go.Spot(.777,.777),E}),go.Shape.setFigureParameter("FramedRectangle",0,new xt("ThicknessX",8)),go.Shape.setFigureParameter("FramedRectangle",1,new xt("ThicknessY",8)),go.Shape.defineFigureGenerator("FramedRectangle",function(ae,y,a){var b=ae?ae.parameter1:NaN,E=ae?ae.parameter2:NaN;isNaN(b)&&(b=8),isNaN(E)&&(E=8);var x=new go.Geometry,ee=new go.PathFigure(0,0,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,y,0)),ee.add(new go.PathSegment(go.PathSegment.Line,y,a)),ee.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),b<y/2&&E<a/2&&(ee.add(new go.PathSegment(go.PathSegment.Move,b,E)),ee.add(new go.PathSegment(go.PathSegment.Line,b,a-E)),ee.add(new go.PathSegment(go.PathSegment.Line,y-b,a-E)),ee.add(new go.PathSegment(go.PathSegment.Line,y-b,E).close())),x.setSpots(0,0,1,1,b,E,-b,-E),x}),go.Shape.setFigureParameter("Ring",0,new xt("Thickness",8)),go.Shape.defineFigureGenerator("Ring",function(ae,y,a){var b=ae?ae.parameter1:NaN;(isNaN(b)||b<0)&&(b=8);var E=y/2,x=new go.Geometry,ee=new go.PathFigure(y,y/2,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Arc,0,360,E,E,E,E).close());var ne=Math.max(E-b,0);return ne>0&&(ee.add(new go.PathSegment(go.PathSegment.Move,y/2+ne,y/2)),ee.add(new go.PathSegment(go.PathSegment.Arc,0,-360,E,E,ne,ne).close())),x.spot1=Ee,x.spot2=xe,x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("Cloud",function(ae,y,a){return new go.Geometry().add(new go.PathFigure(.08034461*y,.1944299*a,!0).add(new go.PathSegment(go.PathSegment.Bezier,.2008615*y,.05349299*a,-.09239631*y,.07836421*a,.1406031*y,-.0542823*a)).add(new go.PathSegment(go.PathSegment.Bezier,.4338609*y,.074219*a,.2450511*y,-.00697547*a,.3776197*y,-.01112067*a)).add(new go.PathSegment(go.PathSegment.Bezier,.6558228*y,.07004196*a,.4539471*y,0,.6066018*y,-.02526587*a)).add(new go.PathSegment(go.PathSegment.Bezier,.8921095*y,.08370865*a,.6914277*y,-.01904177*a,.8921095*y,-.01220843*a)).add(new go.PathSegment(go.PathSegment.Bezier,.9147671*y,.3194596*a,1.036446*y,.04105738*a,1.020377*y,.3022052*a)).add(new go.PathSegment(go.PathSegment.Bezier,.9082935*y,.562044*a,1.04448*y,.360238*a,.992256*y,.5219009*a)).add(new go.PathSegment(go.PathSegment.Bezier,.9212406*y,.8217117*a,1.032337*y,.5771781*a,1.018411*y,.8120651*a)).add(new go.PathSegment(go.PathSegment.Bezier,.7592566*y,.9156953*a,1.028411*y,.9571472*a,.8556702*y,1.052487*a)).add(new go.PathSegment(go.PathSegment.Bezier,.5101666*y,.9310455*a,.7431877*y,1.009325*a,.5624123*y,1.021761*a)).add(new go.PathSegment(go.PathSegment.Bezier,.2609328*y,.9344623*a,.4820677*y,1.031761*a,.3030112*y,1.002796*a)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*y,.870098*a,.2329994*y,1.01518*a,.03213784*y,1.01518*a)).add(new go.PathSegment(go.PathSegment.Bezier,.06829292*y,.6545475*a,-.02812061*y,.9032597*a,-.01205169*y,.6835638*a)).add(new go.PathSegment(go.PathSegment.Bezier,.06427569*y,.4265613*a,-.01812061*y,.6089503*a,-.00606892*y,.4555777*a)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*y,.1944299*a,-.01606892*y,.3892545*a,-.01205169*y,.1944299*a))).setSpots(.1,.1,.9,.9)}),go.Shape.defineFigureGenerator("StopSign",function(ae,y,a){var b=1/(Math.SQRT2+2);return new go.Geometry().add(new go.PathFigure(b*y,0,!0).add(new go.PathSegment(go.PathSegment.Line,(1-b)*y,0)).add(new go.PathSegment(go.PathSegment.Line,y,b*a)).add(new go.PathSegment(go.PathSegment.Line,y,(1-b)*a)).add(new go.PathSegment(go.PathSegment.Line,(1-b)*y,a)).add(new go.PathSegment(go.PathSegment.Line,b*y,a)).add(new go.PathSegment(go.PathSegment.Line,0,(1-b)*a)).add(new go.PathSegment(go.PathSegment.Line,0,b*a).close())).setSpots(b/2,b/2,1-b/2,1-b/2)}),go.Shape.setFigureParameter("Pie",0,new xt("Start",0,-360,360)),go.Shape.setFigureParameter("Pie",1,new xt("Sweep",315,-360,360)),go.Shape.defineFigureGenerator("Pie",function(ae,y,a){var b=ae?ae.parameter1:NaN,E=ae?ae.parameter2:NaN;isNaN(b)&&(b=0),isNaN(E)&&(E=315);var x=b%360;x<0&&(x+=360);var ee=E%360,ne=Math.min(y,a)/2;return new go.Geometry().add(new go.PathFigure(ne,ne).add(new go.PathSegment(go.PathSegment.Arc,x,ee,ne,ne,ne,ne).close()))}),go.Shape.defineFigureGenerator("PiePiece",function(ae,y,a){var b=re/Math.SQRT2*.5,E=Math.SQRT2/2,x=1-Math.SQRT2/2;return new go.Geometry().add(new go.PathFigure(y,a,!0).add(new go.PathSegment(go.PathSegment.Bezier,E*y,x*a,y,(1-b)*a,(E+b)*y,(x+b)*a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close()))}),go.Shape.setFigureParameter("ThickCross",0,new xt("Thickness",30)),go.Shape.defineFigureGenerator("ThickCross",function(ae,y,a){var b=ae?ae.parameter1:NaN;(isNaN(b)||b<0)&&(b=30);var E=Math.min(b,y)/2,x=y/2,ee=a/2;return new go.Geometry().add(new go.PathFigure(x-E,0,!0).add(new go.PathSegment(go.PathSegment.Line,x+E,0)).add(new go.PathSegment(go.PathSegment.Line,x+E,ee-E)).add(new go.PathSegment(go.PathSegment.Line,y,ee-E)).add(new go.PathSegment(go.PathSegment.Line,y,ee+E)).add(new go.PathSegment(go.PathSegment.Line,x+E,ee+E)).add(new go.PathSegment(go.PathSegment.Line,x+E,a)).add(new go.PathSegment(go.PathSegment.Line,x-E,a)).add(new go.PathSegment(go.PathSegment.Line,x-E,ee+E)).add(new go.PathSegment(go.PathSegment.Line,0,ee+E)).add(new go.PathSegment(go.PathSegment.Line,0,ee-E)).add(new go.PathSegment(go.PathSegment.Line,x-E,ee-E).close()))}),go.Shape.setFigureParameter("ThinCross",0,new xt("Thickness",10)),go.Shape.defineFigureGenerator("ThinCross",function(ae,y,a){var b=ae?ae.parameter1:NaN;(isNaN(b)||b<0)&&(b=10);var E=Math.min(b,y)/2,x=y/2,ee=a/2;return new go.Geometry().add(new go.PathFigure(x-E,0,!0).add(new go.PathSegment(go.PathSegment.Line,x+E,0)).add(new go.PathSegment(go.PathSegment.Line,x+E,ee-E)).add(new go.PathSegment(go.PathSegment.Line,y,ee-E)).add(new go.PathSegment(go.PathSegment.Line,y,ee+E)).add(new go.PathSegment(go.PathSegment.Line,x+E,ee+E)).add(new go.PathSegment(go.PathSegment.Line,x+E,a)).add(new go.PathSegment(go.PathSegment.Line,x-E,a)).add(new go.PathSegment(go.PathSegment.Line,x-E,ee+E)).add(new go.PathSegment(go.PathSegment.Line,0,ee+E)).add(new go.PathSegment(go.PathSegment.Line,0,ee-E)).add(new go.PathSegment(go.PathSegment.Line,x-E,ee-E).close()))}),go.Shape.setFigureParameter("ThickX",0,new xt("Thickness",30)),go.Shape.defineFigureGenerator("ThickX",function(ae,y,a){var b=ae?ae.parameter1:NaN;if((isNaN(b)||b<0)&&(b=30),y===0||a===0){var E=new go.Geometry(go.Geometry.Rectangle);return E.startX=0,E.startY=0,E.endX=y,E.endY=a,E}else{var x=y/2,ee=a/2,ne=Math.atan2(a,y),oe=b-Math.min(Math.cos(ne)*b/2,x),le=b-Math.min(Math.sin(ne)*b/2,ee),E=new go.Geometry,ue=new go.PathFigure(oe,0,!0);return E.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,x,.2*a)),ue.add(new go.PathSegment(go.PathSegment.Line,y-oe,0)),ue.add(new go.PathSegment(go.PathSegment.Line,y,le)),ue.add(new go.PathSegment(go.PathSegment.Line,.8*y,ee)),ue.add(new go.PathSegment(go.PathSegment.Line,y,a-le)),ue.add(new go.PathSegment(go.PathSegment.Line,y-oe,a)),ue.add(new go.PathSegment(go.PathSegment.Line,x,.8*a)),ue.add(new go.PathSegment(go.PathSegment.Line,oe,a)),ue.add(new go.PathSegment(go.PathSegment.Line,0,a-le)),ue.add(new go.PathSegment(go.PathSegment.Line,.2*y,ee)),ue.add(new go.PathSegment(go.PathSegment.Line,0,le).close()),E}}),go.Shape.setFigureParameter("ThinX",0,new xt("Thickness",10)),go.Shape.defineFigureGenerator("ThinX",function(ae,y,a){var b=ae?ae.parameter1:NaN;(isNaN(b)||b<0)&&(b=10);var E=new go.Geometry,x=new go.PathFigure(.1*y,0,!0);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*y,.4*a)),x.add(new go.PathSegment(go.PathSegment.Line,.9*y,0)),x.add(new go.PathSegment(go.PathSegment.Line,y,.1*a)),x.add(new go.PathSegment(go.PathSegment.Line,.6*y,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,y,.9*a)),x.add(new go.PathSegment(go.PathSegment.Line,.9*y,a)),x.add(new go.PathSegment(go.PathSegment.Line,.5*y,.6*a)),x.add(new go.PathSegment(go.PathSegment.Line,.1*y,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,.9*a)),x.add(new go.PathSegment(go.PathSegment.Line,.4*y,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,.1*a).close()),E}),go.Shape.setFigureParameter("SquareIBeam",0,new xt("BeamWidth",.2,.1,.9)),go.Shape.defineFigureGenerator("SquareIBeam",function(ae,y,a){var b=ae?ae.parameter1:NaN;isNaN(b)&&(b=.2);var E=new go.Geometry,x=new go.PathFigure(0,0,!0);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,0)),x.add(new go.PathSegment(go.PathSegment.Line,y,b*a)),x.add(new go.PathSegment(go.PathSegment.Line,(.5+b/2)*y,b*a)),x.add(new go.PathSegment(go.PathSegment.Line,(.5+b/2)*y,(1-b)*a)),x.add(new go.PathSegment(go.PathSegment.Line,y,(1-b)*a)),x.add(new go.PathSegment(go.PathSegment.Line,y,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,(1-b)*a)),x.add(new go.PathSegment(go.PathSegment.Line,(.5-b/2)*y,(1-b)*a)),x.add(new go.PathSegment(go.PathSegment.Line,(.5-b/2)*y,b*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,b*a).close()),E}),go.Shape.setFigureParameter("RoundedIBeam",0,new xt("Curviness",.5,.05,.65)),go.Shape.defineFigureGenerator("RoundedIBeam",function(ae,y,a){var b=ae?ae.parameter1:NaN;isNaN(b)&&(b=.5);var E=new go.Geometry,x=new go.PathFigure(0,0,!0);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,0)),x.add(new go.PathSegment(go.PathSegment.Bezier,y,a,Math.abs(1-b)*y,.25*a,Math.abs(1-b)*y,.75*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a)),x.add(new go.PathSegment(go.PathSegment.Bezier,0,0,b*y,.75*a,b*y,.25*a).close()),E}),go.Shape.defineFigureGenerator("HalfEllipse",function(ae,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,re*y,0,y,(.5-re/2)*a)).add(new go.PathSegment(go.PathSegment.Bezier,0,a,y,(.5+re/2)*a,re*y,a).close())).setSpots(0,.156,.844,.844)}),go.Shape.defineFigureGenerator("Crescent",function(ae,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,a,y,0,y,a)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.5*y,.75*a,.5*y,.25*a).close())).setSpots(.311,.266,.744,.744)}),go.Shape.defineFigureGenerator("Heart",function(ae,y,a){return new go.Geometry().add(new go.PathFigure(.5*y,a,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,.3*a,.1*y,.8*a,0,.5*a)).add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.3*a,0,0,.45*y,0)).add(new go.PathSegment(go.PathSegment.Bezier,y,.3*a,.55*y,0,y,0)).add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,y,.5*a,.9*y,.8*a).close())).setSpots(.14,.29,.86,.78)}),go.Shape.defineFigureGenerator("Spade",function(ae,y,a){return new go.Geometry().add(new go.PathFigure(.5*y,0,!0).add(new go.PathSegment(go.PathSegment.Line,.51*y,.01*a)).add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,.6*y,.2*a,y,.25*a)).add(new go.PathSegment(go.PathSegment.Bezier,.55*y,.7*a,y,.8*a,.6*y,.8*a)).add(new go.PathSegment(go.PathSegment.Bezier,.75*y,a,.5*y,.75*a,.55*y,.95*a)).add(new go.PathSegment(go.PathSegment.Line,.25*y,a)).add(new go.PathSegment(go.PathSegment.Bezier,.45*y,.7*a,.45*y,.95*a,.5*y,.75*a)).add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,.4*y,.8*a,0,.8*a)).add(new go.PathSegment(go.PathSegment.Bezier,.49*y,.01*a,0,.25*a,.4*y,.2*a).close())).setSpots(.14,.26,.86,.78)}),go.Shape.defineFigureGenerator("Club",function(ae,y,a){var b=new go.Geometry,E=new go.PathFigure(.4*y,.6*a,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Bezier,.15*y,a,.5*y,.75*a,.45*y,.95*a)),E.add(new go.PathSegment(go.PathSegment.Line,.85*y,a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.6*y,.6*a,.55*y,.95*a,.5*y,.75*a));var x=.2,ee=.3,ne=0,oe=x*re;return E.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*y,(.5+x+ne)*a,(.5-x+ee)*y,(.5+oe+ne)*a,(.5-oe+ee)*y,(.5+x+ne)*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+x+ee)*y,(.5+ne)*a,(.5+oe+ee)*y,(.5+x+ne)*a,(.5+x+ee)*y,(.5+oe+ne)*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*y,(.5-x+ne)*a,(1-.5+x+ee)*y,(.5-oe+ne)*a,(.5+oe+ee)*y,(.5-x+ne)*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.65*y,.36771243*a,(.5-oe+ee)*y,(.5-x+ne)*a,(.5-x+ee+.05)*y,(.5-oe+ne-.02)*a)),x=.2,ee=0,ne=-.3,oe=x*re,E.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+x+ee)*y,(.5+ne)*a,(.5+oe+ee)*y,(.5+x+ne)*a,(.5+x+ee)*y,(.5+oe+ne)*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*y,(.5-x+ne)*a,(1-.5+x+ee)*y,(.5-oe+ne)*a,(.5+oe+ee)*y,(.5-x+ne)*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5-x+ee)*y,(.5+ne)*a,(.5-oe+ee)*y,(.5-x+ne)*a,(.5-x+ee)*y,(.5-oe+ne)*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5-oe+ee)*y,(.5+x+ne)*a,(.5-x+ee)*y,(.5+oe+ne)*a,(.5-oe+ee)*y,(.5+x+ne)*a)),x=.2,ee=-.3,ne=0,oe=x*re,E.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*y,(.5-x+ne)*a,(1-.5+x+ee-.05)*y,(.5-oe+ne-.02)*a,(.5+oe+ee)*y,(.5-x+ne)*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5-x+ee)*y,(.5+ne)*a,(.5-oe+ee)*y,(.5-x+ne)*a,(.5-x+ee)*y,(.5-oe+ne)*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*y,(.5+x+ne)*a,(.5-x+ee)*y,(.5+oe+ne)*a,(.5-oe+ee)*y,(.5+x+ne)*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.4*y,.6*a,(.5+oe+ee)*y,(.5+x+ne)*a,(.5+x+ee)*y,(.5+oe+ne)*a).close()),b.setSpots(.06,.33,.93,.68),b}),go.Shape.defineFigureGenerator("YinYang",function(ae,y,a){var b=new go.Geometry,E=new go.PathFigure(y*.5,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Arc,270,180,y*.5,y*.5,y*.5,y*.5)),E.add(new go.PathSegment(go.PathSegment.Arc,90,-180,y*.5,y*.75,y*.25,y*.25)),E.add(new go.PathSegment(go.PathSegment.Arc,90,180,y*.5,y*.25,y*.25,y*.25));var x=.1,ee=.5,ne=.25;return E.add(new go.PathSegment(go.PathSegment.Move,(ee+x)*y,ne*a)),E.add(new go.PathSegment(go.PathSegment.Arc,0,-360,y*ee,a*ne,x*y,x*y).close()),E=new go.PathFigure(y*.5,0,!1),b.add(E),E.add(new go.PathSegment(go.PathSegment.Arc,270,-180,y*.5,y*.5,y*.5,y*.5)),ne=.75,E=new go.PathFigure((ee+x)*y,ne*a,!0),b.add(E),E.add(new go.PathSegment(go.PathSegment.Arc,0,360,y*ee,a*ne,x*y,x*y).close()),b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("Peace",function(ae,y,a){var b=.8535533905932737,E=.5*y,x=.5*a;return new go.Geometry().add(new go.PathFigure(E,0,!1).add(new go.PathSegment(go.PathSegment.Arc,270,360,E,x,E,x)).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Move,E,x)).add(new go.PathSegment(go.PathSegment.Line,(1-b)*y,b*a)).add(new go.PathSegment(go.PathSegment.Move,E,x)).add(new go.PathSegment(go.PathSegment.Line,b*y,b*a)))}),go.Shape.defineFigureGenerator("NotAllowed",function(ae,y,a){var b=new go.Geometry,E=re*.5,x=.5,ee=.5,ne=.5,oe=new go.PathFigure(ee*y,(ne-x)*a);b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,(ee-x)*y,ne*a,(ee-E)*y,(ne-x)*a,(ee-x)*y,(ne-E)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,ee*y,(ne+x)*a,(ee-x)*y,(ne+E)*a,(ee-E)*y,(ne+x)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+x)*y,ne*a,(ee+E)*y,(ne+x)*a,(ee+x)*y,(ne+E)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,ee*y,(ne-x)*a,(ee+x)*y,(ne-E)*a,(ee+E)*y,(ne-x)*a)),x=.4,E=re*.4;var le=z(),ue=z(),ge=z(),Ce=z();je(ee,ne-x,ee+E,ne-x,ee+x,ne-E,ee+x,ne,.42,le,ue,ge,Ce,Ce);var pe=z(),Be=z(),de=z();je(ee,ne-x,ee+E,ne-x,ee+x,ne-E,ee+x,ne,.58,Ce,Ce,de,pe,Be);var et=z(),Oe=z(),Ge=z();je(ee,ne+x,ee-E,ne+x,ee-x,ne+E,ee-x,ne,.42,et,Oe,Ge,Ce,Ce);var Pe=z(),ke=z(),ot=z();return je(ee,ne+x,ee-E,ne+x,ee-x,ne+E,ee-x,ne,.58,Ce,Ce,ot,Pe,ke),oe.add(new go.PathSegment(go.PathSegment.Move,ot.x*y,ot.y*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(ee-x)*y,ne*a,Pe.x*y,Pe.y*a,ke.x*y,ke.y*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,ee*y,(ne-x)*a,(ee-x)*y,(ne-E)*a,(ee-E)*y,(ne-x)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,ge.x*y,ge.y*a,le.x*y,le.y*a,ue.x*y,ue.y*a)),oe.add(new go.PathSegment(go.PathSegment.Line,ot.x*y,ot.y*a).close()),oe.add(new go.PathSegment(go.PathSegment.Move,Ge.x*y,Ge.y*a)),oe.add(new go.PathSegment(go.PathSegment.Line,de.x*y,de.y*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+x)*y,ne*a,pe.x*y,pe.y*a,Be.x*y,Be.y*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,ee*y,(ne+x)*a,(ee+x)*y,(ne+E)*a,(ee+E)*y,(ne+x)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,Ge.x*y,Ge.y*a,et.x*y,et.y*a,Oe.x*y,Oe.y*a).close()),ie(le),ie(ue),ie(ge),ie(Ce),ie(pe),ie(Be),ie(de),ie(et),ie(Oe),ie(Ge),ie(Pe),ie(ke),ie(ot),b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("Fragile",function(ae,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.25*y,0)).add(new go.PathSegment(go.PathSegment.Line,.2*y,.15*a)).add(new go.PathSegment(go.PathSegment.Line,.3*y,.25*a)).add(new go.PathSegment(go.PathSegment.Line,.29*y,.33*a)).add(new go.PathSegment(go.PathSegment.Line,.35*y,.25*a)).add(new go.PathSegment(go.PathSegment.Line,.3*y,.15*a)).add(new go.PathSegment(go.PathSegment.Line,.4*y,0)).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Bezier,.55*y,.5*a,y,.25*a,.75*y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.55*y,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.7*y,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.7*y,a)).add(new go.PathSegment(go.PathSegment.Line,.3*y,a)).add(new go.PathSegment(go.PathSegment.Line,.3*y,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.45*y,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.45*y,.5*a)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*y,.5*a,0,.25*a).close()))}),go.Shape.setFigureParameter("HourGlass",0,new xt("Thickness",30)),go.Shape.defineFigureGenerator("HourGlass",function(ae,y,a){var b=ae?ae.parameter1:NaN;(isNaN(b)||b<0)&&(b=30),b>y&&(b=y);var E=(y-b)/2,x=E+b;return new go.Geometry().add(new go.PathFigure(x,.5*a).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a)).add(new go.PathSegment(go.PathSegment.Line,E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,0,0)).add(new go.PathSegment(go.PathSegment.Line,y,0).close()))}),go.Shape.defineFigureGenerator("Lightning",function(ae,y,a){return new go.Geometry().add(new go.PathFigure(0,.55*a).add(new go.PathSegment(go.PathSegment.Line,.6*y,0)).add(new go.PathSegment(go.PathSegment.Line,.3*y,.45*a)).add(new go.PathSegment(go.PathSegment.Line,y,.45*a)).add(new go.PathSegment(go.PathSegment.Line,.4*y,a)).add(new go.PathSegment(go.PathSegment.Line,.7*y,.55*a).close()))}),go.Shape.defineFigureGenerator("GenderMale",function(ae,y,a){var b=new go.Geometry,E=re*.4,x=.4,ee=.5,ne=.5,oe=z(),le=z(),ue=z(),ge=z(),Ce=new go.PathFigure((ee-x)*y,ne*a,!1);b.add(Ce),Ce.add(new go.PathSegment(go.PathSegment.Bezier,ee*y,(ne-x)*a,(ee-x)*y,(ne-E)*a,(ee-E)*y,(ne-x)*a)),je(ee,ne-x,ee+E,ne-x,ee+x,ne-E,ee+x,ne,.44,ue,ge,le,oe,oe),Ce.add(new go.PathSegment(go.PathSegment.Bezier,le.x*y,le.y*a,ue.x*y,ue.y*a,ge.x*y,ge.y*a));var pe=te(le.x,le.y);je(ee,ne-x,ee+E,ne-x,ee+x,ne-E,ee+x,ne,.56,oe,oe,le,ue,ge);var Be=te(le.x,le.y);Ce.add(new go.PathSegment(go.PathSegment.Line,(pe.x*.1+.95*.9)*y,pe.y*.1*a)),Ce.add(new go.PathSegment(go.PathSegment.Line,.85*y,pe.y*.1*a)),Ce.add(new go.PathSegment(go.PathSegment.Line,.85*y,0)),Ce.add(new go.PathSegment(go.PathSegment.Line,y,0)),Ce.add(new go.PathSegment(go.PathSegment.Line,y,.15*a)),Ce.add(new go.PathSegment(go.PathSegment.Line,(Be.x*.1+.9)*y,.15*a)),Ce.add(new go.PathSegment(go.PathSegment.Line,(Be.x*.1+.9)*y,(Be.y*.1+.05*.9)*a)),Ce.add(new go.PathSegment(go.PathSegment.Line,Be.x*y,Be.y*a)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,(ee+x)*y,ne*a,ue.x*y,ue.y*a,ge.x*y,ge.y*a)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,ee*y,(ne+x)*a,(ee+x)*y,(ne+E)*a,(ee+E)*y,(ne+x)*a)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,(ee-x)*y,ne*a,(ee-E)*y,(ne+x)*a,(ee-x)*y,(ne+E)*a)),x=.35,E=re*.35;var de=new go.PathFigure(ee*y,(ne-x)*a,!1);b.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,(ee-x)*y,ne*a,(ee-E)*y,(ne-x)*a,(ee-x)*y,(ne-E)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,ee*y,(ne+x)*a,(ee-x)*y,(ne+E)*a,(ee-E)*y,(ne+x)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,(ee+x)*y,ne*a,(ee+E)*y,(ne+x)*a,(ee+x)*y,(ne+E)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,ee*y,(ne-x)*a,(ee+x)*y,(ne-E)*a,(ee+E)*y,(ne-x)*a));var et=new go.PathFigure((ee-x)*y,ne*a,!1);return b.add(et),ie(oe),ie(le),ie(ue),ie(ge),ie(pe),ie(Be),b.spot1=new go.Spot(.202,.257),b.spot2=new go.Spot(.792,.739),b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("GenderFemale",function(ae,y,a){var b=new go.Geometry,E=.375,x=0,ee=-.125,ne=E*re,oe=new go.PathFigure((.525+x)*y,(.5+E+ee)*a,!1);b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+E+x)*y,(.5+ee)*a,(.5+ne+x)*y,(.5+E+ee)*a,(.5+E+x)*y,(.5+ne+ee)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(.5+x)*y,(.5-E+ee)*a,(1-.5+E+x)*y,(.5-ne+ee)*a,(.5+ne+x)*y,(.5-E+ee)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(.5-E+x)*y,(.5+ee)*a,(.5-ne+x)*y,(.5-E+ee)*a,(.5-E+x)*y,(.5-ne+ee)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(.475+x)*y,(.5+E+ee)*a,(.5-E+x)*y,(.5+ne+ee)*a,(.5-ne+x)*y,(.5+E+ee)*a)),oe.add(new go.PathSegment(go.PathSegment.Line,.475*y,.85*a)),oe.add(new go.PathSegment(go.PathSegment.Line,.425*y,.85*a)),oe.add(new go.PathSegment(go.PathSegment.Line,.425*y,.9*a)),oe.add(new go.PathSegment(go.PathSegment.Line,.475*y,.9*a)),oe.add(new go.PathSegment(go.PathSegment.Line,.475*y,a)),oe.add(new go.PathSegment(go.PathSegment.Line,.525*y,a)),oe.add(new go.PathSegment(go.PathSegment.Line,.525*y,.9*a)),oe.add(new go.PathSegment(go.PathSegment.Line,.575*y,.9*a)),oe.add(new go.PathSegment(go.PathSegment.Line,.575*y,.85*a)),oe.add(new go.PathSegment(go.PathSegment.Line,.525*y,.85*a).close()),E=.325,x=0,ee=-.125,ne=E*re;var oe=new go.PathFigure((1-.5+E+x)*y,(.5+ee)*a,!1);b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,(.5+x)*y,(.5+E+ee)*a,(.5+E+x)*y,(.5+ne+ee)*a,(.5+ne+x)*y,(.5+E+ee)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(.5-E+x)*y,(.5+ee)*a,(.5-ne+x)*y,(.5+E+ee)*a,(.5-E+x)*y,(.5+ne+ee)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(.5+x)*y,(.5-E+ee)*a,(.5-E+x)*y,(.5-ne+ee)*a,(.5-ne+x)*y,(.5-E+ee)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+E+x)*y,(.5+ee)*a,(.5+ne+x)*y,(.5-E+ee)*a,(1-.5+E+x)*y,(.5-ne+ee)*a));var oe=new go.PathFigure((.525+x)*y,(.5+E+ee)*a,!1);return b.add(oe),b.spot1=new go.Spot(.232,.136),b.spot2=new go.Spot(.682,.611),b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("LogicImplies",function(ae,y,a){var b=ae?ae.parameter1:NaN;return isNaN(b)&&(b=.2),new go.Geometry().add(new go.PathFigure((1-b)*y,0,!1).add(new go.PathSegment(go.PathSegment.Line,y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,(1-b)*y,a)).add(new go.PathSegment(go.PathSegment.Move,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,y,.5*a))).setSpots(0,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicIff",function(ae,y,a){var b=ae?ae.parameter1:NaN;return isNaN(b)&&(b=.2),new go.Geometry().add(new go.PathFigure((1-b)*y,0,!1).add(new go.PathSegment(go.PathSegment.Line,y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,(1-b)*y,a)).add(new go.PathSegment(go.PathSegment.Move,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,y,.5*a)).add(new go.PathSegment(go.PathSegment.Move,b*y,0)).add(new go.PathSegment(go.PathSegment.Line,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,b*y,a))).setSpots(.2,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicNot",function(ae,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)))}),go.Shape.defineFigureGenerator("LogicAnd",function(ae,y,a){return new go.Geometry().add(new go.PathFigure(0,a,!1).add(new go.PathSegment(go.PathSegment.Line,.5*y,0)).add(new go.PathSegment(go.PathSegment.Line,y,a))).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("LogicOr",function(ae,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*y,a)).add(new go.PathSegment(go.PathSegment.Line,y,0))).setSpots(.219,0,.78,.409)}),go.Shape.defineFigureGenerator("LogicXor",function(ae,y,a){var b=new go.Geometry().add(new go.PathFigure(.5*y,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*y,a)).add(new go.PathSegment(go.PathSegment.Move,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,y,.5*a)).add(new go.PathSegment(go.PathSegment.Arc,0,360,.5*y,.5*a,.5*y,.5*a)));return b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("LogicTruth",function(ae,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Move,.5*y,0)).add(new go.PathSegment(go.PathSegment.Line,.5*y,a)))}),go.Shape.defineFigureGenerator("LogicFalsity",function(ae,y,a){return new go.Geometry().add(new go.PathFigure(0,a,!1).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Move,.5*y,a)).add(new go.PathSegment(go.PathSegment.Line,.5*y,0)))}),go.Shape.defineFigureGenerator("LogicThereExists",function(ae,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,0,.5*a)).add(new go.PathSegment(go.PathSegment.Move,y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a)))}),go.Shape.defineFigureGenerator("LogicForAll",function(ae,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*y,a)).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Move,.25*y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.75*y,.5*a))).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("LogicIsDefinedAs",function(ae,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Move,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,y,.5*a)).add(new go.PathSegment(go.PathSegment.Move,0,a)).add(new go.PathSegment(go.PathSegment.Line,y,a))).setSpots(.01,.01,.99,.49)}),go.Shape.defineFigureGenerator("LogicIntersect",function(ae,y,a){var b=.5;return new go.Geometry().add(new go.PathFigure(0,a,!1).add(new go.PathSegment(go.PathSegment.Line,0,b*a)).add(new go.PathSegment(go.PathSegment.Arc,180,180,b*y,b*a,b*y,b*a)).add(new go.PathSegment(go.PathSegment.Line,y,a))).setSpots(0,.5,1,1)}),go.Shape.defineFigureGenerator("LogicUnion",function(ae,y,a){var b=.5;return new go.Geometry().add(new go.PathFigure(y,0,!1).add(new go.PathSegment(go.PathSegment.Line,y,b*a)).add(new go.PathSegment(go.PathSegment.Arc,0,180,b*y,b*a,b*y,b*a)).add(new go.PathSegment(go.PathSegment.Line,0,0))).setSpots(0,0,1,.5)}),go.Shape.setFigureParameter("Arrow",0,new xt("ArrowheadWidth",.3,.01,.99)),go.Shape.setFigureParameter("Arrow",1,new xt("TailHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("Arrow",function(ae,y,a){var b=ae?ae.parameter1:NaN;isNaN(b)&&(b=.3);var E=ae?ae.parameter2:NaN;isNaN(E)&&(E=.3);var x=(1-b)*y,ee=(.5-E/2)*a,ne=(.5+E/2)*a,oe=new go.Geometry,le=new go.PathFigure(0,ee,!0);oe.add(le),le.add(new go.PathSegment(go.PathSegment.Line,x,ee)),le.add(new go.PathSegment(go.PathSegment.Line,x,0)),le.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),le.add(new go.PathSegment(go.PathSegment.Line,x,a)),le.add(new go.PathSegment(go.PathSegment.Line,x,ne)),le.add(new go.PathSegment(go.PathSegment.Line,0,ne).close()),oe.spot1=new go.Spot(0,ee/a);var ue=Ae(0,ne/a,1,ne/a,x/y,1,1,.5,z());return oe.spot2=new go.Spot(ue.x,ue.y),ie(ue),oe}),go.Shape.setFigureParameter("Arrow2",0,new xt("ArrowheadWidth",30)),go.Shape.setFigureParameter("Arrow2",0,new xt("TailHeight",30)),go.Shape.defineFigureGenerator("Arrow2",function(ae,y,a){var b=ae?ae.parameter1:NaN;isNaN(b)&&(b=30),b>y&&(b=y);var E=ae?ae.parameter2:NaN;isNaN(E)&&(E=30),E=Math.min(E,a/2);var x=y-b,ee=(a-E)/2,ne=ee+E,oe=new go.Geometry,le=new go.PathFigure(0,ee,!0);oe.add(le),le.add(new go.PathSegment(go.PathSegment.Line,x,ee)),le.add(new go.PathSegment(go.PathSegment.Line,x,0)),le.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),le.add(new go.PathSegment(go.PathSegment.Line,x,a)),le.add(new go.PathSegment(go.PathSegment.Line,x,ne)),le.add(new go.PathSegment(go.PathSegment.Line,0,ne).close()),oe.spot1=new go.Spot(0,ee/a);var ue=Ae(0,ne/a,1,ne/a,x/y,1,1,.5,z());return oe.spot2=new go.Spot(ue.x,ue.y),ie(ue),oe}),go.Shape.defineFigureGenerator("Chevron",function(ae,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a).close()),b}),go.Shape.defineFigureGenerator("DoubleArrow",function(ae,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.3*y,.214*a)),E.add(new go.PathSegment(go.PathSegment.Line,.3*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,1*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.3*y,1*a)),E.add(new go.PathSegment(go.PathSegment.Line,.3*y,.786*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,1*a).close()),b}),go.Shape.setFigureParameter("DoubleEndArrow",0,new xt("ConnecterHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("DoubleEndArrow",function(ae,y,a){var b=ae?ae.parameter1:NaN;isNaN(b)&&(b=.3);var E=(.5-b/2)*a,x=(.5+b/2)*a,ee=new go.Geometry,ne=new go.PathFigure(y,.5*a,!0);ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.7*y,a)),ne.add(new go.PathSegment(go.PathSegment.Line,.7*y,x)),ne.add(new go.PathSegment(go.PathSegment.Line,.3*y,x)),ne.add(new go.PathSegment(go.PathSegment.Line,.3*y,a)),ne.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.3*y,0)),ne.add(new go.PathSegment(go.PathSegment.Line,.3*y,E)),ne.add(new go.PathSegment(go.PathSegment.Line,.7*y,E)),ne.add(new go.PathSegment(go.PathSegment.Line,.7*y,0).close());var oe=Ae(0,.5,.3,0,0,E/a,.1,E/a,z());return ee.spot1=new go.Spot(oe.x,oe.y),oe=Ae(.7,1,1,.5,0,x/a,1,x/a,oe),ee.spot2=new go.Spot(oe.x,oe.y),ie(oe),ee}),go.Shape.setFigureParameter("DoubleEndArrow2",0,new xt("ConnecterHeight",40)),go.Shape.setFigureParameter("DoubleEndArrow2",1,new xt("ArrowHeight",100)),go.Shape.defineFigureGenerator("DoubleEndArrow2",function(ae,y,a){var b=ae?ae.parameter1:NaN;isNaN(b)&&(b=40);var E=ae?ae.parameter2:NaN;isNaN(E)&&(E=100);var x=(a-b)/2,ee=x+b,ne=(a-E)/2,oe=ne+E;(b>a||E>a)&&(E>b?(b=b*a/E,x=(a-b)/2,ee=x+b,ne=0,oe=a):(x=0,ee=a,ne=0,oe=a));var le=new go.Geometry,ue=new go.PathFigure(y,.5*a,!0);le.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,.7*y,oe)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*y,ee)),ue.add(new go.PathSegment(go.PathSegment.Line,.3*y,ee)),ue.add(new go.PathSegment(go.PathSegment.Line,.3*y,oe)),ue.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),ue.add(new go.PathSegment(go.PathSegment.Line,.3*y,ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.3*y,x)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*y,x)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*y,ne).close());var ge=Ae(0,.5,.3,ne/a,0,x/a,1,x/a,z());return le.spot1=new go.Spot(ge.x,ge.y),ge=Ae(.7,oe/a,1,.5,0,ee/a,1,ee/a,ge),le.spot2=new go.Spot(ge.x,ge.y),ie(ge),le}),go.Shape.setFigureParameter("IBeamArrow",0,new xt("ConnectorHeight",.7,.51,.97)),go.Shape.defineFigureGenerator("IBeamArrow",function(ae,y,a){var b=ae?ae.parameter1:NaN;isNaN(b)&&(b=.3);var E=(.5-b/2)*a,x=(.5+b/2)*a,ee=new go.Geometry,ne=new go.PathFigure(y,.5*a,!0);ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.7*y,a)),ne.add(new go.PathSegment(go.PathSegment.Line,.7*y,x)),ne.add(new go.PathSegment(go.PathSegment.Line,.2*y,x)),ne.add(new go.PathSegment(go.PathSegment.Line,.2*y,a)),ne.add(new go.PathSegment(go.PathSegment.Line,0,a)),ne.add(new go.PathSegment(go.PathSegment.Line,0,0)),ne.add(new go.PathSegment(go.PathSegment.Line,.2*y,0)),ne.add(new go.PathSegment(go.PathSegment.Line,.2*y,E)),ne.add(new go.PathSegment(go.PathSegment.Line,.7*y,E)),ne.add(new go.PathSegment(go.PathSegment.Line,.7*y,0).close()),ee.spot1=new go.Spot(0,E/a);var oe=Ae(.7,1,1,.5,0,x/a,1,x/a,z());return ee.spot2=new go.Spot(oe.x,oe.y),ie(oe),ee}),go.Shape.setFigureParameter("IBeamArrow2",0,new xt("ConnectorHeight",40)),go.Shape.setFigureParameter("IBeamArrow2",1,new xt("BeamArrowHeight",100)),go.Shape.defineFigureGenerator("IBeamArrow2",function(ae,y,a){var b=ae?ae.parameter1:NaN;isNaN(b)&&(b=40);var E=ae?ae.parameter2:NaN;isNaN(E)&&(E=100);var x=(a-b)/2,ee=x+b,ne=(a-E)/2,oe=ne+E;(b>a||E>a)&&(E>b?(b=b*a/E,x=(a-b)/2,ee=x+b,ne=0,oe=a):(x=0,ee=a,ne=0,oe=a));var le=new go.Geometry,ue=new go.PathFigure(y,.5*a,!0);le.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,.7*y,oe)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*y,ee)),ue.add(new go.PathSegment(go.PathSegment.Line,.2*y,ee)),ue.add(new go.PathSegment(go.PathSegment.Line,.2*y,oe)),ue.add(new go.PathSegment(go.PathSegment.Line,0,oe)),ue.add(new go.PathSegment(go.PathSegment.Line,0,ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.2*y,ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.2*y,x)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*y,x)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*y,ne).close()),le.spot1=new go.Spot(0,x/a);var ge=Ae(.7,oe/a,1,.5,0,ee/a,1,ee/a,z());return le.spot2=new go.Spot(ge.x,ge.y),ie(ge),le}),go.Shape.setFigureParameter("Pointer",0,new xt("BackPoint",.1,0,.2)),go.Shape.defineFigureGenerator("Pointer",function(ae,y,a){var b=ae?ae.parameter1:NaN;isNaN(b)&&(b=.1);var E=new go.Geometry,x=new go.PathFigure(y,.5*a,!0);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,0,a)),x.add(new go.PathSegment(go.PathSegment.Line,b*y,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,0).close()),E.spot1=new go.Spot(b,.35);var ee=Ae(.2,.65,1,.65,0,1,1,.5,z());return E.spot2=new go.Spot(ee.x,ee.y),ie(ee),E}),go.Shape.setFigureParameter("RoundedPointer",0,new xt("RoundedEdge",.3,0,.5)),go.Shape.defineFigureGenerator("RoundedPointer",function(ae,y,a){var b=ae?ae.parameter1:NaN;isNaN(b)&&(b=.3);var E=new go.Geometry,x=new go.PathFigure(y,.5*a,!0);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,0,a)),x.add(new go.PathSegment(go.PathSegment.Bezier,0,0,b*y,.75*a,b*y,.25*a).close()),E.spot1=new go.Spot(b,.35);var ee=Ae(0,.65,1,.65,0,1,1,.5,z());return E.spot2=new go.Spot(ee.x,ee.y),ie(ee),E}),go.Shape.setFigureParameter("SplitEndArrow",0,new xt("TailHeight",.4,.01,.99)),go.Shape.defineFigureGenerator("SplitEndArrow",function(ae,y,a){var b=ae?ae.parameter1:NaN;isNaN(b)&&(b=.4);var E=(.5-b/2)*a,x=(.5+b/2)*a,ee=new go.Geometry,ne=new go.PathFigure(y,.5*a,!0);ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.7*y,a)),ne.add(new go.PathSegment(go.PathSegment.Line,.7*y,x)),ne.add(new go.PathSegment(go.PathSegment.Line,0,x)),ne.add(new go.PathSegment(go.PathSegment.Line,.2*y,.5*a)),ne.add(new go.PathSegment(go.PathSegment.Line,0,E)),ne.add(new go.PathSegment(go.PathSegment.Line,.7*y,E)),ne.add(new go.PathSegment(go.PathSegment.Line,.7*y,0).close()),ee.spot1=new go.Spot(.2,.3);var oe=Ae(.7,1,1,.5,0,x/a,1,x/a,z());return ee.spot2=new go.Spot(oe.x,oe.y),ie(oe),ee}),go.Shape.setFigureParameter("SplitEndArrow2",0,new xt("TailThickness",50)),go.Shape.defineFigureGenerator("SplitEndArrow2",function(ae,y,a){var b=ae?ae.parameter1:NaN;isNaN(b)&&(b=50);var E=(a-b)/2,x=E+b;b>a&&(E=0,x=a);var ee=new go.Geometry,ne=new go.PathFigure(y,.5*a,!0);ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.7*y,a)),ne.add(new go.PathSegment(go.PathSegment.Line,.7*y,x)),ne.add(new go.PathSegment(go.PathSegment.Line,0,x)),ne.add(new go.PathSegment(go.PathSegment.Line,.2*y,.5*a)),ne.add(new go.PathSegment(go.PathSegment.Line,0,E)),ne.add(new go.PathSegment(go.PathSegment.Line,.7*y,E)),ne.add(new go.PathSegment(go.PathSegment.Line,.7*y,0).close()),ee.spot1=new go.Spot(.2,E/a);var oe=Ae(.7,1,1,.5,0,x/a,1,x/a,z());return ee.spot2=new go.Spot(oe.x,oe.y),ie(oe),ee}),go.Shape.setFigureParameter("SquareArrow",0,new xt("ArrowPoint",.7,.2,.9)),go.Shape.defineFigureGenerator("SquareArrow",function(ae,y,a){var b=ae?ae.parameter1:NaN;isNaN(b)&&(b=.7);var E=new go.Geometry,x=new go.PathFigure(y,.5*a,!0);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,b*y,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,0)),x.add(new go.PathSegment(go.PathSegment.Line,b*y,0).close()),E.spot1=go.Spot.TopLeft,E.spot2=new go.Spot(b,1),E}),go.Shape.defineFigureGenerator("Cone1",function(ae,y,a){var b=new go.Geometry,E=re*.5,x=re*.1,ee=new go.PathFigure(0,.9*a,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),ee.add(new go.PathSegment(go.PathSegment.Line,y,.9*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,y,(.9+x)*a,(.5+E)*y,a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,(.5-E)*y,a,0,(.9+x)*a).close()),b.spot1=new go.Spot(.25,.5),b.spot2=new go.Spot(.75,.97),b}),go.Shape.defineFigureGenerator("Cone2",function(ae,y,a){var b=new go.Geometry,E=new go.PathFigure(0,.9*a,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Bezier,y,.9*a,(1-.85/.9)*y,a,.85/.9*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,0,.9*a).close());var x=new go.PathFigure(0,.9*a,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Bezier,y,.9*a,(1-.85/.9)*y,.8*a,.85/.9*y,.8*a)),b.spot1=new go.Spot(.25,.5),b.spot2=new go.Spot(.75,.82),b}),go.Shape.defineFigureGenerator("Cube1",function(ae,y,a){var b=new go.Geometry,E=new go.PathFigure(.5*y,a,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,.85*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.15*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,0,.15*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.85*a).close());var x=new go.PathFigure(.5*y,a,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*y,.3*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,.15*a)),x.add(new go.PathSegment(go.PathSegment.Move,.5*y,.3*a)),x.add(new go.PathSegment(go.PathSegment.Line,y,.15*a)),b.spot1=new go.Spot(0,.3),b.spot2=new go.Spot(.5,.85),b}),go.Shape.defineFigureGenerator("Cube2",function(ae,y,a){var b=new go.Geometry,E=new go.PathFigure(0,.3*a,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,.7*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.7*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.3*y,0).close());var x=new go.PathFigure(0,.3*a,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.7*y,.3*a)),x.add(new go.PathSegment(go.PathSegment.Line,y,0)),x.add(new go.PathSegment(go.PathSegment.Move,.7*y,.3*a)),x.add(new go.PathSegment(go.PathSegment.Line,.7*y,a)),b.spot1=new go.Spot(0,.3),b.spot2=new go.Spot(.7,1),b}),go.Shape.defineFigureGenerator("Cylinder1",function(ae,y,a){var b=ae?ae.parameter1:NaN;isNaN(b)&&(b=5),b=Math.min(b,a/3);var E=new go.Geometry,x=re*.5,ee=new go.PathFigure(0,b,!0);E.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,0,re*b,(.5-x)*y,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,1*y,b,(.5+x)*y,0,1*y,re*b)),ee.add(new go.PathSegment(go.PathSegment.Line,y,a-b)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,1*a,1*y,a-re*b,(.5+x)*y,1*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,a-b,(.5-x)*y,1*a,0,a-re*b)),ee.add(new go.PathSegment(go.PathSegment.Line,0,b));var ne=new go.PathFigure(y,b,!1);return E.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,2*b,1*y,2*b-re*b,(.5+x)*y,2*b)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,b,(.5-x)*y,2*b,0,2*b-re*b)),E.spot1=new go.Spot(0,0,0,2*b),E.spot2=new go.Spot(1,1),E}),go.Shape.defineFigureGenerator("Cylinder2",function(ae,y,a){var b=ae?ae.parameter1:NaN;isNaN(b)&&(b=5),b=Math.min(b,a/3);var E=new go.Geometry,x=re*.5,ee=new go.PathFigure(0,a-b,!0);E.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,0,b)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,0,re*b,(.5-x)*y,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,y,b,(.5+x)*y,0,y,re*b)),ee.add(new go.PathSegment(go.PathSegment.Line,y,a-b)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,y,a-re*b,(.5+x)*y,a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,a-b,(.5-x)*y,a,0,a-re*b));var ne=new go.PathFigure(0,a-b,!1);return E.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a-2*b,0,a-b-re*b,(.5-x)*y,a-2*b)),ne.add(new go.PathSegment(go.PathSegment.Bezier,y,a-b,(.5+x)*y,a-2*b,y,a-b-re*b)),E.spot1=new go.Spot(0,0),E.spot2=new go.Spot(1,1,0,-2*b),E}),go.Shape.defineFigureGenerator("Cylinder3",function(ae,y,a){var b=ae?ae.parameter1:NaN;isNaN(b)&&(b=5),b=Math.min(b,y/3);var E=new go.Geometry,x=re*.5,ee=new go.PathFigure(b,0,!0);E.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,y-b,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,y-re*b,0,y,(.5-x)*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,y-b,a,y,(.5+x)*a,y-re*b,a)),ee.add(new go.PathSegment(go.PathSegment.Line,b,a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,re*b,a,0,(.5+x)*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,b,0,0,(.5-x)*a,re*b,0));var ne=new go.PathFigure(b,0,!1);return E.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,2*b,.5*a,b+re*b,0,2*b,(.5-x)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,b,a,2*b,(.5+x)*a,b+re*b,a)),E.spot1=new go.Spot(0,0,2*b,0),E.spot2=new go.Spot(1,1),E}),go.Shape.defineFigureGenerator("Cylinder4",function(ae,y,a){var b=ae?ae.parameter1:NaN;isNaN(b)&&(b=5),b=Math.min(b,y/3);var E=new go.Geometry,x=re*.5,ee=new go.PathFigure(y-b,0,!0);E.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,y-re*b,0,y,(.5-x)*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,y-b,a,y,(.5+x)*a,y-re*b,a)),ee.add(new go.PathSegment(go.PathSegment.Line,b,a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,re*b,a,0,(.5+x)*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,b,0,0,(.5-x)*a,re*b,0)),ee.add(new go.PathSegment(go.PathSegment.Line,y-b,0));var ne=new go.PathFigure(y-b,0,!1);return E.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,y-2*b,.5*a,y-b-re*b,0,y-2*b,(.5-x)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,y-b,a,y-2*b,(.5+x)*a,y-b-re*b,a)),E.spot1=new go.Spot(0,0),E.spot2=new go.Spot(1,1,-2*b,0),E}),go.Shape.defineFigureGenerator("Prism1",function(ae,y,a){var b=new go.Geometry,E=new go.PathFigure(.25*y,.25*a,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var x=new go.PathFigure(.25*y,.25*a,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),b.spot1=new go.Spot(.408,.172),b.spot2=new go.Spot(.833,.662),b}),go.Shape.defineFigureGenerator("Prism2",function(ae,y,a){var b=new go.Geometry,E=new go.PathFigure(0,.25*a,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.25*a)),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,.75*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var x=new go.PathFigure(0,a,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.25*y,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,y,.25*a)),x.add(new go.PathSegment(go.PathSegment.Move,0,.25*a)),x.add(new go.PathSegment(go.PathSegment.Line,.25*y,.5*a)),b.spot1=new go.Spot(.25,.5),b.spot2=new go.Spot(.75,.75),b}),go.Shape.defineFigureGenerator("Pyramid1",function(ae,y,a){var b=new go.Geometry,E=new go.PathFigure(.5*y,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,.75*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.75*a).close());var x=new go.PathFigure(.5*y,0,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),b.spot1=new go.Spot(.25,.367),b.spot2=new go.Spot(.75,.875),b}),go.Shape.defineFigureGenerator("Pyramid2",function(ae,y,a){var b=new go.Geometry,E=new go.PathFigure(.5*y,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,.85*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.85*a).close());var x=new go.PathFigure(.5*y,0,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*y,.7*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,.85*a)),x.add(new go.PathSegment(go.PathSegment.Move,.5*y,.7*a)),x.add(new go.PathSegment(go.PathSegment.Line,y,.85*a)),b.spot1=new go.Spot(.25,.367),b.spot2=new go.Spot(.75,.875),b}),go.Shape.defineFigureGenerator("Actor",function(ae,y,a){var b=new go.Geometry,E=.2,x=.1,ee=re*E,ne=re*x,oe=.5,le=.1,ue=new go.PathFigure(oe*y,(le+x)*a,!0);b.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,(oe-E)*y,le*a,(oe-ee)*y,(le+x)*a,(oe-E)*y,(le+ne)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,oe*y,(le-x)*a,(oe-E)*y,(le-ne)*a,(oe-ee)*y,(le-x)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(oe+E)*y,le*a,(oe+ee)*y,(le-x)*a,(oe+E)*y,(le-ne)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,oe*y,(le+x)*a,(oe+E)*y,(le+ne)*a,(oe+ee)*y,(le+x)*a));var ge=.05,Ce=re*ge;oe=.05,le=.25;var pe=new go.PathFigure(.5*y,.2*a,!0);return b.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,.95*y,.2*a)),oe=.95,le=.25,pe.add(new go.PathSegment(go.PathSegment.Bezier,(oe+ge)*y,le*a,(oe+Ce)*y,(le-ge)*a,(oe+ge)*y,(le-Ce)*a)),pe.add(new go.PathSegment(go.PathSegment.Line,y,.6*a)),pe.add(new go.PathSegment(go.PathSegment.Line,.85*y,.6*a)),pe.add(new go.PathSegment(go.PathSegment.Line,.85*y,.35*a)),ge=.025,Ce=re*ge,oe=.825,le=.35,pe.add(new go.PathSegment(go.PathSegment.Bezier,oe*y,(le-ge)*a,(oe+ge)*y,(le-Ce)*a,(oe+Ce)*y,(le-ge)*a)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(oe-ge)*y,le*a,(oe-Ce)*y,(le-ge)*a,(oe-ge)*y,(le-Ce)*a)),pe.add(new go.PathSegment(go.PathSegment.Line,.8*y,a)),pe.add(new go.PathSegment(go.PathSegment.Line,.55*y,a)),pe.add(new go.PathSegment(go.PathSegment.Line,.55*y,.7*a)),ge=.05,Ce=re*ge,oe=.5,le=.7,pe.add(new go.PathSegment(go.PathSegment.Bezier,oe*y,(le-ge)*a,(oe+ge)*y,(le-Ce)*a,(oe+Ce)*y,(le-ge)*a)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(oe-ge)*y,le*a,(oe-Ce)*y,(le-ge)*a,(oe-ge)*y,(le-Ce)*a)),pe.add(new go.PathSegment(go.PathSegment.Line,.45*y,a)),pe.add(new go.PathSegment(go.PathSegment.Line,.2*y,a)),pe.add(new go.PathSegment(go.PathSegment.Line,.2*y,.35*a)),ge=.025,Ce=re*ge,oe=.175,le=.35,pe.add(new go.PathSegment(go.PathSegment.Bezier,oe*y,(le-ge)*a,(oe+ge)*y,(le-Ce)*a,(oe+Ce)*y,(le-ge)*a)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(oe-ge)*y,le*a,(oe-Ce)*y,(le-ge)*a,(oe-ge)*y,(le-Ce)*a)),pe.add(new go.PathSegment(go.PathSegment.Line,.15*y,.6*a)),pe.add(new go.PathSegment(go.PathSegment.Line,0,.6*a)),pe.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),ge=.05,Ce=re*ge,oe=.05,le=.25,pe.add(new go.PathSegment(go.PathSegment.Bezier,oe*y,(le-ge)*a,(oe-ge)*y,(le-Ce)*a,(oe-Ce)*y,(le-ge)*a)),pe.add(new go.PathSegment(go.PathSegment.Line,.5*y,.2*a)),b.spot1=new go.Spot(.2,.2),b.spot2=new go.Spot(.8,.65),b}),go.Shape.setFigureParameter("Card",0,new xt("CornerCutoutSize",.2,.1,.9)),go.Shape.defineFigureGenerator("Card",function(ae,y,a){var b=ae?ae.parameter1:NaN;isNaN(b)&&(b=.2);var E=new go.Geometry,x=new go.PathFigure(y,0,!0);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,b*a)),x.add(new go.PathSegment(go.PathSegment.Line,b*y,0).close()),E.spot1=new go.Spot(0,b),E.spot2=go.Spot.BottomRight,E}),go.Shape.defineFigureGenerator("Collate",function(ae,y,a){var b=new go.Geometry,E=new go.PathFigure(.5*y,.5*a,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a));var x=new go.PathFigure(.5*y,.5*a,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a)),x.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a)),b.spot1=new go.Spot(.25,0),b.spot2=new go.Spot(.75,.25),b}),go.Shape.defineFigureGenerator("CreateRequest",function(ae,y,a){var b=new go.Geometry,E=ae?ae.parameter1:NaN;isNaN(E)&&(E=.1);var x=new go.PathFigure(0,0,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,0)),x.add(new go.PathSegment(go.PathSegment.Line,y,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var ee=new go.PathFigure(0,E*a,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,y,E*a)),ee.add(new go.PathSegment(go.PathSegment.Move,0,(1-E)*a)),ee.add(new go.PathSegment(go.PathSegment.Line,y,(1-E)*a)),b}),go.Shape.defineFigureGenerator("Database",function(ae,y,a){var b=new go.Geometry,E=re*.5,x=re*.1,ee=new go.PathFigure(y,.1*a,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,y,.9*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,y,(.9+x)*a,(.5+E)*y,a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,(.5-E)*y,a,0,(.9+x)*a)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.1*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,0,(.1-x)*a,(.5-E)*y,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,y,.1*a,(.5+E)*y,0,y,(.1-x)*a));var ne=new go.PathFigure(y,.1*a,!1);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.2*a,y,(.1+x)*a,(.5+E)*y,.2*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*a,(.5-E)*y,.2*a,0,(.1+x)*a)),ne.add(new go.PathSegment(go.PathSegment.Move,y,.2*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.3*a,y,(.2+x)*a,(.5+E)*y,.3*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*a,(.5-E)*y,.3*a,0,(.2+x)*a)),ne.add(new go.PathSegment(go.PathSegment.Move,y,.3*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.4*a,y,(.3+x)*a,(.5+E)*y,.4*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.3*a,(.5-E)*y,.4*a,0,(.3+x)*a)),b.spot1=new go.Spot(0,.4),b.spot2=new go.Spot(1,.9),b}),go.Shape.defineFigureGenerator("DataStorage",function(ae,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,.75*y,a,y,0,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*y,.9*a,.25*y,.1*a).close()),b.spot1=new go.Spot(.226,0),b.spot2=new go.Spot(.81,1),b}),go.Shape.defineFigureGenerator("DiskStorage",function(ae,y,a){var b=new go.Geometry,E=re*.5,x=re*.1,ee=new go.PathFigure(y,.1*a,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,y,.9*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,y,(.9+x)*a,(.5+E)*y,a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,(.5-E)*y,a,0,(.9+x)*a)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.1*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,0,(.1-x)*a,(.5-E)*y,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,y,.1*a,(.5+E)*y,0,y,(.1-x)*a));var ne=new go.PathFigure(y,.1*a,!1);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.2*a,y,(.1+x)*a,(.5+E)*y,.2*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*a,(.5-E)*y,.2*a,0,(.1+x)*a)),ne.add(new go.PathSegment(go.PathSegment.Move,y,.2*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.3*a,y,(.2+x)*a,(.5+E)*y,.3*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*a,(.5-E)*y,.3*a,0,(.2+x)*a)),b.spot1=new go.Spot(0,.3),b.spot2=new go.Spot(1,.9),b}),go.Shape.defineFigureGenerator("Display",function(ae,y,a){var b=new go.Geometry,E=new go.PathFigure(.25*y,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,.75*y,a,y,0,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.25*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.5*a).close()),b.spot1=new go.Spot(.25,0),b.spot2=new go.Spot(.75,1),b}),go.Shape.defineFigureGenerator("DividedEvent",function(ae,y,a){var b=new go.Geometry,E=ae?ae.parameter1:NaN;isNaN(E)?E=.2:E<.15&&(E=.15);var x=re*.2,ee=new go.PathFigure(0,.2*a,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,.2*y,0,0,(.2-x)*a,(.2-x)*y,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*y,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,y,.2*a,(.8+x)*y,0,y,(.2-x)*a)),ee.add(new go.PathSegment(go.PathSegment.Line,y,.8*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,a,y,(.8+x)*a,(.8+x)*y,a)),ee.add(new go.PathSegment(go.PathSegment.Line,.2*y,a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.8*a,(.2-x)*y,a,0,(.8+x)*a)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.2*a));var ne=new go.PathFigure(0,E*a,!1);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y,E*a)),b}),go.Shape.defineFigureGenerator("DividedProcess",function(ae,y,a){var b=new go.Geometry,E=ae?ae.parameter1:NaN;(isNaN(E)||E<.1)&&(E=.1);var x=new go.PathFigure(0,0,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,0)),x.add(new go.PathSegment(go.PathSegment.Line,y,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var ee=new go.PathFigure(0,E*a,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,y,E*a)),b}),go.Shape.defineFigureGenerator("Document",function(ae,y,a){var b=new go.Geometry;a=a/.8;var E=new go.PathFigure(0,.7*a,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.7*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.5*y,.4*a,.5*y,a).close()),b.spot1=go.Spot.TopLeft,b.spot2=new go.Spot(1,.6),b}),go.Shape.defineFigureGenerator("ExternalOrganization",function(ae,y,a){var b=new go.Geometry,E=ae?ae.parameter1:NaN;(isNaN(E)||E<.2)&&(E=.2);var x=new go.PathFigure(0,0,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,0)),x.add(new go.PathSegment(go.PathSegment.Line,y,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var ee=new go.PathFigure(E*y,0,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,0,E*a)),ee.add(new go.PathSegment(go.PathSegment.Move,y,E*a)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-E)*y,0)),ee.add(new go.PathSegment(go.PathSegment.Move,0,(1-E)*a)),ee.add(new go.PathSegment(go.PathSegment.Line,E*y,a)),ee.add(new go.PathSegment(go.PathSegment.Move,(1-E)*y,a)),ee.add(new go.PathSegment(go.PathSegment.Line,y,(1-E)*a)),b}),go.Shape.defineFigureGenerator("ExternalProcess",function(ae,y,a){var b=new go.Geometry,E=new go.PathFigure(.5*y,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.5*a).close());var x=new go.PathFigure(.1*y,.4*a,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.1*y,.6*a)),x.add(new go.PathSegment(go.PathSegment.Move,.9*y,.6*a)),x.add(new go.PathSegment(go.PathSegment.Line,.9*y,.4*a)),x.add(new go.PathSegment(go.PathSegment.Move,.6*y,.1*a)),x.add(new go.PathSegment(go.PathSegment.Line,.4*y,.1*a)),x.add(new go.PathSegment(go.PathSegment.Move,.4*y,.9*a)),x.add(new go.PathSegment(go.PathSegment.Line,.6*y,.9*a)),b.spot1=new go.Spot(.25,.25),b.spot2=new go.Spot(.75,.75),b}),go.Shape.defineFigureGenerator("File",function(ae,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.25*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var x=new go.PathFigure(.75*y,0,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.75*y,.25*a)),x.add(new go.PathSegment(go.PathSegment.Line,y,.25*a)),b.spot1=new go.Spot(0,.25),b.spot2=go.Spot.BottomRight,b}),go.Shape.defineFigureGenerator("Interrupt",function(ae,y,a){var b=new go.Geometry,E=new go.PathFigure(y,.5*a,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a));var x=new go.PathFigure(y,.5*a,!1);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,a));var ee=new go.PathFigure(y,.5*a,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.spot1=new go.Spot(0,.25),b.spot2=new go.Spot(.5,.75),b}),go.Shape.defineFigureGenerator("InternalStorage",function(ae,y,a){var b=new go.Geometry,E=ae?ae.parameter1:NaN,x=ae?ae.parameter2:NaN;isNaN(E)&&(E=.1),isNaN(x)&&(x=.1);var ee=new go.PathFigure(0,0,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,y,0)),ee.add(new go.PathSegment(go.PathSegment.Line,y,a)),ee.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var ne=new go.PathFigure(E*y,0,!1);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E*y,a)),ne.add(new go.PathSegment(go.PathSegment.Move,0,x*a)),ne.add(new go.PathSegment(go.PathSegment.Line,y,x*a)),b}),go.Shape.defineFigureGenerator("Junction",function(ae,y,a){var b=new go.Geometry,E=1/Math.SQRT2,x=(1-1/Math.SQRT2)/2,ee=re*.5,ne=.5,oe=new go.PathFigure(y,ne*a,!0);b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,a,y,(ne+ee)*a,(ne+ee)*y,a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,0,ne*a,(ne-ee)*y,a,0,(ne+ee)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,0,0,(ne-ee)*a,(ne-ee)*y,0)),oe.add(new go.PathSegment(go.PathSegment.Bezier,y,ne*a,(ne+ee)*y,0,y,(ne-ee)*a));var le=new go.PathFigure((x+E)*y,(x+E)*a,!1);return b.add(le),le.add(new go.PathSegment(go.PathSegment.Line,x*y,x*a)),le.add(new go.PathSegment(go.PathSegment.Move,x*y,(x+E)*a)),le.add(new go.PathSegment(go.PathSegment.Line,(x+E)*y,x*a)),b}),go.Shape.defineFigureGenerator("LinedDocument",function(ae,y,a){var b=new go.Geometry;a=a/.8;var E=new go.PathFigure(0,.7*a,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.7*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.5*y,.4*a,.5*y,a).close());var x=new go.PathFigure(.1*y,0,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.1*y,.75*a)),b.spot1=new go.Spot(.1,0),b.spot2=new go.Spot(1,.6),b}),go.Shape.defineFigureGenerator("LoopLimit",function(ae,y,a){var b=new go.Geometry,E=new go.PathFigure(0,a,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),E.add(new go.PathSegment(go.PathSegment.Line,.25*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.25*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a).close()),b.spot1=new go.Spot(0,.25),b.spot2=go.Spot.BottomRight,b}),go.Shape.defineFigureGenerator("MagneticTape",function(ae,y,a){var b=new go.Geometry,E=re*.5,x=.5,ee=new go.PathFigure(.5*y,a,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,x*a,(x-E)*y,a,0,(x+E)*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,x*y,0,0,(x-E)*a,(x-E)*y,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,y,x*a,(x+E)*y,0,y,(x-E)*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,(x+.1)*y,.9*a,y,(x+E)*a,(x+E)*y,.9*a)),ee.add(new go.PathSegment(go.PathSegment.Line,y,.9*a)),ee.add(new go.PathSegment(go.PathSegment.Line,y,a)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),b.spot1=new go.Spot(.15,.15),b.spot2=new go.Spot(.85,.8),b}),go.Shape.defineFigureGenerator("ManualInput",function(ae,y,a){var b=new go.Geometry,E=new go.PathFigure(y,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.25*a).close()),b.spot1=new go.Spot(0,.25),b.spot2=go.Spot.BottomRight,b}),go.Shape.defineFigureGenerator("MessageFromUser",function(ae,y,a){var b=new go.Geometry,E=ae?ae.parameter1:NaN;isNaN(E)&&(E=.7);var x=new go.PathFigure(0,0,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,0)),x.add(new go.PathSegment(go.PathSegment.Line,E*y,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,y,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),b.spot1=go.Spot.TopLeft,b}),go.Shape.defineFigureGenerator("MicroformProcessing",function(ae,y,a){var b=new go.Geometry,E=ae?ae.parameter1:NaN;isNaN(E)&&(E=.25);var x=new go.PathFigure(0,0,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*y,E*a)),x.add(new go.PathSegment(go.PathSegment.Line,y,0)),x.add(new go.PathSegment(go.PathSegment.Line,y,a)),x.add(new go.PathSegment(go.PathSegment.Line,.5*y,(1-E)*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),b}),go.Shape.defineFigureGenerator("MicroformRecording",function(ae,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,.25*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.15*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.85*a)),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,.75*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),b.spot1=new go.Spot(0,.25),b.spot2=new go.Spot(1,.75),b}),go.Shape.defineFigureGenerator("MultiDocument",function(ae,y,a){var b=new go.Geometry;a=a/.8;var E=new go.PathFigure(y,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.9*y,.44*a,.96*y,.47*a,.93*y,.45*a)),E.add(new go.PathSegment(go.PathSegment.Line,.9*y,.6*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,.54*a,.86*y,.57*a,.83*y,.55*a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,.7*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.4*y,.4*a,.4*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.2*a)),E.add(new go.PathSegment(go.PathSegment.Line,.1*y,.2*a)),E.add(new go.PathSegment(go.PathSegment.Line,.1*y,.1*a)),E.add(new go.PathSegment(go.PathSegment.Line,.2*y,.1*a)),E.add(new go.PathSegment(go.PathSegment.Line,.2*y,0).close());var x=new go.PathFigure(.1*y,.2*a,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.8*y,.2*a)),x.add(new go.PathSegment(go.PathSegment.Line,.8*y,.54*a)),x.add(new go.PathSegment(go.PathSegment.Move,.2*y,.1*a)),x.add(new go.PathSegment(go.PathSegment.Line,.9*y,.1*a)),x.add(new go.PathSegment(go.PathSegment.Line,.9*y,.44*a)),b.spot1=new go.Spot(0,.25),b.spot2=new go.Spot(.8,.77),b}),go.Shape.defineFigureGenerator("MultiProcess",function(ae,y,a){var b=new go.Geometry,E=new go.PathFigure(.1*y,.1*a,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.2*y,.1*a)),E.add(new go.PathSegment(go.PathSegment.Line,.2*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,.9*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,.9*y,.9*a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,.9*a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.2*a)),E.add(new go.PathSegment(go.PathSegment.Line,.1*y,.2*a).close());var x=new go.PathFigure(.2*y,.1*a,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.9*y,.1*a)),x.add(new go.PathSegment(go.PathSegment.Line,.9*y,.8*a)),x.add(new go.PathSegment(go.PathSegment.Move,.1*y,.2*a)),x.add(new go.PathSegment(go.PathSegment.Line,.8*y,.2*a)),x.add(new go.PathSegment(go.PathSegment.Line,.8*y,.9*a)),b.spot1=new go.Spot(0,.2),b.spot2=new go.Spot(.8,1),b}),go.Shape.defineFigureGenerator("OfflineStorage",function(ae,y,a){var b=new go.Geometry,E=ae?ae.parameter1:NaN;isNaN(E)&&(E=.1);var x=1-E,ee=new go.PathFigure(0,0,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,y,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*y,a).close());var ne=new go.PathFigure(.5*E*y,E*a,!1);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,(1-.5*E)*y,E*a)),b}),go.Shape.defineFigureGenerator("OffPageConnector",function(ae,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),b.spot1=go.Spot.TopLeft,b.spot2=new go.Spot(.75,1),b}),go.Shape.defineFigureGenerator("Or",function(ae,y,a){var b=new go.Geometry,E=re*.5,x=.5,ee=new go.PathFigure(y,x*a,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,x*y,a,y,(x+E)*a,(x+E)*y,a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,x*a,(x-E)*y,a,0,(x+E)*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,x*y,0,0,(x-E)*a,(x-E)*y,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,y,x*a,(x+E)*y,0,y,(x-E)*a));var ne=new go.PathFigure(y,.5*a,!1);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),ne.add(new go.PathSegment(go.PathSegment.Move,.5*y,a)),ne.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),b}),go.Shape.defineFigureGenerator("PaperTape",function(ae,y,a){var b=new go.Geometry;a=a/.8;var E=new go.PathFigure(0,.7*a,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.3*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,y,.3*a,.5*y,.6*a,.5*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.7*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.5*y,.4*a,.5*y,a).close()),b.spot1=new go.Spot(0,.49),b.spot2=new go.Spot(1,.75),b}),go.Shape.defineFigureGenerator("PrimitiveFromCall",function(ae,y,a){var b=new go.Geometry,E=ae?ae.parameter1:NaN,x=ae?ae.parameter2:NaN;isNaN(E)&&(E=.1),isNaN(x)&&(x=.3);var ee=new go.PathFigure(0,0,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,y,0)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-x)*y,.5*a)),ee.add(new go.PathSegment(go.PathSegment.Line,y,a)),ee.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),b}),go.Shape.defineFigureGenerator("PrimitiveToCall",function(ae,y,a){var b=new go.Geometry,E=ae?ae.parameter1:NaN,x=ae?ae.parameter2:NaN;isNaN(E)&&(E=.1),isNaN(x)&&(x=.3);var ee=new go.PathFigure(0,0,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,(1-x)*y,0)),ee.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-x)*y,a)),ee.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),b}),go.Shape.defineFigureGenerator("Procedure",function(ae,y,a){var b=new go.Geometry,E=ae?ae.parameter1:NaN;isNaN(E)&&(E=.1);var x=new go.PathFigure(0,0,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,0)),x.add(new go.PathSegment(go.PathSegment.Line,y,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var ee=new go.PathFigure((1-E)*y,0,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,(1-E)*y,a)),ee.add(new go.PathSegment(go.PathSegment.Move,E*y,0)),ee.add(new go.PathSegment(go.PathSegment.Line,E*y,a)),b}),go.Shape.defineFigureGenerator("Process",function(ae,y,a){var b=new go.Geometry,E=ae?ae.parameter1:NaN;isNaN(E)&&(E=.1);var x=new go.PathFigure(0,0,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,0)),x.add(new go.PathSegment(go.PathSegment.Line,y,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var ee=new go.PathFigure(E*y,0,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,E*y,a)),b.spot2=go.Spot.BottomRight,b}),go.Shape.defineFigureGenerator("Sort",function(ae,y,a){var b=new go.Geometry,E=new go.PathFigure(.5*y,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.5*a).close());var x=new go.PathFigure(0,.5*a,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),b.spot1=new go.Spot(.25,.25),b.spot2=new go.Spot(.75,.5),b}),go.Shape.defineFigureGenerator("Start",function(ae,y,a){var b=new go.Geometry,E=ae?ae.parameter1:NaN;isNaN(E)&&(E=.25);var x=new go.PathFigure(E*y,0,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*y,.5*a,.25*y,.5*a)),x.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*y,.5*a,.25*y,.5*a));var ee=new go.PathFigure(E*y,0,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,E*y,a)),ee.add(new go.PathSegment(go.PathSegment.Move,(1-E)*y,0)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-E)*y,a)),b.spot1=new go.Spot(E,0),b.spot2=new go.Spot(1-E,1),b}),go.Shape.defineFigureGenerator("Terminator",function(ae,y,a){var b=new go.Geometry,E=new go.PathFigure(.25*y,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*y,.5*a,.25*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*y,.5*a,.25*y,.5*a)),b.spot1=new go.Spot(.23,0),b.spot2=new go.Spot(.77,1),b}),go.Shape.defineFigureGenerator("TransmittalTape",function(ae,y,a){var b=new go.Geometry,E=ae?ae.parameter1:NaN;isNaN(E)&&(E=.1);var x=new go.PathFigure(0,0,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,0)),x.add(new go.PathSegment(go.PathSegment.Line,y,a)),x.add(new go.PathSegment(go.PathSegment.Line,.75*y,(1-E)*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,(1-E)*a).close()),b.spot1=go.Spot.TopLeft,b}),go.Shape.defineFigureGenerator("AndGate",function(ae,y,a){var b=new go.Geometry,E=re*.5,x=new go.PathFigure(0,0,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),x.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,(.5+E)*y,0,y,(.5-E)*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,y,(.5+E)*a,(.5+E)*y,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),b.spot1=go.Spot.TopLeft,b.spot2=new go.Spot(.55,1),b}),go.Shape.defineFigureGenerator("Buffer",function(ae,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),b.spot1=new go.Spot(0,.25),b.spot2=new go.Spot(.5,.75),b}),go.Shape.defineFigureGenerator("Clock",function(ae,y,a){var b=new go.Geometry,E=re*.5,x=.5,ee=new go.PathFigure(y,x*a,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,x*y,a,y,(x+E)*a,(x+E)*y,a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,x*a,(x-E)*y,a,0,(x+E)*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,x*y,0,0,(x-E)*a,(x-E)*y,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,y,x*a,(x+E)*y,0,y,(x-E)*a));var ne=new go.PathFigure(y,x*a,!1);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y,x*a));var oe=new go.PathFigure(.8*y,.75*a,!1);return b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,.8*y,.25*a)),oe.add(new go.PathSegment(go.PathSegment.Line,.6*y,.25*a)),oe.add(new go.PathSegment(go.PathSegment.Line,.6*y,.75*a)),oe.add(new go.PathSegment(go.PathSegment.Line,.4*y,.75*a)),oe.add(new go.PathSegment(go.PathSegment.Line,.4*y,.25*a)),oe.add(new go.PathSegment(go.PathSegment.Line,.2*y,.25*a)),oe.add(new go.PathSegment(go.PathSegment.Line,.2*y,.75*a)),b}),go.Shape.defineFigureGenerator("Ground",function(ae,y,a){var b=new go.Geometry,E=new go.PathFigure(.5*y,0,!1);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.4*a)),E.add(new go.PathSegment(go.PathSegment.Move,.2*y,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,.6*a)),E.add(new go.PathSegment(go.PathSegment.Move,.3*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,.7*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Move,.4*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.6*y,a)),b}),go.Shape.defineFigureGenerator("Inverter",function(ae,y,a){var b=new go.Geometry,E=re*.1,x=.1,ee=.9,ne=.5,oe=new go.PathFigure(.8*y,.5*a,!0);b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,0,a)),oe.add(new go.PathSegment(go.PathSegment.Line,0,0)),oe.add(new go.PathSegment(go.PathSegment.Line,.8*y,.5*a));var le=new go.PathFigure((ee+x)*y,ne*a,!0);return b.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,ee*y,(ne+x)*a,(ee+x)*y,(ne+E)*a,(ee+E)*y,(ne+x)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,(ee-x)*y,ne*a,(ee-E)*y,(ne+x)*a,(ee-x)*y,(ne+E)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,ee*y,(ne-x)*a,(ee-x)*y,(ne-E)*a,(ee-E)*y,(ne-x)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,(ee+x)*y,ne*a,(ee+E)*y,(ne-x)*a,(ee+x)*y,(ne-E)*a)),b.spot1=new go.Spot(0,.25),b.spot2=new go.Spot(.4,.75),b}),go.Shape.defineFigureGenerator("NandGate",function(ae,y,a){var b=new go.Geometry,E=re*.5,x=re*.4,ee=re*.1,ne=.1,oe=.9,le=.5,ue=new go.PathFigure(.8*y,.5*a,!0);b.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,.4*y,a,.8*y,(.5+x)*a,(.4+E)*y,a)),ue.add(new go.PathSegment(go.PathSegment.Line,0,a)),ue.add(new go.PathSegment(go.PathSegment.Line,0,0)),ue.add(new go.PathSegment(go.PathSegment.Line,.4*y,0)),ue.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,.5*a,(.4+E)*y,0,.8*y,(.5-x)*a));var ge=new go.PathFigure((oe+ne)*y,le*a,!0);return b.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,oe*y,(le+ne)*a,(oe+ne)*y,(le+ee)*a,(oe+ee)*y,(le+ne)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(oe-ne)*y,le*a,(oe-ee)*y,(le+ne)*a,(oe-ne)*y,(le+ee)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,oe*y,(le-ne)*a,(oe-ne)*y,(le-ee)*a,(oe-ee)*y,(le-ne)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(oe+ne)*y,le*a,(oe+ee)*y,(le-ne)*a,(oe+ne)*y,(le-ee)*a)),b.spot1=new go.Spot(0,.05),b.spot2=new go.Spot(.55,.95),b}),go.Shape.defineFigureGenerator("NorGate",function(ae,y,a){var b=new go.Geometry,E=.5,x=re*E,ee=0,ne=.5,oe=new go.PathFigure(.8*y,.5*a,!0);b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,0,a,.7*y,(ne+x)*a,(ee+x)*y,(ne+E)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*y,.75*a,.25*y,.25*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,.5*a,(ee+x)*y,(ne-E)*a,.7*y,(ne-x)*a)),E=.1,x=re*.1,ee=.9,ne=.5;var le=new go.PathFigure((ee-E)*y,ne*a,!0);return b.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,ee*y,(ne-E)*a,(ee-E)*y,(ne-x)*a,(ee-x)*y,(ne-E)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,(ee+E)*y,ne*a,(ee+x)*y,(ne-E)*a,(ee+E)*y,(ne-x)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,ee*y,(ne+E)*a,(ee+E)*y,(ne+x)*a,(ee+x)*y,(ne+E)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,(ee-E)*y,ne*a,(ee-x)*y,(ne+E)*a,(ee-E)*y,(ne+x)*a)),b.spot1=new go.Spot(.2,.25),b.spot2=new go.Spot(.6,.75),b}),go.Shape.defineFigureGenerator("OrGate",function(ae,y,a){var b=new go.Geometry,E=.5,x=re*E,ee=0,ne=.5,oe=new go.PathFigure(0,0,!0);return b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,(ee+x+x)*y,(ne-E)*a,.8*y,(ne-x)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,0,a,.8*y,(ne+x)*a,(ee+x+x)*y,(ne+E)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*y,.75*a,.25*y,.25*a).close()),b.spot1=new go.Spot(.2,.25),b.spot2=new go.Spot(.75,.75),b}),go.Shape.defineFigureGenerator("XnorGate",function(ae,y,a){var b=new go.Geometry,E=.5,x=re*E,ee=.2,ne=.5,oe=new go.PathFigure(.1*y,0,!1);b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,.1*y,a,.35*y,.25*a,.35*y,.75*a));var le=new go.PathFigure(.8*y,.5*a,!0);b.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,.2*y,a,.7*y,(ne+x)*a,(ee+x)*y,(ne+E)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,.2*y,0,.45*y,.75*a,.45*y,.25*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,.5*a,(ee+x)*y,(ne-E)*a,.7*y,(ne-x)*a)),E=.1,x=re*.1,ee=.9,ne=.5;var ue=new go.PathFigure((ee-E)*y,ne*a,!0);return b.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,ee*y,(ne-E)*a,(ee-E)*y,(ne-x)*a,(ee-x)*y,(ne-E)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(ee+E)*y,ne*a,(ee+x)*y,(ne-E)*a,(ee+E)*y,(ne-x)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,ee*y,(ne+E)*a,(ee+E)*y,(ne+x)*a,(ee+x)*y,(ne+E)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(ee-E)*y,ne*a,(ee-x)*y,(ne+E)*a,(ee-E)*y,(ne+x)*a)),b.spot1=new go.Spot(.4,.25),b.spot2=new go.Spot(.65,.75),b}),go.Shape.defineFigureGenerator("XorGate",function(ae,y,a){var b=new go.Geometry,E=.5,x=re*E,ee=.2,ne=.5,oe=new go.PathFigure(.1*y,0,!1);b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,.1*y,a,.35*y,.25*a,.35*y,.75*a));var le=new go.PathFigure(.2*y,0,!0);return b.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,(ee+x)*y,(ne-E)*a,.9*y,(ne-x)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,.2*y,a,.9*y,(ne+x)*a,(ee+x)*y,(ne+E)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,.2*y,0,.45*y,.75*a,.45*y,.25*a).close()),b.spot1=new go.Spot(.4,.25),b.spot2=new go.Spot(.8,.75),b}),go.Shape.defineFigureGenerator("Capacitor",function(ae,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!1);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Move,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),b}),go.Shape.defineFigureGenerator("Resistor",function(ae,y,a){var b=new go.Geometry,E=new go.PathFigure(0,.5*a,!1);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.1*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.2*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.3*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.4*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.6*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.7*y,.5*a)),b}),go.Shape.defineFigureGenerator("Inductor",function(ae,y,a){var b=new go.Geometry,E=re*.1,x=.1,ee=.1,ne=.5,oe=new go.PathFigure((ee-E*.5)*y,a,!1);return b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+x)*y,0,(ee-E)*y,a,(ee-x)*y,0)),ee=.3,oe.add(new go.PathSegment(go.PathSegment.Bezier,ee*y,a,(ee+x)*y,0,(ee+E)*y,a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+x)*y,0,(ee-E)*y,a,(ee-x)*y,0)),ee=.5,oe.add(new go.PathSegment(go.PathSegment.Bezier,ee*y,a,(ee+x)*y,0,(ee+E)*y,a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+x)*y,0,(ee-E)*y,a,(ee-x)*y,0)),ee=.7,oe.add(new go.PathSegment(go.PathSegment.Bezier,ee*y,a,(ee+x)*y,0,(ee+E)*y,a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+x)*y,0,(ee-E)*y,a,(ee-x)*y,0)),ee=.9,oe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+E*.5)*y,a,(ee+x)*y,0,(ee+E)*y,a)),b}),go.Shape.defineFigureGenerator("ACvoltageSource",function(ae,y,a){var b=new go.Geometry,E=re*.5,x=.5,ee=.5,ne=.5,oe=new go.PathFigure((ee-x)*y,ne*a,!1);return b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,ee*y,(ne-x)*a,(ee-x)*y,(ne-E)*a,(ee-E)*y,(ne-x)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+x)*y,ne*a,(ee+E)*y,(ne-x)*a,(ee+x)*y,(ne-E)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,ee*y,(ne+x)*a,(ee+x)*y,(ne+E)*a,(ee+E)*y,(ne+x)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(ee-x)*y,ne*a,(ee-E)*y,(ne+x)*a,(ee-x)*y,(ne+E)*a)),oe.add(new go.PathSegment(go.PathSegment.Move,(ee-x+.1)*y,ne*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+x-.1)*y,ne*a,ee*y,(ne-x)*a,ee*y,(ne+x)*a)),b}),go.Shape.defineFigureGenerator("DCvoltageSource",function(ae,y,a){var b=new go.Geometry,E=new go.PathFigure(0,.75*a,!1);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),E.add(new go.PathSegment(go.PathSegment.Move,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),b}),go.Shape.defineFigureGenerator("Diode",function(ae,y,a){var b=new go.Geometry,E=new go.PathFigure(y,0,!1);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.spot1=new go.Spot(0,.25),b.spot2=new go.Spot(.5,.75),b}),go.Shape.defineFigureGenerator("Wifi",function(ae,y,a){var b=new go.Geometry,E=y,x=a;y=y*.38,a=a*.6;var ee=re*.8,ne=.8,oe=0,le=.5,ue=(E-y)/2,ge=(x-a)/2,Ce=new go.PathFigure(oe*y+ue,(le+ne)*a+ge,!0);b.add(Ce),Ce.add(new go.PathSegment(go.PathSegment.Bezier,(oe-ne)*y+ue,le*a+ge,(oe-ee)*y+ue,(le+ne)*a+ge,(oe-ne)*y+ue,(le+ee)*a+ge)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,oe*y+ue,(le-ne)*a+ge,(oe-ne)*y+ue,(le-ee)*a+ge,(oe-ee)*y+ue,(le-ne)*a+ge)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,(oe-ne+ee*.5)*y+ue,le*a+ge,oe*y+ue,(le-ne)*a+ge,(oe-ne+ee*.5)*y+ue,(le-ee)*a+ge)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,oe*y+ue,(le+ne)*a+ge,(oe-ne+ee*.5)*y+ue,(le+ee)*a+ge,oe*y+ue,(le+ne)*a+ge).close()),ee=re*.4,ne=.4,oe=.2,le=.5;var pe=new go.PathFigure(oe*y+ue,(le+ne)*a+ge,!0);b.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,(oe-ne)*y+ue,le*a+ge,(oe-ee)*y+ue,(le+ne)*a+ge,(oe-ne)*y+ue,(le+ee)*a+ge)),pe.add(new go.PathSegment(go.PathSegment.Bezier,oe*y+ue,(le-ne)*a+ge,(oe-ne)*y+ue,(le-ee)*a+ge,(oe-ee)*y+ue,(le-ne)*a+ge)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(oe-ne+ee*.5)*y+ue,le*a+ge,oe*y+ue,(le-ne)*a+ge,(oe-ne+ee*.5)*y+ue,(le-ee)*a+ge)),pe.add(new go.PathSegment(go.PathSegment.Bezier,oe*y+ue,(le+ne)*a+ge,(oe-ne+ee*.5)*y+ue,(le+ee)*a+ge,oe*y+ue,(le+ne)*a+ge).close()),ee=re*.2,ne=.2,oe=.5,le=.5;var Be=new go.PathFigure((oe-ne)*y+ue,le*a+ge,!0);b.add(Be),Be.add(new go.PathSegment(go.PathSegment.Bezier,oe*y+ue,(le-ne)*a+ge,(oe-ne)*y+ue,(le-ee)*a+ge,(oe-ee)*y+ue,(le-ne)*a+ge)),Be.add(new go.PathSegment(go.PathSegment.Bezier,(oe+ne)*y+ue,le*a+ge,(oe+ee)*y+ue,(le-ne)*a+ge,(oe+ne)*y+ue,(le-ee)*a+ge)),Be.add(new go.PathSegment(go.PathSegment.Bezier,oe*y+ue,(le+ne)*a+ge,(oe+ne)*y+ue,(le+ee)*a+ge,(oe+ee)*y+ue,(le+ne)*a+ge)),Be.add(new go.PathSegment(go.PathSegment.Bezier,(oe-ne)*y+ue,le*a+ge,(oe-ee)*y+ue,(le+ne)*a+ge,(oe-ne)*y+ue,(le+ee)*a+ge)),ee=re*.4,ne=.4,oe=.8,le=.5;var de=new go.PathFigure(oe*y+ue,(le-ne)*a+ge,!0);b.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,(oe+ne)*y+ue,le*a+ge,(oe+ee)*y+ue,(le-ne)*a+ge,(oe+ne)*y+ue,(le-ee)*a+ge)),de.add(new go.PathSegment(go.PathSegment.Bezier,oe*y+ue,(le+ne)*a+ge,(oe+ne)*y+ue,(le+ee)*a+ge,(oe+ee)*y+ue,(le+ne)*a+ge)),de.add(new go.PathSegment(go.PathSegment.Bezier,(oe+ne-ee*.5)*y+ue,le*a+ge,oe*y+ue,(le+ne)*a+ge,(oe+ne-ee*.5)*y+ue,(le+ee)*a+ge)),de.add(new go.PathSegment(go.PathSegment.Bezier,oe*y+ue,(le-ne)*a+ge,(oe+ne-ee*.5)*y+ue,(le-ee)*a+ge,oe*y+ue,(le-ne)*a+ge).close()),ee=re*.8,ne=.8,oe=1,le=.5;var et=new go.PathFigure(oe*y+ue,(le-ne)*a+ge,!0);return b.add(et),et.add(new go.PathSegment(go.PathSegment.Bezier,(oe+ne)*y+ue,le*a+ge,(oe+ee)*y+ue,(le-ne)*a+ge,(oe+ne)*y+ue,(le-ee)*a+ge)),et.add(new go.PathSegment(go.PathSegment.Bezier,oe*y+ue,(le+ne)*a+ge,(oe+ne)*y+ue,(le+ee)*a+ge,(oe+ee)*y+ue,(le+ne)*a+ge)),et.add(new go.PathSegment(go.PathSegment.Bezier,(oe+ne-ee*.5)*y+ue,le*a+ge,oe*y+ue,(le+ne)*a+ge,(oe+ne-ee*.5)*y+ue,(le+ee)*a+ge)),et.add(new go.PathSegment(go.PathSegment.Bezier,oe*y+ue,(le-ne)*a+ge,(oe+ne-ee*.5)*y+ue,(le-ee)*a+ge,oe*y+ue,(le-ne)*a+ge).close()),b}),go.Shape.defineFigureGenerator("Email",function(ae,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var x=new go.PathFigure(0,0,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*y,.6*a)),x.add(new go.PathSegment(go.PathSegment.Line,y,0)),x.add(new go.PathSegment(go.PathSegment.Move,0,a)),x.add(new go.PathSegment(go.PathSegment.Line,.45*y,.54*a)),x.add(new go.PathSegment(go.PathSegment.Move,y,a)),x.add(new go.PathSegment(go.PathSegment.Line,.55*y,.54*a)),b}),go.Shape.defineFigureGenerator("Ethernet",function(ae,y,a){var b=new go.Geometry,E=new go.PathFigure(.35*y,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.65*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.65*y,.4*a)),E.add(new go.PathSegment(go.PathSegment.Line,.35*y,.4*a)),E.add(new go.PathSegment(go.PathSegment.Line,.35*y,0).close());var x=new go.PathFigure(.1*y,a,!0,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.4*y,a)),x.add(new go.PathSegment(go.PathSegment.Line,.4*y,.6*a)),x.add(new go.PathSegment(go.PathSegment.Line,.1*y,.6*a)),x.add(new go.PathSegment(go.PathSegment.Line,.1*y,a).close());var ee=new go.PathFigure(.6*y,a,!0,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.9*y,a)),ee.add(new go.PathSegment(go.PathSegment.Line,.9*y,.6*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.6*y,.6*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.6*y,a).close());var ne=new go.PathFigure(0,.5*a,!1);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),ne.add(new go.PathSegment(go.PathSegment.Move,.5*y,.5*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.5*y,.4*a)),ne.add(new go.PathSegment(go.PathSegment.Move,.75*y,.5*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.75*y,.6*a)),ne.add(new go.PathSegment(go.PathSegment.Move,.25*y,.5*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.25*y,.6*a)),b}),go.Shape.defineFigureGenerator("Power",function(ae,y,a){var b=new go.Geometry,E=re*.4,x=.4,ee=.5,ne=.5,oe=z(),le=z(),ue=z(),ge=z();je(ee,ne-x,ee+E,ne-x,ee+x,ne-E,ee+x,ne,.5,oe,oe,le,ue,ge);var Ce=te(le.x,le.y),pe=new go.PathFigure(le.x*y,le.y*a,!0);b.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+x)*y,ne*a,ue.x*y,ue.y*a,ge.x*y,ge.y*a)),pe.add(new go.PathSegment(go.PathSegment.Bezier,ee*y,(ne+x)*a,(ee+x)*y,(ne+E)*a,(ee+E)*y,(ne+x)*a)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(ee-x)*y,ne*a,(ee-E)*y,(ne+x)*a,(ee-x)*y,(ne+E)*a)),je(ee-x,ne,ee-x,ne-E,ee-E,ne-x,ee,ne-x,.5,ue,ge,le,oe,oe),pe.add(new go.PathSegment(go.PathSegment.Bezier,le.x*y,le.y*a,ue.x*y,ue.y*a,ge.x*y,ge.y*a)),E=re*.3,x=.3,je(ee-x,ne,ee-x,ne-E,ee-E,ne-x,ee,ne-x,.5,ue,ge,le,oe,oe),pe.add(new go.PathSegment(go.PathSegment.Line,le.x*y,le.y*a)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(ee-x)*y,ne*a,ge.x*y,ge.y*a,ue.x*y,ue.y*a)),pe.add(new go.PathSegment(go.PathSegment.Bezier,ee*y,(ne+x)*a,(ee-x)*y,(ne+E)*a,(ee-E)*y,(ne+x)*a)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+x)*y,ne*a,(ee+E)*y,(ne+x)*a,(ee+x)*y,(ne+E)*a)),je(ee,ne-x,ee+E,ne-x,ee+x,ne-E,ee+x,ne,.5,oe,oe,le,ue,ge),pe.add(new go.PathSegment(go.PathSegment.Bezier,le.x*y,le.y*a,ge.x*y,ge.y*a,ue.x*y,ue.y*a).close());var pe=new go.PathFigure(.45*y,0,!0);return b.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,.45*y,.5*a)),pe.add(new go.PathSegment(go.PathSegment.Line,.55*y,.5*a)),pe.add(new go.PathSegment(go.PathSegment.Line,.55*y,0).close()),ie(oe),ie(le),ie(ue),ie(ge),ie(Ce),b.spot1=new go.Spot(.25,.45),b.spot2=new go.Spot(.75,.8),b}),go.Shape.defineFigureGenerator("Fallout",function(ae,y,a){var b=new go.Geometry,E=new go.PathFigure(0,a/2,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Arc,180,360,y/2,a/2,y/2,a/2));function x(ee,ne,oe){ee.add(new go.PathSegment(go.PathSegment.Move,(.3+ne)*y,(.8+oe)*a)),ee.add(new go.PathSegment(go.PathSegment.Line,(.5+ne)*y,(.5+oe)*a)),ee.add(new go.PathSegment(go.PathSegment.Line,(.1+ne)*y,(.5+oe)*a)),ee.add(new go.PathSegment(go.PathSegment.Line,(.3+ne)*y,(.8+oe)*a).close())}return x(E,0,0),x(E,.4,0),x(E,.2,-.3),b}),go.Shape.defineFigureGenerator("IrritationHazard",function(ae,y,a){var b=new go.Geometry,E=new go.PathFigure(.2*y,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.3*a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.2*a)),E.add(new go.PathSegment(go.PathSegment.Line,.7*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.7*a)),E.add(new go.PathSegment(go.PathSegment.Line,.2*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,.3*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.2*a).close()),b.spot1=new go.Spot(.3,.3),b.spot2=new go.Spot(.7,.7),b}),go.Shape.defineFigureGenerator("ElectricalHazard",function(ae,y,a){var b=new go.Geometry,E=new go.PathFigure(.37*y,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.11*a)),E.add(new go.PathSegment(go.PathSegment.Line,.77*y,.04*a)),E.add(new go.PathSegment(go.PathSegment.Line,.33*y,.49*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.37*a)),E.add(new go.PathSegment(go.PathSegment.Line,.63*y,.86*a)),E.add(new go.PathSegment(go.PathSegment.Line,.77*y,.91*a)),E.add(new go.PathSegment(go.PathSegment.Line,.34*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.34*y,.78*a)),E.add(new go.PathSegment(go.PathSegment.Line,.44*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,.65*y,.56*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.68*a).close()),b}),go.Shape.defineFigureGenerator("FireHazard",function(ae,y,a){var b=new go.Geometry,E=new go.PathFigure(.1*y,a,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Bezier,.29*y,0,-.25*y,.63*a,.45*y,.44*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.51*y,.42*a,.48*y,.17*a,.54*y,.35*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.59*y,.18*a,.59*y,.29*a,.58*y,.28*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.75*y,.6*a,.8*y,.34*a,.88*y,.43*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.88*y,.31*a,.87*y,.48*a,.88*y,.43*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.9*y,a,1.17*y,.76*a,.82*y,.8*a).close()),b.spot1=new go.Spot(.07,.445),b.spot2=new go.Spot(.884,.958),b}),go.Shape.defineFigureGenerator("BpmnActivityLoop",function(ae,y,a){var b=new go.Geometry,E=.5,x=0,ee=0,ne=E*re,oe=.4*Math.SQRT2/2+.5,le=.5-.5*Math.SQRT2/2,ue=1,ge=.5,Ce=.5,pe=0,Be=new go.PathFigure(oe*y,(1-le)*a,!1);return b.add(Be),Be.add(new go.PathSegment(go.PathSegment.Bezier,ue*y,ge*a,ue*y,.7*a,ue*y,ge*a)),Be.add(new go.PathSegment(go.PathSegment.Bezier,(Ce+x)*y,(pe+x)*a,(.5+E+x)*y,(.5-ne+x)*a,(.5+ne+x)*y,(.5-E+x)*a)),Be.add(new go.PathSegment(go.PathSegment.Bezier,(.5-E+x)*y,(.5+ee)*a,(.5-ne+x)*y,(.5-E+ee)*a,(.5-E+x)*y,(.5-ne+ee)*a)),Be.add(new go.PathSegment(go.PathSegment.Bezier,(.35+x)*y,.9*a,(.5-E+x)*y,(.5+ne+ee)*a,(.5-ne+x)*y,.9*a)),Be.add(new go.PathSegment(go.PathSegment.Move,(.25+x)*y,.8*a)),Be.add(new go.PathSegment(go.PathSegment.Line,(.35+x)*y,.9*a)),Be.add(new go.PathSegment(go.PathSegment.Line,(.2+x)*y,.95*a)),b}),go.Shape.defineFigureGenerator("BpmnActivityParallel",function(ae,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!1);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Move,.5*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),E.add(new go.PathSegment(go.PathSegment.Move,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),b}),go.Shape.defineFigureGenerator("BpmnActivitySequential",function(ae,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!1);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Move,0,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Move,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),b}),go.Shape.defineFigureGenerator("BpmnActivityAdHoc",function(ae,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!1);b.add(E);var x=new go.PathFigure(y,a,!1);b.add(x);var ee=new go.PathFigure(0,.5*a,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.5*a,.2*y,.35*a,.3*y,.35*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,.7*y,.65*a,.8*y,.65*a)),b}),go.Shape.defineFigureGenerator("BpmnActivityCompensation",function(ae,y,a){var b=new go.Geometry,E=new go.PathFigure(0,.5*a,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a).close()),b}),go.Shape.defineFigureGenerator("BpmnTaskMessage",function(ae,y,a){var b=new go.Geometry,E=new go.PathFigure(0,.2*a,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,.2*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.8*a).close());var E=new go.PathFigure(0,.2*a,!1);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.2*a)),b}),go.Shape.defineFigureGenerator("BpmnTaskScript",function(ae,y,a){var b=new go.Geometry,E=new go.PathFigure(.7*y,a,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.3*y,a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.3*y,0,.6*y,.5*a,0,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.7*y,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,.7*y,a,.4*y,.5*a,y,.5*a).close());var x=new go.PathFigure(.45*y,.73*a,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.7*y,.73*a)),x.add(new go.PathSegment(go.PathSegment.Move,.38*y,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,.63*y,.5*a)),x.add(new go.PathSegment(go.PathSegment.Move,.31*y,.27*a)),x.add(new go.PathSegment(go.PathSegment.Line,.56*y,.27*a)),b}),go.Shape.defineFigureGenerator("BpmnTaskUser",function(ae,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!1);b.add(E);var x=new go.PathFigure(.335*y,(1-.555)*a,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.335*y,(1-.405)*a)),x.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*y,(1-.405)*a)),x.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*y,(1-.555)*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,y,.68*a,(1-.12)*y,.46*a,(1-.02)*y,.54*a)),x.add(new go.PathSegment(go.PathSegment.Line,y,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,.68*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,.335*y,(1-.555)*a,.02*y,.54*a,.12*y,.46*a)),x.add(new go.PathSegment(go.PathSegment.Line,.365*y,(1-.595)*a));var ee=.5-.285,ne=.5,oe=ee,le=Math.PI/4,ue=4*(1-Math.cos(le))/(3*Math.sin(le)),ge=ue*.5,Ce=ee,pe=ee,Be=ue*Ce,de=ue*pe;x.add(new go.PathSegment(go.PathSegment.Bezier,(ne-Ce)*y,oe*a,(ne-(Be+Ce)/2)*y,(oe+(pe+de)/2)*a,(ne-Ce)*y,(oe+de)*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(oe-pe)*a,(ne-Ce)*y,(oe-de)*a,(ne-Be)*y,(oe-pe)*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,(ne+Ce)*y,oe*a,(ne+Be)*y,(oe-pe)*a,(ne+Ce)*y,(oe-de)*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,(1-.365)*y,(1-.595)*a,(ne+Ce)*y,(oe+de)*a,(ne+(Be+Ce)/2)*y,(oe+(pe+de)/2)*a)),x.add(new go.PathSegment(go.PathSegment.Line,(1-.365)*y,(1-.595)*a)),x.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*y,(1-.555)*a)),x.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*y,(1-.405)*a)),x.add(new go.PathSegment(go.PathSegment.Line,.335*y,(1-.405)*a));var et=new go.PathFigure(.2*y,a,!1);b.add(et),et.add(new go.PathSegment(go.PathSegment.Line,.2*y,.8*a));var Oe=new go.PathFigure(.8*y,a,!1);return b.add(Oe),Oe.add(new go.PathSegment(go.PathSegment.Line,.8*y,.8*a)),b}),go.Shape.defineFigureGenerator("BpmnEventConditional",function(ae,y,a){var b=new go.Geometry,E=new go.PathFigure(.1*y,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.9*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.9*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.1*y,a).close());var x=new go.PathFigure(.2*y,.2*a,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.8*y,.2*a)),x.add(new go.PathSegment(go.PathSegment.Move,.2*y,.4*a)),x.add(new go.PathSegment(go.PathSegment.Line,.8*y,.4*a)),x.add(new go.PathSegment(go.PathSegment.Move,.2*y,.6*a)),x.add(new go.PathSegment(go.PathSegment.Line,.8*y,.6*a)),x.add(new go.PathSegment(go.PathSegment.Move,.2*y,.8*a)),x.add(new go.PathSegment(go.PathSegment.Line,.8*y,.8*a)),b}),go.Shape.defineFigureGenerator("BpmnEventError",function(ae,y,a){var b=new go.Geometry,E=new go.PathFigure(0,a,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.33*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.66*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.66*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.33*y,.5*a).close()),b}),go.Shape.defineFigureGenerator("BpmnEventEscalation",function(ae,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!1);b.add(E);var x=new go.PathFigure(y,a,!1);b.add(x);var ee=new go.PathFigure(.1*y,a,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.9*y,a)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a).close()),b}),go.Shape.defineFigureGenerator("Caution",function(ae,y,a){var b=new go.Geometry,E=new go.PathFigure(.05*y,a,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Bezier,.1*y,.8*a,0,a,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,.45*y,.1*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.55*y,.1*a,.5*y,0,.5*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.95*y,.9*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.9*y,a,y,a,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.05*y,a));var x=.05;return E.add(new go.PathSegment(go.PathSegment.Move,(.5-x)*y,.875*a)),E.add(new go.PathSegment(go.PathSegment.Arc,180,-360,.5*y,.875*a,x*y,x*a)),E.add(new go.PathSegment(go.PathSegment.Move,.5*y,.75*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.325*a,.575*y,.725*a,.625*y,.375*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.75*a,.375*y,.375*a,.425*y,.725*a)),b}),go.Shape.defineFigureGenerator("Recycle",function(ae,y,a){var b=new go.Geometry,E=new go.PathFigure(.45*y,.95*a,!1);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.2*y,.95*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.185*y,.85*a,.17*y,.95*a,.15*y,.9*a)),E.add(new go.PathSegment(go.PathSegment.Line,.235*y,.75*a)),E.add(new go.PathSegment(go.PathSegment.Line,.3*y,.625*a)),E.add(new go.PathSegment(go.PathSegment.Line,.35*y,.65*a)),E.add(new go.PathSegment(go.PathSegment.Line,.275*y,.45*a)),E.add(new go.PathSegment(go.PathSegment.Line,.05*y,.45*a)),E.add(new go.PathSegment(go.PathSegment.Line,.1*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.05*y,.575*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.1875*y,.95*a,0,.675*a,0,.7*a)),E.add(new go.PathSegment(go.PathSegment.Move,.45*y,.95*a)),E.add(new go.PathSegment(go.PathSegment.Line,.45*y,.775*a)),E.add(new go.PathSegment(go.PathSegment.Line,.22*y,.775*a));var x=new go.PathFigure(.475*y,.2*a,!1);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.4*y,.4*a)),x.add(new go.PathSegment(go.PathSegment.Line,.225*y,.3*a)),x.add(new go.PathSegment(go.PathSegment.Line,.275*y,.175*a)),x.add(new go.PathSegment(go.PathSegment.Line,.325*y,.05*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,.4*y,.05*a,.35*y,0,.375*y,0)),x.add(new go.PathSegment(go.PathSegment.Line,.575*y,.375*a)),x.add(new go.PathSegment(go.PathSegment.Line,.525*y,.4*a)),x.add(new go.PathSegment(go.PathSegment.Line,.75*y,.475*a)),x.add(new go.PathSegment(go.PathSegment.Line,.85*y,.315*a)),x.add(new go.PathSegment(go.PathSegment.Line,.8*y,.32*a)),x.add(new go.PathSegment(go.PathSegment.Line,.65*y,.05*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,.575*y,0,.65*y,.05*a,.625*y,0)),x.add(new go.PathSegment(go.PathSegment.Line,.38*y,.0105*a));var ee=new go.PathFigure(.675*y,.575*a,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.875*y,.525*a)),ee.add(new go.PathSegment(go.PathSegment.Line,y,.775*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.85*y,.95*a,y,.8*a,y,.85*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.65*y,.95*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.65*y,a)),ee.add(new go.PathSegment(go.PathSegment.Line,.55*y,.85*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.65*y,.725*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.65*y,.775*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*y,.775*a)),ee.add(new go.PathSegment(go.PathSegment.Line,y,.775*a)),ee.add(new go.PathSegment(go.PathSegment.Move,.675*y,.575*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.775*y,.775*a)),b}),go.Shape.defineFigureGenerator("BpmnEventTimer",function(ae,y,a){var b=new go.Geometry,E=.5,x=re*.5,ee=new go.PathFigure(y,E*a,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,E*y,a,y,(E+x)*a,(E+x)*y,a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,E*a,(E-x)*y,a,0,(E+x)*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,E*y,0,0,(E-x)*a,(E-x)*y,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,y,E*a,(E+x)*y,0,y,(E-x)*a));var ne=new go.PathFigure(E*y,0,!1);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E*y,.15*a)),ne.add(new go.PathSegment(go.PathSegment.Move,E*y,a)),ne.add(new go.PathSegment(go.PathSegment.Line,E*y,.85*a)),ne.add(new go.PathSegment(go.PathSegment.Move,0,E*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.15*y,E*a)),ne.add(new go.PathSegment(go.PathSegment.Move,y,E*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.85*y,E*a)),ne.add(new go.PathSegment(go.PathSegment.Move,E*y,E*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.58*y,.1*a)),ne.add(new go.PathSegment(go.PathSegment.Move,E*y,E*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.78*y,.54*a)),b}),go.Shape.defineFigureGenerator("Package",function(ae,y,a){var b=new go.Geometry,E=new go.PathFigure(0,.15*a,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,.15*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var x=new go.PathFigure(0,.15*a,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,0,0)),x.add(new go.PathSegment(go.PathSegment.Line,.6*y,0)),x.add(new go.PathSegment(go.PathSegment.Line,.65*y,.15*a).close()),b.spot1=new go.Spot(0,.1),b.spot2=new go.Spot(1,1),b}),go.Shape.defineFigureGenerator("Class",function(ae,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var x=new go.PathFigure(0,.2*a,!1);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,.2*a).close());var ee=new go.PathFigure(0,.5*a,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,y,.5*a).close()),b}),go.Shape.defineFigureGenerator("Component",function(ae,y,a){var b=new go.Geometry,E=new go.PathFigure(y,a,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.15*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.15*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a).close());var x=new go.PathFigure(0,.2*a,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.45*y,.2*a)),x.add(new go.PathSegment(go.PathSegment.Line,.45*y,.4*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,.4*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,.2*a).close());var ee=new go.PathFigure(0,.6*a,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.45*y,.6*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.45*y,.8*a)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.6*a).close()),b}),go.Shape.defineFigureGenerator("Boat Shipment",function(ae,y,a){var b=new go.Geometry,E=new go.PathFigure(.15*y,.6*a,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.15*y,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,.15*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.85*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,.85*y,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.15*y,.6*a));var x=new go.PathFigure(.15*y,.6*a,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.85*y,.6*a)),b}),go.Shape.defineFigureGenerator("Customer/Supplier",function(ae,y,a){var b=new go.Geometry,E=new go.PathFigure(y,a,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.66*y,.33*a)),E.add(new go.PathSegment(go.PathSegment.Line,.66*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.33*y,.33*a)),E.add(new go.PathSegment(go.PathSegment.Line,.33*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,0,.33*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a).close()),b}),go.Shape.defineFigureGenerator("Workcell",function(ae,y,a){var b=new go.Geometry,E=new go.PathFigure(0,a,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.65*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.65*y,.4*a)),E.add(new go.PathSegment(go.PathSegment.Line,.35*y,.4*a)),E.add(new go.PathSegment(go.PathSegment.Line,.35*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),b}),go.Shape.defineFigureGenerator("Supermarket",function(ae,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!1);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.33*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.33*a)),E.add(new go.PathSegment(go.PathSegment.Move,y,.33*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.66*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.66*a)),E.add(new go.PathSegment(go.PathSegment.Move,y,.66*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),b}),go.Shape.defineFigureGenerator("TruckShipment",function(ae,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.6*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.6*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var x=new go.PathFigure(y,.8*a,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,.4*a)),x.add(new go.PathSegment(go.PathSegment.Line,.6*y,.4*a)),x.add(new go.PathSegment(go.PathSegment.Line,.6*y,.8*a)),x.add(new go.PathSegment(go.PathSegment.Line,y,.8*a).close());var ee=.1,ne=re*.1,oe=.2,le=.9,ue=new go.PathFigure((oe-ee)*y,le*a,!0);b.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,oe*y,(le-ee)*a,(oe-ee)*y,(le-ne)*a,(oe-ne)*y,(le-ee)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(oe+ee)*y,le*a,(oe+ne)*y,(le-ee)*a,(oe+ee)*y,(le-ne)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,oe*y,(le+ee)*a,(oe+ee)*y,(le+ne)*a,(oe+ne)*y,(le+ee)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(oe-ee)*y,le*a,(oe-ne)*y,(le+ee)*a,(oe-ee)*y,(le+ne)*a).close()),ee=.1,ne=re*.1,oe=.8,le=.9;var ge=new go.PathFigure((oe-ee)*y,le*a,!0);return b.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,oe*y,(le-ee)*a,(oe-ee)*y,(le-ne)*a,(oe-ne)*y,(le-ee)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(oe+ee)*y,le*a,(oe+ne)*y,(le-ee)*a,(oe+ee)*y,(le-ne)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,oe*y,(le+ee)*a,(oe+ee)*y,(le+ne)*a,(oe+ne)*y,(le+ee)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(oe-ee)*y,le*a,(oe-ne)*y,(le+ee)*a,(oe-ee)*y,(le+ne)*a).close()),b}),go.Shape.defineFigureGenerator("KanbanPost",function(ae,y,a){var b=new go.Geometry,E=new go.PathFigure(.2*y,0,!1);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.2*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,0)),E.add(new go.PathSegment(go.PathSegment.Move,.5*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.2*y,a)),E.add(new go.PathSegment(go.PathSegment.Move,.5*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,a)),b}),go.Shape.defineFigureGenerator("Forklift",function(ae,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.4*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,0,0));var x=new go.PathFigure(0,.5*a,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),x.add(new go.PathSegment(go.PathSegment.Line,.5*y,.8*a)),x.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,.5*a));var ee=new go.PathFigure(.5*y,.8*a,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*y,.1*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.55*y,.1*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.55*y,.8*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*y,.8*a));var ne=new go.PathFigure(.5*y,.7*a,!1);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y,.7*a));var oe=.1,le=re*.1,ue=.1,ge=.9,Ce=new go.PathFigure((ue-oe)*y,ge*a,!0);b.add(Ce),Ce.add(new go.PathSegment(go.PathSegment.Bezier,ue*y,(ge-oe)*a,(ue-oe)*y,(ge-le)*a,(ue-le)*y,(ge-oe)*a)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,(ue+oe)*y,ge*a,(ue+le)*y,(ge-oe)*a,(ue+oe)*y,(ge-le)*a)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,ue*y,(ge+oe)*a,(ue+oe)*y,(ge+le)*a,(ue+le)*y,(ge+oe)*a)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,(ue-oe)*y,ge*a,(ue-le)*y,(ge+oe)*a,(ue-oe)*y,(ge+le)*a)),oe=.1,le=re*.1,ue=.4,ge=.9;var pe=new go.PathFigure((ue-oe)*y,ge*a,!0);return b.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,ue*y,(ge-oe)*a,(ue-oe)*y,(ge-le)*a,(ue-le)*y,(ge-oe)*a)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(ue+oe)*y,ge*a,(ue+le)*y,(ge-oe)*a,(ue+oe)*y,(ge-le)*a)),pe.add(new go.PathSegment(go.PathSegment.Bezier,ue*y,(ge+oe)*a,(ue+oe)*y,(ge+le)*a,(ue+le)*y,(ge+oe)*a)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(ue-oe)*y,ge*a,(ue-le)*y,(ge+oe)*a,(ue-oe)*y,(ge+le)*a)),b}),go.Shape.defineFigureGenerator("RailShipment",function(ae,y,a){var b=new go.Geometry,E=new go.PathFigure(.1*y,.4*a,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.45*y,.4*a)),E.add(new go.PathSegment(go.PathSegment.Line,.45*y,.9*a)),E.add(new go.PathSegment(go.PathSegment.Line,.1*y,.9*a)),E.add(new go.PathSegment(go.PathSegment.Line,.1*y,.4*a).close());var x=new go.PathFigure(.45*y,.7*a,!1);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.55*y,.7*a));var ee=new go.PathFigure(.55*y,.4*a,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.9*y,.4*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.9*y,.9*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.55*y,.9*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.55*y,.4*a).close());var ue=.05,ge=re*.05,Ce=.175,pe=.95,ne=new go.PathFigure((Ce-ue)*y,pe*a,!0);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,Ce*y,(pe-ue)*a,(Ce-ue)*y,(pe-ge)*a,(Ce-ge)*y,(pe-ue)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(Ce+ue)*y,pe*a,(Ce+ge)*y,(pe-ue)*a,(Ce+ue)*y,(pe-ge)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,Ce*y,(pe+ue)*a,(Ce+ue)*y,(pe+ge)*a,(Ce+ge)*y,(pe+ue)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(Ce-ue)*y,pe*a,(Ce-ge)*y,(pe+ue)*a,(Ce-ue)*y,(pe+ge)*a));var ue=.05,ge=re*.05,Ce=.375,pe=.95,oe=new go.PathFigure((Ce-ue)*y,pe*a,!0);b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,Ce*y,(pe-ue)*a,(Ce-ue)*y,(pe-ge)*a,(Ce-ge)*y,(pe-ue)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(Ce+ue)*y,pe*a,(Ce+ge)*y,(pe-ue)*a,(Ce+ue)*y,(pe-ge)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,Ce*y,(pe+ue)*a,(Ce+ue)*y,(pe+ge)*a,(Ce+ge)*y,(pe+ue)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(Ce-ue)*y,pe*a,(Ce-ge)*y,(pe+ue)*a,(Ce-ue)*y,(pe+ge)*a));var ue=.05,ge=re*.05,Ce=.625,pe=.95,le=new go.PathFigure((Ce-ue)*y,pe*a,!0);b.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,Ce*y,(pe-ue)*a,(Ce-ue)*y,(pe-ge)*a,(Ce-ge)*y,(pe-ue)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,(Ce+ue)*y,pe*a,(Ce+ge)*y,(pe-ue)*a,(Ce+ue)*y,(pe-ge)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,Ce*y,(pe+ue)*a,(Ce+ue)*y,(pe+ge)*a,(Ce+ge)*y,(pe+ue)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,(Ce-ue)*y,pe*a,(Ce-ge)*y,(pe+ue)*a,(Ce-ue)*y,(pe+ge)*a));var ue=.05,ge=re*.05,Ce=.825,pe=.95,Be=new go.PathFigure((Ce-ue)*y,pe*a,!0);b.add(Be),Be.add(new go.PathSegment(go.PathSegment.Bezier,Ce*y,(pe-ue)*a,(Ce-ue)*y,(pe-ge)*a,(Ce-ge)*y,(pe-ue)*a)),Be.add(new go.PathSegment(go.PathSegment.Bezier,(Ce+ue)*y,pe*a,(Ce+ge)*y,(pe-ue)*a,(Ce+ue)*y,(pe-ge)*a)),Be.add(new go.PathSegment(go.PathSegment.Bezier,Ce*y,(pe+ue)*a,(Ce+ue)*y,(pe+ge)*a,(Ce+ge)*y,(pe+ue)*a)),Be.add(new go.PathSegment(go.PathSegment.Bezier,(Ce-ue)*y,pe*a,(Ce-ge)*y,(pe+ue)*a,(Ce-ue)*y,(pe+ge)*a).close());var de=new go.PathFigure(0,a,!1);return b.add(de),de.add(new go.PathSegment(go.PathSegment.Line,y,a).close()),b}),go.Shape.defineFigureGenerator("Warehouse",function(ae,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var x=new go.PathFigure(0,.2*a,!1);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,.2*a).close());var ee=new go.PathFigure(.15*y,a,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.15*y,.5*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.4*y,.5*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.4*y,a)),ee.add(new go.PathSegment(go.PathSegment.Line,.15*y,a).close());var ne=.05,oe=re*.05,le=.35,ue=.775,ge=new go.PathFigure((le-ne)*y,ue*a,!0);return b.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,le*y,(ue-ne)*a,(le-ne)*y,(ue-oe)*a,(le-oe)*y,(ue-ne)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(le+ne)*y,ue*a,(le+oe)*y,(ue-ne)*a,(le+ne)*y,(ue-oe)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,le*y,(ue+ne)*a,(le+ne)*y,(ue+oe)*a,(le+oe)*y,(ue+ne)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(le-ne)*y,ue*a,(le-oe)*y,(ue+ne)*a,(le-ne)*y,(ue+oe)*a).close()),b}),go.Shape.defineFigureGenerator("ControlCenter",function(ae,y,a){var b=new go.Geometry,E=new go.PathFigure(0,a,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,.1*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,.1*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.9*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.9*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Move,.1*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,.9*y,.8*a).close()),b}),go.Shape.defineFigureGenerator("Bluetooth",function(ae,y,a){var b=new go.Geometry,E=new go.PathFigure(0,.75*a,!1);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.75*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.25*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.75*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),b}),go.Shape.defineFigureGenerator("Bookmark",function(ae,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Move,.2*y,.2*a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,.2*a)),E.add(new go.PathSegment(go.PathSegment.Move,.2*y,.4*a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,.4*a)),b}),go.Shape.defineFigureGenerator("Bookmark",function(ae,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Move,.2*y,.2*a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,.2*a)),E.add(new go.PathSegment(go.PathSegment.Move,.2*y,.4*a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,.4*a)),b}),go.Shape.defineFigureGenerator("Globe",function(ae,y,a){var b=new go.Geometry,E=new go.PathFigure(.5*y,0,!1);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),E.add(new go.PathSegment(go.PathSegment.Move,0,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Move,.5*y,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,.75*y,0,y,.25*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,y,.75*a,.75*y,a)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,.25*y,a,0,.75*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,0,.25*a,.25*y,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,.15*y,.25*a,.15*y,.75*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,.85*y,.75*a,.85*y,.25*a)),E.add(new go.PathSegment(go.PathSegment.Move,.1675*y,.15*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.8325*y,.15*a,.35*y,.3*a,.65*y,.3*a)),E.add(new go.PathSegment(go.PathSegment.Move,.1675*y,.85*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.8325*y,.85*a,.35*y,.7*a,.65*y,.7*a)),b}),go.Shape.defineFigureGenerator("Wave",function(ae,y,a){var b=new go.Geometry,E=new go.PathFigure(0,.25*a,!1);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Bezier,.3*y,.25*a,.1*y,0,.2*y,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,.7*y,.25*a,.425*y,.5*a,.575*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,y,.25*a,.8*y,0,.9*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.75*a)),E.add(new go.PathSegment(go.PathSegment.Move,0,.25*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.75*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.3*y,.75*a,.1*y,.5*a,.2*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.7*y,.75*a,.425*y,a,.575*y,a)),E.add(new go.PathSegment(go.PathSegment.Bezier,y,.75*a,.8*y,.5*a,.9*y,.5*a)),b}),go.Shape.defineFigureGenerator("Operator",function(ae,y,a){var b=new go.Geometry,E=.3,x=re*.3,ee=.5,ne=.7,oe=new go.PathFigure((ee-E)*y,ne*a,!0);b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,ee*y,(ne-E)*a,(ee-E)*y,(ne-x)*a,(ee-x)*y,(ne-E)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+E)*y,ne*a,(ee+x)*y,(ne-E)*a,(ee+E)*y,(ne-x)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,ee*y,(ne+E)*a,(ee+E)*y,(ne+x)*a,(ee+x)*y,(ne+E)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(ee-E)*y,ne*a,(ee-x)*y,(ne+E)*a,(ee-E)*y,(ne+x)*a));var le=new go.PathFigure(0,.7*a,!1);return b.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,y,.7*a,0,0,y,0)),b}),go.Shape.defineFigureGenerator("TripleFanBlades",function(ae,y,a){var b=new go.Geometry,E=new go.PathFigure(.5*y,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.65*a,.65*y,.3*a,.65*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,.35*y,.5*a,.35*y,.3*a)),E.add(new go.PathSegment(go.PathSegment.Move,.5*y,.65*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,a,.3*y,.6*a,.1*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.65*a,.2*y,a,.35*y,.95*a)),E.add(new go.PathSegment(go.PathSegment.Move,.5*y,.65*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,y,a,.7*y,.6*a,.9*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.65*a,.8*y,a,.65*y,.95*a)),b}),go.Shape.defineFigureGenerator("CentrifugalPump",function(ae,y,a){var b=new go.Geometry,E=new go.PathFigure(y,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.4*y,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,0,.075*a,0,.5*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.4*y,a,0,a,.4*y,a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,.4*a,.8*y,a,.85*y,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.4*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),b}),go.Shape.defineFigureGenerator("Battery",function(ae,y,a){var b=new go.Geometry,E=new go.PathFigure(0,a,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.1*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.1*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Move,.4*y,.1*a)),E.add(new go.PathSegment(go.PathSegment.Line,.4*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.6*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.6*y,.1*a));var x=new go.PathFigure(0,.6*a,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Move,0,.4*a)),x.add(new go.PathSegment(go.PathSegment.Line,y,.4*a)),b}),go.Shape.defineFigureGenerator("Delete",function(ae,y,a){var b=new go.Geometry,E=.5,x=re*.5,ee=.5,ne=.5,oe=new go.PathFigure((ee-E)*y,ne*a,!0);b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,ee*y,(ne-E)*a,(ee-E)*y,(ne-x)*a,(ee-x)*y,(ne-E)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+E)*y,ne*a,(ee+x)*y,(ne-E)*a,(ee+E)*y,(ne-x)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,ee*y,(ne+E)*a,(ee+E)*y,(ne+x)*a,(ee+x)*y,(ne+E)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(ee-E)*y,ne*a,(ee-x)*y,(ne+E)*a,(ee-E)*y,(ne+x)*a));var le=new go.PathFigure(.15*y,.5*a,!1);return b.add(le),le.add(new go.PathSegment(go.PathSegment.Line,.85*y,.5*a)),b}),go.Shape.defineFigureGenerator("Flag",function(ae,y,a){var b=new go.Geometry,E=new go.PathFigure(0,.1*a,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Move,0,.1*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.1*a,.15*y,0,.35*y,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,y,.1*a,.65*y,.2*a,.85*y,.2*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.5*a,.85*y,.6*a,.65*y,.6*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,.35*y,.4*a,.15*y,.4*a).close()),b}),go.Shape.defineFigureGenerator("Help",function(ae,y,a){var b=new go.Geometry,E=.5,x=re*.5,ee=.5,ne=.5,oe=new go.PathFigure((ee-E)*y,ne*a,!1);b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,ee*y,(ne-E)*a,(ee-E)*y,(ne-x)*a,(ee-x)*y,(ne-E)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+E)*y,ne*a,(ee+x)*y,(ne-E)*a,(ee+E)*y,(ne-x)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,ee*y,(ne+E)*a,(ee+E)*y,(ne+x)*a,(ee+x)*y,(ne+E)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(ee-E)*y,ne*a,(ee-x)*y,(ne+E)*a,(ee-E)*y,(ne+x)*a).close()),E=.05,x=re*.05,ee=.5,ne=.8;var le=new go.PathFigure((ee-E)*y,ne*a,!1);return b.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,ee*y,(ne-E)*a,(ee-E)*y,(ne-x)*a,(ee-x)*y,(ne-E)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,(ee+E)*y,ne*a,(ee+x)*y,(ne-E)*a,(ee+E)*y,(ne-x)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,ee*y,(ne+E)*a,(ee+E)*y,(ne+x)*a,(ee+x)*y,(ne+E)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,(ee-E)*y,ne*a,(ee-x)*y,(ne+E)*a,(ee-E)*y,(ne+x)*a).close()),le.add(new go.PathSegment(go.PathSegment.Move,.5*y,.7*a)),le.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.2*a,.75*y,.475*a,.75*y,.225*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,.3*y,.35*a,.4*y,.2*a,.3*y,.25*a)),b}),go.Shape.defineFigureGenerator("Location",function(ae,y,a){return new go.Geometry().add(new go.PathFigure(.5*y,a,!0).add(new go.PathSegment(go.PathSegment.Line,.75*y,.5*a)).add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,.975*y,.025*a,.5*y,0)).add(new go.PathSegment(go.PathSegment.Bezier,.25*y,.5*a,.5*y,0,.025*y,.025*a).close()).add(new go.PathSegment(go.PathSegment.Move,.5*y,.2*a)).add(new go.PathSegment(go.PathSegment.Arc,270,360,.5*y,.3*a,.1*y,.1*a).close()))}),go.Shape.defineFigureGenerator("Lock",function(ae,y,a){var b=new go.Geometry,E=new go.PathFigure(0,.5*a,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.5*a));var x=new go.PathFigure(.2*y,.5*a,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Move,.2*y,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,.2*y,.3*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,.3*a,.25*y,0,.75*y,0)),x.add(new go.PathSegment(go.PathSegment.Line,.8*y,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,.8*y,.3*a)),b}),go.Shape.defineFigureGenerator("Unlocked",function(ae,y,a){var b=new go.Geometry,E=new go.PathFigure(0,.5*a,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.5*a));var x=new go.PathFigure(.2*y,.5*a,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Move,.2*y,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,.2*y,.3*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,.3*a,.25*y,0,.75*y,0)),x.add(new go.PathSegment(go.PathSegment.Line,.8*y,.35*a)),b}),go.Shape.defineFigureGenerator("Gear",function(ae,y,a){return new go.Geometry().add(new go.PathFigure(.9375*y,.56246875*a,!0).add(new go.PathSegment(go.PathSegment.Line,.9375*y,.4375*a)).add(new go.PathSegment(go.PathSegment.Line,.80621875*y,.4375*a)).add(new go.PathSegment(go.PathSegment.Bezier,.763*y,.3316875*a,.79840625*y,.39915625*a,.7834375*y,.3635*a)).add(new go.PathSegment(go.PathSegment.Line,.8566875*y,.23796875*a)).add(new go.PathSegment(go.PathSegment.Line,.76825*y,.14959375*a)).add(new go.PathSegment(go.PathSegment.Line,.67596875*y,.24184375*a)).add(new go.PathSegment(go.PathSegment.Bezier,.5625*y,.19378125*a,.64228125*y,.2188125*a,.603875*y,.2021875*a)).add(new go.PathSegment(go.PathSegment.Line,.5625*y,.0625*a)).add(new go.PathSegment(go.PathSegment.Line,.4375*y,.0625*a)).add(new go.PathSegment(go.PathSegment.Line,.4375*y,.19378125*a)).add(new go.PathSegment(go.PathSegment.Bezier,.32775*y,.239375*a,.39759375*y,.20190625*a,.36053125*y,.2176875*a)).add(new go.PathSegment(go.PathSegment.Line,.2379375*y,.14959375*a)).add(new go.PathSegment(go.PathSegment.Line,.14953125*y,.2379375*a)).add(new go.PathSegment(go.PathSegment.Line,.23934375*y,.3278125*a)).add(new go.PathSegment(go.PathSegment.Bezier,.19378125*y,.4375*a,.21765625*y,.36059375*a,.201875*y,.397625*a)).add(new go.PathSegment(go.PathSegment.Line,.0625*y,.4375*a)).add(new go.PathSegment(go.PathSegment.Line,.0625*y,.5625*a)).add(new go.PathSegment(go.PathSegment.Line,.1938125*y,.5625*a)).add(new go.PathSegment(go.PathSegment.Bezier,.241875*y,.67596875*a,.20221875*y,.603875*a,.21884375*y,.64228125*a)).add(new go.PathSegment(go.PathSegment.Line,.1495625*y,.76825*a)).add(new go.PathSegment(go.PathSegment.Line,.238*y,.8566875*a)).add(new go.PathSegment(go.PathSegment.Line,.3316875*y,.76296875*a)).add(new go.PathSegment(go.PathSegment.Bezier,.43753125*y,.80621875*a,.36353125*y,.78340625*a,.3991875*y,.79840625*a)).add(new go.PathSegment(go.PathSegment.Line,.43753125*y,.9375*a)).add(new go.PathSegment(go.PathSegment.Line,.5625*y,.9375*a)).add(new go.PathSegment(go.PathSegment.Line,.5625*y,.80621875*a)).add(new go.PathSegment(go.PathSegment.Bezier,.67225*y,.760625*a,.602375*y,.79809375*a,.63946875*y,.78234375*a)).add(new go.PathSegment(go.PathSegment.Line,.76828125*y,.8566875*a)).add(new go.PathSegment(go.PathSegment.Line,.85671875*y,.76825*a)).add(new go.PathSegment(go.PathSegment.Line,.76065625*y,.67221875*a)).add(new go.PathSegment(go.PathSegment.Bezier,.80621875*y,.56246875*a,.78234375*y,.63940625*a,.798125*y,.602375*a)).add(new go.PathSegment(go.PathSegment.Line,.9375*y,.56246875*a).close()).add(new go.PathSegment(go.PathSegment.Move,.5*y,.6*a)).add(new go.PathSegment(go.PathSegment.Arc,90,360,.5*y,.5*a,.1*y,.1*a).close()))}),go.Shape.defineFigureGenerator("Hand",function(ae,y,a){var b=new go.Geometry,E=new go.PathFigure(0,.5*a,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Bezier,.1*y,.3*a,0,.375*a,.05*y,.325*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.45*y,.075*a,.3*y,.225*a,.4*y,.175*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.525*y,.075*a,.46*y,.05*a,.525*y,.05*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.3*y,.4*a,.525*y,.275*a,.475*y,.325*a)),E.add(new go.PathSegment(go.PathSegment.Line,.9*y,.4*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.9*y,.55*a,y,.4*a,y,.55*a)),E.add(new go.PathSegment(go.PathSegment.Line,.425*y,.55*a)),E.add(new go.PathSegment(go.PathSegment.Line,.6*y,.55*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.6*y,.7*a,.675*y,.55*a,.675*y,.7*a)),E.add(new go.PathSegment(go.PathSegment.Line,.4*y,.7*a)),E.add(new go.PathSegment(go.PathSegment.Line,.575*y,.7*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.575*y,.85*a,.65*y,.7*a,.65*y,.85*a)),E.add(new go.PathSegment(go.PathSegment.Line,.4*y,.85*a)),E.add(new go.PathSegment(go.PathSegment.Line,.525*y,.85*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.535*y,a,.61*y,.85*a,.61*y,a)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,.435*y,a,0,a).close()),b}),go.Shape.defineFigureGenerator("Map",function(ae,y,a){var b=new go.Geometry,E=new go.PathFigure(0,.2*a,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.25*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.2*a)),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.2*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.25*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),E.add(new go.PathSegment(go.PathSegment.Move,.25*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.25*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Move,.5*y,.2*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),E.add(new go.PathSegment(go.PathSegment.Move,.75*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,.8*a)),b}),go.Shape.defineFigureGenerator("Eject",function(ae,y,a){var b=new go.Geometry,E=new go.PathFigure(0,a,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a*.7)),E.add(new go.PathSegment(go.PathSegment.Line,0,a*.7).close());var x=new go.PathFigure(0,a*.6,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,.6*a)),x.add(new go.PathSegment(go.PathSegment.Line,.5*y,0).close()),b}),go.Shape.defineFigureGenerator("Pencil",function(ae,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.2*y,.1*a)).add(new go.PathSegment(go.PathSegment.Line,y,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.9*y,a)).add(new go.PathSegment(go.PathSegment.Line,.1*y,.2*a).close()))}),go.Shape.defineFigureGenerator("Building",function(ae,y,a){var b=new go.Geometry,E=new go.PathFigure(y*1,a*1,!1);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,0,a*.85)),E.add(new go.PathSegment(go.PathSegment.Line,.046*y,a*.85)),E.add(new go.PathSegment(go.PathSegment.Line,.046*y,a*.45)),E.add(new go.PathSegment(go.PathSegment.Line,0,a*.45)),E.add(new go.PathSegment(go.PathSegment.Line,0,a*.3)),E.add(new go.PathSegment(go.PathSegment.Line,.046*y,a*.3)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a*0)),E.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*y,a*.3)),E.add(new go.PathSegment(go.PathSegment.Line,y,a*.3)),E.add(new go.PathSegment(go.PathSegment.Line,y,a*.45)),E.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*y,a*.45)),E.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*y,a*.85)),E.add(new go.PathSegment(go.PathSegment.Line,y,a*.85).close());var x=new go.PathFigure(.126*y,.85*a,!1);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.126*y,.45*a)),x.add(new go.PathSegment(go.PathSegment.Line,.322*y,.45*a)),x.add(new go.PathSegment(go.PathSegment.Line,.322*y,.85*a).close());var ee=new go.PathFigure(.402*y,.85*a,!1);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.402*y,.45*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.598*y,.45*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.598*y,.85*a).close());var ne=new go.PathFigure(.678*y,.85*a,!1);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.678*y,.45*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.874*y,.45*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.874*y,.85*a).close());var oe=new go.PathFigure(.5*y,.1*a,!1);return b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,(.046+.15)*y,.3*a)),oe.add(new go.PathSegment(go.PathSegment.Line,(1-(.046+.15))*y,.3*a).close()),b}),go.Shape.defineFigureGenerator("Staircase",function(ae,y,a){var b=new go.Geometry,E=new go.PathFigure(0,a*1,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y*.2,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*.2,a*.8)),E.add(new go.PathSegment(go.PathSegment.Line,y*.4,a*.8)),E.add(new go.PathSegment(go.PathSegment.Line,y*.4,a*.6)),E.add(new go.PathSegment(go.PathSegment.Line,y*.6,a*.6)),E.add(new go.PathSegment(go.PathSegment.Line,y*.6,a*.4)),E.add(new go.PathSegment(go.PathSegment.Line,y*.8,a*.4)),E.add(new go.PathSegment(go.PathSegment.Line,y*.8,a*.2)),E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*.2)),E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*.15)),E.add(new go.PathSegment(go.PathSegment.Line,y*.75,a*.15)),E.add(new go.PathSegment(go.PathSegment.Line,y*.75,a*.35)),E.add(new go.PathSegment(go.PathSegment.Line,y*.55,a*.35)),E.add(new go.PathSegment(go.PathSegment.Line,y*.55,a*.55)),E.add(new go.PathSegment(go.PathSegment.Line,y*.35,a*.55)),E.add(new go.PathSegment(go.PathSegment.Line,y*.35,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.15,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.15,a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,0,a*.95).close()),b}),go.Shape.defineFigureGenerator("5Bars",function(ae,y,a){var b=new go.Geometry,E=new go.PathFigure(0,a*1,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y*.184,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*.184,a*(1-.184)).close());var x=new go.PathFigure(y*.204,a,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y*.204,a*(1-.184))),x.add(new go.PathSegment(go.PathSegment.Line,y*.388,a*(1-.184*2))),x.add(new go.PathSegment(go.PathSegment.Line,y*.388,a*1).close());var ee=new go.PathFigure(y*.408,a,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,y*.408,a*(1-.184*2))),ee.add(new go.PathSegment(go.PathSegment.Line,y*.592,a*(1-.184*3))),ee.add(new go.PathSegment(go.PathSegment.Line,y*.592,a*1).close());var ne=new go.PathFigure(y*.612,a,!0);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y*.612,a*(1-.184*3))),ne.add(new go.PathSegment(go.PathSegment.Line,y*.796,a*(1-.184*4))),ne.add(new go.PathSegment(go.PathSegment.Line,y*.796,a*1).close());var oe=new go.PathFigure(y*.816,a,!0);return b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,y*.816,a*(1-.184*4))),oe.add(new go.PathSegment(go.PathSegment.Line,y*1,a*(1-.184*5))),oe.add(new go.PathSegment(go.PathSegment.Line,y*1,a*1).close()),b}),go.Shape.defineFigureGenerator("PC",function(ae,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*.3,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*.3,0).close());var x=new go.PathFigure(y*.055,.07*a,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y*.245,a*.07)),x.add(new go.PathSegment(go.PathSegment.Line,y*.245,a*.1)),x.add(new go.PathSegment(go.PathSegment.Line,y*.055,a*.1).close());var ee=new go.PathFigure(y*.055,.13*a,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,y*.245,a*.13)),ee.add(new go.PathSegment(go.PathSegment.Line,y*.245,a*.16)),ee.add(new go.PathSegment(go.PathSegment.Line,y*.055,a*.16).close());var ne=new go.PathFigure(y*.055,.18*a,!0);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y*.245,a*.18)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.245,a*.21)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.055,a*.21).close());var oe=new go.PathFigure(y*1,0,!0);return b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,y*.4,0)),oe.add(new go.PathSegment(go.PathSegment.Line,y*.4,a*.65)),oe.add(new go.PathSegment(go.PathSegment.Line,y*1,a*.65).close()),b}),go.Shape.defineFigureGenerator("Plane",function(ae,y,a){var b=new go.Geometry,E=new go.PathFigure(.55*y,a,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,.4*y,.7*a)),E.add(new go.PathSegment(go.PathSegment.Line,.1*y,.475*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.35*y,.525*a,0,.4*a,.225*y,.45*a)),E.add(new go.PathSegment(go.PathSegment.Line,.4*y,.475*a)),E.add(new go.PathSegment(go.PathSegment.Line,.15*y,.35*a)),E.add(new go.PathSegment(go.PathSegment.Line,.2*y,.325*a)),E.add(new go.PathSegment(go.PathSegment.Line,.6*y,.325*a)),E.add(new go.PathSegment(go.PathSegment.Line,.85*y,.1*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.9*y,.2*a,.975*y,0,y,.08*a)),E.add(new go.PathSegment(go.PathSegment.Line,.7*y,.45*a)),E.add(new go.PathSegment(go.PathSegment.Line,.6*y,.95*a)),E.add(new go.PathSegment(go.PathSegment.Line,.55*y,a).close()),b}),go.Shape.defineFigureGenerator("Key",function(ae,y,a){var b=new go.Geometry,E=new go.PathFigure(y*1,a*.5,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y*.9,.4*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.5,.4*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.5,.35*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.45,.35*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.3,.2*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.15,.2*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.35*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.65*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.15,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.3,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.45,.65*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.5,.65*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.5,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.6,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.65,.55*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.7,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.75,.55*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.8,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.85,.575*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.9,.6*a).close()),E.add(new go.PathSegment(go.PathSegment.Move,.17*y,.425*a)),E.add(new go.PathSegment(go.PathSegment.Arc,270,360,.17*y,.5*a,.075*y,.075*a).close()),b}),go.Shape.defineFigureGenerator("FilmTape",function(ae,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!1);b.add(E),E.add(new go.PathSegment(go.PathSegment.Arc,270,180,y*0,y*.3,y*.055)),E.add(new go.PathSegment(go.PathSegment.Line,0,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*.08,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*.08,a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*1),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*1),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*2),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*2),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*3),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*3),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*4),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*4),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*5),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*5),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*6),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*6),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*7),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*7),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*8),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*8),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*9),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*9),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*10),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*10),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*11),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*11),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*12),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*12),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*13),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*13),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*14),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*14),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*15),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*15),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*1));var x=new go.PathFigure(0,0,!1);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y*1,a*0)),x.add(new go.PathSegment(go.PathSegment.Arc,270,-180,y*1,y*.3,y*.055)),x.add(new go.PathSegment(go.PathSegment.Line,y*1,a*1));var ee=new go.PathFigure(y*.11,a*.1,!1);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*1+.028*0),a*.1)),ee.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*1+.028*0),a*.8)),ee.add(new go.PathSegment(go.PathSegment.Line,y*.11,a*.8).close());var ne=new go.PathFigure(y*(.11+.24133333*1+.028*1),a*.1,!1);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*2+.028*1),a*.1)),ne.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*2+.028*1),a*.8)),ne.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*1+.028*1),a*.8).close());var oe=new go.PathFigure(y*(.11+.24133333*2+.028*2),a*.1,!1);return b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*3+.028*2),a*.1)),oe.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*3+.028*2),a*.8)),oe.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*2+.028*2),a*.8).close()),b}),go.Shape.defineFigureGenerator("FloppyDisk",function(ae,y,a){var b=new go.Geometry,E=8,x=E*re,ee=new go.PathFigure(E,0,!1);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,y*.86,0)),ee.add(new go.PathSegment(go.PathSegment.Line,y*1,a*.14)),ee.add(new go.PathSegment(go.PathSegment.Line,y,a-E)),ee.add(new go.PathSegment(go.PathSegment.Bezier,y-E,a,y,a-x,y-x,a)),ee.add(new go.PathSegment(go.PathSegment.Line,E,a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,a-E,x,a,0,a-x)),ee.add(new go.PathSegment(go.PathSegment.Line,0,E)),ee.add(new go.PathSegment(go.PathSegment.Bezier,E,0,0,x,x,0).close());var ne=new go.PathFigure(y*.83,0,!1);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y*.83,a*.3)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.17,a*.3)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.17,a*0).close());var oe=new go.PathFigure(y*.83,a*1,!1);b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,y*.83,a*.5)),oe.add(new go.PathSegment(go.PathSegment.Line,y*.17,a*.5)),oe.add(new go.PathSegment(go.PathSegment.Line,y*.17,a*1).close());var le=new go.PathFigure(y*.78,a*.05,!1);return b.add(le),le.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*.05)),le.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*.25)),le.add(new go.PathSegment(go.PathSegment.Line,y*.78,a*.25).close()),b}),go.Shape.defineFigureGenerator("SpeechBubble",function(ae,y,a){var b=ae?ae.parameter1:NaN;(isNaN(b)||b<0)&&(b=15),b=Math.min(b,y/3),b=Math.min(b,a/3);var E=b*re,x=a*.8,ee=new go.Geometry,ne=new go.PathFigure(b,0,!0);return ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y-b,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,y,b,y-E,0,y,E)),ne.add(new go.PathSegment(go.PathSegment.Line,y,x-b)),ne.add(new go.PathSegment(go.PathSegment.Bezier,y-b,x,y,x-E,y-E,x)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.7,x)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.7,a)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.55,x)),ne.add(new go.PathSegment(go.PathSegment.Line,b,x)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,x-b,E,x,0,x-E)),ne.add(new go.PathSegment(go.PathSegment.Line,0,b)),ne.add(new go.PathSegment(go.PathSegment.Bezier,b,0,0,E,E,0).close()),E>1?(ee.spot1=new go.Spot(0,0,E,E),ee.spot2=new go.Spot(1,.8,-E,-E)):(ee.spot1=go.Spot.TopLeft,ee.spot2=new go.Spot(1,.8)),ee}),go.Shape.defineFigureGenerator("Repeat",function(ae,y,a){var b=new go.Geometry,E=new go.PathFigure(y*0,a*.45,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y*.25,a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*.5,a*.45)),E.add(new go.PathSegment(go.PathSegment.Line,y*.3,a*.45)),E.add(new go.PathSegment(go.PathSegment.Line,y*.3,a*.9)),E.add(new go.PathSegment(go.PathSegment.Line,y*.6,a*.9)),E.add(new go.PathSegment(go.PathSegment.Line,y*.65,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*.2,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*.2,a*.45).close());var x=new go.PathFigure(y*1,a*.55,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y*.75,a*1)),x.add(new go.PathSegment(go.PathSegment.Line,y*.5,a*.55)),x.add(new go.PathSegment(go.PathSegment.Line,y*.7,a*.55)),x.add(new go.PathSegment(go.PathSegment.Line,y*.7,a*.1)),x.add(new go.PathSegment(go.PathSegment.Line,y*.4,a*.1)),x.add(new go.PathSegment(go.PathSegment.Line,y*.35,a*0)),x.add(new go.PathSegment(go.PathSegment.Line,y*.8,a*0)),x.add(new go.PathSegment(go.PathSegment.Line,y*.8,a*.55).close()),b}),go.Shape.defineFigureGenerator("Windows",function(ae,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close()).add(new go.PathSegment(go.PathSegment.Move,.4*y,.4*a)).add(new go.PathSegment(go.PathSegment.Line,.4*y,.8*a)).add(new go.PathSegment(go.PathSegment.Line,.9*y,.8*a)).add(new go.PathSegment(go.PathSegment.Line,.9*y,.4*a).close()).add(new go.PathSegment(go.PathSegment.Move,.2*y,.1*a)).add(new go.PathSegment(go.PathSegment.Line,.2*y,.6*a)).add(new go.PathSegment(go.PathSegment.Line,.7*y,.6*a)).add(new go.PathSegment(go.PathSegment.Line,.7*y,.1*a).close()).add(new go.PathSegment(go.PathSegment.Move,.1*y,.6*a)).add(new go.PathSegment(go.PathSegment.Line,.1*y,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.5*y,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.5*y,.6*a).close()))}),go.Shape.defineFigureGenerator("Terminal",function(ae,y,a){var b=new go.Geometry,E=new go.PathFigure(y*0,a*.1,!1);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*.1)),E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*.9)),E.add(new go.PathSegment(go.PathSegment.Line,y*0,a*.9).close());var x=new go.PathFigure(y*.1,a*.2,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y*.1,a*.25)),x.add(new go.PathSegment(go.PathSegment.Line,y*.22,a*.285)),x.add(new go.PathSegment(go.PathSegment.Line,y*.1,a*.32)),x.add(new go.PathSegment(go.PathSegment.Line,y*.1,a*.37)),x.add(new go.PathSegment(go.PathSegment.Line,y*.275,a*.32)),x.add(new go.PathSegment(go.PathSegment.Line,y*.275,a*.25).close());var ee=new go.PathFigure(y*.28,a*.37,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,y*.45,a*.37)),ee.add(new go.PathSegment(go.PathSegment.Line,y*.45,a*.41)),ee.add(new go.PathSegment(go.PathSegment.Line,y*.28,a*.41).close()),b}),go.Shape.defineFigureGenerator("Beaker",function(ae,y,a){var b=new go.Geometry,E=15,x=E*re,ee=new go.PathFigure(y*.62,a*.475,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,y,a-E)),ee.add(new go.PathSegment(go.PathSegment.Bezier,y-E,a,y,a-x,y-x,a)),ee.add(new go.PathSegment(go.PathSegment.Line,E,a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,a-E,x,a,0,a-x)),ee.add(new go.PathSegment(go.PathSegment.Line,y*.38,a*.475)),ee.add(new go.PathSegment(go.PathSegment.Line,y*.38,a*.03)),ee.add(new go.PathSegment(go.PathSegment.Line,y*.36,a*0)),ee.add(new go.PathSegment(go.PathSegment.Line,y*.64,a*0)),ee.add(new go.PathSegment(go.PathSegment.Line,y*.62,a*.03).close()),x>1?(b.spot1=new go.Spot(0,0,x,x),b.spot2=new go.Spot(1,1,-x,-x)):(b.spot1=go.Spot.TopLeft,b.spot2=go.Spot.BottomRight),b}),go.Shape.defineFigureGenerator("Download",function(ae,y,a){var b=new go.Geometry,E=new go.PathFigure(y*0,a*1,!0);b.add(E);var x=.1/.3;E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,y*.8,a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*.055)),E.add(new go.PathSegment(go.PathSegment.Line,y*.755,a*.055)),E.add(new go.PathSegment(go.PathSegment.Line,y*.93,a*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,y*.64,a*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,y*.61,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.5,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.39,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.36,a*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,y*.07,a*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,y*(1-.755),a*.055)),E.add(new go.PathSegment(go.PathSegment.Line,y*(1-.66),a*.055)),E.add(new go.PathSegment(go.PathSegment.Line,y*(1-.66),a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*(1-.8),a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*0,a*(1-x)).close());var ee=new go.PathFigure(y*.4,a*0,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,y*.4,a*.44)),ee.add(new go.PathSegment(go.PathSegment.Line,y*.26,a*.44)),ee.add(new go.PathSegment(go.PathSegment.Line,y*.5,a*.66)),ee.add(new go.PathSegment(go.PathSegment.Line,y*(1-.26),a*.44)),ee.add(new go.PathSegment(go.PathSegment.Line,y*.6,a*.44)),ee.add(new go.PathSegment(go.PathSegment.Line,y*.6,a*0).close()),b}),go.Shape.defineFigureGenerator("Bin",function(ae,y,a){var b=new go.Geometry,E=new go.PathFigure(y*0,a*1,!0);b.add(E);var x=.1/.3;return E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,y*.8,a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*.055)),E.add(new go.PathSegment(go.PathSegment.Line,y*.755,a*.055)),E.add(new go.PathSegment(go.PathSegment.Line,y*.93,a*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,y*.64,a*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,y*.61,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.5,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.39,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.36,a*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,y*.07,a*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,y*(1-.755),a*.055)),E.add(new go.PathSegment(go.PathSegment.Line,y*(1-.66),a*.055)),E.add(new go.PathSegment(go.PathSegment.Line,y*(1-.66),a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*(1-.8),a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*0,a*(1-x)).close()),b}),go.Shape.defineFigureGenerator("Upload",function(ae,y,a){var b=new go.Geometry,E=new go.PathFigure(y*0,a*1,!0);b.add(E);var x=.1/.3;E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,y*.8,a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*.055)),E.add(new go.PathSegment(go.PathSegment.Line,y*.755,a*.055)),E.add(new go.PathSegment(go.PathSegment.Line,y*.93,a*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,y*.64,a*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,y*.61,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.5,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.39,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.36,a*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,y*.07,a*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,y*(1-.755),a*.055)),E.add(new go.PathSegment(go.PathSegment.Line,y*(1-.66),a*.055)),E.add(new go.PathSegment(go.PathSegment.Line,y*(1-.66),a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*(1-.8),a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*0,a*(1-x)).close());var ee=new go.PathFigure(y*.5,a*0,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,y*.26,a*.25)),ee.add(new go.PathSegment(go.PathSegment.Line,y*.4,a*.25)),ee.add(new go.PathSegment(go.PathSegment.Line,y*.4,a*.63)),ee.add(new go.PathSegment(go.PathSegment.Line,y*.6,a*.63)),ee.add(new go.PathSegment(go.PathSegment.Line,y*.6,a*.25)),ee.add(new go.PathSegment(go.PathSegment.Line,y*.74,a*.25).close()),b}),go.Shape.defineFigureGenerator("EmptyDrink",function(ae,y,a){var b=new go.Geometry,E=new go.PathFigure(y*.15,a*0,!1);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y*.85,a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*.7,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*.3,a*1).close()),b}),go.Shape.defineFigureGenerator("Drink",function(ae,y,a){var b=new go.Geometry,E=new go.PathFigure(y*.15,a*0,!1);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y*.85,a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*.7,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*.3,a*1).close());var x=new go.PathFigure(y*.235,a*.28,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y*.765,a*.28)),x.add(new go.PathSegment(go.PathSegment.Line,y*.655,a*.97)),x.add(new go.PathSegment(go.PathSegment.Line,y*.345,a*.97).close()),b}),go.Shape.defineFigureGenerator("4Arrows",function(ae,y,a){var b=new go.Geometry,E=new go.PathFigure(y*.5,a*0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y*.65,a*.25)),E.add(new go.PathSegment(go.PathSegment.Line,y*.55,a*.25)),E.add(new go.PathSegment(go.PathSegment.Line,y*.55,a*.45)),E.add(new go.PathSegment(go.PathSegment.Line,y*.75,a*.45)),E.add(new go.PathSegment(go.PathSegment.Line,y*.75,a*.35)),E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*.5)),E.add(new go.PathSegment(go.PathSegment.Line,y*.75,a*.65)),E.add(new go.PathSegment(go.PathSegment.Line,y*.75,a*.55)),E.add(new go.PathSegment(go.PathSegment.Line,y*.55,a*.55)),E.add(new go.PathSegment(go.PathSegment.Line,y*.55,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.65,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.5,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*.35,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.45,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.45,a*.55)),E.add(new go.PathSegment(go.PathSegment.Line,y*.25,a*.55)),E.add(new go.PathSegment(go.PathSegment.Line,y*.25,a*.65)),E.add(new go.PathSegment(go.PathSegment.Line,y*0,a*.5)),E.add(new go.PathSegment(go.PathSegment.Line,y*.25,a*.35)),E.add(new go.PathSegment(go.PathSegment.Line,y*.25,a*.45)),E.add(new go.PathSegment(go.PathSegment.Line,y*.45,a*.45)),E.add(new go.PathSegment(go.PathSegment.Line,y*.45,a*.25)),E.add(new go.PathSegment(go.PathSegment.Line,y*.35,a*.25).close()),b}),go.Shape.defineFigureGenerator("Connector","Ellipse"),go.Shape.defineFigureGenerator("Alternative","TriangleUp"),go.Shape.defineFigureGenerator("Merge","TriangleUp"),go.Shape.defineFigureGenerator("Decision","Diamond"),go.Shape.defineFigureGenerator("DataTransmissions","Hexagon"),go.Shape.defineFigureGenerator("Gate","Crescent"),go.Shape.defineFigureGenerator("Delay","HalfEllipse"),go.Shape.defineFigureGenerator("Input","Parallelogram1"),go.Shape.defineFigureGenerator("ManualLoop","ManualOperation"),go.Shape.defineFigureGenerator("ISOProcess","Chevron"),go.Shape.defineFigureGenerator("MessageToUser","SquareArrow"),go.Shape.defineFigureGenerator("MagneticData","Cylinder1"),go.Shape.defineFigureGenerator("DirectData","Cylinder4"),go.Shape.defineFigureGenerator("StoredData","DataStorage"),go.Shape.defineFigureGenerator("SequentialData","MagneticTape"),go.Shape.defineFigureGenerator("Subroutine","Procedure")},11081:function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;(function(){if(typeof window.GGBApplet=="function"){console.warn("deployggb.js was loaded twice");return}var isRenderGGBElementEnabled=!1,scriptLoadStarted=!1,html5AppletsToProcess=null,ggbHTML5LoadedCodebaseIsWebSimple=!1,ggbHTML5LoadedCodebaseVersion=null,ggbHTML5LoadedScript=null,GGBApplet=function(){"use strict";for(var xt={},It="5.0",te={},z=null,ie=!1,Ae=!1,je=null,Ee=!1,xe=null,re=null,We=0;We<arguments.length;We++){var Ke=arguments[We];if(Ke!==null)switch(typeof Ke){case"number":It=Ke.toFixed(1);break;case"string":Ke.match(new RegExp("^[0-9]\\.[0-9]+$"))?It=Ke:je=Ke;break;case"object":typeof Ke.is3D!="undefined"?z=Ke:te=Ke;break;case"boolean":ie=Ke,Ae=!0;break}}z===null&&(z={is3D:!1,AV:!1,SV:!1,CV:!1,EV2:!1,CP:!1,PC:!1,DA:!1,FI:!1,PV:!1,macro:!1},te.material_id!==void 0&&!Ae&&(ie=!0)),je!==null&&te.id===void 0&&(te.id=je);var ze="",Xe="",mt=!1,Re=null,ae=null,y=null,a=!1,b=null,E=null,x=null,ee=null,ne=null;te.height!==void 0&&(te.height=Math.round(te.height)),te.width!==void 0&&(te.width=Math.round(te.width));var oe=function(Me){return parseFloat(Me)>4?parseFloat(Me):5};xt.setHTML5Codebase=function(Me,De){re=Me,_e(Me,De)},xt.setJavaCodebase=xt.setJavaCodebaseVersion=xt.isCompiledInstalled=xt.setPreCompiledScriptPath=xt.setPreCompiledResourcePath=function(){},xt.setHTML5CodebaseVersion=function(Me,De){var Et=parseFloat(Me);if(Et!==NaN&&Et<5){console.log("The GeoGebra HTML5 codebase version "+Et+" is deprecated. Using version latest instead.");return}xe=Me,Mt(Me,De)},xt.getHTML5CodebaseVersion=function(){return ae},xt.getParameters=function(){return te},xt.setFontsCSSURL=function(Me){ee=Me},xt.setGiacJSURL=function(Me){},xt.setJNLPFile=function(Me){ze=Me},xt.setJNLPBaseDir=function(Me){},xt.inject=function(){function Me(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var De="auto",Et=te.id,Kt,ft=!1,jt=0;jt<arguments.length;jt++){var Le=arguments[jt];typeof Le=="string"?(Le=Le.toLowerCase(),Le.match(/^(prefer)?(java|html5|compiled|auto|screenshot)$/)?De=Le:Et=arguments[jt]):typeof Le=="boolean"?ft=Le:Le instanceof HTMLElement&&(Kt=Le)}Xt();function Xt(){if(!Ee){setTimeout(Xt,200);return}De=Ue(De);var vn=Kt||document.getElementById(Et);if(!vn){console.log("possibly bug on ajax loading? ");return}if(xt.removeExistingApplet(vn,!1),te.width===void 0&&vn.clientWidth&&(te.width=vn.clientWidth),te.height===void 0&&vn.clientHeight&&(te.height=vn.clientHeight),!(te.width&&te.height)&&De==="html5"&&(delete te.width,delete te.height),Re=De,De==="screenshot")Oe(vn,te);else{var St=!1;te.hasOwnProperty("playButton")&&te.playButton||te.hasOwnProperty("clickToLoad")&&te.clickToLoad?St=!0:te.hasOwnProperty("playButtonAutoDecide")&&te.playButtonAutoDecide&&(St=(!le()||Me())&&ue()),St?(Re="screenshot",Pe(vn,te,ft,De)):et(vn,te,ft)}}};function le(){try{return window.self!==window.top}catch(Me){return!0}}function ue(){return te.hasOwnProperty("screenshotGenerator")&&te.screenshotGenerator?!1:Math.max(screen.width,screen.height)<800}xt.getViews=function(){return z},xt.isJavaInstalled=function(){return!1};var ge=function(Me){var De=function(jt){var Le=JSON.parse(jt),Xt=function(ut){return ut.type=="G"||ut.type=="E"},vn=Le.elements?Le.elements.filter(Xt)[0]:Le;if(!vn||!vn.url){Et();return}te.fileName=vn.url,Ce(vn.settings||{}),z.is3D=!0;var St="https://www.geogebra.org/images/";xt.setPreviewImage(b||vn.previewUrl,St+"GeoGebra_loading.png",St+"applet_play.png"),Me()},Et=function(){te.onError&&te.onError(),Tt("Error: Fetching material (id "+te.material_id+") failed.",te)},Kt=location.host.match(/(www|stage|beta|groot|alpha).geogebra.(org|net)/)?location.host:"www.geogebra.org",ft="/materials/"+te.material_id+"?scope=basic";pe("https://"+Kt+"/api/proxy.php?path="+encodeURIComponent(ft),De,Et)};function Ce(Me){var De=["width","height","showToolBar","showMenuBar","showAlgebraInput","allowStyleBar","showResetIcon","enableLabelDrags","enableShiftDragZoom","enableRightClick","appName"];["enableLabelDrags","enableShiftDragZoom","enableRightClick"].forEach(function(Et){Me[Et]=!!Me[Et]}),De.forEach(function(Et){te[Et]===void 0&&Me[Et]!==void 0&&(te[Et]=Me[Et])}),te.showToolBarHelp===void 0&&(te.showToolBarHelp=te.showToolBar)}function pe(Me,De,Et){var Kt=new XMLHttpRequest;Kt.open("GET",Me),Kt.onload=function(){De(Kt.responseText)},Kt.onerror=Et,Kt.send()}xt.isHTML5Installed=function(){return!0},xt.getLoadedAppletType=function(){return Re},xt.setPreviewImage=function(Me,De,Et){b=Me,E=De,x=Et},xt.removeExistingApplet=function(Me,De){var Et;typeof Me=="string"&&(Me=document.getElementById(Me)),Re=null;var Kt=null;for(Et=0;Et<Me.childNodes.length;Et++){var ft=Me.childNodes[Et],jt=ft.className;jt==="applet_screenshot"?De?(ft.style.display="block",Re="screenshot"):ft.style.display="none":jt!=="applet_scaler prerender"&&(Me.removeChild(ft),Kt=jt&&jt.indexOf("appletParameters")!=-1?ft.id:null,Et--)}var Le=te.id!==void 0?te.id:Kt,Xt=window[Le];Xt&&typeof Xt.getBase64=="function"&&(Xt.remove(),window[Le]=null)},xt.refreshHitPoints=function(){if(oe(ggbHTML5LoadedCodebaseVersion)>=5)return!0;var Me=xt.getAppletObject();return Me&&typeof Me.recalculateEnvironments=="function"?(Me.recalculateEnvironments(),!0):!1},xt.startAnimation=function(){var Me=xt.getAppletObject();return Me&&typeof Me.startAnimation=="function"?(Me.startAnimation(),!0):!1},xt.stopAnimation=function(){var Me=xt.getAppletObject();return Me&&typeof Me.stopAnimation=="function"?(Me.stopAnimation(),!0):!1},xt.getAppletObject=function(){var Me=te.id!==void 0?te.id:"ggbApplet";return window[Me]},xt.resize=function(){};var Be=function(Me,De,Et){var Kt=document.createElement("param");Kt.setAttribute("name",De),Kt.setAttribute("value",Et),Me.appendChild(Kt)},de=function(Me){return Me&&Me!=="false"},et=function(Me,De,Et){oe(ae)<=4.2&&(Et=!0);var Kt=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==ae||ggbHTML5LoadedCodebaseIsWebSimple&&!a)&&(Kt=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var ft=document.createElement("div");ft.classList.add("appletParameters","notranslate");var jt=De.width,Le=De.height;if(De.disableAutoScale=De.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():De.disableAutoScale,De.width!==void 0)if(oe(ae)<=4.4)de(De.showToolBar)&&(De.height-=7),de(De.showAlgebraInput)&&(De.height-=37),De.width<605&&de(De.showToolBar)&&(De.width=605,jt=605);else{var Xt=100;(de(De.showToolBar)||de(De.showMenuBar))&&(De.hasOwnProperty("customToolBar")&&(De.customToolbar=De.customToolBar),Xt=de(De.showMenuBar)?245:155),jt<Xt&&(De.width=Xt,jt=Xt)}ft.style.border="none",ft.style.display="inline-block";for(var vn in De)De.hasOwnProperty(vn)&&vn!=="appletOnLoad"&&ft.setAttribute("data-param-"+vn,De[vn]);ee&&ft.setAttribute("data-param-fontscssurl",ee),xt.resize=function(){GGBAppletUtils.responsiveResize(Me,De)},window.addEventListener("resize",function(ye){xt.resize()});var St=typeof De.appletOnLoad=="function"?De.appletOnLoad:function(){};if(!Et&&De.width!==void 0){De.hasOwnProperty("showSplash")||ft.setAttribute("data-param-showSplash","false");var ut=Me.querySelector(".applet_scaler.prerender"),Ve=ut!==null;if(Ve)var Te=ut.querySelector(".ggb_preview");else{var Te=ot(jt,Le,De.borderColor,!1);ut=document.createElement("div"),ut.className="applet_scaler",ut.style.position="relative",ut.style.display="block",ut.style.width=jt+"px",ut.style.height=Le+"px"}window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(ut,"66%"),oe(ae)>=5?(De.appletOnLoad=function(ye){var nt=Me.querySelector(".ggb_preview");nt&&nt.parentNode.removeChild(nt),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(ut),window.GGBT_wsf_view&&$(window).trigger("resize"),St(ye)},Ve||ut.appendChild(Te)):ft.appendChild(Te),ut.appendChild(ft),Ve||Me.appendChild(ut),setTimeout(function(){xt.resize()},1)}else{var he=document.createElement("div");he.className="applet_scaler",he.style.position="relative",he.style.display="block",he.appendChild(ft),Me.appendChild(he),De.appletOnLoad=function(ye){xt.resize(),St(ye)}}function se(ye,nt){nt&&typeof nt.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(ye,nt.appletOnLoad):renderGGBElement(ye),Tt("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",nt)}function Ie(ye,nt){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:ye,params:nt}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(_t){se(_t.article,_t.params)}),html5AppletsToProcess=null)},oe(ae)<5&&(ye.className+=" geogebraweb")):se(ye,nt)}if(Kt){scriptLoadStarted=!0;for(var dt=0;dt<ft.childNodes.length;dt++){var Se=ft.childNodes[dt].tagName;Se==="TABLE"&&(ft.removeChild(ft.childNodes[dt]),dt--)}if(ggbHTML5LoadedScript!==null){var ve=document.querySelector('script[src="'+ggbHTML5LoadedScript+'"]');ve!=null&&ve.parentNode.removeChild(ve)}var Je=document.createElement("script"),Ne=function(){Ie(ft,De)};Je.src=Xe+y,ggbHTML5LoadedCodebaseIsWebSimple=a,ggbHTML5LoadedCodebaseVersion=ae,ggbHTML5LoadedScript=Je.src,Tt("GeoGebra HTML5 codebase loaded: '"+Xe+"'.",De),!re&&(!xe||xe=="5.0")?(a?webSimple.succeeded=webSimple.succeeded||webSimple():web3d.succeeded=web3d.succeeded||web3d(),Ne()):Xe.requirejs?__webpack_require__.e(981).then(function(){var ye=[__webpack_require__(60981)];Ne.apply(null,ye)}.bind(this)).catch(__webpack_require__.oe):(Je.onload=Ne,Me.appendChild(Je))}else Ie(ft,De);De.height=Le,De.width=jt},Oe=function(Me,De,Et){var Kt=ot(De.width,De.height,De.borderColor,Et),ft=document.createElement("div");ft.style.position="relative",ft.style.display="block",ft.style.width=De.width+"px",ft.style.height=De.height+"px",ft.className="applet_screenshot applet_scaler"+(Et?" applet_screenshot_play":""),ft.appendChild(Kt);var jt=GGBAppletUtils.getScale(De,Me,Et);Et?(Me.appendChild(ke()),window.GGBT_wsf_view||(Me.style.position="relative")):window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(ft,"66%"),Me.appendChild(ft),jt!==1&&!isNaN(jt)&&(GGBAppletUtils.scaleElement(ft,jt),ft.style.width=De.width+"px",ft.style.height=De.height+"px",ft.parentNode.style.width=De.width*jt+"px",ft.parentNode.style.height=De.height*jt+"px"),xt.resize=function(){Ge(Me,Kt,ft,Et)},window.addEventListener("resize",function(Le){xt.resize()}),xt.resize()};function Ge(Me,De,Et,Kt){if(Me.contains(De)){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(Me.id!=="fullscreencontent")return;window.GGBT_wsf_view.setCloseBtnPosition(Me)}var ft=GGBAppletUtils.getScale(te,Me,Kt);Et.parentNode!==null&&(!isNaN(ft)&&ft!==1?(GGBAppletUtils.scaleElement(Et,ft),Et.parentNode.style.width=te.width*ft+"px",Et.parentNode.style.height=te.height*ft+"px"):(GGBAppletUtils.scaleElement(Et,1),Et.parentNode.style.width=te.width+"px",Et.parentNode.style.height=te.height+"px")),typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&GGBAppletUtils.positionCenter(Me),typeof window.GGBT_ws_header_footer=="object"&&window.GGBT_ws_header_footer.setWsScrollerHeight()}}xt.onExitFullscreen=function(Me,De){De.appendChild(Me)};var Pe=function(Me,De,Et,Kt){Oe(Me,De,!0);for(var ft=function(){var Xt=[];for(Le=0;Le<Me.childNodes.length;Le++)Xt.push(Me.childNodes[Le]);if(window.GGBT_wsf_view){var vn=window.GGBT_wsf_view.renderFullScreen(Me,De.id),St=document.getElementById("fullscreencontainer"),ut=jQuery(Me).find(".fullscreencontent");ut.length>0?(vn.remove(),ut.attr("id","fullscreencontent").show(),jQuery(St).append(ut),window.dispatchEvent(new Event("resize"))):et(vn,De,!1),window.GGBT_wsf_view.launchFullScreen(St)}else Re=Kt,et(Me,De,!1);if(!window.GGBT_wsf_view)for(Le=0;Le<Xt.length;Le++)Me.removeChild(Xt[Le])},jt=Me.getElementsByClassName("ggb_preview_play"),Le=0;Le<jt.length;Le++)jt[Le].addEventListener("click",ft,!1),jt[Le].addEventListener("ontouchstart",ft,!1);typeof window.ggbAppletPlayerOnload=="function"&&window.ggbAppletPlayerOnload(Me),ue()&&window.GGBT_wsf_view&&$(".wsf-element-fullscreen-button").remove()},ke=function(){var Me=document.createElement("div");if(Me.className="ggb_preview_play icon-applet-play",!window.GGBT_wsf_view){var De='.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");}',Et=document.createElement("style");Et.styleSheet?Et.styleSheet.cssText=De:Et.appendChild(document.createTextNode(De)),document.getElementsByTagName("head")[0].appendChild(Et)}return Me},ot=function(Me,De,Et,Kt){var ft=document.createElement("div");ft.className="ggb_preview",ft.style.position="absolute",ft.style.zIndex="90",ft.style.width=Me-2+"px",ft.style.height=De-2+"px",ft.style.top="0px",ft.style.left="0px",ft.style.overflow="hidden",ft.style.backgroundColor="white";var jt="lightgrey";Et!==void 0&&(Et==="none"?jt="transparent":jt=Et),ft.style.border="1px solid "+jt;var Le=document.createElement("img");if(Le.style.position="relative",Le.style.zIndex="1000",Le.style.top="-1px",Le.style.left="-1px",b!==null&&Le.setAttribute("src",b),Le.style.opacity=.7,E!==null){var Xt,vn,St;if(!Kt){Xt=document.createElement("img"),Xt.style.position="absolute",Xt.style.zIndex="1001",Xt.style.opacity=1,Le.style.opacity=.3,vn=360,vn>Me/4*3&&(vn=Me/4*3),St=vn/5.8,Xt.setAttribute("src",E),Xt.setAttribute("width",vn),Xt.setAttribute("height",St);var ut=(Me-vn)/2,Ve=(De-St)/2;Xt.style.left=ut+"px",Xt.style.top=Ve+"px",ft.appendChild(Xt)}}return ft.appendChild(Le),ft},Ue=function(Me){return Me=Me.toLowerCase(),Me==="html5"||Me==="screenshot"?Me:"html5"},it=["web","webSimple","web3d","tablet","tablet3d","phone"],Mt=function(Me,De){if(ae=Me,De){_e(ae,!0);return}var Et=!ie;if(Et){var Kt=oe(ae);!isNaN(Kt)&&Kt<4.4&&(Et=!1)}var ft,jt;window.location.protocol.substr(0,4)==="http"?ft=window.location.protocol:ft="http:";var Le=ae.indexOf("//");Le>0?jt=ae:Le===0?jt=ft+ae:jt="https://www.geogebra.org/apps/5.2.814.0/";for(var Xt in it)if(ae.slice(it[Xt].length*-1)===it[Xt]||ae.slice((it[Xt].length+1)*-1)===it[Xt]+"/"){_e(jt,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&Et&&!z.is3D&&!z.AV&&!z.SV&&!z.CV&&!z.EV2&&!z.CP&&!z.PC&&!z.DA&&!z.FI&&!z.PV&&!de(te.showToolBar)&&!de(te.showMenuBar)&&!de(te.showAlgebraInput)&&!de(te.enableRightClick)&&(!te.appName||te.appName=="classic")?jt+="webSimple/":jt+="web3d/",_e(jt,!1)},_e=function(Me,De){if(Me.requirejs){Xe=Me;return}Me.slice(-1)!=="/"&&(Me+="/"),Xe=Me,De===null&&(De=Me.indexOf("http")===-1),mt=De,y="web.nocache.js",a=!1;var Et=Xe.split("/");Et.length>1&&(!De&&Et[Et.length-2]==="webSimple"?(y="webSimple.nocache.js",a=!0):it.indexOf(Et[Et.length-2])>=0&&(y=Et[Et.length-2]+".nocache.js")),Et=Me.split("/"),ae=Et[Et.length-3],ae.substr(0,4)==="test"?ae=ae.substr(4,1)+"."+ae.substr(5,1):(ae.substr(0,3)==="war"||ae.substr(0,4)==="beta")&&(ae="5.0");var Kt=parseFloat(ae);Kt!==NaN&&Kt<5&&Me.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+Kt+" is deprecated. Using version latest instead."),Mt("5.0",De))},Tt=function(Me,De){window.console&&window.console.log&&(!De||typeof De.showLogging=="undefined"||De.showLogging&&De.showLogging!=="false")&&console.log(Me)};te.material_id!==void 0?ge(Jt):Jt();function Jt(){var Me=It;xe!==null?Me=xe:parseFloat(Me)<5&&(Me="5.0"),Mt(Me,!1),re!==null&&_e(re,mt),Ee=!0}return xt},GGBAppletUtils=function(){"use strict";function xt(){return window.GGBT_wsf_edit!==void 0}function It(Ee,xe){xe!=1?(Ee.style.transformOrigin="0% 0% 0px",Ee.style.webkitTransformOrigin="0% 0% 0px",Ee.style.transform="scale("+xe+","+xe+")",Ee.style.webkitTransform="scale("+xe+","+xe+")",Ee.style.maxWidth="initial",Ee.querySelector(".ggb_preview")!==null&&(Ee.querySelector(".ggb_preview").style.maxWidth="initial"),Ee.querySelectorAll(".ggb_preview img")[0]!==void 0&&(Ee.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),Ee.querySelectorAll(".ggb_preview img")[1]!==void 0&&(Ee.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(Ee.style.transform="none",Ee.style.webkitTransform="none")}function te(Ee,xe,re,We,Ke,ze){var Xe=null;if(ze!=null&&ze!="")for(var mt=Ee.parentNode;mt!=null;)if((" "+mt.className+" ").indexOf(" "+ze+" ")>-1){Xe=mt;break}else mt=mt.parentNode;var Re=0,ae=0,y=0,a=0,b=0,E=0,x=0;if(Xe)Re=Xe.offsetWidth,ae=Math.max(We?Xe.offsetWidth:0,Xe.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(Re=Math.min(window.innerWidth,document.documentElement.clientWidth),ae=Math.min(window.innerHeight,document.documentElement.clientHeight),y=Re):(Re=window.innerWidth,ae=window.innerHeight,y=window.innerWidth),Ee){var ee=Ee.getBoundingClientRect();ee.left>0&&ee.left<=Re&&(Ke===void 0||!Ke)&&(document.dir==="rtl"?(b=Re-ee.width-ee.left,E=y<=480?10:30):(E=ee.left,b=y<=480?10:30),a=E+b)}if(Ee&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var ne=Ee.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(a=40,x=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(a=0,x=40)}}return Ee&&((re===void 0||!re)&&xe>0&&xe+a<Re?Re=xe:Re-=a,typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(re===void 0||!re)&&(ae-=x)),{width:Re,height:ae}}function z(Ee,xe,re,We,Ke){if(Ee.isScreenshoGenerator)return 1;var ze=We!==void 0&&We,Xe=Ee.noScaleMargin!=null&&Ee.noScaleMargin,mt=function(ne){return ne&&ne!=="false"},Re=mt(Ee.autoHeight),ae=te(xe,Ee.width,re,Re,ze&&window.GGBT_wsf_view||Xe,Ke),y=parseInt(ae.width),a=Ee.width,b=Ee.height;if(a===void 0){var E=xe.querySelector(".appletParameters");E&&(a=E.offsetWidth,b=E.offsetHeight)}var x=y/a,ee=ze?1:ae.height/b;return re!==void 0&&!re&&(x=Math.min(1,x),ee=Math.min(1,ee)),Math.min(x,ee)}function ie(Ee,xe,re){var We=1,Ke,ze=!1;if(Ee.hasOwnProperty("allowUpscale")&&(ze=Ee.allowUpscale),Ee.hasOwnProperty("scale")&&(We=parseFloat(Ee.scale),(isNaN(We)||We===null||We===0)&&(We=1),We>1&&(ze=!0)),xe&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(ze=!0),!(Ee.hasOwnProperty("disableAutoScale")&&Ee.disableAutoScale))Ke=z(Ee,xe,ze,re,Ee.scaleContainerClass);else return We;return ze&&(!Ee.hasOwnProperty("scale")||We===1)?Ke:Math.min(We,Ke)}function Ae(Ee){var xe=Math.min(window.innerWidth,document.documentElement.clientWidth),re=Math.min(window.innerHeight,document.documentElement.clientHeight),We=Ee.getBoundingClientRect(),Ke=(xe-We.width)/2,ze=(re-We.height)/2;ze<0&&(ze=0),Ee.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(Ke<40?Ee.style.left="40px":Ee.style.left=Ke+"px",Ee.style.top=ze+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(ze<40?Ee.style.top="40px":Ee.style.top=ze+"px",Ee.style.left=Ke+"px")}function je(Ee,xe){var re=Ee.querySelector(".appletParameters");if(re){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(xe.id!==re.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(Ee)}if(re.parentElement&&/fullscreen/.test(re.parentElement.className))return;var We=ie(xe,Ee);xt()&&re.setAttribute("data-param-scale",We);for(var Ke=null,ze=0;ze<Ee.childNodes.length;ze++)if(Ee.childNodes[ze].className!==void 0&&Ee.childNodes[ze].className.match(/^applet_scaler/)){Ke=Ee.childNodes[ze];break}if(Ke!==null&&Ke.querySelector(".noscale")!==null)return;var Xe=xe.id!==void 0?xe.id:"ggbApplet",mt=window[Xe];(mt==null||!mt.recalculateEnvironments)&&Ke!==null&&!Ke.className.match(/fullscreen/)&&(Ke.parentNode.style.transform="",!isNaN(We)&&We!==1?(Ke.parentNode.style.width=xe.width*We+"px",Ke.parentNode.style.height=xe.height*We+"px",It(Ke,We)):(It(Ke,1),Ke.parentNode.style.width=xe.width+"px",Ke.parentNode.style.height=xe.height+"px")),typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&Ae(Ee),window.GGBT_wsf_view&&!window.GGBT_wsf_view.isFullscreen()&&window.GGBT_wsf_general.adjustContentToResize($(re).parents(".content-added-content"))}}return{responsiveResize:je,isFlexibleWorksheetEditor:xt,positionCenter:Ae,getScale:ie,scaleElement:It}}();__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 xt=n.location.search;return xt.indexOf(J)!=-1||xt.indexOf(K)!=-1}function q(xt,It){}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(xt){var It=s[L].bindings;s[L].bindings=function(){for(var te=It?It():{},z=xt[webModule.__softPermutationId],ie=O;ie<z.length;ie++){var Ae=z[ie];te[Ae[O]]=Ae[P]}return te}};var t;function u(){return v(),t}function v(){if(!t){var xt=o.createElement(Q);if(xt.id=L,xt.style.cssText=R+S,xt.tabIndex=-1,o.body.appendChild(xt),t=xt.contentWindow.document,navigator.userAgent.indexOf(T)==-1){t.open();var It=document.compatMode==U?V:W;t.write(It+X),t.close()}}}function w(xt){function It(z){function ie(){return typeof o.readyState==Y?typeof o.body!=Y&&o.body!=null:/loaded|complete/.test(o.readyState)}var Ae=ie();if(Ae){z();return}function je(){if(!Ae){if(!ie())return;Ae=!0,z(),o.removeEventListener&&o.removeEventListener(Z,je,!1),Ee&&clearInterval(Ee)}}o.addEventListener&&o.addEventListener(Z,je,!1);var Ee=setInterval(function(){je()},$)}function te(z){var ie=u(),Ae=ie.body,je=ie.createElement(_);je.language=ab,je.crossOrigin=W,je.src=z,webModule.__errFn&&(je.onerror=function(){webModule.__errFn(L,new Error(bb+z))}),Ae.appendChild(je)}It(function(){te(xt)})}webModule.__startLoadingFragment=function(xt){return C(xt)},webModule.__installRunAsyncCode=function(xt){var It=u(),te=It.body,z=It.createElement(_);z.language=ab,z.text=xt,te.appendChild(z),te.removeChild(z)};function A(){for(var c={},d,e,f=o.getElementsByTagName(fb),g=O,h=f.length;g<h;++g){var i=f[g],j=i.getAttribute(gb),k;if(j){if(j=j.replace(hb,W),j.indexOf(ib)>=O)continue;if(j==jb){if(k=i.getAttribute(kb),k){var l,m=k.indexOf(lb);m>=O?(j=k.substring(O,m),l=k.substring(m+P)):(j=k,l=W),c[j]=l}}else if(j==mb){if(k=i.getAttribute(kb),k)try{d=eval(k)}catch(xt){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(xt){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(xt){var It=c[xt];return It==null?null:It},r=d,webModule.__errFn=e}function B(){function xt(Ee){var xe=Ee.lastIndexOf(rb);xe==-1&&(xe=Ee.length);var re=Ee.indexOf(sb);re==-1&&(re=Ee.length);var We=Ee.lastIndexOf(tb,Math.min(re,xe));return We>=O?Ee.substring(O,We+P):W}function It(Ee){if(!Ee.match(/^\w+:\/\//)){var xe=o.createElement(ub);xe.src=Ee+vb,Ee=xt(xe.src)}return Ee}function te(){var Ee=__gwt_getMetaProperty(wb);return Ee!=null?Ee:W}function z(){for(var Ee=o.getElementsByTagName(_),xe=O;xe<Ee.length;++xe)if(Ee[xe].src.indexOf(xb)!=-1)return xt(Ee[xe].src);return W}function ie(){var Ee=o.getElementsByTagName(yb);return Ee.length>O?Ee[Ee.length-P].href:W}function Ae(){var Ee=o.location;return Ee.href==Ee.protocol+zb+Ee.host+Ee.pathname+Ee.search+Ee.hash}var je=te();return je==W&&(je=z()),je==W&&(je=ie()),je==W&&Ae()&&(je=xt(o.location.href)),je=It(je),je}function C(xt){return xt.match(/^\//)||xt.match(/^[a-zA-Z]+:\/\//)?xt:webModule.__moduleBase+xt}function D(){var xt=[],It=O,te=[],z=[];function ie(Ee){var xe=z[Ee](),re=te[Ee];if(xe in re)return xe;var We=[];for(var Ke in re)We[re[Ke]]=Ke;throw r&&r(Ee,We,xe),null}if(__gwt_isKnownPropertyValue=function(Ee,xe){return xe in te[Ee]},webModule.__getPropMap=function(){var Ee={};for(var xe in te)te.hasOwnProperty(xe)&&(Ee[xe]=ie(xe));return Ee},webModule.__computePropValue=ie,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var Ae;try{Ae=Cb;var je=Ae.indexOf(Db);je!=-1&&(It=parseInt(Ae.substring(je+P),$),Ae=Ae.substring(O,je))}catch(Ee){}return webModule.__softPermutationId=It,C(Ae+Eb)}function F(){n.__gwt_stylesLoaded||(n.__gwt_stylesLoaded={})}A(),webModule.__moduleBase=window.ENV==="build"?"/react/build/js/mathematicalGraphics/"+name+"/":"/js/mathematicalGraphics/"+name+"/",s[L].moduleBase=webModule.__moduleBase;var G=D();return F(),w(G),!0}return webModule},typeof window.web3d!="function"&&(window.web3d=GGBAppletUtils.makeModule("web3d","A18F540516513B1292CA7CEF2F6AFC7E")),typeof window.webSimple!="function"&&(window.webSimple=GGBAppletUtils.makeModule("webSimple","96B09BF1B436BF53F0DF54116700F16A")),window.GGBApplet=GGBApplet})()},67303:function(xt,It,te){"use strict";te.d(It,{Ax:function(){return je},Ds:function(){return Ee},KI:function(){return re},SI:function(){return Ae},f1:function(){return ie}});var z=te(90524);function ie(We){let Ke=!0;if(We.length>0){for(let ze=0;ze<We.length;ze++)if(We[ze].compile_success==0||!We[ze].compile_success){Ke=!1;break}}else Ke=!1;return Ke}function Ae(We,Ke=""){let ze=[];for(let Xe=0;Xe<We.length;Xe++){let mt=We[Xe],Re=Ke?`${Ke}/${mt.name}`:`${mt.name}`;ze.push({title:mt.name,type:mt.type,isLeaf:mt.type!=="tree",key:Re})}return ze}function je(We,Ke,ze){for(let Xe=0;Xe<We.length;Xe++){let mt=We[Xe];if(mt.key===Ke){mt.children=ze;break}mt.children&&je(mt.children,Ke,ze)}return We}function Ee(We,Ke,ze){let Xe;return function(){let mt=this,Re=arguments,ae=function(){Xe=null,ze||We.apply(mt,Re)},y=ze&&!Xe;clearTimeout(Xe),Xe=setTimeout(ae,Ke),y&&We.apply(mt,Re)}}const xe=!0,re=z.Z.API_SERVER},79934:function(xt,It,te){"use strict";te.d(It,{Z:function(){return E}});var z=te(59301),ie=te(17574),Ae={folderWrapper:"folderWrapper___G__0a",folderIcon:"folderIcon___oTG6c"},je=te(73631),Ee=te(5623),xe=te(70610),re=Object.defineProperty,We=Object.defineProperties,Ke=Object.getOwnPropertyDescriptors,ze=Object.getOwnPropertySymbols,Xe=Object.prototype.hasOwnProperty,mt=Object.prototype.propertyIsEnumerable,Re=(x,ee,ne)=>ee in x?re(x,ee,{enumerable:!0,configurable:!0,writable:!0,value:ne}):x[ee]=ne,ae=(x,ee)=>{for(var ne in ee||(ee={}))Xe.call(ee,ne)&&Re(x,ne,ee[ne]);if(ze)for(var ne of ze(ee))mt.call(ee,ne)&&Re(x,ne,ee[ne]);return x},y=(x,ee)=>We(x,Ke(ee)),a=(x,ee,ne)=>new Promise((oe,le)=>{var ue=pe=>{try{Ce(ne.next(pe))}catch(Be){le(Be)}},ge=pe=>{try{Ce(ne.throw(pe))}catch(Be){le(Be)}},Ce=pe=>pe.done?oe(pe.value):Promise.resolve(pe.value).then(ue,ge);Ce((ne=ne.apply(x,ee)).next())}),E=({value:x,onChange:ee,scrollId:ne})=>{const[oe,le]=(0,z.useState)([]);(0,z.useEffect)(()=>{ue()},[]);const ue=()=>a(void 0,null,function*(){const et=yield(0,xe.NZ)({});if(et!=null&&et.data){const Oe=[{title:"\u6839\u76EE\u5F55",value:0,key:0,icon:z.createElement("img",{src:je,className:Ae.folderIcon}),isLeaf:!1,children:ge(et.data||[])}];le(Oe)}}),ge=et=>et.map(Oe=>({title:Oe.name,key:Oe.group_id,icon:z.createElement("img",{src:je,className:Ae.folderIcon}),isLeaf:Oe.children.length===0,children:ge(Oe.children)})),Ce=(et,Oe,Ge)=>et.map(Pe=>Pe.key===Oe?ae(ae({},Pe),Ge):Pe.children?y(ae({},Pe),{children:Ce(Pe.children,Oe,Ge)}):Pe),pe=(et,Oe,Ge)=>et.map(Pe=>{if(Pe.key===Oe)return y(ae({},Pe),{icon:Ge?z.createElement("img",{src:Ee,className:Ae.folderIcon}):z.createElement("img",{src:je,className:Ae.folderIcon})});if(Pe.children)return y(ae({},Pe),{children:pe(Pe.children,Oe,Ge)})}),Be=(et,Oe)=>{le(Ge=>pe(Ge,Oe.node.key,Oe.expanded))},de=x?{selectedKeys:x,defaultExpandedKeys:x}:{};return oe.length>0&&z.createElement("div",{id:ne||""},z.createElement(ie.default,ae({showLine:{showLeafIcon:!1},showIcon:!0,treeData:oe,className:Ae.folderWrapper,onSelect:ee,onExpand:Be},de)))}},6077:function(xt,It,te){"use strict";te.d(It,{Z:function(){return Xe}});var z=te(59301),ie={imageDimensions:"imageDimensions___a7crR",img:"img___Kroat",fullWidth:"fullWidth___c492T"},Ae=te(92310),je=te.n(Ae),Ee=te(71418),xe=te(2859),re=te(82093),We=te(49661),Ke=(mt,Re,ae)=>new Promise((y,a)=>{var b=ee=>{try{x(ae.next(ee))}catch(ne){a(ne)}},E=ee=>{try{x(ae.throw(ee))}catch(ne){a(ne)}},x=ee=>ee.done?y(ee.value):Promise.resolve(ee.value).then(b,E);x((ae=ae.apply(mt,Re)).next())}),Xe=({data:mt,className:Re,fullWidth:ae,style:y={},onClose:a,onOk:b,showFullTools:E,noAssociationId:x})=>{const ee=(0,z.useRef)(null),ne=(0,z.useRef)(null),oe=(0,z.useRef)(null),le=(0,z.useRef)(null),[ue,ge]=(0,z.useState)(!1),[Ce,pe]=(0,z.useState)("\u6B63\u5728\u52A0\u8F7D\u4E2D");(0,z.useEffect)(()=>{oe.current||(oe.current=document.createElement("style"),document.head.appendChild(oe.current)),mt!=null&&mt.visible?(document.body.setAttribute("data-custom","y-hidden"),oe.current.innerHTML=" html { overflow-y: hidden; }",mt!=null&&mt.src&&Be()):(document.body.removeAttribute("data-custom"),oe.current&&(document.head.removeChild(oe.current),oe.current=null))},[mt==null?void 0:mt.visible]);const Be=()=>Ke(void 0,null,function*(){ge(!0),pe("\u6B63\u5728\u52A0\u8F7D\u4E2D");const Pe=yield(0,We.ZJ)(mt==null?void 0:mt.src);ee.current.src="",ee.current.src=Pe,ee.current.onload=function(){Ge()},ge(!1),pe("")}),de=()=>{document.body.removeAttribute("data-custom"),oe.current.innerHTML=" ",a()},et=Pe=>Ke(void 0,null,function*(){ge(!0),pe("\u6B63\u5728\u4FDD\u5B58\u4E2D");const ke=yield(0,re.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:mt.title,file:Pe.dataUrl}});ke!=null&&ke.id&&!x?(yield(0,re.ZP)(`/api/attachments/${mt.id}/add_subitem.json`,{method:"post",body:{subitem_id:ke==null?void 0:ke.id,settings:JSON.stringify(Pe.state)}})).status===0&&b():ke!=null&&ke.id&&b(ke),document.body.removeAttribute("data-custom"),oe.current.innerHTML=" ",ge(!1),pe("")}),Oe=()=>{const Pe=document.querySelector('a[href="https://markerjs.com/"]');Pe&&Pe.parentNode&&(Pe.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(ot=>{const Ue=document.querySelector(ot.name);Ue&&Ue.setAttribute("title",ot.title)})},Ge=()=>{ne.current=new xe.hP(ee.current),ne.current.targetRoot=le.current,ne.current.addEventListener("render",et),ne.current.addEventListener("beforeclose",de),E&&(ne.current.availableMarkerTypes=ne.current.ALL_MARKER_TYPES,ne.current.uiStyleSettings.redoButtonVisible=!0,ne.current.uiStyleSettings.notesButtonVisible=!0,ne.current.uiStyleSettings.zoomButtonVisible=!0,ne.current.uiStyleSettings.zoomOutButtonVisible=!0,ne.current.uiStyleSettings.clearButtonVisible=!0),window.markerArea=ne.current.uiStyleSettings,ne.current.show(),mt!=null&&mt.snapshotData&&ne.current.restoreState(mt.snapshotData),setTimeout(()=>{window.scrollTo(0,0),Oe()},300)};return z.createElement(z.Fragment,null,(mt==null?void 0:mt.visible)&&z.createElement(Ee.Z,{spinning:ue,tip:Ce,style:{position:"absolute"}},z.createElement("div",{ref:le,className:je()(ie.imageDimensions,Re,ae?ie.fullWidth:""),style:y},z.createElement("img",{className:ie.img,ref:ee}))))}},30008:function(xt,It,te){"use strict";te.d(It,{Z:function(){return Te},$:function(){return Ve}});var z=te(59301),ie={flex_box_center:"flex_box_center___ILe3s",flex_space_between:"flex_space_between___c0XhE",flex_box_vertical_center:"flex_box_vertical_center___Iusj1",flex_box_center_end:"flex_box_center_end___DIVMO",flex_box_column:"flex_box_column___x06LA",intelligentBox:"intelligentBox___M5xO7",red:"red___oyEWt",imgBox:"imgBox___DdoNI",underpin:"underpin___fwUex",row:"row___W9MrK",leftLayout:"leftLayout___MMjoZ",rightLayout:"rightLayout___EsxRX",head:"head___Q7Od8",centerBox:"centerBox___j58Ut",title:"title___rMcNx",tip:"tip___gLHFS",leftBox:"leftBox___DJ6lp",question:"question___THjM9",rightBox:"rightBox___CuMdf",error:"error___PHzCG",actionHead:"actionHead___vTHMx",edit:"edit___EaRLy",option:"option___z4UTy",active:"active___o8wNJ",fill:"fill___g760n",text:"text___L_lug",liWrap:"liWrap___LDwxe",li:"li___k4Mcf",buttonFixed:"buttonFixed___QxKdm",buttonWrap:"buttonWrap___OEep5",button:"button___b2y4h",menu:"menu___aQ4xO",tabs:"tabs___QmlP4",dotLoading:"dotLoading___zUYOu",showHide:"showHide___fHrAG"},Ae=te(92310),je=te.n(Ae),Ee=te(78241),xe=te(8591),re=te(43418),We=te(5871),Ke=te(95237),ze=te(24905),Xe=te(38854),mt=te(54580),Re=te(3113),ae=te(93948),y=te(19842),a=te(92832),b=te(5112),E=te(6848),x=te(43604),ee=te(89831),ne=te(90524),oe="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAAUCAYAAADC1B7dAAAAAXNSR0IArs4c6QAABk1JREFUWEd1lwlsVkUQx3/7ClGMSMSrHCKXHCpQhYhCNB5AYqRQGq1AiKgEEAiokAJFFIoipcVE5EYFyn23IGCJgoTDQimWSJSzCIKIcglUEIGu2bdv3+77vo+XfPl2Z2Zn5z8zuzsjSPDJ0tZV2ftfGog0BG0Q1AbuRABCgJDBvxorWqDE5xkZh+4porNGjRXNyKvlMuCbf2OXDPRIWYHnnQJKqaSQOimFos3s67HmG1NCupzxWDcgD2Qjf0P1qT/fqGAcGh4Yb4x1ZZSsCySy3oAV4LnOCByi9Pl7CQ00HPvIDb0cz8sUqSUFLqgQkJRjPCavzEFUZoaecz2oNjYAjXGJgEQi5Bio1kYiZYDEOEt5z4+ecZ4D2I2kGePl0eWlkUJkVxp/+yvkpOa5IDOtxxIAiE2nuEg5RhjZ2EiFhgYpF6ZfTNq662KzI+TpgOGJPJFaMjwEJCc06YZgtY5AENLMA7HpCcVTYfd0TR/yi+Vvy4F9CyG5BaQviV9nKBeOwNrXoNdO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ne(Ie.throw(ye))}catch(nt){Se(nt)}},Ne=ye=>ye.done?dt(ye.value):Promise.resolve(ye.value).then(ve,Je);Ne((Ie=Ie.apply(he,se)).next())}),Ue=z.memo(({tagName:he="div",value:se="",className:Ie,style:dt={},onBlur:Se,id:ve})=>{const Je=(0,z.useRef)(null);(0,z.useEffect)(()=>{if(!Je.current)return;ke(void 0,null,function*(){const nt=Je.current;nt.innerHTML="";const _t=se==null?void 0:se.split(/(`?\$\$[\s\S]*?\$\$`?)/g);for(const gt of _t)if(gt.startsWith("$$")&&gt.endsWith("$$")||gt.startsWith("`$$")&&gt.endsWith("$$`")){const Gt=gt.startsWith("`$$")?gt.slice(3,-3):gt.slice(2,-2),Ot=document.createElement("span");Ot.setAttribute("contentEditable","false"),Ot.setAttribute("title",gt),Ot.className="edu_latex",nt.appendChild(Ot),Pe().render(Gt,Ot,{throwOnError:!1})}else{const Gt=gt==null?void 0:gt.replace(/<[^>]*>/g,Ot=>Ot.startsWith("<img")?Ot:Ot.replace(/</g,"&lt;"));nt.insertAdjacentHTML("beforeend",Gt)}})},[ve]);const Ne=()=>{var ye,nt;if(Se&&Je.current){const gt=Je.current.cloneNode(!0),Gt=gt.querySelectorAll("span.edu_latex");for(let Ot of Gt){const Ut=Ot.getAttribute("title"),be=document.createTextNode(Ut||""),st=Ot;(nt=(ye=st.parentNode)==null?void 0:ye.replaceChild)==null||nt.call(ye,be,st)}Se(gt.innerHTML)}};return z.createElement(z.Fragment,null,z.createElement(he,{ref:Je,contentEditable:!0,className:Ie,style:dt,onBlur:Ne}))}),it=te(33796),Mt=Object.defineProperty,_e=Object.defineProperties,Tt=Object.getOwnPropertyDescriptors,Jt=Object.getOwnPropertySymbols,Me=Object.prototype.hasOwnProperty,De=Object.prototype.propertyIsEnumerable,Et=(he,se,Ie)=>se in he?Mt(he,se,{enumerable:!0,configurable:!0,writable:!0,value:Ie}):he[se]=Ie,Kt=(he,se)=>{for(var Ie in se||(se={}))Me.call(se,Ie)&&Et(he,Ie,se[Ie]);if(Jt)for(var Ie of Jt(se))De.call(se,Ie)&&Et(he,Ie,se[Ie]);return he},ft=(he,se)=>_e(he,Tt(se)),jt=(he,se,Ie)=>new Promise((dt,Se)=>{var ve=ye=>{try{Ne(Ie.next(ye))}catch(nt){Se(nt)}},Je=ye=>{try{Ne(Ie.throw(ye))}catch(nt){Se(nt)}},Ne=ye=>ye.done?dt(ye.value):Promise.resolve(ye.value).then(ve,Je);Ne((Ie=Ie.apply(he,se)).next())});const Le=he=>{he.preventDefault();let Ie=(he.clipboardData||window.clipboardData).getData("Text");document.execCommand("insertText",!1,Ie)},Xt=he=>{he.key==="Enter"&&he.preventDefault()},vn=({children:he,style:se})=>z.createElement("div",{className:ie.leftBox,style:se,onPaste:Le},he),St=({children:he,style:se,className:Ie})=>z.createElement("div",{className:je()(ie.rightBox,Ie),style:se,onPaste:Le},he),ut=({className:he,style:se={},width:Ie=1200,onCancel:dt=()=>{},onSuccess:Se=()=>{},gather:ve={},mode:Je=1,stickyTop:Ne=0,subDisciplineId:ye=[],hideWordFeatures:nt,dataSource:_t=[],customLeftHeadNode:gt,customRightHeadNode:Gt,customLeftContent:Ot,hideRecognition:Ut=!1,onExchange:be,isSingleSelection:st=!1,underpinBackgroundStyle:pt={},headExtraNode:ct,isRefreshItemBank:Nt=!1,okText:Vt="\u786E\u5B9A\u5BFC\u5165"})=>{var on;const[Qt,bn]=(0,z.useState)(1),[Tn,Lt]=(0,z.useState)(0),[Ft,Wt]=(0,z.useState)(""),[fn,un]=(0,z.useState)(!1),[Hn,rt]=(0,z.useState)([]),[Pt,an]=(0,z.useState)([]),[Pn,Fe]=(0,z.useState)(!1),[ht,Rt]=(0,z.useState)(!1),[zt,en]=(0,z.useState)(!1),[hn,ln]=(0,z.useState)(!1),[qe,tt]=(0,z.useState)([]),[Ze,Ct]=(0,z.useState)(1),[$t,Zt]=(0,z.useState)(!1),[xn,Cn]=(0,z.useState)(!1),[mn,Mn]=(0,z.useState)(!0),[na,sn]=(0,z.useState)(0),[Un,oa]=(0,z.useState)(1),[ca,la]=(0,z.useState)(""),[$e,Ht]=(0,z.useState)([]),[yt,qt]=(0,z.useState)(0),[dn,Sn]=(0,z.useState)(0),[Qe,Ye]=(0,z.useState)(0),[Bt,cn]=(0,z.useState)(0),[vt,kn]=(0,z.useState)(0),[Nn]=Ee.default.useForm(),[Xn]=Ee.default.useForm(),Vn=(0,z.useRef)(null),pn=(0,z.useRef)(null),En=(0,z.useRef)(),wn=["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"],Fn=["C","C++","Java","Python","JavaScript","Ruby"];(0,z.useEffect)(()=>{_t!=null&&_t.length&&qo(_t)},[_t]),(0,z.useEffect)(()=>{Qt===2&&Vn.current.focus()},[Qt]),(0,z.useEffect)(()=>{zt&&ga()},[zt]);const ea=()=>{if(Qt===1){xe.ZP.warning("\u8BF7\u5148\u4E0A\u4F20\u8BD5\u9898\uFF01");return}re.default.confirm({centered:!0,icon:null,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:"\u6E05\u7A7A\u64CD\u4F5C\u5C06\u5220\u9664\u8BD5\u9898\u7F16\u8F91\u533A\u57DF\u7684\u5168\u90E8\u5185\u5BB9\uFF0C\u786E\u5B9A\u4E00\u952E\u6E05\u7A7A\u5417\uFF1F",onOk:()=>jt(void 0,null,function*(){bn(1)})})},ga=()=>jt(void 0,null,function*(){const fe=yield(0,Ce.ZP)("/api/disciplines.json",{method:"get",params:{source:Je===1?"new_question":"subject"}});tt(fe.disciplines||[])}),Jn=fe=>{const kt=[],tn=(Bn,Dt)=>{Bn.length>=2&&kt.push(Bn.join(""));for(let In=Dt;In<fe.length;In++)Bn.push(fe[In]),tn(Bn,In+1),Bn.pop()};return tn([],0),kt},Qn=fe=>(fe=fe||"",fe=String(fe),fe=fe.replace(/\s+/g,""),fe),va=fe=>(fe=fe||"",fe=String(fe),fe=fe.replace(/<div>/g,""),fe=fe.replace(/<br>/g,`
`),fe=fe.replace(/<\/div>/g,`
`),fe=_a(fe),fe),Oa=fe=>fe.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#39;"),_a=fe=>fe.replace(/&lt;/g,"<").replace(/&gt;/g,">").replace(/&amp;/g,"&").replace(/&quot;/g,'"').replace(/&#39;/g,"'"),fo=fe=>{var kt;const tn=fe.clipboardData;if(tn){const Bn=tn.types.toString(),Dt=tn.items;if(Bn==="Files"||tn.types.indexOf("Files")>-1){fe.preventDefault();try{let In=Dt[1];((kt=Dt[0])==null?void 0:kt.kind)==="file"&&(In=Dt[0]);const Dn=In.getAsFile();(0,Oe.I)(Dn,rn=>{var yn;if(rn.id){if(((yn=Dn==null?void 0:Dn.type)==null?void 0:yn.indexOf("image"))>-1){const qn=`<img src='${ne.Z.API_SERVER}${rn.url}'>`;document.execCommand("insertText",!1,qn)}}else(rn==null?void 0:rn.status)===401&&(document.location.href="/user/login")})}catch(In){xe.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};function Za(fe,kt){return jt(this,null,function*(){if(typeof fe=="string")return yield kt(fe);if(typeof fe!="object"||fe===null)return fe;if(Array.isArray(fe))return yield Promise.all(fe.map(Dt=>jt(this,null,function*(){return yield Za(Dt,kt)})));const tn={};for(const Bn in fe)if(Object.prototype.hasOwnProperty.call(fe,Bn)){const Dt=fe[Bn];typeof Dt=="string"?tn[Bn]=yield kt(Dt):typeof Dt=="object"?tn[Bn]=yield Za(Dt,kt):tn[Bn]=Dt}return tn})}const Ia=()=>jt(void 0,null,function*(){var fe;un(!0),Wt("\u5904\u7406\u4E2D"),yield new Promise(Bn=>setTimeout(Bn,1e3));let kt=(fe=pn.current)==null?void 0:fe.querySelectorAll('[data-text="edit"]'),tn="";try{kt.forEach(function(Bn){var Dt,In,Dn,rn;const yn=Bn.cloneNode(!0),qn=yn.querySelectorAll("span.edu_latex");for(let Zn of qn){const Gn=Zn.getAttribute("title"),ua=document.createTextNode(Gn),Na=Zn;(In=(Dt=Na.parentNode)==null?void 0:Dt.replaceChild)==null||In.call(Dt,ua,Na)}const Rn=yn.querySelectorAll("span[style]");for(let Zn of Rn)if(Zn.style.fontFamily){const Gn=Zn.innerHTML,ua=document.createTextNode(Gn),Na=Zn;(rn=(Dn=Na.parentNode)==null?void 0:Dn.replaceChild)==null||rn.call(Dn,ua,Na)}yn==null||yn.childNodes.forEach(function(Zn){Zn.nodeType===Node.ELEMENT_NODE&&Zn.localName!=="h5"&&Zn.localName!=="h4"?tn+=`<p>${Zn.innerHTML}</p>`:Zn.nodeType===Node.TEXT_NODE&&(tn+=`<p>${Zn.textContent}</p>`)})}),ma("/api/intelligent_imports/import.json",{html:_a(tn)})}catch(Bn){console.error("\u5904\u7406\u8282\u70B9\u9519\u8BEF:",Bn)}}),Ka=fe=>{let kt=fe.filter(tn=>!!(tn!=null&&tn.type));return kt=kt.map(tn=>{var Bn;const Dt=(Bn=Bo.find(Dn=>Dn.id===(tn==null?void 0:tn.type)))==null?void 0:Bn.deal,In=ft(Kt({},tn),{id:String(Math.random()).slice(-6),knowledgePoint:Qn(tn==null?void 0:tn.knowledgePoint)});return Dt?Dt(In):In}),kt},Ha=()=>{if(Qt===1){xe.ZP.warning("\u672A\u8BC6\u522B\u5230\u8BD5\u9898!");return}re.default.confirm({centered:!0,icon:null,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:"\u91CD\u65B0\u8BC6\u522B\u4F1A\u8986\u76D6\u53F3\u4FA7\u5DF2\u8BC6\u522B\u7ED3\u679C\uFF0C\u5305\u62EC\u4EBA\u5DE5\u4FEE\u6539\u7684\u5185\u5BB9\uFF0C\u786E\u5B9A\u91CD\u65B0\u8BC6\u522B\u5417?",onOk:Ia})},ja=()=>z.createElement("div",{className:ie.row},z.createElement("div",{className:ie.leftLayout},z.createElement(vn,{style:{height:675}},Qt===1&&z.createElement("div",{style:{height:"100%",display:"flex",flexDirection:"column",alignItems:"center"},onClick:()=>bn(2)},z.createElement("div",{style:{color:"#9096A3",fontSize:12}},"1.\u672C\u529F\u80FD\u652F\u6301\u5BFC\u5165\u7684\u9898\u578B\uFF1A\u5355\u9009\u9898\u3001\u591A\u9009\u9898\u3001\u586B\u7A7A\u9898\u3001\u5224\u65AD\u9898\u3001\u7B80\u7B54\u9898\u3001 \u7EC4\u5408\u9898\u3001\u7F16\u7A0B\u9898\u3001\u7A0B\u5E8F\u586B\u7A7A\u9898\u3002",z.createElement("br",null),"2.\u82E5\u8981\u5BFC\u5165\u7EC4\u5408\u9898\uFF0C\u8BF7\u5728\u9898\u76EE\u524D\u540E\u4F7F\u7528\u4E00\u5BF9\u201C","{{\u201D\u3001\u201C}}","\u201D\u5C06\u5185\u5BB9\u6807\u51FA\uFF1B\u5927\u9898\u9898\u5E72\u548C\u5C0F\u9898\u9898\u5E72\u4E4B\u95F4\u4E0D\u9700\u8981\u7A7A\u884C\uFF1B\u5927\u9898\u548C\u5C0F\u9898\u9898\u5E72\u90FD\u9700\u6807\u6CE8\u9898\u53F7\uFF1B\u5C0F\u9898\u7B54\u6848\u53EF\u8DDF\u5728\u5C0F\u9898\u9898\u5E72\u540E\uFF0C\u5E76\u7528\u7A7A\u683C\u4E0E\u9898\u5E72\u5185\u5BB9\u9694\u5F00\u3002\u8303\u4F8B\u53EF\u53C2\u8003\u63A8\u8350\u683C\u5F0F\u3002",z.createElement("br",null),"3.\u5BFC\u5165\u652F\u6301\u6587\u672C\u3001\u56FE\u7247\u3001\u516C\u5F0F\u3002\u9898\u76EE\u7ED3\u6784\u652F\u6301\u8BC6\u522B\u7B54\u6848\u3001\u89E3\u6790\u3001\u96BE\u5EA6\u3001\u77E5\u8BC6\u70B9\u3002",z.createElement("br",null),"4.\u82E5\u8BC6\u522B\u6709\u8BEF\uFF0C\u53EF\u5728\u5DE6\u4FA7\u4FEE\u6539\u9898\u76EE\u5185\u5BB9\u540E\u91CD\u65B0\u8BC6\u522B\uFF0C\u6216\u4E0B\u8F7D\u63A8\u8350\u683C\u5F0F\uFF0C\u6309\u683C\u5F0F\u4FEE\u6539\u540E\u91CD\u65B0\u5BFC\u5165\u8BC6\u522B\u3002",z.createElement("br",null)),z.createElement("div",{className:ie.imgBox,style:{marginTop:75}},z.createElement("img",{width:56,src:le}),z.createElement("span",null,"\u7F16\u8F91\u533A"))),Qt===2&&z.createElement("div",{"data-text":"edit",onBlur:()=>{Vn.current.innerHTML||bn(1)},ref:Vn,contentEditable:!0,style:{color:"#9096A3",height:"100%",overflow:"auto"}}))),z.createElement("div",{className:ie.rightLayout,style:{display:"flex",alignItems:"start",justifyContent:"center"}},z.createElement("div",{className:ie.imgBox,style:{marginTop:240}},z.createElement("img",{width:56,src:ue}),z.createElement("span",null,"\u9884\u89C8\u533A")))),sa=(fe,kt,tn,Bn)=>{var Dt;console.log(fe,kt,tn,Bn,"onDataChange\u4FEE\u6539\u6570\u503C");const In=JSON.parse(JSON.stringify(Pt));Bn===void 0?In[kt][fe]=tn:In[kt].questions[Bn][fe]=tn;const Dn=Kt({},In[kt]),rn=(Dt=Bo.find(yn=>yn.id===(Dn==null?void 0:Dn.type)))==null?void 0:Dt.deal;In[kt]=rn(Dn),an(In)},Ca=(fe,kt,tn)=>{var Bn;const Dt=tn!==void 0,In=(Bn=Bo.find(yn=>yn.id===(fe==null?void 0:fe.type)))==null?void 0:Bn.type,Dn=`${kt+1}.${tn===void 0?"":tn+1+"."}`,rn=`${(fe==null?void 0:fe.type)==="7"?"{{":""}${Dn}\u3010${In}\u3011${(fe==null?void 0:fe.question)||""}`;return z.createElement(z.Fragment,null,Dt&&z.createElement("h4",{contentEditable:!0}),z.createElement(Ue,{id:fe==null?void 0:fe.id,tagName:"div",value:rn}))},Qa=(fe,kt)=>jt(void 0,null,function*(){var tn;const Bn=yield be(fe,kt),Dt=(tn=Bn==null?void 0:Bn.data)==null?void 0:tn.content;if(Dt!=null&&Dt.length){const In=Ka(Dt)[0];Hn.splice(kt,1,In),Pt.splice(kt,1,In),rt([...Hn]),an([...Pt])}}),Xa=(fe,kt,tn)=>{var Bn;const Dt=tn!==void 0,In=(Bn=Bo.find(rn=>rn.id===(fe==null?void 0:fe.type)))==null?void 0:Bn.type,Dn=`${kt+1}.${tn===void 0?"":tn+1+"."}`;return Dt?z.createElement("div",{style:{padding:"10px 18px"}},`${Dn}\u3010${In}\u3011`,z.createElement(Ue,{id:fe==null?void 0:fe.id,tagName:"span",className:ie.edit,onBlur:rn=>sa("question",kt,rn,tn),value:(fe==null?void 0:fe.question)||""})):z.createElement(z.Fragment,null,z.createElement("div",{className:ie.actionHead},z.createElement("div",{className:"c-light-primary"},`${Dn}\u3010${In}\u3011`),Je!==1&&z.createElement(We.Z,{disabled:(fe==null?void 0:fe.type)==="7",min:0,max:100,style:{width:100,marginLeft:10},addonAfter:"\u5206",precision:1,size:"middle",onChange:rn=>sa("score",kt,rn,tn),value:fe==null?void 0:fe.score}),z.createElement(Ke.Z,{align:"middle",style:{marginLeft:"auto"}},!!be&&z.createElement("span",{className:"current c-light-primary mr30",onClick:()=>Qa(fe,kt)},z.createElement("i",{className:"iconfont icon-huanyihuan mr5"}),"\u6362\u4E00\u6362"),z.createElement(ze.default,{onChange:rn=>sa("checked",kt,rn.target.checked,tn),checked:!!(fe!=null&&fe.checked)},"\u4E0D\u5BFC\u5165\u6B64\u9898"))),z.createElement(Ue,{id:fe==null?void 0:fe.id,tagName:"div",style:{padding:"10px 18px"},className:ie.edit,onBlur:rn=>sa("question",kt,rn,tn),value:fe==null?void 0:fe.question}))},za=(fe,kt,tn)=>z.createElement(z.Fragment,null,["0","1","2","4"].includes(fe==null?void 0:fe.type)&&z.createElement(Ue,{id:fe==null?void 0:fe.id,value:`\u7B54\u6848\uFF1A${kt||""}`,tagName:"p"}),!tn&&z.createElement(Ue,{id:fe==null?void 0:fe.id,value:`\u96BE\u5EA6\uFF1A${(fe==null?void 0:fe.difficulty)||""}`,tagName:"p"}),(fe==null?void 0:fe.type)!=="7"&&z.createElement(Ue,{id:fe==null?void 0:fe.id,value:`\u89E3\u6790\uFF1A${(fe==null?void 0:fe.analyze)||""}`,tagName:"p"}),!tn&&z.createElement(Ue,{id:fe==null?void 0:fe.id,value:`\u77E5\u8BC6\u70B9\uFF1A${(fe==null?void 0:fe.knowledgePoint)||""}`,tagName:"p"})),no=(fe,kt,tn,Bn)=>{const Dt=Bn!==void 0,In=["\u7B80\u5355","\u9002\u4E2D","\u56F0\u96BE"],Dn=Dt&&!fe.last&&!fe.errorMsg?{marginBottom:10}:{},rn=In.map(yn=>({key:yn,label:yn,onClick:()=>sa("difficulty",tn,yn,Bn)}));return z.createElement("div",{className:ie.liWrap,style:Dn},["4"].includes(fe==null?void 0:fe.type)&&z.createElement("div",{className:ie.li},z.createElement("aside",null,"\u7B54\xA0\xA0\xA0\xA0\u6848\uFF1A"),z.createElement(Ue,{id:fe==null?void 0:fe.id,tagName:"div",className:`${ie.edit} c-black`,onBlur:yn=>sa("answer",tn,[yn],Bn),value:kt})),!Dt&&z.createElement("div",{className:ie.li},z.createElement("aside",null,"\u96BE\xA0\xA0\xA0\xA0\u5EA6\uFF1A"),z.createElement("div",{className:"c-black"},z.createElement(Xe.Z,{menu:{items:rn}},z.createElement("span",{className:"c-light-primary"},fe==null?void 0:fe.difficulty,z.createElement("i",{className:"iconfont icon-a-bianzu11 font14 ml4"}))))),(fe==null?void 0:fe.type)!=="7"&&z.createElement("div",{className:ie.li},z.createElement("aside",null,"\u89E3\xA0\xA0\xA0\xA0\u6790\uFF1A"),z.createElement(Ue,{id:fe==null?void 0:fe.id,tagName:"div",className:`${ie.edit} c-grey-333`,onBlur:yn=>sa("analyze",tn,yn,Bn),value:fe==null?void 0:fe.analyze})),!Dt&&z.createElement("div",{onKeyDown:Xt,className:ie.li},z.createElement("aside",null,"\u77E5\u8BC6\u70B9\uFF1A"),z.createElement(Ue,{id:fe==null?void 0:fe.id,tagName:"div",value:(fe==null?void 0:fe.knowledgePoint)||"",className:`${ie.edit} c-grey-333`,onBlur:yn=>sa("knowledgePoint",tn,Qn(va(yn)),Bn)})))},lo=fe=>z.createElement(z.Fragment,null,typeof(fe==null?void 0:fe.errorMsg)=="string"&&!!(fe!=null&&fe.errorMsg)&&z.createElement("h5",{contentEditable:!1},z.createElement("i",{className:"iconfont icon-shanchuhuanjing"}),z.createElement("div",null,fe==null?void 0:fe.errorMsg))),ha=fe=>z.createElement(z.Fragment,null,typeof(fe==null?void 0:fe.errorMsg)=="string"&&!!(fe!=null&&fe.errorMsg)&&z.createElement("h5",null,z.createElement("i",{className:"iconfont icon-shanchuhuanjing"}),z.createElement("div",null,fe==null?void 0:fe.errorMsg))),Ua=(fe,kt,tn,Bn)=>{let Dt="flex";return(st&&na!==Bn||Pn&&!(tn!=null&&tn.errorMsg))&&(Dt="none"),z.createElement("div",{className:ie.row,style:{display:Dt}},z.createElement("div",{className:ie.leftLayout},Ot||z.createElement(vn,null,z.createElement("div",{"data-text":"edit",contentEditable:!0,className:ie.question},fe))),z.createElement("div",{className:ie.rightLayout},z.createElement(St,{className:tn!=null&&tn.errorMsg?ie.error:""},kt)))},Bo=[{id:"0",type:"\u5355\u9009\u9898",element:(fe,kt,tn)=>{var Bn,Dt;const In=tn!==void 0;let Dn=(Bn=fe==null?void 0:fe.answer)==null?void 0:Bn[0];const rn=z.createElement(z.Fragment,null,Ca(fe,kt,tn),(Dt=fe==null?void 0:fe.options)==null?void 0:Dt.map((Zn,Gn)=>z.createElement(Ue,{id:fe==null?void 0:fe.id,key:Gn,value:`${wn[Gn]}.${Zn}`,tagName:"p"})),za(fe,Dn,In),lo(fe));let yn=In?fe:Pt[kt];const qn=yn==null?void 0:yn.options,Rn=z.createElement(z.Fragment,null,Xa(yn,kt,tn),qn==null?void 0:qn.map((Zn,Gn)=>{var ua;return z.createElement("div",{key:Gn,className:ie.option},z.createElement("aside",{className:((ua=yn==null?void 0:yn.answer)==null?void 0:ua[0])===wn[Gn]?ie.active:"",onClick:()=>sa("answer",kt,[wn[Gn]],tn)},wn[Gn]),z.createElement(Ue,{id:yn==null?void 0:yn.id,tagName:"div",className:`${ie.text}`,onBlur:Na=>{qn[Gn]=Na,sa("options",kt,qn,tn)},value:Zn}))}),no(yn,"",kt,tn),ha(yn));return In?[rn,Rn]:Ua(rn,Rn,yn,kt)},deal:fe=>{var kt,tn,Bn;fe.score=fe.score===void 0?2:fe.score;let Dt=Qn((kt=fe==null?void 0:fe.answer)==null?void 0:kt[0]).toUpperCase();fe.answer=Dt?[Dt]:[];let In=[];if(!(fe!=null&&fe.options))In.push("\u672A\u8BC6\u522B\u5230\u9009\u9879\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u201C A.\u9009\u9879\u4E00 B.\u9009\u9879\u4E8C C.\u9009\u9879\u4E09 \u201D");else{fe.options=(tn=fe.options)==null?void 0:tn.slice(0,8);const Dn=fe.options.map(yn=>yn==null?void 0:yn.trim().replace(/^\s+|\s+$/g,""));new Set(Dn).size!==Dn.length&&In.push("\u9009\u9879\u5185\u5BB9\u91CD\u590D")}return Dt||In.push("\u672A\u8BC6\u522B\u5230\u7B54\u6848\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u201C \u7B54\u6848\uFF1AA \u201D"),Dt&&(wn.slice(0,((Bn=fe==null?void 0:fe.options)==null?void 0:Bn.length)||8).includes(Dt)||In.push("\u6B63\u786E\u7B54\u6848\u8BBE\u7F6E\u6709\u8BEF\uFF0C\u8BF7\u91CD\u65B0\u8BBE\u7F6E\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u201C \u7B54\u6848\uFF1AA \u201D")),Qn(fe==null?void 0:fe.question)||In.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),fe.errorMsg=In.join(`
`),fe}},{id:"1",type:"\u591A\u9009\u9898",element:(fe,kt,tn)=>{var Bn,Dt;const In=tn!==void 0;let Dn=(Bn=fe==null?void 0:fe.answer)==null?void 0:Bn[0];const rn=z.createElement(z.Fragment,null,Ca(fe,kt,tn),(Dt=fe==null?void 0:fe.options)==null?void 0:Dt.map((Zn,Gn)=>z.createElement(Ue,{id:fe==null?void 0:fe.id,key:Gn,value:`${wn[Gn]}.${Zn}`,tagName:"p"})),za(fe,Dn,In),lo(fe));let yn=In?fe:Pt[kt];const qn=yn==null?void 0:yn.options,Rn=z.createElement(z.Fragment,null,Xa(yn,kt,tn),qn==null?void 0:qn.map((Zn,Gn)=>{var ua,Na;return z.createElement("div",{key:Gn,className:ie.option},z.createElement("aside",{className:(Na=(ua=yn==null?void 0:yn.answer)==null?void 0:ua[0])!=null&&Na.includes(wn[Gn])?ie.active:"",onClick:()=>{var $a;let qa=(($a=yn==null?void 0:yn.answer)==null?void 0:$a[0])||"";const Po=wn[Gn];qa.includes(Po)?qa=qa.replace(new RegExp(Po,"g"),""):qa+=Po,qa=qa.split("").sort().join(""),sa("answer",kt,[qa],tn)}},wn[Gn]),z.createElement(Ue,{id:yn==null?void 0:yn.id,tagName:"div",className:`${ie.text}`,onBlur:$a=>{qn[Gn]=$a,sa("options",kt,qn,tn)},value:Zn}))}),no(yn,"",kt,tn),ha(yn));return In?[rn,Rn]:Ua(rn,Rn,yn,kt)},deal:fe=>{var kt,tn,Bn;fe.score=fe.score===void 0?2:fe.score;let Dt=Qn((kt=fe==null?void 0:fe.answer)==null?void 0:kt[0]).toUpperCase().split("").sort().join("");fe.answer=Dt?[Dt]:[];let In=[];if(!(fe!=null&&fe.options))In.push("\u672A\u8BC6\u522B\u5230\u9009\u9879\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u201C A.\u9009\u9879\u4E00 B.\u9009\u9879\u4E8C C.\u9009\u9879\u4E09 \u201D");else{fe.options=(tn=fe.options)==null?void 0:tn.slice(0,8);const Dn=fe.options.map(yn=>yn==null?void 0:yn.trim().replace(/^\s+|\s+$/g,""));new Set(Dn).size!==Dn.length&&In.push("\u9009\u9879\u5185\u5BB9\u91CD\u590D")}if(Dt||In.push("\u672A\u8BC6\u522B\u5230\u7B54\u6848\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u201C \u7B54\u6848\uFF1AAB \u201D"),Dt){const Dn=wn.slice(0,((Bn=fe==null?void 0:fe.options)==null?void 0:Bn.length)||8);Jn(Dn).includes(Dt)||In.push("\u6B63\u786E\u7B54\u6848\u8BBE\u7F6E\u6709\u8BEF\uFF0C\u8BF7\u91CD\u65B0\u8BBE\u7F6E\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u201C \u7B54\u6848\uFF1AAB \u201D")}return Qn(fe==null?void 0:fe.question)||In.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),fe.errorMsg=In.join(`
`),fe}},{id:"2",type:"\u5224\u65AD\u9898",element:(fe,kt,tn)=>{var Bn,Dt;const In=tn!==void 0;let Dn=(Bn=fe==null?void 0:fe.answer)==null?void 0:Bn[0];const rn=z.createElement(z.Fragment,null,Ca(fe,kt,tn),za(fe,Dn,In),lo(fe));let yn=In?fe:Pt[kt];const qn=["\u6B63\u786E","\u9519\u8BEF"];let Rn=((Dt=yn==null?void 0:yn.answer)==null?void 0:Dt[0])||"";["\u6B63\u786E","\u5BF9","T","True","t","true"].includes(Rn)?Rn="\u6B63\u786E":["\u9519\u8BEF","\u9519","T","true","t","false"].includes(Rn)&&(Rn="\u9519\u8BEF");const Zn=z.createElement(z.Fragment,null,Xa(yn,kt,tn),qn==null?void 0:qn.map((Gn,ua)=>z.createElement("div",{key:ua,className:ie.option},z.createElement("aside",{style:{borderRadius:2},className:Rn===Gn?ie.active:"",onClick:()=>sa("answer",kt,[Gn],tn)},Gn==="\u6B63\u786E"?"T":"F"),z.createElement("div",{style:{pointerEvents:"none"},className:`${ie.text}`},Gn))),no(yn,"",kt,tn),ha(yn));return In?[rn,Zn]:Ua(rn,Zn,yn,kt)},deal:fe=>{var kt;fe.score=fe.score===void 0?2:fe.score;let tn=Qn((kt=fe==null?void 0:fe.answer)==null?void 0:kt[0]);fe.answer=tn?[tn]:[];let Bn=[];return tn||Bn.push("\u672A\u8BC6\u522B\u5230\u7B54\u6848\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u201C \u7B54\u6848\uFF1A\u9519\u8BEF\u201D"),tn&&!["\u6B63\u786E","\u5BF9","T","True","t","true","\u9519\u8BEF","\u9519","T","true","t","false"].includes(tn)&&Bn.push("\u6B63\u786E\u7B54\u6848\u8BBE\u7F6E\u6709\u8BEF\uFF0C\u8BF7\u91CD\u65B0\u8BBE\u7F6E\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u201C \u7B54\u6848\uFF1A\u9519\u8BEF\u201D"),Qn(fe==null?void 0:fe.question)||Bn.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),fe.errorMsg=Bn.join(`
`),fe}},{id:"3",type:"\u586B\u7A7A\u9898",element:(fe,kt,tn)=>{var Bn,Dt;const In=tn!==void 0,Dn=z.createElement(z.Fragment,null,Ca(fe,kt,tn),(Bn=fe==null?void 0:fe.answer)==null?void 0:Bn.map((qn,Rn)=>z.createElement(Ue,{id:fe==null?void 0:fe.id,key:Rn,tagName:"p",value:`\u7B54\u6848${Rn+1}\uFF1A${qn.text||""}`})),za(fe,"",In),lo(fe));let rn=In?fe:Pt[kt];const yn=z.createElement(z.Fragment,null,Xa(rn,kt,tn),(Dt=rn==null?void 0:rn.answer)==null?void 0:Dt.map((qn,Rn)=>z.createElement("div",{key:Rn,className:ie.option},z.createElement("aside",{className:ie.fill},"\u586B\u7A7A\u9879",Rn+1),qn.model===1&&z.createElement(Ue,{id:rn==null?void 0:rn.id,tagName:"div",onBlur:Zn=>{rn.answer[Rn].latex=va(Zn),sa("answer",kt,rn.answer,tn)},className:`${ie.text}`,value:qn.latex}),qn.model===2&&z.createElement(et.Z,{value:qn.latex,onChange:Zn=>{rn.answer[Rn].latex=Zn,sa("answer",kt,rn.answer,tn)}}))),no(rn,"",kt,tn),ha(rn));return In?[Dn,yn]:Ua(Dn,yn,rn,kt)},deal:fe=>{var kt,tn,Bn,Dt;fe.score=fe.score===void 0?2:fe.score,fe.question=(kt=fe.question)==null?void 0:kt.replaceAll("\u2581","_");const In=(tn=fe.answer)==null?void 0:tn.map(rn=>{if(Object.prototype.toString.call(rn)==="[object Object]")return rn;const yn={model:1,text:rn,latex:rn};return rn.startsWith("$$")&&rn.endsWith("$$")||rn.startsWith("`$$")&&rn.endsWith("$$`")?(yn.model=2,yn.latex=rn.slice(2,-2)):yn.latex=va(rn),yn});fe.answer=In;let Dn=[];return In||Dn.push("\u672A\u8BC6\u522B\u5230\u7B54\u6848\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u7B54\u68481\uFF1A\u4E2D\u56FD\uFF1B\u7B54\u68482\uFF1A\u4E16\u754C"),Qn(fe==null?void 0:fe.question)?fe!=null&&fe.question.includes("_")?(Bn=fe==null?void 0:fe.answer)!=null&&Bn.length&&((fe==null?void 0:fe.question.match(/_+/g))||[]).length!==((Dt=fe==null?void 0:fe.answer)==null?void 0:Dt.length)&&Dn.push("\u586B\u7A7A\u9879\u4E0E\u7B54\u6848\u4E2A\u6570\u4E0D\u5339\u914D\uFF0C\u8BF7\u8FDB\u884C\u8C03\u6574"):Dn.push("\u586B\u7A7A\u9879\u672A\u8BBE\u7F6E\uFF0C\u8BF7\u4F7F\u7528\u82F1\u6587\u4E0B\u5212\u7EBF\u201C___\u201D\u8868\u793A\u586B\u7A7A\u9879"):Dn.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),fe.errorMsg=Dn.join(`
`),fe}},{id:"4",type:"\u7B80\u7B54\u9898",element:(fe,kt,tn)=>{var Bn,Dt;const In=tn!==void 0;let Dn=(Bn=fe==null?void 0:fe.answer)==null?void 0:Bn[0];const rn=z.createElement(z.Fragment,null,Ca(fe,kt,tn),za(fe,Dn,In),lo(fe));let yn=In?fe:Pt[kt];const qn=z.createElement(z.Fragment,null,Xa(yn,kt,tn),no(yn,(Dt=yn==null?void 0:yn.answer)==null?void 0:Dt[0],kt,tn),ha(yn));return In?[rn,qn]:Ua(rn,qn,yn,kt)},deal:fe=>{fe.score=fe.score===void 0?5:fe.score;let kt=[];return Qn(fe==null?void 0:fe.question)||kt.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),fe.errorMsg=kt.join(`
`),fe}},{id:"6",type:"\u7F16\u7A0B\u9898",element:(fe,kt)=>{var tn,Bn;const Dt=Pt[kt],In=Fn.slice(0,4).map(Dn=>({key:Dn,label:Dn,onClick:()=>sa("platform",kt,Dn)}));return z.createElement("div",{className:ie.row,style:{display:Pn?Dt!=null&&Dt.errorMsg?"flex":"none":"flex"}},z.createElement("div",{className:ie.leftLayout},z.createElement(vn,null,z.createElement("div",{"data-text":"edit",contentEditable:!0,className:ie.question},Ca(fe,kt),z.createElement(Ue,{id:fe==null?void 0:fe.id,value:`\u8BD5\u9898\u63CF\u8FF0\uFF1A${(fe==null?void 0:fe.description)||""}`,tagName:"p"}),za(fe),z.createElement(Ue,{id:fe==null?void 0:fe.id,value:`\u65F6\u95F4\u9650\u5236\uFF08\u79D2\uFF09\uFF1A${fe==null?void 0:fe.timeLimit}`,tagName:"p"}),z.createElement(Ue,{id:fe==null?void 0:fe.id,value:`\u7F16\u7A0B\u8BED\u8A00\uFF1A${(fe==null?void 0:fe.platform)||""}`,tagName:"p"}),z.createElement("p",{contentEditable:!0},"\u5B66\u5458\u521D\u59CB\u4EE3\u7801\uFF1A"),z.createElement("h4",null),z.createElement(Ue,{id:fe==null?void 0:fe.id,value:(fe==null?void 0:fe.code)||"",tagName:"div"}),(tn=fe==null?void 0:fe.inputs)==null?void 0:tn.map((Dn,rn)=>{var yn;return z.createElement(z.Fragment,{key:rn},z.createElement("h4",null),z.createElement(Ue,{id:fe==null?void 0:fe.id,value:`\u6D4B\u8BD5\u7528\u4F8B(${rn+1})\u8F93\u5165\uFF1A${Dn||""}`,tagName:"div"}),z.createElement(Ue,{id:fe==null?void 0:fe.id,value:`\u6D4B\u8BD5\u7528\u4F8B(${rn+1})\u8F93\u51FA\uFF1A${((yn=fe==null?void 0:fe.outputs)==null?void 0:yn[rn])||""}`,tagName:"div"}))}),lo(fe)))),z.createElement("div",{className:ie.rightLayout},z.createElement(St,{className:Dt!=null&&Dt.errorMsg?ie.error:""},Xa(Dt,kt),z.createElement("div",{className:ie.liWrap,style:{background:"transparent",marginBottom:0,padding:0}},z.createElement("div",{className:ie.li},z.createElement("aside",null,"\u8BD5\u9898\u63CF\u8FF0\uFF1A"),z.createElement(Ue,{className:ie.edit,id:Dt==null?void 0:Dt.id,value:Dt==null?void 0:Dt.description,tagName:"div",onBlur:Dn=>sa("description",kt,Dn)}))),no(Dt,"",kt),z.createElement("div",{className:ie.liWrap},z.createElement("div",{className:ie.li},z.createElement("aside",null,"\u65F6\u95F4\u9650\u5236\uFF08\u79D2\uFF09\uFF1A"),z.createElement(Ue,{className:ie.edit,id:Dt==null?void 0:Dt.id,value:Dt==null?void 0:Dt.timeLimit,tagName:"div",onBlur:Dn=>sa("timeLimit",kt,va(Dn))})),z.createElement("div",{className:ie.li},z.createElement("aside",null,"\u7F16\u7A0B\u8BED\u8A00\uFF1A"),z.createElement("div",{className:"c-black"},z.createElement(Xe.Z,{menu:{items:In}},z.createElement("span",{className:"c-light-primary"},Dt==null?void 0:Dt.platform,z.createElement("i",{className:"iconfont icon-a-bianzu11 font14 ml4"}))))),z.createElement("div",{className:ie.li,style:{flexDirection:"column",alignItems:"start"}},z.createElement("aside",{className:"mb10"},"\u5B66\u5458\u521D\u59CB\u4EE3\u7801\uFF1A"),z.createElement(Ue,{className:ie.edit,id:Dt==null?void 0:Dt.id,value:(Dt==null?void 0:Dt.code)||"",onBlur:Dn=>sa("code",kt,va(Dn)),tagName:"div"}))),(Bn=Dt==null?void 0:Dt.inputs)==null?void 0:Bn.map((Dn,rn)=>{var yn;return z.createElement("div",{className:ie.liWrap,key:rn},z.createElement("div",{className:ie.li},z.createElement("aside",null,"\u6D4B\u8BD5\u7528\u4F8B(",rn+1,")\u8F93\u5165\uFF1A"),z.createElement(Ue,{id:Dt==null?void 0:Dt.id,value:Dn||"",className:ie.edit,onBlur:qn=>{const Rn=[...(Dt==null?void 0:Dt.inputs)||[]];Rn[rn]=va(qn),sa("inputs",kt,Rn)},tagName:"div"})),z.createElement("div",{className:ie.li},z.createElement("aside",null,"\u6D4B\u8BD5\u7528\u4F8B(",rn+1,")\u8F93\u51FA\uFF1A"),z.createElement(Ue,{id:Dt==null?void 0:Dt.id,value:((yn=Dt==null?void 0:Dt.outputs)==null?void 0:yn[rn])||"",className:ie.edit,onBlur:qn=>{const Rn=[...(Dt==null?void 0:Dt.outputs)||[]];Rn[rn]=va(qn),sa("outputs",kt,Rn)},tagName:"div"})))}),ha(Dt))))},deal:fe=>{var kt,tn,Bn;fe.score=fe.score===void 0?10:fe.score,fe.code=(kt=fe.code)==null?void 0:kt.trim();let Dt=[];Qn(fe==null?void 0:fe.question)?((tn=fe==null?void 0:fe.question)==null?void 0:tn.length)>60&&Dt.push("\u7F16\u7A0B\u9898\u540D\u79F0\u9650\u523660\u4E2A\u5B57\u7B26"):Dt.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),Qn(fe==null?void 0:fe.description)||Dt.push("\u672A\u8BC6\u522B\u5230\u8BD5\u9898\u63CF\u8FF0");const In=Qn(String((fe==null?void 0:fe.timeLimit)||""));if(fe.timeLimit=In,(!In||In&&!["3","4","5","6","7","8","9","10"].includes(In))&&Dt.push("\u65F6\u95F4\u9650\u5236\u4E3A\u5FC5\u586B\u9879\uFF0C\u53EA\u652F\u63013-10\u7684\u6574\u6570"),fe.platform=Qn(fe==null?void 0:fe.platform),fe!=null&&fe.platform){const Dn=["c","c++","java","python"],rn=(Bn=fe==null?void 0:fe.platform)==null?void 0:Bn.toLowerCase(),yn=Dn.findIndex(qn=>qn===rn);yn>-1?fe.platform=Fn[yn]:Dt.push("\u7F16\u7A0B\u8BED\u8A00\u4E3A\u5FC5\u586B\u9879\uFF0C\u76EE\u524D\u53EA\u652F\u6301C\u3001C++\u3001Python\u3001Java\u8BED\u8A00")}else Dt.push("\u7F16\u7A0B\u8BED\u8A00\u4E3A\u5FC5\u586B\u9879\uFF0C\u76EE\u524D\u53EA\u652F\u6301C\u3001C++\u3001Python\u3001Java\u8BED\u8A00");if(!(fe!=null&&fe.inputs)||!(fe!=null&&fe.outputs))fe.inputs=[],fe.outputs=[],Dt.push("\u672A\u8BC6\u522B\u5230\u6D4B\u8BD5\u7528\u4F8B\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u6D4B\u8BD5\u7528\u4F8B(1)\u8F93\u5165\uFF1A1\uFF1B\u6D4B\u8BD5\u7528\u4F8B(1)\u8F93\u51FA\uFF1A2");else{const Dn=Math.min(fe.inputs.length,fe.outputs.length);fe.inputs=fe.inputs.slice(0,Dn),fe.outputs=fe.outputs.slice(0,Dn),fe.outputs.some(rn=>!Qn(rn))&&Dt.push("\u6D4B\u8BD5\u7528\u4F8B\u8F93\u51FA\u4E3A\u5FC5\u586B\u9879")}return fe.errorMsg=Dt.join(`
`),fe}},{id:"7",type:"\u7EC4\u5408\u9898",element:(fe,kt)=>{var tn,Bn;const Dt=Pt[kt];return z.createElement("div",{className:ie.row,style:{display:Pn?Dt!=null&&Dt.errorMsg?"flex":"none":"flex"}},z.createElement("div",{className:ie.leftLayout},z.createElement(vn,null,z.createElement("div",{"data-text":"edit",contentEditable:!0,className:ie.question},Ca(fe,kt),za(fe),(tn=fe==null?void 0:fe.questions)==null?void 0:tn.map((In,Dn)=>{var rn;const yn=(rn=Bo.find(qn=>qn.id===(In==null?void 0:In.type)))==null?void 0:rn.element;return z.createElement(z.Fragment,{key:`left-${fe.id}-${Dn}`},yn(In,kt,Dn)[0])}),lo(fe),z.createElement("p",{contentEditable:!0},"}}")))),z.createElement("div",{className:ie.rightLayout},z.createElement(St,{className:Dt!=null&&Dt.errorMsg?ie.error:""},Xa(Dt,kt),no(Dt,"",kt),(Bn=Dt==null?void 0:Dt.questions)==null?void 0:Bn.map((In,Dn)=>{var rn;const yn=(rn=Bo.find(qn=>qn.id===(In==null?void 0:In.type)))==null?void 0:rn.element;return z.createElement(z.Fragment,{key:`right-${Dt.id}-${Dn}`},yn(In,kt,Dn)[1])}),ha(Dt))))},deal:fe=>{var kt,tn,Bn,Dt,In;const Dn=Ka,rn=[...Bo],yn=rn.findIndex(Gn=>Gn.id==="0"),qn=rn.findIndex(Gn=>Gn.id==="1");if(yn!==-1){const Gn=rn[yn].deal;rn[yn].deal=ua=>{const Na=Gn(ua);return Na.errorMsg&&(Na.errorMsg=Na.errorMsg.split(`
`).filter($a=>$a!=="\u9009\u9879\u5185\u5BB9\u91CD\u590D").join(`
`)),Na}}if(qn!==-1){const Gn=rn[qn].deal;rn[qn].deal=ua=>{const Na=Gn(ua);return Na.errorMsg&&(Na.errorMsg=Na.errorMsg.split(`
`).filter($a=>$a!=="\u9009\u9879\u5185\u5BB9\u91CD\u590D").join(`
`)),Na}}fe.questions=(kt=fe.questions)!=null&&kt.length?Ka(fe.questions.slice(0,20)):[],fe.questions=(tn=fe.questions)==null?void 0:tn.map((Gn,ua)=>{var Na;if(Gn.type==="0"||Gn.type==="1"){const $a=(Na=Gn.options)==null?void 0:Na.map(qa=>qa==null?void 0:qa.trim().replace(/^\s+|\s+$/g,""));$a&&new Set($a).size!==$a.length&&(Gn.errorMsg=(Gn.errorMsg?Gn.errorMsg+`
`:"")+"\u9009\u9879\u5185\u5BB9\u91CD\u590D")}return ft(Kt({},Gn),{last:ua===fe.questions.length-1})});const Rn=(Bn=fe.questions)==null?void 0:Bn.reduce((Gn,ua)=>{const Na=parseFloat(ua.score);return isNaN(Na)?Gn:Gn+Na},0);fe.score=Rn;let Zn=[];return(Dt=fe.questions)!=null&&Dt.length?fe.errorMsg=((In=fe.questions)==null?void 0:In.findIndex(Gn=>!!Gn.errorMsg))>-1:Zn.push("\u8BF7\u6DFB\u52A0\u5C0F\u9898"),Qn(fe==null?void 0:fe.question)||Zn.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),Zn.length&&(fe.errorMsg=Zn.join(`
`)),fe}},{id:"8",type:"\u7A0B\u5E8F\u586B\u7A7A\u9898",element:(fe,kt)=>{var tn,Bn;const Dt=Pt[kt],In=Fn.map(Dn=>({key:Dn,label:Dn,onClick:()=>sa("platform",kt,Dn)}));return z.createElement("div",{className:ie.row,style:{display:Pn?Dt!=null&&Dt.errorMsg?"flex":"none":"flex"}},z.createElement("div",{className:ie.leftLayout},z.createElement(vn,null,z.createElement("div",{"data-text":"edit",contentEditable:!0,className:ie.question},Ca(fe,kt),za(fe),z.createElement(Ue,{id:fe==null?void 0:fe.id,value:`\u65F6\u95F4\u9650\u5236\uFF08\u79D2\uFF09\uFF1A${fe==null?void 0:fe.timeLimit}`,tagName:"p"}),z.createElement(Ue,{id:fe==null?void 0:fe.id,value:`\u7F16\u7A0B\u8BED\u8A00\uFF1A${(fe==null?void 0:fe.platform)||""}`,tagName:"p"}),z.createElement("p",{contentEditable:!0},"\u7A0B\u5E8F\u4EE3\u7801\uFF1A"),z.createElement("h4",null),z.createElement(Ue,{id:fe==null?void 0:fe.id,value:(fe==null?void 0:fe.code)||"",tagName:"div"}),z.createElement("h4",null),z.createElement(Ue,{id:fe==null?void 0:fe.id,value:`\u6D4B\u8BD5\u7528\u4F8B\u8F93\u5165\uFF1A${(fe==null?void 0:fe.input)||""}`,tagName:"p"}),z.createElement(Ue,{id:fe==null?void 0:fe.id,value:`\u6D4B\u8BD5\u7528\u4F8B\u8F93\u51FA\uFF1A${(fe==null?void 0:fe.output)||""}`,tagName:"p"}),(tn=fe==null?void 0:fe.answer)==null?void 0:tn.map((Dn,rn)=>z.createElement(Ue,{key:rn,id:fe==null?void 0:fe.id,value:`\u7B54\u6848${rn+1}\uFF1A${Dn||""}`,tagName:"p"})),lo(fe)))),z.createElement("div",{className:ie.rightLayout},z.createElement(St,{className:Dt!=null&&Dt.errorMsg?ie.error:""},Xa(Dt,kt),no(Dt,"",kt),z.createElement("div",{className:ie.liWrap},z.createElement("div",{className:ie.li,onKeyDown:Xt},z.createElement("aside",null,"\u65F6\u95F4\u9650\u5236\uFF08\u79D2\uFF09\uFF1A"),z.createElement(Ue,{className:ie.edit,id:Dt==null?void 0:Dt.id,value:Dt==null?void 0:Dt.timeLimit,tagName:"div",onBlur:Dn=>sa("timeLimit",kt,va(Dn))})),z.createElement("div",{className:ie.li},z.createElement("aside",null,"\u7F16\u7A0B\u8BED\u8A00\uFF1A"),z.createElement("div",{className:"c-black"},z.createElement(Xe.Z,{menu:{items:In}},z.createElement("span",{className:"c-light-primary"},Dt==null?void 0:Dt.platform,z.createElement("i",{className:"iconfont icon-a-bianzu11 font14 ml4"}))))),z.createElement("div",{className:ie.li,style:{flexDirection:"column",alignItems:"start"}},z.createElement("aside",{className:"mb10"},"\u7A0B\u5E8F\u4EE3\u7801\uFF1A"),z.createElement(Ue,{className:ie.edit,id:Dt==null?void 0:Dt.id,value:(Dt==null?void 0:Dt.code)||"",onBlur:Dn=>sa("code",kt,va(Dn)),tagName:"div"})),z.createElement("div",{className:ie.li},z.createElement("aside",null,"\u6D4B\u8BD5\u7528\u4F8B\u8F93\u5165\uFF1A"),z.createElement(Ue,{className:ie.edit,id:Dt==null?void 0:Dt.id,value:(Dt==null?void 0:Dt.input)||"",onBlur:Dn=>sa("input",kt,va(Dn)),tagName:"div"})),z.createElement("div",{className:ie.li},z.createElement("aside",null,"\u6D4B\u8BD5\u7528\u4F8B\u8F93\u51FA\uFF1A"),z.createElement(Ue,{className:ie.edit,id:Dt==null?void 0:Dt.id,value:(Dt==null?void 0:Dt.output)||"",onBlur:Dn=>sa("output",kt,va(Dn)),tagName:"div"}))),z.createElement("div",{className:ie.liWrap},(Bn=Dt==null?void 0:Dt.answer)==null?void 0:Bn.map((Dn,rn)=>z.createElement("div",{className:ie.li,key:rn},z.createElement("aside",null,"\u7B54\u6848",rn+1,"\uFF1A"),z.createElement(Ue,{id:Dt==null?void 0:Dt.id,value:Dn||"",className:ie.edit,onBlur:yn=>{const qn=[...(Dt==null?void 0:Dt.answer)||[]];qn[rn]=va(yn),sa("output",kt,qn)},tagName:"div"})))),ha(Dt))))},deal:fe=>{var kt,tn,Bn,Dt,In,Dn,rn,yn;fe.score=fe.score===void 0?10:fe.score,fe.code=(Bn=(tn=(kt=fe.code)==null?void 0:kt.trim())==null?void 0:tn.replace(/@_@/g,"@\u2581@"))==null?void 0:Bn.replace(/@__@/g,"@\u2581\u2581@");let qn=[];if(Qn(fe==null?void 0:fe.question)||qn.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),Qn(fe==null?void 0:fe.code)?/@▁@|@▁▁@/.test(fe==null?void 0:fe.code)?(Dt=fe==null?void 0:fe.answer)!=null&&Dt.length&&((In=fe==null?void 0:fe.code.match(/@▁@|@▁▁@/g))==null?void 0:In.length)!==((Dn=fe==null?void 0:fe.answer)==null?void 0:Dn.length)&&qn.push("\u586B\u7A7A\u9879\u4E0E\u7B54\u6848\u4E2A\u6570\u4E0D\u5339\u914D\uFF0C\u8BF7\u8FDB\u884C\u8C03\u6574"):qn.push("\u7A0B\u5E8F\u4EE3\u7801\u8BBE\u7F6E\u6709\u8BEF\uFF0C\u8BF7\u91CD\u65B0\u8BBE\u7F6E\u3002\u7A0B\u5E8F\u4EE3\u7801\u4E2D\u7684\u586B\u7A7A\u9879\u9700\u8981\u4F7F\u7528 @\u2581@ \u7B26\u53F7\u6807\u8BC6\u51FA\u6765"):qn.push("\u672A\u8BC6\u522B\u5230\u7A0B\u5E8F\u4EE3\u7801"),fe!=null&&fe.answer?(rn=fe.answer)!=null&&rn.some(Zn=>!Qn(Zn))&&qn.push("\u7B54\u6848\u4E3A\u5FC5\u586B\u9879"):qn.push("\u672A\u8BC6\u522B\u5230\u7B54\u6848\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u7B54\u68481\uFF1AHello\uFF1B\u7B54\u68482\uFF1AWorld"),fe.platform=Qn(fe==null?void 0:fe.platform),fe!=null&&fe.platform){const Zn=["c","c++","java","python","javascript","ruby"],Gn=(yn=fe==null?void 0:fe.platform)==null?void 0:yn.toLowerCase(),ua=Zn.findIndex(Na=>Na===Gn);ua>-1?fe.platform=Fn[ua]:qn.push("\u7F16\u7A0B\u8BED\u8A00\u4E3A\u5FC5\u586B\u9879\uFF0C\u76EE\u524D\u53EA\u652F\u6301C\u3001C++\u3001Python\u3001Java\u3001JavaScript\u3001Ruby\u8BED\u8A00")}else qn.push("\u7F16\u7A0B\u8BED\u8A00\u4E3A\u5FC5\u586B\u9879\uFF0C\u76EE\u524D\u53EA\u652F\u6301C\u3001C++\u3001Python\u3001Java\u3001JavaScript\u3001Ruby\u8BED\u8A00");Qn(fe==null?void 0:fe.output)||qn.push("\u6D4B\u8BD5\u7528\u4F8B\u8F93\u51FA\u4E3A\u5FC5\u586B\u9879");const Rn=Qn(String((fe==null?void 0:fe.timeLimit)||""));return fe.timeLimit=Rn,(!Rn||Rn&&!["3","4","5","6","7","8","9","10"].includes(Rn))&&qn.push("\u65F6\u95F4\u9650\u5236\u4E3A\u5FC5\u586B\u9879\uFF0C\u53EA\u652F\u63013-10\u7684\u6574\u6570"),fe.errorMsg=qn.join(`
`),fe}}],tr=()=>z.createElement(z.Fragment,null,Hn.filter(fe=>{var kt;return!!((kt=Bo.find(Bn=>Bn.id===(fe==null?void 0:fe.type)))==null?void 0:kt.element)}).map((fe,kt)=>{var tn;const Bn=(tn=Bo.find(Dt=>Dt.id===(fe==null?void 0:fe.type)))==null?void 0:tn.element;return z.createElement(z.Fragment,{key:fe.id},Bn(fe,kt))})),jo=()=>jt(void 0,null,function*(){const fe=Pt.filter(kt=>!kt.checked);if(Qt!==3||!fe.length){xe.ZP.warning("\u672A\u8BC6\u522B\u5230\u8BD5\u9898\uFF01");return}Nn.setFieldsValue({sub_discipline_id:ye}),en(!0)}),qo=fe=>jt(void 0,null,function*(){const kt=Ka(fe);rt(kt),an(JSON.parse(JSON.stringify(kt))),bn(3),un(!1),Zt(!1),Fe(!1)});(0,z.useEffect)(()=>{if(mn)return;const fe=()=>{Lt(kt=>kt>=90?(clearInterval(En.current),90):kt+1)};return En.current=setInterval(fe,5e4/90),()=>clearInterval(En.current)},[mn]);const ma=(fe,kt)=>{Mn(!1);const tn=new FormData;Object.keys(kt).forEach(Dt=>{tn.append(Dt,kt[Dt])});const Bn=new window.XMLHttpRequest;Bn.withCredentials=!0,Bn.addEventListener("load",function(Dt){return jt(this,null,function*(){var In,Dn;try{const rn=JSON.parse((In=Dt==null?void 0:Dt.target)==null?void 0:In.response);if(Mn(!0),Lt(100),yield new Promise(yn=>setTimeout(()=>yn(),780)),rn.status===0){if(!((Dn=rn==null?void 0:rn.data)!=null&&Dn.length)){xe.ZP.warning("\u672A\u8BC6\u522B\u5230\u8BD5\u9898!"),un(!1);return}qo((rn==null?void 0:rn.data)||[])}else un(!1),xe.ZP.warning(rn==null?void 0:rn.message)}catch(rn){console.log("\u8BF7\u6C42\u9519\u8BEF\uFF1A",rn)}})}),Bn.addEventListener("error",()=>{un(!1)}),Bn.open("POST",`${ne.Z.API_SERVER}${fe}`),Bn.send(tn)},jn=fe=>jt(void 0,null,function*(){const kt=fe.name.split(".").slice(-1)[0].toLowerCase();return["docx"].indexOf(kt)==-1?(xe.ZP.error(`${fe.name}\u6587\u4EF6\u65E0\u6CD5\u4E0A\u4F20\uFF0C\u5F53\u524D\u4EC5\u9650\u652F\u6301\u683C\u5F0F\u4E3Adocx\u6587\u4EF6\uFF08Microsoft Word 2007\u4EE5\u4E0A\u7684\u7248\u672C\uFF09`),Promise.reject()):(un(!0),Wt("\u5904\u7406\u4E2D"),ma("/api/intelligent_imports/import.json",{file:fe}),Promise.reject())}),zn=fe=>jt(void 0,null,function*(){const kt=fe.name.split(".").slice(-1)[0].toLowerCase();return["docx","doc","pdf","png","jpg"].indexOf(kt)==-1?(xe.ZP.warning("\u5355\u6B21\u4EC5\u652F\u6301\u4E0A\u4F201\u4E2A\u6587\u6863\u62161\u5F20\u56FE\u7247\uFF0C\u6587\u6863\u652F\u6301PDF/Word\u683C\u5F0F\uFF0C\u56FE\u7247\u652F\u63011\u5F20\u4E0D\u8D85\u8FC710M\u7684PNG/JPG\u56FE\u7247"),Promise.reject()):fe.size/1024/1024>200?(xe.ZP.warning("\u6587\u4EF6\u5927\u5C0F\u5FC5\u987B\u5C0F\u4E8E200M"),Promise.reject()):($e!=null&&$e.length?re.default.confirm({centered:!0,icon:null,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:"\u5355\u6B21\u51FA\u9898\u53EA\u652F\u6301\u4E0A\u4F20\u4E00\u4E2A\u6587\u4EF6/\u4E00\u5F20\u56FE\u7247\uFF0C\u518D\u6B21\u4E0A\u4F20\u4F1A\u66FF\u6362\u5F53\u524D\u5DF2\u4E0A\u4F20\u7684\u5185\u5BB9\u3002",onOk:()=>Ht([fe])}):Ht([fe]),Promise.reject())});let $n=[{key:1,label:z.createElement(mt.default,{showUploadList:!1,accept:".docx",maxCount:1,beforeUpload:jn},z.createElement("div",{style:{padding:"0 5px",width:108,height:35,lineHeight:"35px"}},"\u672C\u5730\u5BFC\u5165"))}];const Aa=[Pt.length,(on=Pt.filter(fe=>!!(fe!=null&&fe.errorMsg)))==null?void 0:on.length];return z.createElement("div",{className:je()(ie.intelligentBox,"intelligent-body-curb",he),style:ft(Kt({},se),{width:Ie}),ref:pn},z.createElement("div",{className:ie.underpin},z.createElement("b",{style:pt}),z.createElement("b",{style:pt})),z.createElement("div",{className:ie.head,style:{top:Ne}},z.createElement("div",{className:ie.leftLayout},gt||z.createElement(z.Fragment,null,z.createElement(Ke.Z,{align:"middle"},z.createElement("div",{className:ie.title},"\u8BD5\u9898\u7F16\u8F91"),!nt&&z.createElement(ee.op,{href:`${ne.Z.API_SERVER}/api/intelligent_imports/download_template`,download:!0,type:"link"},"\u4E0B\u8F7DWord\u6A21\u7248",z.createElement("i",{className:"iconfont icon-xiazai4 font14 ml10"})),z.createElement(ee.op,{onClick:ea,shape:"default"},"\u4E00\u952E\u6E05\u7A7A"),!nt&&z.createElement(Xe.Z,{overlayClassName:ie.menu,menu:{items:$n}},z.createElement(ee.op,{className:"ml20",type:"primary",shape:"default"},"\u5BFC\u5165\u8BD5\u9898")),!!ct&&ct),z.createElement("div",{className:ie.tip},z.createElement("i",{className:"iconfont icon-tishi7 font12 mr10"}),"\u63D0\u793A\uFF1A\u82E5\u8BC6\u522B\u6709\u8BEF\uFF0C\u53EF\u5728\u5DE6\u4FA7\u7F16\u8F91\u533A\u70B9\u51FB\u5BF9\u5E94\u7684\u8BD5\u9898\u6309\u683C\u5F0F\u4FEE\u6539\u540E\u91CD\u65B0\u8BC6\u522B"))),z.createElement(Ke.Z,{className:ie.rightLayout,style:{alignItems:"start"}},Gt||z.createElement(z.Fragment,null,z.createElement("div",{className:ie.title,style:{marginRight:0}},"\u8BD5\u9898\u9884\u89C8"),[3].includes(Qt)&&z.createElement(ze.default,{className:"ml20",checked:Pn,onChange:fe=>Fe(fe.target.checked)},"\u4EC5\u67E5\u770B\u9519\u8BEF\u8BD5\u9898"),[3].includes(Qt)&&z.createElement("div",{style:{color:"#5F6368",marginLeft:"auto"}},"\u5171\u8BC6\u522B",z.createElement("span",{className:"ml5 mr5 c-light-primary"},Aa[0]),"\u9898\uFF0C\u5176\u4E2D\u8BC6\u522B\u6709\u8BEF",z.createElement("span",{className:"ml5 mr5 c-red-e53"},Aa[1]),"\u9898")),st&&z.createElement("div",{className:ie.tabs},Hn==null?void 0:Hn.map((fe,kt)=>z.createElement("div",{onClick:()=>{sn(kt)},className:na===kt&&ie.active,key:kt},"\u65B0\u9898",kt+1)))),z.createElement("div",{className:ie.centerBox},z.createElement("img",{className:"mb10",src:ge,width:56}),!Ut&&z.createElement(ee.op,{onClick:Ha},"\u8BC6\u522B"))),[1,2].includes(Qt)&&ja(),[3].includes(Qt)&&tr(),z.createElement("div",{className:"pb10"}),z.createElement("div",{className:ie.buttonFixed},z.createElement("div",{className:ie.buttonWrap},z.createElement(Re.ZP,{size:"middle",className:`${ie.button} mr20`,onClick:dt},"\u53D6\u6D88"),z.createElement(Re.ZP,{size:"middle",type:"primary",className:`${ie.button}`,onClick:jo},Vt))),z.createElement(re.default,{centered:!0,closable:!1,destroyOnClose:!0,open:fn,title:null,footer:null,width:320,afterClose:()=>Lt(0)},z.createElement(Ke.Z,{align:"middle",style:{flexDirection:"column"}},z.createElement("b",{style:{color:"#5F6368"},className:"font16 mb5 mt20"},Ft,z.createElement("span",{className:ie.dotLoading},z.createElement("span",null,"."),z.createElement("span",null,"."),z.createElement("span",null,"."))),z.createElement(ae.Z,{style:{width:"auto"},size:[200,8],showInfo:!1,percent:Tn}),z.createElement("div",{style:{color:"#5F6368"},className:"mb20"},"\u6B63\u5728\u8BC6\u522B\uFF0C\u5DF2\u5B8C\u6210",z.createElement("span",{className:"ml5 c-light-primary"},Tn,"%")))),z.createElement(re.default,{centered:!0,open:zt,title:"\u8BD5\u9898\u5BFC\u5165\u8BBE\u7F6E",confirmLoading:ht,width:480,onCancel:()=>en(!1),onOk:()=>Nn.submit(),afterClose:()=>{Nn.resetFields()}},z.createElement(Ee.default,{style:{maxHeight:550},form:Nn,layout:"horizontal",colon:!1,size:"large",onFinish:fe=>jt(void 0,null,function*(){var kt,tn,Bn,Dt,In;const Dn=Pt.filter(qn=>!qn.checked&&!qn.errorMsg);Rt(!0);const rn=()=>jt(void 0,null,function*(){var qn,Rn;const Zn=yield(0,Ce.ZP)("/api/intelligent_imports/save.json",{method:"post",body:ft(Kt(Kt({},ve),fe),{list:Dn,mode:Je})});Zn.status===0&&(Nt&&((qn=Zn==null?void 0:Zn.data)!=null&&qn.success)&&window.location.pathname==="/problemset"&&(it.Z.publish("refresh-item-bank",fe.group_id),yield new Promise(Gn=>setTimeout(()=>Gn(),1500))),xe.ZP.success(`\u6210\u529F\u5BFC\u5165${(Rn=Zn==null?void 0:Zn.data)==null?void 0:Rn.success}\u9053\u8BD5\u9898`,3),Se(),en(!1)),Rt(!1)});if(Je!==1){yield rn();return}const yn=yield(0,Ce.ZP)("/api/intelligent_imports/is_repeated.json",{method:"post",body:{list:Pt,mode:Je}});if(yn.status===0){if(!((kt=yn==null?void 0:yn.data)!=null&&kt.error_size)){yield rn();return}re.default.confirm({centered:!0,icon:null,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onCancel:()=>{Rt(!1)},title:"\u63D0\u793A",content:z.createElement("div",{style:{overflow:"auto",maxHeight:500}},"\u5171",z.createElement("span",{className:"c-light-primary ml5 mr5"},(tn=yn==null?void 0:yn.data)==null?void 0:tn.all_size),"\u9053\u8BD5\u9898\uFF0C\u5176\u4E2D",z.createElement("span",{style:{color:"#FF9D18"},className:"ml5 mr5"},(Bn=yn==null?void 0:yn.data)==null?void 0:Bn.error_size),"\u9053\u8BD5\u9898\u91CD\u590D\uFF08\u7B2C",z.createElement("span",{className:"ml5 mr5"},(In=(Dt=yn==null?void 0:yn.data)==null?void 0:Dt.index)==null?void 0:In.join("\u3001")),"\u9053\uFF09\uFF0C\u91CD\u590D\u8BD5\u9898\u5C06\u4F1A\u4E3A\u60A8\u81EA\u52A8\u8FC7\u6EE4\uFF0C\u786E\u5B9A\u5BFC\u5165\u5417\uFF1F"),onOk:rn})}})},z.createElement("div",{className:"c-grey-999 mb20"},"\u63D0\u793A\uFF1A\u8BC6\u522B\u6709\u8BEF\u7684\u8BD5\u9898\u5C06\u4E0D\u4F1A\u88AB\u5BFC\u5165"),z.createElement(Ee.default.Item,{label:"\u65B9\u5411&\u8BFE\u7A0B",name:"sub_discipline_id",labelCol:{span:5},wrapperCol:{span:19},rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u65B9\u5411&\u8BFE\u7A0B"}]},z.createElement(y.Z,{placeholder:"\u8BF7\u9009\u62E9\u65B9\u5411&\u8BFE\u7A0B",fieldNames:{label:"name",value:"id",children:"sub_disciplines"},options:qe})),Je===1&&z.createElement(Ee.default.Item,{label:z.createElement(Ke.Z,{align:"middle",style:{justifyContent:"space-between"}},z.createElement("span",null,"\u653E\u5165\u6587\u4EF6\u5939\u76EE\u5F55"),z.createElement("div",{onClick:()=>ln(!0),style:{marginLeft:211,transform:"translateX(14px)",display:"flex",color:"#5F6368",cursor:"pointer"}},z.createElement("img",{className:"mr5 primary-hover",src:Be}),"\u65B0\u5EFA\u6587\u4EF6\u5939")),rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u6587\u4EF6\u5939"}],name:"group_id",labelCol:{span:24},wrapperCol:{span:24}},z.createElement(pe.Z,{key:Ze})))),z.createElement(re.default,{centered:!0,open:hn,title:"\u65B0\u5EFA\u6587\u4EF6\u5939",destroyOnClose:!0,width:480,confirmLoading:xn,onCancel:()=>ln(!1),onOk:()=>Xn.submit(),afterClose:()=>{Xn.resetFields()}},z.createElement(Ee.default,{style:{maxHeight:550},form:Xn,layout:"horizontal",colon:!1,size:"large",onFinish:fe=>jt(void 0,null,function*(){var kt;Cn(!0),(yield(0,Ce.ZP)("/api/item_banks_groups.json",{method:"post",body:{name:fe.name,parent_id:(kt=fe==null?void 0:fe.parent_id)==null?void 0:kt[0]}})).status===0?(Ct(Ze+1),setTimeout(()=>{xe.ZP.success("\u64CD\u4F5C\u6210\u529F"),ln(!1),Cn(!1)},1e3)):Cn(!1)})},z.createElement(Ee.default.Item,{label:"\u6587\u4EF6\u5939\u540D\u79F0",name:"name",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5939\u540D\u79F0"},{whitespace:!0,message:"\u8BF7\u52FF\u8F93\u5165\u7A7A\u683C"}]},z.createElement(a.default,{maxLength:60,showCount:!0,placeholder:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5939\u540D\u79F0"})),z.createElement(Ee.default.Item,{label:"\u6587\u4EF6\u5939\u4F4D\u7F6E",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u6587\u4EF6\u5939"}],name:"parent_id"},z.createElement(pe.Z,null)))),z.createElement(re.default,{centered:!0,open:$t,title:"\u5927\u6A21\u578B\u667A\u80FD\u51FA\u9898",width:814,okText:"\u751F\u6210\u8BD5\u9898",onCancel:()=>Zt(!1),onOk:()=>{if(Un===1&&!Qn(ca)){xe.ZP.warning("\u8BF7\u5148\u8F93\u5165\u51FA\u9898\u8981\u6C42");return}if(Un===2&&!Qn(ca)&&!($e!=null&&$e.length)){xe.ZP.warning("\u8BF7\u4E0A\u4F20\u6750\u6599\u6587\u6863\u6216\u5728\u6587\u672C\u6846\u4E2D\u586B\u5199\u6750\u6599\u5185\u5BB9");return}const fe=[{name:"\u5355\u9009\u9898",num:yt||0},{name:"\u591A\u9009\u9898",num:dn||0},{name:"\u5224\u65AD\u9898",num:Qe||0},{name:"\u586B\u7A7A\u9898",num:Bt||0},{name:"\u7B80\u7B54\u9898",num:vt||0}];if(fe.reduce((Bn,Dt)=>Bn+Dt.num,0)===0){xe.ZP.warning("\u8BF7\u8BBE\u7F6E\u51FA\u9898\u6570\u91CF");return}console.log(Un,yt,dn),un(!0),Wt("\u5904\u7406\u4E2D");const tn={type:Un,query:ca,item_types:JSON.stringify(fe)};Un===2&&(tn.file=($e==null?void 0:$e[0])||null),ma("/api/intelligent_imports/large_model_intelligent_qa.json",tn)}},z.createElement(Ke.Z,{align:"middle",className:"mb10 c-black"},z.createElement("div",{className:"mr10"},"\u51FA\u9898\u8981\u6C42"),z.createElement(b.ZP.Group,{value:Un,onChange:fe=>oa(fe.target.value)},z.createElement(b.ZP,{value:1,className:"c-black"},"\u6839\u636E\u77E5\u8BC6\u70B9\u51FA\u9898"),z.createElement(b.ZP,{value:2,className:"ml40 c-black"},"\u6839\u636E\u6750\u6599\u51FA\u9898"))),z.createElement(a.default.TextArea,{style:{height:120},className:"mb20",value:ca,placeholder:Un===1?"\u8BF7\u8F93\u5165\u77E5\u8BC6\u70B9\uFF0C\u591A\u4E2A\u77E5\u8BC6\u70B9\u7528\u201C\u3001\u201D\u5206\u9694\u5F00":"\u8BF7\u5148\u63D0\u4F9B\u60A8\u51FA\u9898\u4F9D\u636E\u7684\u6750\u6599\uFF0C\u53EF\u4EE5\u76F4\u63A5\u590D\u5236\u6750\u6599\u5185\u5BB9\u7C98\u8D34\u5728\u6B64\u533A\u57DF\uFF0C\u4E5F\u53EF\u70B9\u51FB\u4E0B\u65B9\u4E0A\u4F20\u6750\u6599\u6309\u94AE\u4E0A\u4F20\u672C\u5730\u6750\u6599\u6587\u6863",onChange:fe=>{la(fe.target.value)}}),Un===2&&z.createElement(z.Fragment,null,z.createElement(mt.default,{accept:".doc,.docx,.pdf,.png,.jpg",maxCount:1,fileList:$e,beforeUpload:zn,className:"mb20",onRemove:()=>Ht([])},z.createElement(E.Z,{title:"\u5355\u6B21\u4EC5\u652F\u6301\u4E0A\u4F201\u4E2A\u6587\u6863\u62161\u5F20\u56FE\u7247\uFF0C\u6587\u6863\u652F\u6301PDF/Word\u683C\u5F0F\uFF0C\u56FE\u7247\u652F\u63011\u5F20\u4E0D\u8D85\u8FC710M\u7684PNG/JPG\u56FE\u7247"},z.createElement(ee.op,{style:{borderRadius:2}},z.createElement("i",{className:"icon-shangchuan3 mr5"}),"\u4E0A\u4F20\u6750\u6599"))),z.createElement("div",{style:{height:20}})),z.createElement(Ke.Z,{align:"middle",className:"c-black"},z.createElement("div",{className:"mb10"},"\u51FA\u9898\u6570\u91CF"),z.createElement(Ke.Z,{gutter:16},z.createElement(x.Z,null,z.createElement("label",null,"\u5355\u9009\u9898"),z.createElement(We.Z,{min:0,max:10,value:yt,onChange:qt,style:{marginLeft:"8px"}})),z.createElement(x.Z,null,z.createElement("label",null,"\u591A\u9009\u9898"),z.createElement(We.Z,{min:0,max:10,value:dn,onChange:Sn,style:{marginLeft:"8px"}})),z.createElement(x.Z,null,z.createElement("label",null,"\u5224\u65AD\u9898"),z.createElement(We.Z,{min:0,max:10,value:Qe,onChange:Ye,style:{marginLeft:"8px"}})),z.createElement(x.Z,null,z.createElement("label",null,"\u586B\u7A7A\u9898"),z.createElement(We.Z,{min:0,max:10,value:Bt,onChange:cn,style:{marginLeft:"8px"}})),z.createElement(x.Z,null,z.createElement("label",null,"\u7B80\u7B54\u9898"),z.createElement(We.Z,{min:0,max:10,value:vt,onChange:kn,style:{marginLeft:"8px"}}))))))},Ve=oe;var Te=ut},62363:function(xt,It,te){"use strict";te.d(It,{N:function(){return a}});var z=te(59301),ie=te(57809),Ae=te(43418),je=te(92832),Ee=te(8591),xe=te(95237),re=te(43604),We=te(82093),Ke={wrap:"wrap___F7E3F",selectWrapper:"selectWrapper____kESB",tips:"tips___aHjQY",linkBtn:"linkBtn___uggVr",mainText:"mainText____S1I0",public_tips:"public_tips___sZVWd",inputCss:"inputCss___t66EO",bt:"bt___lXptu",add_style:"add_style___knrMF"},ze=te(92310),Xe=te.n(ze),mt=te(87169),Re=te(59301),ae=(b,E,x)=>new Promise((ee,ne)=>{var oe=ge=>{try{ue(x.next(ge))}catch(Ce){ne(Ce)}},le=ge=>{try{ue(x.throw(ge))}catch(Ce){ne(Ce)}},ue=ge=>ge.done?ee(ge.value):Promise.resolve(ge.value).then(oe,le);ue((x=x.apply(b,E)).next())});const{Option:y}=ie.default,a=({subId:b,value:E,selectvalues:x,disabled:ee,knowledgeOptions:ne=[],className:oe,height:le,onChange:ue=()=>{},onAddKnowledgeFinish:ge=()=>{},zIndex:Ce=1e3})=>{const pe=(0,z.useRef)(),[Be,de]=(0,z.useState)([]);E=E||[];const et=(Ge,Pe)=>{Ge?(de([...Pe]),ue([...Pe])):(de([]),ue([]))};(0,z.useEffect)(()=>{(x==null?void 0:x.length)>0?(de([...x]),ue([...x])):(de([]),ue([]))},[ne]),(0,z.useEffect)(()=>{(E==null?void 0:E.length)>0&&ue([...E])},[ne]);const Oe=Ge=>{Ge.preventDefault(),pe.current="",Ae.default.confirm({centered:!0,width:585,zIndex:Ce,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",icon:null,title:"\u65B0\u5EFA\u77E5\u8BC6\u70B9",className:"custom-modal-divider",content:Re.createElement("div",{className:"font14"},Re.createElement("div",{className:Ke.public_tips},Re.createElement(mt.Z,{style:{color:"#FF8C29",marginRight:10,paddingTop:5}}),"\u65B0\u5EFA\u7684\u77E5\u8BC6\u70B9\u4EC5\u672C\u4EBA\u53EF\u89C1\uFF0C\u5E73\u53F0\u5BA1\u6838\u5217\u5165\u516C\u5F00\u77E5\u8BC6\u70B9\u540E\uFF0C\u5BF9\u6240\u6709\u7528\u6237\u53EF\u89C1\u3002 \u5E73\u53F0\u6709\u6743\u5220\u9664\u4E0D\u5408\u9002\u7684\u77E5\u8BC6\u70B9\uFF0C\u8BF7\u8BA4\u771F\u586B\u5199\u77E5\u8BC6\u70B9\u540D\u79F0\u3002"),Re.createElement("div",{style:{display:"flex",alignItems:"center"}},Re.createElement("div",{style:{width:"95px"}},Re.createElement("span",{className:Ke.bt},"*"),"\u77E5\u8BC6\u70B9\u540D\u79F0"),Re.createElement(je.default,{className:Ke.inputCss,style:{width:"calc(100% - 95px)"},maxLength:20,size:"middle",showCount:!0,placeholder:"\u8BF7\u8F93\u5165\u77E5\u8BC6\u70B9\u540D\u79F0",defaultValue:pe.current,onChange:Pe=>{pe.current=Pe.target.value}}))),onOk:()=>new Promise((Pe,ke)=>ae(void 0,null,function*(){if(!pe.current)return Ee.ZP.warning("\u8BF7\u8F93\u5165\u77E5\u8BC6\u70B9\u540D\u79F0"),ke();if(pe.current.length>20)return Ee.ZP.warning("\u8BF7\u8F93\u5165\u4E0D\u8D85\u8FC720\u5B57\u7684\u77E5\u8BC6\u70B9\u540D\u79F0"),ke();const ot=yield(0,We.ZP)("/api/tag_disciplines.json",{method:"post",body:{name:pe.current,sub_discipline_id:b}});if((ot==null?void 0:ot.status)===0){ge({id:ot.tag_discipline_id,name:pe.current,type:"personal"});let Ue=x||[];Ue.push(ot.tag_discipline_id),ue([...Ue]),de([...Ue]),ue([...Ue])}return Pe()}))})};return Re.createElement(xe.Z,{wrap:!1,align:"middle",className:Xe()(Ke.wrap,oe)},Re.createElement(re.Z,null,Re.createElement(ie.default,{mode:"multiple",disabled:!b||ee,className:Ke.selectWrapper,placeholder:"\u8BF7\u9009\u62E9\u77E5\u8BC6\u70B9\uFF0C\u652F\u6301\u9009\u62E9\u591A\u4E2A",onChange:et,style:{width:le||490},showSearch:!0,allowClear:!0,value:Be,filterOption:(Ge,Pe)=>Pe.label.indexOf(Ge.toLowerCase())>=0},ne==null?void 0:ne.map(Ge=>Re.createElement(y,{key:Ge.id,value:Ge.id,label:Ge.name},Re.createElement("div",{style:{display:"flex",alignItems:"center"}},Re.createElement("span",{style:{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"}},Ge.name),(Ge==null?void 0:Ge.type)==="personal"&&Re.createElement("div",{style:{marginLeft:"5px",border:"1px solid #24C074",color:"#24C074",padding:"0 4px",borderRadius:"2px",fontSize:"12px",height:"20px",lineHeight:"20px"}},"\u81EA\u7528")))))),b&&Re.createElement(re.Z,{className:`ml20 ${le&&Ke.add_style}`},Re.createElement("span",{className:Ke.tips},"\u6CA1\u6709\u5408\u9002\u7684\u77E5\u8BC6\u70B9\uFF1F"),Re.createElement("span",{className:Ke.linkBtn,onClick:Oe},"\u65B0\u5EFA\u77E5\u8BC6\u70B9")))}},65986:function(xt,It,te){"use strict";var z=te(59301),ie=te(21697),Ae=te(48136),je=te(88615),Ee=te(43418),xe=te(59301);const re=(0,z.forwardRef)(({callback:We,width:Ke,onChange:ze,disabled:Xe,readOnly:mt,type:Re="",value:ae="",style:y={}},a)=>{const b=(0,z.useRef)(),E=(0,z.useRef)(),[x,ee]=(0,z.useState)(0),[ne,oe]=(0,z.useState)(0),[le,ue]=(0,z.useState)(!1),ge=()=>{var de=document.createElement("div");de.innerHTML=b.current.getValue();var et=de.innerText;return We&&We(et),et};(0,z.useImperativeHandle)(a,()=>({getData:ge}));const Ce=de=>{de.preventDefault();const et=de.clientX-x,Oe=de.clientY-ne;document.body.onmousemove=Ge=>{let Pe=Ge.clientX-et,ke=Ge.clientY-Oe;const ot=document.getElementsByClassName("markdown-popup-form")[0],Ue=window.innerWidth-ot.offsetWidth,it=window.innerHeight-ot.offsetHeight;Pe=Math.max(0,Math.min(Pe,Ue)),ke=Math.max(0,Math.min(ke,it)),pe(Ge.clientX,Ge.clientY,et,Oe)&&(ee(Pe),oe(ke))},document.body.onmouseup=function(){document.body.onmousemove=null}},pe=(de,et,Oe,Ge)=>{const Pe=document.body.clientHeight,ke=document.body.clientWidth;return de<20&&Oe>de||de>ke-20&&Oe<de||et<20&&Ge>et||et>Pe-20&&Ge<et?(document.body.onmousemove=null,document.body.onmouseup=null,!1):!0};(0,z.useEffect)(()=>{le&&setTimeout(()=>{const de=document.getElementsByClassName("markdown-popup-form")[0],et=window.innerWidth/2-de.offsetWidth/2,Oe=window.innerHeight/2-de.offsetHeight/2;ee(et),oe(Oe)},0)},[le]);const Be=()=>{Xe||mt||ue(!0)};return xe.createElement("div",{style:y},xe.createElement("div",{style:{width:Ke||"100%",position:"relative"},className:`${ie.Z.mathFillWrap} ${Xe||mt?"cursorDefault":""}`,onClick:()=>Be()},xe.createElement("math-field",{disabled:Xe,locale:"zh_cn",class:`${ie.Z.mathField} ${Re}`,readOnly:mt,placeholder:"\u8BF7\u8F93\u5165\u516C\u5F0F",ref:b,style:{width:"100%",fontSize:ae?18:14},value:ae||""})),xe.createElement(Ee.default,{maskClosable:!1,centered:!0,width:860,style:{position:"absolute",left:x,top:ne},title:xe.createElement("div",{style:{cursor:"move"},onMouseDown:Ce},"\u8F93\u5165\u516C\u5F0F"),open:le,onOk:()=>{const de=E.current.getData();b.current.setValue(de),ze(de),ue(!1)},onCancel:()=>{ue(!1)},destroyOnClose:!0,className:"markdown-popup-form"},xe.createElement(je.Z,{value:ae,ref:E,onChange:ze,showSaveButton:!1})))});It.Z=re},88615:function(xt,It,te){"use strict";var z=te(59301),ie=te(95237),Ae=te(43604),je=te(99313),Ee=te(3113),xe=te(7664),re=te(21697),We=te(48136),Ke=te(59301);const ze=(0,z.forwardRef)(({callback:Xe,showSaveButton:mt,value:Re=""},ae)=>{const y=(0,z.useRef)(),a=[{name:"\u5206\u6570\u5F97\u5206",value:"\\frac{x}{y}",children:[{name:"\u5206\u6570 Fractions",data:[{value:"\\frac{a}{b}"},{value:"x\\tfrac{x}{a} "},{value:"\\mathrm{d}t"},{value:"\\partial t"},{value:"\\frac{\\partial y}{\\partial x}"},{value:"\\nabla\\psi"},{value:"\\frac{\\partial^2}{\\partial x_1\\partial x_2}y"},{value:"\\cfrac{1}{a + \\cfrac{7}{b + \\cfrac{2}{9}}} = c"}]},{name:"\u5BFC\u6570 Derivative",data:[{value:"\\dot{a} "},{value:"\\ddot{a}"},{value:"{f}^{\\prime}"},{value:"{f}^{\\prime\\prime}"},{value:"{f}^{(n)}"}]},{name:"\u6A21\u7B97\u672F Modular arithmetic",data:[{value:"a \\bmod b"},{value:"a \\equiv b \\pmod{m} "},{value:"\\gcd(m, n) "},{value:"\\operatorname{lcm}(m, n) "}]}]},{name:"\u6839\u5F0F\u89D2\u6807",value:"\\sqrt{x}",children:[{name:"\u6839\u5F0F Radicals",data:[{value:"\\sqrt{x}"},{value:"\\sqrt[y]{x}"}]},{name:"\u4E0A\u4E0B\u6807 Sub&Super",data:[{value:"x^{a}"},{value:"x_{a}"},{value:"x_{a}^{b} "},{value:"_{a}^{b} x"},{value:"x_{a}^{b} "}]},{name:"\u91CD\u97F3\u7B26\u53CA\u5176\u4ED6 Accents and Others",data:[{value:"\\hat{a} "},{value:"\\sqrt[y]{x}"},{value:"\\check{} "},{value:"\\grave{a} "},{value:"\\acute{a}"},{value:"\\tilde{a}"},{value:"\\breve{a}"},{value:"\\bar{a}"},{value:"\\vec{a}"},{value:"\\not{a}"},{value:"\\widetilde{abc}"},{value:"\\widehat{abc}"},{value:"\\overleftarrow{abc} "},{value:"\\overrightarrow{abc}"},{value:"\\overline{abc}"},{value:"\\underline{abc}"},{value:"\\overbrace{abc}"},{value:"\\underbrace{abc}"},{value:"\\overset{a}{abc}"},{value:"\\underset{a}{abc} \\stackrel\\frown{ab}"},{value:"\\overline{ab} "},{value:"\\overleftrightarrow{ab}"},{value:"\\overset{a}{\\leftarrow}"},{value:"\\overset{a}{\\rightarrow}"},{value:"\\xleftarrow[abc]{a}"},{value:"\\xrightarrow[abc]{a} "}]}]},{name:"\u6781\u9650\u5BF9\u6570",value:"\\lim_{x \\to 0}",children:[{name:"\u6781\u9650 Limits",data:[{value:"\\lim a"},{value:"\\lim_{x \\to 0}"},{value:"\\lim_{x \\to \\infty}"},{value:"\\max_b{a}"},{value:"\\min_a{b}"}]},{name:"\u5BF9\u6570\u6307\u6570 Logarithms and exponentials",data:[{value:"\\log_{a}{b}"},{value:"\\lg_{a}{b}"},{value:"\\ln_{a}{b}"},{value:"\\exp a"}]},{name:"\u754C\u9650 Bounds",data:[{value:"\\min x"},{value:"\\sup t"},{value:"\\inf s"},{value:"\\lim u"},{value:"\\limsup w"},{value:"\\dim p"},{value:"\\ker\\phi "}]}]},{name:"\u4E09\u89D2\u51FD\u6570",value:"\\sin a",children:[{name:"\u4E09\u89D2\u51FD\u6570 Trigonometric functions",data:[{value:"\\sin a"},{value:"\\cos a"},{value:"\\tan a"},{value:"\\cot a "},{value:"\\sec a "},{value:"\\csc a "}]},{name:"\u53CD\u4E09\u89D2\u51FD\u6570 Inverse trigonometric functions",data:[{value:"\\sin^{-1}"},{value:"\\cos^{-1}"},{value:"\\tan^{-1}"},{value:"\\cot^{-1}"},{value:"\\sec^{-1}"},{value:"\\csc^{-1}"},{value:"\\arcsin a"},{value:"\\arccos a"},{value:"\\arctan a"},{value:"\\operatorname{arccot} a"},{value:"\\operatorname{arcsec} a"},{value:"\\operatorname{arccsc} a"}]},{name:"\u53CC\u66F2\u51FD\u6570 Hyperblic functions",data:[{value:"\\sinh a"},{value:"\\cosh a"},{value:"\\tanh a"},{value:"\\coth a"},{value:"\\operatorname{sech} a"},{value:"\\operatorname{csch} a"}]},{name:"\u53CD\u53CC\u66F2\u51FD\u6570 Inverse hyperbolic functions",data:[{value:"\\sinh^{-1}"},{value:"a\\cosh^{-1} a"},{value:"\\tanh^{-1} a"},{value:"\\coth^{-1} a"},{value:"\\operatorname{sech}^{-1} a"},{value:"\\operatorname{csch}^{-1} a"}]}]},{name:"\u79EF\u5206\u8FD0\u7B97",value:"\\int_{a}^{b}",children:[{name:"\u79EF\u5206 Integral",data:[{value:"\\int"},{value:"\\int_{a}^{b}"},{value:"\\int\\limits_{a}^{b}"}]},{name:"\u53CC\u91CD\u79EF\u5206 Double integral",data:[{value:"\\iint"},{value:"\\iint_{a}^{b} "},{value:"\\iint\\limits_{a}^{b} "}]},{name:"\u4E09\u91CD\u79EF\u5206 Triple integral",data:[{value:"\\iiint"},{value:"\\iiint_{a}^{b}"},{value:"\\iiint\\limits_{a}^{b} "}]},{name:"\u66F2\u7EBF\u79EF\u5206 Closed line or path integral",data:[{value:"\\oint"},{value:"\\oint_{a}^{b} "}]}]},{name:"\u5927\u578B\u8FD0\u7B97",value:"\\sum_{a}^{b}",children:[{name:"\u6C42\u548C Summation",data:[{value:"\\sum"},{value:"\\sum_{a}^{b}"},{value:"{\\textstyle \\sum_{a}^{b}} "}]},{name:"\u4E58\u79EF\u4F59\u79EF Product and coproduct",data:[{value:"\\prod"},{value:"\\prod_{a}^{b}"},{value:"{\\textstyle \\prod_{a}^{b}}"},{value:"\\coprod"},{value:"\\coprod_{a}^{b}"},{value:"{\\textstyle \\coprod_{a}^{b}} "}]},{name:"\u5E76\u96C6\u4EA4\u96C6 Union and intersection",data:[{value:"\\bigcup"},{value:"\\bigcup_{a}^{b}"},{value:"{\\textstyle \\bigcup_{a}^{b}}"},{value:"\\bigcap"},{value:"\\bigcap_{a}^{b}"}]},{name:"\u6790\u53D6\u5408\u53D6 Disjunction and conjunction",data:[{value:"\\bigvee"},{value:"\\bigvee_{a}^{b}"},{value:"\\bigwedge"},{value:"\\bigwedge_{a}^{b}"}]}]},{name:"\u62EC\u53F7\u53D6\u6574",value:"\\left [ \\left ( \\right ) \\right ] ",children:[{name:"\u62EC\u53F7 Brackets",data:[{value:"\\left ( \\right )"},{value:"\\left [ \\right ]"},{value:"\\left \\langle \\right \\rangle "},{value:"\\left | \\right | "},{value:"\\left \\lfloor \\right \\rfloor "},{value:"\\left \\lceil \\right \\rceil "}]}]}],b=[{name:"\u4EE3\u6570",value:"\\sqrt{a^2+b^2}",children:[{data:[{value:"\\left(x-1\\right)\\left(x+3\\right) "},{value:"\\sqrt{a^2+b^2}"},{value:"\\left ( \\frac{a}{b}\\right )^{n}= \\frac{a^{n}}{b^{n}}"},{value:"\\frac{a}{b}\\pm \\frac{c}{d}= \\frac{ad \\pm bc}{bd} "},{value:"\\frac{x^{2}}{a^{2}}-\\frac{y^{2}}{b^{2}}=1 "},{value:"\\frac{1}{\\sqrt{a}}=\\frac{\\sqrt{a}}{a},a\\ge 0\\frac{1}{\\sqrt{a}}=\\frac{\\sqrt{a}}{a},a\\ge 0 "},{value:"\\sqrt[n]{a^{n}}=\\left ( \\sqrt[n]{a}\\right )^{n} "},{value:"x ={-b \\pm \\sqrt{b^2-4ac}\\over 2a} "},{value:"y-y_{1}=k \\left( x-x_{1}\\right) "},{value:`\\left\\{\\begin{matrix} \r
x=a + r\\text{cos}\\theta \\ \r
y=b + r\\text{sin}\\theta \r
\\end{matrix}\\right. `},{value:`\\begin{array}{l} \r
\\text{\u5BF9\u4E8E\u65B9\u7A0B\u5F62\u5982\uFF1A}x^{3}-1=0 \\ \r
\\text{\u8BBE}\\text{:}\\omega =\\frac{-1+\\sqrt{3}i}{2} \\ \r
x_{1}=1,x_{2}= \\omega =\\frac{-1+\\sqrt{3}i}{2} \\ \r
x_{3}= \\omega ^{2}=\\frac{-1-\\sqrt{3}i}{2} \r
\\end{array} `},{value:`\\begin{array}{l} \r
a\\mathop{{x}}\\nolimits^{{2}}+bx+c=0 \\ \r
\\Delta =\\mathop{{b}}\\nolimits^{{2}}-4ac \\ \r
\\left\\{\\begin{matrix} \r
\\Delta \\gt 0\\text{\u65B9\u7A0B\u6709\u4E24\u4E2A\u4E0D\u76F8\u7B49\u7684\u5B9E\u6839} \\ \r
\\Delta = 0\\text{\u65B9\u7A0B\u6709\u4E24\u4E2A\u76F8\u7B49\u7684\u5B9E\u6839} \\ \r
\\Delta \\lt 0\\text{\u65B9\u7A0B\u65E0\u5B9E\u6839} \r
\\end{matrix}\\right. \r
\\end{array} `},{value:`\\begin{array}{l} \r
a\\mathop{{x}}\\nolimits^{{2}}+bx+c=0 \\ \r
\\Delta =\\mathop{{b}}\\nolimits^{{2}}-4ac \\ \r
\\mathop{{x}}\\nolimits_{{1,2}}=\\frac{{-b \\pm \r
\\sqrt{{\\mathop{{b}}\\nolimits^{{2}}-4ac}}}}{{2a}} \\ \r
\\mathop{{x}}\\nolimits_{{1}}+\\mathop{{x}}\\nolimits_{{2}}=-\\frac{{b}}{{a}} \\ \r
\\mathop{{x}}\\nolimits_{{1}}\\mathop{{x}}\\nolimits_{{2}}=\\frac{{c}}{{a}} \r
\\end{array} `}]}]},{name:"\u51E0\u4F55",value:"\\Delta A B C ",children:[{data:[{value:"\\Delta A B C "},{value:"a \\parallel c,b \\parallel c \\Rightarrow a \\parallel b "},{value:"l \\perp \\beta ,l \\subset \\alpha \\Rightarrow \\alpha \\perp \\beta"},{value:`\\left.\\begin{matrix} \r
a \\perp \\alpha \\ \r
b \\perp \\alpha \r
\\end{matrix}\\right\\}\\Rightarrow a \\parallel b`},{value:"P \\in \\alpha ,P \\in \\beta , \\alpha \\cap \\beta =l \\Rightarrow P \\in l "},{value:`\\alpha \\perp \\beta , \\alpha \\cap \\beta =l,a \\subset \\alpha ,a \\perp l \r
\\Rightarrow a \\perp \\beta `},{value:`\\left.\\begin{matrix} \r
a \\subset \\beta ,b \\subset \\beta ,a \\cap b=P \\ \r
a \\parallel \\partial ,b \\parallel \\partial \r
\\end{matrix}\\right\\}\\Rightarrow \\beta \\parallel \\alpha `},{value:"\\alpha \\parallel \\beta , \\gamma \\cap \\alpha =a, \\gamma \\cap \\beta =b \\Rightarrow a \\parallel b "},{value:"A \\in l,B \\in l,A \\in \\alpha ,B \\in \\alpha \\Rightarrow l \\subset \\alpha "},{value:`\\left.\\begin{matrix} \r
m \\subset \\alpha ,n \\subset \\alpha ,m \\cap n=P \\ \r
a \\perp m,a \\perp n \r
\\end{matrix}\\right\\}\\Rightarrow a \\perp \\alpha `},{value:`\\begin{array}{c} \r
\\text{\u76F4\u89D2\u4E09\u89D2\u5F62\u4E2D,\u76F4\u89D2\u8FB9\u957Fa,b,\u659C\u8FB9\u8FB9\u957Fc} \\ \r
a^{2}+b^{2}=c^{2} \r
\\end{array}`}]}]},{name:"\u4E0D\u7B49\u5F0F",value:"a > b",children:[{data:[{value:"a > b,b > c \\Rightarrow a > c "},{value:"a > b,c > d \\Rightarrow a+c > b+d "},{value:"a > b > 0,c > d > 0 \\Rightarrow ac bd "},{value:`\\begin{array}{c} \r
a \\gt b,c \\gt 0 \\Rightarrow ac \\gt bc \\ \r
a \\gt b,c \\lt 0 \\Rightarrow ac \\lt bc \r
\\end{array}`},{value:"\\left | a-b \\right | \\geqslant \\left | a \\right | -\\left | b \\right | "},{value:"-\\left | a \\right |\\leq a\\leqslant \\left | a \\right | "},{value:"\\left | a \\right |\\leqslant b \\Rightarrow -b \\leqslant a \\leqslant \\left | b \\right | "},{value:"\\left | a+b \\right | \\leqslant \\left | a \\right | + \\left | b \\right | "},{value:`\\begin{array}{c} \r
a \\gt b \\gt 0,n \\in N^{\\ast},n \\gt 1 \\ \r
\\Rightarrow a^{n}\\gt b^{n}, \\sqrt[n]{a}\\gt \\sqrt[n]{b} \r
\\end{array}`},{value:`\\left( \\sum_{k=1}^n a_k b_k \\right)^{\\!\\!2}\\leq \r
\\left( \\sum_{k=1}^n a_k^2 \\right) \\left( \\sum_{k=1}^n b_k^2 \\right) `},{value:`\\begin{array}{c} \r
a,b \\in R^{+} \\ \r
\\Rightarrow \\frac{a+b}{{2}}\\ge \\sqrt{ab} \\ \r
\\left( \\text{\u5F53\u4E14\u4EC5\u5F53}a=b\\text{\u65F6\u53D6\u201C}=\\text{\u201D\u53F7}\\right) \r
\\end{array}`},{value:`\\begin{array}{c} \r
a,b \\in R \\ \r
\\Rightarrow a^{2}+b^{2}\\gt 2ab \\ \r
\\left( \\text{\u5F53\u4E14\u4EC5\u5F53}a=b\\text{\u65F6\u53D6\u201C}=\\text{\u201D\u53F7}\\right) \r
\\end{array}`},{value:`\\begin{array}{c} \r
H_{n}=\\frac{n}{\\sum \\limits_{i=1}^{n}\\frac{1}{x_{i}}}= \\frac{n}{\\frac{1}{x_{1}}+ \\frac{1}{x_{2}}+ \\cdots + \\frac{1}{x_{n}}} \\ G_{n}=\\sqrt[n]{\\prod \\limits_{i=1}^{n}x_{i}}= \\sqrt[n]{x_{1}x_{2}\\cdots x_{n}} \\ A_{n}=\\frac{1}{n}\\sum \\limits_{i=1}^{n}x_{i}=\\frac{x_{1}+ x_{2}+ \\cdots + x_{n}}{n} \\ Q_{n}=\\sqrt{\\sum \\limits_{i=1}^{n}x_{i}^{2}}= \\sqrt{\\frac{x_{1}^{2}+ x_{2}^{2}+ \\cdots + x_{n}^{2}}{n}} \\ H_{n}\\leq G_{n}\\leq A_{n}\\leq Q_{n} \r
\\end{array}`}]}]},{name:"\u79EF\u5206",value:"\\frac{\\mathrm{d}\\partial}{\\partial x}",children:[{data:[{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}x^n=nx^{n-1} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}e^{ax}=a\\,e^{ax} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\ln(x)=\\frac{1}{x} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\sin x=\\cos x "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\cos x=-\\sin x "},{value:"\\int k\\mathrm{d}x = kx+C "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\tan x=\\sec^2 x "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\cot x=-\\csc^2 x "},{value:"\\int \\frac{1}{x}\\mathrm{d}x= \\ln \\left| x \\right| +C "},{value:"\\int \\frac{1}{\\sqrt{1-x^{2}}}\\mathrm{d}x= \\arcsin x +C "},{value:"\\int \\frac{1}{1+x^{2}}\\mathrm{d}x= \\arctan x +C "},{value:"\\int u \\frac{\\mathrm{d}v}{\\mathrm{d}x}\\,\\mathrm{d}x=uv-\\int \\frac{\\mathrm{d}u}{\\mathrm{d}x}v\\,\\mathrm{d}x "},{value:"f(x) = \\int_{-\\infty}^\\infty \\hat f(x)\\xi\\,e^{2 \\pi i \\xi x} \\,\\mathrm{d}\\xi "},{value:"\\int x^{\\mu}\\mathrm{d}x=\\frac{x^{\\mu +1}}{\\mu +1}+C, \\left({\\mu \\neq -1}\\right) "}]}]},{name:"\u4E09\u89D2",value:"e^{i \\theta}",children:[{name:"\u6C42\u548C Summation",data:[{value:"e^{i \\theta} "},{value:"\\left(\\frac{\\pi}{2}-\\theta \\right ) "},{value:"\\text{sin}^{2}\\frac{\\alpha}{2}=\\frac{1- \\text{cos}\\alpha}{2} "},{value:"\\text{cos}^{2}\\frac{\\alpha}{2}=\\frac{1+ \\text{cos}\\alpha}{2} "},{value:"\\text{tan}\\frac{\\alpha}{2}=\\frac{\\text{sin}\\alpha}{1+ \\text{cos}\\alpha} "},{value:"\\sin \\alpha + \\sin \\beta =2 \\sin \\frac{\\alpha + \\beta}{2}\\cos \\frac{\\alpha - \\beta}{2} "},{value:"\\sin \\alpha - \\sin \\beta =2 \\cos \\frac{\\alpha + \\beta}{2}\\sin \\frac{\\alpha - \\beta}{2} "},{value:"\\cos \\alpha + \\cos \\beta =2 \\cos \\frac{\\alpha + \\beta}{2}\\cos \\frac{\\alpha - \\beta}{2} "},{value:"\\cos \\alpha - \\cos \\beta =-2\\sin \\frac{\\alpha + \\beta}{2}\\sin \\frac{\\alpha - \\beta}{2} "},{value:"a^{2}=b^{2}+c^{2}-2bc\\cos A "},{value:"\\frac{\\sin A}{a}=\\frac{\\sin B}{b}=\\frac{\\sin C}{c}=\\frac{1}{2R} "},{value:"\\sin \\left ( \\frac{\\pi}{2}-\\alpha \\right ) = \\cos \\alpha "},{value:"\\sin \\left ( \\frac{\\pi}{2}+\\alpha \\right ) = \\cos \\alpha "}]}]},{name:"\u7EDF\u8BA1",value:"C_{r}^{n}",children:[{data:[{value:"C_{r}^{n} "},{value:"\\frac{n!}{r!(n-r)!} "},{value:"\\sum_{i=1}^{n}{X_i} "},{value:"\\sum_{i=1}^{n}{X_i^2} "},{value:"X_1, \\cdots,X_n "},{value:"\\frac{x-\\mu}{\\sigma} "},{value:"\\sum_{i=1}^{n}{(X_i - \\overline{X})^2} "},{value:`\\begin{array}{c} \r
\\text{\u82E5}P \\left( AB \\right) =P \\left( A \\right) P \\left( B \\right) \\\\ \r
\\text{\u5219}P \\left( A \\left| B\\right. \\right) =P \\left({B}\\right) \r
\\end{array}`},{value:"P(E) ={n \\choose k}p^k (1-p)^{n-k} "},{value:"P \\left( A \\right) = \\lim \\limits_{n \\to \\infty}f_{n}\\left ( A \\right ) "},{value:"P \\left( \\bigcup \\limits_{i=1}^{+ \\infty}A_{i}\\right) = \\prod \\limits_{i=1}^{+ \\infty}P{\\left( A_{i}\\right)} "},{value:`\\begin{array}{c} \r
P \\left( \\emptyset \\right) =0 \\\\ \r
P \\left( S \\right) =1 \r
\\end{array}`},{value:`\\begin{array}{c} \r
\\forall A \\in S \\\\ \r
P \\left( A \\right) \\ge 0 \r
\\end{array}`},{value:"P \\left( \\bigcup \\limits_{i=1}^{n}A_{i}\\right) = \\prod \\limits_{i=1}^{n}P \\left( A_{i}\\right) "},{value:`\\begin{array}{c} \r
S= \\binom{N}{n},A_{k}=\\binom{M}{k}\\cdot \\binom{N-M}{n-k} \\\\ \r
P\\left ( A_{k}\\right ) = \\frac{\\binom{M}{k}\\cdot \\binom{N-M}{n-k}}{\\binom{N}{n}} \r
\\end{array}`},{value:`\\begin{array}{c} \r
P_{n}=n! \\\\ \r
A_{n}^{k}=\\frac{n!}{\\left( n-k \\left) !\\right. \\right.} \r
\\end{array}`}]}]}],E=ne=>{y.current.setValue(y.current.getValue()+" "+ne.value+" ")},x=[{key:"1",label:"\u5FEB\u6377\u6A21\u677F",children:Ke.createElement(ie.Z,{className:re.Z.lists,gutter:[10,10]},a.map((ne,oe)=>Ke.createElement(Ae.Z,{flex:"110px",className:re.Z.item},Ke.createElement("div",null,Ke.createElement(xe.Z,{value:`$$${ne.value}$$`}),ne.name),Ke.createElement("div",{className:re.Z.children},ne.children.map((le,ue)=>Ke.createElement("div",{key:ue},Ke.createElement("h1",null,le.name),Ke.createElement(ie.Z,{gutter:[10,10]},le.data.map((ge,Ce)=>Ke.createElement(Ae.Z,{key:Ce,onClick:()=>E(ge),className:re.Z.diamond},Ke.createElement(xe.Z,{value:"`$$"+ge.value+"$$`"}))))))))))},{key:"2",label:"\u516C\u5F0F\u6A21\u677F",children:Ke.createElement(ie.Z,{className:re.Z.lists,gutter:[10,10]},b.map((ne,oe)=>Ke.createElement(Ae.Z,{flex:"110px",className:re.Z.item},Ke.createElement("div",null,Ke.createElement(xe.Z,{value:"`$$"+ne.value+"$$`"}),ne.name),Ke.createElement("div",{className:re.Z.children},ne.children.map((le,ue)=>Ke.createElement("div",{key:ue},le.name&&Ke.createElement("h1",null,le.name),Ke.createElement(ie.Z,{gutter:[10,10]},le.data.map((ge,Ce)=>Ke.createElement(Ae.Z,{key:Ce,onClick:()=>E(ge),className:re.Z.diamond},Ke.createElement(xe.Z,{value:"`$$"+ge.value+"$$`"}))))))))))}],ee=()=>{var ne=document.createElement("div");ne.innerHTML=y.current.getValue();var oe=ne.innerText;return Xe&&Xe(oe),oe};return(0,z.useImperativeHandle)(ae,()=>({getData:ee})),Ke.createElement("div",{className:re.Z.mathWrap},Ke.createElement(je.default,{defaultActiveKey:"1",items:x}),Ke.createElement("math-field",{locale:"zh_cn",className:re.Z.mathField,placeholder:"\u8BF7\u6253\u5F00\u952E\u76D8\uFF0C\u8F93\u5165\u516C\u5F0F",ref:y,style:{width:800,marginTop:30,fontSize:18}},Re||""),mt&&Ke.createElement("div",{className:re.Z.button},Ke.createElement(Ee.ZP,{size:"large",onClick:ee,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))});It.Z=ze},51110:function(xt,It,te){"use strict";te.d(It,{t:function(){return Ve}});var z=te(59301),ie=te(92832),Ae=te(78241),je=te(43418),Ee=te(95237),xe=te(43604),re=te(5871),We=te(57809),Ke=te(5112),ze=te(54657),Xe=te(76560),mt=te(69092),Re=te(8591),ae=te(3113),y=te(71418),a=te(24334),b={flex_box_center:"flex_box_center___kOQ8P",flex_space_between:"flex_space_between___fY6jt",flex_box_vertical_center:"flex_box_vertical_center___bDSSI",flex_box_center_end:"flex_box_center_end___mQ6mU",flex_box_column:"flex_box_column___F15G0",result:"result___UYRo8",left:"left___TRaH5",right:"right___twp9s",box:"box___vwndt",li:"li___hRe2d"},E=te(82093),x=te(50582),ee=te(89389),ne=te(56102),oe=te(55956),le=te(59301),ue=Object.defineProperty,ge=Object.defineProperties,Ce=Object.getOwnPropertyDescriptors,pe=Object.getOwnPropertySymbols,Be=Object.prototype.hasOwnProperty,de=Object.prototype.propertyIsEnumerable,et=(Te,he,se)=>he in Te?ue(Te,he,{enumerable:!0,configurable:!0,writable:!0,value:se}):Te[he]=se,Oe=(Te,he)=>{for(var se in he||(he={}))Be.call(he,se)&&et(Te,se,he[se]);if(pe)for(var se of pe(he))de.call(he,se)&&et(Te,se,he[se]);return Te},Ge=(Te,he)=>ge(Te,Ce(he)),Pe=(Te,he,se)=>new Promise((Ie,dt)=>{var Se=Ne=>{try{Je(se.next(Ne))}catch(ye){dt(ye)}},ve=Ne=>{try{Je(se.throw(Ne))}catch(ye){dt(ye)}},Je=Ne=>Ne.done?Ie(Ne.value):Promise.resolve(Ne.value).then(Se,ve);Je((se=se.apply(Te,he)).next())}),ot=({buttonProps:Te,buttonText:he,form:se,hackIdentifier:Ie="",answerKey:dt,data:Se})=>{const[ve,Je]=(0,z.useState)(!1),[Ne,ye]=(0,z.useState)(!1),[nt,_t]=(0,z.useState)(!1),[gt,Gt]=(0,z.useState)({}),[Ot,Ut]=(0,z.useState)(""),[be,st]=(0,z.useState)(""),pt=(0,z.useRef)(Ie),ct=(0,z.useRef)(""),Nt=(0,z.useRef)(!1);(0,z.useEffect)(()=>{nt&&bn()},[nt]),(0,z.useEffect)(()=>()=>{sessionStorage.removeItem("projectFill")},[]);const Vt=()=>new Date().getTime(),on=Se==null?void 0:Se.code,Qt=()=>{var Ft,Wt;let fn=on?Se==null?void 0:Se.code:(Ft=se.getFieldValue("hack_codes"))==null?void 0:Ft.code,un=on?Se==null?void 0:Se.answer_content:se.getFieldValue(dt),Hn=on?Se==null?void 0:Se.input:(Wt=se.getFieldValue("hack_sets"))==null?void 0:Wt.input;un==null||un.forEach(rt=>{const Pt=rt.value||rt.answer_text||"";fn=fn.replace(/(@▁@|@▁▁@)/,Pt)}),st(Hn),Ut(fn),Gt({}),_t(!0)},bn=()=>Pe(void 0,null,function*(){var Ft,Wt,fn,un;const Hn=Vt(),rt=on?Se==null?void 0:Se.time_limit:(Ft=se.getFieldsValue())==null?void 0:Ft.hack.time_limit,Pt=on?(Wt=Se==null?void 0:Se.answer_content)==null?void 0:Wt.length:(un=(fn=se.getFieldsValue())==null?void 0:fn.standard_answers)==null?void 0:un.length;Je(!0),yield(0,x.bM)(ct.current,{test_hack_code:Ot,test_input:be});function an(){return Pe(this,null,function*(){const{status:Pn,data:Fe}=yield(0,x.rX)(ct.current,"submit"),Rt=Vt()-Hn>(rt+3)*1e3*Pt;if(Nt.current){if(Rt){Re.ZP.error("\u8C03\u8BD5\u4EE3\u7801\u8D85\u65F6"),Je(!1);return}if(Pn===0){Je(!1),Gt(Ge(Oe({},Fe),{showText:!0}));return}setTimeout(an,1e3)}})}an()}),Tn=()=>Pe(void 0,null,function*(){var Ft,Wt,fn,un,Hn,rt,Pt;if(!Se){try{yield se.validateFields()}catch(ht){(fn=(Wt=(Ft=ht==null?void 0:ht.errorFields)==null?void 0:Ft[0])==null?void 0:Wt.name)!=null&&fn.includes("standard_answers")?Re.ZP.error("\u586B\u7A7A\u9879\u7B54\u6848\u4E0D\u80FD\u4E3A\u7A7A"):Re.ZP.error(ht.errorFields[0].errors[0]),se.scrollToField(ht.errorFields[0].name,{behavior:"smooth",block:"center"});return}ye(!0);let Pn="";const Fe=se.getFieldsValue();pt.current?Pn=yield(0,E.ZP)(`/api/problems/${pt.current}.json`,{method:"put",body:Ge(Oe({},Fe),{hack:Ge(Oe({},Fe==null?void 0:Fe.hack),{sub_discipline_id:(Pt=(rt=Fe==null?void 0:Fe.hack)==null?void 0:rt.sub_discipline_id)==null?void 0:Pt[1],difficult:Fe.difficulty,item_banks_group_id:Fe.item_banks_group_id}),hack_codes:Ge(Oe({},Fe.hack_codes),{code:a.Base64.encode(Fe.hack_codes.code)}),update_hack_sets:[Oe({},Fe.hack_sets)],is_blank:!0})}):(Pn=yield(0,E.ZP)("/api/problems.json",{method:"post",body:Ge(Oe({},Fe),{hack:Ge(Oe({},Fe==null?void 0:Fe.hack),{sub_discipline_id:(Hn=(un=Fe==null?void 0:Fe.hack)==null?void 0:un.sub_discipline_id)==null?void 0:Hn[1],difficult:Fe.difficulty,item_banks_group_id:Fe.item_banks_group_id}),hack_codes:Ge(Oe({},Fe.hack_codes),{code:a.Base64.encode(Fe.hack_codes.code)}),hack_sets:[Oe({},Fe.hack_sets)],is_blank:!0})}),pt.current=Pn==null?void 0:Pn.identifier,sessionStorage.projectFill=Pn==null?void 0:Pn.identifier)}const an=yield(0,E.ZP)(`/api/problems/${pt.current}/start.json`,{method:"get"});if((an==null?void 0:an.status)===0){ct.current=an==null?void 0:an.identifier,Nt.current=!0,ye(!1),Qt();return}ye(!1)}),Lt=Ft=>{const{status:Wt,error_msg:fn,execute_time:un,output:Hn,input:rt,expected_output:Pt}=Ft;let an=null;switch(Wt){case oe.h.OK:an=le.createElement(le.Fragment,null,le.createElement("p",null,"\u6267\u884C\u7528\u65F6\uFF1A",un/1e3,"\u79D2"),le.createElement("p",null,"\u6267\u884C\u7ED3\u679C\uFF1A\u8C03\u8BD5\u901A\u8FC7"));break;case oe.h.NOMATCH:an=le.createElement(le.Fragment,null,le.createElement("div",null,"\u8F93\u5165\uFF1A"),le.createElement("pre",{style:{fontFamily:"initial"}},rt),le.createElement("div",null,"\u8F93\u51FA\uFF1A"),le.createElement("pre",{style:{fontFamily:"initial"}},Hn&&a.Base64.decode(Hn)),le.createElement("div",null,"\u9884\u671F\u8F93\u51FA\uFF1A"),le.createElement("pre",{style:{fontFamily:"initial"}},Pt&&a.Base64.decode(Pt)));break;case oe.h.EXECUTEFAILURE:an=le.createElement(le.Fragment,null,le.createElement("p",null,"\u6700\u540E\u6267\u884C\u7684\u8F93\u5165\uFF1A",le.createElement("pre",null,rt)),le.createElement("p",null,"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),le.createElement("pre",{className:"error"},a.Base64.decode(fn)));break;case oe.h.COMPILEFAILURE:an=le.createElement(le.Fragment,null,le.createElement("p",null,"\u6700\u540E\u6267\u884C\u7684\u8F93\u5165\uFF1A",le.createElement("pre",null,rt)),le.createElement("p",null,"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),le.createElement("pre",{className:"error"},a.Base64.decode(fn)));break;case oe.h.PODFAILURE:an=le.createElement("p",null,"\u521B\u5EFApod\u5931\u8D25\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break;case oe.h.TIMEOUT:an=le.createElement("p",null,"\u8BC4\u6D4B\u8D85\u65F6\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break}return le.createElement(le.Fragment,null," ",an," ")};return le.createElement("div",null,le.createElement(ae.ZP,Ge(Oe({loading:Ne},Te),{onClick:Tn}),he),le.createElement(je.default,{open:nt,title:"\u8C03\u8BD5\u4EE3\u7801",destroyOnClose:!0,width:1200,okText:"\u8FD0\u884C\u6D4B\u8BD5",confirmLoading:ve,cancelButtonProps:{style:{display:"none"}},onOk:()=>bn(),onCancel:()=>{Nt.current=!1,_t(!1)}},le.createElement("div",{className:b.result},le.createElement("div",{className:b.left},le.createElement("div",{className:"mb20"},le.createElement("span",{className:"c-black"},"\u6267\u884C\u4EE3\u7801"),!Se&&le.createElement(ne.CopyToClipboard,{text:Ot,onCopy:()=>Re.ZP.success("\u590D\u5236\u6210\u529F")},le.createElement("span",{style:{float:"right"},className:"current c-light-primary"},le.createElement("i",{className:"iconfont icon-fuzhi8 mr5"}),"\u590D\u5236"))),le.createElement(ee.Z,{height:510,className:"mb0",hidetoolBar:!0,defaultValue:Ot,onChange:Ft=>Ut(Ft)})),le.createElement("div",{className:b.right},le.createElement("div",{className:"c-black mb20"},"\u81EA\u5B9A\u4E49\u6D4B\u8BD5\u7528\u4F8B"),le.createElement("div",{className:b.box},le.createElement("div",{className:b.li},le.createElement(ie.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165",value:be,onChange:Ft=>st(Ft.target.value),bordered:!1,style:{height:180}}))),le.createElement("div",{className:"c-black mb20 mt30"},"\u4EE3\u7801\u6267\u884C\u7ED3\u679C"),le.createElement("div",{className:b.box},le.createElement(y.Z,{spinning:ve,tip:"\u4EE3\u7801\u6267\u884C\u4E2D"},le.createElement("div",{className:b.li,style:{height:196,overflow:"auto",padding:10}},Lt(gt))))))))},Ue=te(87169),it=te(59301),Mt=Object.defineProperty,_e=Object.defineProperties,Tt=Object.getOwnPropertyDescriptors,Jt=Object.getOwnPropertySymbols,Me=Object.prototype.hasOwnProperty,De=Object.prototype.propertyIsEnumerable,Et=(Te,he,se)=>he in Te?Mt(Te,he,{enumerable:!0,configurable:!0,writable:!0,value:se}):Te[he]=se,Kt=(Te,he)=>{for(var se in he||(he={}))Me.call(he,se)&&Et(Te,se,he[se]);if(Jt)for(var se of Jt(he))De.call(he,se)&&Et(Te,se,he[se]);return Te},ft=(Te,he)=>_e(Te,Tt(he)),jt=(Te,he)=>{var se={};for(var Ie in Te)Me.call(Te,Ie)&&he.indexOf(Ie)<0&&(se[Ie]=Te[Ie]);if(Te!=null&&Jt)for(var Ie of Jt(Te))he.indexOf(Ie)<0&&De.call(Te,Ie)&&(se[Ie]=Te[Ie]);return se};const{TextArea:Le}=ie.default,Xt=[{title:"C",key:"C"},{title:"C++",key:"C++"},{title:"Python",key:"Python"},{title:"Java",key:"Java"}],vn=({value:Te,onChange:he})=>it.createElement(Switch,{checked:Te,onChange:se=>{he(se)}}),St="@\u2581@",ut="@\u2581\u2581@",Ve=({questionTitlePlaceholder:Te,form:he,scoreByBlank:se=!1,hackidentifier:Ie,answerKey:dt})=>{const[Se,ve]=(0,z.useState)(!1),[Je,Ne]=(0,z.useState)(!1),nt=(0,Xe.useParams)().type==="edit",_t=(ct,Nt)=>{const Vt=Nt.line;let on=0;for(let bn=0;bn<Vt;bn++)on+=ct.getLine(bn).split(St).length-1;for(let bn=0;bn<Vt;bn++)on+=ct.getLine(bn).split(ut).length-1;const Qt=ct.getLine(Vt).substring(0,Nt.ch);return on+=Qt.split(St).length-1,on+=Qt.split(ut).length-1,on},gt=(ct,Nt,Vt,on)=>{const Qt=ct.getRange(Nt.from,Nt.to);let bn=0;if(Nt.text.forEach(Tn=>{bn+=Tn.split(St).length-1}),Nt.text.forEach(Tn=>{bn+=Tn.split(ut).length-1}),Nt.origin!=="setValue"){if(Qt&&(Qt.indexOf(St)!==-1||Qt.indexOf(ut)!==-1)){const Tn=Qt.split(St).length-1+Qt.split(ut).length-1,Lt=_t(ct,Nt.from);if(console.log(`\u5220\u9664${Tn}\u4E2A\uFF0C \u524D\u9762\u6709${Lt}\u4E2A\uFF0C\u65B0\u589E${bn}\u4E2A`),Tn>1){const Ft=Array.from({length:Tn},(Wt,fn)=>Lt+fn);on(Ft)}else on(Lt)}else if(bn>0){const Tn=_t(ct,Nt.from);console.log(`\u65B0\u589E${bn}\u4E2A\uFF0C\u4E4B\u524D\u6709${Tn}\u4E2A`),Vt(bn,Tn)}}},Gt=()=>{const ct=he.getFieldValue(dt);he.setFieldsValue({[dt]:ct==null?void 0:ct.map((Nt,Vt)=>ft(Kt({},Nt),{position:Vt+1}))})},Ot=(0,z.useRef)(),Ut=(ct,Nt)=>{for(let Vt=0;Vt<ct;Vt++)Ot.current({position:null,answer_text:""},Nt+Vt);Gt()},be=(0,z.useRef)(),st=ct=>{be.current(ct),Gt()},pt=Ae.default.useWatch(dt,he);return it.createElement("div",{className:mt.Z.wrap},it.createElement(Ae.default.Item,{label:"\u8BD5\u9898\u63CF\u8FF0",name:["hack","description"],style:{display:"table"},className:"w100",labelCol:{span:24},rules:[{required:!0}]},it.createElement(ze.h,{scrollId:"name",watch:!0,height:140})),it.createElement("div",{className:mt.Z.questionTitleEditorWrap},it.createElement(Ae.default.Item,{label:"\u7A0B\u5E8F\u4EE3\u7801",name:["hack_codes","code"],labelCol:{span:24},rules:[{required:!0}]},it.createElement(ze.h,{scrollId:"name",watch:!0,height:400,hidetoolBar:!0,showNullProgramButton:!0,onChange:(ct,Nt)=>{const Vt=he.getFieldValue(dt);console.log("--preAnswerData",Vt,Nt),he.setFieldsValue({[dt]:Vt==null?void 0:Vt.map((on,Qt)=>{var bn;return ft(Kt({},on),{position:Qt+1,multi_line:(bn=Nt==null?void 0:Nt[Qt])==null?void 0:bn.multiLine})})})},placeholder:Te,onCMBeforeChange:(ct,Nt)=>{gt(ct,Nt,Ut,st)}}))),it.createElement(Ae.default.List,{name:dt,rules:[{validator(ct,Nt){if(!(Nt!=null&&Nt.length))return Promise.reject(new Error("\u7B54\u6848\u4E0D\u80FD\u4E3A\u7A7A"));for(const Vt of Nt){const{answer_text:on}=Vt||{};if((on==null?void 0:on.length)===0)return Promise.reject(new Error("\u586B\u7A7A\u9879\u7B54\u6848\u4E0D\u80FD\u4E3A\u7A7A"))}return Promise.resolve()}}]},(ct,{add:Nt,remove:Vt},{errors:on})=>(Ot.current=Nt,be.current=Vt,it.createElement(it.Fragment,null,it.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between"}},it.createElement(Ae.default.Item,{label:"\u586B\u7A7A\u9879\u7B54\u6848",required:!0,labelCol:{span:24}}),it.createElement("div",{onClick:()=>{je.default.warning({title:"\u7ED9\u5206\u8BF4\u660E",icon:null,width:700,centered:!0,content:it.createElement("div",null,it.createElement("div",null,"1.\u5B66\u751F\u586B\u5199\u7B54\u6848\u4E4B\u540E\uFF0C\u5FC5\u987B\u63D0\u4EA4\u4EE3\u7801",it.createElement("span",{style:{color:"#e30000"}},"\u8FDB\u884C\u8BC4\u6D4B"),"\u624D\u80FD\u5F97\u5206\u3002"),it.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"}},it.createElement(Ue.Z,{style:{marginRight:3,color:"#3061D0"}}),it.createElement("span",null," \u7ED9\u5206\u8BF4\u660E"))),ct.map((Qt,bn)=>{var Tn=Qt,{key:Lt,name:Ft}=Tn,Wt=jt(Tn,["key","name"]),fn,un;return it.createElement(Ee.Z,{className:"mb20",key:Lt,align:"middle",wrap:!1},it.createElement(xe.Z,{flex:"0 0 auto",className:`${mt.Z.blankIndex}`},"\u586B\u7A7A\u9879",bn+1),it.createElement(xe.Z,{flex:1},it.createElement(Ee.Z,{align:"top",justify:"space-between",wrap:!1},it.createElement(xe.Z,null,it.createElement(Ae.default.Item,ft(Kt({},Wt),{name:[Ft,"answer_text"],noStyle:!0}),(fn=pt==null?void 0:pt[Ft])!=null&&fn.multi_line||(un=pt==null?void 0:pt[Ft])!=null&&un.multiLine?it.createElement(Le,{spellCheck:!1,style:{marginLeft:10,width:550}}):it.createElement(ie.default,{style:{marginLeft:10,width:550},className:mt.Z.blankInput,size:"large",maxLength:1e3,onBlur:Hn=>{}}))),se&&it.createElement(xe.Z,{flex:"224px"},it.createElement(Ae.default.Item,ft(Kt({},Wt),{name:[Ft,"score"],label:"\u5206\u503C",rules:[{required:!0}]}),it.createElement(re.Z,{size:"large",className:mt.Z.blankInput,min:.1,max:100,precision:1,style:{width:"100%"},placeholder:"\u8BF7\u8F93\u5165\u5206\u503C"}))))))})))),it.createElement("div",{onClick:()=>ve(!0)},it.createElement(Ae.default.Item,{name:["hack","analysis"],label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},it.createElement(ze.x,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:Se}))),it.createElement(Ae.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"}]},it.createElement(We.default,{size:"large"},Xt.map(ct=>it.createElement(We.default.Option,{key:ct.title,value:ct.key}," ",ct.title)))),it.createElement(Ae.default.Item,{label:"\u6700\u5927\u8BC4\u6D4B\u65F6\u957F\uFF08\u79D2\uFF09",style:{marginTop:30},labelCol:{span:24},required:!0},it.createElement(Ae.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},it.createElement(re.Z,{precision:0,max:10,min:3,size:"large",style:{width:"97%"}})),it.createElement("span",{className:"ml10 font14"},"\u79D2")),it.createElement(Ae.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"}]},it.createElement(Ke.ZP.Group,{style:{marginTop:-10}},it.createElement(Ke.ZP,{value:0},"\u4E0D\u5FFD\u7565\u7A7A\u683C"),it.createElement(Ke.ZP,{value:1},"\u5FFD\u7565\u9996\u5C3E\u7A7A\u683C"),it.createElement(Ke.ZP,{value:2},"\u5FFD\u7565\u6240\u6709\u7A7A\u683C"))),it.createElement(Ae.default.Item,{label:"\u6D4B\u8BD5\u7528\u4F8B",required:!0,style:{marginTop:30}}),it.createElement("div",{style:{background:"#F6F7F9",padding:15}},it.createElement(Ae.default.Item,{label:"\u8F93\u5165",labelCol:{span:24},name:["hack_sets","input"]},it.createElement(Le,{rows:4})),it.createElement(Ae.default.Item,{label:"\u8F93\u51FA",labelCol:{span:24},name:["hack_sets","output"],rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u8F93\u51FA\u5185\u5BB9"}]},it.createElement(Le,{rows:4}))),it.createElement(ot,{form:he,answerKey:dt,hackIdentifier:Ie,buttonText:"\u8FD0\u884C\u8C03\u8BD5",buttonProps:{ghost:!0,icon:it.createElement("i",{className:"iconfont icon-ceshi"}),style:{background:"rgba(55,173,131,0.05)",borderRadius:19,border:"1px solid #37AD83",width:116,height:38,display:"inline-flex",fontSize:14,alignItems:"center",justifyContent:"center",marginTop:20,cursor:"pointer",color:"#37AD83"}}}))}},82482:function(xt,It,te){"use strict";te.d(It,{u:function(){return le}});var z=te(59301),ie=te(95237),Ae=te(43604),je=te(6848),Ee=te(78241),xe=te(69092),re=te(32134),We=te(12893),Ke=te(54657),ze=te(59301),Xe=Object.defineProperty,mt=Object.defineProperties,Re=Object.getOwnPropertyDescriptors,ae=Object.getOwnPropertySymbols,y=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable,b=(ue,ge,Ce)=>ge in ue?Xe(ue,ge,{enumerable:!0,configurable:!0,writable:!0,value:Ce}):ue[ge]=Ce,E=(ue,ge)=>{for(var Ce in ge||(ge={}))y.call(ge,Ce)&&b(ue,Ce,ge[Ce]);if(ae)for(var Ce of ae(ge))a.call(ge,Ce)&&b(ue,Ce,ge[Ce]);return ue},x=(ue,ge)=>mt(ue,Re(ge)),ee=(ue,ge)=>{var Ce={};for(var pe in ue)y.call(ue,pe)&&ge.indexOf(pe)<0&&(Ce[pe]=ue[pe]);if(ue!=null&&ae)for(var pe of ae(ue))ge.indexOf(pe)<0&&a.call(ue,pe)&&(Ce[pe]=ue[pe]);return Ce};const ne=["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"],oe=({value:ue,onChange:ge,choiceTextKey:Ce,answerKey:pe,index:Be,isEdit:de,setInputActive:et,form:Oe,choiceOptionsPath:Ge,allowChangeMode:Pe,showAddIcon:ke,addItem:ot,deleteItem:Ue})=>{console.log(ue,"value");const it=(ue==null?void 0:ue[pe])===1,Mt=()=>{const Tt=Oe.getFieldValue(Ge);Oe.setFieldValue(Ge,Tt.map(Jt=>x(E({},Jt),{[pe]:0})))},_e=()=>{it?ge(x(E({},ue),{[pe]:0})):(Pe||Mt(),ge(x(E({},ue),{[pe]:1})))};return ze.createElement(ie.Z,{className:xe.Z.choiceWrap,align:"middle",wrap:!1},ze.createElement(Ae.Z,{onClick:_e,className:`${xe.Z.choiceIndex} ${it?xe.Z.activeAnswer:""}`},ne[Be]),ze.createElement(Ae.Z,{flex:1,className:`${xe.Z.editorWrap} ml15`,onClick:et},ze.createElement(Ke.x,{height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9009\u9879",isEdit:de,value:ue==null?void 0:ue[Ce],onChange:Tt=>{ge(x(E({},ue),{[Ce]:Tt}))}})),ze.createElement(Ae.Z,{flex:"0 0 auto",className:"ml15"},ze.createElement("div",{onClick:_e,className:`${xe.Z.setAnswerBtn} ${it?xe.Z.activeAnswer:""}`},it?"\u6B63\u786E\u7B54\u6848":"\u8BBE\u4E3A\u7B54\u6848")),ze.createElement(Ae.Z,{className:xe.Z.actionWrapper},ze.createElement(je.Z,{title:"\u65B0\u589E\u53C2\u8003\u7B54\u6848"},ze.createElement(re.Z,{className:xe.Z.addIcon,onClick:ot,style:{visibility:ke?"visible":"hidden"}})),ze.createElement(je.Z,{title:"\u5220\u9664"},ze.createElement(We.Z,{className:xe.Z.deleteIcon,onClick:Ue,style:{visibility:Be>1?"visible":"hidden"}}))))},le=({questionTitlePlaceholder:ue,titleKey:ge,choiceKey:Ce,analysisKey:pe,choiceTextKey:Be,answerKey:de,choiceOptionsPath:et,allowChangeMode:Oe=!0,form:Ge,showAnalysis:Pe=!0})=>{const[ke,ot]=(0,z.useState)(),[Ue,it]=(0,z.useState)(!1);return ze.createElement("div",{className:xe.Z.wrap},ze.createElement("div",{className:xe.Z.questionTitleEditorWrap},ze.createElement(Ee.default.Item,{label:"\u9898\u5E72",name:ge,labelCol:{span:24},rules:[{required:!0}]},ze.createElement(Ke.h,{scrollId:Array.isArray(ge)?ge.join("_"):`${ge}`,watch:!0,height:140,placeholder:ue}))),ze.createElement(Ee.default.Item,{label:"\u7B54\u6848\u9009\u9879",required:!0,labelCol:{span:24}}),ze.createElement(Ee.default.List,{name:Ce,rules:[{validator(Mt,_e){const Tt=_e.some(Me=>Me[de]===1),Jt=_e.findIndex(Me=>{var De;return((De=Me[Be])==null?void 0:De.length)<=0});return Jt!==-1?Promise.reject(new Error(`\u8BF7\u5148\u8F93\u5165${ne[Jt]}\u9009\u9879\u7684\u5185\u5BB9`)):Tt?Promise.resolve():Promise.reject(new Error("\u8BF7\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848"))}}]},(Mt,{add:_e,remove:Tt})=>ze.createElement("div",{id:Array.isArray(et)?et.join("_"):`${et}`},Mt.map((Jt,Me)=>{var De=Jt,{key:Et,name:Kt}=De,ft=ee(De,["key","name"]);const jt=ke===Et,Le=()=>{ot(Et)},Xt=Me<7&&Me===Mt.length-1,vn=()=>_e({[Be]:"",[de]:0}),St=()=>Tt(Kt);return ze.createElement(Ee.default.Item,x(E({},ft),{key:Et,name:Kt,className:xe.Z.choiceListWrap,rules:[{validator(ut,Ve){return Ve!=null&&Ve.choice_text?Promise.resolve():Promise.reject(new Error(`\u8BF7\u5148\u8F93\u5165${ne[Me]}\u9009\u9879\u7684\u5185\u5BB9`))}}]}),ze.createElement(oe,{choiceTextKey:Be,answerKey:de,index:Me,isEdit:jt,setInputActive:Le,form:Ge,choiceOptionsPath:et,allowChangeMode:Oe,showAddIcon:Xt,addItem:vn,deleteItem:St}))}),Mt.length<8&&ze.createElement("div",{className:`${xe.Z.addBtn} mb30`,onClick:()=>_e({[Be]:"",[de]:0})},"\u6DFB\u52A0\u9009\u9879"))),Pe&&ze.createElement("div",{onClick:()=>it(!0)},ze.createElement(Ee.default.Item,{name:pe,label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},ze.createElement(Ke.x,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:Ue}))))}},15460:function(xt,It,te){"use strict";te.d(It,{u:function(){return Oe}});var z=te(59301),ie=te(43418),Ae=te(95237),je=te(43604),Ee=te(92832),xe=te(6848),re=te(49770),We=te(78241),Ke=te(5112),ze=te(5871),Xe=te(54657),mt=te(12893),Re=te(61485),ae=te(69092),y=te(65986),a=te(59301),b=Object.defineProperty,E=Object.defineProperties,x=Object.getOwnPropertyDescriptors,ee=Object.getOwnPropertySymbols,ne=Object.prototype.hasOwnProperty,oe=Object.prototype.propertyIsEnumerable,le=(Ge,Pe,ke)=>Pe in Ge?b(Ge,Pe,{enumerable:!0,configurable:!0,writable:!0,value:ke}):Ge[Pe]=ke,ue=(Ge,Pe)=>{for(var ke in Pe||(Pe={}))ne.call(Pe,ke)&&le(Ge,ke,Pe[ke]);if(ee)for(var ke of ee(Pe))oe.call(Pe,ke)&&le(Ge,ke,Pe[ke]);return Ge},ge=(Ge,Pe)=>E(Ge,x(Pe)),Ce=(Ge,Pe)=>{var ke={};for(var ot in Ge)ne.call(Ge,ot)&&Pe.indexOf(ot)<0&&(ke[ot]=Ge[ot]);if(Ge!=null&&ee)for(var ot of ee(Ge))Pe.indexOf(ot)<0&&oe.call(Ge,ot)&&(ke[ot]=Ge[ot]);return ke};const pe=({value:Ge,onChange:Pe})=>{const ke=Ue=>{ie.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:"\u786E\u8BA4\u8981\u5220\u9664\u8FD9\u4E2A\u53C2\u8003\u7B54\u6848\u5417\uFF1F",className:ae.Z.modal,onOk:()=>{const it=[...Ge];it.splice(Ue,1),Pe(it)}})},ot=()=>{const Ue=[...Ge];Ue.push(""),Pe(Ue)};return a.createElement(Ae.Z,{className:"ml20"},a.createElement(je.Z,{flex:1},Ge==null?void 0:Ge.map((Ue,it)=>a.createElement(Ae.Z,{key:`${Ue}_${it}`,className:"mb20"},a.createElement(Ee.default.TextArea,{style:{flex:1,minHeight:44},defaultValue:Ue,autoSize:{maxRows:3},maxLength:1e3,onBlur:Mt=>{const _e=[...Ge],Tt=Mt.target.value.trim();_e[it]=Tt,Pe(_e)}}),a.createElement(xe.Z,{title:"\u5220\u9664"},a.createElement(mt.Z,{className:ae.Z.deleteIcon,style:{marginLeft:15,visibility:it>0?"visible":"hidden"},onClick:()=>ke(it)}))))),a.createElement(je.Z,null,a.createElement("div",{className:`${ae.Z.addBtn}`,onClick:()=>{ot()}},"\u65B0\u589E\u7B54\u6848")))},Be=({value:Ge,onChange:Pe})=>{const ke=Ue=>{ie.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:"\u786E\u8BA4\u8981\u5220\u9664\u8FD9\u4E2A\u53C2\u8003\u7B54\u6848\u5417\uFF1F",className:ae.Z.modal,onOk:()=>{const it=[...Ge];it.splice(Ue,1),Pe(it)}})},ot=()=>{const Ue=[...Ge];Ue.push(""),Pe(Ue)};return a.createElement(Ae.Z,{className:"ml20"},a.createElement(je.Z,{flex:1},Ge==null?void 0:Ge.map((Ue,it)=>a.createElement(Ae.Z,{key:`${Ue}_${it}`,align:"middle",className:"mb20"},a.createElement(y.Z,{value:Ue,style:{flex:1},onChange:Mt=>{const _e=[...Ge];_e[it]=Mt,Pe(_e)}}),a.createElement(xe.Z,{title:"\u5220\u9664"},a.createElement(mt.Z,{className:ae.Z.deleteIcon,style:{marginLeft:15,visibility:it>0?"visible":"hidden"},onClick:()=>ke(it)}))))),a.createElement(je.Z,null,a.createElement("div",{className:`${ae.Z.addBtn}`,onClick:()=>{ot()}},"\u65B0\u589E\u7B54\u6848")))},de=({value:Ge=!0,onChange:Pe})=>a.createElement(re.Z,{checked:!Ge,onChange:ke=>{Pe(!ke)}}),et="\u2581",Oe=({questionTitlePlaceholder:Ge,form:Pe,scoreByBlank:ke=!1,answerKey:ot})=>{const[Ue,it]=(0,z.useState)(!1),Mt=(ft,jt)=>{const Le=jt.line;let Xt=0;for(let St=0;St<Le;St++)Xt+=ft.getLine(St).split(et).length-1;const vn=ft.getLine(Le).substring(0,jt.ch);return Xt+=vn.split(et).length-1,Xt},_e=(ft,jt,Le,Xt)=>{const vn=ft.getRange(jt.from,jt.to);let St=0;if(jt.text.forEach(ut=>{St+=ut.split(et).length-1}),jt.origin!=="setValue"){if(vn&&vn.indexOf(et)!==-1){const ut=vn.split(et).length-1,Ve=Mt(ft,jt.from);if(console.log(`\u5220\u9664${ut}\u4E2A\uFF0C \u524D\u9762\u6709${Ve}\u4E2A\uFF0C\u65B0\u589E${St}\u4E2A`),ut>1){const Te=Array.from({length:ut},(he,se)=>Ve+se);Xt(Te)}else Xt(Ve)}else if(St>0){const ut=Mt(ft,jt.from);console.log(`\u65B0\u589E${St}\u4E2A\uFF0C\u4E4B\u524D\u6709${ut}\u4E2A`),Le(St,ut)}}},Tt=()=>{const ft=Pe.getFieldValue(ot);Pe.setFieldsValue({[ot]:ft.map((jt,Le)=>ge(ue({},jt),{position:Le+1}))})},Jt=(0,z.useRef)(),Me=(ft,jt)=>{for(let Le=0;Le<ft;Le++)Jt.current({position:null,answer_text:[""],model:1},jt+Le);Tt()},De=(0,z.useRef)(),Et=ft=>{De.current(ft),Tt()},Kt=We.default.useWatch(ot,Pe);return a.createElement("div",{className:ae.Z.wrap},a.createElement("div",{className:ae.Z.questionTitleEditorWrap},a.createElement(We.default.Item,{label:"\u9898\u5E72",name:"name",labelCol:{span:24},rules:[{required:!0}]},a.createElement(Xe.h,{scrollId:"name",watch:!0,height:140,placeholder:Ge,showNullButton:!0,onCMBeforeChange:(ft,jt)=>{_e(ft,jt,Me,Et)}}))),a.createElement(We.default.List,{name:ot,rules:[{validator(ft,jt){if(!(jt!=null&&jt.length))return Promise.reject(new Error("\u8BF7\u5148\u5728\u9898\u5E72\u4E2D\u63D2\u5165\u586B\u7A7A\u9879"));for(const Le of jt){const{answer_text:Xt}=Le||{};if(Xt!=null&&Xt.some(vn=>(vn==null?void 0:vn.length)===0))return Promise.reject(new Error("\u586B\u7A7A\u9879\u7B54\u6848\u4E0D\u80FD\u4E3A\u7A7A"))}return Promise.resolve()}}]},(ft,{add:jt,remove:Le},{errors:Xt})=>(Jt.current=jt,De.current=Le,a.createElement(a.Fragment,null,a.createElement(We.default.Item,{label:a.createElement("span",null,"\u586B\u7A7A\u9879\u7B54\u6848",!(ft!=null&&ft.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}}),ft.map((vn,St)=>{var ut=vn,{key:Ve,name:Te}=ut,he=Ce(ut,["key","name"]),se,Ie;return a.createElement("div",{style:{marginBottom:10},key:Ve},a.createElement(Ae.Z,{className:"mb20",align:"middle",wrap:!1},a.createElement(je.Z,{style:{marginRight:10},flex:"0 0 auto",className:`${ae.Z.blankIndex}`},"\u586B\u7A7A\u9879",St+1),a.createElement(We.default.Item,ge(ue({},he),{name:[Te,"model"],noStyle:!0}),a.createElement(Ke.ZP.Group,{onChange:()=>{const dt=Pe.getFieldValue(ot);Pe.setFieldsValue({[ot]:dt.map((Se,ve)=>ge(ue({},Se),{answer_text:Te===ve?[""]:Se.answer_text}))})}},a.createElement(Ke.ZP,{value:1},"\u6587\u672C\u6A21\u5F0F ",a.createElement(xe.Z,{title:"\u5B66\u751F\u7B54\u9898\u65F6\uFF0C\u9700\u8981\u5728\u6587\u672C\u6846\u4E2D\u586B\u5199\u6587\u672C\u7B54\u6848"},a.createElement(Re.Z,null))),a.createElement(Ke.ZP,{value:2},"\u6570\u5B66\u516C\u5F0F\u6A21\u5F0F ",a.createElement(xe.Z,{title:"\u5B66\u751F\u7B54\u9898\u65F6\uFF0C\u9700\u8981\u7F16\u5199\u6570\u5B66\u516C\u5F0F\u4F5C\u4E3A\u7B54\u6848"},a.createElement(Re.Z,null)))))),a.createElement(Ae.Z,{style:{marginLeft:20},align:"middle",wrap:!1},a.createElement(je.Z,{flex:1},a.createElement(Ae.Z,{align:"top",justify:"space-between",wrap:!1},a.createElement(je.Z,{flex:1},a.createElement(We.default.Item,ge(ue({},he),{name:[Te,"answer_text"],noStyle:!0}),((Ie=(se=Pe.getFieldValue(ot))==null?void 0:se[Te])==null?void 0:Ie.model)===1?a.createElement(pe,null):a.createElement(Be,null))),ke&&a.createElement(je.Z,{flex:"224px",style:{margin:"-7px 0 0 20px"}},a.createElement(We.default.Item,ge(ue({},he),{name:[Te,"score"],label:"\u5206\u503C",rules:[{required:!0}],className:ae.Z.blankInputNumberWrapper}),a.createElement(ze.Z,{min:.1,max:100,precision:1,style:{width:"100%"},placeholder:"\u8BF7\u8F93\u5165\u5206\u503C"})))),a.createElement(We.default.Item,ge(ue({},he),{name:[Te,"position"],noStyle:!0}),a.createElement(Ee.default,{type:"hidden"})))))})))),a.createElement(Ae.Z,{align:"middle"},a.createElement(We.default.Item,{name:"downcase",valuePropName:"checked"},a.createElement(re.Z,null)),a.createElement(je.Z,{className:"ml10"},"\u5224\u5206\u65F6\u5FFD\u7565\u7B54\u6848\u4E2D\u7684\u5B57\u6BCD\u5927\u5C0F\u5199")),a.createElement(Ae.Z,{align:"middle"},a.createElement(We.default.Item,{name:"no_space",valuePropName:"checked"},a.createElement(re.Z,null)),a.createElement(je.Z,{className:"ml10"},"\u5224\u5206\u65F6\u5FFD\u7565\u7B54\u6848\u4E2D\u7684\u7A7A\u683C")),(Kt==null?void 0:Kt.length)>1&&a.createElement(Ae.Z,{align:"middle",className:(Kt==null?void 0:Kt.length)>1?"mb30":`${ae.Z.hide}`},a.createElement(We.default.Item,{name:"is_ordered"},a.createElement(de,null)),a.createElement(je.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:()=>it(!0)},a.createElement(We.default.Item,{name:"analysis",label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},a.createElement(Xe.x,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:Ue}))))}},98815:function(xt,It,te){"use strict";te.d(It,{Z:function(){return ee}});var z=te(59301),ie=te(95237),Ae=te(43604),je=te(78241),Ee=te(69092),xe=te(54657),re=te(59301),We=Object.defineProperty,Ke=Object.defineProperties,ze=Object.getOwnPropertyDescriptors,Xe=Object.getOwnPropertySymbols,mt=Object.prototype.hasOwnProperty,Re=Object.prototype.propertyIsEnumerable,ae=(ne,oe,le)=>oe in ne?We(ne,oe,{enumerable:!0,configurable:!0,writable:!0,value:le}):ne[oe]=le,y=(ne,oe)=>{for(var le in oe||(oe={}))mt.call(oe,le)&&ae(ne,le,oe[le]);if(Xe)for(var le of Xe(oe))Re.call(oe,le)&&ae(ne,le,oe[le]);return ne},a=(ne,oe)=>Ke(ne,ze(oe)),b=(ne,oe)=>{var le={};for(var ue in ne)mt.call(ne,ue)&&oe.indexOf(ue)<0&&(le[ue]=ne[ue]);if(ne!=null&&Xe)for(var ue of Xe(ne))oe.indexOf(ue)<0&&Re.call(ne,ue)&&(le[ue]=ne[ue]);return le};const E={\u6B63\u786E:"T",\u9519\u8BEF:"F"},x=({value:ne,onChange:oe,form:le})=>{const ue=(ne==null?void 0:ne.is_answer)===1,ge=ne==null?void 0:ne.choice_text,Ce=()=>{const pe=le.getFieldsValue().choices.map(Be=>({choice_text:Be.choice_text,is_answer:0}));le.setFieldsValue({choices:pe}),oe(a(y({},ne),{is_answer:1}))};return re.createElement(ie.Z,{className:Ee.Z.choiceWrap,align:"middle",wrap:!1,style:{marginBottom:"20px"}},re.createElement(Ae.Z,{onClick:Ce,className:`${Ee.Z.choiceIndex} ${Ee.Z.judgementIndex} ${ue?Ee.Z.activeAnswer:""}`},E[ge]),re.createElement(Ae.Z,{flex:1,className:`${Ee.Z.editorWrap} ml15`},re.createElement("div",{className:`${Ee.Z.inputBorder} ${Ee.Z.placeholder} ${ue?Ee.Z.activeJudgementAnswer:""}`},ge)),re.createElement(Ae.Z,{flex:"0 0 auto",className:"ml15"},re.createElement("div",{onClick:Ce,className:`${Ee.Z.setAnswerBtn} ${ue?Ee.Z.activeAnswer:""}`},ue?"\u6B63\u786E\u7B54\u6848":"\u8BBE\u4E3A\u7B54\u6848")))},ee=({questionTitlePlaceholder:ne,choiceKey:oe,form:le})=>{const[ue,ge]=(0,z.useState)(!1);return re.createElement("div",{className:Ee.Z.wrap},re.createElement("div",{className:Ee.Z.questionTitleEditorWrap},re.createElement(je.default.Item,{label:"\u9898\u5E72",name:"name",labelCol:{span:24},rules:[{required:!0}]},re.createElement(xe.h,{scrollId:"name",watch:!0,height:140,placeholder:ne}))),re.createElement(je.default.Item,{label:"\u7B54\u6848\u9009\u9879",required:!0,labelCol:{span:24}},re.createElement(je.default.List,{name:"choices",rules:[{validator(Ce,pe){return pe.some(de=>(de==null?void 0:de.is_answer)===1)?Promise.resolve():Promise.reject(new Error("\u8BF7\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848"))}}]},Ce=>re.createElement("div",{id:"choices"},Ce.map(pe=>{var Be=pe,{key:de,name:et}=Be,Oe=b(Be,["key","name"]);return re.createElement(je.default.Item,a(y({},Oe),{key:de,name:et,noStyle:!0}),re.createElement(x,{form:le}))})))),re.createElement("div",{onClick:()=>ge(!0)},re.createElement(je.default.Item,{name:"analysis",label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},re.createElement(xe.x,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:ue}))))}},54657:function(xt,It,te){"use strict";te.d(It,{h:function(){return y},x:function(){return a}});var z=te(89389),ie=te(69092),Ae=te(7664),je=te(59301),Ee=Object.defineProperty,xe=Object.defineProperties,re=Object.getOwnPropertyDescriptors,We=Object.getOwnPropertySymbols,Ke=Object.prototype.hasOwnProperty,ze=Object.prototype.propertyIsEnumerable,Xe=(b,E,x)=>E in b?Ee(b,E,{enumerable:!0,configurable:!0,writable:!0,value:x}):b[E]=x,mt=(b,E)=>{for(var x in E||(E={}))Ke.call(E,x)&&Xe(b,x,E[x]);if(We)for(var x of We(E))ze.call(E,x)&&Xe(b,x,E[x]);return b},Re=(b,E)=>xe(b,re(E)),ae=(b,E)=>{var x={};for(var ee in b)Ke.call(b,ee)&&E.indexOf(ee)<0&&(x[ee]=b[ee]);if(b!=null&&We)for(var ee of We(b))E.indexOf(ee)<0&&ze.call(b,ee)&&(x[ee]=b[ee]);return x};const y=b=>{var E=b,{value:x,onChange:ee,scrollId:ne}=E,oe=ae(E,["value","onChange","scrollId"]);return je.createElement("div",{id:ne||""},je.createElement(z.Z,Re(mt({},oe),{defaultValue:x,onChange:(le,ue)=>{ue!=null&&ue.length?ee(le,ue):ee(le)}})))},a=({value:b,onChange:E,placeholder:x,height:ee=140,isEdit:ne,miniToolbar:oe,watch:le=!0})=>ne?je.createElement(z.Z,{watch:le,isFocus:!0,height:ee||void 0,placeholder:x,defaultValue:b,onChange:E,miniToolbar:oe}):je.createElement("div",{style:{cursor:"pointer"}},b?je.createElement(Ae.Z,{className:ie.Z.inputBorder,value:b}):je.createElement("div",{className:`${ie.Z.inputBorder} ${ie.Z.placeholder} inputBorderError`},x))},84635:function(xt,It,te){"use strict";te.d(It,{W:function(){return Be}});var z=te(59301),ie=te(8591),Ae=te(12563),je=te(78241),Ee=te(49770),xe=te(95237),re=te(43604),We=te(6848),Ke=te(92832),ze=te(5871),Xe=te(69092),mt=te(54657),Re=te(89389),ae=te(61485),y=Object.defineProperty,a=Object.defineProperties,b=Object.getOwnPropertyDescriptors,E=Object.getOwnPropertySymbols,x=Object.prototype.hasOwnProperty,ee=Object.prototype.propertyIsEnumerable,ne=(de,et,Oe)=>et in de?y(de,et,{enumerable:!0,configurable:!0,writable:!0,value:Oe}):de[et]=Oe,oe=(de,et)=>{for(var Oe in et||(et={}))x.call(et,Oe)&&ne(de,Oe,et[Oe]);if(E)for(var Oe of E(et))ee.call(et,Oe)&&ne(de,Oe,et[Oe]);return de},le=(de,et)=>a(de,b(et)),ue=(de,et)=>{var Oe={};for(var Ge in de)x.call(de,Ge)&&et.indexOf(Ge)<0&&(Oe[Ge]=de[Ge]);if(de!=null&&E)for(var Ge of E(de))et.indexOf(Ge)<0&&ee.call(de,Ge)&&(Oe[Ge]=de[Ge]);return Oe};const ge=de=>{var et=de,{value:Oe,onChange:Ge}=et,Pe=ue(et,["value","onChange"]);const ke=ot=>{Ge([ot])};return z.createElement(Re.Z,le(oe({},Pe),{defaultValue:Oe==null?void 0:Oe[0],onChange:ke}))},Ce=de=>{if(!de)return!1;if(/^s*$/.test(de)||de.trim()===""){ie.ZP.warning("\u5173\u952E\u8BCD\u4E0D\u80FD\u5168\u4E3A\u7A7A\u683C");return}let et=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 de==="|"?(ie.ZP.warning("\u5173\u952E\u8BCD\u4E0D\u80FD\u53EA\u8F93\u5165\u4E00\u4E2A\u201C|\u201D\u5B57\u7B26\uFF01"),!1):!0},pe=({value:de=[],onClose:et})=>z.createElement(Ae.default,{closable:!0,onClose:et,className:Xe.Z.keywordTag},z.createElement("pre",{style:{margin:"0px",whiteSpace:"pre-wrap"}},de.join(" \u6216 "))),Be=({questionTitlePlaceholder:de,form:et,showKeywords:Oe,isMustKeyWords:Ge=Oe})=>{const[Pe,ke]=(0,z.useState)(!1),[ot,Ue]=(0,z.useState)(""),it=je.default.useWatch("use_keywords",et),Mt=je.default.useWatch("question_score",et);return z.createElement("div",{className:Xe.Z.wrap},z.createElement("div",{className:Xe.Z.questionTitleEditorWrap},z.createElement(je.default.Item,{label:"\u9898\u5E72",name:"name",labelCol:{span:24},rules:[{required:!0}]},z.createElement(mt.h,{scrollId:"name",watch:!0,height:140,placeholder:de}))),z.createElement(je.default.Item,{label:"\u53C2\u8003\u7B54\u6848",name:"answer_texts",labelCol:{span:24}},z.createElement(ge,{watch:!0,height:140,placeholder:"\u8BF7\u7F16\u8F91\u53C2\u8003\u7B54\u6848\uFF08\u975E\u5FC5\u586B\uFF09"})),Oe&&!Ge&&z.createElement(je.default.Item,{hidden:!0,name:"use_keywords",valuePropName:"checked"},z.createElement(Ee.Z,{defaultChecked:!0})),Oe&&Ge&&z.createElement(xe.Z,{align:"middle",className:"mb30"},z.createElement(je.default.Item,{name:"use_keywords",valuePropName:"checked"},z.createElement(Ee.Z,null)),z.createElement(re.Z,{className:"ml10"},"\u5F00\u542F\u5173\u952E\u8BCD\u81EA\u52A8\u5224\u5206"),z.createElement(re.Z,null,z.createElement(We.Z,{placement:"right",title:"\u9009\u4E2D\u540E\uFF0C\u9700\u8981\u8BBE\u7F6E\u6BCF\u4E2A\u5173\u952E\u8BCD\u7684\u5206\u503C\uFF0C\u7CFB\u7EDF\u4F1A\u6839\u636E\u8BBE\u7F6E\u7684\u5173\u952E\u8BCD\u8FDB\u884C\u81EA\u52A8\u5224\u5206\uFF1B \u6240\u6709\u5173\u952E\u8BCD\u5206\u503C\u4E4B\u548C\u5FC5\u987B\u5C0F\u4E8E\u7B49\u4E8E\u5C0F\u9898\u5206\u503C\u3002"},z.createElement(ae.Z,{style:{color:"#3061D0",marginLeft:6,cursor:"pointer"}})))),(it||!Ge)&&z.createElement(je.default.List,{name:"keywords",rules:[{validator(_e,Tt){return Ge?Tt!=null&&Tt.length?(Tt==null?void 0:Tt.reduce((Me,De)=>Me+De.score,0))>parseFloat(Mt)?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()}}]},(_e,{add:Tt,remove:Jt})=>z.createElement(z.Fragment,null,z.createElement("div",{className:`${Xe.Z.title} mb10`},Ge?"\u5173\u952E\u8BCD":z.createElement("span",{style:{color:"#9096A3"}},"\u5224\u5206\u5173\u952E\u8BCD")),z.createElement(xe.Z,{align:"middle",className:"font14 mb30"},z.createElement(re.Z,{flex:1},z.createElement(Ke.default,{value:ot,onChange:Me=>{Ue(Me.target.value)},maxLength:50,allowClear:!0,onPressEnter:Me=>{var De,Et,Kt,ft;const jt=`${(De=Me.target)==null?void 0:De.value}`,Le=(Kt=(Et=jt==null?void 0:jt.split("|"))==null?void 0:Et.filter(St=>!!St))==null?void 0:Kt.map(St=>St==null?void 0:St.trim()),Xt=et.getFieldValue("keywords"),vn=((ft=Xt==null?void 0:Xt.map(St=>St==null?void 0:St.keyword))==null?void 0:ft.flat())||[];for(const St of Le)if(vn.includes(St)){ie.ZP.error("\u4E3A\u907F\u514D\u5224\u5206\u9519\u8BEF\uFF0C\u8BF7\u52FF\u8BBE\u7F6E\u76F8\u540C\u7684\u5173\u952E\u8BCD");return}Ce(jt)&&(Tt({keyword:Le,score:1}),Ue(""))},className:Xe.Z.inputBorder,placeholder:"\u652F\u6301\u8BBE\u7F6E\u591A\u4E2A\u5173\u952E\u8BCD\uFF1B\u5E76\u5217\u5173\u952E\u8BCD\uFF08\u6216\u7684\u5173\u7CFB\uFF09\u8BF7\u7528\u201C|\u201D\u5206\u9694\u5F00"})),z.createElement(re.Z,{flex:"148px",style:{textAlign:"right",color:"#e99237"}},"\u201C\u56DE\u8F66\u952E\u201D\u4FDD\u5B58\u5173\u952E\u8BCD")),_e.map(Me=>{var De=Me,{key:Et,name:Kt}=De,ft=ue(De,["key","name"]);return z.createElement(xe.Z,{key:Et,className:"mb20",style:{marginRight:148}},z.createElement(re.Z,{flex:1},z.createElement(xe.Z,{align:"middle",justify:"space-between"},z.createElement(je.default.Item,le(oe({},ft),{name:[Kt,"keyword"]}),z.createElement(pe,{onClose:()=>Jt(Kt)})),Ge&&z.createElement(je.default.Item,le(oe({},ft),{name:[Kt,"score"],label:"\u5206\u503C",rules:[{required:!0}],className:Xe.Z.blankInputNumberWrapper}),z.createElement(ze.Z,{className:Xe.Z.blankInput,min:.1,max:100,precision:1,style:{width:"100%"},placeholder:"\u8BF7\u8F93\u5165\u5173\u952E\u8BCD\u5206\u6570"})))))}))),z.createElement("div",{onClick:()=>ke(!0)},z.createElement(je.default.Item,{name:"analysis",label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},z.createElement(mt.x,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:Pe}))))}},77411:function(xt,It,te){"use strict";te.d(It,{tc:function(){return Tn.t},uh:function(){return z.u},rL:function(){return bn},u8:function(){return Ae.u},ZZ:function(){return ie.Z},Wk:function(){return je.W}});var z=te(82482),ie=te(98815),Ae=te(15460),je=te(84635),Ee=te(59301),xe=te(36381),re=te(78241),We=te(95237),Ke=te(43604),ze=te(5871),Xe=te(6848),mt=te(38854),Re=te(69092),ae=te(12893),y=te(54657),a=te(43418),b=te(92832),E=te(49770),x=te(59301),ee=Object.defineProperty,ne=Object.defineProperties,oe=Object.getOwnPropertyDescriptors,le=Object.getOwnPropertySymbols,ue=Object.prototype.hasOwnProperty,ge=Object.prototype.propertyIsEnumerable,Ce=(Lt,Ft,Wt)=>Ft in Lt?ee(Lt,Ft,{enumerable:!0,configurable:!0,writable:!0,value:Wt}):Lt[Ft]=Wt,pe=(Lt,Ft)=>{for(var Wt in Ft||(Ft={}))ue.call(Ft,Wt)&&Ce(Lt,Wt,Ft[Wt]);if(le)for(var Wt of le(Ft))ge.call(Ft,Wt)&&Ce(Lt,Wt,Ft[Wt]);return Lt},Be=(Lt,Ft)=>ne(Lt,oe(Ft)),de=(Lt,Ft)=>{var Wt={};for(var fn in Lt)ue.call(Lt,fn)&&Ft.indexOf(fn)<0&&(Wt[fn]=Lt[fn]);if(Lt!=null&&le)for(var fn of le(Lt))Ft.indexOf(fn)<0&&ge.call(Lt,fn)&&(Wt[fn]=Lt[fn]);return Wt};const et=({value:Lt,onChange:Ft})=>{const Wt=un=>{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:Re.Z.modal,onOk:()=>{const Hn=[...Lt];Hn.splice(un,1),Ft(Hn)}})},fn=()=>{const un=[...Lt];un.push(""),Ft(un)};return x.createElement(We.Z,{className:"ml20"},x.createElement(Ke.Z,{flex:1},Lt==null?void 0:Lt.map((un,Hn)=>x.createElement(We.Z,{key:`${un}_${Hn}`,align:"middle",className:"mb20"},x.createElement(b.default.TextArea,{style:{flex:1,minHeight:44},defaultValue:un,autoSize:{maxRows:3},maxLength:1e3,onBlur:rt=>{const Pt=[...Lt],an=rt.target.value.trim();Pt[Hn]=an,Ft(Pt)}}),x.createElement(Xe.Z,{title:"\u5220\u9664"},x.createElement(ae.Z,{className:Re.Z.deleteIcon,style:{marginLeft:15,visibility:Hn>0?"visible":"hidden"},onClick:()=>Wt(Hn)}))))),x.createElement(Ke.Z,null,x.createElement("div",{className:`${Re.Z.addBtn}`,onClick:()=>{fn()}},"\u65B0\u589E\u7B54\u6848")))},Oe=({value:Lt=!0,onChange:Ft})=>x.createElement(E.Z,{checked:!Lt,onChange:Wt=>{Ft(!Wt)}}),Ge="\u2581",Pe=({questionTitlePlaceholder:Lt,form:Ft,name:Wt,scoreByBlank:fn=!1,answerKey:un,titleKey:Hn="name",analysisKey:rt="analysis",isOrdered:Pt="is_ordered"})=>{var an,Pn;const[Fe,ht]=(0,Ee.useState)(!1),Rt=(Ct,$t)=>{const Zt=$t.line;let xn=0;for(let mn=0;mn<Zt;mn++)xn+=Ct.getLine(mn).split(Ge).length-1;const Cn=Ct.getLine(Zt).substring(0,$t.ch);return xn+=Cn.split(Ge).length-1,xn},zt=(Ct,$t,Zt,xn)=>{const Cn=Ct.getRange($t.from,$t.to);let mn=0;if($t.text.forEach(Mn=>{mn+=Mn.split(Ge).length-1}),$t.origin!=="setValue"){if(Cn&&Cn.indexOf(Ge)!==-1){const Mn=Cn.split(Ge).length-1,na=Rt(Ct,$t.from);if(console.log(`\u5220\u9664${Mn}\u4E2A\uFF0C \u524D\u9762\u6709${na}\u4E2A\uFF0C\u65B0\u589E${mn}\u4E2A`),Mn>1){const sn=Array.from({length:Mn},(Un,oa)=>na+oa);xn(sn)}else xn(na)}else if(mn>0){const Mn=Rt(Ct,$t.from);console.log(`\u65B0\u589E${mn}\u4E2A\uFF0C\u4E4B\u524D\u6709${Mn}\u4E2A`),Zt(mn,Mn)}}},en=()=>{const Ct=Ft.getFieldValue(["sub_item_banks",...un]);Ft.setFieldValue(["sub_item_banks",...un],Ct==null?void 0:Ct.map(($t,Zt)=>Be(pe({},$t),{position:Zt+1})))},hn=(0,Ee.useRef)(),ln=(Ct,$t)=>{for(let Zt=0;Zt<Ct;Zt++)hn.current({position:null,answer_text:[""]},$t+Zt);en()},qe=(0,Ee.useRef)(),tt=Ct=>{qe.current(Ct),en()},Ze=(Pn=(an=Ft.getFieldValue("sub_item_banks"))==null?void 0:an[un==null?void 0:un[0]])==null?void 0:Pn[un==null?void 0:un[1]];return(0,Ee.useEffect)(()=>{console.log("========",Ft.getFieldsValue())},[Ft]),x.createElement("div",{className:Re.Z.wrap},x.createElement("div",{className:Re.Z.questionTitleEditorWrap},x.createElement(re.default.Item,{label:"\u9898\u5E72",name:Hn,labelCol:{span:24},rules:[{required:!0}]},x.createElement(y.h,{scrollId:"name",watch:!0,height:140,placeholder:Lt,showNullButton:!0,onCMBeforeChange:(Ct,$t)=>{zt(Ct,$t,ln,tt)}}))),x.createElement(re.default.List,{name:un,rules:[{validator(Ct,$t){if(($t==null?void 0:$t.length)===0)return Promise.reject(new Error("\u8BF7\u5148\u5728\u9898\u5E72\u4E2D\u63D2\u5165\u586B\u7A7A\u9879"));for(const Zt of $t){const{answer_text:xn}=Zt||{};if(xn!=null&&xn.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()}}]},(Ct,{add:$t,remove:Zt},{errors:xn})=>(hn.current=$t,qe.current=Zt,x.createElement(x.Fragment,null,x.createElement(re.default.Item,{label:x.createElement("span",null,"\u586B\u7A7A\u9879\u7B54\u6848",!(Ct!=null&&Ct.length)&&x.createElement("span",{style:{color:"#E99237"}},"\uFF08\u8BF7\u5148\u5728\u9898\u5E72\u4E2D\u63D2\u5165\u586B\u7A7A\u9879\uFF09")),required:!0,labelCol:{span:24}}),Ct.map((Cn,mn)=>{var Mn=Cn,{key:na,name:sn}=Mn,Un=de(Mn,["key","name"]);return x.createElement(We.Z,{align:"top",key:na},x.createElement(Ke.Z,{className:`${Re.Z.blankIndex} pt5`},"\u586B\u7A7A\u9879",mn+1),x.createElement(Ke.Z,{flex:1},x.createElement(We.Z,{align:"top",justify:"space-between"},x.createElement(Ke.Z,{flex:1},x.createElement(re.default.Item,Be(pe({},Un),{name:[sn,"answer_text"],noStyle:!0}),x.createElement(et,null))),fn&&x.createElement(Ke.Z,{flex:"224px"},x.createElement(re.default.Item,Be(pe({},Un),{name:[sn,"score"],label:"\u5206\u503C",rules:[{required:!0}],className:Re.Z.blankInputNumberWrapper}),x.createElement(ze.Z,{className:Re.Z.blankInput,min:.1,max:100,precision:1,style:{width:"100%"},placeholder:"\u6309\u7A7A\u7ED9\u5206\u8BF7\u8F93\u5165\u5206\u503C"})))),x.createElement(re.default.Item,Be(pe({},Un),{name:[sn,"position"],noStyle:!0}),x.createElement(b.default,{type:"hidden"}))))})))),x.createElement(We.Z,{align:"middle"},x.createElement(re.default.Item,{name:[Wt,"downcase"],valuePropName:"checked"},x.createElement(E.Z,null)),x.createElement(Ke.Z,{className:"ml10"},"\u5224\u5206\u65F6\u5FFD\u7565\u7B54\u6848\u4E2D\u7684\u5B57\u6BCD\u5927\u5C0F\u5199")),x.createElement(We.Z,{align:"middle"},x.createElement(re.default.Item,{name:[Wt,"no_space"],valuePropName:"checked"},x.createElement(E.Z,null)),x.createElement(Ke.Z,{className:"ml10"},"\u5224\u5206\u65F6\u5FFD\u7565\u7B54\u6848\u4E2D\u7684\u7A7A\u683C")),(Ze==null?void 0:Ze.length)>1&&x.createElement(We.Z,{align:"middle",className:(Ze==null?void 0:Ze.length)>1?"mb30":`${Re.Z.hide}`},x.createElement(re.default.Item,{name:Pt},x.createElement(Oe,null)),x.createElement(Ke.Z,{className:"ml10"},"\u5141\u8BB8\u5B66\u751F\u6BCF\u4E2A\u586B\u7A7A\u7684\u7B54\u6848\u4E0E\u6807\u51C6\u7B54\u6848\u7684\u987A\u5E8F\u4E0D\u4E00\u81F4")),x.createElement("div",{className:"mt30",onClick:()=>ht(!0)},x.createElement(re.default.Item,{name:rt,label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},x.createElement(y.x,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:Fe}))))};var ke=te(59301),ot=Object.defineProperty,Ue=Object.defineProperties,it=Object.getOwnPropertyDescriptors,Mt=Object.getOwnPropertySymbols,_e=Object.prototype.hasOwnProperty,Tt=Object.prototype.propertyIsEnumerable,Jt=(Lt,Ft,Wt)=>Ft in Lt?ot(Lt,Ft,{enumerable:!0,configurable:!0,writable:!0,value:Wt}):Lt[Ft]=Wt,Me=(Lt,Ft)=>{for(var Wt in Ft||(Ft={}))_e.call(Ft,Wt)&&Jt(Lt,Wt,Ft[Wt]);if(Mt)for(var Wt of Mt(Ft))Tt.call(Ft,Wt)&&Jt(Lt,Wt,Ft[Wt]);return Lt},De=(Lt,Ft)=>Ue(Lt,it(Ft)),Et=(Lt,Ft)=>{var Wt={};for(var fn in Lt)_e.call(Lt,fn)&&Ft.indexOf(fn)<0&&(Wt[fn]=Lt[fn]);if(Lt!=null&&Mt)for(var fn of Mt(Lt))Ft.indexOf(fn)<0&&Tt.call(Lt,fn)&&(Wt[fn]=Lt[fn]);return Wt};const Kt={\u6B63\u786E:"T",\u9519\u8BEF:"F"},ft=({value:Lt,onChange:Ft,form:Wt,choiceKey:fn})=>{const un=(Lt==null?void 0:Lt.is_answer)===1,Hn=Lt==null?void 0:Lt.choice_text,rt=()=>{var Pt;const an=(Pt=Wt==null?void 0:Wt.getFieldValue(["sub_item_banks",...fn]))==null?void 0:Pt.map(Pn=>({choice_text:Pn.choice_text,is_answer:0}));Wt==null||Wt.setFieldValue(["sub_item_banks",...fn],an),Ft(De(Me({},Lt),{is_answer:1}))};return ke.createElement(We.Z,{className:Re.Z.choiceWrap,align:"middle",wrap:!1},ke.createElement(Ke.Z,{onClick:rt,className:`${Re.Z.choiceIndex} ${Re.Z.judgementIndex} ${un?Re.Z.activeAnswer:""}`},Kt[Hn]),ke.createElement(Ke.Z,{flex:1,className:`${Re.Z.editorWrap} ml15`},ke.createElement("div",{className:`${Re.Z.inputBorder} ${Re.Z.placeholder} ${un?Re.Z.activeJudgementAnswer:""}`},Hn)),ke.createElement(Ke.Z,{flex:"0 0 auto",className:"ml15"},ke.createElement("div",{onClick:rt,className:`${Re.Z.setAnswerBtn} ${un?Re.Z.activeAnswer:""}`},un?"\u6B63\u786E\u7B54\u6848":"\u8BBE\u4E3A\u7B54\u6848")))},jt=({questionTitlePlaceholder:Lt,choiceKey:Ft="choices",form:Wt,titleKey:fn="name",analysisKey:un="analysis"})=>{const[Hn,rt]=(0,Ee.useState)(!1);return ke.createElement("div",{className:Re.Z.wrap},ke.createElement("div",{className:Re.Z.questionTitleEditorWrap},ke.createElement(re.default.Item,{label:"\u9898\u5E72",name:fn,labelCol:{span:24},rules:[{required:!0}]},ke.createElement(y.h,{scrollId:"name",watch:!0,height:140,placeholder:Lt}))),ke.createElement(re.default.Item,{label:"\u7B54\u6848\u9009\u9879",required:!0,labelCol:{span:24}},ke.createElement(re.default.List,{name:Ft,rules:[{validator(Pt,an){return an.some(Fe=>(Fe==null?void 0:Fe.is_answer)===1)?Promise.resolve():Promise.reject(new Error("\u8BF7\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848"))}}]},Pt=>ke.createElement("div",{id:"choices",style:{display:"flex",flexDirection:"column",gap:"20px"}},Pt.map(an=>{var Pn=an,{key:Fe,name:ht}=Pn,Rt=Et(Pn,["key","name"]);return ke.createElement(re.default.Item,De(Me({},Rt),{key:Fe,name:ht,noStyle:!0}),ke.createElement(ft,{form:Wt,choiceKey:Ft}))})))),ke.createElement("div",{className:"mt30",onClick:()=>rt(!0)},ke.createElement(re.default.Item,{name:un,label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},ke.createElement(y.x,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:Hn}))))};var Le=te(8591),Xt=te(12563),vn=te(89389),St=te(61485),ut=Object.defineProperty,Ve=Object.defineProperties,Te=Object.getOwnPropertyDescriptors,he=Object.getOwnPropertySymbols,se=Object.prototype.hasOwnProperty,Ie=Object.prototype.propertyIsEnumerable,dt=(Lt,Ft,Wt)=>Ft in Lt?ut(Lt,Ft,{enumerable:!0,configurable:!0,writable:!0,value:Wt}):Lt[Ft]=Wt,Se=(Lt,Ft)=>{for(var Wt in Ft||(Ft={}))se.call(Ft,Wt)&&dt(Lt,Wt,Ft[Wt]);if(he)for(var Wt of he(Ft))Ie.call(Ft,Wt)&&dt(Lt,Wt,Ft[Wt]);return Lt},ve=(Lt,Ft)=>Ve(Lt,Te(Ft)),Je=(Lt,Ft)=>{var Wt={};for(var fn in Lt)se.call(Lt,fn)&&Ft.indexOf(fn)<0&&(Wt[fn]=Lt[fn]);if(Lt!=null&&he)for(var fn of he(Lt))Ft.indexOf(fn)<0&&Ie.call(Lt,fn)&&(Wt[fn]=Lt[fn]);return Wt};const Ne=Lt=>{var Ft=Lt,{value:Wt,onChange:fn}=Ft,un=Je(Ft,["value","onChange"]);const Hn=rt=>{fn([rt])};return Ee.createElement(vn.Z,ve(Se({},un),{defaultValue:Wt==null?void 0:Wt[0],onChange:Hn}))},ye=Lt=>{if(!Lt)return!1;let Ft=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 Lt==="|"?(Le.ZP.warning("\u5173\u952E\u8BCD\u4E0D\u80FD\u53EA\u8F93\u5165\u4E00\u4E2A\u201C|\u201D\u5B57\u7B26\uFF01"),!1):!0},nt=({value:Lt=[],onClose:Ft})=>Ee.createElement(Xt.default,{closable:!0,onClose:Ft,className:Re.Z.keywordTag},Ee.createElement("pre",{style:{margin:"0px",whiteSpace:"pre-wrap"}},Lt.join(" \u6216 "))),_t=({questionTitlePlaceholder:Lt,form:Ft,showKeywords:Wt,isMustKeyWords:fn=Wt,titleKey:un="name",analysisKey:Hn="analysis",answerTexts:rt="answer_texts",keywords:Pt="keywords",useKeywords:an="use_keywords",indexs:Pn})=>{const[Fe,ht]=(0,Ee.useState)(!1),[Rt,zt]=(0,Ee.useState)(""),[en,hn]=(0,Ee.useState)(!1),ln=re.default.useWatch("question_score",Ft);return Ee.createElement("div",{className:Re.Z.wrap},Ee.createElement("div",{className:Re.Z.questionTitleEditorWrap},Ee.createElement(re.default.Item,{label:"\u9898\u5E72",name:un,labelCol:{span:24},rules:[{required:!0}]},Ee.createElement(y.h,{scrollId:"name",watch:!0,height:140,placeholder:Lt}))),Ee.createElement(re.default.Item,{label:"\u53C2\u8003\u7B54\u6848",name:rt,labelCol:{span:24}},Ee.createElement(Ne,{watch:!0,height:140,placeholder:"\u8BF7\u7F16\u8F91\u53C2\u8003\u7B54\u6848\uFF08\u975E\u5FC5\u586B\uFF09"})),Wt&&!fn&&Ee.createElement(re.default.Item,{hidden:!0,name:an,valuePropName:"checked"},Ee.createElement(E.Z,{defaultChecked:!0})),Wt&&fn&&Ee.createElement(We.Z,{align:"middle",className:"mb30"},Ee.createElement(re.default.Item,{name:an,valuePropName:"checked"},Ee.createElement(E.Z,{onChange:()=>{var qe,tt,Ze,Ct,$t,Zt;console.log(Ft.getFieldsValue()),hn((Ze=(tt=(qe=Ft.getFieldsValue())==null?void 0:qe.sub_item_banks)==null?void 0:tt[Pn])==null?void 0:Ze.use_keywords),console.log((Zt=($t=(Ct=Ft.getFieldsValue())==null?void 0:Ct.sub_item_banks)==null?void 0:$t[Pn])==null?void 0:Zt.use_keywords),console.log(en)}})),Ee.createElement(Ke.Z,{className:"ml10"},"\u5F00\u542F\u5173\u952E\u8BCD\u81EA\u52A8\u5224\u5206"),Ee.createElement(Ke.Z,null,Ee.createElement(Xe.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"},Ee.createElement(St.Z,{style:{color:"#3061D0",marginLeft:6,cursor:"pointer"}})))),(en||!fn)&&Ee.createElement(re.default.List,{name:Pt,rules:[{validator(qe,tt){return fn?tt!=null&&tt.length?(tt==null?void 0:tt.reduce((Ct,$t)=>Ct+$t.score,0))>parseFloat(ln)?Promise.reject(new Error("\u6240\u6709\u5173\u952E\u8BCD\u7684\u5206\u503C\u4E4B\u548C\u5FC5\u987B\u5C0F\u4E8E\u7B49\u4E8E\u8BE5\u5C0F\u9898\u7684\u5206\u503C")):Promise.resolve():Promise.reject(new Error("\u8BF7\u8BBE\u7F6E\u5224\u5206\u5173\u952E\u8BCD")):Promise.resolve()}}]},(qe,{add:tt,remove:Ze})=>Ee.createElement(Ee.Fragment,null,Ee.createElement("div",{className:`${Re.Z.title} mb10`},fn?"\u5173\u952E\u8BCD":Ee.createElement("span",{style:{color:"#9096A3"}},"\u5224\u5206\u5173\u952E\u8BCD")),Ee.createElement(We.Z,{align:"middle",className:"font14 mb30"},Ee.createElement(Ke.Z,{flex:1},Ee.createElement(b.default,{value:Rt,onChange:Ct=>{zt(Ct.target.value)},maxLength:50,allowClear:!0,onPressEnter:Ct=>{var $t,Zt,xn,Cn;const mn=`${($t=Ct.target)==null?void 0:$t.value}`,Mn=(xn=(Zt=mn==null?void 0:mn.split("|"))==null?void 0:Zt.filter(Un=>!!Un))==null?void 0:xn.map(Un=>Un==null?void 0:Un.trim()),na=Ft.getFieldValue(["sub_item_banks",...Pt]),sn=((Cn=na==null?void 0:na.map(Un=>Un==null?void 0:Un.keyword))==null?void 0:Cn.flat())||[];for(const Un of Mn)if(sn.includes(Un)){Le.ZP.error("\u4E3A\u907F\u514D\u5224\u5206\u9519\u8BEF\uFF0C\u8BF7\u52FF\u8BBE\u7F6E\u76F8\u540C\u7684\u5173\u952E\u8BCD");return}ye(mn)&&(tt({keyword:Mn,score:1}),zt(""))},className:Re.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"})),Ee.createElement(Ke.Z,{flex:"148px",style:{textAlign:"right",color:"#e99237"}},"\u201C\u56DE\u8F66\u952E\u201D\u4FDD\u5B58\u5173\u952E\u8BCD")),qe.map(Ct=>{var $t=Ct,{key:Zt,name:xn}=$t,Cn=Je($t,["key","name"]);return Ee.createElement(We.Z,{key:Zt,className:"mb20",style:{marginRight:148}},Ee.createElement(Ke.Z,{flex:1},Ee.createElement(We.Z,{align:"middle",justify:"space-between"},Ee.createElement(re.default.Item,ve(Se({},Cn),{name:[xn,"keyword"]}),Ee.createElement(nt,{onClose:()=>Ze(xn)})),fn&&Ee.createElement(re.default.Item,ve(Se({},Cn),{name:[xn,"score"],label:"\u5206\u503C",rules:[{required:!0}],className:Re.Z.blankInputNumberWrapper}),Ee.createElement(ze.Z,{className:Re.Z.blankInput,min:.1,max:100,precision:1,style:{width:"100%"},placeholder:"\u8BF7\u8F93\u5165\u5173\u952E\u8BCD\u5206\u6570"})))))}))),Ee.createElement("div",{onClick:()=>ht(!0)},Ee.createElement(re.default.Item,{name:Hn,label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},Ee.createElement(y.x,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:Fe}))))};var gt=te(59301),Gt=Object.defineProperty,Ot=Object.defineProperties,Ut=Object.getOwnPropertyDescriptors,be=Object.getOwnPropertySymbols,st=Object.prototype.hasOwnProperty,pt=Object.prototype.propertyIsEnumerable,ct=(Lt,Ft,Wt)=>Ft in Lt?Gt(Lt,Ft,{enumerable:!0,configurable:!0,writable:!0,value:Wt}):Lt[Ft]=Wt,Nt=(Lt,Ft)=>{for(var Wt in Ft||(Ft={}))st.call(Ft,Wt)&&ct(Lt,Wt,Ft[Wt]);if(be)for(var Wt of be(Ft))pt.call(Ft,Wt)&&ct(Lt,Wt,Ft[Wt]);return Lt},Vt=(Lt,Ft)=>Ot(Lt,Ut(Ft)),on=(Lt,Ft)=>{var Wt={};for(var fn in Lt)st.call(Lt,fn)&&Ft.indexOf(fn)<0&&(Wt[fn]=Lt[fn]);if(Lt!=null&&be)for(var fn of be(Lt))Ft.indexOf(fn)<0&&pt.call(Lt,fn)&&(Wt[fn]=Lt[fn]);return Wt};const{Panel:Qt}=xe.default,bn=({questionTitlePlaceholder:Lt,choiceKey:Ft,form:Wt,withScore:fn})=>{const[un,Hn]=(0,Ee.useState)([]),rt=Pt=>{Hn(Pt)};return gt.createElement("div",{className:Re.Z.wrap},gt.createElement("div",{className:Re.Z.questionTitleEditorWrap},gt.createElement(re.default.Item,{label:"\u9898\u5E72",name:"name",labelCol:{span:24},rules:[{required:!0}]},gt.createElement(y.h,{scrollId:"name",watch:!0,height:140,placeholder:Lt}))),gt.createElement(re.default.Item,{label:"\u5C0F\u9898",required:!0,labelCol:{span:24}}),gt.createElement(re.default.List,{name:"sub_item_banks",rules:[{validator(Pt,an){return an?Promise.resolve():Promise.reject(new Error("\u8BF7\u6DFB\u52A0\u5C0F\u9898"))}}]},(Pt,{add:an,remove:Pn,move:Fe})=>{const ht=Wt.getFieldValue("sub_item_banks");return gt.createElement(gt.Fragment,null,gt.createElement(xe.default,{className:Pt.length>0?Re.Z.collapseWrapper:"",bordered:!1,activeKey:un,onChange:rt,expandIcon:({isActive:Rt})=>gt.createElement("i",{className:`iconfont icon-weizhankai ${Rt?Re.Z.open:Re.Z.close}`,style:{fontSize:14,transition:"all .2s"}})},Pt.map((Rt,zt)=>{var en=Rt,{key:hn,name:ln}=en,qe=on(en,["key","name"]),tt,Ze,Ct,$t,Zt,xn,Cn,mn,Mn,na;return gt.createElement(Qt,{className:Re.Z.panel,forceRender:!0,header:gt.createElement("div",{className:Re.Z.panelHeader},"\u7B2C",zt+1,"\u5C0F\u9898",gt.createElement("span",null,"\uFF08",((tt=ht==null?void 0:ht[ln])==null?void 0:tt.item_type)=="SINGLE"?"\u5355\u9009\u9898":((Ze=ht==null?void 0:ht[ln])==null?void 0:Ze.item_type)=="MULTIPLE"?"\u591A\u9009\u9898":((Ct=ht==null?void 0:ht[ln])==null?void 0:Ct.item_type)=="COMPLETION"?"\u586B\u7A7A\u9898":(($t=ht==null?void 0:ht[ln])==null?void 0:$t.item_type)=="JUDGMENT"?"\u5224\u65AD\u9898":"\u7B80\u7B54\u9898","\uFF09")),key:ln,extra:gt.createElement(We.Z,{align:"middle",onClick:sn=>sn.stopPropagation()},fn&&gt.createElement(Ke.Z,null,gt.createElement(re.default.Item,Vt(Nt({},qe),{rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5C0F\u9898\u5206\u503C"}],label:"\u5206\u503C",name:[ln,"question_score"],className:Re.Z.blankInputNumberWrapper}),gt.createElement(ze.Z,{className:Re.Z.blankInput,placeholder:"\u8BF7\u8F93\u5165\u5F53\u524D\u5C0F\u9898\u5206\u6570",min:.1,precision:1,max:100,style:{width:150}}))),gt.createElement(Ke.Z,null,gt.createElement(We.Z,{align:"middle",className:"pl40",justify:"end"},zt!==0&&gt.createElement("div",{onClick:()=>{var sn;Fe(zt,zt-1);const Un=(sn=Wt.getFieldValue("sub_item_banks"))==null?void 0:sn.map((oa,ca)=>(Pt.map((la,$e)=>{ca===$e&&(oa.q_position=Number(la.name)+1)}),oa));Wt.setFieldValue("sub_item_banks",Un)}},gt.createElement(Xe.Z,{title:"\u4E0A\u79FB"},gt.createElement("i",{className:"iconfont icon-shangyi3 c-grey-999 primary-hover"}))),zt<Pt.length-1&&gt.createElement("div",{onClick:()=>{var sn;Fe(zt,zt+1);const Un=(sn=Wt.getFieldValue("sub_item_banks"))==null?void 0:sn.map((oa,ca)=>(Pt.map((la,$e)=>{ca===$e&&(oa.q_position=Number(la.name)+1)}),oa));Wt.setFieldValue("sub_item_banks",Un)},className:zt===0?"":"ml15"},gt.createElement(Xe.Z,{title:"\u4E0B\u79FB"},gt.createElement("i",{className:"iconfont icon-xiayi3 c-grey-999 primary-hover"}))))),gt.createElement(Ke.Z,null,gt.createElement(Xe.Z,{title:"\u5220\u9664"},gt.createElement(ae.Z,{className:`${Re.Z.deleteIcon} ml15`,onClick:()=>Pn(ln)}))))},gt.createElement(re.default.Item,Vt(Nt({},qe),{name:ln}),(((Zt=ht==null?void 0:ht[ln])==null?void 0:Zt.item_type)=="SINGLE"||((xn=ht==null?void 0:ht[ln])==null?void 0:xn.item_type)=="MULTIPLE")&&gt.createElement(z.u,{questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u9009\u62E9\u9898\u9898\u5E72\u5185\u5BB9",allowChangeMode:((Cn=ht==null?void 0:ht[ln])==null?void 0:Cn.item_type)=="MULTIPLE",form:Wt,choiceKey:[ln,"choices"],titleKey:[ln,"name"],analysisKey:[ln,"analysis"],choiceOptionsPath:["sub_item_banks",ln,"choices"],choiceTextKey:"choice_text",answerKey:"is_answer"}),((mn=ht==null?void 0:ht[ln])==null?void 0:mn.item_type)=="COMPLETION"&&gt.createElement(Pe,{form:Wt,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u9898\u5E72\u5E76\u8BBE\u7F6E\u586B\u7A7A\u9879",scoreByBlank:!1,name:ln,titleKey:[ln,"name"],analysisKey:[ln,"analysis"],isOrdered:[ln,"is_ordered"],answerKey:[ln,"standard_answers"]}),((Mn=ht==null?void 0:ht[ln])==null?void 0:Mn.item_type)=="JUDGMENT"&&gt.createElement(jt,{form:Wt,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u5224\u65AD\u9898\u9898\u5E72\u5185\u5BB9",titleKey:[ln,"name"],analysisKey:[ln,"analysis"],choiceKey:[ln,"choices"]}),((na=ht==null?void 0:ht[ln])==null?void 0:na.item_type)=="SUBJECTIVE"&&gt.createElement(_t,{showKeywords:!0,isMustKeyWords:!1,form:Wt,titleKey:[ln,"name"],analysisKey:[ln,"analysis"],answerTexts:[ln,"answer_texts"],useKeywords:[ln,"use_keywords"],keywords:[ln,"keywords"],indexs:ln,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u7B80\u7B54\u9898\u9898\u5E72\u5185\u5BB9"})))})),Pt.length<20&&gt.createElement(mt.Z,{menu:{items:[{label:gt.createElement("div",{onClick:()=>{an({name:"",choices:Array.from({length:4},()=>({choice_text:"",is_answer:0})),analysis:"",item_type:"SINGLE"}),Hn([Pt==null?void 0:Pt.length,...un])}},"\u5355\u9009\u9898"),key:"1",show:!0},{label:gt.createElement("div",{onClick:()=>{an({name:"",choices:Array.from({length:4},()=>({choice_text:"",is_answer:0})),analysis:"",item_type:"MULTIPLE"}),Hn([Pt==null?void 0:Pt.length,...un])}},"\u591A\u9009\u9898"),key:"2",show:!0},{label:gt.createElement("div",{onClick:()=>{an({name:"",choices:[{choice_text:"\u6B63\u786E",is_answer:0},{choice_text:"\u9519\u8BEF",is_answer:0}],analysis:"",item_type:"JUDGMENT"}),Hn([Pt==null?void 0:Pt.length,...un])}},"\u5224\u65AD\u9898"),key:"3",show:!0},{label:gt.createElement("div",{onClick:()=>{an({name:"",analysis:"",is_ordered:!0,standard_answers:[],item_type:"COMPLETION",downcase:!0,no_space:!0}),Hn([Pt==null?void 0:Pt.length,...un])}},"\u586B\u7A7A\u9898"),key:"4",show:!0},{label:gt.createElement("div",{onClick:()=>{an({name:"",answer_texts:[],keywords:[],use_keywords:!0,analysis:"",item_type:"SUBJECTIVE"}),Hn([Pt==null?void 0:Pt.length,...un])}},"\u7B80\u7B54\u9898"),key:"5",show:!0}].filter(Rt=>Rt.show).map(Rt=>({label:Rt.label,key:Rt.key}))}},gt.createElement("div",{className:`${Re.Z.addBtn}`},"\u6DFB\u52A0\u5C0F\u9898")))}))};var Tn=te(51110)},44905:function(xt,It,te){"use strict";te.d(It,{h:function(){return ne}});var z=te(59301),ie=te(57809),Ae=te(78241),je=te(3113),Ee=te(89780),xe=te.n(Ee),re=te(66543),We=te(59598),Ke=Object.defineProperty,ze=Object.defineProperties,Xe=Object.getOwnPropertyDescriptors,mt=Object.getOwnPropertySymbols,Re=Object.prototype.hasOwnProperty,ae=Object.prototype.propertyIsEnumerable,y=(oe,le,ue)=>le in oe?Ke(oe,le,{enumerable:!0,configurable:!0,writable:!0,value:ue}):oe[le]=ue,a=(oe,le)=>{for(var ue in le||(le={}))Re.call(le,ue)&&y(oe,ue,le[ue]);if(mt)for(var ue of mt(le))ae.call(le,ue)&&y(oe,ue,le[ue]);return oe},b=(oe,le)=>ze(oe,Xe(le));const E=ie.default.Option,x={labelCol:{span:4},wrapperCol:{span:20}},ee={asp:["ASP","vbscript"],actionscript:["ActionScript(3.0)/Flash/Flex","clike"],bash:["Bash/Bat","shell"],css:["CSS","css"],c:["C","clike"],cpp:["C++","clike"],csharp:["C#","clike"],coffeescript:["CoffeeScript","coffeescript"],d:["D","d"],dart:["Dart","dart"],delphi:["Delphi/Pascal","pascal"],erlang:["Erlang","erlang"],go:["Golang","go"],groovy:["Groovy","groovy"],html:["HTML","text/html"],java:["Java","clike"],json:["JSON","text/json"],javascript:["Javascript","javascript"],lua:["Lua","lua"],less:["LESS","css"],markdown:["Markdown","gfm"],"objective-c":["Objective-C","clike"],php:["PHP","php"],perl:["Perl","perl"],python:["Python","python"],r:["R","r"],rst:["reStructedText","rst"],ruby:["Ruby","ruby"],sql:["SQL","sql"],sass:["SASS/SCSS","sass"],shell:["Shell","shell"],scala:["Scala","clike"],swift:["Swift","clike"],vb:["VB/VBScript","vb"],xml:["XML","text/xml"],yaml:["YAML","yaml"]};It.Z=({callback:oe,onCancel:le})=>{const[ue,ge]=(0,z.useState)("python");function Ce(Be){ge(ee[Be][1])}function pe(Be){oe(Be)}return z.createElement(Ae.default,b(a({},x),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:pe,style:{width:500}}),z.createElement(Ae.default.Item,{label:"\u4EE3\u7801\u8BED\u8A00",name:"language"},z.createElement(ie.default,{getPopupContainer:Be=>Be.parentNode,onChange:Ce},Object.keys(ee).map(Be=>z.createElement(E,{key:Be,value:Be},ee[Be][0])))),z.createElement(Ae.default.Item,{label:"\u4EE3\u7801\u5185\u5BB9",name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EE3\u7801\u5185\u5BB9"}]},z.createElement(ne,{mode:ue})),z.createElement("div",{className:"flex-container flex-end"},z.createElement(je.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),z.createElement(je.ZP,{type:"ghost",onClick:le},"\u53D6\u6D88")))};function ne({value:oe,onChange:le,mode:ue,options:ge={}}){const Ce=(0,z.useRef)(),[pe,Be]=(0,z.useState)();return(0,z.useEffect)(()=>{if(pe){let de=function(et){const Oe=et.getValue();le&&le(Oe)};return pe.on("change",de),()=>{pe.off("change",de)}}},[pe,le]),(0,z.useEffect)(()=>{pe&&pe.setOption("mode",ue)},[pe,ue]),(0,z.useEffect)(()=>{pe&&(oe!==pe.getValue()||oe==="")&&setTimeout(()=>{pe.setValue(oe||"")},300)},[pe,oe]),(0,z.useEffect)(()=>{if(Ce.current&&!pe){const de=xe().fromTextArea(Ce.current,a({mode:ue,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},ge));Be(de)}},[Ce.current,pe]),z.createElement("div",{className:"my-codemirror-container"},z.createElement("textarea",{ref:Ce}))}},89389:function(xt,It,te){"use strict";te.d(It,{Z:function(){return ln}});var z=te(59301),ie=te(89780),Ae=te.n(ie),je=te(76374),Ee=te(66543),xe=te(6313),re=te(25717),We=te(99498),Ke=te(25419),ze=te(67549),Xe=te(7664),mt=({value:qe="",className:tt,showTextOnly:Ze,showLines:Ct,style:$t={}})=>{const Zt=(0,z.useMemo)(()=>"",[qe]);return z.createElement(z.Fragment,null,z.createElement("div",{dangerouslySetInnerHTML:{__html:Zt}}))},Re=te(59301),ae=Object.defineProperty,y=Object.defineProperties,a=Object.getOwnPropertyDescriptors,b=Object.getOwnPropertySymbols,E=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable,ee=(qe,tt,Ze)=>tt in qe?ae(qe,tt,{enumerable:!0,configurable:!0,writable:!0,value:Ze}):qe[tt]=Ze,ne=(qe,tt)=>{for(var Ze in tt||(tt={}))E.call(tt,Ze)&&ee(qe,Ze,tt[Ze]);if(b)for(var Ze of b(tt))x.call(tt,Ze)&&ee(qe,Ze,tt[Ze]);return qe},oe=(qe,tt)=>y(qe,a(tt));let le=[{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 ue({onActionCallback:qe,title:tt,icon:Ze,actionName:Ct,className:$t="",children:Zt}){function xn(){qe(Ct)}return Re.createElement("a",{title:tt,className:$t,onClick:xn},Re.createElement("i",{className:`${Ze}`}),Zt)}var ge=({watch:qe,showNullButton:tt,showNullProgramButton:Ze,onActionCallback:Ct,fullScreen:$t,insertTemp:Zt,hidetoolBar:xn,extraUse:Cn})=>{const mn=[...le,{title:`${qe?"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8":"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"}`,icon:`${qe?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return Re.createElement("ul",{className:"markdown-toolbar-container"},!xn&&mn.map((Mn,na)=>Re.createElement("li",{key:na},Mn.actionName?Re.createElement(ue,oe(ne({},Mn),{onActionCallback:Ct})):Re.createElement("span",{className:"v-line"}))),tt?Re.createElement("li",null,Re.createElement(ue,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-null-ch",onActionCallback:Ct},Re.createElement("span",{className:"fill-tip"},"\u70B9\u51FB\u63D2\u5165\b\u586B\u7A7A\u9879"))):null,Ze?Re.createElement(Re.Fragment,null,Re.createElement("li",null,Re.createElement(ue,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-signal",onActionCallback:Ct},Re.createElement("span",{className:"fill-tip"},"+\u5355\u884C\u586B\u7A7A\u9879"))),Re.createElement("li",null,Re.createElement(ue,{icon:"md-iconfont icon-uniE900 insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-multiple",onActionCallback:Ct},Re.createElement("span",{className:"fill-tip"},"+\u591A\u884C\u586B\u7A7A\u9879")))):null,Zt&&Re.createElement("li",null,Re.createElement(ue,{icon:"md-iconfont icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:`inster-template-${Zt}`,onActionCallback:Ct},Re.createElement("span",{className:"fill-tip"},"\u63D2\u5165\u6A21\u677F"))),Cn&&Re.createElement("li",null,Cn),Re.createElement("li",{className:"btn-full-screen"},Re.createElement(ue,{icon:`${$t?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:$t?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:Ct})))},Ce=te(75790),pe=te(78241),Be=te(92832),de=te(3113),et=Object.defineProperty,Oe=Object.defineProperties,Ge=Object.getOwnPropertyDescriptors,Pe=Object.getOwnPropertySymbols,ke=Object.prototype.hasOwnProperty,ot=Object.prototype.propertyIsEnumerable,Ue=(qe,tt,Ze)=>tt in qe?et(qe,tt,{enumerable:!0,configurable:!0,writable:!0,value:Ze}):qe[tt]=Ze,it=(qe,tt)=>{for(var Ze in tt||(tt={}))ke.call(tt,Ze)&&Ue(qe,Ze,tt[Ze]);if(Pe)for(var Ze of Pe(tt))ot.call(tt,Ze)&&Ue(qe,Ze,tt[Ze]);return qe},Mt=(qe,tt)=>Oe(qe,Ge(tt));const _e={labelCol:{span:4},wrapperCol:{span:20}};var Tt=({callback:qe,onCancel:tt})=>{function Ze(Ct){qe(Ct)}return z.createElement(pe.default,Mt(it({},_e),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:Ze,style:{width:500}}),z.createElement(pe.default.Item,{label:"\u94FE\u63A5\u5730\u5740",name:"link",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u5730\u5740"}]},z.createElement(Be.default,null)),z.createElement(pe.default.Item,{label:"\u94FE\u63A5\u6807\u9898",name:"title",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u6807\u9898"}]},z.createElement(Be.default,null)),z.createElement("div",{className:"flex-container flex-end"},z.createElement(de.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),z.createElement(de.ZP,{type:"ghost",onClick:tt},"\u53D6\u6D88")))},Jt=te(44905),Me=te(45596),De=te(43418),Et=te(95237),Kt=te(6077),ft=te(59301),jt=({callback:qe,onCancel:tt})=>{const Ze=document.createElement("canvas"),Ct=Ze.getContext("2d");Ze.width=1e3,Ze.height=800,Ct.fillStyle="#ffffff",Ct.fillRect(0,0,Ze.width,Ze.height);const $t=Ze.toDataURL("image/png");return ft.createElement(De.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},ft.createElement(Et.Z,{style:{height:"100vh"}},ft.createElement(Kt.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:$t,visible:!0,title:String(Date.now())},onOk:Zt=>{qe({src:Zt.url})},onClose:tt})))},Le=te(12378);function Xt(){go.CommandHandler.call(this),this._arrowKeyBehavior="move",this._pasteOffset=new go.Point(10,10),this._lastPasteOffset=new go.Point(0,0)}go.Diagram.inherit(Xt,go.CommandHandler),Xt.prototype.canAlignSelection=function(){var qe=this.diagram;return!(qe===null||qe.isReadOnly||qe.isModelReadOnly||qe.selection.count<2)},Xt.prototype.alignLeft=function(){var qe=this.diagram;qe.startTransaction("aligning left");var tt=1/0;qe.selection.each(function(Ze){Ze instanceof go.Link||(tt=Math.min(Ze.position.x,tt))}),qe.selection.each(function(Ze){Ze instanceof go.Link||Ze.move(new go.Point(tt,Ze.position.y))}),qe.commitTransaction("aligning left")},Xt.prototype.alignRight=function(){var qe=this.diagram;qe.startTransaction("aligning right");var tt=-1/0;qe.selection.each(function(Ze){if(!(Ze instanceof go.Link)){var Ct=Ze.actualBounds.x+Ze.actualBounds.width;tt=Math.max(Ct,tt)}}),qe.selection.each(function(Ze){Ze instanceof go.Link||Ze.move(new go.Point(tt-Ze.actualBounds.width,Ze.position.y))}),qe.commitTransaction("aligning right")},Xt.prototype.alignTop=function(){var qe=this.diagram;qe.startTransaction("alignTop");var tt=1/0;qe.selection.each(function(Ze){Ze instanceof go.Link||(tt=Math.min(Ze.position.y,tt))}),qe.selection.each(function(Ze){Ze instanceof go.Link||Ze.move(new go.Point(Ze.position.x,tt))}),qe.commitTransaction("alignTop")},Xt.prototype.alignBottom=function(){var qe=this.diagram;qe.startTransaction("aligning bottom");var tt=-1/0;qe.selection.each(function(Ze){if(!(Ze instanceof go.Link)){var Ct=Ze.actualBounds.y+Ze.actualBounds.height;tt=Math.max(Ct,tt)}}),qe.selection.each(function(Ze){Ze instanceof go.Link||Ze.move(new go.Point(Ze.actualBounds.x,tt-Ze.actualBounds.height))}),qe.commitTransaction("aligning bottom")},Xt.prototype.alignCenterX=function(){var qe=this.diagram,tt=qe.selection.first();if(tt){qe.startTransaction("aligning Center X");var Ze=tt.actualBounds.x+tt.actualBounds.width/2;qe.selection.each(function(Ct){Ct instanceof go.Link||Ct.move(new go.Point(Ze-Ct.actualBounds.width/2,Ct.actualBounds.y))}),qe.commitTransaction("aligning Center X")}},Xt.prototype.alignCenterY=function(){var qe=this.diagram,tt=qe.selection.first();if(tt){qe.startTransaction("aligning Center Y");var Ze=tt.actualBounds.y+tt.actualBounds.height/2;qe.selection.each(function(Ct){Ct instanceof go.Link||Ct.move(new go.Point(Ct.actualBounds.x,Ze-Ct.actualBounds.height/2))}),qe.commitTransaction("aligning Center Y")}},Xt.prototype.alignColumn=function(qe){var tt=this.diagram;tt.startTransaction("align Column"),qe===void 0&&(qe=0),qe=parseFloat(qe);var Ze=new Array;tt.selection.each(function(Cn){Cn instanceof go.Link||Ze.push(Cn)});for(var Ct=0;Ct<Ze.length-1;Ct++){var $t=Ze[Ct],Zt=$t.actualBounds.y+$t.actualBounds.height+qe,xn=Ze[Ct+1];xn.move(new go.Point($t.actualBounds.x,Zt))}tt.commitTransaction("align Column")},Xt.prototype.alignRow=function(qe){qe===void 0&&(qe=0),qe=parseFloat(qe);var tt=this.diagram;tt.startTransaction("align Row");var Ze=new Array;tt.selection.each(function(Cn){Cn instanceof go.Link||Ze.push(Cn)});for(var Ct=0;Ct<Ze.length-1;Ct++){var $t=Ze[Ct],Zt=$t.actualBounds.x+$t.actualBounds.width+qe,xn=Ze[Ct+1];xn.move(new go.Point(Zt,$t.actualBounds.y))}tt.commitTransaction("align Row")},Xt.prototype.canRotate=function(qe){var tt=this.diagram;return!(tt===null||tt.isReadOnly||tt.isModelReadOnly||tt.selection.count<1)},Xt.prototype.rotate=function(qe){qe===void 0&&(qe=90);var tt=this.diagram;tt.startTransaction("rotate "+qe.toString());var tt=this.diagram;tt.selection.each(function(Ze){Ze instanceof go.Link||Ze instanceof go.Group||(Ze.angle+=qe)}),tt.commitTransaction("rotate "+qe.toString())},Xt.prototype.pullToFront=function(){var qe=this.diagram;qe.startTransaction("pullToFront");var tt=new go.Map;qe.selection.each(function(Ze){tt.set(Ze.layer,0)}),tt.iteratorKeys.each(function(Ze){var Ct=0;Ze.parts.each(function($t){if(!$t.isSelected){var Zt=$t.zOrder;isNaN(Zt)?$t.zOrder=0:Ct=Math.max(Ct,Zt)}}),tt.set(Ze,Ct)}),qe.selection.each(function(Ze){Xt._assignZOrder(Ze,tt.get(Ze.layer)+1)}),qe.commitTransaction("pullToFront")},Xt.prototype.pushToBack=function(){var qe=this.diagram;qe.startTransaction("pushToBack");var tt=new go.Map;qe.selection.each(function(Ze){tt.set(Ze.layer,0)}),tt.iteratorKeys.each(function(Ze){var Ct=0;Ze.parts.each(function($t){if(!$t.isSelected){var Zt=$t.zOrder;isNaN(Zt)?$t.zOrder=0:Ct=Math.min(Ct,Zt)}}),tt.set(Ze,Ct)}),qe.selection.each(function(Ze){Xt._assignZOrder(Ze,tt.get(Ze.layer)-1-Xt._findGroupDepth(Ze))}),qe.commitTransaction("pushToBack")},Xt._assignZOrder=function(qe,tt,Ze){Ze===void 0&&(Ze=qe),qe.layer===Ze.layer&&(qe.zOrder=tt),qe instanceof go.Group&&qe.memberParts.each(function(Ct){Xt._assignZOrder(Ct,tt+1,Ze)})},Xt._findGroupDepth=function(qe){if(qe instanceof go.Group){var tt=0;return qe.memberParts.each(function(Ze){tt=Math.max(tt,Xt._findGroupDepth(Ze))}),tt+1}else return 0},Xt.prototype.doKeyDown=function(){var qe=this.diagram;if(qe!==null){var tt=qe.lastInput;if(tt.key==="Up"||tt.key==="Down"||tt.key==="Left"||tt.key==="Right"){var Ze=this.arrowKeyBehavior;if(Ze==="none")return;if(Ze==="select"){this._arrowKeySelect();return}else if(Ze==="move"){this._arrowKeyMove();return}else if(Ze==="tree"){this._arrowKeyTree();return}}go.CommandHandler.prototype.doKeyDown.call(this)}},Xt.prototype._getAllParts=function(){var qe=new Array;return this.diagram.nodes.each(function(tt){qe.push(tt)}),this.diagram.parts.each(function(tt){qe.push(tt)}),qe},Xt.prototype._arrowKeyMove=function(){var qe=this.diagram,tt=qe.lastInput,Ze=0,Ct=0;if(tt.control||tt.meta)Ze=1,Ct=1;else if(qe.grid!==null){var $t=qe.grid.gridCellSize;Ct=$t.width,Ze=$t.height}qe.startTransaction("arrowKeyMove"),qe.selection.each(function(Zt){tt.key==="Up"?Zt.move(new go.Point(Zt.actualBounds.x,Zt.actualBounds.y-Ze)):tt.key==="Down"?Zt.move(new go.Point(Zt.actualBounds.x,Zt.actualBounds.y+Ze)):tt.key==="Left"?Zt.move(new go.Point(Zt.actualBounds.x-Ct,Zt.actualBounds.y)):tt.key==="Right"&&Zt.move(new go.Point(Zt.actualBounds.x+Ct,Zt.actualBounds.y))}),qe.commitTransaction("arrowKeyMove")},Xt.prototype._arrowKeySelect=function(){var qe=this.diagram,tt=qe.lastInput,Ze=null;tt.key==="Up"?Ze=this._findNearestPartTowards(270):tt.key==="Down"?Ze=this._findNearestPartTowards(90):tt.key==="Left"?Ze=this._findNearestPartTowards(180):tt.key==="Right"&&(Ze=this._findNearestPartTowards(0)),Ze!==null&&(tt.shift?Ze.isSelected=!0:tt.control||tt.meta?Ze.isSelected=!Ze.isSelected:qe.select(Ze))},Xt.prototype._findNearestPartTowards=function(qe){var tt=this.diagram.selection.first();if(tt===null)return null;for(var Ze=tt.actualBounds.center,Ct=this._getAllParts(),$t=1/0,Zt=tt,xn=0;xn<Ct.length;xn++){var Cn=Ct[xn];if(Cn!==tt&&Cn.canSelect()){var mn=Cn.actualBounds.center,Mn=Ze.directionPoint(mn),na=this._angleCloseness(Mn,qe);if(na<=45){var sn=Ze.distanceSquaredPoint(mn);sn*=1+Math.sin(na*Math.PI/180),sn<$t&&($t=sn,Zt=Cn)}}}return Zt},Xt.prototype._angleCloseness=function(qe,tt){return Math.min(Math.abs(tt-qe),Math.min(Math.abs(tt+360-qe),Math.abs(tt-360-qe)))},Xt.prototype._arrowKeyTree=function(){var qe=this.diagram,tt=qe.selection.first();if(tt instanceof go.Node){var Ze=qe.lastInput;if(Ze.key==="Right"){if(!tt.isTreeLeaf)if(!tt.isTreeExpanded)qe.commandHandler.canExpandTree(tt)&&qe.commandHandler.expandTree(tt);else{var Ct=this._sortTreeChildrenByY(tt).first();Ct!==null&&qe.select(Ct)}}else if(Ze.key==="Left")if(!tt.isTreeLeaf&&tt.isTreeExpanded)qe.commandHandler.canCollapseTree(tt)&&qe.commandHandler.collapseTree(tt);else{var $t=tt.findTreeParentNode();$t!==null&&qe.select($t)}else if(Ze.key==="Up"){var $t=tt.findTreeParentNode();if($t!==null){var Zt=this._sortTreeChildrenByY($t),xn=Zt.indexOf(tt);if(xn>0){for(var Cn=Zt.elt(xn-1);Cn!==null&&Cn.isTreeExpanded&&!Cn.isTreeLeaf;){var mn=this._sortTreeChildrenByY(Cn);Cn=mn.last()}Cn!==null&&qe.select(Cn)}else qe.select($t)}}else if(Ze.key==="Down")if(tt.isTreeExpanded&&!tt.isTreeLeaf){var Ct=this._sortTreeChildrenByY(tt).first();Ct!==null&&qe.select(Ct)}else for(;tt!==null;){var $t=tt.findTreeParentNode();if($t===null)break;var Zt=this._sortTreeChildrenByY($t),xn=Zt.indexOf(tt);if(xn<Zt.length-1){qe.select(Zt.elt(xn+1));break}else tt=$t}var Mn=qe.selection.first();Mn!==null&&qe.scrollToRect(Mn.actualBounds)}},Xt.prototype._sortTreeChildrenByY=function(qe){var tt=new go.List().addAll(qe.findTreeChildrenNodes());return tt.sort(function(Ze,Ct){var $t=Ze.location,Zt=Ct.location;return $t.y<Zt.y?-1:$t.y>Zt.y?1:$t.x<Zt.x?-1:$t.x>Zt.x?1:0}),tt},Xt.prototype.copyToClipboard=function(qe){go.CommandHandler.prototype.copyToClipboard.call(this,qe),this._lastPasteOffset.set(this.pasteOffset)},Xt.prototype.pasteFromClipboard=function(){var qe=go.CommandHandler.prototype.pasteFromClipboard.call(this);return this.diagram.moveParts(qe,this._lastPasteOffset),this._lastPasteOffset.add(this.pasteOffset),qe},Object.defineProperty(Xt.prototype,"arrowKeyBehavior",{get:function(){return this._arrowKeyBehavior},set:function(qe){if(qe!=="move"&&qe!=="select"&&qe!=="scroll"&&qe!=="tree"&&qe!=="none")throw new Error('DrawCommandHandler.arrowKeyBehavior must be either "move", "select", "scroll", "tree", or "none", not: '+qe);this._arrowKeyBehavior=qe}}),Object.defineProperty(Xt.prototype,"pasteOffset",{get:function(){return this._pasteOffset},set:function(qe){if(!(qe instanceof go.Point))throw new Error("DrawCommandHandler.pasteOffset must be a Point, not: "+qe);this._pasteOffset.set(qe)}});var vn=Xt,St=te(20397),ut=te(43604),Ve=te(82093),Te={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re"},he=te(59301),se=(qe,tt,Ze)=>new Promise((Ct,$t)=>{var Zt=mn=>{try{Cn(Ze.next(mn))}catch(Mn){$t(Mn)}},xn=mn=>{try{Cn(Ze.throw(mn))}catch(Mn){$t(Mn)}},Cn=mn=>mn.done?Ct(mn.value):Promise.resolve(mn.value).then(Zt,xn);Cn((Ze=Ze.apply(qe,tt)).next())});function Ie({onCancel:qe,callback:tt}){let Ze=(0,z.useRef)(),Ct=(0,z.useRef)(),$t=(0,z.useRef)(),Zt=(0,z.useRef)(!1);const xn=(0,z.useRef)(!1),[Cn,mn]=(0,z.useState)(0);function Mn(){const sn=Le.bx.make,Un={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"};Ze.current=new Le.S0(Ct.current,{padding:20,grid:sn(Le.s_,"Grid",sn(Le.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),sn(Le.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),"draggingTool.isGridSnapEnabled":!0,handlesDragDropForTopLevelParts:!0,mouseDrop:pn=>{var En=pn.diagram.commandHandler.addTopLevelParts(pn.diagram.selection,!0);En||pn.diagram.currentTool.doCancel()},commandHandler:sn(vn),"clickCreatingTool.archetypeNodeData":{text:"\u672A\u547D\u540D",fill:null,stroke:null,borderColor:"rgba(0,0,0,0)"},PartCreated:pn=>{var En=pn.subject;En.location=En.location.copy().snapToGridPoint(pn.diagram.grid.gridOrigin,pn.diagram.grid.gridCellSize),setTimeout(()=>{pn.diagram.commandHandler.editTextBlock()},20)},"commandHandler.archetypeGroupData":{isGroup:!0,text:"NEW GROUP"},SelectionGrouped:pn=>{var En=pn.subject;setTimeout(()=>{pn.diagram.commandHandler.editTextBlock()})},LinkRelinked:pn=>{var En=pn.parameter.part;En.invalidateConnectedLinks();var wn=pn.subject;pn.diagram.toolManager.linkingTool.isForwards?wn.toNode.invalidateConnectedLinks():wn.fromNode.invalidateConnectedLinks()},"undoManager.isEnabled":!0}),Ze.current.nodeTemplate=sn(Le.NB,"Auto",{locationSpot:Le.z6.Center,locationObjectName:"SHAPE",desiredSize:new Le.$u(120,60),minSize:new Le.$u(40,40),resizable:!0,resizeCellSize:new Le.$u(10,10),rotatable:!0},new Le.KX("location","loc",Le.E9.parse).makeTwoWay(Le.E9.stringify),new Le.KX("desiredSize","size",Le.$u.parse).makeTwoWay(Le.$u.stringify),sn(Le.bn,{name:"SHAPE",fill:Un.white,cursor:"pointer",portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:Le.z6.AllSides,toSpot:Le.z6.AllSides},new Le.KX("figure"),new Le.KX("fill"),new Le.KX("stroke","borderColor"),new Le.KX("strokeWidth","thickness"),new Le.KX("strokeDashArray","dash")),sn(Le.bn,{width:100,height:20,strokeWidth:0,fill:"transparent"}),sn(Le.al,{margin:1,textAlign:"center",overflow:Le.al.OverflowEllipsis,editable:!0},new Le.KX("text").makeTwoWay(),new Le.KX("stroke","color"))),Ze.current.nodeTemplate.toolTip=sn("ToolTip",sn(Le.s_,"Vertical",{maxSize:new Le.$u(200,NaN)},sn(Le.al,{font:"bold 10pt sans-serif",textAlign:"center"},new Le.KX("text")),sn(Le.al,{font:"10pt sans-serif",textAlign:"center"},new Le.KX("text","details"))));function oa(pn,En){var wn=(Fn,ea)=>{Fn.handled=!0,Fn.diagram.model.commit(ga=>{var Jn=ea.part.adornedPart,Qn=new Le.E9().setRectSpot(Jn.actualBounds,pn);Qn.subtract(Jn.location),Qn.scale(2,2),Qn.x+=Math.sign(Qn.x)*130,Qn.y+=Math.sign(Qn.y)*130,Qn.add(Jn.location),Qn.snapToGridPoint(Fn.diagram.grid.gridOrigin,Fn.diagram.grid.gridCellSize);var va=ga.copyNodeData(Jn.data);ga.setGroupKeyForNodeData(va,ga.getGroupKeyForNodeData(Jn.data)),ga.addNodeData(va);var Oa={from:Jn.key,to:ga.getKeyForNodeData(va)};ga.addLinkData(Oa);var _a=Fn.diagram.findNodeForData(va);_a.location=Qn,Fn.diagram.select(_a),setTimeout(()=>{Fn.diagram.commandHandler.editTextBlock()},20)})};return sn(Le.bn,{figure:En,alignment:pn,alignmentFocus:pn.opposite(),width:pn.equals(Le.z6.Top)||pn.equals(Le.z6.Bottom)?25:18,height:pn.equals(Le.z6.Top)||pn.equals(Le.z6.Bottom)?18:25,fill:"orange",stroke:Un.white,strokeWidth:4,mouseEnter:(Fn,ea)=>ea.fill="dodgerblue",mouseLeave:(Fn,ea)=>ea.fill="orange",isActionable:!0,click:wn,contextClick:wn})}function ca(pn){return sn(Le.bn,{fill:"orange",stroke:"rgba(0, 0, 0, 0)",strokeWidth:15,background:"transparent",geometryString:"F1 M0 0 b 0 360 -4 0 4 z M10 0 b 0 360 -4 0 4 z M20 0 b 0 360 -4 0 4",isActionable:!0,cursor:"context-menu",mouseEnter:(En,wn)=>wn.fill="dodgerblue",mouseLeave:(En,wn)=>wn.fill="orange",click:(En,wn)=>{En.diagram.commandHandler.showContextMenu(wn.part.adornedPart)}},pn||{})}Ze.current.nodeTemplate.selectionAdornmentTemplate=sn(Le.uz,"Spot",sn(Le.Vm,{padding:10}),oa(Le.z6.Top,"TriangleUp"),oa(Le.z6.Left,"TriangleLeft"),oa(Le.z6.Right,"TriangleRight"),oa(Le.z6.Bottom,"TriangleDown"),ca({alignment:new Le.z6(.75,0)}));function la(pn,En){return(wn,Fn)=>{wn.handled=!0,wn.diagram.model.commit(ea=>{ea.set(Fn.part.adornedPart.data,pn,En)})}}function $e(pn,En){return En||(En="color"),sn(Le.bn,{width:16,height:16,stroke:"lightgray",fill:pn,margin:1,background:"transparent",mouseEnter:(wn,Fn)=>Fn.stroke="dodgerblue",mouseLeave:(wn,Fn)=>Fn.stroke="lightgray",click:la(En,pn),contextClick:la(En,pn)})}function Ht(){return[sn("ContextMenuButton",sn(Le.s_,"Horizontal",$e(Un.white,"fill"),$e(Un.beige,"fill"),$e(Un.extralightblue,"fill"),$e(Un.extralightred,"fill"))),sn("ContextMenuButton",sn(Le.s_,"Horizontal",$e(Un.lightgray,"fill"),$e(Un.lightgreen,"fill"),$e(Un.lightblue,"fill"),$e(Un.lightred,"fill")))]}function yt(){return[sn("ContextMenuButton",sn(Le.s_,"Horizontal",$e(Un.black),$e(Un.green),$e(Un.blue),$e(Un.red))),sn("ContextMenuButton",sn(Le.s_,"Horizontal",$e(Un.white),$e(Un.magenta),$e(Un.purple),$e(Un.orange)))]}function qt(pn,En){return En||(En="thickness"),sn(Le.bn,"LineH",{width:16,height:16,strokeWidth:pn,margin:1,background:"transparent",mouseEnter:(wn,Fn)=>Fn.background="dodgerblue",mouseLeave:(wn,Fn)=>Fn.background="transparent",click:la(En,pn),contextClick:la(En,pn)})}function dn(pn,En){return En||(En="dash"),sn(Le.bn,"LineH",{width:24,height:16,strokeWidth:2,strokeDashArray:pn,margin:1,background:"transparent",mouseEnter:(wn,Fn)=>Fn.background="dodgerblue",mouseLeave:(wn,Fn)=>Fn.background="transparent",click:la(En,pn),contextClick:la(En,pn)})}function Sn(){return[sn("ContextMenuButton",sn(Le.s_,"Horizontal",qt(1),qt(2),qt(3),qt(4))),sn("ContextMenuButton",sn(Le.s_,"Horizontal",dn(null),dn([2,4]),dn([4,4])))]}function Qe(pn,En){return En||(En="figure"),sn(Le.bn,{width:32,height:32,scale:.5,fill:"lightgray",figure:pn,margin:1,background:"transparent",mouseEnter:(wn,Fn)=>Fn.fill="dodgerblue",mouseLeave:(wn,Fn)=>Fn.fill="lightgray",click:la(En,pn),contextClick:la(En,pn)})}Ze.current.nodeTemplate.contextMenu=sn("ContextMenu",sn("ContextMenuButton",sn(Le.s_,"Horizontal",Qe("Rectangle"),Qe("RoundedRectangle"),Qe("Ellipse"),Qe("Diamond"))),sn("ContextMenuButton",sn(Le.s_,"Horizontal",Qe("Parallelogram2"),Qe("ManualOperation"),Qe("Procedure"),Qe("Cylinder1"))),sn("ContextMenuButton",sn(Le.s_,"Horizontal",Qe("Terminator"),Qe("CreateRequest"),Qe("Document"),Qe("TriangleDown"))),Ht(),yt(),Sn()),Ze.current.groupTemplate=sn(Le.ZA,"Spot",{layerName:"Background",ungroupable:!0,locationSpot:Le.z6.Center,selectionObjectName:"BODY",computesBoundsAfterDrag:!0,handlesDragDropForMembers:!0,mouseDrop:(pn,En)=>{var wn=En.addMembers(En.diagram.selection,!0);wn||En.diagram.currentTool.doCancel()},avoidable:!1},new Le.KX("location","loc",Le.E9.parse).makeTwoWay(Le.E9.stringify),sn(Le.s_,"Auto",{name:"BODY"},sn(Le.bn,{parameter1:10,fill:Un.white,strokeWidth:2,cursor:"pointer",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:Le.z6.AllSides,toSpot:Le.z6.AllSides},new Le.KX("fill"),new Le.KX("stroke","color"),new Le.KX("strokeWidth","thickness"),new Le.KX("strokeDashArray","dash")),sn(Le.Vm,{background:"transparent",margin:20})),sn(Le.al,{alignment:Le.z6.Top,alignmentFocus:Le.z6.Bottom,font:"bold 12pt sans-serif",editable:!0},new Le.KX("text"),new Le.KX("stroke","color"))),Ze.current.groupTemplate.selectionAdornmentTemplate=sn(Le.uz,"Spot",sn(Le.s_,"Auto",sn(Le.bn,{fill:null,stroke:"dodgerblue",strokeWidth:3}),sn(Le.Vm,{margin:1.5})),ca({alignment:Le.z6.TopRight,alignmentFocus:Le.z6.BottomRight})),Ze.current.groupTemplate.contextMenu=sn("ContextMenu",Ht(),yt(),Sn()),Ze.current.linkTemplate=sn(Le.rU,{layerName:"Foreground",routing:Le.rU.AvoidsNodes,corner:10,fromShortLength:10,toShortLength:15,relinkableFrom:!0,relinkableTo:!0,reshapable:!0,resegmentable:!0},new Le.KX("fromSpot","fromSpot",Le.z6.parse),new Le.KX("toSpot","toSpot",Le.z6.parse),new Le.KX("fromShortLength","dir",pn=>pn>=1?10:0),new Le.KX("toShortLength","dir",pn=>pn>=1?10:0),new Le.KX("points").makeTwoWay(),sn(Le.bn,{strokeWidth:2},new Le.KX("stroke","color"),new Le.KX("strokeWidth","thickness"),new Le.KX("strokeDashArray","dash")),sn(Le.bn,{segmentIndex:0,segmentOffset:new Le.E9(15,0),segmentOrientation:Le.rU.OrientAlong,alignmentFocus:Le.z6.Right,figure:"circle",width:10,strokeWidth:0},new Le.KX("fill","color"),new Le.KX("visible","dir",pn=>pn===1)),sn(Le.bn,{segmentIndex:-1,segmentOffset:new Le.E9(-10,6),segmentOrientation:Le.rU.OrientPlus90,alignmentFocus:Le.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new Le.KX("fill","color"),new Le.KX("visible","dir",pn=>pn>=1),new Le.KX("width","thickness",pn=>7+3*pn),new Le.KX("height","thickness",pn=>7+3*pn),new Le.KX("segmentOffset","thickness",pn=>new Le.E9(-15,4+1.5*pn))),sn(Le.bn,{segmentIndex:0,segmentOffset:new Le.E9(15,-6),segmentOrientation:Le.rU.OrientMinus90,alignmentFocus:Le.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new Le.KX("fill","color"),new Le.KX("visible","dir",pn=>pn===2),new Le.KX("width","thickness",pn=>7+3*pn),new Le.KX("height","thickness",pn=>7+3*pn),new Le.KX("segmentOffset","thickness",pn=>new Le.E9(-15,4+1.5*pn))),sn(Le.al,{alignmentFocus:new Le.z6(0,1,-4,0),editable:!0},new Le.KX("text").makeTwoWay(),new Le.KX("stroke","color"))),Ze.current.linkTemplate.selectionAdornmentTemplate=sn(Le.uz,sn(Le.bn,{isPanelMain:!0,stroke:"transparent",strokeWidth:6,pathPattern:Ye(2)},new Le.KX("pathPattern","thickness",Ye)),ca({alignmentFocus:new Le.z6(0,0,-6,-4)}));function Ye(pn){return sn(Le.bn,{stroke:"dodgerblue",strokeWidth:2,strokeCap:"square",geometryString:"M0 0 M4 2 H3 M4 "+(pn+4).toString()+" H3"})}function Bt(pn){var En="M0 0 M8 16 M0 8 L16 8 M12 11 L16 8 L12 5";return pn===0?En="M0 0 M16 16 M0 8 L16 8":pn===2&&(En="M0 0 M16 16 M0 8 L16 8 M12 11 L16 8 L12 5 M4 11 L0 8 L4 5"),sn(Le.bn,{geometryString:En,margin:2,background:"transparent",mouseEnter:(wn,Fn)=>Fn.background="dodgerblue",mouseLeave:(wn,Fn)=>Fn.background="transparent",click:la("dir",pn),contextClick:la("dir",pn)})}function cn(pn){var En=(wn,Fn)=>{wn.handled=!0,wn.diagram.model.commit(ea=>{var ga=Fn.part.adornedPart;ea.set(ga.data,pn?"toSpot":"fromSpot",Le.z6.stringify(Le.z6.AllSides)),(pn?ga.toNode:ga.fromNode).invalidateConnectedLinks()})};return sn(Le.bn,{width:12,height:12,fill:"transparent",mouseEnter:(wn,Fn)=>Fn.background="dodgerblue",mouseLeave:(wn,Fn)=>Fn.background="transparent",click:En,contextClick:En})}function vt(pn,En){var wn=0,Fn=Le.z6.RightSide;pn.equals(Le.z6.Top)?(wn=270,Fn=Le.z6.TopSide):pn.equals(Le.z6.Left)?(wn=180,Fn=Le.z6.LeftSide):pn.equals(Le.z6.Bottom)&&(wn=90,Fn=Le.z6.BottomSide),En||(wn-=180);var ea=(ga,Jn)=>{ga.handled=!0,ga.diagram.model.commit(Qn=>{var va=Jn.part.adornedPart;Qn.set(va.data,En?"toSpot":"fromSpot",Le.z6.stringify(Fn)),(En?va.toNode:va.fromNode).invalidateConnectedLinks()})};return sn(Le.bn,{alignment:pn,alignmentFocus:pn.opposite(),geometryString:"M0 0 M12 12 M12 6 L1 6 L4 4 M1 6 L4 8",angle:wn,background:"transparent",mouseEnter:(ga,Jn)=>Jn.background="dodgerblue",mouseLeave:(ga,Jn)=>Jn.background="transparent",click:ea,contextClick:ea})}Ze.current.linkTemplate.contextMenu=sn("ContextMenu",yt(),Sn(),sn("ContextMenuButton",sn(Le.s_,"Horizontal",Bt(0),Bt(1),Bt(2))),sn("ContextMenuButton",sn(Le.s_,"Horizontal",sn(Le.s_,"Spot",cn(!1),vt(Le.z6.Top,!1),vt(Le.z6.Left,!1),vt(Le.z6.Right,!1),vt(Le.z6.Bottom,!1)),sn(Le.s_,"Spot",{margin:new Le.Zt(0,0,0,2)},cn(!0),vt(Le.z6.Top,!0),vt(Le.z6.Left,!0),vt(Le.z6.Right,!0),vt(Le.z6.Bottom,!0)))));const kn=`{ "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 Nn=["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 Xn(pn){return console.log("shapeName:",pn),Nn.indexOf(pn)>=0}var Vn=new Le.YI($t.current,{maxSelectionCount:1,linkTemplate:sn(Le.rU,{locationSpot:Le.z6.Center,selectionAdornmentTemplate:sn(Le.uz,"Link",{locationSpot:Le.z6.Center},sn(Le.bn,{isPanelMain:!0,fill:null,stroke:"deepskyblue",strokeWidth:0}),sn(Le.bn,{toArrow:"Standard",stroke:null}))},{routing:Le.rU.AvoidsNodes,curve:Le.rU.JumpOver,corner:5,toShortLength:4},new Le.KX("points"),sn(Le.bn,{isPanelMain:!0,strokeWidth:2}),sn(Le.bn,{toArrow:"Standard",stroke:null})),model:new Le.FJ([{text:"\u672A\u547D\u540D",size:"100 100",fill:null,stroke:"#000"},...Le.bn.getFigureGenerators().toArray().map(pn=>({text:"\u672A\u547D\u540D",size:"100 100",figure:pn.key,fill:"white",stroke:"#666",borderColor:"#000"}))])});return Ze.current.addDiagramListener("TextEdited",function(pn){var En;const wn=pn.subject.part;var Fn=(En=document.activeElement)==null?void 0:En.value;typeof Fn=="string"&&Fn.trim()===""&&Ze.current.model.commit(function(ea){ea.set(wn.data,"text","\u672A\u547D\u540D"),Ze.current.commandHandler.stopCommand()},"increment")}),Vn.nodeTemplate=sn(Le.NB,"Auto",{locationSpot:Le.z6.Center},new Le.KX("location","location",Le.E9.parse).makeTwoWay(Le.E9.stringify),sn(Le.bn,"Circle",{fill:"white",stroke:"gray",strokeWidth:2,width:20,height:20,portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromLinkableSelfNode:!0,toLinkableSelfNode:!0},new Le.KX("stroke").makeTwoWay(),new Le.KX("fill").makeTwoWay(),new Le.KX("figure")),sn(Le.al,{margin:new Le.Zt(5,5,3,5),font:"10pt sans-serif",minSize:new Le.$u(16,16),maxSize:new Le.$u(10,NaN),textAlign:"center",editable:!0},new Le.KX("key").makeTwoWay())),setTimeout(()=>{Ze.current.grid=sn(Le.s_,"Grid",sn(Le.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),sn(Le.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),Ze.current.grid.visible=!0,Ze.current.grid.gridCellStroke="darkgray",Ze.current.grid.gridCellStrokeWidth=1},300),window.myDiagrams=Ze.current,Ze.current}const na=()=>se(this,null,function*(){var sn=Ze.current.makeImage();const Un=yield(0,Ve.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Date.now(),file:sn.src}});tt({src:Un.url})});return(0,z.useEffect)(()=>(setTimeout(()=>{Mn()},500),mn(Cn+1),()=>{Ze.current=null}),[]),he.createElement("div",{ref:xn,className:Zt.current?`${Te.maxH60} body-overflow-initial`:"body-overflow-initial"},he.createElement(De.default,{width:1200,icon:null,footer:null,closable:!0,visible:!!Cn,destroyOnClose:!0,maskClosable:!1,rootClassName:"zIndex-9999",title:he.createElement(Et.Z,null,he.createElement(ut.Z,{flex:1},"\u63D2\u5165\u6D41\u7A0B\u56FE"),he.createElement(ut.Z,{onClick:()=>{var sn,Un,oa=Ze.current.selection.first();if(Zt.current=!Zt.current,document.activeElement&&oa){let ca=(Un=(sn=document.activeElement)==null?void 0:sn.value)==null?void 0:Un.trim();typeof ca=="string"&&Ze.current.model.commit(function(la){la.set(oa.data,"text",ca||"\u672A\u547D\u540D"),Ze.current.commandHandler.stopCommand()},"increment")}mn(Cn+1)}},he.createElement("span",{className:"current c-blue mr30",style:{fontWeight:400}},"\u5C55\u5F00/\u6536\u8D77"))),onCancel:qe},he.createElement("div",{style:{width:"100%",height:"80vh",overflow:"hidden",position:"relative"},className:Te.flowChartWrp},he.createElement("div",{style:{display:"flex",height:"100%"}},he.createElement("div",{style:{width:"300px",height:"100%"}},he.createElement("div",{style:{background:"#fff",position:"relative",zIndex:12,fontSize:16,color:"#3061d0"}},"\u56FE\u5F62\u5E93"),he.createElement("div",{style:{height:"calc(100% - 50px)"},className:Te.myPaletteDiv,ref:$t})),he.createElement("div",{style:{flex:1,position:"relative"}},he.createElement("div",{ref:Ct,style:{height:"80vh"}}))),he.createElement("div",{className:"tr"},he.createElement(de.ZP,{size:"large",onClick:na,style:{position:"absolute",right:0,bottom:0,zIndex:8},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))))}var dt=Ie,Se=te(5112),ve=te(5871);const Je=Se.ZP.Group,Ne={margin:"0 8px"};var ye=({callback:qe,onCancel:tt})=>{function Ze(Ct){qe(Ct)}return z.createElement(pe.default,{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:Ze},z.createElement("div",{className:"flex-container",style:{alignItems:"baseline"}},z.createElement("span",{style:Ne},"\u5355\u5143\u683C\u6570\uFF1A"),z.createElement("span",{style:Ne},"\u884C\u6570"),z.createElement(pe.default.Item,{name:"row",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u884C\u6570"}]},z.createElement(ve.Z,null)),z.createElement("span",{style:Ne},"\u5217\u6570"),z.createElement(pe.default.Item,{name:"col",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5217\u6570"}]},z.createElement(ve.Z,null))),z.createElement("div",{className:"flex-container",style:{marginTop:12,alignItems:"baseline"}},z.createElement("span",{style:Ne},"\u5BF9\u9F50\u65B9\u5F0F\uFF1A"),z.createElement(pe.default.Item,{name:"align"},z.createElement(Je,null,z.createElement(Se.ZP,{value:"default"},z.createElement("i",{className:"fa fa-align-justify"})),z.createElement(Se.ZP,{value:"left"},z.createElement("i",{className:"fa fa-align-left"})),z.createElement(Se.ZP,{value:"center"},z.createElement("i",{className:"fa fa-align-center"})),z.createElement(Se.ZP,{value:"right"},z.createElement("i",{className:"fa fa-align-right"}))))),z.createElement("div",{className:"flex-container flex-end"},z.createElement(de.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),z.createElement(de.ZP,{type:"ghost",onClick:tt},"\u53D6\u6D88")))},nt=te(49770),_t=te(11081),gt=te.n(_t),Ot=(0,z.forwardRef)(({use3d:qe,width:tt,height:Ze,callback:Ct,showSaveButton:$t},Zt)=>{const xn=(0,z.useRef)(),Cn=(0,z.useRef)(),[mn,Mn]=(0,z.useState)(!1),na=(0,z.useRef)({id:xn,appName:"graphing",width:tt||1e3,height:Ze||600,showToolBar:!0,showMenuBar:!0,allowStyleBar:!0,showAlgebraInput:!0,enableLabelDrags:!1,enableShiftDragZoom:!0,showToolBarHelp:!1,errorDialogsActive:!0,showTutorialLink:!0,showLogging:!0,useBrowserForJS:!1});(0,z.useEffect)(()=>{Cn.current=new(gt())(na.current,!0),window.onload=function(){Cn.current.inject("applet_container")}},[]);const sn=()=>{var Un=window.ggbApplet.getPNGBase64(1,!0,72);return Ct&&Ct(Un),Un};return(0,z.useEffect)(()=>{na.current.appName=mn?"3D":"graphing",Cn.current.inject("applet_container")},[mn]),(0,z.useEffect)(()=>{Mn(qe)},[qe]),(0,z.useImperativeHandle)(Zt,()=>({getImgData:sn})),z.createElement(z.Fragment,null,z.createElement("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:xn}),z.createElement(Et.Z,{align:"middle"},z.createElement(ut.Z,{flex:1},z.createElement(nt.Z,{size:"default",checkedChildren:"\u5173\u95ED3D\u56FE\u50CF",unCheckedChildren:"\u5F00\u542F3D\u56FE\u50CF",checked:mn,onChange:Un=>Mn(Un)})),z.createElement(ut.Z,null,z.createElement(de.ZP,{size:"large",onClick:sn,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"))))}),Ut=te(88615),be=te(1012),st=te(8591);const pt="link",ct="upload-image",Nt="add-flowchart",Vt="draw-image",on="add-flowchart",Qt="code-block",bn="add-table",Tn="------------",Lt={default:Tn,left:`:${Tn}`,center:`:${Tn}:`,right:`${Tn}:`};var Ft=te(17904),Wt=(qe,tt,Ze)=>new Promise((Ct,$t)=>{var Zt=mn=>{try{Cn(Ze.next(mn))}catch(Mn){$t(Mn)}},xn=mn=>{try{Cn(Ze.throw(mn))}catch(Mn){$t(Mn)}},Cn=mn=>mn.done?Ct(mn.value):Promise.resolve(mn.value).then(Zt,xn);Cn((Ze=Ze.apply(qe,tt)).next())});function fn(){}let un=0;const Hn=1e4,rt="\u2581",Pt="@\u2581\u2581@",an="@\u2581@",Pn=`
**\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`,Fe=["pptm","pptx","ppt","pot","pps","ppa","potx","ppsx","ppam","pptm","potm","ppsm","doc","docx","dot","dotx","docm","dotm","xls","xlsx","csv","xlt","xla","xltx","xlsm","xltm","xlam","xlsb"];function ht(qe){return/^\d+$/.test(qe)?`${qe}px`:qe}const zt=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",en={[zt+"-B"]:"bold",[zt+"-I"]:"italic"},hn={[pt]:"\u6DFB\u52A0\u94FE\u63A5",[Qt]:"\u6DFB\u52A0\u4EE3\u7801\u5757",[ct]:"\u6DFB\u52A0\u56FE\u7247",[Vt]:"\u6DFB\u52A0\u753B\u56FE",[Nt]:"\u63D2\u5165\u6D41\u7A0B\u56FE",[bn]:"\u6DFB\u52A0\u8868\u683C","maths-latex":"\u6570\u5B66\u56FE\u50CF","inline-latex":"LATEX\u516C\u5F0F"};var ln=({defaultValue:qe="",onChange:tt,width:Ze="100%",height:Ct=400,miniToolbar:$t=!1,isFocus:Zt=!1,watch:xn,insertTemp:Cn,mode:mn="markdown",id:Mn="markdown-editor-id",showResizeBar:na=!1,noStorage:sn=!1,showNullButton:Un=!1,showNullProgramButton:oa=!1,hidetoolBar:ca=!1,fullScreen:la=!1,onBlur:$e,onCMBeforeChange:Ht,onFullScreen:yt,className:qt="",disablePaste:dn=!1,disabled:Sn=!1,disabledFill:Qe=!1,placeholder:Ye="",values:Bt="",extraUse:cn})=>{const[vt,kn]=(0,z.useState)(null),[Nn,Xn]=(0,z.useState)(qe),[Vn,pn]=(0,z.useState)(xn),[En,wn]=(0,z.useState)(la),[Fn,ea]=(0,z.useState)(""),[ga,Jn]=(0,z.useState)(0),[Qn,va]=(0,z.useState)(Ct),[Oa,_a]=(0,z.useState)(!1),fo=(0,z.useRef)((0,be.Z)()),Za=(0,z.useRef)(!1),Ia=(0,z.useRef)(),[Ka,Ha]=(0,z.useState)(0),[ja,sa]=(0,z.useState)(0),Ca=(0,z.useRef)(),Qa=(0,z.useRef)(),Xa=(0,z.useRef)(),za=(0,z.useRef)(),no=()=>Wt(void 0,null,function*(){var ma;const jn=yield Fetch("/api/attachments/distinct_hash_val.json",{method:"post",body:{hash_val:fo.current}});(ma=jn==null?void 0:jn.attachments)!=null&&ma.length&&(console.log("cm:",vt,Ca),jn.attachments.map(zn=>{zn.content_type.indexOf("image")>-1?vt.replaceSelection(`![,](/api/attachments/${zn.id}?type=${zn.content_type})`):zn.content_type.indexOf("video")>-1?vt.replaceSelection(`<video width="100%" controls src="${ENV.API_SERVER}/api/attachments/${data.id}"></video>`):zn.content_type.indexOf("pdf")>-1?vt.replaceSelection(`<a href="${ENV.API_SERVER}/api/attachments/${zn.id}?type=${zn.content_type}&disposition=inline" target="_blank">${zn.name}</a>`):vt.replaceSelection(`[${zn.name}](${ENV.API_SERVER}/api/attachments/${zn.id}?type=${zn.content_type})`)}))});(0,z.useEffect)(()=>{const ma=window.scrollY||window.pageYOffset;Xn(Bt),vt==null||vt.setValue(Bt),window.scrollTo(0,ma)},[Bt]),(0,z.useEffect)(()=>{yt==null||yt(En)},[En]),(0,z.useEffect)(()=>{if(Ca.current){let ma=function(zn,$n){var Aa;if(dn){$n.preventDefault();return}const fe=$n.clipboardData;if(fe){const kt=fe.types.toString(),tn=fe.items;if(kt==="Files"||fe.types.indexOf("Files")>-1){if($n.preventDefault(),mn=="stex")return;try{let Bn=tn[1];((Aa=tn[0])==null?void 0:Aa.kind)==="file"&&(Bn=tn[0]);const Dt=Bn.getAsFile(),In=Dt.name.split(".").pop();(0,Me.I)(Dt,Dn=>{var rn,yn,qn;Dn.id?((rn=Dt==null?void 0:Dt.type)==null?void 0:rn.indexOf("image"))>-1?jn.replaceSelection(`<img width="100%" src="/api/attachments/${Dn.id}?type=${Dn.content_type})" alt="" />`):((yn=Dt==null?void 0:Dt.type)==null?void 0:yn.indexOf("video"))>-1?jn.replaceSelection(`<video width="100%" controls src="/api/attachments/${Dn.id}"></video>`):((qn=Dt==null?void 0:Dt.type)==null?void 0:qn.indexOf("pdf"))>-1?jn.replaceSelection(`<a href="/api/attachments/${Dn.id}?type=${Dt.type}&disposition=inline" target="_blank">${Dt.name}</a>`):Fe.includes(In)?jn.replaceSelection(`<a href="/api/attachments/${Dn.id}?type=office&disposition=inline" target="_blank">${Dt.name}</a>`):jn.replaceSelection(`[${Dt.name}](/api/attachments/${Dn.id}?type=${Dn.content_type})`):(Dn==null?void 0:Dn.status)===401&&(st.ZP.warning((Dn==null?void 0:Dn.message)||"\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),document.location.href="/user/login")})}catch(Bn){st.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};const jn=Ae().fromTextArea(Ca.current,{mode:mn,lineNumbers:!$t,lineWrapping:!0,value:qe,autoCloseTags:!oa,autoCloseBrackets:!0});return jn.on("keyup",function(zn,$n){$n.keyCode===8&&(zn.getValue()==""?jn.setOption("placeholder",Ye):jn.setOption("placeholder",null))}),jn.on("keydown",function(zn,$n){if($n.keyCode===8){var Aa=ha(zn);Aa&&$n.preventDefault()}}),Zt&&jn.focus(),jn.on("paste",ma),jn.on("dragleave",function(zn,$n){Qa.current.classList.remove("mouse-hover-md")}),Sn&&jn.on("beforeChange",function(zn,$n){($n.origin==="paste"||$n.origin==="+input")&&$n.cancel()}),kn(jn),()=>{jn.off("paste",ma)}}},[]);const lo=(0,z.useCallback)(()=>{if(Qa.current)try{}catch(ma){console.log(ma,"---- to set md editor body height")}},[Qn,Qa,En]);(0,z.useEffect)(()=>{function ma(){let jn=new je.Z(zn=>{for(let $n of zn)($n.target.offsetHeight>0||$n.target.offsetWidth>0)&&(lo(),vt.setSize("100%","100%"),vt.refresh())});return jn.observe(Ca.current.parentElement),jn}if(vt){const jn=ma();return()=>{var zn,$n;(zn=Ca.current)!=null&&zn.parentElement&&jn.unobserve(($n=Ca.current)==null?void 0:$n.parentElement)}}},[vt,lo]),(0,z.useEffect)(()=>{if(vt){let ma=[];for(const[jn,zn]of Object.entries(en)){let $n={[jn]:()=>{Ua(zn)}};ma.push($n),vt.addKeyMap($n)}return Ia.current=setInterval(()=>{Za.current&&no()},4e3),()=>{clearInterval(Ia.current);for(let jn of ma)vt.removeKeyMap(jn)}}},[vt]),(0,z.useEffect)(()=>{la!==En&&wn(la)},[la]),(0,Ft.Z)(()=>{if(!sn&&ga>0){let ma=new Date().getTime(),jn=window.sessionStorage.getItem(Mn);ma>=ga+Hn&&(!jn||jn!==Nn)&&(window.sessionStorage.setItem(Mn,Nn),_a(!0))}},Hn),(0,z.useEffect)(()=>{pn(xn)},[vt,xn]),(0,z.useEffect)(()=>{vt&&Zt&&vt.focus()},[vt,Zt]),(0,z.useEffect)(()=>{if(Vn&&vt){let ma=function(zn){let $n=zn.target;if(za.current){let Aa=$n.scrollTop/$n.scrollHeight;za.current.scrollTop=za.current.scrollHeight*Aa}};const jn=vt.getScrollerElement();return jn.addEventListener("scroll",ma),()=>{jn.removeEventListener("scroll",ma)}}},[vt,Vn]),(0,z.useEffect)(()=>{if(vt&&Ht){let ma=function(jn,zn){Ht(jn,zn)};return vt.on("beforeChange",ma),()=>{vt.off("beforeChange",ma)}}},[vt,Ht]),(0,z.useEffect)(()=>{if(vt&&$e){let ma=function(){$e(vt.getValue())};return vt.on("blur",ma),()=>{vt.off("blur",ma)}}},[vt,$e]);function ha(ma,jn){var zn=ma.getDoc(),$n=zn.getCursor(),Aa=zn.getLine($n.line),fe=Aa.charAt($n.ch-1),kt=Aa.lastIndexOf("@\u2581@",$n.ch),tn=Aa.lastIndexOf("@\u2581\u2581@",$n.ch),Bn=kt>tn?kt:tn,Dt=kt>tn?3:4;if(Pt.indexOf(fe)===-1)return null;if(console.log("change1:",jn,ma,Aa,$n,Bn,kt,tn,fe),Bn>=0&&$n.ch-Bn<5){var In=Bn+Dt;return zn.replaceRange("",{line:$n.line,ch:Bn},{line:$n.line,ch:In}),{line:$n.line,ch:In}}return null}(0,z.useEffect)(()=>{if(vt){let ma=function(jn,zn){const $n=jn.getValue();Xn($n),Jn(new Date().getTime()),jn.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),tt&&(oa?tt($n,po($n)):tt($n))};return vt.on("change",ma),()=>{vt.off("change",ma)}}},[vt,tt]),(0,z.useEffect)(()=>{if(vt)if(qe==null)vt.setValue(""),Xn("");else{const ma=window.scrollY||window.pageYOffset;qe!==vt.getValue()&&(vt.setValue(qe),Xn(qe),vt.setCursor(Sn?1:vt.lineCount(),0),window.scrollTo(0,ma))}},[vt,qe]);const Ua=(0,z.useCallback)(ma=>{const jn=vt.getCursor(),zn=vt.getSelection();let $n=zn.split(`
`);switch(ma){case"bold":return vt.replaceSelection("**"+zn+"**"),zn===""&&vt.setCursor(jn.line,jn.ch+2),vt.focus();case"italic":return vt.replaceSelection("*"+zn+"*"),zn===""&&vt.setCursor(jn.line,jn.ch+1),vt.focus();case"code":return vt.replaceSelection("`"+zn+"`"),zn===""&&vt.setCursor(jn.line,jn.ch+1),vt.focus();case"inline-latex":return ea("inline-latex"),vt.focus();case"latex":return vt.replaceSelection("```latex\n"+zn+"\n```"),vt.setCursor(jn.line+1,zn.length+1),vt.focus();case"line-break":return vt.replaceSelection(`<br/>
`),vt.focus();case"list-ul":return zn===""?vt.replaceSelection("- "+zn):vt.replaceSelection($n.map(Aa=>Aa===""?"":`- ${Aa}`).join(`
`)),vt.focus();case"list-ol":return zn===""?vt.replaceSelection("1. "+zn):vt.replaceSelection($n.map((Aa,fe)=>Aa===""?"":`${fe+1}. ${Aa}`).join(`
`)),vt.focus();case"add-null-ch":return zn===""&&vt.setCursor(jn.line,jn.ch),vt.replaceSelection(rt),vt.focus();case"add-signal":return zn===""&&vt.setCursor(jn.line,jn.ch),vt.replaceSelection(an),vt.focus();case"add-multiple":return zn===""&&vt.setCursor(jn.line,jn.ch),vt.replaceSelection(Pt),vt.focus();case"inster-template-1":return zn===""&&vt.setCursor(jn.line,jn.ch),vt.replaceSelection(Pn),vt.focus();case"eraser":return vt.setValue(""),vt.focus();case"trigger-watch":return pn(!Vn),vt.focus();case"trigger-full-screen":return wn(!En),vt.focus();case pt:ea(pt);return;case Qt:ea(Qt);return;case ct:ea(ct);return;case Vt:ea(Vt);return;case"maths-latex":ea("maths-latex");return;case Nt:ea(Nt);return;case bn:ea(bn);return;default:throw new Error}},[vt,Vn,En]),Ta=(0,z.useCallback)((ma,jn)=>{var zn,$n,Aa,fe,kt,tn;switch(ea(""),Fn){case pt:const{title:rn,link:yn}=ma;return vt.replaceSelection(`[${rn}](${yn})`),vt.focus();case Qt:const{language:qn,content:Rn}=ma;return vt.replaceSelection(["```"+qn,Rn,"```"].join(`
`)),vt.focus();case"maths-latex":for(var Bn=atob(ma),Dt=new Uint8Array(Bn.length),In=0;In<Bn.length;In++)Dt[In]=Bn.charCodeAt(In);var Dn=new Blob([Dt],{type:"image/png"});(0,Me.I)(Dn,ko=>{ko.id?vt.replaceSelection(`![,](/api/attachments/${ko.id}?type=${ko.content_type})`):(ko==null?void 0:ko.status)===401&&(document.location.href="/user/login")});break;case"inline-latex":vt.replaceSelection("`$$"+ma+"$$`");break;case ct:case Vt:case on:const{src:Zn,alt:Gn}=ma,ua=jn,Na=(Aa=($n=(zn=ua==null?void 0:ua.name)==null?void 0:zn.split("."))==null?void 0:$n.pop)==null?void 0:Aa.call($n);return((fe=ua==null?void 0:ua.type)==null?void 0:fe.indexOf("image"))>-1||!(ua!=null&&ua.type)?ua.align||ua.width?vt.replaceSelection(`<p style="text-align:${ua.align||"initial"}"><img width="${ua.width?ua.width+"%":"initial"}" src="${Zn}" alt="${Gn||""}" /></p>`):vt.replaceSelection(`<img width="100%" src="${Zn}" alt="${Gn||""}" />`):((kt=ua==null?void 0:ua.type)==null?void 0:kt.indexOf("video"))>-1?vt.replaceSelection(`<video width="100%" controls src="${Zn}"></video>`):((tn=ua==null?void 0:ua.type)==null?void 0:tn.indexOf("pdf"))>-1?vt.replaceSelection(`<a href="${Zn}?type=${ua.type}&disposition=inline" target="_blank">${ua.name}</a>`):Fe.includes(Na)?vt.replaceSelection(`<a href="${Zn}?type=office&disposition=inline" target="_blank">${ua.name}</a>`):vt.replaceSelection(`[${ua.name}](${Zn})`),vt.focus();case bn:const{row:$a,col:qa,align:Po}=ma;let Mo=`
`;for(let ko=0;ko<$a;ko++){let ur=[],dr=[];for(let nr=0;nr<qa;nr++)ko===1&&dr.push(Lt[Po]),ur.push(" ");ko===1&&(Mo+=`| ${dr.join(" | ")} |
`),Mo+=`| ${ur.join(qa===1?"":" | ")} |
`}return vt.replaceSelection(Mo+`
`),vt.focus();default:throw new Error}},[vt,Fn]),oo=(0,z.useMemo)(()=>{switch(Fn){case pt:return z.createElement(Tt,{callback:Ta,onCancel:So});case Qt:return z.createElement(Jt.Z,{callback:Ta,onCancel:So});case ct:return z.createElement(Me.Z,{callback:Ta,onCancel:So});case Nt:return z.createElement(dt,{callback:Ta,onCancel:So});case bn:return z.createElement(ye,{callback:Ta,onCancel:So});case"maths-latex":return z.createElement(Ot,{showSaveButton:!0,callback:Ta});case"inline-latex":return z.createElement(Ut.Z,{showSaveButton:!0,callback:Ta});default:return null}},[Fn]);function So(){ea("")}(0,z.useEffect)(()=>{if(Xa.current){let ma=function(kt){Aa=!0,fe=kt.pageY},jn=function(){Aa=!1},zn=function(kt){if(Aa){let tn=kt.pageY-fe;tn<0&&(tn=0),tn>300&&(tn=300);let Bn=Ct+tn+"px";va(Bn)}},$n=Xa.current,Aa=!1,fe=0;return $n.addEventListener("mousedown",ma),document.addEventListener("mousemove",zn),document.addEventListener("mouseup",jn),()=>{$n.removeEventListener("mousedown",ma),document.removeEventListener("mousemove",zn),document.removeEventListener("mouseup",jn)}}},[vt,Xa]),(0,z.useEffect)(()=>{va(Ct)},[Ct]);const Do=ht(Ze),Jo=ht(Qn),zo={width:Do,height:Jo},mo=(0,z.useMemo)(()=>{if(ga){let ma=new Date(ga),jn=ma.getHours(),zn=ma.getMinutes(),$n=ma.getSeconds();return jn=jn<10?"0"+jn:jn,zn=zn<10?"0"+zn:zn,$n=$n<10?"0"+$n:$n,`${jn}:${zn}:${$n}`}return 0},[ga]),po=ma=>{const jn=[];if(oa){let zn=-1;ma=ma.replace(/(@▁▁@|@▁@)/g,function($n,Aa,fe){jn.push({multiLine:$n!==an})})}return jn};function Bo(){window.sessionStorage.removeItem(Mn),_a(!1),Jn(0)}function tr(){_a(!1),Jn(0),vt.setValue(window.sessionStorage.getItem(Mn))}(0,z.useEffect)(()=>{hn[Fn]&&Fn!==Vt&&Fn!==Nt&&setTimeout(()=>{const ma=document.getElementsByClassName("markdown-popup-form")[0],jn=window.innerWidth/2-ma.offsetWidth/2,zn=window.innerHeight/2-ma.offsetHeight/2;Ha(jn),sa(zn)},0)},[Fn]);const jo=ma=>{ma.preventDefault();const jn=ma.clientX-Ka,zn=ma.clientY-ja;document.body.onmousemove=$n=>{let Aa=$n.clientX-jn,fe=$n.clientY-zn;const kt=document.getElementsByClassName("markdown-popup-form")[0],tn=window.innerWidth-kt.offsetWidth,Bn=window.innerHeight-kt.offsetHeight;Aa=Math.max(0,Math.min(Aa,tn)),fe=Math.max(0,Math.min(fe,Bn)),qo($n.clientX,$n.clientY,jn,zn)&&(Ha(Aa),sa(fe))},document.body.onmouseup=function(){document.body.onmousemove=null}},qo=(ma,jn,zn,$n)=>{const Aa=document.body.clientHeight,fe=document.body.clientWidth;return ma<20&&zn>ma||ma>fe-20&&zn<ma||jn<20&&$n>jn||jn>Aa-20&&$n<jn?(document.body.onmousemove=null,document.body.onmouseup=null,!1):!0};return z.createElement(z.Fragment,null,z.createElement("div",{className:"markdown-editor-wrapper",ref:Qa},z.createElement("div",{className:`markdown-editor-container ${qt} ${Vn?"on-preview":""} ${$t?"mini":""} ${En?"full-screen":""}`,style:zo},z.createElement(ge,{insertTemp:Cn,watch:Vn,fullScreen:En,showNullButton:Un,showNullProgramButton:oa,onActionCallback:Ua,hidetoolBar:ca,extraUse:cn}),z.createElement("div",{className:"markdown-editor-body"},z.createElement("div",{className:"codemirror-container"},z.createElement("textarea",{ref:Ca,placeholder:Ye})),Vn?z.createElement("div",{ref:za,className:"preview-container"},mn==="stex"&&z.createElement(mt,{value:Nn}),mn!=="stex"&&z.createElement(Xe.Z,{disabledFill:Qe,showProgramFill:oa,value:Nn})):null))),na?z.createElement("a",{ref:Xa,className:"editor-resize"}):null,Fn===Vt&&z.createElement(jt,{callback:Ta,onCancel:So}),Fn===Nt&&z.createElement(dt,{callback:Ta,onCancel:So}),z.createElement(Ce.Z,null,hn[Fn]&&Fn!==Vt&&Fn!==Nt?z.createElement(De.default,{maskClosable:!1,centered:!0,style:{position:"absolute",left:Ka,top:ja},title:z.createElement("div",{style:{cursor:"move"},onMouseDown:jo},hn[Fn]),open:!0,onCancel:So,footer:null,destroyOnClose:!0,width:Fn===Nt?"1200px":null,height:Fn===Nt?"80vh":null,className:"markdown-popup-form"},oo):null))}},45596:function(xt,It,te){"use strict";te.d(It,{Z:function(){return ue},I:function(){return Ce}});var z=te(78241),ie=te(8591),Ae=te(92832),je=te(81327),Ee=te(5871),xe=te(5112),re=te(3113),We=te(67303),Ke=te(59301),ze=te(34055),Xe=te(59301),mt=Object.defineProperty,Re=Object.defineProperties,ae=Object.getOwnPropertyDescriptors,y=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,b=Object.prototype.propertyIsEnumerable,E=(pe,Be,de)=>Be in pe?mt(pe,Be,{enumerable:!0,configurable:!0,writable:!0,value:de}):pe[Be]=de,x=(pe,Be)=>{for(var de in Be||(Be={}))a.call(Be,de)&&E(pe,de,Be[de]);if(y)for(var de of y(Be))b.call(Be,de)&&E(pe,de,Be[de]);return pe},ee=(pe,Be)=>Re(pe,ae(Be));const{useForm:ne}=z.default,oe={width:280,marginRight:10},le={labelCol:{span:5},wrapperCol:{span:19}};var ue=({callback:pe,onCancel:Be})=>{const[de]=ne();let et=(0,Ke.useRef)();function Oe(ke){et.current.width=de.getFieldValue("width"),et.current.align=de.getFieldValue("align"),pe(ke,et.current)}function Ge(ke,ot){if(ke.status===-1){ie.ZP.error(ke.message);return}de.setFieldsValue({src:`/api/attachments/${ke.id}`,type:ot.type})}function Pe(ke){let ot=ke.target.files[0];et.current=ot,Ce(ot,Ge)}return Xe.createElement(z.default,ee(x({form:de},le),{className:"upload-image-panel",onFinish:Oe,style:{width:470,overflow:"hidden"}}),Xe.createElement(z.default.Item,{label:"\u56FE\u7247\u5730\u5740",required:!0},Xe.createElement("div",{className:"flex-container"},Xe.createElement(z.default.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5730\u5740"}]},Xe.createElement(Ae.default,{style:oe})),Xe.createElement(ge,{onFileChange:Pe}))),Xe.createElement(z.default.Item,{label:"\u56FE\u7247\u63CF\u8FF0",name:"alt"},Xe.createElement(Ae.default,{style:{width:264}})),Xe.createElement(z.default.Item,{label:"\u56FE\u7247\u5BBD\u5EA6",name:"width"},Xe.createElement(je.Z,null,Xe.createElement(z.default.Item,{name:"width",style:{margin:0}},Xe.createElement(Ee.Z,{style:{width:264}})),Xe.createElement("span",{className:"ml8"},"%"))),Xe.createElement(z.default.Item,{label:"\u5BF9\u9F50\u65B9\u5F0F",name:"align"},Xe.createElement(xe.ZP.Group,{name:"align",defaultValue:1,options:[{value:"left",label:"\u5DE6\u5BF9\u9F50"},{value:"center",label:"\u5C45\u4E2D\u5BF9\u9F50"},{value:"right",label:"\u53F3\u5BF9\u9F50"}]})),Xe.createElement("aside",null,Xe.createElement(z.default.Item,{style:{textAlign:"right",position:"relative",right:-98}},Xe.createElement(re.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),Xe.createElement(re.ZP,{type:"default",onClick:Be},"\u53D6\u6D88"))))};function ge({onFileChange:pe}){return Xe.createElement("label",{className:"upload-button",style:{cursor:"pointer"}},"\u672C\u5730\u4E0A\u4F20",Xe.createElement("input",{type:"file",onChange:pe}))}function Ce(pe,Be){if(!pe)throw new String("\u6CA1\u6709\u6587\u4EF6");if(!(0,ze.bg)())throw ie.ZP.warning("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),new String("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C");let de=new FormData;de.append("editormd-image-file",pe),de.append("file_param_name","editormd-image-file"),de.append("byxhr","true");var et=new window.XMLHttpRequest;et.withCredentials=!0,et.addEventListener("load",function(Oe){Be(JSON.parse(Oe.target.responseText),pe)},!1),et.addEventListener("error",function(Oe){console.error(Oe)},!1),et.open("POST",`${We.KI}/api/attachments.json`),et.send(de)}},75790:function(xt,It,te){"use strict";te.d(It,{Z:function(){return Ae}});var z=te(59301),ie=te(4676);class Ae extends z.Component{constructor(Ee){super(Ee);const xe=window.document;this.node=xe.createElement("div"),xe.body.appendChild(this.node)}render(){const{children:Ee}=this.props;return(0,ie.createPortal)(Ee,this.node)}componentWillUnmount(){window.document.body.removeChild(this.node)}}},4573:function(xt,It,te){"use strict";te.d(It,{i:function(){return oe},Z:function(){return ue}});var z={flex_box_center:"flex_box_center___AQ53o",flex_space_between:"flex_space_between___i2aIa",flex_box_vertical_center:"flex_box_vertical_center___sPEKB",flex_box_center_end:"flex_box_center_end___GhSSH",flex_box_column:"flex_box_column___R9_Hb",list:"list___jb2Ay",wrap:"wrap___VsQDr",lockWrap:"lockWrap___g1k1T",li:"li___IxCLC",cover:"cover___Mu8wr",img:"img___IpFLA",movebq:"movebq___mF7wt",bq:"bq___Bil0T",sign:"sign___DXJ4d",name:"name___l7FoJ",e:"e___pXQUG",unit:"unit___wCIFR",tags:"tags___w_Mil",tag1:"tag1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c+C62+QKnYsN7s14F1YyWSbRXkxS96d0XOEzd06QeKtBzZT7jRhrs3d6NUDELaXAqCrgjiVuJuljyLJyzZkkZxtE3YkdSyKAlHFkx1TMVtu1OW+QbAPzz/n5AWJ8WAzLF9A65+dzs3A2uioOjkFIeZ63u1PzFNRdFfmYPqvl5fc0d1c4k8SwiavhxzHSG4J5+cQZuyvLyzwSSBt8BZJgESwsN65snmj3gzR3xh6YujGOSVMPo8sxK8dcHWudc6Z4dWVJZIv5Bn93p40Y84KdYpJzQ/Dz6PHEvcoaIfGP2VMyv4CglP/0qgjYNKAh2oH6vANrJ4kejl6qIReYrwtzgmT/LwknSFTisazUUITWNi5vmiDaDdydqHxIGNgGycki263pBtRjDLMbY1MhICnprTPJluBONyjvj7tAPq5cMEjq+x8ZJJ5AcRDceZL3LHhhINn/lUUySVsXSIJlbgvNCx4WHv3+VWPXvL6sZt8/v/t/ZcDiwhxFgaLp8YdFs4Dx64oxwbfTrmwDrBivpR4DVDQDF/VqYsf+ef3L5SDvAGCVcy/4GKCimrho1yv3tWdR3xgzD9ssC8H6ko8BKpqBi3q1I77sXvBef9M0HX3kxwAV1cRFu95PALhFw2OAimbgol7tB5BbNDwGqKgmLtr1nhJaFw2PASqagYt6db45jhQNMf0Xi7mnon7V4+sfxQIFJqFMNES/v3D+oyz8+Jp/jgX+AT+bS/shEzsoAAAAAElFTkSuQmCC",ne=te(59301);const oe=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:Ke,swimg:ze},{name:"101\u8BA1\u5212",ptimg:Xe,swimg:mt},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:Re,swimg:ae},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:y,swimg:a},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:b,swimg:E},{name:"\u519B\u961F\u4E00\u6D41",ptimg:x,swimg:ee}];var ue=({className:ge,dataSource:Ce=[],col:pe=4,right:Be,bottom:de=23,precision:et=0,wrapWidth:Oe=1200,trackEventItems:Ge,loading:Pe,onRemove:ke=()=>{},isCurrent:ot=!0,showAlias:Ue=!1})=>{const it=Math.floor((Oe-(pe-1)*Be)/pe),Mt=[{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(_e=>(window.ENV==="build"&&(_e.ptimg=`/react/build${_e.ptimg}`,_e.swimg=`/react/build${_e.swimg}`),_e));return ne.createElement(ie.Z,{spinning:Pe},ne.createElement("div",{className:Ee()(z.list,ge)},!!(Ce!=null&&Ce.length)&&(Ce==null?void 0:Ce.map((_e,Tt)=>{var Jt;const{name:Me,id:De,identifier:Et,featured:Kt,school_name:ft,image_url:jt,excellent:Le,is_plan:Xt}=_e;return ne.createElement("div",{key:De,className:z.wrap,style:{width:it,marginRight:(1+Tt)%pe===0?0:Be+et,marginBottom:de}},ne.createElement("a",{className:z.li,onClick:vn=>{vn.preventDefault(),vn.stopPropagation(),Ge&&(0,xe.L9)([Ge]),(0,xe.xg)(`/paths/${Et}`)}},ne.createElement("div",{className:z.img},ne.createElement("img",{className:z.cover,src:`${jt}`}),ot&&(0,We.bg)()&&(_e==null?void 0:_e.studying)&&ne.createElement("div",{className:`${z.movebq} user-path-items`,onClick:vn=>{vn.stopPropagation(),ke(_e)}},ne.createElement("i",{className:"iconfont icon-yichu1 mr5 c-red"}),ne.createElement("span",{className:"c-red"},"\u79FB\u9664")),(Jt=_e==null?void 0:_e.subject_tags)==null?void 0:Jt.map((vn,St)=>{var ut,Ve;if(St===0){const he=(ut=Mt.find(se=>se.name==vn))==null?void 0:ut.swimg;return ne.createElement("img",{className:z.sign,src:he,style:{left:"-4px"}})}const Te=(Ve=Mt.find(he=>he.name==vn))==null?void 0:Ve.ptimg;return ne.createElement("img",{className:z.sign,src:Te,style:{left:`${48+52*(St-1)+2*St}px`}})}),ne.createElement("div",{style:{position:"absolute",top:"150px",left:"4px"}},(_e==null?void 0:_e.excellent)&&ne.createElement("div",{className:z.bq},"\u5F00\u653E\u8BFE\u7A0B"))),ne.createElement("div",{className:z.name},ne.createElement(Ae.Z,{title:Ue&&(_e!=null&&_e.excellent_alias_name)?ne.createElement("span",null,`\u8BFE\u7A0B\u539F\u540D\uFF1A${Me}`,ne.createElement("br",null),ne.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${_e==null?void 0:_e.excellent_alias_name}`)):Me},ne.createElement("span",{className:z.e},Ue&&(_e==null?void 0:_e.excellent_alias_name)||Me))),ne.createElement("div",{className:z.tags},ne.createElement("div",null,ne.createElement(Ae.Z,{placement:"bottom",title:"\u7AE0\u8282\u6570"},ne.createElement("span",null,ne.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),ne.createElement("span",null,_e.stages_count))),ne.createElement(Ae.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},ne.createElement("span",null,ne.createElement("i",{className:"iconfont icon-chengyuan font14 mr3"}),ne.createElement("span",null,_e.members_count)))))))})),!Ce.length&&ne.createElement(re.Z,null)))}},89831:function(xt,It,te){"use strict";te.d(It,{jL:function(){return Ee},w9:function(){return Kt},QD:function(){return on},cQ:function(){return Tt.Z},op:function(){return be},O5:function(){return ln},_b:function(){return Wt},t7:function(){return ue},Gi:function(){return St},YG:function(){return Xt},qp:function(){return b},vr:function(){return Tn},qE:function(){return ct},Je:function(){return pe},wb:function(){return _e},cq:function(){return Ie},tp:function(){return ee},Si:function(){return Ze},k8:function(){return Sn},Du:function(){return na}});var z=te(59301),ie={flex_box_center:"flex_box_center___NeSU8",flex_space_between:"flex_space_between___ImTGl",flex_box_vertical_center:"flex_box_vertical_center___BtRd9",flex_box_center_end:"flex_box_center_end___qcLe3",flex_box_column:"flex_box_column___Ze_3q",banner:"banner___PoUBO",content:"content___XoDjy",btns:"btns___Pb35j"},Ae="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE4AAAA0CAYAAAAkEw66AAAAAXNSR0IArs4c6QAAGNVJREFUeF7VmwmwHVWdxr9zuvvu9+3ZXsxCiNkIQZOwEzMgyADjggsWgzPqOAJaMiCjYiGKqDBQAo4iWGAxA+ooMm7gBhSyhBBRIIBSAQlrHuTt7913t97PmfpOd4cXlLAFGO6rW9237719+/z6+6/nPIHX+XHttddaex38nlW2lLO1svq1wJ4aeFMM9CqFnNKoaYVapDAOicfjGEMKqKk2nrx59Lbt5xx6aPR6DEG8Hj/K3xwY0YtjSx2vYnlspLEsX0BRKUBrINtyX+PZp0r3fR+IIgzFSo9EsahFUfSHWIj7Pa919zvf2vlo+rFXdWivObjHJvR8S6vTJORHckV0+4GBAF4InwQlBCAIkEMXgCLA9Mn9WCef4ft8HWkgVIDn6ckwUA/HQfCzoFX71TsP6n/41aL3moHTWotnJnGysPEFx8ZcAtMqGTjh2NmVTL+iDB6BZurjsRSe2SogjhNwMZIngbZbqgXom8N26/KjV3femB7ebRxfE3DbRnW/k8c3LQvv5yCjOFVVqhgCyNnJmAhoxyOFasz1OeCM2lLTJryI4BQQUn1RAhI24Lc1dBjc2K6Nnv2edfP+sLvIvergxqb0vpHA1fk8lre9xBZpZsYKU9sMYiDvAHKaqU4HuANcZrIpcILiezRdo7z0aUw3BoJYI4gELAeI/bjZmBq9+PGNd5x/+unHua8U4KsKbriujxUSV9gW+rwg9WPTfpHgpEgUQgAFJwU6LSDwjSxA8F2jslSBBJ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RsyXWffqOeN8tRH+rKyWOhsSBnYyYziiCAa0k8EQKb2kF01acPc3akXS8IbsW1Onf6AnVib16ewqWz21vq9qu2yNPeqL7thW7xZ65391jcV1jE/1qKFcaeCfDwOYeK9D83nv32/wHzrWgvjJ8Q7AAAAABJRU5ErkJggg==",Ee=({dataSource:Qe=[],img:Ye,imgWidth:Bt=346,title:cn,sunTitle:vt,bannerExtraContent:kn})=>z.createElement("div",{className:ie.banner},z.createElement("div",{className:ie.content},z.createElement("aside",null,z.createElement("p",null,z.createElement("b",null,cn),z.createElement("span",null,vt)),Qe.length>0&&z.createElement("div",{className:ie.btns},Qe.map((Nn,Xn)=>z.createElement("div",{key:Xn,onClick:Nn.click},Nn.name,Nn.sign?z.createElement("img",{src:Ae,width:39}):null))),kn),Ye&&z.createElement("img",{style:{marginTop:33,marginRight:38},src:Ye,width:Bt}))),xe={flex_box_center:"flex_box_center___hG6RI",flex_space_between:"flex_space_between___ss3Fh",flex_box_vertical_center:"flex_box_vertical_center___K80p9",flex_box_center_end:"flex_box_center_end___qmXX3",flex_box_column:"flex_box_column___GFV8F",row:"row___aXJjm",title:"title___HUKL0",tagsWrap:"tagsWrap___XB2W3",action:"action___VdHb1",bar:"bar___t1kKC",tag:"tag___V7Eft",name:"name___Hk1Ip",num:"num___xQpcH",active:"active___XryTX",tagsBorderWrap:"tagsBorderWrap___OMxjs"},re=te(92310),We=te.n(re),Ke=te(89392),ze=Object.defineProperty,Xe=Object.getOwnPropertySymbols,mt=Object.prototype.hasOwnProperty,Re=Object.prototype.propertyIsEnumerable,ae=(Qe,Ye,Bt)=>Ye in Qe?ze(Qe,Ye,{enumerable:!0,configurable:!0,writable:!0,value:Bt}):Qe[Ye]=Bt,y=(Qe,Ye)=>{for(var Bt in Ye||(Ye={}))mt.call(Ye,Bt)&&ae(Qe,Bt,Ye[Bt]);if(Xe)for(var Bt of Xe(Ye))Re.call(Ye,Bt)&&ae(Qe,Bt,Ye[Bt]);return Qe},b=({dataSource:Qe=[],value:Ye,onChange:Bt,onTitleChange:cn,className:vt,title:kn,titleWidth:Nn=41,style:Xn={},fontColor:Vn="#6A7283",showCount:pn,classNameActive:En,styleItem:wn={}})=>{const[Fn,ea]=(0,z.useState)(0),[ga,Jn]=(0,z.useState)(!1),Qn=(0,z.useRef)(null),va=(0,z.useRef)(null);return(0,z.useEffect)(()=>{var Oa;Qe.length!==0&&(((Oa=Qn==null?void 0:Qn.current)==null?void 0:Oa.clientHeight)>97?ea(1):ea(0)),Qe.length===0&&ea(0),Jn(!1)},[Qe]),z.createElement("div",{className:We()(xe.row,vt),style:Xn},z.createElement("div",{onClick:(0,Ke.throttle)(()=>cn==null?void 0:cn(),2e3),style:{width:Nn,marginTop:ga?12:4},className:`${xe.title} ${cn?"current":""}`},kn),z.createElement("div",{className:ga?`${xe.tagsWrap} ${xe.tagsBorderWrap}`:xe.tagsWrap},z.createElement("div",{className:xe.bar,ref:va,style:Fn>0?{height:Fn===1?97:"auto",overflow:Fn===1?"hidden":"auto",paddingRight:55}:{paddingRight:0}},z.createElement("div",{className:xe.tag,ref:Qn},Qe==null?void 0:Qe.map(Oa=>z.createElement("span",{onClick:()=>Bt(Oa.id),key:Oa.id,style:y(y({color:Vn},wn),(Oa==null?void 0:Oa.style)||{}),className:Ye===Oa.id?We()(En||xe.active,Oa.classNameActive):""},z.createElement("span",{title:Oa.name,className:xe.name},Oa.name),!!pn&&z.createElement("span",{className:xe.num},Oa.count))))),!!Fn&&z.createElement(z.Fragment,null,Fn===1?z.createElement("div",{onClick:()=>{var Oa;ea(2),((Oa=Qn==null?void 0:Qn.current)==null?void 0:Oa.clientHeight)>245?Jn(!0):Jn(!1)},className:xe.action},"\u5C55\u5F00",z.createElement("i",{style:{transform:"translateY(1px) scale(0.6)"},className:"iconfont icon-zhankai4"})):z.createElement("div",{onClick:()=>{va.current.scrollTop=0,ea(1),Jn(!1)},className:xe.action},"\u6536\u8D77",z.createElement("i",{style:{transform:"translateY(0px) scale(0.6)"},className:"iconfont icon-shouqi3"})))))},E={flex_box_center:"flex_box_center___aK2n3",flex_space_between:"flex_space_between___HX0Oh",flex_box_vertical_center:"flex_box_vertical_center___LJOJr",flex_box_center_end:"flex_box_center_end___SCakF",flex_box_column:"flex_box_column___AYv4m",tabs:"tabs___GTqPV",active:"active___F26E8"},ee=({dataSource:Qe=[],value:Ye,onChange:Bt,className:cn,style:vt={}})=>z.createElement("div",{style:vt,className:We()(E.tabs,cn)},Qe.map(kn=>z.createElement("span",{onClick:()=>Bt(kn.id),className:Ye===kn.id?E.active:"",key:kn.id},kn.name))),ne={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"},oe=te(92832),ue=({dataSource:Qe=[],value:Ye="",onChange:Bt,onInputChange:cn=()=>{},className:vt,style:kn={},placeholder:Nn,allowClear:Xn=!1})=>{var Vn;const[pn,En]=(0,z.useState)(""),[wn,Fn]=(0,z.useState)("");(0,z.useEffect)(()=>{var Jn;let Qn=Ye;(Jn=JSON.stringify(Ye))!=null&&Jn.includes("{")&&(En(Ye.id),Qn=Ye.value||"");try{Fn(decodeURIComponent(Qn||""))}catch(va){Fn(decodeURIComponent(Qn||""))}},[Ye]);const ea=()=>{Bt(encodeURIComponent(wn),pn||null)},ga=Jn=>{Jn!==pn&&(En(Jn),Bt(encodeURIComponent(wn),Jn))};return z.createElement("div",{className:We()(ne.input,vt),style:kn},!!Qe.length&&z.createElement("div",{className:ne.dropdown},z.createElement("div",{className:ne.text},(Vn=Qe.find(Jn=>Jn.id===pn))==null?void 0:Vn.name,z.createElement("i",{className:"iconfont icon-zhankai4"}),z.createElement("b",{className:ne.b1}),z.createElement("b",{className:ne.b2})),z.createElement("div",{className:ne.menu},Qe.map((Jn,Qn)=>z.createElement("div",{key:Qn,onClick:()=>ga(Jn.id)},Jn.name)))),z.createElement(oe.default,{onPressEnter:ea,value:wn,onChange:Jn=>{Fn(Jn.target.value),cn(encodeURIComponent(Jn.target.value),pn||null)},bordered:!1,placeholder:Nn}),z.createElement("i",{onClick:ea,className:"iconfont icon-sousuo9 font14 pl10 current"}))},ge={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"},pe=({value:Qe,onChange:Ye,className:Bt,total:cn,pageSize:vt,style:kn={}})=>{const Nn=Qe<2,Xn=Qe>=Math.ceil(cn/vt);return cn<=vt?z.createElement(z.Fragment,null):z.createElement("div",{className:We()(ge.quickPager,Bt),style:kn},z.createElement("div",{onClick:()=>{Nn||Ye(Qe-1,"prev")},className:Nn?ge.disabled:""},"\u4E0A\u4E00\u9875"),z.createElement("div",{onClick:()=>{Xn||Ye(Qe+1,"next")},className:Xn?ge.disabled:""},"\u4E0B\u4E00\u9875"))},Be={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"},de=te(71418),et=te(6848),Oe=te(13570),Ge=te(90524),Pe=te(49661),ke=te(96908),ot=te(57177),Ue=te(81378),it=te(57884),_e=({className:Qe,dataSource:Ye=[],col:Bt=4,right:cn,bottom:vt=23,precision:kn=0,wrapWidth:Nn=1200,trackEventItems:Xn,loading:Vn})=>{const pn=Math.floor((Nn-(Bt-1)*cn)/Bt);return z.createElement(de.Z,{spinning:Vn},z.createElement("div",{className:We()(Be.list,Qe)},!!Ye.length&&Ye.map((En,wn)=>{const{name:Fn,id:ea,identifier:ga,power:Jn,cover_image_id:Qn,pic:va}=En;return z.createElement("div",{className:Be.wrap,key:ea,style:{width:pn,marginRight:(1+wn)%Bt===0?0:cn+kn,marginBottom:vt}},z.createElement("a",{target:"_blank",href:`/shixuns/${ga}/challenges`,className:Be.li,onClick:Oa=>{Oa.preventDefault(),Xn&&(0,Pe.L9)([Xn]),Jn&&(0,Pe.xg)(`/shixuns/${ga}/challenges`)}},z.createElement("div",{className:Be.img},z.createElement("img",{className:Be.cover,src:`${va}`}),En.is_jupyter&&z.createElement("img",{className:Be.sign,src:ke}),En.is_jupyter_lab&&z.createElement("img",{className:Be.sign,src:ot}),En.is_unity_3d&&z.createElement("img",{className:Be.sign,src:Ue})),z.createElement("div",{className:Be.name},z.createElement(et.Z,{title:Fn||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},z.createElement("span",{className:Be.e},Fn||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),z.createElement("div",{className:Be.tags},z.createElement(et.Z,{placement:"bottom",title:"\u5173\u5361\u6570"},z.createElement("span",null,z.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),z.createElement("span",null,En.challenges_count))),!!En.myshixuns_count&&z.createElement(et.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},z.createElement("span",null,z.createElement("i",{className:"iconfont icon-chengyuan font14 mr2"}),z.createElement("span",null,En.myshixuns_count))),z.createElement(et.Z,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},z.createElement("span",null,z.createElement("span",null,En.level))),z.createElement("div",{className:Be.rate},z.createElement(Oe.Z,{allowHalf:!0,disabled:!0,defaultValue:En.score_info}),z.createElement("span",null,"\xA0",En.score_info?`${En.score_info}\u5206`:"5\u5206")))),!Jn&&z.createElement("div",{className:Be.lockWrap},z.createElement("img",{src:`${Ge.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),z.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!Ye.length&&z.createElement(it.Z,null)))},Tt=te(4573),Jt={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"},Me="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JKmEQPILClJZfpEfIUAChFQSHIJxnGDiDYwsb8KRLUuWZcmSxqN9pJF6nV7eSZ373u1509Mzvd2eGVt6VV2z9Ht3+9459+yX8Bq4mDmWK2GLqla3MvFWZt4KpjVMSBNzGoQ0M6WJkJbpMiNDxBkwMkyUIUYGxCeJaB8x7fMcZ18yiv1EVHy1Lw+9GicwO8tXlSrlbSB6O4HfANAmZlY250JEHsBHGLQTzA9H3chDfX2012Yfy9HWqwJgZh7NF6vvY/a2gWkbgyeWY3Hq+yDQcRA/RKQeSsSce4jo9EqMo50+Vy3AzNxXKFTv9MAfB/AuZo60M7Fe30tEZQA/UqBvx+POvUQ02+s+O2l/1QGcy5Xe6Cn1SXj8YYAHO5nU8j9DM1D0b8rzvpFMRp9a/v4X73HVAJwplN9GHj7P4NtW0wK1OxYCP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FIk7k9k6l5cV6sw6w0ZOrqHzvojGkRZCJdjhwP9iJntush54ALJ2KwJUrVL4M4A9frbbrZovX7fdiWwbwN8m4+7l2LVSt9t0zgM0AxEHhVflbF/flBbvjtHLot9pxHLQK6jxdupOH2n1GuxpR+S6Yb2332dfk/USPOnA/2qrLr5s16DkFm8EJm84Xq5/wPP7LC5eaaVop+pNEzPlmwJ67wa6lZ5cN4BDQw9l8+StEdNeFsjcLmMz89VQi8qdEdKYlZCzdtOwAm3EHIblfZeabLc1lVTYjccsK/NlEIvrESgxwxQAOCWHv9jz+Aph/cSUWoGd9Ej2mFH3RlkWq03GuOMBm4JLwRh4+z+DbOp3ManhOsvxY4UvpeOSR1TGe1TCK0BiC/OS7APoQwKHqHKtsoPOGQzMA/7sCvp5MRp9aTSNdNRRcvyhSTqJQqN7pgT8O4F3MvArC3uZGKdVsAPxIgb4djzv3EtHsagLWjGXVAhxeLCnxlC9W38fsbQPTNgZPrMRiSgU5ED9EpB5KxJx7iKjFkxlXYrR+n68KgOuXJ6ituQ1E2wj8eoA2McuxWPYuqbcM8BEG7QTzw1E38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",De=te(59301),Kt=({className:Qe,dataSource:Ye=[],col:Bt=4,right:cn,bottom:vt=23,precision:kn=0,wrapWidth:Nn=1200,trackEventItems:Xn,loading:Vn})=>{const pn=Math.floor((Nn-(Bt-1)*cn)/Bt);return De.createElement(de.Z,{spinning:Vn},De.createElement("div",{className:We()(Jt.list,Qe)},!!Ye.length&&Ye.map((En,wn)=>{const{subject_identifier:Fn,id:ea,identifier:ga,power:Jn}=En,Qn=En.is_public!=0&&En.is_public;return De.createElement("div",{className:Jt.wrap,key:ea,style:{width:pn,marginRight:(1+wn)%Bt===0?0:cn+kn,marginBottom:vt}},De.createElement("a",{className:Jt.li,onClick:va=>{va.preventDefault(),Xn&&(0,Pe.L9)([Xn]),(0,Pe.xg)(En.first_category_url)}},De.createElement("div",{className:Jt.top},De.createElement(et.Z,{title:En.name},De.createElement("div",{className:Jt.name},En.name)),De.createElement("img",{className:Jt.img,src:Ge.Z.IMG_SERVER+"/images/"+En.avatar_url}),De.createElement("div",{className:Jt.text,title:En.creator},En.creator),Fn&&De.createElement("div",{className:Jt.btns},De.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),De.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802")),Qn&&De.createElement("div",{className:Jt.sign},"\u516C\u5F00")),De.createElement("div",{className:Jt.bottom},En.visits>0&&De.createElement(et.Z,{title:"\u8BBF\u95EE\u91CF",placement:"bottom"},De.createElement("span",null,De.createElement("i",{className:"iconfont icon-liulanyan"}),De.createElement("span",null,En.visits))),En.course_members_count>0&&De.createElement(et.Z,{title:"\u6210\u5458",placement:"bottom"},De.createElement("span",null,De.createElement("i",{className:"iconfont icon-chengyuan"}),En.course_members_count)),En.tasks_count>0&&De.createElement(et.Z,{title:"\u4F5C\u4E1A",placement:"bottom"},De.createElement("span",null,De.createElement("i",{className:"iconfont icon-zuoye"}),En.tasks_count)),En.is_end?De.createElement("div",{style:{color:"#6B758B"}},"\u5DF2\u7ED3\u675F"):De.createElement("div",{style:{color:"#00B187"}},"\u8FDB\u884C\u4E2D"))),!En.is_accessible&&De.createElement("div",{className:Jt.lockWrap},De.createElement("img",{src:`${Ge.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),De.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!Ye.length&&De.createElement(it.Z,null)))},ft={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"},jt=te(76560),Xt=({dataSource:Qe=[],value:Ye,onChange:Bt,className:cn,style:vt={},tabBarExtraContent:kn})=>z.createElement("div",{className:We()(ft.tabs,cn),style:vt},z.createElement("div",{className:ft.tabsWrap},Qe.map((Nn,Xn)=>z.createElement("aside",{className:ft.tab,onClick:()=>{Bt(Nn.id),Nn.link&&jt.history.push(Nn.link)},key:Xn},z.createElement("div",{className:Ye===Nn.id?ft.active:""},Nn.name),(Nn==null?void 0:Nn.resetCount)==null&&(Nn==null?void 0:Nn.total)!==void 0&&z.createElement("span",null,"\uFF08",Nn==null?void 0:Nn.total,"\uFF09"),(Nn==null?void 0:Nn.resetCount)!==void 0&&(Nn==null?void 0:Nn.total)!==void 0&&z.createElement(et.Z,{title:(Nn==null?void 0:Nn.tip)!=null?Nn==null?void 0:Nn.tip:""},z.createElement("span",{style:{color:"#9096A3"}},"\uFF08",z.createElement("span",{style:{color:"#000"}},Nn==null?void 0:Nn.resetCount),"/",z.createElement("span",null,Nn==null?void 0:Nn.total),"\uFF09"))))),z.createElement("div",{className:ft.tabBar},kn)),St=({className:Qe,style:Ye={},children:Bt})=>z.createElement("div",{className:We()(Qe),style:Ye},Bt),ut={flex_box_center:"flex_box_center___e6HxQ",flex_space_between:"flex_space_between___RnXYe",flex_box_vertical_center:"flex_box_vertical_center___lVxPk",flex_box_center_end:"flex_box_center_end___bu8yv",flex_box_column:"flex_box_column___JczGj",orderWrap:"orderWrap___ZfyGX",orderIconWrap:"orderIconWrap___XTB_O",orderAsc:"orderAsc___KWHmA",orderDesc:"orderDesc___rHdbB",active:"active___a7eSP",cursorPointer:"cursorPointer___gs9kL",orderTextWrap:"orderTextWrap___teAKn"},Ve=te(38854),Te=te(20834);const he=[{id:"updated_at",name:"\u6700\u65B0\u52A8\u6001"},{id:"created_at",name:"\u6700\u65B0\u521B\u5EFA"},{id:"name",name:"\u540D\u79F0\u6392\u5E8F"}];var Ie=({sortValue:Qe,dropValue:Ye,className:Bt,onSort:cn,onDrop:vt,dataSource:kn=he})=>{var Nn;return z.createElement("div",{className:We()(ut.orderWrap,Bt)},z.createElement(Ve.Z,{dropdownRender:()=>z.createElement(Te.default,null,kn.map((Xn,Vn)=>z.createElement(Te.default.Item,{key:Vn,onClick:()=>vt(Xn.id)},Xn.name)))},z.createElement("span",{className:ut.orderTextWrap},(Nn=kn.find(Xn=>Ye===Xn.id))==null?void 0:Nn.name)),z.createElement("span",{className:ut.orderIconWrap},z.createElement("span",{className:ut.orderAsc},z.createElement("i",{className:Qe==="asc"?`iconfont icon-sanjiaoxing-up font12 ${ut.cursorPointer} ${ut.active}`:`iconfont icon-sanjiaoxing-up font12 ${ut.cursorPointer}`,onClick:()=>cn(Qe==="asc"?"desc":"asc")})),z.createElement("span",{className:ut.orderDesc},z.createElement("i",{className:Qe==="desc"?`iconfont icon-sanjiaoxing-down font12 ${ut.cursorPointer} ${ut.active}`:`iconfont icon-sanjiaoxing-down font12 ${ut.cursorPointer}`,onClick:()=>cn(Qe==="asc"?"desc":"asc")}))))},dt={flex_box_center:"flex_box_center___LCi0B",flex_space_between:"flex_space_between___hzONe",flex_box_vertical_center:"flex_box_vertical_center___ZyQRE",flex_box_center_end:"flex_box_center_end___XKM74",flex_box_column:"flex_box_column___p8LCU",btn:"btn___In02G","mediacy-round":"mediacy-round___uveEv","mediacy-default":"mediacy-default___dDxsd",default:"default___K791v",ThemeOne:"ThemeOne___iCQio"},Se=te(3113),ve=te(22688),Je=Object.defineProperty,Ne=Object.getOwnPropertySymbols,ye=Object.prototype.hasOwnProperty,nt=Object.prototype.propertyIsEnumerable,_t=(Qe,Ye,Bt)=>Ye in Qe?Je(Qe,Ye,{enumerable:!0,configurable:!0,writable:!0,value:Bt}):Qe[Ye]=Bt,gt=(Qe,Ye)=>{for(var Bt in Ye||(Ye={}))ye.call(Ye,Bt)&&_t(Qe,Bt,Ye[Bt]);if(Ne)for(var Bt of Ne(Ye))nt.call(Ye,Bt)&&_t(Qe,Bt,Ye[Bt]);return Qe},Gt=(Qe,Ye)=>{var Bt={};for(var cn in Qe)ye.call(Qe,cn)&&Ye.indexOf(cn)<0&&(Bt[cn]=Qe[cn]);if(Qe!=null&&Ne)for(var cn of Ne(Qe))Ye.indexOf(cn)<0&&nt.call(Qe,cn)&&(Bt[cn]=Qe[cn]);return Bt},Ot=(Qe,Ye,Bt)=>new Promise((cn,vt)=>{var kn=Vn=>{try{Xn(Bt.next(Vn))}catch(pn){vt(pn)}},Nn=Vn=>{try{Xn(Bt.throw(Vn))}catch(pn){vt(pn)}},Xn=Vn=>Vn.done?cn(Vn.value):Promise.resolve(Vn.value).then(kn,Nn);Xn((Bt=Bt.apply(Qe,Ye)).next())}),be=Qe=>{var Ye=Qe,{className:Bt,style:cn,children:vt,loading:kn=!1,openLoading:Nn,onClick:Xn=()=>{},size:Vn="middle",shape:pn="round",theme:En}=Ye,wn=Gt(Ye,["className","style","children","loading","openLoading","onClick","size","shape","theme"]);const[Fn,ea]=(0,z.useState)(!1),ga=(0,z.useMemo)(()=>{switch(En){case ve.Fy.THEMEONE:return dt.ThemeOne;case ve.Fy.DEFAULT:default:return dt.btn}},[En]);return z.createElement(Se.ZP,gt({onClick:(0,Ke.throttle)(Jn=>Ot(void 0,null,function*(){Nn&&ea(!0);try{yield Xn(Jn)}catch(Qn){console.log("error",Qn)}Nn&&ea(!1)}),2e3,{leading:!0,trailing:!1}),className:We()(ga,dt[`${Vn}-${pn}`],Bt),style:cn,size:Vn,shape:pn,loading:Fn||kn},wn),vt)},st={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"},ct=({className:Qe,style:Ye,children:Bt=null,onClick:cn,title:vt})=>z.createElement("div",{className:We()(st.head,Qe),style:Ye},z.createElement("span",{className:"primary-hover",onClick:cn},z.createElement("i",{className:"iconfont icon-fanhui2 font12"}),"\u8FD4\u56DE"),z.createElement("b",{title:vt},vt),z.createElement("div",{className:st.node},Bt)),Nt={flex_box_center:"flex_box_center___AlHuF",flex_space_between:"flex_space_between___vN2LW",flex_box_vertical_center:"flex_box_vertical_center___Ac7D2",flex_box_center_end:"flex_box_center_end___y38I7",flex_box_column:"flex_box_column___iQE6P",btns:"btns___sNgTb",confirm:"confirm___Ozirl",cancel:"cancel___aiq1I"},on=({confirmShow:Qe=!0,confirmTitle:Ye,confirmClick:Bt,cancelShow:cn=!0,cancelTitle:vt,cancelClick:kn,className:Nn,style:Xn,confirmLoading:Vn=!1})=>z.createElement("div",{className:We()(Nt.btns,Nn),style:Xn},Qe&&z.createElement(Se.ZP,{loading:Vn,onClick:Bt,type:"primary",className:Nt.confirm},Ye),cn&&z.createElement(Se.ZP,{onClick:kn,className:Nt.cancel},vt)),Qt={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"},Tn=({className:Qe,style:Ye={},LeftContent:Bt,children:cn,RightContent:vt})=>z.createElement("div",{className:We()(Qt.fixedBottom,Qe),style:Ye},z.createElement("div",{className:Qt.wrap},z.createElement("div",{className:Qt.left},Bt),z.createElement("div",{className:Qt.center},cn),z.createElement("div",{className:Qt.right},vt))),Lt={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"},Wt=({className:Qe,style:Ye={},dataSource:Bt=[]})=>z.createElement("div",{className:We()(Lt.crumbs,Qe),style:Ye},Bt.map((cn,vt)=>vt<Bt.length-1?z.createElement(z.Fragment,{key:vt},cn.path||cn.onClick?z.createElement("span",{className:Lt.hover,onClick:cn!=null&&cn.onClick?cn.onClick:()=>jt.history.push(cn.path)},cn.name):z.createElement("span",null,cn.name),z.createElement("span",null,"\xA0",">","\xA0")):z.createElement("span",{key:vt,style:{color:"#5F6368"}},cn.name))),fn=te(31797),un=Object.defineProperty,Hn=Object.defineProperties,rt=Object.getOwnPropertyDescriptors,Pt=Object.getOwnPropertySymbols,an=Object.prototype.hasOwnProperty,Pn=Object.prototype.propertyIsEnumerable,Fe=(Qe,Ye,Bt)=>Ye in Qe?un(Qe,Ye,{enumerable:!0,configurable:!0,writable:!0,value:Bt}):Qe[Ye]=Bt,ht=(Qe,Ye)=>{for(var Bt in Ye||(Ye={}))an.call(Ye,Bt)&&Fe(Qe,Bt,Ye[Bt]);if(Pt)for(var Bt of Pt(Ye))Pn.call(Ye,Bt)&&Fe(Qe,Bt,Ye[Bt]);return Qe},Rt=(Qe,Ye)=>Hn(Qe,rt(Ye)),zt=(Qe,Ye)=>{var Bt={};for(var cn in Qe)an.call(Qe,cn)&&Ye.indexOf(cn)<0&&(Bt[cn]=Qe[cn]);if(Qe!=null&&Pt)for(var cn of Pt(Qe))Ye.indexOf(cn)<0&&Pn.call(Qe,cn)&&(Bt[cn]=Qe[cn]);return Bt};const{Countdown:en}=fn.default;var ln=Qe=>{var Ye=Qe,{onChange:Bt}=Ye,cn=zt(Ye,["onChange"]);const[vt,kn]=(0,z.useState)(null);(0,z.useEffect)(()=>{typeof vt=="number"&&vt>=0&&Bt(vt)},[vt]);const Nn=Xn=>{const Vn=Math.floor(Xn/1e3);kn(Vn)};return z.createElement(en,Rt(ht({},cn),{onChange:Nn}))},qe={ClassRoomItem:"ClassRoomItem___F4pL0",TitleDom:"TitleDom___DB76T"},Ze=({DataProps:Qe,className:Ye,style:Bt={}})=>{var cn;return z.createElement("div",{className:We()("rounded-40px bg-white py-10px pb-30px px-30px flex gap-22px current h-full",qe.ClassRoomItem,Ye),style:Bt,onClick:()=>{(0,Pe.xg)(Qe==null?void 0:Qe.first_category_url)}},z.createElement("div",{className:"flex flex-col item-center"},z.createElement("img",{src:`${(cn=Ge.Z)==null?void 0:cn.IMG_SERVER}/images/${Qe==null?void 0:Qe.avatar_url}`,className:"rounded-full",style:{height:76,width:76,marginTop:"-24px"}}),(Qe==null?void 0:Qe.subject_identifier)&&z.createElement("div",{className:"mt-40px"},z.createElement("div",{className:"rounded-full",style:{background:"rgba(33,202,159,0.1)",border:"1px solid #6BFF98",color:"#0EA17B"}},"\u5F00\u653E\u8BFE\u7A0B"),z.createElement("div",{className:"rounded-full",style:{background:"rgba(255,160,0,0.1)",border:"1px solid #FFC055",color:"#C97319"}},"\u5F00\u653E\u8BFE\u5802"))),z.createElement("div",{className:"flex-1 flex flex-col justify-between gap-10px"},z.createElement("div",{className:"multi_ellipsis2",style:{height:48}},!!(Qe!=null&&Qe.is_public)&&z.createElement("div",{className:"c-white rounded-4px mr-4px h-24px w-42px item-center justify-center",style:{background:"#21CA9F",border:"1px solid #6BFF98",display:"inline-flex"}},"\u516C\u5F00"),z.createElement("span",{className:We()("text-16px font-medium",qe.TitleDom)},Qe==null?void 0:Qe.name)),z.createElement("div",{className:"c-grey-333 font-medium"},Qe==null?void 0:Qe.creator),z.createElement("div",{className:"c-grey-333"},"\u6210\u5458\uFF1A",Qe==null?void 0:Qe.course_members_count),z.createElement("div",{className:"c-grey-333 flex item-center justify-between"},z.createElement("div",null,"\u4F5C\u4E1A\uFF1A",Qe==null?void 0:Qe.tasks_count),Qe!=null&&Qe.is_end?z.createElement("div",{style:{color:"#5F6A95"}},"\u5DF2\u7ED3\u675F"):z.createElement("div",{style:{color:"#37AD83"}},"\u8FDB\u884C\u4E2D"))))},Ct=Object.defineProperty,$t=Object.getOwnPropertySymbols,Zt=Object.prototype.hasOwnProperty,xn=Object.prototype.propertyIsEnumerable,Cn=(Qe,Ye,Bt)=>Ye in Qe?Ct(Qe,Ye,{enumerable:!0,configurable:!0,writable:!0,value:Bt}):Qe[Ye]=Bt,mn=(Qe,Ye)=>{for(var Bt in Ye||(Ye={}))Zt.call(Ye,Bt)&&Cn(Qe,Bt,Ye[Bt]);if($t)for(var Bt of $t(Ye))xn.call(Ye,Bt)&&Cn(Qe,Bt,Ye[Bt]);return Qe},na=({DataProps:Qe=[],selectValue:Ye,onChange:Bt,className:cn,style:vt={},extra:kn,classNameItem:Nn,styleItem:Xn={},barHidden:Vn})=>{const[pn,En]=(0,z.useState)();return(0,z.useEffect)(()=>{En(Array.isArray(Ye)?Ye:[Ye])},[Ye]),z.createElement("div",{className:We()("flex px-20px py-10px gap-40px",cn),style:mn({borderBottom:"1px solid #D3F0FF"},vt)},Qe==null?void 0:Qe.map(wn=>z.createElement("div",{key:wn==null?void 0:wn.id,className:We()("flex item-center justify-center current c-grey-333 text-16 relative",Nn,wn==null?void 0:wn.className),style:mn(mn({color:pn!=null&&pn.includes(wn==null?void 0:wn.id)?"#1890FF":"",minWidth:88},Xn),(wn==null?void 0:wn.style)||{}),onClick:Fn=>{Bt==null||Bt({domEvent:Fn,item:wn}),wn!=null&&wn.link&&jt.history.push(wn==null?void 0:wn.link)}},wn==null?void 0:wn.name,!Vn&&(pn==null?void 0:pn.includes(wn==null?void 0:wn.id))&&z.createElement("div",{className:"absolute w-full h-2px",style:{background:"#1890FF",bottom:"-10px",left:0}}))),z.createElement("div",{className:"ml-auto"},kn))},sn=Object.defineProperty,Un=Object.defineProperties,oa=Object.getOwnPropertyDescriptors,ca=Object.getOwnPropertySymbols,la=Object.prototype.hasOwnProperty,$e=Object.prototype.propertyIsEnumerable,Ht=(Qe,Ye,Bt)=>Ye in Qe?sn(Qe,Ye,{enumerable:!0,configurable:!0,writable:!0,value:Bt}):Qe[Ye]=Bt,yt=(Qe,Ye)=>{for(var Bt in Ye||(Ye={}))la.call(Ye,Bt)&&Ht(Qe,Bt,Ye[Bt]);if(ca)for(var Bt of ca(Ye))$e.call(Ye,Bt)&&Ht(Qe,Bt,Ye[Bt]);return Qe},qt=(Qe,Ye)=>Un(Qe,oa(Ye)),Sn=({value:Qe,onChange:Ye,onInputChange:Bt,className:cn,style:vt={},InputProps:kn})=>{const[Nn,Xn]=(0,z.useState)(Qe);return z.createElement("div",{className:We()("flex item-center rounded-full px-10px py-2px",cn),style:yt({background:"linear-gradient( #E4F6FF 0%, #EAF3FF 100%)",border:"1px solid #fff",boxShadow:"inset 0px 1px 3px 0px rgba(133,188,255,0.5)"},vt)},z.createElement(oe.default,qt(yt({bordered:!1},kn),{onChange:Vn=>{Xn(Vn.target.value),Bt==null||Bt(encodeURIComponent(Vn.target.value))},onPressEnter:Vn=>{Ye==null||Ye({domEvent:Vn,item:{value:Nn}})}})),z.createElement("img",{className:"h-22px current",src:te(25365),height:22,onClick:Vn=>{Ye==null||Ye({domEvent:Vn,item:{value:Nn}})}}))}},17904:function(xt,It,te){"use strict";te.d(It,{Z:function(){return ie}});var z=te(59301);function ie(Ae,je){const Ee=(0,z.useRef)();(0,z.useEffect)(()=>{Ee.current=Ae}),(0,z.useEffect)(()=>{function xe(){Ee.current()}if(je!==null){let re=setInterval(xe,je);return()=>clearInterval(re)}},[je])}},55956:function(xt,It,te){"use strict";te.d(It,{h:function(){return z}});var z=(ie=>(ie[ie.NOMATCH=-1]="NOMATCH",ie[ie.OK=0]="OK",ie[ie.TIMEOUT=2]="TIMEOUT",ie[ie.PODFAILURE=3]="PODFAILURE",ie[ie.COMPILEFAILURE=4]="COMPILEFAILURE",ie[ie.EXECUTEFAILURE=5]="EXECUTEFAILURE",ie[ie.HIDE_COMPILE_STATUS=11]="HIDE_COMPILE_STATUS",ie))(z||{})},50582:function(xt,It,te){"use strict";te.d(It,{H7:function(){return y},MK:function(){return ae},MU:function(){return ze},X6:function(){return mt},bM:function(){return Ke},fi:function(){return a},fu:function(){return We},n4:function(){return b},rX:function(){return Re},vl:function(){return E},zO:function(){return Xe}});var z=te(82093),ie=Object.defineProperty,Ae=Object.getOwnPropertySymbols,je=Object.prototype.hasOwnProperty,Ee=Object.prototype.propertyIsEnumerable,xe=(x,ee,ne)=>ee in x?ie(x,ee,{enumerable:!0,configurable:!0,writable:!0,value:ne}):x[ee]=ne,re=(x,ee)=>{for(var ne in ee||(ee={}))je.call(ee,ne)&&xe(x,ne,ee[ne]);if(Ae)for(var ne of Ae(ee))Ee.call(ee,ne)&&xe(x,ne,ee[ne]);return x};function We(x,ee){return(0,z.U2)(`myproblems/${x}.json`,re({hidePopLogin:!0},ee||{}))}function Ke(x,ee){return(0,z.v_)(`myproblems/${x}/code_submit.json`,ee)}function ze(x,ee){return(0,z.v_)(`myproblems/${x}/code_debug.json`,ee)}function Xe(x,ee){return ee.language&&(ee.language=encodeURIComponent(ee.language)),(0,z.U2)(`myproblems/${x}/submit_records.json`,ee)}function mt(x){return(0,z.U2)("myproblems/record_detail.json",{id:x})}function Re(x,ee){return(0,z.U2)(`myproblems/${x}/result.json`,{mode:ee})}function ae(x,ee){return(0,z.v_)(`myproblems/${x}/add_notes.json`,ee)}function y(x,ee){return(0,z.v_)(`myproblems/${x}/restore_initial_code.json`,ee)}function a(x){return(0,z.v_)(`myproblems/${x}/sync_code.json`)}function b(x,ee){return(0,z.v_)(`myproblems/${x}/update_code.json`,ee)}function E(x,ee){return(0,z.v_)(`discusses/${x}/plus.json`,ee)}},90177:function(xt,It,te){"use strict";te.d(It,{D0:function(){return re},R8:function(){return je},jw:function(){return xe},y3:function(){return We}});var z=te(57809),ie=te(59301);const{Option:Ae}=z.default;var je=(Ke=>(Ke[Ke.language=0]="language",Ke[Ke.difficult=1]="difficult",Ke[Ke.category=2]="category",Ke[Ke.openOrNot=3]="openOrNot",Ke))(je||{});const Ee={0:[{title:"C",key:"C"},{title:"C++",key:"C++"},{title:"Python",key:"Python"},{title:"Java",key:"Java"}],1:[{title:"\u7B80\u5355",key:1},{title:"\u4E2D\u7B49",key:2},{title:"\u56F0\u96BE",key:3}],2:[{title:"\u7A0B\u5E8F\u8BBE\u8BA1",key:1},{title:"\u7B97\u6CD5",key:2}],3:[{title:"\u516C\u5F00",key:1},{title:"\u79C1\u6709",key:0}]};function xe(Ke){return Ee[Ke].map(ze=>ie.createElement(Ae,{key:ze.title,value:ze.key}," ",ze.title," "))}function re(Ke,ze){Ke.map(Xe=>{const{id:mt,name:Re,sub_disciplines:ae}=Xe;let y={value:mt,label:Re};ze.push(y),ae&&ae.length>0&&(y.children=[],re(ae,y.children))})}function We(Ke,ze){var Xe;let mt=[];for(let Re=0;Re<Ke.length;Re++){const ae=Ke[Re];if(((Xe=ae.sub_disciplines)==null?void 0:Xe.length)>0){mt[0]=ae.id;for(let y=0;y<ae.sub_disciplines.length;y++){const a=ae.sub_disciplines[y];if(a.id===ze)return mt[1]=a.id,[mt,a.tag_disciplines||a.sub_disciplines||[]]}}}return[mt,[]]}},73271:function(xt,It,te){"use strict";te.r(It),te.d(It,{default:function(){return Me}});var z=te(59301),ie=te(76560),Ae=te(78241),je=te(8591),Ee=te(43418),xe=te(66104),re=te(5112),We=te(95237),Ke=te(19842),ze=te(57809),Xe=te(98228),mt=te(6848),Re=te(54580),ae=te(1710),y=te(3113),a=te(90524),b={bgWrapper:"bgWrapper___yZrnF",bg:"bg___DMAyj",main:"main___l1oS8",addTypeRadio:"addTypeRadio___eH2zI",formWrap:"formWrap___ydPvR",questionTypeRadio:"questionTypeRadio___jQze1",difficultyWrapper:"difficultyWrapper___W9ML_",cascaderWrapper:"cascaderWrapper___AUd1O",courseCascader:"courseCascader___UEeI3",knowledgeWrapper:"knowledgeWrapper___sIao8",treeWrapper:"treeWrapper___t5heq",uploadTips:"uploadTips___v_XSU",uploadTipsIcon:"uploadTipsIcon___gfQUD",downloadBtn:"downloadBtn___BqNPb",uploadBtn:"uploadBtn___p7bAk",buttonFixed:"buttonFixed___j1UZJ",buttonWrap:"buttonWrap___FfqsJ",button:"button___TuRr2",topicWrap:"topicWrap___v5_lJ",cascaderPopup:"cascaderPopup___nXZ4B",unfold:"unfold____IJ2y"},E=te(77411),x=te(49661),ee=te(62363),ne=te(61485),oe=te(82093),le=te(30008),ue=te(90177),ge=te(24334),Ce=te(70610),pe=te(59301),Be=Object.defineProperty,de=Object.defineProperties,et=Object.getOwnPropertyDescriptors,Oe=Object.getOwnPropertySymbols,Ge=Object.prototype.hasOwnProperty,Pe=Object.prototype.propertyIsEnumerable,ke=(De,Et,Kt)=>Et in De?Be(De,Et,{enumerable:!0,configurable:!0,writable:!0,value:Kt}):De[Et]=Kt,ot=(De,Et)=>{for(var Kt in Et||(Et={}))Ge.call(Et,Kt)&&ke(De,Kt,Et[Kt]);if(Oe)for(var Kt of Oe(Et))Pe.call(Et,Kt)&&ke(De,Kt,Et[Kt]);return De},Ue=(De,Et)=>de(De,et(Et)),it=(De,Et,Kt)=>new Promise((ft,jt)=>{var Le=St=>{try{vn(Kt.next(St))}catch(ut){jt(ut)}},Xt=St=>{try{vn(Kt.throw(St))}catch(ut){jt(ut)}},vn=St=>St.done?ft(St.value):Promise.resolve(St.value).then(Le,Xt);vn((Kt=Kt.apply(De,Et)).next())});const Mt=De=>De==="SINGLE"||De==="MULTIPLE"?"SELECT":De,_e=De=>De.map(Et=>Ue(ot({},Et),{is_answer:Et.is_answer?1:0})),Tt=({form:De,currentItemType:Et,editId:Kt})=>({SELECT:pe.createElement(E.uh,{form:De,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u9009\u62E9\u9898\u9898\u5E72\u5185\u5BB9",titleKey:"name",choiceKey:"choices",analysisKey:"analysis",choiceOptionsPath:"choices",choiceTextKey:"choice_text",answerKey:"is_answer",allowChangeMode:!0}),JUDGMENT:pe.createElement(E.ZZ,{form:De,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u5224\u65AD\u9898\u9898\u5E72\u5185\u5BB9",choiceKey:"choices"}),COMPLETION:pe.createElement(E.u8,{form:De,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u9898\u5E72\u5E76\u8BBE\u7F6E\u586B\u7A7A\u9879",scoreByBlank:!1,answerKey:"standard_answers"}),SUBJECTIVE:pe.createElement(E.Wk,{showKeywords:!0,isMustKeyWords:!1,form:De,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u7B80\u7B54\u9898\u9898\u5E72\u5185\u5BB9"}),COMBINATION:pe.createElement(E.rL,{form:De,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u7EC4\u5408\u9898\u9898\u5E72\u5185\u5BB9",choiceKey:"choices",withScore:!1}),BPROGRAM:pe.createElement(E.tc,{form:De,hackidentifier:Kt,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u9898\u5E72\u5E76\u8BBE\u7F6E\u586B\u7A7A\u9879",scoreByBlank:!1,answerKey:"standard_answers"})})[Et]||null,Jt=({problemset:De,loading:Et,dispatch:Kt})=>{var ft,jt,Le,Xt;const vn=(0,ie.useParams)(),[St]=(0,ie.useSearchParams)(),[ut]=Ae.default.useForm(),[Ve,Te]=(0,z.useState)(),[he,se]=(0,z.useState)([]),Ie=(0,z.useRef)(),[dt,Se]=(0,z.useState)(1),[ve,Je]=(0,z.useState)([]),[Ne,ye]=(0,z.useState)(),[nt,_t]=(0,z.useState)(!1),[gt,Gt]=(0,z.useState)(),[Ot,Ut]=(0,z.useState)("SELECT"),be=Ae.default.useWatch("knowledge",ut),[st,pt]=(0,z.useState)([]);(0,z.useEffect)(()=>{Nt()},[]);const ct=rt=>rt.map(Pt=>({title:Pt.name,value:Pt.group_id,children:ct(Pt.children)})),Nt=()=>it(void 0,null,function*(){const rt=yield(0,Ce.NZ)({});if(rt!=null&&rt.data){const Pt=[{title:"\u6839\u76EE\u5F55",value:0,children:ct(rt.data||[])}];pt(Pt)}});(0,z.useEffect)(()=>(Kt({type:"globalSetting/footerToggle",payload:!1}),()=>{Kt({type:"globalSetting/footerToggle",payload:!0})}),[]),(0,z.useEffect)(()=>(dt===1&&window.addEventListener("beforeunload",on),()=>{window.removeEventListener("beforeunload",on)}),[dt]),(0,z.useEffect)(()=>{const rt=St.get("pages");Te(rt);const Pt=vn.id;Ie.current=Pt},[]);const Vt=vn.type==="edit";(0,z.useEffect)(()=>{function rt(){return it(this,null,function*(){const Pt=yield Kt({type:"problemset/getEditDisciplines",payload:{source:"new_question"}})})}rt(),St.get("type")==="1"?Ie.current&&Kt({type:"problemset/getEditDataBprogram",payload:{id:Ie.current}}):Ie.current&&Kt({type:"problemset/getEditData",payload:{id:Ie.current}})},[]),(0,z.useEffect)(()=>{var rt,Pt,an,Pn,Fe,ht;if(!Vt)Gt({item_type:"SELECT",choices:Array.from({length:4},()=>({choice_text:"",is_answer:0})),difficulty:2,item_banks_group_id:[Number(St.get("group_id"))||0]});else{if(!(De!=null&&De.editData))return;const{discipline:Rt,sub_discipline:zt,sub_discipline_id:en,tag_disciplines:hn,item_type:ln,choices:qe=[],sub_item_banks:tt=[]}=(De==null?void 0:De.editData)||{};if(St.get("type")==="1"){if(Ut("BPROGRAM"),(rt=De==null?void 0:De.disciplinesData)!=null&&rt.disciplines){const[Ze,Ct]=(0,ue.y3)((Pt=De==null?void 0:De.disciplinesData)==null?void 0:Pt.disciplines,en),$t={item_type:"BPROGRAM",standard_answers:De.editData.standard_answer,difficulty:De.editData.difficult,item_banks_group_id:De.editData.item_banks_group_id,course:Ze,knowledge:(an=De.editData)==null?void 0:an.tag_discipline_ids,hack:ot({},De.editData),hack_codes:Ue(ot({},De.editData),{code:ge.Base64.decode(((Pn=De.editData)==null?void 0:Pn.code)||"")}),hack_sets:ot({},(ht=(Fe=De.editData)==null?void 0:Fe.hack_sets)==null?void 0:ht[0])};Gt($t),en&&un(en).then(Zt=>{})}}else{const Ze=Ue(ot({},De==null?void 0:De.editData),{item_type:Mt(ln),choices:_e(qe),course:[Rt==null?void 0:Rt.id,zt==null?void 0:zt.id],knowledge:hn==null?void 0:hn.map(Ct=>Ct.id),sub_item_banks:tt.map(Ct=>Ue(ot({},Ct),{choices:_e(Ct.choices)}))});Gt(Ze),Ut(Mt(ln)),zt!=null&&zt.id&&un(zt==null?void 0:zt.id).then(Ct=>{var $t;const Zt=Ct==null?void 0:Ct.map(xn=>xn.id);Zt!=null&&Zt.includes(($t=hn==null?void 0:hn[0])==null?void 0:$t.id)||se(xn=>[...xn,...hn])})}}},[De.editData,De==null?void 0:De.disciplinesData]);const on=rt=>{rt.preventDefault(),rt.returnValue=""},Qt=rt=>{const{course:Pt,knowledge:an,difficulty:Pn,item_banks_group_id:Fe}=ut.getFieldsValue(),ht={item_type:rt,course:Pt,knowledge:an,difficulty:Pn,item_banks_group_id:Fe};switch(ut.resetFields(),ut.setFieldsValue(ht),Ut(rt),rt){case"SELECT":ut.setFieldsValue({choices:Array.from({length:4},()=>({choice_text:"",is_answer:0}))});break;case"JUDGMENT":ut.setFieldsValue({choices:[{choice_text:"\u6B63\u786E",is_answer:0},{choice_text:"\u9519\u8BEF",is_answer:0}]});break;case"COMPLETION":ut.setFieldsValue({standard_answers:[],downcase:!0,no_space:!0});break;case"SUBJECTIVE":ut.setFieldsValue({answer_texts:[],use_keywords:!0});break;case"COMBINATION":break;case"PROGRAM":break;case"BPROGRAM":ut.setFieldsValue({hack:{time_limit:3,allow_student_debug:!1,submit_rule:1}});break}},bn=(rt,Pt)=>{var an;if(console.log(rt,"changedValues"),rt!=null&&rt.item_type){if((rt==null?void 0:rt.item_type)==="PROGRAM"){const{course:Pn,knowledge:Fe,difficulty:ht,item_banks_group_id:Rt}=ut.getFieldsValue();console.log({course:Pn,knowledge:Fe,difficulty:ht,item_banks_group_id:Rt},"resetInitValues"),(0,x.xg)(`/problems/newcreate?discipline_id=${(Pn==null?void 0:Pn[0])||""}&sub_discipline_id=${(Pn==null?void 0:Pn[1])||""}&difficult=${ht||""}&banksIds=${Rt||""}&tagIds=${Fe==null?void 0:Fe.map(en=>en.value).join(",")}`)}Qt(rt==null?void 0:rt.item_type)}if(rt!=null&&rt.course){const[Pn,Fe]=rt.course;un(Fe),ut.setFieldsValue({knowledge:[]})}if((an=rt==null?void 0:rt.hack)!=null&&an.sub_discipline_id){const[Pn,Fe]=rt.hack.sub_discipline_id;un(Fe),ut.setFieldsValue({hack:{tag_discipline_ids:[]}})}},Tn=rt=>{se([...he,ot({},rt)])},[Lt,Ft]=(0,z.useState)("");(0,z.useEffect)(()=>{Ft(new Date)},[ut.getFieldValue("course")]);const Wt=()=>it(void 0,null,function*(){var rt,Pt,an,Pn;const Fe=ut.getFieldsValue(),ht=Ze=>{if(!(Ze!=null&&Ze.length))return!1;const Ct=Ze.map(Zt=>{var xn;return(xn=Zt.choice_text)==null?void 0:xn.trim().replace(/^\s+|\s+$/g,"")});return new Set(Ct).size!==Ct.length};if(Fe.item_type==="SELECT"&&ht(Fe.choices)){je.ZP.error("\u9009\u62E9\u9898\u9009\u9879\u5185\u5BB9\u4E0D\u80FD\u91CD\u590D\uFF0C\u8BF7\u4FEE\u6539\u540E\u518D\u4FDD\u5B58");return}if(Fe.item_type==="COMBINATION"&&((rt=Fe.sub_item_banks)==null?void 0:rt.some(Ct=>Ct.item_type==="SINGLE"||Ct.item_type==="MULTIPLE"?ht(Ct.choices):!1))){je.ZP.error("\u9009\u62E9\u9898\u9009\u9879\u5185\u5BB9\u4E0D\u80FD\u91CD\u590D\uFF0C\u8BF7\u4FEE\u6539\u540E\u518D\u4FDD\u5B58");return}(Fe==null?void 0:Fe.item_type)=="COMPLETION"&&Fe.is_ordered==null&&(Fe.is_ordered=!0);let{course:Rt=[],item_type:zt,item_banks_group_id:en,knowledge:hn=[],choices:ln}=Fe||{};const[qe,tt]=Rt;if(dt===1){if(zt==="PROGRAM"){(0,x.xg)("/problems/newcreate");return}let Ze=[];(hn==null?void 0:hn.length)>0&&((Pt=hn==null?void 0:hn[0])!=null&&Pt.value?hn==null||hn.map(xn=>{Ze.push(xn==null?void 0:xn.value)}):Ze=hn);const Ct=Array.isArray(en)?en:[en];if(zt==="BPROGRAM"){let xn=Ue(ot({},Fe),{knowledge:Ze,item_banks_group_ids:Ct,hack:Ue(ot({},Fe==null?void 0:Fe.hack),{sub_discipline_id:tt,difficult:Fe.difficulty,item_banks_group_ids:Ct,tag_discipline_ids:Ze}),hack_codes:Ue(ot({},Fe.hack_codes),{code:ge.Base64.encode(Fe.hack_codes.code)}),hack_sets:[ot({},Fe.hack_sets)],update_hack_sets:[ot({},Fe.hack_sets)],is_blank:!0});console.log(xn,"datas"),Vt||sessionStorage.projectFill?(yield(0,oe.ZP)(`/api/problems/${Ie.current||sessionStorage.projectFill}.json`,{method:"put",body:ot({},xn)})).status===0&&ie.history.replace(`/problemset?tabs_key=${St.get("tabs_key")||"0"}${St.get("tabs_key")!=="3"?`&group_id=${Fe.item_banks_group_id}`:""}&page=${St.get("page")}`):(yield(0,oe.ZP)("/api/problems.json",{method:"post",body:ot({},xn)})).status===0&&Ee.default.confirm({title:"\u63D0\u793A",centered:!0,icon:null,content:"\u8BD5\u9898\u65B0\u589E\u6210\u529F",okText:"\u7EE7\u7EED\u65B0\u589E",cancelText:"\u8FD4\u56DE\u5217\u8868",onOk(){Qt(Ot)},onCancel(){ie.history.replace(`/problemset?group_id=${en}`)}});return}if(zt==="SELECT"&&(zt=ln.filter(xn=>xn.is_answer===1).length>1?"MULTIPLE":"SINGLE"),zt==="COMBINATION"){let{sub_item_banks:xn}=Fe||{};Fe.sub_item_banks=xn==null?void 0:xn.map(Cn=>ot({},Cn))}const $t=Ue(ot({},Fe),{discipline_id:qe,sub_discipline_id:tt,item_banks_group_ids:Ct,tag_discipline_ids:Ze,knowledge:Ze,item_type:zt});let Zt;Vt?Zt=yield Kt({type:"problemset/editProblemset",payload:Ue(ot({},$t),{id:Ie.current})}):Zt=yield Kt({type:"problemset/addProblemset",payload:$t}),Zt.status===0&&(Vt?ie.history.replace(`/problemset?tabs_key=${St.get("tabs_key")||"0"}${St.get("tabs_key")!=="3"?`&group_id=${en}`:""}&page=${St.get("page")}`):Ee.default.confirm({title:"\u63D0\u793A",centered:!0,icon:null,content:"\u8BD5\u9898\u65B0\u589E\u6210\u529F",okText:"\u7EE7\u7EED\u65B0\u589E",cancelText:"\u8FD4\u56DE\u5217\u8868",onOk(){Qt(Ot)},onCancel(){ie.history.replace(`/problemset?group_id=${en}`)}}))}else{if((ve==null?void 0:ve.length)<=0){je.ZP.info("\u8BF7\u4E0A\u4F20\u8BD5\u9898\u6587\u4EF6");return}_t(!0);const Ze=new FormData;Ze.append("file",ve[0]),Ze.append("sub_discipline_id",tt);const Ct=yield(0,oe.ZP)("/api/item_banks/file_import.json",{method:"post",body:Ze},!0);if(_t(!1),(Ct==null?void 0:Ct.status)===0){if(((an=Ct==null?void 0:Ct.fail)==null?void 0:an.length)>0){ye(Ct==null?void 0:Ct.fail),je.ZP.error("\u4E0A\u4F20\u5931\u8D25\u9898\u6570\u4E3A"+((Pn=Ct==null?void 0:Ct.fail)==null?void 0:Pn.length)+"\uFF0C\u53EF\u5728\u5E95\u90E8\u8BD5\u9898\u5217\u8868\u67E5\u770B\u9519\u8BEF\u539F\u56E0\u3002");return}ut.setFieldsValue({course:[]}),Je([]),ye([]),je.ZP.info("\u4E0A\u4F20\u6210\u529F")}}}),fn=rt=>it(void 0,null,function*(){var Pt,an,Pn,Fe,ht;rt.errorFields[0].name.includes("standard_answers")?((Pn=(an=(Pt=rt==null?void 0:rt.errorFields)==null?void 0:Pt[0])==null?void 0:an.errors)==null?void 0:Pn[0])==="\u8BF7\u5148\u5728\u9898\u5E72\u4E2D\u63D2\u5165\u586B\u7A7A\u9879"?((0,x.pE)(),je.ZP.error("\u8BF7\u5148\u5728\u9898\u5E72\u4E2D\u63D2\u5165\u586B\u7A7A\u9879")):je.ZP.error("\u586B\u7A7A\u9879\u7B54\u6848\u4E0D\u80FD\u4E3A\u7A7A"):je.ZP.error(rt.errorFields[0].errors[0]),ut.scrollToField((ht=(Fe=rt==null?void 0:rt.errorFields)==null?void 0:Fe[0])==null?void 0:ht.name,{behavior:"smooth",block:"center"})}),un=rt=>it(void 0,null,function*(){const Pt=yield Kt({type:"exercise/getTagDiscipline",payload:{sub_discipline_id:rt}});return se(Pt.tag_disciplines),Pt==null?void 0:Pt.tag_disciplines}),Hn=[{title:"\u9898\u76EE\u540D\u79F0",dataIndex:"name",key:"name"},{title:"\u9519\u8BEF\u539F\u56E0",dataIndex:"message",key:"message"}];return pe.createElement("div",{className:b.bgWrapper},pe.createElement("section",{className:b.bg},pe.createElement(xe.Z,{className:"mb20",separator:">"},pe.createElement(xe.Z.Item,{href:"/problemset"},"\u8BD5\u9898\u5E93"),pe.createElement(xe.Z.Item,null,Vt?"\u7F16\u8F91":"\u65B0\u589E","\u8BD5\u9898")),pe.createElement("div",{className:b.main},!Vt&&pe.createElement(re.ZP.Group,{className:b.addTypeRadio,optionType:"button",options:[{label:"\u5355\u4E2A\u6DFB\u52A0",value:1},{label:"\u6279\u91CF\u5BFC\u5165",value:2},{label:pe.createElement("div",null,pe.createElement("img",{width:26,style:{position:"absolute",top:-5},src:le.$}),pe.createElement("span",null,"\u667A\u80FD\u5BFC\u5165")),value:3}],onChange:rt=>{Se(rt.target.value),Je([]),ye([])},value:dt}),dt===1&&gt&&pe.createElement(Ae.default,{form:ut,className:b.formWrap,layout:"horizontal",colon:!1,onValuesChange:bn,onFinish:Wt,onFinishFailed:fn,initialValues:gt},pe.createElement(Ae.default.Item,{label:"\u8BD5\u9898\u7C7B\u578B",name:"item_type",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u9898\u578B"}]},pe.createElement(re.ZP.Group,{disabled:Vt,optionType:"button",className:b.questionTypeRadio,options:[{label:"\u9009\u62E9\u9898",value:"SELECT"},{label:"\u5224\u65AD\u9898",value:"JUDGMENT"},{label:"\u586B\u7A7A\u9898",value:"COMPLETION"},{label:"\u7B80\u7B54\u9898",value:"SUBJECTIVE"},{label:"\u7F16\u7A0B\u9898",value:"PROGRAM"},{label:"\u7EC4\u5408\u9898",value:"COMBINATION"},{label:"\u7A0B\u5E8F\u586B\u7A7A\u9898",value:"BPROGRAM"}]})),pe.createElement("div",{style:{display:Ot==="PROGRAM"?"none":"flex",background:"#F6F7F9",alignItems:"center",padding:"27px 20px"}},pe.createElement(We.Z,{align:"middle"},pe.createElement(Ae.default.Item,{label:"\u77E5\u8BC6\u70B9",labelCol:{flex:"62px"},className:b.cascaderWrapper,name:"course"},pe.createElement(Ke.Z,{className:b.courseCascader,popupClassName:b.cascaderPopup,dropdownMenuColumnStyle:{padding:"8px 12px",fontSize:14},showArrow:!0,placeholder:"\u8BF7\u9009\u62E9\u65B9\u5411&\u8BFE\u7A0B",allowClear:!0,options:De.courseOptions,style:{width:177},onChange:rt=>{rt||ut.setFieldsValue({knowledge:[]})}})),pe.createElement(Ae.default.Item,{label:"",name:"knowledge",className:"mb0"},pe.createElement(ee.N,{key:Lt,height:260,selectvalues:be,subId:((ft=ut.getFieldsValue().course)==null?void 0:ft[1])||((Xt=(Le=(jt=ut.getFieldsValue())==null?void 0:jt.hack)==null?void 0:Le.sub_discipline_id)==null?void 0:Xt[1]),knowledgeOptions:he,onAddKnowledgeFinish:Tn,className:b.knowledgeWrapper}))),pe.createElement(Ae.default.Item,{name:"difficulty",label:"\u96BE\u5EA6",className:b.difficultyWrapper,rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u96BE\u5EA6"}]},pe.createElement(ze.default,{style:{width:120,height:46}},pe.createElement(ze.default.Option,{value:1},"\u7B80\u5355"),pe.createElement(ze.default.Option,{value:2},"\u9002\u4E2D"),pe.createElement(ze.default.Option,{value:3},"\u56F0\u96BE"))),pe.createElement(Ae.default.Item,{label:"\u653E\u5165\u6587\u4EF6\u5939\u76EE\u5F55",className:b.difficultyWrapper,rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u6587\u4EF6\u5939"}],name:"item_banks_group_id",style:{marginLeft:"auto"}},pe.createElement(Xe.default,{style:{width:270},treeDefaultExpandedKeys:[0],placeholder:"\u8BF7\u9009\u62E9\u6587\u4EF6\u5939",popupClassName:b.treeWrapper,treeData:st}))),pe.createElement("div",{className:b.topicWrap},pe.createElement(Tt,{editId:Ie.current,currentItemType:Ot,form:ut}))),dt===2&&pe.createElement("div",null,pe.createElement(Ae.default,{form:ut,className:b.formWrap,layout:"vertical",onValuesChange:bn,onFinish:Wt},pe.createElement(Ae.default.Item,{className:b.cascaderWrapper,label:"\u65B9\u5411&\u8BFE\u7A0B\uFF1A",name:"course",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u65B9\u5411&\u8BFE\u7A0B"}]},pe.createElement(Ke.Z,{className:b.courseCascader,popupClassName:b.cascaderPopup,dropdownMenuColumnStyle:{padding:"8px 12px",fontSize:14},placeholder:"\u8BF7\u9009\u62E9\u65B9\u5411&\u8BFE\u7A0B",showArrow:!0,allowClear:!1,options:De.courseOptions,style:{width:490}})),pe.createElement("div",{className:"mb30"},pe.createElement("span",{className:b.uploadTips},"\u6839\u636E\u6A21\u677F\u8981\u6C42\u7F16\u8F91\u9700\u8981\u4E0A\u4F20\u7684\u8BD5\u9898",pe.createElement(mt.Z,{title:pe.createElement("div",null,pe.createElement("div",null,"\u63D0\u793A:"),pe.createElement("div",null,"1\u3001\u76EE\u524D\u4EC5\u652F\u6301Excel\u683C\u5F0F\u6A21\u677F\uFF1B"),pe.createElement("div",null,"2\u3001\u4E0D\u652F\u6301\u7EC4\u5408\u9898\u548C\u5B9E\u8BAD\u9898\u5BFC\u5165\uFF1B"),pe.createElement("div",null,"3\u3001\u6BCF\u6B21\u6700\u591A\u5BFC\u5165300\u9898\uFF1B"),pe.createElement("div",null,"4\u3001\u586B\u7A7A\u9898\u5BFC\u5165\u6700\u591A\u652F\u63018\u4E2A\u586B\u7A7A\u9879\u3002"))},pe.createElement(ne.Z,{className:b.uploadTipsIcon}))),pe.createElement("a",{className:`${b.downloadBtn} ml30`,href:a.Z.API_SERVER+"/api/item_banks/down_template",download:!0},"\u4E0B\u8F7D\u8BD5\u9898\u6A21\u7248",pe.createElement("i",{className:"iconfont icon-xiazai4 ml10",style:{fontSize:14}}))),pe.createElement(Re.default,{onRemove:()=>{Je([])},beforeUpload:rt=>{if(console.log(rt),(rt==null?void 0:rt.size)>1024*1024*50)return je.ZP.info("\u6587\u4EF6\u8D85\u8FC750M\uFF0C\u4E0D\u7B26\u5408\u4E0A\u4F20\u8981\u6C42"),!1;let Pt=[];return Pt.push(rt),Je([...Pt]),!1},fileList:ve,accept:".xls,.xlsx",showUploadList:{removeIcon:pe.createElement("i",{className:"iconfont icon-shanchu12",style:{color:"#F65160"}})}},pe.createElement("div",{className:b.uploadBtn},pe.createElement("i",{className:"iconfont icon-shangchuan3",style:{fontSize:14}}),"\u70B9\u51FB\u4E0A\u4F20"))),pe.createElement("br",null),(Ne==null?void 0:Ne.length)>0&&pe.createElement("span",{style:{fontSize:"18px",display:"flex",width:"100%",justifyContent:"center"}},"\u9519\u8BEF\u5217\u8868"),(Ne==null?void 0:Ne.length)>0&&pe.createElement(ae.default,{style:{marginTop:"10px"},dataSource:Ne,columns:Hn})),dt===3&&pe.createElement(le.Z,{mode:1,onCancel:()=>ie.history.push("/problemset")})),dt!==3&&pe.createElement("div",{className:b.buttonFixed},pe.createElement("div",{className:b.buttonWrap},pe.createElement(y.ZP,{size:"middle",className:`${b.button} mr20`,onClick:()=>ie.history.push(`/problemset?page=${St.get("page")}`)},"\u53D6\u6D88"),pe.createElement(y.ZP,{size:"middle",type:"primary",className:`${b.button} mr20`,onClick:()=>ut.submit(),loading:Et["problemset/editProblemset"]||Et["problemset/addProblemset"]||nt},Ot==="PROGRAM"&&dt===1?"\u7ACB\u5373\u521B\u5EFA":"\u4FDD\u5B58\u9898\u76EE")))))};var Me=(0,ie.connect)(({problemset:De,loading:Et,globalSetting:Kt})=>({problemset:De,globalSetting:Kt,loading:Et.effects}))(Jt)},50371:function(xt,It){"use strict";function te(){const z=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let ie=1;ie<arguments.length;ie++){const Ae=ie<0||arguments.length<=ie?void 0:arguments[ie];Ae&&Object.keys(Ae).forEach(je=>{const Ee=Ae[je];Ee!==void 0&&(z[je]=Ee)})}return z}It.Z=te},13845:function(xt,It,te){"use strict";te.d(It,{F:function(){return z},Z:function(){return ie}});function z(Ae){return Ae!=null&&Ae===Ae.window}function ie(Ae,je){var Ee,xe;if(typeof window=="undefined")return 0;const re=je?"scrollTop":"scrollLeft";let We=0;return z(Ae)?We=Ae[je?"pageYOffset":"pageXOffset"]:Ae instanceof Document?We=Ae.documentElement[re]:(Ae instanceof HTMLElement||Ae)&&(We=Ae[re]),Ae&&!z(Ae)&&typeof We!="number"&&(We=(xe=((Ee=Ae.ownerDocument)!==null&&Ee!==void 0?Ee:Ae).documentElement)===null||xe===void 0?void 0:xe[re]),We}},56762:function(xt,It,te){"use strict";te.d(It,{Z:function(){return ie}});var z=te(59301);function ie(){const[,Ae]=z.useReducer(je=>je+1,0);return Ae}},68031:function(xt,It,te){"use strict";te.d(It,{Z:function(){return je}});var z=te(16089);function ie(Ee,xe,re,We){const Ke=re-xe;return Ee/=We/2,Ee<1?Ke/2*Ee*Ee*Ee+xe:Ke/2*((Ee-=2)*Ee*Ee+2)+xe}var Ae=te(13845);function je(Ee){let xe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{getContainer:re=()=>window,callback:We,duration:Ke=450}=xe,ze=re(),Xe=(0,Ae.Z)(ze,!0),mt=Date.now(),Re=()=>{const y=Date.now()-mt,a=ie(y>Ke?Ke:y,Xe,Ee,Ke);(0,Ae.F)(ze)?ze.scrollTo(window.pageXOffset,a):ze instanceof Document||ze.constructor.name==="HTMLDocument"?ze.documentElement.scrollTop=a:ze.scrollTop=a,y<Ke?(0,z.Z)(Re):typeof We=="function"&&We()};(0,z.Z)(Re)}},66104:function(xt,It,te){"use strict";te.d(It,{Z:function(){return Ge}});var z=te(92310),ie=te.n(z),Ae=te(11592),je=te(26112),Ee=te(59301),xe=te(92343),re=te(36355),We=te(84105),Ke=te(91857);const ze=Pe=>{let{children:ke}=Pe;const{getPrefixCls:ot}=Ee.useContext(re.E_),Ue=ot("breadcrumb");return Ee.createElement("li",{className:`${Ue}-separator`,"aria-hidden":"true"},ke===""?ke:ke||"/")};ze.__ANT_BREADCRUMB_SEPARATOR=!0;var Xe=ze,mt=function(Pe,ke){var ot={};for(var Ue in Pe)Object.prototype.hasOwnProperty.call(Pe,Ue)&&ke.indexOf(Ue)<0&&(ot[Ue]=Pe[Ue]);if(Pe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var it=0,Ue=Object.getOwnPropertySymbols(Pe);it<Ue.length;it++)ke.indexOf(Ue[it])<0&&Object.prototype.propertyIsEnumerable.call(Pe,Ue[it])&&(ot[Ue[it]]=Pe[Ue[it]]);return ot};function Re(Pe,ke){if(Pe.title===void 0||Pe.title===null)return null;const ot=Object.keys(ke).join("|");return typeof Pe.title=="object"?Pe.title:String(Pe.title).replace(new RegExp(`:(${ot})`,"g"),(Ue,it)=>ke[it]||Ue)}function ae(Pe,ke,ot,Ue){if(ot==null)return null;const{className:it,onClick:Mt}=ke,_e=mt(ke,["className","onClick"]),Tt=Object.assign(Object.assign({},(0,je.Z)(_e,{data:!0,aria:!0})),{onClick:Mt});return Ue!==void 0?Ee.createElement("a",Object.assign({},Tt,{className:ie()(`${Pe}-link`,it),href:Ue}),ot):Ee.createElement("span",Object.assign({},Tt,{className:ie()(`${Pe}-link`,it)}),ot)}function y(Pe,ke){return(Ue,it,Mt,_e,Tt)=>{if(ke)return ke(Ue,it,Mt,_e);const Jt=Re(Ue,it);return ae(Pe,Ue,Jt,Tt)}}var a=function(Pe,ke){var ot={};for(var Ue in Pe)Object.prototype.hasOwnProperty.call(Pe,Ue)&&ke.indexOf(Ue)<0&&(ot[Ue]=Pe[Ue]);if(Pe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var it=0,Ue=Object.getOwnPropertySymbols(Pe);it<Ue.length;it++)ke.indexOf(Ue[it])<0&&Object.prototype.propertyIsEnumerable.call(Pe,Ue[it])&&(ot[Ue[it]]=Pe[Ue[it]]);return ot};const b=Pe=>{const{prefixCls:ke,separator:ot="/",children:Ue,menu:it,overlay:Mt,dropdownProps:_e,href:Tt}=Pe,Me=(De=>{if(it||Mt){const Et=Object.assign({},_e);if(it){const Kt=it||{},{items:ft}=Kt,jt=a(Kt,["items"]);Et.menu=Object.assign(Object.assign({},jt),{items:ft==null?void 0:ft.map((Le,Xt)=>{var{key:vn,title:St,label:ut,path:Ve}=Le,Te=a(Le,["key","title","label","path"]);let he=ut!=null?ut:St;return Ve&&(he=Ee.createElement("a",{href:`${Tt}${Ve}`},he)),Object.assign(Object.assign({},Te),{key:vn!=null?vn:Xt,label:he})})})}else Mt&&(Et.overlay=Mt);return Ee.createElement(Ke.Z,Object.assign({placement:"bottom"},Et),Ee.createElement("span",{className:`${ke}-overlay-link`},De,Ee.createElement(We.Z,null)))}return De})(Ue);return Me!=null?Ee.createElement(Ee.Fragment,null,Ee.createElement("li",null,Me),ot&&Ee.createElement(Xe,null,ot)):null},E=Pe=>{const{prefixCls:ke,children:ot,href:Ue}=Pe,it=a(Pe,["prefixCls","children","href"]),{getPrefixCls:Mt}=Ee.useContext(re.E_),_e=Mt("breadcrumb",ke);return Ee.createElement(b,Object.assign({},it,{prefixCls:_e}),ae(_e,it,ot,Ue))};E.__ANT_BREADCRUMB_ITEM=!0;var x=E,ee=te(17313),ne=te(83116),oe=te(37613);const le=Pe=>{const{componentCls:ke,iconCls:ot}=Pe;return{[ke]:Object.assign(Object.assign({},(0,ee.Wf)(Pe)),{color:Pe.itemColor,fontSize:Pe.fontSize,[ot]:{fontSize:Pe.iconFontSize},ol:{display:"flex",flexWrap:"wrap",margin:0,padding:0,listStyle:"none"},a:Object.assign({color:Pe.linkColor,transition:`color ${Pe.motionDurationMid}`,padding:`0 ${Pe.paddingXXS}px`,borderRadius:Pe.borderRadiusSM,height:Pe.lineHeight*Pe.fontSize,display:"inline-block",marginInline:-Pe.marginXXS,"&:hover":{color:Pe.linkHoverColor,backgroundColor:Pe.colorBgTextHover}},(0,ee.Qy)(Pe)),"li:last-child":{color:Pe.lastItemColor},[`${ke}-separator`]:{marginInline:Pe.separatorMargin,color:Pe.separatorColor},[`${ke}-link`]:{[`
> ${ot} + span,
> ${ot} + a
`]:{marginInlineStart:Pe.marginXXS}},[`${ke}-overlay-link`]:{borderRadius:Pe.borderRadiusSM,height:Pe.lineHeight*Pe.fontSize,display:"inline-block",padding:`0 ${Pe.paddingXXS}px`,marginInline:-Pe.marginXXS,[`> ${ot}`]:{marginInlineStart:Pe.marginXXS,fontSize:Pe.fontSizeIcon},"&:hover":{color:Pe.linkHoverColor,backgroundColor:Pe.colorBgTextHover,a:{color:Pe.linkHoverColor}},a:{"&:hover":{backgroundColor:"transparent"}}},[`&${Pe.componentCls}-rtl`]:{direction:"rtl"}})}};var ue=(0,ne.Z)("Breadcrumb",Pe=>{const ke=(0,oe.TS)(Pe,{});return[le(ke)]},Pe=>({itemColor:Pe.colorTextDescription,lastItemColor:Pe.colorText,iconFontSize:Pe.fontSize,linkColor:Pe.colorTextDescription,linkHoverColor:Pe.colorText,separatorColor:Pe.colorTextDescription,separatorMargin:Pe.marginXS})),ge=function(Pe,ke){var ot={};for(var Ue in Pe)Object.prototype.hasOwnProperty.call(Pe,Ue)&&ke.indexOf(Ue)<0&&(ot[Ue]=Pe[Ue]);if(Pe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var it=0,Ue=Object.getOwnPropertySymbols(Pe);it<Ue.length;it++)ke.indexOf(Ue[it])<0&&Object.prototype.propertyIsEnumerable.call(Pe,Ue[it])&&(ot[Ue[it]]=Pe[Ue[it]]);return ot};function Ce(Pe){const{breadcrumbName:ke,children:ot}=Pe,Ue=ge(Pe,["breadcrumbName","children"]),it=Object.assign({title:ke},Ue);return ot&&(it.menu={items:ot.map(Mt=>{var{breadcrumbName:_e}=Mt,Tt=ge(Mt,["breadcrumbName"]);return Object.assign(Object.assign({},Tt),{title:_e})})}),it}function pe(Pe,ke){return(0,Ee.useMemo)(()=>Pe||(ke?ke.map(Ce):null),[Pe,ke])}var Be=function(Pe,ke){var ot={};for(var Ue in Pe)Object.prototype.hasOwnProperty.call(Pe,Ue)&&ke.indexOf(Ue)<0&&(ot[Ue]=Pe[Ue]);if(Pe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var it=0,Ue=Object.getOwnPropertySymbols(Pe);it<Ue.length;it++)ke.indexOf(Ue[it])<0&&Object.prototype.propertyIsEnumerable.call(Pe,Ue[it])&&(ot[Ue[it]]=Pe[Ue[it]]);return ot};const de=(Pe,ke)=>{if(ke===void 0)return ke;let ot=(ke||"").replace(/^\//,"");return Object.keys(Pe).forEach(Ue=>{ot=ot.replace(`:${Ue}`,Pe[Ue])}),ot},et=Pe=>{const{prefixCls:ke,separator:ot="/",style:Ue,className:it,rootClassName:Mt,routes:_e,items:Tt,children:Jt,itemRender:Me,params:De={}}=Pe,Et=Be(Pe,["prefixCls","separator","style","className","rootClassName","routes","items","children","itemRender","params"]),{getPrefixCls:Kt,direction:ft,breadcrumb:jt}=Ee.useContext(re.E_);let Le;const Xt=Kt("breadcrumb",ke),[vn,St]=ue(Xt),ut=pe(Tt,_e),Ve=y(Xt,Me);if(ut&&ut.length>0){const se=[],Ie=Tt||_e;Le=ut.map((dt,Se)=>{const{path:ve,key:Je,type:Ne,menu:ye,overlay:nt,onClick:_t,className:gt,separator:Gt,dropdownProps:Ot}=dt,Ut=de(De,ve);Ut!==void 0&&se.push(Ut);const be=Je!=null?Je:Se;if(Ne==="separator")return Ee.createElement(Xe,{key:be},Gt);const st={},pt=Se===ut.length-1;ye?st.menu=ye:nt&&(st.overlay=nt);let{href:ct}=dt;return se.length&&Ut!==void 0&&(ct=`#/${se.join("/")}`),Ee.createElement(b,Object.assign({key:be},st,(0,je.Z)(dt,{data:!0,aria:!0}),{className:gt,dropdownProps:Ot,href:ct,separator:pt?"":ot,onClick:_t,prefixCls:Xt}),Ve(dt,De,Ie,se,ct))})}else if(Jt){const se=(0,Ae.Z)(Jt).length;Le=(0,Ae.Z)(Jt).map((Ie,dt)=>{if(!Ie)return Ie;const Se=dt===se-1;return(0,xe.Tm)(Ie,{separator:Se?"":ot,key:dt})})}const Te=ie()(Xt,jt==null?void 0:jt.className,{[`${Xt}-rtl`]:ft==="rtl"},it,Mt,St),he=Object.assign(Object.assign({},jt==null?void 0:jt.style),Ue);return vn(Ee.createElement("nav",Object.assign({className:Te,style:he},Et),Ee.createElement("ol",null,Le)))};et.Item=x,et.Separator=Xe;var Oe=et,Ge=Oe},19842:function(xt,It,te){"use strict";te.d(It,{Z:function(){return Pn}});var z=te(3300),ie=te(59301),Ae=te(33853),je=te(58617),Ee=te(38819),xe=te(92310),re=te.n(xe),We=te(32855),Ke=te(11913),ze=te(43079),Xe=te(77861),mt=te(17115),Re=te(90782),ae=te(6089),y=te(18929),a=ie.createContext(null),b=a,E=te(34666),x=te(74430),ee=te(27247),ne="__rc_cascader_search_mark__",oe=function(ht,Rt,zt){var en=zt.label;return Rt.some(function(hn){return String(hn[en]).toLowerCase().includes(ht.toLowerCase())})},le=function(ht,Rt,zt,en){return Rt.map(function(hn){return hn[en.label]}).join(" / ")},ue=function(Fe,ht,Rt,zt,en,hn){var ln=en.filter,qe=ln===void 0?oe:ln,tt=en.render,Ze=tt===void 0?le:tt,Ct=en.limit,$t=Ct===void 0?50:Ct,Zt=en.sort;return ie.useMemo(function(){var xn=[];if(!Fe)return[];function Cn(mn,Mn){var na=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;mn.forEach(function(sn){if(!(!Zt&&$t!==!1&&$t>0&&xn.length>=$t)){var Un=[].concat((0,z.Z)(Mn),[sn]),oa=sn[Rt.children],ca=na||sn.disabled;if((!oa||oa.length===0||hn)&&qe(Fe,Un,{label:Rt.label})){var la;xn.push((0,ee.Z)((0,ee.Z)({},sn),{},(la={disabled:ca},(0,x.Z)(la,Rt.label,Ze(Fe,Un,zt,Rt)),(0,x.Z)(la,ne,Un),(0,x.Z)(la,Rt.children,void 0),la)))}oa&&Cn(sn[Rt.children],Un,ca)}})}return Cn(ht,[]),Zt&&xn.sort(function(mn,Mn){return Zt(mn[ne],Mn[ne],Fe,Rt)}),$t!==!1&&$t>0?xn.slice(0,$t):xn},[Fe,ht,Rt,zt,Ze,hn,qe,Zt,$t])},ge="__RC_CASCADER_SPLIT__",Ce="SHOW_PARENT",pe="SHOW_CHILD";function Be(Fe){return Fe.join(ge)}function de(Fe){return Fe.map(Be)}function et(Fe){return Fe.split(ge)}function Oe(Fe){var ht=Fe||{},Rt=ht.label,zt=ht.value,en=ht.children,hn=zt||"value";return{label:Rt||"label",value:hn,key:hn,children:en||"children"}}function Ge(Fe,ht){var Rt,zt;return(Rt=Fe.isLeaf)!==null&&Rt!==void 0?Rt:!((zt=Fe[ht.children])!==null&&zt!==void 0&&zt.length)}function Pe(Fe){var ht=Fe.parentElement;if(ht){var Rt=Fe.offsetTop-ht.offsetTop;Rt-ht.scrollTop<0?ht.scrollTo({top:Rt}):Rt+Fe.offsetHeight-ht.scrollTop>ht.offsetHeight&&ht.scrollTo({top:Rt+Fe.offsetHeight-ht.offsetHeight})}}function ke(Fe,ht){return Fe.map(function(Rt){var zt;return(zt=Rt[ne])===null||zt===void 0?void 0:zt.map(function(en){return en[ht.value]})})}function ot(Fe,ht,Rt){var zt=new Set(Fe),en=ht();return Fe.filter(function(hn){var ln=en[hn],qe=ln?ln.parent:null,tt=ln?ln.children:null;return ln&&ln.node.disabled?!0:Rt===pe?!(tt&&tt.some(function(Ze){return Ze.key&&zt.has(Ze.key)})):!(qe&&!qe.node.disabled&&zt.has(qe.key))})}function Ue(Fe,ht,Rt){for(var zt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,en=ht,hn=[],ln=function(){var Ze,Ct,$t,Zt=Fe[qe],xn=(Ze=en)===null||Ze===void 0?void 0:Ze.findIndex(function(mn){var Mn=mn[Rt.value];return zt?String(Mn)===String(Zt):Mn===Zt}),Cn=xn!==-1?(Ct=en)===null||Ct===void 0?void 0:Ct[xn]:null;hn.push({value:($t=Cn==null?void 0:Cn[Rt.value])!==null&&$t!==void 0?$t:Zt,index:xn,option:Cn}),en=Cn==null?void 0:Cn[Rt.children]},qe=0;qe<Fe.length;qe+=1)ln();return hn}var it=function(Fe,ht,Rt,zt,en){return ie.useMemo(function(){var hn=en||function(ln){var qe=zt?ln.slice(-1):ln,tt=" / ";return qe.every(function(Ze){return["string","number"].includes((0,E.Z)(Ze))})?qe.join(tt):qe.reduce(function(Ze,Ct,$t){var Zt=ie.isValidElement(Ct)?ie.cloneElement(Ct,{key:$t}):Ct;return $t===0?[Zt]:[].concat((0,z.Z)(Ze),[tt,Zt])},[])};return Fe.map(function(ln){var qe,tt,Ze=Ue(ln,ht,Rt),Ct=hn(Ze.map(function(Zt){var xn,Cn=Zt.option,mn=Zt.value;return(xn=Cn==null?void 0:Cn[Rt.label])!==null&&xn!==void 0?xn:mn}),Ze.map(function(Zt){var xn=Zt.option;return xn})),$t=Be(ln);return{label:Ct,value:$t,key:$t,valueCells:ln,disabled:(qe=Ze[Ze.length-1])===null||qe===void 0||(tt=qe.option)===null||tt===void 0?void 0:tt.disabled}})},[Fe,ht,Rt,en,zt])},Mt=te(71430),_e=function(Fe,ht){var Rt=ie.useRef({options:null,info:null}),zt=ie.useCallback(function(){return Rt.current.options!==Fe&&(Rt.current.options=Fe,Rt.current.info=(0,Mt.I8)(Fe,{fieldNames:ht,initWrapper:function(hn){return(0,ee.Z)((0,ee.Z)({},hn),{},{pathKeyEntities:{}})},processEntity:function(hn,ln){var qe=hn.nodes.map(function(tt){return tt[ht.value]}).join(ge);ln.pathKeyEntities[qe]=hn,hn.key=qe}})),Rt.current.info.pathKeyEntities},[ht,Fe]);return zt},Tt=function(Fe,ht){return ie.useCallback(function(Rt){var zt=[],en=[];return Rt.forEach(function(hn){var ln=Ue(hn,Fe,ht);ln.every(function(qe){return qe.option})?en.push(hn):zt.push(hn)}),[en,zt]},[Fe,ht])},Jt=te(48736);function Me(Fe){return ie.useMemo(function(){if(!Fe)return[!1,{}];var ht={matchInputWidth:!0,limit:50};return Fe&&(0,E.Z)(Fe)==="object"&&(ht=(0,ee.Z)((0,ee.Z)({},ht),Fe)),ht.limit<=0&&delete ht.limit,[!0,ht]},[Fe])}var De=ie.memo(function(Fe){var ht=Fe.children;return ht},function(Fe,ht){return!ht.open}),Et=De;function Kt(Fe){var ht,Rt=Fe.prefixCls,zt=Fe.checked,en=Fe.halfChecked,hn=Fe.disabled,ln=Fe.onClick,qe=Fe.disableCheckbox,tt=ie.useContext(b),Ze=tt.checkable,Ct=typeof Ze!="boolean"?Ze:null;return ie.createElement("span",{className:re()("".concat(Rt),(ht={},(0,x.Z)(ht,"".concat(Rt,"-checked"),zt),(0,x.Z)(ht,"".concat(Rt,"-indeterminate"),!zt&&en),(0,x.Z)(ht,"".concat(Rt,"-disabled"),hn||qe),ht)),onClick:ln},Ct)}var ft="__cascader_fix_label__";function jt(Fe){var ht=Fe.prefixCls,Rt=Fe.multiple,zt=Fe.options,en=Fe.activeValue,hn=Fe.prevValuePath,ln=Fe.onToggleOpen,qe=Fe.onSelect,tt=Fe.onActive,Ze=Fe.checkedSet,Ct=Fe.halfCheckedSet,$t=Fe.loadingKeys,Zt=Fe.isSelectable,xn=Fe.searchValue,Cn="".concat(ht,"-menu"),mn="".concat(ht,"-menu-item"),Mn=ie.useContext(b),na=Mn.fieldNames,sn=Mn.changeOnSelect,Un=Mn.expandTrigger,oa=Mn.expandIcon,ca=Mn.loadingIcon,la=Mn.dropdownMenuColumnStyle,$e=Un==="hover",Ht=ie.useMemo(function(){return zt.map(function(yt){var qt,dn=yt.disabled,Sn=yt.disableCheckbox,Qe=yt[ne],Ye=(qt=yt[ft])!==null&&qt!==void 0?qt:yt[na.label],Bt=yt[na.value],cn=Ge(yt,na),vt=Qe?Qe.map(function(pn){return pn[na.value]}):[].concat((0,z.Z)(hn),[Bt]),kn=Be(vt),Nn=$t.includes(kn),Xn=Ze.has(kn),Vn=Ct.has(kn);return{disabled:dn,label:Ye,value:Bt,isLeaf:cn,isLoading:Nn,checked:Xn,halfChecked:Vn,option:yt,disableCheckbox:Sn,fullPath:vt,fullPathKey:kn}})},[zt,Ze,na,Ct,$t,hn]);return ie.createElement("ul",{className:Cn,role:"menu"},Ht.map(function(yt){var qt,dn=yt.disabled,Sn=yt.label,Qe=yt.value,Ye=yt.isLeaf,Bt=yt.isLoading,cn=yt.checked,vt=yt.halfChecked,kn=yt.option,Nn=yt.fullPath,Xn=yt.fullPathKey,Vn=yt.disableCheckbox,pn=function(){if(!(dn||xn)){var ea=(0,z.Z)(Nn);$e&&Ye&&ea.pop(),tt(ea)}},En=function(){Zt(kn)&&qe(Nn,Ye)},wn;return typeof kn.title=="string"?wn=kn.title:typeof Sn=="string"&&(wn=Sn),ie.createElement("li",{key:Xn,className:re()(mn,(qt={},(0,x.Z)(qt,"".concat(mn,"-expand"),!Ye),(0,x.Z)(qt,"".concat(mn,"-active"),en===Qe||en===Xn),(0,x.Z)(qt,"".concat(mn,"-disabled"),dn),(0,x.Z)(qt,"".concat(mn,"-loading"),Bt),qt)),style:la,role:"menuitemcheckbox",title:wn,"aria-checked":cn,"data-path-key":Xn,onClick:function(){pn(),!Vn&&(!Rt||Ye)&&En()},onDoubleClick:function(){sn&&ln(!1)},onMouseEnter:function(){$e&&pn()},onMouseDown:function(ea){ea.preventDefault()}},Rt&&ie.createElement(Kt,{prefixCls:"".concat(ht,"-checkbox"),checked:cn,halfChecked:vt,disabled:dn||Vn,disableCheckbox:Vn,onClick:function(ea){Vn||(ea.stopPropagation(),En())}}),ie.createElement("div",{className:"".concat(mn,"-content")},Sn),!Bt&&oa&&!Ye&&ie.createElement("div",{className:"".concat(mn,"-expand-icon")},oa),Bt&&ca&&ie.createElement("div",{className:"".concat(mn,"-loading-icon")},ca))}))}var Le=function(){var Fe=(0,Xe.lk)(),ht=Fe.multiple,Rt=Fe.open,zt=ie.useContext(b),en=zt.values,hn=ie.useState([]),ln=(0,Ke.Z)(hn,2),qe=ln[0],tt=ln[1];return ie.useEffect(function(){if(Rt&&!ht){var Ze=en[0];tt(Ze||[])}},[Rt]),[qe,tt]},Xt=te(10228),vn=function(Fe,ht,Rt,zt,en,hn){var ln=(0,Xe.lk)(),qe=ln.direction,tt=ln.searchValue,Ze=ln.toggleOpen,Ct=ln.open,$t=qe==="rtl",Zt=ie.useMemo(function(){for(var la=-1,$e=ht,Ht=[],yt=[],qt=zt.length,dn=ke(ht,Rt),Sn=function(kn){var Nn=$e.findIndex(function(Xn,Vn){return(dn[Vn]?Be(dn[Vn]):Xn[Rt.value])===zt[kn]});if(Nn===-1)return"break";la=Nn,Ht.push(la),yt.push(zt[kn]),$e=$e[la][Rt.children]},Qe=0;Qe<qt&&$e;Qe+=1){var Ye=Sn(Qe);if(Ye==="break")break}for(var Bt=ht,cn=0;cn<Ht.length-1;cn+=1)Bt=Bt[Ht[cn]][Rt.children];return[yt,la,Bt,dn]},[zt,Rt,ht]),xn=(0,Ke.Z)(Zt,4),Cn=xn[0],mn=xn[1],Mn=xn[2],na=xn[3],sn=function($e){en($e)},Un=function($e){var Ht=Mn.length,yt=mn;yt===-1&&$e<0&&(yt=Ht);for(var qt=0;qt<Ht;qt+=1){yt=(yt+$e+Ht)%Ht;var dn=Mn[yt];if(dn&&!dn.disabled){var Sn=Cn.slice(0,-1).concat(na[yt]?Be(na[yt]):dn[Rt.value]);sn(Sn);return}}},oa=function(){if(Cn.length>1){var $e=Cn.slice(0,-1);sn($e)}else Ze(!1)},ca=function(){var $e,Ht=(($e=Mn[mn])===null||$e===void 0?void 0:$e[Rt.children])||[],yt=Ht.find(function(dn){return!dn.disabled});if(yt){var qt=[].concat((0,z.Z)(Cn),[yt[Rt.value]]);sn(qt)}};ie.useImperativeHandle(Fe,function(){return{onKeyDown:function($e){var Ht=$e.which;switch(Ht){case Xt.Z.UP:case Xt.Z.DOWN:{var yt=0;Ht===Xt.Z.UP?yt=-1:Ht===Xt.Z.DOWN&&(yt=1),yt!==0&&Un(yt);break}case Xt.Z.LEFT:{if(tt)break;$t?ca():oa();break}case Xt.Z.RIGHT:{if(tt)break;$t?oa():ca();break}case Xt.Z.BACKSPACE:{tt||oa();break}case Xt.Z.ENTER:{if(Cn.length){var qt=Mn[mn],dn=(qt==null?void 0:qt[ne])||[];dn.length?hn(dn.map(function(Sn){return Sn[Rt.value]}),dn[dn.length-1]):hn(Cn,Mn[mn])}break}case Xt.Z.ESC:Ze(!1),Ct&&$e.stopPropagation()}},onKeyUp:function(){}}})},St=ie.forwardRef(function(Fe,ht){var Rt,zt,en,hn,ln=(0,Xe.lk)(),qe=ln.prefixCls,tt=ln.multiple,Ze=ln.searchValue,Ct=ln.toggleOpen,$t=ln.notFoundContent,Zt=ln.direction,xn=ln.open,Cn=ie.useRef(),mn=Zt==="rtl",Mn=ie.useContext(b),na=Mn.options,sn=Mn.values,Un=Mn.halfValues,oa=Mn.fieldNames,ca=Mn.changeOnSelect,la=Mn.onSelect,$e=Mn.searchOptions,Ht=Mn.dropdownPrefixCls,yt=Mn.loadData,qt=Mn.expandTrigger,dn=Ht||qe,Sn=ie.useState([]),Qe=(0,Ke.Z)(Sn,2),Ye=Qe[0],Bt=Qe[1],cn=function(Ia){if(!(!yt||Ze)){var Ka=Ue(Ia,na,oa),Ha=Ka.map(function(Ca){var Qa=Ca.option;return Qa}),ja=Ha[Ha.length-1];if(ja&&!Ge(ja,oa)){var sa=Be(Ia);Bt(function(Ca){return[].concat((0,z.Z)(Ca),[sa])}),yt(Ha)}}};ie.useEffect(function(){Ye.length&&Ye.forEach(function(Za){var Ia=et(Za),Ka=Ue(Ia,na,oa,!0).map(function(ja){var sa=ja.option;return sa}),Ha=Ka[Ka.length-1];(!Ha||Ha[oa.children]||Ge(Ha,oa))&&Bt(function(ja){return ja.filter(function(sa){return sa!==Za})})})},[na,Ye,oa]);var vt=ie.useMemo(function(){return new Set(de(sn))},[sn]),kn=ie.useMemo(function(){return new Set(de(Un))},[Un]),Nn=Le(),Xn=(0,Ke.Z)(Nn,2),Vn=Xn[0],pn=Xn[1],En=function(Ia){pn(Ia),cn(Ia)},wn=function(Ia){var Ka=Ia.disabled,Ha=Ge(Ia,oa);return!Ka&&(Ha||ca||tt)},Fn=function(Ia,Ka){var Ha=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;la(Ia),!tt&&(Ka||ca&&(qt==="hover"||Ha))&&Ct(!1)},ea=ie.useMemo(function(){return Ze?$e:na},[Ze,$e,na]),ga=ie.useMemo(function(){for(var Za=[{options:ea}],Ia=ea,Ka=ke(Ia,oa),Ha=function(){var Qa=Vn[ja],Xa=Ia.find(function(no,lo){return(Ka[lo]?Be(Ka[lo]):no[oa.value])===Qa}),za=Xa==null?void 0:Xa[oa.children];if(!(za!=null&&za.length))return"break";Ia=za,Za.push({options:za})},ja=0;ja<Vn.length;ja+=1){var sa=Ha();if(sa==="break")break}return Za},[ea,Vn,oa]),Jn=function(Ia,Ka){wn(Ka)&&Fn(Ia,Ge(Ka,oa),!0)};vn(ht,ea,oa,Vn,En,Jn),ie.useEffect(function(){for(var Za=0;Za<Vn.length;Za+=1){var Ia,Ka=Vn.slice(0,Za+1),Ha=Be(Ka),ja=(Ia=Cn.current)===null||Ia===void 0?void 0:Ia.querySelector('li[data-path-key="'.concat(Ha.replace(/\\{0,2}"/g,'\\"'),'"]'));ja&&Pe(ja)}},[Vn]);var Qn=!((Rt=ga[0])!==null&&Rt!==void 0&&(zt=Rt.options)!==null&&zt!==void 0&&zt.length),va=[(en={},(0,x.Z)(en,oa.value,"__EMPTY__"),(0,x.Z)(en,ft,$t),(0,x.Z)(en,"disabled",!0),en)],Oa=(0,ee.Z)((0,ee.Z)({},Fe),{},{multiple:!Qn&&tt,onSelect:Fn,onActive:En,onToggleOpen:Ct,checkedSet:vt,halfCheckedSet:kn,loadingKeys:Ye,isSelectable:wn}),_a=Qn?[{options:va}]:ga,fo=_a.map(function(Za,Ia){var Ka=Vn.slice(0,Ia),Ha=Vn[Ia];return ie.createElement(jt,(0,We.Z)({key:Ia},Oa,{searchValue:Ze,prefixCls:dn,options:Za.options,prevValuePath:Ka,activeValue:Ha}))});return ie.createElement(Et,{open:xn},ie.createElement("div",{className:re()("".concat(dn,"-menus"),(hn={},(0,x.Z)(hn,"".concat(dn,"-menu-empty"),Qn),(0,x.Z)(hn,"".concat(dn,"-rtl"),mn),hn)),ref:Cn},fo))}),ut=St;function Ve(Fe){var ht=Fe.onPopupVisibleChange,Rt=Fe.popupVisible,zt=Fe.popupClassName,en=Fe.popupPlacement;warning(!ht,"`onPopupVisibleChange` is deprecated. Please use `onDropdownVisibleChange` instead."),warning(Rt===void 0,"`popupVisible` is deprecated. Please use `open` instead."),warning(zt===void 0,"`popupClassName` is deprecated. Please use `dropdownClassName` instead."),warning(en===void 0,"`popupPlacement` is deprecated. Please use `placement` instead.")}function Te(Fe,ht){if(Fe){var Rt=function zt(en){for(var hn=0;hn<en.length;hn++){var ln=en[hn];if(ln[ht==null?void 0:ht.value]===null)return warning(!1,"`value` in Cascader options should not be `null`."),!0;if(Array.isArray(ln[ht==null?void 0:ht.children])&&zt(ln[ht==null?void 0:ht.children]))return!0}};Rt(Fe)}}var he=null,se=["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 Ie(Fe){return Array.isArray(Fe)&&Array.isArray(Fe[0])}function dt(Fe){return Fe?Ie(Fe)?Fe:(Fe.length===0?[]:[Fe]).map(function(ht){return Array.isArray(ht)?ht:[ht]}):[]}var Se=ie.forwardRef(function(Fe,ht){var Rt=Fe.id,zt=Fe.prefixCls,en=zt===void 0?"rc-cascader":zt,hn=Fe.fieldNames,ln=Fe.defaultValue,qe=Fe.value,tt=Fe.changeOnSelect,Ze=Fe.onChange,Ct=Fe.displayRender,$t=Fe.checkable,Zt=Fe.autoClearSearchValue,xn=Zt===void 0?!0:Zt,Cn=Fe.searchValue,mn=Fe.onSearch,Mn=Fe.showSearch,na=Fe.expandTrigger,sn=Fe.options,Un=Fe.dropdownPrefixCls,oa=Fe.loadData,ca=Fe.popupVisible,la=Fe.open,$e=Fe.popupClassName,Ht=Fe.dropdownClassName,yt=Fe.dropdownMenuColumnStyle,qt=Fe.popupPlacement,dn=Fe.placement,Sn=Fe.onDropdownVisibleChange,Qe=Fe.onPopupVisibleChange,Ye=Fe.expandIcon,Bt=Ye===void 0?">":Ye,cn=Fe.loadingIcon,vt=Fe.children,kn=Fe.dropdownMatchSelectWidth,Nn=kn===void 0?!1:kn,Xn=Fe.showCheckedStrategy,Vn=Xn===void 0?Ce:Xn,pn=(0,ze.Z)(Fe,se),En=(0,mt.ZP)(Rt),wn=!!$t,Fn=(0,y.Z)(ln,{value:qe,postState:dt}),ea=(0,Ke.Z)(Fn,2),ga=ea[0],Jn=ea[1],Qn=ie.useMemo(function(){return Oe(hn)},[JSON.stringify(hn)]),va=ie.useMemo(function(){return sn||[]},[sn]),Oa=_e(va,Qn),_a=ie.useCallback(function(jn){var zn=Oa();return jn.map(function($n){var Aa=zn[$n].nodes;return Aa.map(function(fe){return fe[Qn.value]})})},[Oa,Qn]),fo=(0,y.Z)("",{value:Cn,postState:function(zn){return zn||""}}),Za=(0,Ke.Z)(fo,2),Ia=Za[0],Ka=Za[1],Ha=function(zn,$n){Ka(zn),$n.source!=="blur"&&mn&&mn(zn)},ja=Me(Mn),sa=(0,Ke.Z)(ja,2),Ca=sa[0],Qa=sa[1],Xa=ue(Ia,va,Qn,Un||en,Qa,tt),za=Tt(va,Qn),no=ie.useMemo(function(){var jn=za(ga),zn=(0,Ke.Z)(jn,2),$n=zn[0],Aa=zn[1];if(!wn||!ga.length)return[$n,[],Aa];var fe=de($n),kt=Oa(),tn=(0,Re.S)(fe,!0,kt),Bn=tn.checkedKeys,Dt=tn.halfCheckedKeys;return[_a(Bn),_a(Dt),Aa]},[wn,ga,Oa,_a,za]),lo=(0,Ke.Z)(no,3),ha=lo[0],Ua=lo[1],Ta=lo[2],oo=ie.useMemo(function(){var jn=de(ha),zn=ot(jn,Oa,Vn);return[].concat((0,z.Z)(Ta),(0,z.Z)(_a(zn)))},[ha,Oa,_a,Ta,Vn]),So=it(oo,va,Qn,wn,Ct),Do=(0,ae.Z)(function(jn){if(Jn(jn),Ze){var zn=dt(jn),$n=zn.map(function(kt){return Ue(kt,va,Qn).map(function(tn){return tn.option})}),Aa=wn?zn:zn[0],fe=wn?$n:$n[0];Ze(Aa,fe)}}),Jo=(0,ae.Z)(function(jn){if((!wn||xn)&&Ka(""),!wn)Do(jn);else{var zn=Be(jn),$n=de(ha),Aa=de(Ua),fe=$n.includes(zn),kt=Ta.some(function(Rn){return Be(Rn)===zn}),tn=ha,Bn=Ta;if(kt&&!fe)Bn=Ta.filter(function(Rn){return Be(Rn)!==zn});else{var Dt=fe?$n.filter(function(Rn){return Rn!==zn}):[].concat((0,z.Z)($n),[zn]),In=Oa(),Dn;if(fe){var rn=(0,Re.S)(Dt,{checked:!1,halfCheckedKeys:Aa},In);Dn=rn.checkedKeys}else{var yn=(0,Re.S)(Dt,!0,In);Dn=yn.checkedKeys}var qn=ot(Dn,Oa,Vn);tn=_a(qn)}Do([].concat((0,z.Z)(Bn),(0,z.Z)(tn)))}}),zo=function(zn,$n){if($n.type==="clear"){Do([]);return}var Aa=$n.values[0],fe=Aa.valueCells;Jo(fe)},mo=la!==void 0?la:ca,po=Ht||$e,Bo=dn||qt,tr=function(zn){Sn==null||Sn(zn),Qe==null||Qe(zn)},jo=ie.useMemo(function(){return{options:va,fieldNames:Qn,values:ha,halfValues:Ua,changeOnSelect:tt,onSelect:Jo,checkable:$t,searchOptions:Xa,dropdownPrefixCls:Un,loadData:oa,expandTrigger:na,expandIcon:Bt,loadingIcon:cn,dropdownMenuColumnStyle:yt}},[va,Qn,ha,Ua,tt,Jo,$t,Xa,Un,oa,na,Bt,cn,yt]),qo=!(Ia?Xa:va).length,ma=Ia&&Qa.matchInputWidth||qo?{}:{minWidth:"auto"};return ie.createElement(b.Provider,{value:jo},ie.createElement(Xe.Ac,(0,We.Z)({},pn,{ref:ht,id:En,prefixCls:en,autoClearSearchValue:xn,dropdownMatchSelectWidth:Nn,dropdownStyle:ma,displayValues:So,onDisplayValuesChange:zo,mode:wn?"multiple":void 0,searchValue:Ia,onSearch:Ha,showSearch:Ca,OptionList:ut,emptyOptions:qo,open:mo,dropdownClassName:po,placement:Bo,onDropdownVisibleChange:tr,getRawInputElement:function(){return vt}})))});Se.SHOW_PARENT=Ce,Se.SHOW_CHILD=pe;var ve=Se,Je=ve,Ne=te(2738),ye=te(62892),nt=te(53487),_t=te(19080),gt=te(36355),Gt=te(93891),Ot=te(1684),Ut=te(19716),be=te(32441),st=te(14154),pt=te(58582),ct=te(84443),Nt=te(66339),Vt=te(33234),on=te(98447),Qt=te(17313),bn=te(74207),Tn=te(83116);const Lt=Fe=>{const{prefixCls:ht,componentCls:Rt,antCls:zt}=Fe,en=`${Rt}-menu-item`,hn=`
&${en}-expand ${en}-expand-icon,
${en}-loading-icon
`;return[{[Rt]:{width:Fe.controlWidth}},{[`${Rt}-dropdown`]:[(0,on.C2)(`${ht}-checkbox`,Fe),{[`&${zt}-select-dropdown`]:{padding:0}},{[Rt]:{"&-checkbox":{top:0,marginInlineEnd:Fe.paddingXS},"&-menus":{display:"flex",flexWrap:"nowrap",alignItems:"flex-start",[`&${Rt}-menu-empty`]:{[`${Rt}-menu`]:{width:"100%",height:"auto",[en]:{color:Fe.colorTextDisabled}}}},"&-menu":{flexGrow:1,minWidth:Fe.controlItemWidth,height:Fe.dropdownHeight,margin:0,padding:Fe.menuPadding,overflow:"auto",verticalAlign:"top",listStyle:"none","-ms-overflow-style":"-ms-autohiding-scrollbar","&:not(:last-child)":{borderInlineEnd:`${Fe.lineWidth}px ${Fe.lineType} ${Fe.colorSplit}`},"&-item":Object.assign(Object.assign({},Qt.vS),{display:"flex",flexWrap:"nowrap",alignItems:"center",padding:Fe.optionPadding,lineHeight:Fe.lineHeight,cursor:"pointer",transition:`all ${Fe.motionDurationMid}`,borderRadius:Fe.borderRadiusSM,"&:hover":{background:Fe.controlItemBgHover},"&-disabled":{color:Fe.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"},[hn]:{color:Fe.colorTextDisabled}},[`&-active:not(${en}-disabled)`]:{"&, &:hover":{fontWeight:Fe.optionSelectedFontWeight,backgroundColor:Fe.optionSelectedBg}},"&-content":{flex:"auto"},[hn]:{marginInlineStart:Fe.paddingXXS,color:Fe.colorTextDescription,fontSize:Fe.fontSizeIcon},"&-keyword":{color:Fe.colorHighlight}})}}}]},{[`${Rt}-dropdown-rtl`]:{direction:"rtl"}},(0,bn.c)(Fe)]};var Ft=(0,Tn.Z)("Cascader",Fe=>[Lt(Fe)],Fe=>{const ht=Math.round((Fe.controlHeight-Fe.fontSize*Fe.lineHeight)/2);return{controlWidth:184,controlItemWidth:111,dropdownHeight:180,optionSelectedBg:Fe.controlItemBgActive,optionSelectedFontWeight:Fe.fontWeightStrong,optionPadding:`${ht}px ${Fe.paddingSM}px`,menuPadding:Fe.paddingXXS}}),Wt=function(Fe,ht){var Rt={};for(var zt in Fe)Object.prototype.hasOwnProperty.call(Fe,zt)&&ht.indexOf(zt)<0&&(Rt[zt]=Fe[zt]);if(Fe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var en=0,zt=Object.getOwnPropertySymbols(Fe);en<zt.length;en++)ht.indexOf(zt[en])<0&&Object.prototype.propertyIsEnumerable.call(Fe,zt[en])&&(Rt[zt[en]]=Fe[zt[en]]);return Rt};const{SHOW_CHILD:fn,SHOW_PARENT:un}=Je;function Hn(Fe,ht,Rt){const zt=Fe.toLowerCase().split(ht).reduce((ln,qe,tt)=>tt===0?[qe]:[].concat((0,z.Z)(ln),[ht,qe]),[]),en=[];let hn=0;return zt.forEach((ln,qe)=>{const tt=hn+ln.length;let Ze=Fe.slice(hn,tt);hn=tt,qe%2===1&&(Ze=ie.createElement("span",{className:`${Rt}-menu-item-keyword`,key:`separator-${qe}`},Ze)),en.push(Ze)}),en}const rt=(Fe,ht,Rt,zt)=>{const en=[],hn=Fe.toLowerCase();return ht.forEach((ln,qe)=>{qe!==0&&en.push(" / ");let tt=ln[zt.label];const Ze=typeof tt;(Ze==="string"||Ze==="number")&&(tt=Hn(String(tt),hn,Rt)),en.push(tt)}),en},Pt=ie.forwardRef((Fe,ht)=>{const{prefixCls:Rt,size:zt,disabled:en,className:hn,rootClassName:ln,multiple:qe,bordered:tt=!0,transitionName:Ze,choiceTransitionName:Ct="",popupClassName:$t,dropdownClassName:Zt,expandIcon:xn,placement:Cn,showSearch:mn,allowClear:Mn=!0,notFoundContent:na,direction:sn,getPopupContainer:Un,status:oa,showArrow:ca,builtinPlacements:la,style:$e}=Fe,Ht=Wt(Fe,["prefixCls","size","disabled","className","rootClassName","multiple","bordered","transitionName","choiceTransitionName","popupClassName","dropdownClassName","expandIcon","placement","showSearch","allowClear","notFoundContent","direction","getPopupContainer","status","showArrow","builtinPlacements","style"]),yt=(0,Ne.Z)(Ht,["suffixIcon"]),{getPopupContainer:qt,getPrefixCls:dn,renderEmpty:Sn,direction:Qe,popupOverflow:Ye,cascader:Bt}=ie.useContext(gt.E_),cn=sn||Qe,vt=cn==="rtl",{status:kn,hasFeedback:Nn,isFormItemInput:Xn,feedbackIcon:Vn}=ie.useContext(be.aM),pn=(0,_t.F)(kn,oa),En=na||(Sn==null?void 0:Sn("Cascader"))||ie.createElement(Gt.Z,{componentName:"Cascader"}),wn=dn(),Fn=dn("select",Rt),ea=dn("cascader",Rt),[ga,Jn]=(0,st.Z)(Fn),[Qn]=Ft(ea),{compactSize:va,compactItemClassnames:Oa}=(0,Vt.ri)(Fn,sn),_a=re()($t||Zt,`${ea}-dropdown`,{[`${ea}-dropdown-rtl`]:cn==="rtl"},ln,Jn),fo=ie.useMemo(()=>{if(!mn)return mn;let Ta={render:rt};return typeof mn=="object"&&(Ta=Object.assign(Object.assign({},Ta),mn)),Ta},[mn]),Za=(0,Ut.Z)(Ta=>{var oo;return(oo=zt!=null?zt:va)!==null&&oo!==void 0?oo:Ta}),Ia=ie.useContext(Ot.Z),Ka=en!=null?en:Ia;let Ha=xn;xn||(Ha=vt?ie.createElement(Ae.Z,null):ie.createElement(Ee.Z,null));const ja=ie.createElement("span",{className:`${Fn}-menu-item-loading-icon`},ie.createElement(je.Z,{spin:!0})),sa=ie.useMemo(()=>qe?ie.createElement("span",{className:`${ea}-checkbox-inner`}):!1,[qe]),Ca=(0,ct.Z)(Fe.suffixIcon,ca),{suffixIcon:Qa,removeIcon:Xa,clearIcon:za}=(0,Nt.Z)(Object.assign(Object.assign({},Fe),{hasFeedback:Nn,feedbackIcon:Vn,showSuffixIcon:Ca,multiple:qe,prefixCls:Fn,componentName:"Cascader"})),no=ie.useMemo(()=>Cn!==void 0?Cn:vt?"bottomRight":"bottomLeft",[Cn,vt]),lo=(0,pt.Z)(la,Ye),ha=Mn===!0?{clearIcon:za}:Mn,Ua=ie.createElement(Je,Object.assign({prefixCls:Fn,className:re()(!Rt&&ea,{[`${Fn}-lg`]:Za==="large",[`${Fn}-sm`]:Za==="small",[`${Fn}-rtl`]:vt,[`${Fn}-borderless`]:!tt,[`${Fn}-in-form-item`]:Xn},(0,_t.Z)(Fn,pn,Nn),Oa,Bt==null?void 0:Bt.className,hn,ln,Jn),disabled:Ka,style:Object.assign(Object.assign({},Bt==null?void 0:Bt.style),$e)},yt,{builtinPlacements:lo,direction:cn,placement:no,notFoundContent:En,allowClear:ha,showSearch:fo,expandIcon:Ha,suffixIcon:Qa,removeIcon:Xa,loadingIcon:ja,checkable:sa,dropdownClassName:_a,dropdownPrefixCls:Rt||ea,choiceTransitionName:(0,ye.m)(wn,"",Ct),transitionName:(0,ye.m)(wn,"slide-up",Ze),getPopupContainer:Un||qt,ref:ht}));return Qn(ga(Ua))}),an=(0,nt.Z)(Pt);Pt.SHOW_PARENT=un,Pt.SHOW_CHILD=fn,Pt._InternalPanelDoNotUseOrYouWillBeFired=an;var Pn=Pt},24905:function(xt,It,te){"use strict";te.d(It,{default:function(){return ue}});var z=te(92310),ie=te.n(z),Ae=te(5630),je=te(59301),Ee=te(36355),xe=te(1684),re=te(32441),Ke=je.createContext(null),ze=te(98447),Xe=te(14088),mt=te(4572),Re=function(ge,Ce){var pe={};for(var Be in ge)Object.prototype.hasOwnProperty.call(ge,Be)&&Ce.indexOf(Be)<0&&(pe[Be]=ge[Be]);if(ge!=null&&typeof Object.getOwnPropertySymbols=="function")for(var de=0,Be=Object.getOwnPropertySymbols(ge);de<Be.length;de++)Ce.indexOf(Be[de])<0&&Object.prototype.propertyIsEnumerable.call(ge,Be[de])&&(pe[Be[de]]=ge[Be[de]]);return pe};const ae=(ge,Ce)=>{var pe;const{prefixCls:Be,className:de,rootClassName:et,children:Oe,indeterminate:Ge=!1,style:Pe,onMouseEnter:ke,onMouseLeave:ot,skipGroup:Ue=!1,disabled:it}=ge,Mt=Re(ge,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:_e,direction:Tt,checkbox:Jt}=je.useContext(Ee.E_),Me=je.useContext(Ke),{isFormItemInput:De}=je.useContext(re.aM),Et=je.useContext(xe.Z),Kt=(pe=(Me==null?void 0:Me.disabled)||it)!==null&&pe!==void 0?pe:Et,ft=je.useRef(Mt.value);je.useEffect(()=>{Me==null||Me.registerValue(Mt.value)},[]),je.useEffect(()=>{if(!Ue)return Mt.value!==ft.current&&(Me==null||Me.cancelValue(ft.current),Me==null||Me.registerValue(Mt.value),ft.current=Mt.value),()=>Me==null?void 0:Me.cancelValue(Mt.value)},[Mt.value]);const jt=_e("checkbox",Be),[Le,Xt]=(0,ze.ZP)(jt),vn=Object.assign({},Mt);Me&&!Ue&&(vn.onChange=function(){Mt.onChange&&Mt.onChange.apply(Mt,arguments),Me.toggleOption&&Me.toggleOption({label:Oe,value:Mt.value})},vn.name=Me.name,vn.checked=Me.value.includes(Mt.value));const St=ie()(`${jt}-wrapper`,{[`${jt}-rtl`]:Tt==="rtl",[`${jt}-wrapper-checked`]:vn.checked,[`${jt}-wrapper-disabled`]:Kt,[`${jt}-wrapper-in-form-item`]:De},Jt==null?void 0:Jt.className,de,et,Xt),ut=ie()({[`${jt}-indeterminate`]:Ge},mt.A,Xt),Ve=Ge?"mixed":void 0;return Le(je.createElement(Xe.Z,{component:"Checkbox",disabled:Kt},je.createElement("label",{className:St,style:Object.assign(Object.assign({},Jt==null?void 0:Jt.style),Pe),onMouseEnter:ke,onMouseLeave:ot},je.createElement(Ae.Z,Object.assign({"aria-checked":Ve},vn,{prefixCls:jt,className:ut,disabled:Kt,ref:Ce})),Oe!==void 0&&je.createElement("span",null,Oe))))};var a=je.forwardRef(ae),b=te(3300),E=te(2738),x=function(ge,Ce){var pe={};for(var Be in ge)Object.prototype.hasOwnProperty.call(ge,Be)&&Ce.indexOf(Be)<0&&(pe[Be]=ge[Be]);if(ge!=null&&typeof Object.getOwnPropertySymbols=="function")for(var de=0,Be=Object.getOwnPropertySymbols(ge);de<Be.length;de++)Ce.indexOf(Be[de])<0&&Object.prototype.propertyIsEnumerable.call(ge,Be[de])&&(pe[Be[de]]=ge[Be[de]]);return pe};const ee=(ge,Ce)=>{const{defaultValue:pe,children:Be,options:de=[],prefixCls:et,className:Oe,rootClassName:Ge,style:Pe,onChange:ke}=ge,ot=x(ge,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:Ue,direction:it}=je.useContext(Ee.E_),[Mt,_e]=je.useState(ot.value||pe||[]),[Tt,Jt]=je.useState([]);je.useEffect(()=>{"value"in ot&&_e(ot.value||[])},[ot.value]);const Me=je.useMemo(()=>de.map(Te=>typeof Te=="string"||typeof Te=="number"?{label:Te,value:Te}:Te),[de]),De=Te=>{Jt(he=>he.filter(se=>se!==Te))},Et=Te=>{Jt(he=>[].concat((0,b.Z)(he),[Te]))},Kt=Te=>{const he=Mt.indexOf(Te.value),se=(0,b.Z)(Mt);he===-1?se.push(Te.value):se.splice(he,1),"value"in ot||_e(se),ke==null||ke(se.filter(Ie=>Tt.includes(Ie)).sort((Ie,dt)=>{const Se=Me.findIndex(Je=>Je.value===Ie),ve=Me.findIndex(Je=>Je.value===dt);return Se-ve}))},ft=Ue("checkbox",et),jt=`${ft}-group`,[Le,Xt]=(0,ze.ZP)(ft),vn=(0,E.Z)(ot,["value","disabled"]),St=de.length?Me.map(Te=>je.createElement(a,{prefixCls:ft,key:Te.value.toString(),disabled:"disabled"in Te?Te.disabled:ot.disabled,value:Te.value,checked:Mt.includes(Te.value),onChange:Te.onChange,className:`${jt}-item`,style:Te.style,title:Te.title},Te.label)):Be,ut={toggleOption:Kt,value:Mt,disabled:ot.disabled,name:ot.name,registerValue:Et,cancelValue:De},Ve=ie()(jt,{[`${jt}-rtl`]:it==="rtl"},Oe,Ge,Xt);return Le(je.createElement("div",Object.assign({className:Ve,style:Pe},vn,{ref:Ce}),je.createElement(Ke.Provider,{value:ut},St)))},ne=je.forwardRef(ee);var oe=je.memo(ne);const le=a;le.Group=oe,le.__ANT_CHECKBOX=!0;var ue=le},98447:function(xt,It,te){"use strict";te.d(It,{C2:function(){return Ee}});var z=te(17313),ie=te(37613),Ae=te(83116);const je=xe=>{const{checkboxCls:re}=xe,We=`${re}-wrapper`;return[{[`${re}-group`]:Object.assign(Object.assign({},(0,z.Wf)(xe)),{display:"inline-flex",flexWrap:"wrap",columnGap:xe.marginXS,[`> ${xe.antCls}-row`]:{flex:1}}),[We]:Object.assign(Object.assign({},(0,z.Wf)(xe)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${We}`]:{marginInlineStart:0},[`&${We}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[re]:Object.assign(Object.assign({},(0,z.Wf)(xe)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:xe.borderRadiusSM,alignSelf:"center",[`${re}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${re}-inner`]:Object.assign({},(0,z.oN)(xe))},[`${re}-inner`]:{boxSizing:"border-box",position:"relative",top:0,insetInlineStart:0,display:"block",width:xe.checkboxSize,height:xe.checkboxSize,direction:"ltr",backgroundColor:xe.colorBgContainer,border:`${xe.lineWidth}px ${xe.lineType} ${xe.colorBorder}`,borderRadius:xe.borderRadiusSM,borderCollapse:"separate",transition:`all ${xe.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"21.5%",display:"table",width:xe.checkboxSize/14*5,height:xe.checkboxSize/14*8,border:`${xe.lineWidthBold}px solid ${xe.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${xe.motionDurationFast} ${xe.motionEaseInBack}, opacity ${xe.motionDurationFast}`}},"& + span":{paddingInlineStart:xe.paddingXS,paddingInlineEnd:xe.paddingXS}})},{[`
${We}:not(${We}-disabled),
${re}:not(${re}-disabled)
`]:{[`&:hover ${re}-inner`]:{borderColor:xe.colorPrimary}},[`${We}:not(${We}-disabled)`]:{[`&:hover ${re}-checked:not(${re}-disabled) ${re}-inner`]:{backgroundColor:xe.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${re}-checked:not(${re}-disabled):after`]:{borderColor:xe.colorPrimaryHover}}},{[`${re}-checked`]:{[`${re}-inner`]:{backgroundColor:xe.colorPrimary,borderColor:xe.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${xe.motionDurationMid} ${xe.motionEaseOutBack} ${xe.motionDurationFast}`}}},[`
${We}-checked:not(${We}-disabled),
${re}-checked:not(${re}-disabled)
`]:{[`&:hover ${re}-inner`]:{backgroundColor:xe.colorPrimaryHover,borderColor:"transparent"}}},{[re]:{"&-indeterminate":{[`${re}-inner`]:{backgroundColor:xe.colorBgContainer,borderColor:xe.colorBorder,"&:after":{top:"50%",insetInlineStart:"50%",width:xe.fontSizeLG/2,height:xe.fontSizeLG/2,backgroundColor:xe.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}}}}},{[`${We}-disabled`]:{cursor:"not-allowed"},[`${re}-disabled`]:{[`&, ${re}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${re}-inner`]:{background:xe.colorBgContainerDisabled,borderColor:xe.colorBorder,"&:after":{borderColor:xe.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:xe.colorTextDisabled},[`&${re}-indeterminate ${re}-inner::after`]:{background:xe.colorTextDisabled}}}]};function Ee(xe,re){const We=(0,ie.TS)(re,{checkboxCls:`.${xe}`,checkboxSize:re.controlInteractiveSize});return[je(We)]}It.ZP=(0,Ae.Z)("Checkbox",(xe,re)=>{let{prefixCls:We}=re;return[Ee(We,xe)]})},36381:function(xt,It,te){"use strict";te.d(It,{default:function(){return vn}});var z=te(38819),ie=te(92310),Ae=te.n(ie),je=te(32855),Ee=te(3300),xe=te(11913),re=te(34666),We=te(18929),Ke=te(48736),ze=te(59301),Xe=te(43079),mt=te(11592),Re=te(74430),ae=te(77900),y=te(10228),a=ze.forwardRef(function(St,ut){var Ve=St.prefixCls,Te=St.forceRender,he=St.className,se=St.style,Ie=St.children,dt=St.isActive,Se=St.role,ve=ze.useState(dt||Te),Je=(0,xe.Z)(ve,2),Ne=Je[0],ye=Je[1];return ze.useEffect(function(){(Te||dt)&&ye(!0)},[Te,dt]),Ne?ze.createElement("div",{ref:ut,className:Ae()("".concat(Ve,"-content"),(0,Re.Z)((0,Re.Z)({},"".concat(Ve,"-content-active"),dt),"".concat(Ve,"-content-inactive"),!dt),he),style:se,role:Se},ze.createElement("div",{className:"".concat(Ve,"-content-box")},Ie)):null});a.displayName="PanelContent";var b=a,E=["showArrow","headerClass","isActive","onItemClick","forceRender","className","prefixCls","collapsible","accordion","panelKey","extra","header","expandIcon","openMotion","destroyInactivePanel","children"],x=ze.forwardRef(function(St,ut){var Ve=St.showArrow,Te=Ve===void 0?!0:Ve,he=St.headerClass,se=St.isActive,Ie=St.onItemClick,dt=St.forceRender,Se=St.className,ve=St.prefixCls,Je=St.collapsible,Ne=St.accordion,ye=St.panelKey,nt=St.extra,_t=St.header,gt=St.expandIcon,Gt=St.openMotion,Ot=St.destroyInactivePanel,Ut=St.children,be=(0,Xe.Z)(St,E),st=Je==="disabled",pt=Je==="header",ct=Je==="icon",Nt=nt!=null&&typeof nt!="boolean",Vt=function(){Ie==null||Ie(ye)},on=function(Wt){(Wt.key==="Enter"||Wt.keyCode===y.Z.ENTER||Wt.which===y.Z.ENTER)&&Vt()},Qt=typeof gt=="function"?gt(St):ze.createElement("i",{className:"arrow"});Qt&&(Qt=ze.createElement("div",{className:"".concat(ve,"-expand-icon"),onClick:["header","icon"].includes(Je)?Vt:void 0},Qt));var bn=Ae()((0,Re.Z)((0,Re.Z)((0,Re.Z)({},"".concat(ve,"-item"),!0),"".concat(ve,"-item-active"),se),"".concat(ve,"-item-disabled"),st),Se),Tn=Ae()(he,(0,Re.Z)((0,Re.Z)((0,Re.Z)({},"".concat(ve,"-header"),!0),"".concat(ve,"-header-collapsible-only"),pt),"".concat(ve,"-icon-collapsible-only"),ct)),Lt={className:Tn,"aria-expanded":se,"aria-disabled":st,onKeyDown:on};return!pt&&!ct&&(Lt.onClick=Vt,Lt.role=Ne?"tab":"button",Lt.tabIndex=st?-1:0),ze.createElement("div",(0,je.Z)({},be,{ref:ut,className:bn}),ze.createElement("div",Lt,Te&&Qt,ze.createElement("span",{className:"".concat(ve,"-header-text"),onClick:Je==="header"?Vt:void 0},_t),Nt&&ze.createElement("div",{className:"".concat(ve,"-extra")},nt)),ze.createElement(ae.default,(0,je.Z)({visible:se,leavedClassName:"".concat(ve,"-content-hidden")},Gt,{forceRender:dt,removeOnLeave:Ot}),function(Ft,Wt){var fn=Ft.className,un=Ft.style;return ze.createElement(b,{ref:Wt,prefixCls:ve,className:fn,style:un,isActive:se,forceRender:dt,role:Ne?"tabpanel":void 0},Ut)}))}),ee=x,ne=["children","label","key","collapsible","onItemClick","destroyInactivePanel"],oe=function(ut,Ve){var Te=Ve.prefixCls,he=Ve.accordion,se=Ve.collapsible,Ie=Ve.destroyInactivePanel,dt=Ve.onItemClick,Se=Ve.activeKey,ve=Ve.openMotion,Je=Ve.expandIcon;return ut.map(function(Ne,ye){var nt=Ne.children,_t=Ne.label,gt=Ne.key,Gt=Ne.collapsible,Ot=Ne.onItemClick,Ut=Ne.destroyInactivePanel,be=(0,Xe.Z)(Ne,ne),st=String(gt!=null?gt:ye),pt=Gt!=null?Gt:se,ct=Ut!=null?Ut:Ie,Nt=function(Qt){pt!=="disabled"&&(dt(Qt),Ot==null||Ot(Qt))},Vt=!1;return he?Vt=Se[0]===st:Vt=Se.indexOf(st)>-1,ze.createElement(ee,(0,je.Z)({},be,{prefixCls:Te,key:st,panelKey:st,isActive:Vt,accordion:he,openMotion:ve,expandIcon:Je,header:_t,collapsible:pt,onItemClick:Nt,destroyInactivePanel:ct}),nt)})},le=function(ut,Ve,Te){if(!ut)return null;var he=Te.prefixCls,se=Te.accordion,Ie=Te.collapsible,dt=Te.destroyInactivePanel,Se=Te.onItemClick,ve=Te.activeKey,Je=Te.openMotion,Ne=Te.expandIcon,ye=ut.key||String(Ve),nt=ut.props,_t=nt.header,gt=nt.headerClass,Gt=nt.destroyInactivePanel,Ot=nt.collapsible,Ut=nt.onItemClick,be=!1;se?be=ve[0]===ye:be=ve.indexOf(ye)>-1;var st=Ot!=null?Ot:Ie,pt=function(Vt){st!=="disabled"&&(Se(Vt),Ut==null||Ut(Vt))},ct={key:ye,panelKey:ye,header:_t,headerClass:gt,isActive:be,prefixCls:he,destroyInactivePanel:Gt!=null?Gt:dt,openMotion:Je,accordion:se,children:ut.props.children,onItemClick:pt,expandIcon:Ne,collapsible:st};return typeof ut.type=="string"?ut:(Object.keys(ct).forEach(function(Nt){typeof ct[Nt]=="undefined"&&delete ct[Nt]}),ze.cloneElement(ut,ct))};function ue(St,ut,Ve){return Array.isArray(St)?oe(St,Ve):(0,mt.Z)(ut).map(function(Te,he){return le(Te,he,Ve)})}var ge=ue,Ce=te(26112);function pe(St){var ut=St;if(!Array.isArray(ut)){var Ve=(0,re.Z)(ut);ut=Ve==="number"||Ve==="string"?[ut]:[]}return ut.map(function(Te){return String(Te)})}var Be=ze.forwardRef(function(St,ut){var Ve=St.prefixCls,Te=Ve===void 0?"rc-collapse":Ve,he=St.destroyInactivePanel,se=he===void 0?!1:he,Ie=St.style,dt=St.accordion,Se=St.className,ve=St.children,Je=St.collapsible,Ne=St.openMotion,ye=St.expandIcon,nt=St.activeKey,_t=St.defaultActiveKey,gt=St.onChange,Gt=St.items,Ot=Ae()(Te,Se),Ut=(0,We.Z)([],{value:nt,onChange:function(on){return gt==null?void 0:gt(on)},defaultValue:_t,postState:pe}),be=(0,xe.Z)(Ut,2),st=be[0],pt=be[1],ct=function(on){return pt(function(){if(dt)return st[0]===on?[]:[on];var Qt=st.indexOf(on),bn=Qt>-1;return bn?st.filter(function(Tn){return Tn!==on}):[].concat((0,Ee.Z)(st),[on])})};(0,Ke.ZP)(!ve,"[rc-collapse] `children` will be removed in next major version. Please use `items` instead.");var Nt=ge(Gt,ve,{prefixCls:Te,accordion:dt,openMotion:Ne,expandIcon:ye,collapsible:Je,destroyInactivePanel:se,onItemClick:ct,activeKey:st});return ze.createElement("div",(0,je.Z)({ref:ut,className:Ot,style:Ie,role:dt?"tablist":void 0},(0,Ce.Z)(St,{aria:!0,data:!0})),Nt)}),de=Object.assign(Be,{Panel:ee}),et=de,Oe=de.Panel,Ge=te(2738),Pe=te(62892),ke=te(92343),ot=te(36355),Ue=te(19716),Mt=ze.forwardRef((St,ut)=>{const{getPrefixCls:Ve}=ze.useContext(ot.E_),{prefixCls:Te,className:he,showArrow:se=!0}=St,Ie=Ve("collapse",Te),dt=Ae()({[`${Ie}-no-arrow`]:!se},he);return ze.createElement(et.Panel,Object.assign({ref:ut},St,{prefixCls:Ie,className:dt}))}),_e=te(17313),Tt=te(8378),Jt=te(83116),Me=te(37613);const De=St=>{const{componentCls:ut,contentBg:Ve,padding:Te,headerBg:he,headerPadding:se,collapseHeaderPaddingSM:Ie,collapseHeaderPaddingLG:dt,collapsePanelBorderRadius:Se,lineWidth:ve,lineType:Je,colorBorder:Ne,colorText:ye,colorTextHeading:nt,colorTextDisabled:_t,fontSize:gt,fontSizeLG:Gt,lineHeight:Ot,marginSM:Ut,paddingSM:be,paddingLG:st,paddingXS:pt,motionDurationSlow:ct,fontSizeIcon:Nt,contentPadding:Vt}=St,on=`${ve}px ${Je} ${Ne}`;return{[ut]:Object.assign(Object.assign({},(0,_e.Wf)(St)),{backgroundColor:he,border:on,borderBottom:0,borderRadius:`${Se}px`,"&-rtl":{direction:"rtl"},[`& > ${ut}-item`]:{borderBottom:on,"&:last-child":{[`
&,
& > ${ut}-header`]:{borderRadius:`0 0 ${Se}px ${Se}px`}},[`> ${ut}-header`]:{position:"relative",display:"flex",flexWrap:"nowrap",alignItems:"flex-start",padding:se,color:nt,lineHeight:Ot,cursor:"pointer",transition:`all ${ct}, visibility 0s`,[`> ${ut}-header-text`]:{flex:"auto"},"&:focus":{outline:"none"},[`${ut}-expand-icon`]:{height:gt*Ot,display:"flex",alignItems:"center",paddingInlineEnd:Ut},[`${ut}-arrow`]:Object.assign(Object.assign({},(0,_e.Ro)()),{fontSize:Nt,svg:{transition:`transform ${ct}`}}),[`${ut}-header-text`]:{marginInlineEnd:"auto"}},[`${ut}-header-collapsible-only`]:{cursor:"default",[`${ut}-header-text`]:{flex:"none",cursor:"pointer"}},[`${ut}-icon-collapsible-only`]:{cursor:"default",[`${ut}-expand-icon`]:{cursor:"pointer"}}},[`${ut}-content`]:{color:ye,backgroundColor:Ve,borderTop:on,[`& > ${ut}-content-box`]:{padding:Vt},"&-hidden":{display:"none"}},"&-small":{[`> ${ut}-item`]:{[`> ${ut}-header`]:{padding:Ie,paddingInlineStart:pt,[`> ${ut}-expand-icon`]:{marginInlineStart:be-pt}},[`> ${ut}-content > ${ut}-content-box`]:{padding:be}}},"&-large":{[`> ${ut}-item`]:{fontSize:Gt,[`> ${ut}-header`]:{padding:dt,paddingInlineStart:Te,[`> ${ut}-expand-icon`]:{height:Gt*Ot,marginInlineStart:st-Te}},[`> ${ut}-content > ${ut}-content-box`]:{padding:st}}},[`${ut}-item:last-child`]:{[`> ${ut}-content`]:{borderRadius:`0 0 ${Se}px ${Se}px`}},[`& ${ut}-item-disabled > ${ut}-header`]:{"\n &,\n & > .arrow\n ":{color:_t,cursor:"not-allowed"}},[`&${ut}-icon-position-end`]:{[`& > ${ut}-item`]:{[`> ${ut}-header`]:{[`${ut}-expand-icon`]:{order:1,paddingInlineEnd:0,paddingInlineStart:Ut}}}}})}},Et=St=>{const{componentCls:ut}=St,Ve=`> ${ut}-item > ${ut}-header ${ut}-arrow svg`;return{[`${ut}-rtl`]:{[Ve]:{transform:"rotate(180deg)"}}}},Kt=St=>{const{componentCls:ut,headerBg:Ve,paddingXXS:Te,colorBorder:he}=St;return{[`${ut}-borderless`]:{backgroundColor:Ve,border:0,[`> ${ut}-item`]:{borderBottom:`1px solid ${he}`},[`
> ${ut}-item:last-child,
> ${ut}-item:last-child ${ut}-header
`]:{borderRadius:0},[`> ${ut}-item:last-child`]:{borderBottom:0},[`> ${ut}-item > ${ut}-content`]:{backgroundColor:"transparent",borderTop:0},[`> ${ut}-item > ${ut}-content > ${ut}-content-box`]:{paddingTop:Te}}}},ft=St=>{const{componentCls:ut,paddingSM:Ve}=St;return{[`${ut}-ghost`]:{backgroundColor:"transparent",border:0,[`> ${ut}-item`]:{borderBottom:0,[`> ${ut}-content`]:{backgroundColor:"transparent",border:0,[`> ${ut}-content-box`]:{paddingBlock:Ve}}}}}};var jt=(0,Jt.Z)("Collapse",St=>{const ut=(0,Me.TS)(St,{collapseHeaderPaddingSM:`${St.paddingXS}px ${St.paddingSM}px`,collapseHeaderPaddingLG:`${St.padding}px ${St.paddingLG}px`,collapsePanelBorderRadius:St.borderRadiusLG});return[De(ut),Kt(ut),ft(ut),Et(ut),(0,Tt.Z)(ut)]},St=>({headerPadding:`${St.paddingSM}px ${St.padding}px`,headerBg:St.colorFillAlter,contentPadding:`${St.padding}px 16px`,contentBg:St.colorBgContainer})),Xt=Object.assign(ze.forwardRef((St,ut)=>{const{getPrefixCls:Ve,direction:Te,collapse:he}=ze.useContext(ot.E_),{prefixCls:se,className:Ie,rootClassName:dt,style:Se,bordered:ve=!0,ghost:Je,size:Ne,expandIconPosition:ye="start",children:nt,expandIcon:_t}=St,gt=(0,Ue.Z)(on=>{var Qt;return(Qt=Ne!=null?Ne:on)!==null&&Qt!==void 0?Qt:"middle"}),Gt=Ve("collapse",se),Ot=Ve(),[Ut,be]=jt(Gt),st=ze.useMemo(()=>ye==="left"?"start":ye==="right"?"end":ye,[ye]),pt=function(){let on=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const Qt=_t?_t(on):ze.createElement(z.Z,{rotate:on.isActive?90:void 0});return(0,ke.Tm)(Qt,()=>({className:Ae()(Qt.props.className,`${Gt}-arrow`)}))},ct=Ae()(`${Gt}-icon-position-${st}`,{[`${Gt}-borderless`]:!ve,[`${Gt}-rtl`]:Te==="rtl",[`${Gt}-ghost`]:!!Je,[`${Gt}-${gt}`]:gt!=="middle"},he==null?void 0:he.className,Ie,dt,be),Nt=Object.assign(Object.assign({},(0,Pe.Z)(Ot)),{motionAppear:!1,leavedClassName:`${Gt}-content-hidden`}),Vt=ze.useMemo(()=>nt?(0,mt.Z)(nt).map((on,Qt)=>{var bn,Tn;if(!((bn=on.props)===null||bn===void 0)&&bn.disabled){const Lt=(Tn=on.key)!==null&&Tn!==void 0?Tn:String(Qt),{disabled:Ft,collapsible:Wt}=on.props,fn=Object.assign(Object.assign({},(0,Ge.Z)(on.props,["disabled"])),{key:Lt,collapsible:Wt!=null?Wt:Ft?"disabled":void 0});return(0,ke.Tm)(on,fn)}return on}):null,[nt]);return Ut(ze.createElement(et,Object.assign({ref:ut,openMotion:Nt},(0,Ge.Z)(St,["rootClassName"]),{expandIcon:pt,prefixCls:Gt,className:ct,style:Object.assign(Object.assign({},he==null?void 0:he.style),Se)}),Vt))}),{Panel:Mt}),vn=Xt},91857:function(xt,It,te){"use strict";var z=te(59301),ie=te(38819),Ae=te(92310),je=te.n(Ae),Ee=te(31561),xe=te(70425),re=te(18929),We=te(2738),Ke=te(79676),ze=te(53487),Xe=te(92343),mt=te(36355),Re=te(20834),ae=te(40875),y=te(88088),a=te(47211);const b=null,E=oe=>{const{menu:le,arrow:ue,prefixCls:ge,children:Ce,trigger:pe,disabled:Be,dropdownRender:de,getPopupContainer:et,overlayClassName:Oe,rootClassName:Ge,open:Pe,onOpenChange:ke,visible:ot,onVisibleChange:Ue,mouseEnterDelay:it=.15,mouseLeaveDelay:Mt=.1,autoAdjustOverflow:_e=!0,placement:Tt="",overlay:Jt,transitionName:Me}=oe,{getPopupContainer:De,getPrefixCls:Et,direction:Kt}=z.useContext(mt.E_),ft=z.useMemo(()=>{const ye=Et();return Me!==void 0?Me:Tt.includes("top")?`${ye}-slide-down`:`${ye}-slide-up`},[Et,Tt,Me]),jt=z.useMemo(()=>Tt?Tt.includes("Center")?Tt.slice(0,Tt.indexOf("Center")):Tt:Kt==="rtl"?"bottomRight":"bottomLeft",[Tt,Kt]),Le=Et("dropdown",ge),[Xt,vn]=(0,a.Z)(Le),[,St]=(0,y.Z)(),ut=z.Children.only(Ce),Ve=(0,Xe.Tm)(ut,{className:je()(`${Le}-trigger`,{[`${Le}-rtl`]:Kt==="rtl"},ut.props.className),disabled:Be}),Te=Be?[]:pe;let he;Te&&Te.includes("contextMenu")&&(he=!0);const[se,Ie]=(0,re.Z)(!1,{value:Pe!=null?Pe:ot}),dt=(0,xe.useEvent)(ye=>{ke==null||ke(ye),Ue==null||Ue(ye),Ie(ye)}),Se=je()(Oe,Ge,vn,{[`${Le}-rtl`]:Kt==="rtl"}),ve=(0,Ke.Z)({arrowPointAtCenter:typeof ue=="object"&&ue.pointAtCenter,autoAdjustOverflow:_e,offset:St.marginXXS,arrowWidth:ue?St.sizePopupArrow:0,borderRadius:St.borderRadius}),Je=z.useCallback(()=>{Ie(!1)},[]),Ne=()=>{let ye;return le!=null&&le.items?ye=z.createElement(Re.default,Object.assign({},le)):typeof Jt=="function"?ye=Jt():ye=Jt,de&&(ye=de(ye)),ye=z.Children.only(typeof ye=="string"?z.createElement("span",null,ye):ye),z.createElement(ae.J,{prefixCls:`${Le}-menu`,expandIcon:z.createElement("span",{className:`${Le}-menu-submenu-arrow`},z.createElement(ie.Z,{className:`${Le}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:Je,validator:nt=>{let{mode:_t}=nt}},ye)};return Xt(z.createElement(Ee.Z,Object.assign({alignPoint:he},(0,We.Z)(oe,["rootClassName"]),{mouseEnterDelay:it,mouseLeaveDelay:Mt,visible:se,builtinPlacements:ve,arrow:!!ue,overlayClassName:Se,prefixCls:Le,getPopupContainer:et||De,transitionName:ft,trigger:Te,overlay:Ne,placement:jt,onVisibleChange:dt}),Ve))};function x(oe){return Object.assign(Object.assign({},oe),{align:{overflow:{adjustX:!1,adjustY:!1}}})}const ee=(0,ze.Z)(E,"dropdown",oe=>oe,x),ne=oe=>z.createElement(ee,Object.assign({},oe),z.createElement("span",null));E._InternalPanelDoNotUseOrYouWillBeFired=ne,It.Z=E},38854:function(xt,It,te){"use strict";te.d(It,{Z:function(){return y}});var z=te(91857),ie=te(92310),Ae=te.n(ie),je=te(59301),Ee=te(18785),xe=te(3113),re=te(36355),We=te(81327),Ke=te(33234),ze=te(47211),Xe=function(a,b){var E={};for(var x in a)Object.prototype.hasOwnProperty.call(a,x)&&b.indexOf(x)<0&&(E[x]=a[x]);if(a!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ee=0,x=Object.getOwnPropertySymbols(a);ee<x.length;ee++)b.indexOf(x[ee])<0&&Object.prototype.propertyIsEnumerable.call(a,x[ee])&&(E[x[ee]]=a[x[ee]]);return E};const mt=a=>{const{getPopupContainer:b,getPrefixCls:E,direction:x}=je.useContext(re.E_),{prefixCls:ee,type:ne="default",danger:oe,disabled:le,loading:ue,onClick:ge,htmlType:Ce,children:pe,className:Be,menu:de,arrow:et,autoFocus:Oe,overlay:Ge,trigger:Pe,align:ke,open:ot,onOpenChange:Ue,placement:it,getPopupContainer:Mt,href:_e,icon:Tt=je.createElement(Ee.Z,null),title:Jt,buttonsRender:Me=Ne=>Ne,mouseEnterDelay:De,mouseLeaveDelay:Et,overlayClassName:Kt,overlayStyle:ft,destroyPopupOnHide:jt,dropdownRender:Le}=a,Xt=Xe(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"]),vn=E("dropdown",ee),St=`${vn}-button`,[ut,Ve]=(0,ze.Z)(vn),Te={menu:de,arrow:et,autoFocus:Oe,align:ke,disabled:le,trigger:le?[]:Pe,onOpenChange:Ue,getPopupContainer:Mt||b,mouseEnterDelay:De,mouseLeaveDelay:Et,overlayClassName:Kt,overlayStyle:ft,destroyPopupOnHide:jt,dropdownRender:Le},{compactSize:he,compactItemClassnames:se}=(0,Ke.ri)(vn,x),Ie=Ae()(St,se,Be,Ve);"overlay"in a&&(Te.overlay=Ge),"open"in a&&(Te.open=ot),"placement"in a?Te.placement=it:Te.placement=x==="rtl"?"bottomLeft":"bottomRight";const dt=je.createElement(xe.ZP,{type:ne,danger:oe,disabled:le,loading:ue,onClick:ge,htmlType:Ce,href:_e,title:Jt},pe),Se=je.createElement(xe.ZP,{type:ne,danger:oe,icon:Tt}),[ve,Je]=Me([dt,Se]);return ut(je.createElement(We.Z.Compact,Object.assign({className:Ie,size:he,block:!0},Xt),ve,je.createElement(z.Z,Object.assign({},Te),Je)))};mt.__ANT_BUTTON=!0;var Re=mt;const ae=z.Z;ae.Button=Re;var y=ae},47211:function(xt,It,te){"use strict";te.d(It,{Z:function(){return Xe}});var z=te(17313),ie=te(13826),Ae=te(92899),je=te(29878),Ee=te(19447),xe=te(83116),re=te(37613),Ke=mt=>{const{componentCls:Re,menuCls:ae,colorError:y,colorTextLightSolid:a}=mt,b=`${ae}-item`;return{[`${Re}, ${Re}-menu-submenu`]:{[`${ae} ${b}`]:{[`&${b}-danger:not(${b}-disabled)`]:{color:y,"&:hover":{color:a,backgroundColor:y}}}}}};const ze=mt=>{const{componentCls:Re,menuCls:ae,zIndexPopup:y,dropdownArrowDistance:a,sizePopupArrow:b,antCls:E,iconCls:x,motionDurationMid:ee,dropdownPaddingVertical:ne,fontSize:oe,dropdownEdgeChildPadding:le,colorTextDisabled:ue,fontSizeIcon:ge,controlPaddingHorizontal:Ce,colorBgElevated:pe}=mt;return[{[Re]:Object.assign(Object.assign({},(0,z.Wf)(mt)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:y,display:"block","&::before":{position:"absolute",insetBlock:-a+b/2,zIndex:-9999,opacity:1e-4,content:'""'},[`&-trigger${E}-btn`]:{[`& > ${x}-down, & > ${E}-btn-icon > ${x}-down`]:{fontSize:ge}},[`${Re}-wrap`]:{position:"relative",[`${E}-btn > ${x}-down`]:{fontSize:ge},[`${x}-down::before`]:{transition:`transform ${ee}`}},[`${Re}-wrap-open`]:{[`${x}-down::before`]:{transform:"rotate(180deg)"}},"\n &-hidden,\n &-menu-hidden,\n &-menu-submenu-hidden\n ":{display:"none"},[`&${E}-slide-down-enter${E}-slide-down-enter-active${Re}-placement-bottomLeft,
&${E}-slide-down-appear${E}-slide-down-appear-active${Re}-placement-bottomLeft,
&${E}-slide-down-enter${E}-slide-down-enter-active${Re}-placement-bottom,
&${E}-slide-down-appear${E}-slide-down-appear-active${Re}-placement-bottom,
&${E}-slide-down-enter${E}-slide-down-enter-active${Re}-placement-bottomRight,
&${E}-slide-down-appear${E}-slide-down-appear-active${Re}-placement-bottomRight`]:{animationName:ie.fJ},[`&${E}-slide-up-enter${E}-slide-up-enter-active${Re}-placement-topLeft,
&${E}-slide-up-appear${E}-slide-up-appear-active${Re}-placement-topLeft,
&${E}-slide-up-enter${E}-slide-up-enter-active${Re}-placement-top,
&${E}-slide-up-appear${E}-slide-up-appear-active${Re}-placement-top,
&${E}-slide-up-enter${E}-slide-up-enter-active${Re}-placement-topRight,
&${E}-slide-up-appear${E}-slide-up-appear-active${Re}-placement-topRight`]:{animationName:ie.Qt},[`&${E}-slide-down-leave${E}-slide-down-leave-active${Re}-placement-bottomLeft,
&${E}-slide-down-leave${E}-slide-down-leave-active${Re}-placement-bottom,
&${E}-slide-down-leave${E}-slide-down-leave-active${Re}-placement-bottomRight`]:{animationName:ie.Uw},[`&${E}-slide-up-leave${E}-slide-up-leave-active${Re}-placement-topLeft,
&${E}-slide-up-leave${E}-slide-up-leave-active${Re}-placement-top,
&${E}-slide-up-leave${E}-slide-up-leave-active${Re}-placement-topRight`]:{animationName:ie.ly}})},(0,Ee.ZP)(mt,{colorBg:pe,limitVerticalRadius:!0,arrowPlacement:{top:!0,bottom:!0}}),{[`${Re} ${ae}`]:{position:"relative",margin:0},[`${ae}-submenu-popup`]:{position:"absolute",zIndex:y,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${Re}, ${Re}-menu-submenu`]:{[ae]:Object.assign(Object.assign({padding:le,listStyleType:"none",backgroundColor:pe,backgroundClip:"padding-box",borderRadius:mt.borderRadiusLG,outline:"none",boxShadow:mt.boxShadowSecondary},(0,z.Qy)(mt)),{[`${ae}-item-group-title`]:{padding:`${ne}px ${Ce}px`,color:mt.colorTextDescription,transition:`all ${ee}`},[`${ae}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${ae}-item-icon`]:{minWidth:oe,marginInlineEnd:mt.marginXS,fontSize:mt.fontSizeSM},[`${ae}-title-content`]:{flex:"auto","> a":{color:"inherit",transition:`all ${ee}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}}},[`${ae}-item, ${ae}-submenu-title`]:Object.assign(Object.assign({clear:"both",margin:0,padding:`${ne}px ${Ce}px`,color:mt.colorText,fontWeight:"normal",fontSize:oe,lineHeight:mt.lineHeight,cursor:"pointer",transition:`all ${ee}`,borderRadius:mt.borderRadiusSM,"&:hover, &-active":{backgroundColor:mt.controlItemBgHover}},(0,z.Qy)(mt)),{"&-selected":{color:mt.colorPrimary,backgroundColor:mt.controlItemBgActive,"&:hover, &-active":{backgroundColor:mt.controlItemBgActiveHover}},"&-disabled":{color:ue,cursor:"not-allowed","&:hover":{color:ue,backgroundColor:pe,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${mt.marginXXS}px 0`,overflow:"hidden",lineHeight:0,backgroundColor:mt.colorSplit},[`${Re}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:mt.paddingXS,[`${Re}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:mt.colorTextDescription,fontSize:ge,fontStyle:"normal"}}}),[`${ae}-item-group-list`]:{margin:`0 ${mt.marginXS}px`,padding:0,listStyle:"none"},[`${ae}-submenu-title`]:{paddingInlineEnd:Ce+mt.fontSizeSM},[`${ae}-submenu-vertical`]:{position:"relative"},[`${ae}-submenu${ae}-submenu-disabled ${Re}-menu-submenu-title`]:{[`&, ${Re}-menu-submenu-arrow-icon`]:{color:ue,backgroundColor:pe,cursor:"not-allowed"}},[`${ae}-submenu-selected ${Re}-menu-submenu-title`]:{color:mt.colorPrimary}})}},[(0,ie.oN)(mt,"slide-up"),(0,ie.oN)(mt,"slide-down"),(0,Ae.Fm)(mt,"move-up"),(0,Ae.Fm)(mt,"move-down"),(0,je._y)(mt,"zoom-big")]]};var Xe=(0,xe.Z)("Dropdown",(mt,Re)=>{let{rootPrefixCls:ae}=Re;const{marginXXS:y,sizePopupArrow:a,controlHeight:b,fontSize:E,lineHeight:x,paddingXXS:ee,componentCls:ne,borderRadiusLG:oe}=mt,le=(b-E*x)/2,{dropdownArrowOffset:ue}=(0,Ee.fS)({contentRadius:oe}),ge=(0,re.TS)(mt,{menuCls:`${ne}-menu`,rootPrefixCls:ae,dropdownArrowDistance:a/2+y,dropdownArrowOffset:ue,dropdownPaddingVertical:le,dropdownEdgeChildPadding:ee});return[ze(ge),Ke(ge)]},mt=>({zIndexPopup:mt.zIndexPopupBase+50}))},8628:function(xt,It,te){"use strict";var z=te(59301),ie=te(34280),Ae=te(56762),je=te(69507);function Ee(){let xe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;const re=(0,z.useRef)({}),We=(0,Ae.Z)(),Ke=(0,je.ZP)();return(0,ie.Z)(()=>{const ze=Ke.subscribe(Xe=>{re.current=Xe,xe&&We()});return()=>Ke.unsubscribe(ze)},[]),re.current}It.Z=Ee},45818:function(xt,It,te){"use strict";te.d(It,{D:function(){return ee},Z:function(){return le}});var z=te(32855),ie=te(59301),Ae={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"bars",theme:"outlined"},je=Ae,Ee=te(7657),xe=function(ge,Ce){return ie.createElement(Ee.Z,(0,z.Z)({},ge,{ref:Ce,icon:je}))},re=ie.forwardRef(xe),We=re,Ke=te(33853),ze=te(38819),Xe=te(92310),mt=te.n(Xe),Re=te(2738),y=ue=>!isNaN(parseFloat(ue))&&isFinite(ue),a=te(36355),b=te(84966),E=function(ue,ge){var Ce={};for(var pe in ue)Object.prototype.hasOwnProperty.call(ue,pe)&&ge.indexOf(pe)<0&&(Ce[pe]=ue[pe]);if(ue!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Be=0,pe=Object.getOwnPropertySymbols(ue);Be<pe.length;Be++)ge.indexOf(pe[Be])<0&&Object.prototype.propertyIsEnumerable.call(ue,pe[Be])&&(Ce[pe[Be]]=ue[pe[Be]]);return Ce};const x={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},ee=ie.createContext({}),ne=(()=>{let ue=0;return function(){let ge=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return ue+=1,`${ge}${ue}`}})();var le=ie.forwardRef((ue,ge)=>{const{prefixCls:Ce,className:pe,trigger:Be,children:de,defaultCollapsed:et=!1,theme:Oe="dark",style:Ge={},collapsible:Pe=!1,reverseArrow:ke=!1,width:ot=200,collapsedWidth:Ue=80,zeroWidthTriggerStyle:it,breakpoint:Mt,onCollapse:_e,onBreakpoint:Tt}=ue,Jt=E(ue,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:Me}=(0,ie.useContext)(b.Gs),[De,Et]=(0,ie.useState)("collapsed"in ue?ue.collapsed:et),[Kt,ft]=(0,ie.useState)(!1);(0,ie.useEffect)(()=>{"collapsed"in ue&&Et(ue.collapsed)},[ue.collapsed]);const jt=(Ve,Te)=>{"collapsed"in ue||Et(Ve),_e==null||_e(Ve,Te)},Le=(0,ie.useRef)();Le.current=Ve=>{ft(Ve.matches),Tt==null||Tt(Ve.matches),De!==Ve.matches&&jt(Ve.matches,"responsive")},(0,ie.useEffect)(()=>{function Ve(he){return Le.current(he)}let Te;if(typeof window!="undefined"){const{matchMedia:he}=window;if(he&&Mt&&Mt in x){Te=he(`(max-width: ${x[Mt]})`);try{Te.addEventListener("change",Ve)}catch(se){Te.addListener(Ve)}Ve(Te)}}return()=>{try{Te==null||Te.removeEventListener("change",Ve)}catch(he){Te==null||Te.removeListener(Ve)}}},[Mt]),(0,ie.useEffect)(()=>{const Ve=ne("ant-sider-");return Me.addSider(Ve),()=>Me.removeSider(Ve)},[]);const Xt=()=>{jt(!De,"clickTrigger")},{getPrefixCls:vn}=(0,ie.useContext)(a.E_),St=()=>{const Ve=vn("layout-sider",Ce),Te=(0,Re.Z)(Jt,["collapsed"]),he=De?Ue:ot,se=y(he)?`${he}px`:String(he),Ie=parseFloat(String(Ue||0))===0?ie.createElement("span",{onClick:Xt,className:mt()(`${Ve}-zero-width-trigger`,`${Ve}-zero-width-trigger-${ke?"right":"left"}`),style:it},Be||ie.createElement(We,null)):null,ve={expanded:ke?ie.createElement(ze.Z,null):ie.createElement(Ke.Z,null),collapsed:ke?ie.createElement(Ke.Z,null):ie.createElement(ze.Z,null)}[De?"collapsed":"expanded"],Je=Be!==null?Ie||ie.createElement("div",{className:`${Ve}-trigger`,onClick:Xt,style:{width:se}},Be||ve):null,Ne=Object.assign(Object.assign({},Ge),{flex:`0 0 ${se}`,maxWidth:se,minWidth:se,width:se}),ye=mt()(Ve,`${Ve}-${Oe}`,{[`${Ve}-collapsed`]:!!De,[`${Ve}-has-trigger`]:Pe&&Be!==null&&!Ie,[`${Ve}-below`]:!!Kt,[`${Ve}-zero-width`]:parseFloat(se)===0},pe);return ie.createElement("aside",Object.assign({className:ye},Te,{style:Ne,ref:ge}),ie.createElement("div",{className:`${Ve}-children`},de),Pe||Kt&&Ie?Je:null)},ut=ie.useMemo(()=>({siderCollapsed:De}),[De]);return ie.createElement(ee.Provider,{value:ut},St())})},84966:function(xt,It,te){"use strict";te.d(It,{VY:function(){return ee},$_:function(){return x},h4:function(){return E},Gs:function(){return Re},ZP:function(){return ne}});var z=te(3300),ie=te(92310),Ae=te.n(ie),je=te(2738),Ee=te(59301),xe=te(36355),re=te(83116),Ke=oe=>{const{componentCls:le,bodyBg:ue,lightSiderBg:ge,lightTriggerBg:Ce,lightTriggerColor:pe}=oe;return{[`${le}-sider-light`]:{background:ge,[`${le}-sider-trigger`]:{color:pe,background:Ce},[`${le}-sider-zero-width-trigger`]:{color:pe,background:Ce,border:`1px solid ${ue}`,borderInlineStart:0}}}};const ze=oe=>{const{antCls:le,componentCls:ue,colorText:ge,triggerColor:Ce,footerBg:pe,triggerBg:Be,headerHeight:de,headerPadding:et,headerColor:Oe,footerPadding:Ge,triggerHeight:Pe,zeroTriggerHeight:ke,zeroTriggerWidth:ot,motionDurationMid:Ue,motionDurationSlow:it,fontSize:Mt,borderRadius:_e,bodyBg:Tt,headerBg:Jt,siderBg:Me}=oe;return{[ue]:Object.assign(Object.assign({display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:Tt,"&, *":{boxSizing:"border-box"},[`&${ue}-has-sider`]:{flexDirection:"row",[`> ${ue}, > ${ue}-content`]:{width:0}},[`${ue}-header, &${ue}-footer`]:{flex:"0 0 auto"},[`${ue}-sider`]:{position:"relative",minWidth:0,background:Me,transition:`all ${Ue}, background 0s`,"&-children":{height:"100%",marginTop:-.1,paddingTop:.1,[`${le}-menu${le}-menu-inline-collapsed`]:{width:"auto"}},"&-has-trigger":{paddingBottom:Pe},"&-right":{order:1},"&-trigger":{position:"fixed",bottom:0,zIndex:1,height:Pe,color:Ce,lineHeight:`${Pe}px`,textAlign:"center",background:Be,cursor:"pointer",transition:`all ${Ue}`},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:de,insetInlineEnd:-ot,zIndex:1,width:ot,height:ke,color:Ce,fontSize:oe.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:Me,borderStartStartRadius:0,borderStartEndRadius:_e,borderEndEndRadius:_e,borderEndStartRadius:0,cursor:"pointer",transition:`background ${it} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${it}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:-ot,borderStartStartRadius:_e,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:_e}}}}},Ke(oe)),{"&-rtl":{direction:"rtl"}}),[`${ue}-header`]:{height:de,padding:et,color:Oe,lineHeight:`${de}px`,background:Jt,[`${le}-menu`]:{lineHeight:"inherit"}},[`${ue}-footer`]:{padding:Ge,color:ge,fontSize:Mt,background:pe},[`${ue}-content`]:{flex:"auto",minHeight:0}}};var Xe=(0,re.Z)("Layout",oe=>[ze(oe)],oe=>{const{colorBgLayout:le,controlHeight:ue,controlHeightLG:ge,colorText:Ce,controlHeightSM:pe,marginXXS:Be,colorTextLightSolid:de,colorBgContainer:et}=oe,Oe=ge*1.25;return{colorBgHeader:"#001529",colorBgBody:le,colorBgTrigger:"#002140",bodyBg:le,headerBg:"#001529",headerHeight:ue*2,headerPadding:`0 ${Oe}px`,headerColor:Ce,footerPadding:`${pe}px ${Oe}px`,footerBg:le,siderBg:"#001529",triggerHeight:ge+Be*2,triggerBg:"#002140",triggerColor:de,zeroTriggerWidth:ge,zeroTriggerHeight:ge,lightSiderBg:et,lightTriggerBg:et,lightTriggerColor:Ce}},{deprecatedTokens:[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]]}),mt=function(oe,le){var ue={};for(var ge in oe)Object.prototype.hasOwnProperty.call(oe,ge)&&le.indexOf(ge)<0&&(ue[ge]=oe[ge]);if(oe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ce=0,ge=Object.getOwnPropertySymbols(oe);Ce<ge.length;Ce++)le.indexOf(ge[Ce])<0&&Object.prototype.propertyIsEnumerable.call(oe,ge[Ce])&&(ue[ge[Ce]]=oe[ge[Ce]]);return ue};const Re=Ee.createContext({siderHook:{addSider:()=>null,removeSider:()=>null}});function ae(oe){let{suffixCls:le,tagName:ue,displayName:ge}=oe;return Ce=>Ee.forwardRef((Be,de)=>Ee.createElement(Ce,Object.assign({ref:de,suffixCls:le,tagName:ue},Be)))}const y=Ee.forwardRef((oe,le)=>{const{prefixCls:ue,suffixCls:ge,className:Ce,tagName:pe}=oe,Be=mt(oe,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:de}=Ee.useContext(xe.E_),et=de("layout",ue),[Oe,Ge]=Xe(et),Pe=ge?`${et}-${ge}`:et;return Oe(Ee.createElement(pe,Object.assign({className:Ae()(ue||Pe,Ce,Ge),ref:le},Be)))}),a=Ee.forwardRef((oe,le)=>{const{direction:ue}=Ee.useContext(xe.E_),[ge,Ce]=Ee.useState([]),{prefixCls:pe,className:Be,rootClassName:de,children:et,hasSider:Oe,tagName:Ge,style:Pe}=oe,ke=mt(oe,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),ot=(0,je.Z)(ke,["suffixCls"]),{getPrefixCls:Ue,layout:it}=Ee.useContext(xe.E_),Mt=Ue("layout",pe),[_e,Tt]=Xe(Mt),Jt=Ae()(Mt,{[`${Mt}-has-sider`]:typeof Oe=="boolean"?Oe:ge.length>0,[`${Mt}-rtl`]:ue==="rtl"},it==null?void 0:it.className,Be,de,Tt),Me=Ee.useMemo(()=>({siderHook:{addSider:De=>{Ce(Et=>[].concat((0,z.Z)(Et),[De]))},removeSider:De=>{Ce(Et=>Et.filter(Kt=>Kt!==De))}}}),[]);return _e(Ee.createElement(Re.Provider,{value:Me},Ee.createElement(Ge,Object.assign({ref:le,className:Jt,style:Object.assign(Object.assign({},it==null?void 0:it.style),Pe)},ot),et)))}),b=ae({tagName:"div",displayName:"Layout"})(a),E=ae({suffixCls:"header",tagName:"header",displayName:"Header"})(y),x=ae({suffixCls:"footer",tagName:"footer",displayName:"Footer"})(y),ee=ae({suffixCls:"content",tagName:"main",displayName:"Content"})(y);var ne=b},40875:function(xt,It,te){"use strict";te.d(It,{J:function(){return xe}});var z=te(59301),ie=te(33234),Ae=te(70425),je=function(re,We){var Ke={};for(var ze in re)Object.prototype.hasOwnProperty.call(re,ze)&&We.indexOf(ze)<0&&(Ke[ze]=re[ze]);if(re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Xe=0,ze=Object.getOwnPropertySymbols(re);Xe<ze.length;Xe++)We.indexOf(ze[Xe])<0&&Object.prototype.propertyIsEnumerable.call(re,ze[Xe])&&(Ke[ze[Xe]]=re[ze[Xe]]);return Ke};const Ee=z.createContext(null),xe=z.forwardRef((re,We)=>{const{children:Ke}=re,ze=je(re,["children"]),Xe=z.useContext(Ee),mt=z.useMemo(()=>Object.assign(Object.assign({},Xe),ze),[Xe,ze.prefixCls,ze.mode,ze.selectable]);return z.createElement(Ee.Provider,{value:mt},z.createElement(ie.BR,null,(0,Ae.supportNodeRef)(Ke)?z.cloneElement(Ke,{ref:We}):Ke))});It.Z=Ee},20834:function(xt,It,te){"use strict";te.d(It,{default:function(){return ut}});var z=te(15285),ie=te(59301),Ae=te(45818),je=te(92310),Ee=te.n(je),xe=te(36355),re=function(Ve,Te){var he={};for(var se in Ve)Object.prototype.hasOwnProperty.call(Ve,se)&&Te.indexOf(se)<0&&(he[se]=Ve[se]);if(Ve!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ie=0,se=Object.getOwnPropertySymbols(Ve);Ie<se.length;Ie++)Te.indexOf(se[Ie])<0&&Object.prototype.propertyIsEnumerable.call(Ve,se[Ie])&&(he[se[Ie]]=Ve[se[Ie]]);return he},Ke=Ve=>{const{prefixCls:Te,className:he,dashed:se}=Ve,Ie=re(Ve,["prefixCls","className","dashed"]),{getPrefixCls:dt}=ie.useContext(xe.E_),Se=dt("menu",Te),ve=Ee()({[`${Se}-item-divider-dashed`]:!!se},he);return ie.createElement(z.iz,Object.assign({className:ve},Ie))},ze=te(11592),Xe=te(2738),mt=te(6848),Re=te(92343),y=(0,ie.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),b=Ve=>{var Te;const{className:he,children:se,icon:Ie,title:dt,danger:Se}=Ve,{prefixCls:ve,firstLevel:Je,direction:Ne,disableMenuItemTitleTooltip:ye,inlineCollapsed:nt}=ie.useContext(y),_t=st=>{const pt=ie.createElement("span",{className:`${ve}-title-content`},se);return(!Ie||(0,Re.l$)(se)&&se.type==="span")&&se&&st&&Je&&typeof se=="string"?ie.createElement("div",{className:`${ve}-inline-collapsed-noicon`},se.charAt(0)):pt},{siderCollapsed:gt}=ie.useContext(Ae.D);let Gt=dt;typeof dt=="undefined"?Gt=Je?se:"":dt===!1&&(Gt="");const Ot={title:Gt};!gt&&!nt&&(Ot.title=null,Ot.open=!1);const Ut=(0,ze.Z)(se).length;let be=ie.createElement(z.ck,Object.assign({},(0,Xe.Z)(Ve,["title","icon","danger"]),{className:Ee()({[`${ve}-item-danger`]:Se,[`${ve}-item-only-child`]:(Ie?Ut+1:Ut)===1},he),title:typeof dt=="string"?dt:void 0}),(0,Re.Tm)(Ie,{className:Ee()((0,Re.l$)(Ie)?(Te=Ie.props)===null||Te===void 0?void 0:Te.className:"",`${ve}-item-icon`)}),_t(nt));return ye||(be=ie.createElement(mt.Z,Object.assign({},Ot,{placement:Ne==="rtl"?"left":"right",overlayClassName:`${ve}-inline-collapsed-tooltip`}),be)),be},x=Ve=>{var Te;const{popupClassName:he,icon:se,title:Ie,theme:dt}=Ve,Se=ie.useContext(y),{prefixCls:ve,inlineCollapsed:Je,theme:Ne}=Se,ye=(0,z.Xl)();let nt;if(!se)nt=Je&&!ye.length&&Ie&&typeof Ie=="string"?ie.createElement("div",{className:`${ve}-inline-collapsed-noicon`},Ie.charAt(0)):ie.createElement("span",{className:`${ve}-title-content`},Ie);else{const gt=(0,Re.l$)(Ie)&&Ie.type==="span";nt=ie.createElement(ie.Fragment,null,(0,Re.Tm)(se,{className:Ee()((0,Re.l$)(se)?(Te=se.props)===null||Te===void 0?void 0:Te.className:"",`${ve}-item-icon`)}),gt?Ie:ie.createElement("span",{className:`${ve}-title-content`},Ie))}const _t=ie.useMemo(()=>Object.assign(Object.assign({},Se),{firstLevel:!1}),[Se]);return ie.createElement(y.Provider,{value:_t},ie.createElement(z.Wd,Object.assign({},(0,Xe.Z)(Ve,["icon"]),{title:nt,popupClassName:Ee()(ve,he,`${ve}-${dt||Ne}`)})))},ee=te(18785),ne=te(70425),oe=te(62892),le=te(40875),ue=function(Ve,Te){var he={};for(var se in Ve)Object.prototype.hasOwnProperty.call(Ve,se)&&Te.indexOf(se)<0&&(he[se]=Ve[se]);if(Ve!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ie=0,se=Object.getOwnPropertySymbols(Ve);Ie<se.length;Ie++)Te.indexOf(se[Ie])<0&&Object.prototype.propertyIsEnumerable.call(Ve,se[Ie])&&(he[se[Ie]]=Ve[se[Ie]]);return he};function ge(Ve){return(Ve||[]).map((Te,he)=>{if(Te&&typeof Te=="object"){const se=Te,{label:Ie,children:dt,key:Se,type:ve}=se,Je=ue(se,["label","children","key","type"]),Ne=Se!=null?Se:`tmp-${he}`;return dt||ve==="group"?ve==="group"?ie.createElement(z.BW,Object.assign({key:Ne},Je,{title:Ie}),ge(dt)):ie.createElement(x,Object.assign({key:Ne},Je,{title:Ie}),ge(dt)):ve==="divider"?ie.createElement(Ke,Object.assign({key:Ne},Je)):ie.createElement(b,Object.assign({key:Ne},Je),Ie)}return null}).filter(Te=>Te)}function Ce(Ve){return ie.useMemo(()=>Ve&&ge(Ve),[Ve])}var pe=te(64993),Be=te(17313),de=te(8378),et=te(13826),Oe=te(29878),Ge=te(83116),Pe=te(37613),ot=Ve=>{const{componentCls:Te,motionDurationSlow:he,horizontalLineHeight:se,colorSplit:Ie,lineWidth:dt,lineType:Se,itemPaddingInline:ve}=Ve;return{[`${Te}-horizontal`]:{lineHeight:se,border:0,borderBottom:`${dt}px ${Se} ${Ie}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${Te}-item, ${Te}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:ve},[`> ${Te}-item:hover,
> ${Te}-item-active,
> ${Te}-submenu ${Te}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${Te}-item, ${Te}-submenu-title`]:{transition:[`border-color ${he}`,`background ${he}`].join(",")},[`${Te}-submenu-arrow`]:{display:"none"}}}},it=Ve=>{let{componentCls:Te,menuArrowOffset:he}=Ve;return{[`${Te}-rtl`]:{direction:"rtl"},[`${Te}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${Te}-rtl${Te}-vertical,
${Te}-submenu-rtl ${Te}-vertical`]:{[`${Te}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(-${he})`},"&::after":{transform:`rotate(45deg) translateY(${he})`}}}}};const Mt=Ve=>Object.assign({},(0,Be.oN)(Ve));var Tt=(Ve,Te)=>{const{componentCls:he,itemColor:se,itemSelectedColor:Ie,groupTitleColor:dt,itemBg:Se,subMenuItemBg:ve,itemSelectedBg:Je,activeBarHeight:Ne,activeBarWidth:ye,activeBarBorderWidth:nt,motionDurationSlow:_t,motionEaseInOut:gt,motionEaseOut:Gt,itemPaddingInline:Ot,motionDurationMid:Ut,itemHoverColor:be,lineType:st,colorSplit:pt,itemDisabledColor:ct,dangerItemColor:Nt,dangerItemHoverColor:Vt,dangerItemSelectedColor:on,dangerItemActiveBg:Qt,dangerItemSelectedBg:bn,itemHoverBg:Tn,itemActiveBg:Lt,menuSubMenuBg:Ft,horizontalItemSelectedColor:Wt,horizontalItemSelectedBg:fn,horizontalItemBorderRadius:un,horizontalItemHoverBg:Hn,popupBg:rt}=Ve;return{[`${he}-${Te}, ${he}-${Te} > ${he}`]:{color:se,background:Se,[`&${he}-root:focus-visible`]:Object.assign({},Mt(Ve)),[`${he}-item-group-title`]:{color:dt},[`${he}-submenu-selected`]:{[`> ${he}-submenu-title`]:{color:Ie}},[`${he}-item-disabled, ${he}-submenu-disabled`]:{color:`${ct} !important`},[`${he}-item:not(${he}-item-selected):not(${he}-submenu-selected)`]:{[`&:hover, > ${he}-submenu-title:hover`]:{color:be}},[`&:not(${he}-horizontal)`]:{[`${he}-item:not(${he}-item-selected)`]:{"&:hover":{backgroundColor:Tn},"&:active":{backgroundColor:Lt}},[`${he}-submenu-title`]:{"&:hover":{backgroundColor:Tn},"&:active":{backgroundColor:Lt}}},[`${he}-item-danger`]:{color:Nt,[`&${he}-item:hover`]:{[`&:not(${he}-item-selected):not(${he}-submenu-selected)`]:{color:Vt}},[`&${he}-item:active`]:{background:Qt}},[`${he}-item a`]:{"&, &:hover":{color:"inherit"}},[`${he}-item-selected`]:{color:Ie,[`&${he}-item-danger`]:{color:on},"a, a:hover":{color:"inherit"}},[`& ${he}-item-selected`]:{backgroundColor:Je,[`&${he}-item-danger`]:{backgroundColor:bn}},[`${he}-item, ${he}-submenu-title`]:{[`&:not(${he}-item-disabled):focus-visible`]:Object.assign({},Mt(Ve))},[`&${he}-submenu > ${he}`]:{backgroundColor:Ft},[`&${he}-popup > ${he}`]:{backgroundColor:rt},[`&${he}-horizontal`]:Object.assign(Object.assign({},Te==="dark"?{borderBottom:0}:{}),{[`> ${he}-item, > ${he}-submenu`]:{top:nt,marginTop:-nt,marginBottom:0,borderRadius:un,"&::after":{position:"absolute",insetInline:Ot,bottom:0,borderBottom:`${Ne}px solid transparent`,transition:`border-color ${_t} ${gt}`,content:'""'},"&:hover, &-active, &-open":{background:Hn,"&::after":{borderBottomWidth:Ne,borderBottomColor:Wt}},"&-selected":{color:Wt,backgroundColor:fn,"&:hover":{backgroundColor:fn},"&::after":{borderBottomWidth:Ne,borderBottomColor:Wt}}}}),[`&${he}-root`]:{[`&${he}-inline, &${he}-vertical`]:{borderInlineEnd:`${nt}px ${st} ${pt}`}},[`&${he}-inline`]:{[`${he}-sub${he}-inline`]:{background:ve},[`${he}-item, ${he}-submenu-title`]:nt&&ye?{width:`calc(100% + ${nt}px)`}:{},[`${he}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${ye}px solid ${Ie}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${Ut} ${Gt}`,`opacity ${Ut} ${Gt}`].join(","),content:'""'},[`&${he}-item-danger`]:{"&::after":{borderInlineEndColor:on}}},[`${he}-selected, ${he}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${Ut} ${gt}`,`opacity ${Ut} ${gt}`].join(",")}}}}}};const Jt=Ve=>{const{componentCls:Te,itemHeight:he,itemMarginInline:se,padding:Ie,menuArrowSize:dt,marginXS:Se,itemMarginBlock:ve}=Ve,Je=Ie+dt+Se;return{[`${Te}-item`]:{position:"relative",overflow:"hidden"},[`${Te}-item, ${Te}-submenu-title`]:{height:he,lineHeight:`${he}px`,paddingInline:Ie,overflow:"hidden",textOverflow:"ellipsis",marginInline:se,marginBlock:ve,width:`calc(100% - ${se*2}px)`},[`> ${Te}-item,
> ${Te}-submenu > ${Te}-submenu-title`]:{height:he,lineHeight:`${he}px`},[`${Te}-item-group-list ${Te}-submenu-title,
${Te}-submenu-title`]:{paddingInlineEnd:Je}}};var De=Ve=>{const{componentCls:Te,iconCls:he,itemHeight:se,colorTextLightSolid:Ie,dropdownWidth:dt,controlHeightLG:Se,motionDurationMid:ve,motionEaseOut:Je,paddingXL:Ne,itemMarginInline:ye,fontSizeLG:nt,motionDurationSlow:_t,paddingXS:gt,boxShadowSecondary:Gt,collapsedWidth:Ot,collapsedIconSize:Ut}=Ve,be={height:se,lineHeight:`${se}px`,listStylePosition:"inside",listStyleType:"disc"};return[{[Te]:{"&-inline, &-vertical":Object.assign({[`&${Te}-root`]:{boxShadow:"none"}},Jt(Ve))},[`${Te}-submenu-popup`]:{[`${Te}-vertical`]:Object.assign(Object.assign({},Jt(Ve)),{boxShadow:Gt})}},{[`${Te}-submenu-popup ${Te}-vertical${Te}-sub`]:{minWidth:dt,maxHeight:`calc(100vh - ${Se*2.5}px)`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${Te}-inline`]:{width:"100%",[`&${Te}-root`]:{[`${Te}-item, ${Te}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${_t}`,`background ${_t}`,`padding ${ve} ${Je}`].join(","),[`> ${Te}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${Te}-sub${Te}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${Te}-submenu > ${Te}-submenu-title`]:be,[`& ${Te}-item-group-title`]:{paddingInlineStart:Ne}},[`${Te}-item`]:be}},{[`${Te}-inline-collapsed`]:{width:Ot,[`&${Te}-root`]:{[`${Te}-item, ${Te}-submenu ${Te}-submenu-title`]:{[`> ${Te}-inline-collapsed-noicon`]:{fontSize:nt,textAlign:"center"}}},[`> ${Te}-item,
> ${Te}-item-group > ${Te}-item-group-list > ${Te}-item,
> ${Te}-item-group > ${Te}-item-group-list > ${Te}-submenu > ${Te}-submenu-title,
> ${Te}-submenu > ${Te}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${nt/2}px - ${ye}px)`,textOverflow:"clip",[`
${Te}-submenu-arrow,
${Te}-submenu-expand-icon
`]:{opacity:0},[`${Te}-item-icon, ${he}`]:{margin:0,fontSize:Ut,lineHeight:`${se}px`,"+ span":{display:"inline-block",opacity:0}}},[`${Te}-item-icon, ${he}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${Te}-item-icon, ${he}`]:{display:"none"},"a, a:hover":{color:Ie}},[`${Te}-item-group-title`]:Object.assign(Object.assign({},Be.vS),{paddingInline:gt})}}]};const Et=Ve=>{const{componentCls:Te,motionDurationSlow:he,motionDurationMid:se,motionEaseInOut:Ie,motionEaseOut:dt,iconCls:Se,iconSize:ve,iconMarginInlineEnd:Je}=Ve;return{[`${Te}-item, ${Te}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${he}`,`background ${he}`,`padding ${he} ${Ie}`].join(","),[`${Te}-item-icon, ${Se}`]:{minWidth:ve,fontSize:ve,transition:[`font-size ${se} ${dt}`,`margin ${he} ${Ie}`,`color ${he}`].join(","),"+ span":{marginInlineStart:Je,opacity:1,transition:[`opacity ${he} ${Ie}`,`margin ${he}`,`color ${he}`].join(",")}},[`${Te}-item-icon`]:Object.assign({},(0,Be.Ro)()),[`&${Te}-item-only-child`]:{[`> ${Se}, > ${Te}-item-icon`]:{marginInlineEnd:0}}},[`${Te}-item-disabled, ${Te}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important"},[`> ${Te}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},Kt=Ve=>{const{componentCls:Te,motionDurationSlow:he,motionEaseInOut:se,borderRadius:Ie,menuArrowSize:dt,menuArrowOffset:Se}=Ve;return{[`${Te}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:Ve.margin,width:dt,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${he} ${se}, opacity ${he}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:dt*.6,height:dt*.15,backgroundColor:"currentcolor",borderRadius:Ie,transition:[`background ${he} ${se}`,`transform ${he} ${se}`,`top ${he} ${se}`,`color ${he} ${se}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(-${Se})`},"&::after":{transform:`rotate(-45deg) translateY(${Se})`}}}}},ft=Ve=>{const{antCls:Te,componentCls:he,fontSize:se,motionDurationSlow:Ie,motionDurationMid:dt,motionEaseInOut:Se,paddingXS:ve,padding:Je,colorSplit:Ne,lineWidth:ye,zIndexPopup:nt,borderRadiusLG:_t,subMenuItemBorderRadius:gt,menuArrowSize:Gt,menuArrowOffset:Ot,lineType:Ut,menuPanelMaskInset:be,groupTitleLineHeight:st,groupTitleFontSize:pt}=Ve;return[{"":{[`${he}`]:Object.assign(Object.assign({},(0,Be.dF)()),{"&-hidden":{display:"none"}})},[`${he}-submenu-hidden`]:{display:"none"}},{[he]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Be.Wf)(Ve)),(0,Be.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:se,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${Ie} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${he}-item`]:{flex:"none"}},[`${he}-item, ${he}-submenu, ${he}-submenu-title`]:{borderRadius:Ve.itemBorderRadius},[`${he}-item-group-title`]:{padding:`${ve}px ${Je}px`,fontSize:pt,lineHeight:st,transition:`all ${Ie}`},[`&-horizontal ${he}-submenu`]:{transition:[`border-color ${Ie} ${Se}`,`background ${Ie} ${Se}`].join(",")},[`${he}-submenu, ${he}-submenu-inline`]:{transition:[`border-color ${Ie} ${Se}`,`background ${Ie} ${Se}`,`padding ${dt} ${Se}`].join(",")},[`${he}-submenu ${he}-sub`]:{cursor:"initial",transition:[`background ${Ie} ${Se}`,`padding ${Ie} ${Se}`].join(",")},[`${he}-title-content`]:{transition:`color ${Ie}`},[`${he}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${he}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:Ne,borderStyle:Ut,borderWidth:0,borderTopWidth:ye,marginBlock:ye,padding:0,"&-dashed":{borderStyle:"dashed"}}}),Et(Ve)),{[`${he}-item-group`]:{[`${he}-item-group-list`]:{margin:0,padding:0,[`${he}-item, ${he}-submenu-title`]:{paddingInline:`${se*2}px ${Je}px`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:nt,borderRadius:_t,boxShadow:"none",transformOrigin:"0 0",[`&${he}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:`${be}px 0 0`,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'}},"&-placement-rightTop::before":{top:0,insetInlineStart:be},"\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:Ve.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:Ve.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:Ve.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:Ve.paddingXS},[`> ${he}`]:Object.assign(Object.assign(Object.assign({borderRadius:_t},Et(Ve)),Kt(Ve)),{[`${he}-item, ${he}-submenu > ${he}-submenu-title`]:{borderRadius:gt},[`${he}-submenu-title::after`]:{transition:`transform ${Ie} ${Se}`}})}}),Kt(Ve)),{[`&-inline-collapsed ${he}-submenu-arrow,
&-inline ${he}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${Ot})`},"&::after":{transform:`rotate(45deg) translateX(-${Ot})`}},[`${he}-submenu-open${he}-submenu-inline > ${he}-submenu-title > ${he}-submenu-arrow`]:{transform:`translateY(-${Gt*.2}px)`,"&::after":{transform:`rotate(-45deg) translateX(-${Ot})`},"&::before":{transform:`rotate(45deg) translateX(${Ot})`}}})},{[`${Te}-layout-header`]:{[he]:{lineHeight:"inherit"}}}]};var jt=(Ve,Te)=>(0,Ge.Z)("Menu",se=>{if(Te===!1)return[];const{colorBgElevated:Ie,colorPrimary:dt,colorTextLightSolid:Se,controlHeightLG:ve,fontSize:Je,darkItemColor:Ne,darkDangerItemColor:ye,darkItemBg:nt,darkSubMenuItemBg:_t,darkItemSelectedColor:gt,darkItemSelectedBg:Gt,darkDangerItemSelectedBg:Ot,darkItemHoverBg:Ut,darkGroupTitleColor:be,darkItemHoverColor:st,darkItemDisabledColor:pt,darkDangerItemHoverColor:ct,darkDangerItemSelectedColor:Nt,darkDangerItemActiveBg:Vt}=se,on=Je/7*5,Qt=(0,Pe.TS)(se,{menuArrowSize:on,menuHorizontalHeight:ve*1.15,menuArrowOffset:`${on*.25}px`,menuPanelMaskInset:-7,menuSubMenuBg:Ie}),bn=(0,Pe.TS)(Qt,{itemColor:Ne,itemHoverColor:st,groupTitleColor:be,itemSelectedColor:gt,itemBg:nt,popupBg:nt,subMenuItemBg:_t,itemActiveBg:"transparent",itemSelectedBg:Gt,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:Ut,itemDisabledColor:pt,dangerItemColor:ye,dangerItemHoverColor:ct,dangerItemSelectedColor:Nt,dangerItemActiveBg:Vt,dangerItemSelectedBg:Ot,menuSubMenuBg:_t,horizontalItemSelectedColor:Se,horizontalItemSelectedBg:dt});return[ft(Qt),ot(Qt),De(Qt),Tt(Qt,"light"),Tt(bn,"dark"),it(Qt),(0,de.Z)(Qt),(0,et.oN)(Qt,"slide-up"),(0,et.oN)(Qt,"slide-down"),(0,Oe._y)(Qt,"zoom-big")]},se=>{const{colorPrimary:Ie,colorError:dt,colorTextDisabled:Se,colorErrorBg:ve,colorText:Je,colorTextDescription:Ne,colorBgContainer:ye,colorFillAlter:nt,colorFillContent:_t,lineWidth:gt,lineWidthBold:Gt,controlItemBgActive:Ot,colorBgTextHover:Ut,controlHeightLG:be,lineHeight:st,colorBgElevated:pt,marginXXS:ct,padding:Nt,fontSize:Vt,controlHeightSM:on,fontSizeLG:Qt,colorTextLightSolid:bn,colorErrorHover:Tn}=se,Lt=new pe.C(bn).setAlpha(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:se.zIndexPopupBase+50,radiusItem:se.borderRadiusLG,itemBorderRadius:se.borderRadiusLG,radiusSubMenuItem:se.borderRadiusSM,subMenuItemBorderRadius:se.borderRadiusSM,colorItemText:Je,itemColor:Je,colorItemTextHover:Je,itemHoverColor:Je,colorItemTextHoverHorizontal:Ie,horizontalItemHoverColor:Ie,colorGroupTitle:Ne,groupTitleColor:Ne,colorItemTextSelected:Ie,itemSelectedColor:Ie,colorItemTextSelectedHorizontal:Ie,horizontalItemSelectedColor:Ie,colorItemBg:ye,itemBg:ye,colorItemBgHover:Ut,itemHoverBg:Ut,colorItemBgActive:_t,itemActiveBg:Ot,colorSubItemBg:nt,subMenuItemBg:nt,colorItemBgSelected:Ot,itemSelectedBg:Ot,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:0,colorActiveBarHeight:Gt,activeBarHeight:Gt,colorActiveBarBorderSize:gt,activeBarBorderWidth:gt,colorItemTextDisabled:Se,itemDisabledColor:Se,colorDangerItemText:dt,dangerItemColor:dt,colorDangerItemTextHover:dt,dangerItemHoverColor:dt,colorDangerItemTextSelected:dt,dangerItemSelectedColor:dt,colorDangerItemBgActive:ve,dangerItemActiveBg:ve,colorDangerItemBgSelected:ve,dangerItemSelectedBg:ve,itemMarginInline:se.marginXXS,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:be,groupTitleLineHeight:st,collapsedWidth:be*2,popupBg:pt,itemMarginBlock:ct,itemPaddingInline:Nt,horizontalLineHeight:`${be*1.15}px`,iconSize:Vt,iconMarginInlineEnd:on-Vt,collapsedIconSize:Qt,groupTitleFontSize:Vt,darkItemDisabledColor:new pe.C(bn).setAlpha(.25).toRgbString(),darkItemColor:Lt,darkDangerItemColor:dt,darkItemBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:bn,darkItemSelectedBg:Ie,darkDangerItemSelectedBg:dt,darkItemHoverBg:"transparent",darkGroupTitleColor:Lt,darkItemHoverColor:bn,darkDangerItemHoverColor:Tn,darkDangerItemSelectedColor:bn,darkDangerItemActiveBg:dt}},{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"]]})(Ve),Le=function(Ve,Te){var he={};for(var se in Ve)Object.prototype.hasOwnProperty.call(Ve,se)&&Te.indexOf(se)<0&&(he[se]=Ve[se]);if(Ve!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ie=0,se=Object.getOwnPropertySymbols(Ve);Ie<se.length;Ie++)Te.indexOf(se[Ie])<0&&Object.prototype.propertyIsEnumerable.call(Ve,se[Ie])&&(he[se[Ie]]=Ve[se[Ie]]);return he},vn=(0,ie.forwardRef)((Ve,Te)=>{var he,se;const Ie=ie.useContext(le.Z),dt=Ie||{},{getPrefixCls:Se,getPopupContainer:ve,direction:Je,menu:Ne}=ie.useContext(xe.E_),ye=Se(),{prefixCls:nt,className:_t,style:gt,theme:Gt="light",expandIcon:Ot,_internalDisableMenuItemTitleTooltip:Ut,inlineCollapsed:be,siderCollapsed:st,items:pt,children:ct,rootClassName:Nt,mode:Vt,selectable:on,onClick:Qt,overflowedIndicatorPopupClassName:bn}=Ve,Tn=Le(Ve,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","items","children","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),Lt=(0,Xe.Z)(Tn,["collapsedWidth"]),Ft=Ce(pt)||ct;(he=dt.validator)===null||he===void 0||he.call(dt,{mode:Vt});const Wt=(0,ne.useEvent)(function(){var zt;Qt==null||Qt.apply(void 0,arguments),(zt=dt.onClick)===null||zt===void 0||zt.call(dt)}),fn=dt.mode||Vt,un=on!=null?on:dt.selectable,Hn=ie.useMemo(()=>st!==void 0?st:be,[be,st]),rt={horizontal:{motionName:`${ye}-slide-up`},inline:(0,oe.Z)(ye),other:{motionName:`${ye}-zoom-big`}},Pt=Se("menu",nt||dt.prefixCls),[an,Pn]=jt(Pt,!Ie),Fe=Ee()(`${Pt}-${Gt}`,Ne==null?void 0:Ne.className,_t);let ht;if(typeof Ot=="function")ht=Ot;else if(Ot===null||Ot===!1)ht=null;else if(dt.expandIcon===null||dt.expandIcon===!1)ht=null;else{const zt=Ot!=null?Ot:dt.expandIcon;ht=(0,Re.Tm)(zt,{className:Ee()(`${Pt}-submenu-expand-icon`,(0,Re.l$)(zt)?(se=zt.props)===null||se===void 0?void 0:se.className:"")})}const Rt=ie.useMemo(()=>({prefixCls:Pt,inlineCollapsed:Hn||!1,direction:Je,firstLevel:!0,theme:Gt,mode:fn,disableMenuItemTitleTooltip:Ut}),[Pt,Hn,Je,Ut,Gt]);return an(ie.createElement(le.Z.Provider,{value:null},ie.createElement(y.Provider,{value:Rt},ie.createElement(z.ZP,Object.assign({getPopupContainer:ve,overflowedIndicator:ie.createElement(ee.Z,null),overflowedIndicatorPopupClassName:Ee()(Pt,`${Pt}-${Gt}`,bn),mode:fn,selectable:un,onClick:Wt},Lt,{inlineCollapsed:Hn,style:Object.assign(Object.assign({},Ne==null?void 0:Ne.style),gt),className:Fe,prefixCls:Pt,direction:Je,defaultMotions:rt,expandIcon:ht,ref:Te,rootClassName:Ee()(Nt,Pn)}),Ft))))});const St=(0,ie.forwardRef)((Ve,Te)=>{const he=(0,ie.useRef)(null),se=ie.useContext(Ae.D);return(0,ie.useImperativeHandle)(Te,()=>({menu:he.current,focus:Ie=>{var dt;(dt=he.current)===null||dt===void 0||dt.focus(Ie)}})),ie.createElement(vn,Object.assign({ref:he},Ve,se))});St.Item=b,St.SubMenu=x,St.Divider=Ke,St.ItemGroup=z.BW;var ut=St},58421:function(xt,It,te){"use strict";te.d(It,{Z:function(){return dt}});var z=te(32855),ie=te(59301),Ae={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M272.9 512l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L186.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H532c6.7 0 10.4-7.7 6.3-12.9L272.9 512zm304 0l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L490.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H836c6.7 0 10.4-7.7 6.3-12.9L576.9 512z"}}]},name:"double-left",theme:"outlined"},je=Ae,Ee=te(7657),xe=function(ve,Je){return ie.createElement(Ee.Z,(0,z.Z)({},ve,{ref:Je,icon:je}))},re=ie.forwardRef(xe),We=re,Ke=te(49198),ze=te(33853),Xe=te(38819),mt=te(92310),Re=te.n(mt),ae=te(74430),y=te(27247),a=te(33377),b=te(93912),E=te(18881),x=te(85461),ee=te(26112),ne={ZERO:48,NINE:57,NUMPAD_ZERO:96,NUMPAD_NINE:105,BACKSPACE:8,DELETE:46,ENTER:13,ARROW_UP:38,ARROW_DOWN:40},oe=ne,le=te(91735),ue=function(Se){(0,E.Z)(Je,Se);var ve=(0,x.Z)(Je);function Je(){var Ne;(0,a.Z)(this,Je);for(var ye=arguments.length,nt=new Array(ye),_t=0;_t<ye;_t++)nt[_t]=arguments[_t];return Ne=ve.call.apply(ve,[this].concat(nt)),Ne.state={goInputText:""},Ne.getValidValue=function(){var gt=Ne.state.goInputText;return!gt||Number.isNaN(gt)?void 0:Number(gt)},Ne.buildOptionText=function(gt){return"".concat(gt," ").concat(Ne.props.locale.items_per_page)},Ne.changeSize=function(gt){Ne.props.changeSize(Number(gt))},Ne.handleChange=function(gt){Ne.setState({goInputText:gt.target.value})},Ne.handleBlur=function(gt){var Gt=Ne.props,Ot=Gt.goButton,Ut=Gt.quickGo,be=Gt.rootPrefixCls,st=Ne.state.goInputText;Ot||st===""||(Ne.setState({goInputText:""}),!(gt.relatedTarget&&(gt.relatedTarget.className.indexOf("".concat(be,"-item-link"))>=0||gt.relatedTarget.className.indexOf("".concat(be,"-item"))>=0))&&Ut(Ne.getValidValue()))},Ne.go=function(gt){var Gt=Ne.state.goInputText;Gt!==""&&(gt.keyCode===oe.ENTER||gt.type==="click")&&(Ne.setState({goInputText:""}),Ne.props.quickGo(Ne.getValidValue()))},Ne}return(0,b.Z)(Je,[{key:"getPageSizeOptions",value:function(){var ye=this.props,nt=ye.pageSize,_t=ye.pageSizeOptions;return _t.some(function(gt){return gt.toString()===nt.toString()})?_t:_t.concat([nt.toString()]).sort(function(gt,Gt){var Ot=Number.isNaN(Number(gt))?0:Number(gt),Ut=Number.isNaN(Number(Gt))?0:Number(Gt);return Ot-Ut})}},{key:"render",value:function(){var ye=this,nt=this.props,_t=nt.pageSize,gt=nt.locale,Gt=nt.rootPrefixCls,Ot=nt.changeSize,Ut=nt.quickGo,be=nt.goButton,st=nt.selectComponentClass,pt=nt.buildOptionText,ct=nt.selectPrefixCls,Nt=nt.disabled,Vt=this.state.goInputText,on="".concat(Gt,"-options"),Qt=st,bn=null,Tn=null,Lt=null;if(!Ot&&!Ut)return null;var Ft=this.getPageSizeOptions();if(Ot&&Qt){var Wt=Ft.map(function(fn,un){return ie.createElement(Qt.Option,{key:un,value:fn.toString()},(pt||ye.buildOptionText)(fn))});bn=ie.createElement(Qt,{disabled:Nt,prefixCls:ct,showSearch:!1,className:"".concat(on,"-size-changer"),optionLabelProp:"children",popupMatchSelectWidth:!1,value:(_t||Ft[0]).toString(),onChange:this.changeSize,getPopupContainer:function(un){return un.parentNode},"aria-label":gt.page_size,defaultOpen:!1},Wt)}return Ut&&(be&&(Lt=typeof be=="boolean"?ie.createElement("button",{type:"button",onClick:this.go,onKeyUp:this.go,disabled:Nt,className:"".concat(on,"-quick-jumper-button")},gt.jump_to_confirm):ie.createElement("span",{onClick:this.go,onKeyUp:this.go},be)),Tn=ie.createElement("div",{className:"".concat(on,"-quick-jumper")},gt.jump_to,ie.createElement("input",{disabled:Nt,type:"text",value:Vt,onChange:this.handleChange,onKeyUp:this.go,onBlur:this.handleBlur,"aria-label":gt.page}),gt.page,Lt)),ie.createElement("li",{className:"".concat(on)},bn,Tn)}}]),Je}(ie.Component);ue.defaultProps={pageSizeOptions:["10","20","50","100"]};var ge=ue,Ce=function(ve){var Je,Ne=ve.rootPrefixCls,ye=ve.page,nt=ve.active,_t=ve.className,gt=ve.showTitle,Gt=ve.onClick,Ot=ve.onKeyPress,Ut=ve.itemRender,be="".concat(Ne,"-item"),st=Re()(be,"".concat(be,"-").concat(ye),(Je={},(0,ae.Z)(Je,"".concat(be,"-active"),nt),(0,ae.Z)(Je,"".concat(be,"-disabled"),!ye),(0,ae.Z)(Je,ve.className,_t),Je)),pt=function(){Gt(ye)},ct=function(on){Ot(on,Gt,ye)},Nt=Ut(ye,"page",ie.createElement("a",{rel:"nofollow"},ye));return Nt?ie.createElement("li",{title:gt?ye.toString():null,className:st,onClick:pt,onKeyPress:ct,tabIndex:0},Nt):null},pe=Ce;function Be(){}function de(Se){var ve=Number(Se);return typeof ve=="number"&&!Number.isNaN(ve)&&isFinite(ve)&&Math.floor(ve)===ve}var et=function(ve,Je,Ne){return Ne};function Oe(Se,ve,Je){var Ne=typeof Se=="undefined"?ve.pageSize:Se;return Math.floor((Je.total-1)/Ne)+1}var Ge=function(Se){(0,E.Z)(Je,Se);var ve=(0,x.Z)(Je);function Je(Ne){var ye;(0,a.Z)(this,Je),ye=ve.call(this,Ne),ye.paginationNode=ie.createRef(),ye.getJumpPrevPage=function(){return Math.max(1,ye.state.current-(ye.props.showLessItems?3:5))},ye.getJumpNextPage=function(){return Math.min(Oe(void 0,ye.state,ye.props),ye.state.current+(ye.props.showLessItems?3:5))},ye.getItemIcon=function(Ot,Ut){var be=ye.props.prefixCls,st=Ot||ie.createElement("button",{type:"button","aria-label":Ut,className:"".concat(be,"-item-link")});return typeof Ot=="function"&&(st=ie.createElement(Ot,(0,y.Z)({},ye.props))),st},ye.isValid=function(Ot){var Ut=ye.props.total;return de(Ot)&&Ot!==ye.state.current&&de(Ut)&&Ut>0},ye.shouldDisplayQuickJumper=function(){var Ot=ye.props,Ut=Ot.showQuickJumper,be=Ot.total,st=ye.state.pageSize;return be<=st?!1:Ut},ye.handleKeyDown=function(Ot){(Ot.keyCode===oe.ARROW_UP||Ot.keyCode===oe.ARROW_DOWN)&&Ot.preventDefault()},ye.handleKeyUp=function(Ot){var Ut=ye.getValidValue(Ot),be=ye.state.currentInputValue;Ut!==be&&ye.setState({currentInputValue:Ut}),Ot.keyCode===oe.ENTER?ye.handleChange(Ut):Ot.keyCode===oe.ARROW_UP?ye.handleChange(Ut-1):Ot.keyCode===oe.ARROW_DOWN&&ye.handleChange(Ut+1)},ye.handleBlur=function(Ot){var Ut=ye.getValidValue(Ot);ye.handleChange(Ut)},ye.changePageSize=function(Ot){var Ut=ye.state.current,be=Oe(Ot,ye.state,ye.props);Ut=Ut>be?be:Ut,be===0&&(Ut=ye.state.current),typeof Ot=="number"&&("pageSize"in ye.props||ye.setState({pageSize:Ot}),"current"in ye.props||ye.setState({current:Ut,currentInputValue:Ut})),ye.props.onShowSizeChange(Ut,Ot),"onChange"in ye.props&&ye.props.onChange&&ye.props.onChange(Ut,Ot)},ye.handleChange=function(Ot){var Ut=ye.props,be=Ut.disabled,st=Ut.onChange,pt=ye.state,ct=pt.pageSize,Nt=pt.current,Vt=pt.currentInputValue;if(ye.isValid(Ot)&&!be){var on=Oe(void 0,ye.state,ye.props),Qt=Ot;return Ot>on?Qt=on:Ot<1&&(Qt=1),"current"in ye.props||ye.setState({current:Qt}),Qt!==Vt&&ye.setState({currentInputValue:Qt}),st(Qt,ct),Qt}return Nt},ye.prev=function(){ye.hasPrev()&&ye.handleChange(ye.state.current-1)},ye.next=function(){ye.hasNext()&&ye.handleChange(ye.state.current+1)},ye.jumpPrev=function(){ye.handleChange(ye.getJumpPrevPage())},ye.jumpNext=function(){ye.handleChange(ye.getJumpNextPage())},ye.hasPrev=function(){return ye.state.current>1},ye.hasNext=function(){return ye.state.current<Oe(void 0,ye.state,ye.props)},ye.runIfEnter=function(Ot,Ut){if(Ot.key==="Enter"||Ot.charCode===13){for(var be=arguments.length,st=new Array(be>2?be-2:0),pt=2;pt<be;pt++)st[pt-2]=arguments[pt];Ut.apply(void 0,st)}},ye.runIfEnterPrev=function(Ot){ye.runIfEnter(Ot,ye.prev)},ye.runIfEnterNext=function(Ot){ye.runIfEnter(Ot,ye.next)},ye.runIfEnterJumpPrev=function(Ot){ye.runIfEnter(Ot,ye.jumpPrev)},ye.runIfEnterJumpNext=function(Ot){ye.runIfEnter(Ot,ye.jumpNext)},ye.handleGoTO=function(Ot){(Ot.keyCode===oe.ENTER||Ot.type==="click")&&ye.handleChange(ye.state.currentInputValue)},ye.renderPrev=function(Ot){var Ut=ye.props,be=Ut.prevIcon,st=Ut.itemRender,pt=st(Ot,"prev",ye.getItemIcon(be,"prev page")),ct=!ye.hasPrev();return(0,ie.isValidElement)(pt)?(0,ie.cloneElement)(pt,{disabled:ct}):pt},ye.renderNext=function(Ot){var Ut=ye.props,be=Ut.nextIcon,st=Ut.itemRender,pt=st(Ot,"next",ye.getItemIcon(be,"next page")),ct=!ye.hasNext();return(0,ie.isValidElement)(pt)?(0,ie.cloneElement)(pt,{disabled:ct}):pt};var nt=Ne.onChange!==Be,_t="current"in Ne;_t&&!nt&&console.warn("Warning: You provided a `current` prop to a Pagination component without an `onChange` handler. This will render a read-only component.");var gt=Ne.defaultCurrent;"current"in Ne&&(gt=Ne.current);var Gt=Ne.defaultPageSize;return"pageSize"in Ne&&(Gt=Ne.pageSize),gt=Math.min(gt,Oe(Gt,void 0,Ne)),ye.state={current:gt,currentInputValue:gt,pageSize:Gt},ye}return(0,b.Z)(Je,[{key:"componentDidUpdate",value:function(ye,nt){var _t=this.props.prefixCls;if(nt.current!==this.state.current&&this.paginationNode.current){var gt=this.paginationNode.current.querySelector(".".concat(_t,"-item-").concat(nt.current));if(gt&&document.activeElement===gt){var Gt;gt==null||(Gt=gt.blur)===null||Gt===void 0||Gt.call(gt)}}}},{key:"getValidValue",value:function(ye){var nt=ye.target.value,_t=Oe(void 0,this.state,this.props),gt=this.state.currentInputValue,Gt;return nt===""?Gt=nt:Number.isNaN(Number(nt))?Gt=gt:nt>=_t?Gt=_t:Gt=Number(nt),Gt}},{key:"getShowSizeChanger",value:function(){var ye=this.props,nt=ye.showSizeChanger,_t=ye.total,gt=ye.totalBoundaryShowSizeChanger;return typeof nt!="undefined"?nt:_t>gt}},{key:"render",value:function(){var ye=this.props,nt=ye.prefixCls,_t=ye.className,gt=ye.style,Gt=ye.disabled,Ot=ye.hideOnSinglePage,Ut=ye.total,be=ye.locale,st=ye.showQuickJumper,pt=ye.showLessItems,ct=ye.showTitle,Nt=ye.showTotal,Vt=ye.simple,on=ye.itemRender,Qt=ye.showPrevNextJumpers,bn=ye.jumpPrevIcon,Tn=ye.jumpNextIcon,Lt=ye.selectComponentClass,Ft=ye.selectPrefixCls,Wt=ye.pageSizeOptions,fn=this.state,un=fn.current,Hn=fn.pageSize,rt=fn.currentInputValue;if(Ot===!0&&Ut<=Hn)return null;var Pt=Oe(void 0,this.state,this.props),an=[],Pn=null,Fe=null,ht=null,Rt=null,zt=null,en=st&&st.goButton,hn=pt?1:2,ln=un-1>0?un-1:0,qe=un+1<Pt?un+1:Pt,tt=(0,ee.Z)(this.props,{aria:!0,data:!0}),Ze=Nt&&ie.createElement("li",{className:"".concat(nt,"-total-text")},Nt(Ut,[Ut===0?0:(un-1)*Hn+1,un*Hn>Ut?Ut:un*Hn]));if(Vt){en&&(typeof en=="boolean"?zt=ie.createElement("button",{type:"button",onClick:this.handleGoTO,onKeyUp:this.handleGoTO},be.jump_to_confirm):zt=ie.createElement("span",{onClick:this.handleGoTO,onKeyUp:this.handleGoTO},en),zt=ie.createElement("li",{title:ct?"".concat(be.jump_to).concat(un,"/").concat(Pt):null,className:"".concat(nt,"-simple-pager")},zt));var Ct=this.renderPrev(ln);return ie.createElement("ul",(0,z.Z)({className:Re()(nt,"".concat(nt,"-simple"),(0,ae.Z)({},"".concat(nt,"-disabled"),Gt),_t),style:gt,ref:this.paginationNode},tt),Ze,Ct?ie.createElement("li",{title:ct?be.prev_page:null,onClick:this.prev,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterPrev,className:Re()("".concat(nt,"-prev"),(0,ae.Z)({},"".concat(nt,"-disabled"),!this.hasPrev())),"aria-disabled":!this.hasPrev()},Ct):null,ie.createElement("li",{title:ct?"".concat(un,"/").concat(Pt):null,className:"".concat(nt,"-simple-pager")},ie.createElement("input",{type:"text",value:rt,disabled:Gt,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onChange:this.handleKeyUp,onBlur:this.handleBlur,size:3}),ie.createElement("span",{className:"".concat(nt,"-slash")},"/"),Pt),ie.createElement("li",{title:ct?be.next_page:null,onClick:this.next,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterNext,className:Re()("".concat(nt,"-next"),(0,ae.Z)({},"".concat(nt,"-disabled"),!this.hasNext())),"aria-disabled":!this.hasNext()},this.renderNext(qe)),zt)}if(Pt<=3+hn*2){var $t={locale:be,rootPrefixCls:nt,onClick:this.handleChange,onKeyPress:this.runIfEnter,showTitle:ct,itemRender:on};Pt||an.push(ie.createElement(pe,(0,z.Z)({},$t,{key:"noPager",page:1,className:"".concat(nt,"-item-disabled")})));for(var Zt=1;Zt<=Pt;Zt+=1){var xn=un===Zt;an.push(ie.createElement(pe,(0,z.Z)({},$t,{key:Zt,page:Zt,active:xn})))}}else{var Cn=pt?be.prev_3:be.prev_5,mn=pt?be.next_3:be.next_5,Mn=on(this.getJumpPrevPage(),"jump-prev",this.getItemIcon(bn,"prev page")),na=on(this.getJumpNextPage(),"jump-next",this.getItemIcon(Tn,"next page"));Qt&&(Pn=Mn?ie.createElement("li",{title:ct?Cn:null,key:"prev",onClick:this.jumpPrev,tabIndex:0,onKeyPress:this.runIfEnterJumpPrev,className:Re()("".concat(nt,"-jump-prev"),(0,ae.Z)({},"".concat(nt,"-jump-prev-custom-icon"),!!bn))},Mn):null,Fe=na?ie.createElement("li",{title:ct?mn:null,key:"next",tabIndex:0,onClick:this.jumpNext,onKeyPress:this.runIfEnterJumpNext,className:Re()("".concat(nt,"-jump-next"),(0,ae.Z)({},"".concat(nt,"-jump-next-custom-icon"),!!Tn))},na):null),Rt=ie.createElement(pe,{locale:be,last:!0,rootPrefixCls:nt,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:Pt,page:Pt,active:!1,showTitle:ct,itemRender:on}),ht=ie.createElement(pe,{locale:be,rootPrefixCls:nt,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:1,page:1,active:!1,showTitle:ct,itemRender:on});var sn=Math.max(1,un-hn),Un=Math.min(un+hn,Pt);un-1<=hn&&(Un=1+hn*2),Pt-un<=hn&&(sn=Pt-hn*2);for(var oa=sn;oa<=Un;oa+=1){var ca=un===oa;an.push(ie.createElement(pe,{locale:be,rootPrefixCls:nt,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:oa,page:oa,active:ca,showTitle:ct,itemRender:on}))}un-1>=hn*2&&un!==3&&(an[0]=(0,ie.cloneElement)(an[0],{className:"".concat(nt,"-item-after-jump-prev")}),an.unshift(Pn)),Pt-un>=hn*2&&un!==Pt-2&&(an[an.length-1]=(0,ie.cloneElement)(an[an.length-1],{className:"".concat(nt,"-item-before-jump-next")}),an.push(Fe)),sn!==1&&an.unshift(ht),Un!==Pt&&an.push(Rt)}var la=!this.hasPrev()||!Pt,$e=!this.hasNext()||!Pt,Ht=this.renderPrev(ln),yt=this.renderNext(qe);return ie.createElement("ul",(0,z.Z)({className:Re()(nt,_t,(0,ae.Z)({},"".concat(nt,"-disabled"),Gt)),style:gt,ref:this.paginationNode},tt),Ze,Ht?ie.createElement("li",{title:ct?be.prev_page:null,onClick:this.prev,tabIndex:la?null:0,onKeyPress:this.runIfEnterPrev,className:Re()("".concat(nt,"-prev"),(0,ae.Z)({},"".concat(nt,"-disabled"),la)),"aria-disabled":la},Ht):null,an,yt?ie.createElement("li",{title:ct?be.next_page:null,onClick:this.next,tabIndex:$e?null:0,onKeyPress:this.runIfEnterNext,className:Re()("".concat(nt,"-next"),(0,ae.Z)({},"".concat(nt,"-disabled"),$e)),"aria-disabled":$e},yt):null,ie.createElement(ge,{disabled:Gt,locale:be,rootPrefixCls:nt,selectComponentClass:Lt,selectPrefixCls:Ft,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:un,pageSize:Hn,pageSizeOptions:Wt,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:en}))}}],[{key:"getDerivedStateFromProps",value:function(ye,nt){var _t={};if("current"in ye&&(_t.current=ye.current,ye.current!==nt.current&&(_t.currentInputValue=_t.current)),"pageSize"in ye&&ye.pageSize!==nt.pageSize){var gt=nt.current,Gt=Oe(ye.pageSize,nt,ye);gt=gt>Gt?Gt:gt,"current"in ye||(_t.current=gt,_t.currentInputValue=gt),_t.pageSize=ye.pageSize}return _t}}]),Je}(ie.Component);Ge.defaultProps={defaultCurrent:1,total:0,defaultPageSize:10,onChange:Be,className:"",selectPrefixCls:"rc-select",prefixCls:"rc-pagination",selectComponentClass:null,hideOnSinglePage:!1,showPrevNextJumpers:!0,showQuickJumper:!1,showLessItems:!1,showTitle:!0,onShowSizeChange:Be,locale:le.Z,style:{},itemRender:et,totalBoundaryShowSizeChanger:50};var Pe=Ge,ke=te(22075),ot=te(36355),Ue=te(19716),it=te(8628),Mt=te(9763),_e=te(57809);const Tt=Se=>ie.createElement(_e.default,Object.assign({},Se,{showSearch:!0,size:"small"})),Jt=Se=>ie.createElement(_e.default,Object.assign({},Se,{showSearch:!0,size:"middle"}));Tt.Option=_e.default.Option,Jt.Option=_e.default.Option;var Me=te(9937),De=te(17313),Et=te(83116),Kt=te(37613);const ft=Se=>{const{componentCls:ve}=Se;return{[`${ve}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${ve}-item-link`]:{color:Se.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${ve}-item-link`]:{color:Se.colorTextDisabled,cursor:"not-allowed"}}},[`&${ve}-disabled`]:{cursor:"not-allowed",[`${ve}-item`]:{cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},a:{color:Se.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:Se.colorBorder,backgroundColor:Se.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:Se.itemActiveBgDisabled},a:{color:Se.itemActiveColorDisabled}}},[`${ve}-item-link`]:{color:Se.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${ve}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${ve}-simple-pager`]:{color:Se.colorTextDisabled},[`${ve}-jump-prev, ${ve}-jump-next`]:{[`${ve}-item-link-icon`]:{opacity:0},[`${ve}-item-ellipsis`]:{opacity:1}}},[`&${ve}-simple`]:{[`${ve}-prev, ${ve}-next`]:{[`&${ve}-disabled ${ve}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},jt=Se=>{const{componentCls:ve}=Se;return{[`&${ve}-mini ${ve}-total-text, &${ve}-mini ${ve}-simple-pager`]:{height:Se.itemSizeSM,lineHeight:`${Se.itemSizeSM}px`},[`&${ve}-mini ${ve}-item`]:{minWidth:Se.itemSizeSM,height:Se.itemSizeSM,margin:0,lineHeight:`${Se.itemSizeSM-2}px`},[`&${ve}-mini:not(${ve}-disabled) ${ve}-item:not(${ve}-item-active)`]:{backgroundColor:"transparent",borderColor:"transparent","&:hover":{backgroundColor:Se.colorBgTextHover},"&:active":{backgroundColor:Se.colorBgTextActive}},[`&${ve}-mini ${ve}-prev, &${ve}-mini ${ve}-next`]:{minWidth:Se.itemSizeSM,height:Se.itemSizeSM,margin:0,lineHeight:`${Se.itemSizeSM}px`},[`&${ve}-mini:not(${ve}-disabled)`]:{[`${ve}-prev, ${ve}-next`]:{[`&:hover ${ve}-item-link`]:{backgroundColor:Se.colorBgTextHover},[`&:active ${ve}-item-link`]:{backgroundColor:Se.colorBgTextActive},[`&${ve}-disabled:hover ${ve}-item-link`]:{backgroundColor:"transparent"}}},[`
&${ve}-mini ${ve}-prev ${ve}-item-link,
&${ve}-mini ${ve}-next ${ve}-item-link
`]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:Se.itemSizeSM,lineHeight:`${Se.itemSizeSM}px`}},[`&${ve}-mini ${ve}-jump-prev, &${ve}-mini ${ve}-jump-next`]:{height:Se.itemSizeSM,marginInlineEnd:0,lineHeight:`${Se.itemSizeSM}px`},[`&${ve}-mini ${ve}-options`]:{marginInlineStart:Se.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:Se.miniOptionsSizeChangerTop},"&-quick-jumper":{height:Se.itemSizeSM,lineHeight:`${Se.itemSizeSM}px`,input:Object.assign(Object.assign({},(0,Me.x0)(Se)),{width:Se.paginationMiniQuickJumperInputWidth,height:Se.controlHeightSM})}}}},Le=Se=>{const{componentCls:ve}=Se;return{[`
&${ve}-simple ${ve}-prev,
&${ve}-simple ${ve}-next
`]:{height:Se.itemSizeSM,lineHeight:`${Se.itemSizeSM}px`,verticalAlign:"top",[`${ve}-item-link`]:{height:Se.itemSizeSM,backgroundColor:"transparent",border:0,"&:hover":{backgroundColor:Se.colorBgTextHover},"&:active":{backgroundColor:Se.colorBgTextActive},"&::after":{height:Se.itemSizeSM,lineHeight:`${Se.itemSizeSM}px`}}},[`&${ve}-simple ${ve}-simple-pager`]:{display:"inline-block",height:Se.itemSizeSM,marginInlineEnd:Se.marginXS,input:{boxSizing:"border-box",height:"100%",marginInlineEnd:Se.marginXS,padding:`0 ${Se.paginationItemPaddingInline}px`,textAlign:"center",backgroundColor:Se.itemInputBg,border:`${Se.lineWidth}px ${Se.lineType} ${Se.colorBorder}`,borderRadius:Se.borderRadius,outline:"none",transition:`border-color ${Se.motionDurationMid}`,color:"inherit","&:hover":{borderColor:Se.colorPrimary},"&:focus":{borderColor:Se.colorPrimaryHover,boxShadow:`${Se.inputOutlineOffset}px 0 ${Se.controlOutlineWidth}px ${Se.controlOutline}`},"&[disabled]":{color:Se.colorTextDisabled,backgroundColor:Se.colorBgContainerDisabled,borderColor:Se.colorBorder,cursor:"not-allowed"}}}}},Xt=Se=>{const{componentCls:ve}=Se;return{[`${ve}-jump-prev, ${ve}-jump-next`]:{outline:0,[`${ve}-item-container`]:{position:"relative",[`${ve}-item-link-icon`]:{color:Se.colorPrimary,fontSize:Se.fontSizeSM,opacity:0,transition:`all ${Se.motionDurationMid}`,"&-svg":{top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,margin:"auto"}},[`${ve}-item-ellipsis`]:{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,display:"block",margin:"auto",color:Se.colorTextDisabled,fontFamily:"Arial, Helvetica, sans-serif",letterSpacing:Se.paginationEllipsisLetterSpacing,textAlign:"center",textIndent:Se.paginationEllipsisTextIndent,opacity:1,transition:`all ${Se.motionDurationMid}`}},"&:hover":{[`${ve}-item-link-icon`]:{opacity:1},[`${ve}-item-ellipsis`]:{opacity:0}}},[`
${ve}-prev,
${ve}-jump-prev,
${ve}-jump-next
`]:{marginInlineEnd:Se.marginXS},[`
${ve}-prev,
${ve}-next,
${ve}-jump-prev,
${ve}-jump-next
`]:{display:"inline-block",minWidth:Se.itemSize,height:Se.itemSize,color:Se.colorText,fontFamily:Se.fontFamily,lineHeight:`${Se.itemSize}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:Se.borderRadius,cursor:"pointer",transition:`all ${Se.motionDurationMid}`},[`${ve}-prev, ${ve}-next`]:{fontFamily:"Arial, Helvetica, sans-serif",outline:0,button:{color:Se.colorText,cursor:"pointer",userSelect:"none"},[`${ve}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:Se.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${Se.lineWidth}px ${Se.lineType} transparent`,borderRadius:Se.borderRadius,outline:"none",transition:`all ${Se.motionDurationMid}`},[`&:hover ${ve}-item-link`]:{backgroundColor:Se.colorBgTextHover},[`&:active ${ve}-item-link`]:{backgroundColor:Se.colorBgTextActive},[`&${ve}-disabled:hover`]:{[`${ve}-item-link`]:{backgroundColor:"transparent"}}},[`${ve}-slash`]:{marginInlineEnd:Se.paginationSlashMarginInlineEnd,marginInlineStart:Se.paginationSlashMarginInlineStart},[`${ve}-options`]:{display:"inline-block",marginInlineStart:Se.margin,verticalAlign:"middle","&-size-changer.-select":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:Se.controlHeight,marginInlineStart:Se.marginXS,lineHeight:`${Se.controlHeight}px`,verticalAlign:"top",input:Object.assign(Object.assign({},(0,Me.ik)(Se)),{width:Se.controlHeightLG*1.25,height:Se.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:Se.marginXS,marginInlineEnd:Se.marginXS})}}}},vn=Se=>{const{componentCls:ve}=Se;return{[`${ve}-item`]:{display:"inline-block",minWidth:Se.itemSize,height:Se.itemSize,marginInlineEnd:Se.marginXS,fontFamily:Se.fontFamily,lineHeight:`${Se.itemSize-2}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:"transparent",border:`${Se.lineWidth}px ${Se.lineType} transparent`,borderRadius:Se.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${Se.paginationItemPaddingInline}px`,color:Se.colorText,"&:hover":{textDecoration:"none"}},[`&:not(${ve}-item-active)`]:{"&:hover":{transition:`all ${Se.motionDurationMid}`,backgroundColor:Se.colorBgTextHover},"&:active":{backgroundColor:Se.colorBgTextActive}},"&-active":{fontWeight:Se.fontWeightStrong,backgroundColor:Se.itemActiveBg,borderColor:Se.colorPrimary,a:{color:Se.colorPrimary},"&:hover":{borderColor:Se.colorPrimaryHover},"&:hover a":{color:Se.colorPrimaryHover}}}}},St=Se=>{const{componentCls:ve}=Se;return{[ve]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,De.Wf)(Se)),{"ul, ol":{margin:0,padding:0,listStyle:"none"},"&::after":{display:"block",clear:"both",height:0,overflow:"hidden",visibility:"hidden",content:'""'},[`${ve}-total-text`]:{display:"inline-block",height:Se.itemSize,marginInlineEnd:Se.marginXS,lineHeight:`${Se.itemSize-2}px`,verticalAlign:"middle"}}),vn(Se)),Xt(Se)),Le(Se)),jt(Se)),ft(Se)),{[`@media only screen and (max-width: ${Se.screenLG}px)`]:{[`${ve}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${Se.screenSM}px)`]:{[`${ve}-options`]:{display:"none"}}}),[`&${Se.componentCls}-rtl`]:{direction:"rtl"}}},ut=Se=>{const{componentCls:ve}=Se;return{[`${ve}${ve}-disabled:not(${ve}-mini)`]:{"&, &:hover":{[`${ve}-item-link`]:{borderColor:Se.colorBorder}},"&:focus-visible":{[`${ve}-item-link`]:{borderColor:Se.colorBorder}},[`${ve}-item, ${ve}-item-link`]:{backgroundColor:Se.colorBgContainerDisabled,borderColor:Se.colorBorder,[`&:hover:not(${ve}-item-active)`]:{backgroundColor:Se.colorBgContainerDisabled,borderColor:Se.colorBorder,a:{color:Se.colorTextDisabled}},[`&${ve}-item-active`]:{backgroundColor:Se.itemActiveBgDisabled}},[`${ve}-prev, ${ve}-next`]:{"&:hover button":{backgroundColor:Se.colorBgContainerDisabled,borderColor:Se.colorBorder,color:Se.colorTextDisabled},[`${ve}-item-link`]:{backgroundColor:Se.colorBgContainerDisabled,borderColor:Se.colorBorder}}},[`${ve}:not(${ve}-mini)`]:{[`${ve}-prev, ${ve}-next`]:{"&:hover button":{borderColor:Se.colorPrimaryHover,backgroundColor:Se.itemBg},[`${ve}-item-link`]:{backgroundColor:Se.itemLinkBg,borderColor:Se.colorBorder},[`&:hover ${ve}-item-link`]:{borderColor:Se.colorPrimary,backgroundColor:Se.itemBg,color:Se.colorPrimary},[`&${ve}-disabled`]:{[`${ve}-item-link`]:{borderColor:Se.colorBorder,color:Se.colorTextDisabled}}},[`${ve}-item`]:{backgroundColor:Se.itemBg,border:`${Se.lineWidth}px ${Se.lineType} ${Se.colorBorder}`,[`&:hover:not(${ve}-item-active)`]:{borderColor:Se.colorPrimary,backgroundColor:Se.itemBg,a:{color:Se.colorPrimary}},"&-active":{borderColor:Se.colorPrimary}}}}},Ve=Se=>{const{componentCls:ve}=Se;return{[`${ve}:not(${ve}-disabled)`]:{[`${ve}-item`]:Object.assign({},(0,De.Qy)(Se)),[`${ve}-jump-prev, ${ve}-jump-next`]:{"&:focus-visible":Object.assign({[`${ve}-item-link-icon`]:{opacity:1},[`${ve}-item-ellipsis`]:{opacity:0}},(0,De.oN)(Se))},[`${ve}-prev, ${ve}-next`]:{[`&:focus-visible ${ve}-item-link`]:Object.assign({},(0,De.oN)(Se))}}}};var Te=(0,Et.Z)("Pagination",Se=>{const ve=(0,Kt.TS)(Se,{inputOutlineOffset:0,paginationMiniOptionsMarginInlineStart:Se.marginXXS/2,paginationMiniQuickJumperInputWidth:Se.controlHeightLG*1.1,paginationItemPaddingInline:Se.marginXXS*1.5,paginationEllipsisLetterSpacing:Se.marginXXS/2,paginationSlashMarginInlineStart:Se.marginXXS,paginationSlashMarginInlineEnd:Se.marginSM,paginationEllipsisTextIndent:"0.13em"},(0,Me.e5)(Se),(0,Me.TM)(Se));return[St(ve),Ve(ve),Se.wireframe&&ut(ve)]},Se=>({itemBg:Se.colorBgContainer,itemSize:Se.controlHeight,itemSizeSM:Se.controlHeightSM,itemActiveBg:Se.colorBgContainer,itemLinkBg:Se.colorBgContainer,itemActiveColorDisabled:Se.colorTextDisabled,itemActiveBgDisabled:Se.controlItemBgActiveDisabled,itemInputBg:Se.colorBgContainer,miniOptionsSizeChangerTop:0})),he=function(Se,ve){var Je={};for(var Ne in Se)Object.prototype.hasOwnProperty.call(Se,Ne)&&ve.indexOf(Ne)<0&&(Je[Ne]=Se[Ne]);if(Se!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ye=0,Ne=Object.getOwnPropertySymbols(Se);ye<Ne.length;ye++)ve.indexOf(Ne[ye])<0&&Object.prototype.propertyIsEnumerable.call(Se,Ne[ye])&&(Je[Ne[ye]]=Se[Ne[ye]]);return Je},Ie=Se=>{const{prefixCls:ve,selectPrefixCls:Je,className:Ne,rootClassName:ye,style:nt,size:_t,locale:gt,selectComponentClass:Gt,responsive:Ot,showSizeChanger:Ut}=Se,be=he(Se,["prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","selectComponentClass","responsive","showSizeChanger"]),{xs:st}=(0,it.Z)(Ot),{getPrefixCls:pt,direction:ct,pagination:Nt={}}=ie.useContext(ot.E_),Vt=pt("pagination",ve),[on,Qt]=Te(Vt),bn=Ut!=null?Ut:Nt.showSizeChanger,Tn=ie.useMemo(()=>{const Pt=ie.createElement("span",{className:`${Vt}-item-ellipsis`},"\u2022\u2022\u2022"),an=ie.createElement("button",{className:`${Vt}-item-link`,type:"button",tabIndex:-1},ct==="rtl"?ie.createElement(Xe.Z,null):ie.createElement(ze.Z,null)),Pn=ie.createElement("button",{className:`${Vt}-item-link`,type:"button",tabIndex:-1},ct==="rtl"?ie.createElement(ze.Z,null):ie.createElement(Xe.Z,null)),Fe=ie.createElement("a",{className:`${Vt}-item-link`},ie.createElement("div",{className:`${Vt}-item-container`},ct==="rtl"?ie.createElement(Ke.Z,{className:`${Vt}-item-link-icon`}):ie.createElement(We,{className:`${Vt}-item-link-icon`}),Pt)),ht=ie.createElement("a",{className:`${Vt}-item-link`},ie.createElement("div",{className:`${Vt}-item-container`},ct==="rtl"?ie.createElement(We,{className:`${Vt}-item-link-icon`}):ie.createElement(Ke.Z,{className:`${Vt}-item-link-icon`}),Pt));return{prevIcon:an,nextIcon:Pn,jumpPrevIcon:Fe,jumpNextIcon:ht}},[ct,Vt]),[Lt]=(0,Mt.Z)("Pagination",ke.Z),Ft=Object.assign(Object.assign({},Lt),gt),Wt=(0,Ue.Z)(_t),fn=Wt==="small"||!!(st&&!Wt&&Ot),un=pt("select",Je),Hn=Re()({[`${Vt}-mini`]:fn,[`${Vt}-rtl`]:ct==="rtl"},Nt==null?void 0:Nt.className,Ne,ye,Qt),rt=Object.assign(Object.assign({},Nt==null?void 0:Nt.style),nt);return on(ie.createElement(Pe,Object.assign({},Tn,be,{style:rt,prefixCls:Vt,selectPrefixCls:un,className:Hn,selectComponentClass:Gt||(fn?Tt:Jt),locale:Ft,showSizeChanger:bn})))},dt=Ie},93948:function(xt,It,te){"use strict";te.d(It,{Z:function(){return Ut}});var z=te(59301),ie=te(29679),Ae=te(40001),je=te(19248),Ee=te(99267),xe=te(92310),re=te.n(xe),We=te(2738),Ke=te(36355),ze=te(32855),Xe=te(27247),mt=te(43079),Re={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},ae=function(){var st=(0,z.useRef)([]),pt=(0,z.useRef)(null);return(0,z.useEffect)(function(){var ct=Date.now(),Nt=!1;st.current.forEach(function(Vt){if(Vt){Nt=!0;var on=Vt.style;on.transitionDuration=".3s, .3s, .3s, .06s",pt.current&&ct-pt.current<100&&(on.transitionDuration="0s, 0s")}}),Nt&&(pt.current=Date.now())}),st.current},y=["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"],a=function(st){var pt=(0,Xe.Z)((0,Xe.Z)({},Re),st),ct=pt.className,Nt=pt.percent,Vt=pt.prefixCls,on=pt.strokeColor,Qt=pt.strokeLinecap,bn=pt.strokeWidth,Tn=pt.style,Lt=pt.trailColor,Ft=pt.trailWidth,Wt=pt.transition,fn=(0,mt.Z)(pt,y);delete fn.gapPosition;var un=Array.isArray(Nt)?Nt:[Nt],Hn=Array.isArray(on)?on:[on],rt=ae(),Pt=bn/2,an=100-bn/2,Pn="M ".concat(Qt==="round"?Pt:0,",").concat(Pt,`
L `).concat(Qt==="round"?an:100,",").concat(Pt),Fe="0 0 100 ".concat(bn),ht=0;return z.createElement("svg",(0,ze.Z)({className:re()("".concat(Vt,"-line"),ct),viewBox:Fe,preserveAspectRatio:"none",style:Tn},fn),z.createElement("path",{className:"".concat(Vt,"-line-trail"),d:Pn,strokeLinecap:Qt,stroke:Lt,strokeWidth:Ft||bn,fillOpacity:"0"}),un.map(function(Rt,zt){var en=1;switch(Qt){case"round":en=1-bn/100;break;case"square":en=1-bn/2/100;break;default:en=1;break}var hn={strokeDasharray:"".concat(Rt*en,"px, 100px"),strokeDashoffset:"-".concat(ht,"px"),transition:Wt||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},ln=Hn[zt]||Hn[Hn.length-1];return ht+=Rt,z.createElement("path",{key:zt,className:"".concat(Vt,"-line-path"),d:Pn,strokeLinecap:Qt,stroke:ln,strokeWidth:bn,fillOpacity:"0",ref:function(tt){rt[zt]=tt},style:hn})}))},b=a,E=te(34666),x=te(11913),ee=te(47273),ne=0,oe=(0,ee.Z)();function le(){var be;return oe?(be=ne,ne+=1):be="TEST_OR_SSR",be}var ue=function(be){var st=z.useState(),pt=(0,x.Z)(st,2),ct=pt[0],Nt=pt[1];return z.useEffect(function(){Nt("rc_progress_".concat(le()))},[]),be||ct},ge=function(st){var pt=st.bg,ct=st.children;return z.createElement("div",{style:{width:"100%",height:"100%",background:pt}},ct)};function Ce(be,st){return Object.keys(be).map(function(pt){var ct=parseFloat(pt),Nt="".concat(Math.floor(ct*st),"%");return"".concat(be[pt]," ").concat(Nt)})}var pe=z.forwardRef(function(be,st){var pt=be.prefixCls,ct=be.color,Nt=be.gradientId,Vt=be.radius,on=be.style,Qt=be.ptg,bn=be.strokeLinecap,Tn=be.strokeWidth,Lt=be.size,Ft=be.gapDegree,Wt=ct&&(0,E.Z)(ct)==="object",fn=Wt?"#FFF":void 0,un=Lt/2,Hn=z.createElement("circle",{className:"".concat(pt,"-circle-path"),r:Vt,cx:un,cy:un,stroke:fn,strokeLinecap:bn,strokeWidth:Tn,opacity:Qt===0?0:1,style:on,ref:st});if(!Wt)return Hn;var rt="".concat(Nt,"-conic"),Pt=Ft?"".concat(180+Ft/2,"deg"):"0deg",an=Ce(ct,(360-Ft)/360),Pn=Ce(ct,1),Fe="conic-gradient(from ".concat(Pt,", ").concat(an.join(", "),")"),ht="linear-gradient(to ".concat(Ft?"bottom":"top",", ").concat(Pn.join(", "),")");return z.createElement(z.Fragment,null,z.createElement("mask",{id:rt},Hn),z.createElement("foreignObject",{x:0,y:0,width:Lt,height:Lt,mask:"url(#".concat(rt,")")},z.createElement(ge,{bg:ht},z.createElement(ge,{bg:Fe}))))}),Be=pe,de=100,et=function(st,pt,ct,Nt,Vt,on,Qt,bn,Tn,Lt){var Ft=arguments.length>10&&arguments[10]!==void 0?arguments[10]:0,Wt=ct/100*360*((360-on)/360),fn=on===0?0:{bottom:0,top:180,left:90,right:-90}[Qt],un=(100-Nt)/100*pt;Tn==="round"&&Nt!==100&&(un+=Lt/2,un>=pt&&(un=pt-.01));var Hn=de/2;return{stroke:typeof bn=="string"?bn:void 0,strokeDasharray:"".concat(pt,"px ").concat(st),strokeDashoffset:un+Ft,transform:"rotate(".concat(Vt+Wt+fn,"deg)"),transformOrigin:"".concat(Hn,"px ").concat(Hn,"px"),transition:"stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s",fillOpacity:0}},Oe=["id","prefixCls","steps","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function Ge(be){var st=be!=null?be:[];return Array.isArray(st)?st:[st]}var Pe=function(st){var pt=(0,Xe.Z)((0,Xe.Z)({},Re),st),ct=pt.id,Nt=pt.prefixCls,Vt=pt.steps,on=pt.strokeWidth,Qt=pt.trailWidth,bn=pt.gapDegree,Tn=bn===void 0?0:bn,Lt=pt.gapPosition,Ft=pt.trailColor,Wt=pt.strokeLinecap,fn=pt.style,un=pt.className,Hn=pt.strokeColor,rt=pt.percent,Pt=(0,mt.Z)(pt,Oe),an=de/2,Pn=ue(ct),Fe="".concat(Pn,"-gradient"),ht=an-on/2,Rt=Math.PI*2*ht,zt=Tn>0?90+Tn/2:-90,en=Rt*((360-Tn)/360),hn=(0,E.Z)(Vt)==="object"?Vt:{count:Vt,space:2},ln=hn.count,qe=hn.space,tt=Ge(rt),Ze=Ge(Hn),Ct=Ze.find(function(na){return na&&(0,E.Z)(na)==="object"}),$t=Ct&&(0,E.Z)(Ct)==="object",Zt=$t?"butt":Wt,xn=et(Rt,en,0,100,zt,Tn,Lt,Ft,Zt,on),Cn=ae(),mn=function(){var sn=0;return tt.map(function(Un,oa){var ca=Ze[oa]||Ze[Ze.length-1],la=et(Rt,en,sn,Un,zt,Tn,Lt,ca,Zt,on);return sn+=Un,z.createElement(Be,{key:oa,color:ca,ptg:Un,radius:ht,prefixCls:Nt,gradientId:Fe,style:la,strokeLinecap:Zt,strokeWidth:on,gapDegree:Tn,ref:function(Ht){Cn[oa]=Ht},size:de})}).reverse()},Mn=function(){var sn=Math.round(ln*(tt[0]/100)),Un=100/ln,oa=0;return new Array(ln).fill(null).map(function(ca,la){var $e=la<=sn-1?Ze[0]:Ft,Ht=$e&&(0,E.Z)($e)==="object"?"url(#".concat(Fe,")"):void 0,yt=et(Rt,en,oa,Un,zt,Tn,Lt,$e,"butt",on,qe);return oa+=(en-yt.strokeDashoffset+qe)*100/en,z.createElement("circle",{key:la,className:"".concat(Nt,"-circle-path"),r:ht,cx:an,cy:an,stroke:Ht,strokeWidth:on,opacity:1,style:yt,ref:function(dn){Cn[la]=dn}})})};return z.createElement("svg",(0,ze.Z)({className:re()("".concat(Nt,"-circle"),un),viewBox:"0 0 ".concat(de," ").concat(de),style:fn,id:ct,role:"presentation"},Pt),!ln&&z.createElement("circle",{className:"".concat(Nt,"-circle-trail"),r:ht,cx:an,cy:an,stroke:Ft,strokeLinecap:Zt,strokeWidth:Qt||on,style:xn}),ln?Mn():mn())},ke=Pe,ot={Line:b,Circle:ke},Ue=te(6848),it=te(30071);function Mt(be){return!be||be<0?0:be>100?100:be}function _e(be){let{success:st,successPercent:pt}=be,ct=pt;return st&&"progress"in st&&(ct=st.progress),st&&"percent"in st&&(ct=st.percent),ct}const Tt=be=>{let{percent:st,success:pt,successPercent:ct}=be;const Nt=Mt(_e({success:pt,successPercent:ct}));return[Nt,Mt(Mt(st)-Nt)]},Jt=be=>{let{success:st={},strokeColor:pt}=be;const{strokeColor:ct}=st;return[ct||it.presetPrimaryColors.green,pt||null]},Me=(be,st,pt)=>{var ct,Nt,Vt,on;let Qt=-1,bn=-1;if(st==="step"){const Tn=pt.steps,Lt=pt.strokeWidth;typeof be=="string"||typeof be=="undefined"?(Qt=be==="small"?2:14,bn=Lt!=null?Lt:8):typeof be=="number"?[Qt,bn]=[be,be]:[Qt=14,bn=8]=be,Qt*=Tn}else if(st==="line"){const Tn=pt==null?void 0:pt.strokeWidth;typeof be=="string"||typeof be=="undefined"?bn=Tn||(be==="small"?6:8):typeof be=="number"?[Qt,bn]=[be,be]:[Qt=-1,bn=8]=be}else(st==="circle"||st==="dashboard")&&(typeof be=="string"||typeof be=="undefined"?[Qt,bn]=be==="small"?[60,60]:[120,120]:typeof be=="number"?[Qt,bn]=[be,be]:(Qt=(Nt=(ct=be[0])!==null&&ct!==void 0?ct:be[1])!==null&&Nt!==void 0?Nt:120,bn=(on=(Vt=be[0])!==null&&Vt!==void 0?Vt:be[1])!==null&&on!==void 0?on:120));return[Qt,bn]},De=3,Et=be=>De/be*100;var ft=be=>{const{prefixCls:st,trailColor:pt=null,strokeLinecap:ct="round",gapPosition:Nt,gapDegree:Vt,width:on=120,type:Qt,children:bn,success:Tn,size:Lt=on}=be,[Ft,Wt]=Me(Lt,"circle");let{strokeWidth:fn}=be;fn===void 0&&(fn=Math.max(Et(Ft),6));const un={width:Ft,height:Wt,fontSize:Ft*.15+6},Hn=z.useMemo(()=>{if(Vt||Vt===0)return Vt;if(Qt==="dashboard")return 75},[Vt,Qt]),rt=Nt||Qt==="dashboard"&&"bottom"||void 0,Pt=Object.prototype.toString.call(be.strokeColor)==="[object Object]",an=Jt({success:Tn,strokeColor:be.strokeColor}),Pn=re()(`${st}-inner`,{[`${st}-circle-gradient`]:Pt}),Fe=z.createElement(ke,{percent:Tt(be),strokeWidth:fn,trailWidth:fn,strokeColor:an,strokeLinecap:ct,trailColor:pt,prefixCls:st,gapDegree:Hn,gapPosition:rt});return z.createElement("div",{className:Pn,style:un},Ft<=20?z.createElement(Ue.Z,{title:bn},z.createElement("span",null,Fe)):z.createElement(z.Fragment,null,Fe,bn))},jt=function(be,st){var pt={};for(var ct in be)Object.prototype.hasOwnProperty.call(be,ct)&&st.indexOf(ct)<0&&(pt[ct]=be[ct]);if(be!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Nt=0,ct=Object.getOwnPropertySymbols(be);Nt<ct.length;Nt++)st.indexOf(ct[Nt])<0&&Object.prototype.propertyIsEnumerable.call(be,ct[Nt])&&(pt[ct[Nt]]=be[ct[Nt]]);return pt};const Le=be=>{let st=[];return Object.keys(be).forEach(pt=>{const ct=parseFloat(pt.replace(/%/g,""));isNaN(ct)||st.push({key:ct,value:be[pt]})}),st=st.sort((pt,ct)=>pt.key-ct.key),st.map(pt=>{let{key:ct,value:Nt}=pt;return`${Nt} ${ct}%`}).join(", ")},Xt=(be,st)=>{const{from:pt=it.presetPrimaryColors.blue,to:ct=it.presetPrimaryColors.blue,direction:Nt=st==="rtl"?"to left":"to right"}=be,Vt=jt(be,["from","to","direction"]);if(Object.keys(Vt).length!==0){const on=Le(Vt);return{backgroundImage:`linear-gradient(${Nt}, ${on})`}}return{backgroundImage:`linear-gradient(${Nt}, ${pt}, ${ct})`}};var St=be=>{const{prefixCls:st,direction:pt,percent:ct,size:Nt,strokeWidth:Vt,strokeColor:on,strokeLinecap:Qt="round",children:bn,trailColor:Tn=null,success:Lt}=be,Ft=on&&typeof on!="string"?Xt(on,pt):{backgroundColor:on},Wt=Qt==="square"||Qt==="butt"?0:void 0,fn={backgroundColor:Tn||void 0,borderRadius:Wt},un=Nt!=null?Nt:[-1,Vt||(Nt==="small"?6:8)],[Hn,rt]=Me(un,"line",{strokeWidth:Vt}),Pt=Object.assign({width:`${Mt(ct)}%`,height:rt,borderRadius:Wt},Ft),an=_e(be),Pn={width:`${Mt(an)}%`,height:rt,borderRadius:Wt,backgroundColor:Lt==null?void 0:Lt.strokeColor},Fe={width:Hn<0?"100%":Hn,height:rt};return z.createElement(z.Fragment,null,z.createElement("div",{className:`${st}-outer`,style:Fe},z.createElement("div",{className:`${st}-inner`,style:fn},z.createElement("div",{className:`${st}-bg`,style:Pt}),an!==void 0?z.createElement("div",{className:`${st}-success-bg`,style:Pn}):null)),bn)},Ve=be=>{const{size:st,steps:pt,percent:ct=0,strokeWidth:Nt=8,strokeColor:Vt,trailColor:on=null,prefixCls:Qt,children:bn}=be,Tn=Math.round(pt*(ct/100)),Lt=st==="small"?2:14,Ft=st!=null?st:[Lt,Nt],[Wt,fn]=Me(Ft,"step",{steps:pt,strokeWidth:Nt}),un=Wt/pt,Hn=new Array(pt);for(let rt=0;rt<pt;rt++){const Pt=Array.isArray(Vt)?Vt[rt]:Vt;Hn[rt]=z.createElement("div",{key:rt,className:re()(`${Qt}-steps-item`,{[`${Qt}-steps-item-active`]:rt<=Tn-1}),style:{backgroundColor:rt<=Tn-1?Pt:on,width:un,height:fn}})}return z.createElement("div",{className:`${Qt}-steps-outer`},Hn,bn)},Te=te(36237),he=te(17313),se=te(83116),Ie=te(37613);const dt=be=>{const st=be?"100%":"-100%";return new Te.Keyframes(`antProgress${be?"RTL":"LTR"}Active`,{"0%":{transform:`translateX(${st}) scaleX(0)`,opacity:.1},"20%":{transform:`translateX(${st}) scaleX(0)`,opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}})},Se=be=>{const{componentCls:st,iconCls:pt}=be;return{[st]:Object.assign(Object.assign({},(0,he.Wf)(be)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:be.fontSize,marginInlineEnd:be.marginXS,marginBottom:be.marginXS},[`${st}-outer`]:{display:"inline-block",width:"100%"},[`&${st}-show-info`]:{[`${st}-outer`]:{marginInlineEnd:`calc(-2em - ${be.marginXS}px)`,paddingInlineEnd:`calc(2em + ${be.paddingXS}px)`}},[`${st}-inner`]:{position:"relative",display:"inline-block",width:"100%",overflow:"hidden",verticalAlign:"middle",backgroundColor:be.remainingColor,borderRadius:be.lineBorderRadius},[`${st}-inner:not(${st}-circle-gradient)`]:{[`${st}-circle-path`]:{stroke:be.defaultColor}},[`${st}-success-bg, ${st}-bg`]:{position:"relative",backgroundColor:be.defaultColor,borderRadius:be.lineBorderRadius,transition:`all ${be.motionDurationSlow} ${be.motionEaseInOutCirc}`},[`${st}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:be.colorSuccess},[`${st}-text`]:{display:"inline-block",width:"2em",marginInlineStart:be.marginXS,color:be.colorText,lineHeight:1,whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[pt]:{fontSize:be.fontSize}},[`&${st}-status-active`]:{[`${st}-bg::before`]:{position:"absolute",inset:0,backgroundColor:be.colorBgContainer,borderRadius:be.lineBorderRadius,opacity:0,animationName:dt(),animationDuration:be.progressActiveMotionDuration,animationTimingFunction:be.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${st}-rtl${st}-status-active`]:{[`${st}-bg::before`]:{animationName:dt(!0)}},[`&${st}-status-exception`]:{[`${st}-bg`]:{backgroundColor:be.colorError},[`${st}-text`]:{color:be.colorError}},[`&${st}-status-exception ${st}-inner:not(${st}-circle-gradient)`]:{[`${st}-circle-path`]:{stroke:be.colorError}},[`&${st}-status-success`]:{[`${st}-bg`]:{backgroundColor:be.colorSuccess},[`${st}-text`]:{color:be.colorSuccess}},[`&${st}-status-success ${st}-inner:not(${st}-circle-gradient)`]:{[`${st}-circle-path`]:{stroke:be.colorSuccess}}})}},ve=be=>{const{componentCls:st,iconCls:pt}=be;return{[st]:{[`${st}-circle-trail`]:{stroke:be.remainingColor},[`&${st}-circle ${st}-inner`]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},[`&${st}-circle ${st}-text`]:{position:"absolute",insetBlockStart:"50%",insetInlineStart:0,width:"100%",margin:0,padding:0,color:be.circleTextColor,fontSize:be.circleTextFontSize,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[pt]:{fontSize:`${be.fontSize/be.fontSizeSM}em`}},[`${st}-circle&-status-exception`]:{[`${st}-text`]:{color:be.colorError}},[`${st}-circle&-status-success`]:{[`${st}-text`]:{color:be.colorSuccess}}},[`${st}-inline-circle`]:{lineHeight:1,[`${st}-inner`]:{verticalAlign:"bottom"}}}},Je=be=>{const{componentCls:st}=be;return{[st]:{[`${st}-steps`]:{display:"inline-block","&-outer":{display:"flex",flexDirection:"row",alignItems:"center"},"&-item":{flexShrink:0,minWidth:be.progressStepMinWidth,marginInlineEnd:be.progressStepMarginInlineEnd,backgroundColor:be.remainingColor,transition:`all ${be.motionDurationSlow}`,"&-active":{backgroundColor:be.defaultColor}}}}}},Ne=be=>{const{componentCls:st,iconCls:pt}=be;return{[st]:{[`${st}-small&-line, ${st}-small&-line ${st}-text ${pt}`]:{fontSize:be.fontSizeSM}}}};var ye=(0,se.Z)("Progress",be=>{const st=be.marginXXS/2,pt=(0,Ie.TS)(be,{progressStepMarginInlineEnd:st,progressStepMinWidth:st,progressActiveMotionDuration:"2.4s"});return[Se(pt),ve(pt),Je(pt),Ne(pt)]},be=>({circleTextColor:be.colorText,defaultColor:be.colorInfo,remainingColor:be.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:"1em"})),nt=function(be,st){var pt={};for(var ct in be)Object.prototype.hasOwnProperty.call(be,ct)&&st.indexOf(ct)<0&&(pt[ct]=be[ct]);if(be!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Nt=0,ct=Object.getOwnPropertySymbols(be);Nt<ct.length;Nt++)st.indexOf(ct[Nt])<0&&Object.prototype.propertyIsEnumerable.call(be,ct[Nt])&&(pt[ct[Nt]]=be[ct[Nt]]);return pt};const _t=null,gt=["normal","exception","active","success"];var Ot=z.forwardRef((be,st)=>{const{prefixCls:pt,className:ct,rootClassName:Nt,steps:Vt,strokeColor:on,percent:Qt=0,size:bn="default",showInfo:Tn=!0,type:Lt="line",status:Ft,format:Wt,style:fn}=be,un=nt(be,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style"]),Hn=z.useMemo(()=>{var tt,Ze;const Ct=_e(be);return parseInt(Ct!==void 0?(tt=Ct!=null?Ct:0)===null||tt===void 0?void 0:tt.toString():(Ze=Qt!=null?Qt:0)===null||Ze===void 0?void 0:Ze.toString(),10)},[Qt,be.success,be.successPercent]),rt=z.useMemo(()=>!gt.includes(Ft)&&Hn>=100?"success":Ft||"normal",[Ft,Hn]),{getPrefixCls:Pt,direction:an,progress:Pn}=z.useContext(Ke.E_),Fe=Pt("progress",pt),[ht,Rt]=ye(Fe),zt=z.useMemo(()=>{if(!Tn)return null;const tt=_e(be);let Ze;const Ct=Wt||(Zt=>`${Zt}%`),$t=Lt==="line";return Wt||rt!=="exception"&&rt!=="success"?Ze=Ct(Mt(Qt),Mt(tt)):rt==="exception"?Ze=$t?z.createElement(je.Z,null):z.createElement(Ee.Z,null):rt==="success"&&(Ze=$t?z.createElement(ie.Z,null):z.createElement(Ae.Z,null)),z.createElement("span",{className:`${Fe}-text`,title:typeof Ze=="string"?Ze:void 0},Ze)},[Tn,Qt,Hn,rt,Lt,Fe,Wt]),en=Array.isArray(on)?on[0]:on,hn=typeof on=="string"||Array.isArray(on)?on:void 0;let ln;Lt==="line"?ln=Vt?z.createElement(Ve,Object.assign({},be,{strokeColor:hn,prefixCls:Fe,steps:Vt}),zt):z.createElement(St,Object.assign({},be,{strokeColor:en,prefixCls:Fe,direction:an}),zt):(Lt==="circle"||Lt==="dashboard")&&(ln=z.createElement(ft,Object.assign({},be,{strokeColor:en,prefixCls:Fe,progressStatus:rt}),zt));const qe=re()(Fe,`${Fe}-status-${rt}`,`${Fe}-${Lt==="dashboard"&&"circle"||Vt&&"steps"||Lt}`,{[`${Fe}-inline-circle`]:Lt==="circle"&&Me(bn,"circle")[0]<=20,[`${Fe}-show-info`]:Tn,[`${Fe}-${bn}`]:typeof bn=="string",[`${Fe}-rtl`]:an==="rtl"},Pn==null?void 0:Pn.className,ct,Nt,Rt);return ht(z.createElement("div",Object.assign({ref:st,style:Object.assign(Object.assign({},Pn==null?void 0:Pn.style),fn),className:qe,role:"progressbar","aria-valuenow":Hn},(0,We.Z)(un,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),ln))}),Ut=Ot},13570:function(xt,It,te){"use strict";te.d(It,{Z:function(){return Mt}});var z=te(32855),ie=te(59301),Ae={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"}}]},name:"star",theme:"filled"},je=Ae,Ee=te(7657),xe=function(Tt,Jt){return ie.createElement(Ee.Z,(0,z.Z)({},Tt,{ref:Jt,icon:je}))},re=ie.forwardRef(xe),We=re,Ke=te(92310),ze=te.n(Ke),Xe=te(74430),mt=te(11913),Re=te(43079),ae=te(18929),y=te(10228),a=te(26112);function b(_e,Tt){var Jt=_e.disabled,Me=_e.prefixCls,De=_e.character,Et=_e.characterRender,Kt=_e.index,ft=_e.count,jt=_e.value,Le=_e.allowHalf,Xt=_e.focused,vn=_e.onHover,St=_e.onClick,ut=function(ve){vn(ve,Kt)},Ve=function(ve){St(ve,Kt)},Te=function(ve){ve.keyCode===y.Z.ENTER&&St(ve,Kt)},he=Kt+1,se=new Set([Me]);jt===0&&Kt===0&&Xt?se.add("".concat(Me,"-focused")):Le&&jt+.5>=he&&jt<he?(se.add("".concat(Me,"-half")),se.add("".concat(Me,"-active")),Xt&&se.add("".concat(Me,"-focused"))):(he<=jt?se.add("".concat(Me,"-full")):se.add("".concat(Me,"-zero")),he===jt&&Xt&&se.add("".concat(Me,"-focused")));var Ie=typeof De=="function"?De(_e):De,dt=ie.createElement("li",{className:ze()(Array.from(se)),ref:Tt},ie.createElement("div",{onClick:Jt?null:Ve,onKeyDown:Jt?null:Te,onMouseMove:Jt?null:ut,role:"radio","aria-checked":jt>Kt?"true":"false","aria-posinset":Kt+1,"aria-setsize":ft,tabIndex:Jt?-1:0},ie.createElement("div",{className:"".concat(Me,"-first")},Ie),ie.createElement("div",{className:"".concat(Me,"-second")},Ie)));return Et&&(dt=Et(dt,_e)),dt}var E=ie.forwardRef(b);function x(){var _e=ie.useRef({});function Tt(Me){return _e.current[Me]}function Jt(Me){return function(De){_e.current[Me]=De}}return[Tt,Jt]}function ee(_e){var Tt=_e.pageXOffset,Jt="scrollLeft";if(typeof Tt!="number"){var Me=_e.document;Tt=Me.documentElement[Jt],typeof Tt!="number"&&(Tt=Me.body[Jt])}return Tt}function ne(_e){var Tt,Jt,Me=_e.ownerDocument,De=Me.body,Et=Me&&Me.documentElement,Kt=_e.getBoundingClientRect();return Tt=Kt.left,Jt=Kt.top,Tt-=Et.clientLeft||De.clientLeft||0,Jt-=Et.clientTop||De.clientTop||0,{left:Tt,top:Jt}}function oe(_e){var Tt=ne(_e),Jt=_e.ownerDocument,Me=Jt.defaultView||Jt.parentWindow;return Tt.left+=ee(Me),Tt.left}var le=["prefixCls","className","defaultValue","value","count","allowHalf","allowClear","character","characterRender","disabled","direction","tabIndex","autoFocus","onHoverChange","onChange","onFocus","onBlur","onKeyDown","onMouseLeave"];function ue(_e,Tt){var Jt,Me=_e.prefixCls,De=Me===void 0?"rc-rate":Me,Et=_e.className,Kt=_e.defaultValue,ft=_e.value,jt=_e.count,Le=jt===void 0?5:jt,Xt=_e.allowHalf,vn=Xt===void 0?!1:Xt,St=_e.allowClear,ut=St===void 0?!0:St,Ve=_e.character,Te=Ve===void 0?"\u2605":Ve,he=_e.characterRender,se=_e.disabled,Ie=_e.direction,dt=Ie===void 0?"ltr":Ie,Se=_e.tabIndex,ve=Se===void 0?0:Se,Je=_e.autoFocus,Ne=_e.onHoverChange,ye=_e.onChange,nt=_e.onFocus,_t=_e.onBlur,gt=_e.onKeyDown,Gt=_e.onMouseLeave,Ot=(0,Re.Z)(_e,le),Ut=x(),be=(0,mt.Z)(Ut,2),st=be[0],pt=be[1],ct=ie.useRef(null),Nt=function(){if(!se){var Zt;(Zt=ct.current)===null||Zt===void 0||Zt.focus()}};ie.useImperativeHandle(Tt,function(){return{focus:Nt,blur:function(){if(!se){var Zt;(Zt=ct.current)===null||Zt===void 0||Zt.blur()}}}});var Vt=(0,ae.Z)(Kt||0,{value:ft}),on=(0,mt.Z)(Vt,2),Qt=on[0],bn=on[1],Tn=(0,ae.Z)(null),Lt=(0,mt.Z)(Tn,2),Ft=Lt[0],Wt=Lt[1],fn=function(Zt,xn){var Cn=dt==="rtl",mn=Zt+1;if(vn){var Mn=st(Zt),na=oe(Mn),sn=Mn.clientWidth;(Cn&&xn-na>sn/2||!Cn&&xn-na<sn/2)&&(mn-=.5)}return mn},un=function(Zt){bn(Zt),ye==null||ye(Zt)},Hn=ie.useState(!1),rt=(0,mt.Z)(Hn,2),Pt=rt[0],an=rt[1],Pn=function(){an(!0),nt==null||nt()},Fe=function(){an(!1),_t==null||_t()},ht=ie.useState(null),Rt=(0,mt.Z)(ht,2),zt=Rt[0],en=Rt[1],hn=function(Zt,xn){var Cn=fn(xn,Zt.pageX);Cn!==Ft&&(en(Cn),Wt(null)),Ne==null||Ne(Cn)},ln=function(Zt){se||(en(null),Wt(null),Ne==null||Ne(void 0)),Zt&&(Gt==null||Gt(Zt))},qe=function(Zt,xn){var Cn=fn(xn,Zt.pageX),mn=!1;ut&&(mn=Cn===Qt),ln(),un(mn?0:Cn),Wt(mn?Cn:null)},tt=function(Zt){var xn=Zt.keyCode,Cn=dt==="rtl",mn=Qt;xn===y.Z.RIGHT&&mn<Le&&!Cn?(vn?mn+=.5:mn+=1,un(mn),Zt.preventDefault()):xn===y.Z.LEFT&&mn>0&&!Cn||xn===y.Z.RIGHT&&mn>0&&Cn?(vn?mn-=.5:mn-=1,un(mn),Zt.preventDefault()):xn===y.Z.LEFT&&mn<Le&&Cn&&(vn?mn+=.5:mn+=1,un(mn),Zt.preventDefault()),gt==null||gt(Zt)};ie.useEffect(function(){Je&&!se&&Nt()},[]);var Ze=new Array(Le).fill(0).map(function($t,Zt){return ie.createElement(E,{ref:pt(Zt),index:Zt,count:Le,disabled:se,prefixCls:"".concat(De,"-star"),allowHalf:vn,value:zt===null?Qt:zt,onClick:qe,onHover:hn,key:$t||Zt,character:Te,characterRender:he,focused:Pt})}),Ct=ze()(De,Et,(Jt={},(0,Xe.Z)(Jt,"".concat(De,"-disabled"),se),(0,Xe.Z)(Jt,"".concat(De,"-rtl"),dt==="rtl"),Jt));return ie.createElement("ul",(0,z.Z)({className:Ct,onMouseLeave:ln,tabIndex:se?-1:ve,onFocus:se?null:Pn,onBlur:se?null:Fe,onKeyDown:se?null:tt,ref:ct,role:"radiogroup"},(0,a.Z)(Ot,{aria:!0,data:!0,attr:!0})),Ze)}var ge=ie.forwardRef(ue),Ce=ge,pe=te(36355),Be=te(6848),de=te(17313),et=te(83116),Oe=te(37613);const Ge=_e=>{const{componentCls:Tt}=_e;return{[`${Tt}-star`]:{position:"relative",display:"inline-block",color:"inherit",cursor:"pointer","&:not(:last-child)":{marginInlineEnd:_e.marginXS},"> div":{transition:`all ${_e.motionDurationMid}, outline 0s`,"&:hover":{transform:_e.starHoverScale},"&:focus":{outline:0},"&:focus-visible":{outline:`${_e.lineWidth}px dashed ${_e.starColor}`,transform:_e.starHoverScale}},"&-first, &-second":{color:_e.starBg,transition:`all ${_e.motionDurationMid}`,userSelect:"none",[_e.iconCls]:{verticalAlign:"middle"}},"&-first":{position:"absolute",top:0,insetInlineStart:0,width:"50%",height:"100%",overflow:"hidden",opacity:0},[`&-half ${Tt}-star-first, &-half ${Tt}-star-second`]:{opacity:1},[`&-half ${Tt}-star-first, &-full ${Tt}-star-second`]:{color:"inherit"}}}},Pe=_e=>({[`&-rtl${_e.componentCls}`]:{direction:"rtl"}}),ke=_e=>{const{componentCls:Tt}=_e;return{[Tt]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,de.Wf)(_e)),{display:"inline-block",margin:0,padding:0,color:_e.starColor,fontSize:_e.starSize,lineHeight:"unset",listStyle:"none",outline:"none",[`&-disabled${Tt} ${Tt}-star`]:{cursor:"default","> div:hover":{transform:"scale(1)"}}}),Ge(_e)),{[`+ ${Tt}-text`]:{display:"inline-block",marginInlineStart:_e.marginXS,fontSize:_e.fontSize}}),Pe(_e))}};var ot=(0,et.Z)("Rate",_e=>{const Tt=(0,Oe.TS)(_e,{});return[ke(Tt)]},_e=>({starColor:_e.yellow6,starSize:_e.controlHeightLG*.5,starHoverScale:"scale(1.1)",starBg:_e.colorFillContent})),Ue=function(_e,Tt){var Jt={};for(var Me in _e)Object.prototype.hasOwnProperty.call(_e,Me)&&Tt.indexOf(Me)<0&&(Jt[Me]=_e[Me]);if(_e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var De=0,Me=Object.getOwnPropertySymbols(_e);De<Me.length;De++)Tt.indexOf(Me[De])<0&&Object.prototype.propertyIsEnumerable.call(_e,Me[De])&&(Jt[Me[De]]=_e[Me[De]]);return Jt},Mt=ie.forwardRef((_e,Tt)=>{const{prefixCls:Jt,className:Me,rootClassName:De,style:Et,tooltips:Kt,character:ft=ie.createElement(We,null)}=_e,jt=Ue(_e,["prefixCls","className","rootClassName","style","tooltips","character"]),Le=(se,Ie)=>{let{index:dt}=Ie;return Kt?ie.createElement(Be.Z,{title:Kt[dt]},se):se},{getPrefixCls:Xt,direction:vn,rate:St}=ie.useContext(pe.E_),ut=Xt("rate",Jt),[Ve,Te]=ot(ut),he=Object.assign(Object.assign({},St==null?void 0:St.style),Et);return Ve(ie.createElement(Ce,Object.assign({ref:Tt,character:ft,characterRender:Le},jt,{className:ze()(Me,De,Te,St==null?void 0:St.className),style:he,prefixCls:ut,direction:vn})))})},61621:function(xt,It,te){"use strict";te.d(It,{Z:function(){return Te}});var z=te(92310),ie=te.n(z),Ae=te(59301),je=te(36355),Ee=te(2738),re=he=>{const{prefixCls:se,className:Ie,style:dt,size:Se,shape:ve}=he,Je=ie()({[`${se}-lg`]:Se==="large",[`${se}-sm`]:Se==="small"}),Ne=ie()({[`${se}-circle`]:ve==="circle",[`${se}-square`]:ve==="square",[`${se}-round`]:ve==="round"}),ye=Ae.useMemo(()=>typeof Se=="number"?{width:Se,height:Se,lineHeight:`${Se}px`}:{},[Se]);return Ae.createElement("span",{className:ie()(se,Je,Ne,Ie),style:Object.assign(Object.assign({},ye),dt)})},We=te(36237),Ke=te(83116),ze=te(37613);const Xe=new We.Keyframes("ant-skeleton-loading",{"0%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),mt=he=>({height:he,lineHeight:`${he}px`}),Re=he=>Object.assign({width:he},mt(he)),ae=he=>({background:he.skeletonLoadingBackground,backgroundSize:"400% 100%",animationName:Xe,animationDuration:he.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite"}),y=he=>Object.assign({width:he*5,minWidth:he*5},mt(he)),a=he=>{const{skeletonAvatarCls:se,gradientFromColor:Ie,controlHeight:dt,controlHeightLG:Se,controlHeightSM:ve}=he;return{[`${se}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:Ie},Re(dt)),[`${se}${se}-circle`]:{borderRadius:"50%"},[`${se}${se}-lg`]:Object.assign({},Re(Se)),[`${se}${se}-sm`]:Object.assign({},Re(ve))}},b=he=>{const{controlHeight:se,borderRadiusSM:Ie,skeletonInputCls:dt,controlHeightLG:Se,controlHeightSM:ve,gradientFromColor:Je}=he;return{[`${dt}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:Je,borderRadius:Ie},y(se)),[`${dt}-lg`]:Object.assign({},y(Se)),[`${dt}-sm`]:Object.assign({},y(ve))}},E=he=>Object.assign({width:he},mt(he)),x=he=>{const{skeletonImageCls:se,imageSizeBase:Ie,gradientFromColor:dt,borderRadiusSM:Se}=he;return{[`${se}`]:Object.assign(Object.assign({display:"flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",background:dt,borderRadius:Se},E(Ie*2)),{[`${se}-path`]:{fill:"#bfbfbf"},[`${se}-svg`]:Object.assign(Object.assign({},E(Ie)),{maxWidth:Ie*4,maxHeight:Ie*4}),[`${se}-svg${se}-svg-circle`]:{borderRadius:"50%"}}),[`${se}${se}-circle`]:{borderRadius:"50%"}}},ee=(he,se,Ie)=>{const{skeletonButtonCls:dt}=he;return{[`${Ie}${dt}-circle`]:{width:se,minWidth:se,borderRadius:"50%"},[`${Ie}${dt}-round`]:{borderRadius:se}}},ne=he=>Object.assign({width:he*2,minWidth:he*2},mt(he)),oe=he=>{const{borderRadiusSM:se,skeletonButtonCls:Ie,controlHeight:dt,controlHeightLG:Se,controlHeightSM:ve,gradientFromColor:Je}=he;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[`${Ie}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:Je,borderRadius:se,width:dt*2,minWidth:dt*2},ne(dt))},ee(he,dt,Ie)),{[`${Ie}-lg`]:Object.assign({},ne(Se))}),ee(he,Se,`${Ie}-lg`)),{[`${Ie}-sm`]:Object.assign({},ne(ve))}),ee(he,ve,`${Ie}-sm`))},le=he=>{const{componentCls:se,skeletonAvatarCls:Ie,skeletonTitleCls:dt,skeletonParagraphCls:Se,skeletonButtonCls:ve,skeletonInputCls:Je,skeletonImageCls:Ne,controlHeight:ye,controlHeightLG:nt,controlHeightSM:_t,gradientFromColor:gt,padding:Gt,marginSM:Ot,borderRadius:Ut,titleHeight:be,blockRadius:st,paragraphLiHeight:pt,controlHeightXS:ct,paragraphMarginTop:Nt}=he;return{[`${se}`]:{display:"table",width:"100%",[`${se}-header`]:{display:"table-cell",paddingInlineEnd:Gt,verticalAlign:"top",[`${Ie}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:gt},Re(ye)),[`${Ie}-circle`]:{borderRadius:"50%"},[`${Ie}-lg`]:Object.assign({},Re(nt)),[`${Ie}-sm`]:Object.assign({},Re(_t))},[`${se}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[`${dt}`]:{width:"100%",height:be,background:gt,borderRadius:st,[`+ ${Se}`]:{marginBlockStart:_t}},[`${Se}`]:{padding:0,"> li":{width:"100%",height:pt,listStyle:"none",background:gt,borderRadius:st,"+ li":{marginBlockStart:ct}}},[`${Se}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${se}-content`]:{[`${dt}, ${Se} > li`]:{borderRadius:Ut}}},[`${se}-with-avatar ${se}-content`]:{[`${dt}`]:{marginBlockStart:Ot,[`+ ${Se}`]:{marginBlockStart:Nt}}},[`${se}${se}-element`]:Object.assign(Object.assign(Object.assign(Object.assign({display:"inline-block",width:"auto"},oe(he)),a(he)),b(he)),x(he)),[`${se}${se}-block`]:{width:"100%",[`${ve}`]:{width:"100%"},[`${Je}`]:{width:"100%"}},[`${se}${se}-active`]:{[`
${dt},
${Se} > li,
${Ie},
${ve},
${Je},
${Ne}
`]:Object.assign({},ae(he))}}};var ue=(0,Ke.Z)("Skeleton",he=>{const{componentCls:se}=he,Ie=(0,ze.TS)(he,{skeletonAvatarCls:`${se}-avatar`,skeletonTitleCls:`${se}-title`,skeletonParagraphCls:`${se}-paragraph`,skeletonButtonCls:`${se}-button`,skeletonInputCls:`${se}-input`,skeletonImageCls:`${se}-image`,imageSizeBase:he.controlHeight*1.5,borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${he.gradientFromColor} 25%, ${he.gradientToColor} 37%, ${he.gradientFromColor} 63%)`,skeletonLoadingMotionDuration:"1.4s"});return[le(Ie)]},he=>{const{colorFillContent:se,colorFill:Ie}=he,dt=se,Se=Ie;return{color:dt,colorGradientEnd:Se,gradientFromColor:dt,gradientToColor:Se,titleHeight:he.controlHeight/2,blockRadius:he.borderRadiusSM,paragraphMarginTop:he.marginLG+he.marginXXS,paragraphLiHeight:he.controlHeight/2}},{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]}),Ce=he=>{const{prefixCls:se,className:Ie,rootClassName:dt,active:Se,shape:ve="circle",size:Je="default"}=he,{getPrefixCls:Ne}=Ae.useContext(je.E_),ye=Ne("skeleton",se),[nt,_t]=ue(ye),gt=(0,Ee.Z)(he,["prefixCls","className"]),Gt=ie()(ye,`${ye}-element`,{[`${ye}-active`]:Se},Ie,dt,_t);return nt(Ae.createElement("div",{className:Gt},Ae.createElement(re,Object.assign({prefixCls:`${ye}-avatar`,shape:ve,size:Je},gt))))},Be=he=>{const{prefixCls:se,className:Ie,rootClassName:dt,active:Se,block:ve=!1,size:Je="default"}=he,{getPrefixCls:Ne}=Ae.useContext(je.E_),ye=Ne("skeleton",se),[nt,_t]=ue(ye),gt=(0,Ee.Z)(he,["prefixCls"]),Gt=ie()(ye,`${ye}-element`,{[`${ye}-active`]:Se,[`${ye}-block`]:ve},Ie,dt,_t);return nt(Ae.createElement("div",{className:Gt},Ae.createElement(re,Object.assign({prefixCls:`${ye}-button`,size:Je},gt))))};const de="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 Oe=he=>{const{prefixCls:se,className:Ie,rootClassName:dt,style:Se,active:ve}=he,{getPrefixCls:Je}=Ae.useContext(je.E_),Ne=Je("skeleton",se),[ye,nt]=ue(Ne),_t=ie()(Ne,`${Ne}-element`,{[`${Ne}-active`]:ve},Ie,dt,nt);return ye(Ae.createElement("div",{className:_t},Ae.createElement("div",{className:ie()(`${Ne}-image`,Ie),style:Se},Ae.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${Ne}-image-svg`},Ae.createElement("path",{d:de,className:`${Ne}-image-path`})))))},Pe=he=>{const{prefixCls:se,className:Ie,rootClassName:dt,active:Se,block:ve,size:Je="default"}=he,{getPrefixCls:Ne}=Ae.useContext(je.E_),ye=Ne("skeleton",se),[nt,_t]=ue(ye),gt=(0,Ee.Z)(he,["prefixCls"]),Gt=ie()(ye,`${ye}-element`,{[`${ye}-active`]:Se,[`${ye}-block`]:ve},Ie,dt,_t);return nt(Ae.createElement("div",{className:Gt},Ae.createElement(re,Object.assign({prefixCls:`${ye}-input`,size:Je},gt))))},ke=te(32855),ot={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"},Ue=ot,it=te(7657),Mt=function(se,Ie){return Ae.createElement(it.Z,(0,ke.Z)({},se,{ref:Ie,icon:Ue}))},_e=Ae.forwardRef(Mt),Tt=_e,Me=he=>{const{prefixCls:se,className:Ie,rootClassName:dt,style:Se,active:ve,children:Je}=he,{getPrefixCls:Ne}=Ae.useContext(je.E_),ye=Ne("skeleton",se),[nt,_t]=ue(ye),gt=ie()(ye,`${ye}-element`,{[`${ye}-active`]:ve},_t,Ie,dt),Gt=Je!=null?Je:Ae.createElement(Tt,null);return nt(Ae.createElement("div",{className:gt},Ae.createElement("div",{className:ie()(`${ye}-image`,Ie),style:Se},Gt)))},De=te(3300),Kt=he=>{const se=Ne=>{const{width:ye,rows:nt=2}=he;if(Array.isArray(ye))return ye[Ne];if(nt-1===Ne)return ye},{prefixCls:Ie,className:dt,style:Se,rows:ve}=he,Je=(0,De.Z)(Array(ve)).map((Ne,ye)=>Ae.createElement("li",{key:ye,style:{width:se(ye)}}));return Ae.createElement("ul",{className:ie()(Ie,dt),style:Se},Je)},jt=he=>{let{prefixCls:se,className:Ie,width:dt,style:Se}=he;return Ae.createElement("h3",{className:ie()(se,Ie),style:Object.assign({width:dt},Se)})};function Le(he){return he&&typeof he=="object"?he:{}}function Xt(he,se){return he&&!se?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function vn(he,se){return!he&&se?{width:"38%"}:he&&se?{width:"50%"}:{}}function St(he,se){const Ie={};return(!he||!se)&&(Ie.width="61%"),!he&&se?Ie.rows=3:Ie.rows=2,Ie}const ut=he=>{const{prefixCls:se,loading:Ie,className:dt,rootClassName:Se,style:ve,children:Je,avatar:Ne=!1,title:ye=!0,paragraph:nt=!0,active:_t,round:gt}=he,{getPrefixCls:Gt,direction:Ot,skeleton:Ut}=Ae.useContext(je.E_),be=Gt("skeleton",se),[st,pt]=ue(be);if(Ie||!("loading"in he)){const ct=!!Ne,Nt=!!ye,Vt=!!nt;let on;if(ct){const Tn=Object.assign(Object.assign({prefixCls:`${be}-avatar`},Xt(Nt,Vt)),Le(Ne));on=Ae.createElement("div",{className:`${be}-header`},Ae.createElement(re,Object.assign({},Tn)))}let Qt;if(Nt||Vt){let Tn;if(Nt){const Ft=Object.assign(Object.assign({prefixCls:`${be}-title`},vn(ct,Vt)),Le(ye));Tn=Ae.createElement(jt,Object.assign({},Ft))}let Lt;if(Vt){const Ft=Object.assign(Object.assign({prefixCls:`${be}-paragraph`},St(ct,Nt)),Le(nt));Lt=Ae.createElement(Kt,Object.assign({},Ft))}Qt=Ae.createElement("div",{className:`${be}-content`},Tn,Lt)}const bn=ie()(be,{[`${be}-with-avatar`]:ct,[`${be}-active`]:_t,[`${be}-rtl`]:Ot==="rtl",[`${be}-round`]:gt},Ut==null?void 0:Ut.className,dt,Se,pt);return st(Ae.createElement("div",{className:bn,style:Object.assign(Object.assign({},Ut==null?void 0:Ut.style),ve)},on,Qt))}return typeof Je!="undefined"?Je:null};ut.Button=Be,ut.Avatar=Ce,ut.Input=Pe,ut.Image=Oe,ut.Node=Me;var Ve=ut,Te=Ve},31797:function(xt,It,te){"use strict";te.d(It,{default:function(){return ue}});var z=te(59301),ie=te(56762),Ae=te(92343),je=te(92310),Ee=te.n(je),xe=te(36355),re=te(61621),Ke=ge=>{const{value:Ce,formatter:pe,precision:Be,decimalSeparator:de,groupSeparator:et="",prefixCls:Oe}=ge;let Ge;if(typeof pe=="function")Ge=pe(Ce);else{const Pe=String(Ce),ke=Pe.match(/^(-?)(\d*)(\.(\d+))?$/);if(!ke||Pe==="-")Ge=Pe;else{const ot=ke[1];let Ue=ke[2]||"0",it=ke[4]||"";Ue=Ue.replace(/\B(?=(\d{3})+(?!\d))/g,et),typeof Be=="number"&&(it=it.padEnd(Be,"0").slice(0,Be>0?Be:0)),it&&(it=`${de}${it}`),Ge=[z.createElement("span",{key:"int",className:`${Oe}-content-value-int`},ot,Ue),it&&z.createElement("span",{key:"decimal",className:`${Oe}-content-value-decimal`},it)]}}return z.createElement("span",{className:`${Oe}-content-value`},Ge)},ze=te(17313),Xe=te(83116),mt=te(37613);const Re=ge=>{const{componentCls:Ce,marginXXS:pe,padding:Be,colorTextDescription:de,titleFontSize:et,colorTextHeading:Oe,contentFontSize:Ge,fontFamily:Pe}=ge;return{[`${Ce}`]:Object.assign(Object.assign({},(0,ze.Wf)(ge)),{[`${Ce}-title`]:{marginBottom:pe,color:de,fontSize:et},[`${Ce}-skeleton`]:{paddingTop:Be},[`${Ce}-content`]:{color:Oe,fontSize:Ge,fontFamily:Pe,[`${Ce}-content-value`]:{display:"inline-block",direction:"ltr"},[`${Ce}-content-prefix, ${Ce}-content-suffix`]:{display:"inline-block"},[`${Ce}-content-prefix`]:{marginInlineEnd:pe},[`${Ce}-content-suffix`]:{marginInlineStart:pe}}})}};var ae=(0,Xe.Z)("Statistic",ge=>{const Ce=(0,mt.TS)(ge,{});return[Re(Ce)]},ge=>{const{fontSizeHeading3:Ce,fontSize:pe}=ge;return{titleFontSize:pe,contentFontSize:Ce}}),a=ge=>{const{prefixCls:Ce,className:pe,rootClassName:Be,style:de,valueStyle:et,value:Oe=0,title:Ge,valueRender:Pe,prefix:ke,suffix:ot,loading:Ue=!1,onMouseEnter:it,onMouseLeave:Mt,decimalSeparator:_e=".",groupSeparator:Tt=","}=ge,{getPrefixCls:Jt,direction:Me,statistic:De}=z.useContext(xe.E_),Et=Jt("statistic",Ce),[Kt,ft]=ae(Et),jt=z.createElement(Ke,Object.assign({decimalSeparator:_e,groupSeparator:Tt,prefixCls:Et},ge,{value:Oe})),Le=Ee()(Et,{[`${Et}-rtl`]:Me==="rtl"},De==null?void 0:De.className,pe,Be,ft);return Kt(z.createElement("div",{className:Le,style:Object.assign(Object.assign({},De==null?void 0:De.style),de),onMouseEnter:it,onMouseLeave:Mt},Ge&&z.createElement("div",{className:`${Et}-title`},Ge),z.createElement(re.Z,{paragraph:!1,loading:Ue,className:`${Et}-skeleton`},z.createElement("div",{style:et,className:`${Et}-content`},ke&&z.createElement("span",{className:`${Et}-content-prefix`},ke),Pe?Pe(jt):jt,ot&&z.createElement("span",{className:`${Et}-content-suffix`},ot)))))};const b=[["Y",1e3*60*60*24*365],["M",1e3*60*60*24*30],["D",1e3*60*60*24],["H",1e3*60*60],["m",1e3*60],["s",1e3],["S",1]];function E(ge,Ce){let pe=ge;const Be=/\[[^\]]*]/g,de=(Ce.match(Be)||[]).map(Pe=>Pe.slice(1,-1)),et=Ce.replace(Be,"[]"),Oe=b.reduce((Pe,ke)=>{let[ot,Ue]=ke;if(Pe.includes(ot)){const it=Math.floor(pe/Ue);return pe-=it*Ue,Pe.replace(new RegExp(`${ot}+`,"g"),Mt=>{const _e=Mt.length;return it.toString().padStart(_e,"0")})}return Pe},et);let Ge=0;return Oe.replace(Be,()=>{const Pe=de[Ge];return Ge+=1,Pe})}function x(ge,Ce){const{format:pe=""}=Ce,Be=new Date(ge).getTime(),de=Date.now(),et=Math.max(Be-de,0);return E(et,pe)}const ee=1e3/30;function ne(ge){return new Date(ge).getTime()}const oe=ge=>{const{value:Ce,format:pe="HH:mm:ss",onChange:Be,onFinish:de}=ge,et=(0,ie.Z)(),Oe=z.useRef(null),Ge=()=>{de==null||de(),Oe.current&&(clearInterval(Oe.current),Oe.current=null)},Pe=()=>{const Ue=ne(Ce);Ue>=Date.now()&&(Oe.current=setInterval(()=>{et(),Be==null||Be(Ue-Date.now()),Ue<Date.now()&&Ge()},ee))};z.useEffect(()=>(Pe(),()=>{Oe.current&&(clearInterval(Oe.current),Oe.current=null)}),[Ce]);const ke=(Ue,it)=>x(Ue,Object.assign(Object.assign({},it),{format:pe})),ot=Ue=>(0,Ae.Tm)(Ue,{title:void 0});return z.createElement(a,Object.assign({},ge,{valueRender:ot,formatter:ke}))};var le=z.memo(oe);a.Countdown=le;var ue=a},15969:function(xt,It,te){"use strict";te.d(It,{N:function(){return z}});const z=ie=>({color:ie.colorLink,textDecoration:"none",outline:"none",cursor:"pointer",transition:`color ${ie.motionDurationSlow}`,"&:focus, &:hover":{color:ie.colorLinkHover},"&:active":{color:ie.colorLinkActive}})},1710:function(xt,It,te){"use strict";te.d(It,{default:function(){return Al}});var z={},ie="rc-table-internal-hook",Ae=te(11913),je=te(6089),Ee=te(34280),xe=te(13697),re=te(59301),We=te(4676);function Ke(ce){var me=re.createContext(void 0),we=function(at){var lt=at.value,At=at.children,wt=re.useRef(lt);wt.current=lt;var bt=re.useState(function(){return{getValue:function(){return wt.current},listeners:new Set}}),Yt=(0,Ae.Z)(bt,1),gn=Yt[0];return(0,Ee.Z)(function(){(0,We.unstable_batchedUpdates)(function(){gn.listeners.forEach(function(nn){nn(lt)})})},[lt]),re.createElement(me.Provider,{value:gn},At)};return{Context:me,Provider:we,defaultValue:ce}}function ze(ce,me){var we=(0,je.Z)(typeof me=="function"?me:function(nn){if(me===void 0)return nn;if(!Array.isArray(me))return nn[me];var On={};return me.forEach(function(An){On[An]=nn[An]}),On}),He=re.useContext(ce==null?void 0:ce.Context),at=He||{},lt=at.listeners,At=at.getValue,wt=re.useRef();wt.current=we(He?At():ce==null?void 0:ce.defaultValue);var bt=re.useState({}),Yt=(0,Ae.Z)(bt,2),gn=Yt[1];return(0,Ee.Z)(function(){if(!He)return;function nn(On){var An=we(On);(0,xe.Z)(wt.current,An,!0)||gn({})}return lt.add(nn),function(){lt.delete(nn)}},[He]),wt.current}var Xe=te(32855),mt=te(8654);function Re(){var ce=re.createContext(null);function me(){return re.useContext(ce)}function we(at,lt){var At=(0,mt.Yr)(at),wt=function(Yt,gn){var nn=At?{ref:gn}:{},On=re.useRef(0),An=re.useRef(Yt),Ln=me();return Ln!==null?re.createElement(at,(0,Xe.Z)({},Yt,nn)):((!lt||lt(An.current,Yt))&&(On.current+=1),An.current=Yt,re.createElement(ce.Provider,{value:On.current},re.createElement(at,(0,Xe.Z)({},Yt,nn))))};return At?re.forwardRef(wt):wt}function He(at,lt){var At=(0,mt.Yr)(at),wt=function(Yt,gn){var nn=At?{ref:gn}:{};return me(),re.createElement(at,(0,Xe.Z)({},Yt,nn))};return At?re.memo(re.forwardRef(wt),lt):re.memo(wt,lt)}return{makeImmutable:we,responseImmutable:He,useImmutableMark:me}}var ae=Re(),y=ae.makeImmutable,a=ae.responseImmutable,b=ae.useImmutableMark,E=Re(),x=E.makeImmutable,ee=E.responseImmutable,ne=E.useImmutableMark,oe=Ke(),le=oe;function ue(ce,me){var we=re.useRef(0);we.current+=1;var He=re.useRef(ce),at=[];Object.keys(ce||{}).map(function(At){var wt;(ce==null?void 0:ce[At])!==((wt=He.current)===null||wt===void 0?void 0:wt[At])&&at.push(At)}),He.current=ce;var lt=re.useRef([]);return at.length&&(lt.current=at),re.useDebugValue(we.current),re.useDebugValue(lt.current.join(", ")),me&&console.log("".concat(me,":"),we.current,lt.current),we.current}var ge=null,Ce=re.memo(function(){var ce=ue();return re.createElement("h1",null,"Render Times: ",ce)});Ce.displayName="RenderBlock";var pe=te(34666),Be=te(27247),de=te(74430),et=te(92310),Oe=te.n(et),Ge=te(80547),Pe=te(97938),ke=te(48736),ot=re.createContext({renderWithProps:!1}),Ue=ot,it="RC_TABLE_KEY";function Mt(ce){return ce==null?[]:Array.isArray(ce)?ce:[ce]}function _e(ce){var me=[],we={};return ce.forEach(function(He){for(var at=He||{},lt=at.key,At=at.dataIndex,wt=lt||Mt(At).join("-")||it;we[wt];)wt="".concat(wt,"_next");we[wt]=!0,me.push(wt)}),me}function Tt(ce){return ce!=null}function Jt(ce){return ce&&(0,pe.Z)(ce)==="object"&&!Array.isArray(ce)&&!re.isValidElement(ce)}function Me(ce,me,we,He,at,lt){var At=re.useContext(Ue),wt=ne(),bt=(0,Ge.Z)(function(){if(Tt(He))return[He];var Yt=me==null||me===""?[]:Array.isArray(me)?me:[me],gn=(0,Pe.Z)(ce,Yt),nn=gn,On=void 0;if(at){var An=at(gn,ce,we);Jt(An)?(nn=An.children,On=An.props,At.renderWithProps=!0):nn=An}return[nn,On]},[wt,ce,He,me,at,we],function(Yt,gn){if(lt){var nn=(0,Ae.Z)(Yt,2),On=nn[1],An=(0,Ae.Z)(gn,2),Ln=An[1];return lt(Ln,On)}return At.renderWithProps?!0:!(0,xe.Z)(Yt,gn,!0)});return bt}function De(ce,me,we,He){var at=ce+me-1;return ce<=He&&at>=we}function Et(ce,me){return ze(le,function(we){var He=De(ce,me||1,we.hoverStartRow,we.hoverEndRow);return[He,we.onHover]})}var Kt=function(me){var we=me.ellipsis,He=me.rowType,at=me.children,lt,At=we===!0?{showTitle:!0}:we;return At&&(At.showTitle||He==="header")&&(typeof at=="string"||typeof at=="number"?lt=at.toString():re.isValidElement(at)&&typeof at.props.children=="string"&&(lt=at.props.children)),lt};function ft(ce){var me,we,He,at,lt,At,wt,bt,Yt=ce.component,gn=ce.children,nn=ce.ellipsis,On=ce.scope,An=ce.prefixCls,Ln=ce.className,Yn=ce.align,Kn=ce.record,_n=ce.render,Wn=ce.dataIndex,aa=ce.renderIndex,ya=ce.shouldCellUpdate,Ea=ce.index,fa=ce.rowType,La=ce.colSpan,Ma=ce.rowSpan,ra=ce.fixLeft,pa=ce.fixRight,ia=ce.firstFixLeft,ta=ce.lastFixLeft,da=ce.firstFixRight,wa=ce.lastFixRight,Ga=ce.appendNode,Ra=ce.additionalProps,ba=Ra===void 0?{}:Ra,Wa=ce.isSticky,Va="".concat(An,"-cell"),vo=ze(le,["supportSticky","allColumnsFixedLeft"]),ao=vo.supportSticky,Ao=vo.allColumnsFixedLeft,wo=Me(Kn,Wn,aa,gn,_n,ya),ka=(0,Ae.Z)(wo,2),Lo=ka[0],ro=ka[1],Eo={},yo=typeof ra=="number"&&ao,Qo=typeof pa=="number"&&ao;yo&&(Eo.position="sticky",Eo.left=ra),Qo&&(Eo.position="sticky",Eo.right=pa);var Ba=(me=(we=(He=ro==null?void 0:ro.colSpan)!==null&&He!==void 0?He:ba.colSpan)!==null&&we!==void 0?we:La)!==null&&me!==void 0?me:1,Fa=(at=(lt=(At=ro==null?void 0:ro.rowSpan)!==null&&At!==void 0?At:ba.rowSpan)!==null&&lt!==void 0?lt:Ma)!==null&&at!==void 0?at:1,xa=Et(Ea,Fa),Sa=(0,Ae.Z)(xa,2),io=Sa[0],Pa=Sa[1],Da=function(No){var Xo;Kn&&Pa(Ea,Ea+Fa-1),ba==null||(Xo=ba.onMouseEnter)===null||Xo===void 0||Xo.call(ba,No)},eo=function(No){var Xo;Kn&&Pa(-1,-1),ba==null||(Xo=ba.onMouseLeave)===null||Xo===void 0||Xo.call(ba,No)};if(Ba===0||Fa===0)return null;var Ya=(wt=ba.title)!==null&&wt!==void 0?wt:Kt({rowType:fa,ellipsis:nn,children:Lo}),Go=Oe()(Va,Ln,(bt={},(0,de.Z)(bt,"".concat(Va,"-fix-left"),yo&&ao),(0,de.Z)(bt,"".concat(Va,"-fix-left-first"),ia&&ao),(0,de.Z)(bt,"".concat(Va,"-fix-left-last"),ta&&ao),(0,de.Z)(bt,"".concat(Va,"-fix-left-all"),ta&&Ao&&ao),(0,de.Z)(bt,"".concat(Va,"-fix-right"),Qo&&ao),(0,de.Z)(bt,"".concat(Va,"-fix-right-first"),da&&ao),(0,de.Z)(bt,"".concat(Va,"-fix-right-last"),wa&&ao),(0,de.Z)(bt,"".concat(Va,"-ellipsis"),nn),(0,de.Z)(bt,"".concat(Va,"-with-append"),Ga),(0,de.Z)(bt,"".concat(Va,"-fix-sticky"),(yo||Qo)&&Wa&&ao),(0,de.Z)(bt,"".concat(Va,"-row-hover"),!ro&&io),bt),ba.className,ro==null?void 0:ro.className),Zo={};Yn&&(Zo.textAlign=Yn);var lr=(0,Be.Z)((0,Be.Z)((0,Be.Z)((0,Be.Z)({},Eo),ba.style),Zo),ro==null?void 0:ro.style),Oo=Lo;return(0,pe.Z)(Oo)==="object"&&!Array.isArray(Oo)&&!re.isValidElement(Oo)&&(Oo=null),nn&&(ta||da)&&(Oo=re.createElement("span",{className:"".concat(Va,"-content")},Oo)),re.createElement(Yt,(0,Xe.Z)({},ro,ba,{className:Go,style:lr,title:Ya,scope:On,onMouseEnter:Da,onMouseLeave:eo,colSpan:Ba!==1?Ba:null,rowSpan:Fa!==1?Fa:null}),Ga,Oo)}var jt=re.memo(ft);function Le(ce,me,we,He,at,lt){var At=we[ce]||{},wt=we[me]||{},bt,Yt;At.fixed==="left"?bt=He.left[at==="rtl"?me:ce]:wt.fixed==="right"&&(Yt=He.right[at==="rtl"?ce:me]);var gn=!1,nn=!1,On=!1,An=!1,Ln=we[me+1],Yn=we[ce-1],Kn=!(lt!=null&&lt.children);if(at==="rtl"){if(bt!==void 0){var _n=Yn&&Yn.fixed==="left";An=!_n&&Kn}else if(Yt!==void 0){var Wn=Ln&&Ln.fixed==="right";On=!Wn&&Kn}}else if(bt!==void 0){var aa=Ln&&Ln.fixed==="left";gn=!aa&&Kn}else if(Yt!==void 0){var ya=Yn&&Yn.fixed==="right";nn=!ya&&Kn}return{fixLeft:bt,fixRight:Yt,lastFixLeft:gn,firstFixRight:nn,lastFixRight:On,firstFixLeft:An,isSticky:He.isSticky}}var Xt=re.createContext({}),vn=Xt;function St(ce){var me=ce.className,we=ce.index,He=ce.children,at=ce.colSpan,lt=at===void 0?1:at,At=ce.rowSpan,wt=ce.align,bt=ze(le,["prefixCls","direction"]),Yt=bt.prefixCls,gn=bt.direction,nn=re.useContext(vn),On=nn.scrollColumnIndex,An=nn.stickyOffsets,Ln=nn.flattenColumns,Yn=nn.columns,Kn=we+lt-1,_n=Kn+1===On?lt+1:lt,Wn=Le(we,we+_n-1,Ln,An,gn,Yn==null?void 0:Yn[we]);return re.createElement(jt,(0,Xe.Z)({className:me,index:we,component:"td",prefixCls:Yt,record:null,dataIndex:null,align:wt,colSpan:_n,rowSpan:At,render:function(){return He}},Wn))}var ut=te(43079),Ve=["children"];function Te(ce){var me=ce.children,we=(0,ut.Z)(ce,Ve);return re.createElement("tr",we,me)}function he(ce){var me=ce.children;return me}he.Row=Te,he.Cell=St;var se=he;function Ie(ce){var me=ce.children,we=ce.stickyOffsets,He=ce.flattenColumns,at=ce.columns,lt=ze(le,"prefixCls"),At=He.length-1,wt=He[At],bt=re.useMemo(function(){return{stickyOffsets:we,flattenColumns:He,scrollColumnIndex:wt!=null&&wt.scrollbar?At:null,columns:at}},[wt,He,At,we,at]);return re.createElement(vn.Provider,{value:bt},re.createElement("tfoot",{className:"".concat(lt,"-summary")},me))}var dt=ee(Ie),Se=se,ve=te(70425),Je=te(29301),Ne=te(29194),ye=te(24514),nt=te(75152),_t=te(26112);function gt(ce,me,we,He,at,lt,At){ce.push({record:me,indent:we,index:At});var wt=lt(me),bt=at==null?void 0:at.has(wt);if(me&&Array.isArray(me[He])&&bt)for(var Yt=0;Yt<me[He].length;Yt+=1)gt(ce,me[He][Yt],we+1,He,at,lt,Yt)}function Gt(ce,me,we,He){var at=re.useMemo(function(){if(we!=null&&we.size){for(var lt=[],At=0;At<(ce==null?void 0:ce.length);At+=1){var wt=ce[At];gt(lt,wt,0,me,we,He,At)}return lt}return ce==null?void 0:ce.map(function(bt,Yt){return{record:bt,indent:0,index:Yt}})},[ce,me,we,He]);return at}function Ot(ce){var me=ce.prefixCls,we=ce.children,He=ce.component,at=ce.cellComponent,lt=ce.className,At=ce.expanded,wt=ce.colSpan,bt=ce.isEmpty,Yt=ze(le,["scrollbarSize","fixHeader","fixColumn","componentWidth","horizonScroll"]),gn=Yt.scrollbarSize,nn=Yt.fixHeader,On=Yt.fixColumn,An=Yt.componentWidth,Ln=Yt.horizonScroll,Yn=we;return(bt?Ln&&An:On)&&(Yn=re.createElement("div",{style:{width:An-(nn?gn:0),position:"sticky",left:0,overflow:"hidden"},className:"".concat(me,"-expanded-row-fixed")},Yn)),re.createElement(He,{className:lt,style:{display:At?null:"none"}},re.createElement(jt,{component:at,prefixCls:me,colSpan:wt},Yn))}var Ut=Ot;function be(ce,me,we,He){var at=ze(le,["prefixCls","fixedInfoList","flattenColumns","expandableType","expandRowByClick","onTriggerExpand","rowClassName","expandedRowClassName","indentSize","expandIcon","expandedRowRender","expandIconColumnIndex","expandedKeys","childrenColumnName","rowExpandable","onRow"]),lt=at.flattenColumns,At=at.expandableType,wt=at.expandedKeys,bt=at.childrenColumnName,Yt=at.onTriggerExpand,gn=at.rowExpandable,nn=at.onRow,On=at.expandRowByClick,An=at.rowClassName,Ln=At==="nest",Yn=At==="row"&&(!gn||gn(ce)),Kn=Yn||Ln,_n=wt&&wt.has(me),Wn=bt&&ce&&ce[bt],aa=(0,ve.useEvent)(Yt),ya=nn==null?void 0:nn(ce,we),Ea=ya==null?void 0:ya.onClick,fa=function(pa){On&&Kn&&Yt(ce,pa);for(var ia=arguments.length,ta=new Array(ia>1?ia-1:0),da=1;da<ia;da++)ta[da-1]=arguments[da];Ea==null||Ea.apply(void 0,[pa].concat(ta))},La;typeof An=="string"?La=An:typeof An=="function"&&(La=An(ce,we,He));var Ma=_e(lt);return(0,Be.Z)((0,Be.Z)({},at),{},{columnsKey:Ma,nestExpandable:Ln,expanded:_n,hasNestChildren:Wn,record:ce,onTriggerExpand:aa,rowSupportExpand:Yn,expandable:Kn,rowProps:(0,Be.Z)((0,Be.Z)({},ya),{},{className:Oe()(La,ya==null?void 0:ya.className),onClick:fa})})}function st(ce,me,we,He,at){var lt=ce.record,At=ce.prefixCls,wt=ce.columnsKey,bt=ce.fixedInfoList,Yt=ce.expandIconColumnIndex,gn=ce.nestExpandable,nn=ce.indentSize,On=ce.expandIcon,An=ce.expanded,Ln=ce.hasNestChildren,Yn=ce.onTriggerExpand,Kn=wt[we],_n=bt[we],Wn;we===(Yt||0)&&gn&&(Wn=re.createElement(re.Fragment,null,re.createElement("span",{style:{paddingLeft:"".concat(nn*He,"px")},className:"".concat(At,"-row-indent indent-level-").concat(He)}),On({prefixCls:At,expanded:An,expandable:Ln,record:lt,onExpand:Yn})));var aa;return me.onCell&&(aa=me.onCell(lt,at)),{key:Kn,fixedInfo:_n,appendCellNode:Wn,additionalCellProps:aa||{}}}function pt(ce){var me=ce.className,we=ce.style,He=ce.record,at=ce.index,lt=ce.renderIndex,At=ce.rowKey,wt=ce.indent,bt=wt===void 0?0:wt,Yt=ce.rowComponent,gn=ce.cellComponent,nn=ce.scopeCellComponent,On=be(He,At,at,bt),An=On.prefixCls,Ln=On.flattenColumns,Yn=On.expandedRowClassName,Kn=On.expandedRowRender,_n=On.rowProps,Wn=On.expanded,aa=On.rowSupportExpand,ya=re.useState(!1),Ea=(0,Ae.Z)(ya,2),fa=Ea[0],La=Ea[1];re.useEffect(function(){Wn&&La(!0)},[Wn]);var Ma=re.createElement(Yt,(0,Xe.Z)({},_n,{"data-row-key":At,className:Oe()(me,"".concat(An,"-row"),"".concat(An,"-row-level-").concat(bt),_n==null?void 0:_n.className),style:(0,Be.Z)((0,Be.Z)({},we),_n==null?void 0:_n.style)}),Ln.map(function(ta,da){var wa=ta.render,Ga=ta.dataIndex,Ra=ta.className,ba=st(On,ta,da,bt,at),Wa=ba.key,Va=ba.fixedInfo,vo=ba.appendCellNode,ao=ba.additionalCellProps;return re.createElement(jt,(0,Xe.Z)({className:Ra,ellipsis:ta.ellipsis,align:ta.align,scope:ta.rowScope,component:ta.rowScope?nn:gn,prefixCls:An,key:Wa,record:He,index:at,renderIndex:lt,dataIndex:Ga,render:wa,shouldCellUpdate:ta.shouldCellUpdate},Va,{appendNode:vo,additionalProps:ao}))})),ra;if(aa&&(fa||Wn)){var pa=Kn(He,at,bt+1,Wn),ia=Yn&&Yn(He,at,bt);ra=re.createElement(Ut,{expanded:Wn,className:Oe()("".concat(An,"-expanded-row"),"".concat(An,"-expanded-row-level-").concat(bt+1),ia),prefixCls:An,component:Yt,cellComponent:gn,colSpan:Ln.length,isEmpty:!1},pa)}return re.createElement(re.Fragment,null,Ma,ra)}pt.displayName="BodyRow";var ct=ee(pt);function Nt(ce){var me=ce.columnKey,we=ce.onColumnResize,He=re.useRef();return re.useEffect(function(){He.current&&we(me,He.current.offsetWidth)},[]),re.createElement(Je.Z,{data:me},re.createElement("td",{ref:He,style:{padding:0,border:0,height:0}},re.createElement("div",{style:{height:0,overflow:"hidden"}},"\xA0")))}function Vt(ce){var me=ce.prefixCls,we=ce.columnsKey,He=ce.onColumnResize;return re.createElement("tr",{"aria-hidden":"true",className:"".concat(me,"-measure-row"),style:{height:0,fontSize:0}},re.createElement(Je.Z.Collection,{onBatchResize:function(lt){lt.forEach(function(At){var wt=At.data,bt=At.size;He(wt,bt.offsetWidth)})}},we.map(function(at){return re.createElement(Nt,{key:at,columnKey:at,onColumnResize:He})})))}function on(ce){var me=ce.data,we=ce.measureColumnWidth,He=ze(le,["prefixCls","getComponent","onColumnResize","flattenColumns","getRowKey","expandedKeys","childrenColumnName","emptyNode"]),at=He.prefixCls,lt=He.getComponent,At=He.onColumnResize,wt=He.flattenColumns,bt=He.getRowKey,Yt=He.expandedKeys,gn=He.childrenColumnName,nn=He.emptyNode,On=Gt(me,gn,Yt,bt),An=re.useRef({renderWithProps:!1}),Ln=lt(["body","wrapper"],"tbody"),Yn=lt(["body","row"],"tr"),Kn=lt(["body","cell"],"td"),_n=lt(["body","cell"],"th"),Wn;me.length?Wn=On.map(function(ya,Ea){var fa=ya.record,La=ya.indent,Ma=ya.index,ra=bt(fa,Ea);return re.createElement(ct,{key:ra,rowKey:ra,record:fa,index:Ea,renderIndex:Ma,rowComponent:Yn,cellComponent:Kn,scopeCellComponent:_n,getRowKey:bt,indent:La})}):Wn=re.createElement(Ut,{expanded:!0,className:"".concat(at,"-placeholder"),prefixCls:at,component:Yn,cellComponent:Kn,colSpan:wt.length,isEmpty:!0},nn);var aa=_e(wt);return re.createElement(Ue.Provider,{value:An.current},re.createElement(Ln,{className:"".concat(at,"-tbody")},we&&re.createElement(Vt,{prefixCls:at,columnsKey:aa,onColumnResize:At}),Wn))}on.displayName="Body";var Qt=ee(on),bn=["expandable"],Tn="RC_TABLE_INTERNAL_COL_DEFINE";function Lt(ce){var me=ce.expandable,we=(0,ut.Z)(ce,bn),He;return"expandable"in ce?He=(0,Be.Z)((0,Be.Z)({},we),me):He=we,He.showExpandColumn===!1&&(He.expandIconColumnIndex=-1),He}var Ft=["columnType"];function Wt(ce){for(var me=ce.colWidths,we=ce.columns,He=ce.columCount,at=[],lt=He||we.length,At=!1,wt=lt-1;wt>=0;wt-=1){var bt=me[wt],Yt=we&&we[wt],gn=Yt&&Yt[Tn];if(bt||gn||At){var nn=gn||{},On=nn.columnType,An=(0,ut.Z)(nn,Ft);at.unshift(re.createElement("col",(0,Xe.Z)({key:wt,style:{width:bt}},An))),At=!0}}return re.createElement("colgroup",null,at)}var fn=Wt,un=te(3300),Hn=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];function rt(ce,me){return(0,re.useMemo)(function(){for(var we=[],He=0;He<me;He+=1){var at=ce[He];if(at!==void 0)we[He]=at;else return null}return we},[ce.join("_"),me])}var Pt=re.forwardRef(function(ce,me){var we=ce.className,He=ce.noData,at=ce.columns,lt=ce.flattenColumns,At=ce.colWidths,wt=ce.columCount,bt=ce.stickyOffsets,Yt=ce.direction,gn=ce.fixHeader,nn=ce.stickyTopOffset,On=ce.stickyBottomOffset,An=ce.stickyClassName,Ln=ce.onScroll,Yn=ce.maxContentScroll,Kn=ce.children,_n=(0,ut.Z)(ce,Hn),Wn=ze(le,["prefixCls","scrollbarSize","isSticky"]),aa=Wn.prefixCls,ya=Wn.scrollbarSize,Ea=Wn.isSticky,fa=Ea&&!gn?0:ya,La=re.useRef(null),Ma=re.useCallback(function(Ra){(0,mt.mH)(me,Ra),(0,mt.mH)(La,Ra)},[]);re.useEffect(function(){var Ra;function ba(Wa){var Va=Wa,vo=Va.currentTarget,ao=Va.deltaX;ao&&(Ln({currentTarget:vo,scrollLeft:vo.scrollLeft+ao}),Wa.preventDefault())}return(Ra=La.current)===null||Ra===void 0||Ra.addEventListener("wheel",ba),function(){var Wa;(Wa=La.current)===null||Wa===void 0||Wa.removeEventListener("wheel",ba)}},[]);var ra=re.useMemo(function(){return lt.every(function(Ra){return Ra.width})},[lt]),pa=lt[lt.length-1],ia={fixed:pa?pa.fixed:null,scrollbar:!0,onHeaderCell:function(){return{className:"".concat(aa,"-cell-scrollbar")}}},ta=(0,re.useMemo)(function(){return fa?[].concat((0,un.Z)(at),[ia]):at},[fa,at]),da=(0,re.useMemo)(function(){return fa?[].concat((0,un.Z)(lt),[ia]):lt},[fa,lt]),wa=(0,re.useMemo)(function(){var Ra=bt.right,ba=bt.left;return(0,Be.Z)((0,Be.Z)({},bt),{},{left:Yt==="rtl"?[].concat((0,un.Z)(ba.map(function(Wa){return Wa+fa})),[0]):ba,right:Yt==="rtl"?Ra:[].concat((0,un.Z)(Ra.map(function(Wa){return Wa+fa})),[0]),isSticky:Ea})},[fa,bt,Ea]),Ga=rt(At,wt);return re.createElement("div",{style:(0,Be.Z)({overflow:"hidden"},Ea?{top:nn,bottom:On}:{}),ref:Ma,className:Oe()(we,(0,de.Z)({},An,!!An))},re.createElement("table",{style:{tableLayout:"fixed",visibility:He||Ga?null:"hidden"}},(!He||!Yn||ra)&&re.createElement(fn,{colWidths:Ga?[].concat((0,un.Z)(Ga),[fa]):[],columCount:wt+1,columns:da}),Kn((0,Be.Z)((0,Be.Z)({},_n),{},{stickyOffsets:wa,columns:ta,flattenColumns:da}))))});Pt.displayName="FixedHolder";var an=re.memo(Pt);function Pn(ce){var me=ce.cells,we=ce.stickyOffsets,He=ce.flattenColumns,at=ce.rowComponent,lt=ce.cellComponent,At=ce.tdCellComponent,wt=ce.onHeaderRow,bt=ce.index,Yt=ze(le,["prefixCls","direction"]),gn=Yt.prefixCls,nn=Yt.direction,On;wt&&(On=wt(me.map(function(Ln){return Ln.column}),bt));var An=_e(me.map(function(Ln){return Ln.column}));return re.createElement(at,On,me.map(function(Ln,Yn){var Kn=Ln.column,_n=Le(Ln.colStart,Ln.colEnd,He,we,nn,Kn),Wn;return Kn&&Kn.onHeaderCell&&(Wn=Ln.column.onHeaderCell(Kn)),re.createElement(jt,(0,Xe.Z)({},Ln,{scope:Kn.title?Ln.colSpan>1?"colgroup":"col":null,ellipsis:Kn.ellipsis,align:Kn.align,component:Kn.title?lt:At,prefixCls:gn,key:An[Yn]},_n,{additionalProps:Wn,rowType:"header"}))}))}Pn.displayName="HeaderRow";var Fe=Pn;function ht(ce){var me=[];function we(At,wt){var bt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;me[bt]=me[bt]||[];var Yt=wt,gn=At.filter(Boolean).map(function(nn){var On={key:nn.key,className:nn.className||"",children:nn.title,column:nn,colStart:Yt},An=1,Ln=nn.children;return Ln&&Ln.length>0&&(An=we(Ln,Yt,bt+1).reduce(function(Yn,Kn){return Yn+Kn},0),On.hasSubColumns=!0),"colSpan"in nn&&(An=nn.colSpan),"rowSpan"in nn&&(On.rowSpan=nn.rowSpan),On.colSpan=An,On.colEnd=On.colStart+An-1,me[bt].push(On),Yt+=An,An});return gn}we(ce,0);for(var He=me.length,at=function(wt){me[wt].forEach(function(bt){!("rowSpan"in bt)&&!bt.hasSubColumns&&(bt.rowSpan=He-wt)})},lt=0;lt<He;lt+=1)at(lt);return me}function Rt(ce){var me=ce.stickyOffsets,we=ce.columns,He=ce.flattenColumns,at=ce.onHeaderRow,lt=ze(le,["prefixCls","getComponent"]),At=lt.prefixCls,wt=lt.getComponent,bt=re.useMemo(function(){return ht(we)},[we]),Yt=wt(["header","wrapper"],"thead"),gn=wt(["header","row"],"tr"),nn=wt(["header","cell"],"th"),On=wt(["header","cell"],"td");return re.createElement(Yt,{className:"".concat(At,"-thead")},bt.map(function(An,Ln){var Yn=re.createElement(Fe,{key:Ln,flattenColumns:He,cells:An,stickyOffsets:me,rowComponent:gn,cellComponent:nn,tdCellComponent:On,onHeaderRow:at,index:Ln});return Yn}))}var zt=ee(Rt),en=te(11592);function hn(ce){var me=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return typeof me=="number"?me:me.endsWith("%")?ce*parseFloat(me)/100:null}function ln(ce,me){return re.useMemo(function(){if(me&&me>0){var we=0,He=0;ce.forEach(function(Yt){var gn=hn(me,Yt.width);gn?we+=gn:He+=1});var at=me-we,lt=He,At=at/He,wt=0,bt=ce.map(function(Yt){var gn=(0,Be.Z)({},Yt),nn=hn(me,gn.width);if(nn)gn.width=nn;else{var On=Math.floor(At);gn.width=lt===1?at:On,at-=On,lt-=1}return wt+=gn.width,gn});return[bt,wt]}return[ce,me]},[ce,me])}var qe=["children"],tt=["fixed"];function Ze(ce){return(0,en.Z)(ce).filter(function(me){return re.isValidElement(me)}).map(function(me){var we=me.key,He=me.props,at=He.children,lt=(0,ut.Z)(He,qe),At=(0,Be.Z)({key:we},lt);return at&&(At.children=Ze(at)),At})}function Ct(ce){var me=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"key";return ce.filter(function(we){return we&&(0,pe.Z)(we)==="object"}).reduce(function(we,He,at){var lt=He.fixed,At=lt===!0?"left":lt,wt="".concat(me,"-").concat(at),bt=He.children;return bt&&bt.length>0?[].concat((0,un.Z)(we),(0,un.Z)(Ct(bt,wt).map(function(Yt){return(0,Be.Z)({fixed:At},Yt)}))):[].concat((0,un.Z)(we),[(0,Be.Z)((0,Be.Z)({key:wt},He),{},{fixed:At})])},[])}function $t(ce){for(var me=!0,we=0;we<ce.length;we+=1){var He=ce[we];if(me&&He.fixed!=="left")me=!1;else if(!me&&He.fixed==="left"){warning(!1,"Index ".concat(we-1," of `columns` missing `fixed='left'` prop."));break}}for(var at=!0,lt=ce.length-1;lt>=0;lt-=1){var At=ce[lt];if(at&&At.fixed!=="right")at=!1;else if(!at&&At.fixed==="right"){warning(!1,"Index ".concat(lt+1," of `columns` missing `fixed='right'` prop."));break}}}function Zt(ce){return ce.map(function(me){var we=me.fixed,He=(0,ut.Z)(me,tt),at=we;return we==="left"?at="right":we==="right"&&(at="left"),(0,Be.Z)({fixed:at},He)})}function xn(ce,me){var we=ce.prefixCls,He=ce.columns,at=ce.children,lt=ce.expandable,At=ce.expandedKeys,wt=ce.columnTitle,bt=ce.getRowKey,Yt=ce.onTriggerExpand,gn=ce.expandIcon,nn=ce.rowExpandable,On=ce.expandIconColumnIndex,An=ce.direction,Ln=ce.expandRowByClick,Yn=ce.columnWidth,Kn=ce.fixed,_n=ce.scrollWidth,Wn=re.useMemo(function(){return He||Ze(at)},[He,at]),aa=re.useMemo(function(){if(lt){var pa,ia=Wn.slice();if(!ia.includes(z)){var ta=On||0;ta>=0&&ia.splice(ta,0,z)}var da=ia.indexOf(z);ia=ia.filter(function(ba,Wa){return ba!==z||Wa===da});var wa=Wn[da],Ga;(Kn==="left"||Kn)&&!On?Ga="left":(Kn==="right"||Kn)&&On===Wn.length?Ga="right":Ga=wa?wa.fixed:null;var Ra=(pa={},(0,de.Z)(pa,Tn,{className:"".concat(we,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),(0,de.Z)(pa,"title",wt),(0,de.Z)(pa,"fixed",Ga),(0,de.Z)(pa,"className","".concat(we,"-row-expand-icon-cell")),(0,de.Z)(pa,"width",Yn),(0,de.Z)(pa,"render",function(Wa,Va,vo){var ao=bt(Va,vo),Ao=At.has(ao),wo=nn?nn(Va):!0,ka=gn({prefixCls:we,expanded:Ao,expandable:wo,record:Va,onExpand:Yt});return Ln?re.createElement("span",{onClick:function(ro){return ro.stopPropagation()}},ka):ka}),pa);return ia.map(function(ba){return ba===z?Ra:ba})}return Wn.filter(function(ba){return ba!==z})},[lt,Wn,bt,At,gn,An]),ya=re.useMemo(function(){var pa=aa;return me&&(pa=me(pa)),pa.length||(pa=[{render:function(){return null}}]),pa},[me,aa,An]),Ea=re.useMemo(function(){return An==="rtl"?Zt(Ct(ya)):Ct(ya)},[ya,An,_n]),fa=ln(Ea,_n),La=(0,Ae.Z)(fa,2),Ma=La[0],ra=La[1];return[ya,Ma,ra]}var Cn=xn;function mn(ce){var me,we=ce.prefixCls,He=ce.record,at=ce.onExpand,lt=ce.expanded,At=ce.expandable,wt="".concat(we,"-row-expand-icon");if(!At)return re.createElement("span",{className:Oe()(wt,"".concat(we,"-row-spaced"))});var bt=function(gn){at(He,gn),gn.stopPropagation()};return re.createElement("span",{className:Oe()(wt,(me={},(0,de.Z)(me,"".concat(we,"-row-expanded"),lt),(0,de.Z)(me,"".concat(we,"-row-collapsed"),!lt),me)),onClick:bt})}function Mn(ce,me,we){var He=[];function at(lt){(lt||[]).forEach(function(At,wt){He.push(me(At,wt)),at(At[we])})}return at(ce),He}function na(ce,me,we){var He=Lt(ce),at=He.expandIcon,lt=He.expandedRowKeys,At=He.defaultExpandedRowKeys,wt=He.defaultExpandAllRows,bt=He.expandedRowRender,Yt=He.onExpand,gn=He.onExpandedRowsChange,nn=He.childrenColumnName,On=at||mn,An=nn||"children",Ln=re.useMemo(function(){return bt?"row":ce.expandable&&ce.internalHooks===ie&&ce.expandable.__PARENT_RENDER_ICON__||me.some(function(Ea){return Ea&&(0,pe.Z)(Ea)==="object"&&Ea[An]})?"nest":!1},[!!bt,me]),Yn=re.useState(function(){return At||(wt?Mn(me,we,An):[])}),Kn=(0,Ae.Z)(Yn,2),_n=Kn[0],Wn=Kn[1],aa=re.useMemo(function(){return new Set(lt||_n||[])},[lt,_n]),ya=re.useCallback(function(Ea){var fa=we(Ea,me.indexOf(Ea)),La,Ma=aa.has(fa);Ma?(aa.delete(fa),La=(0,un.Z)(aa)):La=[].concat((0,un.Z)(aa),[fa]),Wn(La),Yt&&Yt(!Ma,Ea),gn&&gn(La)},[we,aa,me,Yt,gn]);return[He,Ln,aa,On,An,ya]}function sn(ce,me,we,He){var at=ce.map(function(lt,At){return Le(At,At,ce,me,we,He==null?void 0:He[At])});return(0,Ge.Z)(function(){return at},[at],function(lt,At){return!(0,xe.Z)(lt,At)})}function Un(ce){var me=(0,re.useRef)(ce),we=(0,re.useState)({}),He=(0,Ae.Z)(we,2),at=He[1],lt=(0,re.useRef)(null),At=(0,re.useRef)([]);function wt(bt){At.current.push(bt);var Yt=Promise.resolve();lt.current=Yt,Yt.then(function(){if(lt.current===Yt){var gn=At.current,nn=me.current;At.current=[],gn.forEach(function(On){me.current=On(me.current)}),lt.current=null,nn!==me.current&&at({})}})}return(0,re.useEffect)(function(){return function(){lt.current=null}},[]),[me.current,wt]}function oa(ce){var me=(0,re.useRef)(ce||null),we=(0,re.useRef)();function He(){window.clearTimeout(we.current)}function at(At){me.current=At,He(),we.current=window.setTimeout(function(){me.current=null,we.current=void 0},100)}function lt(){return me.current}return(0,re.useEffect)(function(){return He},[]),[at,lt]}function ca(){var ce=re.useState(-1),me=(0,Ae.Z)(ce,2),we=me[0],He=me[1],at=re.useState(-1),lt=(0,Ae.Z)(at,2),At=lt[0],wt=lt[1],bt=re.useCallback(function(Yt,gn){He(Yt),wt(gn)},[]);return[we,At,bt]}var la=te(47273),$e=(0,la.Z)()?window:null;function Ht(ce,me){var we=(0,pe.Z)(ce)==="object"?ce:{},He=we.offsetHeader,at=He===void 0?0:He,lt=we.offsetSummary,At=lt===void 0?0:lt,wt=we.offsetScroll,bt=wt===void 0?0:wt,Yt=we.getContainer,gn=Yt===void 0?function(){return $e}:Yt,nn=gn()||$e;return re.useMemo(function(){var On=!!ce;return{isSticky:On,stickyClassName:On?"".concat(me,"-sticky-holder"):"",offsetHeader:at,offsetSummary:At,offsetScroll:bt,container:nn}},[bt,at,At,me,nn])}function yt(ce,me,we){var He=(0,re.useMemo)(function(){for(var at=[],lt=[],At=0,wt=0,bt=0;bt<me;bt+=1)if(we==="rtl"){lt[bt]=wt,wt+=ce[bt]||0;var Yt=me-bt-1;at[Yt]=At,At+=ce[Yt]||0}else{at[bt]=At,At+=ce[bt]||0;var gn=me-bt-1;lt[gn]=wt,wt+=ce[gn]||0}return{left:at,right:lt}},[ce,me,we]);return He}var qt=yt;function dn(ce){var me=ce.className,we=ce.children;return re.createElement("div",{className:me},we)}var Sn=dn,Qe=te(8224),Ye=te(55468),Bt=function(me,we){var He,at,lt=me.scrollBodyRef,At=me.onScroll,wt=me.offsetScroll,bt=me.container,Yt=ze(le,"prefixCls"),gn=((He=lt.current)===null||He===void 0?void 0:He.scrollWidth)||0,nn=((at=lt.current)===null||at===void 0?void 0:at.clientWidth)||0,On=gn&&nn*(nn/gn),An=re.useRef(),Ln=Un({scrollLeft:0,isHiddenScrollBar:!1}),Yn=(0,Ae.Z)(Ln,2),Kn=Yn[0],_n=Yn[1],Wn=re.useRef({delta:0,x:0}),aa=re.useState(!1),ya=(0,Ae.Z)(aa,2),Ea=ya[0],fa=ya[1],La=function(){fa(!1)},Ma=function(da){da.persist(),Wn.current.delta=da.pageX-Kn.scrollLeft,Wn.current.x=0,fa(!0),da.preventDefault()},ra=function(da){var wa,Ga=da||((wa=window)===null||wa===void 0?void 0:wa.event),Ra=Ga.buttons;if(!Ea||Ra===0){Ea&&fa(!1);return}var ba=Wn.current.x+da.pageX-Wn.current.x-Wn.current.delta;ba<=0&&(ba=0),ba+On>=nn&&(ba=nn-On),At({scrollLeft:ba/nn*(gn+2)}),Wn.current.x=da.pageX},pa=function(){if(lt.current){var da=(0,Ye.os)(lt.current).top,wa=da+lt.current.offsetHeight,Ga=bt===window?document.documentElement.scrollTop+window.innerHeight:(0,Ye.os)(bt).top+bt.clientHeight;wa-(0,nt.Z)()<=Ga||da>=Ga-wt?_n(function(Ra){return(0,Be.Z)((0,Be.Z)({},Ra),{},{isHiddenScrollBar:!0})}):_n(function(Ra){return(0,Be.Z)((0,Be.Z)({},Ra),{},{isHiddenScrollBar:!1})})}},ia=function(da){_n(function(wa){return(0,Be.Z)((0,Be.Z)({},wa),{},{scrollLeft:da/gn*nn||0})})};return re.useImperativeHandle(we,function(){return{setScrollLeft:ia}}),re.useEffect(function(){var ta=(0,Qe.Z)(document.body,"mouseup",La,!1),da=(0,Qe.Z)(document.body,"mousemove",ra,!1);return pa(),function(){ta.remove(),da.remove()}},[On,Ea]),re.useEffect(function(){var ta=(0,Qe.Z)(bt,"scroll",pa,!1),da=(0,Qe.Z)(window,"resize",pa,!1);return function(){ta.remove(),da.remove()}},[bt]),re.useEffect(function(){Kn.isHiddenScrollBar||_n(function(ta){var da=lt.current;return da?(0,Be.Z)((0,Be.Z)({},ta),{},{scrollLeft:da.scrollLeft/da.scrollWidth*da.clientWidth}):ta})},[Kn.isHiddenScrollBar]),gn<=nn||!On||Kn.isHiddenScrollBar?null:re.createElement("div",{style:{height:(0,nt.Z)(),width:nn,bottom:wt},className:"".concat(Yt,"-sticky-scroll")},re.createElement("div",{onMouseDown:Ma,ref:An,className:Oe()("".concat(Yt,"-sticky-scroll-bar"),(0,de.Z)({},"".concat(Yt,"-sticky-scroll-bar-active"),Ea)),style:{width:"".concat(On,"px"),transform:"translate3d(".concat(Kn.scrollLeft,"px, 0, 0)")}}))},cn=re.forwardRef(Bt);function vt(ce){return null}var kn=vt;function Nn(ce){return null}var Xn=Nn,Vn="rc-table",pn=[],En={};function wn(){return"No Data"}function Fn(ce){var me,we=(0,Be.Z)({rowKey:"key",prefixCls:Vn,emptyText:wn},ce),He=we.prefixCls,at=we.className,lt=we.rowClassName,At=we.style,wt=we.data,bt=we.rowKey,Yt=we.scroll,gn=we.tableLayout,nn=we.direction,On=we.title,An=we.footer,Ln=we.summary,Yn=we.caption,Kn=we.id,_n=we.showHeader,Wn=we.components,aa=we.emptyText,ya=we.onRow,Ea=we.onHeaderRow,fa=we.internalHooks,La=we.transformColumns,Ma=we.internalRefs,ra=we.tailor,pa=we.sticky,ia=wt||pn,ta=!!ia.length,da=fa===ie,wa=re.useCallback(function(co,Co){return(0,Pe.Z)(Wn,co)||Co},[Wn]),Ga=re.useMemo(function(){return typeof bt=="function"?bt:function(co){var Co=co&&co[bt];return Co}},[bt]),Ra=wa(["body"]),ba=ca(),Wa=(0,Ae.Z)(ba,3),Va=Wa[0],vo=Wa[1],ao=Wa[2],Ao=na(we,ia,Ga),wo=(0,Ae.Z)(Ao,6),ka=wo[0],Lo=wo[1],ro=wo[2],Eo=wo[3],yo=wo[4],Qo=wo[5],Ba=Yt==null?void 0:Yt.x,Fa=re.useState(0),xa=(0,Ae.Z)(Fa,2),Sa=xa[0],io=xa[1],Pa=Cn((0,Be.Z)((0,Be.Z)((0,Be.Z)({},we),ka),{},{expandable:!!ka.expandedRowRender,columnTitle:ka.columnTitle,expandedKeys:ro,getRowKey:Ga,onTriggerExpand:Qo,expandIcon:Eo,expandIconColumnIndex:ka.expandIconColumnIndex,direction:nn,scrollWidth:da&&ra&&typeof Ba=="number"?Ba:null}),da?La:null),Da=(0,Ae.Z)(Pa,3),eo=Da[0],Ya=Da[1],Go=Da[2],Zo=Go!=null?Go:Ba,lr=re.useMemo(function(){return{columns:eo,flattenColumns:Ya}},[eo,Ya]),Oo=re.useRef(),ar=re.useRef(),No=re.useRef(),Xo=re.useRef(),br=re.useRef(),so=re.useState(!1),uo=(0,Ae.Z)(so,2),bo=uo[0],Io=uo[1],To=re.useState(!1),Ja=(0,Ae.Z)(To,2),Uo=Ja[0],Ko=Ja[1],er=Un(new Map),gr=(0,Ae.Z)(er,2),sr=gr[0],Lr=gr[1],hr=_e(Ya),or=hr.map(function(co){return sr.get(co)}),$o=re.useMemo(function(){return or},[or.join("_")]),Vo=qt($o,Ya.length,nn),Ro=Yt&&Tt(Yt.y),xo=Yt&&Tt(Zo)||!!ka.fixed,mr=xo&&Ya.some(function(co){var Co=co.fixed;return Co}),xr=re.useRef(),yr=Ht(pa,He),fr=yr.isSticky,Ir=yr.offsetHeader,Ur=yr.offsetSummary,to=yr.offsetScroll,ho=yr.stickyClassName,Ho=yr.container,Fo=re.useMemo(function(){return Ln==null?void 0:Ln(ia)},[Ln,ia]),Wo=(Ro||fr)&&re.isValidElement(Fo)&&Fo.type===se&&Fo.props.fixed,Yo,_o,Sr;Ro&&(_o={overflowY:"scroll",maxHeight:Yt.y}),xo&&(Yo={overflowX:"auto"},Ro||(_o={overflowY:"hidden"}),Sr={width:Zo===!0?"auto":Zo,minWidth:"100%"});var vi=re.useCallback(function(co,Co){(0,Ne.Z)(Oo.current)&&Lr(function(rr){if(rr.get(co)!==Co){var Er=new Map(rr);return Er.set(co,Co),Er}return rr})},[]),wl=oa(null),hi=(0,Ae.Z)(wl,2),Ll=hi[0],Si=hi[1];function Tr(co,Co){Co&&(typeof Co=="function"?Co(co):Co.scrollLeft!==co&&(Co.scrollLeft=co,Co.scrollLeft!==co&&setTimeout(function(){Co.scrollLeft=co},0)))}var Ar=(0,je.Z)(function(co){var Co=co.currentTarget,rr=co.scrollLeft,Er=nn==="rtl",Cr=typeof rr=="number"?rr:Co.scrollLeft,Ii=Co||En;if(!Si()||Si()===Ii){var $r;Ll(Ii),Tr(Cr,ar.current),Tr(Cr,No.current),Tr(Cr,br.current),Tr(Cr,($r=xr.current)===null||$r===void 0?void 0:$r.setScrollLeft)}var Yr=Co||ar.current;if(Yr){var _r=Yr.scrollWidth,qr=Yr.clientWidth;if(_r===qr){Io(!1),Ko(!1);return}Er?(Io(-Cr<_r-qr),Ko(-Cr>0)):(Io(Cr>0),Ko(Cr<_r-qr))}}),Pi=function(){xo&&No.current?Ar({currentTarget:No.current}):(Io(!1),Ko(!1))},Ol=function(Co){var rr=Co.width;rr!==Sa&&(Pi(),io(Oo.current?Oo.current.offsetWidth:rr))},yi=re.useRef(!1);re.useEffect(function(){yi.current&&Pi()},[xo,wt,eo.length]),re.useEffect(function(){yi.current=!0},[]);var Nl=re.useState(0),Ei=(0,Ae.Z)(Nl,2),Rr=Ei[0],Ci=Ei[1],Dl=re.useState(!0),bi=(0,Ae.Z)(Dl,2),xi=bi[0],Il=bi[1];re.useEffect(function(){(!ra||!da)&&(No.current instanceof Element?Ci((0,nt.o)(No.current).width):Ci((0,nt.o)(Xo.current).width)),Il((0,ye.G)("position","sticky"))},[]),re.useEffect(function(){da&&Ma&&(Ma.body.current=No.current)});var Tl=re.useCallback(function(co){return re.createElement(re.Fragment,null,re.createElement(zt,co),Wo==="top"&&re.createElement(dt,co,Fo))},[Wo,Fo]),Rl=re.useCallback(function(co){return re.createElement(dt,co,Fo)},[Fo]),Fi=wa(["table"],"table"),Mr=re.useMemo(function(){return gn||(mr?Zo==="max-content"?"auto":"fixed":Ro||fr||Ya.some(function(co){var Co=co.ellipsis;return Co})?"fixed":"auto")},[Ro,mr,Ya,gn,fr]),Vr,Jr={colWidths:$o,columCount:Ya.length,stickyOffsets:Vo,onHeaderRow:Ea,fixHeader:Ro,scroll:Yt},Bi=re.useMemo(function(){return ta?null:typeof aa=="function"?aa():aa},[ta,aa]),Ai=re.createElement(Qt,{data:ia,measureColumnWidth:Ro||xo||fr}),wi=re.createElement(fn,{colWidths:Ya.map(function(co){var Co=co.width;return Co}),columns:Ya}),Li=Yn!=null?re.createElement("caption",{className:"".concat(He,"-caption")},Yn):void 0,Ml=(0,_t.Z)(we,{data:!0}),Oi=(0,_t.Z)(we,{aria:!0});if(Ro||fr){var Qr;typeof Ra=="function"?(Qr=Ra(ia,{scrollbarSize:Rr,ref:No,onScroll:Ar}),Jr.colWidths=Ya.map(function(co,Co){var rr=co.width,Er=Co===Ya.length-1?rr-Rr:rr;return typeof Er=="number"&&!Number.isNaN(Er)?Er:0})):Qr=re.createElement("div",{style:(0,Be.Z)((0,Be.Z)({},Yo),_o),onScroll:Ar,ref:No,className:Oe()("".concat(He,"-body"))},re.createElement(Fi,(0,Xe.Z)({style:(0,Be.Z)((0,Be.Z)({},Sr),{},{tableLayout:Mr})},Oi),Li,wi,Ai,!Wo&&Fo&&re.createElement(dt,{stickyOffsets:Vo,flattenColumns:Ya,columns:eo},Fo)));var Ni=(0,Be.Z)((0,Be.Z)((0,Be.Z)({noData:!ia.length,maxContentScroll:xo&&Zo==="max-content"},Jr),lr),{},{direction:nn,stickyClassName:ho,onScroll:Ar});Vr=re.createElement(re.Fragment,null,_n!==!1&&re.createElement(an,(0,Xe.Z)({},Ni,{stickyTopOffset:Ir,className:"".concat(He,"-header"),ref:ar}),Tl),Qr,Wo&&Wo!=="top"&&re.createElement(an,(0,Xe.Z)({},Ni,{stickyBottomOffset:Ur,className:"".concat(He,"-summary"),ref:br}),Rl),fr&&re.createElement(cn,{ref:xr,offsetScroll:to,scrollBodyRef:No,onScroll:Ar,container:Ho}))}else Vr=re.createElement("div",{style:(0,Be.Z)((0,Be.Z)({},Yo),_o),className:Oe()("".concat(He,"-content")),onScroll:Ar,ref:No},re.createElement(Fi,(0,Xe.Z)({style:(0,Be.Z)((0,Be.Z)({},Sr),{},{tableLayout:Mr})},Oi),Li,wi,_n!==!1&&re.createElement(zt,(0,Xe.Z)({},Jr,lr)),Ai,Fo&&re.createElement(dt,{stickyOffsets:Vo,flattenColumns:Ya,columns:eo},Fo)));var Xr=re.createElement("div",(0,Xe.Z)({className:Oe()(He,at,(me={},(0,de.Z)(me,"".concat(He,"-rtl"),nn==="rtl"),(0,de.Z)(me,"".concat(He,"-ping-left"),bo),(0,de.Z)(me,"".concat(He,"-ping-right"),Uo),(0,de.Z)(me,"".concat(He,"-layout-fixed"),gn==="fixed"),(0,de.Z)(me,"".concat(He,"-fixed-header"),Ro),(0,de.Z)(me,"".concat(He,"-fixed-column"),mr),(0,de.Z)(me,"".concat(He,"-scroll-horizontal"),xo),(0,de.Z)(me,"".concat(He,"-has-fix-left"),Ya[0]&&Ya[0].fixed),(0,de.Z)(me,"".concat(He,"-has-fix-right"),Ya[Ya.length-1]&&Ya[Ya.length-1].fixed==="right"),me)),style:At,id:Kn,ref:Oo},Ml),On&&re.createElement(Sn,{className:"".concat(He,"-title")},On(ia)),re.createElement("div",{ref:Xo,className:"".concat(He,"-container")},Vr),An&&re.createElement(Sn,{className:"".concat(He,"-footer")},An(ia)));xo&&(Xr=re.createElement(Je.Z,{onResize:Ol},Xr));var Di=sn(Ya,Vo,nn,eo),kl=re.useMemo(function(){return{scrollX:Zo,prefixCls:He,getComponent:wa,scrollbarSize:Rr,direction:nn,fixedInfoList:Di,isSticky:fr,supportSticky:xi,componentWidth:Sa,fixHeader:Ro,fixColumn:mr,horizonScroll:xo,tableLayout:Mr,rowClassName:lt,expandedRowClassName:ka.expandedRowClassName,expandIcon:Eo,expandableType:Lo,expandRowByClick:ka.expandRowByClick,expandedRowRender:ka.expandedRowRender,onTriggerExpand:Qo,expandIconColumnIndex:ka.expandIconColumnIndex,indentSize:ka.indentSize,allColumnsFixedLeft:Ya.every(function(co){return co.fixed==="left"}),emptyNode:Bi,columns:eo,flattenColumns:Ya,onColumnResize:vi,hoverStartRow:Va,hoverEndRow:vo,onHover:ao,rowExpandable:ka.rowExpandable,onRow:ya,getRowKey:Ga,expandedKeys:ro,childrenColumnName:yo}},[Zo,He,wa,Rr,nn,Di,fr,xi,Sa,Ro,mr,xo,Mr,lt,ka.expandedRowClassName,Eo,Lo,ka.expandRowByClick,ka.expandedRowRender,Qo,ka.expandIconColumnIndex,ka.indentSize,Bi,eo,Ya,vi,Va,vo,ao,ka.rowExpandable,ya,Ga,ro,yo]);return re.createElement(le.Provider,{value:kl},Xr)}function ea(ce){return x(Fn,ce)}var ga=ea();ga.EXPAND_COLUMN=z,ga.INTERNAL_HOOKS=ie,ga.Column=kn,ga.ColumnGroup=Xn,ga.Summary=Se;var Jn=ga,Qn=te(6790),va=Ke(null),Oa=Ke(null);function _a(ce,me,we){var He=me||1;return we[ce+He]-(we[ce]||0)}function fo(ce){var me=ce.rowInfo,we=ce.column,He=ce.colIndex,at=ce.indent,lt=ce.index,At=ce.renderIndex,wt=ce.record,bt=ce.style,Yt=ce.className,gn=ce.inverse,nn=ce.getHeight,On=we.render,An=we.dataIndex,Ln=we.className,Yn=we.width,Kn=ze(Oa,["columnsOffset"]),_n=Kn.columnsOffset,Wn=st(me,we,He,at,lt),aa=Wn.key,ya=Wn.fixedInfo,Ea=Wn.appendCellNode,fa=Wn.additionalCellProps,La=fa.style,Ma=fa.colSpan,ra=Ma===void 0?1:Ma,pa=fa.rowSpan,ia=pa===void 0?1:pa,ta=He-1,da=_a(ta,ra,_n),wa=ra>1?Yn-da:0,Ga=(0,Be.Z)((0,Be.Z)((0,Be.Z)({},La),bt),{},{flex:"0 0 ".concat(da,"px"),width:"".concat(da,"px"),marginRight:wa,pointerEvents:"auto"}),Ra=re.useMemo(function(){return gn?ia<=1:ra===0||ia===0||ia>1},[ia,ra,gn]);Ra?Ga.visibility="hidden":gn&&(Ga.height=nn==null?void 0:nn(ia));var ba=Ra?function(){return null}:On,Wa={};return(ia===0||ra===0)&&(Wa.rowSpan=1,Wa.colSpan=1),re.createElement(jt,(0,Xe.Z)({className:Oe()(Ln,Yt),ellipsis:we.ellipsis,align:we.align,scope:we.rowScope,component:"div",prefixCls:me.prefixCls,key:aa,record:wt,index:lt,renderIndex:At,dataIndex:An,render:ba,shouldCellUpdate:we.shouldCellUpdate},ya,{appendNode:Ea,additionalProps:(0,Be.Z)((0,Be.Z)({},fa),{},{style:Ga},Wa)}))}var Za=fo,Ia=["data","index","className","rowKey","style","extra","getHeight"],Ka=re.forwardRef(function(ce,me){var we=ce.data,He=ce.index,at=ce.className,lt=ce.rowKey,At=ce.style,wt=ce.extra,bt=ce.getHeight,Yt=(0,ut.Z)(ce,Ia),gn=we.record,nn=we.indent,On=we.index,An=ze(le,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),Ln=An.scrollX,Yn=An.flattenColumns,Kn=An.prefixCls,_n=An.fixColumn,Wn=An.componentWidth,aa=be(gn,lt,He,nn),ya=aa.rowSupportExpand,Ea=aa.expanded,fa=aa.rowProps,La=aa.expandedRowRender,Ma=aa.expandedRowClassName,ra;if(ya&&Ea){var pa=La(gn,He,nn+1,Ea),ia=Ma==null?void 0:Ma(gn,He,nn),ta={};_n&&(ta={style:(0,de.Z)({},"--virtual-width","".concat(Wn,"px"))});var da="".concat(Kn,"-expanded-row-cell");ra=re.createElement("div",{className:Oe()("".concat(Kn,"-expanded-row"),"".concat(Kn,"-expanded-row-level-").concat(nn+1),ia)},re.createElement(jt,{component:"div",prefixCls:Kn,className:Oe()(da,(0,de.Z)({},"".concat(da,"-fixed"),_n)),additionalProps:ta},pa))}var wa=(0,Be.Z)((0,Be.Z)({},At),{},{width:Ln});wt&&(wa.position="absolute",wa.pointerEvents="none");var Ga=re.createElement("div",(0,Xe.Z)({},fa,Yt,{ref:ya?null:me,className:Oe()(at,"".concat(Kn,"-row"),fa==null?void 0:fa.className,(0,de.Z)({},"".concat(Kn,"-row-extra"),wt)),style:(0,Be.Z)((0,Be.Z)({},wa),fa==null?void 0:fa.style)}),Yn.map(function(Ra,ba){return re.createElement(Za,{key:ba,rowInfo:aa,column:Ra,colIndex:ba,indent:nn,index:He,renderIndex:On,record:gn,inverse:wt,getHeight:bt})}));return ya?re.createElement("div",{ref:me},Ga,ra):Ga}),Ha=ee(Ka),ja=Ha,sa=re.forwardRef(function(ce,me){var we=ce.data,He=ce.onScroll,at=ze(le,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","emptyNode","scrollX"]),lt=at.flattenColumns,At=at.onColumnResize,wt=at.getRowKey,bt=at.expandedKeys,Yt=at.prefixCls,gn=at.childrenColumnName,nn=at.emptyNode,On=at.scrollX,An=ze(va),Ln=An.scrollY,Yn=An.listItemHeight,Kn=re.useRef(),_n=Gt(we,gn,bt,wt),Wn=re.useMemo(function(){var ra=0;return lt.map(function(pa){var ia=pa.width,ta=pa.key;return ra+=ia,[ta,ia,ra]})},[lt]),aa=re.useMemo(function(){return Wn.map(function(ra){return ra[2]})},[Wn]);re.useEffect(function(){Wn.forEach(function(ra){var pa=(0,Ae.Z)(ra,2),ia=pa[0],ta=pa[1];At(ia,ta)})},[Wn]),re.useImperativeHandle(me,function(){var ra={};return Object.defineProperty(ra,"scrollLeft",{get:function(){var ia;return((ia=Kn.current)===null||ia===void 0?void 0:ia.getScrollInfo().x)||0},set:function(ia){var ta;(ta=Kn.current)===null||ta===void 0||ta.scrollTo({left:ia})}}),ra});var ya=function(pa,ia){var ta,da=(ta=_n[ia])===null||ta===void 0?void 0:ta.record,wa=pa.onCell;if(wa){var Ga,Ra=wa(da,ia);return(Ga=Ra==null?void 0:Ra.rowSpan)!==null&&Ga!==void 0?Ga:1}return 1},Ea=function(pa){var ia=pa.start,ta=pa.end,da=pa.getSize,wa=pa.offsetY;if(ta<0)return null;for(var Ga=lt.filter(function(Ba){return ya(Ba,ia)===0}),Ra=ia,ba=function(Fa){if(Ga=Ga.filter(function(xa){return ya(xa,Fa)===0}),!Ga.length)return Ra=Fa,"break"},Wa=ia;Wa>=0;Wa-=1){var Va=ba(Wa);if(Va==="break")break}for(var vo=lt.filter(function(Ba){return ya(Ba,ta)!==1}),ao=ta,Ao=function(Fa){if(vo=vo.filter(function(xa){return ya(xa,Fa)!==1}),!vo.length)return ao=Math.max(Fa-1,ta),"break"},wo=ta;wo<_n.length;wo+=1){var ka=Ao(wo);if(ka==="break")break}for(var Lo=[],ro=function(Fa){var xa=_n[Fa];if(!xa)return"continue";lt.some(function(Sa){return ya(Sa,Fa)>1})&&Lo.push(Fa)},Eo=Ra;Eo<=ao;Eo+=1)var yo=ro(Eo);var Qo=Lo.map(function(Ba){var Fa=_n[Ba],xa=wt(Fa.record,Ba),Sa=function(Da){var eo=Ba+Da-1,Ya=wt(_n[eo].record,eo),Go=da(xa,Ya);return Go.bottom-Go.top},io=da(xa);return re.createElement(ja,{key:Ba,data:Fa,rowKey:xa,index:Ba,style:{top:-wa+io.top},extra:!0,getHeight:Sa})});return Qo},fa=re.useMemo(function(){return{columnsOffset:aa}},[aa]),La="".concat(Yt,"-tbody"),Ma;return _n.length?Ma=re.createElement(Qn.Z,{fullHeight:!1,ref:Kn,className:Oe()(La,"".concat(La,"-virtual")),height:Ln,itemHeight:Yn||24,data:_n,itemKey:function(pa){return wt(pa.record)},scrollWidth:On,onVirtualScroll:function(pa){var ia=pa.x;He({scrollLeft:ia})},extraRender:Ea},function(ra,pa,ia){var ta=wt(ra.record,pa);return re.createElement(ja,(0,Xe.Z)({data:ra,rowKey:ta,index:pa},ia))}):Ma=re.createElement("div",{className:Oe()("".concat(Yt,"-placeholder"))},re.createElement(jt,{component:"div",prefixCls:Yt},nn)),re.createElement(Oa.Provider,{value:fa},Ma)}),Ca=ee(sa),Qa=Ca,Xa=function(me,we){var He=we.ref,at=we.onScroll;return re.createElement(Qa,{ref:He,data:me,onScroll:at})},za=100;function no(ce){var me=ce.columns,we=ce.scroll,He=ce.prefixCls,at=He===void 0?Vn:He,lt=ce.className,At=ce.listItemHeight,wt=we||{},bt=wt.x,Yt=wt.y;typeof bt!="number"&&(bt=((me||[]).length+1)*za),typeof Yt!="number"&&(Yt=500);var gn=re.useMemo(function(){return{scrollY:Yt,listItemHeight:At}},[Yt,At]);return re.createElement(va.Provider,{value:gn},re.createElement(Jn,(0,Xe.Z)({},ce,{className:Oe()(lt,"".concat(at,"-virtual")),scroll:(0,Be.Z)((0,Be.Z)({},we),{},{x:bt}),components:{body:Xa},columns:me,internalHooks:ie,tailor:!0})))}function lo(ce){return x(no,ce)}var ha=lo(),Ua=null;function Ta(ce){return null}var oo=Ta;function So(ce){return null}var Do=So,Jo=te(2738),zo=te(68031),mo=te(36355),po=te(93891),Bo=te(19716),tr=te(8628),jo=te(31724),qo=te(58421),ma=te(71418),jn=te(88088);function zn(ce){return function(we){let{prefixCls:He,onExpand:at,record:lt,expanded:At,expandable:wt}=we;const bt=`${He}-row-expand-icon`;return re.createElement("button",{type:"button",onClick:Yt=>{at(lt,Yt),Yt.stopPropagation()},className:Oe()(bt,{[`${bt}-spaced`]:!wt,[`${bt}-expanded`]:wt&&At,[`${bt}-collapsed`]:wt&&!At}),"aria-label":At?ce.collapse:ce.expand,"aria-expanded":At})}}var $n=zn;function Aa(ce,me){return"key"in ce&&ce.key!==void 0&&ce.key!==null?ce.key:ce.dataIndex?Array.isArray(ce.dataIndex)?ce.dataIndex.join("."):ce.dataIndex:me}function fe(ce,me){return me?`${me}-${ce}`:`${ce}`}function kt(ce,me){return typeof ce=="function"?ce(me):ce}function tn(ce,me){const we=kt(ce,me);return Object.prototype.toString.call(we)==="[object Object]"?"":we}var Bn={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"},Dt=Bn,In=te(7657),Dn=function(me,we){return re.createElement(In.Z,(0,Xe.Z)({},me,{ref:we,icon:Dt}))},rn=re.forwardRef(Dn),yn=rn,qn=te(56762);function Rn(ce){const me=re.useRef(ce),we=(0,qn.Z)();return[()=>me.current,He=>{me.current=He,we()}]}var Zn=te(3113),Gn=te(24905),ua=te(38854),Na=te(64165),$a=te(20834),qa=te(40875),Po=te(5112),Mo=te(17574),ko=te(47472),ur=te(92832);function dr(ce){let{value:me,onChange:we,filterSearch:He,tablePrefixCls:at,locale:lt}=ce;return He?re.createElement("div",{className:`${at}-filter-dropdown-search`},re.createElement(ur.default,{prefix:re.createElement(ko.Z,null),placeholder:lt.filterSearchPlaceholder,onChange:we,value:me,htmlSize:1,className:`${at}-filter-dropdown-search-input`})):null}var nr=dr,pr=te(10228);const Fr=ce=>{const{keyCode:me}=ce;me===pr.Z.ENTER&&ce.stopPropagation()};var cr=re.forwardRef((ce,me)=>re.createElement("div",{className:ce.className,onClick:we=>we.stopPropagation(),onKeyDown:Fr,ref:me},ce.children));function Br(ce){let me=[];return(ce||[]).forEach(we=>{let{value:He,children:at}=we;me.push(He),at&&(me=[].concat((0,un.Z)(me),(0,un.Z)(Br(at))))}),me}function Ti(ce){return ce.some(me=>{let{children:we}=me;return we})}function ei(ce,me){return typeof me=="string"||typeof me=="number"?me==null?void 0:me.toString().toLowerCase().includes(ce.trim().toLowerCase()):!1}function ti(ce){let{filters:me,prefixCls:we,filteredKeys:He,filterMultiple:at,searchValue:lt,filterSearch:At}=ce;return me.map((wt,bt)=>{const Yt=String(wt.value);if(wt.children)return{key:Yt||bt,label:wt.text,popupClassName:`${we}-dropdown-submenu`,children:ti({filters:wt.children,prefixCls:we,filteredKeys:He,filterMultiple:at,searchValue:lt,filterSearch:At})};const gn=at?Gn.default:Po.ZP,nn={key:wt.value!==void 0?Yt:bt,label:re.createElement(re.Fragment,null,re.createElement(gn,{checked:He.includes(Yt)}),re.createElement("span",null,wt.text))};return lt.trim()?typeof At=="function"?At(lt,wt)?nn:null:ei(lt,wt.text)?nn:null:nn})}function Ri(ce){var me,we;const{tablePrefixCls:He,prefixCls:at,column:lt,dropdownPrefixCls:At,columnKey:wt,filterMultiple:bt,filterMode:Yt="menu",filterSearch:gn=!1,filterState:nn,triggerFilter:On,locale:An,children:Ln,getPopupContainer:Yn}=ce,{filterDropdownOpen:Kn,onFilterDropdownOpenChange:_n,filterResetToDefaultFilteredValue:Wn,defaultFilteredValue:aa,filterDropdownVisible:ya,onFilterDropdownVisibleChange:Ea}=lt,[fa,La]=re.useState(!1),Ma=!!(nn&&(!((me=nn.filteredKeys)===null||me===void 0)&&me.length||nn.forceFiltered)),ra=Pa=>{La(Pa),_n==null||_n(Pa),Ea==null||Ea(Pa)},pa=(we=Kn!=null?Kn:ya)!==null&&we!==void 0?we:fa,ia=nn==null?void 0:nn.filteredKeys,[ta,da]=Rn(ia||[]),wa=Pa=>{let{selectedKeys:Da}=Pa;da(Da)},Ga=(Pa,Da)=>{let{node:eo,checked:Ya}=Da;wa(bt?{selectedKeys:Pa}:{selectedKeys:Ya&&eo.key?[eo.key]:[]})};re.useEffect(()=>{fa&&wa({selectedKeys:ia||[]})},[ia]);const[Ra,ba]=re.useState([]),Wa=Pa=>{ba(Pa)},[Va,vo]=re.useState(""),ao=Pa=>{const{value:Da}=Pa.target;vo(Da)};re.useEffect(()=>{fa||vo("")},[fa]);const Ao=Pa=>{const Da=Pa&&Pa.length?Pa:null;if(Da===null&&(!nn||!nn.filteredKeys)||(0,xe.Z)(Da,nn==null?void 0:nn.filteredKeys,!0))return null;On({column:lt,key:wt,filteredKeys:Da})},wo=()=>{ra(!1),Ao(ta())},ka=function(){let{confirm:Pa,closeDropdown:Da}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{confirm:!1,closeDropdown:!1};Pa&&Ao([]),Da&&ra(!1),vo(""),da(Wn?(aa||[]).map(eo=>String(eo)):[])},Lo=function(){let{closeDropdown:Pa}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{closeDropdown:!0};Pa&&ra(!1),Ao(ta())},ro=Pa=>{Pa&&ia!==void 0&&da(ia||[]),ra(Pa),!Pa&&!lt.filterDropdown&&wo()},Eo=Oe()({[`${At}-menu-without-submenu`]:!Ti(lt.filters||[])}),yo=Pa=>{if(Pa.target.checked){const Da=Br(lt==null?void 0:lt.filters).map(eo=>String(eo));da(Da)}else da([])},Qo=Pa=>{let{filters:Da}=Pa;return(Da||[]).map((eo,Ya)=>{const Go=String(eo.value),Zo={title:eo.text,key:eo.value!==void 0?Go:Ya};return eo.children&&(Zo.children=Qo({filters:eo.children})),Zo})},Ba=Pa=>{var Da;return Object.assign(Object.assign({},Pa),{text:Pa.title,value:Pa.key,children:((Da=Pa.children)===null||Da===void 0?void 0:Da.map(eo=>Ba(eo)))||[]})};let Fa;if(typeof lt.filterDropdown=="function")Fa=lt.filterDropdown({prefixCls:`${At}-custom`,setSelectedKeys:Pa=>wa({selectedKeys:Pa}),selectedKeys:ta(),confirm:Lo,clearFilters:ka,filters:lt.filters,visible:pa,close:()=>{ra(!1)}});else if(lt.filterDropdown)Fa=lt.filterDropdown;else{const Pa=ta()||[],Da=()=>(lt.filters||[]).length===0?re.createElement(Na.Z,{image:Na.Z.PRESENTED_IMAGE_SIMPLE,description:An.filterEmptyText,imageStyle:{height:24},style:{margin:0,padding:"16px 0"}}):Yt==="tree"?re.createElement(re.Fragment,null,re.createElement(nr,{filterSearch:gn,value:Va,onChange:ao,tablePrefixCls:He,locale:An}),re.createElement("div",{className:`${He}-filter-dropdown-tree`},bt?re.createElement(Gn.default,{checked:Pa.length===Br(lt.filters).length,indeterminate:Pa.length>0&&Pa.length<Br(lt.filters).length,className:`${He}-filter-dropdown-checkall`,onChange:yo},An.filterCheckall):null,re.createElement(Mo.default,{checkable:!0,selectable:!1,blockNode:!0,multiple:bt,checkStrictly:!bt,className:`${At}-menu`,onCheck:Ga,checkedKeys:Pa,selectedKeys:Pa,showIcon:!1,treeData:Qo({filters:lt.filters}),autoExpandParent:!0,defaultExpandAll:!0,filterTreeNode:Va.trim()?Ya=>typeof gn=="function"?gn(Va,Ba(Ya)):ei(Va,Ya.title):void 0}))):re.createElement(re.Fragment,null,re.createElement(nr,{filterSearch:gn,value:Va,onChange:ao,tablePrefixCls:He,locale:An}),re.createElement($a.default,{selectable:!0,multiple:bt,prefixCls:`${At}-menu`,className:Eo,onSelect:wa,onDeselect:wa,selectedKeys:Pa,getPopupContainer:Yn,openKeys:Ra,onOpenChange:Wa,items:ti({filters:lt.filters||[],filterSearch:gn,prefixCls:at,filteredKeys:ta(),filterMultiple:bt,searchValue:Va})})),eo=()=>Wn?(0,xe.Z)((aa||[]).map(Ya=>String(Ya)),Pa,!0):Pa.length===0;Fa=re.createElement(re.Fragment,null,Da(),re.createElement("div",{className:`${at}-dropdown-btns`},re.createElement(Zn.ZP,{type:"link",size:"small",disabled:eo(),onClick:()=>ka()},An.filterReset),re.createElement(Zn.ZP,{type:"primary",size:"small",onClick:wo},An.filterConfirm)))}lt.filterDropdown&&(Fa=re.createElement(qa.J,{selectable:void 0},Fa));const xa=()=>re.createElement(cr,{className:`${at}-dropdown`},Fa);let Sa;typeof lt.filterIcon=="function"?Sa=lt.filterIcon(Ma):lt.filterIcon?Sa=lt.filterIcon:Sa=re.createElement(yn,null);const{direction:io}=re.useContext(mo.E_);return re.createElement("div",{className:`${at}-column`},re.createElement("span",{className:`${He}-column-title`},Ln),re.createElement(ua.Z,{dropdownRender:xa,trigger:["click"],open:pa,onOpenChange:ro,getPopupContainer:Yn,placement:io==="rtl"?"bottomLeft":"bottomRight"},re.createElement("span",{role:"button",tabIndex:-1,className:Oe()(`${at}-trigger`,{active:Ma}),onClick:Pa=>{Pa.stopPropagation()}},Sa)))}var Mi=Ri;function kr(ce,me,we){let He=[];return(ce||[]).forEach((at,lt)=>{var At;const wt=fe(lt,we);if(at.filters||"filterDropdown"in at||"onFilter"in at)if("filteredValue"in at){let bt=at.filteredValue;"filterDropdown"in at||(bt=(At=bt==null?void 0:bt.map(String))!==null&&At!==void 0?At:bt),He.push({column:at,key:Aa(at,wt),filteredKeys:bt,forceFiltered:at.filtered})}else He.push({column:at,key:Aa(at,wt),filteredKeys:me&&at.defaultFilteredValue?at.defaultFilteredValue:void 0,forceFiltered:at.filtered});"children"in at&&(He=[].concat((0,un.Z)(He),(0,un.Z)(kr(at.children,me,wt))))}),He}function ni(ce,me,we,He,at,lt,At,wt){return we.map((bt,Yt)=>{const gn=fe(Yt,wt),{filterMultiple:nn=!0,filterMode:On,filterSearch:An}=bt;let Ln=bt;if(Ln.filters||Ln.filterDropdown){const Yn=Aa(Ln,gn),Kn=He.find(_n=>{let{key:Wn}=_n;return Yn===Wn});Ln=Object.assign(Object.assign({},Ln),{title:_n=>re.createElement(Mi,{tablePrefixCls:ce,prefixCls:`${ce}-filter`,dropdownPrefixCls:me,column:Ln,columnKey:Yn,filterState:Kn,filterMultiple:nn,filterMode:On,filterSearch:An,triggerFilter:lt,locale:at,getPopupContainer:At},kt(bt.title,_n))})}return"children"in Ln&&(Ln=Object.assign(Object.assign({},Ln),{children:ni(ce,me,Ln.children,He,at,lt,At,gn)})),Ln})}function ai(ce){const me={};return ce.forEach(we=>{let{key:He,filteredKeys:at,column:lt}=we;const{filters:At,filterDropdown:wt}=lt;if(wt)me[He]=at||null;else if(Array.isArray(at)){const bt=Br(At);me[He]=bt.filter(Yt=>at.includes(String(Yt)))}else me[He]=null}),me}function oi(ce,me){return me.reduce((we,He)=>{const{column:{onFilter:at,filters:lt},filteredKeys:At}=He;return at&&At&&At.length?we.filter(wt=>At.some(bt=>{const Yt=Br(lt),gn=Yt.findIndex(On=>String(On)===String(bt)),nn=gn!==-1?Yt[gn]:bt;return at(nn,wt)})):we},ce)}const ri=ce=>ce.flatMap(me=>"children"in me?[me].concat((0,un.Z)(ri(me.children||[]))):[me]);function ki(ce){let{prefixCls:me,dropdownPrefixCls:we,mergedColumns:He,onFilterChange:at,getPopupContainer:lt,locale:At}=ce;const wt=re.useMemo(()=>ri(He||[]),[He]),[bt,Yt]=re.useState(()=>kr(wt,!0)),gn=re.useMemo(()=>{const Ln=kr(wt,!1);if(Ln.length===0)return Ln;let Yn=!0,Kn=!0;if(Ln.forEach(_n=>{let{filteredKeys:Wn}=_n;Wn!==void 0?Yn=!1:Kn=!1}),Yn){const _n=(wt||[]).map((Wn,aa)=>Aa(Wn,fe(aa)));return bt.filter(Wn=>{let{key:aa}=Wn;return _n.includes(aa)}).map(Wn=>{const aa=wt[_n.findIndex(ya=>ya===Wn.key)];return Object.assign(Object.assign({},Wn),{column:Object.assign(Object.assign({},Wn.column),aa),forceFiltered:aa.filtered})})}return Ln},[wt,bt]),nn=re.useMemo(()=>ai(gn),[gn]),On=Ln=>{const Yn=gn.filter(Kn=>{let{key:_n}=Kn;return _n!==Ln.key});Yn.push(Ln),Yt(Yn),at(ai(Yn),Yn)};return[Ln=>ni(me,we,Ln,gn,At,On,lt),gn,nn]}var Zi=ki;function zi(ce,me,we){const He=re.useRef({});function at(lt){if(!He.current||He.current.data!==ce||He.current.childrenColumnName!==me||He.current.getRowKey!==we){let wt=function(bt){bt.forEach((Yt,gn)=>{const nn=we(Yt,gn);At.set(nn,Yt),Yt&&typeof Yt=="object"&&me in Yt&&wt(Yt[me]||[])})};const At=new Map;wt(ce),He.current={data:ce,childrenColumnName:me,kvMap:At,getRowKey:we}}return He.current.kvMap.get(lt)}return[at]}var Hi=te(50371),ji=function(ce,me){var we={};for(var He in ce)Object.prototype.hasOwnProperty.call(ce,He)&&me.indexOf(He)<0&&(we[He]=ce[He]);if(ce!=null&&typeof Object.getOwnPropertySymbols=="function")for(var at=0,He=Object.getOwnPropertySymbols(ce);at<He.length;at++)me.indexOf(He[at])<0&&Object.prototype.propertyIsEnumerable.call(ce,He[at])&&(we[He[at]]=ce[He[at]]);return we};const ii=10;function Gi(ce,me){const we={current:ce.current,pageSize:ce.pageSize};return Object.keys(me&&typeof me=="object"?me:{}).forEach(at=>{const lt=ce[at];typeof lt!="function"&&(we[at]=lt)}),we}function Ki(ce,me,we){const He=we&&typeof we=="object"?we:{},{total:at=0}=He,lt=ji(He,["total"]),[At,wt]=(0,re.useState)(()=>({current:"defaultCurrent"in lt?lt.defaultCurrent:1,pageSize:"defaultPageSize"in lt?lt.defaultPageSize:ii})),bt=(0,Hi.Z)(At,lt,{total:at>0?at:ce}),Yt=Math.ceil((at||ce)/bt.pageSize);bt.current>Yt&&(bt.current=Yt||1);const gn=(On,An)=>{wt({current:On!=null?On:1,pageSize:An||bt.pageSize})},nn=(On,An)=>{var Ln;we&&((Ln=we.onChange)===null||Ln===void 0||Ln.call(we,On,An)),gn(On,An),me(On,An||(bt==null?void 0:bt.pageSize))};return we===!1?[{},()=>{}]:[Object.assign(Object.assign({},bt),{onChange:nn}),gn]}var Wi=Ki,Ui=te(84105),li=te(35654),Zr=te(90782),Vi=te(71430),Ji=te(18929);const Pr={},zr="SELECT_ALL",Hr="SELECT_INVERT",jr="SELECT_NONE",si=[],ui=(ce,me)=>{let we=[];return(me||[]).forEach(He=>{we.push(He),He&&typeof He=="object"&&ce in He&&(we=[].concat((0,un.Z)(we),(0,un.Z)(ui(ce,He[ce]))))}),we};var Qi=(ce,me)=>{const{preserveSelectedRowKeys:we,selectedRowKeys:He,defaultSelectedRowKeys:at,getCheckboxProps:lt,onChange:At,onSelect:wt,onSelectAll:bt,onSelectInvert:Yt,onSelectNone:gn,onSelectMultiple:nn,columnWidth:On,type:An,selections:Ln,fixed:Yn,renderCell:Kn,hideSelectAll:_n,checkStrictly:Wn=!0}=me||{},{prefixCls:aa,data:ya,pageData:Ea,getRecordByKey:fa,getRowKey:La,expandType:Ma,childrenColumnName:ra,locale:pa,getPopupContainer:ia}=ce,[ta,da]=(0,Ji.Z)(He||at||si,{value:He}),wa=re.useRef(new Map),Ga=(0,re.useCallback)(Ba=>{if(we){const Fa=new Map;Ba.forEach(xa=>{let Sa=fa(xa);!Sa&&wa.current.has(xa)&&(Sa=wa.current.get(xa)),Fa.set(xa,Sa)}),wa.current=Fa}},[fa,we]);re.useEffect(()=>{Ga(ta)},[ta]);const{keyEntities:Ra}=(0,re.useMemo)(()=>{if(Wn)return{keyEntities:null};let Ba=ya;if(we){const Fa=new Set(ya.map((Sa,io)=>La(Sa,io))),xa=Array.from(wa.current).reduce((Sa,io)=>{let[Pa,Da]=io;return Fa.has(Pa)?Sa:Sa.concat(Da)},[]);Ba=[].concat((0,un.Z)(Ba),(0,un.Z)(xa))}return(0,Vi.I8)(Ba,{externalGetKey:La,childrenPropName:ra})},[ya,La,Wn,ra,we]),ba=(0,re.useMemo)(()=>ui(ra,Ea),[ra,Ea]),Wa=(0,re.useMemo)(()=>{const Ba=new Map;return ba.forEach((Fa,xa)=>{const Sa=La(Fa,xa),io=(lt?lt(Fa):null)||{};Ba.set(Sa,io)}),Ba},[ba,La,lt]),Va=(0,re.useCallback)(Ba=>{var Fa;return!!(!((Fa=Wa.get(La(Ba)))===null||Fa===void 0)&&Fa.disabled)},[Wa,La]),[vo,ao]=(0,re.useMemo)(()=>{if(Wn)return[ta||[],[]];const{checkedKeys:Ba,halfCheckedKeys:Fa}=(0,Zr.S)(ta,!0,Ra,Va);return[Ba||[],Fa]},[ta,Wn,Ra,Va]),Ao=(0,re.useMemo)(()=>{const Ba=An==="radio"?vo.slice(0,1):vo;return new Set(Ba)},[vo,An]),wo=(0,re.useMemo)(()=>An==="radio"?new Set:new Set(ao),[ao,An]),[ka,Lo]=(0,re.useState)(null);re.useEffect(()=>{me||da(si)},[!!me]);const ro=(0,re.useCallback)((Ba,Fa)=>{let xa,Sa;Ga(Ba),we?(xa=Ba,Sa=Ba.map(io=>wa.current.get(io))):(xa=[],Sa=[],Ba.forEach(io=>{const Pa=fa(io);Pa!==void 0&&(xa.push(io),Sa.push(Pa))})),da(xa),At==null||At(xa,Sa,{type:Fa})},[da,fa,At,we]),Eo=(0,re.useCallback)((Ba,Fa,xa,Sa)=>{if(wt){const io=xa.map(Pa=>fa(Pa));wt(fa(Ba),Fa,io,Sa)}ro(xa,"single")},[wt,fa,ro]),yo=(0,re.useMemo)(()=>!Ln||_n?null:(Ln===!0?[zr,Hr,jr]:Ln).map(Fa=>Fa===zr?{key:"all",text:pa.selectionAll,onSelect(){ro(ya.map((xa,Sa)=>La(xa,Sa)).filter(xa=>{const Sa=Wa.get(xa);return!(Sa!=null&&Sa.disabled)||Ao.has(xa)}),"all")}}:Fa===Hr?{key:"invert",text:pa.selectInvert,onSelect(){const xa=new Set(Ao);Ea.forEach((io,Pa)=>{const Da=La(io,Pa),eo=Wa.get(Da);eo!=null&&eo.disabled||(xa.has(Da)?xa.delete(Da):xa.add(Da))});const Sa=Array.from(xa);Yt&&Yt(Sa),ro(Sa,"invert")}}:Fa===jr?{key:"none",text:pa.selectNone,onSelect(){gn==null||gn(),ro(Array.from(Ao).filter(xa=>{const Sa=Wa.get(xa);return Sa==null?void 0:Sa.disabled}),"none")}}:Fa).map(Fa=>Object.assign(Object.assign({},Fa),{onSelect:function(){for(var xa,Sa,io=arguments.length,Pa=new Array(io),Da=0;Da<io;Da++)Pa[Da]=arguments[Da];(Sa=Fa.onSelect)===null||Sa===void 0||(xa=Sa).call.apply(xa,[Fa].concat(Pa)),Lo(null)}})),[Ln,Ao,Ea,La,Yt,ro]);return[(0,re.useCallback)(Ba=>{var Fa;if(!me)return Ba.filter(so=>so!==Pr);let xa=(0,un.Z)(Ba);const Sa=new Set(Ao),io=ba.map(La).filter(so=>!Wa.get(so).disabled),Pa=io.every(so=>Sa.has(so)),Da=io.some(so=>Sa.has(so)),eo=()=>{const so=[];Pa?io.forEach(bo=>{Sa.delete(bo),so.push(bo)}):io.forEach(bo=>{Sa.has(bo)||(Sa.add(bo),so.push(bo))});const uo=Array.from(Sa);bt==null||bt(!Pa,uo.map(bo=>fa(bo)),so.map(bo=>fa(bo))),ro(uo,"all"),Lo(null)};let Ya;if(An!=="radio"){let so;if(yo){const Ja={getPopupContainer:ia,items:yo.map((Uo,Ko)=>{const{key:er,text:gr,onSelect:sr}=Uo;return{key:er!=null?er:Ko,onClick:()=>{sr==null||sr(io)},label:gr}})};so=re.createElement("div",{className:`${aa}-selection-extra`},re.createElement(ua.Z,{menu:Ja,getPopupContainer:ia},re.createElement("span",null,re.createElement(Ui.Z,null))))}const uo=ba.map((Ja,Uo)=>{const Ko=La(Ja,Uo),er=Wa.get(Ko)||{};return Object.assign({checked:Sa.has(Ko)},er)}).filter(Ja=>{let{disabled:Uo}=Ja;return Uo}),bo=!!uo.length&&uo.length===ba.length,Io=bo&&uo.every(Ja=>{let{checked:Uo}=Ja;return Uo}),To=bo&&uo.some(Ja=>{let{checked:Uo}=Ja;return Uo});Ya=!_n&&re.createElement("div",{className:`${aa}-selection`},re.createElement(Gn.default,{checked:bo?Io:!!ba.length&&Pa,indeterminate:bo?!Io&&To:!Pa&&Da,onChange:eo,disabled:ba.length===0||bo,"aria-label":so?"Custom selection":"Select all",skipGroup:!0}),so)}let Go;An==="radio"?Go=(so,uo,bo)=>{const Io=La(uo,bo),To=Sa.has(Io);return{node:re.createElement(Po.ZP,Object.assign({},Wa.get(Io),{checked:To,onClick:Ja=>Ja.stopPropagation(),onChange:Ja=>{Sa.has(Io)||Eo(Io,!0,[Io],Ja.nativeEvent)}})),checked:To}}:Go=(so,uo,bo)=>{var Io;const To=La(uo,bo),Ja=Sa.has(To),Uo=wo.has(To),Ko=Wa.get(To);let er;return Ma==="nest"?er=Uo:er=(Io=Ko==null?void 0:Ko.indeterminate)!==null&&Io!==void 0?Io:Uo,{node:re.createElement(Gn.default,Object.assign({},Ko,{indeterminate:er,checked:Ja,skipGroup:!0,onClick:gr=>gr.stopPropagation(),onChange:gr=>{let{nativeEvent:sr}=gr;const{shiftKey:Lr}=sr;let hr=-1,or=-1;if(Lr&&Wn){const $o=new Set([ka,To]);io.some((Vo,Ro)=>{if($o.has(Vo))if(hr===-1)hr=Ro;else return or=Ro,!0;return!1})}if(or!==-1&&hr!==or&&Wn){const $o=io.slice(hr,or+1),Vo=[];Ja?$o.forEach(xo=>{Sa.has(xo)&&(Vo.push(xo),Sa.delete(xo))}):$o.forEach(xo=>{Sa.has(xo)||(Vo.push(xo),Sa.add(xo))});const Ro=Array.from(Sa);nn==null||nn(!Ja,Ro.map(xo=>fa(xo)),Vo.map(xo=>fa(xo))),ro(Ro,"multiple")}else{const $o=vo;if(Wn){const Vo=Ja?(0,li._5)($o,To):(0,li.L0)($o,To);Eo(To,!Ja,Vo,sr)}else{const Vo=(0,Zr.S)([].concat((0,un.Z)($o),[To]),!0,Ra,Va),{checkedKeys:Ro,halfCheckedKeys:xo}=Vo;let mr=Ro;if(Ja){const xr=new Set(Ro);xr.delete(To),mr=(0,Zr.S)(Array.from(xr),{checked:!1,halfCheckedKeys:xo},Ra,Va).checkedKeys}Eo(To,!Ja,mr,sr)}}Lo(Ja?null:To)}})),checked:Ja}};const Zo=(so,uo,bo)=>{const{node:Io,checked:To}=Go(so,uo,bo);return Kn?Kn(To,uo,bo,Io):Io};if(!xa.includes(Pr))if(xa.findIndex(so=>{var uo;return((uo=so[Tn])===null||uo===void 0?void 0:uo.columnType)==="EXPAND_COLUMN"})===0){const[so,...uo]=xa;xa=[so,Pr].concat((0,un.Z)(uo))}else xa=[Pr].concat((0,un.Z)(xa));const lr=xa.indexOf(Pr);xa=xa.filter((so,uo)=>so!==Pr||uo===lr);const Oo=xa[lr-1],ar=xa[lr+1];let No=Yn;No===void 0&&((ar==null?void 0:ar.fixed)!==void 0?No=ar.fixed:(Oo==null?void 0:Oo.fixed)!==void 0&&(No=Oo.fixed)),No&&Oo&&((Fa=Oo[Tn])===null||Fa===void 0?void 0:Fa.columnType)==="EXPAND_COLUMN"&&Oo.fixed===void 0&&(Oo.fixed=No);const Xo=Oe()(`${aa}-selection-col`,{[`${aa}-selection-col-with-dropdown`]:Ln&&An==="checkbox"}),br={fixed:No,width:On,className:`${aa}-selection-column`,title:me.columnTitle||Ya,render:Zo,onCell:me.onCell,[Tn]:{className:Xo}};return xa.map(so=>so===Pr?br:so)},[La,ba,me,vo,Ao,wo,On,yo,Ma,ka,Wa,nn,Eo,Va]),Ao]},Xi=te(89489),$i=te(59477),Yi=te(6848);const Or="ascend",Gr="descend";function Nr(ce){return typeof ce.sorter=="object"&&typeof ce.sorter.multiple=="number"?ce.sorter.multiple:!1}function di(ce){return typeof ce=="function"?ce:ce&&typeof ce=="object"&&ce.compare?ce.compare:!1}function _i(ce,me){return me?ce[ce.indexOf(me)+1]:ce[0]}function Kr(ce,me,we){let He=[];function at(lt,At){He.push({column:lt,key:Aa(lt,At),multiplePriority:Nr(lt),sortOrder:lt.sortOrder})}return(ce||[]).forEach((lt,At)=>{const wt=fe(At,we);lt.children?("sortOrder"in lt&&at(lt,wt),He=[].concat((0,un.Z)(He),(0,un.Z)(Kr(lt.children,me,wt)))):lt.sorter&&("sortOrder"in lt?at(lt,wt):me&&lt.defaultSortOrder&&He.push({column:lt,key:Aa(lt,wt),multiplePriority:Nr(lt),sortOrder:lt.defaultSortOrder}))}),He}function ci(ce,me,we,He,at,lt,At,wt){return(me||[]).map((bt,Yt)=>{const gn=fe(Yt,wt);let nn=bt;if(nn.sorter){const On=nn.sortDirections||at,An=nn.showSorterTooltip===void 0?At:nn.showSorterTooltip,Ln=Aa(nn,gn),Yn=we.find(Ma=>{let{key:ra}=Ma;return ra===Ln}),Kn=Yn?Yn.sortOrder:null,_n=_i(On,Kn);let Wn;if(bt.sortIcon)Wn=bt.sortIcon({sortOrder:Kn});else{const Ma=On.includes(Or)&&re.createElement($i.Z,{className:Oe()(`${ce}-column-sorter-up`,{active:Kn===Or})}),ra=On.includes(Gr)&&re.createElement(Xi.Z,{className:Oe()(`${ce}-column-sorter-down`,{active:Kn===Gr})});Wn=re.createElement("span",{className:Oe()(`${ce}-column-sorter`,{[`${ce}-column-sorter-full`]:!!(Ma&&ra)})},re.createElement("span",{className:`${ce}-column-sorter-inner`,"aria-hidden":"true"},Ma,ra))}const{cancelSort:aa,triggerAsc:ya,triggerDesc:Ea}=lt||{};let fa=aa;_n===Gr?fa=Ea:_n===Or&&(fa=ya);const La=typeof An=="object"?An:{title:fa};nn=Object.assign(Object.assign({},nn),{className:Oe()(nn.className,{[`${ce}-column-sort`]:Kn}),title:Ma=>{const ra=re.createElement("div",{className:`${ce}-column-sorters`},re.createElement("span",{className:`${ce}-column-title`},kt(bt.title,Ma)),Wn);return An?re.createElement(Yi.Z,Object.assign({},La),ra):ra},onHeaderCell:Ma=>{const ra=bt.onHeaderCell&&bt.onHeaderCell(Ma)||{},pa=ra.onClick,ia=ra.onKeyDown;ra.onClick=wa=>{He({column:bt,key:Ln,sortOrder:_n,multiplePriority:Nr(bt)}),pa==null||pa(wa)},ra.onKeyDown=wa=>{wa.keyCode===pr.Z.ENTER&&(He({column:bt,key:Ln,sortOrder:_n,multiplePriority:Nr(bt)}),ia==null||ia(wa))};const ta=tn(bt.title,{}),da=ta==null?void 0:ta.toString();return Kn?ra["aria-sort"]=Kn==="ascend"?"ascending":"descending":ra["aria-label"]=da||"",ra.className=Oe()(ra.className,`${ce}-column-has-sorters`),ra.tabIndex=0,bt.ellipsis&&(ra.title=(ta!=null?ta:"").toString()),ra}})}return"children"in nn&&(nn=Object.assign(Object.assign({},nn),{children:ci(ce,nn.children,we,He,at,lt,At,gn)})),nn})}function gi(ce){const{column:me,sortOrder:we}=ce;return{column:me,order:we,field:me.dataIndex,columnKey:me.key}}function mi(ce){const me=ce.filter(we=>{let{sortOrder:He}=we;return He}).map(gi);return me.length===0&&ce.length?Object.assign(Object.assign({},gi(ce[ce.length-1])),{column:void 0}):me.length<=1?me[0]||{}:me}function Wr(ce,me,we){const He=me.slice().sort((At,wt)=>wt.multiplePriority-At.multiplePriority),at=ce.slice(),lt=He.filter(At=>{let{column:{sorter:wt},sortOrder:bt}=At;return di(wt)&&bt});return lt.length?at.sort((At,wt)=>{for(let bt=0;bt<lt.length;bt+=1){const Yt=lt[bt],{column:{sorter:gn},sortOrder:nn}=Yt,On=di(gn);if(On&&nn){const An=On(At,wt,nn);if(An!==0)return nn===Or?An:-An}}return 0}).map(At=>{const wt=At[we];return wt?Object.assign(Object.assign({},At),{[we]:Wr(wt,me,we)}):At}):at}function qi(ce){let{prefixCls:me,mergedColumns:we,onSorterChange:He,sortDirections:at,tableLocale:lt,showSorterTooltip:At}=ce;const[wt,bt]=re.useState(Kr(we,!0)),Yt=re.useMemo(()=>{let Ln=!0;const Yn=Kr(we,!1);if(!Yn.length)return wt;const Kn=[];function _n(aa){Ln?Kn.push(aa):Kn.push(Object.assign(Object.assign({},aa),{sortOrder:null}))}let Wn=null;return Yn.forEach(aa=>{Wn===null?(_n(aa),aa.sortOrder&&(aa.multiplePriority===!1?Ln=!1:Wn=!0)):(Wn&&aa.multiplePriority!==!1||(Ln=!1),_n(aa))}),Kn},[we,wt]),gn=re.useMemo(()=>{const Ln=Yt.map(Yn=>{let{column:Kn,sortOrder:_n}=Yn;return{column:Kn,order:_n}});return{sortColumns:Ln,sortColumn:Ln[0]&&Ln[0].column,sortOrder:Ln[0]&&Ln[0].order}},[Yt]);function nn(Ln){let Yn;Ln.multiplePriority===!1||!Yt.length||Yt[0].multiplePriority===!1?Yn=[Ln]:Yn=[].concat((0,un.Z)(Yt.filter(Kn=>{let{key:_n}=Kn;return _n!==Ln.key})),[Ln]),bt(Yn),He(mi(Yn),Yn)}return[Ln=>ci(me,Ln,Yt,nn,at,lt,At),Yt,gn,()=>mi(Yt)]}function fi(ce,me){return ce.map(we=>{const He=Object.assign({},we);return He.title=kt(we.title,me),"children"in He&&(He.children=fi(He.children,me)),He})}function el(ce){return[re.useCallback(we=>fi(we,ce),[ce])]}var tl=ea((ce,me)=>{const{_renderTimes:we}=ce,{_renderTimes:He}=me;return we!==He}),nl=lo((ce,me)=>{const{_renderTimes:we}=ce,{_renderTimes:He}=me;return we!==He}),wr=te(64993),Dr=te(17313),al=te(83116),ol=te(37613),rl=ce=>{const{componentCls:me}=ce,we=`${ce.lineWidth}px ${ce.lineType} ${ce.tableBorderColor}`,He=(at,lt,At)=>({[`&${me}-${at}`]:{[`> ${me}-container`]:{[`> ${me}-content, > ${me}-body`]:{"\n > table > tbody > tr > th,\n > table > tbody > tr > td\n ":{[`> ${me}-expanded-row-fixed`]:{margin:`-${lt}px -${At+ce.lineWidth}px`}}}}}});return{[`${me}-wrapper`]:{[`${me}${me}-bordered`]:Object.assign(Object.assign(Object.assign({[`> ${me}-title`]:{border:we,borderBottom:0},[`> ${me}-container`]:{borderInlineStart:we,borderTop:we,[`
> ${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:we},"> thead":{"> tr:not(:last-child) > th":{borderBottom:we},"> tr > th::before":{backgroundColor:"transparent !important"}},"\n > thead > tr,\n > tbody > tr,\n > tfoot > tr\n ":{[`> ${me}-cell-fix-right-first::after`]:{borderInlineEnd:we}},"\n > tbody > tr > th,\n > tbody > tr > td\n ":{[`> ${me}-expanded-row-fixed`]:{margin:`-${ce.tablePaddingVertical}px -${ce.tablePaddingHorizontal+ce.lineWidth}px`,"&::after":{position:"absolute",top:0,insetInlineEnd:ce.lineWidth,bottom:0,borderInlineEnd:we,content:'""'}}}}}},[`&${me}-scroll-horizontal`]:{[`> ${me}-container > ${me}-body`]:{"> table > tbody":{[`
> tr${me}-expanded-row,
> tr${me}-placeholder
`]:{"> th, > td":{borderInlineEnd:0}}}}}},He("middle",ce.tablePaddingVerticalMiddle,ce.tablePaddingHorizontalMiddle)),He("small",ce.tablePaddingVerticalSmall,ce.tablePaddingHorizontalSmall)),{[`> ${me}-footer`]:{border:we,borderTop:0}}),[`${me}-cell`]:{[`${me}-container:first-child`]:{borderTop:0},"&-scrollbar:not([rowspan])":{boxShadow:`0 ${ce.lineWidth}px 0 ${ce.lineWidth}px ${ce.tableHeaderBg}`}},[`${me}-bordered ${me}-cell-scrollbar`]:{borderInlineEnd:we}}}},il=ce=>{const{componentCls:me}=ce;return{[`${me}-wrapper`]:{[`${me}-cell-ellipsis`]:Object.assign(Object.assign({},Dr.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"}})}}},ll=ce=>{const{componentCls:me}=ce;return{[`${me}-wrapper`]:{[`${me}-tbody > tr${me}-placeholder`]:{textAlign:"center",color:ce.colorTextDisabled,"\n &:hover > th,\n &:hover > td,\n ":{background:ce.colorBgContainer}}}}},sl=te(15969),ul=ce=>{const{componentCls:me,antCls:we,controlInteractiveSize:He,motionDurationSlow:at,lineWidth:lt,paddingXS:At,lineType:wt,tableBorderColor:bt,tableExpandIconBg:Yt,tableExpandColumnWidth:gn,borderRadius:nn,fontSize:On,fontSizeSM:An,lineHeight:Ln,tablePaddingVertical:Yn,tablePaddingHorizontal:Kn,tableExpandedRowBg:_n,paddingXXS:Wn}=ce,aa=He/2-lt,ya=aa*2+lt*3,Ea=`${lt}px ${wt} ${bt}`,fa=Wn-lt;return{[`${me}-wrapper`]:{[`${me}-expand-icon-col`]:{width:gn},[`${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,sl.N)(ce)),{position:"relative",float:"left",boxSizing:"border-box",width:ya,height:ya,padding:0,color:"inherit",lineHeight:`${ya}px`,background:Yt,border:Ea,borderRadius:nn,transform:`scale(${He/ya})`,transition:`all ${at}`,userSelect:"none","&:focus, &:hover, &:active":{borderColor:"currentcolor"},"&::before, &::after":{position:"absolute",background:"currentcolor",transition:`transform ${at} ease-out`,content:'""'},"&::before":{top:aa,insetInlineEnd:fa,insetInlineStart:fa,height:lt},"&::after":{top:fa,bottom:fa,insetInlineStart:aa,width:lt,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:(On*Ln-lt*3)/2-Math.ceil((An*1.4-lt*3)/2),marginInlineEnd:At},[`tr${me}-expanded-row`]:{"&, &:hover":{"> th, > td":{background:_n}},[`${we}-descriptions-view`]:{display:"flex",table:{flex:"auto",width:"auto"}}},[`${me}-expanded-row-fixed`]:{position:"relative",margin:`-${Yn}px -${Kn}px`,padding:`${Yn}px ${Kn}px`}}}},dl=ce=>{const{componentCls:me,antCls:we,iconCls:He,tableFilterDropdownWidth:at,tableFilterDropdownSearchWidth:lt,paddingXXS:At,paddingXS:wt,colorText:bt,lineWidth:Yt,lineType:gn,tableBorderColor:nn,tableHeaderIconColor:On,fontSizeSM:An,tablePaddingHorizontal:Ln,borderRadius:Yn,motionDurationSlow:Kn,colorTextDescription:_n,colorPrimary:Wn,tableHeaderFilterActiveBg:aa,colorTextDisabled:ya,tableFilterDropdownBg:Ea,tableFilterDropdownHeight:fa,controlItemBgHover:La,controlItemBgActive:Ma,boxShadowSecondary:ra,filterDropdownMenuBg:pa}=ce,ia=`${we}-dropdown`,ta=`${me}-filter-dropdown`,da=`${we}-tree`,wa=`${Yt}px ${gn} ${nn}`;return[{[`${me}-wrapper`]:{[`${me}-filter-column`]:{display:"flex",justifyContent:"space-between"},[`${me}-filter-trigger`]:{position:"relative",display:"flex",alignItems:"center",marginBlock:-At,marginInline:`${At}px ${-Ln/2}px`,padding:`0 ${At}px`,color:On,fontSize:An,borderRadius:Yn,cursor:"pointer",transition:`all ${Kn}`,"&:hover":{color:_n,background:aa},"&.active":{color:Wn}}}},{[`${we}-dropdown`]:{[ta]:Object.assign(Object.assign({},(0,Dr.Wf)(ce)),{minWidth:at,backgroundColor:Ea,borderRadius:Yn,boxShadow:ra,overflow:"hidden",[`${ia}-menu`]:{maxHeight:fa,overflowX:"hidden",border:0,boxShadow:"none",borderRadius:"unset",backgroundColor:pa,"&:empty::after":{display:"block",padding:`${wt}px 0`,color:ya,fontSize:An,textAlign:"center",content:'"Not Found"'}},[`${ta}-tree`]:{paddingBlock:`${wt}px 0`,paddingInline:wt,[da]:{padding:0},[`${da}-treenode ${da}-node-content-wrapper:hover`]:{backgroundColor:La},[`${da}-treenode-checkbox-checked ${da}-node-content-wrapper`]:{"&, &:hover":{backgroundColor:Ma}}},[`${ta}-search`]:{padding:wt,borderBottom:wa,"&-input":{input:{minWidth:lt},[He]:{color:ya}}},[`${ta}-checkall`]:{width:"100%",marginBottom:At,marginInlineStart:At},[`${ta}-btns`]:{display:"flex",justifyContent:"space-between",padding:`${wt-Yt}px ${wt}px`,overflow:"hidden",borderTop:wa}})}},{[`${we}-dropdown ${ta}, ${ta}-submenu`]:{[`${we}-checkbox-wrapper + span`]:{paddingInlineStart:wt,color:bt},"> ul":{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]},cl=ce=>{const{componentCls:me,lineWidth:we,colorSplit:He,motionDurationSlow:at,zIndexTableFixed:lt,tableBg:At,zIndexTableSticky:wt}=ce,bt=He;return{[`${me}-wrapper`]:{[`
${me}-cell-fix-left,
${me}-cell-fix-right
`]:{position:"sticky !important",zIndex:lt,background:At},[`
${me}-cell-fix-left-first::after,
${me}-cell-fix-left-last::after
`]:{position:"absolute",top:0,right:{_skip_check_:!0,value:0},bottom:-we,width:30,transform:"translateX(100%)",transition:`box-shadow ${at}`,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:-we,left:{_skip_check_:!0,value:0},width:30,transform:"translateX(-100%)",transition:`box-shadow ${at}`,content:'""',pointerEvents:"none"},[`${me}-container`]:{"&::before, &::after":{position:"absolute",top:0,bottom:0,zIndex:wt+1,width:30,transition:`box-shadow ${at}`,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 ${bt}`}},[`
${me}-cell-fix-left-first::after,
${me}-cell-fix-left-last::after
`]:{boxShadow:`inset 10px 0 8px -8px ${bt}`},[`${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 ${bt}`}},[`
${me}-cell-fix-right-first::after,
${me}-cell-fix-right-last::after
`]:{boxShadow:`inset -10px 0 8px -8px ${bt}`}}}}},gl=ce=>{const{componentCls:me,antCls:we}=ce;return{[`${me}-wrapper`]:{[`${me}-pagination${we}-pagination`]:{margin:`${ce.margin}px 0`},[`${me}-pagination`]:{display:"flex",flexWrap:"wrap",rowGap:ce.paddingXS,"> *":{flex:"none"},"&-left":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-right":{justifyContent:"flex-end"}}}}},ml=ce=>{const{componentCls:me,tableRadius:we}=ce;return{[`${me}-wrapper`]:{[me]:{[`${me}-title, ${me}-header`]:{borderRadius:`${we}px ${we}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:we,borderStartEndRadius:we,"table > thead > tr:first-child":{"> *:first-child":{borderStartStartRadius:we},"> *:last-child":{borderStartEndRadius:we}}},"&-footer":{borderRadius:`0 0 ${we}px ${we}px`}}}}},fl=ce=>{const{componentCls:me}=ce;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"}}}}},pl=ce=>{const{componentCls:me,antCls:we,iconCls:He,fontSizeIcon:at,padding:lt,paddingXS:At,tableHeaderIconColor:wt,tableHeaderIconColorHover:bt,tableSelectionColumnWidth:Yt}=ce;return{[`${me}-wrapper`]:{[`${me}-selection-col`]:{width:Yt,[`&${me}-selection-col-with-dropdown`]:{width:Yt+at+lt/4}},[`${me}-bordered ${me}-selection-col`]:{width:Yt+At*2,[`&${me}-selection-col-with-dropdown`]:{width:Yt+at+lt/4+At*2}},[`
table tr th${me}-selection-column,
table tr td${me}-selection-column
`]:{paddingInlineEnd:ce.paddingXS,paddingInlineStart:ce.paddingXS,textAlign:"center",[`${we}-radio-wrapper`]:{marginInlineEnd:0}},[`table tr th${me}-selection-column${me}-cell-fix-left`]:{zIndex:ce.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 ${ce.motionDurationSlow}`,marginInlineStart:"100%",paddingInlineStart:`${ce.tablePaddingHorizontal/4}px`,[He]:{color:wt,fontSize:at,verticalAlign:"baseline","&:hover":{color:bt}}}}}},vl=ce=>{const{componentCls:me}=ce,we=(He,at,lt,At)=>({[`${me}${me}-${He}`]:{fontSize:At,[`
${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:`${at}px ${lt}px`},[`${me}-filter-trigger`]:{marginInlineEnd:`-${lt/2}px`},[`${me}-expanded-row-fixed`]:{margin:`-${at}px -${lt}px`},[`${me}-tbody`]:{[`${me}-wrapper:only-child ${me}`]:{marginBlock:`-${at}px`,marginInline:`${ce.tableExpandColumnWidth-lt}px -${lt}px`}},[`${me}-selection-column`]:{paddingInlineStart:`${lt/4}px`}}});return{[`${me}-wrapper`]:Object.assign(Object.assign({},we("middle",ce.tablePaddingVerticalMiddle,ce.tablePaddingHorizontalMiddle,ce.tableFontSizeMiddle)),we("small",ce.tablePaddingVerticalSmall,ce.tablePaddingHorizontalSmall,ce.tableFontSizeSmall))}},hl=ce=>{const{componentCls:me,marginXXS:we,fontSizeIcon:He,tableHeaderIconColor:at,tableHeaderIconColorHover:lt}=ce;return{[`${me}-wrapper`]:{[`${me}-thead th${me}-column-has-sorters`]:{outline:"none",cursor:"pointer",transition:`all ${ce.motionDurationSlow}`,"&:hover":{background:ce.tableHeaderSortHoverBg,"&::before":{backgroundColor:"transparent !important"}},"&:focus-visible":{color:ce.colorPrimary},[`
&${me}-cell-fix-left:hover,
&${me}-cell-fix-right:hover
`]:{background:ce.tableFixedHeaderSortActiveBg}},[`${me}-thead th${me}-column-sort`]:{background:ce.tableHeaderSortBg,"&::before":{backgroundColor:"transparent !important"}},[`td${me}-column-sort`]:{background:ce.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:we,color:at,fontSize:0,transition:`color ${ce.motionDurationSlow}`,"&-inner":{display:"inline-flex",flexDirection:"column",alignItems:"center"},"&-up, &-down":{fontSize:He,"&.active":{color:ce.colorPrimary}},[`${me}-column-sorter-up + ${me}-column-sorter-down`]:{marginTop:"-0.3em"}},[`${me}-column-sorters:hover ${me}-column-sorter`]:{color:lt}}}},Sl=ce=>{const{componentCls:me,opacityLoading:we,tableScrollThumbBg:He,tableScrollThumbBgHover:at,tableScrollThumbSize:lt,tableScrollBg:At,zIndexTableSticky:wt,stickyScrollBarBorderRadius:bt}=ce,Yt=`${ce.lineWidth}px ${ce.lineType} ${ce.tableBorderColor}`;return{[`${me}-wrapper`]:{[`${me}-sticky`]:{"&-holder":{position:"sticky",zIndex:wt,background:ce.colorBgContainer},"&-scroll":{position:"sticky",bottom:0,height:`${lt}px !important`,zIndex:wt,display:"flex",alignItems:"center",background:At,borderTop:Yt,opacity:we,"&:hover":{transformOrigin:"center bottom"},"&-bar":{height:lt,backgroundColor:He,borderRadius:bt,transition:`all ${ce.motionDurationSlow}, transform none`,position:"absolute",bottom:0,"&:hover, &-active":{backgroundColor:at}}}}}}},pi=ce=>{const{componentCls:me,lineWidth:we,tableBorderColor:He}=ce,at=`${we}px ${ce.lineType} ${He}`;return{[`${me}-wrapper`]:{[`${me}-summary`]:{position:"relative",zIndex:ce.zIndexTableFixed,background:ce.tableBg,"> tr":{"> th, > td":{borderBottom:at}}},[`div${me}-summary`]:{boxShadow:`0 -${we}px 0 ${He}`}}}},Pl=ce=>{const{componentCls:me}=ce,we=`${ce.lineWidth}px ${ce.lineType} ${ce.tableBorderColor}`,He=`${me}-expanded-row-cell`;return{[`${me}-wrapper`]:{[`${me}-tbody-virtual`]:{[`${me}-row`]:{display:"flex",boxSizing:"border-box",width:"100%"},[`${me}-cell`]:{borderBottom:we},[`${me}-expanded-row`]:{[`${He}${He}-fixed`]:{position:"sticky",insetInlineStart:0,overflow:"hidden",width:`calc(var(--virtual-width) - ${ce.lineWidth}px)`,borderInlineEnd:"none"}}},[`${me}-bordered`]:{[`${me}-tbody-virtual`]:{"&:after":{content:'""',insetInline:0,bottom:0,borderBottom:we,position:"absolute"},[`${me}-cell`]:{borderInlineEnd:we,[`&${me}-cell-fix-right-first:before`]:{content:'""',position:"absolute",insetBlock:0,insetInlineStart:-ce.lineWidth,borderInlineStart:we}}}}}}};const yl=ce=>{const{componentCls:me,fontWeightStrong:we,tablePaddingVertical:He,tablePaddingHorizontal:at,lineWidth:lt,lineType:At,tableBorderColor:wt,tableFontSize:bt,tableBg:Yt,tableRadius:gn,tableHeaderTextColor:nn,motionDurationMid:On,tableHeaderBg:An,tableHeaderCellSplitColor:Ln,tableRowHoverBg:Yn,tableSelectedRowBg:Kn,tableSelectedRowHoverBg:_n,tableFooterTextColor:Wn,tableFooterBg:aa,paddingContentVerticalLG:ya}=ce,Ea=`${lt}px ${At} ${wt}`;return{[`${me}-wrapper`]:Object.assign(Object.assign({clear:"both",maxWidth:"100%"},(0,Dr.dF)()),{[me]:Object.assign(Object.assign({},(0,Dr.Wf)(ce)),{fontSize:bt,background:Yt,borderRadius:`${gn}px ${gn}px 0 0`}),table:{width:"100%",textAlign:"start",borderRadius:`${gn}px ${gn}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:`${ya}px ${at}px`,overflowWrap:"break-word"},[`${me}-title`]:{padding:`${He}px ${at}px`},[`${me}-thead`]:{"\n > tr > th,\n > tr > td\n ":{position:"relative",color:nn,fontWeight:we,textAlign:"start",background:An,borderBottom:Ea,transition:`background ${On} 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:Ln,transform:"translateY(-50%)",transition:`background-color ${On}`,content:'""'}},"> tr:not(:last-child) > th[colspan]":{borderBottom:0}},[`${me}-tbody`]:{"> tr":{"> th, > td":{transition:`background ${On}, border-color ${On}`,borderBottom:Ea,[`
> ${me}-wrapper:only-child,
> ${me}-expanded-row-fixed > ${me}-wrapper:only-child
`]:{[me]:{marginBlock:`-${He}px`,marginInline:`${ce.tableExpandColumnWidth-at}px -${at}px`,[`${me}-tbody > tr:last-child > td`]:{borderBottom:0,"&:first-child, &:last-child":{borderRadius:0}}}}},"> th":{position:"relative",color:nn,fontWeight:we,textAlign:"start",background:An,borderBottom:Ea,transition:`background ${On} ease`},[`
&${me}-row:hover > th,
&${me}-row:hover > td,
> th${me}-cell-row-hover,
> td${me}-cell-row-hover
`]:{background:Yn},[`&${me}-row-selected`]:{"> th, > td":{background:Kn},"&:hover > th, &:hover > td":{background:_n}}}},[`${me}-footer`]:{padding:`${He}px ${at}px`,color:Wn,background:aa}})}};var El=(0,al.Z)("Table",ce=>{const{colorTextHeading:me,colorSplit:we,colorIcon:He,colorIconHover:at,opacityLoading:lt,colorBgContainer:At,controlInteractiveSize:wt,headerBg:bt,headerColor:Yt,headerSortActiveBg:gn,headerSortHoverBg:nn,bodySortBg:On,rowHoverBg:An,rowSelectedBg:Ln,rowSelectedHoverBg:Yn,rowExpandedBg:Kn,cellPaddingBlock:_n,cellPaddingInline:Wn,cellPaddingBlockMD:aa,cellPaddingInlineMD:ya,cellPaddingBlockSM:Ea,cellPaddingInlineSM:fa,borderColor:La,footerBg:Ma,footerColor:ra,headerBorderRadius:pa,cellFontSize:ia,cellFontSizeMD:ta,cellFontSizeSM:da,headerSplitColor:wa,fixedHeaderSortActiveBg:Ga,headerFilterHoverBg:Ra,filterDropdownBg:ba,expandIconBg:Wa,selectionColumnWidth:Va,stickyScrollBarBg:vo}=ce,ao=new wr.C(He),Ao=new wr.C(at),wo=2,ka=(0,ol.TS)(ce,{tableFontSize:ia,tableBg:At,tableRadius:pa,tablePaddingVertical:_n,tablePaddingHorizontal:Wn,tablePaddingVerticalMiddle:aa,tablePaddingHorizontalMiddle:ya,tablePaddingVerticalSmall:Ea,tablePaddingHorizontalSmall:fa,tableBorderColor:La,tableHeaderTextColor:Yt,tableHeaderBg:bt,tableFooterTextColor:ra,tableFooterBg:Ma,tableHeaderCellSplitColor:wa,tableHeaderSortBg:gn,tableHeaderSortHoverBg:nn,tableHeaderIconColor:ao.clone().setAlpha(ao.getAlpha()*lt).toRgbString(),tableHeaderIconColorHover:Ao.clone().setAlpha(Ao.getAlpha()*lt).toRgbString(),tableBodySortBg:On,tableFixedHeaderSortActiveBg:Ga,tableHeaderFilterActiveBg:Ra,tableFilterDropdownBg:ba,tableRowHoverBg:An,tableSelectedRowBg:Ln,tableSelectedRowHoverBg:Yn,zIndexTableFixed:wo,zIndexTableSticky:wo+1,tableFontSizeMiddle:ta,tableFontSizeSmall:da,tableSelectionColumnWidth:Va,tableExpandIconBg:Wa,tableExpandColumnWidth:wt+2*ce.padding,tableExpandedRowBg:Kn,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:vo,tableScrollThumbBgHover:me,tableScrollBg:we});return[yl(ka),gl(ka),pi(ka),hl(ka),dl(ka),rl(ka),ml(ka),ul(ka),pi(ka),ll(ka),pl(ka),cl(ka),Sl(ka),il(ka),vl(ka),fl(ka),Pl(ka)]},ce=>{const{colorFillAlter:me,colorBgContainer:we,colorTextHeading:He,colorFillSecondary:at,colorFillContent:lt,controlItemBgActive:At,controlItemBgActiveHover:wt,padding:bt,paddingSM:Yt,paddingXS:gn,colorBorderSecondary:nn,borderRadiusLG:On,fontSize:An,controlHeight:Ln,colorTextPlaceholder:Yn}=ce,Kn=new wr.C(at).onBackground(we).toHexShortString(),_n=new wr.C(lt).onBackground(we).toHexShortString(),Wn=new wr.C(me).onBackground(we).toHexShortString();return{headerBg:Wn,headerColor:He,headerSortActiveBg:Kn,headerSortHoverBg:_n,bodySortBg:Wn,rowHoverBg:Wn,rowSelectedBg:At,rowSelectedHoverBg:wt,rowExpandedBg:me,cellPaddingBlock:bt,cellPaddingInline:bt,cellPaddingBlockMD:Yt,cellPaddingInlineMD:gn,cellPaddingBlockSM:gn,cellPaddingInlineSM:gn,borderColor:nn,headerBorderRadius:On,footerBg:Wn,footerColor:He,cellFontSize:An,cellFontSizeMD:An,cellFontSizeSM:An,headerSplitColor:nn,fixedHeaderSortActiveBg:Kn,headerFilterHoverBg:lt,filterDropdownMenuBg:we,filterDropdownBg:we,expandIconBg:we,selectionColumnWidth:Ln,stickyScrollBarBg:Yn,stickyScrollBarBorderRadius:100}});const Cl=[],bl=(ce,me)=>{const{prefixCls:we,className:He,rootClassName:at,style:lt,size:At,bordered:wt,dropdownPrefixCls:bt,dataSource:Yt,pagination:gn,rowSelection:nn,rowKey:On="key",rowClassName:An,columns:Ln,children:Yn,childrenColumnName:Kn,onChange:_n,getPopupContainer:Wn,loading:aa,expandIcon:ya,expandable:Ea,expandedRowRender:fa,expandIconColumnIndex:La,indentSize:Ma,scroll:ra,sortDirections:pa,locale:ia,showSorterTooltip:ta=!0,virtual:da}=ce,wa=re.useMemo(()=>Ln||Ze(Yn),[Ln,Yn]),Ga=re.useMemo(()=>wa.some(to=>to.responsive),[wa]),Ra=(0,tr.Z)(Ga),ba=re.useMemo(()=>{const to=new Set(Object.keys(Ra).filter(ho=>Ra[ho]));return wa.filter(ho=>!ho.responsive||ho.responsive.some(Ho=>to.has(Ho)))},[wa,Ra]),Wa=(0,Jo.Z)(ce,["className","style","columns"]),{locale:Va=jo.Z,direction:vo,table:ao,renderEmpty:Ao,getPrefixCls:wo,getPopupContainer:ka}=re.useContext(mo.E_),Lo=(0,Bo.Z)(At),ro=Object.assign(Object.assign({},Va.Table),ia),Eo=Yt||Cl,yo=wo("table",we),Qo=wo("dropdown",bt),Ba=Object.assign({childrenColumnName:Kn,expandIconColumnIndex:La},Ea),{childrenColumnName:Fa="children"}=Ba,xa=re.useMemo(()=>Eo.some(to=>to==null?void 0:to[Fa])?"nest":fa||Ea&&Ea.expandedRowRender?"row":null,[Eo]),Sa={body:re.useRef()},io=re.useMemo(()=>typeof On=="function"?On:to=>to==null?void 0:to[On],[On]),[Pa]=zi(Eo,Fa,io),Da={},eo=function(to,ho){let Ho=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;var Fo,Wo,Yo;const _o=Object.assign(Object.assign({},Da),to);Ho&&((Fo=Da.resetPagination)===null||Fo===void 0||Fo.call(Da),!((Wo=_o.pagination)===null||Wo===void 0)&&Wo.current&&(_o.pagination.current=1),gn&&gn.onChange&&gn.onChange(1,(Yo=_o.pagination)===null||Yo===void 0?void 0:Yo.pageSize)),ra&&ra.scrollToFirstRowOnChange!==!1&&Sa.body.current&&(0,zo.Z)(0,{getContainer:()=>Sa.body.current}),_n==null||_n(_o.pagination,_o.filters,_o.sorter,{currentDataSource:oi(Wr(Eo,_o.sorterStates,Fa),_o.filterStates),action:ho})},Ya=(to,ho)=>{eo({sorter:to,sorterStates:ho},"sort",!1)},[Go,Zo,lr,Oo]=qi({prefixCls:yo,mergedColumns:ba,onSorterChange:Ya,sortDirections:pa||["ascend","descend"],tableLocale:ro,showSorterTooltip:ta}),ar=re.useMemo(()=>Wr(Eo,Zo,Fa),[Eo,Zo]);Da.sorter=Oo(),Da.sorterStates=Zo;const No=(to,ho)=>{eo({filters:to,filterStates:ho},"filter",!0)},[Xo,br,so]=Zi({prefixCls:yo,locale:ro,dropdownPrefixCls:Qo,mergedColumns:ba,onFilterChange:No,getPopupContainer:Wn||ka}),uo=oi(ar,br);Da.filters=so,Da.filterStates=br;const bo=re.useMemo(()=>{const to={};return Object.keys(so).forEach(ho=>{so[ho]!==null&&(to[ho]=so[ho])}),Object.assign(Object.assign({},lr),{filters:to})},[lr,so]),[Io]=el(bo),To=(to,ho)=>{eo({pagination:Object.assign(Object.assign({},Da.pagination),{current:to,pageSize:ho})},"paginate")},[Ja,Uo]=Wi(uo.length,To,gn);Da.pagination=gn===!1?{}:Gi(Ja,gn),Da.resetPagination=Uo;const Ko=re.useMemo(()=>{if(gn===!1||!Ja.pageSize)return uo;const{current:to=1,total:ho,pageSize:Ho=ii}=Ja;return uo.length<ho?uo.length>Ho?uo.slice((to-1)*Ho,to*Ho):uo:uo.slice((to-1)*Ho,to*Ho)},[!!gn,uo,Ja&&Ja.current,Ja&&Ja.pageSize,Ja&&Ja.total]),[er,gr]=Qi({prefixCls:yo,data:uo,pageData:Ko,getRowKey:io,getRecordByKey:Pa,expandType:xa,childrenColumnName:Fa,locale:ro,getPopupContainer:Wn||ka},nn),sr=(to,ho,Ho)=>{let Fo;return typeof An=="function"?Fo=Oe()(An(to,ho,Ho)):Fo=Oe()(An),Oe()({[`${yo}-row-selected`]:gr.has(io(to,ho))},Fo)};Ba.__PARENT_RENDER_ICON__=Ba.expandIcon,Ba.expandIcon=Ba.expandIcon||ya||$n(ro),xa==="nest"&&Ba.expandIconColumnIndex===void 0?Ba.expandIconColumnIndex=nn?1:0:Ba.expandIconColumnIndex>0&&nn&&(Ba.expandIconColumnIndex-=1),typeof Ba.indentSize!="number"&&(Ba.indentSize=typeof Ma=="number"?Ma:15);const Lr=re.useCallback(to=>Io(er(Xo(Go(to)))),[Go,Xo,er]);let hr,or;if(gn!==!1&&(Ja!=null&&Ja.total)){let to;Ja.size?to=Ja.size:to=Lo==="small"||Lo==="middle"?"small":void 0;const ho=Wo=>re.createElement(qo.Z,Object.assign({},Ja,{className:Oe()(`${yo}-pagination ${yo}-pagination-${Wo}`,Ja.className),size:to})),Ho=vo==="rtl"?"left":"right",{position:Fo}=Ja;if(Fo!==null&&Array.isArray(Fo)){const Wo=Fo.find(Sr=>Sr.includes("top")),Yo=Fo.find(Sr=>Sr.includes("bottom")),_o=Fo.every(Sr=>`${Sr}`=="none");!Wo&&!Yo&&!_o&&(or=ho(Ho)),Wo&&(hr=ho(Wo.toLowerCase().replace("top",""))),Yo&&(or=ho(Yo.toLowerCase().replace("bottom","")))}else or=ho(Ho)}let $o;typeof aa=="boolean"?$o={spinning:aa}:typeof aa=="object"&&($o=Object.assign({spinning:!0},aa));const[Vo,Ro]=El(yo),[,xo]=(0,jn.Z)(),mr=Oe()(`${yo}-wrapper`,ao==null?void 0:ao.className,{[`${yo}-wrapper-rtl`]:vo==="rtl"},He,at,Ro),xr=Object.assign(Object.assign({},ao==null?void 0:ao.style),lt),yr=ia&&ia.emptyText||(Ao==null?void 0:Ao("Table"))||re.createElement(po.Z,{componentName:"Table"}),fr=da?nl:tl,Ir={},Ur=re.useMemo(()=>{const{fontSize:to,lineHeight:ho,padding:Ho,paddingXS:Fo,paddingSM:Wo}=xo,Yo=Math.floor(to*ho);switch(Lo){case"large":return Ho*2+Yo;case"small":return Fo*2+Yo;default:return Wo*2+Yo}},[xo,Lo]);return da&&(Ir.listItemHeight=Ur),Vo(re.createElement("div",{ref:me,className:mr,style:xr},re.createElement(ma.Z,Object.assign({spinning:!1},$o),hr,re.createElement(fr,Object.assign({},Ir,Wa,{columns:ba,direction:vo,expandable:Ba,prefixCls:yo,className:Oe()({[`${yo}-middle`]:Lo==="middle",[`${yo}-small`]:Lo==="small",[`${yo}-bordered`]:wt,[`${yo}-empty`]:Eo.length===0}),data:Ko,rowKey:io,rowClassName:sr,emptyText:yr,internalHooks:ie,internalRefs:Sa,transformColumns:Lr})),or)))};var xl=re.forwardRef(bl);const Fl=(ce,me)=>{const we=re.useRef(0);return we.current+=1,re.createElement(xl,Object.assign({},ce,{ref:me,_renderTimes:we.current}))},vr=re.forwardRef(Fl);vr.SELECTION_COLUMN=Pr,vr.EXPAND_COLUMN=z,vr.SELECTION_ALL=zr,vr.SELECTION_INVERT=Hr,vr.SELECTION_NONE=jr,vr.Column=oo,vr.ColumnGroup=Do,vr.Summary=Se;var Bl=vr,Al=Bl},12563:function(xt,It,te){"use strict";te.d(It,{default:function(){return Be}});var z=te(59301),ie=te(99267),Ae=te(92310),je=te.n(Ae),Ee=te(36785),xe=te(47729),re=te(14088),We=te(36355),Ke=te(17313),ze=te(37613),Xe=te(83116);const mt=de=>{const{paddingXXS:et,lineWidth:Oe,tagPaddingHorizontal:Ge,componentCls:Pe}=de,ke=Ge-Oe,ot=et-Oe;return{[Pe]:Object.assign(Object.assign({},(0,Ke.Wf)(de)),{display:"inline-block",height:"auto",marginInlineEnd:de.marginXS,paddingInline:ke,fontSize:de.tagFontSize,lineHeight:de.tagLineHeight,whiteSpace:"nowrap",background:de.defaultBg,border:`${de.lineWidth}px ${de.lineType} ${de.colorBorder}`,borderRadius:de.borderRadiusSM,opacity:1,transition:`all ${de.motionDurationMid}`,textAlign:"start",position:"relative",[`&${Pe}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:de.defaultColor},[`${Pe}-close-icon`]:{marginInlineStart:ot,color:de.colorTextDescription,fontSize:de.tagIconSize,cursor:"pointer",transition:`all ${de.motionDurationMid}`,"&:hover":{color:de.colorTextHeading}},[`&${Pe}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${de.iconCls}-close, ${de.iconCls}-close:hover`]:{color:de.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${Pe}-checkable-checked):hover`]:{color:de.colorPrimary,backgroundColor:de.colorFillSecondary},"&:active, &-checked":{color:de.colorTextLightSolid},"&-checked":{backgroundColor:de.colorPrimary,"&:hover":{backgroundColor:de.colorPrimaryHover}},"&:active":{backgroundColor:de.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${de.iconCls} + span, > span + ${de.iconCls}`]:{marginInlineStart:ke}}),[`${Pe}-borderless`]:{borderColor:"transparent",background:de.tagBorderlessBg}}},Re=de=>{const{lineWidth:et,fontSizeIcon:Oe}=de,Ge=de.fontSizeSM,Pe=`${de.lineHeightSM*Ge}px`;return(0,ze.TS)(de,{tagFontSize:Ge,tagLineHeight:Pe,tagIconSize:Oe-2*et,tagPaddingHorizontal:8,tagBorderlessBg:de.colorFillTertiary})},ae=de=>({defaultBg:de.colorFillQuaternary,defaultColor:de.colorText});var y=(0,Xe.Z)("Tag",de=>{const et=Re(de);return mt(et)},ae),a=function(de,et){var Oe={};for(var Ge in de)Object.prototype.hasOwnProperty.call(de,Ge)&&et.indexOf(Ge)<0&&(Oe[Ge]=de[Ge]);if(de!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Pe=0,Ge=Object.getOwnPropertySymbols(de);Pe<Ge.length;Pe++)et.indexOf(Ge[Pe])<0&&Object.prototype.propertyIsEnumerable.call(de,Ge[Pe])&&(Oe[Ge[Pe]]=de[Ge[Pe]]);return Oe},E=de=>{const{prefixCls:et,style:Oe,className:Ge,checked:Pe,onChange:ke,onClick:ot}=de,Ue=a(de,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:it,tag:Mt}=z.useContext(We.E_),_e=Et=>{ke==null||ke(!Pe),ot==null||ot(Et)},Tt=it("tag",et),[Jt,Me]=y(Tt),De=je()(Tt,`${Tt}-checkable`,{[`${Tt}-checkable-checked`]:Pe},Mt==null?void 0:Mt.className,Ge,Me);return Jt(z.createElement("span",Object.assign({},Ue,{style:Object.assign(Object.assign({},Oe),Mt==null?void 0:Mt.style),className:De,onClick:_e})))},x=te(45157);const ee=de=>(0,x.Z)(de,(et,Oe)=>{let{textColor:Ge,lightBorderColor:Pe,lightColor:ke,darkColor:ot}=Oe;return{[`${de.componentCls}-${et}`]:{color:Ge,background:ke,borderColor:Pe,"&-inverse":{color:de.colorTextLightSolid,background:ot,borderColor:ot},[`&${de.componentCls}-borderless`]:{borderColor:"transparent"}}}});var ne=(0,Xe.b)(["Tag","preset"],de=>{const et=Re(de);return ee(et)},ae);function oe(de){return typeof de!="string"?de:de.charAt(0).toUpperCase()+de.slice(1)}const le=(de,et,Oe)=>{const Ge=oe(Oe);return{[`${de.componentCls}-${et}`]:{color:de[`color${Oe}`],background:de[`color${Ge}Bg`],borderColor:de[`color${Ge}Border`],[`&${de.componentCls}-borderless`]:{borderColor:"transparent"}}}};var ue=(0,Xe.b)(["Tag","status"],de=>{const et=Re(de);return[le(et,"success","Success"),le(et,"processing","Info"),le(et,"error","Error"),le(et,"warning","Warning")]},ae),ge=function(de,et){var Oe={};for(var Ge in de)Object.prototype.hasOwnProperty.call(de,Ge)&&et.indexOf(Ge)<0&&(Oe[Ge]=de[Ge]);if(de!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Pe=0,Ge=Object.getOwnPropertySymbols(de);Pe<Ge.length;Pe++)et.indexOf(Ge[Pe])<0&&Object.prototype.propertyIsEnumerable.call(de,Ge[Pe])&&(Oe[Ge[Pe]]=de[Ge[Pe]]);return Oe};const Ce=(de,et)=>{const{prefixCls:Oe,className:Ge,rootClassName:Pe,style:ke,children:ot,icon:Ue,color:it,onClose:Mt,closeIcon:_e,closable:Tt,bordered:Jt=!0}=de,Me=ge(de,["prefixCls","className","rootClassName","style","children","icon","color","onClose","closeIcon","closable","bordered"]),{getPrefixCls:De,direction:Et,tag:Kt}=z.useContext(We.E_),[ft,jt]=z.useState(!0);z.useEffect(()=>{"visible"in Me&&jt(Me.visible)},[Me.visible]);const Le=(0,Ee.o2)(it),Xt=(0,Ee.yT)(it),vn=Le||Xt,St=Object.assign(Object.assign({backgroundColor:it&&!vn?it:void 0},Kt==null?void 0:Kt.style),ke),ut=De("tag",Oe),[Ve,Te]=y(ut),he=je()(ut,Kt==null?void 0:Kt.className,{[`${ut}-${it}`]:vn,[`${ut}-has-color`]:it&&!vn,[`${ut}-hidden`]:!ft,[`${ut}-rtl`]:Et==="rtl",[`${ut}-borderless`]:!Jt},Ge,Pe,Te),se=Ne=>{Ne.stopPropagation(),Mt==null||Mt(Ne),!Ne.defaultPrevented&&jt(!1)},[,Ie]=(0,xe.Z)(Tt,_e,Ne=>Ne===null?z.createElement(ie.Z,{className:`${ut}-close-icon`,onClick:se}):z.createElement("span",{className:`${ut}-close-icon`,onClick:se},Ne),null,!1),dt=typeof Me.onClick=="function"||ot&&ot.type==="a",Se=Ue||null,ve=Se?z.createElement(z.Fragment,null,Se,ot&&z.createElement("span",null,ot)):ot,Je=z.createElement("span",Object.assign({},Me,{ref:et,className:he,style:St}),ve,Ie,Le&&z.createElement(ne,{key:"preset",prefixCls:ut}),Xt&&z.createElement(ue,{key:"status",prefixCls:ut}));return Ve(dt?z.createElement(re.Z,{component:"Tag"},Je):Je)},pe=z.forwardRef(Ce);pe.CheckableTag=E;var Be=pe},98228:function(xt,It,te){"use strict";te.d(It,{default:function(){return Hn}});var z=te(92310),ie=te.n(z),Ae=te(32855),je=te(3300),Ee=te(27247),xe=te(11913),re=te(43079),We=te(34666),Ke=te(77861),ze=te(17115),Xe=te(90782),mt=te(18929),Re=te(48736),ae=te(59301),y=function(rt){var Pt=ae.useRef({valueLabels:new Map});return ae.useMemo(function(){var an=Pt.current.valueLabels,Pn=new Map,Fe=rt.map(function(ht){var Rt,zt=ht.value,en=(Rt=ht.label)!==null&&Rt!==void 0?Rt:an.get(zt);return Pn.set(zt,en),(0,Ee.Z)((0,Ee.Z)({},ht),{},{label:en})});return Pt.current.valueLabels=Pn,[Fe]},[rt])},a=function(rt,Pt,an,Pn){return ae.useMemo(function(){var Fe=rt.map(function(en){var hn=en.value;return hn}),ht=Pt.map(function(en){var hn=en.value;return hn}),Rt=Fe.filter(function(en){return!Pn[en]});if(an){var zt=(0,Xe.S)(Fe,!0,Pn);Fe=zt.checkedKeys,ht=zt.halfCheckedKeys}return[Array.from(new Set([].concat((0,je.Z)(Rt),(0,je.Z)(Fe)))),ht]},[rt,Pt,an,Pn])},b=te(71430),E=function(rt,Pt){return ae.useMemo(function(){var an=(0,b.I8)(rt,{fieldNames:Pt,initWrapper:function(Fe){return(0,Ee.Z)((0,Ee.Z)({},Fe),{},{valueEntities:new Map})},processEntity:function(Fe,ht){var Rt=Fe.node[Pt.value];if(0)var zt;ht.valueEntities.set(Rt,Fe)}});return an},[rt,Pt])},x=te(74430),ee=te(11592),ne=function(){return null},oe=ne,le=["children","value"];function ue(rt){return(0,ee.Z)(rt).map(function(Pt){if(!ae.isValidElement(Pt)||!Pt.type)return null;var an=Pt,Pn=an.key,Fe=an.props,ht=Fe.children,Rt=Fe.value,zt=(0,re.Z)(Fe,le),en=(0,Ee.Z)({key:Pn,value:Rt},zt),hn=ue(ht);return hn.length&&(en.children=hn),en}).filter(function(Pt){return Pt})}function ge(rt){if(!rt)return rt;var Pt=(0,Ee.Z)({},rt);return"props"in Pt||Object.defineProperty(Pt,"props",{get:function(){return(0,Re.ZP)(!1,"New `rc-tree-select` not support return node instance as argument anymore. Please consider to remove `props` access."),Pt}}),Pt}function Ce(rt,Pt,an,Pn,Fe,ht){var Rt=null,zt=null;function en(){function hn(ln){var qe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"0",tt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return ln.map(function(Ze,Ct){var $t="".concat(qe,"-").concat(Ct),Zt=Ze[ht.value],xn=an.includes(Zt),Cn=hn(Ze[ht.children]||[],$t,xn),mn=ae.createElement(oe,Ze,Cn.map(function(na){return na.node}));if(Pt===Zt&&(Rt=mn),xn){var Mn={pos:$t,node:mn,children:Cn};return tt||zt.push(Mn),Mn}return null}).filter(function(Ze){return Ze})}zt||(zt=[],hn(Pn),zt.sort(function(ln,qe){var tt=ln.node.props.value,Ze=qe.node.props.value,Ct=an.indexOf(tt),$t=an.indexOf(Ze);return Ct-$t}))}Object.defineProperty(rt,"triggerNode",{get:function(){return(0,Re.ZP)(!1,"`triggerNode` is deprecated. Please consider decoupling data with node."),en(),Rt}}),Object.defineProperty(rt,"allCheckedNodes",{get:function(){return(0,Re.ZP)(!1,"`allCheckedNodes` is deprecated. Please consider decoupling data with node."),en(),Fe?zt:zt.map(function(ln){var qe=ln.node;return qe})}})}var pe=function(rt,Pt,an){var Pn=an.treeNodeFilterProp,Fe=an.filterTreeNode,ht=an.fieldNames,Rt=ht.children;return ae.useMemo(function(){if(!Pt||Fe===!1)return rt;var zt;if(typeof Fe=="function")zt=Fe;else{var en=Pt.toUpperCase();zt=function(qe,tt){var Ze=tt[Pn];return String(Ze).toUpperCase().includes(en)}}function hn(ln){var qe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return ln.reduce(function(tt,Ze){var Ct=Ze[Rt],$t=qe||zt(Pt,ge(Ze)),Zt=hn(Ct||[],$t);return($t||Zt.length)&&tt.push((0,Ee.Z)((0,Ee.Z)({},Ze),{},(0,x.Z)({isLeaf:void 0},Rt,Zt))),tt},[])}return hn(rt)},[rt,Pt,Rt,Pn,Fe])};function Be(rt){var Pt=ae.useRef();Pt.current=rt;var an=ae.useCallback(function(){return Pt.current.apply(Pt,arguments)},[]);return an}function de(rt,Pt){var an=Pt.id,Pn=Pt.pId,Fe=Pt.rootPId,ht={},Rt=[],zt=rt.map(function(en){var hn=(0,Ee.Z)({},en),ln=hn[an];return ht[ln]=hn,hn.key=hn.key||ln,hn});return zt.forEach(function(en){var hn=en[Pn],ln=ht[hn];ln&&(ln.children=ln.children||[],ln.children.push(en)),(hn===Fe||!ln&&Fe===null)&&Rt.push(en)}),Rt}function et(rt,Pt,an){return ae.useMemo(function(){return rt?an?de(rt,(0,Ee.Z)({id:"id",pId:"pId",rootPId:null},an!==!0?an:{})):rt:ue(Pt)},[Pt,an,rt])}var Oe=ae.createContext(null),Ge=Oe,Pe=te(10228),ke=te(80547),ot=te(54030),Ue=ae.createContext(null),it=Ue;function Mt(rt){return Array.isArray(rt)?rt:rt!==void 0?[rt]:[]}function _e(rt){var Pt=rt||{},an=Pt.label,Pn=Pt.value,Fe=Pt.children,ht=Pn||"value";return{_title:an?[an]:["title","label"],value:ht,key:ht,children:Fe||"children"}}function Tt(rt){return!rt||rt.disabled||rt.disableCheckbox||rt.checkable===!1}function Jt(rt,Pt){var an=[];function Pn(Fe){Fe.forEach(function(ht){var Rt=ht[Pt.children];Rt&&(an.push(ht[Pt.value]),Pn(Rt))})}return Pn(rt),an}function Me(rt){return rt==null}var De={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},Et=function(Pt,an){var Pn=(0,Ke.lk)(),Fe=Pn.prefixCls,ht=Pn.multiple,Rt=Pn.searchValue,zt=Pn.toggleOpen,en=Pn.open,hn=Pn.notFoundContent,ln=ae.useContext(it),qe=ln.virtual,tt=ln.listHeight,Ze=ln.listItemHeight,Ct=ln.treeData,$t=ln.fieldNames,Zt=ln.onSelect,xn=ln.dropdownMatchSelectWidth,Cn=ln.treeExpandAction,mn=ae.useContext(Ge),Mn=mn.checkable,na=mn.checkedKeys,sn=mn.halfCheckedKeys,Un=mn.treeExpandedKeys,oa=mn.treeDefaultExpandAll,ca=mn.treeDefaultExpandedKeys,la=mn.onTreeExpand,$e=mn.treeIcon,Ht=mn.showTreeIcon,yt=mn.switcherIcon,qt=mn.treeLine,dn=mn.treeNodeFilterProp,Sn=mn.loadData,Qe=mn.treeLoadedKeys,Ye=mn.treeMotion,Bt=mn.onTreeLoad,cn=mn.keyEntities,vt=ae.useRef(),kn=(0,ke.Z)(function(){return Ct},[en,Ct],function(Ca,Qa){return Qa[0]&&Ca[1]!==Qa[1]}),Nn=ae.useState(null),Xn=(0,xe.Z)(Nn,2),Vn=Xn[0],pn=Xn[1],En=cn[Vn],wn=ae.useMemo(function(){return Mn?{checked:na,halfChecked:sn}:null},[Mn,na,sn]);ae.useEffect(function(){if(en&&!ht&&na.length){var Ca;(Ca=vt.current)===null||Ca===void 0||Ca.scrollTo({key:na[0]}),pn(na[0])}},[en]);var Fn=String(Rt).toLowerCase(),ea=function(Qa){return Fn?String(Qa[dn]).toLowerCase().includes(Fn):!1},ga=ae.useState(ca),Jn=(0,xe.Z)(ga,2),Qn=Jn[0],va=Jn[1],Oa=ae.useState(null),_a=(0,xe.Z)(Oa,2),fo=_a[0],Za=_a[1],Ia=ae.useMemo(function(){return Un?(0,je.Z)(Un):Rt?fo:Qn},[Qn,fo,Un,Rt]);ae.useEffect(function(){Rt&&Za(Jt(Ct,$t))},[Rt]);var Ka=function(Qa){va(Qa),Za(Qa),la&&la(Qa)},Ha=function(Qa){Qa.preventDefault()},ja=function(Qa,Xa){var za=Xa.node;Mn&&Tt(za)||(Zt(za.key,{selected:!na.includes(za.key)}),ht||zt(!1))};if(ae.useImperativeHandle(an,function(){var Ca;return{scrollTo:(Ca=vt.current)===null||Ca===void 0?void 0:Ca.scrollTo,onKeyDown:function(Xa){var za,no=Xa.which;switch(no){case Pe.Z.UP:case Pe.Z.DOWN:case Pe.Z.LEFT:case Pe.Z.RIGHT:(za=vt.current)===null||za===void 0||za.onKeyDown(Xa);break;case Pe.Z.ENTER:{if(En){var lo=(En==null?void 0:En.node)||{},ha=lo.selectable,Ua=lo.value;ha!==!1&&ja(null,{node:{key:Vn},selected:!na.includes(Ua)})}break}case Pe.Z.ESC:zt(!1)}},onKeyUp:function(){}}}),kn.length===0)return ae.createElement("div",{role:"listbox",className:"".concat(Fe,"-empty"),onMouseDown:Ha},hn);var sa={fieldNames:$t};return Qe&&(sa.loadedKeys=Qe),Ia&&(sa.expandedKeys=Ia),ae.createElement("div",{onMouseDown:Ha},En&&en&&ae.createElement("span",{style:De,"aria-live":"assertive"},En.node.value),ae.createElement(ot.Z,(0,Ae.Z)({ref:vt,focusable:!1,prefixCls:"".concat(Fe,"-tree"),treeData:kn,height:tt,itemHeight:Ze,virtual:qe!==!1&&xn!==!1,multiple:ht,icon:$e,showIcon:Ht,switcherIcon:yt,showLine:qt,loadData:Rt?null:Sn,motion:Ye,activeKey:Vn,checkable:Mn,checkStrictly:!0,checkedKeys:wn,selectedKeys:Mn?[]:na,defaultExpandAll:oa},sa,{onActiveChange:pn,onSelect:ja,onCheck:ja,onExpand:Ka,onLoad:Bt,filterTreeNode:ea,expandAction:Cn})))},Kt=ae.forwardRef(Et);Kt.displayName="OptionList";var ft=Kt,jt="SHOW_ALL",Le="SHOW_PARENT",Xt="SHOW_CHILD";function vn(rt,Pt,an,Pn){var Fe=new Set(rt);return Pt===Xt?rt.filter(function(ht){var Rt=an[ht];return!(Rt&&Rt.children&&Rt.children.some(function(zt){var en=zt.node;return Fe.has(en[Pn.value])})&&Rt.children.every(function(zt){var en=zt.node;return Tt(en)||Fe.has(en[Pn.value])}))}):Pt===Le?rt.filter(function(ht){var Rt=an[ht],zt=Rt?Rt.parent:null;return!(zt&&!Tt(zt.node)&&Fe.has(zt.key))}):rt}function St(rt){var Pt=rt.searchPlaceholder,an=rt.treeCheckStrictly,Pn=rt.treeCheckable,Fe=rt.labelInValue,ht=rt.value,Rt=rt.multiple;warning(!Pt,"`searchPlaceholder` has been removed."),an&&Fe===!1&&warning(!1,"`treeCheckStrictly` will force set `labelInValue` to `true`."),(Fe||an)&&warning(toArray(ht).every(function(zt){return zt&&_typeof(zt)==="object"&&"value"in zt}),"Invalid prop `value` supplied to `TreeSelect`. You should use { label: string, value: string | number } or [{ label: string, value: string | number }] instead."),an||Rt||Pn?warning(!ht||Array.isArray(ht),"`value` should be an array when `TreeSelect` is checkable or multiple."):warning(!Array.isArray(ht),"`value` should not be array when `TreeSelect` is single mode.")}var ut=null,Ve=["id","prefixCls","value","defaultValue","onChange","onSelect","onDeselect","searchValue","inputValue","onSearch","autoClearSearchValue","filterTreeNode","treeNodeFilterProp","showCheckedStrategy","treeNodeLabelProp","multiple","treeCheckable","treeCheckStrictly","labelInValue","fieldNames","treeDataSimpleMode","treeData","children","loadData","treeLoadedKeys","onTreeLoad","treeDefaultExpandAll","treeExpandedKeys","treeDefaultExpandedKeys","onTreeExpand","treeExpandAction","virtual","listHeight","listItemHeight","onDropdownVisibleChange","dropdownMatchSelectWidth","treeLine","treeIcon","showTreeIcon","switcherIcon","treeMotion"];function Te(rt){return!rt||(0,We.Z)(rt)!=="object"}var he=ae.forwardRef(function(rt,Pt){var an=rt.id,Pn=rt.prefixCls,Fe=Pn===void 0?"rc-tree-select":Pn,ht=rt.value,Rt=rt.defaultValue,zt=rt.onChange,en=rt.onSelect,hn=rt.onDeselect,ln=rt.searchValue,qe=rt.inputValue,tt=rt.onSearch,Ze=rt.autoClearSearchValue,Ct=Ze===void 0?!0:Ze,$t=rt.filterTreeNode,Zt=rt.treeNodeFilterProp,xn=Zt===void 0?"value":Zt,Cn=rt.showCheckedStrategy,mn=rt.treeNodeLabelProp,Mn=rt.multiple,na=rt.treeCheckable,sn=rt.treeCheckStrictly,Un=rt.labelInValue,oa=rt.fieldNames,ca=rt.treeDataSimpleMode,la=rt.treeData,$e=rt.children,Ht=rt.loadData,yt=rt.treeLoadedKeys,qt=rt.onTreeLoad,dn=rt.treeDefaultExpandAll,Sn=rt.treeExpandedKeys,Qe=rt.treeDefaultExpandedKeys,Ye=rt.onTreeExpand,Bt=rt.treeExpandAction,cn=rt.virtual,vt=rt.listHeight,kn=vt===void 0?200:vt,Nn=rt.listItemHeight,Xn=Nn===void 0?20:Nn,Vn=rt.onDropdownVisibleChange,pn=rt.dropdownMatchSelectWidth,En=pn===void 0?!0:pn,wn=rt.treeLine,Fn=rt.treeIcon,ea=rt.showTreeIcon,ga=rt.switcherIcon,Jn=rt.treeMotion,Qn=(0,re.Z)(rt,Ve),va=(0,ze.ZP)(an),Oa=na&&!sn,_a=na||sn,fo=sn||Un,Za=_a||Mn,Ia=(0,mt.Z)(Rt,{value:ht}),Ka=(0,xe.Z)(Ia,2),Ha=Ka[0],ja=Ka[1],sa=ae.useMemo(function(){return na?Cn||Xt:jt},[Cn,na]),Ca=ae.useMemo(function(){return _e(oa)},[JSON.stringify(oa)]),Qa=(0,mt.Z)("",{value:ln!==void 0?ln:qe,postState:function(Zn){return Zn||""}}),Xa=(0,xe.Z)(Qa,2),za=Xa[0],no=Xa[1],lo=function(Zn){no(Zn),tt==null||tt(Zn)},ha=et(la,$e,ca),Ua=E(ha,Ca),Ta=Ua.keyEntities,oo=Ua.valueEntities,So=ae.useCallback(function(Rn){var Zn=[],Gn=[];return Rn.forEach(function(ua){oo.has(ua)?Gn.push(ua):Zn.push(ua)}),{missingRawValues:Zn,existRawValues:Gn}},[oo]),Do=pe(ha,za,{fieldNames:Ca,treeNodeFilterProp:xn,filterTreeNode:$t}),Jo=ae.useCallback(function(Rn){if(Rn){if(mn)return Rn[mn];for(var Zn=Ca._title,Gn=0;Gn<Zn.length;Gn+=1){var ua=Rn[Zn[Gn]];if(ua!==void 0)return ua}}},[Ca,mn]),zo=ae.useCallback(function(Rn){var Zn=Mt(Rn);return Zn.map(function(Gn){return Te(Gn)?{value:Gn}:Gn})},[]),mo=ae.useCallback(function(Rn){var Zn=zo(Rn);return Zn.map(function(Gn){var ua=Gn.label,Na=Gn.value,$a=Gn.halfChecked,qa,Po=oo.get(Na);if(Po){var Mo;ua=(Mo=ua)!==null&&Mo!==void 0?Mo:Jo(Po.node),qa=Po.node.disabled}else if(ua===void 0){var ko=zo(Ha).find(function(ur){return ur.value===Na});ua=ko.label}return{label:ua,value:Na,halfChecked:$a,disabled:qa}})},[oo,Jo,zo,Ha]),po=ae.useMemo(function(){return zo(Ha)},[zo,Ha]),Bo=ae.useMemo(function(){var Rn=[],Zn=[];return po.forEach(function(Gn){Gn.halfChecked?Zn.push(Gn):Rn.push(Gn)}),[Rn,Zn]},[po]),tr=(0,xe.Z)(Bo,2),jo=tr[0],qo=tr[1],ma=ae.useMemo(function(){return jo.map(function(Rn){return Rn.value})},[jo]),jn=a(jo,qo,Oa,Ta),zn=(0,xe.Z)(jn,2),$n=zn[0],Aa=zn[1],fe=ae.useMemo(function(){var Rn=vn($n,sa,Ta,Ca),Zn=Rn.map(function($a){var qa,Po,Mo;return(qa=(Po=Ta[$a])===null||Po===void 0||(Mo=Po.node)===null||Mo===void 0?void 0:Mo[Ca.value])!==null&&qa!==void 0?qa:$a}),Gn=Zn.map(function($a){var qa=jo.find(function(Po){return Po.value===$a});return{value:$a,label:qa==null?void 0:qa.label}}),ua=mo(Gn),Na=ua[0];return!Za&&Na&&Me(Na.value)&&Me(Na.label)?[]:ua.map(function($a){var qa;return(0,Ee.Z)((0,Ee.Z)({},$a),{},{label:(qa=$a.label)!==null&&qa!==void 0?qa:$a.value})})},[Ca,Za,$n,jo,mo,sa,Ta]),kt=y(fe),tn=(0,xe.Z)(kt,1),Bn=tn[0],Dt=Be(function(Rn,Zn,Gn){var ua=mo(Rn);if(ja(ua),Ct&&no(""),zt){var Na=Rn;if(Oa){var $a=vn(Rn,sa,Ta,Ca);Na=$a.map(function(ir){var cr=oo.get(ir);return cr?cr.node[Ca.value]:ir})}var qa=Zn||{triggerValue:void 0,selected:void 0},Po=qa.triggerValue,Mo=qa.selected,ko=Na;if(sn){var ur=qo.filter(function(ir){return!Na.includes(ir.value)});ko=[].concat((0,je.Z)(ko),(0,je.Z)(ur))}var dr=mo(ko),nr={preValue:jo,triggerValue:Po},pr=!0;(sn||Gn==="selection"&&!Mo)&&(pr=!1),Ce(nr,Po,Rn,ha,pr,Ca),_a?nr.checked=Mo:nr.selected=Mo;var Fr=fo?dr:dr.map(function(ir){return ir.value});zt(Za?Fr:Fr[0],fo?null:dr.map(function(ir){return ir.label}),nr)}}),In=ae.useCallback(function(Rn,Zn){var Gn,ua=Zn.selected,Na=Zn.source,$a=Ta[Rn],qa=$a==null?void 0:$a.node,Po=(Gn=qa==null?void 0:qa[Ca.value])!==null&&Gn!==void 0?Gn:Rn;if(!Za)Dt([Po],{selected:!0,triggerValue:Po},"option");else{var Mo=ua?[].concat((0,je.Z)(ma),[Po]):$n.filter(function(cr){return cr!==Po});if(Oa){var ko=So(Mo),ur=ko.missingRawValues,dr=ko.existRawValues,nr=dr.map(function(cr){return oo.get(cr).key}),pr;if(ua){var Fr=(0,Xe.S)(nr,!0,Ta);pr=Fr.checkedKeys}else{var ir=(0,Xe.S)(nr,{checked:!1,halfCheckedKeys:Aa},Ta);pr=ir.checkedKeys}Mo=[].concat((0,je.Z)(ur),(0,je.Z)(pr.map(function(cr){return Ta[cr].node[Ca.value]})))}Dt(Mo,{selected:ua,triggerValue:Po},Na||"option")}ua||!Za?en==null||en(Po,ge(qa)):hn==null||hn(Po,ge(qa))},[So,oo,Ta,Ca,Za,ma,Dt,Oa,en,hn,$n,Aa]),Dn=ae.useCallback(function(Rn){if(Vn){var Zn={};Object.defineProperty(Zn,"documentClickClose",{get:function(){return(0,Re.ZP)(!1,"Second param of `onDropdownVisibleChange` has been removed."),!1}}),Vn(Rn,Zn)}},[Vn]),rn=Be(function(Rn,Zn){var Gn=Rn.map(function(ua){return ua.value});if(Zn.type==="clear"){Dt(Gn,{},"selection");return}Zn.values.length&&In(Zn.values[0].value,{selected:!1,source:"selection"})}),yn=ae.useMemo(function(){return{virtual:cn,dropdownMatchSelectWidth:En,listHeight:kn,listItemHeight:Xn,treeData:Do,fieldNames:Ca,onSelect:In,treeExpandAction:Bt}},[cn,En,kn,Xn,Do,Ca,In,Bt]),qn=ae.useMemo(function(){return{checkable:_a,loadData:Ht,treeLoadedKeys:yt,onTreeLoad:qt,checkedKeys:$n,halfCheckedKeys:Aa,treeDefaultExpandAll:dn,treeExpandedKeys:Sn,treeDefaultExpandedKeys:Qe,onTreeExpand:Ye,treeIcon:Fn,treeMotion:Jn,showTreeIcon:ea,switcherIcon:ga,treeLine:wn,treeNodeFilterProp:xn,keyEntities:Ta}},[_a,Ht,yt,qt,$n,Aa,dn,Sn,Qe,Ye,Fn,Jn,ea,ga,wn,xn,Ta]);return ae.createElement(it.Provider,{value:yn},ae.createElement(Ge.Provider,{value:qn},ae.createElement(Ke.Ac,(0,Ae.Z)({ref:Pt},Qn,{id:va,prefixCls:Fe,mode:Za?"multiple":void 0,displayValues:Bn,onDisplayValuesChange:rn,searchValue:za,onSearch:lo,OptionList:ft,emptyOptions:!ha.length,onDropdownVisibleChange:Dn,dropdownMatchSelectWidth:En}))))}),se=he;se.TreeNode=oe,se.SHOW_ALL=jt,se.SHOW_PARENT=Le,se.SHOW_CHILD=Xt;var Ie=se,dt=Ie,Se=te(2738),ve=te(53487),Je=te(62892),Ne=te(19080),ye=te(36355),nt=te(1684),_t=te(93891),gt=te(19716),Gt=te(32441),Ot=te(14154),Ut=te(58582),be=te(84443),st=te(66339),pt=te(33234),ct=te(71997),Nt=te(98447),Vt=te(37613),on=te(83116),Qt=te(20648);const bn=rt=>{const{componentCls:Pt,treePrefixCls:an,colorBgElevated:Pn}=rt,Fe=`.${an}`;return[{[`${Pt}-dropdown`]:[{padding:`${rt.paddingXS}px ${rt.paddingXS/2}px`},(0,Qt.Yk)(an,(0,Vt.TS)(rt,{colorBgContainer:Pn})),{[Fe]:{borderRadius:0,[`${Fe}-list-holder-inner`]:{alignItems:"stretch",[`${Fe}-treenode`]:{[`${Fe}-node-content-wrapper`]:{flex:"auto"}}}}},(0,Nt.C2)(`${an}-checkbox`,rt),{"&-rtl":{direction:"rtl",[`${Fe}-switcher${Fe}-switcher_close`]:{[`${Fe}-switcher-icon svg`]:{transform:"rotate(90deg)"}}}}]}]};function Tn(rt,Pt){return(0,on.Z)("TreeSelect",an=>{const Pn=(0,Vt.TS)(an,{treePrefixCls:Pt});return[bn(Pn)]},Qt.TM)(rt)}var Lt=function(rt,Pt){var an={};for(var Pn in rt)Object.prototype.hasOwnProperty.call(rt,Pn)&&Pt.indexOf(Pn)<0&&(an[Pn]=rt[Pn]);if(rt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Fe=0,Pn=Object.getOwnPropertySymbols(rt);Fe<Pn.length;Fe++)Pt.indexOf(Pn[Fe])<0&&Object.prototype.propertyIsEnumerable.call(rt,Pn[Fe])&&(an[Pn[Fe]]=rt[Pn[Fe]]);return an};const Ft=(rt,Pt)=>{var an,{prefixCls:Pn,size:Fe,disabled:ht,bordered:Rt=!0,className:zt,rootClassName:en,treeCheckable:hn,multiple:ln,listHeight:qe=256,listItemHeight:tt=26,placement:Ze,notFoundContent:Ct,switcherIcon:$t,treeLine:Zt,getPopupContainer:xn,popupClassName:Cn,dropdownClassName:mn,treeIcon:Mn=!1,transitionName:na,choiceTransitionName:sn="",status:Un,treeExpandAction:oa,builtinPlacements:ca,dropdownMatchSelectWidth:la,popupMatchSelectWidth:$e,allowClear:Ht}=rt,yt=Lt(rt,["prefixCls","size","disabled","bordered","className","rootClassName","treeCheckable","multiple","listHeight","listItemHeight","placement","notFoundContent","switcherIcon","treeLine","getPopupContainer","popupClassName","dropdownClassName","treeIcon","transitionName","choiceTransitionName","status","treeExpandAction","builtinPlacements","dropdownMatchSelectWidth","popupMatchSelectWidth","allowClear"]);const{getPopupContainer:qt,getPrefixCls:dn,renderEmpty:Sn,direction:Qe,virtual:Ye,popupMatchSelectWidth:Bt,popupOverflow:cn}=ae.useContext(ye.E_),vt=dn(),kn=dn("select",Pn),Nn=dn("select-tree",Pn),Xn=dn("tree-select",Pn),{compactSize:Vn,compactItemClassnames:pn}=(0,pt.ri)(kn,Qe),[En,wn]=(0,Ot.Z)(kn),[Fn]=Tn(Xn,Nn),ea=ie()(Cn||mn,`${Xn}-dropdown`,{[`${Xn}-dropdown-rtl`]:Qe==="rtl"},en,wn),ga=!!(hn||ln),Jn=(0,be.Z)(yt.suffixIcon,yt.showArrow),Qn=(an=$e!=null?$e:la)!==null&&an!==void 0?an:Bt,{status:va,hasFeedback:Oa,isFormItemInput:_a,feedbackIcon:fo}=ae.useContext(Gt.aM),Za=(0,Ne.F)(va,Un),{suffixIcon:Ia,removeIcon:Ka,clearIcon:Ha}=(0,st.Z)(Object.assign(Object.assign({},yt),{multiple:ga,showSuffixIcon:Jn,hasFeedback:Oa,feedbackIcon:fo,prefixCls:kn,componentName:"TreeSelect"})),ja=Ht===!0?{clearIcon:Ha}:Ht;let sa;Ct!==void 0?sa=Ct:sa=(Sn==null?void 0:Sn("Select"))||ae.createElement(_t.Z,{componentName:"Select"});const Ca=(0,Se.Z)(yt,["suffixIcon","itemIcon","removeIcon","clearIcon","switcherIcon"]),Qa=ae.useMemo(()=>Ze!==void 0?Ze:Qe==="rtl"?"bottomRight":"bottomLeft",[Ze,Qe]),Xa=(0,Ut.Z)(ca,cn),za=(0,gt.Z)(oo=>{var So;return(So=Fe!=null?Fe:Vn)!==null&&So!==void 0?So:oo}),no=ae.useContext(nt.Z),lo=ht!=null?ht:no,ha=ie()(!Pn&&Xn,{[`${kn}-lg`]:za==="large",[`${kn}-sm`]:za==="small",[`${kn}-rtl`]:Qe==="rtl",[`${kn}-borderless`]:!Rt,[`${kn}-in-form-item`]:_a},(0,Ne.Z)(kn,Za,Oa),pn,zt,en,wn),Ua=oo=>ae.createElement(ct.Z,{prefixCls:Nn,switcherIcon:$t,treeNodeProps:oo,showLine:Zt}),Ta=ae.createElement(dt,Object.assign({virtual:Ye,disabled:lo},Ca,{dropdownMatchSelectWidth:Qn,builtinPlacements:Xa,ref:Pt,prefixCls:kn,className:ha,listHeight:qe,listItemHeight:tt,treeCheckable:hn&&ae.createElement("span",{className:`${kn}-tree-checkbox-inner`}),treeLine:!!Zt,suffixIcon:Ia,multiple:ga,placement:Qa,removeIcon:Ka,allowClear:ja,switcherIcon:Ua,showTreeIcon:Mn,notFoundContent:sa,getPopupContainer:xn||qt,treeMotion:null,dropdownClassName:ea,choiceTransitionName:(0,Je.m)(vt,"",sn),transitionName:(0,Je.m)(vt,"slide-up",na),treeExpandAction:oa}));return En(Fn(Ta))},fn=ae.forwardRef(Ft),un=(0,ve.Z)(fn);fn.TreeNode=oe,fn.SHOW_ALL=jt,fn.SHOW_PARENT=Le,fn.SHOW_CHILD=Xt,fn._InternalPanelDoNotUseOrYouWillBeFired=un;var Hn=fn},17574:function(xt,It,te){"use strict";te.d(It,{default:function(){return it}});var z=te(54030),ie=te(3300),Ae=te(52671),je=te(8657),Ee=te(32855),xe=te(59301),re={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 298.4H521L403.7 186.2a8.15 8.15 0 00-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32zM840 768H184V256h188.5l119.6 114.4H840V768z"}}]},name:"folder",theme:"outlined"},We=re,Ke=te(7657),ze=function(_e,Tt){return xe.createElement(Ke.Z,(0,Ee.Z)({},_e,{ref:Tt,icon:We}))},Xe=xe.forwardRef(ze),mt=Xe,Re=te(92310),ae=te.n(Re),y=te(35654),a=te(71430),b=te(36355),E=te(56082),x=te(62892),ee=te(20648);const ne=4;function oe(Mt){const{dropPosition:_e,dropLevelOffset:Tt,prefixCls:Jt,indent:Me,direction:De="ltr"}=Mt,Et=De==="ltr"?"left":"right",Kt=De==="ltr"?"right":"left",ft={[Et]:-Tt*Me+ne,[Kt]:0};switch(_e){case-1:ft.top=-3;break;case 1:ft.bottom=-3;break;default:ft.bottom=-3,ft[Et]=Me+ne;break}return xe.createElement("div",{style:ft,className:`${Jt}-drop-indicator`})}var le=te(71997),ge=xe.forwardRef((Mt,_e)=>{const{getPrefixCls:Tt,direction:Jt,virtual:Me,tree:De}=xe.useContext(b.E_),{prefixCls:Et,className:Kt,showIcon:ft=!1,showLine:jt,switcherIcon:Le,blockNode:Xt=!1,children:vn,checkable:St=!1,selectable:ut=!0,draggable:Ve,motion:Te,style:he}=Mt,se=Tt("tree",Et),Ie=Tt(),dt=Te!=null?Te:Object.assign(Object.assign({},(0,x.Z)(Ie)),{motionAppear:!1}),Se=Object.assign(Object.assign({},Mt),{checkable:St,selectable:ut,showIcon:ft,motion:dt,blockNode:Xt,showLine:!!jt,dropIndicatorRender:oe}),[ve,Je]=(0,ee.ZP)(se),Ne=xe.useMemo(()=>{if(!Ve)return!1;let nt={};switch(typeof Ve){case"function":nt.nodeDraggable=Ve;break;case"object":nt=Object.assign({},Ve);break;default:break}return nt.icon!==!1&&(nt.icon=nt.icon||xe.createElement(E.Z,null)),nt},[Ve]),ye=nt=>xe.createElement(le.Z,{prefixCls:se,switcherIcon:Le,treeNodeProps:nt,showLine:jt});return ve(xe.createElement(z.Z,Object.assign({itemHeight:20,ref:_e,virtual:Me},Se,{style:Object.assign(Object.assign({},De==null?void 0:De.style),he),prefixCls:se,className:ae()({[`${se}-icon-hide`]:!ft,[`${se}-block-node`]:Xt,[`${se}-unselectable`]:!ut,[`${se}-rtl`]:Jt==="rtl"},De==null?void 0:De.className,Kt,Je),direction:Jt,checkable:St&&xe.createElement("span",{className:`${se}-checkbox-inner`}),selectable:ut,switcherIcon:ye,draggable:Ne}),vn))}),Ce;(function(Mt){Mt[Mt.None=0]="None",Mt[Mt.Start=1]="Start",Mt[Mt.End=2]="End"})(Ce||(Ce={}));function pe(Mt,_e){function Tt(Jt){const{key:Me,children:De}=Jt;_e(Me,Jt)!==!1&&pe(De||[],_e)}Mt.forEach(Tt)}function Be(Mt){let{treeData:_e,expandedKeys:Tt,startKey:Jt,endKey:Me}=Mt;const De=[];let Et=Ce.None;if(Jt&&Jt===Me)return[Jt];if(!Jt||!Me)return[];function Kt(ft){return ft===Jt||ft===Me}return pe(_e,ft=>{if(Et===Ce.End)return!1;if(Kt(ft)){if(De.push(ft),Et===Ce.None)Et=Ce.Start;else if(Et===Ce.Start)return Et=Ce.End,!1}else Et===Ce.Start&&De.push(ft);return Tt.includes(ft)}),De}function de(Mt,_e){const Tt=(0,ie.Z)(_e),Jt=[];return pe(Mt,(Me,De)=>{const Et=Tt.indexOf(Me);return Et!==-1&&(Jt.push(De),Tt.splice(Et,1)),!!Tt.length}),Jt}var et=function(Mt,_e){var Tt={};for(var Jt in Mt)Object.prototype.hasOwnProperty.call(Mt,Jt)&&_e.indexOf(Jt)<0&&(Tt[Jt]=Mt[Jt]);if(Mt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Me=0,Jt=Object.getOwnPropertySymbols(Mt);Me<Jt.length;Me++)_e.indexOf(Jt[Me])<0&&Object.prototype.propertyIsEnumerable.call(Mt,Jt[Me])&&(Tt[Jt[Me]]=Mt[Jt[Me]]);return Tt};function Oe(Mt){const{isLeaf:_e,expanded:Tt}=Mt;return _e?xe.createElement(Ae.Z,null):Tt?xe.createElement(je.Z,null):xe.createElement(mt,null)}function Ge(Mt){let{treeData:_e,children:Tt}=Mt;return _e||(0,a.zn)(Tt)}const Pe=(Mt,_e)=>{var{defaultExpandAll:Tt,defaultExpandParent:Jt,defaultExpandedKeys:Me}=Mt,De=et(Mt,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);const Et=xe.useRef(),Kt=xe.useRef(),ft=()=>{const{keyEntities:Ne}=(0,a.I8)(Ge(De));let ye;return Tt?ye=Object.keys(Ne):Jt?ye=(0,y.r7)(De.expandedKeys||Me||[],Ne):ye=De.expandedKeys||Me,ye},[jt,Le]=xe.useState(De.selectedKeys||De.defaultSelectedKeys||[]),[Xt,vn]=xe.useState(()=>ft());xe.useEffect(()=>{"selectedKeys"in De&&Le(De.selectedKeys)},[De.selectedKeys]),xe.useEffect(()=>{"expandedKeys"in De&&vn(De.expandedKeys)},[De.expandedKeys]);const St=(Ne,ye)=>{var nt;return"expandedKeys"in De||vn(Ne),(nt=De.onExpand)===null||nt===void 0?void 0:nt.call(De,Ne,ye)},ut=(Ne,ye)=>{var nt;const{multiple:_t}=De,{node:gt,nativeEvent:Gt}=ye,{key:Ot=""}=gt,Ut=Ge(De),be=Object.assign(Object.assign({},ye),{selected:!0}),st=(Gt==null?void 0:Gt.ctrlKey)||(Gt==null?void 0:Gt.metaKey),pt=Gt==null?void 0:Gt.shiftKey;let ct;_t&&st?(ct=Ne,Et.current=Ot,Kt.current=ct,be.selectedNodes=de(Ut,ct)):_t&&pt?(ct=Array.from(new Set([].concat((0,ie.Z)(Kt.current||[]),(0,ie.Z)(Be({treeData:Ut,expandedKeys:Xt,startKey:Ot,endKey:Et.current}))))),be.selectedNodes=de(Ut,ct)):(ct=[Ot],Et.current=Ot,Kt.current=ct,be.selectedNodes=de(Ut,ct)),(nt=De.onSelect)===null||nt===void 0||nt.call(De,ct,be),"selectedKeys"in De||Le(ct)},{getPrefixCls:Ve,direction:Te}=xe.useContext(b.E_),{prefixCls:he,className:se,showIcon:Ie=!0,expandAction:dt="click"}=De,Se=et(De,["prefixCls","className","showIcon","expandAction"]),ve=Ve("tree",he),Je=ae()(`${ve}-directory`,{[`${ve}-directory-rtl`]:Te==="rtl"},se);return xe.createElement(ge,Object.assign({icon:Oe,ref:_e,blockNode:!0},Se,{showIcon:Ie,expandAction:dt,prefixCls:ve,className:Je,expandedKeys:Xt,selectedKeys:jt,onSelect:ut,onExpand:St}))};var ot=xe.forwardRef(Pe);const Ue=ge;Ue.DirectoryTree=ot,Ue.TreeNode=z.O;var it=Ue},20648:function(xt,It,te){"use strict";te.d(It,{TM:function(){return Re},Yk:function(){return mt}});var z=te(36237),ie=te(98447),Ae=te(17313),je=te(8378),Ee=te(37613),xe=te(83116);const re=new z.Keyframes("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),We=(ae,y)=>({[`.${ae}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${y.motionDurationSlow}`}}}),Ke=(ae,y)=>({[`.${ae}-drop-indicator`]:{position:"absolute",zIndex:1,height:2,backgroundColor:y.colorPrimary,borderRadius:1,pointerEvents:"none","&:after":{position:"absolute",top:-3,insetInlineStart:-6,width:8,height:8,backgroundColor:"transparent",border:`${y.lineWidthBold}px solid ${y.colorPrimary}`,borderRadius:"50%",content:'""'}}}),ze=(ae,y)=>{const{treeCls:a,treeNodeCls:b,treeNodePadding:E,titleHeight:x,nodeSelectedBg:ee,nodeHoverBg:ne}=y,oe=y.paddingXS;return{[a]:Object.assign(Object.assign({},(0,Ae.Wf)(y)),{background:y.colorBgContainer,borderRadius:y.borderRadius,transition:`background-color ${y.motionDurationSlow}`,[`&${a}-rtl`]:{[`${a}-switcher`]:{"&_close":{[`${a}-switcher-icon`]:{svg:{transform:"rotate(90deg)"}}}}},[`&-focused:not(:hover):not(${a}-active-focused)`]:Object.assign({},(0,Ae.oN)(y)),[`${a}-list-holder-inner`]:{alignItems:"flex-start"},[`&${a}-block-node`]:{[`${a}-list-holder-inner`]:{alignItems:"stretch",[`${a}-node-content-wrapper`]:{flex:"auto"},[`${b}.dragging`]:{position:"relative","&:after":{position:"absolute",top:0,insetInlineEnd:0,bottom:E,insetInlineStart:0,border:`1px solid ${y.colorPrimary}`,opacity:0,animationName:re,animationDuration:y.motionDurationSlow,animationPlayState:"running",animationFillMode:"forwards",content:'""',pointerEvents:"none"}}}},[`${b}`]:{display:"flex",alignItems:"flex-start",padding:`0 0 ${E}px 0`,outline:"none","&-rtl":{direction:"rtl"},"&-disabled":{[`${a}-node-content-wrapper`]:{color:y.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"}}},[`&-active ${a}-node-content-wrapper`]:Object.assign({},(0,Ae.oN)(y)),[`&:not(${b}-disabled).filter-node ${a}-title`]:{color:"inherit",fontWeight:500},"&-draggable":{[`${a}-draggable-icon`]:{flexShrink:0,width:x,lineHeight:`${x}px`,textAlign:"center",visibility:"visible",opacity:.2,transition:`opacity ${y.motionDurationSlow}`,[`${b}:hover &`]:{opacity:.45}},[`&${b}-disabled`]:{[`${a}-draggable-icon`]:{visibility:"hidden"}}}},[`${a}-indent`]:{alignSelf:"stretch",whiteSpace:"nowrap",userSelect:"none","&-unit":{display:"inline-block",width:x}},[`${a}-draggable-icon`]:{visibility:"hidden"},[`${a}-switcher`]:Object.assign(Object.assign({},We(ae,y)),{position:"relative",flex:"none",alignSelf:"stretch",width:x,margin:0,lineHeight:`${x}px`,textAlign:"center",cursor:"pointer",userSelect:"none","&-noop":{cursor:"default"},"&_close":{[`${a}-switcher-icon`]:{svg:{transform:"rotate(-90deg)"}}},"&-loading-icon":{color:y.colorPrimary},"&-leaf-line":{position:"relative",zIndex:1,display:"inline-block",width:"100%",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:x/2,bottom:-E,marginInlineStart:-1,borderInlineEnd:`1px solid ${y.colorBorder}`,content:'""'},"&:after":{position:"absolute",width:x/2*.8,height:x/2,borderBottom:`1px solid ${y.colorBorder}`,content:'""'}}}),[`${a}-checkbox`]:{top:"initial",marginInlineEnd:oe},[`${a}-node-content-wrapper, ${a}-checkbox + span`]:{position:"relative",zIndex:"auto",minHeight:x,margin:0,padding:`0 ${y.paddingXS/2}px`,color:"inherit",lineHeight:`${x}px`,background:"transparent",borderRadius:y.borderRadius,cursor:"pointer",transition:`all ${y.motionDurationMid}, border 0s, line-height 0s, box-shadow 0s`,"&:hover":{backgroundColor:ne},[`&${a}-node-selected`]:{backgroundColor:ee},[`${a}-iconEle`]:{display:"inline-block",width:x,height:x,lineHeight:`${x}px`,textAlign:"center",verticalAlign:"top","&:empty":{display:"none"}}},[`${a}-unselectable ${a}-node-content-wrapper:hover`]:{backgroundColor:"transparent"},[`${a}-node-content-wrapper`]:Object.assign({lineHeight:`${x}px`,userSelect:"none"},Ke(ae,y)),[`${b}.drop-container`]:{"> [draggable]":{boxShadow:`0 0 0 2px ${y.colorPrimary}`}},"&-show-line":{[`${a}-indent`]:{"&-unit":{position:"relative",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:x/2,bottom:-E,borderInlineEnd:`1px solid ${y.colorBorder}`,content:'""'},"&-end":{"&:before":{display:"none"}}}},[`${a}-switcher`]:{background:"transparent","&-line-icon":{verticalAlign:"-0.15em"}}},[`${b}-leaf-last`]:{[`${a}-switcher`]:{"&-leaf-line":{"&:before":{top:"auto !important",bottom:"auto !important",height:`${x/2}px !important`}}}}})}},Xe=ae=>{const{treeCls:y,treeNodeCls:a,treeNodePadding:b,directoryNodeSelectedBg:E,directoryNodeSelectedColor:x}=ae;return{[`${y}${y}-directory`]:{[a]:{position:"relative","&:before":{position:"absolute",top:0,insetInlineEnd:0,bottom:b,insetInlineStart:0,transition:`background-color ${ae.motionDurationMid}`,content:'""',pointerEvents:"none"},"&:hover":{"&:before":{background:ae.controlItemBgHover}},"> *":{zIndex:1},[`${y}-switcher`]:{transition:`color ${ae.motionDurationMid}`},[`${y}-node-content-wrapper`]:{borderRadius:0,userSelect:"none","&:hover":{background:"transparent"},[`&${y}-node-selected`]:{color:x,background:"transparent"}},"&-selected":{"\n &:hover::before,\n &::before\n ":{background:E},[`${y}-switcher`]:{color:x},[`${y}-node-content-wrapper`]:{color:x,background:"transparent"}}}}}},mt=(ae,y)=>{const a=`.${ae}`,b=`${a}-treenode`,E=y.paddingXS/2,x=(0,Ee.TS)(y,{treeCls:a,treeNodeCls:b,treeNodePadding:E});return[ze(ae,x),Xe(x)]},Re=ae=>{const{controlHeightSM:y}=ae;return{titleHeight:y,nodeHoverBg:ae.controlItemBgHover,nodeSelectedBg:ae.controlItemBgActive}};It.ZP=(0,xe.Z)("Tree",(ae,y)=>{let{prefixCls:a}=y;return[{[ae.componentCls]:(0,ie.C2)(`${a}-checkbox`,ae)},mt(a,ae),(0,je.Z)(ae)]},ae=>{const{colorTextLightSolid:y,colorPrimary:a}=ae;return Object.assign(Object.assign({},Re(ae)),{directoryNodeSelectedColor:y,directoryNodeSelectedBg:a})})},71997:function(xt,It,te){"use strict";te.d(It,{Z:function(){return b}});var z=te(32855),ie=te(59301),Ae={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"},je=Ae,Ee=te(7657),xe=function(x,ee){return ie.createElement(Ee.Z,(0,z.Z)({},x,{ref:ee,icon:je}))},re=ie.forwardRef(xe),We=re,Ke=te(52671),ze=te(58617),Xe=te(15075),mt=te(43531),Re=te(92310),ae=te.n(Re),y=te(92343),b=E=>{const{prefixCls:x,switcherIcon:ee,treeNodeProps:ne,showLine:oe}=E,{isLeaf:le,expanded:ue,loading:ge}=ne;if(ge)return ie.createElement(ze.Z,{className:`${x}-switcher-loading-icon`});let Ce;if(oe&&typeof oe=="object"&&(Ce=oe.showLeafIcon),le){if(!oe)return null;if(typeof Ce!="boolean"&&Ce){const de=typeof Ce=="function"?Ce(ne):Ce,et=`${x}-switcher-line-custom-icon`;return(0,y.l$)(de)?(0,y.Tm)(de,{className:ae()(de.props.className||"",et)}):de}return Ce?ie.createElement(Ke.Z,{className:`${x}-switcher-line-icon`}):ie.createElement("span",{className:`${x}-switcher-leaf-line`})}const pe=`${x}-switcher-icon`,Be=typeof ee=="function"?ee(ne):ee;return(0,y.l$)(Be)?(0,y.Tm)(Be,{className:ae()(Be.props.className||"",pe)}):Be!==void 0?Be:oe?ue?ie.createElement(Xe.Z,{className:`${x}-switcher-line-icon`}):ie.createElement(mt.Z,{className:`${x}-switcher-line-icon`}):ie.createElement(We,{className:pe})}},54580:function(xt,It,te){"use strict";te.d(It,{default:function(){return la}});var z=te(59301),ie=te(3300),Ae=te(92310),je=te.n(Ae),Ee=te(32855),xe=te(33377),re=te(93912),We=te(18881),Ke=te(85461),ze=te(74430),Xe=te(43079),mt=te(13932),Re=te(34666),ae=te(68702),y=te(26112);function a($e,Ht){var yt="cannot ".concat($e.method," ").concat($e.action," ").concat(Ht.status,"'"),qt=new Error(yt);return qt.status=Ht.status,qt.method=$e.method,qt.url=$e.action,qt}function b($e){var Ht=$e.responseText||$e.response;if(!Ht)return Ht;try{return JSON.parse(Ht)}catch(yt){return Ht}}function E($e){var Ht=new XMLHttpRequest;$e.onProgress&&Ht.upload&&(Ht.upload.onprogress=function(Sn){Sn.total>0&&(Sn.percent=Sn.loaded/Sn.total*100),$e.onProgress(Sn)});var yt=new FormData;$e.data&&Object.keys($e.data).forEach(function(dn){var Sn=$e.data[dn];if(Array.isArray(Sn)){Sn.forEach(function(Qe){yt.append("".concat(dn,"[]"),Qe)});return}yt.append(dn,Sn)}),$e.file instanceof Blob?yt.append($e.filename,$e.file,$e.file.name):yt.append($e.filename,$e.file),Ht.onerror=function(Sn){$e.onError(Sn)},Ht.onload=function(){return Ht.status<200||Ht.status>=300?$e.onError(a($e,Ht),b(Ht)):$e.onSuccess(b(Ht),Ht)},Ht.open($e.method,$e.action,!0),$e.withCredentials&&"withCredentials"in Ht&&(Ht.withCredentials=!0);var qt=$e.headers||{};return qt["X-Requested-With"]!==null&&Ht.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(qt).forEach(function(dn){qt[dn]!==null&&Ht.setRequestHeader(dn,qt[dn])}),Ht.send(yt),{abort:function(){Ht.abort()}}}var x=+new Date,ee=0;function ne(){return"rc-upload-".concat(x,"-").concat(++ee)}var oe=te(48736),le=function($e,Ht){if($e&&Ht){var yt=Array.isArray(Ht)?Ht:Ht.split(","),qt=$e.name||"",dn=$e.type||"",Sn=dn.replace(/\/.*$/,"");return yt.some(function(Qe){var Ye=Qe.trim();if(/^\*(\/\*)?$/.test(Qe))return!0;if(Ye.charAt(0)==="."){var Bt=qt.toLowerCase(),cn=Ye.toLowerCase(),vt=[cn];return(cn===".jpg"||cn===".jpeg")&&(vt=[".jpg",".jpeg"]),vt.some(function(kn){return Bt.endsWith(kn)})}return/\/\*$/.test(Ye)?Sn===Ye.replace(/\/.*$/,""):dn===Ye?!0:/^\w+$/.test(Ye)?((0,oe.ZP)(!1,"Upload takes an invalidate 'accept' type '".concat(Ye,"'.Skip for check.")),!0):!1})}return!0};function ue($e,Ht){var yt=$e.createReader(),qt=[];function dn(){yt.readEntries(function(Sn){var Qe=Array.prototype.slice.apply(Sn);qt=qt.concat(Qe);var Ye=!Qe.length;Ye?Ht(qt):dn()})}dn()}var ge=function(Ht,yt,qt){var dn=function Sn(Qe,Ye){Qe&&(Qe.path=Ye||"",Qe.isFile?Qe.file(function(Bt){qt(Bt)&&(Qe.fullPath&&!Bt.webkitRelativePath&&(Object.defineProperties(Bt,{webkitRelativePath:{writable:!0}}),Bt.webkitRelativePath=Qe.fullPath.replace(/^\//,""),Object.defineProperties(Bt,{webkitRelativePath:{writable:!1}})),yt([Bt]))}):Qe.isDirectory&&ue(Qe,function(Bt){Bt.forEach(function(cn){Sn(cn,"".concat(Ye).concat(Qe.name,"/"))})}))};Ht.forEach(function(Sn){dn(Sn.webkitGetAsEntry())})},Ce=ge,pe=["component","prefixCls","className","disabled","id","style","multiple","accept","capture","children","directory","openFileDialogOnClick","onMouseEnter","onMouseLeave"],Be=function($e){(0,We.Z)(yt,$e);var Ht=(0,Ke.Z)(yt);function yt(){var qt;(0,xe.Z)(this,yt);for(var dn=arguments.length,Sn=new Array(dn),Qe=0;Qe<dn;Qe++)Sn[Qe]=arguments[Qe];return qt=Ht.call.apply(Ht,[this].concat(Sn)),qt.state={uid:ne()},qt.reqs={},qt.fileInput=void 0,qt._isMounted=void 0,qt.onChange=function(Ye){var Bt=qt.props,cn=Bt.accept,vt=Bt.directory,kn=Ye.target.files,Nn=(0,ie.Z)(kn).filter(function(Xn){return!vt||le(Xn,cn)});qt.uploadFiles(Nn),qt.reset()},qt.onClick=function(Ye){var Bt=qt.fileInput;if(Bt){var cn=Ye.target,vt=qt.props.onClick;if(cn&&cn.tagName==="BUTTON"){var kn=Bt.parentNode;kn.focus(),cn.blur()}Bt.click(),vt&&vt(Ye)}},qt.onKeyDown=function(Ye){Ye.key==="Enter"&&qt.onClick(Ye)},qt.onFileDrop=function(Ye){var Bt=qt.props.multiple;if(Ye.preventDefault(),Ye.type!=="dragover")if(qt.props.directory)Ce(Array.prototype.slice.call(Ye.dataTransfer.items),qt.uploadFiles,function(vt){return le(vt,qt.props.accept)});else{var cn=(0,ie.Z)(Ye.dataTransfer.files).filter(function(vt){return le(vt,qt.props.accept)});Bt===!1&&(cn=cn.slice(0,1)),qt.uploadFiles(cn)}},qt.uploadFiles=function(Ye){var Bt=(0,ie.Z)(Ye),cn=Bt.map(function(vt){return vt.uid=ne(),qt.processFile(vt,Bt)});Promise.all(cn).then(function(vt){var kn=qt.props.onBatchStart;kn==null||kn(vt.map(function(Nn){var Xn=Nn.origin,Vn=Nn.parsedFile;return{file:Xn,parsedFile:Vn}})),vt.filter(function(Nn){return Nn.parsedFile!==null}).forEach(function(Nn){qt.post(Nn)})})},qt.processFile=function(){var Ye=(0,ae.Z)((0,mt.Z)().mark(function Bt(cn,vt){var kn,Nn,Xn,Vn,pn,En,wn,Fn,ea;return(0,mt.Z)().wrap(function(Jn){for(;;)switch(Jn.prev=Jn.next){case 0:if(kn=qt.props.beforeUpload,Nn=cn,!kn){Jn.next=14;break}return Jn.prev=3,Jn.next=6,kn(cn,vt);case 6:Nn=Jn.sent,Jn.next=12;break;case 9:Jn.prev=9,Jn.t0=Jn.catch(3),Nn=!1;case 12:if(Nn!==!1){Jn.next=14;break}return Jn.abrupt("return",{origin:cn,parsedFile:null,action:null,data:null});case 14:if(Xn=qt.props.action,typeof Xn!="function"){Jn.next=21;break}return Jn.next=18,Xn(cn);case 18:Vn=Jn.sent,Jn.next=22;break;case 21:Vn=Xn;case 22:if(pn=qt.props.data,typeof pn!="function"){Jn.next=29;break}return Jn.next=26,pn(cn);case 26:En=Jn.sent,Jn.next=30;break;case 29:En=pn;case 30:return wn=((0,Re.Z)(Nn)==="object"||typeof Nn=="string")&&Nn?Nn:cn,wn instanceof File?Fn=wn:Fn=new File([wn],cn.name,{type:cn.type}),ea=Fn,ea.uid=cn.uid,Jn.abrupt("return",{origin:cn,data:En,parsedFile:ea,action:Vn});case 35:case"end":return Jn.stop()}},Bt,null,[[3,9]])}));return function(Bt,cn){return Ye.apply(this,arguments)}}(),qt.saveFileInput=function(Ye){qt.fileInput=Ye},qt}return(0,re.Z)(yt,[{key:"componentDidMount",value:function(){this._isMounted=!0}},{key:"componentWillUnmount",value:function(){this._isMounted=!1,this.abort()}},{key:"post",value:function(dn){var Sn=this,Qe=dn.data,Ye=dn.origin,Bt=dn.action,cn=dn.parsedFile;if(this._isMounted){var vt=this.props,kn=vt.onStart,Nn=vt.customRequest,Xn=vt.name,Vn=vt.headers,pn=vt.withCredentials,En=vt.method,wn=Ye.uid,Fn=Nn||E,ea={action:Bt,filename:Xn,data:Qe,file:cn,headers:Vn,withCredentials:pn,method:En||"post",onProgress:function(Jn){var Qn=Sn.props.onProgress;Qn==null||Qn(Jn,cn)},onSuccess:function(Jn,Qn){var va=Sn.props.onSuccess;va==null||va(Jn,cn,Qn),delete Sn.reqs[wn]},onError:function(Jn,Qn){var va=Sn.props.onError;va==null||va(Jn,Qn,cn),delete Sn.reqs[wn]}};kn(Ye),this.reqs[wn]=Fn(ea)}}},{key:"reset",value:function(){this.setState({uid:ne()})}},{key:"abort",value:function(dn){var Sn=this.reqs;if(dn){var Qe=dn.uid?dn.uid:dn;Sn[Qe]&&Sn[Qe].abort&&Sn[Qe].abort(),delete Sn[Qe]}else Object.keys(Sn).forEach(function(Ye){Sn[Ye]&&Sn[Ye].abort&&Sn[Ye].abort(),delete Sn[Ye]})}},{key:"render",value:function(){var dn=this.props,Sn=dn.component,Qe=dn.prefixCls,Ye=dn.className,Bt=dn.disabled,cn=dn.id,vt=dn.style,kn=dn.multiple,Nn=dn.accept,Xn=dn.capture,Vn=dn.children,pn=dn.directory,En=dn.openFileDialogOnClick,wn=dn.onMouseEnter,Fn=dn.onMouseLeave,ea=(0,Xe.Z)(dn,pe),ga=je()((0,ze.Z)((0,ze.Z)((0,ze.Z)({},Qe,!0),"".concat(Qe,"-disabled"),Bt),Ye,Ye)),Jn=pn?{directory:"directory",webkitdirectory:"webkitdirectory"}:{},Qn=Bt?{}:{onClick:En?this.onClick:function(){},onKeyDown:En?this.onKeyDown:function(){},onMouseEnter:wn,onMouseLeave:Fn,onDrop:this.onFileDrop,onDragOver:this.onFileDrop,tabIndex:"0"};return z.createElement(Sn,(0,Ee.Z)({},Qn,{className:ga,role:"button",style:vt}),z.createElement("input",(0,Ee.Z)({},(0,y.Z)(ea,{aria:!0,data:!0}),{id:cn,disabled:Bt,type:"file",ref:this.saveFileInput,onClick:function(Oa){return Oa.stopPropagation()},key:this.state.uid,style:{display:"none"},accept:Nn},Jn,{multiple:kn,onChange:this.onChange},Xn!=null?{capture:Xn}:{})),Vn)}}]),yt}(z.Component),de=Be;function et(){}var Oe=function($e){(0,We.Z)(yt,$e);var Ht=(0,Ke.Z)(yt);function yt(){var qt;(0,xe.Z)(this,yt);for(var dn=arguments.length,Sn=new Array(dn),Qe=0;Qe<dn;Qe++)Sn[Qe]=arguments[Qe];return qt=Ht.call.apply(Ht,[this].concat(Sn)),qt.uploader=void 0,qt.saveUploader=function(Ye){qt.uploader=Ye},qt}return(0,re.Z)(yt,[{key:"abort",value:function(dn){this.uploader.abort(dn)}},{key:"render",value:function(){return z.createElement(de,(0,Ee.Z)({},this.props,{ref:this.saveUploader}))}}]),yt}(z.Component);Oe.defaultProps={component:"span",prefixCls:"rc-upload",data:{},headers:{},name:"file",multipart:!1,onStart:et,onError:et,onSuccess:et,multiple:!1,beforeUpload:null,customRequest:null,withCredentials:!1,openFileDialogOnClick:!0};var Ge=Oe,Pe=Ge,ke=te(18929),ot=te(4676),Ue=te(36355),it=te(1684),Mt=te(9763),_e=te(31724),Tt={icon:function(Ht,yt){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M534 352V136H232v752h560V394H576a42 42 0 01-42-42z",fill:yt}},{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.7zM602 137.8L790.2 326H602V137.8zM792 888H232V136h302v216a42 42 0 0042 42h216v494z",fill:Ht}}]}},name:"file",theme:"twotone"},Jt=Tt,Me=te(7657),De=function(Ht,yt){return z.createElement(Me.Z,(0,Ee.Z)({},Ht,{ref:yt,icon:Jt}))},Et=z.forwardRef(De),Kt=Et,ft=te(58617),jt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M779.3 196.6c-94.2-94.2-247.6-94.2-341.7 0l-261 260.8c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l261-260.8c32.4-32.4 75.5-50.2 121.3-50.2s88.9 17.8 121.2 50.2c32.4 32.4 50.2 75.5 50.2 121.2 0 45.8-17.8 88.8-50.2 121.2l-266 265.9-43.1 43.1c-40.3 40.3-105.8 40.3-146.1 0-19.5-19.5-30.2-45.4-30.2-73s10.7-53.5 30.2-73l263.9-263.8c6.7-6.6 15.5-10.3 24.9-10.3h.1c9.4 0 18.1 3.7 24.7 10.3 6.7 6.7 10.3 15.5 10.3 24.9 0 9.3-3.7 18.1-10.3 24.7L372.4 653c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l215.6-215.6c19.9-19.9 30.8-46.3 30.8-74.4s-11-54.6-30.8-74.4c-41.1-41.1-107.9-41-149 0L463 364 224.8 602.1A172.22 172.22 0 00174 724.8c0 46.3 18.1 89.8 50.8 122.5 33.9 33.8 78.3 50.7 122.7 50.7 44.4 0 88.8-16.9 122.6-50.7l309.2-309C824.8 492.7 850 432 850 367.5c.1-64.6-25.1-125.3-70.7-170.9z"}}]},name:"paper-clip",theme:"outlined"},Le=jt,Xt=function(Ht,yt){return z.createElement(Me.Z,(0,Ee.Z)({},Ht,{ref:yt,icon:Le}))},vn=z.forwardRef(Xt),St=vn,ut={icon:function(Ht,yt){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 632H136v-39.9l138.5-164.3 150.1 178L658.1 489 888 761.6V792zm0-129.8L664.2 396.8c-3.2-3.8-9-3.8-12.2 0L424.6 666.4l-144-170.7c-3.2-3.8-9-3.8-12.2 0L136 652.7V232h752v430.2z",fill:Ht}},{tag:"path",attrs:{d:"M424.6 765.8l-150.1-178L136 752.1V792h752v-30.4L658.1 489z",fill:yt}},{tag:"path",attrs:{d:"M136 652.7l132.4-157c3.2-3.8 9-3.8 12.2 0l144 170.7L652 396.8c3.2-3.8 9-3.8 12.2 0L888 662.2V232H136v420.7zM304 280a88 88 0 110 176 88 88 0 010-176z",fill:yt}},{tag:"path",attrs:{d:"M276 368a28 28 0 1056 0 28 28 0 10-56 0z",fill:yt}},{tag:"path",attrs:{d:"M304 456a88 88 0 100-176 88 88 0 000 176zm0-116c15.5 0 28 12.5 28 28s-12.5 28-28 28-28-12.5-28-28 12.5-28 28-28z",fill:Ht}}]}},name:"picture",theme:"twotone"},Ve=ut,Te=function(Ht,yt){return z.createElement(Me.Z,(0,Ee.Z)({},Ht,{ref:yt,icon:Ve}))},he=z.forwardRef(Te),se=he,Ie=te(77900),dt=te(56762),Se=te(62892),ve=te(92343),Je=te(3113);function Ne($e){return Object.assign(Object.assign({},$e),{lastModified:$e.lastModified,lastModifiedDate:$e.lastModifiedDate,name:$e.name,size:$e.size,type:$e.type,uid:$e.uid,percent:0,originFileObj:$e})}function ye($e,Ht){const yt=(0,ie.Z)(Ht),qt=yt.findIndex(dn=>{let{uid:Sn}=dn;return Sn===$e.uid});return qt===-1?yt.push($e):yt[qt]=$e,yt}function nt($e,Ht){const yt=$e.uid!==void 0?"uid":"name";return Ht.filter(qt=>qt[yt]===$e[yt])[0]}function _t($e,Ht){const yt=$e.uid!==void 0?"uid":"name",qt=Ht.filter(dn=>dn[yt]!==$e[yt]);return qt.length===Ht.length?null:qt}const gt=function(){const Ht=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:"").split("/"),qt=Ht[Ht.length-1].split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(qt)||[""])[0]},Gt=$e=>$e.indexOf("image/")===0,Ot=$e=>{if($e.type&&!$e.thumbUrl)return Gt($e.type);const Ht=$e.thumbUrl||$e.url||"",yt=gt(Ht);return/^data:image\//.test(Ht)||/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico|heic|heif)$/i.test(yt)?!0:!(/^data:/.test(Ht)||yt)},Ut=200;function be($e){return new Promise(Ht=>{if(!$e.type||!Gt($e.type)){Ht("");return}const yt=document.createElement("canvas");yt.width=Ut,yt.height=Ut,yt.style.cssText=`position: fixed; left: 0; top: 0; width: ${Ut}px; height: ${Ut}px; z-index: 9999; display: none;`,document.body.appendChild(yt);const qt=yt.getContext("2d"),dn=new Image;if(dn.onload=()=>{const{width:Sn,height:Qe}=dn;let Ye=Ut,Bt=Ut,cn=0,vt=0;Sn>Qe?(Bt=Qe*(Ut/Sn),vt=-(Bt-Ye)/2):(Ye=Sn*(Ut/Qe),cn=-(Ye-Bt)/2),qt.drawImage(dn,cn,vt,Ye,Bt);const kn=yt.toDataURL();document.body.removeChild(yt),window.URL.revokeObjectURL(dn.src),Ht(kn)},dn.crossOrigin="anonymous",$e.type.startsWith("image/svg+xml")){const Sn=new FileReader;Sn.onload=()=>{Sn.result&&(dn.src=Sn.result)},Sn.readAsDataURL($e)}else if($e.type.startsWith("image/gif")){const Sn=new FileReader;Sn.onload=()=>{Sn.result&&Ht(Sn.result)},Sn.readAsDataURL($e)}else dn.src=window.URL.createObjectURL($e)})}var st=te(26227),pt=te(41464),ct=te(15277),Nt=te(93948),Vt=te(6848),Qt=z.forwardRef(($e,Ht)=>{let{prefixCls:yt,className:qt,style:dn,locale:Sn,listType:Qe,file:Ye,items:Bt,progress:cn,iconRender:vt,actionIconRender:kn,itemRender:Nn,isImgUrl:Xn,showPreviewIcon:Vn,showRemoveIcon:pn,showDownloadIcon:En,previewIcon:wn,removeIcon:Fn,downloadIcon:ea,onPreview:ga,onDownload:Jn,onClose:Qn}=$e;var va,Oa;const{status:_a}=Ye,[fo,Za]=z.useState(_a);z.useEffect(()=>{_a!=="removed"&&Za(_a)},[_a]);const[Ia,Ka]=z.useState(!1);z.useEffect(()=>{const mo=setTimeout(()=>{Ka(!0)},300);return()=>{clearTimeout(mo)}},[]);const Ha=vt(Ye);let ja=z.createElement("div",{className:`${yt}-icon`},Ha);if(Qe==="picture"||Qe==="picture-card"||Qe==="picture-circle")if(fo==="uploading"||!Ye.thumbUrl&&!Ye.url){const mo=je()(`${yt}-list-item-thumbnail`,{[`${yt}-list-item-file`]:fo!=="uploading"});ja=z.createElement("div",{className:mo},Ha)}else{const mo=Xn!=null&&Xn(Ye)?z.createElement("img",{src:Ye.thumbUrl||Ye.url,alt:Ye.name,className:`${yt}-list-item-image`,crossOrigin:Ye.crossOrigin}):Ha,po=je()(`${yt}-list-item-thumbnail`,{[`${yt}-list-item-file`]:Xn&&!Xn(Ye)});ja=z.createElement("a",{className:po,onClick:Bo=>ga(Ye,Bo),href:Ye.url||Ye.thumbUrl,target:"_blank",rel:"noopener noreferrer"},mo)}const sa=je()(`${yt}-list-item`,`${yt}-list-item-${fo}`),Ca=typeof Ye.linkProps=="string"?JSON.parse(Ye.linkProps):Ye.linkProps,Qa=pn?kn((typeof Fn=="function"?Fn(Ye):Fn)||z.createElement(st.Z,null),()=>Qn(Ye),yt,Sn.removeFile):null,Xa=En&&fo==="done"?kn((typeof ea=="function"?ea(Ye):ea)||z.createElement(pt.Z,null),()=>Jn(Ye),yt,Sn.downloadFile):null,za=Qe!=="picture-card"&&Qe!=="picture-circle"&&z.createElement("span",{key:"download-delete",className:je()(`${yt}-list-item-actions`,{picture:Qe==="picture"})},Xa,Qa),no=je()(`${yt}-list-item-name`),lo=Ye.url?[z.createElement("a",Object.assign({key:"view",target:"_blank",rel:"noopener noreferrer",className:no,title:Ye.name},Ca,{href:Ye.url,onClick:mo=>ga(Ye,mo)}),Ye.name),za]:[z.createElement("span",{key:"view",className:no,onClick:mo=>ga(Ye,mo),title:Ye.name},Ye.name),za],ha={pointerEvents:"none",opacity:.5},Ua=Vn?z.createElement("a",{href:Ye.url||Ye.thumbUrl,target:"_blank",rel:"noopener noreferrer",style:Ye.url||Ye.thumbUrl?void 0:ha,onClick:mo=>ga(Ye,mo),title:Sn.previewFile},typeof wn=="function"?wn(Ye):wn||z.createElement(ct.Z,null)):null,Ta=(Qe==="picture-card"||Qe==="picture-circle")&&fo!=="uploading"&&z.createElement("span",{className:`${yt}-list-item-actions`},Ua,fo==="done"&&Xa,Qa),{getPrefixCls:oo}=z.useContext(Ue.E_),So=oo(),Do=z.createElement("div",{className:sa},ja,lo,Ta,Ia&&z.createElement(Ie.default,{motionName:`${So}-fade`,visible:fo==="uploading",motionDeadline:2e3},mo=>{let{className:po}=mo;const Bo="percent"in Ye?z.createElement(Nt.Z,Object.assign({},cn,{type:"line",percent:Ye.percent,"aria-label":Ye["aria-label"],"aria-labelledby":Ye["aria-labelledby"]})):null;return z.createElement("div",{className:je()(`${yt}-list-item-progress`,po)},Bo)})),Jo=Ye.response&&typeof Ye.response=="string"?Ye.response:((va=Ye.error)===null||va===void 0?void 0:va.statusText)||((Oa=Ye.error)===null||Oa===void 0?void 0:Oa.message)||Sn.uploadError,zo=fo==="error"?z.createElement(Vt.Z,{title:Jo,getPopupContainer:mo=>mo.parentNode},Do):Do;return z.createElement("div",{className:je()(`${yt}-list-item-container`,qt),style:dn,ref:Ht},Nn?Nn(zo,Ye,Bt,{download:Jn.bind(null,Ye),preview:ga.bind(null,Ye),remove:Qn.bind(null,Ye)}):zo)});const bn=($e,Ht)=>{const{listType:yt="text",previewFile:qt=be,onPreview:dn,onDownload:Sn,onRemove:Qe,locale:Ye,iconRender:Bt,isImageUrl:cn=Ot,prefixCls:vt,items:kn=[],showPreviewIcon:Nn=!0,showRemoveIcon:Xn=!0,showDownloadIcon:Vn=!1,removeIcon:pn,previewIcon:En,downloadIcon:wn,progress:Fn={size:[-1,2],showInfo:!1},appendAction:ea,appendActionVisible:ga=!0,itemRender:Jn,disabled:Qn}=$e,va=(0,dt.Z)(),[Oa,_a]=z.useState(!1);z.useEffect(()=>{yt!=="picture"&&yt!=="picture-card"&&yt!=="picture-circle"||(kn||[]).forEach(ha=>{typeof document=="undefined"||typeof window=="undefined"||!window.FileReader||!window.File||!(ha.originFileObj instanceof File||ha.originFileObj instanceof Blob)||ha.thumbUrl!==void 0||(ha.thumbUrl="",qt&&qt(ha.originFileObj).then(Ua=>{ha.thumbUrl=Ua||"",va()}))})},[yt,kn,qt]),z.useEffect(()=>{_a(!0)},[]);const fo=(ha,Ua)=>{if(dn)return Ua==null||Ua.preventDefault(),dn(ha)},Za=ha=>{typeof Sn=="function"?Sn(ha):ha.url&&window.open(ha.url)},Ia=ha=>{Qe==null||Qe(ha)},Ka=ha=>{if(Bt)return Bt(ha,yt);const Ua=ha.status==="uploading",Ta=cn&&cn(ha)?z.createElement(se,null):z.createElement(Kt,null);let oo=Ua?z.createElement(ft.Z,null):z.createElement(St,null);return yt==="picture"?oo=Ua?z.createElement(ft.Z,null):Ta:(yt==="picture-card"||yt==="picture-circle")&&(oo=Ua?Ye.uploading:Ta),oo},Ha=(ha,Ua,Ta,oo)=>{const So={type:"text",size:"small",title:oo,onClick:Do=>{Ua(),(0,ve.l$)(ha)&&ha.props.onClick&&ha.props.onClick(Do)},className:`${Ta}-list-item-action`,disabled:Qn};if((0,ve.l$)(ha)){const Do=(0,ve.Tm)(ha,Object.assign(Object.assign({},ha.props),{onClick:()=>{}}));return z.createElement(Je.ZP,Object.assign({},So,{icon:Do}))}return z.createElement(Je.ZP,Object.assign({},So),z.createElement("span",null,ha))};z.useImperativeHandle(Ht,()=>({handlePreview:fo,handleDownload:Za}));const{getPrefixCls:ja}=z.useContext(Ue.E_),sa=ja("upload",vt),Ca=ja(),Qa=je()(`${sa}-list`,`${sa}-list-${yt}`),Xa=(0,ie.Z)(kn.map(ha=>({key:ha.uid,file:ha})));let no={motionDeadline:2e3,motionName:`${sa}-${yt==="picture-card"||yt==="picture-circle"?"animate-inline":"animate"}`,keys:Xa,motionAppear:Oa};const lo=z.useMemo(()=>{const ha=Object.assign({},(0,Se.Z)(Ca));return delete ha.onAppearEnd,delete ha.onEnterEnd,delete ha.onLeaveEnd,ha},[Ca]);return yt!=="picture-card"&&yt!=="picture-circle"&&(no=Object.assign(Object.assign({},lo),no)),z.createElement("div",{className:Qa},z.createElement(Ie.CSSMotionList,Object.assign({},no,{component:!1}),ha=>{let{key:Ua,file:Ta,className:oo,style:So}=ha;return z.createElement(Qt,{key:Ua,locale:Ye,prefixCls:sa,className:oo,style:So,file:Ta,items:kn,progress:Fn,listType:yt,isImgUrl:cn,showPreviewIcon:Nn,showRemoveIcon:Xn,showDownloadIcon:Vn,removeIcon:pn,previewIcon:En,downloadIcon:wn,iconRender:Ka,actionIconRender:Ha,itemRender:Jn,onPreview:fo,onDownload:Za,onClose:Ia})}),ea&&z.createElement(Ie.default,Object.assign({},no,{visible:ga,forceRender:!0}),ha=>{let{className:Ua,style:Ta}=ha;return(0,ve.Tm)(ea,oo=>({className:je()(oo.className,Ua),style:Object.assign(Object.assign(Object.assign({},Ta),{pointerEvents:Ua?"none":void 0}),oo.style)}))}))};var Lt=z.forwardRef(bn),Ft=te(17313),Wt=te(8378),fn=te(83116),un=te(37613),rt=$e=>{const{componentCls:Ht,iconCls:yt}=$e;return{[`${Ht}-wrapper`]:{[`${Ht}-drag`]:{position:"relative",width:"100%",height:"100%",textAlign:"center",background:$e.colorFillAlter,border:`${$e.lineWidth}px dashed ${$e.colorBorder}`,borderRadius:$e.borderRadiusLG,cursor:"pointer",transition:`border-color ${$e.motionDurationSlow}`,[Ht]:{padding:`${$e.padding}px 0`},[`${Ht}-btn`]:{display:"table",width:"100%",height:"100%",outline:"none"},[`${Ht}-drag-container`]:{display:"table-cell",verticalAlign:"middle"},[`&:not(${Ht}-disabled):hover`]:{borderColor:$e.colorPrimaryHover},[`p${Ht}-drag-icon`]:{marginBottom:$e.margin,[yt]:{color:$e.colorPrimary,fontSize:$e.uploadThumbnailSize}},[`p${Ht}-text`]:{margin:`0 0 ${$e.marginXXS}px`,color:$e.colorTextHeading,fontSize:$e.fontSizeLG},[`p${Ht}-hint`]:{color:$e.colorTextDescription,fontSize:$e.fontSize},[`&${Ht}-disabled`]:{cursor:"not-allowed",[`p${Ht}-drag-icon ${yt},
p${Ht}-text,
p${Ht}-hint
`]:{color:$e.colorTextDisabled}}}}}},an=$e=>{const{componentCls:Ht,antCls:yt,iconCls:qt,fontSize:dn,lineHeight:Sn}=$e,Qe=`${Ht}-list-item`,Ye=`${Qe}-actions`,Bt=`${Qe}-action`,cn=Math.round(dn*Sn);return{[`${Ht}-wrapper`]:{[`${Ht}-list`]:Object.assign(Object.assign({},(0,Ft.dF)()),{lineHeight:$e.lineHeight,[Qe]:{position:"relative",height:$e.lineHeight*dn,marginTop:$e.marginXS,fontSize:dn,display:"flex",alignItems:"center",transition:`background-color ${$e.motionDurationSlow}`,"&:hover":{backgroundColor:$e.controlItemBgHover},[`${Qe}-name`]:Object.assign(Object.assign({},Ft.vS),{padding:`0 ${$e.paddingXS}px`,lineHeight:Sn,flex:"auto",transition:`all ${$e.motionDurationSlow}`}),[Ye]:{[Bt]:{opacity:0},[`${Bt}${yt}-btn-sm`]:{height:cn,border:0,lineHeight:1,"> span":{transform:"scale(1)"}},[`
${Bt}:focus-visible,
&.picture ${Bt}
`]:{opacity:1},[qt]:{color:$e.actionsColor,transition:`all ${$e.motionDurationSlow}`},[`&:hover ${qt}`]:{color:$e.colorText}},[`${Ht}-icon ${qt}`]:{color:$e.colorTextDescription,fontSize:dn},[`${Qe}-progress`]:{position:"absolute",bottom:-$e.uploadProgressOffset,width:"100%",paddingInlineStart:dn+$e.paddingXS,fontSize:dn,lineHeight:0,pointerEvents:"none","> div":{margin:0}}},[`${Qe}:hover ${Bt}`]:{opacity:1,color:$e.colorText},[`${Qe}-error`]:{color:$e.colorError,[`${Qe}-name, ${Ht}-icon ${qt}`]:{color:$e.colorError},[Ye]:{[`${qt}, ${qt}:hover`]:{color:$e.colorError},[Bt]:{opacity:1}}},[`${Ht}-list-item-container`]:{transition:`opacity ${$e.motionDurationSlow}, height ${$e.motionDurationSlow}`,"&::before":{display:"table",width:0,height:0,content:'""'}}})}}},Pn=te(36237),Fe=te(1950);const ht=new Pn.Keyframes("uploadAnimateInlineIn",{from:{width:0,height:0,margin:0,padding:0,opacity:0}}),Rt=new Pn.Keyframes("uploadAnimateInlineOut",{to:{width:0,height:0,margin:0,padding:0,opacity:0}});var en=$e=>{const{componentCls:Ht}=$e,yt=`${Ht}-animate-inline`;return[{[`${Ht}-wrapper`]:{[`${yt}-appear, ${yt}-enter, ${yt}-leave`]:{animationDuration:$e.motionDurationSlow,animationTimingFunction:$e.motionEaseInOutCirc,animationFillMode:"forwards"},[`${yt}-appear, ${yt}-enter`]:{animationName:ht},[`${yt}-leave`]:{animationName:Rt}}},{[`${Ht}-wrapper`]:(0,Fe.J$)($e)},ht,Rt]},hn=te(30071),ln=te(64993);const qe=$e=>{const{componentCls:Ht,iconCls:yt,uploadThumbnailSize:qt,uploadProgressOffset:dn}=$e,Sn=`${Ht}-list`,Qe=`${Sn}-item`;return{[`${Ht}-wrapper`]:{[`
${Sn}${Sn}-picture,
${Sn}${Sn}-picture-card,
${Sn}${Sn}-picture-circle
`]:{[Qe]:{position:"relative",height:qt+$e.lineWidth*2+$e.paddingXS*2,padding:$e.paddingXS,border:`${$e.lineWidth}px ${$e.lineType} ${$e.colorBorder}`,borderRadius:$e.borderRadiusLG,"&:hover":{background:"transparent"},[`${Qe}-thumbnail`]:Object.assign(Object.assign({},Ft.vS),{width:qt,height:qt,lineHeight:`${qt+$e.paddingSM}px`,textAlign:"center",flex:"none",[yt]:{fontSize:$e.fontSizeHeading2,color:$e.colorPrimary},img:{display:"block",width:"100%",height:"100%",overflow:"hidden"}}),[`${Qe}-progress`]:{bottom:dn,width:`calc(100% - ${$e.paddingSM*2}px)`,marginTop:0,paddingInlineStart:qt+$e.paddingXS}},[`${Qe}-error`]:{borderColor:$e.colorError,[`${Qe}-thumbnail ${yt}`]:{[`svg path[fill='${hn.blue[0]}']`]:{fill:$e.colorErrorBg},[`svg path[fill='${hn.blue.primary}']`]:{fill:$e.colorError}}},[`${Qe}-uploading`]:{borderStyle:"dashed",[`${Qe}-name`]:{marginBottom:dn}}},[`${Sn}${Sn}-picture-circle ${Qe}`]:{[`&, &::before, ${Qe}-thumbnail`]:{borderRadius:"50%"}}}}},tt=$e=>{const{componentCls:Ht,iconCls:yt,fontSizeLG:qt,colorTextLightSolid:dn}=$e,Sn=`${Ht}-list`,Qe=`${Sn}-item`,Ye=$e.uploadPicCardSize;return{[`
${Ht}-wrapper${Ht}-picture-card-wrapper,
${Ht}-wrapper${Ht}-picture-circle-wrapper
`]:Object.assign(Object.assign({},(0,Ft.dF)()),{display:"inline-block",width:"100%",[`${Ht}${Ht}-select`]:{width:Ye,height:Ye,marginInlineEnd:$e.marginXS,marginBottom:$e.marginXS,textAlign:"center",verticalAlign:"top",backgroundColor:$e.colorFillAlter,border:`${$e.lineWidth}px dashed ${$e.colorBorder}`,borderRadius:$e.borderRadiusLG,cursor:"pointer",transition:`border-color ${$e.motionDurationSlow}`,[`> ${Ht}`]:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%",textAlign:"center"},[`&:not(${Ht}-disabled):hover`]:{borderColor:$e.colorPrimary}},[`${Sn}${Sn}-picture-card, ${Sn}${Sn}-picture-circle`]:{[`${Sn}-item-container`]:{display:"inline-block",width:Ye,height:Ye,marginBlock:`0 ${$e.marginXS}px`,marginInline:`0 ${$e.marginXS}px`,verticalAlign:"top"},"&::after":{display:"none"},[Qe]:{height:"100%",margin:0,"&::before":{position:"absolute",zIndex:1,width:`calc(100% - ${$e.paddingXS*2}px)`,height:`calc(100% - ${$e.paddingXS*2}px)`,backgroundColor:$e.colorBgMask,opacity:0,transition:`all ${$e.motionDurationSlow}`,content:'" "'}},[`${Qe}:hover`]:{[`&::before, ${Qe}-actions`]:{opacity:1}},[`${Qe}-actions`]:{position:"absolute",insetInlineStart:0,zIndex:10,width:"100%",whiteSpace:"nowrap",textAlign:"center",opacity:0,transition:`all ${$e.motionDurationSlow}`,[`${yt}-eye, ${yt}-download, ${yt}-delete`]:{zIndex:10,width:qt,margin:`0 ${$e.marginXXS}px`,fontSize:qt,cursor:"pointer",transition:`all ${$e.motionDurationSlow}`,svg:{verticalAlign:"baseline"}}},[`${Qe}-actions, ${Qe}-actions:hover`]:{[`${yt}-eye, ${yt}-download, ${yt}-delete`]:{color:new ln.C(dn).setAlpha(.65).toRgbString(),"&:hover":{color:dn}}},[`${Qe}-thumbnail, ${Qe}-thumbnail img`]:{position:"static",display:"block",width:"100%",height:"100%",objectFit:"contain"},[`${Qe}-name`]:{display:"none",textAlign:"center"},[`${Qe}-file + ${Qe}-name`]:{position:"absolute",bottom:$e.margin,display:"block",width:`calc(100% - ${$e.paddingXS*2}px)`},[`${Qe}-uploading`]:{[`&${Qe}`]:{backgroundColor:$e.colorFillAlter},[`&::before, ${yt}-eye, ${yt}-download, ${yt}-delete`]:{display:"none"}},[`${Qe}-progress`]:{bottom:$e.marginXL,width:`calc(100% - ${$e.paddingXS*2}px)`,paddingInlineStart:0}}}),[`${Ht}-wrapper${Ht}-picture-circle-wrapper`]:{[`${Ht}${Ht}-select`]:{borderRadius:"50%"}}}};var Ct=$e=>{const{componentCls:Ht}=$e;return{[`${Ht}-rtl`]:{direction:"rtl"}}};const $t=$e=>{const{componentCls:Ht,colorTextDisabled:yt}=$e;return{[`${Ht}-wrapper`]:Object.assign(Object.assign({},(0,Ft.Wf)($e)),{[Ht]:{outline:0,"input[type='file']":{cursor:"pointer"}},[`${Ht}-select`]:{display:"inline-block"},[`${Ht}-disabled`]:{color:yt,cursor:"not-allowed"}})}};var Zt=(0,fn.Z)("Upload",$e=>{const{fontSizeHeading3:Ht,fontSize:yt,lineHeight:qt,lineWidth:dn,controlHeightLG:Sn}=$e,Qe=Math.round(yt*qt),Ye=(0,un.TS)($e,{uploadThumbnailSize:Ht*2,uploadProgressOffset:Qe/2+dn,uploadPicCardSize:Sn*2.55});return[$t(Ye),rt(Ye),qe(Ye),tt(Ye),an(Ye),en(Ye),Ct(Ye),(0,Wt.Z)(Ye)]},$e=>({actionsColor:$e.colorTextDescription})),xn=function($e,Ht,yt,qt){function dn(Sn){return Sn instanceof yt?Sn:new yt(function(Qe){Qe(Sn)})}return new(yt||(yt=Promise))(function(Sn,Qe){function Ye(vt){try{cn(qt.next(vt))}catch(kn){Qe(kn)}}function Bt(vt){try{cn(qt.throw(vt))}catch(kn){Qe(kn)}}function cn(vt){vt.done?Sn(vt.value):dn(vt.value).then(Ye,Bt)}cn((qt=qt.apply($e,Ht||[])).next())})};const Cn=`__LIST_IGNORE_${Date.now()}__`,mn=($e,Ht)=>{const{fileList:yt,defaultFileList:qt,onRemove:dn,showUploadList:Sn=!0,listType:Qe="text",onPreview:Ye,onDownload:Bt,onChange:cn,onDrop:vt,previewFile:kn,disabled:Nn,locale:Xn,iconRender:Vn,isImageUrl:pn,progress:En,prefixCls:wn,className:Fn,type:ea="select",children:ga,style:Jn,itemRender:Qn,maxCount:va,data:Oa={},multiple:_a=!1,action:fo="",accept:Za="",supportServerRender:Ia=!0,rootClassName:Ka}=$e,Ha=z.useContext(it.Z),ja=Nn!=null?Nn:Ha,[sa,Ca]=(0,ke.Z)(qt||[],{value:yt,postState:rn=>rn!=null?rn:[]}),[Qa,Xa]=z.useState("drop"),za=z.useRef(null);z.useMemo(()=>{const rn=Date.now();(yt||[]).forEach((yn,qn)=>{!yn.uid&&!Object.isFrozen(yn)&&(yn.uid=`__AUTO__${rn}_${qn}__`)})},[yt]);const no=(rn,yn,qn)=>{let Rn=(0,ie.Z)(yn),Zn=!1;va===1?Rn=Rn.slice(-1):va&&(Zn=Rn.length>va,Rn=Rn.slice(0,va)),(0,ot.flushSync)(()=>{Ca(Rn)});const Gn={file:rn,fileList:Rn};qn&&(Gn.event=qn),(!Zn||Rn.some(ua=>ua.uid===rn.uid))&&(0,ot.flushSync)(()=>{cn==null||cn(Gn)})},lo=(rn,yn)=>xn(void 0,void 0,void 0,function*(){const{beforeUpload:qn,transformFile:Rn}=$e;let Zn=rn;if(qn){const Gn=yield qn(rn,yn);if(Gn===!1)return!1;if(delete rn[Cn],Gn===Cn)return Object.defineProperty(rn,Cn,{value:!0,configurable:!0}),!1;typeof Gn=="object"&&Gn&&(Zn=Gn)}return Rn&&(Zn=yield Rn(Zn)),Zn}),ha=rn=>{const yn=rn.filter(Zn=>!Zn.file[Cn]);if(!yn.length)return;const qn=yn.map(Zn=>Ne(Zn.file));let Rn=(0,ie.Z)(sa);qn.forEach(Zn=>{Rn=ye(Zn,Rn)}),qn.forEach((Zn,Gn)=>{let ua=Zn;if(yn[Gn].parsedFile)Zn.status="uploading";else{const{originFileObj:Na}=Zn;let $a;try{$a=new File([Na],Na.name,{type:Na.type})}catch(qa){$a=new Blob([Na],{type:Na.type}),$a.name=Na.name,$a.lastModifiedDate=new Date,$a.lastModified=new Date().getTime()}$a.uid=Zn.uid,ua=$a}no(ua,Rn)})},Ua=(rn,yn,qn)=>{try{typeof rn=="string"&&(rn=JSON.parse(rn))}catch(Gn){}if(!nt(yn,sa))return;const Rn=Ne(yn);Rn.status="done",Rn.percent=100,Rn.response=rn,Rn.xhr=qn;const Zn=ye(Rn,sa);no(Rn,Zn)},Ta=(rn,yn)=>{if(!nt(yn,sa))return;const qn=Ne(yn);qn.status="uploading",qn.percent=rn.percent;const Rn=ye(qn,sa);no(qn,Rn,rn)},oo=(rn,yn,qn)=>{if(!nt(qn,sa))return;const Rn=Ne(qn);Rn.error=rn,Rn.response=yn,Rn.status="error";const Zn=ye(Rn,sa);no(Rn,Zn)},So=rn=>{let yn;Promise.resolve(typeof dn=="function"?dn(rn):dn).then(qn=>{var Rn;if(qn===!1)return;const Zn=_t(rn,sa);Zn&&(yn=Object.assign(Object.assign({},rn),{status:"removed"}),sa==null||sa.forEach(Gn=>{const ua=yn.uid!==void 0?"uid":"name";Gn[ua]===yn[ua]&&!Object.isFrozen(Gn)&&(Gn.status="removed")}),(Rn=za.current)===null||Rn===void 0||Rn.abort(yn),no(yn,Zn))})},Do=rn=>{Xa(rn.type),rn.type==="drop"&&(vt==null||vt(rn))};z.useImperativeHandle(Ht,()=>({onBatchStart:ha,onSuccess:Ua,onProgress:Ta,onError:oo,fileList:sa,upload:za.current}));const{getPrefixCls:Jo,direction:zo,upload:mo}=z.useContext(Ue.E_),po=Jo("upload",wn),Bo=Object.assign(Object.assign({onBatchStart:ha,onError:oo,onProgress:Ta,onSuccess:Ua},$e),{data:Oa,multiple:_a,action:fo,accept:Za,supportServerRender:Ia,prefixCls:po,disabled:ja,beforeUpload:lo,onChange:void 0});delete Bo.className,delete Bo.style,(!ga||ja)&&delete Bo.id;const[tr,jo]=Zt(po),[qo]=(0,Mt.Z)("Upload",_e.Z.Upload),{showRemoveIcon:ma,showPreviewIcon:jn,showDownloadIcon:zn,removeIcon:$n,previewIcon:Aa,downloadIcon:fe}=typeof Sn=="boolean"?{}:Sn,kt=(rn,yn)=>Sn?z.createElement(Lt,{prefixCls:po,listType:Qe,items:sa,previewFile:kn,onPreview:Ye,onDownload:Bt,onRemove:So,showRemoveIcon:!ja&&ma,showPreviewIcon:jn,showDownloadIcon:zn,removeIcon:$n,previewIcon:Aa,downloadIcon:fe,iconRender:Vn,locale:Object.assign(Object.assign({},qo),Xn),isImageUrl:pn,progress:En,appendAction:rn,appendActionVisible:yn,itemRender:Qn,disabled:ja}):rn,tn=je()(`${po}-wrapper`,Fn,Ka,jo,mo==null?void 0:mo.className,{[`${po}-rtl`]:zo==="rtl",[`${po}-picture-card-wrapper`]:Qe==="picture-card",[`${po}-picture-circle-wrapper`]:Qe==="picture-circle"}),Bn=Object.assign(Object.assign({},mo==null?void 0:mo.style),Jn);if(ea==="drag"){const rn=je()(jo,po,`${po}-drag`,{[`${po}-drag-uploading`]:sa.some(yn=>yn.status==="uploading"),[`${po}-drag-hover`]:Qa==="dragover",[`${po}-disabled`]:ja,[`${po}-rtl`]:zo==="rtl"});return tr(z.createElement("span",{className:tn},z.createElement("div",{className:rn,style:Bn,onDrop:Do,onDragOver:Do,onDragLeave:Do},z.createElement(Pe,Object.assign({},Bo,{ref:za,className:`${po}-btn`}),z.createElement("div",{className:`${po}-drag-container`},ga))),kt()))}const Dt=je()(po,`${po}-select`,{[`${po}-disabled`]:ja}),Dn=(rn=>z.createElement("div",{className:Dt,style:rn},z.createElement(Pe,Object.assign({},Bo,{ref:za}))))(ga?void 0:{display:"none"});return tr(Qe==="picture-card"||Qe==="picture-circle"?z.createElement("span",{className:tn},kt(Dn,!!ga)):z.createElement("span",{className:tn},Dn,kt()))};var na=z.forwardRef(mn),sn=function($e,Ht){var yt={};for(var qt in $e)Object.prototype.hasOwnProperty.call($e,qt)&&Ht.indexOf(qt)<0&&(yt[qt]=$e[qt]);if($e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var dn=0,qt=Object.getOwnPropertySymbols($e);dn<qt.length;dn++)Ht.indexOf(qt[dn])<0&&Object.prototype.propertyIsEnumerable.call($e,qt[dn])&&(yt[qt[dn]]=$e[qt[dn]]);return yt},oa=z.forwardRef(($e,Ht)=>{var{style:yt,height:qt}=$e,dn=sn($e,["style","height"]);return z.createElement(na,Object.assign({ref:Ht},dn,{type:"drag",style:Object.assign(Object.assign({},yt),{height:qt})}))});const ca=na;ca.Dragger=oa,ca.LIST_IGNORE=Cn;var la=ca},24334:function(xt,It,te){var z,ie;(function(Ae,je){xt.exports=je(Ae)})(typeof self!="undefined"?self:typeof window!="undefined"?window:typeof te.g!="undefined"?te.g:this,function(Ae){"use strict";Ae=Ae||{};var je=Ae.Base64,Ee="2.6.4",xe="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",re=function(Oe){for(var Ge={},Pe=0,ke=Oe.length;Pe<ke;Pe++)Ge[Oe.charAt(Pe)]=Pe;return Ge}(xe),We=String.fromCharCode,Ke=function(Oe){if(Oe.length<2){var Ge=Oe.charCodeAt(0);return Ge<128?Oe:Ge<2048?We(192|Ge>>>6)+We(128|Ge&63):We(224|Ge>>>12&15)+We(128|Ge>>>6&63)+We(128|Ge&63)}else{var Ge=65536+(Oe.charCodeAt(0)-55296)*1024+(Oe.charCodeAt(1)-56320);return We(240|Ge>>>18&7)+We(128|Ge>>>12&63)+We(128|Ge>>>6&63)+We(128|Ge&63)}},ze=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,Xe=function(Oe){return Oe.replace(ze,Ke)},mt=function(Oe){var Ge=[0,2,1][Oe.length%3],Pe=Oe.charCodeAt(0)<<16|(Oe.length>1?Oe.charCodeAt(1):0)<<8|(Oe.length>2?Oe.charCodeAt(2):0),ke=[xe.charAt(Pe>>>18),xe.charAt(Pe>>>12&63),Ge>=2?"=":xe.charAt(Pe>>>6&63),Ge>=1?"=":xe.charAt(Pe&63)];return ke.join("")},Re=Ae.btoa&&typeof Ae.btoa=="function"?function(Oe){return Ae.btoa(Oe)}:function(Oe){if(Oe.match(/[^\x00-\xFF]/))throw new RangeError("The string contains invalid characters.");return Oe.replace(/[\s\S]{1,3}/g,mt)},ae=function(Oe){return Re(Xe(String(Oe)))},y=function(Oe){return Oe.replace(/[+\/]/g,function(Ge){return Ge=="+"?"-":"_"}).replace(/=/g,"")},a=function(Oe,Ge){return Ge?y(ae(Oe)):ae(Oe)},b=function(Oe){return a(Oe,!0)},E;Ae.Uint8Array&&(E=function(Oe,Ge){for(var Pe="",ke=0,ot=Oe.length;ke<ot;ke+=3){var Ue=Oe[ke],it=Oe[ke+1],Mt=Oe[ke+2],_e=Ue<<16|it<<8|Mt;Pe+=xe.charAt(_e>>>18)+xe.charAt(_e>>>12&63)+(typeof it!="undefined"?xe.charAt(_e>>>6&63):"=")+(typeof Mt!="undefined"?xe.charAt(_e&63):"=")}return Ge?y(Pe):Pe});var x=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,ee=function(Oe){switch(Oe.length){case 4:var Ge=(7&Oe.charCodeAt(0))<<18|(63&Oe.charCodeAt(1))<<12|(63&Oe.charCodeAt(2))<<6|63&Oe.charCodeAt(3),Pe=Ge-65536;return We((Pe>>>10)+55296)+We((Pe&1023)+56320);case 3:return We((15&Oe.charCodeAt(0))<<12|(63&Oe.charCodeAt(1))<<6|63&Oe.charCodeAt(2));default:return We((31&Oe.charCodeAt(0))<<6|63&Oe.charCodeAt(1))}},ne=function(Oe){return Oe.replace(x,ee)},oe=function(Oe){var Ge=Oe.length,Pe=Ge%4,ke=(Ge>0?re[Oe.charAt(0)]<<18:0)|(Ge>1?re[Oe.charAt(1)]<<12:0)|(Ge>2?re[Oe.charAt(2)]<<6:0)|(Ge>3?re[Oe.charAt(3)]:0),ot=[We(ke>>>16),We(ke>>>8&255),We(ke&255)];return ot.length-=[0,0,2,1][Pe],ot.join("")},le=Ae.atob&&typeof Ae.atob=="function"?function(Oe){return Ae.atob(Oe)}:function(Oe){return Oe.replace(/\S{1,4}/g,oe)},ue=function(Oe){return le(String(Oe).replace(/[^A-Za-z0-9\+\/]/g,""))},ge=function(Oe){return ne(le(Oe))},Ce=function(Oe){return String(Oe).replace(/[-_]/g,function(Ge){return Ge=="-"?"+":"/"}).replace(/[^A-Za-z0-9\+\/]/g,"")},pe=function(Oe){return ge(Ce(Oe))},Be;Ae.Uint8Array&&(Be=function(Oe){return Uint8Array.from(ue(Ce(Oe)),function(Ge){return Ge.charCodeAt(0)})});var de=function(){var Oe=Ae.Base64;return Ae.Base64=je,Oe};if(Ae.Base64={VERSION:Ee,atob:ue,btoa:Re,fromBase64:pe,toBase64:a,utob:Xe,encode:a,encodeURI:b,btou:ne,decode:pe,noConflict:de,fromUint8Array:E,toUint8Array:Be},typeof Object.defineProperty=="function"){var et=function(Oe){return{value:Oe,enumerable:!1,writable:!0,configurable:!0}};Ae.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",et(function(){return pe(this)})),Object.defineProperty(String.prototype,"toBase64",et(function(Oe){return a(this,Oe)})),Object.defineProperty(String.prototype,"toBase64URI",et(function(){return a(this,!0)}))}}return Ae.Meteor&&(Base64=Ae.Base64),xt.exports?xt.exports.Base64=Ae.Base64:(z=[],ie=function(){return Ae.Base64}.apply(It,z),ie!==void 0&&(xt.exports=ie)),{Base64:Ae.Base64}})},39417:function(xt,It,te){"use strict";te.d(It,{Z:function(){return ge}});var z=te(32855),ie=te(74430),Ae=te(43079),je=te(27247),Ee=te(33377),xe=te(93912),re=te(83383),We=te(18881),Ke=te(85461),ze=te(92310),Xe=te.n(ze),mt=te(26112),Re=te(59301),ae=te(39378),y=function(pe){for(var Be=pe.prefixCls,de=pe.level,et=pe.isStart,Oe=pe.isEnd,Ge="".concat(Be,"-indent-unit"),Pe=[],ke=0;ke<de;ke+=1){var ot;Pe.push(Re.createElement("span",{key:ke,className:Xe()(Ge,(ot={},(0,ie.Z)(ot,"".concat(Ge,"-start"),et[ke]),(0,ie.Z)(ot,"".concat(Ge,"-end"),Oe[ke]),ot))}))}return Re.createElement("span",{"aria-hidden":"true",className:"".concat(Be,"-indent")},Pe)},a=Re.memo(y),b=te(67841),E=te(71430),x=["eventKey","className","style","dragOver","dragOverGapTop","dragOverGapBottom","isLeaf","isStart","isEnd","expanded","selected","checked","halfChecked","loading","domRef","active","data","onMouseMove","selectable"],ee="open",ne="close",oe="---",le=function(Ce){(0,We.Z)(Be,Ce);var pe=(0,Ke.Z)(Be);function Be(){var de;(0,Ee.Z)(this,Be);for(var et=arguments.length,Oe=new Array(et),Ge=0;Ge<et;Ge++)Oe[Ge]=arguments[Ge];return de=pe.call.apply(pe,[this].concat(Oe)),de.state={dragNodeHighlight:!1},de.selectHandle=void 0,de.cacheIndent=void 0,de.onSelectorClick=function(Pe){var ke=de.props.context.onNodeClick;ke(Pe,(0,E.F)(de.props)),de.isSelectable()?de.onSelect(Pe):de.onCheck(Pe)},de.onSelectorDoubleClick=function(Pe){var ke=de.props.context.onNodeDoubleClick;ke(Pe,(0,E.F)(de.props))},de.onSelect=function(Pe){if(!de.isDisabled()){var ke=de.props.context.onNodeSelect;ke(Pe,(0,E.F)(de.props))}},de.onCheck=function(Pe){if(!de.isDisabled()){var ke=de.props,ot=ke.disableCheckbox,Ue=ke.checked,it=de.props.context.onNodeCheck;if(!(!de.isCheckable()||ot)){var Mt=!Ue;it(Pe,(0,E.F)(de.props),Mt)}}},de.onMouseEnter=function(Pe){var ke=de.props.context.onNodeMouseEnter;ke(Pe,(0,E.F)(de.props))},de.onMouseLeave=function(Pe){var ke=de.props.context.onNodeMouseLeave;ke(Pe,(0,E.F)(de.props))},de.onContextMenu=function(Pe){var ke=de.props.context.onNodeContextMenu;ke(Pe,(0,E.F)(de.props))},de.onDragStart=function(Pe){var ke=de.props.context.onNodeDragStart;Pe.stopPropagation(),de.setState({dragNodeHighlight:!0}),ke(Pe,(0,re.Z)(de));try{Pe.dataTransfer.setData("text/plain","")}catch(ot){}},de.onDragEnter=function(Pe){var ke=de.props.context.onNodeDragEnter;Pe.preventDefault(),Pe.stopPropagation(),ke(Pe,(0,re.Z)(de))},de.onDragOver=function(Pe){var ke=de.props.context.onNodeDragOver;Pe.preventDefault(),Pe.stopPropagation(),ke(Pe,(0,re.Z)(de))},de.onDragLeave=function(Pe){var ke=de.props.context.onNodeDragLeave;Pe.stopPropagation(),ke(Pe,(0,re.Z)(de))},de.onDragEnd=function(Pe){var ke=de.props.context.onNodeDragEnd;Pe.stopPropagation(),de.setState({dragNodeHighlight:!1}),ke(Pe,(0,re.Z)(de))},de.onDrop=function(Pe){var ke=de.props.context.onNodeDrop;Pe.preventDefault(),Pe.stopPropagation(),de.setState({dragNodeHighlight:!1}),ke(Pe,(0,re.Z)(de))},de.onExpand=function(Pe){var ke=de.props,ot=ke.loading,Ue=ke.context.onNodeExpand;ot||Ue(Pe,(0,E.F)(de.props))},de.setSelectHandle=function(Pe){de.selectHandle=Pe},de.getNodeState=function(){var Pe=de.props.expanded;return de.isLeaf()?null:Pe?ee:ne},de.hasChildren=function(){var Pe=de.props.eventKey,ke=de.props.context.keyEntities,ot=(0,b.Z)(ke,Pe)||{},Ue=ot.children;return!!(Ue||[]).length},de.isLeaf=function(){var Pe=de.props,ke=Pe.isLeaf,ot=Pe.loaded,Ue=de.props.context.loadData,it=de.hasChildren();return ke===!1?!1:ke||!Ue&&!it||Ue&&ot&&!it},de.isDisabled=function(){var Pe=de.props.disabled,ke=de.props.context.disabled;return!!(ke||Pe)},de.isCheckable=function(){var Pe=de.props.checkable,ke=de.props.context.checkable;return!ke||Pe===!1?!1:ke},de.syncLoadData=function(Pe){var ke=Pe.expanded,ot=Pe.loading,Ue=Pe.loaded,it=de.props.context,Mt=it.loadData,_e=it.onNodeLoad;ot||Mt&&ke&&!de.isLeaf()&&!de.hasChildren()&&!Ue&&_e((0,E.F)(de.props))},de.isDraggable=function(){var Pe=de.props,ke=Pe.data,ot=Pe.context.draggable;return!!(ot&&(!ot.nodeDraggable||ot.nodeDraggable(ke)))},de.renderDragHandler=function(){var Pe=de.props.context,ke=Pe.draggable,ot=Pe.prefixCls;return ke!=null&&ke.icon?Re.createElement("span",{className:"".concat(ot,"-draggable-icon")},ke.icon):null},de.renderSwitcherIconDom=function(Pe){var ke=de.props.switcherIcon,ot=de.props.context.switcherIcon,Ue=ke||ot;return typeof Ue=="function"?Ue((0,je.Z)((0,je.Z)({},de.props),{},{isLeaf:Pe})):Ue},de.renderSwitcher=function(){var Pe=de.props.expanded,ke=de.props.context.prefixCls;if(de.isLeaf()){var ot=de.renderSwitcherIconDom(!0);return ot!==!1?Re.createElement("span",{className:Xe()("".concat(ke,"-switcher"),"".concat(ke,"-switcher-noop"))},ot):null}var Ue=Xe()("".concat(ke,"-switcher"),"".concat(ke,"-switcher_").concat(Pe?ee:ne)),it=de.renderSwitcherIconDom(!1);return it!==!1?Re.createElement("span",{onClick:de.onExpand,className:Ue},it):null},de.renderCheckbox=function(){var Pe=de.props,ke=Pe.checked,ot=Pe.halfChecked,Ue=Pe.disableCheckbox,it=de.props.context.prefixCls,Mt=de.isDisabled(),_e=de.isCheckable();if(!_e)return null;var Tt=typeof _e!="boolean"?_e:null;return Re.createElement("span",{className:Xe()("".concat(it,"-checkbox"),ke&&"".concat(it,"-checkbox-checked"),!ke&&ot&&"".concat(it,"-checkbox-indeterminate"),(Mt||Ue)&&"".concat(it,"-checkbox-disabled")),onClick:de.onCheck},Tt)},de.renderIcon=function(){var Pe=de.props.loading,ke=de.props.context.prefixCls;return Re.createElement("span",{className:Xe()("".concat(ke,"-iconEle"),"".concat(ke,"-icon__").concat(de.getNodeState()||"docu"),Pe&&"".concat(ke,"-icon_loading"))})},de.renderSelector=function(){var Pe=de.state.dragNodeHighlight,ke=de.props,ot=ke.title,Ue=ot===void 0?oe:ot,it=ke.selected,Mt=ke.icon,_e=ke.loading,Tt=ke.data,Jt=de.props.context,Me=Jt.prefixCls,De=Jt.showIcon,Et=Jt.icon,Kt=Jt.loadData,ft=Jt.titleRender,jt=de.isDisabled(),Le="".concat(Me,"-node-content-wrapper"),Xt;if(De){var vn=Mt||Et;Xt=vn?Re.createElement("span",{className:Xe()("".concat(Me,"-iconEle"),"".concat(Me,"-icon__customize"))},typeof vn=="function"?vn(de.props):vn):de.renderIcon()}else Kt&&_e&&(Xt=de.renderIcon());var St;typeof Ue=="function"?St=Ue(Tt):ft?St=ft(Tt):St=Ue;var ut=Re.createElement("span",{className:"".concat(Me,"-title")},St);return Re.createElement("span",{ref:de.setSelectHandle,title:typeof Ue=="string"?Ue:"",className:Xe()("".concat(Le),"".concat(Le,"-").concat(de.getNodeState()||"normal"),!jt&&(it||Pe)&&"".concat(Me,"-node-selected")),onMouseEnter:de.onMouseEnter,onMouseLeave:de.onMouseLeave,onContextMenu:de.onContextMenu,onClick:de.onSelectorClick,onDoubleClick:de.onSelectorDoubleClick},Xt,ut,de.renderDropIndicator())},de.renderDropIndicator=function(){var Pe=de.props,ke=Pe.disabled,ot=Pe.eventKey,Ue=de.props.context,it=Ue.draggable,Mt=Ue.dropLevelOffset,_e=Ue.dropPosition,Tt=Ue.prefixCls,Jt=Ue.indent,Me=Ue.dropIndicatorRender,De=Ue.dragOverNodeKey,Et=Ue.direction,Kt=!!it,ft=!ke&&Kt&&De===ot,jt=Jt!=null?Jt:de.cacheIndent;return de.cacheIndent=Jt,ft?Me({dropPosition:_e,dropLevelOffset:Mt,indent:jt,prefixCls:Tt,direction:Et}):null},de}return(0,xe.Z)(Be,[{key:"componentDidMount",value:function(){this.syncLoadData(this.props)}},{key:"componentDidUpdate",value:function(){this.syncLoadData(this.props)}},{key:"isSelectable",value:function(){var et=this.props.selectable,Oe=this.props.context.selectable;return typeof et=="boolean"?et:Oe}},{key:"render",value:function(){var et,Oe=this.props,Ge=Oe.eventKey,Pe=Oe.className,ke=Oe.style,ot=Oe.dragOver,Ue=Oe.dragOverGapTop,it=Oe.dragOverGapBottom,Mt=Oe.isLeaf,_e=Oe.isStart,Tt=Oe.isEnd,Jt=Oe.expanded,Me=Oe.selected,De=Oe.checked,Et=Oe.halfChecked,Kt=Oe.loading,ft=Oe.domRef,jt=Oe.active,Le=Oe.data,Xt=Oe.onMouseMove,vn=Oe.selectable,St=(0,Ae.Z)(Oe,x),ut=this.props.context,Ve=ut.prefixCls,Te=ut.filterTreeNode,he=ut.keyEntities,se=ut.dropContainerKey,Ie=ut.dropTargetKey,dt=ut.draggingNodeKey,Se=this.isDisabled(),ve=(0,mt.Z)(St,{aria:!0,data:!0}),Je=(0,b.Z)(he,Ge)||{},Ne=Je.level,ye=Tt[Tt.length-1],nt=this.isDraggable(),_t=!Se&&nt,gt=dt===Ge,Gt=vn!==void 0?{"aria-selected":!!vn}:void 0;return Re.createElement("div",(0,z.Z)({ref:ft,className:Xe()(Pe,"".concat(Ve,"-treenode"),(et={},(0,ie.Z)(et,"".concat(Ve,"-treenode-disabled"),Se),(0,ie.Z)(et,"".concat(Ve,"-treenode-switcher-").concat(Jt?"open":"close"),!Mt),(0,ie.Z)(et,"".concat(Ve,"-treenode-checkbox-checked"),De),(0,ie.Z)(et,"".concat(Ve,"-treenode-checkbox-indeterminate"),Et),(0,ie.Z)(et,"".concat(Ve,"-treenode-selected"),Me),(0,ie.Z)(et,"".concat(Ve,"-treenode-loading"),Kt),(0,ie.Z)(et,"".concat(Ve,"-treenode-active"),jt),(0,ie.Z)(et,"".concat(Ve,"-treenode-leaf-last"),ye),(0,ie.Z)(et,"".concat(Ve,"-treenode-draggable"),nt),(0,ie.Z)(et,"dragging",gt),(0,ie.Z)(et,"drop-target",Ie===Ge),(0,ie.Z)(et,"drop-container",se===Ge),(0,ie.Z)(et,"drag-over",!Se&&ot),(0,ie.Z)(et,"drag-over-gap-top",!Se&&Ue),(0,ie.Z)(et,"drag-over-gap-bottom",!Se&&it),(0,ie.Z)(et,"filter-node",Te&&Te((0,E.F)(this.props))),et)),style:ke,draggable:_t,"aria-grabbed":gt,onDragStart:_t?this.onDragStart:void 0,onDragEnter:nt?this.onDragEnter:void 0,onDragOver:nt?this.onDragOver:void 0,onDragLeave:nt?this.onDragLeave:void 0,onDrop:nt?this.onDrop:void 0,onDragEnd:nt?this.onDragEnd:void 0,onMouseMove:Xt},Gt,ve),Re.createElement(a,{prefixCls:Ve,level:Ne,isStart:_e,isEnd:Tt}),this.renderDragHandler(),this.renderSwitcher(),this.renderCheckbox(),this.renderSelector())}}]),Be}(Re.Component),ue=function(pe){return Re.createElement(ae.k.Consumer,null,function(Be){return Re.createElement(le,(0,z.Z)({},pe,{context:Be}))})};ue.displayName="TreeNode",ue.isTreeNode=1;var ge=ue},39378:function(xt,It,te){"use strict";te.d(It,{k:function(){return ie}});var z=te(59301),ie=z.createContext(null)},54030:function(xt,It,te){"use strict";te.d(It,{O:function(){return ge.Z},Z:function(){return ut}});var z=te(32855),ie=te(74430),Ae=te(34666),je=te(27247),Ee=te(3300),xe=te(33377),re=te(93912),We=te(83383),Ke=te(18881),ze=te(85461),Xe=te(92310),mt=te.n(Xe),Re=te(10228),ae=te(26112),y=te(48736),a=te(59301),b=te(39378);function E(Ve){var Te=Ve.dropPosition,he=Ve.dropLevelOffset,se=Ve.indent,Ie={pointerEvents:"none",position:"absolute",right:0,backgroundColor:"red",height:2};switch(Te){case-1:Ie.top=0,Ie.left=-he*se;break;case 1:Ie.bottom=0,Ie.left=-he*se;break;case 0:Ie.bottom=0,Ie.left=se;break}return a.createElement("div",{style:Ie})}function x(Ve){if(Ve==null)throw new TypeError("Cannot destructure "+Ve)}var ee=te(11913),ne=te(43079),oe=te(34280),le=te(6790),ue=te(77900),ge=te(39417);function Ce(Ve,Te){var he=a.useState(!1),se=(0,ee.Z)(he,2),Ie=se[0],dt=se[1];a.useLayoutEffect(function(){if(Ie)return Ve(),function(){Te()}},[Ie]),a.useLayoutEffect(function(){return dt(!0),function(){dt(!1)}},[])}var pe=te(71430),Be=["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"],de=function(Te,he){var se=Te.className,Ie=Te.style,dt=Te.motion,Se=Te.motionNodes,ve=Te.motionType,Je=Te.onMotionStart,Ne=Te.onMotionEnd,ye=Te.active,nt=Te.treeNodeRequiredProps,_t=(0,ne.Z)(Te,Be),gt=a.useState(!0),Gt=(0,ee.Z)(gt,2),Ot=Gt[0],Ut=Gt[1],be=a.useContext(b.k),st=be.prefixCls,pt=Se&&ve!=="hide";(0,oe.Z)(function(){Se&&pt!==Ot&&Ut(pt)},[Se]);var ct=function(){Se&&Je()},Nt=a.useRef(!1),Vt=function(){Se&&!Nt.current&&(Nt.current=!0,Ne())};Ce(ct,Vt);var on=function(bn){pt===bn&&Vt()};return Se?a.createElement(ue.default,(0,z.Z)({ref:he,visible:Ot},dt,{motionAppear:ve==="show",onVisibleChanged:on}),function(Qt,bn){var Tn=Qt.className,Lt=Qt.style;return a.createElement("div",{ref:bn,className:mt()("".concat(st,"-treenode-motion"),Tn),style:Lt},Se.map(function(Ft){var Wt=(0,z.Z)({},(x(Ft.data),Ft.data)),fn=Ft.title,un=Ft.key,Hn=Ft.isStart,rt=Ft.isEnd;delete Wt.children;var Pt=(0,pe.H8)(un,nt);return a.createElement(ge.Z,(0,z.Z)({},Wt,Pt,{title:fn,active:ye,data:Ft.data,key:un,isStart:Hn,isEnd:rt}))}))}):a.createElement(ge.Z,(0,z.Z)({domRef:he,className:se,style:Ie},_t,{active:ye}))};de.displayName="MotionTreeNode";var et=a.forwardRef(de),Oe=et;function Ge(){var Ve=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],Te=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],he=Ve.length,se=Te.length;if(Math.abs(he-se)!==1)return{add:!1,key:null};function Ie(dt,Se){var ve=new Map;dt.forEach(function(Ne){ve.set(Ne,!0)});var Je=Se.filter(function(Ne){return!ve.has(Ne)});return Je.length===1?Je[0]:null}return he<se?{add:!0,key:Ie(Ve,Te)}:{add:!1,key:Ie(Te,Ve)}}function Pe(Ve,Te,he){var se=Ve.findIndex(function(ve){return ve.key===he}),Ie=Ve[se+1],dt=Te.findIndex(function(ve){return ve.key===he});if(Ie){var Se=Te.findIndex(function(ve){return ve.key===Ie.key});return Te.slice(dt+1,Se)}return Te.slice(dt+1)}var ke=["prefixCls","data","selectable","checkable","expandedKeys","selectedKeys","checkedKeys","loadedKeys","loadingKeys","halfCheckedKeys","keyEntities","disabled","dragging","dragOverNodeKey","dropPosition","motion","height","itemHeight","virtual","focusable","activeItem","focused","tabIndex","onKeyDown","onFocus","onBlur","onActiveChange","onListChangeStart","onListChangeEnd"],ot={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},Ue=function(){},it="RC_TREE_MOTION_".concat(Math.random()),Mt={key:it},_e={key:it,level:0,index:0,pos:"0",node:Mt,nodes:[Mt]},Tt={parent:null,children:[],pos:_e.pos,data:Mt,title:null,key:it,isStart:[],isEnd:[]};function Jt(Ve,Te,he,se){return Te===!1||!he?Ve:Ve.slice(0,Math.ceil(he/se)+1)}function Me(Ve){var Te=Ve.key,he=Ve.pos;return(0,pe.km)(Te,he)}function De(Ve){for(var Te=String(Ve.data.key),he=Ve;he.parent;)he=he.parent,Te="".concat(he.data.key," > ").concat(Te);return Te}var Et=a.forwardRef(function(Ve,Te){var he=Ve.prefixCls,se=Ve.data,Ie=Ve.selectable,dt=Ve.checkable,Se=Ve.expandedKeys,ve=Ve.selectedKeys,Je=Ve.checkedKeys,Ne=Ve.loadedKeys,ye=Ve.loadingKeys,nt=Ve.halfCheckedKeys,_t=Ve.keyEntities,gt=Ve.disabled,Gt=Ve.dragging,Ot=Ve.dragOverNodeKey,Ut=Ve.dropPosition,be=Ve.motion,st=Ve.height,pt=Ve.itemHeight,ct=Ve.virtual,Nt=Ve.focusable,Vt=Ve.activeItem,on=Ve.focused,Qt=Ve.tabIndex,bn=Ve.onKeyDown,Tn=Ve.onFocus,Lt=Ve.onBlur,Ft=Ve.onActiveChange,Wt=Ve.onListChangeStart,fn=Ve.onListChangeEnd,un=(0,ne.Z)(Ve,ke),Hn=a.useRef(null),rt=a.useRef(null);a.useImperativeHandle(Te,function(){return{scrollTo:function(la){Hn.current.scrollTo(la)},getIndentWidth:function(){return rt.current.offsetWidth}}});var Pt=a.useState(Se),an=(0,ee.Z)(Pt,2),Pn=an[0],Fe=an[1],ht=a.useState(se),Rt=(0,ee.Z)(ht,2),zt=Rt[0],en=Rt[1],hn=a.useState(se),ln=(0,ee.Z)(hn,2),qe=ln[0],tt=ln[1],Ze=a.useState([]),Ct=(0,ee.Z)(Ze,2),$t=Ct[0],Zt=Ct[1],xn=a.useState(null),Cn=(0,ee.Z)(xn,2),mn=Cn[0],Mn=Cn[1],na=a.useRef(se);na.current=se;function sn(){var ca=na.current;en(ca),tt(ca),Zt([]),Mn(null),fn()}(0,oe.Z)(function(){Fe(Se);var ca=Ge(Pn,Se);if(ca.key!==null)if(ca.add){var la=zt.findIndex(function(Sn){var Qe=Sn.key;return Qe===ca.key}),$e=Jt(Pe(zt,se,ca.key),ct,st,pt),Ht=zt.slice();Ht.splice(la+1,0,Tt),tt(Ht),Zt($e),Mn("show")}else{var yt=se.findIndex(function(Sn){var Qe=Sn.key;return Qe===ca.key}),qt=Jt(Pe(se,zt,ca.key),ct,st,pt),dn=se.slice();dn.splice(yt+1,0,Tt),tt(dn),Zt(qt),Mn("hide")}else zt!==se&&(en(se),tt(se))},[Se,se]),a.useEffect(function(){Gt||sn()},[Gt]);var Un=be?qe:se,oa={expandedKeys:Se,selectedKeys:ve,loadedKeys:Ne,loadingKeys:ye,checkedKeys:Je,halfCheckedKeys:nt,dragOverNodeKey:Ot,dropPosition:Ut,keyEntities:_t};return a.createElement(a.Fragment,null,on&&Vt&&a.createElement("span",{style:ot,"aria-live":"assertive"},De(Vt)),a.createElement("div",null,a.createElement("input",{style:ot,disabled:Nt===!1||gt,tabIndex:Nt!==!1?Qt:null,onKeyDown:bn,onFocus:Tn,onBlur:Lt,value:"",onChange:Ue,"aria-label":"for screen reader"})),a.createElement("div",{className:"".concat(he,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},a.createElement("div",{className:"".concat(he,"-indent")},a.createElement("div",{ref:rt,className:"".concat(he,"-indent-unit")}))),a.createElement(le.Z,(0,z.Z)({},un,{data:Un,itemKey:Me,height:st,fullHeight:!1,virtual:ct,itemHeight:pt,prefixCls:"".concat(he,"-list"),ref:Hn,onVisibleChange:function(la,$e){var Ht=new Set(la),yt=$e.filter(function(qt){return!Ht.has(qt)});yt.some(function(qt){return Me(qt)===it})&&sn()}}),function(ca){var la=ca.pos,$e=(0,z.Z)({},(x(ca.data),ca.data)),Ht=ca.title,yt=ca.key,qt=ca.isStart,dn=ca.isEnd,Sn=(0,pe.km)(yt,la);delete $e.key,delete $e.children;var Qe=(0,pe.H8)(Sn,oa);return a.createElement(Oe,(0,z.Z)({},$e,Qe,{title:Ht,active:!!Vt&&yt===Vt.key,pos:la,data:ca.data,isStart:qt,isEnd:dn,motion:be,motionNodes:yt===it?$t:null,motionType:mn,onMotionStart:Wt,onMotionEnd:sn,treeNodeRequiredProps:oa,onMouseMove:function(){Ft(null)}}))}))});Et.displayName="NodeList";var Kt=Et,ft=te(35654),jt=te(90782),Le=te(67841),Xt=10,vn=function(Ve){(0,Ke.Z)(he,Ve);var Te=(0,ze.Z)(he);function he(){var se;(0,xe.Z)(this,he);for(var Ie=arguments.length,dt=new Array(Ie),Se=0;Se<Ie;Se++)dt[Se]=arguments[Se];return se=Te.call.apply(Te,[this].concat(dt)),se.destroyed=!1,se.delayedDragEnterLogic=void 0,se.loadingRetryTimes={},se.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,pe.w$)()},se.dragStartMousePosition=null,se.dragNode=void 0,se.currentMouseOverDroppableNodeKey=null,se.listRef=a.createRef(),se.onNodeDragStart=function(ve,Je){var Ne=se.state,ye=Ne.expandedKeys,nt=Ne.keyEntities,_t=se.props.onDragStart,gt=Je.props.eventKey;se.dragNode=Je,se.dragStartMousePosition={x:ve.clientX,y:ve.clientY};var Gt=(0,ft._5)(ye,gt);se.setState({draggingNodeKey:gt,dragChildrenKeys:(0,ft.wA)(gt,nt),indent:se.listRef.current.getIndentWidth()}),se.setExpandedKeys(Gt),window.addEventListener("dragend",se.onWindowDragEnd),_t==null||_t({event:ve,node:(0,pe.F)(Je.props)})},se.onNodeDragEnter=function(ve,Je){var Ne=se.state,ye=Ne.expandedKeys,nt=Ne.keyEntities,_t=Ne.dragChildrenKeys,gt=Ne.flattenNodes,Gt=Ne.indent,Ot=se.props,Ut=Ot.onDragEnter,be=Ot.onExpand,st=Ot.allowDrop,pt=Ot.direction,ct=Je.props,Nt=ct.pos,Vt=ct.eventKey,on=(0,We.Z)(se),Qt=on.dragNode;if(se.currentMouseOverDroppableNodeKey!==Vt&&(se.currentMouseOverDroppableNodeKey=Vt),!Qt){se.resetDragState();return}var bn=(0,ft.OM)(ve,Qt,Je,Gt,se.dragStartMousePosition,st,gt,nt,ye,pt),Tn=bn.dropPosition,Lt=bn.dropLevelOffset,Ft=bn.dropTargetKey,Wt=bn.dropContainerKey,fn=bn.dropTargetPos,un=bn.dropAllowed,Hn=bn.dragOverNodeKey;if(_t.indexOf(Ft)!==-1||!un){se.resetDragState();return}if(se.delayedDragEnterLogic||(se.delayedDragEnterLogic={}),Object.keys(se.delayedDragEnterLogic).forEach(function(rt){clearTimeout(se.delayedDragEnterLogic[rt])}),Qt.props.eventKey!==Je.props.eventKey&&(ve.persist(),se.delayedDragEnterLogic[Nt]=window.setTimeout(function(){if(se.state.draggingNodeKey!==null){var rt=(0,Ee.Z)(ye),Pt=(0,Le.Z)(nt,Je.props.eventKey);Pt&&(Pt.children||[]).length&&(rt=(0,ft.L0)(ye,Je.props.eventKey)),"expandedKeys"in se.props||se.setExpandedKeys(rt),be==null||be(rt,{node:(0,pe.F)(Je.props),expanded:!0,nativeEvent:ve.nativeEvent})}},800)),Qt.props.eventKey===Ft&&Lt===0){se.resetDragState();return}se.setState({dragOverNodeKey:Hn,dropPosition:Tn,dropLevelOffset:Lt,dropTargetKey:Ft,dropContainerKey:Wt,dropTargetPos:fn,dropAllowed:un}),Ut==null||Ut({event:ve,node:(0,pe.F)(Je.props),expandedKeys:ye})},se.onNodeDragOver=function(ve,Je){var Ne=se.state,ye=Ne.dragChildrenKeys,nt=Ne.flattenNodes,_t=Ne.keyEntities,gt=Ne.expandedKeys,Gt=Ne.indent,Ot=se.props,Ut=Ot.onDragOver,be=Ot.allowDrop,st=Ot.direction,pt=(0,We.Z)(se),ct=pt.dragNode;if(ct){var Nt=(0,ft.OM)(ve,ct,Je,Gt,se.dragStartMousePosition,be,nt,_t,gt,st),Vt=Nt.dropPosition,on=Nt.dropLevelOffset,Qt=Nt.dropTargetKey,bn=Nt.dropContainerKey,Tn=Nt.dropAllowed,Lt=Nt.dropTargetPos,Ft=Nt.dragOverNodeKey;ye.indexOf(Qt)!==-1||!Tn||(ct.props.eventKey===Qt&&on===0?se.state.dropPosition===null&&se.state.dropLevelOffset===null&&se.state.dropTargetKey===null&&se.state.dropContainerKey===null&&se.state.dropTargetPos===null&&se.state.dropAllowed===!1&&se.state.dragOverNodeKey===null||se.resetDragState():Vt===se.state.dropPosition&&on===se.state.dropLevelOffset&&Qt===se.state.dropTargetKey&&bn===se.state.dropContainerKey&&Lt===se.state.dropTargetPos&&Tn===se.state.dropAllowed&&Ft===se.state.dragOverNodeKey||se.setState({dropPosition:Vt,dropLevelOffset:on,dropTargetKey:Qt,dropContainerKey:bn,dropTargetPos:Lt,dropAllowed:Tn,dragOverNodeKey:Ft}),Ut==null||Ut({event:ve,node:(0,pe.F)(Je.props)}))}},se.onNodeDragLeave=function(ve,Je){se.currentMouseOverDroppableNodeKey===Je.props.eventKey&&!ve.currentTarget.contains(ve.relatedTarget)&&(se.resetDragState(),se.currentMouseOverDroppableNodeKey=null);var Ne=se.props.onDragLeave;Ne==null||Ne({event:ve,node:(0,pe.F)(Je.props)})},se.onWindowDragEnd=function(ve){se.onNodeDragEnd(ve,null,!0),window.removeEventListener("dragend",se.onWindowDragEnd)},se.onNodeDragEnd=function(ve,Je){var Ne=se.props.onDragEnd;se.setState({dragOverNodeKey:null}),se.cleanDragState(),Ne==null||Ne({event:ve,node:(0,pe.F)(Je.props)}),se.dragNode=null,window.removeEventListener("dragend",se.onWindowDragEnd)},se.onNodeDrop=function(ve,Je){var Ne,ye=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,nt=se.state,_t=nt.dragChildrenKeys,gt=nt.dropPosition,Gt=nt.dropTargetKey,Ot=nt.dropTargetPos,Ut=nt.dropAllowed;if(Ut){var be=se.props.onDrop;if(se.setState({dragOverNodeKey:null}),se.cleanDragState(),Gt!==null){var st=(0,je.Z)((0,je.Z)({},(0,pe.H8)(Gt,se.getTreeNodeRequiredProps())),{},{active:((Ne=se.getActiveItem())===null||Ne===void 0?void 0:Ne.key)===Gt,data:(0,Le.Z)(se.state.keyEntities,Gt).node}),pt=_t.indexOf(Gt)!==-1;(0,y.ZP)(!pt,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var ct=(0,ft.yx)(Ot),Nt={event:ve,node:(0,pe.F)(st),dragNode:se.dragNode?(0,pe.F)(se.dragNode.props):null,dragNodesKeys:[se.dragNode.props.eventKey].concat(_t),dropToGap:gt!==0,dropPosition:gt+Number(ct[ct.length-1])};ye||be==null||be(Nt),se.dragNode=null}}},se.cleanDragState=function(){var ve=se.state.draggingNodeKey;ve!==null&&se.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),se.dragStartMousePosition=null,se.currentMouseOverDroppableNodeKey=null},se.triggerExpandActionExpand=function(ve,Je){var Ne=se.state,ye=Ne.expandedKeys,nt=Ne.flattenNodes,_t=Je.expanded,gt=Je.key,Gt=Je.isLeaf;if(!(Gt||ve.shiftKey||ve.metaKey||ve.ctrlKey)){var Ot=nt.filter(function(be){return be.key===gt})[0],Ut=(0,pe.F)((0,je.Z)((0,je.Z)({},(0,pe.H8)(gt,se.getTreeNodeRequiredProps())),{},{data:Ot.data}));se.setExpandedKeys(_t?(0,ft._5)(ye,gt):(0,ft.L0)(ye,gt)),se.onNodeExpand(ve,Ut)}},se.onNodeClick=function(ve,Je){var Ne=se.props,ye=Ne.onClick,nt=Ne.expandAction;nt==="click"&&se.triggerExpandActionExpand(ve,Je),ye==null||ye(ve,Je)},se.onNodeDoubleClick=function(ve,Je){var Ne=se.props,ye=Ne.onDoubleClick,nt=Ne.expandAction;nt==="doubleClick"&&se.triggerExpandActionExpand(ve,Je),ye==null||ye(ve,Je)},se.onNodeSelect=function(ve,Je){var Ne=se.state.selectedKeys,ye=se.state,nt=ye.keyEntities,_t=ye.fieldNames,gt=se.props,Gt=gt.onSelect,Ot=gt.multiple,Ut=Je.selected,be=Je[_t.key],st=!Ut;st?Ot?Ne=(0,ft.L0)(Ne,be):Ne=[be]:Ne=(0,ft._5)(Ne,be);var pt=Ne.map(function(ct){var Nt=(0,Le.Z)(nt,ct);return Nt?Nt.node:null}).filter(function(ct){return ct});se.setUncontrolledState({selectedKeys:Ne}),Gt==null||Gt(Ne,{event:"select",selected:st,node:Je,selectedNodes:pt,nativeEvent:ve.nativeEvent})},se.onNodeCheck=function(ve,Je,Ne){var ye=se.state,nt=ye.keyEntities,_t=ye.checkedKeys,gt=ye.halfCheckedKeys,Gt=se.props,Ot=Gt.checkStrictly,Ut=Gt.onCheck,be=Je.key,st,pt={event:"check",node:Je,checked:Ne,nativeEvent:ve.nativeEvent};if(Ot){var ct=Ne?(0,ft.L0)(_t,be):(0,ft._5)(_t,be),Nt=(0,ft._5)(gt,be);st={checked:ct,halfChecked:Nt},pt.checkedNodes=ct.map(function(Lt){return(0,Le.Z)(nt,Lt)}).filter(function(Lt){return Lt}).map(function(Lt){return Lt.node}),se.setUncontrolledState({checkedKeys:ct})}else{var Vt=(0,jt.S)([].concat((0,Ee.Z)(_t),[be]),!0,nt),on=Vt.checkedKeys,Qt=Vt.halfCheckedKeys;if(!Ne){var bn=new Set(on);bn.delete(be);var Tn=(0,jt.S)(Array.from(bn),{checked:!1,halfCheckedKeys:Qt},nt);on=Tn.checkedKeys,Qt=Tn.halfCheckedKeys}st=on,pt.checkedNodes=[],pt.checkedNodesPositions=[],pt.halfCheckedKeys=Qt,on.forEach(function(Lt){var Ft=(0,Le.Z)(nt,Lt);if(Ft){var Wt=Ft.node,fn=Ft.pos;pt.checkedNodes.push(Wt),pt.checkedNodesPositions.push({node:Wt,pos:fn})}}),se.setUncontrolledState({checkedKeys:on},!1,{halfCheckedKeys:Qt})}Ut==null||Ut(st,pt)},se.onNodeLoad=function(ve){var Je=ve.key,Ne=new Promise(function(ye,nt){se.setState(function(_t){var gt=_t.loadedKeys,Gt=gt===void 0?[]:gt,Ot=_t.loadingKeys,Ut=Ot===void 0?[]:Ot,be=se.props,st=be.loadData,pt=be.onLoad;if(!st||Gt.indexOf(Je)!==-1||Ut.indexOf(Je)!==-1)return null;var ct=st(ve);return ct.then(function(){var Nt=se.state.loadedKeys,Vt=(0,ft.L0)(Nt,Je);pt==null||pt(Vt,{event:"load",node:ve}),se.setUncontrolledState({loadedKeys:Vt}),se.setState(function(on){return{loadingKeys:(0,ft._5)(on.loadingKeys,Je)}}),ye()}).catch(function(Nt){if(se.setState(function(on){return{loadingKeys:(0,ft._5)(on.loadingKeys,Je)}}),se.loadingRetryTimes[Je]=(se.loadingRetryTimes[Je]||0)+1,se.loadingRetryTimes[Je]>=Xt){var Vt=se.state.loadedKeys;(0,y.ZP)(!1,"Retry for `loadData` many times but still failed. No more retry."),se.setUncontrolledState({loadedKeys:(0,ft.L0)(Vt,Je)}),ye()}nt(Nt)}),{loadingKeys:(0,ft.L0)(Ut,Je)}})});return Ne.catch(function(){}),Ne},se.onNodeMouseEnter=function(ve,Je){var Ne=se.props.onMouseEnter;Ne==null||Ne({event:ve,node:Je})},se.onNodeMouseLeave=function(ve,Je){var Ne=se.props.onMouseLeave;Ne==null||Ne({event:ve,node:Je})},se.onNodeContextMenu=function(ve,Je){var Ne=se.props.onRightClick;Ne&&(ve.preventDefault(),Ne({event:ve,node:Je}))},se.onFocus=function(){var ve=se.props.onFocus;se.setState({focused:!0});for(var Je=arguments.length,Ne=new Array(Je),ye=0;ye<Je;ye++)Ne[ye]=arguments[ye];ve==null||ve.apply(void 0,Ne)},se.onBlur=function(){var ve=se.props.onBlur;se.setState({focused:!1}),se.onActiveChange(null);for(var Je=arguments.length,Ne=new Array(Je),ye=0;ye<Je;ye++)Ne[ye]=arguments[ye];ve==null||ve.apply(void 0,Ne)},se.getTreeNodeRequiredProps=function(){var ve=se.state,Je=ve.expandedKeys,Ne=ve.selectedKeys,ye=ve.loadedKeys,nt=ve.loadingKeys,_t=ve.checkedKeys,gt=ve.halfCheckedKeys,Gt=ve.dragOverNodeKey,Ot=ve.dropPosition,Ut=ve.keyEntities;return{expandedKeys:Je||[],selectedKeys:Ne||[],loadedKeys:ye||[],loadingKeys:nt||[],checkedKeys:_t||[],halfCheckedKeys:gt||[],dragOverNodeKey:Gt,dropPosition:Ot,keyEntities:Ut}},se.setExpandedKeys=function(ve){var Je=se.state,Ne=Je.treeData,ye=Je.fieldNames,nt=(0,pe.oH)(Ne,ve,ye);se.setUncontrolledState({expandedKeys:ve,flattenNodes:nt},!0)},se.onNodeExpand=function(ve,Je){var Ne=se.state.expandedKeys,ye=se.state,nt=ye.listChanging,_t=ye.fieldNames,gt=se.props,Gt=gt.onExpand,Ot=gt.loadData,Ut=Je.expanded,be=Je[_t.key];if(!nt){var st=Ne.indexOf(be),pt=!Ut;if((0,y.ZP)(Ut&&st!==-1||!Ut&&st===-1,"Expand state not sync with index check"),pt?Ne=(0,ft.L0)(Ne,be):Ne=(0,ft._5)(Ne,be),se.setExpandedKeys(Ne),Gt==null||Gt(Ne,{node:Je,expanded:pt,nativeEvent:ve.nativeEvent}),pt&&Ot){var ct=se.onNodeLoad(Je);ct&&ct.then(function(){var Nt=(0,pe.oH)(se.state.treeData,Ne,_t);se.setUncontrolledState({flattenNodes:Nt})}).catch(function(){var Nt=se.state.expandedKeys,Vt=(0,ft._5)(Nt,be);se.setExpandedKeys(Vt)})}}},se.onListChangeStart=function(){se.setUncontrolledState({listChanging:!0})},se.onListChangeEnd=function(){setTimeout(function(){se.setUncontrolledState({listChanging:!1})})},se.onActiveChange=function(ve){var Je=se.state.activeKey,Ne=se.props.onActiveChange;Je!==ve&&(se.setState({activeKey:ve}),ve!==null&&se.scrollTo({key:ve}),Ne==null||Ne(ve))},se.getActiveItem=function(){var ve=se.state,Je=ve.activeKey,Ne=ve.flattenNodes;return Je===null?null:Ne.find(function(ye){var nt=ye.key;return nt===Je})||null},se.offsetActiveKey=function(ve){var Je=se.state,Ne=Je.flattenNodes,ye=Je.activeKey,nt=Ne.findIndex(function(Gt){var Ot=Gt.key;return Ot===ye});nt===-1&&ve<0&&(nt=Ne.length),nt=(nt+ve+Ne.length)%Ne.length;var _t=Ne[nt];if(_t){var gt=_t.key;se.onActiveChange(gt)}else se.onActiveChange(null)},se.onKeyDown=function(ve){var Je=se.state,Ne=Je.activeKey,ye=Je.expandedKeys,nt=Je.checkedKeys,_t=Je.fieldNames,gt=se.props,Gt=gt.onKeyDown,Ot=gt.checkable,Ut=gt.selectable;switch(ve.which){case Re.Z.UP:{se.offsetActiveKey(-1),ve.preventDefault();break}case Re.Z.DOWN:{se.offsetActiveKey(1),ve.preventDefault();break}}var be=se.getActiveItem();if(be&&be.data){var st=se.getTreeNodeRequiredProps(),pt=be.data.isLeaf===!1||!!(be.data[_t.children]||[]).length,ct=(0,pe.F)((0,je.Z)((0,je.Z)({},(0,pe.H8)(Ne,st)),{},{data:be.data,active:!0}));switch(ve.which){case Re.Z.LEFT:{pt&&ye.includes(Ne)?se.onNodeExpand({},ct):be.parent&&se.onActiveChange(be.parent.key),ve.preventDefault();break}case Re.Z.RIGHT:{pt&&!ye.includes(Ne)?se.onNodeExpand({},ct):be.children&&be.children.length&&se.onActiveChange(be.children[0].key),ve.preventDefault();break}case Re.Z.ENTER:case Re.Z.SPACE:{Ot&&!ct.disabled&&ct.checkable!==!1&&!ct.disableCheckbox?se.onNodeCheck({},ct,!nt.includes(Ne)):!Ot&&Ut&&!ct.disabled&&ct.selectable!==!1&&se.onNodeSelect({},ct);break}}}Gt==null||Gt(ve)},se.setUncontrolledState=function(ve){var Je=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Ne=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!se.destroyed){var ye=!1,nt=!0,_t={};Object.keys(ve).forEach(function(gt){if(gt in se.props){nt=!1;return}ye=!0,_t[gt]=ve[gt]}),ye&&(!Je||nt)&&se.setState((0,je.Z)((0,je.Z)({},_t),Ne))}},se.scrollTo=function(ve){se.listRef.current.scrollTo(ve)},se}return(0,re.Z)(he,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var Ie=this.props.activeKey;Ie!==void 0&&Ie!==this.state.activeKey&&(this.setState({activeKey:Ie}),Ie!==null&&this.scrollTo({key:Ie}))}},{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 Ie,dt=this.state,Se=dt.focused,ve=dt.flattenNodes,Je=dt.keyEntities,Ne=dt.draggingNodeKey,ye=dt.activeKey,nt=dt.dropLevelOffset,_t=dt.dropContainerKey,gt=dt.dropTargetKey,Gt=dt.dropPosition,Ot=dt.dragOverNodeKey,Ut=dt.indent,be=this.props,st=be.prefixCls,pt=be.className,ct=be.style,Nt=be.showLine,Vt=be.focusable,on=be.tabIndex,Qt=on===void 0?0:on,bn=be.selectable,Tn=be.showIcon,Lt=be.icon,Ft=be.switcherIcon,Wt=be.draggable,fn=be.checkable,un=be.checkStrictly,Hn=be.disabled,rt=be.motion,Pt=be.loadData,an=be.filterTreeNode,Pn=be.height,Fe=be.itemHeight,ht=be.virtual,Rt=be.titleRender,zt=be.dropIndicatorRender,en=be.onContextMenu,hn=be.onScroll,ln=be.direction,qe=be.rootClassName,tt=be.rootStyle,Ze=(0,ae.Z)(this.props,{aria:!0,data:!0}),Ct;return Wt&&((0,Ae.Z)(Wt)==="object"?Ct=Wt:typeof Wt=="function"?Ct={nodeDraggable:Wt}:Ct={}),a.createElement(b.k.Provider,{value:{prefixCls:st,selectable:bn,showIcon:Tn,icon:Lt,switcherIcon:Ft,draggable:Ct,draggingNodeKey:Ne,checkable:fn,checkStrictly:un,disabled:Hn,keyEntities:Je,dropLevelOffset:nt,dropContainerKey:_t,dropTargetKey:gt,dropPosition:Gt,dragOverNodeKey:Ot,indent:Ut,direction:ln,dropIndicatorRender:zt,loadData:Pt,filterTreeNode:an,titleRender:Rt,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:mt()(st,pt,qe,(Ie={},(0,ie.Z)(Ie,"".concat(st,"-show-line"),Nt),(0,ie.Z)(Ie,"".concat(st,"-focused"),Se),(0,ie.Z)(Ie,"".concat(st,"-active-focused"),ye!==null),Ie)),style:tt},a.createElement(Kt,(0,z.Z)({ref:this.listRef,prefixCls:st,style:ct,data:ve,disabled:Hn,selectable:bn,checkable:!!fn,motion:rt,dragging:Ne!==null,height:Pn,itemHeight:Fe,virtual:ht,focusable:Vt,focused:Se,tabIndex:Qt,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:en,onScroll:hn},this.getTreeNodeRequiredProps(),Ze))))}}],[{key:"getDerivedStateFromProps",value:function(Ie,dt){var Se=dt.prevProps,ve={prevProps:Ie};function Je(Vt){return!Se&&Vt in Ie||Se&&Se[Vt]!==Ie[Vt]}var Ne,ye=dt.fieldNames;if(Je("fieldNames")&&(ye=(0,pe.w$)(Ie.fieldNames),ve.fieldNames=ye),Je("treeData")?Ne=Ie.treeData:Je("children")&&((0,y.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),Ne=(0,pe.zn)(Ie.children)),Ne){ve.treeData=Ne;var nt=(0,pe.I8)(Ne,{fieldNames:ye});ve.keyEntities=(0,je.Z)((0,ie.Z)({},it,_e),nt.keyEntities)}var _t=ve.keyEntities||dt.keyEntities;if(Je("expandedKeys")||Se&&Je("autoExpandParent"))ve.expandedKeys=Ie.autoExpandParent||!Se&&Ie.defaultExpandParent?(0,ft.r7)(Ie.expandedKeys,_t):Ie.expandedKeys;else if(!Se&&Ie.defaultExpandAll){var gt=(0,je.Z)({},_t);delete gt[it],ve.expandedKeys=Object.keys(gt).map(function(Vt){return gt[Vt].key})}else!Se&&Ie.defaultExpandedKeys&&(ve.expandedKeys=Ie.autoExpandParent||Ie.defaultExpandParent?(0,ft.r7)(Ie.defaultExpandedKeys,_t):Ie.defaultExpandedKeys);if(ve.expandedKeys||delete ve.expandedKeys,Ne||ve.expandedKeys){var Gt=(0,pe.oH)(Ne||dt.treeData,ve.expandedKeys||dt.expandedKeys,ye);ve.flattenNodes=Gt}if(Ie.selectable&&(Je("selectedKeys")?ve.selectedKeys=(0,ft.BT)(Ie.selectedKeys,Ie):!Se&&Ie.defaultSelectedKeys&&(ve.selectedKeys=(0,ft.BT)(Ie.defaultSelectedKeys,Ie))),Ie.checkable){var Ot;if(Je("checkedKeys")?Ot=(0,ft.E6)(Ie.checkedKeys)||{}:!Se&&Ie.defaultCheckedKeys?Ot=(0,ft.E6)(Ie.defaultCheckedKeys)||{}:Ne&&(Ot=(0,ft.E6)(Ie.checkedKeys)||{checkedKeys:dt.checkedKeys,halfCheckedKeys:dt.halfCheckedKeys}),Ot){var Ut=Ot,be=Ut.checkedKeys,st=be===void 0?[]:be,pt=Ut.halfCheckedKeys,ct=pt===void 0?[]:pt;if(!Ie.checkStrictly){var Nt=(0,jt.S)(st,!0,_t);st=Nt.checkedKeys,ct=Nt.halfCheckedKeys}ve.checkedKeys=st,ve.halfCheckedKeys=ct}}return Je("loadedKeys")&&(ve.loadedKeys=Ie.loadedKeys),ve}}]),he}(a.Component);vn.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:E,allowDrop:function(){return!0},expandAction:!1},vn.TreeNode=ge.Z;var St=vn,ut=St},35654:function(xt,It,te){"use strict";te.d(It,{BT:function(){return a},E6:function(){return x},L0:function(){return ze},OM:function(){return y},_5:function(){return Ke},r7:function(){return ee},wA:function(){return mt},yx:function(){return Xe}});var z=te(3300),ie=te(34666),Ae=te(48736),je=te(59301),Ee=te(39417),xe=te(67841),re=te(71430),We=null;function Ke(ne,oe){if(!ne)return[];var le=ne.slice(),ue=le.indexOf(oe);return ue>=0&&le.splice(ue,1),le}function ze(ne,oe){var le=(ne||[]).slice();return le.indexOf(oe)===-1&&le.push(oe),le}function Xe(ne){return ne.split("-")}function mt(ne,oe){var le=[],ue=(0,xe.Z)(oe,ne);function ge(){var Ce=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];Ce.forEach(function(pe){var Be=pe.key,de=pe.children;le.push(Be),ge(de)})}return ge(ue.children),le}function Re(ne){if(ne.parent){var oe=Xe(ne.pos);return Number(oe[oe.length-1])===ne.parent.children.length-1}return!1}function ae(ne){var oe=Xe(ne.pos);return Number(oe[oe.length-1])===0}function y(ne,oe,le,ue,ge,Ce,pe,Be,de,et){var Oe,Ge=ne.clientX,Pe=ne.clientY,ke=ne.target.getBoundingClientRect(),ot=ke.top,Ue=ke.height,it=(et==="rtl"?-1:1)*(((ge==null?void 0:ge.x)||0)-Ge),Mt=(it-12)/ue,_e=(0,xe.Z)(Be,le.props.eventKey);if(Pe<ot+Ue/2){var Tt=pe.findIndex(function(ut){return ut.key===_e.key}),Jt=Tt<=0?0:Tt-1,Me=pe[Jt].key;_e=(0,xe.Z)(Be,Me)}var De=_e.key,Et=_e,Kt=_e.key,ft=0,jt=0;if(!de.includes(De))for(var Le=0;Le<Mt&&Re(_e);Le+=1)_e=_e.parent,jt+=1;var Xt=oe.props.data,vn=_e.node,St=!0;return ae(_e)&&_e.level===0&&Pe<ot+Ue/2&&Ce({dragNode:Xt,dropNode:vn,dropPosition:-1})&&_e.key===le.props.eventKey?ft=-1:(Et.children||[]).length&&de.includes(Kt)?Ce({dragNode:Xt,dropNode:vn,dropPosition:0})?ft=0:St=!1:jt===0?Mt>-1.5?Ce({dragNode:Xt,dropNode:vn,dropPosition:1})?ft=1:St=!1:Ce({dragNode:Xt,dropNode:vn,dropPosition:0})?ft=0:Ce({dragNode:Xt,dropNode:vn,dropPosition:1})?ft=1:St=!1:Ce({dragNode:Xt,dropNode:vn,dropPosition:1})?ft=1:St=!1,{dropPosition:ft,dropLevelOffset:jt,dropTargetKey:_e.key,dropTargetPos:_e.pos,dragOverNodeKey:Kt,dropContainerKey:ft===0?null:((Oe=_e.parent)===null||Oe===void 0?void 0:Oe.key)||null,dropAllowed:St}}function a(ne,oe){if(ne){var le=oe.multiple;return le?ne.slice():ne.length?[ne[0]]:ne}}var b=function(oe){return oe};function E(ne,oe){if(!ne)return[];var le=oe||{},ue=le.processProps,ge=ue===void 0?b:ue,Ce=Array.isArray(ne)?ne:[ne];return Ce.map(function(pe){var Be=pe.children,de=_objectWithoutProperties(pe,We),et=E(Be,oe);return React.createElement(TreeNode,_extends({key:de.key},ge(de)),et)})}function x(ne){if(!ne)return null;var oe;if(Array.isArray(ne))oe={checkedKeys:ne,halfCheckedKeys:void 0};else if((0,ie.Z)(ne)==="object")oe={checkedKeys:ne.checked||void 0,halfCheckedKeys:ne.halfChecked||void 0};else return(0,Ae.ZP)(!1,"`checkedKeys` is not an array or an object"),null;return oe}function ee(ne,oe){var le=new Set;function ue(ge){if(!le.has(ge)){var Ce=(0,xe.Z)(oe,ge);if(Ce){le.add(ge);var pe=Ce.parent,Be=Ce.node;Be.disabled||pe&&ue(pe.key)}}}return(ne||[]).forEach(function(ge){ue(ge)}),(0,z.Z)(le)}},90782:function(xt,It,te){"use strict";te.d(It,{S:function(){return re}});var z=te(48736),ie=te(67841);function Ae(We,Ke){var ze=new Set;return We.forEach(function(Xe){Ke.has(Xe)||ze.add(Xe)}),ze}function je(We){var Ke=We||{},ze=Ke.disabled,Xe=Ke.disableCheckbox,mt=Ke.checkable;return!!(ze||Xe)||mt===!1}function Ee(We,Ke,ze,Xe){for(var mt=new Set(We),Re=new Set,ae=0;ae<=ze;ae+=1){var y=Ke.get(ae)||new Set;y.forEach(function(x){var ee=x.key,ne=x.node,oe=x.children,le=oe===void 0?[]:oe;mt.has(ee)&&!Xe(ne)&&le.filter(function(ue){return!Xe(ue.node)}).forEach(function(ue){mt.add(ue.key)})})}for(var a=new Set,b=ze;b>=0;b-=1){var E=Ke.get(b)||new Set;E.forEach(function(x){var ee=x.parent,ne=x.node;if(!(Xe(ne)||!x.parent||a.has(x.parent.key))){if(Xe(x.parent.node)){a.add(ee.key);return}var oe=!0,le=!1;(ee.children||[]).filter(function(ue){return!Xe(ue.node)}).forEach(function(ue){var ge=ue.key,Ce=mt.has(ge);oe&&!Ce&&(oe=!1),!le&&(Ce||Re.has(ge))&&(le=!0)}),oe&&mt.add(ee.key),le&&Re.add(ee.key),a.add(ee.key)}})}return{checkedKeys:Array.from(mt),halfCheckedKeys:Array.from(Ae(Re,mt))}}function xe(We,Ke,ze,Xe,mt){for(var Re=new Set(We),ae=new Set(Ke),y=0;y<=Xe;y+=1){var a=ze.get(y)||new Set;a.forEach(function(ee){var ne=ee.key,oe=ee.node,le=ee.children,ue=le===void 0?[]:le;!Re.has(ne)&&!ae.has(ne)&&!mt(oe)&&ue.filter(function(ge){return!mt(ge.node)}).forEach(function(ge){Re.delete(ge.key)})})}ae=new Set;for(var b=new Set,E=Xe;E>=0;E-=1){var x=ze.get(E)||new Set;x.forEach(function(ee){var ne=ee.parent,oe=ee.node;if(!(mt(oe)||!ee.parent||b.has(ee.parent.key))){if(mt(ee.parent.node)){b.add(ne.key);return}var le=!0,ue=!1;(ne.children||[]).filter(function(ge){return!mt(ge.node)}).forEach(function(ge){var Ce=ge.key,pe=Re.has(Ce);le&&!pe&&(le=!1),!ue&&(pe||ae.has(Ce))&&(ue=!0)}),le||Re.delete(ne.key),ue&&ae.add(ne.key),b.add(ne.key)}})}return{checkedKeys:Array.from(Re),halfCheckedKeys:Array.from(Ae(ae,Re))}}function re(We,Ke,ze,Xe){var mt=[],Re;Xe?Re=Xe:Re=je;var ae=new Set(We.filter(function(E){var x=!!(0,ie.Z)(ze,E);return x||mt.push(E),x})),y=new Map,a=0;Object.keys(ze).forEach(function(E){var x=ze[E],ee=x.level,ne=y.get(ee);ne||(ne=new Set,y.set(ee,ne)),ne.add(x),a=Math.max(a,ee)}),(0,z.ZP)(!mt.length,"Tree missing follow keys: ".concat(mt.slice(0,100).map(function(E){return"'".concat(E,"'")}).join(", ")));var b;return Ke===!0?b=Ee(ae,y,a,Re):b=xe(ae,Ke.halfCheckedKeys,y,a,Re),b}},67841:function(xt,It,te){"use strict";te.d(It,{Z:function(){return z}});function z(ie,Ae){return ie[Ae]}},71430:function(xt,It,te){"use strict";te.d(It,{F:function(){return ee},H8:function(){return x},I8:function(){return E},km:function(){return mt},oH:function(){return a},w$:function(){return Re},zn:function(){return y}});var z=te(34666),ie=te(3300),Ae=te(27247),je=te(43079),Ee=te(11592),xe=te(2738),re=te(48736),We=te(67841),Ke=["children"];function ze(ne,oe){return"".concat(ne,"-").concat(oe)}function Xe(ne){return ne&&ne.type&&ne.type.isTreeNode}function mt(ne,oe){return ne!=null?ne:oe}function Re(ne){var oe=ne||{},le=oe.title,ue=oe._title,ge=oe.key,Ce=oe.children,pe=le||"title";return{title:pe,_title:ue||[pe],key:ge||"key",children:Ce||"children"}}function ae(ne,oe){var le=new Map;function ue(ge){var Ce=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(ge||[]).forEach(function(pe){var Be=pe[oe.key],de=pe[oe.children];warning(Be!=null,"Tree node must have a certain key: [".concat(Ce).concat(Be,"]"));var et=String(Be);warning(!le.has(et)||Be===null||Be===void 0,"Same 'key' exist in the Tree: ".concat(et)),le.set(et,!0),ue(de,"".concat(Ce).concat(et," > "))})}ue(ne)}function y(ne){function oe(le){var ue=(0,Ee.Z)(le);return ue.map(function(ge){if(!Xe(ge))return(0,re.ZP)(!ge,"Tree/TreeNode can only accept TreeNode as children."),null;var Ce=ge.key,pe=ge.props,Be=pe.children,de=(0,je.Z)(pe,Ke),et=(0,Ae.Z)({key:Ce},de),Oe=oe(Be);return Oe.length&&(et.children=Oe),et}).filter(function(ge){return ge})}return oe(ne)}function a(ne,oe,le){var ue=Re(le),ge=ue._title,Ce=ue.key,pe=ue.children,Be=new Set(oe===!0?[]:oe),de=[];function et(Oe){var Ge=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return Oe.map(function(Pe,ke){for(var ot=ze(Ge?Ge.pos:"0",ke),Ue=mt(Pe[Ce],ot),it,Mt=0;Mt<ge.length;Mt+=1){var _e=ge[Mt];if(Pe[_e]!==void 0){it=Pe[_e];break}}var Tt=(0,Ae.Z)((0,Ae.Z)({},(0,xe.Z)(Pe,[].concat((0,ie.Z)(ge),[Ce,pe]))),{},{title:it,key:Ue,parent:Ge,pos:ot,children:null,data:Pe,isStart:[].concat((0,ie.Z)(Ge?Ge.isStart:[]),[ke===0]),isEnd:[].concat((0,ie.Z)(Ge?Ge.isEnd:[]),[ke===Oe.length-1])});return de.push(Tt),oe===!0||Be.has(Ue)?Tt.children=et(Pe[pe]||[],Tt):Tt.children=[],Tt})}return et(ne),de}function b(ne,oe,le){var ue={};(0,z.Z)(le)==="object"?ue=le:ue={externalGetKey:le},ue=ue||{};var ge=ue,Ce=ge.childrenPropName,pe=ge.externalGetKey,Be=ge.fieldNames,de=Re(Be),et=de.key,Oe=de.children,Ge=Ce||Oe,Pe;pe?typeof pe=="string"?Pe=function(Ue){return Ue[pe]}:typeof pe=="function"&&(Pe=function(Ue){return pe(Ue)}):Pe=function(Ue,it){return mt(Ue[et],it)};function ke(ot,Ue,it,Mt){var _e=ot?ot[Ge]:ne,Tt=ot?ze(it.pos,Ue):"0",Jt=ot?[].concat((0,ie.Z)(Mt),[ot]):[];if(ot){var Me=Pe(ot,Tt),De={node:ot,index:Ue,pos:Tt,key:Me,parentPos:it.node?it.pos:null,level:it.level+1,nodes:Jt};oe(De)}_e&&_e.forEach(function(Et,Kt){ke(Et,Kt,{node:ot,pos:Tt,level:it?it.level+1:-1},Jt)})}ke(null)}function E(ne){var oe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},le=oe.initWrapper,ue=oe.processEntity,ge=oe.onProcessFinished,Ce=oe.externalGetKey,pe=oe.childrenPropName,Be=oe.fieldNames,de=arguments.length>2?arguments[2]:void 0,et=Ce||de,Oe={},Ge={},Pe={posEntities:Oe,keyEntities:Ge};return le&&(Pe=le(Pe)||Pe),b(ne,function(ke){var ot=ke.node,Ue=ke.index,it=ke.pos,Mt=ke.key,_e=ke.parentPos,Tt=ke.level,Jt=ke.nodes,Me={node:ot,nodes:Jt,index:Ue,key:Mt,pos:it,level:Tt},De=mt(Mt,it);Oe[it]=Me,Ge[De]=Me,Me.parent=Oe[_e],Me.parent&&(Me.parent.children=Me.parent.children||[],Me.parent.children.push(Me)),ue&&ue(Me,Pe)},{externalGetKey:et,childrenPropName:pe,fieldNames:Be}),ge&&ge(Pe),Pe}function x(ne,oe){var le=oe.expandedKeys,ue=oe.selectedKeys,ge=oe.loadedKeys,Ce=oe.loadingKeys,pe=oe.checkedKeys,Be=oe.halfCheckedKeys,de=oe.dragOverNodeKey,et=oe.dropPosition,Oe=oe.keyEntities,Ge=(0,We.Z)(Oe,ne),Pe={eventKey:ne,expanded:le.indexOf(ne)!==-1,selected:ue.indexOf(ne)!==-1,loaded:ge.indexOf(ne)!==-1,loading:Ce.indexOf(ne)!==-1,checked:pe.indexOf(ne)!==-1,halfChecked:Be.indexOf(ne)!==-1,pos:String(Ge?Ge.pos:""),dragOver:de===ne&&et===0,dragOverGapTop:de===ne&&et===-1,dragOverGapBottom:de===ne&&et===1};return Pe}function ee(ne){var oe=ne.data,le=ne.expanded,ue=ne.selected,ge=ne.checked,Ce=ne.loaded,pe=ne.loading,Be=ne.halfChecked,de=ne.dragOver,et=ne.dragOverGapTop,Oe=ne.dragOverGapBottom,Ge=ne.pos,Pe=ne.active,ke=ne.eventKey,ot=(0,Ae.Z)((0,Ae.Z)({},oe),{},{expanded:le,selected:ue,checked:ge,loaded:Ce,loading:pe,halfChecked:Be,dragOver:de,dragOverGapTop:et,dragOverGapBottom:Oe,pos:Ge,active:Pe,key:ke});return"props"in ot||Object.defineProperty(ot,"props",{get:function(){return(0,re.ZP)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),ne}}),ot}},8224:function(xt,It,te){"use strict";te.d(It,{Z:function(){return ie}});var z=te(4676);function ie(Ae,je,Ee,xe){var re=z.unstable_batchedUpdates?function(Ke){z.unstable_batchedUpdates(Ee,Ke)}:Ee;return Ae!=null&&Ae.addEventListener&&Ae.addEventListener(je,re,xe),{remove:function(){Ae!=null&&Ae.removeEventListener&&Ae.removeEventListener(je,re,xe)}}}},55468:function(xt,It,te){"use strict";te.d(It,{g1:function(){return Xe},os:function(){return Re}});var z=/margin|padding|width|height|max|min|offset/,ie={left:!0,top:!0},Ae={cssFloat:1,styleFloat:1,float:1};function je(ae){return ae.nodeType===1?ae.ownerDocument.defaultView.getComputedStyle(ae,null):{}}function Ee(ae,y,a){if(y=y.toLowerCase(),a==="auto"){if(y==="height")return ae.offsetHeight;if(y==="width")return ae.offsetWidth}return y in ie||(ie[y]=z.test(y)),ie[y]?parseFloat(a)||0:a}function xe(ae,y){var a=arguments.length,b=je(ae);return y=Ae[y]?"cssFloat"in ae.style?"cssFloat":"styleFloat":y,a===1?b:Ee(ae,y,b[y]||ae.style[y])}function re(ae,y,a){var b=arguments.length;if(y=Ae[y]?"cssFloat"in ae.style?"cssFloat":"styleFloat":y,b===3)return typeof a=="number"&&z.test(y)&&(a="".concat(a,"px")),ae.style[y]=a,a;for(var E in y)y.hasOwnProperty(E)&&re(ae,E,y[E]);return je(ae)}function We(ae){return ae===document.body?document.documentElement.clientWidth:ae.offsetWidth}function Ke(ae){return ae===document.body?window.innerHeight||document.documentElement.clientHeight:ae.offsetHeight}function ze(){var ae=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth),y=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight);return{width:ae,height:y}}function Xe(){var ae=document.documentElement.clientWidth,y=window.innerHeight||document.documentElement.clientHeight;return{width:ae,height:y}}function mt(){return{scrollLeft:Math.max(document.documentElement.scrollLeft,document.body.scrollLeft),scrollTop:Math.max(document.documentElement.scrollTop,document.body.scrollTop)}}function Re(ae){var y=ae.getBoundingClientRect(),a=document.documentElement;return{left:y.left+(window.pageXOffset||a.scrollLeft)-(a.clientLeft||document.body.clientLeft||0),top:y.top+(window.pageYOffset||a.scrollTop)-(a.clientTop||document.body.clientTop||0)}}},24514:function(xt,It,te){"use strict";te.d(It,{G:function(){return je}});var z=te(47273),ie=function(xe){if((0,z.Z)()&&window.document.documentElement){var re=Array.isArray(xe)?xe:[xe],We=window.document.documentElement;return re.some(function(Ke){return Ke in We.style})}return!1},Ae=function(xe,re){if(!ie(xe))return!1;var We=document.createElement("div"),Ke=We.style[xe];return We.style[xe]=re,We.style[xe]!==Ke};function je(Ee,xe){return!Array.isArray(Ee)&&xe!==void 0?Ae(Ee,xe):ie(Ee)}},73631:function(xt){"use strict";xt.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAAXNSR0IArs4c6QAAAZxJREFUOBGtlL1Ow0AMgH2XUIkOLFXVASgTsDHxBIAEzAwMPBQjT8AATGVBgEB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