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

310 lines
1.1 MiB

(self.webpackChunk=self.webpackChunk||[]).push([[337],{33463:function(vt,dt,te){"use strict";te.d(dt,{Z:function(){return oe}});var x=te(87462),re=te(67294),Ce={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"},ze=Ce,we=te(74643),Te=function(he,ye){return re.createElement(we.Z,(0,x.Z)({},he,{ref:ye,icon:ze}))},oe=re.forwardRef(Te)},28575:function(vt,dt,te){"use strict";te.d(dt,{Z:function(){return oe}});var x=te(87462),re=te(67294),Ce={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"},ze=Ce,we=te(74643),Te=function(he,ye){return re.createElement(we.Z,(0,x.Z)({},he,{ref:ye,icon:ze}))},oe=re.forwardRef(Te)},81893:function(vt,dt,te){"use strict";te.d(dt,{Z:function(){return oe}});var x=te(87462),re=te(67294),Ce={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"},ze=Ce,we=te(74643),Te=function(he,ye){return re.createElement(we.Z,(0,x.Z)({},he,{ref:ye,icon:ze}))},oe=re.forwardRef(Te)},55304:function(vt,dt,te){"use strict";te.d(dt,{Z:function(){return oe}});var x=te(87462),re=te(67294),Ce={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"},ze=Ce,we=te(74643),Te=function(he,ye){return re.createElement(we.Z,(0,x.Z)({},he,{ref:ye,icon:ze}))},oe=re.forwardRef(Te)},73148:function(vt,dt,te){"use strict";te.d(dt,{Z:function(){return oe}});var x=te(87462),re=te(67294),Ce={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"},ze=Ce,we=te(74643),Te=function(he,ye){return re.createElement(we.Z,(0,x.Z)({},he,{ref:ye,icon:ze}))},oe=re.forwardRef(Te)},56747:function(vt,dt,te){"use strict";te.d(dt,{Z:function(){return oe}});var x=te(87462),re=te(67294),Ce={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"},ze=Ce,we=te(74643),Te=function(he,ye){return re.createElement(we.Z,(0,x.Z)({},he,{ref:ye,icon:ze}))},oe=re.forwardRef(Te)},50881:function(vt,dt,te){"use strict";te.d(dt,{Z:function(){return oe}});var x=te(87462),re=te(67294),Ce={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"},ze=Ce,we=te(74643),Te=function(he,ye){return re.createElement(we.Z,(0,x.Z)({},he,{ref:ye,icon:ze}))},oe=re.forwardRef(Te)},22751:function(vt,dt,te){"use strict";te.d(dt,{Z:function(){return oe}});var x=te(87462),re=te(67294),Ce={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"},ze=Ce,we=te(74643),Te=function(he,ye){return re.createElement(we.Z,(0,x.Z)({},he,{ref:ye,icon:ze}))},oe=re.forwardRef(Te)},24018:function(vt,dt,te){"use strict";te.d(dt,{Z:function(){return oe}});var x=te(87462),re=te(67294),Ce={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"},ze=Ce,we=te(74643),Te=function(he,ye){return re.createElement(we.Z,(0,x.Z)({},he,{ref:ye,icon:ze}))},oe=re.forwardRef(Te)},34182:function(vt,dt,te){"use strict";te.d(dt,{Z:function(){return oe}});var x=te(87462),re=te(67294),Ce={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"},ze=Ce,we=te(74643),Te=function(he,ye){return re.createElement(we.Z,(0,x.Z)({},he,{ref:ye,icon:ze}))},oe=re.forwardRef(Te)},40043:function(vt,dt,te){"use strict";te.d(dt,{Z:function(){return oe}});var x=te(87462),re=te(67294),Ce={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"},ze=Ce,we=te(74643),Te=function(he,ye){return re.createElement(we.Z,(0,x.Z)({},he,{ref:ye,icon:ze}))},oe=re.forwardRef(Te)},74664:function(vt,dt,te){"use strict";te.d(dt,{Z:function(){return oe}});var x=te(87462),re=te(67294),Ce={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"},ze=Ce,we=te(74643),Te=function(he,ye){return re.createElement(we.Z,(0,x.Z)({},he,{ref:ye,icon:ze}))},oe=re.forwardRef(Te)},91034:function(vt,dt,te){"use strict";te.d(dt,{Z:function(){return oe}});var x=te(87462),re=te(67294),Ce={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"},ze=Ce,we=te(74643),Te=function(he,ye){return re.createElement(we.Z,(0,x.Z)({},he,{ref:ye,icon:ze}))},oe=re.forwardRef(Te)},71736:function(vt,dt){"use strict";dt.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},52654:function(vt,dt){"use strict";dt.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"}},14375:function(vt,dt,te){"use strict";var x=te(67294),re=Object.defineProperty,Ce=Object.getOwnPropertySymbols,ze=Object.prototype.hasOwnProperty,we=Object.prototype.propertyIsEnumerable,Te=(he,ye,Oe)=>ye in he?re(he,ye,{enumerable:!0,configurable:!0,writable:!0,value:Oe}):he[ye]=Oe,oe=(he,ye)=>{for(var Oe in ye||(ye={}))ze.call(ye,Oe)&&Te(he,Oe,ye[Oe]);if(Ce)for(var Oe of Ce(ye))we.call(ye,Oe)&&Te(he,Oe,ye[Oe]);return he};const Fe=he=>React.createElement("svg",oe({width:14,height:14,xmlns:"http://www.w3.org/2000/svg"},he),React.createElement("title",null,"\u7F16\u7EC4 18"),React.createElement("g",{fill:"none",fillRule:"evenodd"},React.createElement("circle",{fill:"#FCB041",cx:7,cy:7,r:7}),React.createElement("path",{d:"M7.531 9.638a.616.616 0 1 1-1.231 0v-.02a.616.616 0 1 1 1.231 0v.02Zm0-2.25a.616.616 0 1 1-1.231 0V4.117a.616.616 0 1 1 1.231 0v3.273Z",fill:"#FFF",fillRule:"nonzero"})));dt.Z="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48Y2lyY2xlIGZpbGw9IiNGQ0IwNDEiIGN4PSI3IiBjeT0iNyIgcj0iNyIvPjxwYXRoIGQ9Ik03LjUzMSA5LjYzOGEuNjE2LjYxNiAwIDEgMS0xLjIzMSAwdi0uMDJhLjYxNi42MTYgMCAxIDEgMS4yMzEgMHYuMDJabTAtMi4yNWEuNjE2LjYxNiAwIDEgMS0xLjIzMSAwVjQuMTE3YS42MTYuNjE2IDAgMSAxIDEuMjMxIDB2My4yNzNaIiBmaWxsPSIjRkZGIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L2c+PC9zdmc+"},18023:function(){"use strict";function vt(ie,E,a,b){a===void 0&&(a=0),b===void 0&&(b=1/0),this._name=ie,this._defaultValue=E,this._minimum=a,this._maximum=b}Object.defineProperty(vt.prototype,"name",{get:function(){return this._name},set:function(ie){if(typeof ie!="string"||ie==="")throw new Error("Shape name must be a valid string.");this._name=ie}}),Object.defineProperty(vt.prototype,"defaultValue",{get:function(){return this._defaultValue},set:function(ie){if(typeof ie!="number"||isNaN(ie))throw new Error("The default value must be a real number, not: "+ie);this._defaultValue=ie}}),Object.defineProperty(vt.prototype,"minimum",{get:function(){return this._minimum},set:function(ie){if(typeof ie!="number"||isNaN(ie))throw new Error("Minimum must be a real number, not: "+ie);this._minimum=ie}}),Object.defineProperty(vt.prototype,"maximum",{get:function(){return this._maximum},set:function(ie){if(typeof ie!="number"||isNaN(ie))throw new Error("Maximum must be a real number, not: "+ie);this._maximum=ie}}),go.Shape._FigureParameters={},go.Shape.getFigureParameter=function(ie,E){var a=go.Shape._FigureParameters[ie];return a?a[E]:null},go.Shape.setFigureParameter=function(ie,E,a){if(!(a instanceof vt))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[ie];b||(b=[],go.Shape._FigureParameters[ie]=b),b[E]=a};var dt=[];function te(ie,E){var a=dt.pop();return a===void 0?new go.Point(ie,E):(a.x=ie,a.y=E,a)}function x(){var ie=dt.pop();return ie===void 0?new go.Point:ie}function re(ie){dt.push(ie)}function Ce(ie,E,a,b,y,z,ee,ne,ae){ae||(ae=new go.Point);var le=ie-a,de=y-ee,fe=NaN,be=NaN;if(le===0)if(de===0)ie===a&&(fe=ie,be=E);else{var Ee=(z-ne)/de,pe=z-Ee*y;fe=ie,be=Ee*fe+pe}else if(de===0){var ge=(E-b)/le,$e=E-ge*ie;fe=y,be=ge*fe+$e}else{var ge=(E-b)/le,Ee=(z-ne)/de,$e=E-ge*ie,pe=z-Ee*y;fe=(pe-$e)/(ge-Ee),be=ge*fe+$e}return ae.x=fe,ae.y=be,ae}function ze(ie,E,a,b,y,z,ee,ne,ae,le,de,fe,be,Ee){var pe=1-ae,ge=ae,$e=ie*pe+a*ge,Be=E*pe+b*ge,Le=a*pe+y*ge,Re=b*pe+z*ge,Ge=y*pe+ee*ge,Ye=z*pe+ne*ge,Pt=$e*pe+Le*ge,qe=Be*pe+Re*ge,at=Le*pe+Ge*ge,pt=Re*pe+Ye*ge,_t=Pt*pe+at*ge,Qt=qe*pe+pt*ge;le.x=$e,le.y=Be,de.x=Pt,de.y=qe,fe.x=_t,fe.y=Qt,be.x=at,be.y=pt,Ee.x=Ge,Ee.y=Ye}var we=new go.Spot(.156,.156),Te=new go.Spot(.844,.844),oe=4*((Math.sqrt(2)-1)/3);go.Shape.setFigureParameter("RoundedRectangle",0,new vt("CornerRounding",5)),go.Shape.defineFigureGenerator("RoundedRectangle",function(ie,E,a){var b=ie?ie.parameter1:NaN;(isNaN(b)||b<0)&&(b=5),b=Math.min(b,E/3),b=Math.min(b,a/3);var y=b*oe,z=new go.Geometry().add(new go.PathFigure(b,0,!0).add(new go.PathSegment(go.PathSegment.Line,E-b,0)).add(new go.PathSegment(go.PathSegment.Bezier,E,b,E-y,0,E,y)).add(new go.PathSegment(go.PathSegment.Line,E,a-b)).add(new go.PathSegment(go.PathSegment.Bezier,E-b,a,E,a-y,E-y,a)).add(new go.PathSegment(go.PathSegment.Line,b,a)).add(new go.PathSegment(go.PathSegment.Bezier,0,a-b,y,a,0,a-y)).add(new go.PathSegment(go.PathSegment.Line,0,b)).add(new go.PathSegment(go.PathSegment.Bezier,b,0,0,y,y,0).close()));return y>1&&(z.spot1=new go.Spot(0,0,y,y),z.spot2=new go.Spot(1,1,-y,-y)),z}),go.Shape.defineFigureGenerator("Border","RoundedRectangle"),go.Shape.defineFigureGenerator("TriangleRight",function(ie,E,a){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())).setSpots(0,.25,.5,.75)}),go.Shape.defineFigureGenerator("TriangleDown",function(ie,E,a){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,.5*E,a).close())).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("TriangleLeft",function(ie,E,a){return new go.Geometry().add(new go.PathFigure(E,a).add(new go.PathSegment(go.PathSegment.Line,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,E,0).close())).setSpots(.5,.25,1,.75)}),go.Shape.defineFigureGenerator("TriangleUp",function(ie,E,a){return new go.Geometry().add(new go.PathFigure(E,a).add(new go.PathSegment(go.PathSegment.Line,0,a)).add(new go.PathSegment(go.PathSegment.Line,.5*E,0).close())).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("Triangle","TriangleUp"),go.Shape.defineFigureGenerator("Diamond",function(ie,E,a){return new go.Geometry().add(new go.PathFigure(.5*E,0).add(new go.PathSegment(go.PathSegment.Line,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.5*E,a)).add(new go.PathSegment(go.PathSegment.Line,E,.5*a).close())).setSpots(.25,.25,.75,.75)}),go.Shape.defineFigureGenerator("LineH",function(ie,E,a){var b=new go.Geometry(go.Geometry.Line);return b.startX=0,b.startY=a/2,b.endX=E,b.endY=a/2,b}),go.Shape.defineFigureGenerator("LineV",function(ie,E,a){var b=new go.Geometry(go.Geometry.Line);return b.startX=E/2,b.startY=0,b.endX=E/2,b.endY=a,b}),go.Shape.defineFigureGenerator("BarH","Rectangle"),go.Shape.defineFigureGenerator("BarV","Rectangle"),go.Shape.defineFigureGenerator("MinusLine","LineH"),go.Shape.defineFigureGenerator("PlusLine",function(ie,E,a){return new go.Geometry().add(new go.PathFigure(0,a/2,!1).add(new go.PathSegment(go.PathSegment.Line,E,a/2)).add(new go.PathSegment(go.PathSegment.Move,E/2,0)).add(new go.PathSegment(go.PathSegment.Line,E/2,a)))}),go.Shape.defineFigureGenerator("XLine",function(ie,E,a){return new go.Geometry().add(new go.PathFigure(0,a,!1).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Move,0,0)).add(new go.PathSegment(go.PathSegment.Line,E,a)))}),go.Shape.defineFigureGenerator("LineRight",function(ie,E,a){return new go.Geometry().add(new go.PathFigure(.25*E,0,!1).add(new go.PathSegment(go.PathSegment.Line,.75*E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.25*E,a)))}),go.Shape.defineFigureGenerator("LineDown",function(ie,E,a){return new go.Geometry().add(new go.PathFigure(0,.25*a,!1).add(new go.PathSegment(go.PathSegment.Line,.5*E,.75*a)).add(new go.PathSegment(go.PathSegment.Line,E,.25*a)))}),go.Shape.defineFigureGenerator("LineLeft",function(ie,E,a){return new go.Geometry().add(new go.PathFigure(.75*E,0,!1).add(new go.PathSegment(go.PathSegment.Line,.25*E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.75*E,a)))}),go.Shape.defineFigureGenerator("LineUp",function(ie,E,a){return new go.Geometry().add(new go.PathFigure(0,.75*a,!1).add(new go.PathSegment(go.PathSegment.Line,.5*E,.25*a)).add(new go.PathSegment(go.PathSegment.Line,E,.75*a)))}),go.Shape.defineFigureGenerator("AsteriskLine",function(ie,E,a){var b=.2/Math.SQRT2;return new go.Geometry().add(new go.PathFigure(b*E,(1-b)*a,!1).add(new go.PathSegment(go.PathSegment.Line,(1-b)*E,b*a)).add(new go.PathSegment(go.PathSegment.Move,b*E,b*a)).add(new go.PathSegment(go.PathSegment.Line,(1-b)*E,(1-b)*a)).add(new go.PathSegment(go.PathSegment.Move,0,a/2)).add(new go.PathSegment(go.PathSegment.Line,E,a/2)).add(new go.PathSegment(go.PathSegment.Move,E/2,0)).add(new go.PathSegment(go.PathSegment.Line,E/2,a)))}),go.Shape.defineFigureGenerator("CircleLine",function(ie,E,a){var b=E/2,y=new go.Geometry().add(new go.PathFigure(E,E/2,!1).add(new go.PathSegment(go.PathSegment.Arc,0,360,b,b,b,b).close()));return y.spot1=we,y.spot2=Te,y.defaultStretch=go.GraphObject.Uniform,y}),go.Shape.defineFigureGenerator("Line1",function(ie,E,a){var b=new go.Geometry(go.Geometry.Line);return b.startX=0,b.startY=0,b.endX=E,b.endY=a,b}),go.Shape.defineFigureGenerator("Line2",function(ie,E,a){var b=new go.Geometry(go.Geometry.Line);return b.startX=E,b.startY=0,b.endX=0,b.endY=a,b}),go.Shape.defineFigureGenerator("Curve1",function(ie,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,E,a,oe*E,0,E,(1-oe)*a)))}),go.Shape.defineFigureGenerator("Curve2",function(ie,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,E,a,0,oe*a,(1-oe)*E,a)))}),go.Shape.defineFigureGenerator("Curve3",function(ie,E,a){return new go.Geometry().add(new go.PathFigure(E,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,a,E,oe*a,oe*E,a)))}),go.Shape.defineFigureGenerator("Curve4",function(ie,E,a){return new go.Geometry().add(new go.PathFigure(E,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,a,(1-oe)*E,0,0,(1-oe)*a)))}),go.Shape.defineFigureGenerator("TriangleDownLeft",function(ie,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())).setSpots(0,.5,.5,1)}),go.Shape.defineFigureGenerator("TriangleDownRight",function(ie,E,a){return new go.Geometry().add(new go.PathFigure(E,0,!0).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())).setSpots(.5,.5,1,1)}),go.Shape.defineFigureGenerator("TriangleUpLeft",function(ie,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())).setSpots(0,0,.5,.5)}),go.Shape.defineFigureGenerator("TriangleUpRight",function(ie,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E,a).close())).setSpots(.5,0,1,.5)}),go.Shape.defineFigureGenerator("RightTriangle","TriangleDownLeft"),go.Shape.setFigureParameter("Parallelogram1",0,new vt("Indent",.1,-.99,.99)),go.Shape.defineFigureGenerator("Parallelogram1",function(ie,E,a){var b=ie?ie.parameter1:NaN;isNaN(b)?b=.1:b<-1?b=-1:b>1&&(b=1);var y=Math.abs(b)*E;if(b===0){var z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=E,z.endY=a,z}else{var z=new go.Geometry;return b>0?z.add(new go.PathFigure(y,0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E-y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())):z.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,E-y,0)).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,y,a).close())),y<E/2&&z.setSpots(y/E,0,(E-y)/E,1),z}}),go.Shape.defineFigureGenerator("Parallelogram","Parallelogram1"),go.Shape.setFigureParameter("Parallelogram2",0,new vt("Indent",10,-1/0,1/0)),go.Shape.defineFigureGenerator("Parallelogram2",function(ie,E,a){var b=ie?ie.parameter1:NaN;isNaN(b)?b=10:b<-E?b=-E:b>E&&(b=E);var y=Math.abs(b);if(b===0){var z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=E,z.endY=a,z}else{var z=new go.Geometry;return b>0?z.add(new go.PathFigure(y,0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E-y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())):z.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,E-y,0)).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,y,a).close())),y<E/2&&z.setSpots(y/E,0,(E-y)/E,1),z}}),go.Shape.setFigureParameter("Trapezoid1",0,new vt("Indent",.2,-.99,.99)),go.Shape.defineFigureGenerator("Trapezoid1",function(ie,E,a){var b=ie?ie.parameter1:NaN;isNaN(b)?b=.2:b<.5?b=-.5:b>.5&&(b=.5);var y=Math.abs(b)*E;if(b===0){var z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=E,z.endY=a,z}else{var z=new go.Geometry;return b>0?z.add(new go.PathFigure(y,0).add(new go.PathSegment(go.PathSegment.Line,E-y,0)).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())):z.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E-y,a)).add(new go.PathSegment(go.PathSegment.Line,y,a).close())),y<E/2&&z.setSpots(y/E,0,(E-y)/E,1),z}}),go.Shape.defineFigureGenerator("Trapezoid","Trapezoid1"),go.Shape.setFigureParameter("Trapezoid2",0,new vt("Indent",20,-1/0,1/0)),go.Shape.defineFigureGenerator("Trapezoid2",function(ie,E,a){var b=ie?ie.parameter1:NaN;isNaN(b)?b=20:b<-E?b=-E/2:b>E&&(b=E/2);var y=Math.abs(b);if(b===0){var z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=E,z.endY=a,z}else{var z=new go.Geometry;return b>0?z.add(new go.PathFigure(y,0).add(new go.PathSegment(go.PathSegment.Line,E-y,0)).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())):z.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E-y,a)).add(new go.PathSegment(go.PathSegment.Line,y,a).close())),y<E/2&&z.setSpots(y/E,0,(E-y)/E,1),z}}),go.Shape.setFigureParameter("ManualOperation",0,new vt("Indent",10,-1/0,1/0)),go.Shape.defineFigureGenerator("ManualOperation",function(ie,E,a){var b=ie?ie.parameter1:NaN;isNaN(b)?b=10:b<-E?b=-E/2:b>E&&(b=E/2);var y=Math.abs(b);if(b===0){var z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=E,z.endY=a,z}else{var z=new go.Geometry;return b>0?z.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E-y,a)).add(new go.PathSegment(go.PathSegment.Line,y,a).close())):z.add(new go.PathFigure(y,0).add(new go.PathSegment(go.PathSegment.Line,E-y,0)).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())),y<E/2&&z.setSpots(y/E,0,(E-y)/E,1),z}});var Fe=[];function he(){var ie=Fe.pop();return ie===void 0?[]:ie}function ye(ie){ie.length=0,Fe.push(ie)}function Oe(ie){for(var E=he(),a=.5,b=.5,y=Math.PI*1.5,z=0,ee=0;ee<ie;ee++)z=2*Math.PI/ie*ee+y,E[ee]=new go.Point(b+a*Math.cos(z),b+a*Math.sin(z));return E.push(E[0]),E}function Ie(ie){var E=ve(ie),a=he();a[0]=E[0];for(var b=1,y=1;b<E.length;b+=2,y+=3)a[y]=E[b],a[y+1]=E[b],a[y+2]=E[b+1];return ye(E),a}function ve(ie){for(var E=Oe(ie),a=he(),b=Math.floor(E.length/2),y=E.length-1,z=ie%2===0?2:1,ee=0;ee<y;ee++){var ne=E[ee],ae=E[ee+1],le=E[(b+ee-1)%y],de=E[(b+ee+z)%y];a[ee*2]=ne,a[ee*2+1]=Ce(ne.x,ne.y,le.x,le.y,ae.x,ae.y,de.x,de.y,new go.Point)}return a[a.length]=a[0],ye(E),a}go.Shape.defineFigureGenerator("Pentagon",function(ie,E,a){var b=Oe(5),y=new go.Geometry,z=new go.PathFigure(b[0].x*E,b[0].y*a,!0);y.add(z);for(var ee=1;ee<5;ee++)z.add(new go.PathSegment(go.PathSegment.Line,b[ee].x*E,b[ee].y*a));return z.add(new go.PathSegment(go.PathSegment.Line,b[0].x*E,b[0].y*a).close()),ye(b),y.spot1=new go.Spot(.2,.22),y.spot2=new go.Spot(.8,.9),y}),go.Shape.defineFigureGenerator("Hexagon",function(ie,E,a){var b=Oe(6),y=new go.Geometry,z=new go.PathFigure(b[0].x*E,b[0].y*a,!0);y.add(z);for(var ee=1;ee<6;ee++)z.add(new go.PathSegment(go.PathSegment.Line,b[ee].x*E,b[ee].y*a));return z.add(new go.PathSegment(go.PathSegment.Line,b[0].x*E,b[0].y*a).close()),ye(b),y.spot1=new go.Spot(.07,.25),y.spot2=new go.Spot(.93,.75),y}),go.Shape.defineFigureGenerator("Heptagon",function(ie,E,a){var b=Oe(7),y=new go.Geometry,z=new go.PathFigure(b[0].x*E,b[0].y*a,!0);y.add(z);for(var ee=1;ee<7;ee++)z.add(new go.PathSegment(go.PathSegment.Line,b[ee].x*E,b[ee].y*a));return z.add(new go.PathSegment(go.PathSegment.Line,b[0].x*E,b[0].y*a).close()),ye(b),y.spot1=new go.Spot(.2,.15),y.spot2=new go.Spot(.8,.85),y}),go.Shape.defineFigureGenerator("Octagon",function(ie,E,a){var b=Oe(8),y=new go.Geometry,z=new go.PathFigure(b[0].x*E,b[0].y*a,!0);y.add(z);for(var ee=1;ee<8;ee++)z.add(new go.PathSegment(go.PathSegment.Line,b[ee].x*E,b[ee].y*a));return z.add(new go.PathSegment(go.PathSegment.Line,b[0].x*E,b[0].y*a).close()),ye(b),y.spot1=new go.Spot(.15,.15),y.spot2=new go.Spot(.85,.85),y}),go.Shape.defineFigureGenerator("Nonagon",function(ie,E,a){var b=Oe(9),y=new go.Geometry,z=new go.PathFigure(b[0].x*E,b[0].y*a,!0);y.add(z);for(var ee=1;ee<9;ee++)z.add(new go.PathSegment(go.PathSegment.Line,b[ee].x*E,b[ee].y*a));return z.add(new go.PathSegment(go.PathSegment.Line,b[0].x*E,b[0].y*a).close()),ye(b),y.spot1=new go.Spot(.17,.13),y.spot2=new go.Spot(.82,.82),y}),go.Shape.defineFigureGenerator("Decagon",function(ie,E,a){var b=Oe(10),y=new go.Geometry,z=new go.PathFigure(b[0].x*E,b[0].y*a,!0);y.add(z);for(var ee=1;ee<10;ee++)z.add(new go.PathSegment(go.PathSegment.Line,b[ee].x*E,b[ee].y*a));return z.add(new go.PathSegment(go.PathSegment.Line,b[0].x*E,b[0].y*a).close()),ye(b),y.spot1=new go.Spot(.16,.16),y.spot2=new go.Spot(.84,.84),y}),go.Shape.defineFigureGenerator("Dodecagon",function(ie,E,a){var b=Oe(12),y=new go.Geometry,z=new go.PathFigure(b[0].x*E,b[0].y*a,!0);y.add(z);for(var ee=1;ee<12;ee++)z.add(new go.PathSegment(go.PathSegment.Line,b[ee].x*E,b[ee].y*a));return z.add(new go.PathSegment(go.PathSegment.Line,b[0].x*E,b[0].y*a).close()),ye(b),y.spot1=new go.Spot(.16,.16),y.spot2=new go.Spot(.84,.84),y}),go.Shape.defineFigureGenerator("FivePointedStar",function(ie,E,a){var b=ve(5),y=new go.Geometry,z=new go.PathFigure(b[0].x*E,b[0].y*a,!0);y.add(z);for(var ee=1;ee<10;ee++)z.add(new go.PathSegment(go.PathSegment.Line,b[ee].x*E,b[ee].y*a));return z.add(new go.PathSegment(go.PathSegment.Line,b[0].x*E,b[0].y*a).close()),ye(b),y.spot1=new go.Spot(.266,.333),y.spot2=new go.Spot(.733,.733),y}),go.Shape.defineFigureGenerator("SixPointedStar",function(ie,E,a){var b=ve(6),y=new go.Geometry,z=new go.PathFigure(b[0].x*E,b[0].y*a,!0);y.add(z);for(var ee=1;ee<12;ee++)z.add(new go.PathSegment(go.PathSegment.Line,b[ee].x*E,b[ee].y*a));return z.add(new go.PathSegment(go.PathSegment.Line,b[0].x*E,b[0].y*a).close()),ye(b),y.spot1=new go.Spot(.17,.25),y.spot2=new go.Spot(.83,.75),y}),go.Shape.defineFigureGenerator("SevenPointedStar",function(ie,E,a){var b=ve(7),y=new go.Geometry,z=new go.PathFigure(b[0].x*E,b[0].y*a,!0);y.add(z);for(var ee=1;ee<14;ee++)z.add(new go.PathSegment(go.PathSegment.Line,b[ee].x*E,b[ee].y*a));return z.add(new go.PathSegment(go.PathSegment.Line,b[0].x*E,b[0].y*a).close()),ye(b),y.spot1=new go.Spot(.222,.277),y.spot2=new go.Spot(.777,.666),y}),go.Shape.defineFigureGenerator("EightPointedStar",function(ie,E,a){var b=ve(8),y=new go.Geometry,z=new go.PathFigure(b[0].x*E,b[0].y*a,!0);y.add(z);for(var ee=1;ee<16;ee++)z.add(new go.PathSegment(go.PathSegment.Line,b[ee].x*E,b[ee].y*a));return z.add(new go.PathSegment(go.PathSegment.Line,b[0].x*E,b[0].y*a).close()),ye(b),y.spot1=new go.Spot(.25,.25),y.spot2=new go.Spot(.75,.75),y}),go.Shape.defineFigureGenerator("NinePointedStar",function(ie,E,a){var b=ve(9),y=new go.Geometry,z=new go.PathFigure(b[0].x*E,b[0].y*a,!0);y.add(z);for(var ee=1;ee<18;ee++)z.add(new go.PathSegment(go.PathSegment.Line,b[ee].x*E,b[ee].y*a));return z.add(new go.PathSegment(go.PathSegment.Line,b[0].x*E,b[0].y*a).close()),ye(b),y.spot1=new go.Spot(.222,.277),y.spot2=new go.Spot(.777,.666),y}),go.Shape.defineFigureGenerator("TenPointedStar",function(ie,E,a){var b=ve(10),y=new go.Geometry,z=new go.PathFigure(b[0].x*E,b[0].y*a,!0);y.add(z);for(var ee=1;ee<20;ee++)z.add(new go.PathSegment(go.PathSegment.Line,b[ee].x*E,b[ee].y*a));return z.add(new go.PathSegment(go.PathSegment.Line,b[0].x*E,b[0].y*a).close()),ye(b),y.spot1=new go.Spot(.281,.261),y.spot2=new go.Spot(.723,.748),y}),go.Shape.defineFigureGenerator("FivePointedBurst",function(ie,E,a){var b=Ie(5),y=new go.Geometry,z=new go.PathFigure(b[0].x*E,b[0].y*a,!0);y.add(z);for(var ee=1;ee<b.length;ee+=3)z.add(new go.PathSegment(go.PathSegment.Bezier,b[ee+2].x*E,b[ee+2].y*a,b[ee].x*E,b[ee].y*a,b[ee+1].x*E,b[ee+1].y*a));return z.segments.last().close(),ye(b),y.spot1=new go.Spot(.222,.277),y.spot2=new go.Spot(.777,.777),y}),go.Shape.defineFigureGenerator("SixPointedBurst",function(ie,E,a){var b=Ie(6),y=new go.Geometry,z=new go.PathFigure(b[0].x*E,b[0].y*a,!0);y.add(z);for(var ee=1;ee<b.length;ee+=3)z.add(new go.PathSegment(go.PathSegment.Bezier,b[ee+2].x*E,b[ee+2].y*a,b[ee].x*E,b[ee].y*a,b[ee+1].x*E,b[ee+1].y*a));return z.segments.last().close(),ye(b),y.spot1=new go.Spot(.17,.222),y.spot2=new go.Spot(.833,.777),y}),go.Shape.defineFigureGenerator("SevenPointedBurst",function(ie,E,a){var b=Ie(7),y=new go.Geometry,z=new go.PathFigure(b[0].x*E,b[0].y*a,!0);y.add(z);for(var ee=1;ee<b.length;ee+=3)z.add(new go.PathSegment(go.PathSegment.Bezier,b[ee+2].x*E,b[ee+2].y*a,b[ee].x*E,b[ee].y*a,b[ee+1].x*E,b[ee+1].y*a));return z.segments.last().close(),ye(b),y.spot1=new go.Spot(.222,.222),y.spot2=new go.Spot(.777,.777),y}),go.Shape.defineFigureGenerator("EightPointedBurst",function(ie,E,a){var b=Ie(8),y=new go.Geometry,z=new go.PathFigure(b[0].x*E,b[0].y*a,!0);y.add(z);for(var ee=1;ee<b.length;ee+=3)z.add(new go.PathSegment(go.PathSegment.Bezier,b[ee+2].x*E,b[ee+2].y*a,b[ee].x*E,b[ee].y*a,b[ee+1].x*E,b[ee+1].y*a));return z.segments.last().close(),ye(b),y.spot1=new go.Spot(.222,.222),y.spot2=new go.Spot(.777,.777),y}),go.Shape.defineFigureGenerator("NinePointedBurst",function(ie,E,a){var b=Ie(9),y=new go.Geometry,z=new go.PathFigure(b[0].x*E,b[0].y*a,!0);y.add(z);for(var ee=1;ee<b.length;ee+=3)z.add(new go.PathSegment(go.PathSegment.Bezier,b[ee+2].x*E,b[ee+2].y*a,b[ee].x*E,b[ee].y*a,b[ee+1].x*E,b[ee+1].y*a));return z.segments.last().close(),ye(b),y.spot1=new go.Spot(.222,.222),y.spot2=new go.Spot(.777,.777),y}),go.Shape.defineFigureGenerator("TenPointedBurst",function(ie,E,a){var b=Ie(10),y=new go.Geometry,z=new go.PathFigure(b[0].x*E,b[0].y*a,!0);y.add(z);for(var ee=1;ee<b.length;ee+=3)z.add(new go.PathSegment(go.PathSegment.Bezier,b[ee+2].x*E,b[ee+2].y*a,b[ee].x*E,b[ee].y*a,b[ee+1].x*E,b[ee+1].y*a));return z.segments.last().close(),ye(b),y.spot1=new go.Spot(.222,.222),y.spot2=new go.Spot(.777,.777),y}),go.Shape.setFigureParameter("FramedRectangle",0,new vt("ThicknessX",8)),go.Shape.setFigureParameter("FramedRectangle",1,new vt("ThicknessY",8)),go.Shape.defineFigureGenerator("FramedRectangle",function(ie,E,a){var b=ie?ie.parameter1:NaN,y=ie?ie.parameter2:NaN;isNaN(b)&&(b=8),isNaN(y)&&(y=8);var z=new go.Geometry,ee=new go.PathFigure(0,0,!0);return z.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,E,0)),ee.add(new go.PathSegment(go.PathSegment.Line,E,a)),ee.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),b<E/2&&y<a/2&&(ee.add(new go.PathSegment(go.PathSegment.Move,b,y)),ee.add(new go.PathSegment(go.PathSegment.Line,b,a-y)),ee.add(new go.PathSegment(go.PathSegment.Line,E-b,a-y)),ee.add(new go.PathSegment(go.PathSegment.Line,E-b,y).close())),z.setSpots(0,0,1,1,b,y,-b,-y),z}),go.Shape.setFigureParameter("Ring",0,new vt("Thickness",8)),go.Shape.defineFigureGenerator("Ring",function(ie,E,a){var b=ie?ie.parameter1:NaN;(isNaN(b)||b<0)&&(b=8);var y=E/2,z=new go.Geometry,ee=new go.PathFigure(E,E/2,!0);z.add(ee),ee.add(new go.PathSegment(go.PathSegment.Arc,0,360,y,y,y,y).close());var ne=Math.max(y-b,0);return ne>0&&(ee.add(new go.PathSegment(go.PathSegment.Move,E/2+ne,E/2)),ee.add(new go.PathSegment(go.PathSegment.Arc,0,-360,y,y,ne,ne).close())),z.spot1=we,z.spot2=Te,z.defaultStretch=go.GraphObject.Uniform,z}),go.Shape.defineFigureGenerator("Cloud",function(ie,E,a){return new go.Geometry().add(new go.PathFigure(.08034461*E,.1944299*a,!0).add(new go.PathSegment(go.PathSegment.Bezier,.2008615*E,.05349299*a,-.09239631*E,.07836421*a,.1406031*E,-.0542823*a)).add(new go.PathSegment(go.PathSegment.Bezier,.4338609*E,.074219*a,.2450511*E,-.00697547*a,.3776197*E,-.01112067*a)).add(new go.PathSegment(go.PathSegment.Bezier,.6558228*E,.07004196*a,.4539471*E,0,.6066018*E,-.02526587*a)).add(new go.PathSegment(go.PathSegment.Bezier,.8921095*E,.08370865*a,.6914277*E,-.01904177*a,.8921095*E,-.01220843*a)).add(new go.PathSegment(go.PathSegment.Bezier,.9147671*E,.3194596*a,1.036446*E,.04105738*a,1.020377*E,.3022052*a)).add(new go.PathSegment(go.PathSegment.Bezier,.9082935*E,.562044*a,1.04448*E,.360238*a,.992256*E,.5219009*a)).add(new go.PathSegment(go.PathSegment.Bezier,.9212406*E,.8217117*a,1.032337*E,.5771781*a,1.018411*E,.8120651*a)).add(new go.PathSegment(go.PathSegment.Bezier,.7592566*E,.9156953*a,1.028411*E,.9571472*a,.8556702*E,1.052487*a)).add(new go.PathSegment(go.PathSegment.Bezier,.5101666*E,.9310455*a,.7431877*E,1.009325*a,.5624123*E,1.021761*a)).add(new go.PathSegment(go.PathSegment.Bezier,.2609328*E,.9344623*a,.4820677*E,1.031761*a,.3030112*E,1.002796*a)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*E,.870098*a,.2329994*E,1.01518*a,.03213784*E,1.01518*a)).add(new go.PathSegment(go.PathSegment.Bezier,.06829292*E,.6545475*a,-.02812061*E,.9032597*a,-.01205169*E,.6835638*a)).add(new go.PathSegment(go.PathSegment.Bezier,.06427569*E,.4265613*a,-.01812061*E,.6089503*a,-.00606892*E,.4555777*a)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*E,.1944299*a,-.01606892*E,.3892545*a,-.01205169*E,.1944299*a))).setSpots(.1,.1,.9,.9)}),go.Shape.defineFigureGenerator("StopSign",function(ie,E,a){var b=1/(Math.SQRT2+2);return new go.Geometry().add(new go.PathFigure(b*E,0,!0).add(new go.PathSegment(go.PathSegment.Line,(1-b)*E,0)).add(new go.PathSegment(go.PathSegment.Line,E,b*a)).add(new go.PathSegment(go.PathSegment.Line,E,(1-b)*a)).add(new go.PathSegment(go.PathSegment.Line,(1-b)*E,a)).add(new go.PathSegment(go.PathSegment.Line,b*E,a)).add(new go.PathSegment(go.PathSegment.Line,0,(1-b)*a)).add(new go.PathSegment(go.PathSegment.Line,0,b*a).close())).setSpots(b/2,b/2,1-b/2,1-b/2)}),go.Shape.setFigureParameter("Pie",0,new vt("Start",0,-360,360)),go.Shape.setFigureParameter("Pie",1,new vt("Sweep",315,-360,360)),go.Shape.defineFigureGenerator("Pie",function(ie,E,a){var b=ie?ie.parameter1:NaN,y=ie?ie.parameter2:NaN;isNaN(b)&&(b=0),isNaN(y)&&(y=315);var z=b%360;z<0&&(z+=360);var ee=y%360,ne=Math.min(E,a)/2;return new go.Geometry().add(new go.PathFigure(ne,ne).add(new go.PathSegment(go.PathSegment.Arc,z,ee,ne,ne,ne,ne).close()))}),go.Shape.defineFigureGenerator("PiePiece",function(ie,E,a){var b=oe/Math.SQRT2*.5,y=Math.SQRT2/2,z=1-Math.SQRT2/2;return new go.Geometry().add(new go.PathFigure(E,a,!0).add(new go.PathSegment(go.PathSegment.Bezier,y*E,z*a,E,(1-b)*a,(y+b)*E,(z+b)*a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close()))}),go.Shape.setFigureParameter("ThickCross",0,new vt("Thickness",30)),go.Shape.defineFigureGenerator("ThickCross",function(ie,E,a){var b=ie?ie.parameter1:NaN;(isNaN(b)||b<0)&&(b=30);var y=Math.min(b,E)/2,z=E/2,ee=a/2;return new go.Geometry().add(new go.PathFigure(z-y,0,!0).add(new go.PathSegment(go.PathSegment.Line,z+y,0)).add(new go.PathSegment(go.PathSegment.Line,z+y,ee-y)).add(new go.PathSegment(go.PathSegment.Line,E,ee-y)).add(new go.PathSegment(go.PathSegment.Line,E,ee+y)).add(new go.PathSegment(go.PathSegment.Line,z+y,ee+y)).add(new go.PathSegment(go.PathSegment.Line,z+y,a)).add(new go.PathSegment(go.PathSegment.Line,z-y,a)).add(new go.PathSegment(go.PathSegment.Line,z-y,ee+y)).add(new go.PathSegment(go.PathSegment.Line,0,ee+y)).add(new go.PathSegment(go.PathSegment.Line,0,ee-y)).add(new go.PathSegment(go.PathSegment.Line,z-y,ee-y).close()))}),go.Shape.setFigureParameter("ThinCross",0,new vt("Thickness",10)),go.Shape.defineFigureGenerator("ThinCross",function(ie,E,a){var b=ie?ie.parameter1:NaN;(isNaN(b)||b<0)&&(b=10);var y=Math.min(b,E)/2,z=E/2,ee=a/2;return new go.Geometry().add(new go.PathFigure(z-y,0,!0).add(new go.PathSegment(go.PathSegment.Line,z+y,0)).add(new go.PathSegment(go.PathSegment.Line,z+y,ee-y)).add(new go.PathSegment(go.PathSegment.Line,E,ee-y)).add(new go.PathSegment(go.PathSegment.Line,E,ee+y)).add(new go.PathSegment(go.PathSegment.Line,z+y,ee+y)).add(new go.PathSegment(go.PathSegment.Line,z+y,a)).add(new go.PathSegment(go.PathSegment.Line,z-y,a)).add(new go.PathSegment(go.PathSegment.Line,z-y,ee+y)).add(new go.PathSegment(go.PathSegment.Line,0,ee+y)).add(new go.PathSegment(go.PathSegment.Line,0,ee-y)).add(new go.PathSegment(go.PathSegment.Line,z-y,ee-y).close()))}),go.Shape.setFigureParameter("ThickX",0,new vt("Thickness",30)),go.Shape.defineFigureGenerator("ThickX",function(ie,E,a){var b=ie?ie.parameter1:NaN;if((isNaN(b)||b<0)&&(b=30),E===0||a===0){var y=new go.Geometry(go.Geometry.Rectangle);return y.startX=0,y.startY=0,y.endX=E,y.endY=a,y}else{var z=E/2,ee=a/2,ne=Math.atan2(a,E),ae=b-Math.min(Math.cos(ne)*b/2,z),le=b-Math.min(Math.sin(ne)*b/2,ee),y=new go.Geometry,de=new go.PathFigure(ae,0,!0);return y.add(de),de.add(new go.PathSegment(go.PathSegment.Line,z,.2*a)),de.add(new go.PathSegment(go.PathSegment.Line,E-ae,0)),de.add(new go.PathSegment(go.PathSegment.Line,E,le)),de.add(new go.PathSegment(go.PathSegment.Line,.8*E,ee)),de.add(new go.PathSegment(go.PathSegment.Line,E,a-le)),de.add(new go.PathSegment(go.PathSegment.Line,E-ae,a)),de.add(new go.PathSegment(go.PathSegment.Line,z,.8*a)),de.add(new go.PathSegment(go.PathSegment.Line,ae,a)),de.add(new go.PathSegment(go.PathSegment.Line,0,a-le)),de.add(new go.PathSegment(go.PathSegment.Line,.2*E,ee)),de.add(new go.PathSegment(go.PathSegment.Line,0,le).close()),y}}),go.Shape.setFigureParameter("ThinX",0,new vt("Thickness",10)),go.Shape.defineFigureGenerator("ThinX",function(ie,E,a){var b=ie?ie.parameter1:NaN;(isNaN(b)||b<0)&&(b=10);var y=new go.Geometry,z=new go.PathFigure(.1*E,0,!0);return y.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,.9*E,0)),z.add(new go.PathSegment(go.PathSegment.Line,E,.1*a)),z.add(new go.PathSegment(go.PathSegment.Line,.6*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,.9*a)),z.add(new go.PathSegment(go.PathSegment.Line,.9*E,a)),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,.6*a)),z.add(new go.PathSegment(go.PathSegment.Line,.1*E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.9*a)),z.add(new go.PathSegment(go.PathSegment.Line,.4*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.1*a).close()),y}),go.Shape.setFigureParameter("SquareIBeam",0,new vt("BeamWidth",.2,.1,.9)),go.Shape.defineFigureGenerator("SquareIBeam",function(ie,E,a){var b=ie?ie.parameter1:NaN;isNaN(b)&&(b=.2);var y=new go.Geometry,z=new go.PathFigure(0,0,!0);return y.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Line,E,b*a)),z.add(new go.PathSegment(go.PathSegment.Line,(.5+b/2)*E,b*a)),z.add(new go.PathSegment(go.PathSegment.Line,(.5+b/2)*E,(1-b)*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,(1-b)*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,(1-b)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(.5-b/2)*E,(1-b)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(.5-b/2)*E,b*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,b*a).close()),y}),go.Shape.setFigureParameter("RoundedIBeam",0,new vt("Curviness",.5,.05,.65)),go.Shape.defineFigureGenerator("RoundedIBeam",function(ie,E,a){var b=ie?ie.parameter1:NaN;isNaN(b)&&(b=.5);var y=new go.Geometry,z=new go.PathFigure(0,0,!0);return y.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,E,a,Math.abs(1-b)*E,.25*a,Math.abs(1-b)*E,.75*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,0,b*E,.75*a,b*E,.25*a).close()),y}),go.Shape.defineFigureGenerator("HalfEllipse",function(ie,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,oe*E,0,E,(.5-oe/2)*a)).add(new go.PathSegment(go.PathSegment.Bezier,0,a,E,(.5+oe/2)*a,oe*E,a).close())).setSpots(0,.156,.844,.844)}),go.Shape.defineFigureGenerator("Crescent",function(ie,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,a,E,0,E,a)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.5*E,.75*a,.5*E,.25*a).close())).setSpots(.311,.266,.744,.744)}),go.Shape.defineFigureGenerator("Heart",function(ie,E,a){return new go.Geometry().add(new go.PathFigure(.5*E,a,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,.3*a,.1*E,.8*a,0,.5*a)).add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.3*a,0,0,.45*E,0)).add(new go.PathSegment(go.PathSegment.Bezier,E,.3*a,.55*E,0,E,0)).add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,E,.5*a,.9*E,.8*a).close())).setSpots(.14,.29,.86,.78)}),go.Shape.defineFigureGenerator("Spade",function(ie,E,a){return new go.Geometry().add(new go.PathFigure(.5*E,0,!0).add(new go.PathSegment(go.PathSegment.Line,.51*E,.01*a)).add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,.6*E,.2*a,E,.25*a)).add(new go.PathSegment(go.PathSegment.Bezier,.55*E,.7*a,E,.8*a,.6*E,.8*a)).add(new go.PathSegment(go.PathSegment.Bezier,.75*E,a,.5*E,.75*a,.55*E,.95*a)).add(new go.PathSegment(go.PathSegment.Line,.25*E,a)).add(new go.PathSegment(go.PathSegment.Bezier,.45*E,.7*a,.45*E,.95*a,.5*E,.75*a)).add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,.4*E,.8*a,0,.8*a)).add(new go.PathSegment(go.PathSegment.Bezier,.49*E,.01*a,0,.25*a,.4*E,.2*a).close())).setSpots(.14,.26,.86,.78)}),go.Shape.defineFigureGenerator("Club",function(ie,E,a){var b=new go.Geometry,y=new go.PathFigure(.4*E,.6*a,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,.15*E,a,.5*E,.75*a,.45*E,.95*a)),y.add(new go.PathSegment(go.PathSegment.Line,.85*E,a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.6*E,.6*a,.55*E,.95*a,.5*E,.75*a));var z=.2,ee=.3,ne=0,ae=z*oe;return y.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*E,(.5+z+ne)*a,(.5-z+ee)*E,(.5+ae+ne)*a,(.5-ae+ee)*E,(.5+z+ne)*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+z+ee)*E,(.5+ne)*a,(.5+ae+ee)*E,(.5+z+ne)*a,(.5+z+ee)*E,(.5+ae+ne)*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*E,(.5-z+ne)*a,(1-.5+z+ee)*E,(.5-ae+ne)*a,(.5+ae+ee)*E,(.5-z+ne)*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.65*E,.36771243*a,(.5-ae+ee)*E,(.5-z+ne)*a,(.5-z+ee+.05)*E,(.5-ae+ne-.02)*a)),z=.2,ee=0,ne=-.3,ae=z*oe,y.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+z+ee)*E,(.5+ne)*a,(.5+ae+ee)*E,(.5+z+ne)*a,(.5+z+ee)*E,(.5+ae+ne)*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*E,(.5-z+ne)*a,(1-.5+z+ee)*E,(.5-ae+ne)*a,(.5+ae+ee)*E,(.5-z+ne)*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5-z+ee)*E,(.5+ne)*a,(.5-ae+ee)*E,(.5-z+ne)*a,(.5-z+ee)*E,(.5-ae+ne)*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5-ae+ee)*E,(.5+z+ne)*a,(.5-z+ee)*E,(.5+ae+ne)*a,(.5-ae+ee)*E,(.5+z+ne)*a)),z=.2,ee=-.3,ne=0,ae=z*oe,y.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*E,(.5-z+ne)*a,(1-.5+z+ee-.05)*E,(.5-ae+ne-.02)*a,(.5+ae+ee)*E,(.5-z+ne)*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5-z+ee)*E,(.5+ne)*a,(.5-ae+ee)*E,(.5-z+ne)*a,(.5-z+ee)*E,(.5-ae+ne)*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*E,(.5+z+ne)*a,(.5-z+ee)*E,(.5+ae+ne)*a,(.5-ae+ee)*E,(.5+z+ne)*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.4*E,.6*a,(.5+ae+ee)*E,(.5+z+ne)*a,(.5+z+ee)*E,(.5+ae+ne)*a).close()),b.setSpots(.06,.33,.93,.68),b}),go.Shape.defineFigureGenerator("YinYang",function(ie,E,a){var b=new go.Geometry,y=new go.PathFigure(E*.5,0,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,270,180,E*.5,E*.5,E*.5,E*.5)),y.add(new go.PathSegment(go.PathSegment.Arc,90,-180,E*.5,E*.75,E*.25,E*.25)),y.add(new go.PathSegment(go.PathSegment.Arc,90,180,E*.5,E*.25,E*.25,E*.25));var z=.1,ee=.5,ne=.25;return y.add(new go.PathSegment(go.PathSegment.Move,(ee+z)*E,ne*a)),y.add(new go.PathSegment(go.PathSegment.Arc,0,-360,E*ee,a*ne,z*E,z*E).close()),y=new go.PathFigure(E*.5,0,!1),b.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,270,-180,E*.5,E*.5,E*.5,E*.5)),ne=.75,y=new go.PathFigure((ee+z)*E,ne*a,!0),b.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,0,360,E*ee,a*ne,z*E,z*E).close()),b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("Peace",function(ie,E,a){var b=.8535533905932737,y=.5*E,z=.5*a;return new go.Geometry().add(new go.PathFigure(y,0,!1).add(new go.PathSegment(go.PathSegment.Arc,270,360,y,z,y,z)).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Move,y,z)).add(new go.PathSegment(go.PathSegment.Line,(1-b)*E,b*a)).add(new go.PathSegment(go.PathSegment.Move,y,z)).add(new go.PathSegment(go.PathSegment.Line,b*E,b*a)))}),go.Shape.defineFigureGenerator("NotAllowed",function(ie,E,a){var b=new go.Geometry,y=oe*.5,z=.5,ee=.5,ne=.5,ae=new go.PathFigure(ee*E,(ne-z)*a);b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,(ee-z)*E,ne*a,(ee-y)*E,(ne-z)*a,(ee-z)*E,(ne-y)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(ne+z)*a,(ee-z)*E,(ne+y)*a,(ee-y)*E,(ne+z)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z)*E,ne*a,(ee+y)*E,(ne+z)*a,(ee+z)*E,(ne+y)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(ne-z)*a,(ee+z)*E,(ne-y)*a,(ee+y)*E,(ne-z)*a)),z=.4,y=oe*.4;var le=x(),de=x(),fe=x(),be=x();ze(ee,ne-z,ee+y,ne-z,ee+z,ne-y,ee+z,ne,.42,le,de,fe,be,be);var Ee=x(),pe=x(),ge=x();ze(ee,ne-z,ee+y,ne-z,ee+z,ne-y,ee+z,ne,.58,be,be,ge,Ee,pe);var $e=x(),Be=x(),Le=x();ze(ee,ne+z,ee-y,ne+z,ee-z,ne+y,ee-z,ne,.42,$e,Be,Le,be,be);var Re=x(),Ge=x(),Ye=x();return ze(ee,ne+z,ee-y,ne+z,ee-z,ne+y,ee-z,ne,.58,be,be,Ye,Re,Ge),ae.add(new go.PathSegment(go.PathSegment.Move,Ye.x*E,Ye.y*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(ee-z)*E,ne*a,Re.x*E,Re.y*a,Ge.x*E,Ge.y*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(ne-z)*a,(ee-z)*E,(ne-y)*a,(ee-y)*E,(ne-z)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,fe.x*E,fe.y*a,le.x*E,le.y*a,de.x*E,de.y*a)),ae.add(new go.PathSegment(go.PathSegment.Line,Ye.x*E,Ye.y*a).close()),ae.add(new go.PathSegment(go.PathSegment.Move,Le.x*E,Le.y*a)),ae.add(new go.PathSegment(go.PathSegment.Line,ge.x*E,ge.y*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z)*E,ne*a,Ee.x*E,Ee.y*a,pe.x*E,pe.y*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(ne+z)*a,(ee+z)*E,(ne+y)*a,(ee+y)*E,(ne+z)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,Le.x*E,Le.y*a,$e.x*E,$e.y*a,Be.x*E,Be.y*a).close()),re(le),re(de),re(fe),re(be),re(Ee),re(pe),re(ge),re($e),re(Be),re(Le),re(Re),re(Ge),re(Ye),b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("Fragile",function(ie,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.25*E,0)).add(new go.PathSegment(go.PathSegment.Line,.2*E,.15*a)).add(new go.PathSegment(go.PathSegment.Line,.3*E,.25*a)).add(new go.PathSegment(go.PathSegment.Line,.29*E,.33*a)).add(new go.PathSegment(go.PathSegment.Line,.35*E,.25*a)).add(new go.PathSegment(go.PathSegment.Line,.3*E,.15*a)).add(new go.PathSegment(go.PathSegment.Line,.4*E,0)).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Bezier,.55*E,.5*a,E,.25*a,.75*E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.55*E,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.7*E,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.7*E,a)).add(new go.PathSegment(go.PathSegment.Line,.3*E,a)).add(new go.PathSegment(go.PathSegment.Line,.3*E,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.45*E,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.45*E,.5*a)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*E,.5*a,0,.25*a).close()))}),go.Shape.setFigureParameter("HourGlass",0,new vt("Thickness",30)),go.Shape.defineFigureGenerator("HourGlass",function(ie,E,a){var b=ie?ie.parameter1:NaN;(isNaN(b)||b<0)&&(b=30),b>E&&(b=E);var y=(E-b)/2,z=y+b;return new go.Geometry().add(new go.PathFigure(z,.5*a).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,0,a)).add(new go.PathSegment(go.PathSegment.Line,y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,0,0)).add(new go.PathSegment(go.PathSegment.Line,E,0).close()))}),go.Shape.defineFigureGenerator("Lightning",function(ie,E,a){return new go.Geometry().add(new go.PathFigure(0,.55*a).add(new go.PathSegment(go.PathSegment.Line,.6*E,0)).add(new go.PathSegment(go.PathSegment.Line,.3*E,.45*a)).add(new go.PathSegment(go.PathSegment.Line,E,.45*a)).add(new go.PathSegment(go.PathSegment.Line,.4*E,a)).add(new go.PathSegment(go.PathSegment.Line,.7*E,.55*a).close()))}),go.Shape.defineFigureGenerator("GenderMale",function(ie,E,a){var b=new go.Geometry,y=oe*.4,z=.4,ee=.5,ne=.5,ae=x(),le=x(),de=x(),fe=x(),be=new go.PathFigure((ee-z)*E,ne*a,!1);b.add(be),be.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(ne-z)*a,(ee-z)*E,(ne-y)*a,(ee-y)*E,(ne-z)*a)),ze(ee,ne-z,ee+y,ne-z,ee+z,ne-y,ee+z,ne,.44,de,fe,le,ae,ae),be.add(new go.PathSegment(go.PathSegment.Bezier,le.x*E,le.y*a,de.x*E,de.y*a,fe.x*E,fe.y*a));var Ee=te(le.x,le.y);ze(ee,ne-z,ee+y,ne-z,ee+z,ne-y,ee+z,ne,.56,ae,ae,le,de,fe);var pe=te(le.x,le.y);be.add(new go.PathSegment(go.PathSegment.Line,(Ee.x*.1+.95*.9)*E,Ee.y*.1*a)),be.add(new go.PathSegment(go.PathSegment.Line,.85*E,Ee.y*.1*a)),be.add(new go.PathSegment(go.PathSegment.Line,.85*E,0)),be.add(new go.PathSegment(go.PathSegment.Line,E,0)),be.add(new go.PathSegment(go.PathSegment.Line,E,.15*a)),be.add(new go.PathSegment(go.PathSegment.Line,(pe.x*.1+.9)*E,.15*a)),be.add(new go.PathSegment(go.PathSegment.Line,(pe.x*.1+.9)*E,(pe.y*.1+.05*.9)*a)),be.add(new go.PathSegment(go.PathSegment.Line,pe.x*E,pe.y*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z)*E,ne*a,de.x*E,de.y*a,fe.x*E,fe.y*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(ne+z)*a,(ee+z)*E,(ne+y)*a,(ee+y)*E,(ne+z)*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,(ee-z)*E,ne*a,(ee-y)*E,(ne+z)*a,(ee-z)*E,(ne+y)*a)),z=.35,y=oe*.35;var ge=new go.PathFigure(ee*E,(ne-z)*a,!1);b.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,(ee-z)*E,ne*a,(ee-y)*E,(ne-z)*a,(ee-z)*E,(ne-y)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(ne+z)*a,(ee-z)*E,(ne+y)*a,(ee-y)*E,(ne+z)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z)*E,ne*a,(ee+y)*E,(ne+z)*a,(ee+z)*E,(ne+y)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(ne-z)*a,(ee+z)*E,(ne-y)*a,(ee+y)*E,(ne-z)*a));var $e=new go.PathFigure((ee-z)*E,ne*a,!1);return b.add($e),re(ae),re(le),re(de),re(fe),re(Ee),re(pe),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(ie,E,a){var b=new go.Geometry,y=.375,z=0,ee=-.125,ne=y*oe,ae=new go.PathFigure((.525+z)*E,(.5+y+ee)*a,!1);b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+y+z)*E,(.5+ee)*a,(.5+ne+z)*E,(.5+y+ee)*a,(.5+y+z)*E,(.5+ne+ee)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*E,(.5-y+ee)*a,(1-.5+y+z)*E,(.5-ne+ee)*a,(.5+ne+z)*E,(.5-y+ee)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(.5-y+z)*E,(.5+ee)*a,(.5-ne+z)*E,(.5-y+ee)*a,(.5-y+z)*E,(.5-ne+ee)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(.475+z)*E,(.5+y+ee)*a,(.5-y+z)*E,(.5+ne+ee)*a,(.5-ne+z)*E,(.5+y+ee)*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.475*E,.85*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.425*E,.85*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.425*E,.9*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.475*E,.9*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.475*E,a)),ae.add(new go.PathSegment(go.PathSegment.Line,.525*E,a)),ae.add(new go.PathSegment(go.PathSegment.Line,.525*E,.9*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.575*E,.9*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.575*E,.85*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.525*E,.85*a).close()),y=.325,z=0,ee=-.125,ne=y*oe;var ae=new go.PathFigure((1-.5+y+z)*E,(.5+ee)*a,!1);b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*E,(.5+y+ee)*a,(.5+y+z)*E,(.5+ne+ee)*a,(.5+ne+z)*E,(.5+y+ee)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(.5-y+z)*E,(.5+ee)*a,(.5-ne+z)*E,(.5+y+ee)*a,(.5-y+z)*E,(.5+ne+ee)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*E,(.5-y+ee)*a,(.5-y+z)*E,(.5-ne+ee)*a,(.5-ne+z)*E,(.5-y+ee)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+y+z)*E,(.5+ee)*a,(.5+ne+z)*E,(.5-y+ee)*a,(1-.5+y+z)*E,(.5-ne+ee)*a));var ae=new go.PathFigure((.525+z)*E,(.5+y+ee)*a,!1);return b.add(ae),b.spot1=new go.Spot(.232,.136),b.spot2=new go.Spot(.682,.611),b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("LogicImplies",function(ie,E,a){var b=ie?ie.parameter1:NaN;return isNaN(b)&&(b=.2),new go.Geometry().add(new go.PathFigure((1-b)*E,0,!1).add(new go.PathSegment(go.PathSegment.Line,E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,(1-b)*E,a)).add(new go.PathSegment(go.PathSegment.Move,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,E,.5*a))).setSpots(0,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicIff",function(ie,E,a){var b=ie?ie.parameter1:NaN;return isNaN(b)&&(b=.2),new go.Geometry().add(new go.PathFigure((1-b)*E,0,!1).add(new go.PathSegment(go.PathSegment.Line,E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,(1-b)*E,a)).add(new go.PathSegment(go.PathSegment.Move,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,E,.5*a)).add(new go.PathSegment(go.PathSegment.Move,b*E,0)).add(new go.PathSegment(go.PathSegment.Line,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,b*E,a))).setSpots(.2,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicNot",function(ie,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E,a)))}),go.Shape.defineFigureGenerator("LogicAnd",function(ie,E,a){return new go.Geometry().add(new go.PathFigure(0,a,!1).add(new go.PathSegment(go.PathSegment.Line,.5*E,0)).add(new go.PathSegment(go.PathSegment.Line,E,a))).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("LogicOr",function(ie,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*E,a)).add(new go.PathSegment(go.PathSegment.Line,E,0))).setSpots(.219,0,.78,.409)}),go.Shape.defineFigureGenerator("LogicXor",function(ie,E,a){var b=new go.Geometry().add(new go.PathFigure(.5*E,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*E,a)).add(new go.PathSegment(go.PathSegment.Move,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,E,.5*a)).add(new go.PathSegment(go.PathSegment.Arc,0,360,.5*E,.5*a,.5*E,.5*a)));return b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("LogicTruth",function(ie,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Move,.5*E,0)).add(new go.PathSegment(go.PathSegment.Line,.5*E,a)))}),go.Shape.defineFigureGenerator("LogicFalsity",function(ie,E,a){return new go.Geometry().add(new go.PathFigure(0,a,!1).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Move,.5*E,a)).add(new go.PathSegment(go.PathSegment.Line,.5*E,0)))}),go.Shape.defineFigureGenerator("LogicThereExists",function(ie,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,0,.5*a)).add(new go.PathSegment(go.PathSegment.Move,E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,0,a)))}),go.Shape.defineFigureGenerator("LogicForAll",function(ie,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*E,a)).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Move,.25*E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.75*E,.5*a))).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("LogicIsDefinedAs",function(ie,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Move,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,E,.5*a)).add(new go.PathSegment(go.PathSegment.Move,0,a)).add(new go.PathSegment(go.PathSegment.Line,E,a))).setSpots(.01,.01,.99,.49)}),go.Shape.defineFigureGenerator("LogicIntersect",function(ie,E,a){var b=.5;return new go.Geometry().add(new go.PathFigure(0,a,!1).add(new go.PathSegment(go.PathSegment.Line,0,b*a)).add(new go.PathSegment(go.PathSegment.Arc,180,180,b*E,b*a,b*E,b*a)).add(new go.PathSegment(go.PathSegment.Line,E,a))).setSpots(0,.5,1,1)}),go.Shape.defineFigureGenerator("LogicUnion",function(ie,E,a){var b=.5;return new go.Geometry().add(new go.PathFigure(E,0,!1).add(new go.PathSegment(go.PathSegment.Line,E,b*a)).add(new go.PathSegment(go.PathSegment.Arc,0,180,b*E,b*a,b*E,b*a)).add(new go.PathSegment(go.PathSegment.Line,0,0))).setSpots(0,0,1,.5)}),go.Shape.setFigureParameter("Arrow",0,new vt("ArrowheadWidth",.3,.01,.99)),go.Shape.setFigureParameter("Arrow",1,new vt("TailHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("Arrow",function(ie,E,a){var b=ie?ie.parameter1:NaN;isNaN(b)&&(b=.3);var y=ie?ie.parameter2:NaN;isNaN(y)&&(y=.3);var z=(1-b)*E,ee=(.5-y/2)*a,ne=(.5+y/2)*a,ae=new go.Geometry,le=new go.PathFigure(0,ee,!0);ae.add(le),le.add(new go.PathSegment(go.PathSegment.Line,z,ee)),le.add(new go.PathSegment(go.PathSegment.Line,z,0)),le.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),le.add(new go.PathSegment(go.PathSegment.Line,z,a)),le.add(new go.PathSegment(go.PathSegment.Line,z,ne)),le.add(new go.PathSegment(go.PathSegment.Line,0,ne).close()),ae.spot1=new go.Spot(0,ee/a);var de=Ce(0,ne/a,1,ne/a,z/E,1,1,.5,x());return ae.spot2=new go.Spot(de.x,de.y),re(de),ae}),go.Shape.setFigureParameter("Arrow2",0,new vt("ArrowheadWidth",30)),go.Shape.setFigureParameter("Arrow2",0,new vt("TailHeight",30)),go.Shape.defineFigureGenerator("Arrow2",function(ie,E,a){var b=ie?ie.parameter1:NaN;isNaN(b)&&(b=30),b>E&&(b=E);var y=ie?ie.parameter2:NaN;isNaN(y)&&(y=30),y=Math.min(y,a/2);var z=E-b,ee=(a-y)/2,ne=ee+y,ae=new go.Geometry,le=new go.PathFigure(0,ee,!0);ae.add(le),le.add(new go.PathSegment(go.PathSegment.Line,z,ee)),le.add(new go.PathSegment(go.PathSegment.Line,z,0)),le.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),le.add(new go.PathSegment(go.PathSegment.Line,z,a)),le.add(new go.PathSegment(go.PathSegment.Line,z,ne)),le.add(new go.PathSegment(go.PathSegment.Line,0,ne).close()),ae.spot1=new go.Spot(0,ee/a);var de=Ce(0,ne/a,1,ne/a,z/E,1,1,.5,x());return ae.spot2=new go.Spot(de.x,de.y),re(de),ae}),go.Shape.defineFigureGenerator("Chevron",function(ie,E,a){var b=new go.Geometry,y=new go.PathFigure(0,0,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a).close()),b}),go.Shape.defineFigureGenerator("DoubleArrow",function(ie,E,a){var b=new go.Geometry,y=new go.PathFigure(0,0,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.3*E,.214*a)),y.add(new go.PathSegment(go.PathSegment.Line,.3*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,1*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.3*E,1*a)),y.add(new go.PathSegment(go.PathSegment.Line,.3*E,.786*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,1*a).close()),b}),go.Shape.setFigureParameter("DoubleEndArrow",0,new vt("ConnecterHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("DoubleEndArrow",function(ie,E,a){var b=ie?ie.parameter1:NaN;isNaN(b)&&(b=.3);var y=(.5-b/2)*a,z=(.5+b/2)*a,ee=new go.Geometry,ne=new go.PathFigure(E,.5*a,!0);ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.7*E,a)),ne.add(new go.PathSegment(go.PathSegment.Line,.7*E,z)),ne.add(new go.PathSegment(go.PathSegment.Line,.3*E,z)),ne.add(new go.PathSegment(go.PathSegment.Line,.3*E,a)),ne.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.3*E,0)),ne.add(new go.PathSegment(go.PathSegment.Line,.3*E,y)),ne.add(new go.PathSegment(go.PathSegment.Line,.7*E,y)),ne.add(new go.PathSegment(go.PathSegment.Line,.7*E,0).close());var ae=Ce(0,.5,.3,0,0,y/a,.1,y/a,x());return ee.spot1=new go.Spot(ae.x,ae.y),ae=Ce(.7,1,1,.5,0,z/a,1,z/a,ae),ee.spot2=new go.Spot(ae.x,ae.y),re(ae),ee}),go.Shape.setFigureParameter("DoubleEndArrow2",0,new vt("ConnecterHeight",40)),go.Shape.setFigureParameter("DoubleEndArrow2",1,new vt("ArrowHeight",100)),go.Shape.defineFigureGenerator("DoubleEndArrow2",function(ie,E,a){var b=ie?ie.parameter1:NaN;isNaN(b)&&(b=40);var y=ie?ie.parameter2:NaN;isNaN(y)&&(y=100);var z=(a-b)/2,ee=z+b,ne=(a-y)/2,ae=ne+y;(b>a||y>a)&&(y>b?(b=b*a/y,z=(a-b)/2,ee=z+b,ne=0,ae=a):(z=0,ee=a,ne=0,ae=a));var le=new go.Geometry,de=new go.PathFigure(E,.5*a,!0);le.add(de),de.add(new go.PathSegment(go.PathSegment.Line,.7*E,ae)),de.add(new go.PathSegment(go.PathSegment.Line,.7*E,ee)),de.add(new go.PathSegment(go.PathSegment.Line,.3*E,ee)),de.add(new go.PathSegment(go.PathSegment.Line,.3*E,ae)),de.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),de.add(new go.PathSegment(go.PathSegment.Line,.3*E,ne)),de.add(new go.PathSegment(go.PathSegment.Line,.3*E,z)),de.add(new go.PathSegment(go.PathSegment.Line,.7*E,z)),de.add(new go.PathSegment(go.PathSegment.Line,.7*E,ne).close());var fe=Ce(0,.5,.3,ne/a,0,z/a,1,z/a,x());return le.spot1=new go.Spot(fe.x,fe.y),fe=Ce(.7,ae/a,1,.5,0,ee/a,1,ee/a,fe),le.spot2=new go.Spot(fe.x,fe.y),re(fe),le}),go.Shape.setFigureParameter("IBeamArrow",0,new vt("ConnectorHeight",.7,.51,.97)),go.Shape.defineFigureGenerator("IBeamArrow",function(ie,E,a){var b=ie?ie.parameter1:NaN;isNaN(b)&&(b=.3);var y=(.5-b/2)*a,z=(.5+b/2)*a,ee=new go.Geometry,ne=new go.PathFigure(E,.5*a,!0);ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.7*E,a)),ne.add(new go.PathSegment(go.PathSegment.Line,.7*E,z)),ne.add(new go.PathSegment(go.PathSegment.Line,.2*E,z)),ne.add(new go.PathSegment(go.PathSegment.Line,.2*E,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*E,0)),ne.add(new go.PathSegment(go.PathSegment.Line,.2*E,y)),ne.add(new go.PathSegment(go.PathSegment.Line,.7*E,y)),ne.add(new go.PathSegment(go.PathSegment.Line,.7*E,0).close()),ee.spot1=new go.Spot(0,y/a);var ae=Ce(.7,1,1,.5,0,z/a,1,z/a,x());return ee.spot2=new go.Spot(ae.x,ae.y),re(ae),ee}),go.Shape.setFigureParameter("IBeamArrow2",0,new vt("ConnectorHeight",40)),go.Shape.setFigureParameter("IBeamArrow2",1,new vt("BeamArrowHeight",100)),go.Shape.defineFigureGenerator("IBeamArrow2",function(ie,E,a){var b=ie?ie.parameter1:NaN;isNaN(b)&&(b=40);var y=ie?ie.parameter2:NaN;isNaN(y)&&(y=100);var z=(a-b)/2,ee=z+b,ne=(a-y)/2,ae=ne+y;(b>a||y>a)&&(y>b?(b=b*a/y,z=(a-b)/2,ee=z+b,ne=0,ae=a):(z=0,ee=a,ne=0,ae=a));var le=new go.Geometry,de=new go.PathFigure(E,.5*a,!0);le.add(de),de.add(new go.PathSegment(go.PathSegment.Line,.7*E,ae)),de.add(new go.PathSegment(go.PathSegment.Line,.7*E,ee)),de.add(new go.PathSegment(go.PathSegment.Line,.2*E,ee)),de.add(new go.PathSegment(go.PathSegment.Line,.2*E,ae)),de.add(new go.PathSegment(go.PathSegment.Line,0,ae)),de.add(new go.PathSegment(go.PathSegment.Line,0,ne)),de.add(new go.PathSegment(go.PathSegment.Line,.2*E,ne)),de.add(new go.PathSegment(go.PathSegment.Line,.2*E,z)),de.add(new go.PathSegment(go.PathSegment.Line,.7*E,z)),de.add(new go.PathSegment(go.PathSegment.Line,.7*E,ne).close()),le.spot1=new go.Spot(0,z/a);var fe=Ce(.7,ae/a,1,.5,0,ee/a,1,ee/a,x());return le.spot2=new go.Spot(fe.x,fe.y),re(fe),le}),go.Shape.setFigureParameter("Pointer",0,new vt("BackPoint",.1,0,.2)),go.Shape.defineFigureGenerator("Pointer",function(ie,E,a){var b=ie?ie.parameter1:NaN;isNaN(b)&&(b=.1);var y=new go.Geometry,z=new go.PathFigure(E,.5*a,!0);y.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,a)),z.add(new go.PathSegment(go.PathSegment.Line,b*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,0).close()),y.spot1=new go.Spot(b,.35);var ee=Ce(.2,.65,1,.65,0,1,1,.5,x());return y.spot2=new go.Spot(ee.x,ee.y),re(ee),y}),go.Shape.setFigureParameter("RoundedPointer",0,new vt("RoundedEdge",.3,0,.5)),go.Shape.defineFigureGenerator("RoundedPointer",function(ie,E,a){var b=ie?ie.parameter1:NaN;isNaN(b)&&(b=.3);var y=new go.Geometry,z=new go.PathFigure(E,.5*a,!0);y.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,0,b*E,.75*a,b*E,.25*a).close()),y.spot1=new go.Spot(b,.35);var ee=Ce(0,.65,1,.65,0,1,1,.5,x());return y.spot2=new go.Spot(ee.x,ee.y),re(ee),y}),go.Shape.setFigureParameter("SplitEndArrow",0,new vt("TailHeight",.4,.01,.99)),go.Shape.defineFigureGenerator("SplitEndArrow",function(ie,E,a){var b=ie?ie.parameter1:NaN;isNaN(b)&&(b=.4);var y=(.5-b/2)*a,z=(.5+b/2)*a,ee=new go.Geometry,ne=new go.PathFigure(E,.5*a,!0);ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.7*E,a)),ne.add(new go.PathSegment(go.PathSegment.Line,.7*E,z)),ne.add(new go.PathSegment(go.PathSegment.Line,0,z)),ne.add(new go.PathSegment(go.PathSegment.Line,.2*E,.5*a)),ne.add(new go.PathSegment(go.PathSegment.Line,0,y)),ne.add(new go.PathSegment(go.PathSegment.Line,.7*E,y)),ne.add(new go.PathSegment(go.PathSegment.Line,.7*E,0).close()),ee.spot1=new go.Spot(.2,.3);var ae=Ce(.7,1,1,.5,0,z/a,1,z/a,x());return ee.spot2=new go.Spot(ae.x,ae.y),re(ae),ee}),go.Shape.setFigureParameter("SplitEndArrow2",0,new vt("TailThickness",50)),go.Shape.defineFigureGenerator("SplitEndArrow2",function(ie,E,a){var b=ie?ie.parameter1:NaN;isNaN(b)&&(b=50);var y=(a-b)/2,z=y+b;b>a&&(y=0,z=a);var ee=new go.Geometry,ne=new go.PathFigure(E,.5*a,!0);ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.7*E,a)),ne.add(new go.PathSegment(go.PathSegment.Line,.7*E,z)),ne.add(new go.PathSegment(go.PathSegment.Line,0,z)),ne.add(new go.PathSegment(go.PathSegment.Line,.2*E,.5*a)),ne.add(new go.PathSegment(go.PathSegment.Line,0,y)),ne.add(new go.PathSegment(go.PathSegment.Line,.7*E,y)),ne.add(new go.PathSegment(go.PathSegment.Line,.7*E,0).close()),ee.spot1=new go.Spot(.2,y/a);var ae=Ce(.7,1,1,.5,0,z/a,1,z/a,x());return ee.spot2=new go.Spot(ae.x,ae.y),re(ae),ee}),go.Shape.setFigureParameter("SquareArrow",0,new vt("ArrowPoint",.7,.2,.9)),go.Shape.defineFigureGenerator("SquareArrow",function(ie,E,a){var b=ie?ie.parameter1:NaN;isNaN(b)&&(b=.7);var y=new go.Geometry,z=new go.PathFigure(E,.5*a,!0);return y.add(z),z.add(new go.PathSegment(go.PathSegment.Line,b*E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,0)),z.add(new go.PathSegment(go.PathSegment.Line,b*E,0).close()),y.spot1=go.Spot.TopLeft,y.spot2=new go.Spot(b,1),y}),go.Shape.defineFigureGenerator("Cone1",function(ie,E,a){var b=new go.Geometry,y=oe*.5,z=oe*.1,ee=new go.PathFigure(0,.9*a,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),ee.add(new go.PathSegment(go.PathSegment.Line,E,.9*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,E,(.9+z)*a,(.5+y)*E,a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,(.5-y)*E,a,0,(.9+z)*a).close()),b.spot1=new go.Spot(.25,.5),b.spot2=new go.Spot(.75,.97),b}),go.Shape.defineFigureGenerator("Cone2",function(ie,E,a){var b=new go.Geometry,y=new go.PathFigure(0,.9*a,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,E,.9*a,(1-.85/.9)*E,a,.85/.9*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,0,.9*a).close());var z=new go.PathFigure(0,.9*a,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,E,.9*a,(1-.85/.9)*E,.8*a,.85/.9*E,.8*a)),b.spot1=new go.Spot(.25,.5),b.spot2=new go.Spot(.75,.82),b}),go.Shape.defineFigureGenerator("Cube1",function(ie,E,a){var b=new go.Geometry,y=new go.PathFigure(.5*E,a,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,.85*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.15*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,0,.15*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.85*a).close());var z=new go.PathFigure(.5*E,a,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,.3*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.15*a)),z.add(new go.PathSegment(go.PathSegment.Move,.5*E,.3*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,.15*a)),b.spot1=new go.Spot(0,.3),b.spot2=new go.Spot(.5,.85),b}),go.Shape.defineFigureGenerator("Cube2",function(ie,E,a){var b=new go.Geometry,y=new go.PathFigure(0,.3*a,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,.7*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.7*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.3*E,0).close());var z=new go.PathFigure(0,.3*a,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.7*E,.3*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Move,.7*E,.3*a)),z.add(new go.PathSegment(go.PathSegment.Line,.7*E,a)),b.spot1=new go.Spot(0,.3),b.spot2=new go.Spot(.7,1),b}),go.Shape.defineFigureGenerator("Cylinder1",function(ie,E,a){var b=ie?ie.parameter1:NaN;isNaN(b)&&(b=5),b=Math.min(b,a/3);var y=new go.Geometry,z=oe*.5,ee=new go.PathFigure(0,b,!0);y.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,0,oe*b,(.5-z)*E,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,1*E,b,(.5+z)*E,0,1*E,oe*b)),ee.add(new go.PathSegment(go.PathSegment.Line,E,a-b)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,1*a,1*E,a-oe*b,(.5+z)*E,1*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,a-b,(.5-z)*E,1*a,0,a-oe*b)),ee.add(new go.PathSegment(go.PathSegment.Line,0,b));var ne=new go.PathFigure(E,b,!1);return y.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,2*b,1*E,2*b-oe*b,(.5+z)*E,2*b)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,b,(.5-z)*E,2*b,0,2*b-oe*b)),y.spot1=new go.Spot(0,0,0,2*b),y.spot2=new go.Spot(1,1),y}),go.Shape.defineFigureGenerator("Cylinder2",function(ie,E,a){var b=ie?ie.parameter1:NaN;isNaN(b)&&(b=5),b=Math.min(b,a/3);var y=new go.Geometry,z=oe*.5,ee=new go.PathFigure(0,a-b,!0);y.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,0,b)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,0,oe*b,(.5-z)*E,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,E,b,(.5+z)*E,0,E,oe*b)),ee.add(new go.PathSegment(go.PathSegment.Line,E,a-b)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,E,a-oe*b,(.5+z)*E,a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,a-b,(.5-z)*E,a,0,a-oe*b));var ne=new go.PathFigure(0,a-b,!1);return y.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a-2*b,0,a-b-oe*b,(.5-z)*E,a-2*b)),ne.add(new go.PathSegment(go.PathSegment.Bezier,E,a-b,(.5+z)*E,a-2*b,E,a-b-oe*b)),y.spot1=new go.Spot(0,0),y.spot2=new go.Spot(1,1,0,-2*b),y}),go.Shape.defineFigureGenerator("Cylinder3",function(ie,E,a){var b=ie?ie.parameter1:NaN;isNaN(b)&&(b=5),b=Math.min(b,E/3);var y=new go.Geometry,z=oe*.5,ee=new go.PathFigure(b,0,!0);y.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,E-b,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,E-oe*b,0,E,(.5-z)*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,E-b,a,E,(.5+z)*a,E-oe*b,a)),ee.add(new go.PathSegment(go.PathSegment.Line,b,a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,oe*b,a,0,(.5+z)*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,b,0,0,(.5-z)*a,oe*b,0));var ne=new go.PathFigure(b,0,!1);return y.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,2*b,.5*a,b+oe*b,0,2*b,(.5-z)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,b,a,2*b,(.5+z)*a,b+oe*b,a)),y.spot1=new go.Spot(0,0,2*b,0),y.spot2=new go.Spot(1,1),y}),go.Shape.defineFigureGenerator("Cylinder4",function(ie,E,a){var b=ie?ie.parameter1:NaN;isNaN(b)&&(b=5),b=Math.min(b,E/3);var y=new go.Geometry,z=oe*.5,ee=new go.PathFigure(E-b,0,!0);y.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,E-oe*b,0,E,(.5-z)*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,E-b,a,E,(.5+z)*a,E-oe*b,a)),ee.add(new go.PathSegment(go.PathSegment.Line,b,a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,oe*b,a,0,(.5+z)*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,b,0,0,(.5-z)*a,oe*b,0)),ee.add(new go.PathSegment(go.PathSegment.Line,E-b,0));var ne=new go.PathFigure(E-b,0,!1);return y.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,E-2*b,.5*a,E-b-oe*b,0,E-2*b,(.5-z)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,E-b,a,E-2*b,(.5+z)*a,E-b-oe*b,a)),y.spot1=new go.Spot(0,0),y.spot2=new go.Spot(1,1,-2*b,0),y}),go.Shape.defineFigureGenerator("Prism1",function(ie,E,a){var b=new go.Geometry,y=new go.PathFigure(.25*E,.25*a,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var z=new go.PathFigure(.25*E,.25*a,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),b.spot1=new go.Spot(.408,.172),b.spot2=new go.Spot(.833,.662),b}),go.Shape.defineFigureGenerator("Prism2",function(ie,E,a){var b=new go.Geometry,y=new go.PathFigure(0,.25*a,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.25*a)),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,.75*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var z=new go.PathFigure(0,a,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.25*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,.25*a)),z.add(new go.PathSegment(go.PathSegment.Move,0,.25*a)),z.add(new go.PathSegment(go.PathSegment.Line,.25*E,.5*a)),b.spot1=new go.Spot(.25,.5),b.spot2=new go.Spot(.75,.75),b}),go.Shape.defineFigureGenerator("Pyramid1",function(ie,E,a){var b=new go.Geometry,y=new go.PathFigure(.5*E,0,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,.75*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.75*a).close());var z=new go.PathFigure(.5*E,0,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),b.spot1=new go.Spot(.25,.367),b.spot2=new go.Spot(.75,.875),b}),go.Shape.defineFigureGenerator("Pyramid2",function(ie,E,a){var b=new go.Geometry,y=new go.PathFigure(.5*E,0,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,.85*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.85*a).close());var z=new go.PathFigure(.5*E,0,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,.7*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.85*a)),z.add(new go.PathSegment(go.PathSegment.Move,.5*E,.7*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,.85*a)),b.spot1=new go.Spot(.25,.367),b.spot2=new go.Spot(.75,.875),b}),go.Shape.defineFigureGenerator("Actor",function(ie,E,a){var b=new go.Geometry,y=.2,z=.1,ee=oe*y,ne=oe*z,ae=.5,le=.1,de=new go.PathFigure(ae*E,(le+z)*a,!0);b.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,(ae-y)*E,le*a,(ae-ee)*E,(le+z)*a,(ae-y)*E,(le+ne)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,ae*E,(le-z)*a,(ae-y)*E,(le-ne)*a,(ae-ee)*E,(le-z)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,(ae+y)*E,le*a,(ae+ee)*E,(le-z)*a,(ae+y)*E,(le-ne)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,ae*E,(le+z)*a,(ae+y)*E,(le+ne)*a,(ae+ee)*E,(le+z)*a));var fe=.05,be=oe*fe;ae=.05,le=.25;var Ee=new go.PathFigure(.5*E,.2*a,!0);return b.add(Ee),Ee.add(new go.PathSegment(go.PathSegment.Line,.95*E,.2*a)),ae=.95,le=.25,Ee.add(new go.PathSegment(go.PathSegment.Bezier,(ae+fe)*E,le*a,(ae+be)*E,(le-fe)*a,(ae+fe)*E,(le-be)*a)),Ee.add(new go.PathSegment(go.PathSegment.Line,E,.6*a)),Ee.add(new go.PathSegment(go.PathSegment.Line,.85*E,.6*a)),Ee.add(new go.PathSegment(go.PathSegment.Line,.85*E,.35*a)),fe=.025,be=oe*fe,ae=.825,le=.35,Ee.add(new go.PathSegment(go.PathSegment.Bezier,ae*E,(le-fe)*a,(ae+fe)*E,(le-be)*a,(ae+be)*E,(le-fe)*a)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(ae-fe)*E,le*a,(ae-be)*E,(le-fe)*a,(ae-fe)*E,(le-be)*a)),Ee.add(new go.PathSegment(go.PathSegment.Line,.8*E,a)),Ee.add(new go.PathSegment(go.PathSegment.Line,.55*E,a)),Ee.add(new go.PathSegment(go.PathSegment.Line,.55*E,.7*a)),fe=.05,be=oe*fe,ae=.5,le=.7,Ee.add(new go.PathSegment(go.PathSegment.Bezier,ae*E,(le-fe)*a,(ae+fe)*E,(le-be)*a,(ae+be)*E,(le-fe)*a)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(ae-fe)*E,le*a,(ae-be)*E,(le-fe)*a,(ae-fe)*E,(le-be)*a)),Ee.add(new go.PathSegment(go.PathSegment.Line,.45*E,a)),Ee.add(new go.PathSegment(go.PathSegment.Line,.2*E,a)),Ee.add(new go.PathSegment(go.PathSegment.Line,.2*E,.35*a)),fe=.025,be=oe*fe,ae=.175,le=.35,Ee.add(new go.PathSegment(go.PathSegment.Bezier,ae*E,(le-fe)*a,(ae+fe)*E,(le-be)*a,(ae+be)*E,(le-fe)*a)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(ae-fe)*E,le*a,(ae-be)*E,(le-fe)*a,(ae-fe)*E,(le-be)*a)),Ee.add(new go.PathSegment(go.PathSegment.Line,.15*E,.6*a)),Ee.add(new go.PathSegment(go.PathSegment.Line,0,.6*a)),Ee.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),fe=.05,be=oe*fe,ae=.05,le=.25,Ee.add(new go.PathSegment(go.PathSegment.Bezier,ae*E,(le-fe)*a,(ae-fe)*E,(le-be)*a,(ae-be)*E,(le-fe)*a)),Ee.add(new go.PathSegment(go.PathSegment.Line,.5*E,.2*a)),b.spot1=new go.Spot(.2,.2),b.spot2=new go.Spot(.8,.65),b}),go.Shape.setFigureParameter("Card",0,new vt("CornerCutoutSize",.2,.1,.9)),go.Shape.defineFigureGenerator("Card",function(ie,E,a){var b=ie?ie.parameter1:NaN;isNaN(b)&&(b=.2);var y=new go.Geometry,z=new go.PathFigure(E,0,!0);return y.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,b*a)),z.add(new go.PathSegment(go.PathSegment.Line,b*E,0).close()),y.spot1=new go.Spot(0,b),y.spot2=go.Spot.BottomRight,y}),go.Shape.defineFigureGenerator("Collate",function(ie,E,a){var b=new go.Geometry,y=new go.PathFigure(.5*E,.5*a,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a));var z=new go.PathFigure(.5*E,.5*a,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a)),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a)),b.spot1=new go.Spot(.25,0),b.spot2=new go.Spot(.75,.25),b}),go.Shape.defineFigureGenerator("CreateRequest",function(ie,E,a){var b=new go.Geometry,y=ie?ie.parameter1:NaN;isNaN(y)&&(y=.1);var z=new go.PathFigure(0,0,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var ee=new go.PathFigure(0,y*a,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,E,y*a)),ee.add(new go.PathSegment(go.PathSegment.Move,0,(1-y)*a)),ee.add(new go.PathSegment(go.PathSegment.Line,E,(1-y)*a)),b}),go.Shape.defineFigureGenerator("Database",function(ie,E,a){var b=new go.Geometry,y=oe*.5,z=oe*.1,ee=new go.PathFigure(E,.1*a,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,E,.9*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,E,(.9+z)*a,(.5+y)*E,a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,(.5-y)*E,a,0,(.9+z)*a)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.1*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,0,(.1-z)*a,(.5-y)*E,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,E,.1*a,(.5+y)*E,0,E,(.1-z)*a));var ne=new go.PathFigure(E,.1*a,!1);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.2*a,E,(.1+z)*a,(.5+y)*E,.2*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*a,(.5-y)*E,.2*a,0,(.1+z)*a)),ne.add(new go.PathSegment(go.PathSegment.Move,E,.2*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.3*a,E,(.2+z)*a,(.5+y)*E,.3*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*a,(.5-y)*E,.3*a,0,(.2+z)*a)),ne.add(new go.PathSegment(go.PathSegment.Move,E,.3*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.4*a,E,(.3+z)*a,(.5+y)*E,.4*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.3*a,(.5-y)*E,.4*a,0,(.3+z)*a)),b.spot1=new go.Spot(0,.4),b.spot2=new go.Spot(1,.9),b}),go.Shape.defineFigureGenerator("DataStorage",function(ie,E,a){var b=new go.Geometry,y=new go.PathFigure(0,0,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,.75*E,a,E,0,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*E,.9*a,.25*E,.1*a).close()),b.spot1=new go.Spot(.226,0),b.spot2=new go.Spot(.81,1),b}),go.Shape.defineFigureGenerator("DiskStorage",function(ie,E,a){var b=new go.Geometry,y=oe*.5,z=oe*.1,ee=new go.PathFigure(E,.1*a,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,E,.9*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,E,(.9+z)*a,(.5+y)*E,a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,(.5-y)*E,a,0,(.9+z)*a)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.1*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,0,(.1-z)*a,(.5-y)*E,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,E,.1*a,(.5+y)*E,0,E,(.1-z)*a));var ne=new go.PathFigure(E,.1*a,!1);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.2*a,E,(.1+z)*a,(.5+y)*E,.2*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*a,(.5-y)*E,.2*a,0,(.1+z)*a)),ne.add(new go.PathSegment(go.PathSegment.Move,E,.2*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.3*a,E,(.2+z)*a,(.5+y)*E,.3*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*a,(.5-y)*E,.3*a,0,(.2+z)*a)),b.spot1=new go.Spot(0,.3),b.spot2=new go.Spot(1,.9),b}),go.Shape.defineFigureGenerator("Display",function(ie,E,a){var b=new go.Geometry,y=new go.PathFigure(.25*E,0,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,.75*E,a,E,0,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.25*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.5*a).close()),b.spot1=new go.Spot(.25,0),b.spot2=new go.Spot(.75,1),b}),go.Shape.defineFigureGenerator("DividedEvent",function(ie,E,a){var b=new go.Geometry,y=ie?ie.parameter1:NaN;isNaN(y)?y=.2:y<.15&&(y=.15);var z=oe*.2,ee=new go.PathFigure(0,.2*a,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,.2*E,0,0,(.2-z)*a,(.2-z)*E,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*E,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,E,.2*a,(.8+z)*E,0,E,(.2-z)*a)),ee.add(new go.PathSegment(go.PathSegment.Line,E,.8*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,a,E,(.8+z)*a,(.8+z)*E,a)),ee.add(new go.PathSegment(go.PathSegment.Line,.2*E,a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.8*a,(.2-z)*E,a,0,(.8+z)*a)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.2*a));var ne=new go.PathFigure(0,y*a,!1);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E,y*a)),b}),go.Shape.defineFigureGenerator("DividedProcess",function(ie,E,a){var b=new go.Geometry,y=ie?ie.parameter1:NaN;(isNaN(y)||y<.1)&&(y=.1);var z=new go.PathFigure(0,0,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var ee=new go.PathFigure(0,y*a,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,E,y*a)),b}),go.Shape.defineFigureGenerator("Document",function(ie,E,a){var b=new go.Geometry;a=a/.8;var y=new go.PathFigure(0,.7*a,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.7*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.5*E,.4*a,.5*E,a).close()),b.spot1=go.Spot.TopLeft,b.spot2=new go.Spot(1,.6),b}),go.Shape.defineFigureGenerator("ExternalOrganization",function(ie,E,a){var b=new go.Geometry,y=ie?ie.parameter1:NaN;(isNaN(y)||y<.2)&&(y=.2);var z=new go.PathFigure(0,0,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var ee=new go.PathFigure(y*E,0,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,0,y*a)),ee.add(new go.PathSegment(go.PathSegment.Move,E,y*a)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-y)*E,0)),ee.add(new go.PathSegment(go.PathSegment.Move,0,(1-y)*a)),ee.add(new go.PathSegment(go.PathSegment.Line,y*E,a)),ee.add(new go.PathSegment(go.PathSegment.Move,(1-y)*E,a)),ee.add(new go.PathSegment(go.PathSegment.Line,E,(1-y)*a)),b}),go.Shape.defineFigureGenerator("ExternalProcess",function(ie,E,a){var b=new go.Geometry,y=new go.PathFigure(.5*E,0,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.5*a).close());var z=new go.PathFigure(.1*E,.4*a,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.1*E,.6*a)),z.add(new go.PathSegment(go.PathSegment.Move,.9*E,.6*a)),z.add(new go.PathSegment(go.PathSegment.Line,.9*E,.4*a)),z.add(new go.PathSegment(go.PathSegment.Move,.6*E,.1*a)),z.add(new go.PathSegment(go.PathSegment.Line,.4*E,.1*a)),z.add(new go.PathSegment(go.PathSegment.Move,.4*E,.9*a)),z.add(new go.PathSegment(go.PathSegment.Line,.6*E,.9*a)),b.spot1=new go.Spot(.25,.25),b.spot2=new go.Spot(.75,.75),b}),go.Shape.defineFigureGenerator("File",function(ie,E,a){var b=new go.Geometry,y=new go.PathFigure(0,0,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.25*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var z=new go.PathFigure(.75*E,0,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.75*E,.25*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,.25*a)),b.spot1=new go.Spot(0,.25),b.spot2=go.Spot.BottomRight,b}),go.Shape.defineFigureGenerator("Interrupt",function(ie,E,a){var b=new go.Geometry,y=new go.PathFigure(E,.5*a,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a));var z=new go.PathFigure(E,.5*a,!1);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,a));var ee=new go.PathFigure(E,.5*a,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,E,0)),b.spot1=new go.Spot(0,.25),b.spot2=new go.Spot(.5,.75),b}),go.Shape.defineFigureGenerator("InternalStorage",function(ie,E,a){var b=new go.Geometry,y=ie?ie.parameter1:NaN,z=ie?ie.parameter2:NaN;isNaN(y)&&(y=.1),isNaN(z)&&(z=.1);var ee=new go.PathFigure(0,0,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,E,0)),ee.add(new go.PathSegment(go.PathSegment.Line,E,a)),ee.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var ne=new go.PathFigure(y*E,0,!1);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y*E,a)),ne.add(new go.PathSegment(go.PathSegment.Move,0,z*a)),ne.add(new go.PathSegment(go.PathSegment.Line,E,z*a)),b}),go.Shape.defineFigureGenerator("Junction",function(ie,E,a){var b=new go.Geometry,y=1/Math.SQRT2,z=(1-1/Math.SQRT2)/2,ee=oe*.5,ne=.5,ae=new go.PathFigure(E,ne*a,!0);b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,a,E,(ne+ee)*a,(ne+ee)*E,a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,0,ne*a,(ne-ee)*E,a,0,(ne+ee)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,0,0,(ne-ee)*a,(ne-ee)*E,0)),ae.add(new go.PathSegment(go.PathSegment.Bezier,E,ne*a,(ne+ee)*E,0,E,(ne-ee)*a));var le=new go.PathFigure((z+y)*E,(z+y)*a,!1);return b.add(le),le.add(new go.PathSegment(go.PathSegment.Line,z*E,z*a)),le.add(new go.PathSegment(go.PathSegment.Move,z*E,(z+y)*a)),le.add(new go.PathSegment(go.PathSegment.Line,(z+y)*E,z*a)),b}),go.Shape.defineFigureGenerator("LinedDocument",function(ie,E,a){var b=new go.Geometry;a=a/.8;var y=new go.PathFigure(0,.7*a,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.7*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.5*E,.4*a,.5*E,a).close());var z=new go.PathFigure(.1*E,0,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.1*E,.75*a)),b.spot1=new go.Spot(.1,0),b.spot2=new go.Spot(1,.6),b}),go.Shape.defineFigureGenerator("LoopLimit",function(ie,E,a){var b=new go.Geometry,y=new go.PathFigure(0,a,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),y.add(new go.PathSegment(go.PathSegment.Line,.25*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.25*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a).close()),b.spot1=new go.Spot(0,.25),b.spot2=go.Spot.BottomRight,b}),go.Shape.defineFigureGenerator("MagneticTape",function(ie,E,a){var b=new go.Geometry,y=oe*.5,z=.5,ee=new go.PathFigure(.5*E,a,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,z*a,(z-y)*E,a,0,(z+y)*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,z*E,0,0,(z-y)*a,(z-y)*E,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,E,z*a,(z+y)*E,0,E,(z-y)*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,(z+.1)*E,.9*a,E,(z+y)*a,(z+y)*E,.9*a)),ee.add(new go.PathSegment(go.PathSegment.Line,E,.9*a)),ee.add(new go.PathSegment(go.PathSegment.Line,E,a)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),b.spot1=new go.Spot(.15,.15),b.spot2=new go.Spot(.85,.8),b}),go.Shape.defineFigureGenerator("ManualInput",function(ie,E,a){var b=new go.Geometry,y=new go.PathFigure(E,0,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.25*a).close()),b.spot1=new go.Spot(0,.25),b.spot2=go.Spot.BottomRight,b}),go.Shape.defineFigureGenerator("MessageFromUser",function(ie,E,a){var b=new go.Geometry,y=ie?ie.parameter1:NaN;isNaN(y)&&(y=.7);var z=new go.PathFigure(0,0,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Line,y*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),b.spot1=go.Spot.TopLeft,b}),go.Shape.defineFigureGenerator("MicroformProcessing",function(ie,E,a){var b=new go.Geometry,y=ie?ie.parameter1:NaN;isNaN(y)&&(y=.25);var z=new go.PathFigure(0,0,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,y*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,(1-y)*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),b}),go.Shape.defineFigureGenerator("MicroformRecording",function(ie,E,a){var b=new go.Geometry,y=new go.PathFigure(0,0,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,.25*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.15*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.85*a)),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,.75*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),b.spot1=new go.Spot(0,.25),b.spot2=new go.Spot(1,.75),b}),go.Shape.defineFigureGenerator("MultiDocument",function(ie,E,a){var b=new go.Geometry;a=a/.8;var y=new go.PathFigure(E,0,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.9*E,.44*a,.96*E,.47*a,.93*E,.45*a)),y.add(new go.PathSegment(go.PathSegment.Line,.9*E,.6*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,.54*a,.86*E,.57*a,.83*E,.55*a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,.7*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.4*E,.4*a,.4*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,.1*E,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,.1*E,.1*a)),y.add(new go.PathSegment(go.PathSegment.Line,.2*E,.1*a)),y.add(new go.PathSegment(go.PathSegment.Line,.2*E,0).close());var z=new go.PathFigure(.1*E,.2*a,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.2*a)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.54*a)),z.add(new go.PathSegment(go.PathSegment.Move,.2*E,.1*a)),z.add(new go.PathSegment(go.PathSegment.Line,.9*E,.1*a)),z.add(new go.PathSegment(go.PathSegment.Line,.9*E,.44*a)),b.spot1=new go.Spot(0,.25),b.spot2=new go.Spot(.8,.77),b}),go.Shape.defineFigureGenerator("MultiProcess",function(ie,E,a){var b=new go.Geometry,y=new go.PathFigure(.1*E,.1*a,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.2*E,.1*a)),y.add(new go.PathSegment(go.PathSegment.Line,.2*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,.9*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,.9*E,.9*a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,.9*a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,.1*E,.2*a).close());var z=new go.PathFigure(.2*E,.1*a,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.9*E,.1*a)),z.add(new go.PathSegment(go.PathSegment.Line,.9*E,.8*a)),z.add(new go.PathSegment(go.PathSegment.Move,.1*E,.2*a)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.2*a)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.9*a)),b.spot1=new go.Spot(0,.2),b.spot2=new go.Spot(.8,1),b}),go.Shape.defineFigureGenerator("OfflineStorage",function(ie,E,a){var b=new go.Geometry,y=ie?ie.parameter1:NaN;isNaN(y)&&(y=.1);var z=1-y,ee=new go.PathFigure(0,0,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,E,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*E,a).close());var ne=new go.PathFigure(.5*y*E,y*a,!1);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,(1-.5*y)*E,y*a)),b}),go.Shape.defineFigureGenerator("OffPageConnector",function(ie,E,a){var b=new go.Geometry,y=new go.PathFigure(0,0,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),b.spot1=go.Spot.TopLeft,b.spot2=new go.Spot(.75,1),b}),go.Shape.defineFigureGenerator("Or",function(ie,E,a){var b=new go.Geometry,y=oe*.5,z=.5,ee=new go.PathFigure(E,z*a,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,z*E,a,E,(z+y)*a,(z+y)*E,a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,z*a,(z-y)*E,a,0,(z+y)*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,z*E,0,0,(z-y)*a,(z-y)*E,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,E,z*a,(z+y)*E,0,E,(z-y)*a));var ne=new go.PathFigure(E,.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*E,a)),ne.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),b}),go.Shape.defineFigureGenerator("PaperTape",function(ie,E,a){var b=new go.Geometry;a=a/.8;var y=new go.PathFigure(0,.7*a,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.3*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,E,.3*a,.5*E,.6*a,.5*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.7*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.5*E,.4*a,.5*E,a).close()),b.spot1=new go.Spot(0,.49),b.spot2=new go.Spot(1,.75),b}),go.Shape.defineFigureGenerator("PrimitiveFromCall",function(ie,E,a){var b=new go.Geometry,y=ie?ie.parameter1:NaN,z=ie?ie.parameter2:NaN;isNaN(y)&&(y=.1),isNaN(z)&&(z=.3);var ee=new go.PathFigure(0,0,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,E,0)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-z)*E,.5*a)),ee.add(new go.PathSegment(go.PathSegment.Line,E,a)),ee.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),b}),go.Shape.defineFigureGenerator("PrimitiveToCall",function(ie,E,a){var b=new go.Geometry,y=ie?ie.parameter1:NaN,z=ie?ie.parameter2:NaN;isNaN(y)&&(y=.1),isNaN(z)&&(z=.3);var ee=new go.PathFigure(0,0,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,(1-z)*E,0)),ee.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-z)*E,a)),ee.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),b}),go.Shape.defineFigureGenerator("Procedure",function(ie,E,a){var b=new go.Geometry,y=ie?ie.parameter1:NaN;isNaN(y)&&(y=.1);var z=new go.PathFigure(0,0,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var ee=new go.PathFigure((1-y)*E,0,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,(1-y)*E,a)),ee.add(new go.PathSegment(go.PathSegment.Move,y*E,0)),ee.add(new go.PathSegment(go.PathSegment.Line,y*E,a)),b}),go.Shape.defineFigureGenerator("Process",function(ie,E,a){var b=new go.Geometry,y=ie?ie.parameter1:NaN;isNaN(y)&&(y=.1);var z=new go.PathFigure(0,0,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var ee=new go.PathFigure(y*E,0,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,y*E,a)),b.spot2=go.Spot.BottomRight,b}),go.Shape.defineFigureGenerator("Sort",function(ie,E,a){var b=new go.Geometry,y=new go.PathFigure(.5*E,0,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.5*a).close());var z=new go.PathFigure(0,.5*a,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),b.spot1=new go.Spot(.25,.25),b.spot2=new go.Spot(.75,.5),b}),go.Shape.defineFigureGenerator("Start",function(ie,E,a){var b=new go.Geometry,y=ie?ie.parameter1:NaN;isNaN(y)&&(y=.25);var z=new go.PathFigure(y*E,0,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*E,.5*a,.25*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*E,.5*a,.25*E,.5*a));var ee=new go.PathFigure(y*E,0,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,y*E,a)),ee.add(new go.PathSegment(go.PathSegment.Move,(1-y)*E,0)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-y)*E,a)),b.spot1=new go.Spot(y,0),b.spot2=new go.Spot(1-y,1),b}),go.Shape.defineFigureGenerator("Terminator",function(ie,E,a){var b=new go.Geometry,y=new go.PathFigure(.25*E,0,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*E,.5*a,.25*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*E,.5*a,.25*E,.5*a)),b.spot1=new go.Spot(.23,0),b.spot2=new go.Spot(.77,1),b}),go.Shape.defineFigureGenerator("TransmittalTape",function(ie,E,a){var b=new go.Geometry,y=ie?ie.parameter1:NaN;isNaN(y)&&(y=.1);var z=new go.PathFigure(0,0,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,.75*E,(1-y)*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,(1-y)*a).close()),b.spot1=go.Spot.TopLeft,b}),go.Shape.defineFigureGenerator("AndGate",function(ie,E,a){var b=new go.Geometry,y=oe*.5,z=new go.PathFigure(0,0,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,(.5+y)*E,0,E,(.5-y)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,E,(.5+y)*a,(.5+y)*E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),b.spot1=go.Spot.TopLeft,b.spot2=new go.Spot(.55,1),b}),go.Shape.defineFigureGenerator("Buffer",function(ie,E,a){var b=new go.Geometry,y=new go.PathFigure(0,0,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),b.spot1=new go.Spot(0,.25),b.spot2=new go.Spot(.5,.75),b}),go.Shape.defineFigureGenerator("Clock",function(ie,E,a){var b=new go.Geometry,y=oe*.5,z=.5,ee=new go.PathFigure(E,z*a,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,z*E,a,E,(z+y)*a,(z+y)*E,a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,z*a,(z-y)*E,a,0,(z+y)*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,z*E,0,0,(z-y)*a,(z-y)*E,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,E,z*a,(z+y)*E,0,E,(z-y)*a));var ne=new go.PathFigure(E,z*a,!1);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E,z*a));var ae=new go.PathFigure(.8*E,.75*a,!1);return b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,.8*E,.25*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.6*E,.25*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.6*E,.75*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.4*E,.75*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.4*E,.25*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.2*E,.25*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.2*E,.75*a)),b}),go.Shape.defineFigureGenerator("Ground",function(ie,E,a){var b=new go.Geometry,y=new go.PathFigure(.5*E,0,!1);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.4*a)),y.add(new go.PathSegment(go.PathSegment.Move,.2*E,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,.6*a)),y.add(new go.PathSegment(go.PathSegment.Move,.3*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,.7*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Move,.4*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.6*E,a)),b}),go.Shape.defineFigureGenerator("Inverter",function(ie,E,a){var b=new go.Geometry,y=oe*.1,z=.1,ee=.9,ne=.5,ae=new go.PathFigure(.8*E,.5*a,!0);b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,0,a)),ae.add(new go.PathSegment(go.PathSegment.Line,0,0)),ae.add(new go.PathSegment(go.PathSegment.Line,.8*E,.5*a));var le=new go.PathFigure((ee+z)*E,ne*a,!0);return b.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(ne+z)*a,(ee+z)*E,(ne+y)*a,(ee+y)*E,(ne+z)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,(ee-z)*E,ne*a,(ee-y)*E,(ne+z)*a,(ee-z)*E,(ne+y)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(ne-z)*a,(ee-z)*E,(ne-y)*a,(ee-y)*E,(ne-z)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z)*E,ne*a,(ee+y)*E,(ne-z)*a,(ee+z)*E,(ne-y)*a)),b.spot1=new go.Spot(0,.25),b.spot2=new go.Spot(.4,.75),b}),go.Shape.defineFigureGenerator("NandGate",function(ie,E,a){var b=new go.Geometry,y=oe*.5,z=oe*.4,ee=oe*.1,ne=.1,ae=.9,le=.5,de=new go.PathFigure(.8*E,.5*a,!0);b.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,.4*E,a,.8*E,(.5+z)*a,(.4+y)*E,a)),de.add(new go.PathSegment(go.PathSegment.Line,0,a)),de.add(new go.PathSegment(go.PathSegment.Line,0,0)),de.add(new go.PathSegment(go.PathSegment.Line,.4*E,0)),de.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,.5*a,(.4+y)*E,0,.8*E,(.5-z)*a));var fe=new go.PathFigure((ae+ne)*E,le*a,!0);return b.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,ae*E,(le+ne)*a,(ae+ne)*E,(le+ee)*a,(ae+ee)*E,(le+ne)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ae-ne)*E,le*a,(ae-ee)*E,(le+ne)*a,(ae-ne)*E,(le+ee)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,ae*E,(le-ne)*a,(ae-ne)*E,(le-ee)*a,(ae-ee)*E,(le-ne)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ae+ne)*E,le*a,(ae+ee)*E,(le-ne)*a,(ae+ne)*E,(le-ee)*a)),b.spot1=new go.Spot(0,.05),b.spot2=new go.Spot(.55,.95),b}),go.Shape.defineFigureGenerator("NorGate",function(ie,E,a){var b=new go.Geometry,y=.5,z=oe*y,ee=0,ne=.5,ae=new go.PathFigure(.8*E,.5*a,!0);b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,0,a,.7*E,(ne+z)*a,(ee+z)*E,(ne+y)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*E,.75*a,.25*E,.25*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,.5*a,(ee+z)*E,(ne-y)*a,.7*E,(ne-z)*a)),y=.1,z=oe*.1,ee=.9,ne=.5;var le=new go.PathFigure((ee-y)*E,ne*a,!0);return b.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(ne-y)*a,(ee-y)*E,(ne-z)*a,(ee-z)*E,(ne-y)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,(ee+y)*E,ne*a,(ee+z)*E,(ne-y)*a,(ee+y)*E,(ne-z)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(ne+y)*a,(ee+y)*E,(ne+z)*a,(ee+z)*E,(ne+y)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,(ee-y)*E,ne*a,(ee-z)*E,(ne+y)*a,(ee-y)*E,(ne+z)*a)),b.spot1=new go.Spot(.2,.25),b.spot2=new go.Spot(.6,.75),b}),go.Shape.defineFigureGenerator("OrGate",function(ie,E,a){var b=new go.Geometry,y=.5,z=oe*y,ee=0,ne=.5,ae=new go.PathFigure(0,0,!0);return b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,(ee+z+z)*E,(ne-y)*a,.8*E,(ne-z)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,0,a,.8*E,(ne+z)*a,(ee+z+z)*E,(ne+y)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*E,.75*a,.25*E,.25*a).close()),b.spot1=new go.Spot(.2,.25),b.spot2=new go.Spot(.75,.75),b}),go.Shape.defineFigureGenerator("XnorGate",function(ie,E,a){var b=new go.Geometry,y=.5,z=oe*y,ee=.2,ne=.5,ae=new go.PathFigure(.1*E,0,!1);b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,.1*E,a,.35*E,.25*a,.35*E,.75*a));var le=new go.PathFigure(.8*E,.5*a,!0);b.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,.2*E,a,.7*E,(ne+z)*a,(ee+z)*E,(ne+y)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,.2*E,0,.45*E,.75*a,.45*E,.25*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,.5*a,(ee+z)*E,(ne-y)*a,.7*E,(ne-z)*a)),y=.1,z=oe*.1,ee=.9,ne=.5;var de=new go.PathFigure((ee-y)*E,ne*a,!0);return b.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(ne-y)*a,(ee-y)*E,(ne-z)*a,(ee-z)*E,(ne-y)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,(ee+y)*E,ne*a,(ee+z)*E,(ne-y)*a,(ee+y)*E,(ne-z)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(ne+y)*a,(ee+y)*E,(ne+z)*a,(ee+z)*E,(ne+y)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,(ee-y)*E,ne*a,(ee-z)*E,(ne+y)*a,(ee-y)*E,(ne+z)*a)),b.spot1=new go.Spot(.4,.25),b.spot2=new go.Spot(.65,.75),b}),go.Shape.defineFigureGenerator("XorGate",function(ie,E,a){var b=new go.Geometry,y=.5,z=oe*y,ee=.2,ne=.5,ae=new go.PathFigure(.1*E,0,!1);b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,.1*E,a,.35*E,.25*a,.35*E,.75*a));var le=new go.PathFigure(.2*E,0,!0);return b.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,(ee+z)*E,(ne-y)*a,.9*E,(ne-z)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,.2*E,a,.9*E,(ne+z)*a,(ee+z)*E,(ne+y)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,.2*E,0,.45*E,.75*a,.45*E,.25*a).close()),b.spot1=new go.Spot(.4,.25),b.spot2=new go.Spot(.8,.75),b}),go.Shape.defineFigureGenerator("Capacitor",function(ie,E,a){var b=new go.Geometry,y=new go.PathFigure(0,0,!1);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Move,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),b}),go.Shape.defineFigureGenerator("Resistor",function(ie,E,a){var b=new go.Geometry,y=new go.PathFigure(0,.5*a,!1);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.1*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.2*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.3*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.4*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.6*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.7*E,.5*a)),b}),go.Shape.defineFigureGenerator("Inductor",function(ie,E,a){var b=new go.Geometry,y=oe*.1,z=.1,ee=.1,ne=.5,ae=new go.PathFigure((ee-y*.5)*E,a,!1);return b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z)*E,0,(ee-y)*E,a,(ee-z)*E,0)),ee=.3,ae.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,a,(ee+z)*E,0,(ee+y)*E,a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z)*E,0,(ee-y)*E,a,(ee-z)*E,0)),ee=.5,ae.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,a,(ee+z)*E,0,(ee+y)*E,a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z)*E,0,(ee-y)*E,a,(ee-z)*E,0)),ee=.7,ae.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,a,(ee+z)*E,0,(ee+y)*E,a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z)*E,0,(ee-y)*E,a,(ee-z)*E,0)),ee=.9,ae.add(new go.PathSegment(go.PathSegment.Bezier,(ee+y*.5)*E,a,(ee+z)*E,0,(ee+y)*E,a)),b}),go.Shape.defineFigureGenerator("ACvoltageSource",function(ie,E,a){var b=new go.Geometry,y=oe*.5,z=.5,ee=.5,ne=.5,ae=new go.PathFigure((ee-z)*E,ne*a,!1);return b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(ne-z)*a,(ee-z)*E,(ne-y)*a,(ee-y)*E,(ne-z)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z)*E,ne*a,(ee+y)*E,(ne-z)*a,(ee+z)*E,(ne-y)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(ne+z)*a,(ee+z)*E,(ne+y)*a,(ee+y)*E,(ne+z)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(ee-z)*E,ne*a,(ee-y)*E,(ne+z)*a,(ee-z)*E,(ne+y)*a)),ae.add(new go.PathSegment(go.PathSegment.Move,(ee-z+.1)*E,ne*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z-.1)*E,ne*a,ee*E,(ne-z)*a,ee*E,(ne+z)*a)),b}),go.Shape.defineFigureGenerator("DCvoltageSource",function(ie,E,a){var b=new go.Geometry,y=new go.PathFigure(0,.75*a,!1);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),y.add(new go.PathSegment(go.PathSegment.Move,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),b}),go.Shape.defineFigureGenerator("Diode",function(ie,E,a){var b=new go.Geometry,y=new go.PathFigure(E,0,!1);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),b.spot1=new go.Spot(0,.25),b.spot2=new go.Spot(.5,.75),b}),go.Shape.defineFigureGenerator("Wifi",function(ie,E,a){var b=new go.Geometry,y=E,z=a;E=E*.38,a=a*.6;var ee=oe*.8,ne=.8,ae=0,le=.5,de=(y-E)/2,fe=(z-a)/2,be=new go.PathFigure(ae*E+de,(le+ne)*a+fe,!0);b.add(be),be.add(new go.PathSegment(go.PathSegment.Bezier,(ae-ne)*E+de,le*a+fe,(ae-ee)*E+de,(le+ne)*a+fe,(ae-ne)*E+de,(le+ee)*a+fe)),be.add(new go.PathSegment(go.PathSegment.Bezier,ae*E+de,(le-ne)*a+fe,(ae-ne)*E+de,(le-ee)*a+fe,(ae-ee)*E+de,(le-ne)*a+fe)),be.add(new go.PathSegment(go.PathSegment.Bezier,(ae-ne+ee*.5)*E+de,le*a+fe,ae*E+de,(le-ne)*a+fe,(ae-ne+ee*.5)*E+de,(le-ee)*a+fe)),be.add(new go.PathSegment(go.PathSegment.Bezier,ae*E+de,(le+ne)*a+fe,(ae-ne+ee*.5)*E+de,(le+ee)*a+fe,ae*E+de,(le+ne)*a+fe).close()),ee=oe*.4,ne=.4,ae=.2,le=.5;var Ee=new go.PathFigure(ae*E+de,(le+ne)*a+fe,!0);b.add(Ee),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(ae-ne)*E+de,le*a+fe,(ae-ee)*E+de,(le+ne)*a+fe,(ae-ne)*E+de,(le+ee)*a+fe)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,ae*E+de,(le-ne)*a+fe,(ae-ne)*E+de,(le-ee)*a+fe,(ae-ee)*E+de,(le-ne)*a+fe)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(ae-ne+ee*.5)*E+de,le*a+fe,ae*E+de,(le-ne)*a+fe,(ae-ne+ee*.5)*E+de,(le-ee)*a+fe)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,ae*E+de,(le+ne)*a+fe,(ae-ne+ee*.5)*E+de,(le+ee)*a+fe,ae*E+de,(le+ne)*a+fe).close()),ee=oe*.2,ne=.2,ae=.5,le=.5;var pe=new go.PathFigure((ae-ne)*E+de,le*a+fe,!0);b.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,ae*E+de,(le-ne)*a+fe,(ae-ne)*E+de,(le-ee)*a+fe,(ae-ee)*E+de,(le-ne)*a+fe)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(ae+ne)*E+de,le*a+fe,(ae+ee)*E+de,(le-ne)*a+fe,(ae+ne)*E+de,(le-ee)*a+fe)),pe.add(new go.PathSegment(go.PathSegment.Bezier,ae*E+de,(le+ne)*a+fe,(ae+ne)*E+de,(le+ee)*a+fe,(ae+ee)*E+de,(le+ne)*a+fe)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(ae-ne)*E+de,le*a+fe,(ae-ee)*E+de,(le+ne)*a+fe,(ae-ne)*E+de,(le+ee)*a+fe)),ee=oe*.4,ne=.4,ae=.8,le=.5;var ge=new go.PathFigure(ae*E+de,(le-ne)*a+fe,!0);b.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,(ae+ne)*E+de,le*a+fe,(ae+ee)*E+de,(le-ne)*a+fe,(ae+ne)*E+de,(le-ee)*a+fe)),ge.add(new go.PathSegment(go.PathSegment.Bezier,ae*E+de,(le+ne)*a+fe,(ae+ne)*E+de,(le+ee)*a+fe,(ae+ee)*E+de,(le+ne)*a+fe)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(ae+ne-ee*.5)*E+de,le*a+fe,ae*E+de,(le+ne)*a+fe,(ae+ne-ee*.5)*E+de,(le+ee)*a+fe)),ge.add(new go.PathSegment(go.PathSegment.Bezier,ae*E+de,(le-ne)*a+fe,(ae+ne-ee*.5)*E+de,(le-ee)*a+fe,ae*E+de,(le-ne)*a+fe).close()),ee=oe*.8,ne=.8,ae=1,le=.5;var $e=new go.PathFigure(ae*E+de,(le-ne)*a+fe,!0);return b.add($e),$e.add(new go.PathSegment(go.PathSegment.Bezier,(ae+ne)*E+de,le*a+fe,(ae+ee)*E+de,(le-ne)*a+fe,(ae+ne)*E+de,(le-ee)*a+fe)),$e.add(new go.PathSegment(go.PathSegment.Bezier,ae*E+de,(le+ne)*a+fe,(ae+ne)*E+de,(le+ee)*a+fe,(ae+ee)*E+de,(le+ne)*a+fe)),$e.add(new go.PathSegment(go.PathSegment.Bezier,(ae+ne-ee*.5)*E+de,le*a+fe,ae*E+de,(le+ne)*a+fe,(ae+ne-ee*.5)*E+de,(le+ee)*a+fe)),$e.add(new go.PathSegment(go.PathSegment.Bezier,ae*E+de,(le-ne)*a+fe,(ae+ne-ee*.5)*E+de,(le-ee)*a+fe,ae*E+de,(le-ne)*a+fe).close()),b}),go.Shape.defineFigureGenerator("Email",function(ie,E,a){var b=new go.Geometry,y=new go.PathFigure(0,0,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var z=new go.PathFigure(0,0,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,.6*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Move,0,a)),z.add(new go.PathSegment(go.PathSegment.Line,.45*E,.54*a)),z.add(new go.PathSegment(go.PathSegment.Move,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,.55*E,.54*a)),b}),go.Shape.defineFigureGenerator("Ethernet",function(ie,E,a){var b=new go.Geometry,y=new go.PathFigure(.35*E,0,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.65*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.65*E,.4*a)),y.add(new go.PathSegment(go.PathSegment.Line,.35*E,.4*a)),y.add(new go.PathSegment(go.PathSegment.Line,.35*E,0).close());var z=new go.PathFigure(.1*E,a,!0,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.4*E,a)),z.add(new go.PathSegment(go.PathSegment.Line,.4*E,.6*a)),z.add(new go.PathSegment(go.PathSegment.Line,.1*E,.6*a)),z.add(new go.PathSegment(go.PathSegment.Line,.1*E,a).close());var ee=new go.PathFigure(.6*E,a,!0,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.9*E,a)),ee.add(new go.PathSegment(go.PathSegment.Line,.9*E,.6*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.6*E,.6*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.6*E,a).close());var ne=new go.PathFigure(0,.5*a,!1);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),ne.add(new go.PathSegment(go.PathSegment.Move,.5*E,.5*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.5*E,.4*a)),ne.add(new go.PathSegment(go.PathSegment.Move,.75*E,.5*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.75*E,.6*a)),ne.add(new go.PathSegment(go.PathSegment.Move,.25*E,.5*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.25*E,.6*a)),b}),go.Shape.defineFigureGenerator("Power",function(ie,E,a){var b=new go.Geometry,y=oe*.4,z=.4,ee=.5,ne=.5,ae=x(),le=x(),de=x(),fe=x();ze(ee,ne-z,ee+y,ne-z,ee+z,ne-y,ee+z,ne,.5,ae,ae,le,de,fe);var be=te(le.x,le.y),Ee=new go.PathFigure(le.x*E,le.y*a,!0);b.add(Ee),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z)*E,ne*a,de.x*E,de.y*a,fe.x*E,fe.y*a)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(ne+z)*a,(ee+z)*E,(ne+y)*a,(ee+y)*E,(ne+z)*a)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(ee-z)*E,ne*a,(ee-y)*E,(ne+z)*a,(ee-z)*E,(ne+y)*a)),ze(ee-z,ne,ee-z,ne-y,ee-y,ne-z,ee,ne-z,.5,de,fe,le,ae,ae),Ee.add(new go.PathSegment(go.PathSegment.Bezier,le.x*E,le.y*a,de.x*E,de.y*a,fe.x*E,fe.y*a)),y=oe*.3,z=.3,ze(ee-z,ne,ee-z,ne-y,ee-y,ne-z,ee,ne-z,.5,de,fe,le,ae,ae),Ee.add(new go.PathSegment(go.PathSegment.Line,le.x*E,le.y*a)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(ee-z)*E,ne*a,fe.x*E,fe.y*a,de.x*E,de.y*a)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(ne+z)*a,(ee-z)*E,(ne+y)*a,(ee-y)*E,(ne+z)*a)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z)*E,ne*a,(ee+y)*E,(ne+z)*a,(ee+z)*E,(ne+y)*a)),ze(ee,ne-z,ee+y,ne-z,ee+z,ne-y,ee+z,ne,.5,ae,ae,le,de,fe),Ee.add(new go.PathSegment(go.PathSegment.Bezier,le.x*E,le.y*a,fe.x*E,fe.y*a,de.x*E,de.y*a).close());var Ee=new go.PathFigure(.45*E,0,!0);return b.add(Ee),Ee.add(new go.PathSegment(go.PathSegment.Line,.45*E,.5*a)),Ee.add(new go.PathSegment(go.PathSegment.Line,.55*E,.5*a)),Ee.add(new go.PathSegment(go.PathSegment.Line,.55*E,0).close()),re(ae),re(le),re(de),re(fe),re(be),b.spot1=new go.Spot(.25,.45),b.spot2=new go.Spot(.75,.8),b}),go.Shape.defineFigureGenerator("Fallout",function(ie,E,a){var b=new go.Geometry,y=new go.PathFigure(0,a/2,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,180,360,E/2,a/2,E/2,a/2));function z(ee,ne,ae){ee.add(new go.PathSegment(go.PathSegment.Move,(.3+ne)*E,(.8+ae)*a)),ee.add(new go.PathSegment(go.PathSegment.Line,(.5+ne)*E,(.5+ae)*a)),ee.add(new go.PathSegment(go.PathSegment.Line,(.1+ne)*E,(.5+ae)*a)),ee.add(new go.PathSegment(go.PathSegment.Line,(.3+ne)*E,(.8+ae)*a).close())}return z(y,0,0),z(y,.4,0),z(y,.2,-.3),b}),go.Shape.defineFigureGenerator("IrritationHazard",function(ie,E,a){var b=new go.Geometry,y=new go.PathFigure(.2*E,0,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.3*a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,.7*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.7*a)),y.add(new go.PathSegment(go.PathSegment.Line,.2*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,.3*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.2*a).close()),b.spot1=new go.Spot(.3,.3),b.spot2=new go.Spot(.7,.7),b}),go.Shape.defineFigureGenerator("ElectricalHazard",function(ie,E,a){var b=new go.Geometry,y=new go.PathFigure(.37*E,0,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.11*a)),y.add(new go.PathSegment(go.PathSegment.Line,.77*E,.04*a)),y.add(new go.PathSegment(go.PathSegment.Line,.33*E,.49*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.37*a)),y.add(new go.PathSegment(go.PathSegment.Line,.63*E,.86*a)),y.add(new go.PathSegment(go.PathSegment.Line,.77*E,.91*a)),y.add(new go.PathSegment(go.PathSegment.Line,.34*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.34*E,.78*a)),y.add(new go.PathSegment(go.PathSegment.Line,.44*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,.65*E,.56*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.68*a).close()),b}),go.Shape.defineFigureGenerator("FireHazard",function(ie,E,a){var b=new go.Geometry,y=new go.PathFigure(.1*E,a,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,.29*E,0,-.25*E,.63*a,.45*E,.44*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.51*E,.42*a,.48*E,.17*a,.54*E,.35*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.59*E,.18*a,.59*E,.29*a,.58*E,.28*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.75*E,.6*a,.8*E,.34*a,.88*E,.43*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.88*E,.31*a,.87*E,.48*a,.88*E,.43*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.9*E,a,1.17*E,.76*a,.82*E,.8*a).close()),b.spot1=new go.Spot(.07,.445),b.spot2=new go.Spot(.884,.958),b}),go.Shape.defineFigureGenerator("BpmnActivityLoop",function(ie,E,a){var b=new go.Geometry,y=.5,z=0,ee=0,ne=y*oe,ae=.4*Math.SQRT2/2+.5,le=.5-.5*Math.SQRT2/2,de=1,fe=.5,be=.5,Ee=0,pe=new go.PathFigure(ae*E,(1-le)*a,!1);return b.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,de*E,fe*a,de*E,.7*a,de*E,fe*a)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(be+z)*E,(Ee+z)*a,(.5+y+z)*E,(.5-ne+z)*a,(.5+ne+z)*E,(.5-y+z)*a)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(.5-y+z)*E,(.5+ee)*a,(.5-ne+z)*E,(.5-y+ee)*a,(.5-y+z)*E,(.5-ne+ee)*a)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(.35+z)*E,.9*a,(.5-y+z)*E,(.5+ne+ee)*a,(.5-ne+z)*E,.9*a)),pe.add(new go.PathSegment(go.PathSegment.Move,(.25+z)*E,.8*a)),pe.add(new go.PathSegment(go.PathSegment.Line,(.35+z)*E,.9*a)),pe.add(new go.PathSegment(go.PathSegment.Line,(.2+z)*E,.95*a)),b}),go.Shape.defineFigureGenerator("BpmnActivityParallel",function(ie,E,a){var b=new go.Geometry,y=new go.PathFigure(0,0,!1);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Move,.5*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),y.add(new go.PathSegment(go.PathSegment.Move,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),b}),go.Shape.defineFigureGenerator("BpmnActivitySequential",function(ie,E,a){var b=new go.Geometry,y=new go.PathFigure(0,0,!1);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Move,0,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Move,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),b}),go.Shape.defineFigureGenerator("BpmnActivityAdHoc",function(ie,E,a){var b=new go.Geometry,y=new go.PathFigure(0,0,!1);b.add(y);var z=new go.PathFigure(E,a,!1);b.add(z);var ee=new go.PathFigure(0,.5*a,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.5*a,.2*E,.35*a,.3*E,.35*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,.7*E,.65*a,.8*E,.65*a)),b}),go.Shape.defineFigureGenerator("BpmnActivityCompensation",function(ie,E,a){var b=new go.Geometry,y=new go.PathFigure(0,.5*a,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a).close()),b}),go.Shape.defineFigureGenerator("BpmnTaskMessage",function(ie,E,a){var b=new go.Geometry,y=new go.PathFigure(0,.2*a,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.8*a).close());var y=new go.PathFigure(0,.2*a,!1);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.2*a)),b}),go.Shape.defineFigureGenerator("BpmnTaskScript",function(ie,E,a){var b=new go.Geometry,y=new go.PathFigure(.7*E,a,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.3*E,a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.3*E,0,.6*E,.5*a,0,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.7*E,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,.7*E,a,.4*E,.5*a,E,.5*a).close());var z=new go.PathFigure(.45*E,.73*a,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.7*E,.73*a)),z.add(new go.PathSegment(go.PathSegment.Move,.38*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,.63*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Move,.31*E,.27*a)),z.add(new go.PathSegment(go.PathSegment.Line,.56*E,.27*a)),b}),go.Shape.defineFigureGenerator("BpmnTaskUser",function(ie,E,a){var b=new go.Geometry,y=new go.PathFigure(0,0,!1);b.add(y);var z=new go.PathFigure(.335*E,(1-.555)*a,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.335*E,(1-.405)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*E,(1-.405)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*E,(1-.555)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,E,.68*a,(1-.12)*E,.46*a,(1-.02)*E,.54*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.68*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.335*E,(1-.555)*a,.02*E,.54*a,.12*E,.46*a)),z.add(new go.PathSegment(go.PathSegment.Line,.365*E,(1-.595)*a));var ee=.5-.285,ne=.5,ae=ee,le=Math.PI/4,de=4*(1-Math.cos(le))/(3*Math.sin(le)),fe=de*.5,be=ee,Ee=ee,pe=de*be,ge=de*Ee;z.add(new go.PathSegment(go.PathSegment.Bezier,(ne-be)*E,ae*a,(ne-(pe+be)/2)*E,(ae+(Ee+ge)/2)*a,(ne-be)*E,(ae+ge)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(ae-Ee)*a,(ne-be)*E,(ae-ge)*a,(ne-pe)*E,(ae-Ee)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,(ne+be)*E,ae*a,(ne+pe)*E,(ae-Ee)*a,(ne+be)*E,(ae-ge)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,(1-.365)*E,(1-.595)*a,(ne+be)*E,(ae+ge)*a,(ne+(pe+be)/2)*E,(ae+(Ee+ge)/2)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.365)*E,(1-.595)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*E,(1-.555)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*E,(1-.405)*a)),z.add(new go.PathSegment(go.PathSegment.Line,.335*E,(1-.405)*a));var $e=new go.PathFigure(.2*E,a,!1);b.add($e),$e.add(new go.PathSegment(go.PathSegment.Line,.2*E,.8*a));var Be=new go.PathFigure(.8*E,a,!1);return b.add(Be),Be.add(new go.PathSegment(go.PathSegment.Line,.8*E,.8*a)),b}),go.Shape.defineFigureGenerator("BpmnEventConditional",function(ie,E,a){var b=new go.Geometry,y=new go.PathFigure(.1*E,0,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.9*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.9*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.1*E,a).close());var z=new go.PathFigure(.2*E,.2*a,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.2*a)),z.add(new go.PathSegment(go.PathSegment.Move,.2*E,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.4*a)),z.add(new go.PathSegment(go.PathSegment.Move,.2*E,.6*a)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.6*a)),z.add(new go.PathSegment(go.PathSegment.Move,.2*E,.8*a)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.8*a)),b}),go.Shape.defineFigureGenerator("BpmnEventError",function(ie,E,a){var b=new go.Geometry,y=new go.PathFigure(0,a,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.33*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.66*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.66*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.33*E,.5*a).close()),b}),go.Shape.defineFigureGenerator("BpmnEventEscalation",function(ie,E,a){var b=new go.Geometry,y=new go.PathFigure(0,0,!1);b.add(y);var z=new go.PathFigure(E,a,!1);b.add(z);var ee=new go.PathFigure(.1*E,a,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.9*E,a)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a).close()),b}),go.Shape.defineFigureGenerator("Caution",function(ie,E,a){var b=new go.Geometry,y=new go.PathFigure(.05*E,a,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,.1*E,.8*a,0,a,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,.45*E,.1*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.55*E,.1*a,.5*E,0,.5*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.95*E,.9*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.9*E,a,E,a,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.05*E,a));var z=.05;return y.add(new go.PathSegment(go.PathSegment.Move,(.5-z)*E,.875*a)),y.add(new go.PathSegment(go.PathSegment.Arc,180,-360,.5*E,.875*a,z*E,z*a)),y.add(new go.PathSegment(go.PathSegment.Move,.5*E,.75*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.325*a,.575*E,.725*a,.625*E,.375*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.75*a,.375*E,.375*a,.425*E,.725*a)),b}),go.Shape.defineFigureGenerator("Recycle",function(ie,E,a){var b=new go.Geometry,y=new go.PathFigure(.45*E,.95*a,!1);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.2*E,.95*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.185*E,.85*a,.17*E,.95*a,.15*E,.9*a)),y.add(new go.PathSegment(go.PathSegment.Line,.235*E,.75*a)),y.add(new go.PathSegment(go.PathSegment.Line,.3*E,.625*a)),y.add(new go.PathSegment(go.PathSegment.Line,.35*E,.65*a)),y.add(new go.PathSegment(go.PathSegment.Line,.275*E,.45*a)),y.add(new go.PathSegment(go.PathSegment.Line,.05*E,.45*a)),y.add(new go.PathSegment(go.PathSegment.Line,.1*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.05*E,.575*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.1875*E,.95*a,0,.675*a,0,.7*a)),y.add(new go.PathSegment(go.PathSegment.Move,.45*E,.95*a)),y.add(new go.PathSegment(go.PathSegment.Line,.45*E,.775*a)),y.add(new go.PathSegment(go.PathSegment.Line,.22*E,.775*a));var z=new go.PathFigure(.475*E,.2*a,!1);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.4*E,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,.225*E,.3*a)),z.add(new go.PathSegment(go.PathSegment.Line,.275*E,.175*a)),z.add(new go.PathSegment(go.PathSegment.Line,.325*E,.05*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.4*E,.05*a,.35*E,0,.375*E,0)),z.add(new go.PathSegment(go.PathSegment.Line,.575*E,.375*a)),z.add(new go.PathSegment(go.PathSegment.Line,.525*E,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,.75*E,.475*a)),z.add(new go.PathSegment(go.PathSegment.Line,.85*E,.315*a)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.32*a)),z.add(new go.PathSegment(go.PathSegment.Line,.65*E,.05*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.575*E,0,.65*E,.05*a,.625*E,0)),z.add(new go.PathSegment(go.PathSegment.Line,.38*E,.0105*a));var ee=new go.PathFigure(.675*E,.575*a,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.875*E,.525*a)),ee.add(new go.PathSegment(go.PathSegment.Line,E,.775*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.85*E,.95*a,E,.8*a,E,.85*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.65*E,.95*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.65*E,a)),ee.add(new go.PathSegment(go.PathSegment.Line,.55*E,.85*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.65*E,.725*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.65*E,.775*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*E,.775*a)),ee.add(new go.PathSegment(go.PathSegment.Line,E,.775*a)),ee.add(new go.PathSegment(go.PathSegment.Move,.675*E,.575*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.775*E,.775*a)),b}),go.Shape.defineFigureGenerator("BpmnEventTimer",function(ie,E,a){var b=new go.Geometry,y=.5,z=oe*.5,ee=new go.PathFigure(E,y*a,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,y*E,a,E,(y+z)*a,(y+z)*E,a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,y*a,(y-z)*E,a,0,(y+z)*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,y*E,0,0,(y-z)*a,(y-z)*E,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,E,y*a,(y+z)*E,0,E,(y-z)*a));var ne=new go.PathFigure(y*E,0,!1);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y*E,.15*a)),ne.add(new go.PathSegment(go.PathSegment.Move,y*E,a)),ne.add(new go.PathSegment(go.PathSegment.Line,y*E,.85*a)),ne.add(new go.PathSegment(go.PathSegment.Move,0,y*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.15*E,y*a)),ne.add(new go.PathSegment(go.PathSegment.Move,E,y*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.85*E,y*a)),ne.add(new go.PathSegment(go.PathSegment.Move,y*E,y*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.58*E,.1*a)),ne.add(new go.PathSegment(go.PathSegment.Move,y*E,y*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.78*E,.54*a)),b}),go.Shape.defineFigureGenerator("Package",function(ie,E,a){var b=new go.Geometry,y=new go.PathFigure(0,.15*a,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,.15*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var z=new go.PathFigure(0,.15*a,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,0)),z.add(new go.PathSegment(go.PathSegment.Line,.6*E,0)),z.add(new go.PathSegment(go.PathSegment.Line,.65*E,.15*a).close()),b.spot1=new go.Spot(0,.1),b.spot2=new go.Spot(1,1),b}),go.Shape.defineFigureGenerator("Class",function(ie,E,a){var b=new go.Geometry,y=new go.PathFigure(0,0,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var z=new go.PathFigure(0,.2*a,!1);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,.2*a).close());var ee=new go.PathFigure(0,.5*a,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,E,.5*a).close()),b}),go.Shape.defineFigureGenerator("Component",function(ie,E,a){var b=new go.Geometry,y=new go.PathFigure(E,a,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.15*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.15*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a).close());var z=new go.PathFigure(0,.2*a,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.45*E,.2*a)),z.add(new go.PathSegment(go.PathSegment.Line,.45*E,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.2*a).close());var ee=new go.PathFigure(0,.6*a,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.45*E,.6*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.45*E,.8*a)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.6*a).close()),b}),go.Shape.defineFigureGenerator("Boat Shipment",function(ie,E,a){var b=new go.Geometry,y=new go.PathFigure(.15*E,.6*a,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.15*E,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,.15*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.85*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,.85*E,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.15*E,.6*a));var z=new go.PathFigure(.15*E,.6*a,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.85*E,.6*a)),b}),go.Shape.defineFigureGenerator("Customer/Supplier",function(ie,E,a){var b=new go.Geometry,y=new go.PathFigure(E,a,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.66*E,.33*a)),y.add(new go.PathSegment(go.PathSegment.Line,.66*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.33*E,.33*a)),y.add(new go.PathSegment(go.PathSegment.Line,.33*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,0,.33*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a).close()),b}),go.Shape.defineFigureGenerator("Workcell",function(ie,E,a){var b=new go.Geometry,y=new go.PathFigure(0,a,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.65*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.65*E,.4*a)),y.add(new go.PathSegment(go.PathSegment.Line,.35*E,.4*a)),y.add(new go.PathSegment(go.PathSegment.Line,.35*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),b}),go.Shape.defineFigureGenerator("Supermarket",function(ie,E,a){var b=new go.Geometry,y=new go.PathFigure(0,0,!1);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.33*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.33*a)),y.add(new go.PathSegment(go.PathSegment.Move,E,.33*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.66*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.66*a)),y.add(new go.PathSegment(go.PathSegment.Move,E,.66*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),b}),go.Shape.defineFigureGenerator("TruckShipment",function(ie,E,a){var b=new go.Geometry,y=new go.PathFigure(0,0,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.6*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.6*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var z=new go.PathFigure(E,.8*a,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,.6*E,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,.6*E,.8*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,.8*a).close());var ee=.1,ne=oe*.1,ae=.2,le=.9,de=new go.PathFigure((ae-ee)*E,le*a,!0);b.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,ae*E,(le-ee)*a,(ae-ee)*E,(le-ne)*a,(ae-ne)*E,(le-ee)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,(ae+ee)*E,le*a,(ae+ne)*E,(le-ee)*a,(ae+ee)*E,(le-ne)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,ae*E,(le+ee)*a,(ae+ee)*E,(le+ne)*a,(ae+ne)*E,(le+ee)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,(ae-ee)*E,le*a,(ae-ne)*E,(le+ee)*a,(ae-ee)*E,(le+ne)*a).close()),ee=.1,ne=oe*.1,ae=.8,le=.9;var fe=new go.PathFigure((ae-ee)*E,le*a,!0);return b.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,ae*E,(le-ee)*a,(ae-ee)*E,(le-ne)*a,(ae-ne)*E,(le-ee)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ae+ee)*E,le*a,(ae+ne)*E,(le-ee)*a,(ae+ee)*E,(le-ne)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,ae*E,(le+ee)*a,(ae+ee)*E,(le+ne)*a,(ae+ne)*E,(le+ee)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ae-ee)*E,le*a,(ae-ne)*E,(le+ee)*a,(ae-ee)*E,(le+ne)*a).close()),b}),go.Shape.defineFigureGenerator("KanbanPost",function(ie,E,a){var b=new go.Geometry,y=new go.PathFigure(.2*E,0,!1);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.2*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,0)),y.add(new go.PathSegment(go.PathSegment.Move,.5*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.2*E,a)),y.add(new go.PathSegment(go.PathSegment.Move,.5*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,a)),b}),go.Shape.defineFigureGenerator("Forklift",function(ie,E,a){var b=new go.Geometry,y=new go.PathFigure(0,0,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.4*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,0,0));var z=new go.PathFigure(0,.5*a,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,.8*a)),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.5*a));var ee=new go.PathFigure(.5*E,.8*a,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*E,.1*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.55*E,.1*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.55*E,.8*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*E,.8*a));var ne=new go.PathFigure(.5*E,.7*a,!1);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E,.7*a));var ae=.1,le=oe*.1,de=.1,fe=.9,be=new go.PathFigure((de-ae)*E,fe*a,!0);b.add(be),be.add(new go.PathSegment(go.PathSegment.Bezier,de*E,(fe-ae)*a,(de-ae)*E,(fe-le)*a,(de-le)*E,(fe-ae)*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,(de+ae)*E,fe*a,(de+le)*E,(fe-ae)*a,(de+ae)*E,(fe-le)*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,de*E,(fe+ae)*a,(de+ae)*E,(fe+le)*a,(de+le)*E,(fe+ae)*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,(de-ae)*E,fe*a,(de-le)*E,(fe+ae)*a,(de-ae)*E,(fe+le)*a)),ae=.1,le=oe*.1,de=.4,fe=.9;var Ee=new go.PathFigure((de-ae)*E,fe*a,!0);return b.add(Ee),Ee.add(new go.PathSegment(go.PathSegment.Bezier,de*E,(fe-ae)*a,(de-ae)*E,(fe-le)*a,(de-le)*E,(fe-ae)*a)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(de+ae)*E,fe*a,(de+le)*E,(fe-ae)*a,(de+ae)*E,(fe-le)*a)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,de*E,(fe+ae)*a,(de+ae)*E,(fe+le)*a,(de+le)*E,(fe+ae)*a)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(de-ae)*E,fe*a,(de-le)*E,(fe+ae)*a,(de-ae)*E,(fe+le)*a)),b}),go.Shape.defineFigureGenerator("RailShipment",function(ie,E,a){var b=new go.Geometry,y=new go.PathFigure(.1*E,.4*a,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.45*E,.4*a)),y.add(new go.PathSegment(go.PathSegment.Line,.45*E,.9*a)),y.add(new go.PathSegment(go.PathSegment.Line,.1*E,.9*a)),y.add(new go.PathSegment(go.PathSegment.Line,.1*E,.4*a).close());var z=new go.PathFigure(.45*E,.7*a,!1);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.55*E,.7*a));var ee=new go.PathFigure(.55*E,.4*a,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.9*E,.4*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.9*E,.9*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.55*E,.9*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.55*E,.4*a).close());var de=.05,fe=oe*.05,be=.175,Ee=.95,ne=new go.PathFigure((be-de)*E,Ee*a,!0);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,be*E,(Ee-de)*a,(be-de)*E,(Ee-fe)*a,(be-fe)*E,(Ee-de)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(be+de)*E,Ee*a,(be+fe)*E,(Ee-de)*a,(be+de)*E,(Ee-fe)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,be*E,(Ee+de)*a,(be+de)*E,(Ee+fe)*a,(be+fe)*E,(Ee+de)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(be-de)*E,Ee*a,(be-fe)*E,(Ee+de)*a,(be-de)*E,(Ee+fe)*a));var de=.05,fe=oe*.05,be=.375,Ee=.95,ae=new go.PathFigure((be-de)*E,Ee*a,!0);b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,be*E,(Ee-de)*a,(be-de)*E,(Ee-fe)*a,(be-fe)*E,(Ee-de)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(be+de)*E,Ee*a,(be+fe)*E,(Ee-de)*a,(be+de)*E,(Ee-fe)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,be*E,(Ee+de)*a,(be+de)*E,(Ee+fe)*a,(be+fe)*E,(Ee+de)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(be-de)*E,Ee*a,(be-fe)*E,(Ee+de)*a,(be-de)*E,(Ee+fe)*a));var de=.05,fe=oe*.05,be=.625,Ee=.95,le=new go.PathFigure((be-de)*E,Ee*a,!0);b.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,be*E,(Ee-de)*a,(be-de)*E,(Ee-fe)*a,(be-fe)*E,(Ee-de)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,(be+de)*E,Ee*a,(be+fe)*E,(Ee-de)*a,(be+de)*E,(Ee-fe)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,be*E,(Ee+de)*a,(be+de)*E,(Ee+fe)*a,(be+fe)*E,(Ee+de)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,(be-de)*E,Ee*a,(be-fe)*E,(Ee+de)*a,(be-de)*E,(Ee+fe)*a));var de=.05,fe=oe*.05,be=.825,Ee=.95,pe=new go.PathFigure((be-de)*E,Ee*a,!0);b.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,be*E,(Ee-de)*a,(be-de)*E,(Ee-fe)*a,(be-fe)*E,(Ee-de)*a)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(be+de)*E,Ee*a,(be+fe)*E,(Ee-de)*a,(be+de)*E,(Ee-fe)*a)),pe.add(new go.PathSegment(go.PathSegment.Bezier,be*E,(Ee+de)*a,(be+de)*E,(Ee+fe)*a,(be+fe)*E,(Ee+de)*a)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(be-de)*E,Ee*a,(be-fe)*E,(Ee+de)*a,(be-de)*E,(Ee+fe)*a).close());var ge=new go.PathFigure(0,a,!1);return b.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,E,a).close()),b}),go.Shape.defineFigureGenerator("Warehouse",function(ie,E,a){var b=new go.Geometry,y=new go.PathFigure(0,0,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var z=new go.PathFigure(0,.2*a,!1);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,.2*a).close());var ee=new go.PathFigure(.15*E,a,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.15*E,.5*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.4*E,.5*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.4*E,a)),ee.add(new go.PathSegment(go.PathSegment.Line,.15*E,a).close());var ne=.05,ae=oe*.05,le=.35,de=.775,fe=new go.PathFigure((le-ne)*E,de*a,!0);return b.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,le*E,(de-ne)*a,(le-ne)*E,(de-ae)*a,(le-ae)*E,(de-ne)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(le+ne)*E,de*a,(le+ae)*E,(de-ne)*a,(le+ne)*E,(de-ae)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,le*E,(de+ne)*a,(le+ne)*E,(de+ae)*a,(le+ae)*E,(de+ne)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(le-ne)*E,de*a,(le-ae)*E,(de+ne)*a,(le-ne)*E,(de+ae)*a).close()),b}),go.Shape.defineFigureGenerator("ControlCenter",function(ie,E,a){var b=new go.Geometry,y=new go.PathFigure(0,a,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,.1*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,.1*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.9*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.9*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Move,.1*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,.9*E,.8*a).close()),b}),go.Shape.defineFigureGenerator("Bluetooth",function(ie,E,a){var b=new go.Geometry,y=new go.PathFigure(0,.75*a,!1);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.75*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.25*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.75*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),b}),go.Shape.defineFigureGenerator("Bookmark",function(ie,E,a){var b=new go.Geometry,y=new go.PathFigure(0,0,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Move,.2*E,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,.2*a)),y.add(new go.PathSegment(go.PathSegment.Move,.2*E,.4*a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,.4*a)),b}),go.Shape.defineFigureGenerator("Bookmark",function(ie,E,a){var b=new go.Geometry,y=new go.PathFigure(0,0,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Move,.2*E,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,.2*a)),y.add(new go.PathSegment(go.PathSegment.Move,.2*E,.4*a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,.4*a)),b}),go.Shape.defineFigureGenerator("Globe",function(ie,E,a){var b=new go.Geometry,y=new go.PathFigure(.5*E,0,!1);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),y.add(new go.PathSegment(go.PathSegment.Move,0,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Move,.5*E,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,.75*E,0,E,.25*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,E,.75*a,.75*E,a)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,.25*E,a,0,.75*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,0,.25*a,.25*E,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,.15*E,.25*a,.15*E,.75*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,.85*E,.75*a,.85*E,.25*a)),y.add(new go.PathSegment(go.PathSegment.Move,.1675*E,.15*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.8325*E,.15*a,.35*E,.3*a,.65*E,.3*a)),y.add(new go.PathSegment(go.PathSegment.Move,.1675*E,.85*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.8325*E,.85*a,.35*E,.7*a,.65*E,.7*a)),b}),go.Shape.defineFigureGenerator("Wave",function(ie,E,a){var b=new go.Geometry,y=new go.PathFigure(0,.25*a,!1);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,.3*E,.25*a,.1*E,0,.2*E,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,.7*E,.25*a,.425*E,.5*a,.575*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,E,.25*a,.8*E,0,.9*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.75*a)),y.add(new go.PathSegment(go.PathSegment.Move,0,.25*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.75*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.3*E,.75*a,.1*E,.5*a,.2*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.7*E,.75*a,.425*E,a,.575*E,a)),y.add(new go.PathSegment(go.PathSegment.Bezier,E,.75*a,.8*E,.5*a,.9*E,.5*a)),b}),go.Shape.defineFigureGenerator("Operator",function(ie,E,a){var b=new go.Geometry,y=.3,z=oe*.3,ee=.5,ne=.7,ae=new go.PathFigure((ee-y)*E,ne*a,!0);b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(ne-y)*a,(ee-y)*E,(ne-z)*a,(ee-z)*E,(ne-y)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(ee+y)*E,ne*a,(ee+z)*E,(ne-y)*a,(ee+y)*E,(ne-z)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(ne+y)*a,(ee+y)*E,(ne+z)*a,(ee+z)*E,(ne+y)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(ee-y)*E,ne*a,(ee-z)*E,(ne+y)*a,(ee-y)*E,(ne+z)*a));var le=new go.PathFigure(0,.7*a,!1);return b.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,E,.7*a,0,0,E,0)),b}),go.Shape.defineFigureGenerator("TripleFanBlades",function(ie,E,a){var b=new go.Geometry,y=new go.PathFigure(.5*E,0,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.65*a,.65*E,.3*a,.65*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,.35*E,.5*a,.35*E,.3*a)),y.add(new go.PathSegment(go.PathSegment.Move,.5*E,.65*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,a,.3*E,.6*a,.1*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.65*a,.2*E,a,.35*E,.95*a)),y.add(new go.PathSegment(go.PathSegment.Move,.5*E,.65*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,E,a,.7*E,.6*a,.9*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.65*a,.8*E,a,.65*E,.95*a)),b}),go.Shape.defineFigureGenerator("CentrifugalPump",function(ie,E,a){var b=new go.Geometry,y=new go.PathFigure(E,0,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.4*E,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,0,.075*a,0,.5*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.4*E,a,0,a,.4*E,a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,.4*a,.8*E,a,.85*E,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.4*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),b}),go.Shape.defineFigureGenerator("Battery",function(ie,E,a){var b=new go.Geometry,y=new go.PathFigure(0,a,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.1*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.1*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Move,.4*E,.1*a)),y.add(new go.PathSegment(go.PathSegment.Line,.4*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.6*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.6*E,.1*a));var z=new go.PathFigure(0,.6*a,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Move,0,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,.4*a)),b}),go.Shape.defineFigureGenerator("Delete",function(ie,E,a){var b=new go.Geometry,y=.5,z=oe*.5,ee=.5,ne=.5,ae=new go.PathFigure((ee-y)*E,ne*a,!0);b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(ne-y)*a,(ee-y)*E,(ne-z)*a,(ee-z)*E,(ne-y)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(ee+y)*E,ne*a,(ee+z)*E,(ne-y)*a,(ee+y)*E,(ne-z)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(ne+y)*a,(ee+y)*E,(ne+z)*a,(ee+z)*E,(ne+y)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(ee-y)*E,ne*a,(ee-z)*E,(ne+y)*a,(ee-y)*E,(ne+z)*a));var le=new go.PathFigure(.15*E,.5*a,!1);return b.add(le),le.add(new go.PathSegment(go.PathSegment.Line,.85*E,.5*a)),b}),go.Shape.defineFigureGenerator("Flag",function(ie,E,a){var b=new go.Geometry,y=new go.PathFigure(0,.1*a,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Move,0,.1*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.1*a,.15*E,0,.35*E,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,E,.1*a,.65*E,.2*a,.85*E,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.5*a,.85*E,.6*a,.65*E,.6*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,.35*E,.4*a,.15*E,.4*a).close()),b}),go.Shape.defineFigureGenerator("Help",function(ie,E,a){var b=new go.Geometry,y=.5,z=oe*.5,ee=.5,ne=.5,ae=new go.PathFigure((ee-y)*E,ne*a,!1);b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(ne-y)*a,(ee-y)*E,(ne-z)*a,(ee-z)*E,(ne-y)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(ee+y)*E,ne*a,(ee+z)*E,(ne-y)*a,(ee+y)*E,(ne-z)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(ne+y)*a,(ee+y)*E,(ne+z)*a,(ee+z)*E,(ne+y)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(ee-y)*E,ne*a,(ee-z)*E,(ne+y)*a,(ee-y)*E,(ne+z)*a).close()),y=.05,z=oe*.05,ee=.5,ne=.8;var le=new go.PathFigure((ee-y)*E,ne*a,!1);return b.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(ne-y)*a,(ee-y)*E,(ne-z)*a,(ee-z)*E,(ne-y)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,(ee+y)*E,ne*a,(ee+z)*E,(ne-y)*a,(ee+y)*E,(ne-z)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(ne+y)*a,(ee+y)*E,(ne+z)*a,(ee+z)*E,(ne+y)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,(ee-y)*E,ne*a,(ee-z)*E,(ne+y)*a,(ee-y)*E,(ne+z)*a).close()),le.add(new go.PathSegment(go.PathSegment.Move,.5*E,.7*a)),le.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.2*a,.75*E,.475*a,.75*E,.225*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,.3*E,.35*a,.4*E,.2*a,.3*E,.25*a)),b}),go.Shape.defineFigureGenerator("Location",function(ie,E,a){return new go.Geometry().add(new go.PathFigure(.5*E,a,!0).add(new go.PathSegment(go.PathSegment.Line,.75*E,.5*a)).add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,.975*E,.025*a,.5*E,0)).add(new go.PathSegment(go.PathSegment.Bezier,.25*E,.5*a,.5*E,0,.025*E,.025*a).close()).add(new go.PathSegment(go.PathSegment.Move,.5*E,.2*a)).add(new go.PathSegment(go.PathSegment.Arc,270,360,.5*E,.3*a,.1*E,.1*a).close()))}),go.Shape.defineFigureGenerator("Lock",function(ie,E,a){var b=new go.Geometry,y=new go.PathFigure(0,.5*a,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.5*a));var z=new go.PathFigure(.2*E,.5*a,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Move,.2*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,.2*E,.3*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,.3*a,.25*E,0,.75*E,0)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.3*a)),b}),go.Shape.defineFigureGenerator("Unlocked",function(ie,E,a){var b=new go.Geometry,y=new go.PathFigure(0,.5*a,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.5*a));var z=new go.PathFigure(.2*E,.5*a,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Move,.2*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,.2*E,.3*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,.3*a,.25*E,0,.75*E,0)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.35*a)),b}),go.Shape.defineFigureGenerator("Gear",function(ie,E,a){return new go.Geometry().add(new go.PathFigure(.9375*E,.56246875*a,!0).add(new go.PathSegment(go.PathSegment.Line,.9375*E,.4375*a)).add(new go.PathSegment(go.PathSegment.Line,.80621875*E,.4375*a)).add(new go.PathSegment(go.PathSegment.Bezier,.763*E,.3316875*a,.79840625*E,.39915625*a,.7834375*E,.3635*a)).add(new go.PathSegment(go.PathSegment.Line,.8566875*E,.23796875*a)).add(new go.PathSegment(go.PathSegment.Line,.76825*E,.14959375*a)).add(new go.PathSegment(go.PathSegment.Line,.67596875*E,.24184375*a)).add(new go.PathSegment(go.PathSegment.Bezier,.5625*E,.19378125*a,.64228125*E,.2188125*a,.603875*E,.2021875*a)).add(new go.PathSegment(go.PathSegment.Line,.5625*E,.0625*a)).add(new go.PathSegment(go.PathSegment.Line,.4375*E,.0625*a)).add(new go.PathSegment(go.PathSegment.Line,.4375*E,.19378125*a)).add(new go.PathSegment(go.PathSegment.Bezier,.32775*E,.239375*a,.39759375*E,.20190625*a,.36053125*E,.2176875*a)).add(new go.PathSegment(go.PathSegment.Line,.2379375*E,.14959375*a)).add(new go.PathSegment(go.PathSegment.Line,.14953125*E,.2379375*a)).add(new go.PathSegment(go.PathSegment.Line,.23934375*E,.3278125*a)).add(new go.PathSegment(go.PathSegment.Bezier,.19378125*E,.4375*a,.21765625*E,.36059375*a,.201875*E,.397625*a)).add(new go.PathSegment(go.PathSegment.Line,.0625*E,.4375*a)).add(new go.PathSegment(go.PathSegment.Line,.0625*E,.5625*a)).add(new go.PathSegment(go.PathSegment.Line,.1938125*E,.5625*a)).add(new go.PathSegment(go.PathSegment.Bezier,.241875*E,.67596875*a,.20221875*E,.603875*a,.21884375*E,.64228125*a)).add(new go.PathSegment(go.PathSegment.Line,.1495625*E,.76825*a)).add(new go.PathSegment(go.PathSegment.Line,.238*E,.8566875*a)).add(new go.PathSegment(go.PathSegment.Line,.3316875*E,.76296875*a)).add(new go.PathSegment(go.PathSegment.Bezier,.43753125*E,.80621875*a,.36353125*E,.78340625*a,.3991875*E,.79840625*a)).add(new go.PathSegment(go.PathSegment.Line,.43753125*E,.9375*a)).add(new go.PathSegment(go.PathSegment.Line,.5625*E,.9375*a)).add(new go.PathSegment(go.PathSegment.Line,.5625*E,.80621875*a)).add(new go.PathSegment(go.PathSegment.Bezier,.67225*E,.760625*a,.602375*E,.79809375*a,.63946875*E,.78234375*a)).add(new go.PathSegment(go.PathSegment.Line,.76828125*E,.8566875*a)).add(new go.PathSegment(go.PathSegment.Line,.85671875*E,.76825*a)).add(new go.PathSegment(go.PathSegment.Line,.76065625*E,.67221875*a)).add(new go.PathSegment(go.PathSegment.Bezier,.80621875*E,.56246875*a,.78234375*E,.63940625*a,.798125*E,.602375*a)).add(new go.PathSegment(go.PathSegment.Line,.9375*E,.56246875*a).close()).add(new go.PathSegment(go.PathSegment.Move,.5*E,.6*a)).add(new go.PathSegment(go.PathSegment.Arc,90,360,.5*E,.5*a,.1*E,.1*a).close()))}),go.Shape.defineFigureGenerator("Hand",function(ie,E,a){var b=new go.Geometry,y=new go.PathFigure(0,.5*a,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,.1*E,.3*a,0,.375*a,.05*E,.325*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.45*E,.075*a,.3*E,.225*a,.4*E,.175*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.525*E,.075*a,.46*E,.05*a,.525*E,.05*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.3*E,.4*a,.525*E,.275*a,.475*E,.325*a)),y.add(new go.PathSegment(go.PathSegment.Line,.9*E,.4*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.9*E,.55*a,E,.4*a,E,.55*a)),y.add(new go.PathSegment(go.PathSegment.Line,.425*E,.55*a)),y.add(new go.PathSegment(go.PathSegment.Line,.6*E,.55*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.6*E,.7*a,.675*E,.55*a,.675*E,.7*a)),y.add(new go.PathSegment(go.PathSegment.Line,.4*E,.7*a)),y.add(new go.PathSegment(go.PathSegment.Line,.575*E,.7*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.575*E,.85*a,.65*E,.7*a,.65*E,.85*a)),y.add(new go.PathSegment(go.PathSegment.Line,.4*E,.85*a)),y.add(new go.PathSegment(go.PathSegment.Line,.525*E,.85*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.535*E,a,.61*E,.85*a,.61*E,a)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,.435*E,a,0,a).close()),b}),go.Shape.defineFigureGenerator("Map",function(ie,E,a){var b=new go.Geometry,y=new go.PathFigure(0,.2*a,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.25*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.25*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),y.add(new go.PathSegment(go.PathSegment.Move,.25*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.25*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Move,.5*E,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),y.add(new go.PathSegment(go.PathSegment.Move,.75*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,.8*a)),b}),go.Shape.defineFigureGenerator("Eject",function(ie,E,a){var b=new go.Geometry,y=new go.PathFigure(0,a,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a*.7)),y.add(new go.PathSegment(go.PathSegment.Line,0,a*.7).close());var z=new go.PathFigure(0,a*.6,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,.6*a)),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,0).close()),b}),go.Shape.defineFigureGenerator("Pencil",function(ie,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.2*E,.1*a)).add(new go.PathSegment(go.PathSegment.Line,E,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.9*E,a)).add(new go.PathSegment(go.PathSegment.Line,.1*E,.2*a).close()))}),go.Shape.defineFigureGenerator("Building",function(ie,E,a){var b=new go.Geometry,y=new go.PathFigure(E*1,a*1,!1);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,0,a*.85)),y.add(new go.PathSegment(go.PathSegment.Line,.046*E,a*.85)),y.add(new go.PathSegment(go.PathSegment.Line,.046*E,a*.45)),y.add(new go.PathSegment(go.PathSegment.Line,0,a*.45)),y.add(new go.PathSegment(go.PathSegment.Line,0,a*.3)),y.add(new go.PathSegment(go.PathSegment.Line,.046*E,a*.3)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a*0)),y.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*E,a*.3)),y.add(new go.PathSegment(go.PathSegment.Line,E,a*.3)),y.add(new go.PathSegment(go.PathSegment.Line,E,a*.45)),y.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*E,a*.45)),y.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*E,a*.85)),y.add(new go.PathSegment(go.PathSegment.Line,E,a*.85).close());var z=new go.PathFigure(.126*E,.85*a,!1);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.126*E,.45*a)),z.add(new go.PathSegment(go.PathSegment.Line,.322*E,.45*a)),z.add(new go.PathSegment(go.PathSegment.Line,.322*E,.85*a).close());var ee=new go.PathFigure(.402*E,.85*a,!1);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.402*E,.45*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.598*E,.45*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.598*E,.85*a).close());var ne=new go.PathFigure(.678*E,.85*a,!1);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.678*E,.45*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.874*E,.45*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.874*E,.85*a).close());var ae=new go.PathFigure(.5*E,.1*a,!1);return b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,(.046+.15)*E,.3*a)),ae.add(new go.PathSegment(go.PathSegment.Line,(1-(.046+.15))*E,.3*a).close()),b}),go.Shape.defineFigureGenerator("Staircase",function(ie,E,a){var b=new go.Geometry,y=new go.PathFigure(0,a*1,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E*.2,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*.2,a*.8)),y.add(new go.PathSegment(go.PathSegment.Line,E*.4,a*.8)),y.add(new go.PathSegment(go.PathSegment.Line,E*.4,a*.6)),y.add(new go.PathSegment(go.PathSegment.Line,E*.6,a*.6)),y.add(new go.PathSegment(go.PathSegment.Line,E*.6,a*.4)),y.add(new go.PathSegment(go.PathSegment.Line,E*.8,a*.4)),y.add(new go.PathSegment(go.PathSegment.Line,E*.8,a*.2)),y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*.2)),y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*.15)),y.add(new go.PathSegment(go.PathSegment.Line,E*.75,a*.15)),y.add(new go.PathSegment(go.PathSegment.Line,E*.75,a*.35)),y.add(new go.PathSegment(go.PathSegment.Line,E*.55,a*.35)),y.add(new go.PathSegment(go.PathSegment.Line,E*.55,a*.55)),y.add(new go.PathSegment(go.PathSegment.Line,E*.35,a*.55)),y.add(new go.PathSegment(go.PathSegment.Line,E*.35,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.15,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.15,a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,0,a*.95).close()),b}),go.Shape.defineFigureGenerator("5Bars",function(ie,E,a){var b=new go.Geometry,y=new go.PathFigure(0,a*1,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E*.184,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*.184,a*(1-.184)).close());var z=new go.PathFigure(E*.204,a,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E*.204,a*(1-.184))),z.add(new go.PathSegment(go.PathSegment.Line,E*.388,a*(1-.184*2))),z.add(new go.PathSegment(go.PathSegment.Line,E*.388,a*1).close());var ee=new go.PathFigure(E*.408,a,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,E*.408,a*(1-.184*2))),ee.add(new go.PathSegment(go.PathSegment.Line,E*.592,a*(1-.184*3))),ee.add(new go.PathSegment(go.PathSegment.Line,E*.592,a*1).close());var ne=new go.PathFigure(E*.612,a,!0);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E*.612,a*(1-.184*3))),ne.add(new go.PathSegment(go.PathSegment.Line,E*.796,a*(1-.184*4))),ne.add(new go.PathSegment(go.PathSegment.Line,E*.796,a*1).close());var ae=new go.PathFigure(E*.816,a,!0);return b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,E*.816,a*(1-.184*4))),ae.add(new go.PathSegment(go.PathSegment.Line,E*1,a*(1-.184*5))),ae.add(new go.PathSegment(go.PathSegment.Line,E*1,a*1).close()),b}),go.Shape.defineFigureGenerator("PC",function(ie,E,a){var b=new go.Geometry,y=new go.PathFigure(0,0,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*.3,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*.3,0).close());var z=new go.PathFigure(E*.055,.07*a,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E*.245,a*.07)),z.add(new go.PathSegment(go.PathSegment.Line,E*.245,a*.1)),z.add(new go.PathSegment(go.PathSegment.Line,E*.055,a*.1).close());var ee=new go.PathFigure(E*.055,.13*a,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,E*.245,a*.13)),ee.add(new go.PathSegment(go.PathSegment.Line,E*.245,a*.16)),ee.add(new go.PathSegment(go.PathSegment.Line,E*.055,a*.16).close());var ne=new go.PathFigure(E*.055,.18*a,!0);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E*.245,a*.18)),ne.add(new go.PathSegment(go.PathSegment.Line,E*.245,a*.21)),ne.add(new go.PathSegment(go.PathSegment.Line,E*.055,a*.21).close());var ae=new go.PathFigure(E*1,0,!0);return b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,E*.4,0)),ae.add(new go.PathSegment(go.PathSegment.Line,E*.4,a*.65)),ae.add(new go.PathSegment(go.PathSegment.Line,E*1,a*.65).close()),b}),go.Shape.defineFigureGenerator("Plane",function(ie,E,a){var b=new go.Geometry,y=new go.PathFigure(.55*E,a,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,.4*E,.7*a)),y.add(new go.PathSegment(go.PathSegment.Line,.1*E,.475*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.35*E,.525*a,0,.4*a,.225*E,.45*a)),y.add(new go.PathSegment(go.PathSegment.Line,.4*E,.475*a)),y.add(new go.PathSegment(go.PathSegment.Line,.15*E,.35*a)),y.add(new go.PathSegment(go.PathSegment.Line,.2*E,.325*a)),y.add(new go.PathSegment(go.PathSegment.Line,.6*E,.325*a)),y.add(new go.PathSegment(go.PathSegment.Line,.85*E,.1*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.9*E,.2*a,.975*E,0,E,.08*a)),y.add(new go.PathSegment(go.PathSegment.Line,.7*E,.45*a)),y.add(new go.PathSegment(go.PathSegment.Line,.6*E,.95*a)),y.add(new go.PathSegment(go.PathSegment.Line,.55*E,a).close()),b}),go.Shape.defineFigureGenerator("Key",function(ie,E,a){var b=new go.Geometry,y=new go.PathFigure(E*1,a*.5,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E*.9,.4*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.5,.4*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.5,.35*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.45,.35*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.3,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.15,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.35*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.65*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.15,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.3,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.45,.65*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.5,.65*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.5,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.6,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.65,.55*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.7,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.75,.55*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.8,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.85,.575*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.9,.6*a).close()),y.add(new go.PathSegment(go.PathSegment.Move,.17*E,.425*a)),y.add(new go.PathSegment(go.PathSegment.Arc,270,360,.17*E,.5*a,.075*E,.075*a).close()),b}),go.Shape.defineFigureGenerator("FilmTape",function(ie,E,a){var b=new go.Geometry,y=new go.PathFigure(0,0,!1);b.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,270,180,E*0,E*.3,E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,0,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*.08,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*.08,a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*1),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*1),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*2),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*2),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*3),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*3),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*4),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*4),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*5),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*5),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*6),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*6),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*7),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*7),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*8),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*8),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*9),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*9),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*10),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*10),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*11),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*11),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*12),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*12),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*13),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*13),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*14),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*14),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*15),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*15),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*1));var z=new go.PathFigure(0,0,!1);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E*1,a*0)),z.add(new go.PathSegment(go.PathSegment.Arc,270,-180,E*1,E*.3,E*.055)),z.add(new go.PathSegment(go.PathSegment.Line,E*1,a*1));var ee=new go.PathFigure(E*.11,a*.1,!1);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*1+.028*0),a*.1)),ee.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*1+.028*0),a*.8)),ee.add(new go.PathSegment(go.PathSegment.Line,E*.11,a*.8).close());var ne=new go.PathFigure(E*(.11+.24133333*1+.028*1),a*.1,!1);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*2+.028*1),a*.1)),ne.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*2+.028*1),a*.8)),ne.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*1+.028*1),a*.8).close());var ae=new go.PathFigure(E*(.11+.24133333*2+.028*2),a*.1,!1);return b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*3+.028*2),a*.1)),ae.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*3+.028*2),a*.8)),ae.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*2+.028*2),a*.8).close()),b}),go.Shape.defineFigureGenerator("FloppyDisk",function(ie,E,a){var b=new go.Geometry,y=8,z=y*oe,ee=new go.PathFigure(y,0,!1);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,E*.86,0)),ee.add(new go.PathSegment(go.PathSegment.Line,E*1,a*.14)),ee.add(new go.PathSegment(go.PathSegment.Line,E,a-y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,E-y,a,E,a-z,E-z,a)),ee.add(new go.PathSegment(go.PathSegment.Line,y,a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,a-y,z,a,0,a-z)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,y,0,0,z,z,0).close());var ne=new go.PathFigure(E*.83,0,!1);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E*.83,a*.3)),ne.add(new go.PathSegment(go.PathSegment.Line,E*.17,a*.3)),ne.add(new go.PathSegment(go.PathSegment.Line,E*.17,a*0).close());var ae=new go.PathFigure(E*.83,a*1,!1);b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,E*.83,a*.5)),ae.add(new go.PathSegment(go.PathSegment.Line,E*.17,a*.5)),ae.add(new go.PathSegment(go.PathSegment.Line,E*.17,a*1).close());var le=new go.PathFigure(E*.78,a*.05,!1);return b.add(le),le.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*.05)),le.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*.25)),le.add(new go.PathSegment(go.PathSegment.Line,E*.78,a*.25).close()),b}),go.Shape.defineFigureGenerator("SpeechBubble",function(ie,E,a){var b=ie?ie.parameter1:NaN;(isNaN(b)||b<0)&&(b=15),b=Math.min(b,E/3),b=Math.min(b,a/3);var y=b*oe,z=a*.8,ee=new go.Geometry,ne=new go.PathFigure(b,0,!0);return ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E-b,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,E,b,E-y,0,E,y)),ne.add(new go.PathSegment(go.PathSegment.Line,E,z-b)),ne.add(new go.PathSegment(go.PathSegment.Bezier,E-b,z,E,z-y,E-y,z)),ne.add(new go.PathSegment(go.PathSegment.Line,E*.7,z)),ne.add(new go.PathSegment(go.PathSegment.Line,E*.7,a)),ne.add(new go.PathSegment(go.PathSegment.Line,E*.55,z)),ne.add(new go.PathSegment(go.PathSegment.Line,b,z)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,z-b,y,z,0,z-y)),ne.add(new go.PathSegment(go.PathSegment.Line,0,b)),ne.add(new go.PathSegment(go.PathSegment.Bezier,b,0,0,y,y,0).close()),y>1?(ee.spot1=new go.Spot(0,0,y,y),ee.spot2=new go.Spot(1,.8,-y,-y)):(ee.spot1=go.Spot.TopLeft,ee.spot2=new go.Spot(1,.8)),ee}),go.Shape.defineFigureGenerator("Repeat",function(ie,E,a){var b=new go.Geometry,y=new go.PathFigure(E*0,a*.45,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E*.25,a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*.5,a*.45)),y.add(new go.PathSegment(go.PathSegment.Line,E*.3,a*.45)),y.add(new go.PathSegment(go.PathSegment.Line,E*.3,a*.9)),y.add(new go.PathSegment(go.PathSegment.Line,E*.6,a*.9)),y.add(new go.PathSegment(go.PathSegment.Line,E*.65,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*.2,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*.2,a*.45).close());var z=new go.PathFigure(E*1,a*.55,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E*.75,a*1)),z.add(new go.PathSegment(go.PathSegment.Line,E*.5,a*.55)),z.add(new go.PathSegment(go.PathSegment.Line,E*.7,a*.55)),z.add(new go.PathSegment(go.PathSegment.Line,E*.7,a*.1)),z.add(new go.PathSegment(go.PathSegment.Line,E*.4,a*.1)),z.add(new go.PathSegment(go.PathSegment.Line,E*.35,a*0)),z.add(new go.PathSegment(go.PathSegment.Line,E*.8,a*0)),z.add(new go.PathSegment(go.PathSegment.Line,E*.8,a*.55).close()),b}),go.Shape.defineFigureGenerator("Windows",function(ie,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close()).add(new go.PathSegment(go.PathSegment.Move,.4*E,.4*a)).add(new go.PathSegment(go.PathSegment.Line,.4*E,.8*a)).add(new go.PathSegment(go.PathSegment.Line,.9*E,.8*a)).add(new go.PathSegment(go.PathSegment.Line,.9*E,.4*a).close()).add(new go.PathSegment(go.PathSegment.Move,.2*E,.1*a)).add(new go.PathSegment(go.PathSegment.Line,.2*E,.6*a)).add(new go.PathSegment(go.PathSegment.Line,.7*E,.6*a)).add(new go.PathSegment(go.PathSegment.Line,.7*E,.1*a).close()).add(new go.PathSegment(go.PathSegment.Move,.1*E,.6*a)).add(new go.PathSegment(go.PathSegment.Line,.1*E,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.5*E,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.5*E,.6*a).close()))}),go.Shape.defineFigureGenerator("Terminal",function(ie,E,a){var b=new go.Geometry,y=new go.PathFigure(E*0,a*.1,!1);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*.1)),y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*.9)),y.add(new go.PathSegment(go.PathSegment.Line,E*0,a*.9).close());var z=new go.PathFigure(E*.1,a*.2,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E*.1,a*.25)),z.add(new go.PathSegment(go.PathSegment.Line,E*.22,a*.285)),z.add(new go.PathSegment(go.PathSegment.Line,E*.1,a*.32)),z.add(new go.PathSegment(go.PathSegment.Line,E*.1,a*.37)),z.add(new go.PathSegment(go.PathSegment.Line,E*.275,a*.32)),z.add(new go.PathSegment(go.PathSegment.Line,E*.275,a*.25).close());var ee=new go.PathFigure(E*.28,a*.37,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,E*.45,a*.37)),ee.add(new go.PathSegment(go.PathSegment.Line,E*.45,a*.41)),ee.add(new go.PathSegment(go.PathSegment.Line,E*.28,a*.41).close()),b}),go.Shape.defineFigureGenerator("Beaker",function(ie,E,a){var b=new go.Geometry,y=15,z=y*oe,ee=new go.PathFigure(E*.62,a*.475,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,E,a-y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,E-y,a,E,a-z,E-z,a)),ee.add(new go.PathSegment(go.PathSegment.Line,y,a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,a-y,z,a,0,a-z)),ee.add(new go.PathSegment(go.PathSegment.Line,E*.38,a*.475)),ee.add(new go.PathSegment(go.PathSegment.Line,E*.38,a*.03)),ee.add(new go.PathSegment(go.PathSegment.Line,E*.36,a*0)),ee.add(new go.PathSegment(go.PathSegment.Line,E*.64,a*0)),ee.add(new go.PathSegment(go.PathSegment.Line,E*.62,a*.03).close()),z>1?(b.spot1=new go.Spot(0,0,z,z),b.spot2=new go.Spot(1,1,-z,-z)):(b.spot1=go.Spot.TopLeft,b.spot2=go.Spot.BottomRight),b}),go.Shape.defineFigureGenerator("Download",function(ie,E,a){var b=new go.Geometry,y=new go.PathFigure(E*0,a*1,!0);b.add(y);var z=.1/.3;y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*.8,a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,E*.755,a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,E*.93,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*.64,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*.61,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.5,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.39,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.36,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*.07,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*(1-.755),a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,E*(1-.66),a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,E*(1-.66),a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*(1-.8),a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*0,a*(1-z)).close());var ee=new go.PathFigure(E*.4,a*0,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,E*.4,a*.44)),ee.add(new go.PathSegment(go.PathSegment.Line,E*.26,a*.44)),ee.add(new go.PathSegment(go.PathSegment.Line,E*.5,a*.66)),ee.add(new go.PathSegment(go.PathSegment.Line,E*(1-.26),a*.44)),ee.add(new go.PathSegment(go.PathSegment.Line,E*.6,a*.44)),ee.add(new go.PathSegment(go.PathSegment.Line,E*.6,a*0).close()),b}),go.Shape.defineFigureGenerator("Bin",function(ie,E,a){var b=new go.Geometry,y=new go.PathFigure(E*0,a*1,!0);b.add(y);var z=.1/.3;return y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*.8,a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,E*.755,a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,E*.93,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*.64,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*.61,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.5,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.39,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.36,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*.07,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*(1-.755),a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,E*(1-.66),a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,E*(1-.66),a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*(1-.8),a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*0,a*(1-z)).close()),b}),go.Shape.defineFigureGenerator("Upload",function(ie,E,a){var b=new go.Geometry,y=new go.PathFigure(E*0,a*1,!0);b.add(y);var z=.1/.3;y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*.8,a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,E*.755,a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,E*.93,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*.64,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*.61,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.5,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.39,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.36,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*.07,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*(1-.755),a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,E*(1-.66),a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,E*(1-.66),a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*(1-.8),a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*0,a*(1-z)).close());var ee=new go.PathFigure(E*.5,a*0,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,E*.26,a*.25)),ee.add(new go.PathSegment(go.PathSegment.Line,E*.4,a*.25)),ee.add(new go.PathSegment(go.PathSegment.Line,E*.4,a*.63)),ee.add(new go.PathSegment(go.PathSegment.Line,E*.6,a*.63)),ee.add(new go.PathSegment(go.PathSegment.Line,E*.6,a*.25)),ee.add(new go.PathSegment(go.PathSegment.Line,E*.74,a*.25).close()),b}),go.Shape.defineFigureGenerator("EmptyDrink",function(ie,E,a){var b=new go.Geometry,y=new go.PathFigure(E*.15,a*0,!1);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E*.85,a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*.7,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*.3,a*1).close()),b}),go.Shape.defineFigureGenerator("Drink",function(ie,E,a){var b=new go.Geometry,y=new go.PathFigure(E*.15,a*0,!1);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E*.85,a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*.7,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*.3,a*1).close());var z=new go.PathFigure(E*.235,a*.28,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E*.765,a*.28)),z.add(new go.PathSegment(go.PathSegment.Line,E*.655,a*.97)),z.add(new go.PathSegment(go.PathSegment.Line,E*.345,a*.97).close()),b}),go.Shape.defineFigureGenerator("4Arrows",function(ie,E,a){var b=new go.Geometry,y=new go.PathFigure(E*.5,a*0,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E*.65,a*.25)),y.add(new go.PathSegment(go.PathSegment.Line,E*.55,a*.25)),y.add(new go.PathSegment(go.PathSegment.Line,E*.55,a*.45)),y.add(new go.PathSegment(go.PathSegment.Line,E*.75,a*.45)),y.add(new go.PathSegment(go.PathSegment.Line,E*.75,a*.35)),y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*.5)),y.add(new go.PathSegment(go.PathSegment.Line,E*.75,a*.65)),y.add(new go.PathSegment(go.PathSegment.Line,E*.75,a*.55)),y.add(new go.PathSegment(go.PathSegment.Line,E*.55,a*.55)),y.add(new go.PathSegment(go.PathSegment.Line,E*.55,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.65,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.5,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*.35,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.45,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.45,a*.55)),y.add(new go.PathSegment(go.PathSegment.Line,E*.25,a*.55)),y.add(new go.PathSegment(go.PathSegment.Line,E*.25,a*.65)),y.add(new go.PathSegment(go.PathSegment.Line,E*0,a*.5)),y.add(new go.PathSegment(go.PathSegment.Line,E*.25,a*.35)),y.add(new go.PathSegment(go.PathSegment.Line,E*.25,a*.45)),y.add(new go.PathSegment(go.PathSegment.Line,E*.45,a*.45)),y.add(new go.PathSegment(go.PathSegment.Line,E*.45,a*.25)),y.add(new go.PathSegment(go.PathSegment.Line,E*.35,a*.25).close()),b}),go.Shape.defineFigureGenerator("Connector","Ellipse"),go.Shape.defineFigureGenerator("Alternative","TriangleUp"),go.Shape.defineFigureGenerator("Merge","TriangleUp"),go.Shape.defineFigureGenerator("Decision","Diamond"),go.Shape.defineFigureGenerator("DataTransmissions","Hexagon"),go.Shape.defineFigureGenerator("Gate","Crescent"),go.Shape.defineFigureGenerator("Delay","HalfEllipse"),go.Shape.defineFigureGenerator("Input","Parallelogram1"),go.Shape.defineFigureGenerator("ManualLoop","ManualOperation"),go.Shape.defineFigureGenerator("ISOProcess","Chevron"),go.Shape.defineFigureGenerator("MessageToUser","SquareArrow"),go.Shape.defineFigureGenerator("MagneticData","Cylinder1"),go.Shape.defineFigureGenerator("DirectData","Cylinder4"),go.Shape.defineFigureGenerator("StoredData","DataStorage"),go.Shape.defineFigureGenerator("SequentialData","MagneticTape"),go.Shape.defineFigureGenerator("Subroutine","Procedure")},61016:function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;(function(){if(typeof window.GGBApplet=="function"){console.warn("deployggb.js was loaded twice");return}var isRenderGGBElementEnabled=!1,scriptLoadStarted=!1,html5AppletsToProcess=null,ggbHTML5LoadedCodebaseIsWebSimple=!1,ggbHTML5LoadedCodebaseVersion=null,ggbHTML5LoadedScript=null,GGBApplet=function(){"use strict";for(var vt={},dt="5.0",te={},x=null,re=!1,Ce=!1,ze=null,we=!1,Te=null,oe=null,Fe=0;Fe<arguments.length;Fe++){var he=arguments[Fe];if(he!==null)switch(typeof he){case"number":dt=he.toFixed(1);break;case"string":he.match(new RegExp("^[0-9]\\.[0-9]+$"))?dt=he:ze=he;break;case"object":typeof he.is3D!="undefined"?x=he:te=he;break;case"boolean":re=he,Ce=!0;break}}x===null&&(x={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&&!Ce&&(re=!0)),ze!==null&&te.id===void 0&&(te.id=ze);var ye="",Oe="",Ie=!1,ve=null,ie=null,E=null,a=!1,b=null,y=null,z=null,ee=null,ne=null;te.height!==void 0&&(te.height=Math.round(te.height)),te.width!==void 0&&(te.width=Math.round(te.width));var ae=function(Je){return parseFloat(Je)>4?parseFloat(Je):5};vt.setHTML5Codebase=function(Je,xt){oe=Je,pt(Je,xt)},vt.setJavaCodebase=vt.setJavaCodebaseVersion=vt.isCompiledInstalled=vt.setPreCompiledScriptPath=vt.setPreCompiledResourcePath=function(){},vt.setHTML5CodebaseVersion=function(Je,xt){var Et=parseFloat(Je);if(Et!==NaN&&Et<5){console.log("The GeoGebra HTML5 codebase version "+Et+" is deprecated. Using version latest instead.");return}Te=Je,at(Je,xt)},vt.getHTML5CodebaseVersion=function(){return ie},vt.getParameters=function(){return te},vt.setFontsCSSURL=function(Je){ee=Je},vt.setGiacJSURL=function(Je){},vt.setJNLPFile=function(Je){ye=Je},vt.setJNLPBaseDir=function(Je){},vt.inject=function(){function Je(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var xt="auto",Et=te.id,un,Bt=!1,$t=0;$t<arguments.length;$t++){var Ne=arguments[$t];typeof Ne=="string"?(Ne=Ne.toLowerCase(),Ne.match(/^(prefer)?(java|html5|compiled|auto|screenshot)$/)?xt=Ne:Et=arguments[$t]):typeof Ne=="boolean"?Bt=Ne:Ne instanceof HTMLElement&&(un=Ne)}Tt();function Tt(){if(!we){setTimeout(Tt,200);return}xt=Pt(xt);var an=un||document.getElementById(Et);if(!an){console.log("possibly bug on ajax loading? ");return}if(vt.removeExistingApplet(an,!1),te.width===void 0&&an.clientWidth&&(te.width=an.clientWidth),te.height===void 0&&an.clientHeight&&(te.height=an.clientHeight),!(te.width&&te.height)&&xt==="html5"&&(delete te.width,delete te.height),ve=xt,xt==="screenshot")Be(an,te);else{var Ft=!1;te.hasOwnProperty("playButton")&&te.playButton||te.hasOwnProperty("clickToLoad")&&te.clickToLoad?Ft=!0:te.hasOwnProperty("playButtonAutoDecide")&&te.playButtonAutoDecide&&(Ft=(!le()||Je())&&de()),Ft?(ve="screenshot",Re(an,te,Bt,xt)):$e(an,te,Bt)}}};function le(){try{return window.self!==window.top}catch(Je){return!0}}function de(){return te.hasOwnProperty("screenshotGenerator")&&te.screenshotGenerator?!1:Math.max(screen.width,screen.height)<800}vt.getViews=function(){return x},vt.isJavaInstalled=function(){return!1};var fe=function(Je){var xt=function($t){var Ne=JSON.parse($t),Tt=function(ct){return ct.type=="G"||ct.type=="E"},an=Ne.elements?Ne.elements.filter(Tt)[0]:Ne;if(!an||!an.url){Et();return}te.fileName=an.url,be(an.settings||{}),x.is3D=!0;var Ft="https://www.geogebra.org/images/";vt.setPreviewImage(b||an.previewUrl,Ft+"GeoGebra_loading.png",Ft+"applet_play.png"),Je()},Et=function(){te.onError&&te.onError(),_t("Error: Fetching material (id "+te.material_id+") failed.",te)},un=location.host.match(/(www|stage|beta|groot|alpha).geogebra.(org|net)/)?location.host:"www.geogebra.org",Bt="/materials/"+te.material_id+"?scope=basic";Ee("https://"+un+"/api/proxy.php?path="+encodeURIComponent(Bt),xt,Et)};function be(Je){var xt=["width","height","showToolBar","showMenuBar","showAlgebraInput","allowStyleBar","showResetIcon","enableLabelDrags","enableShiftDragZoom","enableRightClick","appName"];["enableLabelDrags","enableShiftDragZoom","enableRightClick"].forEach(function(Et){Je[Et]=!!Je[Et]}),xt.forEach(function(Et){te[Et]===void 0&&Je[Et]!==void 0&&(te[Et]=Je[Et])}),te.showToolBarHelp===void 0&&(te.showToolBarHelp=te.showToolBar)}function Ee(Je,xt,Et){var un=new XMLHttpRequest;un.open("GET",Je),un.onload=function(){xt(un.responseText)},un.onerror=Et,un.send()}vt.isHTML5Installed=function(){return!0},vt.getLoadedAppletType=function(){return ve},vt.setPreviewImage=function(Je,xt,Et){b=Je,y=xt,z=Et},vt.removeExistingApplet=function(Je,xt){var Et;typeof Je=="string"&&(Je=document.getElementById(Je)),ve=null;var un=null;for(Et=0;Et<Je.childNodes.length;Et++){var Bt=Je.childNodes[Et],$t=Bt.className;$t==="applet_screenshot"?xt?(Bt.style.display="block",ve="screenshot"):Bt.style.display="none":$t!=="applet_scaler prerender"&&(Je.removeChild(Bt),un=$t&&$t.indexOf("appletParameters")!=-1?Bt.id:null,Et--)}var Ne=te.id!==void 0?te.id:un,Tt=window[Ne];Tt&&typeof Tt.getBase64=="function"&&(Tt.remove(),window[Ne]=null)},vt.refreshHitPoints=function(){if(ae(ggbHTML5LoadedCodebaseVersion)>=5)return!0;var Je=vt.getAppletObject();return Je&&typeof Je.recalculateEnvironments=="function"?(Je.recalculateEnvironments(),!0):!1},vt.startAnimation=function(){var Je=vt.getAppletObject();return Je&&typeof Je.startAnimation=="function"?(Je.startAnimation(),!0):!1},vt.stopAnimation=function(){var Je=vt.getAppletObject();return Je&&typeof Je.stopAnimation=="function"?(Je.stopAnimation(),!0):!1},vt.getAppletObject=function(){var Je=te.id!==void 0?te.id:"ggbApplet";return window[Je]},vt.resize=function(){};var pe=function(Je,xt,Et){var un=document.createElement("param");un.setAttribute("name",xt),un.setAttribute("value",Et),Je.appendChild(un)},ge=function(Je){return Je&&Je!=="false"},$e=function(Je,xt,Et){ae(ie)<=4.2&&(Et=!0);var un=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==ie||ggbHTML5LoadedCodebaseIsWebSimple&&!a)&&(un=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var Bt=document.createElement("div");Bt.classList.add("appletParameters","notranslate");var $t=xt.width,Ne=xt.height;if(xt.disableAutoScale=xt.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():xt.disableAutoScale,xt.width!==void 0)if(ae(ie)<=4.4)ge(xt.showToolBar)&&(xt.height-=7),ge(xt.showAlgebraInput)&&(xt.height-=37),xt.width<605&&ge(xt.showToolBar)&&(xt.width=605,$t=605);else{var Tt=100;(ge(xt.showToolBar)||ge(xt.showMenuBar))&&(xt.hasOwnProperty("customToolBar")&&(xt.customToolbar=xt.customToolBar),Tt=ge(xt.showMenuBar)?245:155),$t<Tt&&(xt.width=Tt,$t=Tt)}Bt.style.border="none",Bt.style.display="inline-block";for(var an in xt)xt.hasOwnProperty(an)&&an!=="appletOnLoad"&&Bt.setAttribute("data-param-"+an,xt[an]);ee&&Bt.setAttribute("data-param-fontscssurl",ee),vt.resize=function(){GGBAppletUtils.responsiveResize(Je,xt)},window.addEventListener("resize",function(Dn){vt.resize()});var Ft=typeof xt.appletOnLoad=="function"?xt.appletOnLoad:function(){};if(!Et&&xt.width!==void 0){xt.hasOwnProperty("showSplash")||Bt.setAttribute("data-param-showSplash","false");var ct=Je.querySelector(".applet_scaler.prerender"),Ct=ct!==null;if(Ct)var Ze=ct.querySelector(".ggb_preview");else{var Ze=Ye($t,Ne,xt.borderColor,!1);ct=document.createElement("div"),ct.className="applet_scaler",ct.style.position="relative",ct.style.display="block",ct.style.width=$t+"px",ct.style.height=Ne+"px"}window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(ct,"66%"),ae(ie)>=5?(xt.appletOnLoad=function(Dn){var _e=Je.querySelector(".ggb_preview");_e&&_e.parentNode.removeChild(_e),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(ct),window.GGBT_wsf_view&&$(window).trigger("resize"),Ft(Dn)},Ct||ct.appendChild(Ze)):Bt.appendChild(Ze),ct.appendChild(Bt),Ct||Je.appendChild(ct),setTimeout(function(){vt.resize()},1)}else{var Me=document.createElement("div");Me.className="applet_scaler",Me.style.position="relative",Me.style.display="block",Me.appendChild(Bt),Je.appendChild(Me),xt.appletOnLoad=function(Dn){vt.resize(),Ft(Dn)}}function et(Dn,_e){_e&&typeof _e.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(Dn,_e.appletOnLoad):renderGGBElement(Dn),_t("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",_e)}function wt(Dn,_e){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:Dn,params:_e}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(ot){et(ot.article,ot.params)}),html5AppletsToProcess=null)},ae(ie)<5&&(Dn.className+=" geogebraweb")):et(Dn,_e)}if(un){scriptLoadStarted=!0;for(var Ot=0;Ot<Bt.childNodes.length;Ot++){var Ut=Bt.childNodes[Ot].tagName;Ut==="TABLE"&&(Bt.removeChild(Bt.childNodes[Ot]),Ot--)}if(ggbHTML5LoadedScript!==null){var wn=document.querySelector('script[src="'+ggbHTML5LoadedScript+'"]');wn!=null&&wn.parentNode.removeChild(wn)}var An=document.createElement("script"),tn=function(){wt(Bt,xt)};An.src=Oe+E,ggbHTML5LoadedCodebaseIsWebSimple=a,ggbHTML5LoadedCodebaseVersion=ie,ggbHTML5LoadedScript=An.src,_t("GeoGebra HTML5 codebase loaded: '"+Oe+"'.",xt),!oe&&(!Te||Te=="5.0")?(a?webSimple.succeeded=webSimple.succeeded||webSimple():web3d.succeeded=web3d.succeeded||web3d(),tn()):Oe.requirejs?__webpack_require__.e(12).then(function(){var Dn=[__webpack_require__(12)];tn.apply(null,Dn)}.bind(this)).catch(__webpack_require__.oe):(An.onload=tn,Je.appendChild(An))}else wt(Bt,xt);xt.height=Ne,xt.width=$t},Be=function(Je,xt,Et){var un=Ye(xt.width,xt.height,xt.borderColor,Et),Bt=document.createElement("div");Bt.style.position="relative",Bt.style.display="block",Bt.style.width=xt.width+"px",Bt.style.height=xt.height+"px",Bt.className="applet_screenshot applet_scaler"+(Et?" applet_screenshot_play":""),Bt.appendChild(un);var $t=GGBAppletUtils.getScale(xt,Je,Et);Et?(Je.appendChild(Ge()),window.GGBT_wsf_view||(Je.style.position="relative")):window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(Bt,"66%"),Je.appendChild(Bt),$t!==1&&!isNaN($t)&&(GGBAppletUtils.scaleElement(Bt,$t),Bt.style.width=xt.width+"px",Bt.style.height=xt.height+"px",Bt.parentNode.style.width=xt.width*$t+"px",Bt.parentNode.style.height=xt.height*$t+"px"),vt.resize=function(){Le(Je,un,Bt,Et)},window.addEventListener("resize",function(Ne){vt.resize()}),vt.resize()};function Le(Je,xt,Et,un){if(Je.contains(xt)){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(Je.id!=="fullscreencontent")return;window.GGBT_wsf_view.setCloseBtnPosition(Je)}var Bt=GGBAppletUtils.getScale(te,Je,un);Et.parentNode!==null&&(!isNaN(Bt)&&Bt!==1?(GGBAppletUtils.scaleElement(Et,Bt),Et.parentNode.style.width=te.width*Bt+"px",Et.parentNode.style.height=te.height*Bt+"px"):(GGBAppletUtils.scaleElement(Et,1),Et.parentNode.style.width=te.width+"px",Et.parentNode.style.height=te.height+"px")),typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&GGBAppletUtils.positionCenter(Je),typeof window.GGBT_ws_header_footer=="object"&&window.GGBT_ws_header_footer.setWsScrollerHeight()}}vt.onExitFullscreen=function(Je,xt){xt.appendChild(Je)};var Re=function(Je,xt,Et,un){Be(Je,xt,!0);for(var Bt=function(){var Tt=[];for(Ne=0;Ne<Je.childNodes.length;Ne++)Tt.push(Je.childNodes[Ne]);if(window.GGBT_wsf_view){var an=window.GGBT_wsf_view.renderFullScreen(Je,xt.id),Ft=document.getElementById("fullscreencontainer"),ct=jQuery(Je).find(".fullscreencontent");ct.length>0?(an.remove(),ct.attr("id","fullscreencontent").show(),jQuery(Ft).append(ct),window.dispatchEvent(new Event("resize"))):$e(an,xt,!1),window.GGBT_wsf_view.launchFullScreen(Ft)}else ve=un,$e(Je,xt,!1);if(!window.GGBT_wsf_view)for(Ne=0;Ne<Tt.length;Ne++)Je.removeChild(Tt[Ne])},$t=Je.getElementsByClassName("ggb_preview_play"),Ne=0;Ne<$t.length;Ne++)$t[Ne].addEventListener("click",Bt,!1),$t[Ne].addEventListener("ontouchstart",Bt,!1);typeof window.ggbAppletPlayerOnload=="function"&&window.ggbAppletPlayerOnload(Je),de()&&window.GGBT_wsf_view&&$(".wsf-element-fullscreen-button").remove()},Ge=function(){var Je=document.createElement("div");if(Je.className="ggb_preview_play icon-applet-play",!window.GGBT_wsf_view){var xt='.icon-applet-play { width: 100%; height: 100%;box-sizing: border-box;position: absolute;z-index: 1001;cursor: pointer;border-width: 0px; background-color: transparent;background-repeat: no-repeat;left: 0;top: 0;background-position: center center; background-image: url("https://www.geogebra.org/images/worksheet/icon-start-applet.png");}.icon-applet-play:hover {background-image: url("https://www.geogebra.org/images/worksheet/icon-start-applet-hover.png");}',Et=document.createElement("style");Et.styleSheet?Et.styleSheet.cssText=xt:Et.appendChild(document.createTextNode(xt)),document.getElementsByTagName("head")[0].appendChild(Et)}return Je},Ye=function(Je,xt,Et,un){var Bt=document.createElement("div");Bt.className="ggb_preview",Bt.style.position="absolute",Bt.style.zIndex="90",Bt.style.width=Je-2+"px",Bt.style.height=xt-2+"px",Bt.style.top="0px",Bt.style.left="0px",Bt.style.overflow="hidden",Bt.style.backgroundColor="white";var $t="lightgrey";Et!==void 0&&(Et==="none"?$t="transparent":$t=Et),Bt.style.border="1px solid "+$t;var Ne=document.createElement("img");if(Ne.style.position="relative",Ne.style.zIndex="1000",Ne.style.top="-1px",Ne.style.left="-1px",b!==null&&Ne.setAttribute("src",b),Ne.style.opacity=.7,y!==null){var Tt,an,Ft;if(!un){Tt=document.createElement("img"),Tt.style.position="absolute",Tt.style.zIndex="1001",Tt.style.opacity=1,Ne.style.opacity=.3,an=360,an>Je/4*3&&(an=Je/4*3),Ft=an/5.8,Tt.setAttribute("src",y),Tt.setAttribute("width",an),Tt.setAttribute("height",Ft);var ct=(Je-an)/2,Ct=(xt-Ft)/2;Tt.style.left=ct+"px",Tt.style.top=Ct+"px",Bt.appendChild(Tt)}}return Bt.appendChild(Ne),Bt},Pt=function(Je){return Je=Je.toLowerCase(),Je==="html5"||Je==="screenshot"?Je:"html5"},qe=["web","webSimple","web3d","tablet","tablet3d","phone"],at=function(Je,xt){if(ie=Je,xt){pt(ie,!0);return}var Et=!re;if(Et){var un=ae(ie);!isNaN(un)&&un<4.4&&(Et=!1)}var Bt,$t;window.location.protocol.substr(0,4)==="http"?Bt=window.location.protocol:Bt="http:";var Ne=ie.indexOf("//");Ne>0?$t=ie:Ne===0?$t=Bt+ie:$t="https://www.geogebra.org/apps/5.2.814.0/";for(var Tt in qe)if(ie.slice(qe[Tt].length*-1)===qe[Tt]||ie.slice((qe[Tt].length+1)*-1)===qe[Tt]+"/"){pt($t,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&Et&&!x.is3D&&!x.AV&&!x.SV&&!x.CV&&!x.EV2&&!x.CP&&!x.PC&&!x.DA&&!x.FI&&!x.PV&&!ge(te.showToolBar)&&!ge(te.showMenuBar)&&!ge(te.showAlgebraInput)&&!ge(te.enableRightClick)&&(!te.appName||te.appName=="classic")?$t+="webSimple/":$t+="web3d/",pt($t,!1)},pt=function(Je,xt){if(Je.requirejs){Oe=Je;return}Je.slice(-1)!=="/"&&(Je+="/"),Oe=Je,xt===null&&(xt=Je.indexOf("http")===-1),Ie=xt,E="web.nocache.js",a=!1;var Et=Oe.split("/");Et.length>1&&(!xt&&Et[Et.length-2]==="webSimple"?(E="webSimple.nocache.js",a=!0):qe.indexOf(Et[Et.length-2])>=0&&(E=Et[Et.length-2]+".nocache.js")),Et=Je.split("/"),ie=Et[Et.length-3],ie.substr(0,4)==="test"?ie=ie.substr(4,1)+"."+ie.substr(5,1):(ie.substr(0,3)==="war"||ie.substr(0,4)==="beta")&&(ie="5.0");var un=parseFloat(ie);un!==NaN&&un<5&&Je.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+un+" is deprecated. Using version latest instead."),at("5.0",xt))},_t=function(Je,xt){window.console&&window.console.log&&(!xt||typeof xt.showLogging=="undefined"||xt.showLogging&&xt.showLogging!=="false")&&console.log(Je)};te.material_id!==void 0?fe(Qt):Qt();function Qt(){var Je=dt;Te!==null?Je=Te:parseFloat(Je)<5&&(Je="5.0"),at(Je,!1),oe!==null&&pt(oe,Ie),we=!0}return vt},GGBAppletUtils=function(){"use strict";function vt(){return window.GGBT_wsf_edit!==void 0}function dt(we,Te){Te!=1?(we.style.transformOrigin="0% 0% 0px",we.style.webkitTransformOrigin="0% 0% 0px",we.style.transform="scale("+Te+","+Te+")",we.style.webkitTransform="scale("+Te+","+Te+")",we.style.maxWidth="initial",we.querySelector(".ggb_preview")!==null&&(we.querySelector(".ggb_preview").style.maxWidth="initial"),we.querySelectorAll(".ggb_preview img")[0]!==void 0&&(we.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),we.querySelectorAll(".ggb_preview img")[1]!==void 0&&(we.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(we.style.transform="none",we.style.webkitTransform="none")}function te(we,Te,oe,Fe,he,ye){var Oe=null;if(ye!=null&&ye!="")for(var Ie=we.parentNode;Ie!=null;)if((" "+Ie.className+" ").indexOf(" "+ye+" ")>-1){Oe=Ie;break}else Ie=Ie.parentNode;var ve=0,ie=0,E=0,a=0,b=0,y=0,z=0;if(Oe)ve=Oe.offsetWidth,ie=Math.max(Fe?Oe.offsetWidth:0,Oe.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(ve=Math.min(window.innerWidth,document.documentElement.clientWidth),ie=Math.min(window.innerHeight,document.documentElement.clientHeight),E=ve):(ve=window.innerWidth,ie=window.innerHeight,E=window.innerWidth),we){var ee=we.getBoundingClientRect();ee.left>0&&ee.left<=ve&&(he===void 0||!he)&&(document.dir==="rtl"?(b=ve-ee.width-ee.left,y=E<=480?10:30):(y=ee.left,b=E<=480?10:30),a=y+b)}if(we&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var ne=we.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(a=40,z=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(a=0,z=40)}}return we&&((oe===void 0||!oe)&&Te>0&&Te+a<ve?ve=Te:ve-=a,typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(oe===void 0||!oe)&&(ie-=z)),{width:ve,height:ie}}function x(we,Te,oe,Fe,he){if(we.isScreenshoGenerator)return 1;var ye=Fe!==void 0&&Fe,Oe=we.noScaleMargin!=null&&we.noScaleMargin,Ie=function(ne){return ne&&ne!=="false"},ve=Ie(we.autoHeight),ie=te(Te,we.width,oe,ve,ye&&window.GGBT_wsf_view||Oe,he),E=parseInt(ie.width),a=we.width,b=we.height;if(a===void 0){var y=Te.querySelector(".appletParameters");y&&(a=y.offsetWidth,b=y.offsetHeight)}var z=E/a,ee=ye?1:ie.height/b;return oe!==void 0&&!oe&&(z=Math.min(1,z),ee=Math.min(1,ee)),Math.min(z,ee)}function re(we,Te,oe){var Fe=1,he,ye=!1;if(we.hasOwnProperty("allowUpscale")&&(ye=we.allowUpscale),we.hasOwnProperty("scale")&&(Fe=parseFloat(we.scale),(isNaN(Fe)||Fe===null||Fe===0)&&(Fe=1),Fe>1&&(ye=!0)),Te&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(ye=!0),!(we.hasOwnProperty("disableAutoScale")&&we.disableAutoScale))he=x(we,Te,ye,oe,we.scaleContainerClass);else return Fe;return ye&&(!we.hasOwnProperty("scale")||Fe===1)?he:Math.min(Fe,he)}function Ce(we){var Te=Math.min(window.innerWidth,document.documentElement.clientWidth),oe=Math.min(window.innerHeight,document.documentElement.clientHeight),Fe=we.getBoundingClientRect(),he=(Te-Fe.width)/2,ye=(oe-Fe.height)/2;ye<0&&(ye=0),we.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(he<40?we.style.left="40px":we.style.left=he+"px",we.style.top=ye+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(ye<40?we.style.top="40px":we.style.top=ye+"px",we.style.left=he+"px")}function ze(we,Te){var oe=we.querySelector(".appletParameters");if(oe){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(Te.id!==oe.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(we)}if(oe.parentElement&&/fullscreen/.test(oe.parentElement.className))return;var Fe=re(Te,we);vt()&&oe.setAttribute("data-param-scale",Fe);for(var he=null,ye=0;ye<we.childNodes.length;ye++)if(we.childNodes[ye].className!==void 0&&we.childNodes[ye].className.match(/^applet_scaler/)){he=we.childNodes[ye];break}if(he!==null&&he.querySelector(".noscale")!==null)return;var Oe=Te.id!==void 0?Te.id:"ggbApplet",Ie=window[Oe];(Ie==null||!Ie.recalculateEnvironments)&&he!==null&&!he.className.match(/fullscreen/)&&(he.parentNode.style.transform="",!isNaN(Fe)&&Fe!==1?(he.parentNode.style.width=Te.width*Fe+"px",he.parentNode.style.height=Te.height*Fe+"px",dt(he,Fe)):(dt(he,1),he.parentNode.style.width=Te.width+"px",he.parentNode.style.height=Te.height+"px")),typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&Ce(we),window.GGBT_wsf_view&&!window.GGBT_wsf_view.isFullscreen()&&window.GGBT_wsf_general.adjustContentToResize($(oe).parents(".content-added-content"))}}return{responsiveResize:ze,isFlexibleWorksheetEditor:vt,positionCenter:Ce,getScale:re,scaleElement:dt}}();__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 vt=n.location.search;return vt.indexOf(J)!=-1||vt.indexOf(K)!=-1}function q(vt,dt){}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(vt){var dt=s[L].bindings;s[L].bindings=function(){for(var te=dt?dt():{},x=vt[webModule.__softPermutationId],re=O;re<x.length;re++){var Ce=x[re];te[Ce[O]]=Ce[P]}return te}};var t;function u(){return v(),t}function v(){if(!t){var vt=o.createElement(Q);if(vt.id=L,vt.style.cssText=R+S,vt.tabIndex=-1,o.body.appendChild(vt),t=vt.contentWindow.document,navigator.userAgent.indexOf(T)==-1){t.open();var dt=document.compatMode==U?V:W;t.write(dt+X),t.close()}}}function w(vt){function dt(x){function re(){return typeof o.readyState==Y?typeof o.body!=Y&&o.body!=null:/loaded|complete/.test(o.readyState)}var Ce=re();if(Ce){x();return}function ze(){if(!Ce){if(!re())return;Ce=!0,x(),o.removeEventListener&&o.removeEventListener(Z,ze,!1),we&&clearInterval(we)}}o.addEventListener&&o.addEventListener(Z,ze,!1);var we=setInterval(function(){ze()},$)}function te(x){var re=u(),Ce=re.body,ze=re.createElement(_);ze.language=ab,ze.crossOrigin=W,ze.src=x,webModule.__errFn&&(ze.onerror=function(){webModule.__errFn(L,new Error(bb+x))}),Ce.appendChild(ze)}dt(function(){te(vt)})}webModule.__startLoadingFragment=function(vt){return C(vt)},webModule.__installRunAsyncCode=function(vt){var dt=u(),te=dt.body,x=dt.createElement(_);x.language=ab,x.text=vt,te.appendChild(x),te.removeChild(x)};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(vt){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(vt){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(vt){var dt=c[vt];return dt==null?null:dt},r=d,webModule.__errFn=e}function B(){function vt(we){var Te=we.lastIndexOf(rb);Te==-1&&(Te=we.length);var oe=we.indexOf(sb);oe==-1&&(oe=we.length);var Fe=we.lastIndexOf(tb,Math.min(oe,Te));return Fe>=O?we.substring(O,Fe+P):W}function dt(we){if(!we.match(/^\w+:\/\//)){var Te=o.createElement(ub);Te.src=we+vb,we=vt(Te.src)}return we}function te(){var we=__gwt_getMetaProperty(wb);return we!=null?we:W}function x(){for(var we=o.getElementsByTagName(_),Te=O;Te<we.length;++Te)if(we[Te].src.indexOf(xb)!=-1)return vt(we[Te].src);return W}function re(){var we=o.getElementsByTagName(yb);return we.length>O?we[we.length-P].href:W}function Ce(){var we=o.location;return we.href==we.protocol+zb+we.host+we.pathname+we.search+we.hash}var ze=te();return ze==W&&(ze=x()),ze==W&&(ze=re()),ze==W&&Ce()&&(ze=vt(o.location.href)),ze=dt(ze),ze}function C(vt){return vt.match(/^\//)||vt.match(/^[a-zA-Z]+:\/\//)?vt:webModule.__moduleBase+vt}function D(){var vt=[],dt=O,te=[],x=[];function re(we){var Te=x[we](),oe=te[we];if(Te in oe)return Te;var Fe=[];for(var he in oe)Fe[oe[he]]=he;throw r&&r(we,Fe,Te),null}if(__gwt_isKnownPropertyValue=function(we,Te){return Te in te[we]},webModule.__getPropMap=function(){var we={};for(var Te in te)te.hasOwnProperty(Te)&&(we[Te]=re(Te));return we},webModule.__computePropValue=re,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var Ce;try{Ce=Cb;var ze=Ce.indexOf(Db);ze!=-1&&(dt=parseInt(Ce.substring(ze+P),$),Ce=Ce.substring(O,ze))}catch(we){}return webModule.__softPermutationId=dt,C(Ce+Eb)}function F(){n.__gwt_stylesLoaded||(n.__gwt_stylesLoaded={})}A(),webModule.__moduleBase=window.ENV==="build"?"/react/build/js/mathematicalGraphics/"+name+"/":"/js/mathematicalGraphics/"+name+"/",s[L].moduleBase=webModule.__moduleBase;var G=D();return F(),w(G),!0}return webModule},typeof window.web3d!="function"&&(window.web3d=GGBAppletUtils.makeModule("web3d","A18F540516513B1292CA7CEF2F6AFC7E")),typeof window.webSimple!="function"&&(window.webSimple=GGBAppletUtils.makeModule("webSimple","96B09BF1B436BF53F0DF54116700F16A")),window.GGBApplet=GGBApplet})()},15476:function(vt,dt,te){"use strict";te.d(dt,{Ax:function(){return ze},Ds:function(){return we},KI:function(){return oe},SI:function(){return Ce},f1:function(){return re}});var x=te(11320);function re(Fe){let he=!0;if(Fe.length>0){for(let ye=0;ye<Fe.length;ye++)if(Fe[ye].compile_success==0||!Fe[ye].compile_success){he=!1;break}}else he=!1;return he}function Ce(Fe,he=""){let ye=[];for(let Oe=0;Oe<Fe.length;Oe++){let Ie=Fe[Oe],ve=he?`${he}/${Ie.name}`:`${Ie.name}`;ye.push({title:Ie.name,type:Ie.type,isLeaf:Ie.type!=="tree",key:ve})}return ye}function ze(Fe,he,ye){for(let Oe=0;Oe<Fe.length;Oe++){let Ie=Fe[Oe];if(Ie.key===he){Ie.children=ye;break}Ie.children&&ze(Ie.children,he,ye)}return Fe}function we(Fe,he,ye){let Oe;return function(){let Ie=this,ve=arguments,ie=function(){Oe=null,ye||Fe.apply(Ie,ve)},E=ye&&!Oe;clearTimeout(Oe),Oe=setTimeout(ie,he),E&&Fe.apply(Ie,ve)}}const Te=!0,oe=x.Z.API_SERVER},60580:function(vt,dt,te){"use strict";te.d(dt,{Z:function(){return ie}});var x=te(71577),re=te(67294),Ce=Object.defineProperty,ze=Object.defineProperties,we=Object.getOwnPropertyDescriptors,Te=Object.getOwnPropertySymbols,oe=Object.prototype.hasOwnProperty,Fe=Object.prototype.propertyIsEnumerable,he=(E,a,b)=>a in E?Ce(E,a,{enumerable:!0,configurable:!0,writable:!0,value:b}):E[a]=b,ye=(E,a)=>{for(var b in a||(a={}))oe.call(a,b)&&he(E,b,a[b]);if(Te)for(var b of Te(a))Fe.call(a,b)&&he(E,b,a[b]);return E},Oe=(E,a)=>ze(E,we(a)),Ie=(E,a)=>{var b={};for(var y in E)oe.call(E,y)&&a.indexOf(y)<0&&(b[y]=E[y]);if(E!=null&&Te)for(var y of Te(E))a.indexOf(y)<0&&Fe.call(E,y)&&(b[y]=E[y]);return b},ve=(E,a,b)=>new Promise((y,z)=>{var ee=le=>{try{ae(b.next(le))}catch(de){z(de)}},ne=le=>{try{ae(b.throw(le))}catch(de){z(de)}},ae=le=>le.done?y(le.value):Promise.resolve(le.value).then(ee,ne);ae((b=b.apply(E,a)).next())});const ie=E=>{var a=E,{children:b}=a,y=Ie(a,["children"]);const[z,ee]=(0,re.useState)(!1);return re.createElement(x.ZP,Oe(ye({},y),{loading:z,onClick:ne=>ve(void 0,null,function*(){try{ee(!0),yield y.onClick(ne),ee(!1)}catch(ae){console.error(ae),ee(!1)}})}),b)}},63037:function(vt,dt,te){"use strict";te.d(dt,{Z:function(){return ve}});var x=te(67294),re=te(2453),Ce=te(69677),ze={codeBox:"codeBox___WpkVl"},we=te(94184),Te=te.n(we),oe=Object.defineProperty,Fe=(ie,E,a)=>E in ie?oe(ie,E,{enumerable:!0,configurable:!0,writable:!0,value:a}):ie[E]=a,he=(ie,E,a)=>Fe(ie,typeof E!="symbol"?E+"":E,a),ye=(ie,E,a)=>new Promise((b,y)=>{var z=ae=>{try{ne(a.next(ae))}catch(le){y(le)}},ee=ae=>{try{ne(a.throw(ae))}catch(le){y(le)}},ne=ae=>ae.done?b(ae.value):Promise.resolve(ae.value).then(z,ee);ne((a=a.apply(ie,E)).next())});class Oe extends x.Component{constructor(E){super(E),he(this,"canvas"),he(this,"randomNum",(a,b)=>Math.floor(Math.random()*(b-a)+a)),he(this,"drawPic",()=>{this.randomCode()}),he(this,"reloadPic",()=>{this.drawPic()}),he(this,"changeCode",a=>{console.log(a.target.value,222),this.setState({value:a.target.value,showError:!1})}),he(this,"onVerify",()=>{let a;return this.state.value.toLowerCase()!==""&&this.state.value.toLowerCase()!==this.state.code.toLowerCase()?(a=!0,re.ZP.error("\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u9A8C\u8BC1\u7801"),this.reloadPic()):this.state.value.toLowerCase()===""?(a=!0,re.ZP.error("\u8BF7\u8F93\u5165\u9A8C\u8BC1\u7801")):this.state.value.toLowerCase()===this.state.code.toLowerCase()&&(a=!1),this.setState({showError:a}),a}),this.canvas=x.createRef(),this.state={value:"",code:"",codeLength:4,fontSizeMin:20,fontSizeMax:22,backgroundColorMin:240,backgroundColorMax:250,colorMin:10,colorMax:20,lineColorMin:40,lineColorMax:180,contentWidth:96,contentHeight:38,showError:!1}}componentDidMount(){this.drawPic()}randomColor(E,a){const b=this.randomNum(E,a),y=this.randomNum(E,a),z=this.randomNum(E,a);return`rgb(${b}, ${y}, ${z})`}drawText(E,a,b){E.fillStyle=this.randomColor(this.state.colorMin,this.state.colorMax);const y=this.randomNum(this.state.fontSizeMin,this.state.fontSizeMax);E.font=y+"px SimHei";const z=10,ee=(this.state.contentWidth-40)/(this.state.code.length-1);let ne=z;b>0&&(ne=z+b*ee);let ae=this.randomNum(this.state.fontSizeMax,this.state.contentHeight-5);y>40&&(ae=40);const le=this.randomNum(-10,10);E.translate(ne,ae),E.rotate(le*Math.PI/180),E.fillText(a,0,0),E.rotate(-le*Math.PI/180),E.translate(-ne,-ae)}drawLine(E){for(let a=0;a<1;a++)E.strokeStyle=this.randomColor(this.state.lineColorMin,this.state.lineColorMax),E.beginPath(),E.moveTo(this.randomNum(0,this.state.contentWidth),this.randomNum(0,this.state.contentHeight)),E.lineTo(this.randomNum(0,this.state.contentWidth),this.randomNum(0,this.state.contentHeight)),E.stroke()}drawDot(E){for(let a=0;a<100;a++)E.fillStyle=this.randomColor(0,255),E.beginPath(),E.arc(this.randomNum(0,this.state.contentWidth),this.randomNum(0,this.state.contentHeight),1,0,2*Math.PI),E.fill()}randomCode(){let E="";const a="QWERTYUPLKJHGFDSAZXCVBNMqwertyupkjhgfdsazxcvbnm1234567890";for(let b=0;b<this.state.codeLength;b++){const y=Math.floor(Math.random()*57);E+=a[y]}this.setState({code:E},()=>{const y=this.canvas.current.getContext("2d");y.textBaseline="bottom",y.fillStyle=this.randomColor(this.state.backgroundColorMin,this.state.backgroundColorMax),y.fillRect(0,0,this.state.contentWidth,this.state.contentHeight);for(let z=0;z<this.state.code.length;z++)this.drawText(y,this.state.code[z],z);this.drawLine(y),this.drawDot(y)})}render(){const{className:E,width:a=300}=this.props;return x.createElement("div",{className:Te()(ze.codeBox,E),style:{width:a}},x.createElement("aside",null,x.createElement(Ce.default,{value:this.state.value,onChange:this.changeCode,placeholder:"\u8BF7\u8F93\u5165\u56FE\u7247\u4E2D\u7684\u9A8C\u8BC1\u7801"})),x.createElement("div",null,x.createElement("canvas",{onClick:this.reloadPic,ref:this.canvas,width:"100",height:"30"}),x.createElement("div",{className:"current",onClick:this.reloadPic},"\u770B\u4E0D\u6E05\uFF1F\u6362\u4E00\u5F20")))}}const Ie=(ie,E)=>{let a;Modal.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:React.createElement("div",null,React.createElement("p",null,E),React.createElement(Oe,{ref:b=>a=b})),onOk:()=>ye(void 0,null,function*(){if(a.onVerify())return Promise.reject();ie()})})};var ve=Oe},73646:function(vt,dt,te){"use strict";te.d(dt,{Z:function(){return he}});var x=te(67294),re=te(69677),Ce=te(66309),ze=te(2453),we={flex:"flex___eLcnP",flex1:"flex1___yUTT7",color666:"color666___TiUhG",error:"error___gTTtv",deleteIcon:"deleteIcon___mnZW1",addIcon:"addIcon___JC5NS"},Te=te(38308);const{TextArea:oe}=re.default;class Fe extends x.Component{constructor(Oe){super(Oe),this.state={inputVisible:!1,EditInputIndex:-1}}render(){let{index:Oe,onAnswerChange:Ie,addChildAnswer:ve,exerciseIsPublish:ie,answers:E,activeOptionErrorIndex:a,flex:b="0 0 1000px"}=this.props;console.log("----",E);let{inputVisible:y,EditInputIndex:z}=this.state;return x.createElement("div",{className:we.flex},x.createElement("div",{className:`${we.color666} mb5 mt6`,style:{flex:"0 0 90px"}},"\u7B54\u6848(\u586B\u7A7A",Oe+1,"):"),x.createElement("div",{style:{border:"1px solid #f6f6f6",flex:1,padding:10}},E==null?void 0:E.map((ee,ne)=>x.createElement(x.Fragment,null,z!==ne?(ee==null?void 0:ee.length)>0?x.createElement(Ce.default,{className:"edit-tag",key:ee,closable:!((E==null?void 0:E.length)===1&&ne===0),onClose:ae=>{ae.preventDefault(),(E==null?void 0:E.length)===1&&ne===0?this.props.deleteChildAnswermain(Oe,ne):this.props.deleteChildAnswer(Oe,ne)}},x.createElement("span",{onDoubleClick:ae=>{this.setState({EditInputIndex:ne}),ae.preventDefault()}},ee)):x.createElement(re.default,{defaultValue:ee,style:{width:78,marginRight:8,height:24,verticalAlign:"top"},onBlur:ae=>{if(ae.target.value.replaceAll(" ","").length<=0){ze.ZP.info("\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7EAF\u7A7A\u683C");return}Ie(Oe,ne,ae.target.value),this.setState({EditInputIndex:-1,inputVisible:!1})}}):x.createElement(re.default,{defaultValue:ee,style:{width:78,marginRight:8,height:24,verticalAlign:"top"},onBlur:ae=>{if(ae.target.value.replaceAll(" ","").length<=0){ze.ZP.info("\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7EAF\u7A7A\u683C");return}Ie(Oe,ne,ae.target.value),this.setState({EditInputIndex:-1,inputVisible:!1})}}))),!y&&x.createElement(Ce.default,{className:"site-tag-plus",onClick:()=>{ve(Oe),this.setState({inputVisible:!0})}},x.createElement(Te.Z,null)," \u65B0\u589E\u7B54\u6848")))}}var he=Fe},35566:function(vt,dt,te){"use strict";te.d(dt,{Z:function(){return ie}});var x=te(67294),re=te(35567),Ce=Object.defineProperty,ze=Object.defineProperties,we=Object.getOwnPropertyDescriptors,Te=Object.getOwnPropertySymbols,oe=Object.prototype.hasOwnProperty,Fe=Object.prototype.propertyIsEnumerable,he=(E,a,b)=>a in E?Ce(E,a,{enumerable:!0,configurable:!0,writable:!0,value:b}):E[a]=b,ye=(E,a)=>{for(var b in a||(a={}))oe.call(a,b)&&he(E,b,a[b]);if(Te)for(var b of Te(a))Fe.call(a,b)&&he(E,b,a[b]);return E},Oe=(E,a)=>ze(E,we(a)),Ie=(E,a,b)=>he(E,typeof a!="symbol"?a+"":a,b);const ve="\u2581";class ie extends x.Component{constructor(){super(...arguments),Ie(this,"getChCountBeforeCursor",(a,b)=>{const y=b.line;let z=0;for(let ne=0;ne<y;ne++)z+=a.getLine(ne).split(ve).length-1;const ee=a.getLine(y).substring(0,b.ch);return z+=ee.split(ve).length-1,z}),Ie(this,"onCMBeforeChange",(a,b)=>{const y=a.getRange(b.from,b.to);let z=0;if(b.text.forEach(ee=>{z+=ee.split(ve).length-1}),y&&y.indexOf(ve)!=-1){const ee=y.split(ve).length-1,ne=this.getChCountBeforeCursor(a,b.from);console.log(`\u5220\u9664${ee}\u4E2A\uFF0C \u4E4B\u524D\u6709${ne}\u4E2A\uFF0C\u65B0\u589E${z}\u4E2A`),this.props.deleteEmptyDisabled?b.cancel():this.props.onPlaceholderChange&&this.props.onPlaceholderChange(ne,ee,z)}else if(z){const ee=this.getChCountBeforeCursor(a,b.from);console.log(`\u65B0\u589E${z}\u4E2A\uFF0C\u4E4B\u524D\u6709${ee}\u4E2A`),this.props.onPlaceholderChange&&this.props.onPlaceholderChange(ee,0,z)}})}render(){return x.createElement(re.Z,Oe(ye({},this.props),{onCMBeforeChange:this.onCMBeforeChange}))}}},20670:function(vt,dt,te){"use strict";te.d(dt,{Z:function(){return Te}});var x=te(55241),re={text:"text___FxbAX",wrap:"wrap___UlBQ1",contact:"contact____pUDq",img:"img___BapAv"},Ce=te(32637),ze=te(67294),Te=({type:oe,style:Fe})=>{const he=ze.createElement("div",{className:re.wrap,onClick:ye=>{ye.preventDefault(),ye.stopPropagation()}},ze.createElement("p",null,oe==="shixun"||oe==="paths"?"\u5F53\u524D\u5B9E\u8DF5\u9879\u76EE\u662F\u9AD8\u6D88\u8017\u7C7B\u578B\u7684\u5B9E\u9A8C\u3002":"\u5F53\u524D\u8BD5\u5377\u5305\u542B\u9AD8\u6D88\u8017\u7C7B\u578B\u7684\u5B9E\u9A8C\u3002",ze.createElement("br",null),"\u6839\u636E\u5E73\u53F0\u4F7F\u7528\u89C4\u5219\uFF0C\u9700\u8981\u6388\u6743\u624D\u80FD\u4F7F\u7528\u3002",oe==="paths"?"\u53D1\u9001\u5230\u8BFE\u5802":"\u53D1\u5E03","\u4F7F\u7528\u4E4B\u524D\uFF0C\u8BF7\u5148\u8054\u7CFB\u5E73\u53F0\u7BA1\u7406\u5458\u83B7\u53D6\u6388\u6743\u7801\u3002"),ze.createElement("div",{className:re.contact},ze.createElement("div",{className:re.img},ze.createElement("img",{src:Ce,width:"124px",height:"124px"})),ze.createElement("div",{className:"tc font14 mt10",style:{color:"#777A93"}},"\u626B\u4E00\u626B\uFF0C\u83B7\u53D6\u6388\u6743\u7801")));return ze.createElement(x.Z,{content:he},ze.createElement("span",{className:re.text,style:Fe},"\u9AD8\u6D88\u8017"))}},63205:function(vt,dt,te){"use strict";te.d(dt,{Z:function(){return Oe}});var x=te(67294),re={imageDimensions:"imageDimensions___a7crR",img:"img___Kroat",fullWidth:"fullWidth___c492T"},Ce=te(94184),ze=te.n(Ce),we=te(57953),Te=te(15979),oe=te(33170),Fe=te(28706),he=(Ie,ve,ie)=>new Promise((E,a)=>{var b=ee=>{try{z(ie.next(ee))}catch(ne){a(ne)}},y=ee=>{try{z(ie.throw(ee))}catch(ne){a(ne)}},z=ee=>ee.done?E(ee.value):Promise.resolve(ee.value).then(b,y);z((ie=ie.apply(Ie,ve)).next())}),Oe=({data:Ie,className:ve,fullWidth:ie,style:E={},onClose:a,onOk:b,showFullTools:y,noAssociationId:z})=>{const ee=(0,x.useRef)(null),ne=(0,x.useRef)(null),ae=(0,x.useRef)(null),le=(0,x.useRef)(null),[de,fe]=(0,x.useState)(!1),[be,Ee]=(0,x.useState)("\u6B63\u5728\u52A0\u8F7D\u4E2D");(0,x.useEffect)(()=>{ae.current||(ae.current=document.createElement("style"),document.head.appendChild(ae.current)),Ie!=null&&Ie.visible?(document.body.setAttribute("data-custom","y-hidden"),ae.current.innerHTML=" html { overflow-y: hidden; }",Ie!=null&&Ie.src&&pe()):(document.body.removeAttribute("data-custom"),ae.current&&(document.head.removeChild(ae.current),ae.current=null))},[Ie==null?void 0:Ie.visible]);const pe=()=>he(void 0,null,function*(){fe(!0),Ee("\u6B63\u5728\u52A0\u8F7D\u4E2D");const Re=yield(0,Fe.ZJ)(Ie==null?void 0:Ie.src);ee.current.src="",ee.current.src=Re,ee.current.onload=function(){Le()},fe(!1),Ee("")}),ge=()=>{document.body.removeAttribute("data-custom"),ae.current.innerHTML=" ",a()},$e=Re=>he(void 0,null,function*(){fe(!0),Ee("\u6B63\u5728\u4FDD\u5B58\u4E2D");const Ge=yield(0,oe.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Ie.title,file:Re.dataUrl}});Ge!=null&&Ge.id&&!z?(yield(0,oe.ZP)(`/api/attachments/${Ie.id}/add_subitem.json`,{method:"post",body:{subitem_id:Ge==null?void 0:Ge.id,settings:JSON.stringify(Re.state)}})).status===0&&b():Ge!=null&&Ge.id&&b(Ge),document.body.removeAttribute("data-custom"),ae.current.innerHTML=" ",fe(!1),Ee("")}),Be=()=>{const Re=document.querySelector('a[href="https://markerjs.com/"]');Re&&Re.parentNode&&(Re.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(Ye=>{const Pt=document.querySelector(Ye.name);Pt&&Pt.setAttribute("title",Ye.title)})},Le=()=>{ne.current=new Te.hP(ee.current),ne.current.targetRoot=le.current,ne.current.addEventListener("render",$e),ne.current.addEventListener("beforeclose",ge),y&&(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(),Ie!=null&&Ie.snapshotData&&ne.current.restoreState(Ie.snapshotData),setTimeout(()=>{window.scrollTo(0,0),Be()},300)};return x.createElement(x.Fragment,null,(Ie==null?void 0:Ie.visible)&&x.createElement(we.Z,{spinning:de,tip:be,style:{position:"absolute"}},x.createElement("div",{ref:le,className:ze()(re.imageDimensions,ve,ie?re.fullWidth:""),style:E},x.createElement("img",{className:re.img,ref:ee}))))}},35713:function(vt,dt,te){"use strict";var x=te(67294),re=te(71736),Ce=te(84279),ze=te(36527),we=te(14446),Te=te(67294);const oe=(0,x.forwardRef)(({callback:Fe,width:he,onChange:ye,disabled:Oe,readOnly:Ie,type:ve="",value:ie="",style:E={}},a)=>{const b=(0,x.useRef)(),y=(0,x.useRef)(),[z,ee]=(0,x.useState)(0),[ne,ae]=(0,x.useState)(0),[le,de]=(0,x.useState)(!1),fe=()=>{var ge=document.createElement("div");ge.innerHTML=b.current.getValue();var $e=ge.innerText;return Fe&&Fe($e),$e};(0,x.useImperativeHandle)(a,()=>({getData:fe}));const be=ge=>{ge.preventDefault();const $e=ge.clientX-z,Be=ge.clientY-ne;document.body.onmousemove=Le=>{let Re=Le.clientX-$e,Ge=Le.clientY-Be;const Ye=document.getElementsByClassName("markdown-popup-form")[0],Pt=window.innerWidth-Ye.offsetWidth,qe=window.innerHeight-Ye.offsetHeight;Re=Math.max(0,Math.min(Re,Pt)),Ge=Math.max(0,Math.min(Ge,qe)),Ee(Le.clientX,Le.clientY,$e,Be)&&(ee(Re),ae(Ge))},document.body.onmouseup=function(){document.body.onmousemove=null}},Ee=(ge,$e,Be,Le)=>{const Re=document.body.clientHeight,Ge=document.body.clientWidth;return ge<20&&Be>ge||ge>Ge-20&&Be<ge||$e<20&&Le>$e||$e>Re-20&&Le<$e?(document.body.onmousemove=null,document.body.onmouseup=null,!1):!0};(0,x.useEffect)(()=>{le&&setTimeout(()=>{const ge=document.getElementsByClassName("markdown-popup-form")[0],$e=window.innerWidth/2-ge.offsetWidth/2,Be=window.innerHeight/2-ge.offsetHeight/2;ee($e),ae(Be)},0)},[le]);const pe=()=>{Oe||Ie||de(!0)};return Te.createElement("div",{style:E},Te.createElement("div",{style:{width:he||"100%",position:"relative"},className:`${re.Z.mathFillWrap} ${Oe||Ie?"cursorDefault":""}`,onClick:()=>pe()},Te.createElement("math-field",{disabled:Oe,locale:"zh_cn",class:`${re.Z.mathField} ${ve}`,readOnly:Ie,placeholder:"\u8BF7\u8F93\u5165\u516C\u5F0F",ref:b,style:{width:"100%",fontSize:ie?18:14},value:ie||""})),Te.createElement(we.default,{maskClosable:!1,centered:!0,width:860,style:{position:"absolute",left:z,top:ne},title:Te.createElement("div",{style:{cursor:"move"},onMouseDown:be},"\u8F93\u5165\u516C\u5F0F"),open:le,onOk:()=>{const ge=y.current.getData();b.current.setValue(ge),ye(ge),de(!1)},onCancel:()=>{de(!1)},destroyOnClose:!0,className:"markdown-popup-form"},Te.createElement(ze.Z,{value:ie,ref:y,onChange:ye,showSaveButton:!1})))});dt.Z=oe},36527:function(vt,dt,te){"use strict";var x=te(67294),re=te(71230),Ce=te(15746),ze=te(66368),we=te(71577),Te=te(85725),oe=te(71736),Fe=te(84279),he=te(67294);const ye=(0,x.forwardRef)(({callback:Oe,showSaveButton:Ie,value:ve=""},ie)=>{const E=(0,x.useRef)(),a=[{name:"\u5206\u6570\u5F97\u5206",value:"\\frac{x}{y}",children:[{name:"\u5206\u6570 Fractions",data:[{value:"\\frac{a}{b}"},{value:"x\\tfrac{x}{a} "},{value:"\\mathrm{d}t"},{value:"\\partial t"},{value:"\\frac{\\partial y}{\\partial x}"},{value:"\\nabla\\psi"},{value:"\\frac{\\partial^2}{\\partial x_1\\partial x_2}y"},{value:"\\cfrac{1}{a + \\cfrac{7}{b + \\cfrac{2}{9}}} = c"}]},{name:"\u5BFC\u6570 Derivative",data:[{value:"\\dot{a} "},{value:"\\ddot{a}"},{value:"{f}^{\\prime}"},{value:"{f}^{\\prime\\prime}"},{value:"{f}^{(n)}"}]},{name:"\u6A21\u7B97\u672F Modular arithmetic",data:[{value:"a \\bmod b"},{value:"a \\equiv b \\pmod{m} "},{value:"\\gcd(m, n) "},{value:"\\operatorname{lcm}(m, n) "}]}]},{name:"\u6839\u5F0F\u89D2\u6807",value:"\\sqrt{x}",children:[{name:"\u6839\u5F0F Radicals",data:[{value:"\\sqrt{x}"},{value:"\\sqrt[y]{x}"}]},{name:"\u4E0A\u4E0B\u6807 Sub&Super",data:[{value:"x^{a}"},{value:"x_{a}"},{value:"x_{a}^{b} "},{value:"_{a}^{b} x"},{value:"x_{a}^{b} "}]},{name:"\u91CD\u97F3\u7B26\u53CA\u5176\u4ED6 Accents and Others",data:[{value:"\\hat{a} "},{value:"\\sqrt[y]{x}"},{value:"\\check{} "},{value:"\\grave{a} "},{value:"\\acute{a}"},{value:"\\tilde{a}"},{value:"\\breve{a}"},{value:"\\bar{a}"},{value:"\\vec{a}"},{value:"\\not{a}"},{value:"\\widetilde{abc}"},{value:"\\widehat{abc}"},{value:"\\overleftarrow{abc} "},{value:"\\overrightarrow{abc}"},{value:"\\overline{abc}"},{value:"\\underline{abc}"},{value:"\\overbrace{abc}"},{value:"\\underbrace{abc}"},{value:"\\overset{a}{abc}"},{value:"\\underset{a}{abc} \\stackrel\\frown{ab}"},{value:"\\overline{ab} "},{value:"\\overleftrightarrow{ab}"},{value:"\\overset{a}{\\leftarrow}"},{value:"\\overset{a}{\\rightarrow}"},{value:"\\xleftarrow[abc]{a}"},{value:"\\xrightarrow[abc]{a} "}]}]},{name:"\u6781\u9650\u5BF9\u6570",value:"\\lim_{x \\to 0}",children:[{name:"\u6781\u9650 Limits",data:[{value:"\\lim a"},{value:"\\lim_{x \\to 0}"},{value:"\\lim_{x \\to \\infty}"},{value:"\\max_b{a}"},{value:"\\min_a{b}"}]},{name:"\u5BF9\u6570\u6307\u6570 Logarithms and exponentials",data:[{value:"\\log_{a}{b}"},{value:"\\lg_{a}{b}"},{value:"\\ln_{a}{b}"},{value:"\\exp a"}]},{name:"\u754C\u9650 Bounds",data:[{value:"\\min x"},{value:"\\sup t"},{value:"\\inf s"},{value:"\\lim u"},{value:"\\limsup w"},{value:"\\dim p"},{value:"\\ker\\phi "}]}]},{name:"\u4E09\u89D2\u51FD\u6570",value:"\\sin a",children:[{name:"\u4E09\u89D2\u51FD\u6570 Trigonometric functions",data:[{value:"\\sin a"},{value:"\\cos a"},{value:"\\tan a"},{value:"\\cot a "},{value:"\\sec a "},{value:"\\csc a "}]},{name:"\u53CD\u4E09\u89D2\u51FD\u6570 Inverse trigonometric functions",data:[{value:"\\sin^{-1}"},{value:"\\cos^{-1}"},{value:"\\tan^{-1}"},{value:"\\cot^{-1}"},{value:"\\sec^{-1}"},{value:"\\csc^{-1}"},{value:"\\arcsin a"},{value:"\\arccos a"},{value:"\\arctan a"},{value:"\\operatorname{arccot} a"},{value:"\\operatorname{arcsec} a"},{value:"\\operatorname{arccsc} a"}]},{name:"\u53CC\u66F2\u51FD\u6570 Hyperblic functions",data:[{value:"\\sinh a"},{value:"\\cosh a"},{value:"\\tanh a"},{value:"\\coth a"},{value:"\\operatorname{sech} a"},{value:"\\operatorname{csch} a"}]},{name:"\u53CD\u53CC\u66F2\u51FD\u6570 Inverse hyperbolic functions",data:[{value:"\\sinh^{-1}"},{value:"a\\cosh^{-1} a"},{value:"\\tanh^{-1} a"},{value:"\\coth^{-1} a"},{value:"\\operatorname{sech}^{-1} a"},{value:"\\operatorname{csch}^{-1} a"}]}]},{name:"\u79EF\u5206\u8FD0\u7B97",value:"\\int_{a}^{b}",children:[{name:"\u79EF\u5206 Integral",data:[{value:"\\int"},{value:"\\int_{a}^{b}"},{value:"\\int\\limits_{a}^{b}"}]},{name:"\u53CC\u91CD\u79EF\u5206 Double integral",data:[{value:"\\iint"},{value:"\\iint_{a}^{b} "},{value:"\\iint\\limits_{a}^{b} "}]},{name:"\u4E09\u91CD\u79EF\u5206 Triple integral",data:[{value:"\\iiint"},{value:"\\iiint_{a}^{b}"},{value:"\\iiint\\limits_{a}^{b} "}]},{name:"\u66F2\u7EBF\u79EF\u5206 Closed line or path integral",data:[{value:"\\oint"},{value:"\\oint_{a}^{b} "}]}]},{name:"\u5927\u578B\u8FD0\u7B97",value:"\\sum_{a}^{b}",children:[{name:"\u6C42\u548C Summation",data:[{value:"\\sum"},{value:"\\sum_{a}^{b}"},{value:"{\\textstyle \\sum_{a}^{b}} "}]},{name:"\u4E58\u79EF\u4F59\u79EF Product and coproduct",data:[{value:"\\prod"},{value:"\\prod_{a}^{b}"},{value:"{\\textstyle \\prod_{a}^{b}}"},{value:"\\coprod"},{value:"\\coprod_{a}^{b}"},{value:"{\\textstyle \\coprod_{a}^{b}} "}]},{name:"\u5E76\u96C6\u4EA4\u96C6 Union and intersection",data:[{value:"\\bigcup"},{value:"\\bigcup_{a}^{b}"},{value:"{\\textstyle \\bigcup_{a}^{b}}"},{value:"\\bigcap"},{value:"\\bigcap_{a}^{b}"}]},{name:"\u6790\u53D6\u5408\u53D6 Disjunction and conjunction",data:[{value:"\\bigvee"},{value:"\\bigvee_{a}^{b}"},{value:"\\bigwedge"},{value:"\\bigwedge_{a}^{b}"}]}]},{name:"\u62EC\u53F7\u53D6\u6574",value:"\\left [ \\left ( \\right ) \\right ] ",children:[{name:"\u62EC\u53F7 Brackets",data:[{value:"\\left ( \\right )"},{value:"\\left [ \\right ]"},{value:"\\left \\langle \\right \\rangle "},{value:"\\left | \\right | "},{value:"\\left \\lfloor \\right \\rfloor "},{value:"\\left \\lceil \\right \\rceil "}]}]}],b=[{name:"\u4EE3\u6570",value:"\\sqrt{a^2+b^2}",children:[{data:[{value:"\\left(x-1\\right)\\left(x+3\\right) "},{value:"\\sqrt{a^2+b^2}"},{value:"\\left ( \\frac{a}{b}\\right )^{n}= \\frac{a^{n}}{b^{n}}"},{value:"\\frac{a}{b}\\pm \\frac{c}{d}= \\frac{ad \\pm bc}{bd} "},{value:"\\frac{x^{2}}{a^{2}}-\\frac{y^{2}}{b^{2}}=1 "},{value:"\\frac{1}{\\sqrt{a}}=\\frac{\\sqrt{a}}{a},a\\ge 0\\frac{1}{\\sqrt{a}}=\\frac{\\sqrt{a}}{a},a\\ge 0 "},{value:"\\sqrt[n]{a^{n}}=\\left ( \\sqrt[n]{a}\\right )^{n} "},{value:"x ={-b \\pm \\sqrt{b^2-4ac}\\over 2a} "},{value:"y-y_{1}=k \\left( x-x_{1}\\right) "},{value:`\\left\\{\\begin{matrix} \r
x=a + r\\text{cos}\\theta \\ \r
y=b + r\\text{sin}\\theta \r
\\end{matrix}\\right. `},{value:`\\begin{array}{l} \r
\\text{\u5BF9\u4E8E\u65B9\u7A0B\u5F62\u5982\uFF1A}x^{3}-1=0 \\ \r
\\text{\u8BBE}\\text{:}\\omega =\\frac{-1+\\sqrt{3}i}{2} \\ \r
x_{1}=1,x_{2}= \\omega =\\frac{-1+\\sqrt{3}i}{2} \\ \r
x_{3}= \\omega ^{2}=\\frac{-1-\\sqrt{3}i}{2} \r
\\end{array} `},{value:`\\begin{array}{l} \r
a\\mathop{{x}}\\nolimits^{{2}}+bx+c=0 \\ \r
\\Delta =\\mathop{{b}}\\nolimits^{{2}}-4ac \\ \r
\\left\\{\\begin{matrix} \r
\\Delta \\gt 0\\text{\u65B9\u7A0B\u6709\u4E24\u4E2A\u4E0D\u76F8\u7B49\u7684\u5B9E\u6839} \\ \r
\\Delta = 0\\text{\u65B9\u7A0B\u6709\u4E24\u4E2A\u76F8\u7B49\u7684\u5B9E\u6839} \\ \r
\\Delta \\lt 0\\text{\u65B9\u7A0B\u65E0\u5B9E\u6839} \r
\\end{matrix}\\right. \r
\\end{array} `},{value:`\\begin{array}{l} \r
a\\mathop{{x}}\\nolimits^{{2}}+bx+c=0 \\ \r
\\Delta =\\mathop{{b}}\\nolimits^{{2}}-4ac \\ \r
\\mathop{{x}}\\nolimits_{{1,2}}=\\frac{{-b \\pm \r
\\sqrt{{\\mathop{{b}}\\nolimits^{{2}}-4ac}}}}{{2a}} \\ \r
\\mathop{{x}}\\nolimits_{{1}}+\\mathop{{x}}\\nolimits_{{2}}=-\\frac{{b}}{{a}} \\ \r
\\mathop{{x}}\\nolimits_{{1}}\\mathop{{x}}\\nolimits_{{2}}=\\frac{{c}}{{a}} \r
\\end{array} `}]}]},{name:"\u51E0\u4F55",value:"\\Delta A B C ",children:[{data:[{value:"\\Delta A B C "},{value:"a \\parallel c,b \\parallel c \\Rightarrow a \\parallel b "},{value:"l \\perp \\beta ,l \\subset \\alpha \\Rightarrow \\alpha \\perp \\beta"},{value:`\\left.\\begin{matrix} \r
a \\perp \\alpha \\ \r
b \\perp \\alpha \r
\\end{matrix}\\right\\}\\Rightarrow a \\parallel b`},{value:"P \\in \\alpha ,P \\in \\beta , \\alpha \\cap \\beta =l \\Rightarrow P \\in l "},{value:`\\alpha \\perp \\beta , \\alpha \\cap \\beta =l,a \\subset \\alpha ,a \\perp l \r
\\Rightarrow a \\perp \\beta `},{value:`\\left.\\begin{matrix} \r
a \\subset \\beta ,b \\subset \\beta ,a \\cap b=P \\ \r
a \\parallel \\partial ,b \\parallel \\partial \r
\\end{matrix}\\right\\}\\Rightarrow \\beta \\parallel \\alpha `},{value:"\\alpha \\parallel \\beta , \\gamma \\cap \\alpha =a, \\gamma \\cap \\beta =b \\Rightarrow a \\parallel b "},{value:"A \\in l,B \\in l,A \\in \\alpha ,B \\in \\alpha \\Rightarrow l \\subset \\alpha "},{value:`\\left.\\begin{matrix} \r
m \\subset \\alpha ,n \\subset \\alpha ,m \\cap n=P \\ \r
a \\perp m,a \\perp n \r
\\end{matrix}\\right\\}\\Rightarrow a \\perp \\alpha `},{value:`\\begin{array}{c} \r
\\text{\u76F4\u89D2\u4E09\u89D2\u5F62\u4E2D,\u76F4\u89D2\u8FB9\u957Fa,b,\u659C\u8FB9\u8FB9\u957Fc} \\ \r
a^{2}+b^{2}=c^{2} \r
\\end{array}`}]}]},{name:"\u4E0D\u7B49\u5F0F",value:"a > b",children:[{data:[{value:"a > b,b > c \\Rightarrow a > c "},{value:"a > b,c > d \\Rightarrow a+c > b+d "},{value:"a > b > 0,c > d > 0 \\Rightarrow ac bd "},{value:`\\begin{array}{c} \r
a \\gt b,c \\gt 0 \\Rightarrow ac \\gt bc \\ \r
a \\gt b,c \\lt 0 \\Rightarrow ac \\lt bc \r
\\end{array}`},{value:"\\left | a-b \\right | \\geqslant \\left | a \\right | -\\left | b \\right | "},{value:"-\\left | a \\right |\\leq a\\leqslant \\left | a \\right | "},{value:"\\left | a \\right |\\leqslant b \\Rightarrow -b \\leqslant a \\leqslant \\left | b \\right | "},{value:"\\left | a+b \\right | \\leqslant \\left | a \\right | + \\left | b \\right | "},{value:`\\begin{array}{c} \r
a \\gt b \\gt 0,n \\in N^{\\ast},n \\gt 1 \\ \r
\\Rightarrow a^{n}\\gt b^{n}, \\sqrt[n]{a}\\gt \\sqrt[n]{b} \r
\\end{array}`},{value:`\\left( \\sum_{k=1}^n a_k b_k \\right)^{\\!\\!2}\\leq \r
\\left( \\sum_{k=1}^n a_k^2 \\right) \\left( \\sum_{k=1}^n b_k^2 \\right) `},{value:`\\begin{array}{c} \r
a,b \\in R^{+} \\ \r
\\Rightarrow \\frac{a+b}{{2}}\\ge \\sqrt{ab} \\ \r
\\left( \\text{\u5F53\u4E14\u4EC5\u5F53}a=b\\text{\u65F6\u53D6\u201C}=\\text{\u201D\u53F7}\\right) \r
\\end{array}`},{value:`\\begin{array}{c} \r
a,b \\in R \\ \r
\\Rightarrow a^{2}+b^{2}\\gt 2ab \\ \r
\\left( \\text{\u5F53\u4E14\u4EC5\u5F53}a=b\\text{\u65F6\u53D6\u201C}=\\text{\u201D\u53F7}\\right) \r
\\end{array}`},{value:`\\begin{array}{c} \r
H_{n}=\\frac{n}{\\sum \\limits_{i=1}^{n}\\frac{1}{x_{i}}}= \\frac{n}{\\frac{1}{x_{1}}+ \\frac{1}{x_{2}}+ \\cdots + \\frac{1}{x_{n}}} \\ G_{n}=\\sqrt[n]{\\prod \\limits_{i=1}^{n}x_{i}}= \\sqrt[n]{x_{1}x_{2}\\cdots x_{n}} \\ A_{n}=\\frac{1}{n}\\sum \\limits_{i=1}^{n}x_{i}=\\frac{x_{1}+ x_{2}+ \\cdots + x_{n}}{n} \\ Q_{n}=\\sqrt{\\sum \\limits_{i=1}^{n}x_{i}^{2}}= \\sqrt{\\frac{x_{1}^{2}+ x_{2}^{2}+ \\cdots + x_{n}^{2}}{n}} \\ H_{n}\\leq G_{n}\\leq A_{n}\\leq Q_{n} \r
\\end{array}`}]}]},{name:"\u79EF\u5206",value:"\\frac{\\mathrm{d}\\partial}{\\partial x}",children:[{data:[{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}x^n=nx^{n-1} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}e^{ax}=a\\,e^{ax} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\ln(x)=\\frac{1}{x} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\sin x=\\cos x "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\cos x=-\\sin x "},{value:"\\int k\\mathrm{d}x = kx+C "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\tan x=\\sec^2 x "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\cot x=-\\csc^2 x "},{value:"\\int \\frac{1}{x}\\mathrm{d}x= \\ln \\left| x \\right| +C "},{value:"\\int \\frac{1}{\\sqrt{1-x^{2}}}\\mathrm{d}x= \\arcsin x +C "},{value:"\\int \\frac{1}{1+x^{2}}\\mathrm{d}x= \\arctan x +C "},{value:"\\int u \\frac{\\mathrm{d}v}{\\mathrm{d}x}\\,\\mathrm{d}x=uv-\\int \\frac{\\mathrm{d}u}{\\mathrm{d}x}v\\,\\mathrm{d}x "},{value:"f(x) = \\int_{-\\infty}^\\infty \\hat f(x)\\xi\\,e^{2 \\pi i \\xi x} \\,\\mathrm{d}\\xi "},{value:"\\int x^{\\mu}\\mathrm{d}x=\\frac{x^{\\mu +1}}{\\mu +1}+C, \\left({\\mu \\neq -1}\\right) "}]}]},{name:"\u4E09\u89D2",value:"e^{i \\theta}",children:[{name:"\u6C42\u548C Summation",data:[{value:"e^{i \\theta} "},{value:"\\left(\\frac{\\pi}{2}-\\theta \\right ) "},{value:"\\text{sin}^{2}\\frac{\\alpha}{2}=\\frac{1- \\text{cos}\\alpha}{2} "},{value:"\\text{cos}^{2}\\frac{\\alpha}{2}=\\frac{1+ \\text{cos}\\alpha}{2} "},{value:"\\text{tan}\\frac{\\alpha}{2}=\\frac{\\text{sin}\\alpha}{1+ \\text{cos}\\alpha} "},{value:"\\sin \\alpha + \\sin \\beta =2 \\sin \\frac{\\alpha + \\beta}{2}\\cos \\frac{\\alpha - \\beta}{2} "},{value:"\\sin \\alpha - \\sin \\beta =2 \\cos \\frac{\\alpha + \\beta}{2}\\sin \\frac{\\alpha - \\beta}{2} "},{value:"\\cos \\alpha + \\cos \\beta =2 \\cos \\frac{\\alpha + \\beta}{2}\\cos \\frac{\\alpha - \\beta}{2} "},{value:"\\cos \\alpha - \\cos \\beta =-2\\sin \\frac{\\alpha + \\beta}{2}\\sin \\frac{\\alpha - \\beta}{2} "},{value:"a^{2}=b^{2}+c^{2}-2bc\\cos A "},{value:"\\frac{\\sin A}{a}=\\frac{\\sin B}{b}=\\frac{\\sin C}{c}=\\frac{1}{2R} "},{value:"\\sin \\left ( \\frac{\\pi}{2}-\\alpha \\right ) = \\cos \\alpha "},{value:"\\sin \\left ( \\frac{\\pi}{2}+\\alpha \\right ) = \\cos \\alpha "}]}]},{name:"\u7EDF\u8BA1",value:"C_{r}^{n}",children:[{data:[{value:"C_{r}^{n} "},{value:"\\frac{n!}{r!(n-r)!} "},{value:"\\sum_{i=1}^{n}{X_i} "},{value:"\\sum_{i=1}^{n}{X_i^2} "},{value:"X_1, \\cdots,X_n "},{value:"\\frac{x-\\mu}{\\sigma} "},{value:"\\sum_{i=1}^{n}{(X_i - \\overline{X})^2} "},{value:`\\begin{array}{c} \r
\\text{\u82E5}P \\left( AB \\right) =P \\left( A \\right) P \\left( B \\right) \\\\ \r
\\text{\u5219}P \\left( A \\left| B\\right. \\right) =P \\left({B}\\right) \r
\\end{array}`},{value:"P(E) ={n \\choose k}p^k (1-p)^{n-k} "},{value:"P \\left( A \\right) = \\lim \\limits_{n \\to \\infty}f_{n}\\left ( A \\right ) "},{value:"P \\left( \\bigcup \\limits_{i=1}^{+ \\infty}A_{i}\\right) = \\prod \\limits_{i=1}^{+ \\infty}P{\\left( A_{i}\\right)} "},{value:`\\begin{array}{c} \r
P \\left( \\emptyset \\right) =0 \\\\ \r
P \\left( S \\right) =1 \r
\\end{array}`},{value:`\\begin{array}{c} \r
\\forall A \\in S \\\\ \r
P \\left( A \\right) \\ge 0 \r
\\end{array}`},{value:"P \\left( \\bigcup \\limits_{i=1}^{n}A_{i}\\right) = \\prod \\limits_{i=1}^{n}P \\left( A_{i}\\right) "},{value:`\\begin{array}{c} \r
S= \\binom{N}{n},A_{k}=\\binom{M}{k}\\cdot \\binom{N-M}{n-k} \\\\ \r
P\\left ( A_{k}\\right ) = \\frac{\\binom{M}{k}\\cdot \\binom{N-M}{n-k}}{\\binom{N}{n}} \r
\\end{array}`},{value:`\\begin{array}{c} \r
P_{n}=n! \\\\ \r
A_{n}^{k}=\\frac{n!}{\\left( n-k \\left) !\\right. \\right.} \r
\\end{array}`}]}]}],y=ne=>{E.current.setValue(E.current.getValue()+" "+ne.value+" ")},z=[{key:"1",label:"\u5FEB\u6377\u6A21\u677F",children:he.createElement(re.Z,{className:oe.Z.lists,gutter:[10,10]},a.map((ne,ae)=>he.createElement(Ce.Z,{flex:"110px",className:oe.Z.item},he.createElement("div",null,he.createElement(Te.Z,{value:`$$${ne.value}$$`}),ne.name),he.createElement("div",{className:oe.Z.children},ne.children.map((le,de)=>he.createElement("div",{key:de},he.createElement("h1",null,le.name),he.createElement(re.Z,{gutter:[10,10]},le.data.map((fe,be)=>he.createElement(Ce.Z,{key:be,onClick:()=>y(fe),className:oe.Z.diamond},he.createElement(Te.Z,{value:"`$$"+fe.value+"$$`"}))))))))))},{key:"2",label:"\u516C\u5F0F\u6A21\u677F",children:he.createElement(re.Z,{className:oe.Z.lists,gutter:[10,10]},b.map((ne,ae)=>he.createElement(Ce.Z,{flex:"110px",className:oe.Z.item},he.createElement("div",null,he.createElement(Te.Z,{value:"`$$"+ne.value+"$$`"}),ne.name),he.createElement("div",{className:oe.Z.children},ne.children.map((le,de)=>he.createElement("div",{key:de},le.name&&he.createElement("h1",null,le.name),he.createElement(re.Z,{gutter:[10,10]},le.data.map((fe,be)=>he.createElement(Ce.Z,{key:be,onClick:()=>y(fe),className:oe.Z.diamond},he.createElement(Te.Z,{value:"`$$"+fe.value+"$$`"}))))))))))}],ee=()=>{var ne=document.createElement("div");ne.innerHTML=E.current.getValue();var ae=ne.innerText;return Oe&&Oe(ae),ae};return(0,x.useImperativeHandle)(ie,()=>({getData:ee})),he.createElement("div",{className:oe.Z.mathWrap},he.createElement(ze.default,{defaultActiveKey:"1",items:z}),he.createElement("math-field",{locale:"zh_cn",className:oe.Z.mathField,placeholder:"\u8BF7\u6253\u5F00\u952E\u76D8\uFF0C\u8F93\u5165\u516C\u5F0F",ref:E,style:{width:800,marginTop:30,fontSize:18}},ve||""),Ie&&he.createElement("div",{className:oe.Z.button},he.createElement(we.ZP,{size:"large",onClick:ee,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))});dt.Z=ye},15312:function(vt,dt,te){"use strict";te.d(dt,{t:function(){return Ct}});var x=te(67294),re=te(69677),Ce=te(22150),ze=te(14446),we=te(71230),Te=te(15746),oe=te(31795),Fe=te(42563),he=te(78045),ye=te(41307),Oe=te(35973),Ie=te(52654),ve=te(2453),ie=te(71577),E=te(57953),a=te(19575),b={flex_box_center:"flex_box_center___kOQ8P",flex_space_between:"flex_space_between___fY6jt",flex_box_vertical_center:"flex_box_vertical_center___bDSSI",flex_box_center_end:"flex_box_center_end___mQ6mU",flex_box_column:"flex_box_column___F15G0",result:"result___UYRo8",left:"left___TRaH5",right:"right___twp9s",box:"box___vwndt",li:"li___hRe2d"},y=te(33170),z=te(88742),ee=te(35567),ne=te(74855),ae=te(96707),le=te(67294),de=Object.defineProperty,fe=Object.defineProperties,be=Object.getOwnPropertyDescriptors,Ee=Object.getOwnPropertySymbols,pe=Object.prototype.hasOwnProperty,ge=Object.prototype.propertyIsEnumerable,$e=(Ze,Me,et)=>Me in Ze?de(Ze,Me,{enumerable:!0,configurable:!0,writable:!0,value:et}):Ze[Me]=et,Be=(Ze,Me)=>{for(var et in Me||(Me={}))pe.call(Me,et)&&$e(Ze,et,Me[et]);if(Ee)for(var et of Ee(Me))ge.call(Me,et)&&$e(Ze,et,Me[et]);return Ze},Le=(Ze,Me)=>fe(Ze,be(Me)),Re=(Ze,Me,et)=>new Promise((wt,Ot)=>{var Ut=tn=>{try{An(et.next(tn))}catch(Dn){Ot(Dn)}},wn=tn=>{try{An(et.throw(tn))}catch(Dn){Ot(Dn)}},An=tn=>tn.done?wt(tn.value):Promise.resolve(tn.value).then(Ut,wn);An((et=et.apply(Ze,Me)).next())}),Ye=({buttonProps:Ze,buttonText:Me,form:et,hackIdentifier:wt="",answerKey:Ot,data:Ut})=>{const[wn,An]=(0,x.useState)(!1),[tn,Dn]=(0,x.useState)(!1),[_e,ot]=(0,x.useState)(!1),[rn,hn]=(0,x.useState)({}),[lt,gn]=(0,x.useState)(""),[qn,Gn]=(0,x.useState)(""),ua=(0,x.useRef)(wt),cn=(0,x.useRef)(""),Jt=(0,x.useRef)(!1);(0,x.useEffect)(()=>{_e&&ga()},[_e]),(0,x.useEffect)(()=>()=>{sessionStorage.removeItem("projectFill")},[]);const On=()=>new Date().getTime(),ra=Ut==null?void 0:Ut.code,sa=()=>{var Xt,nn;let Vn=ra?Ut==null?void 0:Ut.code:(Xt=et.getFieldValue("hack_codes"))==null?void 0:Xt.code,Ka=ra?Ut==null?void 0:Ut.answer_content:et.getFieldValue(Ot),vr=ra?Ut==null?void 0:Ut.input:(nn=et.getFieldValue("hack_sets"))==null?void 0:nn.input;Ka==null||Ka.forEach(Or=>{const Va=Or.value||Or.answer_text||"";Vn=Vn.replace(/(@▁@|@▁▁@)/,Va)}),Gn(vr),gn(Vn),hn({}),ot(!0)},ga=()=>Re(void 0,null,function*(){var Xt,nn,Vn,Ka;const vr=On(),Or=ra?Ut==null?void 0:Ut.time_limit:(Xt=et.getFieldsValue())==null?void 0:Xt.hack.time_limit,Va=ra?(nn=Ut==null?void 0:Ut.answer_content)==null?void 0:nn.length:(Ka=(Vn=et.getFieldsValue())==null?void 0:Vn.standard_answers)==null?void 0:Ka.length;An(!0),yield(0,z.bM)(cn.current,{test_hack_code:lt,test_input:qn});function Fn(){return Re(this,null,function*(){const{status:Sa,data:en}=yield(0,z.rX)(cn.current,"submit"),Ln=On()-vr>(Or+3)*1e3*Va;if(Jt.current){if(Ln){ve.ZP.error("\u8C03\u8BD5\u4EE3\u7801\u8D85\u65F6"),An(!1);return}if(Sa===0){An(!1),hn(Le(Be({},en),{showText:!0}));return}setTimeout(Fn,1e3)}})}Fn()}),er=()=>Re(void 0,null,function*(){var Xt,nn,Vn,Ka,vr,Or,Va;if(!Ut){try{yield et.validateFields()}catch(Cn){(Vn=(nn=(Xt=Cn==null?void 0:Cn.errorFields)==null?void 0:Xt[0])==null?void 0:nn.name)!=null&&Vn.includes("standard_answers")?ve.ZP.error("\u586B\u7A7A\u9879\u7B54\u6848\u4E0D\u80FD\u4E3A\u7A7A"):ve.ZP.error(Cn.errorFields[0].errors[0]),et.scrollToField(Cn.errorFields[0].name,{behavior:"smooth",block:"center"});return}Dn(!0);let Sa="";const en=et.getFieldsValue();ua.current?Sa=yield(0,y.ZP)(`/api/problems/${ua.current}.json`,{method:"put",body:Le(Be({},en),{hack:Le(Be({},en==null?void 0:en.hack),{sub_discipline_id:(Va=(Or=en==null?void 0:en.hack)==null?void 0:Or.sub_discipline_id)==null?void 0:Va[1],difficult:en.difficulty,item_banks_group_id:en.item_banks_group_id}),hack_codes:Le(Be({},en.hack_codes),{code:a.Base64.encode(en.hack_codes.code)}),update_hack_sets:[Be({},en.hack_sets)],is_blank:!0})}):(Sa=yield(0,y.ZP)("/api/problems.json",{method:"post",body:Le(Be({},en),{hack:Le(Be({},en==null?void 0:en.hack),{sub_discipline_id:(vr=(Ka=en==null?void 0:en.hack)==null?void 0:Ka.sub_discipline_id)==null?void 0:vr[1],difficult:en.difficulty,item_banks_group_id:en.item_banks_group_id}),hack_codes:Le(Be({},en.hack_codes),{code:a.Base64.encode(en.hack_codes.code)}),hack_sets:[Be({},en.hack_sets)],is_blank:!0})}),ua.current=Sa==null?void 0:Sa.identifier,sessionStorage.projectFill=Sa==null?void 0:Sa.identifier)}const Fn=yield(0,y.ZP)(`/api/problems/${ua.current}/start.json`,{method:"get"});if((Fn==null?void 0:Fn.status)===0){cn.current=Fn==null?void 0:Fn.identifier,Jt.current=!0,Dn(!1),sa();return}Dn(!1)}),Ht=Xt=>{const{status:nn,error_msg:Vn,execute_time:Ka,output:vr,input:Or,expected_output:Va}=Xt;let Fn=null;switch(nn){case ae.h.OK:Fn=le.createElement(le.Fragment,null,le.createElement("p",null,"\u6267\u884C\u7528\u65F6\uFF1A",Ka/1e3,"\u79D2"),le.createElement("p",null,"\u6267\u884C\u7ED3\u679C\uFF1A\u8C03\u8BD5\u901A\u8FC7"));break;case ae.h.NOMATCH:Fn=le.createElement(le.Fragment,null,le.createElement("div",null,"\u8F93\u5165\uFF1A"),le.createElement("pre",{style:{fontFamily:"initial"}},Or),le.createElement("div",null,"\u8F93\u51FA\uFF1A"),le.createElement("pre",{style:{fontFamily:"initial"}},vr&&a.Base64.decode(vr)),le.createElement("div",null,"\u9884\u671F\u8F93\u51FA\uFF1A"),le.createElement("pre",{style:{fontFamily:"initial"}},Va&&a.Base64.decode(Va)));break;case ae.h.EXECUTEFAILURE:Fn=le.createElement(le.Fragment,null,le.createElement("p",null,"\u6700\u540E\u6267\u884C\u7684\u8F93\u5165\uFF1A",le.createElement("pre",null,Or)),le.createElement("p",null,"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),le.createElement("pre",{className:"error"},a.Base64.decode(Vn)));break;case ae.h.COMPILEFAILURE:Fn=le.createElement(le.Fragment,null,le.createElement("p",null,"\u6700\u540E\u6267\u884C\u7684\u8F93\u5165\uFF1A",le.createElement("pre",null,Or)),le.createElement("p",null,"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),le.createElement("pre",{className:"error"},a.Base64.decode(Vn)));break;case ae.h.PODFAILURE:Fn=le.createElement("p",null,"\u521B\u5EFApod\u5931\u8D25\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break;case ae.h.TIMEOUT:Fn=le.createElement("p",null,"\u8BC4\u6D4B\u8D85\u65F6\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break}return le.createElement(le.Fragment,null," ",Fn," ")};return le.createElement("div",null,le.createElement(ie.ZP,Le(Be({loading:tn},Ze),{onClick:er}),Me),le.createElement(ze.default,{open:_e,title:"\u8C03\u8BD5\u4EE3\u7801",destroyOnClose:!0,width:1200,okText:"\u8FD0\u884C\u6D4B\u8BD5",confirmLoading:wn,cancelButtonProps:{style:{display:"none"}},onOk:()=>ga(),onCancel:()=>{Jt.current=!1,ot(!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"),!Ut&&le.createElement(ne.CopyToClipboard,{text:lt,onCopy:()=>ve.ZP.success("\u590D\u5236\u6210\u529F")},le.createElement("span",{style:{float:"right"},className:"current c-light-primary"},le.createElement("i",{className:"iconfont icon-fuzhi8 mr5"}),"\u590D\u5236"))),le.createElement(ee.Z,{height:510,className:"mb0",hidetoolBar:!0,defaultValue:lt,onChange:Xt=>gn(Xt)})),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(re.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165",value:qn,onChange:Xt=>Gn(Xt.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(E.Z,{spinning:wn,tip:"\u4EE3\u7801\u6267\u884C\u4E2D"},le.createElement("div",{className:b.li,style:{height:196,overflow:"auto",padding:10}},Ht(rn))))))))},Pt=te(55304),qe=te(67294),at=Object.defineProperty,pt=Object.defineProperties,_t=Object.getOwnPropertyDescriptors,Qt=Object.getOwnPropertySymbols,Je=Object.prototype.hasOwnProperty,xt=Object.prototype.propertyIsEnumerable,Et=(Ze,Me,et)=>Me in Ze?at(Ze,Me,{enumerable:!0,configurable:!0,writable:!0,value:et}):Ze[Me]=et,un=(Ze,Me)=>{for(var et in Me||(Me={}))Je.call(Me,et)&&Et(Ze,et,Me[et]);if(Qt)for(var et of Qt(Me))xt.call(Me,et)&&Et(Ze,et,Me[et]);return Ze},Bt=(Ze,Me)=>pt(Ze,_t(Me)),$t=(Ze,Me)=>{var et={};for(var wt in Ze)Je.call(Ze,wt)&&Me.indexOf(wt)<0&&(et[wt]=Ze[wt]);if(Ze!=null&&Qt)for(var wt of Qt(Ze))Me.indexOf(wt)<0&&xt.call(Ze,wt)&&(et[wt]=Ze[wt]);return et};const{TextArea:Ne}=re.default,Tt=[{title:"C",key:"C"},{title:"C++",key:"C++"},{title:"Python",key:"Python"},{title:"Java",key:"Java"}],an=({value:Ze,onChange:Me})=>qe.createElement(Switch,{checked:Ze,onChange:et=>{Me(et)}}),Ft="@\u2581@",ct="@\u2581\u2581@",Ct=({questionTitlePlaceholder:Ze,form:Me,scoreByBlank:et=!1,hackidentifier:wt,answerKey:Ot})=>{const[Ut,wn]=(0,x.useState)(!1),[An,tn]=(0,x.useState)(!1),_e=(0,Oe.useParams)().type==="edit",ot=(cn,Jt)=>{const On=Jt.line;let ra=0;for(let ga=0;ga<On;ga++)ra+=cn.getLine(ga).split(Ft).length-1;for(let ga=0;ga<On;ga++)ra+=cn.getLine(ga).split(ct).length-1;const sa=cn.getLine(On).substring(0,Jt.ch);return ra+=sa.split(Ft).length-1,ra+=sa.split(ct).length-1,ra},rn=(cn,Jt,On,ra)=>{const sa=cn.getRange(Jt.from,Jt.to);let ga=0;if(Jt.text.forEach(er=>{ga+=er.split(Ft).length-1}),Jt.text.forEach(er=>{ga+=er.split(ct).length-1}),Jt.origin!=="setValue"){if(sa&&(sa.indexOf(Ft)!==-1||sa.indexOf(ct)!==-1)){const er=sa.split(Ft).length-1+sa.split(ct).length-1,Ht=ot(cn,Jt.from);if(console.log(`\u5220\u9664${er}\u4E2A\uFF0C \u524D\u9762\u6709${Ht}\u4E2A\uFF0C\u65B0\u589E${ga}\u4E2A`),er>1){const Xt=Array.from({length:er},(nn,Vn)=>Ht+Vn);ra(Xt)}else ra(Ht)}else if(ga>0){const er=ot(cn,Jt.from);console.log(`\u65B0\u589E${ga}\u4E2A\uFF0C\u4E4B\u524D\u6709${er}\u4E2A`),On(ga,er)}}},hn=()=>{const cn=Me.getFieldValue(Ot);Me.setFieldsValue({[Ot]:cn==null?void 0:cn.map((Jt,On)=>Bt(un({},Jt),{position:On+1}))})},lt=(0,x.useRef)(),gn=(cn,Jt)=>{for(let On=0;On<cn;On++)lt.current({position:null,answer_text:""},Jt+On);hn()},qn=(0,x.useRef)(),Gn=cn=>{qn.current(cn),hn()},ua=Ce.default.useWatch(Ot,Me);return qe.createElement("div",{className:Ie.Z.wrap},qe.createElement(Ce.default.Item,{label:"\u8BD5\u9898\u63CF\u8FF0",name:["hack","description"],style:{display:"table"},className:"w100",labelCol:{span:24},rules:[{required:!0}]},qe.createElement(ye.h,{scrollId:"name",watch:!0,height:140})),qe.createElement("div",{className:Ie.Z.questionTitleEditorWrap},qe.createElement(Ce.default.Item,{label:"\u7A0B\u5E8F\u4EE3\u7801",name:["hack_codes","code"],labelCol:{span:24},rules:[{required:!0}]},qe.createElement(ye.h,{scrollId:"name",watch:!0,height:400,hidetoolBar:!0,showNullProgramButton:!0,onChange:(cn,Jt)=>{const On=Me.getFieldValue(Ot);console.log("--preAnswerData",On,Jt),Me.setFieldsValue({[Ot]:On==null?void 0:On.map((ra,sa)=>{var ga;return Bt(un({},ra),{position:sa+1,multi_line:(ga=Jt==null?void 0:Jt[sa])==null?void 0:ga.multiLine})})})},placeholder:Ze,onCMBeforeChange:(cn,Jt)=>{rn(cn,Jt,gn,Gn)}}))),qe.createElement(Ce.default.List,{name:Ot,rules:[{validator(cn,Jt){if(!(Jt!=null&&Jt.length))return Promise.reject(new Error("\u7B54\u6848\u4E0D\u80FD\u4E3A\u7A7A"));for(const On of Jt){const{answer_text:ra}=On||{};if((ra==null?void 0:ra.length)===0)return Promise.reject(new Error("\u586B\u7A7A\u9879\u7B54\u6848\u4E0D\u80FD\u4E3A\u7A7A"))}return Promise.resolve()}}]},(cn,{add:Jt,remove:On},{errors:ra})=>(lt.current=Jt,qn.current=On,qe.createElement(qe.Fragment,null,qe.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between"}},qe.createElement(Ce.default.Item,{label:"\u586B\u7A7A\u9879\u7B54\u6848",required:!0,labelCol:{span:24}}),qe.createElement("div",{onClick:()=>{ze.default.warning({title:"\u7ED9\u5206\u8BF4\u660E",icon:null,width:700,centered:!0,content:qe.createElement("div",null,qe.createElement("div",null,"1.\u5B66\u751F\u586B\u5199\u7B54\u6848\u4E4B\u540E\uFF0C\u5FC5\u987B\u63D0\u4EA4\u4EE3\u7801",qe.createElement("span",{style:{color:"#e30000"}},"\u8FDB\u884C\u8BC4\u6D4B"),"\u624D\u80FD\u5F97\u5206\u3002"),qe.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"}},qe.createElement(Pt.Z,{style:{marginRight:3,color:"#3061D0"}}),qe.createElement("span",null," \u7ED9\u5206\u8BF4\u660E"))),cn.map((sa,ga)=>{var er=sa,{key:Ht,name:Xt}=er,nn=$t(er,["key","name"]),Vn,Ka;return qe.createElement(we.Z,{className:"mb20",key:Ht,align:"middle",wrap:!1},qe.createElement(Te.Z,{flex:"0 0 auto",className:`${Ie.Z.blankIndex}`},"\u586B\u7A7A\u9879",ga+1),qe.createElement(Te.Z,{flex:1},qe.createElement(we.Z,{align:"top",justify:"space-between",wrap:!1},qe.createElement(Te.Z,null,qe.createElement(Ce.default.Item,Bt(un({},nn),{name:[Xt,"answer_text"],noStyle:!0}),(Vn=ua==null?void 0:ua[Xt])!=null&&Vn.multi_line||(Ka=ua==null?void 0:ua[Xt])!=null&&Ka.multiLine?qe.createElement(Ne,{spellCheck:!1,style:{marginLeft:10,width:550}}):qe.createElement(re.default,{style:{marginLeft:10,width:550},className:Ie.Z.blankInput,size:"large",maxLength:1e3,onBlur:vr=>{}}))),et&&qe.createElement(Te.Z,{flex:"224px"},qe.createElement(Ce.default.Item,Bt(un({},nn),{name:[Xt,"score"],label:"\u5206\u503C",rules:[{required:!0}]}),qe.createElement(oe.Z,{size:"large",className:Ie.Z.blankInput,min:.1,max:100,precision:1,style:{width:"100%"},placeholder:"\u8BF7\u8F93\u5165\u5206\u503C"}))))))})))),qe.createElement("div",{onClick:()=>wn(!0)},qe.createElement(Ce.default.Item,{name:["hack","analysis"],label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},qe.createElement(ye.x,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:Ut}))),qe.createElement(Ce.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"}]},qe.createElement(Fe.default,{size:"large"},Tt.map(cn=>qe.createElement(Fe.default.Option,{key:cn.title,value:cn.key}," ",cn.title)))),qe.createElement(Ce.default.Item,{label:"\u6700\u5927\u8BC4\u6D4B\u65F6\u957F\uFF08\u79D2\uFF09",style:{marginTop:30},labelCol:{span:24},required:!0},qe.createElement(Ce.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},qe.createElement(oe.Z,{precision:0,max:10,min:3,size:"large",style:{width:"97%"}})),qe.createElement("span",{className:"ml10 font14"},"\u79D2")),qe.createElement(Ce.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"}]},qe.createElement(he.ZP.Group,{style:{marginTop:-10}},qe.createElement(he.ZP,{value:0},"\u4E0D\u5FFD\u7565\u7A7A\u683C"),qe.createElement(he.ZP,{value:1},"\u5FFD\u7565\u9996\u5C3E\u7A7A\u683C"),qe.createElement(he.ZP,{value:2},"\u5FFD\u7565\u6240\u6709\u7A7A\u683C"))),qe.createElement(Ce.default.Item,{label:"\u6D4B\u8BD5\u7528\u4F8B",required:!0,style:{marginTop:30}}),qe.createElement("div",{style:{background:"#F6F7F9",padding:15}},qe.createElement(Ce.default.Item,{label:"\u8F93\u5165",labelCol:{span:24},name:["hack_sets","input"]},qe.createElement(Ne,{rows:4})),qe.createElement(Ce.default.Item,{label:"\u8F93\u51FA",labelCol:{span:24},name:["hack_sets","output"],rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u8F93\u51FA\u5185\u5BB9"}]},qe.createElement(Ne,{rows:4}))),qe.createElement(Ye,{form:Me,answerKey:Ot,hackIdentifier:wt,buttonText:"\u8FD0\u884C\u8C03\u8BD5",buttonProps:{ghost:!0,icon:qe.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"}}}))}},11776:function(vt,dt,te){"use strict";te.d(dt,{u:function(){return le}});var x=te(67294),re=te(71230),Ce=te(15746),ze=te(83062),we=te(22150),Te=te(52654),oe=te(40043),Fe=te(24018),he=te(41307),ye=te(67294),Oe=Object.defineProperty,Ie=Object.defineProperties,ve=Object.getOwnPropertyDescriptors,ie=Object.getOwnPropertySymbols,E=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable,b=(de,fe,be)=>fe in de?Oe(de,fe,{enumerable:!0,configurable:!0,writable:!0,value:be}):de[fe]=be,y=(de,fe)=>{for(var be in fe||(fe={}))E.call(fe,be)&&b(de,be,fe[be]);if(ie)for(var be of ie(fe))a.call(fe,be)&&b(de,be,fe[be]);return de},z=(de,fe)=>Ie(de,ve(fe)),ee=(de,fe)=>{var be={};for(var Ee in de)E.call(de,Ee)&&fe.indexOf(Ee)<0&&(be[Ee]=de[Ee]);if(de!=null&&ie)for(var Ee of ie(de))fe.indexOf(Ee)<0&&a.call(de,Ee)&&(be[Ee]=de[Ee]);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:de,onChange:fe,choiceTextKey:be,answerKey:Ee,index:pe,isEdit:ge,setInputActive:$e,form:Be,choiceOptionsPath:Le,allowChangeMode:Re,showAddIcon:Ge,addItem:Ye,deleteItem:Pt})=>{console.log(de,"value");const qe=(de==null?void 0:de[Ee])===1,at=()=>{const _t=Be.getFieldValue(Le);Be.setFieldValue(Le,_t.map(Qt=>z(y({},Qt),{[Ee]:0})))},pt=()=>{qe?fe(z(y({},de),{[Ee]:0})):(Re||at(),fe(z(y({},de),{[Ee]:1})))};return ye.createElement(re.Z,{className:Te.Z.choiceWrap,align:"middle",wrap:!1},ye.createElement(Ce.Z,{onClick:pt,className:`${Te.Z.choiceIndex} ${qe?Te.Z.activeAnswer:""}`},ne[pe]),ye.createElement(Ce.Z,{flex:1,className:`${Te.Z.editorWrap} ml15`,onClick:$e},ye.createElement(he.x,{height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9009\u9879",isEdit:ge,value:de==null?void 0:de[be],onChange:_t=>{fe(z(y({},de),{[be]:_t}))}})),ye.createElement(Ce.Z,{flex:"0 0 auto",className:"ml15"},ye.createElement("div",{onClick:pt,className:`${Te.Z.setAnswerBtn} ${qe?Te.Z.activeAnswer:""}`},qe?"\u6B63\u786E\u7B54\u6848":"\u8BBE\u4E3A\u7B54\u6848")),ye.createElement(Ce.Z,{className:Te.Z.actionWrapper},ye.createElement(ze.Z,{title:"\u65B0\u589E\u53C2\u8003\u7B54\u6848"},ye.createElement(oe.Z,{className:Te.Z.addIcon,onClick:Ye,style:{visibility:Ge?"visible":"hidden"}})),ye.createElement(ze.Z,{title:"\u5220\u9664"},ye.createElement(Fe.Z,{className:Te.Z.deleteIcon,onClick:Pt,style:{visibility:pe>1?"visible":"hidden"}}))))},le=({questionTitlePlaceholder:de,titleKey:fe,choiceKey:be,analysisKey:Ee,choiceTextKey:pe,answerKey:ge,choiceOptionsPath:$e,allowChangeMode:Be=!0,form:Le,showAnalysis:Re=!0})=>{const[Ge,Ye]=(0,x.useState)(),[Pt,qe]=(0,x.useState)(!1);return ye.createElement("div",{className:Te.Z.wrap},ye.createElement("div",{className:Te.Z.questionTitleEditorWrap},ye.createElement(we.default.Item,{label:"\u9898\u5E72",name:fe,labelCol:{span:24},rules:[{required:!0}]},ye.createElement(he.h,{scrollId:Array.isArray(fe)?fe.join("_"):`${fe}`,watch:!0,height:140,placeholder:de}))),ye.createElement(we.default.Item,{label:"\u7B54\u6848\u9009\u9879",required:!0,labelCol:{span:24}}),ye.createElement(we.default.List,{name:be,rules:[{validator(at,pt){const _t=pt.some(Je=>Je[ge]===1),Qt=pt.findIndex(Je=>{var xt;return((xt=Je[pe])==null?void 0:xt.length)<=0});return Qt!==-1?Promise.reject(new Error(`\u8BF7\u5148\u8F93\u5165${ne[Qt]}\u9009\u9879\u7684\u5185\u5BB9`)):_t?Promise.resolve():Promise.reject(new Error("\u8BF7\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848"))}}]},(at,{add:pt,remove:_t})=>ye.createElement("div",{id:Array.isArray($e)?$e.join("_"):`${$e}`},at.map((Qt,Je)=>{var xt=Qt,{key:Et,name:un}=xt,Bt=ee(xt,["key","name"]);const $t=Ge===Et,Ne=()=>{Ye(Et)},Tt=Je<7&&Je===at.length-1,an=()=>pt({[pe]:"",[ge]:0}),Ft=()=>_t(un);return ye.createElement(we.default.Item,z(y({},Bt),{key:Et,name:un,className:Te.Z.choiceListWrap,rules:[{validator(ct,Ct){return Ct!=null&&Ct.choice_text?Promise.resolve():Promise.reject(new Error(`\u8BF7\u5148\u8F93\u5165${ne[Je]}\u9009\u9879\u7684\u5185\u5BB9`))}}]}),ye.createElement(ae,{choiceTextKey:pe,answerKey:ge,index:Je,isEdit:$t,setInputActive:Ne,form:Le,choiceOptionsPath:$e,allowChangeMode:Be,showAddIcon:Tt,addItem:an,deleteItem:Ft}))}),at.length<8&&ye.createElement("div",{className:`${Te.Z.addBtn} mb30`,onClick:()=>pt({[pe]:"",[ge]:0})},"\u6DFB\u52A0\u9009\u9879"))),Re&&ye.createElement("div",{onClick:()=>qe(!0)},ye.createElement(we.default.Item,{name:Ee,label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},ye.createElement(he.x,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:Pt}))))}},81580:function(vt,dt,te){"use strict";te.d(dt,{u:function(){return Be}});var x=te(67294),re=te(14446),Ce=te(71230),ze=te(15746),we=te(69677),Te=te(83062),oe=te(47897),Fe=te(22150),he=te(78045),ye=te(31795),Oe=te(41307),Ie=te(24018),ve=te(17663),ie=te(52654),E=te(35713),a=te(67294),b=Object.defineProperty,y=Object.defineProperties,z=Object.getOwnPropertyDescriptors,ee=Object.getOwnPropertySymbols,ne=Object.prototype.hasOwnProperty,ae=Object.prototype.propertyIsEnumerable,le=(Le,Re,Ge)=>Re in Le?b(Le,Re,{enumerable:!0,configurable:!0,writable:!0,value:Ge}):Le[Re]=Ge,de=(Le,Re)=>{for(var Ge in Re||(Re={}))ne.call(Re,Ge)&&le(Le,Ge,Re[Ge]);if(ee)for(var Ge of ee(Re))ae.call(Re,Ge)&&le(Le,Ge,Re[Ge]);return Le},fe=(Le,Re)=>y(Le,z(Re)),be=(Le,Re)=>{var Ge={};for(var Ye in Le)ne.call(Le,Ye)&&Re.indexOf(Ye)<0&&(Ge[Ye]=Le[Ye]);if(Le!=null&&ee)for(var Ye of ee(Le))Re.indexOf(Ye)<0&&ae.call(Le,Ye)&&(Ge[Ye]=Le[Ye]);return Ge};const Ee=({value:Le,onChange:Re})=>{const Ge=Pt=>{re.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:"\u786E\u8BA4\u8981\u5220\u9664\u8FD9\u4E2A\u53C2\u8003\u7B54\u6848\u5417\uFF1F",className:ie.Z.modal,onOk:()=>{const qe=[...Le];qe.splice(Pt,1),Re(qe)}})},Ye=()=>{const Pt=[...Le];Pt.push(""),Re(Pt)};return a.createElement(Ce.Z,{className:"ml20"},a.createElement(ze.Z,{flex:1},Le==null?void 0:Le.map((Pt,qe)=>a.createElement(Ce.Z,{key:`${Pt}_${qe}`,className:"mb20"},a.createElement(we.default.TextArea,{style:{flex:1,minHeight:44},defaultValue:Pt,autoSize:{maxRows:3},maxLength:1e3,onBlur:at=>{const pt=[...Le],_t=at.target.value.trim();pt[qe]=_t,Re(pt)}}),a.createElement(Te.Z,{title:"\u5220\u9664"},a.createElement(Ie.Z,{className:ie.Z.deleteIcon,style:{marginLeft:15,visibility:qe>0?"visible":"hidden"},onClick:()=>Ge(qe)}))))),a.createElement(ze.Z,null,a.createElement("div",{className:`${ie.Z.addBtn}`,onClick:()=>{Ye()}},"\u65B0\u589E\u7B54\u6848")))},pe=({value:Le,onChange:Re})=>{const Ge=Pt=>{re.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:"\u786E\u8BA4\u8981\u5220\u9664\u8FD9\u4E2A\u53C2\u8003\u7B54\u6848\u5417\uFF1F",className:ie.Z.modal,onOk:()=>{const qe=[...Le];qe.splice(Pt,1),Re(qe)}})},Ye=()=>{const Pt=[...Le];Pt.push(""),Re(Pt)};return a.createElement(Ce.Z,{className:"ml20"},a.createElement(ze.Z,{flex:1},Le==null?void 0:Le.map((Pt,qe)=>a.createElement(Ce.Z,{key:`${Pt}_${qe}`,align:"middle",className:"mb20"},a.createElement(E.Z,{value:Pt,style:{flex:1},onChange:at=>{const pt=[...Le];pt[qe]=at,Re(pt)}}),a.createElement(Te.Z,{title:"\u5220\u9664"},a.createElement(Ie.Z,{className:ie.Z.deleteIcon,style:{marginLeft:15,visibility:qe>0?"visible":"hidden"},onClick:()=>Ge(qe)}))))),a.createElement(ze.Z,null,a.createElement("div",{className:`${ie.Z.addBtn}`,onClick:()=>{Ye()}},"\u65B0\u589E\u7B54\u6848")))},ge=({value:Le=!0,onChange:Re})=>a.createElement(oe.Z,{checked:!Le,onChange:Ge=>{Re(!Ge)}}),$e="\u2581",Be=({questionTitlePlaceholder:Le,form:Re,scoreByBlank:Ge=!1,answerKey:Ye})=>{const[Pt,qe]=(0,x.useState)(!1),at=(Bt,$t)=>{const Ne=$t.line;let Tt=0;for(let Ft=0;Ft<Ne;Ft++)Tt+=Bt.getLine(Ft).split($e).length-1;const an=Bt.getLine(Ne).substring(0,$t.ch);return Tt+=an.split($e).length-1,Tt},pt=(Bt,$t,Ne,Tt)=>{const an=Bt.getRange($t.from,$t.to);let Ft=0;if($t.text.forEach(ct=>{Ft+=ct.split($e).length-1}),$t.origin!=="setValue"){if(an&&an.indexOf($e)!==-1){const ct=an.split($e).length-1,Ct=at(Bt,$t.from);if(console.log(`\u5220\u9664${ct}\u4E2A\uFF0C \u524D\u9762\u6709${Ct}\u4E2A\uFF0C\u65B0\u589E${Ft}\u4E2A`),ct>1){const Ze=Array.from({length:ct},(Me,et)=>Ct+et);Tt(Ze)}else Tt(Ct)}else if(Ft>0){const ct=at(Bt,$t.from);console.log(`\u65B0\u589E${Ft}\u4E2A\uFF0C\u4E4B\u524D\u6709${ct}\u4E2A`),Ne(Ft,ct)}}},_t=()=>{const Bt=Re.getFieldValue(Ye);Re.setFieldsValue({[Ye]:Bt.map(($t,Ne)=>fe(de({},$t),{position:Ne+1}))})},Qt=(0,x.useRef)(),Je=(Bt,$t)=>{for(let Ne=0;Ne<Bt;Ne++)Qt.current({position:null,answer_text:[""],model:1},$t+Ne);_t()},xt=(0,x.useRef)(),Et=Bt=>{xt.current(Bt),_t()},un=Fe.default.useWatch(Ye,Re);return a.createElement("div",{className:ie.Z.wrap},a.createElement("div",{className:ie.Z.questionTitleEditorWrap},a.createElement(Fe.default.Item,{label:"\u9898\u5E72",name:"name",labelCol:{span:24},rules:[{required:!0}]},a.createElement(Oe.h,{scrollId:"name",watch:!0,height:140,placeholder:Le,showNullButton:!0,onCMBeforeChange:(Bt,$t)=>{pt(Bt,$t,Je,Et)}}))),a.createElement(Fe.default.List,{name:Ye,rules:[{validator(Bt,$t){if(!($t!=null&&$t.length))return Promise.reject(new Error("\u8BF7\u5148\u5728\u9898\u5E72\u4E2D\u63D2\u5165\u586B\u7A7A\u9879"));for(const Ne of $t){const{answer_text:Tt}=Ne||{};if(Tt!=null&&Tt.some(an=>(an==null?void 0:an.length)===0))return Promise.reject(new Error("\u586B\u7A7A\u9879\u7B54\u6848\u4E0D\u80FD\u4E3A\u7A7A"))}return Promise.resolve()}}]},(Bt,{add:$t,remove:Ne},{errors:Tt})=>(Qt.current=$t,xt.current=Ne,a.createElement(a.Fragment,null,a.createElement(Fe.default.Item,{label:a.createElement("span",null,"\u586B\u7A7A\u9879\u7B54\u6848",!(Bt!=null&&Bt.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}}),Bt.map((an,Ft)=>{var ct=an,{key:Ct,name:Ze}=ct,Me=be(ct,["key","name"]),et,wt;return a.createElement("div",{style:{marginBottom:10},key:Ct},a.createElement(Ce.Z,{className:"mb20",align:"middle",wrap:!1},a.createElement(ze.Z,{style:{marginRight:10},flex:"0 0 auto",className:`${ie.Z.blankIndex}`},"\u586B\u7A7A\u9879",Ft+1),a.createElement(Fe.default.Item,fe(de({},Me),{name:[Ze,"model"],noStyle:!0}),a.createElement(he.ZP.Group,{onChange:()=>{const Ot=Re.getFieldValue(Ye);Re.setFieldsValue({[Ye]:Ot.map((Ut,wn)=>fe(de({},Ut),{answer_text:Ze===wn?[""]:Ut.answer_text}))})}},a.createElement(he.ZP,{value:1},"\u6587\u672C\u6A21\u5F0F ",a.createElement(Te.Z,{title:"\u5B66\u751F\u7B54\u9898\u65F6\uFF0C\u9700\u8981\u5728\u6587\u672C\u6846\u4E2D\u586B\u5199\u6587\u672C\u7B54\u6848"},a.createElement(ve.Z,null))),a.createElement(he.ZP,{value:2},"\u6570\u5B66\u516C\u5F0F\u6A21\u5F0F ",a.createElement(Te.Z,{title:"\u5B66\u751F\u7B54\u9898\u65F6\uFF0C\u9700\u8981\u7F16\u5199\u6570\u5B66\u516C\u5F0F\u4F5C\u4E3A\u7B54\u6848"},a.createElement(ve.Z,null)))))),a.createElement(Ce.Z,{style:{marginLeft:20},align:"middle",wrap:!1},a.createElement(ze.Z,{flex:1},a.createElement(Ce.Z,{align:"top",justify:"space-between",wrap:!1},a.createElement(ze.Z,{flex:1},a.createElement(Fe.default.Item,fe(de({},Me),{name:[Ze,"answer_text"],noStyle:!0}),((wt=(et=Re.getFieldValue(Ye))==null?void 0:et[Ze])==null?void 0:wt.model)===1?a.createElement(Ee,null):a.createElement(pe,null))),Ge&&a.createElement(ze.Z,{flex:"224px",style:{margin:"-7px 0 0 20px"}},a.createElement(Fe.default.Item,fe(de({},Me),{name:[Ze,"score"],label:"\u5206\u503C",rules:[{required:!0}],className:ie.Z.blankInputNumberWrapper}),a.createElement(ye.Z,{min:.1,max:100,precision:1,style:{width:"100%"},placeholder:"\u8BF7\u8F93\u5165\u5206\u503C"})))),a.createElement(Fe.default.Item,fe(de({},Me),{name:[Ze,"position"],noStyle:!0}),a.createElement(we.default,{type:"hidden"})))))})))),a.createElement(Ce.Z,{align:"middle"},a.createElement(Fe.default.Item,{name:"downcase",valuePropName:"checked"},a.createElement(oe.Z,null)),a.createElement(ze.Z,{className:"ml10"},"\u5224\u5206\u65F6\u5FFD\u7565\u7B54\u6848\u4E2D\u7684\u5B57\u6BCD\u5927\u5C0F\u5199")),a.createElement(Ce.Z,{align:"middle"},a.createElement(Fe.default.Item,{name:"no_space",valuePropName:"checked"},a.createElement(oe.Z,null)),a.createElement(ze.Z,{className:"ml10"},"\u5224\u5206\u65F6\u5FFD\u7565\u7B54\u6848\u4E2D\u7684\u7A7A\u683C")),(un==null?void 0:un.length)>1&&a.createElement(Ce.Z,{align:"middle",className:(un==null?void 0:un.length)>1?"mb30":`${ie.Z.hide}`},a.createElement(Fe.default.Item,{name:"is_ordered"},a.createElement(ge,null)),a.createElement(ze.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:()=>qe(!0)},a.createElement(Fe.default.Item,{name:"analysis",label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},a.createElement(Oe.x,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:Pt}))))}},66495:function(vt,dt,te){"use strict";te.d(dt,{Z:function(){return ee}});var x=te(67294),re=te(71230),Ce=te(15746),ze=te(22150),we=te(52654),Te=te(41307),oe=te(67294),Fe=Object.defineProperty,he=Object.defineProperties,ye=Object.getOwnPropertyDescriptors,Oe=Object.getOwnPropertySymbols,Ie=Object.prototype.hasOwnProperty,ve=Object.prototype.propertyIsEnumerable,ie=(ne,ae,le)=>ae in ne?Fe(ne,ae,{enumerable:!0,configurable:!0,writable:!0,value:le}):ne[ae]=le,E=(ne,ae)=>{for(var le in ae||(ae={}))Ie.call(ae,le)&&ie(ne,le,ae[le]);if(Oe)for(var le of Oe(ae))ve.call(ae,le)&&ie(ne,le,ae[le]);return ne},a=(ne,ae)=>he(ne,ye(ae)),b=(ne,ae)=>{var le={};for(var de in ne)Ie.call(ne,de)&&ae.indexOf(de)<0&&(le[de]=ne[de]);if(ne!=null&&Oe)for(var de of Oe(ne))ae.indexOf(de)<0&&ve.call(ne,de)&&(le[de]=ne[de]);return le};const y={\u6B63\u786E:"T",\u9519\u8BEF:"F"},z=({value:ne,onChange:ae,form:le})=>{const de=(ne==null?void 0:ne.is_answer)===1,fe=ne==null?void 0:ne.choice_text,be=()=>{const Ee=le.getFieldsValue().choices.map(pe=>({choice_text:pe.choice_text,is_answer:0}));le.setFieldsValue({choices:Ee}),ae(a(E({},ne),{is_answer:1}))};return oe.createElement(re.Z,{className:we.Z.choiceWrap,align:"middle",wrap:!1,style:{marginBottom:"20px"}},oe.createElement(Ce.Z,{onClick:be,className:`${we.Z.choiceIndex} ${we.Z.judgementIndex} ${de?we.Z.activeAnswer:""}`},y[fe]),oe.createElement(Ce.Z,{flex:1,className:`${we.Z.editorWrap} ml15`},oe.createElement("div",{className:`${we.Z.inputBorder} ${we.Z.placeholder} ${de?we.Z.activeJudgementAnswer:""}`},fe)),oe.createElement(Ce.Z,{flex:"0 0 auto",className:"ml15"},oe.createElement("div",{onClick:be,className:`${we.Z.setAnswerBtn} ${de?we.Z.activeAnswer:""}`},de?"\u6B63\u786E\u7B54\u6848":"\u8BBE\u4E3A\u7B54\u6848")))},ee=({questionTitlePlaceholder:ne,choiceKey:ae,form:le})=>{const[de,fe]=(0,x.useState)(!1);return oe.createElement("div",{className:we.Z.wrap},oe.createElement("div",{className:we.Z.questionTitleEditorWrap},oe.createElement(ze.default.Item,{label:"\u9898\u5E72",name:"name",labelCol:{span:24},rules:[{required:!0}]},oe.createElement(Te.h,{scrollId:"name",watch:!0,height:140,placeholder:ne}))),oe.createElement(ze.default.Item,{label:"\u7B54\u6848\u9009\u9879",required:!0,labelCol:{span:24}},oe.createElement(ze.default.List,{name:"choices",rules:[{validator(be,Ee){return Ee.some(ge=>(ge==null?void 0:ge.is_answer)===1)?Promise.resolve():Promise.reject(new Error("\u8BF7\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848"))}}]},be=>oe.createElement("div",{id:"choices"},be.map(Ee=>{var pe=Ee,{key:ge,name:$e}=pe,Be=b(pe,["key","name"]);return oe.createElement(ze.default.Item,a(E({},Be),{key:ge,name:$e,noStyle:!0}),oe.createElement(z,{form:le}))})))),oe.createElement("div",{onClick:()=>fe(!0)},oe.createElement(ze.default.Item,{name:"analysis",label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},oe.createElement(Te.x,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:de}))))}},41307:function(vt,dt,te){"use strict";te.d(dt,{h:function(){return E},x:function(){return a}});var x=te(35567),re=te(52654),Ce=te(85725),ze=te(67294),we=Object.defineProperty,Te=Object.defineProperties,oe=Object.getOwnPropertyDescriptors,Fe=Object.getOwnPropertySymbols,he=Object.prototype.hasOwnProperty,ye=Object.prototype.propertyIsEnumerable,Oe=(b,y,z)=>y in b?we(b,y,{enumerable:!0,configurable:!0,writable:!0,value:z}):b[y]=z,Ie=(b,y)=>{for(var z in y||(y={}))he.call(y,z)&&Oe(b,z,y[z]);if(Fe)for(var z of Fe(y))ye.call(y,z)&&Oe(b,z,y[z]);return b},ve=(b,y)=>Te(b,oe(y)),ie=(b,y)=>{var z={};for(var ee in b)he.call(b,ee)&&y.indexOf(ee)<0&&(z[ee]=b[ee]);if(b!=null&&Fe)for(var ee of Fe(b))y.indexOf(ee)<0&&ye.call(b,ee)&&(z[ee]=b[ee]);return z};const E=b=>{var y=b,{value:z,onChange:ee,scrollId:ne}=y,ae=ie(y,["value","onChange","scrollId"]);return ze.createElement("div",{id:ne||""},ze.createElement(x.Z,ve(Ie({},ae),{defaultValue:z,onChange:(le,de)=>{de!=null&&de.length?ee(le,de):ee(le)}})))},a=({value:b,onChange:y,placeholder:z,height:ee=140,isEdit:ne,miniToolbar:ae,watch:le=!0})=>ne?ze.createElement(x.Z,{watch:le,isFocus:!0,height:ee||void 0,placeholder:z,defaultValue:b,onChange:y,miniToolbar:ae}):ze.createElement("div",{style:{cursor:"pointer"}},b?ze.createElement(Ce.Z,{className:re.Z.inputBorder,value:b}):ze.createElement("div",{className:`${re.Z.inputBorder} ${re.Z.placeholder} inputBorderError`},z))},77792:function(vt,dt,te){"use strict";te.d(dt,{W:function(){return pe}});var x=te(67294),re=te(2453),Ce=te(66309),ze=te(22150),we=te(47897),Te=te(71230),oe=te(15746),Fe=te(83062),he=te(69677),ye=te(31795),Oe=te(52654),Ie=te(41307),ve=te(35567),ie=te(17663),E=Object.defineProperty,a=Object.defineProperties,b=Object.getOwnPropertyDescriptors,y=Object.getOwnPropertySymbols,z=Object.prototype.hasOwnProperty,ee=Object.prototype.propertyIsEnumerable,ne=(ge,$e,Be)=>$e in ge?E(ge,$e,{enumerable:!0,configurable:!0,writable:!0,value:Be}):ge[$e]=Be,ae=(ge,$e)=>{for(var Be in $e||($e={}))z.call($e,Be)&&ne(ge,Be,$e[Be]);if(y)for(var Be of y($e))ee.call($e,Be)&&ne(ge,Be,$e[Be]);return ge},le=(ge,$e)=>a(ge,b($e)),de=(ge,$e)=>{var Be={};for(var Le in ge)z.call(ge,Le)&&$e.indexOf(Le)<0&&(Be[Le]=ge[Le]);if(ge!=null&&y)for(var Le of y(ge))$e.indexOf(Le)<0&&ee.call(ge,Le)&&(Be[Le]=ge[Le]);return Be};const fe=ge=>{var $e=ge,{value:Be,onChange:Le}=$e,Re=de($e,["value","onChange"]);const Ge=Ye=>{Le([Ye])};return x.createElement(ve.Z,le(ae({},Re),{defaultValue:Be==null?void 0:Be[0],onChange:Ge}))},be=ge=>{if(!ge)return!1;if(/^s*$/.test(ge)||ge.trim()===""){re.ZP.warning("\u5173\u952E\u8BCD\u4E0D\u80FD\u5168\u4E3A\u7A7A\u683C");return}let $e=new RegExp("[ `~!@#$^&*()={}':;,\\[\\].<>/?~\uFF01@#\uFFE5\u2026\u2026&*\uFF08\uFF09\u2014\u3010\u3011\u2018\uFF1B\uFF1A\u201D\u201C\u3002\uFF0C\u3001\uFF1F\u300C\u300D\u300E\u300F_\\+\\-\xB7%\u300A\u300B]|[\\\\/]");return ge==="|"?(re.ZP.warning("\u5173\u952E\u8BCD\u4E0D\u80FD\u53EA\u8F93\u5165\u4E00\u4E2A\u201C|\u201D\u5B57\u7B26\uFF01"),!1):!0},Ee=({value:ge=[],onClose:$e})=>x.createElement(Ce.default,{closable:!0,onClose:$e,className:Oe.Z.keywordTag},x.createElement("pre",{style:{margin:"0px",whiteSpace:"pre-wrap"}},ge.join(" \u6216 "))),pe=({questionTitlePlaceholder:ge,form:$e,showKeywords:Be,isMustKeyWords:Le=Be})=>{const[Re,Ge]=(0,x.useState)(!1),[Ye,Pt]=(0,x.useState)(""),qe=ze.default.useWatch("use_keywords",$e),at=ze.default.useWatch("question_score",$e);return x.createElement("div",{className:Oe.Z.wrap},x.createElement("div",{className:Oe.Z.questionTitleEditorWrap},x.createElement(ze.default.Item,{label:"\u9898\u5E72",name:"name",labelCol:{span:24},rules:[{required:!0}]},x.createElement(Ie.h,{scrollId:"name",watch:!0,height:140,placeholder:ge}))),x.createElement(ze.default.Item,{label:"\u53C2\u8003\u7B54\u6848",name:"answer_texts",labelCol:{span:24}},x.createElement(fe,{watch:!0,height:140,placeholder:"\u8BF7\u7F16\u8F91\u53C2\u8003\u7B54\u6848\uFF08\u975E\u5FC5\u586B\uFF09"})),Be&&!Le&&x.createElement(ze.default.Item,{hidden:!0,name:"use_keywords",valuePropName:"checked"},x.createElement(we.Z,{defaultChecked:!0})),Be&&Le&&x.createElement(Te.Z,{align:"middle",className:"mb30"},x.createElement(ze.default.Item,{name:"use_keywords",valuePropName:"checked"},x.createElement(we.Z,null)),x.createElement(oe.Z,{className:"ml10"},"\u5F00\u542F\u5173\u952E\u8BCD\u81EA\u52A8\u5224\u5206"),x.createElement(oe.Z,null,x.createElement(Fe.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"},x.createElement(ie.Z,{style:{color:"#3061D0",marginLeft:6,cursor:"pointer"}})))),(qe||!Le)&&x.createElement(ze.default.List,{name:"keywords",rules:[{validator(pt,_t){return Le?_t!=null&&_t.length?(_t==null?void 0:_t.reduce((Je,xt)=>Je+xt.score,0))>parseFloat(at)?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()}}]},(pt,{add:_t,remove:Qt})=>x.createElement(x.Fragment,null,x.createElement("div",{className:`${Oe.Z.title} mb10`},Le?"\u5173\u952E\u8BCD":x.createElement("span",{style:{color:"#9096A3"}},"\u5224\u5206\u5173\u952E\u8BCD")),x.createElement(Te.Z,{align:"middle",className:"font14 mb30"},x.createElement(oe.Z,{flex:1},x.createElement(he.default,{value:Ye,onChange:Je=>{Pt(Je.target.value)},maxLength:50,allowClear:!0,onPressEnter:Je=>{var xt,Et,un,Bt;const $t=`${(xt=Je.target)==null?void 0:xt.value}`,Ne=(un=(Et=$t==null?void 0:$t.split("|"))==null?void 0:Et.filter(Ft=>!!Ft))==null?void 0:un.map(Ft=>Ft==null?void 0:Ft.trim()),Tt=$e.getFieldValue("keywords"),an=((Bt=Tt==null?void 0:Tt.map(Ft=>Ft==null?void 0:Ft.keyword))==null?void 0:Bt.flat())||[];for(const Ft of Ne)if(an.includes(Ft)){re.ZP.error("\u4E3A\u907F\u514D\u5224\u5206\u9519\u8BEF\uFF0C\u8BF7\u52FF\u8BBE\u7F6E\u76F8\u540C\u7684\u5173\u952E\u8BCD");return}be($t)&&(_t({keyword:Ne,score:1}),Pt(""))},className:Oe.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"})),x.createElement(oe.Z,{flex:"148px",style:{textAlign:"right",color:"#e99237"}},"\u201C\u56DE\u8F66\u952E\u201D\u4FDD\u5B58\u5173\u952E\u8BCD")),pt.map(Je=>{var xt=Je,{key:Et,name:un}=xt,Bt=de(xt,["key","name"]);return x.createElement(Te.Z,{key:Et,className:"mb20",style:{marginRight:148}},x.createElement(oe.Z,{flex:1},x.createElement(Te.Z,{align:"middle",justify:"space-between"},x.createElement(ze.default.Item,le(ae({},Bt),{name:[un,"keyword"]}),x.createElement(Ee,{onClose:()=>Qt(un)})),Le&&x.createElement(ze.default.Item,le(ae({},Bt),{name:[un,"score"],label:"\u5206\u503C",rules:[{required:!0}],className:Oe.Z.blankInputNumberWrapper}),x.createElement(ye.Z,{className:Oe.Z.blankInput,min:.1,max:100,precision:1,style:{width:"100%"},placeholder:"\u8BF7\u8F93\u5165\u5173\u952E\u8BCD\u5206\u6570"})))))}))),x.createElement("div",{onClick:()=>Ge(!0)},x.createElement(ze.default.Item,{name:"analysis",label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},x.createElement(Ie.x,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:Re}))))}},30351:function(vt,dt,te){"use strict";te.d(dt,{tc:function(){return er.t},uh:function(){return x.u},rL:function(){return ga},u8:function(){return Ce.u},ZZ:function(){return re.Z},Wk:function(){return ze.W}});var x=te(11776),re=te(66495),Ce=te(81580),ze=te(77792),we=te(67294),Te=te(47221),oe=te(22150),Fe=te(71230),he=te(15746),ye=te(31795),Oe=te(83062),Ie=te(85418),ve=te(52654),ie=te(24018),E=te(41307),a=te(14446),b=te(69677),y=te(47897),z=te(67294),ee=Object.defineProperty,ne=Object.defineProperties,ae=Object.getOwnPropertyDescriptors,le=Object.getOwnPropertySymbols,de=Object.prototype.hasOwnProperty,fe=Object.prototype.propertyIsEnumerable,be=(Ht,Xt,nn)=>Xt in Ht?ee(Ht,Xt,{enumerable:!0,configurable:!0,writable:!0,value:nn}):Ht[Xt]=nn,Ee=(Ht,Xt)=>{for(var nn in Xt||(Xt={}))de.call(Xt,nn)&&be(Ht,nn,Xt[nn]);if(le)for(var nn of le(Xt))fe.call(Xt,nn)&&be(Ht,nn,Xt[nn]);return Ht},pe=(Ht,Xt)=>ne(Ht,ae(Xt)),ge=(Ht,Xt)=>{var nn={};for(var Vn in Ht)de.call(Ht,Vn)&&Xt.indexOf(Vn)<0&&(nn[Vn]=Ht[Vn]);if(Ht!=null&&le)for(var Vn of le(Ht))Xt.indexOf(Vn)<0&&fe.call(Ht,Vn)&&(nn[Vn]=Ht[Vn]);return nn};const $e=({value:Ht,onChange:Xt})=>{const nn=Ka=>{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:ve.Z.modal,onOk:()=>{const vr=[...Ht];vr.splice(Ka,1),Xt(vr)}})},Vn=()=>{const Ka=[...Ht];Ka.push(""),Xt(Ka)};return z.createElement(Fe.Z,{className:"ml20"},z.createElement(he.Z,{flex:1},Ht==null?void 0:Ht.map((Ka,vr)=>z.createElement(Fe.Z,{key:`${Ka}_${vr}`,align:"middle",className:"mb20"},z.createElement(b.default.TextArea,{style:{flex:1,minHeight:44},defaultValue:Ka,autoSize:{maxRows:3},maxLength:1e3,onBlur:Or=>{const Va=[...Ht],Fn=Or.target.value.trim();Va[vr]=Fn,Xt(Va)}}),z.createElement(Oe.Z,{title:"\u5220\u9664"},z.createElement(ie.Z,{className:ve.Z.deleteIcon,style:{marginLeft:15,visibility:vr>0?"visible":"hidden"},onClick:()=>nn(vr)}))))),z.createElement(he.Z,null,z.createElement("div",{className:`${ve.Z.addBtn}`,onClick:()=>{Vn()}},"\u65B0\u589E\u7B54\u6848")))},Be=({value:Ht=!0,onChange:Xt})=>z.createElement(y.Z,{checked:!Ht,onChange:nn=>{Xt(!nn)}}),Le="\u2581",Re=({questionTitlePlaceholder:Ht,form:Xt,name:nn,scoreByBlank:Vn=!1,answerKey:Ka,titleKey:vr="name",analysisKey:Or="analysis",isOrdered:Va="is_ordered"})=>{var Fn,Sa;const[en,Cn]=(0,we.useState)(!1),Ln=(kt,ln)=>{const zn=ln.line;let ya=0;for(let Da=0;Da<zn;Da++)ya+=kt.getLine(Da).split(Le).length-1;const oa=kt.getLine(zn).substring(0,ln.ch);return ya+=oa.split(Le).length-1,ya},Mn=(kt,ln,zn,ya)=>{const oa=kt.getRange(ln.from,ln.to);let Da=0;if(ln.text.forEach(Za=>{Da+=Za.split(Le).length-1}),ln.origin!=="setValue"){if(oa&&oa.indexOf(Le)!==-1){const Za=oa.split(Le).length-1,Yr=Ln(kt,ln.from);if(console.log(`\u5220\u9664${Za}\u4E2A\uFF0C \u524D\u9762\u6709${Yr}\u4E2A\uFF0C\u65B0\u589E${Da}\u4E2A`),Za>1){const jn=Array.from({length:Za},(Ir,Mo)=>Yr+Mo);ya(jn)}else ya(Yr)}else if(Da>0){const Za=Ln(kt,ln.from);console.log(`\u65B0\u589E${Da}\u4E2A\uFF0C\u4E4B\u524D\u6709${Za}\u4E2A`),zn(Da,Za)}}},ur=()=>{const kt=Xt.getFieldValue(["sub_item_banks",...Ka]);Xt.setFieldValue(["sub_item_banks",...Ka],kt==null?void 0:kt.map((ln,zn)=>pe(Ee({},ln),{position:zn+1})))},Ba=(0,we.useRef)(),Nn=(kt,ln)=>{for(let zn=0;zn<kt;zn++)Ba.current({position:null,answer_text:[""]},ln+zn);ur()},gt=(0,we.useRef)(),St=kt=>{gt.current(kt),ur()},mt=(Sa=(Fn=Xt.getFieldValue("sub_item_banks"))==null?void 0:Fn[Ka==null?void 0:Ka[0]])==null?void 0:Sa[Ka==null?void 0:Ka[1]];return(0,we.useEffect)(()=>{console.log("========",Xt.getFieldsValue())},[Xt]),z.createElement("div",{className:ve.Z.wrap},z.createElement("div",{className:ve.Z.questionTitleEditorWrap},z.createElement(oe.default.Item,{label:"\u9898\u5E72",name:vr,labelCol:{span:24},rules:[{required:!0}]},z.createElement(E.h,{scrollId:"name",watch:!0,height:140,placeholder:Ht,showNullButton:!0,onCMBeforeChange:(kt,ln)=>{Mn(kt,ln,Nn,St)}}))),z.createElement(oe.default.List,{name:Ka,rules:[{validator(kt,ln){if((ln==null?void 0:ln.length)===0)return Promise.reject(new Error("\u8BF7\u5148\u5728\u9898\u5E72\u4E2D\u63D2\u5165\u586B\u7A7A\u9879"));for(const zn of ln){const{answer_text:ya}=zn||{};if(ya!=null&&ya.some(oa=>(oa==null?void 0:oa.length)===0))return Promise.reject(new Error("\u586B\u7A7A\u9879\u7B54\u6848\u4E0D\u80FD\u4E3A\u7A7A"))}return Promise.resolve()}}]},(kt,{add:ln,remove:zn},{errors:ya})=>(Ba.current=ln,gt.current=zn,z.createElement(z.Fragment,null,z.createElement(oe.default.Item,{label:z.createElement("span",null,"\u586B\u7A7A\u9879\u7B54\u6848",!(kt!=null&&kt.length)&&z.createElement("span",{style:{color:"#E99237"}},"\uFF08\u8BF7\u5148\u5728\u9898\u5E72\u4E2D\u63D2\u5165\u586B\u7A7A\u9879\uFF09")),required:!0,labelCol:{span:24}}),kt.map((oa,Da)=>{var Za=oa,{key:Yr,name:jn}=Za,Ir=ge(Za,["key","name"]);return z.createElement(Fe.Z,{align:"top",key:Yr},z.createElement(he.Z,{className:`${ve.Z.blankIndex} pt5`},"\u586B\u7A7A\u9879",Da+1),z.createElement(he.Z,{flex:1},z.createElement(Fe.Z,{align:"top",justify:"space-between"},z.createElement(he.Z,{flex:1},z.createElement(oe.default.Item,pe(Ee({},Ir),{name:[jn,"answer_text"],noStyle:!0}),z.createElement($e,null))),Vn&&z.createElement(he.Z,{flex:"224px"},z.createElement(oe.default.Item,pe(Ee({},Ir),{name:[jn,"score"],label:"\u5206\u503C",rules:[{required:!0}],className:ve.Z.blankInputNumberWrapper}),z.createElement(ye.Z,{className:ve.Z.blankInput,min:.1,max:100,precision:1,style:{width:"100%"},placeholder:"\u6309\u7A7A\u7ED9\u5206\u8BF7\u8F93\u5165\u5206\u503C"})))),z.createElement(oe.default.Item,pe(Ee({},Ir),{name:[jn,"position"],noStyle:!0}),z.createElement(b.default,{type:"hidden"}))))})))),z.createElement(Fe.Z,{align:"middle"},z.createElement(oe.default.Item,{name:[nn,"downcase"],valuePropName:"checked"},z.createElement(y.Z,null)),z.createElement(he.Z,{className:"ml10"},"\u5224\u5206\u65F6\u5FFD\u7565\u7B54\u6848\u4E2D\u7684\u5B57\u6BCD\u5927\u5C0F\u5199")),z.createElement(Fe.Z,{align:"middle"},z.createElement(oe.default.Item,{name:[nn,"no_space"],valuePropName:"checked"},z.createElement(y.Z,null)),z.createElement(he.Z,{className:"ml10"},"\u5224\u5206\u65F6\u5FFD\u7565\u7B54\u6848\u4E2D\u7684\u7A7A\u683C")),(mt==null?void 0:mt.length)>1&&z.createElement(Fe.Z,{align:"middle",className:(mt==null?void 0:mt.length)>1?"mb30":`${ve.Z.hide}`},z.createElement(oe.default.Item,{name:Va},z.createElement(Be,null)),z.createElement(he.Z,{className:"ml10"},"\u5141\u8BB8\u5B66\u751F\u6BCF\u4E2A\u586B\u7A7A\u7684\u7B54\u6848\u4E0E\u6807\u51C6\u7B54\u6848\u7684\u987A\u5E8F\u4E0D\u4E00\u81F4")),z.createElement("div",{className:"mt30",onClick:()=>Cn(!0)},z.createElement(oe.default.Item,{name:Or,label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},z.createElement(E.x,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:en}))))};var Ge=te(67294),Ye=Object.defineProperty,Pt=Object.defineProperties,qe=Object.getOwnPropertyDescriptors,at=Object.getOwnPropertySymbols,pt=Object.prototype.hasOwnProperty,_t=Object.prototype.propertyIsEnumerable,Qt=(Ht,Xt,nn)=>Xt in Ht?Ye(Ht,Xt,{enumerable:!0,configurable:!0,writable:!0,value:nn}):Ht[Xt]=nn,Je=(Ht,Xt)=>{for(var nn in Xt||(Xt={}))pt.call(Xt,nn)&&Qt(Ht,nn,Xt[nn]);if(at)for(var nn of at(Xt))_t.call(Xt,nn)&&Qt(Ht,nn,Xt[nn]);return Ht},xt=(Ht,Xt)=>Pt(Ht,qe(Xt)),Et=(Ht,Xt)=>{var nn={};for(var Vn in Ht)pt.call(Ht,Vn)&&Xt.indexOf(Vn)<0&&(nn[Vn]=Ht[Vn]);if(Ht!=null&&at)for(var Vn of at(Ht))Xt.indexOf(Vn)<0&&_t.call(Ht,Vn)&&(nn[Vn]=Ht[Vn]);return nn};const un={\u6B63\u786E:"T",\u9519\u8BEF:"F"},Bt=({value:Ht,onChange:Xt,form:nn,choiceKey:Vn})=>{const Ka=(Ht==null?void 0:Ht.is_answer)===1,vr=Ht==null?void 0:Ht.choice_text,Or=()=>{var Va;const Fn=(Va=nn==null?void 0:nn.getFieldValue(["sub_item_banks",...Vn]))==null?void 0:Va.map(Sa=>({choice_text:Sa.choice_text,is_answer:0}));nn==null||nn.setFieldValue(["sub_item_banks",...Vn],Fn),Xt(xt(Je({},Ht),{is_answer:1}))};return Ge.createElement(Fe.Z,{className:ve.Z.choiceWrap,align:"middle",wrap:!1},Ge.createElement(he.Z,{onClick:Or,className:`${ve.Z.choiceIndex} ${ve.Z.judgementIndex} ${Ka?ve.Z.activeAnswer:""}`},un[vr]),Ge.createElement(he.Z,{flex:1,className:`${ve.Z.editorWrap} ml15`},Ge.createElement("div",{className:`${ve.Z.inputBorder} ${ve.Z.placeholder} ${Ka?ve.Z.activeJudgementAnswer:""}`},vr)),Ge.createElement(he.Z,{flex:"0 0 auto",className:"ml15"},Ge.createElement("div",{onClick:Or,className:`${ve.Z.setAnswerBtn} ${Ka?ve.Z.activeAnswer:""}`},Ka?"\u6B63\u786E\u7B54\u6848":"\u8BBE\u4E3A\u7B54\u6848")))},$t=({questionTitlePlaceholder:Ht,choiceKey:Xt="choices",form:nn,titleKey:Vn="name",analysisKey:Ka="analysis"})=>{const[vr,Or]=(0,we.useState)(!1);return Ge.createElement("div",{className:ve.Z.wrap},Ge.createElement("div",{className:ve.Z.questionTitleEditorWrap},Ge.createElement(oe.default.Item,{label:"\u9898\u5E72",name:Vn,labelCol:{span:24},rules:[{required:!0}]},Ge.createElement(E.h,{scrollId:"name",watch:!0,height:140,placeholder:Ht}))),Ge.createElement(oe.default.Item,{label:"\u7B54\u6848\u9009\u9879",required:!0,labelCol:{span:24}},Ge.createElement(oe.default.List,{name:Xt,rules:[{validator(Va,Fn){return Fn.some(en=>(en==null?void 0:en.is_answer)===1)?Promise.resolve():Promise.reject(new Error("\u8BF7\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848"))}}]},Va=>Ge.createElement("div",{id:"choices",style:{display:"flex",flexDirection:"column",gap:"20px"}},Va.map(Fn=>{var Sa=Fn,{key:en,name:Cn}=Sa,Ln=Et(Sa,["key","name"]);return Ge.createElement(oe.default.Item,xt(Je({},Ln),{key:en,name:Cn,noStyle:!0}),Ge.createElement(Bt,{form:nn,choiceKey:Xt}))})))),Ge.createElement("div",{className:"mt30",onClick:()=>Or(!0)},Ge.createElement(oe.default.Item,{name:Ka,label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},Ge.createElement(E.x,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:vr}))))};var Ne=te(2453),Tt=te(66309),an=te(35567),Ft=te(17663),ct=Object.defineProperty,Ct=Object.defineProperties,Ze=Object.getOwnPropertyDescriptors,Me=Object.getOwnPropertySymbols,et=Object.prototype.hasOwnProperty,wt=Object.prototype.propertyIsEnumerable,Ot=(Ht,Xt,nn)=>Xt in Ht?ct(Ht,Xt,{enumerable:!0,configurable:!0,writable:!0,value:nn}):Ht[Xt]=nn,Ut=(Ht,Xt)=>{for(var nn in Xt||(Xt={}))et.call(Xt,nn)&&Ot(Ht,nn,Xt[nn]);if(Me)for(var nn of Me(Xt))wt.call(Xt,nn)&&Ot(Ht,nn,Xt[nn]);return Ht},wn=(Ht,Xt)=>Ct(Ht,Ze(Xt)),An=(Ht,Xt)=>{var nn={};for(var Vn in Ht)et.call(Ht,Vn)&&Xt.indexOf(Vn)<0&&(nn[Vn]=Ht[Vn]);if(Ht!=null&&Me)for(var Vn of Me(Ht))Xt.indexOf(Vn)<0&&wt.call(Ht,Vn)&&(nn[Vn]=Ht[Vn]);return nn};const tn=Ht=>{var Xt=Ht,{value:nn,onChange:Vn}=Xt,Ka=An(Xt,["value","onChange"]);const vr=Or=>{Vn([Or])};return we.createElement(an.Z,wn(Ut({},Ka),{defaultValue:nn==null?void 0:nn[0],onChange:vr}))},Dn=Ht=>{if(!Ht)return!1;let Xt=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 Ht==="|"?(Ne.ZP.warning("\u5173\u952E\u8BCD\u4E0D\u80FD\u53EA\u8F93\u5165\u4E00\u4E2A\u201C|\u201D\u5B57\u7B26\uFF01"),!1):!0},_e=({value:Ht=[],onClose:Xt})=>we.createElement(Tt.default,{closable:!0,onClose:Xt,className:ve.Z.keywordTag},we.createElement("pre",{style:{margin:"0px",whiteSpace:"pre-wrap"}},Ht.join(" \u6216 "))),ot=({questionTitlePlaceholder:Ht,form:Xt,showKeywords:nn,isMustKeyWords:Vn=nn,titleKey:Ka="name",analysisKey:vr="analysis",answerTexts:Or="answer_texts",keywords:Va="keywords",useKeywords:Fn="use_keywords",indexs:Sa})=>{const[en,Cn]=(0,we.useState)(!1),[Ln,Mn]=(0,we.useState)(""),[ur,Ba]=(0,we.useState)(!1),Nn=oe.default.useWatch("question_score",Xt);return we.createElement("div",{className:ve.Z.wrap},we.createElement("div",{className:ve.Z.questionTitleEditorWrap},we.createElement(oe.default.Item,{label:"\u9898\u5E72",name:Ka,labelCol:{span:24},rules:[{required:!0}]},we.createElement(E.h,{scrollId:"name",watch:!0,height:140,placeholder:Ht}))),we.createElement(oe.default.Item,{label:"\u53C2\u8003\u7B54\u6848",name:Or,labelCol:{span:24}},we.createElement(tn,{watch:!0,height:140,placeholder:"\u8BF7\u7F16\u8F91\u53C2\u8003\u7B54\u6848\uFF08\u975E\u5FC5\u586B\uFF09"})),nn&&!Vn&&we.createElement(oe.default.Item,{hidden:!0,name:Fn,valuePropName:"checked"},we.createElement(y.Z,{defaultChecked:!0})),nn&&Vn&&we.createElement(Fe.Z,{align:"middle",className:"mb30"},we.createElement(oe.default.Item,{name:Fn,valuePropName:"checked"},we.createElement(y.Z,{onChange:()=>{var gt,St,mt,kt,ln,zn;console.log(Xt.getFieldsValue()),Ba((mt=(St=(gt=Xt.getFieldsValue())==null?void 0:gt.sub_item_banks)==null?void 0:St[Sa])==null?void 0:mt.use_keywords),console.log((zn=(ln=(kt=Xt.getFieldsValue())==null?void 0:kt.sub_item_banks)==null?void 0:ln[Sa])==null?void 0:zn.use_keywords),console.log(ur)}})),we.createElement(he.Z,{className:"ml10"},"\u5F00\u542F\u5173\u952E\u8BCD\u81EA\u52A8\u5224\u5206"),we.createElement(he.Z,null,we.createElement(Oe.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"},we.createElement(Ft.Z,{style:{color:"#3061D0",marginLeft:6,cursor:"pointer"}})))),(ur||!Vn)&&we.createElement(oe.default.List,{name:Va,rules:[{validator(gt,St){return Vn?St!=null&&St.length?(St==null?void 0:St.reduce((kt,ln)=>kt+ln.score,0))>parseFloat(Nn)?Promise.reject(new Error("\u6240\u6709\u5173\u952E\u8BCD\u7684\u5206\u503C\u4E4B\u548C\u5FC5\u987B\u5C0F\u4E8E\u7B49\u4E8E\u8BE5\u5C0F\u9898\u7684\u5206\u503C")):Promise.resolve():Promise.reject(new Error("\u8BF7\u8BBE\u7F6E\u5224\u5206\u5173\u952E\u8BCD")):Promise.resolve()}}]},(gt,{add:St,remove:mt})=>we.createElement(we.Fragment,null,we.createElement("div",{className:`${ve.Z.title} mb10`},Vn?"\u5173\u952E\u8BCD":we.createElement("span",{style:{color:"#9096A3"}},"\u5224\u5206\u5173\u952E\u8BCD")),we.createElement(Fe.Z,{align:"middle",className:"font14 mb30"},we.createElement(he.Z,{flex:1},we.createElement(b.default,{value:Ln,onChange:kt=>{Mn(kt.target.value)},maxLength:50,allowClear:!0,onPressEnter:kt=>{var ln,zn,ya,oa;const Da=`${(ln=kt.target)==null?void 0:ln.value}`,Za=(ya=(zn=Da==null?void 0:Da.split("|"))==null?void 0:zn.filter(Ir=>!!Ir))==null?void 0:ya.map(Ir=>Ir==null?void 0:Ir.trim()),Yr=Xt.getFieldValue(["sub_item_banks",...Va]),jn=((oa=Yr==null?void 0:Yr.map(Ir=>Ir==null?void 0:Ir.keyword))==null?void 0:oa.flat())||[];for(const Ir of Za)if(jn.includes(Ir)){Ne.ZP.error("\u4E3A\u907F\u514D\u5224\u5206\u9519\u8BEF\uFF0C\u8BF7\u52FF\u8BBE\u7F6E\u76F8\u540C\u7684\u5173\u952E\u8BCD");return}Dn(Da)&&(St({keyword:Za,score:1}),Mn(""))},className:ve.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"})),we.createElement(he.Z,{flex:"148px",style:{textAlign:"right",color:"#e99237"}},"\u201C\u56DE\u8F66\u952E\u201D\u4FDD\u5B58\u5173\u952E\u8BCD")),gt.map(kt=>{var ln=kt,{key:zn,name:ya}=ln,oa=An(ln,["key","name"]);return we.createElement(Fe.Z,{key:zn,className:"mb20",style:{marginRight:148}},we.createElement(he.Z,{flex:1},we.createElement(Fe.Z,{align:"middle",justify:"space-between"},we.createElement(oe.default.Item,wn(Ut({},oa),{name:[ya,"keyword"]}),we.createElement(_e,{onClose:()=>mt(ya)})),Vn&&we.createElement(oe.default.Item,wn(Ut({},oa),{name:[ya,"score"],label:"\u5206\u503C",rules:[{required:!0}],className:ve.Z.blankInputNumberWrapper}),we.createElement(ye.Z,{className:ve.Z.blankInput,min:.1,max:100,precision:1,style:{width:"100%"},placeholder:"\u8BF7\u8F93\u5165\u5173\u952E\u8BCD\u5206\u6570"})))))}))),we.createElement("div",{onClick:()=>Cn(!0)},we.createElement(oe.default.Item,{name:vr,label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},we.createElement(E.x,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:en}))))};var rn=te(67294),hn=Object.defineProperty,lt=Object.defineProperties,gn=Object.getOwnPropertyDescriptors,qn=Object.getOwnPropertySymbols,Gn=Object.prototype.hasOwnProperty,ua=Object.prototype.propertyIsEnumerable,cn=(Ht,Xt,nn)=>Xt in Ht?hn(Ht,Xt,{enumerable:!0,configurable:!0,writable:!0,value:nn}):Ht[Xt]=nn,Jt=(Ht,Xt)=>{for(var nn in Xt||(Xt={}))Gn.call(Xt,nn)&&cn(Ht,nn,Xt[nn]);if(qn)for(var nn of qn(Xt))ua.call(Xt,nn)&&cn(Ht,nn,Xt[nn]);return Ht},On=(Ht,Xt)=>lt(Ht,gn(Xt)),ra=(Ht,Xt)=>{var nn={};for(var Vn in Ht)Gn.call(Ht,Vn)&&Xt.indexOf(Vn)<0&&(nn[Vn]=Ht[Vn]);if(Ht!=null&&qn)for(var Vn of qn(Ht))Xt.indexOf(Vn)<0&&ua.call(Ht,Vn)&&(nn[Vn]=Ht[Vn]);return nn};const{Panel:sa}=Te.default,ga=({questionTitlePlaceholder:Ht,choiceKey:Xt,form:nn,withScore:Vn})=>{const[Ka,vr]=(0,we.useState)([]),Or=Va=>{vr(Va)};return rn.createElement("div",{className:ve.Z.wrap},rn.createElement("div",{className:ve.Z.questionTitleEditorWrap},rn.createElement(oe.default.Item,{label:"\u9898\u5E72",name:"name",labelCol:{span:24},rules:[{required:!0}]},rn.createElement(E.h,{scrollId:"name",watch:!0,height:140,placeholder:Ht}))),rn.createElement(oe.default.Item,{label:"\u5C0F\u9898",required:!0,labelCol:{span:24}}),rn.createElement(oe.default.List,{name:"sub_item_banks",rules:[{validator(Va,Fn){return Fn?Promise.resolve():Promise.reject(new Error("\u8BF7\u6DFB\u52A0\u5C0F\u9898"))}}]},(Va,{add:Fn,remove:Sa,move:en})=>{const Cn=nn.getFieldValue("sub_item_banks");return rn.createElement(rn.Fragment,null,rn.createElement(Te.default,{className:Va.length>0?ve.Z.collapseWrapper:"",bordered:!1,activeKey:Ka,onChange:Or,expandIcon:({isActive:Ln})=>rn.createElement("i",{className:`iconfont icon-weizhankai ${Ln?ve.Z.open:ve.Z.close}`,style:{fontSize:14,transition:"all .2s"}})},Va.map((Ln,Mn)=>{var ur=Ln,{key:Ba,name:Nn}=ur,gt=ra(ur,["key","name"]),St,mt,kt,ln,zn,ya,oa,Da,Za,Yr;return rn.createElement(sa,{className:ve.Z.panel,forceRender:!0,header:rn.createElement("div",{className:ve.Z.panelHeader},"\u7B2C",Mn+1,"\u5C0F\u9898",rn.createElement("span",null,"\uFF08",((St=Cn==null?void 0:Cn[Nn])==null?void 0:St.item_type)=="SINGLE"?"\u5355\u9009\u9898":((mt=Cn==null?void 0:Cn[Nn])==null?void 0:mt.item_type)=="MULTIPLE"?"\u591A\u9009\u9898":((kt=Cn==null?void 0:Cn[Nn])==null?void 0:kt.item_type)=="COMPLETION"?"\u586B\u7A7A\u9898":((ln=Cn==null?void 0:Cn[Nn])==null?void 0:ln.item_type)=="JUDGMENT"?"\u5224\u65AD\u9898":"\u7B80\u7B54\u9898","\uFF09")),key:Nn,extra:rn.createElement(Fe.Z,{align:"middle",onClick:jn=>jn.stopPropagation()},Vn&&rn.createElement(he.Z,null,rn.createElement(oe.default.Item,On(Jt({},gt),{rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5C0F\u9898\u5206\u503C"}],label:"\u5206\u503C",name:[Nn,"question_score"],className:ve.Z.blankInputNumberWrapper}),rn.createElement(ye.Z,{className:ve.Z.blankInput,placeholder:"\u8BF7\u8F93\u5165\u5F53\u524D\u5C0F\u9898\u5206\u6570",min:.1,precision:1,max:100,style:{width:150}}))),rn.createElement(he.Z,null,rn.createElement(Fe.Z,{align:"middle",className:"pl40",justify:"end"},Mn!==0&&rn.createElement("div",{onClick:()=>{var jn;en(Mn,Mn-1);const Ir=(jn=nn.getFieldValue("sub_item_banks"))==null?void 0:jn.map((Mo,Jo)=>(Va.map((Ja,mo)=>{Jo===mo&&(Mo.q_position=Number(Ja.name)+1)}),Mo));nn.setFieldValue("sub_item_banks",Ir)}},rn.createElement(Oe.Z,{title:"\u4E0A\u79FB"},rn.createElement("i",{className:"iconfont icon-shangyi3 c-grey-999 primary-hover"}))),Mn<Va.length-1&&rn.createElement("div",{onClick:()=>{var jn;en(Mn,Mn+1);const Ir=(jn=nn.getFieldValue("sub_item_banks"))==null?void 0:jn.map((Mo,Jo)=>(Va.map((Ja,mo)=>{Jo===mo&&(Mo.q_position=Number(Ja.name)+1)}),Mo));nn.setFieldValue("sub_item_banks",Ir)},className:Mn===0?"":"ml15"},rn.createElement(Oe.Z,{title:"\u4E0B\u79FB"},rn.createElement("i",{className:"iconfont icon-xiayi3 c-grey-999 primary-hover"}))))),rn.createElement(he.Z,null,rn.createElement(Oe.Z,{title:"\u5220\u9664"},rn.createElement(ie.Z,{className:`${ve.Z.deleteIcon} ml15`,onClick:()=>Sa(Nn)}))))},rn.createElement(oe.default.Item,On(Jt({},gt),{name:Nn}),(((zn=Cn==null?void 0:Cn[Nn])==null?void 0:zn.item_type)=="SINGLE"||((ya=Cn==null?void 0:Cn[Nn])==null?void 0:ya.item_type)=="MULTIPLE")&&rn.createElement(x.u,{questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u9009\u62E9\u9898\u9898\u5E72\u5185\u5BB9",allowChangeMode:((oa=Cn==null?void 0:Cn[Nn])==null?void 0:oa.item_type)=="MULTIPLE",form:nn,choiceKey:[Nn,"choices"],titleKey:[Nn,"name"],analysisKey:[Nn,"analysis"],choiceOptionsPath:["sub_item_banks",Nn,"choices"],choiceTextKey:"choice_text",answerKey:"is_answer"}),((Da=Cn==null?void 0:Cn[Nn])==null?void 0:Da.item_type)=="COMPLETION"&&rn.createElement(Re,{form:nn,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u9898\u5E72\u5E76\u8BBE\u7F6E\u586B\u7A7A\u9879",scoreByBlank:!1,name:Nn,titleKey:[Nn,"name"],analysisKey:[Nn,"analysis"],isOrdered:[Nn,"is_ordered"],answerKey:[Nn,"standard_answers"]}),((Za=Cn==null?void 0:Cn[Nn])==null?void 0:Za.item_type)=="JUDGMENT"&&rn.createElement($t,{form:nn,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u5224\u65AD\u9898\u9898\u5E72\u5185\u5BB9",titleKey:[Nn,"name"],analysisKey:[Nn,"analysis"],choiceKey:[Nn,"choices"]}),((Yr=Cn==null?void 0:Cn[Nn])==null?void 0:Yr.item_type)=="SUBJECTIVE"&&rn.createElement(ot,{showKeywords:!0,isMustKeyWords:!1,form:nn,titleKey:[Nn,"name"],analysisKey:[Nn,"analysis"],answerTexts:[Nn,"answer_texts"],useKeywords:[Nn,"use_keywords"],keywords:[Nn,"keywords"],indexs:Nn,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u7B80\u7B54\u9898\u9898\u5E72\u5185\u5BB9"})))})),Va.length<20&&rn.createElement(Ie.Z,{menu:{items:[{label:rn.createElement("div",{onClick:()=>{Fn({name:"",choices:Array.from({length:4},()=>({choice_text:"",is_answer:0})),analysis:"",item_type:"SINGLE"}),vr([Va==null?void 0:Va.length,...Ka])}},"\u5355\u9009\u9898"),key:"1",show:!0},{label:rn.createElement("div",{onClick:()=>{Fn({name:"",choices:Array.from({length:4},()=>({choice_text:"",is_answer:0})),analysis:"",item_type:"MULTIPLE"}),vr([Va==null?void 0:Va.length,...Ka])}},"\u591A\u9009\u9898"),key:"2",show:!0},{label:rn.createElement("div",{onClick:()=>{Fn({name:"",choices:[{choice_text:"\u6B63\u786E",is_answer:0},{choice_text:"\u9519\u8BEF",is_answer:0}],analysis:"",item_type:"JUDGMENT"}),vr([Va==null?void 0:Va.length,...Ka])}},"\u5224\u65AD\u9898"),key:"3",show:!0},{label:rn.createElement("div",{onClick:()=>{Fn({name:"",analysis:"",is_ordered:!0,standard_answers:[],item_type:"COMPLETION",downcase:!0,no_space:!0}),vr([Va==null?void 0:Va.length,...Ka])}},"\u586B\u7A7A\u9898"),key:"4",show:!0},{label:rn.createElement("div",{onClick:()=>{Fn({name:"",answer_texts:[],keywords:[],use_keywords:!0,analysis:"",item_type:"SUBJECTIVE"}),vr([Va==null?void 0:Va.length,...Ka])}},"\u7B80\u7B54\u9898"),key:"5",show:!0}].filter(Ln=>Ln.show).map(Ln=>({label:Ln.label,key:Ln.key}))}},rn.createElement("div",{className:`${ve.Z.addBtn}`},"\u6DFB\u52A0\u5C0F\u9898")))}))};var er=te(15312)},48994:function(vt,dt,te){"use strict";te.d(dt,{C:function(){return Re}});var x=te(67294),re={recalculation:"recalculation____i9AE",tips:"tips___GoMu8",filter:"filter___Vx7VO",input:"input___OEMMv",operating:"operating___TS9iA",operatingItem:"operatingItem___AT84q"},Ce=te(94184),ze=te.n(Ce),we=te(84567),Te=te(71230),oe=te(2453),Fe=te(83062),he=te(71577),ye=te(14446),Oe=te(9430),Ie=te(31795),ve=te(22150),ie=te(57953),E=te(28706),a=te(33170),b=te(52262),y=te(63037),z=te(30001),ee=Object.defineProperty,ne=Object.defineProperties,ae=Object.getOwnPropertyDescriptors,le=Object.getOwnPropertySymbols,de=Object.prototype.hasOwnProperty,fe=Object.prototype.propertyIsEnumerable,be=(Ge,Ye,Pt)=>Ye in Ge?ee(Ge,Ye,{enumerable:!0,configurable:!0,writable:!0,value:Pt}):Ge[Ye]=Pt,Ee=(Ge,Ye)=>{for(var Pt in Ye||(Ye={}))de.call(Ye,Pt)&&be(Ge,Pt,Ye[Pt]);if(le)for(var Pt of le(Ye))fe.call(Ye,Pt)&&be(Ge,Pt,Ye[Pt]);return Ge},pe=(Ge,Ye)=>ne(Ge,ae(Ye)),ge=(Ge,Ye,Pt)=>new Promise((qe,at)=>{var pt=Je=>{try{Qt(Pt.next(Je))}catch(xt){at(xt)}},_t=Je=>{try{Qt(Pt.throw(Je))}catch(xt){at(xt)}},Qt=Je=>Je.done?qe(Je.value):Promise.resolve(Je.value).then(pt,_t);Qt((Pt=Pt.apply(Ge,Ye)).next())});const $e=we.default.Group,Be=({className:Ge,title:Ye,items:Pt=[],value:qe,onChange:at})=>{const pt=(Pt==null?void 0:Pt.length)===(qe==null?void 0:qe.length),_t=(qe==null?void 0:qe.length)>0&&(qe==null?void 0:qe.length)<(Pt==null?void 0:Pt.length),Qt=Je=>{const xt=Pt.map(Et=>Et.id);at(Je.target.checked?xt:[])};return x.createElement(Te.Z,{align:"middle",className:Ge},!!Ye&&x.createElement("div",{className:"mr20",style:{color:"#5F6368"}},Ye),x.createElement(we.default,{indeterminate:_t,onChange:Qt,checked:pt},"\u5168\u90E8"),x.createElement($e,{value:qe,onChange:at},Pt.map(Je=>x.createElement(we.default,{className:"ml30 c-black",key:Je.id,value:Je.id},Je.name,x.createElement("span",null,`(${Je.count})`)))))};var Re=({className:Ge,style:Ye,dataSource:Pt})=>{var qe,at,pt,_t,Qt,Je,xt;const[Et,un]=(0,x.useState)({}),[Bt,$t]=(0,x.useState)(!0),[Ne,Tt]=(0,x.useState)(!1),[an,Ft]=(0,x.useState)(!1),[ct,Ct]=(0,x.useState)(null),[Ze,Me]=(0,x.useState)(0),[et,wt]=(0,x.useState)({}),[Ot,Ut]=(0,x.useState)(!0),[wn,An]=(0,x.useState)(0),[tn,Dn]=(0,x.useState)(0),[_e,ot]=(0,x.useState)(!1),rn=(0,x.useRef)(null),[hn,lt]=(0,x.useState)(!1),[gn,qn]=(0,x.useState)(!0),[Gn,ua]=(0,x.useState)([]),cn={page:1,per_page:5,keyword:"",review:[],question_status:[],success_status:[],sort_by:null,direction:null},[Jt,On]=(0,x.useState)(Ee({},cn));(0,x.useEffect)(()=>{Pt!=null&&Pt.question_id&&un(Pt)},[Pt==null?void 0:Pt.question_id]),(0,x.useEffect)(()=>{var Fn;if(((Fn=Et==null?void 0:Et.exercise_question_resubmit)==null?void 0:Fn.status)==="running"){const Sa=setInterval(()=>{ga()},3e3);return()=>clearInterval(Sa)}},[(qe=Et==null?void 0:Et.exercise_question_resubmit)==null?void 0:qe.status]),(0,x.useEffect)(()=>{var Fn;an&&(an===1&&(Jt.question_status=er.map(Sa=>Sa.value),Jt.review=Ht.map(Sa=>Sa.value)),an===2&&(Jt.exercise_question_resubmit_id=(Fn=Et==null?void 0:Et.exercise_question_resubmit)==null?void 0:Fn.id,ct===1&&(Jt.success_status=[1]),ct===2&&(Jt.success_status=[0])),On(Ee({},Jt)),ra(Jt),Dn(Et!=null&&Et.is_mirror?3:10),An(Et!=null&&Et.is_mirror?1:5))},[an]),(0,x.useEffect)(()=>{hn&&sa()},[hn]);const ra=Fn=>ge(void 0,null,function*(){$t(!0);const Sa=yield(0,a.ZP)(`/api/exercise_questions/${Et==null?void 0:Et.question_id}/resubmit_student_list.json`,{method:"get",params:Fn});(Sa==null?void 0:Sa.status)==0&&(wt(Sa||[]),Me(Sa==null?void 0:Sa.count)),$t(!1)}),sa=()=>ge(void 0,null,function*(){qn(!0);const Fn=yield(0,a.ZP)(`/api/exercise_questions/${Et==null?void 0:Et.question_id}/resubmit_history.json`,{method:"get"});(Fn==null?void 0:Fn.status)==0&&ua((Fn==null?void 0:Fn.data)||[]),qn(!1)}),ga=()=>ge(void 0,null,function*(){const Fn=yield(0,a.ZP)(`/api/exercise_questions/${Et==null?void 0:Et.question_id}/resubmit_status.json`,{method:"get"});(Fn==null?void 0:Fn.status)==0&&un(pe(Ee({},Et),{show_resubmit_history:!0,exercise_question_resubmit:(Fn==null?void 0:Fn.data)||{}}))}),er=[{label:"\u672A\u8BC4\u6D4B",value:2,color:"#9096A3"},{label:"\u672A\u901A\u5173",value:0,color:"#E30000"},{label:"\u5DF2\u901A\u5173",value:1,color:"#00B187"}],Ht=[{label:"\u672A\u8BC4\u9605",value:0,color:"#9096A3"},{label:"\u8BC4\u9605\u4E2D",value:2,color:"#FF9D18"},{label:"\u5DF2\u8BC4\u9605",value:1,color:"#3061D0"}],Xt=[{label:"\u6210\u529F",value:1,color:"#00B187"},{label:"\u5931\u8D25",value:0,color:"#E30000"}],nn=[{title:"\u5E8F\u53F7",dataIndex:"key",render:(Fn,Sa,en)=>x.createElement("span",{className:"c-black"},en+1+(Jt.page-1)*Jt.per_page)},{title:"\u59D3\u540D",dataIndex:"user_name",render:Fn=>x.createElement("span",{className:"c-black"},Fn)},{title:"\u5B66\u53F7",dataIndex:"student_id",sorter:!0,render:Fn=>x.createElement("span",{className:"c-grey-666"},Fn||"--")},{title:"\u5206\u73ED",dataIndex:"group_name",render:Fn=>x.createElement("span",{className:"c-black"},Fn)},{title:"\u9898\u76EE\u72B6\u6001",dataIndex:"question_status",render:Fn=>{const{label:Sa,color:en}=er.find(Cn=>Cn.value===Fn)||{};return x.createElement("span",{style:{color:en}},Sa)}},{title:"\u9898\u76EE\u5F97\u5206",dataIndex:"question_score",sorter:!0,render:Fn=>x.createElement("span",{className:"c-black"},Fn)},{title:"\u6700\u7EC8\u6210\u7EE9",dataIndex:"score",sorter:!0,render:Fn=>x.createElement("span",{className:"c-black"},Fn)},{title:"\u8BC4\u9605\u72B6\u6001",dataIndex:"review",render:Fn=>{const{label:Sa,color:en}=Ht.find(Cn=>Cn.value===Fn)||{};return x.createElement("span",{style:{color:en}},Sa)}},an===2&&{title:"\u91CD\u65B0\u8BC4\u6D4B\u7ED3\u679C",dataIndex:"success_status",render:Fn=>{const{label:Sa,color:en}=Xt.find(Cn=>Cn.value===Fn)||{};return x.createElement("span",{style:{color:en}},Sa)}}].filter(Boolean),Vn=(Fn,Sa,en)=>{Jt.page=Fn==null?void 0:Fn.current,Jt.per_page=Fn==null?void 0:Fn.pageSize,en!=null&&en.order?(Jt.sort_by=en==null?void 0:en.field,Jt.direction=(en==null?void 0:en.order)==="ascend"?"asc":"desc"):(Jt.sort_by=null,Jt.direction=null),On(Ee({},Jt)),ra(Jt)},Ka=()=>{if(!wn){oe.ZP.warning("\u8BF7\u8F93\u5165\u91CD\u65B0\u8BC4\u6D4B\u4EFB\u52A1\u5E76\u53D1\u4EBA\u6570");return}ot(!0)},vr=()=>ge(void 0,null,function*(){var Fn,Sa;if((Fn=rn.current)!=null&&Fn.onVerify())return;Tt(!0);const en=yield(0,a.ZP)(`/api/exercise_questions/${Et==null?void 0:Et.question_id}/resubmit.json`,{method:"post",body:{keyword:Jt.keyword,question_status:Jt.question_status,review:Jt.review_status,success_status:Jt.success_status,use_max_score:Ot,permits:wn,exercise_question_resubmit_id:an===1?null:(Sa=Et==null?void 0:Et.exercise_question_resubmit)==null?void 0:Sa.id}});(en==null?void 0:en.status)==0&&(yield ga(),oe.ZP.success("\u64CD\u4F5C\u6210\u529F"),ot(!1),Ft(!1)),Tt(!1)}),Or=(Fn,Sa)=>{Jt.page=1,Jt[Sa]=Fn,On(Ee({},Jt)),ra(Jt)},Va=["","\u5F53\u524D\u9898\u76EE\u7684\u5B9E\u9A8C\u8D44\u6E90\u4E3A\u4E13\u6709\u4E91\uFF0C\u4E0D\u652F\u6301\u91CD\u65B0\u8BC4\u6D4B~","\u8BE5\u529F\u80FD\u4EC5\u8BFE\u5802\u7BA1\u7406\u5458\u548C\u8003\u8BD5\u7684\u521B\u5EFA\u8005\u53EF\u4EE5\u64CD\u4F5C~"];return x.createElement(x.Fragment,null,x.createElement("div",{className:ze()(re.recalculation,Ge),style:Ye},x.createElement(Fe.Z,{title:Va[(Et==null?void 0:Et.disable_resubmit_reason)||0]},x.createElement(he.ZP,{disabled:(Et==null?void 0:Et.disable_resubmit)||((at=Et==null?void 0:Et.exercise_question_resubmit)==null?void 0:at.status)==="running",onClick:()=>Ft(1),icon:x.createElement("i",{className:"iconfont icon-zhongxinpingce font14"}),type:"primary",ghost:!0},"\u91CD\u65B0\u8BC4\u6D4B\u7B97\u5206")),(Et==null?void 0:Et.show_resubmit_history)&&x.createElement(x.Fragment,null,((pt=Et==null?void 0:Et.exercise_question_resubmit)==null?void 0:pt.status)==="running"?x.createElement("div",{className:"c-grey-666"},"\u91CD\u65B0\u8BC4\u6D4B\u4E2D\uFF0C\u5F53\u524D\u8FDB\u5EA6",x.createElement("span",{className:"c-light-primary ml3"},(_t=Et==null?void 0:Et.exercise_question_resubmit)==null?void 0:_t.rate)):x.createElement("div",{className:"c-grey-666"},"\u91CD\u65B0\u8BC4\u6D4B\u6210\u529F",x.createElement("span",{onClick:()=>{Ft(2),Ct(1)},className:"current",style:{color:"#3061D0",textDecoration:"underline",margin:"0 3px"}},(Qt=Et==null?void 0:Et.exercise_question_resubmit)==null?void 0:Qt.success_student_count),"\u4EBA\uFF0C\u5931\u8D25",x.createElement("span",{onClick:()=>{Ft(2),Ct(2)},className:"current",style:{color:"#E30000",textDecoration:"underline",margin:"0 3px"}},(Je=Et==null?void 0:Et.exercise_question_resubmit)==null?void 0:Je.fail_count),"\u4EBA"),x.createElement(Fe.Z,{title:"\u64CD\u4F5C\u8BB0\u5F55"},x.createElement("i",{onClick:()=>lt(!0),className:"iconfont icon-chakanshenqingjilu c-light-primary current font14"})))),x.createElement(ye.default,{centered:!0,open:!!an,title:`\u91CD\u65B0\u8BC4\u6D4B${an===1?"\u7B97\u5206":"\u7ED3\u679C"}`,width:870,okText:"\u91CD\u65B0\u8BC4\u6D4B\u7B97\u5206",onCancel:()=>Ft(!1),onOk:Ka,afterClose:()=>{Ut(!0),Ct(null),On(Ee({},cn))}},x.createElement("div",{className:re.filter},an===1&&x.createElement(x.Fragment,null,x.createElement("div",{className:re.tips},x.createElement("div",{className:"mb5",style:{color:"#FF9D18"}},x.createElement("i",{className:"iconfont icon-tishi9 mr10 font14"}),"\u6E29\u99A8\u63D0\u793A"),x.createElement("div",null,"1.\u91CD\u65B0\u8BC4\u6D4B\u7B97\u5206\u6D41\u7A0B\uFF1A \u7CFB\u7EDF\u81EA\u52A8\u83B7\u53D6\u5B66\u751F\u5728\u8003\u8BD5\u9875\u9762\u4FDD\u5B58\u7684\u6700\u65B0\u4EE3\u7801\uFF0C\u5E76\u8FDB\u884C\u91CD\u65B0\u8BC4\u6D4B\uFF0C\u4ECE\u800C\u7CBE\u51C6\u8BA1\u7B97\u51FA\u5B66\u751F\u7684\u6700\u7EC8\u5F97\u5206\uFF1B"),x.createElement("div",{style:{margin:"2px 0"}},"2.\u91CD\u65B0\u8BC4\u6D4B\u6761\u4EF6\uFF1A \u8003\u8BD5\u7ED3\u675F\u540E\uFF0C\u4EC5\u5BF9\u5DF2\u63D0\u4EA4\u8BD5\u5377\u4E14\u5DF2\u4F5C\u7B54\u8BE5\u9898\u76EE\u7684\u5B66\u751F\u8FDB\u884C\u91CD\u65B0\u8BC4\u6D4B\u4E0E\u7B97\u5206\uFF1B"),x.createElement("div",null,"3.\u91CD\u65B0\u8BC4\u6D4B\u65F6\uFF0C\u8BF7\u786E\u4FDD\u5B9E\u9A8C\u73AF\u5883\u80FD\u6B63\u5E38\u542F\u52A8\u5E76\u53EF\u8FD0\u884C\u8BC4\u6D4B\u3002")),x.createElement(Be,{className:"mt10",title:"\u9898\u76EE\u72B6\u6001",items:(et==null?void 0:et.question_status)||[],value:Jt.question_status,onChange:Fn=>Or(Fn,"question_status")}),x.createElement(Be,{className:"mt10",title:"\u8BC4\u9605\u72B6\u6001",items:(et==null?void 0:et.review_status)||[],value:Jt.review,onChange:Fn=>Or(Fn,"review")})),an===2&&x.createElement(x.Fragment,null,x.createElement(Be,{className:"mt10",title:"\u91CD\u65B0\u8BC4\u6D4B\u7ED3\u679C",items:(et==null?void 0:et.success_status)||[],value:Jt.success_status,onChange:Fn=>Or(Fn,"success_status")})),x.createElement(z.t7,{className:re.input,style:{bottom:an===1?10:-5},value:Jt.keyword,onChange:Fn=>Or(Fn,"keyword"),placeholder:"\u8BF7\u8F93\u5165\u59D3\u540D\u6216\u8005\u5B66\u53F7\u641C\u7D22"})),x.createElement(Oe.default,{className:"mt20",columns:nn,scroll:((xt=et==null?void 0:et.data)==null?void 0:xt.length)>7?{y:300}:{},dataSource:(et==null?void 0:et.data)||[],loading:Bt,onChange:Vn,pagination:{total:Ze,pageSize:Jt.per_page,current:Jt.page,hideOnSinglePage:!Ze,showSizeChanger:!0,pageSizeOptions:["5","10","20","50","100"],showQuickJumper:!0,size:"default",showTotal:E.rU}}),x.createElement(Te.Z,{justify:"space-between",align:"middle",className:"mt10"},x.createElement(we.default,{className:"c-black",checked:Ot,onChange:Fn=>Ut(Fn.target.checked)},"\u91CD\u65B0\u8BC4\u6D4B\u540E\u7684\u5206\u6570\u5927\u4E8E\u539F\u6765\u7684\u5206\u6570\u624D\u66F4\u65B0\u6210\u7EE9"),(0,b.Ny)()&&x.createElement("div",{className:"c-black"},"\u91CD\u65B0\u8BC4\u6D4B\u4EFB\u52A1\u5E76\u53D1\u4EBA\u6570",x.createElement(Ie.Z,{className:"ml10 mr10",value:wn,max:tn,min:1,precision:0,onChange:Fn=>An(Fn)}),"\u4EBA",x.createElement(Fe.Z,{overlayStyle:{maxWidth:450},title:"\u91CD\u65B0\u8BC4\u6D4B\u4EFB\u52A1\u7684\u6700\u5927\u5E76\u53D1\u4EBA\u6570\u4E3A20\u4EBA\uFF08\u81EA\u5B9A\u4E49\u955C\u50CF\u7684\u6700\u5927\u5E76\u53D1\u4EBA\u6570\u4E3A3\u4EBA\uFF09\u3002"},x.createElement("i",{style:{color:"#9096A3"},className:"iconfont icon-tishi5 font13 ml10"}))))),x.createElement(ye.default,{centered:!0,title:"\u91CD\u65B0\u8BC4\u6D4B\u7B97\u5206",open:_e,width:494,zIndex:1001,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",confirmLoading:Ne,destroyOnClose:!0,onOk:vr,onCancel:()=>ot(!1)},x.createElement(ve.default.Item,{className:"mb0",colon:!1,label:"\u9A8C\u8BC1\u7801",name:"code",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u9A8C\u8BC1\u7801"}]},x.createElement(y.Z,{ref:Fn=>rn.current=Fn}))),x.createElement(ye.default,{centered:!0,title:"\u64CD\u4F5C\u8BB0\u5F55",open:hn,width:710,onCancel:()=>lt(!1),footer:null},x.createElement(ie.Z,{spinning:gn},x.createElement("div",{className:re.operating},Gn.map((Fn,Sa)=>x.createElement("div",{key:Sa,className:re.operatingItem},x.createElement("div",{style:{flex:"0 0 180px"},className:"c-grey-666"},Fn==null?void 0:Fn.created_at),x.createElement("div",{className:"c-black"},Fn==null?void 0:Fn.user_name,"\u64CD\u4F5C\u4E86\u91CD\u65B0\u8BC4\u6D4B\u7B97\u5206"),(Fn==null?void 0:Fn.status)==="running"?x.createElement("div",{className:"c-black"},"\u91CD\u65B0\u8BC4\u6D4B\u4E2D\uFF0C\u5F53\u524D\u8FDB\u5EA6",x.createElement("span",{className:"c-light-primary ml3"},Fn==null?void 0:Fn.rate)):x.createElement("div",{className:"c-black"},"\u91CD\u65B0\u8BC4\u6D4B\u6210\u529F",x.createElement("span",{style:{color:"#3061D0",margin:"0 3px"}},Fn==null?void 0:Fn.success_student_count),"\u4EBA\uFF0C\u5931\u8D25",x.createElement("span",{style:{color:"#E30000",margin:"0 3px"}},Fn==null?void 0:Fn.fail_count),"\u4EBA")))),x.createElement("div",{style:{height:20}}))))}},96332:function(vt,dt,te){"use strict";te.d(dt,{Z:function(){return Fe}});var x=te(67294),re={flex_box_center:"flex_box_center___rQJfc",flex_space_between:"flex_space_between___MDW24",flex_box_vertical_center:"flex_box_vertical_center___RZbAv",flex_box_center_end:"flex_box_center_end___ILhJA",flex_box_column:"flex_box_column___Fmij7",orangeColor:"orangeColor___U5vU6",redColor:"redColor___qYa6X",statustitle:"statustitle___pTBLm",statusbody:"statusbody___qUPQx",flex:"flex___VtL45"},Ce=te(14446),ze="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAPCAYAAADUFP50AAAAAXNSR0IArs4c6QAAAUFJREFUOE+V0ktKw1AUxvH/rVqIxT4wkgwEUSmK4APRBfiYCKU7cOZEBOkadAMZiwhuwJETBQciFRTtwJkPBLW2BRGrRanU9kpN2sSYiGaWc/PjuznnCN2Qh8AkPo+AzXxKLLiPhW7ICtDqB4GzQkqM/huGFZgZcDCBBDaaicsTMKbZH2xfwdY5/ICAEGSasC0AwRYblj+gKkENwfy4WS9V4LHsgsk49EZteJKHdBa6w7AybdZzr3D64ILxGKjtNrx9gfsSRBSYtf6xZh1/u+qQClrIhtdFuHmGvhisJcz65RPsZl2Jc/3QE7FhpgDHuT80x2+O9cR1K/GiCDt3rkQ/+Ns43gDFD0YVmHIuQGOOmiGTARhxwkGd1cZ7Vwd0OppWr3911StpcV++Iwn67q/kyBMuHchErcqwFxT1XZXsfQJqo2zI6kdI4QAAAABJRU5ErkJggg==",we="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAAAAXNSR0IArs4c6QAAAW1JREFUOE+dkj1IQmEUht9z/blp4VQEjS39eW+oSCFCpFCI4BiKFGWWQUSrCjVVg+lQNJZQDZGNTm1B4NTibS3n2lo0wuqEN8i/a0HfeN7v+d73nO+QJEcKAJzQPAwCnSpKNtoqkyRHqgDrtUFAb6Rnedx43KgT6O5P0GQijFiNLe/Sy3/B8g+YTIRRrb5jP32JYNADr8eOldU0RJEqVlm8r1kyuA/AIEB10OWy4vBgA4ryCIdjCJlMDmfn1zAY6EmyGY/UrAwrgGATWKsn4mGEQl4Uiw+YX9hT73aZiEcl8eMbZAGA0AT6/ZPY3Ykiny/A55tA7uoGqdQFBD2VbDbDugoSTTEj3gTGYgG8Vt7UeG63hNkZJ7a2s+gw1XqPnf5REKhkt4kxNakO08ycbOtRC/7FcakCwNTJ0WwmDI+1LUCZZDkSYGa5Eewf0G0KAnprNYtFQHdPbZhNS1cmLafF5bUTJsyBSVMHPm+/ADTrfrtCH68WAAAAAElFTkSuQmCC",Te=(he,ye,Oe)=>new Promise((Ie,ve)=>{var ie=b=>{try{a(Oe.next(b))}catch(y){ve(y)}},E=b=>{try{a(Oe.throw(b))}catch(y){ve(y)}},a=b=>b.done?Ie(b.value):Promise.resolve(b.value).then(ie,E);a((Oe=Oe.apply(he,ye)).next())}),Fe=({type:he,resdata:ye,onok:Oe,oktext:Ie,okloading:ve})=>{const[ie,E]=(0,x.useState)(!1),{can_copy_list:a,can_copy_num:b,challenge_type:y,course_data_list:z,no_copy_list:ee,no_copy_num:ne,no_use_list:ae,no_use_num:le,repeat_shixun_num:de,student_count:fe,total_num:be,use_num:Ee}=ye;let pe=b>0||he==="exercise";(0,x.useEffect)(()=>{(ye==null?void 0:ye.student_count)>0&&E(!0)},[ye]),console.log("---11",ve),(0,x.useEffect)(()=>{ve||E(!1)},[ve]);const ge=()=>{if(he==="exercise"&&y===1)return x.createElement(x.Fragment,null,"\u8BFE\u5802\u5185\u6709",x.createElement("span",{className:re.orangeColor},fe),"\u540D\u5B66\u751F\u5DF2\u5728\u5176\u4ED6\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",x.createElement("span",{className:re.orangeColor},Ee),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C",x.createElement("span",{className:re.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u4F5C\u7B54\u5DF2\u6311\u6218\u8FC7\u7684\u5B9E\u8BAD\u9898\u3002"));if(he==="exercise"&&y===2)return x.createElement(x.Fragment,null,"\u8BFE\u5802\u5185\u6709",x.createElement("span",{className:re.orangeColor},fe),"\u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",x.createElement("span",{className:re.orangeColor},Ee),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4E14\u4F5C\u4E1A\u5DF2\u5F00\u542F\u201C\u4F5C\u4E1A\u622A\u6B62\u540E\u4E0D\u5141\u8BB8\u5B66\u751F\u7F16\u8F91\u4EE3\u7801\u201D\u8BBE\u7F6E\u9879\uFF0C",x.createElement("span",{className:re.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(he==="shixun"&&y===1)return x.createElement(x.Fragment,null,"\u8BFE\u5802\u5185\u6709",x.createElement("span",{className:re.orangeColor},fe),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u8BE5\u5B9E\u8DF5\u9879\u76EE\uFF0C",x.createElement("span",{className:re.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(he==="shixun"&&y===2)return x.createElement(x.Fragment,null,"\u8BFE\u5802\u5185\u6709",x.createElement("span",{className:re.orangeColor},fe),"\u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u4E2D\u6311\u6218\u8FC7\u8BE5\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4E14\u4F5C\u4E1A\u5DF2\u5F00\u542F\u201C\u4F5C\u4E1A\u622A\u6B62\u540E\u4E0D\u5141\u8BB8\u5B66\u751F\u7F16\u8F91\u4EE3\u7801\u201D\u8BBE\u7F6E\u9879\uFF0C",x.createElement("span",{className:re.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(he==="subject"&&y===1)return x.createElement(x.Fragment,null,"\u8BFE\u5802\u5185\u6709",x.createElement("span",{className:re.orangeColor},fe),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",x.createElement("span",{className:re.orangeColor},Ee),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C",x.createElement("span",{className:re.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(he==="subject"&&y===2)return x.createElement(x.Fragment,null,"\u8BFE\u5802\u5185\u6709 ",x.createElement("span",{className:re.orangeColor},fe)," \u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u6311\u6218\u8FC7\u5176\u4E2D\u7684 ",x.createElement("span",{className:re.orangeColor},Ee)," \u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4E14\u4F5C\u4E1A\u5DF2\u5F00\u542F\u201C\u4F5C\u4E1A\u622A\u6B62\u540E\u4E0D\u5141\u8BB8\u5B66\u751F\u7F16\u8F91\u4EE3\u7801\u201D\u8BBE\u7F6E\u9879\uFF0C",x.createElement("span",{className:re.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(he==="exercisepush")return x.createElement(x.Fragment,null,"\u8BFE\u5802\u5185\u6709",x.createElement("span",{className:re.orangeColor},fe),"\u540D\u5B66\u751F\u5DF2\u5728\u5176\u4ED6\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u8BD5\u5377\u4E2D\u7684",x.createElement("span",{className:re.orangeColor},Ee),"\u4E2A\u5B9E\u8DF5\u9879\u76EE \uFF0C",x.createElement("span",{className:re.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u5728\u5F53\u524D\u8003\u8BD5\u4E2D\u8FDB\u884C\u4F5C\u7B54\u3002"));if(he==="shixunpush"&&y===1)return x.createElement(x.Fragment,null,"\u8BFE\u5802\u5185\u6709",x.createElement("span",{className:re.orangeColor},fe),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",x.createElement("span",{className:re.orangeColor},Ee),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C",x.createElement("span",{className:re.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(he==="shixunpush"&&y===2)return x.createElement(x.Fragment,null,"\u8BFE\u5802\u5185\u6709",x.createElement("span",{className:re.orangeColor},fe),"\u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u4E2D\u6311\u6218\u8FC7",x.createElement("span",{className:re.orangeColor},Ee),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4E14\u4F5C\u4E1A\u5DF2\u5F00\u542F\u201C\u4F5C\u4E1A\u622A\u6B62\u540E\u4E0D\u5141\u8BB8\u5B66\u751F\u7F16\u8F91\u4EE3\u7801\u201D\u8BBE\u7F6E\u9879\uFF0C",x.createElement("span",{className:re.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"))},$e=()=>{if(he==="exercise"||he==="subject"||he==="exercisepush"||he==="shixunpush")return x.createElement("div",{style:{marginTop:20}},ne>0&&x.createElement("div",null,x.createElement("span",{className:re.flex},x.createElement("img",{src:we,style:{width:14}}),x.createElement("span",{className:re.statustitle},"\u4E0D\u652F\u6301\u590D\u5236\u7684\u5B9E\u8DF5\u9879\u76EE")),x.createElement("div",{className:re.statusbody},he==="exercise"&&x.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",x.createElement("span",{className:re.redColor},"\u4EE5\u4E0B\u8BD5\u9898\u5C06\u4E0D\u4F1A\u88AB\u53D1\u9001\u81F3\u8BFE\u5802\u4E2D\u3002"),"\u60A8\u4E5F\u53EF\u4EE5\u8054\u7CFB\u9879\u76EE\u521B\u5EFA\u8005\u5F00\u542F\u590D\u5236\u6743\u9650\u6216\u8005\u8054\u7CFB\u5E73\u53F0\u6559\u7814\u52A9\u7406\u8FDB\u884C\u534F\u52A9\u3002"),(he==="subject"||he==="exercisepush")&&x.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",pe&&x.createElement("span",{className:re.redColor},"\u4E00\u952E\u590D\u5236\u4E0D\u4F1A\u590D\u5236\u6B64\u90E8\u5206\u9879\u76EE\u3002"),"\u60A8\u53EF\u4EE5\u8054\u7CFB\u9879\u76EE\u521B\u5EFA\u8005\u5F00\u542F\u590D\u5236\u6743\u9650\u6216\u8005\u8054\u7CFB\u5E73\u53F0\u6559\u7814\u52A9\u7406\u8FDB\u884C\u534F\u52A9\u3002"),he==="shixunpush"&&x.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",pe&&x.createElement("span",{className:re.redColor},"\u4E00\u952E\u590D\u5236\u4E0D\u4F1A\u590D\u5236\u6B64\u90E8\u5206\u9879\u76EE\u3002"),"\u5EFA\u8BAE\u60A8\u91CD\u65B0\u9009\u62E9\u5B9E\u8DF5\u9879\u76EE\u518D\u53D1\u5E03\u4F5C\u4E1A\uFF0C\u4E5F\u53EF\u8054\u7CFB\u9879\u76EE\u521B\u5EFA\u8005\u5F00\u542F\u590D\u5236\u6743\u9650\u6216\u8054\u7CFB\u5E73\u53F0\u6559\u7814\u52A9\u7406\u8FDB\u884C\u534F\u52A9\u3002"),x.createElement("div",null,ee==null?void 0:ee.map((Be,Le)=>x.createElement("a",{href:`/shixuns/${Be.identifier}/challenges`,target:"_blank"},"\u300A",Be==null?void 0:Be.name,"\u300B",Le+1!==ne&&"\u3001"))))),b>0&&x.createElement("div",{style:{marginTop:20}},x.createElement("span",{className:re.flex},x.createElement("img",{src:ze,style:{width:14}}),x.createElement("span",{className:re.statustitle},"\u652F\u6301\u590D\u5236\u7684\u5B9E\u8DF5\u9879\u76EE")),x.createElement("div",{className:re.statusbody},he==="exercise"&&x.createElement("div",{style:{marginBottom:15}},"\u5EFA\u8BAE\u60A8\u4E00\u952E\u590D\u5236\u5E76\u66FF\u6362\u8BD5\u9898\uFF08\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\u66FF\u6362\u8BD5\u5377\u4E2D\u7684\u539F\u8BD5\u9898\uFF0C\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\uFF09\u3002"),(he==="subject"||he==="exercisepush")&&x.createElement("div",{style:{marginBottom:15}},"\u5EFA\u8BAE\u60A8\u4E00\u952E\u590D\u5236\u5E76\u53D1\u9001\uFF08\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\uFF0C\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\uFF09\u3002"),he==="shixunpush"&&x.createElement("div",{style:{marginBottom:15}},"\u5EFA\u8BAE\u60A8\u4E00\u952E\u590D\u5236\u5E76\u66FF\u6362\u8BD5\u9898\uFF08\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\u66FF\u6362\u5F53\u524D\u4F5C\u4E1A\u4E2D\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\uFF09\u3002"),x.createElement("div",null,a==null?void 0:a.map((Be,Le)=>x.createElement("a",{href:`/shixuns/${Be.identifier}/challenges`,target:"_blank"},"\u300A",Be==null?void 0:Be.name,"\u300B",Le+1!==b&&"\u3001"))))));if(he==="shixun")return x.createElement("div",{style:{marginTop:20}},b>0?"\u8BE5\u9879\u76EE\u652F\u6301\u590D\u5236\uFF0C\u5EFA\u8BAE\u60A8\u4E00\u952E\u590D\u5236\u5E76\u53D1\u9001\uFF08\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\uFF0C\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\uFF09\u3002":"\u8BE5\u9879\u76EE\u4E0D\u652F\u6301\u590D\u5236\uFF0C\u60A8\u53EF\u4EE5\u8054\u7CFB\u9879\u76EE\u521B\u5EFA\u8005\u5F00\u542F\u590D\u5236\u6743\u9650\u6216\u8005\u8054\u7CFB\u5E73\u53F0\u6559\u7814\u52A9\u7406\u8FDB\u884C\u534F\u52A9\u3002")};return x.createElement(Ce.default,{open:ie,onCancel:()=>{E(!1)},cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",width:700,centered:!0,cancelButtonProps:{style:{display:!pe&&"none"}},zIndex:1003,confirmLoading:ve,okText:pe?Ie:"\u6211\u77E5\u9053\u4E86",onOk:()=>Te(void 0,null,function*(){pe?yield Oe([...a,...ae]):E(!1)})},x.createElement("div",{style:{maxHeight:600,overflow:"auto"}},ge(),$e()))}},2715:function(vt,dt,te){"use strict";te.d(dt,{Z:function(){return Te}});var x=te(67294),re={btn:"btn___kReTL",redBtn:"redBtn___UFEL0"},Ce=te(94184),ze=te.n(Ce),Te=({className:oe,style:Fe,state:he,onClick:ye})=>{var Oe,Ie;return x.createElement("div",{onClick:ye,className:ze()(he?(Oe=re)==null?void 0:Oe.redBtn:(Ie=re)==null?void 0:Ie.btn,oe),style:Fe},he?x.createElement(x.Fragment,null,x.createElement("i",{className:"iconfont icon-biaoji1"}),x.createElement("span",null,"\u53D6\u6D88\u6807\u8BB0\u9519\u9898")):x.createElement(x.Fragment,null,x.createElement("i",{className:"iconfont icon-biaojigaiti"}),x.createElement("span",null,"\u6807\u8BB0\u9519\u9898")))}},57444:function(vt,dt,te){"use strict";te.d(dt,{h:function(){return ne}});var x=te(67294),re=te(42563),Ce=te(22150),ze=te(71577),we=te(4631),Te=te.n(we),oe=te(71749),Fe=te(30483),he=Object.defineProperty,ye=Object.defineProperties,Oe=Object.getOwnPropertyDescriptors,Ie=Object.getOwnPropertySymbols,ve=Object.prototype.hasOwnProperty,ie=Object.prototype.propertyIsEnumerable,E=(ae,le,de)=>le in ae?he(ae,le,{enumerable:!0,configurable:!0,writable:!0,value:de}):ae[le]=de,a=(ae,le)=>{for(var de in le||(le={}))ve.call(le,de)&&E(ae,de,le[de]);if(Ie)for(var de of Ie(le))ie.call(le,de)&&E(ae,de,le[de]);return ae},b=(ae,le)=>ye(ae,Oe(le));const y=re.default.Option,z={labelCol:{span:4},wrapperCol:{span:20}},ee={asp:["ASP","vbscript"],actionscript:["ActionScript(3.0)/Flash/Flex","clike"],bash:["Bash/Bat","shell"],css:["CSS","css"],c:["C","clike"],cpp:["C++","clike"],csharp:["C#","clike"],coffeescript:["CoffeeScript","coffeescript"],d:["D","d"],dart:["Dart","dart"],delphi:["Delphi/Pascal","pascal"],erlang:["Erlang","erlang"],go:["Golang","go"],groovy:["Groovy","groovy"],html:["HTML","text/html"],java:["Java","clike"],json:["JSON","text/json"],javascript:["Javascript","javascript"],lua:["Lua","lua"],less:["LESS","css"],markdown:["Markdown","gfm"],"objective-c":["Objective-C","clike"],php:["PHP","php"],perl:["Perl","perl"],python:["Python","python"],r:["R","r"],rst:["reStructedText","rst"],ruby:["Ruby","ruby"],sql:["SQL","sql"],sass:["SASS/SCSS","sass"],shell:["Shell","shell"],scala:["Scala","clike"],swift:["Swift","clike"],vb:["VB/VBScript","vb"],xml:["XML","text/xml"],yaml:["YAML","yaml"]};dt.Z=({callback:ae,onCancel:le})=>{const[de,fe]=(0,x.useState)("python");function be(pe){fe(ee[pe][1])}function Ee(pe){ae(pe)}return x.createElement(Ce.default,b(a({},z),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:Ee,style:{width:500}}),x.createElement(Ce.default.Item,{label:"\u4EE3\u7801\u8BED\u8A00",name:"language"},x.createElement(re.default,{getPopupContainer:pe=>pe.parentNode,onChange:be},Object.keys(ee).map(pe=>x.createElement(y,{key:pe,value:pe},ee[pe][0])))),x.createElement(Ce.default.Item,{label:"\u4EE3\u7801\u5185\u5BB9",name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EE3\u7801\u5185\u5BB9"}]},x.createElement(ne,{mode:de})),x.createElement("div",{className:"flex-container flex-end"},x.createElement(ze.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),x.createElement(ze.ZP,{type:"ghost",onClick:le},"\u53D6\u6D88")))};function ne({value:ae,onChange:le,mode:de,options:fe={}}){const be=(0,x.useRef)(),[Ee,pe]=(0,x.useState)();return(0,x.useEffect)(()=>{if(Ee){let ge=function($e){const Be=$e.getValue();le&&le(Be)};return Ee.on("change",ge),()=>{Ee.off("change",ge)}}},[Ee,le]),(0,x.useEffect)(()=>{Ee&&Ee.setOption("mode",de)},[Ee,de]),(0,x.useEffect)(()=>{Ee&&(ae!==Ee.getValue()||ae==="")&&setTimeout(()=>{Ee.setValue(ae||"")},300)},[Ee,ae]),(0,x.useEffect)(()=>{if(be.current&&!Ee){const ge=Te().fromTextArea(be.current,a({mode:de,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},fe));pe(ge)}},[be.current,Ee]),x.createElement("div",{className:"my-codemirror-container"},x.createElement("textarea",{ref:be}))}},35567:function(vt,dt,te){"use strict";te.d(dt,{Z:function(){return Nn}});var x=te(67294),re=te(4631),Ce=te.n(re),ze=te(91033),we=te(71749),Te=te(57341),oe=te(82801),Fe=te(88386),he=te(49047),ye=te(80785),Oe=te(85725),Ie=({value:gt="",className:St,showTextOnly:mt,showLines:kt,style:ln={}})=>{const zn=(0,x.useMemo)(()=>"",[gt]);return x.createElement(x.Fragment,null,x.createElement("div",{dangerouslySetInnerHTML:{__html:zn}}))},ve=te(67294),ie=Object.defineProperty,E=Object.defineProperties,a=Object.getOwnPropertyDescriptors,b=Object.getOwnPropertySymbols,y=Object.prototype.hasOwnProperty,z=Object.prototype.propertyIsEnumerable,ee=(gt,St,mt)=>St in gt?ie(gt,St,{enumerable:!0,configurable:!0,writable:!0,value:mt}):gt[St]=mt,ne=(gt,St)=>{for(var mt in St||(St={}))y.call(St,mt)&&ee(gt,mt,St[mt]);if(b)for(var mt of b(St))z.call(St,mt)&&ee(gt,mt,St[mt]);return gt},ae=(gt,St)=>E(gt,a(St));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 de({onActionCallback:gt,title:St,icon:mt,actionName:kt,className:ln="",children:zn}){function ya(){gt(kt)}return ve.createElement("a",{title:St,className:ln,onClick:ya},ve.createElement("i",{className:`${mt}`}),zn)}var fe=({watch:gt,showNullButton:St,showNullProgramButton:mt,onActionCallback:kt,fullScreen:ln,insertTemp:zn,hidetoolBar:ya,extraUse:oa})=>{const Da=[...le,{title:`${gt?"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8":"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"}`,icon:`${gt?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return ve.createElement("ul",{className:"markdown-toolbar-container"},!ya&&Da.map((Za,Yr)=>ve.createElement("li",{key:Yr},Za.actionName?ve.createElement(de,ae(ne({},Za),{onActionCallback:kt})):ve.createElement("span",{className:"v-line"}))),St?ve.createElement("li",null,ve.createElement(de,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-null-ch",onActionCallback:kt},ve.createElement("span",{className:"fill-tip"},"\u70B9\u51FB\u63D2\u5165\b\u586B\u7A7A\u9879"))):null,mt?ve.createElement(ve.Fragment,null,ve.createElement("li",null,ve.createElement(de,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-signal",onActionCallback:kt},ve.createElement("span",{className:"fill-tip"},"+\u5355\u884C\u586B\u7A7A\u9879"))),ve.createElement("li",null,ve.createElement(de,{icon:"md-iconfont icon-uniE900 insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-multiple",onActionCallback:kt},ve.createElement("span",{className:"fill-tip"},"+\u591A\u884C\u586B\u7A7A\u9879")))):null,zn&&ve.createElement("li",null,ve.createElement(de,{icon:"md-iconfont icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:`inster-template-${zn}`,onActionCallback:kt},ve.createElement("span",{className:"fill-tip"},"\u63D2\u5165\u6A21\u677F"))),oa&&ve.createElement("li",null,oa),ve.createElement("li",{className:"btn-full-screen"},ve.createElement(de,{icon:`${ln?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:ln?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:kt})))},be=te(76621),Ee=te(22150),pe=te(69677),ge=te(71577),$e=Object.defineProperty,Be=Object.defineProperties,Le=Object.getOwnPropertyDescriptors,Re=Object.getOwnPropertySymbols,Ge=Object.prototype.hasOwnProperty,Ye=Object.prototype.propertyIsEnumerable,Pt=(gt,St,mt)=>St in gt?$e(gt,St,{enumerable:!0,configurable:!0,writable:!0,value:mt}):gt[St]=mt,qe=(gt,St)=>{for(var mt in St||(St={}))Ge.call(St,mt)&&Pt(gt,mt,St[mt]);if(Re)for(var mt of Re(St))Ye.call(St,mt)&&Pt(gt,mt,St[mt]);return gt},at=(gt,St)=>Be(gt,Le(St));const pt={labelCol:{span:4},wrapperCol:{span:20}};var _t=({callback:gt,onCancel:St})=>{function mt(kt){gt(kt)}return x.createElement(Ee.default,at(qe({},pt),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:mt,style:{width:500}}),x.createElement(Ee.default.Item,{label:"\u94FE\u63A5\u5730\u5740",name:"link",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u5730\u5740"}]},x.createElement(pe.default,null)),x.createElement(Ee.default.Item,{label:"\u94FE\u63A5\u6807\u9898",name:"title",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u6807\u9898"}]},x.createElement(pe.default,null)),x.createElement("div",{className:"flex-container flex-end"},x.createElement(ge.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),x.createElement(ge.ZP,{type:"ghost",onClick:St},"\u53D6\u6D88")))},Qt=te(57444),Je=te(70859),xt=te(14446),Et=te(71230),un=te(63205),Bt=te(67294),$t=({callback:gt,onCancel:St})=>{const mt=document.createElement("canvas"),kt=mt.getContext("2d");mt.width=1e3,mt.height=800,kt.fillStyle="#ffffff",kt.fillRect(0,0,mt.width,mt.height);const ln=mt.toDataURL("image/png");return Bt.createElement(xt.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},Bt.createElement(Et.Z,{style:{height:"100vh"}},Bt.createElement(un.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:ln,visible:!0,title:String(Date.now())},onOk:zn=>{gt({src:zn.url})},onClose:St})))},Ne=te(23495);function Tt(){go.CommandHandler.call(this),this._arrowKeyBehavior="move",this._pasteOffset=new go.Point(10,10),this._lastPasteOffset=new go.Point(0,0)}go.Diagram.inherit(Tt,go.CommandHandler),Tt.prototype.canAlignSelection=function(){var gt=this.diagram;return!(gt===null||gt.isReadOnly||gt.isModelReadOnly||gt.selection.count<2)},Tt.prototype.alignLeft=function(){var gt=this.diagram;gt.startTransaction("aligning left");var St=1/0;gt.selection.each(function(mt){mt instanceof go.Link||(St=Math.min(mt.position.x,St))}),gt.selection.each(function(mt){mt instanceof go.Link||mt.move(new go.Point(St,mt.position.y))}),gt.commitTransaction("aligning left")},Tt.prototype.alignRight=function(){var gt=this.diagram;gt.startTransaction("aligning right");var St=-1/0;gt.selection.each(function(mt){if(!(mt instanceof go.Link)){var kt=mt.actualBounds.x+mt.actualBounds.width;St=Math.max(kt,St)}}),gt.selection.each(function(mt){mt instanceof go.Link||mt.move(new go.Point(St-mt.actualBounds.width,mt.position.y))}),gt.commitTransaction("aligning right")},Tt.prototype.alignTop=function(){var gt=this.diagram;gt.startTransaction("alignTop");var St=1/0;gt.selection.each(function(mt){mt instanceof go.Link||(St=Math.min(mt.position.y,St))}),gt.selection.each(function(mt){mt instanceof go.Link||mt.move(new go.Point(mt.position.x,St))}),gt.commitTransaction("alignTop")},Tt.prototype.alignBottom=function(){var gt=this.diagram;gt.startTransaction("aligning bottom");var St=-1/0;gt.selection.each(function(mt){if(!(mt instanceof go.Link)){var kt=mt.actualBounds.y+mt.actualBounds.height;St=Math.max(kt,St)}}),gt.selection.each(function(mt){mt instanceof go.Link||mt.move(new go.Point(mt.actualBounds.x,St-mt.actualBounds.height))}),gt.commitTransaction("aligning bottom")},Tt.prototype.alignCenterX=function(){var gt=this.diagram,St=gt.selection.first();if(St){gt.startTransaction("aligning Center X");var mt=St.actualBounds.x+St.actualBounds.width/2;gt.selection.each(function(kt){kt instanceof go.Link||kt.move(new go.Point(mt-kt.actualBounds.width/2,kt.actualBounds.y))}),gt.commitTransaction("aligning Center X")}},Tt.prototype.alignCenterY=function(){var gt=this.diagram,St=gt.selection.first();if(St){gt.startTransaction("aligning Center Y");var mt=St.actualBounds.y+St.actualBounds.height/2;gt.selection.each(function(kt){kt instanceof go.Link||kt.move(new go.Point(kt.actualBounds.x,mt-kt.actualBounds.height/2))}),gt.commitTransaction("aligning Center Y")}},Tt.prototype.alignColumn=function(gt){var St=this.diagram;St.startTransaction("align Column"),gt===void 0&&(gt=0),gt=parseFloat(gt);var mt=new Array;St.selection.each(function(oa){oa instanceof go.Link||mt.push(oa)});for(var kt=0;kt<mt.length-1;kt++){var ln=mt[kt],zn=ln.actualBounds.y+ln.actualBounds.height+gt,ya=mt[kt+1];ya.move(new go.Point(ln.actualBounds.x,zn))}St.commitTransaction("align Column")},Tt.prototype.alignRow=function(gt){gt===void 0&&(gt=0),gt=parseFloat(gt);var St=this.diagram;St.startTransaction("align Row");var mt=new Array;St.selection.each(function(oa){oa instanceof go.Link||mt.push(oa)});for(var kt=0;kt<mt.length-1;kt++){var ln=mt[kt],zn=ln.actualBounds.x+ln.actualBounds.width+gt,ya=mt[kt+1];ya.move(new go.Point(zn,ln.actualBounds.y))}St.commitTransaction("align Row")},Tt.prototype.canRotate=function(gt){var St=this.diagram;return!(St===null||St.isReadOnly||St.isModelReadOnly||St.selection.count<1)},Tt.prototype.rotate=function(gt){gt===void 0&&(gt=90);var St=this.diagram;St.startTransaction("rotate "+gt.toString());var St=this.diagram;St.selection.each(function(mt){mt instanceof go.Link||mt instanceof go.Group||(mt.angle+=gt)}),St.commitTransaction("rotate "+gt.toString())},Tt.prototype.pullToFront=function(){var gt=this.diagram;gt.startTransaction("pullToFront");var St=new go.Map;gt.selection.each(function(mt){St.set(mt.layer,0)}),St.iteratorKeys.each(function(mt){var kt=0;mt.parts.each(function(ln){if(!ln.isSelected){var zn=ln.zOrder;isNaN(zn)?ln.zOrder=0:kt=Math.max(kt,zn)}}),St.set(mt,kt)}),gt.selection.each(function(mt){Tt._assignZOrder(mt,St.get(mt.layer)+1)}),gt.commitTransaction("pullToFront")},Tt.prototype.pushToBack=function(){var gt=this.diagram;gt.startTransaction("pushToBack");var St=new go.Map;gt.selection.each(function(mt){St.set(mt.layer,0)}),St.iteratorKeys.each(function(mt){var kt=0;mt.parts.each(function(ln){if(!ln.isSelected){var zn=ln.zOrder;isNaN(zn)?ln.zOrder=0:kt=Math.min(kt,zn)}}),St.set(mt,kt)}),gt.selection.each(function(mt){Tt._assignZOrder(mt,St.get(mt.layer)-1-Tt._findGroupDepth(mt))}),gt.commitTransaction("pushToBack")},Tt._assignZOrder=function(gt,St,mt){mt===void 0&&(mt=gt),gt.layer===mt.layer&&(gt.zOrder=St),gt instanceof go.Group&&gt.memberParts.each(function(kt){Tt._assignZOrder(kt,St+1,mt)})},Tt._findGroupDepth=function(gt){if(gt instanceof go.Group){var St=0;return gt.memberParts.each(function(mt){St=Math.max(St,Tt._findGroupDepth(mt))}),St+1}else return 0},Tt.prototype.doKeyDown=function(){var gt=this.diagram;if(gt!==null){var St=gt.lastInput;if(St.key==="Up"||St.key==="Down"||St.key==="Left"||St.key==="Right"){var mt=this.arrowKeyBehavior;if(mt==="none")return;if(mt==="select"){this._arrowKeySelect();return}else if(mt==="move"){this._arrowKeyMove();return}else if(mt==="tree"){this._arrowKeyTree();return}}go.CommandHandler.prototype.doKeyDown.call(this)}},Tt.prototype._getAllParts=function(){var gt=new Array;return this.diagram.nodes.each(function(St){gt.push(St)}),this.diagram.parts.each(function(St){gt.push(St)}),gt},Tt.prototype._arrowKeyMove=function(){var gt=this.diagram,St=gt.lastInput,mt=0,kt=0;if(St.control||St.meta)mt=1,kt=1;else if(gt.grid!==null){var ln=gt.grid.gridCellSize;kt=ln.width,mt=ln.height}gt.startTransaction("arrowKeyMove"),gt.selection.each(function(zn){St.key==="Up"?zn.move(new go.Point(zn.actualBounds.x,zn.actualBounds.y-mt)):St.key==="Down"?zn.move(new go.Point(zn.actualBounds.x,zn.actualBounds.y+mt)):St.key==="Left"?zn.move(new go.Point(zn.actualBounds.x-kt,zn.actualBounds.y)):St.key==="Right"&&zn.move(new go.Point(zn.actualBounds.x+kt,zn.actualBounds.y))}),gt.commitTransaction("arrowKeyMove")},Tt.prototype._arrowKeySelect=function(){var gt=this.diagram,St=gt.lastInput,mt=null;St.key==="Up"?mt=this._findNearestPartTowards(270):St.key==="Down"?mt=this._findNearestPartTowards(90):St.key==="Left"?mt=this._findNearestPartTowards(180):St.key==="Right"&&(mt=this._findNearestPartTowards(0)),mt!==null&&(St.shift?mt.isSelected=!0:St.control||St.meta?mt.isSelected=!mt.isSelected:gt.select(mt))},Tt.prototype._findNearestPartTowards=function(gt){var St=this.diagram.selection.first();if(St===null)return null;for(var mt=St.actualBounds.center,kt=this._getAllParts(),ln=1/0,zn=St,ya=0;ya<kt.length;ya++){var oa=kt[ya];if(oa!==St&&oa.canSelect()){var Da=oa.actualBounds.center,Za=mt.directionPoint(Da),Yr=this._angleCloseness(Za,gt);if(Yr<=45){var jn=mt.distanceSquaredPoint(Da);jn*=1+Math.sin(Yr*Math.PI/180),jn<ln&&(ln=jn,zn=oa)}}}return zn},Tt.prototype._angleCloseness=function(gt,St){return Math.min(Math.abs(St-gt),Math.min(Math.abs(St+360-gt),Math.abs(St-360-gt)))},Tt.prototype._arrowKeyTree=function(){var gt=this.diagram,St=gt.selection.first();if(St instanceof go.Node){var mt=gt.lastInput;if(mt.key==="Right"){if(!St.isTreeLeaf)if(!St.isTreeExpanded)gt.commandHandler.canExpandTree(St)&&gt.commandHandler.expandTree(St);else{var kt=this._sortTreeChildrenByY(St).first();kt!==null&&gt.select(kt)}}else if(mt.key==="Left")if(!St.isTreeLeaf&&St.isTreeExpanded)gt.commandHandler.canCollapseTree(St)&&gt.commandHandler.collapseTree(St);else{var ln=St.findTreeParentNode();ln!==null&&gt.select(ln)}else if(mt.key==="Up"){var ln=St.findTreeParentNode();if(ln!==null){var zn=this._sortTreeChildrenByY(ln),ya=zn.indexOf(St);if(ya>0){for(var oa=zn.elt(ya-1);oa!==null&&oa.isTreeExpanded&&!oa.isTreeLeaf;){var Da=this._sortTreeChildrenByY(oa);oa=Da.last()}oa!==null&&gt.select(oa)}else gt.select(ln)}}else if(mt.key==="Down")if(St.isTreeExpanded&&!St.isTreeLeaf){var kt=this._sortTreeChildrenByY(St).first();kt!==null&&gt.select(kt)}else for(;St!==null;){var ln=St.findTreeParentNode();if(ln===null)break;var zn=this._sortTreeChildrenByY(ln),ya=zn.indexOf(St);if(ya<zn.length-1){gt.select(zn.elt(ya+1));break}else St=ln}var Za=gt.selection.first();Za!==null&&gt.scrollToRect(Za.actualBounds)}},Tt.prototype._sortTreeChildrenByY=function(gt){var St=new go.List().addAll(gt.findTreeChildrenNodes());return St.sort(function(mt,kt){var ln=mt.location,zn=kt.location;return ln.y<zn.y?-1:ln.y>zn.y?1:ln.x<zn.x?-1:ln.x>zn.x?1:0}),St},Tt.prototype.copyToClipboard=function(gt){go.CommandHandler.prototype.copyToClipboard.call(this,gt),this._lastPasteOffset.set(this.pasteOffset)},Tt.prototype.pasteFromClipboard=function(){var gt=go.CommandHandler.prototype.pasteFromClipboard.call(this);return this.diagram.moveParts(gt,this._lastPasteOffset),this._lastPasteOffset.add(this.pasteOffset),gt},Object.defineProperty(Tt.prototype,"arrowKeyBehavior",{get:function(){return this._arrowKeyBehavior},set:function(gt){if(gt!=="move"&&gt!=="select"&&gt!=="scroll"&&gt!=="tree"&&gt!=="none")throw new Error('DrawCommandHandler.arrowKeyBehavior must be either "move", "select", "scroll", "tree", or "none", not: '+gt);this._arrowKeyBehavior=gt}}),Object.defineProperty(Tt.prototype,"pasteOffset",{get:function(){return this._pasteOffset},set:function(gt){if(!(gt instanceof go.Point))throw new Error("DrawCommandHandler.pasteOffset must be a Point, not: "+gt);this._pasteOffset.set(gt)}});var an=Tt,Ft=te(18023),ct=te(15746),Ct=te(33170),Ze={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re"},Me=te(67294),et=(gt,St,mt)=>new Promise((kt,ln)=>{var zn=Da=>{try{oa(mt.next(Da))}catch(Za){ln(Za)}},ya=Da=>{try{oa(mt.throw(Da))}catch(Za){ln(Za)}},oa=Da=>Da.done?kt(Da.value):Promise.resolve(Da.value).then(zn,ya);oa((mt=mt.apply(gt,St)).next())});function wt({onCancel:gt,callback:St}){let mt=(0,x.useRef)(),kt=(0,x.useRef)(),ln=(0,x.useRef)(),zn=(0,x.useRef)(!1);const ya=(0,x.useRef)(!1),[oa,Da]=(0,x.useState)(0);function Za(){const jn=Ne.bx.make,Ir={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"};mt.current=new Ne.S0(kt.current,{padding:20,grid:jn(Ne.s_,"Grid",jn(Ne.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),jn(Ne.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),"draggingTool.isGridSnapEnabled":!0,handlesDragDropForTopLevelParts:!0,mouseDrop:pa=>{var ir=pa.diagram.commandHandler.addTopLevelParts(pa.diagram.selection,!0);ir||pa.diagram.currentTool.doCancel()},commandHandler:jn(an),"clickCreatingTool.archetypeNodeData":{text:"\u672A\u547D\u540D",fill:null,stroke:null,borderColor:"rgba(0,0,0,0)"},PartCreated:pa=>{var ir=pa.subject;ir.location=ir.location.copy().snapToGridPoint(pa.diagram.grid.gridOrigin,pa.diagram.grid.gridCellSize),setTimeout(()=>{pa.diagram.commandHandler.editTextBlock()},20)},"commandHandler.archetypeGroupData":{isGroup:!0,text:"NEW GROUP"},SelectionGrouped:pa=>{var ir=pa.subject;setTimeout(()=>{pa.diagram.commandHandler.editTextBlock()})},LinkRelinked:pa=>{var ir=pa.parameter.part;ir.invalidateConnectedLinks();var $r=pa.subject;pa.diagram.toolManager.linkingTool.isForwards?$r.toNode.invalidateConnectedLinks():$r.fromNode.invalidateConnectedLinks()},"undoManager.isEnabled":!0}),mt.current.nodeTemplate=jn(Ne.NB,"Auto",{locationSpot:Ne.z6.Center,locationObjectName:"SHAPE",desiredSize:new Ne.$u(120,60),minSize:new Ne.$u(40,40),resizable:!0,resizeCellSize:new Ne.$u(10,10),rotatable:!0},new Ne.KX("location","loc",Ne.E9.parse).makeTwoWay(Ne.E9.stringify),new Ne.KX("desiredSize","size",Ne.$u.parse).makeTwoWay(Ne.$u.stringify),jn(Ne.bn,{name:"SHAPE",fill:Ir.white,cursor:"pointer",portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:Ne.z6.AllSides,toSpot:Ne.z6.AllSides},new Ne.KX("figure"),new Ne.KX("fill"),new Ne.KX("stroke","borderColor"),new Ne.KX("strokeWidth","thickness"),new Ne.KX("strokeDashArray","dash")),jn(Ne.bn,{width:100,height:20,strokeWidth:0,fill:"transparent"}),jn(Ne.al,{margin:1,textAlign:"center",overflow:Ne.al.OverflowEllipsis,editable:!0},new Ne.KX("text").makeTwoWay(),new Ne.KX("stroke","color"))),mt.current.nodeTemplate.toolTip=jn("ToolTip",jn(Ne.s_,"Vertical",{maxSize:new Ne.$u(200,NaN)},jn(Ne.al,{font:"bold 10pt sans-serif",textAlign:"center"},new Ne.KX("text")),jn(Ne.al,{font:"10pt sans-serif",textAlign:"center"},new Ne.KX("text","details"))));function Mo(pa,ir){var $r=(Xa,Ao)=>{Xa.handled=!0,Xa.diagram.model.commit(Ro=>{var qo=Ao.part.adornedPart,Xo=new Ne.E9().setRectSpot(qo.actualBounds,pa);Xo.subtract(qo.location),Xo.scale(2,2),Xo.x+=Math.sign(Xo.x)*130,Xo.y+=Math.sign(Xo.y)*130,Xo.add(qo.location),Xo.snapToGridPoint(Xa.diagram.grid.gridOrigin,Xa.diagram.grid.gridCellSize);var ni=Ro.copyNodeData(qo.data);Ro.setGroupKeyForNodeData(ni,Ro.getGroupKeyForNodeData(qo.data)),Ro.addNodeData(ni);var al={from:qo.key,to:Ro.getKeyForNodeData(ni)};Ro.addLinkData(al);var ci=Xa.diagram.findNodeForData(ni);ci.location=Xo,Xa.diagram.select(ci),setTimeout(()=>{Xa.diagram.commandHandler.editTextBlock()},20)})};return jn(Ne.bn,{figure:ir,alignment:pa,alignmentFocus:pa.opposite(),width:pa.equals(Ne.z6.Top)||pa.equals(Ne.z6.Bottom)?25:18,height:pa.equals(Ne.z6.Top)||pa.equals(Ne.z6.Bottom)?18:25,fill:"orange",stroke:Ir.white,strokeWidth:4,mouseEnter:(Xa,Ao)=>Ao.fill="dodgerblue",mouseLeave:(Xa,Ao)=>Ao.fill="orange",isActionable:!0,click:$r,contextClick:$r})}function Jo(pa){return jn(Ne.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:(ir,$r)=>$r.fill="dodgerblue",mouseLeave:(ir,$r)=>$r.fill="orange",click:(ir,$r)=>{ir.diagram.commandHandler.showContextMenu($r.part.adornedPart)}},pa||{})}mt.current.nodeTemplate.selectionAdornmentTemplate=jn(Ne.uz,"Spot",jn(Ne.Vm,{padding:10}),Mo(Ne.z6.Top,"TriangleUp"),Mo(Ne.z6.Left,"TriangleLeft"),Mo(Ne.z6.Right,"TriangleRight"),Mo(Ne.z6.Bottom,"TriangleDown"),Jo({alignment:new Ne.z6(.75,0)}));function Ja(pa,ir){return($r,Xa)=>{$r.handled=!0,$r.diagram.model.commit(Ao=>{Ao.set(Xa.part.adornedPart.data,pa,ir)})}}function mo(pa,ir){return ir||(ir="color"),jn(Ne.bn,{width:16,height:16,stroke:"lightgray",fill:pa,margin:1,background:"transparent",mouseEnter:($r,Xa)=>Xa.stroke="dodgerblue",mouseLeave:($r,Xa)=>Xa.stroke="lightgray",click:Ja(ir,pa),contextClick:Ja(ir,pa)})}function Ai(){return[jn("ContextMenuButton",jn(Ne.s_,"Horizontal",mo(Ir.white,"fill"),mo(Ir.beige,"fill"),mo(Ir.extralightblue,"fill"),mo(Ir.extralightred,"fill"))),jn("ContextMenuButton",jn(Ne.s_,"Horizontal",mo(Ir.lightgray,"fill"),mo(Ir.lightgreen,"fill"),mo(Ir.lightblue,"fill"),mo(Ir.lightred,"fill")))]}function qr(){return[jn("ContextMenuButton",jn(Ne.s_,"Horizontal",mo(Ir.black),mo(Ir.green),mo(Ir.blue),mo(Ir.red))),jn("ContextMenuButton",jn(Ne.s_,"Horizontal",mo(Ir.white),mo(Ir.magenta),mo(Ir.purple),mo(Ir.orange)))]}function ki(pa,ir){return ir||(ir="thickness"),jn(Ne.bn,"LineH",{width:16,height:16,strokeWidth:pa,margin:1,background:"transparent",mouseEnter:($r,Xa)=>Xa.background="dodgerblue",mouseLeave:($r,Xa)=>Xa.background="transparent",click:Ja(ir,pa),contextClick:Ja(ir,pa)})}function yi(pa,ir){return ir||(ir="dash"),jn(Ne.bn,"LineH",{width:24,height:16,strokeWidth:2,strokeDashArray:pa,margin:1,background:"transparent",mouseEnter:($r,Xa)=>Xa.background="dodgerblue",mouseLeave:($r,Xa)=>Xa.background="transparent",click:Ja(ir,pa),contextClick:Ja(ir,pa)})}function di(){return[jn("ContextMenuButton",jn(Ne.s_,"Horizontal",ki(1),ki(2),ki(3),ki(4))),jn("ContextMenuButton",jn(Ne.s_,"Horizontal",yi(null),yi([2,4]),yi([4,4])))]}function Wo(pa,ir){return ir||(ir="figure"),jn(Ne.bn,{width:32,height:32,scale:.5,fill:"lightgray",figure:pa,margin:1,background:"transparent",mouseEnter:($r,Xa)=>Xa.fill="dodgerblue",mouseLeave:($r,Xa)=>Xa.fill="lightgray",click:Ja(ir,pa),contextClick:Ja(ir,pa)})}mt.current.nodeTemplate.contextMenu=jn("ContextMenu",jn("ContextMenuButton",jn(Ne.s_,"Horizontal",Wo("Rectangle"),Wo("RoundedRectangle"),Wo("Ellipse"),Wo("Diamond"))),jn("ContextMenuButton",jn(Ne.s_,"Horizontal",Wo("Parallelogram2"),Wo("ManualOperation"),Wo("Procedure"),Wo("Cylinder1"))),jn("ContextMenuButton",jn(Ne.s_,"Horizontal",Wo("Terminator"),Wo("CreateRequest"),Wo("Document"),Wo("TriangleDown"))),Ai(),qr(),di()),mt.current.groupTemplate=jn(Ne.ZA,"Spot",{layerName:"Background",ungroupable:!0,locationSpot:Ne.z6.Center,selectionObjectName:"BODY",computesBoundsAfterDrag:!0,handlesDragDropForMembers:!0,mouseDrop:(pa,ir)=>{var $r=ir.addMembers(ir.diagram.selection,!0);$r||ir.diagram.currentTool.doCancel()},avoidable:!1},new Ne.KX("location","loc",Ne.E9.parse).makeTwoWay(Ne.E9.stringify),jn(Ne.s_,"Auto",{name:"BODY"},jn(Ne.bn,{parameter1:10,fill:Ir.white,strokeWidth:2,cursor:"pointer",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:Ne.z6.AllSides,toSpot:Ne.z6.AllSides},new Ne.KX("fill"),new Ne.KX("stroke","color"),new Ne.KX("strokeWidth","thickness"),new Ne.KX("strokeDashArray","dash")),jn(Ne.Vm,{background:"transparent",margin:20})),jn(Ne.al,{alignment:Ne.z6.Top,alignmentFocus:Ne.z6.Bottom,font:"bold 12pt sans-serif",editable:!0},new Ne.KX("text"),new Ne.KX("stroke","color"))),mt.current.groupTemplate.selectionAdornmentTemplate=jn(Ne.uz,"Spot",jn(Ne.s_,"Auto",jn(Ne.bn,{fill:null,stroke:"dodgerblue",strokeWidth:3}),jn(Ne.Vm,{margin:1.5})),Jo({alignment:Ne.z6.TopRight,alignmentFocus:Ne.z6.BottomRight})),mt.current.groupTemplate.contextMenu=jn("ContextMenu",Ai(),qr(),di()),mt.current.linkTemplate=jn(Ne.rU,{layerName:"Foreground",routing:Ne.rU.AvoidsNodes,corner:10,fromShortLength:10,toShortLength:15,relinkableFrom:!0,relinkableTo:!0,reshapable:!0,resegmentable:!0},new Ne.KX("fromSpot","fromSpot",Ne.z6.parse),new Ne.KX("toSpot","toSpot",Ne.z6.parse),new Ne.KX("fromShortLength","dir",pa=>pa>=1?10:0),new Ne.KX("toShortLength","dir",pa=>pa>=1?10:0),new Ne.KX("points").makeTwoWay(),jn(Ne.bn,{strokeWidth:2},new Ne.KX("stroke","color"),new Ne.KX("strokeWidth","thickness"),new Ne.KX("strokeDashArray","dash")),jn(Ne.bn,{segmentIndex:0,segmentOffset:new Ne.E9(15,0),segmentOrientation:Ne.rU.OrientAlong,alignmentFocus:Ne.z6.Right,figure:"circle",width:10,strokeWidth:0},new Ne.KX("fill","color"),new Ne.KX("visible","dir",pa=>pa===1)),jn(Ne.bn,{segmentIndex:-1,segmentOffset:new Ne.E9(-10,6),segmentOrientation:Ne.rU.OrientPlus90,alignmentFocus:Ne.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new Ne.KX("fill","color"),new Ne.KX("visible","dir",pa=>pa>=1),new Ne.KX("width","thickness",pa=>7+3*pa),new Ne.KX("height","thickness",pa=>7+3*pa),new Ne.KX("segmentOffset","thickness",pa=>new Ne.E9(-15,4+1.5*pa))),jn(Ne.bn,{segmentIndex:0,segmentOffset:new Ne.E9(15,-6),segmentOrientation:Ne.rU.OrientMinus90,alignmentFocus:Ne.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new Ne.KX("fill","color"),new Ne.KX("visible","dir",pa=>pa===2),new Ne.KX("width","thickness",pa=>7+3*pa),new Ne.KX("height","thickness",pa=>7+3*pa),new Ne.KX("segmentOffset","thickness",pa=>new Ne.E9(-15,4+1.5*pa))),jn(Ne.al,{alignmentFocus:new Ne.z6(0,1,-4,0),editable:!0},new Ne.KX("text").makeTwoWay(),new Ne.KX("stroke","color"))),mt.current.linkTemplate.selectionAdornmentTemplate=jn(Ne.uz,jn(Ne.bn,{isPanelMain:!0,stroke:"transparent",strokeWidth:6,pathPattern:Zi(2)},new Ne.KX("pathPattern","thickness",Zi)),Jo({alignmentFocus:new Ne.z6(0,0,-6,-4)}));function Zi(pa){return jn(Ne.bn,{stroke:"dodgerblue",strokeWidth:2,strokeCap:"square",geometryString:"M0 0 M4 2 H3 M4 "+(pa+4).toString()+" H3"})}function Ci(pa){var ir="M0 0 M8 16 M0 8 L16 8 M12 11 L16 8 L12 5";return pa===0?ir="M0 0 M16 16 M0 8 L16 8":pa===2&&(ir="M0 0 M16 16 M0 8 L16 8 M12 11 L16 8 L12 5 M4 11 L0 8 L4 5"),jn(Ne.bn,{geometryString:ir,margin:2,background:"transparent",mouseEnter:($r,Xa)=>Xa.background="dodgerblue",mouseLeave:($r,Xa)=>Xa.background="transparent",click:Ja("dir",pa),contextClick:Ja("dir",pa)})}function Pl(pa){var ir=($r,Xa)=>{$r.handled=!0,$r.diagram.model.commit(Ao=>{var Ro=Xa.part.adornedPart;Ao.set(Ro.data,pa?"toSpot":"fromSpot",Ne.z6.stringify(Ne.z6.AllSides)),(pa?Ro.toNode:Ro.fromNode).invalidateConnectedLinks()})};return jn(Ne.bn,{width:12,height:12,fill:"transparent",mouseEnter:($r,Xa)=>Xa.background="dodgerblue",mouseLeave:($r,Xa)=>Xa.background="transparent",click:ir,contextClick:ir})}function Qn(pa,ir){var $r=0,Xa=Ne.z6.RightSide;pa.equals(Ne.z6.Top)?($r=270,Xa=Ne.z6.TopSide):pa.equals(Ne.z6.Left)?($r=180,Xa=Ne.z6.LeftSide):pa.equals(Ne.z6.Bottom)&&($r=90,Xa=Ne.z6.BottomSide),ir||($r-=180);var Ao=(Ro,qo)=>{Ro.handled=!0,Ro.diagram.model.commit(Xo=>{var ni=qo.part.adornedPart;Xo.set(ni.data,ir?"toSpot":"fromSpot",Ne.z6.stringify(Xa)),(ir?ni.toNode:ni.fromNode).invalidateConnectedLinks()})};return jn(Ne.bn,{alignment:pa,alignmentFocus:pa.opposite(),geometryString:"M0 0 M12 12 M12 6 L1 6 L4 4 M1 6 L4 8",angle:$r,background:"transparent",mouseEnter:(Ro,qo)=>qo.background="dodgerblue",mouseLeave:(Ro,qo)=>qo.background="transparent",click:Ao,contextClick:Ao})}mt.current.linkTemplate.contextMenu=jn("ContextMenu",qr(),di(),jn("ContextMenuButton",jn(Ne.s_,"Horizontal",Ci(0),Ci(1),Ci(2))),jn("ContextMenuButton",jn(Ne.s_,"Horizontal",jn(Ne.s_,"Spot",Pl(!1),Qn(Ne.z6.Top,!1),Qn(Ne.z6.Left,!1),Qn(Ne.z6.Right,!1),Qn(Ne.z6.Bottom,!1)),jn(Ne.s_,"Spot",{margin:new Ne.Zt(0,0,0,2)},Pl(!0),Qn(Ne.z6.Top,!0),Qn(Ne.z6.Left,!0),Qn(Ne.z6.Right,!0),Qn(Ne.z6.Bottom,!0)))));const bl=`{ "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 Li=["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 lo(pa){return console.log("shapeName:",pa),Li.indexOf(pa)>=0}var so=new Ne.YI(ln.current,{maxSelectionCount:1,linkTemplate:jn(Ne.rU,{locationSpot:Ne.z6.Center,selectionAdornmentTemplate:jn(Ne.uz,"Link",{locationSpot:Ne.z6.Center},jn(Ne.bn,{isPanelMain:!0,fill:null,stroke:"deepskyblue",strokeWidth:0}),jn(Ne.bn,{toArrow:"Standard",stroke:null}))},{routing:Ne.rU.AvoidsNodes,curve:Ne.rU.JumpOver,corner:5,toShortLength:4},new Ne.KX("points"),jn(Ne.bn,{isPanelMain:!0,strokeWidth:2}),jn(Ne.bn,{toArrow:"Standard",stroke:null})),model:new Ne.FJ([{text:"\u672A\u547D\u540D",size:"100 100",fill:null,stroke:"#000"},...Ne.bn.getFigureGenerators().toArray().map(pa=>({text:"\u672A\u547D\u540D",size:"100 100",figure:pa.key,fill:"white",stroke:"#666",borderColor:"#000"}))])});return mt.current.addDiagramListener("TextEdited",function(pa){var ir;const $r=pa.subject.part;var Xa=(ir=document.activeElement)==null?void 0:ir.value;typeof Xa=="string"&&Xa.trim()===""&&mt.current.model.commit(function(Ao){Ao.set($r.data,"text","\u672A\u547D\u540D"),mt.current.commandHandler.stopCommand()},"increment")}),so.nodeTemplate=jn(Ne.NB,"Auto",{locationSpot:Ne.z6.Center},new Ne.KX("location","location",Ne.E9.parse).makeTwoWay(Ne.E9.stringify),jn(Ne.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 Ne.KX("stroke").makeTwoWay(),new Ne.KX("fill").makeTwoWay(),new Ne.KX("figure")),jn(Ne.al,{margin:new Ne.Zt(5,5,3,5),font:"10pt sans-serif",minSize:new Ne.$u(16,16),maxSize:new Ne.$u(10,NaN),textAlign:"center",editable:!0},new Ne.KX("key").makeTwoWay())),setTimeout(()=>{mt.current.grid=jn(Ne.s_,"Grid",jn(Ne.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),jn(Ne.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),mt.current.grid.visible=!0,mt.current.grid.gridCellStroke="darkgray",mt.current.grid.gridCellStrokeWidth=1},300),window.myDiagrams=mt.current,mt.current}const Yr=()=>et(this,null,function*(){var jn=mt.current.makeImage();const Ir=yield(0,Ct.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Date.now(),file:jn.src}});St({src:Ir.url})});return(0,x.useEffect)(()=>(setTimeout(()=>{Za()},500),Da(oa+1),()=>{mt.current=null}),[]),Me.createElement("div",{ref:ya,className:zn.current?`${Ze.maxH60} body-overflow-initial`:"body-overflow-initial"},Me.createElement(xt.default,{width:1200,icon:null,footer:null,closable:!0,visible:!!oa,destroyOnClose:!0,maskClosable:!1,rootClassName:"zIndex-9999",title:Me.createElement(Et.Z,null,Me.createElement(ct.Z,{flex:1},"\u63D2\u5165\u6D41\u7A0B\u56FE"),Me.createElement(ct.Z,{onClick:()=>{var jn,Ir,Mo=mt.current.selection.first();if(zn.current=!zn.current,document.activeElement&&Mo){let Jo=(Ir=(jn=document.activeElement)==null?void 0:jn.value)==null?void 0:Ir.trim();typeof Jo=="string"&&mt.current.model.commit(function(Ja){Ja.set(Mo.data,"text",Jo||"\u672A\u547D\u540D"),mt.current.commandHandler.stopCommand()},"increment")}Da(oa+1)}},Me.createElement("span",{className:"current c-blue mr30",style:{fontWeight:400}},"\u5C55\u5F00/\u6536\u8D77"))),onCancel:gt},Me.createElement("div",{style:{width:"100%",height:"80vh",overflow:"hidden",position:"relative"},className:Ze.flowChartWrp},Me.createElement("div",{style:{display:"flex",height:"100%"}},Me.createElement("div",{style:{width:"300px",height:"100%"}},Me.createElement("div",{style:{background:"#fff",position:"relative",zIndex:12,fontSize:16,color:"#3061d0"}},"\u56FE\u5F62\u5E93"),Me.createElement("div",{style:{height:"calc(100% - 50px)"},className:Ze.myPaletteDiv,ref:ln})),Me.createElement("div",{style:{flex:1,position:"relative"}},Me.createElement("div",{ref:kt,style:{height:"80vh"}}))),Me.createElement("div",{className:"tr"},Me.createElement(ge.ZP,{size:"large",onClick:Yr,style:{position:"absolute",right:0,bottom:0,zIndex:8},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))))}var Ot=wt,Ut=te(78045),wn=te(31795);const An=Ut.ZP.Group,tn={margin:"0 8px"};var Dn=({callback:gt,onCancel:St})=>{function mt(kt){gt(kt)}return x.createElement(Ee.default,{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:mt},x.createElement("div",{className:"flex-container",style:{alignItems:"baseline"}},x.createElement("span",{style:tn},"\u5355\u5143\u683C\u6570\uFF1A"),x.createElement("span",{style:tn},"\u884C\u6570"),x.createElement(Ee.default.Item,{name:"row",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u884C\u6570"}]},x.createElement(wn.Z,null)),x.createElement("span",{style:tn},"\u5217\u6570"),x.createElement(Ee.default.Item,{name:"col",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5217\u6570"}]},x.createElement(wn.Z,null))),x.createElement("div",{className:"flex-container",style:{marginTop:12,alignItems:"baseline"}},x.createElement("span",{style:tn},"\u5BF9\u9F50\u65B9\u5F0F\uFF1A"),x.createElement(Ee.default.Item,{name:"align"},x.createElement(An,null,x.createElement(Ut.ZP,{value:"default"},x.createElement("i",{className:"fa fa-align-justify"})),x.createElement(Ut.ZP,{value:"left"},x.createElement("i",{className:"fa fa-align-left"})),x.createElement(Ut.ZP,{value:"center"},x.createElement("i",{className:"fa fa-align-center"})),x.createElement(Ut.ZP,{value:"right"},x.createElement("i",{className:"fa fa-align-right"}))))),x.createElement("div",{className:"flex-container flex-end"},x.createElement(ge.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),x.createElement(ge.ZP,{type:"ghost",onClick:St},"\u53D6\u6D88")))},_e=te(47897),ot=te(61016),rn=te.n(ot),lt=(0,x.forwardRef)(({use3d:gt,width:St,height:mt,callback:kt,showSaveButton:ln},zn)=>{const ya=(0,x.useRef)(),oa=(0,x.useRef)(),[Da,Za]=(0,x.useState)(!1),Yr=(0,x.useRef)({id:ya,appName:"graphing",width:St||1e3,height:mt||600,showToolBar:!0,showMenuBar:!0,allowStyleBar:!0,showAlgebraInput:!0,enableLabelDrags:!1,enableShiftDragZoom:!0,showToolBarHelp:!1,errorDialogsActive:!0,showTutorialLink:!0,showLogging:!0,useBrowserForJS:!1});(0,x.useEffect)(()=>{oa.current=new(rn())(Yr.current,!0),window.onload=function(){oa.current.inject("applet_container")}},[]);const jn=()=>{var Ir=window.ggbApplet.getPNGBase64(1,!0,72);return kt&&kt(Ir),Ir};return(0,x.useEffect)(()=>{Yr.current.appName=Da?"3D":"graphing",oa.current.inject("applet_container")},[Da]),(0,x.useEffect)(()=>{Za(gt)},[gt]),(0,x.useImperativeHandle)(zn,()=>({getImgData:jn})),x.createElement(x.Fragment,null,x.createElement("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:ya}),x.createElement(Et.Z,{align:"middle"},x.createElement(ct.Z,{flex:1},x.createElement(_e.Z,{size:"default",checkedChildren:"\u5173\u95ED3D\u56FE\u50CF",unCheckedChildren:"\u5F00\u542F3D\u56FE\u50CF",checked:Da,onChange:Ir=>Za(Ir)})),x.createElement(ct.Z,null,x.createElement(ge.ZP,{size:"large",onClick:jn,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"))))}),gn=te(36527),qn=te(25934),Gn=te(2453);const ua="link",cn="upload-image",Jt="add-flowchart",On="draw-image",ra="add-flowchart",sa="code-block",ga="add-table",er="------------",Ht={default:er,left:`:${er}`,center:`:${er}:`,right:`${er}:`};var Xt=te(99914),nn=(gt,St,mt)=>new Promise((kt,ln)=>{var zn=Da=>{try{oa(mt.next(Da))}catch(Za){ln(Za)}},ya=Da=>{try{oa(mt.throw(Da))}catch(Za){ln(Za)}},oa=Da=>Da.done?kt(Da.value):Promise.resolve(Da.value).then(zn,ya);oa((mt=mt.apply(gt,St)).next())});function Vn(){}let Ka=0;const vr=1e4,Or="\u2581",Va="@\u2581\u2581@",Fn="@\u2581@",Sa=`
**\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`,en=["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 Cn(gt){return/^\d+$/.test(gt)?`${gt}px`:gt}const Mn=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",ur={[Mn+"-B"]:"bold",[Mn+"-I"]:"italic"},Ba={[ua]:"\u6DFB\u52A0\u94FE\u63A5",[sa]:"\u6DFB\u52A0\u4EE3\u7801\u5757",[cn]:"\u6DFB\u52A0\u56FE\u7247",[On]:"\u6DFB\u52A0\u753B\u56FE",[Jt]:"\u63D2\u5165\u6D41\u7A0B\u56FE",[ga]:"\u6DFB\u52A0\u8868\u683C","maths-latex":"\u6570\u5B66\u56FE\u50CF","inline-latex":"LATEX\u516C\u5F0F"};var Nn=({defaultValue:gt="",onChange:St,width:mt="100%",height:kt=400,miniToolbar:ln=!1,isFocus:zn=!1,watch:ya,insertTemp:oa,mode:Da="markdown",id:Za="markdown-editor-id",showResizeBar:Yr=!1,noStorage:jn=!1,showNullButton:Ir=!1,showNullProgramButton:Mo=!1,hidetoolBar:Jo=!1,fullScreen:Ja=!1,onBlur:mo,onCMBeforeChange:Ai,onFullScreen:qr,className:ki="",disablePaste:yi=!1,disabled:di=!1,disabledFill:Wo=!1,placeholder:Zi="",values:Ci="",extraUse:Pl})=>{const[Qn,bl]=(0,x.useState)(null),[Li,lo]=(0,x.useState)(gt),[so,pa]=(0,x.useState)(ya),[ir,$r]=(0,x.useState)(Ja),[Xa,Ao]=(0,x.useState)(""),[Ro,qo]=(0,x.useState)(0),[Xo,ni]=(0,x.useState)(kt),[al,ci]=(0,x.useState)(!1),xl=(0,x.useRef)((0,qn.Z)()),jl=(0,x.useRef)(!1),Kr=(0,x.useRef)(),[cl,gl]=(0,x.useState)(0),[ml,rl]=(0,x.useState)(0),ji=(0,x.useRef)(),ol=(0,x.useRef)(),Wi=(0,x.useRef)(),Ui=(0,x.useRef)(),It=()=>nn(void 0,null,function*(){var _n;const zt=yield Fetch("/api/attachments/distinct_hash_val.json",{method:"post",body:{hash_val:xl.current}});(_n=zt==null?void 0:zt.attachments)!=null&&_n.length&&(console.log("cm:",Qn,ji),zt.attachments.map(Bn=>{Bn.content_type.indexOf("image")>-1?Qn.replaceSelection(`![,](/api/attachments/${Bn.id}?type=${Bn.content_type})`):Bn.content_type.indexOf("video")>-1?Qn.replaceSelection(`<video width="100%" controls src="${ENV.API_SERVER}/api/attachments/${data.id}"></video>`):Bn.content_type.indexOf("pdf")>-1?Qn.replaceSelection(`<a href="${ENV.API_SERVER}/api/attachments/${Bn.id}?type=${Bn.content_type}&disposition=inline" target="_blank">${Bn.name}</a>`):Qn.replaceSelection(`[${Bn.name}](${ENV.API_SERVER}/api/attachments/${Bn.id}?type=${Bn.content_type})`)}))});(0,x.useEffect)(()=>{const _n=window.scrollY||window.pageYOffset;lo(Ci),Qn==null||Qn.setValue(Ci),window.scrollTo(0,_n)},[Ci]),(0,x.useEffect)(()=>{qr==null||qr(ir)},[ir]),(0,x.useEffect)(()=>{if(ji.current){let _n=function(Bn,Hn){var xa;if(yi){Hn.preventDefault();return}const qa=Hn.clipboardData;if(qa){const lr=qa.types.toString(),Br=qa.items;if(lr==="Files"||qa.types.indexOf("Files")>-1){if(Hn.preventDefault(),Da=="stex")return;try{let sr=Br[1];((xa=Br[0])==null?void 0:xa.kind)==="file"&&(sr=Br[0]);const Lr=sr.getAsFile(),Gr=Lr.name.split(".").pop();(0,Je.I)(Lr,br=>{var ao,oo,So;br.id?((ao=Lr==null?void 0:Lr.type)==null?void 0:ao.indexOf("image"))>-1?zt.replaceSelection(`<img width="100%" src="/api/attachments/${br.id}?type=${br.content_type})" alt="" />`):((oo=Lr==null?void 0:Lr.type)==null?void 0:oo.indexOf("video"))>-1?zt.replaceSelection(`<video width="100%" controls src="/api/attachments/${br.id}"></video>`):((So=Lr==null?void 0:Lr.type)==null?void 0:So.indexOf("pdf"))>-1?zt.replaceSelection(`<a href="/api/attachments/${br.id}?type=${Lr.type}&disposition=inline" target="_blank">${Lr.name}</a>`):en.includes(Gr)?zt.replaceSelection(`<a href="/api/attachments/${br.id}?type=office&disposition=inline" target="_blank">${Lr.name}</a>`):zt.replaceSelection(`[${Lr.name}](/api/attachments/${br.id}?type=${br.content_type})`):(br==null?void 0:br.status)===401&&(Gn.ZP.warning((br==null?void 0:br.message)||"\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),document.location.href="/user/login")})}catch(sr){Gn.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};const zt=Ce().fromTextArea(ji.current,{mode:Da,lineNumbers:!ln,lineWrapping:!0,value:gt,autoCloseTags:!Mo,autoCloseBrackets:!0});return zt.on("keyup",function(Bn,Hn){Hn.keyCode===8&&(Bn.getValue()==""?zt.setOption("placeholder",Zi):zt.setOption("placeholder",null))}),zt.on("keydown",function(Bn,Hn){if(Hn.keyCode===8){var xa=vn(Bn);xa&&Hn.preventDefault()}}),zn&&zt.focus(),zt.on("paste",_n),zt.on("dragleave",function(Bn,Hn){ol.current.classList.remove("mouse-hover-md")}),di&&zt.on("beforeChange",function(Bn,Hn){(Hn.origin==="paste"||Hn.origin==="+input")&&Hn.cancel()}),bl(zt),()=>{zt.off("paste",_n)}}},[]);const Gt=(0,x.useCallback)(()=>{if(ol.current)try{}catch(_n){console.log(_n,"---- to set md editor body height")}},[Xo,ol,ir]);(0,x.useEffect)(()=>{function _n(){let zt=new ze.Z(Bn=>{for(let Hn of Bn)(Hn.target.offsetHeight>0||Hn.target.offsetWidth>0)&&(Gt(),Qn.setSize("100%","100%"),Qn.refresh())});return zt.observe(ji.current.parentElement),zt}if(Qn){const zt=_n();return()=>{var Bn,Hn;(Bn=ji.current)!=null&&Bn.parentElement&&zt.unobserve((Hn=ji.current)==null?void 0:Hn.parentElement)}}},[Qn,Gt]),(0,x.useEffect)(()=>{if(Qn){let _n=[];for(const[zt,Bn]of Object.entries(ur)){let Hn={[zt]:()=>{Ue(Bn)}};_n.push(Hn),Qn.addKeyMap(Hn)}return Kr.current=setInterval(()=>{jl.current&&It()},4e3),()=>{clearInterval(Kr.current);for(let zt of _n)Qn.removeKeyMap(zt)}}},[Qn]),(0,x.useEffect)(()=>{Ja!==ir&&$r(Ja)},[Ja]),(0,Xt.Z)(()=>{if(!jn&&Ro>0){let _n=new Date().getTime(),zt=window.sessionStorage.getItem(Za);_n>=Ro+vr&&(!zt||zt!==Li)&&(window.sessionStorage.setItem(Za,Li),ci(!0))}},vr),(0,x.useEffect)(()=>{pa(ya)},[Qn,ya]),(0,x.useEffect)(()=>{Qn&&zn&&Qn.focus()},[Qn,zn]),(0,x.useEffect)(()=>{if(so&&Qn){let _n=function(Bn){let Hn=Bn.target;if(Ui.current){let xa=Hn.scrollTop/Hn.scrollHeight;Ui.current.scrollTop=Ui.current.scrollHeight*xa}};const zt=Qn.getScrollerElement();return zt.addEventListener("scroll",_n),()=>{zt.removeEventListener("scroll",_n)}}},[Qn,so]),(0,x.useEffect)(()=>{if(Qn&&Ai){let _n=function(zt,Bn){Ai(zt,Bn)};return Qn.on("beforeChange",_n),()=>{Qn.off("beforeChange",_n)}}},[Qn,Ai]),(0,x.useEffect)(()=>{if(Qn&&mo){let _n=function(){mo(Qn.getValue())};return Qn.on("blur",_n),()=>{Qn.off("blur",_n)}}},[Qn,mo]);function vn(_n,zt){var Bn=_n.getDoc(),Hn=Bn.getCursor(),xa=Bn.getLine(Hn.line),qa=xa.charAt(Hn.ch-1),lr=xa.lastIndexOf("@\u2581@",Hn.ch),Br=xa.lastIndexOf("@\u2581\u2581@",Hn.ch),sr=lr>Br?lr:Br,Lr=lr>Br?3:4;if(Va.indexOf(qa)===-1)return null;if(console.log("change1:",zt,_n,xa,Hn,sr,lr,Br,qa),sr>=0&&Hn.ch-sr<5){var Gr=sr+Lr;return Bn.replaceRange("",{line:Hn.line,ch:sr},{line:Hn.line,ch:Gr}),{line:Hn.line,ch:Gr}}return null}(0,x.useEffect)(()=>{if(Qn){let _n=function(zt,Bn){const Hn=zt.getValue();lo(Hn),qo(new Date().getTime()),zt.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),St&&(Mo?St(Hn,ba(Hn)):St(Hn))};return Qn.on("change",_n),()=>{Qn.off("change",_n)}}},[Qn,St]),(0,x.useEffect)(()=>{if(Qn)if(gt==null)Qn.setValue(""),lo("");else{const _n=window.scrollY||window.pageYOffset;gt!==Qn.getValue()&&(Qn.setValue(gt),lo(gt),Qn.setCursor(di?1:Qn.lineCount(),0),window.scrollTo(0,_n))}},[Qn,gt]);const Ue=(0,x.useCallback)(_n=>{const zt=Qn.getCursor(),Bn=Qn.getSelection();let Hn=Bn.split(`
`);switch(_n){case"bold":return Qn.replaceSelection("**"+Bn+"**"),Bn===""&&Qn.setCursor(zt.line,zt.ch+2),Qn.focus();case"italic":return Qn.replaceSelection("*"+Bn+"*"),Bn===""&&Qn.setCursor(zt.line,zt.ch+1),Qn.focus();case"code":return Qn.replaceSelection("`"+Bn+"`"),Bn===""&&Qn.setCursor(zt.line,zt.ch+1),Qn.focus();case"inline-latex":return Ao("inline-latex"),Qn.focus();case"latex":return Qn.replaceSelection("```latex\n"+Bn+"\n```"),Qn.setCursor(zt.line+1,Bn.length+1),Qn.focus();case"line-break":return Qn.replaceSelection(`<br/>
`),Qn.focus();case"list-ul":return Bn===""?Qn.replaceSelection("- "+Bn):Qn.replaceSelection(Hn.map(xa=>xa===""?"":`- ${xa}`).join(`
`)),Qn.focus();case"list-ol":return Bn===""?Qn.replaceSelection("1. "+Bn):Qn.replaceSelection(Hn.map((xa,qa)=>xa===""?"":`${qa+1}. ${xa}`).join(`
`)),Qn.focus();case"add-null-ch":return Bn===""&&Qn.setCursor(zt.line,zt.ch),Qn.replaceSelection(Or),Qn.focus();case"add-signal":return Bn===""&&Qn.setCursor(zt.line,zt.ch),Qn.replaceSelection(Fn),Qn.focus();case"add-multiple":return Bn===""&&Qn.setCursor(zt.line,zt.ch),Qn.replaceSelection(Va),Qn.focus();case"inster-template-1":return Bn===""&&Qn.setCursor(zt.line,zt.ch),Qn.replaceSelection(Sa),Qn.focus();case"eraser":return Qn.setValue(""),Qn.focus();case"trigger-watch":return pa(!so),Qn.focus();case"trigger-full-screen":return $r(!ir),Qn.focus();case ua:Ao(ua);return;case sa:Ao(sa);return;case cn:Ao(cn);return;case On:Ao(On);return;case"maths-latex":Ao("maths-latex");return;case Jt:Ao(Jt);return;case ga:Ao(ga);return;default:throw new Error}},[Qn,so,ir]),qt=(0,x.useCallback)((_n,zt)=>{var Bn,Hn,xa,qa,lr,Br;switch(Ao(""),Xa){case ua:const{title:ao,link:oo}=_n;return Qn.replaceSelection(`[${ao}](${oo})`),Qn.focus();case sa:const{language:So,content:eo}=_n;return Qn.replaceSelection(["```"+So,eo,"```"].join(`
`)),Qn.focus();case"maths-latex":for(var sr=atob(_n),Lr=new Uint8Array(sr.length),Gr=0;Gr<sr.length;Gr++)Lr[Gr]=sr.charCodeAt(Gr);var br=new Blob([Lr],{type:"image/png"});(0,Je.I)(br,Ho=>{Ho.id?Qn.replaceSelection(`![,](/api/attachments/${Ho.id}?type=${Ho.content_type})`):(Ho==null?void 0:Ho.status)===401&&(document.location.href="/user/login")});break;case"inline-latex":Qn.replaceSelection("`$$"+_n+"$$`");break;case cn:case On:case ra:const{src:Po,alt:Hr}=_n,ho=zt,jo=(xa=(Hn=(Bn=ho==null?void 0:ho.name)==null?void 0:Bn.split("."))==null?void 0:Hn.pop)==null?void 0:xa.call(Hn);return((qa=ho==null?void 0:ho.type)==null?void 0:qa.indexOf("image"))>-1||!(ho!=null&&ho.type)?ho.align||ho.width?Qn.replaceSelection(`<p style="text-align:${ho.align||"initial"}"><img width="${ho.width?ho.width+"%":"initial"}" src="${Po}" alt="${Hr||""}" /></p>`):Qn.replaceSelection(`<img width="100%" src="${Po}" alt="${Hr||""}" />`):((lr=ho==null?void 0:ho.type)==null?void 0:lr.indexOf("video"))>-1?Qn.replaceSelection(`<video width="100%" controls src="${Po}"></video>`):((Br=ho==null?void 0:ho.type)==null?void 0:Br.indexOf("pdf"))>-1?Qn.replaceSelection(`<a href="${Po}?type=${ho.type}&disposition=inline" target="_blank">${ho.name}</a>`):en.includes(jo)?Qn.replaceSelection(`<a href="${Po}?type=office&disposition=inline" target="_blank">${ho.name}</a>`):Qn.replaceSelection(`[${ho.name}](${Po})`),Qn.focus();case ga:const{row:Ni,col:hi,align:Mi}=_n;let Yo=`
`;for(let Ho=0;Ho<Ni;Ho++){let Ri=[],Hi=[];for(let Vi=0;Vi<hi;Vi++)Ho===1&&Hi.push(Ht[Mi]),Ri.push(" ");Ho===1&&(Yo+=`| ${Hi.join(" | ")} |
`),Yo+=`| ${Ri.join(hi===1?"":" | ")} |
`}return Qn.replaceSelection(Yo+`
`),Qn.focus();default:throw new Error}},[Qn,Xa]),$n=(0,x.useMemo)(()=>{switch(Xa){case ua:return x.createElement(_t,{callback:qt,onCancel:Jn});case sa:return x.createElement(Qt.Z,{callback:qt,onCancel:Jn});case cn:return x.createElement(Je.Z,{callback:qt,onCancel:Jn});case Jt:return x.createElement(Ot,{callback:qt,onCancel:Jn});case ga:return x.createElement(Dn,{callback:qt,onCancel:Jn});case"maths-latex":return x.createElement(lt,{showSaveButton:!0,callback:qt});case"inline-latex":return x.createElement(gn.Z,{showSaveButton:!0,callback:qt});default:return null}},[Xa]);function Jn(){Ao("")}(0,x.useEffect)(()=>{if(Wi.current){let _n=function(lr){xa=!0,qa=lr.pageY},zt=function(){xa=!1},Bn=function(lr){if(xa){let Br=lr.pageY-qa;Br<0&&(Br=0),Br>300&&(Br=300);let sr=kt+Br+"px";ni(sr)}},Hn=Wi.current,xa=!1,qa=0;return Hn.addEventListener("mousedown",_n),document.addEventListener("mousemove",Bn),document.addEventListener("mouseup",zt),()=>{Hn.removeEventListener("mousedown",_n),document.removeEventListener("mousemove",Bn),document.removeEventListener("mouseup",zt)}}},[Qn,Wi]),(0,x.useEffect)(()=>{ni(kt)},[kt]);const Kt=Cn(mt),dn=Cn(Xo),Vt={width:Kt,height:dn},ta=(0,x.useMemo)(()=>{if(Ro){let _n=new Date(Ro),zt=_n.getHours(),Bn=_n.getMinutes(),Hn=_n.getSeconds();return zt=zt<10?"0"+zt:zt,Bn=Bn<10?"0"+Bn:Bn,Hn=Hn<10?"0"+Hn:Hn,`${zt}:${Bn}:${Hn}`}return 0},[Ro]),ba=_n=>{const zt=[];if(Mo){let Bn=-1;_n=_n.replace(/(@▁▁@|@▁@)/g,function(Hn,xa,qa){zt.push({multiLine:Hn!==Fn})})}return zt};function za(){window.sessionStorage.removeItem(Za),ci(!1),qo(0)}function Ma(){ci(!1),qo(0),Qn.setValue(window.sessionStorage.getItem(Za))}(0,x.useEffect)(()=>{Ba[Xa]&&Xa!==On&&Xa!==Jt&&setTimeout(()=>{const _n=document.getElementsByClassName("markdown-popup-form")[0],zt=window.innerWidth/2-_n.offsetWidth/2,Bn=window.innerHeight/2-_n.offsetHeight/2;gl(zt),rl(Bn)},0)},[Xa]);const Ya=_n=>{_n.preventDefault();const zt=_n.clientX-cl,Bn=_n.clientY-ml;document.body.onmousemove=Hn=>{let xa=Hn.clientX-zt,qa=Hn.clientY-Bn;const lr=document.getElementsByClassName("markdown-popup-form")[0],Br=window.innerWidth-lr.offsetWidth,sr=window.innerHeight-lr.offsetHeight;xa=Math.max(0,Math.min(xa,Br)),qa=Math.max(0,Math.min(qa,sr)),pr(Hn.clientX,Hn.clientY,zt,Bn)&&(gl(xa),rl(qa))},document.body.onmouseup=function(){document.body.onmousemove=null}},pr=(_n,zt,Bn,Hn)=>{const xa=document.body.clientHeight,qa=document.body.clientWidth;return _n<20&&Bn>_n||_n>qa-20&&Bn<_n||zt<20&&Hn>zt||zt>xa-20&&Hn<zt?(document.body.onmousemove=null,document.body.onmouseup=null,!1):!0};return x.createElement(x.Fragment,null,x.createElement("div",{className:"markdown-editor-wrapper",ref:ol},x.createElement("div",{className:`markdown-editor-container ${ki} ${so?"on-preview":""} ${ln?"mini":""} ${ir?"full-screen":""}`,style:Vt},x.createElement(fe,{insertTemp:oa,watch:so,fullScreen:ir,showNullButton:Ir,showNullProgramButton:Mo,onActionCallback:Ue,hidetoolBar:Jo,extraUse:Pl}),x.createElement("div",{className:"markdown-editor-body"},x.createElement("div",{className:"codemirror-container"},x.createElement("textarea",{ref:ji,placeholder:Zi})),so?x.createElement("div",{ref:Ui,className:"preview-container"},Da==="stex"&&x.createElement(Ie,{value:Li}),Da!=="stex"&&x.createElement(Oe.Z,{disabledFill:Wo,showProgramFill:Mo,value:Li})):null))),Yr?x.createElement("a",{ref:Wi,className:"editor-resize"}):null,Xa===On&&x.createElement($t,{callback:qt,onCancel:Jn}),Xa===Jt&&x.createElement(Ot,{callback:qt,onCancel:Jn}),x.createElement(be.Z,null,Ba[Xa]&&Xa!==On&&Xa!==Jt?x.createElement(xt.default,{maskClosable:!1,centered:!0,style:{position:"absolute",left:cl,top:ml},title:x.createElement("div",{style:{cursor:"move"},onMouseDown:Ya},Ba[Xa]),open:!0,onCancel:Jn,footer:null,destroyOnClose:!0,width:Xa===Jt?"1200px":null,height:Xa===Jt?"80vh":null,className:"markdown-popup-form"},$n):null))}},70859:function(vt,dt,te){"use strict";te.d(dt,{Z:function(){return de},I:function(){return be}});var x=te(22150),re=te(2453),Ce=te(69677),ze=te(93421),we=te(31795),Te=te(78045),oe=te(71577),Fe=te(15476),he=te(67294),ye=te(52262),Oe=te(67294),Ie=Object.defineProperty,ve=Object.defineProperties,ie=Object.getOwnPropertyDescriptors,E=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,b=Object.prototype.propertyIsEnumerable,y=(Ee,pe,ge)=>pe in Ee?Ie(Ee,pe,{enumerable:!0,configurable:!0,writable:!0,value:ge}):Ee[pe]=ge,z=(Ee,pe)=>{for(var ge in pe||(pe={}))a.call(pe,ge)&&y(Ee,ge,pe[ge]);if(E)for(var ge of E(pe))b.call(pe,ge)&&y(Ee,ge,pe[ge]);return Ee},ee=(Ee,pe)=>ve(Ee,ie(pe));const{useForm:ne}=x.default,ae={width:280,marginRight:10},le={labelCol:{span:5},wrapperCol:{span:19}};var de=({callback:Ee,onCancel:pe})=>{const[ge]=ne();let $e=(0,he.useRef)();function Be(Ge){$e.current.width=ge.getFieldValue("width"),$e.current.align=ge.getFieldValue("align"),Ee(Ge,$e.current)}function Le(Ge,Ye){if(Ge.status===-1){re.ZP.error(Ge.message);return}ge.setFieldsValue({src:`/api/attachments/${Ge.id}`,type:Ye.type})}function Re(Ge){let Ye=Ge.target.files[0];$e.current=Ye,be(Ye,Le)}return Oe.createElement(x.default,ee(z({form:ge},le),{className:"upload-image-panel",onFinish:Be,style:{width:470,overflow:"hidden"}}),Oe.createElement(x.default.Item,{label:"\u56FE\u7247\u5730\u5740",required:!0},Oe.createElement("div",{className:"flex-container"},Oe.createElement(x.default.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5730\u5740"}]},Oe.createElement(Ce.default,{style:ae})),Oe.createElement(fe,{onFileChange:Re}))),Oe.createElement(x.default.Item,{label:"\u56FE\u7247\u63CF\u8FF0",name:"alt"},Oe.createElement(Ce.default,{style:{width:264}})),Oe.createElement(x.default.Item,{label:"\u56FE\u7247\u5BBD\u5EA6",name:"width"},Oe.createElement(ze.Z,null,Oe.createElement(x.default.Item,{name:"width",style:{margin:0}},Oe.createElement(we.Z,{style:{width:264}})),Oe.createElement("span",{className:"ml8"},"%"))),Oe.createElement(x.default.Item,{label:"\u5BF9\u9F50\u65B9\u5F0F",name:"align"},Oe.createElement(Te.ZP.Group,{name:"align",defaultValue:1,options:[{value:"left",label:"\u5DE6\u5BF9\u9F50"},{value:"center",label:"\u5C45\u4E2D\u5BF9\u9F50"},{value:"right",label:"\u53F3\u5BF9\u9F50"}]})),Oe.createElement("aside",null,Oe.createElement(x.default.Item,{style:{textAlign:"right",position:"relative",right:-98}},Oe.createElement(oe.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),Oe.createElement(oe.ZP,{type:"default",onClick:pe},"\u53D6\u6D88"))))};function fe({onFileChange:Ee}){return Oe.createElement("label",{className:"upload-button",style:{cursor:"pointer"}},"\u672C\u5730\u4E0A\u4F20",Oe.createElement("input",{type:"file",onChange:Ee}))}function be(Ee,pe){if(!Ee)throw new String("\u6CA1\u6709\u6587\u4EF6");if(!(0,ye.bg)())throw re.ZP.warning("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),new String("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C");let ge=new FormData;ge.append("editormd-image-file",Ee),ge.append("file_param_name","editormd-image-file"),ge.append("byxhr","true");var $e=new window.XMLHttpRequest;$e.withCredentials=!0,$e.addEventListener("load",function(Be){pe(JSON.parse(Be.target.responseText),Ee)},!1),$e.addEventListener("error",function(Be){console.error(Be)},!1),$e.open("POST",`${Fe.KI}/api/attachments.json`),$e.send(ge)}},76621:function(vt,dt,te){"use strict";te.d(dt,{Z:function(){return Ce}});var x=te(67294),re=te(73935);class Ce extends x.Component{constructor(we){super(we);const Te=window.document;this.node=Te.createElement("div"),Te.body.appendChild(this.node)}render(){const{children:we}=this.props;return(0,re.createPortal)(we,this.node)}componentWillUnmount(){window.document.body.removeChild(this.node)}}},9897:function(vt,dt,te){"use strict";te.d(dt,{i:function(){return ae},Z:function(){return de}});var x={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"},re=te(57953),Ce=te(83062),ze=te(94184),we=te.n(ze),Te=te(28706),oe=te(26194),Fe=te(52262),he="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGgAAAAgCAYAAAD+Fz2gAAAAAXNSR0IArs4c6QAAEx5JREFUaEPFWwd4FWW6fueE9NATIEAoKkWKgIKVEkBgl2LB6159EFdRwHVd9a67SC+ryFVBEDGAUq57d0WUK6DuigYSeglFMJQIhBJSIIYUQgohObPP9/1l/pmcE7h9nvCcc+bMzJn53v/9vvcrWABQfuovrf3VeMeClWhbVrwFC5Zl0Vfi1aLP/EHu976K42wAtmXBx2cCtk9ew+ZT+bsbbT4/XUWeT1cUf4Bt61faY9v8a2I/vxXn0X7+p86l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tAPq5cMEjq+x8ZJJ5AcRDceZL3LHhhINn/lUUySVsXSIJlbgvNCx4WHv3+VWPXvL6sZt8/v/t/ZcDiwhxFgaLp8YdFs4Dx64oxwbfTrmwDrBivpR4DVDQDF/VqYsf+ef3L5SDvAGCVcy/4GKCimrho1yv3tWdR3xgzD9ssC8H6ko8BKpqBi3q1I77sXvBef9M0HX3kxwAV1cRFu95PALhFw2OAimbgol7tB5BbNDwGqKgmLtr1nhJaFw2PASqagYt6db45jhQNMf0Xi7mnon7V4+sfxQIFJqFMNES/v3D+oyz8+Jp/jgX+AT+bS/shEzsoAAAAAElFTkSuQmCC",ne=te(67294);const ae=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:he,swimg:ye},{name:"101\u8BA1\u5212",ptimg:Oe,swimg:Ie},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:ve,swimg:ie},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:E,swimg:a},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:b,swimg:y},{name:"\u519B\u961F\u4E00\u6D41",ptimg:z,swimg:ee}];var de=({className:fe,dataSource:be=[],col:Ee=4,right:pe,bottom:ge=23,precision:$e=0,wrapWidth:Be=1200,trackEventItems:Le,loading:Re,onRemove:Ge=()=>{},isCurrent:Ye=!0,showAlias:Pt=!1})=>{const qe=Math.floor((Be-(Ee-1)*pe)/Ee),at=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:"/images/tjzx.png",swimg:"/images/sw_tjzx.png"},{name:"101\u8BA1\u5212",ptimg:"/images/jh.png",swimg:"/images/sw_jh.png"},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:"/images/gjyl.png",swimg:"/images/sw_gjyl.png"},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:"/images/sjyl.png",swimg:"/images/sw_sjyl.png"},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:"/images/jpkc.png",swimg:"/images/sw_jpkc.png"},{name:"\u519B\u961F\u4E00\u6D41",ptimg:"/images/jdyl.png",swimg:"/images/sw_jdyl.png"},{name:"\u65B0\u578B\u6559\u6750",ptimg:"/images/xxjc.png",swimg:"/images/sw_xxjc.png"}].map(pt=>(window.ENV==="build"&&(pt.ptimg=`/react/build${pt.ptimg}`,pt.swimg=`/react/build${pt.swimg}`),pt));return ne.createElement(re.Z,{spinning:Re},ne.createElement("div",{className:we()(x.list,fe)},!!(be!=null&&be.length)&&(be==null?void 0:be.map((pt,_t)=>{var Qt;const{name:Je,id:xt,identifier:Et,featured:un,school_name:Bt,image_url:$t,excellent:Ne,is_plan:Tt}=pt;return ne.createElement("div",{key:xt,className:x.wrap,style:{width:qe,marginRight:(1+_t)%Ee===0?0:pe+$e,marginBottom:ge}},ne.createElement("a",{className:x.li,onClick:an=>{an.preventDefault(),an.stopPropagation(),Le&&(0,Te.L9)([Le]),(0,Te.xg)(`/paths/${Et}`)}},ne.createElement("div",{className:x.img},ne.createElement("img",{className:x.cover,src:`${$t}`}),Ye&&(0,Fe.bg)()&&(pt==null?void 0:pt.studying)&&ne.createElement("div",{className:`${x.movebq} user-path-items`,onClick:an=>{an.stopPropagation(),Ge(pt)}},ne.createElement("i",{className:"iconfont icon-yichu1 mr5 c-red"}),ne.createElement("span",{className:"c-red"},"\u79FB\u9664")),(Qt=pt==null?void 0:pt.subject_tags)==null?void 0:Qt.map((an,Ft)=>{var ct,Ct;if(Ft===0){const Me=(ct=at.find(et=>et.name==an))==null?void 0:ct.swimg;return ne.createElement("img",{className:x.sign,src:Me,style:{left:"-4px"}})}const Ze=(Ct=at.find(Me=>Me.name==an))==null?void 0:Ct.ptimg;return ne.createElement("img",{className:x.sign,src:Ze,style:{left:`${48+52*(Ft-1)+2*Ft}px`}})}),ne.createElement("div",{style:{position:"absolute",top:"150px",left:"4px"}},(pt==null?void 0:pt.excellent)&&ne.createElement("div",{className:x.bq},"\u5F00\u653E\u8BFE\u7A0B"))),ne.createElement("div",{className:x.name},ne.createElement(Ce.Z,{title:Pt&&(pt!=null&&pt.excellent_alias_name)?ne.createElement("span",null,`\u8BFE\u7A0B\u539F\u540D\uFF1A${Je}`,ne.createElement("br",null),ne.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${pt==null?void 0:pt.excellent_alias_name}`)):Je},ne.createElement("span",{className:x.e},Pt&&(pt==null?void 0:pt.excellent_alias_name)||Je))),ne.createElement("div",{className:x.tags},ne.createElement("div",null,ne.createElement(Ce.Z,{placement:"bottom",title:"\u7AE0\u8282\u6570"},ne.createElement("span",null,ne.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),ne.createElement("span",null,pt.stages_count))),ne.createElement(Ce.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,pt.members_count)))))))})),!be.length&&ne.createElement(oe.Z,null)))}},30001:function(vt,dt,te){"use strict";te.d(dt,{jL:function(){return we},w9:function(){return pt},QD:function(){return gn},cQ:function(){return Ge.Z},op:function(){return Dn},O5:function(){return Sa},_b:function(){return On},t7:function(){return y},Gi:function(){return un},YG:function(){return xt},qp:function(){return Oe},vr:function(){return ua},qE:function(){return rn},Je:function(){return ne},wb:function(){return Re},cq:function(){return Ft},tp:function(){return ie}});var x=te(67294),re={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"},Ce="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE4AAAA0CAYAAAAkEw66AAAAAXNSR0IArs4c6QAAGNVJREFUeF7VmwmwHVWdxr9zuvvu9+3ZXsxCiNkIQZOwEzMgyADjggsWgzPqOAJaMiCjYiGKqDBQAo4iWGAxA+ooMm7gBhSyhBBRIIBSAQlrHuTt7913t97Pm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sh9ten/+nerk35RM36MPfswdu2qMDoqOY9BO59jhb6zJdbVneyhSMixPpnphR7BSBr3tAf9i2cH45j9k0Dy58Zreitwr0dSRK5J0YbwJDLfo39eWTDrTOebkDeL2+13e5nnPZfrh/UTdmVvOJb6fq6OsIzziK9H8lCI6RldtMcX46ZbDT9V//oJ6fAz4iBI7VMfYp5SBmEFw1uTNcezFcB56YQPv329qHfPXo8n2vF4BX8rsXbdS/WD0L72ZThfA4NrqiLIdlMGSfjtBYn1Nx9HH1wDQ7Nj9v6/zGB3S5HWCvUlFfvWiGWMYFQpQzzXSoAfxlWD1w0X1y33tPEkyy33CPk6/TBx8yF7f05pDjuIrOzuaaVUoExxKT43a5akFCtVys3+Wcwweu1dbHV+LxN3VhPsEx8jANGfOAh4eiL5x0iHPeG47YtAv+9I3xp9f0yIvLDAw6ySIY/ExSnpkqVcels/x/syLgtXHpx9bhlF2CO/tanVuzHHfPqmJVOf0nNdr5SFP7D02Eb/3iEfkdtdsbFeCXbtYfXlDGueU85iKZsjXZklnpyZdpGmgWFcS4pGsQnzvuOBG/4CzXFX/Qp+zZi28pPzkZHeNIS337X2+Qp+IckWajb1RsyXWffqOeN8tRH+rKyWOhsSBnYyYziiCAa0k8EQKb2kF01acPc3akXS8IbsW1Onf6AnVib16ewqWz21vq9qu2yNPeqL7thW7xZ65391jcV1jE/1qKFcaeCfDwOYeK9D83nv32/wHzrWgvjJ8Q7AAAAABJRU5ErkJggg==",we=({dataSource:en=[],img:Cn,imgWidth:Ln=346,title:Mn,sunTitle:ur,bannerExtraContent:Ba})=>x.createElement("div",{className:re.banner},x.createElement("div",{className:re.content},x.createElement("aside",null,x.createElement("p",null,x.createElement("b",null,Mn),x.createElement("span",null,ur)),en.length>0&&x.createElement("div",{className:re.btns},en.map((Nn,gt)=>x.createElement("div",{key:gt,onClick:Nn.click},Nn.name,Nn.sign?x.createElement("img",{src:Ce,width:39}):null))),Ba),Cn&&x.createElement("img",{style:{marginTop:33,marginRight:38},src:Cn,width:Ln}))),Te={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"},oe=te(94184),Fe=te.n(oe),he=te(96486),Oe=({dataSource:en=[],value:Cn,onChange:Ln,onTitleChange:Mn,className:ur,title:Ba,titleWidth:Nn=41,style:gt={},fontColor:St="#6A7283",showCount:mt})=>{const[kt,ln]=(0,x.useState)(0),[zn,ya]=(0,x.useState)(!1),oa=(0,x.useRef)(null),Da=(0,x.useRef)(null);return(0,x.useEffect)(()=>{var Za;en.length!==0&&(((Za=oa==null?void 0:oa.current)==null?void 0:Za.clientHeight)>97?ln(1):ln(0)),en.length===0&&ln(0),ya(!1)},[en]),x.createElement("div",{className:Fe()(Te.row,ur),style:gt},x.createElement("div",{onClick:(0,he.throttle)(()=>Mn==null?void 0:Mn(),2e3),style:{width:Nn,marginTop:zn?12:4},className:`${Te.title} ${Mn?"current":""}`},Ba),x.createElement("div",{className:zn?`${Te.tagsWrap} ${Te.tagsBorderWrap}`:Te.tagsWrap},x.createElement("div",{className:Te.bar,ref:Da,style:kt>0?{height:kt===1?97:"auto",overflow:kt===1?"hidden":"auto",paddingRight:55}:{paddingRight:0}},x.createElement("div",{className:Te.tag,ref:oa},en==null?void 0:en.map(Za=>x.createElement("span",{onClick:()=>Ln(Za.id),key:Za.id,style:{color:St},className:Cn===Za.id?Te.active:""},x.createElement("span",{title:Za.name,className:Te.name},Za.name),!!mt&&x.createElement("span",{className:Te.num},Za.count))))),!!kt&&x.createElement(x.Fragment,null,kt===1?x.createElement("div",{onClick:()=>{var Za;ln(2),((Za=oa==null?void 0:oa.current)==null?void 0:Za.clientHeight)>245?ya(!0):ya(!1)},className:Te.action},"\u5C55\u5F00",x.createElement("i",{style:{transform:"translateY(1px) scale(0.6)"},className:"iconfont icon-zhankai4"})):x.createElement("div",{onClick:()=>{Da.current.scrollTop=0,ln(1),ya(!1)},className:Te.action},"\u6536\u8D77",x.createElement("i",{style:{transform:"translateY(0px) scale(0.6)"},className:"iconfont icon-shouqi3"})))))},Ie={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"},ie=({dataSource:en=[],value:Cn,onChange:Ln,className:Mn,style:ur={}})=>x.createElement("div",{style:ur,className:Fe()(Ie.tabs,Mn)},en.map(Ba=>x.createElement("span",{onClick:()=>Ln(Ba.id),className:Cn===Ba.id?Ie.active:"",key:Ba.id},Ba.name))),E={flex_box_center:"flex_box_center___yX6Oa",flex_space_between:"flex_space_between___t7oqF",flex_box_vertical_center:"flex_box_vertical_center___dEIHy",flex_box_center_end:"flex_box_center_end___taQDF",flex_box_column:"flex_box_column___xY_Lr",input:"input___PW2zI",dropdown:"dropdown___vSy8B",menu:"menu___NiyBu",text:"text___Grueu",b1:"b1___ZKryM",b2:"b2___aKyGa"},a=te(69677),y=({dataSource:en=[],value:Cn="",onChange:Ln,onInputChange:Mn=()=>{},className:ur,style:Ba={},placeholder:Nn,allowClear:gt=!1})=>{var St;const[mt,kt]=(0,x.useState)(""),[ln,zn]=(0,x.useState)("");(0,x.useEffect)(()=>{var Da;let Za=Cn;(Da=JSON.stringify(Cn))!=null&&Da.includes("{")&&(kt(Cn.id),Za=Cn.value||"");try{zn(decodeURIComponent(Za||""))}catch(Yr){zn(decodeURIComponent(Za||""))}},[Cn]);const ya=()=>{Ln(encodeURIComponent(ln),mt||null)},oa=Da=>{Da!==mt&&(kt(Da),Ln(encodeURIComponent(ln),Da))};return x.createElement("div",{className:Fe()(E.input,ur),style:Ba},!!en.length&&x.createElement("div",{className:E.dropdown},x.createElement("div",{className:E.text},(St=en.find(Da=>Da.id===mt))==null?void 0:St.name,x.createElement("i",{className:"iconfont icon-zhankai4"}),x.createElement("b",{className:E.b1}),x.createElement("b",{className:E.b2})),x.createElement("div",{className:E.menu},en.map((Da,Za)=>x.createElement("div",{key:Za,onClick:()=>oa(Da.id)},Da.name)))),x.createElement(a.default,{onPressEnter:ya,value:ln,onChange:Da=>{zn(Da.target.value),Mn(encodeURIComponent(Da.target.value),mt||null)},bordered:!1,placeholder:Nn}),x.createElement("i",{onClick:ya,className:"iconfont icon-sousuo9 font14 pl10 current"}))},z={flex_box_center:"flex_box_center___tol8o",flex_space_between:"flex_space_between___Z235C",flex_box_vertical_center:"flex_box_vertical_center___Wq1sZ",flex_box_center_end:"flex_box_center_end___LLxom",flex_box_column:"flex_box_column___DbMSN",quickPager:"quickPager___GM30J",disabled:"disabled___Ozc8I"},ne=({value:en,onChange:Cn,className:Ln,total:Mn,pageSize:ur,style:Ba={}})=>{const Nn=en<2,gt=en>=Math.ceil(Mn/ur);return Mn<=ur?x.createElement(x.Fragment,null):x.createElement("div",{className:Fe()(z.quickPager,Ln),style:Ba},x.createElement("div",{onClick:()=>{Nn||Cn(en-1,"prev")},className:Nn?z.disabled:""},"\u4E0A\u4E00\u9875"),x.createElement("div",{onClick:()=>{gt||Cn(en+1,"next")},className:gt?z.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(57953),de=te(83062),fe=te(12604),be=te(11320),Ee=te(28706),pe=te(96908),ge=te(57177),$e=te(81378),Be=te(26194),Re=({className:en,dataSource:Cn=[],col:Ln=4,right:Mn,bottom:ur=23,precision:Ba=0,wrapWidth:Nn=1200,trackEventItems:gt,loading:St})=>{const mt=Math.floor((Nn-(Ln-1)*Mn)/Ln);return x.createElement(le.Z,{spinning:St},x.createElement("div",{className:Fe()(ae.list,en)},!!Cn.length&&Cn.map((kt,ln)=>{const{name:zn,id:ya,identifier:oa,power:Da,cover_image_id:Za,pic:Yr}=kt;return x.createElement("div",{className:ae.wrap,key:ya,style:{width:mt,marginRight:(1+ln)%Ln===0?0:Mn+Ba,marginBottom:ur}},x.createElement("a",{target:"_blank",href:`/shixuns/${oa}/challenges`,className:ae.li,onClick:jn=>{jn.preventDefault(),gt&&(0,Ee.L9)([gt]),Da&&(0,Ee.xg)(`/shixuns/${oa}/challenges`)}},x.createElement("div",{className:ae.img},x.createElement("img",{className:ae.cover,src:`${Yr}`}),kt.is_jupyter&&x.createElement("img",{className:ae.sign,src:pe}),kt.is_jupyter_lab&&x.createElement("img",{className:ae.sign,src:ge}),kt.is_unity_3d&&x.createElement("img",{className:ae.sign,src:$e})),x.createElement("div",{className:ae.name},x.createElement(de.Z,{title:zn||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},x.createElement("span",{className:ae.e},zn||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),x.createElement("div",{className:ae.tags},x.createElement(de.Z,{placement:"bottom",title:"\u5173\u5361\u6570"},x.createElement("span",null,x.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),x.createElement("span",null,kt.challenges_count))),!!kt.myshixuns_count&&x.createElement(de.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},x.createElement("span",null,x.createElement("i",{className:"iconfont icon-chengyuan font14 mr2"}),x.createElement("span",null,kt.myshixuns_count))),x.createElement(de.Z,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},x.createElement("span",null,x.createElement("span",null,kt.level))),x.createElement("div",{className:ae.rate},x.createElement(fe.Z,{allowHalf:!0,disabled:!0,defaultValue:kt.score_info}),x.createElement("span",null,"\xA0",kt.score_info?`${kt.score_info}\u5206`:"5\u5206")))),!Da&&x.createElement("div",{className:ae.lockWrap},x.createElement("img",{src:`${be.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),x.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!Cn.length&&x.createElement(Be.Z,null)))},Ge=te(9897),Ye={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"},Pt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JKmEQPILClJZfpEfIUAChFQSHIJxnGDiDYwsb8KRLUuWZcmSxqN9pJF6nV7eSZ373u1509Mzvd2eGVt6VV2z9Ht3+9459+yX8Bq4mDmWK2GLqla3MvFWZt4KpjVMSBNzGoQ0M6WJkJbpMiNDxBkwMkyUIUYGxCeJaB8x7fMcZ18yiv1EVHy1Lw+9GicwO8tXlSrlbSB6O4HfANAmZlY250JEHsBHGLQTzA9H3chDfX2012Yfy9HWqwJgZh7NF6vvY/a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wLj4TXgEiyivwOxKJ6OOdrkxXAEun4nVij+VQS+sRRp1O6rXwnOy1pOi9yZj7P93Mp2uApfNMvvIRAn/nIsjdQDH3rIDLoI+lE+6/dtuiFYBDlHz3RXbdHSTClknRB7qlXDMKawCbPbnK9F8XBa9OQRYrFb+nmz23vmerABvpulwt339RhWoPZFGFIk7k9k6l5cV6sw6w0ZOrqHzvojGkRZCJdjhwP9iJntush54ALJ2KwJUrVL4M4A9frbbrZovX7fdiWwbwN8m4+7l2LVSt9t0zgM0AxEHhVflbF/flBbvjtHLot9pxHLQK6jxdupOH2n1GuxpR+S6Yb2332dfk/USPOnA/2qrLr5s16DkFm8EJm84Xq5/wPP7LC5eaaVop+pNEzPlmwJ67wa6lZ5cN4BDQw9l8+StEdNeFsjcLmMz89VQi8qdEdKYlZCzdtOwAm3EHIblfZeabLc1lVTYjccsK/NlEIvrESgxwxQAOCWHv9jz+Aph/cSUWoGd9Ej2mFH3RlkWq03GuOMBm4JLwRh4+z+DbOp3ManhOsvxY4UvpeOSR1TGe1TCK0BiC/OS7APoQwKHqHKtsoPOGQzMA/7sCvp5MRp9aTSNdNRRcvyhSTqJQqN7pgT8O4F3MvArC3uZGKdVsAPxIgb4djzv3EtHsagLWjGXVAhxeLCnxlC9W38fsbQPTNgZPrMRiSgU5ED9EpB5KxJx7iKjFkxlXYrR+n68KgOuXJ6ituQ1E2wj8eoA2McuxWPYuqbcM8BEG7QTzw1E38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",qe=te(67294),pt=({className:en,dataSource:Cn=[],col:Ln=4,right:Mn,bottom:ur=23,precision:Ba=0,wrapWidth:Nn=1200,trackEventItems:gt,loading:St})=>{const mt=Math.floor((Nn-(Ln-1)*Mn)/Ln);return qe.createElement(le.Z,{spinning:St},qe.createElement("div",{className:Fe()(Ye.list,en)},!!Cn.length&&Cn.map((kt,ln)=>{const{subject_identifier:zn,id:ya,identifier:oa,power:Da}=kt,Za=kt.is_public!=0&&kt.is_public;return qe.createElement("div",{className:Ye.wrap,key:ya,style:{width:mt,marginRight:(1+ln)%Ln===0?0:Mn+Ba,marginBottom:ur}},qe.createElement("a",{className:Ye.li,onClick:Yr=>{Yr.preventDefault(),gt&&(0,Ee.L9)([gt]),(0,Ee.xg)(kt.first_category_url)}},qe.createElement("div",{className:Ye.top},qe.createElement(de.Z,{title:kt.name},qe.createElement("div",{className:Ye.name},kt.name)),qe.createElement("img",{className:Ye.img,src:be.Z.IMG_SERVER+"/images/"+kt.avatar_url}),qe.createElement("div",{className:Ye.text,title:kt.creator},kt.creator),zn&&qe.createElement("div",{className:Ye.btns},qe.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),qe.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802")),Za&&qe.createElement("div",{className:Ye.sign},"\u516C\u5F00")),qe.createElement("div",{className:Ye.bottom},kt.visits>0&&qe.createElement(de.Z,{title:"\u8BBF\u95EE\u91CF",placement:"bottom"},qe.createElement("span",null,qe.createElement("i",{className:"iconfont icon-liulanyan"}),qe.createElement("span",null,kt.visits))),kt.course_members_count>0&&qe.createElement(de.Z,{title:"\u6210\u5458",placement:"bottom"},qe.createElement("span",null,qe.createElement("i",{className:"iconfont icon-chengyuan"}),kt.course_members_count)),kt.tasks_count>0&&qe.createElement(de.Z,{title:"\u4F5C\u4E1A",placement:"bottom"},qe.createElement("span",null,qe.createElement("i",{className:"iconfont icon-zuoye"}),kt.tasks_count)),kt.is_end?qe.createElement("div",{style:{color:"#6B758B"}},"\u5DF2\u7ED3\u675F"):qe.createElement("div",{style:{color:"#00B187"}},"\u8FDB\u884C\u4E2D"))),!kt.is_accessible&&qe.createElement("div",{className:Ye.lockWrap},qe.createElement("img",{src:`${be.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),qe.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!Cn.length&&qe.createElement(Be.Z,null)))},_t={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(35973),xt=({dataSource:en=[],value:Cn,onChange:Ln,className:Mn,style:ur={},tabBarExtraContent:Ba})=>x.createElement("div",{className:Fe()(_t.tabs,Mn),style:ur},x.createElement("div",{className:_t.tabsWrap},en.map((Nn,gt)=>x.createElement("aside",{className:_t.tab,onClick:()=>{Ln(Nn.id),Nn.link&&Qt.history.push(Nn.link)},key:gt},x.createElement("div",{className:Cn===Nn.id?_t.active:""},Nn.name),(Nn==null?void 0:Nn.resetCount)==null&&(Nn==null?void 0:Nn.total)!==void 0&&x.createElement("span",null,"\uFF08",Nn==null?void 0:Nn.total,"\uFF09"),(Nn==null?void 0:Nn.resetCount)!==void 0&&(Nn==null?void 0:Nn.total)!==void 0&&x.createElement(de.Z,{title:(Nn==null?void 0:Nn.tip)!=null?Nn==null?void 0:Nn.tip:""},x.createElement("span",{style:{color:"#9096A3"}},"\uFF08",x.createElement("span",{style:{color:"#000"}},Nn==null?void 0:Nn.resetCount),"/",x.createElement("span",null,Nn==null?void 0:Nn.total),"\uFF09"))))),x.createElement("div",{className:_t.tabBar},Ba)),un=({className:en,style:Cn={},children:Ln})=>x.createElement("div",{className:Fe()(en),style:Cn},Ln),Bt={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"},$t=te(85418),Ne=te(68508);const Tt=[{id:"updated_at",name:"\u6700\u65B0\u52A8\u6001"},{id:"created_at",name:"\u6700\u65B0\u521B\u5EFA"},{id:"name",name:"\u540D\u79F0\u6392\u5E8F"}];var Ft=({sortValue:en,dropValue:Cn,className:Ln,onSort:Mn,onDrop:ur,dataSource:Ba=Tt})=>{var Nn;return x.createElement("div",{className:Fe()(Bt.orderWrap,Ln)},x.createElement($t.Z,{dropdownRender:()=>x.createElement(Ne.default,null,Ba.map((gt,St)=>x.createElement(Ne.default.Item,{key:St,onClick:()=>ur(gt.id)},gt.name)))},x.createElement("span",{className:Bt.orderTextWrap},(Nn=Ba.find(gt=>Cn===gt.id))==null?void 0:Nn.name)),x.createElement("span",{className:Bt.orderIconWrap},x.createElement("span",{className:Bt.orderAsc},x.createElement("i",{className:en==="asc"?`iconfont icon-sanjiaoxing-up font12 ${Bt.cursorPointer} ${Bt.active}`:`iconfont icon-sanjiaoxing-up font12 ${Bt.cursorPointer}`,onClick:()=>Mn(en==="asc"?"desc":"asc")})),x.createElement("span",{className:Bt.orderDesc},x.createElement("i",{className:en==="desc"?`iconfont icon-sanjiaoxing-down font12 ${Bt.cursorPointer} ${Bt.active}`:`iconfont icon-sanjiaoxing-down font12 ${Bt.cursorPointer}`,onClick:()=>Mn(en==="asc"?"desc":"asc")}))))},ct={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"},Ct=te(71577),Ze=Object.defineProperty,Me=Object.getOwnPropertySymbols,et=Object.prototype.hasOwnProperty,wt=Object.prototype.propertyIsEnumerable,Ot=(en,Cn,Ln)=>Cn in en?Ze(en,Cn,{enumerable:!0,configurable:!0,writable:!0,value:Ln}):en[Cn]=Ln,Ut=(en,Cn)=>{for(var Ln in Cn||(Cn={}))et.call(Cn,Ln)&&Ot(en,Ln,Cn[Ln]);if(Me)for(var Ln of Me(Cn))wt.call(Cn,Ln)&&Ot(en,Ln,Cn[Ln]);return en},wn=(en,Cn)=>{var Ln={};for(var Mn in en)et.call(en,Mn)&&Cn.indexOf(Mn)<0&&(Ln[Mn]=en[Mn]);if(en!=null&&Me)for(var Mn of Me(en))Cn.indexOf(Mn)<0&&wt.call(en,Mn)&&(Ln[Mn]=en[Mn]);return Ln},An=(en,Cn,Ln)=>new Promise((Mn,ur)=>{var Ba=St=>{try{gt(Ln.next(St))}catch(mt){ur(mt)}},Nn=St=>{try{gt(Ln.throw(St))}catch(mt){ur(mt)}},gt=St=>St.done?Mn(St.value):Promise.resolve(St.value).then(Ba,Nn);gt((Ln=Ln.apply(en,Cn)).next())}),Dn=en=>{var Cn=en,{className:Ln,style:Mn,children:ur,loading:Ba=!1,openLoading:Nn,onClick:gt=()=>{},size:St="middle",shape:mt="round"}=Cn,kt=wn(Cn,["className","style","children","loading","openLoading","onClick","size","shape"]);const[ln,zn]=(0,x.useState)(!1);return x.createElement(Ct.ZP,Ut({onClick:(0,he.throttle)(ya=>An(void 0,null,function*(){Nn&&zn(!0);try{yield gt(ya)}catch(oa){console.log("error",oa)}Nn&&zn(!1)}),2e3,{leading:!0,trailing:!1}),className:Fe()(ct.btn,ct[`${St}-${mt}`],Ln),style:Mn,size:St,shape:mt,loading:ln||Ba},kt),ur)},_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"},rn=({className:en,style:Cn,children:Ln=null,onClick:Mn,title:ur})=>x.createElement("div",{className:Fe()(_e.head,en),style:Cn},x.createElement("span",{className:"primary-hover",onClick:Mn},x.createElement("i",{className:"iconfont icon-fanhui2 font12"}),"\u8FD4\u56DE"),x.createElement("b",{title:ur},ur),x.createElement("div",{className:_e.node},Ln)),hn={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"},gn=({confirmShow:en=!0,confirmTitle:Cn,confirmClick:Ln,cancelShow:Mn=!0,cancelTitle:ur,cancelClick:Ba,className:Nn,style:gt,confirmLoading:St=!1})=>x.createElement("div",{className:Fe()(hn.btns,Nn),style:gt},en&&x.createElement(Ct.ZP,{loading:St,onClick:Ln,type:"primary",className:hn.confirm},Cn),Mn&&x.createElement(Ct.ZP,{onClick:Ba,className:hn.cancel},ur)),qn={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"},ua=({className:en,style:Cn={},LeftContent:Ln,children:Mn,RightContent:ur})=>x.createElement("div",{className:Fe()(qn.fixedBottom,en),style:Cn},x.createElement("div",{className:qn.wrap},x.createElement("div",{className:qn.left},Ln),x.createElement("div",{className:qn.center},Mn),x.createElement("div",{className:qn.right},ur))),cn={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"},On=({className:en,style:Cn={},dataSource:Ln=[]})=>x.createElement("div",{className:Fe()(cn.crumbs,en),style:Cn},Ln.map((Mn,ur)=>ur<Ln.length-1?x.createElement(x.Fragment,{key:ur},Mn.path||Mn.onClick?x.createElement("span",{className:cn.hover,onClick:Mn!=null&&Mn.onClick?Mn.onClick:()=>Qt.history.push(Mn.path)},Mn.name):x.createElement("span",null,Mn.name),x.createElement("span",null,"\xA0",">","\xA0")):x.createElement("span",{key:ur,style:{color:"#5F6368"}},Mn.name))),ra=te(55054),sa=Object.defineProperty,ga=Object.defineProperties,er=Object.getOwnPropertyDescriptors,Ht=Object.getOwnPropertySymbols,Xt=Object.prototype.hasOwnProperty,nn=Object.prototype.propertyIsEnumerable,Vn=(en,Cn,Ln)=>Cn in en?sa(en,Cn,{enumerable:!0,configurable:!0,writable:!0,value:Ln}):en[Cn]=Ln,Ka=(en,Cn)=>{for(var Ln in Cn||(Cn={}))Xt.call(Cn,Ln)&&Vn(en,Ln,Cn[Ln]);if(Ht)for(var Ln of Ht(Cn))nn.call(Cn,Ln)&&Vn(en,Ln,Cn[Ln]);return en},vr=(en,Cn)=>ga(en,er(Cn)),Or=(en,Cn)=>{var Ln={};for(var Mn in en)Xt.call(en,Mn)&&Cn.indexOf(Mn)<0&&(Ln[Mn]=en[Mn]);if(en!=null&&Ht)for(var Mn of Ht(en))Cn.indexOf(Mn)<0&&nn.call(en,Mn)&&(Ln[Mn]=en[Mn]);return Ln};const{Countdown:Va}=ra.default;var Sa=en=>{var Cn=en,{onChange:Ln}=Cn,Mn=Or(Cn,["onChange"]);const[ur,Ba]=(0,x.useState)(null);(0,x.useEffect)(()=>{typeof ur=="number"&&ur>=0&&Ln(ur)},[ur]);const Nn=gt=>{const St=Math.floor(gt/1e3);Ba(St)};return x.createElement(Va,vr(Ka({},Mn),{onChange:Nn}))}},99914:function(vt,dt,te){"use strict";te.d(dt,{Z:function(){return re}});var x=te(67294);function re(Ce,ze){const we=(0,x.useRef)();(0,x.useEffect)(()=>{we.current=Ce}),(0,x.useEffect)(()=>{function Te(){we.current()}if(ze!==null){let oe=setInterval(Te,ze);return()=>clearInterval(oe)}},[ze])}},96707:function(vt,dt,te){"use strict";te.d(dt,{h:function(){return x}});var x=(re=>(re[re.NOMATCH=-1]="NOMATCH",re[re.OK=0]="OK",re[re.TIMEOUT=2]="TIMEOUT",re[re.PODFAILURE=3]="PODFAILURE",re[re.COMPILEFAILURE=4]="COMPILEFAILURE",re[re.EXECUTEFAILURE=5]="EXECUTEFAILURE",re[re.HIDE_COMPILE_STATUS=11]="HIDE_COMPILE_STATUS",re))(x||{})},88742:function(vt,dt,te){"use strict";te.d(dt,{H7:function(){return E},MK:function(){return ie},MU:function(){return ye},X6:function(){return Ie},bM:function(){return he},fi:function(){return a},fu:function(){return Fe},n4:function(){return b},rX:function(){return ve},vl:function(){return y},zO:function(){return Oe}});var x=te(33170),re=Object.defineProperty,Ce=Object.getOwnPropertySymbols,ze=Object.prototype.hasOwnProperty,we=Object.prototype.propertyIsEnumerable,Te=(z,ee,ne)=>ee in z?re(z,ee,{enumerable:!0,configurable:!0,writable:!0,value:ne}):z[ee]=ne,oe=(z,ee)=>{for(var ne in ee||(ee={}))ze.call(ee,ne)&&Te(z,ne,ee[ne]);if(Ce)for(var ne of Ce(ee))we.call(ee,ne)&&Te(z,ne,ee[ne]);return z};function Fe(z,ee){return(0,x.U2)(`myproblems/${z}.json`,oe({hidePopLogin:!0},ee||{}))}function he(z,ee){return(0,x.v_)(`myproblems/${z}/code_submit.json`,ee)}function ye(z,ee){return(0,x.v_)(`myproblems/${z}/code_debug.json`,ee)}function Oe(z,ee){return ee.language&&(ee.language=encodeURIComponent(ee.language)),(0,x.U2)(`myproblems/${z}/submit_records.json`,ee)}function Ie(z){return(0,x.U2)("myproblems/record_detail.json",{id:z})}function ve(z,ee){return(0,x.U2)(`myproblems/${z}/result.json`,{mode:ee})}function ie(z,ee){return(0,x.v_)(`myproblems/${z}/add_notes.json`,ee)}function E(z,ee){return(0,x.v_)(`myproblems/${z}/restore_initial_code.json`,ee)}function a(z){return(0,x.v_)(`myproblems/${z}/sync_code.json`)}function b(z,ee){return(0,x.v_)(`myproblems/${z}/update_code.json`,ee)}function y(z,ee){return(0,x.v_)(`discusses/${z}/plus.json`,ee)}},38884:function(vt,dt,te){"use strict";te.d(dt,{Z:function(){return lu}});var x=te(67294),re={flex_box_center:"flex_box_center___bZaL5",flex_space_between:"flex_space_between___oaJSq",flex_box_vertical_center:"flex_box_vertical_center____hsuP",flex_box_center_end:"flex_box_center_end___ZYbPQ",flex_box_column:"flex_box_column___nE_62",wrap:"wrap___ulhwR",left:"left___kyWln",title:"title___jsO1D",total:"total___GEhiU",list:"list___u9dBZ",name:"name___Wxggs",b:"b___Y15YO",r:"r___mKQoe",l:"l___uelFD",tag:"tag___Mpkbg",right:"right___mQ3dU",examName:"examName___Na1r8",t:"t___IgCWK",num:"num___CXI8j",topWarp:"topWarp___Kicpu",head:"head___jx3W8",so:"so___qYW7F",btn:"btn___EMJDz",content:"content___sHGsV",titleWrap:"titleWrap___I__GR",single:"single___K5iv9",analysis:"analysis___NoAuR",text:"text___xESW2",modalColumn:"modalColumn___I_tK_",modalRow:"modalRow___lyw_U",sup:"sup___HSz3Z",popover:"popover___kE8aI"},Ce=te(22150),ze=te(83062),we=te(71577),Te=te(14446),oe=te(31795),Fe=te(2453),he=te(69677),ye=te(96074),Oe=te(84567),Ie=te(71230),ve=te(15746),ie=te(28452),E=te(55241),a=Object.defineProperty,b=Object.getOwnPropertySymbols,y=Object.prototype.hasOwnProperty,z=Object.prototype.propertyIsEnumerable,ee=(Ke,Xe,nt)=>Xe in Ke?a(Ke,Xe,{enumerable:!0,configurable:!0,writable:!0,value:nt}):Ke[Xe]=nt,ne=(Ke,Xe)=>{for(var nt in Xe||(Xe={}))y.call(Xe,nt)&&ee(Ke,nt,Xe[nt]);if(b)for(var nt of b(Xe))z.call(Xe,nt)&&ee(Ke,nt,Xe[nt]);return Ke};const ae=Ke=>React.createElement("svg",ne({width:34,height:34,xmlns:"http://www.w3.org/2000/svg"},Ke),React.createElement("title",null,"\u7F16\u7EC4 6"),React.createElement("g",{fill:"none",fillRule:"evenodd"},React.createElement("rect",{fill:"#E4E6FD",width:34,height:34,rx:10}),React.createElement("g",{fillRule:"nonzero"},React.createElement("path",{d:"M13.808 11.448a.558.558 0 0 1 0 .788l-1.564 1.565a.558.558 0 1 1-.789-.79l1.564-1.563a.558.558 0 0 1 .79 0Zm9.882 2.462a.558.558 0 0 1-.789 0l-1.564-1.563a.558.558 0 1 1 .789-.789l1.564 1.564a.556.556 0 0 1 0 .788Z",fill:"#6678EB"}),React.createElement("path",{d:"M21.753 21.707a5.937 5.937 0 1 0-8.58.015l-.937.936a.558.558 0 1 0 .789.788l.995-.994a5.91 5.91 0 0 0 3.436 1.095c1.287 0 2.48-.41 3.452-1.106l.992.992a.558.558 0 1 0 .789-.789l-.936-.937Z",fill:"#6678EB"}),React.createElement("path",{d:"m20.858 18.95-3.024-1.745v-2.054a.558.558 0 1 0-1.117 0v2.351c0 .064.011.126.031.184a.551.551 0 0 0 .258.33l3.293 1.9a.557.557 0 0 0 .559-.966Z",fill:"#FFF"}))));var le="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzQiIGhlaWdodD0iMzQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48cmVjdCBmaWxsPSIjRTRFNkZEIiB3aWR0aD0iMzQiIGhlaWdodD0iMzQiIHJ4PSIxMCIvPjxnIGZpbGwtcnVsZT0ibm9uemVybyI+PHBhdGggZD0iTTEzLjgwOCAxMS40NDhhLjU1OC41NTggMCAwIDEgMCAuNzg4bC0xLjU2NCAxLjU2NWEuNTU4LjU1OCAwIDEgMS0uNzg5LS43OWwxLjU2NC0xLjU2M2EuNTU4LjU1OCAwIDAgMSAuNzkgMFptOS44ODIgMi40NjJhLjU1OC41NTggMCAwIDEtLjc4OSAwbC0xLjU2NC0xLjU2M2EuNTU4LjU1OCAwIDEgMSAuNzg5LS43ODlsMS41NjQgMS41NjRhLjU1Ni41NTYgMCAwIDEgMCAuNzg4WiIgZmlsbD0iIzY2NzhFQiIvPjxwYXRoIGQ9Ik0yMS43NTMgMjEuNzA3YTUuOTM3IDUuOTM3IDAgMSAwLTguNTguMDE1bC0uOTM3LjkzNmEuNTU4LjU1OCAwIDEgMCAuNzg5Ljc4OGwuOTk1LS45OTRhNS45MSA1LjkxIDAgMCAwIDMuNDM2IDEuMDk1YzEuMjg3IDAgMi40OC0uNDEgMy40NTItMS4xMDZsLjk5Mi45OTJhLjU1OC41NTggMCAxIDAgLjc4OS0uNzg5bC0uOTM2LS45MzdaIiBmaWxsPSIjNjY3OEVCIi8+PHBhdGggZD0ibTIwLjg1OCAxOC45NS0zLjAyNC0xLjc0NXYtMi4wNTRhLjU1OC41NTggMCAxIDAtMS4xMTcgMHYyLjM1MWMwIC4wNjQuMDExLjEyNi4wMzEuMTg0YS41NTEuNTUxIDAgMCAwIC4yNTguMzNsMy4yOTMgMS45YS41NTcuNTU3IDAgMCAwIC41NTktLjk2NloiIGZpbGw9IiNGRkYiLz48L2c+PC9nPjwvc3ZnPg==",de=te(85725),fe=te(35973),be=te(28706),Ee=te(33170),pe=Object.defineProperty,ge=Object.getOwnPropertySymbols,$e=Object.prototype.hasOwnProperty,Be=Object.prototype.propertyIsEnumerable,Le=(Ke,Xe,nt)=>Xe in Ke?pe(Ke,Xe,{enumerable:!0,configurable:!0,writable:!0,value:nt}):Ke[Xe]=nt,Re=(Ke,Xe)=>{for(var nt in Xe||(Xe={}))$e.call(Xe,nt)&&Le(Ke,nt,Xe[nt]);if(ge)for(var nt of ge(Xe))Be.call(Xe,nt)&&Le(Ke,nt,Xe[nt]);return Ke};const Ge=Ke=>React.createElement("svg",Re({width:34,height:34,xmlns:"http://www.w3.org/2000/svg"},Ke),React.createElement("title",null,"\u7F16\u7EC4 12"),React.createElement("g",{fill:"none",fillRule:"evenodd"},React.createElement("rect",{width:34,height:34,rx:10,fill:"#EAF3F4"}),React.createElement("path",{d:"M25.905 15.37a.775.775 0 0 0-.626-.529l-4.814-.7-2.152-4.362a.776.776 0 0 0-1.392 0l-2.153 4.363-4.814.699a.775.775 0 0 0-.43 1.323l3.484 3.396-.823 4.794a.777.777 0 0 0 1.126.818l4.306-2.264 4.305 2.264a.778.778 0 0 0 .817-.059.777.777 0 0 0 .31-.759l-.823-4.794 3.483-3.396a.777.777 0 0 0 .196-.795Z",fill:"#21C0A6",fillRule:"nonzero"})));var Ye="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzQiIGhlaWdodD0iMzQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48cmVjdCB3aWR0aD0iMzQiIGhlaWdodD0iMzQiIHJ4PSIxMCIgZmlsbD0iI0VBRjNGNCIvPjxwYXRoIGQ9Ik0yNS45MDUgMTUuMzdhLjc3NS43NzUgMCAwIDAtLjYyNi0uNTI5bC00LjgxNC0uNy0yLjE1Mi00LjM2MmEuNzc2Ljc3NiAwIDAgMC0xLjM5MiAwbC0yLjE1MyA0LjM2My00LjgxNC42OTlhLjc3NS43NzUgMCAwIDAtLjQzIDEuMzIzbDMuNDg0IDMuMzk2LS44MjMgNC43OTRhLjc3Ny43NzcgMCAwIDAgMS4xMjYuODE4bDQuMzA2LTIuMjY0IDQuMzA1IDIuMjY0YS43NzguNzc4IDAgMCAwIC44MTctLjA1OS43NzcuNzc3IDAgMCAwIC4zMS0uNzU5bC0uODIzLTQuNzk0IDMuNDgzLTMuMzk2YS43NzcuNzc3IDAgMCAwIC4xOTYtLjc5NVoiIGZpbGw9IiMyMUMwQTYiIGZpbGwtcnVsZT0ibm9uemVybyIvPjwvZz48L3N2Zz4=",Pt=Object.defineProperty,qe=Object.getOwnPropertySymbols,at=Object.prototype.hasOwnProperty,pt=Object.prototype.propertyIsEnumerable,_t=(Ke,Xe,nt)=>Xe in Ke?Pt(Ke,Xe,{enumerable:!0,configurable:!0,writable:!0,value:nt}):Ke[Xe]=nt,Qt=(Ke,Xe)=>{for(var nt in Xe||(Xe={}))at.call(Xe,nt)&&_t(Ke,nt,Xe[nt]);if(qe)for(var nt of qe(Xe))pt.call(Xe,nt)&&_t(Ke,nt,Xe[nt]);return Ke};const Je=Ke=>React.createElement("svg",Qt({width:34,height:34,xmlns:"http://www.w3.org/2000/svg"},Ke),React.createElement("title",null,"\u9898\u76EE"),React.createElement("g",{fill:"none",fillRule:"evenodd"},React.createElement("rect",{fill:"#E7F3FF",width:34,height:34,rx:10}),React.createElement("g",{fill:"#4C6FFF",fillRule:"nonzero"},React.createElement("path",{d:"m23.719 13.325-4.098-3.94c-.097-.13-.225-.162-.355-.162-.129 0-.258.064-.387.161l-7.55 7.753c-.065.065-.098.162-.13.227l-1.032 5.427c-.033.194.032.323.16.484.13.13.227.162.389.162h.096l4.776-1.099c.097-.032.194-.064.258-.161l7.841-8.108c.194-.162.194-.517.033-.744h-.001Zm-8.1 8.044a.534.534 0 0 1-.386.162.56.56 0 0 1-.388-.162l-3-2.81c-.226-.194-.226-.517-.033-.743.194-.227.517-.227.743-.033l3 2.811c.259.226.291.55.065.776ZM17 22.92h6.844v1.055H17z"}))));var xt="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzQiIGhlaWdodD0iMzQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48cmVjdCBmaWxsPSIjRTdGM0ZGIiB3aWR0aD0iMzQiIGhlaWdodD0iMzQiIHJ4PSIxMCIvPjxnIGZpbGw9IiM0QzZGRkYiIGZpbGwtcnVsZT0ibm9uemVybyI+PHBhdGggZD0ibTIzLjcxOSAxMy4zMjUtNC4wOTgtMy45NGMtLjA5Ny0uMTMtLjIyNS0uMTYyLS4zNTUtLjE2Mi0uMTI5IDAtLjI1OC4wNjQtLjM4Ny4xNjFsLTcuNTUgNy43NTNjLS4wNjUuMDY1LS4wOTguMTYyLS4xMy4yMjdsLTEuMDMyIDUuNDI3Yy0uMDMzLjE5NC4wMzIuMzIzLjE2LjQ4NC4xMy4xMy4yMjcuMTYyLjM4OS4xNjJoLjA5Nmw0Ljc3Ni0xLjA5OWMuMDk3LS4wMzIuMTk0LS4wNjQuMjU4LS4xNjFsNy44NDEtOC4xMDhjLjE5NC0uMTYyLjE5NC0uNTE3LjAzMy0uNzQ0aC0uMDAxWm0tOC4xIDguMDQ0YS41MzQuNTM0IDAgMCAxLS4zODYuMTYyLjU2LjU2IDAgMCAxLS4zODgtLjE2MmwtMy0yLjgxYy0uMjI2LS4xOTQtLjIyNi0uNTE3LS4wMzMtLjc0My4xOTQtLjIyNy41MTctLjIyNy43NDMtLjAzM2wzIDIuODExYy4yNTkuMjI2LjI5MS41NS4wNjUuNzc2Wk0xNyAyMi45Mmg2Ljg0NHYxLjA1NUgxN3oiLz48L2c+PC9nPjwvc3ZnPg==",Et=te(14375),un=te(35567),Bt=te(35566),$t=te(73646),Ne={wrap:"wrap___OIoOI",modal:"modal___Z3hfU",titleWrap:"titleWrap___aK3oG",required:"required___NHoO7",title:"title___uxb1R",colorGray:"colorGray___O8YPg",choiceWrap:"choiceWrap___t51sb",answer:"answer___vsBnh",activeAnswer:"activeAnswer___AJN4p",deleteIcon:"deleteIcon___WvOJZ",addIcon:"addIcon___UyeIs",editorWrap:"editorWrap___uqcFU",htmlWrap:"htmlWrap___GcBNL",radio:"radio___e8qQ5",color333:"color333___PLzVK",color999:"color999___v3EY0",fold:"fold___OfvPe",head:"head___EejYX",collapseWrapper:"collapseWrapper___sQyVD",panelHeader:"panelHeader___Ivicf",open:"open___aEOQE",close:"close___z4P5H",inputBorder:"inputBorder___ix67O",keywordTag:"keywordTag___iGx08",scoreByBlankRadio:"scoreByBlankRadio___Kwu7q"},Tt=te(67294),an=Object.defineProperty,Ft=Object.defineProperties,ct=Object.getOwnPropertyDescriptors,Ct=Object.getOwnPropertySymbols,Ze=Object.prototype.hasOwnProperty,Me=Object.prototype.propertyIsEnumerable,et=(Ke,Xe,nt)=>Xe in Ke?an(Ke,Xe,{enumerable:!0,configurable:!0,writable:!0,value:nt}):Ke[Xe]=nt,wt=(Ke,Xe)=>{for(var nt in Xe||(Xe={}))Ze.call(Xe,nt)&&et(Ke,nt,Xe[nt]);if(Ct)for(var nt of Ct(Xe))Me.call(Xe,nt)&&et(Ke,nt,Xe[nt]);return Ke},Ot=(Ke,Xe)=>Ft(Ke,ct(Xe)),Ut=(Ke,Xe)=>{var nt={};for(var Lt in Ke)Ze.call(Ke,Lt)&&Xe.indexOf(Lt)<0&&(nt[Lt]=Ke[Lt]);if(Ke!=null&&Ct)for(var Lt of Ct(Ke))Xe.indexOf(Lt)<0&&Me.call(Ke,Lt)&&(nt[Lt]=Ke[Lt]);return nt};const wn=null,An=(Ke,Xe)=>{var nt=Ke,{globalSetting:Lt,loading:gr,dispatch:_a,isEdit:Zr,editData:Qa}=nt,rr=Ut(nt,["globalSetting","loading","dispatch","isEdit","editData"]);const[Se,ke]=(0,x.useState)(""),[je,tt]=(0,x.useState)(""),[yt,ft]=(0,x.useState)([]),[At,sn]=(0,x.useState)(""),[xn,on]=(0,x.useState)(),[ce,me]=(0,x.useState)(!1),[xe,Ae]=(0,x.useState)({}),[He,Qe]=(0,x.useState)([]);(0,x.useEffect)(()=>{!Qa||!Zr||(ke(Qa==null?void 0:Qa.name),tt(Qa==null?void 0:Qa.analysis),on(Qa==null?void 0:Qa.is_ordered),Ae(Qa),me(!0))},[Qa]),(0,x.useEffect)(()=>{if(!ce)return;const jt=Qa==null?void 0:Qa.standard_answer.map(In=>In==null?void 0:In.answer_text);ft(jt);const mn=Qa==null?void 0:Qa.standard_answer.map(In=>In==null?void 0:In.score);Qe(mn),me(!1)},[ce]),(0,x.useImperativeHandle)(Xe,()=>({onSave:ut,Clear:Dt}));const ut=()=>{let jt=[],mn=!1;return Se?(yt.forEach((In,Sn)=>{jt.push({position:Sn+1,answer_text:[],score:He[Sn]}),In==null||In.forEach((Kn,ma)=>{jt[Sn].answer_text.push(Kn),(!Kn||!(0,be.eR)(Kn,1e4))&&(sn(`${Sn}-${ma}`),Fe.ZP.info(Kn?"\u7B54\u6848\u4E0D\u80FD\u8D85\u8FC710000\u5B57\u7B26":"\u7B54\u6848\uFF1A\u4E0D\u80FD\u4E3A\u7A7A"),mn=!0)})}),mn?!1:(jt==null?void 0:jt.length)>20?(Fe.ZP.warning("\u586B\u7A7A\u9898\u6807\u51C6\u7B54\u6848\u4E0D\u80FD\u4E3A\u7A7A/\u4E0D\u80FD\u8D85\u8FC720\u4E2A\uFF01"),!1):{name:Se,analysis:je,standard_answers:jt,is_ordered:xn,downcase:xe==null?void 0:xe.downcase,no_space:xe==null?void 0:xe.no_space,use_blank_score:xe==null?void 0:xe.use_blank_score}):(Fe.ZP.info("\u8BF7\u60A8\u8F93\u5165\u9898\u5E72"),!1)},Dt=()=>{ke(""),tt(""),ft([]),on(!1)},Mt=(jt,mn,In)=>{const Sn=yt.slice();if(mn&&Sn.splice(jt,mn),In)for(let Kn=0;Kn<In;Kn++)Sn.splice(jt+Kn,0,[""]);ft(Sn)},Zt=(jt,mn,In)=>{sn("");let Sn=yt.slice();Sn[jt][mn]=In,ft(Sn)},bt=jt=>{let mn=yt.slice();mn[jt]=[...mn[jt],""],ft(mn)},fn=(jt,mn)=>{let In=yt.slice();if(!In[jt][mn]){In[jt]=In[jt].filter((Sn,Kn)=>Kn!==mn),ft(In);return}Te.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:Ne.modal,onOk:()=>{In[jt]=In[jt].filter((Sn,Kn)=>Kn!==mn),ft(In)}})},Rn=jt=>{Te.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:Ne.modal,onOk:()=>{let mn=yt.slice();mn=yt.filter((In,Sn)=>jt!==Sn),ft(mn)}})};return Tt.createElement("section",{className:Ne.wrap},Tt.createElement("p",{className:Ne.titleWrap},Tt.createElement("span",{className:Ne.required},"*"),Tt.createElement("span",{className:Ne.title},"\u9898\u5E72\uFF1A")),Tt.createElement("div",null,Tt.createElement(Bt.Z,{id:"completion-question-tittle",placeholder:"\u8BF7\u60A8\u8F93\u5165\u9898\u76EE",height:155,defaultValue:Se,onChange:jt=>ke(jt),showNullButton:!0,onPlaceholderChange:Mt})),Tt.createElement("div",{className:"mt20"},yt.map((jt,mn)=>Tt.createElement("div",{style:{display:"flex"}},Tt.createElement("div",{style:{flex:1}},Tt.createElement($t.Z,{key:mn,answers:jt,index:mn,flex:1,is_md:!0,activeOptionErrorIndex:At,onAnswerChange:Zt,addChildAnswer:bt,deleteChildAnswer:fn,deleteChildAnswermain:Rn})),xe.use_blank_score&&Tt.createElement("div",{style:{display:"flex",alignItems:"center",width:"165px"}},Tt.createElement("span",{style:{color:"red",margin:"auto 5px auto 10px"}},"*"),"\u5206\u503C\uFF1A",Tt.createElement(oe.Z,{style:{width:"100px"},size:"large",defaultValue:He[mn],onBlur:In=>{He[mn]=In.target.value,Qe([...He])}}))))),Tt.createElement("div",null,Tt.createElement(Oe.default,{className:`${Ne.color333} font14 mt20`,checked:xe.use_blank_score,onChange:jt=>Ae(Ot(wt({},xe),{use_blank_score:jt.target.checked}))},"\u5224\u5206\u65F6\u6309\u7A7A\u7ED9\u5206"),Tt.createElement("span",{style:{color:"#999999",fontSize:"12px"}},"\uFF08\u9009\u4E2D\uFF0C\u5219\u9700\u8981\u8BBE\u7F6E\u6BCF\u7A7A\u5206\u503C\uFF0C\u5B66\u751F\u7B54\u6848\u5224\u5206\u65F6\u6309\u7A7A\u7ED9\u5206\uFF09")),Tt.createElement("div",null,Tt.createElement(Oe.default,{className:`${Ne.color333} font14 mt20`,checked:xe.downcase,onChange:jt=>Ae(Ot(wt({},xe),{downcase:jt.target.checked}))},"\u5224\u5206\u65F6\u5FFD\u7565\u7B54\u6848\u4E2D\u7684\u5B57\u6BCD\u5927\u5C0F\u5199")),Tt.createElement("div",null,Tt.createElement(Oe.default,{className:`${Ne.color333} font14 mt20`,checked:xe.no_space,onChange:jt=>Ae(Ot(wt({},xe),{no_space:jt.target.checked}))},"\u5224\u5206\u65F6\u5FFD\u7565\u7B54\u6848\u4E2D\u7684\u7A7A\u683C")),Tt.createElement("div",{className:"mt20"},(yt==null?void 0:yt.length)>1&&Tt.createElement("span",null,Tt.createElement(Oe.default,{checked:xn,onChange:jt=>on(jt.target.checked),className:`${Ne.color333} font14`},"\u591A\u4E2A\u586B\u7A7A\u7684\u7B54\u6848\u6709\u987A\u5E8F\u8981\u6C42"),Tt.createElement("span",{className:`${Ne.color999} font12`},"\uFF08\u9009\u4E2D\uFF0C\u6BCF\u4E2A\u586B\u7A7A\u7684\u7B54\u6848\u987A\u5E8F\u5FC5\u987B\u4E0E\u53C2\u8003\u7B54\u6848\u4E00\u81F4\uFF09"))),Tt.createElement("p",{className:Ne.titleWrap},Tt.createElement("span",{className:Ne.title},"\u9898\u76EE\u89E3\u6790\uFF1A")),Tt.createElement(un.Z,{id:"single-question-answer",watch:!0,height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9898\u76EE\u89E3\u6790",defaultValue:je,onChange:jt=>tt(jt)}))};var tn=(0,fe.connect)(({loading:Ke,globalSetting:Xe})=>({globalSetting:Xe,loading:Ke.effects}),null,null,{forwardRef:!0})((0,x.forwardRef)(An)),Dn=te(78045),_e=Object.getOwnPropertySymbols,ot=Object.prototype.hasOwnProperty,rn=Object.prototype.propertyIsEnumerable,hn=(Ke,Xe)=>{var nt={};for(var Lt in Ke)ot.call(Ke,Lt)&&Xe.indexOf(Lt)<0&&(nt[Lt]=Ke[Lt]);if(Ke!=null&&_e)for(var Lt of _e(Ke))Xe.indexOf(Lt)<0&&rn.call(Ke,Lt)&&(nt[Lt]=Ke[Lt]);return nt};const lt=null,gn=(Ke,Xe)=>{var nt=Ke,{globalSetting:Lt,loading:gr,editData:_a,dispatch:Zr,onRef:Qa=()=>{},isEdit:rr}=nt,Se=hn(nt,["globalSetting","loading","editData","dispatch","onRef","isEdit"]);const[ke,je]=(0,x.useState)(),[tt,yt]=(0,x.useState)(""),[ft,At]=(0,x.useState)("");(0,x.useEffect)(()=>{if(!_a||!rr)return;yt(_a==null?void 0:_a.name),At(_a==null?void 0:_a.analysis);const on=_a==null?void 0:_a.choices.find(ce=>ce.is_answer);je(on.choice_text==="\u6B63\u786E"?"0":"1")},[_a]),(0,x.useImperativeHandle)(Xe,()=>({onSave:sn,Clear:xn}));const sn=()=>tt?ke?{name:tt,choices:[{choice_text:"\u6B63\u786E",is_answer:ke==="0"?1:0},{choice_text:"\u9519\u8BEF",is_answer:ke==="1"?1:0}],analysis:ft}:(Fe.ZP.info("\u8BF7\u5148\u70B9\u51FB\u9009\u62E9\u672C\u9009\u62E9\u9898\u7684\u6B63\u786E\u9009\u9879"),!1):(Fe.ZP.info("\u8BF7\u60A8\u8F93\u5165\u9898\u5E72"),!1),xn=()=>{yt(""),At(""),je("")};return x.createElement("section",{className:Ne.wrap},x.createElement("p",{className:Ne.titleWrap},x.createElement("span",{className:Ne.required},"*"),x.createElement("span",{className:Ne.title},"\u9898\u5E72\uFF1A")),x.createElement(un.Z,{id:"single-question-title",watch:!0,height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9898\u5E72",defaultValue:tt,onChange:on=>yt(on)}),x.createElement("p",{className:Ne.titleWrap},x.createElement("span",{className:Ne.required},"*"),x.createElement("span",{className:Ne.title},"\u7B54\u6848\u9009\u9879\uFF1A",x.createElement("span",{className:Ne.colorGray},"\u70B9\u51FB\u9009\u9879\u53EF\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848"))),x.createElement(Dn.ZP.Group,{buttonStyle:"solid",value:ke,onChange:on=>je(on.target.value)},x.createElement(Dn.ZP.Button,{value:"0",className:`${Ne.radio} mr40`},"\u6B63\u786E"),x.createElement(Dn.ZP.Button,{value:"1",className:Ne.radio},"\u9519\u8BEF")),x.createElement("p",{className:Ne.titleWrap},x.createElement("span",{className:Ne.title},"\u9898\u76EE\u89E3\u6790\uFF1A")),x.createElement(un.Z,{id:"single-question-answer",watch:!0,height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9898\u76EE\u89E3\u6790",defaultValue:ft,onChange:on=>At(on)}))};var qn=(0,fe.connect)(({loading:Ke,globalSetting:Xe})=>({globalSetting:Xe,loading:Ke.effects}),null,null,{forwardRef:!0})((0,x.forwardRef)(gn)),Gn=Object.getOwnPropertySymbols,ua=Object.prototype.hasOwnProperty,cn=Object.prototype.propertyIsEnumerable,Jt=(Ke,Xe)=>{var nt={};for(var Lt in Ke)ua.call(Ke,Lt)&&Xe.indexOf(Lt)<0&&(nt[Lt]=Ke[Lt]);if(Ke!=null&&Gn)for(var Lt of Gn(Ke))Xe.indexOf(Lt)<0&&cn.call(Ke,Lt)&&(nt[Lt]=Ke[Lt]);return nt};const On=null,ra=(Ke,Xe)=>{var nt=Ke,{globalSetting:Lt,loading:gr,editData:_a,dispatch:Zr,onRef:Qa=()=>{},isEdit:rr}=nt,Se=Jt(nt,["globalSetting","loading","editData","dispatch","onRef","isEdit"]);const[ke,je]=(0,x.useState)([]);(0,x.useEffect)(()=>{var At;if(!_a||!rr)return;const sn=(At=_a==null?void 0:_a.shixun)==null?void 0:At.challenges.map(xn=>({id:xn==null?void 0:xn.id,score:xn.score}));je(sn)},[_a]),(0,x.useImperativeHandle)(Xe,()=>({onSave:tt,Clear:yt}));const tt=()=>({challenges:[...ke]}),yt=()=>{je([])};console.log("editData--",_a);const ft=At=>{var sn,xn;return x.createElement("div",null,(xn=(sn=At==null?void 0:At.shixun)==null?void 0:sn.challenges)==null?void 0:xn.map((on,ce)=>{var me;return x.createElement("div",{className:"c-grey-666 font14 ml25",style:{display:"flex",alignItems:"center",justifyContent:"space-between",marginBottom:"15px"}},x.createElement("div",null,x.createElement("span",{className:"mr5"},"\u7B2C",ce+1,"\u5173"),x.createElement(ze.Z,{key:ce,title:on==null?void 0:on.challenge_name},x.createElement("span",null,(0,be.Pq)(on==null?void 0:on.challenge_name,44)))),x.createElement("p",{style:{marginBottom:0}},x.createElement("span",{className:Ne.required},"*"),x.createElement("span",{className:Ne.title},"\u5206\u503C\uFF1A"),x.createElement(oe.Z,{precision:1,min:1,max:100,className:Ne.baseFormItem,style:{width:176},value:(me=ke.find(xe=>xe.id===on.id))==null?void 0:me.score,onChange:xe=>{ke.find(Ae=>Ae.id===on.id).score=xe,je([...ke])}})))}),x.createElement("div",{style:{clear:"both"}}))};return x.createElement("section",{className:Ne.wrap},x.createElement(de.Z,{style:{paddingRight:10},className:Ne.titleHtml,value:`${_a==null?void 0:_a.position}\u3001${_a==null?void 0:_a.name}`}),x.createElement("p",{style:{marginBottom:"10px",marginTop:"25px"}},x.createElement("span",{className:Ne.required},"*"),x.createElement("span",{className:Ne.title},"\u5173\u5361")),ft(_a))};var sa=(0,fe.connect)(({loading:Ke,globalSetting:Xe})=>({globalSetting:Xe,loading:Ke.effects}),null,null,{forwardRef:!0})((0,x.forwardRef)(ra)),ga=Object.getOwnPropertySymbols,er=Object.prototype.hasOwnProperty,Ht=Object.prototype.propertyIsEnumerable,Xt=(Ke,Xe)=>{var nt={};for(var Lt in Ke)er.call(Ke,Lt)&&Xe.indexOf(Lt)<0&&(nt[Lt]=Ke[Lt]);if(Ke!=null&&ga)for(var Lt of ga(Ke))Xe.indexOf(Lt)<0&&Ht.call(Ke,Lt)&&(nt[Lt]=Ke[Lt]);return nt};const nn=["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"],Vn=(Ke,Xe)=>{var nt=Ke,{editData:Lt,globalSetting:gr,loading:_a,dispatch:Zr,onRef:Qa=()=>{},isEdit:rr}=nt,Se=Xt(nt,["editData","globalSetting","loading","dispatch","onRef","isEdit"]);const[ke,je]=(0,x.useState)([]),[tt,yt]=(0,x.useState)(),[ft,At]=(0,x.useState)([]),[sn,xn]=(0,x.useState)(""),[on,ce]=(0,x.useState)("");(0,x.useEffect)(()=>{je(["","","",""])},[]),(0,x.useEffect)(()=>{if(!Lt||!rr)return;xn(Lt==null?void 0:Lt.name),ce(Lt==null?void 0:Lt.analysis),je(Lt==null?void 0:Lt.choices.map(He=>He.choice_text));const Ae=[];Lt==null||Lt.choices.map((He,Qe)=>{He.is_answer&&Ae.push(Qe)}),At(Ae)},[Lt]),(0,x.useImperativeHandle)(Xe,()=>({onSave:me,Clear:xe}));const me=()=>{if(!sn)return Fe.ZP.info("\u8BF7\u60A8\u8F93\u5165\u9898\u5E72"),!1;const Ae=ke.findIndex(Qe=>!Qe);if(Ae>-1)return Fe.ZP.info(`\u8BF7\u5148\u8F93\u5165 ${nn[Ae]} \u9009\u9879\u7684\u5185\u5BB9`),!1;if(!ft.length)return Fe.ZP.info("\u8BF7\u8BBE\u7F6E\u672C\u9898\u7684\u6B63\u786E\u7B54\u6848\uFF0C\u70B9\u51FB\u9009\u9879A/B...\u5373\u53EF\u5B8C\u6210\u8BBE\u7F6E"),!1;if(ft.length<2)return Fe.ZP.info("\u591A\u9009\u9898\u6700\u5C0F\u6B63\u786E\u9009\u9879\u4E3A2\u4E2A"),!1;const He=ke.map((Qe,ut)=>({choice_text:Qe,is_answer:ft.includes(ut)?1:0}));return{name:sn,choices:He,analysis:on}},xe=()=>{je(["","","",""]),xn(""),ce(""),At("")};return x.createElement("section",{className:Ne.wrap},x.createElement("p",{className:Ne.titleWrap},x.createElement("span",{className:Ne.required},"*"),x.createElement("span",{className:Ne.title},"\u9898\u5E72\uFF1A")),x.createElement(un.Z,{id:"single-question-title",watch:!0,height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9898\u5E72",defaultValue:sn,onChange:Ae=>xn(Ae)}),x.createElement("p",{className:Ne.titleWrap},x.createElement("span",{className:Ne.required},"*"),x.createElement("span",{className:Ne.title},"\u7B54\u6848\u9009\u9879\uFF1A",x.createElement("span",{className:Ne.colorGray},"\u70B9\u51FB\u9009\u9879\u53EF\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848"))),ke.map((Ae,He)=>x.createElement("div",{className:Ne.choiceWrap,key:He},x.createElement(ze.Z,{title:"\u70B9\u51FB\u8BBE\u7F6E\u4E3A\u6807\u51C6\u7B54\u6848",placement:"left"},x.createElement("div",{className:`${Ne.answer} ${ft.includes(He)?Ne.activeAnswer:""}`,onClick:()=>{ft.includes(He)?At(ft.filter(Qe=>Qe!==He)):At([...ft,He])}},nn[He])),x.createElement("div",{className:Ne.editorWrap},tt===He?x.createElement(un.Z,{id:`single-question-option-${He}`,watch:!0,height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9009\u9879",defaultValue:Ae,onChange:Qe=>{ke[He]=Qe,je(ke)}}):x.createElement("div",{className:Ne.htmlWrap,onClick:()=>yt(He)},x.createElement(de.Z,{value:Ae}))),He>1&&x.createElement(ze.Z,{title:"\u5220\u9664"},x.createElement("i",{className:`${Ne.deleteIcon} iconfont icon-htmal5icon19`,onClick:()=>{je(ke.filter((Qe,ut)=>ut!==He)),ft.includes(He)?At(ft.filter(Qe=>Qe!==He)):At([...ft,He])}})),He<7&&He===ke.length-1&&x.createElement(ze.Z,{title:"\u65B0\u589E\u53C2\u8003\u7B54\u6848"},x.createElement("i",{className:`${Ne.addIcon} iconfont icon-roundaddfill ml6`,onClick:()=>je([...ke,""])})))),x.createElement("p",{className:Ne.titleWrap},x.createElement("span",{className:Ne.title},"\u9898\u76EE\u89E3\u6790\uFF1A")),x.createElement(un.Z,{id:"single-question-answer",watch:!0,height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9898\u76EE\u89E3\u6790",defaultValue:on,onChange:Ae=>ce(Ae)}))};var Ka=(0,fe.connect)(({loading:Ke,globalSetting:Xe})=>({globalSetting:Xe,loading:Ke.effects}),null,null,{forwardRef:!0})((0,x.forwardRef)(Vn)),vr=Object.getOwnPropertySymbols,Or=Object.prototype.hasOwnProperty,Va=Object.prototype.propertyIsEnumerable,Fn=(Ke,Xe)=>{var nt={};for(var Lt in Ke)Or.call(Ke,Lt)&&Xe.indexOf(Lt)<0&&(nt[Lt]=Ke[Lt]);if(Ke!=null&&vr)for(var Lt of vr(Ke))Xe.indexOf(Lt)<0&&Va.call(Ke,Lt)&&(nt[Lt]=Ke[Lt]);return nt};const Sa=["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"],en=(Ke,Xe)=>{var nt=Ke,{editData:Lt,globalSetting:gr,loading:_a,dispatch:Zr,onRef:Qa=()=>{},isEdit:rr}=nt,Se=Fn(nt,["editData","globalSetting","loading","dispatch","onRef","isEdit"]);const[ke,je]=(0,x.useState)([]),[tt,yt]=(0,x.useState)(),[ft,At]=(0,x.useState)(),[sn,xn]=(0,x.useState)(""),[on,ce]=(0,x.useState)("");(0,x.useEffect)(()=>{je(["","","",""])},[]),(0,x.useEffect)(()=>{if(!Lt||!rr)return;const Ae=[],He=[];Lt==null||Lt.choices.forEach((Qe,ut)=>{Ae.push(Qe.choice_text),Qe.is_answer&&He.push(ut)}),xn(Lt==null?void 0:Lt.name),ce(Lt==null?void 0:Lt.analysis),je(Ae),At(He)},[Lt]),(0,x.useImperativeHandle)(Xe,()=>({onSave:me,Clear:xe}));const me=()=>{if(!sn)return Fe.ZP.info("\u8BF7\u60A8\u8F93\u5165\u9898\u5E72"),!1;const Ae=ke.findIndex(Qe=>!Qe);if(Ae>-1)return Fe.ZP.info(`\u8BF7\u5148\u8F93\u5165 ${Sa[Ae]} \u9009\u9879\u7684\u5185\u5BB9`),!1;if(!Array.isArray(ft))return Fe.ZP.info("\u8BF7\u8BBE\u7F6E\u672C\u9898\u7684\u6B63\u786E\u7B54\u6848\uFF0C\u70B9\u51FB\u9009\u9879A/B...\u5373\u53EF\u5B8C\u6210\u8BBE\u7F6E"),!1;const He=ke.map((Qe,ut)=>({choice_text:Qe,is_answer:ft.includes(ut)?1:0}));return{name:sn,choices:He,analysis:on}},xe=()=>{je(["","","",""]),xn(""),ce(""),At("")};return x.createElement("section",{className:Ne.wrap},x.createElement("p",{className:Ne.titleWrap},x.createElement("span",{className:Ne.required},"*"),x.createElement("span",{className:Ne.title},"\u9898\u5E72\uFF1A")),x.createElement(un.Z,{id:"single-question-title",watch:!0,height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9898\u5E72",defaultValue:sn,onChange:Ae=>xn(Ae)}),x.createElement("p",{className:Ne.titleWrap},x.createElement("span",{className:Ne.required},"*"),x.createElement("span",{className:Ne.title},"\u7B54\u6848\u9009\u9879\uFF1A",x.createElement("span",{className:Ne.colorGray},"\u70B9\u51FB\u9009\u9879\u53EF\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848"))),ke.map((Ae,He)=>x.createElement("div",{className:Ne.choiceWrap,key:He},x.createElement(ze.Z,{title:"\u70B9\u51FB\u8BBE\u7F6E\u4E3A\u6807\u51C6\u7B54\u6848",placement:"left"},x.createElement("div",{className:`${Ne.answer} ${ft!=null&&ft.includes(He)?Ne.activeAnswer:""}`,onClick:()=>At([He])},Sa[He])),x.createElement("div",{className:Ne.editorWrap},tt===He?x.createElement(un.Z,{id:`single-question-option-${He}`,watch:!0,height:155,isFocus:!0,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9009\u9879",defaultValue:Ae,onChange:Qe=>{ke[He]=Qe,je(ke)}}):x.createElement("div",{className:Ne.htmlWrap,onClick:()=>yt(He)},x.createElement(de.Z,{value:Ae}))),He>1&&x.createElement(ze.Z,{title:"\u5220\u9664"},x.createElement("i",{className:`${Ne.deleteIcon} iconfont icon-htmal5icon19`,onClick:()=>{je(ke.filter((Qe,ut)=>ut!==He)),He===ft&&At(null)}})),He<7&&He===ke.length-1&&x.createElement(ze.Z,{title:"\u65B0\u589E\u53C2\u8003\u7B54\u6848"},x.createElement("i",{className:`${Ne.addIcon} iconfont icon-roundaddfill ml6`,onClick:()=>je([...ke,""])})))),x.createElement("p",{className:Ne.titleWrap},x.createElement("span",{className:Ne.title},"\u9898\u76EE\u89E3\u6790\uFF1A")),x.createElement(un.Z,{id:"single-question-answer",watch:!0,height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9898\u76EE\u89E3\u6790",defaultValue:on,onChange:Ae=>ce(Ae)}))};var Cn=(0,fe.connect)(({loading:Ke,globalSetting:Xe})=>({globalSetting:Xe,loading:Ke.effects}),null,null,{forwardRef:!0})((0,x.forwardRef)(en)),Ln=te(66309),Mn=te(47897),ur=te(17663),Ba=te(67294),Nn=Object.defineProperty,gt=Object.defineProperties,St=Object.getOwnPropertyDescriptors,mt=Object.getOwnPropertySymbols,kt=Object.prototype.hasOwnProperty,ln=Object.prototype.propertyIsEnumerable,zn=(Ke,Xe,nt)=>Xe in Ke?Nn(Ke,Xe,{enumerable:!0,configurable:!0,writable:!0,value:nt}):Ke[Xe]=nt,ya=(Ke,Xe)=>{for(var nt in Xe||(Xe={}))kt.call(Xe,nt)&&zn(Ke,nt,Xe[nt]);if(mt)for(var nt of mt(Xe))ln.call(Xe,nt)&&zn(Ke,nt,Xe[nt]);return Ke},oa=(Ke,Xe)=>gt(Ke,St(Xe)),Da=(Ke,Xe)=>{var nt={};for(var Lt in Ke)kt.call(Ke,Lt)&&Xe.indexOf(Lt)<0&&(nt[Lt]=Ke[Lt]);if(Ke!=null&&mt)for(var Lt of mt(Ke))Xe.indexOf(Lt)<0&&ln.call(Ke,Lt)&&(nt[Lt]=Ke[Lt]);return nt},Za=(Ke,Xe,nt)=>new Promise((Lt,gr)=>{var _a=rr=>{try{Qa(nt.next(rr))}catch(Se){gr(Se)}},Zr=rr=>{try{Qa(nt.throw(rr))}catch(Se){gr(Se)}},Qa=rr=>rr.done?Lt(rr.value):Promise.resolve(rr.value).then(_a,Zr);Qa((nt=nt.apply(Ke,Xe)).next())});const Yr=Ke=>{if(!Ke)return!1;if(/^s*$/.test(Ke)||Ke.trim()===""){Fe.ZP.warning("\u5173\u952E\u8BCD\u4E0D\u80FD\u5168\u4E3A\u7A7A\u683C");return}let Xe=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 Ke==="|"?(Fe.ZP.warning("\u5173\u952E\u8BCD\u4E0D\u80FD\u53EA\u8F93\u5165\u4E00\u4E2A\u201C|\u201D\u5B57\u7B26\uFF01"),!1):!0},jn=({value:Ke=[],onClose:Xe})=>Ba.createElement(Ln.default,{closable:!0,onClose:Xe,className:Ne.keywordTag},Ba.createElement("pre",{style:{margin:"0px",whiteSpace:"pre-wrap"}},Ke.join(" \u6216 "))),Ir=(Ke,Xe)=>{var nt=Ke,{editData:Lt,globalSetting:gr,loading:_a,dispatch:Zr,onRef:Qa=()=>{},isEdit:rr}=nt,Se=Da(nt,["editData","globalSetting","loading","dispatch","onRef","isEdit"]);const[ke,je]=(0,x.useState)(""),[tt,yt]=(0,x.useState)(""),[ft,At]=(0,x.useState)(""),[sn,xn]=(0,x.useState)(""),[on]=Ce.default.useForm(),ce=Ce.default.useWatch("use_keywords",on);(0,x.useEffect)(()=>{var He;!Lt||!rr||(je(Lt==null?void 0:Lt.name),yt(Lt==null?void 0:Lt.analysis),At((He=Lt==null?void 0:Lt.answer_texts)==null?void 0:He[0]),on.setFieldsValue(ya({},Lt)))},[Lt]),(0,x.useImperativeHandle)(Xe,()=>({onSave:me,Clear:xe}));const me=()=>Za(void 0,null,function*(){if(!ke)return Fe.ZP.info("\u8BF7\u60A8\u8F93\u5165\u9898\u5E72"),!1;try{yield on.validateFields()}catch(Qe){Fe.ZP.error(Qe.errorFields[0].errors[0]);return}const He=on.getFieldsValue();return console.log(He,"values"),ya({name:ke,answer_texts:[ft],analysis:tt},He)}),xe=()=>{je(""),yt(""),At(""),on.resetFields()},Ae=Lt==null?void 0:Lt.score;return Ba.createElement("section",{className:Ne.wrap},Ba.createElement("p",{className:Ne.titleWrap},Ba.createElement("span",{className:Ne.required},"*"),Ba.createElement("span",{className:Ne.title},"\u9898\u5E72\uFF1A")),Ba.createElement(un.Z,{id:"single-question-title",watch:!0,height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9898\u5E72",defaultValue:ke,onChange:He=>je(He)}),Ba.createElement("p",{className:Ne.titleWrap},Ba.createElement("span",{className:Ne.title},"\u53C2\u8003\u7B54\u6848\uFF1A")),Ba.createElement(un.Z,{id:"single-question-reference-answer",watch:!0,height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u53C2\u8003\u7B54\u6848",defaultValue:ft,onChange:He=>At(He)}),Ba.createElement("p",{className:Ne.titleWrap},Ba.createElement("span",{className:Ne.title},"\u9898\u76EE\u89E3\u6790\uFF1A")),Ba.createElement(un.Z,{id:"single-question-answer",watch:!0,height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9898\u76EE\u89E3\u6790",defaultValue:tt,onChange:He=>yt(He)}),Ba.createElement(Ce.default,{form:on,size:"large",onFinishFailed:He=>Za(void 0,null,function*(){var Qe,ut;Fe.ZP.error(He.errorFields[0].errors[0]),on.scrollToField((ut=(Qe=He==null?void 0:He.errorFields)==null?void 0:Qe[0])==null?void 0:ut.name,{behavior:"smooth",block:"center"})})},Ba.createElement(Ie.Z,{align:"middle",className:"mb30 mt20"},Ba.createElement(Ce.default.Item,{noStyle:!0,name:"use_keywords",valuePropName:"checked"},Ba.createElement(Mn.Z,null)),Ba.createElement(ve.Z,{className:"ml10"},"\u5F00\u542F\u5173\u952E\u8BCD\u81EA\u52A8\u5224\u5206"),Ba.createElement(ve.Z,null,Ba.createElement(ze.Z,{placement:"right",title:"\u9009\u4E2D\u540E\uFF0C\u9700\u8981\u8BBE\u7F6E\u6BCF\u4E2A\u5173\u952E\u8BCD\u7684\u5206\u503C\uFF0C\u7CFB\u7EDF\u4F1A\u6839\u636E\u8BBE\u7F6E\u7684\u5173\u952E\u8BCD\u8FDB\u884C\u81EA\u52A8\u5224\u5206\uFF1B \u6240\u6709\u5173\u952E\u8BCD\u5206\u503C\u4E4B\u548C\u5FC5\u987B\u5C0F\u4E8E\u7B49\u4E8E\u5C0F\u9898\u5206\u503C\u3002"},Ba.createElement(ur.Z,{style:{color:"#3061D0",marginLeft:6,cursor:"pointer"}})))),ce&&Ba.createElement(Ce.default.List,{name:"keywords",rules:[{validator(He,Qe){return Qe!=null&&Qe.length?(Qe==null?void 0:Qe.reduce((Dt,Mt)=>Dt+Mt.score,0))>parseFloat(Ae)?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"))}}]},(He,{add:Qe,remove:ut})=>Ba.createElement(Ba.Fragment,null,Ba.createElement("div",{className:"mb10"},"\u5173\u952E\u8BCD"),Ba.createElement(Ie.Z,{align:"middle",className:"font14 mb30"},Ba.createElement(ve.Z,{flex:1},Ba.createElement(he.default,{value:sn,onChange:Dt=>{xn(Dt.target.value)},maxLength:50,allowClear:!0,onPressEnter:Dt=>{var Mt,Zt,bt,fn;const Rn=`${(Mt=Dt.target)==null?void 0:Mt.value}`,jt=(bt=(Zt=Rn==null?void 0:Rn.split("|"))==null?void 0:Zt.filter(Sn=>!!Sn))==null?void 0:bt.map(Sn=>Sn==null?void 0:Sn.trim()),mn=on.getFieldValue("keywords"),In=((fn=mn==null?void 0:mn.map(Sn=>Sn==null?void 0:Sn.keyword))==null?void 0:fn.flat())||[];for(const Sn of jt)if(In.includes(Sn)){Fe.ZP.error("\u4E3A\u907F\u514D\u5224\u5206\u9519\u8BEF\uFF0C\u8BF7\u52FF\u8BBE\u7F6E\u76F8\u540C\u7684\u5173\u952E\u8BCD");return}Yr(Rn)&&(Qe({keyword:jt,score:1}),xn(""))},className:Ne.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"})),Ba.createElement(ve.Z,{flex:"148px",style:{textAlign:"right",color:"#e99237"}},"\u201C\u56DE\u8F66\u952E\u201D\u4FDD\u5B58\u5173\u952E\u8BCD")),He.map(Dt=>{var Mt=Dt,{key:Zt,name:bt}=Mt,fn=Da(Mt,["key","name"]);return Ba.createElement(Ie.Z,{key:Zt,style:{marginRight:148}},Ba.createElement(ve.Z,{flex:1},Ba.createElement(Ie.Z,{align:"middle",justify:"space-between"},Ba.createElement(Ce.default.Item,oa(ya({},fn),{name:[bt,"keyword"]}),Ba.createElement(jn,{onClose:()=>ut(bt)})),Ba.createElement(Ce.default.Item,oa(ya({},fn),{name:[bt,"score"],label:"\u5206\u503C",rules:[{required:!0}]}),Ba.createElement(oe.Z,{min:.1,max:100,precision:1,style:{width:"100%"},placeholder:"\u8BF7\u8F93\u5165\u5173\u952E\u8BCD\u5206\u6570"})))))})))))};var Mo=(0,fe.connect)(({loading:Ke,globalSetting:Xe})=>({globalSetting:Xe,loading:Ke.effects}),null,null,{forwardRef:!0})((0,x.forwardRef)(Ir)),Jo=te(47221),Ja={wrap:"wrap___Cc0gS",deleteIcon:"deleteIcon___ebwMv",keywordTag:"keywordTag___lUfL5",questionTitleEditorWrap:"questionTitleEditorWrap___u9UgK",choiceWrap:"choiceWrap___VHsr3",choiceIndex:"choiceIndex___rsj9r",judgementIndex:"judgementIndex___fMm6E",setAnswerBtn:"setAnswerBtn___krVC9",activeAnswer:"activeAnswer___WiYo2",activeJudgementAnswer:"activeJudgementAnswer___M6iww",actionWrapper:"actionWrapper___oKI8_",addIcon:"addIcon___eMbGP",inputBorder:"inputBorder___ob_6x",placeholder:"placeholder___Vkwr4",blankWrapper:"blankWrapper____MZQ5",blankInput:"blankInput___ephwY",blankInputNumberWrapper:"blankInputNumberWrapper___C1UJS",addBtn:"addBtn___qRBpJ",blankIndex:"blankIndex___QsKgf",baseInputWrapper:"baseInputWrapper___juqCB",collapseWrapper:"collapseWrapper___kAXJ0",panelHeader:"panelHeader___hLTSe",open:"open___wWDjf",close:"close___XPTJ0",hide:"hide___VytUy"},mo=te(40043),Ai=te(24018),qr=Object.defineProperty,ki=Object.defineProperties,yi=Object.getOwnPropertyDescriptors,di=Object.getOwnPropertySymbols,Wo=Object.prototype.hasOwnProperty,Zi=Object.prototype.propertyIsEnumerable,Ci=(Ke,Xe,nt)=>Xe in Ke?qr(Ke,Xe,{enumerable:!0,configurable:!0,writable:!0,value:nt}):Ke[Xe]=nt,Pl=(Ke,Xe)=>{for(var nt in Xe||(Xe={}))Wo.call(Xe,nt)&&Ci(Ke,nt,Xe[nt]);if(di)for(var nt of di(Xe))Zi.call(Xe,nt)&&Ci(Ke,nt,Xe[nt]);return Ke},Qn=(Ke,Xe)=>ki(Ke,yi(Xe)),bl=(Ke,Xe)=>{var nt={};for(var Lt in Ke)Wo.call(Ke,Lt)&&Xe.indexOf(Lt)<0&&(nt[Lt]=Ke[Lt]);if(Ke!=null&&di)for(var Lt of di(Ke))Xe.indexOf(Lt)<0&&Zi.call(Ke,Lt)&&(nt[Lt]=Ke[Lt]);return nt};const Li=Ke=>{var Xe=Ke,{value:nt,onChange:Lt,scrollId:gr}=Xe,_a=bl(Xe,["value","onChange","scrollId"]);return x.createElement("div",{id:gr||""},x.createElement(un.Z,Qn(Pl({},_a),{defaultValue:nt,onChange:(Zr,Qa)=>{Qa!=null&&Qa.length?Lt(Zr,Qa):Lt(Zr)}})))},lo=({value:Ke,onChange:Xe,placeholder:nt,height:Lt=140,isEdit:gr})=>gr?x.createElement(un.Z,{watch:!0,isFocus:!0,height:Lt,placeholder:nt,defaultValue:Ke,onChange:Xe}):x.createElement("div",{style:{cursor:"pointer"}},Ke?x.createElement(de.Z,{className:Ja.inputBorder,value:Ke}):x.createElement("div",{className:`${Ja.inputBorder} ${Ja.placeholder}`},nt));var so=te(67294),pa=Object.defineProperty,ir=Object.defineProperties,$r=Object.getOwnPropertyDescriptors,Xa=Object.getOwnPropertySymbols,Ao=Object.prototype.hasOwnProperty,Ro=Object.prototype.propertyIsEnumerable,qo=(Ke,Xe,nt)=>Xe in Ke?pa(Ke,Xe,{enumerable:!0,configurable:!0,writable:!0,value:nt}):Ke[Xe]=nt,Xo=(Ke,Xe)=>{for(var nt in Xe||(Xe={}))Ao.call(Xe,nt)&&qo(Ke,nt,Xe[nt]);if(Xa)for(var nt of Xa(Xe))Ro.call(Xe,nt)&&qo(Ke,nt,Xe[nt]);return Ke},ni=(Ke,Xe)=>ir(Ke,$r(Xe)),al=(Ke,Xe)=>{var nt={};for(var Lt in Ke)Ao.call(Ke,Lt)&&Xe.indexOf(Lt)<0&&(nt[Lt]=Ke[Lt]);if(Ke!=null&&Xa)for(var Lt of Xa(Ke))Xe.indexOf(Lt)<0&&Ro.call(Ke,Lt)&&(nt[Lt]=Ke[Lt]);return nt};const ci=["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"],xl=({value:Ke,onChange:Xe,choiceTextKey:nt,answerKey:Lt,index:gr,isEdit:_a,setInputActive:Zr,form:Qa,choiceOptionsPath:rr,allowChangeMode:Se,showAddIcon:ke,addItem:je,deleteItem:tt})=>{const yt=(Ke==null?void 0:Ke[Lt])===!0,ft=()=>{const sn=Qa.getFieldValue(rr);Qa.setFieldValue(rr,sn.map(xn=>ni(Xo({},xn),{[Lt]:!1})))},At=()=>{yt?Xe(ni(Xo({},Ke),{[Lt]:!1})):(Se||ft(),Xe(ni(Xo({},Ke),{[Lt]:!0})))};return so.createElement(Ie.Z,{className:Ja.choiceWrap,align:"middle",wrap:!1},so.createElement(ve.Z,{onClick:At,className:`${Ja.choiceIndex} ${yt?Ja.activeAnswer:""}`},ci[gr]),so.createElement(ve.Z,{flex:1,className:`${Ja.editorWrap} ml15`,onClick:Zr},so.createElement(lo,{height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9009\u9879",isEdit:_a,value:Ke==null?void 0:Ke[nt],onChange:sn=>{Xe(ni(Xo({},Ke),{[nt]:sn}))}})),so.createElement(ve.Z,{flex:"0 0 auto",className:"ml15"},so.createElement("div",{onClick:At,className:`${Ja.setAnswerBtn} ${yt?Ja.activeAnswer:""}`},yt?"\u6B63\u786E\u7B54\u6848":"\u8BBE\u4E3A\u7B54\u6848")),so.createElement(ve.Z,{className:Ja.actionWrapper},so.createElement(ze.Z,{title:"\u65B0\u589E\u53C2\u8003\u7B54\u6848"},so.createElement(mo.Z,{className:Ja.addIcon,onClick:je,style:{visibility:ke?"visible":"hidden"}})),so.createElement(ze.Z,{title:"\u5220\u9664"},so.createElement(Ai.Z,{className:Ja.deleteIcon,onClick:tt,style:{visibility:gr>1?"visible":"hidden"}}))))},jl=({questionTitlePlaceholder:Ke,titleKey:Xe,choiceKey:nt,analysisKey:Lt,choiceTextKey:gr,answerKey:_a,choiceOptionsPath:Zr,allowChangeMode:Qa=!0,form:rr,showAnalysis:Se=!0})=>{const[ke,je]=(0,x.useState)(),[tt,yt]=(0,x.useState)(!1);return so.createElement("div",{className:Ja.wrap},so.createElement("div",{className:Ja.questionTitleEditorWrap},so.createElement(Ce.default.Item,{label:"\u9898\u5E72",name:Xe,labelCol:{span:24},rules:[{required:!0}]},so.createElement(Li,{scrollId:Array.isArray(Xe)?Xe.join("_"):`${Xe}`,watch:!0,height:140,placeholder:Ke}))),so.createElement(Ce.default.Item,{label:"\u7B54\u6848\u9009\u9879",required:!0,labelCol:{span:24}}),so.createElement(Ce.default.List,{name:nt,rules:[{validator(ft,At){const sn=At.some(on=>on[_a]),xn=At.findIndex(on=>{var ce;return((ce=on[gr])==null?void 0:ce.length)<=0});return xn!==-1?Promise.reject(new Error(`\u8BF7\u5148\u8F93\u5165${ci[xn]}\u9009\u9879\u7684\u5185\u5BB9`)):sn?Promise.resolve():Promise.reject(new Error("\u8BF7\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848"))}}]},(ft,{add:At,remove:sn})=>so.createElement("div",{id:Array.isArray(Zr)?Zr.join("_"):`${Zr}`},ft.map((xn,on)=>{var ce=xn,{key:me,name:xe}=ce,Ae=al(ce,["key","name"]);const He=ke===me,Qe=()=>{je(me)},ut=on<7&&on===ft.length-1,Dt=()=>At({[gr]:"",[_a]:0}),Mt=()=>sn(xe);return so.createElement(Ce.default.Item,ni(Xo({},Ae),{key:me,name:xe,noStyle:!0}),so.createElement(xl,{choiceTextKey:gr,answerKey:_a,index:on,isEdit:He,setInputActive:Qe,form:rr,choiceOptionsPath:Zr,allowChangeMode:Qa,showAddIcon:ut,addItem:Dt,deleteItem:Mt}))}),ft.length<8&&so.createElement("div",{className:`${Ja.addBtn} mb30`,onClick:()=>At({[gr]:"",[_a]:0})},"\u6DFB\u52A0\u9009\u9879"))),Se&&so.createElement("div",{onClick:()=>yt(!0)},so.createElement(Ce.default.Item,{name:Lt,label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},so.createElement(lo,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:tt}))))};var Kr=te(67294),cl=Object.defineProperty,gl=Object.defineProperties,ml=Object.getOwnPropertyDescriptors,rl=Object.getOwnPropertySymbols,ji=Object.prototype.hasOwnProperty,ol=Object.prototype.propertyIsEnumerable,Wi=(Ke,Xe,nt)=>Xe in Ke?cl(Ke,Xe,{enumerable:!0,configurable:!0,writable:!0,value:nt}):Ke[Xe]=nt,Ui=(Ke,Xe)=>{for(var nt in Xe||(Xe={}))ji.call(Xe,nt)&&Wi(Ke,nt,Xe[nt]);if(rl)for(var nt of rl(Xe))ol.call(Xe,nt)&&Wi(Ke,nt,Xe[nt]);return Ke},It=(Ke,Xe)=>gl(Ke,ml(Xe)),Gt=(Ke,Xe)=>{var nt={};for(var Lt in Ke)ji.call(Ke,Lt)&&Xe.indexOf(Lt)<0&&(nt[Lt]=Ke[Lt]);if(Ke!=null&&rl)for(var Lt of rl(Ke))Xe.indexOf(Lt)<0&&ol.call(Ke,Lt)&&(nt[Lt]=Ke[Lt]);return nt};const vn=({value:Ke,onChange:Xe})=>{const nt=gr=>{Te.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:Ja.modal,onOk:()=>{const _a=[...Ke];_a.splice(gr,1),Xe(_a)}})},Lt=()=>{const gr=[...Ke];gr.push(""),Xe(gr)};return Kr.createElement(Ie.Z,{align:"middle",className:"ml20",gutter:[40,20]},Ke==null?void 0:Ke.map((gr,_a)=>Kr.createElement(ve.Z,{key:`${gr}_${_a}`,className:Ja.blankWrapper},Kr.createElement(he.default,{className:Ja.blankInput,defaultValue:gr,maxLength:1e3,onBlur:Zr=>{const Qa=[...Ke],rr=Zr.target.value.trim();Qa[_a]=rr,Xe(Qa)}}),Kr.createElement(ze.Z,{title:"\u5220\u9664"},Kr.createElement(Ai.Z,{className:Ja.deleteIcon,style:{marginLeft:15,visibility:_a>0?"visible":"hidden"},onClick:()=>nt(_a)})))),Kr.createElement(ve.Z,null,Kr.createElement("div",{className:`${Ja.addBtn}`,onClick:()=>{Lt()}},"\u65B0\u589E\u7B54\u6848")))},Ue=({value:Ke=!0,onChange:Xe})=>Kr.createElement(Mn.Z,{checked:!Ke,onChange:nt=>{Xe(!nt)}}),qt="\u2581",$n=({questionTitlePlaceholder:Ke,form:Xe,name:nt,scoreByBlank:Lt="use_blank_score",answerKey:gr,titleKey:_a="name",analysisKey:Zr="analysis",isOrdered:Qa="is_ordered"})=>{var rr,Se;const[ke,je]=(0,x.useState)(!1),tt=(me,xe)=>{const Ae=xe.line;let He=0;for(let ut=0;ut<Ae;ut++)He+=me.getLine(ut).split(qt).length-1;const Qe=me.getLine(Ae).substring(0,xe.ch);return He+=Qe.split(qt).length-1,He},yt=(me,xe,Ae,He)=>{const Qe=me.getRange(xe.from,xe.to);let ut=0;if(xe.text.forEach(Dt=>{ut+=Dt.split(qt).length-1}),xe.origin!=="setValue"){if(Qe&&Qe.indexOf(qt)!==-1){const Dt=Qe.split(qt).length-1,Mt=tt(me,xe.from);if(console.log(`\u5220\u9664${Dt}\u4E2A\uFF0C \u524D\u9762\u6709${Mt}\u4E2A\uFF0C\u65B0\u589E${ut}\u4E2A`),Dt>1){const Zt=Array.from({length:Dt},(bt,fn)=>Mt+fn);He(Zt)}else He(Mt)}else if(ut>0){const Dt=tt(me,xe.from);console.log(`\u65B0\u589E${ut}\u4E2A\uFF0C\u4E4B\u524D\u6709${Dt}\u4E2A`),Ae(ut,Dt)}}},ft=()=>{const me=Xe.getFieldValue(["sub_item_banks",...gr]);Xe.setFieldValue(["sub_item_banks",...gr],me==null?void 0:me.map((xe,Ae)=>It(Ui({},xe),{position:Ae+1})))},At=(0,x.useRef)(),sn=(me,xe)=>{for(let Ae=0;Ae<me;Ae++)At.current({position:null,answer_text:[""]},xe+Ae);ft()},xn=(0,x.useRef)(),on=me=>{xn.current(me),ft()},ce=(Se=(rr=Xe.getFieldValue("sub_item_banks"))==null?void 0:rr[gr==null?void 0:gr[0]])==null?void 0:Se[gr==null?void 0:gr[1]];return Kr.createElement("div",{className:Ja.wrap},Kr.createElement("div",{className:Ja.questionTitleEditorWrap},Kr.createElement(Ce.default.Item,{label:"\u9898\u5E72",name:_a,labelCol:{span:24},rules:[{required:!0}]},Kr.createElement(Li,{scrollId:"name",watch:!0,height:140,placeholder:Ke,showNullButton:!0,onCMBeforeChange:(me,xe)=>{yt(me,xe,sn,on)}}))),Kr.createElement(Ce.default.List,{name:gr,rules:[{validator(me,xe){if((xe==null?void 0:xe.length)===0)return Promise.reject(new Error("\u7B54\u6848\u4E0D\u80FD\u4E3A\u7A7A"));for(const Ae of xe){const{answer_text:He}=Ae||{};if(He!=null&&He.some(Qe=>(Qe==null?void 0:Qe.length)===0))return Promise.reject(new Error("\u586B\u7A7A\u9879\u7B54\u6848\u4E0D\u80FD\u4E3A\u7A7A"))}return Promise.resolve()}}]},(me,{add:xe,remove:Ae},{errors:He})=>(At.current=xe,xn.current=Ae,Kr.createElement(Kr.Fragment,null,Kr.createElement(Ce.default.Item,{label:"\u7B54\u6848\u9009\u9879",required:!0,labelCol:{span:24}}),me.map((Qe,ut)=>{var Dt=Qe,{key:Mt,name:Zt}=Dt,bt=Gt(Dt,["key","name"]);return Kr.createElement(Ie.Z,{className:"mb20",key:Mt,align:"middle",wrap:!1},Kr.createElement(ve.Z,{flex:"0 0 auto",className:`${Ja.blankIndex}`},"\u586B\u7A7A\u9879",ut+1),Kr.createElement(ve.Z,{flex:1},Kr.createElement(Ie.Z,{align:"top",justify:"space-between",wrap:!1},Kr.createElement(ve.Z,null,Kr.createElement(Ce.default.Item,It(Ui({},bt),{name:[Zt,"answer_text"],noStyle:!0}),Kr.createElement(vn,null))),(Xe==null?void 0:Xe.getFieldValue(["sub_item_banks",...Lt]))&&Kr.createElement(ve.Z,{flex:"224px"},Kr.createElement(Ce.default.Item,It(Ui({},bt),{name:[Zt,"score"],label:"\u5206\u503C",rules:[{required:!0}],className:Ja.blankInputNumberWrapper}),Kr.createElement(oe.Z,{className:Ja.blankInput,min:.1,max:100,style:{width:"100%"},placeholder:"\u6309\u7A7A\u7ED9\u5206\u8BF7\u8F93\u5165\u5206\u503C"})))),Kr.createElement(Ce.default.Item,It(Ui({},bt),{name:[Zt,"position"],noStyle:!0}),Kr.createElement(he.default,{type:"hidden"}))))})))),Kr.createElement(Ie.Z,{align:"middle"},Kr.createElement(Ce.default.Item,{name:[nt,"downcase"],valuePropName:"checked"},Kr.createElement(Mn.Z,null)),Kr.createElement(ve.Z,{className:"ml10"},"\u5224\u5206\u65F6\u5FFD\u7565\u7B54\u6848\u4E2D\u7684\u5B57\u6BCD\u5927\u5C0F\u5199")),Kr.createElement(Ie.Z,{align:"middle"},Kr.createElement(Ce.default.Item,{name:[nt,"no_space"],valuePropName:"checked"},Kr.createElement(Mn.Z,null)),Kr.createElement(ve.Z,{className:"ml10"},"\u5224\u5206\u65F6\u5FFD\u7565\u7B54\u6848\u4E2D\u7684\u7A7A\u683C")),(ce==null?void 0:ce.length)>1&&Kr.createElement(Ie.Z,{align:"middle",className:(ce==null?void 0:ce.length)>1?"mb30":`${Ja.hide}`},Kr.createElement(Ce.default.Item,{name:Qa},Kr.createElement(Ue,null)),Kr.createElement(ve.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")),Kr.createElement("div",{onClick:()=>je(!0)},Kr.createElement(Ce.default.Item,{name:Zr,label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},Kr.createElement(lo,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:ke}))))};var Jn=Object.defineProperty,Kt=Object.defineProperties,dn=Object.getOwnPropertyDescriptors,Vt=Object.getOwnPropertySymbols,ta=Object.prototype.hasOwnProperty,ba=Object.prototype.propertyIsEnumerable,za=(Ke,Xe,nt)=>Xe in Ke?Jn(Ke,Xe,{enumerable:!0,configurable:!0,writable:!0,value:nt}):Ke[Xe]=nt,Ma=(Ke,Xe)=>{for(var nt in Xe||(Xe={}))ta.call(Xe,nt)&&za(Ke,nt,Xe[nt]);if(Vt)for(var nt of Vt(Xe))ba.call(Xe,nt)&&za(Ke,nt,Xe[nt]);return Ke},Ya=(Ke,Xe)=>Kt(Ke,dn(Xe)),pr=(Ke,Xe)=>{var nt={};for(var Lt in Ke)ta.call(Ke,Lt)&&Xe.indexOf(Lt)<0&&(nt[Lt]=Ke[Lt]);if(Ke!=null&&Vt)for(var Lt of Vt(Ke))Xe.indexOf(Lt)<0&&ba.call(Ke,Lt)&&(nt[Lt]=Ke[Lt]);return nt};const _n={\u6B63\u786E:"T",\u9519\u8BEF:"F"},zt=({value:Ke,onChange:Xe,form:nt,choiceKey:Lt})=>{const gr=(Ke==null?void 0:Ke.is_answer)===!0,_a=Ke==null?void 0:Ke.choice_text,Zr=()=>{var Qa;const rr=(Qa=nt==null?void 0:nt.getFieldValue(["sub_item_banks",...Lt]))==null?void 0:Qa.map(Se=>({choice_text:Se==null?void 0:Se.choice_text,is_answer:!1}));nt==null||nt.setFieldValue(["sub_item_banks",...Lt],rr),Xe(Ya(Ma({},Ke),{is_answer:!0}))};return x.createElement(Ie.Z,{className:Ja.choiceWrap,align:"middle",wrap:!1},x.createElement(ve.Z,{onClick:Zr,className:`${Ja.choiceIndex} ${Ja.judgementIndex} ${gr?Ja.activeAnswer:""}`},_n[_a]),x.createElement(ve.Z,{flex:1,className:`${Ja.editorWrap} ml15`},x.createElement("div",{className:`${Ja.inputBorder} ${Ja.placeholder} ${gr?Ja.activeJudgementAnswer:""}`},_a)),x.createElement(ve.Z,{flex:"0 0 auto",className:"ml15"},x.createElement("div",{onClick:Zr,className:`${Ja.setAnswerBtn} ${gr?Ja.activeAnswer:""}`},gr?"\u6B63\u786E\u7B54\u6848":"\u8BBE\u4E3A\u7B54\u6848")))},Bn=({questionTitlePlaceholder:Ke,choiceKey:Xe="choices",form:nt,titleKey:Lt="name",analysisKey:gr="analysis"})=>{const[_a,Zr]=(0,x.useState)(!1);return x.createElement("div",{className:Ja.wrap},x.createElement("div",{className:Ja.questionTitleEditorWrap},x.createElement(Ce.default.Item,{label:"\u9898\u5E72",name:Lt,labelCol:{span:24},rules:[{required:!0}]},x.createElement(Li,{scrollId:"name",watch:!0,height:140,placeholder:Ke}))),x.createElement(Ce.default.Item,{label:"\u7B54\u6848\u9009\u9879",required:!0,labelCol:{span:24}},x.createElement(Ce.default.List,{name:Xe,rules:[{validator(Qa,rr){return rr.some(ke=>(ke==null?void 0:ke.is_answer)===!0)?Promise.resolve():Promise.reject(new Error("\u8BF7\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848"))}}]},Qa=>x.createElement("div",{id:"choices"},Qa.map(rr=>{var Se=rr,{key:ke,name:je}=Se,tt=pr(Se,["key","name"]);return x.createElement(Ce.default.Item,Ya(Ma({},tt),{key:ke,name:je,noStyle:!0}),x.createElement(zt,{form:nt,choiceKey:Xe}))})))),x.createElement("div",{onClick:()=>Zr(!0)},x.createElement(Ce.default.Item,{name:gr,label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},x.createElement(lo,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:_a}))))};var Hn=Object.defineProperty,xa=Object.defineProperties,qa=Object.getOwnPropertyDescriptors,lr=Object.getOwnPropertySymbols,Br=Object.prototype.hasOwnProperty,sr=Object.prototype.propertyIsEnumerable,Lr=(Ke,Xe,nt)=>Xe in Ke?Hn(Ke,Xe,{enumerable:!0,configurable:!0,writable:!0,value:nt}):Ke[Xe]=nt,Gr=(Ke,Xe)=>{for(var nt in Xe||(Xe={}))Br.call(Xe,nt)&&Lr(Ke,nt,Xe[nt]);if(lr)for(var nt of lr(Xe))sr.call(Xe,nt)&&Lr(Ke,nt,Xe[nt]);return Ke},br=(Ke,Xe)=>xa(Ke,qa(Xe)),ao=(Ke,Xe)=>{var nt={};for(var Lt in Ke)Br.call(Ke,Lt)&&Xe.indexOf(Lt)<0&&(nt[Lt]=Ke[Lt]);if(Ke!=null&&lr)for(var Lt of lr(Ke))Xe.indexOf(Lt)<0&&sr.call(Ke,Lt)&&(nt[Lt]=Ke[Lt]);return nt};const oo=Ke=>{var Xe=Ke,{value:nt,onChange:Lt}=Xe,gr=ao(Xe,["value","onChange"]);const _a=Zr=>{Lt([Zr])};return x.createElement(un.Z,br(Gr({},gr),{defaultValue:nt==null?void 0:nt[0],onChange:_a}))},So=Ke=>{if(!Ke)return!1;let Xe=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 Ke==="|"?(Fe.ZP.warning("\u5173\u952E\u8BCD\u4E0D\u80FD\u53EA\u8F93\u5165\u4E00\u4E2A\u201C|\u201D\u5B57\u7B26\uFF01"),!1):!0},eo=({value:Ke=[],onClose:Xe})=>x.createElement(Ln.default,{closable:!0,onClose:Xe,className:Ja.keywordTag},Ke==null?void 0:Ke.join(" \u6216 ")),Po=({questionTitlePlaceholder:Ke,form:Xe,showKeywords:nt,isMustKeyWords:Lt=nt,titleKey:gr="name",analysisKey:_a="analysis",answerTexts:Zr="answer_texts",keywords:Qa="keywords",useKeywords:rr="use_keywords",indexs:Se})=>{const[ke,je]=(0,x.useState)(!1),[tt,yt]=(0,x.useState)(""),ft=Ce.default.useWatch("sub_item_banks",Xe),{use_keywords:At,score:sn}=(ft==null?void 0:ft[Se])||{};return console.log(At,sn,"itemValues"),x.createElement("div",{className:Ja.wrap},x.createElement("div",{className:Ja.questionTitleEditorWrap},x.createElement(Ce.default.Item,{label:"\u9898\u5E72",name:gr,labelCol:{span:24},rules:[{required:!0}]},x.createElement(Li,{scrollId:"name",watch:!0,height:140,placeholder:Ke}))),x.createElement(Ce.default.Item,{label:"\u53C2\u8003\u7B54\u6848",name:Zr,labelCol:{span:24}},x.createElement(oo,{watch:!0,height:140,placeholder:"\u8BF7\u7F16\u8F91\u53C2\u8003\u7B54\u6848\uFF08\u975E\u5FC5\u586B\uFF09"})),nt&&!Lt&&x.createElement(Ce.default.Item,{hidden:!0,name:rr,valuePropName:"checked"},x.createElement(Mn.Z,{defaultChecked:!0})),nt&&Lt&&x.createElement(Ie.Z,{align:"middle",className:"mb30"},x.createElement(Ce.default.Item,{name:rr,valuePropName:"checked"},x.createElement(Mn.Z,null)),x.createElement(ve.Z,{className:"ml10"},"\u5F00\u542F\u5173\u952E\u8BCD\u81EA\u52A8\u5224\u5206"),x.createElement(ve.Z,null,x.createElement(ze.Z,{placement:"right",title:"\u9009\u4E2D\u540E\uFF0C\u9700\u8981\u8BBE\u7F6E\u6BCF\u4E2A\u5173\u952E\u8BCD\u7684\u5206\u503C\uFF0C\u7CFB\u7EDF\u4F1A\u6839\u636E\u8BBE\u7F6E\u7684\u5173\u952E\u8BCD\u8FDB\u884C\u81EA\u52A8\u5224\u5206\uFF1B \u6240\u6709\u5173\u952E\u8BCD\u5206\u503C\u4E4B\u548C\u5FC5\u987B\u5C0F\u4E8E\u7B49\u4E8E\u5C0F\u9898\u5206\u503C\u3002"},x.createElement(ur.Z,{style:{color:"#3061D0",marginLeft:6,cursor:"pointer"}})))),(At||!Lt)&&x.createElement(Ce.default.List,{name:Qa,rules:[{validator(xn,on){return Lt?on!=null&&on.length?(on==null?void 0:on.reduce((me,xe)=>me+xe.score,0))>parseFloat(sn)?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()}}]},(xn,{add:on,remove:ce})=>x.createElement(x.Fragment,null,x.createElement("div",{className:`${Ja.title} mb10`},Lt?"\u5173\u952E\u8BCD":x.createElement("span",{style:{color:"#9096A3"}},"\u5224\u5206\u5173\u952E\u8BCD")),x.createElement(Ie.Z,{align:"middle",className:"font14 mb30"},x.createElement(ve.Z,{flex:1},x.createElement(he.default,{value:tt,onChange:me=>{yt(me.target.value)},maxLength:50,allowClear:!0,onPressEnter:me=>{var xe,Ae,He,Qe;const ut=`${(xe=me.target)==null?void 0:xe.value}`,Dt=(He=(Ae=ut==null?void 0:ut.split("|"))==null?void 0:Ae.filter(bt=>!!bt))==null?void 0:He.map(bt=>bt==null?void 0:bt.trim()),Mt=Xe.getFieldValue(["sub_item_banks",...Qa]),Zt=((Qe=Mt==null?void 0:Mt.map(bt=>bt==null?void 0:bt.keyword))==null?void 0:Qe.flat())||[];for(const bt of Dt)if(Zt.includes(bt)){Fe.ZP.error("\u4E3A\u907F\u514D\u5224\u5206\u9519\u8BEF\uFF0C\u8BF7\u52FF\u8BBE\u7F6E\u76F8\u540C\u7684\u5173\u952E\u8BCD");return}So(ut)&&(on({keyword:Dt,score:1}),yt(""))},className:Ja.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"})),x.createElement(ve.Z,{flex:"148px",style:{textAlign:"right",color:"#e99237"}},"\u201C\u56DE\u8F66\u952E\u201D\u4FDD\u5B58\u5173\u952E\u8BCD")),xn.map(me=>{var xe=me,{key:Ae,name:He}=xe,Qe=ao(xe,["key","name"]);return x.createElement(Ie.Z,{key:Ae,className:"mb20",style:{marginRight:148}},x.createElement(ve.Z,{flex:1},x.createElement(Ie.Z,{align:"middle",justify:"space-between"},x.createElement(Ce.default.Item,br(Gr({},Qe),{name:[He,"keyword"]}),x.createElement(eo,{onClose:()=>ce(He)})),Lt&&x.createElement(Ce.default.Item,br(Gr({},Qe),{name:[He,"score"],label:"\u5206\u503C",rules:[{required:!0}],className:Ja.blankInputNumberWrapper}),x.createElement(oe.Z,{className:Ja.blankInput,min:.1,max:100,precision:1,style:{width:"100%"},placeholder:"\u8BF7\u8F93\u5165\u5173\u952E\u8BCD\u5206\u6570"})))))}))),x.createElement("div",{onClick:()=>je(!0)},x.createElement(Ce.default.Item,{name:_a,label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},x.createElement(lo,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:ke}))))};var Hr=te(67294),ho=Object.defineProperty,jo=Object.defineProperties,Ni=Object.getOwnPropertyDescriptors,hi=Object.getOwnPropertySymbols,Mi=Object.prototype.hasOwnProperty,Yo=Object.prototype.propertyIsEnumerable,Ho=(Ke,Xe,nt)=>Xe in Ke?ho(Ke,Xe,{enumerable:!0,configurable:!0,writable:!0,value:nt}):Ke[Xe]=nt,Ri=(Ke,Xe)=>{for(var nt in Xe||(Xe={}))Mi.call(Xe,nt)&&Ho(Ke,nt,Xe[nt]);if(hi)for(var nt of hi(Xe))Yo.call(Xe,nt)&&Ho(Ke,nt,Xe[nt]);return Ke},Hi=(Ke,Xe)=>jo(Ke,Ni(Xe)),Vi=(Ke,Xe)=>{var nt={};for(var Lt in Ke)Mi.call(Ke,Lt)&&Xe.indexOf(Lt)<0&&(nt[Lt]=Ke[Lt]);if(Ke!=null&&hi)for(var Lt of hi(Ke))Xe.indexOf(Lt)<0&&Yo.call(Ke,Lt)&&(nt[Lt]=Ke[Lt]);return nt},fl=(Ke,Xe,nt)=>new Promise((Lt,gr)=>{var _a=rr=>{try{Qa(nt.next(rr))}catch(Se){gr(Se)}},Zr=rr=>{try{Qa(nt.throw(rr))}catch(Se){gr(Se)}},Qa=rr=>rr.done?Lt(rr.value):Promise.resolve(rr.value).then(_a,Zr);Qa((nt=nt.apply(Ke,Xe)).next())});const{Panel:zi}=Jo.default,Ol=null,Ki=(Ke,Xe)=>{var nt=Ke,{globalSetting:Lt,loading:gr,dispatch:_a,editData:Zr,onRef:Qa=()=>{},isEdit:rr}=nt,Se=Vi(nt,["globalSetting","loading","dispatch","editData","onRef","isEdit"]);const[ke,je]=(0,x.useState)(""),[tt,yt]=(0,x.useState)([]),[ft]=Ce.default.useForm();(0,x.useEffect)(()=>{!Zr||!rr||(je(Zr==null?void 0:Zr.name),yt(Zr==null?void 0:Zr.sub_item_banks),ft.setFieldsValue(Ri({},Zr)))},[Zr]),(0,x.useEffect)(()=>{yt(ft.getFieldValue("sub_item_banks"))},[Ce.default.useWatch("sub_item_banks",ft)]),(0,x.useImperativeHandle)(Xe,()=>({onSave:At,Clear:sn}));const At=()=>fl(void 0,null,function*(){if(!ke)return Fe.ZP.info("\u8BF7\u60A8\u8F93\u5165\u9898\u5E72"),!1;try{yield ft.validateFields()}catch(Ae){return console.log(Ae,"errInfo"),Fe.ZP.error(Ae.errorFields[0].errors[0]),!1}const xe=tt.map(Ae=>Ri({id:Ae.id>1?Ae.id:null},Ae));return{name:ke,sub_item_banks:xe}}),sn=()=>{je(""),yt([])},xn={single:"\u5355\u9009\u9898",multiple:"\u591A\u9009\u9898",judgement:"\u5224\u65AD\u9898",completion:"\u586B\u7A7A\u9898",subjective:"\u7B80\u7B54\u9898",practical:"\u5B9E\u8BAD\u9898",program:"\u7F16\u7A0B\u9898",bprogram:"\u7A0B\u5E8F\u586B\u7A7A\u9898",combination:"\u7EC4\u5408\u9898"},on=({value:xe})=>Hr.createElement("div",{style:{textAlign:"center",color:"#DF3065",margin:"0 5px"}},xe),[ce,me]=(0,x.useState)();return Hr.createElement("section",{className:Ne.wrap},Hr.createElement("p",{className:Ne.titleWrap},Hr.createElement("span",{className:Ne.required},"*"),Hr.createElement("span",{className:Ne.title},"\u9898\u5E72\uFF1A")),Hr.createElement(un.Z,{id:"combination-question-title",watch:!0,height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9898\u5E72",defaultValue:ke,onChange:xe=>je(xe)}),Hr.createElement(Ce.default,{form:ft,autoComplete:"off"},Hr.createElement(Ce.default.List,{name:"sub_item_banks",rules:[{validator(xe,Ae){return Ae?Promise.resolve():Promise.reject(new Error("\u8BF7\u6DFB\u52A0\u5C0F\u9898"))}}]},(xe,{add:Ae,remove:He})=>{const Qe=ft.getFieldValue("sub_item_banks");return Hr.createElement(Hr.Fragment,null,Hr.createElement(Jo.default,{className:xe.length>0?Ne.collapseWrapper:"",bordered:!1,expandIcon:({isActive:ut})=>Hr.createElement("i",{className:`iconfont icon-weizhankai ${ut?Ne.open:Ne.close}`,style:{fontSize:14,transition:"all .2s"}})},xe.map((ut,Dt)=>{var Mt=ut,{key:Zt,name:bt}=Mt,fn=Vi(Mt,["key","name"]),Rn,jt,mn,In,Sn,Kn,ma,wa,ha,Pa,aa,ea;return Hr.createElement(zi,{className:Ne.panel,forceRender:!0,header:Hr.createElement("div",{className:Ne.panelHeader},"\u7B2C",Dt+1,"\u5C0F\u9898",Hr.createElement("span",null,"\uFF08",xn[(Rn=Qe==null?void 0:Qe[bt])==null?void 0:Rn.item_type],"\uFF09")),extra:Hr.createElement(Ie.Z,{align:"middle",onClick:La=>La.stopPropagation(),style:{display:"flex",alignItems:"center"}},((jt=Qe==null?void 0:Qe[bt])==null?void 0:jt.item_type)=="completion"&&Hr.createElement(Ce.default.Item,Hi(Ri({},fn),{name:[bt,"score"],className:Ne.blankInputNumberWrapper,style:{marginBottom:0}}),((mn=Qe==null?void 0:Qe[bt])==null?void 0:mn.item_type)=="completion"&&Hr.createElement("div",{style:{display:"flex",alignItems:"center",color:"#191919"}},"\u5171",Hr.createElement(on,{value:(In=Qe==null?void 0:Qe[bt])==null?void 0:In.score}),"\u5206")),((Sn=Qe==null?void 0:Qe[bt])==null?void 0:Sn.item_type)=="completion"&&Hr.createElement(Hr.Fragment,null,Hr.createElement(Dn.ZP.Group,{defaultValue:(Kn=Qe==null?void 0:Qe[bt])==null?void 0:Kn.use_blank_score,className:Ne.scoreByBlankRadio,style:{marginRight:10},optionType:"button",options:[{label:"\u6309\u7A7A\u7ED9\u5206",value:!0},{label:"\u6309\u9898\u7ED9\u5206",value:!1}],onChange:La=>{var Xn;console.log(ft.getFieldsValue()),ft==null||ft.setFieldValue(["sub_item_banks",bt,"use_blank_score"],(Xn=La==null?void 0:La.target)==null?void 0:Xn.value),me(new Date)}}),Hr.createElement(ze.Z,{overlayInnerStyle:{width:460},title:Hr.createElement("div",null,"\u6309\u7A7A\u7ED9\u5206\uFF1A\u9700\u8981\u5206\u522B\u8BBE\u7F6E\u6BCF\u4E2A\u586B\u7A7A\u9879\u7684\u5206\u503C\uFF0C\u586B\u7A7A\u9879\u7B54\u5BF9\u4E4B\u540E\u5219\u83B7\u5F97\u5BF9\u5E94\u7684\u5206\u503C\u3002",Hr.createElement("br",null),"\u6309\u9898\u7ED9\u5206\uFF1A\u7B54\u5BF9\u5168\u90E8\u586B\u7A7A\u9879\u4E4B\u540E\u624D\u80FD\u83B7\u5F97\u8BE5\u5C0F\u9898\u7684\u5206\u503C\u3002")},Hr.createElement("i",{className:"icon-tishixiaowenhao font18 c-3061d0"})))),key:Zt},Hr.createElement(Ce.default.Item,Hi(Ri({},fn),{name:bt}),(((ma=Qe==null?void 0:Qe[bt])==null?void 0:ma.item_type)=="single"||((wa=Qe==null?void 0:Qe[bt])==null?void 0:wa.item_type)=="multiple")&&Hr.createElement(jl,{questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u9009\u62E9\u9898\u9898\u5E72\u5185\u5BB9",allowChangeMode:((ha=Qe==null?void 0:Qe[bt])==null?void 0:ha.item_type)!="single",form:ft,choiceKey:[bt,"choices"],titleKey:[bt,"name"],analysisKey:[bt,"analysis"],choiceOptionsPath:["sub_item_banks",bt,"choices"],choiceTextKey:"choice_text",answerKey:"is_answer"}),((Pa=Qe==null?void 0:Qe[bt])==null?void 0:Pa.item_type)=="completion"&&Hr.createElement($n,{form:ft,name:bt,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u9898\u5E72\u5E76\u8BBE\u7F6E\u586B\u7A7A\u9879",scoreByBlank:[bt,"use_blank_score"],titleKey:[bt,"name"],analysisKey:[bt,"analysis"],isOrdered:[bt,"is_ordered"],answerKey:[bt,"standard_answer"],key:ce}),((aa=Qe==null?void 0:Qe[bt])==null?void 0:aa.item_type)=="judgement"&&Hr.createElement(Bn,{form:ft,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u5224\u65AD\u9898\u9898\u5E72\u5185\u5BB9",titleKey:[bt,"name"],analysisKey:[bt,"analysis"],choiceKey:[bt,"choices"]}),((ea=Qe==null?void 0:Qe[bt])==null?void 0:ea.item_type)=="subjective"&&Hr.createElement(Po,{showKeywords:!0,form:ft,titleKey:[bt,"name"],analysisKey:[bt,"analysis"],answerTexts:[bt,"answer_texts"],useKeywords:[bt,"use_keywords"],keywords:[bt,"keywords"],indexs:bt,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u7B80\u7B54\u9898\u9898\u5E72\u5185\u5BB9"})))})))})))};var _l=(0,fe.connect)(({loading:Ke,globalSetting:Xe})=>({globalSetting:Xe,loading:Ke.effects}),null,null,{forwardRef:!0})((0,x.forwardRef)(Ki)),Gi=te(60580),Il=te(85546),Ji=te(42563),wl=te(9430),Bo={flex_box_center:"flex_box_center___xDdtW",flex_space_between:"flex_space_between___J4mFI",flex_box_vertical_center:"flex_box_vertical_center___hDYn6",flex_box_center_end:"flex_box_center_end___H7l1j",flex_box_column:"flex_box_column___TPd2T",questionInfo:"questionInfo___ABq66",label:"label___VQOr7",content:"content____HZ6z",leftPart:"leftPart___YB0y5",rightPart:"rightPart___UVMmS",dragItem:"dragItem___Hbx8k",blackText:"blackText___U4u33",greyText:"greyText___rWIL_",iconWrapper:"iconWrapper___I0kek",contentArea:"contentArea___hGC13",dragging:"dragging___z7VVY",hidden:"hidden___nWAxb",dragIcon:"dragIcon___j91TC",deleteIcon:"deleteIcon___cmCqc",disabled:"disabled___ZlKMj",challengeNameWrapper:"challengeNameWrapper___SpiRb",challengeName:"challengeName___lmQe2",shixunPreviewFooter:"shixunPreviewFooter___u0CzD",shixunInfoWrapper:"shixunInfoWrapper___HzLHD",shixunInfo:"shixunInfo___qaQlF",btnToDetail:"btnToDetail___scXqr",fixedBottom:"fixedBottom___wTBAR",cancelBtn:"cancelBtn___Km4Gi",confirmBtn:"confirmBtn___WrECz",previewBtn:"previewBtn____oGPS",setScoreModalTable:"setScoreModalTable___CjDlp",title:"title___cQWdZ",tipcontent:"tipcontent___A8tZ5",name:"name___CvfT9",tip:"tip___EvoCF",info:"info___y_ayi",img:"img___X9CNn"},Lo=te(30001),vi=te(99678),Fl=te(89779),Wl=te(9343),Uo=te(26194),il=te(20670),da=({open:Ke,onCancel:Xe,onOk:nt})=>{const Lt=(0,vi.g)(),[gr,_a,Zr,Qa]=(0,Wl.U)(Fl.Gm,{page:1,limit:10,keyword:"",diff:"",shixun_publish_status:"",discipline_id:"",sub_discipline_id:"",type:0,include_shixuns:!0,item_type:"SHIXUN"}),[rr,Se]=(0,x.useState)(!1);(0,x.useEffect)(()=>{Ke&&Zr({page:1,limit:10,type:0},!0).then(ft=>{(ft==null?void 0:ft.shixuns_count)===0&&Se(!0)})},[Ke]);const[ke,je]=(0,x.useState)([]),[tt,yt]=(0,x.useState)([]);return x.createElement(Te.default,{title:"\u9009\u62E9\u5B9E\u8BAD\u9898",open:Ke,width:948,centered:!0,closable:!0,onCancel:Xe,onOk:()=>nt(tt),destroyOnClose:!0},x.createElement(Ie.Z,{justify:"space-between",className:"mb20",style:{maxHeight:650}},x.createElement(ve.Z,null,x.createElement(Il.Z,{style:{width:160},size:"large",placeholder:"\u8BF7\u9009\u62E9\u65B9\u5411&\u8BFE\u7A0B",options:Lt,onChange:ft=>{Zr({page:1,discipline_id:ft==null?void 0:ft[0],sub_discipline_id:ft==null?void 0:ft[1]})}}),x.createElement(Ji.default,{className:"ml20",style:{width:118},size:"large",placeholder:"\u96BE\u5EA6",allowClear:!0,options:[{label:"\u521D\u7EA7",value:1},{label:"\u4E2D\u7EA7",value:2},{label:"\u4E2D\u9AD8\u7EA7",value:3},{label:"\u9AD8\u7EA7",value:4}],onChange:ft=>Zr({page:1,diff:ft})}),x.createElement(Ji.default,{className:"ml20",placeholder:"\u5168\u90E8\u72B6\u6001",style:{width:118},size:"large",allowClear:!0,options:[{label:"\u672A\u53D1\u5E03",value:"unpublish"},{label:"\u9759\u9ED8\u53D1\u5E03",value:"silent_publish"},{label:"\u516C\u5F00\u53D1\u5E03",value:"public_publish"}],onChange:ft=>Zr({page:1,shixun_publish_status:ft})})),x.createElement(Lo.t7,{placeholder:"\u8BF7\u8F93\u5165\u5173\u952E\u8BCD\u641C\u7D22",style:{width:290},onChange:ft=>{Zr({keyword:ft,page:1})}})),rr?x.createElement("div",null,x.createElement(Uo.Z,{customText:"\u6682\u65E0\u6570\u636E",ButtonText:"\u524D\u5F80\u5B9E\u8DF5\u9879\u76EE\u5E93\uFF0C\u6DFB\u52A0\u66F4\u591A\u8BD5\u9898>",ButtonClick:()=>(0,be.xg)("/shixuns")})):x.createElement(wl.default,{loading:_a,rowKey:"id",columns:[{title:"\u8BD5\u9898\u540D\u79F0",dataIndex:"name",width:"30%",ellipsis:{showTitle:!0},render:(ft,At)=>x.createElement("div",{style:{display:"flex",alignItems:"center"}},x.createElement("div",{className:At!=null&&At.high_resources_consume?Bo.title:"",title:ft||"--"},x.createElement(de.Z,{key:1,showLines:1,showTextOnly:!0,value:ft||"--"})),(At==null?void 0:At.high_resources_consume)&&x.createElement(il.Z,{type:"shixun",style:{marginLeft:10}}))},{title:"\u96BE\u5EA6",dataIndex:"level"},{title:"\u5173\u5361\u6570\u91CF",dataIndex:"challenges_count",key:"challenges_count",render:(ft,At,sn)=>x.createElement("span",null,ft||"- -")},{title:"\u4F7F\u7528\u6B21\u6570",dataIndex:"study_count"},{title:x.createElement("span",null,"\u53D1\u5E03\u72B6\u6001 ",x.createElement(ze.Z,{title:"\u672A\u53D1\u5E03\u7684\u5B9E\u8DF5\u9879\u76EE\u4E0D\u80FD\u88AB\u9009\u7528"},x.createElement(ur.Z,null))),dataIndex:"shixun_tag_num_name",key:"shixun_tag_num_name",width:100,render:(ft,At,sn)=>x.createElement("span",null,ft||"- -")},{title:"\u64CD\u4F5C",render(ft,At){const{title:sn,challenge_names:xn,author_name:on,identifier:ce,author_school_name:me,study_count:xe}=At||{};return x.createElement("div",null,x.createElement("span",{style:{color:"#165DFF",cursor:"pointer"},onClick:()=>{Te.default.confirm({title:"\u9898\u76EE\u8BE6\u60C5",closable:!0,width:1e3,centered:!0,icon:null,footer:null,content:x.createElement("div",null,x.createElement(de.Z,{value:sn,style:{marginBottom:18}}),x.createElement("div",{className:Bo.challengeNameWrapper},xn.map((Ae,He)=>x.createElement("div",{className:Bo.challengeName,key:He},"\u7B2C",(0,be.EM)(He+1),"\u9898\xA0",Ae))),x.createElement(Ie.Z,{className:Bo.shixunPreviewFooter,justify:"space-between",style:{alignItems:"center"}},x.createElement(ve.Z,{className:Bo.shixunInfoWrapper},x.createElement("span",null,"\u521B\u5EFA\u8005"),x.createElement("span",{className:Bo.shixunInfo},on.split("\u3001")[0]),x.createElement("span",null,"\u6240\u5C5E\u5355\u4F4D"),x.createElement("span",{className:Bo.shixunInfo},me),x.createElement("span",null,"\u5B66\u4E60\u4EBA\u6570"),x.createElement("span",{className:Bo.shixunInfo},xe)),x.createElement(we.ZP,{type:"primary",className:Bo.btnToDetail,onClick:()=>(0,be.xg)(`/shixuns/${ce}/challenges?exercise=true`)},x.createElement("i",{className:"iconfont icon-shixunkecheng"}),"\u5B9E\u8BAD\u8BE6\u60C5")))})}},"\u67E5\u770B"),(At==null?void 0:At.shixun_tag_num)===1&&x.createElement("a",{target:"_blank",href:`/shixuns/${At==null?void 0:At.identifier}/challenges`,style:{marginLeft:10}},"\u53BB\u53D1\u5E03"))}}],dataSource:Qa==null?void 0:Qa.items,rowSelection:{type:"radio",selectedRowKeys:ke,preserveSelectedRowKeys:!0,getCheckboxProps:ft=>({disabled:ft.shixun_tag_num===1}),onChange(ft,At){var sn,xn,on;console.log(ft),je(ft);const ce=[];for(const xe of tt)ft.includes(xe.id)&&ce.push(xe);const me=ce.map(xe=>xe.id);for(const xe of At)xe&&ft.includes(xe.id)&&!me.includes(xe.id)&&ce.push({id:xe.id,difficulty:xe.level,identifier:xe.identifier,name:xe.name,real_name:(sn=xe==null?void 0:xe.author_name)==null?void 0:sn.split("\u3001")[0],school_name:xe.author_school_name,challenge_names:xe.challenge_names,challenges:(xn=xe.challenge_names)==null?void 0:xn.map((Ae,He)=>({subject:Ae,id:He,score:5})),score:((on=xe.challenge_names)==null?void 0:on.length)*5,study_count:xe.study_count,challenges_count:xe.challenges_count});yt(ce)}},pagination:{current:gr.page,pageSize:gr.limit,total:Qa==null?void 0:Qa.items_count,showTotal:ft=>x.createElement("span",null,"\u5171\xA0",x.createElement("span",{style:{color:"#165DFF"}},ft),"\xA0\u6761\u6570\u636E"),showQuickJumper:!0,onChange(ft,At){Zr({page:ft,limit:At})},size:"default"},scroll:{y:400}}))},Si=te(96332),ll=te(93686),yl=(Ke,Xe,nt)=>new Promise((Lt,gr)=>{var _a=rr=>{try{Qa(nt.next(rr))}catch(Se){gr(Se)}},Zr=rr=>{try{Qa(nt.throw(rr))}catch(Se){gr(Se)}},Qa=rr=>rr.done?Lt(rr.value):Promise.resolve(rr.value).then(_a,Zr);Qa((nt=nt.apply(Ke,Xe)).next())}),Rl=({visible:Ke,getdata:Xe,onCancel:nt,onRandomExchange:Lt,selectFromProblemSet:gr,questionParams:_a})=>{const[Zr,Qa]=(0,x.useState)(!1),[rr,Se]=(0,x.useState)(!1),[ke,je]=(0,x.useState)({}),tt=(0,fe.useParams)(),[yt,ft]=(0,x.useState)(),At=(sn,xn)=>yl(void 0,null,function*(){Se(!0);const on=yield(0,Ee.ZP)(`/api/exercises/${tt.categoryId}/toggle_random_question.json`,{method:"post",body:{question_id:_a.id,item_bank_id:sn,shixuns_info:[{id:sn,is_copy:xn!=1,is_use:xn!=1}]}});Se(!1),on!=null&&on.status||(Fe.ZP.info("\u6362\u9898\u6210\u529F"),nt(),Xe())});return x.createElement(Te.default,{title:"\u8BF7\u9009\u62E9\u66FF\u6362\u65B9\u5F0F",open:Ke,onCancel:nt,centered:!0,maskClosable:!0,footer:null},x.createElement(Ie.Z,{justify:"center",className:"pb20"},x.createElement(Gi.Z,{onClick:Lt},"\u968F\u673A\u66F4\u6362"),(_a==null?void 0:_a.type)!=="PRACTICAL"&&x.createElement(we.ZP,{style:{marginLeft:24},onClick:gr},"\u4ECE\u9898\u5E93\u4E2D\u9009\u62E9"),(_a==null?void 0:_a.type)==="PRACTICAL"&&x.createElement(we.ZP,{style:{marginLeft:24},onClick:()=>{Qa(!0)}},"\u4ECE\u9898\u5E93\u4E2D\u9009\u62E9")),x.createElement(da,{open:Zr,onCancel:()=>Qa(!1),onOk:sn=>yl(void 0,null,function*(){if(console.log("----selectedRows",sn,tt),(sn==null?void 0:sn.length)<=0){Fe.ZP.info("\u8BF7\u9009\u62E9\u5B9E\u8BAD");return}let xn=sn==null?void 0:sn.map(ce=>ce==null?void 0:ce.id),on=yield(0,ll.Tr)({id:[...xn],course_id:tt.coursesId,type:"shixun"});(on==null?void 0:on.student_count)===0?At(xn==null?void 0:xn[0],1):(ft(xn),je(on)),Qa(!1)})}),x.createElement(Si.Z,{resdata:ke,type:"shixun",okloading:rr,oktext:(ke==null?void 0:ke.can_copy_num)===0?"\u786E\u5B9A":"\u4E00\u952E\u590D\u5236\u5E76\u66FF\u6362",onok:sn=>yl(void 0,null,function*(){At(yt==null?void 0:yt[0],2)})}))},au=te(30351),Bl=te(19575),Al=te(2715),ru=te(48994),Ll=te(52810),$l=Object.defineProperty,Nl=Object.defineProperties,Tl=Object.getOwnPropertyDescriptors,Hl=Object.getOwnPropertySymbols,ql=Object.prototype.hasOwnProperty,ou=Object.prototype.propertyIsEnumerable,Jl=(Ke,Xe,nt)=>Xe in Ke?$l(Ke,Xe,{enumerable:!0,configurable:!0,writable:!0,value:nt}):Ke[Xe]=nt,Xi=(Ke,Xe)=>{for(var nt in Xe||(Xe={}))ql.call(Xe,nt)&&Jl(Ke,nt,Xe[nt]);if(Hl)for(var nt of Hl(Xe))ou.call(Xe,nt)&&Jl(Ke,nt,Xe[nt]);return Ke},Dl=(Ke,Xe)=>Nl(Ke,Tl(Xe)),ul=(Ke,Xe,nt)=>new Promise((Lt,gr)=>{var _a=rr=>{try{Qa(nt.next(rr))}catch(Se){gr(Se)}},Zr=rr=>{try{Qa(nt.throw(rr))}catch(Se){gr(Se)}},Qa=rr=>rr.done?Lt(rr.value):Promise.resolve(rr.value).then(_a,Zr);Qa((nt=nt.apply(Ke,Xe)).next())}),lu=({data:Ke,submit:Xe,goBack:nt,loading:Lt,onTypeScore:gr,editPreview:_a=!1,onSkipExamination:Zr,selectValue:Qa,onExchange:rr,getdata:Se,handleMarkWrongQuestion:ke})=>{var je,tt,yt,ft,At,sn,xn,on,ce,me,xe;const Ae=(0,x.useRef)(),[He,Qe]=(0,x.useState)(null),[ut,Dt]=(0,x.useState)(!1),[Mt,Zt]=(0,x.useState)(!1),bt=(0,x.useRef)(),[fn]=Ce.default.useForm(),Rn=(0,fe.useParams)(),[jt,mn]=(0,x.useState)(!1);(0,x.useEffect)(()=>{Dt(!0)},[]),(0,x.useEffect)(()=>{_a||(0,be.Dk)("\u8BD5\u5377\u9884\u89C8")},[_a]);const In=["\u5BB9\u6613","\u7B80\u5355","\u9002\u4E2D","\u56F0\u96BE"],Sn={SINGLE:"\u5355\u9009\u9898",MULTIPLE:"\u591A\u9009\u9898",JUDGMENT:"\u5224\u65AD\u9898",COMPLETION:"\u586B\u7A7A\u9898",SUBJECTIVE:"\u7B80\u7B54\u9898",PRACTICAL:"\u5B9E\u8BAD\u9898",PROGRAM:"\u7F16\u7A0B\u9898",BPROGRAM:"\u7A0B\u5E8F\u586B\u7A7A\u9898",COMBINATION:"\u7EC4\u5408\u9898"},Kn={single:"\u5355\u9009\u9898",multiple:"\u591A\u9009\u9898",judgement:"\u5224\u65AD\u9898",completion:"\u586B\u7A7A\u9898",subjective:"\u7B80\u7B54\u9898",practical:"\u5B9E\u8BAD\u9898",program:"\u7F16\u7A0B\u9898",bprogram:"\u7A0B\u5E8F\u586B\u7A7A\u9898",combination:"\u7EC4\u5408\u9898"},ma=it=>{var Zn;const Oa=[];return x.createElement(x.Fragment,null,x.createElement("aside",{className:re.single},(Zn=it==null?void 0:it.choices)==null?void 0:Zn.map((Pn,Yt)=>(Pn.is_answer&&Oa.push(Ll.k4[Yt]),x.createElement("ul",{key:Yt},x.createElement("li",null,Ll.k4[Yt],"\u3001"),x.createElement("li",null,x.createElement(de.Z,{value:Pn.choice_text})))))),x.createElement("div",{className:re.analysis},x.createElement("div",null,"\u6B63\u786E\u7B54\u6848\uFF1A",Oa.join(""),x.createElement("span",{className:"ml30"},"\u96BE\u5EA6\uFF1A",In[it.difficulty])),x.createElement("aside",null,x.createElement("span",{className:re.text},"\u89E3\u6790:"),x.createElement(de.Z,{value:it.analysis?it.analysis:"\u6682\u65E0\u89E3\u6790"})),x.createElement("ul",null,x.createElement("li",null,x.createElement("span",{style:{color:"#007AFF",marginRight:10}},"\u65B9\u5411&\u8BFE\u7A0B:"),`${(it==null?void 0:it.discipline_name)||"--"}/${it==null?void 0:it.sub_discipline_name}`),x.createElement(ze.Z,{title:it==null?void 0:it.tag_discipline_name},x.createElement("li",{style:{maxWidth:"400px",overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"}},x.createElement("span",{style:{color:"#5AB891",marginRight:10}},"\u77E5\u8BC6\u70B9:"),it==null?void 0:it.tag_discipline_name)))))},wa=(it,Zn)=>{var Oa;const Pn=(Oa=it==null?void 0:it.standard_answer)==null?void 0:Oa.map((Yt,Ra)=>{var Wn;return x.createElement("div",{key:Ra},`\u7B54\u6848\uFF08\u586B\u7A7A${Yt==null?void 0:Yt.position}\uFF09\uFF1A${(Wn=Yt==null?void 0:Yt.answer_text)==null?void 0:Wn.join("\u3001")}`)});return x.createElement(x.Fragment,null,x.createElement("div",{className:re.analysis},x.createElement("div",{style:{display:"flex"}},x.createElement("div",null,"\u6B63\u786E\u7B54\u6848\uFF1A"),x.createElement("div",null,Pn)),x.createElement("aside",null,x.createElement("span",{className:re.text},"\u89E3\u6790:"),x.createElement(de.Z,{value:it.analysis?it.analysis:"\u6682\u65E0\u89E3\u6790"})),x.createElement("ul",null,x.createElement("li",null,x.createElement("span",{style:{color:"#007AFF",marginRight:10}},"\u65B9\u5411&\u8BFE\u7A0B:"),Zn?`${(Zn==null?void 0:Zn.discipline_name)||"--"}/${Zn==null?void 0:Zn.sub_discipline_name}`:`${(it==null?void 0:it.discipline_name)||"--"}/${it==null?void 0:it.sub_discipline_name}`),x.createElement(ze.Z,{title:Zn?Zn==null?void 0:Zn.tag_discipline_name:it==null?void 0:it.tag_discipline_name},x.createElement("li",{style:{maxWidth:"400px",overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"}},x.createElement("span",{style:{color:"#5AB891",marginRight:10}},"\u77E5\u8BC6\u70B9:"),Zn?Zn==null?void 0:Zn.tag_discipline_name:it==null?void 0:it.tag_discipline_name)))))},ha=it=>{var Zn;const Oa=(Zn=it==null?void 0:it.standard_answer)==null?void 0:Zn.map((Pn,Yt)=>x.createElement("div",{key:Yt},`\u7B54\u6848\uFF08\u586B\u7A7A${(Pn==null?void 0:Pn.position)||(Pn==null?void 0:Pn.exercise_choice_id)}\uFF09\uFF1A${Pn==null?void 0:Pn.answer_text}`));return x.createElement(x.Fragment,null,x.createElement("div",{className:re.analysis},x.createElement("div",{style:{display:"flex"}},x.createElement("div",null,"\u6B63\u786E\u7B54\u6848\uFF1A"),x.createElement("div",null,Oa)),x.createElement("aside",null,x.createElement("span",{className:re.text},"\u89E3\u6790:"),x.createElement(de.Z,{value:it.analysis?it.analysis:"\u6682\u65E0\u89E3\u6790"})),x.createElement("ul",null,x.createElement("li",null,x.createElement("span",{style:{color:"#007AFF",marginRight:10}},"\u65B9\u5411&\u8BFE\u7A0B:"),`${(it==null?void 0:it.discipline_name)||"--"}/${it==null?void 0:it.sub_discipline_name}`),x.createElement(ze.Z,{title:it==null?void 0:it.tag_discipline_name},x.createElement("li",{style:{maxWidth:"400px",overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"}},x.createElement("span",{style:{color:"#5AB891",marginRight:10}},"\u77E5\u8BC6\u70B9:"),it==null?void 0:it.tag_discipline_name)))))},Pa=(it,Zn)=>{var Oa;return x.createElement("div",{className:re.analysis},x.createElement("div",null,"\u6B63\u786E\u7B54\u6848\uFF1A",(Oa=it==null?void 0:it.answer_texts)==null?void 0:Oa[0]),x.createElement("aside",null,x.createElement("span",{className:re.text},"\u89E3\u6790:"),x.createElement(de.Z,{value:it.analysis?it.analysis:"\u6682\u65E0\u89E3\u6790"})),x.createElement("ul",null,x.createElement("li",null,x.createElement("span",{style:{color:"#007AFF",marginRight:10}},"\u65B9\u5411&\u8BFE\u7A0B:"),Zn?`${(Zn==null?void 0:Zn.discipline_name)||"--"}/${Zn==null?void 0:Zn.sub_discipline_name}`:`${(it==null?void 0:it.discipline_name)||"--"}/${it==null?void 0:it.sub_discipline_name}`),x.createElement(ze.Z,{title:Zn?Zn==null?void 0:Zn.tag_discipline_name:it==null?void 0:it.tag_discipline_name},x.createElement("li",{style:{maxWidth:"400px",overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"}},x.createElement("span",{style:{color:"#5AB891",marginRight:10}},"\u77E5\u8BC6\u70B9:"),Zn?Zn==null?void 0:Zn.tag_discipline_name:it==null?void 0:it.tag_discipline_name))))},aa=it=>{var Zn,Oa;return x.createElement("div",{className:re.analysis},x.createElement("aside",null,x.createElement("span",{className:re.text},"\u9884\u671F\u8F93\u51FA:"),x.createElement(de.Z,{value:(Zn=it==null?void 0:it.program_attr)==null?void 0:Zn.description})),x.createElement("div",{style:{marginTop:20}},"\u6B63\u786E\u7B54\u6848\uFF1A",((Oa=it==null?void 0:it.program_attr)==null?void 0:Oa.answer_text)||"--"),x.createElement("aside",null,x.createElement("span",{className:re.text},"\u89E3\u6790:"),x.createElement(de.Z,{value:it.analysis?it.analysis:"\u6682\u65E0\u89E3\u6790"})),x.createElement("ul",null,x.createElement("li",null,x.createElement("span",{style:{color:"#007AFF",marginRight:10}},"\u65B9\u5411&\u8BFE\u7A0B:"),`${(it==null?void 0:it.discipline_name)||"--"}/${it==null?void 0:it.sub_discipline_name}`),x.createElement(ze.Z,{title:it==null?void 0:it.tag_discipline_name},x.createElement("li",{style:{maxWidth:"400px",overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"}},x.createElement("span",{style:{color:"#5AB891",marginRight:10}},"\u77E5\u8BC6\u70B9:"),it==null?void 0:it.tag_discipline_name))))},ea=(it,Zn)=>{var Oa;return x.createElement("div",null,(Oa=it==null?void 0:it.sub_item_banks)==null?void 0:Oa.map((Pn,Yt)=>{var Ra,Wn;const pn=[];return x.createElement(x.Fragment,null,x.createElement("div",{style:{marginLeft:25,fontSize:"16px",color:"#333",paddingTop:"15px"}},Zn+1+"."+(Yt+1),"\uFF08",Sn[Pn.item_type]||Kn[Pn.item_type],"\uFF09",Pn.name),(Pn.item_type=="SINGLE"||Pn.item_type=="MULTIPLE"||Pn.item_type=="JUDGMENT"||Pn.item_type=="single"||Pn.item_type=="multiple"||Pn.item_type=="judgement")&&x.createElement(x.Fragment,null,x.createElement("aside",{className:re.single},(Ra=Pn==null?void 0:Pn.choices)==null?void 0:Ra.map((Tn,or)=>(Tn.is_answer&&pn.push(Ll.k4[or]),x.createElement("ul",{key:or},x.createElement("li",null,Ll.k4[or],"\u3001"),x.createElement("li",null,x.createElement(de.Z,{value:Tn.choice_text})))))),x.createElement("div",{className:re.analysis},x.createElement("div",null,"\u6B63\u786E\u7B54\u6848\uFF1A",pn.join(""),x.createElement("span",{className:"ml30"},"\u96BE\u5EA6\uFF1A",In[Pn.difficulty])),x.createElement("aside",null,x.createElement("span",{className:re.text},"\u89E3\u6790:"),x.createElement(de.Z,{value:Pn.analysis?Pn.analysis:"\u6682\u65E0\u89E3\u6790"})),x.createElement("ul",null,x.createElement("li",null,x.createElement("span",{style:{color:"#007AFF",marginRight:10}},"\u65B9\u5411&\u8BFE\u7A0B:"),`${(it==null?void 0:it.discipline_name)||"--"}/${it==null?void 0:it.sub_discipline_name}`),x.createElement(ze.Z,{title:it==null?void 0:it.tag_discipline_name},x.createElement("li",{style:{maxWidth:"400px",overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"}},x.createElement("span",{style:{color:"#5AB891",marginRight:10}},"\u77E5\u8BC6\u70B9:"),it==null?void 0:it.tag_discipline_name))))),(Pn.item_type=="COMPLETION"||Pn.item_type=="completion")&&wa(Pn,it),(Pn.item_type=="SUBJECTIVE"||Pn.item_type=="subjective")&&Pa(Pn,it),((Wn=Ke==null?void 0:Ke.exam)==null?void 0:Wn.exercise_status)===3&&x.createElement("div",{className:"flex gap-20px mt20"},x.createElement(Al.Z,{state:Pn==null?void 0:Pn.is_wrong,onClick:()=>{ke==null||ke({value:Dl(Xi({},Pn),{question_id:Pn==null?void 0:Pn.id,question_score:Pn==null?void 0:Pn.score})})}}),Pn.item_type=="single"&&x.createElement(we.ZP,{style:{color:"#3061D0"},onClick:()=>{Na({value:Pn})}},"\u589E\u8BBE\u6B63\u786E\u7B54\u6848")))}))},La=it=>{var Zn,Oa,Pn;return x.createElement("div",{style:{marginTop:"12px"}},(Oa=(Zn=it==null?void 0:it.shixun)==null?void 0:Zn.challenges)==null?void 0:Oa.map((Yt,Ra)=>x.createElement("div",{className:"c-grey-666 font14 mb10 ml25",style:{display:"flex",alignItems:"center",justifyContent:"space-between"}},x.createElement("div",null,x.createElement("span",{className:"mr5"},"\u7B2C",Ra+1,"\u5173"),x.createElement(ze.Z,{key:Ra,title:Yt==null?void 0:Yt.challenge_name},x.createElement("span",null,(0,be.Pq)(Yt==null?void 0:Yt.challenge_name,44)))),_a&&x.createElement("div",null,"\u5206\u503C\uFF1A",Yt.score,"\u5206"))),x.createElement(fe.Link,{style:{float:"right"},target:"_blank",to:`/shixuns/${(Pn=it==null?void 0:it.shixun)==null?void 0:Pn.identifier}/challenges`},"\u5B9E\u8BAD\u8BE6\u60C5"),x.createElement("div",{style:{clear:"both"}}))},Xn=it=>{let Zn=it.questions_score/it.questions_count;Te.default.confirm({icon:null,centered:!0,title:"\u5206\u6570\u8BBE\u7F6E",content:x.createElement("div",{className:re.modalColumn},x.createElement("div",{className:re.modalRow,style:{justifyContent:"flex-start"}},x.createElement("sup",{className:re.sup},"*"),x.createElement("span",null,it==null?void 0:it.name,"\uFF1A"),x.createElement(oe.Z,{min:0,precision:1,defaultValue:Zn,onChange:Oa=>{Zn=Oa}}),x.createElement("span",{className:"ml5"},"\u5206/\u9898"))),okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",onOk:()=>ul(void 0,null,function*(){var Oa;if(!Zn)return Fe.ZP.warning("\u5206\u6570\u4E0D\u80FD\u4E3A\u7A7A\u6216\u4E3A0"),Promise.reject();const Pn={type:it==null?void 0:it.type,score:Zn,scoreTotal:Number((Oa=Zn*it.questions_count)==null?void 0:Oa.toFixed(1))};gr(Pn)})})},Ia=()=>{let it="";Te.default.confirm({icon:null,centered:!0,title:"\u4FDD\u5B58\u8BD5\u5377",content:x.createElement("div",{className:re.modalColumn},x.createElement("div",{style:{color:"#676A6C",display:"flex",alignItems:"center"},className:"font14 mt20"},x.createElement("img",{style:{marginRight:5},src:Et.Z}),"\u4FDD\u5B58\u540E\u5355\u72EC\u751F\u6210\u4E00\u4EFD\u4EBA\u5DE5\u7EC4\u5377\u7C7B\u578B\u7684\u56FA\u5B9A\u8BD5\u5377\u3002"),x.createElement("div",{className:re.modalRow,style:{marginTop:20}},x.createElement("sup",{className:re.sup},"*"),x.createElement("span",{style:{flexShrink:0}},"\u8BD5\u5377\u540D\u79F0\uFF1A"),x.createElement(he.default,{placeholder:"\u8BF7\u8F93\u5165\u8BD5\u5377\u540D\u79F0",min:0,maxLength:60,defaultValue:it,onChange:Zn=>{it=Zn.target.value}}))),okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",onOk:()=>ul(void 0,null,function*(){var Zn;if(!it)return Fe.ZP.warning("\u8BD5\u5377\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A"),Promise.reject();const Oa=[],Pn=[],Yt=[],Ra=[];(Zn=Ke==null?void 0:Ke.questionList)==null||Zn.forEach(pn=>{var Tn;(Tn=pn.questions)==null||Tn.forEach(or=>{let Ta=pn.questions_score/pn.questions_count;Ta=Ta&&Ta.toFixed(1),pn.type==="COMBINATION"&&Yt.push({id:or.id,sub_item_bank_ids:or.sub_item_banks.map(Wr=>Wr.id)}),pn.type==="PRACTICAL"?Ra.push(or.id):(Oa.push(or.id),Pn.push(Ta))})}),console.log("-----",Yt),yield Xe({item_bank_ids:Oa,item_bank_scores:Pn,name:it,combination_item_banks:Yt,shixun_ids:Ra})})})},Wa=(it,Zn,Oa,Pn)=>{var Yt;const Ra=`${location.pathname}${location.search}`,Wn=(Yt=Pn.questions)==null?void 0:Yt.map(pn=>pn==null?void 0:pn.id);if(Ra.includes("exercise"))bt.current={id:it,ids:Wn,type:Zn,index:Oa},Zt(!0);else{let pn=Te.default.confirm({icon:null,centered:!0,title:"\u6E29\u99A8\u63D0\u793A",content:"\u786E\u8BA4\u8981\u66F4\u6362\u8BE5\u8BD5\u9898\u5417\uFF1F",cancelButtonProps:{disabled:!1},maskClosable:!0,keyboard:!1,okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",onOk:()=>ul(void 0,null,function*(){pn.update({cancelButtonProps:{disabled:!0}}),yield rr({single_question_id:it,seleted_item_bank_ids:Wn},{type:Zn,index:Oa}),pn.update({cancelButtonProps:{disabled:!1}}),Fe.ZP.success("\u5DF2\u91CD\u65B0\u968F\u673A\u751F\u6210\u8BD5\u9898")})})}},Ar=it=>{var Zn;const Oa=(Zn=it.questions)==null?void 0:Zn.map(Ra=>Ra==null?void 0:Ra.id),Pn=it.name;let Yt=Te.default.confirm({icon:null,centered:!0,title:"\u6E29\u99A8\u63D0\u793A",content:`\u786E\u8BA4\u66F4\u6362${Pn}\u4E2D\u7684\u6240\u6709\u8BD5\u9898\u5417\uFF1F`,cancelButtonProps:{disabled:!1},maskClosable:!1,keyboard:!1,okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",onOk:()=>ul(void 0,null,function*(){Yt.update({cancelButtonProps:{disabled:!0}}),yield rr({seleted_item_bank_ids:Oa},{type:it.type}),Yt.update({cancelButtonProps:{disabled:!1}}),Fe.ZP.success(`\u5DF2\u91CD\u65B0\u968F\u673A\u751F\u6210${Pn}\u8BD5\u9898`)})})},Nr=()=>{let it=Te.default.confirm({icon:null,centered:!0,title:"\u6E29\u99A8\u63D0\u793A",content:"\u786E\u8BA4\u66F4\u6362\u9884\u89C8\u4E2D\u7684\u6240\u6709\u8BD5\u9898\u5417\uFF1F",cancelButtonProps:{disabled:!1},maskClosable:!1,keyboard:!1,okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",onOk:()=>ul(void 0,null,function*(){it.update({cancelButtonProps:{disabled:!0}}),yield rr(),it.update({cancelButtonProps:{disabled:!1}}),Fe.ZP.success("\u5DF2\u91CD\u65B0\u968F\u673A\u751F\u6210\u6574\u5F20\u8BD5\u9898")})})},hr=it=>{console.log(it,"key"),Zr(it-1)},ja=(it,Zn)=>{var Oa,Pn;if(Zn==="SINGLE")return x.createElement(x.Fragment,null,x.createElement(Cn,{ref:Ae,editData:it,isEdit:!0}),x.createElement(ye.Z,null));if(Zn==="MULTIPLE")return x.createElement(x.Fragment,null,x.createElement(Ka,{ref:Ae,editData:it,isEdit:!0}),x.createElement(ye.Z,null));if(Zn==="JUDGMENT")return x.createElement(x.Fragment,null,x.createElement(qn,{ref:Ae,editData:it,isEdit:!0}),x.createElement(ye.Z,null));if(Zn==="COMPLETION")return x.createElement(x.Fragment,null,x.createElement(tn,{ref:Ae,editData:it,isEdit:!0}),x.createElement(ye.Z,null));if(Zn==="SUBJECTIVE")return x.createElement(x.Fragment,null,x.createElement(Mo,{ref:Ae,editData:it,isEdit:!0}),x.createElement(ye.Z,null));if(Zn==="COMBINATION")return x.createElement(x.Fragment,null,x.createElement(_l,{ref:Ae,editData:it,isEdit:!0}),x.createElement(ye.Z,null));if(Zn==="BPROGRAM")return x.createElement(x.Fragment,null,x.createElement(Ce.default,{form:fn,style:{marginTop:20},onFinishFailed:Yt=>{var Ra,Wn;Yt.errorFields[0].name.includes("standard_answers")?Fe.ZP.error("\u586B\u7A7A\u9879\u7B54\u6848\u4E0D\u80FD\u4E3A\u7A7A"):Fe.ZP.error(Yt.errorFields[0].errors[0]),fn.scrollToField((Wn=(Ra=Yt==null?void 0:Yt.errorFields)==null?void 0:Ra[0])==null?void 0:Wn.name,{behavior:"smooth",block:"center"})},onFinish:Yt=>ul(void 0,null,function*(){var Ra;let Wn=Dl(Xi({question_score:it.score},Yt),{question_type:8,hack:Dl(Xi({},Yt.hack),{difficult:it.program_attr.difficult}),hack_codes:Dl(Xi({},Yt.hack_codes),{code:Bl.Base64.encode((Ra=Yt.hack_codes)==null?void 0:Ra.code)})});jt&&(Wn.is_cover=1);const pn=yield(0,Ee.ZP)(`/api/exercise_questions/${it.id}.json`,{method:"put",body:Wn});(pn==null?void 0:pn.status)===0&&(Fe.ZP.success("\u7F16\u8F91\u6210\u529F"),hr(Qa+1)),Qe(null)})},x.createElement(au.tc,{form:fn,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u9898\u5E72\u5E76\u8BBE\u7F6E\u586B\u7A7A\u9879",scoreByBlank:!1,hackidentifier:(Oa=it==null?void 0:it.program_attr)==null?void 0:Oa.identifier,answerKey:"standard_answers"}),x.createElement(ye.Z,null)));if(Zn==="PROGRAM"&&fe.history.push(`/problems/${(Pn=it==null?void 0:it.program_attr)==null?void 0:Pn.identifier}/edit?type=exercises&express_id=${Rn.categoryId}&question_id=${it==null?void 0:it.id}&score=${it==null?void 0:it.score}&callback_url=${location.pathname}&select=${Qa}&exercise=true`),Zn==="PRACTICAL")return x.createElement(x.Fragment,null,x.createElement(sa,{ref:Ae,editData:it,isEdit:!0}),x.createElement(ye.Z,null))},Sr=(it,Zn)=>ul(void 0,null,function*(){var Oa,Pn,Yt,Ra,Wn,pn;const Tn=yield(Oa=Ae.current)==null?void 0:Oa.onSave();if(!Tn)return;const or=Un=>{const dr=Un.map(zr=>zr.choice_text.trim().replace(/^\s+|\s+$/g,""));return new Set(dr).size!==dr.length},Ta={question_score:Zn.score,analysis:Tn.analysis};if(it==="SINGLE"||it==="MULTIPLE"||it==="JUDGMENT"){if(it!=="JUDGMENT"&&or(Tn==null?void 0:Tn.choices)){Fe.ZP.error("\u9009\u62E9\u9898\u9009\u9879\u5185\u5BB9\u4E0D\u80FD\u91CD\u590D\uFF0C\u8BF7\u4FEE\u6539\u540E\u518D\u4FDD\u5B58");return}const Un=[],dr=[];Ta.question_type=it==="JUDGMENT"?2:1,Ta.question_title=Tn==null?void 0:Tn.name,(Pn=Tn==null?void 0:Tn.choices)==null||Pn.forEach((Pr,zr)=>{Un.push(Pr.choice_text),Pr!=null&&Pr.is_answer&&dr.push(zr+1)}),Ta.question_choices=Un,Ta.standard_answers=dr}if(it==="COMPLETION"){let Un=(Yt=Tn==null?void 0:Tn.standard_answers)==null?void 0:Yt.map((zr,jr)=>(zr==null?void 0:zr.score)<=0?jr+1:null).filter(zr=>zr!==null);if((Un==null?void 0:Un.length)>0)return Fe.ZP.warning(`\u7B2C${Un.join("\u3001")}\u9879\u7684\u5206\u503C\u4E0D\u80FD\u4E3A\u7A7A`),!1;let dr=(Ra=Tn==null?void 0:Tn.standard_answers)==null?void 0:Ra.reduce((zr,jr)=>zr+(Number(jr==null?void 0:jr.score)||0),0);if(parseFloat(dr.toFixed(2))!=(Ta==null?void 0:Ta.question_score))return Fe.ZP.warning("\u5404\u586B\u7A7A\u9879\u5206\u503C\u4E4B\u548C\u5FC5\u987B\u7B49\u4E8E\u8BE5\u5C0F\u9898\u5206\u503C\uFF01"),!1;Ta.is_ordered=Tn.is_ordered,Ta.question_title=Tn==null?void 0:Tn.name,Ta.use_blank_score=Tn==null?void 0:Tn.use_blank_score,Ta.question_type=3;const Pr=[];(Wn=Tn==null?void 0:Tn.standard_answers)==null||Wn.forEach((zr,jr)=>{Pr.push({choice_id:zr.position,answer_text:zr.answer_text,score:zr.score})}),Ta.standard_answers=Pr,Ta.downcase=Tn==null?void 0:Tn.downcase,Ta.no_space=Tn==null?void 0:Tn.no_space}if(it==="SUBJECTIVE"&&(console.log("editorData"),console.log(Tn),Ta.question_title=Tn==null?void 0:Tn.name,Ta.question_type=4,Ta.answer_texts=Tn==null?void 0:Tn.answer_texts,Ta.use_keywords=Tn==null?void 0:Tn.use_keywords,Ta.keywords=Tn==null?void 0:Tn.keywords),it==="COMBINATION"){Ta.question_title=Tn==null?void 0:Tn.name,Ta.question_type=7;try{Ta.sub_questions=(pn=Tn==null?void 0:Tn.sub_item_banks)==null?void 0:pn.map((Un,dr)=>{var Pr,zr,jr;if((Un==null?void 0:Un.item_type)=="single"||(Un==null?void 0:Un.item_type)=="multiple"){if(or(Un==null?void 0:Un.choices))throw new Error(`\u7B2C${dr+1}\u5C0F\u9898\u9009\u9879\u5185\u5BB9\u91CD\u590D\uFF0C\u8BF7\u4FEE\u6539\u540E\u518D\u4FDD\u5B58`);const no=[],Fo=[];return(Pr=Un==null?void 0:Un.choices)==null||Pr.forEach((Qr,Ko)=>{no.push(Qr.choice_text),Qr!=null&&Qr.is_answer&&Fo.push(Ko+1)}),{id:Un.id,question_id:Un.id,question_title:Un.name,difficulty:Un.difficulty,question_type:(Un==null?void 0:Un.item_type)=="single"?0:(Un==null?void 0:Un.item_type)=="multiple"?1:2,question_choices:no,standard_answers:Fo,analysis:Un.analysis,question_score:Un==null?void 0:Un.score}}else if((Un==null?void 0:Un.item_type)=="completion"){let no=(zr=Un==null?void 0:Un.standard_answer)==null?void 0:zr.reduce((Qr,Ko)=>Qr+(Number(Ko==null?void 0:Ko.score)||0),0);if(parseFloat(no.toFixed(2))!=(Un==null?void 0:Un.score))throw new Error("\u5404\u586B\u7A7A\u9879\u5206\u503C\u4E4B\u548C\u5FC5\u987B\u7B49\u4E8E\u8BE5\u5C0F\u9898\u5206\u503C\uFF01");const Fo=[];return(jr=Un==null?void 0:Un.standard_answer)==null||jr.forEach((Qr,Ko)=>{Fo.push({choice_id:Qr.position,answer_text:Qr.answer_text,score:Qr.score})}),{id:Un.id,question_id:Un.id,is_ordered:Un.is_ordered,question_title:Un.name,difficulty:Un.difficulty,question_type:3,standard_answers:Fo,use_blank_score:Un.use_blank_score,analysis:Un.analysis,downcase:Un==null?void 0:Un.downcase,no_space:Un==null?void 0:Un.no_space,question_score:Un==null?void 0:Un.score}}else if((Un==null?void 0:Un.item_type)=="subjective")return{id:Un.id,question_id:Un.id,question_title:Un.name,question_type:4,difficulty:Un.difficulty,answer_texts:Un==null?void 0:Un.answer_texts,analysis:Un.analysis,question_score:Un==null?void 0:Un.score,use_keywords:Un.use_keywords,keywords:Un==null?void 0:Un.keywords}})}catch(Un){Fe.ZP.warning(Un.message);return}delete Ta.analysis}let Wr=!1;(Zn==null?void 0:Zn.is_my)===1&&(Wr=yield new Promise((dr,Pr)=>{Te.default.confirm({title:"\u63D0\u793A",content:"\u6B64\u9898\u76EE\u5DF2\u5B58\u5728\u4E8E\u8BD5\u9898\u5E93\uFF0C\u662F\u5426\u5C06\u4FEE\u6539\u540E\u7684\u9898\u76EE\u8986\u76D6\u8BD5\u9898\u5E93\u7684\u539F\u9898\uFF1F",okText:"\u8986\u76D6\u539F\u9898",cancelText:"\u4E0D\u8986\u76D6",keyboard:!1,onOk:()=>{dr(!0)},onCancel:()=>{dr(!1)}})})),Wr&&(Ta.is_cover=1);const Dr=it!=="PRACTICAL"?yield(0,Ee.ZP)(`/api/exercise_questions/${Zn.id}.json`,{method:"put",body:Ta}):yield(0,Ee.ZP)(`/api/exercise_questions/${Zn.id}/update_shixun_score.json`,{method:"post",body:Xi({},Tn)});(Dr==null?void 0:Dr.status)===0&&(Fe.ZP.success("\u7F16\u8F91\u6210\u529F"),hr(Qa+1),Qe(null))}),Ha=()=>ul(void 0,null,function*(){(0,fe.getDvaApp)()._store.dispatch({type:"globalSetting/setGlobalLoading",payload:{show:!0,text:"\u6B63\u5728\u66F4\u65B0\u8BD5\u5377\uFF0C\u8BF7\u7A0D\u540E..."}}),(yield(0,Ee.ZP)(`/api/exercises/${Rn.categoryId}/sync_random_question.json`,{method:"post"})).status===0&&(yield Zr(Qa),Fe.ZP.success("\u66F4\u65B0\u6210\u529F")),(0,fe.getDvaApp)()._store.dispatch({type:"globalSetting/setGlobalLoading",payload:{show:!1}})}),Na=({value:it}={})=>{var Zn;const Oa=[];let Pn=[];const Yt=(Zn=it==null?void 0:it.choices)==null?void 0:Zn.map((Wn,pn)=>{var Tn;const or=pn+1;return Wn!=null&&Wn.is_answer&&(Oa.push(or),Pn.push(or)),{value:or,label:x.createElement(de.Z,{className:"c-black font14",value:`${(Tn=Ll.k4)==null?void 0:Tn[pn]}. ${Wn==null?void 0:Wn.choice_text}`}),disabled:Wn==null?void 0:Wn.origin_standard_answer}}),Ra=Te.default.confirm({centered:!0,icon:null,title:"\u589E\u8BBE\u6B63\u786E\u7B54\u6848",width:800,content:x.createElement(x.Fragment,null,"\u5F53\u524D\u8BD5\u9898\u7684\u6B63\u786E\u7B54\u6848\u4E3A ",Oa==null?void 0:Oa.map(Wn=>{var pn;return(pn=Ll.k4)==null?void 0:pn[Wn-1]}),"\uFF0C\u8BF7\u9009\u62E9\u9700\u8981\u589E\u8BBE\u4E3A\u6B63\u786E\u7B54\u6848\u7684\u9009\u9879\u3002",x.createElement("br",null),"\u52FE\u9009\u63D0\u4EA4\u4E4B\u540E\uFF0C\u9009\u4E2D\u589E\u8BBE\u4E3A\u6B63\u786E\u7B54\u6848\u4EFB\u4E00\u9009\u9879\u7684\u5B66\u751F\u4E5F\u4F1A\u83B7\u5F97\u8BE5\u5C0F\u9898\u7684\u5206\u503C\uFF0C\u4F46\u4E0D\u4F1A\u4FEE\u6539\u5F53\u524D\u8BD5\u9898\u7684\u9898\u578B\u3002\u53D6\u6D88\u52FE\u9009\u63D0\u4EA4\u4E4B\u540E\uFF0C\u4E5F\u4F1A\u91CD\u65B0\u8BA1\u7B97\u5BF9\u5E94\u5B66\u751F\u7684\u5F97\u5206\u3002",x.createElement("br",null),x.createElement(Oe.default.Group,{className:"flex-col mt20",options:Yt,defaultValue:Pn,onChange:Wn=>{Pn=Wn}})),onOk:()=>ul(void 0,null,function*(){const Wn=yield(0,Ee.ZP)(`/api/exercises/${Rn.categoryId}/questions/${it==null?void 0:it.id}/add_standard_answers.json`,{method:"put",body:{standard_answer:Pn}});(Wn==null?void 0:Wn.status)===0&&(Fe.ZP.success("\u4FEE\u6539\u6210\u529F"),hr(Qa+1))})})},$a=(je=Ke==null?void 0:Ke.questionList)==null?void 0:je.reduce((it,Zn)=>it+Number(Zn.questions_score),0),to=_a&&((tt=Ke==null?void 0:Ke.exam)==null?void 0:tt.exercise_status)!==1;return x.createElement("section",{className:re.wrap},x.createElement("div",{id:"id_left_preview",className:re.left,onMouseEnter:it=>{const Zn=document.getElementById("id_left_preview");Zn.style.overflowY="auto"},onMouseLeave:it=>{const Zn=document.getElementById("id_left_preview");Zn.style.overflowY="hidden"}},x.createElement("div",{className:re.title},x.createElement("div",{className:"body-overflow-initial"},x.createElement("b",null),x.createElement("span",null,"\u7B54\u9898\u5361"))),x.createElement("div",{className:re.total},x.createElement("div",null,x.createElement("img",{src:Ye}),x.createElement("span",null,"\u9898\u6570(\u9053)"),x.createElement("aside",null,Ke==null?void 0:Ke.all_questions_count)),x.createElement("div",{className:"mr30 ml30"},x.createElement("img",{src:xt}),x.createElement("span",null,"\u603B\u5206(\u5206)"),x.createElement("aside",null,$a&&$a.toFixed(1))),x.createElement("div",null,x.createElement("img",{src:le}),x.createElement("span",null,"\u65F6\u957F(\u5206)"),x.createElement("aside",null,((yt=Ke==null?void 0:Ke.exam)==null?void 0:yt.time)===-1||((ft=Ke==null?void 0:Ke.exam)==null?void 0:ft.time)===null?"\u4E0D\u9650":(At=Ke==null?void 0:Ke.exam)==null?void 0:At.time))),(sn=Ke==null?void 0:Ke.questionList)==null?void 0:sn.map((it,Zn)=>{var Oa;return x.createElement("div",{className:re.list,key:Zn},x.createElement("div",{className:re.name},x.createElement("b",null),x.createElement("span",null,it.name)),x.createElement("aside",null,x.createElement("div",null,"\u5171",x.createElement("span",{className:re.b},it.questions_count),"\u9898 ",x.createElement("span",{className:re.l},"|"),"\u5171",x.createElement("span",{className:re.r},it.questions_score),"\u5206"),x.createElement("div",{className:re.answerSheet},(Oa=it==null?void 0:it.questions)==null?void 0:Oa.map((Pn,Yt)=>x.createElement("div",{onClick:()=>{const Ra=`Anchor_${Pn==null?void 0:Pn.id}`;let Wn=document.getElementById(Ra);Wn&&setTimeout(()=>Wn.scrollIntoView({block:"center",behavior:"smooth"}))},key:Pn==null?void 0:Pn.id,className:re.tag},Yt+1)))))})),x.createElement("div",{className:re.right},x.createElement("div",{className:re.examName,id:"examName"},x.createElement("div",{className:re.name},x.createElement(ze.Z,{title:(xn=Ke==null?void 0:Ke.exam)==null?void 0:xn.name,getPopupContainer:it=>it.parentNode},x.createElement("span",{className:re.t},(on=Ke==null?void 0:Ke.exam)==null?void 0:on.name))),_a&&((ce=Ke==null?void 0:Ke.exam)==null?void 0:ce.exercise_status)===1&&x.createElement(Lo.op,{openLoading:!0,shape:"default",onClick:()=>{Te.default.confirm({title:"\u63D0\u793A",content:"\u786E\u8BA4\u6839\u636E\u6700\u65B0\u7684\u968F\u673A\u7EC4\u5377\u62BD\u9898\u89C4\u5219\u91CD\u65B0\u751F\u6210\u8BD5\u5377\u5417\uFF1F",onOk:()=>{Ha()}})},type:"primary"},"\u66F4\u65B0\u8BD5\u5377"),!_a&&x.createElement(we.ZP,{onClick:Nr,type:"primary"},"\u968F\u673A\u66F4\u6362")),x.createElement("div",{className:re.topWarp},(me=Ke==null?void 0:Ke.questionList)==null?void 0:me.map((it,Zn)=>{var Oa,Pn;return x.createElement(x.Fragment,{key:Zn},x.createElement("div",{className:re.head,style:Zn===0?{border:0,marginTop:-16}:{}},x.createElement("div",{className:re.name},x.createElement("b",null),x.createElement("span",null,it.name)),x.createElement("div",{className:re.so},"\u5171",x.createElement("span",{className:re.b},it.questions_count," "),"\u9898 ",it.type==="COMBINATION"&&`\uFF08\u5305\u542B${(Oa=it==null?void 0:it.questions)==null?void 0:Oa.map(Yt=>{var Ra;return(Ra=Yt==null?void 0:Yt.sub_item_banks)==null?void 0:Ra.length}).reduce((Yt,Ra)=>Yt+Ra)}\u5C0F\u9898\uFF09`,x.createElement("span",{className:re.l},"|"),"\u5171",x.createElement("span",{className:re.r},it.questions_score),"\u5206"),!_a&&x.createElement("div",{className:re.btn},x.createElement(we.ZP,{onClick:()=>{Xn(it)},type:"primary",ghost:!0,className:"mr20"},"\u8BBE\u7F6E\u5F97\u5206"),x.createElement(we.ZP,{onClick:()=>Ar(it),type:"primary",ghost:!0},"\u968F\u673A\u66F4\u6362"))),(Pn=it==null?void 0:it.questions)==null?void 0:Pn.map((Yt,Ra)=>{var Wn,pn,Tn,or;return He===(Yt==null?void 0:Yt.id)?x.createElement("div",{id:`Anchor_${Yt==null?void 0:Yt.id}`,className:re.content,style:{padding:0,marginTop:24},key:Yt==null?void 0:Yt.id},x.createElement("div",{style:{float:"right",marginTop:`${(it==null?void 0:it.type)==="PRACTICAL"?"-2px":"-6px"}`}},x.createElement(we.ZP,{onClick:()=>Qe(null),className:"mr20",type:"primary",ghost:!0},"\u53D6\u6D88"),x.createElement(we.ZP,{onClick:()=>{Sr(it==null?void 0:it.type,Yt)},type:"primary"},"\u4FDD\u5B58")),ja(Yt,it.type)):x.createElement("div",{id:`Anchor_${Yt==null?void 0:Yt.id}`,className:re.content,key:Yt==null?void 0:Yt.id},x.createElement("div",{className:re.titleWrap},(Yt==null?void 0:Yt.item_type)==="bprogram"?x.createElement(de.Z,{style:{paddingRight:10},value:Ra+1+"\u3001"+((Wn=Yt==null?void 0:Yt.program_attr)==null?void 0:Wn.description)}):x.createElement(de.Z,{style:{paddingRight:10},className:re.titleHtml,value:Ra+1+`\u3001${(Yt==null?void 0:Yt.item_type)==="combination"?"\uFF08\u9898\u5E72\uFF09":""}`+(Yt==null?void 0:Yt.name)}),_a&&x.createElement(we.ZP,{onClick:()=>{var Ta,Wr,Dr;if(He){Fe.ZP.warning("\u5148\u4FDD\u5B58\u6216\u53D6\u6D88\u5F53\u524D\u6B63\u5728\u7F16\u8F91\u7684\u8BD5\u9898");return}fn.setFieldsValue({standard_answers:Yt==null?void 0:Yt.standard_answer,hack:Xi(Xi({},Yt),Yt==null?void 0:Yt.program_attr),hack_codes:Dl(Xi({},Yt==null?void 0:Yt.program_attr),{code:Bl.Base64.decode(((Ta=Yt==null?void 0:Yt.program_attr)==null?void 0:Ta.code)||"")}),hack_sets:Xi({},(Wr=Yt==null?void 0:Yt.hack_sets)==null?void 0:Wr[0])}),(Yt==null?void 0:Yt.item_type)=="program"?fe.history.push(`/problems/newedit/${(Dr=Yt==null?void 0:Yt.program_attr)==null?void 0:Dr.identifier}?type=exercises&express_id=${Rn.categoryId}&question_id=${Yt==null?void 0:Yt.id}&score=${Yt==null?void 0:Yt.score}&exercise=true&callback_url=/classrooms/${Rn.coursesId}/exercise/${Rn.categoryId}/detail?random=true`):Qe(Yt==null?void 0:Yt.id)},type:"primary",style:{marginLeft:"auto"},ghost:!0},"\u7F16\u8F91"),!to&&x.createElement(we.ZP,{disabled:to,className:"ml20",onClick:()=>Wa(Yt==null?void 0:Yt.id,it.type,Ra,it),type:"primary",ghost:!0},"\u6362\u4E00\u9898")),(Yt==null?void 0:Yt.item_type)==="bprogram"&&x.createElement(de.Z,{style:{paddingRight:10,paddingLeft:25},showProgramFill:!0,disabledFill:!0,className:re.titleHtml,value:Bl.Base64.decode(((pn=Yt==null?void 0:Yt.program_attr)==null?void 0:pn.code)||"")}),(it.type==="SINGLE"||it.type==="JUDGMENT"||it.type==="MULTIPLE")&&ma(Yt),it.type==="COMPLETION"&&wa(Yt),it.type==="SUBJECTIVE"&&Pa(Yt),it.type==="PROGRAM"&&aa(Yt),it.type==="BPROGRAM"&&ha(Yt),it.type==="COMBINATION"&&ea(Yt,Ra),it.type==="PRACTICAL"&&La(Yt),x.createElement(Ie.Z,{className:"mt20",wrap:!1,align:"middle",gutter:20},((Tn=Ke==null?void 0:Ke.exam)==null?void 0:Tn.exercise_status)===3&&!["PROGRAM","BPROGRAM","PRACTICAL","COMBINATION"].includes(it.type)&&x.createElement(ve.Z,null,x.createElement(Al.Z,{state:Yt==null?void 0:Yt.is_wrong,onClick:()=>{ke==null||ke({value:Dl(Xi({},Yt),{question_id:Yt==null?void 0:Yt.id,question_score:Yt==null?void 0:Yt.score})})}})),["PROGRAM","BPROGRAM","PRACTICAL"].includes(it.type)&&(Yt==null?void 0:Yt.show_resubmit)&&x.createElement(ve.Z,null,x.createElement(ru.C,{dataSource:Dl(Xi({},Yt),{question_id:Yt==null?void 0:Yt.id})})),((or=Ke==null?void 0:Ke.exam)==null?void 0:or.exercise_status)===3&&["SINGLE"].includes(it.type)&&x.createElement(ve.Z,null,x.createElement(we.ZP,{style:{color:"#3061D0"},onClick:()=>{Na({value:Yt})}},"\u589E\u8BBE\u6B63\u786E\u7B54\u6848"))))}))}))),_a?x.createElement(Lo.vr,null,x.createElement(ie.Z,{showTotal:be.rU,total:(xe=Ke==null?void 0:Ke.exam)==null?void 0:xe.total_num,pageSize:1,current:Qa+1,showSizeChanger:!1,onChange:hr,showQuickJumper:!1,hideOnSinglePage:!1})):x.createElement(Lo.vr,{LeftContent:x.createElement(Lo.op,{onClick:nt,shape:"default",style:{height:38,background:"#fff",boxShadow:"none"}},"\u8FD4\u56DE"),RightContent:x.createElement(Ie.Z,{align:"middle"},x.createElement(E.Z,{color:"#55575D",overlayClassName:re.popover,open:ut,getPopupContainer:it=>it==null?void 0:it.parentNode,content:"\u5982\u60A8\u5BF9\u6B64\u4EFD\u8BD5\u9898\u6EE1\u610F\uFF0C\u53EF\u5C06\u6B64\u4EFD\u8BD5\u9898\u4FDD\u5B58\u4E3A\u56FA\u5B9A\u8BD5\u5377"},x.createElement(Lo.op,{onMouseEnter:()=>Dt(!0),onMouseLeave:()=>Dt(!1),onClick:()=>Ia(),shape:"default",style:{height:38,background:"#fff",boxShadow:"none"}},"\u4FDD\u5B58")),x.createElement(Lo.op,{shape:"default",type:"primary",onClick:()=>Xe(),style:{height:38,marginLeft:20}},"\u63D0\u4EA4"))}),x.createElement(Rl,{visible:Mt,questionParams:bt.current,getdata:Se,onRandomExchange:()=>ul(void 0,null,function*(){const it=bt.current;yield rr({single_question_id:it.id,seleted_item_bank_ids:it.ids},{type:it.type,index:it.index}),Zt(!1)}),selectFromProblemSet:()=>{const it=bt.current,Zn=`${location.pathname}${location.search}`;Zn.includes("exercise")&&fe.history.push(`/paperlibrary/exchangequestion?type=exercise&qid=${it.id}&qtype=${it.type}&exerciseid=${Rn.categoryId}&from=${Zn}`)},onCancel:()=>{Zt(!1)}}))}},72911:function(vt,dt,te){"use strict";te.r(dt),te.d(dt,{default:function(){return y}});var x=te(67294),re=te(35973),Ce={flex_box_center:"flex_box_center___kQBcj",flex_space_between:"flex_space_between___Znlbo",flex_box_vertical_center:"flex_box_vertical_center___CPD50",flex_box_center_end:"flex_box_center_end___jzPvK",flex_box_column:"flex_box_column___cvIBS",wrap:"wrap___lab8O",crumbs:"crumbs___qvTza"},ze=te(38884),we=te(2453),Te=te(46303),oe=te(33170),Fe=te(28706),he=te(67294),ye=Object.defineProperty,Oe=Object.getOwnPropertySymbols,Ie=Object.prototype.hasOwnProperty,ve=Object.prototype.propertyIsEnumerable,ie=(z,ee,ne)=>ee in z?ye(z,ee,{enumerable:!0,configurable:!0,writable:!0,value:ne}):z[ee]=ne,E=(z,ee)=>{for(var ne in ee||(ee={}))Ie.call(ee,ne)&&ie(z,ne,ee[ne]);if(Oe)for(var ne of Oe(ee))ve.call(ee,ne)&&ie(z,ne,ee[ne]);return z},a=(z,ee,ne)=>new Promise((ae,le)=>{var de=Ee=>{try{be(ne.next(Ee))}catch(pe){le(pe)}},fe=Ee=>{try{be(ne.throw(Ee))}catch(pe){le(pe)}},be=Ee=>Ee.done?ae(Ee.value):Promise.resolve(Ee.value).then(de,fe);be((ne=ne.apply(z,ee)).next())});const b=({paperlibrary:z,user:ee,globalSetting:ne,dispatch:ae,location:le})=>{var de,fe,be,Ee;const[pe]=(0,re.useSearchParams)(),ge=pe.get("select")||0,[$e,Be]=(0,x.useState)(!1),[Le,Re]=(0,x.useState)(!0),[Ge,Ye]=(0,x.useState)(Number(ge)),[Pt,qe]=(0,x.useState)({}),at=(0,re.useParams)(),{userInfo:pt}=ee,{actionTabs:_t}=z;(0,x.useEffect)(()=>(ae({type:"globalSetting/footerToggle",payload:!1}),()=>{ae({type:"globalSetting/footerToggle",payload:!0})}),[]),(0,x.useEffect)(()=>(ae({type:"globalSetting/onlyShowBackTopToggle",payload:!1}),ae({type:"globalSetting/onlyShowBackTopIconToggle",payload:!1}),ae({type:"exercise/getWorkSetting",payload:E({},at)}),()=>{ae({type:"globalSetting/onlyShowBackTopToggle",payload:!0}),ae({type:"globalSetting/onlyShowBackTopIconToggle",payload:!0})}),[]),(0,x.useEffect)(()=>{Qt(Ge)},[]),(0,x.useEffect)(()=>{var $t;($t=_t==null?void 0:_t.params)!=null&&$t.isUpdateData&&Qt(Ge)},[(de=_t==null?void 0:_t.params)==null?void 0:de.isUpdateData]);const Qt=($t=0)=>a(void 0,null,function*(){console.log(at),Re(!0);const Ne=yield(0,oe.ZP)(`/api/exercises/${at.categoryId}/preview_random_exercise.json`,{method:"get",params:{num:$t}});ae({type:"paperlibrary/setActionTabs",payload:{params:{isUpdateData:!1}}}),Re(!1),qe((0,Fe.PF)(Ne))}),Je=()=>{re.history.push(`/classrooms/${at.coursesId}/exercise`)},xt=()=>{alert("\u4FDD\u5B58")},Et=($t,Ne)=>a(void 0,null,function*(){const Tt=yield(0,oe.ZP)(`/api/exercises/${at.categoryId}/toggle_random_question.json`,{method:"post",body:{question_id:$t==null?void 0:$t.single_question_id}});Tt!=null&&Tt.question&&(we.ZP.info("\u6362\u9898\u6210\u529F"),Qt(Ge))}),un=$t=>a(void 0,null,function*(){document.body.scrollIntoView(),Ye($t),yield Qt($t)}),Bt=$t=>{ae({type:"exercise/setActionTabs",payload:{key:"\u6807\u8BB0\u9519\u9898",params:$t}})};return he.createElement("section",{className:Ce.wrap},he.createElement(Te.Z,{loading:Le,active:!0,paragraph:{rows:5}},((be=(fe=(0,re.useLocation)())==null?void 0:fe.pathname)==null?void 0:be.includes("preview"))&&he.createElement("div",{className:Ce.crumbs},he.createElement("b",null),he.createElement("span",{className:"current",onClick:()=>re.history.push(`/classrooms/${at.coursesId}/exercise`)},`${(Ee=pt==null?void 0:pt.course)==null?void 0:Ee.course_name}>`),he.createElement("span",{className:"current",onClick:()=>re.history.push(`/classrooms/${at.coursesId}/exercise`)},"\u8BD5\u5377\u5217\u8868>"),he.createElement("span",{style:{color:"#bebebe"}},"\u9884\u89C8")),he.createElement(ze.Z,{loading:$e,submit:xt,goBack:Je,data:Pt,getdata:()=>{Qt(Ge)},selectValue:Ge,editPreview:!0,onExchange:Et,onSkipExamination:un,handleMarkWrongQuestion:Bt})))};var y=(0,re.connect)(({paperlibrary:z,user:ee,globalSetting:ne})=>({paperlibrary:z,user:ee,globalSetting:ne}))(b)},99678:function(vt,dt,te){"use strict";te.d(dt,{g:function(){return we}});var x=te(67294),re=te(56443),Ce=te(53430),ze=(Te,oe,Fe)=>new Promise((he,ye)=>{var Oe=ie=>{try{ve(Fe.next(ie))}catch(E){ye(E)}},Ie=ie=>{try{ve(Fe.throw(ie))}catch(E){ye(E)}},ve=ie=>ie.done?he(ie.value):Promise.resolve(ie.value).then(Oe,Ie);ve((Fe=Fe.apply(Te,oe)).next())});const we=()=>{const[Te,oe]=(0,x.useState)([]);return(0,x.useEffect)(()=>{ze(void 0,null,function*(){const he=yield(0,re.d1)({source:"question"});he!=null&&he.disciplines&&oe((0,Ce.L)(he==null?void 0:he.disciplines))})},[]),Te}},9343:function(vt,dt,te){"use strict";te.d(dt,{U:function(){return he}});var x=te(67294),re=Object.defineProperty,Ce=Object.getOwnPropertySymbols,ze=Object.prototype.hasOwnProperty,we=Object.prototype.propertyIsEnumerable,Te=(ye,Oe,Ie)=>Oe in ye?re(ye,Oe,{enumerable:!0,configurable:!0,writable:!0,value:Ie}):ye[Oe]=Ie,oe=(ye,Oe)=>{for(var Ie in Oe||(Oe={}))ze.call(Oe,Ie)&&Te(ye,Ie,Oe[Ie]);if(Ce)for(var Ie of Ce(Oe))we.call(Oe,Ie)&&Te(ye,Ie,Oe[Ie]);return ye},Fe=(ye,Oe,Ie)=>new Promise((ve,ie)=>{var E=y=>{try{b(Ie.next(y))}catch(z){ie(z)}},a=y=>{try{b(Ie.throw(y))}catch(z){ie(z)}},b=y=>y.done?ve(y.value):Promise.resolve(y.value).then(E,a);b((Ie=Ie.apply(ye,Oe)).next())});function he(ye,Oe){const[Ie,ve]=(0,x.useState)(Oe),[ie,E]=(0,x.useState)(!1),[a,b]=(0,x.useState)();return[Ie,ie,(z,ee=!1)=>Fe(this,null,function*(){const ne=ee?Oe:oe(oe({},Ie),z);E(!0),ve(ne);const ae=yield ye(ne);return E(!1),b(ae),ae}),a]}},38780:function(vt,dt){"use strict";function te(){const x=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let re=1;re<arguments.length;re++){const Ce=re<0||arguments.length<=re?void 0:arguments[re];Ce&&Object.keys(Ce).forEach(ze=>{const we=Ce[ze];we!==void 0&&(x[ze]=we)})}return x}dt.Z=te},81643:function(vt,dt,te){"use strict";te.d(dt,{Z:function(){return x}});const x=re=>re?typeof re=="function"?re():re:null},66367:function(vt,dt,te){"use strict";te.d(dt,{F:function(){return x},Z:function(){return re}});function x(Ce){return Ce!=null&&Ce===Ce.window}function re(Ce,ze){var we,Te;if(typeof window=="undefined")return 0;const oe=ze?"scrollTop":"scrollLeft";let Fe=0;return x(Ce)?Fe=Ce[ze?"pageYOffset":"pageXOffset"]:Ce instanceof Document?Fe=Ce.documentElement[oe]:(Ce instanceof HTMLElement||Ce)&&(Fe=Ce[oe]),Ce&&!x(Ce)&&typeof Fe!="number"&&(Fe=(Te=((we=Ce.ownerDocument)!==null&&we!==void 0?we:Ce).documentElement)===null||Te===void 0?void 0:Te[oe]),Fe}},57838:function(vt,dt,te){"use strict";te.d(dt,{Z:function(){return re}});var x=te(67294);function re(){const[,Ce]=x.useReducer(ze=>ze+1,0);return Ce}},58375:function(vt,dt,te){"use strict";te.d(dt,{Z:function(){return ze}});var x=te(96523);function re(we,Te,oe,Fe){const he=oe-Te;return we/=Fe/2,we<1?he/2*we*we*we+Te:he/2*((we-=2)*we*we+2)+Te}var Ce=te(66367);function ze(we){let Te=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{getContainer:oe=()=>window,callback:Fe,duration:he=450}=Te,ye=oe(),Oe=(0,Ce.Z)(ye,!0),Ie=Date.now(),ve=()=>{const E=Date.now()-Ie,a=re(E>he?he:E,Oe,we,he);(0,Ce.F)(ye)?ye.scrollTo(window.pageXOffset,a):ye instanceof Document||ye.constructor.name==="HTMLDocument"?ye.documentElement.scrollTop=a:ye.scrollTop=a,E<he?(0,x.Z)(ve):typeof Fe=="function"&&Fe()};(0,x.Z)(ve)}},85546:function(vt,dt,te){"use strict";te.d(dt,{Z:function(){return on}});var x=te(74902),re=te(67294),Ce=te(22751),ze=te(3407),we=te(91034),Te=te(94184),oe=te.n(Te),Fe=te(87462),he=te(97685),ye=te(45987),Oe=te(4942),Ie=te(1413),ve=te(71002);function ie(ce){var me=re.useRef();me.current=ce;var xe=re.useCallback(function(){for(var Ae,He=arguments.length,Qe=new Array(He),ut=0;ut<He;ut++)Qe[ut]=arguments[ut];return(Ae=me.current)===null||Ae===void 0?void 0:Ae.call.apply(Ae,[me].concat(Qe))},[]);return xe}function E(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var a=E()?re.useLayoutEffect:re.useEffect,b=a,y=function(me,xe){var Ae=re.useRef(!0);a(function(){if(!Ae.current)return me()},xe),a(function(){return Ae.current=!1,function(){Ae.current=!0}},[])};function z(ce){var me=re.useRef(!1),xe=re.useState(ce),Ae=(0,he.Z)(xe,2),He=Ae[0],Qe=Ae[1];re.useEffect(function(){return me.current=!1,function(){me.current=!0}},[]);function ut(Dt,Mt){Mt&&me.current||Qe(Dt)}return[He,ut]}function ee(ce){return ce!==void 0}function ne(ce,me){var xe=me||{},Ae=xe.defaultValue,He=xe.value,Qe=xe.onChange,ut=xe.postState,Dt=z(function(){return ee(He)?He:ee(Ae)?typeof Ae=="function"?Ae():Ae:typeof ce=="function"?ce():ce}),Mt=(0,he.Z)(Dt,2),Zt=Mt[0],bt=Mt[1],fn=He!==void 0?He:Zt,Rn=ut?ut(fn):fn,jt=ie(Qe),mn=z([fn]),In=(0,he.Z)(mn,2),Sn=In[0],Kn=In[1];y(function(){var wa=Sn[0];Zt!==wa&&jt(Zt,wa)},[Sn]),y(function(){ee(He)||bt(He)},[He]);var ma=ie(function(wa,ha){bt(wa,ha),Kn([fn],ha)});return[Rn,ma]}var ae={};function le(ce,me){}function de(ce,me){}function fe(){ae={}}function be(ce,me,xe){!me&&!ae[xe]&&(ce(!1,xe),ae[xe]=!0)}function Ee(ce,me){be(le,ce,me)}function pe(ce,me){be(de,ce,me)}var ge=Ee,$e=function(){if(typeof navigator=="undefined"||typeof window=="undefined")return!1;var ce=navigator.userAgent||navigator.vendor||window.opera;return/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(ce)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(ce==null?void 0:ce.substr(0,4))},Be={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(me){var xe=me.keyCode;if(me.altKey&&!me.ctrlKey||me.metaKey||xe>=Be.F1&&xe<=Be.F12)return!1;switch(xe){case Be.ALT:case Be.CAPS_LOCK:case Be.CONTEXT_MENU:case Be.CTRL:case Be.DOWN:case Be.END:case Be.ESC:case Be.HOME:case Be.INSERT:case Be.LEFT:case Be.MAC_FF_META:case Be.META:case Be.NUMLOCK:case Be.NUM_CENTER:case Be.PAGE_DOWN:case Be.PAGE_UP:case Be.PAUSE:case Be.PRINT_SCREEN:case Be.RIGHT:case Be.SHIFT:case Be.UP:case Be.WIN_KEY:case Be.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(me){if(me>=Be.ZERO&&me<=Be.NINE||me>=Be.NUM_ZERO&&me<=Be.NUM_MULTIPLY||me>=Be.A&&me<=Be.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&me===0)return!0;switch(me){case Be.SPACE:case Be.QUESTION_MARK:case Be.NUM_PLUS:case Be.NUM_MINUS:case Be.NUM_PERIOD:case Be.NUM_DIVISION:case Be.SEMICOLON:case Be.DASH:case Be.EQUALS:case Be.COMMA:case Be.PERIOD:case Be.SLASH:case Be.APOSTROPHE:case Be.SINGLE_QUOTE:case Be.OPEN_SQUARE_BRACKET:case Be.BACKSLASH:case Be.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},Le=Be,Re=te(16357);function Ge(ce,me,xe){var Ae=re.useRef({});return(!("value"in Ae.current)||xe(Ae.current.condition,me))&&(Ae.current.value=ce(),Ae.current.condition=me),Ae.current.value}function Ye(ce,me){typeof ce=="function"?ce(me):(0,ve.Z)(ce)==="object"&&ce&&"current"in ce&&(ce.current=me)}function Pt(){for(var ce=arguments.length,me=new Array(ce),xe=0;xe<ce;xe++)me[xe]=arguments[xe];var Ae=me.filter(function(He){return He});return Ae.length<=1?Ae[0]:function(He){me.forEach(function(Qe){Ye(Qe,He)})}}function qe(){for(var ce=arguments.length,me=new Array(ce),xe=0;xe<ce;xe++)me[xe]=arguments[xe];return Ge(function(){return Pt.apply(void 0,me)},me,function(Ae,He){return Ae.length===He.length&&Ae.every(function(Qe,ut){return Qe===He[ut]})})}function at(ce){var me,xe,Ae=isMemo(ce)?ce.type.type:ce.type;return!(typeof Ae=="function"&&!((me=Ae.prototype)!==null&&me!==void 0&&me.render)||typeof ce=="function"&&!((xe=ce.prototype)!==null&&xe!==void 0&&xe.render))}var pt=function(me){var xe=me.className,Ae=me.customizeIcon,He=me.customizeIconProps,Qe=me.onMouseDown,ut=me.onClick,Dt=me.children,Mt;return typeof Ae=="function"?Mt=Ae(He):Mt=Ae,re.createElement("span",{className:xe,onMouseDown:function(bt){bt.preventDefault(),Qe&&Qe(bt)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:ut,"aria-hidden":!0},Mt!==void 0?Mt:re.createElement("span",{className:oe()(xe.split(/\s+/).map(function(Zt){return"".concat(Zt,"-icon")}))},Dt))},_t=pt;function Qt(ce,me,xe,Ae,He){var Qe=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!1,ut=arguments.length>6?arguments[6]:void 0,Dt=arguments.length>7?arguments[7]:void 0,Mt=re.useMemo(function(){if((0,ve.Z)(Ae)==="object")return Ae.clearIcon;if(He)return He},[Ae,He]),Zt=re.useMemo(function(){return!!(!Qe&&Ae&&(xe.length||ut)&&!(Dt==="combobox"&&ut===""))},[Ae,Qe,xe.length,ut,Dt]);return{allowClear:Zt,clearIcon:re.createElement(_t,{className:"".concat(ce,"-clear"),onMouseDown:me,customizeIcon:Mt},"\xD7")}}var Je=re.createContext(null);function xt(){return re.useContext(Je)}function Et(){var ce=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,me=re.useState(!1),xe=(0,he.Z)(me,2),Ae=xe[0],He=xe[1],Qe=re.useRef(null),ut=function(){window.clearTimeout(Qe.current)};re.useEffect(function(){return ut},[]);var Dt=function(Zt,bt){ut(),Qe.current=window.setTimeout(function(){He(Zt),bt&&bt()},ce)};return[Ae,Dt,ut]}function un(){var ce=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250,me=re.useRef(null),xe=re.useRef(null);re.useEffect(function(){return function(){window.clearTimeout(xe.current)}},[]);function Ae(He){(He||me.current===null)&&(me.current=He),window.clearTimeout(xe.current),xe.current=window.setTimeout(function(){me.current=null},ce)}return[function(){return me.current},Ae]}function Bt(ce,me,xe,Ae){var He=re.useRef(null);He.current={open:me,triggerOpen:xe,customizedTrigger:Ae},re.useEffect(function(){function Qe(ut){var Dt;if(!((Dt=He.current)!==null&&Dt!==void 0&&Dt.customizedTrigger)){var Mt=ut.target;Mt.shadowRoot&&ut.composed&&(Mt=ut.composedPath()[0]||Mt),He.current.open&&ce().filter(function(Zt){return Zt}).every(function(Zt){return!Zt.contains(Mt)&&Zt!==Mt})&&He.current.triggerOpen(!1)}}return window.addEventListener("mousedown",Qe),function(){return window.removeEventListener("mousedown",Qe)}},[])}var $t=`accept acceptCharset accessKey action allowFullScreen allowTransparency
alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge
charSet checked classID className colSpan cols content contentEditable contextMenu
controls coords crossOrigin data dateTime default defer dir disabled download draggable
encType form formAction formEncType formMethod formNoValidate formTarget frameBorder
headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity
is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media
mediaGroup method min minLength multiple muted name noValidate nonce open
optimum pattern placeholder poster preload radioGroup readOnly rel required
reversed role rowSpan rows sandbox scope scoped scrolling seamless selected
shape size sizes span spellCheck src srcDoc srcLang srcSet start step style
summary tabIndex target title type useMap value width wmode wrap`,Ne=`onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown
onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick
onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown
onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel
onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough
onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata
onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError`,Tt="".concat($t," ").concat(Ne).split(/[\s\n]+/),an="aria-",Ft="data-";function ct(ce,me){return ce.indexOf(me)===0}function Ct(ce){var me=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,xe;me===!1?xe={aria:!0,data:!0,attr:!0}:me===!0?xe={aria:!0}:xe=(0,Ie.Z)({},me);var Ae={};return Object.keys(ce).forEach(function(He){(xe.aria&&(He==="role"||ct(He,an))||xe.data&&ct(He,Ft)||xe.attr&&Tt.includes(He))&&(Ae[He]=ce[He])}),Ae}var Ze=te(48555);function Me(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var et=Me()?re.useLayoutEffect:re.useEffect,wt=function(me,xe){var Ae=re.useRef(!0);et(function(){return me(Ae.current)},xe),et(function(){return Ae.current=!1,function(){Ae.current=!0}},[])},Ot=function(me,xe){wt(function(Ae){if(!Ae)return me()},xe)},Ut=wt,wn=["prefixCls","invalidate","item","renderItem","responsive","responsiveDisabled","registerSize","itemKey","className","style","children","display","order","component"],An=void 0;function tn(ce,me){var xe=ce.prefixCls,Ae=ce.invalidate,He=ce.item,Qe=ce.renderItem,ut=ce.responsive,Dt=ce.responsiveDisabled,Mt=ce.registerSize,Zt=ce.itemKey,bt=ce.className,fn=ce.style,Rn=ce.children,jt=ce.display,mn=ce.order,In=ce.component,Sn=In===void 0?"div":In,Kn=(0,ye.Z)(ce,wn),ma=ut&&!jt;function wa(La){Mt(Zt,La)}re.useEffect(function(){return function(){wa(null)}},[]);var ha=Qe&&He!==An?Qe(He):Rn,Pa;Ae||(Pa={opacity:ma?0:1,height:ma?0:An,overflowY:ma?"hidden":An,order:ut?mn:An,pointerEvents:ma?"none":An,position:ma?"absolute":An});var aa={};ma&&(aa["aria-hidden"]=!0);var ea=re.createElement(Sn,(0,Fe.Z)({className:oe()(!Ae&&xe,bt),style:(0,Ie.Z)((0,Ie.Z)({},Pa),fn)},aa,Kn,{ref:me}),ha);return ut&&(ea=re.createElement(Ze.Z,{onResize:function(Xn){var Ia=Xn.offsetWidth;wa(Ia)},disabled:Dt},ea)),ea}var Dn=re.forwardRef(tn);Dn.displayName="Item";var _e=Dn;function ot(ce){var me=re.useRef();me.current=ce;var xe=re.useCallback(function(){for(var Ae,He=arguments.length,Qe=new Array(He),ut=0;ut<He;ut++)Qe[ut]=arguments[ut];return(Ae=me.current)===null||Ae===void 0?void 0:Ae.call.apply(Ae,[me].concat(Qe))},[]);return xe}var rn=te(73935),hn=function(me){return+setTimeout(me,16)},lt=function(me){return clearTimeout(me)};typeof window!="undefined"&&"requestAnimationFrame"in window&&(hn=function(me){return window.requestAnimationFrame(me)},lt=function(me){return window.cancelAnimationFrame(me)});var gn=0,qn=new Map;function Gn(ce){qn.delete(ce)}var ua=function(me){var xe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;gn+=1;var Ae=gn;function He(Qe){if(Qe===0)Gn(Ae),me();else{var ut=hn(function(){He(Qe-1)});qn.set(Ae,ut)}}return He(xe),Ae};ua.cancel=function(ce){var me=qn.get(ce);return Gn(me),lt(me)};var cn=ua;function Jt(ce){if(typeof MessageChannel=="undefined")cn(ce);else{var me=new MessageChannel;me.port1.onmessage=function(){return ce()},me.port2.postMessage(void 0)}}function On(){var ce=re.useRef(null),me=function(Ae){ce.current||(ce.current=[],Jt(function(){(0,rn.unstable_batchedUpdates)(function(){ce.current.forEach(function(He){He()}),ce.current=null})})),ce.current.push(Ae)};return me}function ra(ce,me){var xe=re.useState(me),Ae=(0,he.Z)(xe,2),He=Ae[0],Qe=Ae[1],ut=ot(function(Dt){ce(function(){Qe(Dt)})});return[He,ut]}var sa=re.createContext(null),ga=["component"],er=["className"],Ht=["className"],Xt=function(me,xe){var Ae=re.useContext(sa);if(!Ae){var He=me.component,Qe=He===void 0?"div":He,ut=(0,ye.Z)(me,ga);return re.createElement(Qe,(0,Fe.Z)({},ut,{ref:xe}))}var Dt=Ae.className,Mt=(0,ye.Z)(Ae,er),Zt=me.className,bt=(0,ye.Z)(me,Ht);return re.createElement(sa.Provider,{value:null},re.createElement(_e,(0,Fe.Z)({ref:xe,className:oe()(Dt,Zt)},Mt,bt)))},nn=re.forwardRef(Xt);nn.displayName="RawItem";var Vn=nn,Ka=["prefixCls","data","renderItem","renderRawItem","itemKey","itemWidth","ssr","style","className","maxCount","renderRest","renderRawRest","suffix","component","itemComponent","onVisibleChange"],vr="responsive",Or="invalidate";function Va(ce){return"+ ".concat(ce.length," ...")}function Fn(ce,me){var xe=ce.prefixCls,Ae=xe===void 0?"rc-overflow":xe,He=ce.data,Qe=He===void 0?[]:He,ut=ce.renderItem,Dt=ce.renderRawItem,Mt=ce.itemKey,Zt=ce.itemWidth,bt=Zt===void 0?10:Zt,fn=ce.ssr,Rn=ce.style,jt=ce.className,mn=ce.maxCount,In=ce.renderRest,Sn=ce.renderRawRest,Kn=ce.suffix,ma=ce.component,wa=ma===void 0?"div":ma,ha=ce.itemComponent,Pa=ce.onVisibleChange,aa=(0,ye.Z)(ce,Ka),ea=fn==="full",La=On(),Xn=ra(La,null),Ia=(0,he.Z)(Xn,2),Wa=Ia[0],Ar=Ia[1],Nr=Wa||0,hr=ra(La,new Map),ja=(0,he.Z)(hr,2),Sr=ja[0],Ha=ja[1],Na=ra(La,0),$a=(0,he.Z)(Na,2),to=$a[0],it=$a[1],Zn=ra(La,0),Oa=(0,he.Z)(Zn,2),Pn=Oa[0],Yt=Oa[1],Ra=ra(La,0),Wn=(0,he.Z)(Ra,2),pn=Wn[0],Tn=Wn[1],or=(0,re.useState)(null),Ta=(0,he.Z)(or,2),Wr=Ta[0],Dr=Ta[1],Un=(0,re.useState)(null),dr=(0,he.Z)(Un,2),Pr=dr[0],zr=dr[1],jr=re.useMemo(function(){return Pr===null&&ea?Number.MAX_SAFE_INTEGER:Pr||0},[Pr,Wa]),no=(0,re.useState)(!1),Fo=(0,he.Z)(no,2),Qr=Fo[0],Ko=Fo[1],ai="".concat(Ae,"-item"),pi=Math.max(to,Pn),fo=mn===vr,Eo=Qe.length&&fo,ri=mn===Or,Oo=Eo||typeof mn=="number"&&Qe.length>mn,yo=(0,re.useMemo)(function(){var Mr=Qe;return Eo?Wa===null&&ea?Mr=Qe:Mr=Qe.slice(0,Math.min(Qe.length,Nr/bt)):typeof mn=="number"&&(Mr=Qe.slice(0,mn)),Mr},[Qe,bt,Wa,mn,Eo]),gi=(0,re.useMemo)(function(){return Eo?Qe.slice(jr+1):Qe.slice(yo.length)},[Qe,yo,Eo,jr]),oi=(0,re.useCallback)(function(Mr,fa){var tr;return typeof Mt=="function"?Mt(Mr):(tr=Mt&&(Mr==null?void 0:Mr[Mt]))!==null&&tr!==void 0?tr:fa},[Mt]),bi=(0,re.useCallback)(ut||function(Mr){return Mr},[ut]);function No(Mr,fa,tr){Pr===Mr&&(fa===void 0||fa===Wr)||(zr(Mr),tr||(Ko(Mr<Qe.length-1),Pa==null||Pa(Mr)),fa!==void 0&&Dr(fa))}function vo(Mr,fa){Ar(fa.clientWidth)}function Pi(Mr,fa){Ha(function(tr){var cr=new Map(tr);return fa===null?cr.delete(Mr):cr.set(Mr,fa),cr})}function mi(Mr,fa){Yt(fa),it(Pn)}function Yi(Mr,fa){Tn(fa)}function xi(Mr){return Sr.get(oi(yo[Mr],Mr))}Ut(function(){if(Nr&&typeof pi=="number"&&yo){var Mr=pn,fa=yo.length,tr=fa-1;if(!fa){No(0,null);return}for(var cr=0;cr<fa;cr+=1){var Rr=xi(cr);if(ea&&(Rr=Rr||0),Rr===void 0){No(cr-1,void 0,!0);break}if(Mr+=Rr,tr===0&&Mr<=Nr||cr===tr-1&&Mr+xi(tr)<=Nr){No(tr,null);break}else if(Mr+pi>Nr){No(cr-1,Mr-Rr-pn+Pn);break}}Kn&&xi(0)+pn>Nr&&Dr(null)}},[Nr,Sr,Pn,pn,oi,yo]);var qi=Qr&&!!gi.length,wi={};Wr!==null&&Eo&&(wi={position:"absolute",left:Wr,top:0});var Do={prefixCls:ai,responsive:Eo,component:ha,invalidate:ri},Co=Dt?function(Mr,fa){var tr=oi(Mr,fa);return re.createElement(sa.Provider,{key:tr,value:(0,Ie.Z)((0,Ie.Z)({},Do),{},{order:fa,item:Mr,itemKey:tr,registerSize:Pi,display:fa<=jr})},Dt(Mr,fa))}:function(Mr,fa){var tr=oi(Mr,fa);return re.createElement(_e,(0,Fe.Z)({},Do,{order:fa,key:tr,item:Mr,renderItem:bi,itemKey:tr,registerSize:Pi,display:fa<=jr}))},Go,Ei={order:qi?jr:Number.MAX_SAFE_INTEGER,className:"".concat(ai,"-rest"),registerSize:mi,display:qi};if(Sn)Sn&&(Go=re.createElement(sa.Provider,{value:(0,Ie.Z)((0,Ie.Z)({},Do),Ei)},Sn(gi)));else{var ei=In||Va;Go=re.createElement(_e,(0,Fe.Z)({},Do,Ei),typeof ei=="function"?ei(gi):ei)}var Ti=re.createElement(wa,(0,Fe.Z)({className:oe()(!ri&&Ae,jt),style:Rn,ref:me},aa),yo.map(Co),Oo?Go:null,Kn&&re.createElement(_e,(0,Fe.Z)({},Do,{responsive:fo,responsiveDisabled:!Eo,order:jr,className:"".concat(ai,"-suffix"),registerSize:Yi,display:!0,style:wi}),Kn));return fo&&(Ti=re.createElement(Ze.Z,{onResize:vo,disabled:!Eo},Ti)),Ti}var Sa=re.forwardRef(Fn);Sa.displayName="Overflow",Sa.Item=Vn,Sa.RESPONSIVE=vr,Sa.INVALIDATE=Or;var en=Sa,Cn=en,Ln=function(me,xe){var Ae,He,Qe=me.prefixCls,ut=me.id,Dt=me.inputElement,Mt=me.disabled,Zt=me.tabIndex,bt=me.autoFocus,fn=me.autoComplete,Rn=me.editable,jt=me.activeDescendantId,mn=me.value,In=me.maxLength,Sn=me.onKeyDown,Kn=me.onMouseDown,ma=me.onChange,wa=me.onPaste,ha=me.onCompositionStart,Pa=me.onCompositionEnd,aa=me.open,ea=me.attrs,La=Dt||re.createElement("input",null),Xn=La,Ia=Xn.ref,Wa=Xn.props,Ar=Wa.onKeyDown,Nr=Wa.onChange,hr=Wa.onMouseDown,ja=Wa.onCompositionStart,Sr=Wa.onCompositionEnd,Ha=Wa.style;return"maxLength"in La.props,La=re.cloneElement(La,(0,Ie.Z)((0,Ie.Z)((0,Ie.Z)({type:"search"},Wa),{},{id:ut,ref:Pt(xe,Ia),disabled:Mt,tabIndex:Zt,autoComplete:fn||"off",autoFocus:bt,className:oe()("".concat(Qe,"-selection-search-input"),(Ae=La)===null||Ae===void 0||(He=Ae.props)===null||He===void 0?void 0:He.className),role:"combobox","aria-label":"Search","aria-expanded":aa||!1,"aria-haspopup":"listbox","aria-owns":"".concat(ut,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(ut,"_list"),"aria-activedescendant":aa?jt:void 0},ea),{},{value:Rn?mn:"",maxLength:In,readOnly:!Rn,unselectable:Rn?null:"on",style:(0,Ie.Z)((0,Ie.Z)({},Ha),{},{opacity:Rn?null:0}),onKeyDown:function($a){Sn($a),Ar&&Ar($a)},onMouseDown:function($a){Kn($a),hr&&hr($a)},onChange:function($a){ma($a),Nr&&Nr($a)},onCompositionStart:function($a){ha($a),ja&&ja($a)},onCompositionEnd:function($a){Pa($a),Sr&&Sr($a)},onPaste:wa})),La},Mn=re.forwardRef(Ln);Mn.displayName="Input";var ur=Mn;function Ba(ce){return Array.isArray(ce)?ce:ce!==void 0?[ce]:[]}var Nn=typeof window!="undefined"&&window.document&&window.document.documentElement,gt=Nn;function St(ce){return ce!=null}function mt(ce){return!ce&&ce!==0}function kt(ce){return["string","number"].includes((0,ve.Z)(ce))}function ln(ce){var me=void 0;return ce&&(kt(ce.title)?me=ce.title.toString():kt(ce.label)&&(me=ce.label.toString())),me}function zn(ce,me){gt?re.useLayoutEffect(ce,me):re.useEffect(ce,me)}function ya(ce){var me;return(me=ce.key)!==null&&me!==void 0?me:ce.value}var oa=function(me){me.preventDefault(),me.stopPropagation()},Da=function(me){var xe=me.id,Ae=me.prefixCls,He=me.values,Qe=me.open,ut=me.searchValue,Dt=me.autoClearSearchValue,Mt=me.inputRef,Zt=me.placeholder,bt=me.disabled,fn=me.mode,Rn=me.showSearch,jt=me.autoFocus,mn=me.autoComplete,In=me.activeDescendantId,Sn=me.tabIndex,Kn=me.removeIcon,ma=me.maxTagCount,wa=me.maxTagTextLength,ha=me.maxTagPlaceholder,Pa=ha===void 0?function(Dr){return"+ ".concat(Dr.length," ...")}:ha,aa=me.tagRender,ea=me.onToggleOpen,La=me.onRemove,Xn=me.onInputChange,Ia=me.onInputPaste,Wa=me.onInputKeyDown,Ar=me.onInputMouseDown,Nr=me.onInputCompositionStart,hr=me.onInputCompositionEnd,ja=re.useRef(null),Sr=(0,re.useState)(0),Ha=(0,he.Z)(Sr,2),Na=Ha[0],$a=Ha[1],to=(0,re.useState)(!1),it=(0,he.Z)(to,2),Zn=it[0],Oa=it[1],Pn="".concat(Ae,"-selection"),Yt=Qe||fn==="multiple"&&Dt===!1||fn==="tags"?ut:"",Ra=fn==="tags"||fn==="multiple"&&Dt===!1||Rn&&(Qe||Zn);zn(function(){$a(ja.current.scrollWidth)},[Yt]);function Wn(Dr,Un,dr,Pr,zr){return re.createElement("span",{className:oe()("".concat(Pn,"-item"),(0,Oe.Z)({},"".concat(Pn,"-item-disabled"),dr)),title:ln(Dr)},re.createElement("span",{className:"".concat(Pn,"-item-content")},Un),Pr&&re.createElement(_t,{className:"".concat(Pn,"-item-remove"),onMouseDown:oa,onClick:zr,customizeIcon:Kn},"\xD7"))}function pn(Dr,Un,dr,Pr,zr){var jr=function(Fo){oa(Fo),ea(!Qe)};return re.createElement("span",{onMouseDown:jr},aa({label:Un,value:Dr,disabled:dr,closable:Pr,onClose:zr}))}function Tn(Dr){var Un=Dr.disabled,dr=Dr.label,Pr=Dr.value,zr=!bt&&!Un,jr=dr;if(typeof wa=="number"&&(typeof dr=="string"||typeof dr=="number")){var no=String(jr);no.length>wa&&(jr="".concat(no.slice(0,wa),"..."))}var Fo=function(Ko){Ko&&Ko.stopPropagation(),La(Dr)};return typeof aa=="function"?pn(Pr,jr,Un,zr,Fo):Wn(Dr,jr,Un,zr,Fo)}function or(Dr){var Un=typeof Pa=="function"?Pa(Dr):Pa;return Wn({title:Un},Un,!1)}var Ta=re.createElement("div",{className:"".concat(Pn,"-search"),style:{width:Na},onFocus:function(){Oa(!0)},onBlur:function(){Oa(!1)}},re.createElement(ur,{ref:Mt,open:Qe,prefixCls:Ae,id:xe,inputElement:null,disabled:bt,autoFocus:jt,autoComplete:mn,editable:Ra,activeDescendantId:In,value:Yt,onKeyDown:Wa,onMouseDown:Ar,onChange:Xn,onPaste:Ia,onCompositionStart:Nr,onCompositionEnd:hr,tabIndex:Sn,attrs:Ct(me,!0)}),re.createElement("span",{ref:ja,className:"".concat(Pn,"-search-mirror"),"aria-hidden":!0},Yt,"\xA0")),Wr=re.createElement(Cn,{prefixCls:"".concat(Pn,"-overflow"),data:He,renderItem:Tn,renderRest:or,suffix:Ta,itemKey:ya,maxCount:ma});return re.createElement(re.Fragment,null,Wr,!He.length&&!Yt&&re.createElement("span",{className:"".concat(Pn,"-placeholder")},Zt))},Za=Da,Yr=function(me){var xe=me.inputElement,Ae=me.prefixCls,He=me.id,Qe=me.inputRef,ut=me.disabled,Dt=me.autoFocus,Mt=me.autoComplete,Zt=me.activeDescendantId,bt=me.mode,fn=me.open,Rn=me.values,jt=me.placeholder,mn=me.tabIndex,In=me.showSearch,Sn=me.searchValue,Kn=me.activeValue,ma=me.maxLength,wa=me.onInputKeyDown,ha=me.onInputMouseDown,Pa=me.onInputChange,aa=me.onInputPaste,ea=me.onInputCompositionStart,La=me.onInputCompositionEnd,Xn=me.title,Ia=re.useState(!1),Wa=(0,he.Z)(Ia,2),Ar=Wa[0],Nr=Wa[1],hr=bt==="combobox",ja=hr||In,Sr=Rn[0],Ha=Sn||"";hr&&Kn&&!Ar&&(Ha=Kn),re.useEffect(function(){hr&&Nr(!1)},[hr,Kn]);var Na=bt!=="combobox"&&!fn&&!In?!1:!!Ha,$a=Xn===void 0?ln(Sr):Xn,to=function(){if(Sr)return null;var Zn=Na?{visibility:"hidden"}:void 0;return re.createElement("span",{className:"".concat(Ae,"-selection-placeholder"),style:Zn},jt)};return re.createElement(re.Fragment,null,re.createElement("span",{className:"".concat(Ae,"-selection-search")},re.createElement(ur,{ref:Qe,prefixCls:Ae,id:He,open:fn,inputElement:xe,disabled:ut,autoFocus:Dt,autoComplete:Mt,editable:ja,activeDescendantId:Zt,value:Ha,onKeyDown:wa,onMouseDown:ha,onChange:function(Zn){Nr(!0),Pa(Zn)},onPaste:aa,onCompositionStart:ea,onCompositionEnd:La,tabIndex:mn,attrs:Ct(me,!0),maxLength:hr?ma:void 0})),!hr&&Sr?re.createElement("span",{className:"".concat(Ae,"-selection-item"),title:$a,style:Na?{visibility:"hidden"}:void 0},Sr.label):null,to())},jn=Yr;function Ir(ce){return![Le.ESC,Le.SHIFT,Le.BACKSPACE,Le.TAB,Le.WIN_KEY,Le.ALT,Le.META,Le.WIN_KEY_RIGHT,Le.CTRL,Le.SEMICOLON,Le.EQUALS,Le.CAPS_LOCK,Le.CONTEXT_MENU,Le.F1,Le.F2,Le.F3,Le.F4,Le.F5,Le.F6,Le.F7,Le.F8,Le.F9,Le.F10,Le.F11,Le.F12].includes(ce)}var Mo=function(me,xe){var Ae=(0,re.useRef)(null),He=(0,re.useRef)(!1),Qe=me.prefixCls,ut=me.open,Dt=me.mode,Mt=me.showSearch,Zt=me.tokenWithEnter,bt=me.autoClearSearchValue,fn=me.onSearch,Rn=me.onSearchSubmit,jt=me.onToggleOpen,mn=me.onInputKeyDown,In=me.domRef;re.useImperativeHandle(xe,function(){return{focus:function(){Ae.current.focus()},blur:function(){Ae.current.blur()}}});var Sn=un(0),Kn=(0,he.Z)(Sn,2),ma=Kn[0],wa=Kn[1],ha=function(Ha){var Na=Ha.which;(Na===Le.UP||Na===Le.DOWN)&&Ha.preventDefault(),mn&&mn(Ha),Na===Le.ENTER&&Dt==="tags"&&!He.current&&!ut&&(Rn==null||Rn(Ha.target.value)),Ir(Na)&&jt(!0)},Pa=function(){wa(!0)},aa=(0,re.useRef)(null),ea=function(Ha){fn(Ha,!0,He.current)!==!1&&jt(!0)},La=function(){He.current=!0},Xn=function(Ha){He.current=!1,Dt!=="combobox"&&ea(Ha.target.value)},Ia=function(Ha){var Na=Ha.target.value;if(Zt&&aa.current&&/[\r\n]/.test(aa.current)){var $a=aa.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");Na=Na.replace($a,aa.current)}aa.current=null,ea(Na)},Wa=function(Ha){var Na=Ha.clipboardData,$a=Na.getData("text");aa.current=$a},Ar=function(Ha){var Na=Ha.target;if(Na!==Ae.current){var $a=document.body.style.msTouchAction!==void 0;$a?setTimeout(function(){Ae.current.focus()}):Ae.current.focus()}},Nr=function(Ha){var Na=ma();Ha.target!==Ae.current&&!Na&&Dt!=="combobox"&&Ha.preventDefault(),(Dt!=="combobox"&&(!Mt||!Na)||!ut)&&(ut&&bt!==!1&&fn("",!0,!1),jt())},hr={inputRef:Ae,onInputKeyDown:ha,onInputMouseDown:Pa,onInputChange:Ia,onInputPaste:Wa,onInputCompositionStart:La,onInputCompositionEnd:Xn},ja=Dt==="multiple"||Dt==="tags"?re.createElement(Za,(0,Fe.Z)({},me,hr)):re.createElement(jn,(0,Fe.Z)({},me,hr));return re.createElement("div",{ref:In,className:"".concat(Qe,"-selector"),onClick:Ar,onMouseDown:Nr},ja)},Jo=re.forwardRef(Mo);Jo.displayName="Selector";var Ja=Jo,mo=te(62709),Ai=["prefixCls","disabled","visible","children","popupElement","animation","transitionName","dropdownStyle","dropdownClassName","direction","placement","builtinPlacements","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode","onPopupVisibleChange","onPopupMouseEnter"],qr=function(me){var xe=me===!0?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:xe,adjustY:1},htmlRegion:"scroll"},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:xe,adjustY:1},htmlRegion:"scroll"},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:xe,adjustY:1},htmlRegion:"scroll"},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:xe,adjustY:1},htmlRegion:"scroll"}}},ki=function(me,xe){var Ae=me.prefixCls,He=me.disabled,Qe=me.visible,ut=me.children,Dt=me.popupElement,Mt=me.animation,Zt=me.transitionName,bt=me.dropdownStyle,fn=me.dropdownClassName,Rn=me.direction,jt=Rn===void 0?"ltr":Rn,mn=me.placement,In=me.builtinPlacements,Sn=me.dropdownMatchSelectWidth,Kn=me.dropdownRender,ma=me.dropdownAlign,wa=me.getPopupContainer,ha=me.empty,Pa=me.getTriggerDOMNode,aa=me.onPopupVisibleChange,ea=me.onPopupMouseEnter,La=(0,ye.Z)(me,Ai),Xn="".concat(Ae,"-dropdown"),Ia=Dt;Kn&&(Ia=Kn(Dt));var Wa=re.useMemo(function(){return In||qr(Sn)},[In,Sn]),Ar=Mt?"".concat(Xn,"-").concat(Mt):Zt,Nr=typeof Sn=="number",hr=re.useMemo(function(){return Nr?null:Sn===!1?"minWidth":"width"},[Sn,Nr]),ja=bt;Nr&&(ja=(0,Ie.Z)((0,Ie.Z)({},ja),{},{width:Sn}));var Sr=re.useRef(null);return re.useImperativeHandle(xe,function(){return{getPopupElement:function(){return Sr.current}}}),re.createElement(mo.Z,(0,Fe.Z)({},La,{showAction:aa?["click"]:[],hideAction:aa?["click"]:[],popupPlacement:mn||(jt==="rtl"?"bottomRight":"bottomLeft"),builtinPlacements:Wa,prefixCls:Xn,popupTransitionName:Ar,popup:re.createElement("div",{ref:Sr,onMouseEnter:ea},Ia),stretch:hr,popupAlign:ma,popupVisible:Qe,getPopupContainer:wa,popupClassName:oe()(fn,(0,Oe.Z)({},"".concat(Xn,"-empty"),ha)),popupStyle:ja,getTriggerDOMNode:Pa,onPopupVisibleChange:aa}),ut)},yi=re.forwardRef(ki);yi.displayName="SelectTrigger";var di=yi,Wo=te(84506);function Zi(ce,me){var xe=ce.key,Ae;return"value"in ce&&(Ae=ce.value),xe!=null?xe:Ae!==void 0?Ae:"rc-index-key-".concat(me)}function Ci(ce,me){var xe=ce||{},Ae=xe.label,He=xe.value,Qe=xe.options,ut=xe.groupLabel,Dt=Ae||(me?"children":"label");return{label:Dt,value:He||"value",options:Qe||"options",groupLabel:ut||Dt}}function Pl(ce){var me=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},xe=me.fieldNames,Ae=me.childrenAsData,He=[],Qe=Ci(xe,!1),ut=Qe.label,Dt=Qe.value,Mt=Qe.options,Zt=Qe.groupLabel;function bt(fn,Rn){fn.forEach(function(jt){if(Rn||!(Mt in jt)){var mn=jt[Dt];He.push({key:Zi(jt,He.length),groupOption:Rn,data:jt,label:jt[ut],value:mn})}else{var In=jt[Zt];In===void 0&&Ae&&(In=jt.label),He.push({key:Zi(jt,He.length),group:!0,data:jt,label:In}),bt(jt[Mt],!0)}})}return bt(ce,!1),He}function Qn(ce){var me=(0,Ie.Z)({},ce);return"props"in me||Object.defineProperty(me,"props",{get:function(){return ge(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),me}}),me}function bl(ce,me){if(!me||!me.length)return null;var xe=!1;function Ae(Qe,ut){var Dt=(0,Wo.Z)(ut),Mt=Dt[0],Zt=Dt.slice(1);if(!Mt)return[Qe];var bt=Qe.split(Mt);return xe=xe||bt.length>1,bt.reduce(function(fn,Rn){return[].concat((0,x.Z)(fn),(0,x.Z)(Ae(Rn,Zt)))},[]).filter(function(fn){return fn})}var He=Ae(ce,me);return xe?He:null}var Li=["id","prefixCls","className","showSearch","tagRender","direction","omitDomProps","displayValues","onDisplayValuesChange","emptyOptions","notFoundContent","onClear","mode","disabled","loading","getInputElement","getRawInputElement","open","defaultOpen","onDropdownVisibleChange","activeValue","onActiveValueChange","activeDescendantId","searchValue","autoClearSearchValue","onSearch","onSearchSplit","tokenSeparators","allowClear","suffixIcon","clearIcon","OptionList","animation","transitionName","dropdownStyle","dropdownClassName","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","placement","builtinPlacements","getPopupContainer","showAction","onFocus","onBlur","onKeyUp","onKeyDown","onMouseDown"],lo=["value","onChange","removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabIndex"];function so(ce){return ce==="tags"||ce==="multiple"}var pa=re.forwardRef(function(ce,me){var xe,Ae,He=ce.id,Qe=ce.prefixCls,ut=ce.className,Dt=ce.showSearch,Mt=ce.tagRender,Zt=ce.direction,bt=ce.omitDomProps,fn=ce.displayValues,Rn=ce.onDisplayValuesChange,jt=ce.emptyOptions,mn=ce.notFoundContent,In=mn===void 0?"Not Found":mn,Sn=ce.onClear,Kn=ce.mode,ma=ce.disabled,wa=ce.loading,ha=ce.getInputElement,Pa=ce.getRawInputElement,aa=ce.open,ea=ce.defaultOpen,La=ce.onDropdownVisibleChange,Xn=ce.activeValue,Ia=ce.onActiveValueChange,Wa=ce.activeDescendantId,Ar=ce.searchValue,Nr=ce.autoClearSearchValue,hr=ce.onSearch,ja=ce.onSearchSplit,Sr=ce.tokenSeparators,Ha=ce.allowClear,Na=ce.suffixIcon,$a=ce.clearIcon,to=ce.OptionList,it=ce.animation,Zn=ce.transitionName,Oa=ce.dropdownStyle,Pn=ce.dropdownClassName,Yt=ce.dropdownMatchSelectWidth,Ra=ce.dropdownRender,Wn=ce.dropdownAlign,pn=ce.placement,Tn=ce.builtinPlacements,or=ce.getPopupContainer,Ta=ce.showAction,Wr=Ta===void 0?[]:Ta,Dr=ce.onFocus,Un=ce.onBlur,dr=ce.onKeyUp,Pr=ce.onKeyDown,zr=ce.onMouseDown,jr=(0,ye.Z)(ce,Li),no=so(Kn),Fo=(Dt!==void 0?Dt:no)||Kn==="combobox",Qr=(0,Ie.Z)({},jr);lo.forEach(function(na){delete Qr[na]}),bt==null||bt.forEach(function(na){delete Qr[na]});var Ko=re.useState(!1),ai=(0,he.Z)(Ko,2),pi=ai[0],fo=ai[1];re.useEffect(function(){fo($e())},[]);var Eo=re.useRef(null),ri=re.useRef(null),Oo=re.useRef(null),yo=re.useRef(null),gi=re.useRef(null),oi=Et(),bi=(0,he.Z)(oi,3),No=bi[0],vo=bi[1],Pi=bi[2];re.useImperativeHandle(me,function(){var na,kn;return{focus:(na=yo.current)===null||na===void 0?void 0:na.focus,blur:(kn=yo.current)===null||kn===void 0?void 0:kn.blur,scrollTo:function(Fa){var Aa;return(Aa=gi.current)===null||Aa===void 0?void 0:Aa.scrollTo(Fa)}}});var mi=re.useMemo(function(){var na;if(Kn!=="combobox")return Ar;var kn=(na=fn[0])===null||na===void 0?void 0:na.value;return typeof kn=="string"||typeof kn=="number"?String(kn):""},[Ar,Kn,fn]),Yi=Kn==="combobox"&&typeof ha=="function"&&ha()||null,xi=typeof Pa=="function"&&Pa(),qi=qe(ri,xi==null||(xe=xi.props)===null||xe===void 0?void 0:xe.ref),wi=re.useState(!1),Do=(0,he.Z)(wi,2),Co=Do[0],Go=Do[1];b(function(){Go(!0)},[]);var Ei=ne(!1,{defaultValue:ea,value:aa}),ei=(0,he.Z)(Ei,2),Ti=ei[0],Mr=ei[1],fa=Co?Ti:!1,tr=!In&&jt;(ma||tr&&fa&&Kn==="combobox")&&(fa=!1);var cr=tr?!1:fa,Rr=re.useCallback(function(na){var kn=na!==void 0?na:!fa;ma||(Mr(kn),fa!==kn&&(La==null||La(kn)))},[ma,fa,Mr,La]),To=re.useMemo(function(){return(Sr||[]).some(function(na){return[`
`,`\r
`].includes(na)})},[Sr]),bo=function(kn,la,Fa){var Aa=!0,Er=kn;Ia==null||Ia(null);var yr=Fa?null:bl(kn,Sr);return Kn!=="combobox"&&yr&&(Er="",ja==null||ja(yr),Rr(!1),Aa=!1),hr&&mi!==Er&&hr(Er,{source:la?"typing":"effect"}),Aa},fi=function(kn){!kn||!kn.trim()||hr(kn,{source:"submit"})};re.useEffect(function(){!fa&&!no&&Kn!=="combobox"&&bo("",!1,!1)},[fa]),re.useEffect(function(){Ti&&ma&&Mr(!1),ma&&vo(!1)},[ma]);var _o=un(),Qi=(0,he.Z)(_o,2),ue=Qi[0],se=Qi[1],Pe=function(kn){var la=ue(),Fa=kn.which;if(Fa===Le.ENTER&&(Kn!=="combobox"&&kn.preventDefault(),fa||Rr(!0)),se(!!mi),Fa===Le.BACKSPACE&&!la&&no&&!mi&&fn.length){for(var Aa=(0,x.Z)(fn),Er=null,yr=Aa.length-1;yr>=0;yr-=1){var ar=Aa[yr];if(!ar.disabled){Aa.splice(yr,1),Er=ar;break}}Er&&Rn(Aa,{type:"remove",values:[Er]})}for(var kr=arguments.length,Ur=new Array(kr>1?kr-1:0),ro=1;ro<kr;ro++)Ur[ro-1]=arguments[ro];if(fa&&gi.current){var io;(io=gi.current).onKeyDown.apply(io,[kn].concat(Ur))}Pr==null||Pr.apply(void 0,[kn].concat(Ur))},De=function(kn){for(var la=arguments.length,Fa=new Array(la>1?la-1:0),Aa=1;Aa<la;Aa++)Fa[Aa-1]=arguments[Aa];if(fa&&gi.current){var Er;(Er=gi.current).onKeyUp.apply(Er,[kn].concat(Fa))}dr==null||dr.apply(void 0,[kn].concat(Fa))},We=function(kn){var la=fn.filter(function(Fa){return Fa!==kn});Rn(la,{type:"remove",values:[kn]})},Ve=re.useRef(!1),rt=function(){vo(!0),ma||(Dr&&!Ve.current&&Dr.apply(void 0,arguments),Wr.includes("focus")&&Rr(!0)),Ve.current=!0},ht=function(){vo(!1,function(){Ve.current=!1,Rr(!1)}),!ma&&(mi&&(Kn==="tags"?hr(mi,{source:"submit"}):Kn==="multiple"&&hr("",{source:"blur"})),Un&&Un.apply(void 0,arguments))},st=[];re.useEffect(function(){return function(){st.forEach(function(na){return clearTimeout(na)}),st.splice(0,st.length)}},[]);var Nt=function(kn){var la,Fa=kn.target,Aa=(la=Oo.current)===null||la===void 0?void 0:la.getPopupElement();if(Aa&&Aa.contains(Fa)){var Er=setTimeout(function(){var Ur=st.indexOf(Er);if(Ur!==-1&&st.splice(Ur,1),Pi(),!pi&&!Aa.contains(document.activeElement)){var ro;(ro=yo.current)===null||ro===void 0||ro.focus()}});st.push(Er)}for(var yr=arguments.length,ar=new Array(yr>1?yr-1:0),kr=1;kr<yr;kr++)ar[kr-1]=arguments[kr];zr==null||zr.apply(void 0,[kn].concat(ar))},Wt=re.useState({}),Rt=(0,he.Z)(Wt,2),En=Rt[1];function yn(){En({})}var bn;xi&&(bn=function(kn){Rr(kn)}),Bt(function(){var na;return[Eo.current,(na=Oo.current)===null||na===void 0?void 0:na.getPopupElement()]},cr,Rr,!!xi);var ca=re.useMemo(function(){return(0,Ie.Z)((0,Ie.Z)({},ce),{},{notFoundContent:In,open:fa,triggerOpen:cr,id:He,showSearch:Fo,multiple:no,toggleOpen:Rr})},[ce,In,cr,fa,He,Fo,no,Rr]),Yn=!!Na||wa,va;Yn&&(va=re.createElement(_t,{className:oe()("".concat(Qe,"-arrow"),(0,Oe.Z)({},"".concat(Qe,"-arrow-loading"),wa)),customizeIcon:Na,customizeIconProps:{loading:wa,searchValue:mi,open:fa,focused:No,showSearch:Fo}}));var ia=function(){var kn;Sn==null||Sn(),(kn=yo.current)===null||kn===void 0||kn.focus(),Rn([],{type:"clear",values:fn}),bo("",!1,!1)},Ca=Qt(Qe,ia,fn,Ha,$a,ma,mi,Kn),nr=Ca.allowClear,mr=Ca.clearIcon,Ua=re.createElement(to,{ref:gi}),Tr=oe()(Qe,ut,(Ae={},(0,Oe.Z)(Ae,"".concat(Qe,"-focused"),No),(0,Oe.Z)(Ae,"".concat(Qe,"-multiple"),no),(0,Oe.Z)(Ae,"".concat(Qe,"-single"),!no),(0,Oe.Z)(Ae,"".concat(Qe,"-allow-clear"),Ha),(0,Oe.Z)(Ae,"".concat(Qe,"-show-arrow"),Yn),(0,Oe.Z)(Ae,"".concat(Qe,"-disabled"),ma),(0,Oe.Z)(Ae,"".concat(Qe,"-loading"),wa),(0,Oe.Z)(Ae,"".concat(Qe,"-open"),fa),(0,Oe.Z)(Ae,"".concat(Qe,"-customize-input"),Yi),(0,Oe.Z)(Ae,"".concat(Qe,"-show-search"),Fo),Ae)),_r=re.createElement(di,{ref:Oo,disabled:ma,prefixCls:Qe,visible:cr,popupElement:Ua,animation:it,transitionName:Zn,dropdownStyle:Oa,dropdownClassName:Pn,direction:Zt,dropdownMatchSelectWidth:Yt,dropdownRender:Ra,dropdownAlign:Wn,placement:pn,builtinPlacements:Tn,getPopupContainer:or,empty:jt,getTriggerDOMNode:function(){return ri.current},onPopupVisibleChange:bn,onPopupMouseEnter:yn},xi?re.cloneElement(xi,{ref:qi}):re.createElement(Ja,(0,Fe.Z)({},ce,{domRef:ri,prefixCls:Qe,inputElement:Yi,ref:yo,id:He,showSearch:Fo,autoClearSearchValue:Nr,mode:Kn,activeDescendantId:Wa,tagRender:Mt,values:fn,open:fa,onToggleOpen:Rr,activeValue:Xn,searchValue:mi,onSearch:bo,onSearchSubmit:fi,onRemove:We,tokenWithEnter:To}))),ka;return xi?ka=_r:ka=re.createElement("div",(0,Fe.Z)({className:Tr},Qr,{ref:Eo,onMouseDown:Nt,onKeyDown:Pe,onKeyUp:De,onFocus:rt,onBlur:ht}),No&&!fa&&re.createElement("span",{style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0},"aria-live":"polite"},"".concat(fn.map(function(na){var kn=na.label,la=na.value;return["number","string"].includes((0,ve.Z)(kn))?kn:la}).join(", "))),_r,va,nr&&mr),re.createElement(Je.Provider,{value:ca},ka)}),ir=pa,$r=function(ce,me){var xe=re.useRef({values:new Map,options:new Map}),Ae=re.useMemo(function(){var Qe=xe.current,ut=Qe.values,Dt=Qe.options,Mt=ce.map(function(fn){if(fn.label===void 0){var Rn;return(0,Ie.Z)((0,Ie.Z)({},fn),{},{label:(Rn=ut.get(fn.value))===null||Rn===void 0?void 0:Rn.label})}return fn}),Zt=new Map,bt=new Map;return Mt.forEach(function(fn){Zt.set(fn.value,fn),bt.set(fn.value,me.get(fn.value)||Dt.get(fn.value))}),xe.current.values=Zt,xe.current.options=bt,Mt},[ce,me]),He=re.useCallback(function(Qe){return me.get(Qe)||xe.current.options.get(Qe)},[me]);return[Ae,He]};function Xa(ce,me){return Ba(ce).join("").toUpperCase().includes(me)}var Ao=function(ce,me,xe,Ae,He){return re.useMemo(function(){if(!xe||Ae===!1)return ce;var Qe=me.options,ut=me.label,Dt=me.value,Mt=[],Zt=typeof Ae=="function",bt=xe.toUpperCase(),fn=Zt?Ae:function(jt,mn){return He?Xa(mn[He],bt):mn[Qe]?Xa(mn[ut!=="children"?ut:"label"],bt):Xa(mn[Dt],bt)},Rn=Zt?function(jt){return Qn(jt)}:function(jt){return jt};return ce.forEach(function(jt){if(jt[Qe]){var mn=fn(xe,Rn(jt));if(mn)Mt.push(jt);else{var In=jt[Qe].filter(function(Sn){return fn(xe,Rn(Sn))});In.length&&Mt.push((0,Ie.Z)((0,Ie.Z)({},jt),{},(0,Oe.Z)({},Qe,In)))}return}fn(xe,Rn(jt))&&Mt.push(jt)}),Mt},[ce,Ae,He,xe,me])},Ro=0,qo=E();function Xo(){var ce;return qo?(ce=Ro,Ro+=1):ce="TEST_OR_SSR",ce}function ni(ce){var me=re.useState(),xe=(0,he.Z)(me,2),Ae=xe[0],He=xe[1];return re.useEffect(function(){He("rc_select_".concat(Xo()))},[]),ce||Ae}function al(ce){var me=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},xe=[];return re.Children.forEach(ce,function(Ae){Ae==null&&!me.keepEmpty||(Array.isArray(Ae)?xe=xe.concat(al(Ae)):(0,Re.isFragment)(Ae)&&Ae.props?xe=xe.concat(al(Ae.props.children,me)):xe.push(Ae))}),xe}var ci=["children","value"],xl=["children"];function jl(ce){var me=ce,xe=me.key,Ae=me.props,He=Ae.children,Qe=Ae.value,ut=(0,ye.Z)(Ae,ci);return(0,Ie.Z)({key:xe,value:Qe!==void 0?Qe:xe,children:He},ut)}function Kr(ce){var me=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return al(ce).map(function(xe,Ae){if(!re.isValidElement(xe)||!xe.type)return null;var He=xe,Qe=He.type.isSelectOptGroup,ut=He.key,Dt=He.props,Mt=Dt.children,Zt=(0,ye.Z)(Dt,xl);return me||!Qe?jl(xe):(0,Ie.Z)((0,Ie.Z)({key:"__RC_SELECT_GRP__".concat(ut===null?Ae:ut,"__"),label:ut},Zt),{},{options:Kr(Mt)})}).filter(function(xe){return xe})}function cl(ce,me,xe,Ae,He){return re.useMemo(function(){var Qe=ce,ut=!ce;ut&&(Qe=Kr(me));var Dt=new Map,Mt=new Map,Zt=function(Rn,jt,mn){mn&&typeof mn=="string"&&Rn.set(jt[mn],jt)};function bt(fn){for(var Rn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,jt=0;jt<fn.length;jt+=1){var mn=fn[jt];!mn[xe.options]||Rn?(Dt.set(mn[xe.value],mn),Zt(Mt,mn,xe.label),Zt(Mt,mn,Ae),Zt(Mt,mn,He)):bt(mn[xe.options],!0)}}return bt(Qe),{options:Qe,valueOptions:Dt,labelOptions:Mt}},[ce,me,xe,Ae,He])}function gl(ce){var me=re.useRef();me.current=ce;var xe=re.useCallback(function(){return me.current.apply(me,arguments)},[]);return xe}var ml=function(){return null};ml.isSelectOptGroup=!0;var rl=ml,ji=function(){return null};ji.isSelectOption=!0;var ol=ji;function Wi(ce,me){var xe=(0,Ie.Z)({},ce);return Array.isArray(me)&&me.forEach(function(Ae){delete xe[Ae]}),xe}var Ui=te(73299),It=re.createContext(null),Gt=It;function vn(){return/(mac\sos|macintosh)/i.test(navigator.appVersion)}var Ue=["disabled","title","children","style","className"];function qt(ce){return typeof ce=="string"||typeof ce=="number"}var $n=function(me,xe){var Ae=xt(),He=Ae.prefixCls,Qe=Ae.id,ut=Ae.open,Dt=Ae.multiple,Mt=Ae.mode,Zt=Ae.searchValue,bt=Ae.toggleOpen,fn=Ae.notFoundContent,Rn=Ae.onPopupScroll,jt=re.useContext(Gt),mn=jt.flattenOptions,In=jt.onActiveValue,Sn=jt.defaultActiveFirstOption,Kn=jt.onSelect,ma=jt.menuItemSelectedIcon,wa=jt.rawValues,ha=jt.fieldNames,Pa=jt.virtual,aa=jt.direction,ea=jt.listHeight,La=jt.listItemHeight,Xn="".concat(He,"-item"),Ia=Ge(function(){return mn},[ut,mn],function(Wn,pn){return pn[0]&&Wn[1]!==pn[1]}),Wa=re.useRef(null),Ar=function(pn){pn.preventDefault()},Nr=function(pn){Wa.current&&Wa.current.scrollTo(typeof pn=="number"?{index:pn}:pn)},hr=function(pn){for(var Tn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,or=Ia.length,Ta=0;Ta<or;Ta+=1){var Wr=(pn+Ta*Tn+or)%or,Dr=Ia[Wr],Un=Dr.group,dr=Dr.data;if(!Un&&!dr.disabled)return Wr}return-1},ja=re.useState(function(){return hr(0)}),Sr=(0,he.Z)(ja,2),Ha=Sr[0],Na=Sr[1],$a=function(pn){var Tn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;Na(pn);var or={source:Tn?"keyboard":"mouse"},Ta=Ia[pn];if(!Ta){In(null,-1,or);return}In(Ta.value,pn,or)};(0,re.useEffect)(function(){$a(Sn!==!1?hr(0):-1)},[Ia.length,Zt]);var to=re.useCallback(function(Wn){return wa.has(Wn)&&Mt!=="combobox"},[Mt,(0,x.Z)(wa).toString(),wa.size]);(0,re.useEffect)(function(){var Wn=setTimeout(function(){if(!Dt&&ut&&wa.size===1){var Tn=Array.from(wa)[0],or=Ia.findIndex(function(Ta){var Wr=Ta.data;return Wr.value===Tn});or!==-1&&($a(or),Nr(or))}});if(ut){var pn;(pn=Wa.current)===null||pn===void 0||pn.scrollTo(void 0)}return function(){return clearTimeout(Wn)}},[ut,Zt,mn.length]);var it=function(pn){pn!==void 0&&Kn(pn,{selected:!wa.has(pn)}),Dt||bt(!1)};if(re.useImperativeHandle(xe,function(){return{onKeyDown:function(pn){var Tn=pn.which,or=pn.ctrlKey;switch(Tn){case Le.N:case Le.P:case Le.UP:case Le.DOWN:{var Ta=0;if(Tn===Le.UP?Ta=-1:Tn===Le.DOWN?Ta=1:vn()&&or&&(Tn===Le.N?Ta=1:Tn===Le.P&&(Ta=-1)),Ta!==0){var Wr=hr(Ha+Ta,Ta);Nr(Wr),$a(Wr,!0)}break}case Le.ENTER:{var Dr=Ia[Ha];Dr&&!Dr.data.disabled?it(Dr.value):it(void 0),ut&&pn.preventDefault();break}case Le.ESC:bt(!1),ut&&pn.stopPropagation()}},onKeyUp:function(){},scrollTo:function(pn){Nr(pn)}}}),Ia.length===0)return re.createElement("div",{role:"listbox",id:"".concat(Qe,"_list"),className:"".concat(Xn,"-empty"),onMouseDown:Ar},fn);var Zn=Object.keys(ha).map(function(Wn){return ha[Wn]}),Oa=function(pn){return pn.label};function Pn(Wn,pn){var Tn=Wn.group;return{role:Tn?"presentation":"option",id:"".concat(Qe,"_list_").concat(pn)}}var Yt=function(pn){var Tn=Ia[pn];if(!Tn)return null;var or=Tn.data||{},Ta=or.value,Wr=Tn.group,Dr=Ct(or,!0),Un=Oa(Tn);return Tn?re.createElement("div",(0,Fe.Z)({"aria-label":typeof Un=="string"&&!Wr?Un:null},Dr,{key:pn},Pn(Tn,pn),{"aria-selected":to(Ta)}),Ta):null},Ra={role:"listbox",id:"".concat(Qe,"_list")};return re.createElement(re.Fragment,null,Pa&&re.createElement("div",(0,Fe.Z)({},Ra,{style:{height:0,width:0,overflow:"hidden"}}),Yt(Ha-1),Yt(Ha),Yt(Ha+1)),re.createElement(Ui.Z,{itemKey:"key",ref:Wa,data:Ia,height:ea,itemHeight:La,fullHeight:!1,onMouseDown:Ar,onScroll:Rn,virtual:Pa,direction:aa,innerProps:Pa?null:Ra},function(Wn,pn){var Tn,or=Wn.group,Ta=Wn.groupOption,Wr=Wn.data,Dr=Wn.label,Un=Wn.value,dr=Wr.key;if(or){var Pr,zr=(Pr=Wr.title)!==null&&Pr!==void 0?Pr:qt(Dr)?Dr.toString():void 0;return re.createElement("div",{className:oe()(Xn,"".concat(Xn,"-group")),title:zr},Dr!==void 0?Dr:dr)}var jr=Wr.disabled,no=Wr.title,Fo=Wr.children,Qr=Wr.style,Ko=Wr.className,ai=(0,ye.Z)(Wr,Ue),pi=Wi(ai,Zn),fo=to(Un),Eo="".concat(Xn,"-option"),ri=oe()(Xn,Eo,Ko,(Tn={},(0,Oe.Z)(Tn,"".concat(Eo,"-grouped"),Ta),(0,Oe.Z)(Tn,"".concat(Eo,"-active"),Ha===pn&&!jr),(0,Oe.Z)(Tn,"".concat(Eo,"-disabled"),jr),(0,Oe.Z)(Tn,"".concat(Eo,"-selected"),fo),Tn)),Oo=Oa(Wn),yo=!ma||typeof ma=="function"||fo,gi=typeof Oo=="number"?Oo:Oo||Un,oi=qt(gi)?gi.toString():void 0;return no!==void 0&&(oi=no),re.createElement("div",(0,Fe.Z)({},Ct(pi),Pa?{}:Pn(Wn,pn),{"aria-selected":fo,className:ri,title:oi,onMouseMove:function(){Ha===pn||jr||$a(pn)},onClick:function(){jr||it(Un)},style:Qr}),re.createElement("div",{className:"".concat(Eo,"-content")},gi),re.isValidElement(ma)||fo,yo&&re.createElement(_t,{className:"".concat(Xn,"-option-state"),customizeIcon:ma,customizeIconProps:{isSelected:fo}},fo?"\u2713":null))}))},Jn=re.forwardRef($n);Jn.displayName="OptionList";var Kt=Jn;function dn(ce){var me=ce.mode,xe=ce.options,Ae=ce.children,He=ce.backfill,Qe=ce.allowClear,ut=ce.placeholder,Dt=ce.getInputElement,Mt=ce.showSearch,Zt=ce.onSearch,bt=ce.defaultOpen,fn=ce.autoFocus,Rn=ce.labelInValue,jt=ce.value,mn=ce.inputValue,In=ce.optionLabelProp,Sn=isMultiple(me),Kn=Mt!==void 0?Mt:Sn||me==="combobox",ma=xe||convertChildrenToData(Ae);if(warning(me!=="tags"||ma.every(function(aa){return!aa.disabled}),"Please avoid setting option to disabled in tags mode since user can always type text as tag."),me==="tags"||me==="combobox"){var wa=ma.some(function(aa){return aa.options?aa.options.some(function(ea){return typeof("value"in ea?ea.value:ea.key)=="number"}):typeof("value"in aa?aa.value:aa.key)=="number"});warning(!wa,"`value` of Option should not use number type when `mode` is `tags` or `combobox`.")}if(warning(me!=="combobox"||!In,"`combobox` mode not support `optionLabelProp`. Please set `value` on Option directly."),warning(me==="combobox"||!He,"`backfill` only works with `combobox` mode."),warning(me==="combobox"||!Dt,"`getInputElement` only work with `combobox` mode."),noteOnce(me!=="combobox"||!Dt||!Qe||!ut,"Customize `getInputElement` should customize clear and placeholder logic instead of configuring `allowClear` and `placeholder`."),Zt&&!Kn&&me!=="combobox"&&me!=="tags"&&warning(!1,"`onSearch` should work with `showSearch` instead of use alone."),noteOnce(!bt||fn,"`defaultOpen` makes Select open without focus which means it will not close by click outside. You can set `autoFocus` if needed."),jt!=null){var ha=toArray(jt);warning(!Rn||ha.every(function(aa){return _typeof(aa)==="object"&&("key"in aa||"value"in aa)}),"`value` should in shape of `{ value: string | number, label?: ReactNode }` when you set `labelInValue` to `true`"),warning(!Sn||Array.isArray(jt),"`value` should be array when `mode` is `multiple` or `tags`")}if(Ae){var Pa=null;toNodeArray(Ae).some(function(aa){if(!React.isValidElement(aa)||!aa.type)return!1;var ea=aa,La=ea.type;if(La.isSelectOption)return!1;if(La.isSelectOptGroup){var Xn=toNodeArray(aa.props.children).every(function(Ia){return!React.isValidElement(Ia)||!aa.type||Ia.type.isSelectOption?!0:(Pa=Ia.type,!1)});return!Xn}return Pa=La,!0}),Pa&&warning(!1,"`children` should be `Select.Option` or `Select.OptGroup` instead of `".concat(Pa.displayName||Pa.name||Pa,"`.")),warning(mn===void 0,"`inputValue` is deprecated, please use `searchValue` instead.")}}function Vt(ce,me){if(ce){var xe=function Ae(He){for(var Qe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,ut=0;ut<He.length;ut++){var Dt=He[ut];if(Dt[me==null?void 0:me.value]===null)return warning(!1,"`value` in Select options should not be `null`."),!0;if(!Qe&&Array.isArray(Dt[me==null?void 0:me.options])&&Ae(Dt[me==null?void 0:me.options],!0))break}};xe(ce)}}var ta=null,ba=["id","mode","prefixCls","backfill","fieldNames","inputValue","searchValue","onSearch","autoClearSearchValue","onSelect","onDeselect","dropdownMatchSelectWidth","filterOption","filterSort","optionFilterProp","optionLabelProp","options","children","defaultActiveFirstOption","menuItemSelectedIcon","virtual","direction","listHeight","listItemHeight","value","defaultValue","labelInValue","onChange"],za=["inputValue"];function Ma(ce){return!ce||(0,ve.Z)(ce)!=="object"}var Ya=re.forwardRef(function(ce,me){var xe=ce.id,Ae=ce.mode,He=ce.prefixCls,Qe=He===void 0?"rc-select":He,ut=ce.backfill,Dt=ce.fieldNames,Mt=ce.inputValue,Zt=ce.searchValue,bt=ce.onSearch,fn=ce.autoClearSearchValue,Rn=fn===void 0?!0:fn,jt=ce.onSelect,mn=ce.onDeselect,In=ce.dropdownMatchSelectWidth,Sn=In===void 0?!0:In,Kn=ce.filterOption,ma=ce.filterSort,wa=ce.optionFilterProp,ha=ce.optionLabelProp,Pa=ce.options,aa=ce.children,ea=ce.defaultActiveFirstOption,La=ce.menuItemSelectedIcon,Xn=ce.virtual,Ia=ce.direction,Wa=ce.listHeight,Ar=Wa===void 0?200:Wa,Nr=ce.listItemHeight,hr=Nr===void 0?20:Nr,ja=ce.value,Sr=ce.defaultValue,Ha=ce.labelInValue,Na=ce.onChange,$a=(0,ye.Z)(ce,ba),to=ni(xe),it=so(Ae),Zn=!!(!Pa&&aa),Oa=re.useMemo(function(){return Kn===void 0&&Ae==="combobox"?!1:Kn},[Kn,Ae]),Pn=re.useMemo(function(){return Ci(Dt,Zn)},[JSON.stringify(Dt),Zn]),Yt=ne("",{value:Zt!==void 0?Zt:Mt,postState:function(tr){return tr||""}}),Ra=(0,he.Z)(Yt,2),Wn=Ra[0],pn=Ra[1],Tn=cl(Pa,aa,Pn,wa,ha),or=Tn.valueOptions,Ta=Tn.labelOptions,Wr=Tn.options,Dr=re.useCallback(function(fa){var tr=Ba(fa);return tr.map(function(cr){var Rr,To,bo,fi,_o;if(Ma(cr))Rr=cr;else{var Qi;bo=cr.key,To=cr.label,Rr=(Qi=cr.value)!==null&&Qi!==void 0?Qi:bo}var ue=or.get(Rr);if(ue){var se;if(To===void 0&&(To=ue==null?void 0:ue[ha||Pn.label]),bo===void 0&&(bo=(se=ue==null?void 0:ue.key)!==null&&se!==void 0?se:Rr),fi=ue==null?void 0:ue.disabled,_o=ue==null?void 0:ue.title,0)var Pe}return{label:To,value:Rr,key:bo,disabled:fi,title:_o}})},[Pn,ha,or]),Un=ne(Sr,{value:ja}),dr=(0,he.Z)(Un,2),Pr=dr[0],zr=dr[1],jr=re.useMemo(function(){var fa,tr=Dr(Pr);return Ae==="combobox"&&mt((fa=tr[0])===null||fa===void 0?void 0:fa.value)?[]:tr},[Pr,Dr,Ae]),no=$r(jr,or),Fo=(0,he.Z)(no,2),Qr=Fo[0],Ko=Fo[1],ai=re.useMemo(function(){if(!Ae&&Qr.length===1){var fa=Qr[0];if(fa.value===null&&(fa.label===null||fa.label===void 0))return[]}return Qr.map(function(tr){var cr;return(0,Ie.Z)((0,Ie.Z)({},tr),{},{label:(cr=tr.label)!==null&&cr!==void 0?cr:tr.value})})},[Ae,Qr]),pi=re.useMemo(function(){return new Set(Qr.map(function(fa){return fa.value}))},[Qr]);re.useEffect(function(){if(Ae==="combobox"){var fa,tr=(fa=Qr[0])===null||fa===void 0?void 0:fa.value;pn(St(tr)?String(tr):"")}},[Qr]);var fo=gl(function(fa,tr){var cr,Rr=tr!=null?tr:fa;return cr={},(0,Oe.Z)(cr,Pn.value,fa),(0,Oe.Z)(cr,Pn.label,Rr),cr}),Eo=re.useMemo(function(){if(Ae!=="tags")return Wr;var fa=(0,x.Z)(Wr),tr=function(Rr){return or.has(Rr)};return(0,x.Z)(Qr).sort(function(cr,Rr){return cr.value<Rr.value?-1:1}).forEach(function(cr){var Rr=cr.value;tr(Rr)||fa.push(fo(Rr,cr.label))}),fa},[fo,Wr,or,Qr,Ae]),ri=Ao(Eo,Pn,Wn,Oa,wa),Oo=re.useMemo(function(){return Ae!=="tags"||!Wn||ri.some(function(fa){return fa[wa||"value"]===Wn})||ri.some(function(fa){return fa[Pn.value]===Wn})?ri:[fo(Wn)].concat((0,x.Z)(ri))},[fo,wa,Ae,ri,Wn,Pn]),yo=re.useMemo(function(){return ma?(0,x.Z)(Oo).sort(function(fa,tr){return ma(fa,tr)}):Oo},[Oo,ma]),gi=re.useMemo(function(){return Pl(yo,{fieldNames:Pn,childrenAsData:Zn})},[yo,Pn,Zn]),oi=function(tr){var cr=Dr(tr);if(zr(cr),Na&&(cr.length!==Qr.length||cr.some(function(bo,fi){var _o;return((_o=Qr[fi])===null||_o===void 0?void 0:_o.value)!==(bo==null?void 0:bo.value)}))){var Rr=Ha?cr:cr.map(function(bo){return bo.value}),To=cr.map(function(bo){return Qn(Ko(bo.value))});Na(it?Rr:Rr[0],it?To:To[0])}},bi=re.useState(null),No=(0,he.Z)(bi,2),vo=No[0],Pi=No[1],mi=re.useState(0),Yi=(0,he.Z)(mi,2),xi=Yi[0],qi=Yi[1],wi=ea!==void 0?ea:Ae!=="combobox",Do=re.useCallback(function(fa,tr){var cr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},Rr=cr.source,To=Rr===void 0?"keyboard":Rr;qi(tr),ut&&Ae==="combobox"&&fa!==null&&To==="keyboard"&&Pi(String(fa))},[ut,Ae]),Co=function(tr,cr,Rr){var To=function(){var Ve,rt=Ko(tr);return[Ha?{label:rt==null?void 0:rt[Pn.label],value:tr,key:(Ve=rt==null?void 0:rt.key)!==null&&Ve!==void 0?Ve:tr}:tr,Qn(rt)]};if(cr&&jt){var bo=To(),fi=(0,he.Z)(bo,2),_o=fi[0],Qi=fi[1];jt(_o,Qi)}else if(!cr&&mn&&Rr!=="clear"){var ue=To(),se=(0,he.Z)(ue,2),Pe=se[0],De=se[1];mn(Pe,De)}},Go=gl(function(fa,tr){var cr,Rr=it?tr.selected:!0;Rr?cr=it?[].concat((0,x.Z)(Qr),[fa]):[fa]:cr=Qr.filter(function(To){return To.value!==fa}),oi(cr),Co(fa,Rr),Ae==="combobox"?Pi(""):(!so||Rn)&&(pn(""),Pi(""))}),Ei=function(tr,cr){oi(tr);var Rr=cr.type,To=cr.values;(Rr==="remove"||Rr==="clear")&&To.forEach(function(bo){Co(bo.value,!1,Rr)})},ei=function(tr,cr){if(pn(tr),Pi(null),cr.source==="submit"){var Rr=(tr||"").trim();if(Rr){var To=Array.from(new Set([].concat((0,x.Z)(pi),[Rr])));oi(To),Co(Rr,!0),pn("")}return}cr.source!=="blur"&&(Ae==="combobox"&&oi(tr),bt==null||bt(tr))},Ti=function(tr){var cr=tr;Ae!=="tags"&&(cr=tr.map(function(To){var bo=Ta.get(To);return bo==null?void 0:bo.value}).filter(function(To){return To!==void 0}));var Rr=Array.from(new Set([].concat((0,x.Z)(pi),(0,x.Z)(cr))));oi(Rr),Rr.forEach(function(To){Co(To,!0)})},Mr=re.useMemo(function(){var fa=Xn!==!1&&Sn!==!1;return(0,Ie.Z)((0,Ie.Z)({},Tn),{},{flattenOptions:gi,onActiveValue:Do,defaultActiveFirstOption:wi,onSelect:Go,menuItemSelectedIcon:La,rawValues:pi,fieldNames:Pn,virtual:fa,direction:Ia,listHeight:Ar,listItemHeight:hr,childrenAsData:Zn})},[Tn,gi,Do,wi,Go,La,pi,Pn,Xn,Sn,Ar,hr,Zn]);return re.createElement(Gt.Provider,{value:Mr},re.createElement(ir,(0,Fe.Z)({},$a,{id:to,prefixCls:Qe,ref:me,omitDomProps:za,mode:Ae,displayValues:ai,onDisplayValuesChange:Ei,direction:Ia,searchValue:Wn,onSearch:ei,autoClearSearchValue:Rn,onSearchSplit:Ti,dropdownMatchSelectWidth:Sn,OptionList:Kt,emptyOptions:!gi.length,activeValue:vo,activeDescendantId:"".concat(to,"_list_").concat(xi)})))}),pr=Ya;pr.Option=ol,pr.OptGroup=rl;var _n=null,zt=null,Bn=te(17341);function Hn(ce){var me=re.useRef(!1),xe=re.useState(ce),Ae=(0,he.Z)(xe,2),He=Ae[0],Qe=Ae[1];re.useEffect(function(){return me.current=!1,function(){me.current=!0}},[]);function ut(Dt,Mt){Mt&&me.current||Qe(Dt)}return[He,ut]}function xa(ce){return ce!==void 0}function qa(ce,me){var xe=me||{},Ae=xe.defaultValue,He=xe.value,Qe=xe.onChange,ut=xe.postState,Dt=Hn(function(){return xa(He)?He:xa(Ae)?typeof Ae=="function"?Ae():Ae:typeof ce=="function"?ce():ce}),Mt=(0,he.Z)(Dt,2),Zt=Mt[0],bt=Mt[1],fn=He!==void 0?He:Zt,Rn=ut?ut(fn):fn,jt=ot(Qe),mn=Hn([fn]),In=(0,he.Z)(mn,2),Sn=In[0],Kn=In[1];Ot(function(){var wa=Sn[0];Zt!==wa&&jt(Zt,wa)},[Sn]),Ot(function(){xa(He)||bt(He)},[He]);var ma=ot(function(wa,ha){bt(wa,ha),Kn([fn],ha)});return[Rn,ma]}var lr=re.createContext(null),Br=lr,sr="__rc_cascader_search_mark__",Lr=function(me,xe,Ae){var He=Ae.label;return xe.some(function(Qe){return String(Qe[He]).toLowerCase().includes(me.toLowerCase())})},Gr=function(me,xe,Ae,He){return xe.map(function(Qe){return Qe[He.label]}).join(" / ")},br=function(ce,me,xe,Ae,He,Qe){var ut=He.filter,Dt=ut===void 0?Lr:ut,Mt=He.render,Zt=Mt===void 0?Gr:Mt,bt=He.limit,fn=bt===void 0?50:bt,Rn=He.sort;return re.useMemo(function(){var jt=[];if(!ce)return[];function mn(In,Sn){var Kn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;In.forEach(function(ma){if(!(!Rn&&fn!==!1&&fn>0&&jt.length>=fn)){var wa=[].concat((0,x.Z)(Sn),[ma]),ha=ma[xe.children],Pa=Kn||ma.disabled;if((!ha||ha.length===0||Qe)&&Dt(ce,wa,{label:xe.label})){var aa;jt.push((0,Ie.Z)((0,Ie.Z)({},ma),{},(aa={disabled:Pa},(0,Oe.Z)(aa,xe.label,Zt(ce,wa,Ae,xe)),(0,Oe.Z)(aa,sr,wa),(0,Oe.Z)(aa,xe.children,void 0),aa)))}ha&&mn(ma[xe.children],wa,Pa)}})}return mn(me,[]),Rn&&jt.sort(function(In,Sn){return Rn(In[sr],Sn[sr],ce,xe)}),fn!==!1&&fn>0?jt.slice(0,fn):jt},[ce,me,xe,Ae,Zt,Qe,Dt,Rn,fn])},ao="__RC_CASCADER_SPLIT__",oo="SHOW_PARENT",So="SHOW_CHILD";function eo(ce){return ce.join(ao)}function Po(ce){return ce.map(eo)}function Hr(ce){return ce.split(ao)}function ho(ce){var me=ce||{},xe=me.label,Ae=me.value,He=me.children,Qe=Ae||"value";return{label:xe||"label",value:Qe,key:Qe,children:He||"children"}}function jo(ce,me){var xe,Ae;return(xe=ce.isLeaf)!==null&&xe!==void 0?xe:!((Ae=ce[me.children])!==null&&Ae!==void 0&&Ae.length)}function Ni(ce){var me=ce.parentElement;if(me){var xe=ce.offsetTop-me.offsetTop;xe-me.scrollTop<0?me.scrollTo({top:xe}):xe+ce.offsetHeight-me.scrollTop>me.offsetHeight&&me.scrollTo({top:xe+ce.offsetHeight-me.offsetHeight})}}function hi(ce,me){return ce.map(function(xe){var Ae;return(Ae=xe[sr])===null||Ae===void 0?void 0:Ae.map(function(He){return He[me.value]})})}function Mi(ce,me,xe){var Ae=new Set(ce),He=me();return ce.filter(function(Qe){var ut=He[Qe],Dt=ut?ut.parent:null,Mt=ut?ut.children:null;return ut&&ut.node.disabled?!0:xe===So?!(Mt&&Mt.some(function(Zt){return Zt.key&&Ae.has(Zt.key)})):!(Dt&&!Dt.node.disabled&&Ae.has(Dt.key))})}function Yo(ce,me,xe){for(var Ae=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,He=me,Qe=[],ut=function(){var Zt,bt,fn,Rn=ce[Dt],jt=(Zt=He)===null||Zt===void 0?void 0:Zt.findIndex(function(In){var Sn=In[xe.value];return Ae?String(Sn)===String(Rn):Sn===Rn}),mn=jt!==-1?(bt=He)===null||bt===void 0?void 0:bt[jt]:null;Qe.push({value:(fn=mn==null?void 0:mn[xe.value])!==null&&fn!==void 0?fn:Rn,index:jt,option:mn}),He=mn==null?void 0:mn[xe.children]},Dt=0;Dt<ce.length;Dt+=1)ut();return Qe}var Ho=function(ce,me,xe,Ae,He){return re.useMemo(function(){var Qe=He||function(ut){var Dt=Ae?ut.slice(-1):ut,Mt=" / ";return Dt.every(function(Zt){return["string","number"].includes((0,ve.Z)(Zt))})?Dt.join(Mt):Dt.reduce(function(Zt,bt,fn){var Rn=re.isValidElement(bt)?re.cloneElement(bt,{key:fn}):bt;return fn===0?[Rn]:[].concat((0,x.Z)(Zt),[Mt,Rn])},[])};return ce.map(function(ut){var Dt,Mt,Zt=Yo(ut,me,xe),bt=Qe(Zt.map(function(Rn){var jt,mn=Rn.option,In=Rn.value;return(jt=mn==null?void 0:mn[xe.label])!==null&&jt!==void 0?jt:In}),Zt.map(function(Rn){var jt=Rn.option;return jt})),fn=eo(ut);return{label:bt,value:fn,key:fn,valueCells:ut,disabled:(Dt=Zt[Zt.length-1])===null||Dt===void 0||(Mt=Dt.option)===null||Mt===void 0?void 0:Mt.disabled}})},[ce,me,xe,He,Ae])},Ri=te(1089),Hi=function(ce,me){var xe=re.useRef({options:null,info:null}),Ae=re.useCallback(function(){return xe.current.options!==ce&&(xe.current.options=ce,xe.current.info=(0,Ri.I8)(ce,{fieldNames:me,initWrapper:function(Qe){return(0,Ie.Z)((0,Ie.Z)({},Qe),{},{pathKeyEntities:{}})},processEntity:function(Qe,ut){var Dt=Qe.nodes.map(function(Mt){return Mt[me.value]}).join(ao);ut.pathKeyEntities[Dt]=Qe,Qe.key=Dt}})),xe.current.info.pathKeyEntities},[me,ce]);return Ae},Vi=function(ce,me){return re.useCallback(function(xe){var Ae=[],He=[];return xe.forEach(function(Qe){var ut=Yo(Qe,ce,me);ut.every(function(Dt){return Dt.option})?He.push(Qe):Ae.push(Qe)}),[He,Ae]},[ce,me])},fl={},zi=[],Ol=function(me){zi.push(me)};function Ki(ce,me){if(0)var xe}function _l(ce,me){if(0)var xe}function Gi(){fl={}}function Il(ce,me,xe){!me&&!fl[xe]&&(ce(!1,xe),fl[xe]=!0)}function Ji(ce,me){Il(Ki,ce,me)}function wl(ce,me){Il(_l,ce,me)}Ji.preMessage=Ol,Ji.resetWarned=Gi,Ji.noteOnce=wl;var Bo=null;function Lo(ce){return re.useMemo(function(){if(!ce)return[!1,{}];var me={matchInputWidth:!0,limit:50};return ce&&(0,ve.Z)(ce)==="object"&&(me=(0,Ie.Z)((0,Ie.Z)({},me),ce)),me.limit<=0&&delete me.limit,[!0,me]},[ce])}var vi=re.memo(function(ce){var me=ce.children;return me},function(ce,me){return!me.open}),Fl=vi;function Wl(ce){var me,xe=ce.prefixCls,Ae=ce.checked,He=ce.halfChecked,Qe=ce.disabled,ut=ce.onClick,Dt=ce.disableCheckbox,Mt=re.useContext(Br),Zt=Mt.checkable,bt=typeof Zt!="boolean"?Zt:null;return re.createElement("span",{className:oe()("".concat(xe),(me={},(0,Oe.Z)(me,"".concat(xe,"-checked"),Ae),(0,Oe.Z)(me,"".concat(xe,"-indeterminate"),!Ae&&He),(0,Oe.Z)(me,"".concat(xe,"-disabled"),Qe||Dt),me)),onClick:ut},bt)}var Uo="__cascader_fix_label__";function il(ce){var me=ce.prefixCls,xe=ce.multiple,Ae=ce.options,He=ce.activeValue,Qe=ce.prevValuePath,ut=ce.onToggleOpen,Dt=ce.onSelect,Mt=ce.onActive,Zt=ce.checkedSet,bt=ce.halfCheckedSet,fn=ce.loadingKeys,Rn=ce.isSelectable,jt=ce.searchValue,mn="".concat(me,"-menu"),In="".concat(me,"-menu-item"),Sn=re.useContext(Br),Kn=Sn.fieldNames,ma=Sn.changeOnSelect,wa=Sn.expandTrigger,ha=Sn.expandIcon,Pa=Sn.loadingIcon,aa=Sn.dropdownMenuColumnStyle,ea=wa==="hover",La=re.useMemo(function(){return Ae.map(function(Xn){var Ia,Wa=Xn.disabled,Ar=Xn.disableCheckbox,Nr=Xn[sr],hr=(Ia=Xn[Uo])!==null&&Ia!==void 0?Ia:Xn[Kn.label],ja=Xn[Kn.value],Sr=jo(Xn,Kn),Ha=Nr?Nr.map(function(Zn){return Zn[Kn.value]}):[].concat((0,x.Z)(Qe),[ja]),Na=eo(Ha),$a=fn.includes(Na),to=Zt.has(Na),it=bt.has(Na);return{disabled:Wa,label:hr,value:ja,isLeaf:Sr,isLoading:$a,checked:to,halfChecked:it,option:Xn,disableCheckbox:Ar,fullPath:Ha,fullPathKey:Na}})},[Ae,Zt,Kn,bt,fn,Qe]);return re.createElement("ul",{className:mn,role:"menu"},La.map(function(Xn){var Ia,Wa=Xn.disabled,Ar=Xn.label,Nr=Xn.value,hr=Xn.isLeaf,ja=Xn.isLoading,Sr=Xn.checked,Ha=Xn.halfChecked,Na=Xn.option,$a=Xn.fullPath,to=Xn.fullPathKey,it=Xn.disableCheckbox,Zn=function(){if(!(Wa||jt)){var Ra=(0,x.Z)($a);ea&&hr&&Ra.pop(),Mt(Ra)}},Oa=function(){Rn(Na)&&Dt($a,hr)},Pn;return typeof Na.title=="string"?Pn=Na.title:typeof Ar=="string"&&(Pn=Ar),re.createElement("li",{key:to,className:oe()(In,(Ia={},(0,Oe.Z)(Ia,"".concat(In,"-expand"),!hr),(0,Oe.Z)(Ia,"".concat(In,"-active"),He===Nr||He===to),(0,Oe.Z)(Ia,"".concat(In,"-disabled"),Wa),(0,Oe.Z)(Ia,"".concat(In,"-loading"),ja),Ia)),style:aa,role:"menuitemcheckbox",title:Pn,"aria-checked":Sr,"data-path-key":to,onClick:function(){Zn(),!it&&(!xe||hr)&&Oa()},onDoubleClick:function(){ma&&ut(!1)},onMouseEnter:function(){ea&&Zn()},onMouseDown:function(Ra){Ra.preventDefault()}},xe&&re.createElement(Wl,{prefixCls:"".concat(me,"-checkbox"),checked:Sr,halfChecked:Ha,disabled:Wa||it,disableCheckbox:it,onClick:function(Ra){it||(Ra.stopPropagation(),Oa())}}),re.createElement("div",{className:"".concat(In,"-content")},Ar),!ja&&ha&&!hr&&re.createElement("div",{className:"".concat(In,"-expand-icon")},ha),ja&&Pa&&re.createElement("div",{className:"".concat(In,"-loading-icon")},Pa))}))}var El=function(){var ce=xt(),me=ce.multiple,xe=ce.open,Ae=re.useContext(Br),He=Ae.values,Qe=re.useState([]),ut=(0,he.Z)(Qe,2),Dt=ut[0],Mt=ut[1];return re.useEffect(function(){if(xe&&!me){var Zt=He[0];Mt(Zt||[])}},[xe]),[Dt,Mt]},da={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(me){var xe=me.keyCode;if(me.altKey&&!me.ctrlKey||me.metaKey||xe>=da.F1&&xe<=da.F12)return!1;switch(xe){case da.ALT:case da.CAPS_LOCK:case da.CONTEXT_MENU:case da.CTRL:case da.DOWN:case da.END:case da.ESC:case da.HOME:case da.INSERT:case da.LEFT:case da.MAC_FF_META:case da.META:case da.NUMLOCK:case da.NUM_CENTER:case da.PAGE_DOWN:case da.PAGE_UP:case da.PAUSE:case da.PRINT_SCREEN:case da.RIGHT:case da.SHIFT:case da.UP:case da.WIN_KEY:case da.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(me){if(me>=da.ZERO&&me<=da.NINE||me>=da.NUM_ZERO&&me<=da.NUM_MULTIPLY||me>=da.A&&me<=da.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&me===0)return!0;switch(me){case da.SPACE:case da.QUESTION_MARK:case da.NUM_PLUS:case da.NUM_MINUS:case da.NUM_PERIOD:case da.NUM_DIVISION:case da.SEMICOLON:case da.DASH:case da.EQUALS:case da.COMMA:case da.PERIOD:case da.SLASH:case da.APOSTROPHE:case da.SINGLE_QUOTE:case da.OPEN_SQUARE_BRACKET:case da.BACKSLASH:case da.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},Si=da,ll=function(ce,me,xe,Ae,He,Qe){var ut=xt(),Dt=ut.direction,Mt=ut.searchValue,Zt=ut.toggleOpen,bt=ut.open,fn=Dt==="rtl",Rn=re.useMemo(function(){for(var aa=-1,ea=me,La=[],Xn=[],Ia=Ae.length,Wa=hi(me,xe),Ar=function(Na){var $a=ea.findIndex(function(to,it){return(Wa[it]?eo(Wa[it]):to[xe.value])===Ae[Na]});if($a===-1)return"break";aa=$a,La.push(aa),Xn.push(Ae[Na]),ea=ea[aa][xe.children]},Nr=0;Nr<Ia&&ea;Nr+=1){var hr=Ar(Nr);if(hr==="break")break}for(var ja=me,Sr=0;Sr<La.length-1;Sr+=1)ja=ja[La[Sr]][xe.children];return[Xn,aa,ja,Wa]},[Ae,xe,me]),jt=(0,he.Z)(Rn,4),mn=jt[0],In=jt[1],Sn=jt[2],Kn=jt[3],ma=function(ea){He(ea)},wa=function(ea){var La=Sn.length,Xn=In;Xn===-1&&ea<0&&(Xn=La);for(var Ia=0;Ia<La;Ia+=1){Xn=(Xn+ea+La)%La;var Wa=Sn[Xn];if(Wa&&!Wa.disabled){var Ar=mn.slice(0,-1).concat(Kn[Xn]?eo(Kn[Xn]):Wa[xe.value]);ma(Ar);return}}},ha=function(){if(mn.length>1){var ea=mn.slice(0,-1);ma(ea)}else Zt(!1)},Pa=function(){var ea,La=((ea=Sn[In])===null||ea===void 0?void 0:ea[xe.children])||[],Xn=La.find(function(Wa){return!Wa.disabled});if(Xn){var Ia=[].concat((0,x.Z)(mn),[Xn[xe.value]]);ma(Ia)}};re.useImperativeHandle(ce,function(){return{onKeyDown:function(ea){var La=ea.which;switch(La){case Si.UP:case Si.DOWN:{var Xn=0;La===Si.UP?Xn=-1:La===Si.DOWN&&(Xn=1),Xn!==0&&wa(Xn);break}case Si.LEFT:{if(Mt)break;fn?Pa():ha();break}case Si.RIGHT:{if(Mt)break;fn?ha():Pa();break}case Si.BACKSPACE:{Mt||ha();break}case Si.ENTER:{if(mn.length){var Ia=Sn[In],Wa=(Ia==null?void 0:Ia[sr])||[];Wa.length?Qe(Wa.map(function(Ar){return Ar[xe.value]}),Wa[Wa.length-1]):Qe(mn,Sn[In])}break}case Si.ESC:Zt(!1),bt&&ea.stopPropagation()}},onKeyUp:function(){}}})},yl=re.forwardRef(function(ce,me){var xe,Ae,He,Qe,ut=xt(),Dt=ut.prefixCls,Mt=ut.multiple,Zt=ut.searchValue,bt=ut.toggleOpen,fn=ut.notFoundContent,Rn=ut.direction,jt=ut.open,mn=re.useRef(),In=Rn==="rtl",Sn=re.useContext(Br),Kn=Sn.options,ma=Sn.values,wa=Sn.halfValues,ha=Sn.fieldNames,Pa=Sn.changeOnSelect,aa=Sn.onSelect,ea=Sn.searchOptions,La=Sn.dropdownPrefixCls,Xn=Sn.loadData,Ia=Sn.expandTrigger,Wa=La||Dt,Ar=re.useState([]),Nr=(0,he.Z)(Ar,2),hr=Nr[0],ja=Nr[1],Sr=function(dr){if(!(!Xn||Zt)){var Pr=Yo(dr,Kn,ha),zr=Pr.map(function(Fo){var Qr=Fo.option;return Qr}),jr=zr[zr.length-1];if(jr&&!jo(jr,ha)){var no=eo(dr);ja(function(Fo){return[].concat((0,x.Z)(Fo),[no])}),Xn(zr)}}};re.useEffect(function(){hr.length&&hr.forEach(function(Un){var dr=Hr(Un),Pr=Yo(dr,Kn,ha,!0).map(function(jr){var no=jr.option;return no}),zr=Pr[Pr.length-1];(!zr||zr[ha.children]||jo(zr,ha))&&ja(function(jr){return jr.filter(function(no){return no!==Un})})})},[Kn,hr,ha]);var Ha=re.useMemo(function(){return new Set(Po(ma))},[ma]),Na=re.useMemo(function(){return new Set(Po(wa))},[wa]),$a=El(),to=(0,he.Z)($a,2),it=to[0],Zn=to[1],Oa=function(dr){Zn(dr),Sr(dr)},Pn=function(dr){var Pr=dr.disabled,zr=jo(dr,ha);return!Pr&&(zr||Pa||Mt)},Yt=function(dr,Pr){var zr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;aa(dr),!Mt&&(Pr||Pa&&(Ia==="hover"||zr))&&bt(!1)},Ra=re.useMemo(function(){return Zt?ea:Kn},[Zt,ea,Kn]),Wn=re.useMemo(function(){for(var Un=[{options:Ra}],dr=Ra,Pr=hi(dr,ha),zr=function(){var Qr=it[jr],Ko=dr.find(function(pi,fo){return(Pr[fo]?eo(Pr[fo]):pi[ha.value])===Qr}),ai=Ko==null?void 0:Ko[ha.children];if(!(ai!=null&&ai.length))return"break";dr=ai,Un.push({options:ai})},jr=0;jr<it.length;jr+=1){var no=zr();if(no==="break")break}return Un},[Ra,it,ha]),pn=function(dr,Pr){Pn(Pr)&&Yt(dr,jo(Pr,ha),!0)};ll(me,Ra,ha,it,Oa,pn),re.useEffect(function(){for(var Un=0;Un<it.length;Un+=1){var dr,Pr=it.slice(0,Un+1),zr=eo(Pr),jr=(dr=mn.current)===null||dr===void 0?void 0:dr.querySelector('li[data-path-key="'.concat(zr.replace(/\\{0,2}"/g,'\\"'),'"]'));jr&&Ni(jr)}},[it]);var Tn=!((xe=Wn[0])!==null&&xe!==void 0&&(Ae=xe.options)!==null&&Ae!==void 0&&Ae.length),or=[(He={},(0,Oe.Z)(He,ha.value,"__EMPTY__"),(0,Oe.Z)(He,Uo,fn),(0,Oe.Z)(He,"disabled",!0),He)],Ta=(0,Ie.Z)((0,Ie.Z)({},ce),{},{multiple:!Tn&&Mt,onSelect:Yt,onActive:Oa,onToggleOpen:bt,checkedSet:Ha,halfCheckedSet:Na,loadingKeys:hr,isSelectable:Pn}),Wr=Tn?[{options:or}]:Wn,Dr=Wr.map(function(Un,dr){var Pr=it.slice(0,dr),zr=it[dr];return re.createElement(il,(0,Fe.Z)({key:dr},Ta,{searchValue:Zt,prefixCls:Wa,options:Un.options,prevValuePath:Pr,activeValue:zr}))});return re.createElement(Fl,{open:jt},re.createElement("div",{className:oe()("".concat(Wa,"-menus"),(Qe={},(0,Oe.Z)(Qe,"".concat(Wa,"-menu-empty"),Tn),(0,Oe.Z)(Qe,"".concat(Wa,"-rtl"),In),Qe)),ref:mn},Dr))}),Ml=yl;function Rl(ce){var me=ce.onPopupVisibleChange,xe=ce.popupVisible,Ae=ce.popupClassName,He=ce.popupPlacement;warning(!me,"`onPopupVisibleChange` is deprecated. Please use `onDropdownVisibleChange` instead."),warning(xe===void 0,"`popupVisible` is deprecated. Please use `open` instead."),warning(Ae===void 0,"`popupClassName` is deprecated. Please use `dropdownClassName` instead."),warning(He===void 0,"`popupPlacement` is deprecated. Please use `placement` instead.")}function au(ce,me){if(ce){var xe=function Ae(He){for(var Qe=0;Qe<He.length;Qe++){var ut=He[Qe];if(ut[me==null?void 0:me.value]===null)return warning(!1,"`value` in Cascader options should not be `null`."),!0;if(Array.isArray(ut[me==null?void 0:me.children])&&Ae(ut[me==null?void 0:me.children]))return!0}};xe(ce)}}var Bl=null,Al=["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 ru(ce){return Array.isArray(ce)&&Array.isArray(ce[0])}function Ll(ce){return ce?ru(ce)?ce:(ce.length===0?[]:[ce]).map(function(me){return Array.isArray(me)?me:[me]}):[]}var $l=re.forwardRef(function(ce,me){var xe=ce.id,Ae=ce.prefixCls,He=Ae===void 0?"rc-cascader":Ae,Qe=ce.fieldNames,ut=ce.defaultValue,Dt=ce.value,Mt=ce.changeOnSelect,Zt=ce.onChange,bt=ce.displayRender,fn=ce.checkable,Rn=ce.autoClearSearchValue,jt=Rn===void 0?!0:Rn,mn=ce.searchValue,In=ce.onSearch,Sn=ce.showSearch,Kn=ce.expandTrigger,ma=ce.options,wa=ce.dropdownPrefixCls,ha=ce.loadData,Pa=ce.popupVisible,aa=ce.open,ea=ce.popupClassName,La=ce.dropdownClassName,Xn=ce.dropdownMenuColumnStyle,Ia=ce.popupPlacement,Wa=ce.placement,Ar=ce.onDropdownVisibleChange,Nr=ce.onPopupVisibleChange,hr=ce.expandIcon,ja=hr===void 0?">":hr,Sr=ce.loadingIcon,Ha=ce.children,Na=ce.dropdownMatchSelectWidth,$a=Na===void 0?!1:Na,to=ce.showCheckedStrategy,it=to===void 0?oo:to,Zn=(0,ye.Z)(ce,Al),Oa=ni(xe),Pn=!!fn,Yt=qa(ut,{value:Dt,postState:Ll}),Ra=(0,he.Z)(Yt,2),Wn=Ra[0],pn=Ra[1],Tn=re.useMemo(function(){return ho(Qe)},[JSON.stringify(Qe)]),or=re.useMemo(function(){return ma||[]},[ma]),Ta=Hi(or,Tn),Wr=re.useCallback(function(Do){var Co=Ta();return Do.map(function(Go){var Ei=Co[Go].nodes;return Ei.map(function(ei){return ei[Tn.value]})})},[Ta,Tn]),Dr=qa("",{value:mn,postState:function(Co){return Co||""}}),Un=(0,he.Z)(Dr,2),dr=Un[0],Pr=Un[1],zr=function(Co,Go){Pr(Co),Go.source!=="blur"&&In&&In(Co)},jr=Lo(Sn),no=(0,he.Z)(jr,2),Fo=no[0],Qr=no[1],Ko=br(dr,or,Tn,wa||He,Qr,Mt),ai=Vi(or,Tn),pi=re.useMemo(function(){var Do=ai(Wn),Co=(0,he.Z)(Do,2),Go=Co[0],Ei=Co[1];if(!Pn||!Wn.length)return[Go,[],Ei];var ei=Po(Go),Ti=Ta(),Mr=(0,Bn.S)(ei,!0,Ti),fa=Mr.checkedKeys,tr=Mr.halfCheckedKeys;return[Wr(fa),Wr(tr),Ei]},[Pn,Wn,Ta,Wr,ai]),fo=(0,he.Z)(pi,3),Eo=fo[0],ri=fo[1],Oo=fo[2],yo=re.useMemo(function(){var Do=Po(Eo),Co=Mi(Do,Ta,it);return[].concat((0,x.Z)(Oo),(0,x.Z)(Wr(Co)))},[Eo,Ta,Wr,Oo,it]),gi=Ho(yo,or,Tn,Pn,bt),oi=ot(function(Do){if(pn(Do),Zt){var Co=Ll(Do),Go=Co.map(function(Ti){return Yo(Ti,or,Tn).map(function(Mr){return Mr.option})}),Ei=Pn?Co:Co[0],ei=Pn?Go:Go[0];Zt(Ei,ei)}}),bi=ot(function(Do){if((!Pn||jt)&&Pr(""),!Pn)oi(Do);else{var Co=eo(Do),Go=Po(Eo),Ei=Po(ri),ei=Go.includes(Co),Ti=Oo.some(function(_o){return eo(_o)===Co}),Mr=Eo,fa=Oo;if(Ti&&!ei)fa=Oo.filter(function(_o){return eo(_o)!==Co});else{var tr=ei?Go.filter(function(_o){return _o!==Co}):[].concat((0,x.Z)(Go),[Co]),cr=Ta(),Rr;if(ei){var To=(0,Bn.S)(tr,{checked:!1,halfCheckedKeys:Ei},cr);Rr=To.checkedKeys}else{var bo=(0,Bn.S)(tr,!0,cr);Rr=bo.checkedKeys}var fi=Mi(Rr,Ta,it);Mr=Wr(fi)}oi([].concat((0,x.Z)(fa),(0,x.Z)(Mr)))}}),No=function(Co,Go){if(Go.type==="clear"){oi([]);return}var Ei=Go.values[0],ei=Ei.valueCells;bi(ei)},vo=aa!==void 0?aa:Pa,Pi=La||ea,mi=Wa||Ia,Yi=function(Co){Ar==null||Ar(Co),Nr==null||Nr(Co)},xi=re.useMemo(function(){return{options:or,fieldNames:Tn,values:Eo,halfValues:ri,changeOnSelect:Mt,onSelect:bi,checkable:fn,searchOptions:Ko,dropdownPrefixCls:wa,loadData:ha,expandTrigger:Kn,expandIcon:ja,loadingIcon:Sr,dropdownMenuColumnStyle:Xn}},[or,Tn,Eo,ri,Mt,bi,fn,Ko,wa,ha,Kn,ja,Sr,Xn]),qi=!(dr?Ko:or).length,wi=dr&&Qr.matchInputWidth||qi?{}:{minWidth:"auto"};return re.createElement(Br.Provider,{value:xi},re.createElement(ir,(0,Fe.Z)({},Zn,{ref:me,id:Oa,prefixCls:He,autoClearSearchValue:jt,dropdownMatchSelectWidth:$a,dropdownStyle:wi,displayValues:gi,onDisplayValuesChange:No,mode:Pn?"multiple":void 0,searchValue:dr,onSearch:zr,showSearch:Fo,OptionList:Ml,emptyOptions:qi,open:vo,dropdownClassName:Pi,placement:mi,onDropdownVisibleChange:Yi,getRawInputElement:function(){return Ha}})))});$l.SHOW_PARENT=oo,$l.SHOW_CHILD=So;var Nl=$l,Tl=Nl,Hl=te(10366),ql=te(33603),ou=te(8745),Jl=te(9708),Xi=te(53124),Dl=te(88258),ul=te(98866),iu=te(98675),lu=te(65223),Ke=te(87244),Xe=te(13458),nt=te(78642),Lt=te(46163),gr=te(4173),_a=te(63185),Zr=te(14747),Qa=te(80110),rr=te(67968);const Se=ce=>{const{prefixCls:me,componentCls:xe,antCls:Ae}=ce,He=`${xe}-menu-item`,Qe=`
&${He}-expand ${He}-expand-icon,
${He}-loading-icon
`;return[{[xe]:{width:ce.controlWidth}},{[`${xe}-dropdown`]:[(0,_a.C2)(`${me}-checkbox`,ce),{[`&${Ae}-select-dropdown`]:{padding:0}},{[xe]:{"&-checkbox":{top:0,marginInlineEnd:ce.paddingXS},"&-menus":{display:"flex",flexWrap:"nowrap",alignItems:"flex-start",[`&${xe}-menu-empty`]:{[`${xe}-menu`]:{width:"100%",height:"auto",[He]:{color:ce.colorTextDisabled}}}},"&-menu":{flexGrow:1,minWidth:ce.controlItemWidth,height:ce.dropdownHeight,margin:0,padding:ce.menuPadding,overflow:"auto",verticalAlign:"top",listStyle:"none","-ms-overflow-style":"-ms-autohiding-scrollbar","&:not(:last-child)":{borderInlineEnd:`${ce.lineWidth}px ${ce.lineType} ${ce.colorSplit}`},"&-item":Object.assign(Object.assign({},Zr.vS),{display:"flex",flexWrap:"nowrap",alignItems:"center",padding:ce.optionPadding,lineHeight:ce.lineHeight,cursor:"pointer",transition:`all ${ce.motionDurationMid}`,borderRadius:ce.borderRadiusSM,"&:hover":{background:ce.controlItemBgHover},"&-disabled":{color:ce.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"},[Qe]:{color:ce.colorTextDisabled}},[`&-active:not(${He}-disabled)`]:{"&, &:hover":{fontWeight:ce.optionSelectedFontWeight,backgroundColor:ce.optionSelectedBg}},"&-content":{flex:"auto"},[Qe]:{marginInlineStart:ce.paddingXXS,color:ce.colorTextDescription,fontSize:ce.fontSizeIcon},"&-keyword":{color:ce.colorHighlight}})}}}]},{[`${xe}-dropdown-rtl`]:{direction:"rtl"}},(0,Qa.c)(ce)]};var ke=(0,rr.Z)("Cascader",ce=>[Se(ce)],ce=>{const me=Math.round((ce.controlHeight-ce.fontSize*ce.lineHeight)/2);return{controlWidth:184,controlItemWidth:111,dropdownHeight:180,optionSelectedBg:ce.controlItemBgActive,optionSelectedFontWeight:ce.fontWeightStrong,optionPadding:`${me}px ${ce.paddingSM}px`,menuPadding:ce.paddingXXS}}),je=function(ce,me){var xe={};for(var Ae in ce)Object.prototype.hasOwnProperty.call(ce,Ae)&&me.indexOf(Ae)<0&&(xe[Ae]=ce[Ae]);if(ce!=null&&typeof Object.getOwnPropertySymbols=="function")for(var He=0,Ae=Object.getOwnPropertySymbols(ce);He<Ae.length;He++)me.indexOf(Ae[He])<0&&Object.prototype.propertyIsEnumerable.call(ce,Ae[He])&&(xe[Ae[He]]=ce[Ae[He]]);return xe};const{SHOW_CHILD:tt,SHOW_PARENT:yt}=Tl;function ft(ce,me,xe){const Ae=ce.toLowerCase().split(me).reduce((ut,Dt,Mt)=>Mt===0?[Dt]:[].concat((0,x.Z)(ut),[me,Dt]),[]),He=[];let Qe=0;return Ae.forEach((ut,Dt)=>{const Mt=Qe+ut.length;let Zt=ce.slice(Qe,Mt);Qe=Mt,Dt%2===1&&(Zt=re.createElement("span",{className:`${xe}-menu-item-keyword`,key:`separator-${Dt}`},Zt)),He.push(Zt)}),He}const At=(ce,me,xe,Ae)=>{const He=[],Qe=ce.toLowerCase();return me.forEach((ut,Dt)=>{Dt!==0&&He.push(" / ");let Mt=ut[Ae.label];const Zt=typeof Mt;(Zt==="string"||Zt==="number")&&(Mt=ft(String(Mt),Qe,xe)),He.push(Mt)}),He},sn=re.forwardRef((ce,me)=>{const{prefixCls:xe,size:Ae,disabled:He,className:Qe,rootClassName:ut,multiple:Dt,bordered:Mt=!0,transitionName:Zt,choiceTransitionName:bt="",popupClassName:fn,dropdownClassName:Rn,expandIcon:jt,placement:mn,showSearch:In,allowClear:Sn=!0,notFoundContent:Kn,direction:ma,getPopupContainer:wa,status:ha,showArrow:Pa,builtinPlacements:aa,style:ea}=ce,La=je(ce,["prefixCls","size","disabled","className","rootClassName","multiple","bordered","transitionName","choiceTransitionName","popupClassName","dropdownClassName","expandIcon","placement","showSearch","allowClear","notFoundContent","direction","getPopupContainer","status","showArrow","builtinPlacements","style"]),Xn=(0,Hl.Z)(La,["suffixIcon"]),{getPopupContainer:Ia,getPrefixCls:Wa,renderEmpty:Ar,direction:Nr,popupOverflow:hr,cascader:ja}=re.useContext(Xi.E_),Sr=ma||Nr,Ha=Sr==="rtl",{status:Na,hasFeedback:$a,isFormItemInput:to,feedbackIcon:it}=re.useContext(lu.aM),Zn=(0,Jl.F)(Na,ha),Oa=Kn||(Ar==null?void 0:Ar("Cascader"))||re.createElement(Dl.Z,{componentName:"Cascader"}),Pn=Wa(),Yt=Wa("select",xe),Ra=Wa("cascader",xe),[Wn,pn]=(0,Ke.Z)(Yt),[Tn]=ke(Ra),{compactSize:or,compactItemClassnames:Ta}=(0,gr.ri)(Yt,ma),Wr=oe()(fn||Rn,`${Ra}-dropdown`,{[`${Ra}-dropdown-rtl`]:Sr==="rtl"},ut,pn),Dr=re.useMemo(()=>{if(!In)return In;let Oo={render:At};return typeof In=="object"&&(Oo=Object.assign(Object.assign({},Oo),In)),Oo},[In]),Un=(0,iu.Z)(Oo=>{var yo;return(yo=Ae!=null?Ae:or)!==null&&yo!==void 0?yo:Oo}),dr=re.useContext(ul.Z),Pr=He!=null?He:dr;let zr=jt;jt||(zr=Ha?re.createElement(Ce.Z,null):re.createElement(we.Z,null));const jr=re.createElement("span",{className:`${Yt}-menu-item-loading-icon`},re.createElement(ze.Z,{spin:!0})),no=re.useMemo(()=>Dt?re.createElement("span",{className:`${Ra}-checkbox-inner`}):!1,[Dt]),Fo=(0,nt.Z)(ce.suffixIcon,Pa),{suffixIcon:Qr,removeIcon:Ko,clearIcon:ai}=(0,Lt.Z)(Object.assign(Object.assign({},ce),{hasFeedback:$a,feedbackIcon:it,showSuffixIcon:Fo,multiple:Dt,prefixCls:Yt,componentName:"Cascader"})),pi=re.useMemo(()=>mn!==void 0?mn:Ha?"bottomRight":"bottomLeft",[mn,Ha]),fo=(0,Xe.Z)(aa,hr),Eo=Sn===!0?{clearIcon:ai}:Sn,ri=re.createElement(Tl,Object.assign({prefixCls:Yt,className:oe()(!xe&&Ra,{[`${Yt}-lg`]:Un==="large",[`${Yt}-sm`]:Un==="small",[`${Yt}-rtl`]:Ha,[`${Yt}-borderless`]:!Mt,[`${Yt}-in-form-item`]:to},(0,Jl.Z)(Yt,Zn,$a),Ta,ja==null?void 0:ja.className,Qe,ut,pn),disabled:Pr,style:Object.assign(Object.assign({},ja==null?void 0:ja.style),ea)},Xn,{builtinPlacements:fo,direction:Sr,placement:pi,notFoundContent:Oa,allowClear:Eo,showSearch:Dr,expandIcon:zr,suffixIcon:Qr,removeIcon:Ko,loadingIcon:jr,checkable:no,dropdownClassName:Wr,dropdownPrefixCls:xe||Ra,choiceTransitionName:(0,ql.m)(Pn,"",bt),transitionName:(0,ql.m)(Pn,"slide-up",Zt),getPopupContainer:wa||Ia,ref:me}));return Tn(Wn(ri))}),xn=(0,ou.Z)(sn);sn.SHOW_PARENT=yt,sn.SHOW_CHILD=tt,sn._InternalPanelDoNotUseOrYouWillBeFired=xn;var on=sn},84567:function(vt,dt,te){"use strict";te.d(dt,{default:function(){return de}});var x=te(94184),re=te.n(x),Ce=te(95860),ze=te(67294),we=te(53124),Te=te(98866),oe=te(65223),he=ze.createContext(null),ye=te(63185),Oe=te(45353),Ie=te(92429),ve=function(fe,be){var Ee={};for(var pe in fe)Object.prototype.hasOwnProperty.call(fe,pe)&&be.indexOf(pe)<0&&(Ee[pe]=fe[pe]);if(fe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ge=0,pe=Object.getOwnPropertySymbols(fe);ge<pe.length;ge++)be.indexOf(pe[ge])<0&&Object.prototype.propertyIsEnumerable.call(fe,pe[ge])&&(Ee[pe[ge]]=fe[pe[ge]]);return Ee};const ie=(fe,be)=>{var Ee;const{prefixCls:pe,className:ge,rootClassName:$e,children:Be,indeterminate:Le=!1,style:Re,onMouseEnter:Ge,onMouseLeave:Ye,skipGroup:Pt=!1,disabled:qe}=fe,at=ve(fe,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:pt,direction:_t,checkbox:Qt}=ze.useContext(we.E_),Je=ze.useContext(he),{isFormItemInput:xt}=ze.useContext(oe.aM),Et=ze.useContext(Te.Z),un=(Ee=(Je==null?void 0:Je.disabled)||qe)!==null&&Ee!==void 0?Ee:Et,Bt=ze.useRef(at.value);ze.useEffect(()=>{Je==null||Je.registerValue(at.value)},[]),ze.useEffect(()=>{if(!Pt)return at.value!==Bt.current&&(Je==null||Je.cancelValue(Bt.current),Je==null||Je.registerValue(at.value),Bt.current=at.value),()=>Je==null?void 0:Je.cancelValue(at.value)},[at.value]);const $t=pt("checkbox",pe),[Ne,Tt]=(0,ye.ZP)($t),an=Object.assign({},at);Je&&!Pt&&(an.onChange=function(){at.onChange&&at.onChange.apply(at,arguments),Je.toggleOption&&Je.toggleOption({label:Be,value:at.value})},an.name=Je.name,an.checked=Je.value.includes(at.value));const Ft=re()(`${$t}-wrapper`,{[`${$t}-rtl`]:_t==="rtl",[`${$t}-wrapper-checked`]:an.checked,[`${$t}-wrapper-disabled`]:un,[`${$t}-wrapper-in-form-item`]:xt},Qt==null?void 0:Qt.className,ge,$e,Tt),ct=re()({[`${$t}-indeterminate`]:Le},Ie.A,Tt),Ct=Le?"mixed":void 0;return Ne(ze.createElement(Oe.Z,{component:"Checkbox",disabled:un},ze.createElement("label",{className:Ft,style:Object.assign(Object.assign({},Qt==null?void 0:Qt.style),Re),onMouseEnter:Ge,onMouseLeave:Ye},ze.createElement(Ce.Z,Object.assign({"aria-checked":Ct},an,{prefixCls:$t,className:ct,disabled:un,ref:be})),Be!==void 0&&ze.createElement("span",null,Be))))};var a=ze.forwardRef(ie),b=te(74902),y=te(10366),z=function(fe,be){var Ee={};for(var pe in fe)Object.prototype.hasOwnProperty.call(fe,pe)&&be.indexOf(pe)<0&&(Ee[pe]=fe[pe]);if(fe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ge=0,pe=Object.getOwnPropertySymbols(fe);ge<pe.length;ge++)be.indexOf(pe[ge])<0&&Object.prototype.propertyIsEnumerable.call(fe,pe[ge])&&(Ee[pe[ge]]=fe[pe[ge]]);return Ee};const ee=(fe,be)=>{const{defaultValue:Ee,children:pe,options:ge=[],prefixCls:$e,className:Be,rootClassName:Le,style:Re,onChange:Ge}=fe,Ye=z(fe,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:Pt,direction:qe}=ze.useContext(we.E_),[at,pt]=ze.useState(Ye.value||Ee||[]),[_t,Qt]=ze.useState([]);ze.useEffect(()=>{"value"in Ye&&pt(Ye.value||[])},[Ye.value]);const Je=ze.useMemo(()=>ge.map(Ze=>typeof Ze=="string"||typeof Ze=="number"?{label:Ze,value:Ze}:Ze),[ge]),xt=Ze=>{Qt(Me=>Me.filter(et=>et!==Ze))},Et=Ze=>{Qt(Me=>[].concat((0,b.Z)(Me),[Ze]))},un=Ze=>{const Me=at.indexOf(Ze.value),et=(0,b.Z)(at);Me===-1?et.push(Ze.value):et.splice(Me,1),"value"in Ye||pt(et),Ge==null||Ge(et.filter(wt=>_t.includes(wt)).sort((wt,Ot)=>{const Ut=Je.findIndex(An=>An.value===wt),wn=Je.findIndex(An=>An.value===Ot);return Ut-wn}))},Bt=Pt("checkbox",$e),$t=`${Bt}-group`,[Ne,Tt]=(0,ye.ZP)(Bt),an=(0,y.Z)(Ye,["value","disabled"]),Ft=ge.length?Je.map(Ze=>ze.createElement(a,{prefixCls:Bt,key:Ze.value.toString(),disabled:"disabled"in Ze?Ze.disabled:Ye.disabled,value:Ze.value,checked:at.includes(Ze.value),onChange:Ze.onChange,className:`${$t}-item`,style:Ze.style,title:Ze.title},Ze.label)):pe,ct={toggleOption:un,value:at,disabled:Ye.disabled,name:Ye.name,registerValue:Et,cancelValue:xt},Ct=re()($t,{[`${$t}-rtl`]:qe==="rtl"},Be,Le,Tt);return Ne(ze.createElement("div",Object.assign({className:Ct,style:Re},an,{ref:be}),ze.createElement(he.Provider,{value:ct},Ft)))},ne=ze.forwardRef(ee);var ae=ze.memo(ne);const le=a;le.Group=ae,le.__ANT_CHECKBOX=!0;var de=le},63185:function(vt,dt,te){"use strict";te.d(dt,{C2:function(){return we}});var x=te(14747),re=te(45503),Ce=te(67968);const ze=Te=>{const{checkboxCls:oe}=Te,Fe=`${oe}-wrapper`;return[{[`${oe}-group`]:Object.assign(Object.assign({},(0,x.Wf)(Te)),{display:"inline-flex",flexWrap:"wrap",columnGap:Te.marginXS,[`> ${Te.antCls}-row`]:{flex:1}}),[Fe]:Object.assign(Object.assign({},(0,x.Wf)(Te)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${Fe}`]:{marginInlineStart:0},[`&${Fe}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[oe]:Object.assign(Object.assign({},(0,x.Wf)(Te)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:Te.borderRadiusSM,alignSelf:"center",[`${oe}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${oe}-inner`]:Object.assign({},(0,x.oN)(Te))},[`${oe}-inner`]:{boxSizing:"border-box",position:"relative",top:0,insetInlineStart:0,display:"block",width:Te.checkboxSize,height:Te.checkboxSize,direction:"ltr",backgroundColor:Te.colorBgContainer,border:`${Te.lineWidth}px ${Te.lineType} ${Te.colorBorder}`,borderRadius:Te.borderRadiusSM,borderCollapse:"separate",transition:`all ${Te.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"21.5%",display:"table",width:Te.checkboxSize/14*5,height:Te.checkboxSize/14*8,border:`${Te.lineWidthBold}px solid ${Te.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${Te.motionDurationFast} ${Te.motionEaseInBack}, opacity ${Te.motionDurationFast}`}},"& + span":{paddingInlineStart:Te.paddingXS,paddingInlineEnd:Te.paddingXS}})},{[`
${Fe}:not(${Fe}-disabled),
${oe}:not(${oe}-disabled)
`]:{[`&:hover ${oe}-inner`]:{borderColor:Te.colorPrimary}},[`${Fe}:not(${Fe}-disabled)`]:{[`&:hover ${oe}-checked:not(${oe}-disabled) ${oe}-inner`]:{backgroundColor:Te.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${oe}-checked:not(${oe}-disabled):after`]:{borderColor:Te.colorPrimaryHover}}},{[`${oe}-checked`]:{[`${oe}-inner`]:{backgroundColor:Te.colorPrimary,borderColor:Te.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${Te.motionDurationMid} ${Te.motionEaseOutBack} ${Te.motionDurationFast}`}}},[`
${Fe}-checked:not(${Fe}-disabled),
${oe}-checked:not(${oe}-disabled)
`]:{[`&:hover ${oe}-inner`]:{backgroundColor:Te.colorPrimaryHover,borderColor:"transparent"}}},{[oe]:{"&-indeterminate":{[`${oe}-inner`]:{backgroundColor:Te.colorBgContainer,borderColor:Te.colorBorder,"&:after":{top:"50%",insetInlineStart:"50%",width:Te.fontSizeLG/2,height:Te.fontSizeLG/2,backgroundColor:Te.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}}}}},{[`${Fe}-disabled`]:{cursor:"not-allowed"},[`${oe}-disabled`]:{[`&, ${oe}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${oe}-inner`]:{background:Te.colorBgContainerDisabled,borderColor:Te.colorBorder,"&:after":{borderColor:Te.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:Te.colorTextDisabled},[`&${oe}-indeterminate ${oe}-inner::after`]:{background:Te.colorTextDisabled}}}]};function we(Te,oe){const Fe=(0,re.TS)(oe,{checkboxCls:`.${Te}`,checkboxSize:oe.controlInteractiveSize});return[ze(Fe)]}dt.ZP=(0,Ce.Z)("Checkbox",(Te,oe)=>{let{prefixCls:Fe}=oe;return[we(Fe,Te)]})},47221:function(vt,dt,te){"use strict";te.d(dt,{default:function(){return an}});var x=te(91034),re=te(94184),Ce=te.n(re),ze=te(97685),we=te(74902),Te=te(71002),oe=te(21770),Fe=te(80334),he=te(67294),ye=te(87462),Oe=te(45987),Ie=te(50344),ve=te(4942),ie=te(62874),E=te(15105),a=he.forwardRef(function(Ft,ct){var Ct,Ze=Ft.prefixCls,Me=Ft.forceRender,et=Ft.className,wt=Ft.style,Ot=Ft.children,Ut=Ft.isActive,wn=Ft.role,An=he.useState(Ut||Me),tn=(0,ze.Z)(An,2),Dn=tn[0],_e=tn[1];return he.useEffect(function(){(Me||Ut)&&_e(!0)},[Me,Ut]),Dn?he.createElement("div",{ref:ct,className:Ce()("".concat(Ze,"-content"),(Ct={},(0,ve.Z)(Ct,"".concat(Ze,"-content-active"),Ut),(0,ve.Z)(Ct,"".concat(Ze,"-content-inactive"),!Ut),Ct),et),style:wt,role:wn},he.createElement("div",{className:"".concat(Ze,"-content-box")},Ot)):null});a.displayName="PanelContent";var b=a,y=["showArrow","headerClass","isActive","onItemClick","forceRender","className","prefixCls","collapsible","accordion","panelKey","extra","header","expandIcon","openMotion","destroyInactivePanel","children"],z=he.forwardRef(function(Ft,ct){var Ct,Ze,Me=Ft.showArrow,et=Me===void 0?!0:Me,wt=Ft.headerClass,Ot=Ft.isActive,Ut=Ft.onItemClick,wn=Ft.forceRender,An=Ft.className,tn=Ft.prefixCls,Dn=Ft.collapsible,_e=Ft.accordion,ot=Ft.panelKey,rn=Ft.extra,hn=Ft.header,lt=Ft.expandIcon,gn=Ft.openMotion,qn=Ft.destroyInactivePanel,Gn=Ft.children,ua=(0,Oe.Z)(Ft,y),cn=Dn==="disabled",Jt=Dn==="header",On=Dn==="icon",ra=rn!=null&&typeof rn!="boolean",sa=function(){Ut==null||Ut(ot)},ga=function(Ka){(Ka.key==="Enter"||Ka.keyCode===E.Z.ENTER||Ka.which===E.Z.ENTER)&&sa()},er=typeof lt=="function"?lt(Ft):he.createElement("i",{className:"arrow"});er&&(er=he.createElement("div",{className:"".concat(tn,"-expand-icon"),onClick:["header","icon"].includes(Dn)?sa:void 0},er));var Ht=Ce()((Ct={},(0,ve.Z)(Ct,"".concat(tn,"-item"),!0),(0,ve.Z)(Ct,"".concat(tn,"-item-active"),Ot),(0,ve.Z)(Ct,"".concat(tn,"-item-disabled"),cn),Ct),An),Xt=Ce()(wt,(Ze={},(0,ve.Z)(Ze,"".concat(tn,"-header"),!0),(0,ve.Z)(Ze,"".concat(tn,"-header-collapsible-only"),Jt),(0,ve.Z)(Ze,"".concat(tn,"-icon-collapsible-only"),On),Ze)),nn={className:Xt,"aria-expanded":Ot,"aria-disabled":cn,onKeyDown:ga};return!Jt&&!On&&(nn.onClick=sa,nn.role=_e?"tab":"button",nn.tabIndex=cn?-1:0),he.createElement("div",(0,ye.Z)({},ua,{ref:ct,className:Ht}),he.createElement("div",nn,et&&er,he.createElement("span",{className:"".concat(tn,"-header-text"),onClick:Dn==="header"?sa:void 0},hn),ra&&he.createElement("div",{className:"".concat(tn,"-extra")},rn)),he.createElement(ie.Z,(0,ye.Z)({visible:Ot,leavedClassName:"".concat(tn,"-content-hidden")},gn,{forceRender:wn,removeOnLeave:qn}),function(Vn,Ka){var vr=Vn.className,Or=Vn.style;return he.createElement(b,{ref:Ka,prefixCls:tn,className:vr,style:Or,isActive:Ot,forceRender:wn,role:_e?"tabpanel":void 0},Gn)}))}),ee=z,ne=["children","label","key","collapsible","onItemClick","destroyInactivePanel"],ae=function(ct,Ct){var Ze=Ct.prefixCls,Me=Ct.accordion,et=Ct.collapsible,wt=Ct.destroyInactivePanel,Ot=Ct.onItemClick,Ut=Ct.activeKey,wn=Ct.openMotion,An=Ct.expandIcon;return ct.map(function(tn,Dn){var _e=tn.children,ot=tn.label,rn=tn.key,hn=tn.collapsible,lt=tn.onItemClick,gn=tn.destroyInactivePanel,qn=(0,Oe.Z)(tn,ne),Gn=String(rn!=null?rn:Dn),ua=hn!=null?hn:et,cn=gn!=null?gn:wt,Jt=function(sa){ua!=="disabled"&&(Ot(sa),lt==null||lt(sa))},On=!1;return Me?On=Ut[0]===Gn:On=Ut.indexOf(Gn)>-1,he.createElement(ee,(0,ye.Z)({},qn,{prefixCls:Ze,key:Gn,panelKey:Gn,isActive:On,accordion:Me,openMotion:wn,expandIcon:An,header:ot,collapsible:ua,onItemClick:Jt,destroyInactivePanel:cn}),_e)})},le=function(ct,Ct,Ze){if(!ct)return null;var Me=Ze.prefixCls,et=Ze.accordion,wt=Ze.collapsible,Ot=Ze.destroyInactivePanel,Ut=Ze.onItemClick,wn=Ze.activeKey,An=Ze.openMotion,tn=Ze.expandIcon,Dn=ct.key||String(Ct),_e=ct.props,ot=_e.header,rn=_e.headerClass,hn=_e.destroyInactivePanel,lt=_e.collapsible,gn=_e.onItemClick,qn=!1;et?qn=wn[0]===Dn:qn=wn.indexOf(Dn)>-1;var Gn=lt!=null?lt:wt,ua=function(On){Gn!=="disabled"&&(Ut(On),gn==null||gn(On))},cn={key:Dn,panelKey:Dn,header:ot,headerClass:rn,isActive:qn,prefixCls:Me,destroyInactivePanel:hn!=null?hn:Ot,openMotion:An,accordion:et,children:ct.props.children,onItemClick:ua,expandIcon:tn,collapsible:Gn};return typeof ct.type=="string"?ct:(Object.keys(cn).forEach(function(Jt){typeof cn[Jt]=="undefined"&&delete cn[Jt]}),he.cloneElement(ct,cn))};function de(Ft,ct,Ct){return Array.isArray(Ft)?ae(Ft,Ct):(0,Ie.Z)(ct).map(function(Ze,Me){return le(Ze,Me,Ct)})}var fe=de;function be(Ft){var ct=Ft;if(!Array.isArray(ct)){var Ct=(0,Te.Z)(ct);ct=Ct==="number"||Ct==="string"?[ct]:[]}return ct.map(function(Ze){return String(Ze)})}var Ee=he.forwardRef(function(Ft,ct){var Ct=Ft.prefixCls,Ze=Ct===void 0?"rc-collapse":Ct,Me=Ft.destroyInactivePanel,et=Me===void 0?!1:Me,wt=Ft.style,Ot=Ft.accordion,Ut=Ft.className,wn=Ft.children,An=Ft.collapsible,tn=Ft.openMotion,Dn=Ft.expandIcon,_e=Ft.activeKey,ot=Ft.defaultActiveKey,rn=Ft.onChange,hn=Ft.items,lt=Ce()(Ze,Ut),gn=(0,oe.Z)([],{value:_e,onChange:function(ra){return rn==null?void 0:rn(ra)},defaultValue:ot,postState:be}),qn=(0,ze.Z)(gn,2),Gn=qn[0],ua=qn[1],cn=function(ra){return ua(function(){if(Ot)return Gn[0]===ra?[]:[ra];var sa=Gn.indexOf(ra),ga=sa>-1;return ga?Gn.filter(function(er){return er!==ra}):[].concat((0,we.Z)(Gn),[ra])})};(0,Fe.ZP)(!wn,"`children` will be removed in next major version. Please use `items` instead.");var Jt=fe(hn,wn,{prefixCls:Ze,accordion:Ot,openMotion:tn,expandIcon:Dn,collapsible:An,destroyInactivePanel:et,onItemClick:cn,activeKey:Gn});return he.createElement("div",{ref:ct,className:lt,style:wt,role:Ot?"tablist":void 0},Jt)}),pe=Object.assign(Ee,{Panel:ee}),ge=pe,$e=pe.Panel,Be=te(37419),Le=te(10366),Re=te(33603),Ge=te(96159),Ye=te(53124),Pt=te(98675),at=he.forwardRef((Ft,ct)=>{const{getPrefixCls:Ct}=he.useContext(Ye.E_),{prefixCls:Ze,className:Me,showArrow:et=!0}=Ft,wt=Ct("collapse",Ze),Ot=Ce()({[`${wt}-no-arrow`]:!et},Me);return he.createElement(ge.Panel,Object.assign({ref:ct},Ft,{prefixCls:wt,className:Ot}))}),pt=te(14747),_t=te(33507),Qt=te(67968),Je=te(45503);const xt=Ft=>{const{componentCls:ct,contentBg:Ct,padding:Ze,headerBg:Me,headerPadding:et,collapseHeaderPaddingSM:wt,collapseHeaderPaddingLG:Ot,collapsePanelBorderRadius:Ut,lineWidth:wn,lineType:An,colorBorder:tn,colorText:Dn,colorTextHeading:_e,colorTextDisabled:ot,fontSize:rn,fontSizeLG:hn,lineHeight:lt,marginSM:gn,paddingSM:qn,paddingLG:Gn,paddingXS:ua,motionDurationSlow:cn,fontSizeIcon:Jt,contentPadding:On}=Ft,ra=`${wn}px ${An} ${tn}`;return{[ct]:Object.assign(Object.assign({},(0,pt.Wf)(Ft)),{backgroundColor:Me,border:ra,borderBottom:0,borderRadius:`${Ut}px`,"&-rtl":{direction:"rtl"},[`& > ${ct}-item`]:{borderBottom:ra,"&:last-child":{[`
&,
& > ${ct}-header`]:{borderRadius:`0 0 ${Ut}px ${Ut}px`}},[`> ${ct}-header`]:{position:"relative",display:"flex",flexWrap:"nowrap",alignItems:"flex-start",padding:et,color:_e,lineHeight:lt,cursor:"pointer",transition:`all ${cn}, visibility 0s`,[`> ${ct}-header-text`]:{flex:"auto"},"&:focus":{outline:"none"},[`${ct}-expand-icon`]:{height:rn*lt,display:"flex",alignItems:"center",paddingInlineEnd:gn},[`${ct}-arrow`]:Object.assign(Object.assign({},(0,pt.Ro)()),{fontSize:Jt,svg:{transition:`transform ${cn}`}}),[`${ct}-header-text`]:{marginInlineEnd:"auto"}},[`${ct}-header-collapsible-only`]:{cursor:"default",[`${ct}-header-text`]:{flex:"none",cursor:"pointer"}},[`${ct}-icon-collapsible-only`]:{cursor:"default",[`${ct}-expand-icon`]:{cursor:"pointer"}}},[`${ct}-content`]:{color:Dn,backgroundColor:Ct,borderTop:ra,[`& > ${ct}-content-box`]:{padding:On},"&-hidden":{display:"none"}},"&-small":{[`> ${ct}-item`]:{[`> ${ct}-header`]:{padding:wt,paddingInlineStart:ua,[`> ${ct}-expand-icon`]:{marginInlineStart:qn-ua}},[`> ${ct}-content > ${ct}-content-box`]:{padding:qn}}},"&-large":{[`> ${ct}-item`]:{fontSize:hn,[`> ${ct}-header`]:{padding:Ot,paddingInlineStart:Ze,[`> ${ct}-expand-icon`]:{height:hn*lt,marginInlineStart:Gn-Ze}},[`> ${ct}-content > ${ct}-content-box`]:{padding:Gn}}},[`${ct}-item:last-child`]:{[`> ${ct}-content`]:{borderRadius:`0 0 ${Ut}px ${Ut}px`}},[`& ${ct}-item-disabled > ${ct}-header`]:{"\n &,\n & > .arrow\n ":{color:ot,cursor:"not-allowed"}},[`&${ct}-icon-position-end`]:{[`& > ${ct}-item`]:{[`> ${ct}-header`]:{[`${ct}-expand-icon`]:{order:1,paddingInlineEnd:0,paddingInlineStart:gn}}}}})}},Et=Ft=>{const{componentCls:ct}=Ft,Ct=`> ${ct}-item > ${ct}-header ${ct}-arrow svg`;return{[`${ct}-rtl`]:{[Ct]:{transform:"rotate(180deg)"}}}},un=Ft=>{const{componentCls:ct,headerBg:Ct,paddingXXS:Ze,colorBorder:Me}=Ft;return{[`${ct}-borderless`]:{backgroundColor:Ct,border:0,[`> ${ct}-item`]:{borderBottom:`1px solid ${Me}`},[`
> ${ct}-item:last-child,
> ${ct}-item:last-child ${ct}-header
`]:{borderRadius:0},[`> ${ct}-item:last-child`]:{borderBottom:0},[`> ${ct}-item > ${ct}-content`]:{backgroundColor:"transparent",borderTop:0},[`> ${ct}-item > ${ct}-content > ${ct}-content-box`]:{paddingTop:Ze}}}},Bt=Ft=>{const{componentCls:ct,paddingSM:Ct}=Ft;return{[`${ct}-ghost`]:{backgroundColor:"transparent",border:0,[`> ${ct}-item`]:{borderBottom:0,[`> ${ct}-content`]:{backgroundColor:"transparent",border:0,[`> ${ct}-content-box`]:{paddingBlock:Ct}}}}}};var $t=(0,Qt.Z)("Collapse",Ft=>{const ct=(0,Je.TS)(Ft,{collapseHeaderPaddingSM:`${Ft.paddingXS}px ${Ft.paddingSM}px`,collapseHeaderPaddingLG:`${Ft.padding}px ${Ft.paddingLG}px`,collapsePanelBorderRadius:Ft.borderRadiusLG});return[xt(ct),un(ct),Bt(ct),Et(ct),(0,_t.Z)(ct)]},Ft=>({headerPadding:`${Ft.paddingSM}px ${Ft.padding}px`,headerBg:Ft.colorFillAlter,contentPadding:`${Ft.padding}px 16px`,contentBg:Ft.colorBgContainer})),Tt=Object.assign(he.forwardRef((Ft,ct)=>{const{getPrefixCls:Ct,direction:Ze,collapse:Me}=he.useContext(Ye.E_),{prefixCls:et,className:wt,rootClassName:Ot,style:Ut,bordered:wn=!0,ghost:An,size:tn,expandIconPosition:Dn="start",children:_e,expandIcon:ot}=Ft,rn=(0,Pt.Z)(ra=>{var sa;return(sa=tn!=null?tn:ra)!==null&&sa!==void 0?sa:"middle"}),hn=Ct("collapse",et),lt=Ct(),[gn,qn]=$t(hn),Gn=he.useMemo(()=>Dn==="left"?"start":Dn==="right"?"end":Dn,[Dn]),ua=function(){let ra=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const sa=ot?ot(ra):he.createElement(x.Z,{rotate:ra.isActive?90:void 0});return(0,Ge.Tm)(sa,()=>({className:Ce()(sa.props.className,`${hn}-arrow`)}))},cn=Ce()(`${hn}-icon-position-${Gn}`,{[`${hn}-borderless`]:!wn,[`${hn}-rtl`]:Ze==="rtl",[`${hn}-ghost`]:!!An,[`${hn}-${rn}`]:rn!=="middle"},Me==null?void 0:Me.className,wt,Ot,qn),Jt=Object.assign(Object.assign({},(0,Re.Z)(lt)),{motionAppear:!1,leavedClassName:`${hn}-content-hidden`}),On=he.useMemo(()=>_e?(0,Be.Z)(_e).map((ra,sa)=>{var ga,er;if(!((ga=ra.props)===null||ga===void 0)&&ga.disabled){const Ht=(er=ra.key)!==null&&er!==void 0?er:String(sa),{disabled:Xt,collapsible:nn}=ra.props,Vn=Object.assign(Object.assign({},(0,Le.Z)(ra.props,["disabled"])),{key:Ht,collapsible:nn!=null?nn:Xt?"disabled":void 0});return(0,Ge.Tm)(ra,Vn)}return ra}):null,[_e]);return gn(he.createElement(ge,Object.assign({ref:ct,openMotion:Jt},(0,Le.Z)(Ft,["rootClassName"]),{expandIcon:ua,prefixCls:hn,className:cn,style:Object.assign(Object.assign({},Me==null?void 0:Me.style),Ut)}),On))}),{Panel:at}),an=Tt},96074:function(vt,dt,te){"use strict";te.d(dt,{Z:function(){return Ie}});var x=te(94184),re=te.n(x),Ce=te(67294),ze=te(53124),we=te(14747),Te=te(67968),oe=te(45503);const Fe=ve=>{const{componentCls:ie,sizePaddingEdgeHorizontal:E,colorSplit:a,lineWidth:b,textPaddingInline:y,orientationMargin:z,verticalMarginInline:ee}=ve;return{[ie]:Object.assign(Object.assign({},(0,we.Wf)(ve)),{borderBlockStart:`${b}px solid ${a}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",marginInline:ee,marginBlock:0,verticalAlign:"middle",borderTop:0,borderInlineStart:`${b}px solid ${a}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${ve.dividerHorizontalGutterMargin}px 0`},[`&-horizontal${ie}-with-text`]:{display:"flex",alignItems:"center",margin:`${ve.dividerHorizontalWithTextGutterMargin}px 0`,color:ve.colorTextHeading,fontWeight:500,fontSize:ve.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:`0 ${a}`,"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:`${b}px solid transparent`,borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},[`&-horizontal${ie}-with-text-left`]:{"&::before":{width:`${z*100}%`},"&::after":{width:`${100-z*100}%`}},[`&-horizontal${ie}-with-text-right`]:{"&::before":{width:`${100-z*100}%`},"&::after":{width:`${z*100}%`}},[`${ie}-inner-text`]:{display:"inline-block",paddingBlock:0,paddingInline:y},"&-dashed":{background:"none",borderColor:a,borderStyle:"dashed",borderWidth:`${b}px 0 0`},[`&-horizontal${ie}-with-text${ie}-dashed`]:{"&::before, &::after":{borderStyle:"dashed none none"}},[`&-vertical${ie}-dashed`]:{borderInlineStartWidth:b,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${ie}-with-text`]:{color:ve.colorText,fontWeight:"normal",fontSize:ve.fontSize},[`&-horizontal${ie}-with-text-left${ie}-no-default-orientation-margin-left`]:{"&::before":{width:0},"&::after":{width:"100%"},[`${ie}-inner-text`]:{paddingInlineStart:E}},[`&-horizontal${ie}-with-text-right${ie}-no-default-orientation-margin-right`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${ie}-inner-text`]:{paddingInlineEnd:E}}})}};var he=(0,Te.Z)("Divider",ve=>{const ie=(0,oe.TS)(ve,{dividerHorizontalWithTextGutterMargin:ve.margin,dividerHorizontalGutterMargin:ve.marginLG,sizePaddingEdgeHorizontal:0});return[Fe(ie)]},ve=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:ve.marginXS})),ye=function(ve,ie){var E={};for(var a in ve)Object.prototype.hasOwnProperty.call(ve,a)&&ie.indexOf(a)<0&&(E[a]=ve[a]);if(ve!=null&&typeof Object.getOwnPropertySymbols=="function")for(var b=0,a=Object.getOwnPropertySymbols(ve);b<a.length;b++)ie.indexOf(a[b])<0&&Object.prototype.propertyIsEnumerable.call(ve,a[b])&&(E[a[b]]=ve[a[b]]);return E},Ie=ve=>{const{getPrefixCls:ie,direction:E,divider:a}=Ce.useContext(ze.E_),{prefixCls:b,type:y="horizontal",orientation:z="center",orientationMargin:ee,className:ne,rootClassName:ae,children:le,dashed:de,plain:fe,style:be}=ve,Ee=ye(ve,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","plain","style"]),pe=ie("divider",b),[ge,$e]=he(pe),Be=z.length>0?`-${z}`:z,Le=!!le,Re=z==="left"&&ee!=null,Ge=z==="right"&&ee!=null,Ye=re()(pe,a==null?void 0:a.className,$e,`${pe}-${y}`,{[`${pe}-with-text`]:Le,[`${pe}-with-text${Be}`]:Le,[`${pe}-dashed`]:!!de,[`${pe}-plain`]:!!fe,[`${pe}-rtl`]:E==="rtl",[`${pe}-no-default-orientation-margin-left`]:Re,[`${pe}-no-default-orientation-margin-right`]:Ge},ne,ae),Pt=Ce.useMemo(()=>typeof ee=="number"?ee:/^\d+$/.test(ee)?Number(ee):ee,[ee]),qe=Object.assign(Object.assign({},Re&&{marginLeft:Pt}),Ge&&{marginRight:Pt});return ge(Ce.createElement("div",Object.assign({className:Ye,style:Object.assign(Object.assign({},a==null?void 0:a.style),be)},Ee,{role:"separator"}),le&&y!=="vertical"&&Ce.createElement("span",{className:`${pe}-inner-text`,style:qe},le)))}},56153:function(vt,dt,te){"use strict";te.d(dt,{Z:function(){return rr}});var x=te(67294),re=te.t(x,2),Ce=te(91034),ze=te(94184),we=te.n(ze),Te=te(87462),oe=te(4942),Fe=te(97685),he=te(45987),ye=te(1413),Oe=te(73935);function Ie(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var ve={};function ie(Se,ke){}function E(Se,ke){}function a(){ve={}}function b(Se,ke,je){!ke&&!ve[je]&&(Se(!1,je),ve[je]=!0)}function y(Se,ke){b(ie,Se,ke)}function z(Se,ke){b(E,Se,ke)}var ee=null,ne=te(71002),ae=te(12060);function le(Se,ke,je){var tt=x.useRef({});return(!("value"in tt.current)||je(tt.current.condition,ke))&&(tt.current.value=Se(),tt.current.condition=ke),tt.current.value}function de(Se,ke){typeof Se=="function"?Se(ke):(0,ne.Z)(Se)==="object"&&Se&&"current"in Se&&(Se.current=ke)}function fe(){for(var Se=arguments.length,ke=new Array(Se),je=0;je<Se;je++)ke[je]=arguments[je];var tt=ke.filter(function(yt){return yt});return tt.length<=1?tt[0]:function(yt){ke.forEach(function(ft){de(ft,yt)})}}function be(){for(var Se=arguments.length,ke=new Array(Se),je=0;je<Se;je++)ke[je]=arguments[je];return le(function(){return fe.apply(void 0,ke)},ke,function(tt,yt){return tt.length===yt.length&&tt.every(function(ft,At){return ft===yt[At]})})}function Ee(Se){var ke,je,tt=(0,ae.isMemo)(Se)?Se.type.type:Se.type;return!(typeof tt=="function"&&!((ke=tt.prototype)!==null&&ke!==void 0&&ke.render)||typeof Se=="function"&&!((je=Se.prototype)!==null&&je!==void 0&&je.render))}var pe=x.createContext(null),ge=pe,$e=te(74902),Be=Ie()?x.useLayoutEffect:x.useEffect,Le=Be,Re=function(ke,je){var tt=React.useRef(!0);Be(function(){if(!tt.current)return ke()},je),Be(function(){return tt.current=!1,function(){tt.current=!0}},[])},Ge=[];function Ye(Se,ke){var je=x.useState(function(){if(!Ie())return null;var He=document.createElement("div");return He}),tt=(0,Fe.Z)(je,1),yt=tt[0],ft=x.useRef(!1),At=x.useContext(ge),sn=x.useState(Ge),xn=(0,Fe.Z)(sn,2),on=xn[0],ce=xn[1],me=At||(ft.current?void 0:function(He){ce(function(Qe){var ut=[He].concat((0,$e.Z)(Qe));return ut})});function xe(){yt.parentElement||document.body.appendChild(yt),ft.current=!0}function Ae(){var He;(He=yt.parentElement)===null||He===void 0||He.removeChild(yt),ft.current=!1}return Le(function(){return Se?At?At(xe):xe():Ae(),Ae},[Se]),Le(function(){on.length&&(on.forEach(function(He){return He()}),ce(Ge))},[on]),[yt,me]}function Pt(Se,ke){if(!Se)return!1;if(Se.contains)return Se.contains(ke);for(var je=ke;je;){if(je===Se)return!0;je=je.parentNode}return!1}var qe="data-rc-order",at="rc-util-key",pt=new Map;function _t(){var Se=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},ke=Se.mark;return ke?ke.startsWith("data-")?ke:"data-".concat(ke):at}function Qt(Se){if(Se.attachTo)return Se.attachTo;var ke=document.querySelector("head");return ke||document.body}function Je(Se){return Se==="queue"?"prependQueue":Se?"prepend":"append"}function xt(Se){return Array.from((pt.get(Se)||Se).children).filter(function(ke){return ke.tagName==="STYLE"})}function Et(Se){var ke=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!Ie())return null;var je=ke.csp,tt=ke.prepend,yt=document.createElement("style");yt.setAttribute(qe,Je(tt)),je!=null&&je.nonce&&(yt.nonce=je==null?void 0:je.nonce),yt.innerHTML=Se;var ft=Qt(ke),At=ft.firstChild;if(tt){if(tt==="queue"){var sn=xt(ft).filter(function(xn){return["prepend","prependQueue"].includes(xn.getAttribute(qe))});if(sn.length)return ft.insertBefore(yt,sn[sn.length-1].nextSibling),yt}ft.insertBefore(yt,At)}else ft.appendChild(yt);return yt}function un(Se){var ke=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},je=Qt(ke);return xt(je).find(function(tt){return tt.getAttribute(_t(ke))===Se})}function Bt(Se){var ke=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},je=un(Se,ke);if(je){var tt=Qt(ke);tt.removeChild(je)}}function $t(Se,ke){var je=pt.get(Se);if(!je||!Pt(document,je)){var tt=Et("",ke),yt=tt.parentNode;pt.set(Se,yt),Se.removeChild(tt)}}function Ne(){pt.clear()}function Tt(Se,ke){var je=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},tt=Qt(je);$t(tt,je);var yt=un(ke,je);if(yt){var ft,At;if((ft=je.csp)!==null&&ft!==void 0&&ft.nonce&&yt.nonce!==((At=je.csp)===null||At===void 0?void 0:At.nonce)){var sn;yt.nonce=(sn=je.csp)===null||sn===void 0?void 0:sn.nonce}return yt.innerHTML!==Se&&(yt.innerHTML=Se),yt}var xn=Et(Se,je);return xn.setAttribute(_t(je),ke),xn}var an;function Ft(Se){if(typeof document=="undefined")return 0;if(Se||an===void 0){var ke=document.createElement("div");ke.style.width="100%",ke.style.height="200px";var je=document.createElement("div"),tt=je.style;tt.position="absolute",tt.top="0",tt.left="0",tt.pointerEvents="none",tt.visibility="hidden",tt.width="200px",tt.height="150px",tt.overflow="hidden",je.appendChild(ke),document.body.appendChild(je);var yt=ke.offsetWidth;je.style.overflow="scroll";var ft=ke.offsetWidth;yt===ft&&(ft=je.clientWidth),document.body.removeChild(je),an=yt-ft}return an}function ct(Se){var ke=Se.match(/^(.*)px$/),je=Number(ke==null?void 0:ke[1]);return Number.isNaN(je)?Ft():je}function Ct(Se){if(typeof document=="undefined"||!Se||!(Se instanceof Element))return{width:0,height:0};var ke=getComputedStyle(Se,"::-webkit-scrollbar"),je=ke.width,tt=ke.height;return{width:ct(je),height:ct(tt)}}function Ze(){return document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth}var Me="rc-util-locker-".concat(Date.now()),et=0;function wt(Se){var ke=!!Se,je=x.useState(function(){return et+=1,"".concat(Me,"_").concat(et)}),tt=(0,Fe.Z)(je,1),yt=tt[0];Le(function(){if(ke){var ft=Ct(document.body).width,At=Ze();Tt(`
html body {
overflow-y: hidden;
`.concat(At?"width: calc(100% - ".concat(ft,"px);"):"",`
}`),yt)}else Bt(yt);return function(){Bt(yt)}},[ke,yt])}var Ot=!1;function Ut(Se){return typeof Se=="boolean"&&(Ot=Se),Ot}var wn=function(ke){return ke===!1?!1:!Ie()||!ke?null:typeof ke=="string"?document.querySelector(ke):typeof ke=="function"?ke():ke},An=x.forwardRef(function(Se,ke){var je=Se.open,tt=Se.autoLock,yt=Se.getContainer,ft=Se.debug,At=Se.autoDestroy,sn=At===void 0?!0:At,xn=Se.children,on=x.useState(je),ce=(0,Fe.Z)(on,2),me=ce[0],xe=ce[1],Ae=me||je;x.useEffect(function(){(sn||je)&&xe(je)},[je,sn]);var He=x.useState(function(){return wn(yt)}),Qe=(0,Fe.Z)(He,2),ut=Qe[0],Dt=Qe[1];x.useEffect(function(){var ma=wn(yt);Dt(ma!=null?ma:null)});var Mt=Ye(Ae&&!ut,ft),Zt=(0,Fe.Z)(Mt,2),bt=Zt[0],fn=Zt[1],Rn=ut!=null?ut:bt;wt(tt&&je&&Ie()&&(Rn===bt||Rn===document.body));var jt=null;if(xn&&Ee(xn)&&ke){var mn=xn;jt=mn.ref}var In=be(jt,ke);if(!Ae||!Ie()||ut===void 0)return null;var Sn=Rn===!1||Ut(),Kn=xn;return ke&&(Kn=x.cloneElement(xn,{ref:In})),x.createElement(ge.Provider,{value:fn},Sn?Kn:(0,Oe.createPortal)(Kn,Rn))}),tn=An,Dn=tn,_e=te(48555);function ot(Se){return Se instanceof HTMLElement||Se instanceof SVGElement}function rn(Se){return ot(Se)?Se:Se instanceof React.Component?ReactDOM.findDOMNode(Se):null}function hn(Se){var ke;return Se==null||(ke=Se.getRootNode)===null||ke===void 0?void 0:ke.call(Se)}function lt(Se){return hn(Se)instanceof ShadowRoot}function gn(Se){return lt(Se)?hn(Se):null}function qn(Se){var ke=x.useRef();ke.current=Se;var je=x.useCallback(function(){for(var tt,yt=arguments.length,ft=new Array(yt),At=0;At<yt;At++)ft[At]=arguments[At];return(tt=ke.current)===null||tt===void 0?void 0:tt.call.apply(tt,[ke].concat(ft))},[]);return je}function Gn(){var Se=(0,ye.Z)({},re);return Se.useId}var ua=0;function cn(){}var Jt=Gn(),On=Jt?function(ke){var je=Jt();return ke||je}:function(ke){var je=x.useState("ssr-id"),tt=(0,Fe.Z)(je,2),yt=tt[0],ft=tt[1];return x.useEffect(function(){var At=ua;ua+=1,ft("rc_unique_".concat(At))},[]),ke||yt};function ra(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var sa=ra()?x.useLayoutEffect:x.useEffect,ga=function(ke,je){var tt=x.useRef(!0);sa(function(){return ke(tt.current)},je),sa(function(){return tt.current=!1,function(){tt.current=!0}},[])},er=function(ke,je){ga(function(tt){if(!tt)return ke()},je)},Ht=ga,Xt=function(){if(typeof navigator=="undefined"||typeof window=="undefined")return!1;var Se=navigator.userAgent||navigator.vendor||window.opera;return/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(Se)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(Se==null?void 0:Se.substr(0,4))},nn=x.createContext(null),Vn=nn;function Ka(Se){return Se?Array.isArray(Se)?Se:[Se]:[]}function vr(Se,ke,je,tt){return x.useMemo(function(){var yt=Ka(je!=null?je:ke),ft=Ka(tt!=null?tt:ke),At=new Set(yt),sn=new Set(ft);return Se&&(At.has("hover")&&(At.delete("hover"),At.add("click")),sn.has("hover")&&(sn.delete("hover"),sn.add("click"))),[At,sn]},[Se,ke,je,tt])}var Or=function(Se){if(!Se)return!1;if(Se instanceof Element){if(Se.offsetParent)return!0;if(Se.getBBox){var ke=Se.getBBox(),je=ke.width,tt=ke.height;if(je||tt)return!0}if(Se.getBoundingClientRect){var yt=Se.getBoundingClientRect(),ft=yt.width,At=yt.height;if(ft||At)return!0}}return!1};function Va(){var Se=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],ke=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],je=arguments.length>2?arguments[2]:void 0;return je?Se[0]===ke[0]:Se[0]===ke[0]&&Se[1]===ke[1]}function Fn(Se,ke,je,tt){for(var yt=je.points,ft=Object.keys(Se),At=0;At<ft.length;At+=1){var sn,xn=ft[At];if(Va((sn=Se[xn])===null||sn===void 0?void 0:sn.points,yt,tt))return"".concat(ke,"-placement-").concat(xn)}return""}function Sa(Se,ke,je,tt){return ke||(je?{motionName:"".concat(Se,"-").concat(je)}:tt?{motionName:tt}:null)}function en(Se){return Se.ownerDocument.defaultView}function Cn(Se){for(var ke=[],je=Se==null?void 0:Se.parentElement,tt=["hidden","scroll","clip","auto"];je;){var yt=en(je).getComputedStyle(je),ft=yt.overflowX,At=yt.overflowY,sn=yt.overflow;[ft,At,sn].some(function(xn){return tt.includes(xn)})&&ke.push(je),je=je.parentElement}return ke}function Ln(Se){var ke=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;return Number.isNaN(Se)?ke:Se}function Mn(Se){return Ln(parseFloat(Se),0)}function ur(Se,ke){var je=(0,ye.Z)({},Se);return(ke||[]).forEach(function(tt){if(!(tt instanceof HTMLBodyElement||tt instanceof HTMLHtmlElement)){var yt=en(tt).getComputedStyle(tt),ft=yt.overflow,At=yt.overflowClipMargin,sn=yt.borderTopWidth,xn=yt.borderBottomWidth,on=yt.borderLeftWidth,ce=yt.borderRightWidth,me=tt.getBoundingClientRect(),xe=tt.offsetHeight,Ae=tt.clientHeight,He=tt.offsetWidth,Qe=tt.clientWidth,ut=Mn(sn),Dt=Mn(xn),Mt=Mn(on),Zt=Mn(ce),bt=Ln(Math.round(me.width/He*1e3)/1e3),fn=Ln(Math.round(me.height/xe*1e3)/1e3),Rn=(He-Qe-Mt-Zt)*bt,jt=(xe-Ae-ut-Dt)*fn,mn=ut*fn,In=Dt*fn,Sn=Mt*bt,Kn=Zt*bt,ma=0,wa=0;if(ft==="clip"){var ha=Mn(At);ma=ha*bt,wa=ha*fn}var Pa=me.x+Sn-ma,aa=me.y+mn-wa,ea=Pa+me.width+2*ma-Sn-Kn-Rn,La=aa+me.height+2*wa-mn-In-jt;je.left=Math.max(je.left,Pa),je.top=Math.max(je.top,aa),je.right=Math.min(je.right,ea),je.bottom=Math.min(je.bottom,La)}}),je}function Ba(Se){var ke=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,je="".concat(ke),tt=je.match(/^(.*)\%$/);return tt?Se*(parseFloat(tt[1])/100):parseFloat(je)}function Nn(Se,ke){var je=ke||[],tt=(0,Fe.Z)(je,2),yt=tt[0],ft=tt[1];return[Ba(Se.width,yt),Ba(Se.height,ft)]}function gt(){var Se=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return[Se[0],Se[1]]}function St(Se,ke){var je=ke[0],tt=ke[1],yt,ft;return je==="t"?ft=Se.y:je==="b"?ft=Se.y+Se.height:ft=Se.y+Se.height/2,tt==="l"?yt=Se.x:tt==="r"?yt=Se.x+Se.width:yt=Se.x+Se.width/2,{x:yt,y:ft}}function mt(Se,ke){var je={t:"b",b:"t",l:"r",r:"l"};return Se.map(function(tt,yt){return yt===ke?je[tt]||"c":tt}).join("")}function kt(Se,ke,je,tt,yt,ft,At){var sn=x.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:yt[tt]||{}}),xn=(0,Fe.Z)(sn,2),on=xn[0],ce=xn[1],me=x.useRef(0),xe=x.useMemo(function(){return ke?Cn(ke):[]},[ke]),Ae=x.useRef({}),He=function(){Ae.current={}};Se||He();var Qe=qn(function(){if(ke&&je&&Se){let Aa=function(yr,ar){var kr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Tn,Ur=Xn.x+yr,ro=Xn.y+ar,io=Ur+Na,Vo=ro+Ha,Qo=Math.max(Ur,kr.left),Vr=Math.max(ro,kr.top),ii=Math.min(io,kr.right),Ea=Math.min(Vo,kr.bottom);return Math.max(0,(ii-Qo)*(Ea-Vr))},Er=function(){Mr=Xn.y+vo,fa=Mr+Ha,tr=Xn.x+No,cr=tr+Na};var Mt,Zt,bt=ke,fn=bt.ownerDocument,Rn=en(bt),jt=Rn.getComputedStyle(bt),mn=jt.width,In=jt.height,Sn=jt.position,Kn=bt.style.left,ma=bt.style.top,wa=bt.style.right,ha=bt.style.bottom,Pa=(0,ye.Z)((0,ye.Z)({},yt[tt]),ft),aa=fn.createElement("div");(Mt=bt.parentElement)===null||Mt===void 0||Mt.appendChild(aa),aa.style.left="".concat(bt.offsetLeft,"px"),aa.style.top="".concat(bt.offsetTop,"px"),aa.style.position=Sn,aa.style.height="".concat(bt.offsetHeight,"px"),aa.style.width="".concat(bt.offsetWidth,"px"),bt.style.left="0",bt.style.top="0",bt.style.right="auto",bt.style.bottom="auto";var ea;if(Array.isArray(je))ea={x:je[0],y:je[1],width:0,height:0};else{var La=je.getBoundingClientRect();ea={x:La.x,y:La.y,width:La.width,height:La.height}}var Xn=bt.getBoundingClientRect(),Ia=fn.documentElement,Wa=Ia.clientWidth,Ar=Ia.clientHeight,Nr=Ia.scrollWidth,hr=Ia.scrollHeight,ja=Ia.scrollTop,Sr=Ia.scrollLeft,Ha=Xn.height,Na=Xn.width,$a=ea.height,to=ea.width,it={left:0,top:0,right:Wa,bottom:Ar},Zn={left:-Sr,top:-ja,right:Nr-Sr,bottom:hr-ja},Oa=Pa.htmlRegion,Pn="visible",Yt="visibleFirst";Oa!=="scroll"&&Oa!==Yt&&(Oa=Pn);var Ra=Oa===Yt,Wn=ur(Zn,xe),pn=ur(it,xe),Tn=Oa===Pn?pn:Wn,or=Ra?pn:Tn;bt.style.left="auto",bt.style.top="auto",bt.style.right="0",bt.style.bottom="0";var Ta=bt.getBoundingClientRect();bt.style.left=Kn,bt.style.top=ma,bt.style.right=wa,bt.style.bottom=ha,(Zt=bt.parentElement)===null||Zt===void 0||Zt.removeChild(aa);var Wr=Ln(Math.round(Na/parseFloat(mn)*1e3)/1e3),Dr=Ln(Math.round(Ha/parseFloat(In)*1e3)/1e3);if(Wr===0||Dr===0||ot(je)&&!Or(je))return;var Un=Pa.offset,dr=Pa.targetOffset,Pr=Nn(Xn,Un),zr=(0,Fe.Z)(Pr,2),jr=zr[0],no=zr[1],Fo=Nn(ea,dr),Qr=(0,Fe.Z)(Fo,2),Ko=Qr[0],ai=Qr[1];ea.x-=Ko,ea.y-=ai;var pi=Pa.points||[],fo=(0,Fe.Z)(pi,2),Eo=fo[0],ri=fo[1],Oo=gt(ri),yo=gt(Eo),gi=St(ea,Oo),oi=St(Xn,yo),bi=(0,ye.Z)({},Pa),No=gi.x-oi.x+jr,vo=gi.y-oi.y+no,Pi=Aa(No,vo),mi=Aa(No,vo,pn),Yi=St(ea,["t","l"]),xi=St(Xn,["t","l"]),qi=St(ea,["b","r"]),wi=St(Xn,["b","r"]),Do=Pa.overflow||{},Co=Do.adjustX,Go=Do.adjustY,Ei=Do.shiftX,ei=Do.shiftY,Ti=function(ar){return typeof ar=="boolean"?ar:ar>=0},Mr,fa,tr,cr;Er();var Rr=Ti(Go),To=yo[0]===Oo[0];if(Rr&&yo[0]==="t"&&(fa>or.bottom||Ae.current.bt)){var bo=vo;To?bo-=Ha-$a:bo=Yi.y-wi.y-no;var fi=Aa(No,bo),_o=Aa(No,bo,pn);fi>Pi||fi===Pi&&(!Ra||_o>=mi)?(Ae.current.bt=!0,vo=bo,no=-no,bi.points=[mt(yo,0),mt(Oo,0)]):Ae.current.bt=!1}if(Rr&&yo[0]==="b"&&(Mr<or.top||Ae.current.tb)){var Qi=vo;To?Qi+=Ha-$a:Qi=qi.y-xi.y-no;var ue=Aa(No,Qi),se=Aa(No,Qi,pn);ue>Pi||ue===Pi&&(!Ra||se>=mi)?(Ae.current.tb=!0,vo=Qi,no=-no,bi.points=[mt(yo,0),mt(Oo,0)]):Ae.current.tb=!1}var Pe=Ti(Co),De=yo[1]===Oo[1];if(Pe&&yo[1]==="l"&&(cr>or.right||Ae.current.rl)){var We=No;De?We-=Na-to:We=Yi.x-wi.x-jr;var Ve=Aa(We,vo),rt=Aa(We,vo,pn);Ve>Pi||Ve===Pi&&(!Ra||rt>=mi)?(Ae.current.rl=!0,No=We,jr=-jr,bi.points=[mt(yo,1),mt(Oo,1)]):Ae.current.rl=!1}if(Pe&&yo[1]==="r"&&(tr<or.left||Ae.current.lr)){var ht=No;De?ht+=Na-to:ht=qi.x-xi.x-jr;var st=Aa(ht,vo),Nt=Aa(ht,vo,pn);st>Pi||st===Pi&&(!Ra||Nt>=mi)?(Ae.current.lr=!0,No=ht,jr=-jr,bi.points=[mt(yo,1),mt(Oo,1)]):Ae.current.lr=!1}Er();var Wt=Ei===!0?0:Ei;typeof Wt=="number"&&(tr<pn.left&&(No-=tr-pn.left-jr,ea.x+to<pn.left+Wt&&(No+=ea.x-pn.left+to-Wt)),cr>pn.right&&(No-=cr-pn.right-jr,ea.x>pn.right-Wt&&(No+=ea.x-pn.right+Wt)));var Rt=ei===!0?0:ei;typeof Rt=="number"&&(Mr<pn.top&&(vo-=Mr-pn.top-no,ea.y+$a<pn.top+Rt&&(vo+=ea.y-pn.top+$a-Rt)),fa>pn.bottom&&(vo-=fa-pn.bottom-no,ea.y>pn.bottom-Rt&&(vo+=ea.y-pn.bottom+Rt)));var En=Xn.x+No,yn=En+Na,bn=Xn.y+vo,ca=bn+Ha,Yn=ea.x,va=Yn+to,ia=ea.y,Ca=ia+$a,nr=Math.max(En,Yn),mr=Math.min(yn,va),Ua=(nr+mr)/2,Tr=Ua-En,_r=Math.max(bn,ia),ka=Math.min(ca,Ca),na=(_r+ka)/2,kn=na-bn;At==null||At(ke,bi);var la=Ta.right-Xn.x-(No+Xn.width),Fa=Ta.bottom-Xn.y-(vo+Xn.height);ce({ready:!0,offsetX:No/Wr,offsetY:vo/Dr,offsetR:la/Wr,offsetB:Fa/Dr,arrowX:Tr/Wr,arrowY:kn/Dr,scaleX:Wr,scaleY:Dr,align:bi})}}),ut=function(){me.current+=1;var Zt=me.current;Promise.resolve().then(function(){me.current===Zt&&Qe()})},Dt=function(){ce(function(Zt){return(0,ye.Z)((0,ye.Z)({},Zt),{},{ready:!1})})};return Ht(Dt,[tt]),Ht(function(){Se||Dt()},[Se]),[on.ready,on.offsetX,on.offsetY,on.offsetR,on.offsetB,on.arrowX,on.arrowY,on.scaleX,on.scaleY,on.align,ut]}function ln(Se,ke,je,tt,yt){Ht(function(){if(Se&&ke&&je){let me=function(){tt(),yt()};var ft=ke,At=je,sn=Cn(ft),xn=Cn(At),on=en(At),ce=new Set([on].concat((0,$e.Z)(sn),(0,$e.Z)(xn)));return ce.forEach(function(xe){xe.addEventListener("scroll",me,{passive:!0})}),on.addEventListener("resize",me,{passive:!0}),tt(),function(){ce.forEach(function(xe){xe.removeEventListener("scroll",me),on.removeEventListener("resize",me)})}}},[Se,ke,je])}function zn(Se){var ke=React.useRef(!1),je=React.useState(Se),tt=_slicedToArray(je,2),yt=tt[0],ft=tt[1];React.useEffect(function(){return ke.current=!1,function(){ke.current=!0}},[]);function At(sn,xn){xn&&ke.current||ft(sn)}return[yt,At]}function ya(Se){return Se!==void 0}function oa(Se,ke){var je=ke||{},tt=je.defaultValue,yt=je.value,ft=je.onChange,At=je.postState,sn=useState(function(){return ya(yt)?yt:ya(tt)?typeof tt=="function"?tt():tt:typeof Se=="function"?Se():Se}),xn=_slicedToArray(sn,2),on=xn[0],ce=xn[1],me=yt!==void 0?yt:on,xe=At?At(me):me,Ae=useEvent(ft),He=useState([me]),Qe=_slicedToArray(He,2),ut=Qe[0],Dt=Qe[1];useLayoutUpdateEffect(function(){var Zt=ut[0];on!==Zt&&Ae(on,Zt)},[ut]),useLayoutUpdateEffect(function(){ya(yt)||ce(yt)},[yt]);var Mt=useEvent(function(Zt,bt){ce(Zt,bt),Dt([me],bt)});return[xe,Mt]}var Da=te(95845);function Za(Se,ke,je){var tt=x.useRef({});return(!("value"in tt.current)||je(tt.current.condition,ke))&&(tt.current.value=Se(),tt.current.condition=ke),tt.current.value}function Yr(Se,ke){typeof Se=="function"?Se(ke):(0,ne.Z)(Se)==="object"&&Se&&"current"in Se&&(Se.current=ke)}function jn(){for(var Se=arguments.length,ke=new Array(Se),je=0;je<Se;je++)ke[je]=arguments[je];var tt=ke.filter(function(yt){return yt});return tt.length<=1?tt[0]:function(yt){ke.forEach(function(ft){Yr(ft,yt)})}}function Ir(){for(var Se=arguments.length,ke=new Array(Se),je=0;je<Se;je++)ke[je]=arguments[je];return Za(function(){return jn.apply(void 0,ke)},ke,function(tt,yt){return tt.length!==yt.length||tt.every(function(ft,At){return ft!==yt[At]})})}function Mo(Se){var ke,je,tt=(0,Da.isMemo)(Se)?Se.type.type:Se.type;return!(typeof tt=="function"&&!((ke=tt.prototype)!==null&&ke!==void 0&&ke.render)||typeof Se=="function"&&!((je=Se.prototype)!==null&&je!==void 0&&je.render))}function Jo(Se){return!isValidElement(Se)||isFragment(Se)?!1:Mo(Se)}function Ja(Se,ke,je,tt){if(!ke.length)return je;var yt=_toArray(ke),ft=yt[0],At=yt.slice(1),sn;return!Se&&typeof ft=="number"?sn=[]:Array.isArray(Se)?sn=_toConsumableArray(Se):sn=_objectSpread({},Se),tt&&je===void 0&&At.length===1?delete sn[ft][At[0]]:sn[ft]=Ja(sn[ft],At,je,tt),sn}function mo(Se,ke,je){var tt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;return ke.length&&tt&&je===void 0&&!get(Se,ke.slice(0,-1))?Se:Ja(Se,ke,je,tt)}function Ai(Se){return _typeof(Se)==="object"&&Se!==null&&Object.getPrototypeOf(Se)===Object.prototype}function qr(Se){return Array.isArray(Se)?[]:{}}var ki=typeof Reflect=="undefined"?Object.keys:Reflect.ownKeys;function yi(){for(var Se=arguments.length,ke=new Array(Se),je=0;je<Se;je++)ke[je]=arguments[je];var tt=qr(ke[0]);return ke.forEach(function(yt){function ft(At,sn){var xn=new Set(sn),on=get(yt,At),ce=Array.isArray(on);if(ce||Ai(on)){if(!xn.has(on)){xn.add(on);var me=get(tt,At);ce?tt=mo(tt,At,[]):(!me||_typeof(me)!=="object")&&(tt=mo(tt,At,qr(on))),ki(on).forEach(function(xe){ft([].concat(_toConsumableArray(At),[xe]),xn)})}}else tt=mo(tt,At,on)}ft([])}),tt}var di={},Wo=[],Zi=function(ke){Wo.push(ke)};function Ci(Se,ke){if(0)var je}function Pl(Se,ke){if(0)var je}function Qn(){di={}}function bl(Se,ke,je){!ke&&!di[je]&&(Se(!1,je),di[je]=!0)}function Li(Se,ke){bl(Ci,Se,ke)}function lo(Se,ke){bl(Pl,Se,ke)}Li.preMessage=Zi,Li.resetWarned=Qn,Li.noteOnce=lo;var so=null,pa=function(ke){return+setTimeout(ke,16)},ir=function(ke){return clearTimeout(ke)};typeof window!="undefined"&&"requestAnimationFrame"in window&&(pa=function(ke){return window.requestAnimationFrame(ke)},ir=function(ke){return window.cancelAnimationFrame(ke)});var $r=0,Xa=new Map;function Ao(Se){Xa.delete(Se)}var Ro=function(ke){var je=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;$r+=1;var tt=$r;function yt(ft){if(ft===0)Ao(tt),ke();else{var At=pa(function(){yt(ft-1)});Xa.set(tt,At)}}return yt(je),tt};Ro.cancel=function(Se){var ke=Xa.get(Se);return Ao(ke),ir(ke)};var qo=Ro;function Xo(Se,ke,je,tt,yt,ft,At,sn){var xn=x.useRef(Se),on=x.useRef(!1);xn.current!==Se&&(on.current=!0,xn.current=Se),x.useEffect(function(){var ce=qo(function(){on.current=!1});return function(){qo.cancel(ce)}},[Se]),x.useEffect(function(){if(ke&&tt&&(!yt||ft)){var ce=function(){var Sn=!1,Kn=function(ha){var Pa=ha.target;Sn=At(Pa)},ma=function(ha){var Pa=ha.target;!on.current&&xn.current&&!Sn&&!At(Pa)&&sn(!1)};return[Kn,ma]},me=ce(),xe=(0,Fe.Z)(me,2),Ae=xe[0],He=xe[1],Qe=ce(),ut=(0,Fe.Z)(Qe,2),Dt=ut[0],Mt=ut[1],Zt=en(tt);Zt.addEventListener("mousedown",Ae,!0),Zt.addEventListener("click",He,!0),Zt.addEventListener("contextmenu",He,!0);var bt=gn(je);if(bt&&(bt.addEventListener("mousedown",Dt,!0),bt.addEventListener("click",Mt,!0),bt.addEventListener("contextmenu",Mt,!0)),0)var fn,Rn,jt,mn;return function(){Zt.removeEventListener("mousedown",Ae,!0),Zt.removeEventListener("click",He,!0),Zt.removeEventListener("contextmenu",He,!0),bt&&(bt.removeEventListener("mousedown",Dt,!0),bt.removeEventListener("click",Mt,!0),bt.removeEventListener("contextmenu",Mt,!0))}}},[ke,je,tt,yt,ft])}function ni(Se){return Se instanceof HTMLElement||Se instanceof SVGElement}function al(Se){return ni(Se)?Se:Se instanceof x.Component?Oe.findDOMNode(Se):null}function ci(Se,ke){var je={};return je[Se.toLowerCase()]=ke.toLowerCase(),je["Webkit".concat(Se)]="webkit".concat(ke),je["Moz".concat(Se)]="moz".concat(ke),je["ms".concat(Se)]="MS".concat(ke),je["O".concat(Se)]="o".concat(ke.toLowerCase()),je}function xl(Se,ke){var je={animationend:ci("Animation","AnimationEnd"),transitionend:ci("Transition","TransitionEnd")};return Se&&("AnimationEvent"in ke||delete je.animationend.animation,"TransitionEvent"in ke||delete je.transitionend.transition),je}var jl=xl(Ie(),typeof window!="undefined"?window:{}),Kr={};if(Ie()){var cl=document.createElement("div");Kr=cl.style}var gl={};function ml(Se){if(gl[Se])return gl[Se];var ke=jl[Se];if(ke)for(var je=Object.keys(ke),tt=je.length,yt=0;yt<tt;yt+=1){var ft=je[yt];if(Object.prototype.hasOwnProperty.call(ke,ft)&&ft in Kr)return gl[Se]=ke[ft],gl[Se]}return""}var rl=ml("animationend"),ji=ml("transitionend"),ol=!!(rl&&ji),Wi=rl||"animationend",Ui=ji||"transitionend";function It(Se,ke){if(!Se)return null;if((0,ne.Z)(Se)==="object"){var je=ke.replace(/-\w/g,function(tt){return tt[1].toUpperCase()});return Se[je]}return"".concat(Se,"-").concat(ke)}var Gt="none",vn="appear",Ue="enter",qt="leave",$n="none",Jn="prepare",Kt="start",dn="active",Vt="end";function ta(Se){var ke=x.useRef(!1),je=x.useState(Se),tt=(0,Fe.Z)(je,2),yt=tt[0],ft=tt[1];x.useEffect(function(){return ke.current=!1,function(){ke.current=!0}},[]);function At(sn,xn){xn&&ke.current||ft(sn)}return[yt,At]}var ba=function(ke){return+setTimeout(ke,16)},za=function(ke){return clearTimeout(ke)};typeof window!="undefined"&&"requestAnimationFrame"in window&&(ba=function(ke){return window.requestAnimationFrame(ke)},za=function(ke){return window.cancelAnimationFrame(ke)});var Ma=0,Ya=new Map;function pr(Se){Ya.delete(Se)}var _n=function(ke){var je=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;Ma+=1;var tt=Ma;function yt(ft){if(ft===0)pr(tt),ke();else{var At=ba(function(){yt(ft-1)});Ya.set(tt,At)}}return yt(je),tt};_n.cancel=function(Se){var ke=Ya.get(Se);return pr(ke),za(ke)};var zt=_n,Bn=function(){var Se=x.useRef(null);function ke(){zt.cancel(Se.current)}function je(tt){var yt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:2;ke();var ft=zt(function(){yt<=1?tt({isCanceled:function(){return ft!==Se.current}}):je(tt,yt-1)});Se.current=ft}return x.useEffect(function(){return function(){ke()}},[]),[je,ke]},Hn=Ie()?x.useLayoutEffect:x.useEffect,xa=Hn,qa=[Jn,Kt,dn,Vt],lr=!1,Br=!0;function sr(Se){return Se===dn||Se===Vt}var Lr=function(Se,ke){var je=ta($n),tt=(0,Fe.Z)(je,2),yt=tt[0],ft=tt[1],At=Bn(),sn=(0,Fe.Z)(At,2),xn=sn[0],on=sn[1];function ce(){ft(Jn,!0)}return xa(function(){if(yt!==$n&&yt!==Vt){var me=qa.indexOf(yt),xe=qa[me+1],Ae=ke(yt);Ae===lr?ft(xe,!0):xn(function(He){function Qe(){He.isCanceled()||ft(xe,!0)}Ae===!0?Qe():Promise.resolve(Ae).then(Qe)})}},[Se,yt]),x.useEffect(function(){return function(){on()}},[]),[ce,yt]},Gr=function(Se){var ke=(0,x.useRef)(),je=(0,x.useRef)(Se);je.current=Se;var tt=x.useCallback(function(At){je.current(At)},[]);function yt(At){At&&(At.removeEventListener(Ui,tt),At.removeEventListener(Wi,tt))}function ft(At){ke.current&&ke.current!==At&&yt(ke.current),At&&At!==ke.current&&(At.addEventListener(Ui,tt),At.addEventListener(Wi,tt),ke.current=At)}return x.useEffect(function(){return function(){yt(ke.current)}},[]),[ft,yt]};function br(Se,ke,je,tt){var yt=tt.motionEnter,ft=yt===void 0?!0:yt,At=tt.motionAppear,sn=At===void 0?!0:At,xn=tt.motionLeave,on=xn===void 0?!0:xn,ce=tt.motionDeadline,me=tt.motionLeaveImmediately,xe=tt.onAppearPrepare,Ae=tt.onEnterPrepare,He=tt.onLeavePrepare,Qe=tt.onAppearStart,ut=tt.onEnterStart,Dt=tt.onLeaveStart,Mt=tt.onAppearActive,Zt=tt.onEnterActive,bt=tt.onLeaveActive,fn=tt.onAppearEnd,Rn=tt.onEnterEnd,jt=tt.onLeaveEnd,mn=tt.onVisibleChanged,In=ta(),Sn=(0,Fe.Z)(In,2),Kn=Sn[0],ma=Sn[1],wa=ta(Gt),ha=(0,Fe.Z)(wa,2),Pa=ha[0],aa=ha[1],ea=ta(null),La=(0,Fe.Z)(ea,2),Xn=La[0],Ia=La[1],Wa=(0,x.useRef)(!1),Ar=(0,x.useRef)(null);function Nr(){return je()}var hr=(0,x.useRef)(!1);function ja(Wn){var pn=Nr();if(!(Wn&&!Wn.deadline&&Wn.target!==pn)){var Tn=hr.current,or;Pa===vn&&Tn?or=fn==null?void 0:fn(pn,Wn):Pa===Ue&&Tn?or=Rn==null?void 0:Rn(pn,Wn):Pa===qt&&Tn&&(or=jt==null?void 0:jt(pn,Wn)),Pa!==Gt&&Tn&&or!==!1&&(aa(Gt,!0),Ia(null,!0))}}var Sr=Gr(ja),Ha=(0,Fe.Z)(Sr,1),Na=Ha[0],$a=x.useMemo(function(){var Wn,pn,Tn;switch(Pa){case vn:return Wn={},(0,oe.Z)(Wn,Jn,xe),(0,oe.Z)(Wn,Kt,Qe),(0,oe.Z)(Wn,dn,Mt),Wn;case Ue:return pn={},(0,oe.Z)(pn,Jn,Ae),(0,oe.Z)(pn,Kt,ut),(0,oe.Z)(pn,dn,Zt),pn;case qt:return Tn={},(0,oe.Z)(Tn,Jn,He),(0,oe.Z)(Tn,Kt,Dt),(0,oe.Z)(Tn,dn,bt),Tn;default:return{}}},[Pa]),to=Lr(Pa,function(Wn){if(Wn===Jn){var pn=$a[Jn];return pn?pn(Nr()):lr}if(Oa in $a){var Tn;Ia(((Tn=$a[Oa])===null||Tn===void 0?void 0:Tn.call($a,Nr(),null))||null)}return Oa===dn&&(Na(Nr()),ce>0&&(clearTimeout(Ar.current),Ar.current=setTimeout(function(){ja({deadline:!0})},ce))),Br}),it=(0,Fe.Z)(to,2),Zn=it[0],Oa=it[1],Pn=sr(Oa);hr.current=Pn,xa(function(){ma(ke);var Wn=Wa.current;if(Wa.current=!0,!!Se){var pn;!Wn&&ke&&sn&&(pn=vn),Wn&&ke&&ft&&(pn=Ue),(Wn&&!ke&&on||!Wn&&me&&!ke&&on)&&(pn=qt),pn&&(aa(pn),Zn())}},[ke]),(0,x.useEffect)(function(){(Pa===vn&&!sn||Pa===Ue&&!ft||Pa===qt&&!on)&&aa(Gt)},[sn,ft,on]),(0,x.useEffect)(function(){return function(){Wa.current=!1,clearTimeout(Ar.current)}},[]);var Yt=x.useRef(!1);(0,x.useEffect)(function(){Kn&&(Yt.current=!0),Kn!==void 0&&Pa===Gt&&((Yt.current||Kn)&&(mn==null||mn(Kn)),Yt.current=!0)},[Kn,Pa]);var Ra=Xn;return $a[Jn]&&Oa===Kt&&(Ra=(0,ye.Z)({transition:"none"},Ra)),[Pa,Oa,Ra,Kn!=null?Kn:ke]}var ao=te(15671),oo=te(43144),So=te(60136),eo=te(51630),Po=function(Se){(0,So.Z)(je,Se);var ke=(0,eo.Z)(je);function je(){return(0,ao.Z)(this,je),ke.apply(this,arguments)}return(0,oo.Z)(je,[{key:"render",value:function(){return this.props.children}}]),je}(x.Component),Hr=Po;function ho(Se){var ke=Se;(0,ne.Z)(Se)==="object"&&(ke=Se.transitionSupport);function je(yt){return!!(yt.motionName&&ke)}var tt=x.forwardRef(function(yt,ft){var At=yt.visible,sn=At===void 0?!0:At,xn=yt.removeOnLeave,on=xn===void 0?!0:xn,ce=yt.forceRender,me=yt.children,xe=yt.motionName,Ae=yt.leavedClassName,He=yt.eventProps,Qe=je(yt),ut=(0,x.useRef)(),Dt=(0,x.useRef)();function Mt(){try{return ut.current instanceof HTMLElement?ut.current:al(Dt.current)}catch(ea){return null}}var Zt=br(Qe,sn,Mt,yt),bt=(0,Fe.Z)(Zt,4),fn=bt[0],Rn=bt[1],jt=bt[2],mn=bt[3],In=x.useRef(mn);mn&&(In.current=!0);var Sn=x.useCallback(function(ea){ut.current=ea,de(ft,ea)},[ft]),Kn,ma=(0,ye.Z)((0,ye.Z)({},He),{},{visible:sn});if(!me)Kn=null;else if(fn===Gt||!je(yt))mn?Kn=me((0,ye.Z)({},ma),Sn):!on&&In.current&&Ae?Kn=me((0,ye.Z)((0,ye.Z)({},ma),{},{className:Ae}),Sn):ce||!on&&!Ae?Kn=me((0,ye.Z)((0,ye.Z)({},ma),{},{style:{display:"none"}}),Sn):Kn=null;else{var wa,ha;Rn===Jn?ha="prepare":sr(Rn)?ha="active":Rn===Kt&&(ha="start"),Kn=me((0,ye.Z)((0,ye.Z)({},ma),{},{className:we()(It(xe,fn),(wa={},(0,oe.Z)(wa,It(xe,"".concat(fn,"-").concat(ha)),ha),(0,oe.Z)(wa,xe,typeof xe=="string"),wa)),style:jt}),Sn)}if(x.isValidElement(Kn)&&Ee(Kn)){var Pa=Kn,aa=Pa.ref;aa||(Kn=x.cloneElement(Kn,{ref:Sn}))}return x.createElement(Hr,{ref:Dt},Kn)});return tt.displayName="CSSMotion",tt}var jo=ho(ol),Ni=te(97326),hi="add",Mi="keep",Yo="remove",Ho="removed";function Ri(Se){var ke;return Se&&(0,ne.Z)(Se)==="object"&&"key"in Se?ke=Se:ke={key:Se},(0,ye.Z)((0,ye.Z)({},ke),{},{key:String(ke.key)})}function Hi(){var Se=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return Se.map(Ri)}function Vi(){var Se=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],ke=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],je=[],tt=0,yt=ke.length,ft=Hi(Se),At=Hi(ke);ft.forEach(function(on){for(var ce=!1,me=tt;me<yt;me+=1){var xe=At[me];if(xe.key===on.key){tt<me&&(je=je.concat(At.slice(tt,me).map(function(Ae){return(0,ye.Z)((0,ye.Z)({},Ae),{},{status:hi})})),tt=me),je.push((0,ye.Z)((0,ye.Z)({},xe),{},{status:Mi})),tt+=1,ce=!0;break}}ce||je.push((0,ye.Z)((0,ye.Z)({},on),{},{status:Yo}))}),tt<yt&&(je=je.concat(At.slice(tt).map(function(on){return(0,ye.Z)((0,ye.Z)({},on),{},{status:hi})})));var sn={};je.forEach(function(on){var ce=on.key;sn[ce]=(sn[ce]||0)+1});var xn=Object.keys(sn).filter(function(on){return sn[on]>1});return xn.forEach(function(on){je=je.filter(function(ce){var me=ce.key,xe=ce.status;return me!==on||xe!==Yo}),je.forEach(function(ce){ce.key===on&&(ce.status=Mi)})}),je}var fl=["component","children","onVisibleChanged","onAllRemoved"],zi=["status"],Ol=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];function Ki(Se){var ke=arguments.length>1&&arguments[1]!==void 0?arguments[1]:jo,je=function(tt){(0,So.Z)(ft,tt);var yt=(0,eo.Z)(ft);function ft(){var At;(0,ao.Z)(this,ft);for(var sn=arguments.length,xn=new Array(sn),on=0;on<sn;on++)xn[on]=arguments[on];return At=yt.call.apply(yt,[this].concat(xn)),(0,oe.Z)((0,Ni.Z)(At),"state",{keyEntities:[]}),(0,oe.Z)((0,Ni.Z)(At),"removeKey",function(ce){var me=At.state.keyEntities,xe=me.map(function(Ae){return Ae.key!==ce?Ae:(0,ye.Z)((0,ye.Z)({},Ae),{},{status:Ho})});return At.setState({keyEntities:xe}),xe.filter(function(Ae){var He=Ae.status;return He!==Ho}).length}),At}return(0,oo.Z)(ft,[{key:"render",value:function(){var sn=this,xn=this.state.keyEntities,on=this.props,ce=on.component,me=on.children,xe=on.onVisibleChanged,Ae=on.onAllRemoved,He=(0,he.Z)(on,fl),Qe=ce||x.Fragment,ut={};return Ol.forEach(function(Dt){ut[Dt]=He[Dt],delete He[Dt]}),delete He.keys,x.createElement(Qe,He,xn.map(function(Dt){var Mt=Dt.status,Zt=(0,he.Z)(Dt,zi),bt=Mt===hi||Mt===Mi;return x.createElement(ke,(0,Te.Z)({},ut,{key:Zt.key,visible:bt,eventProps:Zt,onVisibleChanged:function(Rn){if(xe==null||xe(Rn,{key:Zt.key}),!Rn){var jt=sn.removeKey(Zt.key);jt===0&&Ae&&Ae()}}}),me)}))}}],[{key:"getDerivedStateFromProps",value:function(sn,xn){var on=sn.keys,ce=xn.keyEntities,me=Hi(on),xe=Vi(ce,me);return{keyEntities:xe.filter(function(Ae){var He=ce.find(function(Qe){var ut=Qe.key;return Ae.key===ut});return!(He&&He.status===Ho&&Ae.status===Yo)})}}}]),ft}(x.Component);return(0,oe.Z)(je,"defaultProps",{component:"div"}),je}var _l=Ki(ol),Gi=jo;function Il(Se){var ke=Se.prefixCls,je=Se.align,tt=Se.arrow,yt=Se.arrowPos,ft=tt||{},At=ft.className,sn=ft.content,xn=yt.x,on=xn===void 0?0:xn,ce=yt.y,me=ce===void 0?0:ce,xe=x.useRef();if(!je||!je.points)return null;var Ae={position:"absolute"};if(je.autoArrow!==!1){var He=je.points[0],Qe=je.points[1],ut=He[0],Dt=He[1],Mt=Qe[0],Zt=Qe[1];ut===Mt||!["t","b"].includes(ut)?Ae.top=me:ut==="t"?Ae.top=0:Ae.bottom=0,Dt===Zt||!["l","r"].includes(Dt)?Ae.left=on:Dt==="l"?Ae.left=0:Ae.right=0}return x.createElement("div",{ref:xe,className:we()("".concat(ke,"-arrow"),At),style:Ae},sn)}function Ji(Se){var ke=Se.prefixCls,je=Se.open,tt=Se.zIndex,yt=Se.mask,ft=Se.motion;return yt?x.createElement(Gi,(0,Te.Z)({},ft,{motionAppear:!0,visible:je,removeOnLeave:!0}),function(At){var sn=At.className;return x.createElement("div",{style:{zIndex:tt},className:we()("".concat(ke,"-mask"),sn)})}):null}var wl=x.memo(function(Se){var ke=Se.children;return ke},function(Se,ke){return ke.cache}),Bo=wl,Lo=x.forwardRef(function(Se,ke){var je=Se.popup,tt=Se.className,yt=Se.prefixCls,ft=Se.style,At=Se.target,sn=Se.onVisibleChanged,xn=Se.open,on=Se.keepDom,ce=Se.fresh,me=Se.onClick,xe=Se.mask,Ae=Se.arrow,He=Se.arrowPos,Qe=Se.align,ut=Se.motion,Dt=Se.maskMotion,Mt=Se.forceRender,Zt=Se.getPopupContainer,bt=Se.autoDestroy,fn=Se.portal,Rn=Se.zIndex,jt=Se.onMouseEnter,mn=Se.onMouseLeave,In=Se.onPointerEnter,Sn=Se.ready,Kn=Se.offsetX,ma=Se.offsetY,wa=Se.offsetR,ha=Se.offsetB,Pa=Se.onAlign,aa=Se.onPrepare,ea=Se.stretch,La=Se.targetWidth,Xn=Se.targetHeight,Ia=typeof je=="function"?je():je,Wa=xn||on,Ar=(Zt==null?void 0:Zt.length)>0,Nr=x.useState(!Zt||!Ar),hr=(0,Fe.Z)(Nr,2),ja=hr[0],Sr=hr[1];if(Ht(function(){!ja&&Ar&&At&&Sr(!0)},[ja,Ar,At]),!ja)return null;var Ha="auto",Na={left:"-1000vw",top:"-1000vh",right:Ha,bottom:Ha};if(Sn||!xn){var $a,to=Qe.points,it=Qe.dynamicInset||(($a=Qe._experimental)===null||$a===void 0?void 0:$a.dynamicInset),Zn=it&&to[0][1]==="r",Oa=it&&to[0][0]==="b";Zn?(Na.right=wa,Na.left=Ha):(Na.left=Kn,Na.right=Ha),Oa?(Na.bottom=ha,Na.top=Ha):(Na.top=ma,Na.bottom=Ha)}var Pn={};return ea&&(ea.includes("height")&&Xn?Pn.height=Xn:ea.includes("minHeight")&&Xn&&(Pn.minHeight=Xn),ea.includes("width")&&La?Pn.width=La:ea.includes("minWidth")&&La&&(Pn.minWidth=La)),xn||(Pn.pointerEvents="none"),x.createElement(fn,{open:Mt||Wa,getContainer:Zt&&function(){return Zt(At)},autoDestroy:bt},x.createElement(Ji,{prefixCls:yt,open:xn,zIndex:Rn,mask:xe,motion:Dt}),x.createElement(_e.Z,{onResize:Pa,disabled:!xn},function(Yt){return x.createElement(Gi,(0,Te.Z)({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:Mt,leavedClassName:"".concat(yt,"-hidden")},ut,{onAppearPrepare:aa,onEnterPrepare:aa,visible:xn,onVisibleChanged:function(Wn){var pn;ut==null||(pn=ut.onVisibleChanged)===null||pn===void 0||pn.call(ut,Wn),sn(Wn)}}),function(Ra,Wn){var pn=Ra.className,Tn=Ra.style,or=we()(yt,pn,tt);return x.createElement("div",{ref:jn(Yt,ke,Wn),className:or,style:(0,ye.Z)((0,ye.Z)((0,ye.Z)((0,ye.Z)({"--arrow-x":"".concat(He.x||0,"px"),"--arrow-y":"".concat(He.y||0,"px")},Na),Pn),Tn),{},{boxSizing:"border-box",zIndex:Rn},ft),onMouseEnter:jt,onMouseLeave:mn,onPointerEnter:In,onClick:me},Ae&&x.createElement(Il,{prefixCls:yt,arrow:Ae,arrowPos:He,align:Qe}),x.createElement(Bo,{cache:!xn&&!ce},Ia))})}))}),vi=Lo,Fl=x.forwardRef(function(Se,ke){var je=Se.children,tt=Se.getTriggerDOMNode,yt=Mo(je),ft=x.useCallback(function(sn){Yr(ke,tt?tt(sn):sn)},[tt]),At=Ir(ft,je.ref);return yt?x.cloneElement(je,{ref:At}):je}),Wl=Fl,Uo=["prefixCls","children","action","showAction","hideAction","popupVisible","defaultPopupVisible","onPopupVisibleChange","afterPopupVisibleChange","mouseEnterDelay","mouseLeaveDelay","focusDelay","blurDelay","mask","maskClosable","getPopupContainer","forceRender","autoDestroy","destroyPopupOnHide","popup","popupClassName","popupStyle","popupPlacement","builtinPlacements","popupAlign","zIndex","stretch","getPopupClassNameFromAlign","fresh","alignPoint","onPopupClick","onPopupAlign","arrow","popupMotion","maskMotion","popupTransitionName","popupAnimation","maskTransitionName","maskAnimation","className","getTriggerDOMNode"];function il(){var Se=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Dn,ke=x.forwardRef(function(je,tt){var yt=je.prefixCls,ft=yt===void 0?"rc-trigger-popup":yt,At=je.children,sn=je.action,xn=sn===void 0?"hover":sn,on=je.showAction,ce=je.hideAction,me=je.popupVisible,xe=je.defaultPopupVisible,Ae=je.onPopupVisibleChange,He=je.afterPopupVisibleChange,Qe=je.mouseEnterDelay,ut=je.mouseLeaveDelay,Dt=ut===void 0?.1:ut,Mt=je.focusDelay,Zt=je.blurDelay,bt=je.mask,fn=je.maskClosable,Rn=fn===void 0?!0:fn,jt=je.getPopupContainer,mn=je.forceRender,In=je.autoDestroy,Sn=je.destroyPopupOnHide,Kn=je.popup,ma=je.popupClassName,wa=je.popupStyle,ha=je.popupPlacement,Pa=je.builtinPlacements,aa=Pa===void 0?{}:Pa,ea=je.popupAlign,La=je.zIndex,Xn=je.stretch,Ia=je.getPopupClassNameFromAlign,Wa=je.fresh,Ar=je.alignPoint,Nr=je.onPopupClick,hr=je.onPopupAlign,ja=je.arrow,Sr=je.popupMotion,Ha=je.maskMotion,Na=je.popupTransitionName,$a=je.popupAnimation,to=je.maskTransitionName,it=je.maskAnimation,Zn=je.className,Oa=je.getTriggerDOMNode,Pn=(0,he.Z)(je,Uo),Yt=In||Sn||!1,Ra=x.useState(!1),Wn=(0,Fe.Z)(Ra,2),pn=Wn[0],Tn=Wn[1];Ht(function(){Tn(Xt())},[]);var or=x.useRef({}),Ta=x.useContext(Vn),Wr=x.useMemo(function(){return{registerSubPopup:function(xr,Xr){or.current[xr]=Xr,Ta==null||Ta.registerSubPopup(xr,Xr)}}},[Ta]),Dr=On(),Un=x.useState(null),dr=(0,Fe.Z)(Un,2),Pr=dr[0],zr=dr[1],jr=qn(function(Ea){ot(Ea)&&Pr!==Ea&&zr(Ea),Ta==null||Ta.registerSubPopup(Dr,Ea)}),no=x.useState(null),Fo=(0,Fe.Z)(no,2),Qr=Fo[0],Ko=Fo[1],ai=qn(function(Ea){ot(Ea)&&Qr!==Ea&&Ko(Ea)}),pi=x.Children.only(At),fo=(pi==null?void 0:pi.props)||{},Eo={},ri=qn(function(Ea){var xr,Xr,ko=Qr;return(ko==null?void 0:ko.contains(Ea))||((xr=gn(ko))===null||xr===void 0?void 0:xr.host)===Ea||Ea===ko||(Pr==null?void 0:Pr.contains(Ea))||((Xr=gn(Pr))===null||Xr===void 0?void 0:Xr.host)===Ea||Ea===Pr||Object.values(or.current).some(function(Ga){return(Ga==null?void 0:Ga.contains(Ea))||Ea===Ga})}),Oo=Sa(ft,Sr,$a,Na),yo=Sa(ft,Ha,it,to),gi=x.useState(xe||!1),oi=(0,Fe.Z)(gi,2),bi=oi[0],No=oi[1],vo=me!=null?me:bi,Pi=qn(function(Ea){me===void 0&&No(Ea)});Ht(function(){No(me||!1)},[me]);var mi=x.useRef(vo);mi.current=vo;var Yi=qn(function(Ea){(0,Oe.flushSync)(function(){vo!==Ea&&(Pi(Ea),Ae==null||Ae(Ea))})}),xi=x.useRef(),qi=function(){clearTimeout(xi.current)},wi=function(xr){var Xr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;qi(),Xr===0?Yi(xr):xi.current=setTimeout(function(){Yi(xr)},Xr*1e3)};x.useEffect(function(){return qi},[]);var Do=x.useState(!1),Co=(0,Fe.Z)(Do,2),Go=Co[0],Ei=Co[1];Ht(function(Ea){(!Ea||vo)&&Ei(!0)},[vo]);var ei=x.useState(null),Ti=(0,Fe.Z)(ei,2),Mr=Ti[0],fa=Ti[1],tr=x.useState([0,0]),cr=(0,Fe.Z)(tr,2),Rr=cr[0],To=cr[1],bo=function(xr){To([xr.clientX,xr.clientY])},fi=kt(vo,Pr,Ar?Rr:Qr,ha,aa,ea,hr),_o=(0,Fe.Z)(fi,11),Qi=_o[0],ue=_o[1],se=_o[2],Pe=_o[3],De=_o[4],We=_o[5],Ve=_o[6],rt=_o[7],ht=_o[8],st=_o[9],Nt=_o[10],Wt=vr(pn,xn,on,ce),Rt=(0,Fe.Z)(Wt,2),En=Rt[0],yn=Rt[1],bn=En.has("click"),ca=yn.has("click")||yn.has("contextMenu"),Yn=qn(function(){Go||Nt()}),va=function(){mi.current&&Ar&&ca&&wi(!1)};ln(vo,Qr,Pr,Yn,va),Ht(function(){Yn()},[Rr,ha]),Ht(function(){vo&&!(aa!=null&&aa[ha])&&Yn()},[JSON.stringify(ea)]);var ia=x.useMemo(function(){var Ea=Fn(aa,ft,st,Ar);return we()(Ea,Ia==null?void 0:Ia(st))},[st,Ia,aa,ft,Ar]);x.useImperativeHandle(tt,function(){return{forceAlign:Yn}});var Ca=x.useState(0),nr=(0,Fe.Z)(Ca,2),mr=nr[0],Ua=nr[1],Tr=x.useState(0),_r=(0,Fe.Z)(Tr,2),ka=_r[0],na=_r[1],kn=function(){if(Xn&&Qr){var xr=Qr.getBoundingClientRect();Ua(xr.width),na(xr.height)}},la=function(){kn(),Yn()},Fa=function(xr){Ei(!1),Nt(),He==null||He(xr)},Aa=function(){return new Promise(function(xr){kn(),fa(function(){return xr})})};Ht(function(){Mr&&(Nt(),Mr(),fa(null))},[Mr]);function Er(Ea,xr,Xr,ko){Eo[Ea]=function(Ga){var wr;ko==null||ko(Ga),wi(xr,Xr);for(var Fr=arguments.length,fr=new Array(Fr>1?Fr-1:0),co=1;co<Fr;co++)fr[co-1]=arguments[co];(wr=fo[Ea])===null||wr===void 0||wr.call.apply(wr,[fo,Ga].concat(fr))}}(bn||ca)&&(Eo.onClick=function(Ea){var xr;mi.current&&ca?wi(!1):!mi.current&&bn&&(bo(Ea),wi(!0));for(var Xr=arguments.length,ko=new Array(Xr>1?Xr-1:0),Ga=1;Ga<Xr;Ga++)ko[Ga-1]=arguments[Ga];(xr=fo.onClick)===null||xr===void 0||xr.call.apply(xr,[fo,Ea].concat(ko))}),Xo(vo,ca,Qr,Pr,bt,Rn,ri,wi);var yr=En.has("hover"),ar=yn.has("hover"),kr,Ur;yr&&(Er("onMouseEnter",!0,Qe,function(Ea){bo(Ea)}),Er("onPointerEnter",!0,Qe,function(Ea){bo(Ea)}),kr=function(){(vo||Go)&&wi(!0,Qe)},Ar&&(Eo.onMouseMove=function(Ea){var xr;(xr=fo.onMouseMove)===null||xr===void 0||xr.call(fo,Ea)})),ar&&(Er("onMouseLeave",!1,Dt),Er("onPointerLeave",!1,Dt),Ur=function(){wi(!1,Dt)}),En.has("focus")&&Er("onFocus",!0,Mt),yn.has("focus")&&Er("onBlur",!1,Zt),En.has("contextMenu")&&(Eo.onContextMenu=function(Ea){var xr;mi.current&&yn.has("contextMenu")?wi(!1):(bo(Ea),wi(!0)),Ea.preventDefault();for(var Xr=arguments.length,ko=new Array(Xr>1?Xr-1:0),Ga=1;Ga<Xr;Ga++)ko[Ga-1]=arguments[Ga];(xr=fo.onContextMenu)===null||xr===void 0||xr.call.apply(xr,[fo,Ea].concat(ko))}),Zn&&(Eo.className=we()(fo.className,Zn));var ro=(0,ye.Z)((0,ye.Z)({},fo),Eo),io={},Vo=["onContextMenu","onClick","onMouseDown","onTouchStart","onMouseEnter","onMouseLeave","onFocus","onBlur"];Vo.forEach(function(Ea){Pn[Ea]&&(io[Ea]=function(){for(var xr,Xr=arguments.length,ko=new Array(Xr),Ga=0;Ga<Xr;Ga++)ko[Ga]=arguments[Ga];(xr=ro[Ea])===null||xr===void 0||xr.call.apply(xr,[ro].concat(ko)),Pn[Ea].apply(Pn,ko)})});var Qo=x.cloneElement(pi,(0,ye.Z)((0,ye.Z)({},ro),io)),Vr={x:We,y:Ve},ii=ja?(0,ye.Z)({},ja!==!0?ja:{}):null;return x.createElement(x.Fragment,null,x.createElement(_e.Z,{disabled:!vo,ref:ai,onResize:la},x.createElement(Wl,{getTriggerDOMNode:Oa},Qo)),x.createElement(Vn.Provider,{value:Wr},x.createElement(vi,{portal:Se,ref:jr,prefixCls:ft,popup:Kn,className:we()(ma,ia),style:wa,target:Qr,onMouseEnter:kr,onMouseLeave:Ur,onPointerEnter:kr,zIndex:La,open:vo,keepDom:Go,fresh:Wa,onClick:Nr,mask:bt,motion:Oo,maskMotion:yo,onVisibleChanged:Fa,onPrepare:Aa,forceRender:mn,autoDestroy:Yt,getPopupContainer:jt,align:st,arrow:ii,arrowPos:Vr,ready:Qi,offsetX:ue,offsetY:se,offsetR:Pe,offsetB:De,onAlign:Yn,stretch:Xn,targetWidth:mr/rt,targetHeight:ka/ht})))});return ke}var El=il(Dn),da={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(ke){var je=ke.keyCode;if(ke.altKey&&!ke.ctrlKey||ke.metaKey||je>=da.F1&&je<=da.F12)return!1;switch(je){case da.ALT:case da.CAPS_LOCK:case da.CONTEXT_MENU:case da.CTRL:case da.DOWN:case da.END:case da.ESC:case da.HOME:case da.INSERT:case da.LEFT:case da.MAC_FF_META:case da.META:case da.NUMLOCK:case da.NUM_CENTER:case da.PAGE_DOWN:case da.PAGE_UP:case da.PAUSE:case da.PRINT_SCREEN:case da.RIGHT:case da.SHIFT:case da.UP:case da.WIN_KEY:case da.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(ke){if(ke>=da.ZERO&&ke<=da.NINE||ke>=da.NUM_ZERO&&ke<=da.NUM_MULTIPLY||ke>=da.A&&ke<=da.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&ke===0)return!0;switch(ke){case da.SPACE:case da.QUESTION_MARK:case da.NUM_PLUS:case da.NUM_MINUS:case da.NUM_PERIOD:case da.NUM_DIVISION:case da.SEMICOLON:case da.DASH:case da.EQUALS:case da.COMMA:case da.PERIOD:case da.SLASH:case da.APOSTROPHE:case da.SINGLE_QUOTE:case da.OPEN_SQUARE_BRACKET:case da.BACKSLASH:case da.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},Si=da,ll=Si.ESC,yl=Si.TAB;function Ml(Se){var ke=Se.visible,je=Se.triggerRef,tt=Se.onVisibleChange,yt=Se.autoFocus,ft=Se.overlayRef,At=x.useRef(!1),sn=function(){if(ke){var me,xe;(me=je.current)===null||me===void 0||(xe=me.focus)===null||xe===void 0||xe.call(me),tt==null||tt(!1)}},xn=function(){var me;return(me=ft.current)!==null&&me!==void 0&&me.focus?(ft.current.focus(),At.current=!0,!0):!1},on=function(me){switch(me.keyCode){case ll:sn();break;case yl:{var xe=!1;At.current||(xe=xn()),xe?me.preventDefault():sn();break}}};x.useEffect(function(){return ke?(window.addEventListener("keydown",on),yt&&zt(xn,3),function(){window.removeEventListener("keydown",on),At.current=!1}):function(){At.current=!1}},[ke])}var Rl=(0,x.forwardRef)(function(Se,ke){var je=Se.overlay,tt=Se.arrow,yt=Se.prefixCls,ft=(0,x.useMemo)(function(){var sn;return typeof je=="function"?sn=je():sn=je,sn},[je]),At=fe(ke,ft==null?void 0:ft.ref);return x.createElement(x.Fragment,null,tt&&x.createElement("div",{className:"".concat(yt,"-arrow")}),x.cloneElement(ft,{ref:Ee(ft)?At:void 0}))}),au=Rl,Bl={adjustX:1,adjustY:1},Al=[0,0],ru={topLeft:{points:["bl","tl"],overflow:Bl,offset:[0,-4],targetOffset:Al},top:{points:["bc","tc"],overflow:Bl,offset:[0,-4],targetOffset:Al},topRight:{points:["br","tr"],overflow:Bl,offset:[0,-4],targetOffset:Al},bottomLeft:{points:["tl","bl"],overflow:Bl,offset:[0,4],targetOffset:Al},bottom:{points:["tc","bc"],overflow:Bl,offset:[0,4],targetOffset:Al},bottomRight:{points:["tr","br"],overflow:Bl,offset:[0,4],targetOffset:Al}},Ll=ru,$l=["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger","autoFocus","overlay","children","onVisibleChange"];function Nl(Se,ke){var je,tt=Se.arrow,yt=tt===void 0?!1:tt,ft=Se.prefixCls,At=ft===void 0?"rc-dropdown":ft,sn=Se.transitionName,xn=Se.animation,on=Se.align,ce=Se.placement,me=ce===void 0?"bottomLeft":ce,xe=Se.placements,Ae=xe===void 0?Ll:xe,He=Se.getPopupContainer,Qe=Se.showAction,ut=Se.hideAction,Dt=Se.overlayClassName,Mt=Se.overlayStyle,Zt=Se.visible,bt=Se.trigger,fn=bt===void 0?["hover"]:bt,Rn=Se.autoFocus,jt=Se.overlay,mn=Se.children,In=Se.onVisibleChange,Sn=(0,he.Z)(Se,$l),Kn=x.useState(),ma=(0,Fe.Z)(Kn,2),wa=ma[0],ha=ma[1],Pa="visible"in Se?Zt:wa,aa=x.useRef(null),ea=x.useRef(null),La=x.useRef(null);x.useImperativeHandle(ke,function(){return aa.current});var Xn=function(Na){ha(Na),In==null||In(Na)};Ml({visible:Pa,triggerRef:La,onVisibleChange:Xn,autoFocus:Rn,overlayRef:ea});var Ia=function(Na){var $a=Se.onOverlayClick;ha(!1),$a&&$a(Na)},Wa=function(){return x.createElement(au,{ref:ea,overlay:jt,prefixCls:At,arrow:yt})},Ar=function(){return typeof jt=="function"?Wa:Wa()},Nr=function(){var Na=Se.minOverlayWidthMatchTrigger,$a=Se.alignPoint;return"minOverlayWidthMatchTrigger"in Se?Na:!$a},hr=function(){var Na=Se.openClassName;return Na!==void 0?Na:"".concat(At,"-open")},ja=x.cloneElement(mn,{className:we()((je=mn.props)===null||je===void 0?void 0:je.className,Pa&&hr()),ref:Ee(mn)?fe(La,mn.ref):void 0}),Sr=ut;return!Sr&&fn.indexOf("contextMenu")!==-1&&(Sr=["click"]),x.createElement(El,(0,Te.Z)({builtinPlacements:Ae},Sn,{prefixCls:At,ref:aa,popupClassName:we()(Dt,(0,oe.Z)({},"".concat(At,"-show-arrow"),yt)),popupStyle:Mt,action:fn,showAction:Qe,hideAction:Sr,popupPlacement:me,popupAlign:on,popupTransitionName:sn,popupAnimation:xn,popupVisible:Pa,stretch:Nr()?"minWidth":"",popup:Ar(),onPopupVisibleChange:Xn,onPopupClick:Ia,getPopupContainer:He}),ja)}var Tl=x.forwardRef(Nl),Hl=Tl,ql=te(60276),ou=te(5663),Jl=te(10366),Xi=te(80636),Dl=te(8745),ul=te(96159),iu=te(53124),lu=te(68508),Ke=te(76529),Xe=te(46605),nt=te(66748);const Lt=null,gr=Se=>{const{menu:ke,arrow:je,prefixCls:tt,children:yt,trigger:ft,disabled:At,dropdownRender:sn,getPopupContainer:xn,overlayClassName:on,rootClassName:ce,open:me,onOpenChange:xe,visible:Ae,onVisibleChange:He,mouseEnterDelay:Qe=.15,mouseLeaveDelay:ut=.1,autoAdjustOverflow:Dt=!0,placement:Mt="",overlay:Zt,transitionName:bt}=Se,{getPopupContainer:fn,getPrefixCls:Rn,direction:jt}=x.useContext(iu.E_),mn=x.useMemo(()=>{const ja=Rn();return bt!==void 0?bt:Mt.includes("top")?`${ja}-slide-down`:`${ja}-slide-up`},[Rn,Mt,bt]),In=x.useMemo(()=>Mt?Mt.includes("Center")?Mt.slice(0,Mt.indexOf("Center")):Mt:jt==="rtl"?"bottomRight":"bottomLeft",[Mt,jt]),Sn=Rn("dropdown",tt),[Kn,ma]=(0,nt.Z)(Sn),[,wa]=(0,Xe.Z)(),ha=x.Children.only(yt),Pa=(0,ul.Tm)(ha,{className:we()(`${Sn}-trigger`,{[`${Sn}-rtl`]:jt==="rtl"},ha.props.className),disabled:At}),aa=At?[]:ft;let ea;aa&&aa.includes("contextMenu")&&(ea=!0);const[La,Xn]=(0,ou.Z)(!1,{value:me!=null?me:Ae}),Ia=(0,ql.useEvent)(ja=>{xe==null||xe(ja),He==null||He(ja),Xn(ja)}),Wa=we()(on,ce,ma,{[`${Sn}-rtl`]:jt==="rtl"}),Ar=(0,Xi.Z)({arrowPointAtCenter:typeof je=="object"&&je.pointAtCenter,autoAdjustOverflow:Dt,offset:wa.marginXXS,arrowWidth:je?wa.sizePopupArrow:0,borderRadius:wa.borderRadius}),Nr=x.useCallback(()=>{Xn(!1)},[]),hr=()=>{let ja;return ke!=null&&ke.items?ja=x.createElement(lu.default,Object.assign({},ke)):typeof Zt=="function"?ja=Zt():ja=Zt,sn&&(ja=sn(ja)),ja=x.Children.only(typeof ja=="string"?x.createElement("span",null,ja):ja),x.createElement(Ke.J,{prefixCls:`${Sn}-menu`,expandIcon:x.createElement("span",{className:`${Sn}-menu-submenu-arrow`},x.createElement(Ce.Z,{className:`${Sn}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:Nr,validator:Sr=>{let{mode:Ha}=Sr}},ja)};return Kn(x.createElement(Hl,Object.assign({alignPoint:ea},(0,Jl.Z)(Se,["rootClassName"]),{mouseEnterDelay:Qe,mouseLeaveDelay:ut,visible:La,builtinPlacements:Ar,arrow:!!je,overlayClassName:Wa,prefixCls:Sn,getPopupContainer:xn||fn,transitionName:mn,trigger:aa,overlay:hr,placement:In,onVisibleChange:Ia}),Pa))};function _a(Se){return Object.assign(Object.assign({},Se),{align:{overflow:{adjustX:!1,adjustY:!1}}})}const Zr=(0,Dl.Z)(gr,"dropdown",Se=>Se,_a),Qa=Se=>x.createElement(Zr,Object.assign({},Se),x.createElement("span",null));gr._InternalPanelDoNotUseOrYouWillBeFired=Qa;var rr=gr},85418:function(vt,dt,te){"use strict";te.d(dt,{Z:function(){return E}});var x=te(56153),re=te(94184),Ce=te.n(re),ze=te(67294),we=te(25877),Te=te(71577),oe=te(53124),Fe=te(93421),he=te(4173),ye=te(66748),Oe=function(a,b){var y={};for(var z in a)Object.prototype.hasOwnProperty.call(a,z)&&b.indexOf(z)<0&&(y[z]=a[z]);if(a!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ee=0,z=Object.getOwnPropertySymbols(a);ee<z.length;ee++)b.indexOf(z[ee])<0&&Object.prototype.propertyIsEnumerable.call(a,z[ee])&&(y[z[ee]]=a[z[ee]]);return y};const Ie=a=>{const{getPopupContainer:b,getPrefixCls:y,direction:z}=ze.useContext(oe.E_),{prefixCls:ee,type:ne="default",danger:ae,disabled:le,loading:de,onClick:fe,htmlType:be,children:Ee,className:pe,menu:ge,arrow:$e,autoFocus:Be,overlay:Le,trigger:Re,align:Ge,open:Ye,onOpenChange:Pt,placement:qe,getPopupContainer:at,href:pt,icon:_t=ze.createElement(we.Z,null),title:Qt,buttonsRender:Je=tn=>tn,mouseEnterDelay:xt,mouseLeaveDelay:Et,overlayClassName:un,overlayStyle:Bt,destroyPopupOnHide:$t,dropdownRender:Ne}=a,Tt=Oe(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"]),an=y("dropdown",ee),Ft=`${an}-button`,[ct,Ct]=(0,ye.Z)(an),Ze={menu:ge,arrow:$e,autoFocus:Be,align:Ge,disabled:le,trigger:le?[]:Re,onOpenChange:Pt,getPopupContainer:at||b,mouseEnterDelay:xt,mouseLeaveDelay:Et,overlayClassName:un,overlayStyle:Bt,destroyPopupOnHide:$t,dropdownRender:Ne},{compactSize:Me,compactItemClassnames:et}=(0,he.ri)(an,z),wt=Ce()(Ft,et,pe,Ct);"overlay"in a&&(Ze.overlay=Le),"open"in a&&(Ze.open=Ye),"placement"in a?Ze.placement=qe:Ze.placement=z==="rtl"?"bottomLeft":"bottomRight";const Ot=ze.createElement(Te.ZP,{type:ne,danger:ae,disabled:le,loading:de,onClick:fe,htmlType:be,href:pt,title:Qt},Ee),Ut=ze.createElement(Te.ZP,{type:ne,danger:ae,icon:_t}),[wn,An]=Je([Ot,Ut]);return ct(ze.createElement(Fe.Z.Compact,Object.assign({className:wt,size:Me,block:!0},Tt),wn,ze.createElement(x.Z,Object.assign({},Ze),An)))};Ie.__ANT_BUTTON=!0;var ve=Ie;const ie=x.Z;ie.Button=ve;var E=ie},66748:function(vt,dt,te){"use strict";te.d(dt,{Z:function(){return Oe}});var x=te(14747),re=te(67771),Ce=te(33297),ze=te(50438),we=te(97414),Te=te(67968),oe=te(45503),he=Ie=>{const{componentCls:ve,menuCls:ie,colorError:E,colorTextLightSolid:a}=Ie,b=`${ie}-item`;return{[`${ve}, ${ve}-menu-submenu`]:{[`${ie} ${b}`]:{[`&${b}-danger:not(${b}-disabled)`]:{color:E,"&:hover":{color:a,backgroundColor:E}}}}}};const ye=Ie=>{const{componentCls:ve,menuCls:ie,zIndexPopup:E,dropdownArrowDistance:a,sizePopupArrow:b,antCls:y,iconCls:z,motionDurationMid:ee,dropdownPaddingVertical:ne,fontSize:ae,dropdownEdgeChildPadding:le,colorTextDisabled:de,fontSizeIcon:fe,controlPaddingHorizontal:be,colorBgElevated:Ee}=Ie;return[{[ve]:Object.assign(Object.assign({},(0,x.Wf)(Ie)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:E,display:"block","&::before":{position:"absolute",insetBlock:-a+b/2,zIndex:-9999,opacity:1e-4,content:'""'},[`&-trigger${y}-btn`]:{[`& > ${z}-down, & > ${y}-btn-icon > ${z}-down`]:{fontSize:fe}},[`${ve}-wrap`]:{position:"relative",[`${y}-btn > ${z}-down`]:{fontSize:fe},[`${z}-down::before`]:{transition:`transform ${ee}`}},[`${ve}-wrap-open`]:{[`${z}-down::before`]:{transform:"rotate(180deg)"}},"\n &-hidden,\n &-menu-hidden,\n &-menu-submenu-hidden\n ":{display:"none"},[`&${y}-slide-down-enter${y}-slide-down-enter-active${ve}-placement-bottomLeft,
&${y}-slide-down-appear${y}-slide-down-appear-active${ve}-placement-bottomLeft,
&${y}-slide-down-enter${y}-slide-down-enter-active${ve}-placement-bottom,
&${y}-slide-down-appear${y}-slide-down-appear-active${ve}-placement-bottom,
&${y}-slide-down-enter${y}-slide-down-enter-active${ve}-placement-bottomRight,
&${y}-slide-down-appear${y}-slide-down-appear-active${ve}-placement-bottomRight`]:{animationName:re.fJ},[`&${y}-slide-up-enter${y}-slide-up-enter-active${ve}-placement-topLeft,
&${y}-slide-up-appear${y}-slide-up-appear-active${ve}-placement-topLeft,
&${y}-slide-up-enter${y}-slide-up-enter-active${ve}-placement-top,
&${y}-slide-up-appear${y}-slide-up-appear-active${ve}-placement-top,
&${y}-slide-up-enter${y}-slide-up-enter-active${ve}-placement-topRight,
&${y}-slide-up-appear${y}-slide-up-appear-active${ve}-placement-topRight`]:{animationName:re.Qt},[`&${y}-slide-down-leave${y}-slide-down-leave-active${ve}-placement-bottomLeft,
&${y}-slide-down-leave${y}-slide-down-leave-active${ve}-placement-bottom,
&${y}-slide-down-leave${y}-slide-down-leave-active${ve}-placement-bottomRight`]:{animationName:re.Uw},[`&${y}-slide-up-leave${y}-slide-up-leave-active${ve}-placement-topLeft,
&${y}-slide-up-leave${y}-slide-up-leave-active${ve}-placement-top,
&${y}-slide-up-leave${y}-slide-up-leave-active${ve}-placement-topRight`]:{animationName:re.ly}})},(0,we.ZP)(Ie,{colorBg:Ee,limitVerticalRadius:!0,arrowPlacement:{top:!0,bottom:!0}}),{[`${ve} ${ie}`]:{position:"relative",margin:0},[`${ie}-submenu-popup`]:{position:"absolute",zIndex:E,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${ve}, ${ve}-menu-submenu`]:{[ie]:Object.assign(Object.assign({padding:le,listStyleType:"none",backgroundColor:Ee,backgroundClip:"padding-box",borderRadius:Ie.borderRadiusLG,outline:"none",boxShadow:Ie.boxShadowSecondary},(0,x.Qy)(Ie)),{[`${ie}-item-group-title`]:{padding:`${ne}px ${be}px`,color:Ie.colorTextDescription,transition:`all ${ee}`},[`${ie}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${ie}-item-icon`]:{minWidth:ae,marginInlineEnd:Ie.marginXS,fontSize:Ie.fontSizeSM},[`${ie}-title-content`]:{flex:"auto","> a":{color:"inherit",transition:`all ${ee}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}}},[`${ie}-item, ${ie}-submenu-title`]:Object.assign(Object.assign({clear:"both",margin:0,padding:`${ne}px ${be}px`,color:Ie.colorText,fontWeight:"normal",fontSize:ae,lineHeight:Ie.lineHeight,cursor:"pointer",transition:`all ${ee}`,borderRadius:Ie.borderRadiusSM,"&:hover, &-active":{backgroundColor:Ie.controlItemBgHover}},(0,x.Qy)(Ie)),{"&-selected":{color:Ie.colorPrimary,backgroundColor:Ie.controlItemBgActive,"&:hover, &-active":{backgroundColor:Ie.controlItemBgActiveHover}},"&-disabled":{color:de,cursor:"not-allowed","&:hover":{color:de,backgroundColor:Ee,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${Ie.marginXXS}px 0`,overflow:"hidden",lineHeight:0,backgroundColor:Ie.colorSplit},[`${ve}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:Ie.paddingXS,[`${ve}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:Ie.colorTextDescription,fontSize:fe,fontStyle:"normal"}}}),[`${ie}-item-group-list`]:{margin:`0 ${Ie.marginXS}px`,padding:0,listStyle:"none"},[`${ie}-submenu-title`]:{paddingInlineEnd:be+Ie.fontSizeSM},[`${ie}-submenu-vertical`]:{position:"relative"},[`${ie}-submenu${ie}-submenu-disabled ${ve}-menu-submenu-title`]:{[`&, ${ve}-menu-submenu-arrow-icon`]:{color:de,backgroundColor:Ee,cursor:"not-allowed"}},[`${ie}-submenu-selected ${ve}-menu-submenu-title`]:{color:Ie.colorPrimary}})}},[(0,re.oN)(Ie,"slide-up"),(0,re.oN)(Ie,"slide-down"),(0,Ce.Fm)(Ie,"move-up"),(0,Ce.Fm)(Ie,"move-down"),(0,ze._y)(Ie,"zoom-big")]]};var Oe=(0,Te.Z)("Dropdown",(Ie,ve)=>{let{rootPrefixCls:ie}=ve;const{marginXXS:E,sizePopupArrow:a,controlHeight:b,fontSize:y,lineHeight:z,paddingXXS:ee,componentCls:ne,borderRadiusLG:ae}=Ie,le=(b-y*z)/2,{dropdownArrowOffset:de}=(0,we.fS)({contentRadius:ae}),fe=(0,oe.TS)(Ie,{menuCls:`${ne}-menu`,rootPrefixCls:ie,dropdownArrowDistance:a/2+E,dropdownArrowOffset:de,dropdownPaddingVertical:le,dropdownEdgeChildPadding:ee});return[ye(fe),he(fe)]},Ie=>({zIndexPopup:Ie.zIndexPopupBase+50}))},25378:function(vt,dt,te){"use strict";var x=te(67294),re=te(14075),Ce=te(57838),ze=te(74443);function we(){let Te=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;const oe=(0,x.useRef)({}),Fe=(0,Ce.Z)(),he=(0,ze.ZP)();return(0,re.Z)(()=>{const ye=he.subscribe(Oe=>{oe.current=Oe,Te&&Fe()});return()=>he.unsubscribe(ye)},[]),oe.current}dt.Z=we},71322:function(vt,dt,te){"use strict";te.d(dt,{D:function(){return z},Z:function(){return ae}});var x=te(87462),re=te(67294),Ce={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"},ze=Ce,we=te(74643),Te=function(de,fe){return re.createElement(we.Z,(0,x.Z)({},de,{ref:fe,icon:ze}))},oe=re.forwardRef(Te),Fe=te(22751),he=te(91034),ye=te(94184),Oe=te.n(ye),Ie=te(10366),ie=le=>!isNaN(parseFloat(le))&&isFinite(le),E=te(53124),a=te(84321),b=function(le,de){var fe={};for(var be in le)Object.prototype.hasOwnProperty.call(le,be)&&de.indexOf(be)<0&&(fe[be]=le[be]);if(le!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ee=0,be=Object.getOwnPropertySymbols(le);Ee<be.length;Ee++)de.indexOf(be[Ee])<0&&Object.prototype.propertyIsEnumerable.call(le,be[Ee])&&(fe[be[Ee]]=le[be[Ee]]);return fe};const y={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},z=re.createContext({}),ee=(()=>{let le=0;return function(){let de=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return le+=1,`${de}${le}`}})();var ae=re.forwardRef((le,de)=>{const{prefixCls:fe,className:be,trigger:Ee,children:pe,defaultCollapsed:ge=!1,theme:$e="dark",style:Be={},collapsible:Le=!1,reverseArrow:Re=!1,width:Ge=200,collapsedWidth:Ye=80,zeroWidthTriggerStyle:Pt,breakpoint:qe,onCollapse:at,onBreakpoint:pt}=le,_t=b(le,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:Qt}=(0,re.useContext)(a.Gs),[Je,xt]=(0,re.useState)("collapsed"in le?le.collapsed:ge),[Et,un]=(0,re.useState)(!1);(0,re.useEffect)(()=>{"collapsed"in le&&xt(le.collapsed)},[le.collapsed]);const Bt=(ct,Ct)=>{"collapsed"in le||xt(ct),at==null||at(ct,Ct)},$t=(0,re.useRef)();$t.current=ct=>{un(ct.matches),pt==null||pt(ct.matches),Je!==ct.matches&&Bt(ct.matches,"responsive")},(0,re.useEffect)(()=>{function ct(Ze){return $t.current(Ze)}let Ct;if(typeof window!="undefined"){const{matchMedia:Ze}=window;if(Ze&&qe&&qe in y){Ct=Ze(`(max-width: ${y[qe]})`);try{Ct.addEventListener("change",ct)}catch(Me){Ct.addListener(ct)}ct(Ct)}}return()=>{try{Ct==null||Ct.removeEventListener("change",ct)}catch(Ze){Ct==null||Ct.removeListener(ct)}}},[qe]),(0,re.useEffect)(()=>{const ct=ee("ant-sider-");return Qt.addSider(ct),()=>Qt.removeSider(ct)},[]);const Ne=()=>{Bt(!Je,"clickTrigger")},{getPrefixCls:Tt}=(0,re.useContext)(E.E_),an=()=>{const ct=Tt("layout-sider",fe),Ct=(0,Ie.Z)(_t,["collapsed"]),Ze=Je?Ye:Ge,Me=ie(Ze)?`${Ze}px`:String(Ze),et=parseFloat(String(Ye||0))===0?re.createElement("span",{onClick:Ne,className:Oe()(`${ct}-zero-width-trigger`,`${ct}-zero-width-trigger-${Re?"right":"left"}`),style:Pt},Ee||re.createElement(oe,null)):null,Ut={expanded:Re?re.createElement(he.Z,null):re.createElement(Fe.Z,null),collapsed:Re?re.createElement(Fe.Z,null):re.createElement(he.Z,null)}[Je?"collapsed":"expanded"],wn=Ee!==null?et||re.createElement("div",{className:`${ct}-trigger`,onClick:Ne,style:{width:Me}},Ee||Ut):null,An=Object.assign(Object.assign({},Be),{flex:`0 0 ${Me}`,maxWidth:Me,minWidth:Me,width:Me}),tn=Oe()(ct,`${ct}-${$e}`,{[`${ct}-collapsed`]:!!Je,[`${ct}-has-trigger`]:Le&&Ee!==null&&!et,[`${ct}-below`]:!!Et,[`${ct}-zero-width`]:parseFloat(Me)===0},be);return re.createElement("aside",Object.assign({className:tn},Ct,{style:An,ref:de}),re.createElement("div",{className:`${ct}-children`},pe),Le||Et&&et?wn:null)},Ft=re.useMemo(()=>({siderCollapsed:Je}),[Je]);return re.createElement(z.Provider,{value:Ft},an())})},84321:function(vt,dt,te){"use strict";te.d(dt,{VY:function(){return ee},$_:function(){return z},h4:function(){return y},Gs:function(){return ve},ZP:function(){return ne}});var x=te(74902),re=te(94184),Ce=te.n(re),ze=te(10366),we=te(67294),Te=te(53124),oe=te(67968),he=ae=>{const{componentCls:le,bodyBg:de,lightSiderBg:fe,lightTriggerBg:be,lightTriggerColor:Ee}=ae;return{[`${le}-sider-light`]:{background:fe,[`${le}-sider-trigger`]:{color:Ee,background:be},[`${le}-sider-zero-width-trigger`]:{color:Ee,background:be,border:`1px solid ${de}`,borderInlineStart:0}}}};const ye=ae=>{const{antCls:le,componentCls:de,colorText:fe,triggerColor:be,footerBg:Ee,triggerBg:pe,headerHeight:ge,headerPadding:$e,headerColor:Be,footerPadding:Le,triggerHeight:Re,zeroTriggerHeight:Ge,zeroTriggerWidth:Ye,motionDurationMid:Pt,motionDurationSlow:qe,fontSize:at,borderRadius:pt,bodyBg:_t,headerBg:Qt,siderBg:Je}=ae;return{[de]:Object.assign(Object.assign({display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:_t,"&, *":{boxSizing:"border-box"},[`&${de}-has-sider`]:{flexDirection:"row",[`> ${de}, > ${de}-content`]:{width:0}},[`${de}-header, &${de}-footer`]:{flex:"0 0 auto"},[`${de}-sider`]:{position:"relative",minWidth:0,background:Je,transition:`all ${Pt}, background 0s`,"&-children":{height:"100%",marginTop:-.1,paddingTop:.1,[`${le}-menu${le}-menu-inline-collapsed`]:{width:"auto"}},"&-has-trigger":{paddingBottom:Re},"&-right":{order:1},"&-trigger":{position:"fixed",bottom:0,zIndex:1,height:Re,color:be,lineHeight:`${Re}px`,textAlign:"center",background:pe,cursor:"pointer",transition:`all ${Pt}`},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:ge,insetInlineEnd:-Ye,zIndex:1,width:Ye,height:Ge,color:be,fontSize:ae.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:Je,borderStartStartRadius:0,borderStartEndRadius:pt,borderEndEndRadius:pt,borderEndStartRadius:0,cursor:"pointer",transition:`background ${qe} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${qe}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:-Ye,borderStartStartRadius:pt,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:pt}}}}},he(ae)),{"&-rtl":{direction:"rtl"}}),[`${de}-header`]:{height:ge,padding:$e,color:Be,lineHeight:`${ge}px`,background:Qt,[`${le}-menu`]:{lineHeight:"inherit"}},[`${de}-footer`]:{padding:Le,color:fe,fontSize:at,background:Ee},[`${de}-content`]:{flex:"auto",minHeight:0}}};var Oe=(0,oe.Z)("Layout",ae=>[ye(ae)],ae=>{const{colorBgLayout:le,controlHeight:de,controlHeightLG:fe,colorText:be,controlHeightSM:Ee,marginXXS:pe,colorTextLightSolid:ge,colorBgContainer:$e}=ae,Be=fe*1.25;return{colorBgHeader:"#001529",colorBgBody:le,colorBgTrigger:"#002140",bodyBg:le,headerBg:"#001529",headerHeight:de*2,headerPadding:`0 ${Be}px`,headerColor:be,footerPadding:`${Ee}px ${Be}px`,footerBg:le,siderBg:"#001529",triggerHeight:fe+pe*2,triggerBg:"#002140",triggerColor:ge,zeroTriggerWidth:fe,zeroTriggerHeight:fe,lightSiderBg:$e,lightTriggerBg:$e,lightTriggerColor:be}},{deprecatedTokens:[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]]}),Ie=function(ae,le){var de={};for(var fe in ae)Object.prototype.hasOwnProperty.call(ae,fe)&&le.indexOf(fe)<0&&(de[fe]=ae[fe]);if(ae!=null&&typeof Object.getOwnPropertySymbols=="function")for(var be=0,fe=Object.getOwnPropertySymbols(ae);be<fe.length;be++)le.indexOf(fe[be])<0&&Object.prototype.propertyIsEnumerable.call(ae,fe[be])&&(de[fe[be]]=ae[fe[be]]);return de};const ve=we.createContext({siderHook:{addSider:()=>null,removeSider:()=>null}});function ie(ae){let{suffixCls:le,tagName:de,displayName:fe}=ae;return be=>we.forwardRef((pe,ge)=>we.createElement(be,Object.assign({ref:ge,suffixCls:le,tagName:de},pe)))}const E=we.forwardRef((ae,le)=>{const{prefixCls:de,suffixCls:fe,className:be,tagName:Ee}=ae,pe=Ie(ae,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:ge}=we.useContext(Te.E_),$e=ge("layout",de),[Be,Le]=Oe($e),Re=fe?`${$e}-${fe}`:$e;return Be(we.createElement(Ee,Object.assign({className:Ce()(de||Re,be,Le),ref:le},pe)))}),a=we.forwardRef((ae,le)=>{const{direction:de}=we.useContext(Te.E_),[fe,be]=we.useState([]),{prefixCls:Ee,className:pe,rootClassName:ge,children:$e,hasSider:Be,tagName:Le,style:Re}=ae,Ge=Ie(ae,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),Ye=(0,ze.Z)(Ge,["suffixCls"]),{getPrefixCls:Pt,layout:qe}=we.useContext(Te.E_),at=Pt("layout",Ee),[pt,_t]=Oe(at),Qt=Ce()(at,{[`${at}-has-sider`]:typeof Be=="boolean"?Be:fe.length>0,[`${at}-rtl`]:de==="rtl"},qe==null?void 0:qe.className,pe,ge,_t),Je=we.useMemo(()=>({siderHook:{addSider:xt=>{be(Et=>[].concat((0,x.Z)(Et),[xt]))},removeSider:xt=>{be(Et=>Et.filter(un=>un!==xt))}}}),[]);return pt(we.createElement(ve.Provider,{value:Je},we.createElement(Le,Object.assign({ref:le,className:Qt,style:Object.assign(Object.assign({},qe==null?void 0:qe.style),Re)},Ye),$e)))}),b=ie({tagName:"div",displayName:"Layout"})(a),y=ie({suffixCls:"header",tagName:"header",displayName:"Header"})(E),z=ie({suffixCls:"footer",tagName:"footer",displayName:"Footer"})(E),ee=ie({suffixCls:"content",tagName:"main",displayName:"Content"})(E);var ne=b},76529:function(vt,dt,te){"use strict";te.d(dt,{J:function(){return Te}});var x=te(67294),re=te(4173),Ce=te(60276),ze=function(oe,Fe){var he={};for(var ye in oe)Object.prototype.hasOwnProperty.call(oe,ye)&&Fe.indexOf(ye)<0&&(he[ye]=oe[ye]);if(oe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Oe=0,ye=Object.getOwnPropertySymbols(oe);Oe<ye.length;Oe++)Fe.indexOf(ye[Oe])<0&&Object.prototype.propertyIsEnumerable.call(oe,ye[Oe])&&(he[ye[Oe]]=oe[ye[Oe]]);return he};const we=x.createContext(null),Te=x.forwardRef((oe,Fe)=>{const{children:he}=oe,ye=ze(oe,["children"]),Oe=x.useContext(we),Ie=x.useMemo(()=>Object.assign(Object.assign({},Oe),ye),[Oe,ye.prefixCls,ye.mode,ye.selectable]);return x.createElement(we.Provider,{value:Ie},x.createElement(re.BR,null,(0,Ce.supportNodeRef)(he)?x.cloneElement(he,{ref:Fe}):he))});dt.Z=we},68508:function(vt,dt,te){"use strict";te.d(dt,{default:function(){return ct}});var x=te(52073),re=te(67294),Ce=te(71322),ze=te(94184),we=te.n(ze),Te=te(53124),oe=function(Ct,Ze){var Me={};for(var et in Ct)Object.prototype.hasOwnProperty.call(Ct,et)&&Ze.indexOf(et)<0&&(Me[et]=Ct[et]);if(Ct!=null&&typeof Object.getOwnPropertySymbols=="function")for(var wt=0,et=Object.getOwnPropertySymbols(Ct);wt<et.length;wt++)Ze.indexOf(et[wt])<0&&Object.prototype.propertyIsEnumerable.call(Ct,et[wt])&&(Me[et[wt]]=Ct[et[wt]]);return Me},he=Ct=>{const{prefixCls:Ze,className:Me,dashed:et}=Ct,wt=oe(Ct,["prefixCls","className","dashed"]),{getPrefixCls:Ot}=re.useContext(Te.E_),Ut=Ot("menu",Ze),wn=we()({[`${Ut}-item-divider-dashed`]:!!et},Me);return re.createElement(x.iz,Object.assign({className:wn},wt))},ye=te(37419),Oe=te(10366),Ie=te(83062),ve=te(96159),E=(0,re.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),b=Ct=>{var Ze;const{className:Me,children:et,icon:wt,title:Ot,danger:Ut}=Ct,{prefixCls:wn,firstLevel:An,direction:tn,disableMenuItemTitleTooltip:Dn,inlineCollapsed:_e}=re.useContext(E),ot=Gn=>{const ua=re.createElement("span",{className:`${wn}-title-content`},et);return(!wt||(0,ve.l$)(et)&&et.type==="span")&&et&&Gn&&An&&typeof et=="string"?re.createElement("div",{className:`${wn}-inline-collapsed-noicon`},et.charAt(0)):ua},{siderCollapsed:rn}=re.useContext(Ce.D);let hn=Ot;typeof Ot=="undefined"?hn=An?et:"":Ot===!1&&(hn="");const lt={title:hn};!rn&&!_e&&(lt.title=null,lt.open=!1);const gn=(0,ye.Z)(et).length;let qn=re.createElement(x.ck,Object.assign({},(0,Oe.Z)(Ct,["title","icon","danger"]),{className:we()({[`${wn}-item-danger`]:Ut,[`${wn}-item-only-child`]:(wt?gn+1:gn)===1},Me),title:typeof Ot=="string"?Ot:void 0}),(0,ve.Tm)(wt,{className:we()((0,ve.l$)(wt)?(Ze=wt.props)===null||Ze===void 0?void 0:Ze.className:"",`${wn}-item-icon`)}),ot(_e));return Dn||(qn=re.createElement(Ie.Z,Object.assign({},lt,{placement:tn==="rtl"?"left":"right",overlayClassName:`${wn}-inline-collapsed-tooltip`}),qn)),qn},z=Ct=>{var Ze;const{popupClassName:Me,icon:et,title:wt,theme:Ot}=Ct,Ut=re.useContext(E),{prefixCls:wn,inlineCollapsed:An,theme:tn}=Ut,Dn=(0,x.Xl)();let _e;if(!et)_e=An&&!Dn.length&&wt&&typeof wt=="string"?re.createElement("div",{className:`${wn}-inline-collapsed-noicon`},wt.charAt(0)):re.createElement("span",{className:`${wn}-title-content`},wt);else{const rn=(0,ve.l$)(wt)&&wt.type==="span";_e=re.createElement(re.Fragment,null,(0,ve.Tm)(et,{className:we()((0,ve.l$)(et)?(Ze=et.props)===null||Ze===void 0?void 0:Ze.className:"",`${wn}-item-icon`)}),rn?wt:re.createElement("span",{className:`${wn}-title-content`},wt))}const ot=re.useMemo(()=>Object.assign(Object.assign({},Ut),{firstLevel:!1}),[Ut]);return re.createElement(E.Provider,{value:ot},re.createElement(x.Wd,Object.assign({},(0,Oe.Z)(Ct,["icon"]),{title:_e,popupClassName:we()(wn,Me,`${wn}-${Ot||tn}`)})))},ee=te(25877),ne=te(60276),ae=te(33603),le=te(76529),de=function(Ct,Ze){var Me={};for(var et in Ct)Object.prototype.hasOwnProperty.call(Ct,et)&&Ze.indexOf(et)<0&&(Me[et]=Ct[et]);if(Ct!=null&&typeof Object.getOwnPropertySymbols=="function")for(var wt=0,et=Object.getOwnPropertySymbols(Ct);wt<et.length;wt++)Ze.indexOf(et[wt])<0&&Object.prototype.propertyIsEnumerable.call(Ct,et[wt])&&(Me[et[wt]]=Ct[et[wt]]);return Me};function fe(Ct){return(Ct||[]).map((Ze,Me)=>{if(Ze&&typeof Ze=="object"){const et=Ze,{label:wt,children:Ot,key:Ut,type:wn}=et,An=de(et,["label","children","key","type"]),tn=Ut!=null?Ut:`tmp-${Me}`;return Ot||wn==="group"?wn==="group"?re.createElement(x.BW,Object.assign({key:tn},An,{title:wt}),fe(Ot)):re.createElement(z,Object.assign({key:tn},An,{title:wt}),fe(Ot)):wn==="divider"?re.createElement(he,Object.assign({key:tn},An)):re.createElement(b,Object.assign({key:tn},An),wt)}return null}).filter(Ze=>Ze)}function be(Ct){return re.useMemo(()=>Ct&&fe(Ct),[Ct])}var Ee=te(84780),pe=te(14747),ge=te(33507),$e=te(67771),Be=te(50438),Le=te(67968),Re=te(45503),Ye=Ct=>{const{componentCls:Ze,motionDurationSlow:Me,horizontalLineHeight:et,colorSplit:wt,lineWidth:Ot,lineType:Ut,itemPaddingInline:wn}=Ct;return{[`${Ze}-horizontal`]:{lineHeight:et,border:0,borderBottom:`${Ot}px ${Ut} ${wt}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${Ze}-item, ${Ze}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:wn},[`> ${Ze}-item:hover,
> ${Ze}-item-active,
> ${Ze}-submenu ${Ze}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${Ze}-item, ${Ze}-submenu-title`]:{transition:[`border-color ${Me}`,`background ${Me}`].join(",")},[`${Ze}-submenu-arrow`]:{display:"none"}}}},qe=Ct=>{let{componentCls:Ze,menuArrowOffset:Me}=Ct;return{[`${Ze}-rtl`]:{direction:"rtl"},[`${Ze}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${Ze}-rtl${Ze}-vertical,
${Ze}-submenu-rtl ${Ze}-vertical`]:{[`${Ze}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(-${Me})`},"&::after":{transform:`rotate(45deg) translateY(${Me})`}}}}};const at=Ct=>Object.assign({},(0,pe.oN)(Ct));var _t=(Ct,Ze)=>{const{componentCls:Me,itemColor:et,itemSelectedColor:wt,groupTitleColor:Ot,itemBg:Ut,subMenuItemBg:wn,itemSelectedBg:An,activeBarHeight:tn,activeBarWidth:Dn,activeBarBorderWidth:_e,motionDurationSlow:ot,motionEaseInOut:rn,motionEaseOut:hn,itemPaddingInline:lt,motionDurationMid:gn,itemHoverColor:qn,lineType:Gn,colorSplit:ua,itemDisabledColor:cn,dangerItemColor:Jt,dangerItemHoverColor:On,dangerItemSelectedColor:ra,dangerItemActiveBg:sa,dangerItemSelectedBg:ga,itemHoverBg:er,itemActiveBg:Ht,menuSubMenuBg:Xt,horizontalItemSelectedColor:nn,horizontalItemSelectedBg:Vn,horizontalItemBorderRadius:Ka,horizontalItemHoverBg:vr,popupBg:Or}=Ct;return{[`${Me}-${Ze}, ${Me}-${Ze} > ${Me}`]:{color:et,background:Ut,[`&${Me}-root:focus-visible`]:Object.assign({},at(Ct)),[`${Me}-item-group-title`]:{color:Ot},[`${Me}-submenu-selected`]:{[`> ${Me}-submenu-title`]:{color:wt}},[`${Me}-item-disabled, ${Me}-submenu-disabled`]:{color:`${cn} !important`},[`${Me}-item:not(${Me}-item-selected):not(${Me}-submenu-selected)`]:{[`&:hover, > ${Me}-submenu-title:hover`]:{color:qn}},[`&:not(${Me}-horizontal)`]:{[`${Me}-item:not(${Me}-item-selected)`]:{"&:hover":{backgroundColor:er},"&:active":{backgroundColor:Ht}},[`${Me}-submenu-title`]:{"&:hover":{backgroundColor:er},"&:active":{backgroundColor:Ht}}},[`${Me}-item-danger`]:{color:Jt,[`&${Me}-item:hover`]:{[`&:not(${Me}-item-selected):not(${Me}-submenu-selected)`]:{color:On}},[`&${Me}-item:active`]:{background:sa}},[`${Me}-item a`]:{"&, &:hover":{color:"inherit"}},[`${Me}-item-selected`]:{color:wt,[`&${Me}-item-danger`]:{color:ra},"a, a:hover":{color:"inherit"}},[`& ${Me}-item-selected`]:{backgroundColor:An,[`&${Me}-item-danger`]:{backgroundColor:ga}},[`${Me}-item, ${Me}-submenu-title`]:{[`&:not(${Me}-item-disabled):focus-visible`]:Object.assign({},at(Ct))},[`&${Me}-submenu > ${Me}`]:{backgroundColor:Xt},[`&${Me}-popup > ${Me}`]:{backgroundColor:Or},[`&${Me}-horizontal`]:Object.assign(Object.assign({},Ze==="dark"?{borderBottom:0}:{}),{[`> ${Me}-item, > ${Me}-submenu`]:{top:_e,marginTop:-_e,marginBottom:0,borderRadius:Ka,"&::after":{position:"absolute",insetInline:lt,bottom:0,borderBottom:`${tn}px solid transparent`,transition:`border-color ${ot} ${rn}`,content:'""'},"&:hover, &-active, &-open":{background:vr,"&::after":{borderBottomWidth:tn,borderBottomColor:nn}},"&-selected":{color:nn,backgroundColor:Vn,"&:hover":{backgroundColor:Vn},"&::after":{borderBottomWidth:tn,borderBottomColor:nn}}}}),[`&${Me}-root`]:{[`&${Me}-inline, &${Me}-vertical`]:{borderInlineEnd:`${_e}px ${Gn} ${ua}`}},[`&${Me}-inline`]:{[`${Me}-sub${Me}-inline`]:{background:wn},[`${Me}-item, ${Me}-submenu-title`]:_e&&Dn?{width:`calc(100% + ${_e}px)`}:{},[`${Me}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${Dn}px solid ${wt}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${gn} ${hn}`,`opacity ${gn} ${hn}`].join(","),content:'""'},[`&${Me}-item-danger`]:{"&::after":{borderInlineEndColor:ra}}},[`${Me}-selected, ${Me}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${gn} ${rn}`,`opacity ${gn} ${rn}`].join(",")}}}}}};const Qt=Ct=>{const{componentCls:Ze,itemHeight:Me,itemMarginInline:et,padding:wt,menuArrowSize:Ot,marginXS:Ut,itemMarginBlock:wn}=Ct,An=wt+Ot+Ut;return{[`${Ze}-item`]:{position:"relative",overflow:"hidden"},[`${Ze}-item, ${Ze}-submenu-title`]:{height:Me,lineHeight:`${Me}px`,paddingInline:wt,overflow:"hidden",textOverflow:"ellipsis",marginInline:et,marginBlock:wn,width:`calc(100% - ${et*2}px)`},[`> ${Ze}-item,
> ${Ze}-submenu > ${Ze}-submenu-title`]:{height:Me,lineHeight:`${Me}px`},[`${Ze}-item-group-list ${Ze}-submenu-title,
${Ze}-submenu-title`]:{paddingInlineEnd:An}}};var xt=Ct=>{const{componentCls:Ze,iconCls:Me,itemHeight:et,colorTextLightSolid:wt,dropdownWidth:Ot,controlHeightLG:Ut,motionDurationMid:wn,motionEaseOut:An,paddingXL:tn,itemMarginInline:Dn,fontSizeLG:_e,motionDurationSlow:ot,paddingXS:rn,boxShadowSecondary:hn,collapsedWidth:lt,collapsedIconSize:gn}=Ct,qn={height:et,lineHeight:`${et}px`,listStylePosition:"inside",listStyleType:"disc"};return[{[Ze]:{"&-inline, &-vertical":Object.assign({[`&${Ze}-root`]:{boxShadow:"none"}},Qt(Ct))},[`${Ze}-submenu-popup`]:{[`${Ze}-vertical`]:Object.assign(Object.assign({},Qt(Ct)),{boxShadow:hn})}},{[`${Ze}-submenu-popup ${Ze}-vertical${Ze}-sub`]:{minWidth:Ot,maxHeight:`calc(100vh - ${Ut*2.5}px)`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${Ze}-inline`]:{width:"100%",[`&${Ze}-root`]:{[`${Ze}-item, ${Ze}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${ot}`,`background ${ot}`,`padding ${wn} ${An}`].join(","),[`> ${Ze}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${Ze}-sub${Ze}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${Ze}-submenu > ${Ze}-submenu-title`]:qn,[`& ${Ze}-item-group-title`]:{paddingInlineStart:tn}},[`${Ze}-item`]:qn}},{[`${Ze}-inline-collapsed`]:{width:lt,[`&${Ze}-root`]:{[`${Ze}-item, ${Ze}-submenu ${Ze}-submenu-title`]:{[`> ${Ze}-inline-collapsed-noicon`]:{fontSize:_e,textAlign:"center"}}},[`> ${Ze}-item,
> ${Ze}-item-group > ${Ze}-item-group-list > ${Ze}-item,
> ${Ze}-item-group > ${Ze}-item-group-list > ${Ze}-submenu > ${Ze}-submenu-title,
> ${Ze}-submenu > ${Ze}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${_e/2}px - ${Dn}px)`,textOverflow:"clip",[`
${Ze}-submenu-arrow,
${Ze}-submenu-expand-icon
`]:{opacity:0},[`${Ze}-item-icon, ${Me}`]:{margin:0,fontSize:gn,lineHeight:`${et}px`,"+ span":{display:"inline-block",opacity:0}}},[`${Ze}-item-icon, ${Me}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${Ze}-item-icon, ${Me}`]:{display:"none"},"a, a:hover":{color:wt}},[`${Ze}-item-group-title`]:Object.assign(Object.assign({},pe.vS),{paddingInline:rn})}}]};const Et=Ct=>{const{componentCls:Ze,motionDurationSlow:Me,motionDurationMid:et,motionEaseInOut:wt,motionEaseOut:Ot,iconCls:Ut,iconSize:wn,iconMarginInlineEnd:An}=Ct;return{[`${Ze}-item, ${Ze}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${Me}`,`background ${Me}`,`padding ${Me} ${wt}`].join(","),[`${Ze}-item-icon, ${Ut}`]:{minWidth:wn,fontSize:wn,transition:[`font-size ${et} ${Ot}`,`margin ${Me} ${wt}`,`color ${Me}`].join(","),"+ span":{marginInlineStart:An,opacity:1,transition:[`opacity ${Me} ${wt}`,`margin ${Me}`,`color ${Me}`].join(",")}},[`${Ze}-item-icon`]:Object.assign({},(0,pe.Ro)()),[`&${Ze}-item-only-child`]:{[`> ${Ut}, > ${Ze}-item-icon`]:{marginInlineEnd:0}}},[`${Ze}-item-disabled, ${Ze}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important"},[`> ${Ze}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},un=Ct=>{const{componentCls:Ze,motionDurationSlow:Me,motionEaseInOut:et,borderRadius:wt,menuArrowSize:Ot,menuArrowOffset:Ut}=Ct;return{[`${Ze}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:Ct.margin,width:Ot,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${Me} ${et}, opacity ${Me}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:Ot*.6,height:Ot*.15,backgroundColor:"currentcolor",borderRadius:wt,transition:[`background ${Me} ${et}`,`transform ${Me} ${et}`,`top ${Me} ${et}`,`color ${Me} ${et}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(-${Ut})`},"&::after":{transform:`rotate(-45deg) translateY(${Ut})`}}}}},Bt=Ct=>{const{antCls:Ze,componentCls:Me,fontSize:et,motionDurationSlow:wt,motionDurationMid:Ot,motionEaseInOut:Ut,paddingXS:wn,padding:An,colorSplit:tn,lineWidth:Dn,zIndexPopup:_e,borderRadiusLG:ot,subMenuItemBorderRadius:rn,menuArrowSize:hn,menuArrowOffset:lt,lineType:gn,menuPanelMaskInset:qn,groupTitleLineHeight:Gn,groupTitleFontSize:ua}=Ct;return[{"":{[`${Me}`]:Object.assign(Object.assign({},(0,pe.dF)()),{"&-hidden":{display:"none"}})},[`${Me}-submenu-hidden`]:{display:"none"}},{[Me]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,pe.Wf)(Ct)),(0,pe.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:et,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${wt} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${Me}-item`]:{flex:"none"}},[`${Me}-item, ${Me}-submenu, ${Me}-submenu-title`]:{borderRadius:Ct.itemBorderRadius},[`${Me}-item-group-title`]:{padding:`${wn}px ${An}px`,fontSize:ua,lineHeight:Gn,transition:`all ${wt}`},[`&-horizontal ${Me}-submenu`]:{transition:[`border-color ${wt} ${Ut}`,`background ${wt} ${Ut}`].join(",")},[`${Me}-submenu, ${Me}-submenu-inline`]:{transition:[`border-color ${wt} ${Ut}`,`background ${wt} ${Ut}`,`padding ${Ot} ${Ut}`].join(",")},[`${Me}-submenu ${Me}-sub`]:{cursor:"initial",transition:[`background ${wt} ${Ut}`,`padding ${wt} ${Ut}`].join(",")},[`${Me}-title-content`]:{transition:`color ${wt}`},[`${Me}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${Me}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:tn,borderStyle:gn,borderWidth:0,borderTopWidth:Dn,marginBlock:Dn,padding:0,"&-dashed":{borderStyle:"dashed"}}}),Et(Ct)),{[`${Me}-item-group`]:{[`${Me}-item-group-list`]:{margin:0,padding:0,[`${Me}-item, ${Me}-submenu-title`]:{paddingInline:`${et*2}px ${An}px`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:_e,borderRadius:ot,boxShadow:"none",transformOrigin:"0 0",[`&${Me}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:`${qn}px 0 0`,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'}},"&-placement-rightTop::before":{top:0,insetInlineStart:qn},"\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:Ct.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:Ct.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:Ct.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:Ct.paddingXS},[`> ${Me}`]:Object.assign(Object.assign(Object.assign({borderRadius:ot},Et(Ct)),un(Ct)),{[`${Me}-item, ${Me}-submenu > ${Me}-submenu-title`]:{borderRadius:rn},[`${Me}-submenu-title::after`]:{transition:`transform ${wt} ${Ut}`}})}}),un(Ct)),{[`&-inline-collapsed ${Me}-submenu-arrow,
&-inline ${Me}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${lt})`},"&::after":{transform:`rotate(45deg) translateX(-${lt})`}},[`${Me}-submenu-open${Me}-submenu-inline > ${Me}-submenu-title > ${Me}-submenu-arrow`]:{transform:`translateY(-${hn*.2}px)`,"&::after":{transform:`rotate(-45deg) translateX(-${lt})`},"&::before":{transform:`rotate(45deg) translateX(${lt})`}}})},{[`${Ze}-layout-header`]:{[Me]:{lineHeight:"inherit"}}}]};var $t=(Ct,Ze)=>(0,Le.Z)("Menu",et=>{if(Ze===!1)return[];const{colorBgElevated:wt,colorPrimary:Ot,colorTextLightSolid:Ut,controlHeightLG:wn,fontSize:An,darkItemColor:tn,darkDangerItemColor:Dn,darkItemBg:_e,darkSubMenuItemBg:ot,darkItemSelectedColor:rn,darkItemSelectedBg:hn,darkDangerItemSelectedBg:lt,darkItemHoverBg:gn,darkGroupTitleColor:qn,darkItemHoverColor:Gn,darkItemDisabledColor:ua,darkDangerItemHoverColor:cn,darkDangerItemSelectedColor:Jt,darkDangerItemActiveBg:On}=et,ra=An/7*5,sa=(0,Re.TS)(et,{menuArrowSize:ra,menuHorizontalHeight:wn*1.15,menuArrowOffset:`${ra*.25}px`,menuPanelMaskInset:-7,menuSubMenuBg:wt}),ga=(0,Re.TS)(sa,{itemColor:tn,itemHoverColor:Gn,groupTitleColor:qn,itemSelectedColor:rn,itemBg:_e,popupBg:_e,subMenuItemBg:ot,itemActiveBg:"transparent",itemSelectedBg:hn,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:gn,itemDisabledColor:ua,dangerItemColor:Dn,dangerItemHoverColor:cn,dangerItemSelectedColor:Jt,dangerItemActiveBg:On,dangerItemSelectedBg:lt,menuSubMenuBg:ot,horizontalItemSelectedColor:Ut,horizontalItemSelectedBg:Ot});return[Bt(sa),Ye(sa),xt(sa),_t(sa,"light"),_t(ga,"dark"),qe(sa),(0,ge.Z)(sa),(0,$e.oN)(sa,"slide-up"),(0,$e.oN)(sa,"slide-down"),(0,Be._y)(sa,"zoom-big")]},et=>{const{colorPrimary:wt,colorError:Ot,colorTextDisabled:Ut,colorErrorBg:wn,colorText:An,colorTextDescription:tn,colorBgContainer:Dn,colorFillAlter:_e,colorFillContent:ot,lineWidth:rn,lineWidthBold:hn,controlItemBgActive:lt,colorBgTextHover:gn,controlHeightLG:qn,lineHeight:Gn,colorBgElevated:ua,marginXXS:cn,padding:Jt,fontSize:On,controlHeightSM:ra,fontSizeLG:sa,colorTextLightSolid:ga,colorErrorHover:er}=et,Ht=new Ee.C(ga).setAlpha(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:et.zIndexPopupBase+50,radiusItem:et.borderRadiusLG,itemBorderRadius:et.borderRadiusLG,radiusSubMenuItem:et.borderRadiusSM,subMenuItemBorderRadius:et.borderRadiusSM,colorItemText:An,itemColor:An,colorItemTextHover:An,itemHoverColor:An,colorItemTextHoverHorizontal:wt,horizontalItemHoverColor:wt,colorGroupTitle:tn,groupTitleColor:tn,colorItemTextSelected:wt,itemSelectedColor:wt,colorItemTextSelectedHorizontal:wt,horizontalItemSelectedColor:wt,colorItemBg:Dn,itemBg:Dn,colorItemBgHover:gn,itemHoverBg:gn,colorItemBgActive:ot,itemActiveBg:lt,colorSubItemBg:_e,subMenuItemBg:_e,colorItemBgSelected:lt,itemSelectedBg:lt,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:0,colorActiveBarHeight:hn,activeBarHeight:hn,colorActiveBarBorderSize:rn,activeBarBorderWidth:rn,colorItemTextDisabled:Ut,itemDisabledColor:Ut,colorDangerItemText:Ot,dangerItemColor:Ot,colorDangerItemTextHover:Ot,dangerItemHoverColor:Ot,colorDangerItemTextSelected:Ot,dangerItemSelectedColor:Ot,colorDangerItemBgActive:wn,dangerItemActiveBg:wn,colorDangerItemBgSelected:wn,dangerItemSelectedBg:wn,itemMarginInline:et.marginXXS,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:qn,groupTitleLineHeight:Gn,collapsedWidth:qn*2,popupBg:ua,itemMarginBlock:cn,itemPaddingInline:Jt,horizontalLineHeight:`${qn*1.15}px`,iconSize:On,iconMarginInlineEnd:ra-On,collapsedIconSize:sa,groupTitleFontSize:On,darkItemDisabledColor:new Ee.C(ga).setAlpha(.25).toRgbString(),darkItemColor:Ht,darkDangerItemColor:Ot,darkItemBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:ga,darkItemSelectedBg:wt,darkDangerItemSelectedBg:Ot,darkItemHoverBg:"transparent",darkGroupTitleColor:Ht,darkItemHoverColor:ga,darkDangerItemHoverColor:er,darkDangerItemSelectedColor:ga,darkDangerItemActiveBg:Ot}},{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"]]})(Ct),Ne=function(Ct,Ze){var Me={};for(var et in Ct)Object.prototype.hasOwnProperty.call(Ct,et)&&Ze.indexOf(et)<0&&(Me[et]=Ct[et]);if(Ct!=null&&typeof Object.getOwnPropertySymbols=="function")for(var wt=0,et=Object.getOwnPropertySymbols(Ct);wt<et.length;wt++)Ze.indexOf(et[wt])<0&&Object.prototype.propertyIsEnumerable.call(Ct,et[wt])&&(Me[et[wt]]=Ct[et[wt]]);return Me},an=(0,re.forwardRef)((Ct,Ze)=>{var Me,et;const wt=re.useContext(le.Z),Ot=wt||{},{getPrefixCls:Ut,getPopupContainer:wn,direction:An,menu:tn}=re.useContext(Te.E_),Dn=Ut(),{prefixCls:_e,className:ot,style:rn,theme:hn="light",expandIcon:lt,_internalDisableMenuItemTitleTooltip:gn,inlineCollapsed:qn,siderCollapsed:Gn,items:ua,children:cn,rootClassName:Jt,mode:On,selectable:ra,onClick:sa,overflowedIndicatorPopupClassName:ga}=Ct,er=Ne(Ct,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","items","children","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),Ht=(0,Oe.Z)(er,["collapsedWidth"]),Xt=be(ua)||cn;(Me=Ot.validator)===null||Me===void 0||Me.call(Ot,{mode:On});const nn=(0,ne.useEvent)(function(){var Mn;sa==null||sa.apply(void 0,arguments),(Mn=Ot.onClick)===null||Mn===void 0||Mn.call(Ot)}),Vn=Ot.mode||On,Ka=ra!=null?ra:Ot.selectable,vr=re.useMemo(()=>Gn!==void 0?Gn:qn,[qn,Gn]),Or={horizontal:{motionName:`${Dn}-slide-up`},inline:(0,ae.Z)(Dn),other:{motionName:`${Dn}-zoom-big`}},Va=Ut("menu",_e||Ot.prefixCls),[Fn,Sa]=$t(Va,!wt),en=we()(`${Va}-${hn}`,tn==null?void 0:tn.className,ot);let Cn;if(typeof lt=="function")Cn=lt;else if(lt===null||lt===!1)Cn=null;else if(Ot.expandIcon===null||Ot.expandIcon===!1)Cn=null;else{const Mn=lt!=null?lt:Ot.expandIcon;Cn=(0,ve.Tm)(Mn,{className:we()(`${Va}-submenu-expand-icon`,(0,ve.l$)(Mn)?(et=Mn.props)===null||et===void 0?void 0:et.className:"")})}const Ln=re.useMemo(()=>({prefixCls:Va,inlineCollapsed:vr||!1,direction:An,firstLevel:!0,theme:hn,mode:Vn,disableMenuItemTitleTooltip:gn}),[Va,vr,An,gn,hn]);return Fn(re.createElement(le.Z.Provider,{value:null},re.createElement(E.Provider,{value:Ln},re.createElement(x.ZP,Object.assign({getPopupContainer:wn,overflowedIndicator:re.createElement(ee.Z,null),overflowedIndicatorPopupClassName:we()(Va,`${Va}-${hn}`,ga),mode:Vn,selectable:Ka,onClick:nn},Ht,{inlineCollapsed:vr,style:Object.assign(Object.assign({},tn==null?void 0:tn.style),rn),className:en,prefixCls:Va,direction:An,defaultMotions:Or,expandIcon:Cn,ref:Ze,rootClassName:we()(Jt,Sa)}),Xt))))});const Ft=(0,re.forwardRef)((Ct,Ze)=>{const Me=(0,re.useRef)(null),et=re.useContext(Ce.D);return(0,re.useImperativeHandle)(Ze,()=>({menu:Me.current,focus:wt=>{var Ot;(Ot=Me.current)===null||Ot===void 0||Ot.focus(wt)}})),re.createElement(an,Object.assign({ref:Me},Ct,et))});Ft.Item=b,Ft.SubMenu=z,Ft.Divider=he,Ft.ItemGroup=x.BW;var ct=Ft},28452:function(vt,dt,te){"use strict";te.d(dt,{Z:function(){return Dn}});var x=te(87462),re=te(67294),Ce={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"},ze=Ce,we=te(74643),Te=function(ot,rn){return re.createElement(we.Z,(0,x.Z)({},ot,{ref:rn,icon:ze}))},oe=re.forwardRef(Te),Fe=te(81893),he=te(22751),ye=te(91034),Oe=te(94184),Ie=te.n(Oe),ve=te(4942),ie=te(1413),E=te(15671),a=te(43144),b=te(60136),y=te(51630),z=`accept acceptCharset accessKey action allowFullScreen allowTransparency
alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge
charSet checked classID className colSpan cols content contentEditable contextMenu
controls coords crossOrigin data dateTime default defer dir disabled download draggable
encType form formAction formEncType formMethod formNoValidate formTarget frameBorder
headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity
is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media
mediaGroup method min minLength multiple muted name noValidate nonce open
optimum pattern placeholder poster preload radioGroup readOnly rel required
reversed role rowSpan rows sandbox scope scoped scrolling seamless selected
shape size sizes span spellCheck src srcDoc srcLang srcSet start step style
summary tabIndex target title type useMap value width wmode wrap`,ee=`onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown
onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick
onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown
onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel
onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough
onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata
onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError`,ne="".concat(z," ").concat(ee).split(/[\s\n]+/),ae="aria-",le="data-";function de(_e,ot){return _e.indexOf(ot)===0}function fe(_e){var ot=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,rn;ot===!1?rn={aria:!0,data:!0,attr:!0}:ot===!0?rn={aria:!0}:rn=(0,ie.Z)({},ot);var hn={};return Object.keys(_e).forEach(function(lt){(rn.aria&&(lt==="role"||de(lt,ae))||rn.data&&de(lt,le)||rn.attr&&ne.includes(lt))&&(hn[lt]=_e[lt])}),hn}var be={ZERO:48,NINE:57,NUMPAD_ZERO:96,NUMPAD_NINE:105,BACKSPACE:8,DELETE:46,ENTER:13,ARROW_UP:38,ARROW_DOWN:40},Ee=be,pe=te(81626),ge=function(_e){(0,b.Z)(rn,_e);var ot=(0,y.Z)(rn);function rn(){var hn;(0,E.Z)(this,rn);for(var lt=arguments.length,gn=new Array(lt),qn=0;qn<lt;qn++)gn[qn]=arguments[qn];return hn=ot.call.apply(ot,[this].concat(gn)),hn.state={goInputText:""},hn.getValidValue=function(){var Gn=hn.state.goInputText;return!Gn||Number.isNaN(Gn)?void 0:Number(Gn)},hn.buildOptionText=function(Gn){return"".concat(Gn," ").concat(hn.props.locale.items_per_page)},hn.changeSize=function(Gn){hn.props.changeSize(Number(Gn))},hn.handleChange=function(Gn){hn.setState({goInputText:Gn.target.value})},hn.handleBlur=function(Gn){var ua=hn.props,cn=ua.goButton,Jt=ua.quickGo,On=ua.rootPrefixCls,ra=hn.state.goInputText;cn||ra===""||(hn.setState({goInputText:""}),!(Gn.relatedTarget&&(Gn.relatedTarget.className.indexOf("".concat(On,"-item-link"))>=0||Gn.relatedTarget.className.indexOf("".concat(On,"-item"))>=0))&&Jt(hn.getValidValue()))},hn.go=function(Gn){var ua=hn.state.goInputText;ua!==""&&(Gn.keyCode===Ee.ENTER||Gn.type==="click")&&(hn.setState({goInputText:""}),hn.props.quickGo(hn.getValidValue()))},hn}return(0,a.Z)(rn,[{key:"getPageSizeOptions",value:function(){var lt=this.props,gn=lt.pageSize,qn=lt.pageSizeOptions;return qn.some(function(Gn){return Gn.toString()===gn.toString()})?qn:qn.concat([gn.toString()]).sort(function(Gn,ua){var cn=Number.isNaN(Number(Gn))?0:Number(Gn),Jt=Number.isNaN(Number(ua))?0:Number(ua);return cn-Jt})}},{key:"render",value:function(){var lt=this,gn=this.props,qn=gn.pageSize,Gn=gn.locale,ua=gn.rootPrefixCls,cn=gn.changeSize,Jt=gn.quickGo,On=gn.goButton,ra=gn.selectComponentClass,sa=gn.buildOptionText,ga=gn.selectPrefixCls,er=gn.disabled,Ht=this.state.goInputText,Xt="".concat(ua,"-options"),nn=ra,Vn=null,Ka=null,vr=null;if(!cn&&!Jt)return null;var Or=this.getPageSizeOptions();if(cn&&nn){var Va=Or.map(function(Fn,Sa){return re.createElement(nn.Option,{key:Sa,value:Fn.toString()},(sa||lt.buildOptionText)(Fn))});Vn=re.createElement(nn,{disabled:er,prefixCls:ga,showSearch:!1,className:"".concat(Xt,"-size-changer"),optionLabelProp:"children",popupMatchSelectWidth:!1,value:(qn||Or[0]).toString(),onChange:this.changeSize,getPopupContainer:function(Sa){return Sa.parentNode},"aria-label":Gn.page_size,defaultOpen:!1},Va)}return Jt&&(On&&(vr=typeof On=="boolean"?re.createElement("button",{type:"button",onClick:this.go,onKeyUp:this.go,disabled:er,className:"".concat(Xt,"-quick-jumper-button")},Gn.jump_to_confirm):re.createElement("span",{onClick:this.go,onKeyUp:this.go},On)),Ka=re.createElement("div",{className:"".concat(Xt,"-quick-jumper")},Gn.jump_to,re.createElement("input",{disabled:er,type:"text",value:Ht,onChange:this.handleChange,onKeyUp:this.go,onBlur:this.handleBlur,"aria-label":Gn.page}),Gn.page,vr)),re.createElement("li",{className:"".concat(Xt)},Vn,Ka)}}]),rn}(re.Component);ge.defaultProps={pageSizeOptions:["10","20","50","100"]};var $e=ge,Be=function(ot){var rn,hn=ot.rootPrefixCls,lt=ot.page,gn=ot.active,qn=ot.className,Gn=ot.showTitle,ua=ot.onClick,cn=ot.onKeyPress,Jt=ot.itemRender,On="".concat(hn,"-item"),ra=Ie()(On,"".concat(On,"-").concat(lt),(rn={},(0,ve.Z)(rn,"".concat(On,"-active"),gn),(0,ve.Z)(rn,"".concat(On,"-disabled"),!lt),(0,ve.Z)(rn,ot.className,qn),rn)),sa=function(){ua(lt)},ga=function(Xt){cn(Xt,ua,lt)},er=Jt(lt,"page",re.createElement("a",{rel:"nofollow"},lt));return er?re.createElement("li",{title:Gn?lt.toString():null,className:ra,onClick:sa,onKeyPress:ga,tabIndex:0},er):null},Le=Be;function Re(){}function Ge(_e){var ot=Number(_e);return typeof ot=="number"&&!Number.isNaN(ot)&&isFinite(ot)&&Math.floor(ot)===ot}var Ye=function(ot,rn,hn){return hn};function Pt(_e,ot,rn){var hn=typeof _e=="undefined"?ot.pageSize:_e;return Math.floor((rn.total-1)/hn)+1}var qe=function(_e){(0,b.Z)(rn,_e);var ot=(0,y.Z)(rn);function rn(hn){var lt;(0,E.Z)(this,rn),lt=ot.call(this,hn),lt.paginationNode=re.createRef(),lt.getJumpPrevPage=function(){return Math.max(1,lt.state.current-(lt.props.showLessItems?3:5))},lt.getJumpNextPage=function(){return Math.min(Pt(void 0,lt.state,lt.props),lt.state.current+(lt.props.showLessItems?3:5))},lt.getItemIcon=function(cn,Jt){var On=lt.props.prefixCls,ra=cn||re.createElement("button",{type:"button","aria-label":Jt,className:"".concat(On,"-item-link")});return typeof cn=="function"&&(ra=re.createElement(cn,(0,ie.Z)({},lt.props))),ra},lt.isValid=function(cn){var Jt=lt.props.total;return Ge(cn)&&cn!==lt.state.current&&Ge(Jt)&&Jt>0},lt.shouldDisplayQuickJumper=function(){var cn=lt.props,Jt=cn.showQuickJumper,On=cn.total,ra=lt.state.pageSize;return On<=ra?!1:Jt},lt.handleKeyDown=function(cn){(cn.keyCode===Ee.ARROW_UP||cn.keyCode===Ee.ARROW_DOWN)&&cn.preventDefault()},lt.handleKeyUp=function(cn){var Jt=lt.getValidValue(cn),On=lt.state.currentInputValue;Jt!==On&&lt.setState({currentInputValue:Jt}),cn.keyCode===Ee.ENTER?lt.handleChange(Jt):cn.keyCode===Ee.ARROW_UP?lt.handleChange(Jt-1):cn.keyCode===Ee.ARROW_DOWN&&lt.handleChange(Jt+1)},lt.handleBlur=function(cn){var Jt=lt.getValidValue(cn);lt.handleChange(Jt)},lt.changePageSize=function(cn){var Jt=lt.state.current,On=Pt(cn,lt.state,lt.props);Jt=Jt>On?On:Jt,On===0&&(Jt=lt.state.current),typeof cn=="number"&&("pageSize"in lt.props||lt.setState({pageSize:cn}),"current"in lt.props||lt.setState({current:Jt,currentInputValue:Jt})),lt.props.onShowSizeChange(Jt,cn),"onChange"in lt.props&&lt.props.onChange&&lt.props.onChange(Jt,cn)},lt.handleChange=function(cn){var Jt=lt.props,On=Jt.disabled,ra=Jt.onChange,sa=lt.state,ga=sa.pageSize,er=sa.current,Ht=sa.currentInputValue;if(lt.isValid(cn)&&!On){var Xt=Pt(void 0,lt.state,lt.props),nn=cn;return cn>Xt?nn=Xt:cn<1&&(nn=1),"current"in lt.props||lt.setState({current:nn}),nn!==Ht&&lt.setState({currentInputValue:nn}),ra(nn,ga),nn}return er},lt.prev=function(){lt.hasPrev()&&lt.handleChange(lt.state.current-1)},lt.next=function(){lt.hasNext()&&lt.handleChange(lt.state.current+1)},lt.jumpPrev=function(){lt.handleChange(lt.getJumpPrevPage())},lt.jumpNext=function(){lt.handleChange(lt.getJumpNextPage())},lt.hasPrev=function(){return lt.state.current>1},lt.hasNext=function(){return lt.state.current<Pt(void 0,lt.state,lt.props)},lt.runIfEnter=function(cn,Jt){if(cn.key==="Enter"||cn.charCode===13){for(var On=arguments.length,ra=new Array(On>2?On-2:0),sa=2;sa<On;sa++)ra[sa-2]=arguments[sa];Jt.apply(void 0,ra)}},lt.runIfEnterPrev=function(cn){lt.runIfEnter(cn,lt.prev)},lt.runIfEnterNext=function(cn){lt.runIfEnter(cn,lt.next)},lt.runIfEnterJumpPrev=function(cn){lt.runIfEnter(cn,lt.jumpPrev)},lt.runIfEnterJumpNext=function(cn){lt.runIfEnter(cn,lt.jumpNext)},lt.handleGoTO=function(cn){(cn.keyCode===Ee.ENTER||cn.type==="click")&&lt.handleChange(lt.state.currentInputValue)},lt.renderPrev=function(cn){var Jt=lt.props,On=Jt.prevIcon,ra=Jt.itemRender,sa=ra(cn,"prev",lt.getItemIcon(On,"prev page")),ga=!lt.hasPrev();return(0,re.isValidElement)(sa)?(0,re.cloneElement)(sa,{disabled:ga}):sa},lt.renderNext=function(cn){var Jt=lt.props,On=Jt.nextIcon,ra=Jt.itemRender,sa=ra(cn,"next",lt.getItemIcon(On,"next page")),ga=!lt.hasNext();return(0,re.isValidElement)(sa)?(0,re.cloneElement)(sa,{disabled:ga}):sa};var gn=hn.onChange!==Re,qn="current"in hn;qn&&!gn&&console.warn("Warning: You provided a `current` prop to a Pagination component without an `onChange` handler. This will render a read-only component.");var Gn=hn.defaultCurrent;"current"in hn&&(Gn=hn.current);var ua=hn.defaultPageSize;return"pageSize"in hn&&(ua=hn.pageSize),Gn=Math.min(Gn,Pt(ua,void 0,hn)),lt.state={current:Gn,currentInputValue:Gn,pageSize:ua},lt}return(0,a.Z)(rn,[{key:"componentDidUpdate",value:function(lt,gn){var qn=this.props.prefixCls;if(gn.current!==this.state.current&&this.paginationNode.current){var Gn=this.paginationNode.current.querySelector(".".concat(qn,"-item-").concat(gn.current));if(Gn&&document.activeElement===Gn){var ua;Gn==null||(ua=Gn.blur)===null||ua===void 0||ua.call(Gn)}}}},{key:"getValidValue",value:function(lt){var gn=lt.target.value,qn=Pt(void 0,this.state,this.props),Gn=this.state.currentInputValue,ua;return gn===""?ua=gn:Number.isNaN(Number(gn))?ua=Gn:gn>=qn?ua=qn:ua=Number(gn),ua}},{key:"getShowSizeChanger",value:function(){var lt=this.props,gn=lt.showSizeChanger,qn=lt.total,Gn=lt.totalBoundaryShowSizeChanger;return typeof gn!="undefined"?gn:qn>Gn}},{key:"render",value:function(){var lt=this.props,gn=lt.prefixCls,qn=lt.className,Gn=lt.style,ua=lt.disabled,cn=lt.hideOnSinglePage,Jt=lt.total,On=lt.locale,ra=lt.showQuickJumper,sa=lt.showLessItems,ga=lt.showTitle,er=lt.showTotal,Ht=lt.simple,Xt=lt.itemRender,nn=lt.showPrevNextJumpers,Vn=lt.jumpPrevIcon,Ka=lt.jumpNextIcon,vr=lt.selectComponentClass,Or=lt.selectPrefixCls,Va=lt.pageSizeOptions,Fn=this.state,Sa=Fn.current,en=Fn.pageSize,Cn=Fn.currentInputValue;if(cn===!0&&Jt<=en)return null;var Ln=Pt(void 0,this.state,this.props),Mn=[],ur=null,Ba=null,Nn=null,gt=null,St=null,mt=ra&&ra.goButton,kt=sa?1:2,ln=Sa-1>0?Sa-1:0,zn=Sa+1<Ln?Sa+1:Ln,ya=fe(this.props,{aria:!0,data:!0}),oa=er&&re.createElement("li",{className:"".concat(gn,"-total-text")},er(Jt,[Jt===0?0:(Sa-1)*en+1,Sa*en>Jt?Jt:Sa*en]));if(Ht){mt&&(typeof mt=="boolean"?St=re.createElement("button",{type:"button",onClick:this.handleGoTO,onKeyUp:this.handleGoTO},On.jump_to_confirm):St=re.createElement("span",{onClick:this.handleGoTO,onKeyUp:this.handleGoTO},mt),St=re.createElement("li",{title:ga?"".concat(On.jump_to).concat(Sa,"/").concat(Ln):null,className:"".concat(gn,"-simple-pager")},St));var Da=this.renderPrev(ln);return re.createElement("ul",(0,x.Z)({className:Ie()(gn,"".concat(gn,"-simple"),(0,ve.Z)({},"".concat(gn,"-disabled"),ua),qn),style:Gn,ref:this.paginationNode},ya),oa,Da?re.createElement("li",{title:ga?On.prev_page:null,onClick:this.prev,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterPrev,className:Ie()("".concat(gn,"-prev"),(0,ve.Z)({},"".concat(gn,"-disabled"),!this.hasPrev())),"aria-disabled":!this.hasPrev()},Da):null,re.createElement("li",{title:ga?"".concat(Sa,"/").concat(Ln):null,className:"".concat(gn,"-simple-pager")},re.createElement("input",{type:"text",value:Cn,disabled:ua,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onChange:this.handleKeyUp,onBlur:this.handleBlur,size:3}),re.createElement("span",{className:"".concat(gn,"-slash")},"/"),Ln),re.createElement("li",{title:ga?On.next_page:null,onClick:this.next,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterNext,className:Ie()("".concat(gn,"-next"),(0,ve.Z)({},"".concat(gn,"-disabled"),!this.hasNext())),"aria-disabled":!this.hasNext()},this.renderNext(zn)),St)}if(Ln<=3+kt*2){var Za={locale:On,rootPrefixCls:gn,onClick:this.handleChange,onKeyPress:this.runIfEnter,showTitle:ga,itemRender:Xt};Ln||Mn.push(re.createElement(Le,(0,x.Z)({},Za,{key:"noPager",page:1,className:"".concat(gn,"-item-disabled")})));for(var Yr=1;Yr<=Ln;Yr+=1){var jn=Sa===Yr;Mn.push(re.createElement(Le,(0,x.Z)({},Za,{key:Yr,page:Yr,active:jn})))}}else{var Ir=sa?On.prev_3:On.prev_5,Mo=sa?On.next_3:On.next_5,Jo=Xt(this.getJumpPrevPage(),"jump-prev",this.getItemIcon(Vn,"prev page")),Ja=Xt(this.getJumpNextPage(),"jump-next",this.getItemIcon(Ka,"next page"));nn&&(ur=Jo?re.createElement("li",{title:ga?Ir:null,key:"prev",onClick:this.jumpPrev,tabIndex:0,onKeyPress:this.runIfEnterJumpPrev,className:Ie()("".concat(gn,"-jump-prev"),(0,ve.Z)({},"".concat(gn,"-jump-prev-custom-icon"),!!Vn))},Jo):null,Ba=Ja?re.createElement("li",{title:ga?Mo:null,key:"next",tabIndex:0,onClick:this.jumpNext,onKeyPress:this.runIfEnterJumpNext,className:Ie()("".concat(gn,"-jump-next"),(0,ve.Z)({},"".concat(gn,"-jump-next-custom-icon"),!!Ka))},Ja):null),gt=re.createElement(Le,{locale:On,last:!0,rootPrefixCls:gn,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:Ln,page:Ln,active:!1,showTitle:ga,itemRender:Xt}),Nn=re.createElement(Le,{locale:On,rootPrefixCls:gn,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:1,page:1,active:!1,showTitle:ga,itemRender:Xt});var mo=Math.max(1,Sa-kt),Ai=Math.min(Sa+kt,Ln);Sa-1<=kt&&(Ai=1+kt*2),Ln-Sa<=kt&&(mo=Ln-kt*2);for(var qr=mo;qr<=Ai;qr+=1){var ki=Sa===qr;Mn.push(re.createElement(Le,{locale:On,rootPrefixCls:gn,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:qr,page:qr,active:ki,showTitle:ga,itemRender:Xt}))}Sa-1>=kt*2&&Sa!==3&&(Mn[0]=(0,re.cloneElement)(Mn[0],{className:"".concat(gn,"-item-after-jump-prev")}),Mn.unshift(ur)),Ln-Sa>=kt*2&&Sa!==Ln-2&&(Mn[Mn.length-1]=(0,re.cloneElement)(Mn[Mn.length-1],{className:"".concat(gn,"-item-before-jump-next")}),Mn.push(Ba)),mo!==1&&Mn.unshift(Nn),Ai!==Ln&&Mn.push(gt)}var yi=!this.hasPrev()||!Ln,di=!this.hasNext()||!Ln,Wo=this.renderPrev(ln),Zi=this.renderNext(zn);return re.createElement("ul",(0,x.Z)({className:Ie()(gn,qn,(0,ve.Z)({},"".concat(gn,"-disabled"),ua)),style:Gn,ref:this.paginationNode},ya),oa,Wo?re.createElement("li",{title:ga?On.prev_page:null,onClick:this.prev,tabIndex:yi?null:0,onKeyPress:this.runIfEnterPrev,className:Ie()("".concat(gn,"-prev"),(0,ve.Z)({},"".concat(gn,"-disabled"),yi)),"aria-disabled":yi},Wo):null,Mn,Zi?re.createElement("li",{title:ga?On.next_page:null,onClick:this.next,tabIndex:di?null:0,onKeyPress:this.runIfEnterNext,className:Ie()("".concat(gn,"-next"),(0,ve.Z)({},"".concat(gn,"-disabled"),di)),"aria-disabled":di},Zi):null,re.createElement($e,{disabled:ua,locale:On,rootPrefixCls:gn,selectComponentClass:vr,selectPrefixCls:Or,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:Sa,pageSize:en,pageSizeOptions:Va,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:mt}))}}],[{key:"getDerivedStateFromProps",value:function(lt,gn){var qn={};if("current"in lt&&(qn.current=lt.current,lt.current!==gn.current&&(qn.currentInputValue=qn.current)),"pageSize"in lt&&lt.pageSize!==gn.pageSize){var Gn=gn.current,ua=Pt(lt.pageSize,gn,lt);Gn=Gn>ua?ua:Gn,"current"in lt||(qn.current=Gn,qn.currentInputValue=Gn),qn.pageSize=lt.pageSize}return qn}}]),rn}(re.Component);qe.defaultProps={defaultCurrent:1,total:0,defaultPageSize:10,onChange:Re,className:"",selectPrefixCls:"rc-select",prefixCls:"rc-pagination",selectComponentClass:null,hideOnSinglePage:!1,showPrevNextJumpers:!0,showQuickJumper:!1,showLessItems:!1,showTitle:!0,onShowSizeChange:Re,locale:pe.Z,style:{},itemRender:Ye,totalBoundaryShowSizeChanger:50};var at=qe,pt=te(62906),_t=te(53124),Qt=te(98675),Je=te(25378),xt=te(10110),Et=te(42563);const un=_e=>re.createElement(Et.default,Object.assign({},_e,{showSearch:!0,size:"small"})),Bt=_e=>re.createElement(Et.default,Object.assign({},_e,{showSearch:!0,size:"middle"}));un.Option=Et.default.Option,Bt.Option=Et.default.Option;var $t=te(47673),Ne=te(14747),Tt=te(67968),an=te(45503);const Ft=_e=>{const{componentCls:ot}=_e;return{[`${ot}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${ot}-item-link`]:{color:_e.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${ot}-item-link`]:{color:_e.colorTextDisabled,cursor:"not-allowed"}}},[`&${ot}-disabled`]:{cursor:"not-allowed",[`${ot}-item`]:{cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},a:{color:_e.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:_e.colorBorder,backgroundColor:_e.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:_e.itemActiveBgDisabled},a:{color:_e.itemActiveColorDisabled}}},[`${ot}-item-link`]:{color:_e.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${ot}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${ot}-simple-pager`]:{color:_e.colorTextDisabled},[`${ot}-jump-prev, ${ot}-jump-next`]:{[`${ot}-item-link-icon`]:{opacity:0},[`${ot}-item-ellipsis`]:{opacity:1}}},[`&${ot}-simple`]:{[`${ot}-prev, ${ot}-next`]:{[`&${ot}-disabled ${ot}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},ct=_e=>{const{componentCls:ot}=_e;return{[`&${ot}-mini ${ot}-total-text, &${ot}-mini ${ot}-simple-pager`]:{height:_e.itemSizeSM,lineHeight:`${_e.itemSizeSM}px`},[`&${ot}-mini ${ot}-item`]:{minWidth:_e.itemSizeSM,height:_e.itemSizeSM,margin:0,lineHeight:`${_e.itemSizeSM-2}px`},[`&${ot}-mini:not(${ot}-disabled) ${ot}-item:not(${ot}-item-active)`]:{backgroundColor:"transparent",borderColor:"transparent","&:hover":{backgroundColor:_e.colorBgTextHover},"&:active":{backgroundColor:_e.colorBgTextActive}},[`&${ot}-mini ${ot}-prev, &${ot}-mini ${ot}-next`]:{minWidth:_e.itemSizeSM,height:_e.itemSizeSM,margin:0,lineHeight:`${_e.itemSizeSM}px`},[`&${ot}-mini:not(${ot}-disabled)`]:{[`${ot}-prev, ${ot}-next`]:{[`&:hover ${ot}-item-link`]:{backgroundColor:_e.colorBgTextHover},[`&:active ${ot}-item-link`]:{backgroundColor:_e.colorBgTextActive},[`&${ot}-disabled:hover ${ot}-item-link`]:{backgroundColor:"transparent"}}},[`
&${ot}-mini ${ot}-prev ${ot}-item-link,
&${ot}-mini ${ot}-next ${ot}-item-link
`]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:_e.itemSizeSM,lineHeight:`${_e.itemSizeSM}px`}},[`&${ot}-mini ${ot}-jump-prev, &${ot}-mini ${ot}-jump-next`]:{height:_e.itemSizeSM,marginInlineEnd:0,lineHeight:`${_e.itemSizeSM}px`},[`&${ot}-mini ${ot}-options`]:{marginInlineStart:_e.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:_e.miniOptionsSizeChangerTop},"&-quick-jumper":{height:_e.itemSizeSM,lineHeight:`${_e.itemSizeSM}px`,input:Object.assign(Object.assign({},(0,$t.x0)(_e)),{width:_e.paginationMiniQuickJumperInputWidth,height:_e.controlHeightSM})}}}},Ct=_e=>{const{componentCls:ot}=_e;return{[`
&${ot}-simple ${ot}-prev,
&${ot}-simple ${ot}-next
`]:{height:_e.itemSizeSM,lineHeight:`${_e.itemSizeSM}px`,verticalAlign:"top",[`${ot}-item-link`]:{height:_e.itemSizeSM,backgroundColor:"transparent",border:0,"&:hover":{backgroundColor:_e.colorBgTextHover},"&:active":{backgroundColor:_e.colorBgTextActive},"&::after":{height:_e.itemSizeSM,lineHeight:`${_e.itemSizeSM}px`}}},[`&${ot}-simple ${ot}-simple-pager`]:{display:"inline-block",height:_e.itemSizeSM,marginInlineEnd:_e.marginXS,input:{boxSizing:"border-box",height:"100%",marginInlineEnd:_e.marginXS,padding:`0 ${_e.paginationItemPaddingInline}px`,textAlign:"center",backgroundColor:_e.itemInputBg,border:`${_e.lineWidth}px ${_e.lineType} ${_e.colorBorder}`,borderRadius:_e.borderRadius,outline:"none",transition:`border-color ${_e.motionDurationMid}`,color:"inherit","&:hover":{borderColor:_e.colorPrimary},"&:focus":{borderColor:_e.colorPrimaryHover,boxShadow:`${_e.inputOutlineOffset}px 0 ${_e.controlOutlineWidth}px ${_e.controlOutline}`},"&[disabled]":{color:_e.colorTextDisabled,backgroundColor:_e.colorBgContainerDisabled,borderColor:_e.colorBorder,cursor:"not-allowed"}}}}},Ze=_e=>{const{componentCls:ot}=_e;return{[`${ot}-jump-prev, ${ot}-jump-next`]:{outline:0,[`${ot}-item-container`]:{position:"relative",[`${ot}-item-link-icon`]:{color:_e.colorPrimary,fontSize:_e.fontSizeSM,opacity:0,transition:`all ${_e.motionDurationMid}`,"&-svg":{top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,margin:"auto"}},[`${ot}-item-ellipsis`]:{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,display:"block",margin:"auto",color:_e.colorTextDisabled,fontFamily:"Arial, Helvetica, sans-serif",letterSpacing:_e.paginationEllipsisLetterSpacing,textAlign:"center",textIndent:_e.paginationEllipsisTextIndent,opacity:1,transition:`all ${_e.motionDurationMid}`}},"&:hover":{[`${ot}-item-link-icon`]:{opacity:1},[`${ot}-item-ellipsis`]:{opacity:0}}},[`
${ot}-prev,
${ot}-jump-prev,
${ot}-jump-next
`]:{marginInlineEnd:_e.marginXS},[`
${ot}-prev,
${ot}-next,
${ot}-jump-prev,
${ot}-jump-next
`]:{display:"inline-block",minWidth:_e.itemSize,height:_e.itemSize,color:_e.colorText,fontFamily:_e.fontFamily,lineHeight:`${_e.itemSize}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:_e.borderRadius,cursor:"pointer",transition:`all ${_e.motionDurationMid}`},[`${ot}-prev, ${ot}-next`]:{fontFamily:"Arial, Helvetica, sans-serif",outline:0,button:{color:_e.colorText,cursor:"pointer",userSelect:"none"},[`${ot}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:_e.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${_e.lineWidth}px ${_e.lineType} transparent`,borderRadius:_e.borderRadius,outline:"none",transition:`all ${_e.motionDurationMid}`},[`&:hover ${ot}-item-link`]:{backgroundColor:_e.colorBgTextHover},[`&:active ${ot}-item-link`]:{backgroundColor:_e.colorBgTextActive},[`&${ot}-disabled:hover`]:{[`${ot}-item-link`]:{backgroundColor:"transparent"}}},[`${ot}-slash`]:{marginInlineEnd:_e.paginationSlashMarginInlineEnd,marginInlineStart:_e.paginationSlashMarginInlineStart},[`${ot}-options`]:{display:"inline-block",marginInlineStart:_e.margin,verticalAlign:"middle","&-size-changer.-select":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:_e.controlHeight,marginInlineStart:_e.marginXS,lineHeight:`${_e.controlHeight}px`,verticalAlign:"top",input:Object.assign(Object.assign({},(0,$t.ik)(_e)),{width:_e.controlHeightLG*1.25,height:_e.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:_e.marginXS,marginInlineEnd:_e.marginXS})}}}},Me=_e=>{const{componentCls:ot}=_e;return{[`${ot}-item`]:{display:"inline-block",minWidth:_e.itemSize,height:_e.itemSize,marginInlineEnd:_e.marginXS,fontFamily:_e.fontFamily,lineHeight:`${_e.itemSize-2}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:"transparent",border:`${_e.lineWidth}px ${_e.lineType} transparent`,borderRadius:_e.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${_e.paginationItemPaddingInline}px`,color:_e.colorText,"&:hover":{textDecoration:"none"}},[`&:not(${ot}-item-active)`]:{"&:hover":{transition:`all ${_e.motionDurationMid}`,backgroundColor:_e.colorBgTextHover},"&:active":{backgroundColor:_e.colorBgTextActive}},"&-active":{fontWeight:_e.fontWeightStrong,backgroundColor:_e.itemActiveBg,borderColor:_e.colorPrimary,a:{color:_e.colorPrimary},"&:hover":{borderColor:_e.colorPrimaryHover},"&:hover a":{color:_e.colorPrimaryHover}}}}},et=_e=>{const{componentCls:ot}=_e;return{[ot]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Ne.Wf)(_e)),{"ul, ol":{margin:0,padding:0,listStyle:"none"},"&::after":{display:"block",clear:"both",height:0,overflow:"hidden",visibility:"hidden",content:'""'},[`${ot}-total-text`]:{display:"inline-block",height:_e.itemSize,marginInlineEnd:_e.marginXS,lineHeight:`${_e.itemSize-2}px`,verticalAlign:"middle"}}),Me(_e)),Ze(_e)),Ct(_e)),ct(_e)),Ft(_e)),{[`@media only screen and (max-width: ${_e.screenLG}px)`]:{[`${ot}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${_e.screenSM}px)`]:{[`${ot}-options`]:{display:"none"}}}),[`&${_e.componentCls}-rtl`]:{direction:"rtl"}}},wt=_e=>{const{componentCls:ot}=_e;return{[`${ot}${ot}-disabled:not(${ot}-mini)`]:{"&, &:hover":{[`${ot}-item-link`]:{borderColor:_e.colorBorder}},"&:focus-visible":{[`${ot}-item-link`]:{borderColor:_e.colorBorder}},[`${ot}-item, ${ot}-item-link`]:{backgroundColor:_e.colorBgContainerDisabled,borderColor:_e.colorBorder,[`&:hover:not(${ot}-item-active)`]:{backgroundColor:_e.colorBgContainerDisabled,borderColor:_e.colorBorder,a:{color:_e.colorTextDisabled}},[`&${ot}-item-active`]:{backgroundColor:_e.itemActiveBgDisabled}},[`${ot}-prev, ${ot}-next`]:{"&:hover button":{backgroundColor:_e.colorBgContainerDisabled,borderColor:_e.colorBorder,color:_e.colorTextDisabled},[`${ot}-item-link`]:{backgroundColor:_e.colorBgContainerDisabled,borderColor:_e.colorBorder}}},[`${ot}:not(${ot}-mini)`]:{[`${ot}-prev, ${ot}-next`]:{"&:hover button":{borderColor:_e.colorPrimaryHover,backgroundColor:_e.itemBg},[`${ot}-item-link`]:{backgroundColor:_e.itemLinkBg,borderColor:_e.colorBorder},[`&:hover ${ot}-item-link`]:{borderColor:_e.colorPrimary,backgroundColor:_e.itemBg,color:_e.colorPrimary},[`&${ot}-disabled`]:{[`${ot}-item-link`]:{borderColor:_e.colorBorder,color:_e.colorTextDisabled}}},[`${ot}-item`]:{backgroundColor:_e.itemBg,border:`${_e.lineWidth}px ${_e.lineType} ${_e.colorBorder}`,[`&:hover:not(${ot}-item-active)`]:{borderColor:_e.colorPrimary,backgroundColor:_e.itemBg,a:{color:_e.colorPrimary}},"&-active":{borderColor:_e.colorPrimary}}}}},Ot=_e=>{const{componentCls:ot}=_e;return{[`${ot}:not(${ot}-disabled)`]:{[`${ot}-item`]:Object.assign({},(0,Ne.Qy)(_e)),[`${ot}-jump-prev, ${ot}-jump-next`]:{"&:focus-visible":Object.assign({[`${ot}-item-link-icon`]:{opacity:1},[`${ot}-item-ellipsis`]:{opacity:0}},(0,Ne.oN)(_e))},[`${ot}-prev, ${ot}-next`]:{[`&:focus-visible ${ot}-item-link`]:Object.assign({},(0,Ne.oN)(_e))}}}};var Ut=(0,Tt.Z)("Pagination",_e=>{const ot=(0,an.TS)(_e,{inputOutlineOffset:0,paginationMiniOptionsMarginInlineStart:_e.marginXXS/2,paginationMiniQuickJumperInputWidth:_e.controlHeightLG*1.1,paginationItemPaddingInline:_e.marginXXS*1.5,paginationEllipsisLetterSpacing:_e.marginXXS/2,paginationSlashMarginInlineStart:_e.marginXXS,paginationSlashMarginInlineEnd:_e.marginSM,paginationEllipsisTextIndent:"0.13em"},(0,$t.e5)(_e),(0,$t.TM)(_e));return[et(ot),Ot(ot),_e.wireframe&&wt(ot)]},_e=>({itemBg:_e.colorBgContainer,itemSize:_e.controlHeight,itemSizeSM:_e.controlHeightSM,itemActiveBg:_e.colorBgContainer,itemLinkBg:_e.colorBgContainer,itemActiveColorDisabled:_e.colorTextDisabled,itemActiveBgDisabled:_e.controlItemBgActiveDisabled,itemInputBg:_e.colorBgContainer,miniOptionsSizeChangerTop:0})),wn=function(_e,ot){var rn={};for(var hn in _e)Object.prototype.hasOwnProperty.call(_e,hn)&&ot.indexOf(hn)<0&&(rn[hn]=_e[hn]);if(_e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var lt=0,hn=Object.getOwnPropertySymbols(_e);lt<hn.length;lt++)ot.indexOf(hn[lt])<0&&Object.prototype.propertyIsEnumerable.call(_e,hn[lt])&&(rn[hn[lt]]=_e[hn[lt]]);return rn},tn=_e=>{const{prefixCls:ot,selectPrefixCls:rn,className:hn,rootClassName:lt,style:gn,size:qn,locale:Gn,selectComponentClass:ua,responsive:cn,showSizeChanger:Jt}=_e,On=wn(_e,["prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","selectComponentClass","responsive","showSizeChanger"]),{xs:ra}=(0,Je.Z)(cn),{getPrefixCls:sa,direction:ga,pagination:er={}}=re.useContext(_t.E_),Ht=sa("pagination",ot),[Xt,nn]=Ut(Ht),Vn=Jt!=null?Jt:er.showSizeChanger,Ka=re.useMemo(()=>{const Ln=re.createElement("span",{className:`${Ht}-item-ellipsis`},"\u2022\u2022\u2022"),Mn=re.createElement("button",{className:`${Ht}-item-link`,type:"button",tabIndex:-1},ga==="rtl"?re.createElement(ye.Z,null):re.createElement(he.Z,null)),ur=re.createElement("button",{className:`${Ht}-item-link`,type:"button",tabIndex:-1},ga==="rtl"?re.createElement(he.Z,null):re.createElement(ye.Z,null)),Ba=re.createElement("a",{className:`${Ht}-item-link`},re.createElement("div",{className:`${Ht}-item-container`},ga==="rtl"?re.createElement(Fe.Z,{className:`${Ht}-item-link-icon`}):re.createElement(oe,{className:`${Ht}-item-link-icon`}),Ln)),Nn=re.createElement("a",{className:`${Ht}-item-link`},re.createElement("div",{className:`${Ht}-item-container`},ga==="rtl"?re.createElement(oe,{className:`${Ht}-item-link-icon`}):re.createElement(Fe.Z,{className:`${Ht}-item-link-icon`}),Ln));return{prevIcon:Mn,nextIcon:ur,jumpPrevIcon:Ba,jumpNextIcon:Nn}},[ga,Ht]),[vr]=(0,xt.Z)("Pagination",pt.Z),Or=Object.assign(Object.assign({},vr),Gn),Va=(0,Qt.Z)(qn),Fn=Va==="small"||!!(ra&&!Va&&cn),Sa=sa("select",rn),en=Ie()({[`${Ht}-mini`]:Fn,[`${Ht}-rtl`]:ga==="rtl"},er==null?void 0:er.className,hn,lt,nn),Cn=Object.assign(Object.assign({},er==null?void 0:er.style),gn);return Xt(re.createElement(at,Object.assign({},Ka,On,{style:Cn,prefixCls:Ht,selectPrefixCls:Sa,className:en,selectComponentClass:ua||(Fn?un:Bt),locale:Or,showSizeChanger:Vn})))},Dn=tn},66330:function(vt,dt,te){"use strict";te.d(dt,{t5:function(){return ye}});var x=te(94184),re=te.n(x),Ce=te(92419),ze=te(67294),we=te(53124),Te=te(81643),oe=te(20136),Fe=function(Ie,ve){var ie={};for(var E in Ie)Object.prototype.hasOwnProperty.call(Ie,E)&&ve.indexOf(E)<0&&(ie[E]=Ie[E]);if(Ie!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,E=Object.getOwnPropertySymbols(Ie);a<E.length;a++)ve.indexOf(E[a])<0&&Object.prototype.propertyIsEnumerable.call(Ie,E[a])&&(ie[E[a]]=Ie[E[a]]);return ie};const he=(Ie,ve,ie)=>{if(!(!ve&&!ie))return ze.createElement(ze.Fragment,null,ve&&ze.createElement("div",{className:`${Ie}-title`},(0,Te.Z)(ve)),ze.createElement("div",{className:`${Ie}-inner-content`},(0,Te.Z)(ie)))},ye=Ie=>{const{hashId:ve,prefixCls:ie,className:E,style:a,placement:b="top",title:y,content:z,children:ee}=Ie;return ze.createElement("div",{className:re()(ve,ie,`${ie}-pure`,`${ie}-placement-${b}`,E),style:a},ze.createElement("div",{className:`${ie}-arrow`}),ze.createElement(Ce.G,Object.assign({},Ie,{className:ve,prefixCls:ie}),ee||he(ie,y,z)))},Oe=Ie=>{const{prefixCls:ve}=Ie,ie=Fe(Ie,["prefixCls"]),{getPrefixCls:E}=ze.useContext(we.E_),a=E("popover",ve),[b,y]=(0,oe.Z)(a);return b(ze.createElement(ye,Object.assign({},ie,{prefixCls:a,hashId:y})))};dt.ZP=Oe},55241:function(vt,dt,te){"use strict";var x=te(94184),re=te.n(x),Ce=te(67294),ze=te(81643),we=te(33603),Te=te(53124),oe=te(83062),Fe=te(66330),he=te(20136),ye=function(ve,ie){var E={};for(var a in ve)Object.prototype.hasOwnProperty.call(ve,a)&&ie.indexOf(a)<0&&(E[a]=ve[a]);if(ve!=null&&typeof Object.getOwnPropertySymbols=="function")for(var b=0,a=Object.getOwnPropertySymbols(ve);b<a.length;b++)ie.indexOf(a[b])<0&&Object.prototype.propertyIsEnumerable.call(ve,a[b])&&(E[a[b]]=ve[a[b]]);return E};const Oe=ve=>{let{title:ie,content:E,prefixCls:a}=ve;return Ce.createElement(Ce.Fragment,null,ie&&Ce.createElement("div",{className:`${a}-title`},(0,ze.Z)(ie)),Ce.createElement("div",{className:`${a}-inner-content`},(0,ze.Z)(E)))},Ie=Ce.forwardRef((ve,ie)=>{const{prefixCls:E,title:a,content:b,overlayClassName:y,placement:z="top",trigger:ee="hover",mouseEnterDelay:ne=.1,mouseLeaveDelay:ae=.1,overlayStyle:le={}}=ve,de=ye(ve,["prefixCls","title","content","overlayClassName","placement","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle"]),{getPrefixCls:fe}=Ce.useContext(Te.E_),be=fe("popover",E),[Ee,pe]=(0,he.Z)(be),ge=fe(),$e=re()(y,pe);return Ee(Ce.createElement(oe.Z,Object.assign({placement:z,trigger:ee,mouseEnterDelay:ne,mouseLeaveDelay:ae,overlayStyle:le},de,{prefixCls:be,overlayClassName:$e,ref:ie,overlay:a||b?Ce.createElement(Oe,{prefixCls:be,title:a,content:b}):null,transitionName:(0,we.m)(ge,"zoom-big",de.transitionName),"data-popover-inject":!0})))});Ie._InternalPanelDoNotUseOrYouWillBeFired=Fe.ZP,dt.Z=Ie},20136:function(vt,dt,te){"use strict";var x=te(14747),re=te(50438),Ce=te(97414),ze=te(8796),we=te(67968),Te=te(45503);const oe=ye=>{const{componentCls:Oe,popoverColor:Ie,minWidth:ve,fontWeightStrong:ie,popoverPadding:E,boxShadowSecondary:a,colorTextHeading:b,borderRadiusLG:y,zIndexPopup:z,marginXS:ee,colorBgElevated:ne,popoverBg:ae}=ye;return[{[Oe]:Object.assign(Object.assign({},(0,x.Wf)(ye)),{position:"absolute",top:0,left:{_skip_check_:!0,value:0},zIndex:z,fontWeight:"normal",whiteSpace:"normal",textAlign:"start",cursor:"auto",userSelect:"text",transformOrigin:"var(--arrow-x, 50%) var(--arrow-y, 50%)","--antd-arrow-background-color":ne,"&-rtl":{direction:"rtl"},"&-hidden":{display:"none"},[`${Oe}-content`]:{position:"relative"},[`${Oe}-inner`]:{backgroundColor:ae,backgroundClip:"padding-box",borderRadius:y,boxShadow:a,padding:E},[`${Oe}-title`]:{minWidth:ve,marginBottom:ee,color:b,fontWeight:ie},[`${Oe}-inner-content`]:{color:Ie}})},(0,Ce.ZP)(ye,{colorBg:"var(--antd-arrow-background-color)"}),{[`${Oe}-pure`]:{position:"relative",maxWidth:"none",margin:ye.sizePopupArrow,display:"inline-block",[`${Oe}-content`]:{display:"inline-block"}}}]},Fe=ye=>{const{componentCls:Oe}=ye;return{[Oe]:ze.i.map(Ie=>{const ve=ye[`${Ie}6`];return{[`&${Oe}-${Ie}`]:{"--antd-arrow-background-color":ve,[`${Oe}-inner`]:{backgroundColor:ve},[`${Oe}-arrow`]:{background:"transparent"}}}})}},he=ye=>{const{componentCls:Oe,lineWidth:Ie,lineType:ve,colorSplit:ie,paddingSM:E,controlHeight:a,fontSize:b,lineHeight:y,padding:z}=ye,ee=a-Math.round(b*y),ne=ee/2,ae=ee/2-Ie,le=z;return{[Oe]:{[`${Oe}-inner`]:{padding:0},[`${Oe}-title`]:{margin:0,padding:`${ne}px ${le}px ${ae}px`,borderBottom:`${Ie}px ${ve} ${ie}`},[`${Oe}-inner-content`]:{padding:`${E}px ${le}px`}}}};dt.Z=(0,we.Z)("Popover",ye=>{const{colorBgElevated:Oe,colorText:Ie,wireframe:ve}=ye,ie=(0,Te.TS)(ye,{popoverPadding:12,popoverBg:Oe,popoverColor:Ie});return[oe(ie),Fe(ie),ve&&he(ie),(0,re._y)(ie,"zoom-big")]},ye=>({width:177,minWidth:177,zIndexPopup:ye.zIndexPopupBase+30}),{resetStyle:!1,deprecatedTokens:[["width","minWidth"]]})},12604:function(vt,dt,te){"use strict";te.d(dt,{Z:function(){return qe}});var x=te(87462),re=te(67294),Ce={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"},ze=Ce,we=te(74643),Te=function(pt,_t){return re.createElement(we.Z,(0,x.Z)({},pt,{ref:_t,icon:ze}))},oe=re.forwardRef(Te),Fe=te(94184),he=te.n(Fe),ye=te(4942),Oe=te(97685),Ie=te(45987),ve=te(21770),ie=te(15105),E=te(64217);function a(at,pt){var _t=at.disabled,Qt=at.prefixCls,Je=at.character,xt=at.characterRender,Et=at.index,un=at.count,Bt=at.value,$t=at.allowHalf,Ne=at.focused,Tt=at.onHover,an=at.onClick,Ft=function(Ut){Tt(Ut,Et)},ct=function(Ut){an(Ut,Et)},Ct=function(Ut){Ut.keyCode===ie.Z.ENTER&&an(Ut,Et)},Ze=Et+1,Me=new Set([Qt]);Bt===0&&Et===0&&Ne?Me.add("".concat(Qt,"-focused")):$t&&Bt+.5>=Ze&&Bt<Ze?(Me.add("".concat(Qt,"-half")),Me.add("".concat(Qt,"-active")),Ne&&Me.add("".concat(Qt,"-focused"))):(Ze<=Bt?Me.add("".concat(Qt,"-full")):Me.add("".concat(Qt,"-zero")),Ze===Bt&&Ne&&Me.add("".concat(Qt,"-focused")));var et=typeof Je=="function"?Je(at):Je,wt=re.createElement("li",{className:he()(Array.from(Me)),ref:pt},re.createElement("div",{onClick:_t?null:ct,onKeyDown:_t?null:Ct,onMouseMove:_t?null:Ft,role:"radio","aria-checked":Bt>Et?"true":"false","aria-posinset":Et+1,"aria-setsize":un,tabIndex:_t?-1:0},re.createElement("div",{className:"".concat(Qt,"-first")},et),re.createElement("div",{className:"".concat(Qt,"-second")},et)));return xt&&(wt=xt(wt,at)),wt}var b=re.forwardRef(a);function y(){var at=re.useRef({});function pt(Qt){return at.current[Qt]}function _t(Qt){return function(Je){at.current[Qt]=Je}}return[pt,_t]}function z(at){var pt=at.pageXOffset,_t="scrollLeft";if(typeof pt!="number"){var Qt=at.document;pt=Qt.documentElement[_t],typeof pt!="number"&&(pt=Qt.body[_t])}return pt}function ee(at){var pt,_t,Qt=at.ownerDocument,Je=Qt.body,xt=Qt&&Qt.documentElement,Et=at.getBoundingClientRect();return pt=Et.left,_t=Et.top,pt-=xt.clientLeft||Je.clientLeft||0,_t-=xt.clientTop||Je.clientTop||0,{left:pt,top:_t}}function ne(at){var pt=ee(at),_t=at.ownerDocument,Qt=_t.defaultView||_t.parentWindow;return pt.left+=z(Qt),pt.left}var ae=["prefixCls","className","defaultValue","value","count","allowHalf","allowClear","character","characterRender","disabled","direction","tabIndex","autoFocus","onHoverChange","onChange","onFocus","onBlur","onKeyDown","onMouseLeave"];function le(at,pt){var _t,Qt=at.prefixCls,Je=Qt===void 0?"rc-rate":Qt,xt=at.className,Et=at.defaultValue,un=at.value,Bt=at.count,$t=Bt===void 0?5:Bt,Ne=at.allowHalf,Tt=Ne===void 0?!1:Ne,an=at.allowClear,Ft=an===void 0?!0:an,ct=at.character,Ct=ct===void 0?"\u2605":ct,Ze=at.characterRender,Me=at.disabled,et=at.direction,wt=et===void 0?"ltr":et,Ot=at.tabIndex,Ut=Ot===void 0?0:Ot,wn=at.autoFocus,An=at.onHoverChange,tn=at.onChange,Dn=at.onFocus,_e=at.onBlur,ot=at.onKeyDown,rn=at.onMouseLeave,hn=(0,Ie.Z)(at,ae),lt=y(),gn=(0,Oe.Z)(lt,2),qn=gn[0],Gn=gn[1],ua=re.useRef(null),cn=function(){if(!Me){var ln;(ln=ua.current)===null||ln===void 0||ln.focus()}};re.useImperativeHandle(pt,function(){return{focus:cn,blur:function(){if(!Me){var ln;(ln=ua.current)===null||ln===void 0||ln.blur()}}}});var Jt=(0,ve.Z)(Et||0,{value:un}),On=(0,Oe.Z)(Jt,2),ra=On[0],sa=On[1],ga=(0,ve.Z)(null),er=(0,Oe.Z)(ga,2),Ht=er[0],Xt=er[1],nn=function(ln,zn){var ya=wt==="rtl",oa=ln+1;if(Tt){var Da=qn(ln),Za=ne(Da),Yr=Da.clientWidth;(ya&&zn-Za>Yr/2||!ya&&zn-Za<Yr/2)&&(oa-=.5)}return oa},Vn=function(ln){sa(ln),tn==null||tn(ln)},Ka=re.useState(!1),vr=(0,Oe.Z)(Ka,2),Or=vr[0],Va=vr[1],Fn=function(){Va(!0),Dn==null||Dn()},Sa=function(){Va(!1),_e==null||_e()},en=re.useState(null),Cn=(0,Oe.Z)(en,2),Ln=Cn[0],Mn=Cn[1],ur=function(ln,zn){var ya=nn(zn,ln.pageX);ya!==Ht&&(Mn(ya),Xt(null)),An==null||An(ya)},Ba=function(ln){Me||(Mn(null),Xt(null),An==null||An(void 0)),ln&&(rn==null||rn(ln))},Nn=function(ln,zn){var ya=nn(zn,ln.pageX),oa=!1;Ft&&(oa=ya===ra),Ba(),Vn(oa?0:ya),Xt(oa?ya:null)},gt=function(ln){var zn=ln.keyCode,ya=wt==="rtl",oa=ra;zn===ie.Z.RIGHT&&oa<$t&&!ya?(Tt?oa+=.5:oa+=1,Vn(oa),ln.preventDefault()):zn===ie.Z.LEFT&&oa>0&&!ya||zn===ie.Z.RIGHT&&oa>0&&ya?(Tt?oa-=.5:oa-=1,Vn(oa),ln.preventDefault()):zn===ie.Z.LEFT&&oa<$t&&ya&&(Tt?oa+=.5:oa+=1,Vn(oa),ln.preventDefault()),ot==null||ot(ln)};re.useEffect(function(){wn&&!Me&&cn()},[]);var St=new Array($t).fill(0).map(function(kt,ln){return re.createElement(b,{ref:Gn(ln),index:ln,count:$t,disabled:Me,prefixCls:"".concat(Je,"-star"),allowHalf:Tt,value:Ln===null?ra:Ln,onClick:Nn,onHover:ur,key:kt||ln,character:Ct,characterRender:Ze,focused:Or})}),mt=he()(Je,xt,(_t={},(0,ye.Z)(_t,"".concat(Je,"-disabled"),Me),(0,ye.Z)(_t,"".concat(Je,"-rtl"),wt==="rtl"),_t));return re.createElement("ul",(0,x.Z)({className:mt,onMouseLeave:Ba,tabIndex:Me?-1:Ut,onFocus:Me?null:Fn,onBlur:Me?null:Sa,onKeyDown:Me?null:gt,ref:ua,role:"radiogroup"},(0,E.Z)(hn,{aria:!0,data:!0,attr:!0})),St)}var de=re.forwardRef(le),fe=de,be=te(53124),Ee=te(83062),pe=te(14747),ge=te(67968),$e=te(45503);const Be=at=>{const{componentCls:pt}=at;return{[`${pt}-star`]:{position:"relative",display:"inline-block",color:"inherit",cursor:"pointer","&:not(:last-child)":{marginInlineEnd:at.marginXS},"> div":{transition:`all ${at.motionDurationMid}, outline 0s`,"&:hover":{transform:at.starHoverScale},"&:focus":{outline:0},"&:focus-visible":{outline:`${at.lineWidth}px dashed ${at.starColor}`,transform:at.starHoverScale}},"&-first, &-second":{color:at.starBg,transition:`all ${at.motionDurationMid}`,userSelect:"none",[at.iconCls]:{verticalAlign:"middle"}},"&-first":{position:"absolute",top:0,insetInlineStart:0,width:"50%",height:"100%",overflow:"hidden",opacity:0},[`&-half ${pt}-star-first, &-half ${pt}-star-second`]:{opacity:1},[`&-half ${pt}-star-first, &-full ${pt}-star-second`]:{color:"inherit"}}}},Le=at=>({[`&-rtl${at.componentCls}`]:{direction:"rtl"}}),Re=at=>{const{componentCls:pt}=at;return{[pt]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,pe.Wf)(at)),{display:"inline-block",margin:0,padding:0,color:at.starColor,fontSize:at.starSize,lineHeight:"unset",listStyle:"none",outline:"none",[`&-disabled${pt} ${pt}-star`]:{cursor:"default","> div:hover":{transform:"scale(1)"}}}),Be(at)),{[`+ ${pt}-text`]:{display:"inline-block",marginInlineStart:at.marginXS,fontSize:at.fontSize}}),Le(at))}};var Ge=(0,ge.Z)("Rate",at=>{const pt=(0,$e.TS)(at,{});return[Re(pt)]},at=>({starColor:at.yellow6,starSize:at.controlHeightLG*.5,starHoverScale:"scale(1.1)",starBg:at.colorFillContent})),Ye=function(at,pt){var _t={};for(var Qt in at)Object.prototype.hasOwnProperty.call(at,Qt)&&pt.indexOf(Qt)<0&&(_t[Qt]=at[Qt]);if(at!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Je=0,Qt=Object.getOwnPropertySymbols(at);Je<Qt.length;Je++)pt.indexOf(Qt[Je])<0&&Object.prototype.propertyIsEnumerable.call(at,Qt[Je])&&(_t[Qt[Je]]=at[Qt[Je]]);return _t},qe=re.forwardRef((at,pt)=>{const{prefixCls:_t,className:Qt,rootClassName:Je,style:xt,tooltips:Et,character:un=re.createElement(oe,null)}=at,Bt=Ye(at,["prefixCls","className","rootClassName","style","tooltips","character"]),$t=(Me,et)=>{let{index:wt}=et;return Et?re.createElement(Ee.Z,{title:Et[wt]},Me):Me},{getPrefixCls:Ne,direction:Tt,rate:an}=re.useContext(be.E_),Ft=Ne("rate",_t),[ct,Ct]=Ge(Ft),Ze=Object.assign(Object.assign({},an==null?void 0:an.style),xt);return ct(re.createElement(fe,Object.assign({ref:pt,character:un,characterRender:$t},Bt,{className:he()(Qt,Je,Ct,an==null?void 0:an.className),style:Ze,prefixCls:Ft,direction:Tt})))})},46303:function(vt,dt,te){"use strict";te.d(dt,{Z:function(){return Ct}});var x=te(94184),re=te.n(x),Ce=te(67294),ze=te(53124),we=te(10366),oe=Ze=>{const{prefixCls:Me,className:et,style:wt,size:Ot,shape:Ut}=Ze,wn=re()({[`${Me}-lg`]:Ot==="large",[`${Me}-sm`]:Ot==="small"}),An=re()({[`${Me}-circle`]:Ut==="circle",[`${Me}-square`]:Ut==="square",[`${Me}-round`]:Ut==="round"}),tn=Ce.useMemo(()=>typeof Ot=="number"?{width:Ot,height:Ot,lineHeight:`${Ot}px`}:{},[Ot]);return Ce.createElement("span",{className:re()(Me,wn,An,et),style:Object.assign(Object.assign({},tn),wt)})},Fe=te(45930),he=te(67968),ye=te(45503);const Oe=new Fe.Keyframes("ant-skeleton-loading",{"0%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),Ie=Ze=>({height:Ze,lineHeight:`${Ze}px`}),ve=Ze=>Object.assign({width:Ze},Ie(Ze)),ie=Ze=>({background:Ze.skeletonLoadingBackground,backgroundSize:"400% 100%",animationName:Oe,animationDuration:Ze.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite"}),E=Ze=>Object.assign({width:Ze*5,minWidth:Ze*5},Ie(Ze)),a=Ze=>{const{skeletonAvatarCls:Me,gradientFromColor:et,controlHeight:wt,controlHeightLG:Ot,controlHeightSM:Ut}=Ze;return{[`${Me}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:et},ve(wt)),[`${Me}${Me}-circle`]:{borderRadius:"50%"},[`${Me}${Me}-lg`]:Object.assign({},ve(Ot)),[`${Me}${Me}-sm`]:Object.assign({},ve(Ut))}},b=Ze=>{const{controlHeight:Me,borderRadiusSM:et,skeletonInputCls:wt,controlHeightLG:Ot,controlHeightSM:Ut,gradientFromColor:wn}=Ze;return{[`${wt}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:wn,borderRadius:et},E(Me)),[`${wt}-lg`]:Object.assign({},E(Ot)),[`${wt}-sm`]:Object.assign({},E(Ut))}},y=Ze=>Object.assign({width:Ze},Ie(Ze)),z=Ze=>{const{skeletonImageCls:Me,imageSizeBase:et,gradientFromColor:wt,borderRadiusSM:Ot}=Ze;return{[`${Me}`]:Object.assign(Object.assign({display:"flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",background:wt,borderRadius:Ot},y(et*2)),{[`${Me}-path`]:{fill:"#bfbfbf"},[`${Me}-svg`]:Object.assign(Object.assign({},y(et)),{maxWidth:et*4,maxHeight:et*4}),[`${Me}-svg${Me}-svg-circle`]:{borderRadius:"50%"}}),[`${Me}${Me}-circle`]:{borderRadius:"50%"}}},ee=(Ze,Me,et)=>{const{skeletonButtonCls:wt}=Ze;return{[`${et}${wt}-circle`]:{width:Me,minWidth:Me,borderRadius:"50%"},[`${et}${wt}-round`]:{borderRadius:Me}}},ne=Ze=>Object.assign({width:Ze*2,minWidth:Ze*2},Ie(Ze)),ae=Ze=>{const{borderRadiusSM:Me,skeletonButtonCls:et,controlHeight:wt,controlHeightLG:Ot,controlHeightSM:Ut,gradientFromColor:wn}=Ze;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[`${et}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:wn,borderRadius:Me,width:wt*2,minWidth:wt*2},ne(wt))},ee(Ze,wt,et)),{[`${et}-lg`]:Object.assign({},ne(Ot))}),ee(Ze,Ot,`${et}-lg`)),{[`${et}-sm`]:Object.assign({},ne(Ut))}),ee(Ze,Ut,`${et}-sm`))},le=Ze=>{const{componentCls:Me,skeletonAvatarCls:et,skeletonTitleCls:wt,skeletonParagraphCls:Ot,skeletonButtonCls:Ut,skeletonInputCls:wn,skeletonImageCls:An,controlHeight:tn,controlHeightLG:Dn,controlHeightSM:_e,gradientFromColor:ot,padding:rn,marginSM:hn,borderRadius:lt,titleHeight:gn,blockRadius:qn,paragraphLiHeight:Gn,controlHeightXS:ua,paragraphMarginTop:cn}=Ze;return{[`${Me}`]:{display:"table",width:"100%",[`${Me}-header`]:{display:"table-cell",paddingInlineEnd:rn,verticalAlign:"top",[`${et}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:ot},ve(tn)),[`${et}-circle`]:{borderRadius:"50%"},[`${et}-lg`]:Object.assign({},ve(Dn)),[`${et}-sm`]:Object.assign({},ve(_e))},[`${Me}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[`${wt}`]:{width:"100%",height:gn,background:ot,borderRadius:qn,[`+ ${Ot}`]:{marginBlockStart:_e}},[`${Ot}`]:{padding:0,"> li":{width:"100%",height:Gn,listStyle:"none",background:ot,borderRadius:qn,"+ li":{marginBlockStart:ua}}},[`${Ot}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${Me}-content`]:{[`${wt}, ${Ot} > li`]:{borderRadius:lt}}},[`${Me}-with-avatar ${Me}-content`]:{[`${wt}`]:{marginBlockStart:hn,[`+ ${Ot}`]:{marginBlockStart:cn}}},[`${Me}${Me}-element`]:Object.assign(Object.assign(Object.assign(Object.assign({display:"inline-block",width:"auto"},ae(Ze)),a(Ze)),b(Ze)),z(Ze)),[`${Me}${Me}-block`]:{width:"100%",[`${Ut}`]:{width:"100%"},[`${wn}`]:{width:"100%"}},[`${Me}${Me}-active`]:{[`
${wt},
${Ot} > li,
${et},
${Ut},
${wn},
${An}
`]:Object.assign({},ie(Ze))}}};var de=(0,he.Z)("Skeleton",Ze=>{const{componentCls:Me}=Ze,et=(0,ye.TS)(Ze,{skeletonAvatarCls:`${Me}-avatar`,skeletonTitleCls:`${Me}-title`,skeletonParagraphCls:`${Me}-paragraph`,skeletonButtonCls:`${Me}-button`,skeletonInputCls:`${Me}-input`,skeletonImageCls:`${Me}-image`,imageSizeBase:Ze.controlHeight*1.5,borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${Ze.gradientFromColor} 25%, ${Ze.gradientToColor} 37%, ${Ze.gradientFromColor} 63%)`,skeletonLoadingMotionDuration:"1.4s"});return[le(et)]},Ze=>{const{colorFillContent:Me,colorFill:et}=Ze,wt=Me,Ot=et;return{color:wt,colorGradientEnd:Ot,gradientFromColor:wt,gradientToColor:Ot,titleHeight:Ze.controlHeight/2,blockRadius:Ze.borderRadiusSM,paragraphMarginTop:Ze.marginLG+Ze.marginXXS,paragraphLiHeight:Ze.controlHeight/2}},{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]}),be=Ze=>{const{prefixCls:Me,className:et,rootClassName:wt,active:Ot,shape:Ut="circle",size:wn="default"}=Ze,{getPrefixCls:An}=Ce.useContext(ze.E_),tn=An("skeleton",Me),[Dn,_e]=de(tn),ot=(0,we.Z)(Ze,["prefixCls","className"]),rn=re()(tn,`${tn}-element`,{[`${tn}-active`]:Ot},et,wt,_e);return Dn(Ce.createElement("div",{className:rn},Ce.createElement(oe,Object.assign({prefixCls:`${tn}-avatar`,shape:Ut,size:wn},ot))))},pe=Ze=>{const{prefixCls:Me,className:et,rootClassName:wt,active:Ot,block:Ut=!1,size:wn="default"}=Ze,{getPrefixCls:An}=Ce.useContext(ze.E_),tn=An("skeleton",Me),[Dn,_e]=de(tn),ot=(0,we.Z)(Ze,["prefixCls"]),rn=re()(tn,`${tn}-element`,{[`${tn}-active`]:Ot,[`${tn}-block`]:Ut},et,wt,_e);return Dn(Ce.createElement("div",{className:rn},Ce.createElement(oe,Object.assign({prefixCls:`${tn}-button`,size:wn},ot))))};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 Be=Ze=>{const{prefixCls:Me,className:et,rootClassName:wt,style:Ot,active:Ut}=Ze,{getPrefixCls:wn}=Ce.useContext(ze.E_),An=wn("skeleton",Me),[tn,Dn]=de(An),_e=re()(An,`${An}-element`,{[`${An}-active`]:Ut},et,wt,Dn);return tn(Ce.createElement("div",{className:_e},Ce.createElement("div",{className:re()(`${An}-image`,et),style:Ot},Ce.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${An}-image-svg`},Ce.createElement("path",{d:ge,className:`${An}-image-path`})))))},Re=Ze=>{const{prefixCls:Me,className:et,rootClassName:wt,active:Ot,block:Ut,size:wn="default"}=Ze,{getPrefixCls:An}=Ce.useContext(ze.E_),tn=An("skeleton",Me),[Dn,_e]=de(tn),ot=(0,we.Z)(Ze,["prefixCls"]),rn=re()(tn,`${tn}-element`,{[`${tn}-active`]:Ot,[`${tn}-block`]:Ut},et,wt,_e);return Dn(Ce.createElement("div",{className:rn},Ce.createElement(oe,Object.assign({prefixCls:`${tn}-input`,size:wn},ot))))},Ge=te(87462),Ye={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"},Pt=Ye,qe=te(74643),at=function(Me,et){return Ce.createElement(qe.Z,(0,Ge.Z)({},Me,{ref:et,icon:Pt}))},pt=Ce.forwardRef(at),Qt=Ze=>{const{prefixCls:Me,className:et,rootClassName:wt,style:Ot,active:Ut,children:wn}=Ze,{getPrefixCls:An}=Ce.useContext(ze.E_),tn=An("skeleton",Me),[Dn,_e]=de(tn),ot=re()(tn,`${tn}-element`,{[`${tn}-active`]:Ut},_e,et,wt),rn=wn!=null?wn:Ce.createElement(pt,null);return Dn(Ce.createElement("div",{className:ot},Ce.createElement("div",{className:re()(`${tn}-image`,et),style:Ot},rn)))},Je=te(74902),Et=Ze=>{const Me=An=>{const{width:tn,rows:Dn=2}=Ze;if(Array.isArray(tn))return tn[An];if(Dn-1===An)return tn},{prefixCls:et,className:wt,style:Ot,rows:Ut}=Ze,wn=(0,Je.Z)(Array(Ut)).map((An,tn)=>Ce.createElement("li",{key:tn,style:{width:Me(tn)}}));return Ce.createElement("ul",{className:re()(et,wt),style:Ot},wn)},Bt=Ze=>{let{prefixCls:Me,className:et,width:wt,style:Ot}=Ze;return Ce.createElement("h3",{className:re()(Me,et),style:Object.assign({width:wt},Ot)})};function $t(Ze){return Ze&&typeof Ze=="object"?Ze:{}}function Ne(Ze,Me){return Ze&&!Me?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function Tt(Ze,Me){return!Ze&&Me?{width:"38%"}:Ze&&Me?{width:"50%"}:{}}function an(Ze,Me){const et={};return(!Ze||!Me)&&(et.width="61%"),!Ze&&Me?et.rows=3:et.rows=2,et}const Ft=Ze=>{const{prefixCls:Me,loading:et,className:wt,rootClassName:Ot,style:Ut,children:wn,avatar:An=!1,title:tn=!0,paragraph:Dn=!0,active:_e,round:ot}=Ze,{getPrefixCls:rn,direction:hn,skeleton:lt}=Ce.useContext(ze.E_),gn=rn("skeleton",Me),[qn,Gn]=de(gn);if(et||!("loading"in Ze)){const ua=!!An,cn=!!tn,Jt=!!Dn;let On;if(ua){const ga=Object.assign(Object.assign({prefixCls:`${gn}-avatar`},Ne(cn,Jt)),$t(An));On=Ce.createElement("div",{className:`${gn}-header`},Ce.createElement(oe,Object.assign({},ga)))}let ra;if(cn||Jt){let ga;if(cn){const Ht=Object.assign(Object.assign({prefixCls:`${gn}-title`},Tt(ua,Jt)),$t(tn));ga=Ce.createElement(Bt,Object.assign({},Ht))}let er;if(Jt){const Ht=Object.assign(Object.assign({prefixCls:`${gn}-paragraph`},an(ua,cn)),$t(Dn));er=Ce.createElement(Et,Object.assign({},Ht))}ra=Ce.createElement("div",{className:`${gn}-content`},ga,er)}const sa=re()(gn,{[`${gn}-with-avatar`]:ua,[`${gn}-active`]:_e,[`${gn}-rtl`]:hn==="rtl",[`${gn}-round`]:ot},lt==null?void 0:lt.className,wt,Ot,Gn);return qn(Ce.createElement("div",{className:sa,style:Object.assign(Object.assign({},lt==null?void 0:lt.style),Ut)},On,ra))}return typeof wn!="undefined"?wn:null};Ft.Button=pe,Ft.Avatar=be,Ft.Input=Re,Ft.Image=Be,Ft.Node=Qt;var ct=Ft,Ct=ct},55054:function(vt,dt,te){"use strict";te.d(dt,{default:function(){return de}});var x=te(67294),re=te(57838),Ce=te(96159),ze=te(94184),we=te.n(ze),Te=te(53124),oe=te(46303),he=fe=>{const{value:be,formatter:Ee,precision:pe,decimalSeparator:ge,groupSeparator:$e="",prefixCls:Be}=fe;let Le;if(typeof Ee=="function")Le=Ee(be);else{const Re=String(be),Ge=Re.match(/^(-?)(\d*)(\.(\d+))?$/);if(!Ge||Re==="-")Le=Re;else{const Ye=Ge[1];let Pt=Ge[2]||"0",qe=Ge[4]||"";Pt=Pt.replace(/\B(?=(\d{3})+(?!\d))/g,$e),typeof pe=="number"&&(qe=qe.padEnd(pe,"0").slice(0,pe>0?pe:0)),qe&&(qe=`${ge}${qe}`),Le=[x.createElement("span",{key:"int",className:`${Be}-content-value-int`},Ye,Pt),qe&&x.createElement("span",{key:"decimal",className:`${Be}-content-value-decimal`},qe)]}}return x.createElement("span",{className:`${Be}-content-value`},Le)},ye=te(14747),Oe=te(67968),Ie=te(45503);const ve=fe=>{const{componentCls:be,marginXXS:Ee,padding:pe,colorTextDescription:ge,titleFontSize:$e,colorTextHeading:Be,contentFontSize:Le,fontFamily:Re}=fe;return{[`${be}`]:Object.assign(Object.assign({},(0,ye.Wf)(fe)),{[`${be}-title`]:{marginBottom:Ee,color:ge,fontSize:$e},[`${be}-skeleton`]:{paddingTop:pe},[`${be}-content`]:{color:Be,fontSize:Le,fontFamily:Re,[`${be}-content-value`]:{display:"inline-block",direction:"ltr"},[`${be}-content-prefix, ${be}-content-suffix`]:{display:"inline-block"},[`${be}-content-prefix`]:{marginInlineEnd:Ee},[`${be}-content-suffix`]:{marginInlineStart:Ee}}})}};var ie=(0,Oe.Z)("Statistic",fe=>{const be=(0,Ie.TS)(fe,{});return[ve(be)]},fe=>{const{fontSizeHeading3:be,fontSize:Ee}=fe;return{titleFontSize:Ee,contentFontSize:be}}),a=fe=>{const{prefixCls:be,className:Ee,rootClassName:pe,style:ge,valueStyle:$e,value:Be=0,title:Le,valueRender:Re,prefix:Ge,suffix:Ye,loading:Pt=!1,onMouseEnter:qe,onMouseLeave:at,decimalSeparator:pt=".",groupSeparator:_t=","}=fe,{getPrefixCls:Qt,direction:Je,statistic:xt}=x.useContext(Te.E_),Et=Qt("statistic",be),[un,Bt]=ie(Et),$t=x.createElement(he,Object.assign({decimalSeparator:pt,groupSeparator:_t,prefixCls:Et},fe,{value:Be})),Ne=we()(Et,{[`${Et}-rtl`]:Je==="rtl"},xt==null?void 0:xt.className,Ee,pe,Bt);return un(x.createElement("div",{className:Ne,style:Object.assign(Object.assign({},xt==null?void 0:xt.style),ge),onMouseEnter:qe,onMouseLeave:at},Le&&x.createElement("div",{className:`${Et}-title`},Le),x.createElement(oe.Z,{paragraph:!1,loading:Pt,className:`${Et}-skeleton`},x.createElement("div",{style:$e,className:`${Et}-content`},Ge&&x.createElement("span",{className:`${Et}-content-prefix`},Ge),Re?Re($t):$t,Ye&&x.createElement("span",{className:`${Et}-content-suffix`},Ye)))))};const b=[["Y",1e3*60*60*24*365],["M",1e3*60*60*24*30],["D",1e3*60*60*24],["H",1e3*60*60],["m",1e3*60],["s",1e3],["S",1]];function y(fe,be){let Ee=fe;const pe=/\[[^\]]*]/g,ge=(be.match(pe)||[]).map(Re=>Re.slice(1,-1)),$e=be.replace(pe,"[]"),Be=b.reduce((Re,Ge)=>{let[Ye,Pt]=Ge;if(Re.includes(Ye)){const qe=Math.floor(Ee/Pt);return Ee-=qe*Pt,Re.replace(new RegExp(`${Ye}+`,"g"),at=>{const pt=at.length;return qe.toString().padStart(pt,"0")})}return Re},$e);let Le=0;return Be.replace(pe,()=>{const Re=ge[Le];return Le+=1,Re})}function z(fe,be){const{format:Ee=""}=be,pe=new Date(fe).getTime(),ge=Date.now(),$e=Math.max(pe-ge,0);return y($e,Ee)}const ee=1e3/30;function ne(fe){return new Date(fe).getTime()}const ae=fe=>{const{value:be,format:Ee="HH:mm:ss",onChange:pe,onFinish:ge}=fe,$e=(0,re.Z)(),Be=x.useRef(null),Le=()=>{ge==null||ge(),Be.current&&(clearInterval(Be.current),Be.current=null)},Re=()=>{const Pt=ne(be);Pt>=Date.now()&&(Be.current=setInterval(()=>{$e(),pe==null||pe(Pt-Date.now()),Pt<Date.now()&&Le()},ee))};x.useEffect(()=>(Re(),()=>{Be.current&&(clearInterval(Be.current),Be.current=null)}),[be]);const Ge=(Pt,qe)=>z(Pt,Object.assign(Object.assign({},qe),{format:Ee})),Ye=Pt=>(0,Ce.Tm)(Pt,{title:void 0});return x.createElement(a,Object.assign({},fe,{valueRender:Ye,formatter:Ge}))};var le=x.memo(ae);a.Countdown=le;var de=a},49867:function(vt,dt,te){"use strict";te.d(dt,{N:function(){return x}});const x=re=>({color:re.colorLink,textDecoration:"none",outline:"none",cursor:"pointer",transition:`color ${re.motionDurationSlow}`,"&:focus, &:hover":{color:re.colorLinkHover},"&:active":{color:re.colorLinkActive}})},9430:function(vt,dt,te){"use strict";te.d(dt,{default:function(){return Qi}});var x={},re="rc-table-internal-hook",Ce=te(97685),ze=te(66680),we=te(8410),Te=te(91881),oe=te(67294),Fe=te(73935);function he(ue){var se=oe.createContext(void 0),Pe=function(We){var Ve=We.value,rt=We.children,ht=oe.useRef(Ve);ht.current=Ve;var st=oe.useState(function(){return{getValue:function(){return ht.current},listeners:new Set}}),Nt=(0,Ce.Z)(st,1),Wt=Nt[0];return(0,we.Z)(function(){(0,Fe.unstable_batchedUpdates)(function(){Wt.listeners.forEach(function(Rt){Rt(Ve)})})},[Ve]),oe.createElement(se.Provider,{value:Wt},rt)};return{Context:se,Provider:Pe,defaultValue:ue}}function ye(ue,se){var Pe=(0,ze.Z)(typeof se=="function"?se:function(Rt){if(se===void 0)return Rt;if(!Array.isArray(se))return Rt[se];var En={};return se.forEach(function(yn){En[yn]=Rt[yn]}),En}),De=oe.useContext(ue==null?void 0:ue.Context),We=De||{},Ve=We.listeners,rt=We.getValue,ht=oe.useRef();ht.current=Pe(De?rt():ue==null?void 0:ue.defaultValue);var st=oe.useState({}),Nt=(0,Ce.Z)(st,2),Wt=Nt[1];return(0,we.Z)(function(){if(!De)return;function Rt(En){var yn=Pe(En);(0,Te.Z)(ht.current,yn,!0)||Wt({})}return Ve.add(Rt),function(){Ve.delete(Rt)}},[De]),ht.current}var Oe=te(87462),Ie=te(42550);function ve(){var ue=oe.createContext(null);function se(){return oe.useContext(ue)}function Pe(We,Ve){var rt=(0,Ie.Yr)(We),ht=function(Nt,Wt){var Rt=rt?{ref:Wt}:{},En=oe.useRef(0),yn=oe.useRef(Nt),bn=se();return bn!==null?oe.createElement(We,(0,Oe.Z)({},Nt,Rt)):((!Ve||Ve(yn.current,Nt))&&(En.current+=1),yn.current=Nt,oe.createElement(ue.Provider,{value:En.current},oe.createElement(We,(0,Oe.Z)({},Nt,Rt))))};return rt?oe.forwardRef(ht):ht}function De(We,Ve){var rt=(0,Ie.Yr)(We),ht=function(Nt,Wt){var Rt=rt?{ref:Wt}:{};return se(),oe.createElement(We,(0,Oe.Z)({},Nt,Rt))};return rt?oe.memo(oe.forwardRef(ht),Ve):oe.memo(ht,Ve)}return{makeImmutable:Pe,responseImmutable:De,useImmutableMark:se}}var ie=ve(),E=ie.makeImmutable,a=ie.responseImmutable,b=ie.useImmutableMark,y=ve(),z=y.makeImmutable,ee=y.responseImmutable,ne=y.useImmutableMark,ae=he(),le=ae;function de(ue,se){var Pe=oe.useRef(0);Pe.current+=1;var De=oe.useRef(ue),We=[];Object.keys(ue||{}).map(function(rt){var ht;(ue==null?void 0:ue[rt])!==((ht=De.current)===null||ht===void 0?void 0:ht[rt])&&We.push(rt)}),De.current=ue;var Ve=oe.useRef([]);return We.length&&(Ve.current=We),oe.useDebugValue(Pe.current),oe.useDebugValue(Ve.current.join(", ")),se&&console.log("".concat(se,":"),Pe.current,Ve.current),Pe.current}var fe=null,be=oe.memo(function(){var ue=de();return oe.createElement("h1",null,"Render Times: ",ue)});be.displayName="RenderBlock";var Ee=te(71002),pe=te(1413),ge=te(4942),$e=te(94184),Be=te.n($e);function Le(ue,se,Pe){var De=oe.useRef({});return(!("value"in De.current)||Pe(De.current.condition,se))&&(De.current.value=ue(),De.current.condition=se),De.current.value}var Re={},Ge=[],Ye=function(se){Ge.push(se)};function Pt(ue,se){if(0)var Pe}function qe(ue,se){if(0)var Pe}function at(){Re={}}function pt(ue,se,Pe){!se&&!Re[Pe]&&(ue(!1,Pe),Re[Pe]=!0)}function _t(ue,se){pt(Pt,ue,se)}function Qt(ue,se){pt(qe,ue,se)}_t.preMessage=Ye,_t.resetWarned=at,_t.noteOnce=Qt;var Je=_t;function xt(ue,se){var Pe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,De=new Set;function We(Ve,rt){var ht=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,st=De.has(Ve);if(Je(!st,"Warning: There may be circular references"),st)return!1;if(Ve===rt)return!0;if(Pe&&ht>1)return!1;De.add(Ve);var Nt=ht+1;if(Array.isArray(Ve)){if(!Array.isArray(rt)||Ve.length!==rt.length)return!1;for(var Wt=0;Wt<Ve.length;Wt++)if(!We(Ve[Wt],rt[Wt],Nt))return!1;return!0}if(Ve&&rt&&(0,Ee.Z)(Ve)==="object"&&(0,Ee.Z)(rt)==="object"){var Rt=Object.keys(Ve);return Rt.length!==Object.keys(rt).length?!1:Rt.every(function(En){return We(Ve[En],rt[En],Nt)})}return!1}return We(ue,se)}var Et=xt;function un(ue,se){for(var Pe=ue,De=0;De<se.length;De+=1){if(Pe==null)return;Pe=Pe[se[De]]}return Pe}var Bt=oe.createContext({renderWithProps:!1}),$t=Bt,Ne="RC_TABLE_KEY";function Tt(ue){return ue==null?[]:Array.isArray(ue)?ue:[ue]}function an(ue){var se=[],Pe={};return ue.forEach(function(De){for(var We=De||{},Ve=We.key,rt=We.dataIndex,ht=Ve||Tt(rt).join("-")||Ne;Pe[ht];)ht="".concat(ht,"_next");Pe[ht]=!0,se.push(ht)}),se}function Ft(ue){return ue!=null}function ct(ue){return ue&&(0,Ee.Z)(ue)==="object"&&!Array.isArray(ue)&&!oe.isValidElement(ue)}function Ct(ue,se,Pe,De,We,Ve){var rt=oe.useContext($t),ht=ne(),st=Le(function(){if(Ft(De))return[De];var Nt=se==null||se===""?[]:Array.isArray(se)?se:[se],Wt=un(ue,Nt),Rt=Wt,En=void 0;if(We){var yn=We(Wt,ue,Pe);ct(yn)?(Rt=yn.children,En=yn.props,rt.renderWithProps=!0):Rt=yn}return[Rt,En]},[ht,ue,De,se,We,Pe],function(Nt,Wt){if(Ve){var Rt=(0,Ce.Z)(Nt,2),En=Rt[1],yn=(0,Ce.Z)(Wt,2),bn=yn[1];return Ve(bn,En)}return rt.renderWithProps?!0:!Et(Nt,Wt,!0)});return st}function Ze(ue,se,Pe,De){var We=ue+se-1;return ue<=De&&We>=Pe}function Me(ue,se){return ye(le,function(Pe){var De=Ze(ue,se||1,Pe.hoverStartRow,Pe.hoverEndRow);return[De,Pe.onHover]})}var et=function(se){var Pe=se.ellipsis,De=se.rowType,We=se.children,Ve,rt=Pe===!0?{showTitle:!0}:Pe;return rt&&(rt.showTitle||De==="header")&&(typeof We=="string"||typeof We=="number"?Ve=We.toString():oe.isValidElement(We)&&typeof We.props.children=="string"&&(Ve=We.props.children)),Ve};function wt(ue){var se,Pe,De,We,Ve,rt,ht,st,Nt=ue.component,Wt=ue.children,Rt=ue.ellipsis,En=ue.scope,yn=ue.prefixCls,bn=ue.className,ca=ue.align,Yn=ue.record,va=ue.render,ia=ue.dataIndex,Ca=ue.renderIndex,nr=ue.shouldCellUpdate,mr=ue.index,Ua=ue.rowType,Tr=ue.colSpan,_r=ue.rowSpan,ka=ue.fixLeft,na=ue.fixRight,kn=ue.firstFixLeft,la=ue.lastFixLeft,Fa=ue.firstFixRight,Aa=ue.lastFixRight,Er=ue.appendNode,yr=ue.additionalProps,ar=yr===void 0?{}:yr,kr=ue.isSticky,Ur="".concat(yn,"-cell"),ro=ye(le,["supportSticky","allColumnsFixedLeft"]),io=ro.supportSticky,Vo=ro.allColumnsFixedLeft,Qo=Ct(Yn,ia,Ca,Wt,va,nr),Vr=(0,Ce.Z)(Qo,2),ii=Vr[0],Ea=Vr[1],xr={},Xr=typeof ka=="number"&&io,ko=typeof na=="number"&&io;Xr&&(xr.position="sticky",xr.left=ka),ko&&(xr.position="sticky",xr.right=na);var Ga=(se=(Pe=(De=Ea==null?void 0:Ea.colSpan)!==null&&De!==void 0?De:ar.colSpan)!==null&&Pe!==void 0?Pe:Tr)!==null&&se!==void 0?se:1,wr=(We=(Ve=(rt=Ea==null?void 0:Ea.rowSpan)!==null&&rt!==void 0?rt:ar.rowSpan)!==null&&Ve!==void 0?Ve:_r)!==null&&We!==void 0?We:1,Fr=Me(mr,wr),fr=(0,Ce.Z)(Fr,2),co=fr[0],Cr=fr[1],Jr=function(Bi){var vl;Yn&&Cr(mr,mr+wr-1),ar==null||(vl=ar.onMouseEnter)===null||vl===void 0||vl.call(ar,Bi)},xo=function(Bi){var vl;Yn&&Cr(-1,-1),ar==null||(vl=ar.onMouseLeave)===null||vl===void 0||vl.call(ar,Bi)};if(Ga===0||wr===0)return null;var po=(ht=ar.title)!==null&&ht!==void 0?ht:et({rowType:Ua,ellipsis:Rt,children:ii}),el=Be()(Ur,bn,(st={},(0,ge.Z)(st,"".concat(Ur,"-fix-left"),Xr&&io),(0,ge.Z)(st,"".concat(Ur,"-fix-left-first"),kn&&io),(0,ge.Z)(st,"".concat(Ur,"-fix-left-last"),la&&io),(0,ge.Z)(st,"".concat(Ur,"-fix-left-all"),la&&Vo&&io),(0,ge.Z)(st,"".concat(Ur,"-fix-right"),ko&&io),(0,ge.Z)(st,"".concat(Ur,"-fix-right-first"),Fa&&io),(0,ge.Z)(st,"".concat(Ur,"-fix-right-last"),Aa&&io),(0,ge.Z)(st,"".concat(Ur,"-ellipsis"),Rt),(0,ge.Z)(st,"".concat(Ur,"-with-append"),Er),(0,ge.Z)(st,"".concat(Ur,"-fix-sticky"),(Xr||ko)&&kr&&io),(0,ge.Z)(st,"".concat(Ur,"-row-hover"),!Ea&&co),st),ar.className,Ea==null?void 0:Ea.className),_i={};ca&&(_i.textAlign=ca);var Kl=(0,pe.Z)((0,pe.Z)((0,pe.Z)((0,pe.Z)({},xr),ar.style),_i),Ea==null?void 0:Ea.style),Fi=ii;return(0,Ee.Z)(Fi)==="object"&&!Array.isArray(Fi)&&!oe.isValidElement(Fi)&&(Fi=null),Rt&&(la||Fa)&&(Fi=oe.createElement("span",{className:"".concat(Ur,"-content")},Fi)),oe.createElement(Nt,(0,Oe.Z)({},Ea,ar,{className:el,style:Kl,title:po,scope:En,onMouseEnter:Jr,onMouseLeave:xo,colSpan:Ga!==1?Ga:null,rowSpan:wr!==1?wr:null}),Er,Fi)}var Ot=oe.memo(wt);function Ut(ue,se,Pe,De,We,Ve){var rt=Pe[ue]||{},ht=Pe[se]||{},st,Nt;rt.fixed==="left"?st=De.left[We==="rtl"?se:ue]:ht.fixed==="right"&&(Nt=De.right[We==="rtl"?ue:se]);var Wt=!1,Rt=!1,En=!1,yn=!1,bn=Pe[se+1],ca=Pe[ue-1],Yn=!(Ve!=null&&Ve.children);if(We==="rtl"){if(st!==void 0){var va=ca&&ca.fixed==="left";yn=!va&&Yn}else if(Nt!==void 0){var ia=bn&&bn.fixed==="right";En=!ia&&Yn}}else if(st!==void 0){var Ca=bn&&bn.fixed==="left";Wt=!Ca&&Yn}else if(Nt!==void 0){var nr=ca&&ca.fixed==="right";Rt=!nr&&Yn}return{fixLeft:st,fixRight:Nt,lastFixLeft:Wt,firstFixRight:Rt,lastFixRight:En,firstFixLeft:yn,isSticky:De.isSticky}}var wn=oe.createContext({}),An=wn;function tn(ue){var se=ue.className,Pe=ue.index,De=ue.children,We=ue.colSpan,Ve=We===void 0?1:We,rt=ue.rowSpan,ht=ue.align,st=ye(le,["prefixCls","direction"]),Nt=st.prefixCls,Wt=st.direction,Rt=oe.useContext(An),En=Rt.scrollColumnIndex,yn=Rt.stickyOffsets,bn=Rt.flattenColumns,ca=Rt.columns,Yn=Pe+Ve-1,va=Yn+1===En?Ve+1:Ve,ia=Ut(Pe,Pe+va-1,bn,yn,Wt,ca==null?void 0:ca[Pe]);return oe.createElement(Ot,(0,Oe.Z)({className:se,index:Pe,component:"td",prefixCls:Nt,record:null,dataIndex:null,align:ht,colSpan:va,rowSpan:rt,render:function(){return De}},ia))}var Dn=te(45987),_e=["children"];function ot(ue){var se=ue.children,Pe=(0,Dn.Z)(ue,_e);return oe.createElement("tr",Pe,se)}function rn(ue){var se=ue.children;return se}rn.Row=ot,rn.Cell=tn;var hn=rn;function lt(ue){var se=ue.children,Pe=ue.stickyOffsets,De=ue.flattenColumns,We=ue.columns,Ve=ye(le,"prefixCls"),rt=De.length-1,ht=De[rt],st=oe.useMemo(function(){return{stickyOffsets:Pe,flattenColumns:De,scrollColumnIndex:ht!=null&&ht.scrollbar?rt:null,columns:We}},[ht,De,rt,Pe,We]);return oe.createElement(An.Provider,{value:st},oe.createElement("tfoot",{className:"".concat(Ve,"-summary")},se))}var gn=ee(lt),qn=hn;function Gn(ue){var se=oe.useRef();se.current=ue;var Pe=oe.useCallback(function(){for(var De,We=arguments.length,Ve=new Array(We),rt=0;rt<We;rt++)Ve[rt]=arguments[rt];return(De=se.current)===null||De===void 0?void 0:De.call.apply(De,[se].concat(Ve))},[]);return Pe}function ua(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var cn=ua()?oe.useLayoutEffect:oe.useEffect,Jt=function(se,Pe){var De=React.useRef(!0);cn(function(){return se(De.current)},Pe),cn(function(){return De.current=!1,function(){De.current=!0}},[])},On=function(se,Pe){Jt(function(De){if(!De)return se()},Pe)},ra=null;function sa(ue){var se=React.useRef(!1),Pe=React.useState(ue),De=_slicedToArray(Pe,2),We=De[0],Ve=De[1];React.useEffect(function(){return se.current=!1,function(){se.current=!0}},[]);function rt(ht,st){st&&se.current||Ve(ht)}return[We,rt]}function ga(ue){return ue!==void 0}function er(ue,se){var Pe=se||{},De=Pe.defaultValue,We=Pe.value,Ve=Pe.onChange,rt=Pe.postState,ht=useState(function(){return ga(We)?We:ga(De)?typeof De=="function"?De():De:typeof ue=="function"?ue():ue}),st=_slicedToArray(ht,2),Nt=st[0],Wt=st[1],Rt=We!==void 0?We:Nt,En=rt?rt(Rt):Rt,yn=useEvent(Ve),bn=useState([Rt]),ca=_slicedToArray(bn,2),Yn=ca[0],va=ca[1];useLayoutUpdateEffect(function(){var Ca=Yn[0];Nt!==Ca&&yn(Nt,Ca)},[Yn]),useLayoutUpdateEffect(function(){ga(We)||Wt(We)},[We]);var ia=useEvent(function(Ca,nr){Wt(Ca,nr),va([Rt],nr)});return[En,ia]}var Ht=te(35110);function Xt(ue,se){typeof ue=="function"?ue(se):(0,Ee.Z)(ue)==="object"&&ue&&"current"in ue&&(ue.current=se)}function nn(){for(var ue=arguments.length,se=new Array(ue),Pe=0;Pe<ue;Pe++)se[Pe]=arguments[Pe];var De=se.filter(function(We){return We});return De.length<=1?De[0]:function(We){se.forEach(function(Ve){Xt(Ve,We)})}}function Vn(){for(var ue=arguments.length,se=new Array(ue),Pe=0;Pe<ue;Pe++)se[Pe]=arguments[Pe];return useMemo(function(){return nn.apply(void 0,se)},se,function(De,We){return De.length!==We.length||De.every(function(Ve,rt){return Ve!==We[rt]})})}function Ka(ue){var se,Pe,De=isMemo(ue)?ue.type.type:ue.type;return!(typeof De=="function"&&!((se=De.prototype)!==null&&se!==void 0&&se.render)||typeof ue=="function"&&!((Pe=ue.prototype)!==null&&Pe!==void 0&&Pe.render))}function vr(ue){return!isValidElement(ue)||isFragment(ue)?!1:Ka(ue)}function Or(ue,se,Pe,De){if(!se.length)return Pe;var We=_toArray(se),Ve=We[0],rt=We.slice(1),ht;return!ue&&typeof Ve=="number"?ht=[]:Array.isArray(ue)?ht=_toConsumableArray(ue):ht=_objectSpread({},ue),De&&Pe===void 0&&rt.length===1?delete ht[Ve][rt[0]]:ht[Ve]=Or(ht[Ve],rt,Pe,De),ht}function Va(ue,se,Pe){var De=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;return se.length&&De&&Pe===void 0&&!get(ue,se.slice(0,-1))?ue:Or(ue,se,Pe,De)}function Fn(ue){return _typeof(ue)==="object"&&ue!==null&&Object.getPrototypeOf(ue)===Object.prototype}function Sa(ue){return Array.isArray(ue)?[]:{}}var en=typeof Reflect=="undefined"?Object.keys:Reflect.ownKeys;function Cn(){for(var ue=arguments.length,se=new Array(ue),Pe=0;Pe<ue;Pe++)se[Pe]=arguments[Pe];var De=Sa(se[0]);return se.forEach(function(We){function Ve(rt,ht){var st=new Set(ht),Nt=get(We,rt),Wt=Array.isArray(Nt);if(Wt||Fn(Nt)){if(!st.has(Nt)){st.add(Nt);var Rt=get(De,rt);Wt?De=Va(De,rt,[]):(!Rt||_typeof(Rt)!=="object")&&(De=Va(De,rt,Sa(Nt))),en(Nt).forEach(function(En){Ve([].concat(_toConsumableArray(rt),[En]),st)})}}else De=Va(De,rt,Nt)}Ve([])}),De}var Ln=te(48555),Mn=function(ue){if(!ue)return!1;if(ue instanceof Element){if(ue.offsetParent)return!0;if(ue.getBBox){var se=ue.getBBox(),Pe=se.width,De=se.height;if(Pe||De)return!0}if(ue.getBoundingClientRect){var We=ue.getBoundingClientRect(),Ve=We.width,rt=We.height;if(Ve||rt)return!0}}return!1},ur=function(se){if(ua()&&window.document.documentElement){var Pe=Array.isArray(se)?se:[se],De=window.document.documentElement;return Pe.some(function(We){return We in De.style})}return!1},Ba=function(se,Pe){if(!ur(se))return!1;var De=document.createElement("div"),We=De.style[se];return De.style[se]=Pe,De.style[se]!==We};function Nn(ue,se){return!Array.isArray(ue)&&se!==void 0?Ba(ue,se):ur(ue)}var gt;function St(ue){if(typeof document=="undefined")return 0;if(ue||gt===void 0){var se=document.createElement("div");se.style.width="100%",se.style.height="200px";var Pe=document.createElement("div"),De=Pe.style;De.position="absolute",De.top="0",De.left="0",De.pointerEvents="none",De.visibility="hidden",De.width="200px",De.height="150px",De.overflow="hidden",Pe.appendChild(se),document.body.appendChild(Pe);var We=se.offsetWidth;Pe.style.overflow="scroll";var Ve=se.offsetWidth;We===Ve&&(Ve=Pe.clientWidth),document.body.removeChild(Pe),gt=We-Ve}return gt}function mt(ue){var se=ue.match(/^(.*)px$/),Pe=Number(se==null?void 0:se[1]);return Number.isNaN(Pe)?St():Pe}function kt(ue){if(typeof document=="undefined"||!ue||!(ue instanceof Element))return{width:0,height:0};var se=getComputedStyle(ue,"::-webkit-scrollbar"),Pe=se.width,De=se.height;return{width:mt(Pe),height:mt(De)}}var ln=`accept acceptCharset accessKey action allowFullScreen allowTransparency
alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge
charSet checked classID className colSpan cols content contentEditable contextMenu
controls coords crossOrigin data dateTime default defer dir disabled download draggable
encType form formAction formEncType formMethod formNoValidate formTarget frameBorder
headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity
is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media
mediaGroup method min minLength multiple muted name noValidate nonce open
optimum pattern placeholder poster preload radioGroup readOnly rel required
reversed role rowSpan rows sandbox scope scoped scrolling seamless selected
shape size sizes span spellCheck src srcDoc srcLang srcSet start step style
summary tabIndex target title type useMap value width wmode wrap`,zn=`onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown
onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick
onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown
onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel
onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough
onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata
onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError`,ya="".concat(ln," ").concat(zn).split(/[\s\n]+/),oa="aria-",Da="data-";function Za(ue,se){return ue.indexOf(se)===0}function Yr(ue){var se=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Pe;se===!1?Pe={aria:!0,data:!0,attr:!0}:se===!0?Pe={aria:!0}:Pe=(0,pe.Z)({},se);var De={};return Object.keys(ue).forEach(function(We){(Pe.aria&&(We==="role"||Za(We,oa))||Pe.data&&Za(We,Da)||Pe.attr&&ya.includes(We))&&(De[We]=ue[We])}),De}function jn(ue,se,Pe,De,We,Ve,rt){ue.push({record:se,indent:Pe,index:rt});var ht=Ve(se),st=We==null?void 0:We.has(ht);if(se&&Array.isArray(se[De])&&st)for(var Nt=0;Nt<se[De].length;Nt+=1)jn(ue,se[De][Nt],Pe+1,De,We,Ve,Nt)}function Ir(ue,se,Pe,De){var We=oe.useMemo(function(){if(Pe!=null&&Pe.size){for(var Ve=[],rt=0;rt<(ue==null?void 0:ue.length);rt+=1){var ht=ue[rt];jn(Ve,ht,0,se,Pe,De,rt)}return Ve}return ue==null?void 0:ue.map(function(st,Nt){return{record:st,indent:0,index:Nt}})},[ue,se,Pe,De]);return We}function Mo(ue){var se=ue.prefixCls,Pe=ue.children,De=ue.component,We=ue.cellComponent,Ve=ue.className,rt=ue.expanded,ht=ue.colSpan,st=ue.isEmpty,Nt=ye(le,["scrollbarSize","fixHeader","fixColumn","componentWidth","horizonScroll"]),Wt=Nt.scrollbarSize,Rt=Nt.fixHeader,En=Nt.fixColumn,yn=Nt.componentWidth,bn=Nt.horizonScroll,ca=Pe;return(st?bn&&yn:En)&&(ca=oe.createElement("div",{style:{width:yn-(Rt?Wt:0),position:"sticky",left:0,overflow:"hidden"},className:"".concat(se,"-expanded-row-fixed")},ca)),oe.createElement(De,{className:Ve,style:{display:rt?null:"none"}},oe.createElement(Ot,{component:We,prefixCls:se,colSpan:ht},ca))}var Jo=Mo;function Ja(ue,se,Pe,De){var We=ye(le,["prefixCls","fixedInfoList","flattenColumns","expandableType","expandRowByClick","onTriggerExpand","rowClassName","expandedRowClassName","indentSize","expandIcon","expandedRowRender","expandIconColumnIndex","expandedKeys","childrenColumnName","rowExpandable","onRow"]),Ve=We.flattenColumns,rt=We.expandableType,ht=We.expandedKeys,st=We.childrenColumnName,Nt=We.onTriggerExpand,Wt=We.rowExpandable,Rt=We.onRow,En=We.expandRowByClick,yn=We.rowClassName,bn=rt==="nest",ca=rt==="row"&&(!Wt||Wt(ue)),Yn=ca||bn,va=ht&&ht.has(se),ia=st&&ue&&ue[st],Ca=Gn(Nt),nr=Rt==null?void 0:Rt(ue,Pe),mr=nr==null?void 0:nr.onClick,Ua=function(na){En&&Yn&&Nt(ue,na);for(var kn=arguments.length,la=new Array(kn>1?kn-1:0),Fa=1;Fa<kn;Fa++)la[Fa-1]=arguments[Fa];mr==null||mr.apply(void 0,[na].concat(la))},Tr;typeof yn=="string"?Tr=yn:typeof yn=="function"&&(Tr=yn(ue,Pe,De));var _r=an(Ve);return(0,pe.Z)((0,pe.Z)({},We),{},{columnsKey:_r,nestExpandable:bn,expanded:va,hasNestChildren:ia,record:ue,onTriggerExpand:Ca,rowSupportExpand:ca,expandable:Yn,rowProps:(0,pe.Z)((0,pe.Z)({},nr),{},{className:Be()(Tr,nr==null?void 0:nr.className),onClick:Ua})})}function mo(ue,se,Pe,De,We){var Ve=ue.record,rt=ue.prefixCls,ht=ue.columnsKey,st=ue.fixedInfoList,Nt=ue.expandIconColumnIndex,Wt=ue.nestExpandable,Rt=ue.indentSize,En=ue.expandIcon,yn=ue.expanded,bn=ue.hasNestChildren,ca=ue.onTriggerExpand,Yn=ht[Pe],va=st[Pe],ia;Pe===(Nt||0)&&Wt&&(ia=oe.createElement(oe.Fragment,null,oe.createElement("span",{style:{paddingLeft:"".concat(Rt*De,"px")},className:"".concat(rt,"-row-indent indent-level-").concat(De)}),En({prefixCls:rt,expanded:yn,expandable:bn,record:Ve,onExpand:ca})));var Ca;return se.onCell&&(Ca=se.onCell(Ve,We)),{key:Yn,fixedInfo:va,appendCellNode:ia,additionalCellProps:Ca||{}}}function Ai(ue){var se=ue.className,Pe=ue.style,De=ue.record,We=ue.index,Ve=ue.renderIndex,rt=ue.rowKey,ht=ue.indent,st=ht===void 0?0:ht,Nt=ue.rowComponent,Wt=ue.cellComponent,Rt=ue.scopeCellComponent,En=Ja(De,rt,We,st),yn=En.prefixCls,bn=En.flattenColumns,ca=En.expandedRowClassName,Yn=En.expandedRowRender,va=En.rowProps,ia=En.expanded,Ca=En.rowSupportExpand,nr=oe.useState(!1),mr=(0,Ce.Z)(nr,2),Ua=mr[0],Tr=mr[1];oe.useEffect(function(){ia&&Tr(!0)},[ia]);var _r=oe.createElement(Nt,(0,Oe.Z)({},va,{"data-row-key":rt,className:Be()(se,"".concat(yn,"-row"),"".concat(yn,"-row-level-").concat(st),va==null?void 0:va.className),style:(0,pe.Z)((0,pe.Z)({},Pe),va==null?void 0:va.style)}),bn.map(function(la,Fa){var Aa=la.render,Er=la.dataIndex,yr=la.className,ar=mo(En,la,Fa,st,We),kr=ar.key,Ur=ar.fixedInfo,ro=ar.appendCellNode,io=ar.additionalCellProps;return oe.createElement(Ot,(0,Oe.Z)({className:yr,ellipsis:la.ellipsis,align:la.align,scope:la.rowScope,component:la.rowScope?Rt:Wt,prefixCls:yn,key:kr,record:De,index:We,renderIndex:Ve,dataIndex:Er,render:Aa,shouldCellUpdate:la.shouldCellUpdate},Ur,{appendNode:ro,additionalProps:io}))})),ka;if(Ca&&(Ua||ia)){var na=Yn(De,We,st+1,ia),kn=ca&&ca(De,We,st);ka=oe.createElement(Jo,{expanded:ia,className:Be()("".concat(yn,"-expanded-row"),"".concat(yn,"-expanded-row-level-").concat(st+1),kn),prefixCls:yn,component:Nt,cellComponent:Wt,colSpan:bn.length,isEmpty:!1},na)}return oe.createElement(oe.Fragment,null,_r,ka)}Ai.displayName="BodyRow";var qr=ee(Ai);function ki(ue){var se=ue.columnKey,Pe=ue.onColumnResize,De=oe.useRef();return oe.useEffect(function(){De.current&&Pe(se,De.current.offsetWidth)},[]),oe.createElement(Ln.Z,{data:se},oe.createElement("td",{ref:De,style:{padding:0,border:0,height:0}},oe.createElement("div",{style:{height:0,overflow:"hidden"}},"\xA0")))}function yi(ue){var se=ue.prefixCls,Pe=ue.columnsKey,De=ue.onColumnResize;return oe.createElement("tr",{"aria-hidden":"true",className:"".concat(se,"-measure-row"),style:{height:0,fontSize:0}},oe.createElement(Ln.Z.Collection,{onBatchResize:function(Ve){Ve.forEach(function(rt){var ht=rt.data,st=rt.size;De(ht,st.offsetWidth)})}},Pe.map(function(We){return oe.createElement(ki,{key:We,columnKey:We,onColumnResize:De})})))}function di(ue){var se=ue.data,Pe=ue.measureColumnWidth,De=ye(le,["prefixCls","getComponent","onColumnResize","flattenColumns","getRowKey","expandedKeys","childrenColumnName","emptyNode"]),We=De.prefixCls,Ve=De.getComponent,rt=De.onColumnResize,ht=De.flattenColumns,st=De.getRowKey,Nt=De.expandedKeys,Wt=De.childrenColumnName,Rt=De.emptyNode,En=Ir(se,Wt,Nt,st),yn=oe.useRef({renderWithProps:!1}),bn=Ve(["body","wrapper"],"tbody"),ca=Ve(["body","row"],"tr"),Yn=Ve(["body","cell"],"td"),va=Ve(["body","cell"],"th"),ia;se.length?ia=En.map(function(nr,mr){var Ua=nr.record,Tr=nr.indent,_r=nr.index,ka=st(Ua,mr);return oe.createElement(qr,{key:ka,rowKey:ka,record:Ua,index:mr,renderIndex:_r,rowComponent:ca,cellComponent:Yn,scopeCellComponent:va,getRowKey:st,indent:Tr})}):ia=oe.createElement(Jo,{expanded:!0,className:"".concat(We,"-placeholder"),prefixCls:We,component:ca,cellComponent:Yn,colSpan:ht.length,isEmpty:!0},Rt);var Ca=an(ht);return oe.createElement($t.Provider,{value:yn.current},oe.createElement(bn,{className:"".concat(We,"-tbody")},Pe&&oe.createElement(yi,{prefixCls:We,columnsKey:Ca,onColumnResize:rt}),ia))}di.displayName="Body";var Wo=ee(di),Zi=["expandable"],Ci="RC_TABLE_INTERNAL_COL_DEFINE";function Pl(ue){var se=ue.expandable,Pe=(0,Dn.Z)(ue,Zi),De;return"expandable"in ue?De=(0,pe.Z)((0,pe.Z)({},Pe),se):De=Pe,De.showExpandColumn===!1&&(De.expandIconColumnIndex=-1),De}var Qn=["columnType"];function bl(ue){for(var se=ue.colWidths,Pe=ue.columns,De=ue.columCount,We=[],Ve=De||Pe.length,rt=!1,ht=Ve-1;ht>=0;ht-=1){var st=se[ht],Nt=Pe&&Pe[ht],Wt=Nt&&Nt[Ci];if(st||Wt||rt){var Rt=Wt||{},En=Rt.columnType,yn=(0,Dn.Z)(Rt,Qn);We.unshift(oe.createElement("col",(0,Oe.Z)({key:ht,style:{width:st}},yn))),rt=!0}}return oe.createElement("colgroup",null,We)}var Li=bl,lo=te(74902),so=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];function pa(ue,se){return(0,oe.useMemo)(function(){for(var Pe=[],De=0;De<se;De+=1){var We=ue[De];if(We!==void 0)Pe[De]=We;else return null}return Pe},[ue.join("_"),se])}var ir=oe.forwardRef(function(ue,se){var Pe=ue.className,De=ue.noData,We=ue.columns,Ve=ue.flattenColumns,rt=ue.colWidths,ht=ue.columCount,st=ue.stickyOffsets,Nt=ue.direction,Wt=ue.fixHeader,Rt=ue.stickyTopOffset,En=ue.stickyBottomOffset,yn=ue.stickyClassName,bn=ue.onScroll,ca=ue.maxContentScroll,Yn=ue.children,va=(0,Dn.Z)(ue,so),ia=ye(le,["prefixCls","scrollbarSize","isSticky"]),Ca=ia.prefixCls,nr=ia.scrollbarSize,mr=ia.isSticky,Ua=mr&&!Wt?0:nr,Tr=oe.useRef(null),_r=oe.useCallback(function(yr){Xt(se,yr),Xt(Tr,yr)},[]);oe.useEffect(function(){var yr;function ar(kr){var Ur=kr,ro=Ur.currentTarget,io=Ur.deltaX;io&&(bn({currentTarget:ro,scrollLeft:ro.scrollLeft+io}),kr.preventDefault())}return(yr=Tr.current)===null||yr===void 0||yr.addEventListener("wheel",ar),function(){var kr;(kr=Tr.current)===null||kr===void 0||kr.removeEventListener("wheel",ar)}},[]);var ka=oe.useMemo(function(){return Ve.every(function(yr){return yr.width})},[Ve]),na=Ve[Ve.length-1],kn={fixed:na?na.fixed:null,scrollbar:!0,onHeaderCell:function(){return{className:"".concat(Ca,"-cell-scrollbar")}}},la=(0,oe.useMemo)(function(){return Ua?[].concat((0,lo.Z)(We),[kn]):We},[Ua,We]),Fa=(0,oe.useMemo)(function(){return Ua?[].concat((0,lo.Z)(Ve),[kn]):Ve},[Ua,Ve]),Aa=(0,oe.useMemo)(function(){var yr=st.right,ar=st.left;return(0,pe.Z)((0,pe.Z)({},st),{},{left:Nt==="rtl"?[].concat((0,lo.Z)(ar.map(function(kr){return kr+Ua})),[0]):ar,right:Nt==="rtl"?yr:[].concat((0,lo.Z)(yr.map(function(kr){return kr+Ua})),[0]),isSticky:mr})},[Ua,st,mr]),Er=pa(rt,ht);return oe.createElement("div",{style:(0,pe.Z)({overflow:"hidden"},mr?{top:Rt,bottom:En}:{}),ref:_r,className:Be()(Pe,(0,ge.Z)({},yn,!!yn))},oe.createElement("table",{style:{tableLayout:"fixed",visibility:De||Er?null:"hidden"}},(!De||!ca||ka)&&oe.createElement(Li,{colWidths:Er?[].concat((0,lo.Z)(Er),[Ua]):[],columCount:ht+1,columns:Fa}),Yn((0,pe.Z)((0,pe.Z)({},va),{},{stickyOffsets:Aa,columns:la,flattenColumns:Fa}))))});ir.displayName="FixedHolder";var $r=oe.memo(ir);function Xa(ue){var se=ue.cells,Pe=ue.stickyOffsets,De=ue.flattenColumns,We=ue.rowComponent,Ve=ue.cellComponent,rt=ue.tdCellComponent,ht=ue.onHeaderRow,st=ue.index,Nt=ye(le,["prefixCls","direction"]),Wt=Nt.prefixCls,Rt=Nt.direction,En;ht&&(En=ht(se.map(function(bn){return bn.column}),st));var yn=an(se.map(function(bn){return bn.column}));return oe.createElement(We,En,se.map(function(bn,ca){var Yn=bn.column,va=Ut(bn.colStart,bn.colEnd,De,Pe,Rt,Yn),ia;return Yn&&Yn.onHeaderCell&&(ia=bn.column.onHeaderCell(Yn)),oe.createElement(Ot,(0,Oe.Z)({},bn,{scope:Yn.title?bn.colSpan>1?"colgroup":"col":null,ellipsis:Yn.ellipsis,align:Yn.align,component:Yn.title?Ve:rt,prefixCls:Wt,key:yn[ca]},va,{additionalProps:ia,rowType:"header"}))}))}Xa.displayName="HeaderRow";var Ao=Xa;function Ro(ue){var se=[];function Pe(rt,ht){var st=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;se[st]=se[st]||[];var Nt=ht,Wt=rt.filter(Boolean).map(function(Rt){var En={key:Rt.key,className:Rt.className||"",children:Rt.title,column:Rt,colStart:Nt},yn=1,bn=Rt.children;return bn&&bn.length>0&&(yn=Pe(bn,Nt,st+1).reduce(function(ca,Yn){return ca+Yn},0),En.hasSubColumns=!0),"colSpan"in Rt&&(yn=Rt.colSpan),"rowSpan"in Rt&&(En.rowSpan=Rt.rowSpan),En.colSpan=yn,En.colEnd=En.colStart+yn-1,se[st].push(En),Nt+=yn,yn});return Wt}Pe(ue,0);for(var De=se.length,We=function(ht){se[ht].forEach(function(st){!("rowSpan"in st)&&!st.hasSubColumns&&(st.rowSpan=De-ht)})},Ve=0;Ve<De;Ve+=1)We(Ve);return se}function qo(ue){var se=ue.stickyOffsets,Pe=ue.columns,De=ue.flattenColumns,We=ue.onHeaderRow,Ve=ye(le,["prefixCls","getComponent"]),rt=Ve.prefixCls,ht=Ve.getComponent,st=oe.useMemo(function(){return Ro(Pe)},[Pe]),Nt=ht(["header","wrapper"],"thead"),Wt=ht(["header","row"],"tr"),Rt=ht(["header","cell"],"th"),En=ht(["header","cell"],"td");return oe.createElement(Nt,{className:"".concat(rt,"-thead")},st.map(function(yn,bn){var ca=oe.createElement(Ao,{key:bn,flattenColumns:De,cells:yn,stickyOffsets:se,rowComponent:Wt,cellComponent:Rt,tdCellComponent:En,onHeaderRow:We,index:bn});return ca}))}var Xo=ee(qo);function ni(ue){var se=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Pe=[];return oe.Children.forEach(ue,function(De){De==null&&!se.keepEmpty||(Array.isArray(De)?Pe=Pe.concat(ni(De)):(0,Ht.isFragment)(De)&&De.props?Pe=Pe.concat(ni(De.props.children,se)):Pe.push(De))}),Pe}function al(ue){var se=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return typeof se=="number"?se:se.endsWith("%")?ue*parseFloat(se)/100:null}function ci(ue,se){return oe.useMemo(function(){if(se&&se>0){var Pe=0,De=0;ue.forEach(function(Nt){var Wt=al(se,Nt.width);Wt?Pe+=Wt:De+=1});var We=se-Pe,Ve=De,rt=We/De,ht=0,st=ue.map(function(Nt){var Wt=(0,pe.Z)({},Nt),Rt=al(se,Wt.width);if(Rt)Wt.width=Rt;else{var En=Math.floor(rt);Wt.width=Ve===1?We:En,We-=En,Ve-=1}return ht+=Wt.width,Wt});return[st,ht]}return[ue,se]},[ue,se])}var xl=["children"],jl=["fixed"];function Kr(ue){return ni(ue).filter(function(se){return oe.isValidElement(se)}).map(function(se){var Pe=se.key,De=se.props,We=De.children,Ve=(0,Dn.Z)(De,xl),rt=(0,pe.Z)({key:Pe},Ve);return We&&(rt.children=Kr(We)),rt})}function cl(ue){var se=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"key";return ue.filter(function(Pe){return Pe&&(0,Ee.Z)(Pe)==="object"}).reduce(function(Pe,De,We){var Ve=De.fixed,rt=Ve===!0?"left":Ve,ht="".concat(se,"-").concat(We),st=De.children;return st&&st.length>0?[].concat((0,lo.Z)(Pe),(0,lo.Z)(cl(st,ht).map(function(Nt){return(0,pe.Z)({fixed:rt},Nt)}))):[].concat((0,lo.Z)(Pe),[(0,pe.Z)((0,pe.Z)({key:ht},De),{},{fixed:rt})])},[])}function gl(ue){for(var se=!0,Pe=0;Pe<ue.length;Pe+=1){var De=ue[Pe];if(se&&De.fixed!=="left")se=!1;else if(!se&&De.fixed==="left"){warning(!1,"Index ".concat(Pe-1," of `columns` missing `fixed='left'` prop."));break}}for(var We=!0,Ve=ue.length-1;Ve>=0;Ve-=1){var rt=ue[Ve];if(We&&rt.fixed!=="right")We=!1;else if(!We&&rt.fixed==="right"){warning(!1,"Index ".concat(Ve+1," of `columns` missing `fixed='right'` prop."));break}}}function ml(ue){return ue.map(function(se){var Pe=se.fixed,De=(0,Dn.Z)(se,jl),We=Pe;return Pe==="left"?We="right":Pe==="right"&&(We="left"),(0,pe.Z)({fixed:We},De)})}function rl(ue,se){var Pe=ue.prefixCls,De=ue.columns,We=ue.children,Ve=ue.expandable,rt=ue.expandedKeys,ht=ue.columnTitle,st=ue.getRowKey,Nt=ue.onTriggerExpand,Wt=ue.expandIcon,Rt=ue.rowExpandable,En=ue.expandIconColumnIndex,yn=ue.direction,bn=ue.expandRowByClick,ca=ue.columnWidth,Yn=ue.fixed,va=ue.scrollWidth,ia=oe.useMemo(function(){return De||Kr(We)},[De,We]),Ca=oe.useMemo(function(){if(Ve){var na,kn=ia.slice();if(!kn.includes(x)){var la=En||0;la>=0&&kn.splice(la,0,x)}var Fa=kn.indexOf(x);kn=kn.filter(function(ar,kr){return ar!==x||kr===Fa});var Aa=ia[Fa],Er;(Yn==="left"||Yn)&&!En?Er="left":(Yn==="right"||Yn)&&En===ia.length?Er="right":Er=Aa?Aa.fixed:null;var yr=(na={},(0,ge.Z)(na,Ci,{className:"".concat(Pe,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),(0,ge.Z)(na,"title",ht),(0,ge.Z)(na,"fixed",Er),(0,ge.Z)(na,"className","".concat(Pe,"-row-expand-icon-cell")),(0,ge.Z)(na,"width",ca),(0,ge.Z)(na,"render",function(kr,Ur,ro){var io=st(Ur,ro),Vo=rt.has(io),Qo=Rt?Rt(Ur):!0,Vr=Wt({prefixCls:Pe,expanded:Vo,expandable:Qo,record:Ur,onExpand:Nt});return bn?oe.createElement("span",{onClick:function(Ea){return Ea.stopPropagation()}},Vr):Vr}),na);return kn.map(function(ar){return ar===x?yr:ar})}return ia.filter(function(ar){return ar!==x})},[Ve,ia,st,rt,Wt,yn]),nr=oe.useMemo(function(){var na=Ca;return se&&(na=se(na)),na.length||(na=[{render:function(){return null}}]),na},[se,Ca,yn]),mr=oe.useMemo(function(){return yn==="rtl"?ml(cl(nr)):cl(nr)},[nr,yn,va]),Ua=ci(mr,va),Tr=(0,Ce.Z)(Ua,2),_r=Tr[0],ka=Tr[1];return[nr,_r,ka]}var ji=rl;function ol(ue){var se,Pe=ue.prefixCls,De=ue.record,We=ue.onExpand,Ve=ue.expanded,rt=ue.expandable,ht="".concat(Pe,"-row-expand-icon");if(!rt)return oe.createElement("span",{className:Be()(ht,"".concat(Pe,"-row-spaced"))});var st=function(Wt){We(De,Wt),Wt.stopPropagation()};return oe.createElement("span",{className:Be()(ht,(se={},(0,ge.Z)(se,"".concat(Pe,"-row-expanded"),Ve),(0,ge.Z)(se,"".concat(Pe,"-row-collapsed"),!Ve),se)),onClick:st})}function Wi(ue,se,Pe){var De=[];function We(Ve){(Ve||[]).forEach(function(rt,ht){De.push(se(rt,ht)),We(rt[Pe])})}return We(ue),De}function Ui(ue,se,Pe){var De=Pl(ue),We=De.expandIcon,Ve=De.expandedRowKeys,rt=De.defaultExpandedRowKeys,ht=De.defaultExpandAllRows,st=De.expandedRowRender,Nt=De.onExpand,Wt=De.onExpandedRowsChange,Rt=De.childrenColumnName,En=We||ol,yn=Rt||"children",bn=oe.useMemo(function(){return st?"row":ue.expandable&&ue.internalHooks===re&&ue.expandable.__PARENT_RENDER_ICON__||se.some(function(mr){return mr&&(0,Ee.Z)(mr)==="object"&&mr[yn]})?"nest":!1},[!!st,se]),ca=oe.useState(function(){return rt||(ht?Wi(se,Pe,yn):[])}),Yn=(0,Ce.Z)(ca,2),va=Yn[0],ia=Yn[1],Ca=oe.useMemo(function(){return new Set(Ve||va||[])},[Ve,va]),nr=oe.useCallback(function(mr){var Ua=Pe(mr,se.indexOf(mr)),Tr,_r=Ca.has(Ua);_r?(Ca.delete(Ua),Tr=(0,lo.Z)(Ca)):Tr=[].concat((0,lo.Z)(Ca),[Ua]),ia(Tr),Nt&&Nt(!_r,mr),Wt&&Wt(Tr)},[Pe,Ca,se,Nt,Wt]);return[De,bn,Ca,En,yn,nr]}function It(ue,se,Pe,De){var We=ue.map(function(Ve,rt){return Ut(rt,rt,ue,se,Pe,De==null?void 0:De[rt])});return Le(function(){return We},[We],function(Ve,rt){return!Et(Ve,rt)})}function Gt(ue){var se=(0,oe.useRef)(ue),Pe=(0,oe.useState)({}),De=(0,Ce.Z)(Pe,2),We=De[1],Ve=(0,oe.useRef)(null),rt=(0,oe.useRef)([]);function ht(st){rt.current.push(st);var Nt=Promise.resolve();Ve.current=Nt,Nt.then(function(){if(Ve.current===Nt){var Wt=rt.current,Rt=se.current;rt.current=[],Wt.forEach(function(En){se.current=En(se.current)}),Ve.current=null,Rt!==se.current&&We({})}})}return(0,oe.useEffect)(function(){return function(){Ve.current=null}},[]),[se.current,ht]}function vn(ue){var se=(0,oe.useRef)(ue||null),Pe=(0,oe.useRef)();function De(){window.clearTimeout(Pe.current)}function We(rt){se.current=rt,De(),Pe.current=window.setTimeout(function(){se.current=null,Pe.current=void 0},100)}function Ve(){return se.current}return(0,oe.useEffect)(function(){return De},[]),[We,Ve]}function Ue(){var ue=oe.useState(-1),se=(0,Ce.Z)(ue,2),Pe=se[0],De=se[1],We=oe.useState(-1),Ve=(0,Ce.Z)(We,2),rt=Ve[0],ht=Ve[1],st=oe.useCallback(function(Nt,Wt){De(Nt),ht(Wt)},[]);return[Pe,rt,st]}var qt=ua()?window:null;function $n(ue,se){var Pe=(0,Ee.Z)(ue)==="object"?ue:{},De=Pe.offsetHeader,We=De===void 0?0:De,Ve=Pe.offsetSummary,rt=Ve===void 0?0:Ve,ht=Pe.offsetScroll,st=ht===void 0?0:ht,Nt=Pe.getContainer,Wt=Nt===void 0?function(){return qt}:Nt,Rt=Wt()||qt;return oe.useMemo(function(){var En=!!ue;return{isSticky:En,stickyClassName:En?"".concat(se,"-sticky-holder"):"",offsetHeader:We,offsetSummary:rt,offsetScroll:st,container:Rt}},[st,We,rt,se,Rt])}function Jn(ue,se,Pe){var De=(0,oe.useMemo)(function(){for(var We=[],Ve=[],rt=0,ht=0,st=0;st<se;st+=1)if(Pe==="rtl"){Ve[st]=ht,ht+=ue[st]||0;var Nt=se-st-1;We[Nt]=rt,rt+=ue[Nt]||0}else{We[st]=rt,rt+=ue[st]||0;var Wt=se-st-1;Ve[Wt]=ht,ht+=ue[Wt]||0}return{left:We,right:Ve}},[ue,se,Pe]);return De}var Kt=Jn;function dn(ue){var se=ue.className,Pe=ue.children;return oe.createElement("div",{className:se},Pe)}var Vt=dn;function ta(ue,se,Pe,De){var We=Fe.unstable_batchedUpdates?function(rt){Fe.unstable_batchedUpdates(Pe,rt)}:Pe;return ue!=null&&ue.addEventListener&&ue.addEventListener(se,We,De),{remove:function(){ue!=null&&ue.removeEventListener&&ue.removeEventListener(se,We,De)}}}var ba=/margin|padding|width|height|max|min|offset/,za={left:!0,top:!0},Ma={cssFloat:1,styleFloat:1,float:1};function Ya(ue){return ue.nodeType===1?ue.ownerDocument.defaultView.getComputedStyle(ue,null):{}}function pr(ue,se,Pe){if(se=se.toLowerCase(),Pe==="auto"){if(se==="height")return ue.offsetHeight;if(se==="width")return ue.offsetWidth}return se in za||(za[se]=ba.test(se)),za[se]?parseFloat(Pe)||0:Pe}function _n(ue,se){var Pe=arguments.length,De=Ya(ue);return se=Ma[se]?"cssFloat"in ue.style?"cssFloat":"styleFloat":se,Pe===1?De:pr(ue,se,De[se]||ue.style[se])}function zt(ue,se,Pe){var De=arguments.length;if(se=Ma[se]?"cssFloat"in ue.style?"cssFloat":"styleFloat":se,De===3)return typeof Pe=="number"&&ba.test(se)&&(Pe="".concat(Pe,"px")),ue.style[se]=Pe,Pe;for(var We in se)se.hasOwnProperty(We)&&zt(ue,We,se[We]);return Ya(ue)}function Bn(ue){return ue===document.body?document.documentElement.clientWidth:ue.offsetWidth}function Hn(ue){return ue===document.body?window.innerHeight||document.documentElement.clientHeight:ue.offsetHeight}function xa(){var ue=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth),se=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight);return{width:ue,height:se}}function qa(){var ue=document.documentElement.clientWidth,se=window.innerHeight||document.documentElement.clientHeight;return{width:ue,height:se}}function lr(){return{scrollLeft:Math.max(document.documentElement.scrollLeft,document.body.scrollLeft),scrollTop:Math.max(document.documentElement.scrollTop,document.body.scrollTop)}}function Br(ue){var se=ue.getBoundingClientRect(),Pe=document.documentElement;return{left:se.left+(window.pageXOffset||Pe.scrollLeft)-(Pe.clientLeft||document.body.clientLeft||0),top:se.top+(window.pageYOffset||Pe.scrollTop)-(Pe.clientTop||document.body.clientTop||0)}}var sr=function(se,Pe){var De,We,Ve=se.scrollBodyRef,rt=se.onScroll,ht=se.offsetScroll,st=se.container,Nt=ye(le,"prefixCls"),Wt=((De=Ve.current)===null||De===void 0?void 0:De.scrollWidth)||0,Rt=((We=Ve.current)===null||We===void 0?void 0:We.clientWidth)||0,En=Wt&&Rt*(Rt/Wt),yn=oe.useRef(),bn=Gt({scrollLeft:0,isHiddenScrollBar:!1}),ca=(0,Ce.Z)(bn,2),Yn=ca[0],va=ca[1],ia=oe.useRef({delta:0,x:0}),Ca=oe.useState(!1),nr=(0,Ce.Z)(Ca,2),mr=nr[0],Ua=nr[1],Tr=function(){Ua(!1)},_r=function(Fa){Fa.persist(),ia.current.delta=Fa.pageX-Yn.scrollLeft,ia.current.x=0,Ua(!0),Fa.preventDefault()},ka=function(Fa){var Aa,Er=Fa||((Aa=window)===null||Aa===void 0?void 0:Aa.event),yr=Er.buttons;if(!mr||yr===0){mr&&Ua(!1);return}var ar=ia.current.x+Fa.pageX-ia.current.x-ia.current.delta;ar<=0&&(ar=0),ar+En>=Rt&&(ar=Rt-En),rt({scrollLeft:ar/Rt*(Wt+2)}),ia.current.x=Fa.pageX},na=function(){if(Ve.current){var Fa=Br(Ve.current).top,Aa=Fa+Ve.current.offsetHeight,Er=st===window?document.documentElement.scrollTop+window.innerHeight:Br(st).top+st.clientHeight;Aa-St()<=Er||Fa>=Er-ht?va(function(yr){return(0,pe.Z)((0,pe.Z)({},yr),{},{isHiddenScrollBar:!0})}):va(function(yr){return(0,pe.Z)((0,pe.Z)({},yr),{},{isHiddenScrollBar:!1})})}},kn=function(Fa){va(function(Aa){return(0,pe.Z)((0,pe.Z)({},Aa),{},{scrollLeft:Fa/Wt*Rt||0})})};return oe.useImperativeHandle(Pe,function(){return{setScrollLeft:kn}}),oe.useEffect(function(){var la=ta(document.body,"mouseup",Tr,!1),Fa=ta(document.body,"mousemove",ka,!1);return na(),function(){la.remove(),Fa.remove()}},[En,mr]),oe.useEffect(function(){var la=ta(st,"scroll",na,!1),Fa=ta(window,"resize",na,!1);return function(){la.remove(),Fa.remove()}},[st]),oe.useEffect(function(){Yn.isHiddenScrollBar||va(function(la){var Fa=Ve.current;return Fa?(0,pe.Z)((0,pe.Z)({},la),{},{scrollLeft:Fa.scrollLeft/Fa.scrollWidth*Fa.clientWidth}):la})},[Yn.isHiddenScrollBar]),Wt<=Rt||!En||Yn.isHiddenScrollBar?null:oe.createElement("div",{style:{height:St(),width:Rt,bottom:ht},className:"".concat(Nt,"-sticky-scroll")},oe.createElement("div",{onMouseDown:_r,ref:yn,className:Be()("".concat(Nt,"-sticky-scroll-bar"),(0,ge.Z)({},"".concat(Nt,"-sticky-scroll-bar-active"),mr)),style:{width:"".concat(En,"px"),transform:"translate3d(".concat(Yn.scrollLeft,"px, 0, 0)")}}))},Lr=oe.forwardRef(sr);function Gr(ue){return null}var br=Gr;function ao(ue){return null}var oo=ao,So="rc-table",eo=[],Po={};function Hr(){return"No Data"}function ho(ue){var se,Pe=(0,pe.Z)({rowKey:"key",prefixCls:So,emptyText:Hr},ue),De=Pe.prefixCls,We=Pe.className,Ve=Pe.rowClassName,rt=Pe.style,ht=Pe.data,st=Pe.rowKey,Nt=Pe.scroll,Wt=Pe.tableLayout,Rt=Pe.direction,En=Pe.title,yn=Pe.footer,bn=Pe.summary,ca=Pe.caption,Yn=Pe.id,va=Pe.showHeader,ia=Pe.components,Ca=Pe.emptyText,nr=Pe.onRow,mr=Pe.onHeaderRow,Ua=Pe.internalHooks,Tr=Pe.transformColumns,_r=Pe.internalRefs,ka=Pe.tailor,na=Pe.sticky,kn=ht||eo,la=!!kn.length,Fa=Ua===re,Aa=oe.useCallback(function(zo,ti){return un(ia,zo)||ti},[ia]),Er=oe.useMemo(function(){return typeof st=="function"?st:function(zo){var ti=zo&&zo[st];return ti}},[st]),yr=Aa(["body"]),ar=Ue(),kr=(0,Ce.Z)(ar,3),Ur=kr[0],ro=kr[1],io=kr[2],Vo=Ui(Pe,kn,Er),Qo=(0,Ce.Z)(Vo,6),Vr=Qo[0],ii=Qo[1],Ea=Qo[2],xr=Qo[3],Xr=Qo[4],ko=Qo[5],Ga=Nt==null?void 0:Nt.x,wr=oe.useState(0),Fr=(0,Ce.Z)(wr,2),fr=Fr[0],co=Fr[1],Cr=ji((0,pe.Z)((0,pe.Z)((0,pe.Z)({},Pe),Vr),{},{expandable:!!Vr.expandedRowRender,columnTitle:Vr.columnTitle,expandedKeys:Ea,getRowKey:Er,onTriggerExpand:ko,expandIcon:xr,expandIconColumnIndex:Vr.expandIconColumnIndex,direction:Rt,scrollWidth:Fa&&ka&&typeof Ga=="number"?Ga:null}),Fa?Tr:null),Jr=(0,Ce.Z)(Cr,3),xo=Jr[0],po=Jr[1],el=Jr[2],_i=el!=null?el:Ga,Kl=oe.useMemo(function(){return{columns:xo,flattenColumns:po}},[xo,po]),Fi=oe.useRef(),kl=oe.useRef(),Bi=oe.useRef(),vl=oe.useRef(),uu=oe.useRef(),Io=oe.useState(!1),Zo=(0,Ce.Z)(Io,2),li=Zo[0],Di=Zo[1],Oi=oe.useState(!1),uo=(0,Ce.Z)(Oi,2),sl=uo[0],tl=uo[1],Cl=Gt(new Map),Ul=(0,Ce.Z)(Cl,2),Gl=Ul[0],cu=Ul[1],Xl=an(po),Zl=Xl.map(function(zo){return Gl.get(zo)}),pl=oe.useMemo(function(){return Zl},[Zl.join("_")]),dl=Kt(pl,po.length,Rt),Ii=Nt&&Ft(Nt.y),ui=Nt&&Ft(_i)||!!Vr.fixed,Vl=ui&&po.some(function(zo){var ti=zo.fixed;return ti}),su=oe.useRef(),eu=$n(na,De),Ql=eu.isSticky,gu=eu.offsetHeader,pu=eu.offsetSummary,wo=eu.offsetScroll,$o=eu.stickyClassName,$i=eu.container,si=oe.useMemo(function(){return bn==null?void 0:bn(kn)},[bn,kn]),nl=(Ii||Ql)&&oe.isValidElement(si)&&si.type===hn&&si.props.fixed,hl,Sl,Yl;Ii&&(Sl={overflowY:"scroll",maxHeight:Nt.y}),ui&&(hl={overflowX:"auto"},Ii||(Sl={overflowY:"hidden"}),Yl={width:_i===!0?"auto":_i,minWidth:"100%"});var wu=oe.useCallback(function(zo,ti){Mn(Fi.current)&&cu(function(zl){if(zl.get(zo)!==ti){var tu=new Map(zl);return tu.set(zo,ti),tu}return zl})},[]),Gu=vn(null),Fu=(0,Ce.Z)(Gu,2),_u=Fu[0],Bu=Fu[1];function mu(zo,ti){ti&&(typeof ti=="function"?ti(zo):ti.scrollLeft!==zo&&(ti.scrollLeft=zo,ti.scrollLeft!==zo&&setTimeout(function(){ti.scrollLeft=zo},0)))}var du=Gn(function(zo){var ti=zo.currentTarget,zl=zo.scrollLeft,tu=Rt==="rtl",nu=typeof zl=="number"?zl:ti.scrollLeft,Ku=ti||Po;if(!Bu()||Bu()===Ku){var yu;_u(Ku),mu(nu,kl.current),mu(nu,Bi.current),mu(nu,uu.current),mu(nu,(yu=su.current)===null||yu===void 0?void 0:yu.setScrollLeft)}var Cu=ti||kl.current;if(Cu){var bu=Cu.scrollWidth,xu=Cu.clientWidth;if(bu===xu){Di(!1),tl(!1);return}tu?(Di(-nu<bu-xu),tl(-nu>0)):(Di(nu>0),tl(nu<bu-xu))}}),Au=function(){ui&&Bi.current?du({currentTarget:Bi.current}):(Di(!1),tl(!1))},Wu=function(ti){var zl=ti.width;zl!==fr&&(Au(),co(Fi.current?Fi.current.offsetWidth:zl))},Lu=oe.useRef(!1);oe.useEffect(function(){Lu.current&&Au()},[ui,ht,xo.length]),oe.useEffect(function(){Lu.current=!0},[]);var Uu=oe.useState(0),Nu=(0,Ce.Z)(Uu,2),fu=Nu[0],Du=Nu[1],Vu=oe.useState(!0),Ou=(0,Ce.Z)(Vu,2),Iu=Ou[0],Qu=Ou[1];oe.useEffect(function(){(!ka||!Fa)&&(Bi.current instanceof Element?Du(kt(Bi.current).width):Du(kt(vl.current).width)),Qu(Nn("position","sticky"))},[]),oe.useEffect(function(){Fa&&_r&&(_r.body.current=Bi.current)});var $u=oe.useCallback(function(zo){return oe.createElement(oe.Fragment,null,oe.createElement(Xo,zo),nl==="top"&&oe.createElement(gn,zo,si))},[nl,si]),Ju=oe.useCallback(function(zo){return oe.createElement(gn,zo,si)},[si]),Mu=Aa(["table"],"table"),vu=oe.useMemo(function(){return Wt||(Vl?_i==="max-content"?"auto":"fixed":Ii||Ql||po.some(function(zo){var ti=zo.ellipsis;return ti})?"fixed":"auto")},[Ii,Vl,po,Wt,Ql]),hu,Su={colWidths:pl,columCount:po.length,stickyOffsets:dl,onHeaderRow:mr,fixHeader:Ii,scroll:Nt},Ru=oe.useMemo(function(){return la?null:typeof Ca=="function"?Ca():Ca},[la,Ca]),Tu=oe.createElement(Wo,{data:kn,measureColumnWidth:Ii||ui||Ql}),ku=oe.createElement(Li,{colWidths:po.map(function(zo){var ti=zo.width;return ti}),columns:po}),Zu=ca!=null?oe.createElement("caption",{className:"".concat(De,"-caption")},ca):void 0,Xu=Yr(Pe,{data:!0}),zu=Yr(Pe,{aria:!0});if(Ii||Ql){var Pu;typeof yr=="function"?(Pu=yr(kn,{scrollbarSize:fu,ref:Bi,onScroll:du}),Su.colWidths=po.map(function(zo,ti){var zl=zo.width,tu=ti===po.length-1?zl-fu:zl;return typeof tu=="number"&&!Number.isNaN(tu)?tu:0})):Pu=oe.createElement("div",{style:(0,pe.Z)((0,pe.Z)({},hl),Sl),onScroll:du,ref:Bi,className:Be()("".concat(De,"-body"))},oe.createElement(Mu,(0,Oe.Z)({style:(0,pe.Z)((0,pe.Z)({},Yl),{},{tableLayout:vu})},zu),Zu,ku,Tu,!nl&&si&&oe.createElement(gn,{stickyOffsets:dl,flattenColumns:po,columns:xo},si)));var ju=(0,pe.Z)((0,pe.Z)((0,pe.Z)({noData:!kn.length,maxContentScroll:ui&&_i==="max-content"},Su),Kl),{},{direction:Rt,stickyClassName:$o,onScroll:du});hu=oe.createElement(oe.Fragment,null,va!==!1&&oe.createElement($r,(0,Oe.Z)({},ju,{stickyTopOffset:gu,className:"".concat(De,"-header"),ref:kl}),$u),Pu,nl&&nl!=="top"&&oe.createElement($r,(0,Oe.Z)({},ju,{stickyBottomOffset:pu,className:"".concat(De,"-summary"),ref:uu}),Ju),Ql&&oe.createElement(Lr,{ref:su,offsetScroll:wo,scrollBodyRef:Bi,onScroll:du,container:$i}))}else hu=oe.createElement("div",{style:(0,pe.Z)((0,pe.Z)({},hl),Sl),className:Be()("".concat(De,"-content")),onScroll:du,ref:Bi},oe.createElement(Mu,(0,Oe.Z)({style:(0,pe.Z)((0,pe.Z)({},Yl),{},{tableLayout:vu})},zu),Zu,ku,va!==!1&&oe.createElement(Xo,(0,Oe.Z)({},Su,Kl)),Tu,si&&oe.createElement(gn,{stickyOffsets:dl,flattenColumns:po,columns:xo},si)));var Eu=oe.createElement("div",(0,Oe.Z)({className:Be()(De,We,(se={},(0,ge.Z)(se,"".concat(De,"-rtl"),Rt==="rtl"),(0,ge.Z)(se,"".concat(De,"-ping-left"),li),(0,ge.Z)(se,"".concat(De,"-ping-right"),sl),(0,ge.Z)(se,"".concat(De,"-layout-fixed"),Wt==="fixed"),(0,ge.Z)(se,"".concat(De,"-fixed-header"),Ii),(0,ge.Z)(se,"".concat(De,"-fixed-column"),Vl),(0,ge.Z)(se,"".concat(De,"-scroll-horizontal"),ui),(0,ge.Z)(se,"".concat(De,"-has-fix-left"),po[0]&&po[0].fixed),(0,ge.Z)(se,"".concat(De,"-has-fix-right"),po[po.length-1]&&po[po.length-1].fixed==="right"),se)),style:rt,id:Yn,ref:Fi},Xu),En&&oe.createElement(Vt,{className:"".concat(De,"-title")},En(kn)),oe.createElement("div",{ref:vl,className:"".concat(De,"-container")},hu),yn&&oe.createElement(Vt,{className:"".concat(De,"-footer")},yn(kn)));ui&&(Eu=oe.createElement(Ln.Z,{onResize:Wu},Eu));var Hu=It(po,dl,Rt,xo),Yu=oe.useMemo(function(){return{scrollX:_i,prefixCls:De,getComponent:Aa,scrollbarSize:fu,direction:Rt,fixedInfoList:Hu,isSticky:Ql,supportSticky:Iu,componentWidth:fr,fixHeader:Ii,fixColumn:Vl,horizonScroll:ui,tableLayout:vu,rowClassName:Ve,expandedRowClassName:Vr.expandedRowClassName,expandIcon:xr,expandableType:ii,expandRowByClick:Vr.expandRowByClick,expandedRowRender:Vr.expandedRowRender,onTriggerExpand:ko,expandIconColumnIndex:Vr.expandIconColumnIndex,indentSize:Vr.indentSize,allColumnsFixedLeft:po.every(function(zo){return zo.fixed==="left"}),emptyNode:Ru,columns:xo,flattenColumns:po,onColumnResize:wu,hoverStartRow:Ur,hoverEndRow:ro,onHover:io,rowExpandable:Vr.rowExpandable,onRow:nr,getRowKey:Er,expandedKeys:Ea,childrenColumnName:Xr}},[_i,De,Aa,fu,Rt,Hu,Ql,Iu,fr,Ii,Vl,ui,vu,Ve,Vr.expandedRowClassName,xr,ii,Vr.expandRowByClick,Vr.expandedRowRender,ko,Vr.expandIconColumnIndex,Vr.indentSize,Ru,xo,po,wu,Ur,ro,io,Vr.rowExpandable,nr,Er,Ea,Xr]);return oe.createElement(le.Provider,{value:Yu},Eu)}function jo(ue){return z(ho,ue)}var Ni=jo();Ni.EXPAND_COLUMN=x,Ni.INTERNAL_HOOKS=re,Ni.Column=br,Ni.ColumnGroup=oo,Ni.Summary=qn;var hi=Ni,Mi=te(73299),Yo=he(null),Ho=he(null);function Ri(ue,se,Pe){var De=se||1;return Pe[ue+De]-(Pe[ue]||0)}function Hi(ue){var se=ue.rowInfo,Pe=ue.column,De=ue.colIndex,We=ue.indent,Ve=ue.index,rt=ue.renderIndex,ht=ue.record,st=ue.style,Nt=ue.className,Wt=ue.inverse,Rt=ue.getHeight,En=Pe.render,yn=Pe.dataIndex,bn=Pe.className,ca=Pe.width,Yn=ye(Ho,["columnsOffset"]),va=Yn.columnsOffset,ia=mo(se,Pe,De,We,Ve),Ca=ia.key,nr=ia.fixedInfo,mr=ia.appendCellNode,Ua=ia.additionalCellProps,Tr=Ua.style,_r=Ua.colSpan,ka=_r===void 0?1:_r,na=Ua.rowSpan,kn=na===void 0?1:na,la=De-1,Fa=Ri(la,ka,va),Aa=ka>1?ca-Fa:0,Er=(0,pe.Z)((0,pe.Z)((0,pe.Z)({},Tr),st),{},{flex:"0 0 ".concat(Fa,"px"),width:"".concat(Fa,"px"),marginRight:Aa,pointerEvents:"auto"}),yr=oe.useMemo(function(){return Wt?kn<=1:ka===0||kn===0||kn>1},[kn,ka,Wt]);yr?Er.visibility="hidden":Wt&&(Er.height=Rt==null?void 0:Rt(kn));var ar=yr?function(){return null}:En,kr={};return(kn===0||ka===0)&&(kr.rowSpan=1,kr.colSpan=1),oe.createElement(Ot,(0,Oe.Z)({className:Be()(bn,Nt),ellipsis:Pe.ellipsis,align:Pe.align,scope:Pe.rowScope,component:"div",prefixCls:se.prefixCls,key:Ca,record:ht,index:Ve,renderIndex:rt,dataIndex:yn,render:ar,shouldCellUpdate:Pe.shouldCellUpdate},nr,{appendNode:mr,additionalProps:(0,pe.Z)((0,pe.Z)({},Ua),{},{style:Er},kr)}))}var Vi=Hi,fl=["data","index","className","rowKey","style","extra","getHeight"],zi=oe.forwardRef(function(ue,se){var Pe=ue.data,De=ue.index,We=ue.className,Ve=ue.rowKey,rt=ue.style,ht=ue.extra,st=ue.getHeight,Nt=(0,Dn.Z)(ue,fl),Wt=Pe.record,Rt=Pe.indent,En=Pe.index,yn=ye(le,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),bn=yn.scrollX,ca=yn.flattenColumns,Yn=yn.prefixCls,va=yn.fixColumn,ia=yn.componentWidth,Ca=Ja(Wt,Ve,De,Rt),nr=Ca.rowSupportExpand,mr=Ca.expanded,Ua=Ca.rowProps,Tr=Ca.expandedRowRender,_r=Ca.expandedRowClassName,ka;if(nr&&mr){var na=Tr(Wt,De,Rt+1,mr),kn=_r==null?void 0:_r(Wt,De,Rt),la={};va&&(la={style:(0,ge.Z)({},"--virtual-width","".concat(ia,"px"))});var Fa="".concat(Yn,"-expanded-row-cell");ka=oe.createElement("div",{className:Be()("".concat(Yn,"-expanded-row"),"".concat(Yn,"-expanded-row-level-").concat(Rt+1),kn)},oe.createElement(Ot,{component:"div",prefixCls:Yn,className:Be()(Fa,(0,ge.Z)({},"".concat(Fa,"-fixed"),va)),additionalProps:la},na))}var Aa=(0,pe.Z)((0,pe.Z)({},rt),{},{width:bn});ht&&(Aa.position="absolute",Aa.pointerEvents="none");var Er=oe.createElement("div",(0,Oe.Z)({},Ua,Nt,{ref:nr?null:se,className:Be()(We,"".concat(Yn,"-row"),Ua==null?void 0:Ua.className,(0,ge.Z)({},"".concat(Yn,"-row-extra"),ht)),style:(0,pe.Z)((0,pe.Z)({},Aa),Ua==null?void 0:Ua.style)}),ca.map(function(yr,ar){return oe.createElement(Vi,{key:ar,rowInfo:Ca,column:yr,colIndex:ar,indent:Rt,index:De,renderIndex:En,record:Wt,inverse:ht,getHeight:st})}));return nr?oe.createElement("div",{ref:se},Er,ka):Er}),Ol=ee(zi),Ki=Ol,_l=oe.forwardRef(function(ue,se){var Pe=ue.data,De=ue.onScroll,We=ye(le,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","emptyNode","scrollX"]),Ve=We.flattenColumns,rt=We.onColumnResize,ht=We.getRowKey,st=We.expandedKeys,Nt=We.prefixCls,Wt=We.childrenColumnName,Rt=We.emptyNode,En=We.scrollX,yn=ye(Yo),bn=yn.scrollY,ca=yn.listItemHeight,Yn=oe.useRef(),va=Ir(Pe,Wt,st,ht),ia=oe.useMemo(function(){var ka=0;return Ve.map(function(na){var kn=na.width,la=na.key;return ka+=kn,[la,kn,ka]})},[Ve]),Ca=oe.useMemo(function(){return ia.map(function(ka){return ka[2]})},[ia]);oe.useEffect(function(){ia.forEach(function(ka){var na=(0,Ce.Z)(ka,2),kn=na[0],la=na[1];rt(kn,la)})},[ia]),oe.useImperativeHandle(se,function(){var ka={};return Object.defineProperty(ka,"scrollLeft",{get:function(){var kn;return((kn=Yn.current)===null||kn===void 0?void 0:kn.getScrollInfo().x)||0},set:function(kn){var la;(la=Yn.current)===null||la===void 0||la.scrollTo({left:kn})}}),ka});var nr=function(na,kn){var la,Fa=(la=va[kn])===null||la===void 0?void 0:la.record,Aa=na.onCell;if(Aa){var Er,yr=Aa(Fa,kn);return(Er=yr==null?void 0:yr.rowSpan)!==null&&Er!==void 0?Er:1}return 1},mr=function(na){var kn=na.start,la=na.end,Fa=na.getSize,Aa=na.offsetY;if(la<0)return null;for(var Er=Ve.filter(function(Ga){return nr(Ga,kn)===0}),yr=kn,ar=function(wr){if(Er=Er.filter(function(Fr){return nr(Fr,wr)===0}),!Er.length)return yr=wr,"break"},kr=kn;kr>=0;kr-=1){var Ur=ar(kr);if(Ur==="break")break}for(var ro=Ve.filter(function(Ga){return nr(Ga,la)!==1}),io=la,Vo=function(wr){if(ro=ro.filter(function(Fr){return nr(Fr,wr)!==1}),!ro.length)return io=Math.max(wr-1,la),"break"},Qo=la;Qo<va.length;Qo+=1){var Vr=Vo(Qo);if(Vr==="break")break}for(var ii=[],Ea=function(wr){var Fr=va[wr];if(!Fr)return"continue";Ve.some(function(fr){return nr(fr,wr)>1})&&ii.push(wr)},xr=yr;xr<=io;xr+=1)var Xr=Ea(xr);var ko=ii.map(function(Ga){var wr=va[Ga],Fr=ht(wr.record,Ga),fr=function(Jr){var xo=Ga+Jr-1,po=ht(va[xo].record,xo),el=Fa(Fr,po);return el.bottom-el.top},co=Fa(Fr);return oe.createElement(Ki,{key:Ga,data:wr,rowKey:Fr,index:Ga,style:{top:-Aa+co.top},extra:!0,getHeight:fr})});return ko},Ua=oe.useMemo(function(){return{columnsOffset:Ca}},[Ca]),Tr="".concat(Nt,"-tbody"),_r;return va.length?_r=oe.createElement(Mi.Z,{fullHeight:!1,ref:Yn,className:Be()(Tr,"".concat(Tr,"-virtual")),height:bn,itemHeight:ca||24,data:va,itemKey:function(na){return ht(na.record)},scrollWidth:En,onVirtualScroll:function(na){var kn=na.x;De({scrollLeft:kn})},extraRender:mr},function(ka,na,kn){var la=ht(ka.record,na);return oe.createElement(Ki,(0,Oe.Z)({data:ka,rowKey:la,index:na},kn))}):_r=oe.createElement("div",{className:Be()("".concat(Nt,"-placeholder"))},oe.createElement(Ot,{component:"div",prefixCls:Nt},Rt)),oe.createElement(Ho.Provider,{value:Ua},_r)}),Gi=ee(_l),Il=Gi,Ji=function(se,Pe){var De=Pe.ref,We=Pe.onScroll;return oe.createElement(Il,{ref:De,data:se,onScroll:We})},wl=100;function Bo(ue){var se=ue.columns,Pe=ue.scroll,De=ue.prefixCls,We=De===void 0?So:De,Ve=ue.className,rt=ue.listItemHeight,ht=Pe||{},st=ht.x,Nt=ht.y;typeof st!="number"&&(st=((se||[]).length+1)*wl),typeof Nt!="number"&&(Nt=500);var Wt=oe.useMemo(function(){return{scrollY:Nt,listItemHeight:rt}},[Nt,rt]);return oe.createElement(Yo.Provider,{value:Wt},oe.createElement(hi,(0,Oe.Z)({},ue,{className:Be()(Ve,"".concat(We,"-virtual")),scroll:(0,pe.Z)((0,pe.Z)({},Pe),{},{x:st}),components:{body:Ji},columns:se,internalHooks:re,tailor:!0})))}function Lo(ue){return z(Bo,ue)}var vi=Lo(),Fl=null;function Wl(ue){return null}var Uo=Wl;function il(ue){return null}var El=il,da=te(10366),Si=te(58375),ll=te(53124),yl=te(88258),Ml=te(98675),Rl=te(25378),au=te(24457),Bl=te(28452),Al=te(57953),ru=te(46605);function Ll(ue){return function(Pe){let{prefixCls:De,onExpand:We,record:Ve,expanded:rt,expandable:ht}=Pe;const st=`${De}-row-expand-icon`;return oe.createElement("button",{type:"button",onClick:Nt=>{We(Ve,Nt),Nt.stopPropagation()},className:Be()(st,{[`${st}-spaced`]:!ht,[`${st}-expanded`]:ht&&rt,[`${st}-collapsed`]:ht&&!rt}),"aria-label":rt?ue.collapse:ue.expand,"aria-expanded":rt})}}var $l=Ll;function Nl(ue,se){return"key"in ue&&ue.key!==void 0&&ue.key!==null?ue.key:ue.dataIndex?Array.isArray(ue.dataIndex)?ue.dataIndex.join("."):ue.dataIndex:se}function Tl(ue,se){return se?`${se}-${ue}`:`${ue}`}function Hl(ue,se){return typeof ue=="function"?ue(se):ue}function ql(ue,se){const Pe=Hl(ue,se);return Object.prototype.toString.call(Pe)==="[object Object]"?"":Pe}var ou={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"},Jl=ou,Xi=te(74643),Dl=function(se,Pe){return oe.createElement(Xi.Z,(0,Oe.Z)({},se,{ref:Pe,icon:Jl}))},ul=oe.forwardRef(Dl),iu=te(7699),lu=te(57838);function Ke(ue){const se=oe.useRef(ue),Pe=(0,lu.Z)();return[()=>se.current,De=>{se.current=De,Pe()}]}var Xe=te(71577),nt=te(84567),Lt=te(85418),gr=te(32983),_a=te(68508),Zr=te(76529),Qa=te(78045),rr=te(79870),Se=te(72395),ke=te(69677);function je(ue){let{value:se,onChange:Pe,filterSearch:De,tablePrefixCls:We,locale:Ve}=ue;return De?oe.createElement("div",{className:`${We}-filter-dropdown-search`},oe.createElement(ke.default,{prefix:oe.createElement(Se.Z,null),placeholder:Ve.filterSearchPlaceholder,onChange:Pe,value:se,htmlSize:1,className:`${We}-filter-dropdown-search-input`})):null}var tt=je,yt=te(92389);const ft=ue=>{const{keyCode:se}=ue;se===yt.Z.ENTER&&ue.stopPropagation()};var sn=oe.forwardRef((ue,se)=>oe.createElement("div",{className:ue.className,onClick:Pe=>Pe.stopPropagation(),onKeyDown:ft,ref:se},ue.children));function xn(ue){let se=[];return(ue||[]).forEach(Pe=>{let{value:De,children:We}=Pe;se.push(De),We&&(se=[].concat((0,lo.Z)(se),(0,lo.Z)(xn(We))))}),se}function on(ue){return ue.some(se=>{let{children:Pe}=se;return Pe})}function ce(ue,se){return typeof se=="string"||typeof se=="number"?se==null?void 0:se.toString().toLowerCase().includes(ue.trim().toLowerCase()):!1}function me(ue){let{filters:se,prefixCls:Pe,filteredKeys:De,filterMultiple:We,searchValue:Ve,filterSearch:rt}=ue;return se.map((ht,st)=>{const Nt=String(ht.value);if(ht.children)return{key:Nt||st,label:ht.text,popupClassName:`${Pe}-dropdown-submenu`,children:me({filters:ht.children,prefixCls:Pe,filteredKeys:De,filterMultiple:We,searchValue:Ve,filterSearch:rt})};const Wt=We?nt.default:Qa.ZP,Rt={key:ht.value!==void 0?Nt:st,label:oe.createElement(oe.Fragment,null,oe.createElement(Wt,{checked:De.includes(Nt)}),oe.createElement("span",null,ht.text))};return Ve.trim()?typeof rt=="function"?rt(Ve,ht)?Rt:null:ce(Ve,ht.text)?Rt:null:Rt})}function xe(ue){var se,Pe;const{tablePrefixCls:De,prefixCls:We,column:Ve,dropdownPrefixCls:rt,columnKey:ht,filterMultiple:st,filterMode:Nt="menu",filterSearch:Wt=!1,filterState:Rt,triggerFilter:En,locale:yn,children:bn,getPopupContainer:ca}=ue,{filterDropdownOpen:Yn,onFilterDropdownOpenChange:va,filterResetToDefaultFilteredValue:ia,defaultFilteredValue:Ca,filterDropdownVisible:nr,onFilterDropdownVisibleChange:mr}=Ve,[Ua,Tr]=oe.useState(!1),_r=!!(Rt&&(!((se=Rt.filteredKeys)===null||se===void 0)&&se.length||Rt.forceFiltered)),ka=Cr=>{Tr(Cr),va==null||va(Cr),mr==null||mr(Cr)},na=(Pe=Yn!=null?Yn:nr)!==null&&Pe!==void 0?Pe:Ua,kn=Rt==null?void 0:Rt.filteredKeys,[la,Fa]=Ke(kn||[]),Aa=Cr=>{let{selectedKeys:Jr}=Cr;Fa(Jr)},Er=(Cr,Jr)=>{let{node:xo,checked:po}=Jr;Aa(st?{selectedKeys:Cr}:{selectedKeys:po&&xo.key?[xo.key]:[]})};oe.useEffect(()=>{Ua&&Aa({selectedKeys:kn||[]})},[kn]);const[yr,ar]=oe.useState([]),kr=Cr=>{ar(Cr)},[Ur,ro]=oe.useState(""),io=Cr=>{const{value:Jr}=Cr.target;ro(Jr)};oe.useEffect(()=>{Ua||ro("")},[Ua]);const Vo=Cr=>{const Jr=Cr&&Cr.length?Cr:null;if(Jr===null&&(!Rt||!Rt.filteredKeys)||(0,iu.Z)(Jr,Rt==null?void 0:Rt.filteredKeys,!0))return null;En({column:Ve,key:ht,filteredKeys:Jr})},Qo=()=>{ka(!1),Vo(la())},Vr=function(){let{confirm:Cr,closeDropdown:Jr}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{confirm:!1,closeDropdown:!1};Cr&&Vo([]),Jr&&ka(!1),ro(""),Fa(ia?(Ca||[]).map(xo=>String(xo)):[])},ii=function(){let{closeDropdown:Cr}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{closeDropdown:!0};Cr&&ka(!1),Vo(la())},Ea=Cr=>{Cr&&kn!==void 0&&Fa(kn||[]),ka(Cr),!Cr&&!Ve.filterDropdown&&Qo()},xr=Be()({[`${rt}-menu-without-submenu`]:!on(Ve.filters||[])}),Xr=Cr=>{if(Cr.target.checked){const Jr=xn(Ve==null?void 0:Ve.filters).map(xo=>String(xo));Fa(Jr)}else Fa([])},ko=Cr=>{let{filters:Jr}=Cr;return(Jr||[]).map((xo,po)=>{const el=String(xo.value),_i={title:xo.text,key:xo.value!==void 0?el:po};return xo.children&&(_i.children=ko({filters:xo.children})),_i})},Ga=Cr=>{var Jr;return Object.assign(Object.assign({},Cr),{text:Cr.title,value:Cr.key,children:((Jr=Cr.children)===null||Jr===void 0?void 0:Jr.map(xo=>Ga(xo)))||[]})};let wr;if(typeof Ve.filterDropdown=="function")wr=Ve.filterDropdown({prefixCls:`${rt}-custom`,setSelectedKeys:Cr=>Aa({selectedKeys:Cr}),selectedKeys:la(),confirm:ii,clearFilters:Vr,filters:Ve.filters,visible:na,close:()=>{ka(!1)}});else if(Ve.filterDropdown)wr=Ve.filterDropdown;else{const Cr=la()||[],Jr=()=>(Ve.filters||[]).length===0?oe.createElement(gr.Z,{image:gr.Z.PRESENTED_IMAGE_SIMPLE,description:yn.filterEmptyText,imageStyle:{height:24},style:{margin:0,padding:"16px 0"}}):Nt==="tree"?oe.createElement(oe.Fragment,null,oe.createElement(tt,{filterSearch:Wt,value:Ur,onChange:io,tablePrefixCls:De,locale:yn}),oe.createElement("div",{className:`${De}-filter-dropdown-tree`},st?oe.createElement(nt.default,{checked:Cr.length===xn(Ve.filters).length,indeterminate:Cr.length>0&&Cr.length<xn(Ve.filters).length,className:`${De}-filter-dropdown-checkall`,onChange:Xr},yn.filterCheckall):null,oe.createElement(rr.default,{checkable:!0,selectable:!1,blockNode:!0,multiple:st,checkStrictly:!st,className:`${rt}-menu`,onCheck:Er,checkedKeys:Cr,selectedKeys:Cr,showIcon:!1,treeData:ko({filters:Ve.filters}),autoExpandParent:!0,defaultExpandAll:!0,filterTreeNode:Ur.trim()?po=>typeof Wt=="function"?Wt(Ur,Ga(po)):ce(Ur,po.title):void 0}))):oe.createElement(oe.Fragment,null,oe.createElement(tt,{filterSearch:Wt,value:Ur,onChange:io,tablePrefixCls:De,locale:yn}),oe.createElement(_a.default,{selectable:!0,multiple:st,prefixCls:`${rt}-menu`,className:xr,onSelect:Aa,onDeselect:Aa,selectedKeys:Cr,getPopupContainer:ca,openKeys:yr,onOpenChange:kr,items:me({filters:Ve.filters||[],filterSearch:Wt,prefixCls:We,filteredKeys:la(),filterMultiple:st,searchValue:Ur})})),xo=()=>ia?(0,iu.Z)((Ca||[]).map(po=>String(po)),Cr,!0):Cr.length===0;wr=oe.createElement(oe.Fragment,null,Jr(),oe.createElement("div",{className:`${We}-dropdown-btns`},oe.createElement(Xe.ZP,{type:"link",size:"small",disabled:xo(),onClick:()=>Vr()},yn.filterReset),oe.createElement(Xe.ZP,{type:"primary",size:"small",onClick:Qo},yn.filterConfirm)))}Ve.filterDropdown&&(wr=oe.createElement(Zr.J,{selectable:void 0},wr));const Fr=()=>oe.createElement(sn,{className:`${We}-dropdown`},wr);let fr;typeof Ve.filterIcon=="function"?fr=Ve.filterIcon(_r):Ve.filterIcon?fr=Ve.filterIcon:fr=oe.createElement(ul,null);const{direction:co}=oe.useContext(ll.E_);return oe.createElement("div",{className:`${We}-column`},oe.createElement("span",{className:`${De}-column-title`},bn),oe.createElement(Lt.Z,{dropdownRender:Fr,trigger:["click"],open:na,onOpenChange:Ea,getPopupContainer:ca,placement:co==="rtl"?"bottomLeft":"bottomRight"},oe.createElement("span",{role:"button",tabIndex:-1,className:Be()(`${We}-trigger`,{active:_r}),onClick:Cr=>{Cr.stopPropagation()}},fr)))}var Ae=xe;function He(ue,se,Pe){let De=[];return(ue||[]).forEach((We,Ve)=>{var rt;const ht=Tl(Ve,Pe);if(We.filters||"filterDropdown"in We||"onFilter"in We)if("filteredValue"in We){let st=We.filteredValue;"filterDropdown"in We||(st=(rt=st==null?void 0:st.map(String))!==null&&rt!==void 0?rt:st),De.push({column:We,key:Nl(We,ht),filteredKeys:st,forceFiltered:We.filtered})}else De.push({column:We,key:Nl(We,ht),filteredKeys:se&&We.defaultFilteredValue?We.defaultFilteredValue:void 0,forceFiltered:We.filtered});"children"in We&&(De=[].concat((0,lo.Z)(De),(0,lo.Z)(He(We.children,se,ht))))}),De}function Qe(ue,se,Pe,De,We,Ve,rt,ht){return Pe.map((st,Nt)=>{const Wt=Tl(Nt,ht),{filterMultiple:Rt=!0,filterMode:En,filterSearch:yn}=st;let bn=st;if(bn.filters||bn.filterDropdown){const ca=Nl(bn,Wt),Yn=De.find(va=>{let{key:ia}=va;return ca===ia});bn=Object.assign(Object.assign({},bn),{title:va=>oe.createElement(Ae,{tablePrefixCls:ue,prefixCls:`${ue}-filter`,dropdownPrefixCls:se,column:bn,columnKey:ca,filterState:Yn,filterMultiple:Rt,filterMode:En,filterSearch:yn,triggerFilter:Ve,locale:We,getPopupContainer:rt},Hl(st.title,va))})}return"children"in bn&&(bn=Object.assign(Object.assign({},bn),{children:Qe(ue,se,bn.children,De,We,Ve,rt,Wt)})),bn})}function ut(ue){const se={};return ue.forEach(Pe=>{let{key:De,filteredKeys:We,column:Ve}=Pe;const{filters:rt,filterDropdown:ht}=Ve;if(ht)se[De]=We||null;else if(Array.isArray(We)){const st=xn(rt);se[De]=st.filter(Nt=>We.includes(String(Nt)))}else se[De]=null}),se}function Dt(ue,se){return se.reduce((Pe,De)=>{const{column:{onFilter:We,filters:Ve},filteredKeys:rt}=De;return We&&rt&&rt.length?Pe.filter(ht=>rt.some(st=>{const Nt=xn(Ve),Wt=Nt.findIndex(En=>String(En)===String(st)),Rt=Wt!==-1?Nt[Wt]:st;return We(Rt,ht)})):Pe},ue)}const Mt=ue=>ue.flatMap(se=>"children"in se?[se].concat((0,lo.Z)(Mt(se.children||[]))):[se]);function Zt(ue){let{prefixCls:se,dropdownPrefixCls:Pe,mergedColumns:De,onFilterChange:We,getPopupContainer:Ve,locale:rt}=ue;const ht=oe.useMemo(()=>Mt(De||[]),[De]),[st,Nt]=oe.useState(()=>He(ht,!0)),Wt=oe.useMemo(()=>{const bn=He(ht,!1);if(bn.length===0)return bn;let ca=!0,Yn=!0;if(bn.forEach(va=>{let{filteredKeys:ia}=va;ia!==void 0?ca=!1:Yn=!1}),ca){const va=(ht||[]).map((ia,Ca)=>Nl(ia,Tl(Ca)));return st.filter(ia=>{let{key:Ca}=ia;return va.includes(Ca)}).map(ia=>{const Ca=ht[va.findIndex(nr=>nr===ia.key)];return Object.assign(Object.assign({},ia),{column:Object.assign(Object.assign({},ia.column),Ca),forceFiltered:Ca.filtered})})}return bn},[ht,st]),Rt=oe.useMemo(()=>ut(Wt),[Wt]),En=bn=>{const ca=Wt.filter(Yn=>{let{key:va}=Yn;return va!==bn.key});ca.push(bn),Nt(ca),We(ut(ca),ca)};return[bn=>Qe(se,Pe,bn,Wt,rt,En,Ve),Wt,Rt]}var bt=Zt;function fn(ue,se,Pe){const De=oe.useRef({});function We(Ve){if(!De.current||De.current.data!==ue||De.current.childrenColumnName!==se||De.current.getRowKey!==Pe){let ht=function(st){st.forEach((Nt,Wt)=>{const Rt=Pe(Nt,Wt);rt.set(Rt,Nt),Nt&&typeof Nt=="object"&&se in Nt&&ht(Nt[se]||[])})};const rt=new Map;ht(ue),De.current={data:ue,childrenColumnName:se,kvMap:rt,getRowKey:Pe}}return De.current.kvMap.get(Ve)}return[We]}var Rn=te(38780),jt=function(ue,se){var Pe={};for(var De in ue)Object.prototype.hasOwnProperty.call(ue,De)&&se.indexOf(De)<0&&(Pe[De]=ue[De]);if(ue!=null&&typeof Object.getOwnPropertySymbols=="function")for(var We=0,De=Object.getOwnPropertySymbols(ue);We<De.length;We++)se.indexOf(De[We])<0&&Object.prototype.propertyIsEnumerable.call(ue,De[We])&&(Pe[De[We]]=ue[De[We]]);return Pe};const mn=10;function In(ue,se){const Pe={current:ue.current,pageSize:ue.pageSize};return Object.keys(se&&typeof se=="object"?se:{}).forEach(We=>{const Ve=ue[We];typeof Ve!="function"&&(Pe[We]=Ve)}),Pe}function Sn(ue,se,Pe){const De=Pe&&typeof Pe=="object"?Pe:{},{total:We=0}=De,Ve=jt(De,["total"]),[rt,ht]=(0,oe.useState)(()=>({current:"defaultCurrent"in Ve?Ve.defaultCurrent:1,pageSize:"defaultPageSize"in Ve?Ve.defaultPageSize:mn})),st=(0,Rn.Z)(rt,Ve,{total:We>0?We:ue}),Nt=Math.ceil((We||ue)/st.pageSize);st.current>Nt&&(st.current=Nt||1);const Wt=(En,yn)=>{ht({current:En!=null?En:1,pageSize:yn||st.pageSize})},Rt=(En,yn)=>{var bn;Pe&&((bn=Pe.onChange)===null||bn===void 0||bn.call(Pe,En,yn)),Wt(En,yn),se(En,yn||(st==null?void 0:st.pageSize))};return Pe===!1?[{},()=>{}]:[Object.assign(Object.assign({},st),{onChange:Rt}),Wt]}var Kn=Sn,ma=te(42922),wa=te(29873),ha=te(97153),Pa=te(83898),aa=te(5663);const ea={},La="SELECT_ALL",Xn="SELECT_INVERT",Ia="SELECT_NONE",Wa=[],Ar=(ue,se)=>{let Pe=[];return(se||[]).forEach(De=>{Pe.push(De),De&&typeof De=="object"&&ue in De&&(Pe=[].concat((0,lo.Z)(Pe),(0,lo.Z)(Ar(ue,De[ue]))))}),Pe};var hr=(ue,se)=>{const{preserveSelectedRowKeys:Pe,selectedRowKeys:De,defaultSelectedRowKeys:We,getCheckboxProps:Ve,onChange:rt,onSelect:ht,onSelectAll:st,onSelectInvert:Nt,onSelectNone:Wt,onSelectMultiple:Rt,columnWidth:En,type:yn,selections:bn,fixed:ca,renderCell:Yn,hideSelectAll:va,checkStrictly:ia=!0}=se||{},{prefixCls:Ca,data:nr,pageData:mr,getRecordByKey:Ua,getRowKey:Tr,expandType:_r,childrenColumnName:ka,locale:na,getPopupContainer:kn}=ue,[la,Fa]=(0,aa.Z)(De||We||Wa,{value:De}),Aa=oe.useRef(new Map),Er=(0,oe.useCallback)(Ga=>{if(Pe){const wr=new Map;Ga.forEach(Fr=>{let fr=Ua(Fr);!fr&&Aa.current.has(Fr)&&(fr=Aa.current.get(Fr)),wr.set(Fr,fr)}),Aa.current=wr}},[Ua,Pe]);oe.useEffect(()=>{Er(la)},[la]);const{keyEntities:yr}=(0,oe.useMemo)(()=>{if(ia)return{keyEntities:null};let Ga=nr;if(Pe){const wr=new Set(nr.map((fr,co)=>Tr(fr,co))),Fr=Array.from(Aa.current).reduce((fr,co)=>{let[Cr,Jr]=co;return wr.has(Cr)?fr:fr.concat(Jr)},[]);Ga=[].concat((0,lo.Z)(Ga),(0,lo.Z)(Fr))}return(0,Pa.I8)(Ga,{externalGetKey:Tr,childrenPropName:ka})},[nr,Tr,ia,ka,Pe]),ar=(0,oe.useMemo)(()=>Ar(ka,mr),[ka,mr]),kr=(0,oe.useMemo)(()=>{const Ga=new Map;return ar.forEach((wr,Fr)=>{const fr=Tr(wr,Fr),co=(Ve?Ve(wr):null)||{};Ga.set(fr,co)}),Ga},[ar,Tr,Ve]),Ur=(0,oe.useCallback)(Ga=>{var wr;return!!(!((wr=kr.get(Tr(Ga)))===null||wr===void 0)&&wr.disabled)},[kr,Tr]),[ro,io]=(0,oe.useMemo)(()=>{if(ia)return[la||[],[]];const{checkedKeys:Ga,halfCheckedKeys:wr}=(0,ha.S)(la,!0,yr,Ur);return[Ga||[],wr]},[la,ia,yr,Ur]),Vo=(0,oe.useMemo)(()=>{const Ga=yn==="radio"?ro.slice(0,1):ro;return new Set(Ga)},[ro,yn]),Qo=(0,oe.useMemo)(()=>yn==="radio"?new Set:new Set(io),[io,yn]),[Vr,ii]=(0,oe.useState)(null);oe.useEffect(()=>{se||Fa(Wa)},[!!se]);const Ea=(0,oe.useCallback)((Ga,wr)=>{let Fr,fr;Er(Ga),Pe?(Fr=Ga,fr=Ga.map(co=>Aa.current.get(co))):(Fr=[],fr=[],Ga.forEach(co=>{const Cr=Ua(co);Cr!==void 0&&(Fr.push(co),fr.push(Cr))})),Fa(Fr),rt==null||rt(Fr,fr,{type:wr})},[Fa,Ua,rt,Pe]),xr=(0,oe.useCallback)((Ga,wr,Fr,fr)=>{if(ht){const co=Fr.map(Cr=>Ua(Cr));ht(Ua(Ga),wr,co,fr)}Ea(Fr,"single")},[ht,Ua,Ea]),Xr=(0,oe.useMemo)(()=>!bn||va?null:(bn===!0?[La,Xn,Ia]:bn).map(wr=>wr===La?{key:"all",text:na.selectionAll,onSelect(){Ea(nr.map((Fr,fr)=>Tr(Fr,fr)).filter(Fr=>{const fr=kr.get(Fr);return!(fr!=null&&fr.disabled)||Vo.has(Fr)}),"all")}}:wr===Xn?{key:"invert",text:na.selectInvert,onSelect(){const Fr=new Set(Vo);mr.forEach((co,Cr)=>{const Jr=Tr(co,Cr),xo=kr.get(Jr);xo!=null&&xo.disabled||(Fr.has(Jr)?Fr.delete(Jr):Fr.add(Jr))});const fr=Array.from(Fr);Nt&&Nt(fr),Ea(fr,"invert")}}:wr===Ia?{key:"none",text:na.selectNone,onSelect(){Wt==null||Wt(),Ea(Array.from(Vo).filter(Fr=>{const fr=kr.get(Fr);return fr==null?void 0:fr.disabled}),"none")}}:wr).map(wr=>Object.assign(Object.assign({},wr),{onSelect:function(){for(var Fr,fr,co=arguments.length,Cr=new Array(co),Jr=0;Jr<co;Jr++)Cr[Jr]=arguments[Jr];(fr=wr.onSelect)===null||fr===void 0||(Fr=fr).call.apply(Fr,[wr].concat(Cr)),ii(null)}})),[bn,Vo,mr,Tr,Nt,Ea]);return[(0,oe.useCallback)(Ga=>{var wr;if(!se)return Ga.filter(Io=>Io!==ea);let Fr=(0,lo.Z)(Ga);const fr=new Set(Vo),co=ar.map(Tr).filter(Io=>!kr.get(Io).disabled),Cr=co.every(Io=>fr.has(Io)),Jr=co.some(Io=>fr.has(Io)),xo=()=>{const Io=[];Cr?co.forEach(li=>{fr.delete(li),Io.push(li)}):co.forEach(li=>{fr.has(li)||(fr.add(li),Io.push(li))});const Zo=Array.from(fr);st==null||st(!Cr,Zo.map(li=>Ua(li)),Io.map(li=>Ua(li))),Ea(Zo,"all"),ii(null)};let po;if(yn!=="radio"){let Io;if(Xr){const uo={getPopupContainer:kn,items:Xr.map((sl,tl)=>{const{key:Cl,text:Ul,onSelect:Gl}=sl;return{key:Cl!=null?Cl:tl,onClick:()=>{Gl==null||Gl(co)},label:Ul}})};Io=oe.createElement("div",{className:`${Ca}-selection-extra`},oe.createElement(Lt.Z,{menu:uo,getPopupContainer:kn},oe.createElement("span",null,oe.createElement(ma.Z,null))))}const Zo=ar.map((uo,sl)=>{const tl=Tr(uo,sl),Cl=kr.get(tl)||{};return Object.assign({checked:fr.has(tl)},Cl)}).filter(uo=>{let{disabled:sl}=uo;return sl}),li=!!Zo.length&&Zo.length===ar.length,Di=li&&Zo.every(uo=>{let{checked:sl}=uo;return sl}),Oi=li&&Zo.some(uo=>{let{checked:sl}=uo;return sl});po=!va&&oe.createElement("div",{className:`${Ca}-selection`},oe.createElement(nt.default,{checked:li?Di:!!ar.length&&Cr,indeterminate:li?!Di&&Oi:!Cr&&Jr,onChange:xo,disabled:ar.length===0||li,"aria-label":Io?"Custom selection":"Select all",skipGroup:!0}),Io)}let el;yn==="radio"?el=(Io,Zo,li)=>{const Di=Tr(Zo,li),Oi=fr.has(Di);return{node:oe.createElement(Qa.ZP,Object.assign({},kr.get(Di),{checked:Oi,onClick:uo=>uo.stopPropagation(),onChange:uo=>{fr.has(Di)||xr(Di,!0,[Di],uo.nativeEvent)}})),checked:Oi}}:el=(Io,Zo,li)=>{var Di;const Oi=Tr(Zo,li),uo=fr.has(Oi),sl=Qo.has(Oi),tl=kr.get(Oi);let Cl;return _r==="nest"?Cl=sl:Cl=(Di=tl==null?void 0:tl.indeterminate)!==null&&Di!==void 0?Di:sl,{node:oe.createElement(nt.default,Object.assign({},tl,{indeterminate:Cl,checked:uo,skipGroup:!0,onClick:Ul=>Ul.stopPropagation(),onChange:Ul=>{let{nativeEvent:Gl}=Ul;const{shiftKey:cu}=Gl;let Xl=-1,Zl=-1;if(cu&&ia){const pl=new Set([Vr,Oi]);co.some((dl,Ii)=>{if(pl.has(dl))if(Xl===-1)Xl=Ii;else return Zl=Ii,!0;return!1})}if(Zl!==-1&&Xl!==Zl&&ia){const pl=co.slice(Xl,Zl+1),dl=[];uo?pl.forEach(ui=>{fr.has(ui)&&(dl.push(ui),fr.delete(ui))}):pl.forEach(ui=>{fr.has(ui)||(dl.push(ui),fr.add(ui))});const Ii=Array.from(fr);Rt==null||Rt(!uo,Ii.map(ui=>Ua(ui)),dl.map(ui=>Ua(ui))),Ea(Ii,"multiple")}else{const pl=ro;if(ia){const dl=uo?(0,wa._5)(pl,Oi):(0,wa.L0)(pl,Oi);xr(Oi,!uo,dl,Gl)}else{const dl=(0,ha.S)([].concat((0,lo.Z)(pl),[Oi]),!0,yr,Ur),{checkedKeys:Ii,halfCheckedKeys:ui}=dl;let Vl=Ii;if(uo){const su=new Set(Ii);su.delete(Oi),Vl=(0,ha.S)(Array.from(su),{checked:!1,halfCheckedKeys:ui},yr,Ur).checkedKeys}xr(Oi,!uo,Vl,Gl)}}ii(uo?null:Oi)}})),checked:uo}};const _i=(Io,Zo,li)=>{const{node:Di,checked:Oi}=el(Io,Zo,li);return Yn?Yn(Oi,Zo,li,Di):Di};if(!Fr.includes(ea))if(Fr.findIndex(Io=>{var Zo;return((Zo=Io[Ci])===null||Zo===void 0?void 0:Zo.columnType)==="EXPAND_COLUMN"})===0){const[Io,...Zo]=Fr;Fr=[Io,ea].concat((0,lo.Z)(Zo))}else Fr=[ea].concat((0,lo.Z)(Fr));const Kl=Fr.indexOf(ea);Fr=Fr.filter((Io,Zo)=>Io!==ea||Zo===Kl);const Fi=Fr[Kl-1],kl=Fr[Kl+1];let Bi=ca;Bi===void 0&&((kl==null?void 0:kl.fixed)!==void 0?Bi=kl.fixed:(Fi==null?void 0:Fi.fixed)!==void 0&&(Bi=Fi.fixed)),Bi&&Fi&&((wr=Fi[Ci])===null||wr===void 0?void 0:wr.columnType)==="EXPAND_COLUMN"&&Fi.fixed===void 0&&(Fi.fixed=Bi);const vl=Be()(`${Ca}-selection-col`,{[`${Ca}-selection-col-with-dropdown`]:bn&&yn==="checkbox"}),uu={fixed:Bi,width:En,className:`${Ca}-selection-column`,title:se.columnTitle||po,render:_i,onCell:se.onCell,[Ci]:{className:vl}};return Fr.map(Io=>Io===ea?uu:Io)},[Tr,ar,se,ro,Vo,Qo,En,Xr,_r,Vr,kr,Rt,xr,Ur]),Vo]},ja=te(33463),Sr=te(28575),Ha=te(83062);const Na="ascend",$a="descend";function to(ue){return typeof ue.sorter=="object"&&typeof ue.sorter.multiple=="number"?ue.sorter.multiple:!1}function it(ue){return typeof ue=="function"?ue:ue&&typeof ue=="object"&&ue.compare?ue.compare:!1}function Zn(ue,se){return se?ue[ue.indexOf(se)+1]:ue[0]}function Oa(ue,se,Pe){let De=[];function We(Ve,rt){De.push({column:Ve,key:Nl(Ve,rt),multiplePriority:to(Ve),sortOrder:Ve.sortOrder})}return(ue||[]).forEach((Ve,rt)=>{const ht=Tl(rt,Pe);Ve.children?("sortOrder"in Ve&&We(Ve,ht),De=[].concat((0,lo.Z)(De),(0,lo.Z)(Oa(Ve.children,se,ht)))):Ve.sorter&&("sortOrder"in Ve?We(Ve,ht):se&&Ve.defaultSortOrder&&De.push({column:Ve,key:Nl(Ve,ht),multiplePriority:to(Ve),sortOrder:Ve.defaultSortOrder}))}),De}function Pn(ue,se,Pe,De,We,Ve,rt,ht){return(se||[]).map((st,Nt)=>{const Wt=Tl(Nt,ht);let Rt=st;if(Rt.sorter){const En=Rt.sortDirections||We,yn=Rt.showSorterTooltip===void 0?rt:Rt.showSorterTooltip,bn=Nl(Rt,Wt),ca=Pe.find(_r=>{let{key:ka}=_r;return ka===bn}),Yn=ca?ca.sortOrder:null,va=Zn(En,Yn);let ia;if(st.sortIcon)ia=st.sortIcon({sortOrder:Yn});else{const _r=En.includes(Na)&&oe.createElement(Sr.Z,{className:Be()(`${ue}-column-sorter-up`,{active:Yn===Na})}),ka=En.includes($a)&&oe.createElement(ja.Z,{className:Be()(`${ue}-column-sorter-down`,{active:Yn===$a})});ia=oe.createElement("span",{className:Be()(`${ue}-column-sorter`,{[`${ue}-column-sorter-full`]:!!(_r&&ka)})},oe.createElement("span",{className:`${ue}-column-sorter-inner`,"aria-hidden":"true"},_r,ka))}const{cancelSort:Ca,triggerAsc:nr,triggerDesc:mr}=Ve||{};let Ua=Ca;va===$a?Ua=mr:va===Na&&(Ua=nr);const Tr=typeof yn=="object"?yn:{title:Ua};Rt=Object.assign(Object.assign({},Rt),{className:Be()(Rt.className,{[`${ue}-column-sort`]:Yn}),title:_r=>{const ka=oe.createElement("div",{className:`${ue}-column-sorters`},oe.createElement("span",{className:`${ue}-column-title`},Hl(st.title,_r)),ia);return yn?oe.createElement(Ha.Z,Object.assign({},Tr),ka):ka},onHeaderCell:_r=>{const ka=st.onHeaderCell&&st.onHeaderCell(_r)||{},na=ka.onClick,kn=ka.onKeyDown;ka.onClick=Aa=>{De({column:st,key:bn,sortOrder:va,multiplePriority:to(st)}),na==null||na(Aa)},ka.onKeyDown=Aa=>{Aa.keyCode===yt.Z.ENTER&&(De({column:st,key:bn,sortOrder:va,multiplePriority:to(st)}),kn==null||kn(Aa))};const la=ql(st.title,{}),Fa=la==null?void 0:la.toString();return Yn?ka["aria-sort"]=Yn==="ascend"?"ascending":"descending":ka["aria-label"]=Fa||"",ka.className=Be()(ka.className,`${ue}-column-has-sorters`),ka.tabIndex=0,st.ellipsis&&(ka.title=(la!=null?la:"").toString()),ka}})}return"children"in Rt&&(Rt=Object.assign(Object.assign({},Rt),{children:Pn(ue,Rt.children,Pe,De,We,Ve,rt,Wt)})),Rt})}function Yt(ue){const{column:se,sortOrder:Pe}=ue;return{column:se,order:Pe,field:se.dataIndex,columnKey:se.key}}function Ra(ue){const se=ue.filter(Pe=>{let{sortOrder:De}=Pe;return De}).map(Yt);return se.length===0&&ue.length?Object.assign(Object.assign({},Yt(ue[ue.length-1])),{column:void 0}):se.length<=1?se[0]||{}:se}function Wn(ue,se,Pe){const De=se.slice().sort((rt,ht)=>ht.multiplePriority-rt.multiplePriority),We=ue.slice(),Ve=De.filter(rt=>{let{column:{sorter:ht},sortOrder:st}=rt;return it(ht)&&st});return Ve.length?We.sort((rt,ht)=>{for(let st=0;st<Ve.length;st+=1){const Nt=Ve[st],{column:{sorter:Wt},sortOrder:Rt}=Nt,En=it(Wt);if(En&&Rt){const yn=En(rt,ht,Rt);if(yn!==0)return Rt===Na?yn:-yn}}return 0}).map(rt=>{const ht=rt[Pe];return ht?Object.assign(Object.assign({},rt),{[Pe]:Wn(ht,se,Pe)}):rt}):We}function pn(ue){let{prefixCls:se,mergedColumns:Pe,onSorterChange:De,sortDirections:We,tableLocale:Ve,showSorterTooltip:rt}=ue;const[ht,st]=oe.useState(Oa(Pe,!0)),Nt=oe.useMemo(()=>{let bn=!0;const ca=Oa(Pe,!1);if(!ca.length)return ht;const Yn=[];function va(Ca){bn?Yn.push(Ca):Yn.push(Object.assign(Object.assign({},Ca),{sortOrder:null}))}let ia=null;return ca.forEach(Ca=>{ia===null?(va(Ca),Ca.sortOrder&&(Ca.multiplePriority===!1?bn=!1:ia=!0)):(ia&&Ca.multiplePriority!==!1||(bn=!1),va(Ca))}),Yn},[Pe,ht]),Wt=oe.useMemo(()=>{const bn=Nt.map(ca=>{let{column:Yn,sortOrder:va}=ca;return{column:Yn,order:va}});return{sortColumns:bn,sortColumn:bn[0]&&bn[0].column,sortOrder:bn[0]&&bn[0].order}},[Nt]);function Rt(bn){let ca;bn.multiplePriority===!1||!Nt.length||Nt[0].multiplePriority===!1?ca=[bn]:ca=[].concat((0,lo.Z)(Nt.filter(Yn=>{let{key:va}=Yn;return va!==bn.key})),[bn]),st(ca),De(Ra(ca),ca)}return[bn=>Pn(se,bn,Nt,Rt,We,Ve,rt),Nt,Wt,()=>Ra(Nt)]}function Tn(ue,se){return ue.map(Pe=>{const De=Object.assign({},Pe);return De.title=Hl(Pe.title,se),"children"in De&&(De.children=Tn(De.children,se)),De})}function or(ue){return[oe.useCallback(Pe=>Tn(Pe,ue),[ue])]}var Ta=jo((ue,se)=>{const{_renderTimes:Pe}=ue,{_renderTimes:De}=se;return Pe!==De}),Wr=Lo((ue,se)=>{const{_renderTimes:Pe}=ue,{_renderTimes:De}=se;return Pe!==De}),Dr=te(84780),Un=te(14747),dr=te(67968),Pr=te(45503),jr=ue=>{const{componentCls:se}=ue,Pe=`${ue.lineWidth}px ${ue.lineType} ${ue.tableBorderColor}`,De=(We,Ve,rt)=>({[`&${se}-${We}`]:{[`> ${se}-container`]:{[`> ${se}-content, > ${se}-body`]:{"\n > table > tbody > tr > th,\n > table > tbody > tr > td\n ":{[`> ${se}-expanded-row-fixed`]:{margin:`-${Ve}px -${rt+ue.lineWidth}px`}}}}}});return{[`${se}-wrapper`]:{[`${se}${se}-bordered`]:Object.assign(Object.assign(Object.assign({[`> ${se}-title`]:{border:Pe,borderBottom:0},[`> ${se}-container`]:{borderInlineStart:Pe,borderTop:Pe,[`
> ${se}-content,
> ${se}-header,
> ${se}-body,
> ${se}-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:Pe},"> thead":{"> tr:not(:last-child) > th":{borderBottom:Pe},"> tr > th::before":{backgroundColor:"transparent !important"}},"\n > thead > tr,\n > tbody > tr,\n > tfoot > tr\n ":{[`> ${se}-cell-fix-right-first::after`]:{borderInlineEnd:Pe}},"\n > tbody > tr > th,\n > tbody > tr > td\n ":{[`> ${se}-expanded-row-fixed`]:{margin:`-${ue.tablePaddingVertical}px -${ue.tablePaddingHorizontal+ue.lineWidth}px`,"&::after":{position:"absolute",top:0,insetInlineEnd:ue.lineWidth,bottom:0,borderInlineEnd:Pe,content:'""'}}}}}},[`&${se}-scroll-horizontal`]:{[`> ${se}-container > ${se}-body`]:{"> table > tbody":{[`
> tr${se}-expanded-row,
> tr${se}-placeholder
`]:{"> th, > td":{borderInlineEnd:0}}}}}},De("middle",ue.tablePaddingVerticalMiddle,ue.tablePaddingHorizontalMiddle)),De("small",ue.tablePaddingVerticalSmall,ue.tablePaddingHorizontalSmall)),{[`> ${se}-footer`]:{border:Pe,borderTop:0}}),[`${se}-cell`]:{[`${se}-container:first-child`]:{borderTop:0},"&-scrollbar:not([rowspan])":{boxShadow:`0 ${ue.lineWidth}px 0 ${ue.lineWidth}px ${ue.tableHeaderBg}`}},[`${se}-bordered ${se}-cell-scrollbar`]:{borderInlineEnd:Pe}}}},Fo=ue=>{const{componentCls:se}=ue;return{[`${se}-wrapper`]:{[`${se}-cell-ellipsis`]:Object.assign(Object.assign({},Un.vS),{wordBreak:"keep-all",[`
&${se}-cell-fix-left-last,
&${se}-cell-fix-right-first
`]:{overflow:"visible",[`${se}-cell-content`]:{display:"block",overflow:"hidden",textOverflow:"ellipsis"}},[`${se}-column-title`]:{overflow:"hidden",textOverflow:"ellipsis",wordBreak:"keep-all"}})}}},Ko=ue=>{const{componentCls:se}=ue;return{[`${se}-wrapper`]:{[`${se}-tbody > tr${se}-placeholder`]:{textAlign:"center",color:ue.colorTextDisabled,"\n &:hover > th,\n &:hover > td,\n ":{background:ue.colorBgContainer}}}}},ai=te(49867),fo=ue=>{const{componentCls:se,antCls:Pe,controlInteractiveSize:De,motionDurationSlow:We,lineWidth:Ve,paddingXS:rt,lineType:ht,tableBorderColor:st,tableExpandIconBg:Nt,tableExpandColumnWidth:Wt,borderRadius:Rt,fontSize:En,fontSizeSM:yn,lineHeight:bn,tablePaddingVertical:ca,tablePaddingHorizontal:Yn,tableExpandedRowBg:va,paddingXXS:ia}=ue,Ca=De/2-Ve,nr=Ca*2+Ve*3,mr=`${Ve}px ${ht} ${st}`,Ua=ia-Ve;return{[`${se}-wrapper`]:{[`${se}-expand-icon-col`]:{width:Wt},[`${se}-row-expand-icon-cell`]:{textAlign:"center",[`${se}-row-expand-icon`]:{display:"inline-flex",float:"none",verticalAlign:"sub"}},[`${se}-row-indent`]:{height:1,float:"left"},[`${se}-row-expand-icon`]:Object.assign(Object.assign({},(0,ai.N)(ue)),{position:"relative",float:"left",boxSizing:"border-box",width:nr,height:nr,padding:0,color:"inherit",lineHeight:`${nr}px`,background:Nt,border:mr,borderRadius:Rt,transform:`scale(${De/nr})`,transition:`all ${We}`,userSelect:"none","&:focus, &:hover, &:active":{borderColor:"currentcolor"},"&::before, &::after":{position:"absolute",background:"currentcolor",transition:`transform ${We} ease-out`,content:'""'},"&::before":{top:Ca,insetInlineEnd:Ua,insetInlineStart:Ua,height:Ve},"&::after":{top:Ua,bottom:Ua,insetInlineStart:Ca,width:Ve,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"}}),[`${se}-row-indent + ${se}-row-expand-icon`]:{marginTop:(En*bn-Ve*3)/2-Math.ceil((yn*1.4-Ve*3)/2),marginInlineEnd:rt},[`tr${se}-expanded-row`]:{"&, &:hover":{"> th, > td":{background:va}},[`${Pe}-descriptions-view`]:{display:"flex",table:{flex:"auto",width:"auto"}}},[`${se}-expanded-row-fixed`]:{position:"relative",margin:`-${ca}px -${Yn}px`,padding:`${ca}px ${Yn}px`}}}},ri=ue=>{const{componentCls:se,antCls:Pe,iconCls:De,tableFilterDropdownWidth:We,tableFilterDropdownSearchWidth:Ve,paddingXXS:rt,paddingXS:ht,colorText:st,lineWidth:Nt,lineType:Wt,tableBorderColor:Rt,tableHeaderIconColor:En,fontSizeSM:yn,tablePaddingHorizontal:bn,borderRadius:ca,motionDurationSlow:Yn,colorTextDescription:va,colorPrimary:ia,tableHeaderFilterActiveBg:Ca,colorTextDisabled:nr,tableFilterDropdownBg:mr,tableFilterDropdownHeight:Ua,controlItemBgHover:Tr,controlItemBgActive:_r,boxShadowSecondary:ka,filterDropdownMenuBg:na}=ue,kn=`${Pe}-dropdown`,la=`${se}-filter-dropdown`,Fa=`${Pe}-tree`,Aa=`${Nt}px ${Wt} ${Rt}`;return[{[`${se}-wrapper`]:{[`${se}-filter-column`]:{display:"flex",justifyContent:"space-between"},[`${se}-filter-trigger`]:{position:"relative",display:"flex",alignItems:"center",marginBlock:-rt,marginInline:`${rt}px ${-bn/2}px`,padding:`0 ${rt}px`,color:En,fontSize:yn,borderRadius:ca,cursor:"pointer",transition:`all ${Yn}`,"&:hover":{color:va,background:Ca},"&.active":{color:ia}}}},{[`${Pe}-dropdown`]:{[la]:Object.assign(Object.assign({},(0,Un.Wf)(ue)),{minWidth:We,backgroundColor:mr,borderRadius:ca,boxShadow:ka,overflow:"hidden",[`${kn}-menu`]:{maxHeight:Ua,overflowX:"hidden",border:0,boxShadow:"none",borderRadius:"unset",backgroundColor:na,"&:empty::after":{display:"block",padding:`${ht}px 0`,color:nr,fontSize:yn,textAlign:"center",content:'"Not Found"'}},[`${la}-tree`]:{paddingBlock:`${ht}px 0`,paddingInline:ht,[Fa]:{padding:0},[`${Fa}-treenode ${Fa}-node-content-wrapper:hover`]:{backgroundColor:Tr},[`${Fa}-treenode-checkbox-checked ${Fa}-node-content-wrapper`]:{"&, &:hover":{backgroundColor:_r}}},[`${la}-search`]:{padding:ht,borderBottom:Aa,"&-input":{input:{minWidth:Ve},[De]:{color:nr}}},[`${la}-checkall`]:{width:"100%",marginBottom:rt,marginInlineStart:rt},[`${la}-btns`]:{display:"flex",justifyContent:"space-between",padding:`${ht-Nt}px ${ht}px`,overflow:"hidden",borderTop:Aa}})}},{[`${Pe}-dropdown ${la}, ${la}-submenu`]:{[`${Pe}-checkbox-wrapper + span`]:{paddingInlineStart:ht,color:st},"> ul":{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]},yo=ue=>{const{componentCls:se,lineWidth:Pe,colorSplit:De,motionDurationSlow:We,zIndexTableFixed:Ve,tableBg:rt,zIndexTableSticky:ht}=ue,st=De;return{[`${se}-wrapper`]:{[`
${se}-cell-fix-left,
${se}-cell-fix-right
`]:{position:"sticky !important",zIndex:Ve,background:rt},[`
${se}-cell-fix-left-first::after,
${se}-cell-fix-left-last::after
`]:{position:"absolute",top:0,right:{_skip_check_:!0,value:0},bottom:-Pe,width:30,transform:"translateX(100%)",transition:`box-shadow ${We}`,content:'""',pointerEvents:"none"},[`${se}-cell-fix-left-all::after`]:{display:"none"},[`
${se}-cell-fix-right-first::after,
${se}-cell-fix-right-last::after
`]:{position:"absolute",top:0,bottom:-Pe,left:{_skip_check_:!0,value:0},width:30,transform:"translateX(-100%)",transition:`box-shadow ${We}`,content:'""',pointerEvents:"none"},[`${se}-container`]:{"&::before, &::after":{position:"absolute",top:0,bottom:0,zIndex:ht+1,width:30,transition:`box-shadow ${We}`,content:'""',pointerEvents:"none"},"&::before":{insetInlineStart:0},"&::after":{insetInlineEnd:0}},[`${se}-ping-left`]:{[`&:not(${se}-has-fix-left) ${se}-container`]:{position:"relative","&::before":{boxShadow:`inset 10px 0 8px -8px ${st}`}},[`
${se}-cell-fix-left-first::after,
${se}-cell-fix-left-last::after
`]:{boxShadow:`inset 10px 0 8px -8px ${st}`},[`${se}-cell-fix-left-last::before`]:{backgroundColor:"transparent !important"}},[`${se}-ping-right`]:{[`&:not(${se}-has-fix-right) ${se}-container`]:{position:"relative","&::after":{boxShadow:`inset -10px 0 8px -8px ${st}`}},[`
${se}-cell-fix-right-first::after,
${se}-cell-fix-right-last::after
`]:{boxShadow:`inset -10px 0 8px -8px ${st}`}}}}},oi=ue=>{const{componentCls:se,antCls:Pe}=ue;return{[`${se}-wrapper`]:{[`${se}-pagination${Pe}-pagination`]:{margin:`${ue.margin}px 0`},[`${se}-pagination`]:{display:"flex",flexWrap:"wrap",rowGap:ue.paddingXS,"> *":{flex:"none"},"&-left":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-right":{justifyContent:"flex-end"}}}}},No=ue=>{const{componentCls:se,tableRadius:Pe}=ue;return{[`${se}-wrapper`]:{[se]:{[`${se}-title, ${se}-header`]:{borderRadius:`${Pe}px ${Pe}px 0 0`},[`${se}-title + ${se}-container`]:{borderStartStartRadius:0,borderStartEndRadius:0,[`${se}-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:Pe,borderStartEndRadius:Pe,"table > thead > tr:first-child":{"> *:first-child":{borderStartStartRadius:Pe},"> *:last-child":{borderStartEndRadius:Pe}}},"&-footer":{borderRadius:`0 0 ${Pe}px ${Pe}px`}}}}},Pi=ue=>{const{componentCls:se}=ue;return{[`${se}-wrapper-rtl`]:{direction:"rtl",table:{direction:"rtl"},[`${se}-pagination-left`]:{justifyContent:"flex-end"},[`${se}-pagination-right`]:{justifyContent:"flex-start"},[`${se}-row-expand-icon`]:{float:"right","&::after":{transform:"rotate(-90deg)"},"&-collapsed::before":{transform:"rotate(180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"}},[`${se}-container`]:{"&::before":{insetInlineStart:"unset",insetInlineEnd:0},"&::after":{insetInlineStart:0,insetInlineEnd:"unset"},[`${se}-row-indent`]:{float:"right"}}}}},Yi=ue=>{const{componentCls:se,antCls:Pe,iconCls:De,fontSizeIcon:We,padding:Ve,paddingXS:rt,tableHeaderIconColor:ht,tableHeaderIconColorHover:st,tableSelectionColumnWidth:Nt}=ue;return{[`${se}-wrapper`]:{[`${se}-selection-col`]:{width:Nt,[`&${se}-selection-col-with-dropdown`]:{width:Nt+We+Ve/4}},[`${se}-bordered ${se}-selection-col`]:{width:Nt+rt*2,[`&${se}-selection-col-with-dropdown`]:{width:Nt+We+Ve/4+rt*2}},[`
table tr th${se}-selection-column,
table tr td${se}-selection-column
`]:{paddingInlineEnd:ue.paddingXS,paddingInlineStart:ue.paddingXS,textAlign:"center",[`${Pe}-radio-wrapper`]:{marginInlineEnd:0}},[`table tr th${se}-selection-column${se}-cell-fix-left`]:{zIndex:ue.zIndexTableFixed+1},[`table tr th${se}-selection-column::after`]:{backgroundColor:"transparent !important"},[`${se}-selection`]:{position:"relative",display:"inline-flex",flexDirection:"column"},[`${se}-selection-extra`]:{position:"absolute",top:0,zIndex:1,cursor:"pointer",transition:`all ${ue.motionDurationSlow}`,marginInlineStart:"100%",paddingInlineStart:`${ue.tablePaddingHorizontal/4}px`,[De]:{color:ht,fontSize:We,verticalAlign:"baseline","&:hover":{color:st}}}}}},qi=ue=>{const{componentCls:se}=ue,Pe=(De,We,Ve,rt)=>({[`${se}${se}-${De}`]:{fontSize:rt,[`
${se}-title,
${se}-footer,
${se}-cell,
${se}-thead > tr > th,
${se}-tbody > tr > th,
${se}-tbody > tr > td,
tfoot > tr > th,
tfoot > tr > td
`]:{padding:`${We}px ${Ve}px`},[`${se}-filter-trigger`]:{marginInlineEnd:`-${Ve/2}px`},[`${se}-expanded-row-fixed`]:{margin:`-${We}px -${Ve}px`},[`${se}-tbody`]:{[`${se}-wrapper:only-child ${se}`]:{marginBlock:`-${We}px`,marginInline:`${ue.tableExpandColumnWidth-Ve}px -${Ve}px`}},[`${se}-selection-column`]:{paddingInlineStart:`${Ve/4}px`}}});return{[`${se}-wrapper`]:Object.assign(Object.assign({},Pe("middle",ue.tablePaddingVerticalMiddle,ue.tablePaddingHorizontalMiddle,ue.tableFontSizeMiddle)),Pe("small",ue.tablePaddingVerticalSmall,ue.tablePaddingHorizontalSmall,ue.tableFontSizeSmall))}},Do=ue=>{const{componentCls:se,marginXXS:Pe,fontSizeIcon:De,tableHeaderIconColor:We,tableHeaderIconColorHover:Ve}=ue;return{[`${se}-wrapper`]:{[`${se}-thead th${se}-column-has-sorters`]:{outline:"none",cursor:"pointer",transition:`all ${ue.motionDurationSlow}`,"&:hover":{background:ue.tableHeaderSortHoverBg,"&::before":{backgroundColor:"transparent !important"}},"&:focus-visible":{color:ue.colorPrimary},[`
&${se}-cell-fix-left:hover,
&${se}-cell-fix-right:hover
`]:{background:ue.tableFixedHeaderSortActiveBg}},[`${se}-thead th${se}-column-sort`]:{background:ue.tableHeaderSortBg,"&::before":{backgroundColor:"transparent !important"}},[`td${se}-column-sort`]:{background:ue.tableBodySortBg},[`${se}-column-title`]:{position:"relative",zIndex:1,flex:1},[`${se}-column-sorters`]:{display:"flex",flex:"auto",alignItems:"center",justifyContent:"space-between","&::after":{position:"absolute",inset:0,width:"100%",height:"100%",content:'""'}},[`${se}-column-sorter`]:{marginInlineStart:Pe,color:We,fontSize:0,transition:`color ${ue.motionDurationSlow}`,"&-inner":{display:"inline-flex",flexDirection:"column",alignItems:"center"},"&-up, &-down":{fontSize:De,"&.active":{color:ue.colorPrimary}},[`${se}-column-sorter-up + ${se}-column-sorter-down`]:{marginTop:"-0.3em"}},[`${se}-column-sorters:hover ${se}-column-sorter`]:{color:Ve}}}},Go=ue=>{const{componentCls:se,opacityLoading:Pe,tableScrollThumbBg:De,tableScrollThumbBgHover:We,tableScrollThumbSize:Ve,tableScrollBg:rt,zIndexTableSticky:ht,stickyScrollBarBorderRadius:st}=ue,Nt=`${ue.lineWidth}px ${ue.lineType} ${ue.tableBorderColor}`;return{[`${se}-wrapper`]:{[`${se}-sticky`]:{"&-holder":{position:"sticky",zIndex:ht,background:ue.colorBgContainer},"&-scroll":{position:"sticky",bottom:0,height:`${Ve}px !important`,zIndex:ht,display:"flex",alignItems:"center",background:rt,borderTop:Nt,opacity:Pe,"&:hover":{transformOrigin:"center bottom"},"&-bar":{height:Ve,backgroundColor:De,borderRadius:st,transition:`all ${ue.motionDurationSlow}, transform none`,position:"absolute",bottom:0,"&:hover, &-active":{backgroundColor:We}}}}}}},ei=ue=>{const{componentCls:se,lineWidth:Pe,tableBorderColor:De}=ue,We=`${Pe}px ${ue.lineType} ${De}`;return{[`${se}-wrapper`]:{[`${se}-summary`]:{position:"relative",zIndex:ue.zIndexTableFixed,background:ue.tableBg,"> tr":{"> th, > td":{borderBottom:We}}},[`div${se}-summary`]:{boxShadow:`0 -${Pe}px 0 ${De}`}}}},Mr=ue=>{const{componentCls:se}=ue,Pe=`${ue.lineWidth}px ${ue.lineType} ${ue.tableBorderColor}`,De=`${se}-expanded-row-cell`;return{[`${se}-wrapper`]:{[`${se}-tbody-virtual`]:{[`${se}-row`]:{display:"flex",boxSizing:"border-box",width:"100%"},[`${se}-cell`]:{borderBottom:Pe},[`${se}-expanded-row`]:{[`${De}${De}-fixed`]:{position:"sticky",insetInlineStart:0,overflow:"hidden",width:`calc(var(--virtual-width) - ${ue.lineWidth}px)`,borderInlineEnd:"none"}}},[`${se}-bordered`]:{[`${se}-tbody-virtual`]:{"&:after":{content:'""',insetInline:0,bottom:0,borderBottom:Pe,position:"absolute"},[`${se}-cell`]:{borderInlineEnd:Pe,[`&${se}-cell-fix-right-first:before`]:{content:'""',position:"absolute",insetBlock:0,insetInlineStart:-ue.lineWidth,borderInlineStart:Pe}}}}}}};const fa=ue=>{const{componentCls:se,fontWeightStrong:Pe,tablePaddingVertical:De,tablePaddingHorizontal:We,lineWidth:Ve,lineType:rt,tableBorderColor:ht,tableFontSize:st,tableBg:Nt,tableRadius:Wt,tableHeaderTextColor:Rt,motionDurationMid:En,tableHeaderBg:yn,tableHeaderCellSplitColor:bn,tableRowHoverBg:ca,tableSelectedRowBg:Yn,tableSelectedRowHoverBg:va,tableFooterTextColor:ia,tableFooterBg:Ca,paddingContentVerticalLG:nr}=ue,mr=`${Ve}px ${rt} ${ht}`;return{[`${se}-wrapper`]:Object.assign(Object.assign({clear:"both",maxWidth:"100%"},(0,Un.dF)()),{[se]:Object.assign(Object.assign({},(0,Un.Wf)(ue)),{fontSize:st,background:Nt,borderRadius:`${Wt}px ${Wt}px 0 0`}),table:{width:"100%",textAlign:"start",borderRadius:`${Wt}px ${Wt}px 0 0`,borderCollapse:"separate",borderSpacing:0},[`
${se}-cell,
${se}-thead > tr > th,
${se}-tbody > tr > th,
${se}-tbody > tr > td,
tfoot > tr > th,
tfoot > tr > td
`]:{position:"relative",padding:`${nr}px ${We}px`,overflowWrap:"break-word"},[`${se}-title`]:{padding:`${De}px ${We}px`},[`${se}-thead`]:{"\n > tr > th,\n > tr > td\n ":{position:"relative",color:Rt,fontWeight:Pe,textAlign:"start",background:yn,borderBottom:mr,transition:`background ${En} ease`,"&[colspan]:not([colspan='1'])":{textAlign:"center"},[`&:not(:last-child):not(${se}-selection-column):not(${se}-row-expand-icon-cell):not([colspan])::before`]:{position:"absolute",top:"50%",insetInlineEnd:0,width:1,height:"1.6em",backgroundColor:bn,transform:"translateY(-50%)",transition:`background-color ${En}`,content:'""'}},"> tr:not(:last-child) > th[colspan]":{borderBottom:0}},[`${se}-tbody`]:{"> tr":{"> th, > td":{transition:`background ${En}, border-color ${En}`,borderBottom:mr,[`
> ${se}-wrapper:only-child,
> ${se}-expanded-row-fixed > ${se}-wrapper:only-child
`]:{[se]:{marginBlock:`-${De}px`,marginInline:`${ue.tableExpandColumnWidth-We}px -${We}px`,[`${se}-tbody > tr:last-child > td`]:{borderBottom:0,"&:first-child, &:last-child":{borderRadius:0}}}}},"> th":{position:"relative",color:Rt,fontWeight:Pe,textAlign:"start",background:yn,borderBottom:mr,transition:`background ${En} ease`},[`
&${se}-row:hover > th,
&${se}-row:hover > td,
> th${se}-cell-row-hover,
> td${se}-cell-row-hover
`]:{background:ca},[`&${se}-row-selected`]:{"> th, > td":{background:Yn},"&:hover > th, &:hover > td":{background:va}}}},[`${se}-footer`]:{padding:`${De}px ${We}px`,color:ia,background:Ca}})}};var tr=(0,dr.Z)("Table",ue=>{const{colorTextHeading:se,colorSplit:Pe,colorIcon:De,colorIconHover:We,opacityLoading:Ve,colorBgContainer:rt,controlInteractiveSize:ht,headerBg:st,headerColor:Nt,headerSortActiveBg:Wt,headerSortHoverBg:Rt,bodySortBg:En,rowHoverBg:yn,rowSelectedBg:bn,rowSelectedHoverBg:ca,rowExpandedBg:Yn,cellPaddingBlock:va,cellPaddingInline:ia,cellPaddingBlockMD:Ca,cellPaddingInlineMD:nr,cellPaddingBlockSM:mr,cellPaddingInlineSM:Ua,borderColor:Tr,footerBg:_r,footerColor:ka,headerBorderRadius:na,cellFontSize:kn,cellFontSizeMD:la,cellFontSizeSM:Fa,headerSplitColor:Aa,fixedHeaderSortActiveBg:Er,headerFilterHoverBg:yr,filterDropdownBg:ar,expandIconBg:kr,selectionColumnWidth:Ur,stickyScrollBarBg:ro}=ue,io=new Dr.C(De),Vo=new Dr.C(We),Qo=2,Vr=(0,Pr.TS)(ue,{tableFontSize:kn,tableBg:rt,tableRadius:na,tablePaddingVertical:va,tablePaddingHorizontal:ia,tablePaddingVerticalMiddle:Ca,tablePaddingHorizontalMiddle:nr,tablePaddingVerticalSmall:mr,tablePaddingHorizontalSmall:Ua,tableBorderColor:Tr,tableHeaderTextColor:Nt,tableHeaderBg:st,tableFooterTextColor:ka,tableFooterBg:_r,tableHeaderCellSplitColor:Aa,tableHeaderSortBg:Wt,tableHeaderSortHoverBg:Rt,tableHeaderIconColor:io.clone().setAlpha(io.getAlpha()*Ve).toRgbString(),tableHeaderIconColorHover:Vo.clone().setAlpha(Vo.getAlpha()*Ve).toRgbString(),tableBodySortBg:En,tableFixedHeaderSortActiveBg:Er,tableHeaderFilterActiveBg:yr,tableFilterDropdownBg:ar,tableRowHoverBg:yn,tableSelectedRowBg:bn,tableSelectedRowHoverBg:ca,zIndexTableFixed:Qo,zIndexTableSticky:Qo+1,tableFontSizeMiddle:la,tableFontSizeSmall:Fa,tableSelectionColumnWidth:Ur,tableExpandIconBg:kr,tableExpandColumnWidth:ht+2*ue.padding,tableExpandedRowBg:Yn,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:ro,tableScrollThumbBgHover:se,tableScrollBg:Pe});return[fa(Vr),oi(Vr),ei(Vr),Do(Vr),ri(Vr),jr(Vr),No(Vr),fo(Vr),ei(Vr),Ko(Vr),Yi(Vr),yo(Vr),Go(Vr),Fo(Vr),qi(Vr),Pi(Vr),Mr(Vr)]},ue=>{const{colorFillAlter:se,colorBgContainer:Pe,colorTextHeading:De,colorFillSecondary:We,colorFillContent:Ve,controlItemBgActive:rt,controlItemBgActiveHover:ht,padding:st,paddingSM:Nt,paddingXS:Wt,colorBorderSecondary:Rt,borderRadiusLG:En,fontSize:yn,controlHeight:bn,colorTextPlaceholder:ca}=ue,Yn=new Dr.C(We).onBackground(Pe).toHexShortString(),va=new Dr.C(Ve).onBackground(Pe).toHexShortString(),ia=new Dr.C(se).onBackground(Pe).toHexShortString();return{headerBg:ia,headerColor:De,headerSortActiveBg:Yn,headerSortHoverBg:va,bodySortBg:ia,rowHoverBg:ia,rowSelectedBg:rt,rowSelectedHoverBg:ht,rowExpandedBg:se,cellPaddingBlock:st,cellPaddingInline:st,cellPaddingBlockMD:Nt,cellPaddingInlineMD:Wt,cellPaddingBlockSM:Wt,cellPaddingInlineSM:Wt,borderColor:Rt,headerBorderRadius:En,footerBg:ia,footerColor:De,cellFontSize:yn,cellFontSizeMD:yn,cellFontSizeSM:yn,headerSplitColor:Rt,fixedHeaderSortActiveBg:Yn,headerFilterHoverBg:Ve,filterDropdownMenuBg:Pe,filterDropdownBg:Pe,expandIconBg:Pe,selectionColumnWidth:bn,stickyScrollBarBg:ca,stickyScrollBarBorderRadius:100}});const cr=[],Rr=(ue,se)=>{const{prefixCls:Pe,className:De,rootClassName:We,style:Ve,size:rt,bordered:ht,dropdownPrefixCls:st,dataSource:Nt,pagination:Wt,rowSelection:Rt,rowKey:En="key",rowClassName:yn,columns:bn,children:ca,childrenColumnName:Yn,onChange:va,getPopupContainer:ia,loading:Ca,expandIcon:nr,expandable:mr,expandedRowRender:Ua,expandIconColumnIndex:Tr,indentSize:_r,scroll:ka,sortDirections:na,locale:kn,showSorterTooltip:la=!0,virtual:Fa}=ue,Aa=oe.useMemo(()=>bn||Kr(ca),[bn,ca]),Er=oe.useMemo(()=>Aa.some(wo=>wo.responsive),[Aa]),yr=(0,Rl.Z)(Er),ar=oe.useMemo(()=>{const wo=new Set(Object.keys(yr).filter($o=>yr[$o]));return Aa.filter($o=>!$o.responsive||$o.responsive.some($i=>wo.has($i)))},[Aa,yr]),kr=(0,da.Z)(ue,["className","style","columns"]),{locale:Ur=au.Z,direction:ro,table:io,renderEmpty:Vo,getPrefixCls:Qo,getPopupContainer:Vr}=oe.useContext(ll.E_),ii=(0,Ml.Z)(rt),Ea=Object.assign(Object.assign({},Ur.Table),kn),xr=Nt||cr,Xr=Qo("table",Pe),ko=Qo("dropdown",st),Ga=Object.assign({childrenColumnName:Yn,expandIconColumnIndex:Tr},mr),{childrenColumnName:wr="children"}=Ga,Fr=oe.useMemo(()=>xr.some(wo=>wo==null?void 0:wo[wr])?"nest":Ua||mr&&mr.expandedRowRender?"row":null,[xr]),fr={body:oe.useRef()},co=oe.useMemo(()=>typeof En=="function"?En:wo=>wo==null?void 0:wo[En],[En]),[Cr]=fn(xr,wr,co),Jr={},xo=function(wo,$o){let $i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;var si,nl,hl;const Sl=Object.assign(Object.assign({},Jr),wo);$i&&((si=Jr.resetPagination)===null||si===void 0||si.call(Jr),!((nl=Sl.pagination)===null||nl===void 0)&&nl.current&&(Sl.pagination.current=1),Wt&&Wt.onChange&&Wt.onChange(1,(hl=Sl.pagination)===null||hl===void 0?void 0:hl.pageSize)),ka&&ka.scrollToFirstRowOnChange!==!1&&fr.body.current&&(0,Si.Z)(0,{getContainer:()=>fr.body.current}),va==null||va(Sl.pagination,Sl.filters,Sl.sorter,{currentDataSource:Dt(Wn(xr,Sl.sorterStates,wr),Sl.filterStates),action:$o})},po=(wo,$o)=>{xo({sorter:wo,sorterStates:$o},"sort",!1)},[el,_i,Kl,Fi]=pn({prefixCls:Xr,mergedColumns:ar,onSorterChange:po,sortDirections:na||["ascend","descend"],tableLocale:Ea,showSorterTooltip:la}),kl=oe.useMemo(()=>Wn(xr,_i,wr),[xr,_i]);Jr.sorter=Fi(),Jr.sorterStates=_i;const Bi=(wo,$o)=>{xo({filters:wo,filterStates:$o},"filter",!0)},[vl,uu,Io]=bt({prefixCls:Xr,locale:Ea,dropdownPrefixCls:ko,mergedColumns:ar,onFilterChange:Bi,getPopupContainer:ia||Vr}),Zo=Dt(kl,uu);Jr.filters=Io,Jr.filterStates=uu;const li=oe.useMemo(()=>{const wo={};return Object.keys(Io).forEach($o=>{Io[$o]!==null&&(wo[$o]=Io[$o])}),Object.assign(Object.assign({},Kl),{filters:wo})},[Kl,Io]),[Di]=or(li),Oi=(wo,$o)=>{xo({pagination:Object.assign(Object.assign({},Jr.pagination),{current:wo,pageSize:$o})},"paginate")},[uo,sl]=Kn(Zo.length,Oi,Wt);Jr.pagination=Wt===!1?{}:In(uo,Wt),Jr.resetPagination=sl;const tl=oe.useMemo(()=>{if(Wt===!1||!uo.pageSize)return Zo;const{current:wo=1,total:$o,pageSize:$i=mn}=uo;return Zo.length<$o?Zo.length>$i?Zo.slice((wo-1)*$i,wo*$i):Zo:Zo.slice((wo-1)*$i,wo*$i)},[!!Wt,Zo,uo&&uo.current,uo&&uo.pageSize,uo&&uo.total]),[Cl,Ul]=hr({prefixCls:Xr,data:Zo,pageData:tl,getRowKey:co,getRecordByKey:Cr,expandType:Fr,childrenColumnName:wr,locale:Ea,getPopupContainer:ia||Vr},Rt),Gl=(wo,$o,$i)=>{let si;return typeof yn=="function"?si=Be()(yn(wo,$o,$i)):si=Be()(yn),Be()({[`${Xr}-row-selected`]:Ul.has(co(wo,$o))},si)};Ga.__PARENT_RENDER_ICON__=Ga.expandIcon,Ga.expandIcon=Ga.expandIcon||nr||$l(Ea),Fr==="nest"&&Ga.expandIconColumnIndex===void 0?Ga.expandIconColumnIndex=Rt?1:0:Ga.expandIconColumnIndex>0&&Rt&&(Ga.expandIconColumnIndex-=1),typeof Ga.indentSize!="number"&&(Ga.indentSize=typeof _r=="number"?_r:15);const cu=oe.useCallback(wo=>Di(Cl(vl(el(wo)))),[el,vl,Cl]);let Xl,Zl;if(Wt!==!1&&(uo!=null&&uo.total)){let wo;uo.size?wo=uo.size:wo=ii==="small"||ii==="middle"?"small":void 0;const $o=nl=>oe.createElement(Bl.Z,Object.assign({},uo,{className:Be()(`${Xr}-pagination ${Xr}-pagination-${nl}`,uo.className),size:wo})),$i=ro==="rtl"?"left":"right",{position:si}=uo;if(si!==null&&Array.isArray(si)){const nl=si.find(Yl=>Yl.includes("top")),hl=si.find(Yl=>Yl.includes("bottom")),Sl=si.every(Yl=>`${Yl}`=="none");!nl&&!hl&&!Sl&&(Zl=$o($i)),nl&&(Xl=$o(nl.toLowerCase().replace("top",""))),hl&&(Zl=$o(hl.toLowerCase().replace("bottom","")))}else Zl=$o($i)}let pl;typeof Ca=="boolean"?pl={spinning:Ca}:typeof Ca=="object"&&(pl=Object.assign({spinning:!0},Ca));const[dl,Ii]=tr(Xr),[,ui]=(0,ru.Z)(),Vl=Be()(`${Xr}-wrapper`,io==null?void 0:io.className,{[`${Xr}-wrapper-rtl`]:ro==="rtl"},De,We,Ii),su=Object.assign(Object.assign({},io==null?void 0:io.style),Ve),eu=kn&&kn.emptyText||(Vo==null?void 0:Vo("Table"))||oe.createElement(yl.Z,{componentName:"Table"}),Ql=Fa?Wr:Ta,gu={},pu=oe.useMemo(()=>{const{fontSize:wo,lineHeight:$o,padding:$i,paddingXS:si,paddingSM:nl}=ui,hl=Math.floor(wo*$o);switch(ii){case"large":return $i*2+hl;case"small":return si*2+hl;default:return nl*2+hl}},[ui,ii]);return Fa&&(gu.listItemHeight=pu),dl(oe.createElement("div",{ref:se,className:Vl,style:su},oe.createElement(Al.Z,Object.assign({spinning:!1},pl),Xl,oe.createElement(Ql,Object.assign({},gu,kr,{columns:ar,direction:ro,expandable:Ga,prefixCls:Xr,className:Be()({[`${Xr}-middle`]:ii==="middle",[`${Xr}-small`]:ii==="small",[`${Xr}-bordered`]:ht,[`${Xr}-empty`]:xr.length===0}),data:tl,rowKey:co,rowClassName:Gl,emptyText:eu,internalHooks:re,internalRefs:fr,transformColumns:cu})),Zl)))};var To=oe.forwardRef(Rr);const bo=(ue,se)=>{const Pe=oe.useRef(0);return Pe.current+=1,oe.createElement(To,Object.assign({},ue,{ref:se,_renderTimes:Pe.current}))},fi=oe.forwardRef(bo);fi.SELECTION_COLUMN=ea,fi.EXPAND_COLUMN=x,fi.SELECTION_ALL=La,fi.SELECTION_INVERT=Xn,fi.SELECTION_NONE=Ia,fi.Column=Uo,fi.ColumnGroup=El,fi.Summary=qn;var _o=fi,Qi=_o},66309:function(vt,dt,te){"use strict";te.d(dt,{default:function(){return pe}});var x=te(67294),re=te(73475),Ce=te(94184),ze=te.n(Ce),we=te(98787),Te=te(69760),oe=te(45353),Fe=te(53124),he=te(14747),ye=te(45503),Oe=te(67968);const Ie=ge=>{const{paddingXXS:$e,lineWidth:Be,tagPaddingHorizontal:Le,componentCls:Re}=ge,Ge=Le-Be,Ye=$e-Be;return{[Re]:Object.assign(Object.assign({},(0,he.Wf)(ge)),{display:"inline-block",height:"auto",marginInlineEnd:ge.marginXS,paddingInline:Ge,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",[`&${Re}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:ge.defaultColor},[`${Re}-close-icon`]:{marginInlineStart:Ye,color:ge.colorTextDescription,fontSize:ge.tagIconSize,cursor:"pointer",transition:`all ${ge.motionDurationMid}`,"&:hover":{color:ge.colorTextHeading}},[`&${Re}-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(${Re}-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:Ge}}),[`${Re}-borderless`]:{borderColor:"transparent",background:ge.tagBorderlessBg}}},ve=ge=>{const{lineWidth:$e,fontSizeIcon:Be}=ge,Le=ge.fontSizeSM,Re=`${ge.lineHeightSM*Le}px`;return(0,ye.TS)(ge,{tagFontSize:Le,tagLineHeight:Re,tagIconSize:Be-2*$e,tagPaddingHorizontal:8,tagBorderlessBg:ge.colorFillTertiary})},ie=ge=>({defaultBg:ge.colorFillQuaternary,defaultColor:ge.colorText});var E=(0,Oe.Z)("Tag",ge=>{const $e=ve(ge);return Ie($e)},ie),a=function(ge,$e){var Be={};for(var Le in ge)Object.prototype.hasOwnProperty.call(ge,Le)&&$e.indexOf(Le)<0&&(Be[Le]=ge[Le]);if(ge!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Re=0,Le=Object.getOwnPropertySymbols(ge);Re<Le.length;Re++)$e.indexOf(Le[Re])<0&&Object.prototype.propertyIsEnumerable.call(ge,Le[Re])&&(Be[Le[Re]]=ge[Le[Re]]);return Be},y=ge=>{const{prefixCls:$e,style:Be,className:Le,checked:Re,onChange:Ge,onClick:Ye}=ge,Pt=a(ge,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:qe,tag:at}=x.useContext(Fe.E_),pt=Et=>{Ge==null||Ge(!Re),Ye==null||Ye(Et)},_t=qe("tag",$e),[Qt,Je]=E(_t),xt=ze()(_t,`${_t}-checkable`,{[`${_t}-checkable-checked`]:Re},at==null?void 0:at.className,Le,Je);return Qt(x.createElement("span",Object.assign({},Pt,{style:Object.assign(Object.assign({},Be),at==null?void 0:at.style),className:xt,onClick:pt})))},z=te(98719);const ee=ge=>(0,z.Z)(ge,($e,Be)=>{let{textColor:Le,lightBorderColor:Re,lightColor:Ge,darkColor:Ye}=Be;return{[`${ge.componentCls}-${$e}`]:{color:Le,background:Ge,borderColor:Re,"&-inverse":{color:ge.colorTextLightSolid,background:Ye,borderColor:Ye},[`&${ge.componentCls}-borderless`]:{borderColor:"transparent"}}}});var ne=(0,Oe.b)(["Tag","preset"],ge=>{const $e=ve(ge);return ee($e)},ie);function ae(ge){return typeof ge!="string"?ge:ge.charAt(0).toUpperCase()+ge.slice(1)}const le=(ge,$e,Be)=>{const Le=ae(Be);return{[`${ge.componentCls}-${$e}`]:{color:ge[`color${Be}`],background:ge[`color${Le}Bg`],borderColor:ge[`color${Le}Border`],[`&${ge.componentCls}-borderless`]:{borderColor:"transparent"}}}};var de=(0,Oe.b)(["Tag","status"],ge=>{const $e=ve(ge);return[le($e,"success","Success"),le($e,"processing","Info"),le($e,"error","Error"),le($e,"warning","Warning")]},ie),fe=function(ge,$e){var Be={};for(var Le in ge)Object.prototype.hasOwnProperty.call(ge,Le)&&$e.indexOf(Le)<0&&(Be[Le]=ge[Le]);if(ge!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Re=0,Le=Object.getOwnPropertySymbols(ge);Re<Le.length;Re++)$e.indexOf(Le[Re])<0&&Object.prototype.propertyIsEnumerable.call(ge,Le[Re])&&(Be[Le[Re]]=ge[Le[Re]]);return Be};const be=(ge,$e)=>{const{prefixCls:Be,className:Le,rootClassName:Re,style:Ge,children:Ye,icon:Pt,color:qe,onClose:at,closeIcon:pt,closable:_t,bordered:Qt=!0}=ge,Je=fe(ge,["prefixCls","className","rootClassName","style","children","icon","color","onClose","closeIcon","closable","bordered"]),{getPrefixCls:xt,direction:Et,tag:un}=x.useContext(Fe.E_),[Bt,$t]=x.useState(!0);x.useEffect(()=>{"visible"in Je&&$t(Je.visible)},[Je.visible]);const Ne=(0,we.o2)(qe),Tt=(0,we.yT)(qe),an=Ne||Tt,Ft=Object.assign(Object.assign({backgroundColor:qe&&!an?qe:void 0},un==null?void 0:un.style),Ge),ct=xt("tag",Be),[Ct,Ze]=E(ct),Me=ze()(ct,un==null?void 0:un.className,{[`${ct}-${qe}`]:an,[`${ct}-has-color`]:qe&&!an,[`${ct}-hidden`]:!Bt,[`${ct}-rtl`]:Et==="rtl",[`${ct}-borderless`]:!Qt},Le,Re,Ze),et=tn=>{tn.stopPropagation(),at==null||at(tn),!tn.defaultPrevented&&$t(!1)},[,wt]=(0,Te.Z)(_t,pt,tn=>tn===null?x.createElement(re.Z,{className:`${ct}-close-icon`,onClick:et}):x.createElement("span",{className:`${ct}-close-icon`,onClick:et},tn),null,!1),Ot=typeof Je.onClick=="function"||Ye&&Ye.type==="a",Ut=Pt||null,wn=Ut?x.createElement(x.Fragment,null,Ut,Ye&&x.createElement("span",null,Ye)):Ye,An=x.createElement("span",Object.assign({},Je,{ref:$e,className:Me,style:Ft}),wn,wt,Ne&&x.createElement(ne,{key:"preset",prefixCls:ct}),Tt&&x.createElement(de,{key:"status",prefixCls:ct}));return Ct(Ot?x.createElement(oe.Z,{component:"Tag"},An):An)},Ee=x.forwardRef(be);Ee.CheckableTag=y;var pe=Ee},79870:function(vt,dt,te){"use strict";te.d(dt,{default:function(){return Ui}});var x=te(87462),re=te(4942),Ce=te(71002),ze=te(1413),we=te(74902),Te=te(15671),oe=te(43144),Fe=te(97326),he=te(60136),ye=te(51630),Oe=te(94184),Ie=te.n(Oe),ve={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(Gt){var vn=Gt.keyCode;if(Gt.altKey&&!Gt.ctrlKey||Gt.metaKey||vn>=ve.F1&&vn<=ve.F12)return!1;switch(vn){case ve.ALT:case ve.CAPS_LOCK:case ve.CONTEXT_MENU:case ve.CTRL:case ve.DOWN:case ve.END:case ve.ESC:case ve.HOME:case ve.INSERT:case ve.LEFT:case ve.MAC_FF_META:case ve.META:case ve.NUMLOCK:case ve.NUM_CENTER:case ve.PAGE_DOWN:case ve.PAGE_UP:case ve.PAUSE:case ve.PRINT_SCREEN:case ve.RIGHT:case ve.SHIFT:case ve.UP:case ve.WIN_KEY:case ve.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(Gt){if(Gt>=ve.ZERO&&Gt<=ve.NINE||Gt>=ve.NUM_ZERO&&Gt<=ve.NUM_MULTIPLY||Gt>=ve.A&&Gt<=ve.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&Gt===0)return!0;switch(Gt){case ve.SPACE:case ve.QUESTION_MARK:case ve.NUM_PLUS:case ve.NUM_MINUS:case ve.NUM_PERIOD:case ve.NUM_DIVISION:case ve.SEMICOLON:case ve.DASH:case ve.EQUALS:case ve.COMMA:case ve.PERIOD:case ve.SLASH:case ve.APOSTROPHE:case ve.SINGLE_QUOTE:case ve.OPEN_SQUARE_BRACKET:case ve.BACKSLASH:case ve.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},ie=ve,E=te(34952),a=te(72978),b=te(67294),y=te(69610);function z(It){var Gt=It.dropPosition,vn=It.dropLevelOffset,Ue=It.indent,qt={pointerEvents:"none",position:"absolute",right:0,backgroundColor:"red",height:2};switch(Gt){case-1:qt.top=0,qt.left=-vn*Ue;break;case 1:qt.bottom=0,qt.left=-vn*Ue;break;case 0:qt.bottom=0,qt.left=Ue;break}return b.createElement("div",{style:qt})}var ee=te(36459),ne=te(97685),ae=te(45987);function le(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var de=le()?b.useLayoutEffect:b.useEffect,fe=de,be=function(Gt,vn){var Ue=React.useRef(!0);de(function(){if(!Ue.current)return Gt()},vn),de(function(){return Ue.current=!1,function(){Ue.current=!0}},[])},Ee=te(73299),pe=te(73935);function ge(It){return It instanceof HTMLElement||It instanceof SVGElement}function $e(It){return ge(It)?It:It instanceof b.Component?pe.findDOMNode(It):null}var Be=te(28580);function Le(It,Gt,vn){var Ue=React.useRef({});return(!("value"in Ue.current)||vn(Ue.current.condition,Gt))&&(Ue.current.value=It(),Ue.current.condition=Gt),Ue.current.value}function Re(It,Gt){typeof It=="function"?It(Gt):(0,Ce.Z)(It)==="object"&&It&&"current"in It&&(It.current=Gt)}function Ge(){for(var It=arguments.length,Gt=new Array(It),vn=0;vn<It;vn++)Gt[vn]=arguments[vn];var Ue=Gt.filter(function(qt){return qt});return Ue.length<=1?Ue[0]:function(qt){Gt.forEach(function($n){Re($n,qt)})}}function Ye(){for(var It=arguments.length,Gt=new Array(It),vn=0;vn<It;vn++)Gt[vn]=arguments[vn];return useMemo(function(){return Ge.apply(void 0,Gt)},Gt,function(Ue,qt){return Ue.length===qt.length&&Ue.every(function($n,Jn){return $n===qt[Jn]})})}function Pt(It){var Gt,vn,Ue=(0,Be.isMemo)(It)?It.type.type:It.type;return!(typeof Ue=="function"&&!((Gt=Ue.prototype)!==null&&Gt!==void 0&&Gt.render)||typeof It=="function"&&!((vn=It.prototype)!==null&&vn!==void 0&&vn.render))}function qe(It,Gt){var vn={};return vn[It.toLowerCase()]=Gt.toLowerCase(),vn["Webkit".concat(It)]="webkit".concat(Gt),vn["Moz".concat(It)]="moz".concat(Gt),vn["ms".concat(It)]="MS".concat(Gt),vn["O".concat(It)]="o".concat(Gt.toLowerCase()),vn}function at(It,Gt){var vn={animationend:qe("Animation","AnimationEnd"),transitionend:qe("Transition","TransitionEnd")};return It&&("AnimationEvent"in Gt||delete vn.animationend.animation,"TransitionEvent"in Gt||delete vn.transitionend.transition),vn}var pt=at(le(),typeof window!="undefined"?window:{}),_t={};if(le()){var Qt=document.createElement("div");_t=Qt.style}var Je={};function xt(It){if(Je[It])return Je[It];var Gt=pt[It];if(Gt)for(var vn=Object.keys(Gt),Ue=vn.length,qt=0;qt<Ue;qt+=1){var $n=vn[qt];if(Object.prototype.hasOwnProperty.call(Gt,$n)&&$n in _t)return Je[It]=Gt[$n],Je[It]}return""}var Et=xt("animationend"),un=xt("transitionend"),Bt=!!(Et&&un),$t=Et||"animationend",Ne=un||"transitionend";function Tt(It,Gt){if(!It)return null;if((0,Ce.Z)(It)==="object"){var vn=Gt.replace(/-\w/g,function(Ue){return Ue[1].toUpperCase()});return It[vn]}return"".concat(It,"-").concat(Gt)}var an="none",Ft="appear",ct="enter",Ct="leave",Ze="none",Me="prepare",et="start",wt="active",Ot="end";function Ut(It){var Gt=b.useRef(!1),vn=b.useState(It),Ue=(0,ne.Z)(vn,2),qt=Ue[0],$n=Ue[1];b.useEffect(function(){return Gt.current=!1,function(){Gt.current=!0}},[]);function Jn(Kt,dn){dn&&Gt.current||$n(Kt)}return[qt,Jn]}var wn=function(Gt){return+setTimeout(Gt,16)},An=function(Gt){return clearTimeout(Gt)};typeof window!="undefined"&&"requestAnimationFrame"in window&&(wn=function(Gt){return window.requestAnimationFrame(Gt)},An=function(Gt){return window.cancelAnimationFrame(Gt)});var tn=0,Dn=new Map;function _e(It){Dn.delete(It)}var ot=function(Gt){var vn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;tn+=1;var Ue=tn;function qt($n){if($n===0)_e(Ue),Gt();else{var Jn=wn(function(){qt($n-1)});Dn.set(Ue,Jn)}}return qt(vn),Ue};ot.cancel=function(It){var Gt=Dn.get(It);return _e(Gt),An(Gt)};var rn=ot,hn=function(){var It=b.useRef(null);function Gt(){rn.cancel(It.current)}function vn(Ue){var qt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:2;Gt();var $n=rn(function(){qt<=1?Ue({isCanceled:function(){return $n!==It.current}}):vn(Ue,qt-1)});It.current=$n}return b.useEffect(function(){return function(){Gt()}},[]),[vn,Gt]},lt=le()?b.useLayoutEffect:b.useEffect,gn=lt,qn=[Me,et,wt,Ot],Gn=!1,ua=!0;function cn(It){return It===wt||It===Ot}var Jt=function(It,Gt){var vn=Ut(Ze),Ue=(0,ne.Z)(vn,2),qt=Ue[0],$n=Ue[1],Jn=hn(),Kt=(0,ne.Z)(Jn,2),dn=Kt[0],Vt=Kt[1];function ta(){$n(Me,!0)}return gn(function(){if(qt!==Ze&&qt!==Ot){var ba=qn.indexOf(qt),za=qn[ba+1],Ma=Gt(qt);Ma===Gn?$n(za,!0):dn(function(Ya){function pr(){Ya.isCanceled()||$n(za,!0)}Ma===!0?pr():Promise.resolve(Ma).then(pr)})}},[It,qt]),b.useEffect(function(){return function(){Vt()}},[]),[ta,qt]},On=function(It){var Gt=(0,b.useRef)(),vn=(0,b.useRef)(It);vn.current=It;var Ue=b.useCallback(function(Jn){vn.current(Jn)},[]);function qt(Jn){Jn&&(Jn.removeEventListener(Ne,Ue),Jn.removeEventListener($t,Ue))}function $n(Jn){Gt.current&&Gt.current!==Jn&&qt(Gt.current),Jn&&Jn!==Gt.current&&(Jn.addEventListener(Ne,Ue),Jn.addEventListener($t,Ue),Gt.current=Jn)}return b.useEffect(function(){return function(){qt(Gt.current)}},[]),[$n,qt]};function ra(It,Gt,vn,Ue){var qt=Ue.motionEnter,$n=qt===void 0?!0:qt,Jn=Ue.motionAppear,Kt=Jn===void 0?!0:Jn,dn=Ue.motionLeave,Vt=dn===void 0?!0:dn,ta=Ue.motionDeadline,ba=Ue.motionLeaveImmediately,za=Ue.onAppearPrepare,Ma=Ue.onEnterPrepare,Ya=Ue.onLeavePrepare,pr=Ue.onAppearStart,_n=Ue.onEnterStart,zt=Ue.onLeaveStart,Bn=Ue.onAppearActive,Hn=Ue.onEnterActive,xa=Ue.onLeaveActive,qa=Ue.onAppearEnd,lr=Ue.onEnterEnd,Br=Ue.onLeaveEnd,sr=Ue.onVisibleChanged,Lr=Ut(),Gr=(0,ne.Z)(Lr,2),br=Gr[0],ao=Gr[1],oo=Ut(an),So=(0,ne.Z)(oo,2),eo=So[0],Po=So[1],Hr=Ut(null),ho=(0,ne.Z)(Hr,2),jo=ho[0],Ni=ho[1],hi=(0,b.useRef)(!1),Mi=(0,b.useRef)(null);function Yo(){return vn()}var Ho=(0,b.useRef)(!1);function Ri(Bo){var Lo=Yo();if(!(Bo&&!Bo.deadline&&Bo.target!==Lo)){var vi=Ho.current,Fl;eo===Ft&&vi?Fl=qa==null?void 0:qa(Lo,Bo):eo===ct&&vi?Fl=lr==null?void 0:lr(Lo,Bo):eo===Ct&&vi&&(Fl=Br==null?void 0:Br(Lo,Bo)),eo!==an&&vi&&Fl!==!1&&(Po(an,!0),Ni(null,!0))}}var Hi=On(Ri),Vi=(0,ne.Z)(Hi,1),fl=Vi[0],zi=b.useMemo(function(){var Bo,Lo,vi;switch(eo){case Ft:return Bo={},(0,re.Z)(Bo,Me,za),(0,re.Z)(Bo,et,pr),(0,re.Z)(Bo,wt,Bn),Bo;case ct:return Lo={},(0,re.Z)(Lo,Me,Ma),(0,re.Z)(Lo,et,_n),(0,re.Z)(Lo,wt,Hn),Lo;case Ct:return vi={},(0,re.Z)(vi,Me,Ya),(0,re.Z)(vi,et,zt),(0,re.Z)(vi,wt,xa),vi;default:return{}}},[eo]),Ol=Jt(eo,function(Bo){if(Bo===Me){var Lo=zi[Me];return Lo?Lo(Yo()):Gn}if(Gi in zi){var vi;Ni(((vi=zi[Gi])===null||vi===void 0?void 0:vi.call(zi,Yo(),null))||null)}return Gi===wt&&(fl(Yo()),ta>0&&(clearTimeout(Mi.current),Mi.current=setTimeout(function(){Ri({deadline:!0})},ta))),ua}),Ki=(0,ne.Z)(Ol,2),_l=Ki[0],Gi=Ki[1],Il=cn(Gi);Ho.current=Il,gn(function(){ao(Gt);var Bo=hi.current;if(hi.current=!0,!!It){var Lo;!Bo&&Gt&&Kt&&(Lo=Ft),Bo&&Gt&&$n&&(Lo=ct),(Bo&&!Gt&&Vt||!Bo&&ba&&!Gt&&Vt)&&(Lo=Ct),Lo&&(Po(Lo),_l())}},[Gt]),(0,b.useEffect)(function(){(eo===Ft&&!Kt||eo===ct&&!$n||eo===Ct&&!Vt)&&Po(an)},[Kt,$n,Vt]),(0,b.useEffect)(function(){return function(){hi.current=!1,clearTimeout(Mi.current)}},[]);var Ji=b.useRef(!1);(0,b.useEffect)(function(){br&&(Ji.current=!0),br!==void 0&&eo===an&&((Ji.current||br)&&(sr==null||sr(br)),Ji.current=!0)},[br,eo]);var wl=jo;return zi[Me]&&Gi===et&&(wl=(0,ze.Z)({transition:"none"},wl)),[eo,Gi,wl,br!=null?br:Gt]}var sa=function(It){(0,he.Z)(vn,It);var Gt=(0,ye.Z)(vn);function vn(){return(0,Te.Z)(this,vn),Gt.apply(this,arguments)}return(0,oe.Z)(vn,[{key:"render",value:function(){return this.props.children}}]),vn}(b.Component),ga=sa;function er(It){var Gt=It;(0,Ce.Z)(It)==="object"&&(Gt=It.transitionSupport);function vn(qt){return!!(qt.motionName&&Gt)}var Ue=b.forwardRef(function(qt,$n){var Jn=qt.visible,Kt=Jn===void 0?!0:Jn,dn=qt.removeOnLeave,Vt=dn===void 0?!0:dn,ta=qt.forceRender,ba=qt.children,za=qt.motionName,Ma=qt.leavedClassName,Ya=qt.eventProps,pr=vn(qt),_n=(0,b.useRef)(),zt=(0,b.useRef)();function Bn(){try{return _n.current instanceof HTMLElement?_n.current:$e(zt.current)}catch(Hr){return null}}var Hn=ra(pr,Kt,Bn,qt),xa=(0,ne.Z)(Hn,4),qa=xa[0],lr=xa[1],Br=xa[2],sr=xa[3],Lr=b.useRef(sr);sr&&(Lr.current=!0);var Gr=b.useCallback(function(Hr){_n.current=Hr,Re($n,Hr)},[$n]),br,ao=(0,ze.Z)((0,ze.Z)({},Ya),{},{visible:Kt});if(!ba)br=null;else if(qa===an||!vn(qt))sr?br=ba((0,ze.Z)({},ao),Gr):!Vt&&Lr.current&&Ma?br=ba((0,ze.Z)((0,ze.Z)({},ao),{},{className:Ma}),Gr):ta||!Vt&&!Ma?br=ba((0,ze.Z)((0,ze.Z)({},ao),{},{style:{display:"none"}}),Gr):br=null;else{var oo,So;lr===Me?So="prepare":cn(lr)?So="active":lr===et&&(So="start"),br=ba((0,ze.Z)((0,ze.Z)({},ao),{},{className:Ie()(Tt(za,qa),(oo={},(0,re.Z)(oo,Tt(za,"".concat(qa,"-").concat(So)),So),(0,re.Z)(oo,za,typeof za=="string"),oo)),style:Br}),Gr)}if(b.isValidElement(br)&&Pt(br)){var eo=br,Po=eo.ref;Po||(br=b.cloneElement(br,{ref:Gr}))}return b.createElement(ga,{ref:zt},br)});return Ue.displayName="CSSMotion",Ue}var Ht=er(Bt),Xt="add",nn="keep",Vn="remove",Ka="removed";function vr(It){var Gt;return It&&(0,Ce.Z)(It)==="object"&&"key"in It?Gt=It:Gt={key:It},(0,ze.Z)((0,ze.Z)({},Gt),{},{key:String(Gt.key)})}function Or(){var It=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return It.map(vr)}function Va(){var It=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],Gt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],vn=[],Ue=0,qt=Gt.length,$n=Or(It),Jn=Or(Gt);$n.forEach(function(Vt){for(var ta=!1,ba=Ue;ba<qt;ba+=1){var za=Jn[ba];if(za.key===Vt.key){Ue<ba&&(vn=vn.concat(Jn.slice(Ue,ba).map(function(Ma){return(0,ze.Z)((0,ze.Z)({},Ma),{},{status:Xt})})),Ue=ba),vn.push((0,ze.Z)((0,ze.Z)({},za),{},{status:nn})),Ue+=1,ta=!0;break}}ta||vn.push((0,ze.Z)((0,ze.Z)({},Vt),{},{status:Vn}))}),Ue<qt&&(vn=vn.concat(Jn.slice(Ue).map(function(Vt){return(0,ze.Z)((0,ze.Z)({},Vt),{},{status:Xt})})));var Kt={};vn.forEach(function(Vt){var ta=Vt.key;Kt[ta]=(Kt[ta]||0)+1});var dn=Object.keys(Kt).filter(function(Vt){return Kt[Vt]>1});return dn.forEach(function(Vt){vn=vn.filter(function(ta){var ba=ta.key,za=ta.status;return ba!==Vt||za!==Vn}),vn.forEach(function(ta){ta.key===Vt&&(ta.status=nn)})}),vn}var Fn=["component","children","onVisibleChanged","onAllRemoved"],Sa=["status"],en=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];function Cn(It){var Gt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Ht,vn=function(Ue){(0,he.Z)($n,Ue);var qt=(0,ye.Z)($n);function $n(){var Jn;(0,Te.Z)(this,$n);for(var Kt=arguments.length,dn=new Array(Kt),Vt=0;Vt<Kt;Vt++)dn[Vt]=arguments[Vt];return Jn=qt.call.apply(qt,[this].concat(dn)),(0,re.Z)((0,Fe.Z)(Jn),"state",{keyEntities:[]}),(0,re.Z)((0,Fe.Z)(Jn),"removeKey",function(ta){var ba=Jn.state.keyEntities,za=ba.map(function(Ma){return Ma.key!==ta?Ma:(0,ze.Z)((0,ze.Z)({},Ma),{},{status:Ka})});return Jn.setState({keyEntities:za}),za.filter(function(Ma){var Ya=Ma.status;return Ya!==Ka}).length}),Jn}return(0,oe.Z)($n,[{key:"render",value:function(){var Kt=this,dn=this.state.keyEntities,Vt=this.props,ta=Vt.component,ba=Vt.children,za=Vt.onVisibleChanged,Ma=Vt.onAllRemoved,Ya=(0,ae.Z)(Vt,Fn),pr=ta||b.Fragment,_n={};return en.forEach(function(zt){_n[zt]=Ya[zt],delete Ya[zt]}),delete Ya.keys,b.createElement(pr,Ya,dn.map(function(zt){var Bn=zt.status,Hn=(0,ae.Z)(zt,Sa),xa=Bn===Xt||Bn===nn;return b.createElement(Gt,(0,x.Z)({},_n,{key:Hn.key,visible:xa,eventProps:Hn,onVisibleChanged:function(lr){if(za==null||za(lr,{key:Hn.key}),!lr){var Br=Kt.removeKey(Hn.key);Br===0&&Ma&&Ma()}}}),ba)}))}}],[{key:"getDerivedStateFromProps",value:function(Kt,dn){var Vt=Kt.keys,ta=dn.keyEntities,ba=Or(Vt),za=Va(ta,ba);return{keyEntities:za.filter(function(Ma){var Ya=ta.find(function(pr){var _n=pr.key;return Ma.key===_n});return!(Ya&&Ya.status===Ka&&Ma.status===Vn)})}}}]),$n}(b.Component);return(0,re.Z)(vn,"defaultProps",{component:"div"}),vn}var Ln=Cn(Bt),Mn=Ht,ur=te(56261);function Ba(It,Gt){var vn=b.useState(!1),Ue=(0,ne.Z)(vn,2),qt=Ue[0],$n=Ue[1];b.useLayoutEffect(function(){if(qt)return It(),function(){Gt()}},[qt]),b.useLayoutEffect(function(){return $n(!0),function(){$n(!1)}},[])}var Nn=te(83898),gt=["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"],St=function(Gt,vn){var Ue=Gt.className,qt=Gt.style,$n=Gt.motion,Jn=Gt.motionNodes,Kt=Gt.motionType,dn=Gt.onMotionStart,Vt=Gt.onMotionEnd,ta=Gt.active,ba=Gt.treeNodeRequiredProps,za=(0,ae.Z)(Gt,gt),Ma=b.useState(!0),Ya=(0,ne.Z)(Ma,2),pr=Ya[0],_n=Ya[1],zt=b.useContext(y.k),Bn=zt.prefixCls,Hn=Jn&&Kt!=="hide";fe(function(){Jn&&Hn!==pr&&_n(Hn)},[Jn]);var xa=function(){Jn&&dn()},qa=b.useRef(!1),lr=function(){Jn&&!qa.current&&(qa.current=!0,Vt())};Ba(xa,lr);var Br=function(Lr){Hn===Lr&&lr()};return Jn?b.createElement(Mn,(0,x.Z)({ref:vn,visible:pr},$n,{motionAppear:Kt==="show",onVisibleChanged:Br}),function(sr,Lr){var Gr=sr.className,br=sr.style;return b.createElement("div",{ref:Lr,className:Ie()("".concat(Bn,"-treenode-motion"),Gr),style:br},Jn.map(function(ao){var oo=(0,x.Z)({},((0,ee.Z)(ao.data),ao.data)),So=ao.title,eo=ao.key,Po=ao.isStart,Hr=ao.isEnd;delete oo.children;var ho=(0,Nn.H8)(eo,ba);return b.createElement(ur.Z,(0,x.Z)({},oo,ho,{title:So,active:ta,data:ao.data,key:eo,isStart:Po,isEnd:Hr}))}))}):b.createElement(ur.Z,(0,x.Z)({domRef:vn,className:Ue,style:qt},za,{active:ta}))};St.displayName="MotionTreeNode";var mt=b.forwardRef(St),kt=mt;function ln(){var It=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],Gt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],vn=It.length,Ue=Gt.length;if(Math.abs(vn-Ue)!==1)return{add:!1,key:null};function qt($n,Jn){var Kt=new Map;$n.forEach(function(Vt){Kt.set(Vt,!0)});var dn=Jn.filter(function(Vt){return!Kt.has(Vt)});return dn.length===1?dn[0]:null}return vn<Ue?{add:!0,key:qt(It,Gt)}:{add:!1,key:qt(Gt,It)}}function zn(It,Gt,vn){var Ue=It.findIndex(function(Kt){return Kt.key===vn}),qt=It[Ue+1],$n=Gt.findIndex(function(Kt){return Kt.key===vn});if(qt){var Jn=Gt.findIndex(function(Kt){return Kt.key===qt.key});return Gt.slice($n+1,Jn)}return Gt.slice($n+1)}var ya=["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"],oa={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},Da=function(){},Za="RC_TREE_MOTION_".concat(Math.random()),Yr={key:Za},jn={key:Za,level:0,index:0,pos:"0",node:Yr,nodes:[Yr]},Ir={parent:null,children:[],pos:jn.pos,data:Yr,title:null,key:Za,isStart:[],isEnd:[]};function Mo(It,Gt,vn,Ue){return Gt===!1||!vn?It:It.slice(0,Math.ceil(vn/Ue)+1)}function Jo(It){var Gt=It.key,vn=It.pos;return(0,Nn.km)(Gt,vn)}function Ja(It){for(var Gt=String(It.data.key),vn=It;vn.parent;)vn=vn.parent,Gt="".concat(vn.data.key," > ").concat(Gt);return Gt}var mo=b.forwardRef(function(It,Gt){var vn=It.prefixCls,Ue=It.data,qt=It.selectable,$n=It.checkable,Jn=It.expandedKeys,Kt=It.selectedKeys,dn=It.checkedKeys,Vt=It.loadedKeys,ta=It.loadingKeys,ba=It.halfCheckedKeys,za=It.keyEntities,Ma=It.disabled,Ya=It.dragging,pr=It.dragOverNodeKey,_n=It.dropPosition,zt=It.motion,Bn=It.height,Hn=It.itemHeight,xa=It.virtual,qa=It.focusable,lr=It.activeItem,Br=It.focused,sr=It.tabIndex,Lr=It.onKeyDown,Gr=It.onFocus,br=It.onBlur,ao=It.onActiveChange,oo=It.onListChangeStart,So=It.onListChangeEnd,eo=(0,ae.Z)(It,ya),Po=b.useRef(null),Hr=b.useRef(null);b.useImperativeHandle(Gt,function(){return{scrollTo:function(il){Po.current.scrollTo(il)},getIndentWidth:function(){return Hr.current.offsetWidth}}});var ho=b.useState(Jn),jo=(0,ne.Z)(ho,2),Ni=jo[0],hi=jo[1],Mi=b.useState(Ue),Yo=(0,ne.Z)(Mi,2),Ho=Yo[0],Ri=Yo[1],Hi=b.useState(Ue),Vi=(0,ne.Z)(Hi,2),fl=Vi[0],zi=Vi[1],Ol=b.useState([]),Ki=(0,ne.Z)(Ol,2),_l=Ki[0],Gi=Ki[1],Il=b.useState(null),Ji=(0,ne.Z)(Il,2),wl=Ji[0],Bo=Ji[1],Lo=b.useRef(Ue);Lo.current=Ue;function vi(){var Uo=Lo.current;Ri(Uo),zi(Uo),Gi([]),Bo(null),So()}fe(function(){hi(Jn);var Uo=ln(Ni,Jn);if(Uo.key!==null)if(Uo.add){var il=Ho.findIndex(function(Ml){var Rl=Ml.key;return Rl===Uo.key}),El=Mo(zn(Ho,Ue,Uo.key),xa,Bn,Hn),da=Ho.slice();da.splice(il+1,0,Ir),zi(da),Gi(El),Bo("show")}else{var Si=Ue.findIndex(function(Ml){var Rl=Ml.key;return Rl===Uo.key}),ll=Mo(zn(Ue,Ho,Uo.key),xa,Bn,Hn),yl=Ue.slice();yl.splice(Si+1,0,Ir),zi(yl),Gi(ll),Bo("hide")}else Ho!==Ue&&(Ri(Ue),zi(Ue))},[Jn,Ue]),b.useEffect(function(){Ya||vi()},[Ya]);var Fl=zt?fl:Ue,Wl={expandedKeys:Jn,selectedKeys:Kt,loadedKeys:Vt,loadingKeys:ta,checkedKeys:dn,halfCheckedKeys:ba,dragOverNodeKey:pr,dropPosition:_n,keyEntities:za};return b.createElement(b.Fragment,null,Br&&lr&&b.createElement("span",{style:oa,"aria-live":"assertive"},Ja(lr)),b.createElement("div",null,b.createElement("input",{style:oa,disabled:qa===!1||Ma,tabIndex:qa!==!1?sr:null,onKeyDown:Lr,onFocus:Gr,onBlur:br,value:"",onChange:Da,"aria-label":"for screen reader"})),b.createElement("div",{className:"".concat(vn,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},b.createElement("div",{className:"".concat(vn,"-indent")},b.createElement("div",{ref:Hr,className:"".concat(vn,"-indent-unit")}))),b.createElement(Ee.Z,(0,x.Z)({},eo,{data:Fl,itemKey:Jo,height:Bn,fullHeight:!1,virtual:xa,itemHeight:Hn,prefixCls:"".concat(vn,"-list"),ref:Po,onVisibleChange:function(il,El){var da=new Set(il),Si=El.filter(function(ll){return!da.has(ll)});Si.some(function(ll){return Jo(ll)===Za})&&vi()}}),function(Uo){var il=Uo.pos,El=(0,x.Z)({},((0,ee.Z)(Uo.data),Uo.data)),da=Uo.title,Si=Uo.key,ll=Uo.isStart,yl=Uo.isEnd,Ml=(0,Nn.km)(Si,il);delete El.key,delete El.children;var Rl=(0,Nn.H8)(Ml,Wl);return b.createElement(kt,(0,x.Z)({},El,Rl,{title:da,active:!!lr&&Si===lr.key,pos:il,data:Uo.data,isStart:ll,isEnd:yl,motion:zt,motionNodes:Si===Za?_l:null,motionType:wl,onMotionStart:oo,onMotionEnd:vi,treeNodeRequiredProps:Wl,onMouseMove:function(){ao(null)}}))}))});mo.displayName="NodeList";var Ai=mo,qr=te(29873),ki=te(97153),yi=te(3596),di=10,Wo=function(It){(0,he.Z)(vn,It);var Gt=(0,ye.Z)(vn);function vn(){var Ue;(0,Te.Z)(this,vn);for(var qt=arguments.length,$n=new Array(qt),Jn=0;Jn<qt;Jn++)$n[Jn]=arguments[Jn];return Ue=Gt.call.apply(Gt,[this].concat($n)),Ue.destroyed=!1,Ue.delayedDragEnterLogic=void 0,Ue.loadingRetryTimes={},Ue.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,Nn.w$)()},Ue.dragStartMousePosition=null,Ue.dragNode=void 0,Ue.currentMouseOverDroppableNodeKey=null,Ue.listRef=b.createRef(),Ue.onNodeDragStart=function(Kt,dn){var Vt=Ue.state,ta=Vt.expandedKeys,ba=Vt.keyEntities,za=Ue.props.onDragStart,Ma=dn.props.eventKey;Ue.dragNode=dn,Ue.dragStartMousePosition={x:Kt.clientX,y:Kt.clientY};var Ya=(0,qr._5)(ta,Ma);Ue.setState({draggingNodeKey:Ma,dragChildrenKeys:(0,qr.wA)(Ma,ba),indent:Ue.listRef.current.getIndentWidth()}),Ue.setExpandedKeys(Ya),window.addEventListener("dragend",Ue.onWindowDragEnd),za==null||za({event:Kt,node:(0,Nn.F)(dn.props)})},Ue.onNodeDragEnter=function(Kt,dn){var Vt=Ue.state,ta=Vt.expandedKeys,ba=Vt.keyEntities,za=Vt.dragChildrenKeys,Ma=Vt.flattenNodes,Ya=Vt.indent,pr=Ue.props,_n=pr.onDragEnter,zt=pr.onExpand,Bn=pr.allowDrop,Hn=pr.direction,xa=dn.props,qa=xa.pos,lr=xa.eventKey,Br=(0,Fe.Z)(Ue),sr=Br.dragNode;if(Ue.currentMouseOverDroppableNodeKey!==lr&&(Ue.currentMouseOverDroppableNodeKey=lr),!sr){Ue.resetDragState();return}var Lr=(0,qr.OM)(Kt,sr,dn,Ya,Ue.dragStartMousePosition,Bn,Ma,ba,ta,Hn),Gr=Lr.dropPosition,br=Lr.dropLevelOffset,ao=Lr.dropTargetKey,oo=Lr.dropContainerKey,So=Lr.dropTargetPos,eo=Lr.dropAllowed,Po=Lr.dragOverNodeKey;if(za.indexOf(ao)!==-1||!eo){Ue.resetDragState();return}if(Ue.delayedDragEnterLogic||(Ue.delayedDragEnterLogic={}),Object.keys(Ue.delayedDragEnterLogic).forEach(function(Hr){clearTimeout(Ue.delayedDragEnterLogic[Hr])}),sr.props.eventKey!==dn.props.eventKey&&(Kt.persist(),Ue.delayedDragEnterLogic[qa]=window.setTimeout(function(){if(Ue.state.draggingNodeKey!==null){var Hr=(0,we.Z)(ta),ho=(0,yi.Z)(ba,dn.props.eventKey);ho&&(ho.children||[]).length&&(Hr=(0,qr.L0)(ta,dn.props.eventKey)),"expandedKeys"in Ue.props||Ue.setExpandedKeys(Hr),zt==null||zt(Hr,{node:(0,Nn.F)(dn.props),expanded:!0,nativeEvent:Kt.nativeEvent})}},800)),sr.props.eventKey===ao&&br===0){Ue.resetDragState();return}Ue.setState({dragOverNodeKey:Po,dropPosition:Gr,dropLevelOffset:br,dropTargetKey:ao,dropContainerKey:oo,dropTargetPos:So,dropAllowed:eo}),_n==null||_n({event:Kt,node:(0,Nn.F)(dn.props),expandedKeys:ta})},Ue.onNodeDragOver=function(Kt,dn){var Vt=Ue.state,ta=Vt.dragChildrenKeys,ba=Vt.flattenNodes,za=Vt.keyEntities,Ma=Vt.expandedKeys,Ya=Vt.indent,pr=Ue.props,_n=pr.onDragOver,zt=pr.allowDrop,Bn=pr.direction,Hn=(0,Fe.Z)(Ue),xa=Hn.dragNode;if(xa){var qa=(0,qr.OM)(Kt,xa,dn,Ya,Ue.dragStartMousePosition,zt,ba,za,Ma,Bn),lr=qa.dropPosition,Br=qa.dropLevelOffset,sr=qa.dropTargetKey,Lr=qa.dropContainerKey,Gr=qa.dropAllowed,br=qa.dropTargetPos,ao=qa.dragOverNodeKey;ta.indexOf(sr)!==-1||!Gr||(xa.props.eventKey===sr&&Br===0?Ue.state.dropPosition===null&&Ue.state.dropLevelOffset===null&&Ue.state.dropTargetKey===null&&Ue.state.dropContainerKey===null&&Ue.state.dropTargetPos===null&&Ue.state.dropAllowed===!1&&Ue.state.dragOverNodeKey===null||Ue.resetDragState():lr===Ue.state.dropPosition&&Br===Ue.state.dropLevelOffset&&sr===Ue.state.dropTargetKey&&Lr===Ue.state.dropContainerKey&&br===Ue.state.dropTargetPos&&Gr===Ue.state.dropAllowed&&ao===Ue.state.dragOverNodeKey||Ue.setState({dropPosition:lr,dropLevelOffset:Br,dropTargetKey:sr,dropContainerKey:Lr,dropTargetPos:br,dropAllowed:Gr,dragOverNodeKey:ao}),_n==null||_n({event:Kt,node:(0,Nn.F)(dn.props)}))}},Ue.onNodeDragLeave=function(Kt,dn){Ue.currentMouseOverDroppableNodeKey===dn.props.eventKey&&!Kt.currentTarget.contains(Kt.relatedTarget)&&(Ue.resetDragState(),Ue.currentMouseOverDroppableNodeKey=null);var Vt=Ue.props.onDragLeave;Vt==null||Vt({event:Kt,node:(0,Nn.F)(dn.props)})},Ue.onWindowDragEnd=function(Kt){Ue.onNodeDragEnd(Kt,null,!0),window.removeEventListener("dragend",Ue.onWindowDragEnd)},Ue.onNodeDragEnd=function(Kt,dn){var Vt=Ue.props.onDragEnd;Ue.setState({dragOverNodeKey:null}),Ue.cleanDragState(),Vt==null||Vt({event:Kt,node:(0,Nn.F)(dn.props)}),Ue.dragNode=null,window.removeEventListener("dragend",Ue.onWindowDragEnd)},Ue.onNodeDrop=function(Kt,dn){var Vt,ta=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,ba=Ue.state,za=ba.dragChildrenKeys,Ma=ba.dropPosition,Ya=ba.dropTargetKey,pr=ba.dropTargetPos,_n=ba.dropAllowed;if(_n){var zt=Ue.props.onDrop;if(Ue.setState({dragOverNodeKey:null}),Ue.cleanDragState(),Ya!==null){var Bn=(0,ze.Z)((0,ze.Z)({},(0,Nn.H8)(Ya,Ue.getTreeNodeRequiredProps())),{},{active:((Vt=Ue.getActiveItem())===null||Vt===void 0?void 0:Vt.key)===Ya,data:(0,yi.Z)(Ue.state.keyEntities,Ya).node}),Hn=za.indexOf(Ya)!==-1;(0,a.ZP)(!Hn,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var xa=(0,qr.yx)(pr),qa={event:Kt,node:(0,Nn.F)(Bn),dragNode:Ue.dragNode?(0,Nn.F)(Ue.dragNode.props):null,dragNodesKeys:[Ue.dragNode.props.eventKey].concat(za),dropToGap:Ma!==0,dropPosition:Ma+Number(xa[xa.length-1])};ta||zt==null||zt(qa),Ue.dragNode=null}}},Ue.cleanDragState=function(){var Kt=Ue.state.draggingNodeKey;Kt!==null&&Ue.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),Ue.dragStartMousePosition=null,Ue.currentMouseOverDroppableNodeKey=null},Ue.triggerExpandActionExpand=function(Kt,dn){var Vt=Ue.state,ta=Vt.expandedKeys,ba=Vt.flattenNodes,za=dn.expanded,Ma=dn.key,Ya=dn.isLeaf;if(!(Ya||Kt.shiftKey||Kt.metaKey||Kt.ctrlKey)){var pr=ba.filter(function(zt){return zt.key===Ma})[0],_n=(0,Nn.F)((0,ze.Z)((0,ze.Z)({},(0,Nn.H8)(Ma,Ue.getTreeNodeRequiredProps())),{},{data:pr.data}));Ue.setExpandedKeys(za?(0,qr._5)(ta,Ma):(0,qr.L0)(ta,Ma)),Ue.onNodeExpand(Kt,_n)}},Ue.onNodeClick=function(Kt,dn){var Vt=Ue.props,ta=Vt.onClick,ba=Vt.expandAction;ba==="click"&&Ue.triggerExpandActionExpand(Kt,dn),ta==null||ta(Kt,dn)},Ue.onNodeDoubleClick=function(Kt,dn){var Vt=Ue.props,ta=Vt.onDoubleClick,ba=Vt.expandAction;ba==="doubleClick"&&Ue.triggerExpandActionExpand(Kt,dn),ta==null||ta(Kt,dn)},Ue.onNodeSelect=function(Kt,dn){var Vt=Ue.state.selectedKeys,ta=Ue.state,ba=ta.keyEntities,za=ta.fieldNames,Ma=Ue.props,Ya=Ma.onSelect,pr=Ma.multiple,_n=dn.selected,zt=dn[za.key],Bn=!_n;Bn?pr?Vt=(0,qr.L0)(Vt,zt):Vt=[zt]:Vt=(0,qr._5)(Vt,zt);var Hn=Vt.map(function(xa){var qa=(0,yi.Z)(ba,xa);return qa?qa.node:null}).filter(function(xa){return xa});Ue.setUncontrolledState({selectedKeys:Vt}),Ya==null||Ya(Vt,{event:"select",selected:Bn,node:dn,selectedNodes:Hn,nativeEvent:Kt.nativeEvent})},Ue.onNodeCheck=function(Kt,dn,Vt){var ta=Ue.state,ba=ta.keyEntities,za=ta.checkedKeys,Ma=ta.halfCheckedKeys,Ya=Ue.props,pr=Ya.checkStrictly,_n=Ya.onCheck,zt=dn.key,Bn,Hn={event:"check",node:dn,checked:Vt,nativeEvent:Kt.nativeEvent};if(pr){var xa=Vt?(0,qr.L0)(za,zt):(0,qr._5)(za,zt),qa=(0,qr._5)(Ma,zt);Bn={checked:xa,halfChecked:qa},Hn.checkedNodes=xa.map(function(br){return(0,yi.Z)(ba,br)}).filter(function(br){return br}).map(function(br){return br.node}),Ue.setUncontrolledState({checkedKeys:xa})}else{var lr=(0,ki.S)([].concat((0,we.Z)(za),[zt]),!0,ba),Br=lr.checkedKeys,sr=lr.halfCheckedKeys;if(!Vt){var Lr=new Set(Br);Lr.delete(zt);var Gr=(0,ki.S)(Array.from(Lr),{checked:!1,halfCheckedKeys:sr},ba);Br=Gr.checkedKeys,sr=Gr.halfCheckedKeys}Bn=Br,Hn.checkedNodes=[],Hn.checkedNodesPositions=[],Hn.halfCheckedKeys=sr,Br.forEach(function(br){var ao=(0,yi.Z)(ba,br);if(ao){var oo=ao.node,So=ao.pos;Hn.checkedNodes.push(oo),Hn.checkedNodesPositions.push({node:oo,pos:So})}}),Ue.setUncontrolledState({checkedKeys:Br},!1,{halfCheckedKeys:sr})}_n==null||_n(Bn,Hn)},Ue.onNodeLoad=function(Kt){var dn=Kt.key,Vt=new Promise(function(ta,ba){Ue.setState(function(za){var Ma=za.loadedKeys,Ya=Ma===void 0?[]:Ma,pr=za.loadingKeys,_n=pr===void 0?[]:pr,zt=Ue.props,Bn=zt.loadData,Hn=zt.onLoad;if(!Bn||Ya.indexOf(dn)!==-1||_n.indexOf(dn)!==-1)return null;var xa=Bn(Kt);return xa.then(function(){var qa=Ue.state.loadedKeys,lr=(0,qr.L0)(qa,dn);Hn==null||Hn(lr,{event:"load",node:Kt}),Ue.setUncontrolledState({loadedKeys:lr}),Ue.setState(function(Br){return{loadingKeys:(0,qr._5)(Br.loadingKeys,dn)}}),ta()}).catch(function(qa){if(Ue.setState(function(Br){return{loadingKeys:(0,qr._5)(Br.loadingKeys,dn)}}),Ue.loadingRetryTimes[dn]=(Ue.loadingRetryTimes[dn]||0)+1,Ue.loadingRetryTimes[dn]>=di){var lr=Ue.state.loadedKeys;(0,a.ZP)(!1,"Retry for `loadData` many times but still failed. No more retry."),Ue.setUncontrolledState({loadedKeys:(0,qr.L0)(lr,dn)}),ta()}ba(qa)}),{loadingKeys:(0,qr.L0)(_n,dn)}})});return Vt.catch(function(){}),Vt},Ue.onNodeMouseEnter=function(Kt,dn){var Vt=Ue.props.onMouseEnter;Vt==null||Vt({event:Kt,node:dn})},Ue.onNodeMouseLeave=function(Kt,dn){var Vt=Ue.props.onMouseLeave;Vt==null||Vt({event:Kt,node:dn})},Ue.onNodeContextMenu=function(Kt,dn){var Vt=Ue.props.onRightClick;Vt&&(Kt.preventDefault(),Vt({event:Kt,node:dn}))},Ue.onFocus=function(){var Kt=Ue.props.onFocus;Ue.setState({focused:!0});for(var dn=arguments.length,Vt=new Array(dn),ta=0;ta<dn;ta++)Vt[ta]=arguments[ta];Kt==null||Kt.apply(void 0,Vt)},Ue.onBlur=function(){var Kt=Ue.props.onBlur;Ue.setState({focused:!1}),Ue.onActiveChange(null);for(var dn=arguments.length,Vt=new Array(dn),ta=0;ta<dn;ta++)Vt[ta]=arguments[ta];Kt==null||Kt.apply(void 0,Vt)},Ue.getTreeNodeRequiredProps=function(){var Kt=Ue.state,dn=Kt.expandedKeys,Vt=Kt.selectedKeys,ta=Kt.loadedKeys,ba=Kt.loadingKeys,za=Kt.checkedKeys,Ma=Kt.halfCheckedKeys,Ya=Kt.dragOverNodeKey,pr=Kt.dropPosition,_n=Kt.keyEntities;return{expandedKeys:dn||[],selectedKeys:Vt||[],loadedKeys:ta||[],loadingKeys:ba||[],checkedKeys:za||[],halfCheckedKeys:Ma||[],dragOverNodeKey:Ya,dropPosition:pr,keyEntities:_n}},Ue.setExpandedKeys=function(Kt){var dn=Ue.state,Vt=dn.treeData,ta=dn.fieldNames,ba=(0,Nn.oH)(Vt,Kt,ta);Ue.setUncontrolledState({expandedKeys:Kt,flattenNodes:ba},!0)},Ue.onNodeExpand=function(Kt,dn){var Vt=Ue.state.expandedKeys,ta=Ue.state,ba=ta.listChanging,za=ta.fieldNames,Ma=Ue.props,Ya=Ma.onExpand,pr=Ma.loadData,_n=dn.expanded,zt=dn[za.key];if(!ba){var Bn=Vt.indexOf(zt),Hn=!_n;if((0,a.ZP)(_n&&Bn!==-1||!_n&&Bn===-1,"Expand state not sync with index check"),Hn?Vt=(0,qr.L0)(Vt,zt):Vt=(0,qr._5)(Vt,zt),Ue.setExpandedKeys(Vt),Ya==null||Ya(Vt,{node:dn,expanded:Hn,nativeEvent:Kt.nativeEvent}),Hn&&pr){var xa=Ue.onNodeLoad(dn);xa&&xa.then(function(){var qa=(0,Nn.oH)(Ue.state.treeData,Vt,za);Ue.setUncontrolledState({flattenNodes:qa})}).catch(function(){var qa=Ue.state.expandedKeys,lr=(0,qr._5)(qa,zt);Ue.setExpandedKeys(lr)})}}},Ue.onListChangeStart=function(){Ue.setUncontrolledState({listChanging:!0})},Ue.onListChangeEnd=function(){setTimeout(function(){Ue.setUncontrolledState({listChanging:!1})})},Ue.onActiveChange=function(Kt){var dn=Ue.state.activeKey,Vt=Ue.props.onActiveChange;dn!==Kt&&(Ue.setState({activeKey:Kt}),Kt!==null&&Ue.scrollTo({key:Kt}),Vt==null||Vt(Kt))},Ue.getActiveItem=function(){var Kt=Ue.state,dn=Kt.activeKey,Vt=Kt.flattenNodes;return dn===null?null:Vt.find(function(ta){var ba=ta.key;return ba===dn})||null},Ue.offsetActiveKey=function(Kt){var dn=Ue.state,Vt=dn.flattenNodes,ta=dn.activeKey,ba=Vt.findIndex(function(Ya){var pr=Ya.key;return pr===ta});ba===-1&&Kt<0&&(ba=Vt.length),ba=(ba+Kt+Vt.length)%Vt.length;var za=Vt[ba];if(za){var Ma=za.key;Ue.onActiveChange(Ma)}else Ue.onActiveChange(null)},Ue.onKeyDown=function(Kt){var dn=Ue.state,Vt=dn.activeKey,ta=dn.expandedKeys,ba=dn.checkedKeys,za=dn.fieldNames,Ma=Ue.props,Ya=Ma.onKeyDown,pr=Ma.checkable,_n=Ma.selectable;switch(Kt.which){case ie.UP:{Ue.offsetActiveKey(-1),Kt.preventDefault();break}case ie.DOWN:{Ue.offsetActiveKey(1),Kt.preventDefault();break}}var zt=Ue.getActiveItem();if(zt&&zt.data){var Bn=Ue.getTreeNodeRequiredProps(),Hn=zt.data.isLeaf===!1||!!(zt.data[za.children]||[]).length,xa=(0,Nn.F)((0,ze.Z)((0,ze.Z)({},(0,Nn.H8)(Vt,Bn)),{},{data:zt.data,active:!0}));switch(Kt.which){case ie.LEFT:{Hn&&ta.includes(Vt)?Ue.onNodeExpand({},xa):zt.parent&&Ue.onActiveChange(zt.parent.key),Kt.preventDefault();break}case ie.RIGHT:{Hn&&!ta.includes(Vt)?Ue.onNodeExpand({},xa):zt.children&&zt.children.length&&Ue.onActiveChange(zt.children[0].key),Kt.preventDefault();break}case ie.ENTER:case ie.SPACE:{pr&&!xa.disabled&&xa.checkable!==!1&&!xa.disableCheckbox?Ue.onNodeCheck({},xa,!ba.includes(Vt)):!pr&&_n&&!xa.disabled&&xa.selectable!==!1&&Ue.onNodeSelect({},xa);break}}}Ya==null||Ya(Kt)},Ue.setUncontrolledState=function(Kt){var dn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Vt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!Ue.destroyed){var ta=!1,ba=!0,za={};Object.keys(Kt).forEach(function(Ma){if(Ma in Ue.props){ba=!1;return}ta=!0,za[Ma]=Kt[Ma]}),ta&&(!dn||ba)&&Ue.setState((0,ze.Z)((0,ze.Z)({},za),Vt))}},Ue.scrollTo=function(Kt){Ue.listRef.current.scrollTo(Kt)},Ue}return(0,oe.Z)(vn,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var qt=this.props.activeKey;qt!==void 0&&qt!==this.state.activeKey&&(this.setState({activeKey:qt}),qt!==null&&this.scrollTo({key:qt}))}},{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 qt,$n=this.state,Jn=$n.focused,Kt=$n.flattenNodes,dn=$n.keyEntities,Vt=$n.draggingNodeKey,ta=$n.activeKey,ba=$n.dropLevelOffset,za=$n.dropContainerKey,Ma=$n.dropTargetKey,Ya=$n.dropPosition,pr=$n.dragOverNodeKey,_n=$n.indent,zt=this.props,Bn=zt.prefixCls,Hn=zt.className,xa=zt.style,qa=zt.showLine,lr=zt.focusable,Br=zt.tabIndex,sr=Br===void 0?0:Br,Lr=zt.selectable,Gr=zt.showIcon,br=zt.icon,ao=zt.switcherIcon,oo=zt.draggable,So=zt.checkable,eo=zt.checkStrictly,Po=zt.disabled,Hr=zt.motion,ho=zt.loadData,jo=zt.filterTreeNode,Ni=zt.height,hi=zt.itemHeight,Mi=zt.virtual,Yo=zt.titleRender,Ho=zt.dropIndicatorRender,Ri=zt.onContextMenu,Hi=zt.onScroll,Vi=zt.direction,fl=zt.rootClassName,zi=zt.rootStyle,Ol=(0,E.Z)(this.props,{aria:!0,data:!0}),Ki;return oo&&((0,Ce.Z)(oo)==="object"?Ki=oo:typeof oo=="function"?Ki={nodeDraggable:oo}:Ki={}),b.createElement(y.k.Provider,{value:{prefixCls:Bn,selectable:Lr,showIcon:Gr,icon:br,switcherIcon:ao,draggable:Ki,draggingNodeKey:Vt,checkable:So,checkStrictly:eo,disabled:Po,keyEntities:dn,dropLevelOffset:ba,dropContainerKey:za,dropTargetKey:Ma,dropPosition:Ya,dragOverNodeKey:pr,indent:_n,direction:Vi,dropIndicatorRender:Ho,loadData:ho,filterTreeNode:jo,titleRender:Yo,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}},b.createElement("div",{role:"tree",className:Ie()(Bn,Hn,fl,(qt={},(0,re.Z)(qt,"".concat(Bn,"-show-line"),qa),(0,re.Z)(qt,"".concat(Bn,"-focused"),Jn),(0,re.Z)(qt,"".concat(Bn,"-active-focused"),ta!==null),qt)),style:zi},b.createElement(Ai,(0,x.Z)({ref:this.listRef,prefixCls:Bn,style:xa,data:Kt,disabled:Po,selectable:Lr,checkable:!!So,motion:Hr,dragging:Vt!==null,height:Ni,itemHeight:hi,virtual:Mi,focusable:lr,focused:Jn,tabIndex:sr,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:Ri,onScroll:Hi},this.getTreeNodeRequiredProps(),Ol))))}}],[{key:"getDerivedStateFromProps",value:function(qt,$n){var Jn=$n.prevProps,Kt={prevProps:qt};function dn(lr){return!Jn&&lr in qt||Jn&&Jn[lr]!==qt[lr]}var Vt,ta=$n.fieldNames;if(dn("fieldNames")&&(ta=(0,Nn.w$)(qt.fieldNames),Kt.fieldNames=ta),dn("treeData")?Vt=qt.treeData:dn("children")&&((0,a.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),Vt=(0,Nn.zn)(qt.children)),Vt){Kt.treeData=Vt;var ba=(0,Nn.I8)(Vt,{fieldNames:ta});Kt.keyEntities=(0,ze.Z)((0,re.Z)({},Za,jn),ba.keyEntities)}var za=Kt.keyEntities||$n.keyEntities;if(dn("expandedKeys")||Jn&&dn("autoExpandParent"))Kt.expandedKeys=qt.autoExpandParent||!Jn&&qt.defaultExpandParent?(0,qr.r7)(qt.expandedKeys,za):qt.expandedKeys;else if(!Jn&&qt.defaultExpandAll){var Ma=(0,ze.Z)({},za);delete Ma[Za],Kt.expandedKeys=Object.keys(Ma).map(function(lr){return Ma[lr].key})}else!Jn&&qt.defaultExpandedKeys&&(Kt.expandedKeys=qt.autoExpandParent||qt.defaultExpandParent?(0,qr.r7)(qt.defaultExpandedKeys,za):qt.defaultExpandedKeys);if(Kt.expandedKeys||delete Kt.expandedKeys,Vt||Kt.expandedKeys){var Ya=(0,Nn.oH)(Vt||$n.treeData,Kt.expandedKeys||$n.expandedKeys,ta);Kt.flattenNodes=Ya}if(qt.selectable&&(dn("selectedKeys")?Kt.selectedKeys=(0,qr.BT)(qt.selectedKeys,qt):!Jn&&qt.defaultSelectedKeys&&(Kt.selectedKeys=(0,qr.BT)(qt.defaultSelectedKeys,qt))),qt.checkable){var pr;if(dn("checkedKeys")?pr=(0,qr.E6)(qt.checkedKeys)||{}:!Jn&&qt.defaultCheckedKeys?pr=(0,qr.E6)(qt.defaultCheckedKeys)||{}:Vt&&(pr=(0,qr.E6)(qt.checkedKeys)||{checkedKeys:$n.checkedKeys,halfCheckedKeys:$n.halfCheckedKeys}),pr){var _n=pr,zt=_n.checkedKeys,Bn=zt===void 0?[]:zt,Hn=_n.halfCheckedKeys,xa=Hn===void 0?[]:Hn;if(!qt.checkStrictly){var qa=(0,ki.S)(Bn,!0,za);Bn=qa.checkedKeys,xa=qa.halfCheckedKeys}Kt.checkedKeys=Bn,Kt.halfCheckedKeys=xa}}return dn("loadedKeys")&&(Kt.loadedKeys=qt.loadedKeys),Kt}}]),vn}(b.Component);Wo.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:z,allowDrop:function(){return!0},expandAction:!1},Wo.TreeNode=ur.Z;var Zi=Wo,Ci=Zi,Pl=te(73148),Qn=te(56747),bl={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"},Li=bl,lo=te(74643),so=function(Gt,vn){return b.createElement(lo.Z,(0,x.Z)({},Gt,{ref:vn,icon:Li}))},pa=b.forwardRef(so),ir=te(53124),$r=te(50881),Xa=te(33603),Ao=te(32157);const Ro=4;function qo(It){const{dropPosition:Gt,dropLevelOffset:vn,prefixCls:Ue,indent:qt,direction:$n="ltr"}=It,Jn=$n==="ltr"?"left":"right",Kt=$n==="ltr"?"right":"left",dn={[Jn]:-vn*qt+Ro,[Kt]:0};switch(Gt){case-1:dn.top=-3;break;case 1:dn.bottom=-3;break;default:dn.bottom=-3,dn[Jn]=qt+Ro;break}return b.createElement("div",{style:dn,className:`${Ue}-drop-indicator`})}var Xo=te(99184),al=b.forwardRef((It,Gt)=>{const{getPrefixCls:vn,direction:Ue,virtual:qt,tree:$n}=b.useContext(ir.E_),{prefixCls:Jn,className:Kt,showIcon:dn=!1,showLine:Vt,switcherIcon:ta,blockNode:ba=!1,children:za,checkable:Ma=!1,selectable:Ya=!0,draggable:pr,motion:_n,style:zt}=It,Bn=vn("tree",Jn),Hn=vn(),xa=_n!=null?_n:Object.assign(Object.assign({},(0,Xa.Z)(Hn)),{motionAppear:!1}),qa=Object.assign(Object.assign({},It),{checkable:Ma,selectable:Ya,showIcon:dn,motion:xa,blockNode:ba,showLine:!!Vt,dropIndicatorRender:qo}),[lr,Br]=(0,Ao.ZP)(Bn),sr=b.useMemo(()=>{if(!pr)return!1;let Gr={};switch(typeof pr){case"function":Gr.nodeDraggable=pr;break;case"object":Gr=Object.assign({},pr);break;default:break}return Gr.icon!==!1&&(Gr.icon=Gr.icon||b.createElement($r.Z,null)),Gr},[pr]),Lr=Gr=>b.createElement(Xo.Z,{prefixCls:Bn,switcherIcon:ta,treeNodeProps:Gr,showLine:Vt});return lr(b.createElement(Ci,Object.assign({itemHeight:20,ref:Gt,virtual:qt},qa,{style:Object.assign(Object.assign({},$n==null?void 0:$n.style),zt),prefixCls:Bn,className:Ie()({[`${Bn}-icon-hide`]:!dn,[`${Bn}-block-node`]:ba,[`${Bn}-unselectable`]:!Ya,[`${Bn}-rtl`]:Ue==="rtl"},$n==null?void 0:$n.className,Kt,Br),direction:Ue,checkable:Ma&&b.createElement("span",{className:`${Bn}-checkbox-inner`}),selectable:Ya,switcherIcon:Lr,draggable:sr}),za))}),ci;(function(It){It[It.None=0]="None",It[It.Start=1]="Start",It[It.End=2]="End"})(ci||(ci={}));function xl(It,Gt){function vn(Ue){const{key:qt,children:$n}=Ue;Gt(qt,Ue)!==!1&&xl($n||[],Gt)}It.forEach(vn)}function jl(It){let{treeData:Gt,expandedKeys:vn,startKey:Ue,endKey:qt}=It;const $n=[];let Jn=ci.None;if(Ue&&Ue===qt)return[Ue];if(!Ue||!qt)return[];function Kt(dn){return dn===Ue||dn===qt}return xl(Gt,dn=>{if(Jn===ci.End)return!1;if(Kt(dn)){if($n.push(dn),Jn===ci.None)Jn=ci.Start;else if(Jn===ci.Start)return Jn=ci.End,!1}else Jn===ci.Start&&$n.push(dn);return vn.includes(dn)}),$n}function Kr(It,Gt){const vn=(0,we.Z)(Gt),Ue=[];return xl(It,(qt,$n)=>{const Jn=vn.indexOf(qt);return Jn!==-1&&(Ue.push($n),vn.splice(Jn,1)),!!vn.length}),Ue}var cl=function(It,Gt){var vn={};for(var Ue in It)Object.prototype.hasOwnProperty.call(It,Ue)&&Gt.indexOf(Ue)<0&&(vn[Ue]=It[Ue]);if(It!=null&&typeof Object.getOwnPropertySymbols=="function")for(var qt=0,Ue=Object.getOwnPropertySymbols(It);qt<Ue.length;qt++)Gt.indexOf(Ue[qt])<0&&Object.prototype.propertyIsEnumerable.call(It,Ue[qt])&&(vn[Ue[qt]]=It[Ue[qt]]);return vn};function gl(It){const{isLeaf:Gt,expanded:vn}=It;return Gt?b.createElement(Pl.Z,null):vn?b.createElement(Qn.Z,null):b.createElement(pa,null)}function ml(It){let{treeData:Gt,children:vn}=It;return Gt||(0,Nn.zn)(vn)}const rl=(It,Gt)=>{var{defaultExpandAll:vn,defaultExpandParent:Ue,defaultExpandedKeys:qt}=It,$n=cl(It,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);const Jn=b.useRef(),Kt=b.useRef(),dn=()=>{const{keyEntities:sr}=(0,Nn.I8)(ml($n));let Lr;return vn?Lr=Object.keys(sr):Ue?Lr=(0,qr.r7)($n.expandedKeys||qt||[],sr):Lr=$n.expandedKeys||qt,Lr},[Vt,ta]=b.useState($n.selectedKeys||$n.defaultSelectedKeys||[]),[ba,za]=b.useState(()=>dn());b.useEffect(()=>{"selectedKeys"in $n&&ta($n.selectedKeys)},[$n.selectedKeys]),b.useEffect(()=>{"expandedKeys"in $n&&za($n.expandedKeys)},[$n.expandedKeys]);const Ma=(sr,Lr)=>{var Gr;return"expandedKeys"in $n||za(sr),(Gr=$n.onExpand)===null||Gr===void 0?void 0:Gr.call($n,sr,Lr)},Ya=(sr,Lr)=>{var Gr;const{multiple:br}=$n,{node:ao,nativeEvent:oo}=Lr,{key:So=""}=ao,eo=ml($n),Po=Object.assign(Object.assign({},Lr),{selected:!0}),Hr=(oo==null?void 0:oo.ctrlKey)||(oo==null?void 0:oo.metaKey),ho=oo==null?void 0:oo.shiftKey;let jo;br&&Hr?(jo=sr,Jn.current=So,Kt.current=jo,Po.selectedNodes=Kr(eo,jo)):br&&ho?(jo=Array.from(new Set([].concat((0,we.Z)(Kt.current||[]),(0,we.Z)(jl({treeData:eo,expandedKeys:ba,startKey:So,endKey:Jn.current}))))),Po.selectedNodes=Kr(eo,jo)):(jo=[So],Jn.current=So,Kt.current=jo,Po.selectedNodes=Kr(eo,jo)),(Gr=$n.onSelect)===null||Gr===void 0||Gr.call($n,jo,Po),"selectedKeys"in $n||ta(jo)},{getPrefixCls:pr,direction:_n}=b.useContext(ir.E_),{prefixCls:zt,className:Bn,showIcon:Hn=!0,expandAction:xa="click"}=$n,qa=cl($n,["prefixCls","className","showIcon","expandAction"]),lr=pr("tree",zt),Br=Ie()(`${lr}-directory`,{[`${lr}-directory-rtl`]:_n==="rtl"},Bn);return b.createElement(al,Object.assign({icon:gl,ref:Gt,blockNode:!0},qa,{showIcon:Hn,expandAction:xa,prefixCls:lr,className:Br,expandedKeys:ba,selectedKeys:Vt,onSelect:Ya,onExpand:Ma}))};var ol=b.forwardRef(rl);const Wi=al;Wi.DirectoryTree=ol,Wi.TreeNode=ur.Z;var Ui=Wi},32157:function(vt,dt,te){"use strict";te.d(dt,{TM:function(){return ve},Yk:function(){return Ie}});var x=te(45930),re=te(63185),Ce=te(14747),ze=te(33507),we=te(45503),Te=te(67968);const oe=new x.Keyframes("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),Fe=(ie,E)=>({[`.${ie}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${E.motionDurationSlow}`}}}),he=(ie,E)=>({[`.${ie}-drop-indicator`]:{position:"absolute",zIndex:1,height:2,backgroundColor:E.colorPrimary,borderRadius:1,pointerEvents:"none","&:after":{position:"absolute",top:-3,insetInlineStart:-6,width:8,height:8,backgroundColor:"transparent",border:`${E.lineWidthBold}px solid ${E.colorPrimary}`,borderRadius:"50%",content:'""'}}}),ye=(ie,E)=>{const{treeCls:a,treeNodeCls:b,treeNodePadding:y,titleHeight:z,nodeSelectedBg:ee,nodeHoverBg:ne}=E,ae=E.paddingXS;return{[a]:Object.assign(Object.assign({},(0,Ce.Wf)(E)),{background:E.colorBgContainer,borderRadius:E.borderRadius,transition:`background-color ${E.motionDurationSlow}`,[`&${a}-rtl`]:{[`${a}-switcher`]:{"&_close":{[`${a}-switcher-icon`]:{svg:{transform:"rotate(90deg)"}}}}},[`&-focused:not(:hover):not(${a}-active-focused)`]:Object.assign({},(0,Ce.oN)(E)),[`${a}-list-holder-inner`]:{alignItems:"flex-start"},[`&${a}-block-node`]:{[`${a}-list-holder-inner`]:{alignItems:"stretch",[`${a}-node-content-wrapper`]:{flex:"auto"},[`${b}.dragging`]:{position:"relative","&:after":{position:"absolute",top:0,insetInlineEnd:0,bottom:y,insetInlineStart:0,border:`1px solid ${E.colorPrimary}`,opacity:0,animationName:oe,animationDuration:E.motionDurationSlow,animationPlayState:"running",animationFillMode:"forwards",content:'""',pointerEvents:"none"}}}},[`${b}`]:{display:"flex",alignItems:"flex-start",padding:`0 0 ${y}px 0`,outline:"none","&-rtl":{direction:"rtl"},"&-disabled":{[`${a}-node-content-wrapper`]:{color:E.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"}}},[`&-active ${a}-node-content-wrapper`]:Object.assign({},(0,Ce.oN)(E)),[`&:not(${b}-disabled).filter-node ${a}-title`]:{color:"inherit",fontWeight:500},"&-draggable":{[`${a}-draggable-icon`]:{flexShrink:0,width:z,lineHeight:`${z}px`,textAlign:"center",visibility:"visible",opacity:.2,transition:`opacity ${E.motionDurationSlow}`,[`${b}:hover &`]:{opacity:.45}},[`&${b}-disabled`]:{[`${a}-draggable-icon`]:{visibility:"hidden"}}}},[`${a}-indent`]:{alignSelf:"stretch",whiteSpace:"nowrap",userSelect:"none","&-unit":{display:"inline-block",width:z}},[`${a}-draggable-icon`]:{visibility:"hidden"},[`${a}-switcher`]:Object.assign(Object.assign({},Fe(ie,E)),{position:"relative",flex:"none",alignSelf:"stretch",width:z,margin:0,lineHeight:`${z}px`,textAlign:"center",cursor:"pointer",userSelect:"none","&-noop":{cursor:"default"},"&_close":{[`${a}-switcher-icon`]:{svg:{transform:"rotate(-90deg)"}}},"&-loading-icon":{color:E.colorPrimary},"&-leaf-line":{position:"relative",zIndex:1,display:"inline-block",width:"100%",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:z/2,bottom:-y,marginInlineStart:-1,borderInlineEnd:`1px solid ${E.colorBorder}`,content:'""'},"&:after":{position:"absolute",width:z/2*.8,height:z/2,borderBottom:`1px solid ${E.colorBorder}`,content:'""'}}}),[`${a}-checkbox`]:{top:"initial",marginInlineEnd:ae},[`${a}-node-content-wrapper, ${a}-checkbox + span`]:{position:"relative",zIndex:"auto",minHeight:z,margin:0,padding:`0 ${E.paddingXS/2}px`,color:"inherit",lineHeight:`${z}px`,background:"transparent",borderRadius:E.borderRadius,cursor:"pointer",transition:`all ${E.motionDurationMid}, border 0s, line-height 0s, box-shadow 0s`,"&:hover":{backgroundColor:ne},[`&${a}-node-selected`]:{backgroundColor:ee},[`${a}-iconEle`]:{display:"inline-block",width:z,height:z,lineHeight:`${z}px`,textAlign:"center",verticalAlign:"top","&:empty":{display:"none"}}},[`${a}-unselectable ${a}-node-content-wrapper:hover`]:{backgroundColor:"transparent"},[`${a}-node-content-wrapper`]:Object.assign({lineHeight:`${z}px`,userSelect:"none"},he(ie,E)),[`${b}.drop-container`]:{"> [draggable]":{boxShadow:`0 0 0 2px ${E.colorPrimary}`}},"&-show-line":{[`${a}-indent`]:{"&-unit":{position:"relative",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:z/2,bottom:-y,borderInlineEnd:`1px solid ${E.colorBorder}`,content:'""'},"&-end":{"&:before":{display:"none"}}}},[`${a}-switcher`]:{background:"transparent","&-line-icon":{verticalAlign:"-0.15em"}}},[`${b}-leaf-last`]:{[`${a}-switcher`]:{"&-leaf-line":{"&:before":{top:"auto !important",bottom:"auto !important",height:`${z/2}px !important`}}}}})}},Oe=ie=>{const{treeCls:E,treeNodeCls:a,treeNodePadding:b,directoryNodeSelectedBg:y,directoryNodeSelectedColor:z}=ie;return{[`${E}${E}-directory`]:{[a]:{position:"relative","&:before":{position:"absolute",top:0,insetInlineEnd:0,bottom:b,insetInlineStart:0,transition:`background-color ${ie.motionDurationMid}`,content:'""',pointerEvents:"none"},"&:hover":{"&:before":{background:ie.controlItemBgHover}},"> *":{zIndex:1},[`${E}-switcher`]:{transition:`color ${ie.motionDurationMid}`},[`${E}-node-content-wrapper`]:{borderRadius:0,userSelect:"none","&:hover":{background:"transparent"},[`&${E}-node-selected`]:{color:z,background:"transparent"}},"&-selected":{"\n &:hover::before,\n &::before\n ":{background:y},[`${E}-switcher`]:{color:z},[`${E}-node-content-wrapper`]:{color:z,background:"transparent"}}}}}},Ie=(ie,E)=>{const a=`.${ie}`,b=`${a}-treenode`,y=E.paddingXS/2,z=(0,we.TS)(E,{treeCls:a,treeNodeCls:b,treeNodePadding:y});return[ye(ie,z),Oe(z)]},ve=ie=>{const{controlHeightSM:E}=ie;return{titleHeight:E,nodeHoverBg:ie.controlItemBgHover,nodeSelectedBg:ie.controlItemBgActive}};dt.ZP=(0,Te.Z)("Tree",(ie,E)=>{let{prefixCls:a}=E;return[{[ie.componentCls]:(0,re.C2)(`${a}-checkbox`,ie)},Ie(a,ie),(0,ze.Z)(ie)]},ie=>{const{colorTextLightSolid:E,colorPrimary:a}=ie;return Object.assign(Object.assign({},ve(ie)),{directoryNodeSelectedColor:E,directoryNodeSelectedBg:a})})},99184:function(vt,dt,te){"use strict";te.d(dt,{Z:function(){return a}});var x=te(87462),re=te(67294),Ce={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"},ze=Ce,we=te(74643),Te=function(y,z){return re.createElement(we.Z,(0,x.Z)({},y,{ref:z,icon:ze}))},oe=re.forwardRef(Te),Fe=te(73148),he=te(3407),ye=te(34182),Oe=te(74664),Ie=te(94184),ve=te.n(Ie),ie=te(96159),a=b=>{const{prefixCls:y,switcherIcon:z,treeNodeProps:ee,showLine:ne}=b,{isLeaf:ae,expanded:le,loading:de}=ee;if(de)return re.createElement(he.Z,{className:`${y}-switcher-loading-icon`});let fe;if(ne&&typeof ne=="object"&&(fe=ne.showLeafIcon),ae){if(!ne)return null;if(typeof fe!="boolean"&&fe){const pe=typeof fe=="function"?fe(ee):fe,ge=`${y}-switcher-line-custom-icon`;return(0,ie.l$)(pe)?(0,ie.Tm)(pe,{className:ve()(pe.props.className||"",ge)}):pe}return fe?re.createElement(Fe.Z,{className:`${y}-switcher-line-icon`}):re.createElement("span",{className:`${y}-switcher-leaf-line`})}const be=`${y}-switcher-icon`,Ee=typeof z=="function"?z(ee):z;return(0,ie.l$)(Ee)?(0,ie.Tm)(Ee,{className:ve()(Ee.props.className||"",be)}):Ee!==void 0?Ee:ne?le?re.createElement(ye.Z,{className:`${y}-switcher-line-icon`}):re.createElement(Oe.Z,{className:`${y}-switcher-line-icon`}):re.createElement(oe,{className:be})}},62661:function(vt,dt){"use strict";var te;var x=Symbol.for("react.element"),re=Symbol.for("react.portal"),Ce=Symbol.for("react.fragment"),ze=Symbol.for("react.strict_mode"),we=Symbol.for("react.profiler"),Te=Symbol.for("react.provider"),oe=Symbol.for("react.context"),Fe=Symbol.for("react.server_context"),he=Symbol.for("react.forward_ref"),ye=Symbol.for("react.suspense"),Oe=Symbol.for("react.suspense_list"),Ie=Symbol.for("react.memo"),ve=Symbol.for("react.lazy"),ie=Symbol.for("react.offscreen"),E;E=Symbol.for("react.module.reference");function a(b){if(typeof b=="object"&&b!==null){var y=b.$$typeof;switch(y){case x:switch(b=b.type,b){case Ce:case we:case ze:case ye:case Oe:return b;default:switch(b=b&&b.$$typeof,b){case Fe:case oe:case he:case ve:case Ie:case Te:return b;default:return y}}case re:return y}}}te=oe,te=Te,te=x,te=he,te=Ce,te=ve,te=Ie,te=re,te=we,te=ze,te=ye,te=Oe,te=function(){return!1},te=function(){return!1},te=function(b){return a(b)===oe},te=function(b){return a(b)===Te},te=function(b){return typeof b=="object"&&b!==null&&b.$$typeof===x},te=function(b){return a(b)===he},te=function(b){return a(b)===Ce},te=function(b){return a(b)===ve},dt.isMemo=function(b){return a(b)===Ie},te=function(b){return a(b)===re},te=function(b){return a(b)===we},te=function(b){return a(b)===ze},te=function(b){return a(b)===ye},te=function(b){return a(b)===Oe},te=function(b){return typeof b=="string"||typeof b=="function"||b===Ce||b===we||b===ze||b===ye||b===Oe||b===ie||typeof b=="object"&&b!==null&&(b.$$typeof===ve||b.$$typeof===Ie||b.$$typeof===Te||b.$$typeof===oe||b.$$typeof===he||b.$$typeof===E||b.getModuleId!==void 0)},te=a},95845:function(vt,dt,te){"use strict";vt.exports=te(62661)},72665:function(vt,dt){"use strict";var te;var x=typeof Symbol=="function"&&Symbol.for,re=x?Symbol.for("react.element"):60103,Ce=x?Symbol.for("react.portal"):60106,ze=x?Symbol.for("react.fragment"):60107,we=x?Symbol.for("react.strict_mode"):60108,Te=x?Symbol.for("react.profiler"):60114,oe=x?Symbol.for("react.provider"):60109,Fe=x?Symbol.for("react.context"):60110,he=x?Symbol.for("react.async_mode"):60111,ye=x?Symbol.for("react.concurrent_mode"):60111,Oe=x?Symbol.for("react.forward_ref"):60112,Ie=x?Symbol.for("react.suspense"):60113,ve=x?Symbol.for("react.suspense_list"):60120,ie=x?Symbol.for("react.memo"):60115,E=x?Symbol.for("react.lazy"):60116,a=x?Symbol.for("react.block"):60121,b=x?Symbol.for("react.fundamental"):60117,y=x?Symbol.for("react.responder"):60118,z=x?Symbol.for("react.scope"):60119;function ee(ae){if(typeof ae=="object"&&ae!==null){var le=ae.$$typeof;switch(le){case re:switch(ae=ae.type,ae){case he:case ye:case ze:case Te:case we:case Ie:return ae;default:switch(ae=ae&&ae.$$typeof,ae){case Fe:case Oe:case E:case ie:case oe:return ae;default:return le}}case Ce:return le}}}function ne(ae){return ee(ae)===ye}te=he,te=ye,te=Fe,te=oe,te=re,te=Oe,te=ze,te=E,te=ie,te=Ce,te=Te,te=we,te=Ie,te=function(ae){return ne(ae)||ee(ae)===he},te=ne,te=function(ae){return ee(ae)===Fe},te=function(ae){return ee(ae)===oe},te=function(ae){return typeof ae=="object"&&ae!==null&&ae.$$typeof===re},te=function(ae){return ee(ae)===Oe},te=function(ae){return ee(ae)===ze},te=function(ae){return ee(ae)===E},dt.isMemo=function(ae){return ee(ae)===ie},te=function(ae){return ee(ae)===Ce},te=function(ae){return ee(ae)===Te},te=function(ae){return ee(ae)===we},te=function(ae){return ee(ae)===Ie},te=function(ae){return typeof ae=="string"||typeof ae=="function"||ae===ze||ae===ye||ae===Te||ae===we||ae===Ie||ae===ve||typeof ae=="object"&&ae!==null&&(ae.$$typeof===E||ae.$$typeof===ie||ae.$$typeof===oe||ae.$$typeof===Fe||ae.$$typeof===Oe||ae.$$typeof===b||ae.$$typeof===y||ae.$$typeof===z||ae.$$typeof===a)},te=ee},12060:function(vt,dt,te){"use strict";vt.exports=te(72665)},56261:function(vt,dt,te){"use strict";te.d(dt,{Z:function(){return fe}});var x=te(87462),re=te(4942),Ce=te(45987),ze=te(1413),we=te(15671),Te=te(43144),oe=te(97326),Fe=te(60136),he=te(51630),ye=te(94184),Oe=te.n(ye),Ie=te(34952),ve=te(67294),ie=te(69610),E=function(Ee){for(var pe=Ee.prefixCls,ge=Ee.level,$e=Ee.isStart,Be=Ee.isEnd,Le="".concat(pe,"-indent-unit"),Re=[],Ge=0;Ge<ge;Ge+=1){var Ye;Re.push(ve.createElement("span",{key:Ge,className:Oe()(Le,(Ye={},(0,re.Z)(Ye,"".concat(Le,"-start"),$e[Ge]),(0,re.Z)(Ye,"".concat(Le,"-end"),Be[Ge]),Ye))}))}return ve.createElement("span",{"aria-hidden":"true",className:"".concat(pe,"-indent")},Re)},a=ve.memo(E),b=te(3596),y=te(83898),z=["eventKey","className","style","dragOver","dragOverGapTop","dragOverGapBottom","isLeaf","isStart","isEnd","expanded","selected","checked","halfChecked","loading","domRef","active","data","onMouseMove","selectable"],ee="open",ne="close",ae="---",le=function(be){(0,Fe.Z)(pe,be);var Ee=(0,he.Z)(pe);function pe(){var ge;(0,we.Z)(this,pe);for(var $e=arguments.length,Be=new Array($e),Le=0;Le<$e;Le++)Be[Le]=arguments[Le];return ge=Ee.call.apply(Ee,[this].concat(Be)),ge.state={dragNodeHighlight:!1},ge.selectHandle=void 0,ge.cacheIndent=void 0,ge.onSelectorClick=function(Re){var Ge=ge.props.context.onNodeClick;Ge(Re,(0,y.F)(ge.props)),ge.isSelectable()?ge.onSelect(Re):ge.onCheck(Re)},ge.onSelectorDoubleClick=function(Re){var Ge=ge.props.context.onNodeDoubleClick;Ge(Re,(0,y.F)(ge.props))},ge.onSelect=function(Re){if(!ge.isDisabled()){var Ge=ge.props.context.onNodeSelect;Ge(Re,(0,y.F)(ge.props))}},ge.onCheck=function(Re){if(!ge.isDisabled()){var Ge=ge.props,Ye=Ge.disableCheckbox,Pt=Ge.checked,qe=ge.props.context.onNodeCheck;if(!(!ge.isCheckable()||Ye)){var at=!Pt;qe(Re,(0,y.F)(ge.props),at)}}},ge.onMouseEnter=function(Re){var Ge=ge.props.context.onNodeMouseEnter;Ge(Re,(0,y.F)(ge.props))},ge.onMouseLeave=function(Re){var Ge=ge.props.context.onNodeMouseLeave;Ge(Re,(0,y.F)(ge.props))},ge.onContextMenu=function(Re){var Ge=ge.props.context.onNodeContextMenu;Ge(Re,(0,y.F)(ge.props))},ge.onDragStart=function(Re){var Ge=ge.props.context.onNodeDragStart;Re.stopPropagation(),ge.setState({dragNodeHighlight:!0}),Ge(Re,(0,oe.Z)(ge));try{Re.dataTransfer.setData("text/plain","")}catch(Ye){}},ge.onDragEnter=function(Re){var Ge=ge.props.context.onNodeDragEnter;Re.preventDefault(),Re.stopPropagation(),Ge(Re,(0,oe.Z)(ge))},ge.onDragOver=function(Re){var Ge=ge.props.context.onNodeDragOver;Re.preventDefault(),Re.stopPropagation(),Ge(Re,(0,oe.Z)(ge))},ge.onDragLeave=function(Re){var Ge=ge.props.context.onNodeDragLeave;Re.stopPropagation(),Ge(Re,(0,oe.Z)(ge))},ge.onDragEnd=function(Re){var Ge=ge.props.context.onNodeDragEnd;Re.stopPropagation(),ge.setState({dragNodeHighlight:!1}),Ge(Re,(0,oe.Z)(ge))},ge.onDrop=function(Re){var Ge=ge.props.context.onNodeDrop;Re.preventDefault(),Re.stopPropagation(),ge.setState({dragNodeHighlight:!1}),Ge(Re,(0,oe.Z)(ge))},ge.onExpand=function(Re){var Ge=ge.props,Ye=Ge.loading,Pt=Ge.context.onNodeExpand;Ye||Pt(Re,(0,y.F)(ge.props))},ge.setSelectHandle=function(Re){ge.selectHandle=Re},ge.getNodeState=function(){var Re=ge.props.expanded;return ge.isLeaf()?null:Re?ee:ne},ge.hasChildren=function(){var Re=ge.props.eventKey,Ge=ge.props.context.keyEntities,Ye=(0,b.Z)(Ge,Re)||{},Pt=Ye.children;return!!(Pt||[]).length},ge.isLeaf=function(){var Re=ge.props,Ge=Re.isLeaf,Ye=Re.loaded,Pt=ge.props.context.loadData,qe=ge.hasChildren();return Ge===!1?!1:Ge||!Pt&&!qe||Pt&&Ye&&!qe},ge.isDisabled=function(){var Re=ge.props.disabled,Ge=ge.props.context.disabled;return!!(Ge||Re)},ge.isCheckable=function(){var Re=ge.props.checkable,Ge=ge.props.context.checkable;return!Ge||Re===!1?!1:Ge},ge.syncLoadData=function(Re){var Ge=Re.expanded,Ye=Re.loading,Pt=Re.loaded,qe=ge.props.context,at=qe.loadData,pt=qe.onNodeLoad;Ye||at&&Ge&&!ge.isLeaf()&&!ge.hasChildren()&&!Pt&&pt((0,y.F)(ge.props))},ge.isDraggable=function(){var Re=ge.props,Ge=Re.data,Ye=Re.context.draggable;return!!(Ye&&(!Ye.nodeDraggable||Ye.nodeDraggable(Ge)))},ge.renderDragHandler=function(){var Re=ge.props.context,Ge=Re.draggable,Ye=Re.prefixCls;return Ge!=null&&Ge.icon?ve.createElement("span",{className:"".concat(Ye,"-draggable-icon")},Ge.icon):null},ge.renderSwitcherIconDom=function(Re){var Ge=ge.props.switcherIcon,Ye=ge.props.context.switcherIcon,Pt=Ge||Ye;return typeof Pt=="function"?Pt((0,ze.Z)((0,ze.Z)({},ge.props),{},{isLeaf:Re})):Pt},ge.renderSwitcher=function(){var Re=ge.props.expanded,Ge=ge.props.context.prefixCls;if(ge.isLeaf()){var Ye=ge.renderSwitcherIconDom(!0);return Ye!==!1?ve.createElement("span",{className:Oe()("".concat(Ge,"-switcher"),"".concat(Ge,"-switcher-noop"))},Ye):null}var Pt=Oe()("".concat(Ge,"-switcher"),"".concat(Ge,"-switcher_").concat(Re?ee:ne)),qe=ge.renderSwitcherIconDom(!1);return qe!==!1?ve.createElement("span",{onClick:ge.onExpand,className:Pt},qe):null},ge.renderCheckbox=function(){var Re=ge.props,Ge=Re.checked,Ye=Re.halfChecked,Pt=Re.disableCheckbox,qe=ge.props.context.prefixCls,at=ge.isDisabled(),pt=ge.isCheckable();if(!pt)return null;var _t=typeof pt!="boolean"?pt:null;return ve.createElement("span",{className:Oe()("".concat(qe,"-checkbox"),Ge&&"".concat(qe,"-checkbox-checked"),!Ge&&Ye&&"".concat(qe,"-checkbox-indeterminate"),(at||Pt)&&"".concat(qe,"-checkbox-disabled")),onClick:ge.onCheck},_t)},ge.renderIcon=function(){var Re=ge.props.loading,Ge=ge.props.context.prefixCls;return ve.createElement("span",{className:Oe()("".concat(Ge,"-iconEle"),"".concat(Ge,"-icon__").concat(ge.getNodeState()||"docu"),Re&&"".concat(Ge,"-icon_loading"))})},ge.renderSelector=function(){var Re=ge.state.dragNodeHighlight,Ge=ge.props,Ye=Ge.title,Pt=Ye===void 0?ae:Ye,qe=Ge.selected,at=Ge.icon,pt=Ge.loading,_t=Ge.data,Qt=ge.props.context,Je=Qt.prefixCls,xt=Qt.showIcon,Et=Qt.icon,un=Qt.loadData,Bt=Qt.titleRender,$t=ge.isDisabled(),Ne="".concat(Je,"-node-content-wrapper"),Tt;if(xt){var an=at||Et;Tt=an?ve.createElement("span",{className:Oe()("".concat(Je,"-iconEle"),"".concat(Je,"-icon__customize"))},typeof an=="function"?an(ge.props):an):ge.renderIcon()}else un&&pt&&(Tt=ge.renderIcon());var Ft;typeof Pt=="function"?Ft=Pt(_t):Bt?Ft=Bt(_t):Ft=Pt;var ct=ve.createElement("span",{className:"".concat(Je,"-title")},Ft);return ve.createElement("span",{ref:ge.setSelectHandle,title:typeof Pt=="string"?Pt:"",className:Oe()("".concat(Ne),"".concat(Ne,"-").concat(ge.getNodeState()||"normal"),!$t&&(qe||Re)&&"".concat(Je,"-node-selected")),onMouseEnter:ge.onMouseEnter,onMouseLeave:ge.onMouseLeave,onContextMenu:ge.onContextMenu,onClick:ge.onSelectorClick,onDoubleClick:ge.onSelectorDoubleClick},Tt,ct,ge.renderDropIndicator())},ge.renderDropIndicator=function(){var Re=ge.props,Ge=Re.disabled,Ye=Re.eventKey,Pt=ge.props.context,qe=Pt.draggable,at=Pt.dropLevelOffset,pt=Pt.dropPosition,_t=Pt.prefixCls,Qt=Pt.indent,Je=Pt.dropIndicatorRender,xt=Pt.dragOverNodeKey,Et=Pt.direction,un=!!qe,Bt=!Ge&&un&&xt===Ye,$t=Qt!=null?Qt:ge.cacheIndent;return ge.cacheIndent=Qt,Bt?Je({dropPosition:pt,dropLevelOffset:at,indent:$t,prefixCls:_t,direction:Et}):null},ge}return(0,Te.Z)(pe,[{key:"componentDidMount",value:function(){this.syncLoadData(this.props)}},{key:"componentDidUpdate",value:function(){this.syncLoadData(this.props)}},{key:"isSelectable",value:function(){var $e=this.props.selectable,Be=this.props.context.selectable;return typeof $e=="boolean"?$e:Be}},{key:"render",value:function(){var $e,Be=this.props,Le=Be.eventKey,Re=Be.className,Ge=Be.style,Ye=Be.dragOver,Pt=Be.dragOverGapTop,qe=Be.dragOverGapBottom,at=Be.isLeaf,pt=Be.isStart,_t=Be.isEnd,Qt=Be.expanded,Je=Be.selected,xt=Be.checked,Et=Be.halfChecked,un=Be.loading,Bt=Be.domRef,$t=Be.active,Ne=Be.data,Tt=Be.onMouseMove,an=Be.selectable,Ft=(0,Ce.Z)(Be,z),ct=this.props.context,Ct=ct.prefixCls,Ze=ct.filterTreeNode,Me=ct.keyEntities,et=ct.dropContainerKey,wt=ct.dropTargetKey,Ot=ct.draggingNodeKey,Ut=this.isDisabled(),wn=(0,Ie.Z)(Ft,{aria:!0,data:!0}),An=(0,b.Z)(Me,Le)||{},tn=An.level,Dn=_t[_t.length-1],_e=this.isDraggable(),ot=!Ut&&_e,rn=Ot===Le,hn=an!==void 0?{"aria-selected":!!an}:void 0;return ve.createElement("div",(0,x.Z)({ref:Bt,className:Oe()(Re,"".concat(Ct,"-treenode"),($e={},(0,re.Z)($e,"".concat(Ct,"-treenode-disabled"),Ut),(0,re.Z)($e,"".concat(Ct,"-treenode-switcher-").concat(Qt?"open":"close"),!at),(0,re.Z)($e,"".concat(Ct,"-treenode-checkbox-checked"),xt),(0,re.Z)($e,"".concat(Ct,"-treenode-checkbox-indeterminate"),Et),(0,re.Z)($e,"".concat(Ct,"-treenode-selected"),Je),(0,re.Z)($e,"".concat(Ct,"-treenode-loading"),un),(0,re.Z)($e,"".concat(Ct,"-treenode-active"),$t),(0,re.Z)($e,"".concat(Ct,"-treenode-leaf-last"),Dn),(0,re.Z)($e,"".concat(Ct,"-treenode-draggable"),_e),(0,re.Z)($e,"dragging",rn),(0,re.Z)($e,"drop-target",wt===Le),(0,re.Z)($e,"drop-container",et===Le),(0,re.Z)($e,"drag-over",!Ut&&Ye),(0,re.Z)($e,"drag-over-gap-top",!Ut&&Pt),(0,re.Z)($e,"drag-over-gap-bottom",!Ut&&qe),(0,re.Z)($e,"filter-node",Ze&&Ze((0,y.F)(this.props))),$e)),style:Ge,draggable:ot,"aria-grabbed":rn,onDragStart:ot?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:Tt},hn,wn),ve.createElement(a,{prefixCls:Ct,level:tn,isStart:pt,isEnd:_t}),this.renderDragHandler(),this.renderSwitcher(),this.renderCheckbox(),this.renderSelector())}}]),pe}(ve.Component),de=function(Ee){return ve.createElement(ie.k.Consumer,null,function(pe){return ve.createElement(le,(0,x.Z)({},Ee,{context:pe}))})};de.displayName="TreeNode",de.isTreeNode=1;var fe=de},69610:function(vt,dt,te){"use strict";te.d(dt,{k:function(){return re}});var x=te(67294),re=x.createContext(null)},29873:function(vt,dt,te){"use strict";te.d(dt,{BT:function(){return a},E6:function(){return z},L0:function(){return ye},OM:function(){return E},_5:function(){return he},r7:function(){return ee},wA:function(){return Ie},yx:function(){return Oe}});var x=te(74902),re=te(71002),Ce=te(72978),ze=te(67294),we=te(56261),Te=te(3596),oe=te(83898),Fe=null;function he(ne,ae){if(!ne)return[];var le=ne.slice(),de=le.indexOf(ae);return de>=0&&le.splice(de,1),le}function ye(ne,ae){var le=(ne||[]).slice();return le.indexOf(ae)===-1&&le.push(ae),le}function Oe(ne){return ne.split("-")}function Ie(ne,ae){var le=[],de=(0,Te.Z)(ae,ne);function fe(){var be=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];be.forEach(function(Ee){var pe=Ee.key,ge=Ee.children;le.push(pe),fe(ge)})}return fe(de.children),le}function ve(ne){if(ne.parent){var ae=Oe(ne.pos);return Number(ae[ae.length-1])===ne.parent.children.length-1}return!1}function ie(ne){var ae=Oe(ne.pos);return Number(ae[ae.length-1])===0}function E(ne,ae,le,de,fe,be,Ee,pe,ge,$e){var Be,Le=ne.clientX,Re=ne.clientY,Ge=ne.target.getBoundingClientRect(),Ye=Ge.top,Pt=Ge.height,qe=($e==="rtl"?-1:1)*(((fe==null?void 0:fe.x)||0)-Le),at=(qe-12)/de,pt=(0,Te.Z)(pe,le.props.eventKey);if(Re<Ye+Pt/2){var _t=Ee.findIndex(function(ct){return ct.key===pt.key}),Qt=_t<=0?0:_t-1,Je=Ee[Qt].key;pt=(0,Te.Z)(pe,Je)}var xt=pt.key,Et=pt,un=pt.key,Bt=0,$t=0;if(!ge.includes(xt))for(var Ne=0;Ne<at&&ve(pt);Ne+=1)pt=pt.parent,$t+=1;var Tt=ae.props.data,an=pt.node,Ft=!0;return ie(pt)&&pt.level===0&&Re<Ye+Pt/2&&be({dragNode:Tt,dropNode:an,dropPosition:-1})&&pt.key===le.props.eventKey?Bt=-1:(Et.children||[]).length&&ge.includes(un)?be({dragNode:Tt,dropNode:an,dropPosition:0})?Bt=0:Ft=!1:$t===0?at>-1.5?be({dragNode:Tt,dropNode:an,dropPosition:1})?Bt=1:Ft=!1:be({dragNode:Tt,dropNode:an,dropPosition:0})?Bt=0:be({dragNode:Tt,dropNode:an,dropPosition:1})?Bt=1:Ft=!1:be({dragNode:Tt,dropNode:an,dropPosition:1})?Bt=1:Ft=!1,{dropPosition:Bt,dropLevelOffset:$t,dropTargetKey:pt.key,dropTargetPos:pt.pos,dragOverNodeKey:un,dropContainerKey:Bt===0?null:((Be=pt.parent)===null||Be===void 0?void 0:Be.key)||null,dropAllowed:Ft}}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 y(ne,ae){if(!ne)return[];var le=ae||{},de=le.processProps,fe=de===void 0?b:de,be=Array.isArray(ne)?ne:[ne];return be.map(function(Ee){var pe=Ee.children,ge=_objectWithoutProperties(Ee,Fe),$e=y(pe,ae);return React.createElement(TreeNode,_extends({key:ge.key},fe(ge)),$e)})}function z(ne){if(!ne)return null;var ae;if(Array.isArray(ne))ae={checkedKeys:ne,halfCheckedKeys:void 0};else if((0,re.Z)(ne)==="object")ae={checkedKeys:ne.checked||void 0,halfCheckedKeys:ne.halfChecked||void 0};else return(0,Ce.ZP)(!1,"`checkedKeys` is not an array or an object"),null;return ae}function ee(ne,ae){var le=new Set;function de(fe){if(!le.has(fe)){var be=(0,Te.Z)(ae,fe);if(be){le.add(fe);var Ee=be.parent,pe=be.node;pe.disabled||Ee&&de(Ee.key)}}}return(ne||[]).forEach(function(fe){de(fe)}),(0,x.Z)(le)}},97153:function(vt,dt,te){"use strict";te.d(dt,{S:function(){return oe}});var x=te(72978),re=te(3596);function Ce(Fe,he){var ye=new Set;return Fe.forEach(function(Oe){he.has(Oe)||ye.add(Oe)}),ye}function ze(Fe){var he=Fe||{},ye=he.disabled,Oe=he.disableCheckbox,Ie=he.checkable;return!!(ye||Oe)||Ie===!1}function we(Fe,he,ye,Oe){for(var Ie=new Set(Fe),ve=new Set,ie=0;ie<=ye;ie+=1){var E=he.get(ie)||new Set;E.forEach(function(z){var ee=z.key,ne=z.node,ae=z.children,le=ae===void 0?[]:ae;Ie.has(ee)&&!Oe(ne)&&le.filter(function(de){return!Oe(de.node)}).forEach(function(de){Ie.add(de.key)})})}for(var a=new Set,b=ye;b>=0;b-=1){var y=he.get(b)||new Set;y.forEach(function(z){var ee=z.parent,ne=z.node;if(!(Oe(ne)||!z.parent||a.has(z.parent.key))){if(Oe(z.parent.node)){a.add(ee.key);return}var ae=!0,le=!1;(ee.children||[]).filter(function(de){return!Oe(de.node)}).forEach(function(de){var fe=de.key,be=Ie.has(fe);ae&&!be&&(ae=!1),!le&&(be||ve.has(fe))&&(le=!0)}),ae&&Ie.add(ee.key),le&&ve.add(ee.key),a.add(ee.key)}})}return{checkedKeys:Array.from(Ie),halfCheckedKeys:Array.from(Ce(ve,Ie))}}function Te(Fe,he,ye,Oe,Ie){for(var ve=new Set(Fe),ie=new Set(he),E=0;E<=Oe;E+=1){var a=ye.get(E)||new Set;a.forEach(function(ee){var ne=ee.key,ae=ee.node,le=ee.children,de=le===void 0?[]:le;!ve.has(ne)&&!ie.has(ne)&&!Ie(ae)&&de.filter(function(fe){return!Ie(fe.node)}).forEach(function(fe){ve.delete(fe.key)})})}ie=new Set;for(var b=new Set,y=Oe;y>=0;y-=1){var z=ye.get(y)||new Set;z.forEach(function(ee){var ne=ee.parent,ae=ee.node;if(!(Ie(ae)||!ee.parent||b.has(ee.parent.key))){if(Ie(ee.parent.node)){b.add(ne.key);return}var le=!0,de=!1;(ne.children||[]).filter(function(fe){return!Ie(fe.node)}).forEach(function(fe){var be=fe.key,Ee=ve.has(be);le&&!Ee&&(le=!1),!de&&(Ee||ie.has(be))&&(de=!0)}),le||ve.delete(ne.key),de&&ie.add(ne.key),b.add(ne.key)}})}return{checkedKeys:Array.from(ve),halfCheckedKeys:Array.from(Ce(ie,ve))}}function oe(Fe,he,ye,Oe){var Ie=[],ve;Oe?ve=Oe:ve=ze;var ie=new Set(Fe.filter(function(y){var z=!!(0,re.Z)(ye,y);return z||Ie.push(y),z})),E=new Map,a=0;Object.keys(ye).forEach(function(y){var z=ye[y],ee=z.level,ne=E.get(ee);ne||(ne=new Set,E.set(ee,ne)),ne.add(z),a=Math.max(a,ee)}),(0,x.ZP)(!Ie.length,"Tree missing follow keys: ".concat(Ie.slice(0,100).map(function(y){return"'".concat(y,"'")}).join(", ")));var b;return he===!0?b=we(ie,E,a,ve):b=Te(ie,he.halfCheckedKeys,E,a,ve),b}},3596:function(vt,dt,te){"use strict";te.d(dt,{Z:function(){return x}});function x(re,Ce){return re[Ce]}},83898:function(vt,dt,te){"use strict";te.d(dt,{I8:function(){return ee},F:function(){return ae},zn:function(){return b},w$:function(){return E},oH:function(){return y},km:function(){return ie},H8:function(){return ne}});var x=te(71002),re=te(74902),Ce=te(1413),ze=te(45987),we=te(67294),Te=te(28580);function oe(le){var de=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},fe=[];return we.Children.forEach(le,function(be){be==null&&!de.keepEmpty||(Array.isArray(be)?fe=fe.concat(oe(be)):(0,Te.isFragment)(be)&&be.props?fe=fe.concat(oe(be.props.children,de)):fe.push(be))}),fe}function Fe(le,de){var fe=(0,Ce.Z)({},le);return Array.isArray(de)&&de.forEach(function(be){delete fe[be]}),fe}var he=te(72978),ye=te(3596),Oe=["children"];function Ie(le,de){return"".concat(le,"-").concat(de)}function ve(le){return le&&le.type&&le.type.isTreeNode}function ie(le,de){return le!=null?le:de}function E(le){var de=le||{},fe=de.title,be=de._title,Ee=de.key,pe=de.children,ge=fe||"title";return{title:ge,_title:be||[ge],key:Ee||"key",children:pe||"children"}}function a(le,de){var fe=new Map;function be(Ee){var pe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(Ee||[]).forEach(function(ge){var $e=ge[de.key],Be=ge[de.children];warning($e!=null,"Tree node must have a certain key: [".concat(pe).concat($e,"]"));var Le=String($e);warning(!fe.has(Le)||$e===null||$e===void 0,"Same 'key' exist in the Tree: ".concat(Le)),fe.set(Le,!0),be(Be,"".concat(pe).concat(Le," > "))})}be(le)}function b(le){function de(fe){var be=oe(fe);return be.map(function(Ee){if(!ve(Ee))return(0,he.ZP)(!Ee,"Tree/TreeNode can only accept TreeNode as children."),null;var pe=Ee.key,ge=Ee.props,$e=ge.children,Be=(0,ze.Z)(ge,Oe),Le=(0,Ce.Z)({key:pe},Be),Re=de($e);return Re.length&&(Le.children=Re),Le}).filter(function(Ee){return Ee})}return de(le)}function y(le,de,fe){var be=E(fe),Ee=be._title,pe=be.key,ge=be.children,$e=new Set(de===!0?[]:de),Be=[];function Le(Re){var Ge=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return Re.map(function(Ye,Pt){for(var qe=Ie(Ge?Ge.pos:"0",Pt),at=ie(Ye[pe],qe),pt,_t=0;_t<Ee.length;_t+=1){var Qt=Ee[_t];if(Ye[Qt]!==void 0){pt=Ye[Qt];break}}var Je=(0,Ce.Z)((0,Ce.Z)({},Fe(Ye,[].concat((0,re.Z)(Ee),[pe,ge]))),{},{title:pt,key:at,parent:Ge,pos:qe,children:null,data:Ye,isStart:[].concat((0,re.Z)(Ge?Ge.isStart:[]),[Pt===0]),isEnd:[].concat((0,re.Z)(Ge?Ge.isEnd:[]),[Pt===Re.length-1])});return Be.push(Je),de===!0||$e.has(at)?Je.children=Le(Ye[ge]||[],Je):Je.children=[],Je})}return Le(le),Be}function z(le,de,fe){var be={};(0,x.Z)(fe)==="object"?be=fe:be={externalGetKey:fe},be=be||{};var Ee=be,pe=Ee.childrenPropName,ge=Ee.externalGetKey,$e=Ee.fieldNames,Be=E($e),Le=Be.key,Re=Be.children,Ge=pe||Re,Ye;ge?typeof ge=="string"?Ye=function(at){return at[ge]}:typeof ge=="function"&&(Ye=function(at){return ge(at)}):Ye=function(at,pt){return ie(at[Le],pt)};function Pt(qe,at,pt,_t){var Qt=qe?qe[Ge]:le,Je=qe?Ie(pt.pos,at):"0",xt=qe?[].concat((0,re.Z)(_t),[qe]):[];if(qe){var Et=Ye(qe,Je),un={node:qe,index:at,pos:Je,key:Et,parentPos:pt.node?pt.pos:null,level:pt.level+1,nodes:xt};de(un)}Qt&&Qt.forEach(function(Bt,$t){Pt(Bt,$t,{node:qe,pos:Je,level:pt?pt.level+1:-1},xt)})}Pt(null)}function ee(le){var de=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},fe=de.initWrapper,be=de.processEntity,Ee=de.onProcessFinished,pe=de.externalGetKey,ge=de.childrenPropName,$e=de.fieldNames,Be=arguments.length>2?arguments[2]:void 0,Le=pe||Be,Re={},Ge={},Ye={posEntities:Re,keyEntities:Ge};return fe&&(Ye=fe(Ye)||Ye),z(le,function(Pt){var qe=Pt.node,at=Pt.index,pt=Pt.pos,_t=Pt.key,Qt=Pt.parentPos,Je=Pt.level,xt=Pt.nodes,Et={node:qe,nodes:xt,index:at,key:_t,pos:pt,level:Je},un=ie(_t,pt);Re[pt]=Et,Ge[un]=Et,Et.parent=Re[Qt],Et.parent&&(Et.parent.children=Et.parent.children||[],Et.parent.children.push(Et)),be&&be(Et,Ye)},{externalGetKey:Le,childrenPropName:ge,fieldNames:$e}),Ee&&Ee(Ye),Ye}function ne(le,de){var fe=de.expandedKeys,be=de.selectedKeys,Ee=de.loadedKeys,pe=de.loadingKeys,ge=de.checkedKeys,$e=de.halfCheckedKeys,Be=de.dragOverNodeKey,Le=de.dropPosition,Re=de.keyEntities,Ge=(0,ye.Z)(Re,le),Ye={eventKey:le,expanded:fe.indexOf(le)!==-1,selected:be.indexOf(le)!==-1,loaded:Ee.indexOf(le)!==-1,loading:pe.indexOf(le)!==-1,checked:ge.indexOf(le)!==-1,halfChecked:$e.indexOf(le)!==-1,pos:String(Ge?Ge.pos:""),dragOver:Be===le&&Le===0,dragOverGapTop:Be===le&&Le===-1,dragOverGapBottom:Be===le&&Le===1};return Ye}function ae(le){var de=le.data,fe=le.expanded,be=le.selected,Ee=le.checked,pe=le.loaded,ge=le.loading,$e=le.halfChecked,Be=le.dragOver,Le=le.dragOverGapTop,Re=le.dragOverGapBottom,Ge=le.pos,Ye=le.active,Pt=le.eventKey,qe=(0,Ce.Z)((0,Ce.Z)({},de),{},{expanded:fe,selected:be,checked:Ee,loaded:pe,loading:ge,halfChecked:$e,dragOver:Be,dragOverGapTop:Le,dragOverGapBottom:Re,pos:Ge,active:Ye,key:Pt});return"props"in qe||Object.defineProperty(qe,"props",{get:function(){return(0,he.ZP)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),le}}),qe}},34952:function(vt,dt,te){"use strict";te.d(dt,{Z:function(){return Fe}});var x=te(1413),re=`accept acceptCharset accessKey action allowFullScreen allowTransparency
alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge
charSet checked classID className colSpan cols content contentEditable contextMenu
controls coords crossOrigin data dateTime default defer dir disabled download draggable
encType form formAction formEncType formMethod formNoValidate formTarget frameBorder
headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity
is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media
mediaGroup method min minLength multiple muted name noValidate nonce open
optimum pattern placeholder poster preload radioGroup readOnly rel required
reversed role rowSpan rows sandbox scope scoped scrolling seamless selected
shape size sizes span spellCheck src srcDoc srcLang srcSet start step style
summary tabIndex target title type useMap value width wmode wrap`,Ce=`onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown
onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick
onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown
onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel
onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough
onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata
onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError`,ze="".concat(re," ").concat(Ce).split(/[\s\n]+/),we="aria-",Te="data-";function oe(he,ye){return he.indexOf(ye)===0}function Fe(he){var ye=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Oe;ye===!1?Oe={aria:!0,data:!0,attr:!0}:ye===!0?Oe={aria:!0}:Oe=(0,x.Z)({},ye);var Ie={};return Object.keys(he).forEach(function(ve){(Oe.aria&&(ve==="role"||oe(ve,we))||Oe.data&&oe(ve,Te)||Oe.attr&&ze.includes(ve))&&(Ie[ve]=he[ve])}),Ie}},72978:function(vt,dt,te){"use strict";var x={};function re(Fe,he){}function Ce(Fe,he){}function ze(){x={}}function we(Fe,he,ye){!he&&!x[ye]&&(Fe(!1,ye),x[ye]=!0)}function Te(Fe,he){we(re,Fe,he)}function oe(Fe,he){we(Ce,Fe,he)}dt.ZP=Te},81533:function(vt,dt){"use strict";var te;var x=typeof Symbol=="function"&&Symbol.for,re=x?Symbol.for("react.element"):60103,Ce=x?Symbol.for("react.portal"):60106,ze=x?Symbol.for("react.fragment"):60107,we=x?Symbol.for("react.strict_mode"):60108,Te=x?Symbol.for("react.profiler"):60114,oe=x?Symbol.for("react.provider"):60109,Fe=x?Symbol.for("react.context"):60110,he=x?Symbol.for("react.async_mode"):60111,ye=x?Symbol.for("react.concurrent_mode"):60111,Oe=x?Symbol.for("react.forward_ref"):60112,Ie=x?Symbol.for("react.suspense"):60113,ve=x?Symbol.for("react.suspense_list"):60120,ie=x?Symbol.for("react.memo"):60115,E=x?Symbol.for("react.lazy"):60116,a=x?Symbol.for("react.block"):60121,b=x?Symbol.for("react.fundamental"):60117,y=x?Symbol.for("react.responder"):60118,z=x?Symbol.for("react.scope"):60119;function ee(ae){if(typeof ae=="object"&&ae!==null){var le=ae.$$typeof;switch(le){case re:switch(ae=ae.type,ae){case he:case ye:case ze:case Te:case we:case Ie:return ae;default:switch(ae=ae&&ae.$$typeof,ae){case Fe:case Oe:case E:case ie:case oe:return ae;default:return le}}case Ce:return le}}}function ne(ae){return ee(ae)===ye}te=he,te=ye,te=Fe,te=oe,te=re,te=Oe,te=ze,te=E,te=ie,te=Ce,te=Te,te=we,te=Ie,te=function(ae){return ne(ae)||ee(ae)===he},te=ne,te=function(ae){return ee(ae)===Fe},te=function(ae){return ee(ae)===oe},te=function(ae){return typeof ae=="object"&&ae!==null&&ae.$$typeof===re},te=function(ae){return ee(ae)===Oe},dt.isFragment=function(ae){return ee(ae)===ze},te=function(ae){return ee(ae)===E},dt.isMemo=function(ae){return ee(ae)===ie},te=function(ae){return ee(ae)===Ce},te=function(ae){return ee(ae)===Te},te=function(ae){return ee(ae)===we},te=function(ae){return ee(ae)===Ie},te=function(ae){return typeof ae=="string"||typeof ae=="function"||ae===ze||ae===ye||ae===Te||ae===we||ae===Ie||ae===ve||typeof ae=="object"&&ae!==null&&(ae.$$typeof===E||ae.$$typeof===ie||ae.$$typeof===oe||ae.$$typeof===Fe||ae.$$typeof===Oe||ae.$$typeof===b||ae.$$typeof===y||ae.$$typeof===z||ae.$$typeof===a)},te=ee},28580:function(vt,dt,te){"use strict";vt.exports=te(81533)},92389:function(vt,dt){"use strict";var te={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(re){var Ce=re.keyCode;if(re.altKey&&!re.ctrlKey||re.metaKey||Ce>=te.F1&&Ce<=te.F12)return!1;switch(Ce){case te.ALT:case te.CAPS_LOCK:case te.CONTEXT_MENU:case te.CTRL:case te.DOWN:case te.END:case te.ESC:case te.HOME:case te.INSERT:case te.LEFT:case te.MAC_FF_META:case te.META:case te.NUMLOCK:case te.NUM_CENTER:case te.PAGE_DOWN:case te.PAGE_UP:case te.PAUSE:case te.PRINT_SCREEN:case te.RIGHT:case te.SHIFT:case te.UP:case te.WIN_KEY:case te.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(re){if(re>=te.ZERO&&re<=te.NINE||re>=te.NUM_ZERO&&re<=te.NUM_MULTIPLY||re>=te.A&&re<=te.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&re===0)return!0;switch(re){case te.SPACE:case te.QUESTION_MARK:case te.NUM_PLUS:case te.NUM_MINUS:case te.NUM_PERIOD:case te.NUM_DIVISION:case te.SEMICOLON:case te.DASH:case te.EQUALS:case te.COMMA:case te.PERIOD:case te.SLASH:case te.APOSTROPHE:case te.SINGLE_QUOTE:case te.OPEN_SQUARE_BRACKET:case te.BACKSLASH:case te.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}};dt.Z=te},19575:function(vt,dt,te){var x,re;(function(Ce,ze){vt.exports=ze(Ce)})(typeof self!="undefined"?self:typeof window!="undefined"?window:typeof te.g!="undefined"?te.g:this,function(Ce){"use strict";Ce=Ce||{};var ze=Ce.Base64,we="2.6.4",Te="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",oe=function(Be){for(var Le={},Re=0,Ge=Be.length;Re<Ge;Re++)Le[Be.charAt(Re)]=Re;return Le}(Te),Fe=String.fromCharCode,he=function(Be){if(Be.length<2){var Le=Be.charCodeAt(0);return Le<128?Be:Le<2048?Fe(192|Le>>>6)+Fe(128|Le&63):Fe(224|Le>>>12&15)+Fe(128|Le>>>6&63)+Fe(128|Le&63)}else{var Le=65536+(Be.charCodeAt(0)-55296)*1024+(Be.charCodeAt(1)-56320);return Fe(240|Le>>>18&7)+Fe(128|Le>>>12&63)+Fe(128|Le>>>6&63)+Fe(128|Le&63)}},ye=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,Oe=function(Be){return Be.replace(ye,he)},Ie=function(Be){var Le=[0,2,1][Be.length%3],Re=Be.charCodeAt(0)<<16|(Be.length>1?Be.charCodeAt(1):0)<<8|(Be.length>2?Be.charCodeAt(2):0),Ge=[Te.charAt(Re>>>18),Te.charAt(Re>>>12&63),Le>=2?"=":Te.charAt(Re>>>6&63),Le>=1?"=":Te.charAt(Re&63)];return Ge.join("")},ve=Ce.btoa&&typeof Ce.btoa=="function"?function(Be){return Ce.btoa(Be)}:function(Be){if(Be.match(/[^\x00-\xFF]/))throw new RangeError("The string contains invalid characters.");return Be.replace(/[\s\S]{1,3}/g,Ie)},ie=function(Be){return ve(Oe(String(Be)))},E=function(Be){return Be.replace(/[+\/]/g,function(Le){return Le=="+"?"-":"_"}).replace(/=/g,"")},a=function(Be,Le){return Le?E(ie(Be)):ie(Be)},b=function(Be){return a(Be,!0)},y;Ce.Uint8Array&&(y=function(Be,Le){for(var Re="",Ge=0,Ye=Be.length;Ge<Ye;Ge+=3){var Pt=Be[Ge],qe=Be[Ge+1],at=Be[Ge+2],pt=Pt<<16|qe<<8|at;Re+=Te.charAt(pt>>>18)+Te.charAt(pt>>>12&63)+(typeof qe!="undefined"?Te.charAt(pt>>>6&63):"=")+(typeof at!="undefined"?Te.charAt(pt&63):"=")}return Le?E(Re):Re});var z=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,ee=function(Be){switch(Be.length){case 4:var Le=(7&Be.charCodeAt(0))<<18|(63&Be.charCodeAt(1))<<12|(63&Be.charCodeAt(2))<<6|63&Be.charCodeAt(3),Re=Le-65536;return Fe((Re>>>10)+55296)+Fe((Re&1023)+56320);case 3:return Fe((15&Be.charCodeAt(0))<<12|(63&Be.charCodeAt(1))<<6|63&Be.charCodeAt(2));default:return Fe((31&Be.charCodeAt(0))<<6|63&Be.charCodeAt(1))}},ne=function(Be){return Be.replace(z,ee)},ae=function(Be){var Le=Be.length,Re=Le%4,Ge=(Le>0?oe[Be.charAt(0)]<<18:0)|(Le>1?oe[Be.charAt(1)]<<12:0)|(Le>2?oe[Be.charAt(2)]<<6:0)|(Le>3?oe[Be.charAt(3)]:0),Ye=[Fe(Ge>>>16),Fe(Ge>>>8&255),Fe(Ge&255)];return Ye.length-=[0,0,2,1][Re],Ye.join("")},le=Ce.atob&&typeof Ce.atob=="function"?function(Be){return Ce.atob(Be)}:function(Be){return Be.replace(/\S{1,4}/g,ae)},de=function(Be){return le(String(Be).replace(/[^A-Za-z0-9\+\/]/g,""))},fe=function(Be){return ne(le(Be))},be=function(Be){return String(Be).replace(/[-_]/g,function(Le){return Le=="-"?"+":"/"}).replace(/[^A-Za-z0-9\+\/]/g,"")},Ee=function(Be){return fe(be(Be))},pe;Ce.Uint8Array&&(pe=function(Be){return Uint8Array.from(de(be(Be)),function(Le){return Le.charCodeAt(0)})});var ge=function(){var Be=Ce.Base64;return Ce.Base64=ze,Be};if(Ce.Base64={VERSION:we,atob:de,btoa:ve,fromBase64:Ee,toBase64:a,utob:Oe,encode:a,encodeURI:b,btou:ne,decode:Ee,noConflict:ge,fromUint8Array:y,toUint8Array:pe},typeof Object.defineProperty=="function"){var $e=function(Be){return{value:Be,enumerable:!1,writable:!0,configurable:!0}};Ce.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",$e(function(){return Ee(this)})),Object.defineProperty(String.prototype,"toBase64",$e(function(Be){return a(this,Be)})),Object.defineProperty(String.prototype,"toBase64URI",$e(function(){return a(this,!0)}))}}return Ce.Meteor&&(Base64=Ce.Base64),vt.exports?vt.exports.Base64=Ce.Base64:(x=[],re=function(){return Ce.Base64}.apply(dt,x),re!==void 0&&(vt.exports=re)),{Base64:Ce.Base64}})},42767:function(vt,dt){"use strict";var te;var x=typeof Symbol=="function"&&Symbol.for,re=x?Symbol.for("react.element"):60103,Ce=x?Symbol.for("react.portal"):60106,ze=x?Symbol.for("react.fragment"):60107,we=x?Symbol.for("react.strict_mode"):60108,Te=x?Symbol.for("react.profiler"):60114,oe=x?Symbol.for("react.provider"):60109,Fe=x?Symbol.for("react.context"):60110,he=x?Symbol.for("react.async_mode"):60111,ye=x?Symbol.for("react.concurrent_mode"):60111,Oe=x?Symbol.for("react.forward_ref"):60112,Ie=x?Symbol.for("react.suspense"):60113,ve=x?Symbol.for("react.suspense_list"):60120,ie=x?Symbol.for("react.memo"):60115,E=x?Symbol.for("react.lazy"):60116,a=x?Symbol.for("react.block"):60121,b=x?Symbol.for("react.fundamental"):60117,y=x?Symbol.for("react.responder"):60118,z=x?Symbol.for("react.scope"):60119;function ee(ae){if(typeof ae=="object"&&ae!==null){var le=ae.$$typeof;switch(le){case re:switch(ae=ae.type,ae){case he:case ye:case ze:case Te:case we:case Ie:return ae;default:switch(ae=ae&&ae.$$typeof,ae){case Fe:case Oe:case E:case ie:case oe:return ae;default:return le}}case Ce:return le}}}function ne(ae){return ee(ae)===ye}te=he,te=ye,te=Fe,te=oe,te=re,te=Oe,te=ze,te=E,te=ie,te=Ce,te=Te,te=we,te=Ie,te=function(ae){return ne(ae)||ee(ae)===he},te=ne,te=function(ae){return ee(ae)===Fe},te=function(ae){return ee(ae)===oe},te=function(ae){return typeof ae=="object"&&ae!==null&&ae.$$typeof===re},te=function(ae){return ee(ae)===Oe},dt.isFragment=function(ae){return ee(ae)===ze},te=function(ae){return ee(ae)===E},te=function(ae){return ee(ae)===ie},te=function(ae){return ee(ae)===Ce},te=function(ae){return ee(ae)===Te},te=function(ae){return ee(ae)===we},te=function(ae){return ee(ae)===Ie},te=function(ae){return typeof ae=="string"||typeof ae=="function"||ae===ze||ae===ye||ae===Te||ae===we||ae===Ie||ae===ve||typeof ae=="object"&&ae!==null&&(ae.$$typeof===E||ae.$$typeof===ie||ae.$$typeof===oe||ae.$$typeof===Fe||ae.$$typeof===Oe||ae.$$typeof===b||ae.$$typeof===y||ae.$$typeof===z||ae.$$typeof===a)},te=ee},16357:function(vt,dt,te){"use strict";vt.exports=te(42767)},46762:function(vt,dt){"use strict";var te;var x=Symbol.for("react.element"),re=Symbol.for("react.portal"),Ce=Symbol.for("react.fragment"),ze=Symbol.for("react.strict_mode"),we=Symbol.for("react.profiler"),Te=Symbol.for("react.provider"),oe=Symbol.for("react.context"),Fe=Symbol.for("react.server_context"),he=Symbol.for("react.forward_ref"),ye=Symbol.for("react.suspense"),Oe=Symbol.for("react.suspense_list"),Ie=Symbol.for("react.memo"),ve=Symbol.for("react.lazy"),ie=Symbol.for("react.offscreen"),E;E=Symbol.for("react.module.reference");function a(b){if(typeof b=="object"&&b!==null){var y=b.$$typeof;switch(y){case x:switch(b=b.type,b){case Ce:case we:case ze:case ye:case Oe:return b;default:switch(b=b&&b.$$typeof,b){case Fe:case oe:case he:case ve:case Ie:case Te:return b;default:return y}}case re:return y}}}te=oe,te=Te,te=x,te=he,te=Ce,te=ve,te=Ie,te=re,te=we,te=ze,te=ye,te=Oe,te=function(){return!1},te=function(){return!1},te=function(b){return a(b)===oe},te=function(b){return a(b)===Te},te=function(b){return typeof b=="object"&&b!==null&&b.$$typeof===x},te=function(b){return a(b)===he},dt.isFragment=function(b){return a(b)===Ce},te=function(b){return a(b)===ve},te=function(b){return a(b)===Ie},te=function(b){return a(b)===re},te=function(b){return a(b)===we},te=function(b){return a(b)===ze},te=function(b){return a(b)===ye},te=function(b){return a(b)===Oe},te=function(b){return typeof b=="string"||typeof b=="function"||b===Ce||b===we||b===ze||b===ye||b===Oe||b===ie||typeof b=="object"&&b!==null&&(b.$$typeof===ve||b.$$typeof===Ie||b.$$typeof===Te||b.$$typeof===oe||b.$$typeof===he||b.$$typeof===E||b.getModuleId!==void 0)},te=a},35110:function(vt,dt,te){"use strict";vt.exports=te(46762)},86128:function(vt,dt,te){"use strict";te.d(dt,{Z:function(){return de}});var x=te(87462),re=te(4942),Ce=te(45987),ze=te(1413),we=te(15671),Te=te(43144),oe=te(97326),Fe=te(60136),he=te(51630),ye=te(67294),Oe=te(94184),Ie=te.n(Oe),ve=te(64217),ie=te(27822),E=function(be){for(var Ee=be.prefixCls,pe=be.level,ge=be.isStart,$e=be.isEnd,Be="".concat(Ee,"-indent-unit"),Le=[],Re=0;Re<pe;Re+=1){var Ge;Le.push(ye.createElement("span",{key:Re,className:Ie()(Be,(Ge={},(0,re.Z)(Ge,"".concat(Be,"-start"),ge[Re]),(0,re.Z)(Ge,"".concat(Be,"-end"),$e[Re]),Ge))}))}return ye.createElement("span",{"aria-hidden":"true",className:"".concat(Ee,"-indent")},Le)},a=ye.memo(E),b=te(1089),y=["eventKey","className","style","dragOver","dragOverGapTop","dragOverGapBottom","isLeaf","isStart","isEnd","expanded","selected","checked","halfChecked","loading","domRef","active","data","onMouseMove","selectable"],z="open",ee="close",ne="---",ae=function(fe){(0,Fe.Z)(Ee,fe);var be=(0,he.Z)(Ee);function Ee(){var pe;(0,we.Z)(this,Ee);for(var ge=arguments.length,$e=new Array(ge),Be=0;Be<ge;Be++)$e[Be]=arguments[Be];return pe=be.call.apply(be,[this].concat($e)),pe.state={dragNodeHighlight:!1},pe.selectHandle=void 0,pe.onSelectorClick=function(Le){var Re=pe.props.context.onNodeClick;Re(Le,(0,b.F)(pe.props)),pe.isSelectable()?pe.onSelect(Le):pe.onCheck(Le)},pe.onSelectorDoubleClick=function(Le){var Re=pe.props.context.onNodeDoubleClick;Re(Le,(0,b.F)(pe.props))},pe.onSelect=function(Le){if(!pe.isDisabled()){var Re=pe.props.context.onNodeSelect;Le.preventDefault(),Re(Le,(0,b.F)(pe.props))}},pe.onCheck=function(Le){if(!pe.isDisabled()){var Re=pe.props,Ge=Re.disableCheckbox,Ye=Re.checked,Pt=pe.props.context.onNodeCheck;if(!(!pe.isCheckable()||Ge)){Le.preventDefault();var qe=!Ye;Pt(Le,(0,b.F)(pe.props),qe)}}},pe.onMouseEnter=function(Le){var Re=pe.props.context.onNodeMouseEnter;Re(Le,(0,b.F)(pe.props))},pe.onMouseLeave=function(Le){var Re=pe.props.context.onNodeMouseLeave;Re(Le,(0,b.F)(pe.props))},pe.onContextMenu=function(Le){var Re=pe.props.context.onNodeContextMenu;Re(Le,(0,b.F)(pe.props))},pe.onDragStart=function(Le){var Re=pe.props.context.onNodeDragStart;Le.stopPropagation(),pe.setState({dragNodeHighlight:!0}),Re(Le,(0,oe.Z)(pe));try{Le.dataTransfer.setData("text/plain","")}catch(Ge){}},pe.onDragEnter=function(Le){var Re=pe.props.context.onNodeDragEnter;Le.preventDefault(),Le.stopPropagation(),Re(Le,(0,oe.Z)(pe))},pe.onDragOver=function(Le){var Re=pe.props.context.onNodeDragOver;Le.preventDefault(),Le.stopPropagation(),Re(Le,(0,oe.Z)(pe))},pe.onDragLeave=function(Le){var Re=pe.props.context.onNodeDragLeave;Le.stopPropagation(),Re(Le,(0,oe.Z)(pe))},pe.onDragEnd=function(Le){var Re=pe.props.context.onNodeDragEnd;Le.stopPropagation(),pe.setState({dragNodeHighlight:!1}),Re(Le,(0,oe.Z)(pe))},pe.onDrop=function(Le){var Re=pe.props.context.onNodeDrop;Le.preventDefault(),Le.stopPropagation(),pe.setState({dragNodeHighlight:!1}),Re(Le,(0,oe.Z)(pe))},pe.onExpand=function(Le){var Re=pe.props,Ge=Re.loading,Ye=Re.context.onNodeExpand;Ge||Ye(Le,(0,b.F)(pe.props))},pe.setSelectHandle=function(Le){pe.selectHandle=Le},pe.getNodeState=function(){var Le=pe.props.expanded;return pe.isLeaf()?null:Le?z:ee},pe.hasChildren=function(){var Le=pe.props.eventKey,Re=pe.props.context.keyEntities,Ge=Re[Le]||{},Ye=Ge.children;return!!(Ye||[]).length},pe.isLeaf=function(){var Le=pe.props,Re=Le.isLeaf,Ge=Le.loaded,Ye=pe.props.context.loadData,Pt=pe.hasChildren();return Re===!1?!1:Re||!Ye&&!Pt||Ye&&Ge&&!Pt},pe.isDisabled=function(){var Le=pe.props.disabled,Re=pe.props.context.disabled;return!!(Re||Le)},pe.isCheckable=function(){var Le=pe.props.checkable,Re=pe.props.context.checkable;return!Re||Le===!1?!1:Re},pe.syncLoadData=function(Le){var Re=Le.expanded,Ge=Le.loading,Ye=Le.loaded,Pt=pe.props.context,qe=Pt.loadData,at=Pt.onNodeLoad;Ge||qe&&Re&&!pe.isLeaf()&&!pe.hasChildren()&&!Ye&&at((0,b.F)(pe.props))},pe.isDraggable=function(){var Le=pe.props,Re=Le.data,Ge=Le.context.draggable;return!!(Ge&&(!Ge.nodeDraggable||Ge.nodeDraggable(Re)))},pe.renderDragHandler=function(){var Le=pe.props.context,Re=Le.draggable,Ge=Le.prefixCls;return Re!=null&&Re.icon?ye.createElement("span",{className:"".concat(Ge,"-draggable-icon")},Re.icon):null},pe.renderSwitcherIconDom=function(Le){var Re=pe.props.switcherIcon,Ge=pe.props.context.switcherIcon,Ye=Re||Ge;return typeof Ye=="function"?Ye((0,ze.Z)((0,ze.Z)({},pe.props),{},{isLeaf:Le})):Ye},pe.renderSwitcher=function(){var Le=pe.props.expanded,Re=pe.props.context.prefixCls;if(pe.isLeaf()){var Ge=pe.renderSwitcherIconDom(!0);return Ge!==!1?ye.createElement("span",{className:Ie()("".concat(Re,"-switcher"),"".concat(Re,"-switcher-noop"))},Ge):null}var Ye=Ie()("".concat(Re,"-switcher"),"".concat(Re,"-switcher_").concat(Le?z:ee)),Pt=pe.renderSwitcherIconDom(!1);return Pt!==!1?ye.createElement("span",{onClick:pe.onExpand,className:Ye},Pt):null},pe.renderCheckbox=function(){var Le=pe.props,Re=Le.checked,Ge=Le.halfChecked,Ye=Le.disableCheckbox,Pt=pe.props.context.prefixCls,qe=pe.isDisabled(),at=pe.isCheckable();if(!at)return null;var pt=typeof at!="boolean"?at:null;return ye.createElement("span",{className:Ie()("".concat(Pt,"-checkbox"),Re&&"".concat(Pt,"-checkbox-checked"),!Re&&Ge&&"".concat(Pt,"-checkbox-indeterminate"),(qe||Ye)&&"".concat(Pt,"-checkbox-disabled")),onClick:pe.onCheck},pt)},pe.renderIcon=function(){var Le=pe.props.loading,Re=pe.props.context.prefixCls;return ye.createElement("span",{className:Ie()("".concat(Re,"-iconEle"),"".concat(Re,"-icon__").concat(pe.getNodeState()||"docu"),Le&&"".concat(Re,"-icon_loading"))})},pe.renderSelector=function(){var Le=pe.state.dragNodeHighlight,Re=pe.props,Ge=Re.title,Ye=Ge===void 0?ne:Ge,Pt=Re.selected,qe=Re.icon,at=Re.loading,pt=Re.data,_t=pe.props.context,Qt=_t.prefixCls,Je=_t.showIcon,xt=_t.icon,Et=_t.loadData,un=_t.titleRender,Bt=pe.isDisabled(),$t="".concat(Qt,"-node-content-wrapper"),Ne;if(Je){var Tt=qe||xt;Ne=Tt?ye.createElement("span",{className:Ie()("".concat(Qt,"-iconEle"),"".concat(Qt,"-icon__customize"))},typeof Tt=="function"?Tt(pe.props):Tt):pe.renderIcon()}else Et&&at&&(Ne=pe.renderIcon());var an;typeof Ye=="function"?an=Ye(pt):un?an=un(pt):an=Ye;var Ft=ye.createElement("span",{className:"".concat(Qt,"-title")},an);return ye.createElement("span",{ref:pe.setSelectHandle,title:typeof Ye=="string"?Ye:"",className:Ie()("".concat($t),"".concat($t,"-").concat(pe.getNodeState()||"normal"),!Bt&&(Pt||Le)&&"".concat(Qt,"-node-selected")),onMouseEnter:pe.onMouseEnter,onMouseLeave:pe.onMouseLeave,onContextMenu:pe.onContextMenu,onClick:pe.onSelectorClick,onDoubleClick:pe.onSelectorDoubleClick},Ne,Ft,pe.renderDropIndicator())},pe.renderDropIndicator=function(){var Le=pe.props,Re=Le.disabled,Ge=Le.eventKey,Ye=pe.props.context,Pt=Ye.draggable,qe=Ye.dropLevelOffset,at=Ye.dropPosition,pt=Ye.prefixCls,_t=Ye.indent,Qt=Ye.dropIndicatorRender,Je=Ye.dragOverNodeKey,xt=Ye.direction,Et=!!Pt,un=!Re&&Et&&Je===Ge;return un?Qt({dropPosition:at,dropLevelOffset:qe,indent:_t,prefixCls:pt,direction:xt}):null},pe}return(0,Te.Z)(Ee,[{key:"componentDidMount",value:function(){this.syncLoadData(this.props)}},{key:"componentDidUpdate",value:function(){this.syncLoadData(this.props)}},{key:"isSelectable",value:function(){var ge=this.props.selectable,$e=this.props.context.selectable;return typeof ge=="boolean"?ge:$e}},{key:"render",value:function(){var ge,$e=this.props,Be=$e.eventKey,Le=$e.className,Re=$e.style,Ge=$e.dragOver,Ye=$e.dragOverGapTop,Pt=$e.dragOverGapBottom,qe=$e.isLeaf,at=$e.isStart,pt=$e.isEnd,_t=$e.expanded,Qt=$e.selected,Je=$e.checked,xt=$e.halfChecked,Et=$e.loading,un=$e.domRef,Bt=$e.active,$t=$e.data,Ne=$e.onMouseMove,Tt=$e.selectable,an=(0,Ce.Z)($e,y),Ft=this.props.context,ct=Ft.prefixCls,Ct=Ft.filterTreeNode,Ze=Ft.keyEntities,Me=Ft.dropContainerKey,et=Ft.dropTargetKey,wt=Ft.draggingNodeKey,Ot=this.isDisabled(),Ut=(0,ve.Z)(an,{aria:!0,data:!0}),wn=Ze[Be]||{},An=wn.level,tn=pt[pt.length-1],Dn=this.isDraggable(),_e=!Ot&&Dn,ot=wt===Be,rn=Tt!==void 0?{"aria-selected":!!Tt}:void 0;return ye.createElement("div",(0,x.Z)({ref:un,className:Ie()(Le,"".concat(ct,"-treenode"),(ge={},(0,re.Z)(ge,"".concat(ct,"-treenode-disabled"),Ot),(0,re.Z)(ge,"".concat(ct,"-treenode-switcher-").concat(_t?"open":"close"),!qe),(0,re.Z)(ge,"".concat(ct,"-treenode-checkbox-checked"),Je),(0,re.Z)(ge,"".concat(ct,"-treenode-checkbox-indeterminate"),xt),(0,re.Z)(ge,"".concat(ct,"-treenode-selected"),Qt),(0,re.Z)(ge,"".concat(ct,"-treenode-loading"),Et),(0,re.Z)(ge,"".concat(ct,"-treenode-active"),Bt),(0,re.Z)(ge,"".concat(ct,"-treenode-leaf-last"),tn),(0,re.Z)(ge,"".concat(ct,"-treenode-draggable"),Dn),(0,re.Z)(ge,"dragging",ot),(0,re.Z)(ge,"drop-target",et===Be),(0,re.Z)(ge,"drop-container",Me===Be),(0,re.Z)(ge,"drag-over",!Ot&&Ge),(0,re.Z)(ge,"drag-over-gap-top",!Ot&&Ye),(0,re.Z)(ge,"drag-over-gap-bottom",!Ot&&Pt),(0,re.Z)(ge,"filter-node",Ct&&Ct((0,b.F)(this.props))),ge)),style:Re,draggable:_e,"aria-grabbed":ot,onDragStart:_e?this.onDragStart:void 0,onDragEnter:Dn?this.onDragEnter:void 0,onDragOver:Dn?this.onDragOver:void 0,onDragLeave:Dn?this.onDragLeave:void 0,onDrop:Dn?this.onDrop:void 0,onDragEnd:Dn?this.onDragEnd:void 0,onMouseMove:Ne},rn,Ut),ye.createElement(a,{prefixCls:ct,level:An,isStart:at,isEnd:pt}),this.renderDragHandler(),this.renderSwitcher(),this.renderCheckbox(),this.renderSelector())}}]),Ee}(ye.Component),le=function(be){return ye.createElement(ie.k.Consumer,null,function(Ee){return ye.createElement(ae,(0,x.Z)({},be,{context:Ee}))})};le.displayName="TreeNode",le.isTreeNode=1;var de=le},27822:function(vt,dt,te){"use strict";te.d(dt,{k:function(){return re}});var x=te(67294),re=x.createContext(null)},10225:function(vt,dt,te){"use strict";te.d(dt,{BT:function(){return a},Ds:function(){return Oe},E6:function(){return z},L0:function(){return Fe},OM:function(){return E},_5:function(){return oe},bt:function(){return ye},r7:function(){return ee},wA:function(){return Ie},yx:function(){return he}});var x=te(74902),re=te(71002),Ce=te(67294),ze=te(80334),we=te(86128),Te=null;function oe(ne,ae){if(!ne)return[];var le=ne.slice(),de=le.indexOf(ae);return de>=0&&le.splice(de,1),le}function Fe(ne,ae){var le=(ne||[]).slice();return le.indexOf(ae)===-1&&le.push(ae),le}function he(ne){return ne.split("-")}function ye(ne,ae){return"".concat(ne,"-").concat(ae)}function Oe(ne){return ne&&ne.type&&ne.type.isTreeNode}function Ie(ne,ae){var le=[],de=ae[ne];function fe(){var be=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];be.forEach(function(Ee){var pe=Ee.key,ge=Ee.children;le.push(pe),fe(ge)})}return fe(de.children),le}function ve(ne){if(ne.parent){var ae=he(ne.pos);return Number(ae[ae.length-1])===ne.parent.children.length-1}return!1}function ie(ne){var ae=he(ne.pos);return Number(ae[ae.length-1])===0}function E(ne,ae,le,de,fe,be,Ee,pe,ge,$e){var Be,Le=ne.clientX,Re=ne.clientY,Ge=ne.target.getBoundingClientRect(),Ye=Ge.top,Pt=Ge.height,qe=($e==="rtl"?-1:1)*(((fe==null?void 0:fe.x)||0)-Le),at=(qe-12)/de,pt=pe[le.props.eventKey];if(Re<Ye+Pt/2){var _t=Ee.findIndex(function(ct){return ct.key===pt.key}),Qt=_t<=0?0:_t-1,Je=Ee[Qt].key;pt=pe[Je]}var xt=pt.key,Et=pt,un=pt.key,Bt=0,$t=0;if(!ge.includes(xt))for(var Ne=0;Ne<at&&ve(pt);Ne+=1)pt=pt.parent,$t+=1;var Tt=ae.props.data,an=pt.node,Ft=!0;return ie(pt)&&pt.level===0&&Re<Ye+Pt/2&&be({dragNode:Tt,dropNode:an,dropPosition:-1})&&pt.key===le.props.eventKey?Bt=-1:(Et.children||[]).length&&ge.includes(un)?be({dragNode:Tt,dropNode:an,dropPosition:0})?Bt=0:Ft=!1:$t===0?at>-1.5?be({dragNode:Tt,dropNode:an,dropPosition:1})?Bt=1:Ft=!1:be({dragNode:Tt,dropNode:an,dropPosition:0})?Bt=0:be({dragNode:Tt,dropNode:an,dropPosition:1})?Bt=1:Ft=!1:be({dragNode:Tt,dropNode:an,dropPosition:1})?Bt=1:Ft=!1,{dropPosition:Bt,dropLevelOffset:$t,dropTargetKey:pt.key,dropTargetPos:pt.pos,dragOverNodeKey:un,dropContainerKey:Bt===0?null:((Be=pt.parent)===null||Be===void 0?void 0:Be.key)||null,dropAllowed:Ft}}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 y(ne,ae){if(!ne)return[];var le=ae||{},de=le.processProps,fe=de===void 0?b:de,be=Array.isArray(ne)?ne:[ne];return be.map(function(Ee){var pe=Ee.children,ge=_objectWithoutProperties(Ee,Te),$e=y(pe,ae);return React.createElement(TreeNode,_extends({key:ge.key},fe(ge)),$e)})}function z(ne){if(!ne)return null;var ae;if(Array.isArray(ne))ae={checkedKeys:ne,halfCheckedKeys:void 0};else if((0,re.Z)(ne)==="object")ae={checkedKeys:ne.checked||void 0,halfCheckedKeys:ne.halfChecked||void 0};else return(0,ze.ZP)(!1,"`checkedKeys` is not an array or an object"),null;return ae}function ee(ne,ae){var le=new Set;function de(fe){if(!le.has(fe)){var be=ae[fe];if(be){le.add(fe);var Ee=be.parent,pe=be.node;pe.disabled||Ee&&de(Ee.key)}}}return(ne||[]).forEach(function(fe){de(fe)}),(0,x.Z)(le)}},17341:function(vt,dt,te){"use strict";te.d(dt,{S:function(){return Te}});var x=te(80334);function re(oe,Fe){var he=new Set;return oe.forEach(function(ye){Fe.has(ye)||he.add(ye)}),he}function Ce(oe){var Fe=oe||{},he=Fe.disabled,ye=Fe.disableCheckbox,Oe=Fe.checkable;return!!(he||ye)||Oe===!1}function ze(oe,Fe,he,ye){for(var Oe=new Set(oe),Ie=new Set,ve=0;ve<=he;ve+=1){var ie=Fe.get(ve)||new Set;ie.forEach(function(y){var z=y.key,ee=y.node,ne=y.children,ae=ne===void 0?[]:ne;Oe.has(z)&&!ye(ee)&&ae.filter(function(le){return!ye(le.node)}).forEach(function(le){Oe.add(le.key)})})}for(var E=new Set,a=he;a>=0;a-=1){var b=Fe.get(a)||new Set;b.forEach(function(y){var z=y.parent,ee=y.node;if(!(ye(ee)||!y.parent||E.has(y.parent.key))){if(ye(y.parent.node)){E.add(z.key);return}var ne=!0,ae=!1;(z.children||[]).filter(function(le){return!ye(le.node)}).forEach(function(le){var de=le.key,fe=Oe.has(de);ne&&!fe&&(ne=!1),!ae&&(fe||Ie.has(de))&&(ae=!0)}),ne&&Oe.add(z.key),ae&&Ie.add(z.key),E.add(z.key)}})}return{checkedKeys:Array.from(Oe),halfCheckedKeys:Array.from(re(Ie,Oe))}}function we(oe,Fe,he,ye,Oe){for(var Ie=new Set(oe),ve=new Set(Fe),ie=0;ie<=ye;ie+=1){var E=he.get(ie)||new Set;E.forEach(function(z){var ee=z.key,ne=z.node,ae=z.children,le=ae===void 0?[]:ae;!Ie.has(ee)&&!ve.has(ee)&&!Oe(ne)&&le.filter(function(de){return!Oe(de.node)}).forEach(function(de){Ie.delete(de.key)})})}ve=new Set;for(var a=new Set,b=ye;b>=0;b-=1){var y=he.get(b)||new Set;y.forEach(function(z){var ee=z.parent,ne=z.node;if(!(Oe(ne)||!z.parent||a.has(z.parent.key))){if(Oe(z.parent.node)){a.add(ee.key);return}var ae=!0,le=!1;(ee.children||[]).filter(function(de){return!Oe(de.node)}).forEach(function(de){var fe=de.key,be=Ie.has(fe);ae&&!be&&(ae=!1),!le&&(be||ve.has(fe))&&(le=!0)}),ae||Ie.delete(ee.key),le&&ve.add(ee.key),a.add(ee.key)}})}return{checkedKeys:Array.from(Ie),halfCheckedKeys:Array.from(re(ve,Ie))}}function Te(oe,Fe,he,ye){var Oe=[],Ie;ye?Ie=ye:Ie=Ce;var ve=new Set(oe.filter(function(b){var y=!!he[b];return y||Oe.push(b),y})),ie=new Map,E=0;Object.keys(he).forEach(function(b){var y=he[b],z=y.level,ee=ie.get(z);ee||(ee=new Set,ie.set(z,ee)),ee.add(y),E=Math.max(E,z)}),(0,x.ZP)(!Oe.length,"Tree missing follow keys: ".concat(Oe.slice(0,100).map(function(b){return"'".concat(b,"'")}).join(", ")));var a;return Fe===!0?a=ze(ve,ie,E,Ie):a=we(ve,Fe.halfCheckedKeys,ie,E,Ie),a}},1089:function(vt,dt,te){"use strict";te.d(dt,{F:function(){return y},H8:function(){return b},I8:function(){return a},km:function(){return ye},oH:function(){return ie},w$:function(){return Oe},zn:function(){return ve}});var x=te(71002),re=te(74902),Ce=te(1413),ze=te(45987),we=te(98423),Te=te(50344),oe=te(80334),Fe=te(10225),he=["children"];function ye(z,ee){return z!=null?z:ee}function Oe(z){var ee=z||{},ne=ee.title,ae=ee._title,le=ee.key,de=ee.children,fe=ne||"title";return{title:fe,_title:ae||[fe],key:le||"key",children:de||"children"}}function Ie(z,ee){var ne=new Map;function ae(le){var de=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(le||[]).forEach(function(fe){var be=fe[ee.key],Ee=fe[ee.children];warning(be!=null,"Tree node must have a certain key: [".concat(de).concat(be,"]"));var pe=String(be);warning(!ne.has(pe)||be===null||be===void 0,"Same 'key' exist in the Tree: ".concat(pe)),ne.set(pe,!0),ae(Ee,"".concat(de).concat(pe," > "))})}ae(z)}function ve(z){function ee(ne){var ae=(0,Te.Z)(ne);return ae.map(function(le){if(!(0,Fe.Ds)(le))return(0,oe.ZP)(!le,"Tree/TreeNode can only accept TreeNode as children."),null;var de=le.key,fe=le.props,be=fe.children,Ee=(0,ze.Z)(fe,he),pe=(0,Ce.Z)({key:de},Ee),ge=ee(be);return ge.length&&(pe.children=ge),pe}).filter(function(le){return le})}return ee(z)}function ie(z,ee,ne){var ae=Oe(ne),le=ae._title,de=ae.key,fe=ae.children,be=new Set(ee===!0?[]:ee),Ee=[];function pe(ge){var $e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return ge.map(function(Be,Le){for(var Re=(0,Fe.bt)($e?$e.pos:"0",Le),Ge=ye(Be[de],Re),Ye,Pt=0;Pt<le.length;Pt+=1){var qe=le[Pt];if(Be[qe]!==void 0){Ye=Be[qe];break}}var at=(0,Ce.Z)((0,Ce.Z)({},(0,we.Z)(Be,[].concat((0,re.Z)(le),[de,fe]))),{},{title:Ye,key:Ge,parent:$e,pos:Re,children:null,data:Be,isStart:[].concat((0,re.Z)($e?$e.isStart:[]),[Le===0]),isEnd:[].concat((0,re.Z)($e?$e.isEnd:[]),[Le===ge.length-1])});return Ee.push(at),ee===!0||be.has(Ge)?at.children=pe(Be[fe]||[],at):at.children=[],at})}return pe(z),Ee}function E(z,ee,ne){var ae={};(0,x.Z)(ne)==="object"?ae=ne:ae={externalGetKey:ne},ae=ae||{};var le=ae,de=le.childrenPropName,fe=le.externalGetKey,be=le.fieldNames,Ee=Oe(be),pe=Ee.key,ge=Ee.children,$e=de||ge,Be;fe?typeof fe=="string"?Be=function(Ge){return Ge[fe]}:typeof fe=="function"&&(Be=function(Ge){return fe(Ge)}):Be=function(Ge,Ye){return ye(Ge[pe],Ye)};function Le(Re,Ge,Ye,Pt){var qe=Re?Re[$e]:z,at=Re?(0,Fe.bt)(Ye.pos,Ge):"0",pt=Re?[].concat((0,re.Z)(Pt),[Re]):[];if(Re){var _t=Be(Re,at),Qt={node:Re,index:Ge,pos:at,key:_t,parentPos:Ye.node?Ye.pos:null,level:Ye.level+1,nodes:pt};ee(Qt)}qe&&qe.forEach(function(Je,xt){Le(Je,xt,{node:Re,pos:at,level:Ye?Ye.level+1:-1},pt)})}Le(null)}function a(z){var ee=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},ne=ee.initWrapper,ae=ee.processEntity,le=ee.onProcessFinished,de=ee.externalGetKey,fe=ee.childrenPropName,be=ee.fieldNames,Ee=arguments.length>2?arguments[2]:void 0,pe=de||Ee,ge={},$e={},Be={posEntities:ge,keyEntities:$e};return ne&&(Be=ne(Be)||Be),E(z,function(Le){var Re=Le.node,Ge=Le.index,Ye=Le.pos,Pt=Le.key,qe=Le.parentPos,at=Le.level,pt=Le.nodes,_t={node:Re,nodes:pt,index:Ge,key:Pt,pos:Ye,level:at},Qt=ye(Pt,Ye);ge[Ye]=_t,$e[Qt]=_t,_t.parent=ge[qe],_t.parent&&(_t.parent.children=_t.parent.children||[],_t.parent.children.push(_t)),ae&&ae(_t,Be)},{externalGetKey:pe,childrenPropName:fe,fieldNames:be}),le&&le(Be),Be}function b(z,ee){var ne=ee.expandedKeys,ae=ee.selectedKeys,le=ee.loadedKeys,de=ee.loadingKeys,fe=ee.checkedKeys,be=ee.halfCheckedKeys,Ee=ee.dragOverNodeKey,pe=ee.dropPosition,ge=ee.keyEntities,$e=ge[z],Be={eventKey:z,expanded:ne.indexOf(z)!==-1,selected:ae.indexOf(z)!==-1,loaded:le.indexOf(z)!==-1,loading:de.indexOf(z)!==-1,checked:fe.indexOf(z)!==-1,halfChecked:be.indexOf(z)!==-1,pos:String($e?$e.pos:""),dragOver:Ee===z&&pe===0,dragOverGapTop:Ee===z&&pe===-1,dragOverGapBottom:Ee===z&&pe===1};return Be}function y(z){var ee=z.data,ne=z.expanded,ae=z.selected,le=z.checked,de=z.loaded,fe=z.loading,be=z.halfChecked,Ee=z.dragOver,pe=z.dragOverGapTop,ge=z.dragOverGapBottom,$e=z.pos,Be=z.active,Le=z.eventKey,Re=(0,Ce.Z)((0,Ce.Z)({},ee),{},{expanded:ne,selected:ae,checked:le,loaded:de,loading:fe,halfChecked:be,dragOver:Ee,dragOverGapTop:pe,dragOverGapBottom:ge,pos:$e,active:Be,key:Le});return"props"in Re||Object.defineProperty(Re,"props",{get:function(){return(0,oe.ZP)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),z}}),Re}},64217:function(vt,dt,te){"use strict";te.d(dt,{Z:function(){return Fe}});var x=te(1413),re=`accept acceptCharset accessKey action allowFullScreen allowTransparency
alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge
charSet checked classID className colSpan cols content contentEditable contextMenu
controls coords crossOrigin data dateTime default defer dir disabled download draggable
encType form formAction formEncType formMethod formNoValidate formTarget frameBorder
headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity
is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media
mediaGroup method min minLength multiple muted name noValidate nonce open
optimum pattern placeholder poster preload radioGroup readOnly rel required
reversed role rowSpan rows sandbox scope scoped scrolling seamless selected
shape size sizes span spellCheck src srcDoc srcLang srcSet start step style
summary tabIndex target title type useMap value width wmode wrap`,Ce=`onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown
onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick
onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown
onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel
onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough
onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata
onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError`,ze="".concat(re," ").concat(Ce).split(/[\s\n]+/),we="aria-",Te="data-";function oe(he,ye){return he.indexOf(ye)===0}function Fe(he){var ye=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Oe;ye===!1?Oe={aria:!0,data:!0,attr:!0}:ye===!0?Oe={aria:!0}:Oe=(0,x.Z)({},ye);var Ie={};return Object.keys(he).forEach(function(ve){(Oe.aria&&(ve==="role"||oe(ve,we))||Oe.data&&oe(ve,Te)||Oe.attr&&ze.includes(ve))&&(Ie[ve]=he[ve])}),Ie}},32637:function(vt,dt,te){"use strict";vt.exports=te.p+"static/AssistantCode3.a8740efb.jpeg"},96908:function(vt){"use strict";vt.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKQAAAA8CAYAAADogBFvAAAAAXNSR0IArs4c6QAADzxJREFUeF7tnQl4VcUVx3/3JSEBARFEFllcQAMJuKDUD7FqtVbFtUqtS6ufS1soxaW1Si0KBaFVWy2ittqqdQ9xpYq4tLgVFWUThYQlJIEkkJXs63u333lzL+/mrfeF9/KSeM/35Xv3zZw5c+bM/83MOTN3ouGQY4EuZAGtC+niqOJYAAeQDgi6lAU0fUayHqCR5gJXEriS/T6TICkZNOMzIN/gFx7/8vvLiFxDtpfP4G2Xb5Ej6SaPKddav6mPtb5g9e/PF9nSvmTVlpD1S36Sr63WOj1ukD/d+PR+b1NpAekmj5Gve8Dd5lc2ivK4G2lzV4K7Eo/8eSrQ3ZW424rw6J/ST1utTb2jtkuhLAplwgDS7BDj09txdgFqgsjCbwVOKMCYAPH+IAzABIDf8qPYz+OygMus0+8HFQDmYDpaypj1mp+m/qKbgMoKQO+zxwIyCzhNPhOIQQFrAas/uK3l5dlt/SEY9bbn0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3bb0SVS3XhTyYK5LjUL6vlUXJNSaLixlOrSnHZ55MeSaU5fE1pjrEilPNOiqkMtSiSmc/1oNxbXDPJSFxp6P23AZgRx17vu/HCtAD5mo/5t3Rpp2p6aFHji4VBgdaIwd0SsFN2YlE/tZAEfIAuB848lRxbQUq9Plo0ts3hxp7+HY3ti33ANi19fbUvsor0GFoRZHOvk1Y6FIC7q5dSPzcw4Gv8iZ4mnNtBQp0l9BlcHzFAAeu0h8B48V+JdQjQri2D57a/VyBBkMNanSOw1WNCt0bSUh82FZXHgD3cwM81VxbAT10yNWlQm+6vceupKuTQTJ7J7ZYGZE9AHZtHzy1XViBSn0B1Hpnr5jlziZh642WV7V6AOzCBniqurYCnWhDodZ2upGtliXA9l3Y9r75dx4Au7YHntourkChLhOdDjxzPV1wKl8oxpn/Fp0HwC5ugKe6ayvQbGhAuc75SwY5cB8lIfFeoVcPgF1bf09tl1fAgDxdut0wS+supIt2Y8v3zELxqSz7ajsnXZ6Sp4F/rRVoMFShRmf/yq3eK8JljcSE6dsxu9sD4H8trAzK2eqgQ54uDXohPdyJUXLgnkxC4sseADuxWJ4i7l+Ban0JGvW2U+9t9c4B7QZIJ3oA7P698fTgxAo0GepRobN/qaFlMxy4/f8E90wA8RE2tUgAAAAASUVORK5CYII="},36459:function(vt,dt,te){"use strict";te.d(dt,{Z:function(){return x}});function x(re){if(re==null)throw new TypeError("Cannot destructure "+re)}}}]);