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
969 KiB

(self.webpackChunk=self.webpackChunk||[]).push([[1953],{89489:function(bt,It,te){"use strict";te.d(It,{Z:function(){return Je}});var ee=te(16378),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"},Ge=Ae,Ce=te(7657),Fe=function(Ze,lt){return ie.createElement(Ce.Z,(0,ee.Z)({},Ze,{ref:lt,icon:Ge}))},re=ie.forwardRef(Fe),Je=re},59477:function(bt,It,te){"use strict";te.d(It,{Z:function(){return Je}});var ee=te(16378),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"},Ge=Ae,Ce=te(7657),Fe=function(Ze,lt){return ie.createElement(Ce.Z,(0,ee.Z)({},Ze,{ref:lt,icon:Ge}))},re=ie.forwardRef(Fe),Je=re},26227:function(bt,It,te){"use strict";te.d(It,{Z:function(){return Je}});var ee=te(16378),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"},Ge=Ae,Ce=te(7657),Fe=function(Ze,lt){return ie.createElement(Ce.Z,(0,ee.Z)({},Ze,{ref:lt,icon:Ge}))},re=ie.forwardRef(Fe),Je=re},49198:function(bt,It,te){"use strict";te.d(It,{Z:function(){return Je}});var ee=te(16378),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"},Ge=Ae,Ce=te(7657),Fe=function(Ze,lt){return ie.createElement(Ce.Z,(0,ee.Z)({},Ze,{ref:lt,icon:Ge}))},re=ie.forwardRef(Fe),Je=re},41464:function(bt,It,te){"use strict";te.d(It,{Z:function(){return Je}});var ee=te(16378),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"},Ge=Ae,Ce=te(7657),Fe=function(Ze,lt){return ie.createElement(Ce.Z,(0,ee.Z)({},Ze,{ref:lt,icon:Ge}))},re=ie.forwardRef(Fe),Je=re},87169:function(bt,It,te){"use strict";te.d(It,{Z:function(){return Je}});var ee=te(16378),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"},Ge=Ae,Ce=te(7657),Fe=function(Ze,lt){return ie.createElement(Ce.Z,(0,ee.Z)({},Ze,{ref:lt,icon:Ge}))},re=ie.forwardRef(Fe),Je=re},52671:function(bt,It,te){"use strict";te.d(It,{Z:function(){return Je}});var ee=te(16378),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"},Ge=Ae,Ce=te(7657),Fe=function(Ze,lt){return ie.createElement(Ce.Z,(0,ee.Z)({},Ze,{ref:lt,icon:Ge}))},re=ie.forwardRef(Fe),Je=re},8657:function(bt,It,te){"use strict";te.d(It,{Z:function(){return Je}});var ee=te(16378),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"},Ge=Ae,Ce=te(7657),Fe=function(Ze,lt){return ie.createElement(Ce.Z,(0,ee.Z)({},Ze,{ref:lt,icon:Ge}))},re=ie.forwardRef(Fe),Je=re},56082:function(bt,It,te){"use strict";te.d(It,{Z:function(){return Je}});var ee=te(16378),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"},Ge=Ae,Ce=te(7657),Fe=function(Ze,lt){return ie.createElement(Ce.Z,(0,ee.Z)({},Ze,{ref:lt,icon:Ge}))},re=ie.forwardRef(Fe),Je=re},33853:function(bt,It,te){"use strict";te.d(It,{Z:function(){return Je}});var ee=te(16378),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"},Ge=Ae,Ce=te(7657),Fe=function(Ze,lt){return ie.createElement(Ce.Z,(0,ee.Z)({},Ze,{ref:lt,icon:Ge}))},re=ie.forwardRef(Fe),Je=re},12893:function(bt,It,te){"use strict";te.d(It,{Z:function(){return Je}});var ee=te(16378),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"},Ge=Ae,Ce=te(7657),Fe=function(Ze,lt){return ie.createElement(Ce.Z,(0,ee.Z)({},Ze,{ref:lt,icon:Ge}))},re=ie.forwardRef(Fe),Je=re},15075:function(bt,It,te){"use strict";te.d(It,{Z:function(){return Je}});var ee=te(16378),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"},Ge=Ae,Ce=te(7657),Fe=function(Ze,lt){return ie.createElement(Ce.Z,(0,ee.Z)({},Ze,{ref:lt,icon:Ge}))},re=ie.forwardRef(Fe),Je=re},32134:function(bt,It,te){"use strict";te.d(It,{Z:function(){return Je}});var ee=te(16378),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"},Ge=Ae,Ce=te(7657),Fe=function(Ze,lt){return ie.createElement(Ce.Z,(0,ee.Z)({},Ze,{ref:lt,icon:Ge}))},re=ie.forwardRef(Fe),Je=re},43531:function(bt,It,te){"use strict";te.d(It,{Z:function(){return Je}});var ee=te(16378),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"},Ge=Ae,Ce=te(7657),Fe=function(Ze,lt){return ie.createElement(Ce.Z,(0,ee.Z)({},Ze,{ref:lt,icon:Ge}))},re=ie.forwardRef(Fe),Je=re},38819:function(bt,It,te){"use strict";te.d(It,{Z:function(){return Je}});var ee=te(16378),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"},Ge=Ae,Ce=te(7657),Fe=function(Ze,lt){return ie.createElement(Ce.Z,(0,ee.Z)({},Ze,{ref:lt,icon:Ge}))},re=ie.forwardRef(Fe),Je=re},93938:function(bt,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"}},11037:function(bt,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"}},37404:function(){"use strict";function bt(oe,y,a,b){a===void 0&&(a=0),b===void 0&&(b=1/0),this._name=oe,this._defaultValue=y,this._minimum=a,this._maximum=b}Object.defineProperty(bt.prototype,"name",{get:function(){return this._name},set:function(oe){if(typeof oe!="string"||oe==="")throw new Error("Shape name must be a valid string.");this._name=oe}}),Object.defineProperty(bt.prototype,"defaultValue",{get:function(){return this._defaultValue},set:function(oe){if(typeof oe!="number"||isNaN(oe))throw new Error("The default value must be a real number, not: "+oe);this._defaultValue=oe}}),Object.defineProperty(bt.prototype,"minimum",{get:function(){return this._minimum},set:function(oe){if(typeof oe!="number"||isNaN(oe))throw new Error("Minimum must be a real number, not: "+oe);this._minimum=oe}}),Object.defineProperty(bt.prototype,"maximum",{get:function(){return this._maximum},set:function(oe){if(typeof oe!="number"||isNaN(oe))throw new Error("Maximum must be a real number, not: "+oe);this._maximum=oe}}),go.Shape._FigureParameters={},go.Shape.getFigureParameter=function(oe,y){var a=go.Shape._FigureParameters[oe];return a?a[y]:null},go.Shape.setFigureParameter=function(oe,y,a){if(!(a instanceof bt))throw new Error("Third argument to Shape.setFigureParameter is not FigureParameter: "+a);if(a.defaultValue<a.minimum||a.defaultValue>a.maximum)throw new Error("defaultValue must be between minimum and maximum, not: "+a.defaultValue);var b=go.Shape._FigureParameters[oe];b||(b=[],go.Shape._FigureParameters[oe]=b),b[y]=a};var It=[];function te(oe,y){var a=It.pop();return a===void 0?new go.Point(oe,y):(a.x=oe,a.y=y,a)}function ee(){var oe=It.pop();return oe===void 0?new go.Point:oe}function ie(oe){It.push(oe)}function Ae(oe,y,a,b,E,x,z,ne,ae){ae||(ae=new go.Point);var le=oe-a,se=E-z,ce=NaN,be=NaN;if(le===0)if(se===0)oe===a&&(ce=oe,be=y);else{var fe=(x-ne)/se,Oe=x-fe*E;ce=oe,be=fe*ce+Oe}else if(se===0){var ge=(y-b)/le,it=y-ge*oe;ce=E,be=ge*ce+it}else{var ge=(y-b)/le,fe=(x-ne)/se,it=y-ge*oe,Oe=x-fe*E;ce=(Oe-it)/(ge-fe),be=ge*ce+it}return ae.x=ce,ae.y=be,ae}function Ge(oe,y,a,b,E,x,z,ne,ae,le,se,ce,be,fe){var Oe=1-ae,ge=ae,it=oe*Oe+a*ge,Le=y*Oe+b*ge,Ke=a*Oe+E*ge,ye=b*Oe+x*ge,je=E*Oe+z*ge,qe=x*Oe+ne*ge,$e=it*Oe+Ke*ge,Ue=Le*Oe+ye*ge,Rt=Ke*Oe+je*ge,Ye=ye*Oe+qe*ge,Dt=$e*Oe+Rt*ge,qt=Ue*Oe+Ye*ge;le.x=it,le.y=Le,se.x=$e,se.y=Ue,ce.x=Dt,ce.y=qt,be.x=Rt,be.y=Ye,fe.x=je,fe.y=qe}var Ce=new go.Spot(.156,.156),Fe=new go.Spot(.844,.844),re=4*((Math.sqrt(2)-1)/3);go.Shape.setFigureParameter("RoundedRectangle",0,new bt("CornerRounding",5)),go.Shape.defineFigureGenerator("RoundedRectangle",function(oe,y,a){var b=oe?oe.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(oe,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(oe,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(oe,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(oe,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(oe,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(oe,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(oe,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(oe,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(oe,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(oe,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(oe,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(oe,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(oe,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(oe,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(oe,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=Ce,E.spot2=Fe,E.defaultStretch=go.GraphObject.Uniform,E}),go.Shape.defineFigureGenerator("Line1",function(oe,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(oe,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(oe,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(oe,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(oe,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(oe,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(oe,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(oe,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(oe,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(oe,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 bt("Indent",.1,-.99,.99)),go.Shape.defineFigureGenerator("Parallelogram1",function(oe,y,a){var b=oe?oe.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 bt("Indent",10,-1/0,1/0)),go.Shape.defineFigureGenerator("Parallelogram2",function(oe,y,a){var b=oe?oe.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 bt("Indent",.2,-.99,.99)),go.Shape.defineFigureGenerator("Trapezoid1",function(oe,y,a){var b=oe?oe.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 bt("Indent",20,-1/0,1/0)),go.Shape.defineFigureGenerator("Trapezoid2",function(oe,y,a){var b=oe?oe.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 bt("Indent",10,-1/0,1/0)),go.Shape.defineFigureGenerator("ManualOperation",function(oe,y,a){var b=oe?oe.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 Je=[];function Qe(){var oe=Je.pop();return oe===void 0?[]:oe}function Ze(oe){oe.length=0,Je.push(oe)}function lt(oe){for(var y=Qe(),a=.5,b=.5,E=Math.PI*1.5,x=0,z=0;z<oe;z++)x=2*Math.PI/oe*z+E,y[z]=new go.Point(b+a*Math.cos(x),b+a*Math.sin(x));return y.push(y[0]),y}function pt(oe){var y=Te(oe),a=Qe();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 Te(oe){for(var y=lt(oe),a=Qe(),b=Math.floor(y.length/2),E=y.length-1,x=oe%2===0?2:1,z=0;z<E;z++){var ne=y[z],ae=y[z+1],le=y[(b+z-1)%E],se=y[(b+z+x)%E];a[z*2]=ne,a[z*2+1]=Ae(ne.x,ne.y,le.x,le.y,ae.x,ae.y,se.x,se.y,new go.Point)}return a[a.length]=a[0],Ze(y),a}go.Shape.defineFigureGenerator("Pentagon",function(oe,y,a){var b=lt(5),E=new go.Geometry,x=new go.PathFigure(b[0].x*y,b[0].y*a,!0);E.add(x);for(var z=1;z<5;z++)x.add(new go.PathSegment(go.PathSegment.Line,b[z].x*y,b[z].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(oe,y,a){var b=lt(6),E=new go.Geometry,x=new go.PathFigure(b[0].x*y,b[0].y*a,!0);E.add(x);for(var z=1;z<6;z++)x.add(new go.PathSegment(go.PathSegment.Line,b[z].x*y,b[z].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(oe,y,a){var b=lt(7),E=new go.Geometry,x=new go.PathFigure(b[0].x*y,b[0].y*a,!0);E.add(x);for(var z=1;z<7;z++)x.add(new go.PathSegment(go.PathSegment.Line,b[z].x*y,b[z].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(oe,y,a){var b=lt(8),E=new go.Geometry,x=new go.PathFigure(b[0].x*y,b[0].y*a,!0);E.add(x);for(var z=1;z<8;z++)x.add(new go.PathSegment(go.PathSegment.Line,b[z].x*y,b[z].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(oe,y,a){var b=lt(9),E=new go.Geometry,x=new go.PathFigure(b[0].x*y,b[0].y*a,!0);E.add(x);for(var z=1;z<9;z++)x.add(new go.PathSegment(go.PathSegment.Line,b[z].x*y,b[z].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(oe,y,a){var b=lt(10),E=new go.Geometry,x=new go.PathFigure(b[0].x*y,b[0].y*a,!0);E.add(x);for(var z=1;z<10;z++)x.add(new go.PathSegment(go.PathSegment.Line,b[z].x*y,b[z].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(oe,y,a){var b=lt(12),E=new go.Geometry,x=new go.PathFigure(b[0].x*y,b[0].y*a,!0);E.add(x);for(var z=1;z<12;z++)x.add(new go.PathSegment(go.PathSegment.Line,b[z].x*y,b[z].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(oe,y,a){var b=Te(5),E=new go.Geometry,x=new go.PathFigure(b[0].x*y,b[0].y*a,!0);E.add(x);for(var z=1;z<10;z++)x.add(new go.PathSegment(go.PathSegment.Line,b[z].x*y,b[z].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(oe,y,a){var b=Te(6),E=new go.Geometry,x=new go.PathFigure(b[0].x*y,b[0].y*a,!0);E.add(x);for(var z=1;z<12;z++)x.add(new go.PathSegment(go.PathSegment.Line,b[z].x*y,b[z].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(oe,y,a){var b=Te(7),E=new go.Geometry,x=new go.PathFigure(b[0].x*y,b[0].y*a,!0);E.add(x);for(var z=1;z<14;z++)x.add(new go.PathSegment(go.PathSegment.Line,b[z].x*y,b[z].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(oe,y,a){var b=Te(8),E=new go.Geometry,x=new go.PathFigure(b[0].x*y,b[0].y*a,!0);E.add(x);for(var z=1;z<16;z++)x.add(new go.PathSegment(go.PathSegment.Line,b[z].x*y,b[z].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(oe,y,a){var b=Te(9),E=new go.Geometry,x=new go.PathFigure(b[0].x*y,b[0].y*a,!0);E.add(x);for(var z=1;z<18;z++)x.add(new go.PathSegment(go.PathSegment.Line,b[z].x*y,b[z].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(oe,y,a){var b=Te(10),E=new go.Geometry,x=new go.PathFigure(b[0].x*y,b[0].y*a,!0);E.add(x);for(var z=1;z<20;z++)x.add(new go.PathSegment(go.PathSegment.Line,b[z].x*y,b[z].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(oe,y,a){var b=pt(5),E=new go.Geometry,x=new go.PathFigure(b[0].x*y,b[0].y*a,!0);E.add(x);for(var z=1;z<b.length;z+=3)x.add(new go.PathSegment(go.PathSegment.Bezier,b[z+2].x*y,b[z+2].y*a,b[z].x*y,b[z].y*a,b[z+1].x*y,b[z+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(oe,y,a){var b=pt(6),E=new go.Geometry,x=new go.PathFigure(b[0].x*y,b[0].y*a,!0);E.add(x);for(var z=1;z<b.length;z+=3)x.add(new go.PathSegment(go.PathSegment.Bezier,b[z+2].x*y,b[z+2].y*a,b[z].x*y,b[z].y*a,b[z+1].x*y,b[z+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(oe,y,a){var b=pt(7),E=new go.Geometry,x=new go.PathFigure(b[0].x*y,b[0].y*a,!0);E.add(x);for(var z=1;z<b.length;z+=3)x.add(new go.PathSegment(go.PathSegment.Bezier,b[z+2].x*y,b[z+2].y*a,b[z].x*y,b[z].y*a,b[z+1].x*y,b[z+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(oe,y,a){var b=pt(8),E=new go.Geometry,x=new go.PathFigure(b[0].x*y,b[0].y*a,!0);E.add(x);for(var z=1;z<b.length;z+=3)x.add(new go.PathSegment(go.PathSegment.Bezier,b[z+2].x*y,b[z+2].y*a,b[z].x*y,b[z].y*a,b[z+1].x*y,b[z+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(oe,y,a){var b=pt(9),E=new go.Geometry,x=new go.PathFigure(b[0].x*y,b[0].y*a,!0);E.add(x);for(var z=1;z<b.length;z+=3)x.add(new go.PathSegment(go.PathSegment.Bezier,b[z+2].x*y,b[z+2].y*a,b[z].x*y,b[z].y*a,b[z+1].x*y,b[z+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(oe,y,a){var b=pt(10),E=new go.Geometry,x=new go.PathFigure(b[0].x*y,b[0].y*a,!0);E.add(x);for(var z=1;z<b.length;z+=3)x.add(new go.PathSegment(go.PathSegment.Bezier,b[z+2].x*y,b[z+2].y*a,b[z].x*y,b[z].y*a,b[z+1].x*y,b[z+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 bt("ThicknessX",8)),go.Shape.setFigureParameter("FramedRectangle",1,new bt("ThicknessY",8)),go.Shape.defineFigureGenerator("FramedRectangle",function(oe,y,a){var b=oe?oe.parameter1:NaN,E=oe?oe.parameter2:NaN;isNaN(b)&&(b=8),isNaN(E)&&(E=8);var x=new go.Geometry,z=new go.PathFigure(0,0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y,0)),z.add(new go.PathSegment(go.PathSegment.Line,y,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),b<y/2&&E<a/2&&(z.add(new go.PathSegment(go.PathSegment.Move,b,E)),z.add(new go.PathSegment(go.PathSegment.Line,b,a-E)),z.add(new go.PathSegment(go.PathSegment.Line,y-b,a-E)),z.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 bt("Thickness",8)),go.Shape.defineFigureGenerator("Ring",function(oe,y,a){var b=oe?oe.parameter1:NaN;(isNaN(b)||b<0)&&(b=8);var E=y/2,x=new go.Geometry,z=new go.PathFigure(y,y/2,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Arc,0,360,E,E,E,E).close());var ne=Math.max(E-b,0);return ne>0&&(z.add(new go.PathSegment(go.PathSegment.Move,y/2+ne,y/2)),z.add(new go.PathSegment(go.PathSegment.Arc,0,-360,E,E,ne,ne).close())),x.spot1=Ce,x.spot2=Fe,x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("Cloud",function(oe,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(oe,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 bt("Start",0,-360,360)),go.Shape.setFigureParameter("Pie",1,new bt("Sweep",315,-360,360)),go.Shape.defineFigureGenerator("Pie",function(oe,y,a){var b=oe?oe.parameter1:NaN,E=oe?oe.parameter2:NaN;isNaN(b)&&(b=0),isNaN(E)&&(E=315);var x=b%360;x<0&&(x+=360);var z=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,z,ne,ne,ne,ne).close()))}),go.Shape.defineFigureGenerator("PiePiece",function(oe,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 bt("Thickness",30)),go.Shape.defineFigureGenerator("ThickCross",function(oe,y,a){var b=oe?oe.parameter1:NaN;(isNaN(b)||b<0)&&(b=30);var E=Math.min(b,y)/2,x=y/2,z=a/2;return new go.Geometry().add(new go.PathFigure(x-E,0,!0).add(new go.PathSegment(go.PathSegment.Line,x+E,0)).add(new go.PathSegment(go.PathSegment.Line,x+E,z-E)).add(new go.PathSegment(go.PathSegment.Line,y,z-E)).add(new go.PathSegment(go.PathSegment.Line,y,z+E)).add(new go.PathSegment(go.PathSegment.Line,x+E,z+E)).add(new go.PathSegment(go.PathSegment.Line,x+E,a)).add(new go.PathSegment(go.PathSegment.Line,x-E,a)).add(new go.PathSegment(go.PathSegment.Line,x-E,z+E)).add(new go.PathSegment(go.PathSegment.Line,0,z+E)).add(new go.PathSegment(go.PathSegment.Line,0,z-E)).add(new go.PathSegment(go.PathSegment.Line,x-E,z-E).close()))}),go.Shape.setFigureParameter("ThinCross",0,new bt("Thickness",10)),go.Shape.defineFigureGenerator("ThinCross",function(oe,y,a){var b=oe?oe.parameter1:NaN;(isNaN(b)||b<0)&&(b=10);var E=Math.min(b,y)/2,x=y/2,z=a/2;return new go.Geometry().add(new go.PathFigure(x-E,0,!0).add(new go.PathSegment(go.PathSegment.Line,x+E,0)).add(new go.PathSegment(go.PathSegment.Line,x+E,z-E)).add(new go.PathSegment(go.PathSegment.Line,y,z-E)).add(new go.PathSegment(go.PathSegment.Line,y,z+E)).add(new go.PathSegment(go.PathSegment.Line,x+E,z+E)).add(new go.PathSegment(go.PathSegment.Line,x+E,a)).add(new go.PathSegment(go.PathSegment.Line,x-E,a)).add(new go.PathSegment(go.PathSegment.Line,x-E,z+E)).add(new go.PathSegment(go.PathSegment.Line,0,z+E)).add(new go.PathSegment(go.PathSegment.Line,0,z-E)).add(new go.PathSegment(go.PathSegment.Line,x-E,z-E).close()))}),go.Shape.setFigureParameter("ThickX",0,new bt("Thickness",30)),go.Shape.defineFigureGenerator("ThickX",function(oe,y,a){var b=oe?oe.parameter1:NaN;if((isNaN(b)||b<0)&&(b=30),y===0||a===0){var E=new go.Geometry(go.Geometry.Rectangle);return E.startX=0,E.startY=0,E.endX=y,E.endY=a,E}else{var x=y/2,z=a/2,ne=Math.atan2(a,y),ae=b-Math.min(Math.cos(ne)*b/2,x),le=b-Math.min(Math.sin(ne)*b/2,z),E=new go.Geometry,se=new go.PathFigure(ae,0,!0);return E.add(se),se.add(new go.PathSegment(go.PathSegment.Line,x,.2*a)),se.add(new go.PathSegment(go.PathSegment.Line,y-ae,0)),se.add(new go.PathSegment(go.PathSegment.Line,y,le)),se.add(new go.PathSegment(go.PathSegment.Line,.8*y,z)),se.add(new go.PathSegment(go.PathSegment.Line,y,a-le)),se.add(new go.PathSegment(go.PathSegment.Line,y-ae,a)),se.add(new go.PathSegment(go.PathSegment.Line,x,.8*a)),se.add(new go.PathSegment(go.PathSegment.Line,ae,a)),se.add(new go.PathSegment(go.PathSegment.Line,0,a-le)),se.add(new go.PathSegment(go.PathSegment.Line,.2*y,z)),se.add(new go.PathSegment(go.PathSegment.Line,0,le).close()),E}}),go.Shape.setFigureParameter("ThinX",0,new bt("Thickness",10)),go.Shape.defineFigureGenerator("ThinX",function(oe,y,a){var b=oe?oe.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 bt("BeamWidth",.2,.1,.9)),go.Shape.defineFigureGenerator("SquareIBeam",function(oe,y,a){var b=oe?oe.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 bt("Curviness",.5,.05,.65)),go.Shape.defineFigureGenerator("RoundedIBeam",function(oe,y,a){var b=oe?oe.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(oe,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(oe,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(oe,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(oe,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(oe,y,a){var b=new go.Geometry,E=new go.PathFigure(.4*y,.6*a,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Bezier,.15*y,a,.5*y,.75*a,.45*y,.95*a)),E.add(new go.PathSegment(go.PathSegment.Line,.85*y,a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.6*y,.6*a,.55*y,.95*a,.5*y,.75*a));var x=.2,z=.3,ne=0,ae=x*re;return E.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*y,(.5+x+ne)*a,(.5-x+z)*y,(.5+ae+ne)*a,(.5-ae+z)*y,(.5+x+ne)*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+x+z)*y,(.5+ne)*a,(.5+ae+z)*y,(.5+x+ne)*a,(.5+x+z)*y,(.5+ae+ne)*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*y,(.5-x+ne)*a,(1-.5+x+z)*y,(.5-ae+ne)*a,(.5+ae+z)*y,(.5-x+ne)*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.65*y,.36771243*a,(.5-ae+z)*y,(.5-x+ne)*a,(.5-x+z+.05)*y,(.5-ae+ne-.02)*a)),x=.2,z=0,ne=-.3,ae=x*re,E.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+x+z)*y,(.5+ne)*a,(.5+ae+z)*y,(.5+x+ne)*a,(.5+x+z)*y,(.5+ae+ne)*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*y,(.5-x+ne)*a,(1-.5+x+z)*y,(.5-ae+ne)*a,(.5+ae+z)*y,(.5-x+ne)*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5-x+z)*y,(.5+ne)*a,(.5-ae+z)*y,(.5-x+ne)*a,(.5-x+z)*y,(.5-ae+ne)*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5-ae+z)*y,(.5+x+ne)*a,(.5-x+z)*y,(.5+ae+ne)*a,(.5-ae+z)*y,(.5+x+ne)*a)),x=.2,z=-.3,ne=0,ae=x*re,E.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*y,(.5-x+ne)*a,(1-.5+x+z-.05)*y,(.5-ae+ne-.02)*a,(.5+ae+z)*y,(.5-x+ne)*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5-x+z)*y,(.5+ne)*a,(.5-ae+z)*y,(.5-x+ne)*a,(.5-x+z)*y,(.5-ae+ne)*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*y,(.5+x+ne)*a,(.5-x+z)*y,(.5+ae+ne)*a,(.5-ae+z)*y,(.5+x+ne)*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.4*y,.6*a,(.5+ae+z)*y,(.5+x+ne)*a,(.5+x+z)*y,(.5+ae+ne)*a).close()),b.setSpots(.06,.33,.93,.68),b}),go.Shape.defineFigureGenerator("YinYang",function(oe,y,a){var b=new go.Geometry,E=new go.PathFigure(y*.5,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Arc,270,180,y*.5,y*.5,y*.5,y*.5)),E.add(new go.PathSegment(go.PathSegment.Arc,90,-180,y*.5,y*.75,y*.25,y*.25)),E.add(new go.PathSegment(go.PathSegment.Arc,90,180,y*.5,y*.25,y*.25,y*.25));var x=.1,z=.5,ne=.25;return E.add(new go.PathSegment(go.PathSegment.Move,(z+x)*y,ne*a)),E.add(new go.PathSegment(go.PathSegment.Arc,0,-360,y*z,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((z+x)*y,ne*a,!0),b.add(E),E.add(new go.PathSegment(go.PathSegment.Arc,0,360,y*z,a*ne,x*y,x*y).close()),b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("Peace",function(oe,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(oe,y,a){var b=new go.Geometry,E=re*.5,x=.5,z=.5,ne=.5,ae=new go.PathFigure(z*y,(ne-x)*a);b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,(z-x)*y,ne*a,(z-E)*y,(ne-x)*a,(z-x)*y,(ne-E)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ne+x)*a,(z-x)*y,(ne+E)*a,(z-E)*y,(ne+x)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*y,ne*a,(z+E)*y,(ne+x)*a,(z+x)*y,(ne+E)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ne-x)*a,(z+x)*y,(ne-E)*a,(z+E)*y,(ne-x)*a)),x=.4,E=re*.4;var le=ee(),se=ee(),ce=ee(),be=ee();Ge(z,ne-x,z+E,ne-x,z+x,ne-E,z+x,ne,.42,le,se,ce,be,be);var fe=ee(),Oe=ee(),ge=ee();Ge(z,ne-x,z+E,ne-x,z+x,ne-E,z+x,ne,.58,be,be,ge,fe,Oe);var it=ee(),Le=ee(),Ke=ee();Ge(z,ne+x,z-E,ne+x,z-x,ne+E,z-x,ne,.42,it,Le,Ke,be,be);var ye=ee(),je=ee(),qe=ee();return Ge(z,ne+x,z-E,ne+x,z-x,ne+E,z-x,ne,.58,be,be,qe,ye,je),ae.add(new go.PathSegment(go.PathSegment.Move,qe.x*y,qe.y*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(z-x)*y,ne*a,ye.x*y,ye.y*a,je.x*y,je.y*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ne-x)*a,(z-x)*y,(ne-E)*a,(z-E)*y,(ne-x)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,ce.x*y,ce.y*a,le.x*y,le.y*a,se.x*y,se.y*a)),ae.add(new go.PathSegment(go.PathSegment.Line,qe.x*y,qe.y*a).close()),ae.add(new go.PathSegment(go.PathSegment.Move,Ke.x*y,Ke.y*a)),ae.add(new go.PathSegment(go.PathSegment.Line,ge.x*y,ge.y*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*y,ne*a,fe.x*y,fe.y*a,Oe.x*y,Oe.y*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ne+x)*a,(z+x)*y,(ne+E)*a,(z+E)*y,(ne+x)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,Ke.x*y,Ke.y*a,it.x*y,it.y*a,Le.x*y,Le.y*a).close()),ie(le),ie(se),ie(ce),ie(be),ie(fe),ie(Oe),ie(ge),ie(it),ie(Le),ie(Ke),ie(ye),ie(je),ie(qe),b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("Fragile",function(oe,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 bt("Thickness",30)),go.Shape.defineFigureGenerator("HourGlass",function(oe,y,a){var b=oe?oe.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(oe,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(oe,y,a){var b=new go.Geometry,E=re*.4,x=.4,z=.5,ne=.5,ae=ee(),le=ee(),se=ee(),ce=ee(),be=new go.PathFigure((z-x)*y,ne*a,!1);b.add(be),be.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ne-x)*a,(z-x)*y,(ne-E)*a,(z-E)*y,(ne-x)*a)),Ge(z,ne-x,z+E,ne-x,z+x,ne-E,z+x,ne,.44,se,ce,le,ae,ae),be.add(new go.PathSegment(go.PathSegment.Bezier,le.x*y,le.y*a,se.x*y,se.y*a,ce.x*y,ce.y*a));var fe=te(le.x,le.y);Ge(z,ne-x,z+E,ne-x,z+x,ne-E,z+x,ne,.56,ae,ae,le,se,ce);var Oe=te(le.x,le.y);be.add(new go.PathSegment(go.PathSegment.Line,(fe.x*.1+.95*.9)*y,fe.y*.1*a)),be.add(new go.PathSegment(go.PathSegment.Line,.85*y,fe.y*.1*a)),be.add(new go.PathSegment(go.PathSegment.Line,.85*y,0)),be.add(new go.PathSegment(go.PathSegment.Line,y,0)),be.add(new go.PathSegment(go.PathSegment.Line,y,.15*a)),be.add(new go.PathSegment(go.PathSegment.Line,(Oe.x*.1+.9)*y,.15*a)),be.add(new go.PathSegment(go.PathSegment.Line,(Oe.x*.1+.9)*y,(Oe.y*.1+.05*.9)*a)),be.add(new go.PathSegment(go.PathSegment.Line,Oe.x*y,Oe.y*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*y,ne*a,se.x*y,se.y*a,ce.x*y,ce.y*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ne+x)*a,(z+x)*y,(ne+E)*a,(z+E)*y,(ne+x)*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,(z-x)*y,ne*a,(z-E)*y,(ne+x)*a,(z-x)*y,(ne+E)*a)),x=.35,E=re*.35;var ge=new go.PathFigure(z*y,(ne-x)*a,!1);b.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,(z-x)*y,ne*a,(z-E)*y,(ne-x)*a,(z-x)*y,(ne-E)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ne+x)*a,(z-x)*y,(ne+E)*a,(z-E)*y,(ne+x)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*y,ne*a,(z+E)*y,(ne+x)*a,(z+x)*y,(ne+E)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ne-x)*a,(z+x)*y,(ne-E)*a,(z+E)*y,(ne-x)*a));var it=new go.PathFigure((z-x)*y,ne*a,!1);return b.add(it),ie(ae),ie(le),ie(se),ie(ce),ie(fe),ie(Oe),b.spot1=new go.Spot(.202,.257),b.spot2=new go.Spot(.792,.739),b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("GenderFemale",function(oe,y,a){var b=new go.Geometry,E=.375,x=0,z=-.125,ne=E*re,ae=new go.PathFigure((.525+x)*y,(.5+E+z)*a,!1);b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+E+x)*y,(.5+z)*a,(.5+ne+x)*y,(.5+E+z)*a,(.5+E+x)*y,(.5+ne+z)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(.5+x)*y,(.5-E+z)*a,(1-.5+E+x)*y,(.5-ne+z)*a,(.5+ne+x)*y,(.5-E+z)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(.5-E+x)*y,(.5+z)*a,(.5-ne+x)*y,(.5-E+z)*a,(.5-E+x)*y,(.5-ne+z)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(.475+x)*y,(.5+E+z)*a,(.5-E+x)*y,(.5+ne+z)*a,(.5-ne+x)*y,(.5+E+z)*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.475*y,.85*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.425*y,.85*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.425*y,.9*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.475*y,.9*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.475*y,a)),ae.add(new go.PathSegment(go.PathSegment.Line,.525*y,a)),ae.add(new go.PathSegment(go.PathSegment.Line,.525*y,.9*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.575*y,.9*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.575*y,.85*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.525*y,.85*a).close()),E=.325,x=0,z=-.125,ne=E*re;var ae=new go.PathFigure((1-.5+E+x)*y,(.5+z)*a,!1);b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,(.5+x)*y,(.5+E+z)*a,(.5+E+x)*y,(.5+ne+z)*a,(.5+ne+x)*y,(.5+E+z)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(.5-E+x)*y,(.5+z)*a,(.5-ne+x)*y,(.5+E+z)*a,(.5-E+x)*y,(.5+ne+z)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(.5+x)*y,(.5-E+z)*a,(.5-E+x)*y,(.5-ne+z)*a,(.5-ne+x)*y,(.5-E+z)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+E+x)*y,(.5+z)*a,(.5+ne+x)*y,(.5-E+z)*a,(1-.5+E+x)*y,(.5-ne+z)*a));var ae=new go.PathFigure((.525+x)*y,(.5+E+z)*a,!1);return b.add(ae),b.spot1=new go.Spot(.232,.136),b.spot2=new go.Spot(.682,.611),b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("LogicImplies",function(oe,y,a){var b=oe?oe.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(oe,y,a){var b=oe?oe.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(oe,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(oe,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(oe,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(oe,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(oe,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(oe,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(oe,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(oe,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(oe,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(oe,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(oe,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 bt("ArrowheadWidth",.3,.01,.99)),go.Shape.setFigureParameter("Arrow",1,new bt("TailHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("Arrow",function(oe,y,a){var b=oe?oe.parameter1:NaN;isNaN(b)&&(b=.3);var E=oe?oe.parameter2:NaN;isNaN(E)&&(E=.3);var x=(1-b)*y,z=(.5-E/2)*a,ne=(.5+E/2)*a,ae=new go.Geometry,le=new go.PathFigure(0,z,!0);ae.add(le),le.add(new go.PathSegment(go.PathSegment.Line,x,z)),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()),ae.spot1=new go.Spot(0,z/a);var se=Ae(0,ne/a,1,ne/a,x/y,1,1,.5,ee());return ae.spot2=new go.Spot(se.x,se.y),ie(se),ae}),go.Shape.setFigureParameter("Arrow2",0,new bt("ArrowheadWidth",30)),go.Shape.setFigureParameter("Arrow2",0,new bt("TailHeight",30)),go.Shape.defineFigureGenerator("Arrow2",function(oe,y,a){var b=oe?oe.parameter1:NaN;isNaN(b)&&(b=30),b>y&&(b=y);var E=oe?oe.parameter2:NaN;isNaN(E)&&(E=30),E=Math.min(E,a/2);var x=y-b,z=(a-E)/2,ne=z+E,ae=new go.Geometry,le=new go.PathFigure(0,z,!0);ae.add(le),le.add(new go.PathSegment(go.PathSegment.Line,x,z)),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()),ae.spot1=new go.Spot(0,z/a);var se=Ae(0,ne/a,1,ne/a,x/y,1,1,.5,ee());return ae.spot2=new go.Spot(se.x,se.y),ie(se),ae}),go.Shape.defineFigureGenerator("Chevron",function(oe,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(oe,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 bt("ConnecterHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("DoubleEndArrow",function(oe,y,a){var b=oe?oe.parameter1:NaN;isNaN(b)&&(b=.3);var E=(.5-b/2)*a,x=(.5+b/2)*a,z=new go.Geometry,ne=new go.PathFigure(y,.5*a,!0);z.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 ae=Ae(0,.5,.3,0,0,E/a,.1,E/a,ee());return z.spot1=new go.Spot(ae.x,ae.y),ae=Ae(.7,1,1,.5,0,x/a,1,x/a,ae),z.spot2=new go.Spot(ae.x,ae.y),ie(ae),z}),go.Shape.setFigureParameter("DoubleEndArrow2",0,new bt("ConnecterHeight",40)),go.Shape.setFigureParameter("DoubleEndArrow2",1,new bt("ArrowHeight",100)),go.Shape.defineFigureGenerator("DoubleEndArrow2",function(oe,y,a){var b=oe?oe.parameter1:NaN;isNaN(b)&&(b=40);var E=oe?oe.parameter2:NaN;isNaN(E)&&(E=100);var x=(a-b)/2,z=x+b,ne=(a-E)/2,ae=ne+E;(b>a||E>a)&&(E>b?(b=b*a/E,x=(a-b)/2,z=x+b,ne=0,ae=a):(x=0,z=a,ne=0,ae=a));var le=new go.Geometry,se=new go.PathFigure(y,.5*a,!0);le.add(se),se.add(new go.PathSegment(go.PathSegment.Line,.7*y,ae)),se.add(new go.PathSegment(go.PathSegment.Line,.7*y,z)),se.add(new go.PathSegment(go.PathSegment.Line,.3*y,z)),se.add(new go.PathSegment(go.PathSegment.Line,.3*y,ae)),se.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),se.add(new go.PathSegment(go.PathSegment.Line,.3*y,ne)),se.add(new go.PathSegment(go.PathSegment.Line,.3*y,x)),se.add(new go.PathSegment(go.PathSegment.Line,.7*y,x)),se.add(new go.PathSegment(go.PathSegment.Line,.7*y,ne).close());var ce=Ae(0,.5,.3,ne/a,0,x/a,1,x/a,ee());return le.spot1=new go.Spot(ce.x,ce.y),ce=Ae(.7,ae/a,1,.5,0,z/a,1,z/a,ce),le.spot2=new go.Spot(ce.x,ce.y),ie(ce),le}),go.Shape.setFigureParameter("IBeamArrow",0,new bt("ConnectorHeight",.7,.51,.97)),go.Shape.defineFigureGenerator("IBeamArrow",function(oe,y,a){var b=oe?oe.parameter1:NaN;isNaN(b)&&(b=.3);var E=(.5-b/2)*a,x=(.5+b/2)*a,z=new go.Geometry,ne=new go.PathFigure(y,.5*a,!0);z.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()),z.spot1=new go.Spot(0,E/a);var ae=Ae(.7,1,1,.5,0,x/a,1,x/a,ee());return z.spot2=new go.Spot(ae.x,ae.y),ie(ae),z}),go.Shape.setFigureParameter("IBeamArrow2",0,new bt("ConnectorHeight",40)),go.Shape.setFigureParameter("IBeamArrow2",1,new bt("BeamArrowHeight",100)),go.Shape.defineFigureGenerator("IBeamArrow2",function(oe,y,a){var b=oe?oe.parameter1:NaN;isNaN(b)&&(b=40);var E=oe?oe.parameter2:NaN;isNaN(E)&&(E=100);var x=(a-b)/2,z=x+b,ne=(a-E)/2,ae=ne+E;(b>a||E>a)&&(E>b?(b=b*a/E,x=(a-b)/2,z=x+b,ne=0,ae=a):(x=0,z=a,ne=0,ae=a));var le=new go.Geometry,se=new go.PathFigure(y,.5*a,!0);le.add(se),se.add(new go.PathSegment(go.PathSegment.Line,.7*y,ae)),se.add(new go.PathSegment(go.PathSegment.Line,.7*y,z)),se.add(new go.PathSegment(go.PathSegment.Line,.2*y,z)),se.add(new go.PathSegment(go.PathSegment.Line,.2*y,ae)),se.add(new go.PathSegment(go.PathSegment.Line,0,ae)),se.add(new go.PathSegment(go.PathSegment.Line,0,ne)),se.add(new go.PathSegment(go.PathSegment.Line,.2*y,ne)),se.add(new go.PathSegment(go.PathSegment.Line,.2*y,x)),se.add(new go.PathSegment(go.PathSegment.Line,.7*y,x)),se.add(new go.PathSegment(go.PathSegment.Line,.7*y,ne).close()),le.spot1=new go.Spot(0,x/a);var ce=Ae(.7,ae/a,1,.5,0,z/a,1,z/a,ee());return le.spot2=new go.Spot(ce.x,ce.y),ie(ce),le}),go.Shape.setFigureParameter("Pointer",0,new bt("BackPoint",.1,0,.2)),go.Shape.defineFigureGenerator("Pointer",function(oe,y,a){var b=oe?oe.parameter1:NaN;isNaN(b)&&(b=.1);var E=new go.Geometry,x=new go.PathFigure(y,.5*a,!0);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,0,a)),x.add(new go.PathSegment(go.PathSegment.Line,b*y,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,0).close()),E.spot1=new go.Spot(b,.35);var z=Ae(.2,.65,1,.65,0,1,1,.5,ee());return E.spot2=new go.Spot(z.x,z.y),ie(z),E}),go.Shape.setFigureParameter("RoundedPointer",0,new bt("RoundedEdge",.3,0,.5)),go.Shape.defineFigureGenerator("RoundedPointer",function(oe,y,a){var b=oe?oe.parameter1:NaN;isNaN(b)&&(b=.3);var E=new go.Geometry,x=new go.PathFigure(y,.5*a,!0);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,0,a)),x.add(new go.PathSegment(go.PathSegment.Bezier,0,0,b*y,.75*a,b*y,.25*a).close()),E.spot1=new go.Spot(b,.35);var z=Ae(0,.65,1,.65,0,1,1,.5,ee());return E.spot2=new go.Spot(z.x,z.y),ie(z),E}),go.Shape.setFigureParameter("SplitEndArrow",0,new bt("TailHeight",.4,.01,.99)),go.Shape.defineFigureGenerator("SplitEndArrow",function(oe,y,a){var b=oe?oe.parameter1:NaN;isNaN(b)&&(b=.4);var E=(.5-b/2)*a,x=(.5+b/2)*a,z=new go.Geometry,ne=new go.PathFigure(y,.5*a,!0);z.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()),z.spot1=new go.Spot(.2,.3);var ae=Ae(.7,1,1,.5,0,x/a,1,x/a,ee());return z.spot2=new go.Spot(ae.x,ae.y),ie(ae),z}),go.Shape.setFigureParameter("SplitEndArrow2",0,new bt("TailThickness",50)),go.Shape.defineFigureGenerator("SplitEndArrow2",function(oe,y,a){var b=oe?oe.parameter1:NaN;isNaN(b)&&(b=50);var E=(a-b)/2,x=E+b;b>a&&(E=0,x=a);var z=new go.Geometry,ne=new go.PathFigure(y,.5*a,!0);z.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()),z.spot1=new go.Spot(.2,E/a);var ae=Ae(.7,1,1,.5,0,x/a,1,x/a,ee());return z.spot2=new go.Spot(ae.x,ae.y),ie(ae),z}),go.Shape.setFigureParameter("SquareArrow",0,new bt("ArrowPoint",.7,.2,.9)),go.Shape.defineFigureGenerator("SquareArrow",function(oe,y,a){var b=oe?oe.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(oe,y,a){var b=new go.Geometry,E=re*.5,x=re*.1,z=new go.PathFigure(0,.9*a,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),z.add(new go.PathSegment(go.PathSegment.Line,y,.9*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,y,(.9+x)*a,(.5+E)*y,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,(.5-E)*y,a,0,(.9+x)*a).close()),b.spot1=new go.Spot(.25,.5),b.spot2=new go.Spot(.75,.97),b}),go.Shape.defineFigureGenerator("Cone2",function(oe,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(oe,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(oe,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(oe,y,a){var b=oe?oe.parameter1:NaN;isNaN(b)&&(b=5),b=Math.min(b,a/3);var E=new go.Geometry,x=re*.5,z=new go.PathFigure(0,b,!0);E.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,0,re*b,(.5-x)*y,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,1*y,b,(.5+x)*y,0,1*y,re*b)),z.add(new go.PathSegment(go.PathSegment.Line,y,a-b)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,1*a,1*y,a-re*b,(.5+x)*y,1*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,a-b,(.5-x)*y,1*a,0,a-re*b)),z.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(oe,y,a){var b=oe?oe.parameter1:NaN;isNaN(b)&&(b=5),b=Math.min(b,a/3);var E=new go.Geometry,x=re*.5,z=new go.PathFigure(0,a-b,!0);E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,b)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,0,re*b,(.5-x)*y,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,y,b,(.5+x)*y,0,y,re*b)),z.add(new go.PathSegment(go.PathSegment.Line,y,a-b)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,y,a-re*b,(.5+x)*y,a)),z.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(oe,y,a){var b=oe?oe.parameter1:NaN;isNaN(b)&&(b=5),b=Math.min(b,y/3);var E=new go.Geometry,x=re*.5,z=new go.PathFigure(b,0,!0);E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y-b,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,y-re*b,0,y,(.5-x)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,y-b,a,y,(.5+x)*a,y-re*b,a)),z.add(new go.PathSegment(go.PathSegment.Line,b,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,re*b,a,0,(.5+x)*a)),z.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(oe,y,a){var b=oe?oe.parameter1:NaN;isNaN(b)&&(b=5),b=Math.min(b,y/3);var E=new go.Geometry,x=re*.5,z=new go.PathFigure(y-b,0,!0);E.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,y-re*b,0,y,(.5-x)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,y-b,a,y,(.5+x)*a,y-re*b,a)),z.add(new go.PathSegment(go.PathSegment.Line,b,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,re*b,a,0,(.5+x)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,b,0,0,(.5-x)*a,re*b,0)),z.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(oe,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(oe,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(oe,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(oe,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(oe,y,a){var b=new go.Geometry,E=.2,x=.1,z=re*E,ne=re*x,ae=.5,le=.1,se=new go.PathFigure(ae*y,(le+x)*a,!0);b.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,(ae-E)*y,le*a,(ae-z)*y,(le+x)*a,(ae-E)*y,(le+ne)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,ae*y,(le-x)*a,(ae-E)*y,(le-ne)*a,(ae-z)*y,(le-x)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,(ae+E)*y,le*a,(ae+z)*y,(le-x)*a,(ae+E)*y,(le-ne)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,ae*y,(le+x)*a,(ae+E)*y,(le+ne)*a,(ae+z)*y,(le+x)*a));var ce=.05,be=re*ce;ae=.05,le=.25;var fe=new go.PathFigure(.5*y,.2*a,!0);return b.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,.95*y,.2*a)),ae=.95,le=.25,fe.add(new go.PathSegment(go.PathSegment.Bezier,(ae+ce)*y,le*a,(ae+be)*y,(le-ce)*a,(ae+ce)*y,(le-be)*a)),fe.add(new go.PathSegment(go.PathSegment.Line,y,.6*a)),fe.add(new go.PathSegment(go.PathSegment.Line,.85*y,.6*a)),fe.add(new go.PathSegment(go.PathSegment.Line,.85*y,.35*a)),ce=.025,be=re*ce,ae=.825,le=.35,fe.add(new go.PathSegment(go.PathSegment.Bezier,ae*y,(le-ce)*a,(ae+ce)*y,(le-be)*a,(ae+be)*y,(le-ce)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ae-ce)*y,le*a,(ae-be)*y,(le-ce)*a,(ae-ce)*y,(le-be)*a)),fe.add(new go.PathSegment(go.PathSegment.Line,.8*y,a)),fe.add(new go.PathSegment(go.PathSegment.Line,.55*y,a)),fe.add(new go.PathSegment(go.PathSegment.Line,.55*y,.7*a)),ce=.05,be=re*ce,ae=.5,le=.7,fe.add(new go.PathSegment(go.PathSegment.Bezier,ae*y,(le-ce)*a,(ae+ce)*y,(le-be)*a,(ae+be)*y,(le-ce)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ae-ce)*y,le*a,(ae-be)*y,(le-ce)*a,(ae-ce)*y,(le-be)*a)),fe.add(new go.PathSegment(go.PathSegment.Line,.45*y,a)),fe.add(new go.PathSegment(go.PathSegment.Line,.2*y,a)),fe.add(new go.PathSegment(go.PathSegment.Line,.2*y,.35*a)),ce=.025,be=re*ce,ae=.175,le=.35,fe.add(new go.PathSegment(go.PathSegment.Bezier,ae*y,(le-ce)*a,(ae+ce)*y,(le-be)*a,(ae+be)*y,(le-ce)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ae-ce)*y,le*a,(ae-be)*y,(le-ce)*a,(ae-ce)*y,(le-be)*a)),fe.add(new go.PathSegment(go.PathSegment.Line,.15*y,.6*a)),fe.add(new go.PathSegment(go.PathSegment.Line,0,.6*a)),fe.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),ce=.05,be=re*ce,ae=.05,le=.25,fe.add(new go.PathSegment(go.PathSegment.Bezier,ae*y,(le-ce)*a,(ae-ce)*y,(le-be)*a,(ae-be)*y,(le-ce)*a)),fe.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 bt("CornerCutoutSize",.2,.1,.9)),go.Shape.defineFigureGenerator("Card",function(oe,y,a){var b=oe?oe.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(oe,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(oe,y,a){var b=new go.Geometry,E=oe?oe.parameter1:NaN;isNaN(E)&&(E=.1);var x=new go.PathFigure(0,0,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,0)),x.add(new go.PathSegment(go.PathSegment.Line,y,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var z=new go.PathFigure(0,E*a,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y,E*a)),z.add(new go.PathSegment(go.PathSegment.Move,0,(1-E)*a)),z.add(new go.PathSegment(go.PathSegment.Line,y,(1-E)*a)),b}),go.Shape.defineFigureGenerator("Database",function(oe,y,a){var b=new go.Geometry,E=re*.5,x=re*.1,z=new go.PathFigure(y,.1*a,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y,.9*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,y,(.9+x)*a,(.5+E)*y,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,(.5-E)*y,a,0,(.9+x)*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.1*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,0,(.1-x)*a,(.5-E)*y,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,y,.1*a,(.5+E)*y,0,y,(.1-x)*a));var 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(oe,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(oe,y,a){var b=new go.Geometry,E=re*.5,x=re*.1,z=new go.PathFigure(y,.1*a,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y,.9*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,y,(.9+x)*a,(.5+E)*y,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,(.5-E)*y,a,0,(.9+x)*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.1*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,0,(.1-x)*a,(.5-E)*y,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,y,.1*a,(.5+E)*y,0,y,(.1-x)*a));var 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(oe,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(oe,y,a){var b=new go.Geometry,E=oe?oe.parameter1:NaN;isNaN(E)?E=.2:E<.15&&(E=.15);var x=re*.2,z=new go.PathFigure(0,.2*a,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,.2*y,0,0,(.2-x)*a,(.2-x)*y,0)),z.add(new go.PathSegment(go.PathSegment.Line,.8*y,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,y,.2*a,(.8+x)*y,0,y,(.2-x)*a)),z.add(new go.PathSegment(go.PathSegment.Line,y,.8*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,a,y,(.8+x)*a,(.8+x)*y,a)),z.add(new go.PathSegment(go.PathSegment.Line,.2*y,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.8*a,(.2-x)*y,a,0,(.8+x)*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.2*a));var 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(oe,y,a){var b=new go.Geometry,E=oe?oe.parameter1:NaN;(isNaN(E)||E<.1)&&(E=.1);var x=new go.PathFigure(0,0,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,0)),x.add(new go.PathSegment(go.PathSegment.Line,y,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var z=new go.PathFigure(0,E*a,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y,E*a)),b}),go.Shape.defineFigureGenerator("Document",function(oe,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(oe,y,a){var b=new go.Geometry,E=oe?oe.parameter1:NaN;(isNaN(E)||E<.2)&&(E=.2);var x=new go.PathFigure(0,0,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,0)),x.add(new go.PathSegment(go.PathSegment.Line,y,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var z=new go.PathFigure(E*y,0,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,E*a)),z.add(new go.PathSegment(go.PathSegment.Move,y,E*a)),z.add(new go.PathSegment(go.PathSegment.Line,(1-E)*y,0)),z.add(new go.PathSegment(go.PathSegment.Move,0,(1-E)*a)),z.add(new go.PathSegment(go.PathSegment.Line,E*y,a)),z.add(new go.PathSegment(go.PathSegment.Move,(1-E)*y,a)),z.add(new go.PathSegment(go.PathSegment.Line,y,(1-E)*a)),b}),go.Shape.defineFigureGenerator("ExternalProcess",function(oe,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(oe,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(oe,y,a){var b=new go.Geometry,E=new go.PathFigure(y,.5*a,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a));var x=new go.PathFigure(y,.5*a,!1);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,a));var z=new go.PathFigure(y,.5*a,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.spot1=new go.Spot(0,.25),b.spot2=new go.Spot(.5,.75),b}),go.Shape.defineFigureGenerator("InternalStorage",function(oe,y,a){var b=new go.Geometry,E=oe?oe.parameter1:NaN,x=oe?oe.parameter2:NaN;isNaN(E)&&(E=.1),isNaN(x)&&(x=.1);var z=new go.PathFigure(0,0,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y,0)),z.add(new go.PathSegment(go.PathSegment.Line,y,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var 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(oe,y,a){var b=new go.Geometry,E=1/Math.SQRT2,x=(1-1/Math.SQRT2)/2,z=re*.5,ne=.5,ae=new go.PathFigure(y,ne*a,!0);b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,a,y,(ne+z)*a,(ne+z)*y,a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,0,ne*a,(ne-z)*y,a,0,(ne+z)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,0,0,(ne-z)*a,(ne-z)*y,0)),ae.add(new go.PathSegment(go.PathSegment.Bezier,y,ne*a,(ne+z)*y,0,y,(ne-z)*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(oe,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(oe,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(oe,y,a){var b=new go.Geometry,E=re*.5,x=.5,z=new go.PathFigure(.5*y,a,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,0,x*a,(x-E)*y,a,0,(x+E)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,x*y,0,0,(x-E)*a,(x-E)*y,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,y,x*a,(x+E)*y,0,y,(x-E)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,(x+.1)*y,.9*a,y,(x+E)*a,(x+E)*y,.9*a)),z.add(new go.PathSegment(go.PathSegment.Line,y,.9*a)),z.add(new go.PathSegment(go.PathSegment.Line,y,a)),z.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),b.spot1=new go.Spot(.15,.15),b.spot2=new go.Spot(.85,.8),b}),go.Shape.defineFigureGenerator("ManualInput",function(oe,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(oe,y,a){var b=new go.Geometry,E=oe?oe.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(oe,y,a){var b=new go.Geometry,E=oe?oe.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(oe,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(oe,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(oe,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(oe,y,a){var b=new go.Geometry,E=oe?oe.parameter1:NaN;isNaN(E)&&(E=.1);var x=1-E,z=new go.PathFigure(0,0,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y,0)),z.add(new go.PathSegment(go.PathSegment.Line,.5*y,a).close());var 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(oe,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(oe,y,a){var b=new go.Geometry,E=re*.5,x=.5,z=new go.PathFigure(y,x*a,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,x*y,a,y,(x+E)*a,(x+E)*y,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,x*a,(x-E)*y,a,0,(x+E)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,x*y,0,0,(x-E)*a,(x-E)*y,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,y,x*a,(x+E)*y,0,y,(x-E)*a));var 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(oe,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(oe,y,a){var b=new go.Geometry,E=oe?oe.parameter1:NaN,x=oe?oe.parameter2:NaN;isNaN(E)&&(E=.1),isNaN(x)&&(x=.3);var z=new go.PathFigure(0,0,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y,0)),z.add(new go.PathSegment(go.PathSegment.Line,(1-x)*y,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,y,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),b}),go.Shape.defineFigureGenerator("PrimitiveToCall",function(oe,y,a){var b=new go.Geometry,E=oe?oe.parameter1:NaN,x=oe?oe.parameter2:NaN;isNaN(E)&&(E=.1),isNaN(x)&&(x=.3);var z=new go.PathFigure(0,0,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,(1-x)*y,0)),z.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,(1-x)*y,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),b}),go.Shape.defineFigureGenerator("Procedure",function(oe,y,a){var b=new go.Geometry,E=oe?oe.parameter1:NaN;isNaN(E)&&(E=.1);var x=new go.PathFigure(0,0,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,0)),x.add(new go.PathSegment(go.PathSegment.Line,y,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var z=new go.PathFigure((1-E)*y,0,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,(1-E)*y,a)),z.add(new go.PathSegment(go.PathSegment.Move,E*y,0)),z.add(new go.PathSegment(go.PathSegment.Line,E*y,a)),b}),go.Shape.defineFigureGenerator("Process",function(oe,y,a){var b=new go.Geometry,E=oe?oe.parameter1:NaN;isNaN(E)&&(E=.1);var x=new go.PathFigure(0,0,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,0)),x.add(new go.PathSegment(go.PathSegment.Line,y,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var z=new go.PathFigure(E*y,0,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E*y,a)),b.spot2=go.Spot.BottomRight,b}),go.Shape.defineFigureGenerator("Sort",function(oe,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(oe,y,a){var b=new go.Geometry,E=oe?oe.parameter1:NaN;isNaN(E)&&(E=.25);var x=new go.PathFigure(E*y,0,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*y,.5*a,.25*y,.5*a)),x.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*y,.5*a,.25*y,.5*a));var z=new go.PathFigure(E*y,0,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E*y,a)),z.add(new go.PathSegment(go.PathSegment.Move,(1-E)*y,0)),z.add(new go.PathSegment(go.PathSegment.Line,(1-E)*y,a)),b.spot1=new go.Spot(E,0),b.spot2=new go.Spot(1-E,1),b}),go.Shape.defineFigureGenerator("Terminator",function(oe,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(oe,y,a){var b=new go.Geometry,E=oe?oe.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(oe,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(oe,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(oe,y,a){var b=new go.Geometry,E=re*.5,x=.5,z=new go.PathFigure(y,x*a,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,x*y,a,y,(x+E)*a,(x+E)*y,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,x*a,(x-E)*y,a,0,(x+E)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,x*y,0,0,(x-E)*a,(x-E)*y,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,y,x*a,(x+E)*y,0,y,(x-E)*a));var ne=new go.PathFigure(y,x*a,!1);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y,x*a));var ae=new go.PathFigure(.8*y,.75*a,!1);return b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,.8*y,.25*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.6*y,.25*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.6*y,.75*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.4*y,.75*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.4*y,.25*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.2*y,.25*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.2*y,.75*a)),b}),go.Shape.defineFigureGenerator("Ground",function(oe,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(oe,y,a){var b=new go.Geometry,E=re*.1,x=.1,z=.9,ne=.5,ae=new go.PathFigure(.8*y,.5*a,!0);b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,0,a)),ae.add(new go.PathSegment(go.PathSegment.Line,0,0)),ae.add(new go.PathSegment(go.PathSegment.Line,.8*y,.5*a));var le=new go.PathFigure((z+x)*y,ne*a,!0);return b.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ne+x)*a,(z+x)*y,(ne+E)*a,(z+E)*y,(ne+x)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,(z-x)*y,ne*a,(z-E)*y,(ne+x)*a,(z-x)*y,(ne+E)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ne-x)*a,(z-x)*y,(ne-E)*a,(z-E)*y,(ne-x)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*y,ne*a,(z+E)*y,(ne-x)*a,(z+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(oe,y,a){var b=new go.Geometry,E=re*.5,x=re*.4,z=re*.1,ne=.1,ae=.9,le=.5,se=new go.PathFigure(.8*y,.5*a,!0);b.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,.4*y,a,.8*y,(.5+x)*a,(.4+E)*y,a)),se.add(new go.PathSegment(go.PathSegment.Line,0,a)),se.add(new go.PathSegment(go.PathSegment.Line,0,0)),se.add(new go.PathSegment(go.PathSegment.Line,.4*y,0)),se.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,.5*a,(.4+E)*y,0,.8*y,(.5-x)*a));var ce=new go.PathFigure((ae+ne)*y,le*a,!0);return b.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,ae*y,(le+ne)*a,(ae+ne)*y,(le+z)*a,(ae+z)*y,(le+ne)*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(ae-ne)*y,le*a,(ae-z)*y,(le+ne)*a,(ae-ne)*y,(le+z)*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,ae*y,(le-ne)*a,(ae-ne)*y,(le-z)*a,(ae-z)*y,(le-ne)*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(ae+ne)*y,le*a,(ae+z)*y,(le-ne)*a,(ae+ne)*y,(le-z)*a)),b.spot1=new go.Spot(0,.05),b.spot2=new go.Spot(.55,.95),b}),go.Shape.defineFigureGenerator("NorGate",function(oe,y,a){var b=new go.Geometry,E=.5,x=re*E,z=0,ne=.5,ae=new go.PathFigure(.8*y,.5*a,!0);b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,0,a,.7*y,(ne+x)*a,(z+x)*y,(ne+E)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*y,.75*a,.25*y,.25*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,.5*a,(z+x)*y,(ne-E)*a,.7*y,(ne-x)*a)),E=.1,x=re*.1,z=.9,ne=.5;var le=new go.PathFigure((z-E)*y,ne*a,!0);return b.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ne-E)*a,(z-E)*y,(ne-x)*a,(z-x)*y,(ne-E)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*y,ne*a,(z+x)*y,(ne-E)*a,(z+E)*y,(ne-x)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ne+E)*a,(z+E)*y,(ne+x)*a,(z+x)*y,(ne+E)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,(z-E)*y,ne*a,(z-x)*y,(ne+E)*a,(z-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(oe,y,a){var b=new go.Geometry,E=.5,x=re*E,z=0,ne=.5,ae=new go.PathFigure(0,0,!0);return b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,(z+x+x)*y,(ne-E)*a,.8*y,(ne-x)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,0,a,.8*y,(ne+x)*a,(z+x+x)*y,(ne+E)*a)),ae.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(oe,y,a){var b=new go.Geometry,E=.5,x=re*E,z=.2,ne=.5,ae=new go.PathFigure(.1*y,0,!1);b.add(ae),ae.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,(z+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,(z+x)*y,(ne-E)*a,.7*y,(ne-x)*a)),E=.1,x=re*.1,z=.9,ne=.5;var se=new go.PathFigure((z-E)*y,ne*a,!0);return b.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ne-E)*a,(z-E)*y,(ne-x)*a,(z-x)*y,(ne-E)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*y,ne*a,(z+x)*y,(ne-E)*a,(z+E)*y,(ne-x)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ne+E)*a,(z+E)*y,(ne+x)*a,(z+x)*y,(ne+E)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,(z-E)*y,ne*a,(z-x)*y,(ne+E)*a,(z-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(oe,y,a){var b=new go.Geometry,E=.5,x=re*E,z=.2,ne=.5,ae=new go.PathFigure(.1*y,0,!1);b.add(ae),ae.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,(z+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,(z+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(oe,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(oe,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(oe,y,a){var b=new go.Geometry,E=re*.1,x=.1,z=.1,ne=.5,ae=new go.PathFigure((z-E*.5)*y,a,!1);return b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*y,0,(z-E)*y,a,(z-x)*y,0)),z=.3,ae.add(new go.PathSegment(go.PathSegment.Bezier,z*y,a,(z+x)*y,0,(z+E)*y,a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*y,0,(z-E)*y,a,(z-x)*y,0)),z=.5,ae.add(new go.PathSegment(go.PathSegment.Bezier,z*y,a,(z+x)*y,0,(z+E)*y,a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*y,0,(z-E)*y,a,(z-x)*y,0)),z=.7,ae.add(new go.PathSegment(go.PathSegment.Bezier,z*y,a,(z+x)*y,0,(z+E)*y,a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*y,0,(z-E)*y,a,(z-x)*y,0)),z=.9,ae.add(new go.PathSegment(go.PathSegment.Bezier,(z+E*.5)*y,a,(z+x)*y,0,(z+E)*y,a)),b}),go.Shape.defineFigureGenerator("ACvoltageSource",function(oe,y,a){var b=new go.Geometry,E=re*.5,x=.5,z=.5,ne=.5,ae=new go.PathFigure((z-x)*y,ne*a,!1);return b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ne-x)*a,(z-x)*y,(ne-E)*a,(z-E)*y,(ne-x)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*y,ne*a,(z+E)*y,(ne-x)*a,(z+x)*y,(ne-E)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ne+x)*a,(z+x)*y,(ne+E)*a,(z+E)*y,(ne+x)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(z-x)*y,ne*a,(z-E)*y,(ne+x)*a,(z-x)*y,(ne+E)*a)),ae.add(new go.PathSegment(go.PathSegment.Move,(z-x+.1)*y,ne*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(z+x-.1)*y,ne*a,z*y,(ne-x)*a,z*y,(ne+x)*a)),b}),go.Shape.defineFigureGenerator("DCvoltageSource",function(oe,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(oe,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(oe,y,a){var b=new go.Geometry,E=y,x=a;y=y*.38,a=a*.6;var z=re*.8,ne=.8,ae=0,le=.5,se=(E-y)/2,ce=(x-a)/2,be=new go.PathFigure(ae*y+se,(le+ne)*a+ce,!0);b.add(be),be.add(new go.PathSegment(go.PathSegment.Bezier,(ae-ne)*y+se,le*a+ce,(ae-z)*y+se,(le+ne)*a+ce,(ae-ne)*y+se,(le+z)*a+ce)),be.add(new go.PathSegment(go.PathSegment.Bezier,ae*y+se,(le-ne)*a+ce,(ae-ne)*y+se,(le-z)*a+ce,(ae-z)*y+se,(le-ne)*a+ce)),be.add(new go.PathSegment(go.PathSegment.Bezier,(ae-ne+z*.5)*y+se,le*a+ce,ae*y+se,(le-ne)*a+ce,(ae-ne+z*.5)*y+se,(le-z)*a+ce)),be.add(new go.PathSegment(go.PathSegment.Bezier,ae*y+se,(le+ne)*a+ce,(ae-ne+z*.5)*y+se,(le+z)*a+ce,ae*y+se,(le+ne)*a+ce).close()),z=re*.4,ne=.4,ae=.2,le=.5;var fe=new go.PathFigure(ae*y+se,(le+ne)*a+ce,!0);b.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ae-ne)*y+se,le*a+ce,(ae-z)*y+se,(le+ne)*a+ce,(ae-ne)*y+se,(le+z)*a+ce)),fe.add(new go.PathSegment(go.PathSegment.Bezier,ae*y+se,(le-ne)*a+ce,(ae-ne)*y+se,(le-z)*a+ce,(ae-z)*y+se,(le-ne)*a+ce)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ae-ne+z*.5)*y+se,le*a+ce,ae*y+se,(le-ne)*a+ce,(ae-ne+z*.5)*y+se,(le-z)*a+ce)),fe.add(new go.PathSegment(go.PathSegment.Bezier,ae*y+se,(le+ne)*a+ce,(ae-ne+z*.5)*y+se,(le+z)*a+ce,ae*y+se,(le+ne)*a+ce).close()),z=re*.2,ne=.2,ae=.5,le=.5;var Oe=new go.PathFigure((ae-ne)*y+se,le*a+ce,!0);b.add(Oe),Oe.add(new go.PathSegment(go.PathSegment.Bezier,ae*y+se,(le-ne)*a+ce,(ae-ne)*y+se,(le-z)*a+ce,(ae-z)*y+se,(le-ne)*a+ce)),Oe.add(new go.PathSegment(go.PathSegment.Bezier,(ae+ne)*y+se,le*a+ce,(ae+z)*y+se,(le-ne)*a+ce,(ae+ne)*y+se,(le-z)*a+ce)),Oe.add(new go.PathSegment(go.PathSegment.Bezier,ae*y+se,(le+ne)*a+ce,(ae+ne)*y+se,(le+z)*a+ce,(ae+z)*y+se,(le+ne)*a+ce)),Oe.add(new go.PathSegment(go.PathSegment.Bezier,(ae-ne)*y+se,le*a+ce,(ae-z)*y+se,(le+ne)*a+ce,(ae-ne)*y+se,(le+z)*a+ce)),z=re*.4,ne=.4,ae=.8,le=.5;var ge=new go.PathFigure(ae*y+se,(le-ne)*a+ce,!0);b.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,(ae+ne)*y+se,le*a+ce,(ae+z)*y+se,(le-ne)*a+ce,(ae+ne)*y+se,(le-z)*a+ce)),ge.add(new go.PathSegment(go.PathSegment.Bezier,ae*y+se,(le+ne)*a+ce,(ae+ne)*y+se,(le+z)*a+ce,(ae+z)*y+se,(le+ne)*a+ce)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(ae+ne-z*.5)*y+se,le*a+ce,ae*y+se,(le+ne)*a+ce,(ae+ne-z*.5)*y+se,(le+z)*a+ce)),ge.add(new go.PathSegment(go.PathSegment.Bezier,ae*y+se,(le-ne)*a+ce,(ae+ne-z*.5)*y+se,(le-z)*a+ce,ae*y+se,(le-ne)*a+ce).close()),z=re*.8,ne=.8,ae=1,le=.5;var it=new go.PathFigure(ae*y+se,(le-ne)*a+ce,!0);return b.add(it),it.add(new go.PathSegment(go.PathSegment.Bezier,(ae+ne)*y+se,le*a+ce,(ae+z)*y+se,(le-ne)*a+ce,(ae+ne)*y+se,(le-z)*a+ce)),it.add(new go.PathSegment(go.PathSegment.Bezier,ae*y+se,(le+ne)*a+ce,(ae+ne)*y+se,(le+z)*a+ce,(ae+z)*y+se,(le+ne)*a+ce)),it.add(new go.PathSegment(go.PathSegment.Bezier,(ae+ne-z*.5)*y+se,le*a+ce,ae*y+se,(le+ne)*a+ce,(ae+ne-z*.5)*y+se,(le+z)*a+ce)),it.add(new go.PathSegment(go.PathSegment.Bezier,ae*y+se,(le-ne)*a+ce,(ae+ne-z*.5)*y+se,(le-z)*a+ce,ae*y+se,(le-ne)*a+ce).close()),b}),go.Shape.defineFigureGenerator("Email",function(oe,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(oe,y,a){var b=new go.Geometry,E=new go.PathFigure(.35*y,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.65*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.65*y,.4*a)),E.add(new go.PathSegment(go.PathSegment.Line,.35*y,.4*a)),E.add(new go.PathSegment(go.PathSegment.Line,.35*y,0).close());var x=new go.PathFigure(.1*y,a,!0,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.4*y,a)),x.add(new go.PathSegment(go.PathSegment.Line,.4*y,.6*a)),x.add(new go.PathSegment(go.PathSegment.Line,.1*y,.6*a)),x.add(new go.PathSegment(go.PathSegment.Line,.1*y,a).close());var z=new go.PathFigure(.6*y,a,!0,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.9*y,a)),z.add(new go.PathSegment(go.PathSegment.Line,.9*y,.6*a)),z.add(new go.PathSegment(go.PathSegment.Line,.6*y,.6*a)),z.add(new go.PathSegment(go.PathSegment.Line,.6*y,a).close());var 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(oe,y,a){var b=new go.Geometry,E=re*.4,x=.4,z=.5,ne=.5,ae=ee(),le=ee(),se=ee(),ce=ee();Ge(z,ne-x,z+E,ne-x,z+x,ne-E,z+x,ne,.5,ae,ae,le,se,ce);var be=te(le.x,le.y),fe=new go.PathFigure(le.x*y,le.y*a,!0);b.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*y,ne*a,se.x*y,se.y*a,ce.x*y,ce.y*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ne+x)*a,(z+x)*y,(ne+E)*a,(z+E)*y,(ne+x)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(z-x)*y,ne*a,(z-E)*y,(ne+x)*a,(z-x)*y,(ne+E)*a)),Ge(z-x,ne,z-x,ne-E,z-E,ne-x,z,ne-x,.5,se,ce,le,ae,ae),fe.add(new go.PathSegment(go.PathSegment.Bezier,le.x*y,le.y*a,se.x*y,se.y*a,ce.x*y,ce.y*a)),E=re*.3,x=.3,Ge(z-x,ne,z-x,ne-E,z-E,ne-x,z,ne-x,.5,se,ce,le,ae,ae),fe.add(new go.PathSegment(go.PathSegment.Line,le.x*y,le.y*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(z-x)*y,ne*a,ce.x*y,ce.y*a,se.x*y,se.y*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ne+x)*a,(z-x)*y,(ne+E)*a,(z-E)*y,(ne+x)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*y,ne*a,(z+E)*y,(ne+x)*a,(z+x)*y,(ne+E)*a)),Ge(z,ne-x,z+E,ne-x,z+x,ne-E,z+x,ne,.5,ae,ae,le,se,ce),fe.add(new go.PathSegment(go.PathSegment.Bezier,le.x*y,le.y*a,ce.x*y,ce.y*a,se.x*y,se.y*a).close());var fe=new go.PathFigure(.45*y,0,!0);return b.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,.45*y,.5*a)),fe.add(new go.PathSegment(go.PathSegment.Line,.55*y,.5*a)),fe.add(new go.PathSegment(go.PathSegment.Line,.55*y,0).close()),ie(ae),ie(le),ie(se),ie(ce),ie(be),b.spot1=new go.Spot(.25,.45),b.spot2=new go.Spot(.75,.8),b}),go.Shape.defineFigureGenerator("Fallout",function(oe,y,a){var b=new go.Geometry,E=new go.PathFigure(0,a/2,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Arc,180,360,y/2,a/2,y/2,a/2));function x(z,ne,ae){z.add(new go.PathSegment(go.PathSegment.Move,(.3+ne)*y,(.8+ae)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(.5+ne)*y,(.5+ae)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(.1+ne)*y,(.5+ae)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(.3+ne)*y,(.8+ae)*a).close())}return x(E,0,0),x(E,.4,0),x(E,.2,-.3),b}),go.Shape.defineFigureGenerator("IrritationHazard",function(oe,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(oe,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(oe,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(oe,y,a){var b=new go.Geometry,E=.5,x=0,z=0,ne=E*re,ae=.4*Math.SQRT2/2+.5,le=.5-.5*Math.SQRT2/2,se=1,ce=.5,be=.5,fe=0,Oe=new go.PathFigure(ae*y,(1-le)*a,!1);return b.add(Oe),Oe.add(new go.PathSegment(go.PathSegment.Bezier,se*y,ce*a,se*y,.7*a,se*y,ce*a)),Oe.add(new go.PathSegment(go.PathSegment.Bezier,(be+x)*y,(fe+x)*a,(.5+E+x)*y,(.5-ne+x)*a,(.5+ne+x)*y,(.5-E+x)*a)),Oe.add(new go.PathSegment(go.PathSegment.Bezier,(.5-E+x)*y,(.5+z)*a,(.5-ne+x)*y,(.5-E+z)*a,(.5-E+x)*y,(.5-ne+z)*a)),Oe.add(new go.PathSegment(go.PathSegment.Bezier,(.35+x)*y,.9*a,(.5-E+x)*y,(.5+ne+z)*a,(.5-ne+x)*y,.9*a)),Oe.add(new go.PathSegment(go.PathSegment.Move,(.25+x)*y,.8*a)),Oe.add(new go.PathSegment(go.PathSegment.Line,(.35+x)*y,.9*a)),Oe.add(new go.PathSegment(go.PathSegment.Line,(.2+x)*y,.95*a)),b}),go.Shape.defineFigureGenerator("BpmnActivityParallel",function(oe,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(oe,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(oe,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!1);b.add(E);var x=new go.PathFigure(y,a,!1);b.add(x);var z=new go.PathFigure(0,.5*a,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.5*a,.2*y,.35*a,.3*y,.35*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,.7*y,.65*a,.8*y,.65*a)),b}),go.Shape.defineFigureGenerator("BpmnActivityCompensation",function(oe,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(oe,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(oe,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(oe,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!1);b.add(E);var x=new go.PathFigure(.335*y,(1-.555)*a,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.335*y,(1-.405)*a)),x.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*y,(1-.405)*a)),x.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*y,(1-.555)*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,y,.68*a,(1-.12)*y,.46*a,(1-.02)*y,.54*a)),x.add(new go.PathSegment(go.PathSegment.Line,y,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,.68*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,.335*y,(1-.555)*a,.02*y,.54*a,.12*y,.46*a)),x.add(new go.PathSegment(go.PathSegment.Line,.365*y,(1-.595)*a));var z=.5-.285,ne=.5,ae=z,le=Math.PI/4,se=4*(1-Math.cos(le))/(3*Math.sin(le)),ce=se*.5,be=z,fe=z,Oe=se*be,ge=se*fe;x.add(new go.PathSegment(go.PathSegment.Bezier,(ne-be)*y,ae*a,(ne-(Oe+be)/2)*y,(ae+(fe+ge)/2)*a,(ne-be)*y,(ae+ge)*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(ae-fe)*a,(ne-be)*y,(ae-ge)*a,(ne-Oe)*y,(ae-fe)*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,(ne+be)*y,ae*a,(ne+Oe)*y,(ae-fe)*a,(ne+be)*y,(ae-ge)*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,(1-.365)*y,(1-.595)*a,(ne+be)*y,(ae+ge)*a,(ne+(Oe+be)/2)*y,(ae+(fe+ge)/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 it=new go.PathFigure(.2*y,a,!1);b.add(it),it.add(new go.PathSegment(go.PathSegment.Line,.2*y,.8*a));var Le=new go.PathFigure(.8*y,a,!1);return b.add(Le),Le.add(new go.PathSegment(go.PathSegment.Line,.8*y,.8*a)),b}),go.Shape.defineFigureGenerator("BpmnEventConditional",function(oe,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(oe,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(oe,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!1);b.add(E);var x=new go.PathFigure(y,a,!1);b.add(x);var z=new go.PathFigure(.1*y,a,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),z.add(new go.PathSegment(go.PathSegment.Line,.9*y,a)),z.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a).close()),b}),go.Shape.defineFigureGenerator("Caution",function(oe,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(oe,y,a){var b=new go.Geometry,E=new go.PathFigure(.45*y,.95*a,!1);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.2*y,.95*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.185*y,.85*a,.17*y,.95*a,.15*y,.9*a)),E.add(new go.PathSegment(go.PathSegment.Line,.235*y,.75*a)),E.add(new go.PathSegment(go.PathSegment.Line,.3*y,.625*a)),E.add(new go.PathSegment(go.PathSegment.Line,.35*y,.65*a)),E.add(new go.PathSegment(go.PathSegment.Line,.275*y,.45*a)),E.add(new go.PathSegment(go.PathSegment.Line,.05*y,.45*a)),E.add(new go.PathSegment(go.PathSegment.Line,.1*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.05*y,.575*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.1875*y,.95*a,0,.675*a,0,.7*a)),E.add(new go.PathSegment(go.PathSegment.Move,.45*y,.95*a)),E.add(new go.PathSegment(go.PathSegment.Line,.45*y,.775*a)),E.add(new go.PathSegment(go.PathSegment.Line,.22*y,.775*a));var x=new go.PathFigure(.475*y,.2*a,!1);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.4*y,.4*a)),x.add(new go.PathSegment(go.PathSegment.Line,.225*y,.3*a)),x.add(new go.PathSegment(go.PathSegment.Line,.275*y,.175*a)),x.add(new go.PathSegment(go.PathSegment.Line,.325*y,.05*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,.4*y,.05*a,.35*y,0,.375*y,0)),x.add(new go.PathSegment(go.PathSegment.Line,.575*y,.375*a)),x.add(new go.PathSegment(go.PathSegment.Line,.525*y,.4*a)),x.add(new go.PathSegment(go.PathSegment.Line,.75*y,.475*a)),x.add(new go.PathSegment(go.PathSegment.Line,.85*y,.315*a)),x.add(new go.PathSegment(go.PathSegment.Line,.8*y,.32*a)),x.add(new go.PathSegment(go.PathSegment.Line,.65*y,.05*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,.575*y,0,.65*y,.05*a,.625*y,0)),x.add(new go.PathSegment(go.PathSegment.Line,.38*y,.0105*a));var z=new go.PathFigure(.675*y,.575*a,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.875*y,.525*a)),z.add(new go.PathSegment(go.PathSegment.Line,y,.775*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.85*y,.95*a,y,.8*a,y,.85*a)),z.add(new go.PathSegment(go.PathSegment.Line,.65*y,.95*a)),z.add(new go.PathSegment(go.PathSegment.Line,.65*y,a)),z.add(new go.PathSegment(go.PathSegment.Line,.55*y,.85*a)),z.add(new go.PathSegment(go.PathSegment.Line,.65*y,.725*a)),z.add(new go.PathSegment(go.PathSegment.Line,.65*y,.775*a)),z.add(new go.PathSegment(go.PathSegment.Line,.7*y,.775*a)),z.add(new go.PathSegment(go.PathSegment.Line,y,.775*a)),z.add(new go.PathSegment(go.PathSegment.Move,.675*y,.575*a)),z.add(new go.PathSegment(go.PathSegment.Line,.775*y,.775*a)),b}),go.Shape.defineFigureGenerator("BpmnEventTimer",function(oe,y,a){var b=new go.Geometry,E=.5,x=re*.5,z=new go.PathFigure(y,E*a,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,E*y,a,y,(E+x)*a,(E+x)*y,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,E*a,(E-x)*y,a,0,(E+x)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,E*y,0,0,(E-x)*a,(E-x)*y,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,y,E*a,(E+x)*y,0,y,(E-x)*a));var 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(oe,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(oe,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var x=new go.PathFigure(0,.2*a,!1);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,.2*a).close());var z=new go.PathFigure(0,.5*a,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y,.5*a).close()),b}),go.Shape.defineFigureGenerator("Component",function(oe,y,a){var b=new go.Geometry,E=new go.PathFigure(y,a,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.15*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.15*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a).close());var x=new go.PathFigure(0,.2*a,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.45*y,.2*a)),x.add(new go.PathSegment(go.PathSegment.Line,.45*y,.4*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,.4*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,.2*a).close());var z=new go.PathFigure(0,.6*a,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.45*y,.6*a)),z.add(new go.PathSegment(go.PathSegment.Line,.45*y,.8*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.6*a).close()),b}),go.Shape.defineFigureGenerator("Boat Shipment",function(oe,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(oe,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(oe,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(oe,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(oe,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.6*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.6*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var x=new go.PathFigure(y,.8*a,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,.4*a)),x.add(new go.PathSegment(go.PathSegment.Line,.6*y,.4*a)),x.add(new go.PathSegment(go.PathSegment.Line,.6*y,.8*a)),x.add(new go.PathSegment(go.PathSegment.Line,y,.8*a).close());var z=.1,ne=re*.1,ae=.2,le=.9,se=new go.PathFigure((ae-z)*y,le*a,!0);b.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,ae*y,(le-z)*a,(ae-z)*y,(le-ne)*a,(ae-ne)*y,(le-z)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,(ae+z)*y,le*a,(ae+ne)*y,(le-z)*a,(ae+z)*y,(le-ne)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,ae*y,(le+z)*a,(ae+z)*y,(le+ne)*a,(ae+ne)*y,(le+z)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,(ae-z)*y,le*a,(ae-ne)*y,(le+z)*a,(ae-z)*y,(le+ne)*a).close()),z=.1,ne=re*.1,ae=.8,le=.9;var ce=new go.PathFigure((ae-z)*y,le*a,!0);return b.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,ae*y,(le-z)*a,(ae-z)*y,(le-ne)*a,(ae-ne)*y,(le-z)*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(ae+z)*y,le*a,(ae+ne)*y,(le-z)*a,(ae+z)*y,(le-ne)*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,ae*y,(le+z)*a,(ae+z)*y,(le+ne)*a,(ae+ne)*y,(le+z)*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(ae-z)*y,le*a,(ae-ne)*y,(le+z)*a,(ae-z)*y,(le+ne)*a).close()),b}),go.Shape.defineFigureGenerator("KanbanPost",function(oe,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(oe,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.4*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,0,0));var x=new go.PathFigure(0,.5*a,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),x.add(new go.PathSegment(go.PathSegment.Line,.5*y,.8*a)),x.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,.5*a));var z=new go.PathFigure(.5*y,.8*a,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*y,.1*a)),z.add(new go.PathSegment(go.PathSegment.Line,.55*y,.1*a)),z.add(new go.PathSegment(go.PathSegment.Line,.55*y,.8*a)),z.add(new go.PathSegment(go.PathSegment.Line,.5*y,.8*a));var ne=new go.PathFigure(.5*y,.7*a,!1);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y,.7*a));var ae=.1,le=re*.1,se=.1,ce=.9,be=new go.PathFigure((se-ae)*y,ce*a,!0);b.add(be),be.add(new go.PathSegment(go.PathSegment.Bezier,se*y,(ce-ae)*a,(se-ae)*y,(ce-le)*a,(se-le)*y,(ce-ae)*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,(se+ae)*y,ce*a,(se+le)*y,(ce-ae)*a,(se+ae)*y,(ce-le)*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,se*y,(ce+ae)*a,(se+ae)*y,(ce+le)*a,(se+le)*y,(ce+ae)*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,(se-ae)*y,ce*a,(se-le)*y,(ce+ae)*a,(se-ae)*y,(ce+le)*a)),ae=.1,le=re*.1,se=.4,ce=.9;var fe=new go.PathFigure((se-ae)*y,ce*a,!0);return b.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,se*y,(ce-ae)*a,(se-ae)*y,(ce-le)*a,(se-le)*y,(ce-ae)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(se+ae)*y,ce*a,(se+le)*y,(ce-ae)*a,(se+ae)*y,(ce-le)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,se*y,(ce+ae)*a,(se+ae)*y,(ce+le)*a,(se+le)*y,(ce+ae)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(se-ae)*y,ce*a,(se-le)*y,(ce+ae)*a,(se-ae)*y,(ce+le)*a)),b}),go.Shape.defineFigureGenerator("RailShipment",function(oe,y,a){var b=new go.Geometry,E=new go.PathFigure(.1*y,.4*a,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.45*y,.4*a)),E.add(new go.PathSegment(go.PathSegment.Line,.45*y,.9*a)),E.add(new go.PathSegment(go.PathSegment.Line,.1*y,.9*a)),E.add(new go.PathSegment(go.PathSegment.Line,.1*y,.4*a).close());var x=new go.PathFigure(.45*y,.7*a,!1);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.55*y,.7*a));var z=new go.PathFigure(.55*y,.4*a,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.9*y,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,.9*y,.9*a)),z.add(new go.PathSegment(go.PathSegment.Line,.55*y,.9*a)),z.add(new go.PathSegment(go.PathSegment.Line,.55*y,.4*a).close());var se=.05,ce=re*.05,be=.175,fe=.95,ne=new go.PathFigure((be-se)*y,fe*a,!0);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,be*y,(fe-se)*a,(be-se)*y,(fe-ce)*a,(be-ce)*y,(fe-se)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(be+se)*y,fe*a,(be+ce)*y,(fe-se)*a,(be+se)*y,(fe-ce)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,be*y,(fe+se)*a,(be+se)*y,(fe+ce)*a,(be+ce)*y,(fe+se)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(be-se)*y,fe*a,(be-ce)*y,(fe+se)*a,(be-se)*y,(fe+ce)*a));var se=.05,ce=re*.05,be=.375,fe=.95,ae=new go.PathFigure((be-se)*y,fe*a,!0);b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,be*y,(fe-se)*a,(be-se)*y,(fe-ce)*a,(be-ce)*y,(fe-se)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(be+se)*y,fe*a,(be+ce)*y,(fe-se)*a,(be+se)*y,(fe-ce)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,be*y,(fe+se)*a,(be+se)*y,(fe+ce)*a,(be+ce)*y,(fe+se)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(be-se)*y,fe*a,(be-ce)*y,(fe+se)*a,(be-se)*y,(fe+ce)*a));var se=.05,ce=re*.05,be=.625,fe=.95,le=new go.PathFigure((be-se)*y,fe*a,!0);b.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,be*y,(fe-se)*a,(be-se)*y,(fe-ce)*a,(be-ce)*y,(fe-se)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,(be+se)*y,fe*a,(be+ce)*y,(fe-se)*a,(be+se)*y,(fe-ce)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,be*y,(fe+se)*a,(be+se)*y,(fe+ce)*a,(be+ce)*y,(fe+se)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,(be-se)*y,fe*a,(be-ce)*y,(fe+se)*a,(be-se)*y,(fe+ce)*a));var se=.05,ce=re*.05,be=.825,fe=.95,Oe=new go.PathFigure((be-se)*y,fe*a,!0);b.add(Oe),Oe.add(new go.PathSegment(go.PathSegment.Bezier,be*y,(fe-se)*a,(be-se)*y,(fe-ce)*a,(be-ce)*y,(fe-se)*a)),Oe.add(new go.PathSegment(go.PathSegment.Bezier,(be+se)*y,fe*a,(be+ce)*y,(fe-se)*a,(be+se)*y,(fe-ce)*a)),Oe.add(new go.PathSegment(go.PathSegment.Bezier,be*y,(fe+se)*a,(be+se)*y,(fe+ce)*a,(be+ce)*y,(fe+se)*a)),Oe.add(new go.PathSegment(go.PathSegment.Bezier,(be-se)*y,fe*a,(be-ce)*y,(fe+se)*a,(be-se)*y,(fe+ce)*a).close());var ge=new go.PathFigure(0,a,!1);return b.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,y,a).close()),b}),go.Shape.defineFigureGenerator("Warehouse",function(oe,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var x=new go.PathFigure(0,.2*a,!1);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,.2*a).close());var z=new go.PathFigure(.15*y,a,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.15*y,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,.4*y,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,.4*y,a)),z.add(new go.PathSegment(go.PathSegment.Line,.15*y,a).close());var ne=.05,ae=re*.05,le=.35,se=.775,ce=new go.PathFigure((le-ne)*y,se*a,!0);return b.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,le*y,(se-ne)*a,(le-ne)*y,(se-ae)*a,(le-ae)*y,(se-ne)*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(le+ne)*y,se*a,(le+ae)*y,(se-ne)*a,(le+ne)*y,(se-ae)*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,le*y,(se+ne)*a,(le+ne)*y,(se+ae)*a,(le+ae)*y,(se+ne)*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(le-ne)*y,se*a,(le-ae)*y,(se+ne)*a,(le-ne)*y,(se+ae)*a).close()),b}),go.Shape.defineFigureGenerator("ControlCenter",function(oe,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(oe,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(oe,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(oe,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(oe,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(oe,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(oe,y,a){var b=new go.Geometry,E=.3,x=re*.3,z=.5,ne=.7,ae=new go.PathFigure((z-E)*y,ne*a,!0);b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ne-E)*a,(z-E)*y,(ne-x)*a,(z-x)*y,(ne-E)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*y,ne*a,(z+x)*y,(ne-E)*a,(z+E)*y,(ne-x)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ne+E)*a,(z+E)*y,(ne+x)*a,(z+x)*y,(ne+E)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(z-E)*y,ne*a,(z-x)*y,(ne+E)*a,(z-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(oe,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(oe,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(oe,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(oe,y,a){var b=new go.Geometry,E=.5,x=re*.5,z=.5,ne=.5,ae=new go.PathFigure((z-E)*y,ne*a,!0);b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ne-E)*a,(z-E)*y,(ne-x)*a,(z-x)*y,(ne-E)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*y,ne*a,(z+x)*y,(ne-E)*a,(z+E)*y,(ne-x)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ne+E)*a,(z+E)*y,(ne+x)*a,(z+x)*y,(ne+E)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(z-E)*y,ne*a,(z-x)*y,(ne+E)*a,(z-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(oe,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(oe,y,a){var b=new go.Geometry,E=.5,x=re*.5,z=.5,ne=.5,ae=new go.PathFigure((z-E)*y,ne*a,!1);b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ne-E)*a,(z-E)*y,(ne-x)*a,(z-x)*y,(ne-E)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*y,ne*a,(z+x)*y,(ne-E)*a,(z+E)*y,(ne-x)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ne+E)*a,(z+E)*y,(ne+x)*a,(z+x)*y,(ne+E)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(z-E)*y,ne*a,(z-x)*y,(ne+E)*a,(z-E)*y,(ne+x)*a).close()),E=.05,x=re*.05,z=.5,ne=.8;var le=new go.PathFigure((z-E)*y,ne*a,!1);return b.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ne-E)*a,(z-E)*y,(ne-x)*a,(z-x)*y,(ne-E)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*y,ne*a,(z+x)*y,(ne-E)*a,(z+E)*y,(ne-x)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ne+E)*a,(z+E)*y,(ne+x)*a,(z+x)*y,(ne+E)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,(z-E)*y,ne*a,(z-x)*y,(ne+E)*a,(z-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(oe,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(oe,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(oe,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(oe,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(oe,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(oe,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(oe,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(oe,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(oe,y,a){var b=new go.Geometry,E=new go.PathFigure(y*1,a*1,!1);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,0,a*.85)),E.add(new go.PathSegment(go.PathSegment.Line,.046*y,a*.85)),E.add(new go.PathSegment(go.PathSegment.Line,.046*y,a*.45)),E.add(new go.PathSegment(go.PathSegment.Line,0,a*.45)),E.add(new go.PathSegment(go.PathSegment.Line,0,a*.3)),E.add(new go.PathSegment(go.PathSegment.Line,.046*y,a*.3)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a*0)),E.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*y,a*.3)),E.add(new go.PathSegment(go.PathSegment.Line,y,a*.3)),E.add(new go.PathSegment(go.PathSegment.Line,y,a*.45)),E.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*y,a*.45)),E.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*y,a*.85)),E.add(new go.PathSegment(go.PathSegment.Line,y,a*.85).close());var x=new go.PathFigure(.126*y,.85*a,!1);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.126*y,.45*a)),x.add(new go.PathSegment(go.PathSegment.Line,.322*y,.45*a)),x.add(new go.PathSegment(go.PathSegment.Line,.322*y,.85*a).close());var z=new go.PathFigure(.402*y,.85*a,!1);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.402*y,.45*a)),z.add(new go.PathSegment(go.PathSegment.Line,.598*y,.45*a)),z.add(new go.PathSegment(go.PathSegment.Line,.598*y,.85*a).close());var 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 ae=new go.PathFigure(.5*y,.1*a,!1);return b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,(.046+.15)*y,.3*a)),ae.add(new go.PathSegment(go.PathSegment.Line,(1-(.046+.15))*y,.3*a).close()),b}),go.Shape.defineFigureGenerator("Staircase",function(oe,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(oe,y,a){var b=new go.Geometry,E=new go.PathFigure(0,a*1,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y*.184,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*.184,a*(1-.184)).close());var x=new go.PathFigure(y*.204,a,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y*.204,a*(1-.184))),x.add(new go.PathSegment(go.PathSegment.Line,y*.388,a*(1-.184*2))),x.add(new go.PathSegment(go.PathSegment.Line,y*.388,a*1).close());var z=new go.PathFigure(y*.408,a,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y*.408,a*(1-.184*2))),z.add(new go.PathSegment(go.PathSegment.Line,y*.592,a*(1-.184*3))),z.add(new go.PathSegment(go.PathSegment.Line,y*.592,a*1).close());var 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 ae=new go.PathFigure(y*.816,a,!0);return b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,y*.816,a*(1-.184*4))),ae.add(new go.PathSegment(go.PathSegment.Line,y*1,a*(1-.184*5))),ae.add(new go.PathSegment(go.PathSegment.Line,y*1,a*1).close()),b}),go.Shape.defineFigureGenerator("PC",function(oe,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*.3,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*.3,0).close());var x=new go.PathFigure(y*.055,.07*a,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y*.245,a*.07)),x.add(new go.PathSegment(go.PathSegment.Line,y*.245,a*.1)),x.add(new go.PathSegment(go.PathSegment.Line,y*.055,a*.1).close());var z=new go.PathFigure(y*.055,.13*a,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y*.245,a*.13)),z.add(new go.PathSegment(go.PathSegment.Line,y*.245,a*.16)),z.add(new go.PathSegment(go.PathSegment.Line,y*.055,a*.16).close());var 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 ae=new go.PathFigure(y*1,0,!0);return b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,y*.4,0)),ae.add(new go.PathSegment(go.PathSegment.Line,y*.4,a*.65)),ae.add(new go.PathSegment(go.PathSegment.Line,y*1,a*.65).close()),b}),go.Shape.defineFigureGenerator("Plane",function(oe,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(oe,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(oe,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!1);b.add(E),E.add(new go.PathSegment(go.PathSegment.Arc,270,180,y*0,y*.3,y*.055)),E.add(new go.PathSegment(go.PathSegment.Line,0,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*.08,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*.08,a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*1),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*1),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*2),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*2),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*3),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*3),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*4),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*4),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*5),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*5),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*6),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*6),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*7),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*7),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*8),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*8),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*9),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*9),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*10),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*10),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*11),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*11),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*12),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*12),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*13),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*13),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*14),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*14),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*15),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*15),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*1));var x=new go.PathFigure(0,0,!1);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y*1,a*0)),x.add(new go.PathSegment(go.PathSegment.Arc,270,-180,y*1,y*.3,y*.055)),x.add(new go.PathSegment(go.PathSegment.Line,y*1,a*1));var z=new go.PathFigure(y*.11,a*.1,!1);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*1+.028*0),a*.1)),z.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*1+.028*0),a*.8)),z.add(new go.PathSegment(go.PathSegment.Line,y*.11,a*.8).close());var 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 ae=new go.PathFigure(y*(.11+.24133333*2+.028*2),a*.1,!1);return b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*3+.028*2),a*.1)),ae.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*3+.028*2),a*.8)),ae.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*2+.028*2),a*.8).close()),b}),go.Shape.defineFigureGenerator("FloppyDisk",function(oe,y,a){var b=new go.Geometry,E=8,x=E*re,z=new go.PathFigure(E,0,!1);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y*.86,0)),z.add(new go.PathSegment(go.PathSegment.Line,y*1,a*.14)),z.add(new go.PathSegment(go.PathSegment.Line,y,a-E)),z.add(new go.PathSegment(go.PathSegment.Bezier,y-E,a,y,a-x,y-x,a)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,a-E,x,a,0,a-x)),z.add(new go.PathSegment(go.PathSegment.Line,0,E)),z.add(new go.PathSegment(go.PathSegment.Bezier,E,0,0,x,x,0).close());var 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 ae=new go.PathFigure(y*.83,a*1,!1);b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,y*.83,a*.5)),ae.add(new go.PathSegment(go.PathSegment.Line,y*.17,a*.5)),ae.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(oe,y,a){var b=oe?oe.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,z=new go.Geometry,ne=new go.PathFigure(b,0,!0);return z.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?(z.spot1=new go.Spot(0,0,E,E),z.spot2=new go.Spot(1,.8,-E,-E)):(z.spot1=go.Spot.TopLeft,z.spot2=new go.Spot(1,.8)),z}),go.Shape.defineFigureGenerator("Repeat",function(oe,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(oe,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(oe,y,a){var b=new go.Geometry,E=new go.PathFigure(y*0,a*.1,!1);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*.1)),E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*.9)),E.add(new go.PathSegment(go.PathSegment.Line,y*0,a*.9).close());var x=new go.PathFigure(y*.1,a*.2,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y*.1,a*.25)),x.add(new go.PathSegment(go.PathSegment.Line,y*.22,a*.285)),x.add(new go.PathSegment(go.PathSegment.Line,y*.1,a*.32)),x.add(new go.PathSegment(go.PathSegment.Line,y*.1,a*.37)),x.add(new go.PathSegment(go.PathSegment.Line,y*.275,a*.32)),x.add(new go.PathSegment(go.PathSegment.Line,y*.275,a*.25).close());var z=new go.PathFigure(y*.28,a*.37,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y*.45,a*.37)),z.add(new go.PathSegment(go.PathSegment.Line,y*.45,a*.41)),z.add(new go.PathSegment(go.PathSegment.Line,y*.28,a*.41).close()),b}),go.Shape.defineFigureGenerator("Beaker",function(oe,y,a){var b=new go.Geometry,E=15,x=E*re,z=new go.PathFigure(y*.62,a*.475,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y,a-E)),z.add(new go.PathSegment(go.PathSegment.Bezier,y-E,a,y,a-x,y-x,a)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,a-E,x,a,0,a-x)),z.add(new go.PathSegment(go.PathSegment.Line,y*.38,a*.475)),z.add(new go.PathSegment(go.PathSegment.Line,y*.38,a*.03)),z.add(new go.PathSegment(go.PathSegment.Line,y*.36,a*0)),z.add(new go.PathSegment(go.PathSegment.Line,y*.64,a*0)),z.add(new go.PathSegment(go.PathSegment.Line,y*.62,a*.03).close()),x>1?(b.spot1=new go.Spot(0,0,x,x),b.spot2=new go.Spot(1,1,-x,-x)):(b.spot1=go.Spot.TopLeft,b.spot2=go.Spot.BottomRight),b}),go.Shape.defineFigureGenerator("Download",function(oe,y,a){var b=new go.Geometry,E=new go.PathFigure(y*0,a*1,!0);b.add(E);var x=.1/.3;E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,y*.8,a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*.055)),E.add(new go.PathSegment(go.PathSegment.Line,y*.755,a*.055)),E.add(new go.PathSegment(go.PathSegment.Line,y*.93,a*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,y*.64,a*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,y*.61,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.5,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.39,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.36,a*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,y*.07,a*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,y*(1-.755),a*.055)),E.add(new go.PathSegment(go.PathSegment.Line,y*(1-.66),a*.055)),E.add(new go.PathSegment(go.PathSegment.Line,y*(1-.66),a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*(1-.8),a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*0,a*(1-x)).close());var z=new go.PathFigure(y*.4,a*0,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y*.4,a*.44)),z.add(new go.PathSegment(go.PathSegment.Line,y*.26,a*.44)),z.add(new go.PathSegment(go.PathSegment.Line,y*.5,a*.66)),z.add(new go.PathSegment(go.PathSegment.Line,y*(1-.26),a*.44)),z.add(new go.PathSegment(go.PathSegment.Line,y*.6,a*.44)),z.add(new go.PathSegment(go.PathSegment.Line,y*.6,a*0).close()),b}),go.Shape.defineFigureGenerator("Bin",function(oe,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(oe,y,a){var b=new go.Geometry,E=new go.PathFigure(y*0,a*1,!0);b.add(E);var x=.1/.3;E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,y*.8,a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*.055)),E.add(new go.PathSegment(go.PathSegment.Line,y*.755,a*.055)),E.add(new go.PathSegment(go.PathSegment.Line,y*.93,a*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,y*.64,a*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,y*.61,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.5,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.39,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.36,a*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,y*.07,a*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,y*(1-.755),a*.055)),E.add(new go.PathSegment(go.PathSegment.Line,y*(1-.66),a*.055)),E.add(new go.PathSegment(go.PathSegment.Line,y*(1-.66),a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*(1-.8),a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*0,a*(1-x)).close());var z=new go.PathFigure(y*.5,a*0,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y*.26,a*.25)),z.add(new go.PathSegment(go.PathSegment.Line,y*.4,a*.25)),z.add(new go.PathSegment(go.PathSegment.Line,y*.4,a*.63)),z.add(new go.PathSegment(go.PathSegment.Line,y*.6,a*.63)),z.add(new go.PathSegment(go.PathSegment.Line,y*.6,a*.25)),z.add(new go.PathSegment(go.PathSegment.Line,y*.74,a*.25).close()),b}),go.Shape.defineFigureGenerator("EmptyDrink",function(oe,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(oe,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(oe,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")},98598: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 bt={},It="5.0",te={},ee=null,ie=!1,Ae=!1,Ge=null,Ce=!1,Fe=null,re=null,Je=0;Je<arguments.length;Je++){var Qe=arguments[Je];if(Qe!==null)switch(typeof Qe){case"number":It=Qe.toFixed(1);break;case"string":Qe.match(new RegExp("^[0-9]\\.[0-9]+$"))?It=Qe:Ge=Qe;break;case"object":typeof Qe.is3D!="undefined"?ee=Qe:te=Qe;break;case"boolean":ie=Qe,Ae=!0;break}}ee===null&&(ee={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)),Ge!==null&&te.id===void 0&&(te.id=Ge);var Ze="",lt="",pt=!1,Te=null,oe=null,y=null,a=!1,b=null,E=null,x=null,z=null,ne=null;te.height!==void 0&&(te.height=Math.round(te.height)),te.width!==void 0&&(te.width=Math.round(te.width));var ae=function(Me){return parseFloat(Me)>4?parseFloat(Me):5};bt.setHTML5Codebase=function(Me,ke){re=Me,Ye(Me,ke)},bt.setJavaCodebase=bt.setJavaCodebaseVersion=bt.isCompiledInstalled=bt.setPreCompiledScriptPath=bt.setPreCompiledResourcePath=function(){},bt.setHTML5CodebaseVersion=function(Me,ke){var Pt=parseFloat(Me);if(Pt!==NaN&&Pt<5){console.log("The GeoGebra HTML5 codebase version "+Pt+" is deprecated. Using version latest instead.");return}Fe=Me,Rt(Me,ke)},bt.getHTML5CodebaseVersion=function(){return oe},bt.getParameters=function(){return te},bt.setFontsCSSURL=function(Me){z=Me},bt.setGiacJSURL=function(Me){},bt.setJNLPFile=function(Me){Ze=Me},bt.setJNLPBaseDir=function(Me){},bt.inject=function(){function Me(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var ke="auto",Pt=te.id,Gt,mt=!1,Jt=0;Jt<arguments.length;Jt++){var Be=arguments[Jt];typeof Be=="string"?(Be=Be.toLowerCase(),Be.match(/^(prefer)?(java|html5|compiled|auto|screenshot)$/)?ke=Be:Pt=arguments[Jt]):typeof Be=="boolean"?mt=Be:Be instanceof HTMLElement&&(Gt=Be)}Xt();function Xt(){if(!Ce){setTimeout(Xt,200);return}ke=$e(ke);var pn=Gt||document.getElementById(Pt);if(!pn){console.log("possibly bug on ajax loading? ");return}if(bt.removeExistingApplet(pn,!1),te.width===void 0&&pn.clientWidth&&(te.width=pn.clientWidth),te.height===void 0&&pn.clientHeight&&(te.height=pn.clientHeight),!(te.width&&te.height)&&ke==="html5"&&(delete te.width,delete te.height),Te=ke,ke==="screenshot")Le(pn,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())&&se()),St?(Te="screenshot",ye(pn,te,mt,ke)):it(pn,te,mt)}}};function le(){try{return window.self!==window.top}catch(Me){return!0}}function se(){return te.hasOwnProperty("screenshotGenerator")&&te.screenshotGenerator?!1:Math.max(screen.width,screen.height)<800}bt.getViews=function(){return ee},bt.isJavaInstalled=function(){return!1};var ce=function(Me){var ke=function(Jt){var Be=JSON.parse(Jt),Xt=function(ut){return ut.type=="G"||ut.type=="E"},pn=Be.elements?Be.elements.filter(Xt)[0]:Be;if(!pn||!pn.url){Pt();return}te.fileName=pn.url,be(pn.settings||{}),ee.is3D=!0;var St="https://www.geogebra.org/images/";bt.setPreviewImage(b||pn.previewUrl,St+"GeoGebra_loading.png",St+"applet_play.png"),Me()},Pt=function(){te.onError&&te.onError(),Dt("Error: Fetching material (id "+te.material_id+") failed.",te)},Gt=location.host.match(/(www|stage|beta|groot|alpha).geogebra.(org|net)/)?location.host:"www.geogebra.org",mt="/materials/"+te.material_id+"?scope=basic";fe("https://"+Gt+"/api/proxy.php?path="+encodeURIComponent(mt),ke,Pt)};function be(Me){var ke=["width","height","showToolBar","showMenuBar","showAlgebraInput","allowStyleBar","showResetIcon","enableLabelDrags","enableShiftDragZoom","enableRightClick","appName"];["enableLabelDrags","enableShiftDragZoom","enableRightClick"].forEach(function(Pt){Me[Pt]=!!Me[Pt]}),ke.forEach(function(Pt){te[Pt]===void 0&&Me[Pt]!==void 0&&(te[Pt]=Me[Pt])}),te.showToolBarHelp===void 0&&(te.showToolBarHelp=te.showToolBar)}function fe(Me,ke,Pt){var Gt=new XMLHttpRequest;Gt.open("GET",Me),Gt.onload=function(){ke(Gt.responseText)},Gt.onerror=Pt,Gt.send()}bt.isHTML5Installed=function(){return!0},bt.getLoadedAppletType=function(){return Te},bt.setPreviewImage=function(Me,ke,Pt){b=Me,E=ke,x=Pt},bt.removeExistingApplet=function(Me,ke){var Pt;typeof Me=="string"&&(Me=document.getElementById(Me)),Te=null;var Gt=null;for(Pt=0;Pt<Me.childNodes.length;Pt++){var mt=Me.childNodes[Pt],Jt=mt.className;Jt==="applet_screenshot"?ke?(mt.style.display="block",Te="screenshot"):mt.style.display="none":Jt!=="applet_scaler prerender"&&(Me.removeChild(mt),Gt=Jt&&Jt.indexOf("appletParameters")!=-1?mt.id:null,Pt--)}var Be=te.id!==void 0?te.id:Gt,Xt=window[Be];Xt&&typeof Xt.getBase64=="function"&&(Xt.remove(),window[Be]=null)},bt.refreshHitPoints=function(){if(ae(ggbHTML5LoadedCodebaseVersion)>=5)return!0;var Me=bt.getAppletObject();return Me&&typeof Me.recalculateEnvironments=="function"?(Me.recalculateEnvironments(),!0):!1},bt.startAnimation=function(){var Me=bt.getAppletObject();return Me&&typeof Me.startAnimation=="function"?(Me.startAnimation(),!0):!1},bt.stopAnimation=function(){var Me=bt.getAppletObject();return Me&&typeof Me.stopAnimation=="function"?(Me.stopAnimation(),!0):!1},bt.getAppletObject=function(){var Me=te.id!==void 0?te.id:"ggbApplet";return window[Me]},bt.resize=function(){};var Oe=function(Me,ke,Pt){var Gt=document.createElement("param");Gt.setAttribute("name",ke),Gt.setAttribute("value",Pt),Me.appendChild(Gt)},ge=function(Me){return Me&&Me!=="false"},it=function(Me,ke,Pt){ae(oe)<=4.2&&(Pt=!0);var Gt=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==oe||ggbHTML5LoadedCodebaseIsWebSimple&&!a)&&(Gt=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var mt=document.createElement("div");mt.classList.add("appletParameters","notranslate");var Jt=ke.width,Be=ke.height;if(ke.disableAutoScale=ke.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():ke.disableAutoScale,ke.width!==void 0)if(ae(oe)<=4.4)ge(ke.showToolBar)&&(ke.height-=7),ge(ke.showAlgebraInput)&&(ke.height-=37),ke.width<605&&ge(ke.showToolBar)&&(ke.width=605,Jt=605);else{var Xt=100;(ge(ke.showToolBar)||ge(ke.showMenuBar))&&(ke.hasOwnProperty("customToolBar")&&(ke.customToolbar=ke.customToolBar),Xt=ge(ke.showMenuBar)?245:155),Jt<Xt&&(ke.width=Xt,Jt=Xt)}mt.style.border="none",mt.style.display="inline-block";for(var pn in ke)ke.hasOwnProperty(pn)&&pn!=="appletOnLoad"&&mt.setAttribute("data-param-"+pn,ke[pn]);z&&mt.setAttribute("data-param-fontscssurl",z),bt.resize=function(){GGBAppletUtils.responsiveResize(Me,ke)},window.addEventListener("resize",function(Ee){bt.resize()});var St=typeof ke.appletOnLoad=="function"?ke.appletOnLoad:function(){};if(!Pt&&ke.width!==void 0){ke.hasOwnProperty("showSplash")||mt.setAttribute("data-param-showSplash","false");var ut=Me.querySelector(".applet_scaler.prerender"),Xe=ut!==null;if(Xe)var Ie=ut.querySelector(".ggb_preview");else{var Ie=qe(Jt,Be,ke.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=Be+"px"}window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(ut,"66%"),ae(oe)>=5?(ke.appletOnLoad=function(Ee){var _e=Me.querySelector(".ggb_preview");_e&&_e.parentNode.removeChild(_e),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(ut),window.GGBT_wsf_view&&$(window).trigger("resize"),St(Ee)},Xe||ut.appendChild(Ie)):mt.appendChild(Ie),ut.appendChild(mt),Xe||Me.appendChild(ut),setTimeout(function(){bt.resize()},1)}else{var he=document.createElement("div");he.className="applet_scaler",he.style.position="relative",he.style.display="block",he.appendChild(mt),Me.appendChild(he),ke.appletOnLoad=function(Ee){bt.resize(),St(Ee)}}function de(Ee,_e){_e&&typeof _e.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(Ee,_e.appletOnLoad):renderGGBElement(Ee),Dt("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",_e)}function Ne(Ee,_e){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:Ee,params:_e}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(Wt){de(Wt.article,Wt.params)}),html5AppletsToProcess=null)},ae(oe)<5&&(Ee.className+=" geogebraweb")):de(Ee,_e)}if(Gt){scriptLoadStarted=!0;for(var at=0;at<mt.childNodes.length;at++){var Se=mt.childNodes[at].tagName;Se==="TABLE"&&(mt.removeChild(mt.childNodes[at]),at--)}if(ggbHTML5LoadedScript!==null){var ve=document.querySelector('script[src="'+ggbHTML5LoadedScript+'"]');ve!=null&&ve.parentNode.removeChild(ve)}var et=document.createElement("script"),De=function(){Ne(mt,ke)};et.src=lt+y,ggbHTML5LoadedCodebaseIsWebSimple=a,ggbHTML5LoadedCodebaseVersion=oe,ggbHTML5LoadedScript=et.src,Dt("GeoGebra HTML5 codebase loaded: '"+lt+"'.",ke),!re&&(!Fe||Fe=="5.0")?(a?webSimple.succeeded=webSimple.succeeded||webSimple():web3d.succeeded=web3d.succeeded||web3d(),De()):lt.requirejs?__webpack_require__.e(7374).then(function(){var Ee=[__webpack_require__(97374)];De.apply(null,Ee)}.bind(this)).catch(__webpack_require__.oe):(et.onload=De,Me.appendChild(et))}else Ne(mt,ke);ke.height=Be,ke.width=Jt},Le=function(Me,ke,Pt){var Gt=qe(ke.width,ke.height,ke.borderColor,Pt),mt=document.createElement("div");mt.style.position="relative",mt.style.display="block",mt.style.width=ke.width+"px",mt.style.height=ke.height+"px",mt.className="applet_screenshot applet_scaler"+(Pt?" applet_screenshot_play":""),mt.appendChild(Gt);var Jt=GGBAppletUtils.getScale(ke,Me,Pt);Pt?(Me.appendChild(je()),window.GGBT_wsf_view||(Me.style.position="relative")):window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(mt,"66%"),Me.appendChild(mt),Jt!==1&&!isNaN(Jt)&&(GGBAppletUtils.scaleElement(mt,Jt),mt.style.width=ke.width+"px",mt.style.height=ke.height+"px",mt.parentNode.style.width=ke.width*Jt+"px",mt.parentNode.style.height=ke.height*Jt+"px"),bt.resize=function(){Ke(Me,Gt,mt,Pt)},window.addEventListener("resize",function(Be){bt.resize()}),bt.resize()};function Ke(Me,ke,Pt,Gt){if(Me.contains(ke)){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(Me.id!=="fullscreencontent")return;window.GGBT_wsf_view.setCloseBtnPosition(Me)}var mt=GGBAppletUtils.getScale(te,Me,Gt);Pt.parentNode!==null&&(!isNaN(mt)&&mt!==1?(GGBAppletUtils.scaleElement(Pt,mt),Pt.parentNode.style.width=te.width*mt+"px",Pt.parentNode.style.height=te.height*mt+"px"):(GGBAppletUtils.scaleElement(Pt,1),Pt.parentNode.style.width=te.width+"px",Pt.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()}}bt.onExitFullscreen=function(Me,ke){ke.appendChild(Me)};var ye=function(Me,ke,Pt,Gt){Le(Me,ke,!0);for(var mt=function(){var Xt=[];for(Be=0;Be<Me.childNodes.length;Be++)Xt.push(Me.childNodes[Be]);if(window.GGBT_wsf_view){var pn=window.GGBT_wsf_view.renderFullScreen(Me,ke.id),St=document.getElementById("fullscreencontainer"),ut=jQuery(Me).find(".fullscreencontent");ut.length>0?(pn.remove(),ut.attr("id","fullscreencontent").show(),jQuery(St).append(ut),window.dispatchEvent(new Event("resize"))):it(pn,ke,!1),window.GGBT_wsf_view.launchFullScreen(St)}else Te=Gt,it(Me,ke,!1);if(!window.GGBT_wsf_view)for(Be=0;Be<Xt.length;Be++)Me.removeChild(Xt[Be])},Jt=Me.getElementsByClassName("ggb_preview_play"),Be=0;Be<Jt.length;Be++)Jt[Be].addEventListener("click",mt,!1),Jt[Be].addEventListener("ontouchstart",mt,!1);typeof window.ggbAppletPlayerOnload=="function"&&window.ggbAppletPlayerOnload(Me),se()&&window.GGBT_wsf_view&&$(".wsf-element-fullscreen-button").remove()},je=function(){var Me=document.createElement("div");if(Me.className="ggb_preview_play icon-applet-play",!window.GGBT_wsf_view){var ke='.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");}',Pt=document.createElement("style");Pt.styleSheet?Pt.styleSheet.cssText=ke:Pt.appendChild(document.createTextNode(ke)),document.getElementsByTagName("head")[0].appendChild(Pt)}return Me},qe=function(Me,ke,Pt,Gt){var mt=document.createElement("div");mt.className="ggb_preview",mt.style.position="absolute",mt.style.zIndex="90",mt.style.width=Me-2+"px",mt.style.height=ke-2+"px",mt.style.top="0px",mt.style.left="0px",mt.style.overflow="hidden",mt.style.backgroundColor="white";var Jt="lightgrey";Pt!==void 0&&(Pt==="none"?Jt="transparent":Jt=Pt),mt.style.border="1px solid "+Jt;var Be=document.createElement("img");if(Be.style.position="relative",Be.style.zIndex="1000",Be.style.top="-1px",Be.style.left="-1px",b!==null&&Be.setAttribute("src",b),Be.style.opacity=.7,E!==null){var Xt,pn,St;if(!Gt){Xt=document.createElement("img"),Xt.style.position="absolute",Xt.style.zIndex="1001",Xt.style.opacity=1,Be.style.opacity=.3,pn=360,pn>Me/4*3&&(pn=Me/4*3),St=pn/5.8,Xt.setAttribute("src",E),Xt.setAttribute("width",pn),Xt.setAttribute("height",St);var ut=(Me-pn)/2,Xe=(ke-St)/2;Xt.style.left=ut+"px",Xt.style.top=Xe+"px",mt.appendChild(Xt)}}return mt.appendChild(Be),mt},$e=function(Me){return Me=Me.toLowerCase(),Me==="html5"||Me==="screenshot"?Me:"html5"},Ue=["web","webSimple","web3d","tablet","tablet3d","phone"],Rt=function(Me,ke){if(oe=Me,ke){Ye(oe,!0);return}var Pt=!ie;if(Pt){var Gt=ae(oe);!isNaN(Gt)&&Gt<4.4&&(Pt=!1)}var mt,Jt;window.location.protocol.substr(0,4)==="http"?mt=window.location.protocol:mt="http:";var Be=oe.indexOf("//");Be>0?Jt=oe:Be===0?Jt=mt+oe:Jt="https://www.geogebra.org/apps/5.2.814.0/";for(var Xt in Ue)if(oe.slice(Ue[Xt].length*-1)===Ue[Xt]||oe.slice((Ue[Xt].length+1)*-1)===Ue[Xt]+"/"){Ye(Jt,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&Pt&&!ee.is3D&&!ee.AV&&!ee.SV&&!ee.CV&&!ee.EV2&&!ee.CP&&!ee.PC&&!ee.DA&&!ee.FI&&!ee.PV&&!ge(te.showToolBar)&&!ge(te.showMenuBar)&&!ge(te.showAlgebraInput)&&!ge(te.enableRightClick)&&(!te.appName||te.appName=="classic")?Jt+="webSimple/":Jt+="web3d/",Ye(Jt,!1)},Ye=function(Me,ke){if(Me.requirejs){lt=Me;return}Me.slice(-1)!=="/"&&(Me+="/"),lt=Me,ke===null&&(ke=Me.indexOf("http")===-1),pt=ke,y="web.nocache.js",a=!1;var Pt=lt.split("/");Pt.length>1&&(!ke&&Pt[Pt.length-2]==="webSimple"?(y="webSimple.nocache.js",a=!0):Ue.indexOf(Pt[Pt.length-2])>=0&&(y=Pt[Pt.length-2]+".nocache.js")),Pt=Me.split("/"),oe=Pt[Pt.length-3],oe.substr(0,4)==="test"?oe=oe.substr(4,1)+"."+oe.substr(5,1):(oe.substr(0,3)==="war"||oe.substr(0,4)==="beta")&&(oe="5.0");var Gt=parseFloat(oe);Gt!==NaN&&Gt<5&&Me.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+Gt+" is deprecated. Using version latest instead."),Rt("5.0",ke))},Dt=function(Me,ke){window.console&&window.console.log&&(!ke||typeof ke.showLogging=="undefined"||ke.showLogging&&ke.showLogging!=="false")&&console.log(Me)};te.material_id!==void 0?ce(qt):qt();function qt(){var Me=It;Fe!==null?Me=Fe:parseFloat(Me)<5&&(Me="5.0"),Rt(Me,!1),re!==null&&Ye(re,pt),Ce=!0}return bt},GGBAppletUtils=function(){"use strict";function bt(){return window.GGBT_wsf_edit!==void 0}function It(Ce,Fe){Fe!=1?(Ce.style.transformOrigin="0% 0% 0px",Ce.style.webkitTransformOrigin="0% 0% 0px",Ce.style.transform="scale("+Fe+","+Fe+")",Ce.style.webkitTransform="scale("+Fe+","+Fe+")",Ce.style.maxWidth="initial",Ce.querySelector(".ggb_preview")!==null&&(Ce.querySelector(".ggb_preview").style.maxWidth="initial"),Ce.querySelectorAll(".ggb_preview img")[0]!==void 0&&(Ce.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),Ce.querySelectorAll(".ggb_preview img")[1]!==void 0&&(Ce.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(Ce.style.transform="none",Ce.style.webkitTransform="none")}function te(Ce,Fe,re,Je,Qe,Ze){var lt=null;if(Ze!=null&&Ze!="")for(var pt=Ce.parentNode;pt!=null;)if((" "+pt.className+" ").indexOf(" "+Ze+" ")>-1){lt=pt;break}else pt=pt.parentNode;var Te=0,oe=0,y=0,a=0,b=0,E=0,x=0;if(lt)Te=lt.offsetWidth,oe=Math.max(Je?lt.offsetWidth:0,lt.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(Te=Math.min(window.innerWidth,document.documentElement.clientWidth),oe=Math.min(window.innerHeight,document.documentElement.clientHeight),y=Te):(Te=window.innerWidth,oe=window.innerHeight,y=window.innerWidth),Ce){var z=Ce.getBoundingClientRect();z.left>0&&z.left<=Te&&(Qe===void 0||!Qe)&&(document.dir==="rtl"?(b=Te-z.width-z.left,E=y<=480?10:30):(E=z.left,b=y<=480?10:30),a=E+b)}if(Ce&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var ne=Ce.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(a=40,x=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(a=0,x=40)}}return Ce&&((re===void 0||!re)&&Fe>0&&Fe+a<Te?Te=Fe:Te-=a,typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(re===void 0||!re)&&(oe-=x)),{width:Te,height:oe}}function ee(Ce,Fe,re,Je,Qe){if(Ce.isScreenshoGenerator)return 1;var Ze=Je!==void 0&&Je,lt=Ce.noScaleMargin!=null&&Ce.noScaleMargin,pt=function(ne){return ne&&ne!=="false"},Te=pt(Ce.autoHeight),oe=te(Fe,Ce.width,re,Te,Ze&&window.GGBT_wsf_view||lt,Qe),y=parseInt(oe.width),a=Ce.width,b=Ce.height;if(a===void 0){var E=Fe.querySelector(".appletParameters");E&&(a=E.offsetWidth,b=E.offsetHeight)}var x=y/a,z=Ze?1:oe.height/b;return re!==void 0&&!re&&(x=Math.min(1,x),z=Math.min(1,z)),Math.min(x,z)}function ie(Ce,Fe,re){var Je=1,Qe,Ze=!1;if(Ce.hasOwnProperty("allowUpscale")&&(Ze=Ce.allowUpscale),Ce.hasOwnProperty("scale")&&(Je=parseFloat(Ce.scale),(isNaN(Je)||Je===null||Je===0)&&(Je=1),Je>1&&(Ze=!0)),Fe&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(Ze=!0),!(Ce.hasOwnProperty("disableAutoScale")&&Ce.disableAutoScale))Qe=ee(Ce,Fe,Ze,re,Ce.scaleContainerClass);else return Je;return Ze&&(!Ce.hasOwnProperty("scale")||Je===1)?Qe:Math.min(Je,Qe)}function Ae(Ce){var Fe=Math.min(window.innerWidth,document.documentElement.clientWidth),re=Math.min(window.innerHeight,document.documentElement.clientHeight),Je=Ce.getBoundingClientRect(),Qe=(Fe-Je.width)/2,Ze=(re-Je.height)/2;Ze<0&&(Ze=0),Ce.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(Qe<40?Ce.style.left="40px":Ce.style.left=Qe+"px",Ce.style.top=Ze+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(Ze<40?Ce.style.top="40px":Ce.style.top=Ze+"px",Ce.style.left=Qe+"px")}function Ge(Ce,Fe){var re=Ce.querySelector(".appletParameters");if(re){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(Fe.id!==re.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(Ce)}if(re.parentElement&&/fullscreen/.test(re.parentElement.className))return;var Je=ie(Fe,Ce);bt()&&re.setAttribute("data-param-scale",Je);for(var Qe=null,Ze=0;Ze<Ce.childNodes.length;Ze++)if(Ce.childNodes[Ze].className!==void 0&&Ce.childNodes[Ze].className.match(/^applet_scaler/)){Qe=Ce.childNodes[Ze];break}if(Qe!==null&&Qe.querySelector(".noscale")!==null)return;var lt=Fe.id!==void 0?Fe.id:"ggbApplet",pt=window[lt];(pt==null||!pt.recalculateEnvironments)&&Qe!==null&&!Qe.className.match(/fullscreen/)&&(Qe.parentNode.style.transform="",!isNaN(Je)&&Je!==1?(Qe.parentNode.style.width=Fe.width*Je+"px",Qe.parentNode.style.height=Fe.height*Je+"px",It(Qe,Je)):(It(Qe,1),Qe.parentNode.style.width=Fe.width+"px",Qe.parentNode.style.height=Fe.height+"px")),typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&Ae(Ce),window.GGBT_wsf_view&&!window.GGBT_wsf_view.isFullscreen()&&window.GGBT_wsf_general.adjustContentToResize($(re).parents(".content-added-content"))}}return{responsiveResize:Ge,isFlexibleWorksheetEditor:bt,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 bt=n.location.search;return bt.indexOf(J)!=-1||bt.indexOf(K)!=-1}function q(bt,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(bt){var It=s[L].bindings;s[L].bindings=function(){for(var te=It?It():{},ee=bt[webModule.__softPermutationId],ie=O;ie<ee.length;ie++){var Ae=ee[ie];te[Ae[O]]=Ae[P]}return te}};var t;function u(){return v(),t}function v(){if(!t){var bt=o.createElement(Q);if(bt.id=L,bt.style.cssText=R+S,bt.tabIndex=-1,o.body.appendChild(bt),t=bt.contentWindow.document,navigator.userAgent.indexOf(T)==-1){t.open();var It=document.compatMode==U?V:W;t.write(It+X),t.close()}}}function w(bt){function It(ee){function ie(){return typeof o.readyState==Y?typeof o.body!=Y&&o.body!=null:/loaded|complete/.test(o.readyState)}var Ae=ie();if(Ae){ee();return}function Ge(){if(!Ae){if(!ie())return;Ae=!0,ee(),o.removeEventListener&&o.removeEventListener(Z,Ge,!1),Ce&&clearInterval(Ce)}}o.addEventListener&&o.addEventListener(Z,Ge,!1);var Ce=setInterval(function(){Ge()},$)}function te(ee){var ie=u(),Ae=ie.body,Ge=ie.createElement(_);Ge.language=ab,Ge.crossOrigin=W,Ge.src=ee,webModule.__errFn&&(Ge.onerror=function(){webModule.__errFn(L,new Error(bb+ee))}),Ae.appendChild(Ge)}It(function(){te(bt)})}webModule.__startLoadingFragment=function(bt){return C(bt)},webModule.__installRunAsyncCode=function(bt){var It=u(),te=It.body,ee=It.createElement(_);ee.language=ab,ee.text=bt,te.appendChild(ee),te.removeChild(ee)};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(bt){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(bt){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(bt){var It=c[bt];return It==null?null:It},r=d,webModule.__errFn=e}function B(){function bt(Ce){var Fe=Ce.lastIndexOf(rb);Fe==-1&&(Fe=Ce.length);var re=Ce.indexOf(sb);re==-1&&(re=Ce.length);var Je=Ce.lastIndexOf(tb,Math.min(re,Fe));return Je>=O?Ce.substring(O,Je+P):W}function It(Ce){if(!Ce.match(/^\w+:\/\//)){var Fe=o.createElement(ub);Fe.src=Ce+vb,Ce=bt(Fe.src)}return Ce}function te(){var Ce=__gwt_getMetaProperty(wb);return Ce!=null?Ce:W}function ee(){for(var Ce=o.getElementsByTagName(_),Fe=O;Fe<Ce.length;++Fe)if(Ce[Fe].src.indexOf(xb)!=-1)return bt(Ce[Fe].src);return W}function ie(){var Ce=o.getElementsByTagName(yb);return Ce.length>O?Ce[Ce.length-P].href:W}function Ae(){var Ce=o.location;return Ce.href==Ce.protocol+zb+Ce.host+Ce.pathname+Ce.search+Ce.hash}var Ge=te();return Ge==W&&(Ge=ee()),Ge==W&&(Ge=ie()),Ge==W&&Ae()&&(Ge=bt(o.location.href)),Ge=It(Ge),Ge}function C(bt){return bt.match(/^\//)||bt.match(/^[a-zA-Z]+:\/\//)?bt:webModule.__moduleBase+bt}function D(){var bt=[],It=O,te=[],ee=[];function ie(Ce){var Fe=ee[Ce](),re=te[Ce];if(Fe in re)return Fe;var Je=[];for(var Qe in re)Je[re[Qe]]=Qe;throw r&&r(Ce,Je,Fe),null}if(__gwt_isKnownPropertyValue=function(Ce,Fe){return Fe in te[Ce]},webModule.__getPropMap=function(){var Ce={};for(var Fe in te)te.hasOwnProperty(Fe)&&(Ce[Fe]=ie(Fe));return Ce},webModule.__computePropValue=ie,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var Ae;try{Ae=Cb;var Ge=Ae.indexOf(Db);Ge!=-1&&(It=parseInt(Ae.substring(Ge+P),$),Ae=Ae.substring(O,Ge))}catch(Ce){}return webModule.__softPermutationId=It,C(Ae+Eb)}function F(){n.__gwt_stylesLoaded||(n.__gwt_stylesLoaded={})}A(),webModule.__moduleBase="/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})()},58788:function(bt,It,te){"use strict";te.d(It,{Ax:function(){return Ge},Ds:function(){return Ce},KI:function(){return re},SI:function(){return Ae},f1:function(){return ie}});var ee=te(10148);function ie(Je){let Qe=!0;if(Je.length>0){for(let Ze=0;Ze<Je.length;Ze++)if(Je[Ze].compile_success==0||!Je[Ze].compile_success){Qe=!1;break}}else Qe=!1;return Qe}function Ae(Je,Qe=""){let Ze=[];for(let lt=0;lt<Je.length;lt++){let pt=Je[lt],Te=Qe?`${Qe}/${pt.name}`:`${pt.name}`;Ze.push({title:pt.name,type:pt.type,isLeaf:pt.type!=="tree",key:Te})}return Ze}function Ge(Je,Qe,Ze){for(let lt=0;lt<Je.length;lt++){let pt=Je[lt];if(pt.key===Qe){pt.children=Ze;break}pt.children&&Ge(pt.children,Qe,Ze)}return Je}function Ce(Je,Qe,Ze){let lt;return function(){let pt=this,Te=arguments,oe=function(){lt=null,Ze||Je.apply(pt,Te)},y=Ze&&!lt;clearTimeout(lt),lt=setTimeout(oe,Qe),y&&Je.apply(pt,Te)}}const Fe=!0,re=ee.Z.API_SERVER},94964:function(bt,It,te){"use strict";te.d(It,{Z:function(){return E}});var ee=te(59301),ie=te(17574),Ae={folderWrapper:"folderWrapper___G__0a",folderIcon:"folderIcon___oTG6c"},Ge=te(73631),Ce=te(5623),Fe=te(2908),re=Object.defineProperty,Je=Object.defineProperties,Qe=Object.getOwnPropertyDescriptors,Ze=Object.getOwnPropertySymbols,lt=Object.prototype.hasOwnProperty,pt=Object.prototype.propertyIsEnumerable,Te=(x,z,ne)=>z in x?re(x,z,{enumerable:!0,configurable:!0,writable:!0,value:ne}):x[z]=ne,oe=(x,z)=>{for(var ne in z||(z={}))lt.call(z,ne)&&Te(x,ne,z[ne]);if(Ze)for(var ne of Ze(z))pt.call(z,ne)&&Te(x,ne,z[ne]);return x},y=(x,z)=>Je(x,Qe(z)),a=(x,z,ne)=>new Promise((ae,le)=>{var se=fe=>{try{be(ne.next(fe))}catch(Oe){le(Oe)}},ce=fe=>{try{be(ne.throw(fe))}catch(Oe){le(Oe)}},be=fe=>fe.done?ae(fe.value):Promise.resolve(fe.value).then(se,ce);be((ne=ne.apply(x,z)).next())}),E=({value:x,onChange:z,scrollId:ne})=>{const[ae,le]=(0,ee.useState)([]);(0,ee.useEffect)(()=>{se()},[]);const se=()=>a(void 0,null,function*(){const it=yield(0,Fe.NZ)({});if(it!=null&&it.data){const Le=[{title:"\u6839\u76EE\u5F55",value:0,key:0,icon:ee.createElement("img",{src:Ge,className:Ae.folderIcon}),isLeaf:!1,children:ce(it.data||[])}];le(Le)}}),ce=it=>it.map(Le=>({title:Le.name,key:Le.group_id,icon:ee.createElement("img",{src:Ge,className:Ae.folderIcon}),isLeaf:Le.children.length===0,children:ce(Le.children)})),be=(it,Le,Ke)=>it.map(ye=>ye.key===Le?oe(oe({},ye),Ke):ye.children?y(oe({},ye),{children:be(ye.children,Le,Ke)}):ye),fe=(it,Le,Ke)=>it.map(ye=>{if(ye.key===Le)return y(oe({},ye),{icon:Ke?ee.createElement("img",{src:Ce,className:Ae.folderIcon}):ee.createElement("img",{src:Ge,className:Ae.folderIcon})});if(ye.children)return y(oe({},ye),{children:fe(ye.children,Le,Ke)})}),Oe=(it,Le)=>{le(Ke=>fe(Ke,Le.node.key,Le.expanded))},ge=x?{selectedKeys:x,defaultExpandedKeys:x}:{};return ae.length>0&&ee.createElement("div",{id:ne||""},ee.createElement(ie.default,oe({showLine:{showLeafIcon:!1},showIcon:!0,treeData:ae,className:Ae.folderWrapper,onSelect:z,onExpand:Oe},ge)))}},12963:function(bt,It,te){"use strict";te.d(It,{Z:function(){return lt}});var ee=te(59301),ie={imageDimensions:"imageDimensions___a7crR",img:"img___Kroat",fullWidth:"fullWidth___c492T"},Ae=te(92310),Ge=te.n(Ae),Ce=te(71418),Fe=te(2859),re=te(70635),Je=te(58130),Qe=(pt,Te,oe)=>new Promise((y,a)=>{var b=z=>{try{x(oe.next(z))}catch(ne){a(ne)}},E=z=>{try{x(oe.throw(z))}catch(ne){a(ne)}},x=z=>z.done?y(z.value):Promise.resolve(z.value).then(b,E);x((oe=oe.apply(pt,Te)).next())}),lt=({data:pt,className:Te,fullWidth:oe,style:y={},onClose:a,onOk:b,showFullTools:E,noAssociationId:x})=>{const z=(0,ee.useRef)(null),ne=(0,ee.useRef)(null),ae=(0,ee.useRef)(null),le=(0,ee.useRef)(null),[se,ce]=(0,ee.useState)(!1),[be,fe]=(0,ee.useState)("\u6B63\u5728\u52A0\u8F7D\u4E2D");(0,ee.useEffect)(()=>{ae.current||(ae.current=document.createElement("style"),document.head.appendChild(ae.current)),pt!=null&&pt.visible?(document.body.setAttribute("data-custom","y-hidden"),ae.current.innerHTML=" html { overflow-y: hidden; }",pt!=null&&pt.src&&Oe()):(document.body.removeAttribute("data-custom"),ae.current&&(document.head.removeChild(ae.current),ae.current=null))},[pt==null?void 0:pt.visible]);const Oe=()=>Qe(void 0,null,function*(){ce(!0),fe("\u6B63\u5728\u52A0\u8F7D\u4E2D");const Ke=yield(0,Je.ZJ)(pt==null?void 0:pt.src);z.current.src="",z.current.src=Ke,z.current.onload=function(){Le()},ce(!1),fe("")}),ge=Ke=>Qe(void 0,null,function*(){ce(!0),fe("\u6B63\u5728\u4FDD\u5B58\u4E2D");const ye=yield(0,re.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:pt.title,file:Ke.dataUrl}});ye!=null&&ye.id&&!x?(yield(0,re.ZP)(`/api/attachments/${pt.id}/add_subitem.json`,{method:"post",body:{subitem_id:ye==null?void 0:ye.id,settings:JSON.stringify(Ke.state)}})).status===0&&b():ye!=null&&ye.id&&b(ye),ce(!1),fe("")}),it=()=>{const Ke=document.querySelector('a[href="https://markerjs.com/"]');Ke&&Ke.parentNode&&(Ke.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(je=>{const qe=document.querySelector(je.name);qe&&qe.setAttribute("title",je.title)})},Le=()=>{ne.current=new Fe.hP(z.current),ne.current.targetRoot=le.current,ne.current.addEventListener("render",ge),ne.current.addEventListener("beforeclose",a),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(),pt!=null&&pt.snapshotData&&ne.current.restoreState(pt.snapshotData),setTimeout(()=>{window.scrollTo(0,0),it()},300)};return ee.createElement(ee.Fragment,null,(pt==null?void 0:pt.visible)&&ee.createElement(Ce.Z,{spinning:se,tip:be,style:{position:"absolute"}},ee.createElement("div",{ref:le,className:Ge()(ie.imageDimensions,Te,oe?ie.fullWidth:""),style:y},ee.createElement("img",{className:ie.img,ref:z}))))}},71385:function(bt,It,te){"use strict";te.d(It,{Z:function(){return he},$:function(){return Ie}});var ee=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),Ge=te.n(Ae),Ce=te(78241),Fe=te(8591),re=te(43418),Je=te(5871),Qe=te(95237),Ze=te(24905),lt=te(38854),pt=te(54580),Te=te(3113),oe=te(93948),y=te(19842),a=te(92832),b=te(5112),E=te(6848),x=te(43604),z=te(78258),ne=te(10148),ae="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAAUCAYAAADC1B7dAAAAAXNSR0IArs4c6QAABk1JREFUWEd1lwlsVkUQx3/7ClGMSMSrHCKXHCpQhYhCNB5AYqRQGq1AiKgEEAiokAJFFIoipcVE5EYFyn23IGCJgoTDQimWSJSzCIKIcglUEIGu2bdv3+77vo+XfPl2Z2Zn5z8zuzsjSPDJ0tZV2ftfGog0BG0Q1AbuRABCgJDBvxorWqDE5xkZh+4porNGjRXNyKvlMuCbf2OXDPRIWYHnnQJKqaSQOimFos3s67HmG1NCupzxWDcgD2Qjf0P1qT/fqGAcGh4Yb4x1ZZSsCySy3oAV4LnOCByi9Pl7CQ00HPvIDb0cz8sUqSUFLqgQkJRjPCavzEFUZoaecz2oNjYAjXGJgEQi5Bio1kYiZYDEOEt5z4+ecZ4D2I2kGePl0eWlkUJkVxp/+yvkp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te(1751),it=te(34571),Le=te(56701),Ke=te(15342),ye=te.n(Ke),je=(de,Ne,at)=>new Promise((Se,ve)=>{var et=_e=>{try{Ee(at.next(_e))}catch(Wt){ve(Wt)}},De=_e=>{try{Ee(at.throw(_e))}catch(Wt){ve(Wt)}},Ee=_e=>_e.done?Se(_e.value):Promise.resolve(_e.value).then(et,De);Ee((at=at.apply(de,Ne)).next())}),$e=ee.memo(({tagName:de="div",value:Ne="",className:at,style:Se={},onBlur:ve,id:et})=>{const De=(0,ee.useRef)(null);(0,ee.useEffect)(()=>{if(!De.current)return;je(void 0,null,function*(){const Wt=De.current;Wt.innerHTML="";const ht=Ne==null?void 0:Ne.split(/(`?\$\$[\s\S]*?\$\$`?)/g);for(const Tt of ht)if(Tt.startsWith("$$")&&Tt.endsWith("$$")||Tt.startsWith("`$$")&&Tt.endsWith("$$`")){const Mt=Tt.startsWith("`$$")?Tt.slice(3,-3):Tt.slice(2,-2),Zt=document.createElement("span");Zt.setAttribute("contentEditable","false"),Zt.setAttribute("title",Tt),Zt.className="edu_latex",Wt.appendChild(Zt),ye().render(Mt,Zt,{throwOnError:!1})}else{const Mt=Tt==null?void 0:Tt.replace(/<[^>]*>/g,Zt=>Zt.startsWith("<img")?Zt:Zt.replace(/</g,"&lt;"));Wt.insertAdjacentHTML("beforeend",Mt)}})},[et]);const Ee=()=>{var _e,Wt;if(ve&&De.current){const Tt=De.current.cloneNode(!0),Mt=Tt.querySelectorAll("span.edu_latex");for(let Zt of Mt){const xe=Zt.getAttribute("title"),dt=document.createTextNode(xe||""),vt=Zt;(Wt=(_e=vt.parentNode)==null?void 0:_e.replaceChild)==null||Wt.call(_e,dt,vt)}ve(Tt.innerHTML)}};return ee.createElement(ee.Fragment,null,ee.createElement(de,{ref:De,contentEditable:!0,className:at,style:Se,onBlur:Ee}))}),Ue=te(2119),Rt=te(86766),Ye=Object.defineProperty,Dt=Object.defineProperties,qt=Object.getOwnPropertyDescriptors,Me=Object.getOwnPropertySymbols,ke=Object.prototype.hasOwnProperty,Pt=Object.prototype.propertyIsEnumerable,Gt=(de,Ne,at)=>Ne in de?Ye(de,Ne,{enumerable:!0,configurable:!0,writable:!0,value:at}):de[Ne]=at,mt=(de,Ne)=>{for(var at in Ne||(Ne={}))ke.call(Ne,at)&&Gt(de,at,Ne[at]);if(Me)for(var at of Me(Ne))Pt.call(Ne,at)&&Gt(de,at,Ne[at]);return de},Jt=(de,Ne)=>Dt(de,qt(Ne)),Be=(de,Ne,at)=>new Promise((Se,ve)=>{var et=_e=>{try{Ee(at.next(_e))}catch(Wt){ve(Wt)}},De=_e=>{try{Ee(at.throw(_e))}catch(Wt){ve(Wt)}},Ee=_e=>_e.done?Se(_e.value):Promise.resolve(_e.value).then(et,De);Ee((at=at.apply(de,Ne)).next())});const Xt=de=>{de.preventDefault();let at=(de.clipboardData||window.clipboardData).getData("Text");document.execCommand("insertText",!1,at)},pn=de=>{de.key==="Enter"&&de.preventDefault()},St=({children:de,style:Ne})=>ee.createElement("div",{className:ie.leftBox,style:Ne,onPaste:Xt},de),ut=({children:de,style:Ne,className:at})=>ee.createElement("div",{className:Ge()(ie.rightBox,at),style:Ne,onPaste:Xt},de),Xe=({className:de,style:Ne={},width:at=1200,onCancel:Se=()=>{},onSuccess:ve=()=>{},gather:et={},mode:De=1,stickyTop:Ee=0,subDisciplineId:_e=[],hideWordFeatures:Wt,dataSource:ht=[],customLeftHeadNode:Tt,customRightHeadNode:Mt,customLeftContent:Zt,hideRecognition:xe=!1,onExchange:dt,isSingleSelection:vt=!1,underpinBackgroundStyle:ft={},headExtraNode:Nt,isRefreshItemBank:Vt=!1,okText:nn="\u786E\u5B9A\u5BFC\u5165"})=>{var an;const[Sn,On]=(0,ee.useState)(1),[Lt,Ct]=(0,ee.useState)(0),[Ut,cn]=(0,ee.useState)(""),[sn,Nn]=(0,ee.useState)(!1),[nt,Bt]=(0,ee.useState)([]),[Qt,yn]=(0,ee.useState)([]),[Pe,Ve]=(0,ee.useState)(!1),[st,gt]=(0,ee.useState)(!1),[xt,$t]=(0,ee.useState)(!1),[Ft,ze]=(0,ee.useState)(!1),[We,Re]=(0,ee.useState)([]),[ct,jt]=(0,ee.useState)(1),[Ot,vn]=(0,ee.useState)(!1),[fn,en]=(0,ee.useState)(!1),[xn,Qn]=(0,ee.useState)(!0),[on,Un]=(0,ee.useState)(0),[$n,ca]=(0,ee.useState)(1),[qn,tt]=(0,ee.useState)(""),[zt,yt]=(0,ee.useState)([]),[_t,dn]=(0,ee.useState)(0),[hn,un]=(0,ee.useState)(0),[ln,Wn]=(0,ee.useState)(0),[Xn,Kt]=(0,ee.useState)(0),[aa,ya]=(0,ee.useState)(0),[Ca]=Ce.default.useForm(),[pa]=Ce.default.useForm(),Fn=(0,ee.useRef)(null),Tn=(0,ee.useRef)(null),Vn=(0,ee.useRef)(),Ln=["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"],na=["C","C++","Java","Python","JavaScript","Ruby"];(0,ee.useEffect)(()=>{ht!=null&&ht.length&&ia(ht)},[ht]),(0,ee.useEffect)(()=>{Sn===2&&Fn.current.focus()},[Sn]),(0,ee.useEffect)(()=>{xt&&da()},[xt]);const ha=()=>{if(Sn===1){Fe.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:()=>Be(void 0,null,function*(){On(1)})})},da=()=>Be(void 0,null,function*(){const pe=yield(0,be.ZP)("/api/disciplines.json",{method:"get",params:{source:De===1?"new_question":"subject"}});Re(pe.disciplines||[])}),Ba=pe=>{const kt=[],rn=(Cn,Ht)=>{Cn.length>=2&&kt.push(Cn.join(""));for(let Dn=Ht;Dn<pe.length;Dn++)Cn.push(pe[Dn]),rn(Cn,Dn+1),Cn.pop()};return rn([],0),kt},oa=pe=>(pe=pe||"",pe=String(pe),pe=pe.replace(/\s+/g,""),pe),Ma=pe=>(pe=pe||"",pe=String(pe),pe=pe.replace(/<div>/g,""),pe=pe.replace(/<br>/g,`
`),pe=pe.replace(/<\/div>/g,`
`),pe=fo(pe),pe),eo=pe=>pe.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#39;"),fo=pe=>pe.replace(/&lt;/g,"<").replace(/&gt;/g,">").replace(/&amp;/g,"&").replace(/&quot;/g,'"').replace(/&#39;/g,"'"),ja=pe=>{var kt;const rn=pe.clipboardData;if(rn){const Cn=rn.types.toString(),Ht=rn.items;if(Cn==="Files"||rn.types.indexOf("Files")>-1){pe.preventDefault();try{let Dn=Ht[1];((kt=Ht[0])==null?void 0:kt.kind)==="file"&&(Dn=Ht[0]);const Pn=Dn.getAsFile();(0,Le.I)(Pn,mn=>{var En;if(mn.id){if(((En=Pn==null?void 0:Pn.type)==null?void 0:En.indexOf("image"))>-1){const bn=`<img src='${ne.Z.API_SERVER}${mn.url}'>`;document.execCommand("insertText",!1,bn)}}else(mn==null?void 0:mn.status)===401&&(document.location.href="/user/login")})}catch(Dn){Fe.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};function Da(pe,kt){return Be(this,null,function*(){if(typeof pe=="string")return yield kt(pe);if(typeof pe!="object"||pe===null)return pe;if(Array.isArray(pe))return yield Promise.all(pe.map(Ht=>Be(this,null,function*(){return yield Da(Ht,kt)})));const rn={};for(const Cn in pe)if(Object.prototype.hasOwnProperty.call(pe,Cn)){const Ht=pe[Cn];typeof Ht=="string"?rn[Cn]=yield kt(Ht):typeof Ht=="object"?rn[Cn]=yield Da(Ht,kt):rn[Cn]=Ht}return rn})}const Xa=()=>Be(void 0,null,function*(){var pe;Nn(!0),cn("\u5904\u7406\u4E2D"),yield new Promise(Cn=>setTimeout(Cn,1e3));let kt=(pe=Tn.current)==null?void 0:pe.querySelectorAll('[data-text="edit"]'),rn="";try{kt.forEach(function(Cn){var Ht,Dn,Pn,mn;const En=Cn.cloneNode(!0),bn=En.querySelectorAll("span.edu_latex");for(let Hn of bn){const zn=Hn.getAttribute("title"),Ha=document.createTextNode(zn),wa=Hn;(Dn=(Ht=wa.parentNode)==null?void 0:Ht.replaceChild)==null||Dn.call(Ht,Ha,wa)}const Mn=En.querySelectorAll("span[style]");for(let Hn of Mn)if(Hn.style.fontFamily){const zn=Hn.innerHTML,Ha=document.createTextNode(zn),wa=Hn;(mn=(Pn=wa.parentNode)==null?void 0:Pn.replaceChild)==null||mn.call(Pn,Ha,wa)}En==null||En.childNodes.forEach(function(Hn){Hn.nodeType===Node.ELEMENT_NODE&&Hn.localName!=="h5"&&Hn.localName!=="h4"?rn+=`<p>${Hn.innerHTML}</p>`:Hn.nodeType===Node.TEXT_NODE&&(rn+=`<p>${Hn.textContent}</p>`)})}),In("/api/intelligent_imports/import.json",{html:fo(rn)})}catch(Cn){console.error("\u5904\u7406\u8282\u70B9\u9519\u8BEF:",Cn)}}),ka=pe=>{let kt=pe.filter(rn=>!!(rn!=null&&rn.type));return kt=kt.map(rn=>{var Cn;const Ht=(Cn=Mo.find(Pn=>Pn.id===(rn==null?void 0:rn.type)))==null?void 0:Cn.deal,Dn=Jt(mt({},rn),{id:String(Math.random()).slice(-6),knowledgePoint:oa(rn==null?void 0:rn.knowledgePoint)});return Ht?Ht(Dn):Dn}),kt},Ga=()=>{if(Sn===1){Fe.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:Xa})},Na=()=>ee.createElement("div",{className:ie.row},ee.createElement("div",{className:ie.leftLayout},ee.createElement(St,{style:{height:675}},Sn===1&&ee.createElement("div",{style:{height:"100%",display:"flex",flexDirection:"column",alignItems:"center"},onClick:()=>On(2)},ee.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",ee.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",ee.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",ee.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",ee.createElement("br",null)),ee.createElement("div",{className:ie.imgBox,style:{marginTop:75}},ee.createElement("img",{width:56,src:le}),ee.createElement("span",null,"\u7F16\u8F91\u533A"))),Sn===2&&ee.createElement("div",{"data-text":"edit",onBlur:()=>{Fn.current.innerHTML||On(1)},ref:Fn,contentEditable:!0,style:{color:"#9096A3",height:"100%",overflow:"auto"}}))),ee.createElement("div",{className:ie.rightLayout,style:{display:"flex",alignItems:"start",justifyContent:"center"}},ee.createElement("div",{className:ie.imgBox,style:{marginTop:240}},ee.createElement("img",{width:56,src:se}),ee.createElement("span",null,"\u9884\u89C8\u533A")))),_n=(pe,kt,rn,Cn)=>{var Ht;console.log(pe,kt,rn,Cn,"onDataChange\u4FEE\u6539\u6570\u503C");const Dn=JSON.parse(JSON.stringify(Qt));Cn===void 0?Dn[kt][pe]=rn:Dn[kt].questions[Cn][pe]=rn;const Pn=mt({},Dn[kt]),mn=(Ht=Mo.find(En=>En.id===(Pn==null?void 0:Pn.type)))==null?void 0:Ht.deal;Dn[kt]=mn(Pn),yn(Dn)},Za=(pe,kt,rn)=>{var Cn;const Ht=rn!==void 0,Dn=(Cn=Mo.find(En=>En.id===(pe==null?void 0:pe.type)))==null?void 0:Cn.type,Pn=`${kt+1}.${rn===void 0?"":rn+1+"."}`,mn=`${(pe==null?void 0:pe.type)==="7"?"{{":""}${Pn}\u3010${Dn}\u3011${(pe==null?void 0:pe.question)||""}`;return ee.createElement(ee.Fragment,null,Ht&&ee.createElement("h4",{contentEditable:!0}),ee.createElement($e,{id:pe==null?void 0:pe.id,tagName:"div",value:mn}))},uo=(pe,kt)=>Be(void 0,null,function*(){var rn;const Cn=yield dt(pe,kt),Ht=(rn=Cn==null?void 0:Cn.data)==null?void 0:rn.content;if(Ht!=null&&Ht.length){const Dn=ka(Ht)[0];nt.splice(kt,1,Dn),Qt.splice(kt,1,Dn),Bt([...nt]),yn([...Qt])}}),za=(pe,kt,rn)=>{var Cn;const Ht=rn!==void 0,Dn=(Cn=Mo.find(mn=>mn.id===(pe==null?void 0:pe.type)))==null?void 0:Cn.type,Pn=`${kt+1}.${rn===void 0?"":rn+1+"."}`;return Ht?ee.createElement("div",{style:{padding:"10px 18px"}},`${Pn}\u3010${Dn}\u3011`,ee.createElement($e,{id:pe==null?void 0:pe.id,tagName:"span",className:ie.edit,onBlur:mn=>_n("question",kt,mn,rn),value:(pe==null?void 0:pe.question)||""})):ee.createElement(ee.Fragment,null,ee.createElement("div",{className:ie.actionHead},ee.createElement("div",{className:"c-light-primary"},`${Pn}\u3010${Dn}\u3011`),De!==1&&ee.createElement(Je.Z,{disabled:(pe==null?void 0:pe.type)==="7",min:0,max:100,style:{width:100,marginLeft:10},addonAfter:"\u5206",precision:1,size:"middle",onChange:mn=>_n("score",kt,mn,rn),value:pe==null?void 0:pe.score}),ee.createElement(Qe.Z,{align:"middle",style:{marginLeft:"auto"}},!!dt&&ee.createElement("span",{className:"current c-light-primary mr30",onClick:()=>uo(pe,kt)},ee.createElement("i",{className:"iconfont icon-huanyihuan mr5"}),"\u6362\u4E00\u6362"),ee.createElement(Ze.default,{onChange:mn=>_n("checked",kt,mn.target.checked,rn),checked:!!(pe!=null&&pe.checked)},"\u4E0D\u5BFC\u5165\u6B64\u9898"))),ee.createElement($e,{id:pe==null?void 0:pe.id,tagName:"div",style:{padding:"10px 18px"},className:ie.edit,onBlur:mn=>_n("question",kt,mn,rn),value:pe==null?void 0:pe.question}))},to=(pe,kt,rn)=>ee.createElement(ee.Fragment,null,["0","1","2","4"].includes(pe==null?void 0:pe.type)&&ee.createElement($e,{id:pe==null?void 0:pe.id,value:`\u7B54\u6848\uFF1A${kt||""}`,tagName:"p"}),!rn&&ee.createElement($e,{id:pe==null?void 0:pe.id,value:`\u96BE\u5EA6\uFF1A${(pe==null?void 0:pe.difficulty)||""}`,tagName:"p"}),(pe==null?void 0:pe.type)!=="7"&&ee.createElement($e,{id:pe==null?void 0:pe.id,value:`\u89E3\u6790\uFF1A${(pe==null?void 0:pe.analyze)||""}`,tagName:"p"}),!rn&&ee.createElement($e,{id:pe==null?void 0:pe.id,value:`\u77E5\u8BC6\u70B9\uFF1A${(pe==null?void 0:pe.knowledgePoint)||""}`,tagName:"p"})),lo=(pe,kt,rn,Cn)=>{const Ht=Cn!==void 0,Dn=["\u7B80\u5355","\u9002\u4E2D","\u56F0\u96BE"],Pn=Ht&&!pe.last&&!pe.errorMsg?{marginBottom:10}:{},mn=Dn.map(En=>({key:En,label:En,onClick:()=>_n("difficulty",rn,En,Cn)}));return ee.createElement("div",{className:ie.liWrap,style:Pn},["4"].includes(pe==null?void 0:pe.type)&&ee.createElement("div",{className:ie.li},ee.createElement("aside",null,"\u7B54\xA0\xA0\xA0\xA0\u6848\uFF1A"),ee.createElement($e,{id:pe==null?void 0:pe.id,tagName:"div",className:`${ie.edit} c-black`,onBlur:En=>_n("answer",rn,[En],Cn),value:kt})),!Ht&&ee.createElement("div",{className:ie.li},ee.createElement("aside",null,"\u96BE\xA0\xA0\xA0\xA0\u5EA6\uFF1A"),ee.createElement("div",{className:"c-black"},ee.createElement(lt.Z,{menu:{items:mn}},ee.createElement("span",{className:"c-light-primary"},pe==null?void 0:pe.difficulty,ee.createElement("i",{className:"iconfont icon-a-bianzu11 font14 ml4"}))))),(pe==null?void 0:pe.type)!=="7"&&ee.createElement("div",{className:ie.li},ee.createElement("aside",null,"\u89E3\xA0\xA0\xA0\xA0\u6790\uFF1A"),ee.createElement($e,{id:pe==null?void 0:pe.id,tagName:"div",className:`${ie.edit} c-grey-333`,onBlur:En=>_n("analyze",rn,En,Cn),value:pe==null?void 0:pe.analyze})),!Ht&&ee.createElement("div",{onKeyDown:pn,className:ie.li},ee.createElement("aside",null,"\u77E5\u8BC6\u70B9\uFF1A"),ee.createElement($e,{id:pe==null?void 0:pe.id,tagName:"div",value:(pe==null?void 0:pe.knowledgePoint)||"",className:`${ie.edit} c-grey-333`,onBlur:En=>_n("knowledgePoint",rn,oa(Ma(En)),Cn)})))},ua=pe=>ee.createElement(ee.Fragment,null,typeof(pe==null?void 0:pe.errorMsg)=="string"&&!!(pe!=null&&pe.errorMsg)&&ee.createElement("h5",{contentEditable:!1},ee.createElement("i",{className:"iconfont icon-shanchuhuanjing"}),ee.createElement("div",null,pe==null?void 0:pe.errorMsg))),Ka=pe=>ee.createElement(ee.Fragment,null,typeof(pe==null?void 0:pe.errorMsg)=="string"&&!!(pe!=null&&pe.errorMsg)&&ee.createElement("h5",null,ee.createElement("i",{className:"iconfont icon-shanchuhuanjing"}),ee.createElement("div",null,pe==null?void 0:pe.errorMsg))),Aa=(pe,kt,rn,Cn)=>{let Ht="flex";return(vt&&on!==Cn||Pe&&!(rn!=null&&rn.errorMsg))&&(Ht="none"),ee.createElement("div",{className:ie.row,style:{display:Ht}},ee.createElement("div",{className:ie.leftLayout},Zt||ee.createElement(St,null,ee.createElement("div",{"data-text":"edit",contentEditable:!0,className:ie.question},pe))),ee.createElement("div",{className:ie.rightLayout},ee.createElement(ut,{className:rn!=null&&rn.errorMsg?ie.error:""},kt)))},Mo=[{id:"0",type:"\u5355\u9009\u9898",element:(pe,kt,rn)=>{var Cn,Ht;const Dn=rn!==void 0;let Pn=(Cn=pe==null?void 0:pe.answer)==null?void 0:Cn[0];const mn=ee.createElement(ee.Fragment,null,Za(pe,kt,rn),(Ht=pe==null?void 0:pe.options)==null?void 0:Ht.map((Hn,zn)=>ee.createElement($e,{id:pe==null?void 0:pe.id,key:zn,value:`${Ln[zn]}.${Hn}`,tagName:"p"})),to(pe,Pn,Dn),ua(pe));let En=Dn?pe:Qt[kt];const bn=En==null?void 0:En.options,Mn=ee.createElement(ee.Fragment,null,za(En,kt,rn),bn==null?void 0:bn.map((Hn,zn)=>{var Ha;return ee.createElement("div",{key:zn,className:ie.option},ee.createElement("aside",{className:((Ha=En==null?void 0:En.answer)==null?void 0:Ha[0])===Ln[zn]?ie.active:"",onClick:()=>_n("answer",kt,[Ln[zn]],rn)},Ln[zn]),ee.createElement($e,{id:En==null?void 0:En.id,tagName:"div",className:`${ie.text}`,onBlur:wa=>{bn[zn]=wa,_n("options",kt,bn,rn)},value:Hn}))}),lo(En,"",kt,rn),Ka(En));return Dn?[mn,Mn]:Aa(mn,Mn,En,kt)},deal:pe=>{var kt,rn,Cn;pe.score=pe.score===void 0?2:pe.score;let Ht=oa((kt=pe==null?void 0:pe.answer)==null?void 0:kt[0]).toUpperCase();pe.answer=Ht?[Ht]:[];let Dn=[];if(!(pe!=null&&pe.options))Dn.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{pe.options=(rn=pe.options)==null?void 0:rn.slice(0,8);const Pn=pe.options.map(En=>En==null?void 0:En.trim().replace(/^\s+|\s+$/g,""));new Set(Pn).size!==Pn.length&&Dn.push("\u9009\u9879\u5185\u5BB9\u91CD\u590D")}return Ht||Dn.push("\u672A\u8BC6\u522B\u5230\u7B54\u6848\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u201C \u7B54\u6848\uFF1AA \u201D"),Ht&&(Ln.slice(0,((Cn=pe==null?void 0:pe.options)==null?void 0:Cn.length)||8).includes(Ht)||Dn.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")),oa(pe==null?void 0:pe.question)||Dn.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),pe.errorMsg=Dn.join(`
`),pe}},{id:"1",type:"\u591A\u9009\u9898",element:(pe,kt,rn)=>{var Cn,Ht;const Dn=rn!==void 0;let Pn=(Cn=pe==null?void 0:pe.answer)==null?void 0:Cn[0];const mn=ee.createElement(ee.Fragment,null,Za(pe,kt,rn),(Ht=pe==null?void 0:pe.options)==null?void 0:Ht.map((Hn,zn)=>ee.createElement($e,{id:pe==null?void 0:pe.id,key:zn,value:`${Ln[zn]}.${Hn}`,tagName:"p"})),to(pe,Pn,Dn),ua(pe));let En=Dn?pe:Qt[kt];const bn=En==null?void 0:En.options,Mn=ee.createElement(ee.Fragment,null,za(En,kt,rn),bn==null?void 0:bn.map((Hn,zn)=>{var Ha,wa;return ee.createElement("div",{key:zn,className:ie.option},ee.createElement("aside",{className:(wa=(Ha=En==null?void 0:En.answer)==null?void 0:Ha[0])!=null&&wa.includes(Ln[zn])?ie.active:"",onClick:()=>{var $a;let io=(($a=En==null?void 0:En.answer)==null?void 0:$a[0])||"";const wo=Ln[zn];io.includes(wo)?io=io.replace(new RegExp(wo,"g"),""):io+=wo,io=io.split("").sort().join(""),_n("answer",kt,[io],rn)}},Ln[zn]),ee.createElement($e,{id:En==null?void 0:En.id,tagName:"div",className:`${ie.text}`,onBlur:$a=>{bn[zn]=$a,_n("options",kt,bn,rn)},value:Hn}))}),lo(En,"",kt,rn),Ka(En));return Dn?[mn,Mn]:Aa(mn,Mn,En,kt)},deal:pe=>{var kt,rn,Cn;pe.score=pe.score===void 0?2:pe.score;let Ht=oa((kt=pe==null?void 0:pe.answer)==null?void 0:kt[0]).toUpperCase().split("").sort().join("");pe.answer=Ht?[Ht]:[];let Dn=[];if(!(pe!=null&&pe.options))Dn.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{pe.options=(rn=pe.options)==null?void 0:rn.slice(0,8);const Pn=pe.options.map(En=>En==null?void 0:En.trim().replace(/^\s+|\s+$/g,""));new Set(Pn).size!==Pn.length&&Dn.push("\u9009\u9879\u5185\u5BB9\u91CD\u590D")}if(Ht||Dn.push("\u672A\u8BC6\u522B\u5230\u7B54\u6848\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u201C \u7B54\u6848\uFF1AAB \u201D"),Ht){const Pn=Ln.slice(0,((Cn=pe==null?void 0:pe.options)==null?void 0:Cn.length)||8);Ba(Pn).includes(Ht)||Dn.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 oa(pe==null?void 0:pe.question)||Dn.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),pe.errorMsg=Dn.join(`
`),pe}},{id:"2",type:"\u5224\u65AD\u9898",element:(pe,kt,rn)=>{var Cn,Ht;const Dn=rn!==void 0;let Pn=(Cn=pe==null?void 0:pe.answer)==null?void 0:Cn[0];const mn=ee.createElement(ee.Fragment,null,Za(pe,kt,rn),to(pe,Pn,Dn),ua(pe));let En=Dn?pe:Qt[kt];const bn=["\u6B63\u786E","\u9519\u8BEF"];let Mn=((Ht=En==null?void 0:En.answer)==null?void 0:Ht[0])||"";["\u6B63\u786E","\u5BF9","T","True","t","true"].includes(Mn)?Mn="\u6B63\u786E":["\u9519\u8BEF","\u9519","T","true","t","false"].includes(Mn)&&(Mn="\u9519\u8BEF");const Hn=ee.createElement(ee.Fragment,null,za(En,kt,rn),bn==null?void 0:bn.map((zn,Ha)=>ee.createElement("div",{key:Ha,className:ie.option},ee.createElement("aside",{style:{borderRadius:2},className:Mn===zn?ie.active:"",onClick:()=>_n("answer",kt,[zn],rn)},zn==="\u6B63\u786E"?"T":"F"),ee.createElement("div",{style:{pointerEvents:"none"},className:`${ie.text}`},zn))),lo(En,"",kt,rn),Ka(En));return Dn?[mn,Hn]:Aa(mn,Hn,En,kt)},deal:pe=>{var kt;pe.score=pe.score===void 0?2:pe.score;let rn=oa((kt=pe==null?void 0:pe.answer)==null?void 0:kt[0]);pe.answer=rn?[rn]:[];let Cn=[];return rn||Cn.push("\u672A\u8BC6\u522B\u5230\u7B54\u6848\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u201C \u7B54\u6848\uFF1A\u9519\u8BEF\u201D"),rn&&!["\u6B63\u786E","\u5BF9","T","True","t","true","\u9519\u8BEF","\u9519","T","true","t","false"].includes(rn)&&Cn.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"),oa(pe==null?void 0:pe.question)||Cn.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),pe.errorMsg=Cn.join(`
`),pe}},{id:"3",type:"\u586B\u7A7A\u9898",element:(pe,kt,rn)=>{var Cn,Ht;const Dn=rn!==void 0,Pn=ee.createElement(ee.Fragment,null,Za(pe,kt,rn),(Cn=pe==null?void 0:pe.answer)==null?void 0:Cn.map((bn,Mn)=>ee.createElement($e,{id:pe==null?void 0:pe.id,key:Mn,tagName:"p",value:`\u7B54\u6848${Mn+1}\uFF1A${bn.text||""}`})),to(pe,"",Dn),ua(pe));let mn=Dn?pe:Qt[kt];const En=ee.createElement(ee.Fragment,null,za(mn,kt,rn),(Ht=mn==null?void 0:mn.answer)==null?void 0:Ht.map((bn,Mn)=>ee.createElement("div",{key:Mn,className:ie.option},ee.createElement("aside",{className:ie.fill},"\u586B\u7A7A\u9879",Mn+1),bn.model===1&&ee.createElement($e,{id:mn==null?void 0:mn.id,tagName:"div",onBlur:Hn=>{mn.answer[Mn].latex=Ma(Hn),_n("answer",kt,mn.answer,rn)},className:`${ie.text}`,value:bn.latex}),bn.model===2&&ee.createElement(it.Z,{value:bn.latex,onChange:Hn=>{mn.answer[Mn].latex=Hn,_n("answer",kt,mn.answer,rn)}}))),lo(mn,"",kt,rn),Ka(mn));return Dn?[Pn,En]:Aa(Pn,En,mn,kt)},deal:pe=>{var kt,rn,Cn,Ht;pe.score=pe.score===void 0?2:pe.score,pe.question=(kt=pe.question)==null?void 0:kt.replaceAll("\u2581","_");const Dn=(rn=pe.answer)==null?void 0:rn.map(mn=>{if(Object.prototype.toString.call(mn)==="[object Object]")return mn;const En={model:1,text:mn,latex:mn};return mn.startsWith("$$")&&mn.endsWith("$$")||mn.startsWith("`$$")&&mn.endsWith("$$`")?(En.model=2,En.latex=mn.slice(2,-2)):En.latex=Ma(mn),En});pe.answer=Dn;let Pn=[];return Dn||Pn.push("\u672A\u8BC6\u522B\u5230\u7B54\u6848\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u7B54\u68481\uFF1A\u4E2D\u56FD\uFF1B\u7B54\u68482\uFF1A\u4E16\u754C"),oa(pe==null?void 0:pe.question)?pe!=null&&pe.question.includes("_")?(Cn=pe==null?void 0:pe.answer)!=null&&Cn.length&&((pe==null?void 0:pe.question.match(/_+/g))||[]).length!==((Ht=pe==null?void 0:pe.answer)==null?void 0:Ht.length)&&Pn.push("\u586B\u7A7A\u9879\u4E0E\u7B54\u6848\u4E2A\u6570\u4E0D\u5339\u914D\uFF0C\u8BF7\u8FDB\u884C\u8C03\u6574"):Pn.push("\u586B\u7A7A\u9879\u672A\u8BBE\u7F6E\uFF0C\u8BF7\u4F7F\u7528\u82F1\u6587\u4E0B\u5212\u7EBF\u201C___\u201D\u8868\u793A\u586B\u7A7A\u9879"):Pn.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),pe.errorMsg=Pn.join(`
`),pe}},{id:"4",type:"\u7B80\u7B54\u9898",element:(pe,kt,rn)=>{var Cn,Ht;const Dn=rn!==void 0;let Pn=(Cn=pe==null?void 0:pe.answer)==null?void 0:Cn[0];const mn=ee.createElement(ee.Fragment,null,Za(pe,kt,rn),to(pe,Pn,Dn),ua(pe));let En=Dn?pe:Qt[kt];const bn=ee.createElement(ee.Fragment,null,za(En,kt,rn),lo(En,(Ht=En==null?void 0:En.answer)==null?void 0:Ht[0],kt,rn),Ka(En));return Dn?[mn,bn]:Aa(mn,bn,En,kt)},deal:pe=>{pe.score=pe.score===void 0?5:pe.score;let kt=[];return oa(pe==null?void 0:pe.question)||kt.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),pe.errorMsg=kt.join(`
`),pe}},{id:"6",type:"\u7F16\u7A0B\u9898",element:(pe,kt)=>{var rn,Cn;const Ht=Qt[kt],Dn=na.slice(0,4).map(Pn=>({key:Pn,label:Pn,onClick:()=>_n("platform",kt,Pn)}));return ee.createElement("div",{className:ie.row,style:{display:Pe?Ht!=null&&Ht.errorMsg?"flex":"none":"flex"}},ee.createElement("div",{className:ie.leftLayout},ee.createElement(St,null,ee.createElement("div",{"data-text":"edit",contentEditable:!0,className:ie.question},Za(pe,kt),ee.createElement($e,{id:pe==null?void 0:pe.id,value:`\u8BD5\u9898\u63CF\u8FF0\uFF1A${(pe==null?void 0:pe.description)||""}`,tagName:"p"}),to(pe),ee.createElement($e,{id:pe==null?void 0:pe.id,value:`\u65F6\u95F4\u9650\u5236\uFF08\u79D2\uFF09\uFF1A${pe==null?void 0:pe.timeLimit}`,tagName:"p"}),ee.createElement($e,{id:pe==null?void 0:pe.id,value:`\u7F16\u7A0B\u8BED\u8A00\uFF1A${(pe==null?void 0:pe.platform)||""}`,tagName:"p"}),ee.createElement("p",{contentEditable:!0},"\u5B66\u5458\u521D\u59CB\u4EE3\u7801\uFF1A"),ee.createElement("h4",null),ee.createElement($e,{id:pe==null?void 0:pe.id,value:(pe==null?void 0:pe.code)||"",tagName:"div"}),(rn=pe==null?void 0:pe.inputs)==null?void 0:rn.map((Pn,mn)=>{var En;return ee.createElement(ee.Fragment,{key:mn},ee.createElement("h4",null),ee.createElement($e,{id:pe==null?void 0:pe.id,value:`\u6D4B\u8BD5\u7528\u4F8B(${mn+1})\u8F93\u5165\uFF1A${Pn||""}`,tagName:"div"}),ee.createElement($e,{id:pe==null?void 0:pe.id,value:`\u6D4B\u8BD5\u7528\u4F8B(${mn+1})\u8F93\u51FA\uFF1A${((En=pe==null?void 0:pe.outputs)==null?void 0:En[mn])||""}`,tagName:"div"}))}),ua(pe)))),ee.createElement("div",{className:ie.rightLayout},ee.createElement(ut,{className:Ht!=null&&Ht.errorMsg?ie.error:""},za(Ht,kt),ee.createElement("div",{className:ie.liWrap,style:{background:"transparent",marginBottom:0,padding:0}},ee.createElement("div",{className:ie.li},ee.createElement("aside",null,"\u8BD5\u9898\u63CF\u8FF0\uFF1A"),ee.createElement($e,{className:ie.edit,id:Ht==null?void 0:Ht.id,value:Ht==null?void 0:Ht.description,tagName:"div",onBlur:Pn=>_n("description",kt,Pn)}))),lo(Ht,"",kt),ee.createElement("div",{className:ie.liWrap},ee.createElement("div",{className:ie.li},ee.createElement("aside",null,"\u65F6\u95F4\u9650\u5236\uFF08\u79D2\uFF09\uFF1A"),ee.createElement($e,{className:ie.edit,id:Ht==null?void 0:Ht.id,value:Ht==null?void 0:Ht.timeLimit,tagName:"div",onBlur:Pn=>_n("timeLimit",kt,Ma(Pn))})),ee.createElement("div",{className:ie.li},ee.createElement("aside",null,"\u7F16\u7A0B\u8BED\u8A00\uFF1A"),ee.createElement("div",{className:"c-black"},ee.createElement(lt.Z,{menu:{items:Dn}},ee.createElement("span",{className:"c-light-primary"},Ht==null?void 0:Ht.platform,ee.createElement("i",{className:"iconfont icon-a-bianzu11 font14 ml4"}))))),ee.createElement("div",{className:ie.li,style:{flexDirection:"column",alignItems:"start"}},ee.createElement("aside",{className:"mb10"},"\u5B66\u5458\u521D\u59CB\u4EE3\u7801\uFF1A"),ee.createElement($e,{className:ie.edit,id:Ht==null?void 0:Ht.id,value:(Ht==null?void 0:Ht.code)||"",onBlur:Pn=>_n("code",kt,Ma(Pn)),tagName:"div"}))),(Cn=Ht==null?void 0:Ht.inputs)==null?void 0:Cn.map((Pn,mn)=>{var En;return ee.createElement("div",{className:ie.liWrap,key:mn},ee.createElement("div",{className:ie.li},ee.createElement("aside",null,"\u6D4B\u8BD5\u7528\u4F8B(",mn+1,")\u8F93\u5165\uFF1A"),ee.createElement($e,{id:Ht==null?void 0:Ht.id,value:Pn||"",className:ie.edit,onBlur:bn=>{const Mn=[...(Ht==null?void 0:Ht.inputs)||[]];Mn[mn]=Ma(bn),_n("inputs",kt,Mn)},tagName:"div"})),ee.createElement("div",{className:ie.li},ee.createElement("aside",null,"\u6D4B\u8BD5\u7528\u4F8B(",mn+1,")\u8F93\u51FA\uFF1A"),ee.createElement($e,{id:Ht==null?void 0:Ht.id,value:((En=Ht==null?void 0:Ht.outputs)==null?void 0:En[mn])||"",className:ie.edit,onBlur:bn=>{const Mn=[...(Ht==null?void 0:Ht.outputs)||[]];Mn[mn]=Ma(bn),_n("outputs",kt,Mn)},tagName:"div"})))}),Ka(Ht))))},deal:pe=>{var kt,rn,Cn;pe.score=pe.score===void 0?10:pe.score,pe.code=(kt=pe.code)==null?void 0:kt.trim();let Ht=[];oa(pe==null?void 0:pe.question)?((rn=pe==null?void 0:pe.question)==null?void 0:rn.length)>60&&Ht.push("\u7F16\u7A0B\u9898\u540D\u79F0\u9650\u523660\u4E2A\u5B57\u7B26"):Ht.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),oa(pe==null?void 0:pe.description)||Ht.push("\u672A\u8BC6\u522B\u5230\u8BD5\u9898\u63CF\u8FF0");const Dn=oa(String((pe==null?void 0:pe.timeLimit)||""));if(pe.timeLimit=Dn,(!Dn||Dn&&!["3","4","5","6","7","8","9","10"].includes(Dn))&&Ht.push("\u65F6\u95F4\u9650\u5236\u4E3A\u5FC5\u586B\u9879\uFF0C\u53EA\u652F\u63013-10\u7684\u6574\u6570"),pe.platform=oa(pe==null?void 0:pe.platform),pe!=null&&pe.platform){const Pn=["c","c++","java","python"],mn=(Cn=pe==null?void 0:pe.platform)==null?void 0:Cn.toLowerCase(),En=Pn.findIndex(bn=>bn===mn);En>-1?pe.platform=na[En]:Ht.push("\u7F16\u7A0B\u8BED\u8A00\u4E3A\u5FC5\u586B\u9879\uFF0C\u76EE\u524D\u53EA\u652F\u6301C\u3001C++\u3001Python\u3001Java\u8BED\u8A00")}else Ht.push("\u7F16\u7A0B\u8BED\u8A00\u4E3A\u5FC5\u586B\u9879\uFF0C\u76EE\u524D\u53EA\u652F\u6301C\u3001C++\u3001Python\u3001Java\u8BED\u8A00");if(!(pe!=null&&pe.inputs)||!(pe!=null&&pe.outputs))pe.inputs=[],pe.outputs=[],Ht.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 Pn=Math.min(pe.inputs.length,pe.outputs.length);pe.inputs=pe.inputs.slice(0,Pn),pe.outputs=pe.outputs.slice(0,Pn),pe.outputs.some(mn=>!oa(mn))&&Ht.push("\u6D4B\u8BD5\u7528\u4F8B\u8F93\u51FA\u4E3A\u5FC5\u586B\u9879")}return pe.errorMsg=Ht.join(`
`),pe}},{id:"7",type:"\u7EC4\u5408\u9898",element:(pe,kt)=>{var rn,Cn;const Ht=Qt[kt];return ee.createElement("div",{className:ie.row,style:{display:Pe?Ht!=null&&Ht.errorMsg?"flex":"none":"flex"}},ee.createElement("div",{className:ie.leftLayout},ee.createElement(St,null,ee.createElement("div",{"data-text":"edit",contentEditable:!0,className:ie.question},Za(pe,kt),to(pe),(rn=pe==null?void 0:pe.questions)==null?void 0:rn.map((Dn,Pn)=>{var mn;const En=(mn=Mo.find(bn=>bn.id===(Dn==null?void 0:Dn.type)))==null?void 0:mn.element;return ee.createElement(ee.Fragment,{key:`left-${pe.id}-${Pn}`},En(Dn,kt,Pn)[0])}),ua(pe),ee.createElement("p",{contentEditable:!0},"}}")))),ee.createElement("div",{className:ie.rightLayout},ee.createElement(ut,{className:Ht!=null&&Ht.errorMsg?ie.error:""},za(Ht,kt),lo(Ht,"",kt),(Cn=Ht==null?void 0:Ht.questions)==null?void 0:Cn.map((Dn,Pn)=>{var mn;const En=(mn=Mo.find(bn=>bn.id===(Dn==null?void 0:Dn.type)))==null?void 0:mn.element;return ee.createElement(ee.Fragment,{key:`right-${Ht.id}-${Pn}`},En(Dn,kt,Pn)[1])}),Ka(Ht))))},deal:pe=>{var kt,rn,Cn,Ht,Dn;const Pn=ka,mn=[...Mo],En=mn.findIndex(zn=>zn.id==="0"),bn=mn.findIndex(zn=>zn.id==="1");if(En!==-1){const zn=mn[En].deal;mn[En].deal=Ha=>{const wa=zn(Ha);return wa.errorMsg&&(wa.errorMsg=wa.errorMsg.split(`
`).filter($a=>$a!=="\u9009\u9879\u5185\u5BB9\u91CD\u590D").join(`
`)),wa}}if(bn!==-1){const zn=mn[bn].deal;mn[bn].deal=Ha=>{const wa=zn(Ha);return wa.errorMsg&&(wa.errorMsg=wa.errorMsg.split(`
`).filter($a=>$a!=="\u9009\u9879\u5185\u5BB9\u91CD\u590D").join(`
`)),wa}}pe.questions=(kt=pe.questions)!=null&&kt.length?ka(pe.questions.slice(0,20)):[],pe.questions=(rn=pe.questions)==null?void 0:rn.map((zn,Ha)=>{var wa;if(zn.type==="0"||zn.type==="1"){const $a=(wa=zn.options)==null?void 0:wa.map(io=>io==null?void 0:io.trim().replace(/^\s+|\s+$/g,""));$a&&new Set($a).size!==$a.length&&(zn.errorMsg=(zn.errorMsg?zn.errorMsg+`
`:"")+"\u9009\u9879\u5185\u5BB9\u91CD\u590D")}return Jt(mt({},zn),{last:Ha===pe.questions.length-1})});const Mn=(Cn=pe.questions)==null?void 0:Cn.reduce((zn,Ha)=>{const wa=parseFloat(Ha.score);return isNaN(wa)?zn:zn+wa},0);pe.score=Mn;let Hn=[];return(Ht=pe.questions)!=null&&Ht.length?pe.errorMsg=((Dn=pe.questions)==null?void 0:Dn.findIndex(zn=>!!zn.errorMsg))>-1:Hn.push("\u8BF7\u6DFB\u52A0\u5C0F\u9898"),oa(pe==null?void 0:pe.question)||Hn.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),Hn.length&&(pe.errorMsg=Hn.join(`
`)),pe}},{id:"8",type:"\u7A0B\u5E8F\u586B\u7A7A\u9898",element:(pe,kt)=>{var rn,Cn;const Ht=Qt[kt],Dn=na.map(Pn=>({key:Pn,label:Pn,onClick:()=>_n("platform",kt,Pn)}));return ee.createElement("div",{className:ie.row,style:{display:Pe?Ht!=null&&Ht.errorMsg?"flex":"none":"flex"}},ee.createElement("div",{className:ie.leftLayout},ee.createElement(St,null,ee.createElement("div",{"data-text":"edit",contentEditable:!0,className:ie.question},Za(pe,kt),to(pe),ee.createElement($e,{id:pe==null?void 0:pe.id,value:`\u65F6\u95F4\u9650\u5236\uFF08\u79D2\uFF09\uFF1A${pe==null?void 0:pe.timeLimit}`,tagName:"p"}),ee.createElement($e,{id:pe==null?void 0:pe.id,value:`\u7F16\u7A0B\u8BED\u8A00\uFF1A${(pe==null?void 0:pe.platform)||""}`,tagName:"p"}),ee.createElement("p",{contentEditable:!0},"\u7A0B\u5E8F\u4EE3\u7801\uFF1A"),ee.createElement("h4",null),ee.createElement($e,{id:pe==null?void 0:pe.id,value:(pe==null?void 0:pe.code)||"",tagName:"div"}),ee.createElement("h4",null),ee.createElement($e,{id:pe==null?void 0:pe.id,value:`\u6D4B\u8BD5\u7528\u4F8B\u8F93\u5165\uFF1A${(pe==null?void 0:pe.input)||""}`,tagName:"p"}),ee.createElement($e,{id:pe==null?void 0:pe.id,value:`\u6D4B\u8BD5\u7528\u4F8B\u8F93\u51FA\uFF1A${(pe==null?void 0:pe.output)||""}`,tagName:"p"}),(rn=pe==null?void 0:pe.answer)==null?void 0:rn.map((Pn,mn)=>ee.createElement($e,{key:mn,id:pe==null?void 0:pe.id,value:`\u7B54\u6848${mn+1}\uFF1A${Pn||""}`,tagName:"p"})),ua(pe)))),ee.createElement("div",{className:ie.rightLayout},ee.createElement(ut,{className:Ht!=null&&Ht.errorMsg?ie.error:""},za(Ht,kt),lo(Ht,"",kt),ee.createElement("div",{className:ie.liWrap},ee.createElement("div",{className:ie.li,onKeyDown:pn},ee.createElement("aside",null,"\u65F6\u95F4\u9650\u5236\uFF08\u79D2\uFF09\uFF1A"),ee.createElement($e,{className:ie.edit,id:Ht==null?void 0:Ht.id,value:Ht==null?void 0:Ht.timeLimit,tagName:"div",onBlur:Pn=>_n("timeLimit",kt,Ma(Pn))})),ee.createElement("div",{className:ie.li},ee.createElement("aside",null,"\u7F16\u7A0B\u8BED\u8A00\uFF1A"),ee.createElement("div",{className:"c-black"},ee.createElement(lt.Z,{menu:{items:Dn}},ee.createElement("span",{className:"c-light-primary"},Ht==null?void 0:Ht.platform,ee.createElement("i",{className:"iconfont icon-a-bianzu11 font14 ml4"}))))),ee.createElement("div",{className:ie.li,style:{flexDirection:"column",alignItems:"start"}},ee.createElement("aside",{className:"mb10"},"\u7A0B\u5E8F\u4EE3\u7801\uFF1A"),ee.createElement($e,{className:ie.edit,id:Ht==null?void 0:Ht.id,value:(Ht==null?void 0:Ht.code)||"",onBlur:Pn=>_n("code",kt,Ma(Pn)),tagName:"div"})),ee.createElement("div",{className:ie.li},ee.createElement("aside",null,"\u6D4B\u8BD5\u7528\u4F8B\u8F93\u5165\uFF1A"),ee.createElement($e,{className:ie.edit,id:Ht==null?void 0:Ht.id,value:(Ht==null?void 0:Ht.input)||"",onBlur:Pn=>_n("input",kt,Ma(Pn)),tagName:"div"})),ee.createElement("div",{className:ie.li},ee.createElement("aside",null,"\u6D4B\u8BD5\u7528\u4F8B\u8F93\u51FA\uFF1A"),ee.createElement($e,{className:ie.edit,id:Ht==null?void 0:Ht.id,value:(Ht==null?void 0:Ht.output)||"",onBlur:Pn=>_n("output",kt,Ma(Pn)),tagName:"div"}))),ee.createElement("div",{className:ie.liWrap},(Cn=Ht==null?void 0:Ht.answer)==null?void 0:Cn.map((Pn,mn)=>ee.createElement("div",{className:ie.li,key:mn},ee.createElement("aside",null,"\u7B54\u6848",mn+1,"\uFF1A"),ee.createElement($e,{id:Ht==null?void 0:Ht.id,value:Pn||"",className:ie.edit,onBlur:En=>{const bn=[...(Ht==null?void 0:Ht.answer)||[]];bn[mn]=Ma(En),_n("output",kt,bn)},tagName:"div"})))),Ka(Ht))))},deal:pe=>{var kt,rn,Cn,Ht,Dn,Pn,mn,En;pe.score=pe.score===void 0?10:pe.score,pe.code=(Cn=(rn=(kt=pe.code)==null?void 0:kt.trim())==null?void 0:rn.replace(/@_@/g,"@\u2581@"))==null?void 0:Cn.replace(/@__@/g,"@\u2581\u2581@");let bn=[];if(oa(pe==null?void 0:pe.question)||bn.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),oa(pe==null?void 0:pe.code)?/@▁@|@▁▁@/.test(pe==null?void 0:pe.code)?(Ht=pe==null?void 0:pe.answer)!=null&&Ht.length&&((Dn=pe==null?void 0:pe.code.match(/@▁@|@▁▁@/g))==null?void 0:Dn.length)!==((Pn=pe==null?void 0:pe.answer)==null?void 0:Pn.length)&&bn.push("\u586B\u7A7A\u9879\u4E0E\u7B54\u6848\u4E2A\u6570\u4E0D\u5339\u914D\uFF0C\u8BF7\u8FDB\u884C\u8C03\u6574"):bn.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"):bn.push("\u672A\u8BC6\u522B\u5230\u7A0B\u5E8F\u4EE3\u7801"),pe!=null&&pe.answer?(mn=pe.answer)!=null&&mn.some(Hn=>!oa(Hn))&&bn.push("\u7B54\u6848\u4E3A\u5FC5\u586B\u9879"):bn.push("\u672A\u8BC6\u522B\u5230\u7B54\u6848\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u7B54\u68481\uFF1AHello\uFF1B\u7B54\u68482\uFF1AWorld"),pe.platform=oa(pe==null?void 0:pe.platform),pe!=null&&pe.platform){const Hn=["c","c++","java","python","javascript","ruby"],zn=(En=pe==null?void 0:pe.platform)==null?void 0:En.toLowerCase(),Ha=Hn.findIndex(wa=>wa===zn);Ha>-1?pe.platform=na[Ha]:bn.push("\u7F16\u7A0B\u8BED\u8A00\u4E3A\u5FC5\u586B\u9879\uFF0C\u76EE\u524D\u53EA\u652F\u6301C\u3001C++\u3001Python\u3001Java\u3001JavaScript\u3001Ruby\u8BED\u8A00")}else bn.push("\u7F16\u7A0B\u8BED\u8A00\u4E3A\u5FC5\u586B\u9879\uFF0C\u76EE\u524D\u53EA\u652F\u6301C\u3001C++\u3001Python\u3001Java\u3001JavaScript\u3001Ruby\u8BED\u8A00");oa(pe==null?void 0:pe.output)||bn.push("\u6D4B\u8BD5\u7528\u4F8B\u8F93\u51FA\u4E3A\u5FC5\u586B\u9879");const Mn=oa(String((pe==null?void 0:pe.timeLimit)||""));return pe.timeLimit=Mn,(!Mn||Mn&&!["3","4","5","6","7","8","9","10"].includes(Mn))&&bn.push("\u65F6\u95F4\u9650\u5236\u4E3A\u5FC5\u586B\u9879\uFF0C\u53EA\u652F\u63013-10\u7684\u6574\u6570"),pe.errorMsg=bn.join(`
`),pe}}],Go=()=>ee.createElement(ee.Fragment,null,nt.filter(pe=>{var kt;return!!((kt=Mo.find(Cn=>Cn.id===(pe==null?void 0:pe.type)))==null?void 0:kt.element)}).map((pe,kt)=>{var rn;const Cn=(rn=Mo.find(Ht=>Ht.id===(pe==null?void 0:pe.type)))==null?void 0:rn.element;return ee.createElement(ee.Fragment,{key:pe.id},Cn(pe,kt))})),tr=()=>Be(void 0,null,function*(){const pe=Qt.filter(kt=>!kt.checked);if(Sn!==3||!pe.length){Fe.ZP.warning("\u672A\u8BC6\u522B\u5230\u8BD5\u9898\uFF01");return}Ca.setFieldsValue({sub_discipline_id:_e}),$t(!0)}),ia=pe=>Be(void 0,null,function*(){const kt=ka(pe);Bt(kt),yn(JSON.parse(JSON.stringify(kt))),On(3),Nn(!1),vn(!1),Ve(!1)});(0,ee.useEffect)(()=>{if(xn)return;const pe=()=>{Ct(kt=>kt>=90?(clearInterval(Vn.current),90):kt+1)};return Vn.current=setInterval(pe,5e4/90),()=>clearInterval(Vn.current)},[xn]);const In=(pe,kt)=>{Qn(!1);const rn=new FormData;Object.keys(kt).forEach(Ht=>{rn.append(Ht,kt[Ht])});const Cn=new window.XMLHttpRequest;Cn.withCredentials=!0,Cn.addEventListener("load",function(Ht){return Be(this,null,function*(){var Dn,Pn;try{const mn=JSON.parse((Dn=Ht==null?void 0:Ht.target)==null?void 0:Dn.response);if(Qn(!0),Ct(100),yield new Promise(En=>setTimeout(()=>En(),780)),mn.status===0){if(!((Pn=mn==null?void 0:mn.data)!=null&&Pn.length)){Fe.ZP.warning("\u672A\u8BC6\u522B\u5230\u8BD5\u9898!"),Nn(!1);return}ia((mn==null?void 0:mn.data)||[])}else Nn(!1),Fe.ZP.warning(mn==null?void 0:mn.message)}catch(mn){console.log("\u8BF7\u6C42\u9519\u8BEF\uFF1A",mn)}})}),Cn.addEventListener("error",()=>{Nn(!1)}),Cn.open("POST",`${ne.Z.API_SERVER}${pe}`),Cn.send(rn)},Rn=pe=>Be(void 0,null,function*(){const kt=pe.name.split(".").slice(-1)[0].toLowerCase();return["docx"].indexOf(kt)==-1?(Fe.ZP.error(`${pe.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()):(Nn(!0),cn("\u5904\u7406\u4E2D"),In("/api/intelligent_imports/import.json",{file:pe}),Promise.reject())}),jn=pe=>Be(void 0,null,function*(){const kt=pe.name.split(".").slice(-1)[0].toLowerCase();return["docx","doc","pdf","png","jpg"].indexOf(kt)==-1?(Fe.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()):pe.size/1024/1024>200?(Fe.ZP.warning("\u6587\u4EF6\u5927\u5C0F\u5FC5\u987B\u5C0F\u4E8E200M"),Promise.reject()):(zt!=null&&zt.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:()=>yt([pe])}):yt([pe]),Promise.reject())});let xa=[{key:1,label:ee.createElement(pt.default,{showUploadList:!1,accept:".docx",maxCount:1,beforeUpload:Rn},ee.createElement("div",{style:{padding:"0 5px",width:108,height:35,lineHeight:"35px"}},"\u672C\u5730\u5BFC\u5165"))}];((0,Ue.Ny)()||(0,Ue.$O)())&&xa.push({key:2,label:ee.createElement("div",{style:{padding:"0 5px"}},"\u5927\u6A21\u578B\u667A\u80FD\u51FA\u9898"),onClick:()=>{vn(!0)}});const Wa=[Qt.length,(an=Qt.filter(pe=>!!(pe!=null&&pe.errorMsg)))==null?void 0:an.length];return ee.createElement("div",{className:Ge()(ie.intelligentBox,"intelligent-body-curb",de),style:Jt(mt({},Ne),{width:at}),ref:Tn},ee.createElement("div",{className:ie.underpin},ee.createElement("b",{style:ft}),ee.createElement("b",{style:ft})),ee.createElement("div",{className:ie.head,style:{top:Ee}},ee.createElement("div",{className:ie.leftLayout},Tt||ee.createElement(ee.Fragment,null,ee.createElement(Qe.Z,{align:"middle"},ee.createElement("div",{className:ie.title},"\u8BD5\u9898\u7F16\u8F91"),!Wt&&ee.createElement(z.op,{href:`${ne.Z.API_SERVER}/api/intelligent_imports/download_template`,download:!0,type:"link"},"\u4E0B\u8F7DWord\u6A21\u7248",ee.createElement("i",{className:"iconfont icon-xiazai4 font14 ml10"})),ee.createElement(z.op,{onClick:ha,shape:"default"},"\u4E00\u952E\u6E05\u7A7A"),!Wt&&ee.createElement(lt.Z,{overlayClassName:ie.menu,menu:{items:xa}},ee.createElement(z.op,{className:"ml20",type:"primary",shape:"default"},"\u5BFC\u5165\u8BD5\u9898")),!!Nt&&Nt),ee.createElement("div",{className:ie.tip},ee.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"))),ee.createElement(Qe.Z,{className:ie.rightLayout,style:{alignItems:"start"}},Mt||ee.createElement(ee.Fragment,null,ee.createElement("div",{className:ie.title,style:{marginRight:0}},"\u8BD5\u9898\u9884\u89C8"),[3].includes(Sn)&&ee.createElement(Ze.default,{className:"ml20",checked:Pe,onChange:pe=>Ve(pe.target.checked)},"\u4EC5\u67E5\u770B\u9519\u8BEF\u8BD5\u9898"),[3].includes(Sn)&&ee.createElement("div",{style:{color:"#5F6368",marginLeft:"auto"}},"\u5171\u8BC6\u522B",ee.createElement("span",{className:"ml5 mr5 c-light-primary"},Wa[0]),"\u9898\uFF0C\u5176\u4E2D\u8BC6\u522B\u6709\u8BEF",ee.createElement("span",{className:"ml5 mr5 c-red-e53"},Wa[1]),"\u9898")),vt&&ee.createElement("div",{className:ie.tabs},nt==null?void 0:nt.map((pe,kt)=>ee.createElement("div",{onClick:()=>{Un(kt)},className:on===kt&&ie.active,key:kt},"\u65B0\u9898",kt+1)))),ee.createElement("div",{className:ie.centerBox},ee.createElement("img",{className:"mb10",src:ce,width:56}),!xe&&ee.createElement(z.op,{onClick:Ga},"\u8BC6\u522B"))),[1,2].includes(Sn)&&Na(),[3].includes(Sn)&&Go(),ee.createElement("div",{className:"pb10"}),ee.createElement("div",{className:ie.buttonFixed},ee.createElement("div",{className:ie.buttonWrap},ee.createElement(Te.ZP,{size:"middle",className:`${ie.button} mr20`,onClick:Se},"\u53D6\u6D88"),ee.createElement(Te.ZP,{size:"middle",type:"primary",className:`${ie.button}`,onClick:tr},nn))),ee.createElement(re.default,{centered:!0,closable:!1,destroyOnClose:!0,open:sn,title:null,footer:null,width:320,afterClose:()=>Ct(0)},ee.createElement(Qe.Z,{align:"middle",style:{flexDirection:"column"}},ee.createElement("b",{style:{color:"#5F6368"},className:"font16 mb5 mt20"},Ut,ee.createElement("span",{className:ie.dotLoading},ee.createElement("span",null,"."),ee.createElement("span",null,"."),ee.createElement("span",null,"."))),ee.createElement(oe.Z,{style:{width:"auto"},size:[200,8],showInfo:!1,percent:Lt}),ee.createElement("div",{style:{color:"#5F6368"},className:"mb20"},"\u6B63\u5728\u8BC6\u522B\uFF0C\u5DF2\u5B8C\u6210",ee.createElement("span",{className:"ml5 c-light-primary"},Lt,"%")))),ee.createElement(re.default,{centered:!0,open:xt,title:"\u8BD5\u9898\u5BFC\u5165\u8BBE\u7F6E",confirmLoading:st,width:480,onCancel:()=>$t(!1),onOk:()=>Ca.submit(),afterClose:()=>{Ca.resetFields()}},ee.createElement(Ce.default,{style:{maxHeight:550},form:Ca,layout:"horizontal",colon:!1,size:"large",onFinish:pe=>Be(void 0,null,function*(){var kt,rn,Cn,Ht,Dn;const Pn=Qt.filter(bn=>!bn.checked&&!bn.errorMsg);gt(!0);const mn=()=>Be(void 0,null,function*(){var bn,Mn;const Hn=yield(0,be.ZP)("/api/intelligent_imports/save.json",{method:"post",body:Jt(mt(mt({},et),pe),{list:Pn,mode:De})});Hn.status===0&&(Vt&&((bn=Hn==null?void 0:Hn.data)!=null&&bn.success)&&window.location.pathname==="/problemset"&&(Rt.Z.publish("refresh-item-bank",pe.group_id),yield new Promise(zn=>setTimeout(()=>zn(),1500))),Fe.ZP.success(`\u6210\u529F\u5BFC\u5165${(Mn=Hn==null?void 0:Hn.data)==null?void 0:Mn.success}\u9053\u8BD5\u9898`,3),ve(),$t(!1)),gt(!1)});if(De!==1){yield mn();return}const En=yield(0,be.ZP)("/api/intelligent_imports/is_repeated.json",{method:"post",body:{list:Qt,mode:De}});if(En.status===0){if(!((kt=En==null?void 0:En.data)!=null&&kt.error_size)){yield mn();return}re.default.confirm({centered:!0,icon:null,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onCancel:()=>{gt(!1)},title:"\u63D0\u793A",content:ee.createElement("div",{style:{overflow:"auto",maxHeight:500}},"\u5171",ee.createElement("span",{className:"c-light-primary ml5 mr5"},(rn=En==null?void 0:En.data)==null?void 0:rn.all_size),"\u9053\u8BD5\u9898\uFF0C\u5176\u4E2D",ee.createElement("span",{style:{color:"#FF9D18"},className:"ml5 mr5"},(Cn=En==null?void 0:En.data)==null?void 0:Cn.error_size),"\u9053\u8BD5\u9898\u91CD\u590D\uFF08\u7B2C",ee.createElement("span",{className:"ml5 mr5"},(Dn=(Ht=En==null?void 0:En.data)==null?void 0:Ht.index)==null?void 0:Dn.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:mn})}})},ee.createElement("div",{className:"c-grey-999 mb20"},"\u63D0\u793A\uFF1A\u8BC6\u522B\u6709\u8BEF\u7684\u8BD5\u9898\u5C06\u4E0D\u4F1A\u88AB\u5BFC\u5165"),ee.createElement(Ce.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"}]},ee.createElement(y.Z,{placeholder:"\u8BF7\u9009\u62E9\u65B9\u5411&\u8BFE\u7A0B",fieldNames:{label:"name",value:"id",children:"sub_disciplines"},options:We})),De===1&&ee.createElement(Ce.default.Item,{label:ee.createElement(Qe.Z,{align:"middle",style:{justifyContent:"space-between"}},ee.createElement("span",null,"\u653E\u5165\u6587\u4EF6\u5939\u76EE\u5F55"),ee.createElement("div",{onClick:()=>ze(!0),style:{marginLeft:211,transform:"translateX(14px)",display:"flex",color:"#5F6368",cursor:"pointer"}},ee.createElement("img",{className:"mr5 primary-hover",src:Oe}),"\u65B0\u5EFA\u6587\u4EF6\u5939")),rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u6587\u4EF6\u5939"}],name:"group_id",labelCol:{span:24},wrapperCol:{span:24}},ee.createElement(fe.Z,{key:ct})))),ee.createElement(re.default,{centered:!0,open:Ft,title:"\u65B0\u5EFA\u6587\u4EF6\u5939",destroyOnClose:!0,width:480,confirmLoading:fn,onCancel:()=>ze(!1),onOk:()=>pa.submit(),afterClose:()=>{pa.resetFields()}},ee.createElement(Ce.default,{style:{maxHeight:550},form:pa,layout:"horizontal",colon:!1,size:"large",onFinish:pe=>Be(void 0,null,function*(){var kt;en(!0),(yield(0,be.ZP)("/api/item_banks_groups.json",{method:"post",body:{name:pe.name,parent_id:(kt=pe==null?void 0:pe.parent_id)==null?void 0:kt[0]}})).status===0?(jt(ct+1),setTimeout(()=>{Fe.ZP.success("\u64CD\u4F5C\u6210\u529F"),ze(!1),en(!1)},1e3)):en(!1)})},ee.createElement(Ce.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"}]},ee.createElement(a.default,{maxLength:60,showCount:!0,placeholder:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5939\u540D\u79F0"})),ee.createElement(Ce.default.Item,{label:"\u6587\u4EF6\u5939\u4F4D\u7F6E",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u6587\u4EF6\u5939"}],name:"parent_id"},ee.createElement(fe.Z,null)))),ee.createElement(re.default,{centered:!0,open:Ot,title:"\u5927\u6A21\u578B\u667A\u80FD\u51FA\u9898",width:814,okText:"\u751F\u6210\u8BD5\u9898",onCancel:()=>vn(!1),onOk:()=>{if($n===1&&!oa(qn)){Fe.ZP.warning("\u8BF7\u5148\u8F93\u5165\u51FA\u9898\u8981\u6C42");return}if($n===2&&!oa(qn)&&!(zt!=null&&zt.length)){Fe.ZP.warning("\u8BF7\u4E0A\u4F20\u6750\u6599\u6587\u6863\u6216\u5728\u6587\u672C\u6846\u4E2D\u586B\u5199\u6750\u6599\u5185\u5BB9");return}const pe=[{name:"\u5355\u9009\u9898",num:_t||0},{name:"\u591A\u9009\u9898",num:hn||0},{name:"\u5224\u65AD\u9898",num:ln||0},{name:"\u586B\u7A7A\u9898",num:Xn||0},{name:"\u7B80\u7B54\u9898",num:aa||0}];if(pe.reduce((Cn,Ht)=>Cn+Ht.num,0)===0){Fe.ZP.warning("\u8BF7\u8BBE\u7F6E\u51FA\u9898\u6570\u91CF");return}console.log($n,_t,hn),Nn(!0),cn("\u5904\u7406\u4E2D");const rn={type:$n,query:qn,item_types:JSON.stringify(pe)};$n===2&&(rn.file=(zt==null?void 0:zt[0])||null),In("/api/intelligent_imports/large_model_intelligent_qa.json",rn)}},ee.createElement(Qe.Z,{align:"middle",className:"mb10 c-black"},ee.createElement("div",{className:"mr10"},"\u51FA\u9898\u8981\u6C42"),ee.createElement(b.ZP.Group,{value:$n,onChange:pe=>ca(pe.target.value)},ee.createElement(b.ZP,{value:1,className:"c-black"},"\u6839\u636E\u77E5\u8BC6\u70B9\u51FA\u9898"),ee.createElement(b.ZP,{value:2,className:"ml40 c-black"},"\u6839\u636E\u6750\u6599\u51FA\u9898"))),ee.createElement(a.default.TextArea,{style:{height:120},className:"mb20",value:qn,placeholder:$n===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:pe=>{tt(pe.target.value)}}),$n===2&&ee.createElement(ee.Fragment,null,ee.createElement(pt.default,{accept:".doc,.docx,.pdf,.png,.jpg",maxCount:1,fileList:zt,beforeUpload:jn,className:"mb20",onRemove:()=>yt([])},ee.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"},ee.createElement(z.op,{style:{borderRadius:2}},ee.createElement("i",{className:"icon-shangchuan3 mr5"}),"\u4E0A\u4F20\u6750\u6599"))),ee.createElement("div",{style:{height:20}})),ee.createElement(Qe.Z,{align:"middle",className:"c-black"},ee.createElement("div",{className:"mb10"},"\u51FA\u9898\u6570\u91CF"),ee.createElement(Qe.Z,{gutter:16},ee.createElement(x.Z,null,ee.createElement("label",null,"\u5355\u9009\u9898"),ee.createElement(Je.Z,{min:0,max:10,value:_t,onChange:dn,style:{marginLeft:"8px"}})),ee.createElement(x.Z,null,ee.createElement("label",null,"\u591A\u9009\u9898"),ee.createElement(Je.Z,{min:0,max:10,value:hn,onChange:un,style:{marginLeft:"8px"}})),ee.createElement(x.Z,null,ee.createElement("label",null,"\u5224\u65AD\u9898"),ee.createElement(Je.Z,{min:0,max:10,value:ln,onChange:Wn,style:{marginLeft:"8px"}})),ee.createElement(x.Z,null,ee.createElement("label",null,"\u586B\u7A7A\u9898"),ee.createElement(Je.Z,{min:0,max:10,value:Xn,onChange:Kt,style:{marginLeft:"8px"}})),ee.createElement(x.Z,null,ee.createElement("label",null,"\u7B80\u7B54\u9898"),ee.createElement(Je.Z,{min:0,max:10,value:aa,onChange:ya,style:{marginLeft:"8px"}}))))))},Ie=ae;var he=Xe},21759:function(bt,It,te){"use strict";te.d(It,{N:function(){return a}});var ee=te(59301),ie=te(57809),Ae=te(43418),Ge=te(92832),Ce=te(8591),Fe=te(95237),re=te(43604),Je=te(70635),Qe={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),lt=te.n(Ze),pt=te(87169),Te=te(59301),oe=(b,E,x)=>new Promise((z,ne)=>{var ae=ce=>{try{se(x.next(ce))}catch(be){ne(be)}},le=ce=>{try{se(x.throw(ce))}catch(be){ne(be)}},se=ce=>ce.done?z(ce.value):Promise.resolve(ce.value).then(ae,le);se((x=x.apply(b,E)).next())});const{Option:y}=ie.default,a=({subId:b,value:E,selectvalues:x,disabled:z,knowledgeOptions:ne=[],className:ae,height:le,onChange:se=()=>{},onAddKnowledgeFinish:ce=()=>{},zIndex:be=1e3})=>{const fe=(0,ee.useRef)(),[Oe,ge]=(0,ee.useState)([]);E=E||[];const it=(Ke,ye)=>{Ke?(ge([...ye]),se([...ye])):(ge([]),se([]))};(0,ee.useEffect)(()=>{(x==null?void 0:x.length)>0?(ge([...x]),se([...x])):(ge([]),se([]))},[ne]),(0,ee.useEffect)(()=>{(E==null?void 0:E.length)>0&&se([...E])},[ne]);const Le=Ke=>{Ke.preventDefault(),fe.current="",Ae.default.confirm({centered:!0,width:585,zIndex:be,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",icon:null,title:"\u65B0\u5EFA\u77E5\u8BC6\u70B9",className:"custom-modal-divider",content:Te.createElement("div",{className:"font14"},Te.createElement("div",{className:Qe.public_tips},Te.createElement(pt.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"),Te.createElement("div",{style:{display:"flex",alignItems:"center"}},Te.createElement("div",{style:{width:"95px"}},Te.createElement("span",{className:Qe.bt},"*"),"\u77E5\u8BC6\u70B9\u540D\u79F0"),Te.createElement(Ge.default,{className:Qe.inputCss,style:{width:"calc(100% - 95px)"},maxLength:20,size:"middle",showCount:!0,placeholder:"\u8BF7\u8F93\u5165\u77E5\u8BC6\u70B9\u540D\u79F0",defaultValue:fe.current,onChange:ye=>{fe.current=ye.target.value}}))),onOk:()=>new Promise((ye,je)=>oe(void 0,null,function*(){if(!fe.current)return Ce.ZP.warning("\u8BF7\u8F93\u5165\u77E5\u8BC6\u70B9\u540D\u79F0"),je();if(fe.current.length>20)return Ce.ZP.warning("\u8BF7\u8F93\u5165\u4E0D\u8D85\u8FC720\u5B57\u7684\u77E5\u8BC6\u70B9\u540D\u79F0"),je();const qe=yield(0,Je.ZP)("/api/tag_disciplines.json",{method:"post",body:{name:fe.current,sub_discipline_id:b}});if((qe==null?void 0:qe.status)===0){ce({id:qe.tag_discipline_id,name:fe.current,type:"personal"});let $e=x||[];$e.push(qe.tag_discipline_id),se([...$e]),ge([...$e]),se([...$e])}return ye()}))})};return Te.createElement(Fe.Z,{wrap:!1,align:"middle",className:lt()(Qe.wrap,ae)},Te.createElement(re.Z,null,Te.createElement(ie.default,{mode:"multiple",disabled:!b||z,className:Qe.selectWrapper,placeholder:"\u8BF7\u9009\u62E9\u77E5\u8BC6\u70B9\uFF0C\u652F\u6301\u9009\u62E9\u591A\u4E2A",onChange:it,style:{width:le||490},showSearch:!0,allowClear:!0,value:Oe,filterOption:(Ke,ye)=>ye.label.indexOf(Ke.toLowerCase())>=0},ne==null?void 0:ne.map(Ke=>Te.createElement(y,{key:Ke.id,value:Ke.id,label:Ke.name},Te.createElement("div",{style:{display:"flex",alignItems:"center"}},Te.createElement("span",{style:{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"}},Ke.name),(Ke==null?void 0:Ke.type)==="personal"&&Te.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&&Te.createElement(re.Z,{className:`ml20 ${le&&Qe.add_style}`},Te.createElement("span",{className:Qe.tips},"\u6CA1\u6709\u5408\u9002\u7684\u77E5\u8BC6\u70B9\uFF1F"),Te.createElement("span",{className:Qe.linkBtn,onClick:Le},"\u65B0\u5EFA\u77E5\u8BC6\u70B9")))}},34571:function(bt,It,te){"use strict";var ee=te(59301),ie=te(93938),Ae=te(48136),Ge=te(75890),Ce=te(43418),Fe=te(59301);const re=(0,ee.forwardRef)(({callback:Je,width:Qe,onChange:Ze,disabled:lt,readOnly:pt,type:Te="",value:oe="",style:y={}},a)=>{const b=(0,ee.useRef)(),E=(0,ee.useRef)(),[x,z]=(0,ee.useState)(0),[ne,ae]=(0,ee.useState)(0),[le,se]=(0,ee.useState)(!1),ce=()=>{var ge=document.createElement("div");ge.innerHTML=b.current.getValue();var it=ge.innerText;return Je&&Je(it),it};(0,ee.useImperativeHandle)(a,()=>({getData:ce}));const be=ge=>{ge.preventDefault();const it=ge.clientX-x,Le=ge.clientY-ne;document.body.onmousemove=Ke=>{let ye=Ke.clientX-it,je=Ke.clientY-Le;const qe=document.getElementsByClassName("markdown-popup-form")[0],$e=window.innerWidth-qe.offsetWidth,Ue=window.innerHeight-qe.offsetHeight;ye=Math.max(0,Math.min(ye,$e)),je=Math.max(0,Math.min(je,Ue)),fe(Ke.clientX,Ke.clientY,it,Le)&&(z(ye),ae(je))},document.body.onmouseup=function(){document.body.onmousemove=null}},fe=(ge,it,Le,Ke)=>{const ye=document.body.clientHeight,je=document.body.clientWidth;return ge<20&&Le>ge||ge>je-20&&Le<ge||it<20&&Ke>it||it>ye-20&&Ke<it?(document.body.onmousemove=null,document.body.onmouseup=null,!1):!0};(0,ee.useEffect)(()=>{le&&setTimeout(()=>{const ge=document.getElementsByClassName("markdown-popup-form")[0],it=window.innerWidth/2-ge.offsetWidth/2,Le=window.innerHeight/2-ge.offsetHeight/2;z(it),ae(Le)},0)},[le]);const Oe=()=>{lt||pt||se(!0)};return Fe.createElement("div",{style:y},Fe.createElement("div",{style:{width:Qe||"100%",position:"relative"},className:`${ie.Z.mathFillWrap} ${lt||pt?"cursorDefault":""}`,onClick:()=>Oe()},Fe.createElement("math-field",{disabled:lt,locale:"zh_cn",class:`${ie.Z.mathField} ${Te}`,readOnly:pt,placeholder:"\u8BF7\u8F93\u5165\u516C\u5F0F",ref:b,style:{width:"100%",fontSize:oe?18:14},value:oe||""})),Fe.createElement(Ce.default,{maskClosable:!1,centered:!0,width:860,style:{position:"absolute",left:x,top:ne},title:Fe.createElement("div",{style:{cursor:"move"},onMouseDown:be},"\u8F93\u5165\u516C\u5F0F"),open:le,onOk:()=>{const ge=E.current.getData();b.current.setValue(ge),Ze(ge),se(!1)},onCancel:()=>{se(!1)},destroyOnClose:!0,className:"markdown-popup-form"},Fe.createElement(Ge.Z,{value:oe,ref:E,onChange:Ze,showSaveButton:!1})))});It.Z=re},75890:function(bt,It,te){"use strict";var ee=te(59301),ie=te(95237),Ae=te(43604),Ge=te(99313),Ce=te(3113),Fe=te(25711),re=te(93938),Je=te(48136),Qe=te(59301);const Ze=(0,ee.forwardRef)(({callback:lt,showSaveButton:pt,value:Te=""},oe)=>{const y=(0,ee.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:Qe.createElement(ie.Z,{className:re.Z.lists,gutter:[10,10]},a.map((ne,ae)=>Qe.createElement(Ae.Z,{flex:"110px",className:re.Z.item},Qe.createElement("div",null,Qe.createElement(Fe.Z,{value:`$$${ne.value}$$`}),ne.name),Qe.createElement("div",{className:re.Z.children},ne.children.map((le,se)=>Qe.createElement("div",{key:se},Qe.createElement("h1",null,le.name),Qe.createElement(ie.Z,{gutter:[10,10]},le.data.map((ce,be)=>Qe.createElement(Ae.Z,{key:be,onClick:()=>E(ce),className:re.Z.diamond},Qe.createElement(Fe.Z,{value:"`$$"+ce.value+"$$`"}))))))))))},{key:"2",label:"\u516C\u5F0F\u6A21\u677F",children:Qe.createElement(ie.Z,{className:re.Z.lists,gutter:[10,10]},b.map((ne,ae)=>Qe.createElement(Ae.Z,{flex:"110px",className:re.Z.item},Qe.createElement("div",null,Qe.createElement(Fe.Z,{value:"`$$"+ne.value+"$$`"}),ne.name),Qe.createElement("div",{className:re.Z.children},ne.children.map((le,se)=>Qe.createElement("div",{key:se},le.name&&Qe.createElement("h1",null,le.name),Qe.createElement(ie.Z,{gutter:[10,10]},le.data.map((ce,be)=>Qe.createElement(Ae.Z,{key:be,onClick:()=>E(ce),className:re.Z.diamond},Qe.createElement(Fe.Z,{value:"`$$"+ce.value+"$$`"}))))))))))}],z=()=>{var ne=document.createElement("div");ne.innerHTML=y.current.getValue();var ae=ne.innerText;return lt&&lt(ae),ae};return(0,ee.useImperativeHandle)(oe,()=>({getData:z})),Qe.createElement("div",{className:re.Z.mathWrap},Qe.createElement(Ge.default,{defaultActiveKey:"1",items:x}),Qe.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}},Te||""),pt&&Qe.createElement("div",{className:re.Z.button},Qe.createElement(Ce.ZP,{size:"large",onClick:z,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))});It.Z=Ze},35890:function(bt,It,te){"use strict";te.d(It,{t:function(){return Xe}});var ee=te(59301),ie=te(92832),Ae=te(78241),Ge=te(43418),Ce=te(95237),Fe=te(43604),re=te(5871),Je=te(57809),Qe=te(5112),Ze=te(64542),lt=te(42203),pt=te(11037),Te=te(8591),oe=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(70635),x=te(22267),z=te(23469),ne=te(56102),ae=te(38600),le=te(59301),se=Object.defineProperty,ce=Object.defineProperties,be=Object.getOwnPropertyDescriptors,fe=Object.getOwnPropertySymbols,Oe=Object.prototype.hasOwnProperty,ge=Object.prototype.propertyIsEnumerable,it=(Ie,he,de)=>he in Ie?se(Ie,he,{enumerable:!0,configurable:!0,writable:!0,value:de}):Ie[he]=de,Le=(Ie,he)=>{for(var de in he||(he={}))Oe.call(he,de)&&it(Ie,de,he[de]);if(fe)for(var de of fe(he))ge.call(he,de)&&it(Ie,de,he[de]);return Ie},Ke=(Ie,he)=>ce(Ie,be(he)),ye=(Ie,he,de)=>new Promise((Ne,at)=>{var Se=De=>{try{et(de.next(De))}catch(Ee){at(Ee)}},ve=De=>{try{et(de.throw(De))}catch(Ee){at(Ee)}},et=De=>De.done?Ne(De.value):Promise.resolve(De.value).then(Se,ve);et((de=de.apply(Ie,he)).next())}),qe=({buttonProps:Ie,buttonText:he,form:de,hackIdentifier:Ne="",answerKey:at,data:Se})=>{const[ve,et]=(0,ee.useState)(!1),[De,Ee]=(0,ee.useState)(!1),[_e,Wt]=(0,ee.useState)(!1),[ht,Tt]=(0,ee.useState)({}),[Mt,Zt]=(0,ee.useState)(""),[xe,dt]=(0,ee.useState)(""),vt=(0,ee.useRef)(Ne),ft=(0,ee.useRef)(""),Nt=(0,ee.useRef)(!1);(0,ee.useEffect)(()=>{_e&&Sn()},[_e]),(0,ee.useEffect)(()=>()=>{sessionStorage.removeItem("projectFill")},[]);const Vt=()=>new Date().getTime(),nn=Se==null?void 0:Se.code,an=()=>{var Ct,Ut;let cn=nn?Se==null?void 0:Se.code:(Ct=de.getFieldValue("hack_codes"))==null?void 0:Ct.code,sn=nn?Se==null?void 0:Se.answer_content:de.getFieldValue(at),Nn=nn?Se==null?void 0:Se.input:(Ut=de.getFieldValue("hack_sets"))==null?void 0:Ut.input;sn==null||sn.forEach(nt=>{const Bt=nt.value||nt.answer_text||"";cn=cn.replace(/(@▁@|@▁▁@)/,Bt)}),dt(Nn),Zt(cn),Tt({}),Wt(!0)},Sn=()=>ye(void 0,null,function*(){var Ct,Ut,cn,sn;const Nn=Vt(),nt=nn?Se==null?void 0:Se.time_limit:(Ct=de.getFieldsValue())==null?void 0:Ct.hack.time_limit,Bt=nn?(Ut=Se==null?void 0:Se.answer_content)==null?void 0:Ut.length:(sn=(cn=de.getFieldsValue())==null?void 0:cn.standard_answers)==null?void 0:sn.length;et(!0),yield(0,x.bM)(ft.current,{test_hack_code:Mt,test_input:xe});function Qt(){return ye(this,null,function*(){const{status:yn,data:Pe}=yield(0,x.rX)(ft.current,"submit"),st=Vt()-Nn>(nt+3)*1e3*Bt;if(Nt.current){if(st){Te.ZP.error("\u8C03\u8BD5\u4EE3\u7801\u8D85\u65F6"),et(!1);return}if(yn===0){et(!1),Tt(Ke(Le({},Pe),{showText:!0}));return}setTimeout(Qt,1e3)}})}Qt()}),On=()=>ye(void 0,null,function*(){var Ct,Ut,cn,sn,Nn,nt,Bt;if(!Se){try{yield de.validateFields()}catch(Ve){(cn=(Ut=(Ct=Ve==null?void 0:Ve.errorFields)==null?void 0:Ct[0])==null?void 0:Ut.name)!=null&&cn.includes("standard_answers")?Te.ZP.error("\u586B\u7A7A\u9879\u7B54\u6848\u4E0D\u80FD\u4E3A\u7A7A"):Te.ZP.error(Ve.errorFields[0].errors[0]),de.scrollToField(Ve.errorFields[0].name,{behavior:"smooth",block:"center"});return}Ee(!0);let yn="";const Pe=de.getFieldsValue();vt.current?yn=yield(0,E.ZP)(`/api/problems/${vt.current}.json`,{method:"put",body:Ke(Le({},Pe),{hack:Ke(Le({},Pe==null?void 0:Pe.hack),{sub_discipline_id:(Bt=(nt=Pe==null?void 0:Pe.hack)==null?void 0:nt.sub_discipline_id)==null?void 0:Bt[1],difficult:Pe.difficulty,item_banks_group_id:Pe.item_banks_group_id}),hack_codes:Ke(Le({},Pe.hack_codes),{code:a.Base64.encode(Pe.hack_codes.code)}),update_hack_sets:[Le({},Pe.hack_sets)],is_blank:!0})}):(yn=yield(0,E.ZP)("/api/problems.json",{method:"post",body:Ke(Le({},Pe),{hack:Ke(Le({},Pe==null?void 0:Pe.hack),{sub_discipline_id:(Nn=(sn=Pe==null?void 0:Pe.hack)==null?void 0:sn.sub_discipline_id)==null?void 0:Nn[1],difficult:Pe.difficulty,item_banks_group_id:Pe.item_banks_group_id}),hack_codes:Ke(Le({},Pe.hack_codes),{code:a.Base64.encode(Pe.hack_codes.code)}),hack_sets:[Le({},Pe.hack_sets)],is_blank:!0})}),vt.current=yn==null?void 0:yn.identifier,sessionStorage.projectFill=yn==null?void 0:yn.identifier)}const Qt=yield(0,E.ZP)(`/api/problems/${vt.current}/start.json`,{method:"get"});if((Qt==null?void 0:Qt.status)===0){ft.current=Qt==null?void 0:Qt.identifier,Nt.current=!0,Ee(!1),an();return}Ee(!1)}),Lt=Ct=>{const{status:Ut,error_msg:cn,execute_time:sn,output:Nn,input:nt,expected_output:Bt}=Ct;let Qt=null;switch(Ut){case ae.h.OK:Qt=le.createElement(le.Fragment,null,le.createElement("p",null,"\u6267\u884C\u7528\u65F6\uFF1A",sn/1e3,"\u79D2"),le.createElement("p",null,"\u6267\u884C\u7ED3\u679C\uFF1A\u8C03\u8BD5\u901A\u8FC7"));break;case ae.h.NOMATCH:Qt=le.createElement(le.Fragment,null,le.createElement("div",null,"\u8F93\u5165\uFF1A"),le.createElement("pre",{style:{fontFamily:"initial"}},nt),le.createElement("div",null,"\u8F93\u51FA\uFF1A"),le.createElement("pre",{style:{fontFamily:"initial"}},Nn&&a.Base64.decode(Nn)),le.createElement("div",null,"\u9884\u671F\u8F93\u51FA\uFF1A"),le.createElement("pre",{style:{fontFamily:"initial"}},Bt&&a.Base64.decode(Bt)));break;case ae.h.EXECUTEFAILURE:Qt=le.createElement(le.Fragment,null,le.createElement("p",null,"\u6700\u540E\u6267\u884C\u7684\u8F93\u5165\uFF1A",le.createElement("pre",null,nt)),le.createElement("p",null,"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),le.createElement("pre",{className:"error"},a.Base64.decode(cn)));break;case ae.h.COMPILEFAILURE:Qt=le.createElement(le.Fragment,null,le.createElement("p",null,"\u6700\u540E\u6267\u884C\u7684\u8F93\u5165\uFF1A",le.createElement("pre",null,nt)),le.createElement("p",null,"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),le.createElement("pre",{className:"error"},a.Base64.decode(cn)));break;case ae.h.PODFAILURE:Qt=le.createElement("p",null,"\u521B\u5EFApod\u5931\u8D25\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break;case ae.h.TIMEOUT:Qt=le.createElement("p",null,"\u8BC4\u6D4B\u8D85\u65F6\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break}return le.createElement(le.Fragment,null," ",Qt," ")};return le.createElement("div",null,le.createElement(oe.ZP,Ke(Le({loading:De},Ie),{onClick:On}),he),le.createElement(Ge.default,{open:_e,title:"\u8C03\u8BD5\u4EE3\u7801",destroyOnClose:!0,width:1200,okText:"\u8FD0\u884C\u6D4B\u8BD5",confirmLoading:ve,cancelButtonProps:{style:{display:"none"}},onOk:()=>Sn(),onCancel:()=>{Nt.current=!1,Wt(!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:Mt,onCopy:()=>Te.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(z.Z,{height:510,className:"mb0",hidetoolBar:!0,defaultValue:Mt,onChange:Ct=>Zt(Ct)})),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:xe,onChange:Ct=>dt(Ct.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(ht))))))))},$e=te(87169),Ue=te(59301),Rt=Object.defineProperty,Ye=Object.defineProperties,Dt=Object.getOwnPropertyDescriptors,qt=Object.getOwnPropertySymbols,Me=Object.prototype.hasOwnProperty,ke=Object.prototype.propertyIsEnumerable,Pt=(Ie,he,de)=>he in Ie?Rt(Ie,he,{enumerable:!0,configurable:!0,writable:!0,value:de}):Ie[he]=de,Gt=(Ie,he)=>{for(var de in he||(he={}))Me.call(he,de)&&Pt(Ie,de,he[de]);if(qt)for(var de of qt(he))ke.call(he,de)&&Pt(Ie,de,he[de]);return Ie},mt=(Ie,he)=>Ye(Ie,Dt(he)),Jt=(Ie,he)=>{var de={};for(var Ne in Ie)Me.call(Ie,Ne)&&he.indexOf(Ne)<0&&(de[Ne]=Ie[Ne]);if(Ie!=null&&qt)for(var Ne of qt(Ie))he.indexOf(Ne)<0&&ke.call(Ie,Ne)&&(de[Ne]=Ie[Ne]);return de};const{TextArea:Be}=ie.default,Xt=[{title:"C",key:"C"},{title:"C++",key:"C++"},{title:"Python",key:"Python"},{title:"Java",key:"Java"}],pn=({value:Ie,onChange:he})=>Ue.createElement(Switch,{checked:Ie,onChange:de=>{he(de)}}),St="@\u2581@",ut="@\u2581\u2581@",Xe=({questionTitlePlaceholder:Ie,form:he,scoreByBlank:de=!1,hackidentifier:Ne,answerKey:at})=>{const[Se,ve]=(0,ee.useState)(!1),[et,De]=(0,ee.useState)(!1),_e=(0,lt.useParams)().type==="edit",Wt=(ft,Nt)=>{const Vt=Nt.line;let nn=0;for(let Sn=0;Sn<Vt;Sn++)nn+=ft.getLine(Sn).split(St).length-1;for(let Sn=0;Sn<Vt;Sn++)nn+=ft.getLine(Sn).split(ut).length-1;const an=ft.getLine(Vt).substring(0,Nt.ch);return nn+=an.split(St).length-1,nn+=an.split(ut).length-1,nn},ht=(ft,Nt,Vt,nn)=>{const an=ft.getRange(Nt.from,Nt.to);let Sn=0;if(Nt.text.forEach(On=>{Sn+=On.split(St).length-1}),Nt.text.forEach(On=>{Sn+=On.split(ut).length-1}),Nt.origin!=="setValue"){if(an&&(an.indexOf(St)!==-1||an.indexOf(ut)!==-1)){const On=an.split(St).length-1+an.split(ut).length-1,Lt=Wt(ft,Nt.from);if(console.log(`\u5220\u9664${On}\u4E2A\uFF0C \u524D\u9762\u6709${Lt}\u4E2A\uFF0C\u65B0\u589E${Sn}\u4E2A`),On>1){const Ct=Array.from({length:On},(Ut,cn)=>Lt+cn);nn(Ct)}else nn(Lt)}else if(Sn>0){const On=Wt(ft,Nt.from);console.log(`\u65B0\u589E${Sn}\u4E2A\uFF0C\u4E4B\u524D\u6709${On}\u4E2A`),Vt(Sn,On)}}},Tt=()=>{const ft=he.getFieldValue(at);he.setFieldsValue({[at]:ft==null?void 0:ft.map((Nt,Vt)=>mt(Gt({},Nt),{position:Vt+1}))})},Mt=(0,ee.useRef)(),Zt=(ft,Nt)=>{for(let Vt=0;Vt<ft;Vt++)Mt.current({position:null,answer_text:""},Nt+Vt);Tt()},xe=(0,ee.useRef)(),dt=ft=>{xe.current(ft),Tt()},vt=Ae.default.useWatch(at,he);return Ue.createElement("div",{className:pt.Z.wrap},Ue.createElement(Ae.default.Item,{label:"\u8BD5\u9898\u63CF\u8FF0",name:["hack","description"],style:{display:"table"},className:"w100",labelCol:{span:24},rules:[{required:!0}]},Ue.createElement(Ze.h,{scrollId:"name",watch:!0,height:140})),Ue.createElement("div",{className:pt.Z.questionTitleEditorWrap},Ue.createElement(Ae.default.Item,{label:"\u7A0B\u5E8F\u4EE3\u7801",name:["hack_codes","code"],labelCol:{span:24},rules:[{required:!0}]},Ue.createElement(Ze.h,{scrollId:"name",watch:!0,height:400,hidetoolBar:!0,showNullProgramButton:!0,onChange:(ft,Nt)=>{const Vt=he.getFieldValue(at);console.log("--preAnswerData",Vt,Nt),he.setFieldsValue({[at]:Vt==null?void 0:Vt.map((nn,an)=>{var Sn;return mt(Gt({},nn),{position:an+1,multi_line:(Sn=Nt==null?void 0:Nt[an])==null?void 0:Sn.multiLine})})})},placeholder:Ie,onCMBeforeChange:(ft,Nt)=>{ht(ft,Nt,Zt,dt)}}))),Ue.createElement(Ae.default.List,{name:at,rules:[{validator(ft,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:nn}=Vt||{};if((nn==null?void 0:nn.length)===0)return Promise.reject(new Error("\u586B\u7A7A\u9879\u7B54\u6848\u4E0D\u80FD\u4E3A\u7A7A"))}return Promise.resolve()}}]},(ft,{add:Nt,remove:Vt},{errors:nn})=>(Mt.current=Nt,xe.current=Vt,Ue.createElement(Ue.Fragment,null,Ue.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between"}},Ue.createElement(Ae.default.Item,{label:"\u586B\u7A7A\u9879\u7B54\u6848",required:!0,labelCol:{span:24}}),Ue.createElement("div",{onClick:()=>{Ge.default.warning({title:"\u7ED9\u5206\u8BF4\u660E",icon:null,width:700,centered:!0,content:Ue.createElement("div",null,Ue.createElement("div",null,"1.\u5B66\u751F\u586B\u5199\u7B54\u6848\u4E4B\u540E\uFF0C\u5FC5\u987B\u63D0\u4EA4\u4EE3\u7801",Ue.createElement("span",{style:{color:"#e30000"}},"\u8FDB\u884C\u8BC4\u6D4B"),"\u624D\u80FD\u5F97\u5206\u3002"),Ue.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"}},Ue.createElement($e.Z,{style:{marginRight:3,color:"#3061D0"}}),Ue.createElement("span",null," \u7ED9\u5206\u8BF4\u660E"))),ft.map((an,Sn)=>{var On=an,{key:Lt,name:Ct}=On,Ut=Jt(On,["key","name"]),cn,sn;return Ue.createElement(Ce.Z,{className:"mb20",key:Lt,align:"middle",wrap:!1},Ue.createElement(Fe.Z,{flex:"0 0 auto",className:`${pt.Z.blankIndex}`},"\u586B\u7A7A\u9879",Sn+1),Ue.createElement(Fe.Z,{flex:1},Ue.createElement(Ce.Z,{align:"top",justify:"space-between",wrap:!1},Ue.createElement(Fe.Z,null,Ue.createElement(Ae.default.Item,mt(Gt({},Ut),{name:[Ct,"answer_text"],noStyle:!0}),(cn=vt==null?void 0:vt[Ct])!=null&&cn.multi_line||(sn=vt==null?void 0:vt[Ct])!=null&&sn.multiLine?Ue.createElement(Be,{spellCheck:!1,style:{marginLeft:10,width:550}}):Ue.createElement(ie.default,{style:{marginLeft:10,width:550},className:pt.Z.blankInput,size:"large",maxLength:1e3,onBlur:Nn=>{}}))),de&&Ue.createElement(Fe.Z,{flex:"224px"},Ue.createElement(Ae.default.Item,mt(Gt({},Ut),{name:[Ct,"score"],label:"\u5206\u503C",rules:[{required:!0}]}),Ue.createElement(re.Z,{size:"large",className:pt.Z.blankInput,min:.1,max:100,precision:1,style:{width:"100%"},placeholder:"\u8BF7\u8F93\u5165\u5206\u503C"}))))))})))),Ue.createElement("div",{onClick:()=>ve(!0)},Ue.createElement(Ae.default.Item,{name:["hack","analysis"],label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},Ue.createElement(Ze.x,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:Se}))),Ue.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"}]},Ue.createElement(Je.default,{size:"large"},Xt.map(ft=>Ue.createElement(Je.default.Option,{key:ft.title,value:ft.key}," ",ft.title)))),Ue.createElement(Ae.default.Item,{label:"\u6700\u5927\u8BC4\u6D4B\u65F6\u957F\uFF08\u79D2\uFF09",style:{marginTop:30},labelCol:{span:24},required:!0},Ue.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},Ue.createElement(re.Z,{precision:0,max:10,min:3,size:"large",style:{width:"97%"}})),Ue.createElement("span",{className:"ml10 font14"},"\u79D2")),Ue.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"}]},Ue.createElement(Qe.ZP.Group,{style:{marginTop:-10}},Ue.createElement(Qe.ZP,{value:0},"\u4E0D\u5FFD\u7565\u7A7A\u683C"),Ue.createElement(Qe.ZP,{value:1},"\u5FFD\u7565\u9996\u5C3E\u7A7A\u683C"),Ue.createElement(Qe.ZP,{value:2},"\u5FFD\u7565\u6240\u6709\u7A7A\u683C"))),Ue.createElement(Ae.default.Item,{label:"\u6D4B\u8BD5\u7528\u4F8B",required:!0,style:{marginTop:30}}),Ue.createElement("div",{style:{background:"#F6F7F9",padding:15}},Ue.createElement(Ae.default.Item,{label:"\u8F93\u5165",labelCol:{span:24},name:["hack_sets","input"]},Ue.createElement(Be,{rows:4})),Ue.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"}]},Ue.createElement(Be,{rows:4}))),Ue.createElement(qe,{form:he,answerKey:at,hackIdentifier:Ne,buttonText:"\u8FD0\u884C\u8C03\u8BD5",buttonProps:{ghost:!0,icon:Ue.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"}}}))}},74830:function(bt,It,te){"use strict";te.d(It,{u:function(){return le}});var ee=te(59301),ie=te(95237),Ae=te(43604),Ge=te(6848),Ce=te(78241),Fe=te(11037),re=te(32134),Je=te(12893),Qe=te(64542),Ze=te(59301),lt=Object.defineProperty,pt=Object.defineProperties,Te=Object.getOwnPropertyDescriptors,oe=Object.getOwnPropertySymbols,y=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable,b=(se,ce,be)=>ce in se?lt(se,ce,{enumerable:!0,configurable:!0,writable:!0,value:be}):se[ce]=be,E=(se,ce)=>{for(var be in ce||(ce={}))y.call(ce,be)&&b(se,be,ce[be]);if(oe)for(var be of oe(ce))a.call(ce,be)&&b(se,be,ce[be]);return se},x=(se,ce)=>pt(se,Te(ce)),z=(se,ce)=>{var be={};for(var fe in se)y.call(se,fe)&&ce.indexOf(fe)<0&&(be[fe]=se[fe]);if(se!=null&&oe)for(var fe of oe(se))ce.indexOf(fe)<0&&a.call(se,fe)&&(be[fe]=se[fe]);return be};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"],ae=({value:se,onChange:ce,choiceTextKey:be,answerKey:fe,index:Oe,isEdit:ge,setInputActive:it,form:Le,choiceOptionsPath:Ke,allowChangeMode:ye,showAddIcon:je,addItem:qe,deleteItem:$e})=>{console.log(se,"value");const Ue=(se==null?void 0:se[fe])===1,Rt=()=>{const Dt=Le.getFieldValue(Ke);Le.setFieldValue(Ke,Dt.map(qt=>x(E({},qt),{[fe]:0})))},Ye=()=>{Ue?ce(x(E({},se),{[fe]:0})):(ye||Rt(),ce(x(E({},se),{[fe]:1})))};return Ze.createElement(ie.Z,{className:Fe.Z.choiceWrap,align:"middle",wrap:!1},Ze.createElement(Ae.Z,{onClick:Ye,className:`${Fe.Z.choiceIndex} ${Ue?Fe.Z.activeAnswer:""}`},ne[Oe]),Ze.createElement(Ae.Z,{flex:1,className:`${Fe.Z.editorWrap} ml15`,onClick:it},Ze.createElement(Qe.x,{height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9009\u9879",isEdit:ge,value:se==null?void 0:se[be],onChange:Dt=>{ce(x(E({},se),{[be]:Dt}))}})),Ze.createElement(Ae.Z,{flex:"0 0 auto",className:"ml15"},Ze.createElement("div",{onClick:Ye,className:`${Fe.Z.setAnswerBtn} ${Ue?Fe.Z.activeAnswer:""}`},Ue?"\u6B63\u786E\u7B54\u6848":"\u8BBE\u4E3A\u7B54\u6848")),Ze.createElement(Ae.Z,{className:Fe.Z.actionWrapper},Ze.createElement(Ge.Z,{title:"\u65B0\u589E\u53C2\u8003\u7B54\u6848"},Ze.createElement(re.Z,{className:Fe.Z.addIcon,onClick:qe,style:{visibility:je?"visible":"hidden"}})),Ze.createElement(Ge.Z,{title:"\u5220\u9664"},Ze.createElement(Je.Z,{className:Fe.Z.deleteIcon,onClick:$e,style:{visibility:Oe>1?"visible":"hidden"}}))))},le=({questionTitlePlaceholder:se,titleKey:ce,choiceKey:be,analysisKey:fe,choiceTextKey:Oe,answerKey:ge,choiceOptionsPath:it,allowChangeMode:Le=!0,form:Ke,showAnalysis:ye=!0})=>{const[je,qe]=(0,ee.useState)(),[$e,Ue]=(0,ee.useState)(!1);return Ze.createElement("div",{className:Fe.Z.wrap},Ze.createElement("div",{className:Fe.Z.questionTitleEditorWrap},Ze.createElement(Ce.default.Item,{label:"\u9898\u5E72",name:ce,labelCol:{span:24},rules:[{required:!0}]},Ze.createElement(Qe.h,{scrollId:Array.isArray(ce)?ce.join("_"):`${ce}`,watch:!0,height:140,placeholder:se}))),Ze.createElement(Ce.default.Item,{label:"\u7B54\u6848\u9009\u9879",required:!0,labelCol:{span:24}}),Ze.createElement(Ce.default.List,{name:be,rules:[{validator(Rt,Ye){const Dt=Ye.some(Me=>Me[ge]===1),qt=Ye.findIndex(Me=>{var ke;return((ke=Me[Oe])==null?void 0:ke.length)<=0});return qt!==-1?Promise.reject(new Error(`\u8BF7\u5148\u8F93\u5165${ne[qt]}\u9009\u9879\u7684\u5185\u5BB9`)):Dt?Promise.resolve():Promise.reject(new Error("\u8BF7\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848"))}}]},(Rt,{add:Ye,remove:Dt})=>Ze.createElement("div",{id:Array.isArray(it)?it.join("_"):`${it}`},Rt.map((qt,Me)=>{var ke=qt,{key:Pt,name:Gt}=ke,mt=z(ke,["key","name"]);const Jt=je===Pt,Be=()=>{qe(Pt)},Xt=Me<7&&Me===Rt.length-1,pn=()=>Ye({[Oe]:"",[ge]:0}),St=()=>Dt(Gt);return Ze.createElement(Ce.default.Item,x(E({},mt),{key:Pt,name:Gt,className:Fe.Z.choiceListWrap,rules:[{validator(ut,Xe){return Xe!=null&&Xe.choice_text?Promise.resolve():Promise.reject(new Error(`\u8BF7\u5148\u8F93\u5165${ne[Me]}\u9009\u9879\u7684\u5185\u5BB9`))}}]}),Ze.createElement(ae,{choiceTextKey:Oe,answerKey:ge,index:Me,isEdit:Jt,setInputActive:Be,form:Ke,choiceOptionsPath:it,allowChangeMode:Le,showAddIcon:Xt,addItem:pn,deleteItem:St}))}),Rt.length<8&&Ze.createElement("div",{className:`${Fe.Z.addBtn} mb30`,onClick:()=>Ye({[Oe]:"",[ge]:0})},"\u6DFB\u52A0\u9009\u9879"))),ye&&Ze.createElement("div",{onClick:()=>Ue(!0)},Ze.createElement(Ce.default.Item,{name:fe,label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},Ze.createElement(Qe.x,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:$e}))))}},26778:function(bt,It,te){"use strict";te.d(It,{u:function(){return Le}});var ee=te(59301),ie=te(43418),Ae=te(95237),Ge=te(43604),Ce=te(92832),Fe=te(6848),re=te(78673),Je=te(78241),Qe=te(5112),Ze=te(5871),lt=te(64542),pt=te(12893),Te=te(61485),oe=te(11037),y=te(34571),a=te(59301),b=Object.defineProperty,E=Object.defineProperties,x=Object.getOwnPropertyDescriptors,z=Object.getOwnPropertySymbols,ne=Object.prototype.hasOwnProperty,ae=Object.prototype.propertyIsEnumerable,le=(Ke,ye,je)=>ye in Ke?b(Ke,ye,{enumerable:!0,configurable:!0,writable:!0,value:je}):Ke[ye]=je,se=(Ke,ye)=>{for(var je in ye||(ye={}))ne.call(ye,je)&&le(Ke,je,ye[je]);if(z)for(var je of z(ye))ae.call(ye,je)&&le(Ke,je,ye[je]);return Ke},ce=(Ke,ye)=>E(Ke,x(ye)),be=(Ke,ye)=>{var je={};for(var qe in Ke)ne.call(Ke,qe)&&ye.indexOf(qe)<0&&(je[qe]=Ke[qe]);if(Ke!=null&&z)for(var qe of z(Ke))ye.indexOf(qe)<0&&ae.call(Ke,qe)&&(je[qe]=Ke[qe]);return je};const fe=({value:Ke,onChange:ye})=>{const je=$e=>{ie.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:"\u786E\u8BA4\u8981\u5220\u9664\u8FD9\u4E2A\u53C2\u8003\u7B54\u6848\u5417\uFF1F",className:oe.Z.modal,onOk:()=>{const Ue=[...Ke];Ue.splice($e,1),ye(Ue)}})},qe=()=>{const $e=[...Ke];$e.push(""),ye($e)};return a.createElement(Ae.Z,{className:"ml20"},a.createElement(Ge.Z,{flex:1},Ke==null?void 0:Ke.map(($e,Ue)=>a.createElement(Ae.Z,{key:`${$e}_${Ue}`,className:"mb20"},a.createElement(Ce.default.TextArea,{style:{flex:1,minHeight:44},defaultValue:$e,autoSize:{maxRows:3},maxLength:1e3,onBlur:Rt=>{const Ye=[...Ke],Dt=Rt.target.value.trim();Ye[Ue]=Dt,ye(Ye)}}),a.createElement(Fe.Z,{title:"\u5220\u9664"},a.createElement(pt.Z,{className:oe.Z.deleteIcon,style:{marginLeft:15,visibility:Ue>0?"visible":"hidden"},onClick:()=>je(Ue)}))))),a.createElement(Ge.Z,null,a.createElement("div",{className:`${oe.Z.addBtn}`,onClick:()=>{qe()}},"\u65B0\u589E\u7B54\u6848")))},Oe=({value:Ke,onChange:ye})=>{const je=$e=>{ie.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:"\u786E\u8BA4\u8981\u5220\u9664\u8FD9\u4E2A\u53C2\u8003\u7B54\u6848\u5417\uFF1F",className:oe.Z.modal,onOk:()=>{const Ue=[...Ke];Ue.splice($e,1),ye(Ue)}})},qe=()=>{const $e=[...Ke];$e.push(""),ye($e)};return a.createElement(Ae.Z,{className:"ml20"},a.createElement(Ge.Z,{flex:1},Ke==null?void 0:Ke.map(($e,Ue)=>a.createElement(Ae.Z,{key:`${$e}_${Ue}`,align:"middle",className:"mb20"},a.createElement(y.Z,{value:$e,style:{flex:1},onChange:Rt=>{const Ye=[...Ke];Ye[Ue]=Rt,ye(Ye)}}),a.createElement(Fe.Z,{title:"\u5220\u9664"},a.createElement(pt.Z,{className:oe.Z.deleteIcon,style:{marginLeft:15,visibility:Ue>0?"visible":"hidden"},onClick:()=>je(Ue)}))))),a.createElement(Ge.Z,null,a.createElement("div",{className:`${oe.Z.addBtn}`,onClick:()=>{qe()}},"\u65B0\u589E\u7B54\u6848")))},ge=({value:Ke=!0,onChange:ye})=>a.createElement(re.Z,{checked:!Ke,onChange:je=>{ye(!je)}}),it="\u2581",Le=({questionTitlePlaceholder:Ke,form:ye,scoreByBlank:je=!1,answerKey:qe})=>{const[$e,Ue]=(0,ee.useState)(!1),Rt=(mt,Jt)=>{const Be=Jt.line;let Xt=0;for(let St=0;St<Be;St++)Xt+=mt.getLine(St).split(it).length-1;const pn=mt.getLine(Be).substring(0,Jt.ch);return Xt+=pn.split(it).length-1,Xt},Ye=(mt,Jt,Be,Xt)=>{const pn=mt.getRange(Jt.from,Jt.to);let St=0;if(Jt.text.forEach(ut=>{St+=ut.split(it).length-1}),Jt.origin!=="setValue"){if(pn&&pn.indexOf(it)!==-1){const ut=pn.split(it).length-1,Xe=Rt(mt,Jt.from);if(console.log(`\u5220\u9664${ut}\u4E2A\uFF0C \u524D\u9762\u6709${Xe}\u4E2A\uFF0C\u65B0\u589E${St}\u4E2A`),ut>1){const Ie=Array.from({length:ut},(he,de)=>Xe+de);Xt(Ie)}else Xt(Xe)}else if(St>0){const ut=Rt(mt,Jt.from);console.log(`\u65B0\u589E${St}\u4E2A\uFF0C\u4E4B\u524D\u6709${ut}\u4E2A`),Be(St,ut)}}},Dt=()=>{const mt=ye.getFieldValue(qe);ye.setFieldsValue({[qe]:mt.map((Jt,Be)=>ce(se({},Jt),{position:Be+1}))})},qt=(0,ee.useRef)(),Me=(mt,Jt)=>{for(let Be=0;Be<mt;Be++)qt.current({position:null,answer_text:[""],model:1},Jt+Be);Dt()},ke=(0,ee.useRef)(),Pt=mt=>{ke.current(mt),Dt()},Gt=Je.default.useWatch(qe,ye);return a.createElement("div",{className:oe.Z.wrap},a.createElement("div",{className:oe.Z.questionTitleEditorWrap},a.createElement(Je.default.Item,{label:"\u9898\u5E72",name:"name",labelCol:{span:24},rules:[{required:!0}]},a.createElement(lt.h,{scrollId:"name",watch:!0,height:140,placeholder:Ke,showNullButton:!0,onCMBeforeChange:(mt,Jt)=>{Ye(mt,Jt,Me,Pt)}}))),a.createElement(Je.default.List,{name:qe,rules:[{validator(mt,Jt){if(!(Jt!=null&&Jt.length))return Promise.reject(new Error("\u8BF7\u5148\u5728\u9898\u5E72\u4E2D\u63D2\u5165\u586B\u7A7A\u9879"));for(const Be of Jt){const{answer_text:Xt}=Be||{};if(Xt!=null&&Xt.some(pn=>(pn==null?void 0:pn.length)===0))return Promise.reject(new Error("\u586B\u7A7A\u9879\u7B54\u6848\u4E0D\u80FD\u4E3A\u7A7A"))}return Promise.resolve()}}]},(mt,{add:Jt,remove:Be},{errors:Xt})=>(qt.current=Jt,ke.current=Be,a.createElement(a.Fragment,null,a.createElement(Je.default.Item,{label:a.createElement("span",null,"\u586B\u7A7A\u9879\u7B54\u6848",!(mt!=null&&mt.length)&&a.createElement("span",{style:{color:"#E99237"}},"\uFF08\u8BF7\u5148\u5728\u9898\u5E72\u4E2D\u63D2\u5165\u586B\u7A7A\u9879\uFF09")),required:!0,labelCol:{span:24}}),mt.map((pn,St)=>{var ut=pn,{key:Xe,name:Ie}=ut,he=be(ut,["key","name"]),de,Ne;return a.createElement("div",{style:{marginBottom:10},key:Xe},a.createElement(Ae.Z,{className:"mb20",align:"middle",wrap:!1},a.createElement(Ge.Z,{style:{marginRight:10},flex:"0 0 auto",className:`${oe.Z.blankIndex}`},"\u586B\u7A7A\u9879",St+1),a.createElement(Je.default.Item,ce(se({},he),{name:[Ie,"model"],noStyle:!0}),a.createElement(Qe.ZP.Group,{onChange:()=>{const at=ye.getFieldValue(qe);ye.setFieldsValue({[qe]:at.map((Se,ve)=>ce(se({},Se),{answer_text:Ie===ve?[""]:Se.answer_text}))})}},a.createElement(Qe.ZP,{value:1},"\u6587\u672C\u6A21\u5F0F ",a.createElement(Fe.Z,{title:"\u5B66\u751F\u7B54\u9898\u65F6\uFF0C\u9700\u8981\u5728\u6587\u672C\u6846\u4E2D\u586B\u5199\u6587\u672C\u7B54\u6848"},a.createElement(Te.Z,null))),a.createElement(Qe.ZP,{value:2},"\u6570\u5B66\u516C\u5F0F\u6A21\u5F0F ",a.createElement(Fe.Z,{title:"\u5B66\u751F\u7B54\u9898\u65F6\uFF0C\u9700\u8981\u7F16\u5199\u6570\u5B66\u516C\u5F0F\u4F5C\u4E3A\u7B54\u6848"},a.createElement(Te.Z,null)))))),a.createElement(Ae.Z,{style:{marginLeft:20},align:"middle",wrap:!1},a.createElement(Ge.Z,{flex:1},a.createElement(Ae.Z,{align:"top",justify:"space-between",wrap:!1},a.createElement(Ge.Z,{flex:1},a.createElement(Je.default.Item,ce(se({},he),{name:[Ie,"answer_text"],noStyle:!0}),((Ne=(de=ye.getFieldValue(qe))==null?void 0:de[Ie])==null?void 0:Ne.model)===1?a.createElement(fe,null):a.createElement(Oe,null))),je&&a.createElement(Ge.Z,{flex:"224px",style:{margin:"-7px 0 0 20px"}},a.createElement(Je.default.Item,ce(se({},he),{name:[Ie,"score"],label:"\u5206\u503C",rules:[{required:!0}],className:oe.Z.blankInputNumberWrapper}),a.createElement(Ze.Z,{min:.1,max:100,precision:1,style:{width:"100%"},placeholder:"\u8BF7\u8F93\u5165\u5206\u503C"})))),a.createElement(Je.default.Item,ce(se({},he),{name:[Ie,"position"],noStyle:!0}),a.createElement(Ce.default,{type:"hidden"})))))})))),a.createElement(Ae.Z,{align:"middle"},a.createElement(Je.default.Item,{name:"downcase",valuePropName:"checked"},a.createElement(re.Z,null)),a.createElement(Ge.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(Je.default.Item,{name:"no_space",valuePropName:"checked"},a.createElement(re.Z,null)),a.createElement(Ge.Z,{className:"ml10"},"\u5224\u5206\u65F6\u5FFD\u7565\u7B54\u6848\u4E2D\u7684\u7A7A\u683C")),(Gt==null?void 0:Gt.length)>1&&a.createElement(Ae.Z,{align:"middle",className:(Gt==null?void 0:Gt.length)>1?"mb30":`${oe.Z.hide}`},a.createElement(Je.default.Item,{name:"is_ordered"},a.createElement(ge,null)),a.createElement(Ge.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:()=>Ue(!0)},a.createElement(Je.default.Item,{name:"analysis",label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},a.createElement(lt.x,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:$e}))))}},41673:function(bt,It,te){"use strict";te.d(It,{Z:function(){return z}});var ee=te(59301),ie=te(95237),Ae=te(43604),Ge=te(78241),Ce=te(11037),Fe=te(64542),re=te(59301),Je=Object.defineProperty,Qe=Object.defineProperties,Ze=Object.getOwnPropertyDescriptors,lt=Object.getOwnPropertySymbols,pt=Object.prototype.hasOwnProperty,Te=Object.prototype.propertyIsEnumerable,oe=(ne,ae,le)=>ae in ne?Je(ne,ae,{enumerable:!0,configurable:!0,writable:!0,value:le}):ne[ae]=le,y=(ne,ae)=>{for(var le in ae||(ae={}))pt.call(ae,le)&&oe(ne,le,ae[le]);if(lt)for(var le of lt(ae))Te.call(ae,le)&&oe(ne,le,ae[le]);return ne},a=(ne,ae)=>Qe(ne,Ze(ae)),b=(ne,ae)=>{var le={};for(var se in ne)pt.call(ne,se)&&ae.indexOf(se)<0&&(le[se]=ne[se]);if(ne!=null&&lt)for(var se of lt(ne))ae.indexOf(se)<0&&Te.call(ne,se)&&(le[se]=ne[se]);return le};const E={\u6B63\u786E:"T",\u9519\u8BEF:"F"},x=({value:ne,onChange:ae,form:le})=>{const se=(ne==null?void 0:ne.is_answer)===1,ce=ne==null?void 0:ne.choice_text,be=()=>{const fe=le.getFieldsValue().choices.map(Oe=>({choice_text:Oe.choice_text,is_answer:0}));le.setFieldsValue({choices:fe}),ae(a(y({},ne),{is_answer:1}))};return re.createElement(ie.Z,{className:Ce.Z.choiceWrap,align:"middle",wrap:!1,style:{marginBottom:"20px"}},re.createElement(Ae.Z,{onClick:be,className:`${Ce.Z.choiceIndex} ${Ce.Z.judgementIndex} ${se?Ce.Z.activeAnswer:""}`},E[ce]),re.createElement(Ae.Z,{flex:1,className:`${Ce.Z.editorWrap} ml15`},re.createElement("div",{className:`${Ce.Z.inputBorder} ${Ce.Z.placeholder} ${se?Ce.Z.activeJudgementAnswer:""}`},ce)),re.createElement(Ae.Z,{flex:"0 0 auto",className:"ml15"},re.createElement("div",{onClick:be,className:`${Ce.Z.setAnswerBtn} ${se?Ce.Z.activeAnswer:""}`},se?"\u6B63\u786E\u7B54\u6848":"\u8BBE\u4E3A\u7B54\u6848")))},z=({questionTitlePlaceholder:ne,choiceKey:ae,form:le})=>{const[se,ce]=(0,ee.useState)(!1);return re.createElement("div",{className:Ce.Z.wrap},re.createElement("div",{className:Ce.Z.questionTitleEditorWrap},re.createElement(Ge.default.Item,{label:"\u9898\u5E72",name:"name",labelCol:{span:24},rules:[{required:!0}]},re.createElement(Fe.h,{scrollId:"name",watch:!0,height:140,placeholder:ne}))),re.createElement(Ge.default.Item,{label:"\u7B54\u6848\u9009\u9879",required:!0,labelCol:{span:24}},re.createElement(Ge.default.List,{name:"choices",rules:[{validator(be,fe){return fe.some(ge=>(ge==null?void 0:ge.is_answer)===1)?Promise.resolve():Promise.reject(new Error("\u8BF7\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848"))}}]},be=>re.createElement("div",{id:"choices"},be.map(fe=>{var Oe=fe,{key:ge,name:it}=Oe,Le=b(Oe,["key","name"]);return re.createElement(Ge.default.Item,a(y({},Le),{key:ge,name:it,noStyle:!0}),re.createElement(x,{form:le}))})))),re.createElement("div",{onClick:()=>ce(!0)},re.createElement(Ge.default.Item,{name:"analysis",label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},re.createElement(Fe.x,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:se}))))}},64542:function(bt,It,te){"use strict";te.d(It,{h:function(){return y},x:function(){return a}});var ee=te(23469),ie=te(11037),Ae=te(25711),Ge=te(59301),Ce=Object.defineProperty,Fe=Object.defineProperties,re=Object.getOwnPropertyDescriptors,Je=Object.getOwnPropertySymbols,Qe=Object.prototype.hasOwnProperty,Ze=Object.prototype.propertyIsEnumerable,lt=(b,E,x)=>E in b?Ce(b,E,{enumerable:!0,configurable:!0,writable:!0,value:x}):b[E]=x,pt=(b,E)=>{for(var x in E||(E={}))Qe.call(E,x)&&lt(b,x,E[x]);if(Je)for(var x of Je(E))Ze.call(E,x)&&lt(b,x,E[x]);return b},Te=(b,E)=>Fe(b,re(E)),oe=(b,E)=>{var x={};for(var z in b)Qe.call(b,z)&&E.indexOf(z)<0&&(x[z]=b[z]);if(b!=null&&Je)for(var z of Je(b))E.indexOf(z)<0&&Ze.call(b,z)&&(x[z]=b[z]);return x};const y=b=>{var E=b,{value:x,onChange:z,scrollId:ne}=E,ae=oe(E,["value","onChange","scrollId"]);return Ge.createElement("div",{id:ne||""},Ge.createElement(ee.Z,Te(pt({},ae),{defaultValue:x,onChange:(le,se)=>{se!=null&&se.length?z(le,se):z(le)}})))},a=({value:b,onChange:E,placeholder:x,height:z=140,isEdit:ne,miniToolbar:ae,watch:le=!0})=>ne?Ge.createElement(ee.Z,{watch:le,isFocus:!0,height:z||void 0,placeholder:x,defaultValue:b,onChange:E,miniToolbar:ae}):Ge.createElement("div",{style:{cursor:"pointer"}},b?Ge.createElement(Ae.Z,{className:ie.Z.inputBorder,value:b}):Ge.createElement("div",{className:`${ie.Z.inputBorder} ${ie.Z.placeholder} inputBorderError`},x))},6507:function(bt,It,te){"use strict";te.d(It,{W:function(){return Oe}});var ee=te(59301),ie=te(8591),Ae=te(12563),Ge=te(78241),Ce=te(78673),Fe=te(95237),re=te(43604),Je=te(6848),Qe=te(92832),Ze=te(5871),lt=te(11037),pt=te(64542),Te=te(23469),oe=te(61485),y=Object.defineProperty,a=Object.defineProperties,b=Object.getOwnPropertyDescriptors,E=Object.getOwnPropertySymbols,x=Object.prototype.hasOwnProperty,z=Object.prototype.propertyIsEnumerable,ne=(ge,it,Le)=>it in ge?y(ge,it,{enumerable:!0,configurable:!0,writable:!0,value:Le}):ge[it]=Le,ae=(ge,it)=>{for(var Le in it||(it={}))x.call(it,Le)&&ne(ge,Le,it[Le]);if(E)for(var Le of E(it))z.call(it,Le)&&ne(ge,Le,it[Le]);return ge},le=(ge,it)=>a(ge,b(it)),se=(ge,it)=>{var Le={};for(var Ke in ge)x.call(ge,Ke)&&it.indexOf(Ke)<0&&(Le[Ke]=ge[Ke]);if(ge!=null&&E)for(var Ke of E(ge))it.indexOf(Ke)<0&&z.call(ge,Ke)&&(Le[Ke]=ge[Ke]);return Le};const ce=ge=>{var it=ge,{value:Le,onChange:Ke}=it,ye=se(it,["value","onChange"]);const je=qe=>{Ke([qe])};return ee.createElement(Te.Z,le(ae({},ye),{defaultValue:Le==null?void 0:Le[0],onChange:je}))},be=ge=>{if(!ge)return!1;if(/^s*$/.test(ge)||ge.trim()===""){ie.ZP.warning("\u5173\u952E\u8BCD\u4E0D\u80FD\u5168\u4E3A\u7A7A\u683C");return}let it=new RegExp("[ `~!@#$^&*()={}':;,\\[\\].<>/?~\uFF01@#\uFFE5\u2026\u2026&*\uFF08\uFF09\u2014\u3010\u3011\u2018\uFF1B\uFF1A\u201D\u201C\u3002\uFF0C\u3001\uFF1F\u300C\u300D\u300E\u300F_\\+\\-\xB7%\u300A\u300B]|[\\\\/]");return ge==="|"?(ie.ZP.warning("\u5173\u952E\u8BCD\u4E0D\u80FD\u53EA\u8F93\u5165\u4E00\u4E2A\u201C|\u201D\u5B57\u7B26\uFF01"),!1):!0},fe=({value:ge=[],onClose:it})=>ee.createElement(Ae.default,{closable:!0,onClose:it,className:lt.Z.keywordTag},ee.createElement("pre",{style:{margin:"0px",whiteSpace:"pre-wrap"}},ge.join(" \u6216 "))),Oe=({questionTitlePlaceholder:ge,form:it,showKeywords:Le,isMustKeyWords:Ke=Le})=>{const[ye,je]=(0,ee.useState)(!1),[qe,$e]=(0,ee.useState)(""),Ue=Ge.default.useWatch("use_keywords",it),Rt=Ge.default.useWatch("question_score",it);return ee.createElement("div",{className:lt.Z.wrap},ee.createElement("div",{className:lt.Z.questionTitleEditorWrap},ee.createElement(Ge.default.Item,{label:"\u9898\u5E72",name:"name",labelCol:{span:24},rules:[{required:!0}]},ee.createElement(pt.h,{scrollId:"name",watch:!0,height:140,placeholder:ge}))),ee.createElement(Ge.default.Item,{label:"\u53C2\u8003\u7B54\u6848",name:"answer_texts",labelCol:{span:24}},ee.createElement(ce,{watch:!0,height:140,placeholder:"\u8BF7\u7F16\u8F91\u53C2\u8003\u7B54\u6848\uFF08\u975E\u5FC5\u586B\uFF09"})),Le&&!Ke&&ee.createElement(Ge.default.Item,{hidden:!0,name:"use_keywords",valuePropName:"checked"},ee.createElement(Ce.Z,{defaultChecked:!0})),Le&&Ke&&ee.createElement(Fe.Z,{align:"middle",className:"mb30"},ee.createElement(Ge.default.Item,{name:"use_keywords",valuePropName:"checked"},ee.createElement(Ce.Z,null)),ee.createElement(re.Z,{className:"ml10"},"\u5F00\u542F\u5173\u952E\u8BCD\u81EA\u52A8\u5224\u5206"),ee.createElement(re.Z,null,ee.createElement(Je.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(oe.Z,{style:{color:"#3061D0",marginLeft:6,cursor:"pointer"}})))),(Ue||!Ke)&&ee.createElement(Ge.default.List,{name:"keywords",rules:[{validator(Ye,Dt){return Ke?Dt!=null&&Dt.length?(Dt==null?void 0:Dt.reduce((Me,ke)=>Me+ke.score,0))>parseFloat(Rt)?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()}}]},(Ye,{add:Dt,remove:qt})=>ee.createElement(ee.Fragment,null,ee.createElement("div",{className:`${lt.Z.title} mb10`},Ke?"\u5173\u952E\u8BCD":ee.createElement("span",{style:{color:"#9096A3"}},"\u5224\u5206\u5173\u952E\u8BCD")),ee.createElement(Fe.Z,{align:"middle",className:"font14 mb30"},ee.createElement(re.Z,{flex:1},ee.createElement(Qe.default,{value:qe,onChange:Me=>{$e(Me.target.value)},maxLength:50,allowClear:!0,onPressEnter:Me=>{var ke,Pt,Gt,mt;const Jt=`${(ke=Me.target)==null?void 0:ke.value}`,Be=(Gt=(Pt=Jt==null?void 0:Jt.split("|"))==null?void 0:Pt.filter(St=>!!St))==null?void 0:Gt.map(St=>St==null?void 0:St.trim()),Xt=it.getFieldValue("keywords"),pn=((mt=Xt==null?void 0:Xt.map(St=>St==null?void 0:St.keyword))==null?void 0:mt.flat())||[];for(const St of Be)if(pn.includes(St)){ie.ZP.error("\u4E3A\u907F\u514D\u5224\u5206\u9519\u8BEF\uFF0C\u8BF7\u52FF\u8BBE\u7F6E\u76F8\u540C\u7684\u5173\u952E\u8BCD");return}be(Jt)&&(Dt({keyword:Be,score:1}),$e(""))},className:lt.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(re.Z,{flex:"148px",style:{textAlign:"right",color:"#e99237"}},"\u201C\u56DE\u8F66\u952E\u201D\u4FDD\u5B58\u5173\u952E\u8BCD")),Ye.map(Me=>{var ke=Me,{key:Pt,name:Gt}=ke,mt=se(ke,["key","name"]);return ee.createElement(Fe.Z,{key:Pt,className:"mb20",style:{marginRight:148}},ee.createElement(re.Z,{flex:1},ee.createElement(Fe.Z,{align:"middle",justify:"space-between"},ee.createElement(Ge.default.Item,le(ae({},mt),{name:[Gt,"keyword"]}),ee.createElement(fe,{onClose:()=>qt(Gt)})),Ke&&ee.createElement(Ge.default.Item,le(ae({},mt),{name:[Gt,"score"],label:"\u5206\u503C",rules:[{required:!0}],className:lt.Z.blankInputNumberWrapper}),ee.createElement(Ze.Z,{className:lt.Z.blankInput,min:.1,max:100,precision:1,style:{width:"100%"},placeholder:"\u8BF7\u8F93\u5165\u5173\u952E\u8BCD\u5206\u6570"})))))}))),ee.createElement("div",{onClick:()=>je(!0)},ee.createElement(Ge.default.Item,{name:"analysis",label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},ee.createElement(pt.x,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:ye}))))}},26696:function(bt,It,te){"use strict";te.d(It,{tc:function(){return On.t},uh:function(){return ee.u},rL:function(){return Sn},u8:function(){return Ae.u},ZZ:function(){return ie.Z},Wk:function(){return Ge.W}});var ee=te(74830),ie=te(41673),Ae=te(26778),Ge=te(6507),Ce=te(59301),Fe=te(36381),re=te(78241),Je=te(95237),Qe=te(43604),Ze=te(5871),lt=te(6848),pt=te(38854),Te=te(11037),oe=te(12893),y=te(64542),a=te(43418),b=te(92832),E=te(78673),x=te(59301),z=Object.defineProperty,ne=Object.defineProperties,ae=Object.getOwnPropertyDescriptors,le=Object.getOwnPropertySymbols,se=Object.prototype.hasOwnProperty,ce=Object.prototype.propertyIsEnumerable,be=(Lt,Ct,Ut)=>Ct in Lt?z(Lt,Ct,{enumerable:!0,configurable:!0,writable:!0,value:Ut}):Lt[Ct]=Ut,fe=(Lt,Ct)=>{for(var Ut in Ct||(Ct={}))se.call(Ct,Ut)&&be(Lt,Ut,Ct[Ut]);if(le)for(var Ut of le(Ct))ce.call(Ct,Ut)&&be(Lt,Ut,Ct[Ut]);return Lt},Oe=(Lt,Ct)=>ne(Lt,ae(Ct)),ge=(Lt,Ct)=>{var Ut={};for(var cn in Lt)se.call(Lt,cn)&&Ct.indexOf(cn)<0&&(Ut[cn]=Lt[cn]);if(Lt!=null&&le)for(var cn of le(Lt))Ct.indexOf(cn)<0&&ce.call(Lt,cn)&&(Ut[cn]=Lt[cn]);return Ut};const it=({value:Lt,onChange:Ct})=>{const Ut=sn=>{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:Te.Z.modal,onOk:()=>{const Nn=[...Lt];Nn.splice(sn,1),Ct(Nn)}})},cn=()=>{const sn=[...Lt];sn.push(""),Ct(sn)};return x.createElement(Je.Z,{className:"ml20"},x.createElement(Qe.Z,{flex:1},Lt==null?void 0:Lt.map((sn,Nn)=>x.createElement(Je.Z,{key:`${sn}_${Nn}`,align:"middle",className:"mb20"},x.createElement(b.default.TextArea,{style:{flex:1,minHeight:44},defaultValue:sn,autoSize:{maxRows:3},maxLength:1e3,onBlur:nt=>{const Bt=[...Lt],Qt=nt.target.value.trim();Bt[Nn]=Qt,Ct(Bt)}}),x.createElement(lt.Z,{title:"\u5220\u9664"},x.createElement(oe.Z,{className:Te.Z.deleteIcon,style:{marginLeft:15,visibility:Nn>0?"visible":"hidden"},onClick:()=>Ut(Nn)}))))),x.createElement(Qe.Z,null,x.createElement("div",{className:`${Te.Z.addBtn}`,onClick:()=>{cn()}},"\u65B0\u589E\u7B54\u6848")))},Le=({value:Lt=!0,onChange:Ct})=>x.createElement(E.Z,{checked:!Lt,onChange:Ut=>{Ct(!Ut)}}),Ke="\u2581",ye=({questionTitlePlaceholder:Lt,form:Ct,name:Ut,scoreByBlank:cn=!1,answerKey:sn,titleKey:Nn="name",analysisKey:nt="analysis",isOrdered:Bt="is_ordered"})=>{var Qt,yn;const[Pe,Ve]=(0,Ce.useState)(!1),st=(ct,jt)=>{const Ot=jt.line;let vn=0;for(let en=0;en<Ot;en++)vn+=ct.getLine(en).split(Ke).length-1;const fn=ct.getLine(Ot).substring(0,jt.ch);return vn+=fn.split(Ke).length-1,vn},gt=(ct,jt,Ot,vn)=>{const fn=ct.getRange(jt.from,jt.to);let en=0;if(jt.text.forEach(xn=>{en+=xn.split(Ke).length-1}),jt.origin!=="setValue"){if(fn&&fn.indexOf(Ke)!==-1){const xn=fn.split(Ke).length-1,Qn=st(ct,jt.from);if(console.log(`\u5220\u9664${xn}\u4E2A\uFF0C \u524D\u9762\u6709${Qn}\u4E2A\uFF0C\u65B0\u589E${en}\u4E2A`),xn>1){const on=Array.from({length:xn},(Un,$n)=>Qn+$n);vn(on)}else vn(Qn)}else if(en>0){const xn=st(ct,jt.from);console.log(`\u65B0\u589E${en}\u4E2A\uFF0C\u4E4B\u524D\u6709${xn}\u4E2A`),Ot(en,xn)}}},xt=()=>{const ct=Ct.getFieldValue(["sub_item_banks",...sn]);Ct.setFieldValue(["sub_item_banks",...sn],ct==null?void 0:ct.map((jt,Ot)=>Oe(fe({},jt),{position:Ot+1})))},$t=(0,Ce.useRef)(),Ft=(ct,jt)=>{for(let Ot=0;Ot<ct;Ot++)$t.current({position:null,answer_text:[""]},jt+Ot);xt()},ze=(0,Ce.useRef)(),We=ct=>{ze.current(ct),xt()},Re=(yn=(Qt=Ct.getFieldValue("sub_item_banks"))==null?void 0:Qt[sn==null?void 0:sn[0]])==null?void 0:yn[sn==null?void 0:sn[1]];return(0,Ce.useEffect)(()=>{console.log("========",Ct.getFieldsValue())},[Ct]),x.createElement("div",{className:Te.Z.wrap},x.createElement("div",{className:Te.Z.questionTitleEditorWrap},x.createElement(re.default.Item,{label:"\u9898\u5E72",name:Nn,labelCol:{span:24},rules:[{required:!0}]},x.createElement(y.h,{scrollId:"name",watch:!0,height:140,placeholder:Lt,showNullButton:!0,onCMBeforeChange:(ct,jt)=>{gt(ct,jt,Ft,We)}}))),x.createElement(re.default.List,{name:sn,rules:[{validator(ct,jt){if((jt==null?void 0:jt.length)===0)return Promise.reject(new Error("\u8BF7\u5148\u5728\u9898\u5E72\u4E2D\u63D2\u5165\u586B\u7A7A\u9879"));for(const Ot of jt){const{answer_text:vn}=Ot||{};if(vn!=null&&vn.some(fn=>(fn==null?void 0:fn.length)===0))return Promise.reject(new Error("\u586B\u7A7A\u9879\u7B54\u6848\u4E0D\u80FD\u4E3A\u7A7A"))}return Promise.resolve()}}]},(ct,{add:jt,remove:Ot},{errors:vn})=>($t.current=jt,ze.current=Ot,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((fn,en)=>{var xn=fn,{key:Qn,name:on}=xn,Un=ge(xn,["key","name"]);return x.createElement(Je.Z,{align:"top",key:Qn},x.createElement(Qe.Z,{className:`${Te.Z.blankIndex} pt5`},"\u586B\u7A7A\u9879",en+1),x.createElement(Qe.Z,{flex:1},x.createElement(Je.Z,{align:"top",justify:"space-between"},x.createElement(Qe.Z,{flex:1},x.createElement(re.default.Item,Oe(fe({},Un),{name:[on,"answer_text"],noStyle:!0}),x.createElement(it,null))),cn&&x.createElement(Qe.Z,{flex:"224px"},x.createElement(re.default.Item,Oe(fe({},Un),{name:[on,"score"],label:"\u5206\u503C",rules:[{required:!0}],className:Te.Z.blankInputNumberWrapper}),x.createElement(Ze.Z,{className:Te.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,Oe(fe({},Un),{name:[on,"position"],noStyle:!0}),x.createElement(b.default,{type:"hidden"}))))})))),x.createElement(Je.Z,{align:"middle"},x.createElement(re.default.Item,{name:[Ut,"downcase"],valuePropName:"checked"},x.createElement(E.Z,null)),x.createElement(Qe.Z,{className:"ml10"},"\u5224\u5206\u65F6\u5FFD\u7565\u7B54\u6848\u4E2D\u7684\u5B57\u6BCD\u5927\u5C0F\u5199")),x.createElement(Je.Z,{align:"middle"},x.createElement(re.default.Item,{name:[Ut,"no_space"],valuePropName:"checked"},x.createElement(E.Z,null)),x.createElement(Qe.Z,{className:"ml10"},"\u5224\u5206\u65F6\u5FFD\u7565\u7B54\u6848\u4E2D\u7684\u7A7A\u683C")),(Re==null?void 0:Re.length)>1&&x.createElement(Je.Z,{align:"middle",className:(Re==null?void 0:Re.length)>1?"mb30":`${Te.Z.hide}`},x.createElement(re.default.Item,{name:Bt},x.createElement(Le,null)),x.createElement(Qe.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:()=>Ve(!0)},x.createElement(re.default.Item,{name:nt,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:Pe}))))};var je=te(59301),qe=Object.defineProperty,$e=Object.defineProperties,Ue=Object.getOwnPropertyDescriptors,Rt=Object.getOwnPropertySymbols,Ye=Object.prototype.hasOwnProperty,Dt=Object.prototype.propertyIsEnumerable,qt=(Lt,Ct,Ut)=>Ct in Lt?qe(Lt,Ct,{enumerable:!0,configurable:!0,writable:!0,value:Ut}):Lt[Ct]=Ut,Me=(Lt,Ct)=>{for(var Ut in Ct||(Ct={}))Ye.call(Ct,Ut)&&qt(Lt,Ut,Ct[Ut]);if(Rt)for(var Ut of Rt(Ct))Dt.call(Ct,Ut)&&qt(Lt,Ut,Ct[Ut]);return Lt},ke=(Lt,Ct)=>$e(Lt,Ue(Ct)),Pt=(Lt,Ct)=>{var Ut={};for(var cn in Lt)Ye.call(Lt,cn)&&Ct.indexOf(cn)<0&&(Ut[cn]=Lt[cn]);if(Lt!=null&&Rt)for(var cn of Rt(Lt))Ct.indexOf(cn)<0&&Dt.call(Lt,cn)&&(Ut[cn]=Lt[cn]);return Ut};const Gt={\u6B63\u786E:"T",\u9519\u8BEF:"F"},mt=({value:Lt,onChange:Ct,form:Ut,choiceKey:cn})=>{const sn=(Lt==null?void 0:Lt.is_answer)===1,Nn=Lt==null?void 0:Lt.choice_text,nt=()=>{var Bt;const Qt=(Bt=Ut==null?void 0:Ut.getFieldValue(["sub_item_banks",...cn]))==null?void 0:Bt.map(yn=>({choice_text:yn.choice_text,is_answer:0}));Ut==null||Ut.setFieldValue(["sub_item_banks",...cn],Qt),Ct(ke(Me({},Lt),{is_answer:1}))};return je.createElement(Je.Z,{className:Te.Z.choiceWrap,align:"middle",wrap:!1},je.createElement(Qe.Z,{onClick:nt,className:`${Te.Z.choiceIndex} ${Te.Z.judgementIndex} ${sn?Te.Z.activeAnswer:""}`},Gt[Nn]),je.createElement(Qe.Z,{flex:1,className:`${Te.Z.editorWrap} ml15`},je.createElement("div",{className:`${Te.Z.inputBorder} ${Te.Z.placeholder} ${sn?Te.Z.activeJudgementAnswer:""}`},Nn)),je.createElement(Qe.Z,{flex:"0 0 auto",className:"ml15"},je.createElement("div",{onClick:nt,className:`${Te.Z.setAnswerBtn} ${sn?Te.Z.activeAnswer:""}`},sn?"\u6B63\u786E\u7B54\u6848":"\u8BBE\u4E3A\u7B54\u6848")))},Jt=({questionTitlePlaceholder:Lt,choiceKey:Ct="choices",form:Ut,titleKey:cn="name",analysisKey:sn="analysis"})=>{const[Nn,nt]=(0,Ce.useState)(!1);return je.createElement("div",{className:Te.Z.wrap},je.createElement("div",{className:Te.Z.questionTitleEditorWrap},je.createElement(re.default.Item,{label:"\u9898\u5E72",name:cn,labelCol:{span:24},rules:[{required:!0}]},je.createElement(y.h,{scrollId:"name",watch:!0,height:140,placeholder:Lt}))),je.createElement(re.default.Item,{label:"\u7B54\u6848\u9009\u9879",required:!0,labelCol:{span:24}},je.createElement(re.default.List,{name:Ct,rules:[{validator(Bt,Qt){return Qt.some(Pe=>(Pe==null?void 0:Pe.is_answer)===1)?Promise.resolve():Promise.reject(new Error("\u8BF7\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848"))}}]},Bt=>je.createElement("div",{id:"choices",style:{display:"flex",flexDirection:"column",gap:"20px"}},Bt.map(Qt=>{var yn=Qt,{key:Pe,name:Ve}=yn,st=Pt(yn,["key","name"]);return je.createElement(re.default.Item,ke(Me({},st),{key:Pe,name:Ve,noStyle:!0}),je.createElement(mt,{form:Ut,choiceKey:Ct}))})))),je.createElement("div",{className:"mt30",onClick:()=>nt(!0)},je.createElement(re.default.Item,{name:sn,label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},je.createElement(y.x,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:Nn}))))};var Be=te(8591),Xt=te(12563),pn=te(23469),St=te(61485),ut=Object.defineProperty,Xe=Object.defineProperties,Ie=Object.getOwnPropertyDescriptors,he=Object.getOwnPropertySymbols,de=Object.prototype.hasOwnProperty,Ne=Object.prototype.propertyIsEnumerable,at=(Lt,Ct,Ut)=>Ct in Lt?ut(Lt,Ct,{enumerable:!0,configurable:!0,writable:!0,value:Ut}):Lt[Ct]=Ut,Se=(Lt,Ct)=>{for(var Ut in Ct||(Ct={}))de.call(Ct,Ut)&&at(Lt,Ut,Ct[Ut]);if(he)for(var Ut of he(Ct))Ne.call(Ct,Ut)&&at(Lt,Ut,Ct[Ut]);return Lt},ve=(Lt,Ct)=>Xe(Lt,Ie(Ct)),et=(Lt,Ct)=>{var Ut={};for(var cn in Lt)de.call(Lt,cn)&&Ct.indexOf(cn)<0&&(Ut[cn]=Lt[cn]);if(Lt!=null&&he)for(var cn of he(Lt))Ct.indexOf(cn)<0&&Ne.call(Lt,cn)&&(Ut[cn]=Lt[cn]);return Ut};const De=Lt=>{var Ct=Lt,{value:Ut,onChange:cn}=Ct,sn=et(Ct,["value","onChange"]);const Nn=nt=>{cn([nt])};return Ce.createElement(pn.Z,ve(Se({},sn),{defaultValue:Ut==null?void 0:Ut[0],onChange:Nn}))},Ee=Lt=>{if(!Lt)return!1;let Ct=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==="|"?(Be.ZP.warning("\u5173\u952E\u8BCD\u4E0D\u80FD\u53EA\u8F93\u5165\u4E00\u4E2A\u201C|\u201D\u5B57\u7B26\uFF01"),!1):!0},_e=({value:Lt=[],onClose:Ct})=>Ce.createElement(Xt.default,{closable:!0,onClose:Ct,className:Te.Z.keywordTag},Ce.createElement("pre",{style:{margin:"0px",whiteSpace:"pre-wrap"}},Lt.join(" \u6216 "))),Wt=({questionTitlePlaceholder:Lt,form:Ct,showKeywords:Ut,isMustKeyWords:cn=Ut,titleKey:sn="name",analysisKey:Nn="analysis",answerTexts:nt="answer_texts",keywords:Bt="keywords",useKeywords:Qt="use_keywords",indexs:yn})=>{const[Pe,Ve]=(0,Ce.useState)(!1),[st,gt]=(0,Ce.useState)(""),[xt,$t]=(0,Ce.useState)(!1),Ft=re.default.useWatch("question_score",Ct);return Ce.createElement("div",{className:Te.Z.wrap},Ce.createElement("div",{className:Te.Z.questionTitleEditorWrap},Ce.createElement(re.default.Item,{label:"\u9898\u5E72",name:sn,labelCol:{span:24},rules:[{required:!0}]},Ce.createElement(y.h,{scrollId:"name",watch:!0,height:140,placeholder:Lt}))),Ce.createElement(re.default.Item,{label:"\u53C2\u8003\u7B54\u6848",name:nt,labelCol:{span:24}},Ce.createElement(De,{watch:!0,height:140,placeholder:"\u8BF7\u7F16\u8F91\u53C2\u8003\u7B54\u6848\uFF08\u975E\u5FC5\u586B\uFF09"})),Ut&&!cn&&Ce.createElement(re.default.Item,{hidden:!0,name:Qt,valuePropName:"checked"},Ce.createElement(E.Z,{defaultChecked:!0})),Ut&&cn&&Ce.createElement(Je.Z,{align:"middle",className:"mb30"},Ce.createElement(re.default.Item,{name:Qt,valuePropName:"checked"},Ce.createElement(E.Z,{onChange:()=>{var ze,We,Re,ct,jt,Ot;console.log(Ct.getFieldsValue()),$t((Re=(We=(ze=Ct.getFieldsValue())==null?void 0:ze.sub_item_banks)==null?void 0:We[yn])==null?void 0:Re.use_keywords),console.log((Ot=(jt=(ct=Ct.getFieldsValue())==null?void 0:ct.sub_item_banks)==null?void 0:jt[yn])==null?void 0:Ot.use_keywords),console.log(xt)}})),Ce.createElement(Qe.Z,{className:"ml10"},"\u5F00\u542F\u5173\u952E\u8BCD\u81EA\u52A8\u5224\u5206"),Ce.createElement(Qe.Z,null,Ce.createElement(lt.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"},Ce.createElement(St.Z,{style:{color:"#3061D0",marginLeft:6,cursor:"pointer"}})))),(xt||!cn)&&Ce.createElement(re.default.List,{name:Bt,rules:[{validator(ze,We){return cn?We!=null&&We.length?(We==null?void 0:We.reduce((ct,jt)=>ct+jt.score,0))>parseFloat(Ft)?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()}}]},(ze,{add:We,remove:Re})=>Ce.createElement(Ce.Fragment,null,Ce.createElement("div",{className:`${Te.Z.title} mb10`},cn?"\u5173\u952E\u8BCD":Ce.createElement("span",{style:{color:"#9096A3"}},"\u5224\u5206\u5173\u952E\u8BCD")),Ce.createElement(Je.Z,{align:"middle",className:"font14 mb30"},Ce.createElement(Qe.Z,{flex:1},Ce.createElement(b.default,{value:st,onChange:ct=>{gt(ct.target.value)},maxLength:50,allowClear:!0,onPressEnter:ct=>{var jt,Ot,vn,fn;const en=`${(jt=ct.target)==null?void 0:jt.value}`,xn=(vn=(Ot=en==null?void 0:en.split("|"))==null?void 0:Ot.filter(Un=>!!Un))==null?void 0:vn.map(Un=>Un==null?void 0:Un.trim()),Qn=Ct.getFieldValue(["sub_item_banks",...Bt]),on=((fn=Qn==null?void 0:Qn.map(Un=>Un==null?void 0:Un.keyword))==null?void 0:fn.flat())||[];for(const Un of xn)if(on.includes(Un)){Be.ZP.error("\u4E3A\u907F\u514D\u5224\u5206\u9519\u8BEF\uFF0C\u8BF7\u52FF\u8BBE\u7F6E\u76F8\u540C\u7684\u5173\u952E\u8BCD");return}Ee(en)&&(We({keyword:xn,score:1}),gt(""))},className:Te.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"})),Ce.createElement(Qe.Z,{flex:"148px",style:{textAlign:"right",color:"#e99237"}},"\u201C\u56DE\u8F66\u952E\u201D\u4FDD\u5B58\u5173\u952E\u8BCD")),ze.map(ct=>{var jt=ct,{key:Ot,name:vn}=jt,fn=et(jt,["key","name"]);return Ce.createElement(Je.Z,{key:Ot,className:"mb20",style:{marginRight:148}},Ce.createElement(Qe.Z,{flex:1},Ce.createElement(Je.Z,{align:"middle",justify:"space-between"},Ce.createElement(re.default.Item,ve(Se({},fn),{name:[vn,"keyword"]}),Ce.createElement(_e,{onClose:()=>Re(vn)})),cn&&Ce.createElement(re.default.Item,ve(Se({},fn),{name:[vn,"score"],label:"\u5206\u503C",rules:[{required:!0}],className:Te.Z.blankInputNumberWrapper}),Ce.createElement(Ze.Z,{className:Te.Z.blankInput,min:.1,max:100,precision:1,style:{width:"100%"},placeholder:"\u8BF7\u8F93\u5165\u5173\u952E\u8BCD\u5206\u6570"})))))}))),Ce.createElement("div",{onClick:()=>Ve(!0)},Ce.createElement(re.default.Item,{name:Nn,label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},Ce.createElement(y.x,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:Pe}))))};var ht=te(59301),Tt=Object.defineProperty,Mt=Object.defineProperties,Zt=Object.getOwnPropertyDescriptors,xe=Object.getOwnPropertySymbols,dt=Object.prototype.hasOwnProperty,vt=Object.prototype.propertyIsEnumerable,ft=(Lt,Ct,Ut)=>Ct in Lt?Tt(Lt,Ct,{enumerable:!0,configurable:!0,writable:!0,value:Ut}):Lt[Ct]=Ut,Nt=(Lt,Ct)=>{for(var Ut in Ct||(Ct={}))dt.call(Ct,Ut)&&ft(Lt,Ut,Ct[Ut]);if(xe)for(var Ut of xe(Ct))vt.call(Ct,Ut)&&ft(Lt,Ut,Ct[Ut]);return Lt},Vt=(Lt,Ct)=>Mt(Lt,Zt(Ct)),nn=(Lt,Ct)=>{var Ut={};for(var cn in Lt)dt.call(Lt,cn)&&Ct.indexOf(cn)<0&&(Ut[cn]=Lt[cn]);if(Lt!=null&&xe)for(var cn of xe(Lt))Ct.indexOf(cn)<0&&vt.call(Lt,cn)&&(Ut[cn]=Lt[cn]);return Ut};const{Panel:an}=Fe.default,Sn=({questionTitlePlaceholder:Lt,choiceKey:Ct,form:Ut,withScore:cn})=>{const[sn,Nn]=(0,Ce.useState)([]),nt=Bt=>{Nn(Bt)};return ht.createElement("div",{className:Te.Z.wrap},ht.createElement("div",{className:Te.Z.questionTitleEditorWrap},ht.createElement(re.default.Item,{label:"\u9898\u5E72",name:"name",labelCol:{span:24},rules:[{required:!0}]},ht.createElement(y.h,{scrollId:"name",watch:!0,height:140,placeholder:Lt}))),ht.createElement(re.default.Item,{label:"\u5C0F\u9898",required:!0,labelCol:{span:24}}),ht.createElement(re.default.List,{name:"sub_item_banks",rules:[{validator(Bt,Qt){return Qt?Promise.resolve():Promise.reject(new Error("\u8BF7\u6DFB\u52A0\u5C0F\u9898"))}}]},(Bt,{add:Qt,remove:yn,move:Pe})=>{const Ve=Ut.getFieldValue("sub_item_banks");return ht.createElement(ht.Fragment,null,ht.createElement(Fe.default,{className:Bt.length>0?Te.Z.collapseWrapper:"",bordered:!1,activeKey:sn,onChange:nt,expandIcon:({isActive:st})=>ht.createElement("i",{className:`iconfont icon-weizhankai ${st?Te.Z.open:Te.Z.close}`,style:{fontSize:14,transition:"all .2s"}})},Bt.map((st,gt)=>{var xt=st,{key:$t,name:Ft}=xt,ze=nn(xt,["key","name"]),We,Re,ct,jt,Ot,vn,fn,en,xn,Qn;return ht.createElement(an,{className:Te.Z.panel,forceRender:!0,header:ht.createElement("div",{className:Te.Z.panelHeader},"\u7B2C",gt+1,"\u5C0F\u9898",ht.createElement("span",null,"\uFF08",((We=Ve==null?void 0:Ve[Ft])==null?void 0:We.item_type)=="SINGLE"?"\u5355\u9009\u9898":((Re=Ve==null?void 0:Ve[Ft])==null?void 0:Re.item_type)=="MULTIPLE"?"\u591A\u9009\u9898":((ct=Ve==null?void 0:Ve[Ft])==null?void 0:ct.item_type)=="COMPLETION"?"\u586B\u7A7A\u9898":((jt=Ve==null?void 0:Ve[Ft])==null?void 0:jt.item_type)=="JUDGMENT"?"\u5224\u65AD\u9898":"\u7B80\u7B54\u9898","\uFF09")),key:Ft,extra:ht.createElement(Je.Z,{align:"middle",onClick:on=>on.stopPropagation()},cn&&ht.createElement(Qe.Z,null,ht.createElement(re.default.Item,Vt(Nt({},ze),{rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5C0F\u9898\u5206\u503C"}],label:"\u5206\u503C",name:[Ft,"question_score"],className:Te.Z.blankInputNumberWrapper}),ht.createElement(Ze.Z,{className:Te.Z.blankInput,placeholder:"\u8BF7\u8F93\u5165\u5F53\u524D\u5C0F\u9898\u5206\u6570",min:.1,precision:1,max:100,style:{width:150}}))),ht.createElement(Qe.Z,null,ht.createElement(Je.Z,{align:"middle",className:"pl40",justify:"end"},gt!==0&&ht.createElement("div",{onClick:()=>{var on;Pe(gt,gt-1);const Un=(on=Ut.getFieldValue("sub_item_banks"))==null?void 0:on.map(($n,ca)=>(Bt.map((qn,tt)=>{ca===tt&&($n.q_position=Number(qn.name)+1)}),$n));Ut.setFieldValue("sub_item_banks",Un)}},ht.createElement(lt.Z,{title:"\u4E0A\u79FB"},ht.createElement("i",{className:"iconfont icon-shangyi3 c-grey-999 primary-hover"}))),gt<Bt.length-1&&ht.createElement("div",{onClick:()=>{var on;Pe(gt,gt+1);const Un=(on=Ut.getFieldValue("sub_item_banks"))==null?void 0:on.map(($n,ca)=>(Bt.map((qn,tt)=>{ca===tt&&($n.q_position=Number(qn.name)+1)}),$n));Ut.setFieldValue("sub_item_banks",Un)},className:gt===0?"":"ml15"},ht.createElement(lt.Z,{title:"\u4E0B\u79FB"},ht.createElement("i",{className:"iconfont icon-xiayi3 c-grey-999 primary-hover"}))))),ht.createElement(Qe.Z,null,ht.createElement(lt.Z,{title:"\u5220\u9664"},ht.createElement(oe.Z,{className:`${Te.Z.deleteIcon} ml15`,onClick:()=>yn(Ft)}))))},ht.createElement(re.default.Item,Vt(Nt({},ze),{name:Ft}),(((Ot=Ve==null?void 0:Ve[Ft])==null?void 0:Ot.item_type)=="SINGLE"||((vn=Ve==null?void 0:Ve[Ft])==null?void 0:vn.item_type)=="MULTIPLE")&&ht.createElement(ee.u,{questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u9009\u62E9\u9898\u9898\u5E72\u5185\u5BB9",allowChangeMode:((fn=Ve==null?void 0:Ve[Ft])==null?void 0:fn.item_type)=="MULTIPLE",form:Ut,choiceKey:[Ft,"choices"],titleKey:[Ft,"name"],analysisKey:[Ft,"analysis"],choiceOptionsPath:["sub_item_banks",Ft,"choices"],choiceTextKey:"choice_text",answerKey:"is_answer"}),((en=Ve==null?void 0:Ve[Ft])==null?void 0:en.item_type)=="COMPLETION"&&ht.createElement(ye,{form:Ut,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u9898\u5E72\u5E76\u8BBE\u7F6E\u586B\u7A7A\u9879",scoreByBlank:!1,name:Ft,titleKey:[Ft,"name"],analysisKey:[Ft,"analysis"],isOrdered:[Ft,"is_ordered"],answerKey:[Ft,"standard_answers"]}),((xn=Ve==null?void 0:Ve[Ft])==null?void 0:xn.item_type)=="JUDGMENT"&&ht.createElement(Jt,{form:Ut,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u5224\u65AD\u9898\u9898\u5E72\u5185\u5BB9",titleKey:[Ft,"name"],analysisKey:[Ft,"analysis"],choiceKey:[Ft,"choices"]}),((Qn=Ve==null?void 0:Ve[Ft])==null?void 0:Qn.item_type)=="SUBJECTIVE"&&ht.createElement(Wt,{showKeywords:!0,isMustKeyWords:!1,form:Ut,titleKey:[Ft,"name"],analysisKey:[Ft,"analysis"],answerTexts:[Ft,"answer_texts"],useKeywords:[Ft,"use_keywords"],keywords:[Ft,"keywords"],indexs:Ft,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u7B80\u7B54\u9898\u9898\u5E72\u5185\u5BB9"})))})),Bt.length<20&&ht.createElement(pt.Z,{menu:{items:[{label:ht.createElement("div",{onClick:()=>{Qt({name:"",choices:Array.from({length:4},()=>({choice_text:"",is_answer:0})),analysis:"",item_type:"SINGLE"}),Nn([Bt==null?void 0:Bt.length,...sn])}},"\u5355\u9009\u9898"),key:"1",show:!0},{label:ht.createElement("div",{onClick:()=>{Qt({name:"",choices:Array.from({length:4},()=>({choice_text:"",is_answer:0})),analysis:"",item_type:"MULTIPLE"}),Nn([Bt==null?void 0:Bt.length,...sn])}},"\u591A\u9009\u9898"),key:"2",show:!0},{label:ht.createElement("div",{onClick:()=>{Qt({name:"",choices:[{choice_text:"\u6B63\u786E",is_answer:0},{choice_text:"\u9519\u8BEF",is_answer:0}],analysis:"",item_type:"JUDGMENT"}),Nn([Bt==null?void 0:Bt.length,...sn])}},"\u5224\u65AD\u9898"),key:"3",show:!0},{label:ht.createElement("div",{onClick:()=>{Qt({name:"",analysis:"",is_ordered:!0,standard_answers:[],item_type:"COMPLETION",downcase:!0,no_space:!0}),Nn([Bt==null?void 0:Bt.length,...sn])}},"\u586B\u7A7A\u9898"),key:"4",show:!0},{label:ht.createElement("div",{onClick:()=>{Qt({name:"",answer_texts:[],keywords:[],use_keywords:!0,analysis:"",item_type:"SUBJECTIVE"}),Nn([Bt==null?void 0:Bt.length,...sn])}},"\u7B80\u7B54\u9898"),key:"5",show:!0}].filter(st=>st.show).map(st=>({label:st.label,key:st.key}))}},ht.createElement("div",{className:`${Te.Z.addBtn}`},"\u6DFB\u52A0\u5C0F\u9898")))}))};var On=te(35890)},1568:function(bt,It,te){"use strict";te.d(It,{h:function(){return ne}});var ee=te(59301),ie=te(57809),Ae=te(78241),Ge=te(3113),Ce=te(89780),Fe=te.n(Ce),re=te(79906),Je=te(44383),Qe=Object.defineProperty,Ze=Object.defineProperties,lt=Object.getOwnPropertyDescriptors,pt=Object.getOwnPropertySymbols,Te=Object.prototype.hasOwnProperty,oe=Object.prototype.propertyIsEnumerable,y=(ae,le,se)=>le in ae?Qe(ae,le,{enumerable:!0,configurable:!0,writable:!0,value:se}):ae[le]=se,a=(ae,le)=>{for(var se in le||(le={}))Te.call(le,se)&&y(ae,se,le[se]);if(pt)for(var se of pt(le))oe.call(le,se)&&y(ae,se,le[se]);return ae},b=(ae,le)=>Ze(ae,lt(le));const E=ie.default.Option,x={labelCol:{span:4},wrapperCol:{span:20}},z={asp:["ASP","vbscript"],actionscript:["ActionScript(3.0)/Flash/Flex","clike"],bash:["Bash/Bat","shell"],css:["CSS","css"],c:["C","clike"],cpp:["C++","clike"],csharp:["C#","clike"],coffeescript:["CoffeeScript","coffeescript"],d:["D","d"],dart:["Dart","dart"],delphi:["Delphi/Pascal","pascal"],erlang:["Erlang","erlang"],go:["Golang","go"],groovy:["Groovy","groovy"],html:["HTML","text/html"],java:["Java","clike"],json:["JSON","text/json"],javascript:["Javascript","javascript"],lua:["Lua","lua"],less:["LESS","css"],markdown:["Markdown","gfm"],"objective-c":["Objective-C","clike"],php:["PHP","php"],perl:["Perl","perl"],python:["Python","python"],r:["R","r"],rst:["reStructedText","rst"],ruby:["Ruby","ruby"],sql:["SQL","sql"],sass:["SASS/SCSS","sass"],shell:["Shell","shell"],scala:["Scala","clike"],swift:["Swift","clike"],vb:["VB/VBScript","vb"],xml:["XML","text/xml"],yaml:["YAML","yaml"]};It.Z=({callback:ae,onCancel:le})=>{const[se,ce]=(0,ee.useState)("python");function be(Oe){ce(z[Oe][1])}function fe(Oe){ae(Oe)}return ee.createElement(Ae.default,b(a({},x),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:fe,style:{width:500}}),ee.createElement(Ae.default.Item,{label:"\u4EE3\u7801\u8BED\u8A00",name:"language"},ee.createElement(ie.default,{getPopupContainer:Oe=>Oe.parentNode,onChange:be},Object.keys(z).map(Oe=>ee.createElement(E,{key:Oe,value:Oe},z[Oe][0])))),ee.createElement(Ae.default.Item,{label:"\u4EE3\u7801\u5185\u5BB9",name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EE3\u7801\u5185\u5BB9"}]},ee.createElement(ne,{mode:se})),ee.createElement("div",{className:"flex-container flex-end"},ee.createElement(Ge.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),ee.createElement(Ge.ZP,{type:"ghost",onClick:le},"\u53D6\u6D88")))};function ne({value:ae,onChange:le,mode:se,options:ce={}}){const be=(0,ee.useRef)(),[fe,Oe]=(0,ee.useState)();return(0,ee.useEffect)(()=>{if(fe){let ge=function(it){const Le=it.getValue();le&&le(Le)};return fe.on("change",ge),()=>{fe.off("change",ge)}}},[fe,le]),(0,ee.useEffect)(()=>{fe&&fe.setOption("mode",se)},[fe,se]),(0,ee.useEffect)(()=>{fe&&(ae!==fe.getValue()||ae==="")&&setTimeout(()=>{fe.setValue(ae||"")},300)},[fe,ae]),(0,ee.useEffect)(()=>{if(be.current&&!fe){const ge=Fe().fromTextArea(be.current,a({mode:se,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},ce));Oe(ge)}},[be.current,fe]),ee.createElement("div",{className:"my-codemirror-container"},ee.createElement("textarea",{ref:be}))}},23469:function(bt,It,te){"use strict";te.d(It,{Z:function(){return Ft}});var ee=te(59301),ie=te(89780),Ae=te.n(ie),Ge=te(76374),Ce=te(79906),Fe=te(6313),re=te(25717),Je=te(99498),Qe=te(25419),Ze=te(67549),lt=te(25711),pt=({value:ze="",className:We,showTextOnly:Re,showLines:ct,style:jt={}})=>{const Ot=(0,ee.useMemo)(()=>"",[ze]);return ee.createElement(ee.Fragment,null,ee.createElement("div",{dangerouslySetInnerHTML:{__html:Ot}}))},Te=te(59301),oe=Object.defineProperty,y=Object.defineProperties,a=Object.getOwnPropertyDescriptors,b=Object.getOwnPropertySymbols,E=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable,z=(ze,We,Re)=>We in ze?oe(ze,We,{enumerable:!0,configurable:!0,writable:!0,value:Re}):ze[We]=Re,ne=(ze,We)=>{for(var Re in We||(We={}))E.call(We,Re)&&z(ze,Re,We[Re]);if(b)for(var Re of b(We))x.call(We,Re)&&z(ze,Re,We[Re]);return ze},ae=(ze,We)=>y(ze,a(We));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 se({onActionCallback:ze,title:We,icon:Re,actionName:ct,className:jt="",children:Ot}){function vn(){ze(ct)}return Te.createElement("a",{title:We,className:jt,onClick:vn},Te.createElement("i",{className:`${Re}`}),Ot)}var ce=({watch:ze,showNullButton:We,showNullProgramButton:Re,onActionCallback:ct,fullScreen:jt,insertTemp:Ot,hidetoolBar:vn,extraUse:fn})=>{const en=[...le,{title:`${ze?"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8":"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"}`,icon:`${ze?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return Te.createElement("ul",{className:"markdown-toolbar-container"},!vn&&en.map((xn,Qn)=>Te.createElement("li",{key:Qn},xn.actionName?Te.createElement(se,ae(ne({},xn),{onActionCallback:ct})):Te.createElement("span",{className:"v-line"}))),We?Te.createElement("li",null,Te.createElement(se,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-null-ch",onActionCallback:ct},Te.createElement("span",{className:"fill-tip"},"\u70B9\u51FB\u63D2\u5165\b\u586B\u7A7A\u9879"))):null,Re?Te.createElement(Te.Fragment,null,Te.createElement("li",null,Te.createElement(se,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-signal",onActionCallback:ct},Te.createElement("span",{className:"fill-tip"},"+\u5355\u884C\u586B\u7A7A\u9879"))),Te.createElement("li",null,Te.createElement(se,{icon:"md-iconfont icon-uniE900 insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-multiple",onActionCallback:ct},Te.createElement("span",{className:"fill-tip"},"+\u591A\u884C\u586B\u7A7A\u9879")))):null,Ot&&Te.createElement("li",null,Te.createElement(se,{icon:"md-iconfont icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:`inster-template-${Ot}`,onActionCallback:ct},Te.createElement("span",{className:"fill-tip"},"\u63D2\u5165\u6A21\u677F"))),fn&&Te.createElement("li",null,fn),Te.createElement("li",{className:"btn-full-screen"},Te.createElement(se,{icon:`${jt?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:jt?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:ct})))},be=te(50474),fe=te(78241),Oe=te(92832),ge=te(3113),it=Object.defineProperty,Le=Object.defineProperties,Ke=Object.getOwnPropertyDescriptors,ye=Object.getOwnPropertySymbols,je=Object.prototype.hasOwnProperty,qe=Object.prototype.propertyIsEnumerable,$e=(ze,We,Re)=>We in ze?it(ze,We,{enumerable:!0,configurable:!0,writable:!0,value:Re}):ze[We]=Re,Ue=(ze,We)=>{for(var Re in We||(We={}))je.call(We,Re)&&$e(ze,Re,We[Re]);if(ye)for(var Re of ye(We))qe.call(We,Re)&&$e(ze,Re,We[Re]);return ze},Rt=(ze,We)=>Le(ze,Ke(We));const Ye={labelCol:{span:4},wrapperCol:{span:20}};var Dt=({callback:ze,onCancel:We})=>{function Re(ct){ze(ct)}return ee.createElement(fe.default,Rt(Ue({},Ye),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:Re,style:{width:500}}),ee.createElement(fe.default.Item,{label:"\u94FE\u63A5\u5730\u5740",name:"link",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u5730\u5740"}]},ee.createElement(Oe.default,null)),ee.createElement(fe.default.Item,{label:"\u94FE\u63A5\u6807\u9898",name:"title",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u6807\u9898"}]},ee.createElement(Oe.default,null)),ee.createElement("div",{className:"flex-container flex-end"},ee.createElement(ge.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),ee.createElement(ge.ZP,{type:"ghost",onClick:We},"\u53D6\u6D88")))},qt=te(1568),Me=te(56701),ke=te(43418),Pt=te(95237),Gt=te(12963),mt=te(59301),Jt=({callback:ze,onCancel:We})=>{const Re=document.createElement("canvas"),ct=Re.getContext("2d");Re.width=1e3,Re.height=800,ct.fillStyle="#ffffff",ct.fillRect(0,0,Re.width,Re.height);const jt=Re.toDataURL("image/png");return mt.createElement(ke.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},mt.createElement(Pt.Z,{style:{height:"100vh"}},mt.createElement(Gt.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:jt,visible:!0,title:String(Date.now())},onOk:Ot=>{ze({src:Ot.url})},onClose:We})))},Be=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 ze=this.diagram;return!(ze===null||ze.isReadOnly||ze.isModelReadOnly||ze.selection.count<2)},Xt.prototype.alignLeft=function(){var ze=this.diagram;ze.startTransaction("aligning left");var We=1/0;ze.selection.each(function(Re){Re instanceof go.Link||(We=Math.min(Re.position.x,We))}),ze.selection.each(function(Re){Re instanceof go.Link||Re.move(new go.Point(We,Re.position.y))}),ze.commitTransaction("aligning left")},Xt.prototype.alignRight=function(){var ze=this.diagram;ze.startTransaction("aligning right");var We=-1/0;ze.selection.each(function(Re){if(!(Re instanceof go.Link)){var ct=Re.actualBounds.x+Re.actualBounds.width;We=Math.max(ct,We)}}),ze.selection.each(function(Re){Re instanceof go.Link||Re.move(new go.Point(We-Re.actualBounds.width,Re.position.y))}),ze.commitTransaction("aligning right")},Xt.prototype.alignTop=function(){var ze=this.diagram;ze.startTransaction("alignTop");var We=1/0;ze.selection.each(function(Re){Re instanceof go.Link||(We=Math.min(Re.position.y,We))}),ze.selection.each(function(Re){Re instanceof go.Link||Re.move(new go.Point(Re.position.x,We))}),ze.commitTransaction("alignTop")},Xt.prototype.alignBottom=function(){var ze=this.diagram;ze.startTransaction("aligning bottom");var We=-1/0;ze.selection.each(function(Re){if(!(Re instanceof go.Link)){var ct=Re.actualBounds.y+Re.actualBounds.height;We=Math.max(ct,We)}}),ze.selection.each(function(Re){Re instanceof go.Link||Re.move(new go.Point(Re.actualBounds.x,We-Re.actualBounds.height))}),ze.commitTransaction("aligning bottom")},Xt.prototype.alignCenterX=function(){var ze=this.diagram,We=ze.selection.first();if(We){ze.startTransaction("aligning Center X");var Re=We.actualBounds.x+We.actualBounds.width/2;ze.selection.each(function(ct){ct instanceof go.Link||ct.move(new go.Point(Re-ct.actualBounds.width/2,ct.actualBounds.y))}),ze.commitTransaction("aligning Center X")}},Xt.prototype.alignCenterY=function(){var ze=this.diagram,We=ze.selection.first();if(We){ze.startTransaction("aligning Center Y");var Re=We.actualBounds.y+We.actualBounds.height/2;ze.selection.each(function(ct){ct instanceof go.Link||ct.move(new go.Point(ct.actualBounds.x,Re-ct.actualBounds.height/2))}),ze.commitTransaction("aligning Center Y")}},Xt.prototype.alignColumn=function(ze){var We=this.diagram;We.startTransaction("align Column"),ze===void 0&&(ze=0),ze=parseFloat(ze);var Re=new Array;We.selection.each(function(fn){fn instanceof go.Link||Re.push(fn)});for(var ct=0;ct<Re.length-1;ct++){var jt=Re[ct],Ot=jt.actualBounds.y+jt.actualBounds.height+ze,vn=Re[ct+1];vn.move(new go.Point(jt.actualBounds.x,Ot))}We.commitTransaction("align Column")},Xt.prototype.alignRow=function(ze){ze===void 0&&(ze=0),ze=parseFloat(ze);var We=this.diagram;We.startTransaction("align Row");var Re=new Array;We.selection.each(function(fn){fn instanceof go.Link||Re.push(fn)});for(var ct=0;ct<Re.length-1;ct++){var jt=Re[ct],Ot=jt.actualBounds.x+jt.actualBounds.width+ze,vn=Re[ct+1];vn.move(new go.Point(Ot,jt.actualBounds.y))}We.commitTransaction("align Row")},Xt.prototype.canRotate=function(ze){var We=this.diagram;return!(We===null||We.isReadOnly||We.isModelReadOnly||We.selection.count<1)},Xt.prototype.rotate=function(ze){ze===void 0&&(ze=90);var We=this.diagram;We.startTransaction("rotate "+ze.toString());var We=this.diagram;We.selection.each(function(Re){Re instanceof go.Link||Re instanceof go.Group||(Re.angle+=ze)}),We.commitTransaction("rotate "+ze.toString())},Xt.prototype.pullToFront=function(){var ze=this.diagram;ze.startTransaction("pullToFront");var We=new go.Map;ze.selection.each(function(Re){We.set(Re.layer,0)}),We.iteratorKeys.each(function(Re){var ct=0;Re.parts.each(function(jt){if(!jt.isSelected){var Ot=jt.zOrder;isNaN(Ot)?jt.zOrder=0:ct=Math.max(ct,Ot)}}),We.set(Re,ct)}),ze.selection.each(function(Re){Xt._assignZOrder(Re,We.get(Re.layer)+1)}),ze.commitTransaction("pullToFront")},Xt.prototype.pushToBack=function(){var ze=this.diagram;ze.startTransaction("pushToBack");var We=new go.Map;ze.selection.each(function(Re){We.set(Re.layer,0)}),We.iteratorKeys.each(function(Re){var ct=0;Re.parts.each(function(jt){if(!jt.isSelected){var Ot=jt.zOrder;isNaN(Ot)?jt.zOrder=0:ct=Math.min(ct,Ot)}}),We.set(Re,ct)}),ze.selection.each(function(Re){Xt._assignZOrder(Re,We.get(Re.layer)-1-Xt._findGroupDepth(Re))}),ze.commitTransaction("pushToBack")},Xt._assignZOrder=function(ze,We,Re){Re===void 0&&(Re=ze),ze.layer===Re.layer&&(ze.zOrder=We),ze instanceof go.Group&&ze.memberParts.each(function(ct){Xt._assignZOrder(ct,We+1,Re)})},Xt._findGroupDepth=function(ze){if(ze instanceof go.Group){var We=0;return ze.memberParts.each(function(Re){We=Math.max(We,Xt._findGroupDepth(Re))}),We+1}else return 0},Xt.prototype.doKeyDown=function(){var ze=this.diagram;if(ze!==null){var We=ze.lastInput;if(We.key==="Up"||We.key==="Down"||We.key==="Left"||We.key==="Right"){var Re=this.arrowKeyBehavior;if(Re==="none")return;if(Re==="select"){this._arrowKeySelect();return}else if(Re==="move"){this._arrowKeyMove();return}else if(Re==="tree"){this._arrowKeyTree();return}}go.CommandHandler.prototype.doKeyDown.call(this)}},Xt.prototype._getAllParts=function(){var ze=new Array;return this.diagram.nodes.each(function(We){ze.push(We)}),this.diagram.parts.each(function(We){ze.push(We)}),ze},Xt.prototype._arrowKeyMove=function(){var ze=this.diagram,We=ze.lastInput,Re=0,ct=0;if(We.control||We.meta)Re=1,ct=1;else if(ze.grid!==null){var jt=ze.grid.gridCellSize;ct=jt.width,Re=jt.height}ze.startTransaction("arrowKeyMove"),ze.selection.each(function(Ot){We.key==="Up"?Ot.move(new go.Point(Ot.actualBounds.x,Ot.actualBounds.y-Re)):We.key==="Down"?Ot.move(new go.Point(Ot.actualBounds.x,Ot.actualBounds.y+Re)):We.key==="Left"?Ot.move(new go.Point(Ot.actualBounds.x-ct,Ot.actualBounds.y)):We.key==="Right"&&Ot.move(new go.Point(Ot.actualBounds.x+ct,Ot.actualBounds.y))}),ze.commitTransaction("arrowKeyMove")},Xt.prototype._arrowKeySelect=function(){var ze=this.diagram,We=ze.lastInput,Re=null;We.key==="Up"?Re=this._findNearestPartTowards(270):We.key==="Down"?Re=this._findNearestPartTowards(90):We.key==="Left"?Re=this._findNearestPartTowards(180):We.key==="Right"&&(Re=this._findNearestPartTowards(0)),Re!==null&&(We.shift?Re.isSelected=!0:We.control||We.meta?Re.isSelected=!Re.isSelected:ze.select(Re))},Xt.prototype._findNearestPartTowards=function(ze){var We=this.diagram.selection.first();if(We===null)return null;for(var Re=We.actualBounds.center,ct=this._getAllParts(),jt=1/0,Ot=We,vn=0;vn<ct.length;vn++){var fn=ct[vn];if(fn!==We&&fn.canSelect()){var en=fn.actualBounds.center,xn=Re.directionPoint(en),Qn=this._angleCloseness(xn,ze);if(Qn<=45){var on=Re.distanceSquaredPoint(en);on*=1+Math.sin(Qn*Math.PI/180),on<jt&&(jt=on,Ot=fn)}}}return Ot},Xt.prototype._angleCloseness=function(ze,We){return Math.min(Math.abs(We-ze),Math.min(Math.abs(We+360-ze),Math.abs(We-360-ze)))},Xt.prototype._arrowKeyTree=function(){var ze=this.diagram,We=ze.selection.first();if(We instanceof go.Node){var Re=ze.lastInput;if(Re.key==="Right"){if(!We.isTreeLeaf)if(!We.isTreeExpanded)ze.commandHandler.canExpandTree(We)&&ze.commandHandler.expandTree(We);else{var ct=this._sortTreeChildrenByY(We).first();ct!==null&&ze.select(ct)}}else if(Re.key==="Left")if(!We.isTreeLeaf&&We.isTreeExpanded)ze.commandHandler.canCollapseTree(We)&&ze.commandHandler.collapseTree(We);else{var jt=We.findTreeParentNode();jt!==null&&ze.select(jt)}else if(Re.key==="Up"){var jt=We.findTreeParentNode();if(jt!==null){var Ot=this._sortTreeChildrenByY(jt),vn=Ot.indexOf(We);if(vn>0){for(var fn=Ot.elt(vn-1);fn!==null&&fn.isTreeExpanded&&!fn.isTreeLeaf;){var en=this._sortTreeChildrenByY(fn);fn=en.last()}fn!==null&&ze.select(fn)}else ze.select(jt)}}else if(Re.key==="Down")if(We.isTreeExpanded&&!We.isTreeLeaf){var ct=this._sortTreeChildrenByY(We).first();ct!==null&&ze.select(ct)}else for(;We!==null;){var jt=We.findTreeParentNode();if(jt===null)break;var Ot=this._sortTreeChildrenByY(jt),vn=Ot.indexOf(We);if(vn<Ot.length-1){ze.select(Ot.elt(vn+1));break}else We=jt}var xn=ze.selection.first();xn!==null&&ze.scrollToRect(xn.actualBounds)}},Xt.prototype._sortTreeChildrenByY=function(ze){var We=new go.List().addAll(ze.findTreeChildrenNodes());return We.sort(function(Re,ct){var jt=Re.location,Ot=ct.location;return jt.y<Ot.y?-1:jt.y>Ot.y?1:jt.x<Ot.x?-1:jt.x>Ot.x?1:0}),We},Xt.prototype.copyToClipboard=function(ze){go.CommandHandler.prototype.copyToClipboard.call(this,ze),this._lastPasteOffset.set(this.pasteOffset)},Xt.prototype.pasteFromClipboard=function(){var ze=go.CommandHandler.prototype.pasteFromClipboard.call(this);return this.diagram.moveParts(ze,this._lastPasteOffset),this._lastPasteOffset.add(this.pasteOffset),ze},Object.defineProperty(Xt.prototype,"arrowKeyBehavior",{get:function(){return this._arrowKeyBehavior},set:function(ze){if(ze!=="move"&&ze!=="select"&&ze!=="scroll"&&ze!=="tree"&&ze!=="none")throw new Error('DrawCommandHandler.arrowKeyBehavior must be either "move", "select", "scroll", "tree", or "none", not: '+ze);this._arrowKeyBehavior=ze}}),Object.defineProperty(Xt.prototype,"pasteOffset",{get:function(){return this._pasteOffset},set:function(ze){if(!(ze instanceof go.Point))throw new Error("DrawCommandHandler.pasteOffset must be a Point, not: "+ze);this._pasteOffset.set(ze)}});var pn=Xt,St=te(37404),ut=te(43604),Xe=te(70635),Ie={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re"},he=te(59301),de=(ze,We,Re)=>new Promise((ct,jt)=>{var Ot=en=>{try{fn(Re.next(en))}catch(xn){jt(xn)}},vn=en=>{try{fn(Re.throw(en))}catch(xn){jt(xn)}},fn=en=>en.done?ct(en.value):Promise.resolve(en.value).then(Ot,vn);fn((Re=Re.apply(ze,We)).next())});function Ne({onCancel:ze,callback:We}){let Re=(0,ee.useRef)(),ct=(0,ee.useRef)(),jt=(0,ee.useRef)(),Ot=(0,ee.useRef)(!1);const vn=(0,ee.useRef)(!1),[fn,en]=(0,ee.useState)(0);function xn(){const on=Be.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"};Re.current=new Be.S0(ct.current,{padding:20,grid:on(Be.s_,"Grid",on(Be.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),on(Be.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),"draggingTool.isGridSnapEnabled":!0,handlesDragDropForTopLevelParts:!0,mouseDrop:Fn=>{var Tn=Fn.diagram.commandHandler.addTopLevelParts(Fn.diagram.selection,!0);Tn||Fn.diagram.currentTool.doCancel()},commandHandler:on(pn),"clickCreatingTool.archetypeNodeData":{text:"\u672A\u547D\u540D",fill:null,stroke:null,borderColor:"rgba(0,0,0,0)"},PartCreated:Fn=>{var Tn=Fn.subject;Tn.location=Tn.location.copy().snapToGridPoint(Fn.diagram.grid.gridOrigin,Fn.diagram.grid.gridCellSize),setTimeout(()=>{Fn.diagram.commandHandler.editTextBlock()},20)},"commandHandler.archetypeGroupData":{isGroup:!0,text:"NEW GROUP"},SelectionGrouped:Fn=>{var Tn=Fn.subject;setTimeout(()=>{Fn.diagram.commandHandler.editTextBlock()})},LinkRelinked:Fn=>{var Tn=Fn.parameter.part;Tn.invalidateConnectedLinks();var Vn=Fn.subject;Fn.diagram.toolManager.linkingTool.isForwards?Vn.toNode.invalidateConnectedLinks():Vn.fromNode.invalidateConnectedLinks()},"undoManager.isEnabled":!0}),Re.current.nodeTemplate=on(Be.NB,"Auto",{locationSpot:Be.z6.Center,locationObjectName:"SHAPE",desiredSize:new Be.$u(120,60),minSize:new Be.$u(40,40),resizable:!0,resizeCellSize:new Be.$u(10,10),rotatable:!0},new Be.KX("location","loc",Be.E9.parse).makeTwoWay(Be.E9.stringify),new Be.KX("desiredSize","size",Be.$u.parse).makeTwoWay(Be.$u.stringify),on(Be.bn,{name:"SHAPE",fill:Un.white,cursor:"pointer",portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:Be.z6.AllSides,toSpot:Be.z6.AllSides},new Be.KX("figure"),new Be.KX("fill"),new Be.KX("stroke","borderColor"),new Be.KX("strokeWidth","thickness"),new Be.KX("strokeDashArray","dash")),on(Be.bn,{width:100,height:20,strokeWidth:0,fill:"transparent"}),on(Be.al,{margin:1,textAlign:"center",overflow:Be.al.OverflowEllipsis,editable:!0},new Be.KX("text").makeTwoWay(),new Be.KX("stroke","color"))),Re.current.nodeTemplate.toolTip=on("ToolTip",on(Be.s_,"Vertical",{maxSize:new Be.$u(200,NaN)},on(Be.al,{font:"bold 10pt sans-serif",textAlign:"center"},new Be.KX("text")),on(Be.al,{font:"10pt sans-serif",textAlign:"center"},new Be.KX("text","details"))));function $n(Fn,Tn){var Vn=(Ln,na)=>{Ln.handled=!0,Ln.diagram.model.commit(ha=>{var da=na.part.adornedPart,Ba=new Be.E9().setRectSpot(da.actualBounds,Fn);Ba.subtract(da.location),Ba.scale(2,2),Ba.x+=Math.sign(Ba.x)*130,Ba.y+=Math.sign(Ba.y)*130,Ba.add(da.location),Ba.snapToGridPoint(Ln.diagram.grid.gridOrigin,Ln.diagram.grid.gridCellSize);var oa=ha.copyNodeData(da.data);ha.setGroupKeyForNodeData(oa,ha.getGroupKeyForNodeData(da.data)),ha.addNodeData(oa);var Ma={from:da.key,to:ha.getKeyForNodeData(oa)};ha.addLinkData(Ma);var eo=Ln.diagram.findNodeForData(oa);eo.location=Ba,Ln.diagram.select(eo),setTimeout(()=>{Ln.diagram.commandHandler.editTextBlock()},20)})};return on(Be.bn,{figure:Tn,alignment:Fn,alignmentFocus:Fn.opposite(),width:Fn.equals(Be.z6.Top)||Fn.equals(Be.z6.Bottom)?25:18,height:Fn.equals(Be.z6.Top)||Fn.equals(Be.z6.Bottom)?18:25,fill:"orange",stroke:Un.white,strokeWidth:4,mouseEnter:(Ln,na)=>na.fill="dodgerblue",mouseLeave:(Ln,na)=>na.fill="orange",isActionable:!0,click:Vn,contextClick:Vn})}function ca(Fn){return on(Be.bn,{fill:"orange",stroke:"rgba(0, 0, 0, 0)",strokeWidth:15,background:"transparent",geometryString:"F1 M0 0 b 0 360 -4 0 4 z M10 0 b 0 360 -4 0 4 z M20 0 b 0 360 -4 0 4",isActionable:!0,cursor:"context-menu",mouseEnter:(Tn,Vn)=>Vn.fill="dodgerblue",mouseLeave:(Tn,Vn)=>Vn.fill="orange",click:(Tn,Vn)=>{Tn.diagram.commandHandler.showContextMenu(Vn.part.adornedPart)}},Fn||{})}Re.current.nodeTemplate.selectionAdornmentTemplate=on(Be.uz,"Spot",on(Be.Vm,{padding:10}),$n(Be.z6.Top,"TriangleUp"),$n(Be.z6.Left,"TriangleLeft"),$n(Be.z6.Right,"TriangleRight"),$n(Be.z6.Bottom,"TriangleDown"),ca({alignment:new Be.z6(.75,0)}));function qn(Fn,Tn){return(Vn,Ln)=>{Vn.handled=!0,Vn.diagram.model.commit(na=>{na.set(Ln.part.adornedPart.data,Fn,Tn)})}}function tt(Fn,Tn){return Tn||(Tn="color"),on(Be.bn,{width:16,height:16,stroke:"lightgray",fill:Fn,margin:1,background:"transparent",mouseEnter:(Vn,Ln)=>Ln.stroke="dodgerblue",mouseLeave:(Vn,Ln)=>Ln.stroke="lightgray",click:qn(Tn,Fn),contextClick:qn(Tn,Fn)})}function zt(){return[on("ContextMenuButton",on(Be.s_,"Horizontal",tt(Un.white,"fill"),tt(Un.beige,"fill"),tt(Un.extralightblue,"fill"),tt(Un.extralightred,"fill"))),on("ContextMenuButton",on(Be.s_,"Horizontal",tt(Un.lightgray,"fill"),tt(Un.lightgreen,"fill"),tt(Un.lightblue,"fill"),tt(Un.lightred,"fill")))]}function yt(){return[on("ContextMenuButton",on(Be.s_,"Horizontal",tt(Un.black),tt(Un.green),tt(Un.blue),tt(Un.red))),on("ContextMenuButton",on(Be.s_,"Horizontal",tt(Un.white),tt(Un.magenta),tt(Un.purple),tt(Un.orange)))]}function _t(Fn,Tn){return Tn||(Tn="thickness"),on(Be.bn,"LineH",{width:16,height:16,strokeWidth:Fn,margin:1,background:"transparent",mouseEnter:(Vn,Ln)=>Ln.background="dodgerblue",mouseLeave:(Vn,Ln)=>Ln.background="transparent",click:qn(Tn,Fn),contextClick:qn(Tn,Fn)})}function dn(Fn,Tn){return Tn||(Tn="dash"),on(Be.bn,"LineH",{width:24,height:16,strokeWidth:2,strokeDashArray:Fn,margin:1,background:"transparent",mouseEnter:(Vn,Ln)=>Ln.background="dodgerblue",mouseLeave:(Vn,Ln)=>Ln.background="transparent",click:qn(Tn,Fn),contextClick:qn(Tn,Fn)})}function hn(){return[on("ContextMenuButton",on(Be.s_,"Horizontal",_t(1),_t(2),_t(3),_t(4))),on("ContextMenuButton",on(Be.s_,"Horizontal",dn(null),dn([2,4]),dn([4,4])))]}function un(Fn,Tn){return Tn||(Tn="figure"),on(Be.bn,{width:32,height:32,scale:.5,fill:"lightgray",figure:Fn,margin:1,background:"transparent",mouseEnter:(Vn,Ln)=>Ln.fill="dodgerblue",mouseLeave:(Vn,Ln)=>Ln.fill="lightgray",click:qn(Tn,Fn),contextClick:qn(Tn,Fn)})}Re.current.nodeTemplate.contextMenu=on("ContextMenu",on("ContextMenuButton",on(Be.s_,"Horizontal",un("Rectangle"),un("RoundedRectangle"),un("Ellipse"),un("Diamond"))),on("ContextMenuButton",on(Be.s_,"Horizontal",un("Parallelogram2"),un("ManualOperation"),un("Procedure"),un("Cylinder1"))),on("ContextMenuButton",on(Be.s_,"Horizontal",un("Terminator"),un("CreateRequest"),un("Document"),un("TriangleDown"))),zt(),yt(),hn()),Re.current.groupTemplate=on(Be.ZA,"Spot",{layerName:"Background",ungroupable:!0,locationSpot:Be.z6.Center,selectionObjectName:"BODY",computesBoundsAfterDrag:!0,handlesDragDropForMembers:!0,mouseDrop:(Fn,Tn)=>{var Vn=Tn.addMembers(Tn.diagram.selection,!0);Vn||Tn.diagram.currentTool.doCancel()},avoidable:!1},new Be.KX("location","loc",Be.E9.parse).makeTwoWay(Be.E9.stringify),on(Be.s_,"Auto",{name:"BODY"},on(Be.bn,{parameter1:10,fill:Un.white,strokeWidth:2,cursor:"pointer",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:Be.z6.AllSides,toSpot:Be.z6.AllSides},new Be.KX("fill"),new Be.KX("stroke","color"),new Be.KX("strokeWidth","thickness"),new Be.KX("strokeDashArray","dash")),on(Be.Vm,{background:"transparent",margin:20})),on(Be.al,{alignment:Be.z6.Top,alignmentFocus:Be.z6.Bottom,font:"bold 12pt sans-serif",editable:!0},new Be.KX("text"),new Be.KX("stroke","color"))),Re.current.groupTemplate.selectionAdornmentTemplate=on(Be.uz,"Spot",on(Be.s_,"Auto",on(Be.bn,{fill:null,stroke:"dodgerblue",strokeWidth:3}),on(Be.Vm,{margin:1.5})),ca({alignment:Be.z6.TopRight,alignmentFocus:Be.z6.BottomRight})),Re.current.groupTemplate.contextMenu=on("ContextMenu",zt(),yt(),hn()),Re.current.linkTemplate=on(Be.rU,{layerName:"Foreground",routing:Be.rU.AvoidsNodes,corner:10,fromShortLength:10,toShortLength:15,relinkableFrom:!0,relinkableTo:!0,reshapable:!0,resegmentable:!0},new Be.KX("fromSpot","fromSpot",Be.z6.parse),new Be.KX("toSpot","toSpot",Be.z6.parse),new Be.KX("fromShortLength","dir",Fn=>Fn>=1?10:0),new Be.KX("toShortLength","dir",Fn=>Fn>=1?10:0),new Be.KX("points").makeTwoWay(),on(Be.bn,{strokeWidth:2},new Be.KX("stroke","color"),new Be.KX("strokeWidth","thickness"),new Be.KX("strokeDashArray","dash")),on(Be.bn,{segmentIndex:0,segmentOffset:new Be.E9(15,0),segmentOrientation:Be.rU.OrientAlong,alignmentFocus:Be.z6.Right,figure:"circle",width:10,strokeWidth:0},new Be.KX("fill","color"),new Be.KX("visible","dir",Fn=>Fn===1)),on(Be.bn,{segmentIndex:-1,segmentOffset:new Be.E9(-10,6),segmentOrientation:Be.rU.OrientPlus90,alignmentFocus:Be.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new Be.KX("fill","color"),new Be.KX("visible","dir",Fn=>Fn>=1),new Be.KX("width","thickness",Fn=>7+3*Fn),new Be.KX("height","thickness",Fn=>7+3*Fn),new Be.KX("segmentOffset","thickness",Fn=>new Be.E9(-15,4+1.5*Fn))),on(Be.bn,{segmentIndex:0,segmentOffset:new Be.E9(15,-6),segmentOrientation:Be.rU.OrientMinus90,alignmentFocus:Be.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new Be.KX("fill","color"),new Be.KX("visible","dir",Fn=>Fn===2),new Be.KX("width","thickness",Fn=>7+3*Fn),new Be.KX("height","thickness",Fn=>7+3*Fn),new Be.KX("segmentOffset","thickness",Fn=>new Be.E9(-15,4+1.5*Fn))),on(Be.al,{alignmentFocus:new Be.z6(0,1,-4,0),editable:!0},new Be.KX("text").makeTwoWay(),new Be.KX("stroke","color"))),Re.current.linkTemplate.selectionAdornmentTemplate=on(Be.uz,on(Be.bn,{isPanelMain:!0,stroke:"transparent",strokeWidth:6,pathPattern:ln(2)},new Be.KX("pathPattern","thickness",ln)),ca({alignmentFocus:new Be.z6(0,0,-6,-4)}));function ln(Fn){return on(Be.bn,{stroke:"dodgerblue",strokeWidth:2,strokeCap:"square",geometryString:"M0 0 M4 2 H3 M4 "+(Fn+4).toString()+" H3"})}function Wn(Fn){var Tn="M0 0 M8 16 M0 8 L16 8 M12 11 L16 8 L12 5";return Fn===0?Tn="M0 0 M16 16 M0 8 L16 8":Fn===2&&(Tn="M0 0 M16 16 M0 8 L16 8 M12 11 L16 8 L12 5 M4 11 L0 8 L4 5"),on(Be.bn,{geometryString:Tn,margin:2,background:"transparent",mouseEnter:(Vn,Ln)=>Ln.background="dodgerblue",mouseLeave:(Vn,Ln)=>Ln.background="transparent",click:qn("dir",Fn),contextClick:qn("dir",Fn)})}function Xn(Fn){var Tn=(Vn,Ln)=>{Vn.handled=!0,Vn.diagram.model.commit(na=>{var ha=Ln.part.adornedPart;na.set(ha.data,Fn?"toSpot":"fromSpot",Be.z6.stringify(Be.z6.AllSides)),(Fn?ha.toNode:ha.fromNode).invalidateConnectedLinks()})};return on(Be.bn,{width:12,height:12,fill:"transparent",mouseEnter:(Vn,Ln)=>Ln.background="dodgerblue",mouseLeave:(Vn,Ln)=>Ln.background="transparent",click:Tn,contextClick:Tn})}function Kt(Fn,Tn){var Vn=0,Ln=Be.z6.RightSide;Fn.equals(Be.z6.Top)?(Vn=270,Ln=Be.z6.TopSide):Fn.equals(Be.z6.Left)?(Vn=180,Ln=Be.z6.LeftSide):Fn.equals(Be.z6.Bottom)&&(Vn=90,Ln=Be.z6.BottomSide),Tn||(Vn-=180);var na=(ha,da)=>{ha.handled=!0,ha.diagram.model.commit(Ba=>{var oa=da.part.adornedPart;Ba.set(oa.data,Tn?"toSpot":"fromSpot",Be.z6.stringify(Ln)),(Tn?oa.toNode:oa.fromNode).invalidateConnectedLinks()})};return on(Be.bn,{alignment:Fn,alignmentFocus:Fn.opposite(),geometryString:"M0 0 M12 12 M12 6 L1 6 L4 4 M1 6 L4 8",angle:Vn,background:"transparent",mouseEnter:(ha,da)=>da.background="dodgerblue",mouseLeave:(ha,da)=>da.background="transparent",click:na,contextClick:na})}Re.current.linkTemplate.contextMenu=on("ContextMenu",yt(),hn(),on("ContextMenuButton",on(Be.s_,"Horizontal",Wn(0),Wn(1),Wn(2))),on("ContextMenuButton",on(Be.s_,"Horizontal",on(Be.s_,"Spot",Xn(!1),Kt(Be.z6.Top,!1),Kt(Be.z6.Left,!1),Kt(Be.z6.Right,!1),Kt(Be.z6.Bottom,!1)),on(Be.s_,"Spot",{margin:new Be.Zt(0,0,0,2)},Xn(!0),Kt(Be.z6.Top,!0),Kt(Be.z6.Left,!0),Kt(Be.z6.Right,!0),Kt(Be.z6.Bottom,!0)))));const aa=`{ "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 ya=["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 Ca(Fn){return console.log("shapeName:",Fn),ya.indexOf(Fn)>=0}var pa=new Be.YI(jt.current,{maxSelectionCount:1,linkTemplate:on(Be.rU,{locationSpot:Be.z6.Center,selectionAdornmentTemplate:on(Be.uz,"Link",{locationSpot:Be.z6.Center},on(Be.bn,{isPanelMain:!0,fill:null,stroke:"deepskyblue",strokeWidth:0}),on(Be.bn,{toArrow:"Standard",stroke:null}))},{routing:Be.rU.AvoidsNodes,curve:Be.rU.JumpOver,corner:5,toShortLength:4},new Be.KX("points"),on(Be.bn,{isPanelMain:!0,strokeWidth:2}),on(Be.bn,{toArrow:"Standard",stroke:null})),model:new Be.FJ([{text:"\u672A\u547D\u540D",size:"100 100",fill:null,stroke:"#000"},...Be.bn.getFigureGenerators().toArray().map(Fn=>({text:"\u672A\u547D\u540D",size:"100 100",figure:Fn.key,fill:"white",stroke:"#666",borderColor:"#000"}))])});return Re.current.addDiagramListener("TextEdited",function(Fn){var Tn;const Vn=Fn.subject.part;var Ln=(Tn=document.activeElement)==null?void 0:Tn.value;typeof Ln=="string"&&Ln.trim()===""&&Re.current.model.commit(function(na){na.set(Vn.data,"text","\u672A\u547D\u540D"),Re.current.commandHandler.stopCommand()},"increment")}),pa.nodeTemplate=on(Be.NB,"Auto",{locationSpot:Be.z6.Center},new Be.KX("location","location",Be.E9.parse).makeTwoWay(Be.E9.stringify),on(Be.bn,"Circle",{fill:"white",stroke:"gray",strokeWidth:2,width:20,height:20,portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromLinkableSelfNode:!0,toLinkableSelfNode:!0},new Be.KX("stroke").makeTwoWay(),new Be.KX("fill").makeTwoWay(),new Be.KX("figure")),on(Be.al,{margin:new Be.Zt(5,5,3,5),font:"10pt sans-serif",minSize:new Be.$u(16,16),maxSize:new Be.$u(10,NaN),textAlign:"center",editable:!0},new Be.KX("key").makeTwoWay())),setTimeout(()=>{Re.current.grid=on(Be.s_,"Grid",on(Be.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),on(Be.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),Re.current.grid.visible=!0,Re.current.grid.gridCellStroke="darkgray",Re.current.grid.gridCellStrokeWidth=1},300),window.myDiagrams=Re.current,Re.current}const Qn=()=>de(this,null,function*(){var on=Re.current.makeImage();const Un=yield(0,Xe.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Date.now(),file:on.src}});We({src:Un.url})});return(0,ee.useEffect)(()=>(setTimeout(()=>{xn()},500),en(fn+1),()=>{Re.current=null}),[]),he.createElement("div",{ref:vn,className:Ot.current?`${Ie.maxH60} body-overflow-initial`:"body-overflow-initial"},he.createElement(ke.default,{width:1200,icon:null,footer:null,closable:!0,visible:!!fn,destroyOnClose:!0,maskClosable:!1,rootClassName:"zIndex-9999",title:he.createElement(Pt.Z,null,he.createElement(ut.Z,{flex:1},"\u63D2\u5165\u6D41\u7A0B\u56FE"),he.createElement(ut.Z,{onClick:()=>{var on,Un,$n=Re.current.selection.first();if(Ot.current=!Ot.current,document.activeElement&&$n){let ca=(Un=(on=document.activeElement)==null?void 0:on.value)==null?void 0:Un.trim();typeof ca=="string"&&Re.current.model.commit(function(qn){qn.set($n.data,"text",ca||"\u672A\u547D\u540D"),Re.current.commandHandler.stopCommand()},"increment")}en(fn+1)}},he.createElement("span",{className:"current c-blue mr30",style:{fontWeight:400}},"\u5C55\u5F00/\u6536\u8D77"))),onCancel:ze},he.createElement("div",{style:{width:"100%",height:"80vh",overflow:"hidden",position:"relative"},className:Ie.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:Ie.myPaletteDiv,ref:jt})),he.createElement("div",{style:{flex:1,position:"relative"}},he.createElement("div",{ref:ct,style:{height:"80vh"}}))),he.createElement("div",{className:"tr"},he.createElement(ge.ZP,{size:"large",onClick:Qn,style:{position:"absolute",right:0,bottom:0,zIndex:8},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))))}var at=Ne,Se=te(5112),ve=te(5871);const et=Se.ZP.Group,De={margin:"0 8px"};var Ee=({callback:ze,onCancel:We})=>{function Re(ct){ze(ct)}return ee.createElement(fe.default,{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:Re},ee.createElement("div",{className:"flex-container",style:{alignItems:"baseline"}},ee.createElement("span",{style:De},"\u5355\u5143\u683C\u6570\uFF1A"),ee.createElement("span",{style:De},"\u884C\u6570"),ee.createElement(fe.default.Item,{name:"row",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u884C\u6570"}]},ee.createElement(ve.Z,null)),ee.createElement("span",{style:De},"\u5217\u6570"),ee.createElement(fe.default.Item,{name:"col",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5217\u6570"}]},ee.createElement(ve.Z,null))),ee.createElement("div",{className:"flex-container",style:{marginTop:12,alignItems:"baseline"}},ee.createElement("span",{style:De},"\u5BF9\u9F50\u65B9\u5F0F\uFF1A"),ee.createElement(fe.default.Item,{name:"align"},ee.createElement(et,null,ee.createElement(Se.ZP,{value:"default"},ee.createElement("i",{className:"fa fa-align-justify"})),ee.createElement(Se.ZP,{value:"left"},ee.createElement("i",{className:"fa fa-align-left"})),ee.createElement(Se.ZP,{value:"center"},ee.createElement("i",{className:"fa fa-align-center"})),ee.createElement(Se.ZP,{value:"right"},ee.createElement("i",{className:"fa fa-align-right"}))))),ee.createElement("div",{className:"flex-container flex-end"},ee.createElement(ge.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),ee.createElement(ge.ZP,{type:"ghost",onClick:We},"\u53D6\u6D88")))},_e=te(78673),Wt=te(98598),ht=te.n(Wt),Mt=(0,ee.forwardRef)(({use3d:ze,width:We,height:Re,callback:ct,showSaveButton:jt},Ot)=>{const vn=(0,ee.useRef)(),fn=(0,ee.useRef)(),[en,xn]=(0,ee.useState)(!1),Qn=(0,ee.useRef)({id:vn,appName:"graphing",width:We||1e3,height:Re||600,showToolBar:!0,showMenuBar:!0,allowStyleBar:!0,showAlgebraInput:!0,enableLabelDrags:!1,enableShiftDragZoom:!0,showToolBarHelp:!1,errorDialogsActive:!0,showTutorialLink:!0,showLogging:!0,useBrowserForJS:!1});(0,ee.useEffect)(()=>{fn.current=new(ht())(Qn.current,!0),window.onload=function(){fn.current.inject("applet_container")}},[]);const on=()=>{var Un=window.ggbApplet.getPNGBase64(1,!0,72);return ct&&ct(Un),Un};return(0,ee.useEffect)(()=>{Qn.current.appName=en?"3D":"graphing",fn.current.inject("applet_container")},[en]),(0,ee.useEffect)(()=>{xn(ze)},[ze]),(0,ee.useImperativeHandle)(Ot,()=>({getImgData:on})),ee.createElement(ee.Fragment,null,ee.createElement("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:vn}),ee.createElement(Pt.Z,{align:"middle"},ee.createElement(ut.Z,{flex:1},ee.createElement(_e.Z,{size:"default",checkedChildren:"\u5173\u95ED3D\u56FE\u50CF",unCheckedChildren:"\u5F00\u542F3D\u56FE\u50CF",checked:en,onChange:Un=>xn(Un)})),ee.createElement(ut.Z,null,ee.createElement(ge.ZP,{size:"large",onClick:on,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"))))}),Zt=te(75890),xe=te(1012),dt=te(8591);const vt="link",ft="upload-image",Nt="add-flowchart",Vt="draw-image",nn="add-flowchart",an="code-block",Sn="add-table",On="------------",Lt={default:On,left:`:${On}`,center:`:${On}:`,right:`${On}:`};var Ct=te(91300),Ut=(ze,We,Re)=>new Promise((ct,jt)=>{var Ot=en=>{try{fn(Re.next(en))}catch(xn){jt(xn)}},vn=en=>{try{fn(Re.throw(en))}catch(xn){jt(xn)}},fn=en=>en.done?ct(en.value):Promise.resolve(en.value).then(Ot,vn);fn((Re=Re.apply(ze,We)).next())});function cn(){}let sn=0;const Nn=1e4,nt="\u2581",Bt="@\u2581\u2581@",Qt="@\u2581@",yn=`
**\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`,Pe=["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 Ve(ze){return/^\d+$/.test(ze)?`${ze}px`:ze}const gt=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",xt={[gt+"-B"]:"bold",[gt+"-I"]:"italic"},$t={[vt]:"\u6DFB\u52A0\u94FE\u63A5",[an]:"\u6DFB\u52A0\u4EE3\u7801\u5757",[ft]:"\u6DFB\u52A0\u56FE\u7247",[Vt]:"\u6DFB\u52A0\u753B\u56FE",[Nt]:"\u63D2\u5165\u6D41\u7A0B\u56FE",[Sn]:"\u6DFB\u52A0\u8868\u683C","maths-latex":"\u6570\u5B66\u56FE\u50CF","inline-latex":"LATEX\u516C\u5F0F"};var Ft=({defaultValue:ze="",onChange:We,width:Re="100%",height:ct=400,miniToolbar:jt=!1,isFocus:Ot=!1,watch:vn,insertTemp:fn,mode:en="markdown",id:xn="markdown-editor-id",showResizeBar:Qn=!1,noStorage:on=!1,showNullButton:Un=!1,showNullProgramButton:$n=!1,hidetoolBar:ca=!1,fullScreen:qn=!1,onBlur:tt,onCMBeforeChange:zt,onFullScreen:yt,className:_t="",disablePaste:dn=!1,disabled:hn=!1,disabledFill:un=!1,placeholder:ln="",values:Wn="",extraUse:Xn})=>{const[Kt,aa]=(0,ee.useState)(null),[ya,Ca]=(0,ee.useState)(ze),[pa,Fn]=(0,ee.useState)(vn),[Tn,Vn]=(0,ee.useState)(qn),[Ln,na]=(0,ee.useState)(""),[ha,da]=(0,ee.useState)(0),[Ba,oa]=(0,ee.useState)(ct),[Ma,eo]=(0,ee.useState)(!1),fo=(0,ee.useRef)((0,xe.Z)()),ja=(0,ee.useRef)(!1),Da=(0,ee.useRef)(),[Xa,ka]=(0,ee.useState)(0),[Ga,Na]=(0,ee.useState)(0),_n=(0,ee.useRef)(),Za=(0,ee.useRef)(),uo=(0,ee.useRef)(),za=(0,ee.useRef)(),to=()=>Ut(void 0,null,function*(){var ia;const In=yield Fetch("/api/attachments/distinct_hash_val.json",{method:"post",body:{hash_val:fo.current}});(ia=In==null?void 0:In.attachments)!=null&&ia.length&&(console.log("cm:",Kt,_n),In.attachments.map(Rn=>{Rn.content_type.indexOf("image")>-1?Kt.replaceSelection(`![,](/api/attachments/${Rn.id}?type=${Rn.content_type})`):Rn.content_type.indexOf("video")>-1?Kt.replaceSelection(`<video width="100%" controls src="${ENV.API_SERVER}/api/attachments/${data.id}"></video>`):Rn.content_type.indexOf("pdf")>-1?Kt.replaceSelection(`<a href="${ENV.API_SERVER}/api/attachments/${Rn.id}?type=${Rn.content_type}&disposition=inline" target="_blank">${Rn.name}</a>`):Kt.replaceSelection(`[${Rn.name}](${ENV.API_SERVER}/api/attachments/${Rn.id}?type=${Rn.content_type})`)}))});(0,ee.useEffect)(()=>{const ia=window.scrollY||window.pageYOffset;Ca(Wn),Kt==null||Kt.setValue(Wn),window.scrollTo(0,ia)},[Wn]),(0,ee.useEffect)(()=>{yt==null||yt(Tn)},[Tn]),(0,ee.useEffect)(()=>{if(_n.current){let ia=function(Rn,jn){var xa;if(dn){jn.preventDefault();return}const Wa=jn.clipboardData;if(Wa){const pe=Wa.types.toString(),kt=Wa.items;if(pe==="Files"||Wa.types.indexOf("Files")>-1){if(jn.preventDefault(),en=="stex")return;try{let rn=kt[1];((xa=kt[0])==null?void 0:xa.kind)==="file"&&(rn=kt[0]);const Cn=rn.getAsFile(),Ht=Cn.name.split(".").pop();(0,Me.I)(Cn,Dn=>{var Pn,mn,En;Dn.id?((Pn=Cn==null?void 0:Cn.type)==null?void 0:Pn.indexOf("image"))>-1?In.replaceSelection(`![,](/api/attachments/${Dn.id}?type=${Dn.content_type})`):((mn=Cn==null?void 0:Cn.type)==null?void 0:mn.indexOf("video"))>-1?In.replaceSelection(`<video width="100%" controls src="/api/attachments/${Dn.id}"></video>`):((En=Cn==null?void 0:Cn.type)==null?void 0:En.indexOf("pdf"))>-1?In.replaceSelection(`<a href="/api/attachments/${Dn.id}?type=${Cn.type}&disposition=inline" target="_blank">${Cn.name}</a>`):Pe.includes(Ht)?In.replaceSelection(`<a href="/api/attachments/${Dn.id}?type=office&disposition=inline" target="_blank">${Cn.name}</a>`):In.replaceSelection(`[${Cn.name}](/api/attachments/${Dn.id}?type=${Dn.content_type})`):(Dn==null?void 0:Dn.status)===401&&(dt.ZP.warning((Dn==null?void 0:Dn.message)||"\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),document.location.href="/user/login")})}catch(rn){dt.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};const In=Ae().fromTextArea(_n.current,{mode:en,lineNumbers:!jt,lineWrapping:!0,value:ze,autoCloseTags:!$n,autoCloseBrackets:!0});return In.on("keyup",function(Rn,jn){jn.keyCode===8&&(Rn.getValue()==""?In.setOption("placeholder",ln):In.setOption("placeholder",null))}),In.on("keydown",function(Rn,jn){if(jn.keyCode===8){var xa=ua(Rn);xa&&jn.preventDefault()}}),Ot&&In.focus(),In.on("paste",ia),In.on("dragleave",function(Rn,jn){Za.current.classList.remove("mouse-hover-md")}),hn&&In.on("beforeChange",function(Rn,jn){(jn.origin==="paste"||jn.origin==="+input")&&jn.cancel()}),aa(In),()=>{In.off("paste",ia)}}},[]);const lo=(0,ee.useCallback)(()=>{if(Za.current)try{}catch(ia){console.log(ia,"---- to set md editor body height")}},[Ba,Za,Tn]);(0,ee.useEffect)(()=>{function ia(){let In=new Ge.Z(Rn=>{for(let jn of Rn)(jn.target.offsetHeight>0||jn.target.offsetWidth>0)&&(lo(),Kt.setSize("100%","100%"),Kt.refresh())});return In.observe(_n.current.parentElement),In}if(Kt){const In=ia();return()=>{var Rn,jn;(Rn=_n.current)!=null&&Rn.parentElement&&In.unobserve((jn=_n.current)==null?void 0:jn.parentElement)}}},[Kt,lo]),(0,ee.useEffect)(()=>{if(Kt){let ia=[];for(const[In,Rn]of Object.entries(xt)){let jn={[In]:()=>{Ka(Rn)}};ia.push(jn),Kt.addKeyMap(jn)}return Da.current=setInterval(()=>{ja.current&&to()},4e3),()=>{clearInterval(Da.current);for(let In of ia)Kt.removeKeyMap(In)}}},[Kt]),(0,ee.useEffect)(()=>{qn!==Tn&&Vn(qn)},[qn]),(0,Ct.Z)(()=>{if(!on&&ha>0){let ia=new Date().getTime(),In=window.sessionStorage.getItem(xn);ia>=ha+Nn&&(!In||In!==ya)&&(window.sessionStorage.setItem(xn,ya),eo(!0))}},Nn),(0,ee.useEffect)(()=>{Fn(vn)},[Kt,vn]),(0,ee.useEffect)(()=>{Kt&&Ot&&Kt.focus()},[Kt,Ot]),(0,ee.useEffect)(()=>{if(pa&&Kt){let ia=function(Rn){let jn=Rn.target;if(za.current){let xa=jn.scrollTop/jn.scrollHeight;za.current.scrollTop=za.current.scrollHeight*xa}};const In=Kt.getScrollerElement();return In.addEventListener("scroll",ia),()=>{In.removeEventListener("scroll",ia)}}},[Kt,pa]),(0,ee.useEffect)(()=>{if(Kt&&zt){let ia=function(In,Rn){zt(In,Rn)};return Kt.on("beforeChange",ia),()=>{Kt.off("beforeChange",ia)}}},[Kt,zt]),(0,ee.useEffect)(()=>{if(Kt&&tt){let ia=function(){tt(Kt.getValue())};return Kt.on("blur",ia),()=>{Kt.off("blur",ia)}}},[Kt,tt]);function ua(ia,In){var Rn=ia.getDoc(),jn=Rn.getCursor(),xa=Rn.getLine(jn.line),Wa=xa.charAt(jn.ch-1),pe=xa.lastIndexOf("@\u2581@",jn.ch),kt=xa.lastIndexOf("@\u2581\u2581@",jn.ch),rn=pe>kt?pe:kt,Cn=pe>kt?3:4;if(Bt.indexOf(Wa)===-1)return null;if(console.log("change1:",In,ia,xa,jn,rn,pe,kt,Wa),rn>=0&&jn.ch-rn<5){var Ht=rn+Cn;return Rn.replaceRange("",{line:jn.line,ch:rn},{line:jn.line,ch:Ht}),{line:jn.line,ch:Ht}}return null}(0,ee.useEffect)(()=>{if(Kt){let ia=function(In,Rn){const jn=In.getValue();Ca(jn),da(new Date().getTime()),In.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),We&&($n?We(jn,vo(jn)):We(jn))};return Kt.on("change",ia),()=>{Kt.off("change",ia)}}},[Kt,We]),(0,ee.useEffect)(()=>{if(Kt)if(ze==null)Kt.setValue(""),Ca("");else{const ia=window.scrollY||window.pageYOffset;ze!==Kt.getValue()&&(Kt.setValue(ze),Ca(ze),Kt.setCursor(hn?1:Kt.lineCount(),0),window.scrollTo(0,ia))}},[Kt,ze]);const Ka=(0,ee.useCallback)(ia=>{const In=Kt.getCursor(),Rn=Kt.getSelection();let jn=Rn.split(`
`);switch(ia){case"bold":return Kt.replaceSelection("**"+Rn+"**"),Rn===""&&Kt.setCursor(In.line,In.ch+2),Kt.focus();case"italic":return Kt.replaceSelection("*"+Rn+"*"),Rn===""&&Kt.setCursor(In.line,In.ch+1),Kt.focus();case"code":return Kt.replaceSelection("`"+Rn+"`"),Rn===""&&Kt.setCursor(In.line,In.ch+1),Kt.focus();case"inline-latex":return na("inline-latex"),Kt.focus();case"latex":return Kt.replaceSelection("```latex\n"+Rn+"\n```"),Kt.setCursor(In.line+1,Rn.length+1),Kt.focus();case"line-break":return Kt.replaceSelection(`<br/>
`),Kt.focus();case"list-ul":return Rn===""?Kt.replaceSelection("- "+Rn):Kt.replaceSelection(jn.map(xa=>xa===""?"":`- ${xa}`).join(`
`)),Kt.focus();case"list-ol":return Rn===""?Kt.replaceSelection("1. "+Rn):Kt.replaceSelection(jn.map((xa,Wa)=>xa===""?"":`${Wa+1}. ${xa}`).join(`
`)),Kt.focus();case"add-null-ch":return Rn===""&&Kt.setCursor(In.line,In.ch),Kt.replaceSelection(nt),Kt.focus();case"add-signal":return Rn===""&&Kt.setCursor(In.line,In.ch),Kt.replaceSelection(Qt),Kt.focus();case"add-multiple":return Rn===""&&Kt.setCursor(In.line,In.ch),Kt.replaceSelection(Bt),Kt.focus();case"inster-template-1":return Rn===""&&Kt.setCursor(In.line,In.ch),Kt.replaceSelection(yn),Kt.focus();case"eraser":return Kt.setValue(""),Kt.focus();case"trigger-watch":return Fn(!pa),Kt.focus();case"trigger-full-screen":return Vn(!Tn),Kt.focus();case vt:na(vt);return;case an:na(an);return;case ft:na(ft);return;case Vt:na(Vt);return;case"maths-latex":na("maths-latex");return;case Nt:na(Nt);return;case Sn:na(Sn);return;default:throw new Error}},[Kt,pa,Tn]),Aa=(0,ee.useCallback)((ia,In)=>{var Rn,jn,xa,Wa,pe,kt;switch(na(""),Ln){case vt:const{title:Pn,link:mn}=ia;return Kt.replaceSelection(`[${Pn}](${mn})`),Kt.focus();case an:const{language:En,content:bn}=ia;return Kt.replaceSelection(["```"+En,bn,"```"].join(`
`)),Kt.focus();case"maths-latex":for(var rn=atob(ia),Cn=new Uint8Array(rn.length),Ht=0;Ht<rn.length;Ht++)Cn[Ht]=rn.charCodeAt(Ht);var Dn=new Blob([Cn],{type:"image/png"});(0,Me.I)(Dn,ko=>{ko.id?Kt.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":Kt.replaceSelection("`$$"+ia+"$$`");break;case ft:case Vt:case nn:const{src:Mn,alt:Hn}=ia,zn=In,Ha=(xa=(jn=(Rn=zn==null?void 0:zn.name)==null?void 0:Rn.split("."))==null?void 0:jn.pop)==null?void 0:xa.call(jn);return((Wa=zn==null?void 0:zn.type)==null?void 0:Wa.indexOf("image"))>-1||!(zn!=null&&zn.type)?Hn?Kt.replaceSelection(`![ ${Hn} ]( ${Mn} "${Hn}" )`):Kt.replaceSelection(`![,](${Mn})`):((pe=zn==null?void 0:zn.type)==null?void 0:pe.indexOf("video"))>-1?Kt.replaceSelection(`<video width="100%" controls src="${Mn}"></video>`):((kt=zn==null?void 0:zn.type)==null?void 0:kt.indexOf("pdf"))>-1?Kt.replaceSelection(`<a href="${Mn}?type=${zn.type}&disposition=inline" target="_blank">${zn.name}</a>`):Pe.includes(Ha)?Kt.replaceSelection(`<a href="${Mn}?type=office&disposition=inline" target="_blank">${zn.name}</a>`):Kt.replaceSelection(`[${zn.name}](${Mn})`),Kt.focus();case Sn:const{row:wa,col:$a,align:io}=ia;let wo=`
`;for(let ko=0;ko<wa;ko++){let dr=[],ur=[];for(let nr=0;nr<$a;nr++)ko===1&&ur.push(Lt[io]),dr.push(" ");ko===1&&(wo+=`| ${ur.join(" | ")} |
`),wo+=`| ${dr.join($a===1?"":" | ")} |
`}return Kt.replaceSelection(wo+`
`),Kt.focus();default:throw new Error}},[Kt,Ln]),ao=(0,ee.useMemo)(()=>{switch(Ln){case vt:return ee.createElement(Dt,{callback:Aa,onCancel:Po});case an:return ee.createElement(qt.Z,{callback:Aa,onCancel:Po});case ft:return ee.createElement(Me.Z,{callback:Aa,onCancel:Po});case Nt:return ee.createElement(at,{callback:Aa,onCancel:Po});case Sn:return ee.createElement(Ee,{callback:Aa,onCancel:Po});case"maths-latex":return ee.createElement(Mt,{showSaveButton:!0,callback:Aa});case"inline-latex":return ee.createElement(Zt.Z,{showSaveButton:!0,callback:Aa});default:return null}},[Ln]);function Po(){na("")}(0,ee.useEffect)(()=>{if(uo.current){let ia=function(pe){xa=!0,Wa=pe.pageY},In=function(){xa=!1},Rn=function(pe){if(xa){let kt=pe.pageY-Wa;kt<0&&(kt=0),kt>300&&(kt=300);let rn=ct+kt+"px";oa(rn)}},jn=uo.current,xa=!1,Wa=0;return jn.addEventListener("mousedown",ia),document.addEventListener("mousemove",Rn),document.addEventListener("mouseup",In),()=>{jn.removeEventListener("mousedown",ia),document.removeEventListener("mousemove",Rn),document.removeEventListener("mouseup",In)}}},[Kt,uo]),(0,ee.useEffect)(()=>{oa(ct)},[ct]);const No=Ve(Re),Qo=Ve(Ba),zo={width:No,height:Qo},po=(0,ee.useMemo)(()=>{if(ha){let ia=new Date(ha),In=ia.getHours(),Rn=ia.getMinutes(),jn=ia.getSeconds();return In=In<10?"0"+In:In,Rn=Rn<10?"0"+Rn:Rn,jn=jn<10?"0"+jn:jn,`${In}:${Rn}:${jn}`}return 0},[ha]),vo=ia=>{const In=[];if($n){let Rn=-1;ia=ia.replace(/(@▁▁@|@▁@)/g,function(jn,xa,Wa){In.push({multiLine:jn!==Qt})})}return In};function jo(){window.sessionStorage.removeItem(xn),eo(!1),da(0)}function Mo(){eo(!1),da(0),Kt.setValue(window.sessionStorage.getItem(xn))}(0,ee.useEffect)(()=>{$t[Ln]&&Ln!==Vt&&Ln!==Nt&&setTimeout(()=>{const ia=document.getElementsByClassName("markdown-popup-form")[0],In=window.innerWidth/2-ia.offsetWidth/2,Rn=window.innerHeight/2-ia.offsetHeight/2;ka(In),Na(Rn)},0)},[Ln]);const Go=ia=>{ia.preventDefault();const In=ia.clientX-Xa,Rn=ia.clientY-Ga;document.body.onmousemove=jn=>{let xa=jn.clientX-In,Wa=jn.clientY-Rn;const pe=document.getElementsByClassName("markdown-popup-form")[0],kt=window.innerWidth-pe.offsetWidth,rn=window.innerHeight-pe.offsetHeight;xa=Math.max(0,Math.min(xa,kt)),Wa=Math.max(0,Math.min(Wa,rn)),tr(jn.clientX,jn.clientY,In,Rn)&&(ka(xa),Na(Wa))},document.body.onmouseup=function(){document.body.onmousemove=null}},tr=(ia,In,Rn,jn)=>{const xa=document.body.clientHeight,Wa=document.body.clientWidth;return ia<20&&Rn>ia||ia>Wa-20&&Rn<ia||In<20&&jn>In||In>xa-20&&jn<In?(document.body.onmousemove=null,document.body.onmouseup=null,!1):!0};return ee.createElement(ee.Fragment,null,ee.createElement("div",{className:"markdown-editor-wrapper",ref:Za},ee.createElement("div",{className:`markdown-editor-container ${_t} ${pa?"on-preview":""} ${jt?"mini":""} ${Tn?"full-screen":""}`,style:zo},ee.createElement(ce,{insertTemp:fn,watch:pa,fullScreen:Tn,showNullButton:Un,showNullProgramButton:$n,onActionCallback:Ka,hidetoolBar:ca,extraUse:Xn}),ee.createElement("div",{className:"markdown-editor-body"},ee.createElement("div",{className:"codemirror-container"},ee.createElement("textarea",{ref:_n,placeholder:ln})),pa?ee.createElement("div",{ref:za,className:"preview-container"},en==="stex"&&ee.createElement(pt,{value:ya}),en!=="stex"&&ee.createElement(lt.Z,{disabledFill:un,showProgramFill:$n,value:ya})):null))),Qn?ee.createElement("a",{ref:uo,className:"editor-resize"}):null,Ln===Vt&&ee.createElement(Jt,{callback:Aa,onCancel:Po}),Ln===Nt&&ee.createElement(at,{callback:Aa,onCancel:Po}),ee.createElement(be.Z,null,$t[Ln]&&Ln!==Vt&&Ln!==Nt?ee.createElement(ke.default,{maskClosable:!1,centered:!0,style:{position:"absolute",left:Xa,top:Ga},title:ee.createElement("div",{style:{cursor:"move"},onMouseDown:Go},$t[Ln]),open:!0,onCancel:Po,footer:null,destroyOnClose:!0,width:Ln===Nt?"1200px":null,height:Ln===Nt?"80vh":null,className:"markdown-popup-form"},ao):null))}},56701:function(bt,It,te){"use strict";te.d(It,{Z:function(){return ne},I:function(){return le}});var ee=te(78241),ie=te(8591),Ae=te(92832),Ge=te(3113),Ce=te(58788),Fe=te(59301),re=te(2119),Je=te(59301),Qe=Object.defineProperty,Ze=Object.defineProperties,lt=Object.getOwnPropertyDescriptors,pt=Object.getOwnPropertySymbols,Te=Object.prototype.hasOwnProperty,oe=Object.prototype.propertyIsEnumerable,y=(se,ce,be)=>ce in se?Qe(se,ce,{enumerable:!0,configurable:!0,writable:!0,value:be}):se[ce]=be,a=(se,ce)=>{for(var be in ce||(ce={}))Te.call(ce,be)&&y(se,be,ce[be]);if(pt)for(var be of pt(ce))oe.call(ce,be)&&y(se,be,ce[be]);return se},b=(se,ce)=>Ze(se,lt(ce));const{useForm:E}=ee.default,x={width:280,marginRight:10},z={labelCol:{span:5},wrapperCol:{span:19}};var ne=({callback:se,onCancel:ce})=>{const[be]=E();let fe=(0,Fe.useRef)();function Oe(Le){se(Le,fe.current)}function ge(Le,Ke){if(Le.status===-1){ie.ZP.error(Le.message);return}be.setFieldsValue({src:`/api/attachments/${Le.id}`,type:Ke.type})}function it(Le){let Ke=Le.target.files[0];fe.current=Ke,le(Ke,ge)}return Je.createElement(ee.default,b(a({form:be},z),{className:"upload-image-panel",onFinish:Oe,style:{width:470,overflow:"hidden"}}),Je.createElement(ee.default.Item,{label:"\u56FE\u7247\u5730\u5740",required:!0},Je.createElement("div",{className:"flex-container"},Je.createElement(ee.default.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5730\u5740"}]},Je.createElement(Ae.default,{style:x})),Je.createElement(ae,{onFileChange:it}))),Je.createElement(ee.default.Item,{label:"\u56FE\u7247\u63CF\u8FF0",name:"alt"},Je.createElement(Ae.default,{style:{width:264}})),Je.createElement(ee.default.Item,{style:{textAlign:"right"}},Je.createElement(Ge.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),Je.createElement(Ge.ZP,{type:"default",onClick:ce},"\u53D6\u6D88")))};function ae({onFileChange:se}){return Je.createElement("label",{className:"upload-button",style:{cursor:"pointer"}},"\u672C\u5730\u4E0A\u4F20",Je.createElement("input",{type:"file",onChange:se}))}function le(se,ce){if(!se)throw new String("\u6CA1\u6709\u6587\u4EF6");if(!(0,re.bg)())throw ie.ZP.warning("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),new String("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C");let be=new FormData;be.append("editormd-image-file",se),be.append("file_param_name","editormd-image-file"),be.append("byxhr","true");var fe=new window.XMLHttpRequest;fe.withCredentials=!0,fe.addEventListener("load",function(Oe){ce(JSON.parse(Oe.target.responseText),se)},!1),fe.addEventListener("error",function(Oe){console.error(Oe)},!1),fe.open("POST",`${Ce.KI}/api/attachments.json`),fe.send(be)}},50474:function(bt,It,te){"use strict";te.d(It,{Z:function(){return Ae}});var ee=te(59301),ie=te(4676);class Ae extends ee.Component{constructor(Ce){super(Ce);const Fe=window.document;this.node=Fe.createElement("div"),Fe.body.appendChild(this.node)}render(){const{children:Ce}=this.props;return(0,ie.createPortal)(Ce,this.node)}componentWillUnmount(){window.document.body.removeChild(this.node)}}},92730:function(bt,It,te){"use strict";te.d(It,{i:function(){return ae},Z:function(){return se}});var ee={flex_box_center:"flex_box_center___AQ53o",flex_space_between:"flex_space_between___i2aIa",flex_box_vertical_center:"flex_box_vertical_center___sPEKB",flex_box_center_end:"flex_box_center_end___GhSSH",flex_box_column:"flex_box_column___R9_Hb",list:"list___jb2Ay",wrap:"wrap___VsQDr",lockWrap:"lockWrap___g1k1T",li:"li___IxCLC",cover:"cover___Mu8wr",img:"img___IpFLA",movebq:"movebq___mF7wt",bq:"bq___Bil0T",sign:"sign___DXJ4d",name:"name___l7FoJ",e:"e___pXQUG",unit:"unit___wCIFR",tags:"tags___w_Mil",tag1:"tag1___dxm7r",tag2:"tag2___llZkf"},ie=te(71418),Ae=te(6848),Ge=te(92310),Ce=te.n(Ge),Fe=te(58130),re=te(97267),Je=te(2119),Qe="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGgAAAAgCAYAAAD+Fz2gAAAAAXNSR0IArs4c6QAAEx5JREFUaEPFWwd4FWW6fueE9NATIEAoKkWKgIKVEkBgl2LB6159EFdRwHVd9a67SC+ryFVBEDGAUq57d0WUK6DuigYSeglFMJQIhBJSIIYUQgohObPP9/1l/pmcE7h9nvCcc+bMzJn53v/9vvcrWABQfuovrf3VeMeClWhbVrwFC5Zl0Vfi1aLP/EHu976K42wAtmXBx2cCtk9ew+ZT+bsbbT4/XUWeT1cUf4Bt61faY9v8a2I/vxXn0X7+p86l/bYftu3n7/30Sof6bdAd2351LXmMOl++0nUt/hlxnrg+vVe/6xfPbRwv7oeuJ+5RfUdPz/uMe5VP5zwfkOeDf6tlhUxqPXxOtkXgVFfVHLFgNYHlcwBRIBE+cIPEexg4+hPn0K0IPCz4A4GkrH4DkCxpEDa2fCAFqzC8AsMBifYLI6p93vdkUGUwtzEtCZC4bg0bXxnRNDrdlwBIfG8eoxZP3SCJc+sEicEUhvLBLrQsXw+r5Ognn8LGk4IoPiiQhB1vzCQ+XjHNeP2/AUkZU8JpgCRWr1yxinFy9bu+IyYZrAH8sP3ECsVOBwx1nGCPGyTN8kDg/ReYxDaFf41Vkr46F0C8MLRihmCFCyT6zNDyUYI9wu8J1+cB0+XuDPemndz/GJMcZvDyq5NJjrsz2cbuTrNPuLCgTGIXLFZ6IDa5wPeCZSwUuXoMN6h8huPOfUCeVXxklc1xQxpbAENGDwSSdHcBQFJgmbGrbpAEyHVtprvjCEKuTDyZwoJdV22myIf0xCV9nAGAMiiBJK0ury9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c0B8A13yCnV1Vx1XsIxQ2SyK+VUHnYmTvZpmAguRt+hbk7T5C06SL3rJzeS+JgsJq7R0tDts5doBpXt0zSZrPZDuXGsUGiDNZjoMRmnNz1cjLVawDFru3Zc+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 ae=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:Qe,swimg:Ze},{name:"101\u8BA1\u5212",ptimg:lt,swimg:pt},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:Te,swimg:oe},{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:z}];var se=({className:ce,dataSource:be=[],col:fe=4,right:Oe,bottom:ge=23,precision:it=0,wrapWidth:Le=1200,trackEventItems:Ke,loading:ye,onRemove:je=()=>{},isCurrent:qe=!0,showAlias:$e=!1})=>{const Ue=Math.floor((Le-(fe-1)*Oe)/fe),Rt=[{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"}];return ne.createElement(ie.Z,{spinning:ye},ne.createElement("div",{className:Ce()(ee.list,ce)},!!(be!=null&&be.length)&&(be==null?void 0:be.map((Ye,Dt)=>{var qt;const{name:Me,id:ke,identifier:Pt,featured:Gt,school_name:mt,image_url:Jt,excellent:Be,is_plan:Xt}=Ye;return ne.createElement("div",{key:ke,className:ee.wrap,style:{width:Ue,marginRight:(1+Dt)%fe===0?0:Oe+it,marginBottom:ge}},ne.createElement("a",{className:ee.li,onClick:pn=>{pn.preventDefault(),pn.stopPropagation(),Ke&&(0,Fe.L9)([Ke]),(0,Fe.xg)(`/paths/${Pt}`)}},ne.createElement("div",{className:ee.img},ne.createElement("img",{className:ee.cover,src:`${Jt}`}),qe&&(0,Je.bg)()&&(Ye==null?void 0:Ye.studying)&&ne.createElement("div",{className:`${ee.movebq} user-path-items`,onClick:pn=>{pn.stopPropagation(),je(Ye)}},ne.createElement("i",{className:"iconfont icon-yichu1 mr5 c-red"}),ne.createElement("span",{className:"c-red"},"\u79FB\u9664")),(qt=Ye==null?void 0:Ye.subject_tags)==null?void 0:qt.map((pn,St)=>{var ut,Xe;if(St===0){const he=(ut=Rt.find(de=>de.name==pn))==null?void 0:ut.swimg;return ne.createElement("img",{className:ee.sign,src:he,style:{left:"-4px"}})}const Ie=(Xe=Rt.find(he=>he.name==pn))==null?void 0:Xe.ptimg;return ne.createElement("img",{className:ee.sign,src:Ie,style:{left:`${48+52*(St-1)+2*St}px`}})}),ne.createElement("div",{style:{position:"absolute",top:"150px",left:"4px"}},(Ye==null?void 0:Ye.excellent)&&ne.createElement("div",{className:ee.bq},"\u5F00\u653E\u8BFE\u7A0B"))),ne.createElement("div",{className:ee.name},ne.createElement(Ae.Z,{title:$e&&(Ye!=null&&Ye.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${Ye==null?void 0:Ye.excellent_alias_name}`)):Me},ne.createElement("span",{className:ee.e},$e&&(Ye==null?void 0:Ye.excellent_alias_name)||Me))),ne.createElement("div",{className:ee.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,Ye.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,Ye.members_count)))))))})),!be.length&&ne.createElement(re.Z,null)))}},78258:function(bt,It,te){"use strict";te.d(It,{jL:function(){return Ce},w9:function(){return Ye},QD:function(){return Zt},cQ:function(){return je.Z},op:function(){return Ee},O5:function(){return yn},_b:function(){return Vt},t7:function(){return E},Gi:function(){return Gt},YG:function(){return ke},qp:function(){return lt},vr:function(){return vt},qE:function(){return ht},Je:function(){return ne},wb:function(){return ye},cq:function(){return St},tp:function(){return oe}});var ee=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+r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4CzXFX/Qp+zZi28pPzkZHeNIS337X2+Qp+IckWajb1RsyXWffqOeN8tRH+rKyWOhsSBnYyYziiCAa0k8EQKb2kF01acPc3akXS8IbsW1Onf6AnVib16ewqWz21vq9qu2yNPeqL7thW7xZ65391jcV1jE/1qKFcaeCfDwOYeK9D83nv32/wHzrWgvjJ8Q7AAAAABJRU5ErkJggg==",Ce=({dataSource:Pe=[],img:Ve,imgWidth:st=346,title:gt,sunTitle:xt,bannerExtraContent:$t})=>ee.createElement("div",{className:ie.banner},ee.createElement("div",{className:ie.content},ee.createElement("aside",null,ee.createElement("p",null,ee.createElement("b",null,gt),ee.createElement("span",null,xt)),Pe.length>0&&ee.createElement("div",{className:ie.btns},Pe.map((Ft,ze)=>ee.createElement("div",{key:ze,onClick:Ft.click},Ft.name,Ft.sign?ee.createElement("img",{src:Ae,width:39}):null))),$t),Ve&&ee.createElement("img",{style:{marginTop:33,marginRight:38},src:Ve,width:st}))),Fe={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),Je=te.n(re),Qe=te(89392),lt=({dataSource:Pe=[],value:Ve,onChange:st,onTitleChange:gt,className:xt,title:$t,titleWidth:Ft=41,style:ze={},fontColor:We="#6A7283",showCount:Re})=>{const[ct,jt]=(0,ee.useState)(0),[Ot,vn]=(0,ee.useState)(!1),fn=(0,ee.useRef)(null),en=(0,ee.useRef)(null);return(0,ee.useEffect)(()=>{var xn;Pe.length!==0&&(((xn=fn==null?void 0:fn.current)==null?void 0:xn.clientHeight)>97?jt(1):jt(0)),Pe.length===0&&jt(0),vn(!1)},[Pe]),ee.createElement("div",{className:Je()(Fe.row,xt),style:ze},ee.createElement("div",{onClick:(0,Qe.throttle)(()=>gt==null?void 0:gt(),2e3),style:{width:Ft,marginTop:Ot?12:4},className:`${Fe.title} ${gt?"current":""}`},$t),ee.createElement("div",{className:Ot?`${Fe.tagsWrap} ${Fe.tagsBorderWrap}`:Fe.tagsWrap},ee.createElement("div",{className:Fe.bar,ref:en,style:ct>0?{height:ct===1?97:"auto",overflow:ct===1?"hidden":"auto",paddingRight:55}:{paddingRight:0}},ee.createElement("div",{className:Fe.tag,ref:fn},Pe==null?void 0:Pe.map(xn=>ee.createElement("span",{onClick:()=>st(xn.id),key:xn.id,style:{color:We},className:Ve===xn.id?Fe.active:""},ee.createElement("span",{title:xn.name,className:Fe.name},xn.name),!!Re&&ee.createElement("span",{className:Fe.num},xn.count))))),!!ct&&ee.createElement(ee.Fragment,null,ct===1?ee.createElement("div",{onClick:()=>{var xn;jt(2),((xn=fn==null?void 0:fn.current)==null?void 0:xn.clientHeight)>245?vn(!0):vn(!1)},className:Fe.action},"\u5C55\u5F00",ee.createElement("i",{style:{transform:"translateY(1px) scale(0.6)"},className:"iconfont icon-zhankai4"})):ee.createElement("div",{onClick:()=>{en.current.scrollTop=0,jt(1),vn(!1)},className:Fe.action},"\u6536\u8D77",ee.createElement("i",{style:{transform:"translateY(0px) scale(0.6)"},className:"iconfont icon-shouqi3"})))))},pt={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"},oe=({dataSource:Pe=[],value:Ve,onChange:st,className:gt,style:xt={}})=>ee.createElement("div",{style:xt,className:Je()(pt.tabs,gt)},Pe.map($t=>ee.createElement("span",{onClick:()=>st($t.id),className:Ve===$t.id?pt.active:"",key:$t.id},$t.name))),y={flex_box_center:"flex_box_center___yX6Oa",flex_space_between:"flex_space_between___t7oqF",flex_box_vertical_center:"flex_box_vertical_center___dEIHy",flex_box_center_end:"flex_box_center_end___taQDF",flex_box_column:"flex_box_column___xY_Lr",input:"input___PW2zI",dropdown:"dropdown___vSy8B",menu:"menu___NiyBu",text:"text___Grueu",b1:"b1___ZKryM",b2:"b2___aKyGa"},a=te(92832),E=({dataSource:Pe=[],value:Ve="",onChange:st,onInputChange:gt=()=>{},className:xt,style:$t={},placeholder:Ft,allowClear:ze=!1})=>{var We;const[Re,ct]=(0,ee.useState)(""),[jt,Ot]=(0,ee.useState)("");(0,ee.useEffect)(()=>{var en;let xn=Ve;(en=JSON.stringify(Ve))!=null&&en.includes("{")&&(ct(Ve.id),xn=Ve.value||"");try{Ot(decodeURIComponent(xn||""))}catch(Qn){Ot(decodeURIComponent(xn||""))}},[Ve]);const vn=()=>{st(encodeURIComponent(jt),Re||null)},fn=en=>{en!==Re&&(ct(en),st(encodeURIComponent(jt),en))};return ee.createElement("div",{className:Je()(y.input,xt),style:$t},!!Pe.length&&ee.createElement("div",{className:y.dropdown},ee.createElement("div",{className:y.text},(We=Pe.find(en=>en.id===Re))==null?void 0:We.name,ee.createElement("i",{className:"iconfont icon-zhankai4"}),ee.createElement("b",{className:y.b1}),ee.createElement("b",{className:y.b2})),ee.createElement("div",{className:y.menu},Pe.map((en,xn)=>ee.createElement("div",{key:xn,onClick:()=>fn(en.id)},en.name)))),ee.createElement(a.default,{onPressEnter:vn,value:jt,onChange:en=>{Ot(en.target.value),gt(encodeURIComponent(en.target.value),Re||null)},bordered:!1,placeholder:Ft}),ee.createElement("i",{onClick:vn,className:"iconfont icon-sousuo9 font14 pl10 current"}))},x={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"},ne=({value:Pe,onChange:Ve,className:st,total:gt,pageSize:xt,style:$t={}})=>{const Ft=Pe<2,ze=Pe>=Math.ceil(gt/xt);return gt<=xt?ee.createElement(ee.Fragment,null):ee.createElement("div",{className:Je()(x.quickPager,st),style:$t},ee.createElement("div",{onClick:()=>{Ft||Ve(Pe-1,"prev")},className:Ft?x.disabled:""},"\u4E0A\u4E00\u9875"),ee.createElement("div",{onClick:()=>{ze||Ve(Pe+1,"next")},className:ze?x.disabled:""},"\u4E0B\u4E00\u9875"))},ae={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"},le=te(71418),se=te(6848),ce=te(13570),be=te(10148),fe=te(58130),Oe=te(96908),ge=te(57177),it=te(81378),Le=te(97267),ye=({className:Pe,dataSource:Ve=[],col:st=4,right:gt,bottom:xt=23,precision:$t=0,wrapWidth:Ft=1200,trackEventItems:ze,loading:We})=>{const Re=Math.floor((Ft-(st-1)*gt)/st);return ee.createElement(le.Z,{spinning:We},ee.createElement("div",{className:Je()(ae.list,Pe)},!!Ve.length&&Ve.map((ct,jt)=>{const{name:Ot,id:vn,identifier:fn,power:en,cover_image_id:xn,pic:Qn}=ct;return ee.createElement("div",{className:ae.wrap,key:vn,style:{width:Re,marginRight:(1+jt)%st===0?0:gt+$t,marginBottom:xt}},ee.createElement("a",{target:"_blank",href:`/shixuns/${fn}/challenges`,className:ae.li,onClick:on=>{on.preventDefault(),ze&&(0,fe.L9)([ze]),en&&(0,fe.xg)(`/shixuns/${fn}/challenges`)}},ee.createElement("div",{className:ae.img},ee.createElement("img",{className:ae.cover,src:`${Qn}`}),ct.is_jupyter&&ee.createElement("img",{className:ae.sign,src:Oe}),ct.is_jupyter_lab&&ee.createElement("img",{className:ae.sign,src:ge}),ct.is_unity_3d&&ee.createElement("img",{className:ae.sign,src:it})),ee.createElement("div",{className:ae.name},ee.createElement(se.Z,{title:Ot||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},ee.createElement("span",{className:ae.e},Ot||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),ee.createElement("div",{className:ae.tags},ee.createElement(se.Z,{placement:"bottom",title:"\u5173\u5361\u6570"},ee.createElement("span",null,ee.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),ee.createElement("span",null,ct.challenges_count))),!!ct.myshixuns_count&&ee.createElement(se.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},ee.createElement("span",null,ee.createElement("i",{className:"iconfont icon-chengyuan font14 mr2"}),ee.createElement("span",null,ct.myshixuns_count))),ee.createElement(se.Z,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},ee.createElement("span",null,ee.createElement("span",null,ct.level))),ee.createElement("div",{className:ae.rate},ee.createElement(ce.Z,{allowHalf:!0,disabled:!0,defaultValue:ct.score_info}),ee.createElement("span",null,"\xA0",ct.score_info?`${ct.score_info}\u5206`:"5\u5206")))),!en&&ee.createElement("div",{className:ae.lockWrap},ee.createElement("img",{src:`${be.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),ee.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!Ve.length&&ee.createElement(Le.Z,null)))},je=te(92730),qe={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"},$e="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JKmEQPILClJZfpEfIUAChFQSHIJxnGDiDYwsb8KRLUuWZcmSxqN9pJF6nV7eSZ373u1509Mzvd2eGVt6VV2z9Ht3+9459+yX8Bq4mDmWK2GLqla3MvFWZt4KpjVMSBNzGoQ0M6WJkJbpMiNDxBkwMkyUIUYGxCeJaB8x7fMcZ18yiv1EVHy1Lw+9GicwO8tXlSrlbSB6O4HfANAmZlY250JEHsBHGLQTzA9H3chDfX2012Yfy9HWqwJgZh7NF6vvY/a2gWkbgyeWY3Hq+yDQcRA/RKQeSsSce4jo9EqMo50+Vy3AzNxXKFTv9MAfB/AuZo60M7Fe30tEZQA/UqBvx+POvUQ02+s+O2l/1QGcy5Xe6Cn1SXj8YYAHO5nU8j9DM1D0b8rzvpFMRp9a/v4X73HVAJwplN9GHj7P4NtW0wK1OxYCPcAKX0rHI4+0+2wv7l9xgHPFyrs9j78A5l/sxQRXrE2ix5SiLyZj7v+s2BgArBjA+XzpzR7oq8x880ouQK/7JqKnFfiziUT0iV731aj9ZQeYmYez+fJXiOguZl72/ldkkYmYmb+eSkT+lIjOLOcYlm2BBcx8sfoJz+O/BHhkOSe5evqiaaXoTxIx55tExMsxrmUBOJ/njVVUvgvmW5djUqu+D6JHHbgfTSRostdj7TnAuWLlDq/K37pwqXYxCGlaOfRbyZh7Xy9B7hnAzOzmCpUvA/jDC2WvbReogE3/TTLufo6IKu0+38r9PQE4n+f1VVS+B+ZbWhnEBX8P0Q4H7gcTCZqyvR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h4+z+DbOp3ManhOsvxY4UvpeOSR1TGe1TCK0BiC/OS7APoQwKHqHKtsoPOGQzMA/7sCvp5MRp9aTSNdNRRcvyhSTqJQqN7pgT8O4F3MvArC3uZGKdVsAPxIgb4djzv3EtHsagLWjGXVAhxeLCnxlC9W38fsbQPTNgZPrMRiSgU5ED9EpB5KxJx7iKjFkxlXYrR+n68KgOuXJ6ituQ1E2wj8eoA2McuxWPYuqbcM8BEG7QTzw1E38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",Ue=te(59301),Ye=({className:Pe,dataSource:Ve=[],col:st=4,right:gt,bottom:xt=23,precision:$t=0,wrapWidth:Ft=1200,trackEventItems:ze,loading:We})=>{const Re=Math.floor((Ft-(st-1)*gt)/st);return Ue.createElement(le.Z,{spinning:We},Ue.createElement("div",{className:Je()(qe.list,Pe)},!!Ve.length&&Ve.map((ct,jt)=>{const{subject_identifier:Ot,id:vn,identifier:fn,power:en}=ct,xn=ct.is_public!=0&&ct.is_public;return Ue.createElement("div",{className:qe.wrap,key:vn,style:{width:Re,marginRight:(1+jt)%st===0?0:gt+$t,marginBottom:xt}},Ue.createElement("a",{className:qe.li,onClick:Qn=>{Qn.preventDefault(),ze&&(0,fe.L9)([ze]),(0,fe.xg)(ct.first_category_url)}},Ue.createElement("div",{className:qe.top},Ue.createElement(se.Z,{title:ct.name},Ue.createElement("div",{className:qe.name},ct.name)),Ue.createElement("img",{className:qe.img,src:be.Z.IMG_SERVER+"/images/"+ct.avatar_url}),Ue.createElement("div",{className:qe.text,title:ct.creator},ct.creator),Ot&&Ue.createElement("div",{className:qe.btns},Ue.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),Ue.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802")),xn&&Ue.createElement("div",{className:qe.sign},"\u516C\u5F00")),Ue.createElement("div",{className:qe.bottom},ct.visits>0&&Ue.createElement(se.Z,{title:"\u8BBF\u95EE\u91CF",placement:"bottom"},Ue.createElement("span",null,Ue.createElement("i",{className:"iconfont icon-liulanyan"}),Ue.createElement("span",null,ct.visits))),ct.course_members_count>0&&Ue.createElement(se.Z,{title:"\u6210\u5458",placement:"bottom"},Ue.createElement("span",null,Ue.createElement("i",{className:"iconfont icon-chengyuan"}),ct.course_members_count)),ct.tasks_count>0&&Ue.createElement(se.Z,{title:"\u4F5C\u4E1A",placement:"bottom"},Ue.createElement("span",null,Ue.createElement("i",{className:"iconfont icon-zuoye"}),ct.tasks_count)),ct.is_end?Ue.createElement("div",{style:{color:"#6B758B"}},"\u5DF2\u7ED3\u675F"):Ue.createElement("div",{style:{color:"#00B187"}},"\u8FDB\u884C\u4E2D"))),!ct.is_accessible&&Ue.createElement("div",{className:qe.lockWrap},Ue.createElement("img",{src:`${be.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),Ue.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!Ve.length&&Ue.createElement(Le.Z,null)))},Dt={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"},qt=te(42203),ke=({dataSource:Pe=[],value:Ve,onChange:st,className:gt,style:xt={},tabBarExtraContent:$t})=>ee.createElement("div",{className:Je()(Dt.tabs,gt),style:xt},ee.createElement("div",{className:Dt.tabsWrap},Pe.map((Ft,ze)=>ee.createElement("aside",{className:Dt.tab,onClick:()=>{st(Ft.id),Ft.link&&qt.history.push(Ft.link)},key:ze},ee.createElement("div",{className:Ve===Ft.id?Dt.active:""},Ft.name),(Ft==null?void 0:Ft.resetCount)==null&&(Ft==null?void 0:Ft.total)!==void 0&&ee.createElement("span",null,"\uFF08",Ft==null?void 0:Ft.total,"\uFF09"),(Ft==null?void 0:Ft.resetCount)!==void 0&&(Ft==null?void 0:Ft.total)!==void 0&&ee.createElement(se.Z,{title:(Ft==null?void 0:Ft.tip)!=null?Ft==null?void 0:Ft.tip:""},ee.createElement("span",{style:{color:"#9096A3"}},"\uFF08",ee.createElement("span",{style:{color:"#000"}},Ft==null?void 0:Ft.resetCount),"/",ee.createElement("span",null,Ft==null?void 0:Ft.total),"\uFF09"))))),ee.createElement("div",{className:Dt.tabBar},$t)),Gt=({className:Pe,style:Ve={},children:st})=>ee.createElement("div",{className:Je()(Pe),style:Ve},st),mt={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"},Jt=te(38854),Be=te(20834);const Xt=[{id:"updated_at",name:"\u6700\u65B0\u52A8\u6001"},{id:"created_at",name:"\u6700\u65B0\u521B\u5EFA"},{id:"name",name:"\u540D\u79F0\u6392\u5E8F"}];var St=({sortValue:Pe,dropValue:Ve,className:st,onSort:gt,onDrop:xt,dataSource:$t=Xt})=>{var Ft;return ee.createElement("div",{className:Je()(mt.orderWrap,st)},ee.createElement(Jt.Z,{dropdownRender:()=>ee.createElement(Be.default,null,$t.map((ze,We)=>ee.createElement(Be.default.Item,{key:We,onClick:()=>xt(ze.id)},ze.name)))},ee.createElement("span",{className:mt.orderTextWrap},(Ft=$t.find(ze=>Ve===ze.id))==null?void 0:Ft.name)),ee.createElement("span",{className:mt.orderIconWrap},ee.createElement("span",{className:mt.orderAsc},ee.createElement("i",{className:Pe==="asc"?`iconfont icon-sanjiaoxing-up font12 ${mt.cursorPointer} ${mt.active}`:`iconfont icon-sanjiaoxing-up font12 ${mt.cursorPointer}`,onClick:()=>gt(Pe==="asc"?"desc":"asc")})),ee.createElement("span",{className:mt.orderDesc},ee.createElement("i",{className:Pe==="desc"?`iconfont icon-sanjiaoxing-down font12 ${mt.cursorPointer} ${mt.active}`:`iconfont icon-sanjiaoxing-down font12 ${mt.cursorPointer}`,onClick:()=>gt(Pe==="asc"?"desc":"asc")}))))},ut={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"},Xe=te(3113),Ie=Object.defineProperty,he=Object.getOwnPropertySymbols,de=Object.prototype.hasOwnProperty,Ne=Object.prototype.propertyIsEnumerable,at=(Pe,Ve,st)=>Ve in Pe?Ie(Pe,Ve,{enumerable:!0,configurable:!0,writable:!0,value:st}):Pe[Ve]=st,Se=(Pe,Ve)=>{for(var st in Ve||(Ve={}))de.call(Ve,st)&&at(Pe,st,Ve[st]);if(he)for(var st of he(Ve))Ne.call(Ve,st)&&at(Pe,st,Ve[st]);return Pe},ve=(Pe,Ve)=>{var st={};for(var gt in Pe)de.call(Pe,gt)&&Ve.indexOf(gt)<0&&(st[gt]=Pe[gt]);if(Pe!=null&&he)for(var gt of he(Pe))Ve.indexOf(gt)<0&&Ne.call(Pe,gt)&&(st[gt]=Pe[gt]);return st},et=(Pe,Ve,st)=>new Promise((gt,xt)=>{var $t=We=>{try{ze(st.next(We))}catch(Re){xt(Re)}},Ft=We=>{try{ze(st.throw(We))}catch(Re){xt(Re)}},ze=We=>We.done?gt(We.value):Promise.resolve(We.value).then($t,Ft);ze((st=st.apply(Pe,Ve)).next())}),Ee=Pe=>{var Ve=Pe,{className:st,style:gt,children:xt,loading:$t=!1,openLoading:Ft,onClick:ze=()=>{},size:We="middle",shape:Re="round"}=Ve,ct=ve(Ve,["className","style","children","loading","openLoading","onClick","size","shape"]);const[jt,Ot]=(0,ee.useState)(!1);return ee.createElement(Xe.ZP,Se({onClick:(0,Qe.throttle)(vn=>et(void 0,null,function*(){Ft&&Ot(!0);try{yield ze(vn)}catch(fn){console.log("error",fn)}Ft&&Ot(!1)}),2e3,{leading:!0,trailing:!1}),className:Je()(ut.btn,ut[`${We}-${Re}`],st),style:gt,size:We,shape:Re,loading:jt||$t},ct),xt)},_e={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"},ht=({className:Pe,style:Ve,children:st=null,onClick:gt,title:xt})=>ee.createElement("div",{className:Je()(_e.head,Pe),style:Ve},ee.createElement("span",{className:"primary-hover",onClick:gt},ee.createElement("i",{className:"iconfont icon-fanhui2 font12"}),"\u8FD4\u56DE"),ee.createElement("b",{title:xt},xt),ee.createElement("div",{className:_e.node},st)),Tt={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"},Zt=({confirmShow:Pe=!0,confirmTitle:Ve,confirmClick:st,cancelShow:gt=!0,cancelTitle:xt,cancelClick:$t,className:Ft,style:ze,confirmLoading:We=!1})=>ee.createElement("div",{className:Je()(Tt.btns,Ft),style:ze},Pe&&ee.createElement(Xe.ZP,{loading:We,onClick:st,type:"primary",className:Tt.confirm},Ve),gt&&ee.createElement(Xe.ZP,{onClick:$t,className:Tt.cancel},xt)),xe={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"},vt=({className:Pe,style:Ve={},LeftContent:st,children:gt,RightContent:xt})=>ee.createElement("div",{className:Je()(xe.fixedBottom,Pe),style:Ve},ee.createElement("div",{className:xe.wrap},ee.createElement("div",{className:xe.left},st),ee.createElement("div",{className:xe.center},gt),ee.createElement("div",{className:xe.right},xt))),ft={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"},Vt=({className:Pe,style:Ve={},dataSource:st=[]})=>ee.createElement("div",{className:Je()(ft.crumbs,Pe),style:Ve},st.map((gt,xt)=>xt<st.length-1?ee.createElement(ee.Fragment,{key:xt},gt.path||gt.onClick?ee.createElement("span",{className:ft.hover,onClick:gt!=null&&gt.onClick?gt.onClick:()=>qt.history.push(gt.path)},gt.name):ee.createElement("span",null,gt.name),ee.createElement("span",null,"\xA0",">","\xA0")):ee.createElement("span",{key:xt,style:{color:"#5F6368"}},gt.name))),nn=te(31797),an=Object.defineProperty,Sn=Object.defineProperties,On=Object.getOwnPropertyDescriptors,Lt=Object.getOwnPropertySymbols,Ct=Object.prototype.hasOwnProperty,Ut=Object.prototype.propertyIsEnumerable,cn=(Pe,Ve,st)=>Ve in Pe?an(Pe,Ve,{enumerable:!0,configurable:!0,writable:!0,value:st}):Pe[Ve]=st,sn=(Pe,Ve)=>{for(var st in Ve||(Ve={}))Ct.call(Ve,st)&&cn(Pe,st,Ve[st]);if(Lt)for(var st of Lt(Ve))Ut.call(Ve,st)&&cn(Pe,st,Ve[st]);return Pe},Nn=(Pe,Ve)=>Sn(Pe,On(Ve)),nt=(Pe,Ve)=>{var st={};for(var gt in Pe)Ct.call(Pe,gt)&&Ve.indexOf(gt)<0&&(st[gt]=Pe[gt]);if(Pe!=null&&Lt)for(var gt of Lt(Pe))Ve.indexOf(gt)<0&&Ut.call(Pe,gt)&&(st[gt]=Pe[gt]);return st};const{Countdown:Bt}=nn.default;var yn=Pe=>{var Ve=Pe,{onChange:st}=Ve,gt=nt(Ve,["onChange"]);const[xt,$t]=(0,ee.useState)(null);(0,ee.useEffect)(()=>{typeof xt=="number"&&xt>=0&&st(xt)},[xt]);const Ft=ze=>{const We=Math.floor(ze/1e3);$t(We)};return ee.createElement(Bt,Nn(sn({},gt),{onChange:Ft}))}},91300:function(bt,It,te){"use strict";te.d(It,{Z:function(){return ie}});var ee=te(59301);function ie(Ae,Ge){const Ce=(0,ee.useRef)();(0,ee.useEffect)(()=>{Ce.current=Ae}),(0,ee.useEffect)(()=>{function Fe(){Ce.current()}if(Ge!==null){let re=setInterval(Fe,Ge);return()=>clearInterval(re)}},[Ge])}},38600:function(bt,It,te){"use strict";te.d(It,{h:function(){return ee}});var ee=(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))(ee||{})},22267:function(bt,It,te){"use strict";te.d(It,{H7:function(){return y},MK:function(){return oe},MU:function(){return Ze},X6:function(){return pt},bM:function(){return Qe},fi:function(){return a},fu:function(){return Je},n4:function(){return b},rX:function(){return Te},vl:function(){return E},zO:function(){return lt}});var ee=te(70635),ie=Object.defineProperty,Ae=Object.getOwnPropertySymbols,Ge=Object.prototype.hasOwnProperty,Ce=Object.prototype.propertyIsEnumerable,Fe=(x,z,ne)=>z in x?ie(x,z,{enumerable:!0,configurable:!0,writable:!0,value:ne}):x[z]=ne,re=(x,z)=>{for(var ne in z||(z={}))Ge.call(z,ne)&&Fe(x,ne,z[ne]);if(Ae)for(var ne of Ae(z))Ce.call(z,ne)&&Fe(x,ne,z[ne]);return x};function Je(x,z){return(0,ee.U2)(`myproblems/${x}.json`,re({hidePopLogin:!0},z||{}))}function Qe(x,z){return(0,ee.v_)(`myproblems/${x}/code_submit.json`,z)}function Ze(x,z){return(0,ee.v_)(`myproblems/${x}/code_debug.json`,z)}function lt(x,z){return z.language&&(z.language=encodeURIComponent(z.language)),(0,ee.U2)(`myproblems/${x}/submit_records.json`,z)}function pt(x){return(0,ee.U2)("myproblems/record_detail.json",{id:x})}function Te(x,z){return(0,ee.U2)(`myproblems/${x}/result.json`,{mode:z})}function oe(x,z){return(0,ee.v_)(`myproblems/${x}/add_notes.json`,z)}function y(x,z){return(0,ee.v_)(`myproblems/${x}/restore_initial_code.json`,z)}function a(x){return(0,ee.v_)(`myproblems/${x}/sync_code.json`)}function b(x,z){return(0,ee.v_)(`myproblems/${x}/update_code.json`,z)}function E(x,z){return(0,ee.v_)(`discusses/${x}/plus.json`,z)}},17637:function(bt,It,te){"use strict";te.d(It,{D0:function(){return re},R8:function(){return Ge},jw:function(){return Fe},y3:function(){return Je}});var ee=te(57809),ie=te(59301);const{Option:Ae}=ee.default;var Ge=(Qe=>(Qe[Qe.language=0]="language",Qe[Qe.difficult=1]="difficult",Qe[Qe.category=2]="category",Qe[Qe.openOrNot=3]="openOrNot",Qe))(Ge||{});const Ce={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 Fe(Qe){return Ce[Qe].map(Ze=>ie.createElement(Ae,{key:Ze.title,value:Ze.key}," ",Ze.title," "))}function re(Qe,Ze){Qe.map(lt=>{const{id:pt,name:Te,sub_disciplines:oe}=lt;let y={value:pt,label:Te};Ze.push(y),oe&&oe.length>0&&(y.children=[],re(oe,y.children))})}function Je(Qe,Ze){var lt;let pt=[];for(let Te=0;Te<Qe.length;Te++){const oe=Qe[Te];if(((lt=oe.sub_disciplines)==null?void 0:lt.length)>0){pt[0]=oe.id;for(let y=0;y<oe.sub_disciplines.length;y++){const a=oe.sub_disciplines[y];if(a.id===Ze)return pt[1]=a.id,[pt,a.tag_disciplines||a.sub_disciplines||[]]}}}return[pt,[]]}},57789:function(bt,It,te){"use strict";te.r(It),te.d(It,{default:function(){return Me}});var ee=te(59301),ie=te(42203),Ae=te(78241),Ge=te(8591),Ce=te(43418),Fe=te(66104),re=te(5112),Je=te(95237),Qe=te(19842),Ze=te(57809),lt=te(98228),pt=te(6848),Te=te(54580),oe=te(1710),y=te(3113),a=te(10148),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(26696),x=te(58130),z=te(21759),ne=te(61485),ae=te(70635),le=te(71385),se=te(17637),ce=te(24334),be=te(2908),fe=te(59301),Oe=Object.defineProperty,ge=Object.defineProperties,it=Object.getOwnPropertyDescriptors,Le=Object.getOwnPropertySymbols,Ke=Object.prototype.hasOwnProperty,ye=Object.prototype.propertyIsEnumerable,je=(ke,Pt,Gt)=>Pt in ke?Oe(ke,Pt,{enumerable:!0,configurable:!0,writable:!0,value:Gt}):ke[Pt]=Gt,qe=(ke,Pt)=>{for(var Gt in Pt||(Pt={}))Ke.call(Pt,Gt)&&je(ke,Gt,Pt[Gt]);if(Le)for(var Gt of Le(Pt))ye.call(Pt,Gt)&&je(ke,Gt,Pt[Gt]);return ke},$e=(ke,Pt)=>ge(ke,it(Pt)),Ue=(ke,Pt,Gt)=>new Promise((mt,Jt)=>{var Be=St=>{try{pn(Gt.next(St))}catch(ut){Jt(ut)}},Xt=St=>{try{pn(Gt.throw(St))}catch(ut){Jt(ut)}},pn=St=>St.done?mt(St.value):Promise.resolve(St.value).then(Be,Xt);pn((Gt=Gt.apply(ke,Pt)).next())});const Rt=ke=>ke==="SINGLE"||ke==="MULTIPLE"?"SELECT":ke,Ye=ke=>ke.map(Pt=>$e(qe({},Pt),{is_answer:Pt.is_answer?1:0})),Dt=({form:ke,currentItemType:Pt,editId:Gt})=>({SELECT:fe.createElement(E.uh,{form:ke,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:fe.createElement(E.ZZ,{form:ke,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u5224\u65AD\u9898\u9898\u5E72\u5185\u5BB9",choiceKey:"choices"}),COMPLETION:fe.createElement(E.u8,{form:ke,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u9898\u5E72\u5E76\u8BBE\u7F6E\u586B\u7A7A\u9879",scoreByBlank:!1,answerKey:"standard_answers"}),SUBJECTIVE:fe.createElement(E.Wk,{showKeywords:!0,isMustKeyWords:!1,form:ke,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u7B80\u7B54\u9898\u9898\u5E72\u5185\u5BB9"}),COMBINATION:fe.createElement(E.rL,{form:ke,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u7EC4\u5408\u9898\u9898\u5E72\u5185\u5BB9",choiceKey:"choices",withScore:!1}),BPROGRAM:fe.createElement(E.tc,{form:ke,hackidentifier:Gt,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u9898\u5E72\u5E76\u8BBE\u7F6E\u586B\u7A7A\u9879",scoreByBlank:!1,answerKey:"standard_answers"})})[Pt]||null,qt=({problemset:ke,loading:Pt,dispatch:Gt})=>{var mt,Jt,Be,Xt;const pn=(0,ie.useParams)(),[St]=(0,ie.useSearchParams)(),[ut]=Ae.default.useForm(),[Xe,Ie]=(0,ee.useState)(),[he,de]=(0,ee.useState)([]),Ne=(0,ee.useRef)(),[at,Se]=(0,ee.useState)(1),[ve,et]=(0,ee.useState)([]),[De,Ee]=(0,ee.useState)(),[_e,Wt]=(0,ee.useState)(!1),[ht,Tt]=(0,ee.useState)(),[Mt,Zt]=(0,ee.useState)("SELECT"),xe=Ae.default.useWatch("knowledge",ut),[dt,vt]=(0,ee.useState)([]);(0,ee.useEffect)(()=>{Nt()},[]);const ft=nt=>nt.map(Bt=>({title:Bt.name,value:Bt.group_id,children:ft(Bt.children)})),Nt=()=>Ue(void 0,null,function*(){const nt=yield(0,be.NZ)({});if(nt!=null&&nt.data){const Bt=[{title:"\u6839\u76EE\u5F55",value:0,children:ft(nt.data||[])}];vt(Bt)}});(0,ee.useEffect)(()=>(Gt({type:"globalSetting/footerToggle",payload:!1}),()=>{Gt({type:"globalSetting/footerToggle",payload:!0})}),[]),(0,ee.useEffect)(()=>(at===1&&window.addEventListener("beforeunload",nn),()=>{window.removeEventListener("beforeunload",nn)}),[at]),(0,ee.useEffect)(()=>{const nt=St.get("pages");Ie(nt);const Bt=pn.id;Ne.current=Bt},[]);const Vt=pn.type==="edit";(0,ee.useEffect)(()=>{function nt(){return Ue(this,null,function*(){const Bt=yield Gt({type:"problemset/getEditDisciplines",payload:{source:"new_question"}})})}nt(),St.get("type")==="1"?Ne.current&&Gt({type:"problemset/getEditDataBprogram",payload:{id:Ne.current}}):Ne.current&&Gt({type:"problemset/getEditData",payload:{id:Ne.current}})},[]),(0,ee.useEffect)(()=>{var nt,Bt,Qt,yn,Pe,Ve;if(!Vt)Tt({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(!(ke!=null&&ke.editData))return;const{discipline:st,sub_discipline:gt,sub_discipline_id:xt,tag_disciplines:$t,item_type:Ft,choices:ze=[],sub_item_banks:We=[]}=(ke==null?void 0:ke.editData)||{};if(St.get("type")==="1"){if(Zt("BPROGRAM"),(nt=ke==null?void 0:ke.disciplinesData)!=null&&nt.disciplines){const[Re,ct]=(0,se.y3)((Bt=ke==null?void 0:ke.disciplinesData)==null?void 0:Bt.disciplines,xt),jt={item_type:"BPROGRAM",standard_answers:ke.editData.standard_answer,difficulty:ke.editData.difficult,item_banks_group_id:ke.editData.item_banks_group_id,course:Re,knowledge:(Qt=ke.editData)==null?void 0:Qt.tag_discipline_ids,hack:qe({},ke.editData),hack_codes:$e(qe({},ke.editData),{code:ce.Base64.decode(((yn=ke.editData)==null?void 0:yn.code)||"")}),hack_sets:qe({},(Ve=(Pe=ke.editData)==null?void 0:Pe.hack_sets)==null?void 0:Ve[0])};Tt(jt),xt&&sn(xt).then(Ot=>{})}}else{const Re=$e(qe({},ke==null?void 0:ke.editData),{item_type:Rt(Ft),choices:Ye(ze),course:[st==null?void 0:st.id,gt==null?void 0:gt.id],knowledge:$t==null?void 0:$t.map(ct=>ct.id),sub_item_banks:We.map(ct=>$e(qe({},ct),{choices:Ye(ct.choices)}))});Tt(Re),Zt(Rt(Ft)),gt!=null&&gt.id&&sn(gt==null?void 0:gt.id).then(ct=>{var jt;const Ot=ct==null?void 0:ct.map(vn=>vn.id);Ot!=null&&Ot.includes((jt=$t==null?void 0:$t[0])==null?void 0:jt.id)||de(vn=>[...vn,...$t])})}}},[ke.editData,ke==null?void 0:ke.disciplinesData]);const nn=nt=>{nt.preventDefault(),nt.returnValue=""},an=nt=>{const{course:Bt,knowledge:Qt,difficulty:yn,item_banks_group_id:Pe}=ut.getFieldsValue(),Ve={item_type:nt,course:Bt,knowledge:Qt,difficulty:yn,item_banks_group_id:Pe};switch(ut.resetFields(),ut.setFieldsValue(Ve),Zt(nt),nt){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}},Sn=(nt,Bt)=>{var Qt;if(console.log(nt,"changedValues"),nt!=null&&nt.item_type){if((nt==null?void 0:nt.item_type)==="PROGRAM"){const{course:yn,knowledge:Pe,difficulty:Ve,item_banks_group_id:st}=ut.getFieldsValue();console.log({course:yn,knowledge:Pe,difficulty:Ve,item_banks_group_id:st},"resetInitValues"),(0,x.xg)(`/problems/newcreate?discipline_id=${(yn==null?void 0:yn[0])||""}&sub_discipline_id=${(yn==null?void 0:yn[1])||""}&difficult=${Ve||""}&banksIds=${st||""}&tagIds=${Pe==null?void 0:Pe.map(xt=>xt.value).join(",")}`)}an(nt==null?void 0:nt.item_type)}if(nt!=null&&nt.course){const[yn,Pe]=nt.course;sn(Pe),ut.setFieldsValue({knowledge:[]})}if((Qt=nt==null?void 0:nt.hack)!=null&&Qt.sub_discipline_id){const[yn,Pe]=nt.hack.sub_discipline_id;sn(Pe),ut.setFieldsValue({hack:{tag_discipline_ids:[]}})}},On=nt=>{de([...he,qe({},nt)])},[Lt,Ct]=(0,ee.useState)("");(0,ee.useEffect)(()=>{Ct(new Date)},[ut.getFieldValue("course")]);const Ut=()=>Ue(void 0,null,function*(){var nt,Bt,Qt,yn;const Pe=ut.getFieldsValue(),Ve=Re=>{if(!(Re!=null&&Re.length))return!1;const ct=Re.map(Ot=>{var vn;return(vn=Ot.choice_text)==null?void 0:vn.trim().replace(/^\s+|\s+$/g,"")});return new Set(ct).size!==ct.length};if(Pe.item_type==="SELECT"&&Ve(Pe.choices)){Ge.ZP.error("\u9009\u62E9\u9898\u9009\u9879\u5185\u5BB9\u4E0D\u80FD\u91CD\u590D\uFF0C\u8BF7\u4FEE\u6539\u540E\u518D\u4FDD\u5B58");return}if(Pe.item_type==="COMBINATION"&&((nt=Pe.sub_item_banks)==null?void 0:nt.some(ct=>ct.item_type==="SINGLE"||ct.item_type==="MULTIPLE"?Ve(ct.choices):!1))){Ge.ZP.error("\u9009\u62E9\u9898\u9009\u9879\u5185\u5BB9\u4E0D\u80FD\u91CD\u590D\uFF0C\u8BF7\u4FEE\u6539\u540E\u518D\u4FDD\u5B58");return}(Pe==null?void 0:Pe.item_type)=="COMPLETION"&&Pe.is_ordered==null&&(Pe.is_ordered=!0);let{course:st=[],item_type:gt,item_banks_group_id:xt,knowledge:$t=[],choices:Ft}=Pe||{};const[ze,We]=st;if(at===1){if(gt==="PROGRAM"){(0,x.xg)("/problems/newcreate");return}let Re=[];($t==null?void 0:$t.length)>0&&((Bt=$t==null?void 0:$t[0])!=null&&Bt.value?$t==null||$t.map(vn=>{Re.push(vn==null?void 0:vn.value)}):Re=$t);const ct=Array.isArray(xt)?xt:[xt];if(gt==="BPROGRAM"){let vn=$e(qe({},Pe),{knowledge:Re,item_banks_group_ids:ct,hack:$e(qe({},Pe==null?void 0:Pe.hack),{sub_discipline_id:We,difficult:Pe.difficulty,item_banks_group_ids:ct,tag_discipline_ids:Re}),hack_codes:$e(qe({},Pe.hack_codes),{code:ce.Base64.encode(Pe.hack_codes.code)}),hack_sets:[qe({},Pe.hack_sets)],update_hack_sets:[qe({},Pe.hack_sets)],is_blank:!0});console.log(vn,"datas"),Vt||sessionStorage.projectFill?(yield(0,ae.ZP)(`/api/problems/${Ne.current||sessionStorage.projectFill}.json`,{method:"put",body:qe({},vn)})).status===0&&ie.history.replace(`/problemset?tabs_key=${St.get("tabs_key")||"0"}${St.get("tabs_key")!=="3"?`&group_id=${Pe.item_banks_group_id}`:""}&page=${St.get("page")}`):(yield(0,ae.ZP)("/api/problems.json",{method:"post",body:qe({},vn)})).status===0&&Ce.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(){an(Mt)},onCancel(){ie.history.replace(`/problemset?group_id=${xt}`)}});return}if(gt==="SELECT"&&(gt=Ft.filter(vn=>vn.is_answer===1).length>1?"MULTIPLE":"SINGLE"),gt==="COMBINATION"){let{sub_item_banks:vn}=Pe||{};Pe.sub_item_banks=vn==null?void 0:vn.map(fn=>qe({},fn))}const jt=$e(qe({},Pe),{discipline_id:ze,sub_discipline_id:We,item_banks_group_ids:ct,tag_discipline_ids:Re,knowledge:Re,item_type:gt});let Ot;Vt?Ot=yield Gt({type:"problemset/editProblemset",payload:$e(qe({},jt),{id:Ne.current})}):Ot=yield Gt({type:"problemset/addProblemset",payload:jt}),Ot.status===0&&(Vt?ie.history.replace(`/problemset?tabs_key=${St.get("tabs_key")||"0"}${St.get("tabs_key")!=="3"?`&group_id=${xt}`:""}&page=${St.get("page")}`):Ce.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(){an(Mt)},onCancel(){ie.history.replace(`/problemset?group_id=${xt}`)}}))}else{if((ve==null?void 0:ve.length)<=0){Ge.ZP.info("\u8BF7\u4E0A\u4F20\u8BD5\u9898\u6587\u4EF6");return}Wt(!0);const Re=new FormData;Re.append("file",ve[0]),Re.append("sub_discipline_id",We);const ct=yield(0,ae.ZP)("/api/item_banks/file_import.json",{method:"post",body:Re},!0);if(Wt(!1),(ct==null?void 0:ct.status)===0){if(((Qt=ct==null?void 0:ct.fail)==null?void 0:Qt.length)>0){Ee(ct==null?void 0:ct.fail),Ge.ZP.error("\u4E0A\u4F20\u5931\u8D25\u9898\u6570\u4E3A"+((yn=ct==null?void 0:ct.fail)==null?void 0:yn.length)+"\uFF0C\u53EF\u5728\u5E95\u90E8\u8BD5\u9898\u5217\u8868\u67E5\u770B\u9519\u8BEF\u539F\u56E0\u3002");return}ut.setFieldsValue({course:[]}),et([]),Ee([]),Ge.ZP.info("\u4E0A\u4F20\u6210\u529F")}}}),cn=nt=>Ue(void 0,null,function*(){var Bt,Qt,yn,Pe,Ve;nt.errorFields[0].name.includes("standard_answers")?((yn=(Qt=(Bt=nt==null?void 0:nt.errorFields)==null?void 0:Bt[0])==null?void 0:Qt.errors)==null?void 0:yn[0])==="\u8BF7\u5148\u5728\u9898\u5E72\u4E2D\u63D2\u5165\u586B\u7A7A\u9879"?((0,x.pE)(),Ge.ZP.error("\u8BF7\u5148\u5728\u9898\u5E72\u4E2D\u63D2\u5165\u586B\u7A7A\u9879")):Ge.ZP.error("\u586B\u7A7A\u9879\u7B54\u6848\u4E0D\u80FD\u4E3A\u7A7A"):Ge.ZP.error(nt.errorFields[0].errors[0]),ut.scrollToField((Ve=(Pe=nt==null?void 0:nt.errorFields)==null?void 0:Pe[0])==null?void 0:Ve.name,{behavior:"smooth",block:"center"})}),sn=nt=>Ue(void 0,null,function*(){const Bt=yield Gt({type:"exercise/getTagDiscipline",payload:{sub_discipline_id:nt}});return de(Bt.tag_disciplines),Bt==null?void 0:Bt.tag_disciplines}),Nn=[{title:"\u9898\u76EE\u540D\u79F0",dataIndex:"name",key:"name"},{title:"\u9519\u8BEF\u539F\u56E0",dataIndex:"message",key:"message"}];return fe.createElement("div",{className:b.bgWrapper},fe.createElement("section",{className:b.bg},fe.createElement(Fe.Z,{className:"mb20",separator:">"},fe.createElement(Fe.Z.Item,{href:"/problemset"},"\u8BD5\u9898\u5E93"),fe.createElement(Fe.Z.Item,null,Vt?"\u7F16\u8F91":"\u65B0\u589E","\u8BD5\u9898")),fe.createElement("div",{className:b.main},!Vt&&fe.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:fe.createElement("div",null,fe.createElement("img",{width:26,style:{position:"absolute",top:-5},src:le.$}),fe.createElement("span",null,"\u667A\u80FD\u5BFC\u5165")),value:3}],onChange:nt=>{Se(nt.target.value),et([]),Ee([])},value:at}),at===1&&ht&&fe.createElement(Ae.default,{form:ut,className:b.formWrap,layout:"horizontal",colon:!1,onValuesChange:Sn,onFinish:Ut,onFinishFailed:cn,initialValues:ht},fe.createElement(Ae.default.Item,{label:"\u8BD5\u9898\u7C7B\u578B",name:"item_type",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u9898\u578B"}]},fe.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"}]})),fe.createElement("div",{style:{display:Mt==="PROGRAM"?"none":"flex",background:"#F6F7F9",alignItems:"center",padding:"27px 20px"}},fe.createElement(Je.Z,{align:"middle"},fe.createElement(Ae.default.Item,{label:"\u77E5\u8BC6\u70B9",labelCol:{flex:"62px"},className:b.cascaderWrapper,name:"course"},fe.createElement(Qe.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:ke.courseOptions,style:{width:177},onChange:nt=>{nt||ut.setFieldsValue({knowledge:[]})}})),fe.createElement(Ae.default.Item,{label:"",name:"knowledge",className:"mb0"},fe.createElement(z.N,{key:Lt,height:260,selectvalues:xe,subId:((mt=ut.getFieldsValue().course)==null?void 0:mt[1])||((Xt=(Be=(Jt=ut.getFieldsValue())==null?void 0:Jt.hack)==null?void 0:Be.sub_discipline_id)==null?void 0:Xt[1]),knowledgeOptions:he,onAddKnowledgeFinish:On,className:b.knowledgeWrapper}))),fe.createElement(Ae.default.Item,{name:"difficulty",label:"\u96BE\u5EA6",className:b.difficultyWrapper,rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u96BE\u5EA6"}]},fe.createElement(Ze.default,{style:{width:120,height:46}},fe.createElement(Ze.default.Option,{value:1},"\u7B80\u5355"),fe.createElement(Ze.default.Option,{value:2},"\u9002\u4E2D"),fe.createElement(Ze.default.Option,{value:3},"\u56F0\u96BE"))),fe.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"}},fe.createElement(lt.default,{style:{width:270},treeDefaultExpandedKeys:[0],placeholder:"\u8BF7\u9009\u62E9\u6587\u4EF6\u5939",popupClassName:b.treeWrapper,treeData:dt}))),fe.createElement("div",{className:b.topicWrap},fe.createElement(Dt,{editId:Ne.current,currentItemType:Mt,form:ut}))),at===2&&fe.createElement("div",null,fe.createElement(Ae.default,{form:ut,className:b.formWrap,layout:"vertical",onValuesChange:Sn,onFinish:Ut},fe.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"}]},fe.createElement(Qe.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:ke.courseOptions,style:{width:490}})),fe.createElement("div",{className:"mb30"},fe.createElement("span",{className:b.uploadTips},"\u6839\u636E\u6A21\u677F\u8981\u6C42\u7F16\u8F91\u9700\u8981\u4E0A\u4F20\u7684\u8BD5\u9898",fe.createElement(pt.Z,{title:fe.createElement("div",null,fe.createElement("div",null,"\u63D0\u793A:"),fe.createElement("div",null,"1\u3001\u76EE\u524D\u4EC5\u652F\u6301Excel\u683C\u5F0F\u6A21\u677F\uFF1B"),fe.createElement("div",null,"2\u3001\u4E0D\u652F\u6301\u7EC4\u5408\u9898\u548C\u5B9E\u8BAD\u9898\u5BFC\u5165\uFF1B"),fe.createElement("div",null,"3\u3001\u6BCF\u6B21\u6700\u591A\u5BFC\u5165300\u9898\uFF1B"),fe.createElement("div",null,"4\u3001\u586B\u7A7A\u9898\u5BFC\u5165\u6700\u591A\u652F\u63018\u4E2A\u586B\u7A7A\u9879\u3002"))},fe.createElement(ne.Z,{className:b.uploadTipsIcon}))),fe.createElement("a",{className:`${b.downloadBtn} ml30`,href:a.Z.API_SERVER+"/api/item_banks/down_template",download:!0},"\u4E0B\u8F7D\u8BD5\u9898\u6A21\u7248",fe.createElement("i",{className:"iconfont icon-xiazai4 ml10",style:{fontSize:14}}))),fe.createElement(Te.default,{onRemove:()=>{et([])},beforeUpload:nt=>{if(console.log(nt),(nt==null?void 0:nt.size)>1024*1024*50)return Ge.ZP.info("\u6587\u4EF6\u8D85\u8FC750M\uFF0C\u4E0D\u7B26\u5408\u4E0A\u4F20\u8981\u6C42"),!1;let Bt=[];return Bt.push(nt),et([...Bt]),!1},fileList:ve,accept:".xls,.xlsx",showUploadList:{removeIcon:fe.createElement("i",{className:"iconfont icon-shanchu12",style:{color:"#F65160"}})}},fe.createElement("div",{className:b.uploadBtn},fe.createElement("i",{className:"iconfont icon-shangchuan3",style:{fontSize:14}}),"\u70B9\u51FB\u4E0A\u4F20"))),fe.createElement("br",null),(De==null?void 0:De.length)>0&&fe.createElement("span",{style:{fontSize:"18px",display:"flex",width:"100%",justifyContent:"center"}},"\u9519\u8BEF\u5217\u8868"),(De==null?void 0:De.length)>0&&fe.createElement(oe.default,{style:{marginTop:"10px"},dataSource:De,columns:Nn})),at===3&&fe.createElement(le.Z,{mode:1,onCancel:()=>ie.history.push("/problemset")})),at!==3&&fe.createElement("div",{className:b.buttonFixed},fe.createElement("div",{className:b.buttonWrap},fe.createElement(y.ZP,{size:"middle",className:`${b.button} mr20`,onClick:()=>ie.history.push(`/problemset?page=${St.get("page")}`)},"\u53D6\u6D88"),fe.createElement(y.ZP,{size:"middle",type:"primary",className:`${b.button} mr20`,onClick:()=>ut.submit(),loading:Pt["problemset/editProblemset"]||Pt["problemset/addProblemset"]||_e},Mt==="PROGRAM"&&at===1?"\u7ACB\u5373\u521B\u5EFA":"\u4FDD\u5B58\u9898\u76EE")))))};var Me=(0,ie.connect)(({problemset:ke,loading:Pt,globalSetting:Gt})=>({problemset:ke,globalSetting:Gt,loading:Pt.effects}))(qt)},50371:function(bt,It){"use strict";function te(){const ee=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(Ge=>{const Ce=Ae[Ge];Ce!==void 0&&(ee[Ge]=Ce)})}return ee}It.Z=te},13845:function(bt,It,te){"use strict";te.d(It,{F:function(){return ee},Z:function(){return ie}});function ee(Ae){return Ae!=null&&Ae===Ae.window}function ie(Ae,Ge){var Ce,Fe;if(typeof window=="undefined")return 0;const re=Ge?"scrollTop":"scrollLeft";let Je=0;return ee(Ae)?Je=Ae[Ge?"pageYOffset":"pageXOffset"]:Ae instanceof Document?Je=Ae.documentElement[re]:(Ae instanceof HTMLElement||Ae)&&(Je=Ae[re]),Ae&&!ee(Ae)&&typeof Je!="number"&&(Je=(Fe=((Ce=Ae.ownerDocument)!==null&&Ce!==void 0?Ce:Ae).documentElement)===null||Fe===void 0?void 0:Fe[re]),Je}},56762:function(bt,It,te){"use strict";te.d(It,{Z:function(){return ie}});var ee=te(59301);function ie(){const[,Ae]=ee.useReducer(Ge=>Ge+1,0);return Ae}},68031:function(bt,It,te){"use strict";te.d(It,{Z:function(){return Ge}});var ee=te(16089);function ie(Ce,Fe,re,Je){const Qe=re-Fe;return Ce/=Je/2,Ce<1?Qe/2*Ce*Ce*Ce+Fe:Qe/2*((Ce-=2)*Ce*Ce+2)+Fe}var Ae=te(13845);function Ge(Ce){let Fe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{getContainer:re=()=>window,callback:Je,duration:Qe=450}=Fe,Ze=re(),lt=(0,Ae.Z)(Ze,!0),pt=Date.now(),Te=()=>{const y=Date.now()-pt,a=ie(y>Qe?Qe:y,lt,Ce,Qe);(0,Ae.F)(Ze)?Ze.scrollTo(window.pageXOffset,a):Ze instanceof Document||Ze.constructor.name==="HTMLDocument"?Ze.documentElement.scrollTop=a:Ze.scrollTop=a,y<Qe?(0,ee.Z)(Te):typeof Je=="function"&&Je()};(0,ee.Z)(Te)}},66104:function(bt,It,te){"use strict";te.d(It,{Z:function(){return Ke}});var ee=te(92310),ie=te.n(ee),Ae=te(11592),Ge=te(26112),Ce=te(59301),Fe=te(92343),re=te(36355),Je=te(84105),Qe=te(91857);const Ze=ye=>{let{children:je}=ye;const{getPrefixCls:qe}=Ce.useContext(re.E_),$e=qe("breadcrumb");return Ce.createElement("li",{className:`${$e}-separator`,"aria-hidden":"true"},je===""?je:je||"/")};Ze.__ANT_BREADCRUMB_SEPARATOR=!0;var lt=Ze,pt=function(ye,je){var qe={};for(var $e in ye)Object.prototype.hasOwnProperty.call(ye,$e)&&je.indexOf($e)<0&&(qe[$e]=ye[$e]);if(ye!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ue=0,$e=Object.getOwnPropertySymbols(ye);Ue<$e.length;Ue++)je.indexOf($e[Ue])<0&&Object.prototype.propertyIsEnumerable.call(ye,$e[Ue])&&(qe[$e[Ue]]=ye[$e[Ue]]);return qe};function Te(ye,je){if(ye.title===void 0||ye.title===null)return null;const qe=Object.keys(je).join("|");return typeof ye.title=="object"?ye.title:String(ye.title).replace(new RegExp(`:(${qe})`,"g"),($e,Ue)=>je[Ue]||$e)}function oe(ye,je,qe,$e){if(qe==null)return null;const{className:Ue,onClick:Rt}=je,Ye=pt(je,["className","onClick"]),Dt=Object.assign(Object.assign({},(0,Ge.Z)(Ye,{data:!0,aria:!0})),{onClick:Rt});return $e!==void 0?Ce.createElement("a",Object.assign({},Dt,{className:ie()(`${ye}-link`,Ue),href:$e}),qe):Ce.createElement("span",Object.assign({},Dt,{className:ie()(`${ye}-link`,Ue)}),qe)}function y(ye,je){return($e,Ue,Rt,Ye,Dt)=>{if(je)return je($e,Ue,Rt,Ye);const qt=Te($e,Ue);return oe(ye,$e,qt,Dt)}}var a=function(ye,je){var qe={};for(var $e in ye)Object.prototype.hasOwnProperty.call(ye,$e)&&je.indexOf($e)<0&&(qe[$e]=ye[$e]);if(ye!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ue=0,$e=Object.getOwnPropertySymbols(ye);Ue<$e.length;Ue++)je.indexOf($e[Ue])<0&&Object.prototype.propertyIsEnumerable.call(ye,$e[Ue])&&(qe[$e[Ue]]=ye[$e[Ue]]);return qe};const b=ye=>{const{prefixCls:je,separator:qe="/",children:$e,menu:Ue,overlay:Rt,dropdownProps:Ye,href:Dt}=ye,Me=(ke=>{if(Ue||Rt){const Pt=Object.assign({},Ye);if(Ue){const Gt=Ue||{},{items:mt}=Gt,Jt=a(Gt,["items"]);Pt.menu=Object.assign(Object.assign({},Jt),{items:mt==null?void 0:mt.map((Be,Xt)=>{var{key:pn,title:St,label:ut,path:Xe}=Be,Ie=a(Be,["key","title","label","path"]);let he=ut!=null?ut:St;return Xe&&(he=Ce.createElement("a",{href:`${Dt}${Xe}`},he)),Object.assign(Object.assign({},Ie),{key:pn!=null?pn:Xt,label:he})})})}else Rt&&(Pt.overlay=Rt);return Ce.createElement(Qe.Z,Object.assign({placement:"bottom"},Pt),Ce.createElement("span",{className:`${je}-overlay-link`},ke,Ce.createElement(Je.Z,null)))}return ke})($e);return Me!=null?Ce.createElement(Ce.Fragment,null,Ce.createElement("li",null,Me),qe&&Ce.createElement(lt,null,qe)):null},E=ye=>{const{prefixCls:je,children:qe,href:$e}=ye,Ue=a(ye,["prefixCls","children","href"]),{getPrefixCls:Rt}=Ce.useContext(re.E_),Ye=Rt("breadcrumb",je);return Ce.createElement(b,Object.assign({},Ue,{prefixCls:Ye}),oe(Ye,Ue,qe,$e))};E.__ANT_BREADCRUMB_ITEM=!0;var x=E,z=te(17313),ne=te(83116),ae=te(37613);const le=ye=>{const{componentCls:je,iconCls:qe}=ye;return{[je]:Object.assign(Object.assign({},(0,z.Wf)(ye)),{color:ye.itemColor,fontSize:ye.fontSize,[qe]:{fontSize:ye.iconFontSize},ol:{display:"flex",flexWrap:"wrap",margin:0,padding:0,listStyle:"none"},a:Object.assign({color:ye.linkColor,transition:`color ${ye.motionDurationMid}`,padding:`0 ${ye.paddingXXS}px`,borderRadius:ye.borderRadiusSM,height:ye.lineHeight*ye.fontSize,display:"inline-block",marginInline:-ye.marginXXS,"&:hover":{color:ye.linkHoverColor,backgroundColor:ye.colorBgTextHover}},(0,z.Qy)(ye)),"li:last-child":{color:ye.lastItemColor},[`${je}-separator`]:{marginInline:ye.separatorMargin,color:ye.separatorColor},[`${je}-link`]:{[`
> ${qe} + span,
> ${qe} + a
`]:{marginInlineStart:ye.marginXXS}},[`${je}-overlay-link`]:{borderRadius:ye.borderRadiusSM,height:ye.lineHeight*ye.fontSize,display:"inline-block",padding:`0 ${ye.paddingXXS}px`,marginInline:-ye.marginXXS,[`> ${qe}`]:{marginInlineStart:ye.marginXXS,fontSize:ye.fontSizeIcon},"&:hover":{color:ye.linkHoverColor,backgroundColor:ye.colorBgTextHover,a:{color:ye.linkHoverColor}},a:{"&:hover":{backgroundColor:"transparent"}}},[`&${ye.componentCls}-rtl`]:{direction:"rtl"}})}};var se=(0,ne.Z)("Breadcrumb",ye=>{const je=(0,ae.TS)(ye,{});return[le(je)]},ye=>({itemColor:ye.colorTextDescription,lastItemColor:ye.colorText,iconFontSize:ye.fontSize,linkColor:ye.colorTextDescription,linkHoverColor:ye.colorText,separatorColor:ye.colorTextDescription,separatorMargin:ye.marginXS})),ce=function(ye,je){var qe={};for(var $e in ye)Object.prototype.hasOwnProperty.call(ye,$e)&&je.indexOf($e)<0&&(qe[$e]=ye[$e]);if(ye!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ue=0,$e=Object.getOwnPropertySymbols(ye);Ue<$e.length;Ue++)je.indexOf($e[Ue])<0&&Object.prototype.propertyIsEnumerable.call(ye,$e[Ue])&&(qe[$e[Ue]]=ye[$e[Ue]]);return qe};function be(ye){const{breadcrumbName:je,children:qe}=ye,$e=ce(ye,["breadcrumbName","children"]),Ue=Object.assign({title:je},$e);return qe&&(Ue.menu={items:qe.map(Rt=>{var{breadcrumbName:Ye}=Rt,Dt=ce(Rt,["breadcrumbName"]);return Object.assign(Object.assign({},Dt),{title:Ye})})}),Ue}function fe(ye,je){return(0,Ce.useMemo)(()=>ye||(je?je.map(be):null),[ye,je])}var Oe=function(ye,je){var qe={};for(var $e in ye)Object.prototype.hasOwnProperty.call(ye,$e)&&je.indexOf($e)<0&&(qe[$e]=ye[$e]);if(ye!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ue=0,$e=Object.getOwnPropertySymbols(ye);Ue<$e.length;Ue++)je.indexOf($e[Ue])<0&&Object.prototype.propertyIsEnumerable.call(ye,$e[Ue])&&(qe[$e[Ue]]=ye[$e[Ue]]);return qe};const ge=(ye,je)=>{if(je===void 0)return je;let qe=(je||"").replace(/^\//,"");return Object.keys(ye).forEach($e=>{qe=qe.replace(`:${$e}`,ye[$e])}),qe},it=ye=>{const{prefixCls:je,separator:qe="/",style:$e,className:Ue,rootClassName:Rt,routes:Ye,items:Dt,children:qt,itemRender:Me,params:ke={}}=ye,Pt=Oe(ye,["prefixCls","separator","style","className","rootClassName","routes","items","children","itemRender","params"]),{getPrefixCls:Gt,direction:mt,breadcrumb:Jt}=Ce.useContext(re.E_);let Be;const Xt=Gt("breadcrumb",je),[pn,St]=se(Xt),ut=fe(Dt,Ye),Xe=y(Xt,Me);if(ut&&ut.length>0){const de=[],Ne=Dt||Ye;Be=ut.map((at,Se)=>{const{path:ve,key:et,type:De,menu:Ee,overlay:_e,onClick:Wt,className:ht,separator:Tt,dropdownProps:Mt}=at,Zt=ge(ke,ve);Zt!==void 0&&de.push(Zt);const xe=et!=null?et:Se;if(De==="separator")return Ce.createElement(lt,{key:xe},Tt);const dt={},vt=Se===ut.length-1;Ee?dt.menu=Ee:_e&&(dt.overlay=_e);let{href:ft}=at;return de.length&&Zt!==void 0&&(ft=`#/${de.join("/")}`),Ce.createElement(b,Object.assign({key:xe},dt,(0,Ge.Z)(at,{data:!0,aria:!0}),{className:ht,dropdownProps:Mt,href:ft,separator:vt?"":qe,onClick:Wt,prefixCls:Xt}),Xe(at,ke,Ne,de,ft))})}else if(qt){const de=(0,Ae.Z)(qt).length;Be=(0,Ae.Z)(qt).map((Ne,at)=>{if(!Ne)return Ne;const Se=at===de-1;return(0,Fe.Tm)(Ne,{separator:Se?"":qe,key:at})})}const Ie=ie()(Xt,Jt==null?void 0:Jt.className,{[`${Xt}-rtl`]:mt==="rtl"},Ue,Rt,St),he=Object.assign(Object.assign({},Jt==null?void 0:Jt.style),$e);return pn(Ce.createElement("nav",Object.assign({className:Ie,style:he},Pt),Ce.createElement("ol",null,Be)))};it.Item=x,it.Separator=lt;var Le=it,Ke=Le},19842:function(bt,It,te){"use strict";te.d(It,{Z:function(){return yn}});var ee=te(65093),ie=te(59301),Ae=te(33853),Ge=te(58617),Ce=te(38819),Fe=te(92310),re=te.n(Fe),Je=te(16378),Qe=te(10859),Ze=te(61206),lt=te(77861),pt=te(17115),Te=te(90782),oe=te(6089),y=te(18929),a=ie.createContext(null),b=a,E=te(42066),x=te(78772),z=te(35227),ne="__rc_cascader_search_mark__",ae=function(Ve,st,gt){var xt=gt.label;return st.some(function($t){return String($t[xt]).toLowerCase().includes(Ve.toLowerCase())})},le=function(Ve,st,gt,xt){return st.map(function($t){return $t[xt.label]}).join(" / ")},se=function(Pe,Ve,st,gt,xt,$t){var Ft=xt.filter,ze=Ft===void 0?ae:Ft,We=xt.render,Re=We===void 0?le:We,ct=xt.limit,jt=ct===void 0?50:ct,Ot=xt.sort;return ie.useMemo(function(){var vn=[];if(!Pe)return[];function fn(en,xn){var Qn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;en.forEach(function(on){if(!(!Ot&&jt!==!1&&jt>0&&vn.length>=jt)){var Un=[].concat((0,ee.Z)(xn),[on]),$n=on[st.children],ca=Qn||on.disabled;if((!$n||$n.length===0||$t)&&ze(Pe,Un,{label:st.label})){var qn;vn.push((0,z.Z)((0,z.Z)({},on),{},(qn={disabled:ca},(0,x.Z)(qn,st.label,Re(Pe,Un,gt,st)),(0,x.Z)(qn,ne,Un),(0,x.Z)(qn,st.children,void 0),qn)))}$n&&fn(on[st.children],Un,ca)}})}return fn(Ve,[]),Ot&&vn.sort(function(en,xn){return Ot(en[ne],xn[ne],Pe,st)}),jt!==!1&&jt>0?vn.slice(0,jt):vn},[Pe,Ve,st,gt,Re,$t,ze,Ot,jt])},ce="__RC_CASCADER_SPLIT__",be="SHOW_PARENT",fe="SHOW_CHILD";function Oe(Pe){return Pe.join(ce)}function ge(Pe){return Pe.map(Oe)}function it(Pe){return Pe.split(ce)}function Le(Pe){var Ve=Pe||{},st=Ve.label,gt=Ve.value,xt=Ve.children,$t=gt||"value";return{label:st||"label",value:$t,key:$t,children:xt||"children"}}function Ke(Pe,Ve){var st,gt;return(st=Pe.isLeaf)!==null&&st!==void 0?st:!((gt=Pe[Ve.children])!==null&&gt!==void 0&&gt.length)}function ye(Pe){var Ve=Pe.parentElement;if(Ve){var st=Pe.offsetTop-Ve.offsetTop;st-Ve.scrollTop<0?Ve.scrollTo({top:st}):st+Pe.offsetHeight-Ve.scrollTop>Ve.offsetHeight&&Ve.scrollTo({top:st+Pe.offsetHeight-Ve.offsetHeight})}}function je(Pe,Ve){return Pe.map(function(st){var gt;return(gt=st[ne])===null||gt===void 0?void 0:gt.map(function(xt){return xt[Ve.value]})})}function qe(Pe,Ve,st){var gt=new Set(Pe),xt=Ve();return Pe.filter(function($t){var Ft=xt[$t],ze=Ft?Ft.parent:null,We=Ft?Ft.children:null;return Ft&&Ft.node.disabled?!0:st===fe?!(We&&We.some(function(Re){return Re.key&&gt.has(Re.key)})):!(ze&&!ze.node.disabled&&gt.has(ze.key))})}function $e(Pe,Ve,st){for(var gt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,xt=Ve,$t=[],Ft=function(){var Re,ct,jt,Ot=Pe[ze],vn=(Re=xt)===null||Re===void 0?void 0:Re.findIndex(function(en){var xn=en[st.value];return gt?String(xn)===String(Ot):xn===Ot}),fn=vn!==-1?(ct=xt)===null||ct===void 0?void 0:ct[vn]:null;$t.push({value:(jt=fn==null?void 0:fn[st.value])!==null&&jt!==void 0?jt:Ot,index:vn,option:fn}),xt=fn==null?void 0:fn[st.children]},ze=0;ze<Pe.length;ze+=1)Ft();return $t}var Ue=function(Pe,Ve,st,gt,xt){return ie.useMemo(function(){var $t=xt||function(Ft){var ze=gt?Ft.slice(-1):Ft,We=" / ";return ze.every(function(Re){return["string","number"].includes((0,E.Z)(Re))})?ze.join(We):ze.reduce(function(Re,ct,jt){var Ot=ie.isValidElement(ct)?ie.cloneElement(ct,{key:jt}):ct;return jt===0?[Ot]:[].concat((0,ee.Z)(Re),[We,Ot])},[])};return Pe.map(function(Ft){var ze,We,Re=$e(Ft,Ve,st),ct=$t(Re.map(function(Ot){var vn,fn=Ot.option,en=Ot.value;return(vn=fn==null?void 0:fn[st.label])!==null&&vn!==void 0?vn:en}),Re.map(function(Ot){var vn=Ot.option;return vn})),jt=Oe(Ft);return{label:ct,value:jt,key:jt,valueCells:Ft,disabled:(ze=Re[Re.length-1])===null||ze===void 0||(We=ze.option)===null||We===void 0?void 0:We.disabled}})},[Pe,Ve,st,xt,gt])},Rt=te(71430),Ye=function(Pe,Ve){var st=ie.useRef({options:null,info:null}),gt=ie.useCallback(function(){return st.current.options!==Pe&&(st.current.options=Pe,st.current.info=(0,Rt.I8)(Pe,{fieldNames:Ve,initWrapper:function($t){return(0,z.Z)((0,z.Z)({},$t),{},{pathKeyEntities:{}})},processEntity:function($t,Ft){var ze=$t.nodes.map(function(We){return We[Ve.value]}).join(ce);Ft.pathKeyEntities[ze]=$t,$t.key=ze}})),st.current.info.pathKeyEntities},[Ve,Pe]);return gt},Dt=function(Pe,Ve){return ie.useCallback(function(st){var gt=[],xt=[];return st.forEach(function($t){var Ft=$e($t,Pe,Ve);Ft.every(function(ze){return ze.option})?xt.push($t):gt.push($t)}),[xt,gt]},[Pe,Ve])},qt=te(48736);function Me(Pe){return ie.useMemo(function(){if(!Pe)return[!1,{}];var Ve={matchInputWidth:!0,limit:50};return Pe&&(0,E.Z)(Pe)==="object"&&(Ve=(0,z.Z)((0,z.Z)({},Ve),Pe)),Ve.limit<=0&&delete Ve.limit,[!0,Ve]},[Pe])}var ke=ie.memo(function(Pe){var Ve=Pe.children;return Ve},function(Pe,Ve){return!Ve.open}),Pt=ke;function Gt(Pe){var Ve,st=Pe.prefixCls,gt=Pe.checked,xt=Pe.halfChecked,$t=Pe.disabled,Ft=Pe.onClick,ze=Pe.disableCheckbox,We=ie.useContext(b),Re=We.checkable,ct=typeof Re!="boolean"?Re:null;return ie.createElement("span",{className:re()("".concat(st),(Ve={},(0,x.Z)(Ve,"".concat(st,"-checked"),gt),(0,x.Z)(Ve,"".concat(st,"-indeterminate"),!gt&&xt),(0,x.Z)(Ve,"".concat(st,"-disabled"),$t||ze),Ve)),onClick:Ft},ct)}var mt="__cascader_fix_label__";function Jt(Pe){var Ve=Pe.prefixCls,st=Pe.multiple,gt=Pe.options,xt=Pe.activeValue,$t=Pe.prevValuePath,Ft=Pe.onToggleOpen,ze=Pe.onSelect,We=Pe.onActive,Re=Pe.checkedSet,ct=Pe.halfCheckedSet,jt=Pe.loadingKeys,Ot=Pe.isSelectable,vn=Pe.searchValue,fn="".concat(Ve,"-menu"),en="".concat(Ve,"-menu-item"),xn=ie.useContext(b),Qn=xn.fieldNames,on=xn.changeOnSelect,Un=xn.expandTrigger,$n=xn.expandIcon,ca=xn.loadingIcon,qn=xn.dropdownMenuColumnStyle,tt=Un==="hover",zt=ie.useMemo(function(){return gt.map(function(yt){var _t,dn=yt.disabled,hn=yt.disableCheckbox,un=yt[ne],ln=(_t=yt[mt])!==null&&_t!==void 0?_t:yt[Qn.label],Wn=yt[Qn.value],Xn=Ke(yt,Qn),Kt=un?un.map(function(Fn){return Fn[Qn.value]}):[].concat((0,ee.Z)($t),[Wn]),aa=Oe(Kt),ya=jt.includes(aa),Ca=Re.has(aa),pa=ct.has(aa);return{disabled:dn,label:ln,value:Wn,isLeaf:Xn,isLoading:ya,checked:Ca,halfChecked:pa,option:yt,disableCheckbox:hn,fullPath:Kt,fullPathKey:aa}})},[gt,Re,Qn,ct,jt,$t]);return ie.createElement("ul",{className:fn,role:"menu"},zt.map(function(yt){var _t,dn=yt.disabled,hn=yt.label,un=yt.value,ln=yt.isLeaf,Wn=yt.isLoading,Xn=yt.checked,Kt=yt.halfChecked,aa=yt.option,ya=yt.fullPath,Ca=yt.fullPathKey,pa=yt.disableCheckbox,Fn=function(){if(!(dn||vn)){var na=(0,ee.Z)(ya);tt&&ln&&na.pop(),We(na)}},Tn=function(){Ot(aa)&&ze(ya,ln)},Vn;return typeof aa.title=="string"?Vn=aa.title:typeof hn=="string"&&(Vn=hn),ie.createElement("li",{key:Ca,className:re()(en,(_t={},(0,x.Z)(_t,"".concat(en,"-expand"),!ln),(0,x.Z)(_t,"".concat(en,"-active"),xt===un||xt===Ca),(0,x.Z)(_t,"".concat(en,"-disabled"),dn),(0,x.Z)(_t,"".concat(en,"-loading"),Wn),_t)),style:qn,role:"menuitemcheckbox",title:Vn,"aria-checked":Xn,"data-path-key":Ca,onClick:function(){Fn(),!pa&&(!st||ln)&&Tn()},onDoubleClick:function(){on&&Ft(!1)},onMouseEnter:function(){tt&&Fn()},onMouseDown:function(na){na.preventDefault()}},st&&ie.createElement(Gt,{prefixCls:"".concat(Ve,"-checkbox"),checked:Xn,halfChecked:Kt,disabled:dn||pa,disableCheckbox:pa,onClick:function(na){pa||(na.stopPropagation(),Tn())}}),ie.createElement("div",{className:"".concat(en,"-content")},hn),!Wn&&$n&&!ln&&ie.createElement("div",{className:"".concat(en,"-expand-icon")},$n),Wn&&ca&&ie.createElement("div",{className:"".concat(en,"-loading-icon")},ca))}))}var Be=function(){var Pe=(0,lt.lk)(),Ve=Pe.multiple,st=Pe.open,gt=ie.useContext(b),xt=gt.values,$t=ie.useState([]),Ft=(0,Qe.Z)($t,2),ze=Ft[0],We=Ft[1];return ie.useEffect(function(){if(st&&!Ve){var Re=xt[0];We(Re||[])}},[st]),[ze,We]},Xt=te(10228),pn=function(Pe,Ve,st,gt,xt,$t){var Ft=(0,lt.lk)(),ze=Ft.direction,We=Ft.searchValue,Re=Ft.toggleOpen,ct=Ft.open,jt=ze==="rtl",Ot=ie.useMemo(function(){for(var qn=-1,tt=Ve,zt=[],yt=[],_t=gt.length,dn=je(Ve,st),hn=function(aa){var ya=tt.findIndex(function(Ca,pa){return(dn[pa]?Oe(dn[pa]):Ca[st.value])===gt[aa]});if(ya===-1)return"break";qn=ya,zt.push(qn),yt.push(gt[aa]),tt=tt[qn][st.children]},un=0;un<_t&&tt;un+=1){var ln=hn(un);if(ln==="break")break}for(var Wn=Ve,Xn=0;Xn<zt.length-1;Xn+=1)Wn=Wn[zt[Xn]][st.children];return[yt,qn,Wn,dn]},[gt,st,Ve]),vn=(0,Qe.Z)(Ot,4),fn=vn[0],en=vn[1],xn=vn[2],Qn=vn[3],on=function(tt){xt(tt)},Un=function(tt){var zt=xn.length,yt=en;yt===-1&&tt<0&&(yt=zt);for(var _t=0;_t<zt;_t+=1){yt=(yt+tt+zt)%zt;var dn=xn[yt];if(dn&&!dn.disabled){var hn=fn.slice(0,-1).concat(Qn[yt]?Oe(Qn[yt]):dn[st.value]);on(hn);return}}},$n=function(){if(fn.length>1){var tt=fn.slice(0,-1);on(tt)}else Re(!1)},ca=function(){var tt,zt=((tt=xn[en])===null||tt===void 0?void 0:tt[st.children])||[],yt=zt.find(function(dn){return!dn.disabled});if(yt){var _t=[].concat((0,ee.Z)(fn),[yt[st.value]]);on(_t)}};ie.useImperativeHandle(Pe,function(){return{onKeyDown:function(tt){var zt=tt.which;switch(zt){case Xt.Z.UP:case Xt.Z.DOWN:{var yt=0;zt===Xt.Z.UP?yt=-1:zt===Xt.Z.DOWN&&(yt=1),yt!==0&&Un(yt);break}case Xt.Z.LEFT:{if(We)break;jt?ca():$n();break}case Xt.Z.RIGHT:{if(We)break;jt?$n():ca();break}case Xt.Z.BACKSPACE:{We||$n();break}case Xt.Z.ENTER:{if(fn.length){var _t=xn[en],dn=(_t==null?void 0:_t[ne])||[];dn.length?$t(dn.map(function(hn){return hn[st.value]}),dn[dn.length-1]):$t(fn,xn[en])}break}case Xt.Z.ESC:Re(!1),ct&&tt.stopPropagation()}},onKeyUp:function(){}}})},St=ie.forwardRef(function(Pe,Ve){var st,gt,xt,$t,Ft=(0,lt.lk)(),ze=Ft.prefixCls,We=Ft.multiple,Re=Ft.searchValue,ct=Ft.toggleOpen,jt=Ft.notFoundContent,Ot=Ft.direction,vn=Ft.open,fn=ie.useRef(),en=Ot==="rtl",xn=ie.useContext(b),Qn=xn.options,on=xn.values,Un=xn.halfValues,$n=xn.fieldNames,ca=xn.changeOnSelect,qn=xn.onSelect,tt=xn.searchOptions,zt=xn.dropdownPrefixCls,yt=xn.loadData,_t=xn.expandTrigger,dn=zt||ze,hn=ie.useState([]),un=(0,Qe.Z)(hn,2),ln=un[0],Wn=un[1],Xn=function(Da){if(!(!yt||Re)){var Xa=$e(Da,Qn,$n),ka=Xa.map(function(_n){var Za=_n.option;return Za}),Ga=ka[ka.length-1];if(Ga&&!Ke(Ga,$n)){var Na=Oe(Da);Wn(function(_n){return[].concat((0,ee.Z)(_n),[Na])}),yt(ka)}}};ie.useEffect(function(){ln.length&&ln.forEach(function(ja){var Da=it(ja),Xa=$e(Da,Qn,$n,!0).map(function(Ga){var Na=Ga.option;return Na}),ka=Xa[Xa.length-1];(!ka||ka[$n.children]||Ke(ka,$n))&&Wn(function(Ga){return Ga.filter(function(Na){return Na!==ja})})})},[Qn,ln,$n]);var Kt=ie.useMemo(function(){return new Set(ge(on))},[on]),aa=ie.useMemo(function(){return new Set(ge(Un))},[Un]),ya=Be(),Ca=(0,Qe.Z)(ya,2),pa=Ca[0],Fn=Ca[1],Tn=function(Da){Fn(Da),Xn(Da)},Vn=function(Da){var Xa=Da.disabled,ka=Ke(Da,$n);return!Xa&&(ka||ca||We)},Ln=function(Da,Xa){var ka=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;qn(Da),!We&&(Xa||ca&&(_t==="hover"||ka))&&ct(!1)},na=ie.useMemo(function(){return Re?tt:Qn},[Re,tt,Qn]),ha=ie.useMemo(function(){for(var ja=[{options:na}],Da=na,Xa=je(Da,$n),ka=function(){var Za=pa[Ga],uo=Da.find(function(to,lo){return(Xa[lo]?Oe(Xa[lo]):to[$n.value])===Za}),za=uo==null?void 0:uo[$n.children];if(!(za!=null&&za.length))return"break";Da=za,ja.push({options:za})},Ga=0;Ga<pa.length;Ga+=1){var Na=ka();if(Na==="break")break}return ja},[na,pa,$n]),da=function(Da,Xa){Vn(Xa)&&Ln(Da,Ke(Xa,$n),!0)};pn(Ve,na,$n,pa,Tn,da),ie.useEffect(function(){for(var ja=0;ja<pa.length;ja+=1){var Da,Xa=pa.slice(0,ja+1),ka=Oe(Xa),Ga=(Da=fn.current)===null||Da===void 0?void 0:Da.querySelector('li[data-path-key="'.concat(ka.replace(/\\{0,2}"/g,'\\"'),'"]'));Ga&&ye(Ga)}},[pa]);var Ba=!((st=ha[0])!==null&&st!==void 0&&(gt=st.options)!==null&&gt!==void 0&&gt.length),oa=[(xt={},(0,x.Z)(xt,$n.value,"__EMPTY__"),(0,x.Z)(xt,mt,jt),(0,x.Z)(xt,"disabled",!0),xt)],Ma=(0,z.Z)((0,z.Z)({},Pe),{},{multiple:!Ba&&We,onSelect:Ln,onActive:Tn,onToggleOpen:ct,checkedSet:Kt,halfCheckedSet:aa,loadingKeys:ln,isSelectable:Vn}),eo=Ba?[{options:oa}]:ha,fo=eo.map(function(ja,Da){var Xa=pa.slice(0,Da),ka=pa[Da];return ie.createElement(Jt,(0,Je.Z)({key:Da},Ma,{searchValue:Re,prefixCls:dn,options:ja.options,prevValuePath:Xa,activeValue:ka}))});return ie.createElement(Pt,{open:vn},ie.createElement("div",{className:re()("".concat(dn,"-menus"),($t={},(0,x.Z)($t,"".concat(dn,"-menu-empty"),Ba),(0,x.Z)($t,"".concat(dn,"-rtl"),en),$t)),ref:fn},fo))}),ut=St;function Xe(Pe){var Ve=Pe.onPopupVisibleChange,st=Pe.popupVisible,gt=Pe.popupClassName,xt=Pe.popupPlacement;warning(!Ve,"`onPopupVisibleChange` is deprecated. Please use `onDropdownVisibleChange` instead."),warning(st===void 0,"`popupVisible` is deprecated. Please use `open` instead."),warning(gt===void 0,"`popupClassName` is deprecated. Please use `dropdownClassName` instead."),warning(xt===void 0,"`popupPlacement` is deprecated. Please use `placement` instead.")}function Ie(Pe,Ve){if(Pe){var st=function gt(xt){for(var $t=0;$t<xt.length;$t++){var Ft=xt[$t];if(Ft[Ve==null?void 0:Ve.value]===null)return warning(!1,"`value` in Cascader options should not be `null`."),!0;if(Array.isArray(Ft[Ve==null?void 0:Ve.children])&&gt(Ft[Ve==null?void 0:Ve.children]))return!0}};st(Pe)}}var he=null,de=["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 Ne(Pe){return Array.isArray(Pe)&&Array.isArray(Pe[0])}function at(Pe){return Pe?Ne(Pe)?Pe:(Pe.length===0?[]:[Pe]).map(function(Ve){return Array.isArray(Ve)?Ve:[Ve]}):[]}var Se=ie.forwardRef(function(Pe,Ve){var st=Pe.id,gt=Pe.prefixCls,xt=gt===void 0?"rc-cascader":gt,$t=Pe.fieldNames,Ft=Pe.defaultValue,ze=Pe.value,We=Pe.changeOnSelect,Re=Pe.onChange,ct=Pe.displayRender,jt=Pe.checkable,Ot=Pe.autoClearSearchValue,vn=Ot===void 0?!0:Ot,fn=Pe.searchValue,en=Pe.onSearch,xn=Pe.showSearch,Qn=Pe.expandTrigger,on=Pe.options,Un=Pe.dropdownPrefixCls,$n=Pe.loadData,ca=Pe.popupVisible,qn=Pe.open,tt=Pe.popupClassName,zt=Pe.dropdownClassName,yt=Pe.dropdownMenuColumnStyle,_t=Pe.popupPlacement,dn=Pe.placement,hn=Pe.onDropdownVisibleChange,un=Pe.onPopupVisibleChange,ln=Pe.expandIcon,Wn=ln===void 0?">":ln,Xn=Pe.loadingIcon,Kt=Pe.children,aa=Pe.dropdownMatchSelectWidth,ya=aa===void 0?!1:aa,Ca=Pe.showCheckedStrategy,pa=Ca===void 0?be:Ca,Fn=(0,Ze.Z)(Pe,de),Tn=(0,pt.ZP)(st),Vn=!!jt,Ln=(0,y.Z)(Ft,{value:ze,postState:at}),na=(0,Qe.Z)(Ln,2),ha=na[0],da=na[1],Ba=ie.useMemo(function(){return Le($t)},[JSON.stringify($t)]),oa=ie.useMemo(function(){return on||[]},[on]),Ma=Ye(oa,Ba),eo=ie.useCallback(function(In){var Rn=Ma();return In.map(function(jn){var xa=Rn[jn].nodes;return xa.map(function(Wa){return Wa[Ba.value]})})},[Ma,Ba]),fo=(0,y.Z)("",{value:fn,postState:function(Rn){return Rn||""}}),ja=(0,Qe.Z)(fo,2),Da=ja[0],Xa=ja[1],ka=function(Rn,jn){Xa(Rn),jn.source!=="blur"&&en&&en(Rn)},Ga=Me(xn),Na=(0,Qe.Z)(Ga,2),_n=Na[0],Za=Na[1],uo=se(Da,oa,Ba,Un||xt,Za,We),za=Dt(oa,Ba),to=ie.useMemo(function(){var In=za(ha),Rn=(0,Qe.Z)(In,2),jn=Rn[0],xa=Rn[1];if(!Vn||!ha.length)return[jn,[],xa];var Wa=ge(jn),pe=Ma(),kt=(0,Te.S)(Wa,!0,pe),rn=kt.checkedKeys,Cn=kt.halfCheckedKeys;return[eo(rn),eo(Cn),xa]},[Vn,ha,Ma,eo,za]),lo=(0,Qe.Z)(to,3),ua=lo[0],Ka=lo[1],Aa=lo[2],ao=ie.useMemo(function(){var In=ge(ua),Rn=qe(In,Ma,pa);return[].concat((0,ee.Z)(Aa),(0,ee.Z)(eo(Rn)))},[ua,Ma,eo,Aa,pa]),Po=Ue(ao,oa,Ba,Vn,ct),No=(0,oe.Z)(function(In){if(da(In),Re){var Rn=at(In),jn=Rn.map(function(pe){return $e(pe,oa,Ba).map(function(kt){return kt.option})}),xa=Vn?Rn:Rn[0],Wa=Vn?jn:jn[0];Re(xa,Wa)}}),Qo=(0,oe.Z)(function(In){if((!Vn||vn)&&Xa(""),!Vn)No(In);else{var Rn=Oe(In),jn=ge(ua),xa=ge(Ka),Wa=jn.includes(Rn),pe=Aa.some(function(bn){return Oe(bn)===Rn}),kt=ua,rn=Aa;if(pe&&!Wa)rn=Aa.filter(function(bn){return Oe(bn)!==Rn});else{var Cn=Wa?jn.filter(function(bn){return bn!==Rn}):[].concat((0,ee.Z)(jn),[Rn]),Ht=Ma(),Dn;if(Wa){var Pn=(0,Te.S)(Cn,{checked:!1,halfCheckedKeys:xa},Ht);Dn=Pn.checkedKeys}else{var mn=(0,Te.S)(Cn,!0,Ht);Dn=mn.checkedKeys}var En=qe(Dn,Ma,pa);kt=eo(En)}No([].concat((0,ee.Z)(rn),(0,ee.Z)(kt)))}}),zo=function(Rn,jn){if(jn.type==="clear"){No([]);return}var xa=jn.values[0],Wa=xa.valueCells;Qo(Wa)},po=qn!==void 0?qn:ca,vo=zt||tt,jo=dn||_t,Mo=function(Rn){hn==null||hn(Rn),un==null||un(Rn)},Go=ie.useMemo(function(){return{options:oa,fieldNames:Ba,values:ua,halfValues:Ka,changeOnSelect:We,onSelect:Qo,checkable:jt,searchOptions:uo,dropdownPrefixCls:Un,loadData:$n,expandTrigger:Qn,expandIcon:Wn,loadingIcon:Xn,dropdownMenuColumnStyle:yt}},[oa,Ba,ua,Ka,We,Qo,jt,uo,Un,$n,Qn,Wn,Xn,yt]),tr=!(Da?uo:oa).length,ia=Da&&Za.matchInputWidth||tr?{}:{minWidth:"auto"};return ie.createElement(b.Provider,{value:Go},ie.createElement(lt.Ac,(0,Je.Z)({},Fn,{ref:Ve,id:Tn,prefixCls:xt,autoClearSearchValue:vn,dropdownMatchSelectWidth:ya,dropdownStyle:ia,displayValues:Po,onDisplayValuesChange:zo,mode:Vn?"multiple":void 0,searchValue:Da,onSearch:ka,showSearch:_n,OptionList:ut,emptyOptions:tr,open:po,dropdownClassName:vo,placement:jo,onDropdownVisibleChange:Mo,getRawInputElement:function(){return Kt}})))});Se.SHOW_PARENT=be,Se.SHOW_CHILD=fe;var ve=Se,et=ve,De=te(2738),Ee=te(62892),_e=te(53487),Wt=te(19080),ht=te(36355),Tt=te(93891),Mt=te(1684),Zt=te(19716),xe=te(32441),dt=te(14154),vt=te(58582),ft=te(84443),Nt=te(66339),Vt=te(33234),nn=te(98447),an=te(17313),Sn=te(74207),On=te(83116);const Lt=Pe=>{const{prefixCls:Ve,componentCls:st,antCls:gt}=Pe,xt=`${st}-menu-item`,$t=`
&${xt}-expand ${xt}-expand-icon,
${xt}-loading-icon
`;return[{[st]:{width:Pe.controlWidth}},{[`${st}-dropdown`]:[(0,nn.C2)(`${Ve}-checkbox`,Pe),{[`&${gt}-select-dropdown`]:{padding:0}},{[st]:{"&-checkbox":{top:0,marginInlineEnd:Pe.paddingXS},"&-menus":{display:"flex",flexWrap:"nowrap",alignItems:"flex-start",[`&${st}-menu-empty`]:{[`${st}-menu`]:{width:"100%",height:"auto",[xt]:{color:Pe.colorTextDisabled}}}},"&-menu":{flexGrow:1,minWidth:Pe.controlItemWidth,height:Pe.dropdownHeight,margin:0,padding:Pe.menuPadding,overflow:"auto",verticalAlign:"top",listStyle:"none","-ms-overflow-style":"-ms-autohiding-scrollbar","&:not(:last-child)":{borderInlineEnd:`${Pe.lineWidth}px ${Pe.lineType} ${Pe.colorSplit}`},"&-item":Object.assign(Object.assign({},an.vS),{display:"flex",flexWrap:"nowrap",alignItems:"center",padding:Pe.optionPadding,lineHeight:Pe.lineHeight,cursor:"pointer",transition:`all ${Pe.motionDurationMid}`,borderRadius:Pe.borderRadiusSM,"&:hover":{background:Pe.controlItemBgHover},"&-disabled":{color:Pe.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"},[$t]:{color:Pe.colorTextDisabled}},[`&-active:not(${xt}-disabled)`]:{"&, &:hover":{fontWeight:Pe.optionSelectedFontWeight,backgroundColor:Pe.optionSelectedBg}},"&-content":{flex:"auto"},[$t]:{marginInlineStart:Pe.paddingXXS,color:Pe.colorTextDescription,fontSize:Pe.fontSizeIcon},"&-keyword":{color:Pe.colorHighlight}})}}}]},{[`${st}-dropdown-rtl`]:{direction:"rtl"}},(0,Sn.c)(Pe)]};var Ct=(0,On.Z)("Cascader",Pe=>[Lt(Pe)],Pe=>{const Ve=Math.round((Pe.controlHeight-Pe.fontSize*Pe.lineHeight)/2);return{controlWidth:184,controlItemWidth:111,dropdownHeight:180,optionSelectedBg:Pe.controlItemBgActive,optionSelectedFontWeight:Pe.fontWeightStrong,optionPadding:`${Ve}px ${Pe.paddingSM}px`,menuPadding:Pe.paddingXXS}}),Ut=function(Pe,Ve){var st={};for(var gt in Pe)Object.prototype.hasOwnProperty.call(Pe,gt)&&Ve.indexOf(gt)<0&&(st[gt]=Pe[gt]);if(Pe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var xt=0,gt=Object.getOwnPropertySymbols(Pe);xt<gt.length;xt++)Ve.indexOf(gt[xt])<0&&Object.prototype.propertyIsEnumerable.call(Pe,gt[xt])&&(st[gt[xt]]=Pe[gt[xt]]);return st};const{SHOW_CHILD:cn,SHOW_PARENT:sn}=et;function Nn(Pe,Ve,st){const gt=Pe.toLowerCase().split(Ve).reduce((Ft,ze,We)=>We===0?[ze]:[].concat((0,ee.Z)(Ft),[Ve,ze]),[]),xt=[];let $t=0;return gt.forEach((Ft,ze)=>{const We=$t+Ft.length;let Re=Pe.slice($t,We);$t=We,ze%2===1&&(Re=ie.createElement("span",{className:`${st}-menu-item-keyword`,key:`separator-${ze}`},Re)),xt.push(Re)}),xt}const nt=(Pe,Ve,st,gt)=>{const xt=[],$t=Pe.toLowerCase();return Ve.forEach((Ft,ze)=>{ze!==0&&xt.push(" / ");let We=Ft[gt.label];const Re=typeof We;(Re==="string"||Re==="number")&&(We=Nn(String(We),$t,st)),xt.push(We)}),xt},Bt=ie.forwardRef((Pe,Ve)=>{const{prefixCls:st,size:gt,disabled:xt,className:$t,rootClassName:Ft,multiple:ze,bordered:We=!0,transitionName:Re,choiceTransitionName:ct="",popupClassName:jt,dropdownClassName:Ot,expandIcon:vn,placement:fn,showSearch:en,allowClear:xn=!0,notFoundContent:Qn,direction:on,getPopupContainer:Un,status:$n,showArrow:ca,builtinPlacements:qn,style:tt}=Pe,zt=Ut(Pe,["prefixCls","size","disabled","className","rootClassName","multiple","bordered","transitionName","choiceTransitionName","popupClassName","dropdownClassName","expandIcon","placement","showSearch","allowClear","notFoundContent","direction","getPopupContainer","status","showArrow","builtinPlacements","style"]),yt=(0,De.Z)(zt,["suffixIcon"]),{getPopupContainer:_t,getPrefixCls:dn,renderEmpty:hn,direction:un,popupOverflow:ln,cascader:Wn}=ie.useContext(ht.E_),Xn=on||un,Kt=Xn==="rtl",{status:aa,hasFeedback:ya,isFormItemInput:Ca,feedbackIcon:pa}=ie.useContext(xe.aM),Fn=(0,Wt.F)(aa,$n),Tn=Qn||(hn==null?void 0:hn("Cascader"))||ie.createElement(Tt.Z,{componentName:"Cascader"}),Vn=dn(),Ln=dn("select",st),na=dn("cascader",st),[ha,da]=(0,dt.Z)(Ln),[Ba]=Ct(na),{compactSize:oa,compactItemClassnames:Ma}=(0,Vt.ri)(Ln,on),eo=re()(jt||Ot,`${na}-dropdown`,{[`${na}-dropdown-rtl`]:Xn==="rtl"},Ft,da),fo=ie.useMemo(()=>{if(!en)return en;let Aa={render:nt};return typeof en=="object"&&(Aa=Object.assign(Object.assign({},Aa),en)),Aa},[en]),ja=(0,Zt.Z)(Aa=>{var ao;return(ao=gt!=null?gt:oa)!==null&&ao!==void 0?ao:Aa}),Da=ie.useContext(Mt.Z),Xa=xt!=null?xt:Da;let ka=vn;vn||(ka=Kt?ie.createElement(Ae.Z,null):ie.createElement(Ce.Z,null));const Ga=ie.createElement("span",{className:`${Ln}-menu-item-loading-icon`},ie.createElement(Ge.Z,{spin:!0})),Na=ie.useMemo(()=>ze?ie.createElement("span",{className:`${na}-checkbox-inner`}):!1,[ze]),_n=(0,ft.Z)(Pe.suffixIcon,ca),{suffixIcon:Za,removeIcon:uo,clearIcon:za}=(0,Nt.Z)(Object.assign(Object.assign({},Pe),{hasFeedback:ya,feedbackIcon:pa,showSuffixIcon:_n,multiple:ze,prefixCls:Ln,componentName:"Cascader"})),to=ie.useMemo(()=>fn!==void 0?fn:Kt?"bottomRight":"bottomLeft",[fn,Kt]),lo=(0,vt.Z)(qn,ln),ua=xn===!0?{clearIcon:za}:xn,Ka=ie.createElement(et,Object.assign({prefixCls:Ln,className:re()(!st&&na,{[`${Ln}-lg`]:ja==="large",[`${Ln}-sm`]:ja==="small",[`${Ln}-rtl`]:Kt,[`${Ln}-borderless`]:!We,[`${Ln}-in-form-item`]:Ca},(0,Wt.Z)(Ln,Fn,ya),Ma,Wn==null?void 0:Wn.className,$t,Ft,da),disabled:Xa,style:Object.assign(Object.assign({},Wn==null?void 0:Wn.style),tt)},yt,{builtinPlacements:lo,direction:Xn,placement:to,notFoundContent:Tn,allowClear:ua,showSearch:fo,expandIcon:ka,suffixIcon:Za,removeIcon:uo,loadingIcon:Ga,checkable:Na,dropdownClassName:eo,dropdownPrefixCls:st||na,choiceTransitionName:(0,Ee.m)(Vn,"",ct),transitionName:(0,Ee.m)(Vn,"slide-up",Re),getPopupContainer:Un||_t,ref:Ve}));return Ba(ha(Ka))}),Qt=(0,_e.Z)(Bt);Bt.SHOW_PARENT=sn,Bt.SHOW_CHILD=cn,Bt._InternalPanelDoNotUseOrYouWillBeFired=Qt;var yn=Bt},24905:function(bt,It,te){"use strict";te.d(It,{default:function(){return se}});var ee=te(92310),ie=te.n(ee),Ae=te(5630),Ge=te(59301),Ce=te(36355),Fe=te(1684),re=te(32441),Qe=Ge.createContext(null),Ze=te(98447),lt=te(14088),pt=te(4572),Te=function(ce,be){var fe={};for(var Oe in ce)Object.prototype.hasOwnProperty.call(ce,Oe)&&be.indexOf(Oe)<0&&(fe[Oe]=ce[Oe]);if(ce!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ge=0,Oe=Object.getOwnPropertySymbols(ce);ge<Oe.length;ge++)be.indexOf(Oe[ge])<0&&Object.prototype.propertyIsEnumerable.call(ce,Oe[ge])&&(fe[Oe[ge]]=ce[Oe[ge]]);return fe};const oe=(ce,be)=>{var fe;const{prefixCls:Oe,className:ge,rootClassName:it,children:Le,indeterminate:Ke=!1,style:ye,onMouseEnter:je,onMouseLeave:qe,skipGroup:$e=!1,disabled:Ue}=ce,Rt=Te(ce,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:Ye,direction:Dt,checkbox:qt}=Ge.useContext(Ce.E_),Me=Ge.useContext(Qe),{isFormItemInput:ke}=Ge.useContext(re.aM),Pt=Ge.useContext(Fe.Z),Gt=(fe=(Me==null?void 0:Me.disabled)||Ue)!==null&&fe!==void 0?fe:Pt,mt=Ge.useRef(Rt.value);Ge.useEffect(()=>{Me==null||Me.registerValue(Rt.value)},[]),Ge.useEffect(()=>{if(!$e)return Rt.value!==mt.current&&(Me==null||Me.cancelValue(mt.current),Me==null||Me.registerValue(Rt.value),mt.current=Rt.value),()=>Me==null?void 0:Me.cancelValue(Rt.value)},[Rt.value]);const Jt=Ye("checkbox",Oe),[Be,Xt]=(0,Ze.ZP)(Jt),pn=Object.assign({},Rt);Me&&!$e&&(pn.onChange=function(){Rt.onChange&&Rt.onChange.apply(Rt,arguments),Me.toggleOption&&Me.toggleOption({label:Le,value:Rt.value})},pn.name=Me.name,pn.checked=Me.value.includes(Rt.value));const St=ie()(`${Jt}-wrapper`,{[`${Jt}-rtl`]:Dt==="rtl",[`${Jt}-wrapper-checked`]:pn.checked,[`${Jt}-wrapper-disabled`]:Gt,[`${Jt}-wrapper-in-form-item`]:ke},qt==null?void 0:qt.className,ge,it,Xt),ut=ie()({[`${Jt}-indeterminate`]:Ke},pt.A,Xt),Xe=Ke?"mixed":void 0;return Be(Ge.createElement(lt.Z,{component:"Checkbox",disabled:Gt},Ge.createElement("label",{className:St,style:Object.assign(Object.assign({},qt==null?void 0:qt.style),ye),onMouseEnter:je,onMouseLeave:qe},Ge.createElement(Ae.Z,Object.assign({"aria-checked":Xe},pn,{prefixCls:Jt,className:ut,disabled:Gt,ref:be})),Le!==void 0&&Ge.createElement("span",null,Le))))};var a=Ge.forwardRef(oe),b=te(65093),E=te(2738),x=function(ce,be){var fe={};for(var Oe in ce)Object.prototype.hasOwnProperty.call(ce,Oe)&&be.indexOf(Oe)<0&&(fe[Oe]=ce[Oe]);if(ce!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ge=0,Oe=Object.getOwnPropertySymbols(ce);ge<Oe.length;ge++)be.indexOf(Oe[ge])<0&&Object.prototype.propertyIsEnumerable.call(ce,Oe[ge])&&(fe[Oe[ge]]=ce[Oe[ge]]);return fe};const z=(ce,be)=>{const{defaultValue:fe,children:Oe,options:ge=[],prefixCls:it,className:Le,rootClassName:Ke,style:ye,onChange:je}=ce,qe=x(ce,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:$e,direction:Ue}=Ge.useContext(Ce.E_),[Rt,Ye]=Ge.useState(qe.value||fe||[]),[Dt,qt]=Ge.useState([]);Ge.useEffect(()=>{"value"in qe&&Ye(qe.value||[])},[qe.value]);const Me=Ge.useMemo(()=>ge.map(Ie=>typeof Ie=="string"||typeof Ie=="number"?{label:Ie,value:Ie}:Ie),[ge]),ke=Ie=>{qt(he=>he.filter(de=>de!==Ie))},Pt=Ie=>{qt(he=>[].concat((0,b.Z)(he),[Ie]))},Gt=Ie=>{const he=Rt.indexOf(Ie.value),de=(0,b.Z)(Rt);he===-1?de.push(Ie.value):de.splice(he,1),"value"in qe||Ye(de),je==null||je(de.filter(Ne=>Dt.includes(Ne)).sort((Ne,at)=>{const Se=Me.findIndex(et=>et.value===Ne),ve=Me.findIndex(et=>et.value===at);return Se-ve}))},mt=$e("checkbox",it),Jt=`${mt}-group`,[Be,Xt]=(0,Ze.ZP)(mt),pn=(0,E.Z)(qe,["value","disabled"]),St=ge.length?Me.map(Ie=>Ge.createElement(a,{prefixCls:mt,key:Ie.value.toString(),disabled:"disabled"in Ie?Ie.disabled:qe.disabled,value:Ie.value,checked:Rt.includes(Ie.value),onChange:Ie.onChange,className:`${Jt}-item`,style:Ie.style,title:Ie.title},Ie.label)):Oe,ut={toggleOption:Gt,value:Rt,disabled:qe.disabled,name:qe.name,registerValue:Pt,cancelValue:ke},Xe=ie()(Jt,{[`${Jt}-rtl`]:Ue==="rtl"},Le,Ke,Xt);return Be(Ge.createElement("div",Object.assign({className:Xe,style:ye},pn,{ref:be}),Ge.createElement(Qe.Provider,{value:ut},St)))},ne=Ge.forwardRef(z);var ae=Ge.memo(ne);const le=a;le.Group=ae,le.__ANT_CHECKBOX=!0;var se=le},98447:function(bt,It,te){"use strict";te.d(It,{C2:function(){return Ce}});var ee=te(17313),ie=te(37613),Ae=te(83116);const Ge=Fe=>{const{checkboxCls:re}=Fe,Je=`${re}-wrapper`;return[{[`${re}-group`]:Object.assign(Object.assign({},(0,ee.Wf)(Fe)),{display:"inline-flex",flexWrap:"wrap",columnGap:Fe.marginXS,[`> ${Fe.antCls}-row`]:{flex:1}}),[Je]:Object.assign(Object.assign({},(0,ee.Wf)(Fe)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${Je}`]:{marginInlineStart:0},[`&${Je}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[re]:Object.assign(Object.assign({},(0,ee.Wf)(Fe)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:Fe.borderRadiusSM,alignSelf:"center",[`${re}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${re}-inner`]:Object.assign({},(0,ee.oN)(Fe))},[`${re}-inner`]:{boxSizing:"border-box",position:"relative",top:0,insetInlineStart:0,display:"block",width:Fe.checkboxSize,height:Fe.checkboxSize,direction:"ltr",backgroundColor:Fe.colorBgContainer,border:`${Fe.lineWidth}px ${Fe.lineType} ${Fe.colorBorder}`,borderRadius:Fe.borderRadiusSM,borderCollapse:"separate",transition:`all ${Fe.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"21.5%",display:"table",width:Fe.checkboxSize/14*5,height:Fe.checkboxSize/14*8,border:`${Fe.lineWidthBold}px solid ${Fe.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${Fe.motionDurationFast} ${Fe.motionEaseInBack}, opacity ${Fe.motionDurationFast}`}},"& + span":{paddingInlineStart:Fe.paddingXS,paddingInlineEnd:Fe.paddingXS}})},{[`
${Je}:not(${Je}-disabled),
${re}:not(${re}-disabled)
`]:{[`&:hover ${re}-inner`]:{borderColor:Fe.colorPrimary}},[`${Je}:not(${Je}-disabled)`]:{[`&:hover ${re}-checked:not(${re}-disabled) ${re}-inner`]:{backgroundColor:Fe.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${re}-checked:not(${re}-disabled):after`]:{borderColor:Fe.colorPrimaryHover}}},{[`${re}-checked`]:{[`${re}-inner`]:{backgroundColor:Fe.colorPrimary,borderColor:Fe.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${Fe.motionDurationMid} ${Fe.motionEaseOutBack} ${Fe.motionDurationFast}`}}},[`
${Je}-checked:not(${Je}-disabled),
${re}-checked:not(${re}-disabled)
`]:{[`&:hover ${re}-inner`]:{backgroundColor:Fe.colorPrimaryHover,borderColor:"transparent"}}},{[re]:{"&-indeterminate":{[`${re}-inner`]:{backgroundColor:Fe.colorBgContainer,borderColor:Fe.colorBorder,"&:after":{top:"50%",insetInlineStart:"50%",width:Fe.fontSizeLG/2,height:Fe.fontSizeLG/2,backgroundColor:Fe.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}}}}},{[`${Je}-disabled`]:{cursor:"not-allowed"},[`${re}-disabled`]:{[`&, ${re}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${re}-inner`]:{background:Fe.colorBgContainerDisabled,borderColor:Fe.colorBorder,"&:after":{borderColor:Fe.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:Fe.colorTextDisabled},[`&${re}-indeterminate ${re}-inner::after`]:{background:Fe.colorTextDisabled}}}]};function Ce(Fe,re){const Je=(0,ie.TS)(re,{checkboxCls:`.${Fe}`,checkboxSize:re.controlInteractiveSize});return[Ge(Je)]}It.ZP=(0,Ae.Z)("Checkbox",(Fe,re)=>{let{prefixCls:Je}=re;return[Ce(Je,Fe)]})},36381:function(bt,It,te){"use strict";te.d(It,{default:function(){return pn}});var ee=te(38819),ie=te(92310),Ae=te.n(ie),Ge=te(16378),Ce=te(65093),Fe=te(10859),re=te(42066),Je=te(18929),Qe=te(48736),Ze=te(59301),lt=te(61206),pt=te(11592),Te=te(78772),oe=te(77900),y=te(10228),a=Ze.forwardRef(function(St,ut){var Xe=St.prefixCls,Ie=St.forceRender,he=St.className,de=St.style,Ne=St.children,at=St.isActive,Se=St.role,ve=Ze.useState(at||Ie),et=(0,Fe.Z)(ve,2),De=et[0],Ee=et[1];return Ze.useEffect(function(){(Ie||at)&&Ee(!0)},[Ie,at]),De?Ze.createElement("div",{ref:ut,className:Ae()("".concat(Xe,"-content"),(0,Te.Z)((0,Te.Z)({},"".concat(Xe,"-content-active"),at),"".concat(Xe,"-content-inactive"),!at),he),style:de,role:Se},Ze.createElement("div",{className:"".concat(Xe,"-content-box")},Ne)):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 Xe=St.showArrow,Ie=Xe===void 0?!0:Xe,he=St.headerClass,de=St.isActive,Ne=St.onItemClick,at=St.forceRender,Se=St.className,ve=St.prefixCls,et=St.collapsible,De=St.accordion,Ee=St.panelKey,_e=St.extra,Wt=St.header,ht=St.expandIcon,Tt=St.openMotion,Mt=St.destroyInactivePanel,Zt=St.children,xe=(0,lt.Z)(St,E),dt=et==="disabled",vt=et==="header",ft=et==="icon",Nt=_e!=null&&typeof _e!="boolean",Vt=function(){Ne==null||Ne(Ee)},nn=function(Ut){(Ut.key==="Enter"||Ut.keyCode===y.Z.ENTER||Ut.which===y.Z.ENTER)&&Vt()},an=typeof ht=="function"?ht(St):Ze.createElement("i",{className:"arrow"});an&&(an=Ze.createElement("div",{className:"".concat(ve,"-expand-icon"),onClick:["header","icon"].includes(et)?Vt:void 0},an));var Sn=Ae()((0,Te.Z)((0,Te.Z)((0,Te.Z)({},"".concat(ve,"-item"),!0),"".concat(ve,"-item-active"),de),"".concat(ve,"-item-disabled"),dt),Se),On=Ae()(he,(0,Te.Z)((0,Te.Z)((0,Te.Z)({},"".concat(ve,"-header"),!0),"".concat(ve,"-header-collapsible-only"),vt),"".concat(ve,"-icon-collapsible-only"),ft)),Lt={className:On,"aria-expanded":de,"aria-disabled":dt,onKeyDown:nn};return!vt&&!ft&&(Lt.onClick=Vt,Lt.role=De?"tab":"button",Lt.tabIndex=dt?-1:0),Ze.createElement("div",(0,Ge.Z)({},xe,{ref:ut,className:Sn}),Ze.createElement("div",Lt,Ie&&an,Ze.createElement("span",{className:"".concat(ve,"-header-text"),onClick:et==="header"?Vt:void 0},Wt),Nt&&Ze.createElement("div",{className:"".concat(ve,"-extra")},_e)),Ze.createElement(oe.default,(0,Ge.Z)({visible:de,leavedClassName:"".concat(ve,"-content-hidden")},Tt,{forceRender:at,removeOnLeave:Mt}),function(Ct,Ut){var cn=Ct.className,sn=Ct.style;return Ze.createElement(b,{ref:Ut,prefixCls:ve,className:cn,style:sn,isActive:de,forceRender:at,role:De?"tabpanel":void 0},Zt)}))}),z=x,ne=["children","label","key","collapsible","onItemClick","destroyInactivePanel"],ae=function(ut,Xe){var Ie=Xe.prefixCls,he=Xe.accordion,de=Xe.collapsible,Ne=Xe.destroyInactivePanel,at=Xe.onItemClick,Se=Xe.activeKey,ve=Xe.openMotion,et=Xe.expandIcon;return ut.map(function(De,Ee){var _e=De.children,Wt=De.label,ht=De.key,Tt=De.collapsible,Mt=De.onItemClick,Zt=De.destroyInactivePanel,xe=(0,lt.Z)(De,ne),dt=String(ht!=null?ht:Ee),vt=Tt!=null?Tt:de,ft=Zt!=null?Zt:Ne,Nt=function(an){vt!=="disabled"&&(at(an),Mt==null||Mt(an))},Vt=!1;return he?Vt=Se[0]===dt:Vt=Se.indexOf(dt)>-1,Ze.createElement(z,(0,Ge.Z)({},xe,{prefixCls:Ie,key:dt,panelKey:dt,isActive:Vt,accordion:he,openMotion:ve,expandIcon:et,header:Wt,collapsible:vt,onItemClick:Nt,destroyInactivePanel:ft}),_e)})},le=function(ut,Xe,Ie){if(!ut)return null;var he=Ie.prefixCls,de=Ie.accordion,Ne=Ie.collapsible,at=Ie.destroyInactivePanel,Se=Ie.onItemClick,ve=Ie.activeKey,et=Ie.openMotion,De=Ie.expandIcon,Ee=ut.key||String(Xe),_e=ut.props,Wt=_e.header,ht=_e.headerClass,Tt=_e.destroyInactivePanel,Mt=_e.collapsible,Zt=_e.onItemClick,xe=!1;de?xe=ve[0]===Ee:xe=ve.indexOf(Ee)>-1;var dt=Mt!=null?Mt:Ne,vt=function(Vt){dt!=="disabled"&&(Se(Vt),Zt==null||Zt(Vt))},ft={key:Ee,panelKey:Ee,header:Wt,headerClass:ht,isActive:xe,prefixCls:he,destroyInactivePanel:Tt!=null?Tt:at,openMotion:et,accordion:de,children:ut.props.children,onItemClick:vt,expandIcon:De,collapsible:dt};return typeof ut.type=="string"?ut:(Object.keys(ft).forEach(function(Nt){typeof ft[Nt]=="undefined"&&delete ft[Nt]}),Ze.cloneElement(ut,ft))};function se(St,ut,Xe){return Array.isArray(St)?ae(St,Xe):(0,pt.Z)(ut).map(function(Ie,he){return le(Ie,he,Xe)})}var ce=se,be=te(26112);function fe(St){var ut=St;if(!Array.isArray(ut)){var Xe=(0,re.Z)(ut);ut=Xe==="number"||Xe==="string"?[ut]:[]}return ut.map(function(Ie){return String(Ie)})}var Oe=Ze.forwardRef(function(St,ut){var Xe=St.prefixCls,Ie=Xe===void 0?"rc-collapse":Xe,he=St.destroyInactivePanel,de=he===void 0?!1:he,Ne=St.style,at=St.accordion,Se=St.className,ve=St.children,et=St.collapsible,De=St.openMotion,Ee=St.expandIcon,_e=St.activeKey,Wt=St.defaultActiveKey,ht=St.onChange,Tt=St.items,Mt=Ae()(Ie,Se),Zt=(0,Je.Z)([],{value:_e,onChange:function(nn){return ht==null?void 0:ht(nn)},defaultValue:Wt,postState:fe}),xe=(0,Fe.Z)(Zt,2),dt=xe[0],vt=xe[1],ft=function(nn){return vt(function(){if(at)return dt[0]===nn?[]:[nn];var an=dt.indexOf(nn),Sn=an>-1;return Sn?dt.filter(function(On){return On!==nn}):[].concat((0,Ce.Z)(dt),[nn])})};(0,Qe.ZP)(!ve,"[rc-collapse] `children` will be removed in next major version. Please use `items` instead.");var Nt=ce(Tt,ve,{prefixCls:Ie,accordion:at,openMotion:De,expandIcon:Ee,collapsible:et,destroyInactivePanel:de,onItemClick:ft,activeKey:dt});return Ze.createElement("div",(0,Ge.Z)({ref:ut,className:Mt,style:Ne,role:at?"tablist":void 0},(0,be.Z)(St,{aria:!0,data:!0})),Nt)}),ge=Object.assign(Oe,{Panel:z}),it=ge,Le=ge.Panel,Ke=te(2738),ye=te(62892),je=te(92343),qe=te(36355),$e=te(19716),Rt=Ze.forwardRef((St,ut)=>{const{getPrefixCls:Xe}=Ze.useContext(qe.E_),{prefixCls:Ie,className:he,showArrow:de=!0}=St,Ne=Xe("collapse",Ie),at=Ae()({[`${Ne}-no-arrow`]:!de},he);return Ze.createElement(it.Panel,Object.assign({ref:ut},St,{prefixCls:Ne,className:at}))}),Ye=te(17313),Dt=te(8378),qt=te(83116),Me=te(37613);const ke=St=>{const{componentCls:ut,contentBg:Xe,padding:Ie,headerBg:he,headerPadding:de,collapseHeaderPaddingSM:Ne,collapseHeaderPaddingLG:at,collapsePanelBorderRadius:Se,lineWidth:ve,lineType:et,colorBorder:De,colorText:Ee,colorTextHeading:_e,colorTextDisabled:Wt,fontSize:ht,fontSizeLG:Tt,lineHeight:Mt,marginSM:Zt,paddingSM:xe,paddingLG:dt,paddingXS:vt,motionDurationSlow:ft,fontSizeIcon:Nt,contentPadding:Vt}=St,nn=`${ve}px ${et} ${De}`;return{[ut]:Object.assign(Object.assign({},(0,Ye.Wf)(St)),{backgroundColor:he,border:nn,borderBottom:0,borderRadius:`${Se}px`,"&-rtl":{direction:"rtl"},[`& > ${ut}-item`]:{borderBottom:nn,"&:last-child":{[`
&,
& > ${ut}-header`]:{borderRadius:`0 0 ${Se}px ${Se}px`}},[`> ${ut}-header`]:{position:"relative",display:"flex",flexWrap:"nowrap",alignItems:"flex-start",padding:de,color:_e,lineHeight:Mt,cursor:"pointer",transition:`all ${ft}, visibility 0s`,[`> ${ut}-header-text`]:{flex:"auto"},"&:focus":{outline:"none"},[`${ut}-expand-icon`]:{height:ht*Mt,display:"flex",alignItems:"center",paddingInlineEnd:Zt},[`${ut}-arrow`]:Object.assign(Object.assign({},(0,Ye.Ro)()),{fontSize:Nt,svg:{transition:`transform ${ft}`}}),[`${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:Ee,backgroundColor:Xe,borderTop:nn,[`& > ${ut}-content-box`]:{padding:Vt},"&-hidden":{display:"none"}},"&-small":{[`> ${ut}-item`]:{[`> ${ut}-header`]:{padding:Ne,paddingInlineStart:vt,[`> ${ut}-expand-icon`]:{marginInlineStart:xe-vt}},[`> ${ut}-content > ${ut}-content-box`]:{padding:xe}}},"&-large":{[`> ${ut}-item`]:{fontSize:Tt,[`> ${ut}-header`]:{padding:at,paddingInlineStart:Ie,[`> ${ut}-expand-icon`]:{height:Tt*Mt,marginInlineStart:dt-Ie}},[`> ${ut}-content > ${ut}-content-box`]:{padding:dt}}},[`${ut}-item:last-child`]:{[`> ${ut}-content`]:{borderRadius:`0 0 ${Se}px ${Se}px`}},[`& ${ut}-item-disabled > ${ut}-header`]:{"\n &,\n & > .arrow\n ":{color:Wt,cursor:"not-allowed"}},[`&${ut}-icon-position-end`]:{[`& > ${ut}-item`]:{[`> ${ut}-header`]:{[`${ut}-expand-icon`]:{order:1,paddingInlineEnd:0,paddingInlineStart:Zt}}}}})}},Pt=St=>{const{componentCls:ut}=St,Xe=`> ${ut}-item > ${ut}-header ${ut}-arrow svg`;return{[`${ut}-rtl`]:{[Xe]:{transform:"rotate(180deg)"}}}},Gt=St=>{const{componentCls:ut,headerBg:Xe,paddingXXS:Ie,colorBorder:he}=St;return{[`${ut}-borderless`]:{backgroundColor:Xe,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:Ie}}}},mt=St=>{const{componentCls:ut,paddingSM:Xe}=St;return{[`${ut}-ghost`]:{backgroundColor:"transparent",border:0,[`> ${ut}-item`]:{borderBottom:0,[`> ${ut}-content`]:{backgroundColor:"transparent",border:0,[`> ${ut}-content-box`]:{paddingBlock:Xe}}}}}};var Jt=(0,qt.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[ke(ut),Gt(ut),mt(ut),Pt(ut),(0,Dt.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:Xe,direction:Ie,collapse:he}=Ze.useContext(qe.E_),{prefixCls:de,className:Ne,rootClassName:at,style:Se,bordered:ve=!0,ghost:et,size:De,expandIconPosition:Ee="start",children:_e,expandIcon:Wt}=St,ht=(0,$e.Z)(nn=>{var an;return(an=De!=null?De:nn)!==null&&an!==void 0?an:"middle"}),Tt=Xe("collapse",de),Mt=Xe(),[Zt,xe]=Jt(Tt),dt=Ze.useMemo(()=>Ee==="left"?"start":Ee==="right"?"end":Ee,[Ee]),vt=function(){let nn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const an=Wt?Wt(nn):Ze.createElement(ee.Z,{rotate:nn.isActive?90:void 0});return(0,je.Tm)(an,()=>({className:Ae()(an.props.className,`${Tt}-arrow`)}))},ft=Ae()(`${Tt}-icon-position-${dt}`,{[`${Tt}-borderless`]:!ve,[`${Tt}-rtl`]:Ie==="rtl",[`${Tt}-ghost`]:!!et,[`${Tt}-${ht}`]:ht!=="middle"},he==null?void 0:he.className,Ne,at,xe),Nt=Object.assign(Object.assign({},(0,ye.Z)(Mt)),{motionAppear:!1,leavedClassName:`${Tt}-content-hidden`}),Vt=Ze.useMemo(()=>_e?(0,pt.Z)(_e).map((nn,an)=>{var Sn,On;if(!((Sn=nn.props)===null||Sn===void 0)&&Sn.disabled){const Lt=(On=nn.key)!==null&&On!==void 0?On:String(an),{disabled:Ct,collapsible:Ut}=nn.props,cn=Object.assign(Object.assign({},(0,Ke.Z)(nn.props,["disabled"])),{key:Lt,collapsible:Ut!=null?Ut:Ct?"disabled":void 0});return(0,je.Tm)(nn,cn)}return nn}):null,[_e]);return Zt(Ze.createElement(it,Object.assign({ref:ut,openMotion:Nt},(0,Ke.Z)(St,["rootClassName"]),{expandIcon:vt,prefixCls:Tt,className:ft,style:Object.assign(Object.assign({},he==null?void 0:he.style),Se)}),Vt))}),{Panel:Rt}),pn=Xt},91857:function(bt,It,te){"use strict";var ee=te(59301),ie=te(38819),Ae=te(92310),Ge=te.n(Ae),Ce=te(31561),Fe=te(70425),re=te(18929),Je=te(2738),Qe=te(79676),Ze=te(53487),lt=te(92343),pt=te(36355),Te=te(20834),oe=te(40875),y=te(88088),a=te(47211);const b=null,E=ae=>{const{menu:le,arrow:se,prefixCls:ce,children:be,trigger:fe,disabled:Oe,dropdownRender:ge,getPopupContainer:it,overlayClassName:Le,rootClassName:Ke,open:ye,onOpenChange:je,visible:qe,onVisibleChange:$e,mouseEnterDelay:Ue=.15,mouseLeaveDelay:Rt=.1,autoAdjustOverflow:Ye=!0,placement:Dt="",overlay:qt,transitionName:Me}=ae,{getPopupContainer:ke,getPrefixCls:Pt,direction:Gt}=ee.useContext(pt.E_),mt=ee.useMemo(()=>{const Ee=Pt();return Me!==void 0?Me:Dt.includes("top")?`${Ee}-slide-down`:`${Ee}-slide-up`},[Pt,Dt,Me]),Jt=ee.useMemo(()=>Dt?Dt.includes("Center")?Dt.slice(0,Dt.indexOf("Center")):Dt:Gt==="rtl"?"bottomRight":"bottomLeft",[Dt,Gt]),Be=Pt("dropdown",ce),[Xt,pn]=(0,a.Z)(Be),[,St]=(0,y.Z)(),ut=ee.Children.only(be),Xe=(0,lt.Tm)(ut,{className:Ge()(`${Be}-trigger`,{[`${Be}-rtl`]:Gt==="rtl"},ut.props.className),disabled:Oe}),Ie=Oe?[]:fe;let he;Ie&&Ie.includes("contextMenu")&&(he=!0);const[de,Ne]=(0,re.Z)(!1,{value:ye!=null?ye:qe}),at=(0,Fe.useEvent)(Ee=>{je==null||je(Ee),$e==null||$e(Ee),Ne(Ee)}),Se=Ge()(Le,Ke,pn,{[`${Be}-rtl`]:Gt==="rtl"}),ve=(0,Qe.Z)({arrowPointAtCenter:typeof se=="object"&&se.pointAtCenter,autoAdjustOverflow:Ye,offset:St.marginXXS,arrowWidth:se?St.sizePopupArrow:0,borderRadius:St.borderRadius}),et=ee.useCallback(()=>{Ne(!1)},[]),De=()=>{let Ee;return le!=null&&le.items?Ee=ee.createElement(Te.default,Object.assign({},le)):typeof qt=="function"?Ee=qt():Ee=qt,ge&&(Ee=ge(Ee)),Ee=ee.Children.only(typeof Ee=="string"?ee.createElement("span",null,Ee):Ee),ee.createElement(oe.J,{prefixCls:`${Be}-menu`,expandIcon:ee.createElement("span",{className:`${Be}-menu-submenu-arrow`},ee.createElement(ie.Z,{className:`${Be}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:et,validator:_e=>{let{mode:Wt}=_e}},Ee)};return Xt(ee.createElement(Ce.Z,Object.assign({alignPoint:he},(0,Je.Z)(ae,["rootClassName"]),{mouseEnterDelay:Ue,mouseLeaveDelay:Rt,visible:de,builtinPlacements:ve,arrow:!!se,overlayClassName:Se,prefixCls:Be,getPopupContainer:it||ke,transitionName:mt,trigger:Ie,overlay:De,placement:Jt,onVisibleChange:at}),Xe))};function x(ae){return Object.assign(Object.assign({},ae),{align:{overflow:{adjustX:!1,adjustY:!1}}})}const z=(0,Ze.Z)(E,"dropdown",ae=>ae,x),ne=ae=>ee.createElement(z,Object.assign({},ae),ee.createElement("span",null));E._InternalPanelDoNotUseOrYouWillBeFired=ne,It.Z=E},38854:function(bt,It,te){"use strict";te.d(It,{Z:function(){return y}});var ee=te(91857),ie=te(92310),Ae=te.n(ie),Ge=te(59301),Ce=te(18785),Fe=te(3113),re=te(36355),Je=te(81327),Qe=te(33234),Ze=te(47211),lt=function(a,b){var E={};for(var x in a)Object.prototype.hasOwnProperty.call(a,x)&&b.indexOf(x)<0&&(E[x]=a[x]);if(a!=null&&typeof Object.getOwnPropertySymbols=="function")for(var z=0,x=Object.getOwnPropertySymbols(a);z<x.length;z++)b.indexOf(x[z])<0&&Object.prototype.propertyIsEnumerable.call(a,x[z])&&(E[x[z]]=a[x[z]]);return E};const pt=a=>{const{getPopupContainer:b,getPrefixCls:E,direction:x}=Ge.useContext(re.E_),{prefixCls:z,type:ne="default",danger:ae,disabled:le,loading:se,onClick:ce,htmlType:be,children:fe,className:Oe,menu:ge,arrow:it,autoFocus:Le,overlay:Ke,trigger:ye,align:je,open:qe,onOpenChange:$e,placement:Ue,getPopupContainer:Rt,href:Ye,icon:Dt=Ge.createElement(Ce.Z,null),title:qt,buttonsRender:Me=De=>De,mouseEnterDelay:ke,mouseLeaveDelay:Pt,overlayClassName:Gt,overlayStyle:mt,destroyPopupOnHide:Jt,dropdownRender:Be}=a,Xt=lt(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"]),pn=E("dropdown",z),St=`${pn}-button`,[ut,Xe]=(0,Ze.Z)(pn),Ie={menu:ge,arrow:it,autoFocus:Le,align:je,disabled:le,trigger:le?[]:ye,onOpenChange:$e,getPopupContainer:Rt||b,mouseEnterDelay:ke,mouseLeaveDelay:Pt,overlayClassName:Gt,overlayStyle:mt,destroyPopupOnHide:Jt,dropdownRender:Be},{compactSize:he,compactItemClassnames:de}=(0,Qe.ri)(pn,x),Ne=Ae()(St,de,Oe,Xe);"overlay"in a&&(Ie.overlay=Ke),"open"in a&&(Ie.open=qe),"placement"in a?Ie.placement=Ue:Ie.placement=x==="rtl"?"bottomLeft":"bottomRight";const at=Ge.createElement(Fe.ZP,{type:ne,danger:ae,disabled:le,loading:se,onClick:ce,htmlType:be,href:Ye,title:qt},fe),Se=Ge.createElement(Fe.ZP,{type:ne,danger:ae,icon:Dt}),[ve,et]=Me([at,Se]);return ut(Ge.createElement(Je.Z.Compact,Object.assign({className:Ne,size:he,block:!0},Xt),ve,Ge.createElement(ee.Z,Object.assign({},Ie),et)))};pt.__ANT_BUTTON=!0;var Te=pt;const oe=ee.Z;oe.Button=Te;var y=oe},47211:function(bt,It,te){"use strict";te.d(It,{Z:function(){return lt}});var ee=te(17313),ie=te(13826),Ae=te(92899),Ge=te(29878),Ce=te(19447),Fe=te(83116),re=te(37613),Qe=pt=>{const{componentCls:Te,menuCls:oe,colorError:y,colorTextLightSolid:a}=pt,b=`${oe}-item`;return{[`${Te}, ${Te}-menu-submenu`]:{[`${oe} ${b}`]:{[`&${b}-danger:not(${b}-disabled)`]:{color:y,"&:hover":{color:a,backgroundColor:y}}}}}};const Ze=pt=>{const{componentCls:Te,menuCls:oe,zIndexPopup:y,dropdownArrowDistance:a,sizePopupArrow:b,antCls:E,iconCls:x,motionDurationMid:z,dropdownPaddingVertical:ne,fontSize:ae,dropdownEdgeChildPadding:le,colorTextDisabled:se,fontSizeIcon:ce,controlPaddingHorizontal:be,colorBgElevated:fe}=pt;return[{[Te]:Object.assign(Object.assign({},(0,ee.Wf)(pt)),{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:ce}},[`${Te}-wrap`]:{position:"relative",[`${E}-btn > ${x}-down`]:{fontSize:ce},[`${x}-down::before`]:{transition:`transform ${z}`}},[`${Te}-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${Te}-placement-bottomLeft,
&${E}-slide-down-appear${E}-slide-down-appear-active${Te}-placement-bottomLeft,
&${E}-slide-down-enter${E}-slide-down-enter-active${Te}-placement-bottom,
&${E}-slide-down-appear${E}-slide-down-appear-active${Te}-placement-bottom,
&${E}-slide-down-enter${E}-slide-down-enter-active${Te}-placement-bottomRight,
&${E}-slide-down-appear${E}-slide-down-appear-active${Te}-placement-bottomRight`]:{animationName:ie.fJ},[`&${E}-slide-up-enter${E}-slide-up-enter-active${Te}-placement-topLeft,
&${E}-slide-up-appear${E}-slide-up-appear-active${Te}-placement-topLeft,
&${E}-slide-up-enter${E}-slide-up-enter-active${Te}-placement-top,
&${E}-slide-up-appear${E}-slide-up-appear-active${Te}-placement-top,
&${E}-slide-up-enter${E}-slide-up-enter-active${Te}-placement-topRight,
&${E}-slide-up-appear${E}-slide-up-appear-active${Te}-placement-topRight`]:{animationName:ie.Qt},[`&${E}-slide-down-leave${E}-slide-down-leave-active${Te}-placement-bottomLeft,
&${E}-slide-down-leave${E}-slide-down-leave-active${Te}-placement-bottom,
&${E}-slide-down-leave${E}-slide-down-leave-active${Te}-placement-bottomRight`]:{animationName:ie.Uw},[`&${E}-slide-up-leave${E}-slide-up-leave-active${Te}-placement-topLeft,
&${E}-slide-up-leave${E}-slide-up-leave-active${Te}-placement-top,
&${E}-slide-up-leave${E}-slide-up-leave-active${Te}-placement-topRight`]:{animationName:ie.ly}})},(0,Ce.ZP)(pt,{colorBg:fe,limitVerticalRadius:!0,arrowPlacement:{top:!0,bottom:!0}}),{[`${Te} ${oe}`]:{position:"relative",margin:0},[`${oe}-submenu-popup`]:{position:"absolute",zIndex:y,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${Te}, ${Te}-menu-submenu`]:{[oe]:Object.assign(Object.assign({padding:le,listStyleType:"none",backgroundColor:fe,backgroundClip:"padding-box",borderRadius:pt.borderRadiusLG,outline:"none",boxShadow:pt.boxShadowSecondary},(0,ee.Qy)(pt)),{[`${oe}-item-group-title`]:{padding:`${ne}px ${be}px`,color:pt.colorTextDescription,transition:`all ${z}`},[`${oe}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${oe}-item-icon`]:{minWidth:ae,marginInlineEnd:pt.marginXS,fontSize:pt.fontSizeSM},[`${oe}-title-content`]:{flex:"auto","> a":{color:"inherit",transition:`all ${z}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}}},[`${oe}-item, ${oe}-submenu-title`]:Object.assign(Object.assign({clear:"both",margin:0,padding:`${ne}px ${be}px`,color:pt.colorText,fontWeight:"normal",fontSize:ae,lineHeight:pt.lineHeight,cursor:"pointer",transition:`all ${z}`,borderRadius:pt.borderRadiusSM,"&:hover, &-active":{backgroundColor:pt.controlItemBgHover}},(0,ee.Qy)(pt)),{"&-selected":{color:pt.colorPrimary,backgroundColor:pt.controlItemBgActive,"&:hover, &-active":{backgroundColor:pt.controlItemBgActiveHover}},"&-disabled":{color:se,cursor:"not-allowed","&:hover":{color:se,backgroundColor:fe,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${pt.marginXXS}px 0`,overflow:"hidden",lineHeight:0,backgroundColor:pt.colorSplit},[`${Te}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:pt.paddingXS,[`${Te}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:pt.colorTextDescription,fontSize:ce,fontStyle:"normal"}}}),[`${oe}-item-group-list`]:{margin:`0 ${pt.marginXS}px`,padding:0,listStyle:"none"},[`${oe}-submenu-title`]:{paddingInlineEnd:be+pt.fontSizeSM},[`${oe}-submenu-vertical`]:{position:"relative"},[`${oe}-submenu${oe}-submenu-disabled ${Te}-menu-submenu-title`]:{[`&, ${Te}-menu-submenu-arrow-icon`]:{color:se,backgroundColor:fe,cursor:"not-allowed"}},[`${oe}-submenu-selected ${Te}-menu-submenu-title`]:{color:pt.colorPrimary}})}},[(0,ie.oN)(pt,"slide-up"),(0,ie.oN)(pt,"slide-down"),(0,Ae.Fm)(pt,"move-up"),(0,Ae.Fm)(pt,"move-down"),(0,Ge._y)(pt,"zoom-big")]]};var lt=(0,Fe.Z)("Dropdown",(pt,Te)=>{let{rootPrefixCls:oe}=Te;const{marginXXS:y,sizePopupArrow:a,controlHeight:b,fontSize:E,lineHeight:x,paddingXXS:z,componentCls:ne,borderRadiusLG:ae}=pt,le=(b-E*x)/2,{dropdownArrowOffset:se}=(0,Ce.fS)({contentRadius:ae}),ce=(0,re.TS)(pt,{menuCls:`${ne}-menu`,rootPrefixCls:oe,dropdownArrowDistance:a/2+y,dropdownArrowOffset:se,dropdownPaddingVertical:le,dropdownEdgeChildPadding:z});return[Ze(ce),Qe(ce)]},pt=>({zIndexPopup:pt.zIndexPopupBase+50}))},8628:function(bt,It,te){"use strict";var ee=te(59301),ie=te(34280),Ae=te(56762),Ge=te(69507);function Ce(){let Fe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;const re=(0,ee.useRef)({}),Je=(0,Ae.Z)(),Qe=(0,Ge.ZP)();return(0,ie.Z)(()=>{const Ze=Qe.subscribe(lt=>{re.current=lt,Fe&&Je()});return()=>Qe.unsubscribe(Ze)},[]),re.current}It.Z=Ce},45818:function(bt,It,te){"use strict";te.d(It,{D:function(){return z},Z:function(){return le}});var ee=te(16378),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"},Ge=Ae,Ce=te(7657),Fe=function(ce,be){return ie.createElement(Ce.Z,(0,ee.Z)({},ce,{ref:be,icon:Ge}))},re=ie.forwardRef(Fe),Je=re,Qe=te(33853),Ze=te(38819),lt=te(92310),pt=te.n(lt),Te=te(2738),y=se=>!isNaN(parseFloat(se))&&isFinite(se),a=te(36355),b=te(84966),E=function(se,ce){var be={};for(var fe in se)Object.prototype.hasOwnProperty.call(se,fe)&&ce.indexOf(fe)<0&&(be[fe]=se[fe]);if(se!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Oe=0,fe=Object.getOwnPropertySymbols(se);Oe<fe.length;Oe++)ce.indexOf(fe[Oe])<0&&Object.prototype.propertyIsEnumerable.call(se,fe[Oe])&&(be[fe[Oe]]=se[fe[Oe]]);return be};const x={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},z=ie.createContext({}),ne=(()=>{let se=0;return function(){let ce=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return se+=1,`${ce}${se}`}})();var le=ie.forwardRef((se,ce)=>{const{prefixCls:be,className:fe,trigger:Oe,children:ge,defaultCollapsed:it=!1,theme:Le="dark",style:Ke={},collapsible:ye=!1,reverseArrow:je=!1,width:qe=200,collapsedWidth:$e=80,zeroWidthTriggerStyle:Ue,breakpoint:Rt,onCollapse:Ye,onBreakpoint:Dt}=se,qt=E(se,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:Me}=(0,ie.useContext)(b.Gs),[ke,Pt]=(0,ie.useState)("collapsed"in se?se.collapsed:it),[Gt,mt]=(0,ie.useState)(!1);(0,ie.useEffect)(()=>{"collapsed"in se&&Pt(se.collapsed)},[se.collapsed]);const Jt=(Xe,Ie)=>{"collapsed"in se||Pt(Xe),Ye==null||Ye(Xe,Ie)},Be=(0,ie.useRef)();Be.current=Xe=>{mt(Xe.matches),Dt==null||Dt(Xe.matches),ke!==Xe.matches&&Jt(Xe.matches,"responsive")},(0,ie.useEffect)(()=>{function Xe(he){return Be.current(he)}let Ie;if(typeof window!="undefined"){const{matchMedia:he}=window;if(he&&Rt&&Rt in x){Ie=he(`(max-width: ${x[Rt]})`);try{Ie.addEventListener("change",Xe)}catch(de){Ie.addListener(Xe)}Xe(Ie)}}return()=>{try{Ie==null||Ie.removeEventListener("change",Xe)}catch(he){Ie==null||Ie.removeListener(Xe)}}},[Rt]),(0,ie.useEffect)(()=>{const Xe=ne("ant-sider-");return Me.addSider(Xe),()=>Me.removeSider(Xe)},[]);const Xt=()=>{Jt(!ke,"clickTrigger")},{getPrefixCls:pn}=(0,ie.useContext)(a.E_),St=()=>{const Xe=pn("layout-sider",be),Ie=(0,Te.Z)(qt,["collapsed"]),he=ke?$e:qe,de=y(he)?`${he}px`:String(he),Ne=parseFloat(String($e||0))===0?ie.createElement("span",{onClick:Xt,className:pt()(`${Xe}-zero-width-trigger`,`${Xe}-zero-width-trigger-${je?"right":"left"}`),style:Ue},Oe||ie.createElement(Je,null)):null,ve={expanded:je?ie.createElement(Ze.Z,null):ie.createElement(Qe.Z,null),collapsed:je?ie.createElement(Qe.Z,null):ie.createElement(Ze.Z,null)}[ke?"collapsed":"expanded"],et=Oe!==null?Ne||ie.createElement("div",{className:`${Xe}-trigger`,onClick:Xt,style:{width:de}},Oe||ve):null,De=Object.assign(Object.assign({},Ke),{flex:`0 0 ${de}`,maxWidth:de,minWidth:de,width:de}),Ee=pt()(Xe,`${Xe}-${Le}`,{[`${Xe}-collapsed`]:!!ke,[`${Xe}-has-trigger`]:ye&&Oe!==null&&!Ne,[`${Xe}-below`]:!!Gt,[`${Xe}-zero-width`]:parseFloat(de)===0},fe);return ie.createElement("aside",Object.assign({className:Ee},Ie,{style:De,ref:ce}),ie.createElement("div",{className:`${Xe}-children`},ge),ye||Gt&&Ne?et:null)},ut=ie.useMemo(()=>({siderCollapsed:ke}),[ke]);return ie.createElement(z.Provider,{value:ut},St())})},84966:function(bt,It,te){"use strict";te.d(It,{VY:function(){return z},$_:function(){return x},h4:function(){return E},Gs:function(){return Te},ZP:function(){return ne}});var ee=te(65093),ie=te(92310),Ae=te.n(ie),Ge=te(2738),Ce=te(59301),Fe=te(36355),re=te(83116),Qe=ae=>{const{componentCls:le,bodyBg:se,lightSiderBg:ce,lightTriggerBg:be,lightTriggerColor:fe}=ae;return{[`${le}-sider-light`]:{background:ce,[`${le}-sider-trigger`]:{color:fe,background:be},[`${le}-sider-zero-width-trigger`]:{color:fe,background:be,border:`1px solid ${se}`,borderInlineStart:0}}}};const Ze=ae=>{const{antCls:le,componentCls:se,colorText:ce,triggerColor:be,footerBg:fe,triggerBg:Oe,headerHeight:ge,headerPadding:it,headerColor:Le,footerPadding:Ke,triggerHeight:ye,zeroTriggerHeight:je,zeroTriggerWidth:qe,motionDurationMid:$e,motionDurationSlow:Ue,fontSize:Rt,borderRadius:Ye,bodyBg:Dt,headerBg:qt,siderBg:Me}=ae;return{[se]:Object.assign(Object.assign({display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:Dt,"&, *":{boxSizing:"border-box"},[`&${se}-has-sider`]:{flexDirection:"row",[`> ${se}, > ${se}-content`]:{width:0}},[`${se}-header, &${se}-footer`]:{flex:"0 0 auto"},[`${se}-sider`]:{position:"relative",minWidth:0,background:Me,transition:`all ${$e}, background 0s`,"&-children":{height:"100%",marginTop:-.1,paddingTop:.1,[`${le}-menu${le}-menu-inline-collapsed`]:{width:"auto"}},"&-has-trigger":{paddingBottom:ye},"&-right":{order:1},"&-trigger":{position:"fixed",bottom:0,zIndex:1,height:ye,color:be,lineHeight:`${ye}px`,textAlign:"center",background:Oe,cursor:"pointer",transition:`all ${$e}`},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:ge,insetInlineEnd:-qe,zIndex:1,width:qe,height:je,color:be,fontSize:ae.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:Me,borderStartStartRadius:0,borderStartEndRadius:Ye,borderEndEndRadius:Ye,borderEndStartRadius:0,cursor:"pointer",transition:`background ${Ue} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${Ue}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:-qe,borderStartStartRadius:Ye,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:Ye}}}}},Qe(ae)),{"&-rtl":{direction:"rtl"}}),[`${se}-header`]:{height:ge,padding:it,color:Le,lineHeight:`${ge}px`,background:qt,[`${le}-menu`]:{lineHeight:"inherit"}},[`${se}-footer`]:{padding:Ke,color:ce,fontSize:Rt,background:fe},[`${se}-content`]:{flex:"auto",minHeight:0}}};var lt=(0,re.Z)("Layout",ae=>[Ze(ae)],ae=>{const{colorBgLayout:le,controlHeight:se,controlHeightLG:ce,colorText:be,controlHeightSM:fe,marginXXS:Oe,colorTextLightSolid:ge,colorBgContainer:it}=ae,Le=ce*1.25;return{colorBgHeader:"#001529",colorBgBody:le,colorBgTrigger:"#002140",bodyBg:le,headerBg:"#001529",headerHeight:se*2,headerPadding:`0 ${Le}px`,headerColor:be,footerPadding:`${fe}px ${Le}px`,footerBg:le,siderBg:"#001529",triggerHeight:ce+Oe*2,triggerBg:"#002140",triggerColor:ge,zeroTriggerWidth:ce,zeroTriggerHeight:ce,lightSiderBg:it,lightTriggerBg:it,lightTriggerColor:be}},{deprecatedTokens:[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]]}),pt=function(ae,le){var se={};for(var ce in ae)Object.prototype.hasOwnProperty.call(ae,ce)&&le.indexOf(ce)<0&&(se[ce]=ae[ce]);if(ae!=null&&typeof Object.getOwnPropertySymbols=="function")for(var be=0,ce=Object.getOwnPropertySymbols(ae);be<ce.length;be++)le.indexOf(ce[be])<0&&Object.prototype.propertyIsEnumerable.call(ae,ce[be])&&(se[ce[be]]=ae[ce[be]]);return se};const Te=Ce.createContext({siderHook:{addSider:()=>null,removeSider:()=>null}});function oe(ae){let{suffixCls:le,tagName:se,displayName:ce}=ae;return be=>Ce.forwardRef((Oe,ge)=>Ce.createElement(be,Object.assign({ref:ge,suffixCls:le,tagName:se},Oe)))}const y=Ce.forwardRef((ae,le)=>{const{prefixCls:se,suffixCls:ce,className:be,tagName:fe}=ae,Oe=pt(ae,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:ge}=Ce.useContext(Fe.E_),it=ge("layout",se),[Le,Ke]=lt(it),ye=ce?`${it}-${ce}`:it;return Le(Ce.createElement(fe,Object.assign({className:Ae()(se||ye,be,Ke),ref:le},Oe)))}),a=Ce.forwardRef((ae,le)=>{const{direction:se}=Ce.useContext(Fe.E_),[ce,be]=Ce.useState([]),{prefixCls:fe,className:Oe,rootClassName:ge,children:it,hasSider:Le,tagName:Ke,style:ye}=ae,je=pt(ae,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),qe=(0,Ge.Z)(je,["suffixCls"]),{getPrefixCls:$e,layout:Ue}=Ce.useContext(Fe.E_),Rt=$e("layout",fe),[Ye,Dt]=lt(Rt),qt=Ae()(Rt,{[`${Rt}-has-sider`]:typeof Le=="boolean"?Le:ce.length>0,[`${Rt}-rtl`]:se==="rtl"},Ue==null?void 0:Ue.className,Oe,ge,Dt),Me=Ce.useMemo(()=>({siderHook:{addSider:ke=>{be(Pt=>[].concat((0,ee.Z)(Pt),[ke]))},removeSider:ke=>{be(Pt=>Pt.filter(Gt=>Gt!==ke))}}}),[]);return Ye(Ce.createElement(Te.Provider,{value:Me},Ce.createElement(Ke,Object.assign({ref:le,className:qt,style:Object.assign(Object.assign({},Ue==null?void 0:Ue.style),ye)},qe),it)))}),b=oe({tagName:"div",displayName:"Layout"})(a),E=oe({suffixCls:"header",tagName:"header",displayName:"Header"})(y),x=oe({suffixCls:"footer",tagName:"footer",displayName:"Footer"})(y),z=oe({suffixCls:"content",tagName:"main",displayName:"Content"})(y);var ne=b},40875:function(bt,It,te){"use strict";te.d(It,{J:function(){return Fe}});var ee=te(59301),ie=te(33234),Ae=te(70425),Ge=function(re,Je){var Qe={};for(var Ze in re)Object.prototype.hasOwnProperty.call(re,Ze)&&Je.indexOf(Ze)<0&&(Qe[Ze]=re[Ze]);if(re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var lt=0,Ze=Object.getOwnPropertySymbols(re);lt<Ze.length;lt++)Je.indexOf(Ze[lt])<0&&Object.prototype.propertyIsEnumerable.call(re,Ze[lt])&&(Qe[Ze[lt]]=re[Ze[lt]]);return Qe};const Ce=ee.createContext(null),Fe=ee.forwardRef((re,Je)=>{const{children:Qe}=re,Ze=Ge(re,["children"]),lt=ee.useContext(Ce),pt=ee.useMemo(()=>Object.assign(Object.assign({},lt),Ze),[lt,Ze.prefixCls,Ze.mode,Ze.selectable]);return ee.createElement(Ce.Provider,{value:pt},ee.createElement(ie.BR,null,(0,Ae.supportNodeRef)(Qe)?ee.cloneElement(Qe,{ref:Je}):Qe))});It.Z=Ce},20834:function(bt,It,te){"use strict";te.d(It,{default:function(){return ut}});var ee=te(15285),ie=te(59301),Ae=te(45818),Ge=te(92310),Ce=te.n(Ge),Fe=te(36355),re=function(Xe,Ie){var he={};for(var de in Xe)Object.prototype.hasOwnProperty.call(Xe,de)&&Ie.indexOf(de)<0&&(he[de]=Xe[de]);if(Xe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ne=0,de=Object.getOwnPropertySymbols(Xe);Ne<de.length;Ne++)Ie.indexOf(de[Ne])<0&&Object.prototype.propertyIsEnumerable.call(Xe,de[Ne])&&(he[de[Ne]]=Xe[de[Ne]]);return he},Qe=Xe=>{const{prefixCls:Ie,className:he,dashed:de}=Xe,Ne=re(Xe,["prefixCls","className","dashed"]),{getPrefixCls:at}=ie.useContext(Fe.E_),Se=at("menu",Ie),ve=Ce()({[`${Se}-item-divider-dashed`]:!!de},he);return ie.createElement(ee.iz,Object.assign({className:ve},Ne))},Ze=te(11592),lt=te(2738),pt=te(6848),Te=te(92343),y=(0,ie.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),b=Xe=>{var Ie;const{className:he,children:de,icon:Ne,title:at,danger:Se}=Xe,{prefixCls:ve,firstLevel:et,direction:De,disableMenuItemTitleTooltip:Ee,inlineCollapsed:_e}=ie.useContext(y),Wt=dt=>{const vt=ie.createElement("span",{className:`${ve}-title-content`},de);return(!Ne||(0,Te.l$)(de)&&de.type==="span")&&de&&dt&&et&&typeof de=="string"?ie.createElement("div",{className:`${ve}-inline-collapsed-noicon`},de.charAt(0)):vt},{siderCollapsed:ht}=ie.useContext(Ae.D);let Tt=at;typeof at=="undefined"?Tt=et?de:"":at===!1&&(Tt="");const Mt={title:Tt};!ht&&!_e&&(Mt.title=null,Mt.open=!1);const Zt=(0,Ze.Z)(de).length;let xe=ie.createElement(ee.ck,Object.assign({},(0,lt.Z)(Xe,["title","icon","danger"]),{className:Ce()({[`${ve}-item-danger`]:Se,[`${ve}-item-only-child`]:(Ne?Zt+1:Zt)===1},he),title:typeof at=="string"?at:void 0}),(0,Te.Tm)(Ne,{className:Ce()((0,Te.l$)(Ne)?(Ie=Ne.props)===null||Ie===void 0?void 0:Ie.className:"",`${ve}-item-icon`)}),Wt(_e));return Ee||(xe=ie.createElement(pt.Z,Object.assign({},Mt,{placement:De==="rtl"?"left":"right",overlayClassName:`${ve}-inline-collapsed-tooltip`}),xe)),xe},x=Xe=>{var Ie;const{popupClassName:he,icon:de,title:Ne,theme:at}=Xe,Se=ie.useContext(y),{prefixCls:ve,inlineCollapsed:et,theme:De}=Se,Ee=(0,ee.Xl)();let _e;if(!de)_e=et&&!Ee.length&&Ne&&typeof Ne=="string"?ie.createElement("div",{className:`${ve}-inline-collapsed-noicon`},Ne.charAt(0)):ie.createElement("span",{className:`${ve}-title-content`},Ne);else{const ht=(0,Te.l$)(Ne)&&Ne.type==="span";_e=ie.createElement(ie.Fragment,null,(0,Te.Tm)(de,{className:Ce()((0,Te.l$)(de)?(Ie=de.props)===null||Ie===void 0?void 0:Ie.className:"",`${ve}-item-icon`)}),ht?Ne:ie.createElement("span",{className:`${ve}-title-content`},Ne))}const Wt=ie.useMemo(()=>Object.assign(Object.assign({},Se),{firstLevel:!1}),[Se]);return ie.createElement(y.Provider,{value:Wt},ie.createElement(ee.Wd,Object.assign({},(0,lt.Z)(Xe,["icon"]),{title:_e,popupClassName:Ce()(ve,he,`${ve}-${at||De}`)})))},z=te(18785),ne=te(70425),ae=te(62892),le=te(40875),se=function(Xe,Ie){var he={};for(var de in Xe)Object.prototype.hasOwnProperty.call(Xe,de)&&Ie.indexOf(de)<0&&(he[de]=Xe[de]);if(Xe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ne=0,de=Object.getOwnPropertySymbols(Xe);Ne<de.length;Ne++)Ie.indexOf(de[Ne])<0&&Object.prototype.propertyIsEnumerable.call(Xe,de[Ne])&&(he[de[Ne]]=Xe[de[Ne]]);return he};function ce(Xe){return(Xe||[]).map((Ie,he)=>{if(Ie&&typeof Ie=="object"){const de=Ie,{label:Ne,children:at,key:Se,type:ve}=de,et=se(de,["label","children","key","type"]),De=Se!=null?Se:`tmp-${he}`;return at||ve==="group"?ve==="group"?ie.createElement(ee.BW,Object.assign({key:De},et,{title:Ne}),ce(at)):ie.createElement(x,Object.assign({key:De},et,{title:Ne}),ce(at)):ve==="divider"?ie.createElement(Qe,Object.assign({key:De},et)):ie.createElement(b,Object.assign({key:De},et),Ne)}return null}).filter(Ie=>Ie)}function be(Xe){return ie.useMemo(()=>Xe&&ce(Xe),[Xe])}var fe=te(64993),Oe=te(17313),ge=te(8378),it=te(13826),Le=te(29878),Ke=te(83116),ye=te(37613),qe=Xe=>{const{componentCls:Ie,motionDurationSlow:he,horizontalLineHeight:de,colorSplit:Ne,lineWidth:at,lineType:Se,itemPaddingInline:ve}=Xe;return{[`${Ie}-horizontal`]:{lineHeight:de,border:0,borderBottom:`${at}px ${Se} ${Ne}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${Ie}-item, ${Ie}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:ve},[`> ${Ie}-item:hover,
> ${Ie}-item-active,
> ${Ie}-submenu ${Ie}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${Ie}-item, ${Ie}-submenu-title`]:{transition:[`border-color ${he}`,`background ${he}`].join(",")},[`${Ie}-submenu-arrow`]:{display:"none"}}}},Ue=Xe=>{let{componentCls:Ie,menuArrowOffset:he}=Xe;return{[`${Ie}-rtl`]:{direction:"rtl"},[`${Ie}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${Ie}-rtl${Ie}-vertical,
${Ie}-submenu-rtl ${Ie}-vertical`]:{[`${Ie}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(-${he})`},"&::after":{transform:`rotate(45deg) translateY(${he})`}}}}};const Rt=Xe=>Object.assign({},(0,Oe.oN)(Xe));var Dt=(Xe,Ie)=>{const{componentCls:he,itemColor:de,itemSelectedColor:Ne,groupTitleColor:at,itemBg:Se,subMenuItemBg:ve,itemSelectedBg:et,activeBarHeight:De,activeBarWidth:Ee,activeBarBorderWidth:_e,motionDurationSlow:Wt,motionEaseInOut:ht,motionEaseOut:Tt,itemPaddingInline:Mt,motionDurationMid:Zt,itemHoverColor:xe,lineType:dt,colorSplit:vt,itemDisabledColor:ft,dangerItemColor:Nt,dangerItemHoverColor:Vt,dangerItemSelectedColor:nn,dangerItemActiveBg:an,dangerItemSelectedBg:Sn,itemHoverBg:On,itemActiveBg:Lt,menuSubMenuBg:Ct,horizontalItemSelectedColor:Ut,horizontalItemSelectedBg:cn,horizontalItemBorderRadius:sn,horizontalItemHoverBg:Nn,popupBg:nt}=Xe;return{[`${he}-${Ie}, ${he}-${Ie} > ${he}`]:{color:de,background:Se,[`&${he}-root:focus-visible`]:Object.assign({},Rt(Xe)),[`${he}-item-group-title`]:{color:at},[`${he}-submenu-selected`]:{[`> ${he}-submenu-title`]:{color:Ne}},[`${he}-item-disabled, ${he}-submenu-disabled`]:{color:`${ft} !important`},[`${he}-item:not(${he}-item-selected):not(${he}-submenu-selected)`]:{[`&:hover, > ${he}-submenu-title:hover`]:{color:xe}},[`&:not(${he}-horizontal)`]:{[`${he}-item:not(${he}-item-selected)`]:{"&:hover":{backgroundColor:On},"&:active":{backgroundColor:Lt}},[`${he}-submenu-title`]:{"&:hover":{backgroundColor:On},"&: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:an}},[`${he}-item a`]:{"&, &:hover":{color:"inherit"}},[`${he}-item-selected`]:{color:Ne,[`&${he}-item-danger`]:{color:nn},"a, a:hover":{color:"inherit"}},[`& ${he}-item-selected`]:{backgroundColor:et,[`&${he}-item-danger`]:{backgroundColor:Sn}},[`${he}-item, ${he}-submenu-title`]:{[`&:not(${he}-item-disabled):focus-visible`]:Object.assign({},Rt(Xe))},[`&${he}-submenu > ${he}`]:{backgroundColor:Ct},[`&${he}-popup > ${he}`]:{backgroundColor:nt},[`&${he}-horizontal`]:Object.assign(Object.assign({},Ie==="dark"?{borderBottom:0}:{}),{[`> ${he}-item, > ${he}-submenu`]:{top:_e,marginTop:-_e,marginBottom:0,borderRadius:sn,"&::after":{position:"absolute",insetInline:Mt,bottom:0,borderBottom:`${De}px solid transparent`,transition:`border-color ${Wt} ${ht}`,content:'""'},"&:hover, &-active, &-open":{background:Nn,"&::after":{borderBottomWidth:De,borderBottomColor:Ut}},"&-selected":{color:Ut,backgroundColor:cn,"&:hover":{backgroundColor:cn},"&::after":{borderBottomWidth:De,borderBottomColor:Ut}}}}),[`&${he}-root`]:{[`&${he}-inline, &${he}-vertical`]:{borderInlineEnd:`${_e}px ${dt} ${vt}`}},[`&${he}-inline`]:{[`${he}-sub${he}-inline`]:{background:ve},[`${he}-item, ${he}-submenu-title`]:_e&&Ee?{width:`calc(100% + ${_e}px)`}:{},[`${he}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${Ee}px solid ${Ne}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${Zt} ${Tt}`,`opacity ${Zt} ${Tt}`].join(","),content:'""'},[`&${he}-item-danger`]:{"&::after":{borderInlineEndColor:nn}}},[`${he}-selected, ${he}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${Zt} ${ht}`,`opacity ${Zt} ${ht}`].join(",")}}}}}};const qt=Xe=>{const{componentCls:Ie,itemHeight:he,itemMarginInline:de,padding:Ne,menuArrowSize:at,marginXS:Se,itemMarginBlock:ve}=Xe,et=Ne+at+Se;return{[`${Ie}-item`]:{position:"relative",overflow:"hidden"},[`${Ie}-item, ${Ie}-submenu-title`]:{height:he,lineHeight:`${he}px`,paddingInline:Ne,overflow:"hidden",textOverflow:"ellipsis",marginInline:de,marginBlock:ve,width:`calc(100% - ${de*2}px)`},[`> ${Ie}-item,
> ${Ie}-submenu > ${Ie}-submenu-title`]:{height:he,lineHeight:`${he}px`},[`${Ie}-item-group-list ${Ie}-submenu-title,
${Ie}-submenu-title`]:{paddingInlineEnd:et}}};var ke=Xe=>{const{componentCls:Ie,iconCls:he,itemHeight:de,colorTextLightSolid:Ne,dropdownWidth:at,controlHeightLG:Se,motionDurationMid:ve,motionEaseOut:et,paddingXL:De,itemMarginInline:Ee,fontSizeLG:_e,motionDurationSlow:Wt,paddingXS:ht,boxShadowSecondary:Tt,collapsedWidth:Mt,collapsedIconSize:Zt}=Xe,xe={height:de,lineHeight:`${de}px`,listStylePosition:"inside",listStyleType:"disc"};return[{[Ie]:{"&-inline, &-vertical":Object.assign({[`&${Ie}-root`]:{boxShadow:"none"}},qt(Xe))},[`${Ie}-submenu-popup`]:{[`${Ie}-vertical`]:Object.assign(Object.assign({},qt(Xe)),{boxShadow:Tt})}},{[`${Ie}-submenu-popup ${Ie}-vertical${Ie}-sub`]:{minWidth:at,maxHeight:`calc(100vh - ${Se*2.5}px)`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${Ie}-inline`]:{width:"100%",[`&${Ie}-root`]:{[`${Ie}-item, ${Ie}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${Wt}`,`background ${Wt}`,`padding ${ve} ${et}`].join(","),[`> ${Ie}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${Ie}-sub${Ie}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${Ie}-submenu > ${Ie}-submenu-title`]:xe,[`& ${Ie}-item-group-title`]:{paddingInlineStart:De}},[`${Ie}-item`]:xe}},{[`${Ie}-inline-collapsed`]:{width:Mt,[`&${Ie}-root`]:{[`${Ie}-item, ${Ie}-submenu ${Ie}-submenu-title`]:{[`> ${Ie}-inline-collapsed-noicon`]:{fontSize:_e,textAlign:"center"}}},[`> ${Ie}-item,
> ${Ie}-item-group > ${Ie}-item-group-list > ${Ie}-item,
> ${Ie}-item-group > ${Ie}-item-group-list > ${Ie}-submenu > ${Ie}-submenu-title,
> ${Ie}-submenu > ${Ie}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${_e/2}px - ${Ee}px)`,textOverflow:"clip",[`
${Ie}-submenu-arrow,
${Ie}-submenu-expand-icon
`]:{opacity:0},[`${Ie}-item-icon, ${he}`]:{margin:0,fontSize:Zt,lineHeight:`${de}px`,"+ span":{display:"inline-block",opacity:0}}},[`${Ie}-item-icon, ${he}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${Ie}-item-icon, ${he}`]:{display:"none"},"a, a:hover":{color:Ne}},[`${Ie}-item-group-title`]:Object.assign(Object.assign({},Oe.vS),{paddingInline:ht})}}]};const Pt=Xe=>{const{componentCls:Ie,motionDurationSlow:he,motionDurationMid:de,motionEaseInOut:Ne,motionEaseOut:at,iconCls:Se,iconSize:ve,iconMarginInlineEnd:et}=Xe;return{[`${Ie}-item, ${Ie}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${he}`,`background ${he}`,`padding ${he} ${Ne}`].join(","),[`${Ie}-item-icon, ${Se}`]:{minWidth:ve,fontSize:ve,transition:[`font-size ${de} ${at}`,`margin ${he} ${Ne}`,`color ${he}`].join(","),"+ span":{marginInlineStart:et,opacity:1,transition:[`opacity ${he} ${Ne}`,`margin ${he}`,`color ${he}`].join(",")}},[`${Ie}-item-icon`]:Object.assign({},(0,Oe.Ro)()),[`&${Ie}-item-only-child`]:{[`> ${Se}, > ${Ie}-item-icon`]:{marginInlineEnd:0}}},[`${Ie}-item-disabled, ${Ie}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important"},[`> ${Ie}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},Gt=Xe=>{const{componentCls:Ie,motionDurationSlow:he,motionEaseInOut:de,borderRadius:Ne,menuArrowSize:at,menuArrowOffset:Se}=Xe;return{[`${Ie}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:Xe.margin,width:at,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${he} ${de}, opacity ${he}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:at*.6,height:at*.15,backgroundColor:"currentcolor",borderRadius:Ne,transition:[`background ${he} ${de}`,`transform ${he} ${de}`,`top ${he} ${de}`,`color ${he} ${de}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(-${Se})`},"&::after":{transform:`rotate(-45deg) translateY(${Se})`}}}}},mt=Xe=>{const{antCls:Ie,componentCls:he,fontSize:de,motionDurationSlow:Ne,motionDurationMid:at,motionEaseInOut:Se,paddingXS:ve,padding:et,colorSplit:De,lineWidth:Ee,zIndexPopup:_e,borderRadiusLG:Wt,subMenuItemBorderRadius:ht,menuArrowSize:Tt,menuArrowOffset:Mt,lineType:Zt,menuPanelMaskInset:xe,groupTitleLineHeight:dt,groupTitleFontSize:vt}=Xe;return[{"":{[`${he}`]:Object.assign(Object.assign({},(0,Oe.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,Oe.Wf)(Xe)),(0,Oe.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:de,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${Ne} 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:Xe.itemBorderRadius},[`${he}-item-group-title`]:{padding:`${ve}px ${et}px`,fontSize:vt,lineHeight:dt,transition:`all ${Ne}`},[`&-horizontal ${he}-submenu`]:{transition:[`border-color ${Ne} ${Se}`,`background ${Ne} ${Se}`].join(",")},[`${he}-submenu, ${he}-submenu-inline`]:{transition:[`border-color ${Ne} ${Se}`,`background ${Ne} ${Se}`,`padding ${at} ${Se}`].join(",")},[`${he}-submenu ${he}-sub`]:{cursor:"initial",transition:[`background ${Ne} ${Se}`,`padding ${Ne} ${Se}`].join(",")},[`${he}-title-content`]:{transition:`color ${Ne}`},[`${he}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${he}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:De,borderStyle:Zt,borderWidth:0,borderTopWidth:Ee,marginBlock:Ee,padding:0,"&-dashed":{borderStyle:"dashed"}}}),Pt(Xe)),{[`${he}-item-group`]:{[`${he}-item-group-list`]:{margin:0,padding:0,[`${he}-item, ${he}-submenu-title`]:{paddingInline:`${de*2}px ${et}px`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:_e,borderRadius:Wt,boxShadow:"none",transformOrigin:"0 0",[`&${he}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:`${xe}px 0 0`,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'}},"&-placement-rightTop::before":{top:0,insetInlineStart:xe},"\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:Xe.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:Xe.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:Xe.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:Xe.paddingXS},[`> ${he}`]:Object.assign(Object.assign(Object.assign({borderRadius:Wt},Pt(Xe)),Gt(Xe)),{[`${he}-item, ${he}-submenu > ${he}-submenu-title`]:{borderRadius:ht},[`${he}-submenu-title::after`]:{transition:`transform ${Ne} ${Se}`}})}}),Gt(Xe)),{[`&-inline-collapsed ${he}-submenu-arrow,
&-inline ${he}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${Mt})`},"&::after":{transform:`rotate(45deg) translateX(-${Mt})`}},[`${he}-submenu-open${he}-submenu-inline > ${he}-submenu-title > ${he}-submenu-arrow`]:{transform:`translateY(-${Tt*.2}px)`,"&::after":{transform:`rotate(-45deg) translateX(-${Mt})`},"&::before":{transform:`rotate(45deg) translateX(${Mt})`}}})},{[`${Ie}-layout-header`]:{[he]:{lineHeight:"inherit"}}}]};var Jt=(Xe,Ie)=>(0,Ke.Z)("Menu",de=>{if(Ie===!1)return[];const{colorBgElevated:Ne,colorPrimary:at,colorTextLightSolid:Se,controlHeightLG:ve,fontSize:et,darkItemColor:De,darkDangerItemColor:Ee,darkItemBg:_e,darkSubMenuItemBg:Wt,darkItemSelectedColor:ht,darkItemSelectedBg:Tt,darkDangerItemSelectedBg:Mt,darkItemHoverBg:Zt,darkGroupTitleColor:xe,darkItemHoverColor:dt,darkItemDisabledColor:vt,darkDangerItemHoverColor:ft,darkDangerItemSelectedColor:Nt,darkDangerItemActiveBg:Vt}=de,nn=et/7*5,an=(0,ye.TS)(de,{menuArrowSize:nn,menuHorizontalHeight:ve*1.15,menuArrowOffset:`${nn*.25}px`,menuPanelMaskInset:-7,menuSubMenuBg:Ne}),Sn=(0,ye.TS)(an,{itemColor:De,itemHoverColor:dt,groupTitleColor:xe,itemSelectedColor:ht,itemBg:_e,popupBg:_e,subMenuItemBg:Wt,itemActiveBg:"transparent",itemSelectedBg:Tt,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:Zt,itemDisabledColor:vt,dangerItemColor:Ee,dangerItemHoverColor:ft,dangerItemSelectedColor:Nt,dangerItemActiveBg:Vt,dangerItemSelectedBg:Mt,menuSubMenuBg:Wt,horizontalItemSelectedColor:Se,horizontalItemSelectedBg:at});return[mt(an),qe(an),ke(an),Dt(an,"light"),Dt(Sn,"dark"),Ue(an),(0,ge.Z)(an),(0,it.oN)(an,"slide-up"),(0,it.oN)(an,"slide-down"),(0,Le._y)(an,"zoom-big")]},de=>{const{colorPrimary:Ne,colorError:at,colorTextDisabled:Se,colorErrorBg:ve,colorText:et,colorTextDescription:De,colorBgContainer:Ee,colorFillAlter:_e,colorFillContent:Wt,lineWidth:ht,lineWidthBold:Tt,controlItemBgActive:Mt,colorBgTextHover:Zt,controlHeightLG:xe,lineHeight:dt,colorBgElevated:vt,marginXXS:ft,padding:Nt,fontSize:Vt,controlHeightSM:nn,fontSizeLG:an,colorTextLightSolid:Sn,colorErrorHover:On}=de,Lt=new fe.C(Sn).setAlpha(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:de.zIndexPopupBase+50,radiusItem:de.borderRadiusLG,itemBorderRadius:de.borderRadiusLG,radiusSubMenuItem:de.borderRadiusSM,subMenuItemBorderRadius:de.borderRadiusSM,colorItemText:et,itemColor:et,colorItemTextHover:et,itemHoverColor:et,colorItemTextHoverHorizontal:Ne,horizontalItemHoverColor:Ne,colorGroupTitle:De,groupTitleColor:De,colorItemTextSelected:Ne,itemSelectedColor:Ne,colorItemTextSelectedHorizontal:Ne,horizontalItemSelectedColor:Ne,colorItemBg:Ee,itemBg:Ee,colorItemBgHover:Zt,itemHoverBg:Zt,colorItemBgActive:Wt,itemActiveBg:Mt,colorSubItemBg:_e,subMenuItemBg:_e,colorItemBgSelected:Mt,itemSelectedBg:Mt,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:0,colorActiveBarHeight:Tt,activeBarHeight:Tt,colorActiveBarBorderSize:ht,activeBarBorderWidth:ht,colorItemTextDisabled:Se,itemDisabledColor:Se,colorDangerItemText:at,dangerItemColor:at,colorDangerItemTextHover:at,dangerItemHoverColor:at,colorDangerItemTextSelected:at,dangerItemSelectedColor:at,colorDangerItemBgActive:ve,dangerItemActiveBg:ve,colorDangerItemBgSelected:ve,dangerItemSelectedBg:ve,itemMarginInline:de.marginXXS,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:xe,groupTitleLineHeight:dt,collapsedWidth:xe*2,popupBg:vt,itemMarginBlock:ft,itemPaddingInline:Nt,horizontalLineHeight:`${xe*1.15}px`,iconSize:Vt,iconMarginInlineEnd:nn-Vt,collapsedIconSize:an,groupTitleFontSize:Vt,darkItemDisabledColor:new fe.C(Sn).setAlpha(.25).toRgbString(),darkItemColor:Lt,darkDangerItemColor:at,darkItemBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:Sn,darkItemSelectedBg:Ne,darkDangerItemSelectedBg:at,darkItemHoverBg:"transparent",darkGroupTitleColor:Lt,darkItemHoverColor:Sn,darkDangerItemHoverColor:On,darkDangerItemSelectedColor:Sn,darkDangerItemActiveBg:at}},{deprecatedTokens:[["colorGroupTitle","groupTitleColor"],["radiusItem","itemBorderRadius"],["radiusSubMenuItem","subMenuItemBorderRadius"],["colorItemText","itemColor"],["colorItemTextHover","itemHoverColor"],["colorItemTextHoverHorizontal","horizontalItemHoverColor"],["colorItemTextSelected","itemSelectedColor"],["colorItemTextSelectedHorizontal","horizontalItemSelectedColor"],["colorItemTextDisabled","itemDisabledColor"],["colorDangerItemText","dangerItemColor"],["colorDangerItemTextHover","dangerItemHoverColor"],["colorDangerItemTextSelected","dangerItemSelectedColor"],["colorDangerItemBgActive","dangerItemActiveBg"],["colorDangerItemBgSelected","dangerItemSelectedBg"],["colorItemBg","itemBg"],["colorItemBgHover","itemHoverBg"],["colorSubItemBg","subMenuItemBg"],["colorItemBgActive","itemActiveBg"],["colorItemBgSelectedHorizontal","horizontalItemSelectedBg"],["colorActiveBarWidth","activeBarWidth"],["colorActiveBarHeight","activeBarHeight"],["colorActiveBarBorderSize","activeBarBorderWidth"],["colorItemBgSelected","itemSelectedBg"]]})(Xe),Be=function(Xe,Ie){var he={};for(var de in Xe)Object.prototype.hasOwnProperty.call(Xe,de)&&Ie.indexOf(de)<0&&(he[de]=Xe[de]);if(Xe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ne=0,de=Object.getOwnPropertySymbols(Xe);Ne<de.length;Ne++)Ie.indexOf(de[Ne])<0&&Object.prototype.propertyIsEnumerable.call(Xe,de[Ne])&&(he[de[Ne]]=Xe[de[Ne]]);return he},pn=(0,ie.forwardRef)((Xe,Ie)=>{var he,de;const Ne=ie.useContext(le.Z),at=Ne||{},{getPrefixCls:Se,getPopupContainer:ve,direction:et,menu:De}=ie.useContext(Fe.E_),Ee=Se(),{prefixCls:_e,className:Wt,style:ht,theme:Tt="light",expandIcon:Mt,_internalDisableMenuItemTitleTooltip:Zt,inlineCollapsed:xe,siderCollapsed:dt,items:vt,children:ft,rootClassName:Nt,mode:Vt,selectable:nn,onClick:an,overflowedIndicatorPopupClassName:Sn}=Xe,On=Be(Xe,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","items","children","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),Lt=(0,lt.Z)(On,["collapsedWidth"]),Ct=be(vt)||ft;(he=at.validator)===null||he===void 0||he.call(at,{mode:Vt});const Ut=(0,ne.useEvent)(function(){var gt;an==null||an.apply(void 0,arguments),(gt=at.onClick)===null||gt===void 0||gt.call(at)}),cn=at.mode||Vt,sn=nn!=null?nn:at.selectable,Nn=ie.useMemo(()=>dt!==void 0?dt:xe,[xe,dt]),nt={horizontal:{motionName:`${Ee}-slide-up`},inline:(0,ae.Z)(Ee),other:{motionName:`${Ee}-zoom-big`}},Bt=Se("menu",_e||at.prefixCls),[Qt,yn]=Jt(Bt,!Ne),Pe=Ce()(`${Bt}-${Tt}`,De==null?void 0:De.className,Wt);let Ve;if(typeof Mt=="function")Ve=Mt;else if(Mt===null||Mt===!1)Ve=null;else if(at.expandIcon===null||at.expandIcon===!1)Ve=null;else{const gt=Mt!=null?Mt:at.expandIcon;Ve=(0,Te.Tm)(gt,{className:Ce()(`${Bt}-submenu-expand-icon`,(0,Te.l$)(gt)?(de=gt.props)===null||de===void 0?void 0:de.className:"")})}const st=ie.useMemo(()=>({prefixCls:Bt,inlineCollapsed:Nn||!1,direction:et,firstLevel:!0,theme:Tt,mode:cn,disableMenuItemTitleTooltip:Zt}),[Bt,Nn,et,Zt,Tt]);return Qt(ie.createElement(le.Z.Provider,{value:null},ie.createElement(y.Provider,{value:st},ie.createElement(ee.ZP,Object.assign({getPopupContainer:ve,overflowedIndicator:ie.createElement(z.Z,null),overflowedIndicatorPopupClassName:Ce()(Bt,`${Bt}-${Tt}`,Sn),mode:cn,selectable:sn,onClick:Ut},Lt,{inlineCollapsed:Nn,style:Object.assign(Object.assign({},De==null?void 0:De.style),ht),className:Pe,prefixCls:Bt,direction:et,defaultMotions:nt,expandIcon:Ve,ref:Ie,rootClassName:Ce()(Nt,yn)}),Ct))))});const St=(0,ie.forwardRef)((Xe,Ie)=>{const he=(0,ie.useRef)(null),de=ie.useContext(Ae.D);return(0,ie.useImperativeHandle)(Ie,()=>({menu:he.current,focus:Ne=>{var at;(at=he.current)===null||at===void 0||at.focus(Ne)}})),ie.createElement(pn,Object.assign({ref:he},Xe,de))});St.Item=b,St.SubMenu=x,St.Divider=Qe,St.ItemGroup=ee.BW;var ut=St},58421:function(bt,It,te){"use strict";te.d(It,{Z:function(){return at}});var ee=te(16378),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"},Ge=Ae,Ce=te(7657),Fe=function(ve,et){return ie.createElement(Ce.Z,(0,ee.Z)({},ve,{ref:et,icon:Ge}))},re=ie.forwardRef(Fe),Je=re,Qe=te(49198),Ze=te(33853),lt=te(38819),pt=te(92310),Te=te.n(pt),oe=te(78772),y=te(35227),a=te(44202),b=te(86773),E=te(82412),x=te(60845),z=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},ae=ne,le=te(91735),se=function(Se){(0,E.Z)(et,Se);var ve=(0,x.Z)(et);function et(){var De;(0,a.Z)(this,et);for(var Ee=arguments.length,_e=new Array(Ee),Wt=0;Wt<Ee;Wt++)_e[Wt]=arguments[Wt];return De=ve.call.apply(ve,[this].concat(_e)),De.state={goInputText:""},De.getValidValue=function(){var ht=De.state.goInputText;return!ht||Number.isNaN(ht)?void 0:Number(ht)},De.buildOptionText=function(ht){return"".concat(ht," ").concat(De.props.locale.items_per_page)},De.changeSize=function(ht){De.props.changeSize(Number(ht))},De.handleChange=function(ht){De.setState({goInputText:ht.target.value})},De.handleBlur=function(ht){var Tt=De.props,Mt=Tt.goButton,Zt=Tt.quickGo,xe=Tt.rootPrefixCls,dt=De.state.goInputText;Mt||dt===""||(De.setState({goInputText:""}),!(ht.relatedTarget&&(ht.relatedTarget.className.indexOf("".concat(xe,"-item-link"))>=0||ht.relatedTarget.className.indexOf("".concat(xe,"-item"))>=0))&&Zt(De.getValidValue()))},De.go=function(ht){var Tt=De.state.goInputText;Tt!==""&&(ht.keyCode===ae.ENTER||ht.type==="click")&&(De.setState({goInputText:""}),De.props.quickGo(De.getValidValue()))},De}return(0,b.Z)(et,[{key:"getPageSizeOptions",value:function(){var Ee=this.props,_e=Ee.pageSize,Wt=Ee.pageSizeOptions;return Wt.some(function(ht){return ht.toString()===_e.toString()})?Wt:Wt.concat([_e.toString()]).sort(function(ht,Tt){var Mt=Number.isNaN(Number(ht))?0:Number(ht),Zt=Number.isNaN(Number(Tt))?0:Number(Tt);return Mt-Zt})}},{key:"render",value:function(){var Ee=this,_e=this.props,Wt=_e.pageSize,ht=_e.locale,Tt=_e.rootPrefixCls,Mt=_e.changeSize,Zt=_e.quickGo,xe=_e.goButton,dt=_e.selectComponentClass,vt=_e.buildOptionText,ft=_e.selectPrefixCls,Nt=_e.disabled,Vt=this.state.goInputText,nn="".concat(Tt,"-options"),an=dt,Sn=null,On=null,Lt=null;if(!Mt&&!Zt)return null;var Ct=this.getPageSizeOptions();if(Mt&&an){var Ut=Ct.map(function(cn,sn){return ie.createElement(an.Option,{key:sn,value:cn.toString()},(vt||Ee.buildOptionText)(cn))});Sn=ie.createElement(an,{disabled:Nt,prefixCls:ft,showSearch:!1,className:"".concat(nn,"-size-changer"),optionLabelProp:"children",popupMatchSelectWidth:!1,value:(Wt||Ct[0]).toString(),onChange:this.changeSize,getPopupContainer:function(sn){return sn.parentNode},"aria-label":ht.page_size,defaultOpen:!1},Ut)}return Zt&&(xe&&(Lt=typeof xe=="boolean"?ie.createElement("button",{type:"button",onClick:this.go,onKeyUp:this.go,disabled:Nt,className:"".concat(nn,"-quick-jumper-button")},ht.jump_to_confirm):ie.createElement("span",{onClick:this.go,onKeyUp:this.go},xe)),On=ie.createElement("div",{className:"".concat(nn,"-quick-jumper")},ht.jump_to,ie.createElement("input",{disabled:Nt,type:"text",value:Vt,onChange:this.handleChange,onKeyUp:this.go,onBlur:this.handleBlur,"aria-label":ht.page}),ht.page,Lt)),ie.createElement("li",{className:"".concat(nn)},Sn,On)}}]),et}(ie.Component);se.defaultProps={pageSizeOptions:["10","20","50","100"]};var ce=se,be=function(ve){var et,De=ve.rootPrefixCls,Ee=ve.page,_e=ve.active,Wt=ve.className,ht=ve.showTitle,Tt=ve.onClick,Mt=ve.onKeyPress,Zt=ve.itemRender,xe="".concat(De,"-item"),dt=Te()(xe,"".concat(xe,"-").concat(Ee),(et={},(0,oe.Z)(et,"".concat(xe,"-active"),_e),(0,oe.Z)(et,"".concat(xe,"-disabled"),!Ee),(0,oe.Z)(et,ve.className,Wt),et)),vt=function(){Tt(Ee)},ft=function(nn){Mt(nn,Tt,Ee)},Nt=Zt(Ee,"page",ie.createElement("a",{rel:"nofollow"},Ee));return Nt?ie.createElement("li",{title:ht?Ee.toString():null,className:dt,onClick:vt,onKeyPress:ft,tabIndex:0},Nt):null},fe=be;function Oe(){}function ge(Se){var ve=Number(Se);return typeof ve=="number"&&!Number.isNaN(ve)&&isFinite(ve)&&Math.floor(ve)===ve}var it=function(ve,et,De){return De};function Le(Se,ve,et){var De=typeof Se=="undefined"?ve.pageSize:Se;return Math.floor((et.total-1)/De)+1}var Ke=function(Se){(0,E.Z)(et,Se);var ve=(0,x.Z)(et);function et(De){var Ee;(0,a.Z)(this,et),Ee=ve.call(this,De),Ee.paginationNode=ie.createRef(),Ee.getJumpPrevPage=function(){return Math.max(1,Ee.state.current-(Ee.props.showLessItems?3:5))},Ee.getJumpNextPage=function(){return Math.min(Le(void 0,Ee.state,Ee.props),Ee.state.current+(Ee.props.showLessItems?3:5))},Ee.getItemIcon=function(Mt,Zt){var xe=Ee.props.prefixCls,dt=Mt||ie.createElement("button",{type:"button","aria-label":Zt,className:"".concat(xe,"-item-link")});return typeof Mt=="function"&&(dt=ie.createElement(Mt,(0,y.Z)({},Ee.props))),dt},Ee.isValid=function(Mt){var Zt=Ee.props.total;return ge(Mt)&&Mt!==Ee.state.current&&ge(Zt)&&Zt>0},Ee.shouldDisplayQuickJumper=function(){var Mt=Ee.props,Zt=Mt.showQuickJumper,xe=Mt.total,dt=Ee.state.pageSize;return xe<=dt?!1:Zt},Ee.handleKeyDown=function(Mt){(Mt.keyCode===ae.ARROW_UP||Mt.keyCode===ae.ARROW_DOWN)&&Mt.preventDefault()},Ee.handleKeyUp=function(Mt){var Zt=Ee.getValidValue(Mt),xe=Ee.state.currentInputValue;Zt!==xe&&Ee.setState({currentInputValue:Zt}),Mt.keyCode===ae.ENTER?Ee.handleChange(Zt):Mt.keyCode===ae.ARROW_UP?Ee.handleChange(Zt-1):Mt.keyCode===ae.ARROW_DOWN&&Ee.handleChange(Zt+1)},Ee.handleBlur=function(Mt){var Zt=Ee.getValidValue(Mt);Ee.handleChange(Zt)},Ee.changePageSize=function(Mt){var Zt=Ee.state.current,xe=Le(Mt,Ee.state,Ee.props);Zt=Zt>xe?xe:Zt,xe===0&&(Zt=Ee.state.current),typeof Mt=="number"&&("pageSize"in Ee.props||Ee.setState({pageSize:Mt}),"current"in Ee.props||Ee.setState({current:Zt,currentInputValue:Zt})),Ee.props.onShowSizeChange(Zt,Mt),"onChange"in Ee.props&&Ee.props.onChange&&Ee.props.onChange(Zt,Mt)},Ee.handleChange=function(Mt){var Zt=Ee.props,xe=Zt.disabled,dt=Zt.onChange,vt=Ee.state,ft=vt.pageSize,Nt=vt.current,Vt=vt.currentInputValue;if(Ee.isValid(Mt)&&!xe){var nn=Le(void 0,Ee.state,Ee.props),an=Mt;return Mt>nn?an=nn:Mt<1&&(an=1),"current"in Ee.props||Ee.setState({current:an}),an!==Vt&&Ee.setState({currentInputValue:an}),dt(an,ft),an}return Nt},Ee.prev=function(){Ee.hasPrev()&&Ee.handleChange(Ee.state.current-1)},Ee.next=function(){Ee.hasNext()&&Ee.handleChange(Ee.state.current+1)},Ee.jumpPrev=function(){Ee.handleChange(Ee.getJumpPrevPage())},Ee.jumpNext=function(){Ee.handleChange(Ee.getJumpNextPage())},Ee.hasPrev=function(){return Ee.state.current>1},Ee.hasNext=function(){return Ee.state.current<Le(void 0,Ee.state,Ee.props)},Ee.runIfEnter=function(Mt,Zt){if(Mt.key==="Enter"||Mt.charCode===13){for(var xe=arguments.length,dt=new Array(xe>2?xe-2:0),vt=2;vt<xe;vt++)dt[vt-2]=arguments[vt];Zt.apply(void 0,dt)}},Ee.runIfEnterPrev=function(Mt){Ee.runIfEnter(Mt,Ee.prev)},Ee.runIfEnterNext=function(Mt){Ee.runIfEnter(Mt,Ee.next)},Ee.runIfEnterJumpPrev=function(Mt){Ee.runIfEnter(Mt,Ee.jumpPrev)},Ee.runIfEnterJumpNext=function(Mt){Ee.runIfEnter(Mt,Ee.jumpNext)},Ee.handleGoTO=function(Mt){(Mt.keyCode===ae.ENTER||Mt.type==="click")&&Ee.handleChange(Ee.state.currentInputValue)},Ee.renderPrev=function(Mt){var Zt=Ee.props,xe=Zt.prevIcon,dt=Zt.itemRender,vt=dt(Mt,"prev",Ee.getItemIcon(xe,"prev page")),ft=!Ee.hasPrev();return(0,ie.isValidElement)(vt)?(0,ie.cloneElement)(vt,{disabled:ft}):vt},Ee.renderNext=function(Mt){var Zt=Ee.props,xe=Zt.nextIcon,dt=Zt.itemRender,vt=dt(Mt,"next",Ee.getItemIcon(xe,"next page")),ft=!Ee.hasNext();return(0,ie.isValidElement)(vt)?(0,ie.cloneElement)(vt,{disabled:ft}):vt};var _e=De.onChange!==Oe,Wt="current"in De;Wt&&!_e&&console.warn("Warning: You provided a `current` prop to a Pagination component without an `onChange` handler. This will render a read-only component.");var ht=De.defaultCurrent;"current"in De&&(ht=De.current);var Tt=De.defaultPageSize;return"pageSize"in De&&(Tt=De.pageSize),ht=Math.min(ht,Le(Tt,void 0,De)),Ee.state={current:ht,currentInputValue:ht,pageSize:Tt},Ee}return(0,b.Z)(et,[{key:"componentDidUpdate",value:function(Ee,_e){var Wt=this.props.prefixCls;if(_e.current!==this.state.current&&this.paginationNode.current){var ht=this.paginationNode.current.querySelector(".".concat(Wt,"-item-").concat(_e.current));if(ht&&document.activeElement===ht){var Tt;ht==null||(Tt=ht.blur)===null||Tt===void 0||Tt.call(ht)}}}},{key:"getValidValue",value:function(Ee){var _e=Ee.target.value,Wt=Le(void 0,this.state,this.props),ht=this.state.currentInputValue,Tt;return _e===""?Tt=_e:Number.isNaN(Number(_e))?Tt=ht:_e>=Wt?Tt=Wt:Tt=Number(_e),Tt}},{key:"getShowSizeChanger",value:function(){var Ee=this.props,_e=Ee.showSizeChanger,Wt=Ee.total,ht=Ee.totalBoundaryShowSizeChanger;return typeof _e!="undefined"?_e:Wt>ht}},{key:"render",value:function(){var Ee=this.props,_e=Ee.prefixCls,Wt=Ee.className,ht=Ee.style,Tt=Ee.disabled,Mt=Ee.hideOnSinglePage,Zt=Ee.total,xe=Ee.locale,dt=Ee.showQuickJumper,vt=Ee.showLessItems,ft=Ee.showTitle,Nt=Ee.showTotal,Vt=Ee.simple,nn=Ee.itemRender,an=Ee.showPrevNextJumpers,Sn=Ee.jumpPrevIcon,On=Ee.jumpNextIcon,Lt=Ee.selectComponentClass,Ct=Ee.selectPrefixCls,Ut=Ee.pageSizeOptions,cn=this.state,sn=cn.current,Nn=cn.pageSize,nt=cn.currentInputValue;if(Mt===!0&&Zt<=Nn)return null;var Bt=Le(void 0,this.state,this.props),Qt=[],yn=null,Pe=null,Ve=null,st=null,gt=null,xt=dt&&dt.goButton,$t=vt?1:2,Ft=sn-1>0?sn-1:0,ze=sn+1<Bt?sn+1:Bt,We=(0,z.Z)(this.props,{aria:!0,data:!0}),Re=Nt&&ie.createElement("li",{className:"".concat(_e,"-total-text")},Nt(Zt,[Zt===0?0:(sn-1)*Nn+1,sn*Nn>Zt?Zt:sn*Nn]));if(Vt){xt&&(typeof xt=="boolean"?gt=ie.createElement("button",{type:"button",onClick:this.handleGoTO,onKeyUp:this.handleGoTO},xe.jump_to_confirm):gt=ie.createElement("span",{onClick:this.handleGoTO,onKeyUp:this.handleGoTO},xt),gt=ie.createElement("li",{title:ft?"".concat(xe.jump_to).concat(sn,"/").concat(Bt):null,className:"".concat(_e,"-simple-pager")},gt));var ct=this.renderPrev(Ft);return ie.createElement("ul",(0,ee.Z)({className:Te()(_e,"".concat(_e,"-simple"),(0,oe.Z)({},"".concat(_e,"-disabled"),Tt),Wt),style:ht,ref:this.paginationNode},We),Re,ct?ie.createElement("li",{title:ft?xe.prev_page:null,onClick:this.prev,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterPrev,className:Te()("".concat(_e,"-prev"),(0,oe.Z)({},"".concat(_e,"-disabled"),!this.hasPrev())),"aria-disabled":!this.hasPrev()},ct):null,ie.createElement("li",{title:ft?"".concat(sn,"/").concat(Bt):null,className:"".concat(_e,"-simple-pager")},ie.createElement("input",{type:"text",value:nt,disabled:Tt,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onChange:this.handleKeyUp,onBlur:this.handleBlur,size:3}),ie.createElement("span",{className:"".concat(_e,"-slash")},"/"),Bt),ie.createElement("li",{title:ft?xe.next_page:null,onClick:this.next,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterNext,className:Te()("".concat(_e,"-next"),(0,oe.Z)({},"".concat(_e,"-disabled"),!this.hasNext())),"aria-disabled":!this.hasNext()},this.renderNext(ze)),gt)}if(Bt<=3+$t*2){var jt={locale:xe,rootPrefixCls:_e,onClick:this.handleChange,onKeyPress:this.runIfEnter,showTitle:ft,itemRender:nn};Bt||Qt.push(ie.createElement(fe,(0,ee.Z)({},jt,{key:"noPager",page:1,className:"".concat(_e,"-item-disabled")})));for(var Ot=1;Ot<=Bt;Ot+=1){var vn=sn===Ot;Qt.push(ie.createElement(fe,(0,ee.Z)({},jt,{key:Ot,page:Ot,active:vn})))}}else{var fn=vt?xe.prev_3:xe.prev_5,en=vt?xe.next_3:xe.next_5,xn=nn(this.getJumpPrevPage(),"jump-prev",this.getItemIcon(Sn,"prev page")),Qn=nn(this.getJumpNextPage(),"jump-next",this.getItemIcon(On,"next page"));an&&(yn=xn?ie.createElement("li",{title:ft?fn:null,key:"prev",onClick:this.jumpPrev,tabIndex:0,onKeyPress:this.runIfEnterJumpPrev,className:Te()("".concat(_e,"-jump-prev"),(0,oe.Z)({},"".concat(_e,"-jump-prev-custom-icon"),!!Sn))},xn):null,Pe=Qn?ie.createElement("li",{title:ft?en:null,key:"next",tabIndex:0,onClick:this.jumpNext,onKeyPress:this.runIfEnterJumpNext,className:Te()("".concat(_e,"-jump-next"),(0,oe.Z)({},"".concat(_e,"-jump-next-custom-icon"),!!On))},Qn):null),st=ie.createElement(fe,{locale:xe,last:!0,rootPrefixCls:_e,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:Bt,page:Bt,active:!1,showTitle:ft,itemRender:nn}),Ve=ie.createElement(fe,{locale:xe,rootPrefixCls:_e,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:1,page:1,active:!1,showTitle:ft,itemRender:nn});var on=Math.max(1,sn-$t),Un=Math.min(sn+$t,Bt);sn-1<=$t&&(Un=1+$t*2),Bt-sn<=$t&&(on=Bt-$t*2);for(var $n=on;$n<=Un;$n+=1){var ca=sn===$n;Qt.push(ie.createElement(fe,{locale:xe,rootPrefixCls:_e,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:$n,page:$n,active:ca,showTitle:ft,itemRender:nn}))}sn-1>=$t*2&&sn!==3&&(Qt[0]=(0,ie.cloneElement)(Qt[0],{className:"".concat(_e,"-item-after-jump-prev")}),Qt.unshift(yn)),Bt-sn>=$t*2&&sn!==Bt-2&&(Qt[Qt.length-1]=(0,ie.cloneElement)(Qt[Qt.length-1],{className:"".concat(_e,"-item-before-jump-next")}),Qt.push(Pe)),on!==1&&Qt.unshift(Ve),Un!==Bt&&Qt.push(st)}var qn=!this.hasPrev()||!Bt,tt=!this.hasNext()||!Bt,zt=this.renderPrev(Ft),yt=this.renderNext(ze);return ie.createElement("ul",(0,ee.Z)({className:Te()(_e,Wt,(0,oe.Z)({},"".concat(_e,"-disabled"),Tt)),style:ht,ref:this.paginationNode},We),Re,zt?ie.createElement("li",{title:ft?xe.prev_page:null,onClick:this.prev,tabIndex:qn?null:0,onKeyPress:this.runIfEnterPrev,className:Te()("".concat(_e,"-prev"),(0,oe.Z)({},"".concat(_e,"-disabled"),qn)),"aria-disabled":qn},zt):null,Qt,yt?ie.createElement("li",{title:ft?xe.next_page:null,onClick:this.next,tabIndex:tt?null:0,onKeyPress:this.runIfEnterNext,className:Te()("".concat(_e,"-next"),(0,oe.Z)({},"".concat(_e,"-disabled"),tt)),"aria-disabled":tt},yt):null,ie.createElement(ce,{disabled:Tt,locale:xe,rootPrefixCls:_e,selectComponentClass:Lt,selectPrefixCls:Ct,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:sn,pageSize:Nn,pageSizeOptions:Ut,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:xt}))}}],[{key:"getDerivedStateFromProps",value:function(Ee,_e){var Wt={};if("current"in Ee&&(Wt.current=Ee.current,Ee.current!==_e.current&&(Wt.currentInputValue=Wt.current)),"pageSize"in Ee&&Ee.pageSize!==_e.pageSize){var ht=_e.current,Tt=Le(Ee.pageSize,_e,Ee);ht=ht>Tt?Tt:ht,"current"in Ee||(Wt.current=ht,Wt.currentInputValue=ht),Wt.pageSize=Ee.pageSize}return Wt}}]),et}(ie.Component);Ke.defaultProps={defaultCurrent:1,total:0,defaultPageSize:10,onChange:Oe,className:"",selectPrefixCls:"rc-select",prefixCls:"rc-pagination",selectComponentClass:null,hideOnSinglePage:!1,showPrevNextJumpers:!0,showQuickJumper:!1,showLessItems:!1,showTitle:!0,onShowSizeChange:Oe,locale:le.Z,style:{},itemRender:it,totalBoundaryShowSizeChanger:50};var ye=Ke,je=te(22075),qe=te(36355),$e=te(19716),Ue=te(8628),Rt=te(9763),Ye=te(57809);const Dt=Se=>ie.createElement(Ye.default,Object.assign({},Se,{showSearch:!0,size:"small"})),qt=Se=>ie.createElement(Ye.default,Object.assign({},Se,{showSearch:!0,size:"middle"}));Dt.Option=Ye.default.Option,qt.Option=Ye.default.Option;var Me=te(9937),ke=te(17313),Pt=te(83116),Gt=te(37613);const mt=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})}}}},Be=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})}}}},pn=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,ke.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"}}),pn(Se)),Xt(Se)),Be(Se)),Jt(Se)),mt(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}}}}},Xe=Se=>{const{componentCls:ve}=Se;return{[`${ve}:not(${ve}-disabled)`]:{[`${ve}-item`]:Object.assign({},(0,ke.Qy)(Se)),[`${ve}-jump-prev, ${ve}-jump-next`]:{"&:focus-visible":Object.assign({[`${ve}-item-link-icon`]:{opacity:1},[`${ve}-item-ellipsis`]:{opacity:0}},(0,ke.oN)(Se))},[`${ve}-prev, ${ve}-next`]:{[`&:focus-visible ${ve}-item-link`]:Object.assign({},(0,ke.oN)(Se))}}}};var Ie=(0,Pt.Z)("Pagination",Se=>{const ve=(0,Gt.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),Xe(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 et={};for(var De in Se)Object.prototype.hasOwnProperty.call(Se,De)&&ve.indexOf(De)<0&&(et[De]=Se[De]);if(Se!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ee=0,De=Object.getOwnPropertySymbols(Se);Ee<De.length;Ee++)ve.indexOf(De[Ee])<0&&Object.prototype.propertyIsEnumerable.call(Se,De[Ee])&&(et[De[Ee]]=Se[De[Ee]]);return et},Ne=Se=>{const{prefixCls:ve,selectPrefixCls:et,className:De,rootClassName:Ee,style:_e,size:Wt,locale:ht,selectComponentClass:Tt,responsive:Mt,showSizeChanger:Zt}=Se,xe=he(Se,["prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","selectComponentClass","responsive","showSizeChanger"]),{xs:dt}=(0,Ue.Z)(Mt),{getPrefixCls:vt,direction:ft,pagination:Nt={}}=ie.useContext(qe.E_),Vt=vt("pagination",ve),[nn,an]=Ie(Vt),Sn=Zt!=null?Zt:Nt.showSizeChanger,On=ie.useMemo(()=>{const Bt=ie.createElement("span",{className:`${Vt}-item-ellipsis`},"\u2022\u2022\u2022"),Qt=ie.createElement("button",{className:`${Vt}-item-link`,type:"button",tabIndex:-1},ft==="rtl"?ie.createElement(lt.Z,null):ie.createElement(Ze.Z,null)),yn=ie.createElement("button",{className:`${Vt}-item-link`,type:"button",tabIndex:-1},ft==="rtl"?ie.createElement(Ze.Z,null):ie.createElement(lt.Z,null)),Pe=ie.createElement("a",{className:`${Vt}-item-link`},ie.createElement("div",{className:`${Vt}-item-container`},ft==="rtl"?ie.createElement(Qe.Z,{className:`${Vt}-item-link-icon`}):ie.createElement(Je,{className:`${Vt}-item-link-icon`}),Bt)),Ve=ie.createElement("a",{className:`${Vt}-item-link`},ie.createElement("div",{className:`${Vt}-item-container`},ft==="rtl"?ie.createElement(Je,{className:`${Vt}-item-link-icon`}):ie.createElement(Qe.Z,{className:`${Vt}-item-link-icon`}),Bt));return{prevIcon:Qt,nextIcon:yn,jumpPrevIcon:Pe,jumpNextIcon:Ve}},[ft,Vt]),[Lt]=(0,Rt.Z)("Pagination",je.Z),Ct=Object.assign(Object.assign({},Lt),ht),Ut=(0,$e.Z)(Wt),cn=Ut==="small"||!!(dt&&!Ut&&Mt),sn=vt("select",et),Nn=Te()({[`${Vt}-mini`]:cn,[`${Vt}-rtl`]:ft==="rtl"},Nt==null?void 0:Nt.className,De,Ee,an),nt=Object.assign(Object.assign({},Nt==null?void 0:Nt.style),_e);return nn(ie.createElement(ye,Object.assign({},On,xe,{style:nt,prefixCls:Vt,selectPrefixCls:sn,className:Nn,selectComponentClass:Tt||(cn?Dt:qt),locale:Ct,showSizeChanger:Sn})))},at=Ne},93948:function(bt,It,te){"use strict";te.d(It,{Z:function(){return Zt}});var ee=te(59301),ie=te(29679),Ae=te(40001),Ge=te(19248),Ce=te(99267),Fe=te(92310),re=te.n(Fe),Je=te(2738),Qe=te(36355),Ze=te(16378),lt=te(35227),pt=te(61206),Te={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},oe=function(){var dt=(0,ee.useRef)([]),vt=(0,ee.useRef)(null);return(0,ee.useEffect)(function(){var ft=Date.now(),Nt=!1;dt.current.forEach(function(Vt){if(Vt){Nt=!0;var nn=Vt.style;nn.transitionDuration=".3s, .3s, .3s, .06s",vt.current&&ft-vt.current<100&&(nn.transitionDuration="0s, 0s")}}),Nt&&(vt.current=Date.now())}),dt.current},y=["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"],a=function(dt){var vt=(0,lt.Z)((0,lt.Z)({},Te),dt),ft=vt.className,Nt=vt.percent,Vt=vt.prefixCls,nn=vt.strokeColor,an=vt.strokeLinecap,Sn=vt.strokeWidth,On=vt.style,Lt=vt.trailColor,Ct=vt.trailWidth,Ut=vt.transition,cn=(0,pt.Z)(vt,y);delete cn.gapPosition;var sn=Array.isArray(Nt)?Nt:[Nt],Nn=Array.isArray(nn)?nn:[nn],nt=oe(),Bt=Sn/2,Qt=100-Sn/2,yn="M ".concat(an==="round"?Bt:0,",").concat(Bt,`
L `).concat(an==="round"?Qt:100,",").concat(Bt),Pe="0 0 100 ".concat(Sn),Ve=0;return ee.createElement("svg",(0,Ze.Z)({className:re()("".concat(Vt,"-line"),ft),viewBox:Pe,preserveAspectRatio:"none",style:On},cn),ee.createElement("path",{className:"".concat(Vt,"-line-trail"),d:yn,strokeLinecap:an,stroke:Lt,strokeWidth:Ct||Sn,fillOpacity:"0"}),sn.map(function(st,gt){var xt=1;switch(an){case"round":xt=1-Sn/100;break;case"square":xt=1-Sn/2/100;break;default:xt=1;break}var $t={strokeDasharray:"".concat(st*xt,"px, 100px"),strokeDashoffset:"-".concat(Ve,"px"),transition:Ut||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},Ft=Nn[gt]||Nn[Nn.length-1];return Ve+=st,ee.createElement("path",{key:gt,className:"".concat(Vt,"-line-path"),d:yn,strokeLinecap:an,stroke:Ft,strokeWidth:Sn,fillOpacity:"0",ref:function(We){nt[gt]=We},style:$t})}))},b=a,E=te(42066),x=te(10859),z=te(47273),ne=0,ae=(0,z.Z)();function le(){var xe;return ae?(xe=ne,ne+=1):xe="TEST_OR_SSR",xe}var se=function(xe){var dt=ee.useState(),vt=(0,x.Z)(dt,2),ft=vt[0],Nt=vt[1];return ee.useEffect(function(){Nt("rc_progress_".concat(le()))},[]),xe||ft},ce=function(dt){var vt=dt.bg,ft=dt.children;return ee.createElement("div",{style:{width:"100%",height:"100%",background:vt}},ft)};function be(xe,dt){return Object.keys(xe).map(function(vt){var ft=parseFloat(vt),Nt="".concat(Math.floor(ft*dt),"%");return"".concat(xe[vt]," ").concat(Nt)})}var fe=ee.forwardRef(function(xe,dt){var vt=xe.prefixCls,ft=xe.color,Nt=xe.gradientId,Vt=xe.radius,nn=xe.style,an=xe.ptg,Sn=xe.strokeLinecap,On=xe.strokeWidth,Lt=xe.size,Ct=xe.gapDegree,Ut=ft&&(0,E.Z)(ft)==="object",cn=Ut?"#FFF":void 0,sn=Lt/2,Nn=ee.createElement("circle",{className:"".concat(vt,"-circle-path"),r:Vt,cx:sn,cy:sn,stroke:cn,strokeLinecap:Sn,strokeWidth:On,opacity:an===0?0:1,style:nn,ref:dt});if(!Ut)return Nn;var nt="".concat(Nt,"-conic"),Bt=Ct?"".concat(180+Ct/2,"deg"):"0deg",Qt=be(ft,(360-Ct)/360),yn=be(ft,1),Pe="conic-gradient(from ".concat(Bt,", ").concat(Qt.join(", "),")"),Ve="linear-gradient(to ".concat(Ct?"bottom":"top",", ").concat(yn.join(", "),")");return ee.createElement(ee.Fragment,null,ee.createElement("mask",{id:nt},Nn),ee.createElement("foreignObject",{x:0,y:0,width:Lt,height:Lt,mask:"url(#".concat(nt,")")},ee.createElement(ce,{bg:Ve},ee.createElement(ce,{bg:Pe}))))}),Oe=fe,ge=100,it=function(dt,vt,ft,Nt,Vt,nn,an,Sn,On,Lt){var Ct=arguments.length>10&&arguments[10]!==void 0?arguments[10]:0,Ut=ft/100*360*((360-nn)/360),cn=nn===0?0:{bottom:0,top:180,left:90,right:-90}[an],sn=(100-Nt)/100*vt;On==="round"&&Nt!==100&&(sn+=Lt/2,sn>=vt&&(sn=vt-.01));var Nn=ge/2;return{stroke:typeof Sn=="string"?Sn:void 0,strokeDasharray:"".concat(vt,"px ").concat(dt),strokeDashoffset:sn+Ct,transform:"rotate(".concat(Vt+Ut+cn,"deg)"),transformOrigin:"".concat(Nn,"px ").concat(Nn,"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}},Le=["id","prefixCls","steps","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function Ke(xe){var dt=xe!=null?xe:[];return Array.isArray(dt)?dt:[dt]}var ye=function(dt){var vt=(0,lt.Z)((0,lt.Z)({},Te),dt),ft=vt.id,Nt=vt.prefixCls,Vt=vt.steps,nn=vt.strokeWidth,an=vt.trailWidth,Sn=vt.gapDegree,On=Sn===void 0?0:Sn,Lt=vt.gapPosition,Ct=vt.trailColor,Ut=vt.strokeLinecap,cn=vt.style,sn=vt.className,Nn=vt.strokeColor,nt=vt.percent,Bt=(0,pt.Z)(vt,Le),Qt=ge/2,yn=se(ft),Pe="".concat(yn,"-gradient"),Ve=Qt-nn/2,st=Math.PI*2*Ve,gt=On>0?90+On/2:-90,xt=st*((360-On)/360),$t=(0,E.Z)(Vt)==="object"?Vt:{count:Vt,space:2},Ft=$t.count,ze=$t.space,We=Ke(nt),Re=Ke(Nn),ct=Re.find(function(Qn){return Qn&&(0,E.Z)(Qn)==="object"}),jt=ct&&(0,E.Z)(ct)==="object",Ot=jt?"butt":Ut,vn=it(st,xt,0,100,gt,On,Lt,Ct,Ot,nn),fn=oe(),en=function(){var on=0;return We.map(function(Un,$n){var ca=Re[$n]||Re[Re.length-1],qn=it(st,xt,on,Un,gt,On,Lt,ca,Ot,nn);return on+=Un,ee.createElement(Oe,{key:$n,color:ca,ptg:Un,radius:Ve,prefixCls:Nt,gradientId:Pe,style:qn,strokeLinecap:Ot,strokeWidth:nn,gapDegree:On,ref:function(zt){fn[$n]=zt},size:ge})}).reverse()},xn=function(){var on=Math.round(Ft*(We[0]/100)),Un=100/Ft,$n=0;return new Array(Ft).fill(null).map(function(ca,qn){var tt=qn<=on-1?Re[0]:Ct,zt=tt&&(0,E.Z)(tt)==="object"?"url(#".concat(Pe,")"):void 0,yt=it(st,xt,$n,Un,gt,On,Lt,tt,"butt",nn,ze);return $n+=(xt-yt.strokeDashoffset+ze)*100/xt,ee.createElement("circle",{key:qn,className:"".concat(Nt,"-circle-path"),r:Ve,cx:Qt,cy:Qt,stroke:zt,strokeWidth:nn,opacity:1,style:yt,ref:function(dn){fn[qn]=dn}})})};return ee.createElement("svg",(0,Ze.Z)({className:re()("".concat(Nt,"-circle"),sn),viewBox:"0 0 ".concat(ge," ").concat(ge),style:cn,id:ft,role:"presentation"},Bt),!Ft&&ee.createElement("circle",{className:"".concat(Nt,"-circle-trail"),r:Ve,cx:Qt,cy:Qt,stroke:Ct,strokeLinecap:Ot,strokeWidth:an||nn,style:vn}),Ft?xn():en())},je=ye,qe={Line:b,Circle:je},$e=te(6848),Ue=te(93398);function Rt(xe){return!xe||xe<0?0:xe>100?100:xe}function Ye(xe){let{success:dt,successPercent:vt}=xe,ft=vt;return dt&&"progress"in dt&&(ft=dt.progress),dt&&"percent"in dt&&(ft=dt.percent),ft}const Dt=xe=>{let{percent:dt,success:vt,successPercent:ft}=xe;const Nt=Rt(Ye({success:vt,successPercent:ft}));return[Nt,Rt(Rt(dt)-Nt)]},qt=xe=>{let{success:dt={},strokeColor:vt}=xe;const{strokeColor:ft}=dt;return[ft||Ue.presetPrimaryColors.green,vt||null]},Me=(xe,dt,vt)=>{var ft,Nt,Vt,nn;let an=-1,Sn=-1;if(dt==="step"){const On=vt.steps,Lt=vt.strokeWidth;typeof xe=="string"||typeof xe=="undefined"?(an=xe==="small"?2:14,Sn=Lt!=null?Lt:8):typeof xe=="number"?[an,Sn]=[xe,xe]:[an=14,Sn=8]=xe,an*=On}else if(dt==="line"){const On=vt==null?void 0:vt.strokeWidth;typeof xe=="string"||typeof xe=="undefined"?Sn=On||(xe==="small"?6:8):typeof xe=="number"?[an,Sn]=[xe,xe]:[an=-1,Sn=8]=xe}else(dt==="circle"||dt==="dashboard")&&(typeof xe=="string"||typeof xe=="undefined"?[an,Sn]=xe==="small"?[60,60]:[120,120]:typeof xe=="number"?[an,Sn]=[xe,xe]:(an=(Nt=(ft=xe[0])!==null&&ft!==void 0?ft:xe[1])!==null&&Nt!==void 0?Nt:120,Sn=(nn=(Vt=xe[0])!==null&&Vt!==void 0?Vt:xe[1])!==null&&nn!==void 0?nn:120));return[an,Sn]},ke=3,Pt=xe=>ke/xe*100;var mt=xe=>{const{prefixCls:dt,trailColor:vt=null,strokeLinecap:ft="round",gapPosition:Nt,gapDegree:Vt,width:nn=120,type:an,children:Sn,success:On,size:Lt=nn}=xe,[Ct,Ut]=Me(Lt,"circle");let{strokeWidth:cn}=xe;cn===void 0&&(cn=Math.max(Pt(Ct),6));const sn={width:Ct,height:Ut,fontSize:Ct*.15+6},Nn=ee.useMemo(()=>{if(Vt||Vt===0)return Vt;if(an==="dashboard")return 75},[Vt,an]),nt=Nt||an==="dashboard"&&"bottom"||void 0,Bt=Object.prototype.toString.call(xe.strokeColor)==="[object Object]",Qt=qt({success:On,strokeColor:xe.strokeColor}),yn=re()(`${dt}-inner`,{[`${dt}-circle-gradient`]:Bt}),Pe=ee.createElement(je,{percent:Dt(xe),strokeWidth:cn,trailWidth:cn,strokeColor:Qt,strokeLinecap:ft,trailColor:vt,prefixCls:dt,gapDegree:Nn,gapPosition:nt});return ee.createElement("div",{className:yn,style:sn},Ct<=20?ee.createElement($e.Z,{title:Sn},ee.createElement("span",null,Pe)):ee.createElement(ee.Fragment,null,Pe,Sn))},Jt=function(xe,dt){var vt={};for(var ft in xe)Object.prototype.hasOwnProperty.call(xe,ft)&&dt.indexOf(ft)<0&&(vt[ft]=xe[ft]);if(xe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Nt=0,ft=Object.getOwnPropertySymbols(xe);Nt<ft.length;Nt++)dt.indexOf(ft[Nt])<0&&Object.prototype.propertyIsEnumerable.call(xe,ft[Nt])&&(vt[ft[Nt]]=xe[ft[Nt]]);return vt};const Be=xe=>{let dt=[];return Object.keys(xe).forEach(vt=>{const ft=parseFloat(vt.replace(/%/g,""));isNaN(ft)||dt.push({key:ft,value:xe[vt]})}),dt=dt.sort((vt,ft)=>vt.key-ft.key),dt.map(vt=>{let{key:ft,value:Nt}=vt;return`${Nt} ${ft}%`}).join(", ")},Xt=(xe,dt)=>{const{from:vt=Ue.presetPrimaryColors.blue,to:ft=Ue.presetPrimaryColors.blue,direction:Nt=dt==="rtl"?"to left":"to right"}=xe,Vt=Jt(xe,["from","to","direction"]);if(Object.keys(Vt).length!==0){const nn=Be(Vt);return{backgroundImage:`linear-gradient(${Nt}, ${nn})`}}return{backgroundImage:`linear-gradient(${Nt}, ${vt}, ${ft})`}};var St=xe=>{const{prefixCls:dt,direction:vt,percent:ft,size:Nt,strokeWidth:Vt,strokeColor:nn,strokeLinecap:an="round",children:Sn,trailColor:On=null,success:Lt}=xe,Ct=nn&&typeof nn!="string"?Xt(nn,vt):{backgroundColor:nn},Ut=an==="square"||an==="butt"?0:void 0,cn={backgroundColor:On||void 0,borderRadius:Ut},sn=Nt!=null?Nt:[-1,Vt||(Nt==="small"?6:8)],[Nn,nt]=Me(sn,"line",{strokeWidth:Vt}),Bt=Object.assign({width:`${Rt(ft)}%`,height:nt,borderRadius:Ut},Ct),Qt=Ye(xe),yn={width:`${Rt(Qt)}%`,height:nt,borderRadius:Ut,backgroundColor:Lt==null?void 0:Lt.strokeColor},Pe={width:Nn<0?"100%":Nn,height:nt};return ee.createElement(ee.Fragment,null,ee.createElement("div",{className:`${dt}-outer`,style:Pe},ee.createElement("div",{className:`${dt}-inner`,style:cn},ee.createElement("div",{className:`${dt}-bg`,style:Bt}),Qt!==void 0?ee.createElement("div",{className:`${dt}-success-bg`,style:yn}):null)),Sn)},Xe=xe=>{const{size:dt,steps:vt,percent:ft=0,strokeWidth:Nt=8,strokeColor:Vt,trailColor:nn=null,prefixCls:an,children:Sn}=xe,On=Math.round(vt*(ft/100)),Lt=dt==="small"?2:14,Ct=dt!=null?dt:[Lt,Nt],[Ut,cn]=Me(Ct,"step",{steps:vt,strokeWidth:Nt}),sn=Ut/vt,Nn=new Array(vt);for(let nt=0;nt<vt;nt++){const Bt=Array.isArray(Vt)?Vt[nt]:Vt;Nn[nt]=ee.createElement("div",{key:nt,className:re()(`${an}-steps-item`,{[`${an}-steps-item-active`]:nt<=On-1}),style:{backgroundColor:nt<=On-1?Bt:nn,width:sn,height:cn}})}return ee.createElement("div",{className:`${an}-steps-outer`},Nn,Sn)},Ie=te(93083),he=te(17313),de=te(83116),Ne=te(37613);const at=xe=>{const dt=xe?"100%":"-100%";return new Ie.Keyframes(`antProgress${xe?"RTL":"LTR"}Active`,{"0%":{transform:`translateX(${dt}) scaleX(0)`,opacity:.1},"20%":{transform:`translateX(${dt}) scaleX(0)`,opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}})},Se=xe=>{const{componentCls:dt,iconCls:vt}=xe;return{[dt]:Object.assign(Object.assign({},(0,he.Wf)(xe)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:xe.fontSize,marginInlineEnd:xe.marginXS,marginBottom:xe.marginXS},[`${dt}-outer`]:{display:"inline-block",width:"100%"},[`&${dt}-show-info`]:{[`${dt}-outer`]:{marginInlineEnd:`calc(-2em - ${xe.marginXS}px)`,paddingInlineEnd:`calc(2em + ${xe.paddingXS}px)`}},[`${dt}-inner`]:{position:"relative",display:"inline-block",width:"100%",overflow:"hidden",verticalAlign:"middle",backgroundColor:xe.remainingColor,borderRadius:xe.lineBorderRadius},[`${dt}-inner:not(${dt}-circle-gradient)`]:{[`${dt}-circle-path`]:{stroke:xe.defaultColor}},[`${dt}-success-bg, ${dt}-bg`]:{position:"relative",backgroundColor:xe.defaultColor,borderRadius:xe.lineBorderRadius,transition:`all ${xe.motionDurationSlow} ${xe.motionEaseInOutCirc}`},[`${dt}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:xe.colorSuccess},[`${dt}-text`]:{display:"inline-block",width:"2em",marginInlineStart:xe.marginXS,color:xe.colorText,lineHeight:1,whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[vt]:{fontSize:xe.fontSize}},[`&${dt}-status-active`]:{[`${dt}-bg::before`]:{position:"absolute",inset:0,backgroundColor:xe.colorBgContainer,borderRadius:xe.lineBorderRadius,opacity:0,animationName:at(),animationDuration:xe.progressActiveMotionDuration,animationTimingFunction:xe.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${dt}-rtl${dt}-status-active`]:{[`${dt}-bg::before`]:{animationName:at(!0)}},[`&${dt}-status-exception`]:{[`${dt}-bg`]:{backgroundColor:xe.colorError},[`${dt}-text`]:{color:xe.colorError}},[`&${dt}-status-exception ${dt}-inner:not(${dt}-circle-gradient)`]:{[`${dt}-circle-path`]:{stroke:xe.colorError}},[`&${dt}-status-success`]:{[`${dt}-bg`]:{backgroundColor:xe.colorSuccess},[`${dt}-text`]:{color:xe.colorSuccess}},[`&${dt}-status-success ${dt}-inner:not(${dt}-circle-gradient)`]:{[`${dt}-circle-path`]:{stroke:xe.colorSuccess}}})}},ve=xe=>{const{componentCls:dt,iconCls:vt}=xe;return{[dt]:{[`${dt}-circle-trail`]:{stroke:xe.remainingColor},[`&${dt}-circle ${dt}-inner`]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},[`&${dt}-circle ${dt}-text`]:{position:"absolute",insetBlockStart:"50%",insetInlineStart:0,width:"100%",margin:0,padding:0,color:xe.circleTextColor,fontSize:xe.circleTextFontSize,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[vt]:{fontSize:`${xe.fontSize/xe.fontSizeSM}em`}},[`${dt}-circle&-status-exception`]:{[`${dt}-text`]:{color:xe.colorError}},[`${dt}-circle&-status-success`]:{[`${dt}-text`]:{color:xe.colorSuccess}}},[`${dt}-inline-circle`]:{lineHeight:1,[`${dt}-inner`]:{verticalAlign:"bottom"}}}},et=xe=>{const{componentCls:dt}=xe;return{[dt]:{[`${dt}-steps`]:{display:"inline-block","&-outer":{display:"flex",flexDirection:"row",alignItems:"center"},"&-item":{flexShrink:0,minWidth:xe.progressStepMinWidth,marginInlineEnd:xe.progressStepMarginInlineEnd,backgroundColor:xe.remainingColor,transition:`all ${xe.motionDurationSlow}`,"&-active":{backgroundColor:xe.defaultColor}}}}}},De=xe=>{const{componentCls:dt,iconCls:vt}=xe;return{[dt]:{[`${dt}-small&-line, ${dt}-small&-line ${dt}-text ${vt}`]:{fontSize:xe.fontSizeSM}}}};var Ee=(0,de.Z)("Progress",xe=>{const dt=xe.marginXXS/2,vt=(0,Ne.TS)(xe,{progressStepMarginInlineEnd:dt,progressStepMinWidth:dt,progressActiveMotionDuration:"2.4s"});return[Se(vt),ve(vt),et(vt),De(vt)]},xe=>({circleTextColor:xe.colorText,defaultColor:xe.colorInfo,remainingColor:xe.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:"1em"})),_e=function(xe,dt){var vt={};for(var ft in xe)Object.prototype.hasOwnProperty.call(xe,ft)&&dt.indexOf(ft)<0&&(vt[ft]=xe[ft]);if(xe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Nt=0,ft=Object.getOwnPropertySymbols(xe);Nt<ft.length;Nt++)dt.indexOf(ft[Nt])<0&&Object.prototype.propertyIsEnumerable.call(xe,ft[Nt])&&(vt[ft[Nt]]=xe[ft[Nt]]);return vt};const Wt=null,ht=["normal","exception","active","success"];var Mt=ee.forwardRef((xe,dt)=>{const{prefixCls:vt,className:ft,rootClassName:Nt,steps:Vt,strokeColor:nn,percent:an=0,size:Sn="default",showInfo:On=!0,type:Lt="line",status:Ct,format:Ut,style:cn}=xe,sn=_e(xe,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style"]),Nn=ee.useMemo(()=>{var We,Re;const ct=Ye(xe);return parseInt(ct!==void 0?(We=ct!=null?ct:0)===null||We===void 0?void 0:We.toString():(Re=an!=null?an:0)===null||Re===void 0?void 0:Re.toString(),10)},[an,xe.success,xe.successPercent]),nt=ee.useMemo(()=>!ht.includes(Ct)&&Nn>=100?"success":Ct||"normal",[Ct,Nn]),{getPrefixCls:Bt,direction:Qt,progress:yn}=ee.useContext(Qe.E_),Pe=Bt("progress",vt),[Ve,st]=Ee(Pe),gt=ee.useMemo(()=>{if(!On)return null;const We=Ye(xe);let Re;const ct=Ut||(Ot=>`${Ot}%`),jt=Lt==="line";return Ut||nt!=="exception"&&nt!=="success"?Re=ct(Rt(an),Rt(We)):nt==="exception"?Re=jt?ee.createElement(Ge.Z,null):ee.createElement(Ce.Z,null):nt==="success"&&(Re=jt?ee.createElement(ie.Z,null):ee.createElement(Ae.Z,null)),ee.createElement("span",{className:`${Pe}-text`,title:typeof Re=="string"?Re:void 0},Re)},[On,an,Nn,nt,Lt,Pe,Ut]),xt=Array.isArray(nn)?nn[0]:nn,$t=typeof nn=="string"||Array.isArray(nn)?nn:void 0;let Ft;Lt==="line"?Ft=Vt?ee.createElement(Xe,Object.assign({},xe,{strokeColor:$t,prefixCls:Pe,steps:Vt}),gt):ee.createElement(St,Object.assign({},xe,{strokeColor:xt,prefixCls:Pe,direction:Qt}),gt):(Lt==="circle"||Lt==="dashboard")&&(Ft=ee.createElement(mt,Object.assign({},xe,{strokeColor:xt,prefixCls:Pe,progressStatus:nt}),gt));const ze=re()(Pe,`${Pe}-status-${nt}`,`${Pe}-${Lt==="dashboard"&&"circle"||Vt&&"steps"||Lt}`,{[`${Pe}-inline-circle`]:Lt==="circle"&&Me(Sn,"circle")[0]<=20,[`${Pe}-show-info`]:On,[`${Pe}-${Sn}`]:typeof Sn=="string",[`${Pe}-rtl`]:Qt==="rtl"},yn==null?void 0:yn.className,ft,Nt,st);return Ve(ee.createElement("div",Object.assign({ref:dt,style:Object.assign(Object.assign({},yn==null?void 0:yn.style),cn),className:ze,role:"progressbar","aria-valuenow":Nn},(0,Je.Z)(sn,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),Ft))}),Zt=Mt},13570:function(bt,It,te){"use strict";te.d(It,{Z:function(){return Rt}});var ee=te(16378),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"},Ge=Ae,Ce=te(7657),Fe=function(Dt,qt){return ie.createElement(Ce.Z,(0,ee.Z)({},Dt,{ref:qt,icon:Ge}))},re=ie.forwardRef(Fe),Je=re,Qe=te(92310),Ze=te.n(Qe),lt=te(78772),pt=te(10859),Te=te(61206),oe=te(18929),y=te(10228),a=te(26112);function b(Ye,Dt){var qt=Ye.disabled,Me=Ye.prefixCls,ke=Ye.character,Pt=Ye.characterRender,Gt=Ye.index,mt=Ye.count,Jt=Ye.value,Be=Ye.allowHalf,Xt=Ye.focused,pn=Ye.onHover,St=Ye.onClick,ut=function(ve){pn(ve,Gt)},Xe=function(ve){St(ve,Gt)},Ie=function(ve){ve.keyCode===y.Z.ENTER&&St(ve,Gt)},he=Gt+1,de=new Set([Me]);Jt===0&&Gt===0&&Xt?de.add("".concat(Me,"-focused")):Be&&Jt+.5>=he&&Jt<he?(de.add("".concat(Me,"-half")),de.add("".concat(Me,"-active")),Xt&&de.add("".concat(Me,"-focused"))):(he<=Jt?de.add("".concat(Me,"-full")):de.add("".concat(Me,"-zero")),he===Jt&&Xt&&de.add("".concat(Me,"-focused")));var Ne=typeof ke=="function"?ke(Ye):ke,at=ie.createElement("li",{className:Ze()(Array.from(de)),ref:Dt},ie.createElement("div",{onClick:qt?null:Xe,onKeyDown:qt?null:Ie,onMouseMove:qt?null:ut,role:"radio","aria-checked":Jt>Gt?"true":"false","aria-posinset":Gt+1,"aria-setsize":mt,tabIndex:qt?-1:0},ie.createElement("div",{className:"".concat(Me,"-first")},Ne),ie.createElement("div",{className:"".concat(Me,"-second")},Ne)));return Pt&&(at=Pt(at,Ye)),at}var E=ie.forwardRef(b);function x(){var Ye=ie.useRef({});function Dt(Me){return Ye.current[Me]}function qt(Me){return function(ke){Ye.current[Me]=ke}}return[Dt,qt]}function z(Ye){var Dt=Ye.pageXOffset,qt="scrollLeft";if(typeof Dt!="number"){var Me=Ye.document;Dt=Me.documentElement[qt],typeof Dt!="number"&&(Dt=Me.body[qt])}return Dt}function ne(Ye){var Dt,qt,Me=Ye.ownerDocument,ke=Me.body,Pt=Me&&Me.documentElement,Gt=Ye.getBoundingClientRect();return Dt=Gt.left,qt=Gt.top,Dt-=Pt.clientLeft||ke.clientLeft||0,qt-=Pt.clientTop||ke.clientTop||0,{left:Dt,top:qt}}function ae(Ye){var Dt=ne(Ye),qt=Ye.ownerDocument,Me=qt.defaultView||qt.parentWindow;return Dt.left+=z(Me),Dt.left}var le=["prefixCls","className","defaultValue","value","count","allowHalf","allowClear","character","characterRender","disabled","direction","tabIndex","autoFocus","onHoverChange","onChange","onFocus","onBlur","onKeyDown","onMouseLeave"];function se(Ye,Dt){var qt,Me=Ye.prefixCls,ke=Me===void 0?"rc-rate":Me,Pt=Ye.className,Gt=Ye.defaultValue,mt=Ye.value,Jt=Ye.count,Be=Jt===void 0?5:Jt,Xt=Ye.allowHalf,pn=Xt===void 0?!1:Xt,St=Ye.allowClear,ut=St===void 0?!0:St,Xe=Ye.character,Ie=Xe===void 0?"\u2605":Xe,he=Ye.characterRender,de=Ye.disabled,Ne=Ye.direction,at=Ne===void 0?"ltr":Ne,Se=Ye.tabIndex,ve=Se===void 0?0:Se,et=Ye.autoFocus,De=Ye.onHoverChange,Ee=Ye.onChange,_e=Ye.onFocus,Wt=Ye.onBlur,ht=Ye.onKeyDown,Tt=Ye.onMouseLeave,Mt=(0,Te.Z)(Ye,le),Zt=x(),xe=(0,pt.Z)(Zt,2),dt=xe[0],vt=xe[1],ft=ie.useRef(null),Nt=function(){if(!de){var Ot;(Ot=ft.current)===null||Ot===void 0||Ot.focus()}};ie.useImperativeHandle(Dt,function(){return{focus:Nt,blur:function(){if(!de){var Ot;(Ot=ft.current)===null||Ot===void 0||Ot.blur()}}}});var Vt=(0,oe.Z)(Gt||0,{value:mt}),nn=(0,pt.Z)(Vt,2),an=nn[0],Sn=nn[1],On=(0,oe.Z)(null),Lt=(0,pt.Z)(On,2),Ct=Lt[0],Ut=Lt[1],cn=function(Ot,vn){var fn=at==="rtl",en=Ot+1;if(pn){var xn=dt(Ot),Qn=ae(xn),on=xn.clientWidth;(fn&&vn-Qn>on/2||!fn&&vn-Qn<on/2)&&(en-=.5)}return en},sn=function(Ot){Sn(Ot),Ee==null||Ee(Ot)},Nn=ie.useState(!1),nt=(0,pt.Z)(Nn,2),Bt=nt[0],Qt=nt[1],yn=function(){Qt(!0),_e==null||_e()},Pe=function(){Qt(!1),Wt==null||Wt()},Ve=ie.useState(null),st=(0,pt.Z)(Ve,2),gt=st[0],xt=st[1],$t=function(Ot,vn){var fn=cn(vn,Ot.pageX);fn!==Ct&&(xt(fn),Ut(null)),De==null||De(fn)},Ft=function(Ot){de||(xt(null),Ut(null),De==null||De(void 0)),Ot&&(Tt==null||Tt(Ot))},ze=function(Ot,vn){var fn=cn(vn,Ot.pageX),en=!1;ut&&(en=fn===an),Ft(),sn(en?0:fn),Ut(en?fn:null)},We=function(Ot){var vn=Ot.keyCode,fn=at==="rtl",en=an;vn===y.Z.RIGHT&&en<Be&&!fn?(pn?en+=.5:en+=1,sn(en),Ot.preventDefault()):vn===y.Z.LEFT&&en>0&&!fn||vn===y.Z.RIGHT&&en>0&&fn?(pn?en-=.5:en-=1,sn(en),Ot.preventDefault()):vn===y.Z.LEFT&&en<Be&&fn&&(pn?en+=.5:en+=1,sn(en),Ot.preventDefault()),ht==null||ht(Ot)};ie.useEffect(function(){et&&!de&&Nt()},[]);var Re=new Array(Be).fill(0).map(function(jt,Ot){return ie.createElement(E,{ref:vt(Ot),index:Ot,count:Be,disabled:de,prefixCls:"".concat(ke,"-star"),allowHalf:pn,value:gt===null?an:gt,onClick:ze,onHover:$t,key:jt||Ot,character:Ie,characterRender:he,focused:Bt})}),ct=Ze()(ke,Pt,(qt={},(0,lt.Z)(qt,"".concat(ke,"-disabled"),de),(0,lt.Z)(qt,"".concat(ke,"-rtl"),at==="rtl"),qt));return ie.createElement("ul",(0,ee.Z)({className:ct,onMouseLeave:Ft,tabIndex:de?-1:ve,onFocus:de?null:yn,onBlur:de?null:Pe,onKeyDown:de?null:We,ref:ft,role:"radiogroup"},(0,a.Z)(Mt,{aria:!0,data:!0,attr:!0})),Re)}var ce=ie.forwardRef(se),be=ce,fe=te(36355),Oe=te(6848),ge=te(17313),it=te(83116),Le=te(37613);const Ke=Ye=>{const{componentCls:Dt}=Ye;return{[`${Dt}-star`]:{position:"relative",display:"inline-block",color:"inherit",cursor:"pointer","&:not(:last-child)":{marginInlineEnd:Ye.marginXS},"> div":{transition:`all ${Ye.motionDurationMid}, outline 0s`,"&:hover":{transform:Ye.starHoverScale},"&:focus":{outline:0},"&:focus-visible":{outline:`${Ye.lineWidth}px dashed ${Ye.starColor}`,transform:Ye.starHoverScale}},"&-first, &-second":{color:Ye.starBg,transition:`all ${Ye.motionDurationMid}`,userSelect:"none",[Ye.iconCls]:{verticalAlign:"middle"}},"&-first":{position:"absolute",top:0,insetInlineStart:0,width:"50%",height:"100%",overflow:"hidden",opacity:0},[`&-half ${Dt}-star-first, &-half ${Dt}-star-second`]:{opacity:1},[`&-half ${Dt}-star-first, &-full ${Dt}-star-second`]:{color:"inherit"}}}},ye=Ye=>({[`&-rtl${Ye.componentCls}`]:{direction:"rtl"}}),je=Ye=>{const{componentCls:Dt}=Ye;return{[Dt]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,ge.Wf)(Ye)),{display:"inline-block",margin:0,padding:0,color:Ye.starColor,fontSize:Ye.starSize,lineHeight:"unset",listStyle:"none",outline:"none",[`&-disabled${Dt} ${Dt}-star`]:{cursor:"default","> div:hover":{transform:"scale(1)"}}}),Ke(Ye)),{[`+ ${Dt}-text`]:{display:"inline-block",marginInlineStart:Ye.marginXS,fontSize:Ye.fontSize}}),ye(Ye))}};var qe=(0,it.Z)("Rate",Ye=>{const Dt=(0,Le.TS)(Ye,{});return[je(Dt)]},Ye=>({starColor:Ye.yellow6,starSize:Ye.controlHeightLG*.5,starHoverScale:"scale(1.1)",starBg:Ye.colorFillContent})),$e=function(Ye,Dt){var qt={};for(var Me in Ye)Object.prototype.hasOwnProperty.call(Ye,Me)&&Dt.indexOf(Me)<0&&(qt[Me]=Ye[Me]);if(Ye!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ke=0,Me=Object.getOwnPropertySymbols(Ye);ke<Me.length;ke++)Dt.indexOf(Me[ke])<0&&Object.prototype.propertyIsEnumerable.call(Ye,Me[ke])&&(qt[Me[ke]]=Ye[Me[ke]]);return qt},Rt=ie.forwardRef((Ye,Dt)=>{const{prefixCls:qt,className:Me,rootClassName:ke,style:Pt,tooltips:Gt,character:mt=ie.createElement(Je,null)}=Ye,Jt=$e(Ye,["prefixCls","className","rootClassName","style","tooltips","character"]),Be=(de,Ne)=>{let{index:at}=Ne;return Gt?ie.createElement(Oe.Z,{title:Gt[at]},de):de},{getPrefixCls:Xt,direction:pn,rate:St}=ie.useContext(fe.E_),ut=Xt("rate",qt),[Xe,Ie]=qe(ut),he=Object.assign(Object.assign({},St==null?void 0:St.style),Pt);return Xe(ie.createElement(be,Object.assign({ref:Dt,character:mt,characterRender:Be},Jt,{className:Ze()(Me,ke,Ie,St==null?void 0:St.className),style:he,prefixCls:ut,direction:pn})))})},61621:function(bt,It,te){"use strict";te.d(It,{Z:function(){return Ie}});var ee=te(92310),ie=te.n(ee),Ae=te(59301),Ge=te(36355),Ce=te(2738),re=he=>{const{prefixCls:de,className:Ne,style:at,size:Se,shape:ve}=he,et=ie()({[`${de}-lg`]:Se==="large",[`${de}-sm`]:Se==="small"}),De=ie()({[`${de}-circle`]:ve==="circle",[`${de}-square`]:ve==="square",[`${de}-round`]:ve==="round"}),Ee=Ae.useMemo(()=>typeof Se=="number"?{width:Se,height:Se,lineHeight:`${Se}px`}:{},[Se]);return Ae.createElement("span",{className:ie()(de,et,De,Ne),style:Object.assign(Object.assign({},Ee),at)})},Je=te(93083),Qe=te(83116),Ze=te(37613);const lt=new Je.Keyframes("ant-skeleton-loading",{"0%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),pt=he=>({height:he,lineHeight:`${he}px`}),Te=he=>Object.assign({width:he},pt(he)),oe=he=>({background:he.skeletonLoadingBackground,backgroundSize:"400% 100%",animationName:lt,animationDuration:he.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite"}),y=he=>Object.assign({width:he*5,minWidth:he*5},pt(he)),a=he=>{const{skeletonAvatarCls:de,gradientFromColor:Ne,controlHeight:at,controlHeightLG:Se,controlHeightSM:ve}=he;return{[`${de}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:Ne},Te(at)),[`${de}${de}-circle`]:{borderRadius:"50%"},[`${de}${de}-lg`]:Object.assign({},Te(Se)),[`${de}${de}-sm`]:Object.assign({},Te(ve))}},b=he=>{const{controlHeight:de,borderRadiusSM:Ne,skeletonInputCls:at,controlHeightLG:Se,controlHeightSM:ve,gradientFromColor:et}=he;return{[`${at}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:et,borderRadius:Ne},y(de)),[`${at}-lg`]:Object.assign({},y(Se)),[`${at}-sm`]:Object.assign({},y(ve))}},E=he=>Object.assign({width:he},pt(he)),x=he=>{const{skeletonImageCls:de,imageSizeBase:Ne,gradientFromColor:at,borderRadiusSM:Se}=he;return{[`${de}`]:Object.assign(Object.assign({display:"flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",background:at,borderRadius:Se},E(Ne*2)),{[`${de}-path`]:{fill:"#bfbfbf"},[`${de}-svg`]:Object.assign(Object.assign({},E(Ne)),{maxWidth:Ne*4,maxHeight:Ne*4}),[`${de}-svg${de}-svg-circle`]:{borderRadius:"50%"}}),[`${de}${de}-circle`]:{borderRadius:"50%"}}},z=(he,de,Ne)=>{const{skeletonButtonCls:at}=he;return{[`${Ne}${at}-circle`]:{width:de,minWidth:de,borderRadius:"50%"},[`${Ne}${at}-round`]:{borderRadius:de}}},ne=he=>Object.assign({width:he*2,minWidth:he*2},pt(he)),ae=he=>{const{borderRadiusSM:de,skeletonButtonCls:Ne,controlHeight:at,controlHeightLG:Se,controlHeightSM:ve,gradientFromColor:et}=he;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[`${Ne}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:et,borderRadius:de,width:at*2,minWidth:at*2},ne(at))},z(he,at,Ne)),{[`${Ne}-lg`]:Object.assign({},ne(Se))}),z(he,Se,`${Ne}-lg`)),{[`${Ne}-sm`]:Object.assign({},ne(ve))}),z(he,ve,`${Ne}-sm`))},le=he=>{const{componentCls:de,skeletonAvatarCls:Ne,skeletonTitleCls:at,skeletonParagraphCls:Se,skeletonButtonCls:ve,skeletonInputCls:et,skeletonImageCls:De,controlHeight:Ee,controlHeightLG:_e,controlHeightSM:Wt,gradientFromColor:ht,padding:Tt,marginSM:Mt,borderRadius:Zt,titleHeight:xe,blockRadius:dt,paragraphLiHeight:vt,controlHeightXS:ft,paragraphMarginTop:Nt}=he;return{[`${de}`]:{display:"table",width:"100%",[`${de}-header`]:{display:"table-cell",paddingInlineEnd:Tt,verticalAlign:"top",[`${Ne}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:ht},Te(Ee)),[`${Ne}-circle`]:{borderRadius:"50%"},[`${Ne}-lg`]:Object.assign({},Te(_e)),[`${Ne}-sm`]:Object.assign({},Te(Wt))},[`${de}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[`${at}`]:{width:"100%",height:xe,background:ht,borderRadius:dt,[`+ ${Se}`]:{marginBlockStart:Wt}},[`${Se}`]:{padding:0,"> li":{width:"100%",height:vt,listStyle:"none",background:ht,borderRadius:dt,"+ li":{marginBlockStart:ft}}},[`${Se}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${de}-content`]:{[`${at}, ${Se} > li`]:{borderRadius:Zt}}},[`${de}-with-avatar ${de}-content`]:{[`${at}`]:{marginBlockStart:Mt,[`+ ${Se}`]:{marginBlockStart:Nt}}},[`${de}${de}-element`]:Object.assign(Object.assign(Object.assign(Object.assign({display:"inline-block",width:"auto"},ae(he)),a(he)),b(he)),x(he)),[`${de}${de}-block`]:{width:"100%",[`${ve}`]:{width:"100%"},[`${et}`]:{width:"100%"}},[`${de}${de}-active`]:{[`
${at},
${Se} > li,
${Ne},
${ve},
${et},
${De}
`]:Object.assign({},oe(he))}}};var se=(0,Qe.Z)("Skeleton",he=>{const{componentCls:de}=he,Ne=(0,Ze.TS)(he,{skeletonAvatarCls:`${de}-avatar`,skeletonTitleCls:`${de}-title`,skeletonParagraphCls:`${de}-paragraph`,skeletonButtonCls:`${de}-button`,skeletonInputCls:`${de}-input`,skeletonImageCls:`${de}-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(Ne)]},he=>{const{colorFillContent:de,colorFill:Ne}=he,at=de,Se=Ne;return{color:at,colorGradientEnd:Se,gradientFromColor:at,gradientToColor:Se,titleHeight:he.controlHeight/2,blockRadius:he.borderRadiusSM,paragraphMarginTop:he.marginLG+he.marginXXS,paragraphLiHeight:he.controlHeight/2}},{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]}),be=he=>{const{prefixCls:de,className:Ne,rootClassName:at,active:Se,shape:ve="circle",size:et="default"}=he,{getPrefixCls:De}=Ae.useContext(Ge.E_),Ee=De("skeleton",de),[_e,Wt]=se(Ee),ht=(0,Ce.Z)(he,["prefixCls","className"]),Tt=ie()(Ee,`${Ee}-element`,{[`${Ee}-active`]:Se},Ne,at,Wt);return _e(Ae.createElement("div",{className:Tt},Ae.createElement(re,Object.assign({prefixCls:`${Ee}-avatar`,shape:ve,size:et},ht))))},Oe=he=>{const{prefixCls:de,className:Ne,rootClassName:at,active:Se,block:ve=!1,size:et="default"}=he,{getPrefixCls:De}=Ae.useContext(Ge.E_),Ee=De("skeleton",de),[_e,Wt]=se(Ee),ht=(0,Ce.Z)(he,["prefixCls"]),Tt=ie()(Ee,`${Ee}-element`,{[`${Ee}-active`]:Se,[`${Ee}-block`]:ve},Ne,at,Wt);return _e(Ae.createElement("div",{className:Tt},Ae.createElement(re,Object.assign({prefixCls:`${Ee}-button`,size:et},ht))))};const ge="M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z";var Le=he=>{const{prefixCls:de,className:Ne,rootClassName:at,style:Se,active:ve}=he,{getPrefixCls:et}=Ae.useContext(Ge.E_),De=et("skeleton",de),[Ee,_e]=se(De),Wt=ie()(De,`${De}-element`,{[`${De}-active`]:ve},Ne,at,_e);return Ee(Ae.createElement("div",{className:Wt},Ae.createElement("div",{className:ie()(`${De}-image`,Ne),style:Se},Ae.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${De}-image-svg`},Ae.createElement("path",{d:ge,className:`${De}-image-path`})))))},ye=he=>{const{prefixCls:de,className:Ne,rootClassName:at,active:Se,block:ve,size:et="default"}=he,{getPrefixCls:De}=Ae.useContext(Ge.E_),Ee=De("skeleton",de),[_e,Wt]=se(Ee),ht=(0,Ce.Z)(he,["prefixCls"]),Tt=ie()(Ee,`${Ee}-element`,{[`${Ee}-active`]:Se,[`${Ee}-block`]:ve},Ne,at,Wt);return _e(Ae.createElement("div",{className:Tt},Ae.createElement(re,Object.assign({prefixCls:`${Ee}-input`,size:et},ht))))},je=te(16378),qe={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"},$e=qe,Ue=te(7657),Rt=function(de,Ne){return Ae.createElement(Ue.Z,(0,je.Z)({},de,{ref:Ne,icon:$e}))},Ye=Ae.forwardRef(Rt),Dt=Ye,Me=he=>{const{prefixCls:de,className:Ne,rootClassName:at,style:Se,active:ve,children:et}=he,{getPrefixCls:De}=Ae.useContext(Ge.E_),Ee=De("skeleton",de),[_e,Wt]=se(Ee),ht=ie()(Ee,`${Ee}-element`,{[`${Ee}-active`]:ve},Wt,Ne,at),Tt=et!=null?et:Ae.createElement(Dt,null);return _e(Ae.createElement("div",{className:ht},Ae.createElement("div",{className:ie()(`${Ee}-image`,Ne),style:Se},Tt)))},ke=te(65093),Gt=he=>{const de=De=>{const{width:Ee,rows:_e=2}=he;if(Array.isArray(Ee))return Ee[De];if(_e-1===De)return Ee},{prefixCls:Ne,className:at,style:Se,rows:ve}=he,et=(0,ke.Z)(Array(ve)).map((De,Ee)=>Ae.createElement("li",{key:Ee,style:{width:de(Ee)}}));return Ae.createElement("ul",{className:ie()(Ne,at),style:Se},et)},Jt=he=>{let{prefixCls:de,className:Ne,width:at,style:Se}=he;return Ae.createElement("h3",{className:ie()(de,Ne),style:Object.assign({width:at},Se)})};function Be(he){return he&&typeof he=="object"?he:{}}function Xt(he,de){return he&&!de?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function pn(he,de){return!he&&de?{width:"38%"}:he&&de?{width:"50%"}:{}}function St(he,de){const Ne={};return(!he||!de)&&(Ne.width="61%"),!he&&de?Ne.rows=3:Ne.rows=2,Ne}const ut=he=>{const{prefixCls:de,loading:Ne,className:at,rootClassName:Se,style:ve,children:et,avatar:De=!1,title:Ee=!0,paragraph:_e=!0,active:Wt,round:ht}=he,{getPrefixCls:Tt,direction:Mt,skeleton:Zt}=Ae.useContext(Ge.E_),xe=Tt("skeleton",de),[dt,vt]=se(xe);if(Ne||!("loading"in he)){const ft=!!De,Nt=!!Ee,Vt=!!_e;let nn;if(ft){const On=Object.assign(Object.assign({prefixCls:`${xe}-avatar`},Xt(Nt,Vt)),Be(De));nn=Ae.createElement("div",{className:`${xe}-header`},Ae.createElement(re,Object.assign({},On)))}let an;if(Nt||Vt){let On;if(Nt){const Ct=Object.assign(Object.assign({prefixCls:`${xe}-title`},pn(ft,Vt)),Be(Ee));On=Ae.createElement(Jt,Object.assign({},Ct))}let Lt;if(Vt){const Ct=Object.assign(Object.assign({prefixCls:`${xe}-paragraph`},St(ft,Nt)),Be(_e));Lt=Ae.createElement(Gt,Object.assign({},Ct))}an=Ae.createElement("div",{className:`${xe}-content`},On,Lt)}const Sn=ie()(xe,{[`${xe}-with-avatar`]:ft,[`${xe}-active`]:Wt,[`${xe}-rtl`]:Mt==="rtl",[`${xe}-round`]:ht},Zt==null?void 0:Zt.className,at,Se,vt);return dt(Ae.createElement("div",{className:Sn,style:Object.assign(Object.assign({},Zt==null?void 0:Zt.style),ve)},nn,an))}return typeof et!="undefined"?et:null};ut.Button=Oe,ut.Avatar=be,ut.Input=ye,ut.Image=Le,ut.Node=Me;var Xe=ut,Ie=Xe},81327:function(bt,It,te){"use strict";te.d(It,{Z:function(){return b}});var ee=te(59301),ie=te(92310),Ae=te.n(ie),Ge=te(11592),Ce=te(36355),Fe=te(33234);const re=ee.createContext({latestIndex:0}),Je=re.Provider;var Ze=E=>{let{className:x,index:z,children:ne,split:ae,style:le}=E;const{latestIndex:se}=ee.useContext(re);return ne==null?null:ee.createElement(ee.Fragment,null,ee.createElement("div",{className:x,style:le},ne),z<se&&ae&&ee.createElement("span",{className:`${x}-split`},ae))},lt=te(2856);function pt(E){return["small","middle","large"].includes(E)}function Te(E){return E?typeof E=="number"&&!Number.isNaN(E):!1}var oe=function(E,x){var z={};for(var ne in E)Object.prototype.hasOwnProperty.call(E,ne)&&x.indexOf(ne)<0&&(z[ne]=E[ne]);if(E!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ae=0,ne=Object.getOwnPropertySymbols(E);ae<ne.length;ae++)x.indexOf(ne[ae])<0&&Object.prototype.propertyIsEnumerable.call(E,ne[ae])&&(z[ne[ae]]=E[ne[ae]]);return z};const a=ee.forwardRef((E,x)=>{var z,ne;const{getPrefixCls:ae,space:le,direction:se}=ee.useContext(Ce.E_),{size:ce=(le==null?void 0:le.size)||"small",align:be,className:fe,rootClassName:Oe,children:ge,direction:it="horizontal",prefixCls:Le,split:Ke,style:ye,wrap:je=!1,classNames:qe,styles:$e}=E,Ue=oe(E,["size","align","className","rootClassName","children","direction","prefixCls","split","style","wrap","classNames","styles"]),[Rt,Ye]=Array.isArray(ce)?ce:[ce,ce],Dt=pt(Ye),qt=pt(Rt),Me=Te(Ye),ke=Te(Rt),Pt=(0,Ge.Z)(ge,{keepEmpty:!0}),Gt=be===void 0&&it==="horizontal"?"center":be,mt=ae("space",Le),[Jt,Be]=(0,lt.Z)(mt),Xt=Ae()(mt,le==null?void 0:le.className,Be,`${mt}-${it}`,{[`${mt}-rtl`]:se==="rtl",[`${mt}-align-${Gt}`]:Gt,[`${mt}-gap-row-${Ye}`]:Dt,[`${mt}-gap-col-${Rt}`]:qt},fe,Oe),pn=Ae()(`${mt}-item`,(z=qe==null?void 0:qe.item)!==null&&z!==void 0?z:(ne=le==null?void 0:le.classNames)===null||ne===void 0?void 0:ne.item);let St=0;const ut=Pt.map((he,de)=>{var Ne,at;he!=null&&(St=de);const Se=he&&he.key||`${pn}-${de}`;return ee.createElement(Ze,{className:pn,key:Se,index:de,split:Ke,style:(Ne=$e==null?void 0:$e.item)!==null&&Ne!==void 0?Ne:(at=le==null?void 0:le.styles)===null||at===void 0?void 0:at.item},he)}),Xe=ee.useMemo(()=>({latestIndex:St}),[St]);if(Pt.length===0)return null;const Ie={};return je&&(Ie.flexWrap="wrap"),!qt&&ke&&(Ie.columnGap=Rt),!Dt&&Me&&(Ie.rowGap=Ye),Jt(ee.createElement("div",Object.assign({ref:x,className:Xt,style:Object.assign(Object.assign(Object.assign({},Ie),le==null?void 0:le.style),ye)},Ue),ee.createElement(Je,{value:Xe},ut)))});a.Compact=Fe.ZP;var b=a},31797:function(bt,It,te){"use strict";te.d(It,{default:function(){return se}});var ee=te(59301),ie=te(56762),Ae=te(92343),Ge=te(92310),Ce=te.n(Ge),Fe=te(36355),re=te(61621),Qe=ce=>{const{value:be,formatter:fe,precision:Oe,decimalSeparator:ge,groupSeparator:it="",prefixCls:Le}=ce;let Ke;if(typeof fe=="function")Ke=fe(be);else{const ye=String(be),je=ye.match(/^(-?)(\d*)(\.(\d+))?$/);if(!je||ye==="-")Ke=ye;else{const qe=je[1];let $e=je[2]||"0",Ue=je[4]||"";$e=$e.replace(/\B(?=(\d{3})+(?!\d))/g,it),typeof Oe=="number"&&(Ue=Ue.padEnd(Oe,"0").slice(0,Oe>0?Oe:0)),Ue&&(Ue=`${ge}${Ue}`),Ke=[ee.createElement("span",{key:"int",className:`${Le}-content-value-int`},qe,$e),Ue&&ee.createElement("span",{key:"decimal",className:`${Le}-content-value-decimal`},Ue)]}}return ee.createElement("span",{className:`${Le}-content-value`},Ke)},Ze=te(17313),lt=te(83116),pt=te(37613);const Te=ce=>{const{componentCls:be,marginXXS:fe,padding:Oe,colorTextDescription:ge,titleFontSize:it,colorTextHeading:Le,contentFontSize:Ke,fontFamily:ye}=ce;return{[`${be}`]:Object.assign(Object.assign({},(0,Ze.Wf)(ce)),{[`${be}-title`]:{marginBottom:fe,color:ge,fontSize:it},[`${be}-skeleton`]:{paddingTop:Oe},[`${be}-content`]:{color:Le,fontSize:Ke,fontFamily:ye,[`${be}-content-value`]:{display:"inline-block",direction:"ltr"},[`${be}-content-prefix, ${be}-content-suffix`]:{display:"inline-block"},[`${be}-content-prefix`]:{marginInlineEnd:fe},[`${be}-content-suffix`]:{marginInlineStart:fe}}})}};var oe=(0,lt.Z)("Statistic",ce=>{const be=(0,pt.TS)(ce,{});return[Te(be)]},ce=>{const{fontSizeHeading3:be,fontSize:fe}=ce;return{titleFontSize:fe,contentFontSize:be}}),a=ce=>{const{prefixCls:be,className:fe,rootClassName:Oe,style:ge,valueStyle:it,value:Le=0,title:Ke,valueRender:ye,prefix:je,suffix:qe,loading:$e=!1,onMouseEnter:Ue,onMouseLeave:Rt,decimalSeparator:Ye=".",groupSeparator:Dt=","}=ce,{getPrefixCls:qt,direction:Me,statistic:ke}=ee.useContext(Fe.E_),Pt=qt("statistic",be),[Gt,mt]=oe(Pt),Jt=ee.createElement(Qe,Object.assign({decimalSeparator:Ye,groupSeparator:Dt,prefixCls:Pt},ce,{value:Le})),Be=Ce()(Pt,{[`${Pt}-rtl`]:Me==="rtl"},ke==null?void 0:ke.className,fe,Oe,mt);return Gt(ee.createElement("div",{className:Be,style:Object.assign(Object.assign({},ke==null?void 0:ke.style),ge),onMouseEnter:Ue,onMouseLeave:Rt},Ke&&ee.createElement("div",{className:`${Pt}-title`},Ke),ee.createElement(re.Z,{paragraph:!1,loading:$e,className:`${Pt}-skeleton`},ee.createElement("div",{style:it,className:`${Pt}-content`},je&&ee.createElement("span",{className:`${Pt}-content-prefix`},je),ye?ye(Jt):Jt,qe&&ee.createElement("span",{className:`${Pt}-content-suffix`},qe)))))};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(ce,be){let fe=ce;const Oe=/\[[^\]]*]/g,ge=(be.match(Oe)||[]).map(ye=>ye.slice(1,-1)),it=be.replace(Oe,"[]"),Le=b.reduce((ye,je)=>{let[qe,$e]=je;if(ye.includes(qe)){const Ue=Math.floor(fe/$e);return fe-=Ue*$e,ye.replace(new RegExp(`${qe}+`,"g"),Rt=>{const Ye=Rt.length;return Ue.toString().padStart(Ye,"0")})}return ye},it);let Ke=0;return Le.replace(Oe,()=>{const ye=ge[Ke];return Ke+=1,ye})}function x(ce,be){const{format:fe=""}=be,Oe=new Date(ce).getTime(),ge=Date.now(),it=Math.max(Oe-ge,0);return E(it,fe)}const z=1e3/30;function ne(ce){return new Date(ce).getTime()}const ae=ce=>{const{value:be,format:fe="HH:mm:ss",onChange:Oe,onFinish:ge}=ce,it=(0,ie.Z)(),Le=ee.useRef(null),Ke=()=>{ge==null||ge(),Le.current&&(clearInterval(Le.current),Le.current=null)},ye=()=>{const $e=ne(be);$e>=Date.now()&&(Le.current=setInterval(()=>{it(),Oe==null||Oe($e-Date.now()),$e<Date.now()&&Ke()},z))};ee.useEffect(()=>(ye(),()=>{Le.current&&(clearInterval(Le.current),Le.current=null)}),[be]);const je=($e,Ue)=>x($e,Object.assign(Object.assign({},Ue),{format:fe})),qe=$e=>(0,Ae.Tm)($e,{title:void 0});return ee.createElement(a,Object.assign({},ce,{valueRender:qe,formatter:je}))};var le=ee.memo(ae);a.Countdown=le;var se=a},15969:function(bt,It,te){"use strict";te.d(It,{N:function(){return ee}});const ee=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(bt,It,te){"use strict";te.d(It,{default:function(){return Al}});var ee={},ie="rc-table-internal-hook",Ae=te(10859),Ge=te(6089),Ce=te(34280),Fe=te(13697),re=te(59301),Je=te(4676);function Qe(ue){var me=re.createContext(void 0),we=function(ot){var rt=ot.value,At=ot.children,wt=re.useRef(rt);wt.current=rt;var Et=re.useState(function(){return{getValue:function(){return wt.current},listeners:new Set}}),Yt=(0,Ae.Z)(Et,1),gn=Yt[0];return(0,Ce.Z)(function(){(0,Je.unstable_batchedUpdates)(function(){gn.listeners.forEach(function(tn){tn(rt)})})},[rt]),re.createElement(me.Provider,{value:gn},At)};return{Context:me,Provider:we,defaultValue:ue}}function Ze(ue,me){var we=(0,Ge.Z)(typeof me=="function"?me:function(tn){if(me===void 0)return tn;if(!Array.isArray(me))return tn[me];var wn={};return me.forEach(function(Bn){wn[Bn]=tn[Bn]}),wn}),He=re.useContext(ue==null?void 0:ue.Context),ot=He||{},rt=ot.listeners,At=ot.getValue,wt=re.useRef();wt.current=we(He?At():ue==null?void 0:ue.defaultValue);var Et=re.useState({}),Yt=(0,Ae.Z)(Et,2),gn=Yt[1];return(0,Ce.Z)(function(){if(!He)return;function tn(wn){var Bn=we(wn);(0,Fe.Z)(wt.current,Bn,!0)||gn({})}return rt.add(tn),function(){rt.delete(tn)}},[He]),wt.current}var lt=te(16378),pt=te(8654);function Te(){var ue=re.createContext(null);function me(){return re.useContext(ue)}function we(ot,rt){var At=(0,pt.Yr)(ot),wt=function(Yt,gn){var tn=At?{ref:gn}:{},wn=re.useRef(0),Bn=re.useRef(Yt),An=me();return An!==null?re.createElement(ot,(0,lt.Z)({},Yt,tn)):((!rt||rt(Bn.current,Yt))&&(wn.current+=1),Bn.current=Yt,re.createElement(ue.Provider,{value:wn.current},re.createElement(ot,(0,lt.Z)({},Yt,tn))))};return At?re.forwardRef(wt):wt}function He(ot,rt){var At=(0,pt.Yr)(ot),wt=function(Yt,gn){var tn=At?{ref:gn}:{};return me(),re.createElement(ot,(0,lt.Z)({},Yt,tn))};return At?re.memo(re.forwardRef(wt),rt):re.memo(wt,rt)}return{makeImmutable:we,responseImmutable:He,useImmutableMark:me}}var oe=Te(),y=oe.makeImmutable,a=oe.responseImmutable,b=oe.useImmutableMark,E=Te(),x=E.makeImmutable,z=E.responseImmutable,ne=E.useImmutableMark,ae=Qe(),le=ae;function se(ue,me){var we=re.useRef(0);we.current+=1;var He=re.useRef(ue),ot=[];Object.keys(ue||{}).map(function(At){var wt;(ue==null?void 0:ue[At])!==((wt=He.current)===null||wt===void 0?void 0:wt[At])&&ot.push(At)}),He.current=ue;var rt=re.useRef([]);return ot.length&&(rt.current=ot),re.useDebugValue(we.current),re.useDebugValue(rt.current.join(", ")),me&&console.log("".concat(me,":"),we.current,rt.current),we.current}var ce=null,be=re.memo(function(){var ue=se();return re.createElement("h1",null,"Render Times: ",ue)});be.displayName="RenderBlock";var fe=te(42066),Oe=te(35227),ge=te(78772),it=te(92310),Le=te.n(it),Ke=te(80547),ye=te(97938),je=te(48736),qe=re.createContext({renderWithProps:!1}),$e=qe,Ue="RC_TABLE_KEY";function Rt(ue){return ue==null?[]:Array.isArray(ue)?ue:[ue]}function Ye(ue){var me=[],we={};return ue.forEach(function(He){for(var ot=He||{},rt=ot.key,At=ot.dataIndex,wt=rt||Rt(At).join("-")||Ue;we[wt];)wt="".concat(wt,"_next");we[wt]=!0,me.push(wt)}),me}function Dt(ue){return ue!=null}function qt(ue){return ue&&(0,fe.Z)(ue)==="object"&&!Array.isArray(ue)&&!re.isValidElement(ue)}function Me(ue,me,we,He,ot,rt){var At=re.useContext($e),wt=ne(),Et=(0,Ke.Z)(function(){if(Dt(He))return[He];var Yt=me==null||me===""?[]:Array.isArray(me)?me:[me],gn=(0,ye.Z)(ue,Yt),tn=gn,wn=void 0;if(ot){var Bn=ot(gn,ue,we);qt(Bn)?(tn=Bn.children,wn=Bn.props,At.renderWithProps=!0):tn=Bn}return[tn,wn]},[wt,ue,He,me,ot,we],function(Yt,gn){if(rt){var tn=(0,Ae.Z)(Yt,2),wn=tn[1],Bn=(0,Ae.Z)(gn,2),An=Bn[1];return rt(An,wn)}return At.renderWithProps?!0:!(0,Fe.Z)(Yt,gn,!0)});return Et}function ke(ue,me,we,He){var ot=ue+me-1;return ue<=He&&ot>=we}function Pt(ue,me){return Ze(le,function(we){var He=ke(ue,me||1,we.hoverStartRow,we.hoverEndRow);return[He,we.onHover]})}var Gt=function(me){var we=me.ellipsis,He=me.rowType,ot=me.children,rt,At=we===!0?{showTitle:!0}:we;return At&&(At.showTitle||He==="header")&&(typeof ot=="string"||typeof ot=="number"?rt=ot.toString():re.isValidElement(ot)&&typeof ot.props.children=="string"&&(rt=ot.props.children)),rt};function mt(ue){var me,we,He,ot,rt,At,wt,Et,Yt=ue.component,gn=ue.children,tn=ue.ellipsis,wn=ue.scope,Bn=ue.prefixCls,An=ue.className,Gn=ue.align,kn=ue.record,Kn=ue.render,Zn=ue.dataIndex,Yn=ue.renderIndex,fa=ue.shouldCellUpdate,va=ue.index,la=ue.rowType,La=ue.colSpan,Ra=ue.rowSpan,ea=ue.fixLeft,sa=ue.fixRight,ta=ue.firstFixLeft,Jn=ue.lastFixLeft,ra=ue.firstFixRight,Fa=ue.lastFixRight,Ua=ue.appendNode,Ia=ue.additionalProps,Sa=Ia===void 0?{}:Ia,Va=ue.isSticky,Ja="".concat(Bn,"-cell"),ho=Ze(le,["supportSticky","allColumnsFixedLeft"]),no=ho.supportSticky,Bo=ho.allColumnsFixedLeft,Ao=Me(kn,Zn,Yn,gn,Kn,fa),Ta=(0,Ae.Z)(Ao,2),Lo=Ta[0],oo=Ta[1],Eo={},yo=typeof ea=="number"&&no,Xo=typeof sa=="number"&&no;yo&&(Eo.position="sticky",Eo.left=ea),Xo&&(Eo.position="sticky",Eo.right=sa);var ba=(me=(we=(He=oo==null?void 0:oo.colSpan)!==null&&He!==void 0?He:Sa.colSpan)!==null&&we!==void 0?we:La)!==null&&me!==void 0?me:1,Ea=(ot=(rt=(At=oo==null?void 0:oo.rowSpan)!==null&&At!==void 0?At:Sa.rowSpan)!==null&&rt!==void 0?rt:Ra)!==null&&ot!==void 0?ot:1,Pa=Pt(va,Ea),ga=(0,Ae.Z)(Pa,2),ro=ga[0],ma=ga[1],Oa=function(Oo){var $o;kn&&ma(va,va+Ea-1),Sa==null||($o=Sa.onMouseEnter)===null||$o===void 0||$o.call(Sa,Oo)},_a=function(Oo){var $o;kn&&ma(-1,-1),Sa==null||($o=Sa.onMouseLeave)===null||$o===void 0||$o.call(Sa,Oo)};if(ba===0||Ea===0)return null;var Ya=(wt=Sa.title)!==null&&wt!==void 0?wt:Gt({rowType:la,ellipsis:tn,children:Lo}),Ko=Le()(Ja,An,(Et={},(0,ge.Z)(Et,"".concat(Ja,"-fix-left"),yo&&no),(0,ge.Z)(Et,"".concat(Ja,"-fix-left-first"),ta&&no),(0,ge.Z)(Et,"".concat(Ja,"-fix-left-last"),Jn&&no),(0,ge.Z)(Et,"".concat(Ja,"-fix-left-all"),Jn&&Bo&&no),(0,ge.Z)(Et,"".concat(Ja,"-fix-right"),Xo&&no),(0,ge.Z)(Et,"".concat(Ja,"-fix-right-first"),ra&&no),(0,ge.Z)(Et,"".concat(Ja,"-fix-right-last"),Fa&&no),(0,ge.Z)(Et,"".concat(Ja,"-ellipsis"),tn),(0,ge.Z)(Et,"".concat(Ja,"-with-append"),Ua),(0,ge.Z)(Et,"".concat(Ja,"-fix-sticky"),(yo||Xo)&&Va&&no),(0,ge.Z)(Et,"".concat(Ja,"-row-hover"),!oo&&ro),Et),Sa.className,oo==null?void 0:oo.className),Zo={};Gn&&(Zo.textAlign=Gn);var lr=(0,Oe.Z)((0,Oe.Z)((0,Oe.Z)((0,Oe.Z)({},Eo),Sa.style),Zo),oo==null?void 0:oo.style),Do=Lo;return(0,fe.Z)(Do)==="object"&&!Array.isArray(Do)&&!re.isValidElement(Do)&&(Do=null),tn&&(Jn||ra)&&(Do=re.createElement("span",{className:"".concat(Ja,"-content")},Do)),re.createElement(Yt,(0,lt.Z)({},oo,Sa,{className:Ko,style:lr,title:Ya,scope:wn,onMouseEnter:Oa,onMouseLeave:_a,colSpan:ba!==1?ba:null,rowSpan:Ea!==1?Ea:null}),Ua,Do)}var Jt=re.memo(mt);function Be(ue,me,we,He,ot,rt){var At=we[ue]||{},wt=we[me]||{},Et,Yt;At.fixed==="left"?Et=He.left[ot==="rtl"?me:ue]:wt.fixed==="right"&&(Yt=He.right[ot==="rtl"?ue:me]);var gn=!1,tn=!1,wn=!1,Bn=!1,An=we[me+1],Gn=we[ue-1],kn=!(rt!=null&&rt.children);if(ot==="rtl"){if(Et!==void 0){var Kn=Gn&&Gn.fixed==="left";Bn=!Kn&&kn}else if(Yt!==void 0){var Zn=An&&An.fixed==="right";wn=!Zn&&kn}}else if(Et!==void 0){var Yn=An&&An.fixed==="left";gn=!Yn&&kn}else if(Yt!==void 0){var fa=Gn&&Gn.fixed==="right";tn=!fa&&kn}return{fixLeft:Et,fixRight:Yt,lastFixLeft:gn,firstFixRight:tn,lastFixRight:wn,firstFixLeft:Bn,isSticky:He.isSticky}}var Xt=re.createContext({}),pn=Xt;function St(ue){var me=ue.className,we=ue.index,He=ue.children,ot=ue.colSpan,rt=ot===void 0?1:ot,At=ue.rowSpan,wt=ue.align,Et=Ze(le,["prefixCls","direction"]),Yt=Et.prefixCls,gn=Et.direction,tn=re.useContext(pn),wn=tn.scrollColumnIndex,Bn=tn.stickyOffsets,An=tn.flattenColumns,Gn=tn.columns,kn=we+rt-1,Kn=kn+1===wn?rt+1:rt,Zn=Be(we,we+Kn-1,An,Bn,gn,Gn==null?void 0:Gn[we]);return re.createElement(Jt,(0,lt.Z)({className:me,index:we,component:"td",prefixCls:Yt,record:null,dataIndex:null,align:wt,colSpan:Kn,rowSpan:At,render:function(){return He}},Zn))}var ut=te(61206),Xe=["children"];function Ie(ue){var me=ue.children,we=(0,ut.Z)(ue,Xe);return re.createElement("tr",we,me)}function he(ue){var me=ue.children;return me}he.Row=Ie,he.Cell=St;var de=he;function Ne(ue){var me=ue.children,we=ue.stickyOffsets,He=ue.flattenColumns,ot=ue.columns,rt=Ze(le,"prefixCls"),At=He.length-1,wt=He[At],Et=re.useMemo(function(){return{stickyOffsets:we,flattenColumns:He,scrollColumnIndex:wt!=null&&wt.scrollbar?At:null,columns:ot}},[wt,He,At,we,ot]);return re.createElement(pn.Provider,{value:Et},re.createElement("tfoot",{className:"".concat(rt,"-summary")},me))}var at=z(Ne),Se=de,ve=te(70425),et=te(29301),De=te(29194),Ee=te(24514),_e=te(75152),Wt=te(26112);function ht(ue,me,we,He,ot,rt,At){ue.push({record:me,indent:we,index:At});var wt=rt(me),Et=ot==null?void 0:ot.has(wt);if(me&&Array.isArray(me[He])&&Et)for(var Yt=0;Yt<me[He].length;Yt+=1)ht(ue,me[He][Yt],we+1,He,ot,rt,Yt)}function Tt(ue,me,we,He){var ot=re.useMemo(function(){if(we!=null&&we.size){for(var rt=[],At=0;At<(ue==null?void 0:ue.length);At+=1){var wt=ue[At];ht(rt,wt,0,me,we,He,At)}return rt}return ue==null?void 0:ue.map(function(Et,Yt){return{record:Et,indent:0,index:Yt}})},[ue,me,we,He]);return ot}function Mt(ue){var me=ue.prefixCls,we=ue.children,He=ue.component,ot=ue.cellComponent,rt=ue.className,At=ue.expanded,wt=ue.colSpan,Et=ue.isEmpty,Yt=Ze(le,["scrollbarSize","fixHeader","fixColumn","componentWidth","horizonScroll"]),gn=Yt.scrollbarSize,tn=Yt.fixHeader,wn=Yt.fixColumn,Bn=Yt.componentWidth,An=Yt.horizonScroll,Gn=we;return(Et?An&&Bn:wn)&&(Gn=re.createElement("div",{style:{width:Bn-(tn?gn:0),position:"sticky",left:0,overflow:"hidden"},className:"".concat(me,"-expanded-row-fixed")},Gn)),re.createElement(He,{className:rt,style:{display:At?null:"none"}},re.createElement(Jt,{component:ot,prefixCls:me,colSpan:wt},Gn))}var Zt=Mt;function xe(ue,me,we,He){var ot=Ze(le,["prefixCls","fixedInfoList","flattenColumns","expandableType","expandRowByClick","onTriggerExpand","rowClassName","expandedRowClassName","indentSize","expandIcon","expandedRowRender","expandIconColumnIndex","expandedKeys","childrenColumnName","rowExpandable","onRow"]),rt=ot.flattenColumns,At=ot.expandableType,wt=ot.expandedKeys,Et=ot.childrenColumnName,Yt=ot.onTriggerExpand,gn=ot.rowExpandable,tn=ot.onRow,wn=ot.expandRowByClick,Bn=ot.rowClassName,An=At==="nest",Gn=At==="row"&&(!gn||gn(ue)),kn=Gn||An,Kn=wt&&wt.has(me),Zn=Et&&ue&&ue[Et],Yn=(0,ve.useEvent)(Yt),fa=tn==null?void 0:tn(ue,we),va=fa==null?void 0:fa.onClick,la=function(sa){wn&&kn&&Yt(ue,sa);for(var ta=arguments.length,Jn=new Array(ta>1?ta-1:0),ra=1;ra<ta;ra++)Jn[ra-1]=arguments[ra];va==null||va.apply(void 0,[sa].concat(Jn))},La;typeof Bn=="string"?La=Bn:typeof Bn=="function"&&(La=Bn(ue,we,He));var Ra=Ye(rt);return(0,Oe.Z)((0,Oe.Z)({},ot),{},{columnsKey:Ra,nestExpandable:An,expanded:Kn,hasNestChildren:Zn,record:ue,onTriggerExpand:Yn,rowSupportExpand:Gn,expandable:kn,rowProps:(0,Oe.Z)((0,Oe.Z)({},fa),{},{className:Le()(La,fa==null?void 0:fa.className),onClick:la})})}function dt(ue,me,we,He,ot){var rt=ue.record,At=ue.prefixCls,wt=ue.columnsKey,Et=ue.fixedInfoList,Yt=ue.expandIconColumnIndex,gn=ue.nestExpandable,tn=ue.indentSize,wn=ue.expandIcon,Bn=ue.expanded,An=ue.hasNestChildren,Gn=ue.onTriggerExpand,kn=wt[we],Kn=Et[we],Zn;we===(Yt||0)&&gn&&(Zn=re.createElement(re.Fragment,null,re.createElement("span",{style:{paddingLeft:"".concat(tn*He,"px")},className:"".concat(At,"-row-indent indent-level-").concat(He)}),wn({prefixCls:At,expanded:Bn,expandable:An,record:rt,onExpand:Gn})));var Yn;return me.onCell&&(Yn=me.onCell(rt,ot)),{key:kn,fixedInfo:Kn,appendCellNode:Zn,additionalCellProps:Yn||{}}}function vt(ue){var me=ue.className,we=ue.style,He=ue.record,ot=ue.index,rt=ue.renderIndex,At=ue.rowKey,wt=ue.indent,Et=wt===void 0?0:wt,Yt=ue.rowComponent,gn=ue.cellComponent,tn=ue.scopeCellComponent,wn=xe(He,At,ot,Et),Bn=wn.prefixCls,An=wn.flattenColumns,Gn=wn.expandedRowClassName,kn=wn.expandedRowRender,Kn=wn.rowProps,Zn=wn.expanded,Yn=wn.rowSupportExpand,fa=re.useState(!1),va=(0,Ae.Z)(fa,2),la=va[0],La=va[1];re.useEffect(function(){Zn&&La(!0)},[Zn]);var Ra=re.createElement(Yt,(0,lt.Z)({},Kn,{"data-row-key":At,className:Le()(me,"".concat(Bn,"-row"),"".concat(Bn,"-row-level-").concat(Et),Kn==null?void 0:Kn.className),style:(0,Oe.Z)((0,Oe.Z)({},we),Kn==null?void 0:Kn.style)}),An.map(function(Jn,ra){var Fa=Jn.render,Ua=Jn.dataIndex,Ia=Jn.className,Sa=dt(wn,Jn,ra,Et,ot),Va=Sa.key,Ja=Sa.fixedInfo,ho=Sa.appendCellNode,no=Sa.additionalCellProps;return re.createElement(Jt,(0,lt.Z)({className:Ia,ellipsis:Jn.ellipsis,align:Jn.align,scope:Jn.rowScope,component:Jn.rowScope?tn:gn,prefixCls:Bn,key:Va,record:He,index:ot,renderIndex:rt,dataIndex:Ua,render:Fa,shouldCellUpdate:Jn.shouldCellUpdate},Ja,{appendNode:ho,additionalProps:no}))})),ea;if(Yn&&(la||Zn)){var sa=kn(He,ot,Et+1,Zn),ta=Gn&&Gn(He,ot,Et);ea=re.createElement(Zt,{expanded:Zn,className:Le()("".concat(Bn,"-expanded-row"),"".concat(Bn,"-expanded-row-level-").concat(Et+1),ta),prefixCls:Bn,component:Yt,cellComponent:gn,colSpan:An.length,isEmpty:!1},sa)}return re.createElement(re.Fragment,null,Ra,ea)}vt.displayName="BodyRow";var ft=z(vt);function Nt(ue){var me=ue.columnKey,we=ue.onColumnResize,He=re.useRef();return re.useEffect(function(){He.current&&we(me,He.current.offsetWidth)},[]),re.createElement(et.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(ue){var me=ue.prefixCls,we=ue.columnsKey,He=ue.onColumnResize;return re.createElement("tr",{"aria-hidden":"true",className:"".concat(me,"-measure-row"),style:{height:0,fontSize:0}},re.createElement(et.Z.Collection,{onBatchResize:function(rt){rt.forEach(function(At){var wt=At.data,Et=At.size;He(wt,Et.offsetWidth)})}},we.map(function(ot){return re.createElement(Nt,{key:ot,columnKey:ot,onColumnResize:He})})))}function nn(ue){var me=ue.data,we=ue.measureColumnWidth,He=Ze(le,["prefixCls","getComponent","onColumnResize","flattenColumns","getRowKey","expandedKeys","childrenColumnName","emptyNode"]),ot=He.prefixCls,rt=He.getComponent,At=He.onColumnResize,wt=He.flattenColumns,Et=He.getRowKey,Yt=He.expandedKeys,gn=He.childrenColumnName,tn=He.emptyNode,wn=Tt(me,gn,Yt,Et),Bn=re.useRef({renderWithProps:!1}),An=rt(["body","wrapper"],"tbody"),Gn=rt(["body","row"],"tr"),kn=rt(["body","cell"],"td"),Kn=rt(["body","cell"],"th"),Zn;me.length?Zn=wn.map(function(fa,va){var la=fa.record,La=fa.indent,Ra=fa.index,ea=Et(la,va);return re.createElement(ft,{key:ea,rowKey:ea,record:la,index:va,renderIndex:Ra,rowComponent:Gn,cellComponent:kn,scopeCellComponent:Kn,getRowKey:Et,indent:La})}):Zn=re.createElement(Zt,{expanded:!0,className:"".concat(ot,"-placeholder"),prefixCls:ot,component:Gn,cellComponent:kn,colSpan:wt.length,isEmpty:!0},tn);var Yn=Ye(wt);return re.createElement($e.Provider,{value:Bn.current},re.createElement(An,{className:"".concat(ot,"-tbody")},we&&re.createElement(Vt,{prefixCls:ot,columnsKey:Yn,onColumnResize:At}),Zn))}nn.displayName="Body";var an=z(nn),Sn=["expandable"],On="RC_TABLE_INTERNAL_COL_DEFINE";function Lt(ue){var me=ue.expandable,we=(0,ut.Z)(ue,Sn),He;return"expandable"in ue?He=(0,Oe.Z)((0,Oe.Z)({},we),me):He=we,He.showExpandColumn===!1&&(He.expandIconColumnIndex=-1),He}var Ct=["columnType"];function Ut(ue){for(var me=ue.colWidths,we=ue.columns,He=ue.columCount,ot=[],rt=He||we.length,At=!1,wt=rt-1;wt>=0;wt-=1){var Et=me[wt],Yt=we&&we[wt],gn=Yt&&Yt[On];if(Et||gn||At){var tn=gn||{},wn=tn.columnType,Bn=(0,ut.Z)(tn,Ct);ot.unshift(re.createElement("col",(0,lt.Z)({key:wt,style:{width:Et}},Bn))),At=!0}}return re.createElement("colgroup",null,ot)}var cn=Ut,sn=te(65093),Nn=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];function nt(ue,me){return(0,re.useMemo)(function(){for(var we=[],He=0;He<me;He+=1){var ot=ue[He];if(ot!==void 0)we[He]=ot;else return null}return we},[ue.join("_"),me])}var Bt=re.forwardRef(function(ue,me){var we=ue.className,He=ue.noData,ot=ue.columns,rt=ue.flattenColumns,At=ue.colWidths,wt=ue.columCount,Et=ue.stickyOffsets,Yt=ue.direction,gn=ue.fixHeader,tn=ue.stickyTopOffset,wn=ue.stickyBottomOffset,Bn=ue.stickyClassName,An=ue.onScroll,Gn=ue.maxContentScroll,kn=ue.children,Kn=(0,ut.Z)(ue,Nn),Zn=Ze(le,["prefixCls","scrollbarSize","isSticky"]),Yn=Zn.prefixCls,fa=Zn.scrollbarSize,va=Zn.isSticky,la=va&&!gn?0:fa,La=re.useRef(null),Ra=re.useCallback(function(Ia){(0,pt.mH)(me,Ia),(0,pt.mH)(La,Ia)},[]);re.useEffect(function(){var Ia;function Sa(Va){var Ja=Va,ho=Ja.currentTarget,no=Ja.deltaX;no&&(An({currentTarget:ho,scrollLeft:ho.scrollLeft+no}),Va.preventDefault())}return(Ia=La.current)===null||Ia===void 0||Ia.addEventListener("wheel",Sa),function(){var Va;(Va=La.current)===null||Va===void 0||Va.removeEventListener("wheel",Sa)}},[]);var ea=re.useMemo(function(){return rt.every(function(Ia){return Ia.width})},[rt]),sa=rt[rt.length-1],ta={fixed:sa?sa.fixed:null,scrollbar:!0,onHeaderCell:function(){return{className:"".concat(Yn,"-cell-scrollbar")}}},Jn=(0,re.useMemo)(function(){return la?[].concat((0,sn.Z)(ot),[ta]):ot},[la,ot]),ra=(0,re.useMemo)(function(){return la?[].concat((0,sn.Z)(rt),[ta]):rt},[la,rt]),Fa=(0,re.useMemo)(function(){var Ia=Et.right,Sa=Et.left;return(0,Oe.Z)((0,Oe.Z)({},Et),{},{left:Yt==="rtl"?[].concat((0,sn.Z)(Sa.map(function(Va){return Va+la})),[0]):Sa,right:Yt==="rtl"?Ia:[].concat((0,sn.Z)(Ia.map(function(Va){return Va+la})),[0]),isSticky:va})},[la,Et,va]),Ua=nt(At,wt);return re.createElement("div",{style:(0,Oe.Z)({overflow:"hidden"},va?{top:tn,bottom:wn}:{}),ref:Ra,className:Le()(we,(0,ge.Z)({},Bn,!!Bn))},re.createElement("table",{style:{tableLayout:"fixed",visibility:He||Ua?null:"hidden"}},(!He||!Gn||ea)&&re.createElement(cn,{colWidths:Ua?[].concat((0,sn.Z)(Ua),[la]):[],columCount:wt+1,columns:ra}),kn((0,Oe.Z)((0,Oe.Z)({},Kn),{},{stickyOffsets:Fa,columns:Jn,flattenColumns:ra}))))});Bt.displayName="FixedHolder";var Qt=re.memo(Bt);function yn(ue){var me=ue.cells,we=ue.stickyOffsets,He=ue.flattenColumns,ot=ue.rowComponent,rt=ue.cellComponent,At=ue.tdCellComponent,wt=ue.onHeaderRow,Et=ue.index,Yt=Ze(le,["prefixCls","direction"]),gn=Yt.prefixCls,tn=Yt.direction,wn;wt&&(wn=wt(me.map(function(An){return An.column}),Et));var Bn=Ye(me.map(function(An){return An.column}));return re.createElement(ot,wn,me.map(function(An,Gn){var kn=An.column,Kn=Be(An.colStart,An.colEnd,He,we,tn,kn),Zn;return kn&&kn.onHeaderCell&&(Zn=An.column.onHeaderCell(kn)),re.createElement(Jt,(0,lt.Z)({},An,{scope:kn.title?An.colSpan>1?"colgroup":"col":null,ellipsis:kn.ellipsis,align:kn.align,component:kn.title?rt:At,prefixCls:gn,key:Bn[Gn]},Kn,{additionalProps:Zn,rowType:"header"}))}))}yn.displayName="HeaderRow";var Pe=yn;function Ve(ue){var me=[];function we(At,wt){var Et=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;me[Et]=me[Et]||[];var Yt=wt,gn=At.filter(Boolean).map(function(tn){var wn={key:tn.key,className:tn.className||"",children:tn.title,column:tn,colStart:Yt},Bn=1,An=tn.children;return An&&An.length>0&&(Bn=we(An,Yt,Et+1).reduce(function(Gn,kn){return Gn+kn},0),wn.hasSubColumns=!0),"colSpan"in tn&&(Bn=tn.colSpan),"rowSpan"in tn&&(wn.rowSpan=tn.rowSpan),wn.colSpan=Bn,wn.colEnd=wn.colStart+Bn-1,me[Et].push(wn),Yt+=Bn,Bn});return gn}we(ue,0);for(var He=me.length,ot=function(wt){me[wt].forEach(function(Et){!("rowSpan"in Et)&&!Et.hasSubColumns&&(Et.rowSpan=He-wt)})},rt=0;rt<He;rt+=1)ot(rt);return me}function st(ue){var me=ue.stickyOffsets,we=ue.columns,He=ue.flattenColumns,ot=ue.onHeaderRow,rt=Ze(le,["prefixCls","getComponent"]),At=rt.prefixCls,wt=rt.getComponent,Et=re.useMemo(function(){return Ve(we)},[we]),Yt=wt(["header","wrapper"],"thead"),gn=wt(["header","row"],"tr"),tn=wt(["header","cell"],"th"),wn=wt(["header","cell"],"td");return re.createElement(Yt,{className:"".concat(At,"-thead")},Et.map(function(Bn,An){var Gn=re.createElement(Pe,{key:An,flattenColumns:He,cells:Bn,stickyOffsets:me,rowComponent:gn,cellComponent:tn,tdCellComponent:wn,onHeaderRow:ot,index:An});return Gn}))}var gt=z(st),xt=te(11592);function $t(ue){var me=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return typeof me=="number"?me:me.endsWith("%")?ue*parseFloat(me)/100:null}function Ft(ue,me){return re.useMemo(function(){if(me&&me>0){var we=0,He=0;ue.forEach(function(Yt){var gn=$t(me,Yt.width);gn?we+=gn:He+=1});var ot=me-we,rt=He,At=ot/He,wt=0,Et=ue.map(function(Yt){var gn=(0,Oe.Z)({},Yt),tn=$t(me,gn.width);if(tn)gn.width=tn;else{var wn=Math.floor(At);gn.width=rt===1?ot:wn,ot-=wn,rt-=1}return wt+=gn.width,gn});return[Et,wt]}return[ue,me]},[ue,me])}var ze=["children"],We=["fixed"];function Re(ue){return(0,xt.Z)(ue).filter(function(me){return re.isValidElement(me)}).map(function(me){var we=me.key,He=me.props,ot=He.children,rt=(0,ut.Z)(He,ze),At=(0,Oe.Z)({key:we},rt);return ot&&(At.children=Re(ot)),At})}function ct(ue){var me=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"key";return ue.filter(function(we){return we&&(0,fe.Z)(we)==="object"}).reduce(function(we,He,ot){var rt=He.fixed,At=rt===!0?"left":rt,wt="".concat(me,"-").concat(ot),Et=He.children;return Et&&Et.length>0?[].concat((0,sn.Z)(we),(0,sn.Z)(ct(Et,wt).map(function(Yt){return(0,Oe.Z)({fixed:At},Yt)}))):[].concat((0,sn.Z)(we),[(0,Oe.Z)((0,Oe.Z)({key:wt},He),{},{fixed:At})])},[])}function jt(ue){for(var me=!0,we=0;we<ue.length;we+=1){var He=ue[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 ot=!0,rt=ue.length-1;rt>=0;rt-=1){var At=ue[rt];if(ot&&At.fixed!=="right")ot=!1;else if(!ot&&At.fixed==="right"){warning(!1,"Index ".concat(rt+1," of `columns` missing `fixed='right'` prop."));break}}}function Ot(ue){return ue.map(function(me){var we=me.fixed,He=(0,ut.Z)(me,We),ot=we;return we==="left"?ot="right":we==="right"&&(ot="left"),(0,Oe.Z)({fixed:ot},He)})}function vn(ue,me){var we=ue.prefixCls,He=ue.columns,ot=ue.children,rt=ue.expandable,At=ue.expandedKeys,wt=ue.columnTitle,Et=ue.getRowKey,Yt=ue.onTriggerExpand,gn=ue.expandIcon,tn=ue.rowExpandable,wn=ue.expandIconColumnIndex,Bn=ue.direction,An=ue.expandRowByClick,Gn=ue.columnWidth,kn=ue.fixed,Kn=ue.scrollWidth,Zn=re.useMemo(function(){return He||Re(ot)},[He,ot]),Yn=re.useMemo(function(){if(rt){var sa,ta=Zn.slice();if(!ta.includes(ee)){var Jn=wn||0;Jn>=0&&ta.splice(Jn,0,ee)}var ra=ta.indexOf(ee);ta=ta.filter(function(Sa,Va){return Sa!==ee||Va===ra});var Fa=Zn[ra],Ua;(kn==="left"||kn)&&!wn?Ua="left":(kn==="right"||kn)&&wn===Zn.length?Ua="right":Ua=Fa?Fa.fixed:null;var Ia=(sa={},(0,ge.Z)(sa,On,{className:"".concat(we,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),(0,ge.Z)(sa,"title",wt),(0,ge.Z)(sa,"fixed",Ua),(0,ge.Z)(sa,"className","".concat(we,"-row-expand-icon-cell")),(0,ge.Z)(sa,"width",Gn),(0,ge.Z)(sa,"render",function(Va,Ja,ho){var no=Et(Ja,ho),Bo=At.has(no),Ao=tn?tn(Ja):!0,Ta=gn({prefixCls:we,expanded:Bo,expandable:Ao,record:Ja,onExpand:Yt});return An?re.createElement("span",{onClick:function(oo){return oo.stopPropagation()}},Ta):Ta}),sa);return ta.map(function(Sa){return Sa===ee?Ia:Sa})}return Zn.filter(function(Sa){return Sa!==ee})},[rt,Zn,Et,At,gn,Bn]),fa=re.useMemo(function(){var sa=Yn;return me&&(sa=me(sa)),sa.length||(sa=[{render:function(){return null}}]),sa},[me,Yn,Bn]),va=re.useMemo(function(){return Bn==="rtl"?Ot(ct(fa)):ct(fa)},[fa,Bn,Kn]),la=Ft(va,Kn),La=(0,Ae.Z)(la,2),Ra=La[0],ea=La[1];return[fa,Ra,ea]}var fn=vn;function en(ue){var me,we=ue.prefixCls,He=ue.record,ot=ue.onExpand,rt=ue.expanded,At=ue.expandable,wt="".concat(we,"-row-expand-icon");if(!At)return re.createElement("span",{className:Le()(wt,"".concat(we,"-row-spaced"))});var Et=function(gn){ot(He,gn),gn.stopPropagation()};return re.createElement("span",{className:Le()(wt,(me={},(0,ge.Z)(me,"".concat(we,"-row-expanded"),rt),(0,ge.Z)(me,"".concat(we,"-row-collapsed"),!rt),me)),onClick:Et})}function xn(ue,me,we){var He=[];function ot(rt){(rt||[]).forEach(function(At,wt){He.push(me(At,wt)),ot(At[we])})}return ot(ue),He}function Qn(ue,me,we){var He=Lt(ue),ot=He.expandIcon,rt=He.expandedRowKeys,At=He.defaultExpandedRowKeys,wt=He.defaultExpandAllRows,Et=He.expandedRowRender,Yt=He.onExpand,gn=He.onExpandedRowsChange,tn=He.childrenColumnName,wn=ot||en,Bn=tn||"children",An=re.useMemo(function(){return Et?"row":ue.expandable&&ue.internalHooks===ie&&ue.expandable.__PARENT_RENDER_ICON__||me.some(function(va){return va&&(0,fe.Z)(va)==="object"&&va[Bn]})?"nest":!1},[!!Et,me]),Gn=re.useState(function(){return At||(wt?xn(me,we,Bn):[])}),kn=(0,Ae.Z)(Gn,2),Kn=kn[0],Zn=kn[1],Yn=re.useMemo(function(){return new Set(rt||Kn||[])},[rt,Kn]),fa=re.useCallback(function(va){var la=we(va,me.indexOf(va)),La,Ra=Yn.has(la);Ra?(Yn.delete(la),La=(0,sn.Z)(Yn)):La=[].concat((0,sn.Z)(Yn),[la]),Zn(La),Yt&&Yt(!Ra,va),gn&&gn(La)},[we,Yn,me,Yt,gn]);return[He,An,Yn,wn,Bn,fa]}function on(ue,me,we,He){var ot=ue.map(function(rt,At){return Be(At,At,ue,me,we,He==null?void 0:He[At])});return(0,Ke.Z)(function(){return ot},[ot],function(rt,At){return!(0,Fe.Z)(rt,At)})}function Un(ue){var me=(0,re.useRef)(ue),we=(0,re.useState)({}),He=(0,Ae.Z)(we,2),ot=He[1],rt=(0,re.useRef)(null),At=(0,re.useRef)([]);function wt(Et){At.current.push(Et);var Yt=Promise.resolve();rt.current=Yt,Yt.then(function(){if(rt.current===Yt){var gn=At.current,tn=me.current;At.current=[],gn.forEach(function(wn){me.current=wn(me.current)}),rt.current=null,tn!==me.current&&ot({})}})}return(0,re.useEffect)(function(){return function(){rt.current=null}},[]),[me.current,wt]}function $n(ue){var me=(0,re.useRef)(ue||null),we=(0,re.useRef)();function He(){window.clearTimeout(we.current)}function ot(At){me.current=At,He(),we.current=window.setTimeout(function(){me.current=null,we.current=void 0},100)}function rt(){return me.current}return(0,re.useEffect)(function(){return He},[]),[ot,rt]}function ca(){var ue=re.useState(-1),me=(0,Ae.Z)(ue,2),we=me[0],He=me[1],ot=re.useState(-1),rt=(0,Ae.Z)(ot,2),At=rt[0],wt=rt[1],Et=re.useCallback(function(Yt,gn){He(Yt),wt(gn)},[]);return[we,At,Et]}var qn=te(47273),tt=(0,qn.Z)()?window:null;function zt(ue,me){var we=(0,fe.Z)(ue)==="object"?ue:{},He=we.offsetHeader,ot=He===void 0?0:He,rt=we.offsetSummary,At=rt===void 0?0:rt,wt=we.offsetScroll,Et=wt===void 0?0:wt,Yt=we.getContainer,gn=Yt===void 0?function(){return tt}:Yt,tn=gn()||tt;return re.useMemo(function(){var wn=!!ue;return{isSticky:wn,stickyClassName:wn?"".concat(me,"-sticky-holder"):"",offsetHeader:ot,offsetSummary:At,offsetScroll:Et,container:tn}},[Et,ot,At,me,tn])}function yt(ue,me,we){var He=(0,re.useMemo)(function(){for(var ot=[],rt=[],At=0,wt=0,Et=0;Et<me;Et+=1)if(we==="rtl"){rt[Et]=wt,wt+=ue[Et]||0;var Yt=me-Et-1;ot[Yt]=At,At+=ue[Yt]||0}else{ot[Et]=At,At+=ue[Et]||0;var gn=me-Et-1;rt[gn]=wt,wt+=ue[gn]||0}return{left:ot,right:rt}},[ue,me,we]);return He}var _t=yt;function dn(ue){var me=ue.className,we=ue.children;return re.createElement("div",{className:me},we)}var hn=dn,un=te(8224),ln=te(55468),Wn=function(me,we){var He,ot,rt=me.scrollBodyRef,At=me.onScroll,wt=me.offsetScroll,Et=me.container,Yt=Ze(le,"prefixCls"),gn=((He=rt.current)===null||He===void 0?void 0:He.scrollWidth)||0,tn=((ot=rt.current)===null||ot===void 0?void 0:ot.clientWidth)||0,wn=gn&&tn*(tn/gn),Bn=re.useRef(),An=Un({scrollLeft:0,isHiddenScrollBar:!1}),Gn=(0,Ae.Z)(An,2),kn=Gn[0],Kn=Gn[1],Zn=re.useRef({delta:0,x:0}),Yn=re.useState(!1),fa=(0,Ae.Z)(Yn,2),va=fa[0],la=fa[1],La=function(){la(!1)},Ra=function(ra){ra.persist(),Zn.current.delta=ra.pageX-kn.scrollLeft,Zn.current.x=0,la(!0),ra.preventDefault()},ea=function(ra){var Fa,Ua=ra||((Fa=window)===null||Fa===void 0?void 0:Fa.event),Ia=Ua.buttons;if(!va||Ia===0){va&&la(!1);return}var Sa=Zn.current.x+ra.pageX-Zn.current.x-Zn.current.delta;Sa<=0&&(Sa=0),Sa+wn>=tn&&(Sa=tn-wn),At({scrollLeft:Sa/tn*(gn+2)}),Zn.current.x=ra.pageX},sa=function(){if(rt.current){var ra=(0,ln.os)(rt.current).top,Fa=ra+rt.current.offsetHeight,Ua=Et===window?document.documentElement.scrollTop+window.innerHeight:(0,ln.os)(Et).top+Et.clientHeight;Fa-(0,_e.Z)()<=Ua||ra>=Ua-wt?Kn(function(Ia){return(0,Oe.Z)((0,Oe.Z)({},Ia),{},{isHiddenScrollBar:!0})}):Kn(function(Ia){return(0,Oe.Z)((0,Oe.Z)({},Ia),{},{isHiddenScrollBar:!1})})}},ta=function(ra){Kn(function(Fa){return(0,Oe.Z)((0,Oe.Z)({},Fa),{},{scrollLeft:ra/gn*tn||0})})};return re.useImperativeHandle(we,function(){return{setScrollLeft:ta}}),re.useEffect(function(){var Jn=(0,un.Z)(document.body,"mouseup",La,!1),ra=(0,un.Z)(document.body,"mousemove",ea,!1);return sa(),function(){Jn.remove(),ra.remove()}},[wn,va]),re.useEffect(function(){var Jn=(0,un.Z)(Et,"scroll",sa,!1),ra=(0,un.Z)(window,"resize",sa,!1);return function(){Jn.remove(),ra.remove()}},[Et]),re.useEffect(function(){kn.isHiddenScrollBar||Kn(function(Jn){var ra=rt.current;return ra?(0,Oe.Z)((0,Oe.Z)({},Jn),{},{scrollLeft:ra.scrollLeft/ra.scrollWidth*ra.clientWidth}):Jn})},[kn.isHiddenScrollBar]),gn<=tn||!wn||kn.isHiddenScrollBar?null:re.createElement("div",{style:{height:(0,_e.Z)(),width:tn,bottom:wt},className:"".concat(Yt,"-sticky-scroll")},re.createElement("div",{onMouseDown:Ra,ref:Bn,className:Le()("".concat(Yt,"-sticky-scroll-bar"),(0,ge.Z)({},"".concat(Yt,"-sticky-scroll-bar-active"),va)),style:{width:"".concat(wn,"px"),transform:"translate3d(".concat(kn.scrollLeft,"px, 0, 0)")}}))},Xn=re.forwardRef(Wn);function Kt(ue){return null}var aa=Kt;function ya(ue){return null}var Ca=ya,pa="rc-table",Fn=[],Tn={};function Vn(){return"No Data"}function Ln(ue){var me,we=(0,Oe.Z)({rowKey:"key",prefixCls:pa,emptyText:Vn},ue),He=we.prefixCls,ot=we.className,rt=we.rowClassName,At=we.style,wt=we.data,Et=we.rowKey,Yt=we.scroll,gn=we.tableLayout,tn=we.direction,wn=we.title,Bn=we.footer,An=we.summary,Gn=we.caption,kn=we.id,Kn=we.showHeader,Zn=we.components,Yn=we.emptyText,fa=we.onRow,va=we.onHeaderRow,la=we.internalHooks,La=we.transformColumns,Ra=we.internalRefs,ea=we.tailor,sa=we.sticky,ta=wt||Fn,Jn=!!ta.length,ra=la===ie,Fa=re.useCallback(function(mo,Co){return(0,ye.Z)(Zn,mo)||Co},[Zn]),Ua=re.useMemo(function(){return typeof Et=="function"?Et:function(mo){var Co=mo&&mo[Et];return Co}},[Et]),Ia=Fa(["body"]),Sa=ca(),Va=(0,Ae.Z)(Sa,3),Ja=Va[0],ho=Va[1],no=Va[2],Bo=Qn(we,ta,Ua),Ao=(0,Ae.Z)(Bo,6),Ta=Ao[0],Lo=Ao[1],oo=Ao[2],Eo=Ao[3],yo=Ao[4],Xo=Ao[5],ba=Yt==null?void 0:Yt.x,Ea=re.useState(0),Pa=(0,Ae.Z)(Ea,2),ga=Pa[0],ro=Pa[1],ma=fn((0,Oe.Z)((0,Oe.Z)((0,Oe.Z)({},we),Ta),{},{expandable:!!Ta.expandedRowRender,columnTitle:Ta.columnTitle,expandedKeys:oo,getRowKey:Ua,onTriggerExpand:Xo,expandIcon:Eo,expandIconColumnIndex:Ta.expandIconColumnIndex,direction:tn,scrollWidth:ra&&ea&&typeof ba=="number"?ba:null}),ra?La:null),Oa=(0,Ae.Z)(ma,3),_a=Oa[0],Ya=Oa[1],Ko=Oa[2],Zo=Ko!=null?Ko:ba,lr=re.useMemo(function(){return{columns:_a,flattenColumns:Ya}},[_a,Ya]),Do=re.useRef(),ar=re.useRef(),Oo=re.useRef(),$o=re.useRef(),br=re.useRef(),so=re.useState(!1),co=(0,Ae.Z)(so,2),bo=co[0],Io=co[1],Ro=re.useState(!1),Qa=(0,Ae.Z)(Ro,2),Vo=Qa[0],Wo=Qa[1],er=Un(new Map),gr=(0,Ae.Z)(er,2),sr=gr[0],Lr=gr[1],hr=Ye(Ya),or=hr.map(function(mo){return sr.get(mo)}),Yo=re.useMemo(function(){return or},[or.join("_")]),Jo=_t(Yo,Ya.length,tn),To=Yt&&Dt(Yt.y),xo=Yt&&Dt(Zo)||!!Ta.fixed,mr=xo&&Ya.some(function(mo){var Co=mo.fixed;return Co}),xr=re.useRef(),yr=zt(sa,He),fr=yr.isSticky,Ir=yr.offsetHeader,Ur=yr.offsetSummary,qa=yr.offsetScroll,So=yr.stickyClassName,Ho=yr.container,Fo=re.useMemo(function(){return An==null?void 0:An(ta)},[An,ta]),Uo=(To||fr)&&re.isValidElement(Fo)&&Fo.type===de&&Fo.props.fixed,_o,qo,Sr;To&&(qo={overflowY:"scroll",maxHeight:Yt.y}),xo&&(_o={overflowX:"auto"},To||(qo={overflowY:"hidden"}),Sr={width:Zo===!0?"auto":Zo,minWidth:"100%"});var vi=re.useCallback(function(mo,Co){(0,De.Z)(Do.current)&&Lr(function(rr){if(rr.get(mo)!==Co){var Er=new Map(rr);return Er.set(mo,Co),Er}return rr})},[]),wl=$n(null),hi=(0,Ae.Z)(wl,2),Ll=hi[0],Si=hi[1];function Rr(mo,Co){Co&&(typeof Co=="function"?Co(mo):Co.scrollLeft!==mo&&(Co.scrollLeft=mo,Co.scrollLeft!==mo&&setTimeout(function(){Co.scrollLeft=mo},0)))}var Ar=(0,Ge.Z)(function(mo){var Co=mo.currentTarget,rr=mo.scrollLeft,Er=tn==="rtl",Cr=typeof rr=="number"?rr:Co.scrollLeft,Ii=Co||Tn;if(!Si()||Si()===Ii){var $r;Ll(Ii),Rr(Cr,ar.current),Rr(Cr,Oo.current),Rr(Cr,br.current),Rr(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),Wo(!1);return}Er?(Io(-Cr<_r-qr),Wo(-Cr>0)):(Io(Cr>0),Wo(Cr<_r-qr))}}),Pi=function(){xo&&Oo.current?Ar({currentTarget:Oo.current}):(Io(!1),Wo(!1))},Dl=function(Co){var rr=Co.width;rr!==ga&&(Pi(),ro(Do.current?Do.current.offsetWidth:rr))},yi=re.useRef(!1);re.useEffect(function(){yi.current&&Pi()},[xo,wt,_a.length]),re.useEffect(function(){yi.current=!0},[]);var Ol=re.useState(0),Ei=(0,Ae.Z)(Ol,2),Tr=Ei[0],Ci=Ei[1],Nl=re.useState(!0),bi=(0,Ae.Z)(Nl,2),xi=bi[0],Il=bi[1];re.useEffect(function(){(!ea||!ra)&&(Oo.current instanceof Element?Ci((0,_e.o)(Oo.current).width):Ci((0,_e.o)($o.current).width)),Il((0,Ee.G)("position","sticky"))},[]),re.useEffect(function(){ra&&Ra&&(Ra.body.current=Oo.current)});var Rl=re.useCallback(function(mo){return re.createElement(re.Fragment,null,re.createElement(gt,mo),Uo==="top"&&re.createElement(at,mo,Fo))},[Uo,Fo]),Tl=re.useCallback(function(mo){return re.createElement(at,mo,Fo)},[Fo]),Fi=Fa(["table"],"table"),Mr=re.useMemo(function(){return gn||(mr?Zo==="max-content"?"auto":"fixed":To||fr||Ya.some(function(mo){var Co=mo.ellipsis;return Co})?"fixed":"auto")},[To,mr,Ya,gn,fr]),Vr,Jr={colWidths:Yo,columCount:Ya.length,stickyOffsets:Jo,onHeaderRow:va,fixHeader:To,scroll:Yt},Bi=re.useMemo(function(){return Jn?null:typeof Yn=="function"?Yn():Yn},[Jn,Yn]),Ai=re.createElement(an,{data:ta,measureColumnWidth:To||xo||fr}),wi=re.createElement(cn,{colWidths:Ya.map(function(mo){var Co=mo.width;return Co}),columns:Ya}),Li=Gn!=null?re.createElement("caption",{className:"".concat(He,"-caption")},Gn):void 0,Ml=(0,Wt.Z)(we,{data:!0}),Di=(0,Wt.Z)(we,{aria:!0});if(To||fr){var Qr;typeof Ia=="function"?(Qr=Ia(ta,{scrollbarSize:Tr,ref:Oo,onScroll:Ar}),Jr.colWidths=Ya.map(function(mo,Co){var rr=mo.width,Er=Co===Ya.length-1?rr-Tr:rr;return typeof Er=="number"&&!Number.isNaN(Er)?Er:0})):Qr=re.createElement("div",{style:(0,Oe.Z)((0,Oe.Z)({},_o),qo),onScroll:Ar,ref:Oo,className:Le()("".concat(He,"-body"))},re.createElement(Fi,(0,lt.Z)({style:(0,Oe.Z)((0,Oe.Z)({},Sr),{},{tableLayout:Mr})},Di),Li,wi,Ai,!Uo&&Fo&&re.createElement(at,{stickyOffsets:Jo,flattenColumns:Ya,columns:_a},Fo)));var Oi=(0,Oe.Z)((0,Oe.Z)((0,Oe.Z)({noData:!ta.length,maxContentScroll:xo&&Zo==="max-content"},Jr),lr),{},{direction:tn,stickyClassName:So,onScroll:Ar});Vr=re.createElement(re.Fragment,null,Kn!==!1&&re.createElement(Qt,(0,lt.Z)({},Oi,{stickyTopOffset:Ir,className:"".concat(He,"-header"),ref:ar}),Rl),Qr,Uo&&Uo!=="top"&&re.createElement(Qt,(0,lt.Z)({},Oi,{stickyBottomOffset:Ur,className:"".concat(He,"-summary"),ref:br}),Tl),fr&&re.createElement(Xn,{ref:xr,offsetScroll:qa,scrollBodyRef:Oo,onScroll:Ar,container:Ho}))}else Vr=re.createElement("div",{style:(0,Oe.Z)((0,Oe.Z)({},_o),qo),className:Le()("".concat(He,"-content")),onScroll:Ar,ref:Oo},re.createElement(Fi,(0,lt.Z)({style:(0,Oe.Z)((0,Oe.Z)({},Sr),{},{tableLayout:Mr})},Di),Li,wi,Kn!==!1&&re.createElement(gt,(0,lt.Z)({},Jr,lr)),Ai,Fo&&re.createElement(at,{stickyOffsets:Jo,flattenColumns:Ya,columns:_a},Fo)));var Xr=re.createElement("div",(0,lt.Z)({className:Le()(He,ot,(me={},(0,ge.Z)(me,"".concat(He,"-rtl"),tn==="rtl"),(0,ge.Z)(me,"".concat(He,"-ping-left"),bo),(0,ge.Z)(me,"".concat(He,"-ping-right"),Vo),(0,ge.Z)(me,"".concat(He,"-layout-fixed"),gn==="fixed"),(0,ge.Z)(me,"".concat(He,"-fixed-header"),To),(0,ge.Z)(me,"".concat(He,"-fixed-column"),mr),(0,ge.Z)(me,"".concat(He,"-scroll-horizontal"),xo),(0,ge.Z)(me,"".concat(He,"-has-fix-left"),Ya[0]&&Ya[0].fixed),(0,ge.Z)(me,"".concat(He,"-has-fix-right"),Ya[Ya.length-1]&&Ya[Ya.length-1].fixed==="right"),me)),style:At,id:kn,ref:Do},Ml),wn&&re.createElement(hn,{className:"".concat(He,"-title")},wn(ta)),re.createElement("div",{ref:$o,className:"".concat(He,"-container")},Vr),Bn&&re.createElement(hn,{className:"".concat(He,"-footer")},Bn(ta)));xo&&(Xr=re.createElement(et.Z,{onResize:Dl},Xr));var Ni=on(Ya,Jo,tn,_a),kl=re.useMemo(function(){return{scrollX:Zo,prefixCls:He,getComponent:Fa,scrollbarSize:Tr,direction:tn,fixedInfoList:Ni,isSticky:fr,supportSticky:xi,componentWidth:ga,fixHeader:To,fixColumn:mr,horizonScroll:xo,tableLayout:Mr,rowClassName:rt,expandedRowClassName:Ta.expandedRowClassName,expandIcon:Eo,expandableType:Lo,expandRowByClick:Ta.expandRowByClick,expandedRowRender:Ta.expandedRowRender,onTriggerExpand:Xo,expandIconColumnIndex:Ta.expandIconColumnIndex,indentSize:Ta.indentSize,allColumnsFixedLeft:Ya.every(function(mo){return mo.fixed==="left"}),emptyNode:Bi,columns:_a,flattenColumns:Ya,onColumnResize:vi,hoverStartRow:Ja,hoverEndRow:ho,onHover:no,rowExpandable:Ta.rowExpandable,onRow:fa,getRowKey:Ua,expandedKeys:oo,childrenColumnName:yo}},[Zo,He,Fa,Tr,tn,Ni,fr,xi,ga,To,mr,xo,Mr,rt,Ta.expandedRowClassName,Eo,Lo,Ta.expandRowByClick,Ta.expandedRowRender,Xo,Ta.expandIconColumnIndex,Ta.indentSize,Bi,_a,Ya,vi,Ja,ho,no,Ta.rowExpandable,fa,Ua,oo,yo]);return re.createElement(le.Provider,{value:kl},Xr)}function na(ue){return x(Ln,ue)}var ha=na();ha.EXPAND_COLUMN=ee,ha.INTERNAL_HOOKS=ie,ha.Column=aa,ha.ColumnGroup=Ca,ha.Summary=Se;var da=ha,Ba=te(50030),oa=Qe(null),Ma=Qe(null);function eo(ue,me,we){var He=me||1;return we[ue+He]-(we[ue]||0)}function fo(ue){var me=ue.rowInfo,we=ue.column,He=ue.colIndex,ot=ue.indent,rt=ue.index,At=ue.renderIndex,wt=ue.record,Et=ue.style,Yt=ue.className,gn=ue.inverse,tn=ue.getHeight,wn=we.render,Bn=we.dataIndex,An=we.className,Gn=we.width,kn=Ze(Ma,["columnsOffset"]),Kn=kn.columnsOffset,Zn=dt(me,we,He,ot,rt),Yn=Zn.key,fa=Zn.fixedInfo,va=Zn.appendCellNode,la=Zn.additionalCellProps,La=la.style,Ra=la.colSpan,ea=Ra===void 0?1:Ra,sa=la.rowSpan,ta=sa===void 0?1:sa,Jn=He-1,ra=eo(Jn,ea,Kn),Fa=ea>1?Gn-ra:0,Ua=(0,Oe.Z)((0,Oe.Z)((0,Oe.Z)({},La),Et),{},{flex:"0 0 ".concat(ra,"px"),width:"".concat(ra,"px"),marginRight:Fa,pointerEvents:"auto"}),Ia=re.useMemo(function(){return gn?ta<=1:ea===0||ta===0||ta>1},[ta,ea,gn]);Ia?Ua.visibility="hidden":gn&&(Ua.height=tn==null?void 0:tn(ta));var Sa=Ia?function(){return null}:wn,Va={};return(ta===0||ea===0)&&(Va.rowSpan=1,Va.colSpan=1),re.createElement(Jt,(0,lt.Z)({className:Le()(An,Yt),ellipsis:we.ellipsis,align:we.align,scope:we.rowScope,component:"div",prefixCls:me.prefixCls,key:Yn,record:wt,index:rt,renderIndex:At,dataIndex:Bn,render:Sa,shouldCellUpdate:we.shouldCellUpdate},fa,{appendNode:va,additionalProps:(0,Oe.Z)((0,Oe.Z)({},la),{},{style:Ua},Va)}))}var ja=fo,Da=["data","index","className","rowKey","style","extra","getHeight"],Xa=re.forwardRef(function(ue,me){var we=ue.data,He=ue.index,ot=ue.className,rt=ue.rowKey,At=ue.style,wt=ue.extra,Et=ue.getHeight,Yt=(0,ut.Z)(ue,Da),gn=we.record,tn=we.indent,wn=we.index,Bn=Ze(le,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),An=Bn.scrollX,Gn=Bn.flattenColumns,kn=Bn.prefixCls,Kn=Bn.fixColumn,Zn=Bn.componentWidth,Yn=xe(gn,rt,He,tn),fa=Yn.rowSupportExpand,va=Yn.expanded,la=Yn.rowProps,La=Yn.expandedRowRender,Ra=Yn.expandedRowClassName,ea;if(fa&&va){var sa=La(gn,He,tn+1,va),ta=Ra==null?void 0:Ra(gn,He,tn),Jn={};Kn&&(Jn={style:(0,ge.Z)({},"--virtual-width","".concat(Zn,"px"))});var ra="".concat(kn,"-expanded-row-cell");ea=re.createElement("div",{className:Le()("".concat(kn,"-expanded-row"),"".concat(kn,"-expanded-row-level-").concat(tn+1),ta)},re.createElement(Jt,{component:"div",prefixCls:kn,className:Le()(ra,(0,ge.Z)({},"".concat(ra,"-fixed"),Kn)),additionalProps:Jn},sa))}var Fa=(0,Oe.Z)((0,Oe.Z)({},At),{},{width:An});wt&&(Fa.position="absolute",Fa.pointerEvents="none");var Ua=re.createElement("div",(0,lt.Z)({},la,Yt,{ref:fa?null:me,className:Le()(ot,"".concat(kn,"-row"),la==null?void 0:la.className,(0,ge.Z)({},"".concat(kn,"-row-extra"),wt)),style:(0,Oe.Z)((0,Oe.Z)({},Fa),la==null?void 0:la.style)}),Gn.map(function(Ia,Sa){return re.createElement(ja,{key:Sa,rowInfo:Yn,column:Ia,colIndex:Sa,indent:tn,index:He,renderIndex:wn,record:gn,inverse:wt,getHeight:Et})}));return fa?re.createElement("div",{ref:me},Ua,ea):Ua}),ka=z(Xa),Ga=ka,Na=re.forwardRef(function(ue,me){var we=ue.data,He=ue.onScroll,ot=Ze(le,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","emptyNode","scrollX"]),rt=ot.flattenColumns,At=ot.onColumnResize,wt=ot.getRowKey,Et=ot.expandedKeys,Yt=ot.prefixCls,gn=ot.childrenColumnName,tn=ot.emptyNode,wn=ot.scrollX,Bn=Ze(oa),An=Bn.scrollY,Gn=Bn.listItemHeight,kn=re.useRef(),Kn=Tt(we,gn,Et,wt),Zn=re.useMemo(function(){var ea=0;return rt.map(function(sa){var ta=sa.width,Jn=sa.key;return ea+=ta,[Jn,ta,ea]})},[rt]),Yn=re.useMemo(function(){return Zn.map(function(ea){return ea[2]})},[Zn]);re.useEffect(function(){Zn.forEach(function(ea){var sa=(0,Ae.Z)(ea,2),ta=sa[0],Jn=sa[1];At(ta,Jn)})},[Zn]),re.useImperativeHandle(me,function(){var ea={};return Object.defineProperty(ea,"scrollLeft",{get:function(){var ta;return((ta=kn.current)===null||ta===void 0?void 0:ta.getScrollInfo().x)||0},set:function(ta){var Jn;(Jn=kn.current)===null||Jn===void 0||Jn.scrollTo({left:ta})}}),ea});var fa=function(sa,ta){var Jn,ra=(Jn=Kn[ta])===null||Jn===void 0?void 0:Jn.record,Fa=sa.onCell;if(Fa){var Ua,Ia=Fa(ra,ta);return(Ua=Ia==null?void 0:Ia.rowSpan)!==null&&Ua!==void 0?Ua:1}return 1},va=function(sa){var ta=sa.start,Jn=sa.end,ra=sa.getSize,Fa=sa.offsetY;if(Jn<0)return null;for(var Ua=rt.filter(function(ba){return fa(ba,ta)===0}),Ia=ta,Sa=function(Ea){if(Ua=Ua.filter(function(Pa){return fa(Pa,Ea)===0}),!Ua.length)return Ia=Ea,"break"},Va=ta;Va>=0;Va-=1){var Ja=Sa(Va);if(Ja==="break")break}for(var ho=rt.filter(function(ba){return fa(ba,Jn)!==1}),no=Jn,Bo=function(Ea){if(ho=ho.filter(function(Pa){return fa(Pa,Ea)!==1}),!ho.length)return no=Math.max(Ea-1,Jn),"break"},Ao=Jn;Ao<Kn.length;Ao+=1){var Ta=Bo(Ao);if(Ta==="break")break}for(var Lo=[],oo=function(Ea){var Pa=Kn[Ea];if(!Pa)return"continue";rt.some(function(ga){return fa(ga,Ea)>1})&&Lo.push(Ea)},Eo=Ia;Eo<=no;Eo+=1)var yo=oo(Eo);var Xo=Lo.map(function(ba){var Ea=Kn[ba],Pa=wt(Ea.record,ba),ga=function(Oa){var _a=ba+Oa-1,Ya=wt(Kn[_a].record,_a),Ko=ra(Pa,Ya);return Ko.bottom-Ko.top},ro=ra(Pa);return re.createElement(Ga,{key:ba,data:Ea,rowKey:Pa,index:ba,style:{top:-Fa+ro.top},extra:!0,getHeight:ga})});return Xo},la=re.useMemo(function(){return{columnsOffset:Yn}},[Yn]),La="".concat(Yt,"-tbody"),Ra;return Kn.length?Ra=re.createElement(Ba.Z,{fullHeight:!1,ref:kn,className:Le()(La,"".concat(La,"-virtual")),height:An,itemHeight:Gn||24,data:Kn,itemKey:function(sa){return wt(sa.record)},scrollWidth:wn,onVirtualScroll:function(sa){var ta=sa.x;He({scrollLeft:ta})},extraRender:va},function(ea,sa,ta){var Jn=wt(ea.record,sa);return re.createElement(Ga,(0,lt.Z)({data:ea,rowKey:Jn,index:sa},ta))}):Ra=re.createElement("div",{className:Le()("".concat(Yt,"-placeholder"))},re.createElement(Jt,{component:"div",prefixCls:Yt},tn)),re.createElement(Ma.Provider,{value:la},Ra)}),_n=z(Na),Za=_n,uo=function(me,we){var He=we.ref,ot=we.onScroll;return re.createElement(Za,{ref:He,data:me,onScroll:ot})},za=100;function to(ue){var me=ue.columns,we=ue.scroll,He=ue.prefixCls,ot=He===void 0?pa:He,rt=ue.className,At=ue.listItemHeight,wt=we||{},Et=wt.x,Yt=wt.y;typeof Et!="number"&&(Et=((me||[]).length+1)*za),typeof Yt!="number"&&(Yt=500);var gn=re.useMemo(function(){return{scrollY:Yt,listItemHeight:At}},[Yt,At]);return re.createElement(oa.Provider,{value:gn},re.createElement(da,(0,lt.Z)({},ue,{className:Le()(rt,"".concat(ot,"-virtual")),scroll:(0,Oe.Z)((0,Oe.Z)({},we),{},{x:Et}),components:{body:uo},columns:me,internalHooks:ie,tailor:!0})))}function lo(ue){return x(to,ue)}var ua=lo(),Ka=null;function Aa(ue){return null}var ao=Aa;function Po(ue){return null}var No=Po,Qo=te(2738),zo=te(68031),po=te(36355),vo=te(93891),jo=te(19716),Mo=te(8628),Go=te(31724),tr=te(58421),ia=te(71418),In=te(88088);function Rn(ue){return function(we){let{prefixCls:He,onExpand:ot,record:rt,expanded:At,expandable:wt}=we;const Et=`${He}-row-expand-icon`;return re.createElement("button",{type:"button",onClick:Yt=>{ot(rt,Yt),Yt.stopPropagation()},className:Le()(Et,{[`${Et}-spaced`]:!wt,[`${Et}-expanded`]:wt&&At,[`${Et}-collapsed`]:wt&&!At}),"aria-label":At?ue.collapse:ue.expand,"aria-expanded":At})}}var jn=Rn;function xa(ue,me){return"key"in ue&&ue.key!==void 0&&ue.key!==null?ue.key:ue.dataIndex?Array.isArray(ue.dataIndex)?ue.dataIndex.join("."):ue.dataIndex:me}function Wa(ue,me){return me?`${me}-${ue}`:`${ue}`}function pe(ue,me){return typeof ue=="function"?ue(me):ue}function kt(ue,me){const we=pe(ue,me);return Object.prototype.toString.call(we)==="[object Object]"?"":we}var rn={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"},Cn=rn,Ht=te(7657),Dn=function(me,we){return re.createElement(Ht.Z,(0,lt.Z)({},me,{ref:we,icon:Cn}))},Pn=re.forwardRef(Dn),mn=Pn,En=te(56762);function bn(ue){const me=re.useRef(ue),we=(0,En.Z)();return[()=>me.current,He=>{me.current=He,we()}]}var Mn=te(3113),Hn=te(24905),zn=te(38854),Ha=te(64165),wa=te(20834),$a=te(40875),io=te(5112),wo=te(17574),ko=te(47472),dr=te(92832);function ur(ue){let{value:me,onChange:we,filterSearch:He,tablePrefixCls:ot,locale:rt}=ue;return He?re.createElement("div",{className:`${ot}-filter-dropdown-search`},re.createElement(dr.default,{prefix:re.createElement(ko.Z,null),placeholder:rt.filterSearchPlaceholder,onChange:we,value:me,htmlSize:1,className:`${ot}-filter-dropdown-search-input`})):null}var nr=ur,pr=te(10228);const Fr=ue=>{const{keyCode:me}=ue;me===pr.Z.ENTER&&ue.stopPropagation()};var cr=re.forwardRef((ue,me)=>re.createElement("div",{className:ue.className,onClick:we=>we.stopPropagation(),onKeyDown:Fr,ref:me},ue.children));function Br(ue){let me=[];return(ue||[]).forEach(we=>{let{value:He,children:ot}=we;me.push(He),ot&&(me=[].concat((0,sn.Z)(me),(0,sn.Z)(Br(ot))))}),me}function Ri(ue){return ue.some(me=>{let{children:we}=me;return we})}function ei(ue,me){return typeof me=="string"||typeof me=="number"?me==null?void 0:me.toString().toLowerCase().includes(ue.trim().toLowerCase()):!1}function ti(ue){let{filters:me,prefixCls:we,filteredKeys:He,filterMultiple:ot,searchValue:rt,filterSearch:At}=ue;return me.map((wt,Et)=>{const Yt=String(wt.value);if(wt.children)return{key:Yt||Et,label:wt.text,popupClassName:`${we}-dropdown-submenu`,children:ti({filters:wt.children,prefixCls:we,filteredKeys:He,filterMultiple:ot,searchValue:rt,filterSearch:At})};const gn=ot?Hn.default:io.ZP,tn={key:wt.value!==void 0?Yt:Et,label:re.createElement(re.Fragment,null,re.createElement(gn,{checked:He.includes(Yt)}),re.createElement("span",null,wt.text))};return rt.trim()?typeof At=="function"?At(rt,wt)?tn:null:ei(rt,wt.text)?tn:null:tn})}function Ti(ue){var me,we;const{tablePrefixCls:He,prefixCls:ot,column:rt,dropdownPrefixCls:At,columnKey:wt,filterMultiple:Et,filterMode:Yt="menu",filterSearch:gn=!1,filterState:tn,triggerFilter:wn,locale:Bn,children:An,getPopupContainer:Gn}=ue,{filterDropdownOpen:kn,onFilterDropdownOpenChange:Kn,filterResetToDefaultFilteredValue:Zn,defaultFilteredValue:Yn,filterDropdownVisible:fa,onFilterDropdownVisibleChange:va}=rt,[la,La]=re.useState(!1),Ra=!!(tn&&(!((me=tn.filteredKeys)===null||me===void 0)&&me.length||tn.forceFiltered)),ea=ma=>{La(ma),Kn==null||Kn(ma),va==null||va(ma)},sa=(we=kn!=null?kn:fa)!==null&&we!==void 0?we:la,ta=tn==null?void 0:tn.filteredKeys,[Jn,ra]=bn(ta||[]),Fa=ma=>{let{selectedKeys:Oa}=ma;ra(Oa)},Ua=(ma,Oa)=>{let{node:_a,checked:Ya}=Oa;Fa(Et?{selectedKeys:ma}:{selectedKeys:Ya&&_a.key?[_a.key]:[]})};re.useEffect(()=>{la&&Fa({selectedKeys:ta||[]})},[ta]);const[Ia,Sa]=re.useState([]),Va=ma=>{Sa(ma)},[Ja,ho]=re.useState(""),no=ma=>{const{value:Oa}=ma.target;ho(Oa)};re.useEffect(()=>{la||ho("")},[la]);const Bo=ma=>{const Oa=ma&&ma.length?ma:null;if(Oa===null&&(!tn||!tn.filteredKeys)||(0,Fe.Z)(Oa,tn==null?void 0:tn.filteredKeys,!0))return null;wn({column:rt,key:wt,filteredKeys:Oa})},Ao=()=>{ea(!1),Bo(Jn())},Ta=function(){let{confirm:ma,closeDropdown:Oa}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{confirm:!1,closeDropdown:!1};ma&&Bo([]),Oa&&ea(!1),ho(""),ra(Zn?(Yn||[]).map(_a=>String(_a)):[])},Lo=function(){let{closeDropdown:ma}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{closeDropdown:!0};ma&&ea(!1),Bo(Jn())},oo=ma=>{ma&&ta!==void 0&&ra(ta||[]),ea(ma),!ma&&!rt.filterDropdown&&Ao()},Eo=Le()({[`${At}-menu-without-submenu`]:!Ri(rt.filters||[])}),yo=ma=>{if(ma.target.checked){const Oa=Br(rt==null?void 0:rt.filters).map(_a=>String(_a));ra(Oa)}else ra([])},Xo=ma=>{let{filters:Oa}=ma;return(Oa||[]).map((_a,Ya)=>{const Ko=String(_a.value),Zo={title:_a.text,key:_a.value!==void 0?Ko:Ya};return _a.children&&(Zo.children=Xo({filters:_a.children})),Zo})},ba=ma=>{var Oa;return Object.assign(Object.assign({},ma),{text:ma.title,value:ma.key,children:((Oa=ma.children)===null||Oa===void 0?void 0:Oa.map(_a=>ba(_a)))||[]})};let Ea;if(typeof rt.filterDropdown=="function")Ea=rt.filterDropdown({prefixCls:`${At}-custom`,setSelectedKeys:ma=>Fa({selectedKeys:ma}),selectedKeys:Jn(),confirm:Lo,clearFilters:Ta,filters:rt.filters,visible:sa,close:()=>{ea(!1)}});else if(rt.filterDropdown)Ea=rt.filterDropdown;else{const ma=Jn()||[],Oa=()=>(rt.filters||[]).length===0?re.createElement(Ha.Z,{image:Ha.Z.PRESENTED_IMAGE_SIMPLE,description:Bn.filterEmptyText,imageStyle:{height:24},style:{margin:0,padding:"16px 0"}}):Yt==="tree"?re.createElement(re.Fragment,null,re.createElement(nr,{filterSearch:gn,value:Ja,onChange:no,tablePrefixCls:He,locale:Bn}),re.createElement("div",{className:`${He}-filter-dropdown-tree`},Et?re.createElement(Hn.default,{checked:ma.length===Br(rt.filters).length,indeterminate:ma.length>0&&ma.length<Br(rt.filters).length,className:`${He}-filter-dropdown-checkall`,onChange:yo},Bn.filterCheckall):null,re.createElement(wo.default,{checkable:!0,selectable:!1,blockNode:!0,multiple:Et,checkStrictly:!Et,className:`${At}-menu`,onCheck:Ua,checkedKeys:ma,selectedKeys:ma,showIcon:!1,treeData:Xo({filters:rt.filters}),autoExpandParent:!0,defaultExpandAll:!0,filterTreeNode:Ja.trim()?Ya=>typeof gn=="function"?gn(Ja,ba(Ya)):ei(Ja,Ya.title):void 0}))):re.createElement(re.Fragment,null,re.createElement(nr,{filterSearch:gn,value:Ja,onChange:no,tablePrefixCls:He,locale:Bn}),re.createElement(wa.default,{selectable:!0,multiple:Et,prefixCls:`${At}-menu`,className:Eo,onSelect:Fa,onDeselect:Fa,selectedKeys:ma,getPopupContainer:Gn,openKeys:Ia,onOpenChange:Va,items:ti({filters:rt.filters||[],filterSearch:gn,prefixCls:ot,filteredKeys:Jn(),filterMultiple:Et,searchValue:Ja})})),_a=()=>Zn?(0,Fe.Z)((Yn||[]).map(Ya=>String(Ya)),ma,!0):ma.length===0;Ea=re.createElement(re.Fragment,null,Oa(),re.createElement("div",{className:`${ot}-dropdown-btns`},re.createElement(Mn.ZP,{type:"link",size:"small",disabled:_a(),onClick:()=>Ta()},Bn.filterReset),re.createElement(Mn.ZP,{type:"primary",size:"small",onClick:Ao},Bn.filterConfirm)))}rt.filterDropdown&&(Ea=re.createElement($a.J,{selectable:void 0},Ea));const Pa=()=>re.createElement(cr,{className:`${ot}-dropdown`},Ea);let ga;typeof rt.filterIcon=="function"?ga=rt.filterIcon(Ra):rt.filterIcon?ga=rt.filterIcon:ga=re.createElement(mn,null);const{direction:ro}=re.useContext(po.E_);return re.createElement("div",{className:`${ot}-column`},re.createElement("span",{className:`${He}-column-title`},An),re.createElement(zn.Z,{dropdownRender:Pa,trigger:["click"],open:sa,onOpenChange:oo,getPopupContainer:Gn,placement:ro==="rtl"?"bottomLeft":"bottomRight"},re.createElement("span",{role:"button",tabIndex:-1,className:Le()(`${ot}-trigger`,{active:Ra}),onClick:ma=>{ma.stopPropagation()}},ga)))}var Mi=Ti;function kr(ue,me,we){let He=[];return(ue||[]).forEach((ot,rt)=>{var At;const wt=Wa(rt,we);if(ot.filters||"filterDropdown"in ot||"onFilter"in ot)if("filteredValue"in ot){let Et=ot.filteredValue;"filterDropdown"in ot||(Et=(At=Et==null?void 0:Et.map(String))!==null&&At!==void 0?At:Et),He.push({column:ot,key:xa(ot,wt),filteredKeys:Et,forceFiltered:ot.filtered})}else He.push({column:ot,key:xa(ot,wt),filteredKeys:me&&ot.defaultFilteredValue?ot.defaultFilteredValue:void 0,forceFiltered:ot.filtered});"children"in ot&&(He=[].concat((0,sn.Z)(He),(0,sn.Z)(kr(ot.children,me,wt))))}),He}function ni(ue,me,we,He,ot,rt,At,wt){return we.map((Et,Yt)=>{const gn=Wa(Yt,wt),{filterMultiple:tn=!0,filterMode:wn,filterSearch:Bn}=Et;let An=Et;if(An.filters||An.filterDropdown){const Gn=xa(An,gn),kn=He.find(Kn=>{let{key:Zn}=Kn;return Gn===Zn});An=Object.assign(Object.assign({},An),{title:Kn=>re.createElement(Mi,{tablePrefixCls:ue,prefixCls:`${ue}-filter`,dropdownPrefixCls:me,column:An,columnKey:Gn,filterState:kn,filterMultiple:tn,filterMode:wn,filterSearch:Bn,triggerFilter:rt,locale:ot,getPopupContainer:At},pe(Et.title,Kn))})}return"children"in An&&(An=Object.assign(Object.assign({},An),{children:ni(ue,me,An.children,He,ot,rt,At,gn)})),An})}function ai(ue){const me={};return ue.forEach(we=>{let{key:He,filteredKeys:ot,column:rt}=we;const{filters:At,filterDropdown:wt}=rt;if(wt)me[He]=ot||null;else if(Array.isArray(ot)){const Et=Br(At);me[He]=Et.filter(Yt=>ot.includes(String(Yt)))}else me[He]=null}),me}function oi(ue,me){return me.reduce((we,He)=>{const{column:{onFilter:ot,filters:rt},filteredKeys:At}=He;return ot&&At&&At.length?we.filter(wt=>At.some(Et=>{const Yt=Br(rt),gn=Yt.findIndex(wn=>String(wn)===String(Et)),tn=gn!==-1?Yt[gn]:Et;return ot(tn,wt)})):we},ue)}const ri=ue=>ue.flatMap(me=>"children"in me?[me].concat((0,sn.Z)(ri(me.children||[]))):[me]);function ki(ue){let{prefixCls:me,dropdownPrefixCls:we,mergedColumns:He,onFilterChange:ot,getPopupContainer:rt,locale:At}=ue;const wt=re.useMemo(()=>ri(He||[]),[He]),[Et,Yt]=re.useState(()=>kr(wt,!0)),gn=re.useMemo(()=>{const An=kr(wt,!1);if(An.length===0)return An;let Gn=!0,kn=!0;if(An.forEach(Kn=>{let{filteredKeys:Zn}=Kn;Zn!==void 0?Gn=!1:kn=!1}),Gn){const Kn=(wt||[]).map((Zn,Yn)=>xa(Zn,Wa(Yn)));return Et.filter(Zn=>{let{key:Yn}=Zn;return Kn.includes(Yn)}).map(Zn=>{const Yn=wt[Kn.findIndex(fa=>fa===Zn.key)];return Object.assign(Object.assign({},Zn),{column:Object.assign(Object.assign({},Zn.column),Yn),forceFiltered:Yn.filtered})})}return An},[wt,Et]),tn=re.useMemo(()=>ai(gn),[gn]),wn=An=>{const Gn=gn.filter(kn=>{let{key:Kn}=kn;return Kn!==An.key});Gn.push(An),Yt(Gn),ot(ai(Gn),Gn)};return[An=>ni(me,we,An,gn,At,wn,rt),gn,tn]}var Zi=ki;function zi(ue,me,we){const He=re.useRef({});function ot(rt){if(!He.current||He.current.data!==ue||He.current.childrenColumnName!==me||He.current.getRowKey!==we){let wt=function(Et){Et.forEach((Yt,gn)=>{const tn=we(Yt,gn);At.set(tn,Yt),Yt&&typeof Yt=="object"&&me in Yt&&wt(Yt[me]||[])})};const At=new Map;wt(ue),He.current={data:ue,childrenColumnName:me,kvMap:At,getRowKey:we}}return He.current.kvMap.get(rt)}return[ot]}var Hi=te(50371),ji=function(ue,me){var we={};for(var He in ue)Object.prototype.hasOwnProperty.call(ue,He)&&me.indexOf(He)<0&&(we[He]=ue[He]);if(ue!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ot=0,He=Object.getOwnPropertySymbols(ue);ot<He.length;ot++)me.indexOf(He[ot])<0&&Object.prototype.propertyIsEnumerable.call(ue,He[ot])&&(we[He[ot]]=ue[He[ot]]);return we};const ii=10;function Gi(ue,me){const we={current:ue.current,pageSize:ue.pageSize};return Object.keys(me&&typeof me=="object"?me:{}).forEach(ot=>{const rt=ue[ot];typeof rt!="function"&&(we[ot]=rt)}),we}function Ki(ue,me,we){const He=we&&typeof we=="object"?we:{},{total:ot=0}=He,rt=ji(He,["total"]),[At,wt]=(0,re.useState)(()=>({current:"defaultCurrent"in rt?rt.defaultCurrent:1,pageSize:"defaultPageSize"in rt?rt.defaultPageSize:ii})),Et=(0,Hi.Z)(At,rt,{total:ot>0?ot:ue}),Yt=Math.ceil((ot||ue)/Et.pageSize);Et.current>Yt&&(Et.current=Yt||1);const gn=(wn,Bn)=>{wt({current:wn!=null?wn:1,pageSize:Bn||Et.pageSize})},tn=(wn,Bn)=>{var An;we&&((An=we.onChange)===null||An===void 0||An.call(we,wn,Bn)),gn(wn,Bn),me(wn,Bn||(Et==null?void 0:Et.pageSize))};return we===!1?[{},()=>{}]:[Object.assign(Object.assign({},Et),{onChange:tn}),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=[],di=(ue,me)=>{let we=[];return(me||[]).forEach(He=>{we.push(He),He&&typeof He=="object"&&ue in He&&(we=[].concat((0,sn.Z)(we),(0,sn.Z)(di(ue,He[ue]))))}),we};var Qi=(ue,me)=>{const{preserveSelectedRowKeys:we,selectedRowKeys:He,defaultSelectedRowKeys:ot,getCheckboxProps:rt,onChange:At,onSelect:wt,onSelectAll:Et,onSelectInvert:Yt,onSelectNone:gn,onSelectMultiple:tn,columnWidth:wn,type:Bn,selections:An,fixed:Gn,renderCell:kn,hideSelectAll:Kn,checkStrictly:Zn=!0}=me||{},{prefixCls:Yn,data:fa,pageData:va,getRecordByKey:la,getRowKey:La,expandType:Ra,childrenColumnName:ea,locale:sa,getPopupContainer:ta}=ue,[Jn,ra]=(0,Ji.Z)(He||ot||si,{value:He}),Fa=re.useRef(new Map),Ua=(0,re.useCallback)(ba=>{if(we){const Ea=new Map;ba.forEach(Pa=>{let ga=la(Pa);!ga&&Fa.current.has(Pa)&&(ga=Fa.current.get(Pa)),Ea.set(Pa,ga)}),Fa.current=Ea}},[la,we]);re.useEffect(()=>{Ua(Jn)},[Jn]);const{keyEntities:Ia}=(0,re.useMemo)(()=>{if(Zn)return{keyEntities:null};let ba=fa;if(we){const Ea=new Set(fa.map((ga,ro)=>La(ga,ro))),Pa=Array.from(Fa.current).reduce((ga,ro)=>{let[ma,Oa]=ro;return Ea.has(ma)?ga:ga.concat(Oa)},[]);ba=[].concat((0,sn.Z)(ba),(0,sn.Z)(Pa))}return(0,Vi.I8)(ba,{externalGetKey:La,childrenPropName:ea})},[fa,La,Zn,ea,we]),Sa=(0,re.useMemo)(()=>di(ea,va),[ea,va]),Va=(0,re.useMemo)(()=>{const ba=new Map;return Sa.forEach((Ea,Pa)=>{const ga=La(Ea,Pa),ro=(rt?rt(Ea):null)||{};ba.set(ga,ro)}),ba},[Sa,La,rt]),Ja=(0,re.useCallback)(ba=>{var Ea;return!!(!((Ea=Va.get(La(ba)))===null||Ea===void 0)&&Ea.disabled)},[Va,La]),[ho,no]=(0,re.useMemo)(()=>{if(Zn)return[Jn||[],[]];const{checkedKeys:ba,halfCheckedKeys:Ea}=(0,Zr.S)(Jn,!0,Ia,Ja);return[ba||[],Ea]},[Jn,Zn,Ia,Ja]),Bo=(0,re.useMemo)(()=>{const ba=Bn==="radio"?ho.slice(0,1):ho;return new Set(ba)},[ho,Bn]),Ao=(0,re.useMemo)(()=>Bn==="radio"?new Set:new Set(no),[no,Bn]),[Ta,Lo]=(0,re.useState)(null);re.useEffect(()=>{me||ra(si)},[!!me]);const oo=(0,re.useCallback)((ba,Ea)=>{let Pa,ga;Ua(ba),we?(Pa=ba,ga=ba.map(ro=>Fa.current.get(ro))):(Pa=[],ga=[],ba.forEach(ro=>{const ma=la(ro);ma!==void 0&&(Pa.push(ro),ga.push(ma))})),ra(Pa),At==null||At(Pa,ga,{type:Ea})},[ra,la,At,we]),Eo=(0,re.useCallback)((ba,Ea,Pa,ga)=>{if(wt){const ro=Pa.map(ma=>la(ma));wt(la(ba),Ea,ro,ga)}oo(Pa,"single")},[wt,la,oo]),yo=(0,re.useMemo)(()=>!An||Kn?null:(An===!0?[zr,Hr,jr]:An).map(Ea=>Ea===zr?{key:"all",text:sa.selectionAll,onSelect(){oo(fa.map((Pa,ga)=>La(Pa,ga)).filter(Pa=>{const ga=Va.get(Pa);return!(ga!=null&&ga.disabled)||Bo.has(Pa)}),"all")}}:Ea===Hr?{key:"invert",text:sa.selectInvert,onSelect(){const Pa=new Set(Bo);va.forEach((ro,ma)=>{const Oa=La(ro,ma),_a=Va.get(Oa);_a!=null&&_a.disabled||(Pa.has(Oa)?Pa.delete(Oa):Pa.add(Oa))});const ga=Array.from(Pa);Yt&&Yt(ga),oo(ga,"invert")}}:Ea===jr?{key:"none",text:sa.selectNone,onSelect(){gn==null||gn(),oo(Array.from(Bo).filter(Pa=>{const ga=Va.get(Pa);return ga==null?void 0:ga.disabled}),"none")}}:Ea).map(Ea=>Object.assign(Object.assign({},Ea),{onSelect:function(){for(var Pa,ga,ro=arguments.length,ma=new Array(ro),Oa=0;Oa<ro;Oa++)ma[Oa]=arguments[Oa];(ga=Ea.onSelect)===null||ga===void 0||(Pa=ga).call.apply(Pa,[Ea].concat(ma)),Lo(null)}})),[An,Bo,va,La,Yt,oo]);return[(0,re.useCallback)(ba=>{var Ea;if(!me)return ba.filter(so=>so!==Pr);let Pa=(0,sn.Z)(ba);const ga=new Set(Bo),ro=Sa.map(La).filter(so=>!Va.get(so).disabled),ma=ro.every(so=>ga.has(so)),Oa=ro.some(so=>ga.has(so)),_a=()=>{const so=[];ma?ro.forEach(bo=>{ga.delete(bo),so.push(bo)}):ro.forEach(bo=>{ga.has(bo)||(ga.add(bo),so.push(bo))});const co=Array.from(ga);Et==null||Et(!ma,co.map(bo=>la(bo)),so.map(bo=>la(bo))),oo(co,"all"),Lo(null)};let Ya;if(Bn!=="radio"){let so;if(yo){const Qa={getPopupContainer:ta,items:yo.map((Vo,Wo)=>{const{key:er,text:gr,onSelect:sr}=Vo;return{key:er!=null?er:Wo,onClick:()=>{sr==null||sr(ro)},label:gr}})};so=re.createElement("div",{className:`${Yn}-selection-extra`},re.createElement(zn.Z,{menu:Qa,getPopupContainer:ta},re.createElement("span",null,re.createElement(Ui.Z,null))))}const co=Sa.map((Qa,Vo)=>{const Wo=La(Qa,Vo),er=Va.get(Wo)||{};return Object.assign({checked:ga.has(Wo)},er)}).filter(Qa=>{let{disabled:Vo}=Qa;return Vo}),bo=!!co.length&&co.length===Sa.length,Io=bo&&co.every(Qa=>{let{checked:Vo}=Qa;return Vo}),Ro=bo&&co.some(Qa=>{let{checked:Vo}=Qa;return Vo});Ya=!Kn&&re.createElement("div",{className:`${Yn}-selection`},re.createElement(Hn.default,{checked:bo?Io:!!Sa.length&&ma,indeterminate:bo?!Io&&Ro:!ma&&Oa,onChange:_a,disabled:Sa.length===0||bo,"aria-label":so?"Custom selection":"Select all",skipGroup:!0}),so)}let Ko;Bn==="radio"?Ko=(so,co,bo)=>{const Io=La(co,bo),Ro=ga.has(Io);return{node:re.createElement(io.ZP,Object.assign({},Va.get(Io),{checked:Ro,onClick:Qa=>Qa.stopPropagation(),onChange:Qa=>{ga.has(Io)||Eo(Io,!0,[Io],Qa.nativeEvent)}})),checked:Ro}}:Ko=(so,co,bo)=>{var Io;const Ro=La(co,bo),Qa=ga.has(Ro),Vo=Ao.has(Ro),Wo=Va.get(Ro);let er;return Ra==="nest"?er=Vo:er=(Io=Wo==null?void 0:Wo.indeterminate)!==null&&Io!==void 0?Io:Vo,{node:re.createElement(Hn.default,Object.assign({},Wo,{indeterminate:er,checked:Qa,skipGroup:!0,onClick:gr=>gr.stopPropagation(),onChange:gr=>{let{nativeEvent:sr}=gr;const{shiftKey:Lr}=sr;let hr=-1,or=-1;if(Lr&&Zn){const Yo=new Set([Ta,Ro]);ro.some((Jo,To)=>{if(Yo.has(Jo))if(hr===-1)hr=To;else return or=To,!0;return!1})}if(or!==-1&&hr!==or&&Zn){const Yo=ro.slice(hr,or+1),Jo=[];Qa?Yo.forEach(xo=>{ga.has(xo)&&(Jo.push(xo),ga.delete(xo))}):Yo.forEach(xo=>{ga.has(xo)||(Jo.push(xo),ga.add(xo))});const To=Array.from(ga);tn==null||tn(!Qa,To.map(xo=>la(xo)),Jo.map(xo=>la(xo))),oo(To,"multiple")}else{const Yo=ho;if(Zn){const Jo=Qa?(0,li._5)(Yo,Ro):(0,li.L0)(Yo,Ro);Eo(Ro,!Qa,Jo,sr)}else{const Jo=(0,Zr.S)([].concat((0,sn.Z)(Yo),[Ro]),!0,Ia,Ja),{checkedKeys:To,halfCheckedKeys:xo}=Jo;let mr=To;if(Qa){const xr=new Set(To);xr.delete(Ro),mr=(0,Zr.S)(Array.from(xr),{checked:!1,halfCheckedKeys:xo},Ia,Ja).checkedKeys}Eo(Ro,!Qa,mr,sr)}}Lo(Qa?null:Ro)}})),checked:Qa}};const Zo=(so,co,bo)=>{const{node:Io,checked:Ro}=Ko(so,co,bo);return kn?kn(Ro,co,bo,Io):Io};if(!Pa.includes(Pr))if(Pa.findIndex(so=>{var co;return((co=so[On])===null||co===void 0?void 0:co.columnType)==="EXPAND_COLUMN"})===0){const[so,...co]=Pa;Pa=[so,Pr].concat((0,sn.Z)(co))}else Pa=[Pr].concat((0,sn.Z)(Pa));const lr=Pa.indexOf(Pr);Pa=Pa.filter((so,co)=>so!==Pr||co===lr);const Do=Pa[lr-1],ar=Pa[lr+1];let Oo=Gn;Oo===void 0&&((ar==null?void 0:ar.fixed)!==void 0?Oo=ar.fixed:(Do==null?void 0:Do.fixed)!==void 0&&(Oo=Do.fixed)),Oo&&Do&&((Ea=Do[On])===null||Ea===void 0?void 0:Ea.columnType)==="EXPAND_COLUMN"&&Do.fixed===void 0&&(Do.fixed=Oo);const $o=Le()(`${Yn}-selection-col`,{[`${Yn}-selection-col-with-dropdown`]:An&&Bn==="checkbox"}),br={fixed:Oo,width:wn,className:`${Yn}-selection-column`,title:me.columnTitle||Ya,render:Zo,onCell:me.onCell,[On]:{className:$o}};return Pa.map(so=>so===Pr?br:so)},[La,Sa,me,ho,Bo,Ao,wn,yo,Ra,Ta,Va,tn,Eo,Ja]),Bo]},Xi=te(89489),$i=te(59477),Yi=te(6848);const Dr="ascend",Gr="descend";function Or(ue){return typeof ue.sorter=="object"&&typeof ue.sorter.multiple=="number"?ue.sorter.multiple:!1}function ui(ue){return typeof ue=="function"?ue:ue&&typeof ue=="object"&&ue.compare?ue.compare:!1}function _i(ue,me){return me?ue[ue.indexOf(me)+1]:ue[0]}function Kr(ue,me,we){let He=[];function ot(rt,At){He.push({column:rt,key:xa(rt,At),multiplePriority:Or(rt),sortOrder:rt.sortOrder})}return(ue||[]).forEach((rt,At)=>{const wt=Wa(At,we);rt.children?("sortOrder"in rt&&ot(rt,wt),He=[].concat((0,sn.Z)(He),(0,sn.Z)(Kr(rt.children,me,wt)))):rt.sorter&&("sortOrder"in rt?ot(rt,wt):me&&rt.defaultSortOrder&&He.push({column:rt,key:xa(rt,wt),multiplePriority:Or(rt),sortOrder:rt.defaultSortOrder}))}),He}function ci(ue,me,we,He,ot,rt,At,wt){return(me||[]).map((Et,Yt)=>{const gn=Wa(Yt,wt);let tn=Et;if(tn.sorter){const wn=tn.sortDirections||ot,Bn=tn.showSorterTooltip===void 0?At:tn.showSorterTooltip,An=xa(tn,gn),Gn=we.find(Ra=>{let{key:ea}=Ra;return ea===An}),kn=Gn?Gn.sortOrder:null,Kn=_i(wn,kn);let Zn;if(Et.sortIcon)Zn=Et.sortIcon({sortOrder:kn});else{const Ra=wn.includes(Dr)&&re.createElement($i.Z,{className:Le()(`${ue}-column-sorter-up`,{active:kn===Dr})}),ea=wn.includes(Gr)&&re.createElement(Xi.Z,{className:Le()(`${ue}-column-sorter-down`,{active:kn===Gr})});Zn=re.createElement("span",{className:Le()(`${ue}-column-sorter`,{[`${ue}-column-sorter-full`]:!!(Ra&&ea)})},re.createElement("span",{className:`${ue}-column-sorter-inner`,"aria-hidden":"true"},Ra,ea))}const{cancelSort:Yn,triggerAsc:fa,triggerDesc:va}=rt||{};let la=Yn;Kn===Gr?la=va:Kn===Dr&&(la=fa);const La=typeof Bn=="object"?Bn:{title:la};tn=Object.assign(Object.assign({},tn),{className:Le()(tn.className,{[`${ue}-column-sort`]:kn}),title:Ra=>{const ea=re.createElement("div",{className:`${ue}-column-sorters`},re.createElement("span",{className:`${ue}-column-title`},pe(Et.title,Ra)),Zn);return Bn?re.createElement(Yi.Z,Object.assign({},La),ea):ea},onHeaderCell:Ra=>{const ea=Et.onHeaderCell&&Et.onHeaderCell(Ra)||{},sa=ea.onClick,ta=ea.onKeyDown;ea.onClick=Fa=>{He({column:Et,key:An,sortOrder:Kn,multiplePriority:Or(Et)}),sa==null||sa(Fa)},ea.onKeyDown=Fa=>{Fa.keyCode===pr.Z.ENTER&&(He({column:Et,key:An,sortOrder:Kn,multiplePriority:Or(Et)}),ta==null||ta(Fa))};const Jn=kt(Et.title,{}),ra=Jn==null?void 0:Jn.toString();return kn?ea["aria-sort"]=kn==="ascend"?"ascending":"descending":ea["aria-label"]=ra||"",ea.className=Le()(ea.className,`${ue}-column-has-sorters`),ea.tabIndex=0,Et.ellipsis&&(ea.title=(Jn!=null?Jn:"").toString()),ea}})}return"children"in tn&&(tn=Object.assign(Object.assign({},tn),{children:ci(ue,tn.children,we,He,ot,rt,At,gn)})),tn})}function gi(ue){const{column:me,sortOrder:we}=ue;return{column:me,order:we,field:me.dataIndex,columnKey:me.key}}function mi(ue){const me=ue.filter(we=>{let{sortOrder:He}=we;return He}).map(gi);return me.length===0&&ue.length?Object.assign(Object.assign({},gi(ue[ue.length-1])),{column:void 0}):me.length<=1?me[0]||{}:me}function Wr(ue,me,we){const He=me.slice().sort((At,wt)=>wt.multiplePriority-At.multiplePriority),ot=ue.slice(),rt=He.filter(At=>{let{column:{sorter:wt},sortOrder:Et}=At;return ui(wt)&&Et});return rt.length?ot.sort((At,wt)=>{for(let Et=0;Et<rt.length;Et+=1){const Yt=rt[Et],{column:{sorter:gn},sortOrder:tn}=Yt,wn=ui(gn);if(wn&&tn){const Bn=wn(At,wt,tn);if(Bn!==0)return tn===Dr?Bn:-Bn}}return 0}).map(At=>{const wt=At[we];return wt?Object.assign(Object.assign({},At),{[we]:Wr(wt,me,we)}):At}):ot}function qi(ue){let{prefixCls:me,mergedColumns:we,onSorterChange:He,sortDirections:ot,tableLocale:rt,showSorterTooltip:At}=ue;const[wt,Et]=re.useState(Kr(we,!0)),Yt=re.useMemo(()=>{let An=!0;const Gn=Kr(we,!1);if(!Gn.length)return wt;const kn=[];function Kn(Yn){An?kn.push(Yn):kn.push(Object.assign(Object.assign({},Yn),{sortOrder:null}))}let Zn=null;return Gn.forEach(Yn=>{Zn===null?(Kn(Yn),Yn.sortOrder&&(Yn.multiplePriority===!1?An=!1:Zn=!0)):(Zn&&Yn.multiplePriority!==!1||(An=!1),Kn(Yn))}),kn},[we,wt]),gn=re.useMemo(()=>{const An=Yt.map(Gn=>{let{column:kn,sortOrder:Kn}=Gn;return{column:kn,order:Kn}});return{sortColumns:An,sortColumn:An[0]&&An[0].column,sortOrder:An[0]&&An[0].order}},[Yt]);function tn(An){let Gn;An.multiplePriority===!1||!Yt.length||Yt[0].multiplePriority===!1?Gn=[An]:Gn=[].concat((0,sn.Z)(Yt.filter(kn=>{let{key:Kn}=kn;return Kn!==An.key})),[An]),Et(Gn),He(mi(Gn),Gn)}return[An=>ci(me,An,Yt,tn,ot,rt,At),Yt,gn,()=>mi(Yt)]}function fi(ue,me){return ue.map(we=>{const He=Object.assign({},we);return He.title=pe(we.title,me),"children"in He&&(He.children=fi(He.children,me)),He})}function el(ue){return[re.useCallback(we=>fi(we,ue),[ue])]}var tl=na((ue,me)=>{const{_renderTimes:we}=ue,{_renderTimes:He}=me;return we!==He}),nl=lo((ue,me)=>{const{_renderTimes:we}=ue,{_renderTimes:He}=me;return we!==He}),wr=te(64993),Nr=te(17313),al=te(83116),ol=te(37613),rl=ue=>{const{componentCls:me}=ue,we=`${ue.lineWidth}px ${ue.lineType} ${ue.tableBorderColor}`,He=(ot,rt,At)=>({[`&${me}-${ot}`]:{[`> ${me}-container`]:{[`> ${me}-content, > ${me}-body`]:{"\n > table > tbody > tr > th,\n > table > tbody > tr > td\n ":{[`> ${me}-expanded-row-fixed`]:{margin:`-${rt}px -${At+ue.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:`-${ue.tablePaddingVertical}px -${ue.tablePaddingHorizontal+ue.lineWidth}px`,"&::after":{position:"absolute",top:0,insetInlineEnd:ue.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",ue.tablePaddingVerticalMiddle,ue.tablePaddingHorizontalMiddle)),He("small",ue.tablePaddingVerticalSmall,ue.tablePaddingHorizontalSmall)),{[`> ${me}-footer`]:{border:we,borderTop:0}}),[`${me}-cell`]:{[`${me}-container:first-child`]:{borderTop:0},"&-scrollbar:not([rowspan])":{boxShadow:`0 ${ue.lineWidth}px 0 ${ue.lineWidth}px ${ue.tableHeaderBg}`}},[`${me}-bordered ${me}-cell-scrollbar`]:{borderInlineEnd:we}}}},il=ue=>{const{componentCls:me}=ue;return{[`${me}-wrapper`]:{[`${me}-cell-ellipsis`]:Object.assign(Object.assign({},Nr.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=ue=>{const{componentCls:me}=ue;return{[`${me}-wrapper`]:{[`${me}-tbody > tr${me}-placeholder`]:{textAlign:"center",color:ue.colorTextDisabled,"\n &:hover > th,\n &:hover > td,\n ":{background:ue.colorBgContainer}}}}},sl=te(15969),dl=ue=>{const{componentCls:me,antCls:we,controlInteractiveSize:He,motionDurationSlow:ot,lineWidth:rt,paddingXS:At,lineType:wt,tableBorderColor:Et,tableExpandIconBg:Yt,tableExpandColumnWidth:gn,borderRadius:tn,fontSize:wn,fontSizeSM:Bn,lineHeight:An,tablePaddingVertical:Gn,tablePaddingHorizontal:kn,tableExpandedRowBg:Kn,paddingXXS:Zn}=ue,Yn=He/2-rt,fa=Yn*2+rt*3,va=`${rt}px ${wt} ${Et}`,la=Zn-rt;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)(ue)),{position:"relative",float:"left",boxSizing:"border-box",width:fa,height:fa,padding:0,color:"inherit",lineHeight:`${fa}px`,background:Yt,border:va,borderRadius:tn,transform:`scale(${He/fa})`,transition:`all ${ot}`,userSelect:"none","&:focus, &:hover, &:active":{borderColor:"currentcolor"},"&::before, &::after":{position:"absolute",background:"currentcolor",transition:`transform ${ot} ease-out`,content:'""'},"&::before":{top:Yn,insetInlineEnd:la,insetInlineStart:la,height:rt},"&::after":{top:la,bottom:la,insetInlineStart:Yn,width:rt,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:(wn*An-rt*3)/2-Math.ceil((Bn*1.4-rt*3)/2),marginInlineEnd:At},[`tr${me}-expanded-row`]:{"&, &:hover":{"> th, > td":{background:Kn}},[`${we}-descriptions-view`]:{display:"flex",table:{flex:"auto",width:"auto"}}},[`${me}-expanded-row-fixed`]:{position:"relative",margin:`-${Gn}px -${kn}px`,padding:`${Gn}px ${kn}px`}}}},ul=ue=>{const{componentCls:me,antCls:we,iconCls:He,tableFilterDropdownWidth:ot,tableFilterDropdownSearchWidth:rt,paddingXXS:At,paddingXS:wt,colorText:Et,lineWidth:Yt,lineType:gn,tableBorderColor:tn,tableHeaderIconColor:wn,fontSizeSM:Bn,tablePaddingHorizontal:An,borderRadius:Gn,motionDurationSlow:kn,colorTextDescription:Kn,colorPrimary:Zn,tableHeaderFilterActiveBg:Yn,colorTextDisabled:fa,tableFilterDropdownBg:va,tableFilterDropdownHeight:la,controlItemBgHover:La,controlItemBgActive:Ra,boxShadowSecondary:ea,filterDropdownMenuBg:sa}=ue,ta=`${we}-dropdown`,Jn=`${me}-filter-dropdown`,ra=`${we}-tree`,Fa=`${Yt}px ${gn} ${tn}`;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 ${-An/2}px`,padding:`0 ${At}px`,color:wn,fontSize:Bn,borderRadius:Gn,cursor:"pointer",transition:`all ${kn}`,"&:hover":{color:Kn,background:Yn},"&.active":{color:Zn}}}},{[`${we}-dropdown`]:{[Jn]:Object.assign(Object.assign({},(0,Nr.Wf)(ue)),{minWidth:ot,backgroundColor:va,borderRadius:Gn,boxShadow:ea,overflow:"hidden",[`${ta}-menu`]:{maxHeight:la,overflowX:"hidden",border:0,boxShadow:"none",borderRadius:"unset",backgroundColor:sa,"&:empty::after":{display:"block",padding:`${wt}px 0`,color:fa,fontSize:Bn,textAlign:"center",content:'"Not Found"'}},[`${Jn}-tree`]:{paddingBlock:`${wt}px 0`,paddingInline:wt,[ra]:{padding:0},[`${ra}-treenode ${ra}-node-content-wrapper:hover`]:{backgroundColor:La},[`${ra}-treenode-checkbox-checked ${ra}-node-content-wrapper`]:{"&, &:hover":{backgroundColor:Ra}}},[`${Jn}-search`]:{padding:wt,borderBottom:Fa,"&-input":{input:{minWidth:rt},[He]:{color:fa}}},[`${Jn}-checkall`]:{width:"100%",marginBottom:At,marginInlineStart:At},[`${Jn}-btns`]:{display:"flex",justifyContent:"space-between",padding:`${wt-Yt}px ${wt}px`,overflow:"hidden",borderTop:Fa}})}},{[`${we}-dropdown ${Jn}, ${Jn}-submenu`]:{[`${we}-checkbox-wrapper + span`]:{paddingInlineStart:wt,color:Et},"> ul":{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]},cl=ue=>{const{componentCls:me,lineWidth:we,colorSplit:He,motionDurationSlow:ot,zIndexTableFixed:rt,tableBg:At,zIndexTableSticky:wt}=ue,Et=He;return{[`${me}-wrapper`]:{[`
${me}-cell-fix-left,
${me}-cell-fix-right
`]:{position:"sticky !important",zIndex:rt,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 ${ot}`,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 ${ot}`,content:'""',pointerEvents:"none"},[`${me}-container`]:{"&::before, &::after":{position:"absolute",top:0,bottom:0,zIndex:wt+1,width:30,transition:`box-shadow ${ot}`,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 ${Et}`}},[`
${me}-cell-fix-left-first::after,
${me}-cell-fix-left-last::after
`]:{boxShadow:`inset 10px 0 8px -8px ${Et}`},[`${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 ${Et}`}},[`
${me}-cell-fix-right-first::after,
${me}-cell-fix-right-last::after
`]:{boxShadow:`inset -10px 0 8px -8px ${Et}`}}}}},gl=ue=>{const{componentCls:me,antCls:we}=ue;return{[`${me}-wrapper`]:{[`${me}-pagination${we}-pagination`]:{margin:`${ue.margin}px 0`},[`${me}-pagination`]:{display:"flex",flexWrap:"wrap",rowGap:ue.paddingXS,"> *":{flex:"none"},"&-left":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-right":{justifyContent:"flex-end"}}}}},ml=ue=>{const{componentCls:me,tableRadius:we}=ue;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=ue=>{const{componentCls:me}=ue;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=ue=>{const{componentCls:me,antCls:we,iconCls:He,fontSizeIcon:ot,padding:rt,paddingXS:At,tableHeaderIconColor:wt,tableHeaderIconColorHover:Et,tableSelectionColumnWidth:Yt}=ue;return{[`${me}-wrapper`]:{[`${me}-selection-col`]:{width:Yt,[`&${me}-selection-col-with-dropdown`]:{width:Yt+ot+rt/4}},[`${me}-bordered ${me}-selection-col`]:{width:Yt+At*2,[`&${me}-selection-col-with-dropdown`]:{width:Yt+ot+rt/4+At*2}},[`
table tr th${me}-selection-column,
table tr td${me}-selection-column
`]:{paddingInlineEnd:ue.paddingXS,paddingInlineStart:ue.paddingXS,textAlign:"center",[`${we}-radio-wrapper`]:{marginInlineEnd:0}},[`table tr th${me}-selection-column${me}-cell-fix-left`]:{zIndex:ue.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 ${ue.motionDurationSlow}`,marginInlineStart:"100%",paddingInlineStart:`${ue.tablePaddingHorizontal/4}px`,[He]:{color:wt,fontSize:ot,verticalAlign:"baseline","&:hover":{color:Et}}}}}},vl=ue=>{const{componentCls:me}=ue,we=(He,ot,rt,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:`${ot}px ${rt}px`},[`${me}-filter-trigger`]:{marginInlineEnd:`-${rt/2}px`},[`${me}-expanded-row-fixed`]:{margin:`-${ot}px -${rt}px`},[`${me}-tbody`]:{[`${me}-wrapper:only-child ${me}`]:{marginBlock:`-${ot}px`,marginInline:`${ue.tableExpandColumnWidth-rt}px -${rt}px`}},[`${me}-selection-column`]:{paddingInlineStart:`${rt/4}px`}}});return{[`${me}-wrapper`]:Object.assign(Object.assign({},we("middle",ue.tablePaddingVerticalMiddle,ue.tablePaddingHorizontalMiddle,ue.tableFontSizeMiddle)),we("small",ue.tablePaddingVerticalSmall,ue.tablePaddingHorizontalSmall,ue.tableFontSizeSmall))}},hl=ue=>{const{componentCls:me,marginXXS:we,fontSizeIcon:He,tableHeaderIconColor:ot,tableHeaderIconColorHover:rt}=ue;return{[`${me}-wrapper`]:{[`${me}-thead th${me}-column-has-sorters`]:{outline:"none",cursor:"pointer",transition:`all ${ue.motionDurationSlow}`,"&:hover":{background:ue.tableHeaderSortHoverBg,"&::before":{backgroundColor:"transparent !important"}},"&:focus-visible":{color:ue.colorPrimary},[`
&${me}-cell-fix-left:hover,
&${me}-cell-fix-right:hover
`]:{background:ue.tableFixedHeaderSortActiveBg}},[`${me}-thead th${me}-column-sort`]:{background:ue.tableHeaderSortBg,"&::before":{backgroundColor:"transparent !important"}},[`td${me}-column-sort`]:{background:ue.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:ot,fontSize:0,transition:`color ${ue.motionDurationSlow}`,"&-inner":{display:"inline-flex",flexDirection:"column",alignItems:"center"},"&-up, &-down":{fontSize:He,"&.active":{color:ue.colorPrimary}},[`${me}-column-sorter-up + ${me}-column-sorter-down`]:{marginTop:"-0.3em"}},[`${me}-column-sorters:hover ${me}-column-sorter`]:{color:rt}}}},Sl=ue=>{const{componentCls:me,opacityLoading:we,tableScrollThumbBg:He,tableScrollThumbBgHover:ot,tableScrollThumbSize:rt,tableScrollBg:At,zIndexTableSticky:wt,stickyScrollBarBorderRadius:Et}=ue,Yt=`${ue.lineWidth}px ${ue.lineType} ${ue.tableBorderColor}`;return{[`${me}-wrapper`]:{[`${me}-sticky`]:{"&-holder":{position:"sticky",zIndex:wt,background:ue.colorBgContainer},"&-scroll":{position:"sticky",bottom:0,height:`${rt}px !important`,zIndex:wt,display:"flex",alignItems:"center",background:At,borderTop:Yt,opacity:we,"&:hover":{transformOrigin:"center bottom"},"&-bar":{height:rt,backgroundColor:He,borderRadius:Et,transition:`all ${ue.motionDurationSlow}, transform none`,position:"absolute",bottom:0,"&:hover, &-active":{backgroundColor:ot}}}}}}},pi=ue=>{const{componentCls:me,lineWidth:we,tableBorderColor:He}=ue,ot=`${we}px ${ue.lineType} ${He}`;return{[`${me}-wrapper`]:{[`${me}-summary`]:{position:"relative",zIndex:ue.zIndexTableFixed,background:ue.tableBg,"> tr":{"> th, > td":{borderBottom:ot}}},[`div${me}-summary`]:{boxShadow:`0 -${we}px 0 ${He}`}}}},Pl=ue=>{const{componentCls:me}=ue,we=`${ue.lineWidth}px ${ue.lineType} ${ue.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) - ${ue.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:-ue.lineWidth,borderInlineStart:we}}}}}}};const yl=ue=>{const{componentCls:me,fontWeightStrong:we,tablePaddingVertical:He,tablePaddingHorizontal:ot,lineWidth:rt,lineType:At,tableBorderColor:wt,tableFontSize:Et,tableBg:Yt,tableRadius:gn,tableHeaderTextColor:tn,motionDurationMid:wn,tableHeaderBg:Bn,tableHeaderCellSplitColor:An,tableRowHoverBg:Gn,tableSelectedRowBg:kn,tableSelectedRowHoverBg:Kn,tableFooterTextColor:Zn,tableFooterBg:Yn,paddingContentVerticalLG:fa}=ue,va=`${rt}px ${At} ${wt}`;return{[`${me}-wrapper`]:Object.assign(Object.assign({clear:"both",maxWidth:"100%"},(0,Nr.dF)()),{[me]:Object.assign(Object.assign({},(0,Nr.Wf)(ue)),{fontSize:Et,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:`${fa}px ${ot}px`,overflowWrap:"break-word"},[`${me}-title`]:{padding:`${He}px ${ot}px`},[`${me}-thead`]:{"\n > tr > th,\n > tr > td\n ":{position:"relative",color:tn,fontWeight:we,textAlign:"start",background:Bn,borderBottom:va,transition:`background ${wn} 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:An,transform:"translateY(-50%)",transition:`background-color ${wn}`,content:'""'}},"> tr:not(:last-child) > th[colspan]":{borderBottom:0}},[`${me}-tbody`]:{"> tr":{"> th, > td":{transition:`background ${wn}, border-color ${wn}`,borderBottom:va,[`
> ${me}-wrapper:only-child,
> ${me}-expanded-row-fixed > ${me}-wrapper:only-child
`]:{[me]:{marginBlock:`-${He}px`,marginInline:`${ue.tableExpandColumnWidth-ot}px -${ot}px`,[`${me}-tbody > tr:last-child > td`]:{borderBottom:0,"&:first-child, &:last-child":{borderRadius:0}}}}},"> th":{position:"relative",color:tn,fontWeight:we,textAlign:"start",background:Bn,borderBottom:va,transition:`background ${wn} ease`},[`
&${me}-row:hover > th,
&${me}-row:hover > td,
> th${me}-cell-row-hover,
> td${me}-cell-row-hover
`]:{background:Gn},[`&${me}-row-selected`]:{"> th, > td":{background:kn},"&:hover > th, &:hover > td":{background:Kn}}}},[`${me}-footer`]:{padding:`${He}px ${ot}px`,color:Zn,background:Yn}})}};var El=(0,al.Z)("Table",ue=>{const{colorTextHeading:me,colorSplit:we,colorIcon:He,colorIconHover:ot,opacityLoading:rt,colorBgContainer:At,controlInteractiveSize:wt,headerBg:Et,headerColor:Yt,headerSortActiveBg:gn,headerSortHoverBg:tn,bodySortBg:wn,rowHoverBg:Bn,rowSelectedBg:An,rowSelectedHoverBg:Gn,rowExpandedBg:kn,cellPaddingBlock:Kn,cellPaddingInline:Zn,cellPaddingBlockMD:Yn,cellPaddingInlineMD:fa,cellPaddingBlockSM:va,cellPaddingInlineSM:la,borderColor:La,footerBg:Ra,footerColor:ea,headerBorderRadius:sa,cellFontSize:ta,cellFontSizeMD:Jn,cellFontSizeSM:ra,headerSplitColor:Fa,fixedHeaderSortActiveBg:Ua,headerFilterHoverBg:Ia,filterDropdownBg:Sa,expandIconBg:Va,selectionColumnWidth:Ja,stickyScrollBarBg:ho}=ue,no=new wr.C(He),Bo=new wr.C(ot),Ao=2,Ta=(0,ol.TS)(ue,{tableFontSize:ta,tableBg:At,tableRadius:sa,tablePaddingVertical:Kn,tablePaddingHorizontal:Zn,tablePaddingVerticalMiddle:Yn,tablePaddingHorizontalMiddle:fa,tablePaddingVerticalSmall:va,tablePaddingHorizontalSmall:la,tableBorderColor:La,tableHeaderTextColor:Yt,tableHeaderBg:Et,tableFooterTextColor:ea,tableFooterBg:Ra,tableHeaderCellSplitColor:Fa,tableHeaderSortBg:gn,tableHeaderSortHoverBg:tn,tableHeaderIconColor:no.clone().setAlpha(no.getAlpha()*rt).toRgbString(),tableHeaderIconColorHover:Bo.clone().setAlpha(Bo.getAlpha()*rt).toRgbString(),tableBodySortBg:wn,tableFixedHeaderSortActiveBg:Ua,tableHeaderFilterActiveBg:Ia,tableFilterDropdownBg:Sa,tableRowHoverBg:Bn,tableSelectedRowBg:An,tableSelectedRowHoverBg:Gn,zIndexTableFixed:Ao,zIndexTableSticky:Ao+1,tableFontSizeMiddle:Jn,tableFontSizeSmall:ra,tableSelectionColumnWidth:Ja,tableExpandIconBg:Va,tableExpandColumnWidth:wt+2*ue.padding,tableExpandedRowBg:kn,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:ho,tableScrollThumbBgHover:me,tableScrollBg:we});return[yl(Ta),gl(Ta),pi(Ta),hl(Ta),ul(Ta),rl(Ta),ml(Ta),dl(Ta),pi(Ta),ll(Ta),pl(Ta),cl(Ta),Sl(Ta),il(Ta),vl(Ta),fl(Ta),Pl(Ta)]},ue=>{const{colorFillAlter:me,colorBgContainer:we,colorTextHeading:He,colorFillSecondary:ot,colorFillContent:rt,controlItemBgActive:At,controlItemBgActiveHover:wt,padding:Et,paddingSM:Yt,paddingXS:gn,colorBorderSecondary:tn,borderRadiusLG:wn,fontSize:Bn,controlHeight:An,colorTextPlaceholder:Gn}=ue,kn=new wr.C(ot).onBackground(we).toHexShortString(),Kn=new wr.C(rt).onBackground(we).toHexShortString(),Zn=new wr.C(me).onBackground(we).toHexShortString();return{headerBg:Zn,headerColor:He,headerSortActiveBg:kn,headerSortHoverBg:Kn,bodySortBg:Zn,rowHoverBg:Zn,rowSelectedBg:At,rowSelectedHoverBg:wt,rowExpandedBg:me,cellPaddingBlock:Et,cellPaddingInline:Et,cellPaddingBlockMD:Yt,cellPaddingInlineMD:gn,cellPaddingBlockSM:gn,cellPaddingInlineSM:gn,borderColor:tn,headerBorderRadius:wn,footerBg:Zn,footerColor:He,cellFontSize:Bn,cellFontSizeMD:Bn,cellFontSizeSM:Bn,headerSplitColor:tn,fixedHeaderSortActiveBg:kn,headerFilterHoverBg:rt,filterDropdownMenuBg:we,filterDropdownBg:we,expandIconBg:we,selectionColumnWidth:An,stickyScrollBarBg:Gn,stickyScrollBarBorderRadius:100}});const Cl=[],bl=(ue,me)=>{const{prefixCls:we,className:He,rootClassName:ot,style:rt,size:At,bordered:wt,dropdownPrefixCls:Et,dataSource:Yt,pagination:gn,rowSelection:tn,rowKey:wn="key",rowClassName:Bn,columns:An,children:Gn,childrenColumnName:kn,onChange:Kn,getPopupContainer:Zn,loading:Yn,expandIcon:fa,expandable:va,expandedRowRender:la,expandIconColumnIndex:La,indentSize:Ra,scroll:ea,sortDirections:sa,locale:ta,showSorterTooltip:Jn=!0,virtual:ra}=ue,Fa=re.useMemo(()=>An||Re(Gn),[An,Gn]),Ua=re.useMemo(()=>Fa.some(qa=>qa.responsive),[Fa]),Ia=(0,Mo.Z)(Ua),Sa=re.useMemo(()=>{const qa=new Set(Object.keys(Ia).filter(So=>Ia[So]));return Fa.filter(So=>!So.responsive||So.responsive.some(Ho=>qa.has(Ho)))},[Fa,Ia]),Va=(0,Qo.Z)(ue,["className","style","columns"]),{locale:Ja=Go.Z,direction:ho,table:no,renderEmpty:Bo,getPrefixCls:Ao,getPopupContainer:Ta}=re.useContext(po.E_),Lo=(0,jo.Z)(At),oo=Object.assign(Object.assign({},Ja.Table),ta),Eo=Yt||Cl,yo=Ao("table",we),Xo=Ao("dropdown",Et),ba=Object.assign({childrenColumnName:kn,expandIconColumnIndex:La},va),{childrenColumnName:Ea="children"}=ba,Pa=re.useMemo(()=>Eo.some(qa=>qa==null?void 0:qa[Ea])?"nest":la||va&&va.expandedRowRender?"row":null,[Eo]),ga={body:re.useRef()},ro=re.useMemo(()=>typeof wn=="function"?wn:qa=>qa==null?void 0:qa[wn],[wn]),[ma]=zi(Eo,Ea,ro),Oa={},_a=function(qa,So){let Ho=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;var Fo,Uo,_o;const qo=Object.assign(Object.assign({},Oa),qa);Ho&&((Fo=Oa.resetPagination)===null||Fo===void 0||Fo.call(Oa),!((Uo=qo.pagination)===null||Uo===void 0)&&Uo.current&&(qo.pagination.current=1),gn&&gn.onChange&&gn.onChange(1,(_o=qo.pagination)===null||_o===void 0?void 0:_o.pageSize)),ea&&ea.scrollToFirstRowOnChange!==!1&&ga.body.current&&(0,zo.Z)(0,{getContainer:()=>ga.body.current}),Kn==null||Kn(qo.pagination,qo.filters,qo.sorter,{currentDataSource:oi(Wr(Eo,qo.sorterStates,Ea),qo.filterStates),action:So})},Ya=(qa,So)=>{_a({sorter:qa,sorterStates:So},"sort",!1)},[Ko,Zo,lr,Do]=qi({prefixCls:yo,mergedColumns:Sa,onSorterChange:Ya,sortDirections:sa||["ascend","descend"],tableLocale:oo,showSorterTooltip:Jn}),ar=re.useMemo(()=>Wr(Eo,Zo,Ea),[Eo,Zo]);Oa.sorter=Do(),Oa.sorterStates=Zo;const Oo=(qa,So)=>{_a({filters:qa,filterStates:So},"filter",!0)},[$o,br,so]=Zi({prefixCls:yo,locale:oo,dropdownPrefixCls:Xo,mergedColumns:Sa,onFilterChange:Oo,getPopupContainer:Zn||Ta}),co=oi(ar,br);Oa.filters=so,Oa.filterStates=br;const bo=re.useMemo(()=>{const qa={};return Object.keys(so).forEach(So=>{so[So]!==null&&(qa[So]=so[So])}),Object.assign(Object.assign({},lr),{filters:qa})},[lr,so]),[Io]=el(bo),Ro=(qa,So)=>{_a({pagination:Object.assign(Object.assign({},Oa.pagination),{current:qa,pageSize:So})},"paginate")},[Qa,Vo]=Wi(co.length,Ro,gn);Oa.pagination=gn===!1?{}:Gi(Qa,gn),Oa.resetPagination=Vo;const Wo=re.useMemo(()=>{if(gn===!1||!Qa.pageSize)return co;const{current:qa=1,total:So,pageSize:Ho=ii}=Qa;return co.length<So?co.length>Ho?co.slice((qa-1)*Ho,qa*Ho):co:co.slice((qa-1)*Ho,qa*Ho)},[!!gn,co,Qa&&Qa.current,Qa&&Qa.pageSize,Qa&&Qa.total]),[er,gr]=Qi({prefixCls:yo,data:co,pageData:Wo,getRowKey:ro,getRecordByKey:ma,expandType:Pa,childrenColumnName:Ea,locale:oo,getPopupContainer:Zn||Ta},tn),sr=(qa,So,Ho)=>{let Fo;return typeof Bn=="function"?Fo=Le()(Bn(qa,So,Ho)):Fo=Le()(Bn),Le()({[`${yo}-row-selected`]:gr.has(ro(qa,So))},Fo)};ba.__PARENT_RENDER_ICON__=ba.expandIcon,ba.expandIcon=ba.expandIcon||fa||jn(oo),Pa==="nest"&&ba.expandIconColumnIndex===void 0?ba.expandIconColumnIndex=tn?1:0:ba.expandIconColumnIndex>0&&tn&&(ba.expandIconColumnIndex-=1),typeof ba.indentSize!="number"&&(ba.indentSize=typeof Ra=="number"?Ra:15);const Lr=re.useCallback(qa=>Io(er($o(Ko(qa)))),[Ko,$o,er]);let hr,or;if(gn!==!1&&(Qa!=null&&Qa.total)){let qa;Qa.size?qa=Qa.size:qa=Lo==="small"||Lo==="middle"?"small":void 0;const So=Uo=>re.createElement(tr.Z,Object.assign({},Qa,{className:Le()(`${yo}-pagination ${yo}-pagination-${Uo}`,Qa.className),size:qa})),Ho=ho==="rtl"?"left":"right",{position:Fo}=Qa;if(Fo!==null&&Array.isArray(Fo)){const Uo=Fo.find(Sr=>Sr.includes("top")),_o=Fo.find(Sr=>Sr.includes("bottom")),qo=Fo.every(Sr=>`${Sr}`=="none");!Uo&&!_o&&!qo&&(or=So(Ho)),Uo&&(hr=So(Uo.toLowerCase().replace("top",""))),_o&&(or=So(_o.toLowerCase().replace("bottom","")))}else or=So(Ho)}let Yo;typeof Yn=="boolean"?Yo={spinning:Yn}:typeof Yn=="object"&&(Yo=Object.assign({spinning:!0},Yn));const[Jo,To]=El(yo),[,xo]=(0,In.Z)(),mr=Le()(`${yo}-wrapper`,no==null?void 0:no.className,{[`${yo}-wrapper-rtl`]:ho==="rtl"},He,ot,To),xr=Object.assign(Object.assign({},no==null?void 0:no.style),rt),yr=ta&&ta.emptyText||(Bo==null?void 0:Bo("Table"))||re.createElement(vo.Z,{componentName:"Table"}),fr=ra?nl:tl,Ir={},Ur=re.useMemo(()=>{const{fontSize:qa,lineHeight:So,padding:Ho,paddingXS:Fo,paddingSM:Uo}=xo,_o=Math.floor(qa*So);switch(Lo){case"large":return Ho*2+_o;case"small":return Fo*2+_o;default:return Uo*2+_o}},[xo,Lo]);return ra&&(Ir.listItemHeight=Ur),Jo(re.createElement("div",{ref:me,className:mr,style:xr},re.createElement(ia.Z,Object.assign({spinning:!1},Yo),hr,re.createElement(fr,Object.assign({},Ir,Va,{columns:Sa,direction:ho,expandable:ba,prefixCls:yo,className:Le()({[`${yo}-middle`]:Lo==="middle",[`${yo}-small`]:Lo==="small",[`${yo}-bordered`]:wt,[`${yo}-empty`]:Eo.length===0}),data:Wo,rowKey:ro,rowClassName:sr,emptyText:yr,internalHooks:ie,internalRefs:ga,transformColumns:Lr})),or)))};var xl=re.forwardRef(bl);const Fl=(ue,me)=>{const we=re.useRef(0);return we.current+=1,re.createElement(xl,Object.assign({},ue,{ref:me,_renderTimes:we.current}))},vr=re.forwardRef(Fl);vr.SELECTION_COLUMN=Pr,vr.EXPAND_COLUMN=ee,vr.SELECTION_ALL=zr,vr.SELECTION_INVERT=Hr,vr.SELECTION_NONE=jr,vr.Column=ao,vr.ColumnGroup=No,vr.Summary=Se;var Bl=vr,Al=Bl},12563:function(bt,It,te){"use strict";te.d(It,{default:function(){return Oe}});var ee=te(59301),ie=te(99267),Ae=te(92310),Ge=te.n(Ae),Ce=te(36785),Fe=te(47729),re=te(14088),Je=te(36355),Qe=te(17313),Ze=te(37613),lt=te(83116);const pt=ge=>{const{paddingXXS:it,lineWidth:Le,tagPaddingHorizontal:Ke,componentCls:ye}=ge,je=Ke-Le,qe=it-Le;return{[ye]:Object.assign(Object.assign({},(0,Qe.Wf)(ge)),{display:"inline-block",height:"auto",marginInlineEnd:ge.marginXS,paddingInline:je,fontSize:ge.tagFontSize,lineHeight:ge.tagLineHeight,whiteSpace:"nowrap",background:ge.defaultBg,border:`${ge.lineWidth}px ${ge.lineType} ${ge.colorBorder}`,borderRadius:ge.borderRadiusSM,opacity:1,transition:`all ${ge.motionDurationMid}`,textAlign:"start",position:"relative",[`&${ye}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:ge.defaultColor},[`${ye}-close-icon`]:{marginInlineStart:qe,color:ge.colorTextDescription,fontSize:ge.tagIconSize,cursor:"pointer",transition:`all ${ge.motionDurationMid}`,"&:hover":{color:ge.colorTextHeading}},[`&${ye}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${ge.iconCls}-close, ${ge.iconCls}-close:hover`]:{color:ge.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${ye}-checkable-checked):hover`]:{color:ge.colorPrimary,backgroundColor:ge.colorFillSecondary},"&:active, &-checked":{color:ge.colorTextLightSolid},"&-checked":{backgroundColor:ge.colorPrimary,"&:hover":{backgroundColor:ge.colorPrimaryHover}},"&:active":{backgroundColor:ge.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${ge.iconCls} + span, > span + ${ge.iconCls}`]:{marginInlineStart:je}}),[`${ye}-borderless`]:{borderColor:"transparent",background:ge.tagBorderlessBg}}},Te=ge=>{const{lineWidth:it,fontSizeIcon:Le}=ge,Ke=ge.fontSizeSM,ye=`${ge.lineHeightSM*Ke}px`;return(0,Ze.TS)(ge,{tagFontSize:Ke,tagLineHeight:ye,tagIconSize:Le-2*it,tagPaddingHorizontal:8,tagBorderlessBg:ge.colorFillTertiary})},oe=ge=>({defaultBg:ge.colorFillQuaternary,defaultColor:ge.colorText});var y=(0,lt.Z)("Tag",ge=>{const it=Te(ge);return pt(it)},oe),a=function(ge,it){var Le={};for(var Ke in ge)Object.prototype.hasOwnProperty.call(ge,Ke)&&it.indexOf(Ke)<0&&(Le[Ke]=ge[Ke]);if(ge!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ye=0,Ke=Object.getOwnPropertySymbols(ge);ye<Ke.length;ye++)it.indexOf(Ke[ye])<0&&Object.prototype.propertyIsEnumerable.call(ge,Ke[ye])&&(Le[Ke[ye]]=ge[Ke[ye]]);return Le},E=ge=>{const{prefixCls:it,style:Le,className:Ke,checked:ye,onChange:je,onClick:qe}=ge,$e=a(ge,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:Ue,tag:Rt}=ee.useContext(Je.E_),Ye=Pt=>{je==null||je(!ye),qe==null||qe(Pt)},Dt=Ue("tag",it),[qt,Me]=y(Dt),ke=Ge()(Dt,`${Dt}-checkable`,{[`${Dt}-checkable-checked`]:ye},Rt==null?void 0:Rt.className,Ke,Me);return qt(ee.createElement("span",Object.assign({},$e,{style:Object.assign(Object.assign({},Le),Rt==null?void 0:Rt.style),className:ke,onClick:Ye})))},x=te(45157);const z=ge=>(0,x.Z)(ge,(it,Le)=>{let{textColor:Ke,lightBorderColor:ye,lightColor:je,darkColor:qe}=Le;return{[`${ge.componentCls}-${it}`]:{color:Ke,background:je,borderColor:ye,"&-inverse":{color:ge.colorTextLightSolid,background:qe,borderColor:qe},[`&${ge.componentCls}-borderless`]:{borderColor:"transparent"}}}});var ne=(0,lt.b)(["Tag","preset"],ge=>{const it=Te(ge);return z(it)},oe);function ae(ge){return typeof ge!="string"?ge:ge.charAt(0).toUpperCase()+ge.slice(1)}const le=(ge,it,Le)=>{const Ke=ae(Le);return{[`${ge.componentCls}-${it}`]:{color:ge[`color${Le}`],background:ge[`color${Ke}Bg`],borderColor:ge[`color${Ke}Border`],[`&${ge.componentCls}-borderless`]:{borderColor:"transparent"}}}};var se=(0,lt.b)(["Tag","status"],ge=>{const it=Te(ge);return[le(it,"success","Success"),le(it,"processing","Info"),le(it,"error","Error"),le(it,"warning","Warning")]},oe),ce=function(ge,it){var Le={};for(var Ke in ge)Object.prototype.hasOwnProperty.call(ge,Ke)&&it.indexOf(Ke)<0&&(Le[Ke]=ge[Ke]);if(ge!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ye=0,Ke=Object.getOwnPropertySymbols(ge);ye<Ke.length;ye++)it.indexOf(Ke[ye])<0&&Object.prototype.propertyIsEnumerable.call(ge,Ke[ye])&&(Le[Ke[ye]]=ge[Ke[ye]]);return Le};const be=(ge,it)=>{const{prefixCls:Le,className:Ke,rootClassName:ye,style:je,children:qe,icon:$e,color:Ue,onClose:Rt,closeIcon:Ye,closable:Dt,bordered:qt=!0}=ge,Me=ce(ge,["prefixCls","className","rootClassName","style","children","icon","color","onClose","closeIcon","closable","bordered"]),{getPrefixCls:ke,direction:Pt,tag:Gt}=ee.useContext(Je.E_),[mt,Jt]=ee.useState(!0);ee.useEffect(()=>{"visible"in Me&&Jt(Me.visible)},[Me.visible]);const Be=(0,Ce.o2)(Ue),Xt=(0,Ce.yT)(Ue),pn=Be||Xt,St=Object.assign(Object.assign({backgroundColor:Ue&&!pn?Ue:void 0},Gt==null?void 0:Gt.style),je),ut=ke("tag",Le),[Xe,Ie]=y(ut),he=Ge()(ut,Gt==null?void 0:Gt.className,{[`${ut}-${Ue}`]:pn,[`${ut}-has-color`]:Ue&&!pn,[`${ut}-hidden`]:!mt,[`${ut}-rtl`]:Pt==="rtl",[`${ut}-borderless`]:!qt},Ke,ye,Ie),de=De=>{De.stopPropagation(),Rt==null||Rt(De),!De.defaultPrevented&&Jt(!1)},[,Ne]=(0,Fe.Z)(Dt,Ye,De=>De===null?ee.createElement(ie.Z,{className:`${ut}-close-icon`,onClick:de}):ee.createElement("span",{className:`${ut}-close-icon`,onClick:de},De),null,!1),at=typeof Me.onClick=="function"||qe&&qe.type==="a",Se=$e||null,ve=Se?ee.createElement(ee.Fragment,null,Se,qe&&ee.createElement("span",null,qe)):qe,et=ee.createElement("span",Object.assign({},Me,{ref:it,className:he,style:St}),ve,Ne,Be&&ee.createElement(ne,{key:"preset",prefixCls:ut}),Xt&&ee.createElement(se,{key:"status",prefixCls:ut}));return Xe(at?ee.createElement(re.Z,{component:"Tag"},et):et)},fe=ee.forwardRef(be);fe.CheckableTag=E;var Oe=fe},98228:function(bt,It,te){"use strict";te.d(It,{default:function(){return Nn}});var ee=te(92310),ie=te.n(ee),Ae=te(16378),Ge=te(65093),Ce=te(35227),Fe=te(10859),re=te(61206),Je=te(42066),Qe=te(77861),Ze=te(17115),lt=te(90782),pt=te(18929),Te=te(48736),oe=te(59301),y=function(nt){var Bt=oe.useRef({valueLabels:new Map});return oe.useMemo(function(){var Qt=Bt.current.valueLabels,yn=new Map,Pe=nt.map(function(Ve){var st,gt=Ve.value,xt=(st=Ve.label)!==null&&st!==void 0?st:Qt.get(gt);return yn.set(gt,xt),(0,Ce.Z)((0,Ce.Z)({},Ve),{},{label:xt})});return Bt.current.valueLabels=yn,[Pe]},[nt])},a=function(nt,Bt,Qt,yn){return oe.useMemo(function(){var Pe=nt.map(function(xt){var $t=xt.value;return $t}),Ve=Bt.map(function(xt){var $t=xt.value;return $t}),st=Pe.filter(function(xt){return!yn[xt]});if(Qt){var gt=(0,lt.S)(Pe,!0,yn);Pe=gt.checkedKeys,Ve=gt.halfCheckedKeys}return[Array.from(new Set([].concat((0,Ge.Z)(st),(0,Ge.Z)(Pe)))),Ve]},[nt,Bt,Qt,yn])},b=te(71430),E=function(nt,Bt){return oe.useMemo(function(){var Qt=(0,b.I8)(nt,{fieldNames:Bt,initWrapper:function(Pe){return(0,Ce.Z)((0,Ce.Z)({},Pe),{},{valueEntities:new Map})},processEntity:function(Pe,Ve){var st=Pe.node[Bt.value];if(0)var gt;Ve.valueEntities.set(st,Pe)}});return Qt},[nt,Bt])},x=te(78772),z=te(11592),ne=function(){return null},ae=ne,le=["children","value"];function se(nt){return(0,z.Z)(nt).map(function(Bt){if(!oe.isValidElement(Bt)||!Bt.type)return null;var Qt=Bt,yn=Qt.key,Pe=Qt.props,Ve=Pe.children,st=Pe.value,gt=(0,re.Z)(Pe,le),xt=(0,Ce.Z)({key:yn,value:st},gt),$t=se(Ve);return $t.length&&(xt.children=$t),xt}).filter(function(Bt){return Bt})}function ce(nt){if(!nt)return nt;var Bt=(0,Ce.Z)({},nt);return"props"in Bt||Object.defineProperty(Bt,"props",{get:function(){return(0,Te.ZP)(!1,"New `rc-tree-select` not support return node instance as argument anymore. Please consider to remove `props` access."),Bt}}),Bt}function be(nt,Bt,Qt,yn,Pe,Ve){var st=null,gt=null;function xt(){function $t(Ft){var ze=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"0",We=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return Ft.map(function(Re,ct){var jt="".concat(ze,"-").concat(ct),Ot=Re[Ve.value],vn=Qt.includes(Ot),fn=$t(Re[Ve.children]||[],jt,vn),en=oe.createElement(ae,Re,fn.map(function(Qn){return Qn.node}));if(Bt===Ot&&(st=en),vn){var xn={pos:jt,node:en,children:fn};return We||gt.push(xn),xn}return null}).filter(function(Re){return Re})}gt||(gt=[],$t(yn),gt.sort(function(Ft,ze){var We=Ft.node.props.value,Re=ze.node.props.value,ct=Qt.indexOf(We),jt=Qt.indexOf(Re);return ct-jt}))}Object.defineProperty(nt,"triggerNode",{get:function(){return(0,Te.ZP)(!1,"`triggerNode` is deprecated. Please consider decoupling data with node."),xt(),st}}),Object.defineProperty(nt,"allCheckedNodes",{get:function(){return(0,Te.ZP)(!1,"`allCheckedNodes` is deprecated. Please consider decoupling data with node."),xt(),Pe?gt:gt.map(function(Ft){var ze=Ft.node;return ze})}})}var fe=function(nt,Bt,Qt){var yn=Qt.treeNodeFilterProp,Pe=Qt.filterTreeNode,Ve=Qt.fieldNames,st=Ve.children;return oe.useMemo(function(){if(!Bt||Pe===!1)return nt;var gt;if(typeof Pe=="function")gt=Pe;else{var xt=Bt.toUpperCase();gt=function(ze,We){var Re=We[yn];return String(Re).toUpperCase().includes(xt)}}function $t(Ft){var ze=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return Ft.reduce(function(We,Re){var ct=Re[st],jt=ze||gt(Bt,ce(Re)),Ot=$t(ct||[],jt);return(jt||Ot.length)&&We.push((0,Ce.Z)((0,Ce.Z)({},Re),{},(0,x.Z)({isLeaf:void 0},st,Ot))),We},[])}return $t(nt)},[nt,Bt,st,yn,Pe])};function Oe(nt){var Bt=oe.useRef();Bt.current=nt;var Qt=oe.useCallback(function(){return Bt.current.apply(Bt,arguments)},[]);return Qt}function ge(nt,Bt){var Qt=Bt.id,yn=Bt.pId,Pe=Bt.rootPId,Ve={},st=[],gt=nt.map(function(xt){var $t=(0,Ce.Z)({},xt),Ft=$t[Qt];return Ve[Ft]=$t,$t.key=$t.key||Ft,$t});return gt.forEach(function(xt){var $t=xt[yn],Ft=Ve[$t];Ft&&(Ft.children=Ft.children||[],Ft.children.push(xt)),($t===Pe||!Ft&&Pe===null)&&st.push(xt)}),st}function it(nt,Bt,Qt){return oe.useMemo(function(){return nt?Qt?ge(nt,(0,Ce.Z)({id:"id",pId:"pId",rootPId:null},Qt!==!0?Qt:{})):nt:se(Bt)},[Bt,Qt,nt])}var Le=oe.createContext(null),Ke=Le,ye=te(10228),je=te(80547),qe=te(48039),$e=oe.createContext(null),Ue=$e;function Rt(nt){return Array.isArray(nt)?nt:nt!==void 0?[nt]:[]}function Ye(nt){var Bt=nt||{},Qt=Bt.label,yn=Bt.value,Pe=Bt.children,Ve=yn||"value";return{_title:Qt?[Qt]:["title","label"],value:Ve,key:Ve,children:Pe||"children"}}function Dt(nt){return!nt||nt.disabled||nt.disableCheckbox||nt.checkable===!1}function qt(nt,Bt){var Qt=[];function yn(Pe){Pe.forEach(function(Ve){var st=Ve[Bt.children];st&&(Qt.push(Ve[Bt.value]),yn(st))})}return yn(nt),Qt}function Me(nt){return nt==null}var ke={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},Pt=function(Bt,Qt){var yn=(0,Qe.lk)(),Pe=yn.prefixCls,Ve=yn.multiple,st=yn.searchValue,gt=yn.toggleOpen,xt=yn.open,$t=yn.notFoundContent,Ft=oe.useContext(Ue),ze=Ft.virtual,We=Ft.listHeight,Re=Ft.listItemHeight,ct=Ft.treeData,jt=Ft.fieldNames,Ot=Ft.onSelect,vn=Ft.dropdownMatchSelectWidth,fn=Ft.treeExpandAction,en=oe.useContext(Ke),xn=en.checkable,Qn=en.checkedKeys,on=en.halfCheckedKeys,Un=en.treeExpandedKeys,$n=en.treeDefaultExpandAll,ca=en.treeDefaultExpandedKeys,qn=en.onTreeExpand,tt=en.treeIcon,zt=en.showTreeIcon,yt=en.switcherIcon,_t=en.treeLine,dn=en.treeNodeFilterProp,hn=en.loadData,un=en.treeLoadedKeys,ln=en.treeMotion,Wn=en.onTreeLoad,Xn=en.keyEntities,Kt=oe.useRef(),aa=(0,je.Z)(function(){return ct},[xt,ct],function(_n,Za){return Za[0]&&_n[1]!==Za[1]}),ya=oe.useState(null),Ca=(0,Fe.Z)(ya,2),pa=Ca[0],Fn=Ca[1],Tn=Xn[pa],Vn=oe.useMemo(function(){return xn?{checked:Qn,halfChecked:on}:null},[xn,Qn,on]);oe.useEffect(function(){if(xt&&!Ve&&Qn.length){var _n;(_n=Kt.current)===null||_n===void 0||_n.scrollTo({key:Qn[0]}),Fn(Qn[0])}},[xt]);var Ln=String(st).toLowerCase(),na=function(Za){return Ln?String(Za[dn]).toLowerCase().includes(Ln):!1},ha=oe.useState(ca),da=(0,Fe.Z)(ha,2),Ba=da[0],oa=da[1],Ma=oe.useState(null),eo=(0,Fe.Z)(Ma,2),fo=eo[0],ja=eo[1],Da=oe.useMemo(function(){return Un?(0,Ge.Z)(Un):st?fo:Ba},[Ba,fo,Un,st]);oe.useEffect(function(){st&&ja(qt(ct,jt))},[st]);var Xa=function(Za){oa(Za),ja(Za),qn&&qn(Za)},ka=function(Za){Za.preventDefault()},Ga=function(Za,uo){var za=uo.node;xn&&Dt(za)||(Ot(za.key,{selected:!Qn.includes(za.key)}),Ve||gt(!1))};if(oe.useImperativeHandle(Qt,function(){var _n;return{scrollTo:(_n=Kt.current)===null||_n===void 0?void 0:_n.scrollTo,onKeyDown:function(uo){var za,to=uo.which;switch(to){case ye.Z.UP:case ye.Z.DOWN:case ye.Z.LEFT:case ye.Z.RIGHT:(za=Kt.current)===null||za===void 0||za.onKeyDown(uo);break;case ye.Z.ENTER:{if(Tn){var lo=(Tn==null?void 0:Tn.node)||{},ua=lo.selectable,Ka=lo.value;ua!==!1&&Ga(null,{node:{key:pa},selected:!Qn.includes(Ka)})}break}case ye.Z.ESC:gt(!1)}},onKeyUp:function(){}}}),aa.length===0)return oe.createElement("div",{role:"listbox",className:"".concat(Pe,"-empty"),onMouseDown:ka},$t);var Na={fieldNames:jt};return un&&(Na.loadedKeys=un),Da&&(Na.expandedKeys=Da),oe.createElement("div",{onMouseDown:ka},Tn&&xt&&oe.createElement("span",{style:ke,"aria-live":"assertive"},Tn.node.value),oe.createElement(qe.Z,(0,Ae.Z)({ref:Kt,focusable:!1,prefixCls:"".concat(Pe,"-tree"),treeData:aa,height:We,itemHeight:Re,virtual:ze!==!1&&vn!==!1,multiple:Ve,icon:tt,showIcon:zt,switcherIcon:yt,showLine:_t,loadData:st?null:hn,motion:ln,activeKey:pa,checkable:xn,checkStrictly:!0,checkedKeys:Vn,selectedKeys:xn?[]:Qn,defaultExpandAll:$n},Na,{onActiveChange:Fn,onSelect:Ga,onCheck:Ga,onExpand:Xa,onLoad:Wn,filterTreeNode:na,expandAction:fn})))},Gt=oe.forwardRef(Pt);Gt.displayName="OptionList";var mt=Gt,Jt="SHOW_ALL",Be="SHOW_PARENT",Xt="SHOW_CHILD";function pn(nt,Bt,Qt,yn){var Pe=new Set(nt);return Bt===Xt?nt.filter(function(Ve){var st=Qt[Ve];return!(st&&st.children&&st.children.some(function(gt){var xt=gt.node;return Pe.has(xt[yn.value])})&&st.children.every(function(gt){var xt=gt.node;return Dt(xt)||Pe.has(xt[yn.value])}))}):Bt===Be?nt.filter(function(Ve){var st=Qt[Ve],gt=st?st.parent:null;return!(gt&&!Dt(gt.node)&&Pe.has(gt.key))}):nt}function St(nt){var Bt=nt.searchPlaceholder,Qt=nt.treeCheckStrictly,yn=nt.treeCheckable,Pe=nt.labelInValue,Ve=nt.value,st=nt.multiple;warning(!Bt,"`searchPlaceholder` has been removed."),Qt&&Pe===!1&&warning(!1,"`treeCheckStrictly` will force set `labelInValue` to `true`."),(Pe||Qt)&&warning(toArray(Ve).every(function(gt){return gt&&_typeof(gt)==="object"&&"value"in gt}),"Invalid prop `value` supplied to `TreeSelect`. You should use { label: string, value: string | number } or [{ label: string, value: string | number }] instead."),Qt||st||yn?warning(!Ve||Array.isArray(Ve),"`value` should be an array when `TreeSelect` is checkable or multiple."):warning(!Array.isArray(Ve),"`value` should not be array when `TreeSelect` is single mode.")}var ut=null,Xe=["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 Ie(nt){return!nt||(0,Je.Z)(nt)!=="object"}var he=oe.forwardRef(function(nt,Bt){var Qt=nt.id,yn=nt.prefixCls,Pe=yn===void 0?"rc-tree-select":yn,Ve=nt.value,st=nt.defaultValue,gt=nt.onChange,xt=nt.onSelect,$t=nt.onDeselect,Ft=nt.searchValue,ze=nt.inputValue,We=nt.onSearch,Re=nt.autoClearSearchValue,ct=Re===void 0?!0:Re,jt=nt.filterTreeNode,Ot=nt.treeNodeFilterProp,vn=Ot===void 0?"value":Ot,fn=nt.showCheckedStrategy,en=nt.treeNodeLabelProp,xn=nt.multiple,Qn=nt.treeCheckable,on=nt.treeCheckStrictly,Un=nt.labelInValue,$n=nt.fieldNames,ca=nt.treeDataSimpleMode,qn=nt.treeData,tt=nt.children,zt=nt.loadData,yt=nt.treeLoadedKeys,_t=nt.onTreeLoad,dn=nt.treeDefaultExpandAll,hn=nt.treeExpandedKeys,un=nt.treeDefaultExpandedKeys,ln=nt.onTreeExpand,Wn=nt.treeExpandAction,Xn=nt.virtual,Kt=nt.listHeight,aa=Kt===void 0?200:Kt,ya=nt.listItemHeight,Ca=ya===void 0?20:ya,pa=nt.onDropdownVisibleChange,Fn=nt.dropdownMatchSelectWidth,Tn=Fn===void 0?!0:Fn,Vn=nt.treeLine,Ln=nt.treeIcon,na=nt.showTreeIcon,ha=nt.switcherIcon,da=nt.treeMotion,Ba=(0,re.Z)(nt,Xe),oa=(0,Ze.ZP)(Qt),Ma=Qn&&!on,eo=Qn||on,fo=on||Un,ja=eo||xn,Da=(0,pt.Z)(st,{value:Ve}),Xa=(0,Fe.Z)(Da,2),ka=Xa[0],Ga=Xa[1],Na=oe.useMemo(function(){return Qn?fn||Xt:Jt},[fn,Qn]),_n=oe.useMemo(function(){return Ye($n)},[JSON.stringify($n)]),Za=(0,pt.Z)("",{value:Ft!==void 0?Ft:ze,postState:function(Mn){return Mn||""}}),uo=(0,Fe.Z)(Za,2),za=uo[0],to=uo[1],lo=function(Mn){to(Mn),We==null||We(Mn)},ua=it(qn,tt,ca),Ka=E(ua,_n),Aa=Ka.keyEntities,ao=Ka.valueEntities,Po=oe.useCallback(function(bn){var Mn=[],Hn=[];return bn.forEach(function(zn){ao.has(zn)?Hn.push(zn):Mn.push(zn)}),{missingRawValues:Mn,existRawValues:Hn}},[ao]),No=fe(ua,za,{fieldNames:_n,treeNodeFilterProp:vn,filterTreeNode:jt}),Qo=oe.useCallback(function(bn){if(bn){if(en)return bn[en];for(var Mn=_n._title,Hn=0;Hn<Mn.length;Hn+=1){var zn=bn[Mn[Hn]];if(zn!==void 0)return zn}}},[_n,en]),zo=oe.useCallback(function(bn){var Mn=Rt(bn);return Mn.map(function(Hn){return Ie(Hn)?{value:Hn}:Hn})},[]),po=oe.useCallback(function(bn){var Mn=zo(bn);return Mn.map(function(Hn){var zn=Hn.label,Ha=Hn.value,wa=Hn.halfChecked,$a,io=ao.get(Ha);if(io){var wo;zn=(wo=zn)!==null&&wo!==void 0?wo:Qo(io.node),$a=io.node.disabled}else if(zn===void 0){var ko=zo(ka).find(function(dr){return dr.value===Ha});zn=ko.label}return{label:zn,value:Ha,halfChecked:wa,disabled:$a}})},[ao,Qo,zo,ka]),vo=oe.useMemo(function(){return zo(ka)},[zo,ka]),jo=oe.useMemo(function(){var bn=[],Mn=[];return vo.forEach(function(Hn){Hn.halfChecked?Mn.push(Hn):bn.push(Hn)}),[bn,Mn]},[vo]),Mo=(0,Fe.Z)(jo,2),Go=Mo[0],tr=Mo[1],ia=oe.useMemo(function(){return Go.map(function(bn){return bn.value})},[Go]),In=a(Go,tr,Ma,Aa),Rn=(0,Fe.Z)(In,2),jn=Rn[0],xa=Rn[1],Wa=oe.useMemo(function(){var bn=pn(jn,Na,Aa,_n),Mn=bn.map(function(wa){var $a,io,wo;return($a=(io=Aa[wa])===null||io===void 0||(wo=io.node)===null||wo===void 0?void 0:wo[_n.value])!==null&&$a!==void 0?$a:wa}),Hn=Mn.map(function(wa){var $a=Go.find(function(io){return io.value===wa});return{value:wa,label:$a==null?void 0:$a.label}}),zn=po(Hn),Ha=zn[0];return!ja&&Ha&&Me(Ha.value)&&Me(Ha.label)?[]:zn.map(function(wa){var $a;return(0,Ce.Z)((0,Ce.Z)({},wa),{},{label:($a=wa.label)!==null&&$a!==void 0?$a:wa.value})})},[_n,ja,jn,Go,po,Na,Aa]),pe=y(Wa),kt=(0,Fe.Z)(pe,1),rn=kt[0],Cn=Oe(function(bn,Mn,Hn){var zn=po(bn);if(Ga(zn),ct&&to(""),gt){var Ha=bn;if(Ma){var wa=pn(bn,Na,Aa,_n);Ha=wa.map(function(ir){var cr=ao.get(ir);return cr?cr.node[_n.value]:ir})}var $a=Mn||{triggerValue:void 0,selected:void 0},io=$a.triggerValue,wo=$a.selected,ko=Ha;if(on){var dr=tr.filter(function(ir){return!Ha.includes(ir.value)});ko=[].concat((0,Ge.Z)(ko),(0,Ge.Z)(dr))}var ur=po(ko),nr={preValue:Go,triggerValue:io},pr=!0;(on||Hn==="selection"&&!wo)&&(pr=!1),be(nr,io,bn,ua,pr,_n),eo?nr.checked=wo:nr.selected=wo;var Fr=fo?ur:ur.map(function(ir){return ir.value});gt(ja?Fr:Fr[0],fo?null:ur.map(function(ir){return ir.label}),nr)}}),Ht=oe.useCallback(function(bn,Mn){var Hn,zn=Mn.selected,Ha=Mn.source,wa=Aa[bn],$a=wa==null?void 0:wa.node,io=(Hn=$a==null?void 0:$a[_n.value])!==null&&Hn!==void 0?Hn:bn;if(!ja)Cn([io],{selected:!0,triggerValue:io},"option");else{var wo=zn?[].concat((0,Ge.Z)(ia),[io]):jn.filter(function(cr){return cr!==io});if(Ma){var ko=Po(wo),dr=ko.missingRawValues,ur=ko.existRawValues,nr=ur.map(function(cr){return ao.get(cr).key}),pr;if(zn){var Fr=(0,lt.S)(nr,!0,Aa);pr=Fr.checkedKeys}else{var ir=(0,lt.S)(nr,{checked:!1,halfCheckedKeys:xa},Aa);pr=ir.checkedKeys}wo=[].concat((0,Ge.Z)(dr),(0,Ge.Z)(pr.map(function(cr){return Aa[cr].node[_n.value]})))}Cn(wo,{selected:zn,triggerValue:io},Ha||"option")}zn||!ja?xt==null||xt(io,ce($a)):$t==null||$t(io,ce($a))},[Po,ao,Aa,_n,ja,ia,Cn,Ma,xt,$t,jn,xa]),Dn=oe.useCallback(function(bn){if(pa){var Mn={};Object.defineProperty(Mn,"documentClickClose",{get:function(){return(0,Te.ZP)(!1,"Second param of `onDropdownVisibleChange` has been removed."),!1}}),pa(bn,Mn)}},[pa]),Pn=Oe(function(bn,Mn){var Hn=bn.map(function(zn){return zn.value});if(Mn.type==="clear"){Cn(Hn,{},"selection");return}Mn.values.length&&Ht(Mn.values[0].value,{selected:!1,source:"selection"})}),mn=oe.useMemo(function(){return{virtual:Xn,dropdownMatchSelectWidth:Tn,listHeight:aa,listItemHeight:Ca,treeData:No,fieldNames:_n,onSelect:Ht,treeExpandAction:Wn}},[Xn,Tn,aa,Ca,No,_n,Ht,Wn]),En=oe.useMemo(function(){return{checkable:eo,loadData:zt,treeLoadedKeys:yt,onTreeLoad:_t,checkedKeys:jn,halfCheckedKeys:xa,treeDefaultExpandAll:dn,treeExpandedKeys:hn,treeDefaultExpandedKeys:un,onTreeExpand:ln,treeIcon:Ln,treeMotion:da,showTreeIcon:na,switcherIcon:ha,treeLine:Vn,treeNodeFilterProp:vn,keyEntities:Aa}},[eo,zt,yt,_t,jn,xa,dn,hn,un,ln,Ln,da,na,ha,Vn,vn,Aa]);return oe.createElement(Ue.Provider,{value:mn},oe.createElement(Ke.Provider,{value:En},oe.createElement(Qe.Ac,(0,Ae.Z)({ref:Bt},Ba,{id:oa,prefixCls:Pe,mode:ja?"multiple":void 0,displayValues:rn,onDisplayValuesChange:Pn,searchValue:za,onSearch:lo,OptionList:mt,emptyOptions:!ua.length,onDropdownVisibleChange:Dn,dropdownMatchSelectWidth:Tn}))))}),de=he;de.TreeNode=ae,de.SHOW_ALL=Jt,de.SHOW_PARENT=Be,de.SHOW_CHILD=Xt;var Ne=de,at=Ne,Se=te(2738),ve=te(53487),et=te(62892),De=te(19080),Ee=te(36355),_e=te(1684),Wt=te(93891),ht=te(19716),Tt=te(32441),Mt=te(14154),Zt=te(58582),xe=te(84443),dt=te(66339),vt=te(33234),ft=te(71997),Nt=te(98447),Vt=te(37613),nn=te(83116),an=te(20648);const Sn=nt=>{const{componentCls:Bt,treePrefixCls:Qt,colorBgElevated:yn}=nt,Pe=`.${Qt}`;return[{[`${Bt}-dropdown`]:[{padding:`${nt.paddingXS}px ${nt.paddingXS/2}px`},(0,an.Yk)(Qt,(0,Vt.TS)(nt,{colorBgContainer:yn})),{[Pe]:{borderRadius:0,[`${Pe}-list-holder-inner`]:{alignItems:"stretch",[`${Pe}-treenode`]:{[`${Pe}-node-content-wrapper`]:{flex:"auto"}}}}},(0,Nt.C2)(`${Qt}-checkbox`,nt),{"&-rtl":{direction:"rtl",[`${Pe}-switcher${Pe}-switcher_close`]:{[`${Pe}-switcher-icon svg`]:{transform:"rotate(90deg)"}}}}]}]};function On(nt,Bt){return(0,nn.Z)("TreeSelect",Qt=>{const yn=(0,Vt.TS)(Qt,{treePrefixCls:Bt});return[Sn(yn)]},an.TM)(nt)}var Lt=function(nt,Bt){var Qt={};for(var yn in nt)Object.prototype.hasOwnProperty.call(nt,yn)&&Bt.indexOf(yn)<0&&(Qt[yn]=nt[yn]);if(nt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Pe=0,yn=Object.getOwnPropertySymbols(nt);Pe<yn.length;Pe++)Bt.indexOf(yn[Pe])<0&&Object.prototype.propertyIsEnumerable.call(nt,yn[Pe])&&(Qt[yn[Pe]]=nt[yn[Pe]]);return Qt};const Ct=(nt,Bt)=>{var Qt,{prefixCls:yn,size:Pe,disabled:Ve,bordered:st=!0,className:gt,rootClassName:xt,treeCheckable:$t,multiple:Ft,listHeight:ze=256,listItemHeight:We=26,placement:Re,notFoundContent:ct,switcherIcon:jt,treeLine:Ot,getPopupContainer:vn,popupClassName:fn,dropdownClassName:en,treeIcon:xn=!1,transitionName:Qn,choiceTransitionName:on="",status:Un,treeExpandAction:$n,builtinPlacements:ca,dropdownMatchSelectWidth:qn,popupMatchSelectWidth:tt,allowClear:zt}=nt,yt=Lt(nt,["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:_t,getPrefixCls:dn,renderEmpty:hn,direction:un,virtual:ln,popupMatchSelectWidth:Wn,popupOverflow:Xn}=oe.useContext(Ee.E_),Kt=dn(),aa=dn("select",yn),ya=dn("select-tree",yn),Ca=dn("tree-select",yn),{compactSize:pa,compactItemClassnames:Fn}=(0,vt.ri)(aa,un),[Tn,Vn]=(0,Mt.Z)(aa),[Ln]=On(Ca,ya),na=ie()(fn||en,`${Ca}-dropdown`,{[`${Ca}-dropdown-rtl`]:un==="rtl"},xt,Vn),ha=!!($t||Ft),da=(0,xe.Z)(yt.suffixIcon,yt.showArrow),Ba=(Qt=tt!=null?tt:qn)!==null&&Qt!==void 0?Qt:Wn,{status:oa,hasFeedback:Ma,isFormItemInput:eo,feedbackIcon:fo}=oe.useContext(Tt.aM),ja=(0,De.F)(oa,Un),{suffixIcon:Da,removeIcon:Xa,clearIcon:ka}=(0,dt.Z)(Object.assign(Object.assign({},yt),{multiple:ha,showSuffixIcon:da,hasFeedback:Ma,feedbackIcon:fo,prefixCls:aa,componentName:"TreeSelect"})),Ga=zt===!0?{clearIcon:ka}:zt;let Na;ct!==void 0?Na=ct:Na=(hn==null?void 0:hn("Select"))||oe.createElement(Wt.Z,{componentName:"Select"});const _n=(0,Se.Z)(yt,["suffixIcon","itemIcon","removeIcon","clearIcon","switcherIcon"]),Za=oe.useMemo(()=>Re!==void 0?Re:un==="rtl"?"bottomRight":"bottomLeft",[Re,un]),uo=(0,Zt.Z)(ca,Xn),za=(0,ht.Z)(ao=>{var Po;return(Po=Pe!=null?Pe:pa)!==null&&Po!==void 0?Po:ao}),to=oe.useContext(_e.Z),lo=Ve!=null?Ve:to,ua=ie()(!yn&&Ca,{[`${aa}-lg`]:za==="large",[`${aa}-sm`]:za==="small",[`${aa}-rtl`]:un==="rtl",[`${aa}-borderless`]:!st,[`${aa}-in-form-item`]:eo},(0,De.Z)(aa,ja,Ma),Fn,gt,xt,Vn),Ka=ao=>oe.createElement(ft.Z,{prefixCls:ya,switcherIcon:jt,treeNodeProps:ao,showLine:Ot}),Aa=oe.createElement(at,Object.assign({virtual:ln,disabled:lo},_n,{dropdownMatchSelectWidth:Ba,builtinPlacements:uo,ref:Bt,prefixCls:aa,className:ua,listHeight:ze,listItemHeight:We,treeCheckable:$t&&oe.createElement("span",{className:`${aa}-tree-checkbox-inner`}),treeLine:!!Ot,suffixIcon:Da,multiple:ha,placement:Za,removeIcon:Xa,allowClear:Ga,switcherIcon:Ka,showTreeIcon:xn,notFoundContent:Na,getPopupContainer:vn||_t,treeMotion:null,dropdownClassName:na,choiceTransitionName:(0,et.m)(Kt,"",on),transitionName:(0,et.m)(Kt,"slide-up",Qn),treeExpandAction:$n}));return Tn(Ln(Aa))},cn=oe.forwardRef(Ct),sn=(0,ve.Z)(cn);cn.TreeNode=ae,cn.SHOW_ALL=Jt,cn.SHOW_PARENT=Be,cn.SHOW_CHILD=Xt,cn._InternalPanelDoNotUseOrYouWillBeFired=sn;var Nn=cn},17574:function(bt,It,te){"use strict";te.d(It,{default:function(){return Ue}});var ee=te(48039),ie=te(65093),Ae=te(52671),Ge=te(8657),Ce=te(16378),Fe=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"},Je=re,Qe=te(7657),Ze=function(Ye,Dt){return Fe.createElement(Qe.Z,(0,Ce.Z)({},Ye,{ref:Dt,icon:Je}))},lt=Fe.forwardRef(Ze),pt=lt,Te=te(92310),oe=te.n(Te),y=te(35654),a=te(71430),b=te(36355),E=te(56082),x=te(62892),z=te(20648);const ne=4;function ae(Rt){const{dropPosition:Ye,dropLevelOffset:Dt,prefixCls:qt,indent:Me,direction:ke="ltr"}=Rt,Pt=ke==="ltr"?"left":"right",Gt=ke==="ltr"?"right":"left",mt={[Pt]:-Dt*Me+ne,[Gt]:0};switch(Ye){case-1:mt.top=-3;break;case 1:mt.bottom=-3;break;default:mt.bottom=-3,mt[Pt]=Me+ne;break}return Fe.createElement("div",{style:mt,className:`${qt}-drop-indicator`})}var le=te(71997),ce=Fe.forwardRef((Rt,Ye)=>{const{getPrefixCls:Dt,direction:qt,virtual:Me,tree:ke}=Fe.useContext(b.E_),{prefixCls:Pt,className:Gt,showIcon:mt=!1,showLine:Jt,switcherIcon:Be,blockNode:Xt=!1,children:pn,checkable:St=!1,selectable:ut=!0,draggable:Xe,motion:Ie,style:he}=Rt,de=Dt("tree",Pt),Ne=Dt(),at=Ie!=null?Ie:Object.assign(Object.assign({},(0,x.Z)(Ne)),{motionAppear:!1}),Se=Object.assign(Object.assign({},Rt),{checkable:St,selectable:ut,showIcon:mt,motion:at,blockNode:Xt,showLine:!!Jt,dropIndicatorRender:ae}),[ve,et]=(0,z.ZP)(de),De=Fe.useMemo(()=>{if(!Xe)return!1;let _e={};switch(typeof Xe){case"function":_e.nodeDraggable=Xe;break;case"object":_e=Object.assign({},Xe);break;default:break}return _e.icon!==!1&&(_e.icon=_e.icon||Fe.createElement(E.Z,null)),_e},[Xe]),Ee=_e=>Fe.createElement(le.Z,{prefixCls:de,switcherIcon:Be,treeNodeProps:_e,showLine:Jt});return ve(Fe.createElement(ee.Z,Object.assign({itemHeight:20,ref:Ye,virtual:Me},Se,{style:Object.assign(Object.assign({},ke==null?void 0:ke.style),he),prefixCls:de,className:oe()({[`${de}-icon-hide`]:!mt,[`${de}-block-node`]:Xt,[`${de}-unselectable`]:!ut,[`${de}-rtl`]:qt==="rtl"},ke==null?void 0:ke.className,Gt,et),direction:qt,checkable:St&&Fe.createElement("span",{className:`${de}-checkbox-inner`}),selectable:ut,switcherIcon:Ee,draggable:De}),pn))}),be;(function(Rt){Rt[Rt.None=0]="None",Rt[Rt.Start=1]="Start",Rt[Rt.End=2]="End"})(be||(be={}));function fe(Rt,Ye){function Dt(qt){const{key:Me,children:ke}=qt;Ye(Me,qt)!==!1&&fe(ke||[],Ye)}Rt.forEach(Dt)}function Oe(Rt){let{treeData:Ye,expandedKeys:Dt,startKey:qt,endKey:Me}=Rt;const ke=[];let Pt=be.None;if(qt&&qt===Me)return[qt];if(!qt||!Me)return[];function Gt(mt){return mt===qt||mt===Me}return fe(Ye,mt=>{if(Pt===be.End)return!1;if(Gt(mt)){if(ke.push(mt),Pt===be.None)Pt=be.Start;else if(Pt===be.Start)return Pt=be.End,!1}else Pt===be.Start&&ke.push(mt);return Dt.includes(mt)}),ke}function ge(Rt,Ye){const Dt=(0,ie.Z)(Ye),qt=[];return fe(Rt,(Me,ke)=>{const Pt=Dt.indexOf(Me);return Pt!==-1&&(qt.push(ke),Dt.splice(Pt,1)),!!Dt.length}),qt}var it=function(Rt,Ye){var Dt={};for(var qt in Rt)Object.prototype.hasOwnProperty.call(Rt,qt)&&Ye.indexOf(qt)<0&&(Dt[qt]=Rt[qt]);if(Rt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Me=0,qt=Object.getOwnPropertySymbols(Rt);Me<qt.length;Me++)Ye.indexOf(qt[Me])<0&&Object.prototype.propertyIsEnumerable.call(Rt,qt[Me])&&(Dt[qt[Me]]=Rt[qt[Me]]);return Dt};function Le(Rt){const{isLeaf:Ye,expanded:Dt}=Rt;return Ye?Fe.createElement(Ae.Z,null):Dt?Fe.createElement(Ge.Z,null):Fe.createElement(pt,null)}function Ke(Rt){let{treeData:Ye,children:Dt}=Rt;return Ye||(0,a.zn)(Dt)}const ye=(Rt,Ye)=>{var{defaultExpandAll:Dt,defaultExpandParent:qt,defaultExpandedKeys:Me}=Rt,ke=it(Rt,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);const Pt=Fe.useRef(),Gt=Fe.useRef(),mt=()=>{const{keyEntities:De}=(0,a.I8)(Ke(ke));let Ee;return Dt?Ee=Object.keys(De):qt?Ee=(0,y.r7)(ke.expandedKeys||Me||[],De):Ee=ke.expandedKeys||Me,Ee},[Jt,Be]=Fe.useState(ke.selectedKeys||ke.defaultSelectedKeys||[]),[Xt,pn]=Fe.useState(()=>mt());Fe.useEffect(()=>{"selectedKeys"in ke&&Be(ke.selectedKeys)},[ke.selectedKeys]),Fe.useEffect(()=>{"expandedKeys"in ke&&pn(ke.expandedKeys)},[ke.expandedKeys]);const St=(De,Ee)=>{var _e;return"expandedKeys"in ke||pn(De),(_e=ke.onExpand)===null||_e===void 0?void 0:_e.call(ke,De,Ee)},ut=(De,Ee)=>{var _e;const{multiple:Wt}=ke,{node:ht,nativeEvent:Tt}=Ee,{key:Mt=""}=ht,Zt=Ke(ke),xe=Object.assign(Object.assign({},Ee),{selected:!0}),dt=(Tt==null?void 0:Tt.ctrlKey)||(Tt==null?void 0:Tt.metaKey),vt=Tt==null?void 0:Tt.shiftKey;let ft;Wt&&dt?(ft=De,Pt.current=Mt,Gt.current=ft,xe.selectedNodes=ge(Zt,ft)):Wt&&vt?(ft=Array.from(new Set([].concat((0,ie.Z)(Gt.current||[]),(0,ie.Z)(Oe({treeData:Zt,expandedKeys:Xt,startKey:Mt,endKey:Pt.current}))))),xe.selectedNodes=ge(Zt,ft)):(ft=[Mt],Pt.current=Mt,Gt.current=ft,xe.selectedNodes=ge(Zt,ft)),(_e=ke.onSelect)===null||_e===void 0||_e.call(ke,ft,xe),"selectedKeys"in ke||Be(ft)},{getPrefixCls:Xe,direction:Ie}=Fe.useContext(b.E_),{prefixCls:he,className:de,showIcon:Ne=!0,expandAction:at="click"}=ke,Se=it(ke,["prefixCls","className","showIcon","expandAction"]),ve=Xe("tree",he),et=oe()(`${ve}-directory`,{[`${ve}-directory-rtl`]:Ie==="rtl"},de);return Fe.createElement(ce,Object.assign({icon:Le,ref:Ye,blockNode:!0},Se,{showIcon:Ne,expandAction:at,prefixCls:ve,className:et,expandedKeys:Xt,selectedKeys:Jt,onSelect:ut,onExpand:St}))};var qe=Fe.forwardRef(ye);const $e=ce;$e.DirectoryTree=qe,$e.TreeNode=ee.O;var Ue=$e},20648:function(bt,It,te){"use strict";te.d(It,{TM:function(){return Te},Yk:function(){return pt}});var ee=te(93083),ie=te(98447),Ae=te(17313),Ge=te(8378),Ce=te(37613),Fe=te(83116);const re=new ee.Keyframes("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),Je=(oe,y)=>({[`.${oe}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${y.motionDurationSlow}`}}}),Qe=(oe,y)=>({[`.${oe}-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=(oe,y)=>{const{treeCls:a,treeNodeCls:b,treeNodePadding:E,titleHeight:x,nodeSelectedBg:z,nodeHoverBg:ne}=y,ae=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({},Je(oe,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:ae},[`${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:z},[`${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"},Qe(oe,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`}}}}})}},lt=oe=>{const{treeCls:y,treeNodeCls:a,treeNodePadding:b,directoryNodeSelectedBg:E,directoryNodeSelectedColor:x}=oe;return{[`${y}${y}-directory`]:{[a]:{position:"relative","&:before":{position:"absolute",top:0,insetInlineEnd:0,bottom:b,insetInlineStart:0,transition:`background-color ${oe.motionDurationMid}`,content:'""',pointerEvents:"none"},"&:hover":{"&:before":{background:oe.controlItemBgHover}},"> *":{zIndex:1},[`${y}-switcher`]:{transition:`color ${oe.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"}}}}}},pt=(oe,y)=>{const a=`.${oe}`,b=`${a}-treenode`,E=y.paddingXS/2,x=(0,Ce.TS)(y,{treeCls:a,treeNodeCls:b,treeNodePadding:E});return[Ze(oe,x),lt(x)]},Te=oe=>{const{controlHeightSM:y}=oe;return{titleHeight:y,nodeHoverBg:oe.controlItemBgHover,nodeSelectedBg:oe.controlItemBgActive}};It.ZP=(0,Fe.Z)("Tree",(oe,y)=>{let{prefixCls:a}=y;return[{[oe.componentCls]:(0,ie.C2)(`${a}-checkbox`,oe)},pt(a,oe),(0,Ge.Z)(oe)]},oe=>{const{colorTextLightSolid:y,colorPrimary:a}=oe;return Object.assign(Object.assign({},Te(oe)),{directoryNodeSelectedColor:y,directoryNodeSelectedBg:a})})},71997:function(bt,It,te){"use strict";te.d(It,{Z:function(){return b}});var ee=te(16378),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"},Ge=Ae,Ce=te(7657),Fe=function(x,z){return ie.createElement(Ce.Z,(0,ee.Z)({},x,{ref:z,icon:Ge}))},re=ie.forwardRef(Fe),Je=re,Qe=te(52671),Ze=te(58617),lt=te(15075),pt=te(43531),Te=te(92310),oe=te.n(Te),y=te(92343),b=E=>{const{prefixCls:x,switcherIcon:z,treeNodeProps:ne,showLine:ae}=E,{isLeaf:le,expanded:se,loading:ce}=ne;if(ce)return ie.createElement(Ze.Z,{className:`${x}-switcher-loading-icon`});let be;if(ae&&typeof ae=="object"&&(be=ae.showLeafIcon),le){if(!ae)return null;if(typeof be!="boolean"&&be){const ge=typeof be=="function"?be(ne):be,it=`${x}-switcher-line-custom-icon`;return(0,y.l$)(ge)?(0,y.Tm)(ge,{className:oe()(ge.props.className||"",it)}):ge}return be?ie.createElement(Qe.Z,{className:`${x}-switcher-line-icon`}):ie.createElement("span",{className:`${x}-switcher-leaf-line`})}const fe=`${x}-switcher-icon`,Oe=typeof z=="function"?z(ne):z;return(0,y.l$)(Oe)?(0,y.Tm)(Oe,{className:oe()(Oe.props.className||"",fe)}):Oe!==void 0?Oe:ae?se?ie.createElement(lt.Z,{className:`${x}-switcher-line-icon`}):ie.createElement(pt.Z,{className:`${x}-switcher-line-icon`}):ie.createElement(Je,{className:fe})}},54580:function(bt,It,te){"use strict";te.d(It,{default:function(){return qn}});var ee=te(59301),ie=te(65093),Ae=te(92310),Ge=te.n(Ae),Ce=te(16378),Fe=te(44202),re=te(86773),Je=te(82412),Qe=te(60845),Ze=te(78772),lt=te(61206),pt=te(62907),Te=te(42066),oe=te(3872),y=te(26112);function a(tt,zt){var yt="cannot ".concat(tt.method," ").concat(tt.action," ").concat(zt.status,"'"),_t=new Error(yt);return _t.status=zt.status,_t.method=tt.method,_t.url=tt.action,_t}function b(tt){var zt=tt.responseText||tt.response;if(!zt)return zt;try{return JSON.parse(zt)}catch(yt){return zt}}function E(tt){var zt=new XMLHttpRequest;tt.onProgress&&zt.upload&&(zt.upload.onprogress=function(hn){hn.total>0&&(hn.percent=hn.loaded/hn.total*100),tt.onProgress(hn)});var yt=new FormData;tt.data&&Object.keys(tt.data).forEach(function(dn){var hn=tt.data[dn];if(Array.isArray(hn)){hn.forEach(function(un){yt.append("".concat(dn,"[]"),un)});return}yt.append(dn,hn)}),tt.file instanceof Blob?yt.append(tt.filename,tt.file,tt.file.name):yt.append(tt.filename,tt.file),zt.onerror=function(hn){tt.onError(hn)},zt.onload=function(){return zt.status<200||zt.status>=300?tt.onError(a(tt,zt),b(zt)):tt.onSuccess(b(zt),zt)},zt.open(tt.method,tt.action,!0),tt.withCredentials&&"withCredentials"in zt&&(zt.withCredentials=!0);var _t=tt.headers||{};return _t["X-Requested-With"]!==null&&zt.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(_t).forEach(function(dn){_t[dn]!==null&&zt.setRequestHeader(dn,_t[dn])}),zt.send(yt),{abort:function(){zt.abort()}}}var x=+new Date,z=0;function ne(){return"rc-upload-".concat(x,"-").concat(++z)}var ae=te(48736),le=function(tt,zt){if(tt&&zt){var yt=Array.isArray(zt)?zt:zt.split(","),_t=tt.name||"",dn=tt.type||"",hn=dn.replace(/\/.*$/,"");return yt.some(function(un){var ln=un.trim();if(/^\*(\/\*)?$/.test(un))return!0;if(ln.charAt(0)==="."){var Wn=_t.toLowerCase(),Xn=ln.toLowerCase(),Kt=[Xn];return(Xn===".jpg"||Xn===".jpeg")&&(Kt=[".jpg",".jpeg"]),Kt.some(function(aa){return Wn.endsWith(aa)})}return/\/\*$/.test(ln)?hn===ln.replace(/\/.*$/,""):dn===ln?!0:/^\w+$/.test(ln)?((0,ae.ZP)(!1,"Upload takes an invalidate 'accept' type '".concat(ln,"'.Skip for check.")),!0):!1})}return!0};function se(tt,zt){var yt=tt.createReader(),_t=[];function dn(){yt.readEntries(function(hn){var un=Array.prototype.slice.apply(hn);_t=_t.concat(un);var ln=!un.length;ln?zt(_t):dn()})}dn()}var ce=function(zt,yt,_t){var dn=function hn(un,ln){un&&(un.path=ln||"",un.isFile?un.file(function(Wn){_t(Wn)&&(un.fullPath&&!Wn.webkitRelativePath&&(Object.defineProperties(Wn,{webkitRelativePath:{writable:!0}}),Wn.webkitRelativePath=un.fullPath.replace(/^\//,""),Object.defineProperties(Wn,{webkitRelativePath:{writable:!1}})),yt([Wn]))}):un.isDirectory&&se(un,function(Wn){Wn.forEach(function(Xn){hn(Xn,"".concat(ln).concat(un.name,"/"))})}))};zt.forEach(function(hn){dn(hn.webkitGetAsEntry())})},be=ce,fe=["component","prefixCls","className","disabled","id","style","multiple","accept","capture","children","directory","openFileDialogOnClick","onMouseEnter","onMouseLeave"],Oe=function(tt){(0,Je.Z)(yt,tt);var zt=(0,Qe.Z)(yt);function yt(){var _t;(0,Fe.Z)(this,yt);for(var dn=arguments.length,hn=new Array(dn),un=0;un<dn;un++)hn[un]=arguments[un];return _t=zt.call.apply(zt,[this].concat(hn)),_t.state={uid:ne()},_t.reqs={},_t.fileInput=void 0,_t._isMounted=void 0,_t.onChange=function(ln){var Wn=_t.props,Xn=Wn.accept,Kt=Wn.directory,aa=ln.target.files,ya=(0,ie.Z)(aa).filter(function(Ca){return!Kt||le(Ca,Xn)});_t.uploadFiles(ya),_t.reset()},_t.onClick=function(ln){var Wn=_t.fileInput;if(Wn){var Xn=ln.target,Kt=_t.props.onClick;if(Xn&&Xn.tagName==="BUTTON"){var aa=Wn.parentNode;aa.focus(),Xn.blur()}Wn.click(),Kt&&Kt(ln)}},_t.onKeyDown=function(ln){ln.key==="Enter"&&_t.onClick(ln)},_t.onFileDrop=function(ln){var Wn=_t.props.multiple;if(ln.preventDefault(),ln.type!=="dragover")if(_t.props.directory)be(Array.prototype.slice.call(ln.dataTransfer.items),_t.uploadFiles,function(Kt){return le(Kt,_t.props.accept)});else{var Xn=(0,ie.Z)(ln.dataTransfer.files).filter(function(Kt){return le(Kt,_t.props.accept)});Wn===!1&&(Xn=Xn.slice(0,1)),_t.uploadFiles(Xn)}},_t.uploadFiles=function(ln){var Wn=(0,ie.Z)(ln),Xn=Wn.map(function(Kt){return Kt.uid=ne(),_t.processFile(Kt,Wn)});Promise.all(Xn).then(function(Kt){var aa=_t.props.onBatchStart;aa==null||aa(Kt.map(function(ya){var Ca=ya.origin,pa=ya.parsedFile;return{file:Ca,parsedFile:pa}})),Kt.filter(function(ya){return ya.parsedFile!==null}).forEach(function(ya){_t.post(ya)})})},_t.processFile=function(){var ln=(0,oe.Z)((0,pt.Z)().mark(function Wn(Xn,Kt){var aa,ya,Ca,pa,Fn,Tn,Vn,Ln,na;return(0,pt.Z)().wrap(function(da){for(;;)switch(da.prev=da.next){case 0:if(aa=_t.props.beforeUpload,ya=Xn,!aa){da.next=14;break}return da.prev=3,da.next=6,aa(Xn,Kt);case 6:ya=da.sent,da.next=12;break;case 9:da.prev=9,da.t0=da.catch(3),ya=!1;case 12:if(ya!==!1){da.next=14;break}return da.abrupt("return",{origin:Xn,parsedFile:null,action:null,data:null});case 14:if(Ca=_t.props.action,typeof Ca!="function"){da.next=21;break}return da.next=18,Ca(Xn);case 18:pa=da.sent,da.next=22;break;case 21:pa=Ca;case 22:if(Fn=_t.props.data,typeof Fn!="function"){da.next=29;break}return da.next=26,Fn(Xn);case 26:Tn=da.sent,da.next=30;break;case 29:Tn=Fn;case 30:return Vn=((0,Te.Z)(ya)==="object"||typeof ya=="string")&&ya?ya:Xn,Vn instanceof File?Ln=Vn:Ln=new File([Vn],Xn.name,{type:Xn.type}),na=Ln,na.uid=Xn.uid,da.abrupt("return",{origin:Xn,data:Tn,parsedFile:na,action:pa});case 35:case"end":return da.stop()}},Wn,null,[[3,9]])}));return function(Wn,Xn){return ln.apply(this,arguments)}}(),_t.saveFileInput=function(ln){_t.fileInput=ln},_t}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 hn=this,un=dn.data,ln=dn.origin,Wn=dn.action,Xn=dn.parsedFile;if(this._isMounted){var Kt=this.props,aa=Kt.onStart,ya=Kt.customRequest,Ca=Kt.name,pa=Kt.headers,Fn=Kt.withCredentials,Tn=Kt.method,Vn=ln.uid,Ln=ya||E,na={action:Wn,filename:Ca,data:un,file:Xn,headers:pa,withCredentials:Fn,method:Tn||"post",onProgress:function(da){var Ba=hn.props.onProgress;Ba==null||Ba(da,Xn)},onSuccess:function(da,Ba){var oa=hn.props.onSuccess;oa==null||oa(da,Xn,Ba),delete hn.reqs[Vn]},onError:function(da,Ba){var oa=hn.props.onError;oa==null||oa(da,Ba,Xn),delete hn.reqs[Vn]}};aa(ln),this.reqs[Vn]=Ln(na)}}},{key:"reset",value:function(){this.setState({uid:ne()})}},{key:"abort",value:function(dn){var hn=this.reqs;if(dn){var un=dn.uid?dn.uid:dn;hn[un]&&hn[un].abort&&hn[un].abort(),delete hn[un]}else Object.keys(hn).forEach(function(ln){hn[ln]&&hn[ln].abort&&hn[ln].abort(),delete hn[ln]})}},{key:"render",value:function(){var dn=this.props,hn=dn.component,un=dn.prefixCls,ln=dn.className,Wn=dn.disabled,Xn=dn.id,Kt=dn.style,aa=dn.multiple,ya=dn.accept,Ca=dn.capture,pa=dn.children,Fn=dn.directory,Tn=dn.openFileDialogOnClick,Vn=dn.onMouseEnter,Ln=dn.onMouseLeave,na=(0,lt.Z)(dn,fe),ha=Ge()((0,Ze.Z)((0,Ze.Z)((0,Ze.Z)({},un,!0),"".concat(un,"-disabled"),Wn),ln,ln)),da=Fn?{directory:"directory",webkitdirectory:"webkitdirectory"}:{},Ba=Wn?{}:{onClick:Tn?this.onClick:function(){},onKeyDown:Tn?this.onKeyDown:function(){},onMouseEnter:Vn,onMouseLeave:Ln,onDrop:this.onFileDrop,onDragOver:this.onFileDrop,tabIndex:"0"};return ee.createElement(hn,(0,Ce.Z)({},Ba,{className:ha,role:"button",style:Kt}),ee.createElement("input",(0,Ce.Z)({},(0,y.Z)(na,{aria:!0,data:!0}),{id:Xn,disabled:Wn,type:"file",ref:this.saveFileInput,onClick:function(Ma){return Ma.stopPropagation()},key:this.state.uid,style:{display:"none"},accept:ya},da,{multiple:aa,onChange:this.onChange},Ca!=null?{capture:Ca}:{})),pa)}}]),yt}(ee.Component),ge=Oe;function it(){}var Le=function(tt){(0,Je.Z)(yt,tt);var zt=(0,Qe.Z)(yt);function yt(){var _t;(0,Fe.Z)(this,yt);for(var dn=arguments.length,hn=new Array(dn),un=0;un<dn;un++)hn[un]=arguments[un];return _t=zt.call.apply(zt,[this].concat(hn)),_t.uploader=void 0,_t.saveUploader=function(ln){_t.uploader=ln},_t}return(0,re.Z)(yt,[{key:"abort",value:function(dn){this.uploader.abort(dn)}},{key:"render",value:function(){return ee.createElement(ge,(0,Ce.Z)({},this.props,{ref:this.saveUploader}))}}]),yt}(ee.Component);Le.defaultProps={component:"span",prefixCls:"rc-upload",data:{},headers:{},name:"file",multipart:!1,onStart:it,onError:it,onSuccess:it,multiple:!1,beforeUpload:null,customRequest:null,withCredentials:!1,openFileDialogOnClick:!0};var Ke=Le,ye=Ke,je=te(18929),qe=te(4676),$e=te(36355),Ue=te(1684),Rt=te(9763),Ye=te(31724),Dt={icon:function(zt,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:zt}}]}},name:"file",theme:"twotone"},qt=Dt,Me=te(7657),ke=function(zt,yt){return ee.createElement(Me.Z,(0,Ce.Z)({},zt,{ref:yt,icon:qt}))},Pt=ee.forwardRef(ke),Gt=Pt,mt=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"},Be=Jt,Xt=function(zt,yt){return ee.createElement(Me.Z,(0,Ce.Z)({},zt,{ref:yt,icon:Be}))},pn=ee.forwardRef(Xt),St=pn,ut={icon:function(zt,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:zt}},{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:zt}}]}},name:"picture",theme:"twotone"},Xe=ut,Ie=function(zt,yt){return ee.createElement(Me.Z,(0,Ce.Z)({},zt,{ref:yt,icon:Xe}))},he=ee.forwardRef(Ie),de=he,Ne=te(77900),at=te(56762),Se=te(62892),ve=te(92343),et=te(3113);function De(tt){return Object.assign(Object.assign({},tt),{lastModified:tt.lastModified,lastModifiedDate:tt.lastModifiedDate,name:tt.name,size:tt.size,type:tt.type,uid:tt.uid,percent:0,originFileObj:tt})}function Ee(tt,zt){const yt=(0,ie.Z)(zt),_t=yt.findIndex(dn=>{let{uid:hn}=dn;return hn===tt.uid});return _t===-1?yt.push(tt):yt[_t]=tt,yt}function _e(tt,zt){const yt=tt.uid!==void 0?"uid":"name";return zt.filter(_t=>_t[yt]===tt[yt])[0]}function Wt(tt,zt){const yt=tt.uid!==void 0?"uid":"name",_t=zt.filter(dn=>dn[yt]!==tt[yt]);return _t.length===zt.length?null:_t}const ht=function(){const zt=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:"").split("/"),_t=zt[zt.length-1].split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(_t)||[""])[0]},Tt=tt=>tt.indexOf("image/")===0,Mt=tt=>{if(tt.type&&!tt.thumbUrl)return Tt(tt.type);const zt=tt.thumbUrl||tt.url||"",yt=ht(zt);return/^data:image\//.test(zt)||/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico|heic|heif)$/i.test(yt)?!0:!(/^data:/.test(zt)||yt)},Zt=200;function xe(tt){return new Promise(zt=>{if(!tt.type||!Tt(tt.type)){zt("");return}const yt=document.createElement("canvas");yt.width=Zt,yt.height=Zt,yt.style.cssText=`position: fixed; left: 0; top: 0; width: ${Zt}px; height: ${Zt}px; z-index: 9999; display: none;`,document.body.appendChild(yt);const _t=yt.getContext("2d"),dn=new Image;if(dn.onload=()=>{const{width:hn,height:un}=dn;let ln=Zt,Wn=Zt,Xn=0,Kt=0;hn>un?(Wn=un*(Zt/hn),Kt=-(Wn-ln)/2):(ln=hn*(Zt/un),Xn=-(ln-Wn)/2),_t.drawImage(dn,Xn,Kt,ln,Wn);const aa=yt.toDataURL();document.body.removeChild(yt),window.URL.revokeObjectURL(dn.src),zt(aa)},dn.crossOrigin="anonymous",tt.type.startsWith("image/svg+xml")){const hn=new FileReader;hn.onload=()=>{hn.result&&(dn.src=hn.result)},hn.readAsDataURL(tt)}else if(tt.type.startsWith("image/gif")){const hn=new FileReader;hn.onload=()=>{hn.result&&zt(hn.result)},hn.readAsDataURL(tt)}else dn.src=window.URL.createObjectURL(tt)})}var dt=te(26227),vt=te(41464),ft=te(15277),Nt=te(93948),Vt=te(6848),an=ee.forwardRef((tt,zt)=>{let{prefixCls:yt,className:_t,style:dn,locale:hn,listType:un,file:ln,items:Wn,progress:Xn,iconRender:Kt,actionIconRender:aa,itemRender:ya,isImgUrl:Ca,showPreviewIcon:pa,showRemoveIcon:Fn,showDownloadIcon:Tn,previewIcon:Vn,removeIcon:Ln,downloadIcon:na,onPreview:ha,onDownload:da,onClose:Ba}=tt;var oa,Ma;const{status:eo}=ln,[fo,ja]=ee.useState(eo);ee.useEffect(()=>{eo!=="removed"&&ja(eo)},[eo]);const[Da,Xa]=ee.useState(!1);ee.useEffect(()=>{const po=setTimeout(()=>{Xa(!0)},300);return()=>{clearTimeout(po)}},[]);const ka=Kt(ln);let Ga=ee.createElement("div",{className:`${yt}-icon`},ka);if(un==="picture"||un==="picture-card"||un==="picture-circle")if(fo==="uploading"||!ln.thumbUrl&&!ln.url){const po=Ge()(`${yt}-list-item-thumbnail`,{[`${yt}-list-item-file`]:fo!=="uploading"});Ga=ee.createElement("div",{className:po},ka)}else{const po=Ca!=null&&Ca(ln)?ee.createElement("img",{src:ln.thumbUrl||ln.url,alt:ln.name,className:`${yt}-list-item-image`,crossOrigin:ln.crossOrigin}):ka,vo=Ge()(`${yt}-list-item-thumbnail`,{[`${yt}-list-item-file`]:Ca&&!Ca(ln)});Ga=ee.createElement("a",{className:vo,onClick:jo=>ha(ln,jo),href:ln.url||ln.thumbUrl,target:"_blank",rel:"noopener noreferrer"},po)}const Na=Ge()(`${yt}-list-item`,`${yt}-list-item-${fo}`),_n=typeof ln.linkProps=="string"?JSON.parse(ln.linkProps):ln.linkProps,Za=Fn?aa((typeof Ln=="function"?Ln(ln):Ln)||ee.createElement(dt.Z,null),()=>Ba(ln),yt,hn.removeFile):null,uo=Tn&&fo==="done"?aa((typeof na=="function"?na(ln):na)||ee.createElement(vt.Z,null),()=>da(ln),yt,hn.downloadFile):null,za=un!=="picture-card"&&un!=="picture-circle"&&ee.createElement("span",{key:"download-delete",className:Ge()(`${yt}-list-item-actions`,{picture:un==="picture"})},uo,Za),to=Ge()(`${yt}-list-item-name`),lo=ln.url?[ee.createElement("a",Object.assign({key:"view",target:"_blank",rel:"noopener noreferrer",className:to,title:ln.name},_n,{href:ln.url,onClick:po=>ha(ln,po)}),ln.name),za]:[ee.createElement("span",{key:"view",className:to,onClick:po=>ha(ln,po),title:ln.name},ln.name),za],ua={pointerEvents:"none",opacity:.5},Ka=pa?ee.createElement("a",{href:ln.url||ln.thumbUrl,target:"_blank",rel:"noopener noreferrer",style:ln.url||ln.thumbUrl?void 0:ua,onClick:po=>ha(ln,po),title:hn.previewFile},typeof Vn=="function"?Vn(ln):Vn||ee.createElement(ft.Z,null)):null,Aa=(un==="picture-card"||un==="picture-circle")&&fo!=="uploading"&&ee.createElement("span",{className:`${yt}-list-item-actions`},Ka,fo==="done"&&uo,Za),{getPrefixCls:ao}=ee.useContext($e.E_),Po=ao(),No=ee.createElement("div",{className:Na},Ga,lo,Aa,Da&&ee.createElement(Ne.default,{motionName:`${Po}-fade`,visible:fo==="uploading",motionDeadline:2e3},po=>{let{className:vo}=po;const jo="percent"in ln?ee.createElement(Nt.Z,Object.assign({},Xn,{type:"line",percent:ln.percent,"aria-label":ln["aria-label"],"aria-labelledby":ln["aria-labelledby"]})):null;return ee.createElement("div",{className:Ge()(`${yt}-list-item-progress`,vo)},jo)})),Qo=ln.response&&typeof ln.response=="string"?ln.response:((oa=ln.error)===null||oa===void 0?void 0:oa.statusText)||((Ma=ln.error)===null||Ma===void 0?void 0:Ma.message)||hn.uploadError,zo=fo==="error"?ee.createElement(Vt.Z,{title:Qo,getPopupContainer:po=>po.parentNode},No):No;return ee.createElement("div",{className:Ge()(`${yt}-list-item-container`,_t),style:dn,ref:zt},ya?ya(zo,ln,Wn,{download:da.bind(null,ln),preview:ha.bind(null,ln),remove:Ba.bind(null,ln)}):zo)});const Sn=(tt,zt)=>{const{listType:yt="text",previewFile:_t=xe,onPreview:dn,onDownload:hn,onRemove:un,locale:ln,iconRender:Wn,isImageUrl:Xn=Mt,prefixCls:Kt,items:aa=[],showPreviewIcon:ya=!0,showRemoveIcon:Ca=!0,showDownloadIcon:pa=!1,removeIcon:Fn,previewIcon:Tn,downloadIcon:Vn,progress:Ln={size:[-1,2],showInfo:!1},appendAction:na,appendActionVisible:ha=!0,itemRender:da,disabled:Ba}=tt,oa=(0,at.Z)(),[Ma,eo]=ee.useState(!1);ee.useEffect(()=>{yt!=="picture"&&yt!=="picture-card"&&yt!=="picture-circle"||(aa||[]).forEach(ua=>{typeof document=="undefined"||typeof window=="undefined"||!window.FileReader||!window.File||!(ua.originFileObj instanceof File||ua.originFileObj instanceof Blob)||ua.thumbUrl!==void 0||(ua.thumbUrl="",_t&&_t(ua.originFileObj).then(Ka=>{ua.thumbUrl=Ka||"",oa()}))})},[yt,aa,_t]),ee.useEffect(()=>{eo(!0)},[]);const fo=(ua,Ka)=>{if(dn)return Ka==null||Ka.preventDefault(),dn(ua)},ja=ua=>{typeof hn=="function"?hn(ua):ua.url&&window.open(ua.url)},Da=ua=>{un==null||un(ua)},Xa=ua=>{if(Wn)return Wn(ua,yt);const Ka=ua.status==="uploading",Aa=Xn&&Xn(ua)?ee.createElement(de,null):ee.createElement(Gt,null);let ao=Ka?ee.createElement(mt.Z,null):ee.createElement(St,null);return yt==="picture"?ao=Ka?ee.createElement(mt.Z,null):Aa:(yt==="picture-card"||yt==="picture-circle")&&(ao=Ka?ln.uploading:Aa),ao},ka=(ua,Ka,Aa,ao)=>{const Po={type:"text",size:"small",title:ao,onClick:No=>{Ka(),(0,ve.l$)(ua)&&ua.props.onClick&&ua.props.onClick(No)},className:`${Aa}-list-item-action`,disabled:Ba};if((0,ve.l$)(ua)){const No=(0,ve.Tm)(ua,Object.assign(Object.assign({},ua.props),{onClick:()=>{}}));return ee.createElement(et.ZP,Object.assign({},Po,{icon:No}))}return ee.createElement(et.ZP,Object.assign({},Po),ee.createElement("span",null,ua))};ee.useImperativeHandle(zt,()=>({handlePreview:fo,handleDownload:ja}));const{getPrefixCls:Ga}=ee.useContext($e.E_),Na=Ga("upload",Kt),_n=Ga(),Za=Ge()(`${Na}-list`,`${Na}-list-${yt}`),uo=(0,ie.Z)(aa.map(ua=>({key:ua.uid,file:ua})));let to={motionDeadline:2e3,motionName:`${Na}-${yt==="picture-card"||yt==="picture-circle"?"animate-inline":"animate"}`,keys:uo,motionAppear:Ma};const lo=ee.useMemo(()=>{const ua=Object.assign({},(0,Se.Z)(_n));return delete ua.onAppearEnd,delete ua.onEnterEnd,delete ua.onLeaveEnd,ua},[_n]);return yt!=="picture-card"&&yt!=="picture-circle"&&(to=Object.assign(Object.assign({},lo),to)),ee.createElement("div",{className:Za},ee.createElement(Ne.CSSMotionList,Object.assign({},to,{component:!1}),ua=>{let{key:Ka,file:Aa,className:ao,style:Po}=ua;return ee.createElement(an,{key:Ka,locale:ln,prefixCls:Na,className:ao,style:Po,file:Aa,items:aa,progress:Ln,listType:yt,isImgUrl:Xn,showPreviewIcon:ya,showRemoveIcon:Ca,showDownloadIcon:pa,removeIcon:Fn,previewIcon:Tn,downloadIcon:Vn,iconRender:Xa,actionIconRender:ka,itemRender:da,onPreview:fo,onDownload:ja,onClose:Da})}),na&&ee.createElement(Ne.default,Object.assign({},to,{visible:ha,forceRender:!0}),ua=>{let{className:Ka,style:Aa}=ua;return(0,ve.Tm)(na,ao=>({className:Ge()(ao.className,Ka),style:Object.assign(Object.assign(Object.assign({},Aa),{pointerEvents:Ka?"none":void 0}),ao.style)}))}))};var Lt=ee.forwardRef(Sn),Ct=te(17313),Ut=te(8378),cn=te(83116),sn=te(37613),nt=tt=>{const{componentCls:zt,iconCls:yt}=tt;return{[`${zt}-wrapper`]:{[`${zt}-drag`]:{position:"relative",width:"100%",height:"100%",textAlign:"center",background:tt.colorFillAlter,border:`${tt.lineWidth}px dashed ${tt.colorBorder}`,borderRadius:tt.borderRadiusLG,cursor:"pointer",transition:`border-color ${tt.motionDurationSlow}`,[zt]:{padding:`${tt.padding}px 0`},[`${zt}-btn`]:{display:"table",width:"100%",height:"100%",outline:"none"},[`${zt}-drag-container`]:{display:"table-cell",verticalAlign:"middle"},[`&:not(${zt}-disabled):hover`]:{borderColor:tt.colorPrimaryHover},[`p${zt}-drag-icon`]:{marginBottom:tt.margin,[yt]:{color:tt.colorPrimary,fontSize:tt.uploadThumbnailSize}},[`p${zt}-text`]:{margin:`0 0 ${tt.marginXXS}px`,color:tt.colorTextHeading,fontSize:tt.fontSizeLG},[`p${zt}-hint`]:{color:tt.colorTextDescription,fontSize:tt.fontSize},[`&${zt}-disabled`]:{cursor:"not-allowed",[`p${zt}-drag-icon ${yt},
p${zt}-text,
p${zt}-hint
`]:{color:tt.colorTextDisabled}}}}}},Qt=tt=>{const{componentCls:zt,antCls:yt,iconCls:_t,fontSize:dn,lineHeight:hn}=tt,un=`${zt}-list-item`,ln=`${un}-actions`,Wn=`${un}-action`,Xn=Math.round(dn*hn);return{[`${zt}-wrapper`]:{[`${zt}-list`]:Object.assign(Object.assign({},(0,Ct.dF)()),{lineHeight:tt.lineHeight,[un]:{position:"relative",height:tt.lineHeight*dn,marginTop:tt.marginXS,fontSize:dn,display:"flex",alignItems:"center",transition:`background-color ${tt.motionDurationSlow}`,"&:hover":{backgroundColor:tt.controlItemBgHover},[`${un}-name`]:Object.assign(Object.assign({},Ct.vS),{padding:`0 ${tt.paddingXS}px`,lineHeight:hn,flex:"auto",transition:`all ${tt.motionDurationSlow}`}),[ln]:{[Wn]:{opacity:0},[`${Wn}${yt}-btn-sm`]:{height:Xn,border:0,lineHeight:1,"> span":{transform:"scale(1)"}},[`
${Wn}:focus-visible,
&.picture ${Wn}
`]:{opacity:1},[_t]:{color:tt.actionsColor,transition:`all ${tt.motionDurationSlow}`},[`&:hover ${_t}`]:{color:tt.colorText}},[`${zt}-icon ${_t}`]:{color:tt.colorTextDescription,fontSize:dn},[`${un}-progress`]:{position:"absolute",bottom:-tt.uploadProgressOffset,width:"100%",paddingInlineStart:dn+tt.paddingXS,fontSize:dn,lineHeight:0,pointerEvents:"none","> div":{margin:0}}},[`${un}:hover ${Wn}`]:{opacity:1,color:tt.colorText},[`${un}-error`]:{color:tt.colorError,[`${un}-name, ${zt}-icon ${_t}`]:{color:tt.colorError},[ln]:{[`${_t}, ${_t}:hover`]:{color:tt.colorError},[Wn]:{opacity:1}}},[`${zt}-list-item-container`]:{transition:`opacity ${tt.motionDurationSlow}, height ${tt.motionDurationSlow}`,"&::before":{display:"table",width:0,height:0,content:'""'}}})}}},yn=te(93083),Pe=te(1950);const Ve=new yn.Keyframes("uploadAnimateInlineIn",{from:{width:0,height:0,margin:0,padding:0,opacity:0}}),st=new yn.Keyframes("uploadAnimateInlineOut",{to:{width:0,height:0,margin:0,padding:0,opacity:0}});var xt=tt=>{const{componentCls:zt}=tt,yt=`${zt}-animate-inline`;return[{[`${zt}-wrapper`]:{[`${yt}-appear, ${yt}-enter, ${yt}-leave`]:{animationDuration:tt.motionDurationSlow,animationTimingFunction:tt.motionEaseInOutCirc,animationFillMode:"forwards"},[`${yt}-appear, ${yt}-enter`]:{animationName:Ve},[`${yt}-leave`]:{animationName:st}}},{[`${zt}-wrapper`]:(0,Pe.J$)(tt)},Ve,st]},$t=te(93398),Ft=te(64993);const ze=tt=>{const{componentCls:zt,iconCls:yt,uploadThumbnailSize:_t,uploadProgressOffset:dn}=tt,hn=`${zt}-list`,un=`${hn}-item`;return{[`${zt}-wrapper`]:{[`
${hn}${hn}-picture,
${hn}${hn}-picture-card,
${hn}${hn}-picture-circle
`]:{[un]:{position:"relative",height:_t+tt.lineWidth*2+tt.paddingXS*2,padding:tt.paddingXS,border:`${tt.lineWidth}px ${tt.lineType} ${tt.colorBorder}`,borderRadius:tt.borderRadiusLG,"&:hover":{background:"transparent"},[`${un}-thumbnail`]:Object.assign(Object.assign({},Ct.vS),{width:_t,height:_t,lineHeight:`${_t+tt.paddingSM}px`,textAlign:"center",flex:"none",[yt]:{fontSize:tt.fontSizeHeading2,color:tt.colorPrimary},img:{display:"block",width:"100%",height:"100%",overflow:"hidden"}}),[`${un}-progress`]:{bottom:dn,width:`calc(100% - ${tt.paddingSM*2}px)`,marginTop:0,paddingInlineStart:_t+tt.paddingXS}},[`${un}-error`]:{borderColor:tt.colorError,[`${un}-thumbnail ${yt}`]:{[`svg path[fill='${$t.blue[0]}']`]:{fill:tt.colorErrorBg},[`svg path[fill='${$t.blue.primary}']`]:{fill:tt.colorError}}},[`${un}-uploading`]:{borderStyle:"dashed",[`${un}-name`]:{marginBottom:dn}}},[`${hn}${hn}-picture-circle ${un}`]:{[`&, &::before, ${un}-thumbnail`]:{borderRadius:"50%"}}}}},We=tt=>{const{componentCls:zt,iconCls:yt,fontSizeLG:_t,colorTextLightSolid:dn}=tt,hn=`${zt}-list`,un=`${hn}-item`,ln=tt.uploadPicCardSize;return{[`
${zt}-wrapper${zt}-picture-card-wrapper,
${zt}-wrapper${zt}-picture-circle-wrapper
`]:Object.assign(Object.assign({},(0,Ct.dF)()),{display:"inline-block",width:"100%",[`${zt}${zt}-select`]:{width:ln,height:ln,marginInlineEnd:tt.marginXS,marginBottom:tt.marginXS,textAlign:"center",verticalAlign:"top",backgroundColor:tt.colorFillAlter,border:`${tt.lineWidth}px dashed ${tt.colorBorder}`,borderRadius:tt.borderRadiusLG,cursor:"pointer",transition:`border-color ${tt.motionDurationSlow}`,[`> ${zt}`]:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%",textAlign:"center"},[`&:not(${zt}-disabled):hover`]:{borderColor:tt.colorPrimary}},[`${hn}${hn}-picture-card, ${hn}${hn}-picture-circle`]:{[`${hn}-item-container`]:{display:"inline-block",width:ln,height:ln,marginBlock:`0 ${tt.marginXS}px`,marginInline:`0 ${tt.marginXS}px`,verticalAlign:"top"},"&::after":{display:"none"},[un]:{height:"100%",margin:0,"&::before":{position:"absolute",zIndex:1,width:`calc(100% - ${tt.paddingXS*2}px)`,height:`calc(100% - ${tt.paddingXS*2}px)`,backgroundColor:tt.colorBgMask,opacity:0,transition:`all ${tt.motionDurationSlow}`,content:'" "'}},[`${un}:hover`]:{[`&::before, ${un}-actions`]:{opacity:1}},[`${un}-actions`]:{position:"absolute",insetInlineStart:0,zIndex:10,width:"100%",whiteSpace:"nowrap",textAlign:"center",opacity:0,transition:`all ${tt.motionDurationSlow}`,[`${yt}-eye, ${yt}-download, ${yt}-delete`]:{zIndex:10,width:_t,margin:`0 ${tt.marginXXS}px`,fontSize:_t,cursor:"pointer",transition:`all ${tt.motionDurationSlow}`,svg:{verticalAlign:"baseline"}}},[`${un}-actions, ${un}-actions:hover`]:{[`${yt}-eye, ${yt}-download, ${yt}-delete`]:{color:new Ft.C(dn).setAlpha(.65).toRgbString(),"&:hover":{color:dn}}},[`${un}-thumbnail, ${un}-thumbnail img`]:{position:"static",display:"block",width:"100%",height:"100%",objectFit:"contain"},[`${un}-name`]:{display:"none",textAlign:"center"},[`${un}-file + ${un}-name`]:{position:"absolute",bottom:tt.margin,display:"block",width:`calc(100% - ${tt.paddingXS*2}px)`},[`${un}-uploading`]:{[`&${un}`]:{backgroundColor:tt.colorFillAlter},[`&::before, ${yt}-eye, ${yt}-download, ${yt}-delete`]:{display:"none"}},[`${un}-progress`]:{bottom:tt.marginXL,width:`calc(100% - ${tt.paddingXS*2}px)`,paddingInlineStart:0}}}),[`${zt}-wrapper${zt}-picture-circle-wrapper`]:{[`${zt}${zt}-select`]:{borderRadius:"50%"}}}};var ct=tt=>{const{componentCls:zt}=tt;return{[`${zt}-rtl`]:{direction:"rtl"}}};const jt=tt=>{const{componentCls:zt,colorTextDisabled:yt}=tt;return{[`${zt}-wrapper`]:Object.assign(Object.assign({},(0,Ct.Wf)(tt)),{[zt]:{outline:0,"input[type='file']":{cursor:"pointer"}},[`${zt}-select`]:{display:"inline-block"},[`${zt}-disabled`]:{color:yt,cursor:"not-allowed"}})}};var Ot=(0,cn.Z)("Upload",tt=>{const{fontSizeHeading3:zt,fontSize:yt,lineHeight:_t,lineWidth:dn,controlHeightLG:hn}=tt,un=Math.round(yt*_t),ln=(0,sn.TS)(tt,{uploadThumbnailSize:zt*2,uploadProgressOffset:un/2+dn,uploadPicCardSize:hn*2.55});return[jt(ln),nt(ln),ze(ln),We(ln),Qt(ln),xt(ln),ct(ln),(0,Ut.Z)(ln)]},tt=>({actionsColor:tt.colorTextDescription})),vn=function(tt,zt,yt,_t){function dn(hn){return hn instanceof yt?hn:new yt(function(un){un(hn)})}return new(yt||(yt=Promise))(function(hn,un){function ln(Kt){try{Xn(_t.next(Kt))}catch(aa){un(aa)}}function Wn(Kt){try{Xn(_t.throw(Kt))}catch(aa){un(aa)}}function Xn(Kt){Kt.done?hn(Kt.value):dn(Kt.value).then(ln,Wn)}Xn((_t=_t.apply(tt,zt||[])).next())})};const fn=`__LIST_IGNORE_${Date.now()}__`,en=(tt,zt)=>{const{fileList:yt,defaultFileList:_t,onRemove:dn,showUploadList:hn=!0,listType:un="text",onPreview:ln,onDownload:Wn,onChange:Xn,onDrop:Kt,previewFile:aa,disabled:ya,locale:Ca,iconRender:pa,isImageUrl:Fn,progress:Tn,prefixCls:Vn,className:Ln,type:na="select",children:ha,style:da,itemRender:Ba,maxCount:oa,data:Ma={},multiple:eo=!1,action:fo="",accept:ja="",supportServerRender:Da=!0,rootClassName:Xa}=tt,ka=ee.useContext(Ue.Z),Ga=ya!=null?ya:ka,[Na,_n]=(0,je.Z)(_t||[],{value:yt,postState:Pn=>Pn!=null?Pn:[]}),[Za,uo]=ee.useState("drop"),za=ee.useRef(null);ee.useMemo(()=>{const Pn=Date.now();(yt||[]).forEach((mn,En)=>{!mn.uid&&!Object.isFrozen(mn)&&(mn.uid=`__AUTO__${Pn}_${En}__`)})},[yt]);const to=(Pn,mn,En)=>{let bn=(0,ie.Z)(mn),Mn=!1;oa===1?bn=bn.slice(-1):oa&&(Mn=bn.length>oa,bn=bn.slice(0,oa)),(0,qe.flushSync)(()=>{_n(bn)});const Hn={file:Pn,fileList:bn};En&&(Hn.event=En),(!Mn||bn.some(zn=>zn.uid===Pn.uid))&&(0,qe.flushSync)(()=>{Xn==null||Xn(Hn)})},lo=(Pn,mn)=>vn(void 0,void 0,void 0,function*(){const{beforeUpload:En,transformFile:bn}=tt;let Mn=Pn;if(En){const Hn=yield En(Pn,mn);if(Hn===!1)return!1;if(delete Pn[fn],Hn===fn)return Object.defineProperty(Pn,fn,{value:!0,configurable:!0}),!1;typeof Hn=="object"&&Hn&&(Mn=Hn)}return bn&&(Mn=yield bn(Mn)),Mn}),ua=Pn=>{const mn=Pn.filter(Mn=>!Mn.file[fn]);if(!mn.length)return;const En=mn.map(Mn=>De(Mn.file));let bn=(0,ie.Z)(Na);En.forEach(Mn=>{bn=Ee(Mn,bn)}),En.forEach((Mn,Hn)=>{let zn=Mn;if(mn[Hn].parsedFile)Mn.status="uploading";else{const{originFileObj:Ha}=Mn;let wa;try{wa=new File([Ha],Ha.name,{type:Ha.type})}catch($a){wa=new Blob([Ha],{type:Ha.type}),wa.name=Ha.name,wa.lastModifiedDate=new Date,wa.lastModified=new Date().getTime()}wa.uid=Mn.uid,zn=wa}to(zn,bn)})},Ka=(Pn,mn,En)=>{try{typeof Pn=="string"&&(Pn=JSON.parse(Pn))}catch(Hn){}if(!_e(mn,Na))return;const bn=De(mn);bn.status="done",bn.percent=100,bn.response=Pn,bn.xhr=En;const Mn=Ee(bn,Na);to(bn,Mn)},Aa=(Pn,mn)=>{if(!_e(mn,Na))return;const En=De(mn);En.status="uploading",En.percent=Pn.percent;const bn=Ee(En,Na);to(En,bn,Pn)},ao=(Pn,mn,En)=>{if(!_e(En,Na))return;const bn=De(En);bn.error=Pn,bn.response=mn,bn.status="error";const Mn=Ee(bn,Na);to(bn,Mn)},Po=Pn=>{let mn;Promise.resolve(typeof dn=="function"?dn(Pn):dn).then(En=>{var bn;if(En===!1)return;const Mn=Wt(Pn,Na);Mn&&(mn=Object.assign(Object.assign({},Pn),{status:"removed"}),Na==null||Na.forEach(Hn=>{const zn=mn.uid!==void 0?"uid":"name";Hn[zn]===mn[zn]&&!Object.isFrozen(Hn)&&(Hn.status="removed")}),(bn=za.current)===null||bn===void 0||bn.abort(mn),to(mn,Mn))})},No=Pn=>{uo(Pn.type),Pn.type==="drop"&&(Kt==null||Kt(Pn))};ee.useImperativeHandle(zt,()=>({onBatchStart:ua,onSuccess:Ka,onProgress:Aa,onError:ao,fileList:Na,upload:za.current}));const{getPrefixCls:Qo,direction:zo,upload:po}=ee.useContext($e.E_),vo=Qo("upload",Vn),jo=Object.assign(Object.assign({onBatchStart:ua,onError:ao,onProgress:Aa,onSuccess:Ka},tt),{data:Ma,multiple:eo,action:fo,accept:ja,supportServerRender:Da,prefixCls:vo,disabled:Ga,beforeUpload:lo,onChange:void 0});delete jo.className,delete jo.style,(!ha||Ga)&&delete jo.id;const[Mo,Go]=Ot(vo),[tr]=(0,Rt.Z)("Upload",Ye.Z.Upload),{showRemoveIcon:ia,showPreviewIcon:In,showDownloadIcon:Rn,removeIcon:jn,previewIcon:xa,downloadIcon:Wa}=typeof hn=="boolean"?{}:hn,pe=(Pn,mn)=>hn?ee.createElement(Lt,{prefixCls:vo,listType:un,items:Na,previewFile:aa,onPreview:ln,onDownload:Wn,onRemove:Po,showRemoveIcon:!Ga&&ia,showPreviewIcon:In,showDownloadIcon:Rn,removeIcon:jn,previewIcon:xa,downloadIcon:Wa,iconRender:pa,locale:Object.assign(Object.assign({},tr),Ca),isImageUrl:Fn,progress:Tn,appendAction:Pn,appendActionVisible:mn,itemRender:Ba,disabled:Ga}):Pn,kt=Ge()(`${vo}-wrapper`,Ln,Xa,Go,po==null?void 0:po.className,{[`${vo}-rtl`]:zo==="rtl",[`${vo}-picture-card-wrapper`]:un==="picture-card",[`${vo}-picture-circle-wrapper`]:un==="picture-circle"}),rn=Object.assign(Object.assign({},po==null?void 0:po.style),da);if(na==="drag"){const Pn=Ge()(Go,vo,`${vo}-drag`,{[`${vo}-drag-uploading`]:Na.some(mn=>mn.status==="uploading"),[`${vo}-drag-hover`]:Za==="dragover",[`${vo}-disabled`]:Ga,[`${vo}-rtl`]:zo==="rtl"});return Mo(ee.createElement("span",{className:kt},ee.createElement("div",{className:Pn,style:rn,onDrop:No,onDragOver:No,onDragLeave:No},ee.createElement(ye,Object.assign({},jo,{ref:za,className:`${vo}-btn`}),ee.createElement("div",{className:`${vo}-drag-container`},ha))),pe()))}const Cn=Ge()(vo,`${vo}-select`,{[`${vo}-disabled`]:Ga}),Dn=(Pn=>ee.createElement("div",{className:Cn,style:Pn},ee.createElement(ye,Object.assign({},jo,{ref:za}))))(ha?void 0:{display:"none"});return Mo(un==="picture-card"||un==="picture-circle"?ee.createElement("span",{className:kt},pe(Dn,!!ha)):ee.createElement("span",{className:kt},Dn,pe()))};var Qn=ee.forwardRef(en),on=function(tt,zt){var yt={};for(var _t in tt)Object.prototype.hasOwnProperty.call(tt,_t)&&zt.indexOf(_t)<0&&(yt[_t]=tt[_t]);if(tt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var dn=0,_t=Object.getOwnPropertySymbols(tt);dn<_t.length;dn++)zt.indexOf(_t[dn])<0&&Object.prototype.propertyIsEnumerable.call(tt,_t[dn])&&(yt[_t[dn]]=tt[_t[dn]]);return yt},$n=ee.forwardRef((tt,zt)=>{var{style:yt,height:_t}=tt,dn=on(tt,["style","height"]);return ee.createElement(Qn,Object.assign({ref:zt},dn,{type:"drag",style:Object.assign(Object.assign({},yt),{height:_t})}))});const ca=Qn;ca.Dragger=$n,ca.LIST_IGNORE=fn;var qn=ca},24334:function(bt,It,te){var ee,ie;(function(Ae,Ge){bt.exports=Ge(Ae)})(typeof self!="undefined"?self:typeof window!="undefined"?window:typeof te.g!="undefined"?te.g:this,function(Ae){"use strict";Ae=Ae||{};var Ge=Ae.Base64,Ce="2.6.4",Fe="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",re=function(Le){for(var Ke={},ye=0,je=Le.length;ye<je;ye++)Ke[Le.charAt(ye)]=ye;return Ke}(Fe),Je=String.fromCharCode,Qe=function(Le){if(Le.length<2){var Ke=Le.charCodeAt(0);return Ke<128?Le:Ke<2048?Je(192|Ke>>>6)+Je(128|Ke&63):Je(224|Ke>>>12&15)+Je(128|Ke>>>6&63)+Je(128|Ke&63)}else{var Ke=65536+(Le.charCodeAt(0)-55296)*1024+(Le.charCodeAt(1)-56320);return Je(240|Ke>>>18&7)+Je(128|Ke>>>12&63)+Je(128|Ke>>>6&63)+Je(128|Ke&63)}},Ze=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,lt=function(Le){return Le.replace(Ze,Qe)},pt=function(Le){var Ke=[0,2,1][Le.length%3],ye=Le.charCodeAt(0)<<16|(Le.length>1?Le.charCodeAt(1):0)<<8|(Le.length>2?Le.charCodeAt(2):0),je=[Fe.charAt(ye>>>18),Fe.charAt(ye>>>12&63),Ke>=2?"=":Fe.charAt(ye>>>6&63),Ke>=1?"=":Fe.charAt(ye&63)];return je.join("")},Te=Ae.btoa&&typeof Ae.btoa=="function"?function(Le){return Ae.btoa(Le)}:function(Le){if(Le.match(/[^\x00-\xFF]/))throw new RangeError("The string contains invalid characters.");return Le.replace(/[\s\S]{1,3}/g,pt)},oe=function(Le){return Te(lt(String(Le)))},y=function(Le){return Le.replace(/[+\/]/g,function(Ke){return Ke=="+"?"-":"_"}).replace(/=/g,"")},a=function(Le,Ke){return Ke?y(oe(Le)):oe(Le)},b=function(Le){return a(Le,!0)},E;Ae.Uint8Array&&(E=function(Le,Ke){for(var ye="",je=0,qe=Le.length;je<qe;je+=3){var $e=Le[je],Ue=Le[je+1],Rt=Le[je+2],Ye=$e<<16|Ue<<8|Rt;ye+=Fe.charAt(Ye>>>18)+Fe.charAt(Ye>>>12&63)+(typeof Ue!="undefined"?Fe.charAt(Ye>>>6&63):"=")+(typeof Rt!="undefined"?Fe.charAt(Ye&63):"=")}return Ke?y(ye):ye});var x=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,z=function(Le){switch(Le.length){case 4:var Ke=(7&Le.charCodeAt(0))<<18|(63&Le.charCodeAt(1))<<12|(63&Le.charCodeAt(2))<<6|63&Le.charCodeAt(3),ye=Ke-65536;return Je((ye>>>10)+55296)+Je((ye&1023)+56320);case 3:return Je((15&Le.charCodeAt(0))<<12|(63&Le.charCodeAt(1))<<6|63&Le.charCodeAt(2));default:return Je((31&Le.charCodeAt(0))<<6|63&Le.charCodeAt(1))}},ne=function(Le){return Le.replace(x,z)},ae=function(Le){var Ke=Le.length,ye=Ke%4,je=(Ke>0?re[Le.charAt(0)]<<18:0)|(Ke>1?re[Le.charAt(1)]<<12:0)|(Ke>2?re[Le.charAt(2)]<<6:0)|(Ke>3?re[Le.charAt(3)]:0),qe=[Je(je>>>16),Je(je>>>8&255),Je(je&255)];return qe.length-=[0,0,2,1][ye],qe.join("")},le=Ae.atob&&typeof Ae.atob=="function"?function(Le){return Ae.atob(Le)}:function(Le){return Le.replace(/\S{1,4}/g,ae)},se=function(Le){return le(String(Le).replace(/[^A-Za-z0-9\+\/]/g,""))},ce=function(Le){return ne(le(Le))},be=function(Le){return String(Le).replace(/[-_]/g,function(Ke){return Ke=="-"?"+":"/"}).replace(/[^A-Za-z0-9\+\/]/g,"")},fe=function(Le){return ce(be(Le))},Oe;Ae.Uint8Array&&(Oe=function(Le){return Uint8Array.from(se(be(Le)),function(Ke){return Ke.charCodeAt(0)})});var ge=function(){var Le=Ae.Base64;return Ae.Base64=Ge,Le};if(Ae.Base64={VERSION:Ce,atob:se,btoa:Te,fromBase64:fe,toBase64:a,utob:lt,encode:a,encodeURI:b,btou:ne,decode:fe,noConflict:ge,fromUint8Array:E,toUint8Array:Oe},typeof Object.defineProperty=="function"){var it=function(Le){return{value:Le,enumerable:!1,writable:!0,configurable:!0}};Ae.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",it(function(){return fe(this)})),Object.defineProperty(String.prototype,"toBase64",it(function(Le){return a(this,Le)})),Object.defineProperty(String.prototype,"toBase64URI",it(function(){return a(this,!0)}))}}return Ae.Meteor&&(Base64=Ae.Base64),bt.exports?bt.exports.Base64=Ae.Base64:(ee=[],ie=function(){return Ae.Base64}.apply(It,ee),ie!==void 0&&(bt.exports=ie)),{Base64:Ae.Base64}})},39417:function(bt,It,te){"use strict";te.d(It,{Z:function(){return ce}});var ee=te(16378),ie=te(78772),Ae=te(61206),Ge=te(35227),Ce=te(44202),Fe=te(86773),re=te(93002),Je=te(82412),Qe=te(60845),Ze=te(92310),lt=te.n(Ze),pt=te(26112),Te=te(59301),oe=te(39378),y=function(fe){for(var Oe=fe.prefixCls,ge=fe.level,it=fe.isStart,Le=fe.isEnd,Ke="".concat(Oe,"-indent-unit"),ye=[],je=0;je<ge;je+=1){var qe;ye.push(Te.createElement("span",{key:je,className:lt()(Ke,(qe={},(0,ie.Z)(qe,"".concat(Ke,"-start"),it[je]),(0,ie.Z)(qe,"".concat(Ke,"-end"),Le[je]),qe))}))}return Te.createElement("span",{"aria-hidden":"true",className:"".concat(Oe,"-indent")},ye)},a=Te.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"],z="open",ne="close",ae="---",le=function(be){(0,Je.Z)(Oe,be);var fe=(0,Qe.Z)(Oe);function Oe(){var ge;(0,Ce.Z)(this,Oe);for(var it=arguments.length,Le=new Array(it),Ke=0;Ke<it;Ke++)Le[Ke]=arguments[Ke];return ge=fe.call.apply(fe,[this].concat(Le)),ge.state={dragNodeHighlight:!1},ge.selectHandle=void 0,ge.cacheIndent=void 0,ge.onSelectorClick=function(ye){var je=ge.props.context.onNodeClick;je(ye,(0,E.F)(ge.props)),ge.isSelectable()?ge.onSelect(ye):ge.onCheck(ye)},ge.onSelectorDoubleClick=function(ye){var je=ge.props.context.onNodeDoubleClick;je(ye,(0,E.F)(ge.props))},ge.onSelect=function(ye){if(!ge.isDisabled()){var je=ge.props.context.onNodeSelect;je(ye,(0,E.F)(ge.props))}},ge.onCheck=function(ye){if(!ge.isDisabled()){var je=ge.props,qe=je.disableCheckbox,$e=je.checked,Ue=ge.props.context.onNodeCheck;if(!(!ge.isCheckable()||qe)){var Rt=!$e;Ue(ye,(0,E.F)(ge.props),Rt)}}},ge.onMouseEnter=function(ye){var je=ge.props.context.onNodeMouseEnter;je(ye,(0,E.F)(ge.props))},ge.onMouseLeave=function(ye){var je=ge.props.context.onNodeMouseLeave;je(ye,(0,E.F)(ge.props))},ge.onContextMenu=function(ye){var je=ge.props.context.onNodeContextMenu;je(ye,(0,E.F)(ge.props))},ge.onDragStart=function(ye){var je=ge.props.context.onNodeDragStart;ye.stopPropagation(),ge.setState({dragNodeHighlight:!0}),je(ye,(0,re.Z)(ge));try{ye.dataTransfer.setData("text/plain","")}catch(qe){}},ge.onDragEnter=function(ye){var je=ge.props.context.onNodeDragEnter;ye.preventDefault(),ye.stopPropagation(),je(ye,(0,re.Z)(ge))},ge.onDragOver=function(ye){var je=ge.props.context.onNodeDragOver;ye.preventDefault(),ye.stopPropagation(),je(ye,(0,re.Z)(ge))},ge.onDragLeave=function(ye){var je=ge.props.context.onNodeDragLeave;ye.stopPropagation(),je(ye,(0,re.Z)(ge))},ge.onDragEnd=function(ye){var je=ge.props.context.onNodeDragEnd;ye.stopPropagation(),ge.setState({dragNodeHighlight:!1}),je(ye,(0,re.Z)(ge))},ge.onDrop=function(ye){var je=ge.props.context.onNodeDrop;ye.preventDefault(),ye.stopPropagation(),ge.setState({dragNodeHighlight:!1}),je(ye,(0,re.Z)(ge))},ge.onExpand=function(ye){var je=ge.props,qe=je.loading,$e=je.context.onNodeExpand;qe||$e(ye,(0,E.F)(ge.props))},ge.setSelectHandle=function(ye){ge.selectHandle=ye},ge.getNodeState=function(){var ye=ge.props.expanded;return ge.isLeaf()?null:ye?z:ne},ge.hasChildren=function(){var ye=ge.props.eventKey,je=ge.props.context.keyEntities,qe=(0,b.Z)(je,ye)||{},$e=qe.children;return!!($e||[]).length},ge.isLeaf=function(){var ye=ge.props,je=ye.isLeaf,qe=ye.loaded,$e=ge.props.context.loadData,Ue=ge.hasChildren();return je===!1?!1:je||!$e&&!Ue||$e&&qe&&!Ue},ge.isDisabled=function(){var ye=ge.props.disabled,je=ge.props.context.disabled;return!!(je||ye)},ge.isCheckable=function(){var ye=ge.props.checkable,je=ge.props.context.checkable;return!je||ye===!1?!1:je},ge.syncLoadData=function(ye){var je=ye.expanded,qe=ye.loading,$e=ye.loaded,Ue=ge.props.context,Rt=Ue.loadData,Ye=Ue.onNodeLoad;qe||Rt&&je&&!ge.isLeaf()&&!ge.hasChildren()&&!$e&&Ye((0,E.F)(ge.props))},ge.isDraggable=function(){var ye=ge.props,je=ye.data,qe=ye.context.draggable;return!!(qe&&(!qe.nodeDraggable||qe.nodeDraggable(je)))},ge.renderDragHandler=function(){var ye=ge.props.context,je=ye.draggable,qe=ye.prefixCls;return je!=null&&je.icon?Te.createElement("span",{className:"".concat(qe,"-draggable-icon")},je.icon):null},ge.renderSwitcherIconDom=function(ye){var je=ge.props.switcherIcon,qe=ge.props.context.switcherIcon,$e=je||qe;return typeof $e=="function"?$e((0,Ge.Z)((0,Ge.Z)({},ge.props),{},{isLeaf:ye})):$e},ge.renderSwitcher=function(){var ye=ge.props.expanded,je=ge.props.context.prefixCls;if(ge.isLeaf()){var qe=ge.renderSwitcherIconDom(!0);return qe!==!1?Te.createElement("span",{className:lt()("".concat(je,"-switcher"),"".concat(je,"-switcher-noop"))},qe):null}var $e=lt()("".concat(je,"-switcher"),"".concat(je,"-switcher_").concat(ye?z:ne)),Ue=ge.renderSwitcherIconDom(!1);return Ue!==!1?Te.createElement("span",{onClick:ge.onExpand,className:$e},Ue):null},ge.renderCheckbox=function(){var ye=ge.props,je=ye.checked,qe=ye.halfChecked,$e=ye.disableCheckbox,Ue=ge.props.context.prefixCls,Rt=ge.isDisabled(),Ye=ge.isCheckable();if(!Ye)return null;var Dt=typeof Ye!="boolean"?Ye:null;return Te.createElement("span",{className:lt()("".concat(Ue,"-checkbox"),je&&"".concat(Ue,"-checkbox-checked"),!je&&qe&&"".concat(Ue,"-checkbox-indeterminate"),(Rt||$e)&&"".concat(Ue,"-checkbox-disabled")),onClick:ge.onCheck},Dt)},ge.renderIcon=function(){var ye=ge.props.loading,je=ge.props.context.prefixCls;return Te.createElement("span",{className:lt()("".concat(je,"-iconEle"),"".concat(je,"-icon__").concat(ge.getNodeState()||"docu"),ye&&"".concat(je,"-icon_loading"))})},ge.renderSelector=function(){var ye=ge.state.dragNodeHighlight,je=ge.props,qe=je.title,$e=qe===void 0?ae:qe,Ue=je.selected,Rt=je.icon,Ye=je.loading,Dt=je.data,qt=ge.props.context,Me=qt.prefixCls,ke=qt.showIcon,Pt=qt.icon,Gt=qt.loadData,mt=qt.titleRender,Jt=ge.isDisabled(),Be="".concat(Me,"-node-content-wrapper"),Xt;if(ke){var pn=Rt||Pt;Xt=pn?Te.createElement("span",{className:lt()("".concat(Me,"-iconEle"),"".concat(Me,"-icon__customize"))},typeof pn=="function"?pn(ge.props):pn):ge.renderIcon()}else Gt&&Ye&&(Xt=ge.renderIcon());var St;typeof $e=="function"?St=$e(Dt):mt?St=mt(Dt):St=$e;var ut=Te.createElement("span",{className:"".concat(Me,"-title")},St);return Te.createElement("span",{ref:ge.setSelectHandle,title:typeof $e=="string"?$e:"",className:lt()("".concat(Be),"".concat(Be,"-").concat(ge.getNodeState()||"normal"),!Jt&&(Ue||ye)&&"".concat(Me,"-node-selected")),onMouseEnter:ge.onMouseEnter,onMouseLeave:ge.onMouseLeave,onContextMenu:ge.onContextMenu,onClick:ge.onSelectorClick,onDoubleClick:ge.onSelectorDoubleClick},Xt,ut,ge.renderDropIndicator())},ge.renderDropIndicator=function(){var ye=ge.props,je=ye.disabled,qe=ye.eventKey,$e=ge.props.context,Ue=$e.draggable,Rt=$e.dropLevelOffset,Ye=$e.dropPosition,Dt=$e.prefixCls,qt=$e.indent,Me=$e.dropIndicatorRender,ke=$e.dragOverNodeKey,Pt=$e.direction,Gt=!!Ue,mt=!je&&Gt&&ke===qe,Jt=qt!=null?qt:ge.cacheIndent;return ge.cacheIndent=qt,mt?Me({dropPosition:Ye,dropLevelOffset:Rt,indent:Jt,prefixCls:Dt,direction:Pt}):null},ge}return(0,Fe.Z)(Oe,[{key:"componentDidMount",value:function(){this.syncLoadData(this.props)}},{key:"componentDidUpdate",value:function(){this.syncLoadData(this.props)}},{key:"isSelectable",value:function(){var it=this.props.selectable,Le=this.props.context.selectable;return typeof it=="boolean"?it:Le}},{key:"render",value:function(){var it,Le=this.props,Ke=Le.eventKey,ye=Le.className,je=Le.style,qe=Le.dragOver,$e=Le.dragOverGapTop,Ue=Le.dragOverGapBottom,Rt=Le.isLeaf,Ye=Le.isStart,Dt=Le.isEnd,qt=Le.expanded,Me=Le.selected,ke=Le.checked,Pt=Le.halfChecked,Gt=Le.loading,mt=Le.domRef,Jt=Le.active,Be=Le.data,Xt=Le.onMouseMove,pn=Le.selectable,St=(0,Ae.Z)(Le,x),ut=this.props.context,Xe=ut.prefixCls,Ie=ut.filterTreeNode,he=ut.keyEntities,de=ut.dropContainerKey,Ne=ut.dropTargetKey,at=ut.draggingNodeKey,Se=this.isDisabled(),ve=(0,pt.Z)(St,{aria:!0,data:!0}),et=(0,b.Z)(he,Ke)||{},De=et.level,Ee=Dt[Dt.length-1],_e=this.isDraggable(),Wt=!Se&&_e,ht=at===Ke,Tt=pn!==void 0?{"aria-selected":!!pn}:void 0;return Te.createElement("div",(0,ee.Z)({ref:mt,className:lt()(ye,"".concat(Xe,"-treenode"),(it={},(0,ie.Z)(it,"".concat(Xe,"-treenode-disabled"),Se),(0,ie.Z)(it,"".concat(Xe,"-treenode-switcher-").concat(qt?"open":"close"),!Rt),(0,ie.Z)(it,"".concat(Xe,"-treenode-checkbox-checked"),ke),(0,ie.Z)(it,"".concat(Xe,"-treenode-checkbox-indeterminate"),Pt),(0,ie.Z)(it,"".concat(Xe,"-treenode-selected"),Me),(0,ie.Z)(it,"".concat(Xe,"-treenode-loading"),Gt),(0,ie.Z)(it,"".concat(Xe,"-treenode-active"),Jt),(0,ie.Z)(it,"".concat(Xe,"-treenode-leaf-last"),Ee),(0,ie.Z)(it,"".concat(Xe,"-treenode-draggable"),_e),(0,ie.Z)(it,"dragging",ht),(0,ie.Z)(it,"drop-target",Ne===Ke),(0,ie.Z)(it,"drop-container",de===Ke),(0,ie.Z)(it,"drag-over",!Se&&qe),(0,ie.Z)(it,"drag-over-gap-top",!Se&&$e),(0,ie.Z)(it,"drag-over-gap-bottom",!Se&&Ue),(0,ie.Z)(it,"filter-node",Ie&&Ie((0,E.F)(this.props))),it)),style:je,draggable:Wt,"aria-grabbed":ht,onDragStart:Wt?this.onDragStart:void 0,onDragEnter:_e?this.onDragEnter:void 0,onDragOver:_e?this.onDragOver:void 0,onDragLeave:_e?this.onDragLeave:void 0,onDrop:_e?this.onDrop:void 0,onDragEnd:_e?this.onDragEnd:void 0,onMouseMove:Xt},Tt,ve),Te.createElement(a,{prefixCls:Xe,level:De,isStart:Ye,isEnd:Dt}),this.renderDragHandler(),this.renderSwitcher(),this.renderCheckbox(),this.renderSelector())}}]),Oe}(Te.Component),se=function(fe){return Te.createElement(oe.k.Consumer,null,function(Oe){return Te.createElement(le,(0,ee.Z)({},fe,{context:Oe}))})};se.displayName="TreeNode",se.isTreeNode=1;var ce=se},39378:function(bt,It,te){"use strict";te.d(It,{k:function(){return ie}});var ee=te(59301),ie=ee.createContext(null)},48039:function(bt,It,te){"use strict";te.d(It,{O:function(){return ce.Z},Z:function(){return ut}});var ee=te(16378),ie=te(78772),Ae=te(42066),Ge=te(35227),Ce=te(65093),Fe=te(44202),re=te(86773),Je=te(93002),Qe=te(82412),Ze=te(60845),lt=te(92310),pt=te.n(lt),Te=te(10228),oe=te(26112),y=te(48736),a=te(59301),b=te(39378);function E(Xe){var Ie=Xe.dropPosition,he=Xe.dropLevelOffset,de=Xe.indent,Ne={pointerEvents:"none",position:"absolute",right:0,backgroundColor:"red",height:2};switch(Ie){case-1:Ne.top=0,Ne.left=-he*de;break;case 1:Ne.bottom=0,Ne.left=-he*de;break;case 0:Ne.bottom=0,Ne.left=de;break}return a.createElement("div",{style:Ne})}function x(Xe){if(Xe==null)throw new TypeError("Cannot destructure "+Xe)}var z=te(10859),ne=te(61206),ae=te(34280),le=te(50030),se=te(77900),ce=te(39417);function be(Xe,Ie){var he=a.useState(!1),de=(0,z.Z)(he,2),Ne=de[0],at=de[1];a.useLayoutEffect(function(){if(Ne)return Xe(),function(){Ie()}},[Ne]),a.useLayoutEffect(function(){return at(!0),function(){at(!1)}},[])}var fe=te(71430),Oe=["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"],ge=function(Ie,he){var de=Ie.className,Ne=Ie.style,at=Ie.motion,Se=Ie.motionNodes,ve=Ie.motionType,et=Ie.onMotionStart,De=Ie.onMotionEnd,Ee=Ie.active,_e=Ie.treeNodeRequiredProps,Wt=(0,ne.Z)(Ie,Oe),ht=a.useState(!0),Tt=(0,z.Z)(ht,2),Mt=Tt[0],Zt=Tt[1],xe=a.useContext(b.k),dt=xe.prefixCls,vt=Se&&ve!=="hide";(0,ae.Z)(function(){Se&&vt!==Mt&&Zt(vt)},[Se]);var ft=function(){Se&&et()},Nt=a.useRef(!1),Vt=function(){Se&&!Nt.current&&(Nt.current=!0,De())};be(ft,Vt);var nn=function(Sn){vt===Sn&&Vt()};return Se?a.createElement(se.default,(0,ee.Z)({ref:he,visible:Mt},at,{motionAppear:ve==="show",onVisibleChanged:nn}),function(an,Sn){var On=an.className,Lt=an.style;return a.createElement("div",{ref:Sn,className:pt()("".concat(dt,"-treenode-motion"),On),style:Lt},Se.map(function(Ct){var Ut=(0,ee.Z)({},(x(Ct.data),Ct.data)),cn=Ct.title,sn=Ct.key,Nn=Ct.isStart,nt=Ct.isEnd;delete Ut.children;var Bt=(0,fe.H8)(sn,_e);return a.createElement(ce.Z,(0,ee.Z)({},Ut,Bt,{title:cn,active:Ee,data:Ct.data,key:sn,isStart:Nn,isEnd:nt}))}))}):a.createElement(ce.Z,(0,ee.Z)({domRef:he,className:de,style:Ne},Wt,{active:Ee}))};ge.displayName="MotionTreeNode";var it=a.forwardRef(ge),Le=it;function Ke(){var Xe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],Ie=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],he=Xe.length,de=Ie.length;if(Math.abs(he-de)!==1)return{add:!1,key:null};function Ne(at,Se){var ve=new Map;at.forEach(function(De){ve.set(De,!0)});var et=Se.filter(function(De){return!ve.has(De)});return et.length===1?et[0]:null}return he<de?{add:!0,key:Ne(Xe,Ie)}:{add:!1,key:Ne(Ie,Xe)}}function ye(Xe,Ie,he){var de=Xe.findIndex(function(ve){return ve.key===he}),Ne=Xe[de+1],at=Ie.findIndex(function(ve){return ve.key===he});if(Ne){var Se=Ie.findIndex(function(ve){return ve.key===Ne.key});return Ie.slice(at+1,Se)}return Ie.slice(at+1)}var je=["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"],qe={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},$e=function(){},Ue="RC_TREE_MOTION_".concat(Math.random()),Rt={key:Ue},Ye={key:Ue,level:0,index:0,pos:"0",node:Rt,nodes:[Rt]},Dt={parent:null,children:[],pos:Ye.pos,data:Rt,title:null,key:Ue,isStart:[],isEnd:[]};function qt(Xe,Ie,he,de){return Ie===!1||!he?Xe:Xe.slice(0,Math.ceil(he/de)+1)}function Me(Xe){var Ie=Xe.key,he=Xe.pos;return(0,fe.km)(Ie,he)}function ke(Xe){for(var Ie=String(Xe.data.key),he=Xe;he.parent;)he=he.parent,Ie="".concat(he.data.key," > ").concat(Ie);return Ie}var Pt=a.forwardRef(function(Xe,Ie){var he=Xe.prefixCls,de=Xe.data,Ne=Xe.selectable,at=Xe.checkable,Se=Xe.expandedKeys,ve=Xe.selectedKeys,et=Xe.checkedKeys,De=Xe.loadedKeys,Ee=Xe.loadingKeys,_e=Xe.halfCheckedKeys,Wt=Xe.keyEntities,ht=Xe.disabled,Tt=Xe.dragging,Mt=Xe.dragOverNodeKey,Zt=Xe.dropPosition,xe=Xe.motion,dt=Xe.height,vt=Xe.itemHeight,ft=Xe.virtual,Nt=Xe.focusable,Vt=Xe.activeItem,nn=Xe.focused,an=Xe.tabIndex,Sn=Xe.onKeyDown,On=Xe.onFocus,Lt=Xe.onBlur,Ct=Xe.onActiveChange,Ut=Xe.onListChangeStart,cn=Xe.onListChangeEnd,sn=(0,ne.Z)(Xe,je),Nn=a.useRef(null),nt=a.useRef(null);a.useImperativeHandle(Ie,function(){return{scrollTo:function(qn){Nn.current.scrollTo(qn)},getIndentWidth:function(){return nt.current.offsetWidth}}});var Bt=a.useState(Se),Qt=(0,z.Z)(Bt,2),yn=Qt[0],Pe=Qt[1],Ve=a.useState(de),st=(0,z.Z)(Ve,2),gt=st[0],xt=st[1],$t=a.useState(de),Ft=(0,z.Z)($t,2),ze=Ft[0],We=Ft[1],Re=a.useState([]),ct=(0,z.Z)(Re,2),jt=ct[0],Ot=ct[1],vn=a.useState(null),fn=(0,z.Z)(vn,2),en=fn[0],xn=fn[1],Qn=a.useRef(de);Qn.current=de;function on(){var ca=Qn.current;xt(ca),We(ca),Ot([]),xn(null),cn()}(0,ae.Z)(function(){Pe(Se);var ca=Ke(yn,Se);if(ca.key!==null)if(ca.add){var qn=gt.findIndex(function(hn){var un=hn.key;return un===ca.key}),tt=qt(ye(gt,de,ca.key),ft,dt,vt),zt=gt.slice();zt.splice(qn+1,0,Dt),We(zt),Ot(tt),xn("show")}else{var yt=de.findIndex(function(hn){var un=hn.key;return un===ca.key}),_t=qt(ye(de,gt,ca.key),ft,dt,vt),dn=de.slice();dn.splice(yt+1,0,Dt),We(dn),Ot(_t),xn("hide")}else gt!==de&&(xt(de),We(de))},[Se,de]),a.useEffect(function(){Tt||on()},[Tt]);var Un=xe?ze:de,$n={expandedKeys:Se,selectedKeys:ve,loadedKeys:De,loadingKeys:Ee,checkedKeys:et,halfCheckedKeys:_e,dragOverNodeKey:Mt,dropPosition:Zt,keyEntities:Wt};return a.createElement(a.Fragment,null,nn&&Vt&&a.createElement("span",{style:qe,"aria-live":"assertive"},ke(Vt)),a.createElement("div",null,a.createElement("input",{style:qe,disabled:Nt===!1||ht,tabIndex:Nt!==!1?an:null,onKeyDown:Sn,onFocus:On,onBlur:Lt,value:"",onChange:$e,"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:nt,className:"".concat(he,"-indent-unit")}))),a.createElement(le.Z,(0,ee.Z)({},sn,{data:Un,itemKey:Me,height:dt,fullHeight:!1,virtual:ft,itemHeight:vt,prefixCls:"".concat(he,"-list"),ref:Nn,onVisibleChange:function(qn,tt){var zt=new Set(qn),yt=tt.filter(function(_t){return!zt.has(_t)});yt.some(function(_t){return Me(_t)===Ue})&&on()}}),function(ca){var qn=ca.pos,tt=(0,ee.Z)({},(x(ca.data),ca.data)),zt=ca.title,yt=ca.key,_t=ca.isStart,dn=ca.isEnd,hn=(0,fe.km)(yt,qn);delete tt.key,delete tt.children;var un=(0,fe.H8)(hn,$n);return a.createElement(Le,(0,ee.Z)({},tt,un,{title:zt,active:!!Vt&&yt===Vt.key,pos:qn,data:ca.data,isStart:_t,isEnd:dn,motion:xe,motionNodes:yt===Ue?jt:null,motionType:en,onMotionStart:Ut,onMotionEnd:on,treeNodeRequiredProps:$n,onMouseMove:function(){Ct(null)}}))}))});Pt.displayName="NodeList";var Gt=Pt,mt=te(35654),Jt=te(90782),Be=te(67841),Xt=10,pn=function(Xe){(0,Qe.Z)(he,Xe);var Ie=(0,Ze.Z)(he);function he(){var de;(0,Fe.Z)(this,he);for(var Ne=arguments.length,at=new Array(Ne),Se=0;Se<Ne;Se++)at[Se]=arguments[Se];return de=Ie.call.apply(Ie,[this].concat(at)),de.destroyed=!1,de.delayedDragEnterLogic=void 0,de.loadingRetryTimes={},de.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,fe.w$)()},de.dragStartMousePosition=null,de.dragNode=void 0,de.currentMouseOverDroppableNodeKey=null,de.listRef=a.createRef(),de.onNodeDragStart=function(ve,et){var De=de.state,Ee=De.expandedKeys,_e=De.keyEntities,Wt=de.props.onDragStart,ht=et.props.eventKey;de.dragNode=et,de.dragStartMousePosition={x:ve.clientX,y:ve.clientY};var Tt=(0,mt._5)(Ee,ht);de.setState({draggingNodeKey:ht,dragChildrenKeys:(0,mt.wA)(ht,_e),indent:de.listRef.current.getIndentWidth()}),de.setExpandedKeys(Tt),window.addEventListener("dragend",de.onWindowDragEnd),Wt==null||Wt({event:ve,node:(0,fe.F)(et.props)})},de.onNodeDragEnter=function(ve,et){var De=de.state,Ee=De.expandedKeys,_e=De.keyEntities,Wt=De.dragChildrenKeys,ht=De.flattenNodes,Tt=De.indent,Mt=de.props,Zt=Mt.onDragEnter,xe=Mt.onExpand,dt=Mt.allowDrop,vt=Mt.direction,ft=et.props,Nt=ft.pos,Vt=ft.eventKey,nn=(0,Je.Z)(de),an=nn.dragNode;if(de.currentMouseOverDroppableNodeKey!==Vt&&(de.currentMouseOverDroppableNodeKey=Vt),!an){de.resetDragState();return}var Sn=(0,mt.OM)(ve,an,et,Tt,de.dragStartMousePosition,dt,ht,_e,Ee,vt),On=Sn.dropPosition,Lt=Sn.dropLevelOffset,Ct=Sn.dropTargetKey,Ut=Sn.dropContainerKey,cn=Sn.dropTargetPos,sn=Sn.dropAllowed,Nn=Sn.dragOverNodeKey;if(Wt.indexOf(Ct)!==-1||!sn){de.resetDragState();return}if(de.delayedDragEnterLogic||(de.delayedDragEnterLogic={}),Object.keys(de.delayedDragEnterLogic).forEach(function(nt){clearTimeout(de.delayedDragEnterLogic[nt])}),an.props.eventKey!==et.props.eventKey&&(ve.persist(),de.delayedDragEnterLogic[Nt]=window.setTimeout(function(){if(de.state.draggingNodeKey!==null){var nt=(0,Ce.Z)(Ee),Bt=(0,Be.Z)(_e,et.props.eventKey);Bt&&(Bt.children||[]).length&&(nt=(0,mt.L0)(Ee,et.props.eventKey)),"expandedKeys"in de.props||de.setExpandedKeys(nt),xe==null||xe(nt,{node:(0,fe.F)(et.props),expanded:!0,nativeEvent:ve.nativeEvent})}},800)),an.props.eventKey===Ct&&Lt===0){de.resetDragState();return}de.setState({dragOverNodeKey:Nn,dropPosition:On,dropLevelOffset:Lt,dropTargetKey:Ct,dropContainerKey:Ut,dropTargetPos:cn,dropAllowed:sn}),Zt==null||Zt({event:ve,node:(0,fe.F)(et.props),expandedKeys:Ee})},de.onNodeDragOver=function(ve,et){var De=de.state,Ee=De.dragChildrenKeys,_e=De.flattenNodes,Wt=De.keyEntities,ht=De.expandedKeys,Tt=De.indent,Mt=de.props,Zt=Mt.onDragOver,xe=Mt.allowDrop,dt=Mt.direction,vt=(0,Je.Z)(de),ft=vt.dragNode;if(ft){var Nt=(0,mt.OM)(ve,ft,et,Tt,de.dragStartMousePosition,xe,_e,Wt,ht,dt),Vt=Nt.dropPosition,nn=Nt.dropLevelOffset,an=Nt.dropTargetKey,Sn=Nt.dropContainerKey,On=Nt.dropAllowed,Lt=Nt.dropTargetPos,Ct=Nt.dragOverNodeKey;Ee.indexOf(an)!==-1||!On||(ft.props.eventKey===an&&nn===0?de.state.dropPosition===null&&de.state.dropLevelOffset===null&&de.state.dropTargetKey===null&&de.state.dropContainerKey===null&&de.state.dropTargetPos===null&&de.state.dropAllowed===!1&&de.state.dragOverNodeKey===null||de.resetDragState():Vt===de.state.dropPosition&&nn===de.state.dropLevelOffset&&an===de.state.dropTargetKey&&Sn===de.state.dropContainerKey&&Lt===de.state.dropTargetPos&&On===de.state.dropAllowed&&Ct===de.state.dragOverNodeKey||de.setState({dropPosition:Vt,dropLevelOffset:nn,dropTargetKey:an,dropContainerKey:Sn,dropTargetPos:Lt,dropAllowed:On,dragOverNodeKey:Ct}),Zt==null||Zt({event:ve,node:(0,fe.F)(et.props)}))}},de.onNodeDragLeave=function(ve,et){de.currentMouseOverDroppableNodeKey===et.props.eventKey&&!ve.currentTarget.contains(ve.relatedTarget)&&(de.resetDragState(),de.currentMouseOverDroppableNodeKey=null);var De=de.props.onDragLeave;De==null||De({event:ve,node:(0,fe.F)(et.props)})},de.onWindowDragEnd=function(ve){de.onNodeDragEnd(ve,null,!0),window.removeEventListener("dragend",de.onWindowDragEnd)},de.onNodeDragEnd=function(ve,et){var De=de.props.onDragEnd;de.setState({dragOverNodeKey:null}),de.cleanDragState(),De==null||De({event:ve,node:(0,fe.F)(et.props)}),de.dragNode=null,window.removeEventListener("dragend",de.onWindowDragEnd)},de.onNodeDrop=function(ve,et){var De,Ee=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,_e=de.state,Wt=_e.dragChildrenKeys,ht=_e.dropPosition,Tt=_e.dropTargetKey,Mt=_e.dropTargetPos,Zt=_e.dropAllowed;if(Zt){var xe=de.props.onDrop;if(de.setState({dragOverNodeKey:null}),de.cleanDragState(),Tt!==null){var dt=(0,Ge.Z)((0,Ge.Z)({},(0,fe.H8)(Tt,de.getTreeNodeRequiredProps())),{},{active:((De=de.getActiveItem())===null||De===void 0?void 0:De.key)===Tt,data:(0,Be.Z)(de.state.keyEntities,Tt).node}),vt=Wt.indexOf(Tt)!==-1;(0,y.ZP)(!vt,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var ft=(0,mt.yx)(Mt),Nt={event:ve,node:(0,fe.F)(dt),dragNode:de.dragNode?(0,fe.F)(de.dragNode.props):null,dragNodesKeys:[de.dragNode.props.eventKey].concat(Wt),dropToGap:ht!==0,dropPosition:ht+Number(ft[ft.length-1])};Ee||xe==null||xe(Nt),de.dragNode=null}}},de.cleanDragState=function(){var ve=de.state.draggingNodeKey;ve!==null&&de.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),de.dragStartMousePosition=null,de.currentMouseOverDroppableNodeKey=null},de.triggerExpandActionExpand=function(ve,et){var De=de.state,Ee=De.expandedKeys,_e=De.flattenNodes,Wt=et.expanded,ht=et.key,Tt=et.isLeaf;if(!(Tt||ve.shiftKey||ve.metaKey||ve.ctrlKey)){var Mt=_e.filter(function(xe){return xe.key===ht})[0],Zt=(0,fe.F)((0,Ge.Z)((0,Ge.Z)({},(0,fe.H8)(ht,de.getTreeNodeRequiredProps())),{},{data:Mt.data}));de.setExpandedKeys(Wt?(0,mt._5)(Ee,ht):(0,mt.L0)(Ee,ht)),de.onNodeExpand(ve,Zt)}},de.onNodeClick=function(ve,et){var De=de.props,Ee=De.onClick,_e=De.expandAction;_e==="click"&&de.triggerExpandActionExpand(ve,et),Ee==null||Ee(ve,et)},de.onNodeDoubleClick=function(ve,et){var De=de.props,Ee=De.onDoubleClick,_e=De.expandAction;_e==="doubleClick"&&de.triggerExpandActionExpand(ve,et),Ee==null||Ee(ve,et)},de.onNodeSelect=function(ve,et){var De=de.state.selectedKeys,Ee=de.state,_e=Ee.keyEntities,Wt=Ee.fieldNames,ht=de.props,Tt=ht.onSelect,Mt=ht.multiple,Zt=et.selected,xe=et[Wt.key],dt=!Zt;dt?Mt?De=(0,mt.L0)(De,xe):De=[xe]:De=(0,mt._5)(De,xe);var vt=De.map(function(ft){var Nt=(0,Be.Z)(_e,ft);return Nt?Nt.node:null}).filter(function(ft){return ft});de.setUncontrolledState({selectedKeys:De}),Tt==null||Tt(De,{event:"select",selected:dt,node:et,selectedNodes:vt,nativeEvent:ve.nativeEvent})},de.onNodeCheck=function(ve,et,De){var Ee=de.state,_e=Ee.keyEntities,Wt=Ee.checkedKeys,ht=Ee.halfCheckedKeys,Tt=de.props,Mt=Tt.checkStrictly,Zt=Tt.onCheck,xe=et.key,dt,vt={event:"check",node:et,checked:De,nativeEvent:ve.nativeEvent};if(Mt){var ft=De?(0,mt.L0)(Wt,xe):(0,mt._5)(Wt,xe),Nt=(0,mt._5)(ht,xe);dt={checked:ft,halfChecked:Nt},vt.checkedNodes=ft.map(function(Lt){return(0,Be.Z)(_e,Lt)}).filter(function(Lt){return Lt}).map(function(Lt){return Lt.node}),de.setUncontrolledState({checkedKeys:ft})}else{var Vt=(0,Jt.S)([].concat((0,Ce.Z)(Wt),[xe]),!0,_e),nn=Vt.checkedKeys,an=Vt.halfCheckedKeys;if(!De){var Sn=new Set(nn);Sn.delete(xe);var On=(0,Jt.S)(Array.from(Sn),{checked:!1,halfCheckedKeys:an},_e);nn=On.checkedKeys,an=On.halfCheckedKeys}dt=nn,vt.checkedNodes=[],vt.checkedNodesPositions=[],vt.halfCheckedKeys=an,nn.forEach(function(Lt){var Ct=(0,Be.Z)(_e,Lt);if(Ct){var Ut=Ct.node,cn=Ct.pos;vt.checkedNodes.push(Ut),vt.checkedNodesPositions.push({node:Ut,pos:cn})}}),de.setUncontrolledState({checkedKeys:nn},!1,{halfCheckedKeys:an})}Zt==null||Zt(dt,vt)},de.onNodeLoad=function(ve){var et=ve.key,De=new Promise(function(Ee,_e){de.setState(function(Wt){var ht=Wt.loadedKeys,Tt=ht===void 0?[]:ht,Mt=Wt.loadingKeys,Zt=Mt===void 0?[]:Mt,xe=de.props,dt=xe.loadData,vt=xe.onLoad;if(!dt||Tt.indexOf(et)!==-1||Zt.indexOf(et)!==-1)return null;var ft=dt(ve);return ft.then(function(){var Nt=de.state.loadedKeys,Vt=(0,mt.L0)(Nt,et);vt==null||vt(Vt,{event:"load",node:ve}),de.setUncontrolledState({loadedKeys:Vt}),de.setState(function(nn){return{loadingKeys:(0,mt._5)(nn.loadingKeys,et)}}),Ee()}).catch(function(Nt){if(de.setState(function(nn){return{loadingKeys:(0,mt._5)(nn.loadingKeys,et)}}),de.loadingRetryTimes[et]=(de.loadingRetryTimes[et]||0)+1,de.loadingRetryTimes[et]>=Xt){var Vt=de.state.loadedKeys;(0,y.ZP)(!1,"Retry for `loadData` many times but still failed. No more retry."),de.setUncontrolledState({loadedKeys:(0,mt.L0)(Vt,et)}),Ee()}_e(Nt)}),{loadingKeys:(0,mt.L0)(Zt,et)}})});return De.catch(function(){}),De},de.onNodeMouseEnter=function(ve,et){var De=de.props.onMouseEnter;De==null||De({event:ve,node:et})},de.onNodeMouseLeave=function(ve,et){var De=de.props.onMouseLeave;De==null||De({event:ve,node:et})},de.onNodeContextMenu=function(ve,et){var De=de.props.onRightClick;De&&(ve.preventDefault(),De({event:ve,node:et}))},de.onFocus=function(){var ve=de.props.onFocus;de.setState({focused:!0});for(var et=arguments.length,De=new Array(et),Ee=0;Ee<et;Ee++)De[Ee]=arguments[Ee];ve==null||ve.apply(void 0,De)},de.onBlur=function(){var ve=de.props.onBlur;de.setState({focused:!1}),de.onActiveChange(null);for(var et=arguments.length,De=new Array(et),Ee=0;Ee<et;Ee++)De[Ee]=arguments[Ee];ve==null||ve.apply(void 0,De)},de.getTreeNodeRequiredProps=function(){var ve=de.state,et=ve.expandedKeys,De=ve.selectedKeys,Ee=ve.loadedKeys,_e=ve.loadingKeys,Wt=ve.checkedKeys,ht=ve.halfCheckedKeys,Tt=ve.dragOverNodeKey,Mt=ve.dropPosition,Zt=ve.keyEntities;return{expandedKeys:et||[],selectedKeys:De||[],loadedKeys:Ee||[],loadingKeys:_e||[],checkedKeys:Wt||[],halfCheckedKeys:ht||[],dragOverNodeKey:Tt,dropPosition:Mt,keyEntities:Zt}},de.setExpandedKeys=function(ve){var et=de.state,De=et.treeData,Ee=et.fieldNames,_e=(0,fe.oH)(De,ve,Ee);de.setUncontrolledState({expandedKeys:ve,flattenNodes:_e},!0)},de.onNodeExpand=function(ve,et){var De=de.state.expandedKeys,Ee=de.state,_e=Ee.listChanging,Wt=Ee.fieldNames,ht=de.props,Tt=ht.onExpand,Mt=ht.loadData,Zt=et.expanded,xe=et[Wt.key];if(!_e){var dt=De.indexOf(xe),vt=!Zt;if((0,y.ZP)(Zt&&dt!==-1||!Zt&&dt===-1,"Expand state not sync with index check"),vt?De=(0,mt.L0)(De,xe):De=(0,mt._5)(De,xe),de.setExpandedKeys(De),Tt==null||Tt(De,{node:et,expanded:vt,nativeEvent:ve.nativeEvent}),vt&&Mt){var ft=de.onNodeLoad(et);ft&&ft.then(function(){var Nt=(0,fe.oH)(de.state.treeData,De,Wt);de.setUncontrolledState({flattenNodes:Nt})}).catch(function(){var Nt=de.state.expandedKeys,Vt=(0,mt._5)(Nt,xe);de.setExpandedKeys(Vt)})}}},de.onListChangeStart=function(){de.setUncontrolledState({listChanging:!0})},de.onListChangeEnd=function(){setTimeout(function(){de.setUncontrolledState({listChanging:!1})})},de.onActiveChange=function(ve){var et=de.state.activeKey,De=de.props.onActiveChange;et!==ve&&(de.setState({activeKey:ve}),ve!==null&&de.scrollTo({key:ve}),De==null||De(ve))},de.getActiveItem=function(){var ve=de.state,et=ve.activeKey,De=ve.flattenNodes;return et===null?null:De.find(function(Ee){var _e=Ee.key;return _e===et})||null},de.offsetActiveKey=function(ve){var et=de.state,De=et.flattenNodes,Ee=et.activeKey,_e=De.findIndex(function(Tt){var Mt=Tt.key;return Mt===Ee});_e===-1&&ve<0&&(_e=De.length),_e=(_e+ve+De.length)%De.length;var Wt=De[_e];if(Wt){var ht=Wt.key;de.onActiveChange(ht)}else de.onActiveChange(null)},de.onKeyDown=function(ve){var et=de.state,De=et.activeKey,Ee=et.expandedKeys,_e=et.checkedKeys,Wt=et.fieldNames,ht=de.props,Tt=ht.onKeyDown,Mt=ht.checkable,Zt=ht.selectable;switch(ve.which){case Te.Z.UP:{de.offsetActiveKey(-1),ve.preventDefault();break}case Te.Z.DOWN:{de.offsetActiveKey(1),ve.preventDefault();break}}var xe=de.getActiveItem();if(xe&&xe.data){var dt=de.getTreeNodeRequiredProps(),vt=xe.data.isLeaf===!1||!!(xe.data[Wt.children]||[]).length,ft=(0,fe.F)((0,Ge.Z)((0,Ge.Z)({},(0,fe.H8)(De,dt)),{},{data:xe.data,active:!0}));switch(ve.which){case Te.Z.LEFT:{vt&&Ee.includes(De)?de.onNodeExpand({},ft):xe.parent&&de.onActiveChange(xe.parent.key),ve.preventDefault();break}case Te.Z.RIGHT:{vt&&!Ee.includes(De)?de.onNodeExpand({},ft):xe.children&&xe.children.length&&de.onActiveChange(xe.children[0].key),ve.preventDefault();break}case Te.Z.ENTER:case Te.Z.SPACE:{Mt&&!ft.disabled&&ft.checkable!==!1&&!ft.disableCheckbox?de.onNodeCheck({},ft,!_e.includes(De)):!Mt&&Zt&&!ft.disabled&&ft.selectable!==!1&&de.onNodeSelect({},ft);break}}}Tt==null||Tt(ve)},de.setUncontrolledState=function(ve){var et=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,De=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!de.destroyed){var Ee=!1,_e=!0,Wt={};Object.keys(ve).forEach(function(ht){if(ht in de.props){_e=!1;return}Ee=!0,Wt[ht]=ve[ht]}),Ee&&(!et||_e)&&de.setState((0,Ge.Z)((0,Ge.Z)({},Wt),De))}},de.scrollTo=function(ve){de.listRef.current.scrollTo(ve)},de}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 Ne=this.props.activeKey;Ne!==void 0&&Ne!==this.state.activeKey&&(this.setState({activeKey:Ne}),Ne!==null&&this.scrollTo({key:Ne}))}},{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 Ne,at=this.state,Se=at.focused,ve=at.flattenNodes,et=at.keyEntities,De=at.draggingNodeKey,Ee=at.activeKey,_e=at.dropLevelOffset,Wt=at.dropContainerKey,ht=at.dropTargetKey,Tt=at.dropPosition,Mt=at.dragOverNodeKey,Zt=at.indent,xe=this.props,dt=xe.prefixCls,vt=xe.className,ft=xe.style,Nt=xe.showLine,Vt=xe.focusable,nn=xe.tabIndex,an=nn===void 0?0:nn,Sn=xe.selectable,On=xe.showIcon,Lt=xe.icon,Ct=xe.switcherIcon,Ut=xe.draggable,cn=xe.checkable,sn=xe.checkStrictly,Nn=xe.disabled,nt=xe.motion,Bt=xe.loadData,Qt=xe.filterTreeNode,yn=xe.height,Pe=xe.itemHeight,Ve=xe.virtual,st=xe.titleRender,gt=xe.dropIndicatorRender,xt=xe.onContextMenu,$t=xe.onScroll,Ft=xe.direction,ze=xe.rootClassName,We=xe.rootStyle,Re=(0,oe.Z)(this.props,{aria:!0,data:!0}),ct;return Ut&&((0,Ae.Z)(Ut)==="object"?ct=Ut:typeof Ut=="function"?ct={nodeDraggable:Ut}:ct={}),a.createElement(b.k.Provider,{value:{prefixCls:dt,selectable:Sn,showIcon:On,icon:Lt,switcherIcon:Ct,draggable:ct,draggingNodeKey:De,checkable:cn,checkStrictly:sn,disabled:Nn,keyEntities:et,dropLevelOffset:_e,dropContainerKey:Wt,dropTargetKey:ht,dropPosition:Tt,dragOverNodeKey:Mt,indent:Zt,direction:Ft,dropIndicatorRender:gt,loadData:Bt,filterTreeNode:Qt,titleRender:st,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:pt()(dt,vt,ze,(Ne={},(0,ie.Z)(Ne,"".concat(dt,"-show-line"),Nt),(0,ie.Z)(Ne,"".concat(dt,"-focused"),Se),(0,ie.Z)(Ne,"".concat(dt,"-active-focused"),Ee!==null),Ne)),style:We},a.createElement(Gt,(0,ee.Z)({ref:this.listRef,prefixCls:dt,style:ft,data:ve,disabled:Nn,selectable:Sn,checkable:!!cn,motion:nt,dragging:De!==null,height:yn,itemHeight:Pe,virtual:Ve,focusable:Vt,focused:Se,tabIndex:an,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:xt,onScroll:$t},this.getTreeNodeRequiredProps(),Re))))}}],[{key:"getDerivedStateFromProps",value:function(Ne,at){var Se=at.prevProps,ve={prevProps:Ne};function et(Vt){return!Se&&Vt in Ne||Se&&Se[Vt]!==Ne[Vt]}var De,Ee=at.fieldNames;if(et("fieldNames")&&(Ee=(0,fe.w$)(Ne.fieldNames),ve.fieldNames=Ee),et("treeData")?De=Ne.treeData:et("children")&&((0,y.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),De=(0,fe.zn)(Ne.children)),De){ve.treeData=De;var _e=(0,fe.I8)(De,{fieldNames:Ee});ve.keyEntities=(0,Ge.Z)((0,ie.Z)({},Ue,Ye),_e.keyEntities)}var Wt=ve.keyEntities||at.keyEntities;if(et("expandedKeys")||Se&&et("autoExpandParent"))ve.expandedKeys=Ne.autoExpandParent||!Se&&Ne.defaultExpandParent?(0,mt.r7)(Ne.expandedKeys,Wt):Ne.expandedKeys;else if(!Se&&Ne.defaultExpandAll){var ht=(0,Ge.Z)({},Wt);delete ht[Ue],ve.expandedKeys=Object.keys(ht).map(function(Vt){return ht[Vt].key})}else!Se&&Ne.defaultExpandedKeys&&(ve.expandedKeys=Ne.autoExpandParent||Ne.defaultExpandParent?(0,mt.r7)(Ne.defaultExpandedKeys,Wt):Ne.defaultExpandedKeys);if(ve.expandedKeys||delete ve.expandedKeys,De||ve.expandedKeys){var Tt=(0,fe.oH)(De||at.treeData,ve.expandedKeys||at.expandedKeys,Ee);ve.flattenNodes=Tt}if(Ne.selectable&&(et("selectedKeys")?ve.selectedKeys=(0,mt.BT)(Ne.selectedKeys,Ne):!Se&&Ne.defaultSelectedKeys&&(ve.selectedKeys=(0,mt.BT)(Ne.defaultSelectedKeys,Ne))),Ne.checkable){var Mt;if(et("checkedKeys")?Mt=(0,mt.E6)(Ne.checkedKeys)||{}:!Se&&Ne.defaultCheckedKeys?Mt=(0,mt.E6)(Ne.defaultCheckedKeys)||{}:De&&(Mt=(0,mt.E6)(Ne.checkedKeys)||{checkedKeys:at.checkedKeys,halfCheckedKeys:at.halfCheckedKeys}),Mt){var Zt=Mt,xe=Zt.checkedKeys,dt=xe===void 0?[]:xe,vt=Zt.halfCheckedKeys,ft=vt===void 0?[]:vt;if(!Ne.checkStrictly){var Nt=(0,Jt.S)(dt,!0,Wt);dt=Nt.checkedKeys,ft=Nt.halfCheckedKeys}ve.checkedKeys=dt,ve.halfCheckedKeys=ft}}return et("loadedKeys")&&(ve.loadedKeys=Ne.loadedKeys),ve}}]),he}(a.Component);pn.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},pn.TreeNode=ce.Z;var St=pn,ut=St},35654:function(bt,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 Qe},r7:function(){return z},wA:function(){return pt},yx:function(){return lt}});var ee=te(65093),ie=te(42066),Ae=te(48736),Ge=te(59301),Ce=te(39417),Fe=te(67841),re=te(71430),Je=null;function Qe(ne,ae){if(!ne)return[];var le=ne.slice(),se=le.indexOf(ae);return se>=0&&le.splice(se,1),le}function Ze(ne,ae){var le=(ne||[]).slice();return le.indexOf(ae)===-1&&le.push(ae),le}function lt(ne){return ne.split("-")}function pt(ne,ae){var le=[],se=(0,Fe.Z)(ae,ne);function ce(){var be=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];be.forEach(function(fe){var Oe=fe.key,ge=fe.children;le.push(Oe),ce(ge)})}return ce(se.children),le}function Te(ne){if(ne.parent){var ae=lt(ne.pos);return Number(ae[ae.length-1])===ne.parent.children.length-1}return!1}function oe(ne){var ae=lt(ne.pos);return Number(ae[ae.length-1])===0}function y(ne,ae,le,se,ce,be,fe,Oe,ge,it){var Le,Ke=ne.clientX,ye=ne.clientY,je=ne.target.getBoundingClientRect(),qe=je.top,$e=je.height,Ue=(it==="rtl"?-1:1)*(((ce==null?void 0:ce.x)||0)-Ke),Rt=(Ue-12)/se,Ye=(0,Fe.Z)(Oe,le.props.eventKey);if(ye<qe+$e/2){var Dt=fe.findIndex(function(ut){return ut.key===Ye.key}),qt=Dt<=0?0:Dt-1,Me=fe[qt].key;Ye=(0,Fe.Z)(Oe,Me)}var ke=Ye.key,Pt=Ye,Gt=Ye.key,mt=0,Jt=0;if(!ge.includes(ke))for(var Be=0;Be<Rt&&Te(Ye);Be+=1)Ye=Ye.parent,Jt+=1;var Xt=ae.props.data,pn=Ye.node,St=!0;return oe(Ye)&&Ye.level===0&&ye<qe+$e/2&&be({dragNode:Xt,dropNode:pn,dropPosition:-1})&&Ye.key===le.props.eventKey?mt=-1:(Pt.children||[]).length&&ge.includes(Gt)?be({dragNode:Xt,dropNode:pn,dropPosition:0})?mt=0:St=!1:Jt===0?Rt>-1.5?be({dragNode:Xt,dropNode:pn,dropPosition:1})?mt=1:St=!1:be({dragNode:Xt,dropNode:pn,dropPosition:0})?mt=0:be({dragNode:Xt,dropNode:pn,dropPosition:1})?mt=1:St=!1:be({dragNode:Xt,dropNode:pn,dropPosition:1})?mt=1:St=!1,{dropPosition:mt,dropLevelOffset:Jt,dropTargetKey:Ye.key,dropTargetPos:Ye.pos,dragOverNodeKey:Gt,dropContainerKey:mt===0?null:((Le=Ye.parent)===null||Le===void 0?void 0:Le.key)||null,dropAllowed:St}}function a(ne,ae){if(ne){var le=ae.multiple;return le?ne.slice():ne.length?[ne[0]]:ne}}var b=function(ae){return ae};function E(ne,ae){if(!ne)return[];var le=ae||{},se=le.processProps,ce=se===void 0?b:se,be=Array.isArray(ne)?ne:[ne];return be.map(function(fe){var Oe=fe.children,ge=_objectWithoutProperties(fe,Je),it=E(Oe,ae);return React.createElement(TreeNode,_extends({key:ge.key},ce(ge)),it)})}function x(ne){if(!ne)return null;var ae;if(Array.isArray(ne))ae={checkedKeys:ne,halfCheckedKeys:void 0};else if((0,ie.Z)(ne)==="object")ae={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 ae}function z(ne,ae){var le=new Set;function se(ce){if(!le.has(ce)){var be=(0,Fe.Z)(ae,ce);if(be){le.add(ce);var fe=be.parent,Oe=be.node;Oe.disabled||fe&&se(fe.key)}}}return(ne||[]).forEach(function(ce){se(ce)}),(0,ee.Z)(le)}},90782:function(bt,It,te){"use strict";te.d(It,{S:function(){return re}});var ee=te(48736),ie=te(67841);function Ae(Je,Qe){var Ze=new Set;return Je.forEach(function(lt){Qe.has(lt)||Ze.add(lt)}),Ze}function Ge(Je){var Qe=Je||{},Ze=Qe.disabled,lt=Qe.disableCheckbox,pt=Qe.checkable;return!!(Ze||lt)||pt===!1}function Ce(Je,Qe,Ze,lt){for(var pt=new Set(Je),Te=new Set,oe=0;oe<=Ze;oe+=1){var y=Qe.get(oe)||new Set;y.forEach(function(x){var z=x.key,ne=x.node,ae=x.children,le=ae===void 0?[]:ae;pt.has(z)&&!lt(ne)&&le.filter(function(se){return!lt(se.node)}).forEach(function(se){pt.add(se.key)})})}for(var a=new Set,b=Ze;b>=0;b-=1){var E=Qe.get(b)||new Set;E.forEach(function(x){var z=x.parent,ne=x.node;if(!(lt(ne)||!x.parent||a.has(x.parent.key))){if(lt(x.parent.node)){a.add(z.key);return}var ae=!0,le=!1;(z.children||[]).filter(function(se){return!lt(se.node)}).forEach(function(se){var ce=se.key,be=pt.has(ce);ae&&!be&&(ae=!1),!le&&(be||Te.has(ce))&&(le=!0)}),ae&&pt.add(z.key),le&&Te.add(z.key),a.add(z.key)}})}return{checkedKeys:Array.from(pt),halfCheckedKeys:Array.from(Ae(Te,pt))}}function Fe(Je,Qe,Ze,lt,pt){for(var Te=new Set(Je),oe=new Set(Qe),y=0;y<=lt;y+=1){var a=Ze.get(y)||new Set;a.forEach(function(z){var ne=z.key,ae=z.node,le=z.children,se=le===void 0?[]:le;!Te.has(ne)&&!oe.has(ne)&&!pt(ae)&&se.filter(function(ce){return!pt(ce.node)}).forEach(function(ce){Te.delete(ce.key)})})}oe=new Set;for(var b=new Set,E=lt;E>=0;E-=1){var x=Ze.get(E)||new Set;x.forEach(function(z){var ne=z.parent,ae=z.node;if(!(pt(ae)||!z.parent||b.has(z.parent.key))){if(pt(z.parent.node)){b.add(ne.key);return}var le=!0,se=!1;(ne.children||[]).filter(function(ce){return!pt(ce.node)}).forEach(function(ce){var be=ce.key,fe=Te.has(be);le&&!fe&&(le=!1),!se&&(fe||oe.has(be))&&(se=!0)}),le||Te.delete(ne.key),se&&oe.add(ne.key),b.add(ne.key)}})}return{checkedKeys:Array.from(Te),halfCheckedKeys:Array.from(Ae(oe,Te))}}function re(Je,Qe,Ze,lt){var pt=[],Te;lt?Te=lt:Te=Ge;var oe=new Set(Je.filter(function(E){var x=!!(0,ie.Z)(Ze,E);return x||pt.push(E),x})),y=new Map,a=0;Object.keys(Ze).forEach(function(E){var x=Ze[E],z=x.level,ne=y.get(z);ne||(ne=new Set,y.set(z,ne)),ne.add(x),a=Math.max(a,z)}),(0,ee.ZP)(!pt.length,"Tree missing follow keys: ".concat(pt.slice(0,100).map(function(E){return"'".concat(E,"'")}).join(", ")));var b;return Qe===!0?b=Ce(oe,y,a,Te):b=Fe(oe,Qe.halfCheckedKeys,y,a,Te),b}},67841:function(bt,It,te){"use strict";te.d(It,{Z:function(){return ee}});function ee(ie,Ae){return ie[Ae]}},71430:function(bt,It,te){"use strict";te.d(It,{F:function(){return z},H8:function(){return x},I8:function(){return E},km:function(){return pt},oH:function(){return a},w$:function(){return Te},zn:function(){return y}});var ee=te(42066),ie=te(65093),Ae=te(35227),Ge=te(61206),Ce=te(11592),Fe=te(2738),re=te(48736),Je=te(67841),Qe=["children"];function Ze(ne,ae){return"".concat(ne,"-").concat(ae)}function lt(ne){return ne&&ne.type&&ne.type.isTreeNode}function pt(ne,ae){return ne!=null?ne:ae}function Te(ne){var ae=ne||{},le=ae.title,se=ae._title,ce=ae.key,be=ae.children,fe=le||"title";return{title:fe,_title:se||[fe],key:ce||"key",children:be||"children"}}function oe(ne,ae){var le=new Map;function se(ce){var be=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(ce||[]).forEach(function(fe){var Oe=fe[ae.key],ge=fe[ae.children];warning(Oe!=null,"Tree node must have a certain key: [".concat(be).concat(Oe,"]"));var it=String(Oe);warning(!le.has(it)||Oe===null||Oe===void 0,"Same 'key' exist in the Tree: ".concat(it)),le.set(it,!0),se(ge,"".concat(be).concat(it," > "))})}se(ne)}function y(ne){function ae(le){var se=(0,Ce.Z)(le);return se.map(function(ce){if(!lt(ce))return(0,re.ZP)(!ce,"Tree/TreeNode can only accept TreeNode as children."),null;var be=ce.key,fe=ce.props,Oe=fe.children,ge=(0,Ge.Z)(fe,Qe),it=(0,Ae.Z)({key:be},ge),Le=ae(Oe);return Le.length&&(it.children=Le),it}).filter(function(ce){return ce})}return ae(ne)}function a(ne,ae,le){var se=Te(le),ce=se._title,be=se.key,fe=se.children,Oe=new Set(ae===!0?[]:ae),ge=[];function it(Le){var Ke=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return Le.map(function(ye,je){for(var qe=Ze(Ke?Ke.pos:"0",je),$e=pt(ye[be],qe),Ue,Rt=0;Rt<ce.length;Rt+=1){var Ye=ce[Rt];if(ye[Ye]!==void 0){Ue=ye[Ye];break}}var Dt=(0,Ae.Z)((0,Ae.Z)({},(0,Fe.Z)(ye,[].concat((0,ie.Z)(ce),[be,fe]))),{},{title:Ue,key:$e,parent:Ke,pos:qe,children:null,data:ye,isStart:[].concat((0,ie.Z)(Ke?Ke.isStart:[]),[je===0]),isEnd:[].concat((0,ie.Z)(Ke?Ke.isEnd:[]),[je===Le.length-1])});return ge.push(Dt),ae===!0||Oe.has($e)?Dt.children=it(ye[fe]||[],Dt):Dt.children=[],Dt})}return it(ne),ge}function b(ne,ae,le){var se={};(0,ee.Z)(le)==="object"?se=le:se={externalGetKey:le},se=se||{};var ce=se,be=ce.childrenPropName,fe=ce.externalGetKey,Oe=ce.fieldNames,ge=Te(Oe),it=ge.key,Le=ge.children,Ke=be||Le,ye;fe?typeof fe=="string"?ye=function($e){return $e[fe]}:typeof fe=="function"&&(ye=function($e){return fe($e)}):ye=function($e,Ue){return pt($e[it],Ue)};function je(qe,$e,Ue,Rt){var Ye=qe?qe[Ke]:ne,Dt=qe?Ze(Ue.pos,$e):"0",qt=qe?[].concat((0,ie.Z)(Rt),[qe]):[];if(qe){var Me=ye(qe,Dt),ke={node:qe,index:$e,pos:Dt,key:Me,parentPos:Ue.node?Ue.pos:null,level:Ue.level+1,nodes:qt};ae(ke)}Ye&&Ye.forEach(function(Pt,Gt){je(Pt,Gt,{node:qe,pos:Dt,level:Ue?Ue.level+1:-1},qt)})}je(null)}function E(ne){var ae=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},le=ae.initWrapper,se=ae.processEntity,ce=ae.onProcessFinished,be=ae.externalGetKey,fe=ae.childrenPropName,Oe=ae.fieldNames,ge=arguments.length>2?arguments[2]:void 0,it=be||ge,Le={},Ke={},ye={posEntities:Le,keyEntities:Ke};return le&&(ye=le(ye)||ye),b(ne,function(je){var qe=je.node,$e=je.index,Ue=je.pos,Rt=je.key,Ye=je.parentPos,Dt=je.level,qt=je.nodes,Me={node:qe,nodes:qt,index:$e,key:Rt,pos:Ue,level:Dt},ke=pt(Rt,Ue);Le[Ue]=Me,Ke[ke]=Me,Me.parent=Le[Ye],Me.parent&&(Me.parent.children=Me.parent.children||[],Me.parent.children.push(Me)),se&&se(Me,ye)},{externalGetKey:it,childrenPropName:fe,fieldNames:Oe}),ce&&ce(ye),ye}function x(ne,ae){var le=ae.expandedKeys,se=ae.selectedKeys,ce=ae.loadedKeys,be=ae.loadingKeys,fe=ae.checkedKeys,Oe=ae.halfCheckedKeys,ge=ae.dragOverNodeKey,it=ae.dropPosition,Le=ae.keyEntities,Ke=(0,Je.Z)(Le,ne),ye={eventKey:ne,expanded:le.indexOf(ne)!==-1,selected:se.indexOf(ne)!==-1,loaded:ce.indexOf(ne)!==-1,loading:be.indexOf(ne)!==-1,checked:fe.indexOf(ne)!==-1,halfChecked:Oe.indexOf(ne)!==-1,pos:String(Ke?Ke.pos:""),dragOver:ge===ne&&it===0,dragOverGapTop:ge===ne&&it===-1,dragOverGapBottom:ge===ne&&it===1};return ye}function z(ne){var ae=ne.data,le=ne.expanded,se=ne.selected,ce=ne.checked,be=ne.loaded,fe=ne.loading,Oe=ne.halfChecked,ge=ne.dragOver,it=ne.dragOverGapTop,Le=ne.dragOverGapBottom,Ke=ne.pos,ye=ne.active,je=ne.eventKey,qe=(0,Ae.Z)((0,Ae.Z)({},ae),{},{expanded:le,selected:se,checked:ce,loaded:be,loading:fe,halfChecked:Oe,dragOver:ge,dragOverGapTop:it,dragOverGapBottom:Le,pos:Ke,active:ye,key:je});return"props"in qe||Object.defineProperty(qe,"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}}),qe}},8224:function(bt,It,te){"use strict";te.d(It,{Z:function(){return ie}});var ee=te(4676);function ie(Ae,Ge,Ce,Fe){var re=ee.unstable_batchedUpdates?function(Qe){ee.unstable_batchedUpdates(Ce,Qe)}:Ce;return Ae!=null&&Ae.addEventListener&&Ae.addEventListener(Ge,re,Fe),{remove:function(){Ae!=null&&Ae.removeEventListener&&Ae.removeEventListener(Ge,re,Fe)}}}},55468:function(bt,It,te){"use strict";te.d(It,{g1:function(){return lt},os:function(){return Te}});var ee=/margin|padding|width|height|max|min|offset/,ie={left:!0,top:!0},Ae={cssFloat:1,styleFloat:1,float:1};function Ge(oe){return oe.nodeType===1?oe.ownerDocument.defaultView.getComputedStyle(oe,null):{}}function Ce(oe,y,a){if(y=y.toLowerCase(),a==="auto"){if(y==="height")return oe.offsetHeight;if(y==="width")return oe.offsetWidth}return y in ie||(ie[y]=ee.test(y)),ie[y]?parseFloat(a)||0:a}function Fe(oe,y){var a=arguments.length,b=Ge(oe);return y=Ae[y]?"cssFloat"in oe.style?"cssFloat":"styleFloat":y,a===1?b:Ce(oe,y,b[y]||oe.style[y])}function re(oe,y,a){var b=arguments.length;if(y=Ae[y]?"cssFloat"in oe.style?"cssFloat":"styleFloat":y,b===3)return typeof a=="number"&&ee.test(y)&&(a="".concat(a,"px")),oe.style[y]=a,a;for(var E in y)y.hasOwnProperty(E)&&re(oe,E,y[E]);return Ge(oe)}function Je(oe){return oe===document.body?document.documentElement.clientWidth:oe.offsetWidth}function Qe(oe){return oe===document.body?window.innerHeight||document.documentElement.clientHeight:oe.offsetHeight}function Ze(){var oe=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth),y=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight);return{width:oe,height:y}}function lt(){var oe=document.documentElement.clientWidth,y=window.innerHeight||document.documentElement.clientHeight;return{width:oe,height:y}}function pt(){return{scrollLeft:Math.max(document.documentElement.scrollLeft,document.body.scrollLeft),scrollTop:Math.max(document.documentElement.scrollTop,document.body.scrollTop)}}function Te(oe){var y=oe.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(bt,It,te){"use strict";te.d(It,{G:function(){return Ge}});var ee=te(47273),ie=function(Fe){if((0,ee.Z)()&&window.document.documentElement){var re=Array.isArray(Fe)?Fe:[Fe],Je=window.document.documentElement;return re.some(function(Qe){return Qe in Je.style})}return!1},Ae=function(Fe,re){if(!ie(Fe))return!1;var Je=document.createElement("div"),Qe=Je.style[Fe];return Je.style[Fe]=re,Je.style[Fe]!==Qe};function Ge(Ce,Fe){return!Array.isArray(Ce)&&Fe!==void 0?Ae(Ce,Fe):ie(Ce)}},73631:function(bt){"use strict";bt.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAAXNSR0IArs4c6QAAAZxJREFUOBGtlL1Ow0AMgH2XUIkOLFXVASgTsDHxBIAEzAwMPBQjT8AATGVBgEBCYmHmFcICYmBogCbNYSe52HUTVZWwFJ3PP599Z+WMcy6Af5SwY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