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

346 lines
1000 KiB

(self.webpackChunk=self.webpackChunk||[]).push([[3260],{87169:function(dt,xt,oe){"use strict";oe.d(xt,{Z:function(){return $e}});var x=oe(5016),he=oe(59301),Be={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z"}}]},name:"exclamation-circle",theme:"outlined"},Ne=Be,Ae=oe(7657),Ze=function(Le,Te){return he.createElement(Ae.Z,(0,x.Z)({},Le,{ref:Te,icon:Ne}))},Fe=he.forwardRef(Ze),$e=Fe},12893:function(dt,xt,oe){"use strict";oe.d(xt,{Z:function(){return $e}});var x=oe(5016),he=oe(59301),Be={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M696 480H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z"}},{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}}]},name:"minus-circle",theme:"outlined"},Ne=Be,Ae=oe(7657),Ze=function(Le,Te){return he.createElement(Ae.Z,(0,x.Z)({},Le,{ref:Te,icon:Ne}))},Fe=he.forwardRef(Ze),$e=Fe},32134:function(dt,xt,oe){"use strict";oe.d(xt,{Z:function(){return $e}});var x=oe(5016),he=oe(59301),Be={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M696 480H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z"}},{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}}]},name:"plus-circle",theme:"outlined"},Ne=Be,Ae=oe(7657),Ze=function(Le,Te){return he.createElement(Ae.Z,(0,x.Z)({},Le,{ref:Te,icon:Ne}))},Fe=he.forwardRef(Ze),$e=Fe},99587:function(dt,xt){"use strict";xt.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},8423:function(dt,xt){"use strict";xt.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"}},2397:function(dt,xt){"use strict";xt.Z={flex_box_center:"flex_box_center___ycN2f",flex_space_between:"flex_space_between___LcS9e",flex_box_vertical_center:"flex_box_vertical_center___uwjPm",flex_box_center_end:"flex_box_center_end___Pc903",flex_box_column:"flex_box_column___AXEdv",bg:"bg___fm2Cw",title:"title___J3MCU",editIcon:"editIcon___i4Zll",titleLeft:"titleLeft___da61c",titleRight:"titleRight___EsdL6",formWrap:"formWrap___YTxC3",baseLineHeight:"baseLineHeight___TprCB",radioBtnWrapper:"radioBtnWrapper___Mt_XG",radiogroup:"radiogroup___EvkWh",easy:"easy___mSxtg",medium:"medium___NIaWN",hard:"hard___mddnD",baseFormItem:"baseFormItem___csbyb",cascaderPopup:"cascaderPopup___BttnF",selectdiv:"selectdiv___TAr4i",divitem:"divitem___iaXB2",bottmodiv:"bottmodiv___bmp6p",cancelBtn:"cancelBtn___Q4ZcL",confirmBtn:"confirmBtn___nRiCD",concat:"concat___jlPR1"}},57149:function(dt,xt,oe){"use strict";var x=oe(59301),he=Object.defineProperty,Be=Object.getOwnPropertySymbols,Ne=Object.prototype.hasOwnProperty,Ae=Object.prototype.propertyIsEnumerable,Ze=(Ge,Le,Te)=>Le in Ge?he(Ge,Le,{enumerable:!0,configurable:!0,writable:!0,value:Te}):Ge[Le]=Te,Fe=(Ge,Le)=>{for(var Te in Le||(Le={}))Ne.call(Le,Te)&&Ze(Ge,Te,Le[Te]);if(Be)for(var Te of Be(Le))Ae.call(Le,Te)&&Ze(Ge,Te,Le[Te]);return Ge};const $e=Ge=>React.createElement("svg",Fe({className:"jiangxu_svg__icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:32,height:32},Ge),React.createElement("path",{d:"M365.714 73.143H1024v73.143H365.714zm0 292.571H1024v73.143H365.714zm0 292.572H1024v73.143H365.714zm0 292.571H1024V1024H365.714v-73.143z",fill:"#98BDF7"}),React.createElement("path",{d:"m248.686 803.182-65.829 75.922V658.286h-73.143v220.818l-65.828-75.995L0 851.383 146.286 1024 292.57 851.53z",fill:"#145DFF"}),React.createElement("path",{d:"M146.286 0 0 158.72l43.886 55.223 65.828-75.922v227.693h73.143V138.021l65.829 75.922 43.885-55.223z",fill:"#98BDF7"}));xt.Z="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMzIiIGhlaWdodD0iMzIiPjxwYXRoIGQ9Ik0zNjUuNzE0IDczLjE0M0gxMDI0djczLjE0M0gzNjUuNzE0em0wIDI5Mi41NzFIMTAyNHY3My4xNDNIMzY1LjcxNHptMCAyOTIuNTcySDEwMjR2NzMuMTQzSDM2NS43MTR6bTAgMjkyLjU3MUgxMDI0VjEwMjRIMzY1LjcxNHYtNzMuMTQzeiIgZmlsbD0iIzk4QkRGNyIvPjxwYXRoIGQ9Im0yNDguNjg2IDgwMy4xODItNjUuODI5IDc1LjkyMlY2NTguMjg2aC03My4xNDN2MjIwLjgxOGwtNjUuODI4LTc1Ljk5NUwwIDg1MS4zODMgMTQ2LjI4NiAxMDI0IDI5Mi41NyA4NTEuNTN6IiBmaWxsPSIjMTQ1REZGIi8+PHBhdGggZD0iTTE0Ni4yODYgMCAwIDE1OC43Mmw0My44ODYgNTUuMjIzIDY1LjgyOC03NS45MjJ2MjI3LjY5M2g3My4xNDNWMTM4LjAyMWw2NS44MjkgNzUuOTIyIDQzLjg4NS01NS4yMjN6IiBmaWxsPSIjOThCREY3Ii8+PC9zdmc+"},61250:function(dt,xt,oe){"use strict";var x=oe(59301),he=Object.defineProperty,Be=Object.getOwnPropertySymbols,Ne=Object.prototype.hasOwnProperty,Ae=Object.prototype.propertyIsEnumerable,Ze=(Ge,Le,Te)=>Le in Ge?he(Ge,Le,{enumerable:!0,configurable:!0,writable:!0,value:Te}):Ge[Le]=Te,Fe=(Ge,Le)=>{for(var Te in Le||(Le={}))Ne.call(Le,Te)&&Ze(Ge,Te,Le[Te]);if(Be)for(var Te of Be(Le))Ae.call(Le,Te)&&Ze(Ge,Te,Le[Te]);return Ge};const $e=Ge=>React.createElement("svg",Fe({className:"shengxu_svg__icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:32,height:32},Ge),React.createElement("path",{d:"M365.714 73.143H1024v73.143H365.714zm0 292.571H1024v73.143H365.714zm0 292.572H1024v73.143H365.714zm0 292.571H1024V1024H365.714v-73.143zM248.686 803.182l-65.829 75.922V658.286h-73.143v220.818l-65.828-75.995L0 851.383 146.286 1024 292.57 851.53z",fill:"#98BDF7"}),React.createElement("path",{d:"M146.286 0 0 158.72l43.886 55.223 65.828-75.922v227.693h73.143V138.021l65.829 75.922 43.885-55.223z",fill:"#145DFF"}));xt.Z="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMzIiIGhlaWdodD0iMzIiPjxwYXRoIGQ9Ik0zNjUuNzE0IDczLjE0M0gxMDI0djczLjE0M0gzNjUuNzE0em0wIDI5Mi41NzFIMTAyNHY3My4xNDNIMzY1LjcxNHptMCAyOTIuNTcySDEwMjR2NzMuMTQzSDM2NS43MTR6bTAgMjkyLjU3MUgxMDI0VjEwMjRIMzY1LjcxNHYtNzMuMTQzek0yNDguNjg2IDgwMy4xODJsLTY1LjgyOSA3NS45MjJWNjU4LjI4NmgtNzMuMTQzdjIyMC44MThsLTY1LjgyOC03NS45OTVMMCA4NTEuMzgzIDE0Ni4yODYgMTAyNCAyOTIuNTcgODUxLjUzeiIgZmlsbD0iIzk4QkRGNyIvPjxwYXRoIGQ9Ik0xNDYuMjg2IDAgMCAxNTguNzJsNDMuODg2IDU1LjIyMyA2NS44MjgtNzUuOTIydjIyNy42OTNoNzMuMTQzVjEzOC4wMjFsNjUuODI5IDc1LjkyMiA0My44ODUtNTUuMjIzeiIgZmlsbD0iIzE0NURGRiIvPjwvc3ZnPg=="},63720:function(){"use strict";function dt(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(dt.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(dt.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(dt.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(dt.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 dt))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 xt=[];function oe(ie,E){var a=xt.pop();return a===void 0?new go.Point(ie,E):(a.x=ie,a.y=E,a)}function x(){var ie=xt.pop();return ie===void 0?new go.Point:ie}function he(ie){xt.push(ie)}function Be(ie,E,a,b,y,z,ne,re,le){le||(le=new go.Point);var ge=ie-a,fe=y-ne,Pe=NaN,Ve=NaN;if(ge===0)if(fe===0)ie===a&&(Pe=ie,Ve=E);else{var Me=(z-re)/fe,vt=z-Me*y;Pe=ie,Ve=Me*Pe+vt}else if(fe===0){var Ie=(E-b)/ge,Ce=E-Ie*ie;Pe=y,Ve=Ie*Pe+Ce}else{var Ie=(E-b)/ge,Me=(z-re)/fe,Ce=E-Ie*ie,vt=z-Me*y;Pe=(vt-Ce)/(Ie-Me),Ve=Ie*Pe+Ce}return le.x=Pe,le.y=Ve,le}function Ne(ie,E,a,b,y,z,ne,re,le,ge,fe,Pe,Ve,Me){var vt=1-le,Ie=le,Ce=ie*vt+a*Ie,et=E*vt+b*Ie,rt=a*vt+y*Ie,xe=b*vt+z*Ie,Pt=y*vt+ne*Ie,yt=z*vt+re*Ie,Tt=Ce*vt+rt*Ie,nt=et*vt+xe*Ie,Wt=rt*vt+Pt*Ie,jt=xe*vt+yt*Ie,It=Tt*vt+Wt*Ie,ln=nt*vt+jt*Ie;ge.x=Ce,ge.y=et,fe.x=Tt,fe.y=nt,Pe.x=It,Pe.y=ln,Ve.x=Wt,Ve.y=jt,Me.x=Pt,Me.y=yt}var Ae=new go.Spot(.156,.156),Ze=new go.Spot(.844,.844),Fe=4*((Math.sqrt(2)-1)/3);go.Shape.setFigureParameter("RoundedRectangle",0,new dt("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*Fe,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=Ae,y.spot2=Ze,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,Fe*E,0,E,(1-Fe)*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,Fe*a,(1-Fe)*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,Fe*a,Fe*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-Fe)*E,0,0,(1-Fe)*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 dt("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 dt("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 dt("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 dt("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 dt("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 $e=[];function Ge(){var ie=$e.pop();return ie===void 0?[]:ie}function Le(ie){ie.length=0,$e.push(ie)}function Te(ie){for(var E=Ge(),a=.5,b=.5,y=Math.PI*1.5,z=0,ne=0;ne<ie;ne++)z=2*Math.PI/ie*ne+y,E[ne]=new go.Point(b+a*Math.cos(z),b+a*Math.sin(z));return E.push(E[0]),E}function We(ie){var E=Qe(ie),a=Ge();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 Le(E),a}function Qe(ie){for(var E=Te(ie),a=Ge(),b=Math.floor(E.length/2),y=E.length-1,z=ie%2===0?2:1,ne=0;ne<y;ne++){var re=E[ne],le=E[ne+1],ge=E[(b+ne-1)%y],fe=E[(b+ne+z)%y];a[ne*2]=re,a[ne*2+1]=Be(re.x,re.y,ge.x,ge.y,le.x,le.y,fe.x,fe.y,new go.Point)}return a[a.length]=a[0],Le(E),a}go.Shape.defineFigureGenerator("Pentagon",function(ie,E,a){var b=Te(5),y=new go.Geometry,z=new go.PathFigure(b[0].x*E,b[0].y*a,!0);y.add(z);for(var ne=1;ne<5;ne++)z.add(new go.PathSegment(go.PathSegment.Line,b[ne].x*E,b[ne].y*a));return z.add(new go.PathSegment(go.PathSegment.Line,b[0].x*E,b[0].y*a).close()),Le(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=Te(6),y=new go.Geometry,z=new go.PathFigure(b[0].x*E,b[0].y*a,!0);y.add(z);for(var ne=1;ne<6;ne++)z.add(new go.PathSegment(go.PathSegment.Line,b[ne].x*E,b[ne].y*a));return z.add(new go.PathSegment(go.PathSegment.Line,b[0].x*E,b[0].y*a).close()),Le(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=Te(7),y=new go.Geometry,z=new go.PathFigure(b[0].x*E,b[0].y*a,!0);y.add(z);for(var ne=1;ne<7;ne++)z.add(new go.PathSegment(go.PathSegment.Line,b[ne].x*E,b[ne].y*a));return z.add(new go.PathSegment(go.PathSegment.Line,b[0].x*E,b[0].y*a).close()),Le(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=Te(8),y=new go.Geometry,z=new go.PathFigure(b[0].x*E,b[0].y*a,!0);y.add(z);for(var ne=1;ne<8;ne++)z.add(new go.PathSegment(go.PathSegment.Line,b[ne].x*E,b[ne].y*a));return z.add(new go.PathSegment(go.PathSegment.Line,b[0].x*E,b[0].y*a).close()),Le(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=Te(9),y=new go.Geometry,z=new go.PathFigure(b[0].x*E,b[0].y*a,!0);y.add(z);for(var ne=1;ne<9;ne++)z.add(new go.PathSegment(go.PathSegment.Line,b[ne].x*E,b[ne].y*a));return z.add(new go.PathSegment(go.PathSegment.Line,b[0].x*E,b[0].y*a).close()),Le(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=Te(10),y=new go.Geometry,z=new go.PathFigure(b[0].x*E,b[0].y*a,!0);y.add(z);for(var ne=1;ne<10;ne++)z.add(new go.PathSegment(go.PathSegment.Line,b[ne].x*E,b[ne].y*a));return z.add(new go.PathSegment(go.PathSegment.Line,b[0].x*E,b[0].y*a).close()),Le(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=Te(12),y=new go.Geometry,z=new go.PathFigure(b[0].x*E,b[0].y*a,!0);y.add(z);for(var ne=1;ne<12;ne++)z.add(new go.PathSegment(go.PathSegment.Line,b[ne].x*E,b[ne].y*a));return z.add(new go.PathSegment(go.PathSegment.Line,b[0].x*E,b[0].y*a).close()),Le(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=Qe(5),y=new go.Geometry,z=new go.PathFigure(b[0].x*E,b[0].y*a,!0);y.add(z);for(var ne=1;ne<10;ne++)z.add(new go.PathSegment(go.PathSegment.Line,b[ne].x*E,b[ne].y*a));return z.add(new go.PathSegment(go.PathSegment.Line,b[0].x*E,b[0].y*a).close()),Le(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=Qe(6),y=new go.Geometry,z=new go.PathFigure(b[0].x*E,b[0].y*a,!0);y.add(z);for(var ne=1;ne<12;ne++)z.add(new go.PathSegment(go.PathSegment.Line,b[ne].x*E,b[ne].y*a));return z.add(new go.PathSegment(go.PathSegment.Line,b[0].x*E,b[0].y*a).close()),Le(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=Qe(7),y=new go.Geometry,z=new go.PathFigure(b[0].x*E,b[0].y*a,!0);y.add(z);for(var ne=1;ne<14;ne++)z.add(new go.PathSegment(go.PathSegment.Line,b[ne].x*E,b[ne].y*a));return z.add(new go.PathSegment(go.PathSegment.Line,b[0].x*E,b[0].y*a).close()),Le(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=Qe(8),y=new go.Geometry,z=new go.PathFigure(b[0].x*E,b[0].y*a,!0);y.add(z);for(var ne=1;ne<16;ne++)z.add(new go.PathSegment(go.PathSegment.Line,b[ne].x*E,b[ne].y*a));return z.add(new go.PathSegment(go.PathSegment.Line,b[0].x*E,b[0].y*a).close()),Le(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=Qe(9),y=new go.Geometry,z=new go.PathFigure(b[0].x*E,b[0].y*a,!0);y.add(z);for(var ne=1;ne<18;ne++)z.add(new go.PathSegment(go.PathSegment.Line,b[ne].x*E,b[ne].y*a));return z.add(new go.PathSegment(go.PathSegment.Line,b[0].x*E,b[0].y*a).close()),Le(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=Qe(10),y=new go.Geometry,z=new go.PathFigure(b[0].x*E,b[0].y*a,!0);y.add(z);for(var ne=1;ne<20;ne++)z.add(new go.PathSegment(go.PathSegment.Line,b[ne].x*E,b[ne].y*a));return z.add(new go.PathSegment(go.PathSegment.Line,b[0].x*E,b[0].y*a).close()),Le(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=We(5),y=new go.Geometry,z=new go.PathFigure(b[0].x*E,b[0].y*a,!0);y.add(z);for(var ne=1;ne<b.length;ne+=3)z.add(new go.PathSegment(go.PathSegment.Bezier,b[ne+2].x*E,b[ne+2].y*a,b[ne].x*E,b[ne].y*a,b[ne+1].x*E,b[ne+1].y*a));return z.segments.last().close(),Le(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=We(6),y=new go.Geometry,z=new go.PathFigure(b[0].x*E,b[0].y*a,!0);y.add(z);for(var ne=1;ne<b.length;ne+=3)z.add(new go.PathSegment(go.PathSegment.Bezier,b[ne+2].x*E,b[ne+2].y*a,b[ne].x*E,b[ne].y*a,b[ne+1].x*E,b[ne+1].y*a));return z.segments.last().close(),Le(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=We(7),y=new go.Geometry,z=new go.PathFigure(b[0].x*E,b[0].y*a,!0);y.add(z);for(var ne=1;ne<b.length;ne+=3)z.add(new go.PathSegment(go.PathSegment.Bezier,b[ne+2].x*E,b[ne+2].y*a,b[ne].x*E,b[ne].y*a,b[ne+1].x*E,b[ne+1].y*a));return z.segments.last().close(),Le(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=We(8),y=new go.Geometry,z=new go.PathFigure(b[0].x*E,b[0].y*a,!0);y.add(z);for(var ne=1;ne<b.length;ne+=3)z.add(new go.PathSegment(go.PathSegment.Bezier,b[ne+2].x*E,b[ne+2].y*a,b[ne].x*E,b[ne].y*a,b[ne+1].x*E,b[ne+1].y*a));return z.segments.last().close(),Le(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=We(9),y=new go.Geometry,z=new go.PathFigure(b[0].x*E,b[0].y*a,!0);y.add(z);for(var ne=1;ne<b.length;ne+=3)z.add(new go.PathSegment(go.PathSegment.Bezier,b[ne+2].x*E,b[ne+2].y*a,b[ne].x*E,b[ne].y*a,b[ne+1].x*E,b[ne+1].y*a));return z.segments.last().close(),Le(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=We(10),y=new go.Geometry,z=new go.PathFigure(b[0].x*E,b[0].y*a,!0);y.add(z);for(var ne=1;ne<b.length;ne+=3)z.add(new go.PathSegment(go.PathSegment.Bezier,b[ne+2].x*E,b[ne+2].y*a,b[ne].x*E,b[ne].y*a,b[ne+1].x*E,b[ne+1].y*a));return z.segments.last().close(),Le(b),y.spot1=new go.Spot(.222,.222),y.spot2=new go.Spot(.777,.777),y}),go.Shape.setFigureParameter("FramedRectangle",0,new dt("ThicknessX",8)),go.Shape.setFigureParameter("FramedRectangle",1,new dt("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,ne=new go.PathFigure(0,0,!0);return z.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E,0)),ne.add(new go.PathSegment(go.PathSegment.Line,E,a)),ne.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),b<E/2&&y<a/2&&(ne.add(new go.PathSegment(go.PathSegment.Move,b,y)),ne.add(new go.PathSegment(go.PathSegment.Line,b,a-y)),ne.add(new go.PathSegment(go.PathSegment.Line,E-b,a-y)),ne.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 dt("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,ne=new go.PathFigure(E,E/2,!0);z.add(ne),ne.add(new go.PathSegment(go.PathSegment.Arc,0,360,y,y,y,y).close());var re=Math.max(y-b,0);return re>0&&(ne.add(new go.PathSegment(go.PathSegment.Move,E/2+re,E/2)),ne.add(new go.PathSegment(go.PathSegment.Arc,0,-360,y,y,re,re).close())),z.spot1=Ae,z.spot2=Ze,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 dt("Start",0,-360,360)),go.Shape.setFigureParameter("Pie",1,new dt("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 ne=y%360,re=Math.min(E,a)/2;return new go.Geometry().add(new go.PathFigure(re,re).add(new go.PathSegment(go.PathSegment.Arc,z,ne,re,re,re,re).close()))}),go.Shape.defineFigureGenerator("PiePiece",function(ie,E,a){var b=Fe/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 dt("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,ne=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,ne-y)).add(new go.PathSegment(go.PathSegment.Line,E,ne-y)).add(new go.PathSegment(go.PathSegment.Line,E,ne+y)).add(new go.PathSegment(go.PathSegment.Line,z+y,ne+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,ne+y)).add(new go.PathSegment(go.PathSegment.Line,0,ne+y)).add(new go.PathSegment(go.PathSegment.Line,0,ne-y)).add(new go.PathSegment(go.PathSegment.Line,z-y,ne-y).close()))}),go.Shape.setFigureParameter("ThinCross",0,new dt("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,ne=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,ne-y)).add(new go.PathSegment(go.PathSegment.Line,E,ne-y)).add(new go.PathSegment(go.PathSegment.Line,E,ne+y)).add(new go.PathSegment(go.PathSegment.Line,z+y,ne+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,ne+y)).add(new go.PathSegment(go.PathSegment.Line,0,ne+y)).add(new go.PathSegment(go.PathSegment.Line,0,ne-y)).add(new go.PathSegment(go.PathSegment.Line,z-y,ne-y).close()))}),go.Shape.setFigureParameter("ThickX",0,new dt("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,ne=a/2,re=Math.atan2(a,E),le=b-Math.min(Math.cos(re)*b/2,z),ge=b-Math.min(Math.sin(re)*b/2,ne),y=new go.Geometry,fe=new go.PathFigure(le,0,!0);return y.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,z,.2*a)),fe.add(new go.PathSegment(go.PathSegment.Line,E-le,0)),fe.add(new go.PathSegment(go.PathSegment.Line,E,ge)),fe.add(new go.PathSegment(go.PathSegment.Line,.8*E,ne)),fe.add(new go.PathSegment(go.PathSegment.Line,E,a-ge)),fe.add(new go.PathSegment(go.PathSegment.Line,E-le,a)),fe.add(new go.PathSegment(go.PathSegment.Line,z,.8*a)),fe.add(new go.PathSegment(go.PathSegment.Line,le,a)),fe.add(new go.PathSegment(go.PathSegment.Line,0,a-ge)),fe.add(new go.PathSegment(go.PathSegment.Line,.2*E,ne)),fe.add(new go.PathSegment(go.PathSegment.Line,0,ge).close()),y}}),go.Shape.setFigureParameter("ThinX",0,new dt("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 dt("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 dt("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,Fe*E,0,E,(.5-Fe/2)*a)).add(new go.PathSegment(go.PathSegment.Bezier,0,a,E,(.5+Fe/2)*a,Fe*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,ne=.3,re=0,le=z*Fe;return y.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ne)*E,(.5+z+re)*a,(.5-z+ne)*E,(.5+le+re)*a,(.5-le+ne)*E,(.5+z+re)*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+z+ne)*E,(.5+re)*a,(.5+le+ne)*E,(.5+z+re)*a,(.5+z+ne)*E,(.5+le+re)*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ne)*E,(.5-z+re)*a,(1-.5+z+ne)*E,(.5-le+re)*a,(.5+le+ne)*E,(.5-z+re)*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.65*E,.36771243*a,(.5-le+ne)*E,(.5-z+re)*a,(.5-z+ne+.05)*E,(.5-le+re-.02)*a)),z=.2,ne=0,re=-.3,le=z*Fe,y.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+z+ne)*E,(.5+re)*a,(.5+le+ne)*E,(.5+z+re)*a,(.5+z+ne)*E,(.5+le+re)*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ne)*E,(.5-z+re)*a,(1-.5+z+ne)*E,(.5-le+re)*a,(.5+le+ne)*E,(.5-z+re)*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5-z+ne)*E,(.5+re)*a,(.5-le+ne)*E,(.5-z+re)*a,(.5-z+ne)*E,(.5-le+re)*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5-le+ne)*E,(.5+z+re)*a,(.5-z+ne)*E,(.5+le+re)*a,(.5-le+ne)*E,(.5+z+re)*a)),z=.2,ne=-.3,re=0,le=z*Fe,y.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ne)*E,(.5-z+re)*a,(1-.5+z+ne-.05)*E,(.5-le+re-.02)*a,(.5+le+ne)*E,(.5-z+re)*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5-z+ne)*E,(.5+re)*a,(.5-le+ne)*E,(.5-z+re)*a,(.5-z+ne)*E,(.5-le+re)*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ne)*E,(.5+z+re)*a,(.5-z+ne)*E,(.5+le+re)*a,(.5-le+ne)*E,(.5+z+re)*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.4*E,.6*a,(.5+le+ne)*E,(.5+z+re)*a,(.5+z+ne)*E,(.5+le+re)*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,ne=.5,re=.25;return y.add(new go.PathSegment(go.PathSegment.Move,(ne+z)*E,re*a)),y.add(new go.PathSegment(go.PathSegment.Arc,0,-360,E*ne,a*re,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)),re=.75,y=new go.PathFigure((ne+z)*E,re*a,!0),b.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,0,360,E*ne,a*re,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=Fe*.5,z=.5,ne=.5,re=.5,le=new go.PathFigure(ne*E,(re-z)*a);b.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,(ne-z)*E,re*a,(ne-y)*E,(re-z)*a,(ne-z)*E,(re-y)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(re+z)*a,(ne-z)*E,(re+y)*a,(ne-y)*E,(re+z)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z)*E,re*a,(ne+y)*E,(re+z)*a,(ne+z)*E,(re+y)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(re-z)*a,(ne+z)*E,(re-y)*a,(ne+y)*E,(re-z)*a)),z=.4,y=Fe*.4;var ge=x(),fe=x(),Pe=x(),Ve=x();Ne(ne,re-z,ne+y,re-z,ne+z,re-y,ne+z,re,.42,ge,fe,Pe,Ve,Ve);var Me=x(),vt=x(),Ie=x();Ne(ne,re-z,ne+y,re-z,ne+z,re-y,ne+z,re,.58,Ve,Ve,Ie,Me,vt);var Ce=x(),et=x(),rt=x();Ne(ne,re+z,ne-y,re+z,ne-z,re+y,ne-z,re,.42,Ce,et,rt,Ve,Ve);var xe=x(),Pt=x(),yt=x();return Ne(ne,re+z,ne-y,re+z,ne-z,re+y,ne-z,re,.58,Ve,Ve,yt,xe,Pt),le.add(new go.PathSegment(go.PathSegment.Move,yt.x*E,yt.y*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,(ne-z)*E,re*a,xe.x*E,xe.y*a,Pt.x*E,Pt.y*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(re-z)*a,(ne-z)*E,(re-y)*a,(ne-y)*E,(re-z)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,Pe.x*E,Pe.y*a,ge.x*E,ge.y*a,fe.x*E,fe.y*a)),le.add(new go.PathSegment(go.PathSegment.Line,yt.x*E,yt.y*a).close()),le.add(new go.PathSegment(go.PathSegment.Move,rt.x*E,rt.y*a)),le.add(new go.PathSegment(go.PathSegment.Line,Ie.x*E,Ie.y*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z)*E,re*a,Me.x*E,Me.y*a,vt.x*E,vt.y*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(re+z)*a,(ne+z)*E,(re+y)*a,(ne+y)*E,(re+z)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,rt.x*E,rt.y*a,Ce.x*E,Ce.y*a,et.x*E,et.y*a).close()),he(ge),he(fe),he(Pe),he(Ve),he(Me),he(vt),he(Ie),he(Ce),he(et),he(rt),he(xe),he(Pt),he(yt),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 dt("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=Fe*.4,z=.4,ne=.5,re=.5,le=x(),ge=x(),fe=x(),Pe=x(),Ve=new go.PathFigure((ne-z)*E,re*a,!1);b.add(Ve),Ve.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(re-z)*a,(ne-z)*E,(re-y)*a,(ne-y)*E,(re-z)*a)),Ne(ne,re-z,ne+y,re-z,ne+z,re-y,ne+z,re,.44,fe,Pe,ge,le,le),Ve.add(new go.PathSegment(go.PathSegment.Bezier,ge.x*E,ge.y*a,fe.x*E,fe.y*a,Pe.x*E,Pe.y*a));var Me=oe(ge.x,ge.y);Ne(ne,re-z,ne+y,re-z,ne+z,re-y,ne+z,re,.56,le,le,ge,fe,Pe);var vt=oe(ge.x,ge.y);Ve.add(new go.PathSegment(go.PathSegment.Line,(Me.x*.1+.95*.9)*E,Me.y*.1*a)),Ve.add(new go.PathSegment(go.PathSegment.Line,.85*E,Me.y*.1*a)),Ve.add(new go.PathSegment(go.PathSegment.Line,.85*E,0)),Ve.add(new go.PathSegment(go.PathSegment.Line,E,0)),Ve.add(new go.PathSegment(go.PathSegment.Line,E,.15*a)),Ve.add(new go.PathSegment(go.PathSegment.Line,(vt.x*.1+.9)*E,.15*a)),Ve.add(new go.PathSegment(go.PathSegment.Line,(vt.x*.1+.9)*E,(vt.y*.1+.05*.9)*a)),Ve.add(new go.PathSegment(go.PathSegment.Line,vt.x*E,vt.y*a)),Ve.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z)*E,re*a,fe.x*E,fe.y*a,Pe.x*E,Pe.y*a)),Ve.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(re+z)*a,(ne+z)*E,(re+y)*a,(ne+y)*E,(re+z)*a)),Ve.add(new go.PathSegment(go.PathSegment.Bezier,(ne-z)*E,re*a,(ne-y)*E,(re+z)*a,(ne-z)*E,(re+y)*a)),z=.35,y=Fe*.35;var Ie=new go.PathFigure(ne*E,(re-z)*a,!1);b.add(Ie),Ie.add(new go.PathSegment(go.PathSegment.Bezier,(ne-z)*E,re*a,(ne-y)*E,(re-z)*a,(ne-z)*E,(re-y)*a)),Ie.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(re+z)*a,(ne-z)*E,(re+y)*a,(ne-y)*E,(re+z)*a)),Ie.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z)*E,re*a,(ne+y)*E,(re+z)*a,(ne+z)*E,(re+y)*a)),Ie.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(re-z)*a,(ne+z)*E,(re-y)*a,(ne+y)*E,(re-z)*a));var Ce=new go.PathFigure((ne-z)*E,re*a,!1);return b.add(Ce),he(le),he(ge),he(fe),he(Pe),he(Me),he(vt),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,ne=-.125,re=y*Fe,le=new go.PathFigure((.525+z)*E,(.5+y+ne)*a,!1);b.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+y+z)*E,(.5+ne)*a,(.5+re+z)*E,(.5+y+ne)*a,(.5+y+z)*E,(.5+re+ne)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*E,(.5-y+ne)*a,(1-.5+y+z)*E,(.5-re+ne)*a,(.5+re+z)*E,(.5-y+ne)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,(.5-y+z)*E,(.5+ne)*a,(.5-re+z)*E,(.5-y+ne)*a,(.5-y+z)*E,(.5-re+ne)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,(.475+z)*E,(.5+y+ne)*a,(.5-y+z)*E,(.5+re+ne)*a,(.5-re+z)*E,(.5+y+ne)*a)),le.add(new go.PathSegment(go.PathSegment.Line,.475*E,.85*a)),le.add(new go.PathSegment(go.PathSegment.Line,.425*E,.85*a)),le.add(new go.PathSegment(go.PathSegment.Line,.425*E,.9*a)),le.add(new go.PathSegment(go.PathSegment.Line,.475*E,.9*a)),le.add(new go.PathSegment(go.PathSegment.Line,.475*E,a)),le.add(new go.PathSegment(go.PathSegment.Line,.525*E,a)),le.add(new go.PathSegment(go.PathSegment.Line,.525*E,.9*a)),le.add(new go.PathSegment(go.PathSegment.Line,.575*E,.9*a)),le.add(new go.PathSegment(go.PathSegment.Line,.575*E,.85*a)),le.add(new go.PathSegment(go.PathSegment.Line,.525*E,.85*a).close()),y=.325,z=0,ne=-.125,re=y*Fe;var le=new go.PathFigure((1-.5+y+z)*E,(.5+ne)*a,!1);b.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*E,(.5+y+ne)*a,(.5+y+z)*E,(.5+re+ne)*a,(.5+re+z)*E,(.5+y+ne)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,(.5-y+z)*E,(.5+ne)*a,(.5-re+z)*E,(.5+y+ne)*a,(.5-y+z)*E,(.5+re+ne)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*E,(.5-y+ne)*a,(.5-y+z)*E,(.5-re+ne)*a,(.5-re+z)*E,(.5-y+ne)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+y+z)*E,(.5+ne)*a,(.5+re+z)*E,(.5-y+ne)*a,(1-.5+y+z)*E,(.5-re+ne)*a));var le=new go.PathFigure((.525+z)*E,(.5+y+ne)*a,!1);return b.add(le),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 dt("ArrowheadWidth",.3,.01,.99)),go.Shape.setFigureParameter("Arrow",1,new dt("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,ne=(.5-y/2)*a,re=(.5+y/2)*a,le=new go.Geometry,ge=new go.PathFigure(0,ne,!0);le.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,z,ne)),ge.add(new go.PathSegment(go.PathSegment.Line,z,0)),ge.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),ge.add(new go.PathSegment(go.PathSegment.Line,z,a)),ge.add(new go.PathSegment(go.PathSegment.Line,z,re)),ge.add(new go.PathSegment(go.PathSegment.Line,0,re).close()),le.spot1=new go.Spot(0,ne/a);var fe=Be(0,re/a,1,re/a,z/E,1,1,.5,x());return le.spot2=new go.Spot(fe.x,fe.y),he(fe),le}),go.Shape.setFigureParameter("Arrow2",0,new dt("ArrowheadWidth",30)),go.Shape.setFigureParameter("Arrow2",0,new dt("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,ne=(a-y)/2,re=ne+y,le=new go.Geometry,ge=new go.PathFigure(0,ne,!0);le.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,z,ne)),ge.add(new go.PathSegment(go.PathSegment.Line,z,0)),ge.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),ge.add(new go.PathSegment(go.PathSegment.Line,z,a)),ge.add(new go.PathSegment(go.PathSegment.Line,z,re)),ge.add(new go.PathSegment(go.PathSegment.Line,0,re).close()),le.spot1=new go.Spot(0,ne/a);var fe=Be(0,re/a,1,re/a,z/E,1,1,.5,x());return le.spot2=new go.Spot(fe.x,fe.y),he(fe),le}),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 dt("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,ne=new go.Geometry,re=new go.PathFigure(E,.5*a,!0);ne.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.7*E,a)),re.add(new go.PathSegment(go.PathSegment.Line,.7*E,z)),re.add(new go.PathSegment(go.PathSegment.Line,.3*E,z)),re.add(new go.PathSegment(go.PathSegment.Line,.3*E,a)),re.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),re.add(new go.PathSegment(go.PathSegment.Line,.3*E,0)),re.add(new go.PathSegment(go.PathSegment.Line,.3*E,y)),re.add(new go.PathSegment(go.PathSegment.Line,.7*E,y)),re.add(new go.PathSegment(go.PathSegment.Line,.7*E,0).close());var le=Be(0,.5,.3,0,0,y/a,.1,y/a,x());return ne.spot1=new go.Spot(le.x,le.y),le=Be(.7,1,1,.5,0,z/a,1,z/a,le),ne.spot2=new go.Spot(le.x,le.y),he(le),ne}),go.Shape.setFigureParameter("DoubleEndArrow2",0,new dt("ConnecterHeight",40)),go.Shape.setFigureParameter("DoubleEndArrow2",1,new dt("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,ne=z+b,re=(a-y)/2,le=re+y;(b>a||y>a)&&(y>b?(b=b*a/y,z=(a-b)/2,ne=z+b,re=0,le=a):(z=0,ne=a,re=0,le=a));var ge=new go.Geometry,fe=new go.PathFigure(E,.5*a,!0);ge.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,.7*E,le)),fe.add(new go.PathSegment(go.PathSegment.Line,.7*E,ne)),fe.add(new go.PathSegment(go.PathSegment.Line,.3*E,ne)),fe.add(new go.PathSegment(go.PathSegment.Line,.3*E,le)),fe.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),fe.add(new go.PathSegment(go.PathSegment.Line,.3*E,re)),fe.add(new go.PathSegment(go.PathSegment.Line,.3*E,z)),fe.add(new go.PathSegment(go.PathSegment.Line,.7*E,z)),fe.add(new go.PathSegment(go.PathSegment.Line,.7*E,re).close());var Pe=Be(0,.5,.3,re/a,0,z/a,1,z/a,x());return ge.spot1=new go.Spot(Pe.x,Pe.y),Pe=Be(.7,le/a,1,.5,0,ne/a,1,ne/a,Pe),ge.spot2=new go.Spot(Pe.x,Pe.y),he(Pe),ge}),go.Shape.setFigureParameter("IBeamArrow",0,new dt("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,ne=new go.Geometry,re=new go.PathFigure(E,.5*a,!0);ne.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.7*E,a)),re.add(new go.PathSegment(go.PathSegment.Line,.7*E,z)),re.add(new go.PathSegment(go.PathSegment.Line,.2*E,z)),re.add(new go.PathSegment(go.PathSegment.Line,.2*E,a)),re.add(new go.PathSegment(go.PathSegment.Line,0,a)),re.add(new go.PathSegment(go.PathSegment.Line,0,0)),re.add(new go.PathSegment(go.PathSegment.Line,.2*E,0)),re.add(new go.PathSegment(go.PathSegment.Line,.2*E,y)),re.add(new go.PathSegment(go.PathSegment.Line,.7*E,y)),re.add(new go.PathSegment(go.PathSegment.Line,.7*E,0).close()),ne.spot1=new go.Spot(0,y/a);var le=Be(.7,1,1,.5,0,z/a,1,z/a,x());return ne.spot2=new go.Spot(le.x,le.y),he(le),ne}),go.Shape.setFigureParameter("IBeamArrow2",0,new dt("ConnectorHeight",40)),go.Shape.setFigureParameter("IBeamArrow2",1,new dt("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,ne=z+b,re=(a-y)/2,le=re+y;(b>a||y>a)&&(y>b?(b=b*a/y,z=(a-b)/2,ne=z+b,re=0,le=a):(z=0,ne=a,re=0,le=a));var ge=new go.Geometry,fe=new go.PathFigure(E,.5*a,!0);ge.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,.7*E,le)),fe.add(new go.PathSegment(go.PathSegment.Line,.7*E,ne)),fe.add(new go.PathSegment(go.PathSegment.Line,.2*E,ne)),fe.add(new go.PathSegment(go.PathSegment.Line,.2*E,le)),fe.add(new go.PathSegment(go.PathSegment.Line,0,le)),fe.add(new go.PathSegment(go.PathSegment.Line,0,re)),fe.add(new go.PathSegment(go.PathSegment.Line,.2*E,re)),fe.add(new go.PathSegment(go.PathSegment.Line,.2*E,z)),fe.add(new go.PathSegment(go.PathSegment.Line,.7*E,z)),fe.add(new go.PathSegment(go.PathSegment.Line,.7*E,re).close()),ge.spot1=new go.Spot(0,z/a);var Pe=Be(.7,le/a,1,.5,0,ne/a,1,ne/a,x());return ge.spot2=new go.Spot(Pe.x,Pe.y),he(Pe),ge}),go.Shape.setFigureParameter("Pointer",0,new dt("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 ne=Be(.2,.65,1,.65,0,1,1,.5,x());return y.spot2=new go.Spot(ne.x,ne.y),he(ne),y}),go.Shape.setFigureParameter("RoundedPointer",0,new dt("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 ne=Be(0,.65,1,.65,0,1,1,.5,x());return y.spot2=new go.Spot(ne.x,ne.y),he(ne),y}),go.Shape.setFigureParameter("SplitEndArrow",0,new dt("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,ne=new go.Geometry,re=new go.PathFigure(E,.5*a,!0);ne.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.7*E,a)),re.add(new go.PathSegment(go.PathSegment.Line,.7*E,z)),re.add(new go.PathSegment(go.PathSegment.Line,0,z)),re.add(new go.PathSegment(go.PathSegment.Line,.2*E,.5*a)),re.add(new go.PathSegment(go.PathSegment.Line,0,y)),re.add(new go.PathSegment(go.PathSegment.Line,.7*E,y)),re.add(new go.PathSegment(go.PathSegment.Line,.7*E,0).close()),ne.spot1=new go.Spot(.2,.3);var le=Be(.7,1,1,.5,0,z/a,1,z/a,x());return ne.spot2=new go.Spot(le.x,le.y),he(le),ne}),go.Shape.setFigureParameter("SplitEndArrow2",0,new dt("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 ne=new go.Geometry,re=new go.PathFigure(E,.5*a,!0);ne.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.7*E,a)),re.add(new go.PathSegment(go.PathSegment.Line,.7*E,z)),re.add(new go.PathSegment(go.PathSegment.Line,0,z)),re.add(new go.PathSegment(go.PathSegment.Line,.2*E,.5*a)),re.add(new go.PathSegment(go.PathSegment.Line,0,y)),re.add(new go.PathSegment(go.PathSegment.Line,.7*E,y)),re.add(new go.PathSegment(go.PathSegment.Line,.7*E,0).close()),ne.spot1=new go.Spot(.2,y/a);var le=Be(.7,1,1,.5,0,z/a,1,z/a,x());return ne.spot2=new go.Spot(le.x,le.y),he(le),ne}),go.Shape.setFigureParameter("SquareArrow",0,new dt("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=Fe*.5,z=Fe*.1,ne=new go.PathFigure(0,.9*a,!0);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),ne.add(new go.PathSegment(go.PathSegment.Line,E,.9*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,E,(.9+z)*a,(.5+y)*E,a)),ne.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=Fe*.5,ne=new go.PathFigure(0,b,!0);y.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,0,Fe*b,(.5-z)*E,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,1*E,b,(.5+z)*E,0,1*E,Fe*b)),ne.add(new go.PathSegment(go.PathSegment.Line,E,a-b)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,1*a,1*E,a-Fe*b,(.5+z)*E,1*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,a-b,(.5-z)*E,1*a,0,a-Fe*b)),ne.add(new go.PathSegment(go.PathSegment.Line,0,b));var re=new go.PathFigure(E,b,!1);return y.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,2*b,1*E,2*b-Fe*b,(.5+z)*E,2*b)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,b,(.5-z)*E,2*b,0,2*b-Fe*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=Fe*.5,ne=new go.PathFigure(0,a-b,!0);y.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,0,b)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,0,Fe*b,(.5-z)*E,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,E,b,(.5+z)*E,0,E,Fe*b)),ne.add(new go.PathSegment(go.PathSegment.Line,E,a-b)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,E,a-Fe*b,(.5+z)*E,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,a-b,(.5-z)*E,a,0,a-Fe*b));var re=new go.PathFigure(0,a-b,!1);return y.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a-2*b,0,a-b-Fe*b,(.5-z)*E,a-2*b)),re.add(new go.PathSegment(go.PathSegment.Bezier,E,a-b,(.5+z)*E,a-2*b,E,a-b-Fe*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=Fe*.5,ne=new go.PathFigure(b,0,!0);y.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E-b,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,E-Fe*b,0,E,(.5-z)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,E-b,a,E,(.5+z)*a,E-Fe*b,a)),ne.add(new go.PathSegment(go.PathSegment.Line,b,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,Fe*b,a,0,(.5+z)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,b,0,0,(.5-z)*a,Fe*b,0));var re=new go.PathFigure(b,0,!1);return y.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,2*b,.5*a,b+Fe*b,0,2*b,(.5-z)*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,b,a,2*b,(.5+z)*a,b+Fe*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=Fe*.5,ne=new go.PathFigure(E-b,0,!0);y.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,E-Fe*b,0,E,(.5-z)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,E-b,a,E,(.5+z)*a,E-Fe*b,a)),ne.add(new go.PathSegment(go.PathSegment.Line,b,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,Fe*b,a,0,(.5+z)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,b,0,0,(.5-z)*a,Fe*b,0)),ne.add(new go.PathSegment(go.PathSegment.Line,E-b,0));var re=new go.PathFigure(E-b,0,!1);return y.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,E-2*b,.5*a,E-b-Fe*b,0,E-2*b,(.5-z)*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,E-b,a,E-2*b,(.5+z)*a,E-b-Fe*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,ne=Fe*y,re=Fe*z,le=.5,ge=.1,fe=new go.PathFigure(le*E,(ge+z)*a,!0);b.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,(le-y)*E,ge*a,(le-ne)*E,(ge+z)*a,(le-y)*E,(ge+re)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,le*E,(ge-z)*a,(le-y)*E,(ge-re)*a,(le-ne)*E,(ge-z)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(le+y)*E,ge*a,(le+ne)*E,(ge-z)*a,(le+y)*E,(ge-re)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,le*E,(ge+z)*a,(le+y)*E,(ge+re)*a,(le+ne)*E,(ge+z)*a));var Pe=.05,Ve=Fe*Pe;le=.05,ge=.25;var Me=new go.PathFigure(.5*E,.2*a,!0);return b.add(Me),Me.add(new go.PathSegment(go.PathSegment.Line,.95*E,.2*a)),le=.95,ge=.25,Me.add(new go.PathSegment(go.PathSegment.Bezier,(le+Pe)*E,ge*a,(le+Ve)*E,(ge-Pe)*a,(le+Pe)*E,(ge-Ve)*a)),Me.add(new go.PathSegment(go.PathSegment.Line,E,.6*a)),Me.add(new go.PathSegment(go.PathSegment.Line,.85*E,.6*a)),Me.add(new go.PathSegment(go.PathSegment.Line,.85*E,.35*a)),Pe=.025,Ve=Fe*Pe,le=.825,ge=.35,Me.add(new go.PathSegment(go.PathSegment.Bezier,le*E,(ge-Pe)*a,(le+Pe)*E,(ge-Ve)*a,(le+Ve)*E,(ge-Pe)*a)),Me.add(new go.PathSegment(go.PathSegment.Bezier,(le-Pe)*E,ge*a,(le-Ve)*E,(ge-Pe)*a,(le-Pe)*E,(ge-Ve)*a)),Me.add(new go.PathSegment(go.PathSegment.Line,.8*E,a)),Me.add(new go.PathSegment(go.PathSegment.Line,.55*E,a)),Me.add(new go.PathSegment(go.PathSegment.Line,.55*E,.7*a)),Pe=.05,Ve=Fe*Pe,le=.5,ge=.7,Me.add(new go.PathSegment(go.PathSegment.Bezier,le*E,(ge-Pe)*a,(le+Pe)*E,(ge-Ve)*a,(le+Ve)*E,(ge-Pe)*a)),Me.add(new go.PathSegment(go.PathSegment.Bezier,(le-Pe)*E,ge*a,(le-Ve)*E,(ge-Pe)*a,(le-Pe)*E,(ge-Ve)*a)),Me.add(new go.PathSegment(go.PathSegment.Line,.45*E,a)),Me.add(new go.PathSegment(go.PathSegment.Line,.2*E,a)),Me.add(new go.PathSegment(go.PathSegment.Line,.2*E,.35*a)),Pe=.025,Ve=Fe*Pe,le=.175,ge=.35,Me.add(new go.PathSegment(go.PathSegment.Bezier,le*E,(ge-Pe)*a,(le+Pe)*E,(ge-Ve)*a,(le+Ve)*E,(ge-Pe)*a)),Me.add(new go.PathSegment(go.PathSegment.Bezier,(le-Pe)*E,ge*a,(le-Ve)*E,(ge-Pe)*a,(le-Pe)*E,(ge-Ve)*a)),Me.add(new go.PathSegment(go.PathSegment.Line,.15*E,.6*a)),Me.add(new go.PathSegment(go.PathSegment.Line,0,.6*a)),Me.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),Pe=.05,Ve=Fe*Pe,le=.05,ge=.25,Me.add(new go.PathSegment(go.PathSegment.Bezier,le*E,(ge-Pe)*a,(le-Pe)*E,(ge-Ve)*a,(le-Ve)*E,(ge-Pe)*a)),Me.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 dt("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 ne=new go.PathFigure(0,y*a,!1);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E,y*a)),ne.add(new go.PathSegment(go.PathSegment.Move,0,(1-y)*a)),ne.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=Fe*.5,z=Fe*.1,ne=new go.PathFigure(E,.1*a,!0);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E,.9*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,E,(.9+z)*a,(.5+y)*E,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,(.5-y)*E,a,0,(.9+z)*a)),ne.add(new go.PathSegment(go.PathSegment.Line,0,.1*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,0,(.1-z)*a,(.5-y)*E,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,E,.1*a,(.5+y)*E,0,E,(.1-z)*a));var re=new go.PathFigure(E,.1*a,!1);return b.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.2*a,E,(.1+z)*a,(.5+y)*E,.2*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*a,(.5-y)*E,.2*a,0,(.1+z)*a)),re.add(new go.PathSegment(go.PathSegment.Move,E,.2*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.3*a,E,(.2+z)*a,(.5+y)*E,.3*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*a,(.5-y)*E,.3*a,0,(.2+z)*a)),re.add(new go.PathSegment(go.PathSegment.Move,E,.3*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.4*a,E,(.3+z)*a,(.5+y)*E,.4*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,.3*a,(.5-y)*E,.4*a,0,(.3+z)*a)),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=Fe*.5,z=Fe*.1,ne=new go.PathFigure(E,.1*a,!0);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E,.9*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,E,(.9+z)*a,(.5+y)*E,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,(.5-y)*E,a,0,(.9+z)*a)),ne.add(new go.PathSegment(go.PathSegment.Line,0,.1*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,0,(.1-z)*a,(.5-y)*E,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,E,.1*a,(.5+y)*E,0,E,(.1-z)*a));var re=new go.PathFigure(E,.1*a,!1);return b.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.2*a,E,(.1+z)*a,(.5+y)*E,.2*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*a,(.5-y)*E,.2*a,0,(.1+z)*a)),re.add(new go.PathSegment(go.PathSegment.Move,E,.2*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.3*a,E,(.2+z)*a,(.5+y)*E,.3*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*a,(.5-y)*E,.3*a,0,(.2+z)*a)),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=Fe*.2,ne=new go.PathFigure(0,.2*a,!0);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,.2*E,0,0,(.2-z)*a,(.2-z)*E,0)),ne.add(new go.PathSegment(go.PathSegment.Line,.8*E,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,E,.2*a,(.8+z)*E,0,E,(.2-z)*a)),ne.add(new go.PathSegment(go.PathSegment.Line,E,.8*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,a,E,(.8+z)*a,(.8+z)*E,a)),ne.add(new go.PathSegment(go.PathSegment.Line,.2*E,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.8*a,(.2-z)*E,a,0,(.8+z)*a)),ne.add(new go.PathSegment(go.PathSegment.Line,0,.2*a));var re=new go.PathFigure(0,y*a,!1);return b.add(re),re.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 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("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 ne=new go.PathFigure(y*E,0,!1);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,0,y*a)),ne.add(new go.PathSegment(go.PathSegment.Move,E,y*a)),ne.add(new go.PathSegment(go.PathSegment.Line,(1-y)*E,0)),ne.add(new go.PathSegment(go.PathSegment.Move,0,(1-y)*a)),ne.add(new go.PathSegment(go.PathSegment.Line,y*E,a)),ne.add(new go.PathSegment(go.PathSegment.Move,(1-y)*E,a)),ne.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 ne=new go.PathFigure(E,.5*a,!1);return b.add(ne),ne.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 ne=new go.PathFigure(0,0,!0);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E,0)),ne.add(new go.PathSegment(go.PathSegment.Line,E,a)),ne.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var re=new go.PathFigure(y*E,0,!1);return b.add(re),re.add(new go.PathSegment(go.PathSegment.Line,y*E,a)),re.add(new go.PathSegment(go.PathSegment.Move,0,z*a)),re.add(new go.PathSegment(go.PathSegment.Line,E,z*a)),b}),go.Shape.defineFigureGenerator("Junction",function(ie,E,a){var b=new go.Geometry,y=1/Math.SQRT2,z=(1-1/Math.SQRT2)/2,ne=Fe*.5,re=.5,le=new go.PathFigure(E,re*a,!0);b.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,re*E,a,E,(re+ne)*a,(re+ne)*E,a)),le.add(new go.PathSegment(go.PathSegment.Bezier,0,re*a,(re-ne)*E,a,0,(re+ne)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,re*E,0,0,(re-ne)*a,(re-ne)*E,0)),le.add(new go.PathSegment(go.PathSegment.Bezier,E,re*a,(re+ne)*E,0,E,(re-ne)*a));var ge=new go.PathFigure((z+y)*E,(z+y)*a,!1);return b.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,z*E,z*a)),ge.add(new go.PathSegment(go.PathSegment.Move,z*E,(z+y)*a)),ge.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=Fe*.5,z=.5,ne=new go.PathFigure(.5*E,a,!0);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,z*a,(z-y)*E,a,0,(z+y)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*E,0,0,(z-y)*a,(z-y)*E,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,E,z*a,(z+y)*E,0,E,(z-y)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z+.1)*E,.9*a,E,(z+y)*a,(z+y)*E,.9*a)),ne.add(new go.PathSegment(go.PathSegment.Line,E,.9*a)),ne.add(new go.PathSegment(go.PathSegment.Line,E,a)),ne.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,ne=new go.PathFigure(0,0,!0);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E,0)),ne.add(new go.PathSegment(go.PathSegment.Line,.5*E,a).close());var re=new go.PathFigure(.5*y*E,y*a,!1);return b.add(re),re.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=Fe*.5,z=.5,ne=new go.PathFigure(E,z*a,!0);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*E,a,E,(z+y)*a,(z+y)*E,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,z*a,(z-y)*E,a,0,(z+y)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*E,0,0,(z-y)*a,(z-y)*E,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,E,z*a,(z+y)*E,0,E,(z-y)*a));var re=new go.PathFigure(E,.5*a,!1);return b.add(re),re.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),re.add(new go.PathSegment(go.PathSegment.Move,.5*E,a)),re.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),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 ne=new go.PathFigure(0,0,!0);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E,0)),ne.add(new go.PathSegment(go.PathSegment.Line,(1-z)*E,.5*a)),ne.add(new go.PathSegment(go.PathSegment.Line,E,a)),ne.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 ne=new go.PathFigure(0,0,!0);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,(1-z)*E,0)),ne.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),ne.add(new go.PathSegment(go.PathSegment.Line,(1-z)*E,a)),ne.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 ne=new go.PathFigure((1-y)*E,0,!1);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,(1-y)*E,a)),ne.add(new go.PathSegment(go.PathSegment.Move,y*E,0)),ne.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 ne=new go.PathFigure(y*E,0,!1);return b.add(ne),ne.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 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,(1-y)*E,0)),ne.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=Fe*.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=Fe*.5,z=.5,ne=new go.PathFigure(E,z*a,!0);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*E,a,E,(z+y)*a,(z+y)*E,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,z*a,(z-y)*E,a,0,(z+y)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*E,0,0,(z-y)*a,(z-y)*E,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,E,z*a,(z+y)*E,0,E,(z-y)*a));var re=new go.PathFigure(E,z*a,!1);b.add(re),re.add(new go.PathSegment(go.PathSegment.Line,E,z*a));var le=new go.PathFigure(.8*E,.75*a,!1);return b.add(le),le.add(new go.PathSegment(go.PathSegment.Line,.8*E,.25*a)),le.add(new go.PathSegment(go.PathSegment.Line,.6*E,.25*a)),le.add(new go.PathSegment(go.PathSegment.Line,.6*E,.75*a)),le.add(new go.PathSegment(go.PathSegment.Line,.4*E,.75*a)),le.add(new go.PathSegment(go.PathSegment.Line,.4*E,.25*a)),le.add(new go.PathSegment(go.PathSegment.Line,.2*E,.25*a)),le.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=Fe*.1,z=.1,ne=.9,re=.5,le=new go.PathFigure(.8*E,.5*a,!0);b.add(le),le.add(new go.PathSegment(go.PathSegment.Line,0,a)),le.add(new go.PathSegment(go.PathSegment.Line,0,0)),le.add(new go.PathSegment(go.PathSegment.Line,.8*E,.5*a));var ge=new go.PathFigure((ne+z)*E,re*a,!0);return b.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(re+z)*a,(ne+z)*E,(re+y)*a,(ne+y)*E,(re+z)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(ne-z)*E,re*a,(ne-y)*E,(re+z)*a,(ne-z)*E,(re+y)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(re-z)*a,(ne-z)*E,(re-y)*a,(ne-y)*E,(re-z)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z)*E,re*a,(ne+y)*E,(re-z)*a,(ne+z)*E,(re-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=Fe*.5,z=Fe*.4,ne=Fe*.1,re=.1,le=.9,ge=.5,fe=new go.PathFigure(.8*E,.5*a,!0);b.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,.4*E,a,.8*E,(.5+z)*a,(.4+y)*E,a)),fe.add(new go.PathSegment(go.PathSegment.Line,0,a)),fe.add(new go.PathSegment(go.PathSegment.Line,0,0)),fe.add(new go.PathSegment(go.PathSegment.Line,.4*E,0)),fe.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,.5*a,(.4+y)*E,0,.8*E,(.5-z)*a));var Pe=new go.PathFigure((le+re)*E,ge*a,!0);return b.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,le*E,(ge+re)*a,(le+re)*E,(ge+ne)*a,(le+ne)*E,(ge+re)*a)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(le-re)*E,ge*a,(le-ne)*E,(ge+re)*a,(le-re)*E,(ge+ne)*a)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,le*E,(ge-re)*a,(le-re)*E,(ge-ne)*a,(le-ne)*E,(ge-re)*a)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(le+re)*E,ge*a,(le+ne)*E,(ge-re)*a,(le+re)*E,(ge-ne)*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=Fe*y,ne=0,re=.5,le=new go.PathFigure(.8*E,.5*a,!0);b.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,0,a,.7*E,(re+z)*a,(ne+z)*E,(re+y)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*E,.75*a,.25*E,.25*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,.5*a,(ne+z)*E,(re-y)*a,.7*E,(re-z)*a)),y=.1,z=Fe*.1,ne=.9,re=.5;var ge=new go.PathFigure((ne-y)*E,re*a,!0);return b.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(re-y)*a,(ne-y)*E,(re-z)*a,(ne-z)*E,(re-y)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(ne+y)*E,re*a,(ne+z)*E,(re-y)*a,(ne+y)*E,(re-z)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(re+y)*a,(ne+y)*E,(re+z)*a,(ne+z)*E,(re+y)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(ne-y)*E,re*a,(ne-z)*E,(re+y)*a,(ne-y)*E,(re+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=Fe*y,ne=0,re=.5,le=new go.PathFigure(0,0,!0);return b.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,(ne+z+z)*E,(re-y)*a,.8*E,(re-z)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,0,a,.8*E,(re+z)*a,(ne+z+z)*E,(re+y)*a)),le.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=Fe*y,ne=.2,re=.5,le=new go.PathFigure(.1*E,0,!1);b.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,.1*E,a,.35*E,.25*a,.35*E,.75*a));var ge=new go.PathFigure(.8*E,.5*a,!0);b.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,.2*E,a,.7*E,(re+z)*a,(ne+z)*E,(re+y)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,.2*E,0,.45*E,.75*a,.45*E,.25*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,.5*a,(ne+z)*E,(re-y)*a,.7*E,(re-z)*a)),y=.1,z=Fe*.1,ne=.9,re=.5;var fe=new go.PathFigure((ne-y)*E,re*a,!0);return b.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(re-y)*a,(ne-y)*E,(re-z)*a,(ne-z)*E,(re-y)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ne+y)*E,re*a,(ne+z)*E,(re-y)*a,(ne+y)*E,(re-z)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(re+y)*a,(ne+y)*E,(re+z)*a,(ne+z)*E,(re+y)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ne-y)*E,re*a,(ne-z)*E,(re+y)*a,(ne-y)*E,(re+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=Fe*y,ne=.2,re=.5,le=new go.PathFigure(.1*E,0,!1);b.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,.1*E,a,.35*E,.25*a,.35*E,.75*a));var ge=new go.PathFigure(.2*E,0,!0);return b.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,(ne+z)*E,(re-y)*a,.9*E,(re-z)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,.2*E,a,.9*E,(re+z)*a,(ne+z)*E,(re+y)*a)),ge.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=Fe*.1,z=.1,ne=.1,re=.5,le=new go.PathFigure((ne-y*.5)*E,a,!1);return b.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z)*E,0,(ne-y)*E,a,(ne-z)*E,0)),ne=.3,le.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,a,(ne+z)*E,0,(ne+y)*E,a)),le.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z)*E,0,(ne-y)*E,a,(ne-z)*E,0)),ne=.5,le.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,a,(ne+z)*E,0,(ne+y)*E,a)),le.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z)*E,0,(ne-y)*E,a,(ne-z)*E,0)),ne=.7,le.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,a,(ne+z)*E,0,(ne+y)*E,a)),le.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z)*E,0,(ne-y)*E,a,(ne-z)*E,0)),ne=.9,le.add(new go.PathSegment(go.PathSegment.Bezier,(ne+y*.5)*E,a,(ne+z)*E,0,(ne+y)*E,a)),b}),go.Shape.defineFigureGenerator("ACvoltageSource",function(ie,E,a){var b=new go.Geometry,y=Fe*.5,z=.5,ne=.5,re=.5,le=new go.PathFigure((ne-z)*E,re*a,!1);return b.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(re-z)*a,(ne-z)*E,(re-y)*a,(ne-y)*E,(re-z)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z)*E,re*a,(ne+y)*E,(re-z)*a,(ne+z)*E,(re-y)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(re+z)*a,(ne+z)*E,(re+y)*a,(ne+y)*E,(re+z)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,(ne-z)*E,re*a,(ne-y)*E,(re+z)*a,(ne-z)*E,(re+y)*a)),le.add(new go.PathSegment(go.PathSegment.Move,(ne-z+.1)*E,re*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z-.1)*E,re*a,ne*E,(re-z)*a,ne*E,(re+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 ne=Fe*.8,re=.8,le=0,ge=.5,fe=(y-E)/2,Pe=(z-a)/2,Ve=new go.PathFigure(le*E+fe,(ge+re)*a+Pe,!0);b.add(Ve),Ve.add(new go.PathSegment(go.PathSegment.Bezier,(le-re)*E+fe,ge*a+Pe,(le-ne)*E+fe,(ge+re)*a+Pe,(le-re)*E+fe,(ge+ne)*a+Pe)),Ve.add(new go.PathSegment(go.PathSegment.Bezier,le*E+fe,(ge-re)*a+Pe,(le-re)*E+fe,(ge-ne)*a+Pe,(le-ne)*E+fe,(ge-re)*a+Pe)),Ve.add(new go.PathSegment(go.PathSegment.Bezier,(le-re+ne*.5)*E+fe,ge*a+Pe,le*E+fe,(ge-re)*a+Pe,(le-re+ne*.5)*E+fe,(ge-ne)*a+Pe)),Ve.add(new go.PathSegment(go.PathSegment.Bezier,le*E+fe,(ge+re)*a+Pe,(le-re+ne*.5)*E+fe,(ge+ne)*a+Pe,le*E+fe,(ge+re)*a+Pe).close()),ne=Fe*.4,re=.4,le=.2,ge=.5;var Me=new go.PathFigure(le*E+fe,(ge+re)*a+Pe,!0);b.add(Me),Me.add(new go.PathSegment(go.PathSegment.Bezier,(le-re)*E+fe,ge*a+Pe,(le-ne)*E+fe,(ge+re)*a+Pe,(le-re)*E+fe,(ge+ne)*a+Pe)),Me.add(new go.PathSegment(go.PathSegment.Bezier,le*E+fe,(ge-re)*a+Pe,(le-re)*E+fe,(ge-ne)*a+Pe,(le-ne)*E+fe,(ge-re)*a+Pe)),Me.add(new go.PathSegment(go.PathSegment.Bezier,(le-re+ne*.5)*E+fe,ge*a+Pe,le*E+fe,(ge-re)*a+Pe,(le-re+ne*.5)*E+fe,(ge-ne)*a+Pe)),Me.add(new go.PathSegment(go.PathSegment.Bezier,le*E+fe,(ge+re)*a+Pe,(le-re+ne*.5)*E+fe,(ge+ne)*a+Pe,le*E+fe,(ge+re)*a+Pe).close()),ne=Fe*.2,re=.2,le=.5,ge=.5;var vt=new go.PathFigure((le-re)*E+fe,ge*a+Pe,!0);b.add(vt),vt.add(new go.PathSegment(go.PathSegment.Bezier,le*E+fe,(ge-re)*a+Pe,(le-re)*E+fe,(ge-ne)*a+Pe,(le-ne)*E+fe,(ge-re)*a+Pe)),vt.add(new go.PathSegment(go.PathSegment.Bezier,(le+re)*E+fe,ge*a+Pe,(le+ne)*E+fe,(ge-re)*a+Pe,(le+re)*E+fe,(ge-ne)*a+Pe)),vt.add(new go.PathSegment(go.PathSegment.Bezier,le*E+fe,(ge+re)*a+Pe,(le+re)*E+fe,(ge+ne)*a+Pe,(le+ne)*E+fe,(ge+re)*a+Pe)),vt.add(new go.PathSegment(go.PathSegment.Bezier,(le-re)*E+fe,ge*a+Pe,(le-ne)*E+fe,(ge+re)*a+Pe,(le-re)*E+fe,(ge+ne)*a+Pe)),ne=Fe*.4,re=.4,le=.8,ge=.5;var Ie=new go.PathFigure(le*E+fe,(ge-re)*a+Pe,!0);b.add(Ie),Ie.add(new go.PathSegment(go.PathSegment.Bezier,(le+re)*E+fe,ge*a+Pe,(le+ne)*E+fe,(ge-re)*a+Pe,(le+re)*E+fe,(ge-ne)*a+Pe)),Ie.add(new go.PathSegment(go.PathSegment.Bezier,le*E+fe,(ge+re)*a+Pe,(le+re)*E+fe,(ge+ne)*a+Pe,(le+ne)*E+fe,(ge+re)*a+Pe)),Ie.add(new go.PathSegment(go.PathSegment.Bezier,(le+re-ne*.5)*E+fe,ge*a+Pe,le*E+fe,(ge+re)*a+Pe,(le+re-ne*.5)*E+fe,(ge+ne)*a+Pe)),Ie.add(new go.PathSegment(go.PathSegment.Bezier,le*E+fe,(ge-re)*a+Pe,(le+re-ne*.5)*E+fe,(ge-ne)*a+Pe,le*E+fe,(ge-re)*a+Pe).close()),ne=Fe*.8,re=.8,le=1,ge=.5;var Ce=new go.PathFigure(le*E+fe,(ge-re)*a+Pe,!0);return b.add(Ce),Ce.add(new go.PathSegment(go.PathSegment.Bezier,(le+re)*E+fe,ge*a+Pe,(le+ne)*E+fe,(ge-re)*a+Pe,(le+re)*E+fe,(ge-ne)*a+Pe)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,le*E+fe,(ge+re)*a+Pe,(le+re)*E+fe,(ge+ne)*a+Pe,(le+ne)*E+fe,(ge+re)*a+Pe)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,(le+re-ne*.5)*E+fe,ge*a+Pe,le*E+fe,(ge+re)*a+Pe,(le+re-ne*.5)*E+fe,(ge+ne)*a+Pe)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,le*E+fe,(ge-re)*a+Pe,(le+re-ne*.5)*E+fe,(ge-ne)*a+Pe,le*E+fe,(ge-re)*a+Pe).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 ne=new go.PathFigure(.6*E,a,!0,!0);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.9*E,a)),ne.add(new go.PathSegment(go.PathSegment.Line,.9*E,.6*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.6*E,.6*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.6*E,a).close());var re=new go.PathFigure(0,.5*a,!1);return b.add(re),re.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),re.add(new go.PathSegment(go.PathSegment.Move,.5*E,.5*a)),re.add(new go.PathSegment(go.PathSegment.Line,.5*E,.4*a)),re.add(new go.PathSegment(go.PathSegment.Move,.75*E,.5*a)),re.add(new go.PathSegment(go.PathSegment.Line,.75*E,.6*a)),re.add(new go.PathSegment(go.PathSegment.Move,.25*E,.5*a)),re.add(new go.PathSegment(go.PathSegment.Line,.25*E,.6*a)),b}),go.Shape.defineFigureGenerator("Power",function(ie,E,a){var b=new go.Geometry,y=Fe*.4,z=.4,ne=.5,re=.5,le=x(),ge=x(),fe=x(),Pe=x();Ne(ne,re-z,ne+y,re-z,ne+z,re-y,ne+z,re,.5,le,le,ge,fe,Pe);var Ve=oe(ge.x,ge.y),Me=new go.PathFigure(ge.x*E,ge.y*a,!0);b.add(Me),Me.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z)*E,re*a,fe.x*E,fe.y*a,Pe.x*E,Pe.y*a)),Me.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(re+z)*a,(ne+z)*E,(re+y)*a,(ne+y)*E,(re+z)*a)),Me.add(new go.PathSegment(go.PathSegment.Bezier,(ne-z)*E,re*a,(ne-y)*E,(re+z)*a,(ne-z)*E,(re+y)*a)),Ne(ne-z,re,ne-z,re-y,ne-y,re-z,ne,re-z,.5,fe,Pe,ge,le,le),Me.add(new go.PathSegment(go.PathSegment.Bezier,ge.x*E,ge.y*a,fe.x*E,fe.y*a,Pe.x*E,Pe.y*a)),y=Fe*.3,z=.3,Ne(ne-z,re,ne-z,re-y,ne-y,re-z,ne,re-z,.5,fe,Pe,ge,le,le),Me.add(new go.PathSegment(go.PathSegment.Line,ge.x*E,ge.y*a)),Me.add(new go.PathSegment(go.PathSegment.Bezier,(ne-z)*E,re*a,Pe.x*E,Pe.y*a,fe.x*E,fe.y*a)),Me.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(re+z)*a,(ne-z)*E,(re+y)*a,(ne-y)*E,(re+z)*a)),Me.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z)*E,re*a,(ne+y)*E,(re+z)*a,(ne+z)*E,(re+y)*a)),Ne(ne,re-z,ne+y,re-z,ne+z,re-y,ne+z,re,.5,le,le,ge,fe,Pe),Me.add(new go.PathSegment(go.PathSegment.Bezier,ge.x*E,ge.y*a,Pe.x*E,Pe.y*a,fe.x*E,fe.y*a).close());var Me=new go.PathFigure(.45*E,0,!0);return b.add(Me),Me.add(new go.PathSegment(go.PathSegment.Line,.45*E,.5*a)),Me.add(new go.PathSegment(go.PathSegment.Line,.55*E,.5*a)),Me.add(new go.PathSegment(go.PathSegment.Line,.55*E,0).close()),he(le),he(ge),he(fe),he(Pe),he(Ve),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(ne,re,le){ne.add(new go.PathSegment(go.PathSegment.Move,(.3+re)*E,(.8+le)*a)),ne.add(new go.PathSegment(go.PathSegment.Line,(.5+re)*E,(.5+le)*a)),ne.add(new go.PathSegment(go.PathSegment.Line,(.1+re)*E,(.5+le)*a)),ne.add(new go.PathSegment(go.PathSegment.Line,(.3+re)*E,(.8+le)*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,ne=0,re=y*Fe,le=.4*Math.SQRT2/2+.5,ge=.5-.5*Math.SQRT2/2,fe=1,Pe=.5,Ve=.5,Me=0,vt=new go.PathFigure(le*E,(1-ge)*a,!1);return b.add(vt),vt.add(new go.PathSegment(go.PathSegment.Bezier,fe*E,Pe*a,fe*E,.7*a,fe*E,Pe*a)),vt.add(new go.PathSegment(go.PathSegment.Bezier,(Ve+z)*E,(Me+z)*a,(.5+y+z)*E,(.5-re+z)*a,(.5+re+z)*E,(.5-y+z)*a)),vt.add(new go.PathSegment(go.PathSegment.Bezier,(.5-y+z)*E,(.5+ne)*a,(.5-re+z)*E,(.5-y+ne)*a,(.5-y+z)*E,(.5-re+ne)*a)),vt.add(new go.PathSegment(go.PathSegment.Bezier,(.35+z)*E,.9*a,(.5-y+z)*E,(.5+re+ne)*a,(.5-re+z)*E,.9*a)),vt.add(new go.PathSegment(go.PathSegment.Move,(.25+z)*E,.8*a)),vt.add(new go.PathSegment(go.PathSegment.Line,(.35+z)*E,.9*a)),vt.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 ne=new go.PathFigure(0,.5*a,!1);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.5*a,.2*E,.35*a,.3*E,.35*a)),ne.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 ne=.5-.285,re=.5,le=ne,ge=Math.PI/4,fe=4*(1-Math.cos(ge))/(3*Math.sin(ge)),Pe=fe*.5,Ve=ne,Me=ne,vt=fe*Ve,Ie=fe*Me;z.add(new go.PathSegment(go.PathSegment.Bezier,(re-Ve)*E,le*a,(re-(vt+Ve)/2)*E,(le+(Me+Ie)/2)*a,(re-Ve)*E,(le+Ie)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,re*E,(le-Me)*a,(re-Ve)*E,(le-Ie)*a,(re-vt)*E,(le-Me)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,(re+Ve)*E,le*a,(re+vt)*E,(le-Me)*a,(re+Ve)*E,(le-Ie)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,(1-.365)*E,(1-.595)*a,(re+Ve)*E,(le+Ie)*a,(re+(vt+Ve)/2)*E,(le+(Me+Ie)/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 Ce=new go.PathFigure(.2*E,a,!1);b.add(Ce),Ce.add(new go.PathSegment(go.PathSegment.Line,.2*E,.8*a));var et=new go.PathFigure(.8*E,a,!1);return b.add(et),et.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 ne=new go.PathFigure(.1*E,a,!0);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),ne.add(new go.PathSegment(go.PathSegment.Line,.9*E,a)),ne.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 ne=new go.PathFigure(.675*E,.575*a,!1);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.875*E,.525*a)),ne.add(new go.PathSegment(go.PathSegment.Line,E,.775*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.85*E,.95*a,E,.8*a,E,.85*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.65*E,.95*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.65*E,a)),ne.add(new go.PathSegment(go.PathSegment.Line,.55*E,.85*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.65*E,.725*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.65*E,.775*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.7*E,.775*a)),ne.add(new go.PathSegment(go.PathSegment.Line,E,.775*a)),ne.add(new go.PathSegment(go.PathSegment.Move,.675*E,.575*a)),ne.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=Fe*.5,ne=new go.PathFigure(E,y*a,!0);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,y*E,a,E,(y+z)*a,(y+z)*E,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,y*a,(y-z)*E,a,0,(y+z)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,y*E,0,0,(y-z)*a,(y-z)*E,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,E,y*a,(y+z)*E,0,E,(y-z)*a));var re=new go.PathFigure(y*E,0,!1);return b.add(re),re.add(new go.PathSegment(go.PathSegment.Line,y*E,.15*a)),re.add(new go.PathSegment(go.PathSegment.Move,y*E,a)),re.add(new go.PathSegment(go.PathSegment.Line,y*E,.85*a)),re.add(new go.PathSegment(go.PathSegment.Move,0,y*a)),re.add(new go.PathSegment(go.PathSegment.Line,.15*E,y*a)),re.add(new go.PathSegment(go.PathSegment.Move,E,y*a)),re.add(new go.PathSegment(go.PathSegment.Line,.85*E,y*a)),re.add(new go.PathSegment(go.PathSegment.Move,y*E,y*a)),re.add(new go.PathSegment(go.PathSegment.Line,.58*E,.1*a)),re.add(new go.PathSegment(go.PathSegment.Move,y*E,y*a)),re.add(new go.PathSegment(go.PathSegment.Line,.78*E,.54*a)),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 ne=new go.PathFigure(0,.5*a,!1);return b.add(ne),ne.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 ne=new go.PathFigure(0,.6*a,!0);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.45*E,.6*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.45*E,.8*a)),ne.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),ne.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 ne=.1,re=Fe*.1,le=.2,ge=.9,fe=new go.PathFigure((le-ne)*E,ge*a,!0);b.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,le*E,(ge-ne)*a,(le-ne)*E,(ge-re)*a,(le-re)*E,(ge-ne)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(le+ne)*E,ge*a,(le+re)*E,(ge-ne)*a,(le+ne)*E,(ge-re)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,le*E,(ge+ne)*a,(le+ne)*E,(ge+re)*a,(le+re)*E,(ge+ne)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(le-ne)*E,ge*a,(le-re)*E,(ge+ne)*a,(le-ne)*E,(ge+re)*a).close()),ne=.1,re=Fe*.1,le=.8,ge=.9;var Pe=new go.PathFigure((le-ne)*E,ge*a,!0);return b.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,le*E,(ge-ne)*a,(le-ne)*E,(ge-re)*a,(le-re)*E,(ge-ne)*a)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(le+ne)*E,ge*a,(le+re)*E,(ge-ne)*a,(le+ne)*E,(ge-re)*a)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,le*E,(ge+ne)*a,(le+ne)*E,(ge+re)*a,(le+re)*E,(ge+ne)*a)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(le-ne)*E,ge*a,(le-re)*E,(ge+ne)*a,(le-ne)*E,(ge+re)*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 ne=new go.PathFigure(.5*E,.8*a,!0);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.5*E,.1*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.55*E,.1*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.55*E,.8*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.5*E,.8*a));var re=new go.PathFigure(.5*E,.7*a,!1);b.add(re),re.add(new go.PathSegment(go.PathSegment.Line,E,.7*a));var le=.1,ge=Fe*.1,fe=.1,Pe=.9,Ve=new go.PathFigure((fe-le)*E,Pe*a,!0);b.add(Ve),Ve.add(new go.PathSegment(go.PathSegment.Bezier,fe*E,(Pe-le)*a,(fe-le)*E,(Pe-ge)*a,(fe-ge)*E,(Pe-le)*a)),Ve.add(new go.PathSegment(go.PathSegment.Bezier,(fe+le)*E,Pe*a,(fe+ge)*E,(Pe-le)*a,(fe+le)*E,(Pe-ge)*a)),Ve.add(new go.PathSegment(go.PathSegment.Bezier,fe*E,(Pe+le)*a,(fe+le)*E,(Pe+ge)*a,(fe+ge)*E,(Pe+le)*a)),Ve.add(new go.PathSegment(go.PathSegment.Bezier,(fe-le)*E,Pe*a,(fe-ge)*E,(Pe+le)*a,(fe-le)*E,(Pe+ge)*a)),le=.1,ge=Fe*.1,fe=.4,Pe=.9;var Me=new go.PathFigure((fe-le)*E,Pe*a,!0);return b.add(Me),Me.add(new go.PathSegment(go.PathSegment.Bezier,fe*E,(Pe-le)*a,(fe-le)*E,(Pe-ge)*a,(fe-ge)*E,(Pe-le)*a)),Me.add(new go.PathSegment(go.PathSegment.Bezier,(fe+le)*E,Pe*a,(fe+ge)*E,(Pe-le)*a,(fe+le)*E,(Pe-ge)*a)),Me.add(new go.PathSegment(go.PathSegment.Bezier,fe*E,(Pe+le)*a,(fe+le)*E,(Pe+ge)*a,(fe+ge)*E,(Pe+le)*a)),Me.add(new go.PathSegment(go.PathSegment.Bezier,(fe-le)*E,Pe*a,(fe-ge)*E,(Pe+le)*a,(fe-le)*E,(Pe+ge)*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 ne=new go.PathFigure(.55*E,.4*a,!0);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.9*E,.4*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.9*E,.9*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.55*E,.9*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.55*E,.4*a).close());var fe=.05,Pe=Fe*.05,Ve=.175,Me=.95,re=new go.PathFigure((Ve-fe)*E,Me*a,!0);b.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,Ve*E,(Me-fe)*a,(Ve-fe)*E,(Me-Pe)*a,(Ve-Pe)*E,(Me-fe)*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,(Ve+fe)*E,Me*a,(Ve+Pe)*E,(Me-fe)*a,(Ve+fe)*E,(Me-Pe)*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,Ve*E,(Me+fe)*a,(Ve+fe)*E,(Me+Pe)*a,(Ve+Pe)*E,(Me+fe)*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,(Ve-fe)*E,Me*a,(Ve-Pe)*E,(Me+fe)*a,(Ve-fe)*E,(Me+Pe)*a));var fe=.05,Pe=Fe*.05,Ve=.375,Me=.95,le=new go.PathFigure((Ve-fe)*E,Me*a,!0);b.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,Ve*E,(Me-fe)*a,(Ve-fe)*E,(Me-Pe)*a,(Ve-Pe)*E,(Me-fe)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,(Ve+fe)*E,Me*a,(Ve+Pe)*E,(Me-fe)*a,(Ve+fe)*E,(Me-Pe)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,Ve*E,(Me+fe)*a,(Ve+fe)*E,(Me+Pe)*a,(Ve+Pe)*E,(Me+fe)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,(Ve-fe)*E,Me*a,(Ve-Pe)*E,(Me+fe)*a,(Ve-fe)*E,(Me+Pe)*a));var fe=.05,Pe=Fe*.05,Ve=.625,Me=.95,ge=new go.PathFigure((Ve-fe)*E,Me*a,!0);b.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,Ve*E,(Me-fe)*a,(Ve-fe)*E,(Me-Pe)*a,(Ve-Pe)*E,(Me-fe)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(Ve+fe)*E,Me*a,(Ve+Pe)*E,(Me-fe)*a,(Ve+fe)*E,(Me-Pe)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,Ve*E,(Me+fe)*a,(Ve+fe)*E,(Me+Pe)*a,(Ve+Pe)*E,(Me+fe)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(Ve-fe)*E,Me*a,(Ve-Pe)*E,(Me+fe)*a,(Ve-fe)*E,(Me+Pe)*a));var fe=.05,Pe=Fe*.05,Ve=.825,Me=.95,vt=new go.PathFigure((Ve-fe)*E,Me*a,!0);b.add(vt),vt.add(new go.PathSegment(go.PathSegment.Bezier,Ve*E,(Me-fe)*a,(Ve-fe)*E,(Me-Pe)*a,(Ve-Pe)*E,(Me-fe)*a)),vt.add(new go.PathSegment(go.PathSegment.Bezier,(Ve+fe)*E,Me*a,(Ve+Pe)*E,(Me-fe)*a,(Ve+fe)*E,(Me-Pe)*a)),vt.add(new go.PathSegment(go.PathSegment.Bezier,Ve*E,(Me+fe)*a,(Ve+fe)*E,(Me+Pe)*a,(Ve+Pe)*E,(Me+fe)*a)),vt.add(new go.PathSegment(go.PathSegment.Bezier,(Ve-fe)*E,Me*a,(Ve-Pe)*E,(Me+fe)*a,(Ve-fe)*E,(Me+Pe)*a).close());var Ie=new go.PathFigure(0,a,!1);return b.add(Ie),Ie.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 ne=new go.PathFigure(.15*E,a,!0);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.15*E,.5*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.4*E,.5*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.4*E,a)),ne.add(new go.PathSegment(go.PathSegment.Line,.15*E,a).close());var re=.05,le=Fe*.05,ge=.35,fe=.775,Pe=new go.PathFigure((ge-re)*E,fe*a,!0);return b.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,ge*E,(fe-re)*a,(ge-re)*E,(fe-le)*a,(ge-le)*E,(fe-re)*a)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(ge+re)*E,fe*a,(ge+le)*E,(fe-re)*a,(ge+re)*E,(fe-le)*a)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,ge*E,(fe+re)*a,(ge+re)*E,(fe+le)*a,(ge+le)*E,(fe+re)*a)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(ge-re)*E,fe*a,(ge-le)*E,(fe+re)*a,(ge-re)*E,(fe+le)*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=Fe*.3,ne=.5,re=.7,le=new go.PathFigure((ne-y)*E,re*a,!0);b.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(re-y)*a,(ne-y)*E,(re-z)*a,(ne-z)*E,(re-y)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,(ne+y)*E,re*a,(ne+z)*E,(re-y)*a,(ne+y)*E,(re-z)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(re+y)*a,(ne+y)*E,(re+z)*a,(ne+z)*E,(re+y)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,(ne-y)*E,re*a,(ne-z)*E,(re+y)*a,(ne-y)*E,(re+z)*a));var ge=new go.PathFigure(0,.7*a,!1);return b.add(ge),ge.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=Fe*.5,ne=.5,re=.5,le=new go.PathFigure((ne-y)*E,re*a,!0);b.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(re-y)*a,(ne-y)*E,(re-z)*a,(ne-z)*E,(re-y)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,(ne+y)*E,re*a,(ne+z)*E,(re-y)*a,(ne+y)*E,(re-z)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(re+y)*a,(ne+y)*E,(re+z)*a,(ne+z)*E,(re+y)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,(ne-y)*E,re*a,(ne-z)*E,(re+y)*a,(ne-y)*E,(re+z)*a));var ge=new go.PathFigure(.15*E,.5*a,!1);return b.add(ge),ge.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=Fe*.5,ne=.5,re=.5,le=new go.PathFigure((ne-y)*E,re*a,!1);b.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(re-y)*a,(ne-y)*E,(re-z)*a,(ne-z)*E,(re-y)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,(ne+y)*E,re*a,(ne+z)*E,(re-y)*a,(ne+y)*E,(re-z)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(re+y)*a,(ne+y)*E,(re+z)*a,(ne+z)*E,(re+y)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,(ne-y)*E,re*a,(ne-z)*E,(re+y)*a,(ne-y)*E,(re+z)*a).close()),y=.05,z=Fe*.05,ne=.5,re=.8;var ge=new go.PathFigure((ne-y)*E,re*a,!1);return b.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(re-y)*a,(ne-y)*E,(re-z)*a,(ne-z)*E,(re-y)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(ne+y)*E,re*a,(ne+z)*E,(re-y)*a,(ne+y)*E,(re-z)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(re+y)*a,(ne+y)*E,(re+z)*a,(ne+z)*E,(re+y)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(ne-y)*E,re*a,(ne-z)*E,(re+y)*a,(ne-y)*E,(re+z)*a).close()),ge.add(new go.PathSegment(go.PathSegment.Move,.5*E,.7*a)),ge.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.2*a,.75*E,.475*a,.75*E,.225*a)),ge.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 ne=new go.PathFigure(.402*E,.85*a,!1);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.402*E,.45*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.598*E,.45*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.598*E,.85*a).close());var re=new go.PathFigure(.678*E,.85*a,!1);b.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.678*E,.45*a)),re.add(new go.PathSegment(go.PathSegment.Line,.874*E,.45*a)),re.add(new go.PathSegment(go.PathSegment.Line,.874*E,.85*a).close());var le=new go.PathFigure(.5*E,.1*a,!1);return b.add(le),le.add(new go.PathSegment(go.PathSegment.Line,(.046+.15)*E,.3*a)),le.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 ne=new go.PathFigure(E*.408,a,!0);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E*.408,a*(1-.184*2))),ne.add(new go.PathSegment(go.PathSegment.Line,E*.592,a*(1-.184*3))),ne.add(new go.PathSegment(go.PathSegment.Line,E*.592,a*1).close());var re=new go.PathFigure(E*.612,a,!0);b.add(re),re.add(new go.PathSegment(go.PathSegment.Line,E*.612,a*(1-.184*3))),re.add(new go.PathSegment(go.PathSegment.Line,E*.796,a*(1-.184*4))),re.add(new go.PathSegment(go.PathSegment.Line,E*.796,a*1).close());var le=new go.PathFigure(E*.816,a,!0);return b.add(le),le.add(new go.PathSegment(go.PathSegment.Line,E*.816,a*(1-.184*4))),le.add(new go.PathSegment(go.PathSegment.Line,E*1,a*(1-.184*5))),le.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 ne=new go.PathFigure(E*.055,.13*a,!0);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E*.245,a*.13)),ne.add(new go.PathSegment(go.PathSegment.Line,E*.245,a*.16)),ne.add(new go.PathSegment(go.PathSegment.Line,E*.055,a*.16).close());var re=new go.PathFigure(E*.055,.18*a,!0);b.add(re),re.add(new go.PathSegment(go.PathSegment.Line,E*.245,a*.18)),re.add(new go.PathSegment(go.PathSegment.Line,E*.245,a*.21)),re.add(new go.PathSegment(go.PathSegment.Line,E*.055,a*.21).close());var le=new go.PathFigure(E*1,0,!0);return b.add(le),le.add(new go.PathSegment(go.PathSegment.Line,E*.4,0)),le.add(new go.PathSegment(go.PathSegment.Line,E*.4,a*.65)),le.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 ne=new go.PathFigure(E*.11,a*.1,!1);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*1+.028*0),a*.1)),ne.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*1+.028*0),a*.8)),ne.add(new go.PathSegment(go.PathSegment.Line,E*.11,a*.8).close());var re=new go.PathFigure(E*(.11+.24133333*1+.028*1),a*.1,!1);b.add(re),re.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*2+.028*1),a*.1)),re.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*2+.028*1),a*.8)),re.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*1+.028*1),a*.8).close());var le=new go.PathFigure(E*(.11+.24133333*2+.028*2),a*.1,!1);return b.add(le),le.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*3+.028*2),a*.1)),le.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*3+.028*2),a*.8)),le.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*Fe,ne=new go.PathFigure(y,0,!1);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E*.86,0)),ne.add(new go.PathSegment(go.PathSegment.Line,E*1,a*.14)),ne.add(new go.PathSegment(go.PathSegment.Line,E,a-y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,E-y,a,E,a-z,E-z,a)),ne.add(new go.PathSegment(go.PathSegment.Line,y,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,a-y,z,a,0,a-z)),ne.add(new go.PathSegment(go.PathSegment.Line,0,y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,y,0,0,z,z,0).close());var re=new go.PathFigure(E*.83,0,!1);b.add(re),re.add(new go.PathSegment(go.PathSegment.Line,E*.83,a*.3)),re.add(new go.PathSegment(go.PathSegment.Line,E*.17,a*.3)),re.add(new go.PathSegment(go.PathSegment.Line,E*.17,a*0).close());var le=new go.PathFigure(E*.83,a*1,!1);b.add(le),le.add(new go.PathSegment(go.PathSegment.Line,E*.83,a*.5)),le.add(new go.PathSegment(go.PathSegment.Line,E*.17,a*.5)),le.add(new go.PathSegment(go.PathSegment.Line,E*.17,a*1).close());var ge=new go.PathFigure(E*.78,a*.05,!1);return b.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*.05)),ge.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*.25)),ge.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*Fe,z=a*.8,ne=new go.Geometry,re=new go.PathFigure(b,0,!0);return ne.add(re),re.add(new go.PathSegment(go.PathSegment.Line,E-b,0)),re.add(new go.PathSegment(go.PathSegment.Bezier,E,b,E-y,0,E,y)),re.add(new go.PathSegment(go.PathSegment.Line,E,z-b)),re.add(new go.PathSegment(go.PathSegment.Bezier,E-b,z,E,z-y,E-y,z)),re.add(new go.PathSegment(go.PathSegment.Line,E*.7,z)),re.add(new go.PathSegment(go.PathSegment.Line,E*.7,a)),re.add(new go.PathSegment(go.PathSegment.Line,E*.55,z)),re.add(new go.PathSegment(go.PathSegment.Line,b,z)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,z-b,y,z,0,z-y)),re.add(new go.PathSegment(go.PathSegment.Line,0,b)),re.add(new go.PathSegment(go.PathSegment.Bezier,b,0,0,y,y,0).close()),y>1?(ne.spot1=new go.Spot(0,0,y,y),ne.spot2=new go.Spot(1,.8,-y,-y)):(ne.spot1=go.Spot.TopLeft,ne.spot2=new go.Spot(1,.8)),ne}),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 ne=new go.PathFigure(E*.28,a*.37,!0);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E*.45,a*.37)),ne.add(new go.PathSegment(go.PathSegment.Line,E*.45,a*.41)),ne.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*Fe,ne=new go.PathFigure(E*.62,a*.475,!0);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E,a-y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,E-y,a,E,a-z,E-z,a)),ne.add(new go.PathSegment(go.PathSegment.Line,y,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,a-y,z,a,0,a-z)),ne.add(new go.PathSegment(go.PathSegment.Line,E*.38,a*.475)),ne.add(new go.PathSegment(go.PathSegment.Line,E*.38,a*.03)),ne.add(new go.PathSegment(go.PathSegment.Line,E*.36,a*0)),ne.add(new go.PathSegment(go.PathSegment.Line,E*.64,a*0)),ne.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 ne=new go.PathFigure(E*.4,a*0,!0);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E*.4,a*.44)),ne.add(new go.PathSegment(go.PathSegment.Line,E*.26,a*.44)),ne.add(new go.PathSegment(go.PathSegment.Line,E*.5,a*.66)),ne.add(new go.PathSegment(go.PathSegment.Line,E*(1-.26),a*.44)),ne.add(new go.PathSegment(go.PathSegment.Line,E*.6,a*.44)),ne.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 ne=new go.PathFigure(E*.5,a*0,!0);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E*.26,a*.25)),ne.add(new go.PathSegment(go.PathSegment.Line,E*.4,a*.25)),ne.add(new go.PathSegment(go.PathSegment.Line,E*.4,a*.63)),ne.add(new go.PathSegment(go.PathSegment.Line,E*.6,a*.63)),ne.add(new go.PathSegment(go.PathSegment.Line,E*.6,a*.25)),ne.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")},43001:function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;(function(){if(typeof window.GGBApplet=="function"){console.warn("deployggb.js was loaded twice");return}var isRenderGGBElementEnabled=!1,scriptLoadStarted=!1,html5AppletsToProcess=null,ggbHTML5LoadedCodebaseIsWebSimple=!1,ggbHTML5LoadedCodebaseVersion=null,ggbHTML5LoadedScript=null,GGBApplet=function(){"use strict";for(var dt={},xt="5.0",oe={},x=null,he=!1,Be=!1,Ne=null,Ae=!1,Ze=null,Fe=null,$e=0;$e<arguments.length;$e++){var Ge=arguments[$e];if(Ge!==null)switch(typeof Ge){case"number":xt=Ge.toFixed(1);break;case"string":Ge.match(new RegExp("^[0-9]\\.[0-9]+$"))?xt=Ge:Ne=Ge;break;case"object":typeof Ge.is3D!="undefined"?x=Ge:oe=Ge;break;case"boolean":he=Ge,Be=!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},oe.material_id!==void 0&&!Be&&(he=!0)),Ne!==null&&oe.id===void 0&&(oe.id=Ne);var Le="",Te="",We=!1,Qe=null,ie=null,E=null,a=!1,b=null,y=null,z=null,ne=null,re=null;oe.height!==void 0&&(oe.height=Math.round(oe.height)),oe.width!==void 0&&(oe.width=Math.round(oe.width));var le=function(Ke){return parseFloat(Ke)>4?parseFloat(Ke):5};dt.setHTML5Codebase=function(Ke,ze){Fe=Ke,jt(Ke,ze)},dt.setJavaCodebase=dt.setJavaCodebaseVersion=dt.isCompiledInstalled=dt.setPreCompiledScriptPath=dt.setPreCompiledResourcePath=function(){},dt.setHTML5CodebaseVersion=function(Ke,ze){var Bt=parseFloat(Ke);if(Bt!==NaN&&Bt<5){console.log("The GeoGebra HTML5 codebase version "+Bt+" is deprecated. Using version latest instead.");return}Ze=Ke,Wt(Ke,ze)},dt.getHTML5CodebaseVersion=function(){return ie},dt.getParameters=function(){return oe},dt.setFontsCSSURL=function(Ke){ne=Ke},dt.setGiacJSURL=function(Ke){},dt.setJNLPFile=function(Ke){Le=Ke},dt.setJNLPBaseDir=function(Ke){},dt.inject=function(){function Ke(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var ze="auto",Bt=oe.id,Gt,ht=!1,_t=0;_t<arguments.length;_t++){var be=arguments[_t];typeof be=="string"?(be=be.toLowerCase(),be.match(/^(prefer)?(java|html5|compiled|auto|screenshot)$/)?ze=be:Bt=arguments[_t]):typeof be=="boolean"?ht=be:be instanceof HTMLElement&&(Gt=be)}Et();function Et(){if(!Ae){setTimeout(Et,200);return}ze=Tt(ze);var tn=Gt||document.getElementById(Bt);if(!tn){console.log("possibly bug on ajax loading? ");return}if(dt.removeExistingApplet(tn,!1),oe.width===void 0&&tn.clientWidth&&(oe.width=tn.clientWidth),oe.height===void 0&&tn.clientHeight&&(oe.height=tn.clientHeight),!(oe.width&&oe.height)&&ze==="html5"&&(delete oe.width,delete oe.height),Qe=ze,ze==="screenshot")et(tn,oe);else{var pt=!1;oe.hasOwnProperty("playButton")&&oe.playButton||oe.hasOwnProperty("clickToLoad")&&oe.clickToLoad?pt=!0:oe.hasOwnProperty("playButtonAutoDecide")&&oe.playButtonAutoDecide&&(pt=(!ge()||Ke())&&fe()),pt?(Qe="screenshot",xe(tn,oe,ht,ze)):Ce(tn,oe,ht)}}};function ge(){try{return window.self!==window.top}catch(Ke){return!0}}function fe(){return oe.hasOwnProperty("screenshotGenerator")&&oe.screenshotGenerator?!1:Math.max(screen.width,screen.height)<800}dt.getViews=function(){return x},dt.isJavaInstalled=function(){return!1};var Pe=function(Ke){var ze=function(_t){var be=JSON.parse(_t),Et=function(at){return at.type=="G"||at.type=="E"},tn=be.elements?be.elements.filter(Et)[0]:be;if(!tn||!tn.url){Bt();return}oe.fileName=tn.url,Ve(tn.settings||{}),x.is3D=!0;var pt="https://www.geogebra.org/images/";dt.setPreviewImage(b||tn.previewUrl,pt+"GeoGebra_loading.png",pt+"applet_play.png"),Ke()},Bt=function(){oe.onError&&oe.onError(),It("Error: Fetching material (id "+oe.material_id+") failed.",oe)},Gt=location.host.match(/(www|stage|beta|groot|alpha).geogebra.(org|net)/)?location.host:"www.geogebra.org",ht="/materials/"+oe.material_id+"?scope=basic";Me("https://"+Gt+"/api/proxy.php?path="+encodeURIComponent(ht),ze,Bt)};function Ve(Ke){var ze=["width","height","showToolBar","showMenuBar","showAlgebraInput","allowStyleBar","showResetIcon","enableLabelDrags","enableShiftDragZoom","enableRightClick","appName"];["enableLabelDrags","enableShiftDragZoom","enableRightClick"].forEach(function(Bt){Ke[Bt]=!!Ke[Bt]}),ze.forEach(function(Bt){oe[Bt]===void 0&&Ke[Bt]!==void 0&&(oe[Bt]=Ke[Bt])}),oe.showToolBarHelp===void 0&&(oe.showToolBarHelp=oe.showToolBar)}function Me(Ke,ze,Bt){var Gt=new XMLHttpRequest;Gt.open("GET",Ke),Gt.onload=function(){ze(Gt.responseText)},Gt.onerror=Bt,Gt.send()}dt.isHTML5Installed=function(){return!0},dt.getLoadedAppletType=function(){return Qe},dt.setPreviewImage=function(Ke,ze,Bt){b=Ke,y=ze,z=Bt},dt.removeExistingApplet=function(Ke,ze){var Bt;typeof Ke=="string"&&(Ke=document.getElementById(Ke)),Qe=null;var Gt=null;for(Bt=0;Bt<Ke.childNodes.length;Bt++){var ht=Ke.childNodes[Bt],_t=ht.className;_t==="applet_screenshot"?ze?(ht.style.display="block",Qe="screenshot"):ht.style.display="none":_t!=="applet_scaler prerender"&&(Ke.removeChild(ht),Gt=_t&&_t.indexOf("appletParameters")!=-1?ht.id:null,Bt--)}var be=oe.id!==void 0?oe.id:Gt,Et=window[be];Et&&typeof Et.getBase64=="function"&&(Et.remove(),window[be]=null)},dt.refreshHitPoints=function(){if(le(ggbHTML5LoadedCodebaseVersion)>=5)return!0;var Ke=dt.getAppletObject();return Ke&&typeof Ke.recalculateEnvironments=="function"?(Ke.recalculateEnvironments(),!0):!1},dt.startAnimation=function(){var Ke=dt.getAppletObject();return Ke&&typeof Ke.startAnimation=="function"?(Ke.startAnimation(),!0):!1},dt.stopAnimation=function(){var Ke=dt.getAppletObject();return Ke&&typeof Ke.stopAnimation=="function"?(Ke.stopAnimation(),!0):!1},dt.getAppletObject=function(){var Ke=oe.id!==void 0?oe.id:"ggbApplet";return window[Ke]},dt.resize=function(){};var vt=function(Ke,ze,Bt){var Gt=document.createElement("param");Gt.setAttribute("name",ze),Gt.setAttribute("value",Bt),Ke.appendChild(Gt)},Ie=function(Ke){return Ke&&Ke!=="false"},Ce=function(Ke,ze,Bt){le(ie)<=4.2&&(Bt=!0);var Gt=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==ie||ggbHTML5LoadedCodebaseIsWebSimple&&!a)&&(Gt=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var ht=document.createElement("div");ht.classList.add("appletParameters","notranslate");var _t=ze.width,be=ze.height;if(ze.disableAutoScale=ze.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():ze.disableAutoScale,ze.width!==void 0)if(le(ie)<=4.4)Ie(ze.showToolBar)&&(ze.height-=7),Ie(ze.showAlgebraInput)&&(ze.height-=37),ze.width<605&&Ie(ze.showToolBar)&&(ze.width=605,_t=605);else{var Et=100;(Ie(ze.showToolBar)||Ie(ze.showMenuBar))&&(ze.hasOwnProperty("customToolBar")&&(ze.customToolbar=ze.customToolBar),Et=Ie(ze.showMenuBar)?245:155),_t<Et&&(ze.width=Et,_t=Et)}ht.style.border="none",ht.style.display="inline-block";for(var tn in ze)ze.hasOwnProperty(tn)&&tn!=="appletOnLoad"&&ht.setAttribute("data-param-"+tn,ze[tn]);ne&&ht.setAttribute("data-param-fontscssurl",ne),dt.resize=function(){GGBAppletUtils.responsiveResize(Ke,ze)},window.addEventListener("resize",function(un){dt.resize()});var pt=typeof ze.appletOnLoad=="function"?ze.appletOnLoad:function(){};if(!Bt&&ze.width!==void 0){ze.hasOwnProperty("showSplash")||ht.setAttribute("data-param-showSplash","false");var at=Ke.querySelector(".applet_scaler.prerender"),sn=at!==null;if(sn)var mt=at.querySelector(".ggb_preview");else{var mt=yt(_t,be,ze.borderColor,!1);at=document.createElement("div"),at.className="applet_scaler",at.style.position="relative",at.style.display="block",at.style.width=_t+"px",at.style.height=be+"px"}window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(at,"66%"),le(ie)>=5?(ze.appletOnLoad=function(un){var Xn=Ke.querySelector(".ggb_preview");Xn&&Xn.parentNode.removeChild(Xn),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(at),window.GGBT_wsf_view&&$(window).trigger("resize"),pt(un)},sn||at.appendChild(mt)):ht.appendChild(mt),at.appendChild(ht),sn||Ke.appendChild(at),setTimeout(function(){dt.resize()},1)}else{var Ye=document.createElement("div");Ye.className="applet_scaler",Ye.style.position="relative",Ye.style.display="block",Ye.appendChild(ht),Ke.appendChild(Ye),ze.appletOnLoad=function(un){dt.resize(),pt(un)}}function Mt(un,Xn){Xn&&typeof Xn.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(un,Xn.appletOnLoad):renderGGBElement(un),It("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",Xn)}function Gn(un,Xn){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:un,params:Xn}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(Fa){Mt(Fa.article,Fa.params)}),html5AppletsToProcess=null)},le(ie)<5&&(un.className+=" geogebraweb")):Mt(un,Xn)}if(Gt){scriptLoadStarted=!0;for(var Rn=0;Rn<ht.childNodes.length;Rn++){var Lt=ht.childNodes[Rn].tagName;Lt==="TABLE"&&(ht.removeChild(ht.childNodes[Rn]),Rn--)}if(ggbHTML5LoadedScript!==null){var kn=document.querySelector('script[src="'+ggbHTML5LoadedScript+'"]');kn!=null&&kn.parentNode.removeChild(kn)}var on=document.createElement("script"),Mn=function(){Gn(ht,ze)};on.src=Te+E,ggbHTML5LoadedCodebaseIsWebSimple=a,ggbHTML5LoadedCodebaseVersion=ie,ggbHTML5LoadedScript=on.src,It("GeoGebra HTML5 codebase loaded: '"+Te+"'.",ze),!Fe&&(!Ze||Ze=="5.0")?(a?webSimple.succeeded=webSimple.succeeded||webSimple():web3d.succeeded=web3d.succeeded||web3d(),Mn()):Te.requirejs?__webpack_require__.e(7963).then(function(){var un=[__webpack_require__(87963)];Mn.apply(null,un)}.bind(this)).catch(__webpack_require__.oe):(on.onload=Mn,Ke.appendChild(on))}else Gn(ht,ze);ze.height=be,ze.width=_t},et=function(Ke,ze,Bt){var Gt=yt(ze.width,ze.height,ze.borderColor,Bt),ht=document.createElement("div");ht.style.position="relative",ht.style.display="block",ht.style.width=ze.width+"px",ht.style.height=ze.height+"px",ht.className="applet_screenshot applet_scaler"+(Bt?" applet_screenshot_play":""),ht.appendChild(Gt);var _t=GGBAppletUtils.getScale(ze,Ke,Bt);Bt?(Ke.appendChild(Pt()),window.GGBT_wsf_view||(Ke.style.position="relative")):window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(ht,"66%"),Ke.appendChild(ht),_t!==1&&!isNaN(_t)&&(GGBAppletUtils.scaleElement(ht,_t),ht.style.width=ze.width+"px",ht.style.height=ze.height+"px",ht.parentNode.style.width=ze.width*_t+"px",ht.parentNode.style.height=ze.height*_t+"px"),dt.resize=function(){rt(Ke,Gt,ht,Bt)},window.addEventListener("resize",function(be){dt.resize()}),dt.resize()};function rt(Ke,ze,Bt,Gt){if(Ke.contains(ze)){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(Ke.id!=="fullscreencontent")return;window.GGBT_wsf_view.setCloseBtnPosition(Ke)}var ht=GGBAppletUtils.getScale(oe,Ke,Gt);Bt.parentNode!==null&&(!isNaN(ht)&&ht!==1?(GGBAppletUtils.scaleElement(Bt,ht),Bt.parentNode.style.width=oe.width*ht+"px",Bt.parentNode.style.height=oe.height*ht+"px"):(GGBAppletUtils.scaleElement(Bt,1),Bt.parentNode.style.width=oe.width+"px",Bt.parentNode.style.height=oe.height+"px")),typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&GGBAppletUtils.positionCenter(Ke),typeof window.GGBT_ws_header_footer=="object"&&window.GGBT_ws_header_footer.setWsScrollerHeight()}}dt.onExitFullscreen=function(Ke,ze){ze.appendChild(Ke)};var xe=function(Ke,ze,Bt,Gt){et(Ke,ze,!0);for(var ht=function(){var Et=[];for(be=0;be<Ke.childNodes.length;be++)Et.push(Ke.childNodes[be]);if(window.GGBT_wsf_view){var tn=window.GGBT_wsf_view.renderFullScreen(Ke,ze.id),pt=document.getElementById("fullscreencontainer"),at=jQuery(Ke).find(".fullscreencontent");at.length>0?(tn.remove(),at.attr("id","fullscreencontent").show(),jQuery(pt).append(at),window.dispatchEvent(new Event("resize"))):Ce(tn,ze,!1),window.GGBT_wsf_view.launchFullScreen(pt)}else Qe=Gt,Ce(Ke,ze,!1);if(!window.GGBT_wsf_view)for(be=0;be<Et.length;be++)Ke.removeChild(Et[be])},_t=Ke.getElementsByClassName("ggb_preview_play"),be=0;be<_t.length;be++)_t[be].addEventListener("click",ht,!1),_t[be].addEventListener("ontouchstart",ht,!1);typeof window.ggbAppletPlayerOnload=="function"&&window.ggbAppletPlayerOnload(Ke),fe()&&window.GGBT_wsf_view&&$(".wsf-element-fullscreen-button").remove()},Pt=function(){var Ke=document.createElement("div");if(Ke.className="ggb_preview_play icon-applet-play",!window.GGBT_wsf_view){var ze='.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");}',Bt=document.createElement("style");Bt.styleSheet?Bt.styleSheet.cssText=ze:Bt.appendChild(document.createTextNode(ze)),document.getElementsByTagName("head")[0].appendChild(Bt)}return Ke},yt=function(Ke,ze,Bt,Gt){var ht=document.createElement("div");ht.className="ggb_preview",ht.style.position="absolute",ht.style.zIndex="90",ht.style.width=Ke-2+"px",ht.style.height=ze-2+"px",ht.style.top="0px",ht.style.left="0px",ht.style.overflow="hidden",ht.style.backgroundColor="white";var _t="lightgrey";Bt!==void 0&&(Bt==="none"?_t="transparent":_t=Bt),ht.style.border="1px solid "+_t;var be=document.createElement("img");if(be.style.position="relative",be.style.zIndex="1000",be.style.top="-1px",be.style.left="-1px",b!==null&&be.setAttribute("src",b),be.style.opacity=.7,y!==null){var Et,tn,pt;if(!Gt){Et=document.createElement("img"),Et.style.position="absolute",Et.style.zIndex="1001",Et.style.opacity=1,be.style.opacity=.3,tn=360,tn>Ke/4*3&&(tn=Ke/4*3),pt=tn/5.8,Et.setAttribute("src",y),Et.setAttribute("width",tn),Et.setAttribute("height",pt);var at=(Ke-tn)/2,sn=(ze-pt)/2;Et.style.left=at+"px",Et.style.top=sn+"px",ht.appendChild(Et)}}return ht.appendChild(be),ht},Tt=function(Ke){return Ke=Ke.toLowerCase(),Ke==="html5"||Ke==="screenshot"?Ke:"html5"},nt=["web","webSimple","web3d","tablet","tablet3d","phone"],Wt=function(Ke,ze){if(ie=Ke,ze){jt(ie,!0);return}var Bt=!he;if(Bt){var Gt=le(ie);!isNaN(Gt)&&Gt<4.4&&(Bt=!1)}var ht,_t;window.location.protocol.substr(0,4)==="http"?ht=window.location.protocol:ht="http:";var be=ie.indexOf("//");be>0?_t=ie:be===0?_t=ht+ie:_t="https://www.geogebra.org/apps/5.2.814.0/";for(var Et in nt)if(ie.slice(nt[Et].length*-1)===nt[Et]||ie.slice((nt[Et].length+1)*-1)===nt[Et]+"/"){jt(_t,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&Bt&&!x.is3D&&!x.AV&&!x.SV&&!x.CV&&!x.EV2&&!x.CP&&!x.PC&&!x.DA&&!x.FI&&!x.PV&&!Ie(oe.showToolBar)&&!Ie(oe.showMenuBar)&&!Ie(oe.showAlgebraInput)&&!Ie(oe.enableRightClick)&&(!oe.appName||oe.appName=="classic")?_t+="webSimple/":_t+="web3d/",jt(_t,!1)},jt=function(Ke,ze){if(Ke.requirejs){Te=Ke;return}Ke.slice(-1)!=="/"&&(Ke+="/"),Te=Ke,ze===null&&(ze=Ke.indexOf("http")===-1),We=ze,E="web.nocache.js",a=!1;var Bt=Te.split("/");Bt.length>1&&(!ze&&Bt[Bt.length-2]==="webSimple"?(E="webSimple.nocache.js",a=!0):nt.indexOf(Bt[Bt.length-2])>=0&&(E=Bt[Bt.length-2]+".nocache.js")),Bt=Ke.split("/"),ie=Bt[Bt.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 Gt=parseFloat(ie);Gt!==NaN&&Gt<5&&Ke.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+Gt+" is deprecated. Using version latest instead."),Wt("5.0",ze))},It=function(Ke,ze){window.console&&window.console.log&&(!ze||typeof ze.showLogging=="undefined"||ze.showLogging&&ze.showLogging!=="false")&&console.log(Ke)};oe.material_id!==void 0?Pe(ln):ln();function ln(){var Ke=xt;Ze!==null?Ke=Ze:parseFloat(Ke)<5&&(Ke="5.0"),Wt(Ke,!1),Fe!==null&&jt(Fe,We),Ae=!0}return dt},GGBAppletUtils=function(){"use strict";function dt(){return window.GGBT_wsf_edit!==void 0}function xt(Ae,Ze){Ze!=1?(Ae.style.transformOrigin="0% 0% 0px",Ae.style.webkitTransformOrigin="0% 0% 0px",Ae.style.transform="scale("+Ze+","+Ze+")",Ae.style.webkitTransform="scale("+Ze+","+Ze+")",Ae.style.maxWidth="initial",Ae.querySelector(".ggb_preview")!==null&&(Ae.querySelector(".ggb_preview").style.maxWidth="initial"),Ae.querySelectorAll(".ggb_preview img")[0]!==void 0&&(Ae.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),Ae.querySelectorAll(".ggb_preview img")[1]!==void 0&&(Ae.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(Ae.style.transform="none",Ae.style.webkitTransform="none")}function oe(Ae,Ze,Fe,$e,Ge,Le){var Te=null;if(Le!=null&&Le!="")for(var We=Ae.parentNode;We!=null;)if((" "+We.className+" ").indexOf(" "+Le+" ")>-1){Te=We;break}else We=We.parentNode;var Qe=0,ie=0,E=0,a=0,b=0,y=0,z=0;if(Te)Qe=Te.offsetWidth,ie=Math.max($e?Te.offsetWidth:0,Te.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(Qe=Math.min(window.innerWidth,document.documentElement.clientWidth),ie=Math.min(window.innerHeight,document.documentElement.clientHeight),E=Qe):(Qe=window.innerWidth,ie=window.innerHeight,E=window.innerWidth),Ae){var ne=Ae.getBoundingClientRect();ne.left>0&&ne.left<=Qe&&(Ge===void 0||!Ge)&&(document.dir==="rtl"?(b=Qe-ne.width-ne.left,y=E<=480?10:30):(y=ne.left,b=E<=480?10:30),a=y+b)}if(Ae&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var re=Ae.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(a=40,z=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(a=0,z=40)}}return Ae&&((Fe===void 0||!Fe)&&Ze>0&&Ze+a<Qe?Qe=Ze:Qe-=a,typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(Fe===void 0||!Fe)&&(ie-=z)),{width:Qe,height:ie}}function x(Ae,Ze,Fe,$e,Ge){if(Ae.isScreenshoGenerator)return 1;var Le=$e!==void 0&&$e,Te=Ae.noScaleMargin!=null&&Ae.noScaleMargin,We=function(re){return re&&re!=="false"},Qe=We(Ae.autoHeight),ie=oe(Ze,Ae.width,Fe,Qe,Le&&window.GGBT_wsf_view||Te,Ge),E=parseInt(ie.width),a=Ae.width,b=Ae.height;if(a===void 0){var y=Ze.querySelector(".appletParameters");y&&(a=y.offsetWidth,b=y.offsetHeight)}var z=E/a,ne=Le?1:ie.height/b;return Fe!==void 0&&!Fe&&(z=Math.min(1,z),ne=Math.min(1,ne)),Math.min(z,ne)}function he(Ae,Ze,Fe){var $e=1,Ge,Le=!1;if(Ae.hasOwnProperty("allowUpscale")&&(Le=Ae.allowUpscale),Ae.hasOwnProperty("scale")&&($e=parseFloat(Ae.scale),(isNaN($e)||$e===null||$e===0)&&($e=1),$e>1&&(Le=!0)),Ze&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(Le=!0),!(Ae.hasOwnProperty("disableAutoScale")&&Ae.disableAutoScale))Ge=x(Ae,Ze,Le,Fe,Ae.scaleContainerClass);else return $e;return Le&&(!Ae.hasOwnProperty("scale")||$e===1)?Ge:Math.min($e,Ge)}function Be(Ae){var Ze=Math.min(window.innerWidth,document.documentElement.clientWidth),Fe=Math.min(window.innerHeight,document.documentElement.clientHeight),$e=Ae.getBoundingClientRect(),Ge=(Ze-$e.width)/2,Le=(Fe-$e.height)/2;Le<0&&(Le=0),Ae.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(Ge<40?Ae.style.left="40px":Ae.style.left=Ge+"px",Ae.style.top=Le+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(Le<40?Ae.style.top="40px":Ae.style.top=Le+"px",Ae.style.left=Ge+"px")}function Ne(Ae,Ze){var Fe=Ae.querySelector(".appletParameters");if(Fe){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(Ze.id!==Fe.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(Ae)}if(Fe.parentElement&&/fullscreen/.test(Fe.parentElement.className))return;var $e=he(Ze,Ae);dt()&&Fe.setAttribute("data-param-scale",$e);for(var Ge=null,Le=0;Le<Ae.childNodes.length;Le++)if(Ae.childNodes[Le].className!==void 0&&Ae.childNodes[Le].className.match(/^applet_scaler/)){Ge=Ae.childNodes[Le];break}if(Ge!==null&&Ge.querySelector(".noscale")!==null)return;var Te=Ze.id!==void 0?Ze.id:"ggbApplet",We=window[Te];(We==null||!We.recalculateEnvironments)&&Ge!==null&&!Ge.className.match(/fullscreen/)&&(Ge.parentNode.style.transform="",!isNaN($e)&&$e!==1?(Ge.parentNode.style.width=Ze.width*$e+"px",Ge.parentNode.style.height=Ze.height*$e+"px",xt(Ge,$e)):(xt(Ge,1),Ge.parentNode.style.width=Ze.width+"px",Ge.parentNode.style.height=Ze.height+"px")),typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&Be(Ae),window.GGBT_wsf_view&&!window.GGBT_wsf_view.isFullscreen()&&window.GGBT_wsf_general.adjustContentToResize($(Fe).parents(".content-added-content"))}}return{responsiveResize:Ne,isFlexibleWorksheetEditor:dt,positionCenter:Be,getScale:he,scaleElement:xt}}();__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 dt=n.location.search;return dt.indexOf(J)!=-1||dt.indexOf(K)!=-1}function q(dt,xt){}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(dt){var xt=s[L].bindings;s[L].bindings=function(){for(var oe=xt?xt():{},x=dt[webModule.__softPermutationId],he=O;he<x.length;he++){var Be=x[he];oe[Be[O]]=Be[P]}return oe}};var t;function u(){return v(),t}function v(){if(!t){var dt=o.createElement(Q);if(dt.id=L,dt.style.cssText=R+S,dt.tabIndex=-1,o.body.appendChild(dt),t=dt.contentWindow.document,navigator.userAgent.indexOf(T)==-1){t.open();var xt=document.compatMode==U?V:W;t.write(xt+X),t.close()}}}function w(dt){function xt(x){function he(){return typeof o.readyState==Y?typeof o.body!=Y&&o.body!=null:/loaded|complete/.test(o.readyState)}var Be=he();if(Be){x();return}function Ne(){if(!Be){if(!he())return;Be=!0,x(),o.removeEventListener&&o.removeEventListener(Z,Ne,!1),Ae&&clearInterval(Ae)}}o.addEventListener&&o.addEventListener(Z,Ne,!1);var Ae=setInterval(function(){Ne()},$)}function oe(x){var he=u(),Be=he.body,Ne=he.createElement(_);Ne.language=ab,Ne.crossOrigin=W,Ne.src=x,webModule.__errFn&&(Ne.onerror=function(){webModule.__errFn(L,new Error(bb+x))}),Be.appendChild(Ne)}xt(function(){oe(dt)})}webModule.__startLoadingFragment=function(dt){return C(dt)},webModule.__installRunAsyncCode=function(dt){var xt=u(),oe=xt.body,x=xt.createElement(_);x.language=ab,x.text=dt,oe.appendChild(x),oe.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(dt){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(dt){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(dt){var xt=c[dt];return xt==null?null:xt},r=d,webModule.__errFn=e}function B(){function dt(Ae){var Ze=Ae.lastIndexOf(rb);Ze==-1&&(Ze=Ae.length);var Fe=Ae.indexOf(sb);Fe==-1&&(Fe=Ae.length);var $e=Ae.lastIndexOf(tb,Math.min(Fe,Ze));return $e>=O?Ae.substring(O,$e+P):W}function xt(Ae){if(!Ae.match(/^\w+:\/\//)){var Ze=o.createElement(ub);Ze.src=Ae+vb,Ae=dt(Ze.src)}return Ae}function oe(){var Ae=__gwt_getMetaProperty(wb);return Ae!=null?Ae:W}function x(){for(var Ae=o.getElementsByTagName(_),Ze=O;Ze<Ae.length;++Ze)if(Ae[Ze].src.indexOf(xb)!=-1)return dt(Ae[Ze].src);return W}function he(){var Ae=o.getElementsByTagName(yb);return Ae.length>O?Ae[Ae.length-P].href:W}function Be(){var Ae=o.location;return Ae.href==Ae.protocol+zb+Ae.host+Ae.pathname+Ae.search+Ae.hash}var Ne=oe();return Ne==W&&(Ne=x()),Ne==W&&(Ne=he()),Ne==W&&Be()&&(Ne=dt(o.location.href)),Ne=xt(Ne),Ne}function C(dt){return dt.match(/^\//)||dt.match(/^[a-zA-Z]+:\/\//)?dt:webModule.__moduleBase+dt}function D(){var dt=[],xt=O,oe=[],x=[];function he(Ae){var Ze=x[Ae](),Fe=oe[Ae];if(Ze in Fe)return Ze;var $e=[];for(var Ge in Fe)$e[Fe[Ge]]=Ge;throw r&&r(Ae,$e,Ze),null}if(__gwt_isKnownPropertyValue=function(Ae,Ze){return Ze in oe[Ae]},webModule.__getPropMap=function(){var Ae={};for(var Ze in oe)oe.hasOwnProperty(Ze)&&(Ae[Ze]=he(Ze));return Ae},webModule.__computePropValue=he,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var Be;try{Be=Cb;var Ne=Be.indexOf(Db);Ne!=-1&&(xt=parseInt(Be.substring(Ne+P),$),Be=Be.substring(O,Ne))}catch(Ae){}return webModule.__softPermutationId=xt,C(Be+Eb)}function F(){n.__gwt_stylesLoaded||(n.__gwt_stylesLoaded={})}A(),webModule.__moduleBase=window.ENV==="build"?"/react/build/js/mathematicalGraphics/"+name+"/":"/js/mathematicalGraphics/"+name+"/",s[L].moduleBase=webModule.__moduleBase;var G=D();return F(),w(G),!0}return webModule},typeof window.web3d!="function"&&(window.web3d=GGBAppletUtils.makeModule("web3d","A18F540516513B1292CA7CEF2F6AFC7E")),typeof window.webSimple!="function"&&(window.webSimple=GGBAppletUtils.makeModule("webSimple","96B09BF1B436BF53F0DF54116700F16A")),window.GGBApplet=GGBApplet})()},46699:function(dt,xt,oe){"use strict";oe.d(xt,{Ax:function(){return Ne},Ds:function(){return Ae},KI:function(){return Fe},SI:function(){return Be},f1:function(){return he}});var x=oe(346);function he($e){let Ge=!0;if($e.length>0){for(let Le=0;Le<$e.length;Le++)if($e[Le].compile_success==0||!$e[Le].compile_success){Ge=!1;break}}else Ge=!1;return Ge}function Be($e,Ge=""){let Le=[];for(let Te=0;Te<$e.length;Te++){let We=$e[Te],Qe=Ge?`${Ge}/${We.name}`:`${We.name}`;Le.push({title:We.name,type:We.type,isLeaf:We.type!=="tree",key:Qe})}return Le}function Ne($e,Ge,Le){for(let Te=0;Te<$e.length;Te++){let We=$e[Te];if(We.key===Ge){We.children=Le;break}We.children&&Ne(We.children,Ge,Le)}return $e}function Ae($e,Ge,Le){let Te;return function(){let We=this,Qe=arguments,ie=function(){Te=null,Le||$e.apply(We,Qe)},E=Le&&!Te;clearTimeout(Te),Te=setTimeout(ie,Ge),E&&$e.apply(We,Qe)}}const Ze=!0,Fe=x.Z.API_SERVER},84842:function(dt,xt,oe){"use strict";oe.d(xt,{Z:function(){return ie}});var x=oe(3113),he=oe(59301),Be=Object.defineProperty,Ne=Object.defineProperties,Ae=Object.getOwnPropertyDescriptors,Ze=Object.getOwnPropertySymbols,Fe=Object.prototype.hasOwnProperty,$e=Object.prototype.propertyIsEnumerable,Ge=(E,a,b)=>a in E?Be(E,a,{enumerable:!0,configurable:!0,writable:!0,value:b}):E[a]=b,Le=(E,a)=>{for(var b in a||(a={}))Fe.call(a,b)&&Ge(E,b,a[b]);if(Ze)for(var b of Ze(a))$e.call(a,b)&&Ge(E,b,a[b]);return E},Te=(E,a)=>Ne(E,Ae(a)),We=(E,a)=>{var b={};for(var y in E)Fe.call(E,y)&&a.indexOf(y)<0&&(b[y]=E[y]);if(E!=null&&Ze)for(var y of Ze(E))a.indexOf(y)<0&&$e.call(E,y)&&(b[y]=E[y]);return b},Qe=(E,a,b)=>new Promise((y,z)=>{var ne=ge=>{try{le(b.next(ge))}catch(fe){z(fe)}},re=ge=>{try{le(b.throw(ge))}catch(fe){z(fe)}},le=ge=>ge.done?y(ge.value):Promise.resolve(ge.value).then(ne,re);le((b=b.apply(E,a)).next())});const ie=E=>{var a=E,{children:b}=a,y=We(a,["children"]);const[z,ne]=(0,he.useState)(!1);return he.createElement(x.ZP,Te(Le({},y),{loading:z,onClick:re=>Qe(void 0,null,function*(){try{ne(!0),yield y.onClick(re),ne(!1)}catch(le){console.error(le),ne(!1)}})}),b)}},85788:function(dt,xt,oe){"use strict";var x=oe(86204),he=oe.n(x),Be=Object.defineProperty,Ne=($e,Ge,Le)=>Ge in $e?Be($e,Ge,{enumerable:!0,configurable:!0,writable:!0,value:Le}):$e[Ge]=Le,Ae=($e,Ge,Le)=>Ne($e,typeof Ge!="symbol"?Ge+"":Ge,Le),Ze=($e,Ge,Le)=>new Promise((Te,We)=>{var Qe=a=>{try{E(Le.next(a))}catch(b){We(b)}},ie=a=>{try{E(Le.throw(a))}catch(b){We(b)}},E=a=>a.done?Te(a.value):Promise.resolve(a.value).then(Qe,ie);E((Le=Le.apply($e,Ge)).next())});class Fe extends x.EventEmitter{constructor(Ge,Le){super(),Ae(this,"url"),Ae(this,"body"),Ae(this,"fullContent",""),Ae(this,"controller",null),Ae(this,"buffer",""),this.url=Ge,this.body=Le}startStream(){return Ze(this,null,function*(){this.controller=new AbortController;const{signal:Ge}=this.controller;try{const Le=yield fetch(this.url,{method:"POST",headers:{"Content-Type":"application/json; charset=utf-8"},credentials:"include",body:JSON.stringify(this.body),signal:Ge});if(!Le.ok)throw new Error(`\u8BF7\u6C42\u5931\u8D25: ${Le.status}`);const Te=Le.headers.get("content-type");if(!Te)throw new Error("\u54CD\u5E94\u5934\u7F3A\u5C11 content-type");if(Te.includes("application/json")){const ie=yield Le.json();this.emit("error",ie);return}if(!Te.includes("text/event-stream"))throw new Error("\u54CD\u5E94\u6570\u636E\u683C\u5F0F\u9519\u8BEF");const We=Le.body.getReader(),Qe=new TextDecoder("utf-8");for(;;){const{done:ie,value:E}=yield We.read();if(ie)break;const a=Qe.decode(E,{stream:!0});this.buffer+=a;const b=this.buffer.split(`
`);this.buffer=b.pop()||"";for(const y of b)if(y.startsWith("data:")){const z=y.slice(5).trim();if(z==="[DONE]")break;try{const ne=JSON.parse(z);ne.data&&this.handleData(ne.data)}catch(ne){this.buffer=y+`
`+this.buffer,console.error("\u89E3\u6790 JSON \u5931\u8D25:",ne)}}}this.emit("done",this.fullContent)}catch(Le){Le.name==="AbortError"?this.emit("cancelled",this.fullContent):this.emit("error",Le.message)}})}handleData(Ge){Ge.content&&(this.fullContent+=Ge.content,this.emit("data",{chunk:Ge,full:this.fullContent}))}cancelRequest(){var Ge;(Ge=this.controller)==null||Ge.abort()}}xt.Z=Fe},75819:function(dt,xt,oe){"use strict";oe.d(xt,{Z:function(){return nt}});var x=oe(59301),he=oe(74439),Be=oe(77596),Ne=oe(3310),Ae=oe(14179),Ze=oe(56102),Fe={answer:"answer___UngkO",imgWrap:"imgWrap___ORTRf",codeCopy:"codeCopy___re8vm",runCode:"runCode___MYs9m"},$e=oe(8591),Ge=oe(11611),Le=oe(13058),Te=oe(30084),We=oe(10787),Qe=oe(8944),ie=oe(43428),E=oe(95237),a=oe(43604),b={smartWrp:"smartWrp___NjRcB"},y=oe(75975),z=oe(9148),ne=oe(84842),re=oe(59301),le=(Wt,jt,It)=>new Promise((ln,Ke)=>{var ze=ht=>{try{Gt(It.next(ht))}catch(_t){Ke(_t)}},Bt=ht=>{try{Gt(It.throw(ht))}catch(_t){Ke(_t)}},Gt=ht=>ht.done?ln(ht.value):Promise.resolve(ht.value).then(ze,Bt);Gt((It=It.apply(Wt,jt)).next())});const ge=`<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>\u5FEB\u901F\u6392\u5E8F\u6F14\u793A</title>
<style>
body {
font-family: Arial, sans-serif;
text-align: center;
margin: 20px;
}
.array-container {
display: flex;
justify-content: center;
align-items: flex-end;
height: 300px;
margin-top: 20px;
}
.bar {
width: 30px;
margin: 0 2px;
background-color: #4caf50;
color: white;
display: flex;
justify-content: center;
align-items: center;
border-radius: 5px;
transition: all 0.3s ease;
}
.bar.sorted {
background-color: #ff9800;
}
.bar.pivot {
background-color: #f44336;
}
</style>
</head>
<body>
<h1>\u5FEB\u901F\u6392\u5E8F\u7B97\u6CD5\u6F14\u793A</h1>
<button id="start-sort">\u5F00\u59CB\u6392\u5E8F</button>
<div class="array-container" id="array-container"></div>
<script>
const array = [34, 7, 23, 32, 5, 62]; // \u56FA\u5B9A\u6570\u7EC4
let bars = [];
// \u521D\u59CB\u5316\u6570\u7EC4\u663E\u793A
function initArrayDisplay() {
const container = document.getElementById('array-container');
container.innerHTML = '';
bars = array.map(value => {
const bar = document.createElement('div');
bar.className = 'bar';
bar.style.height = \`\${value * 5}px\`;
bar.textContent = value;
container.appendChild(bar);
return bar;
});
}
// \u9AD8\u4EAE\u67D0\u4E2A\u8303\u56F4\u5185\u7684\u67F1\u5B50
function highlightBars(indices, className) {
indices.forEach(index => bars[index].classList.add(className));
}
// \u79FB\u9664\u9AD8\u4EAE
function removeHighlightBars(indices, className) {
indices.forEach(index => bars[index].classList.remove(className));
}
// \u5FEB\u901F\u6392\u5E8F\u4E3B\u51FD\u6570
async function quickSort(arr, left = 0, right = arr.length - 1) {
if (left >= right) return;
const pivotIndex = await partition(arr, left, right);
await quickSort(arr, left, pivotIndex - 1);
await quickSort(arr, pivotIndex + 1, right);
}
// \u5206\u533A\u51FD\u6570
async function partition(arr, left, right) {
const pivot = arr[right];
let i = left - 1;
highlightBars([right], 'pivot'); // \u9AD8\u4EAE\u57FA\u51C6\u503C
for (let j = left; j < right; j++) {
highlightBars([j], 'sorted'); // \u9AD8\u4EAE\u5F53\u524D\u6BD4\u8F83\u5143\u7D20
await sleep(500);
if (arr[j] <= pivot) {
i++;
[arr[i], arr[j]] = [arr[j], arr[i]];
// \u66F4\u65B0\u67F1\u5B50\u9AD8\u5EA6
bars[i].style.height = \`\${arr[i] * 5}px\`;
bars[i].textContent = arr[i];
bars[j].style.height = \`\${arr[j] * 5}px\`;
bars[j].textContent = arr[j];
await sleep(500);
}
removeHighlightBars([j], 'sorted'); // \u79FB\u9664\u9AD8\u4EAE
}
// \u5C06\u57FA\u51C6\u503C\u653E\u5230\u6B63\u786E\u4F4D\u7F6E
[arr[i + 1], arr[right]] = [arr[right], arr[i + 1]];
bars[i + 1].style.height = \`\${arr[i + 1] * 5}px\`;
bars[i + 1].textContent = arr[i + 1];
bars[right].style.height = \`\${arr[right] * 5}px\`;
bars[right].textContent = arr[right];
removeHighlightBars([right], 'pivot'); // \u79FB\u9664\u57FA\u51C6\u503C\u9AD8\u4EAE
highlightBars([i + 1], 'sorted'); // \u9AD8\u4EAE\u6700\u7EC8\u4F4D\u7F6E
await sleep(500);
removeHighlightBars([i + 1], 'sorted');
return i + 1;
}
// \u5EF6\u8FDF\u51FD\u6570
function sleep(ms) {
return new Promise(resolve => setTimeout(resolve, ms));
}
// \u5F00\u59CB\u6392\u5E8F\u6309\u94AE\u70B9\u51FB\u4E8B\u4EF6
document.getElementById('start-sort').addEventListener('click', () => {
quickSort(array);
});
// \u521D\u59CB\u5316\u9875\u9762
initArrayDisplay();
<\/script>
</body>
</html>`;function fe({open:Wt=!0,onChange:jt,defaultValue:It,placement:ln,width:Ke,height:ze,extra:Bt,onDynamic:Gt,showExtra:ht=!0}){const _t=(0,x.useRef)(null),be=(0,x.useRef)(null),[Et,tn]=(0,x.useState)(It||""),[pt,at]=(0,x.useState)(It||""),[sn,mt]=(0,x.useState)(!!Wt),[Ye,Mt]=(0,x.useState)(1),Gn={selectOnLineNumbers:!0};(0,x.useEffect)(()=>{Wt&&(tn(It),at(It),mt(!0))},[Wt,It]),(0,x.useEffect)(()=>{Et!==""&&(clearTimeout(be.current),be.current=setTimeout(()=>{const Lt=document.createElement("iframe");if(Lt.style.width="100%",Lt.style.height="100%",Lt.style.border="0",_t.current){_t.current.innerHTML="",_t.current.appendChild(Lt);const kn=Lt.contentDocument||Lt.contentWindow.document;kn.open(),kn.write(Et),kn.close()}},1e3))},[Wt,Et]);const Rn=Lt=>{tn(Lt),jt==null||jt(Lt,pt)};return re.createElement(ie.Z,{title:"\u667A\u80FD\u52A8\u6548",placement:"right",open:sn,width:ht?700:"100%",height:ze||"100vh",rootClassName:b.smartWrp,destroyOnClose:!0,onClose:()=>mt(!1),extra:ht&&re.createElement("div",null,re.createElement(z.tp,{dataSource:[{name:"\u9884\u89C8",id:1},{name:"\u4EE3\u7801",id:2}],value:Ye,onChange:Lt=>Mt(Lt)}),re.createElement(ne.Z,{type:"primary",className:"ml20",onClick:()=>le(this,null,function*(){yield Gt(Et,()=>{mt(!1)})})},"\u4FDD\u5B58\u81F3\u8BFE\u4EF6"))},re.createElement(E.Z,{className:"h100"},re.createElement(a.Z,{flex:"1",style:{background:"#f6f7fb",borderRight:"#e8eaf1 1px solid",display:Ye===1?"block":"none"}},re.createElement("div",{className:"h100",ref:_t})),re.createElement(a.Z,{flex:"1",style:{display:Ye===2?"block":"none"}},re.createElement(y.ZP,{height:"90vh",value:It,language:"html",theme:"vs",showMiniMap:!1,options:Gn,onChange:Rn}))))}var Pe=fe,Ve=Object.defineProperty,Me=Object.defineProperties,vt=Object.getOwnPropertyDescriptors,Ie=Object.getOwnPropertySymbols,Ce=Object.prototype.hasOwnProperty,et=Object.prototype.propertyIsEnumerable,rt=(Wt,jt,It)=>jt in Wt?Ve(Wt,jt,{enumerable:!0,configurable:!0,writable:!0,value:It}):Wt[jt]=It,xe=(Wt,jt)=>{for(var It in jt||(jt={}))Ce.call(jt,It)&&rt(Wt,It,jt[It]);if(Ie)for(var It of Ie(jt))et.call(jt,It)&&rt(Wt,It,jt[It]);return Wt},Pt=(Wt,jt)=>Me(Wt,vt(jt)),yt=(Wt,jt)=>{var It={};for(var ln in Wt)Ce.call(Wt,ln)&&jt.indexOf(ln)<0&&(It[ln]=Wt[ln]);if(Wt!=null&&Ie)for(var ln of Ie(Wt))jt.indexOf(ln)<0&&et.call(Wt,ln)&&(It[ln]=Wt[ln]);return It},nt=({onFinish:Wt,value:jt,streamingStatus:It,cancelIndex:ln,loadImage:Ke,onDynamic:ze})=>{const[Bt,Gt]=(0,x.useState)(""),[ht,_t]=(0,x.useState)({defaultValue:"",open:0,language:"",placement:"right",height:"100vh"}),[be,Et]=(0,x.useState)(0),[tn,pt]=(0,x.useState)(!1),at=Ye=>Ye.replace(/`(\$\$.*?\$\$)`/g,"$1").replace(/\$\$([\s\S]*?)\$\$/g,(Mt,Gn)=>`<mathx data-text="${Gn.trim()}">$$${Gn.trim()}$$</mathx>`).replace(/\\\(([\s\S]*?)\\\)/g,'<mathx data-text="$1">$$$$$1$$$$</mathx>').replace(/\\\[([\s\S]*?)\\\]/g,'<mathx data-text="$1">$$$$$1$$$$</mathx>').replace(/_{2,}/g,"`$&`"),sn=()=>{pt(!0),Wt==null||Wt()};(0,x.useEffect)(()=>{const Ye=Ke?`\u8FD9\u662F\u6839\u636E\u60A8\u7684\u63CF\u8FF0\u751F\u6210\u7684\u56FE\u7247\uFF1A
${jt}`:jt,Mt=at(Ye);if(!tn)if(Ke||!It||ln>0){Gt(Mt),Et(Mt.length),(!It||ln>0)&&!Ke&&sn();return}else if((Mt==null?void 0:Mt.length)<4)Gt(Mt),Et(Mt.length);else if(be<Mt.length){const Gn=Mt.length-be,Rn=setInterval(()=>{Gt(Mt.slice(0,be+2)),Et(Lt=>Lt+2)},Gn>10?Math.max(500/(Gn/2),20):50);return()=>clearInterval(Rn)}else It||sn()},[jt,It,ln,Ke,be]);const mt=(0,x.useMemo)(()=>x.createElement("section",{className:`${Fe.answer} fadeIn animated edu_md`},x.createElement(he.UG,{remarkPlugins:[Te.Z,We.Z],rehypePlugins:[Le.Z,Ne.Z],components:{code(Ye){var Mt=Ye,{node:Gn,inline:Rn,className:Lt,children:kn}=Mt,on=yt(Mt,["node","inline","className","children"]);const Mn=/language-(\w+)/.exec(Lt||""),un=String(kn).trim();return Rn||!Mn?x.createElement("code",xe({className:Lt},on),kn):x.createElement("code",{className:Fe.codeCopy,"data-text":`\`\`\`${Mn?Mn[1]:""}
${kn}
\`\`\``},x.createElement(Ze.CopyToClipboard,{text:un,onCopy:()=>$e.ZP.success({content:"\u590D\u5236\u6210\u529F",key:"copy"})},x.createElement("button",null,"\u590D\u5236")),Mn[1]==="html"&&tn&&x.createElement("button",{className:Fe.runCode,onClick:()=>{_t(xe({},Pt(xe({},ht),{open:++ht.open,defaultValue:un,language:Mn[1]})))}},"\u8FD0\u884CHTML"),x.createElement(Be.Z,xe({wrapLongLines:!0,style:Ae.Z,language:Mn[1],PreTag:"div",showLineNumbers:!0,lineNumberStyle:{minWidth:"40px"}},on),un))},img({node:Ye}){var Mt;const Gn=(Mt=Ye.properties)==null?void 0:Mt.src;return x.createElement(Ge.Z,{src:Gn,width:320,"data-text":Gn,onLoad:()=>Ke&&setTimeout(()=>sn(),500)})}}},tn?Bt:`${Bt}__`)),[Bt]);return x.createElement(x.Fragment,null,x.createElement(Pe,{defaultValue:ht.defaultValue,open:ht.open,language:ht.language,height:ht.height,onChange:(Ye,Mt)=>{Gt(Bt.replaceAll(Mt,Ye))},onDynamic:ze}),mt)}},25395:function(dt,xt,oe){"use strict";var x=oe(59301);const he=({scrollBoxRef:Be,bottomInspectRef:Ne,contentRef:Ae,status:Ze,rootMargin:Fe="70px",bottomOffset:$e=110})=>{const[Ge,Le]=(0,x.useState)(!0),Te=(0,x.useRef)(!1);return(0,x.useEffect)(()=>{if(!Be.current||!Ne.current)return;const We=new IntersectionObserver(([Qe])=>{var ie,E,a,b;if(!document.contains(Qe.target)){console.log("\u76EE\u6807\u5143\u7D20\u5DF2\u4ECE DOM \u79FB\u9664");return}if(((ie=Qe.rootBounds)==null?void 0:ie.width)===0&&((E=Qe.rootBounds)==null?void 0:E.height)===0){console.log("root\uFF08\u6EDA\u52A8\u5BB9\u5668\uFF09\u65E0\u6548\uFF0C\u53EF\u80FD\u5DF2\u88AB\u79FB\u9664");return}if(((a=Qe.boundingClientRect)==null?void 0:a.width)===0&&((b=Qe.boundingClientRect)==null?void 0:b.height)===0){console.log("\u76EE\u6807\u5143\u7D20\u5BBD\u9AD8\u4E3A 0\uFF0C\u53EF\u80FD\u5DF2\u88AB\u79FB\u9664\u6216 display: none");return}Le(Qe.isIntersecting)},{root:Be.current,rootMargin:Fe,threshold:0});return We.observe(Ne.current),()=>{We.disconnect()}},[Be.current,Ne.current,Fe]),(0,x.useEffect)(()=>{if(!Ze)return;const We=Be.current,Qe=Ae.current;Te.current=!1;let ie=We.scrollTop;const E=()=>{const{scrollTop:b,scrollHeight:y,clientHeight:z}=We;b>ie?b+z>=y-$e&&(We.scrollTop=We.scrollHeight,Te.current=!1):b<ie&&(Te.current=!0),ie=b};We.addEventListener("scroll",E);const a=new ResizeObserver(()=>{Te.current||(We.scrollTop=We.scrollHeight)});return a.observe(Qe),()=>{setTimeout(()=>{a.unobserve(Qe)},250),We.removeEventListener("scroll",E)}},[Ze]),Ge};xt.Z=he},35902:function(dt,xt,oe){"use strict";var x=oe(59301);const he=({contentRef:Be,status:Ne})=>((0,x.useEffect)(()=>{!Ne&&(Be!=null&&Be.current)&&Be.current.querySelectorAll("code[data-text], mathx[data-text]").forEach(Fe=>{Fe.tagName.toLowerCase()==="code"?Fe.parentElement&&(Fe.parentElement.contentEditable="false"):Fe.tagName.toLowerCase()==="mathx"&&(Fe.contentEditable="false")})},[Ne]),(Ze=!1)=>{const Fe=Te=>{const We={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'","&nbsp;":" ","&copy;":"\xA9","&reg;":"\xAE","&euro;":"\u20AC"};return Te.replace(/&[^;]+;/g,Qe=>We[Qe]||Qe)};if(!Be.current)return"";const $e=Be.current.cloneNode(!0);$e.querySelectorAll("code[data-text], mathx[data-text]").forEach(Te=>{let We=Te.getAttribute("data-text");Te.tagName.toLowerCase()==="code"?We=We.replace(/```.*\n|\n```/g,""):Te.tagName.toLowerCase()==="mathx"&&(We=`$$${We}$$`);const Qe=document.createTextNode(We);Te.parentNode.replaceChild(Qe,Te)}),Ze&&$e.querySelectorAll('[data-select="disabled"]').forEach(We=>{var Qe;const ie=We.textContent||"",E=document.createTextNode(ie+`
`);(Qe=We.parentNode)==null||Qe.replaceChild(E,We)});let Le=$e.innerHTML;return Ze||(Le=Le.replace(/<[^>]*data-select="disabled"[^>]*>.*?<\/[^>]*>/g,"")),Le=Le.replace(/<p>/g,""),Le=Le.replace(/<\/p>/g,`
`),Le=Le.replace(/<br>/g,`
`),Le=Le.replace(/\r\n/g,`
`),Le=Le.replace(/<[^>]*>/g,""),Le=Fe(Le),Le});xt.Z=he},91239:function(dt,xt,oe){"use strict";oe.d(xt,{Z:function(){return We}});var x=oe(59301),he=oe(43418),Be=oe(95237),Ne=oe(93948),Ae="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGIAAABYCAYAAAAORCLFAAAAAXNSR0IArs4c6QAAIABJREFUeF7lfQecXFXZ/nNumT6zvWeTTSWkEEJooUgRpSMooiLfxycqTcQGIvipAf1UsNFEUAQBQTpSDCgtIQVTSAgJ6ckm2ZJt2dnd6XPL+fuec8/sZAmSbAKBv/P73Z3ZmXvv3Ps+5+1lGD5kD855cHM8P85xtRqmG1a5H5sqQqz1Q3aZ+/xy2D4/4zBOyGfN0lZe9v0Tt/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CEzxpQ99TjXTX4Y/H7XXy14+fUG4NWe/6wAIj7oT/8gu8CXzo1SOjcXPf9yL5Au83IpvsjeLY22AqWpkeFtoatbuTBjArBMo8wF2LhpBK8cyGrrTDgjYeB/+pXt+/4aT14bdZ56taR6fY8/64CI3+5//mZuoXTstwewbvK94DI/IKdE1pctMavJxrzZDurrLGV5DY4E2H+4gF2dY8jmQ139KsVj+Xzx9v1fWtD1+pLy33b2sxqI+K3d+U250Pdz7wiRuMn3/UuDQLpFz1ftgIIw1LXN7G7gk3tYbWT1e2H4yR33tH1NG7Nn9/ZrA0ScjB/8x9zCQijfIWHd5BWDS4t+6KpWC4FAoejl/NB+oFD0/9uWP5914uwmf3l0v5ZAxIn7nr/MdWSRv84vhA1eaO3PZ/Kbnv7cnN5fFwDMOP8vz4/Uk8nae+oAAAAASUVORK5CYII=",$e={dotLoading:"dotLoading___s6Sh4",showHide:"showHide___Dfprh",progress:"progress___QUpqo"},Ge=oe(59301);const Le=["\u6587\u4EF6\u89E3\u6790\u8BFB\u53D6\u4E2D","\u5185\u5BB9\u7406\u89E3\u5206\u6790\u4E2D","\u7ED3\u6784\u5316\u63D0\u53D6\u4E2D"];var We=()=>{const[Qe,ie]=(0,x.useState)(0),[E,a]=(0,x.useState)(!1),[b,y]=(0,x.useState)(!0),z=(0,x.useRef)(null);(0,x.useEffect)(()=>{if(b)return;const Pe=()=>{ie(Ve=>Ve>=99?(clearInterval(z.current),99):Ve+1)};return z.current=setInterval(Pe,5e4/99),()=>clearInterval(z.current)},[b]);const ne=()=>{ie(0),a(!0),y(!1)},re=(Pe=0)=>{y(!0),ie(Pe),a(!1)},le=Pe=>{const Ve=Pe/1048576;let Me;return Ve<=.3?Me=3:Ve<=.5?Me=5:Ve<=1?Me=10:Ve<=2?Me=20:Ve<=3?Me=30:Ve<=10?Me=Ve*10:Me=100,` \u9884\u8BA1\u5904\u7406\u65F6\u957F\u4E3A${Me}\u5206\u949F\uFF0C\u8BF7\u52FF\u5173\u95ED\u7A97\u53E3`},ge=()=>Ge.createElement("span",{className:$e.dotLoading},Ge.createElement("span",null,"."),Ge.createElement("span",null,"."),Ge.createElement("span",null,"."));return{progress:Qe,progressOpen:E,openProgress:ne,closeProgress:re,toggleLock:()=>y(Pe=>!Pe),CreateProgressModal:(Pe=Le,Ve)=>(typeof Pe=="string"&&(Pe=[Pe,Pe,Pe]),Ge.createElement(he.default,{centered:!0,closable:!1,destroyOnClose:!0,zIndex:1200,open:E,title:null,footer:null,width:500,afterClose:()=>ie(0)},Ge.createElement(Be.Z,{align:"middle",className:"mt40 mb20",style:{flexDirection:"column"}},Qe<=30&&Ge.createElement(Ge.Fragment,null,Ge.createElement("img",{src:Ae,alt:"Step 1"}),Ge.createElement("div",{className:"mt20 c-light-primary"},Pe[0],ge())),Qe>30&&Qe<60&&Ge.createElement(Ge.Fragment,null,Ge.createElement("img",{src:Ze,alt:"Step 2"}),Ge.createElement("div",{className:"mt20 c-light-primary"},Pe[1],ge())),Qe>=60&&Ge.createElement(Ge.Fragment,null,Ge.createElement("img",{src:Fe,alt:"Step 3"}),Ge.createElement("div",{className:"mt20 c-light-primary"},Pe[2],ge())),Ge.createElement(Ne.Z,{className:$e.progress,status:"active",style:{width:"auto"},size:[300,8],percent:Qe}),!!Ve&&Ge.createElement("div",{className:"c-grey-999"},le(Ve)))))}}},74368:function(dt,xt,oe){"use strict";oe.d(xt,{Z:function(){return jt}});var x=oe(59301),he=oe(38854),Be=oe(8591),Ne=oe(6848),Ae=oe(92832),Ze=oe(3113),Fe=oe(75819),$e={wrap:"wrap___AasCO",chatContainer:"chatContainer___n6e3E",btnContainer:"btnContainer___yKyVB",btn:"btn___Y_09T",inputContainer:"inputContainer____bM3M",sendBtn:"sendBtn___UHHLj",sendBtnDisabled:"sendBtnDisabled___AoSRc",cancelBtn:"cancelBtn___yql4C",loadingWrp:"loadingWrp___gYLGT","dot-fade":"dot-fade___LruoO"},Le=({position:It,children:ln})=>{const{left:Ke=0,top:ze=0}=It||{},[Bt,Gt]=(0,x.useState)(Ke),[ht,_t]=(0,x.useState)(ze),be=(0,x.useRef)(null),Et=()=>{if(be.current){const tn=be.current.offsetWidth,pt=be.current.offsetHeight,at=window.innerWidth,sn=window.innerHeight;let mt=Ke,Ye=ze;Ke+tn>at&&(mt=at-tn),mt<0&&(mt=0),ze+pt>sn&&(Ye=sn-pt),Ye<0&&(Ye=0),Gt(mt),_t(Ye)}};return(0,x.useEffect)(()=>{if(!be.current||!It)return;const tn=new ResizeObserver(()=>{Et()});return tn.observe(be.current),()=>{tn.disconnect()}},[Ke,ze,It]),(0,x.useEffect)(()=>{It&&Et()},[Ke,ze,It]),It?x.createElement("div",{ref:be,style:{position:"fixed",left:`${Bt}px`,top:`${ht}px`,zIndex:1050}},ln):null},Te=oe(346),We=oe(56102),Qe=oe(85788),ie=Object.defineProperty,E=Object.defineProperties,a=Object.getOwnPropertyDescriptors,b=Object.getOwnPropertySymbols,y=Object.prototype.hasOwnProperty,z=Object.prototype.propertyIsEnumerable,ne=(It,ln,Ke)=>ln in It?ie(It,ln,{enumerable:!0,configurable:!0,writable:!0,value:Ke}):It[ln]=Ke,re=(It,ln)=>{for(var Ke in ln||(ln={}))y.call(ln,Ke)&&ne(It,Ke,ln[Ke]);if(b)for(var Ke of b(ln))z.call(ln,Ke)&&ne(It,Ke,ln[Ke]);return It},le=(It,ln)=>E(It,a(ln)),ge=(It,ln,Ke)=>new Promise((ze,Bt)=>{var Gt=be=>{try{_t(Ke.next(be))}catch(Et){Bt(Et)}},ht=be=>{try{_t(Ke.throw(be))}catch(Et){Bt(Et)}},_t=be=>be.done?ze(be.value):Promise.resolve(be.value).then(Gt,ht);_t((Ke=Ke.apply(It,ln)).next())}),Pe=({visible:It,position:ln,selectText:Ke,applyRefinedText:ze,fetchUrl:Bt,noRestrictModal:Gt})=>{var ht;const[_t,be]=(0,x.useState)(!1),[Et,tn]=(0,x.useState)([]),[pt,at]=(0,x.useState)(""),[sn,mt]=(0,x.useState)(1),[Ye,Mt]=(0,x.useState)(""),[Gn,Rn]=(0,x.useState)(!1),Lt=(0,x.useRef)(null),[kn,on]=(0,x.useState)(!1),[Mn,un]=(0,x.useState)(0),Xn=(0,x.useRef)(!1),Fa=((ht=Et==null?void 0:Et[(Et==null?void 0:Et.length)-1])==null?void 0:ht.loading)===!0;(0,x.useEffect)(()=>{if(It){mt(1);return}on(!1),be(!1),oa(),un(0),tn([]),mt(0)},[It]);const oa=()=>{var Wn,jn;at(""),Mt(""),(jn=(Wn=Lt.current)==null?void 0:Wn.cancelRequest)==null||jn.call(Wn)},Yt=(...Wn)=>ge(void 0,[...Wn],function*(jn="",ya=Et){const fa=Date.now(),Ba=[...ya,{text:jn,key:fa,sender:"user",show:!0},{loading:!0,key:fa,sender:"AI",show:!0}];mt(2),tn(Ba);const Ta=wn(ya),At={no_record_times:!0,prompt:jn,history:Ta};Lt.current=new Qe.Z(Te.Z.API_SERVER+Bt,At),yield new Promise(Pn=>{Lt.current.on("data",En=>{const{chunk:{msg:Ln},full:Ee}=En,Je=Ln==="error";on(!0),Mt(Nt(Ee)),tn(qe=>qe.map((lt,ft)=>ft===qe.length-1?le(re({},lt),{text:Ee,loading:!1,error:Je}):lt))}),Lt.current.on("done",()=>Pn()),Lt.current.on("error",En=>{const Ln="\u62B1\u6B49\uFF0C\u6211\u521A\u521A\u9047\u5230\u4E86\u4E00\u70B9\u95EE\u9898\uFF0C\u6CA1\u80FD\u5B8C\u6210\u60A8\u7684\u8BF7\u6C42\u3002\u8BF7\u60A8\u7A0D\u540E\u518D\u8BD5\u4E00\u6B21\uFF0C\u6216\u8005\u8054\u7CFB\u6280\u672F\u652F\u6301\u5E2E\u5FD9\u89E3\u51B3!";Object.prototype.toString.call(En)==="[object Object]"&&En.status===-9&&(mt(1),Gt(En.data)),tn(Ee=>Ee.map((Je,qe)=>qe===Ee.length-1?le(re({},Je),{text:Ln,loading:!1,error:!0}):Je)),Pn()}),Lt.current.on("cancelled",()=>Pn()),Lt.current.startStream()}),be(!1)}),_n=Wn=>{at(Wn.target.value)},wn=Wn=>Wn.reduce((ya,fa)=>{if(fa.sender==="user"){const Ba=Wn.find(Ta=>Ta.key===fa.key&&Ta.sender==="AI");Ba&&(Ba!=null&&Ba.text)&&!(Ba!=null&&Ba.error)&&ya.push({question:fa.text,answer:Ba.text})}return ya},[]),ia=()=>{if(wa)return;const Wn=fn("\u6539\u5199");oa(),be(!0),Yt(Wn)},na=Wn=>{if(Wn.key==="Enter"&&!Wn.shiftKey){if(Wn.preventDefault(),Xn.current||Jn)return;ia()}},Zn=()=>{var Wn,jn;un(ya=>ya+1),(jn=(Wn=Lt.current)==null?void 0:Wn.cancelRequest)==null||jn.call(Wn),be(!1),on(!1)},Qt=[{key:"1",label:x.createElement("span",null," ",x.createElement("i",{className:"iconfont icon-runse font14 mr10"}),"\u6DA6\u8272 ")},{key:"2",label:x.createElement("span",null,x.createElement("i",{className:"iconfont icon-kuoxie font14 mr10"}),"\u6269\u5199")},{key:"3",label:x.createElement("span",null," ",x.createElement("i",{className:"iconfont icon-suoxie font14 mr10"}),"\u7F29\u5199")}],Nt=(Wn="")=>{const jn=["\u7B54\u6848\uFF1A","\u96BE\u5EA6\uFF1A","\u89E3\u6790\uFF1A","\u77E5\u8BC6\u70B9\uFF1A","\u65F6\u95F4\u9650\u5236\uFF08\u79D2\uFF09","\u7F16\u7A0B\u8BED\u8A00\uFF1A","\u5B66\u5458\u521D\u59CB\u4EE3\u7801\uFF1A","\u7A0B\u5E8F\u4EE3\u7801\uFF1A","\u6D4B\u8BD5\u7528\u4F8B\u8F93\u5165\uFF1A","\u6D4B\u8BD5\u7528\u4F8B\u8F93\u51FA\uFF1A"];return Array.from({length:20}).forEach((ya,fa)=>{jn.push(`\u7B54\u6848${fa+1}\uFF1A`,`\u6D4B\u8BD5\u7528\u4F8B(${fa+1})\u8F93\u5165\uFF1A`,`\u6D4B\u8BD5\u7528\u4F8B(${fa+1})\u8F93\u51FA\uFF1A`)}),jn.forEach(ya=>{const fa=new RegExp(ya,"g");Wn=Wn.replace(fa,`**${ya}** `)}),Wn},fn=Wn=>Wn==="\u6539\u5199"?`${pt}\uFF0C\u6839\u636E\u4E0A\u8FF0\u8981\u6C42\u6539\u5199\u8FD9\u53E5\u8BDD\uFF0C${Ke}\uFF0C\u6839\u636E\u539F\u683C\u5F0F\u8FD4\u56DE\u7ED9\u6211\uFF0C\u4E0D\u8981\u53BB\u6389\u63D0\u793A\u8BED`:`${Ke}\uFF0C${Wn}\u4E0A\u9762\u8FD9\u53E5\u8BDD\uFF0C\u6839\u636E\u539F\u683C\u5F0F\u8FD4\u56DE\u7ED9\u6211\uFF0C\u4E0D\u8981\u53BB\u6389\u63D0\u793A\u8BED`,Dn=Wn=>{let jn="";Wn.key==="1"&&(jn=fn("\u6DA6\u8272")),Wn.key==="2"&&(jn=fn("\u6269\u5199")),Wn.key==="3"&&(jn=fn("\u7F29\u5199")),oa(),be(!0),Yt(jn)},la=()=>{const Wn=Et.splice(Et.length-2),{text:jn}=(Wn==null?void 0:Wn[0])||{};oa(),be(!0),Yt(jn,Et)},Jn=_t||kn,wa=(pt==null?void 0:pt.trim())==="";return It?x.createElement(he.Z,{open:wa&&!Jn&&(Gn||!Ye),overlayStyle:{minWidth:200},menu:{items:Qt,onClick:Dn}},x.createElement(Le,{position:ln},x.createElement("div",{className:$e.wrap},sn===2&&x.createElement(x.Fragment,null,x.createElement("div",{className:$e.chatContainer},Fa&&x.createElement("div",{className:$e.loadingWrp},x.createElement("span",null,"\u6B63\u5728\u751F\u6210\u4E2D"),x.createElement("div",{className:"ai-loading"})),Ye&&x.createElement(Fe.Z,{cancelIndex:Mn,streamingStatus:_t,loadImage:!1,onFinish:()=>ge(void 0,null,function*(){un(0),setTimeout(()=>on(!1),0)}),value:Ye})),x.createElement("div",{className:$e.btnContainer},x.createElement("div",{onClick:()=>ze(!0,Ye),className:$e.btn,style:{padding:"0 16px",width:"initial"}},x.createElement("i",{className:"iconfont icon-tihuan mr10 font14"}),"\u66FF\u6362"),x.createElement("div",{onClick:()=>ze(!1,Ye),className:$e.btn,style:{padding:"0 16px",width:"initial"}},x.createElement("i",{className:"iconfont icon-charu mr10 font14"}),"\u63D2\u5165"),x.createElement(We.CopyToClipboard,{text:Ye,onCopy:()=>Be.ZP.success({content:"\u590D\u5236\u6210\u529F",key:"copy"})},x.createElement(Ne.Z,{title:"\u590D\u5236"},x.createElement("div",{className:$e.btn,style:{marginLeft:"auto"}},x.createElement("i",{className:"iconfont icon-fuzhi8 font14"})))),x.createElement(Ne.Z,{title:"\u91CD\u65B0\u751F\u6210"},x.createElement("div",{onClick:la,className:$e.btn},x.createElement("i",{className:"iciconfontonfot icon-gengxin-genghuan-tihuan font17"}))),x.createElement(Ne.Z,{title:"\u5220\u9664"},x.createElement("div",{onClick:()=>{mt(1),oa(),tn([])},className:$e.btn},x.createElement("i",{className:"iconfont icon-shanchu14 font14"}))))),x.createElement("div",{className:$e.inputContainer},x.createElement(Ae.default.TextArea,{placeholder:"\u5728\u8FD9\u91CC\u8F93\u5165\u4F60\u7684\u6587\u672C\u4F18\u5316\u5EFA\u8BAE",value:pt,bordered:!1,onFocus:()=>Rn(!0),onBlur:()=>setTimeout(()=>Rn(!1),300),onChange:_n,onPressEnter:na,onCompositionStart:()=>Xn.current=!0,onCompositionEnd:()=>Xn.current=!1}),kn?x.createElement("div",{className:`iconfont icon-tingzhihuida ${$e.cancelBtn}`,onClick:Zn}):x.createElement(Ze.ZP,{className:wa?$e.sendBtnDisabled:$e.sendBtn,icon:x.createElement("i",{className:"iconfont icon-fasong2 c-white"}),disabled:Jn,onClick:ia}))))):x.createElement(x.Fragment,null)},Ve={"hover-line-container":"hover-line-container___kkYQN","hover-line-content":"hover-line-content___ZkD9e","line-button-container":"line-button-container___A79j9",button:"button___X_Iu7"},Me=Object.defineProperty,vt=Object.getOwnPropertySymbols,Ie=Object.prototype.hasOwnProperty,Ce=Object.prototype.propertyIsEnumerable,et=(It,ln,Ke)=>ln in It?Me(It,ln,{enumerable:!0,configurable:!0,writable:!0,value:Ke}):It[ln]=Ke,rt=(It,ln)=>{for(var Ke in ln||(ln={}))Ie.call(ln,Ke)&&et(It,Ke,ln[Ke]);if(vt)for(var Ke of vt(ln))Ce.call(ln,Ke)&&et(It,Ke,ln[Ke]);return It};const xe=It=>React.createElement("svg",rt({width:14,height:14,xmlns:"http://www.w3.org/2000/svg"},It),React.createElement("title",null,"AI\u6539\u5199"),React.createElement("defs",null,React.createElement("linearGradient",{x1:"26.797%",y1:"22.073%",x2:"82.181%",y2:"80.474%",id:"rewrite_svg__a"},React.createElement("stop",{stopColor:"#5C64FF",offset:"0%"}),React.createElement("stop",{stopColor:"#6988F8",offset:"100%"}))),React.createElement("path",{d:"m10.406 4.741.007.015h-.007v-.022.007Zm-.04-.04.855-1.495 1.497-.855-1.496-.855L10.366 0l-.854 1.497-1.497.855 1.496.854.855 1.495ZM3.1 8.442l1.71 3.1 1.603-3.1 3.1-1.71L6.52 5.023l-1.71-3.1-1.71 3.1L0 6.733l3.099 1.709H3.1Zm6.84 3.1 1.069 1.924 1.068-1.924L14 10.473l-1.924-1.069-1.069-1.923L9.94 9.405l-1.924 1.068 1.924 1.07v-.001Z",fill:"url(#rewrite_svg__a)",fillRule:"nonzero"}));var Pt="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IHgxPSIyNi43OTclIiB5MT0iMjIuMDczJSIgeDI9IjgyLjE4MSUiIHkyPSI4MC40NzQlIiBpZD0iYSI+PHN0b3Agc3RvcC1jb2xvcj0iIzVDNjRGRiIgb2Zmc2V0PSIwJSIvPjxzdG9wIHN0b3AtY29sb3I9IiM2OTg4RjgiIG9mZnNldD0iMTAwJSIvPjwvbGluZWFyR3JhZGllbnQ+PC9kZWZzPjxwYXRoIGQ9Im0xMC40MDYgNC43NDEuMDA3LjAxNWgtLjAwN3YtLjAyMi4wMDdabS0uMDQtLjA0Ljg1NS0xLjQ5NSAxLjQ5Ny0uODU1LTEuNDk2LS44NTVMMTAuMzY2IDBsLS44NTQgMS40OTctMS40OTcuODU1IDEuNDk2Ljg1NC44NTUgMS40OTVaTTMuMSA4LjQ0MmwxLjcxIDMuMSAxLjYwMy0zLjEgMy4xLTEuNzFMNi41MiA1LjAyM2wtMS43MS0zLjEtMS43MSAzLjFMMCA2LjczM2wzLjA5OSAxLjcwOUgzLjFabTYuODQgMy4xIDEuMDY5IDEuOTI0IDEuMDY4LTEuOTI0TDE0IDEwLjQ3M2wtMS45MjQtMS4wNjktMS4wNjktMS45MjNMOS45NCA5LjQwNWwtMS45MjQgMS4wNjggMS45MjQgMS4wN3YtLjAwMVoiIGZpbGw9InVybCgjYSkiIGZpbGwtcnVsZT0ibm9uemVybyIvPjwvc3ZnPg==",Tt=(0,x.forwardRef)(({initialContent:It,onButtonClick:ln},Ke)=>{const[ze,Bt]=(0,x.useState)(null),[Gt,ht]=(0,x.useState)(null),[_t,be]=(0,x.useState)(""),[Et,tn]=(0,x.useState)(null),pt=Ke,at=Lt=>{const kn=document.elementFromPoint(10,Lt),on=document.createRange();let Mn=null;const un=document.createTreeWalker(pt.current,NodeFilter.SHOW_TEXT,{acceptNode:ia=>{const na=document.createRange();na.selectNodeContents(ia);const Zn=na.getBoundingClientRect();return Zn.top<=Lt&&Zn.bottom>=Lt?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_REJECT}});let Xn="",Fa,oa,Yt=null,_n=null,wn=null;for(;Fa=un.nextNode();){Fa.parentNode.getAttribute("data-select")==="disabled"&&(oa=!0),Xn+=Fa.textContent,_n||(_n=Fa),wn=Fa;const ia=document.createRange();ia.selectNodeContents(Fa);const na=ia.getBoundingClientRect();Yt===null&&(Yt=na.top)}if(_n&&wn&&!oa){const ia=document.createRange();ia.setStart(_n,0),ia.setEnd(wn,wn.textContent.length),tn(ia)}else tn(null);return ht(Yt-1),oa?"":Xn.trim()};function sn(Lt){for(;Lt.parentElement&&Lt.parentElement.tagName.toLowerCase()!=="section";){var kn=window.getComputedStyle(Lt.parentElement);if(kn.pointerEvents==="none")return!0;Lt=Lt.parentElement}return!1}const mt=Lt=>{var kn,on;if(sn(Lt.target)){ht(-1e6);return}if(((on=(kn=document.getSelection())==null?void 0:kn.toString)==null?void 0:on.call(kn))!==""){ht(-1e6);return}const Mn=at(Lt.clientY);if((Mn==null?void 0:Mn.trim())===""){ht(-1e6);return}const un=pt.current.getBoundingClientRect();Bt(un.left-30),be(Mn)},Ye=()=>{},Mt=Lt=>{ln&&_t&&ln(_t,Lt.clientX,Lt.clientY,Et)},Gn=()=>{if(Et){const Lt=window.getSelection();Lt.removeAllRanges(),Lt.addRange(Et)}},Rn=()=>{window.getSelection().removeAllRanges()};return(0,x.useEffect)(()=>{const Lt=pt.current;return Lt.addEventListener("mousemove",mt),Lt.addEventListener("mouseleave",Ye),()=>{Lt.removeEventListener("mousemove",mt),Lt.removeEventListener("mouseleave",Ye),Rn()}},[It]),x.createElement("div",{className:Ve["hover-line-container2"]},Gt!==null&&x.createElement("div",{className:Ve["line-button-container"],style:{top:Gt,left:ze},onMouseEnter:()=>{Gn()},onMouseLeave:()=>{Rn(),ht(null),be(""),tn(null)}},x.createElement("div",{className:Ve.button,onClick:Mt},x.createElement("img",{src:Pt}),x.createElement("span",null,"AI\u6539\u5199"))))}),nt={toolbar:"toolbar___qYQBF","chat-dialog":"chat-dialog___AUJYU",button:"button___VhNes"},jt=({nodeRef:It,noRestrictModal:ln})=>{const[Ke,ze]=(0,x.useState)(null),[Bt,Gt]=(0,x.useState)(null),[ht,_t]=(0,x.useState)(!1),[be,Et]=(0,x.useState)(null),[tn,pt]=(0,x.useState)(!1),[at,sn]=(0,x.useState)(!1),mt=It,Ye=(0,x.useRef)(null),Mt=(0,x.useRef)(null),[Gn,Rn]=(0,x.useState)("");(0,x.useEffect)(()=>{Ke!=null&&Ke.toString()&&Rn(Ke==null?void 0:Ke.toString())},[Ke==null?void 0:Ke.toString()]);const Lt=()=>{const un=window.getSelection(),Xn=mt.current.scrollTop,Fa=mt.current.getBoundingClientRect();if(un.rangeCount>0&&un.toString().length>0){const oa=un.getRangeAt(0);ze(oa.cloneRange());const Yt=oa.getBoundingClientRect(),_n=40;let wn=Yt.top+Xn-5+_n;wn<Xn&&(wn=Yt.bottom-Fa.top+Xn+5);const ia=mt.current.scrollHeight-_n;wn=Math.min(Math.max(wn,Xn),ia),Gt({top:wn+6,left:Yt.left})}else ze(null),Gt(null),_t(!1);kn(un)},kn=un=>{if(!un||un.rangeCount===0){pt(!1);return}const Fa=un.getRangeAt(0).getBoundingClientRect(),oa=window.getComputedStyle(mt.current),Yt=parseInt(oa.lineHeight),_n=parseInt(oa.paddingTop),wn=mt.current.scrollTop,ia=mt.current.getBoundingClientRect(),na=Fa.top-ia.top+wn,Zn=Math.floor((na-_n)/Yt),Qt=_n+Zn*Yt-wn;Et(Qt),pt(!0)},on=un=>{mt.current&&!mt.current.contains(un.target)&&sn(!1)};(0,x.useEffect)(()=>{const un=mt.current;return un.addEventListener("scroll",Lt),un.addEventListener("input",Lt),un.addEventListener("click",Lt),un.addEventListener("mouseup",Lt),un.addEventListener("keyup",Lt),un.addEventListener("click",Lt),document.addEventListener("mousedown",on),()=>{un.removeEventListener("scroll",Lt),un.removeEventListener("input",Lt),un.removeEventListener("click",Lt),un.removeEventListener("mouseup",Lt),un.removeEventListener("keyup",Lt),un.removeEventListener("click",Lt),document.removeEventListener("mousedown",on)}},[]);const Mn=(un=!0,Xn)=>{if(!Ke)return;const Fa=Mt.current.querySelector("section.edu_md").innerHTML.replace(/<p[^>]*>([\s\S]*?)<\/p>/g,"$1"),oa=Ke.cloneRange(),Yt=window.getSelection();if(Yt.removeAllRanges(),Yt.addRange(oa),un){oa.deleteContents();const _n=document.createElement("div");_n.innerHTML=Fa;const wn=Array.from(_n.childNodes);for(;wn.length>0;)oa.insertNode(wn.pop())}else{oa.collapse(!1);const _n=document.createElement("div");_n.innerHTML=" "+Fa;const wn=Array.from(_n.childNodes);for(;wn.length>0;)oa.insertNode(wn.pop())}Yt.removeAllRanges(),ze(null),_t(!1),Gt(null)};return x.createElement("section",{ref:Mt},Bt&&x.createElement("div",{ref:Ye,className:nt.toolbar,style:{top:Bt==null?void 0:Bt.top,left:Bt==null?void 0:Bt.left}},x.createElement("div",{className:nt.button,onClick:()=>_t(!0)},x.createElement("img",{src:Pt}),x.createElement("span",null,"AI\u6539\u5199"))),x.createElement(Pe,{key:JSON.stringify(Bt),noRestrictModal:ln,visible:ht,position:Bt,selectText:Gn,applyRefinedText:Mn,fetchUrl:"/api/stream/intelligent_imports/stream.json"}),mt.current&&x.createElement(Tt,{ref:mt,onButtonClick:(un,Xn,Fa,oa)=>{ze(oa),_t(!0),Rn(un),Gt({left:Xn,top:Fa+20})}}))}},85020:function(dt,xt,oe){"use strict";oe.d(xt,{Z:function(){return Ae}});var x=oe(59301),he=oe(43418),Be={num:"num___VQiqB"},Ae=({visible:Ze,usedCount:Fe,totalCount:$e,onOk:Ge,onCancel:Le})=>{const Te=()=>Fe>0?x.createElement("div",null,"\u672C\u6B21\u5C06\u6D88\u80171\u6B21\u5927\u6A21\u578B\u4F7F\u7528\u673A\u4F1A\uFF08\u6BCF\u65E5",$e,"\u6B21\u673A\u4F1A\uFF0C\u4ECA\u65E5\u5269\u4F59",x.createElement("span",{className:Be.num},Fe),"\u6B21\uFF09\uFF0C\u786E\u5B9A\u64CD\u4F5C\u5417\uFF1F"):x.createElement("div",{className:"mb20"},"\u4ECA\u65E5\u5927\u6A21\u578B\u4F7F\u7528\u673A\u4F1A\u5DF2\u7528\u5B8C\uFF08\u6BCF\u65E5",$e,"\u6B21\u673A\u4F1A\uFF0C\u4ECA\u65E5\u5269\u4F59",x.createElement("span",{className:Be.num},Fe),"\u6B21\uFF09\u3002");return x.createElement(he.default,{centered:!0,open:Ze,title:"\u63D0\u793A",width:620,zIndex:1100,onCancel:Le,onOk:Ge,footer:Fe>0?void 0:null},Te())}},25872:function(dt,xt,oe){"use strict";oe.d(xt,{Z:function(){return a},Q:function(){return ie}});var x=oe(59301),he={container:"container___DAVRd",katex:"katex___oS9Qs",liWrap:"liWrap___pAkIe",backBottom:"backBottom___kT237",imgBox:"imgBox___O8q6M"},Be=oe(85788),Ne=oe(346),Ae=oe(75819),Ze=oe(74368),Fe=oe(25395),$e=oe(74549),Ge="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHAAAAB4CAYAAAAqs3YmAAAAAXNSR0IArs4c6QAADGlJREFUeF7tnVlQHMcZx7/umT0AcSjGBonDOmxdgV2Ww0iWIsmxrfIhJ1VJ2W+uilgEjqtclTwmLxQvyYur8uCKYmFQXMmbXUlV4lw+YsmHkBECdhdkSZZlyUJgScEWh7h2d7pTvcUuw2hhp3dm2dmleWPn66+/+f+me7p7vplGkOQfpRTVt56vgJCyARAtpAg5knS1JosRhBQMdMpJbddPd+68jhCiyQiBkil0sO2qc2J4yoMQLU6mvCizVAFCyLdFlUX9p9o3z/Fqww2Qtbxa7+BuAY9X6pXtGcSBEzVneFsiN8C6lqFKqihuc8MX3pgCTrAFurt2fc2jBj/AI/5GiuGBaCVIgtv2vOnAmd89OstT8Vq33fPL7pzgdJ6LKotaAoLx/k73Jzza8ANs8h1SD1gcBdMfCHg8ki/aMojzk3lPRH9hAxtfp+tfPN64AdZ6/c+pK+jvcr/DU6GwXaqAUT0FwDRfUQJgmgEYrV4ANKpgmssLgGkGYLR6AdCogmkuLwCmGYDR6gVAowqmubwAmGYARqsXAI0qmObyAmCaARitXgA0qmCaywuAaQZgtHoB0KiCaS4vAKYZgNHqBUCjCqa5vACYZgBGqxcAjSqY5vKmARR5nmkmmaD65fJII0/kRZ6nteFpo1PnkSKR55lZ8KLRxvJIRZ5nZgJkUbM8UlSnyfPcXpkLPz1QBPm5mXti2Rj51AzAXz4ah0vXZxZPD8E4qtPkef76xY0CnkWvAAbxN38ejUXHBjZIO4z9betGi4YvwmIK/Or4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3SD0SEx891y99PIgU0MRAl+tj/V6WWvIDPOJvVH9WQ2w7wCe9FiLTr6/D3cPnZdGaH2DLUCVVFHeyFWZKuVQmBrP36MPzZBtCNFiG7w8Yef2bG+BCptVudapcpkDhiTOVAHniSGTLDTA6IZ4YnvJkM8SsBsggRl5pbj1fASFlQ6IlpkRXkRWPZwrA/wPlJnpuyspBOgAAAABJRU5ErkJggg==",Le=oe(92310),Te=oe.n(Le),We=oe(8591),Qe=(b,y,z)=>new Promise((ne,re)=>{var le=Pe=>{try{fe(z.next(Pe))}catch(Ve){re(Ve)}},ge=Pe=>{try{fe(z.throw(Pe))}catch(Ve){re(Ve)}},fe=Pe=>Pe.done?ne(Pe.value):Promise.resolve(Pe.value).then(le,ge);fe((z=z.apply(b,y)).next())});const ie={contentRef:{current:null},value:null,status:!1,open:()=>Qe(void 0,null,function*(){}),close:()=>{}};var a=({className:b,style:y,onChange:z,onSuccess:ne,onCancel:re,onError:le,fetchUrl:ge,noRestrictModal:fe=()=>{},showEditableToolbar:Pe,bottomOffset:Ve=110,loadingText:Me,showEmptyData:vt=!0,onStatusChange:Ie,stringTransformer:Ce,bottomContainerNode:et})=>{const[rt,xe]=(0,x.useState)(!1),[Pt,yt]=(0,x.useState)(""),[Tt,nt]=(0,x.useState)(0),[Wt,jt]=(0,x.useState)(!1),It=(0,x.useRef)(null),ln=(0,x.useRef)(null),Ke=(0,x.useRef)(null),ze=(0,x.useRef)(null),Bt=(0,Fe.Z)({scrollBoxRef:ze,bottomInspectRef:Ke,contentRef:ln,status:Wt,bottomOffset:Ve}),Gt=rt||Wt;(0,x.useEffect)(()=>{z==null||z(Pt)},[Pt]),(0,x.useEffect)(()=>{Ie==null||Ie({contentRef:ln,status:Gt,value:Pt,open:ht,close:_t})},[Gt,Pt]);const ht=Et=>Qe(void 0,null,function*(){xe(!0),yt(""),nt(0);const tn=ge;Et!=null&&Et.fetchUrl&&delete Et.fetchUrl,It.current=new Be.Z(`${Ne.Z.API_SERVER}${tn}`,Et),yield new Promise((pt,at)=>{It.current.on("data",sn=>{let{chunk:{content:mt,type:Ye}}=sn;jt(!0),Ye==="text"&&yt(Mt=>Ce?Ce(Mt+mt):Mt+mt)}),It.current.on("done",()=>{pt()}),It.current.on("error",sn=>{Object.prototype.toString.call(sn)==="[object Object]"&&sn.status===-1&&We.ZP.warning((sn==null?void 0:sn.message)||""),pt(),le==null||le(sn)}),It.current.on("cancelled",()=>{pt(),re==null||re()}),It.current.startStream()}),xe(!1)}),_t=()=>{var Et,tn;nt(1),(tn=(Et=It.current)==null?void 0:Et.cancelRequest)==null||tn.call(Et),xe(!1),jt(!1)},be=(0,x.useMemo)(()=>ln.current?x.createElement(Ze.Z,{noRestrictModal:fe,nodeRef:ln}):x.createElement(x.Fragment,null),[ln.current]);return x.createElement(x.Fragment,null,x.createElement("div",{className:Te()(he.container,b),style:y,ref:ze},x.createElement("div",{ref:ln,className:he.liWrap,contentEditable:!Gt},Pt&&x.createElement(Ae.Z,{cancelIndex:Tt,streamingStatus:rt,loadImage:!1,onFinish:()=>Qe(void 0,null,function*(){nt(0),setTimeout(()=>jt(!1),0),ne==null||ne(Pt)}),value:Pt})),!Pt&&!Gt&&x.createElement("div",{className:he.imgBox},x.createElement("img",{width:56,src:Ge}),x.createElement("span",null,"\u9884\u89C8\u533A")),vt&&Gt&&x.createElement($e.Z,{text:Me}),!Bt&&x.createElement("div",{className:he.backBottom,onClick:()=>{ze.current.scrollTop=ze.current.scrollHeight}},x.createElement("i",{className:"iconfont icon-huidaodibu"})),x.createElement("div",{ref:Ke}),et),!Gt&&Pe&&be)}},74549:function(dt,xt,oe){"use strict";oe.d(xt,{Z:function(){return Ne}});var x=oe(59301),he={loading:"loading___SifAS",dot:"dot___J5R0d","dot-fade":"dot-fade___BPUGC"},Ne=({text:Ae})=>x.createElement("div",null,x.createElement("div",{className:he.loading},x.createElement("div",{className:he.dot}),x.createElement("div",{className:he.dot}),x.createElement("div",{className:he.dot})),!!Ae&&x.createElement("div",{className:"mt5"},Ae))},72409:function(dt,xt,oe){"use strict";oe.d(xt,{o:function(){return x}});const x=he=>(he=he.replace(new RegExp("(?<!\\*)\\*\\*\\*\\*([^\\n*]+?)\\*\\*\\*\\*(?!\\*)","g"),'<h2 data-select="disabled" data-type="title" contenteditable="false" class="c-black">$1</h2>'),he=he.replace(new RegExp("(?<!\\*)\\*\\*\\*([^\\n*]+?)\\*\\*\\*(?!\\*)","g"),`
<h3 data-select="disabled" contenteditable="false" class="c-black font18">$1</h3>
`),he)},50337:function(dt,xt,oe){"use strict";oe.d(xt,{Z:function(){return Ne}});var x=oe(59301),he={digitalLabel:"digitalLabel___tImKs",active:"active___Ck70Q"},Ne=({number:Ae,active:Ze,className:Fe})=>x.createElement("div",{className:`${he.digitalLabel} ${Ze?he.active:""} ${Fe}`},Ae)},38518:function(dt,xt,oe){"use strict";oe.d(xt,{Z:function(){return y}});var x=oe(59301),he=oe(17574),Be={folderWrapper:"folderWrapper___G__0a",folderIcon:"folderIcon___oTG6c"},Ne=oe(73631),Ae=oe(5623),Ze=oe(46722),Fe=Object.defineProperty,$e=Object.defineProperties,Ge=Object.getOwnPropertyDescriptors,Le=Object.getOwnPropertySymbols,Te=Object.prototype.hasOwnProperty,We=Object.prototype.propertyIsEnumerable,Qe=(z,ne,re)=>ne in z?Fe(z,ne,{enumerable:!0,configurable:!0,writable:!0,value:re}):z[ne]=re,ie=(z,ne)=>{for(var re in ne||(ne={}))Te.call(ne,re)&&Qe(z,re,ne[re]);if(Le)for(var re of Le(ne))We.call(ne,re)&&Qe(z,re,ne[re]);return z},E=(z,ne)=>$e(z,Ge(ne)),a=(z,ne,re)=>new Promise((le,ge)=>{var fe=Me=>{try{Ve(re.next(Me))}catch(vt){ge(vt)}},Pe=Me=>{try{Ve(re.throw(Me))}catch(vt){ge(vt)}},Ve=Me=>Me.done?le(Me.value):Promise.resolve(Me.value).then(fe,Pe);Ve((re=re.apply(z,ne)).next())}),y=({value:z,onChange:ne,scrollId:re})=>{const[le,ge]=(0,x.useState)([]);(0,x.useEffect)(()=>{fe()},[]);const fe=()=>a(void 0,null,function*(){const Ce=yield(0,Ze.NZ)({});if(Ce!=null&&Ce.data){const et=[{title:"\u6839\u76EE\u5F55",value:0,key:0,icon:x.createElement("img",{src:Ne,className:Be.folderIcon}),isLeaf:!1,children:Pe(Ce.data||[])}];ge(et)}}),Pe=Ce=>Ce.map(et=>({title:et.name,key:et.group_id,icon:x.createElement("img",{src:Ne,className:Be.folderIcon}),isLeaf:et.children.length===0,children:Pe(et.children)})),Ve=(Ce,et,rt)=>Ce.map(xe=>xe.key===et?ie(ie({},xe),rt):xe.children?E(ie({},xe),{children:Ve(xe.children,et,rt)}):xe),Me=(Ce,et,rt)=>Ce.map(xe=>{if(xe.key===et)return E(ie({},xe),{icon:rt?x.createElement("img",{src:Ae,className:Be.folderIcon}):x.createElement("img",{src:Ne,className:Be.folderIcon})});if(xe.children)return E(ie({},xe),{children:Me(xe.children,et,rt)})}),vt=(Ce,et)=>{ge(rt=>Me(rt,et.node.key,et.expanded))},Ie=z?{selectedKeys:z,defaultExpandedKeys:z}:{};return le.length>0&&x.createElement("div",{id:re||""},x.createElement(he.default,ie({showLine:{showLeafIcon:!1},showIcon:!0,treeData:le,className:Be.folderWrapper,onSelect:ne,onExpand:vt},Ie)))}},94361:function(dt,xt,oe){"use strict";oe.d(xt,{Z:function(){return Ze}});var x=oe(60324),he={text:"text___FxbAX",wrap:"wrap___UlBQ1",contact:"contact____pUDq",img:"img___BapAv"},Be=oe(32637),Ne=oe(59301),Ze=({type:Fe,style:$e})=>{const Ge=Ne.createElement("div",{className:he.wrap,onClick:Le=>{Le.preventDefault(),Le.stopPropagation()}},Ne.createElement("p",null,Fe==="shixun"||Fe==="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",Ne.createElement("br",null),"\u6839\u636E\u5E73\u53F0\u4F7F\u7528\u89C4\u5219\uFF0C\u9700\u8981\u6388\u6743\u624D\u80FD\u4F7F\u7528\u3002",Fe==="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"),Ne.createElement("div",{className:he.contact},Ne.createElement("div",{className:he.img},Ne.createElement("img",{src:Be,width:"124px",height:"124px"})),Ne.createElement("div",{className:"tc font14 mt10",style:{color:"#777A93"}},"\u626B\u4E00\u626B\uFF0C\u83B7\u53D6\u6388\u6743\u7801")));return Ne.createElement(x.Z,{content:Ge},Ne.createElement("span",{className:he.text,style:$e},"\u9AD8\u6D88\u8017"))}},9507:function(dt,xt,oe){"use strict";oe.d(xt,{Z:function(){return Te}});var x=oe(59301),he={imageDimensions:"imageDimensions___a7crR",img:"img___Kroat",fullWidth:"fullWidth___c492T"},Be=oe(92310),Ne=oe.n(Be),Ae=oe(71418),Ze=oe(2859),Fe=oe(38986),$e=oe(51257),Ge=(We,Qe,ie)=>new Promise((E,a)=>{var b=ne=>{try{z(ie.next(ne))}catch(re){a(re)}},y=ne=>{try{z(ie.throw(ne))}catch(re){a(re)}},z=ne=>ne.done?E(ne.value):Promise.resolve(ne.value).then(b,y);z((ie=ie.apply(We,Qe)).next())}),Te=({data:We,className:Qe,fullWidth:ie,style:E={},onClose:a,onOk:b,showFullTools:y,noAssociationId:z})=>{const ne=(0,x.useRef)(null),re=(0,x.useRef)(null),le=(0,x.useRef)(null),ge=(0,x.useRef)(null),[fe,Pe]=(0,x.useState)(!1),[Ve,Me]=(0,x.useState)("\u6B63\u5728\u52A0\u8F7D\u4E2D");(0,x.useEffect)(()=>{le.current||(le.current=document.createElement("style"),document.head.appendChild(le.current)),We!=null&&We.visible?(document.body.setAttribute("data-custom","y-hidden"),le.current.innerHTML=" html { overflow-y: hidden; }",We!=null&&We.src&&vt()):(document.body.removeAttribute("data-custom"),le.current&&(document.head.removeChild(le.current),le.current=null))},[We==null?void 0:We.visible]);const vt=()=>Ge(void 0,null,function*(){Pe(!0),Me("\u6B63\u5728\u52A0\u8F7D\u4E2D");const xe=yield(0,$e.ZJ)(We==null?void 0:We.src);ne.current.src="",ne.current.src=xe,ne.current.onload=function(){rt()},Pe(!1),Me("")}),Ie=()=>{document.body.removeAttribute("data-custom"),le.current.innerHTML=" ",a()},Ce=xe=>Ge(void 0,null,function*(){Pe(!0),Me("\u6B63\u5728\u4FDD\u5B58\u4E2D");const Pt=yield(0,Fe.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:We.title,file:xe.dataUrl}});Pt!=null&&Pt.id&&!z?(yield(0,Fe.ZP)(`/api/attachments/${We.id}/add_subitem.json`,{method:"post",body:{subitem_id:Pt==null?void 0:Pt.id,settings:JSON.stringify(xe.state)}})).status===0&&b():Pt!=null&&Pt.id&&b(Pt),document.body.removeAttribute("data-custom"),le.current.innerHTML=" ",Pe(!1),Me("")}),et=()=>{const xe=document.querySelector('a[href="https://markerjs.com/"]');xe&&xe.parentNode&&(xe.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(yt=>{const Tt=document.querySelector(yt.name);Tt&&Tt.setAttribute("title",yt.title)})},rt=()=>{re.current=new Ze.hP(ne.current),re.current.targetRoot=ge.current,re.current.addEventListener("render",Ce),re.current.addEventListener("beforeclose",Ie),y&&(re.current.availableMarkerTypes=re.current.ALL_MARKER_TYPES,re.current.uiStyleSettings.redoButtonVisible=!0,re.current.uiStyleSettings.notesButtonVisible=!0,re.current.uiStyleSettings.zoomButtonVisible=!0,re.current.uiStyleSettings.zoomOutButtonVisible=!0,re.current.uiStyleSettings.clearButtonVisible=!0),window.markerArea=re.current.uiStyleSettings,re.current.show(),We!=null&&We.snapshotData&&re.current.restoreState(We.snapshotData),setTimeout(()=>{window.scrollTo(0,0),et()},300)};return x.createElement(x.Fragment,null,(We==null?void 0:We.visible)&&x.createElement(Ae.Z,{spinning:fe,tip:Ve,style:{position:"absolute"}},x.createElement("div",{ref:ge,className:Ne()(he.imageDimensions,Qe,ie?he.fullWidth:""),style:E},x.createElement("img",{className:he.img,ref:ne}))))}},71528:function(dt,xt,oe){"use strict";oe.d(xt,{Z:function(){return oa},$:function(){return Fa}});var x=oe(59301),he={flex_box_center:"flex_box_center___ILe3s",flex_space_between:"flex_space_between___c0XhE",flex_box_vertical_center:"flex_box_vertical_center___Iusj1",flex_box_center_end:"flex_box_center_end___DIVMO",flex_box_column:"flex_box_column___x06LA",intelligentBox:"intelligentBox___M5xO7",red:"red___oyEWt",imgBox:"imgBox___DdoNI",underpin:"underpin___fwUex",row:"row___W9MrK",leftLayout:"leftLayout___MMjoZ",rightLayout:"rightLayout___EsxRX",head:"head___Q7Od8",centerBox:"centerBox___j58Ut",title:"title___rMcNx",tip:"tip___gLHFS",leftBox:"leftBox___DJ6lp",question:"question___THjM9",rightBox:"rightBox___CuMdf",error:"error___PHzCG",actionHead:"actionHead___vTHMx",edit:"edit___EaRLy",option:"option___z4UTy",active:"active___o8wNJ",fill:"fill___g760n",text:"text___L_lug",liWrap:"liWrap___LDwxe",li:"li___k4Mcf",buttonFixed:"buttonFixed___QxKdm",buttonWrap:"buttonWrap___OEep5",button:"button___b2y4h",menu:"menu___aQ4xO",tabs:"tabs___QmlP4",dotLoading:"dotLoading___zUYOu",showHide:"showHide___fHrAG"},Be=oe(92310),Ne=oe.n(Be),Ae=oe(78241),Ze=oe(8591),Fe=oe(43418),$e=oe(5871),Ge=oe(95237),Le=oe(24905),Te=oe(38854),We=oe(54580),Qe=oe(3113),ie=oe(93948),E=oe(19842),a=oe(92832),b=oe(9148),y=oe(346),z="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAAUCAYAAADC1B7dAAAAAXNSR0IArs4c6QAABk1JREFUWEd1lwlsVkUQx3/7ClGMSMSrHCKXHCpQhYhCNB5AYqRQGq1AiKgEEAiokAJFFIoipcVE5EYFyn23IGCJgoTDQimWSJSzCIKIcglUEIGu2bdv3+77vo+XfPl2Z2Zn5z8zuzsjSPDJ0tZV2ftfGog0BG0Q1AbuRABCgJDBvxorWqDE5xkZh+4porNGjRXNyKvlMuCbf2OXDPRIWYHnnQJKqaSQOimFos3s67HmG1NCupzxWDcgD2Qjf0P1qT/fqGAcGh4Yb4x1ZZSsCySy3oAV4LnOCByi9Pl7CQ00HPvIDb0cz8sUqSUFLqgQkJRjPCavzEFUZoaecz2oNjYAjXGJgEQi5Bio1kYiZYDEOEt5z4+ecZ4D2I2kGePl0eWlkUJkVxp/+yvkpOa5IDOtxxIAiE2nuEg5RhjZ2EiFhgYpF6ZfTNq662KzI+TpgOGJPJFaMjwEJCc06YZgtY5AENLMA7HpCcVTYfd0TR/yi+Vvy4F9CyG5BaQviV9nKBeOwNrXoNdOSKqqqSe2wJZ3dfS9JP0LM+MmyJt63iEfaj6m11w5DUWdo+c1yUtX6SfkrNZVOXNpP1I2Cg+qApV1KN6wc+WQ31nTh+63/K05sHc+JLeEjKW3BnT+CKxKh66L4P4WWu7ySVj1sh63GwNN0u36IwVQMk6HPW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ZdJJarI1o04CURSVBXYgA6swvoq2UwqsYdsTwKxAHUENq5E2xIOk/lX9+PbmDnQFYihxxjTFdhs60p3M/3oZEH3d5EEGha4f7voFUcvzuaWroCnOh0SqEqsZTz2CmyW47YsD3hDH5YfnvilMqWGQCklJG5lbJUgjd0nMGhH3GJJTATBwwLuib7+tUxq7IffenD2xupwlcFxUfO43xCN6y4BcCuFTCrx2U8XOHN9dabmCbr6/NDq4RjO2fdLo1MfOy2Gw+mrb+Z6OC9qpUDA4fzn8ICbfb4wXm4XI4EKQE0MrS+GO8zOvXxwauew/iTQhBWNnhEhN9KLM19boyRQA6apSMS2t84fe7yRTCYPHhKTQFM2NPsCsNKfddTGYjgJ1ARpNCahOiJF9sXiTIkEGjWh3xy4lINS5EigPkPzSQlVEmheg/4MSKA+O9PJ/a/QIfoKNS1Cqz/9E6OFLRQhuo0IhQa9SdCNvB63UKRoKS0UGtQnQYvZ6sxCk/D1OIke6IbG1z8T8f1Al7ZUhE+g0paK+vRpU5O+ROObmvSnTsk6gVBsKyQV+gSCEEgbe/X5o5NYgW6/u5m+Q1vr0SJ0C+gKpJdbdIkHnNMRSK+XBSwBU05VIL3giaHdhayKQHrFugsCsCX9CKRDDrCUu5jvJJCOGeki/CBK00E/QVA0WIOO2jIIP4jW8/OSP8u/m/aksJr16LC7IMj2sEbzuEkBnmdFo+u9PG7yNxidqHC3DAxxAAAAAElFTkSuQmCC",ge=oe(38986),fe=oe(38518),Pe=oe(5623),Ve=oe(8944),Me=oe(19105),vt=oe(17077),Ie=oe(15342),Ce=oe.n(Ie),et=(Yt,_n,wn)=>new Promise((ia,na)=>{var Zn=fn=>{try{Nt(wn.next(fn))}catch(Dn){na(Dn)}},Qt=fn=>{try{Nt(wn.throw(fn))}catch(Dn){na(Dn)}},Nt=fn=>fn.done?ia(fn.value):Promise.resolve(fn.value).then(Zn,Qt);Nt((wn=wn.apply(Yt,_n)).next())}),xe=x.memo(({tagName:Yt="div",value:_n="",className:wn,style:ia={},onBlur:na,id:Zn})=>{const Qt=(0,x.useRef)(null);(0,x.useEffect)(()=>{if(!Qt.current)return;et(void 0,null,function*(){const Dn=Qt.current;Dn.innerHTML="";const la=_n==null?void 0:_n.split(/(`?\$\$[\s\S]*?\$\$`?)/g);for(const Jn of la)if(Jn.startsWith("$$")&&Jn.endsWith("$$")||Jn.startsWith("`$$")&&Jn.endsWith("$$`")){const wa=Jn.startsWith("`$$")?Jn.slice(3,-3):Jn.slice(2,-2),Wn=document.createElement("span");Wn.setAttribute("contentEditable","false"),Wn.setAttribute("title",Jn),Wn.className="edu_latex",Dn.appendChild(Wn),Ce().render(wa,Wn,{throwOnError:!1})}else{const wa=Jn==null?void 0:Jn.replace(/<[^>]*>/g,Wn=>Wn.startsWith("<img")?Wn:Wn.replace(/</g,"&lt;"));Dn.insertAdjacentHTML("beforeend",wa)}})},[Zn]);const Nt=()=>{var fn,Dn;if(na&&Qt.current){const Jn=Qt.current.cloneNode(!0),wa=Jn.querySelectorAll("span.edu_latex");for(let Wn of wa){const jn=Wn.getAttribute("title"),ya=document.createTextNode(jn||""),fa=Wn;(Dn=(fn=fa.parentNode)==null?void 0:fn.replaceChild)==null||Dn.call(fn,ya,fa)}na(Jn.innerHTML)}};return x.createElement(x.Fragment,null,x.createElement(Yt,{ref:Qt,contentEditable:!0,className:wn,style:ia,onBlur:Nt}))}),Pt=oe(48790),yt=oe(49535),Tt=oe(43428),nt=oe(6848),Wt=oe(43604),jt={wrap:"wrap___Yz6fc",left:"left___F0axg",tip:"tip___nCmqI",bottomBtn:"bottomBtn___x70Gq",disabled:"disabled___CWzre"},It=oe(72409),ln=oe(51257),Ke=oe(91239),ze=oe(35902),Bt=oe(85020),Gt=oe(25872),ht="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAAAXNSR0IArs4c6QAAHr1JREFUaEPNmweYnVW1/n/7a6fMmcm0ZEoSUkkCSQgJCVWKoAI2FAH1iqBYwXvFLogF8S9XvRYElU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YS1JK8n69q1sH2inoEaotmvJZOAT71/FGw47ADuVonVuPWvu3c0TT3ejogAVCFI1VTy6fZjISuM1TWfPygOwizAr20fwzIOkkvW8fcUcLGesFAbhz+y0/OYFV13w7/8XgH1X76avXbJ0167iN/r6/Hf6JdyUrMMVHuvaNpPN7SFfHKMQSWa1VnH+h9/I3FlNuOkUtfU1bHsiYvczKbbn2ri340nePH8l20ZGsL0QT3ceSz4zptUyNDrK4oXzeGGTHxxbt/jujuoXv/nd+/9rYqPZX7Lmn3rvH7Lwa3/og0d+eklP78j5c2vmntZUO7V27e5nGM2NsGtoF65dxQmHz+NDZxxBKpEkNSVFmE3w8iMOj2x5kZ78ANWJBNPqpyESJQIZUvJDk8Km1qUpFovDc2e13Mp4+vIv/uasf/i/Wf4R0vqri/mh2RfXLlow66St+fXvbu/qOW4o3z/1iMXzxOnvOIpUlYNjW2QaUvSvTbFlS462PQMUo2EaG2pIpjzT+y4UlQpDuUchH3ec6DdeUqy5+M7P/v/1j1p/aiXuv/zyxDOP7ViyYP7Ug9r6upadcPSqhYlkYm405jXteNqt8reG9LYO5NJVqt8VXlsU2Nsi6WySofvCfml38xm3nvFv+Ve8/wNgli4fKbeMnwAAAABJRU5ErkJggg==",_t=(Yt,_n,wn)=>new Promise((ia,na)=>{var Zn=fn=>{try{Nt(wn.next(fn))}catch(Dn){na(Dn)}},Qt=fn=>{try{Nt(wn.throw(fn))}catch(Dn){na(Dn)}},Nt=fn=>fn.done?ia(fn.value):Promise.resolve(fn.value).then(Zn,Qt);Nt((wn=wn.apply(Yt,_n)).next())}),Et=(0,x.forwardRef)(({onUpdateNum:Yt,onSave:_n},wn)=>{var ia;const na=`\u8BF7\u8F93\u5165\u51FA\u9898\u8981\u6C42\uFF0C\u60A8\u4E5F\u53EF\u4EE5\u5148\u4E0A\u4F20\u6750\u6599\u4E4B\u540E\u518D\u6839\u636E\u6750\u6599\u51FA\u9898
\u4F8B\uFF1A\u8BF7\u751F\u6210\u5173\u4E8E\u300APython\u7A0B\u5E8F\u8BBE\u8BA1\u300B\u7684\u8BD5\u9898\u3002\u8003\u5BDF\u77E5\u8BC6\u70B9\uFF1A\u53D8\u91CF\u5B9A\u4E49\u3001\u6570\u636E\u7C7B\u578B\u3001\u8FD0\u7B97\u7B26\u548C\u63A7\u5236\u7ED3\u6784\u3002\u96BE\u5EA6\u4E3A\u201C\u56F0\u96BE\u201D\u7684\u8BD5\u9898\u536020%`,[Zn,Qt]=(0,x.useState)(!1),[Nt,fn]=(0,x.useState)([]),[Dn,la]=(0,x.useState)(null),[Jn,wa]=(0,x.useState)([]),[Wn,jn]=(0,x.useState)(0),[ya,fa]=(0,x.useState)(0),[Ba,Ta]=(0,x.useState)(!1),[At,Pn]=(0,x.useState)(""),[En,Ln]=(0,x.useState)(0),[Ee,Je]=(0,x.useState)(0),[qe,lt]=(0,x.useState)(0),[ft,ut]=(0,x.useState)(0),[wt,De]=(0,x.useState)(0),[_e,ke]=(0,x.useState)(0),[st,Ut]=(0,x.useState)(0),[qt,In]=(0,x.useState)(0),[vn,He]=(0,x.useState)(Gt.Q),{contentRef:it,value:dn,status:gt,open:$t,close:gn}=vn,Aa=(0,ze.Z)({contentRef:it,status:gt}),{openProgress:zn,closeProgress:bt,CreateProgressModal:Za,progressOpen:qn}=(0,Ke.Z)();(0,x.useEffect)(()=>{Dn&&xa(),Dn===!1&&(gn(),Yt==null||Yt(),fn([]),Pn(""),Ln(0),Je(0),lt(0),ut(0),De(0),ke(0),Ut(0),In(0))},[Dn]);const Na=()=>{la(!0)};(0,x.useImperativeHandle)(wn,()=>({onClick:Na}));const Ca=Ht=>{Ta(!0),jn(Ht),fa(0)},ja=Ht=>_t(void 0,null,function*(){const va=Ht.name.split(".").slice(-1)[0].toLowerCase();return["docx","doc","pdf","png","jpg"].indexOf(va)==-1?(Ze.ZP.warning("\u4E0A\u4F20\u7684\u6587\u4EF6\u683C\u5F0F\u6709\u8BEF\uFF0C\u8BF7\u68C0\u67E5\u540E\u91CD\u65B0\u4E0A\u4F20"),Promise.reject()):Ht.size/1024/1024>10?(Ze.ZP.warning("\u4E0A\u4F20\u7684\u6587\u4EF6\u5927\u5C0F\u9650\u523610MB\uFF0C\u8BF7\u68C0\u67E5\u540E\u91CD\u65B0\u4E0A\u4F20"),Promise.reject()):!0}),xa=()=>_t(void 0,null,function*(){const Ht=yield(0,ge.ZP)("/api/intelligent_imports/check_number.json",{method:"get"});Ht.status===0&&(jn(Ht.total_number),fa(Ht.remaining_number))}),Ua=Ht=>(Ht=Ht||"",Ht=String(Ht),Ht=Ht.replace(/\s+/g,""),Ht),Ga=(Ht=!0)=>_t(void 0,null,function*(){var va,aa;const Kt=[{name:"\u5355\u9009\u9898",num:En||0},{name:"\u591A\u9009\u9898",num:Ee||0},{name:"\u5224\u65AD\u9898",num:qe||0},{name:"\u586B\u7A7A\u9898",num:ft||0},{name:"\u7B80\u7B54\u9898",num:wt||0},{name:"\u7EC4\u5408\u9898",num:qt||0},{name:"\u7F16\u7A0B\u9898",num:_e||0},{name:"\u7A0B\u5E8F\u586B\u7A7A\u9898",num:st||0}];if(Ht){if(Ua(At)){if(At.length>1e3){Ze.ZP.warning("\u51FA\u9898\u8981\u6C42\u5B57\u6570\u9650\u5236\u4E3A1000\u5B57");return}}else{Ze.ZP.warning("\u8BF7\u5148\u8F93\u5165\u51FA\u9898\u8981\u6C42");return}if(!Ua(At)&&!(Nt!=null&&Nt.length)){Ze.ZP.warning("\u8BF7\u4E0A\u4F20\u6750\u6599\u6587\u6863\u6216\u5728\u6587\u672C\u6846\u4E2D\u586B\u5199\u6750\u6599\u5185\u5BB9");return}const hn=Kt.reduce((Sa,sa)=>Sa+sa.num,0);if(hn===0){Ze.ZP.warning("\u8BF7\u8BBE\u7F6E\u51FA\u9898\u6570\u91CF");return}if(hn>30){Ze.ZP.warning("\u51FA\u9898\u6570\u91CF\u8FBE\u5230\u9650\u5236");return}if(Wn!==-1){Ta(!0);return}}Ta(!1);const Qn={scene_type:6,request_identifier:Math.random(),file_id:(aa=(va=Nt[0])==null?void 0:va.response)==null?void 0:aa.id,content:At,count_arr:Kt.map(hn=>hn.num).join(",")};yield $t(Qn),xa()}),$a=()=>_t(void 0,null,function*(){const Ht=Aa();if(_n){la(!1),_n(Ht);return}zn(),Qt(!0),wa([]);const va=new FormData;va.append("html",Ht);const aa=yield(0,ge.ZP)("/api/intelligent_imports/import.json",{method:"post",body:va},!0);if((aa==null?void 0:aa.status)===0)if(aa!=null&&aa.data){bt(100),wa(aa==null?void 0:aa.data);return}else Ze.ZP.warning("\u672A\u8BC6\u522B\u5230\u8BD5\u9898");Qt(!1),bt()}),Rt=()=>_t(void 0,null,function*(){const Ht=Aa();(0,ln.RG)(Ht)}),ma=["uploading","error"].includes((ia=Nt==null?void 0:Nt[0])==null?void 0:ia.status);return x.createElement(x.Fragment,null,x.createElement(Bt.Z,{visible:Ba,totalCount:Wn,usedCount:ya,onCancel:()=>Ta(!1),onOk:()=>Ga(!1)}),x.createElement(Tt.Z,{title:"\u667A\u80FD\u51FA\u9898",extra:x.createElement("div",{className:jt.extraHeader},x.createElement(Ge.Z,{align:"middle"},!gt&&!!dn&&x.createElement(x.Fragment,null,x.createElement(b.op,{onClick:$a,className:"mr15",shape:"default"},"\u4FDD\u5B58\u8BD5\u9898"),x.createElement(b.op,{onClick:Rt,shape:"default",type:"text"},x.createElement("i",{className:"iconfont icon-fuzhi8 mr5 font14"}),"\u590D\u5236")),x.createElement("i",{onClick:()=>{const Ht=va=>{Fe.default.confirm({centered:!0,icon:null,width:500,zIndex:1101,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:va,onOk:()=>{la(!1)}})};if(gt){Ht("\u6B63\u5728\u751F\u6210\u8BD5\u9898\u4E2D\uFF0C\u786E\u5B9A\u8981\u9000\u51FA\u5417\uFF1F");return}else dn?Ht("\u8BD5\u9898\u672A\u4FDD\u5B58\uFF0C\u786E\u5B9A\u8981\u9000\u51FA\u5417\uFF1F"):la(!1)},className:"iconfont icon-guanbi11 current ml15"}))),placement:"bottom",height:"100%",headerStyle:{height:54,borderBottomColor:"#DCDCDC"},bodyStyle:{padding:0},closable:!1,className:"body-overflow-hidden",destroyOnClose:!0,open:Dn},x.createElement("div",{className:jt.wrap},x.createElement("div",{className:jt.left},x.createElement("div",{className:jt.tip},x.createElement("img",{src:ht}),x.createElement("span",null,"\u60A8\u597D\uFF01\u6211\u662F\u60A8\u7684\u667A\u80FD\u51FA\u9898\u52A9\u624B\uFF0C\u6211\u5DF2\u5B66\u4E60\u4E86\u5E73\u53F0\u4EE5\u53CA\u4E92\u8054\u7F51\u4E0A\u6D77\u91CF\u7684\u8BD5\u9898\u77E5\u8BC6\u5E93\u3002\u53EF\u4EE5\u6839\u636E\u60A8\u7684\u8981\u6C42\u548C\u4E0A\u4F20\u7684\u6750\u6599\u7075\u6D3B\u751F\u6210\u5404\u7C7B\u8BD5\u9898\u3002\u6B22\u8FCE\u968F\u65F6\u4E0E\u6211\u4E92\u52A8\uFF0C\u8BA9\u6211\u4EEC\u4E00\u8D77\u6253\u9020\u66F4\u9AD8\u6548\u3001\u66F4\u4F18\u8D28\u7684\u8BD5\u9898\uFF01")),x.createElement("div",{className:"mb10 mt20 c-black"},x.createElement("b",null,"\u51FA\u9898\u8981\u6C42")),x.createElement(a.default.TextArea,{style:{height:160},className:"mb20",value:At,placeholder:na,onChange:Ht=>{Pn(Ht.target.value)}}),x.createElement(We.default,{accept:".doc,.docx,.pdf,.png,.jpg",action:`${y.Z.API_SERVER}/api/attachments.json`,maxCount:1,fileList:Nt,withCredentials:!0,data:{upload_type:1},beforeUpload:ja,onChange:({file:Ht})=>{var va,aa;Ht.status!=="removed"&&(Ht.status==="done"&&((va=Ht==null?void 0:Ht.response)==null?void 0:va.status)!==0&&(Ht.status="error",Ht.response=(aa=Ht==null?void 0:Ht.response)==null?void 0:aa.message),fn([Ht]))},onRemove:()=>fn([])},x.createElement(nt.Z,{title:"\u5355\u6B21\u4EC5\u652F\u6301\u4E0A\u4F201\u4E2A\u6587\u6863\u62161\u5F20\u56FE\u7247\uFF0C\u6587\u6863\u652F\u6301PDF/Word\u683C\u5F0F\uFF0C\u56FE\u7247\u652F\u63011\u5F20\u4E0D\u8D85\u8FC710M\u7684PNG/JPG\u56FE\u7247"},x.createElement(b.op,{style:{borderRadius:2}},x.createElement("i",{className:"icon-shangchuan3 mr5"}),"\u4E0A\u4F20\u6750\u6599"))),x.createElement("div",{className:"c-black mt20"},x.createElement("div",{className:"mb10 c-black"},x.createElement("b",null,"\u51FA\u9898\u6570\u91CF"),x.createElement("span",{className:"c-grey-999"},"\uFF08\u4E3A\u4FDD\u8BC1\u51FA\u9898\u4F53\u9A8C\uFF0C\u5355\u6B21\u51FA\u9898\u603B\u6570\u91CF\u4E0D\u80FD\u8D85\u8FC7",x.createElement("span",{style:{padding:"0 6px",color:"#FB901F"}},"30"),"\u9053\uFF09")),x.createElement(Ge.Z,{style:{gap:16}},x.createElement(Wt.Z,null,x.createElement("label",null,"\u5355\u9009\u9898"),x.createElement($e.Z,{min:0,max:10,value:En,onChange:Ln,style:{marginLeft:"8px"}})),x.createElement(Wt.Z,null,x.createElement("label",null,"\u591A\u9009\u9898"),x.createElement($e.Z,{min:0,max:10,value:Ee,onChange:Je,style:{marginLeft:"8px"}})),x.createElement(Wt.Z,null,x.createElement("label",null,"\u5224\u65AD\u9898"),x.createElement($e.Z,{min:0,max:10,value:qe,onChange:lt,style:{marginLeft:"8px"}})),x.createElement(Wt.Z,null,x.createElement("label",null,"\u586B\u7A7A\u9898"),x.createElement($e.Z,{min:0,max:10,value:ft,onChange:ut,style:{marginLeft:"8px"}})),x.createElement(Wt.Z,null,x.createElement("label",null,"\u7B80\u7B54\u9898"),x.createElement($e.Z,{min:0,max:10,value:wt,onChange:De,style:{marginLeft:"8px"}})))),gt?x.createElement("div",{onClick:gn,className:jt.bottomBtn},x.createElement("i",{className:"iconfont icon-tingzhihuida"}),"\u505C\u6B62\u51FA\u9898"):ma?x.createElement("div",{className:`${jt.bottomBtn} ${jt.disabled}`},x.createElement("i",{className:"iconfont icon-kaishichuti font14"}),"\u5F00\u59CB\u51FA\u9898"):x.createElement("div",{onClick:()=>{Ga()},className:jt.bottomBtn},x.createElement("i",{className:"iconfont icon-kaishichuti font14"}),"\u5F00\u59CB\u51FA\u9898")),x.createElement(Gt.Z,{onStatusChange:He,loadingText:"\u8BD5\u9898\u751F\u6210\u4E2D",fetchUrl:"/api/stream/intelligent_imports/stream.json",showEditableToolbar:!qn,noRestrictModal:Ca,stringTransformer:It.o,onError:Ht=>{Object.prototype.toString.call(Ht)==="[object Object]"&&Ht.status===-9&&Ca(Ht.data)}}))),x.createElement(Tt.Z,{placement:"bottom",height:"100%",closable:!1,className:"body-overflow-hidden",destroyOnClose:!0,open:Zn},x.createElement(Ge.Z,{align:"middle",style:{margin:"8px auto 24px auto",width:1200,fontWeight:600},className:"c-black font18"},x.createElement("img",{src:oe(36413),alt:"\u667A\u80FD\u51FA\u9898"}),x.createElement("span",{className:"ml10"},"\u667A\u80FD\u51FA\u9898")),x.createElement(oa,{stickyTop:-24,hideWordFeatures:!0,dataSource:Jn,isRefreshItemBank:!0,okText:"\u5BFC\u5165\u9898\u5E93",mode:1,onCancel:()=>Qt(!1),onSuccess:()=>{Qt(!1),la(!1)}}),x.createElement("div",{style:{height:70}})),Za("\u5904\u7406\u4E2D"))}),tn=Object.defineProperty,pt=Object.defineProperties,at=Object.getOwnPropertyDescriptors,sn=Object.getOwnPropertySymbols,mt=Object.prototype.hasOwnProperty,Ye=Object.prototype.propertyIsEnumerable,Mt=(Yt,_n,wn)=>_n in Yt?tn(Yt,_n,{enumerable:!0,configurable:!0,writable:!0,value:wn}):Yt[_n]=wn,Gn=(Yt,_n)=>{for(var wn in _n||(_n={}))mt.call(_n,wn)&&Mt(Yt,wn,_n[wn]);if(sn)for(var wn of sn(_n))Ye.call(_n,wn)&&Mt(Yt,wn,_n[wn]);return Yt},Rn=(Yt,_n)=>pt(Yt,at(_n)),Lt=(Yt,_n,wn)=>new Promise((ia,na)=>{var Zn=fn=>{try{Nt(wn.next(fn))}catch(Dn){na(Dn)}},Qt=fn=>{try{Nt(wn.throw(fn))}catch(Dn){na(Dn)}},Nt=fn=>fn.done?ia(fn.value):Promise.resolve(fn.value).then(Zn,Qt);Nt((wn=wn.apply(Yt,_n)).next())});const kn=Yt=>{Yt.preventDefault();let wn=(Yt.clipboardData||window.clipboardData).getData("Text");document.execCommand("insertText",!1,wn)},on=Yt=>{Yt.key==="Enter"&&Yt.preventDefault()},Mn=({children:Yt,style:_n})=>x.createElement("div",{className:he.leftBox,style:_n,onPaste:kn},Yt),un=({children:Yt,style:_n,className:wn})=>x.createElement("div",{className:Ne()(he.rightBox,wn),style:_n,onPaste:kn},Yt),Xn=({className:Yt,style:_n={},width:wn=1200,onCancel:ia=()=>{},onSuccess:na=()=>{},gather:Zn={},mode:Qt=1,stickyTop:Nt=0,subDisciplineId:fn=[],hideWordFeatures:Dn,dataSource:la=[],customLeftHeadNode:Jn,customRightHeadNode:wa,customLeftContent:Wn,hideRecognition:jn=!1,onExchange:ya,isSingleSelection:fa=!1,underpinBackgroundStyle:Ba={},headExtraNode:Ta,isRefreshItemBank:At=!1,okText:Pn="\u786E\u5B9A\u5BFC\u5165",onSave:En})=>{var Ln;const[Ee,Je]=(0,x.useState)(1),[qe,lt]=(0,x.useState)(0),[ft,ut]=(0,x.useState)(""),[wt,De]=(0,x.useState)(!1),[_e,ke]=(0,x.useState)([]),[st,Ut]=(0,x.useState)([]),[qt,In]=(0,x.useState)(!1),[vn,He]=(0,x.useState)(!1),[it,dn]=(0,x.useState)(!1),[gt,$t]=(0,x.useState)(!1),[gn,Aa]=(0,x.useState)([]),[zn,bt]=(0,x.useState)(1),[Za,qn]=(0,x.useState)(!1),[Na,Ca]=(0,x.useState)(!0),[ja,xa]=(0,x.useState)(0),[Ua,Ga]=(0,x.useState)(!1),[$a]=Ae.default.useForm(),[Rt]=Ae.default.useForm(),ma=(0,x.useRef)(null),Ht=(0,x.useRef)(null),va=(0,x.useRef)(),aa=(0,x.useRef)(null),Kt=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],Fn=["C","C++","Java","Python","JavaScript","Ruby"];(0,x.useEffect)(()=>{la!=null&&la.length&&Yr(la)},[la]),(0,x.useEffect)(()=>{Ee===2&&ma.current.focus()},[Ee]),(0,x.useEffect)(()=>{it&&hn()},[it]);const Qn=()=>{if(Ee===1){Ze.ZP.warning("\u8BF7\u5148\u4E0A\u4F20\u8BD5\u9898\uFF01");return}Fe.default.confirm({centered:!0,icon:null,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:"\u6E05\u7A7A\u64CD\u4F5C\u5C06\u5220\u9664\u8BD5\u9898\u7F16\u8F91\u533A\u57DF\u7684\u5168\u90E8\u5185\u5BB9\uFF0C\u786E\u5B9A\u4E00\u952E\u6E05\u7A7A\u5417\uFF1F",onOk:()=>Lt(void 0,null,function*(){Je(1)})})},hn=()=>Lt(void 0,null,function*(){const se=yield(0,ge.ZP)("/api/disciplines.json",{method:"get",params:{source:Qt===1?"new_question":"subject"}});Aa(se.disciplines||[])}),Sa=se=>{const tt=[],St=(zt,ot)=>{zt.length>=2&&tt.push(zt.join(""));for(let nn=ot;nn<se.length;nn++)zt.push(se[nn]),St(zt,nn+1),zt.pop()};return St([],0),tt},sa=se=>(se=se||"",se=String(se),se=se.replace(/\s+/g,""),se),Ia=se=>(se=se||"",se=String(se),se=se.replace(/<div>/g,""),se=se.replace(/<br>/g,`
`),se=se.replace(/<\/div>/g,`
`),se=lr(se),se),Ya=se=>se.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#39;"),lr=se=>se.replace(/&lt;/g,"<").replace(/&gt;/g,">").replace(/&amp;/g,"&").replace(/&quot;/g,'"').replace(/&#39;/g,"'"),Br=se=>{var tt;const St=se.clipboardData;if(St){const zt=St.types.toString(),ot=St.items;if(zt==="Files"||St.types.indexOf("Files")>-1){se.preventDefault();try{let nn=ot[1];((tt=ot[0])==null?void 0:tt.kind)==="file"&&(nn=ot[0]);const Xt=nn.getAsFile();(0,vt.I)(Xt,Vt=>{var Jt;if(Vt.id){if(((Jt=Xt==null?void 0:Xt.type)==null?void 0:Jt.indexOf("image"))>-1){const $n=`<img src='${y.Z.API_SERVER}${Vt.url}'>`;document.execCommand("insertText",!1,$n)}}else(Vt==null?void 0:Vt.status)===401&&(document.location.href="/user/login")})}catch(nn){Ze.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};function or(se,tt){return Lt(this,null,function*(){if(typeof se=="string")return yield tt(se);if(typeof se!="object"||se===null)return se;if(Array.isArray(se))return yield Promise.all(se.map(ot=>Lt(this,null,function*(){return yield or(ot,tt)})));const St={};for(const zt in se)if(Object.prototype.hasOwnProperty.call(se,zt)){const ot=se[zt];typeof ot=="string"?St[zt]=yield tt(ot):typeof ot=="object"?St[zt]=yield or(ot,tt):St[zt]=ot}return St})}const Wr=()=>Lt(void 0,null,function*(){var se;De(!0),ut("\u5904\u7406\u4E2D"),yield new Promise(zt=>setTimeout(zt,1e3));let tt=(se=Ht.current)==null?void 0:se.querySelectorAll('[data-text="edit"]'),St="";try{tt.forEach(function(zt){var ot,nn,Xt,Vt;const Jt=zt.cloneNode(!0),$n=Jt.querySelectorAll("span.edu_latex");for(let La of $n){const cn=La.getAttribute("title"),pa=document.createTextNode(cn),ha=La;(nn=(ot=ha.parentNode)==null?void 0:ot.replaceChild)==null||nn.call(ot,pa,ha)}const Da=Jt.querySelectorAll("span[style]");for(let La of Da)if(La.style.fontFamily){const cn=La.innerHTML,pa=document.createTextNode(cn),ha=La;(Vt=(Xt=ha.parentNode)==null?void 0:Xt.replaceChild)==null||Vt.call(Xt,pa,ha)}Jt==null||Jt.childNodes.forEach(function(La){La.nodeType===Node.ELEMENT_NODE&&La.localName!=="h5"&&La.localName!=="h4"?St+=`<p>${La.innerHTML}</p>`:La.nodeType===Node.TEXT_NODE&&(St+=`<p>${La.textContent}</p>`)})}),so("/api/intelligent_imports/import.json",{html:lr(St)})}catch(zt){console.error("\u5904\u7406\u8282\u70B9\u9519\u8BEF:",zt)}}),Ra=se=>{let tt=se.filter(St=>!!(St!=null&&St.type));return tt=tt.map(St=>{var zt;const ot=(zt=pr.find(Xt=>Xt.id===(St==null?void 0:St.type)))==null?void 0:zt.deal,nn=Rn(Gn({},St),{id:String(Math.random()).slice(-6),knowledgePoint:sa(St==null?void 0:St.knowledgePoint)});return ot?ot(nn):nn}),tt},ka=()=>{if(Ee===1){Ze.ZP.warning("\u672A\u8BC6\u522B\u5230\u8BD5\u9898!");return}Fe.default.confirm({centered:!0,icon:null,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:"\u91CD\u65B0\u8BC6\u522B\u4F1A\u8986\u76D6\u53F3\u4FA7\u5DF2\u8BC6\u522B\u7ED3\u679C\uFF0C\u5305\u62EC\u4EBA\u5DE5\u4FEE\u6539\u7684\u5185\u5BB9\uFF0C\u786E\u5B9A\u91CD\u65B0\u8BC6\u522B\u5417?",onOk:Wr})},nr=()=>x.createElement("div",{className:he.row},x.createElement("div",{className:he.leftLayout},x.createElement(Mn,{style:{height:675}},Ee===1&&x.createElement("div",{style:{height:"100%",display:"flex",flexDirection:"column",alignItems:"center"},onClick:()=>Je(2)},x.createElement("div",{style:{color:"#9096A3",fontSize:12}},"1.\u672C\u529F\u80FD\u652F\u6301\u5BFC\u5165\u7684\u9898\u578B\uFF1A\u5355\u9009\u9898\u3001\u591A\u9009\u9898\u3001\u586B\u7A7A\u9898\u3001\u5224\u65AD\u9898\u3001\u7B80\u7B54\u9898\u3001 \u7EC4\u5408\u9898\u3001\u7F16\u7A0B\u9898\u3001\u7A0B\u5E8F\u586B\u7A7A\u9898\u3002",x.createElement("br",null),"2.\u82E5\u8981\u5BFC\u5165\u7EC4\u5408\u9898\uFF0C\u8BF7\u5728\u9898\u76EE\u524D\u540E\u4F7F\u7528\u4E00\u5BF9\u201C","{{\u201D\u3001\u201C}}","\u201D\u5C06\u5185\u5BB9\u6807\u51FA\uFF1B\u5927\u9898\u9898\u5E72\u548C\u5C0F\u9898\u9898\u5E72\u4E4B\u95F4\u4E0D\u9700\u8981\u7A7A\u884C\uFF1B\u5927\u9898\u548C\u5C0F\u9898\u9898\u5E72\u90FD\u9700\u6807\u6CE8\u9898\u53F7\uFF1B\u5C0F\u9898\u7B54\u6848\u53EF\u8DDF\u5728\u5C0F\u9898\u9898\u5E72\u540E\uFF0C\u5E76\u7528\u7A7A\u683C\u4E0E\u9898\u5E72\u5185\u5BB9\u9694\u5F00\u3002\u8303\u4F8B\u53EF\u53C2\u8003\u63A8\u8350\u683C\u5F0F\u3002",x.createElement("br",null),"3.\u5BFC\u5165\u652F\u6301\u6587\u672C\u3001\u56FE\u7247\u3001\u516C\u5F0F\u3002\u9898\u76EE\u7ED3\u6784\u652F\u6301\u8BC6\u522B\u7B54\u6848\u3001\u89E3\u6790\u3001\u96BE\u5EA6\u3001\u77E5\u8BC6\u70B9\u3002",x.createElement("br",null),"4.\u82E5\u8BC6\u522B\u6709\u8BEF\uFF0C\u53EF\u5728\u5DE6\u4FA7\u4FEE\u6539\u9898\u76EE\u5185\u5BB9\u540E\u91CD\u65B0\u8BC6\u522B\uFF0C\u6216\u4E0B\u8F7D\u63A8\u8350\u683C\u5F0F\uFF0C\u6309\u683C\u5F0F\u4FEE\u6539\u540E\u91CD\u65B0\u5BFC\u5165\u8BC6\u522B\u3002",x.createElement("br",null)),x.createElement("div",{className:he.imgBox,style:{marginTop:75}},x.createElement("img",{width:56,src:ne}),x.createElement("span",null,"\u7F16\u8F91\u533A"))),Ee===2&&x.createElement("div",{"data-text":"edit",onBlur:()=>{ma.current.innerHTML||Je(1)},ref:ma,contentEditable:!0,style:{color:"#9096A3",height:"100%",overflow:"auto"}}))),x.createElement("div",{className:he.rightLayout,style:{display:"flex",alignItems:"start",justifyContent:"center"}},x.createElement("div",{className:he.imgBox,style:{marginTop:240}},x.createElement("img",{width:56,src:re}),x.createElement("span",null,"\u9884\u89C8\u533A")))),ra=(se,tt,St,zt)=>{var ot;console.log(se,tt,St,zt,"onDataChange\u4FEE\u6539\u6570\u503C");const nn=JSON.parse(JSON.stringify(st));zt===void 0?nn[tt][se]=St:nn[tt].questions[zt][se]=St;const Xt=Gn({},nn[tt]),Vt=(ot=pr.find(Jt=>Jt.id===(Xt==null?void 0:Xt.type)))==null?void 0:ot.deal;nn[tt]=Vt(Xt),Ut(nn)},Ka=(se,tt,St)=>{var zt;const ot=St!==void 0,nn=(zt=pr.find(Jt=>Jt.id===(se==null?void 0:se.type)))==null?void 0:zt.type,Xt=`${tt+1}.${St===void 0?"":St+1+"."}`,Vt=`${(se==null?void 0:se.type)==="7"?"{{":""}${Xt}\u3010${nn}\u3011${(se==null?void 0:se.question)||""}`;return x.createElement(x.Fragment,null,ot&&x.createElement("h4",{contentEditable:!0}),x.createElement(xe,{id:se==null?void 0:se.id,tagName:"div",value:Vt}))},er=(se,tt)=>Lt(void 0,null,function*(){var St;const zt=yield ya(se,tt),ot=(St=zt==null?void 0:zt.data)==null?void 0:St.content;if(ot!=null&&ot.length){const nn=Ra(ot)[0];_e.splice(tt,1,nn),st.splice(tt,1,nn),ke([..._e]),Ut([...st])}}),Pa=(se,tt,St)=>{var zt;const ot=St!==void 0,nn=(zt=pr.find(Vt=>Vt.id===(se==null?void 0:se.type)))==null?void 0:zt.type,Xt=`${tt+1}.${St===void 0?"":St+1+"."}`;return ot?x.createElement("div",{style:{padding:"10px 18px"}},`${Xt}\u3010${nn}\u3011`,x.createElement(xe,{id:se==null?void 0:se.id,tagName:"span",className:he.edit,onBlur:Vt=>ra("question",tt,Vt,St),value:(se==null?void 0:se.question)||""})):x.createElement(x.Fragment,null,x.createElement("div",{className:he.actionHead},x.createElement("div",{className:"c-light-primary"},`${Xt}\u3010${nn}\u3011`),Qt!==1&&x.createElement($e.Z,{disabled:(se==null?void 0:se.type)==="7",min:0,max:100,style:{width:100,marginLeft:10},addonAfter:"\u5206",precision:1,size:"middle",onChange:Vt=>ra("score",tt,Vt,St),value:se==null?void 0:se.score}),x.createElement(Ge.Z,{align:"middle",style:{marginLeft:"auto"}},!!ya&&x.createElement("span",{className:"current c-light-primary mr30",onClick:()=>er(se,tt)},x.createElement("i",{className:"iconfont icon-huanyihuan mr5"}),"\u6362\u4E00\u6362"),x.createElement(Le.default,{onChange:Vt=>ra("checked",tt,Vt.target.checked,St),checked:!!(se!=null&&se.checked)},"\u4E0D\u5BFC\u5165\u6B64\u9898"))),x.createElement(xe,{id:se==null?void 0:se.id,tagName:"div",style:{padding:"10px 18px"},className:he.edit,onBlur:Vt=>ra("question",tt,Vt,St),value:se==null?void 0:se.question}))},Va=(se,tt,St)=>x.createElement(x.Fragment,null,["0","1","2","4"].includes(se==null?void 0:se.type)&&x.createElement(xe,{id:se==null?void 0:se.id,value:`\u7B54\u6848\uFF1A${tt||""}`,tagName:"p"}),!St&&x.createElement(xe,{id:se==null?void 0:se.id,value:`\u96BE\u5EA6\uFF1A${(se==null?void 0:se.difficulty)||""}`,tagName:"p"}),(se==null?void 0:se.type)!=="7"&&x.createElement(xe,{id:se==null?void 0:se.id,value:`\u89E3\u6790\uFF1A${(se==null?void 0:se.analyze)||""}`,tagName:"p"}),!St&&x.createElement(xe,{id:se==null?void 0:se.id,value:`\u77E5\u8BC6\u70B9\uFF1A${(se==null?void 0:se.knowledgePoint)||""}`,tagName:"p"})),ar=(se,tt,St,zt)=>{const ot=zt!==void 0,nn=["\u7B80\u5355","\u9002\u4E2D","\u56F0\u96BE"],Xt=ot&&!se.last&&!se.errorMsg?{marginBottom:10}:{},Vt=nn.map(Jt=>({key:Jt,label:Jt,onClick:()=>ra("difficulty",St,Jt,zt)}));return x.createElement("div",{className:he.liWrap,style:Xt},["4"].includes(se==null?void 0:se.type)&&x.createElement("div",{className:he.li},x.createElement("aside",null,"\u7B54\xA0\xA0\xA0\xA0\u6848\uFF1A"),x.createElement(xe,{id:se==null?void 0:se.id,tagName:"div",className:`${he.edit} c-black`,onBlur:Jt=>ra("answer",St,[Jt],zt),value:tt})),!ot&&x.createElement("div",{className:he.li},x.createElement("aside",null,"\u96BE\xA0\xA0\xA0\xA0\u5EA6\uFF1A"),x.createElement("div",{className:"c-black"},x.createElement(Te.Z,{menu:{items:Vt}},x.createElement("span",{className:"c-light-primary"},se==null?void 0:se.difficulty,x.createElement("i",{className:"iconfont icon-a-bianzu11 font14 ml4"}))))),(se==null?void 0:se.type)!=="7"&&x.createElement("div",{className:he.li},x.createElement("aside",null,"\u89E3\xA0\xA0\xA0\xA0\u6790\uFF1A"),x.createElement(xe,{id:se==null?void 0:se.id,tagName:"div",className:`${he.edit} c-grey-333`,onBlur:Jt=>ra("analyze",St,Jt,zt),value:se==null?void 0:se.analyze})),!ot&&x.createElement("div",{onKeyDown:on,className:he.li},x.createElement("aside",null,"\u77E5\u8BC6\u70B9\uFF1A"),x.createElement(xe,{id:se==null?void 0:se.id,tagName:"div",value:(se==null?void 0:se.knowledgePoint)||"",className:`${he.edit} c-grey-333`,onBlur:Jt=>ra("knowledgePoint",St,sa(Ia(Jt)),zt)})))},Qa=se=>x.createElement(x.Fragment,null,typeof(se==null?void 0:se.errorMsg)=="string"&&!!(se!=null&&se.errorMsg)&&x.createElement("h5",{contentEditable:!1},x.createElement("i",{className:"iconfont icon-shanchuhuanjing"}),x.createElement("div",null,se==null?void 0:se.errorMsg))),Nr=se=>x.createElement(x.Fragment,null,typeof(se==null?void 0:se.errorMsg)=="string"&&!!(se!=null&&se.errorMsg)&&x.createElement("h5",null,x.createElement("i",{className:"iconfont icon-shanchuhuanjing"}),x.createElement("div",null,se==null?void 0:se.errorMsg))),vr=(se,tt,St,zt)=>{let ot="flex";return(fa&&ja!==zt||qt&&!(St!=null&&St.errorMsg))&&(ot="none"),x.createElement("div",{className:he.row,style:{display:ot}},x.createElement("div",{className:he.leftLayout},Wn||x.createElement(Mn,null,x.createElement("div",{"data-text":"edit",contentEditable:!0,className:he.question},se))),x.createElement("div",{className:he.rightLayout},x.createElement(un,{className:St!=null&&St.errorMsg?he.error:""},tt)))},pr=[{id:"0",type:"\u5355\u9009\u9898",element:(se,tt,St)=>{var zt,ot;const nn=St!==void 0;let Xt=(zt=se==null?void 0:se.answer)==null?void 0:zt[0];const Vt=x.createElement(x.Fragment,null,Ka(se,tt,St),(ot=se==null?void 0:se.options)==null?void 0:ot.map((La,cn)=>x.createElement(xe,{id:se==null?void 0:se.id,key:cn,value:`${Kt[cn]}.${La}`,tagName:"p"})),Va(se,Xt,nn),Qa(se));let Jt=nn?se:st[tt];const $n=Jt==null?void 0:Jt.options,Da=x.createElement(x.Fragment,null,Pa(Jt,tt,St),$n==null?void 0:$n.map((La,cn)=>{var pa;return x.createElement("div",{key:cn,className:he.option},x.createElement("aside",{className:((pa=Jt==null?void 0:Jt.answer)==null?void 0:pa[0])===Kt[cn]?he.active:"",onClick:()=>ra("answer",tt,[Kt[cn]],St)},Kt[cn]),x.createElement(xe,{id:Jt==null?void 0:Jt.id,tagName:"div",className:`${he.text}`,onBlur:ha=>{$n[cn]=ha,ra("options",tt,$n,St)},value:La}))}),ar(Jt,"",tt,St),Nr(Jt));return nn?[Vt,Da]:vr(Vt,Da,Jt,tt)},deal:se=>{var tt,St,zt;se.score=se.score===void 0?2:se.score;let ot=sa((tt=se==null?void 0:se.answer)==null?void 0:tt[0]).toUpperCase();se.answer=ot?[ot]:[];let nn=[];if(!(se!=null&&se.options))nn.push("\u672A\u8BC6\u522B\u5230\u9009\u9879\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u201C A.\u9009\u9879\u4E00 B.\u9009\u9879\u4E8C C.\u9009\u9879\u4E09 \u201D");else{se.options=(St=se.options)==null?void 0:St.slice(0,8);const Xt=se.options.map(Jt=>Jt==null?void 0:Jt.trim().replace(/^\s+|\s+$/g,""));new Set(Xt).size!==Xt.length&&nn.push("\u9009\u9879\u5185\u5BB9\u91CD\u590D")}return ot||nn.push("\u672A\u8BC6\u522B\u5230\u7B54\u6848\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u201C \u7B54\u6848\uFF1AA \u201D"),ot&&(Kt.slice(0,((zt=se==null?void 0:se.options)==null?void 0:zt.length)||8).includes(ot)||nn.push("\u6B63\u786E\u7B54\u6848\u8BBE\u7F6E\u6709\u8BEF\uFF0C\u8BF7\u91CD\u65B0\u8BBE\u7F6E\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u201C \u7B54\u6848\uFF1AA \u201D")),sa(se==null?void 0:se.question)||nn.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),se.errorMsg=nn.join(`
`),se}},{id:"1",type:"\u591A\u9009\u9898",element:(se,tt,St)=>{var zt,ot;const nn=St!==void 0;let Xt=(zt=se==null?void 0:se.answer)==null?void 0:zt[0];const Vt=x.createElement(x.Fragment,null,Ka(se,tt,St),(ot=se==null?void 0:se.options)==null?void 0:ot.map((La,cn)=>x.createElement(xe,{id:se==null?void 0:se.id,key:cn,value:`${Kt[cn]}.${La}`,tagName:"p"})),Va(se,Xt,nn),Qa(se));let Jt=nn?se:st[tt];const $n=Jt==null?void 0:Jt.options,Da=x.createElement(x.Fragment,null,Pa(Jt,tt,St),$n==null?void 0:$n.map((La,cn)=>{var pa,ha;return x.createElement("div",{key:cn,className:he.option},x.createElement("aside",{className:(ha=(pa=Jt==null?void 0:Jt.answer)==null?void 0:pa[0])!=null&&ha.includes(Kt[cn])?he.active:"",onClick:()=>{var Ea;let hr=((Ea=Jt==null?void 0:Jt.answer)==null?void 0:Ea[0])||"";const Mr=Kt[cn];hr.includes(Mr)?hr=hr.replace(new RegExp(Mr,"g"),""):hr+=Mr,hr=hr.split("").sort().join(""),ra("answer",tt,[hr],St)}},Kt[cn]),x.createElement(xe,{id:Jt==null?void 0:Jt.id,tagName:"div",className:`${he.text}`,onBlur:Ea=>{$n[cn]=Ea,ra("options",tt,$n,St)},value:La}))}),ar(Jt,"",tt,St),Nr(Jt));return nn?[Vt,Da]:vr(Vt,Da,Jt,tt)},deal:se=>{var tt,St,zt;se.score=se.score===void 0?2:se.score;let ot=sa((tt=se==null?void 0:se.answer)==null?void 0:tt[0]).toUpperCase().split("").sort().join("");se.answer=ot?[ot]:[];let nn=[];if(!(se!=null&&se.options))nn.push("\u672A\u8BC6\u522B\u5230\u9009\u9879\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u201C A.\u9009\u9879\u4E00 B.\u9009\u9879\u4E8C C.\u9009\u9879\u4E09 \u201D");else{se.options=(St=se.options)==null?void 0:St.slice(0,8);const Xt=se.options.map(Jt=>Jt==null?void 0:Jt.trim().replace(/^\s+|\s+$/g,""));new Set(Xt).size!==Xt.length&&nn.push("\u9009\u9879\u5185\u5BB9\u91CD\u590D")}if(ot||nn.push("\u672A\u8BC6\u522B\u5230\u7B54\u6848\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u201C \u7B54\u6848\uFF1AAB \u201D"),ot){const Xt=Kt.slice(0,((zt=se==null?void 0:se.options)==null?void 0:zt.length)||8);Sa(Xt).includes(ot)||nn.push("\u6B63\u786E\u7B54\u6848\u8BBE\u7F6E\u6709\u8BEF\uFF0C\u8BF7\u91CD\u65B0\u8BBE\u7F6E\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u201C \u7B54\u6848\uFF1AAB \u201D")}return sa(se==null?void 0:se.question)||nn.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),se.errorMsg=nn.join(`
`),se}},{id:"2",type:"\u5224\u65AD\u9898",element:(se,tt,St)=>{var zt,ot;const nn=St!==void 0;let Xt=(zt=se==null?void 0:se.answer)==null?void 0:zt[0];const Vt=x.createElement(x.Fragment,null,Ka(se,tt,St),Va(se,Xt,nn),Qa(se));let Jt=nn?se:st[tt];const $n=["\u6B63\u786E","\u9519\u8BEF"];let Da=((ot=Jt==null?void 0:Jt.answer)==null?void 0:ot[0])||"";["\u6B63\u786E","\u5BF9","T","True","t","true"].includes(Da)?Da="\u6B63\u786E":["\u9519\u8BEF","\u9519","T","true","t","false"].includes(Da)&&(Da="\u9519\u8BEF");const La=x.createElement(x.Fragment,null,Pa(Jt,tt,St),$n==null?void 0:$n.map((cn,pa)=>x.createElement("div",{key:pa,className:he.option},x.createElement("aside",{style:{borderRadius:2},className:Da===cn?he.active:"",onClick:()=>ra("answer",tt,[cn],St)},cn==="\u6B63\u786E"?"T":"F"),x.createElement("div",{style:{pointerEvents:"none"},className:`${he.text}`},cn))),ar(Jt,"",tt,St),Nr(Jt));return nn?[Vt,La]:vr(Vt,La,Jt,tt)},deal:se=>{var tt;se.score=se.score===void 0?2:se.score;let St=sa((tt=se==null?void 0:se.answer)==null?void 0:tt[0]);se.answer=St?[St]:[];let zt=[];return St||zt.push("\u672A\u8BC6\u522B\u5230\u7B54\u6848\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u201C \u7B54\u6848\uFF1A\u9519\u8BEF\u201D"),St&&!["\u6B63\u786E","\u5BF9","T","True","t","true","\u9519\u8BEF","\u9519","T","true","t","false"].includes(St)&&zt.push("\u6B63\u786E\u7B54\u6848\u8BBE\u7F6E\u6709\u8BEF\uFF0C\u8BF7\u91CD\u65B0\u8BBE\u7F6E\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u201C \u7B54\u6848\uFF1A\u9519\u8BEF\u201D"),sa(se==null?void 0:se.question)||zt.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),se.errorMsg=zt.join(`
`),se}},{id:"3",type:"\u586B\u7A7A\u9898",element:(se,tt,St)=>{var zt,ot;const nn=St!==void 0,Xt=x.createElement(x.Fragment,null,Ka(se,tt,St),(zt=se==null?void 0:se.answer)==null?void 0:zt.map(($n,Da)=>x.createElement(xe,{id:se==null?void 0:se.id,key:Da,tagName:"p",value:`\u7B54\u6848${Da+1}\uFF1A${$n.text||""}`})),Va(se,"",nn),Qa(se));let Vt=nn?se:st[tt];const Jt=x.createElement(x.Fragment,null,Pa(Vt,tt,St),(ot=Vt==null?void 0:Vt.answer)==null?void 0:ot.map(($n,Da)=>x.createElement("div",{key:Da,className:he.option},x.createElement("aside",{className:he.fill},"\u586B\u7A7A\u9879",Da+1),$n.model===1&&x.createElement(xe,{id:Vt==null?void 0:Vt.id,tagName:"div",onBlur:La=>{Vt.answer[Da].latex=Ia(La),ra("answer",tt,Vt.answer,St)},className:`${he.text}`,value:$n.latex}),$n.model===2&&x.createElement(Me.Z,{value:$n.latex,onChange:La=>{Vt.answer[Da].latex=La,ra("answer",tt,Vt.answer,St)}}))),ar(Vt,"",tt,St),Nr(Vt));return nn?[Xt,Jt]:vr(Xt,Jt,Vt,tt)},deal:se=>{var tt,St,zt,ot;se.score=se.score===void 0?2:se.score,se.question=(tt=se.question)==null?void 0:tt.replaceAll("\u2581","_");const nn=(St=se.answer)==null?void 0:St.map(Vt=>{if(Object.prototype.toString.call(Vt)==="[object Object]")return Vt;Vt=Vt==null?void 0:Vt.trim();const Jt={model:1,text:Vt,latex:Vt};return Vt.startsWith("$$")&&Vt.endsWith("$$")||Vt.startsWith("`$$")&&Vt.endsWith("$$`")?(Jt.model=2,Jt.latex=Vt.slice(2,-2)):Jt.latex=Ia(Vt),Jt});se.answer=nn;let Xt=[];return nn||Xt.push("\u672A\u8BC6\u522B\u5230\u7B54\u6848\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u7B54\u68481\uFF1A\u4E2D\u56FD\uFF1B\u7B54\u68482\uFF1A\u4E16\u754C"),sa(se==null?void 0:se.question)?se!=null&&se.question.includes("_")?(zt=se==null?void 0:se.answer)!=null&&zt.length&&((se==null?void 0:se.question.match(/_+/g))||[]).length!==((ot=se==null?void 0:se.answer)==null?void 0:ot.length)&&Xt.push("\u586B\u7A7A\u9879\u4E0E\u7B54\u6848\u4E2A\u6570\u4E0D\u5339\u914D\uFF0C\u8BF7\u8FDB\u884C\u8C03\u6574"):Xt.push("\u586B\u7A7A\u9879\u672A\u8BBE\u7F6E\uFF0C\u8BF7\u4F7F\u7528\u82F1\u6587\u4E0B\u5212\u7EBF\u201C___\u201D\u8868\u793A\u586B\u7A7A\u9879"):Xt.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),se.errorMsg=Xt.join(`
`),se}},{id:"4",type:"\u7B80\u7B54\u9898",element:(se,tt,St)=>{var zt,ot;const nn=St!==void 0;let Xt=(zt=se==null?void 0:se.answer)==null?void 0:zt[0];const Vt=x.createElement(x.Fragment,null,Ka(se,tt,St),Va(se,Xt,nn),Qa(se));let Jt=nn?se:st[tt];const $n=x.createElement(x.Fragment,null,Pa(Jt,tt,St),ar(Jt,(ot=Jt==null?void 0:Jt.answer)==null?void 0:ot[0],tt,St),Nr(Jt));return nn?[Vt,$n]:vr(Vt,$n,Jt,tt)},deal:se=>{se.score=se.score===void 0?5:se.score;let tt=[];return sa(se==null?void 0:se.question)||tt.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),se.errorMsg=tt.join(`
`),se}},{id:"6",type:"\u7F16\u7A0B\u9898",element:(se,tt)=>{var St,zt;const ot=st[tt],nn=Fn.slice(0,4).map(Xt=>({key:Xt,label:Xt,onClick:()=>ra("platform",tt,Xt)}));return x.createElement("div",{className:he.row,style:{display:qt?ot!=null&&ot.errorMsg?"flex":"none":"flex"}},x.createElement("div",{className:he.leftLayout},x.createElement(Mn,null,x.createElement("div",{"data-text":"edit",contentEditable:!0,className:he.question},Ka(se,tt),x.createElement(xe,{id:se==null?void 0:se.id,value:`\u8BD5\u9898\u63CF\u8FF0\uFF1A${(se==null?void 0:se.description)||""}`,tagName:"p"}),Va(se),x.createElement(xe,{id:se==null?void 0:se.id,value:`\u65F6\u95F4\u9650\u5236\uFF08\u79D2\uFF09\uFF1A${se==null?void 0:se.timeLimit}`,tagName:"p"}),x.createElement(xe,{id:se==null?void 0:se.id,value:`\u7F16\u7A0B\u8BED\u8A00\uFF1A${(se==null?void 0:se.platform)||""}`,tagName:"p"}),x.createElement("p",{contentEditable:!0},"\u5B66\u5458\u521D\u59CB\u4EE3\u7801\uFF1A"),x.createElement("h4",null),x.createElement(xe,{id:se==null?void 0:se.id,value:(se==null?void 0:se.code)||"",tagName:"div"}),(St=se==null?void 0:se.inputs)==null?void 0:St.map((Xt,Vt)=>{var Jt;return x.createElement(x.Fragment,{key:Vt},x.createElement("h4",null),x.createElement(xe,{id:se==null?void 0:se.id,value:`\u6D4B\u8BD5\u7528\u4F8B(${Vt+1})\u8F93\u5165\uFF1A${Xt||""}`,tagName:"div"}),x.createElement(xe,{id:se==null?void 0:se.id,value:`\u6D4B\u8BD5\u7528\u4F8B(${Vt+1})\u8F93\u51FA\uFF1A${((Jt=se==null?void 0:se.outputs)==null?void 0:Jt[Vt])||""}`,tagName:"div"}))}),Qa(se)))),x.createElement("div",{className:he.rightLayout},x.createElement(un,{className:ot!=null&&ot.errorMsg?he.error:""},Pa(ot,tt),x.createElement("div",{className:he.liWrap,style:{background:"transparent",marginBottom:0,padding:0}},x.createElement("div",{className:he.li},x.createElement("aside",null,"\u8BD5\u9898\u63CF\u8FF0\uFF1A"),x.createElement(xe,{className:he.edit,id:ot==null?void 0:ot.id,value:ot==null?void 0:ot.description,tagName:"div",onBlur:Xt=>ra("description",tt,Xt)}))),ar(ot,"",tt),x.createElement("div",{className:he.liWrap},x.createElement("div",{className:he.li},x.createElement("aside",null,"\u65F6\u95F4\u9650\u5236\uFF08\u79D2\uFF09\uFF1A"),x.createElement(xe,{className:he.edit,id:ot==null?void 0:ot.id,value:ot==null?void 0:ot.timeLimit,tagName:"div",onBlur:Xt=>ra("timeLimit",tt,Ia(Xt))})),x.createElement("div",{className:he.li},x.createElement("aside",null,"\u7F16\u7A0B\u8BED\u8A00\uFF1A"),x.createElement("div",{className:"c-black"},x.createElement(Te.Z,{menu:{items:nn}},x.createElement("span",{className:"c-light-primary"},ot==null?void 0:ot.platform,x.createElement("i",{className:"iconfont icon-a-bianzu11 font14 ml4"}))))),x.createElement("div",{className:he.li,style:{flexDirection:"column",alignItems:"start"}},x.createElement("aside",{className:"mb10"},"\u5B66\u5458\u521D\u59CB\u4EE3\u7801\uFF1A"),x.createElement(xe,{className:he.edit,id:ot==null?void 0:ot.id,value:(ot==null?void 0:ot.code)||"",onBlur:Xt=>ra("code",tt,Ia(Xt)),tagName:"div"}))),(zt=ot==null?void 0:ot.inputs)==null?void 0:zt.map((Xt,Vt)=>{var Jt;return x.createElement("div",{className:he.liWrap,key:Vt},x.createElement("div",{className:he.li},x.createElement("aside",null,"\u6D4B\u8BD5\u7528\u4F8B(",Vt+1,")\u8F93\u5165\uFF1A"),x.createElement(xe,{id:ot==null?void 0:ot.id,value:Xt||"",className:he.edit,onBlur:$n=>{const Da=[...(ot==null?void 0:ot.inputs)||[]];Da[Vt]=Ia($n),ra("inputs",tt,Da)},tagName:"div"})),x.createElement("div",{className:he.li},x.createElement("aside",null,"\u6D4B\u8BD5\u7528\u4F8B(",Vt+1,")\u8F93\u51FA\uFF1A"),x.createElement(xe,{id:ot==null?void 0:ot.id,value:((Jt=ot==null?void 0:ot.outputs)==null?void 0:Jt[Vt])||"",className:he.edit,onBlur:$n=>{const Da=[...(ot==null?void 0:ot.outputs)||[]];Da[Vt]=Ia($n),ra("outputs",tt,Da)},tagName:"div"})))}),Nr(ot))))},deal:se=>{var tt,St,zt;se.score=se.score===void 0?10:se.score,se.code=(tt=se.code)==null?void 0:tt.trim();let ot=[];sa(se==null?void 0:se.question)?((St=se==null?void 0:se.question)==null?void 0:St.length)>60&&ot.push("\u7F16\u7A0B\u9898\u540D\u79F0\u9650\u523660\u4E2A\u5B57\u7B26"):ot.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),sa(se==null?void 0:se.description)||ot.push("\u672A\u8BC6\u522B\u5230\u8BD5\u9898\u63CF\u8FF0");const nn=sa(String((se==null?void 0:se.timeLimit)||""));if(se.timeLimit=nn,(!nn||nn&&!["3","4","5","6","7","8","9","10"].includes(nn))&&ot.push("\u65F6\u95F4\u9650\u5236\u4E3A\u5FC5\u586B\u9879\uFF0C\u53EA\u652F\u63013-10\u7684\u6574\u6570"),se.platform=sa(se==null?void 0:se.platform),se!=null&&se.platform){const Xt=["c","c++","java","python"],Vt=(zt=se==null?void 0:se.platform)==null?void 0:zt.toLowerCase(),Jt=Xt.findIndex($n=>$n===Vt);Jt>-1?se.platform=Fn[Jt]:ot.push("\u7F16\u7A0B\u8BED\u8A00\u4E3A\u5FC5\u586B\u9879\uFF0C\u76EE\u524D\u53EA\u652F\u6301C\u3001C++\u3001Python\u3001Java\u8BED\u8A00")}else ot.push("\u7F16\u7A0B\u8BED\u8A00\u4E3A\u5FC5\u586B\u9879\uFF0C\u76EE\u524D\u53EA\u652F\u6301C\u3001C++\u3001Python\u3001Java\u8BED\u8A00");if(!(se!=null&&se.inputs)||!(se!=null&&se.outputs))se.inputs=[],se.outputs=[],ot.push("\u672A\u8BC6\u522B\u5230\u6D4B\u8BD5\u7528\u4F8B\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u6D4B\u8BD5\u7528\u4F8B(1)\u8F93\u5165\uFF1A1\uFF1B\u6D4B\u8BD5\u7528\u4F8B(1)\u8F93\u51FA\uFF1A2");else{const Xt=Math.min(se.inputs.length,se.outputs.length);se.inputs=se.inputs.slice(0,Xt),se.outputs=se.outputs.slice(0,Xt),se.outputs.some(Vt=>!sa(Vt))&&ot.push("\u6D4B\u8BD5\u7528\u4F8B\u8F93\u51FA\u4E3A\u5FC5\u586B\u9879")}return se.errorMsg=ot.join(`
`),se}},{id:"7",type:"\u7EC4\u5408\u9898",element:(se,tt)=>{var St,zt;const ot=st[tt];return x.createElement("div",{className:he.row,style:{display:qt?ot!=null&&ot.errorMsg?"flex":"none":"flex"}},x.createElement("div",{className:he.leftLayout},x.createElement(Mn,null,x.createElement("div",{"data-text":"edit",contentEditable:!0,className:he.question},Ka(se,tt),Va(se),(St=se==null?void 0:se.questions)==null?void 0:St.map((nn,Xt)=>{var Vt;const Jt=(Vt=pr.find($n=>$n.id===(nn==null?void 0:nn.type)))==null?void 0:Vt.element;return x.createElement(x.Fragment,{key:`left-${se.id}-${Xt}`},Jt(nn,tt,Xt)[0])}),Qa(se),x.createElement("p",{contentEditable:!0},"}}")))),x.createElement("div",{className:he.rightLayout},x.createElement(un,{className:ot!=null&&ot.errorMsg?he.error:""},Pa(ot,tt),ar(ot,"",tt),(zt=ot==null?void 0:ot.questions)==null?void 0:zt.map((nn,Xt)=>{var Vt;const Jt=(Vt=pr.find($n=>$n.id===(nn==null?void 0:nn.type)))==null?void 0:Vt.element;return x.createElement(x.Fragment,{key:`right-${ot.id}-${Xt}`},Jt(nn,tt,Xt)[1])}),Nr(ot))))},deal:se=>{var tt,St,zt,ot,nn;const Xt=Ra,Vt=[...pr],Jt=Vt.findIndex(cn=>cn.id==="0"),$n=Vt.findIndex(cn=>cn.id==="1");if(Jt!==-1){const cn=Vt[Jt].deal;Vt[Jt].deal=pa=>{const ha=cn(pa);return ha.errorMsg&&(ha.errorMsg=ha.errorMsg.split(`
`).filter(Ea=>Ea!=="\u9009\u9879\u5185\u5BB9\u91CD\u590D").join(`
`)),ha}}if($n!==-1){const cn=Vt[$n].deal;Vt[$n].deal=pa=>{const ha=cn(pa);return ha.errorMsg&&(ha.errorMsg=ha.errorMsg.split(`
`).filter(Ea=>Ea!=="\u9009\u9879\u5185\u5BB9\u91CD\u590D").join(`
`)),ha}}se.questions=(tt=se.questions)!=null&&tt.length?Ra(se.questions.slice(0,20)):[],se.questions=(St=se.questions)==null?void 0:St.map((cn,pa)=>{var ha;if(cn.type==="0"||cn.type==="1"){const Ea=(ha=cn.options)==null?void 0:ha.map(hr=>hr==null?void 0:hr.trim().replace(/^\s+|\s+$/g,""));Ea&&new Set(Ea).size!==Ea.length&&(cn.errorMsg=(cn.errorMsg?cn.errorMsg+`
`:"")+"\u9009\u9879\u5185\u5BB9\u91CD\u590D")}return Rn(Gn({},cn),{last:pa===se.questions.length-1})});const Da=(zt=se.questions)==null?void 0:zt.reduce((cn,pa)=>{const ha=parseFloat(pa.score);return isNaN(ha)?cn:cn+ha},0);se.score=Da;let La=[];return(ot=se.questions)!=null&&ot.length?se.errorMsg=((nn=se.questions)==null?void 0:nn.findIndex(cn=>!!cn.errorMsg))>-1:La.push("\u8BF7\u6DFB\u52A0\u5C0F\u9898"),sa(se==null?void 0:se.question)||La.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),La.length&&(se.errorMsg=La.join(`
`)),se}},{id:"8",type:"\u7A0B\u5E8F\u586B\u7A7A\u9898",element:(se,tt)=>{var St,zt;const ot=st[tt],nn=Fn.map(Xt=>({key:Xt,label:Xt,onClick:()=>ra("platform",tt,Xt)}));return x.createElement("div",{className:he.row,style:{display:qt?ot!=null&&ot.errorMsg?"flex":"none":"flex"}},x.createElement("div",{className:he.leftLayout},x.createElement(Mn,null,x.createElement("div",{"data-text":"edit",contentEditable:!0,className:he.question},Ka(se,tt),Va(se),x.createElement(xe,{id:se==null?void 0:se.id,value:`\u65F6\u95F4\u9650\u5236\uFF08\u79D2\uFF09\uFF1A${se==null?void 0:se.timeLimit}`,tagName:"p"}),x.createElement(xe,{id:se==null?void 0:se.id,value:`\u7F16\u7A0B\u8BED\u8A00\uFF1A${(se==null?void 0:se.platform)||""}`,tagName:"p"}),x.createElement("p",{contentEditable:!0},"\u7A0B\u5E8F\u4EE3\u7801\uFF1A"),x.createElement("h4",null),x.createElement(xe,{id:se==null?void 0:se.id,value:(se==null?void 0:se.code)||"",tagName:"div"}),x.createElement("h4",null),x.createElement(xe,{id:se==null?void 0:se.id,value:`\u6D4B\u8BD5\u7528\u4F8B\u8F93\u5165\uFF1A${(se==null?void 0:se.input)||""}`,tagName:"p"}),x.createElement(xe,{id:se==null?void 0:se.id,value:`\u6D4B\u8BD5\u7528\u4F8B\u8F93\u51FA\uFF1A${(se==null?void 0:se.output)||""}`,tagName:"p"}),(St=se==null?void 0:se.answer)==null?void 0:St.map((Xt,Vt)=>x.createElement(xe,{key:Vt,id:se==null?void 0:se.id,value:`\u7B54\u6848${Vt+1}\uFF1A${Xt||""}`,tagName:"p"})),Qa(se)))),x.createElement("div",{className:he.rightLayout},x.createElement(un,{className:ot!=null&&ot.errorMsg?he.error:""},Pa(ot,tt),ar(ot,"",tt),x.createElement("div",{className:he.liWrap},x.createElement("div",{className:he.li,onKeyDown:on},x.createElement("aside",null,"\u65F6\u95F4\u9650\u5236\uFF08\u79D2\uFF09\uFF1A"),x.createElement(xe,{className:he.edit,id:ot==null?void 0:ot.id,value:ot==null?void 0:ot.timeLimit,tagName:"div",onBlur:Xt=>ra("timeLimit",tt,Ia(Xt))})),x.createElement("div",{className:he.li},x.createElement("aside",null,"\u7F16\u7A0B\u8BED\u8A00\uFF1A"),x.createElement("div",{className:"c-black"},x.createElement(Te.Z,{menu:{items:nn}},x.createElement("span",{className:"c-light-primary"},ot==null?void 0:ot.platform,x.createElement("i",{className:"iconfont icon-a-bianzu11 font14 ml4"}))))),x.createElement("div",{className:he.li,style:{flexDirection:"column",alignItems:"start"}},x.createElement("aside",{className:"mb10"},"\u7A0B\u5E8F\u4EE3\u7801\uFF1A"),x.createElement(xe,{className:he.edit,id:ot==null?void 0:ot.id,value:(ot==null?void 0:ot.code)||"",onBlur:Xt=>ra("code",tt,Ia(Xt)),tagName:"div"})),x.createElement("div",{className:he.li},x.createElement("aside",null,"\u6D4B\u8BD5\u7528\u4F8B\u8F93\u5165\uFF1A"),x.createElement(xe,{className:he.edit,id:ot==null?void 0:ot.id,value:(ot==null?void 0:ot.input)||"",onBlur:Xt=>ra("input",tt,Ia(Xt)),tagName:"div"})),x.createElement("div",{className:he.li},x.createElement("aside",null,"\u6D4B\u8BD5\u7528\u4F8B\u8F93\u51FA\uFF1A"),x.createElement(xe,{className:he.edit,id:ot==null?void 0:ot.id,value:(ot==null?void 0:ot.output)||"",onBlur:Xt=>ra("output",tt,Ia(Xt)),tagName:"div"}))),x.createElement("div",{className:he.liWrap},(zt=ot==null?void 0:ot.answer)==null?void 0:zt.map((Xt,Vt)=>x.createElement("div",{className:he.li,key:Vt},x.createElement("aside",null,"\u7B54\u6848",Vt+1,"\uFF1A"),x.createElement(xe,{id:ot==null?void 0:ot.id,value:Xt||"",className:he.edit,onBlur:Jt=>{const $n=[...(ot==null?void 0:ot.answer)||[]];$n[Vt]=Ia(Jt),ra("output",tt,$n)},tagName:"div"})))),Nr(ot))))},deal:se=>{var tt,St,zt,ot,nn,Xt,Vt,Jt;se.score=se.score===void 0?10:se.score,se.code=(zt=(St=(tt=se.code)==null?void 0:tt.trim())==null?void 0:St.replace(/@_@/g,"@\u2581@"))==null?void 0:zt.replace(/@__@/g,"@\u2581\u2581@");let $n=[];if(sa(se==null?void 0:se.question)||$n.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),sa(se==null?void 0:se.code)?/@▁@|@▁▁@/.test(se==null?void 0:se.code)?(ot=se==null?void 0:se.answer)!=null&&ot.length&&((nn=se==null?void 0:se.code.match(/@▁@|@▁▁@/g))==null?void 0:nn.length)!==((Xt=se==null?void 0:se.answer)==null?void 0:Xt.length)&&$n.push("\u586B\u7A7A\u9879\u4E0E\u7B54\u6848\u4E2A\u6570\u4E0D\u5339\u914D\uFF0C\u8BF7\u8FDB\u884C\u8C03\u6574"):$n.push("\u7A0B\u5E8F\u4EE3\u7801\u8BBE\u7F6E\u6709\u8BEF\uFF0C\u8BF7\u91CD\u65B0\u8BBE\u7F6E\u3002\u7A0B\u5E8F\u4EE3\u7801\u4E2D\u7684\u586B\u7A7A\u9879\u9700\u8981\u4F7F\u7528 @\u2581@ \u7B26\u53F7\u6807\u8BC6\u51FA\u6765"):$n.push("\u672A\u8BC6\u522B\u5230\u7A0B\u5E8F\u4EE3\u7801"),se!=null&&se.answer?(Vt=se.answer)!=null&&Vt.some(La=>!sa(La))&&$n.push("\u7B54\u6848\u4E3A\u5FC5\u586B\u9879"):$n.push("\u672A\u8BC6\u522B\u5230\u7B54\u6848\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u7B54\u68481\uFF1AHello\uFF1B\u7B54\u68482\uFF1AWorld"),se.platform=sa(se==null?void 0:se.platform),se!=null&&se.platform){const La=["c","c++","java","python","javascript","ruby"],cn=(Jt=se==null?void 0:se.platform)==null?void 0:Jt.toLowerCase(),pa=La.findIndex(ha=>ha===cn);pa>-1?se.platform=Fn[pa]:$n.push("\u7F16\u7A0B\u8BED\u8A00\u4E3A\u5FC5\u586B\u9879\uFF0C\u76EE\u524D\u53EA\u652F\u6301C\u3001C++\u3001Python\u3001Java\u3001JavaScript\u3001Ruby\u8BED\u8A00")}else $n.push("\u7F16\u7A0B\u8BED\u8A00\u4E3A\u5FC5\u586B\u9879\uFF0C\u76EE\u524D\u53EA\u652F\u6301C\u3001C++\u3001Python\u3001Java\u3001JavaScript\u3001Ruby\u8BED\u8A00");sa(se==null?void 0:se.output)||$n.push("\u6D4B\u8BD5\u7528\u4F8B\u8F93\u51FA\u4E3A\u5FC5\u586B\u9879");const Da=sa(String((se==null?void 0:se.timeLimit)||""));return se.timeLimit=Da,(!Da||Da&&!["3","4","5","6","7","8","9","10"].includes(Da))&&$n.push("\u65F6\u95F4\u9650\u5236\u4E3A\u5FC5\u586B\u9879\uFF0C\u53EA\u652F\u63013-10\u7684\u6574\u6570"),se.errorMsg=$n.join(`
`),se}}],uo=()=>x.createElement(x.Fragment,null,_e.filter(se=>{var tt;return!!((tt=pr.find(zt=>zt.id===(se==null?void 0:se.type)))==null?void 0:tt.element)}).map((se,tt)=>{var St;const zt=(St=pr.find(ot=>ot.id===(se==null?void 0:se.type)))==null?void 0:St.element;return x.createElement(x.Fragment,{key:se.id},zt(se,tt))})),Fo=()=>Lt(void 0,null,function*(){const se=st.filter(tt=>!tt.checked);if(Ee!==3||!se.length){Ze.ZP.warning("\u672A\u8BC6\u522B\u5230\u8BD5\u9898\uFF01");return}if(En){Ga(!0),yield En(st),Ga(!1);return}$a.setFieldsValue({sub_discipline_id:fn}),dn(!0)}),oo=(se,tt=[])=>{if(typeof se=="string")return se.trim();if(Array.isArray(se))return se.map(St=>oo(St,tt));if(typeof se=="object"&&se!==null){const St={};for(const zt in se)se.hasOwnProperty(zt)&&(tt.includes(zt)?St[zt]=se[zt]:St[zt]=oo(se[zt],tt));return St}return se},Yr=se=>Lt(void 0,null,function*(){const tt=Ra(oo(se));ke(tt),Ut(JSON.parse(JSON.stringify(tt))),Je(3),De(!1),In(!1)});(0,x.useEffect)(()=>{if(Na)return;const se=()=>{lt(tt=>tt>=90?(clearInterval(va.current),90):tt+1)};return va.current=setInterval(se,5e4/90),()=>clearInterval(va.current)},[Na]);const so=(se,tt)=>{Ca(!1);const St=new FormData;Object.keys(tt).forEach(ot=>{St.append(ot,tt[ot])});const zt=new window.XMLHttpRequest;zt.withCredentials=!0,zt.addEventListener("load",function(ot){return Lt(this,null,function*(){var nn,Xt;try{const Vt=JSON.parse((nn=ot==null?void 0:ot.target)==null?void 0:nn.response);if(Ca(!0),lt(100),yield new Promise(Jt=>setTimeout(()=>Jt(),780)),Vt.status===0){if(!((Xt=Vt==null?void 0:Vt.data)!=null&&Xt.length)){Ze.ZP.warning("\u672A\u8BC6\u522B\u5230\u8BD5\u9898!"),De(!1);return}Yr((Vt==null?void 0:Vt.data)||[])}else De(!1),Ze.ZP.warning(Vt==null?void 0:Vt.message)}catch(Vt){console.log("\u8BF7\u6C42\u9519\u8BEF\uFF1A",Vt)}})}),zt.addEventListener("error",()=>{De(!1)}),zt.open("POST",`${y.Z.API_SERVER}${se}`),zt.send(St)},ea=se=>Lt(void 0,null,function*(){const tt=se.name.split(".").slice(-1)[0].toLowerCase();return["docx"].indexOf(tt)==-1?(Ze.ZP.error(`${se.name}\u6587\u4EF6\u65E0\u6CD5\u4E0A\u4F20\uFF0C\u5F53\u524D\u4EC5\u9650\u652F\u6301\u683C\u5F0F\u4E3Adocx\u6587\u4EF6\uFF08Microsoft Word 2007\u4EE5\u4E0A\u7684\u7248\u672C\uFF09`),Promise.reject()):(De(!0),ut("\u5904\u7406\u4E2D"),so("/api/intelligent_imports/import.json",{file:se}),Promise.reject())});let Sn=[{key:1,label:x.createElement(We.default,{showUploadList:!1,accept:".docx",maxCount:1,beforeUpload:ea},x.createElement("div",{style:{padding:"0 5px",width:108,height:35,lineHeight:"35px"}},"\u672C\u5730\u5BFC\u5165"))}];((0,Pt.Ny)()||(0,Pt.$O)())&&Sn.push({key:2,label:x.createElement("div",{style:{padding:"0 5px"}},"\u5927\u6A21\u578B\u667A\u80FD\u51FA\u9898"),onClick:()=>{aa.current.onClick()}});const Ot=[st.length,(Ln=st.filter(se=>!!(se!=null&&se.errorMsg)))==null?void 0:Ln.length];return x.createElement("div",{className:Ne()(he.intelligentBox,"intelligent-body-curb",Yt),style:Rn(Gn({},_n),{width:wn}),ref:Ht},x.createElement("div",{className:he.underpin},x.createElement("b",{style:Ba}),x.createElement("b",{style:Ba})),x.createElement("div",{className:he.head,style:{top:Nt}},x.createElement("div",{className:he.leftLayout},Jn||x.createElement(x.Fragment,null,x.createElement(Ge.Z,{align:"middle"},x.createElement("div",{className:he.title},"\u8BD5\u9898\u7F16\u8F91"),!Dn&&x.createElement(b.op,{href:`${y.Z.API_SERVER}/api/intelligent_imports/download_template`,download:!0,type:"link"},"\u4E0B\u8F7DWord\u6A21\u7248",x.createElement("i",{className:"iconfont icon-xiazai4 font14 ml10"})),x.createElement(b.op,{onClick:Qn,shape:"default"},"\u4E00\u952E\u6E05\u7A7A"),!Dn&&x.createElement(Te.Z,{overlayClassName:he.menu,menu:{items:Sn}},x.createElement(b.op,{className:"ml20",type:"primary",shape:"default"},"\u5BFC\u5165\u8BD5\u9898")),!!Ta&&Ta),x.createElement("div",{className:he.tip},x.createElement("i",{className:"iconfont icon-tishi7 font12 mr10"}),"\u63D0\u793A\uFF1A\u82E5\u8BC6\u522B\u6709\u8BEF\uFF0C\u53EF\u5728\u5DE6\u4FA7\u7F16\u8F91\u533A\u70B9\u51FB\u5BF9\u5E94\u7684\u8BD5\u9898\u6309\u683C\u5F0F\u4FEE\u6539\u540E\u91CD\u65B0\u8BC6\u522B"))),x.createElement(Ge.Z,{className:he.rightLayout,style:{alignItems:"start"}},wa||x.createElement(x.Fragment,null,x.createElement("div",{className:he.title,style:{marginRight:0}},"\u8BD5\u9898\u9884\u89C8"),[3].includes(Ee)&&x.createElement(Le.default,{className:"ml20",checked:qt,onChange:se=>In(se.target.checked)},"\u4EC5\u67E5\u770B\u9519\u8BEF\u8BD5\u9898"),[3].includes(Ee)&&x.createElement("div",{style:{color:"#5F6368",marginLeft:"auto"}},"\u5171\u8BC6\u522B",x.createElement("span",{className:"ml5 mr5 c-light-primary"},Ot[0]),"\u9898\uFF0C\u5176\u4E2D\u8BC6\u522B\u6709\u8BEF",x.createElement("span",{className:"ml5 mr5 c-red-e53"},Ot[1]),"\u9898")),fa&&x.createElement("div",{className:he.tabs},_e==null?void 0:_e.map((se,tt)=>x.createElement("div",{onClick:()=>{xa(tt)},className:ja===tt&&he.active,key:tt},"\u65B0\u9898",tt+1)))),x.createElement("div",{className:he.centerBox},x.createElement("img",{className:"mb10",src:le,width:56}),!jn&&x.createElement(b.op,{onClick:ka},"\u8BC6\u522B"))),[1,2].includes(Ee)&&nr(),[3].includes(Ee)&&uo(),x.createElement("div",{className:"pb10"}),x.createElement("div",{className:he.buttonFixed},x.createElement("div",{className:he.buttonWrap},x.createElement(Qe.ZP,{size:"middle",className:`${he.button} mr20`,onClick:ia},"\u53D6\u6D88"),x.createElement(Qe.ZP,{size:"middle",type:"primary",loading:Ua,className:`${he.button}`,onClick:Fo},Pn))),x.createElement(Fe.default,{centered:!0,closable:!1,destroyOnClose:!0,open:wt,title:null,footer:null,width:320,afterClose:()=>lt(0)},x.createElement(Ge.Z,{align:"middle",style:{flexDirection:"column"}},x.createElement("b",{style:{color:"#5F6368"},className:"font16 mb5 mt20"},ft,x.createElement("span",{className:he.dotLoading},x.createElement("span",null,"."),x.createElement("span",null,"."),x.createElement("span",null,"."))),x.createElement(ie.Z,{style:{width:"auto"},size:[200,8],showInfo:!1,percent:qe}),x.createElement("div",{style:{color:"#5F6368"},className:"mb20"},"\u6B63\u5728\u8BC6\u522B\uFF0C\u5DF2\u5B8C\u6210",x.createElement("span",{className:"ml5 c-light-primary"},qe,"%")))),x.createElement(Fe.default,{centered:!0,open:it,title:"\u8BD5\u9898\u5BFC\u5165\u8BBE\u7F6E",confirmLoading:vn,width:480,onCancel:()=>dn(!1),onOk:()=>$a.submit(),afterClose:()=>{$a.resetFields()}},x.createElement(Ae.default,{style:{maxHeight:550},form:$a,layout:"horizontal",colon:!1,size:"large",onFinish:se=>Lt(void 0,null,function*(){var tt,St,zt,ot,nn;const Xt=st.filter($n=>!$n.checked&&!$n.errorMsg);He(!0);const Vt=()=>Lt(void 0,null,function*(){var $n,Da;const La=yield(0,ge.ZP)("/api/intelligent_imports/save.json",{method:"post",body:Rn(Gn(Gn({},Zn),se),{list:Xt,mode:Qt})});La.status===0&&(At&&(($n=La==null?void 0:La.data)!=null&&$n.success)&&window.location.pathname==="/problemset"&&(yt.Z.publish("refresh-item-bank",se.group_id),yield new Promise(cn=>setTimeout(()=>cn(),1500))),Ze.ZP.success(`\u6210\u529F\u5BFC\u5165${(Da=La==null?void 0:La.data)==null?void 0:Da.success}\u9053\u8BD5\u9898`,3),na(La),dn(!1)),He(!1)});if(Qt!==1){yield Vt();return}const Jt=yield(0,ge.ZP)("/api/intelligent_imports/is_repeated.json",{method:"post",body:{list:st,mode:Qt}});if(Jt.status===0){if(!((tt=Jt==null?void 0:Jt.data)!=null&&tt.error_size)){yield Vt();return}Fe.default.confirm({centered:!0,icon:null,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onCancel:()=>{He(!1)},title:"\u63D0\u793A",content:x.createElement("div",{style:{overflow:"auto",maxHeight:500}},"\u5171",x.createElement("span",{className:"c-light-primary ml5 mr5"},(St=Jt==null?void 0:Jt.data)==null?void 0:St.all_size),"\u9053\u8BD5\u9898\uFF0C\u5176\u4E2D",x.createElement("span",{style:{color:"#FF9D18"},className:"ml5 mr5"},(zt=Jt==null?void 0:Jt.data)==null?void 0:zt.error_size),"\u9053\u8BD5\u9898\u91CD\u590D\uFF08\u7B2C",x.createElement("span",{className:"ml5 mr5"},(nn=(ot=Jt==null?void 0:Jt.data)==null?void 0:ot.index)==null?void 0:nn.join("\u3001")),"\u9053\uFF09\uFF0C\u91CD\u590D\u8BD5\u9898\u5C06\u4F1A\u4E3A\u60A8\u81EA\u52A8\u8FC7\u6EE4\uFF0C\u786E\u5B9A\u5BFC\u5165\u5417\uFF1F"),onOk:Vt})}})},x.createElement("div",{className:"c-grey-999 mb20"},"\u63D0\u793A\uFF1A\u8BC6\u522B\u6709\u8BEF\u7684\u8BD5\u9898\u5C06\u4E0D\u4F1A\u88AB\u5BFC\u5165"),x.createElement(Ae.default.Item,{label:"\u65B9\u5411&\u8BFE\u7A0B",name:"sub_discipline_id",labelCol:{span:5},wrapperCol:{span:19},rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u65B9\u5411&\u8BFE\u7A0B"}]},x.createElement(E.Z,{placeholder:"\u8BF7\u9009\u62E9\u65B9\u5411&\u8BFE\u7A0B",fieldNames:{label:"name",value:"id",children:"sub_disciplines"},options:gn})),Qt===1&&x.createElement(Ae.default.Item,{label:x.createElement(Ge.Z,{align:"middle",style:{justifyContent:"space-between"}},x.createElement("span",null,"\u653E\u5165\u6587\u4EF6\u5939\u76EE\u5F55"),x.createElement("div",{onClick:()=>$t(!0),style:{marginLeft:211,transform:"translateX(14px)",display:"flex",color:"#5F6368",cursor:"pointer"}},x.createElement("img",{className:"mr5 primary-hover",src:Pe}),"\u65B0\u5EFA\u6587\u4EF6\u5939")),rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u6587\u4EF6\u5939"}],name:"group_id",labelCol:{span:24},wrapperCol:{span:24}},x.createElement(fe.Z,{key:zn})))),x.createElement(Fe.default,{centered:!0,open:gt,title:"\u65B0\u5EFA\u6587\u4EF6\u5939",destroyOnClose:!0,width:480,confirmLoading:Za,onCancel:()=>$t(!1),onOk:()=>Rt.submit(),afterClose:()=>{Rt.resetFields()}},x.createElement(Ae.default,{style:{maxHeight:550},form:Rt,layout:"horizontal",colon:!1,size:"large",onFinish:se=>Lt(void 0,null,function*(){var tt;qn(!0),(yield(0,ge.ZP)("/api/item_banks_groups.json",{method:"post",body:{name:se.name,parent_id:(tt=se==null?void 0:se.parent_id)==null?void 0:tt[0]}})).status===0?(bt(zn+1),setTimeout(()=>{Ze.ZP.success("\u64CD\u4F5C\u6210\u529F"),$t(!1),qn(!1)},1e3)):qn(!1)})},x.createElement(Ae.default.Item,{label:"\u6587\u4EF6\u5939\u540D\u79F0",name:"name",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5939\u540D\u79F0"},{whitespace:!0,message:"\u8BF7\u52FF\u8F93\u5165\u7A7A\u683C"}]},x.createElement(a.default,{maxLength:60,showCount:!0,placeholder:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5939\u540D\u79F0"})),x.createElement(Ae.default.Item,{label:"\u6587\u4EF6\u5939\u4F4D\u7F6E",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u6587\u4EF6\u5939"}],name:"parent_id"},x.createElement(fe.Z,null)))),x.createElement(Et,{onSave:se=>{De(!0),ut("\u5904\u7406\u4E2D"),so("/api/intelligent_imports/import.json",{html:se})},ref:aa}))},Fa=z;var oa=Xn},19105:function(dt,xt,oe){"use strict";var x=oe(59301),he=oe(99587),Be=oe(48136),Ne=oe(76562),Ae=oe(43418),Ze=oe(59301);const Fe=(0,x.forwardRef)(({callback:$e,width:Ge,onChange:Le,disabled:Te,readOnly:We,type:Qe="",value:ie="",style:E={}},a)=>{const b=(0,x.useRef)(),y=(0,x.useRef)(),[z,ne]=(0,x.useState)(0),[re,le]=(0,x.useState)(0),[ge,fe]=(0,x.useState)(!1),Pe=()=>{var Ie=document.createElement("div");Ie.innerHTML=b.current.getValue();var Ce=Ie.innerText;return $e&&$e(Ce),Ce};(0,x.useImperativeHandle)(a,()=>({getData:Pe}));const Ve=Ie=>{Ie.preventDefault();const Ce=Ie.clientX-z,et=Ie.clientY-re;document.body.onmousemove=rt=>{let xe=rt.clientX-Ce,Pt=rt.clientY-et;const yt=document.getElementsByClassName("markdown-popup-form")[0],Tt=window.innerWidth-yt.offsetWidth,nt=window.innerHeight-yt.offsetHeight;xe=Math.max(0,Math.min(xe,Tt)),Pt=Math.max(0,Math.min(Pt,nt)),Me(rt.clientX,rt.clientY,Ce,et)&&(ne(xe),le(Pt))},document.body.onmouseup=function(){document.body.onmousemove=null}},Me=(Ie,Ce,et,rt)=>{const xe=document.body.clientHeight,Pt=document.body.clientWidth;return Ie<20&&et>Ie||Ie>Pt-20&&et<Ie||Ce<20&&rt>Ce||Ce>xe-20&&rt<Ce?(document.body.onmousemove=null,document.body.onmouseup=null,!1):!0};(0,x.useEffect)(()=>{ge&&setTimeout(()=>{const Ie=document.getElementsByClassName("markdown-popup-form")[0],Ce=window.innerWidth/2-Ie.offsetWidth/2,et=window.innerHeight/2-Ie.offsetHeight/2;ne(Ce),le(et)},0)},[ge]);const vt=()=>{Te||We||fe(!0)};return Ze.createElement("div",{style:E},Ze.createElement("div",{style:{width:Ge||"100%",position:"relative"},className:`${he.Z.mathFillWrap} ${Te||We?"cursorDefault":""}`,onClick:()=>vt()},Ze.createElement("math-field",{disabled:Te,locale:"zh_cn",class:`${he.Z.mathField} ${Qe}`,readOnly:We,placeholder:"\u8BF7\u8F93\u5165\u516C\u5F0F",ref:b,style:{width:"100%",fontSize:ie?18:14},value:ie||""})),Ze.createElement(Ae.default,{maskClosable:!1,centered:!0,width:860,style:{position:"absolute",left:z,top:re},title:Ze.createElement("div",{style:{cursor:"move"},onMouseDown:Ve},"\u8F93\u5165\u516C\u5F0F"),open:ge,onOk:()=>{const Ie=y.current.getData();b.current.setValue(Ie),Le(Ie),fe(!1)},onCancel:()=>{fe(!1)},destroyOnClose:!0,className:"markdown-popup-form"},Ze.createElement(Ne.Z,{value:ie,ref:y,onChange:Le,showSaveButton:!1})))});xt.Z=Fe},76562:function(dt,xt,oe){"use strict";var x=oe(59301),he=oe(95237),Be=oe(43604),Ne=oe(99313),Ae=oe(3113),Ze=oe(91842),Fe=oe(99587),$e=oe(48136),Ge=oe(59301);const Le=(0,x.forwardRef)(({callback:Te,showSaveButton:We,value:Qe=""},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=re=>{E.current.setValue(E.current.getValue()+" "+re.value+" ")},z=[{key:"1",label:"\u5FEB\u6377\u6A21\u677F",children:Ge.createElement(he.Z,{className:Fe.Z.lists,gutter:[10,10]},a.map((re,le)=>Ge.createElement(Be.Z,{flex:"110px",className:Fe.Z.item},Ge.createElement("div",null,Ge.createElement(Ze.Z,{value:`$$${re.value}$$`}),re.name),Ge.createElement("div",{className:Fe.Z.children},re.children.map((ge,fe)=>Ge.createElement("div",{key:fe},Ge.createElement("h1",null,ge.name),Ge.createElement(he.Z,{gutter:[10,10]},ge.data.map((Pe,Ve)=>Ge.createElement(Be.Z,{key:Ve,onClick:()=>y(Pe),className:Fe.Z.diamond},Ge.createElement(Ze.Z,{value:"`$$"+Pe.value+"$$`"}))))))))))},{key:"2",label:"\u516C\u5F0F\u6A21\u677F",children:Ge.createElement(he.Z,{className:Fe.Z.lists,gutter:[10,10]},b.map((re,le)=>Ge.createElement(Be.Z,{flex:"110px",className:Fe.Z.item},Ge.createElement("div",null,Ge.createElement(Ze.Z,{value:"`$$"+re.value+"$$`"}),re.name),Ge.createElement("div",{className:Fe.Z.children},re.children.map((ge,fe)=>Ge.createElement("div",{key:fe},ge.name&&Ge.createElement("h1",null,ge.name),Ge.createElement(he.Z,{gutter:[10,10]},ge.data.map((Pe,Ve)=>Ge.createElement(Be.Z,{key:Ve,onClick:()=>y(Pe),className:Fe.Z.diamond},Ge.createElement(Ze.Z,{value:"`$$"+Pe.value+"$$`"}))))))))))}],ne=()=>{var re=document.createElement("div");re.innerHTML=E.current.getValue();var le=re.innerText;return Te&&Te(le),le};return(0,x.useImperativeHandle)(ie,()=>({getData:ne})),Ge.createElement("div",{className:Fe.Z.mathWrap},Ge.createElement(Ne.default,{defaultActiveKey:"1",items:z}),Ge.createElement("math-field",{locale:"zh_cn",className:Fe.Z.mathField,placeholder:"\u8BF7\u6253\u5F00\u952E\u76D8\uFF0C\u8F93\u5165\u516C\u5F0F",ref:E,style:{width:800,marginTop:30,fontSize:18}},Qe||""),We&&Ge.createElement("div",{className:Fe.Z.button},Ge.createElement(Ae.ZP,{size:"large",onClick:ne,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))});xt.Z=Le},22962:function(dt,xt,oe){"use strict";oe.d(xt,{Z:function(){return We}});var x=oe(59301),he=oe(78241),Be=oe(43418),Ne=oe(92832),Ae=oe(87169),Ze=oe(38986),Fe={publicQuest:"publicQuest___iYvzo",publicQuestContent:"publicQuestContent___vgbKh",public_tips:"public_tips___UX0Dn",concat:"concat___wOfND"},$e=oe(52154),Ge=oe(59301),Le=(Qe,ie,E)=>new Promise((a,b)=>{var y=re=>{try{ne(E.next(re))}catch(le){b(le)}},z=re=>{try{ne(E.throw(re))}catch(le){b(le)}},ne=re=>re.done?a(re.value):Promise.resolve(re.value).then(y,z);ne((E=E.apply(Qe,ie)).next())}),We=({type:Qe="subject",open:ie,onCancel:E,onOkClick:a,subDisciplineId:b})=>{const[y]=he.default.useForm(),[z,ne]=(0,x.useState)([]),[re,le]=(0,x.useState)(!1);(0,x.useEffect)(()=>{},[]);const ge=()=>Le(void 0,null,function*(){if(Qe){const fe=yield(0,Ze.ZP)("/api/disciplines.json",{method:"get",params:{source:Qe}});ne(fe.disciplines||[])}});return Ge.createElement(Be.default,{title:Ge.createElement("div",{style:{fontWeight:"bold"}},"\u65B0\u5EFA\u77E5\u8BC6\u70B9"),open:ie,width:558,centered:!0,className:Fe.publicQuest,onCancel:()=>{E(),y.resetFields()},onOk:()=>{y.validateFields().then(fe=>Le(void 0,null,function*(){const Pe=yield(0,Ze.ZP)("/api/tag_disciplines.json",{method:"post",body:{name:fe==null?void 0:fe.name,sub_discipline_id:b}});(Pe==null?void 0:Pe.status)===0&&a({name:fe==null?void 0:fe.name,id:Pe==null?void 0:Pe.tag_discipline_id,public:!1,type:"personal"}),y.resetFields(),E()}))}},Ge.createElement("div",{className:Fe.publicQuestContent},Ge.createElement("div",{className:Fe.public_tips},Ge.createElement(Ae.Z,{style:{color:"#FF8C29",marginRight:10,paddingTop:5}}),"\u65B0\u5EFA\u7684\u77E5\u8BC6\u70B9\u4EC5\u672C\u4EBA\u53EF\u89C1\uFF0C\u5E73\u53F0\u5BA1\u6838\u5217\u5165\u516C\u5F00\u77E5\u8BC6\u70B9\u540E\uFF0C\u5BF9\u6240\u6709\u7528\u6237\u53EF\u89C1\u3002 \u5E73\u53F0\u6709\u6743\u5220\u9664\u4E0D\u5408\u9002\u7684\u77E5\u8BC6\u70B9\uFF0C\u8BF7\u8BA4\u771F\u586B\u5199\u77E5\u8BC6\u70B9\u540D\u79F0\u3002"),Ge.createElement(he.default,{labelAlign:"left",form:y,colon:!1},Ge.createElement(he.default.Item,{label:"\u77E5\u8BC6\u70B9\u540D\u79F0",name:"name",rules:[{required:!0}]},Ge.createElement(Ne.default,{showCount:!0,maxLength:20,placeholder:"\u8BF7\u8F93\u5165\u77E5\u8BC6\u70B9\u540D\u79F0"}))),Ge.createElement($e.Z,{open:re,onCancel:()=>{le(!1)}})))}},70100:function(dt,xt,oe){"use strict";oe.d(xt,{Q:function(){return Ge},Z:function(){return Te}});var x=oe(59301),he={flex_box_center:"flex_box_center___VcCAZ",flex_space_between:"flex_space_between___I3jjO",flex_box_vertical_center:"flex_box_vertical_center___Rm_54",flex_box_center_end:"flex_box_center_end___nTsdc",flex_box_column:"flex_box_column___UVpzN",tags:"tags___kRRoe",text:"text___IyyEa",tagWrap:"tagWrap___v63mB",tag:"tag___X7wE6",c:"c___mZMPq",cpp:"cpp___eaTie",java:"java___gL98T",python:"python___eNRkk",edit:"edit___tbVu0"},Be=oe(92310),Ne=oe.n(Be),Ae=oe(43418),Ze=oe(8591),Fe=oe(24905),$e=(We,Qe,ie)=>new Promise((E,a)=>{var b=ne=>{try{z(ie.next(ne))}catch(re){a(re)}},y=ne=>{try{z(ie.throw(ne))}catch(re){a(re)}},z=ne=>ne.done?E(ne.value):Promise.resolve(ne.value).then(b,y);z((ie=ie.apply(We,Qe)).next())});const Ge=({title:We="\u8BBE\u7F6E\u7F16\u7A0B\u8BED\u8A00",dataSource:Qe=[],visible:ie,setVisible:E,tip:a,onOk:b})=>{const[y,z]=(0,x.useState)([]),[ne,re]=(0,x.useState)(!1);return(0,x.useEffect)(()=>{ie&&z(Qe)},[ie]),x.createElement(Ae.default,{centered:!0,open:ie,title:We,confirmLoading:ne,width:564,onOk:()=>$e(void 0,null,function*(){if(!y.length){Ze.ZP.warning("\u8BF7\u9009\u62E9\u7F16\u7A0B\u8BED\u8A00");return}re(!0),yield b(y),re(!1)}),onCancel:()=>E(!1)},!!a&&x.createElement("div",{className:"c-grey-666 font16 mb10"},a),x.createElement("div",{style:{background:"#F6F7F9",padding:"20px 20px 20px 26px"}},x.createElement(Fe.default.Group,{value:y,options:[{label:"C\u8BED\u8A00",value:"C"},{label:"C++\u8BED\u8A00",value:"C++",style:{marginLeft:30}},{label:"Java\u8BED\u8A00",value:"Java",style:{marginLeft:30}},{label:"Python\u8BED\u8A00",value:"Python",style:{marginLeft:30}}],onChange:le=>{z(le)}})))};var Te=({title:We="\u5141\u8BB8\u7F16\u7A0B\u7684\u8BED\u8A00",className:Qe,style:ie={},onEdit:E,dataSource:a=[]})=>{const b={C:x.createElement("div",{className:he.c},"C"),"C++":x.createElement("div",{className:he.cpp},"C++"),Java:x.createElement("div",{className:he.java},"Java"),Python:x.createElement("div",{className:he.python},"Python")};return x.createElement("div",{className:Ne()(he.tags,Qe),style:ie},!!We&&x.createElement("div",{className:he.text},We),x.createElement("div",{className:he.tagWrap},a==null?void 0:a.map(y=>x.createElement(x.Fragment,{key:y},b[y]))),!!E&&x.createElement("div",{onClick:E,className:`iconfont icon-bianji_Hover ${he.edit}`}))}},68571:function(dt,xt,oe){"use strict";oe.d(xt,{t:function(){return sn}});var x=oe(59301),he=oe(92832),Be=oe(78241),Ne=oe(43418),Ae=oe(95237),Ze=oe(43604),Fe=oe(5871),$e=oe(57809),Ge=oe(5112),Le=oe(31457),Te=oe(25690),We=oe(8423),Qe=oe(8591),ie=oe(3113),E=oe(71418),a=oe(24334),b={flex_box_center:"flex_box_center___kOQ8P",flex_space_between:"flex_space_between___fY6jt",flex_box_vertical_center:"flex_box_vertical_center___bDSSI",flex_box_center_end:"flex_box_center_end___mQ6mU",flex_box_column:"flex_box_column___F15G0",result:"result___UYRo8",left:"left___TRaH5",right:"right___twp9s",box:"box___vwndt",li:"li___hRe2d"},y=oe(38986),z=oe(81072),ne=oe(39793),re=oe(56102),le=oe(37345),ge=oe(59301),fe=Object.defineProperty,Pe=Object.defineProperties,Ve=Object.getOwnPropertyDescriptors,Me=Object.getOwnPropertySymbols,vt=Object.prototype.hasOwnProperty,Ie=Object.prototype.propertyIsEnumerable,Ce=(mt,Ye,Mt)=>Ye in mt?fe(mt,Ye,{enumerable:!0,configurable:!0,writable:!0,value:Mt}):mt[Ye]=Mt,et=(mt,Ye)=>{for(var Mt in Ye||(Ye={}))vt.call(Ye,Mt)&&Ce(mt,Mt,Ye[Mt]);if(Me)for(var Mt of Me(Ye))Ie.call(Ye,Mt)&&Ce(mt,Mt,Ye[Mt]);return mt},rt=(mt,Ye)=>Pe(mt,Ve(Ye)),xe=(mt,Ye,Mt)=>new Promise((Gn,Rn)=>{var Lt=Mn=>{try{on(Mt.next(Mn))}catch(un){Rn(un)}},kn=Mn=>{try{on(Mt.throw(Mn))}catch(un){Rn(un)}},on=Mn=>Mn.done?Gn(Mn.value):Promise.resolve(Mn.value).then(Lt,kn);on((Mt=Mt.apply(mt,Ye)).next())}),yt=({buttonProps:mt,buttonText:Ye,form:Mt,hackIdentifier:Gn="",answerKey:Rn,data:Lt})=>{const[kn,on]=(0,x.useState)(!1),[Mn,un]=(0,x.useState)(!1),[Xn,Fa]=(0,x.useState)(!1),[oa,Yt]=(0,x.useState)({}),[_n,wn]=(0,x.useState)(""),[ia,na]=(0,x.useState)(""),Zn=(0,x.useRef)(Gn),Qt=(0,x.useRef)(""),Nt=(0,x.useRef)(!1);(0,x.useEffect)(()=>{Xn&&Jn()},[Xn]),(0,x.useEffect)(()=>()=>{sessionStorage.removeItem("projectFill")},[]);const fn=()=>new Date().getTime(),Dn=Lt==null?void 0:Lt.code,la=()=>{var jn,ya;let fa=Dn?Lt==null?void 0:Lt.code:(jn=Mt.getFieldValue("hack_codes"))==null?void 0:jn.code,Ba=Dn?Lt==null?void 0:Lt.answer_content:Mt.getFieldValue(Rn),Ta=Dn?Lt==null?void 0:Lt.input:(ya=Mt.getFieldValue("hack_sets"))==null?void 0:ya.input;Ba==null||Ba.forEach(At=>{const Pn=At.value||At.answer_text||"";fa=fa.replace(/(@▁@|@▁▁@)/,Pn)}),na(Ta),wn(fa),Yt({}),Fa(!0)},Jn=()=>xe(void 0,null,function*(){var jn,ya,fa,Ba;const Ta=fn(),At=Dn?Lt==null?void 0:Lt.time_limit:(jn=Mt.getFieldsValue())==null?void 0:jn.hack.time_limit,Pn=Dn?(ya=Lt==null?void 0:Lt.answer_content)==null?void 0:ya.length:(Ba=(fa=Mt.getFieldsValue())==null?void 0:fa.standard_answers)==null?void 0:Ba.length;on(!0),yield(0,z.bM)(Qt.current,{test_hack_code:_n,test_input:ia});function En(){return xe(this,null,function*(){const{status:Ln,data:Ee}=yield(0,z.rX)(Qt.current,"submit"),qe=fn()-Ta>(At+3)*1e3*Pn;if(Nt.current){if(qe){Qe.ZP.error("\u8C03\u8BD5\u4EE3\u7801\u8D85\u65F6"),on(!1);return}if(Ln===0){on(!1),Yt(rt(et({},Ee),{showText:!0}));return}setTimeout(En,1e3)}})}En()}),wa=()=>xe(void 0,null,function*(){var jn,ya,fa,Ba,Ta,At,Pn;if(!Lt){try{yield Mt.validateFields()}catch(Je){(fa=(ya=(jn=Je==null?void 0:Je.errorFields)==null?void 0:jn[0])==null?void 0:ya.name)!=null&&fa.includes("standard_answers")?Qe.ZP.error("\u586B\u7A7A\u9879\u7B54\u6848\u4E0D\u80FD\u4E3A\u7A7A"):Qe.ZP.error(Je.errorFields[0].errors[0]),Mt.scrollToField(Je.errorFields[0].name,{behavior:"smooth",block:"center"});return}un(!0);let Ln="";const Ee=Mt.getFieldsValue();Zn.current?Ln=yield(0,y.ZP)(`/api/problems/${Zn.current}.json`,{method:"put",body:rt(et({},Ee),{hack:rt(et({},Ee==null?void 0:Ee.hack),{sub_discipline_id:(Pn=(At=Ee==null?void 0:Ee.hack)==null?void 0:At.sub_discipline_id)==null?void 0:Pn[1],difficult:Ee.difficulty,item_banks_group_id:Ee.item_banks_group_id}),hack_codes:rt(et({},Ee.hack_codes),{code:a.Base64.encode(Ee.hack_codes.code)}),update_hack_sets:[et({},Ee.hack_sets)],is_blank:!0})}):(Ln=yield(0,y.ZP)("/api/problems.json",{method:"post",body:rt(et({},Ee),{hack:rt(et({},Ee==null?void 0:Ee.hack),{sub_discipline_id:(Ta=(Ba=Ee==null?void 0:Ee.hack)==null?void 0:Ba.sub_discipline_id)==null?void 0:Ta[1],difficult:Ee.difficulty,item_banks_group_id:Ee.item_banks_group_id}),hack_codes:rt(et({},Ee.hack_codes),{code:a.Base64.encode(Ee.hack_codes.code)}),hack_sets:[et({},Ee.hack_sets)],is_blank:!0})}),Zn.current=Ln==null?void 0:Ln.identifier,sessionStorage.projectFill=Ln==null?void 0:Ln.identifier)}const En=yield(0,y.ZP)(`/api/problems/${Zn.current}/start.json`,{method:"get"});if((En==null?void 0:En.status)===0){Qt.current=En==null?void 0:En.identifier,Nt.current=!0,un(!1),la();return}un(!1)}),Wn=jn=>{const{status:ya,error_msg:fa,execute_time:Ba,output:Ta,input:At,expected_output:Pn}=jn;let En=null;switch(ya){case le.h.OK:En=ge.createElement(ge.Fragment,null,ge.createElement("p",null,"\u6267\u884C\u7528\u65F6\uFF1A",Ba/1e3,"\u79D2"),ge.createElement("p",null,"\u6267\u884C\u7ED3\u679C\uFF1A\u8C03\u8BD5\u901A\u8FC7"));break;case le.h.NOMATCH:En=ge.createElement(ge.Fragment,null,ge.createElement("div",null,"\u8F93\u5165\uFF1A"),ge.createElement("pre",{style:{fontFamily:"initial"}},At),ge.createElement("div",null,"\u8F93\u51FA\uFF1A"),ge.createElement("pre",{style:{fontFamily:"initial"}},Ta&&a.Base64.decode(Ta)),ge.createElement("div",null,"\u9884\u671F\u8F93\u51FA\uFF1A"),ge.createElement("pre",{style:{fontFamily:"initial"}},Pn&&a.Base64.decode(Pn)));break;case le.h.EXECUTEFAILURE:En=ge.createElement(ge.Fragment,null,ge.createElement("p",null,"\u6700\u540E\u6267\u884C\u7684\u8F93\u5165\uFF1A",ge.createElement("pre",null,At)),ge.createElement("p",null,"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),ge.createElement("pre",{className:"error"},a.Base64.decode(fa)));break;case le.h.COMPILEFAILURE:En=ge.createElement(ge.Fragment,null,ge.createElement("p",null,"\u6700\u540E\u6267\u884C\u7684\u8F93\u5165\uFF1A",ge.createElement("pre",null,At)),ge.createElement("p",null,"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),ge.createElement("pre",{className:"error"},a.Base64.decode(fa)));break;case le.h.PODFAILURE:En=ge.createElement("p",null,"\u521B\u5EFApod\u5931\u8D25\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break;case le.h.TIMEOUT:En=ge.createElement("p",null,"\u8BC4\u6D4B\u8D85\u65F6\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break}return ge.createElement(ge.Fragment,null," ",En," ")};return ge.createElement("div",null,ge.createElement(ie.ZP,rt(et({loading:Mn},mt),{onClick:wa}),Ye),ge.createElement(Ne.default,{open:Xn,title:"\u8C03\u8BD5\u4EE3\u7801",destroyOnClose:!0,width:1200,okText:"\u8FD0\u884C\u6D4B\u8BD5",confirmLoading:kn,cancelButtonProps:{style:{display:"none"}},onOk:()=>Jn(),onCancel:()=>{Nt.current=!1,Fa(!1)}},ge.createElement("div",{className:b.result},ge.createElement("div",{className:b.left},ge.createElement("div",{className:"mb20"},ge.createElement("span",{className:"c-black"},"\u6267\u884C\u4EE3\u7801"),!Lt&&ge.createElement(re.CopyToClipboard,{text:_n,onCopy:()=>Qe.ZP.success("\u590D\u5236\u6210\u529F")},ge.createElement("span",{style:{float:"right"},className:"current c-light-primary"},ge.createElement("i",{className:"iconfont icon-fuzhi8 mr5"}),"\u590D\u5236"))),ge.createElement(ne.Z,{height:510,className:"mb0",hidetoolBar:!0,defaultValue:_n,onChange:jn=>wn(jn)})),ge.createElement("div",{className:b.right},ge.createElement("div",{className:"c-black mb20"},"\u81EA\u5B9A\u4E49\u6D4B\u8BD5\u7528\u4F8B"),ge.createElement("div",{className:b.box},ge.createElement("div",{className:b.li},ge.createElement(he.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165",value:ia,onChange:jn=>na(jn.target.value),bordered:!1,style:{height:180}}))),ge.createElement("div",{className:"c-black mb20 mt30"},"\u4EE3\u7801\u6267\u884C\u7ED3\u679C"),ge.createElement("div",{className:b.box},ge.createElement(E.Z,{spinning:kn,tip:"\u4EE3\u7801\u6267\u884C\u4E2D"},ge.createElement("div",{className:b.li,style:{height:196,overflow:"auto",padding:10}},Wn(oa))))))))},Tt=oe(87169),nt=oe(59301),Wt=Object.defineProperty,jt=Object.defineProperties,It=Object.getOwnPropertyDescriptors,ln=Object.getOwnPropertySymbols,Ke=Object.prototype.hasOwnProperty,ze=Object.prototype.propertyIsEnumerable,Bt=(mt,Ye,Mt)=>Ye in mt?Wt(mt,Ye,{enumerable:!0,configurable:!0,writable:!0,value:Mt}):mt[Ye]=Mt,Gt=(mt,Ye)=>{for(var Mt in Ye||(Ye={}))Ke.call(Ye,Mt)&&Bt(mt,Mt,Ye[Mt]);if(ln)for(var Mt of ln(Ye))ze.call(Ye,Mt)&&Bt(mt,Mt,Ye[Mt]);return mt},ht=(mt,Ye)=>jt(mt,It(Ye)),_t=(mt,Ye)=>{var Mt={};for(var Gn in mt)Ke.call(mt,Gn)&&Ye.indexOf(Gn)<0&&(Mt[Gn]=mt[Gn]);if(mt!=null&&ln)for(var Gn of ln(mt))Ye.indexOf(Gn)<0&&ze.call(mt,Gn)&&(Mt[Gn]=mt[Gn]);return Mt};const{TextArea:be}=he.default,Et=[{title:"C",key:"C"},{title:"C++",key:"C++"},{title:"Python",key:"Python"},{title:"Java",key:"Java"}],tn=({value:mt,onChange:Ye})=>nt.createElement(Switch,{checked:mt,onChange:Mt=>{Ye(Mt)}}),pt="@\u2581@",at="@\u2581\u2581@",sn=({questionTitlePlaceholder:mt,form:Ye,scoreByBlank:Mt=!1,hackidentifier:Gn,answerKey:Rn})=>{const[Lt,kn]=(0,x.useState)(!1),[on,Mn]=(0,x.useState)(!1),Xn=(0,Te.useParams)().type==="edit",Fa=(Qt,Nt)=>{const fn=Nt.line;let Dn=0;for(let Jn=0;Jn<fn;Jn++)Dn+=Qt.getLine(Jn).split(pt).length-1;for(let Jn=0;Jn<fn;Jn++)Dn+=Qt.getLine(Jn).split(at).length-1;const la=Qt.getLine(fn).substring(0,Nt.ch);return Dn+=la.split(pt).length-1,Dn+=la.split(at).length-1,Dn},oa=(Qt,Nt,fn,Dn)=>{const la=Qt.getRange(Nt.from,Nt.to);let Jn=0;if(Nt.text.forEach(wa=>{Jn+=wa.split(pt).length-1}),Nt.text.forEach(wa=>{Jn+=wa.split(at).length-1}),Nt.origin!=="setValue"){if(la&&(la.indexOf(pt)!==-1||la.indexOf(at)!==-1)){const wa=la.split(pt).length-1+la.split(at).length-1,Wn=Fa(Qt,Nt.from);if(console.log(`\u5220\u9664${wa}\u4E2A\uFF0C \u524D\u9762\u6709${Wn}\u4E2A\uFF0C\u65B0\u589E${Jn}\u4E2A`),wa>1){const jn=Array.from({length:wa},(ya,fa)=>Wn+fa);Dn(jn)}else Dn(Wn)}else if(Jn>0){const wa=Fa(Qt,Nt.from);console.log(`\u65B0\u589E${Jn}\u4E2A\uFF0C\u4E4B\u524D\u6709${wa}\u4E2A`),fn(Jn,wa)}}},Yt=()=>{const Qt=Ye.getFieldValue(Rn);Ye.setFieldsValue({[Rn]:Qt==null?void 0:Qt.map((Nt,fn)=>ht(Gt({},Nt),{position:fn+1}))})},_n=(0,x.useRef)(),wn=(Qt,Nt)=>{for(let fn=0;fn<Qt;fn++)_n.current({position:null,answer_text:""},Nt+fn);Yt()},ia=(0,x.useRef)(),na=Qt=>{ia.current(Qt),Yt()},Zn=Be.default.useWatch(Rn,Ye);return nt.createElement("div",{className:We.Z.wrap},nt.createElement(Be.default.Item,{label:"\u8BD5\u9898\u63CF\u8FF0",name:["hack","description"],style:{display:"table"},className:"w100",labelCol:{span:24},rules:[{required:!0}]},nt.createElement(Le.h,{scrollId:"name",watch:!0,height:140})),nt.createElement("div",{className:We.Z.questionTitleEditorWrap},nt.createElement(Be.default.Item,{label:"\u7A0B\u5E8F\u4EE3\u7801",name:["hack_codes","code"],labelCol:{span:24},rules:[{required:!0}]},nt.createElement(Le.h,{scrollId:"name",watch:!0,height:400,hidetoolBar:!0,showNullProgramButton:!0,onChange:(Qt,Nt)=>{const fn=Ye.getFieldValue(Rn);console.log("--preAnswerData",fn,Nt),Ye.setFieldsValue({[Rn]:fn==null?void 0:fn.map((Dn,la)=>{var Jn;return ht(Gt({},Dn),{position:la+1,multi_line:(Jn=Nt==null?void 0:Nt[la])==null?void 0:Jn.multiLine})})})},placeholder:mt,onCMBeforeChange:(Qt,Nt)=>{oa(Qt,Nt,wn,na)}}))),nt.createElement(Be.default.List,{name:Rn,rules:[{validator(Qt,Nt){if(!(Nt!=null&&Nt.length))return Promise.reject(new Error("\u7B54\u6848\u4E0D\u80FD\u4E3A\u7A7A"));for(const fn of Nt){const{answer_text:Dn}=fn||{};if((Dn==null?void 0:Dn.length)===0)return Promise.reject(new Error("\u586B\u7A7A\u9879\u7B54\u6848\u4E0D\u80FD\u4E3A\u7A7A"))}return Promise.resolve()}}]},(Qt,{add:Nt,remove:fn},{errors:Dn})=>(_n.current=Nt,ia.current=fn,nt.createElement(nt.Fragment,null,nt.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between"}},nt.createElement(Be.default.Item,{label:"\u586B\u7A7A\u9879\u7B54\u6848",required:!0,labelCol:{span:24}}),nt.createElement("div",{onClick:()=>{Ne.default.warning({title:"\u7ED9\u5206\u8BF4\u660E",icon:null,width:700,centered:!0,content:nt.createElement("div",null,nt.createElement("div",null,"1.\u5B66\u751F\u586B\u5199\u7B54\u6848\u4E4B\u540E\uFF0C\u5FC5\u987B\u63D0\u4EA4\u4EE3\u7801",nt.createElement("span",{style:{color:"#e30000"}},"\u8FDB\u884C\u8BC4\u6D4B"),"\u624D\u80FD\u5F97\u5206\u3002"),nt.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"}},nt.createElement(Tt.Z,{style:{marginRight:3,color:"#3061D0"}}),nt.createElement("span",null," \u7ED9\u5206\u8BF4\u660E"))),Qt.map((la,Jn)=>{var wa=la,{key:Wn,name:jn}=wa,ya=_t(wa,["key","name"]),fa,Ba;return nt.createElement(Ae.Z,{className:"mb20",key:Wn,align:"middle",wrap:!1},nt.createElement(Ze.Z,{flex:"0 0 auto",className:`${We.Z.blankIndex}`},"\u586B\u7A7A\u9879",Jn+1),nt.createElement(Ze.Z,{flex:1},nt.createElement(Ae.Z,{align:"top",justify:"space-between",wrap:!1},nt.createElement(Ze.Z,null,nt.createElement(Be.default.Item,ht(Gt({},ya),{name:[jn,"answer_text"],noStyle:!0}),(fa=Zn==null?void 0:Zn[jn])!=null&&fa.multi_line||(Ba=Zn==null?void 0:Zn[jn])!=null&&Ba.multiLine?nt.createElement(be,{spellCheck:!1,style:{marginLeft:10,width:550}}):nt.createElement(he.default,{style:{marginLeft:10,width:550},className:We.Z.blankInput,size:"large",maxLength:1e3,onBlur:Ta=>{}}))),Mt&&nt.createElement(Ze.Z,{flex:"224px"},nt.createElement(Be.default.Item,ht(Gt({},ya),{name:[jn,"score"],label:"\u5206\u503C",rules:[{required:!0}]}),nt.createElement(Fe.Z,{size:"large",className:We.Z.blankInput,min:.1,max:100,precision:1,style:{width:"100%"},placeholder:"\u8BF7\u8F93\u5165\u5206\u503C"}))))))})))),nt.createElement("div",{onClick:()=>kn(!0)},nt.createElement(Be.default.Item,{name:["hack","analysis"],label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},nt.createElement(Le.x,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:Lt}))),nt.createElement(Be.default.Item,{label:"\u7F16\u7A0B\u8BED\u8A00",style:{marginTop:30},name:["hack_codes","language"],labelCol:{span:24},rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u7F16\u7A0B\u8BED\u8A00"}]},nt.createElement($e.default,{size:"large"},Et.map(Qt=>nt.createElement($e.default.Option,{key:Qt.title,value:Qt.key}," ",Qt.title)))),nt.createElement(Be.default.Item,{label:"\u6700\u5927\u8BC4\u6D4B\u65F6\u957F\uFF08\u79D2\uFF09",style:{marginTop:30},labelCol:{span:24},required:!0},nt.createElement(Be.default.Item,{name:["hack","time_limit"],rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5355\u4E2A\u6D4B\u8BD5\u96C6\u8BC4\u6D4B\u65F6\u957F\u9650\u5236"},{type:"number",min:3,message:"\u6700\u5C0F\u9650\u5236\u65F6\u95F4\u662F3\u79D2"}],noStyle:!0},nt.createElement(Fe.Z,{precision:0,max:10,min:3,size:"large",style:{width:"97%"}})),nt.createElement("span",{className:"ml10 font14"},"\u79D2")),nt.createElement(Be.default.Item,{label:"\u8BC4\u6D4B\u65F6\u7A7A\u683C\u5904\u7406",style:{marginTop:30},name:["hack","submit_rule"],labelCol:{span:24},rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u8BC4\u6D4B\u65F6\u7A7A\u683C\u5904\u7406"}]},nt.createElement(Ge.ZP.Group,{style:{marginTop:-10}},nt.createElement(Ge.ZP,{value:0},"\u4E0D\u5FFD\u7565\u7A7A\u683C"),nt.createElement(Ge.ZP,{value:1},"\u5FFD\u7565\u9996\u5C3E\u7A7A\u683C"),nt.createElement(Ge.ZP,{value:2},"\u5FFD\u7565\u6240\u6709\u7A7A\u683C"))),nt.createElement(Be.default.Item,{label:"\u6D4B\u8BD5\u7528\u4F8B",required:!0,style:{marginTop:30}}),nt.createElement("div",{style:{background:"#F6F7F9",padding:15}},nt.createElement(Be.default.Item,{label:"\u8F93\u5165",labelCol:{span:24},name:["hack_sets","input"]},nt.createElement(be,{rows:4})),nt.createElement(Be.default.Item,{label:"\u8F93\u51FA",labelCol:{span:24},name:["hack_sets","output"],rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u8F93\u51FA\u5185\u5BB9"}]},nt.createElement(be,{rows:4}))),nt.createElement(yt,{form:Ye,answerKey:Rn,hackIdentifier:Gn,buttonText:"\u8FD0\u884C\u8C03\u8BD5",buttonProps:{ghost:!0,icon:nt.createElement("i",{className:"iconfont icon-ceshi"}),style:{background:"rgba(55,173,131,0.05)",borderRadius:19,border:"1px solid #37AD83",width:116,height:38,display:"inline-flex",fontSize:14,alignItems:"center",justifyContent:"center",marginTop:20,cursor:"pointer",color:"#37AD83"}}}))}},81727:function(dt,xt,oe){"use strict";oe.d(xt,{u:function(){return ge}});var x=oe(59301),he=oe(95237),Be=oe(43604),Ne=oe(6848),Ae=oe(78241),Ze=oe(8423),Fe=oe(32134),$e=oe(12893),Ge=oe(31457),Le=oe(59301),Te=Object.defineProperty,We=Object.defineProperties,Qe=Object.getOwnPropertyDescriptors,ie=Object.getOwnPropertySymbols,E=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable,b=(fe,Pe,Ve)=>Pe in fe?Te(fe,Pe,{enumerable:!0,configurable:!0,writable:!0,value:Ve}):fe[Pe]=Ve,y=(fe,Pe)=>{for(var Ve in Pe||(Pe={}))E.call(Pe,Ve)&&b(fe,Ve,Pe[Ve]);if(ie)for(var Ve of ie(Pe))a.call(Pe,Ve)&&b(fe,Ve,Pe[Ve]);return fe},z=(fe,Pe)=>We(fe,Qe(Pe)),ne=(fe,Pe)=>{var Ve={};for(var Me in fe)E.call(fe,Me)&&Pe.indexOf(Me)<0&&(Ve[Me]=fe[Me]);if(fe!=null&&ie)for(var Me of ie(fe))Pe.indexOf(Me)<0&&a.call(fe,Me)&&(Ve[Me]=fe[Me]);return Ve};const re=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],le=({value:fe,onChange:Pe,choiceTextKey:Ve,answerKey:Me,index:vt,isEdit:Ie,setInputActive:Ce,form:et,choiceOptionsPath:rt,allowChangeMode:xe,showAddIcon:Pt,addItem:yt,deleteItem:Tt})=>{console.log(fe,"value");const nt=(fe==null?void 0:fe[Me])===1,Wt=()=>{const It=et.getFieldValue(rt);et.setFieldValue(rt,It.map(ln=>z(y({},ln),{[Me]:0})))},jt=()=>{nt?Pe(z(y({},fe),{[Me]:0})):(xe||Wt(),Pe(z(y({},fe),{[Me]:1})))};return Le.createElement(he.Z,{className:Ze.Z.choiceWrap,align:"middle",wrap:!1},Le.createElement(Be.Z,{onClick:jt,className:`${Ze.Z.choiceIndex} ${nt?Ze.Z.activeAnswer:""}`},re[vt]),Le.createElement(Be.Z,{flex:1,className:`${Ze.Z.editorWrap} ml15`,onClick:Ce},Le.createElement(Ge.x,{height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9009\u9879",isEdit:Ie,value:fe==null?void 0:fe[Ve],onChange:It=>{Pe(z(y({},fe),{[Ve]:It}))}})),Le.createElement(Be.Z,{flex:"0 0 auto",className:"ml15"},Le.createElement("div",{onClick:jt,className:`${Ze.Z.setAnswerBtn} ${nt?Ze.Z.activeAnswer:""}`},nt?"\u6B63\u786E\u7B54\u6848":"\u8BBE\u4E3A\u7B54\u6848")),Le.createElement(Be.Z,{className:Ze.Z.actionWrapper},Le.createElement(Ne.Z,{title:"\u65B0\u589E\u53C2\u8003\u7B54\u6848"},Le.createElement(Fe.Z,{className:Ze.Z.addIcon,onClick:yt,style:{visibility:Pt?"visible":"hidden"}})),Le.createElement(Ne.Z,{title:"\u5220\u9664"},Le.createElement($e.Z,{className:Ze.Z.deleteIcon,onClick:Tt,style:{visibility:vt>1?"visible":"hidden"}}))))},ge=({questionTitlePlaceholder:fe,titleKey:Pe,choiceKey:Ve,analysisKey:Me,choiceTextKey:vt,answerKey:Ie,choiceOptionsPath:Ce,allowChangeMode:et=!0,form:rt,showAnalysis:xe=!0})=>{const[Pt,yt]=(0,x.useState)(),[Tt,nt]=(0,x.useState)(!1);return Le.createElement("div",{className:Ze.Z.wrap},Le.createElement("div",{className:Ze.Z.questionTitleEditorWrap},Le.createElement(Ae.default.Item,{label:"\u9898\u5E72",name:Pe,labelCol:{span:24},rules:[{required:!0}]},Le.createElement(Ge.h,{scrollId:Array.isArray(Pe)?Pe.join("_"):`${Pe}`,watch:!0,height:140,placeholder:fe}))),Le.createElement(Ae.default.Item,{label:"\u7B54\u6848\u9009\u9879",required:!0,labelCol:{span:24}}),Le.createElement(Ae.default.List,{name:Ve,rules:[{validator(Wt,jt){const It=jt.some(Ke=>Ke[Ie]===1),ln=jt.findIndex(Ke=>{var ze;return((ze=Ke[vt])==null?void 0:ze.length)<=0});return ln!==-1?Promise.reject(new Error(`\u8BF7\u5148\u8F93\u5165${re[ln]}\u9009\u9879\u7684\u5185\u5BB9`)):It?Promise.resolve():Promise.reject(new Error("\u8BF7\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848"))}}]},(Wt,{add:jt,remove:It})=>Le.createElement("div",{id:Array.isArray(Ce)?Ce.join("_"):`${Ce}`},Wt.map((ln,Ke)=>{var ze=ln,{key:Bt,name:Gt}=ze,ht=ne(ze,["key","name"]);const _t=Pt===Bt,be=()=>{yt(Bt)},Et=Ke<7&&Ke===Wt.length-1,tn=()=>jt({[vt]:"",[Ie]:0}),pt=()=>It(Gt);return Le.createElement(Ae.default.Item,z(y({},ht),{key:Bt,name:Gt,className:Ze.Z.choiceListWrap,rules:[{validator(at,sn){return sn!=null&&sn.choice_text?Promise.resolve():Promise.reject(new Error(`\u8BF7\u5148\u8F93\u5165${re[Ke]}\u9009\u9879\u7684\u5185\u5BB9`))}}]}),Le.createElement(le,{choiceTextKey:vt,answerKey:Ie,index:Ke,isEdit:_t,setInputActive:be,form:rt,choiceOptionsPath:Ce,allowChangeMode:et,showAddIcon:Et,addItem:tn,deleteItem:pt}))}),Wt.length<8&&Le.createElement("div",{className:`${Ze.Z.addBtn} mb30`,onClick:()=>jt({[vt]:"",[Ie]:0})},"\u6DFB\u52A0\u9009\u9879"))),xe&&Le.createElement("div",{onClick:()=>nt(!0)},Le.createElement(Ae.default.Item,{name:Me,label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},Le.createElement(Ge.x,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:Tt}))))}},92046:function(dt,xt,oe){"use strict";oe.d(xt,{u:function(){return et}});var x=oe(59301),he=oe(43418),Be=oe(95237),Ne=oe(43604),Ae=oe(92832),Ze=oe(6848),Fe=oe(78673),$e=oe(78241),Ge=oe(5112),Le=oe(5871),Te=oe(31457),We=oe(12893),Qe=oe(61485),ie=oe(8423),E=oe(19105),a=oe(59301),b=Object.defineProperty,y=Object.defineProperties,z=Object.getOwnPropertyDescriptors,ne=Object.getOwnPropertySymbols,re=Object.prototype.hasOwnProperty,le=Object.prototype.propertyIsEnumerable,ge=(rt,xe,Pt)=>xe in rt?b(rt,xe,{enumerable:!0,configurable:!0,writable:!0,value:Pt}):rt[xe]=Pt,fe=(rt,xe)=>{for(var Pt in xe||(xe={}))re.call(xe,Pt)&&ge(rt,Pt,xe[Pt]);if(ne)for(var Pt of ne(xe))le.call(xe,Pt)&&ge(rt,Pt,xe[Pt]);return rt},Pe=(rt,xe)=>y(rt,z(xe)),Ve=(rt,xe)=>{var Pt={};for(var yt in rt)re.call(rt,yt)&&xe.indexOf(yt)<0&&(Pt[yt]=rt[yt]);if(rt!=null&&ne)for(var yt of ne(rt))xe.indexOf(yt)<0&&le.call(rt,yt)&&(Pt[yt]=rt[yt]);return Pt};const Me=({value:rt,onChange:xe})=>{const Pt=Tt=>{he.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 nt=[...rt];nt.splice(Tt,1),xe(nt)}})},yt=()=>{const Tt=[...rt];Tt.push(""),xe(Tt)};return a.createElement(Be.Z,{className:"ml20"},a.createElement(Ne.Z,{flex:1},rt==null?void 0:rt.map((Tt,nt)=>a.createElement(Be.Z,{key:`${Tt}_${nt}`,className:"mb20"},a.createElement(Ae.default.TextArea,{style:{flex:1,minHeight:44},defaultValue:Tt,autoSize:{maxRows:3},maxLength:1e3,onBlur:Wt=>{const jt=[...rt],It=Wt.target.value.trim();jt[nt]=It,xe(jt)}}),a.createElement(Ze.Z,{title:"\u5220\u9664"},a.createElement(We.Z,{className:ie.Z.deleteIcon,style:{marginLeft:15,visibility:nt>0?"visible":"hidden"},onClick:()=>Pt(nt)}))))),a.createElement(Ne.Z,null,a.createElement("div",{className:`${ie.Z.addBtn}`,onClick:()=>{yt()}},"\u65B0\u589E\u7B54\u6848")))},vt=({value:rt,onChange:xe})=>{const Pt=Tt=>{he.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 nt=[...rt];nt.splice(Tt,1),xe(nt)}})},yt=()=>{const Tt=[...rt];Tt.push(""),xe(Tt)};return a.createElement(Be.Z,{className:"ml20"},a.createElement(Ne.Z,{flex:1},rt==null?void 0:rt.map((Tt,nt)=>a.createElement(Be.Z,{key:`${Tt}_${nt}`,align:"middle",className:"mb20"},a.createElement(E.Z,{value:Tt,style:{flex:1},onChange:Wt=>{const jt=[...rt];jt[nt]=Wt,xe(jt)}}),a.createElement(Ze.Z,{title:"\u5220\u9664"},a.createElement(We.Z,{className:ie.Z.deleteIcon,style:{marginLeft:15,visibility:nt>0?"visible":"hidden"},onClick:()=>Pt(nt)}))))),a.createElement(Ne.Z,null,a.createElement("div",{className:`${ie.Z.addBtn}`,onClick:()=>{yt()}},"\u65B0\u589E\u7B54\u6848")))},Ie=({value:rt=!0,onChange:xe})=>a.createElement(Fe.Z,{checked:!rt,onChange:Pt=>{xe(!Pt)}}),Ce="\u2581",et=({questionTitlePlaceholder:rt,form:xe,scoreByBlank:Pt=!1,answerKey:yt})=>{const[Tt,nt]=(0,x.useState)(!1),Wt=(ht,_t)=>{const be=_t.line;let Et=0;for(let pt=0;pt<be;pt++)Et+=ht.getLine(pt).split(Ce).length-1;const tn=ht.getLine(be).substring(0,_t.ch);return Et+=tn.split(Ce).length-1,Et},jt=(ht,_t,be,Et)=>{const tn=ht.getRange(_t.from,_t.to);let pt=0;if(_t.text.forEach(at=>{pt+=at.split(Ce).length-1}),_t.origin!=="setValue"){if(tn&&tn.indexOf(Ce)!==-1){const at=tn.split(Ce).length-1,sn=Wt(ht,_t.from);if(console.log(`\u5220\u9664${at}\u4E2A\uFF0C \u524D\u9762\u6709${sn}\u4E2A\uFF0C\u65B0\u589E${pt}\u4E2A`),at>1){const mt=Array.from({length:at},(Ye,Mt)=>sn+Mt);Et(mt)}else Et(sn)}else if(pt>0){const at=Wt(ht,_t.from);console.log(`\u65B0\u589E${pt}\u4E2A\uFF0C\u4E4B\u524D\u6709${at}\u4E2A`),be(pt,at)}}},It=()=>{const ht=xe.getFieldValue(yt);xe.setFieldsValue({[yt]:ht.map((_t,be)=>Pe(fe({},_t),{position:be+1}))})},ln=(0,x.useRef)(),Ke=(ht,_t)=>{for(let be=0;be<ht;be++)ln.current({position:null,answer_text:[""],model:1},_t+be);It()},ze=(0,x.useRef)(),Bt=ht=>{ze.current(ht),It()},Gt=$e.default.useWatch(yt,xe);return a.createElement("div",{className:ie.Z.wrap},a.createElement("div",{className:ie.Z.questionTitleEditorWrap},a.createElement($e.default.Item,{label:"\u9898\u5E72",name:"name",labelCol:{span:24},rules:[{required:!0}]},a.createElement(Te.h,{scrollId:"name",watch:!0,height:140,placeholder:rt,showNullButton:!0,onCMBeforeChange:(ht,_t)=>{jt(ht,_t,Ke,Bt)}}))),a.createElement($e.default.List,{name:yt,rules:[{validator(ht,_t){if(!(_t!=null&&_t.length))return Promise.reject(new Error("\u8BF7\u5148\u5728\u9898\u5E72\u4E2D\u63D2\u5165\u586B\u7A7A\u9879"));for(const be of _t){const{answer_text:Et}=be||{};if(Et!=null&&Et.some(tn=>(tn==null?void 0:tn.length)===0))return Promise.reject(new Error("\u586B\u7A7A\u9879\u7B54\u6848\u4E0D\u80FD\u4E3A\u7A7A"))}return Promise.resolve()}}]},(ht,{add:_t,remove:be},{errors:Et})=>(ln.current=_t,ze.current=be,a.createElement(a.Fragment,null,a.createElement($e.default.Item,{label:a.createElement("span",null,"\u586B\u7A7A\u9879\u7B54\u6848",!(ht!=null&&ht.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}}),ht.map((tn,pt)=>{var at=tn,{key:sn,name:mt}=at,Ye=Ve(at,["key","name"]),Mt,Gn;return a.createElement("div",{style:{marginBottom:10},key:sn},a.createElement(Be.Z,{className:"mb20",align:"middle",wrap:!1},a.createElement(Ne.Z,{style:{marginRight:10},flex:"0 0 auto",className:`${ie.Z.blankIndex}`},"\u586B\u7A7A\u9879",pt+1),a.createElement($e.default.Item,Pe(fe({},Ye),{name:[mt,"model"],noStyle:!0}),a.createElement(Ge.ZP.Group,{onChange:()=>{const Rn=xe.getFieldValue(yt);xe.setFieldsValue({[yt]:Rn.map((Lt,kn)=>Pe(fe({},Lt),{answer_text:mt===kn?[""]:Lt.answer_text}))})}},a.createElement(Ge.ZP,{value:1},"\u6587\u672C\u6A21\u5F0F ",a.createElement(Ze.Z,{title:"\u5B66\u751F\u7B54\u9898\u65F6\uFF0C\u9700\u8981\u5728\u6587\u672C\u6846\u4E2D\u586B\u5199\u6587\u672C\u7B54\u6848"},a.createElement(Qe.Z,null))),a.createElement(Ge.ZP,{value:2},"\u6570\u5B66\u516C\u5F0F\u6A21\u5F0F ",a.createElement(Ze.Z,{title:"\u5B66\u751F\u7B54\u9898\u65F6\uFF0C\u9700\u8981\u7F16\u5199\u6570\u5B66\u516C\u5F0F\u4F5C\u4E3A\u7B54\u6848"},a.createElement(Qe.Z,null)))))),a.createElement(Be.Z,{style:{marginLeft:20},align:"middle",wrap:!1},a.createElement(Ne.Z,{flex:1},a.createElement(Be.Z,{align:"top",justify:"space-between",wrap:!1},a.createElement(Ne.Z,{flex:1},a.createElement($e.default.Item,Pe(fe({},Ye),{name:[mt,"answer_text"],noStyle:!0}),((Gn=(Mt=xe.getFieldValue(yt))==null?void 0:Mt[mt])==null?void 0:Gn.model)===1?a.createElement(Me,null):a.createElement(vt,null))),Pt&&a.createElement(Ne.Z,{flex:"224px",style:{margin:"-7px 0 0 20px"}},a.createElement($e.default.Item,Pe(fe({},Ye),{name:[mt,"score"],label:"\u5206\u503C",rules:[{required:!0}],className:ie.Z.blankInputNumberWrapper}),a.createElement(Le.Z,{min:.1,max:100,precision:1,style:{width:"100%"},placeholder:"\u8BF7\u8F93\u5165\u5206\u503C"})))),a.createElement($e.default.Item,Pe(fe({},Ye),{name:[mt,"position"],noStyle:!0}),a.createElement(Ae.default,{type:"hidden"})))))})))),a.createElement(Be.Z,{align:"middle"},a.createElement($e.default.Item,{name:"downcase",valuePropName:"checked"},a.createElement(Fe.Z,null)),a.createElement(Ne.Z,{className:"ml10"},"\u5224\u5206\u65F6\u5FFD\u7565\u7B54\u6848\u4E2D\u7684\u5B57\u6BCD\u5927\u5C0F\u5199")),a.createElement(Be.Z,{align:"middle"},a.createElement($e.default.Item,{name:"no_space",valuePropName:"checked"},a.createElement(Fe.Z,null)),a.createElement(Ne.Z,{className:"ml10"},"\u5224\u5206\u65F6\u5FFD\u7565\u7B54\u6848\u4E2D\u7684\u7A7A\u683C")),(Gt==null?void 0:Gt.length)>1&&a.createElement(Be.Z,{align:"middle",className:(Gt==null?void 0:Gt.length)>1?"mb30":`${ie.Z.hide}`},a.createElement($e.default.Item,{name:"is_ordered"},a.createElement(Ie,null)),a.createElement(Ne.Z,{className:"ml10"},"\u5141\u8BB8\u5B66\u751F\u6BCF\u4E2A\u586B\u7A7A\u7684\u7B54\u6848\u4E0E\u6807\u51C6\u7B54\u6848\u7684\u987A\u5E8F\u4E0D\u4E00\u81F4")),a.createElement("div",{onClick:()=>nt(!0)},a.createElement($e.default.Item,{name:"analysis",label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},a.createElement(Te.x,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:Tt}))))}},14289:function(dt,xt,oe){"use strict";oe.d(xt,{Z:function(){return ne}});var x=oe(59301),he=oe(95237),Be=oe(43604),Ne=oe(78241),Ae=oe(8423),Ze=oe(31457),Fe=oe(59301),$e=Object.defineProperty,Ge=Object.defineProperties,Le=Object.getOwnPropertyDescriptors,Te=Object.getOwnPropertySymbols,We=Object.prototype.hasOwnProperty,Qe=Object.prototype.propertyIsEnumerable,ie=(re,le,ge)=>le in re?$e(re,le,{enumerable:!0,configurable:!0,writable:!0,value:ge}):re[le]=ge,E=(re,le)=>{for(var ge in le||(le={}))We.call(le,ge)&&ie(re,ge,le[ge]);if(Te)for(var ge of Te(le))Qe.call(le,ge)&&ie(re,ge,le[ge]);return re},a=(re,le)=>Ge(re,Le(le)),b=(re,le)=>{var ge={};for(var fe in re)We.call(re,fe)&&le.indexOf(fe)<0&&(ge[fe]=re[fe]);if(re!=null&&Te)for(var fe of Te(re))le.indexOf(fe)<0&&Qe.call(re,fe)&&(ge[fe]=re[fe]);return ge};const y={\u6B63\u786E:"T",\u9519\u8BEF:"F"},z=({value:re,onChange:le,form:ge})=>{const fe=(re==null?void 0:re.is_answer)===1,Pe=re==null?void 0:re.choice_text,Ve=()=>{const Me=ge.getFieldsValue().choices.map(vt=>({choice_text:vt.choice_text,is_answer:0}));ge.setFieldsValue({choices:Me}),le(a(E({},re),{is_answer:1}))};return Fe.createElement(he.Z,{className:Ae.Z.choiceWrap,align:"middle",wrap:!1,style:{marginBottom:"20px"}},Fe.createElement(Be.Z,{onClick:Ve,className:`${Ae.Z.choiceIndex} ${Ae.Z.judgementIndex} ${fe?Ae.Z.activeAnswer:""}`},y[Pe]),Fe.createElement(Be.Z,{flex:1,className:`${Ae.Z.editorWrap} ml15`},Fe.createElement("div",{className:`${Ae.Z.inputBorder} ${Ae.Z.placeholder} ${fe?Ae.Z.activeJudgementAnswer:""}`},Pe)),Fe.createElement(Be.Z,{flex:"0 0 auto",className:"ml15"},Fe.createElement("div",{onClick:Ve,className:`${Ae.Z.setAnswerBtn} ${fe?Ae.Z.activeAnswer:""}`},fe?"\u6B63\u786E\u7B54\u6848":"\u8BBE\u4E3A\u7B54\u6848")))},ne=({questionTitlePlaceholder:re,choiceKey:le,form:ge})=>{const[fe,Pe]=(0,x.useState)(!1);return Fe.createElement("div",{className:Ae.Z.wrap},Fe.createElement("div",{className:Ae.Z.questionTitleEditorWrap},Fe.createElement(Ne.default.Item,{label:"\u9898\u5E72",name:"name",labelCol:{span:24},rules:[{required:!0}]},Fe.createElement(Ze.h,{scrollId:"name",watch:!0,height:140,placeholder:re}))),Fe.createElement(Ne.default.Item,{label:"\u7B54\u6848\u9009\u9879",required:!0,labelCol:{span:24}},Fe.createElement(Ne.default.List,{name:"choices",rules:[{validator(Ve,Me){return Me.some(Ie=>(Ie==null?void 0:Ie.is_answer)===1)?Promise.resolve():Promise.reject(new Error("\u8BF7\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848"))}}]},Ve=>Fe.createElement("div",{id:"choices"},Ve.map(Me=>{var vt=Me,{key:Ie,name:Ce}=vt,et=b(vt,["key","name"]);return Fe.createElement(Ne.default.Item,a(E({},et),{key:Ie,name:Ce,noStyle:!0}),Fe.createElement(z,{form:ge}))})))),Fe.createElement("div",{onClick:()=>Pe(!0)},Fe.createElement(Ne.default.Item,{name:"analysis",label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},Fe.createElement(Ze.x,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:fe}))))}},31457:function(dt,xt,oe){"use strict";oe.d(xt,{h:function(){return E},x:function(){return a}});var x=oe(39793),he=oe(8423),Be=oe(91842),Ne=oe(59301),Ae=Object.defineProperty,Ze=Object.defineProperties,Fe=Object.getOwnPropertyDescriptors,$e=Object.getOwnPropertySymbols,Ge=Object.prototype.hasOwnProperty,Le=Object.prototype.propertyIsEnumerable,Te=(b,y,z)=>y in b?Ae(b,y,{enumerable:!0,configurable:!0,writable:!0,value:z}):b[y]=z,We=(b,y)=>{for(var z in y||(y={}))Ge.call(y,z)&&Te(b,z,y[z]);if($e)for(var z of $e(y))Le.call(y,z)&&Te(b,z,y[z]);return b},Qe=(b,y)=>Ze(b,Fe(y)),ie=(b,y)=>{var z={};for(var ne in b)Ge.call(b,ne)&&y.indexOf(ne)<0&&(z[ne]=b[ne]);if(b!=null&&$e)for(var ne of $e(b))y.indexOf(ne)<0&&Le.call(b,ne)&&(z[ne]=b[ne]);return z};const E=b=>{var y=b,{value:z,onChange:ne,scrollId:re}=y,le=ie(y,["value","onChange","scrollId"]);return Ne.createElement("div",{id:re||""},Ne.createElement(x.Z,Qe(We({},le),{defaultValue:z,onChange:(ge,fe)=>{fe!=null&&fe.length?ne(ge,fe):ne(ge)}})))},a=({value:b,onChange:y,placeholder:z,height:ne=140,isEdit:re,miniToolbar:le,watch:ge=!0})=>re?Ne.createElement(x.Z,{watch:ge,isFocus:!0,height:ne||void 0,placeholder:z,defaultValue:b,onChange:y,miniToolbar:le}):Ne.createElement("div",{style:{cursor:"pointer"}},b?Ne.createElement(Be.Z,{className:he.Z.inputBorder,value:b}):Ne.createElement("div",{className:`${he.Z.inputBorder} ${he.Z.placeholder} inputBorderError`},z))},44272:function(dt,xt,oe){"use strict";oe.d(xt,{W:function(){return vt}});var x=oe(59301),he=oe(8591),Be=oe(12563),Ne=oe(78241),Ae=oe(78673),Ze=oe(95237),Fe=oe(43604),$e=oe(6848),Ge=oe(92832),Le=oe(5871),Te=oe(8423),We=oe(31457),Qe=oe(39793),ie=oe(61485),E=Object.defineProperty,a=Object.defineProperties,b=Object.getOwnPropertyDescriptors,y=Object.getOwnPropertySymbols,z=Object.prototype.hasOwnProperty,ne=Object.prototype.propertyIsEnumerable,re=(Ie,Ce,et)=>Ce in Ie?E(Ie,Ce,{enumerable:!0,configurable:!0,writable:!0,value:et}):Ie[Ce]=et,le=(Ie,Ce)=>{for(var et in Ce||(Ce={}))z.call(Ce,et)&&re(Ie,et,Ce[et]);if(y)for(var et of y(Ce))ne.call(Ce,et)&&re(Ie,et,Ce[et]);return Ie},ge=(Ie,Ce)=>a(Ie,b(Ce)),fe=(Ie,Ce)=>{var et={};for(var rt in Ie)z.call(Ie,rt)&&Ce.indexOf(rt)<0&&(et[rt]=Ie[rt]);if(Ie!=null&&y)for(var rt of y(Ie))Ce.indexOf(rt)<0&&ne.call(Ie,rt)&&(et[rt]=Ie[rt]);return et};const Pe=Ie=>{var Ce=Ie,{value:et,onChange:rt}=Ce,xe=fe(Ce,["value","onChange"]);const Pt=yt=>{rt([yt])};return x.createElement(Qe.Z,ge(le({},xe),{defaultValue:et==null?void 0:et[0],onChange:Pt}))},Ve=Ie=>{if(!Ie)return!1;if(/^s*$/.test(Ie)||Ie.trim()===""){he.ZP.warning("\u5173\u952E\u8BCD\u4E0D\u80FD\u5168\u4E3A\u7A7A\u683C");return}let Ce=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 Ie==="|"?(he.ZP.warning("\u5173\u952E\u8BCD\u4E0D\u80FD\u53EA\u8F93\u5165\u4E00\u4E2A\u201C|\u201D\u5B57\u7B26\uFF01"),!1):!0},Me=({value:Ie=[],onClose:Ce})=>x.createElement(Be.default,{closable:!0,onClose:Ce,className:Te.Z.keywordTag},x.createElement("pre",{style:{margin:"0px",whiteSpace:"pre-wrap"}},Ie.join(" \u6216 "))),vt=({questionTitlePlaceholder:Ie,form:Ce,showKeywords:et,isMustKeyWords:rt=et})=>{const[xe,Pt]=(0,x.useState)(!1),[yt,Tt]=(0,x.useState)(""),nt=Ne.default.useWatch("use_keywords",Ce),Wt=Ne.default.useWatch("question_score",Ce);return x.createElement("div",{className:Te.Z.wrap},x.createElement("div",{className:Te.Z.questionTitleEditorWrap},x.createElement(Ne.default.Item,{label:"\u9898\u5E72",name:"name",labelCol:{span:24},rules:[{required:!0}]},x.createElement(We.h,{scrollId:"name",watch:!0,height:140,placeholder:Ie}))),x.createElement(Ne.default.Item,{label:"\u53C2\u8003\u7B54\u6848",name:"answer_texts",labelCol:{span:24}},x.createElement(Pe,{watch:!0,height:140,placeholder:"\u8BF7\u7F16\u8F91\u53C2\u8003\u7B54\u6848\uFF08\u975E\u5FC5\u586B\uFF09"})),et&&!rt&&x.createElement(Ne.default.Item,{hidden:!0,name:"use_keywords",valuePropName:"checked"},x.createElement(Ae.Z,{defaultChecked:!0})),et&&rt&&x.createElement(Ze.Z,{align:"middle",className:"mb30"},x.createElement(Ne.default.Item,{name:"use_keywords",valuePropName:"checked"},x.createElement(Ae.Z,null)),x.createElement(Fe.Z,{className:"ml10"},"\u5F00\u542F\u5173\u952E\u8BCD\u81EA\u52A8\u5224\u5206"),x.createElement(Fe.Z,null,x.createElement($e.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"}})))),(nt||!rt)&&x.createElement(Ne.default.List,{name:"keywords",rules:[{validator(jt,It){return rt?It!=null&&It.length?(It==null?void 0:It.reduce((Ke,ze)=>Ke+ze.score,0))>parseFloat(Wt)?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()}}]},(jt,{add:It,remove:ln})=>x.createElement(x.Fragment,null,x.createElement("div",{className:`${Te.Z.title} mb10`},rt?"\u5173\u952E\u8BCD":x.createElement("span",{style:{color:"#9096A3"}},"\u5224\u5206\u5173\u952E\u8BCD")),x.createElement(Ze.Z,{align:"middle",className:"font14 mb30"},x.createElement(Fe.Z,{flex:1},x.createElement(Ge.default,{value:yt,onChange:Ke=>{Tt(Ke.target.value)},maxLength:50,allowClear:!0,onPressEnter:Ke=>{var ze,Bt,Gt,ht;const _t=`${(ze=Ke.target)==null?void 0:ze.value}`,be=(Gt=(Bt=_t==null?void 0:_t.split("|"))==null?void 0:Bt.filter(pt=>!!pt))==null?void 0:Gt.map(pt=>pt==null?void 0:pt.trim()),Et=Ce.getFieldValue("keywords"),tn=((ht=Et==null?void 0:Et.map(pt=>pt==null?void 0:pt.keyword))==null?void 0:ht.flat())||[];for(const pt of be)if(tn.includes(pt)){he.ZP.error("\u4E3A\u907F\u514D\u5224\u5206\u9519\u8BEF\uFF0C\u8BF7\u52FF\u8BBE\u7F6E\u76F8\u540C\u7684\u5173\u952E\u8BCD");return}Ve(_t)&&(It({keyword:be,score:1}),Tt(""))},className:Te.Z.inputBorder,placeholder:"\u652F\u6301\u8BBE\u7F6E\u591A\u4E2A\u5173\u952E\u8BCD\uFF1B\u5E76\u5217\u5173\u952E\u8BCD\uFF08\u6216\u7684\u5173\u7CFB\uFF09\u8BF7\u7528\u201C|\u201D\u5206\u9694\u5F00"})),x.createElement(Fe.Z,{flex:"148px",style:{textAlign:"right",color:"#e99237"}},"\u201C\u56DE\u8F66\u952E\u201D\u4FDD\u5B58\u5173\u952E\u8BCD")),jt.map(Ke=>{var ze=Ke,{key:Bt,name:Gt}=ze,ht=fe(ze,["key","name"]);return x.createElement(Ze.Z,{key:Bt,className:"mb20",style:{marginRight:148}},x.createElement(Fe.Z,{flex:1},x.createElement(Ze.Z,{align:"middle",justify:"space-between"},x.createElement(Ne.default.Item,ge(le({},ht),{name:[Gt,"keyword"]}),x.createElement(Me,{onClose:()=>ln(Gt)})),rt&&x.createElement(Ne.default.Item,ge(le({},ht),{name:[Gt,"score"],label:"\u5206\u503C",rules:[{required:!0}],className:Te.Z.blankInputNumberWrapper}),x.createElement(Le.Z,{className:Te.Z.blankInput,min:.1,max:100,precision:1,style:{width:"100%"},placeholder:"\u8BF7\u8F93\u5165\u5173\u952E\u8BCD\u5206\u6570"})))))}))),x.createElement("div",{onClick:()=>Pt(!0)},x.createElement(Ne.default.Item,{name:"analysis",label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},x.createElement(We.x,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:xe}))))}},74716:function(dt,xt,oe){"use strict";oe.d(xt,{Z:function(){return Ae}});var x={text:"text___bQulM",sup:"sup___rX_Y3"},he=oe(78241),Be=oe(59301),Ae=({text:Ze,name:Fe="question_score"})=>{const $e=({value:Ge})=>Be.createElement("div",{className:x.text},Be.createElement("span",{className:x.sup},"*"),Be.createElement("span",{className:"mr10"},"\u5206\u503C"),Be.createElement("span",null,Ge||"--"),Be.createElement("span",{className:"c-grey-999"},Ze));return Be.createElement(he.default.Item,{noStyle:!0,name:Fe},Be.createElement($e,null))}},69720:function(dt,xt,oe){"use strict";oe.d(xt,{h:function(){return re}});var x=oe(59301),he=oe(57809),Be=oe(78241),Ne=oe(3113),Ae=oe(89780),Ze=oe.n(Ae),Fe=oe(8336),$e=oe(12469),Ge=Object.defineProperty,Le=Object.defineProperties,Te=Object.getOwnPropertyDescriptors,We=Object.getOwnPropertySymbols,Qe=Object.prototype.hasOwnProperty,ie=Object.prototype.propertyIsEnumerable,E=(le,ge,fe)=>ge in le?Ge(le,ge,{enumerable:!0,configurable:!0,writable:!0,value:fe}):le[ge]=fe,a=(le,ge)=>{for(var fe in ge||(ge={}))Qe.call(ge,fe)&&E(le,fe,ge[fe]);if(We)for(var fe of We(ge))ie.call(ge,fe)&&E(le,fe,ge[fe]);return le},b=(le,ge)=>Le(le,Te(ge));const y=he.default.Option,z={labelCol:{span:4},wrapperCol:{span:20}},ne={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"]};xt.Z=({callback:le,onCancel:ge})=>{const[fe,Pe]=(0,x.useState)("python");function Ve(vt){Pe(ne[vt][1])}function Me(vt){le(vt)}return x.createElement(Be.default,b(a({},z),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:Me,style:{width:500}}),x.createElement(Be.default.Item,{label:"\u4EE3\u7801\u8BED\u8A00",name:"language"},x.createElement(he.default,{getPopupContainer:vt=>vt.parentNode,onChange:Ve},Object.keys(ne).map(vt=>x.createElement(y,{key:vt,value:vt},ne[vt][0])))),x.createElement(Be.default.Item,{label:"\u4EE3\u7801\u5185\u5BB9",name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EE3\u7801\u5185\u5BB9"}]},x.createElement(re,{mode:fe})),x.createElement("div",{className:"flex-container flex-end"},x.createElement(Ne.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),x.createElement(Ne.ZP,{type:"ghost",onClick:ge},"\u53D6\u6D88")))};function re({value:le,onChange:ge,mode:fe,options:Pe={}}){const Ve=(0,x.useRef)(),[Me,vt]=(0,x.useState)();return(0,x.useEffect)(()=>{if(Me){let Ie=function(Ce){const et=Ce.getValue();ge&&ge(et)};return Me.on("change",Ie),()=>{Me.off("change",Ie)}}},[Me,ge]),(0,x.useEffect)(()=>{Me&&Me.setOption("mode",fe)},[Me,fe]),(0,x.useEffect)(()=>{Me&&(le!==Me.getValue()||le==="")&&setTimeout(()=>{Me.setValue(le||"")},300)},[Me,le]),(0,x.useEffect)(()=>{if(Ve.current&&!Me){const Ie=Ze().fromTextArea(Ve.current,a({mode:fe,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},Pe));vt(Ie)}},[Ve.current,Me]),x.createElement("div",{className:"my-codemirror-container"},x.createElement("textarea",{ref:Ve}))}},39793:function(dt,xt,oe){"use strict";oe.d(xt,{Z:function(){return wt}});var x=oe(59301),he=oe(89780),Be=oe.n(he),Ne=oe(76374),Ae=oe(8336),Ze=oe(6313),Fe=oe(25717),$e=oe(99498),Ge=oe(25419),Le=oe(67549),Te=oe(91842),We=({value:De="",className:_e,showTextOnly:ke,showLines:st,style:Ut={}})=>{const qt=(0,x.useMemo)(()=>"",[De]);return x.createElement(x.Fragment,null,x.createElement("div",{dangerouslySetInnerHTML:{__html:qt}}))},Qe=oe(59301),ie=Object.defineProperty,E=Object.defineProperties,a=Object.getOwnPropertyDescriptors,b=Object.getOwnPropertySymbols,y=Object.prototype.hasOwnProperty,z=Object.prototype.propertyIsEnumerable,ne=(De,_e,ke)=>_e in De?ie(De,_e,{enumerable:!0,configurable:!0,writable:!0,value:ke}):De[_e]=ke,re=(De,_e)=>{for(var ke in _e||(_e={}))y.call(_e,ke)&&ne(De,ke,_e[ke]);if(b)for(var ke of b(_e))z.call(_e,ke)&&ne(De,ke,_e[ke]);return De},le=(De,_e)=>E(De,a(_e));let ge=[{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 fe({onActionCallback:De,title:_e,icon:ke,actionName:st,className:Ut="",children:qt}){function In(){De(st)}return Qe.createElement("a",{title:_e,className:Ut,onClick:In},Qe.createElement("i",{className:`${ke}`}),qt)}var Pe=({watch:De,showNullButton:_e,showNullProgramButton:ke,onActionCallback:st,fullScreen:Ut,insertTemp:qt,hidetoolBar:In,extraUse:vn})=>{const He=[...ge,{title:`${De?"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8":"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"}`,icon:`${De?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return Qe.createElement("ul",{className:"markdown-toolbar-container"},!In&&He.map((it,dn)=>Qe.createElement("li",{key:dn},it.actionName?Qe.createElement(fe,le(re({},it),{onActionCallback:st})):Qe.createElement("span",{className:"v-line"}))),_e?Qe.createElement("li",null,Qe.createElement(fe,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-null-ch",onActionCallback:st},Qe.createElement("span",{className:"fill-tip"},"\u70B9\u51FB\u63D2\u5165\b\u586B\u7A7A\u9879"))):null,ke?Qe.createElement(Qe.Fragment,null,Qe.createElement("li",null,Qe.createElement(fe,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-signal",onActionCallback:st},Qe.createElement("span",{className:"fill-tip"},"+\u5355\u884C\u586B\u7A7A\u9879"))),Qe.createElement("li",null,Qe.createElement(fe,{icon:"md-iconfont icon-uniE900 insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-multiple",onActionCallback:st},Qe.createElement("span",{className:"fill-tip"},"+\u591A\u884C\u586B\u7A7A\u9879")))):null,qt&&Qe.createElement("li",null,Qe.createElement(fe,{icon:"md-iconfont icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:`inster-template-${qt}`,onActionCallback:st},Qe.createElement("span",{className:"fill-tip"},"\u63D2\u5165\u6A21\u677F"))),vn&&Qe.createElement("li",null,vn),Qe.createElement("li",{className:"btn-full-screen"},Qe.createElement(fe,{icon:`${Ut?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:Ut?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:st})))},Ve=oe(91558),Me=oe(78241),vt=oe(92832),Ie=oe(3113),Ce=Object.defineProperty,et=Object.defineProperties,rt=Object.getOwnPropertyDescriptors,xe=Object.getOwnPropertySymbols,Pt=Object.prototype.hasOwnProperty,yt=Object.prototype.propertyIsEnumerable,Tt=(De,_e,ke)=>_e in De?Ce(De,_e,{enumerable:!0,configurable:!0,writable:!0,value:ke}):De[_e]=ke,nt=(De,_e)=>{for(var ke in _e||(_e={}))Pt.call(_e,ke)&&Tt(De,ke,_e[ke]);if(xe)for(var ke of xe(_e))yt.call(_e,ke)&&Tt(De,ke,_e[ke]);return De},Wt=(De,_e)=>et(De,rt(_e));const jt={labelCol:{span:4},wrapperCol:{span:20}};var It=({callback:De,onCancel:_e})=>{function ke(st){De(st)}return x.createElement(Me.default,Wt(nt({},jt),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:ke,style:{width:500}}),x.createElement(Me.default.Item,{label:"\u94FE\u63A5\u5730\u5740",name:"link",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u5730\u5740"}]},x.createElement(vt.default,null)),x.createElement(Me.default.Item,{label:"\u94FE\u63A5\u6807\u9898",name:"title",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u6807\u9898"}]},x.createElement(vt.default,null)),x.createElement("div",{className:"flex-container flex-end"},x.createElement(Ie.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),x.createElement(Ie.ZP,{type:"ghost",onClick:_e},"\u53D6\u6D88")))},ln=oe(69720),Ke=oe(17077),ze=oe(43418),Bt=oe(95237),Gt=oe(9507),ht=oe(59301),_t=({callback:De,onCancel:_e})=>{const ke=document.createElement("canvas"),st=ke.getContext("2d");ke.width=1e3,ke.height=800,st.fillStyle="#ffffff",st.fillRect(0,0,ke.width,ke.height);const Ut=ke.toDataURL("image/png");return ht.createElement(ze.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},ht.createElement(Bt.Z,{style:{height:"100vh"}},ht.createElement(Gt.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:Ut,visible:!0,title:String(Date.now())},onOk:qt=>{De({src:qt.url})},onClose:_e})))},be=oe(12378);function Et(){go.CommandHandler.call(this),this._arrowKeyBehavior="move",this._pasteOffset=new go.Point(10,10),this._lastPasteOffset=new go.Point(0,0)}go.Diagram.inherit(Et,go.CommandHandler),Et.prototype.canAlignSelection=function(){var De=this.diagram;return!(De===null||De.isReadOnly||De.isModelReadOnly||De.selection.count<2)},Et.prototype.alignLeft=function(){var De=this.diagram;De.startTransaction("aligning left");var _e=1/0;De.selection.each(function(ke){ke instanceof go.Link||(_e=Math.min(ke.position.x,_e))}),De.selection.each(function(ke){ke instanceof go.Link||ke.move(new go.Point(_e,ke.position.y))}),De.commitTransaction("aligning left")},Et.prototype.alignRight=function(){var De=this.diagram;De.startTransaction("aligning right");var _e=-1/0;De.selection.each(function(ke){if(!(ke instanceof go.Link)){var st=ke.actualBounds.x+ke.actualBounds.width;_e=Math.max(st,_e)}}),De.selection.each(function(ke){ke instanceof go.Link||ke.move(new go.Point(_e-ke.actualBounds.width,ke.position.y))}),De.commitTransaction("aligning right")},Et.prototype.alignTop=function(){var De=this.diagram;De.startTransaction("alignTop");var _e=1/0;De.selection.each(function(ke){ke instanceof go.Link||(_e=Math.min(ke.position.y,_e))}),De.selection.each(function(ke){ke instanceof go.Link||ke.move(new go.Point(ke.position.x,_e))}),De.commitTransaction("alignTop")},Et.prototype.alignBottom=function(){var De=this.diagram;De.startTransaction("aligning bottom");var _e=-1/0;De.selection.each(function(ke){if(!(ke instanceof go.Link)){var st=ke.actualBounds.y+ke.actualBounds.height;_e=Math.max(st,_e)}}),De.selection.each(function(ke){ke instanceof go.Link||ke.move(new go.Point(ke.actualBounds.x,_e-ke.actualBounds.height))}),De.commitTransaction("aligning bottom")},Et.prototype.alignCenterX=function(){var De=this.diagram,_e=De.selection.first();if(_e){De.startTransaction("aligning Center X");var ke=_e.actualBounds.x+_e.actualBounds.width/2;De.selection.each(function(st){st instanceof go.Link||st.move(new go.Point(ke-st.actualBounds.width/2,st.actualBounds.y))}),De.commitTransaction("aligning Center X")}},Et.prototype.alignCenterY=function(){var De=this.diagram,_e=De.selection.first();if(_e){De.startTransaction("aligning Center Y");var ke=_e.actualBounds.y+_e.actualBounds.height/2;De.selection.each(function(st){st instanceof go.Link||st.move(new go.Point(st.actualBounds.x,ke-st.actualBounds.height/2))}),De.commitTransaction("aligning Center Y")}},Et.prototype.alignColumn=function(De){var _e=this.diagram;_e.startTransaction("align Column"),De===void 0&&(De=0),De=parseFloat(De);var ke=new Array;_e.selection.each(function(vn){vn instanceof go.Link||ke.push(vn)});for(var st=0;st<ke.length-1;st++){var Ut=ke[st],qt=Ut.actualBounds.y+Ut.actualBounds.height+De,In=ke[st+1];In.move(new go.Point(Ut.actualBounds.x,qt))}_e.commitTransaction("align Column")},Et.prototype.alignRow=function(De){De===void 0&&(De=0),De=parseFloat(De);var _e=this.diagram;_e.startTransaction("align Row");var ke=new Array;_e.selection.each(function(vn){vn instanceof go.Link||ke.push(vn)});for(var st=0;st<ke.length-1;st++){var Ut=ke[st],qt=Ut.actualBounds.x+Ut.actualBounds.width+De,In=ke[st+1];In.move(new go.Point(qt,Ut.actualBounds.y))}_e.commitTransaction("align Row")},Et.prototype.canRotate=function(De){var _e=this.diagram;return!(_e===null||_e.isReadOnly||_e.isModelReadOnly||_e.selection.count<1)},Et.prototype.rotate=function(De){De===void 0&&(De=90);var _e=this.diagram;_e.startTransaction("rotate "+De.toString());var _e=this.diagram;_e.selection.each(function(ke){ke instanceof go.Link||ke instanceof go.Group||(ke.angle+=De)}),_e.commitTransaction("rotate "+De.toString())},Et.prototype.pullToFront=function(){var De=this.diagram;De.startTransaction("pullToFront");var _e=new go.Map;De.selection.each(function(ke){_e.set(ke.layer,0)}),_e.iteratorKeys.each(function(ke){var st=0;ke.parts.each(function(Ut){if(!Ut.isSelected){var qt=Ut.zOrder;isNaN(qt)?Ut.zOrder=0:st=Math.max(st,qt)}}),_e.set(ke,st)}),De.selection.each(function(ke){Et._assignZOrder(ke,_e.get(ke.layer)+1)}),De.commitTransaction("pullToFront")},Et.prototype.pushToBack=function(){var De=this.diagram;De.startTransaction("pushToBack");var _e=new go.Map;De.selection.each(function(ke){_e.set(ke.layer,0)}),_e.iteratorKeys.each(function(ke){var st=0;ke.parts.each(function(Ut){if(!Ut.isSelected){var qt=Ut.zOrder;isNaN(qt)?Ut.zOrder=0:st=Math.min(st,qt)}}),_e.set(ke,st)}),De.selection.each(function(ke){Et._assignZOrder(ke,_e.get(ke.layer)-1-Et._findGroupDepth(ke))}),De.commitTransaction("pushToBack")},Et._assignZOrder=function(De,_e,ke){ke===void 0&&(ke=De),De.layer===ke.layer&&(De.zOrder=_e),De instanceof go.Group&&De.memberParts.each(function(st){Et._assignZOrder(st,_e+1,ke)})},Et._findGroupDepth=function(De){if(De instanceof go.Group){var _e=0;return De.memberParts.each(function(ke){_e=Math.max(_e,Et._findGroupDepth(ke))}),_e+1}else return 0},Et.prototype.doKeyDown=function(){var De=this.diagram;if(De!==null){var _e=De.lastInput;if(_e.key==="Up"||_e.key==="Down"||_e.key==="Left"||_e.key==="Right"){var ke=this.arrowKeyBehavior;if(ke==="none")return;if(ke==="select"){this._arrowKeySelect();return}else if(ke==="move"){this._arrowKeyMove();return}else if(ke==="tree"){this._arrowKeyTree();return}}go.CommandHandler.prototype.doKeyDown.call(this)}},Et.prototype._getAllParts=function(){var De=new Array;return this.diagram.nodes.each(function(_e){De.push(_e)}),this.diagram.parts.each(function(_e){De.push(_e)}),De},Et.prototype._arrowKeyMove=function(){var De=this.diagram,_e=De.lastInput,ke=0,st=0;if(_e.control||_e.meta)ke=1,st=1;else if(De.grid!==null){var Ut=De.grid.gridCellSize;st=Ut.width,ke=Ut.height}De.startTransaction("arrowKeyMove"),De.selection.each(function(qt){_e.key==="Up"?qt.move(new go.Point(qt.actualBounds.x,qt.actualBounds.y-ke)):_e.key==="Down"?qt.move(new go.Point(qt.actualBounds.x,qt.actualBounds.y+ke)):_e.key==="Left"?qt.move(new go.Point(qt.actualBounds.x-st,qt.actualBounds.y)):_e.key==="Right"&&qt.move(new go.Point(qt.actualBounds.x+st,qt.actualBounds.y))}),De.commitTransaction("arrowKeyMove")},Et.prototype._arrowKeySelect=function(){var De=this.diagram,_e=De.lastInput,ke=null;_e.key==="Up"?ke=this._findNearestPartTowards(270):_e.key==="Down"?ke=this._findNearestPartTowards(90):_e.key==="Left"?ke=this._findNearestPartTowards(180):_e.key==="Right"&&(ke=this._findNearestPartTowards(0)),ke!==null&&(_e.shift?ke.isSelected=!0:_e.control||_e.meta?ke.isSelected=!ke.isSelected:De.select(ke))},Et.prototype._findNearestPartTowards=function(De){var _e=this.diagram.selection.first();if(_e===null)return null;for(var ke=_e.actualBounds.center,st=this._getAllParts(),Ut=1/0,qt=_e,In=0;In<st.length;In++){var vn=st[In];if(vn!==_e&&vn.canSelect()){var He=vn.actualBounds.center,it=ke.directionPoint(He),dn=this._angleCloseness(it,De);if(dn<=45){var gt=ke.distanceSquaredPoint(He);gt*=1+Math.sin(dn*Math.PI/180),gt<Ut&&(Ut=gt,qt=vn)}}}return qt},Et.prototype._angleCloseness=function(De,_e){return Math.min(Math.abs(_e-De),Math.min(Math.abs(_e+360-De),Math.abs(_e-360-De)))},Et.prototype._arrowKeyTree=function(){var De=this.diagram,_e=De.selection.first();if(_e instanceof go.Node){var ke=De.lastInput;if(ke.key==="Right"){if(!_e.isTreeLeaf)if(!_e.isTreeExpanded)De.commandHandler.canExpandTree(_e)&&De.commandHandler.expandTree(_e);else{var st=this._sortTreeChildrenByY(_e).first();st!==null&&De.select(st)}}else if(ke.key==="Left")if(!_e.isTreeLeaf&&_e.isTreeExpanded)De.commandHandler.canCollapseTree(_e)&&De.commandHandler.collapseTree(_e);else{var Ut=_e.findTreeParentNode();Ut!==null&&De.select(Ut)}else if(ke.key==="Up"){var Ut=_e.findTreeParentNode();if(Ut!==null){var qt=this._sortTreeChildrenByY(Ut),In=qt.indexOf(_e);if(In>0){for(var vn=qt.elt(In-1);vn!==null&&vn.isTreeExpanded&&!vn.isTreeLeaf;){var He=this._sortTreeChildrenByY(vn);vn=He.last()}vn!==null&&De.select(vn)}else De.select(Ut)}}else if(ke.key==="Down")if(_e.isTreeExpanded&&!_e.isTreeLeaf){var st=this._sortTreeChildrenByY(_e).first();st!==null&&De.select(st)}else for(;_e!==null;){var Ut=_e.findTreeParentNode();if(Ut===null)break;var qt=this._sortTreeChildrenByY(Ut),In=qt.indexOf(_e);if(In<qt.length-1){De.select(qt.elt(In+1));break}else _e=Ut}var it=De.selection.first();it!==null&&De.scrollToRect(it.actualBounds)}},Et.prototype._sortTreeChildrenByY=function(De){var _e=new go.List().addAll(De.findTreeChildrenNodes());return _e.sort(function(ke,st){var Ut=ke.location,qt=st.location;return Ut.y<qt.y?-1:Ut.y>qt.y?1:Ut.x<qt.x?-1:Ut.x>qt.x?1:0}),_e},Et.prototype.copyToClipboard=function(De){go.CommandHandler.prototype.copyToClipboard.call(this,De),this._lastPasteOffset.set(this.pasteOffset)},Et.prototype.pasteFromClipboard=function(){var De=go.CommandHandler.prototype.pasteFromClipboard.call(this);return this.diagram.moveParts(De,this._lastPasteOffset),this._lastPasteOffset.add(this.pasteOffset),De},Object.defineProperty(Et.prototype,"arrowKeyBehavior",{get:function(){return this._arrowKeyBehavior},set:function(De){if(De!=="move"&&De!=="select"&&De!=="scroll"&&De!=="tree"&&De!=="none")throw new Error('DrawCommandHandler.arrowKeyBehavior must be either "move", "select", "scroll", "tree", or "none", not: '+De);this._arrowKeyBehavior=De}}),Object.defineProperty(Et.prototype,"pasteOffset",{get:function(){return this._pasteOffset},set:function(De){if(!(De instanceof go.Point))throw new Error("DrawCommandHandler.pasteOffset must be a Point, not: "+De);this._pasteOffset.set(De)}});var tn=Et,pt=oe(63720),at=oe(43604),sn=oe(38986),mt={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re"},Ye=oe(59301),Mt=(De,_e,ke)=>new Promise((st,Ut)=>{var qt=He=>{try{vn(ke.next(He))}catch(it){Ut(it)}},In=He=>{try{vn(ke.throw(He))}catch(it){Ut(it)}},vn=He=>He.done?st(He.value):Promise.resolve(He.value).then(qt,In);vn((ke=ke.apply(De,_e)).next())});function Gn({onCancel:De,callback:_e}){let ke=(0,x.useRef)(),st=(0,x.useRef)(),Ut=(0,x.useRef)(),qt=(0,x.useRef)(!1);const In=(0,x.useRef)(!1),[vn,He]=(0,x.useState)(0);function it(){const gt=be.bx.make,$t={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"};ke.current=new be.S0(st.current,{padding:20,grid:gt(be.s_,"Grid",gt(be.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),gt(be.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),"draggingTool.isGridSnapEnabled":!0,handlesDragDropForTopLevelParts:!0,mouseDrop:Kt=>{var Fn=Kt.diagram.commandHandler.addTopLevelParts(Kt.diagram.selection,!0);Fn||Kt.diagram.currentTool.doCancel()},commandHandler:gt(tn),"clickCreatingTool.archetypeNodeData":{text:"\u672A\u547D\u540D",fill:null,stroke:null,borderColor:"rgba(0,0,0,0)"},PartCreated:Kt=>{var Fn=Kt.subject;Fn.location=Fn.location.copy().snapToGridPoint(Kt.diagram.grid.gridOrigin,Kt.diagram.grid.gridCellSize),setTimeout(()=>{Kt.diagram.commandHandler.editTextBlock()},20)},"commandHandler.archetypeGroupData":{isGroup:!0,text:"NEW GROUP"},SelectionGrouped:Kt=>{var Fn=Kt.subject;setTimeout(()=>{Kt.diagram.commandHandler.editTextBlock()})},LinkRelinked:Kt=>{var Fn=Kt.parameter.part;Fn.invalidateConnectedLinks();var Qn=Kt.subject;Kt.diagram.toolManager.linkingTool.isForwards?Qn.toNode.invalidateConnectedLinks():Qn.fromNode.invalidateConnectedLinks()},"undoManager.isEnabled":!0}),ke.current.nodeTemplate=gt(be.NB,"Auto",{locationSpot:be.z6.Center,locationObjectName:"SHAPE",desiredSize:new be.$u(120,60),minSize:new be.$u(40,40),resizable:!0,resizeCellSize:new be.$u(10,10),rotatable:!0},new be.KX("location","loc",be.E9.parse).makeTwoWay(be.E9.stringify),new be.KX("desiredSize","size",be.$u.parse).makeTwoWay(be.$u.stringify),gt(be.bn,{name:"SHAPE",fill:$t.white,cursor:"pointer",portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:be.z6.AllSides,toSpot:be.z6.AllSides},new be.KX("figure"),new be.KX("fill"),new be.KX("stroke","borderColor"),new be.KX("strokeWidth","thickness"),new be.KX("strokeDashArray","dash")),gt(be.bn,{width:100,height:20,strokeWidth:0,fill:"transparent"}),gt(be.al,{margin:1,textAlign:"center",overflow:be.al.OverflowEllipsis,editable:!0},new be.KX("text").makeTwoWay(),new be.KX("stroke","color"))),ke.current.nodeTemplate.toolTip=gt("ToolTip",gt(be.s_,"Vertical",{maxSize:new be.$u(200,NaN)},gt(be.al,{font:"bold 10pt sans-serif",textAlign:"center"},new be.KX("text")),gt(be.al,{font:"10pt sans-serif",textAlign:"center"},new be.KX("text","details"))));function gn(Kt,Fn){var Qn=(hn,Sa)=>{hn.handled=!0,hn.diagram.model.commit(sa=>{var Ia=Sa.part.adornedPart,Ya=new be.E9().setRectSpot(Ia.actualBounds,Kt);Ya.subtract(Ia.location),Ya.scale(2,2),Ya.x+=Math.sign(Ya.x)*130,Ya.y+=Math.sign(Ya.y)*130,Ya.add(Ia.location),Ya.snapToGridPoint(hn.diagram.grid.gridOrigin,hn.diagram.grid.gridCellSize);var lr=sa.copyNodeData(Ia.data);sa.setGroupKeyForNodeData(lr,sa.getGroupKeyForNodeData(Ia.data)),sa.addNodeData(lr);var Br={from:Ia.key,to:sa.getKeyForNodeData(lr)};sa.addLinkData(Br);var or=hn.diagram.findNodeForData(lr);or.location=Ya,hn.diagram.select(or),setTimeout(()=>{hn.diagram.commandHandler.editTextBlock()},20)})};return gt(be.bn,{figure:Fn,alignment:Kt,alignmentFocus:Kt.opposite(),width:Kt.equals(be.z6.Top)||Kt.equals(be.z6.Bottom)?25:18,height:Kt.equals(be.z6.Top)||Kt.equals(be.z6.Bottom)?18:25,fill:"orange",stroke:$t.white,strokeWidth:4,mouseEnter:(hn,Sa)=>Sa.fill="dodgerblue",mouseLeave:(hn,Sa)=>Sa.fill="orange",isActionable:!0,click:Qn,contextClick:Qn})}function Aa(Kt){return gt(be.bn,{fill:"orange",stroke:"rgba(0, 0, 0, 0)",strokeWidth:15,background:"transparent",geometryString:"F1 M0 0 b 0 360 -4 0 4 z M10 0 b 0 360 -4 0 4 z M20 0 b 0 360 -4 0 4",isActionable:!0,cursor:"context-menu",mouseEnter:(Fn,Qn)=>Qn.fill="dodgerblue",mouseLeave:(Fn,Qn)=>Qn.fill="orange",click:(Fn,Qn)=>{Fn.diagram.commandHandler.showContextMenu(Qn.part.adornedPart)}},Kt||{})}ke.current.nodeTemplate.selectionAdornmentTemplate=gt(be.uz,"Spot",gt(be.Vm,{padding:10}),gn(be.z6.Top,"TriangleUp"),gn(be.z6.Left,"TriangleLeft"),gn(be.z6.Right,"TriangleRight"),gn(be.z6.Bottom,"TriangleDown"),Aa({alignment:new be.z6(.75,0)}));function zn(Kt,Fn){return(Qn,hn)=>{Qn.handled=!0,Qn.diagram.model.commit(Sa=>{Sa.set(hn.part.adornedPart.data,Kt,Fn)})}}function bt(Kt,Fn){return Fn||(Fn="color"),gt(be.bn,{width:16,height:16,stroke:"lightgray",fill:Kt,margin:1,background:"transparent",mouseEnter:(Qn,hn)=>hn.stroke="dodgerblue",mouseLeave:(Qn,hn)=>hn.stroke="lightgray",click:zn(Fn,Kt),contextClick:zn(Fn,Kt)})}function Za(){return[gt("ContextMenuButton",gt(be.s_,"Horizontal",bt($t.white,"fill"),bt($t.beige,"fill"),bt($t.extralightblue,"fill"),bt($t.extralightred,"fill"))),gt("ContextMenuButton",gt(be.s_,"Horizontal",bt($t.lightgray,"fill"),bt($t.lightgreen,"fill"),bt($t.lightblue,"fill"),bt($t.lightred,"fill")))]}function qn(){return[gt("ContextMenuButton",gt(be.s_,"Horizontal",bt($t.black),bt($t.green),bt($t.blue),bt($t.red))),gt("ContextMenuButton",gt(be.s_,"Horizontal",bt($t.white),bt($t.magenta),bt($t.purple),bt($t.orange)))]}function Na(Kt,Fn){return Fn||(Fn="thickness"),gt(be.bn,"LineH",{width:16,height:16,strokeWidth:Kt,margin:1,background:"transparent",mouseEnter:(Qn,hn)=>hn.background="dodgerblue",mouseLeave:(Qn,hn)=>hn.background="transparent",click:zn(Fn,Kt),contextClick:zn(Fn,Kt)})}function Ca(Kt,Fn){return Fn||(Fn="dash"),gt(be.bn,"LineH",{width:24,height:16,strokeWidth:2,strokeDashArray:Kt,margin:1,background:"transparent",mouseEnter:(Qn,hn)=>hn.background="dodgerblue",mouseLeave:(Qn,hn)=>hn.background="transparent",click:zn(Fn,Kt),contextClick:zn(Fn,Kt)})}function ja(){return[gt("ContextMenuButton",gt(be.s_,"Horizontal",Na(1),Na(2),Na(3),Na(4))),gt("ContextMenuButton",gt(be.s_,"Horizontal",Ca(null),Ca([2,4]),Ca([4,4])))]}function xa(Kt,Fn){return Fn||(Fn="figure"),gt(be.bn,{width:32,height:32,scale:.5,fill:"lightgray",figure:Kt,margin:1,background:"transparent",mouseEnter:(Qn,hn)=>hn.fill="dodgerblue",mouseLeave:(Qn,hn)=>hn.fill="lightgray",click:zn(Fn,Kt),contextClick:zn(Fn,Kt)})}ke.current.nodeTemplate.contextMenu=gt("ContextMenu",gt("ContextMenuButton",gt(be.s_,"Horizontal",xa("Rectangle"),xa("RoundedRectangle"),xa("Ellipse"),xa("Diamond"))),gt("ContextMenuButton",gt(be.s_,"Horizontal",xa("Parallelogram2"),xa("ManualOperation"),xa("Procedure"),xa("Cylinder1"))),gt("ContextMenuButton",gt(be.s_,"Horizontal",xa("Terminator"),xa("CreateRequest"),xa("Document"),xa("TriangleDown"))),Za(),qn(),ja()),ke.current.groupTemplate=gt(be.ZA,"Spot",{layerName:"Background",ungroupable:!0,locationSpot:be.z6.Center,selectionObjectName:"BODY",computesBoundsAfterDrag:!0,handlesDragDropForMembers:!0,mouseDrop:(Kt,Fn)=>{var Qn=Fn.addMembers(Fn.diagram.selection,!0);Qn||Fn.diagram.currentTool.doCancel()},avoidable:!1},new be.KX("location","loc",be.E9.parse).makeTwoWay(be.E9.stringify),gt(be.s_,"Auto",{name:"BODY"},gt(be.bn,{parameter1:10,fill:$t.white,strokeWidth:2,cursor:"pointer",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:be.z6.AllSides,toSpot:be.z6.AllSides},new be.KX("fill"),new be.KX("stroke","color"),new be.KX("strokeWidth","thickness"),new be.KX("strokeDashArray","dash")),gt(be.Vm,{background:"transparent",margin:20})),gt(be.al,{alignment:be.z6.Top,alignmentFocus:be.z6.Bottom,font:"bold 12pt sans-serif",editable:!0},new be.KX("text"),new be.KX("stroke","color"))),ke.current.groupTemplate.selectionAdornmentTemplate=gt(be.uz,"Spot",gt(be.s_,"Auto",gt(be.bn,{fill:null,stroke:"dodgerblue",strokeWidth:3}),gt(be.Vm,{margin:1.5})),Aa({alignment:be.z6.TopRight,alignmentFocus:be.z6.BottomRight})),ke.current.groupTemplate.contextMenu=gt("ContextMenu",Za(),qn(),ja()),ke.current.linkTemplate=gt(be.rU,{layerName:"Foreground",routing:be.rU.AvoidsNodes,corner:10,fromShortLength:10,toShortLength:15,relinkableFrom:!0,relinkableTo:!0,reshapable:!0,resegmentable:!0},new be.KX("fromSpot","fromSpot",be.z6.parse),new be.KX("toSpot","toSpot",be.z6.parse),new be.KX("fromShortLength","dir",Kt=>Kt>=1?10:0),new be.KX("toShortLength","dir",Kt=>Kt>=1?10:0),new be.KX("points").makeTwoWay(),gt(be.bn,{strokeWidth:2},new be.KX("stroke","color"),new be.KX("strokeWidth","thickness"),new be.KX("strokeDashArray","dash")),gt(be.bn,{segmentIndex:0,segmentOffset:new be.E9(15,0),segmentOrientation:be.rU.OrientAlong,alignmentFocus:be.z6.Right,figure:"circle",width:10,strokeWidth:0},new be.KX("fill","color"),new be.KX("visible","dir",Kt=>Kt===1)),gt(be.bn,{segmentIndex:-1,segmentOffset:new be.E9(-10,6),segmentOrientation:be.rU.OrientPlus90,alignmentFocus:be.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new be.KX("fill","color"),new be.KX("visible","dir",Kt=>Kt>=1),new be.KX("width","thickness",Kt=>7+3*Kt),new be.KX("height","thickness",Kt=>7+3*Kt),new be.KX("segmentOffset","thickness",Kt=>new be.E9(-15,4+1.5*Kt))),gt(be.bn,{segmentIndex:0,segmentOffset:new be.E9(15,-6),segmentOrientation:be.rU.OrientMinus90,alignmentFocus:be.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new be.KX("fill","color"),new be.KX("visible","dir",Kt=>Kt===2),new be.KX("width","thickness",Kt=>7+3*Kt),new be.KX("height","thickness",Kt=>7+3*Kt),new be.KX("segmentOffset","thickness",Kt=>new be.E9(-15,4+1.5*Kt))),gt(be.al,{alignmentFocus:new be.z6(0,1,-4,0),editable:!0},new be.KX("text").makeTwoWay(),new be.KX("stroke","color"))),ke.current.linkTemplate.selectionAdornmentTemplate=gt(be.uz,gt(be.bn,{isPanelMain:!0,stroke:"transparent",strokeWidth:6,pathPattern:Ua(2)},new be.KX("pathPattern","thickness",Ua)),Aa({alignmentFocus:new be.z6(0,0,-6,-4)}));function Ua(Kt){return gt(be.bn,{stroke:"dodgerblue",strokeWidth:2,strokeCap:"square",geometryString:"M0 0 M4 2 H3 M4 "+(Kt+4).toString()+" H3"})}function Ga(Kt){var Fn="M0 0 M8 16 M0 8 L16 8 M12 11 L16 8 L12 5";return Kt===0?Fn="M0 0 M16 16 M0 8 L16 8":Kt===2&&(Fn="M0 0 M16 16 M0 8 L16 8 M12 11 L16 8 L12 5 M4 11 L0 8 L4 5"),gt(be.bn,{geometryString:Fn,margin:2,background:"transparent",mouseEnter:(Qn,hn)=>hn.background="dodgerblue",mouseLeave:(Qn,hn)=>hn.background="transparent",click:zn("dir",Kt),contextClick:zn("dir",Kt)})}function $a(Kt){var Fn=(Qn,hn)=>{Qn.handled=!0,Qn.diagram.model.commit(Sa=>{var sa=hn.part.adornedPart;Sa.set(sa.data,Kt?"toSpot":"fromSpot",be.z6.stringify(be.z6.AllSides)),(Kt?sa.toNode:sa.fromNode).invalidateConnectedLinks()})};return gt(be.bn,{width:12,height:12,fill:"transparent",mouseEnter:(Qn,hn)=>hn.background="dodgerblue",mouseLeave:(Qn,hn)=>hn.background="transparent",click:Fn,contextClick:Fn})}function Rt(Kt,Fn){var Qn=0,hn=be.z6.RightSide;Kt.equals(be.z6.Top)?(Qn=270,hn=be.z6.TopSide):Kt.equals(be.z6.Left)?(Qn=180,hn=be.z6.LeftSide):Kt.equals(be.z6.Bottom)&&(Qn=90,hn=be.z6.BottomSide),Fn||(Qn-=180);var Sa=(sa,Ia)=>{sa.handled=!0,sa.diagram.model.commit(Ya=>{var lr=Ia.part.adornedPart;Ya.set(lr.data,Fn?"toSpot":"fromSpot",be.z6.stringify(hn)),(Fn?lr.toNode:lr.fromNode).invalidateConnectedLinks()})};return gt(be.bn,{alignment:Kt,alignmentFocus:Kt.opposite(),geometryString:"M0 0 M12 12 M12 6 L1 6 L4 4 M1 6 L4 8",angle:Qn,background:"transparent",mouseEnter:(sa,Ia)=>Ia.background="dodgerblue",mouseLeave:(sa,Ia)=>Ia.background="transparent",click:Sa,contextClick:Sa})}ke.current.linkTemplate.contextMenu=gt("ContextMenu",qn(),ja(),gt("ContextMenuButton",gt(be.s_,"Horizontal",Ga(0),Ga(1),Ga(2))),gt("ContextMenuButton",gt(be.s_,"Horizontal",gt(be.s_,"Spot",$a(!1),Rt(be.z6.Top,!1),Rt(be.z6.Left,!1),Rt(be.z6.Right,!1),Rt(be.z6.Bottom,!1)),gt(be.s_,"Spot",{margin:new be.Zt(0,0,0,2)},$a(!0),Rt(be.z6.Top,!0),Rt(be.z6.Left,!0),Rt(be.z6.Right,!0),Rt(be.z6.Bottom,!0)))));const ma=`{ "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 Ht=["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 va(Kt){return console.log("shapeName:",Kt),Ht.indexOf(Kt)>=0}var aa=new be.YI(Ut.current,{maxSelectionCount:1,linkTemplate:gt(be.rU,{locationSpot:be.z6.Center,selectionAdornmentTemplate:gt(be.uz,"Link",{locationSpot:be.z6.Center},gt(be.bn,{isPanelMain:!0,fill:null,stroke:"deepskyblue",strokeWidth:0}),gt(be.bn,{toArrow:"Standard",stroke:null}))},{routing:be.rU.AvoidsNodes,curve:be.rU.JumpOver,corner:5,toShortLength:4},new be.KX("points"),gt(be.bn,{isPanelMain:!0,strokeWidth:2}),gt(be.bn,{toArrow:"Standard",stroke:null})),model:new be.FJ([{text:"\u672A\u547D\u540D",size:"100 100",fill:null,stroke:"#000"},...be.bn.getFigureGenerators().toArray().map(Kt=>({text:"\u672A\u547D\u540D",size:"100 100",figure:Kt.key,fill:"white",stroke:"#666",borderColor:"#000"}))])});return ke.current.addDiagramListener("TextEdited",function(Kt){var Fn;const Qn=Kt.subject.part;var hn=(Fn=document.activeElement)==null?void 0:Fn.value;typeof hn=="string"&&hn.trim()===""&&ke.current.model.commit(function(Sa){Sa.set(Qn.data,"text","\u672A\u547D\u540D"),ke.current.commandHandler.stopCommand()},"increment")}),aa.nodeTemplate=gt(be.NB,"Auto",{locationSpot:be.z6.Center},new be.KX("location","location",be.E9.parse).makeTwoWay(be.E9.stringify),gt(be.bn,"Circle",{fill:"white",stroke:"gray",strokeWidth:2,width:20,height:20,portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromLinkableSelfNode:!0,toLinkableSelfNode:!0},new be.KX("stroke").makeTwoWay(),new be.KX("fill").makeTwoWay(),new be.KX("figure")),gt(be.al,{margin:new be.Zt(5,5,3,5),font:"10pt sans-serif",minSize:new be.$u(16,16),maxSize:new be.$u(10,NaN),textAlign:"center",editable:!0},new be.KX("key").makeTwoWay())),setTimeout(()=>{ke.current.grid=gt(be.s_,"Grid",gt(be.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),gt(be.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),ke.current.grid.visible=!0,ke.current.grid.gridCellStroke="darkgray",ke.current.grid.gridCellStrokeWidth=1},300),window.myDiagrams=ke.current,ke.current}const dn=()=>Mt(this,null,function*(){var gt=ke.current.makeImage();const $t=yield(0,sn.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Date.now(),file:gt.src}});_e({src:$t.url})});return(0,x.useEffect)(()=>(setTimeout(()=>{it()},500),He(vn+1),()=>{ke.current=null}),[]),Ye.createElement("div",{ref:In,className:qt.current?`${mt.maxH60} body-overflow-initial`:"body-overflow-initial"},Ye.createElement(ze.default,{width:1200,icon:null,footer:null,closable:!0,visible:!!vn,destroyOnClose:!0,maskClosable:!1,rootClassName:"zIndex-9999",title:Ye.createElement(Bt.Z,null,Ye.createElement(at.Z,{flex:1},"\u63D2\u5165\u6D41\u7A0B\u56FE"),Ye.createElement(at.Z,{onClick:()=>{var gt,$t,gn=ke.current.selection.first();if(qt.current=!qt.current,document.activeElement&&gn){let Aa=($t=(gt=document.activeElement)==null?void 0:gt.value)==null?void 0:$t.trim();typeof Aa=="string"&&ke.current.model.commit(function(zn){zn.set(gn.data,"text",Aa||"\u672A\u547D\u540D"),ke.current.commandHandler.stopCommand()},"increment")}He(vn+1)}},Ye.createElement("span",{className:"current c-blue mr30",style:{fontWeight:400}},"\u5C55\u5F00/\u6536\u8D77"))),onCancel:De},Ye.createElement("div",{style:{width:"100%",height:"80vh",overflow:"hidden",position:"relative"},className:mt.flowChartWrp},Ye.createElement("div",{style:{display:"flex",height:"100%"}},Ye.createElement("div",{style:{width:"300px",height:"100%"}},Ye.createElement("div",{style:{background:"#fff",position:"relative",zIndex:12,fontSize:16,color:"#3061d0"}},"\u56FE\u5F62\u5E93"),Ye.createElement("div",{style:{height:"calc(100% - 50px)"},className:mt.myPaletteDiv,ref:Ut})),Ye.createElement("div",{style:{flex:1,position:"relative"}},Ye.createElement("div",{ref:st,style:{height:"80vh"}}))),Ye.createElement("div",{className:"tr"},Ye.createElement(Ie.ZP,{size:"large",onClick:dn,style:{position:"absolute",right:0,bottom:0,zIndex:8},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))))}var Rn=Gn,Lt=oe(5112),kn=oe(5871);const on=Lt.ZP.Group,Mn={margin:"0 8px"};var un=({callback:De,onCancel:_e})=>{function ke(st){De(st)}return x.createElement(Me.default,{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:ke},x.createElement("div",{className:"flex-container",style:{alignItems:"baseline"}},x.createElement("span",{style:Mn},"\u5355\u5143\u683C\u6570\uFF1A"),x.createElement("span",{style:Mn},"\u884C\u6570"),x.createElement(Me.default.Item,{name:"row",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u884C\u6570"}]},x.createElement(kn.Z,null)),x.createElement("span",{style:Mn},"\u5217\u6570"),x.createElement(Me.default.Item,{name:"col",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5217\u6570"}]},x.createElement(kn.Z,null))),x.createElement("div",{className:"flex-container",style:{marginTop:12,alignItems:"baseline"}},x.createElement("span",{style:Mn},"\u5BF9\u9F50\u65B9\u5F0F\uFF1A"),x.createElement(Me.default.Item,{name:"align"},x.createElement(on,null,x.createElement(Lt.ZP,{value:"default"},x.createElement("i",{className:"fa fa-align-justify"})),x.createElement(Lt.ZP,{value:"left"},x.createElement("i",{className:"fa fa-align-left"})),x.createElement(Lt.ZP,{value:"center"},x.createElement("i",{className:"fa fa-align-center"})),x.createElement(Lt.ZP,{value:"right"},x.createElement("i",{className:"fa fa-align-right"}))))),x.createElement("div",{className:"flex-container flex-end"},x.createElement(Ie.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),x.createElement(Ie.ZP,{type:"ghost",onClick:_e},"\u53D6\u6D88")))},Xn=oe(78673),Fa=oe(43001),oa=oe.n(Fa),_n=(0,x.forwardRef)(({use3d:De,width:_e,height:ke,callback:st,showSaveButton:Ut},qt)=>{const In=(0,x.useRef)(),vn=(0,x.useRef)(),[He,it]=(0,x.useState)(!1),dn=(0,x.useRef)({id:In,appName:"graphing",width:_e||1e3,height:ke||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)(()=>{vn.current=new(oa())(dn.current,!0),window.onload=function(){vn.current.inject("applet_container")}},[]);const gt=()=>{var $t=window.ggbApplet.getPNGBase64(1,!0,72);return st&&st($t),$t};return(0,x.useEffect)(()=>{dn.current.appName=He?"3D":"graphing",vn.current.inject("applet_container")},[He]),(0,x.useEffect)(()=>{it(De)},[De]),(0,x.useImperativeHandle)(qt,()=>({getImgData:gt})),x.createElement(x.Fragment,null,x.createElement("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:In}),x.createElement(Bt.Z,{align:"middle"},x.createElement(at.Z,{flex:1},x.createElement(Xn.Z,{size:"default",checkedChildren:"\u5173\u95ED3D\u56FE\u50CF",unCheckedChildren:"\u5F00\u542F3D\u56FE\u50CF",checked:He,onChange:$t=>it($t)})),x.createElement(at.Z,null,x.createElement(Ie.ZP,{size:"large",onClick:gt,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"))))}),wn=oe(76562),ia=oe(1012),na=oe(8591);const Zn="link",Qt="upload-image",Nt="add-flowchart",fn="draw-image",Dn="add-flowchart",la="code-block",Jn="add-table",wa="------------",Wn={default:wa,left:`:${wa}`,center:`:${wa}:`,right:`${wa}:`};var jn=oe(37808),ya=(De,_e,ke)=>new Promise((st,Ut)=>{var qt=He=>{try{vn(ke.next(He))}catch(it){Ut(it)}},In=He=>{try{vn(ke.throw(He))}catch(it){Ut(it)}},vn=He=>He.done?st(He.value):Promise.resolve(He.value).then(qt,In);vn((ke=ke.apply(De,_e)).next())});function fa(){}let Ba=0;const Ta=1e4,At="\u2581",Pn="@\u2581\u2581@",En="@\u2581@",Ln=`
**\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`,Ee=["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 Je(De){return/^\d+$/.test(De)?`${De}px`:De}const lt=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",ft={[lt+"-B"]:"bold",[lt+"-I"]:"italic"},ut={[Zn]:"\u6DFB\u52A0\u94FE\u63A5",[la]:"\u6DFB\u52A0\u4EE3\u7801\u5757",[Qt]:"\u6DFB\u52A0\u56FE\u7247",[fn]:"\u6DFB\u52A0\u753B\u56FE",[Nt]:"\u63D2\u5165\u6D41\u7A0B\u56FE",[Jn]:"\u6DFB\u52A0\u8868\u683C","maths-latex":"\u6570\u5B66\u56FE\u50CF","inline-latex":"LATEX\u516C\u5F0F"};var wt=({defaultValue:De="",onChange:_e,width:ke="100%",height:st=400,miniToolbar:Ut=!1,isFocus:qt=!1,watch:In,insertTemp:vn,mode:He="markdown",id:it="markdown-editor-id",showResizeBar:dn=!1,noStorage:gt=!1,showNullButton:$t=!1,showNullProgramButton:gn=!1,hidetoolBar:Aa=!1,fullScreen:zn=!1,onBlur:bt,onCMBeforeChange:Za,onFullScreen:qn,className:Na="",disablePaste:Ca=!1,disabled:ja=!1,disabledFill:xa=!1,placeholder:Ua="",values:Ga="",extraUse:$a})=>{const[Rt,ma]=(0,x.useState)(null),[Ht,va]=(0,x.useState)(De),[aa,Kt]=(0,x.useState)(In),[Fn,Qn]=(0,x.useState)(zn),[hn,Sa]=(0,x.useState)(""),[sa,Ia]=(0,x.useState)(0),[Ya,lr]=(0,x.useState)(st),[Br,or]=(0,x.useState)(!1),Wr=(0,x.useRef)((0,ia.Z)()),Ra=(0,x.useRef)(!1),ka=(0,x.useRef)(),[nr,ra]=(0,x.useState)(0),[Ka,er]=(0,x.useState)(0),Pa=(0,x.useRef)(),Va=(0,x.useRef)(),ar=(0,x.useRef)(),Qa=(0,x.useRef)(),Nr=()=>ya(void 0,null,function*(){var ea;const Sn=yield Fetch("/api/attachments/distinct_hash_val.json",{method:"post",body:{hash_val:Wr.current}});(ea=Sn==null?void 0:Sn.attachments)!=null&&ea.length&&(console.log("cm:",Rt,Pa),Sn.attachments.map(Ot=>{Ot.content_type.indexOf("image")>-1?Rt.replaceSelection(`![,](/api/attachments/${Ot.id}?type=${Ot.content_type})`):Ot.content_type.indexOf("video")>-1?Rt.replaceSelection(`<video width="100%" controls src="${ENV.API_SERVER}/api/attachments/${data.id}"></video>`):Ot.content_type.indexOf("pdf")>-1?Rt.replaceSelection(`<a href="${ENV.API_SERVER}/api/attachments/${Ot.id}?type=${Ot.content_type}&disposition=inline" target="_blank">${Ot.name}</a>`):Rt.replaceSelection(`[${Ot.name}](${ENV.API_SERVER}/api/attachments/${Ot.id}?type=${Ot.content_type})`)}))});(0,x.useEffect)(()=>{const ea=window.scrollY||window.pageYOffset;va(Ga),Rt==null||Rt.setValue(Ga),window.scrollTo(0,ea)},[Ga]),(0,x.useEffect)(()=>{qn==null||qn(Fn)},[Fn]),(0,x.useEffect)(()=>{if(Pa.current){let ea=function(Ot,se){var tt;if(Ca){se.preventDefault();return}const St=se.clipboardData;if(St){const zt=St.types.toString(),ot=St.items;if(zt==="Files"||St.types.indexOf("Files")>-1){if(se.preventDefault(),He=="stex")return;try{let nn=ot[1];((tt=ot[0])==null?void 0:tt.kind)==="file"&&(nn=ot[0]);const Xt=nn.getAsFile(),Vt=Xt.name.split(".").pop();(0,Ke.I)(Xt,Jt=>{var $n,Da,La;Jt.id?(($n=Xt==null?void 0:Xt.type)==null?void 0:$n.indexOf("image"))>-1?Sn.replaceSelection(`<img width="100%" src="/api/attachments/${Jt.id}?type=${Jt.content_type})" alt="" />`):((Da=Xt==null?void 0:Xt.type)==null?void 0:Da.indexOf("video"))>-1?Sn.replaceSelection(`<video width="100%" controls src="/api/attachments/${Jt.id}"></video>`):((La=Xt==null?void 0:Xt.type)==null?void 0:La.indexOf("pdf"))>-1?Sn.replaceSelection(`<a href="/api/attachments/${Jt.id}?type=${Xt.type}&disposition=inline" target="_blank">${Xt.name}</a>`):Ee.includes(Vt)?Sn.replaceSelection(`<a href="/api/attachments/${Jt.id}?type=office&disposition=inline" target="_blank">${Xt.name}</a>`):Sn.replaceSelection(`[${Xt.name}](/api/attachments/${Jt.id}?type=${Jt.content_type})`):(Jt==null?void 0:Jt.status)===401&&(na.ZP.warning((Jt==null?void 0:Jt.message)||"\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),document.location.href="/user/login")})}catch(nn){na.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};const Sn=Be().fromTextArea(Pa.current,{mode:He,lineNumbers:!Ut,lineWrapping:!0,value:De,autoCloseTags:!gn,autoCloseBrackets:!0});return Sn.on("keyup",function(Ot,se){se.keyCode===8&&(Ot.getValue()==""?Sn.setOption("placeholder",Ua):Sn.setOption("placeholder",null))}),Sn.on("keydown",function(Ot,se){if(se.keyCode===8){var tt=Rr(Ot);tt&&se.preventDefault()}}),qt&&Sn.focus(),Sn.on("paste",ea),Sn.on("dragleave",function(Ot,se){Va.current.classList.remove("mouse-hover-md")}),ja&&Sn.on("beforeChange",function(Ot,se){(se.origin==="paste"||se.origin==="+input")&&se.cancel()}),ma(Sn),()=>{Sn.off("paste",ea)}}},[]);const vr=(0,x.useCallback)(()=>{if(Va.current)try{}catch(ea){console.log(ea,"---- to set md editor body height")}},[Ya,Va,Fn]);(0,x.useEffect)(()=>{function ea(){let Sn=new Ne.Z(Ot=>{for(let se of Ot)(se.target.offsetHeight>0||se.target.offsetWidth>0)&&(vr(),Rt.setSize("100%","100%"),Rt.refresh())});return Sn.observe(Pa.current.parentElement),Sn}if(Rt){const Sn=ea();return()=>{var Ot,se;(Ot=Pa.current)!=null&&Ot.parentElement&&Sn.unobserve((se=Pa.current)==null?void 0:se.parentElement)}}},[Rt,vr]),(0,x.useEffect)(()=>{if(Rt){let ea=[];for(const[Sn,Ot]of Object.entries(ft)){let se={[Sn]:()=>{_r(Ot)}};ea.push(se),Rt.addKeyMap(se)}return ka.current=setInterval(()=>{Ra.current&&Nr()},4e3),()=>{clearInterval(ka.current);for(let Sn of ea)Rt.removeKeyMap(Sn)}}},[Rt]),(0,x.useEffect)(()=>{zn!==Fn&&Qn(zn)},[zn]),(0,jn.Z)(()=>{if(!gt&&sa>0){let ea=new Date().getTime(),Sn=window.sessionStorage.getItem(it);ea>=sa+Ta&&(!Sn||Sn!==Ht)&&(window.sessionStorage.setItem(it,Ht),or(!0))}},Ta),(0,x.useEffect)(()=>{Kt(In)},[Rt,In]),(0,x.useEffect)(()=>{Rt&&qt&&Rt.focus()},[Rt,qt]),(0,x.useEffect)(()=>{if(aa&&Rt){let ea=function(Ot){let se=Ot.target;if(Qa.current){let tt=se.scrollTop/se.scrollHeight;Qa.current.scrollTop=Qa.current.scrollHeight*tt}};const Sn=Rt.getScrollerElement();return Sn.addEventListener("scroll",ea),()=>{Sn.removeEventListener("scroll",ea)}}},[Rt,aa]),(0,x.useEffect)(()=>{if(Rt&&Za){let ea=function(Sn,Ot){Za(Sn,Ot)};return Rt.on("beforeChange",ea),()=>{Rt.off("beforeChange",ea)}}},[Rt,Za]),(0,x.useEffect)(()=>{if(Rt&&bt){let ea=function(){bt(Rt.getValue())};return Rt.on("blur",ea),()=>{Rt.off("blur",ea)}}},[Rt,bt]);function Rr(ea,Sn){var Ot=ea.getDoc(),se=Ot.getCursor(),tt=Ot.getLine(se.line),St=tt.charAt(se.ch-1),zt=tt.lastIndexOf("@\u2581@",se.ch),ot=tt.lastIndexOf("@\u2581\u2581@",se.ch),nn=zt>ot?zt:ot,Xt=zt>ot?3:4;if(Pn.indexOf(St)===-1)return null;if(console.log("change1:",Sn,ea,tt,se,nn,zt,ot,St),nn>=0&&se.ch-nn<5){var Vt=nn+Xt;return Ot.replaceRange("",{line:se.line,ch:nn},{line:se.line,ch:Vt}),{line:se.line,ch:Vt}}return null}(0,x.useEffect)(()=>{if(Rt){let ea=function(Sn,Ot){const se=Sn.getValue();va(se),Ia(new Date().getTime()),Sn.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),_e&&(gn?_e(se,uo(se)):_e(se))};return Rt.on("change",ea),()=>{Rt.off("change",ea)}}},[Rt,_e]),(0,x.useEffect)(()=>{if(Rt)if(De==null)Rt.setValue(""),va("");else{const ea=window.scrollY||window.pageYOffset;De!==Rt.getValue()&&(Rt.setValue(De),va(De),Rt.setCursor(ja?1:Rt.lineCount(),0),window.scrollTo(0,ea))}},[Rt,De]);const _r=(0,x.useCallback)(ea=>{const Sn=Rt.getCursor(),Ot=Rt.getSelection();let se=Ot.split(`
`);switch(ea){case"bold":return Rt.replaceSelection("**"+Ot+"**"),Ot===""&&Rt.setCursor(Sn.line,Sn.ch+2),Rt.focus();case"italic":return Rt.replaceSelection("*"+Ot+"*"),Ot===""&&Rt.setCursor(Sn.line,Sn.ch+1),Rt.focus();case"code":return Rt.replaceSelection("`"+Ot+"`"),Ot===""&&Rt.setCursor(Sn.line,Sn.ch+1),Rt.focus();case"inline-latex":return Sa("inline-latex"),Rt.focus();case"latex":return Rt.replaceSelection("```latex\n"+Ot+"\n```"),Rt.setCursor(Sn.line+1,Ot.length+1),Rt.focus();case"line-break":return Rt.replaceSelection(`<br/>
`),Rt.focus();case"list-ul":return Ot===""?Rt.replaceSelection("- "+Ot):Rt.replaceSelection(se.map(tt=>tt===""?"":`- ${tt}`).join(`
`)),Rt.focus();case"list-ol":return Ot===""?Rt.replaceSelection("1. "+Ot):Rt.replaceSelection(se.map((tt,St)=>tt===""?"":`${St+1}. ${tt}`).join(`
`)),Rt.focus();case"add-null-ch":return Ot===""&&Rt.setCursor(Sn.line,Sn.ch),Rt.replaceSelection(At),Rt.focus();case"add-signal":return Ot===""&&Rt.setCursor(Sn.line,Sn.ch),Rt.replaceSelection(En),Rt.focus();case"add-multiple":return Ot===""&&Rt.setCursor(Sn.line,Sn.ch),Rt.replaceSelection(Pn),Rt.focus();case"inster-template-1":return Ot===""&&Rt.setCursor(Sn.line,Sn.ch),Rt.replaceSelection(Ln),Rt.focus();case"eraser":return Rt.setValue(""),Rt.focus();case"trigger-watch":return Kt(!aa),Rt.focus();case"trigger-full-screen":return Qn(!Fn),Rt.focus();case Zn:Sa(Zn);return;case la:Sa(la);return;case Qt:Sa(Qt);return;case fn:Sa(fn);return;case"maths-latex":Sa("maths-latex");return;case Nt:Sa(Nt);return;case Jn:Sa(Jn);return;default:throw new Error}},[Rt,aa,Fn]),Ja=(0,x.useCallback)((ea,Sn)=>{var Ot,se,tt,St,zt,ot;switch(Sa(""),hn){case Zn:const{title:$n,link:Da}=ea;return Rt.replaceSelection(`[${$n}](${Da})`),Rt.focus();case la:const{language:La,content:cn}=ea;return Rt.replaceSelection(["```"+La,cn,"```"].join(`
`)),Rt.focus();case"maths-latex":for(var nn=atob(ea),Xt=new Uint8Array(nn.length),Vt=0;Vt<nn.length;Vt++)Xt[Vt]=nn.charCodeAt(Vt);var Jt=new Blob([Xt],{type:"image/png"});(0,Ke.I)(Jt,Cr=>{Cr.id?Rt.replaceSelection(`![,](/api/attachments/${Cr.id}?type=${Cr.content_type})`):(Cr==null?void 0:Cr.status)===401&&(document.location.href="/user/login")});break;case"inline-latex":Rt.replaceSelection("`$$"+ea+"$$`");break;case Qt:case fn:case Dn:const{src:pa,alt:ha}=ea,Ea=Sn,hr=(tt=(se=(Ot=Ea==null?void 0:Ea.name)==null?void 0:Ot.split("."))==null?void 0:se.pop)==null?void 0:tt.call(se);return((St=Ea==null?void 0:Ea.type)==null?void 0:St.indexOf("image"))>-1||!(Ea!=null&&Ea.type)?Ea.align||Ea.width?Rt.replaceSelection(`<p style="text-align:${Ea.align||"initial"}"><img width="${Ea.width?Ea.width+"%":"initial"}" src="${pa}" alt="${ha||""}" /></p>`):Rt.replaceSelection(`<img width="100%" src="${pa}" alt="${ha||""}" />`):((zt=Ea==null?void 0:Ea.type)==null?void 0:zt.indexOf("video"))>-1?Rt.replaceSelection(`<video width="100%" controls src="${pa}"></video>`):((ot=Ea==null?void 0:Ea.type)==null?void 0:ot.indexOf("pdf"))>-1?Rt.replaceSelection(`<a href="${pa}?type=${Ea.type}&disposition=inline" target="_blank">${Ea.name}</a>`):Ee.includes(hr)?Rt.replaceSelection(`<a href="${pa}?type=office&disposition=inline" target="_blank">${Ea.name}</a>`):Rt.replaceSelection(`[${Ea.name}](${pa})`),Rt.focus();case Jn:const{row:Mr,col:Pr,align:Lr}=ea;let yr=`
`;for(let Cr=0;Cr<Mr;Cr++){let Bo=[],Eo=[];for(let ho=0;ho<Pr;ho++)Cr===1&&Eo.push(Wn[Lr]),Bo.push(" ");Cr===1&&(yr+=`| ${Eo.join(" | ")} |
`),yr+=`| ${Bo.join(Pr===1?"":" | ")} |
`}return Rt.replaceSelection(yr+`
`),Rt.focus();default:throw new Error}},[Rt,hn]),Tr=(0,x.useMemo)(()=>{switch(hn){case Zn:return x.createElement(It,{callback:Ja,onCancel:Or});case la:return x.createElement(ln.Z,{callback:Ja,onCancel:Or});case Qt:return x.createElement(Ke.Z,{callback:Ja,onCancel:Or});case Nt:return x.createElement(Rn,{callback:Ja,onCancel:Or});case Jn:return x.createElement(un,{callback:Ja,onCancel:Or});case"maths-latex":return x.createElement(_n,{showSaveButton:!0,callback:Ja});case"inline-latex":return x.createElement(wn.Z,{showSaveButton:!0,callback:Ja});default:return null}},[hn]);function Or(){Sa("")}(0,x.useEffect)(()=>{if(ar.current){let ea=function(zt){tt=!0,St=zt.pageY},Sn=function(){tt=!1},Ot=function(zt){if(tt){let ot=zt.pageY-St;ot<0&&(ot=0),ot>300&&(ot=300);let nn=st+ot+"px";lr(nn)}},se=ar.current,tt=!1,St=0;return se.addEventListener("mousedown",ea),document.addEventListener("mousemove",Ot),document.addEventListener("mouseup",Sn),()=>{se.removeEventListener("mousedown",ea),document.removeEventListener("mousemove",Ot),document.removeEventListener("mouseup",Sn)}}},[Rt,ar]),(0,x.useEffect)(()=>{lr(st)},[st]);const $r=Je(ke),Jr=Je(Ya),lo={width:$r,height:Jr},pr=(0,x.useMemo)(()=>{if(sa){let ea=new Date(sa),Sn=ea.getHours(),Ot=ea.getMinutes(),se=ea.getSeconds();return Sn=Sn<10?"0"+Sn:Sn,Ot=Ot<10?"0"+Ot:Ot,se=se<10?"0"+se:se,`${Sn}:${Ot}:${se}`}return 0},[sa]),uo=ea=>{const Sn=[];if(gn){let Ot=-1;ea=ea.replace(/(@▁▁@|@▁@)/g,function(se,tt,St){Sn.push({multiLine:se!==En})})}return Sn};function Fo(){window.sessionStorage.removeItem(it),or(!1),Ia(0)}function oo(){or(!1),Ia(0),Rt.setValue(window.sessionStorage.getItem(it))}(0,x.useEffect)(()=>{ut[hn]&&hn!==fn&&hn!==Nt&&setTimeout(()=>{const ea=document.getElementsByClassName("markdown-popup-form")[0],Sn=window.innerWidth/2-ea.offsetWidth/2,Ot=window.innerHeight/2-ea.offsetHeight/2;ra(Sn),er(Ot)},0)},[hn]);const Yr=ea=>{ea.preventDefault();const Sn=ea.clientX-nr,Ot=ea.clientY-Ka;document.body.onmousemove=se=>{let tt=se.clientX-Sn,St=se.clientY-Ot;const zt=document.getElementsByClassName("markdown-popup-form")[0],ot=window.innerWidth-zt.offsetWidth,nn=window.innerHeight-zt.offsetHeight;tt=Math.max(0,Math.min(tt,ot)),St=Math.max(0,Math.min(St,nn)),so(se.clientX,se.clientY,Sn,Ot)&&(ra(tt),er(St))},document.body.onmouseup=function(){document.body.onmousemove=null}},so=(ea,Sn,Ot,se)=>{const tt=document.body.clientHeight,St=document.body.clientWidth;return ea<20&&Ot>ea||ea>St-20&&Ot<ea||Sn<20&&se>Sn||Sn>tt-20&&se<Sn?(document.body.onmousemove=null,document.body.onmouseup=null,!1):!0};return x.createElement(x.Fragment,null,x.createElement("div",{className:"markdown-editor-wrapper",ref:Va},x.createElement("div",{className:`markdown-editor-container ${Na} ${aa?"on-preview":""} ${Ut?"mini":""} ${Fn?"full-screen":""}`,style:lo},x.createElement(Pe,{insertTemp:vn,watch:aa,fullScreen:Fn,showNullButton:$t,showNullProgramButton:gn,onActionCallback:_r,hidetoolBar:Aa,extraUse:$a}),x.createElement("div",{className:"markdown-editor-body"},x.createElement("div",{className:"codemirror-container"},x.createElement("textarea",{ref:Pa,placeholder:Ua})),aa?x.createElement("div",{ref:Qa,className:"preview-container"},He==="stex"&&x.createElement(We,{value:Ht}),He!=="stex"&&x.createElement(Te.Z,{disabledFill:xa,showProgramFill:gn,value:Ht})):null))),dn?x.createElement("a",{ref:ar,className:"editor-resize"}):null,hn===fn&&x.createElement(_t,{callback:Ja,onCancel:Or}),hn===Nt&&x.createElement(Rn,{callback:Ja,onCancel:Or}),x.createElement(Ve.Z,null,ut[hn]&&hn!==fn&&hn!==Nt?x.createElement(ze.default,{maskClosable:!1,centered:!0,style:{position:"absolute",left:nr,top:Ka},title:x.createElement("div",{style:{cursor:"move"},onMouseDown:Yr},ut[hn]),open:!0,onCancel:Or,footer:null,destroyOnClose:!0,width:hn===Nt?"1200px":null,height:hn===Nt?"80vh":null,className:"markdown-popup-form"},Tr):null))}},17077:function(dt,xt,oe){"use strict";oe.d(xt,{Z:function(){return fe},I:function(){return Ve}});var x=oe(78241),he=oe(8591),Be=oe(92832),Ne=oe(81327),Ae=oe(5871),Ze=oe(5112),Fe=oe(3113),$e=oe(46699),Ge=oe(59301),Le=oe(48790),Te=oe(59301),We=Object.defineProperty,Qe=Object.defineProperties,ie=Object.getOwnPropertyDescriptors,E=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,b=Object.prototype.propertyIsEnumerable,y=(Me,vt,Ie)=>vt in Me?We(Me,vt,{enumerable:!0,configurable:!0,writable:!0,value:Ie}):Me[vt]=Ie,z=(Me,vt)=>{for(var Ie in vt||(vt={}))a.call(vt,Ie)&&y(Me,Ie,vt[Ie]);if(E)for(var Ie of E(vt))b.call(vt,Ie)&&y(Me,Ie,vt[Ie]);return Me},ne=(Me,vt)=>Qe(Me,ie(vt));const{useForm:re}=x.default,le={width:280,marginRight:10},ge={labelCol:{span:5},wrapperCol:{span:19}};var fe=({callback:Me,onCancel:vt})=>{const[Ie]=re();let Ce=(0,Ge.useRef)();function et(Pt){Ce.current.width=Ie.getFieldValue("width"),Ce.current.align=Ie.getFieldValue("align"),Me(Pt,Ce.current)}function rt(Pt,yt){if(Pt.status===-1){he.ZP.error(Pt.message);return}Ie.setFieldsValue({src:`/api/attachments/${Pt.id}`,type:yt.type})}function xe(Pt){let yt=Pt.target.files[0];Ce.current=yt,Ve(yt,rt)}return Te.createElement(x.default,ne(z({form:Ie},ge),{className:"upload-image-panel",onFinish:et,style:{width:470,overflow:"hidden"}}),Te.createElement(x.default.Item,{label:"\u56FE\u7247\u5730\u5740",required:!0},Te.createElement("div",{className:"flex-container"},Te.createElement(x.default.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5730\u5740"}]},Te.createElement(Be.default,{style:le})),Te.createElement(Pe,{onFileChange:xe}))),Te.createElement(x.default.Item,{label:"\u56FE\u7247\u63CF\u8FF0",name:"alt"},Te.createElement(Be.default,{style:{width:264}})),Te.createElement(x.default.Item,{label:"\u56FE\u7247\u5BBD\u5EA6",name:"width"},Te.createElement(Ne.Z,null,Te.createElement(x.default.Item,{name:"width",style:{margin:0}},Te.createElement(Ae.Z,{style:{width:264}})),Te.createElement("span",{className:"ml8"},"%"))),Te.createElement(x.default.Item,{label:"\u5BF9\u9F50\u65B9\u5F0F",name:"align"},Te.createElement(Ze.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"}]})),Te.createElement("aside",null,Te.createElement(x.default.Item,{style:{textAlign:"right",position:"relative",right:-98}},Te.createElement(Fe.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),Te.createElement(Fe.ZP,{type:"default",onClick:vt},"\u53D6\u6D88"))))};function Pe({onFileChange:Me}){return Te.createElement("label",{className:"upload-button",style:{cursor:"pointer"}},"\u672C\u5730\u4E0A\u4F20",Te.createElement("input",{type:"file",onChange:Me}))}function Ve(Me,vt){if(!Me)throw new String("\u6CA1\u6709\u6587\u4EF6");if(!(0,Le.bg)())throw he.ZP.warning("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),new String("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C");let Ie=new FormData;Ie.append("editormd-image-file",Me),Ie.append("file_param_name","editormd-image-file"),Ie.append("byxhr","true");var Ce=new window.XMLHttpRequest;Ce.withCredentials=!0,Ce.addEventListener("load",function(et){vt(JSON.parse(et.target.responseText),Me)},!1),Ce.addEventListener("error",function(et){console.error(et)},!1),Ce.open("POST",`${$e.KI}/api/attachments.json`),Ce.send(Ie)}},91558:function(dt,xt,oe){"use strict";oe.d(xt,{Z:function(){return Be}});var x=oe(59301),he=oe(4676);class Be extends x.Component{constructor(Ae){super(Ae);const Ze=window.document;this.node=Ze.createElement("div"),Ze.body.appendChild(this.node)}render(){const{children:Ae}=this.props;return(0,he.createPortal)(Ae,this.node)}componentWillUnmount(){window.document.body.removeChild(this.node)}}},7501:function(dt,xt,oe){"use strict";oe.d(xt,{i:function(){return le},Z:function(){return fe}});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"},he=oe(71418),Be=oe(6848),Ne=oe(92310),Ae=oe.n(Ne),Ze=oe(51257),Fe=oe(28426),$e=oe(48790),Ge="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGgAAAAgCAYAAAD+Fz2gAAAAAXNSR0IArs4c6QAAEx5JREFUaEPFWwd4FWW6fueE9NATIEAoKkWKgIKVEkBgl2LB6159EFdRwHVd9a67SC+ryFVBEDGAUq57d0WUK6DuigYSeglFMJQIhBJSIIYUQgohObPP9/1l/pmcE7h9nvCcc+bMzJn53v/9vvcrWABQfuovrf3VeMeClWhbVrwFC5Zl0Vfi1aLP/EHu976K42wAtmXBx2cCtk9ew+ZT+bsbbT4/XUWeT1cUf4Bt61faY9v8a2I/vxXn0X7+p86l/bYftu3n7/30Sof6bdAd2351LXmMOl++0nUt/hlxnrg+vVe/6xfPbRwv7oeuJ+5RfUdPz/uMe5VP5zwfkOeDf6tlhUxqPXxOtkXgVFfVHLFgNYHlcwBRIBE+cIPEexg4+hPn0K0IPCz4A4GkrH4DkCxpEDa2fCAFqzC8AsMBifYLI6p93vdkUGUwtzEtCZC4bg0bXxnRNDrdlwBIfG8eoxZP3SCJc+sEicEUhvLBLrQsXw+r5Ognn8LGk4IoPiiQhB1vzCQ+XjHNeP2/AUkZU8JpgCRWr1yxinFy9bu+IyYZrAH8sP3ECsVOBwx1nGCPGyTN8kDg/ReYxDaFf41Vkr46F0C8MLRihmCFCyT6zNDyUYI9wu8J1+cB0+XuDPemndz/GJMcZvDyq5NJjrsz2cbuTrNPuLCgTGIXLFZ6IDa5wPeCZSwUuXoMN6h8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g:Qe,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:ne}];var fe=({className:Pe,dataSource:Ve=[],col:Me=4,right:vt,bottom:Ie=23,precision:Ce=0,wrapWidth:et=1200,trackEventItems:rt,loading:xe,onRemove:Pt=()=>{},isCurrent:yt=!0,showAlias:Tt=!1})=>{const nt=Math.floor((et-(Me-1)*vt)/Me),Wt=[{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(jt=>(window.ENV==="build"&&(jt.ptimg=`/react/build${jt.ptimg}`,jt.swimg=`/react/build${jt.swimg}`),jt));return re.createElement(he.Z,{spinning:xe},re.createElement("div",{className:Ae()(x.list,Pe)},!!(Ve!=null&&Ve.length)&&(Ve==null?void 0:Ve.map((jt,It)=>{var ln;const{name:Ke,id:ze,identifier:Bt,featured:Gt,school_name:ht,image_url:_t,excellent:be,is_plan:Et}=jt;return re.createElement("div",{key:ze,className:x.wrap,style:{width:nt,marginRight:(1+It)%Me===0?0:vt+Ce,marginBottom:Ie}},re.createElement("a",{className:x.li,onClick:tn=>{tn.preventDefault(),tn.stopPropagation(),rt&&(0,Ze.L9)([rt]),(0,Ze.xg)(`/paths/${Bt}`)}},re.createElement("div",{className:x.img},re.createElement("img",{className:x.cover,src:`${_t}`}),yt&&(0,$e.bg)()&&(jt==null?void 0:jt.studying)&&re.createElement("div",{className:`${x.movebq} user-path-items`,onClick:tn=>{tn.stopPropagation(),Pt(jt)}},re.createElement("i",{className:"iconfont icon-yichu1 mr5 c-red"}),re.createElement("span",{className:"c-red"},"\u79FB\u9664")),(ln=jt==null?void 0:jt.subject_tags)==null?void 0:ln.map((tn,pt)=>{var at,sn;if(pt===0){const Ye=(at=Wt.find(Mt=>Mt.name==tn))==null?void 0:at.swimg;return re.createElement("img",{className:x.sign,src:Ye,style:{left:"-4px"}})}const mt=(sn=Wt.find(Ye=>Ye.name==tn))==null?void 0:sn.ptimg;return re.createElement("img",{className:x.sign,src:mt,style:{left:`${48+52*(pt-1)+2*pt}px`}})}),re.createElement("div",{style:{position:"absolute",top:"150px",left:"4px"}},(jt==null?void 0:jt.excellent)&&re.createElement("div",{className:x.bq},"\u5F00\u653E\u8BFE\u7A0B"))),re.createElement("div",{className:x.name},re.createElement(Be.Z,{title:Tt&&(jt!=null&&jt.excellent_alias_name)?re.createElement("span",null,`\u8BFE\u7A0B\u539F\u540D\uFF1A${Ke}`,re.createElement("br",null),re.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${jt==null?void 0:jt.excellent_alias_name}`)):Ke},re.createElement("span",{className:x.e},Tt&&(jt==null?void 0:jt.excellent_alias_name)||Ke))),re.createElement("div",{className:x.tags},re.createElement("div",null,re.createElement(Be.Z,{placement:"bottom",title:"\u7AE0\u8282\u6570"},re.createElement("span",null,re.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),re.createElement("span",null,jt.stages_count))),re.createElement(Be.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},re.createElement("span",null,re.createElement("i",{className:"iconfont icon-chengyuan font14 mr3"}),re.createElement("span",null,jt.members_count)))))))})),!Ve.length&&re.createElement(Fe.Z,null)))}},9148:function(dt,xt,oe){"use strict";oe.d(xt,{jL:function(){return Ae},w9:function(){return jt},QD:function(){return wn},cQ:function(){return Pt.Z},op:function(){return un},O5:function(){return Ln},_b:function(){return fn},t7:function(){return y},Gi:function(){return Gt},YG:function(){return ze},qp:function(){return Te},vr:function(){return Zn},qE:function(){return oa},Je:function(){return re},wb:function(){return xe},cq:function(){return pt},tp:function(){return ie}});var x=oe(59301),he={flex_box_center:"flex_box_center___NeSU8",flex_space_between:"flex_space_between___ImTGl",flex_box_vertical_center:"flex_box_vertical_center___BtRd9",flex_box_center_end:"flex_box_center_end___qcLe3",flex_box_column:"flex_box_column___Ze_3q",banner:"banner___PoUBO",content:"content___XoDjy",btns:"btns___Pb35j"},Be="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE4AAAA0CAYAAAAkEw66AAAAAXNSR0IArs4c6QAAGNVJREFUeF7VmwmwHVWdxr9zuvvu9+3ZXsxCiNkIQZOwEzMgyADjggsWgzPqOAJaMiCjYiGKqDBQAo4iWGAxA+ooMm7gBhSyhBBRIIBSAQlrHuTt7913t97PmfpOd4cXlLAFGO6rW9237719+/z6+6/nPIHX+XHttddaex38nlW2lLO1svq1wJ4aeFMM9CqFnNKoaYVapDAOicfjGEMKqKk2nrx59Lbt5xx6aPR6DEG8Hj/K3xwY0YtjSx2vYnlspLEsX0BRKUBrINtyX+PZp0r3fR+IIgzFSo9EsahFUfSHWIj7Pa919zvf2vlo+rFXdWivObjHJvR8S6vTJORHckV0+4GBAF4InwQlBCAIkEMXgCLA9Mn9WCef4ft8HWkgVIDn6ckwUA/HQfCzoFX71TsP6n/41aL3moHTWotnJnGysPEFx8ZcAtMqGTjh2NmVTL+iDB6BZurjsRSe2SogjhNwMZIngbZbqgXom8N26/KjV3femB7ebRxfE3DbRnW/k8c3LQvv5yCjOFVVqhgCyNnJmAhoxyOFasz1OeCM2lLTJryI4BQQUn1RAhI24Lc1dBjc2K6Nnv2edfP+sL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Vcels/x/syLgtXHpx9bhlF2CO/tanVuzHHfPqmJVOf0nNdr5SFP7D02Eb/3iEfkdtdsbFeCXbtYfXlDGueU85iKZsjXZklnpyZdpGmgWFcS4pGsQnzvuOBG/4CzXFX/Qp+zZi28pPzkZHeNIS337X2+Qp+IckWajb1RsyXWffqOeN8tRH+rKyWOhsSBnYyYziiCAa0k8EQKb2kF01acPc3akXS8IbsW1Onf6AnVib16ewqWz21vq9qu2yNPeqL7thW7xZ65391jcV1jE/1qKFcaeCfDwOYeK9D83nv32/wHzrWgvjJ8Q7AAAAABJRU5ErkJggg==",Ae=({dataSource:Ee=[],img:Je,imgWidth:qe=346,title:lt,sunTitle:ft,bannerExtraContent:ut})=>x.createElement("div",{className:he.banner},x.createElement("div",{className:he.content},x.createElement("aside",null,x.createElement("p",null,x.createElement("b",null,lt),x.createElement("span",null,ft)),Ee.length>0&&x.createElement("div",{className:he.btns},Ee.map((wt,De)=>x.createElement("div",{key:De,onClick:wt.click},wt.name,wt.sign?x.createElement("img",{src:Be,width:39}):null))),ut),Je&&x.createElement("img",{style:{marginTop:33,marginRight:38},src:Je,width:qe}))),Ze={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"},Fe=oe(92310),$e=oe.n(Fe),Ge=oe(89392),Te=({dataSource:Ee=[],value:Je,onChange:qe,onTitleChange:lt,className:ft,title:ut,titleWidth:wt=41,style:De={},fontColor:_e="#6A7283",showCount:ke})=>{const[st,Ut]=(0,x.useState)(0),[qt,In]=(0,x.useState)(!1),vn=(0,x.useRef)(null),He=(0,x.useRef)(null);return(0,x.useEffect)(()=>{var it;Ee.length!==0&&(((it=vn==null?void 0:vn.current)==null?void 0:it.clientHeight)>97?Ut(1):Ut(0)),Ee.length===0&&Ut(0),In(!1)},[Ee]),x.createElement("div",{className:$e()(Ze.row,ft),style:De},x.createElement("div",{onClick:(0,Ge.throttle)(()=>lt==null?void 0:lt(),2e3),style:{width:wt,marginTop:qt?12:4},className:`${Ze.title} ${lt?"current":""}`},ut),x.createElement("div",{className:qt?`${Ze.tagsWrap} ${Ze.tagsBorderWrap}`:Ze.tagsWrap},x.createElement("div",{className:Ze.bar,ref:He,style:st>0?{height:st===1?97:"auto",overflow:st===1?"hidden":"auto",paddingRight:55}:{paddingRight:0}},x.createElement("div",{className:Ze.tag,ref:vn},Ee==null?void 0:Ee.map(it=>x.createElement("span",{onClick:()=>qe(it.id),key:it.id,style:{color:_e},className:Je===it.id?Ze.active:""},x.createElement("span",{title:it.name,className:Ze.name},it.name),!!ke&&x.createElement("span",{className:Ze.num},it.count))))),!!st&&x.createElement(x.Fragment,null,st===1?x.createElement("div",{onClick:()=>{var it;Ut(2),((it=vn==null?void 0:vn.current)==null?void 0:it.clientHeight)>245?In(!0):In(!1)},className:Ze.action},"\u5C55\u5F00",x.createElement("i",{style:{transform:"translateY(1px) scale(0.6)"},className:"iconfont icon-zhankai4"})):x.createElement("div",{onClick:()=>{He.current.scrollTop=0,Ut(1),In(!1)},className:Ze.action},"\u6536\u8D77",x.createElement("i",{style:{transform:"translateY(0px) scale(0.6)"},className:"iconfont icon-shouqi3"})))))},We={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:Ee=[],value:Je,onChange:qe,className:lt,style:ft={}})=>x.createElement("div",{style:ft,className:$e()(We.tabs,lt)},Ee.map(ut=>x.createElement("span",{onClick:()=>qe(ut.id),className:Je===ut.id?We.active:"",key:ut.id},ut.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=oe(92832),y=({dataSource:Ee=[],value:Je="",onChange:qe,onInputChange:lt=()=>{},className:ft,style:ut={},placeholder:wt,allowClear:De=!1})=>{var _e;const[ke,st]=(0,x.useState)(""),[Ut,qt]=(0,x.useState)("");(0,x.useEffect)(()=>{var He;let it=Je;(He=JSON.stringify(Je))!=null&&He.includes("{")&&(st(Je.id),it=Je.value||"");try{qt(decodeURIComponent(it||""))}catch(dn){qt(decodeURIComponent(it||""))}},[Je]);const In=()=>{qe(encodeURIComponent(Ut),ke||null)},vn=He=>{He!==ke&&(st(He),qe(encodeURIComponent(Ut),He))};return x.createElement("div",{className:$e()(E.input,ft),style:ut},!!Ee.length&&x.createElement("div",{className:E.dropdown},x.createElement("div",{className:E.text},(_e=Ee.find(He=>He.id===ke))==null?void 0:_e.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},Ee.map((He,it)=>x.createElement("div",{key:it,onClick:()=>vn(He.id)},He.name)))),x.createElement(a.default,{onPressEnter:In,value:Ut,onChange:He=>{qt(He.target.value),lt(encodeURIComponent(He.target.value),ke||null)},bordered:!1,placeholder:wt}),x.createElement("i",{onClick:In,className:"iconfont icon-sousuo9 font14 pl10 current"}))},z={flex_box_center:"flex_box_center___tol8o",flex_space_between:"flex_space_between___Z235C",flex_box_vertical_center:"flex_box_vertical_center___Wq1sZ",flex_box_center_end:"flex_box_center_end___LLxom",flex_box_column:"flex_box_column___DbMSN",quickPager:"quickPager___GM30J",disabled:"disabled___Ozc8I"},re=({value:Ee,onChange:Je,className:qe,total:lt,pageSize:ft,style:ut={}})=>{const wt=Ee<2,De=Ee>=Math.ceil(lt/ft);return lt<=ft?x.createElement(x.Fragment,null):x.createElement("div",{className:$e()(z.quickPager,qe),style:ut},x.createElement("div",{onClick:()=>{wt||Je(Ee-1,"prev")},className:wt?z.disabled:""},"\u4E0A\u4E00\u9875"),x.createElement("div",{onClick:()=>{De||Je(Ee+1,"next")},className:De?z.disabled:""},"\u4E0B\u4E00\u9875"))},le={flex_box_center:"flex_box_center___FO7TP",flex_space_between:"flex_space_between___LotYx",flex_box_vertical_center:"flex_box_vertical_center___bWdaw",flex_box_center_end:"flex_box_center_end___mVJ1o",flex_box_column:"flex_box_column___M83Mm",list:"list___oOsiS",wrap:"wrap___G6T7F",lockWrap:"lockWrap___Rl79E",li:"li___oZZ7l",cover:"cover___b2bYW",img:"img___IQX7w",sign:"sign___HkT6C",name:"name___SsJx8",e:"e___TMqq0",tags:"tags___bcjyo",rate:"rate___YACg7"},ge=oe(71418),fe=oe(6848),Pe=oe(13570),Ve=oe(346),Me=oe(51257),vt=oe(96908),Ie=oe(57177),Ce=oe(81378),et=oe(28426),xe=({className:Ee,dataSource:Je=[],col:qe=4,right:lt,bottom:ft=23,precision:ut=0,wrapWidth:wt=1200,trackEventItems:De,loading:_e})=>{const ke=Math.floor((wt-(qe-1)*lt)/qe);return x.createElement(ge.Z,{spinning:_e},x.createElement("div",{className:$e()(le.list,Ee)},!!Je.length&&Je.map((st,Ut)=>{const{name:qt,id:In,identifier:vn,power:He,cover_image_id:it,pic:dn}=st;return x.createElement("div",{className:le.wrap,key:In,style:{width:ke,marginRight:(1+Ut)%qe===0?0:lt+ut,marginBottom:ft}},x.createElement("a",{target:"_blank",href:`/shixuns/${vn}/challenges`,className:le.li,onClick:gt=>{gt.preventDefault(),De&&(0,Me.L9)([De]),He&&(0,Me.xg)(`/shixuns/${vn}/challenges`)}},x.createElement("div",{className:le.img},x.createElement("img",{className:le.cover,src:`${dn}`}),st.is_jupyter&&x.createElement("img",{className:le.sign,src:vt}),st.is_jupyter_lab&&x.createElement("img",{className:le.sign,src:Ie}),st.is_unity_3d&&x.createElement("img",{className:le.sign,src:Ce})),x.createElement("div",{className:le.name},x.createElement(fe.Z,{title:qt||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},x.createElement("span",{className:le.e},qt||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),x.createElement("div",{className:le.tags},x.createElement(fe.Z,{placement:"bottom",title:"\u5173\u5361\u6570"},x.createElement("span",null,x.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),x.createElement("span",null,st.challenges_count))),!!st.myshixuns_count&&x.createElement(fe.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,st.myshixuns_count))),x.createElement(fe.Z,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},x.createElement("span",null,x.createElement("span",null,st.level))),x.createElement("div",{className:le.rate},x.createElement(Pe.Z,{allowHalf:!0,disabled:!0,defaultValue:st.score_info}),x.createElement("span",null,"\xA0",st.score_info?`${st.score_info}\u5206`:"5\u5206")))),!He&&x.createElement("div",{className:le.lockWrap},x.createElement("img",{src:`${Ve.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")))}),!Je.length&&x.createElement(et.Z,null)))},Pt=oe(7501),yt={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"},Tt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JKmEQPILClJZfpEfIUAChFQSHIJxnGDiDYwsb8KRLUuWZcmSxqN9pJF6nV7eSZ373u1509Mzvd2eGVt6VV2z9Ht3+9459+yX8Bq4mDmWK2GLqla3MvFWZt4KpjVMSBNzGoQ0M6WJkJbpMiNDxBkwMkyUIUYGxCeJaB8x7fMcZ18yiv1EVHy1Lw+9GicwO8tXlSrlbSB6O4HfANAmZlY250JEHsBHGLQTzA9H3chDfX2012Yfy9HWqwJgZh7NF6vvY/a2gWkbgyeWY3Hq+yDQcRA/RKQeSsSce4jo9EqMo50+Vy3AzNxXKFTv9MAfB/AuZo60M7Fe30tEZQA/UqBvx+POvUQ02+s+O2l/1QGcy5Xe6Cn1SXj8YYAHO5nU8j9DM1D0b8rzvpFMRp9a/v4X73HVAJwplN9GHj7P4NtW0wK1OxYCPcAKX0rHI4+0+2wv7l9xgHPFyrs9j78A5l/sxQRXrE2ix5SiLyZj7v+s2BgArBjA+XzpzR7oq8x880ouQK/7JqKnFfiziUT0iV731aj9ZQeYmYez+fJXiOguZl72/ldkkYmYmb+eSkT+lIjOLOcYlm2BBcx8sfoJz+O/BHhkOSe5evqiaaXoTxIx55tExMsxrmUBOJ/njVVUvgvmW5djUqu+D6JHHbgfTSRostdj7TnAuWLlDq/K37pwqXYxCGlaOfRbyZh7Xy9B7hnAzOzmCpUvA/jDC2WvbReogE3/TTLufo6IKu0+38r9PQE4n+f1VVS+B+ZbWhnEBX8P0Q4H7gcTCZqyvRbWARZHQLlavp8ZG20P9rXcHhEm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SR1TGe1TCK0BiC/OS7APoQwKHqHKtsoPOGQzMA/7sCvp5MRp9aTSNdNRRcvyhSTqJQqN7pgT8O4F3MvArC3uZGKdVsAPxIgb4djzv3EtHsagLWjGXVAhxeLCnxlC9W38fsbQPTNgZPrMRiSgU5ED9EpB5KxJx7iKjFkxlXYrR+n68KgOuXJ6ituQ1E2wj8eoA2McuxWPYuqbcM8BEG7QTzw1E38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",nt=oe(59301),jt=({className:Ee,dataSource:Je=[],col:qe=4,right:lt,bottom:ft=23,precision:ut=0,wrapWidth:wt=1200,trackEventItems:De,loading:_e})=>{const ke=Math.floor((wt-(qe-1)*lt)/qe);return nt.createElement(ge.Z,{spinning:_e},nt.createElement("div",{className:$e()(yt.list,Ee)},!!Je.length&&Je.map((st,Ut)=>{const{subject_identifier:qt,id:In,identifier:vn,power:He}=st,it=st.is_public!=0&&st.is_public;return nt.createElement("div",{className:yt.wrap,key:In,style:{width:ke,marginRight:(1+Ut)%qe===0?0:lt+ut,marginBottom:ft}},nt.createElement("a",{className:yt.li,onClick:dn=>{dn.preventDefault(),De&&(0,Me.L9)([De]),(0,Me.xg)(st.first_category_url)}},nt.createElement("div",{className:yt.top},nt.createElement(fe.Z,{title:st.name},nt.createElement("div",{className:yt.name},st.name)),nt.createElement("img",{className:yt.img,src:Ve.Z.IMG_SERVER+"/images/"+st.avatar_url}),nt.createElement("div",{className:yt.text,title:st.creator},st.creator),qt&&nt.createElement("div",{className:yt.btns},nt.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),nt.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802")),it&&nt.createElement("div",{className:yt.sign},"\u516C\u5F00")),nt.createElement("div",{className:yt.bottom},st.visits>0&&nt.createElement(fe.Z,{title:"\u8BBF\u95EE\u91CF",placement:"bottom"},nt.createElement("span",null,nt.createElement("i",{className:"iconfont icon-liulanyan"}),nt.createElement("span",null,st.visits))),st.course_members_count>0&&nt.createElement(fe.Z,{title:"\u6210\u5458",placement:"bottom"},nt.createElement("span",null,nt.createElement("i",{className:"iconfont icon-chengyuan"}),st.course_members_count)),st.tasks_count>0&&nt.createElement(fe.Z,{title:"\u4F5C\u4E1A",placement:"bottom"},nt.createElement("span",null,nt.createElement("i",{className:"iconfont icon-zuoye"}),st.tasks_count)),st.is_end?nt.createElement("div",{style:{color:"#6B758B"}},"\u5DF2\u7ED3\u675F"):nt.createElement("div",{style:{color:"#00B187"}},"\u8FDB\u884C\u4E2D"))),!st.is_accessible&&nt.createElement("div",{className:yt.lockWrap},nt.createElement("img",{src:`${Ve.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),nt.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!Je.length&&nt.createElement(et.Z,null)))},It={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"},ln=oe(25690),ze=({dataSource:Ee=[],value:Je,onChange:qe,className:lt,style:ft={},tabBarExtraContent:ut})=>x.createElement("div",{className:$e()(It.tabs,lt),style:ft},x.createElement("div",{className:It.tabsWrap},Ee.map((wt,De)=>x.createElement("aside",{className:It.tab,onClick:()=>{qe(wt.id),wt.link&&ln.history.push(wt.link)},key:De},x.createElement("div",{className:Je===wt.id?It.active:""},wt.name),(wt==null?void 0:wt.resetCount)==null&&(wt==null?void 0:wt.total)!==void 0&&x.createElement("span",null,"\uFF08",wt==null?void 0:wt.total,"\uFF09"),(wt==null?void 0:wt.resetCount)!==void 0&&(wt==null?void 0:wt.total)!==void 0&&x.createElement(fe.Z,{title:(wt==null?void 0:wt.tip)!=null?wt==null?void 0:wt.tip:""},x.createElement("span",{style:{color:"#9096A3"}},"\uFF08",x.createElement("span",{style:{color:"#000"}},wt==null?void 0:wt.resetCount),"/",x.createElement("span",null,wt==null?void 0:wt.total),"\uFF09"))))),x.createElement("div",{className:It.tabBar},ut)),Gt=({className:Ee,style:Je={},children:qe})=>x.createElement("div",{className:$e()(Ee),style:Je},qe),ht={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=oe(38854),be=oe(20834);const Et=[{id:"updated_at",name:"\u6700\u65B0\u52A8\u6001"},{id:"created_at",name:"\u6700\u65B0\u521B\u5EFA"},{id:"name",name:"\u540D\u79F0\u6392\u5E8F"}];var pt=({sortValue:Ee,dropValue:Je,className:qe,onSort:lt,onDrop:ft,dataSource:ut=Et})=>{var wt;return x.createElement("div",{className:$e()(ht.orderWrap,qe)},x.createElement(_t.Z,{dropdownRender:()=>x.createElement(be.default,null,ut.map((De,_e)=>x.createElement(be.default.Item,{key:_e,onClick:()=>ft(De.id)},De.name)))},x.createElement("span",{className:ht.orderTextWrap},(wt=ut.find(De=>Je===De.id))==null?void 0:wt.name)),x.createElement("span",{className:ht.orderIconWrap},x.createElement("span",{className:ht.orderAsc},x.createElement("i",{className:Ee==="asc"?`iconfont icon-sanjiaoxing-up font12 ${ht.cursorPointer} ${ht.active}`:`iconfont icon-sanjiaoxing-up font12 ${ht.cursorPointer}`,onClick:()=>lt(Ee==="asc"?"desc":"asc")})),x.createElement("span",{className:ht.orderDesc},x.createElement("i",{className:Ee==="desc"?`iconfont icon-sanjiaoxing-down font12 ${ht.cursorPointer} ${ht.active}`:`iconfont icon-sanjiaoxing-down font12 ${ht.cursorPointer}`,onClick:()=>lt(Ee==="asc"?"desc":"asc")}))))},at={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"},sn=oe(3113),mt=Object.defineProperty,Ye=Object.getOwnPropertySymbols,Mt=Object.prototype.hasOwnProperty,Gn=Object.prototype.propertyIsEnumerable,Rn=(Ee,Je,qe)=>Je in Ee?mt(Ee,Je,{enumerable:!0,configurable:!0,writable:!0,value:qe}):Ee[Je]=qe,Lt=(Ee,Je)=>{for(var qe in Je||(Je={}))Mt.call(Je,qe)&&Rn(Ee,qe,Je[qe]);if(Ye)for(var qe of Ye(Je))Gn.call(Je,qe)&&Rn(Ee,qe,Je[qe]);return Ee},kn=(Ee,Je)=>{var qe={};for(var lt in Ee)Mt.call(Ee,lt)&&Je.indexOf(lt)<0&&(qe[lt]=Ee[lt]);if(Ee!=null&&Ye)for(var lt of Ye(Ee))Je.indexOf(lt)<0&&Gn.call(Ee,lt)&&(qe[lt]=Ee[lt]);return qe},on=(Ee,Je,qe)=>new Promise((lt,ft)=>{var ut=_e=>{try{De(qe.next(_e))}catch(ke){ft(ke)}},wt=_e=>{try{De(qe.throw(_e))}catch(ke){ft(ke)}},De=_e=>_e.done?lt(_e.value):Promise.resolve(_e.value).then(ut,wt);De((qe=qe.apply(Ee,Je)).next())}),un=Ee=>{var Je=Ee,{className:qe,style:lt,children:ft,loading:ut=!1,openLoading:wt,onClick:De=()=>{},size:_e="middle",shape:ke="round"}=Je,st=kn(Je,["className","style","children","loading","openLoading","onClick","size","shape"]);const[Ut,qt]=(0,x.useState)(!1);return x.createElement(sn.ZP,Lt({onClick:(0,Ge.throttle)(In=>on(void 0,null,function*(){wt&&qt(!0);try{yield De(In)}catch(vn){console.log("error",vn)}wt&&qt(!1)}),2e3,{leading:!0,trailing:!1}),className:$e()(at.btn,at[`${_e}-${ke}`],qe),style:lt,size:_e,shape:ke,loading:Ut||ut},st),ft)},Xn={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"},oa=({className:Ee,style:Je,children:qe=null,onClick:lt,title:ft})=>x.createElement("div",{className:$e()(Xn.head,Ee),style:Je},x.createElement("span",{className:"primary-hover",onClick:lt},x.createElement("i",{className:"iconfont icon-fanhui2 font12"}),"\u8FD4\u56DE"),x.createElement("b",{title:ft},ft),x.createElement("div",{className:Xn.node},qe)),Yt={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"},wn=({confirmShow:Ee=!0,confirmTitle:Je,confirmClick:qe,cancelShow:lt=!0,cancelTitle:ft,cancelClick:ut,className:wt,style:De,confirmLoading:_e=!1})=>x.createElement("div",{className:$e()(Yt.btns,wt),style:De},Ee&&x.createElement(sn.ZP,{loading:_e,onClick:qe,type:"primary",className:Yt.confirm},Je),lt&&x.createElement(sn.ZP,{onClick:ut,className:Yt.cancel},ft)),ia={flex_box_center:"flex_box_center___jkpdr",flex_space_between:"flex_space_between___OtsL8",flex_box_vertical_center:"flex_box_vertical_center___rbcb_",flex_box_center_end:"flex_box_center_end___zBR21",flex_box_column:"flex_box_column___nS_eP",fixedBottom:"fixedBottom___oJl7m",wrap:"wrap___A3Oq1",center:"center____VL1y"},Zn=({className:Ee,style:Je={},LeftContent:qe,children:lt,RightContent:ft})=>x.createElement("div",{className:$e()(ia.fixedBottom,Ee),style:Je},x.createElement("div",{className:ia.wrap},x.createElement("div",{className:ia.left},qe),x.createElement("div",{className:ia.center},lt),x.createElement("div",{className:ia.right},ft))),Qt={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"},fn=({className:Ee,style:Je={},dataSource:qe=[]})=>x.createElement("div",{className:$e()(Qt.crumbs,Ee),style:Je},qe.map((lt,ft)=>ft<qe.length-1?x.createElement(x.Fragment,{key:ft},lt.path||lt.onClick?x.createElement("span",{className:Qt.hover,onClick:lt!=null&&lt.onClick?lt.onClick:()=>ln.history.push(lt.path)},lt.name):x.createElement("span",null,lt.name),x.createElement("span",null,"\xA0",">","\xA0")):x.createElement("span",{key:ft,style:{color:"#5F6368"}},lt.name))),Dn=oe(31797),la=Object.defineProperty,Jn=Object.defineProperties,wa=Object.getOwnPropertyDescriptors,Wn=Object.getOwnPropertySymbols,jn=Object.prototype.hasOwnProperty,ya=Object.prototype.propertyIsEnumerable,fa=(Ee,Je,qe)=>Je in Ee?la(Ee,Je,{enumerable:!0,configurable:!0,writable:!0,value:qe}):Ee[Je]=qe,Ba=(Ee,Je)=>{for(var qe in Je||(Je={}))jn.call(Je,qe)&&fa(Ee,qe,Je[qe]);if(Wn)for(var qe of Wn(Je))ya.call(Je,qe)&&fa(Ee,qe,Je[qe]);return Ee},Ta=(Ee,Je)=>Jn(Ee,wa(Je)),At=(Ee,Je)=>{var qe={};for(var lt in Ee)jn.call(Ee,lt)&&Je.indexOf(lt)<0&&(qe[lt]=Ee[lt]);if(Ee!=null&&Wn)for(var lt of Wn(Ee))Je.indexOf(lt)<0&&ya.call(Ee,lt)&&(qe[lt]=Ee[lt]);return qe};const{Countdown:Pn}=Dn.default;var Ln=Ee=>{var Je=Ee,{onChange:qe}=Je,lt=At(Je,["onChange"]);const[ft,ut]=(0,x.useState)(null);(0,x.useEffect)(()=>{typeof ft=="number"&&ft>=0&&qe(ft)},[ft]);const wt=De=>{const _e=Math.floor(De/1e3);ut(_e)};return x.createElement(Pn,Ta(Ba({},lt),{onChange:wt}))}},37808:function(dt,xt,oe){"use strict";oe.d(xt,{Z:function(){return he}});var x=oe(59301);function he(Be,Ne){const Ae=(0,x.useRef)();(0,x.useEffect)(()=>{Ae.current=Be}),(0,x.useEffect)(()=>{function Ze(){Ae.current()}if(Ne!==null){let Fe=setInterval(Ze,Ne);return()=>clearInterval(Fe)}},[Ne])}},4881:function(dt,xt,oe){"use strict";oe.d(xt,{Z:function(){return E}});var x=oe(59301),he=oe(8591),Be=oe(43418),Ne=oe(19842),Ae=oe(54580),Ze=oe(3113),Fe=oe(346),$e=oe(51257),Ge=oe(38986),Le=oe(25690),Te={customModal:"customModal___bVzUV",content:"content___oKhZq",upload:"upload___nPxEL",infoText:"infoText___gZEJF",okBtn:"okBtn___CVo2A",fileList:"fileList___tauGN",fileName:"fileName___T_8JX",selectitems:"selectitems___imW2Y"},We=oe(59301),Qe=(a,b,y)=>new Promise((z,ne)=>{var re=fe=>{try{ge(y.next(fe))}catch(Pe){ne(Pe)}},le=fe=>{try{ge(y.throw(fe))}catch(Pe){ne(Pe)}},ge=fe=>fe.done?z(fe.value):Promise.resolve(fe.value).then(re,le);ge((y=y.apply(a,b)).next())}),E=({visible:a,onOk:b,onCancel:y,sub_discipline_id:z=[]})=>{const[ne,re]=(0,x.useState)([]),[le,ge]=(0,x.useState)(!1),fe=(0,Le.useParams)(),[Pe,Ve]=(0,x.useState)([]),[Me,vt]=(0,x.useState)([]);(0,x.useEffect)(()=>{a?Ie():(vt([]),re([]),ge(!1))},[a]);const Ie=()=>Qe(void 0,null,function*(){const yt=yield(0,Ge.ZP)("/api/disciplines.json",{method:"get",params:{source:"subject"}});Ve(yt.disciplines||[]),vt((z==null?void 0:z.length)>0?z:[])}),Ce=()=>{if((Me==null?void 0:Me.length)===0)return he.ZP.warning("\u8BF7\u9009\u62E9\u65B9\u5411&\u8BFE\u7A0B\uFF01");console.log("subDisciplineId",Me),ge(!0),b(ne,Me[1],()=>{ge(!1)})},et=()=>{y()},rt=()=>{const yt=`${Fe.Z.API_SERVER}/api/courses/${fe.coursesId}/exercises/down_template`;(0,$e.Nd)(null,yt)},xe=yt=>{const Tt={name:yt.name,uid:yt.uid,file:yt};return re([Tt]),!1},Pt=()=>{re([])};return We.createElement(Be.default,{title:"\u5BFC\u5165\u8BD5\u9898",open:a,onOk:Ce,centered:!0,wrapClassName:Te.customModal,onCancel:et,width:663,okText:"\u786E\u8BA4",okButtonProps:{className:Te.okBtn},cancelText:"\u53D6\u6D88",confirmLoading:le},We.createElement("div",{className:Te.content},We.createElement("aside",null,We.createElement("div",{style:{fontWeight:600}},"\u6B65\u9AA41"),We.createElement("ul",null,We.createElement("li",null,We.createElement("span",{style:{color:"#5F6367"}},"\u6839\u636E\u6A21\u677F\u8981\u6C42\u7F16\u8F91\u9700\u8981\u4E0A\u4F20\u7684\u8BD5\u9898"),We.createElement("span",{style:{color:"#0152d9",cursor:"pointer",marginLeft:20},onClick:rt},"\u4E0B\u8F7D\u8003\u8BD5\u8BD5\u9898\u6A21\u677F"),We.createElement("i",{className:"iconfont icon-xiazai4 ml10",onClick:rt,style:{fontSize:14,cursor:"pointer",color:"#0152d9"}})),We.createElement("li",{style:{color:"#FA6400"},className:"mt10"},"\u63D0\u793A"),We.createElement("li",{className:Te.infoText},"1\u3001\u76EE\u524D\u4EC5\u652F\u6301Excel\u683C\u5F0F\u6A21\u677F\uFF1B "),We.createElement("li",{className:Te.infoText},"2\u3001\u4E0D\u652F\u6301\u7EC4\u5408\u9898\u548C\u5B9E\u8BAD\u9898\u5BFC\u5165\uFF1B"),We.createElement("li",{className:Te.infoText},"3\u3001\u6BCF\u6B21\u6700\u591A\u5BFC\u5165300\u9898\uFF1B"),We.createElement("li",{className:Te.infoText},"4\u3001\u586B\u7A7A\u9898\u5BFC\u5165\u6700\u591A\u652F\u63018\u4E2A\u586B\u7A7A\u9879\u3002"))),We.createElement("aside",{style:{marginTop:22}},We.createElement("div",{style:{fontWeight:600}},"\u6B65\u9AA42"),We.createElement("ul",{style:{flex:1}},We.createElement("li",{style:{color:"#5F6367"}},"\u9009\u62E9\u65B9\u5411&\u8BFE\u7A0B\uFF0C\u4E0A\u4F20\u7F16\u8F91\u597D\u7684\u8BD5\u9898\u6587\u6863\uFF0C\u786E\u5B9A\u5BFC\u5165"),a&&We.createElement(We.Fragment,null,We.createElement(Ne.Z,{value:Me,className:Te.selectitems,expandTrigger:"hover",placeholder:"\u8BF7\u9009\u62E9\u65B9\u5411&\u8BFE\u7A0B",options:Pe,fieldNames:{label:"name",value:"id",children:"sub_disciplines"},onChange:(yt,Tt)=>{vt(yt||[])}}),We.createElement("br",null),We.createElement(Ae.default,{action:`${Fe.Z.API_SERVER}/api/attachments.json`,beforeUpload:xe,onRemove:Pt,withCredentials:!0,fileList:ne,accept:".xls,.xlsx",showUploadList:!1},We.createElement(Ze.ZP,{className:Te.upload,type:"primary",icon:We.createElement("i",{className:"iconfont icon-shangchuan3",style:{fontSize:14}})},"\u4E0A\u4F20\u6587\u4EF6"))),ne.map((yt,Tt)=>We.createElement("div",{key:Tt,className:Te.fileList},We.createElement("span",{className:Te.fileName},yt==null?void 0:yt.name),We.createElement("i",{className:"iconfont icon-shanchu12",style:{color:"#F65160",fontSize:16,cursor:"pointer"},onClick:Pt})))))))}},37345:function(dt,xt,oe){"use strict";oe.d(xt,{h:function(){return x}});var x=(he=>(he[he.NOMATCH=-1]="NOMATCH",he[he.OK=0]="OK",he[he.TIMEOUT=2]="TIMEOUT",he[he.PODFAILURE=3]="PODFAILURE",he[he.COMPILEFAILURE=4]="COMPILEFAILURE",he[he.EXECUTEFAILURE=5]="EXECUTEFAILURE",he[he.HIDE_COMPILE_STATUS=11]="HIDE_COMPILE_STATUS",he))(x||{})},81072:function(dt,xt,oe){"use strict";oe.d(xt,{H7:function(){return E},MK:function(){return ie},MU:function(){return Le},X6:function(){return We},bM:function(){return Ge},fi:function(){return a},fu:function(){return $e},n4:function(){return b},rX:function(){return Qe},vl:function(){return y},zO:function(){return Te}});var x=oe(38986),he=Object.defineProperty,Be=Object.getOwnPropertySymbols,Ne=Object.prototype.hasOwnProperty,Ae=Object.prototype.propertyIsEnumerable,Ze=(z,ne,re)=>ne in z?he(z,ne,{enumerable:!0,configurable:!0,writable:!0,value:re}):z[ne]=re,Fe=(z,ne)=>{for(var re in ne||(ne={}))Ne.call(ne,re)&&Ze(z,re,ne[re]);if(Be)for(var re of Be(ne))Ae.call(ne,re)&&Ze(z,re,ne[re]);return z};function $e(z,ne){return(0,x.U2)(`myproblems/${z}.json`,Fe({hidePopLogin:!0},ne||{}))}function Ge(z,ne){return(0,x.v_)(`myproblems/${z}/code_submit.json`,ne)}function Le(z,ne){return(0,x.v_)(`myproblems/${z}/code_debug.json`,ne)}function Te(z,ne){return ne.language&&(ne.language=encodeURIComponent(ne.language)),(0,x.U2)(`myproblems/${z}/submit_records.json`,ne)}function We(z){return(0,x.U2)("myproblems/record_detail.json",{id:z})}function Qe(z,ne){return(0,x.U2)(`myproblems/${z}/result.json`,{mode:ne})}function ie(z,ne){return(0,x.v_)(`myproblems/${z}/add_notes.json`,ne)}function E(z,ne){return(0,x.v_)(`myproblems/${z}/restore_initial_code.json`,ne)}function a(z){return(0,x.v_)(`myproblems/${z}/sync_code.json`)}function b(z,ne){return(0,x.v_)(`myproblems/${z}/update_code.json`,ne)}function y(z,ne){return(0,x.v_)(`discusses/${z}/plus.json`,ne)}},53311:function(dt,xt,oe){"use strict";var x=oe(59301),he=oe(6848),Be=oe(92832),Ne=oe(8591),Ae=oe(2397),Ze=oe(59301),Fe=(Ge,Le,Te)=>new Promise((We,Qe)=>{var ie=b=>{try{a(Te.next(b))}catch(y){Qe(y)}},E=b=>{try{a(Te.throw(b))}catch(y){Qe(y)}},a=b=>b.done?We(b.value):Promise.resolve(b.value).then(ie,E);a((Te=Te.apply(Ge,Le)).next())});const $e=({defaultValue:Ge,onFinish:Le})=>{const[Te,We]=(0,x.useState)(!1),[Qe,ie]=(0,x.useState)(Ge);return(0,x.useEffect)(()=>{ie(Ge)},[Ge]),Ze.createElement("div",null,Te?Ze.createElement(Be.default,{autoFocus:!0,maxLength:60,style:{textAlign:"center",marginTop:20,marginBottom:20},value:Qe,onChange:E=>{ie(E.target.value)},onBlur:()=>Fe(void 0,null,function*(){var E;if(((E=Qe==null?void 0:Qe.replaceAll(" ",""))==null?void 0:E.length)<=0){Ne.ZP.error("\u8BD5\u5377\u6807\u9898\u4E0D\u80FD\u4E3A\u7A7A");return}(yield Le(Qe))&&We(!1)}),onPressEnter:()=>Fe(void 0,null,function*(){var E;if(((E=Qe==null?void 0:Qe.replaceAll(" ",""))==null?void 0:E.length)<=0){Ne.ZP.error("\u8BD5\u5377\u6807\u9898\u4E0D\u80FD\u4E3A\u7A7A");return}(yield Le(Qe))&&We(!1)})}):Ze.createElement("div",{className:Ae.Z.title},Qe,Ze.createElement(he.Z,{title:"\u7F16\u8F91\u8BD5\u5377\u540D\u79F0"},Ze.createElement("i",{className:`${Ae.Z.editIcon} iconfont icon-bianji_Hover`,onClick:()=>We(!0)}))))};xt.Z=$e},8391:function(dt,xt,oe){"use strict";oe.r(xt),oe.d(xt,{default:function(){return Mi},useCourseOptions:function(){return Ni}});var x=oe(59301),he=oe(25690),Be=oe(78241),Ne=oe(66104),Ae=oe(8591),Ze=oe(71418),Fe=oe(92832),$e=oe(19842),Ge=oe(24905),Le=oe(5112),Te=oe(5871),We=oe(3113),Qe=oe(2397),ie=oe(93629),E=oe(55305),a=oe(84842),b=oe(43418),y=oe(20834),z=oe(38854),ne=oe(6848),re=oe(43428),le={flex_box_center:"flex_box_center___gi93l",flex_space_between:"flex_space_between___mWMLA",flex_box_vertical_center:"flex_box_vertical_center___rk4nc",flex_box_center_end:"flex_box_center_end___B8XxF",flex_box_column:"flex_box_column___AX3Vm",moreSpan:"moreSpan___hbStq",bg:"bg___Ya739",title:"title___BC46y",bottomdiv:"bottomdiv___uaPr6",spanBtn:"spanBtn___jjgnA",addQuestionBtn:"addQuestionBtn___qOlYW",saveBtn:"saveBtn___ulgem",left:"left___i8aTX",leftAction:"leftAction___sQkuq",Button:"Button___auxWm",iconWrapper:"iconWrapper___h3H1m",up:"up___tLyCX",down:"down___T5_aj",disabled:"disabled___GRBbF",titleleft:"titleleft___xZGbq",more_style:"more_style___nhWCX",qcount:"qcount___ID7OA",score:"score___T7dbm",qtitle:"qtitle___qJBFd",qcountclick:"qcountclick___m_VKG",right:"right___CBabI",edit:"edit___WHuql",delete:"delete___Pa6db",shixun:"shixun___oObBe",scoreByBlankRadio:"scoreByBlankRadio___r4AWn",modalconfirm:"modalconfirm___Ru9B_",scoremodal:"scoremodal___BdW7P",close:"close___blHYk",content:"content___jlm9o",items:"items___i3TrH",bottom:"bottom___zMQZ6",yes:"yes___lOPY6",no:"no___gtzKI",formcenter:"formcenter___fCxkm",radiogroup:"radiogroup___oXWHc",easy:"easy___ANNVD",medium:"medium___ov7N3",hard:"hard___n4afW",formcenterselect:"formcenterselect___lYa4f",selectitems1:"selectitems1___Y2Zy4",selectitems:"selectitems___c9Pt5",morebottom:"morebottom____I_ev",scoreinput:"scoreinput___O8EhL",shake:"shake___QxkjH",titleTooltip:"titleTooltip___CAyYg",exercise_styles:"exercise_styles___u40hG"},ge=oe(51257),fe=oe(38986),Pe=oe(28426),Ve=oe(70100),Me=oe(67753),vt=oe(91842),Ie=oe(59301),Ce=Object.defineProperty,et=Object.defineProperties,rt=Object.getOwnPropertyDescriptors,xe=Object.getOwnPropertySymbols,Pt=Object.prototype.hasOwnProperty,yt=Object.prototype.propertyIsEnumerable,Tt=(de,Se,ye)=>Se in de?Ce(de,Se,{enumerable:!0,configurable:!0,writable:!0,value:ye}):de[Se]=ye,nt=(de,Se)=>{for(var ye in Se||(Se={}))Pt.call(Se,ye)&&Tt(de,ye,Se[ye]);if(xe)for(var ye of xe(Se))yt.call(Se,ye)&&Tt(de,ye,Se[ye]);return de},Wt=(de,Se)=>et(de,rt(Se)),jt=(de,Se,ye)=>new Promise((ct,pn)=>{var Vn=Ct=>{try{mn(ye.next(Ct))}catch(kt){pn(kt)}},Kn=Ct=>{try{mn(ye.throw(Ct))}catch(kt){pn(kt)}},mn=Ct=>Ct.done?ct(Ct.value):Promise.resolve(Ct.value).then(Vn,Kn);mn((ye=ye.apply(de,Se)).next())}),ln=({Itemid:de,setqitem:Se,qitem:ye,data:ct,getdata:pn,bigitem:Vn,setBigqitem:Kn,isedit:mn,handleEditing:Ct})=>{const[kt,xn]=(0,x.useState)([]),[Dt,en]=(0,x.useState)(!1);(0,x.useEffect)(()=>{ct.length>0&&xn([...ct])},[ct]);const Hn=(ta,yn)=>jt(void 0,null,function*(){if(mn){Ct();return}if(!ta.destination)return;en(!0);let da=yield(0,fe.ZP)(`/api/examination_banks/${de}/examination_banks_item_banks/${yn==null?void 0:yn[ta.source.index].question_id}/adjust_position.json`,{method:"post",body:{id:de,itemid:yn==null?void 0:yn[ta.source.index].question_id,position:ta.destination.index}});en(!1),da.status===0&&pn({id:yn==null?void 0:yn[ta.source.index].question_id})});return Ie.createElement("div",null,Ie.createElement(Me.Z5,{onDragEnd:ta=>Hn(ta,kt)},Ie.createElement(Me.bK,{droppableId:"droppable"},(ta,yn)=>Ie.createElement("div",nt({ref:ta.innerRef},ta.droppableProps),Ie.createElement(Ze.Z,{spinning:Dt},kt.map((da,an)=>Ie.createElement(Me._l,{key:an,draggableId:an.toString(),index:an},(Oa,mr)=>{var rn,Zt;return Ie.createElement("aside",nt(nt({ref:Oa.innerRef},Oa.draggableProps),Oa.dragHandleProps),Ie.createElement(ne.Z,{title:Ie.createElement(vt.Z,{value:(da==null?void 0:da.question_type)===8?(rn=da==null?void 0:da.program_attr)==null?void 0:rn.description:da.question_title}),color:"#fff",placement:"left",overlayClassName:le.titleTooltip},Ie.createElement("div",{onClick:()=>{if(mn){Ct();return}Se(Wt(nt({},da),{index:an+1})),Kn(Vn),(0,ge.Vf)("#question-scroll-id")},className:`${le.qcount} ${da.question_id===(ye==null?void 0:ye.question_id)?le.qcountclick:""}`},Ie.createElement("span",{className:le.score},da==null?void 0:da.question_score,"\u5206"),Ie.createElement("span",{className:le.qtitle},an+1,"\u3001",Ie.createElement(vt.Z,{value:(da==null?void 0:da.question_type)===8?(Zt=da==null?void 0:da.program_attr)==null?void 0:Zt.description:da.question_title,showTextOnly:!0})))))}))),ta.placeholder))))},Ke=oe(95237),ze=oe(81727),Bt=oe(57809),Gt=oe(78673),ht=oe(61485),_t=oe(22962),be=oe(59301),Et=(de,Se,ye)=>new Promise((ct,pn)=>{var Vn=Ct=>{try{mn(ye.next(Ct))}catch(kt){pn(kt)}},Kn=Ct=>{try{mn(ye.throw(Ct))}catch(kt){pn(kt)}},mn=Ct=>Ct.done?ct(Ct.value):Promise.resolve(Ct.value).then(Vn,Kn);mn((ye=ye.apply(de,Se)).next())}),pt=({form:de,TagDiscipline:Se,exerciseitem:ye,qitem:ct,getTagData:pn})=>{var Vn;const[Kn,mn]=(0,x.useState)(!0),[Ct,kt]=(0,x.useState)(!1),[xn,Dt]=(0,x.useState)(""),[en,Hn]=(0,x.useState)([]),[ta,yn]=(0,x.useState)([]),[da,an]=(0,x.useState)(0);(0,x.useEffect)(()=>{mr()},[]);const Oa=rn=>Et(void 0,null,function*(){const Zt=yield(0,fe.ZP)("/api/tag_disciplines.json",{method:"get",params:{sub_discipline_id:rn==null?void 0:rn.sub_discipline_id}});yn(Zt==null?void 0:Zt.tag_disciplines)}),mr=()=>Et(void 0,null,function*(){const rn=yield(0,fe.ZP)("/api/disciplines.json",{method:"get",params:{source:"subject"}});Hn(rn.disciplines||[]),ct!=null&&ct.sub_discipline_id&&Oa(ct),an(ct!=null&&ct.sub_discipline_id?1:0),de.setFieldsValue({difficulty:ct.difficulty||2,repeat_answer:!ct.repeat_answer,sub_discipline_id:ct!=null&&ct.sub_discipline_id?[ct==null?void 0:ct.discipline_id,ct==null?void 0:ct.sub_discipline_id]:[]})});return be.createElement("div",null,be.createElement("div",{style:{marginTop:30,overflow:"hidden",height:Kn?"100%":0}},be.createElement(Be.default.Item,{className:le.formcenter,rules:[{required:!0,message:"\u8BF7\u5148\u9009\u62E9\u96BE\u5EA6"}],label:"\u96BE\u5EA6",name:"difficulty"},be.createElement(Le.ZP.Group,{className:le.radiogroup},be.createElement(Le.ZP.Button,{className:le.easy,value:1},"\u7B80\u5355"),be.createElement(Le.ZP.Button,{className:le.medium,value:2},"\u9002\u4E2D"),be.createElement(Le.ZP.Button,{className:le.hard,value:3},"\u56F0\u96BE"))),be.createElement(Be.default.Item,{name:"sub_discipline_id",label:"\u77E5\u8BC6\u70B9",className:le.formcenterselect},be.createElement($e.Z,{className:le.selectitems1,expandTrigger:"hover",placeholder:"\u8BF7\u9009\u62E9\u65B9\u5411&\u8BFE\u7A0B",options:en,fieldNames:{label:"name",value:"id",children:"sub_disciplines"},onChange:(rn,Zt)=>{de.setFieldsValue({sub_discipline_id:rn,tag_discipline_ids:[]}),an(rn?rn.length:0),(rn==null?void 0:rn.length)>0&&(Oa({sub_discipline_id:rn[1]}),rn[1]==(ct==null?void 0:ct.sub_discipline_id)&&de.setFieldValue("tag_discipline_ids",ct.tag_discipline_ids))},onClear:()=>{yn([]),de.setFieldValue("tag_discipline_ids",[]),an(0)}})),be.createElement(Be.default.Item,{className:le.formcenterselect},be.createElement("div",{style:{display:"flex",alignItems:"center",paddingLeft:55}},be.createElement(Be.default.Item,{name:"tag_discipline_ids"},be.createElement(Bt.default,{className:le.selectitems,disabled:da===0,showSearch:!0,placeholder:"\u8BF7\u9009\u62E9\u77E5\u8BC6\u70B9\uFF0C\u652F\u6301\u9009\u62E9\u591A\u4E2A",mode:"multiple",listHeight:200,dropdownStyle:{zIndex:9},allowClear:!0,optionFilterProp:"children",filterOption:(rn,Zt)=>Zt.key.indexOf(rn.toLowerCase())>=0},ta==null?void 0:ta.map(rn=>be.createElement(Bt.default.Option,{key:rn.name+rn.id,value:rn.id},be.createElement("div",{style:{display:"flex",alignItems:"center"}},be.createElement("span",{style:{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"}},rn.name),(rn==null?void 0:rn.type)==="personal"&&be.createElement("div",{style:{marginLeft:"5px",border:"1px solid #24C074",color:"#24C074",padding:"0 4px",borderRadius:"2px",fontSize:"12px",height:"20px",lineHeight:"20px"}},"\u81EA\u7528")))))),da>0&&be.createElement("div",{style:{marginLeft:20,marginTop:"-16px",lineHeight:"48px",height:48,fontSize:14}},be.createElement("span",null,"\u6CA1\u6709\u5408\u9002\u7684\u77E5\u8BC6\u70B9\uFF1F"),be.createElement("a",{onClick:()=>{kt(!0)},style:{marginLeft:3,color:"#3061D0"}},"\u65B0\u5EFA\u77E5\u8BC6\u70B9")))),be.createElement(Be.default.Item,{className:le.formcenterselect},be.createElement("div",{style:{display:"flex",alignItems:"center"}},be.createElement(Be.default.Item,{name:"repeat_answer",valuePropName:"checked"},be.createElement(Gt.Z,null)),be.createElement("div",{style:{marginLeft:10,marginTop:"-16px",lineHeight:"40px",height:48,color:"#000000"}},"\u4E0D\u5141\u8BB8\u5B66\u751F\u91CD\u590D\u7B54\u9898",be.createElement(ne.Z,{placement:"right",title:"\u5F00\u542F\u540E\uFF0C\u5B66\u751F\u4F5C\u7B54\u5B8C\u6210\u8BE5\u9898\u5E76\u8FDB\u5165\u4E0B\u4E00\u9898\u4E4B\u540E\uFF0C\u4E0D\u5141\u8BB8\u518D\u4FEE\u6539\u8BE5\u9898\u7B54\u6848"},be.createElement(ht.Z,{style:{color:"#3061D0",marginLeft:6,cursor:"pointer"}})))))),be.createElement(_t.Z,{open:Ct,subDisciplineId:(Vn=de.getFieldValue("sub_discipline_id"))==null?void 0:Vn[1],onCancel:()=>{kt(!1)},onOkClick:rn=>{yn(Zt=>[...Zt,rn]),de.setFieldValue("tag_discipline_ids",[...de.getFieldValue("tag_discipline_ids"),rn==null?void 0:rn.id])}}))},at=oe(59301),sn=Object.defineProperty,mt=Object.defineProperties,Ye=Object.getOwnPropertyDescriptors,Mt=Object.getOwnPropertySymbols,Gn=Object.prototype.hasOwnProperty,Rn=Object.prototype.propertyIsEnumerable,Lt=(de,Se,ye)=>Se in de?sn(de,Se,{enumerable:!0,configurable:!0,writable:!0,value:ye}):de[Se]=ye,kn=(de,Se)=>{for(var ye in Se||(Se={}))Gn.call(Se,ye)&&Lt(de,ye,Se[ye]);if(Mt)for(var ye of Mt(Se))Rn.call(Se,ye)&&Lt(de,ye,Se[ye]);return de},on=(de,Se)=>mt(de,Ye(Se)),Mn=(de,Se,ye)=>new Promise((ct,pn)=>{var Vn=Ct=>{try{mn(ye.next(Ct))}catch(kt){pn(kt)}},Kn=Ct=>{try{mn(ye.throw(Ct))}catch(kt){pn(kt)}},mn=Ct=>Ct.done?ct(Ct.value):Promise.resolve(Ct.value).then(Vn,Kn);mn((ye=ye.apply(de,Se)).next())}),Xn=({qitem:de,setisedit:Se,TagDiscipline:ye,exerciseitem:ct,seveeditor:pn,deleteitem:Vn,getTagData:Kn,init:mn,showTip:Ct=!1})=>{const[kt]=Be.default.useForm();(0,x.useEffect)(()=>{var Dt;kt.setFieldsValue(on(kn({},de),{name:de==null?void 0:de.question_title,choices:(Dt=de==null?void 0:de.question_choices)==null?void 0:Dt.map(en=>on(kn({},en),{standard_boolean:en!=null&&en.standard_boolean?1:0})),repeat_answer:!(de!=null&&de.repeat_answer)}))},[de]);const xn=Dt=>{if(!(Dt!=null&&Dt.length))return!1;const en=Dt.map(ta=>{var yn;return(yn=ta.choice_text)==null?void 0:yn.trim().replace(/^\s+|\s+$/g,"")});return new Set(en).size!==en.length};return at.createElement("div",null,at.createElement(Be.default,{form:kt,colon:!1,onFinish:Dt=>{var en;if(xn(Dt.choices)){Ae.ZP.error("\u9009\u62E9\u9898\u9009\u9879\u5185\u5BB9\u4E0D\u80FD\u91CD\u590D\uFF0C\u8BF7\u4FEE\u6539\u540E\u518D\u4FDD\u5B58");return}let Hn=on(kn({},Dt),{item_type:de==null?void 0:de.question_type,choices:(en=Dt==null?void 0:Dt.choices)==null?void 0:en.map(ta=>on(kn({},ta),{is_answer:ta.standard_boolean}))});pn(kn(kn({},de),Hn))},onFinishFailed:Dt=>Mn(void 0,null,function*(){var en,Hn;Ae.ZP.error(Dt.errorFields[0].errors[0]),kt.scrollToField((Hn=(en=Dt==null?void 0:Dt.errorFields)==null?void 0:en[0])==null?void 0:Hn.name,{behavior:"smooth",block:"center"})})},at.createElement("div",{style:{display:"flex",alignItems:"center"}},at.createElement("div",{style:{flex:1}},at.createElement("span",{style:{display:"inline-flex",border:"1px solid #9096A3",borderRadius:"50%",width:10,height:10,marginRight:5,background:"#9096A3"}}),at.createElement("span",null,(de==null?void 0:de.question_type)===1?"\u591A\u9009\u9898":"\u5355\u9009\u9898")),!de.isadd&&at.createElement("span",{style:{marginLeft:20,marginRight:20,color:"red",cursor:"pointer"},onClick:()=>{Vn()}},at.createElement("i",{className:"iconfont icon-piliangshanchu3",style:{fontSize:14,marginRight:6}}),"\u5220\u9664"),at.createElement(We.ZP,{onClick:()=>{var Dt;de.isadd?(Se(!1),mn()):(kt.setFieldsValue(on(kn({},de),{name:de==null?void 0:de.question_title,choices:(Dt=de==null?void 0:de.question_choices)==null?void 0:Dt.map(en=>on(kn({},en),{standard_boolean:en!=null&&en.standard_boolean?1:0})),repeat_answer:!(de!=null&&de.repeat_answer)})),Se(!1))}},"\u53D6\u6D88"),at.createElement(ne.Z,{overlayClassName:le.shake,open:Ct,placement:"bottom",color:"rgba(244,156,14,0.19)",title:at.createElement("div",{style:{color:"#FF841A",fontSize:"14px"}},at.createElement("i",{className:"iconfont icon-tishi11 mr5 font14"}),"\u8BF7\u5148\u4FDD\u5B58\u6216\u53D6\u6D88\u5F53\u524D\u6B63\u5728\u7F16\u8F91\u7684\u8BD5\u9898\u3002")},at.createElement(We.ZP,{className:"ml20",type:"primary",onClick:()=>Mn(void 0,null,function*(){kt.submit()})},"\u4FDD\u5B58"))),at.createElement("div",{style:{maxHeight:"calc(100vh - 148px)",overflowY:"auto",marginTop:"10px",paddingRight:"5px"}},at.createElement(Ke.Z,{align:"middle"},at.createElement(Be.default.Item,{className:le.scoreinput,name:"question_score",label:"\u5206\u503C",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5206\u503C"}]},at.createElement(Te.Z,{onBlur:Dt=>{Dt.target.value==="0"&&Ae.ZP.error("\u5206\u503C\u5FC5\u987B\u5927\u4E8E0\u4E14\u5C0F\u4E8E\u7B49\u4E8E100")},style:{width:150},precision:1,placeholder:"\u8BF7\u8F93\u5165\u5206\u503C",max:100,min:.1}))),at.createElement(ze.u,{form:kt,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u9009\u62E9\u9898\u9898\u5E72\u5185\u5BB9",titleKey:"name",choiceKey:"choices",analysisKey:"analysis",choiceOptionsPath:"choices",choiceTextKey:"choice_text",answerKey:"standard_boolean"}),at.createElement(pt,{getTagData:Kn,qitem:de,exerciseitem:ct,TagDiscipline:ye,form:kt}))))},Fa=oe(92046),oa=oe(74716),Yt=oe(59301),_n=Object.defineProperty,wn=Object.defineProperties,ia=Object.getOwnPropertyDescriptors,na=Object.getOwnPropertySymbols,Zn=Object.prototype.hasOwnProperty,Qt=Object.prototype.propertyIsEnumerable,Nt=(de,Se,ye)=>Se in de?_n(de,Se,{enumerable:!0,configurable:!0,writable:!0,value:ye}):de[Se]=ye,fn=(de,Se)=>{for(var ye in Se||(Se={}))Zn.call(Se,ye)&&Nt(de,ye,Se[ye]);if(na)for(var ye of na(Se))Qt.call(Se,ye)&&Nt(de,ye,Se[ye]);return de},Dn=(de,Se)=>wn(de,ia(Se)),la=(de,Se,ye)=>new Promise((ct,pn)=>{var Vn=Ct=>{try{mn(ye.next(Ct))}catch(kt){pn(kt)}},Kn=Ct=>{try{mn(ye.throw(Ct))}catch(kt){pn(kt)}},mn=Ct=>Ct.done?ct(Ct.value):Promise.resolve(Ct.value).then(Vn,Kn);mn((ye=ye.apply(de,Se)).next())}),wa=({qitem:de,TagDiscipline:Se,exerciseitem:ye,setisedit:ct,seveeditor:pn,deleteitem:Vn,getTagData:Kn,init:mn,showTip:Ct=!1})=>{const[kt]=Be.default.useForm(),xn=Be.default.useWatch("use_blank_score",kt);return(0,x.useEffect)(()=>{kt.setFieldsValue(Dn(fn({},de),{standard_answers:de.standard_answers||[],name:de.question_title,repeat_answer:!de.repeat_answer}))},[de]),Yt.createElement("div",null,Yt.createElement(Be.default,{form:kt,colon:!1,onValuesChange:(Dt,en)=>{var Hn,ta,yn,da;if(Dt!=null&&Dt.standard_answers||Dt!=null&&Dt.use_blank_score){let an=((Hn=kt.getFieldValue("standard_answers"))==null?void 0:Hn.length)>0&&((yn=(ta=kt.getFieldValue("standard_answers"))==null?void 0:ta.map(Oa=>Oa.score))==null?void 0:yn.filter(Oa=>Oa));(an==null?void 0:an.length)>0&&kt.setFieldsValue({question_score:(an==null?void 0:an.length)>0&&((da=an.reduce((Oa,mr)=>Oa+mr))==null?void 0:da.toFixed(1))})}},onFinish:Dt=>{var en;pn(Dn(fn(fn({},de),Dt),{item_type:de==null?void 0:de.question_type,standard_answers:(en=Dt.standard_answers)==null?void 0:en.map((Hn,ta)=>Dn(fn({},Hn),{position:Hn.choice_id||ta+1}))}))},onFinishFailed:Dt=>la(void 0,null,function*(){var en,Hn;Dt.errorFields[0].errors[0]==="\u8BF7\u5148\u5728\u9898\u5E72\u4E2D\u63D2\u5165\u586B\u7A7A\u9879"&&(0,ge.pE)(),Ae.ZP.error(Dt.errorFields[0].errors[0]),kt.scrollToField((Hn=(en=Dt==null?void 0:Dt.errorFields)==null?void 0:en[0])==null?void 0:Hn.name,{behavior:"smooth",block:"center"})})},Yt.createElement("div",{style:{display:"flex",alignItems:"center"}},Yt.createElement("div",{style:{flex:1}},Yt.createElement("span",{style:{display:"inline-flex",border:"1px solid #9096A3",borderRadius:"50%",width:10,height:10,marginRight:5,background:"#9096A3"}}),Yt.createElement("span",null,"\u586B\u7A7A\u9898")),!de.isadd&&Yt.createElement("span",{style:{marginLeft:20,marginRight:20,color:"red",cursor:"pointer"},onClick:()=>{Vn()}},Yt.createElement("i",{className:"iconfont icon-piliangshanchu3",style:{fontSize:14,marginRight:6}})," \u5220\u9664"),Yt.createElement(We.ZP,{onClick:()=>{de.isadd?(ct(!1),mn()):(kt.setFieldsValue(Dn(fn({},de),{standard_answers:de.standard_answers,name:de.question_title,repeat_answer:!de.repeat_answer})),ct(!1))}},"\u53D6\u6D88"),Yt.createElement(ne.Z,{overlayClassName:le.shake,open:Ct,placement:"bottom",color:"rgba(244,156,14,0.19)",title:Yt.createElement("div",{style:{color:"#FF841A",fontSize:"14px"}},Yt.createElement("i",{className:"iconfont icon-tishi11 mr5 font14"}),"\u8BF7\u5148\u4FDD\u5B58\u6216\u53D6\u6D88\u5F53\u524D\u6B63\u5728\u7F16\u8F91\u7684\u8BD5\u9898\u3002")},Yt.createElement(We.ZP,{className:"ml20",type:"primary",onClick:()=>{kt.submit()}},"\u4FDD\u5B58"))),Yt.createElement("div",{style:{maxHeight:"calc(100vh - 148px)",overflowY:"auto",marginTop:"10px",paddingRight:"5px"}},Yt.createElement(Ke.Z,{align:"middle"},xn?Yt.createElement(oa.Z,{text:"\uFF08\u5C0F\u9898\u5206\u503C\u7B49\u4E8E\u5404\u586B\u7A7A\u9879\u5206\u503C\u4E4B\u548C\uFF09"}):Yt.createElement(Be.default.Item,{key:2,className:le.scoreinput,name:"question_score",label:"\u5206\u503C",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5206\u503C"}]},Yt.createElement(Te.Z,{onBlur:Dt=>{Dt.target.value==="0"&&Ae.ZP.error("\u5206\u503C\u5FC5\u987B\u5927\u4E8E0\u4E14\u5C0F\u4E8E\u7B49\u4E8E100")},style:{width:150},precision:1,placeholder:"\u8BF7\u8F93\u5165\u5206\u503C",size:"middle",max:100,min:.1})),Yt.createElement(Be.default.Item,{name:"use_blank_score",noStyle:!0},Yt.createElement(Le.ZP.Group,{className:le.scoreByBlankRadio,optionType:"button",options:[{label:"\u6309\u7A7A\u7ED9\u5206",value:!0},{label:"\u6309\u9898\u7ED9\u5206",value:!1}]})),Yt.createElement(ne.Z,{overlayInnerStyle:{width:460},title:Yt.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",Yt.createElement("br",null),"\u6309\u9898\u7ED9\u5206\uFF1A\u9700\u8981\u8BBE\u7F6E\u6574\u4E2A\u5C0F\u9898\u7684\u5206\u503C\uFF0C\u7B54\u5BF9\u5168\u90E8\u586B\u7A7A\u9879\u4E4B\u540E\u624D\u80FD\u83B7\u5F97\u8BE5\u5C0F\u9898\u7684\u5206\u503C\u3002")},Yt.createElement("i",{className:"icon-tishixiaowenhao font18 ml20 c-3061d0"}))),Yt.createElement(Fa.u,{form:kt,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u586B\u7A7A\u9898\u9898\u5E72\u5185\u5BB9",scoreByBlank:xn,answerKey:"standard_answers"}),Yt.createElement(pt,{getTagData:Kn,qitem:de,exerciseitem:ye,TagDiscipline:Se,form:kt}))))},Wn=oe(14289),jn=oe(59301),ya=Object.defineProperty,fa=Object.defineProperties,Ba=Object.getOwnPropertyDescriptors,Ta=Object.getOwnPropertySymbols,At=Object.prototype.hasOwnProperty,Pn=Object.prototype.propertyIsEnumerable,En=(de,Se,ye)=>Se in de?ya(de,Se,{enumerable:!0,configurable:!0,writable:!0,value:ye}):de[Se]=ye,Ln=(de,Se)=>{for(var ye in Se||(Se={}))At.call(Se,ye)&&En(de,ye,Se[ye]);if(Ta)for(var ye of Ta(Se))Pn.call(Se,ye)&&En(de,ye,Se[ye]);return de},Ee=(de,Se)=>fa(de,Ba(Se)),Je=(de,Se,ye)=>new Promise((ct,pn)=>{var Vn=Ct=>{try{mn(ye.next(Ct))}catch(kt){pn(kt)}},Kn=Ct=>{try{mn(ye.throw(Ct))}catch(kt){pn(kt)}},mn=Ct=>Ct.done?ct(Ct.value):Promise.resolve(Ct.value).then(Vn,Kn);mn((ye=ye.apply(de,Se)).next())}),lt=({qitem:de,setisedit:Se,TagDiscipline:ye,exerciseitem:ct,seveeditor:pn,deleteitem:Vn,getTagData:Kn,init:mn,showTip:Ct=!1})=>{const[kt]=Be.default.useForm();return(0,x.useEffect)(()=>{var xn;kt.setFieldsValue(Ee(Ln({},de),{name:de.question_title,repeat_answer:!de.repeat_answer,choices:(xn=de==null?void 0:de.question_choices)==null?void 0:xn.map(Dt=>Ee(Ln({},Dt),{is_answer:Dt!=null&&Dt.standard_boolean?1:0}))}))},[de]),jn.createElement("div",null,jn.createElement(Be.default,{form:kt,colon:!1,onFinish:xn=>{pn(Ln(Ln({},de),xn))},onFinishFailed:xn=>Je(void 0,null,function*(){var Dt,en;Ae.ZP.error(xn.errorFields[0].errors[0]),kt.scrollToField((en=(Dt=xn==null?void 0:xn.errorFields)==null?void 0:Dt[0])==null?void 0:en.name,{behavior:"smooth",block:"center"})})},jn.createElement("div",{style:{display:"flex",alignItems:"center"}},jn.createElement("div",{style:{flex:1}},jn.createElement("span",{style:{display:"inline-flex",border:"1px solid #9096A3",borderRadius:"50%",width:10,height:10,marginRight:5,background:"#9096A3"}}),jn.createElement("span",null,"\u5224\u65AD\u9898")),!(de!=null&&de.isadd)&&jn.createElement("span",{style:{marginLeft:20,marginRight:20,color:"red",cursor:"pointer"},onClick:()=>{Vn()}},jn.createElement("i",{className:"iconfont icon-piliangshanchu3",style:{fontSize:14,marginRight:6}}),"\u5220\u9664"),jn.createElement(We.ZP,{onClick:()=>{var xn;de.isadd?(Se(!1),mn()):(kt.setFieldsValue(Ee(Ln({},de),{name:de==null?void 0:de.question_title,choices:(xn=de==null?void 0:de.question_choices)==null?void 0:xn.map(Dt=>Ee(Ln({},Dt),{is_answer:Dt!=null&&Dt.standard_boolean?1:0})),repeat_answer:!(de!=null&&de.repeat_answer)})),Se(!1))}},"\u53D6\u6D88"),jn.createElement(ne.Z,{overlayClassName:le.shake,open:Ct,placement:"bottom",color:"rgba(244,156,14,0.19)",title:jn.createElement("div",{style:{color:"#FF841A",fontSize:"14px"}},jn.createElement("i",{className:"iconfont icon-tishi11 mr5 font14"}),"\u8BF7\u5148\u4FDD\u5B58\u6216\u53D6\u6D88\u5F53\u524D\u6B63\u5728\u7F16\u8F91\u7684\u8BD5\u9898\u3002")},jn.createElement(We.ZP,{className:"ml20",type:"primary",onClick:()=>{kt.submit()}},"\u4FDD\u5B58"))),jn.createElement("div",{style:{maxHeight:"calc(100vh - 148px)",overflowY:"auto",marginTop:"10px",paddingRight:"5px"}},jn.createElement(Be.default.Item,{className:le.scoreinput,name:"question_score",label:"\u5206\u503C",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5206\u503C"}]},jn.createElement(Te.Z,{onBlur:xn=>{xn.target.value==="0"&&Ae.ZP.error("\u5206\u503C\u5FC5\u987B\u5927\u4E8E0\u4E14\u5C0F\u4E8E\u7B49\u4E8E100")},style:{width:150},precision:1,placeholder:"\u8BF7\u8F93\u5165\u5206\u503C",max:100,min:.1})),jn.createElement(Wn.Z,{form:kt,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u5224\u65AD\u9898\u9898\u5E72\u5185\u5BB9",choiceKey:""}),jn.createElement(pt,{getTagData:Kn,qitem:de,exerciseitem:ct,TagDiscipline:ye,form:kt}))))},ft=oe(36381),ut={wrap:"wrap___YewKC",deleteIcon:"deleteIcon___AKmkj",keywordTag:"keywordTag___hMKmU",questionTitleEditorWrap:"questionTitleEditorWrap___SpNyf",choiceWrap:"choiceWrap___lDCnP",choiceIndex:"choiceIndex___dabwf",judgementIndex:"judgementIndex___sausK",setAnswerBtn:"setAnswerBtn___moVcF",activeAnswer:"activeAnswer___Cd32c",activeJudgementAnswer:"activeJudgementAnswer___rbuoo",actionWrapper:"actionWrapper___dZuBC",addIcon:"addIcon___A9GtN",inputBorder:"inputBorder___DeyjY",placeholder:"placeholder___dhOmk",blankWrapper:"blankWrapper___vU8Cg",blankInput:"blankInput___Vzre8",blankInputNumberWrapper:"blankInputNumberWrapper___yLeaN",addBtn:"addBtn___LhI0I",blankIndex:"blankIndex___caKgB",baseInputWrapper:"baseInputWrapper___DhjJY",collapseWrapper:"collapseWrapper___btrfP",panelHeader:"panelHeader___xIZ7O",open:"open___IMQhg",close:"close___FTAU3",hide:"hide___GBtJP",scoreByBlankRadio:"scoreByBlankRadio___HAunQ"},wt=oe(12893),De=oe(39793),_e=Object.defineProperty,ke=Object.defineProperties,st=Object.getOwnPropertyDescriptors,Ut=Object.getOwnPropertySymbols,qt=Object.prototype.hasOwnProperty,In=Object.prototype.propertyIsEnumerable,vn=(de,Se,ye)=>Se in de?_e(de,Se,{enumerable:!0,configurable:!0,writable:!0,value:ye}):de[Se]=ye,He=(de,Se)=>{for(var ye in Se||(Se={}))qt.call(Se,ye)&&vn(de,ye,Se[ye]);if(Ut)for(var ye of Ut(Se))In.call(Se,ye)&&vn(de,ye,Se[ye]);return de},it=(de,Se)=>ke(de,st(Se)),dn=(de,Se)=>{var ye={};for(var ct in de)qt.call(de,ct)&&Se.indexOf(ct)<0&&(ye[ct]=de[ct]);if(de!=null&&Ut)for(var ct of Ut(de))Se.indexOf(ct)<0&&In.call(de,ct)&&(ye[ct]=de[ct]);return ye};const gt=de=>{var Se=de,{value:ye,onChange:ct,scrollId:pn}=Se,Vn=dn(Se,["value","onChange","scrollId"]);return x.createElement("div",{id:pn||""},x.createElement(De.Z,it(He({},Vn),{defaultValue:ye,onChange:(Kn,mn)=>{console.log("a:",Kn,mn),mn!=null&&mn.length?ct(Kn,mn):ct(Kn)}})))},$t=({value:de,onChange:Se,placeholder:ye,height:ct=140,isEdit:pn})=>pn?x.createElement(De.Z,{watch:!0,isFocus:!0,height:ct,placeholder:ye,defaultValue:de,onChange:Se}):x.createElement("div",{style:{cursor:"pointer"}},de?x.createElement(vt.Z,{className:ut.inputBorder,value:de}):x.createElement("div",{className:`${ut.inputBorder} ${ut.placeholder}`},ye));var gn=oe(43604),Aa=oe(32134),zn=Object.defineProperty,bt=Object.defineProperties,Za=Object.getOwnPropertyDescriptors,qn=Object.getOwnPropertySymbols,Na=Object.prototype.hasOwnProperty,Ca=Object.prototype.propertyIsEnumerable,ja=(de,Se,ye)=>Se in de?zn(de,Se,{enumerable:!0,configurable:!0,writable:!0,value:ye}):de[Se]=ye,xa=(de,Se)=>{for(var ye in Se||(Se={}))Na.call(Se,ye)&&ja(de,ye,Se[ye]);if(qn)for(var ye of qn(Se))Ca.call(Se,ye)&&ja(de,ye,Se[ye]);return de},Ua=(de,Se)=>bt(de,Za(Se)),Ga=(de,Se)=>{var ye={};for(var ct in de)Na.call(de,ct)&&Se.indexOf(ct)<0&&(ye[ct]=de[ct]);if(de!=null&&qn)for(var ct of qn(de))Se.indexOf(ct)<0&&Ca.call(de,ct)&&(ye[ct]=de[ct]);return ye};const $a=["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"],Rt=({value:de,onChange:Se,choiceTextKey:ye,answerKey:ct,index:pn,isEdit:Vn,setInputActive:Kn,form:mn,choiceOptionsPath:Ct,allowChangeMode:kt,showAddIcon:xn,addItem:Dt,deleteItem:en})=>{const Hn=(de==null?void 0:de[ct])===1,ta=()=>{const da=mn.getFieldValue(Ct);mn.setFieldValue(Ct,da.map(an=>Ua(xa({},an),{[ct]:0})))},yn=()=>{Hn?Se(Ua(xa({},de),{[ct]:0})):(kt||ta(),Se(Ua(xa({},de),{[ct]:1})))};return x.createElement(Ke.Z,{className:ut.choiceWrap,align:"middle",wrap:!1},x.createElement(gn.Z,{onClick:yn,className:`${ut.choiceIndex} ${Hn?ut.activeAnswer:""}`},$a[pn]),x.createElement(gn.Z,{flex:1,className:`${ut.editorWrap} ml15`,onClick:Kn},x.createElement($t,{height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9009\u9879",isEdit:Vn,value:de==null?void 0:de[ye],onChange:da=>{Se(Ua(xa({},de),{[ye]:da}))}})),x.createElement(gn.Z,{flex:"0 0 auto",className:"ml15"},x.createElement("div",{onClick:yn,className:`${ut.setAnswerBtn} ${Hn?ut.activeAnswer:""}`},Hn?"\u6B63\u786E\u7B54\u6848":"\u8BBE\u4E3A\u7B54\u6848")),x.createElement(gn.Z,{className:ut.actionWrapper},x.createElement(ne.Z,{title:"\u65B0\u589E\u53C2\u8003\u7B54\u6848"},x.createElement(Aa.Z,{className:ut.addIcon,onClick:Dt,style:{visibility:xn?"visible":"hidden"}})),x.createElement(ne.Z,{title:"\u5220\u9664"},x.createElement(wt.Z,{className:ut.deleteIcon,onClick:en,style:{visibility:pn>1?"visible":"hidden"}}))))},ma=({questionTitlePlaceholder:de,titleKey:Se,choiceKey:ye,analysisKey:ct,choiceTextKey:pn,answerKey:Vn,choiceOptionsPath:Kn,allowChangeMode:mn=!0,form:Ct,showAnalysis:kt=!0})=>{const[xn,Dt]=(0,x.useState)(),[en,Hn]=(0,x.useState)(!1);return x.createElement("div",{className:ut.wrap},x.createElement("div",{className:ut.questionTitleEditorWrap},x.createElement(Be.default.Item,{label:"\u9898\u5E72",name:Se,labelCol:{span:24},rules:[{required:!0}]},x.createElement(gt,{scrollId:Array.isArray(Se)?Se.join("_"):`${Se}`,watch:!0,height:140,placeholder:de}))),x.createElement(Be.default.Item,{label:"\u7B54\u6848\u9009\u9879",required:!0,labelCol:{span:24}}),x.createElement(Be.default.List,{name:ye,rules:[{validator(ta,yn){const da=yn.some(Oa=>Oa[Vn]===1),an=yn.findIndex(Oa=>{var mr;return((mr=Oa[pn])==null?void 0:mr.length)<=0});return an!==-1?Promise.reject(new Error(`\u8BF7\u5148\u8F93\u5165${$a[an]}\u9009\u9879\u7684\u5185\u5BB9`)):da?Promise.resolve():Promise.reject(new Error("\u8BF7\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848"))}}]},(ta,{add:yn,remove:da})=>x.createElement("div",{id:Array.isArray(Kn)?Kn.join("_"):`${Kn}`},ta.map((an,Oa)=>{var mr=an,{key:rn,name:Zt}=mr,Xa=Ga(mr,["key","name"]);const cr=xn===rn,ur=()=>{Dt(rn)},fr=Oa<7&&Oa===ta.length-1,qa=()=>yn({[pn]:"",[Vn]:0}),An=()=>da(Zt);return x.createElement(Be.default.Item,Ua(xa({},Xa),{key:rn,name:Zt,noStyle:!0}),x.createElement(Rt,{choiceTextKey:pn,answerKey:Vn,index:Oa,isEdit:cr,setInputActive:ur,form:Ct,choiceOptionsPath:Kn,allowChangeMode:mn,showAddIcon:fr,addItem:qa,deleteItem:An}))}),ta.length<8&&x.createElement("div",{className:`${ut.addBtn} mb30`,onClick:()=>yn({[pn]:"",[Vn]:0})},"\u6DFB\u52A0\u9009\u9879"))),kt&&x.createElement("div",{onClick:()=>Hn(!0)},x.createElement(Be.default.Item,{name:ct,label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},x.createElement($t,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:en}))))};var Ht=oe(59301),va=Object.defineProperty,aa=Object.defineProperties,Kt=Object.getOwnPropertyDescriptors,Fn=Object.getOwnPropertySymbols,Qn=Object.prototype.hasOwnProperty,hn=Object.prototype.propertyIsEnumerable,Sa=(de,Se,ye)=>Se in de?va(de,Se,{enumerable:!0,configurable:!0,writable:!0,value:ye}):de[Se]=ye,sa=(de,Se)=>{for(var ye in Se||(Se={}))Qn.call(Se,ye)&&Sa(de,ye,Se[ye]);if(Fn)for(var ye of Fn(Se))hn.call(Se,ye)&&Sa(de,ye,Se[ye]);return de},Ia=(de,Se)=>aa(de,Kt(Se)),Ya=(de,Se)=>{var ye={};for(var ct in de)Qn.call(de,ct)&&Se.indexOf(ct)<0&&(ye[ct]=de[ct]);if(de!=null&&Fn)for(var ct of Fn(de))Se.indexOf(ct)<0&&hn.call(de,ct)&&(ye[ct]=de[ct]);return ye};const lr=({value:de,onChange:Se})=>{const ye=pn=>{b.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:ut.modal,onOk:()=>{const Vn=[...de];Vn.splice(pn,1),Se(Vn)}})},ct=()=>{const pn=[...de];pn.push(""),Se(pn)};return Ht.createElement(Ke.Z,{className:"ml20"},Ht.createElement(gn.Z,{flex:1},de==null?void 0:de.map((pn,Vn)=>Ht.createElement(Ke.Z,{key:`${pn}_${Vn}`,align:"middle",className:"mb20"},Ht.createElement(Fe.default.TextArea,{style:{flex:1,minHeight:44},defaultValue:pn,autoSize:{maxRows:3},maxLength:1e3,onBlur:Kn=>{const mn=[...de],Ct=Kn.target.value.trim();mn[Vn]=Ct,Se(mn)}}),Ht.createElement(ne.Z,{title:"\u5220\u9664"},Ht.createElement(wt.Z,{className:ut.deleteIcon,style:{marginLeft:15,visibility:Vn>0?"visible":"hidden"},onClick:()=>ye(Vn)}))))),Ht.createElement(gn.Z,null,Ht.createElement("div",{className:`${ut.addBtn}`,onClick:()=>{ct()}},"\u65B0\u589E\u7B54\u6848")))},Br=({value:de=!0,onChange:Se})=>Ht.createElement(Gt.Z,{checked:!de,onChange:ye=>{Se(!ye)}}),or="\u2581",Wr=({questionTitlePlaceholder:de,form:Se,name:ye,scoreByBlank:ct,answerKey:pn,titleKey:Vn="name",analysisKey:Kn="analysis",isOrdered:mn="is_ordered"})=>{var Ct,kt;const[xn,Dt]=(0,x.useState)(!1),en=(rn,Zt)=>{const Xa=Zt.line;let cr=0;for(let fr=0;fr<Xa;fr++)cr+=rn.getLine(fr).split(or).length-1;const ur=rn.getLine(Xa).substring(0,Zt.ch);return cr+=ur.split(or).length-1,cr},Hn=(rn,Zt,Xa,cr)=>{const ur=rn.getRange(Zt.from,Zt.to);let fr=0;if(Zt.text.forEach(qa=>{fr+=qa.split(or).length-1}),Zt.origin!=="setValue"){if(ur&&ur.indexOf(or)!==-1){const qa=ur.split(or).length-1,An=en(rn,Zt.from);if(console.log(`\u5220\u9664${qa}\u4E2A\uFF0C \u524D\u9762\u6709${An}\u4E2A\uFF0C\u65B0\u589E${fr}\u4E2A`),qa>1){const sr=Array.from({length:qa},(xr,wr)=>An+wr);cr(sr)}else cr(An)}else if(fr>0){const qa=en(rn,Zt.from);console.log(`\u65B0\u589E${fr}\u4E2A\uFF0C\u4E4B\u524D\u6709${qa}\u4E2A`),Xa(fr,qa)}}},ta=()=>{const rn=Se.getFieldValue(["sub_item_banks",...pn]);Se.setFieldValue(["sub_item_banks",...pn],rn==null?void 0:rn.map((Zt,Xa)=>Ia(sa({},Zt),{position:Xa+1})))},yn=(0,x.useRef)(),da=(rn,Zt)=>{for(let Xa=0;Xa<rn;Xa++)yn.current({position:null,answer_text:[""]},Zt+Xa);ta()},an=(0,x.useRef)(),Oa=rn=>{an.current(rn),ta()},mr=(kt=(Ct=Se.getFieldValue("sub_item_banks"))==null?void 0:Ct[pn==null?void 0:pn[0]])==null?void 0:kt[pn==null?void 0:pn[1]];return console.log(Se==null?void 0:Se.getFieldValue(["sub_item_banks",...ct])),Ht.createElement("div",{className:ut.wrap},Ht.createElement("div",{className:ut.questionTitleEditorWrap},Ht.createElement(Be.default.Item,{label:"\u9898\u5E72",name:Vn,labelCol:{span:24},rules:[{required:!0}]},Ht.createElement(gt,{scrollId:"name",watch:!0,height:140,placeholder:de,showNullButton:!0,onCMBeforeChange:(rn,Zt)=>{Hn(rn,Zt,da,Oa)}}))),Ht.createElement(Be.default.List,{name:pn,rules:[{validator(rn,Zt){if((Zt==null?void 0:Zt.length)===0)return Promise.reject(new Error("\u8BF7\u5148\u5728\u9898\u5E72\u4E2D\u63D2\u5165\u586B\u7A7A\u9879"));for(const Xa of Zt){const{answer_text:cr}=Xa||{};if(cr!=null&&cr.some(ur=>(ur==null?void 0:ur.length)===0))return Promise.reject(new Error("\u586B\u7A7A\u9879\u7B54\u6848\u4E0D\u80FD\u4E3A\u7A7A"))}return Promise.resolve()}}]},(rn,{add:Zt,remove:Xa},{errors:cr})=>(yn.current=Zt,an.current=Xa,Ht.createElement(Ht.Fragment,null,Ht.createElement(Be.default.Item,{label:Ht.createElement("span",null,"\u586B\u7A7A\u9879\u7B54\u6848",!(rn!=null&&rn.length)&&Ht.createElement("span",{style:{color:"#E99237"}},"\uFF08\u8BF7\u5148\u5728\u9898\u5E72\u4E2D\u63D2\u5165\u586B\u7A7A\u9879\uFF09")),required:!0,labelCol:{span:24}}),rn.map((ur,fr)=>{var qa=ur,{key:An,name:sr}=qa,xr=Ya(qa,["key","name"]);return Ht.createElement(Ke.Z,{className:"mb20",key:An,align:"top"},Ht.createElement(gn.Z,{flex:"0 0 auto",className:`${ut.blankIndex} pt5`},"\u586B\u7A7A\u9879",fr+1),Ht.createElement(gn.Z,{flex:1},Ht.createElement(Ke.Z,{align:"top",justify:"space-between"},Ht.createElement(gn.Z,{flex:1},Ht.createElement(Be.default.Item,Ia(sa({},xr),{name:[sr,"answer_text"],noStyle:!0}),Ht.createElement(lr,null))),(Se==null?void 0:Se.getFieldValue(["sub_item_banks",...ct]))&&Ht.createElement(gn.Z,{flex:"224px",style:{margin:"-7px 0 0 20px"}},Ht.createElement(Be.default.Item,Ia(sa({},xr),{name:[sr,"score"],label:"\u5206\u503C",rules:[{required:!0}],className:ut.blankInputNumberWrapper}),Ht.createElement(Te.Z,{onChange:()=>{var wr,Er;let ir=Se==null?void 0:Se.getFieldValue(["sub_item_banks",pn==null?void 0:pn[0],"standard_answers"]),Fr=0;for(let kr in ir)(wr=ir[kr])!=null&&wr.score&&(Fr+=Number((Er=ir[kr])==null?void 0:Er.score));Se==null||Se.setFieldValue(["sub_item_banks",pn==null?void 0:pn[0],"question_score"],Fr)},className:ut.blankInput,min:.1,max:100,precision:1,style:{width:"100%"},placeholder:"\u8BF7\u8F93\u5165\u5206\u503C"})))),Ht.createElement(Be.default.Item,Ia(sa({},xr),{name:[sr,"position"],noStyle:!0}),Ht.createElement(Fe.default,{type:"hidden"}))))})))),Ht.createElement(Ke.Z,{align:"middle"},Ht.createElement(Be.default.Item,{name:[ye,"downcase"],valuePropName:"checked"},Ht.createElement(Gt.Z,null)),Ht.createElement(gn.Z,{className:"ml10"},"\u5224\u5206\u65F6\u5FFD\u7565\u7B54\u6848\u4E2D\u7684\u5B57\u6BCD\u5927\u5C0F\u5199")),Ht.createElement(Ke.Z,{align:"middle"},Ht.createElement(Be.default.Item,{name:[ye,"no_space"],valuePropName:"checked"},Ht.createElement(Gt.Z,null)),Ht.createElement(gn.Z,{className:"ml10"},"\u5224\u5206\u65F6\u5FFD\u7565\u7B54\u6848\u4E2D\u7684\u7A7A\u683C")),(mr==null?void 0:mr.length)>1&&Ht.createElement(Ke.Z,{align:"middle",className:(mr==null?void 0:mr.length)>1?"mb30":`${ut.hide}`},Ht.createElement(Be.default.Item,{name:mn},Ht.createElement(Br,null)),Ht.createElement(gn.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")),Ht.createElement("div",{onClick:()=>Dt(!0)},Ht.createElement(Be.default.Item,{name:Kn,label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},Ht.createElement($t,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:xn}))))};var Ra=Object.defineProperty,ka=Object.defineProperties,nr=Object.getOwnPropertyDescriptors,ra=Object.getOwnPropertySymbols,Ka=Object.prototype.hasOwnProperty,er=Object.prototype.propertyIsEnumerable,Pa=(de,Se,ye)=>Se in de?Ra(de,Se,{enumerable:!0,configurable:!0,writable:!0,value:ye}):de[Se]=ye,Va=(de,Se)=>{for(var ye in Se||(Se={}))Ka.call(Se,ye)&&Pa(de,ye,Se[ye]);if(ra)for(var ye of ra(Se))er.call(Se,ye)&&Pa(de,ye,Se[ye]);return de},ar=(de,Se)=>ka(de,nr(Se)),Qa=(de,Se)=>{var ye={};for(var ct in de)Ka.call(de,ct)&&Se.indexOf(ct)<0&&(ye[ct]=de[ct]);if(de!=null&&ra)for(var ct of ra(de))Se.indexOf(ct)<0&&er.call(de,ct)&&(ye[ct]=de[ct]);return ye};const Nr={\u6B63\u786E:"T",\u9519\u8BEF:"F"},vr=({value:de,onChange:Se,form:ye,choiceKey:ct})=>{const pn=(de==null?void 0:de.is_answer)===1,Vn=de==null?void 0:de.choice_text,Kn=()=>{var mn;const Ct=(mn=ye==null?void 0:ye.getFieldValue(["sub_item_banks",...ct]))==null?void 0:mn.map(kt=>({choice_text:kt.choice_text,is_answer:0}));ye==null||ye.setFieldValue(["sub_item_banks",...ct],Ct),Se(ar(Va({},de),{is_answer:1}))};return x.createElement(Ke.Z,{className:ut.choiceWrap,align:"middle",wrap:!1},x.createElement(gn.Z,{onClick:Kn,className:`${ut.choiceIndex} ${ut.judgementIndex} ${pn?ut.activeAnswer:""}`},Nr[Vn]),x.createElement(gn.Z,{flex:1,className:`${ut.editorWrap} ml15`},x.createElement("div",{className:`${ut.inputBorder} ${ut.placeholder} ${pn?ut.activeJudgementAnswer:""}`},Vn)),x.createElement(gn.Z,{flex:"0 0 auto",className:"ml15"},x.createElement("div",{onClick:Kn,className:`${ut.setAnswerBtn} ${pn?ut.activeAnswer:""}`},pn?"\u6B63\u786E\u7B54\u6848":"\u8BBE\u4E3A\u7B54\u6848")))},Rr=({questionTitlePlaceholder:de,choiceKey:Se="choices",form:ye,titleKey:ct="name",analysisKey:pn="analysis"})=>{const[Vn,Kn]=(0,x.useState)(!1);return x.createElement("div",{className:ut.wrap},x.createElement("div",{className:ut.questionTitleEditorWrap},x.createElement(Be.default.Item,{label:"\u9898\u5E72",name:ct,labelCol:{span:24},rules:[{required:!0}]},x.createElement(gt,{scrollId:"name",watch:!0,height:140,placeholder:de}))),x.createElement(Be.default.Item,{label:"\u7B54\u6848\u9009\u9879",required:!0,labelCol:{span:24}},x.createElement(Be.default.List,{name:Se,rules:[{validator(mn,Ct){return Ct.some(xn=>(xn==null?void 0:xn.is_answer)===1)?Promise.resolve():Promise.reject(new Error("\u8BF7\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848"))}}]},mn=>x.createElement("div",{id:"choices"},mn.map(Ct=>{var kt=Ct,{key:xn,name:Dt}=kt,en=Qa(kt,["key","name"]);return x.createElement(Be.default.Item,ar(Va({},en),{key:xn,name:Dt,noStyle:!0}),x.createElement(vr,{form:ye,choiceKey:Se}))})))),x.createElement("div",{onClick:()=>Kn(!0)},x.createElement(Be.default.Item,{name:pn,label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},x.createElement($t,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:Vn}))))};var _r=oe(12563),Ja=Object.defineProperty,Tr=Object.defineProperties,Or=Object.getOwnPropertyDescriptors,$r=Object.getOwnPropertySymbols,Jr=Object.prototype.hasOwnProperty,lo=Object.prototype.propertyIsEnumerable,pr=(de,Se,ye)=>Se in de?Ja(de,Se,{enumerable:!0,configurable:!0,writable:!0,value:ye}):de[Se]=ye,uo=(de,Se)=>{for(var ye in Se||(Se={}))Jr.call(Se,ye)&&pr(de,ye,Se[ye]);if($r)for(var ye of $r(Se))lo.call(Se,ye)&&pr(de,ye,Se[ye]);return de},Fo=(de,Se)=>Tr(de,Or(Se)),oo=(de,Se)=>{var ye={};for(var ct in de)Jr.call(de,ct)&&Se.indexOf(ct)<0&&(ye[ct]=de[ct]);if(de!=null&&$r)for(var ct of $r(de))Se.indexOf(ct)<0&&lo.call(de,ct)&&(ye[ct]=de[ct]);return ye};const Yr=de=>{var Se=de,{value:ye,onChange:ct}=Se,pn=oo(Se,["value","onChange"]);const Vn=Kn=>{ct([Kn])};return x.createElement(De.Z,Fo(uo({},pn),{defaultValue:ye==null?void 0:ye[0],onChange:Vn}))},so=de=>{if(!de)return!1;if(/^s*$/.test(de)||de.trim()===""){Ae.ZP.warning("\u5173\u952E\u8BCD\u4E0D\u80FD\u5168\u4E3A\u7A7A\u683C");return}let Se=new RegExp("[ `~!@#$^&*()={}':;,\\[\\].<>/?~\uFF01@#\uFFE5\u2026\u2026&*\uFF08\uFF09\u2014\u3010\u3011\u2018\uFF1B\uFF1A\u201D\u201C\u3002\uFF0C\u3001\uFF1F\u300C\u300D\u300E\u300F_\\+\\-\xB7%\u300A\u300B]|[\\\\/]");return de==="|"?(Ae.ZP.warning("\u5173\u952E\u8BCD\u4E0D\u80FD\u53EA\u8F93\u5165\u4E00\u4E2A\u201C|\u201D\u5B57\u7B26\uFF01"),!1):!0},ea=({value:de=[],onClose:Se})=>x.createElement(_r.default,{closable:!0,onClose:Se,className:ut.keywordTag},x.createElement("pre",{style:{margin:"0px",whiteSpace:"pre-wrap"}},de.join(" \u6216 "))),Sn=({questionTitlePlaceholder:de,form:Se,showKeywords:ye,isMustKeyWords:ct=ye,titleKey:pn="name",analysisKey:Vn="analysis",answerTexts:Kn="answer_texts",keywords:mn="keywords",useKeywords:Ct="use_keywords",indexs:kt})=>{var xn,Dt,en,Hn;const[ta,yn]=(0,x.useState)(!1),[da,an]=(0,x.useState)(""),Oa=(Dt=(xn=Se.getFieldValue("sub_item_banks"))==null?void 0:xn[Ct==null?void 0:Ct[0]])==null?void 0:Dt[Ct==null?void 0:Ct[1]],mr=(Hn=(en=Se.getFieldValue("sub_item_banks"))==null?void 0:en[Ct==null?void 0:Ct[0]])==null?void 0:Hn.question_score;return x.createElement("div",{className:ut.wrap},x.createElement("div",{className:ut.questionTitleEditorWrap},x.createElement(Be.default.Item,{label:"\u9898\u5E72",name:pn,labelCol:{span:24},rules:[{required:!0}]},x.createElement(gt,{scrollId:"name",watch:!0,height:140,placeholder:de}))),x.createElement(Be.default.Item,{label:"\u53C2\u8003\u7B54\u6848",name:Kn,labelCol:{span:24}},x.createElement(Yr,{watch:!0,height:140,placeholder:"\u8BF7\u7F16\u8F91\u53C2\u8003\u7B54\u6848\uFF08\u975E\u5FC5\u586B\uFF09"})),ye&&!ct&&x.createElement(Be.default.Item,{hidden:!0,name:Ct,valuePropName:"checked"},x.createElement(Gt.Z,{defaultChecked:!0})),ye&&ct&&x.createElement(Ke.Z,{align:"middle",className:"mb30"},x.createElement(Be.default.Item,{name:Ct,valuePropName:"checked"},x.createElement(Gt.Z,null)),x.createElement(gn.Z,{className:"ml10"},"\u5F00\u542F\u5173\u952E\u8BCD\u81EA\u52A8\u5224\u5206"),x.createElement(gn.Z,null,x.createElement(ne.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(ht.Z,{style:{color:"#3061D0",marginLeft:6,cursor:"pointer"}})))),(Oa||!ct)&&x.createElement(Be.default.List,{name:mn,rules:[{validator(rn,Zt){return ct?Zt!=null&&Zt.length?(Zt==null?void 0:Zt.reduce((cr,ur)=>cr+ur.score,0))>parseFloat(mr)?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()}}]},(rn,{add:Zt,remove:Xa})=>x.createElement(x.Fragment,null,x.createElement("div",{className:`${ut.title} mb10`},ct?"\u5173\u952E\u8BCD":x.createElement("span",{style:{color:"#9096A3"}},"\u5224\u5206\u5173\u952E\u8BCD")),x.createElement(Ke.Z,{align:"middle",className:"font14 mb30"},x.createElement(gn.Z,{flex:1},x.createElement(Fe.default,{value:da,onChange:cr=>{an(cr.target.value)},maxLength:50,allowClear:!0,onPressEnter:cr=>{var ur,fr,qa,An;const sr=`${(ur=cr.target)==null?void 0:ur.value}`,xr=(qa=(fr=sr==null?void 0:sr.split("|"))==null?void 0:fr.filter(ir=>!!ir))==null?void 0:qa.map(ir=>ir.trim()),wr=Se.getFieldValue(["sub_item_banks",...mn]),Er=((An=wr==null?void 0:wr.map(ir=>ir==null?void 0:ir.keyword))==null?void 0:An.flat())||[];for(const ir of xr)if(Er.includes(ir)){Ae.ZP.error("\u4E3A\u907F\u514D\u5224\u5206\u9519\u8BEF\uFF0C\u8BF7\u52FF\u8BBE\u7F6E\u76F8\u540C\u7684\u5173\u952E\u8BCD");return}so(sr)&&(Zt({keyword:xr,score:1}),an(""))},className:ut.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(gn.Z,{flex:"148px",style:{textAlign:"right",color:"#e99237"}},"\u201C\u56DE\u8F66\u952E\u201D\u4FDD\u5B58\u5173\u952E\u8BCD")),rn.map(cr=>{var ur=cr,{key:fr,name:qa}=ur,An=oo(ur,["key","name"]);return x.createElement(Ke.Z,{key:fr,className:"mb20",style:{marginRight:148}},x.createElement(gn.Z,{flex:1},x.createElement(Ke.Z,{align:"middle",justify:"space-between"},x.createElement(Be.default.Item,Fo(uo({},An),{name:[qa,"keyword"]}),x.createElement(ea,{onClose:()=>Xa(qa)})),ct&&x.createElement(Be.default.Item,Fo(uo({},An),{name:[qa,"score"],label:"\u5206\u503C",rules:[{required:!0}],className:ut.blankInputNumberWrapper}),x.createElement(Te.Z,{className:ut.blankInput,min:.1,max:100,precision:1,style:{width:"100%"},placeholder:"\u8BF7\u8F93\u5165\u5173\u952E\u8BCD\u5206\u6570"})))))}))),x.createElement("div",{onClick:()=>yn(!0)},x.createElement(Be.default.Item,{name:Vn,label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},x.createElement($t,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:ta}))))};var Ot=oe(59301),se=Object.defineProperty,tt=Object.defineProperties,St=Object.getOwnPropertyDescriptors,zt=Object.getOwnPropertySymbols,ot=Object.prototype.hasOwnProperty,nn=Object.prototype.propertyIsEnumerable,Xt=(de,Se,ye)=>Se in de?se(de,Se,{enumerable:!0,configurable:!0,writable:!0,value:ye}):de[Se]=ye,Vt=(de,Se)=>{for(var ye in Se||(Se={}))ot.call(Se,ye)&&Xt(de,ye,Se[ye]);if(zt)for(var ye of zt(Se))nn.call(Se,ye)&&Xt(de,ye,Se[ye]);return de},Jt=(de,Se)=>tt(de,St(Se)),$n=(de,Se)=>{var ye={};for(var ct in de)ot.call(de,ct)&&Se.indexOf(ct)<0&&(ye[ct]=de[ct]);if(de!=null&&zt)for(var ct of zt(de))Se.indexOf(ct)<0&&nn.call(de,ct)&&(ye[ct]=de[ct]);return ye};const{Panel:Da}=ft.default,La=({questionTitlePlaceholder:de,choiceKey:Se,form:ye,withScore:ct})=>{const pn=[{type:0,name:"\u5355\u9009\u9898"},{type:1,name:"\u591A\u9009\u9898"},{type:2,name:"\u5224\u65AD\u9898"},{type:3,name:"\u586B\u7A7A\u9898"},{type:4,name:"\u7B80\u7B54\u9898"},{type:5,name:"\u5B9E\u8BAD\u9898"},{type:6,name:"\u7F16\u7A0B\u9898"},{type:7,name:"\u7EC4\u5408\u9898"},{type:8,name:"\u7A0B\u5E8F\u586B\u7A7A\u9898"}],[Vn,Kn]=(0,x.useState)(),[mn,Ct]=(0,x.useState)([]),kt=Dt=>{Ct(Dt)},xn=({value:Dt})=>Ot.createElement("div",{style:{width:150,paddingLeft:11}},Dt);return Ot.createElement("div",{className:ut.wrap},Ot.createElement("div",{className:ut.questionTitleEditorWrap},Ot.createElement(Be.default.Item,{label:"\u9898\u5E72",name:"name",labelCol:{span:24},rules:[{required:!0}]},Ot.createElement(gt,{scrollId:"name",watch:!0,height:140,placeholder:de}))),Ot.createElement(Be.default.Item,{label:"\u5C0F\u9898",required:!0,labelCol:{span:24}}),Ot.createElement(Be.default.List,{name:"sub_item_banks",rules:[{validator(Dt,en){return en?Promise.resolve():Promise.reject(new Error("\u8BF7\u6DFB\u52A0\u5C0F\u9898"))}}]},(Dt,{add:en,remove:Hn,move:ta})=>{const yn=ye.getFieldValue("sub_item_banks");return Ot.createElement(Ot.Fragment,null,Ot.createElement(ft.default,{className:Dt.length>0?ut.collapseWrapper:"",bordered:!1,activeKey:mn,onChange:kt,expandIcon:({isActive:da})=>Ot.createElement("i",{className:`iconfont icon-weizhankai ${da?ut.open:ut.close}`,style:{fontSize:14,transition:"all .2s"}})},Dt.map((da,an)=>{var Oa=da,{key:mr,name:rn}=Oa,Zt=$n(Oa,["key","name"]),Xa,cr,ur,fr,qa,An,sr,xr,wr,Er,ir,Fr,kr,_a;return Ot.createElement(Da,{className:ut.panel,forceRender:!0,header:Ot.createElement("div",{className:ut.panelHeader},"\u7B2C",an+1,"\u5C0F\u9898",Ot.createElement("span",null,"\uFF08",((Xa=yn==null?void 0:yn[rn])==null?void 0:Xa.question_type)==0?"\u5355\u9009\u9898":((cr=yn==null?void 0:yn[rn])==null?void 0:cr.question_type)==1?"\u591A\u9009\u9898":((ur=yn==null?void 0:yn[rn])==null?void 0:ur.question_type)==3?"\u586B\u7A7A\u9898":((fr=yn==null?void 0:yn[rn])==null?void 0:fr.question_type)==2?"\u5224\u65AD\u9898":"\u7B80\u7B54\u9898","\uFF09")),key:rn,extra:Ot.createElement(Ke.Z,{align:"middle",onClick:gr=>gr.stopPropagation()},((qa=yn==null?void 0:yn[rn])==null?void 0:qa.question_type)==3&&Ot.createElement(Ot.Fragment,null,Ot.createElement(Le.ZP.Group,{defaultValue:(An=yn==null?void 0:yn[rn])==null?void 0:An.use_blank_score,className:le.scoreByBlankRadio,style:{marginRight:20},optionType:"button",options:[{label:"\u6309\u7A7A\u7ED9\u5206",value:!0},{label:"\u6309\u9898\u7ED9\u5206",value:!1}],onChange:gr=>{var Ar,Dr,Qr,to,no;if(ye==null||ye.setFieldValue(["sub_item_banks",rn,"use_blank_score"],(Ar=gr==null?void 0:gr.target)==null?void 0:Ar.value),(Dr=gr==null?void 0:gr.target)!=null&&Dr.value){let mo=0;for(let Lo in(Qr=ye==null?void 0:ye.getFieldValue(["sub_item_banks",rn]))==null?void 0:Qr.standard_answers)mo+=Number((no=(to=ye==null?void 0:ye.getFieldValue(["sub_item_banks",rn]))==null?void 0:to.standard_answers[Lo])==null?void 0:no.score);ye==null||ye.setFieldValue(["sub_item_banks",rn,"question_score"],mo||"")}Kn(new Date)}}),Ot.createElement(ne.Z,{overlayInnerStyle:{width:460},title:Ot.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",Ot.createElement("br",null),"\u6309\u9898\u7ED9\u5206\uFF1A\u9700\u8981\u8BBE\u7F6E\u6574\u4E2A\u5C0F\u9898\u7684\u5206\u503C\uFF0C\u7B54\u5BF9\u5168\u90E8\u586B\u7A7A\u9879\u4E4B\u540E\u624D\u80FD\u83B7\u5F97\u8BE5\u5C0F\u9898\u7684\u5206\u503C\u3002")},Ot.createElement("i",{className:"icon-tishixiaowenhao font18 mr25 c-3061d0"}))),ct&&Ot.createElement(Be.default.Item,Jt(Vt({},Zt),{rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5C0F\u9898\u5206\u503C"}],label:"\u5206\u503C",name:[rn,"question_score"],className:ut.blankInputNumberWrapper}),((sr=yn==null?void 0:yn[rn])==null?void 0:sr.question_type)==3&&((xr=yn==null?void 0:yn[rn])!=null&&xr.use_blank_score)?Ot.createElement(xn,null):Ot.createElement(Te.Z,{className:ut.blankInput,placeholder:"\u8BF7\u8F93\u5165\u5206\u6570",min:.1,precision:1,max:100,style:{width:150}})),Ot.createElement(Ke.Z,{align:"middle",className:"pl40",style:{width:82}},an!==0&&Ot.createElement("div",{onClick:()=>{var gr;ta(an,an-1);const Ar=(gr=ye.getFieldValue("sub_item_banks"))==null?void 0:gr.map((Dr,Qr)=>(Dt.map((to,no)=>{Qr===no&&(Dr.q_position=Number(to.name)+1)}),Dr));ye.setFieldValue("sub_item_banks",Ar)}},Ot.createElement(ne.Z,{title:"\u4E0A\u79FB"},Ot.createElement("i",{className:"iconfont icon-shangyi3 c-grey-999 primary-hover"}))),an<Dt.length-1&&Ot.createElement("div",{onClick:()=>{var gr;ta(an,an+1);const Ar=(gr=ye.getFieldValue("sub_item_banks"))==null?void 0:gr.map((Dr,Qr)=>(Dt.map((to,no)=>{Qr===no&&(Dr.q_position=Number(to.name)+1)}),Dr));ye.setFieldValue("sub_item_banks",Ar)},className:an===0?"":"ml10"},Ot.createElement(ne.Z,{title:"\u4E0B\u79FB"},Ot.createElement("i",{className:"iconfont icon-xiayi3 c-grey-999 primary-hover"})))),Ot.createElement(ne.Z,{title:"\u5220\u9664"},Ot.createElement(wt.Z,{className:`${ut.deleteIcon} ml40`,onClick:()=>Hn(rn)})))},Ot.createElement(Be.default.Item,Jt(Vt({},Zt),{name:rn}),(((wr=yn==null?void 0:yn[rn])==null?void 0:wr.question_type)==0||((Er=yn==null?void 0:yn[rn])==null?void 0:Er.question_type)==1)&&Ot.createElement(ma,{questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u9009\u62E9\u9898\u9898\u5E72\u5185\u5BB9",allowChangeMode:((ir=yn==null?void 0:yn[rn])==null?void 0:ir.question_type)==1,form:ye,choiceKey:[rn,"choices"],titleKey:[rn,"name"],analysisKey:[rn,"analysis"],choiceOptionsPath:["sub_item_banks",rn,"choices"],choiceTextKey:"choice_text",answerKey:"is_answer"}),((Fr=yn==null?void 0:yn[rn])==null?void 0:Fr.question_type)==3&&Ot.createElement(Wr,{form:ye,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u9898\u5E72\u5E76\u8BBE\u7F6E\u586B\u7A7A\u9879",name:rn,scoreByBlank:[rn,"use_blank_score"],titleKey:[rn,"name"],analysisKey:[rn,"analysis"],isOrdered:[rn,"is_ordered"],answerKey:[rn,"standard_answers"],key:Vn}),((kr=yn==null?void 0:yn[rn])==null?void 0:kr.question_type)==2&&Ot.createElement(Rr,{form:ye,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u5224\u65AD\u9898\u9898\u5E72\u5185\u5BB9",titleKey:[rn,"name"],analysisKey:[rn,"analysis"],choiceKey:[rn,"choices"]}),((_a=yn==null?void 0:yn[rn])==null?void 0:_a.question_type)==4&&Ot.createElement(Sn,{showKeywords:!0,isMustKeyWords:!0,form:ye,titleKey:[rn,"name"],analysisKey:[rn,"analysis"],answerTexts:[rn,"answer_texts"],useKeywords:[rn,"use_keywords"],keywords:[rn,"keywords"],indexs:rn,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u7B80\u7B54\u9898\u9898\u5E72\u5185\u5BB9",key:Vn})))})),Dt.length<20&&Ot.createElement(z.Z,{menu:{items:[{label:Ot.createElement("div",{onClick:()=>{en({name:"",choices:Array.from({length:4},()=>({choice_text:"",is_answer:0})),analysis:"",question_type:0,item_type:"SINGLE"}),Ct([Dt==null?void 0:Dt.length,...mn])}},"\u5355\u9009\u9898"),key:"1",show:!0},{label:Ot.createElement("div",{onClick:()=>{en({name:"",choices:Array.from({length:4},()=>({choice_text:"",is_answer:0})),analysis:"",question_type:1,item_type:"MULTIPLE"}),Ct([Dt==null?void 0:Dt.length,...mn])}},"\u591A\u9009\u9898"),key:"2",show:!0},{label:Ot.createElement("div",{onClick:()=>{en({name:"",choices:[{choice_text:"\u6B63\u786E",is_answer:0},{choice_text:"\u9519\u8BEF",is_answer:0}],analysis:"",question_type:2,item_type:"JUDGMENT"}),Ct([Dt==null?void 0:Dt.length,...mn])}},"\u5224\u65AD\u9898"),key:"3",show:!0},{label:Ot.createElement("div",{onClick:()=>{en({name:"",analysis:"",is_ordered:!0,standard_answers:[],question_type:3,item_type:"COMPLETION",use_blank_score:!0,downcase:!0,no_space:!0}),Ct([Dt==null?void 0:Dt.length,...mn])}},"\u586B\u7A7A\u9898"),key:"4",show:!0},{label:Ot.createElement("div",{onClick:()=>{en({name:"",answer_texts:[],keywords:[],use_keywords:!1,analysis:"",question_type:4,item_type:"SUBJECTIVE"}),Ct([Dt==null?void 0:Dt.length,...mn])}},"\u7B80\u7B54\u9898"),key:"5",show:!0}].filter(da=>da.show).map(da=>({label:da.label,key:da.key}))}},Ot.createElement("div",{className:`${ut.addBtn}`},"\u6DFB\u52A0\u5C0F\u9898")))}))};var cn=oe(59301),pa=Object.defineProperty,ha=Object.defineProperties,Ea=Object.getOwnPropertyDescriptors,hr=Object.getOwnPropertySymbols,Mr=Object.prototype.hasOwnProperty,Pr=Object.prototype.propertyIsEnumerable,Lr=(de,Se,ye)=>Se in de?pa(de,Se,{enumerable:!0,configurable:!0,writable:!0,value:ye}):de[Se]=ye,yr=(de,Se)=>{for(var ye in Se||(Se={}))Mr.call(Se,ye)&&Lr(de,ye,Se[ye]);if(hr)for(var ye of hr(Se))Pr.call(Se,ye)&&Lr(de,ye,Se[ye]);return de},Cr=(de,Se)=>ha(de,Ea(Se)),Bo=(de,Se,ye)=>new Promise((ct,pn)=>{var Vn=Ct=>{try{mn(ye.next(Ct))}catch(kt){pn(kt)}},Kn=Ct=>{try{mn(ye.throw(Ct))}catch(kt){pn(kt)}},mn=Ct=>Ct.done?ct(Ct.value):Promise.resolve(Ct.value).then(Vn,Kn);mn((ye=ye.apply(de,Se)).next())}),ho=({qitem:de,setisedit:Se,TagDiscipline:ye,exerciseitem:ct,seveeditor:pn,deleteitem:Vn,getTagData:Kn,init:mn,showTip:Ct=!1})=>{const[kt]=Be.default.useForm();(0,x.useEffect)(()=>{var Dt;kt.setFieldsValue(Cr(yr({},de),{name:de.question_title,sub_item_banks:(Dt=de.sub_exercise_questions)==null?void 0:Dt.map(en=>{var Hn;return Cr(yr({},en),{name:en.question_title,choices:(Hn=en==null?void 0:en.question_choices)==null?void 0:Hn.map(ta=>Cr(yr({},ta),{is_answer:ta!=null&&ta.standard_boolean?1:0}))})}),repeat_answer:!de.repeat_answer}))},[de]);const xn=Dt=>{if(!(Dt!=null&&Dt.length))return!1;const en=Dt.map(ta=>{var yn;return(yn=ta.choice_text)==null?void 0:yn.trim().replace(/^\s+|\s+$/g,"")});return new Set(en).size!==en.length};return cn.createElement("div",null,cn.createElement(Be.default,{form:kt,colon:!1,onValuesChange:(Dt,en)=>{var Hn,ta,yn;if(Dt!=null&&Dt.sub_item_banks){let da=((Hn=kt.getFieldValue("sub_item_banks"))==null?void 0:Hn.length)>0&&((yn=(ta=kt.getFieldValue("sub_item_banks"))==null?void 0:ta.map(an=>{var Oa;if(an.question_type==3&&(an!=null&&an.use_blank_score)){let mr=0;for(let rn in an==null?void 0:an.standard_answers)mr+=Number((Oa=an==null?void 0:an.standard_answers[rn])==null?void 0:Oa.score);return mr}else return an.question_score}))==null?void 0:yn.filter(an=>an));(da==null?void 0:da.length)>0&&kt.setFieldsValue({question_score:parseFloat(da==null?void 0:da.reduce((an,Oa)=>parseFloat(an)+parseFloat(Oa))).toFixed(1)})}},onFinish:Dt=>{var en,Hn;if((en=Dt.sub_item_banks)==null?void 0:en.some(yn=>yn.question_type===0||yn.question_type===1?xn(yn.choices):!1)){Ae.ZP.error("\u9009\u62E9\u9898\u9009\u9879\u5185\u5BB9\u4E0D\u80FD\u91CD\u590D\uFF0C\u8BF7\u4FEE\u6539\u540E\u518D\u4FDD\u5B58");return}pn(Cr(yr(yr({},de),Dt),{sub_item_banks:(Hn=Dt==null?void 0:Dt.sub_item_banks)==null?void 0:Hn.map(yn=>(console.log(yn),Cr(yr({},yn),{item_type:yn==null?void 0:yn.question_type,id:(yn==null?void 0:yn.question_id)||""})))}))},onFinishFailed:Dt=>Bo(void 0,null,function*(){var en,Hn;Ae.ZP.error(Dt.errorFields[0].errors[0]),kt.scrollToField((Hn=(en=Dt==null?void 0:Dt.errorFields)==null?void 0:en[0])==null?void 0:Hn.name,{behavior:"smooth",block:"center"})})},cn.createElement("div",{style:{display:"flex",alignItems:"center"}},cn.createElement("div",{style:{flex:1}},cn.createElement("span",{style:{display:"inline-flex",border:"1px solid #9096A3",borderRadius:"50%",width:10,height:10,marginRight:5,background:"#9096A3"}}),cn.createElement("span",null,"\u7EC4\u5408\u9898")),!de.isadd&&cn.createElement("span",{style:{marginLeft:20,marginRight:20,color:"red",cursor:"pointer"},onClick:()=>{Vn()}},cn.createElement("i",{className:"iconfont icon-piliangshanchu3",style:{fontSize:14,marginRight:6}}),"\u5220\u9664"),cn.createElement(We.ZP,{onClick:()=>{var Dt;de.isadd?(Se(!1),mn()):(kt.setFieldsValue(Cr(yr({},de),{name:de==null?void 0:de.question_title,choices:(Dt=de==null?void 0:de.question_choices)==null?void 0:Dt.map(en=>Cr(yr({},en),{standard_boolean:en!=null&&en.standard_boolean?1:0})),repeat_answer:!(de!=null&&de.repeat_answer)})),Se(!1))}},"\u53D6\u6D88"),cn.createElement(ne.Z,{overlayClassName:le.shake,open:Ct,placement:"bottom",color:"rgba(244,156,14,0.19)",title:cn.createElement("div",{style:{color:"#FF841A",fontSize:"14px"}},cn.createElement("i",{className:"iconfont icon-tishi11 mr5 font14"}),"\u8BF7\u5148\u4FDD\u5B58\u6216\u53D6\u6D88\u5F53\u524D\u6B63\u5728\u7F16\u8F91\u7684\u8BD5\u9898\u3002")},cn.createElement(We.ZP,{className:"ml20",type:"primary",onClick:()=>{kt.submit()}},"\u4FDD\u5B58"))),cn.createElement("div",{style:{maxHeight:"calc(100vh - 148px)",overflowY:"auto",marginTop:"10px",paddingRight:"5px"}},cn.createElement(oa.Z,{text:"\uFF08\u7EC4\u5408\u9898\u5206\u503C\u7B49\u4E8E\u5404\u5C0F\u9898\u5206\u503C\u4E4B\u548C\uFF09"}),cn.createElement(La,{form:kt,withScore:!0,choiceKey:"",questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u7EC4\u5408\u9898\u9898\u5E72\u5185\u5BB9"}),cn.createElement(pt,{getTagData:Kn,qitem:de,exerciseitem:ct,TagDiscipline:ye,form:kt}))))},yo=oe(68571),Ao=oe(24334),br=oe(59301),Co=Object.defineProperty,Rl=Object.defineProperties,kl=Object.getOwnPropertyDescriptors,di=Object.getOwnPropertySymbols,Wi=Object.prototype.hasOwnProperty,Tl=Object.prototype.propertyIsEnumerable,Xr=(de,Se,ye)=>Se in de?Co(de,Se,{enumerable:!0,configurable:!0,writable:!0,value:ye}):de[Se]=ye,wo=(de,Se)=>{for(var ye in Se||(Se={}))Wi.call(Se,ye)&&Xr(de,ye,Se[ye]);if(di)for(var ye of di(Se))Tl.call(Se,ye)&&Xr(de,ye,Se[ye]);return de},Qo=(de,Se)=>Rl(de,kl(Se)),Gl=(de,Se,ye)=>new Promise((ct,pn)=>{var Vn=Ct=>{try{mn(ye.next(Ct))}catch(kt){pn(kt)}},Kn=Ct=>{try{mn(ye.throw(Ct))}catch(kt){pn(kt)}},mn=Ct=>Ct.done?ct(Ct.value):Promise.resolve(Ct.value).then(Vn,Kn);mn((ye=ye.apply(de,Se)).next())}),ti=({qitem:de,TagDiscipline:Se,exerciseitem:ye,setisedit:ct,seveeditor:pn,deleteitem:Vn,getTagData:Kn,init:mn,showTip:Ct=!1})=>{const[kt]=Be.default.useForm(),xn=!0;return(0,x.useEffect)(()=>{var Dt,en,Hn;kt.setFieldsValue(Qo(wo({},de),{standard_answers:de.standard_answer,difficulty:de.difficulty,item_banks_group_id:de.item_banks_group_id,hack:Qo(wo({},de),{time_limit:(de==null?void 0:de.time_limit)||3}),hack_codes:{language:(Dt=de==null?void 0:de.program_attr)==null?void 0:Dt.language,code:Ao.Base64.decode(((en=de==null?void 0:de.program_attr)==null?void 0:en.code)||"")},hack_sets:wo({},(Hn=de==null?void 0:de.hack_sets)==null?void 0:Hn[0]),repeat_answer:!de.repeat_answer}))},[de]),br.createElement("div",null,br.createElement(Be.default,{form:kt,colon:!1,onValuesChange:(Dt,en)=>{var Hn,ta,yn,da;if(Dt!=null&&Dt.standard_answers){let an=((Hn=kt.getFieldValue("standard_answers"))==null?void 0:Hn.length)>0&&((yn=(ta=kt.getFieldValue("standard_answers"))==null?void 0:ta.map(Oa=>Oa.score))==null?void 0:yn.filter(Oa=>Oa));(an==null?void 0:an.length)>0&&kt.setFieldsValue({question_score:(an==null?void 0:an.length)>0&&((da=an.reduce((Oa,mr)=>Oa+mr))==null?void 0:da.toFixed(1))})}},onFinish:Dt=>{var en;pn(Qo(wo(wo({},de),Dt),{item_type:de==null?void 0:de.question_type,standard_answers:(en=Dt.standard_answers)==null?void 0:en.map((Hn,ta)=>Qo(wo({},Hn),{position:ta+1})),standard_answer:void 0}))},onFinishFailed:Dt=>Gl(void 0,null,function*(){var en,Hn;Ae.ZP.error(Dt.errorFields[0].errors[0]),kt.scrollToField((Hn=(en=Dt==null?void 0:Dt.errorFields)==null?void 0:en[0])==null?void 0:Hn.name,{behavior:"smooth",block:"center"})})},br.createElement("div",{style:{display:"flex",alignItems:"center"}},br.createElement("div",{style:{flex:1}},br.createElement("span",{style:{display:"inline-flex",border:"1px solid #9096A3",borderRadius:"50%",width:10,height:10,marginRight:5,background:"#9096A3"}}),br.createElement("span",null,"\u7A0B\u5E8F\u586B\u7A7A\u9898")),!de.isadd&&br.createElement("span",{style:{marginLeft:20,marginRight:20,color:"red",cursor:"pointer"},onClick:()=>{Vn()}},br.createElement("i",{className:"iconfont icon-piliangshanchu3",style:{fontSize:14,marginRight:6}})," \u5220\u9664"),br.createElement(We.ZP,{onClick:()=>{var Dt,en,Hn;de.isadd?(ct(!1),mn()):(kt.setFieldsValue(Qo(wo({},de),{standard_answers:de.standard_answer,difficulty:de.difficult,item_banks_group_id:de.item_banks_group_id,hack:wo({},de),hack_codes:{language:(Dt=de==null?void 0:de.program_attr)==null?void 0:Dt.language,code:Ao.Base64.decode((en=de==null?void 0:de.program_attr)==null?void 0:en.code)},hack_sets:wo({},(Hn=de==null?void 0:de.hack_sets)==null?void 0:Hn[0]),repeat_answer:!de.repeat_answer})),ct(!1))}},"\u53D6\u6D88"),br.createElement(ne.Z,{overlayClassName:le.shake,open:Ct,placement:"bottom",color:"rgba(244,156,14,0.19)",title:br.createElement("div",{style:{color:"#FF841A",fontSize:"14px"}},br.createElement("i",{className:"iconfont icon-tishi11 mr5 font14"}),"\u8BF7\u5148\u4FDD\u5B58\u6216\u53D6\u6D88\u5F53\u524D\u6B63\u5728\u7F16\u8F91\u7684\u8BD5\u9898\u3002")},br.createElement(We.ZP,{className:"ml20",type:"primary",onClick:()=>{kt.submit()}},"\u4FDD\u5B58"))),br.createElement("div",{style:{maxHeight:"calc(100vh - 148px)",overflowY:"auto",marginTop:"10px",paddingRight:"5px"}},br.createElement(oa.Z,{text:"\uFF08\u5C0F\u9898\u5206\u503C\u7B49\u4E8E\u5404\u586B\u7A7A\u9879\u5206\u503C\u4E4B\u548C\uFF09"}),br.createElement(yo.t,{form:kt,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u7A0B\u5E8F\u586B\u7A7A\u9898\u9898\u5E72\u5185\u5BB9",scoreByBlank:xn,hackidentifier:de==null?void 0:de.hack_identifier,answerKey:"standard_answers"}),br.createElement(pt,{getTagData:Kn,qitem:de,exerciseitem:ye,TagDiscipline:Se,form:kt}))))},Ir=oe(59301),Ui=Object.defineProperty,Qi=Object.defineProperties,_l=Object.getOwnPropertyDescriptors,Ki=Object.getOwnPropertySymbols,Zl=Object.prototype.hasOwnProperty,co=Object.prototype.propertyIsEnumerable,Ji=(de,Se,ye)=>Se in de?Ui(de,Se,{enumerable:!0,configurable:!0,writable:!0,value:ye}):de[Se]=ye,So=(de,Se)=>{for(var ye in Se||(Se={}))Zl.call(Se,ye)&&Ji(de,ye,Se[ye]);if(Ki)for(var ye of Ki(Se))co.call(Se,ye)&&Ji(de,ye,Se[ye]);return de},eo=(de,Se)=>Qi(de,_l(Se)),Fi=(de,Se,ye)=>new Promise((ct,pn)=>{var Vn=Ct=>{try{mn(ye.next(Ct))}catch(kt){pn(kt)}},Kn=Ct=>{try{mn(ye.throw(Ct))}catch(kt){pn(kt)}},mn=Ct=>Ct.done?ct(Ct.value):Promise.resolve(Ct.value).then(Vn,Kn);mn((ye=ye.apply(de,Se)).next())}),jl=({qitem:de,setqitem:Se,setisedit:ye,TagDiscipline:ct,exerciseitem:pn,seveeditor:Vn,deleteitem:Kn,showTip:mn=!1})=>{var Ct;const[kt]=Be.default.useForm();return(0,x.useEffect)(()=>{var xn,Dt;kt.setFieldsValue(eo(So({},de),{name:de==null?void 0:de.question_title,choices:(xn=de==null?void 0:de.question_choices)==null?void 0:xn.map(en=>eo(So({},en),{standard_boolean:en!=null&&en.standard_boolean?1:0})),repeat_answer:!(de!=null&&de.repeat_answer)})),de.shixun=(Dt=de==null?void 0:de.shixun)==null?void 0:Dt.map(en=>eo(So({},en),{defaultscore:en.challenge_score}))},[]),Ir.createElement("div",null,Ir.createElement(Be.default,{form:kt,colon:!1,onFinish:xn=>{var Dt,en;let Hn=eo(So({},xn),{question_scores:(Dt=de==null?void 0:de.shixun)==null?void 0:Dt.map(ta=>ta.challenge_score),item_type:de==null?void 0:de.question_type,choices:(en=xn==null?void 0:xn.choices)==null?void 0:en.map(ta=>eo(So({},ta),{is_answer:ta.standard_boolean}))});Vn(So(So({},de),Hn))},onFinishFailed:xn=>Fi(void 0,null,function*(){var Dt,en;Ae.ZP.error(xn.errorFields[0].errors[0]),kt.scrollToField((en=(Dt=xn==null?void 0:xn.errorFields)==null?void 0:Dt[0])==null?void 0:en.name,{behavior:"smooth",block:"center"})})},Ir.createElement("div",{style:{display:"flex",alignItems:"center"}},Ir.createElement("div",{style:{flex:1}},Ir.createElement("span",{style:{display:"inline-flex",border:"1px solid #9096A3",borderRadius:"50%",width:10,height:10,marginRight:5,background:"#9096A3"}}),Ir.createElement("span",null,"\u5B9E\u8BAD\u9898")),Ir.createElement("span",{style:{marginLeft:20,marginRight:20,color:"red",cursor:"pointer"},onClick:()=>{Kn()}},Ir.createElement("i",{className:"iconfont icon-piliangshanchu3",style:{fontSize:14,marginRight:6}}),"\u5220\u9664"),Ir.createElement(We.ZP,{onClick:()=>{var xn,Dt;kt.setFieldsValue(eo(So({},de),{name:de==null?void 0:de.question_title,choices:(xn=de==null?void 0:de.question_choices)==null?void 0:xn.map(en=>eo(So({},en),{standard_boolean:en!=null&&en.standard_boolean?1:0})),repeat_answer:!(de!=null&&de.repeat_answer)})),de.shixun=(Dt=de==null?void 0:de.shixun)==null?void 0:Dt.map(en=>eo(So({},en),{challenge_score:en.defaultscore})),Se(So({},de)),ye(!1)}},"\u53D6\u6D88"),Ir.createElement(ne.Z,{overlayClassName:le.shake,open:mn,placement:"bottom",color:"rgba(244,156,14,0.19)",title:Ir.createElement("div",{style:{color:"#FF841A",fontSize:"14px"}},Ir.createElement("i",{className:"iconfont icon-tishi11 mr5 font14"}),"\u8BF7\u5148\u4FDD\u5B58\u6216\u53D6\u6D88\u5F53\u524D\u6B63\u5728\u7F16\u8F91\u7684\u8BD5\u9898\u3002")},Ir.createElement(We.ZP,{className:"ml20",type:"primary",onClick:()=>Fi(void 0,null,function*(){var xn,Dt,en;if(((Dt=(xn=de==null?void 0:de.shixun)==null?void 0:xn.map)==null?void 0:Dt.call(xn,Hn=>Hn.challenge_score).filter(Hn=>Hn).length)<((en=de==null?void 0:de.shixun)==null?void 0:en.length)){Ae.ZP.info("\u5206\u6570\u4E0D\u80FD\u4E3A\u7A7A");return}kt.submit()})},"\u4FDD\u5B58"))),Ir.createElement(oa.Z,{text:"\uFF08\u5B9E\u8BAD\u9898\u5206\u503C\u7B49\u4E8E\u5404\u5173\u5361\u5206\u503C\u4E4B\u548C\uFF09"}),Ir.createElement(Be.default.Item,{label:"\u9898\u5E72",name:"question_title",labelCol:{span:24},rules:[{required:!0}]},Ir.createElement(De.Z,{watch:!0,height:140,placeholder:"",defaultValue:de.question_title}))),Ir.createElement(Ke.Z,{style:{marginBottom:15},align:"middle",justify:"space-between"},Ir.createElement("div",null,Ir.createElement("span",{style:{color:"red"}},"*"),"\u5173\u5361\u540D\u79F0"),Ir.createElement("a",{href:`/shixuns/${de==null?void 0:de.shixun_identifier}/challenges?exercise=true`,target:"_blank"},Ir.createElement("i",{onClick:()=>{},className:"iconfont icon-shixunkecheng font14 mr5"}),"\u5B9E\u8BAD\u8BE6\u60C5")),(Ct=de==null?void 0:de.shixun)==null?void 0:Ct.map((xn,Dt)=>Ir.createElement("div",{key:xn.challenge_id,style:{display:"flex",marginBottom:20}},Ir.createElement("div",{style:{flex:1}},Dt+1,"\u3001",xn.challenge_name),Ir.createElement("div",null,Ir.createElement("span",{style:{color:"red"}},"*"),"\u5206\u503C",Ir.createElement(Te.Z,{precision:1,value:xn==null?void 0:xn.challenge_score,onChange:en=>{const Hn=JSON.parse(JSON.stringify((de==null?void 0:de.shixun)||[]));Hn[Dt].challenge_score=en;const ta=Hn.every(da=>!da.challenge_score),yn=parseFloat(Hn==null?void 0:Hn.map(da=>da.challenge_score).reduce((da,an)=>parseFloat(da||0)+parseFloat(an||0)));kt.setFieldsValue({question_score:ta?"":yn.toFixed(1)}),Se(eo(So({},de),{shixun:Hn}))},max:200,min:1,style:{marginLeft:10,width:150},placeholder:"\u8BF7\u8F93\u5165\u5206\u503C",size:"middle"})))))},Un={flex_box_center:"flex_box_center___ljmk3",flex_space_between:"flex_space_between___Fy45C",flex_box_vertical_center:"flex_box_vertical_center___SoC1C",flex_box_center_end:"flex_box_center_end___MumBX",flex_box_column:"flex_box_column___cutpt",warp:"warp___w1JUC",indexTag:"indexTag___LPncW",normalWrap:"normalWrap___pEIzs",redio:"redio___I6tXM",redioitem:"redioitem___cS4Gp",redioitemyes:"redioitemyes___JBDmk",title:"title___XAohQ",titleyes:"titleyes____bNQk",yestag:"yestag___zQnb1",checkbox:"checkbox___MHadU",checkboxitem:"checkboxitem___KX7mB",checkboxitemyes:"checkboxitemyes___MpOWf",bottom:"bottom___FkHfO",bottomitem:"bottomitem___AS0Qp",left:"left___U23z1",right:"right___yJVEk",completion:"completion___Bu5G6",content:"content___LySPW",items:"items___ETMq9",simple:"simple___XX5t0",shixunWrapper:"shixunWrapper___w6oIG",shixun:"shixun___ePWKn",score:"score___nGh9k",qtitle:"qtitle___DAMW1",program:"program___Mm1qL",combination:"combination___Sw7S6",qtype:"qtype___Xdl60",divname:"divname___AZYhO"},Yi=oe(1710),zl=oe(19105),Bn=oe(59301);const ci=["A\uFF0E","B\uFF0E","C\uFF0E","D\uFF0E","E\uFF0E","F\uFF0E","G\uFF0E","H\uFF0E","I\uFF0E","J\uFF0E","K\uFF0E","L\uFF0E","M\uFF0E","N\uFF0E","O\uFF0E","P\uFF0E","Q\uFF0E","R\uFF0E","S\uFF0E","T\uFF0E","U\uFF0E","V\uFF0E","W\uFF0E","X\uFF0E","Y\uFF0E","Z\uFF0E"],Hl=[{type:0,name:"\u5355\u9009\u9898"},{type:1,name:"\u591A\u9009\u9898"},{type:2,name:"\u5224\u65AD\u9898"},{type:3,name:"\u586B\u7A7A\u9898"},{type:4,name:"\u7B80\u7B54\u9898"},{type:5,name:"\u5B9E\u8BAD\u9898"},{type:6,name:"\u7F16\u7A0B\u9898"},{type:7,name:"\u7EC4\u5408\u9898"},{type:8,name:"\u7A0B\u5E8F\u586B\u7A7A\u9898"}];var Vl=({qitem:de,newExercisePaper:Se})=>{var ye,ct,pn,Vn,Kn,mn,Ct,kt,xn,Dt,en,Hn,ta,yn,da,an,Oa,mr,rn,Zt,Xa,cr,ur,fr,qa;return Bn.createElement("div",{className:Un.warp},((de==null?void 0:de.question_type)===0||(de==null?void 0:de.question_type)===2)&&Bn.createElement("div",{className:Un.normalWrap},(ye=de==null?void 0:de.question_choices)==null?void 0:ye.map((An,sr)=>Bn.createElement("div",{className:Un.redio,key:sr},!(An!=null&&An.standard_boolean)&&Bn.createElement("span",{className:Un.redioitem}),(An==null?void 0:An.standard_boolean)&&Bn.createElement("i",{className:`${Un.redioitemyes} icon-duigou1`}),Bn.createElement("span",{className:`${An!=null&&An.standard_boolean?Un.titleyes:Un.title} ${Un.indexTag}`},(de==null?void 0:de.question_type)===0?ci[sr]:""),Bn.createElement(vt.Z,{className:An!=null&&An.standard_boolean?Un.titleyes:Un.title,value:An==null?void 0:An.choice_text}),(An==null?void 0:An.standard_boolean)&&Bn.createElement("div",{className:Un.yestag},"\u6B63\u786E\u7B54\u6848")))),(de==null?void 0:de.question_type)===1&&Bn.createElement("div",{className:Un.normalWrap},(ct=de==null?void 0:de.question_choices)==null?void 0:ct.map((An,sr)=>Bn.createElement("div",{className:Un.checkbox,key:sr},!(An!=null&&An.standard_boolean)&&Bn.createElement("span",{className:Un.checkboxitem}),(An==null?void 0:An.standard_boolean)&&Bn.createElement("i",{className:`${Un.checkboxitemyes} icon-duigou1`}),Bn.createElement("span",{className:`${An!=null&&An.standard_boolean?Un.titleyes:Un.title} ${Un.indexTag}`},ci[sr]),Bn.createElement(vt.Z,{className:An!=null&&An.standard_boolean?Un.titleyes:Un.title,value:An==null?void 0:An.choice_text}),(An==null?void 0:An.standard_boolean)&&Bn.createElement("div",{className:Un.yestag},"\u6B63\u786E\u7B54\u6848")))),(de==null?void 0:de.question_type)===3&&Bn.createElement("div",{className:Un.completion},(pn=de==null?void 0:de.standard_answers)==null?void 0:pn.map((An,sr)=>{var xr;return Bn.createElement(Ke.Z,{align:"top"},Bn.createElement("span",{className:Un.title},"\u586B\u7A7A\u9879",sr+1),Bn.createElement("div",{className:Un.content},(xr=An.answer_text)==null?void 0:xr.map((wr,Er)=>Bn.createElement("div",{key:Er,className:Un.items,style:(An==null?void 0:An.model)===2?{border:0,padding:0}:{}},(An==null?void 0:An.model)===1?Bn.createElement("pre",{className:"mb0"},wr):Bn.createElement(zl.Z,{value:wr,disabled:!0})))))})),(de==null?void 0:de.question_type)===4&&Bn.createElement("div",{className:Un.simple},Bn.createElement("div",{className:Un.title},"\u53C2\u8003\u7B54\u6848"),Bn.createElement("div",{className:"mt10",style:{fontSize:"16px"}},(Vn=de==null?void 0:de.answer_texts)!=null&&Vn[0]?Bn.createElement(vt.Z,{className:Un.content,value:(Kn=de==null?void 0:de.answer_texts)==null?void 0:Kn[0]}):Bn.createElement("div",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~")),Bn.createElement("div",{className:"mt20 "},Bn.createElement("span",{className:Un.title,style:{color:"#3061D0"}},"\u5224\u5206\u65B9\u5F0F"),Bn.createElement("span",{style:{color:"#000",marginLeft:10,fontSize:"16px"}},de!=null&&de.use_keywords?"\u5173\u952E\u8BCD\u81EA\u52A8\u5224\u5206":"\u624B\u52A8\u5224\u5206"))),(de==null?void 0:de.question_type)===5&&Bn.createElement("div",{className:Un.shixunWrapper},(mn=de==null?void 0:de.shixun)==null?void 0:mn.map((An,sr)=>{var xr,wr;return Bn.createElement("div",null,Bn.createElement("div",{key:sr,className:`${Un.shixun} mb30`},Bn.createElement("span",{className:Un.score},"\uFF08",An==null?void 0:An.challenge_score,"\u5206\uFF09"),Bn.createElement("span",{className:Un.qtitle},(de==null?void 0:de.index)+"."+(sr+1),"\u3001",An==null?void 0:An.challenge_name)),((wr=(xr=Se==null?void 0:Se.editData)==null?void 0:xr.exercise)==null?void 0:wr.show_challenge_task_pass)&&Bn.createElement(vt.Z,{className:Un.content,value:(An==null?void 0:An.challenge_task_pass)||"\u6682\u65E0\u5173\u5361\u63CF\u8FF0"}))})),(de==null?void 0:de.question_type)===6&&Bn.createElement("div",{className:Un.program,style:{border:!((kt=(Ct=Se==null?void 0:Se.editData)==null?void 0:Ct.exercise)!=null&&kt.show_hack_sets)&&!((Dt=(xn=Se==null?void 0:Se.editData)==null?void 0:xn.exercise)!=null&&Dt.show_hack_description)&&"none"}},((Hn=(en=Se==null?void 0:Se.editData)==null?void 0:en.exercise)==null?void 0:Hn.show_hack_sets)&&Bn.createElement("div",{style:{marginBottom:10,border:"1px solid #F1F4F9"}},Bn.createElement("p",{style:{padding:"0px 10px",height:40,lineHeight:"40px",background:"#F1F4F9",color:"#3061D0"}},Bn.createElement("i",{className:"iconfont icon-ceshiyongli"})," \u6D4B\u8BD5\u7528\u4F8B\uFF1A"),Bn.createElement(Yi.default,{style:{margin:10},columns:[{title:"\u5E8F\u53F7",dataIndex:"name",key:"name",width:"10%",render:(An,sr,xr)=>xr+1},{title:"\u6D4B\u8BD5\u7528\u4F8B\u8F93\u5165",dataIndex:"input",key:"input",width:"40%",render:(An,sr,xr)=>Bn.createElement(ne.Z,{title:Bn.createElement("pre",null,An)},Bn.createElement("div",{className:Un.divname},An))},{title:"\u6D4B\u8BD5\u7528\u4F8B\u8F93\u51FA",dataIndex:"output",key:"output",width:"40%",render:(An,sr,xr)=>Bn.createElement(ne.Z,{title:Bn.createElement("pre",null,An)}," ",Bn.createElement("div",{className:Un.divname},An))},{title:"\u662F\u5426\u53EF\u89C1",dataIndex:"visibility_cn",key:"visibility_cn",width:"10%"}],pagination:!1,dataSource:(ta=de==null?void 0:de.program_attr)==null?void 0:ta.hack_sets})),((da=(yn=Se==null?void 0:Se.editData)==null?void 0:yn.exercise)==null?void 0:da.show_hack_description)&&Bn.createElement("div",null,Bn.createElement(vt.Z,{className:Un.content,value:(de==null?void 0:de.description)||"- -"}))),(de==null?void 0:de.question_type)===7&&((an=de==null?void 0:de.sub_exercise_questions)==null?void 0:an.map((An,sr)=>{var xr,wr,Er,ir,Fr,kr;return Bn.createElement("div",{key:sr},Bn.createElement("div",{className:Un.combination},Bn.createElement("span",{className:Un.score},An==null?void 0:An.question_score,"\u5206"),Bn.createElement("span",{className:Un.qtype},(xr=Hl.find(_a=>_a.type==An.question_type))==null?void 0:xr.name),Bn.createElement("span",{className:Un.qtitle},Bn.createElement(vt.Z,{value:`${sr+1}\u3001${An==null?void 0:An.question_title}`}))),(An.question_type===0||An.question_type===2)&&Bn.createElement("div",{className:Un.warp,style:{padding:"20px 58px 0 58px"}},Bn.createElement("div",null,(wr=An==null?void 0:An.question_choices)==null?void 0:wr.map((_a,gr)=>Bn.createElement("div",{className:Un.redio,key:gr},!(_a!=null&&_a.standard_boolean)&&Bn.createElement("span",{className:Un.redioitem}),(_a==null?void 0:_a.standard_boolean)&&Bn.createElement("i",{className:`${Un.redioitemyes} icon-duigou1`}),Bn.createElement("span",{className:`${_a!=null&&_a.standard_boolean?Un.titleyes:Un.title} ${Un.indexTag}`},ci[gr]),Bn.createElement(vt.Z,{className:_a!=null&&_a.standard_boolean?Un.titleyes:Un.title,value:_a==null?void 0:_a.choice_text}),(_a==null?void 0:_a.standard_boolean)&&Bn.createElement("div",{className:Un.yestag},"\u6B63\u786E\u7B54\u6848"))))),An.question_type===1&&Bn.createElement("div",{className:Un.normalWrap},(Er=An==null?void 0:An.question_choices)==null?void 0:Er.map((_a,gr)=>Bn.createElement("div",{className:Un.checkbox,key:gr},!(_a!=null&&_a.standard_boolean)&&Bn.createElement("span",{className:Un.checkboxitem}),(_a==null?void 0:_a.standard_boolean)&&Bn.createElement("i",{className:`${Un.checkboxitemyes} icon-duigou1`}),Bn.createElement("span",{className:`${_a!=null&&_a.standard_boolean?Un.titleyes:Un.title} ${Un.indexTag}`},ci[gr]),Bn.createElement(vt.Z,{className:_a!=null&&_a.standard_boolean?Un.titleyes:Un.title,value:_a==null?void 0:_a.choice_text}),(_a==null?void 0:_a.standard_boolean)&&Bn.createElement("div",{className:Un.yestag},"\u6B63\u786E\u7B54\u6848")))),An.question_type===3&&Bn.createElement("div",{className:Un.completion},(ir=An==null?void 0:An.standard_answers)==null?void 0:ir.map((_a,gr)=>{var Ar;return Bn.createElement(Ke.Z,{align:"top"},Bn.createElement("span",{className:Un.title},"\u586B\u7A7A\u9879",gr+1),Bn.createElement("div",{className:Un.content},(Ar=_a.answer_text)==null?void 0:Ar.map((Dr,Qr)=>Bn.createElement("div",{key:Qr,className:Un.items},Bn.createElement("pre",{className:"mb0"},Dr)))))})),An.question_type===4&&Bn.createElement("div",{className:Un.simple},Bn.createElement("div",{className:Un.title},"\u53C2\u8003\u7B54\u6848"),Bn.createElement("div",{className:"mt10",style:{fontSize:"16px"}},(Fr=An==null?void 0:An.answer_texts)!=null&&Fr[0]?Bn.createElement(vt.Z,{className:Un.content,value:(kr=An==null?void 0:An.answer_texts)==null?void 0:kr[0]}):Bn.createElement("div",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~")),Bn.createElement("div",{className:"mt20 "},Bn.createElement("span",{className:Un.title,style:{color:"#3061D0"}},"\u5224\u5206\u65B9\u5F0F"),Bn.createElement("span",{style:{color:"#000",marginLeft:10,fontSize:"16px"}},An!=null&&An.use_keywords?"\u5173\u952E\u8BCD\u81EA\u52A8\u5224\u5206":"\u624B\u52A8\u5224\u5206"))))})),(de==null?void 0:de.question_type)===8&&Bn.createElement("div",null,Bn.createElement(vt.Z,{disabledFill:!0,className:Un.content,showProgramFill:!0,value:Ao.Base64.decode(((Oa=de==null?void 0:de.program_attr)==null?void 0:Oa.code)||"")})),((de==null?void 0:de.question_type)<=4||[6,8].includes(de==null?void 0:de.question_type))&&Bn.createElement("div",{className:Un.bottom},Bn.createElement("div",{className:`${Un.bottomitem} mb30`},Bn.createElement("span",{className:Un.left},"\u89E3\u6790"),Bn.createElement("span",{className:Un.right},de!=null&&de.analysis?Bn.createElement(vt.Z,{value:de==null?void 0:de.analysis}):Bn.createElement("span",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~"))),Bn.createElement("div",{className:`${Un.bottomitem} mb30`},Bn.createElement("span",{className:Un.left},"\u96BE\u5EA6"),Bn.createElement("span",{className:Un.right},(de==null?void 0:de.difficulty)===1?"\u7B80\u5355":(de==null?void 0:de.difficulty)===2?"\u9002\u4E2D":"\u56F0\u96BE")),Bn.createElement("div",{className:Un.bottomitem},Bn.createElement("span",{className:Un.left},"\u77E5\u8BC6\u70B9"),Bn.createElement(ne.Z,{title:((mr=de==null?void 0:de.tag_discipline_names)==null?void 0:mr.length)<=0||((rn=de==null?void 0:de.tag_discipline_names)==null?void 0:rn.length)==1&&["-"].includes(de==null?void 0:de.tag_discipline_names[0])?"\u6682\u672A\u8BBE\u7F6E~":(Xa=(Zt=de==null?void 0:de.tag_discipline_names)==null?void 0:Zt.join("\uFF1B"))==null?void 0:Xa.toString()},Bn.createElement("span",{className:Un.right},((cr=de==null?void 0:de.tag_discipline_names)==null?void 0:cr.length)<=0?Bn.createElement("span",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~"):((ur=de==null?void 0:de.tag_discipline_names)==null?void 0:ur.length)==1&&["-"].includes(de==null?void 0:de.tag_discipline_names[0])?Bn.createElement("span",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~"):(qa=(fr=de==null?void 0:de.tag_discipline_names)==null?void 0:fr.join("\uFF1B"))==null?void 0:qa.toString())))))},Xi=oe(4881),Bi=oe(44272),Ur=oe(59301),Wl=Object.defineProperty,ni=Object.defineProperties,Ul=Object.getOwnPropertyDescriptors,Ai=Object.getOwnPropertySymbols,qi=Object.prototype.hasOwnProperty,$i=Object.prototype.propertyIsEnumerable,el=(de,Se,ye)=>Se in de?Wl(de,Se,{enumerable:!0,configurable:!0,writable:!0,value:ye}):de[Se]=ye,ai=(de,Se)=>{for(var ye in Se||(Se={}))qi.call(Se,ye)&&el(de,ye,Se[ye]);if(Ai)for(var ye of Ai(Se))$i.call(Se,ye)&&el(de,ye,Se[ye]);return de},tl=(de,Se)=>ni(de,Ul(Se)),ri=(de,Se,ye)=>new Promise((ct,pn)=>{var Vn=Ct=>{try{mn(ye.next(Ct))}catch(kt){pn(kt)}},Kn=Ct=>{try{mn(ye.throw(Ct))}catch(kt){pn(kt)}},mn=Ct=>Ct.done?ct(Ct.value):Promise.resolve(Ct.value).then(Vn,Kn);mn((ye=ye.apply(de,Se)).next())}),Ql=({qitem:de,setisedit:Se,TagDiscipline:ye,exerciseitem:ct,seveeditor:pn,deleteitem:Vn,getTagData:Kn,init:mn,showTip:Ct=!1})=>{const[kt]=Be.default.useForm();return(0,x.useEffect)(()=>{kt.setFieldsValue(tl(ai({},de),{name:de.question_title,answer_texts:de.answer_texts,repeat_answer:!de.repeat_answer}))},[de]),Ur.createElement("div",null,Ur.createElement(Be.default,{form:kt,colon:!1,onFinish:xn=>{pn(ai(ai({},de),xn))},onFinishFailed:xn=>ri(void 0,null,function*(){var Dt,en;Ae.ZP.error(xn.errorFields[0].errors[0]),kt.scrollToField((en=(Dt=xn==null?void 0:xn.errorFields)==null?void 0:Dt[0])==null?void 0:en.name,{behavior:"smooth",block:"center"})})},Ur.createElement("div",{style:{display:"flex",alignItems:"center"}},Ur.createElement("div",{style:{flex:1}},Ur.createElement("span",{style:{display:"inline-flex",border:"1px solid #9096A3",borderRadius:"50%",width:10,height:10,marginRight:5,background:"#9096A3"}}),Ur.createElement("span",null,"\u7B80\u7B54\u9898")),!(de!=null&&de.isadd)&&Ur.createElement("span",{style:{marginLeft:20,marginRight:20,color:"red",cursor:"pointer"},onClick:()=>{Vn()}},Ur.createElement("i",{className:"iconfont icon-piliangshanchu3",style:{fontSize:14,marginRight:6}}),"\u5220\u9664"),Ur.createElement(We.ZP,{onClick:()=>{de.isadd?(Se(!1),mn()):(kt.setFieldsValue(tl(ai({},de),{name:de==null?void 0:de.question_title,answer_texts:de.answer_texts||[],repeat_answer:!(de!=null&&de.repeat_answer)})),Se(!1))}},"\u53D6\u6D88"),Ur.createElement(ne.Z,{overlayClassName:le.shake,open:Ct,placement:"bottom",color:"rgba(244,156,14,0.19)",title:Ur.createElement("div",{style:{color:"#FF841A",fontSize:"14px"}},Ur.createElement("i",{className:"iconfont icon-tishi11 mr5 font14"}),"\u8BF7\u5148\u4FDD\u5B58\u6216\u53D6\u6D88\u5F53\u524D\u6B63\u5728\u7F16\u8F91\u7684\u8BD5\u9898\u3002")},Ur.createElement(We.ZP,{type:"primary",className:"ml20",onClick:()=>{kt.submit()}},"\u4FDD\u5B58"))),Ur.createElement("div",{style:{maxHeight:"calc(100vh - 148px)",overflowY:"auto",marginTop:"10px",paddingRight:"5px"}},Ur.createElement(Be.default.Item,{className:le.scoreinput,name:"question_score",label:"\u5206\u503C",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5206\u503C"}]},Ur.createElement(Te.Z,{onBlur:xn=>{xn.target.value==="0"&&Ae.ZP.error("\u5206\u503C\u5FC5\u987B\u5927\u4E8E0\u4E14\u5C0F\u4E8E\u7B49\u4E8E100")},style:{width:150},precision:1,placeholder:"\u8BF7\u8F93\u5165\u5206\u503C",max:100,min:.1})),Ur.createElement(Bi.W,{form:kt,showKeywords:!0,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u7B80\u7B54\u9898\u9898\u5E72\u5185\u5BB9"}),Ur.createElement(pt,{getTagData:Kn,qitem:de,exerciseitem:ct,TagDiscipline:ye,form:kt}))))},Zr=oe(59301),Kl=(de,Se,ye)=>new Promise((ct,pn)=>{var Vn=Ct=>{try{mn(ye.next(Ct))}catch(kt){pn(kt)}},Kn=Ct=>{try{mn(ye.throw(Ct))}catch(kt){pn(kt)}},mn=Ct=>Ct.done?ct(Ct.value):Promise.resolve(Ct.value).then(Vn,Kn);mn((ye=ye.apply(de,Se)).next())}),Ci=({setScoreShow:de,ScoreShow:Se,exerciseitem:ye,getdata:ct})=>{var pn,Vn,Kn;const[mn,Ct]=(0,x.useState)(!1);function kt(){return Kl(this,null,function*(){var xn,Dt,en;let Hn=(Dt=(xn=ye==null?void 0:ye.exercise_question_types)==null?void 0:xn.filter(yn=>yn.Singlequestion))==null?void 0:Dt.map(yn=>({question_type:yn.question_type,score:yn.Singlequestion})),ta=yield(0,fe.ZP)(`/api/examination_banks/${(en=ye==null?void 0:ye.exercise)==null?void 0:en.id}/batch_set_score.json`,{method:"POST",body:{question_arr:Hn}});(ta==null?void 0:ta.status)===0&&ct()})}return Zr.createElement("div",null,Se&&Zr.createElement(b.default,{title:"\u6279\u91CF\u8BBE\u7F6E\u5206\u503C",open:Se,width:640,centered:!0,zIndex:10,className:le.scoremodal,onCancel:()=>{de(!1)},onOk:()=>{var xn,Dt,en;if(ye!=null&&ye.use_blank_score&&((en=(Dt=(xn=ye==null?void 0:ye.exercise_question_types)==null?void 0:xn.filter(Hn=>Hn.name==="\u586B\u7A7A\u9898"))==null?void 0:Dt[0])!=null&&en.Singlequestion)){Ct(!0);return}kt(),de(!1)}},Zr.createElement("div",{className:"c-black"},"\u603B\u5206",Zr.createElement("span",{className:"ml10 c-light-primary"},(ye==null?void 0:ye.exercise_question_types.length)>0&&((pn=ye==null?void 0:ye.exercise_types)==null?void 0:pn.q_scores))),Zr.createElement("div",{className:le.content},Zr.createElement("span",null,"\u9898\u578B\u540D\u79F0"),Zr.createElement("span",null,"\u5C0F\u9898\u603B\u6570"),Zr.createElement("span",null,"\u9898\u578B\u603B\u5206"),Zr.createElement("span",null,"\u64CD\u4F5C")),(Kn=(Vn=ye==null?void 0:ye.exercise_question_types)==null?void 0:Vn.filter(xn=>xn.name!=="\u5B9E\u8BAD\u9898"&&xn.name!=="\u7EC4\u5408\u9898"))==null?void 0:Kn.map((xn,Dt)=>{var en;return Zr.createElement("div",{key:Dt,className:le.items},Zr.createElement("span",null,xn==null?void 0:xn.name),Zr.createElement("span",null,(en=xn==null?void 0:xn.items)==null?void 0:en.length),Zr.createElement("span",null,xn==null?void 0:xn.score),Zr.createElement("span",null,"\u6BCF\u9898",Zr.createElement(Te.Z,{min:.1,precision:1,max:100,onChange:Hn=>{xn.Singlequestion=Hn},defaultValue:xn.Singlequestion,style:{width:90,height:38,margin:"0px 10px",display:"flex",alignItems:"center"}}),"\u5206"))})),Zr.createElement(b.default,{title:!1,footer:!1,centered:!0,open:mn,zIndex:20,width:640,closable:!1,className:le.scoremodal},Zr.createElement("div",{style:{marginTop:40}},"\u586B\u7A7A\u9898\u4E2D\u5B58\u5728",Zr.createElement("span",{style:{color:"#FA6400"}},"\u6309\u7A7A\u7ED9\u5206"),"\u7684\u5C0F\u9898\uFF0C\u82E5\u6279\u91CF\u8BBE\u7F6E\u5206\u503C\u4F1A\u7EDF\u4E00\u5C06\u586B\u7A7A\u9898\u6539\u4E3A\u6309\u9898\u7ED9\u5206"),Zr.createElement("div",{className:le.bottom},Zr.createElement(We.ZP,{className:le.no,onClick:()=>{Ct(!1)}},"\u53D6\u6D88"),Zr.createElement(We.ZP,{className:le.yes,onClick:()=>{kt(),Ct(!1),de(!1)}},"\u786E\u8BA4"))))},xi=oe(47251),wi=oe(78874),nl=oe(89392),Jl=oe(36714),al=oe(71528),Yl=oe(94361),Nn=oe(59301),Xl=Object.defineProperty,ql=Object.defineProperties,$l=Object.getOwnPropertyDescriptors,rl=Object.getOwnPropertySymbols,eu=Object.prototype.hasOwnProperty,ol=Object.prototype.propertyIsEnumerable,il=(de,Se,ye)=>Se in de?Xl(de,Se,{enumerable:!0,configurable:!0,writable:!0,value:ye}):de[Se]=ye,io=(de,Se)=>{for(var ye in Se||(Se={}))eu.call(Se,ye)&&il(de,ye,Se[ye]);if(rl)for(var ye of rl(Se))ol.call(Se,ye)&&il(de,ye,Se[ye]);return de},Do=(de,Se)=>ql(de,$l(Se)),Gr=(de,Se,ye)=>new Promise((ct,pn)=>{var Vn=Ct=>{try{mn(ye.next(Ct))}catch(kt){pn(kt)}},Kn=Ct=>{try{mn(ye.throw(Ct))}catch(kt){pn(kt)}},mn=Ct=>Ct.done?ct(Ct.value):Promise.resolve(Ct.value).then(Vn,Kn);mn((ye=ye.apply(de,Se)).next())});const Ko=[{name:"\u5355\u9009\u9898",id:0,count:"q_singles",score:"q_singles_scores",nameType:"SINGLE"},{name:"\u591A\u9009\u9898",id:1,count:"q_doubles",score:"q_doubles_scores",nameType:"MULTIPLE"},{name:"\u5224\u65AD\u9898",id:2,count:"q_judges",score:"q_judges_scores",nameType:"JUDGMENT"},{name:"\u586B\u7A7A\u9898",id:3,count:"q_nulls",score:"q_nulls_scores",nameType:"COMPLETION"},{name:"\u7B80\u7B54\u9898",id:4,count:"q_mains",score:"q_mains_scores",nameType:"SUBJECTIVE"},{name:"\u5B9E\u8BAD\u9898",id:5,count:"q_shixuns",score:"q_shixuns_scores",nameType:"PRACTICAL"},{name:"\u7F16\u7A0B\u9898",id:6,count:"q_pros",score:"q_pros_scores",nameType:"PROGRAM"},{name:"\u7EC4\u5408\u9898",id:7,count:"q_combinations",score:"q_combinations_scores",nameType:"COMBINATION"},{name:"\u7A0B\u5E8F\u586B\u7A7A\u9898",id:8,count:"q_combinations",score:"q_combinations_scores",nameType:"BPROGRAM"}],tu=({user:de,dispatch:Se,itemid:ye,newExercisePaper:ct,setisedits:pn})=>{var Vn,Kn,mn,Ct,kt,xn,Dt,en,Hn,ta,yn,da;const[an,Oa]=(0,x.useState)(),[mr,rn]=(0,x.useState)(!1),[Zt,Xa]=(0,x.useState)(),[cr,ur]=(0,x.useState)(),fr=(0,x.useRef)(),qa=(0,x.useRef)(),[An,sr]=(0,x.useState)(),[xr,wr]=(0,x.useState)(!1),[Er,ir]=(0,x.useState)(!1),[Fr,kr]=(0,x.useState)(),[_a,gr]=(0,x.useState)(!1),[Ar,Dr]=(0,x.useState)(!1),[Qr,to]=(0,x.useState)(!1),[no,mo]=(0,x.useState)(!1),[Lo,oi]=(0,x.useState)(!1),[fi,xo]=(0,x.useState)(!1),[Nu,ru]=(0,x.useState)(!1),[Ri,cl]=(0,x.useState)(!1),[Yo]=Be.default.useForm(),[gl,vi]=(0,x.useState)(!1),ml=(0,x.useRef)(null),[Hr]=(0,he.useSearchParams)(),[pi,hi]=(0,x.useState)(!1),ki=Hr.get("isIntelligentAssistant"),[Io,ii]=(0,x.useState)(!1);(0,x.useEffect)(()=>{Kr(),Se({type:"globalSetting/footerToggle",payload:!1})},[]),(0,x.useEffect)(()=>{pn(Er)},[Er]),(0,x.useEffect)(()=>{Zt!=null&&Zt.question_id&&(ur(Zt==null?void 0:Zt.question_score),qa.current=Zt==null?void 0:Zt.question_id)},[Zt]);const No=Cn=>Gr(void 0,null,function*(){let ca=yield Se({type:"newExercisePaper/getTagDiscipline",payload:{sub_discipline_id:Cn}});kr(ca)});function Kr(){return Gr(this,null,function*(){var Cn,ca,Ha,Ma,tr,Sr;wr(!0),rn(!0);const Vr=yield Se({type:"newExercisePaper/editExercise",payload:{id:ye}});wr(!1),rn(!1),Oa(Vr),(Cn=Vr==null?void 0:Vr.exercise)!=null&&Cn.sub_discipline_id&&No((ca=Vr==null?void 0:Vr.exercise)==null?void 0:ca.sub_discipline_id),Xa(Do(io({},(tr=(Ma=(Ha=Vr==null?void 0:Vr.exercise_question_types)==null?void 0:Ha[0])==null?void 0:Ma.items)==null?void 0:tr[0]),{index:1})),sr(Do(io({},(Sr=Vr==null?void 0:Vr.exercise_question_types)==null?void 0:Sr[0]),{indexs:1}))})}function Vo(Cn,ca=!0){return Gr(this,null,function*(){var Ha,Ma,tr,Sr;ca&&(wr(!0),rn(!0));const Vr=yield Se({type:"newExercisePaper/editExercise",payload:{id:ye}});Oa(Vr);let vo=[];(Ha=Vr==null?void 0:Vr.exercise_question_types)==null||Ha.map(po=>{var Uo;(Uo=po==null?void 0:po.items)==null||Uo.map((qo,To)=>{vo.push(Do(io({},qo),{index:To+1}))})});let Po=(Ma=vo.filter(po=>po.question_id===(Cn==null?void 0:Cn.id)))==null?void 0:Ma[0],Pi=(Sr=((tr=Vr==null?void 0:Vr.exercise_question_types)==null?void 0:tr.map((po,Uo)=>{if((Po==null?void 0:Po.question_type)===(po==null?void 0:po.question_type))return Do(io({},po),{indexs:Uo+1})})).filter(po=>po))==null?void 0:Sr[0];sr(io({},Pi)),Xa(io({},Po)),ur(Po==null?void 0:Po.question_score),wr(!1),rn(!1)})}function Oo(Cn){return Gr(this,null,function*(){var ca;let Ha=Do(io({},Cn),{difficulty:(Cn==null?void 0:Cn.difficulty)||2,item_type:Cn.question_type,sub_discipline_id:((ca=Cn==null?void 0:Cn.sub_discipline_id)==null?void 0:ca[1])||"",tag_discipline_ids:[],repeat_answer:!Cn.repeat_answer}),Ma={};Cn.question_type===8&&(Ma=Do(io({},Cn),{hack:Do(io({},Cn==null?void 0:Cn.hack),{difficult:Cn.difficulty}),hack_codes:Do(io({},Cn.hack_codes),{code:Ao.Base64.encode(Cn.hack_codes.code)}),hack_sets:[io({},Cn.hack_sets)],is_blank:!0})),Cn.tag_discipline_ids&&(Ha.tag_discipline_ids=Array.isArray(Cn.tag_discipline_ids)?Cn.tag_discipline_ids:[Cn.tag_discipline_ids],Ma.tag_discipline_ids=Array.isArray(Cn.tag_discipline_ids)?Cn.tag_discipline_ids:[Cn.tag_discipline_ids]),sessionStorage.projectFill&&(Ma.hack_identifier=sessionStorage.projectFill);let tr=yield(0,fe.ZP)(`/api/examination_banks/${ye}/examination_banks_item_banks/create_item_bank.json`,{method:"post",body:Cn.question_type===8?Ma:Ha});(tr==null?void 0:tr.status)===0&&(ir(!1),Vo(tr)),(0,ge.Vf)("#question-scroll-id")})}function Ou(Cn){return Gr(this,null,function*(){rn(!0);let ca=yield(0,fe.ZP)(`/api/examination_banks/${ye}/sort_question_type.json`,{method:"post",body:{question_type:Cn}});rn(!1),(ca==null?void 0:ca.status)===0&&Kr()})}const ou=(Cn,ca,Ha)=>Gr(void 0,null,function*(){var Ma;if(Cn.length===0){Ae.ZP.warning("\u8BF7\u4E0A\u4F20\u6587\u4EF6"),Ha();return}const tr=yield(0,ie.Hb)(ye,(Ma=Cn[0])==null?void 0:Ma.file,ca);tr.status===0&&(Ae.ZP.success(`\u6210\u529F\u5BFC\u5165${tr==null?void 0:tr.success}\u6761`),gr(!1),Kr()),Ha()}),iu=(Cn,ca)=>Gr(void 0,null,function*(){const Ha=yield(0,ie.kF)({score:(0,nl.round)(Cn,1),question_id:ca==null?void 0:ca.question_id});if((Ha==null?void 0:Ha.status)===0){Ae.ZP.success("\u4FEE\u6539\u6210\u529F"),Vo({id:qa.current},!1);return}(Ha==null?void 0:Ha.status)===-1&&ur(ca==null?void 0:ca.question_score)});function Mo(){return Gr(this,null,function*(){b.default.confirm({title:"\u63D0\u793A",content:"\u786E\u5B9A\u8981\u5220\u9664\u8FD9\u4E2A\u8BD5\u9898\u5417\uFF1F",okText:"\u786E\u5B9A",centered:!0,className:le.modalconfirm,onOk:()=>Gr(this,null,function*(){if(Zt.question_id){let Cn=yield(0,fe.ZP)(`/api/examination_banks/${ye}/examination_banks_item_banks/${Zt.question_id}.json`,{method:"delete"});(Cn==null?void 0:Cn.status)===0&&(Kr(),ir(!1))}else Xa({}),ir(!1),Kr()}),cancelText:"\u53D6\u6D88"})})}const lu=Cn=>Gr(void 0,null,function*(){return yield(0,fe.ZP)(`/api/examination_banks/${ye}/examination_banks_item_banks.json`,{method:"post",body:io({},Cn)})}),{overflow:uu,handleMouseEnter:su,handleMouseLeave:Xo}=(0,wi.I)(),Wo=Cn=>Gr(void 0,null,function*(){var ca,Ha;rn(!0);let Ma=yield(0,fe.ZP)(`/api/examination_banks/${ye}/sort_question_type.json`,{method:"post",body:{question_type:Cn}});if(rn(!1),(Ma==null?void 0:Ma.status)===0){const tr=yield Se({type:"newExercisePaper/editExercise",payload:{id:ye}});Oa(tr),(ca=tr==null?void 0:tr.exercise)!=null&&ca.sub_discipline_id&&No((Ha=tr==null?void 0:tr.exercise)==null?void 0:Ha.sub_discipline_id)}}),fo=()=>Er?(ii(!0),!0):!1;(0,x.useEffect)(()=>{if(Io){const Cn=setTimeout(()=>{ii(!1)},2e3);return()=>clearTimeout(Cn)}},[Io]);const du=(Cn,ca)=>Nn.createElement(y.default,null,Nn.createElement(y.default.Item,{key:"0",onClick:()=>Ti(Cn==null?void 0:Cn.question_type)},Nn.createElement("span",{className:le.moreSpan},"\u65B0\u589E")),Nn.createElement(y.default.Item,{key:"1",disabled:ca===0,onClick:()=>Gr(void 0,null,function*(){if(ca===0||fo())return;let Ha=(0,ge.rz)(an==null?void 0:an.exercise_question_types,ca,ca-1);yield Wo(Ha.map(Ma=>Ma.name))})},Nn.createElement("span",{className:le.moreSpan},"\u4E0A\u79FB")),Nn.createElement(y.default.Item,{key:"2",disabled:ca===(an==null?void 0:an.exercise_question_types.length)-1,onClick:()=>Gr(void 0,null,function*(){if(ca===(an==null?void 0:an.exercise_question_types.length)-1||fo())return;let Ha=(0,ge.rz)(an==null?void 0:an.exercise_question_types,ca,ca+1);yield Wo(Ha.map(Ma=>Ma.name))})},Nn.createElement("span",{className:le.moreSpan},"\u4E0B\u79FB")),Nn.createElement(y.default.Item,{key:"3",onClick:()=>{var Ha;Yo.setFieldsValue({name:Cn.name,item_type_en:(Ha=Ko.find(Ma=>Ma.id==Cn.question_type))==null?void 0:Ha.nameType}),vi(!0)}},Nn.createElement("span",{className:le.moreSpan},"\u91CD\u547D\u540D"))),Ti=Cn=>{var ca,Ha,Ma,tr,Sr,Vr,vo,Po,Si,Pi,po,Uo,qo,To,fl,vl,pl,Gi,hl,Sl,Ei,Pl,El,li,yl,bl,_i,Fl;if(!fo()){if(Cn===5){mo(!0),oi(!0);return}if(Cn===6){if(Hr.get("pageType")=="course")Hr.get("updateType")=="course"?he.history.push(`/problems/newcreate?express_id=${(ca=an==null?void 0:an.exercise)==null?void 0:ca.id}&callback_url=/paperlibrary/add/${(Ha=an==null?void 0:an.exercise)==null?void 0:Ha.id}?type=2&pageType=course&updateType=course&courseId=${Hr.get("courseId")}&stageId=${Hr.get("stageId")}`):he.history.push(`/problems/newcreate?express_id=${(Ma=an==null?void 0:an.exercise)==null?void 0:Ma.id}&callback_url=/paperlibrary/add/${(tr=an==null?void 0:an.exercise)==null?void 0:tr.id}?type=2&pageType=course&courseId=${Hr.get("courseId")}&stageId=${Hr.get("stageId")}`);else{let gu=(Vr=(Sr=ct==null?void 0:ct.editData)==null?void 0:Sr.exercise)!=null&&Vr.set_question_sub_discipline?`/problems/newcreate?express_id=${(vo=an==null?void 0:an.exercise)==null?void 0:vo.id}&callback_url=${window.location.pathname+window.location.search}&discipline_id=${(Si=(Po=ct==null?void 0:ct.editData)==null?void 0:Po.exercise)==null?void 0:Si.discipline_id}&sub_discipline_id=${(po=(Pi=ct==null?void 0:ct.editData)==null?void 0:Pi.exercise)==null?void 0:po.sub_discipline_id}`:`/problems/newcreate?express_id=${(Uo=an==null?void 0:an.exercise)==null?void 0:Uo.id}&callback_url=${window.location.pathname+window.location.search}`;he.history.push(gu)}return}ir(!0),Xa(Cn===2?{question_type:Cn,isadd:!0,repeat_answer:!0,choices:[{choice_text:"\u6B63\u786E",is_answer:0},{choice_text:"\u9519\u8BEF",is_answer:0}],question_choices:[{choice_text:"\u6B63\u786E",is_answer:0},{choice_text:"\u9519\u8BEF",is_answer:0}],difficulty:2,standard_answers:[],question_score:"",tag_discipline_ids:[],question_title:"",discipline_id:(To=(qo=ct==null?void 0:ct.editData)==null?void 0:qo.exercise)!=null&&To.set_question_sub_discipline?(vl=(fl=ct==null?void 0:ct.editData)==null?void 0:fl.exercise)==null?void 0:vl.discipline_id:0,sub_discipline_id:(Gi=(pl=ct==null?void 0:ct.editData)==null?void 0:pl.exercise)!=null&&Gi.set_question_sub_discipline?(Sl=(hl=ct==null?void 0:ct.editData)==null?void 0:hl.exercise)==null?void 0:Sl.sub_discipline_id:0,analysis:""}:{question_type:Cn,question_choices:Array.from({length:4},()=>({choice_text:"",is_answer:0})),standard_answers:[],repeat_answer:!0,difficulty:2,isadd:!0,tag_discipline_ids:[],question_score:"",analysis:"",sub_item_banks:[],question_title:"",is_ordered:!0,use_keywords:!1,use_blank_score:!0,keywords:[],allow_student_debug:!1,submit_rule:1,downcase:!0,no_space:!0,discipline_id:(Pl=(Ei=ct==null?void 0:ct.editData)==null?void 0:Ei.exercise)!=null&&Pl.set_question_sub_discipline?(li=(El=ct==null?void 0:ct.editData)==null?void 0:El.exercise)==null?void 0:li.discipline_id:0,sub_discipline_id:(bl=(yl=ct==null?void 0:ct.editData)==null?void 0:yl.exercise)!=null&&bl.set_question_sub_discipline?(Fl=(_i=ct==null?void 0:ct.editData)==null?void 0:_i.exercise)==null?void 0:Fl.sub_discipline_id:0})}},cu=[{key:1,label:"\u6279\u91CF\u5BFC\u5165",onClick:()=>{fo()||gr(!0)}},{key:2,label:Nn.createElement("div",null,Nn.createElement("img",{width:26,style:{position:"absolute",top:-2},src:al.$}),Nn.createElement("span",null,"\u667A\u80FD\u5BFC\u5165")),onClick:()=>{fo()||Dr(!0)}}];return Nn.createElement("div",null,Nn.createElement(Ze.Z,{spinning:xr},Nn.createElement("div",{className:le.bg},Nn.createElement("div",{style:{textAlign:"center"}},((Vn=an==null?void 0:an.exercise_types)==null?void 0:Vn.q_counts)===0&&!Er&&Nn.createElement(Pe.Z,{styles:{marginTop:180},customText:Nn.createElement("span",null,"\u8FD8\u6CA1\u6709\u8BD5\u9898\uFF0C\u8BF7\u4ECE",Nn.createElement("span",{className:"c-light-primary"},"\u5E95\u90E8\u64CD\u4F5C\u680F"),"\u8FDB\u884C\u6DFB\u52A0~")}),(((Kn=an==null?void 0:an.exercise_types)==null?void 0:Kn.q_counts)>0||Er)&&Nn.createElement("div",{style:{marginTop:20,borderTop:"1px solid #DCDCDC",display:"block",alignItems:"stretch"}},Nn.createElement("div",{style:{backgroundColor:"#F6F7F9",display:"inline-block",position:"sticky",top:0}},Nn.createElement("div",{className:le.left},Nn.createElement("div",{className:le.leftAction},Nn.createElement(We.ZP,{onClick:()=>{fo()||to(!0)},className:le.Button},"\u6279\u91CF\u8BBE\u7F6E\u5206\u503C")),Nn.createElement("div",{className:le.scrollWrapper,style:{overflow:uu},onMouseEnter:su,onMouseLeave:Xo},(mn=an==null?void 0:an.exercise_question_types)==null?void 0:mn.map((Cn,ca)=>Nn.createElement("div",{key:ca,className:"mb30"},Nn.createElement("div",{className:le.title},Nn.createElement("div",{className:le.titleleft},Nn.createElement("span",{style:{color:"#000000",fontWeight:400,fontSize:12}}," ",(0,ge.EM)(ca+1),"\u3001\u3010",Cn.name,"\u3011"),Nn.createElement("span",{style:{color:"#464F66",fontSize:12}},"\uFF08",Cn.count,"\u5C0F\u9898\uFF0C\u5171",Cn.score,"\u5206\uFF09")),Nn.createElement(z.Z,{dropdownRender:()=>du(Cn,ca),placement:"bottomLeft"},Nn.createElement("div",{className:le.more_style},Nn.createElement("i",{className:"iconfont icon-sandian font12"})))),Nn.createElement(ln,{handleEditing:()=>{ii(!0)},isedit:Er,setBigqitem:sr,bigitem:Do(io({},Cn),{indexs:ca+1}),setqitem:Ha=>Gr(void 0,null,function*(){var Ma;(Ma=fr.current)==null||Ma.blur(),Xa(Ha)}),qitem:Zt,Itemid:ye,getdata:Vo,data:Cn.items})))))),Nn.createElement("div",{id:"question-scroll-id",style:{overflow:Er?"hidden":"auto"},className:le.right,ref:ml},!(Zt!=null&&Zt.isadd)&&Nn.createElement("div",{className:le.title},!Er&&Nn.createElement("div",{style:{flex:1}},Nn.createElement("span",{style:{color:"#000000",fontWeight:600,fontSize:16}}," ",(An==null?void 0:An.indexs)&&(0,ge.EM)(An==null?void 0:An.indexs),"\u3001\u3010",An==null?void 0:An.name,"\u3011"),Nn.createElement(ne.Z,{title:"\u7F16\u8F91\u9898\u578B\u540D\u79F0"},Nn.createElement("i",{className:`${le.edit} iconfont icon-bianji_Hover mr5 ml5 font18`,onClick:()=>{var Cn;Yo.setFieldsValue({name:An.name,item_type_en:(Cn=Ko.find(ca=>ca.id==An.question_type))==null?void 0:Cn.nameType}),vi(!0)}})),Nn.createElement("span",{style:{color:"#464F66",fontSize:16,fontWeight:400}},"\uFF08",An==null?void 0:An.count,"\u5C0F\u9898\uFF0C\u5171",An==null?void 0:An.score,"\u5206\uFF09"),(Zt==null?void 0:Zt.question_type)===6&&Nn.createElement("span",{onClick:()=>hi(2),className:"current c-light-primary font14 bold-400"},"\u6279\u91CF\u8BBE\u7F6E\u7F16\u7A0B\u8BED\u8A00"),(Zt==null?void 0:Zt.question_type)===5&&Nn.createElement(Ge.default,{defaultChecked:(kt=(Ct=ct==null?void 0:ct.editData)==null?void 0:Ct.exercise)==null?void 0:kt.show_challenge_task_pass,onChange:Cn=>Gr(void 0,null,function*(){let ca=yield(0,fe.ZP)(`/api/examination_banks/${ye}/update_show_columns.json`,{method:"post",body:{show_challenge_task_pass:Cn.target.checked}});(ca==null?void 0:ca.status)===0&&(Ae.ZP.info("\u8BBE\u7F6E\u6210\u529F"),Vo({id:qa.current}))}),style:{marginTop:20,marginBottom:20}},"\u5C55\u793A\u5173\u5361\u63CF\u8FF0"),(Zt==null?void 0:Zt.question_type)===6&&Nn.createElement("span",{style:{marginLeft:20},onClick:()=>{var Cn,ca,Ha,Ma;b.default.confirm({title:"\u7F16\u7A0B\u9898\u8BBE\u7F6E",icon:null,centered:!0,closable:!0,footer:null,content:Nn.createElement("div",null,(Zt==null?void 0:Zt.question_type)===6&&Nn.createElement(Ge.default,{defaultChecked:(ca=(Cn=ct==null?void 0:ct.editData)==null?void 0:Cn.exercise)==null?void 0:ca.show_hack_sets,onChange:tr=>Gr(void 0,null,function*(){let Sr=yield(0,fe.ZP)(`/api/examination_banks/${ye}/update_show_columns.json`,{method:"post",body:{show_hack_sets:tr.target.checked}});(Sr==null?void 0:Sr.status)===0&&(Ae.ZP.info("\u8BBE\u7F6E\u6210\u529F"),b.default.destroyAll(),Vo({id:qa.current}))}),style:{marginTop:20,marginBottom:20}},"\u5C55\u793A\u6D4B\u8BD5\u7528\u4F8B"),Nn.createElement("br",null),(Zt==null?void 0:Zt.question_type)===6&&Nn.createElement(Ge.default,{defaultChecked:(Ma=(Ha=ct==null?void 0:ct.editData)==null?void 0:Ha.exercise)==null?void 0:Ma.show_hack_description,onChange:tr=>Gr(void 0,null,function*(){let Sr=yield(0,fe.ZP)(`/api/examination_banks/${ye}/update_show_columns.json`,{method:"post",body:{show_hack_description:tr.target.checked}});(Sr==null?void 0:Sr.status)===0&&(Ae.ZP.info("\u8BBE\u7F6E\u6210\u529F"),b.default.destroyAll(),Vo({id:qa.current}))}),style:{marginBottom:10}},"\u5C55\u793A\u8BD5\u9898\u63CF\u8FF0"))})},className:"current c-light-primary font14 bold-400"},"\u7F16\u7A0B\u9898\u663E\u793A\u8BBE\u7F6E")),Nn.createElement("div",{style:{display:"flex",alignItems:"center"}},(Zt==null?void 0:Zt.question_type)===5&&!Er&&Nn.createElement("a",{className:le.shixun,href:`/shixuns/${Zt==null?void 0:Zt.shixun_identifier}/challenges?exercise=true`,target:"_blank"},Nn.createElement("i",{onClick:()=>{},style:{marginRight:20},className:"iconfont icon-shixunkecheng mr5 "}),"\u5B9E\u8BAD\u8BE6\u60C5"),!Er&&[0,1,2,4,6].includes(Zt==null?void 0:Zt.question_type)&&Nn.createElement(Be.default.Item,{label:"\u5206\u503C",style:{margin:"0 20px"},required:!0},Nn.createElement(Te.Z,{precision:1,ref:fr,onChange:Cn=>ur(Cn),value:cr,onBlur:Cn=>{iu(Cn.target.value,Zt)}})),!Er&&Nn.createElement(ne.Z,{title:"\u5220\u9664"},Nn.createElement("i",{onClick:()=>{Mo()},style:{marginRight:20},className:`${le.delete} iconfont icon-shanchu13 mr5 `})),!Er&&Nn.createElement(ne.Z,{title:"\u7F16\u8F91\u8BD5\u9898"},Nn.createElement("i",{onClick:()=>{var Cn,ca,Ha;(Zt==null?void 0:Zt.question_type)===6?Hr.get("pageType")=="course"?Hr.get("updateType")=="course"?he.history.push(`/problems/newedit/${Zt==null?void 0:Zt.hack_identifier}?type=exercises&express_id=${(Cn=an==null?void 0:an.exercise)==null?void 0:Cn.id}&question_id=${Zt==null?void 0:Zt.question_id}&score=${Zt==null?void 0:Zt.question_score}&exercise=true&callback_url=${location.pathname}?type=2&pageType=course&updateType=course&courseId=${Hr.get("courseId")}&stageId=${Hr.get("stageId")}`):he.history.push(`/problems/newedit/${Zt==null?void 0:Zt.hack_identifier}?type=exercises&express_id=${(ca=an==null?void 0:an.exercise)==null?void 0:ca.id}&question_id=${Zt==null?void 0:Zt.question_id}&score=${Zt==null?void 0:Zt.question_score}&exercise=true&callback_url=${location.pathname}?type=2&pageType=course&courseId=${Hr.get("courseId")}&stageId=${Hr.get("stageId")}`):he.history.push(`/problems/newedit/${Zt==null?void 0:Zt.hack_identifier}?type=exercises&express_id=${(Ha=an==null?void 0:an.exercise)==null?void 0:Ha.id}&question_id=${Zt==null?void 0:Zt.question_id}&score=${Zt==null?void 0:Zt.question_score}&exercise=true&callback_url=${window.location.pathname+window.location.search}`):ir(!0)},className:`${le.edit} iconfont icon-bianji_Hover mr5 `})))),!Er&&Nn.createElement("div",null,Nn.createElement("div",{className:le.qcount},Nn.createElement("span",{className:le.score},Zt==null?void 0:Zt.question_score,"\u5206"),Nn.createElement(vt.Z,{className:le.qtitle,value:(Zt==null?void 0:Zt.index)+`\u3001${(Zt==null?void 0:Zt.question_type)==8?(xn=Zt==null?void 0:Zt.program_attr)==null?void 0:xn.description:Zt==null?void 0:Zt.question_title}`}),(Zt==null?void 0:Zt.high_resources_consume)&&Nn.createElement(Yl.Z,{type:"shixun",style:{marginLeft:10}})),(Zt==null?void 0:Zt.question_type)===6&&Nn.createElement(Ve.Z,{onEdit:()=>hi(1),className:"mt10",dataSource:(Zt==null?void 0:Zt.languages)||[]}),Nn.createElement(Vl,{newExercisePaper:ct,TagDiscipline:Fr,qitem:Zt})),Er&&Nn.createElement("div",null,(Zt==null?void 0:Zt.question_type)<=1&&Nn.createElement(Xn,{getTagData:No,deleteitem:Mo,seveeditor:Oo,exerciseitem:an,TagDiscipline:Fr,setisedit:ir,qitem:Zt,init:Kr,showTip:Io}),(Zt==null?void 0:Zt.question_type)===5&&Nn.createElement(jl,{setqitem:Xa,deleteitem:Mo,seveeditor:Oo,exerciseitem:an,TagDiscipline:Fr,setisedit:ir,qitem:Zt,showTip:Io}),(Zt==null?void 0:Zt.question_type)===3&&Nn.createElement(wa,{getTagData:No,deleteitem:Mo,seveeditor:Oo,exerciseitem:an,TagDiscipline:Fr,setisedit:ir,qitem:Zt,init:Kr,showTip:Io}),(Zt==null?void 0:Zt.question_type)===2&&Nn.createElement(lt,{getTagData:No,deleteitem:Mo,seveeditor:Oo,exerciseitem:an,TagDiscipline:Fr,setisedit:ir,qitem:Zt,init:Kr,showTip:Io}),(Zt==null?void 0:Zt.question_type)===4&&Nn.createElement(Ql,{getTagData:No,deleteitem:Mo,seveeditor:Oo,exerciseitem:an,TagDiscipline:Fr,setisedit:ir,qitem:Zt,init:Kr,showTip:Io}),(Zt==null?void 0:Zt.question_type)===7&&Nn.createElement(ho,{getTagData:No,deleteitem:Mo,seveeditor:Oo,exerciseitem:an,TagDiscipline:Fr,setisedit:ir,qitem:Zt,init:Kr,showTip:Io}),(Zt==null?void 0:Zt.question_type)===8&&Nn.createElement(ti,{getTagData:No,deleteitem:Mo,seveeditor:Oo,exerciseitem:an,TagDiscipline:Fr,setisedit:ir,qitem:Zt,init:Kr,showTip:Io}))))))),Nn.createElement("div",{className:le.bottomdiv},Nn.createElement("div",{style:{width:1200,margin:"0px auto",display:"flex",justifyContent:"space-between",alignItems:"center"}},Nn.createElement("span",{className:le.spanBtn,onClick:()=>{fo()||(mo(!0),oi(!1))}},"\u9898\u5E93\u9009\u9898"),Nn.createElement(z.Z,{menu:{items:cu}},Nn.createElement("span",{className:le.spanBtn},"\u5BFC\u5165\u8BD5\u9898")),Nn.createElement("span",{className:le.spanBtn,onClick:()=>Gr(void 0,null,function*(){var Cn;if(fo())return;const ca=yield(0,ie.JP)(ye);ca.status===0&&window.open(`/classrooms/coursesId/exercise/${ca.exercise_id}/${(Cn=de.userInfo)==null?void 0:Cn.login}/initate_answer`)})},"\u6A21\u62DF\u8003\u8BD5"),Nn.createElement("span",{className:le.spanBtn,onClick:()=>{if(!fo()){if(ki){window.open(`/paperlibrary/see/${ye}?isIntelligentAssistant=true`);return}window.open(`/paperlibrary/see/${ye}`)}}},"\u8BD5\u5377\u9884\u89C8"),Ko==null?void 0:Ko.map((Cn,ca)=>Nn.createElement(We.ZP,{key:ca,className:le.addQuestionBtn,type:"primary",onClick:()=>{Ti(Cn.id)}},Cn.name)),Nn.createElement(We.ZP,{className:le.saveBtn,loading:Ri,onClick:()=>{var Cn,ca;const Ha=()=>Gr(void 0,null,function*(){if(Hr.get("pageType")=="course")if(Hr.get("updateType")=="course")Ae.ZP.info("\u7F16\u8F91\u6210\u529F"),he.history.replace(`/paths/${Hr.get("courseId")}`);else{if(fo())return;(0,Jl._C)({id:Hr.get("stageId"),subject_id:Hr.get("courseId"),homework_type:"exercise",examination_bank_ids:[ye]}).then(Sr=>{(Sr==null?void 0:Sr.status)==0&&(Ae.ZP.info("\u521B\u5EFA\u6210\u529F"),he.history.replace(`/paths/${Hr.get("courseId")}`))})}else{if(fo())return;if(ki){cl(!0);const Sr=yield(0,fe.ZP)("/api/intelligent_imports/save_recognize_papers.json",{method:"post",body:{examination_bank_id:ye}});if(cl(!1),(Sr==null?void 0:Sr.status)!==0)return}Ae.ZP.info("\u521B\u5EFA\u6210\u529F"),he.history.push("/paperlibrary?defaultActiveKey=0")}});let Ma=(ca=(Cn=an==null?void 0:an.exercise_question_types)==null?void 0:Cn.filter(Sr=>Sr.question_type===5)[0])==null?void 0:ca.items,tr=0;Ma==null||Ma.map(Sr=>{Sr.high_resources_consume&&(tr=tr+1)}),console.log(tr),tr>0?Se({type:"classroomList/setActionTabs",payload:{key:"\u6388\u6743\u63D0\u793A",count:tr,fn:()=>{Ha()}}}):Ha()}},Nn.createElement("i",{className:"iconfont icon-baocun1",style:{fontSize:15,marginRight:5}}),"\u4FDD\u5B58\u8BD5\u5377"))),Nn.createElement(Ci,{setScoreShow:to,ScoreShow:Qr,exerciseitem:an,getdata:Kr}),no&&Nn.createElement(xi.Z,{setScoreShow:mo,isshixuns:Lo,ScoreShow:no,isloadings:fi,onOk:(Cn,ca,Ha,Ma)=>Gr(void 0,null,function*(){xo(!0);let Sr=yield lu({exam_id:ye,item_bank_ids:Cn,shixun_ids:ca});xo(!1),(Sr==null?void 0:Sr.status)===0&&b.default.confirm({title:"\u63D0\u793A",icon:null,centered:!0,content:"\u65B0\u52FE\u9009\u7684\u8BD5\u9898\u5DF2\u7ECF\u6DFB\u52A0\u5230\u8BD5\u5377\uFF0C\u5982\u679C\u9700\u8981\u7EE7\u7EED\u6DFB\u52A0\u65B0\u8BD5\u9898\u8BF7\u70B9\u51FB\u201C\u7EE7\u7EED\u9009\u9898\u201D\uFF0C\u5C06\u56DE\u5230\u60A8\u4E0A\u6B21\u64CD\u4F5C\u7684\u9009\u9898\u9875\u9762",okText:"\u7EE7\u7EED\u9009\u9898",cancelText:"\u8FD4\u56DE\u8BD5\u5377",onOk:()=>{Kr()},onCancel:()=>{mo(!1),Kr()}})})}),Nn.createElement(Xi.Z,{sub_discipline_id:(Dt=an==null?void 0:an.exercise)!=null&&Dt.sub_discipline_id?[(en=an==null?void 0:an.exercise)==null?void 0:en.discipline_id,(Hn=an==null?void 0:an.exercise)==null?void 0:Hn.sub_discipline_id]:[],visible:_a,onCancel:()=>gr(!1),onOk:ou}),Nn.createElement(b.default,{centered:!0,title:"\u7F16\u8F91\u9898\u578B\u540D\u79F0",open:gl,width:500,onOk:()=>Yo.submit(),onCancel:()=>vi(!1)},Nn.createElement(Be.default,{form:Yo,initialValues:{},onFinish:Cn=>Gr(void 0,null,function*(){(yield(0,ie.RK)(io({id:ye},Cn))).status==0&&(Ae.ZP.success("\u4FEE\u6539\u6210\u529F"),Kr(),vi(!1))})},Nn.createElement(Be.default.Item,{style:{marginBottom:0},name:"name",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u9898\u578B\u540D\u79F0"},{whitespace:!0,message:"\u8BF7\u52FF\u8F93\u5165\u7A7A\u683C"},{validator(Cn,ca){var Ha,Ma,tr,Sr;const Vr=(Ha=Ko==null?void 0:Ko.find(vo=>vo.nameType==Yo.getFieldValue("item_type_en")))==null?void 0:Ha.id;return(Sr=(tr=(Ma=an==null?void 0:an.exercise_question_types)==null?void 0:Ma.filter(vo=>vo.question_type!=Vr))==null?void 0:tr.map(vo=>vo==null?void 0:vo.name))!=null&&Sr.includes(ca)?Promise.reject(new Error("\u9898\u578B\u540D\u79F0\u5DF2\u5B58\u5728\uFF0C\u8BF7\u52FF\u8BBE\u7F6E\u76F8\u540C\u7684\u9898\u578B\u540D\u79F0")):Promise.resolve()}}]},Nn.createElement(Fe.default,{size:"large",maxLength:10,showCount:!0})),Nn.createElement(Be.default.Item,{hidden:!0,name:"item_type_en"},Nn.createElement(Fe.default,{size:"large"})))),Nn.createElement(re.Z,{placement:"bottom",height:"100%",destroyOnClose:!0,closable:!1,className:"body-overflow-hidden",open:Ar},Nn.createElement("div",{style:{margin:"8px auto 24px auto",width:1200,fontWeight:600},className:"c-black font18"},"\u667A\u80FD\u5BFC\u5165"),Nn.createElement(al.Z,{stickyTop:-24,subDisciplineId:(ta=an==null?void 0:an.exercise)!=null&&ta.sub_discipline_id?[(yn=an==null?void 0:an.exercise)==null?void 0:yn.discipline_id,(da=an==null?void 0:an.exercise)==null?void 0:da.sub_discipline_id]:[],onCancel:()=>Dr(!1),mode:2,gather:{exam_id:ye},onSuccess:()=>{Dr(!1),Kr()}}),Nn.createElement("div",{style:{height:70}})),Nn.createElement(Ve.Q,{visible:!!pi,setVisible:hi,tip:pi===2&&"\u8BBE\u7F6E\u5DF2\u6DFB\u52A0\u5728\u8BD5\u5377\u4E2D\u7684\u7F16\u7A0B\u9898\u6240\u5141\u8BB8\u4F7F\u7528\u7684\u7F16\u7A0B\u8BED\u8A00",dataSource:pi===1?Zt==null?void 0:Zt.languages:[],onOk:Cn=>Gr(void 0,null,function*(){const ca={languages:Cn};pi===1?ca.hack_id=Zt==null?void 0:Zt.hack_id:ca.exam_id=ye,(yield(0,fe.ZP)("/api/problems/update_languages.json",{method:"post",body:ca})).status===0&&(Ae.ZP.success("\u4FEE\u6539\u6210\u529F"),Vo({id:qa.current}),hi(!1))})}))};var Di=(0,he.connect)(({user:de,newExercisePaper:Se,dispatch:ye})=>({user:de,newExercisePaper:Se,dispatch:ye}))(tu),ll=oe(50337),Li=oe(53311),ul=oe(52154),ba=oe(59301),sl=Object.defineProperty,Iu=Object.defineProperties,nu=Object.getOwnPropertyDescriptors,dl=Object.getOwnPropertySymbols,au=Object.prototype.hasOwnProperty,Ii=Object.prototype.propertyIsEnumerable,Jo=(de,Se,ye)=>Se in de?sl(de,Se,{enumerable:!0,configurable:!0,writable:!0,value:ye}):de[Se]=ye,mi=(de,Se)=>{for(var ye in Se||(Se={}))au.call(Se,ye)&&Jo(de,ye,Se[ye]);if(dl)for(var ye of dl(Se))Ii.call(Se,ye)&&Jo(de,ye,Se[ye]);return de},Ho=(de,Se)=>Iu(de,nu(Se)),ko=(de,Se,ye)=>new Promise((ct,pn)=>{var Vn=Ct=>{try{mn(ye.next(Ct))}catch(kt){pn(kt)}},Kn=Ct=>{try{mn(ye.throw(Ct))}catch(kt){pn(kt)}},mn=Ct=>Ct.done?ct(Ct.value):Promise.resolve(Ct.value).then(Vn,Kn);mn((ye=ye.apply(de,Se)).next())});const Ni=()=>{const[de,Se]=(0,x.useState)([]);return(0,x.useEffect)(()=>{ko(void 0,null,function*(){const ct=yield(0,ie.d1)({source:"question"});ct!=null&&ct.disciplines&&Se((0,E.L)(ct==null?void 0:ct.disciplines))})},[]),de},Oi=({user:de,newExercisePaper:Se,dispatch:ye})=>{var ct,pn,Vn,Kn,mn,Ct,kt,xn,Dt,en,Hn,ta;const yn=(0,he.useParams)(),da=Ni(),[an]=Be.default.useForm(),[Oa,mr]=(0,x.useState)(),[rn,Zt]=(0,x.useState)(!1),[Xa,cr]=(0,x.useState)(1),[ur,fr]=(0,x.useState)(""),[qa]=(0,he.useSearchParams)(),[An,sr]=(0,x.useState)(!1),[xr,wr]=(0,x.useState)(!1),[Er,ir]=(0,x.useState)(!1);return(0,x.useEffect)(()=>{qa.get("type")==="2"&&(fr(yn.id),cr(2))},[qa.get("type")]),(0,x.useEffect)(()=>{if(yn.id){if(!da.length)return;ko(void 0,null,function*(){var kr,_a,gr;Zt(!0);const Ar=yield(0,ie.Di)({id:yn.id});Zt(!1);const Dr=(kr=Ar==null?void 0:Ar.exercise)==null?void 0:kr.sub_discipline_id;let Qr=[];for(const mo of da)for(const Lo of mo.children)Lo.value===Dr&&(Qr=[mo.value,Lo.value]);const to=(_a=Ar==null?void 0:Ar.exercise)==null?void 0:_a.time,no=Ho(mi({},Ar.exercise),{sub_discipline_id:Qr,time:to===-1?null:to});mr(no),ir((gr=Ar.exercise)==null?void 0:gr.set_question_sub_discipline)})}else mr({time:60,difficulty:2});ye({type:"globalSetting/footerToggle",payload:!1})},[da]),ba.createElement("div",{style:{background:"#ffffff",marginTop:-8,padding:8,minHeight:"100vh",paddingBottom:64}},ba.createElement("section",{className:"edu-container"},ba.createElement("section",{className:"animated fadeIn"},ba.createElement("aside",{style:{marginTop:15}},ba.createElement(Ne.Z,{separator:">"},ba.createElement(Ne.Z.Item,null,ba.createElement(he.Link,{to:"/paperlibrary"},"\u8BD5\u5377\u5E93")),ba.createElement(Ne.Z.Item,null,"\u4EBA\u5DE5\u7EC4\u5377")))),ba.createElement("div",{className:"bg-white"},ba.createElement("div",{style:{display:"flex",justifyContent:"center",paddingTop:20,alignItems:"center"}},ba.createElement("div",{onClick:()=>{if(An){Ae.ZP.info("\u8BF7\u5148\u4FDD\u5B58\u6216\u53D6\u6D88\u5F53\u524D\u6B63\u5728\u7F16\u8F91\u7684\u8BD5\u9898\u3002");return}cr(1)},className:Xa===1?Qe.Z.selectdiv:Qe.Z.divitem},ba.createElement(ll.Z,{number:1,active:Xa===1,className:"mr10"}),ba.createElement("span",null,"\u8BD5\u5377\u57FA\u7840\u4FE1\u606F")),ba.createElement("div",{style:{width:188,border:"1px dotted #9096A3",margin:"0px 30px",height:1}}),ba.createElement("div",{onClick:()=>{if(!yn.id&&!ur){Ae.ZP.info("\u8BF7\u5148\u4FDD\u5B58\u57FA\u7840\u4FE1\u606F\u518D\u65B0\u5EFA\u8BD5\u9898");return}cr(2),!ur&&fr(yn.id)},className:Xa!==1?Qe.Z.selectdiv:Qe.Z.divitem},ba.createElement(ll.Z,{number:2,active:Xa!==1,className:"mr10"}),ba.createElement("span",null,"\u7F16\u8F91\u8BD5\u9898"))),Xa===2&&ba.createElement("div",{className:"tc"},ba.createElement(Li.Z,{defaultValue:(pn=(ct=Se==null?void 0:Se.editData)==null?void 0:ct.exercise)==null?void 0:pn.exercise_name,onFinish:Fr=>ko(void 0,null,function*(){var kr,_a,gr,Ar,Dr,Qr,to,no,mo,Lo,oi,fi;return Fr.trim()===((_a=(kr=Se==null?void 0:Se.editData)==null?void 0:kr.exercise)==null?void 0:_a.exercise_name)?!0:(yield(0,ie.w0)({id:`${(Ar=(gr=Se==null?void 0:Se.editData)==null?void 0:gr.exercise)==null?void 0:Ar.id}`,sub_discipline_id:(Qr=(Dr=Se==null?void 0:Se.editData)==null?void 0:Dr.exercise)==null?void 0:Qr.sub_discipline_id,time:`${(no=(to=Se==null?void 0:Se.editData)==null?void 0:to.exercise)==null?void 0:no.time}`,exercise_name:Fr,exercise_description:(Lo=(mo=Se==null?void 0:Se.editData)==null?void 0:mo.exercise)==null?void 0:Lo.exercise_description,difficulty:(fi=(oi=Se==null?void 0:Se.editData)==null?void 0:oi.exercise)==null?void 0:fi.difficulty})).status===0?(an.setFieldValue("exercise_name",Fr),ye({type:"newExercisePaper/modifyTitle",payload:Fr}),!0):!1})}),ba.createElement("div",{style:{fontSize:14}},ba.createElement("span",{style:{color:"#5F6368"}},"\u7B54\u9898\u65F6\u957F",ba.createElement("span",{style:{color:"#000000",marginLeft:8}},(Kn=(Vn=Se==null?void 0:Se.editData)==null?void 0:Vn.exercise)==null?void 0:Kn.time)),ba.createElement("span",{style:{margin:"0px 30px",color:"#5F6368"}},"\u96BE\u5EA6",ba.createElement("span",{style:{color:"#000000",marginLeft:8}},((Ct=(mn=Se==null?void 0:Se.editData)==null?void 0:mn.exercise)==null?void 0:Ct.difficulty)===1?"\u7B80\u5355":((xn=(kt=Se==null?void 0:Se.editData)==null?void 0:kt.exercise)==null?void 0:xn.difficulty)===2?"\u9002\u4E2D":"\u56F0\u96BE")),ba.createElement("span",{style:{marginRight:30,color:"#5F6368"}},"\u8BD5\u9898\u603B\u6570",ba.createElement("span",{style:{color:"#000000",marginLeft:8}},((en=(Dt=Se==null?void 0:Se.editData)==null?void 0:Dt.exercise_types)==null?void 0:en.q_counts)||0)),ba.createElement("span",{style:{color:"#5F6368"}},"\u603B\u5206",ba.createElement("span",{style:{color:"#000000",marginLeft:8}},(ta=(Hn=Se==null?void 0:Se.editData)==null?void 0:Hn.exercise_types)==null?void 0:ta.q_scores))))),Xa===1&&ba.createElement(Ze.Z,{spinning:rn,size:"middle",style:{position:"fixed",maxHeight:"100vh"},className:"mt30"},ba.createElement("section",{className:[Qe.Z.bg,"mt20"].join(" "),style:{padding:"30px 120px 300px 120px"}},Oa&&ba.createElement(Be.default,{layout:"horizontal",form:an,colon:!1,labelCol:{span:4},wrapperCol:{span:20},className:Qe.Z.formWrap,initialValues:Oa},ba.createElement(Be.default.Item,{name:"exercise_name",label:"\u8BD5\u5377\u540D\u79F0",className:Qe.Z.baseLineHeight,rules:[{required:!0,validator:(Fr,kr)=>{var _a;return((_a=kr==null?void 0:kr.replaceAll(" ",""))==null?void 0:_a.length)>0?Promise.resolve():Promise.reject("\u8BF7\u8F93\u5165\u8BD5\u5377\u540D\u79F0")}}]},ba.createElement(Fe.default,{maxLength:60,className:Qe.Z.baseFormItem,placeholder:"\u8BF7\u8F93\u5165\u8BD5\u5377\u540D\u79F0",showCount:!0})),ba.createElement(Be.default.Item,{label:"\u65B9\u5411&\u8BFE\u7A0B",name:"sub_discipline_id",className:Qe.Z.baseLineHeight},ba.createElement($e.Z,{className:Qe.Z.baseFormItem,allowClear:!0,placeholder:"\u8BF7\u9009\u62E9\u65B9\u5411&\u8BFE\u7A0B",options:da,popupClassName:Qe.Z.cascaderPopup,dropdownMenuColumnStyle:{padding:"8px 12px",fontSize:14}})),ba.createElement("div",{className:Qe.Z.concat},ba.createElement("div",null,ba.createElement(Ge.default,{checked:Er,onChange:Fr=>{ir(Fr.target.checked)},style:{color:"#000"}},"\u8BBE\u7F6E\u8BE5\u65B9\u5411&\u8BFE\u7A0B\u4E3A\u8BD5\u9898\u6A21\u7248\uFF08\u521B\u5EFA\u65B0\u8BD5\u9898\u81EA\u52A8\u4F7F\u7528\u8BE5\u65B9\u5411&\u8BFE\u7A0B\uFF09")),ba.createElement("div",null,"\u6CA1\u6709\u5408\u9002\u7684\u65B9\u5411&\u8BFE\u7A0B\uFF1F",ba.createElement("a",{onClick:()=>wr(!0)},"\u8054\u7CFB\u6559\u7814\u52A9\u7406"))),ba.createElement(Be.default.Item,{label:"\u96BE\u5EA6",name:"difficulty",className:Qe.Z.radioBtnWrapper,rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u96BE\u5EA6"}]},ba.createElement(Le.ZP.Group,{className:Qe.Z.radiogroup},ba.createElement(Le.ZP.Button,{className:Qe.Z.easy,value:1},"\u7B80\u5355"),ba.createElement(Le.ZP.Button,{className:Qe.Z.medium,value:2},"\u9002\u4E2D"),ba.createElement(Le.ZP.Button,{className:Qe.Z.hard,value:3},"\u56F0\u96BE"))),ba.createElement(Be.default.Item,{label:"\u7B54\u9898\u65F6\u957F",className:Qe.Z.baseLineHeight},ba.createElement("div",{style:{display:"flex",width:"100%"}},ba.createElement(Be.default.Item,{name:"time",noStyle:!0},ba.createElement(Te.Z,{min:1,className:Qe.Z.baseFormItem,max:9999,style:{width:220},maxLength:60,placeholder:"\u8BF7\u586B\u5199\u7B54\u9898\u65F6\u957F"})),ba.createElement("span",{style:{marginLeft:"10px",width:"40px",lineHeight:"46px",fontSize:14}},"\u5206\u949F"))),ba.createElement(Be.default.Item,{label:"\u8BD5\u5377\u987B\u77E5",name:"exercise_description"},ba.createElement(Fe.default.TextArea,{rows:6,maxLength:65535,placeholder:"\u8BF7\u8F93\u5165\u8BD5\u5377\u987B\u77E5"})))),ba.createElement("div",{className:Qe.Z.bottmodiv},ba.createElement(We.ZP,{className:`${Qe.Z.cancelBtn} mr5`,type:"primary",onClick:()=>{qa.get("pageType")=="course"?he.history.push(`/paths/${qa.get("courseId")}`):he.history.push("/paperlibrary")}},"\u53D6\u6D88"),ba.createElement(a.Z,{className:`${Qe.Z.confirmBtn} ml15`,type:"primary",onClick:()=>ko(void 0,null,function*(){var Fr,kr,_a,gr;yield an.validateFields();const Ar=an.getFieldsValue();if(Ar.sub_discipline_id=((Fr=Ar.sub_discipline_id)==null?void 0:Fr.length)>0?Ar.sub_discipline_id[1]:"",Ar.set_question_sub_discipline=Er,yn.id){(yield(0,ie.w0)(mi({id:yn.id},Ar))).status===0&&(fr(yn.id),cr(2),he.history.replace(`/paperlibrary/add/${yn.id}?type=2`));return}const Dr=yield(0,ie.un)(Ar);Dr.status===0&&(fr((kr=Dr==null?void 0:Dr.data)==null?void 0:kr.exam_id),cr(2),qa.get("pageType")=="course"?he.history.replace(`/paperlibrary/add/${(_a=Dr==null?void 0:Dr.data)==null?void 0:_a.exam_id}?type=2&pageType=course&courseId=${qa.get("courseId")}&stageId=${qa.get("stageId")}`):he.history.replace(`/paperlibrary/add/${(gr=Dr==null?void 0:Dr.data)==null?void 0:gr.exam_id}?type=2`))})},"\u4E0B\u4E00\u6B65"))),Xa===2&&ba.createElement("div",null,ba.createElement(Di,{setisedits:sr,itemid:ur}))),ba.createElement(ul.Z,{open:xr,onCancel:()=>{wr(!1)}}))};var Mi=(0,he.connect)(({user:de,newExercisePaper:Se,dispatch:ye})=>({user:de,newExercisePaper:Se,dispatch:ye}))(Oi)},47251:function(dt,xt,oe){"use strict";oe.d(xt,{Z:function(){return Ke}});var x=oe(59301),he=oe(78241),Be=oe(8591),Ne=oe(43418),Ae=oe(99313),Ze=oe(57809),Fe=oe(19842),$e=oe(98228),Ge=oe(92832),Le=oe(1710),Te=oe(6848),We=oe(58421),Qe=oe(3113),ie=oe(38986),E={flex_box_center:"flex_box_center___kuaVT",flex_space_between:"flex_space_between___exKHH",flex_box_vertical_center:"flex_box_vertical_center___BzvkN",flex_box_center_end:"flex_box_center_end___Ss2DJ",flex_box_column:"flex_box_column___p1LEr",scoremodal:"scoremodal___upTFR",selectWrapper:"selectWrapper___HH3RX",selectWrappers:"selectWrappers___fUWwr",allqingchu:"allqingchu___BFF1D",title:"title___hFasb",score:"score___DXG3o",close:"close___kEIiB",content:"content___Mco8L",items:"items___j98jk",bottom:"bottom___A1n1C",yes:"yes___P1zzb",no:"no___xZqXd",titlecount:"titlecount___fqA9P",add:"add___MqV0R",search:"search___NREgv",searchIcon:"searchIcon___qny3A",tabWrap:"tabWrap___dR18c",previewModal:"previewModal___uSiGS",q_title:"q_title___a9NY9"},a=oe(55305),b={flex_box_center:"flex_box_center___nnwwA",flex_space_between:"flex_space_between___cRir9",flex_box_vertical_center:"flex_box_vertical_center___FqTZ8",flex_box_center_end:"flex_box_center_end___WU5_v",flex_box_column:"flex_box_column___QZFa1",warp:"warp___aLZwN",shixunbutton:"shixunbutton___Eoa1i",redio:"redio___LJ4js",redioitem:"redioitem___YicCC",redioitemyes:"redioitemyes___lX4Nr",title:"title___pi1jH",titleyes:"titleyes___jiEh7",yestag:"yestag___DLWoP",qcount:"qcount___U9kkL",score:"score___vLK4B",qtitle:"qtitle___kyg0t",checkbox:"checkbox___vjiBw",checkboxitem:"checkboxitem___HW3CP",checkboxitemyes:"checkboxitemyes___kpjek",bottom:"bottom___uG8Zq",bottomitem:"bottomitem___TnJQQ",left:"left___M8WXX",right:"right____dkCI",completion:"completion___H6RmA",content:"content___a2hGC",items:"items___D8mLd",simple:"simple___fQ0OS",shixun:"shixun___nB6Jk",combination:"combination___YrOdz",program:"program___lG0JA"},y=oe(91842),z=oe(51257),ne=oe(24334);const re=["A\uFF0E","B\uFF0E","C\uFF0E","D\uFF0E","E\uFF0E","F\uFF0E","G\uFF0E","H\uFF0E","I\uFF0E","J\uFF0E","K\uFF0E","L\uFF0E","M\uFF0E","N\uFF0E","O\uFF0E","P\uFF0E","Q\uFF0E","R\uFF0E","S\uFF0E","T\uFF0E","U\uFF0E","V\uFF0E","W\uFF0E","X\uFF0E","Y\uFF0E","Z\uFF0E"];var ge=({qitem:ze})=>{var Bt,Gt,ht,_t,be,Et,tn,pt,at,sn;return x.createElement("div",{className:b.warp},x.createElement("div",{className:b.mainPart},x.createElement("div",{className:b.qcount},(ze==null?void 0:ze.question_type)===8&&x.createElement(y.Z,{className:b.content,showProgramFill:!0,value:(Bt=ze==null?void 0:ze.program_attr)==null?void 0:Bt.description}),(ze==null?void 0:ze.question_type)!=8&&x.createElement(y.Z,{className:b.qtitle,value:(ze==null?void 0:ze.name)||(ze==null?void 0:ze.title)})),((ze==null?void 0:ze.question_type)===0||(ze==null?void 0:ze.question_type)===2)&&x.createElement("div",null,(Gt=ze==null?void 0:ze.choices)==null?void 0:Gt.map((mt,Ye)=>x.createElement("div",{className:b.redio},!(mt!=null&&mt.is_answer)&&x.createElement("span",{className:b.redioitem}),(mt==null?void 0:mt.is_answer)&&x.createElement("i",{className:`${b.redioitemyes} icon-duigou1`}),x.createElement(y.Z,{className:mt!=null&&mt.is_answer?b.titleyes:b.title,value:re[Ye]+(mt==null?void 0:mt.choice_text)}),(mt==null?void 0:mt.is_answer)&&x.createElement("div",{className:b.yestag},"\u6B63\u786E\u7B54\u6848")))),(ze==null?void 0:ze.question_type)===1&&x.createElement("div",null,(ht=ze==null?void 0:ze.choices)==null?void 0:ht.map((mt,Ye)=>x.createElement("div",{className:b.checkbox},!(mt!=null&&mt.is_answer)&&x.createElement("span",{className:b.checkboxitem}),(mt==null?void 0:mt.is_answer)&&x.createElement("i",{className:`${b.checkboxitemyes} icon-duigou1`}),x.createElement(y.Z,{className:mt!=null&&mt.is_answer?b.titleyes:b.title,value:re[Ye]+(mt==null?void 0:mt.choice_text)}),(mt==null?void 0:mt.is_answer)&&x.createElement("div",{className:b.yestag},"\u6B63\u786E\u7B54\u6848")))),(ze==null?void 0:ze.question_type)===3&&x.createElement("div",{className:b.completion},(_t=ze==null?void 0:ze.standard_answer)==null?void 0:_t.map((mt,Ye)=>{var Mt;return x.createElement("div",{style:{display:"flex"}},x.createElement("span",{className:b.title},"\u586B\u7A7A\u9879",Ye+1),x.createElement("div",{className:b.content},(Mt=mt==null?void 0:mt.answer_text)==null?void 0:Mt.map((Gn,Rn)=>x.createElement("div",{className:b.items},Gn))))})),(ze==null?void 0:ze.question_type)===4&&x.createElement("div",{className:b.simple},x.createElement("div",{className:b.title},"\u53C2\u8003\u7B54\u6848"),x.createElement("div",{className:"mt10",style:{fontSize:"16px"}},(be=ze==null?void 0:ze.answer_texts)!=null&&be[0]?x.createElement(y.Z,{className:b.content,value:(Et=ze==null?void 0:ze.answer_texts)==null?void 0:Et[0]}):x.createElement("div",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~"))),(ze==null?void 0:ze.question_type)===5&&((tn=ze==null?void 0:ze.challenge_names)==null?void 0:tn.map((mt,Ye)=>x.createElement("div",{className:b.shixun},x.createElement("span",{className:b.qtitle},x.createElement("span",{style:{marginRight:10}},"\u7B2C",(0,z.EM)(Ye+1),"\u9898"),mt)))),(ze==null?void 0:ze.question_type)===6&&x.createElement("div",{className:b.program},x.createElement(y.Z,{className:b.content,value:((pt=ze==null?void 0:ze.program_attr)==null?void 0:pt.description)||"- -"})),(ze==null?void 0:ze.question_type)===7&&((at=ze==null?void 0:ze.sub_item_banks)==null?void 0:at.map((mt,Ye)=>{var Mt,Gn,Rn,Lt,kn;return x.createElement("div",null,x.createElement("div",{className:b.combination},x.createElement("span",{className:b.qtitle},mt==null?void 0:mt.name)),x.createElement("div",{className:b.warp,style:{padding:"0px",paddingTop:20}},x.createElement("div",null,((mt==null?void 0:mt.item_type)=="SINGLE"||(mt==null?void 0:mt.item_type)=="JUDGMENT")&&((Mt=mt==null?void 0:mt.choices)==null?void 0:Mt.map((on,Mn)=>x.createElement("div",{className:b.redio},!(on!=null&&on.is_answer)&&x.createElement("span",{className:b.redioitem}),(on==null?void 0:on.is_answer)&&x.createElement("i",{className:`${b.redioitemyes} icon-duigou1`}),x.createElement(y.Z,{className:on!=null&&on.is_answer?b.titleyes:b.title,value:re[Mn]+(on==null?void 0:on.choice_text)}),(on==null?void 0:on.is_answer)&&x.createElement("div",{className:b.yestag},"\u6B63\u786E\u7B54\u6848")))),(mt==null?void 0:mt.item_type)=="MULTIPLE"&&((Gn=mt==null?void 0:mt.choices)==null?void 0:Gn.map((on,Mn)=>x.createElement("div",{className:b.checkbox},!(on!=null&&on.is_answer)&&x.createElement("span",{className:b.checkboxitem}),(on==null?void 0:on.is_answer)&&x.createElement("i",{className:`${b.checkboxitemyes} icon-duigou1`}),x.createElement(y.Z,{className:on!=null&&on.is_answer?b.titleyes:b.title,value:re[Mn]+(on==null?void 0:on.choice_text)}),(on==null?void 0:on.is_answer)&&x.createElement("div",{className:b.yestag},"\u6B63\u786E\u7B54\u6848")))),(mt==null?void 0:mt.item_type)=="COMPLETION"&&x.createElement("div",{className:b.completion},(Rn=mt==null?void 0:mt.standard_answer)==null?void 0:Rn.map((on,Mn)=>{var un;return x.createElement("div",{style:{display:"flex"}},x.createElement("span",{className:b.title},"\u586B\u7A7A\u9879",Mn+1),x.createElement("div",{className:b.content},(un=on==null?void 0:on.answer_text)==null?void 0:un.map((Xn,Fa)=>x.createElement("div",{className:b.items},Xn))))})),(mt==null?void 0:mt.item_type)=="SUBJECTIVE"&&x.createElement("div",{className:b.simple},x.createElement("div",{className:b.title},"\u53C2\u8003\u7B54\u6848"),x.createElement("div",{className:"mt10",style:{fontSize:"16px"}},(Lt=mt==null?void 0:mt.answer_texts)!=null&&Lt[0]?x.createElement(y.Z,{className:b.content,value:(kn=mt==null?void 0:mt.answer_texts)==null?void 0:kn[0]}):x.createElement("div",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~"))))))})),(ze==null?void 0:ze.question_type)===8&&x.createElement("div",null,x.createElement(y.Z,{disabledFill:!0,className:b.content,showProgramFill:!0,value:ne.Base64.decode(((sn=ze==null?void 0:ze.program_attr)==null?void 0:sn.code)||"")})),(ze==null?void 0:ze.question_type)===5&&x.createElement("div",{style:{background:"#F6F7F9",padding:"0px 20px",height:46,lineHeight:"46px",marginTop:40,display:"flex",alignItems:"center"}},x.createElement("div",{style:{flex:1,alignItems:"center",display:"flex"}},x.createElement("div",{style:{marginRight:30}},x.createElement("span",{style:{marginRight:10}},"\u521B\u5EFA\u8005"),x.createElement("span",{style:{color:"#000000"}},(ze==null?void 0:ze.author_name)||"- -")),x.createElement("div",{style:{marginRight:30}},x.createElement("span",{style:{marginRight:10}},"\u6240\u5C5E\u5355\u4F4D"),x.createElement("span",{style:{color:"#000000"}},(ze==null?void 0:ze.author_school_name)||"- -")),x.createElement("div",{style:{marginRight:30}},x.createElement("span",{style:{marginRight:10}},"\u5B66\u4E60\u4EBA\u6570"),x.createElement("span",{style:{color:"#000000"}},(ze==null?void 0:ze.study_count)||"0"))),x.createElement("a",{className:b.shixunbutton,href:`/shixuns/${ze==null?void 0:ze.identifier}/challenges?exercise=true`,target:"_blank"},x.createElement("i",{onClick:()=>{},style:{marginRight:20},className:"iconfont icon-shixunkecheng mr5 "}),"\u5B9E\u8BAD\u8BE6\u60C5"))),((ze==null?void 0:ze.question_type)<=4||[6,8].includes(ze==null?void 0:ze.question_type))&&x.createElement("div",{className:b.bottom},x.createElement("div",{className:b.bottomitem},x.createElement("span",{className:b.left},"\u89E3\u6790"),x.createElement("span",{className:b.right},ze!=null&&ze.analysis?x.createElement(y.Z,{value:ze==null?void 0:ze.analysis}):x.createElement("span",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~"))),x.createElement("div",{className:b.bottomitem},x.createElement("span",{className:b.left},"\u96BE\u5EA6"),x.createElement("span",{className:b.right},(ze==null?void 0:ze.difficulty)===1?"\u7B80\u5355":(ze==null?void 0:ze.difficulty)===2?"\u9002\u4E2D":"\u56F0\u96BE")),x.createElement("div",{className:b.bottomitem},x.createElement("span",{className:b.left},"\u77E5\u8BC6\u70B9"),x.createElement("span",{className:b.right},ze!=null&&ze.tag_discipline?ze==null?void 0:ze.tag_discipline:x.createElement("span",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~")))))},fe=oe(61250),Pe=oe(57149),Ve=oe(25690),Me=oe(61485),vt=oe(94361),Ie=oe(46722),Ce=oe(59301),et=Object.defineProperty,rt=Object.defineProperties,xe=Object.getOwnPropertyDescriptors,Pt=Object.getOwnPropertySymbols,yt=Object.prototype.hasOwnProperty,Tt=Object.prototype.propertyIsEnumerable,nt=(ze,Bt,Gt)=>Bt in ze?et(ze,Bt,{enumerable:!0,configurable:!0,writable:!0,value:Gt}):ze[Bt]=Gt,Wt=(ze,Bt)=>{for(var Gt in Bt||(Bt={}))yt.call(Bt,Gt)&&nt(ze,Gt,Bt[Gt]);if(Pt)for(var Gt of Pt(Bt))Tt.call(Bt,Gt)&&nt(ze,Gt,Bt[Gt]);return ze},jt=(ze,Bt)=>rt(ze,xe(Bt)),It=(ze,Bt,Gt)=>new Promise((ht,_t)=>{var be=pt=>{try{tn(Gt.next(pt))}catch(at){_t(at)}},Et=pt=>{try{tn(Gt.throw(pt))}catch(at){_t(at)}},tn=pt=>pt.done?ht(pt.value):Promise.resolve(pt.value).then(be,Et);tn((Gt=Gt.apply(ze,Bt)).next())});const ln=({setScoreShow:ze,ScoreShow:Bt,onOk:Gt,isshixuns:ht,isloadings:_t,dispatch:be,isIntelligentAssistant:Et=!1,newExercisePaper:tn,shixunsDetail:pt})=>{var at,sn,mt;let[Ye,Mt]=(0,x.useState)({type:"0",page:1,updated_at:"",quotes:"",item_type:null,per_page:10,courseid:"",tag_discipline_id:null,difficulty:null,keyword:null,bigmodel:Et,group_id:[]}),[Gn,Rn]=(0,x.useState)([]),[Lt,kn]=(0,x.useState)([]),[on,Mn]=(0,x.useState)([]),[un,Xn]=(0,x.useState)([]);const[Fa,oa]=(0,x.useState)(!1),[Yt]=he.default.useForm(),[_n,wn]=(0,x.useState)(),[ia,na]=(0,x.useState)(!1);let[Zn,Qt]=(0,x.useState)(ht);const[Nt,fn]=(0,x.useState)([]),[Dn,la]=(0,x.useState)(0),[Jn,wa]=(0,x.useState)(!0),[Wn,jn]=(0,x.useState)([]),[ya,fa]=(0,x.useState)([]),Ba=[{name:"\u5168\u90E8",value:"",question_type:0},{name:"\u5355\u9009\u9898",value:"SINGLE",question_type:0},{name:"\u591A\u9009\u9898",value:"MULTIPLE",question_type:1},{name:"\u5224\u65AD\u9898",value:"JUDGMENT",question_type:2},{name:"\u586B\u7A7A\u9898",value:"COMPLETION",question_type:3},{name:"\u7B80\u7B54\u9898",value:"SUBJECTIVE",question_type:4},{name:"\u5B9E\u8BAD\u9898",value:"SHIXUN",question_type:5},{name:"\u7F16\u7A0B\u9898",value:"PROGRAM",question_type:6},{name:"\u7EC4\u5408\u9898",value:"COMBINATION",question_type:7},{name:"\u7A0B\u5E8F\u586B\u7A7A\u9898",value:"BPROGRAM",question_type:8}];let[Ta,At]=(0,x.useState)({gg:{type:"1",page:1,updated_at:"",quotes:"",item_type:null,courseid:"",per_page:10,tag_discipline_id:null,difficulty:null,keyword:null},ttgx:{type:"3",page:1,updated_at:"",quotes:"",item_type:null,per_page:10,courseid:"",tag_discipline_id:null,difficulty:null,keyword:null,group_id:[]},scj:{type:"2",page:1,updated_at:"",quotes:"",item_type:null,per_page:10,courseid:"",tag_discipline_id:null,difficulty:null,keyword:null},wcjd:{type:"0",page:1,updated_at:"",quotes:"",item_type:null,per_page:10,courseid:"",tag_discipline_id:null,difficulty:null,keyword:null,group_id:[]},yx:{type:"5",page:1,updated_at:"",quotes:"",item_type:null,per_page:10,courseid:"",tag_discipline_id:null,difficulty:null,keyword:null,group_id:null}});const Pn=(0,x.useRef)(new Set),En=(0,x.useRef)(new Set),Ln=[{name:"\u7B80\u5355",value:1},{name:"\u9002\u4E2D",value:2},{name:"\u56F0\u96BE",value:3}],Ee=[{name:"\u521D\u7EA7",value:1},{name:"\u4E2D\u7EA7",value:2},{name:"\u4E2D\u9AD8\u7EA7",value:3},{name:"\u9AD8\u7EA7",value:4}],Je=[{name:"\u672A\u53D1\u5E03",value:"unpublish"},{name:"\u9759\u9ED8\u53D1\u5E03",value:"silent_publish"},{name:"\u516C\u5F00\u53D1\u5E03",value:"public_publish"}],[qe,lt]=(0,x.useState)(!1),ft=()=>{Yt.resetFields(),Zn=!1,Qt(!1),lt(!1),Yt.submit()};(0,x.useEffect)(()=>{var He,it,dn,gt,$t,gn,Aa,zn,bt,Za;(((dn=(it=(He=tn==null?void 0:tn.editData)==null?void 0:He.exercise)==null?void 0:it.exist_item_bank_ids)==null?void 0:dn.length)>0||((gn=($t=(gt=tn==null?void 0:tn.editData)==null?void 0:gt.exercise)==null?void 0:$t.exist_item_bank_shixun_ids)==null?void 0:gn.length)>0)&&fa([...(zn=(Aa=tn==null?void 0:tn.editData)==null?void 0:Aa.exercise)==null?void 0:zn.exist_item_bank_ids,...(Za=(bt=tn==null?void 0:tn.editData)==null?void 0:bt.exercise)==null?void 0:Za.exist_item_bank_shixun_ids])},[(sn=(at=tn==null?void 0:tn.editData)==null?void 0:at.exercise)==null?void 0:sn.exist_item_bank_ids]),(0,x.useEffect)(()=>{Bt&&(Yt.setFieldsValue({item_type:"",courseid:"",tag_discipline_id:null,difficulty:null,keyword:null}),Jn&&Zn&&(Yt.setFieldsValue({item_type:"SHIXUN"}),Ye.item_type="SHIXUN",Mt(Wt({},Ye)),wa(!1)),ut(Ye),wt(),De({group_id:0,page:1,per_page:20,sort_by:"updated_at",sort_direction:"desc",type:"0"}))},[Bt]),(0,x.useEffect)(()=>{Dn>0&&setTimeout(()=>{la(0)},2e3)},[Dn]);function ut(He){return It(this,null,function*(){var it,dn,gt;if(oa(!0),Mt(Wt({},He)),(on==null?void 0:on.length)<=0&&He.type==="5"){Xn([]),oa(!1);return}console.log("----",on,Nt);let $t=He.type==="5"?on==null?void 0:on.filter(zn=>!Nt.includes(zn)):null,gn=He.type==="5"?on==null?void 0:on.filter(zn=>Nt.includes(zn)):null;He.group_id=((it=He.group_id)==null?void 0:it.map(zn=>zn==null?void 0:zn.value))||null;let Aa=yield(0,ie.ZP)("/api/item_banks.json",{method:"get",params:jt(Wt({},He),{discipline_id:((dn=He==null?void 0:He.courseid)==null?void 0:dn[0])||null,sub_discipline_id:((gt=He==null?void 0:He.courseid)==null?void 0:gt[1])||null,ids:$t,shixun_ids:gn,include_shixuns:!Et,keyword:He.keyword?encodeURIComponent(He.keyword):He.keyword,type:He.type==="5"?null:He.type,clazz:He.type==="3"?"ItemBanksGroup":null})});Xn(Aa),oa(!1)})}function wt(){return It(this,null,function*(){let He=yield(0,ie.ZP)("/api/disciplines.json",{method:"get",params:{source:"question",group_id:0,group_type:Ye.type==="5"?null:Ye.type,clazz:"ItemBanksGroup"}});Rn((0,a.L)(He==null?void 0:He.disciplines))})}function De(He){return It(this,null,function*(){var it;let dn=yield(0,ie.ZP)("/api/item_banks_groups/for_problemset.json",{method:"post",body:He}),gt=[{title:"\u6839\u76EE\u5F55",id:0,pid:0,value:0,key:0,isLeaf:!1,children:(it=dn==null?void 0:dn.data)==null?void 0:it.map($t=>({title:$t.name,id:$t.id,pid:$t.id,value:$t.id,key:$t.id,isLeaf:!$t.have_child}))}];jn(gt)})}function _e(He){return It(this,null,function*(){var it,dn,gt,$t;oa(!0);let gn=(it=He.list)==null?void 0:it.filter(bt=>!Nt.includes(bt)),Aa=(dn=He.list)==null?void 0:dn.filter(bt=>Nt.includes(bt));if(gn.length===0&&Aa.length===0){oa(!1),Xn([]);return}let zn=yield(0,ie.ZP)("/api/item_banks.json",{method:"get",params:jt(Wt({},He),{discipline_id:((gt=He==null?void 0:He.courseid)==null?void 0:gt[0])||null,sub_discipline_id:(($t=He==null?void 0:He.courseid)==null?void 0:$t[1])||null,ids:gn,shixun_ids:Aa,type:He.type==="5"?null:He.type,clazz:He.type==="3"?"ItemBanksGroup":null})});oa(!1),Xn(zn)})}const ke=He=>It(void 0,null,function*(){const it=yield be({type:"shixunsDetail/release",payload:{id:He}});let dn=it==null?void 0:it.tag_position,gt=(it==null?void 0:it.evaluation_set_position)||[],$t=it.status;return $t===0?(Be.ZP.success("\u53D1\u5E03\u6210\u529F"),ut(Ye),!0):($t===2?Be.ZP.error(`\u7B2C${gt.join(",")}\u5173\u5C1A\u672A\u5B8C\u6210\uFF0C\u65E0\u6CD5\u7533\u8BF7\u53D1\u5E03`):$t===3?Be.ZP.error(`\u6BCF\u4E00\u4E2A\u5173\u5361\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u6280\u80FD\u6807\u7B7E, \u7B2C${dn.join(",")}\u5173\u5C1A\u672A\u8BBE\u7F6E\u6280\u80FD\u6807\u7B7E\uFF0C\u8BF7\u8865\u5145`):Be.ZP.error("\u5C1A\u672A\u521B\u5EFA\u4EFB\u52A1\u7684\u5B9E\u8BAD\uFF0C\u4E0D\u80FD\u7533\u8BF7\u53D1\u5E03"),!1)}),st=He=>(He==null?void 0:He.shixun_tag_num)===1?"\u672A\u53D1\u5E03\u7684\u5B9E\u8DF5\u9879\u76EE\u4E0D\u80FD\u88AB\u9009\u7528\uFF0C\u8BF7\u5148\u8FDB\u884C\u53D1\u5E03":"",Ut=(He,it,dn)=>He.map(gt=>gt.key===it?Wt(Wt({},gt),dn):gt.children?jt(Wt({},gt),{children:Ut(gt.children,it,dn)}):gt),qt=He=>It(void 0,null,function*(){const{key:it}=He;let dn=Ye.type;const gt=yield(0,Ie.ex)({page:1,per_page:20,sort_by:"updated_at",sort_direction:"desc",group_id:Math.abs(it),type:dn}),{data:$t,total_count:gn}=gt||{};gn>0&&jn(Aa=>Ut(Aa,it,{children:$t.map(zn=>({title:zn.name,id:zn.id,pid:zn.id,value:zn.id,key:zn.id,isLeaf:!zn.have_child}))}))});function In(He){console.log("----",Ye),He==="1"&&(Ta.gg=Wt({},Ye)),He==="2"&&(Ta.scj=Wt({},Ye)),He==="3"&&(Ta.ttgx=Wt({},Ye)),He==="0"&&(Ta.wcjd=Wt({},Ye)),He==="5"&&(Ta.yx=Wt({},Ye)),At(Wt({},Ta))}function vn(){Ye.type==="1"&&(Ye=Ta.gg),Ye.type==="2"&&(Ye=Ta.scj),Ye.type==="3"&&(Ye=Ta.ttgx),Ye.type==="0"&&(Ye=Ta.wcjd),Ye.type==="5"&&(Ye=Ta.yx),(Ye==null?void 0:Ye.item_type)==="SHIXUN"?(Zn=!0,Qt(!0)):(Zn=!1,Qt(!1)),Yt.setFieldsValue(Wt({},Ye)),Mt(Wt({},Ye)),ut(Wt({},Ye))}return Ce.createElement("div",null,Ce.createElement(Ne.default,{title:!1,footer:!1,open:Bt,width:1200,centered:!0,className:E.scoremodal,onCancel:()=>{ze(!1)}},Ce.createElement("div",{style:{display:"flex",alignItems:"center"}},Ce.createElement("div",{className:E.title},Et?"\u4EE5\u9898\u6362\u9898":"\u9898\u5E93\u9009\u9898")),Et&&Ce.createElement("div",{style:{padding:10,background:"#F6F7F9",borderRadius:4,marginTop:14}},"\u6839\u636E\u73B0\u6709\u8BD5\u9898\u7684\u9898\u578B\u3001\u65B9\u5411\u3001\u77E5\u8BC6\u70B9\u3001\u96BE\u6613\u5EA6\uFF0C\u5FEB\u901F\u751F\u6210\u65B0\u7684\u8BD5\u9898\uFF0C\u589E\u52A0\u8BD5\u9898\u7684\u4E30\u5BCC\u5EA6"),Ce.createElement(Ae.default,{className:E.tabWrap,activeKey:Ye.type,onChange:He=>{He==="3"?(Ye.show_all_share=!0,De({group_id:0,page:1,per_page:20,sort_by:"updated_at",sort_direction:"desc",type:"3"})):Ye.show_all_share=null,He==="0"&&De({group_id:0,page:1,per_page:20,sort_by:"updated_at",sort_direction:"desc",type:"0"}),In(Ye.type),Ye.type=He,(Ye==null?void 0:Ye.item_type)==="SHIXUN"&&Ye.type!=="5"&&(Zn=!0,Qt(!0)),lt(!1),Ye.type==="5"&&(Zn=!1,Qt(!1)),vn(),wt()},items:[{label:"\u516C\u5171",key:"1"},{label:"\u56E2\u961F\u5171\u4EAB",key:"3"},{label:"\u6536\u85CF\u5939",key:"2"},{label:"\u6211\u521B\u5EFA\u7684",key:"0"},{label:Ce.createElement("div",null,"\u5DF2\u9009",on.length>0&&Ce.createElement("span",{className:E.titlecount},on.length),Dn>0&&Ce.createElement("span",{className:E.add},"+",Dn)),key:"5"}]}),Ce.createElement(he.default,{layout:"inline",form:Yt,onValuesChange:(He,it)=>{const dn=Object.values(it).some($t=>$t!==null&&$t!==""&&$t!==void 0),gt=it.keyword==="";if(lt(dn||!gt),Ye.page=1,(it==null?void 0:it.item_type)==="SHIXUN"){if(Ye.type==="5"?Qt(!1):Qt(!0),He.keyword||He.keyword==="")return;Yt.submit()}else{if(He!=null&&He.courseid&&Yt.setFieldsValue({tag_discipline_id:""}),Qt(!1),He.keyword||He.keyword==="")return;Yt.submit()}},onFinish:He=>{var it;Ye.type==="3"&&(!He.group_id||((it=He==null?void 0:He.group_id)==null?void 0:it.length)===0)?Ye.show_all_share=!0:Ye.show_all_share=null,Mt(Wt(Wt({},Ye),He)),ut(Wt(Wt({},Ye),He))}},Ce.createElement(he.default.Item,{name:"item_type"},Ce.createElement(Ze.default,{className:E.selectWrapper,placeholder:"\u9898\u578B",style:{width:110},size:"middle"},(Et?Ba.slice(0,6):Ba).map(He=>Ce.createElement(Ze.default.Option,{key:He.value},He.name)))),Ce.createElement(he.default.Item,{name:"courseid"},Ce.createElement(Fe.Z,{className:E.selectWrapper,style:{width:160},size:"middle",placeholder:"\u65B9\u5411&\u8BFE\u7A0B",options:Gn})),!Zn&&Ce.createElement(he.default.Item,{name:"tag_discipline_id"},Ce.createElement(Ze.default,{className:E.selectWrapper,placeholder:"\u77E5\u8BC6\u70B9",style:{width:160},size:"middle",allowClear:!0},(mt=un==null?void 0:un.tag_disciplines)==null?void 0:mt.map(He=>Ce.createElement(Ze.default.Option,{key:He.id},He.name)))),Ce.createElement(he.default.Item,{name:Zn?"diff":"difficulty"},Ce.createElement(Ze.default,{className:E.selectWrapper,placeholder:"\u96BE\u5EA6",style:{width:118},size:"middle",allowClear:!0},!Zn&&Ln.map(He=>Ce.createElement(Ze.default.Option,{key:He.value},He.name)),Zn&&Ee.map(He=>Ce.createElement(Ze.default.Option,{key:He.value},He.name)))),Zn&&Ce.createElement(he.default.Item,{name:"shixun_publish_status"},Ce.createElement(Ze.default,{className:E.selectWrapper,placeholder:"\u5168\u90E8\u72B6\u6001",style:{width:118},size:"middle",allowClear:!0},Je.map(He=>Ce.createElement(Ze.default.Option,{key:He.value},He.name)))),(Ye.type==="3"||Ye.type==="0")&&!Zn&&Ce.createElement(he.default.Item,{name:"group_id"},Ce.createElement($e.default,{treeDataSimpleMode:!0,style:{width:118},className:E.selectWrappers,multiple:!0,allowClear:!0,showSearch:!0,filterTreeNode:(He,it)=>it.title.toUpperCase().indexOf(He.toUpperCase())!==-1,dropdownStyle:{maxHeight:400,width:500,overflow:"auto"},placeholder:"\u8BF7\u9009\u62E9\u6587\u4EF6\u5939",treeCheckStrictly:!0,loadData:qt,treeDefaultExpandedKeys:[0],maxTagCount:0,treeCheckable:!0,treeData:Wn})),qe&&Ce.createElement("span",{className:E.allqingchu,onClick:ft},Ce.createElement("i",{className:"iconfont icon-guanbi4"}),Ce.createElement("span",null,"\u6E05\u9664\u7B5B\u9009\u6761\u4EF6")),Ce.createElement(he.default.Item,{style:{flex:"0 0 auto",marginRight:0,marginLeft:"auto"},name:"keyword"},Ce.createElement(Ge.default.Search,{className:E.search,placeholder:"\u8BF7\u8F93\u5165\u5173\u952E\u8BCD\u641C\u7D22",allowClear:!0,suffix:Ce.createElement("i",{className:`iconfont icon-sousuo9 font14 ${E.searchIcon}`,onClick:()=>Yt.submit()}),onSearch:He=>{Yt.submit()}}))),Ce.createElement("div",{style:{background:"#F6F7F9",display:"flex",alignItems:"center",marginTop:18,height:40,paddingLeft:10,paddingRight:20}},Ce.createElement("div",{onClick:()=>{Ye.updated_at==="asc"?Ye.updated_at="desc":Ye.updated_at="asc",Mt(jt(Wt({},Ye),{page:1})),ut(jt(Wt({},Ye),{page:1}))}}," ",Ye.updated_at?Ce.createElement("img",{src:Ye.updated_at==="asc"?fe.Z:Pe.Z,style:{width:"15px",verticalAlign:"text-bottom"},className:"font14 mr5 c-light-primary"}):Ce.createElement("i",{style:{fontSize:"14px"},className:"iconfont icon-jiangxu mr5 c-light-primary"}),"\u6309\u66F4\u65B0\u65F6\u95F4\u6392\u5E8F"),Ce.createElement("div",{onClick:()=>{Ye.quotes==="asc"?Ye.quotes="desc":Ye.quotes="asc",Mt(jt(Wt({},Ye),{page:1})),ut(jt(Wt({},Ye),{page:1}))},style:{marginLeft:20}}," ",Ye.quotes?Ce.createElement("img",{src:Ye.quotes==="asc"?fe.Z:Pe.Z,style:{width:"15px",verticalAlign:"text-bottom"},className:"font14 mr5 c-light-primary"}):Ce.createElement("i",{style:{fontSize:"14px"},className:"iconfont icon-jiangxu mr5 c-light-primary"}),"\u6309\u4F7F\u7528\u6B21\u6570\u6392\u5E8F")),Ce.createElement(Le.default,{style:{marginTop:2,marginBottom:20},scroll:{y:260},dataSource:(un==null?void 0:un.items)||(un==null?void 0:un.shixun_list),pagination:!1,loading:Fa,rowKey:He=>He.id,rowSelection:{type:Et?"radio":"checkbox",selectedRowKeys:Lt,getCheckboxProps:He=>({disabled:He.shixun_tag_num===1||(ya==null?void 0:ya.find(it=>He.id===it))}),onSelect(He,it,dn){if(Et){kn([He.id]),En.current=new Set([He.id]),la(1),Mn([He.id]);return}if(it)Zn&&fn([...Nt,He.id]),kn([...Lt,He.id]),He.identifier?Pn.current.add(He.id):En.current.add(He.id),la(1),Mn([...on,He.id]);else{He.identifier?Pn.current.delete(He.id):En.current.delete(He.id);let gt=on.filter($t=>$t!==He.id);if(kn(gt),Mn(gt),Zn){let $t=Nt.filter(gn=>gn!==He.id);fn([...$t])}if(Ye.type==="5"){_e(jt(Wt({},Ye),{list:[...gt]}));return}}},onSelectAll(He,it,dn){if(He){const gt=dn.map($t=>$t.id);Zn&&fn([...Nt,...gt]),kn([...Lt,...gt]),Mn([...on,...gt]);for(const $t of dn)$t.identifier?Pn.current.add($t.id):En.current.add($t.id)}else{const gt=dn.map(gn=>gn.id),$t=Lt.filter(gn=>!gt.some(Aa=>Aa===gn));if(kn([...$t]),Mn([...$t]),Zn){let gn=Nt.filter(Aa=>!gt.some(zn=>zn===Aa.id));fn([...gn])}Ye.type==="5"&&_e(jt(Wt({},Ye),{list:[...$t]}));for(const gn of gt)gn.identifier?Pn.current.delete(gn):En.current.delete(gn)}}},columns:[{title:"\u9898\u578B",dataIndex:"item_type",key:"item_type",render:(He,it,dn)=>{var gt,$t;return Ce.createElement(Te.Z,{title:st(it)},Ce.createElement("div",null,Zn||it!=null&&it.challenge_names?"\u5B9E\u8BAD\u9898":($t=(gt=Ba==null?void 0:Ba.filter(gn=>gn.value===He))==null?void 0:gt[0])==null?void 0:$t.name))}},{title:"\u8BD5\u9898\u540D\u79F0",dataIndex:"name",width:Zn?"30%":"60%",key:"name",render:(He,it,dn)=>{var gt;return Ce.createElement("div",{style:{display:"flex",alignItems:"center"}},Ce.createElement(Te.Z,{title:st(it)},Ce.createElement("div",{className:it!=null&&it.high_resources_consume?E.q_title:""},Ce.createElement(y.Z,{key:1,showLines:1,showTextOnly:!0,value:Zn||it!=null&&it.challenge_names?it!=null&&it.title||He===null?"--":He:(it==null?void 0:it.item_type)=="BPROGRAM"?(gt=it==null?void 0:it.program_attr)==null?void 0:gt.description:He}))),(it==null?void 0:it.high_resources_consume)&&Ce.createElement(vt.Z,{type:"shixun",style:{marginLeft:10}}))}},{title:"\u521B\u5EFA\u8005",dataIndex:"author_name",key:"author_name",hidden:!Zn,render:(He,it,dn)=>{var gt;return Ce.createElement(Te.Z,{title:st(it)},Ce.createElement("span",null,He?(gt=He==null?void 0:He.split("\u3001"))==null?void 0:gt[0]:"- -"))}},{title:"\u6240\u5C5E\u5355\u4F4D",dataIndex:"author_school_name",key:"author_school_name",hidden:!Zn,render:(He,it,dn)=>Ce.createElement(Te.Z,{title:st(it)},Ce.createElement("span",null,He||"- -"))},{title:"\u96BE\u5EA6",dataIndex:"difficulty",key:"difficulty",render:(He,it,dn)=>{var gt,$t,gn,Aa;return Ce.createElement(Te.Z,{title:st(it)},Ce.createElement("div",null,Zn||it!=null&&it.challenge_names?(it==null?void 0:it.level)||(($t=(gt=Ln==null?void 0:Ln.filter(zn=>zn.value===He))==null?void 0:gt[0])==null?void 0:$t.name):(Aa=(gn=Ln==null?void 0:Ln.filter(zn=>zn.value===He))==null?void 0:gn[0])==null?void 0:Aa.name))}},{title:"\u5173\u5361\u6570\u91CF",dataIndex:"challenges_count",key:"challenges_count",hidden:!Zn,render:(He,it,dn)=>Ce.createElement(Te.Z,{title:st(it)},Ce.createElement("div",null,He||"- -"))},{title:"\u5173\u5361\u6570\u91CF",dataIndex:"challenges_count",key:"challenges_count",hidden:!Zn,render:(He,it,dn)=>Ce.createElement("span",null,He||"- -")},{title:"\u4F7F\u7528\u6B21\u6570",dataIndex:"quotes",key:"quotes",render:(He,it,dn)=>Ce.createElement(Te.Z,{title:st(it)},Ce.createElement("div",null,Zn||it!=null&&it.challenge_names?(it==null?void 0:it.study_count)||(it==null?void 0:it.stu_num):He))},{title:Ce.createElement("span",null,"\u53D1\u5E03\u72B6\u6001 ",Ce.createElement(Te.Z,{title:"\u672A\u53D1\u5E03\u7684\u5B9E\u8DF5\u9879\u76EE\u4E0D\u80FD\u88AB\u9009\u7528"},Ce.createElement(Me.Z,null))),dataIndex:"shixun_tag_num_name",key:"shixun_tag_num_name",hidden:!Zn,render:(He,it,dn)=>Ce.createElement(Te.Z,{title:st(it)},Ce.createElement("div",null,He||"- -"))},{title:Ce.createElement("span",null,"\u53D1\u5E03\u72B6\u6001 ",Ce.createElement(Te.Z,{title:"\u672A\u53D1\u5E03\u7684\u5B9E\u8DF5\u9879\u76EE\u4E0D\u80FD\u88AB\u9009\u7528"},Ce.createElement(Me.Z,null))),dataIndex:"shixun_tag_num_name",key:"shixun_tag_num_name",hidden:!Zn,render:(He,it,dn)=>Ce.createElement("span",null,He||"- -")},{title:"\u64CD\u4F5C",dataIndex:"id",key:"item_type",render:(He,it,dn)=>Ce.createElement(Te.Z,{title:st(it)},Ce.createElement("div",{style:{flex:1,textAlign:"start"}},Ce.createElement("a",{onClick:()=>{var gt,$t;wn(jt(Wt({},it),{question_type:Zn||it!=null&&it.challenge_names?5:($t=(gt=Ba==null?void 0:Ba.filter(gn=>gn.value===(it==null?void 0:it.item_type)))==null?void 0:gt[0])==null?void 0:$t.question_type})),na(!0)}},"\u67E5\u770B"),(it==null?void 0:it.shixun_tag_num)===1&&Ce.createElement("a",{style:{marginLeft:10},onClick:()=>{Ne.default.confirm({title:"\u63D0\u793A",icon:null,centered:!0,width:400,content:Ce.createElement("div",null,"\u662F\u5426\u786E\u5B9A\u53D1\u5E03",Ce.createElement("span",{style:{cursor:"pointer",color:"#3061D0"},onClick:()=>{window.open(`/shixuns/${it==null?void 0:it.identifier}/challenges`)}},(it==null?void 0:it.shixun_name)||"--"),"\uFF1F"),onOk:()=>It(void 0,null,function*(){if(!ke(it==null?void 0:it.identifier))return new Promise((gt,$t)=>{$t()})})})}},"\u53D1\u5E03")))}].filter(He=>!He.hidden)}),Ce.createElement(We.Z,{current:Ye.page,total:(un==null?void 0:un.items_count)||(un==null?void 0:un.shixuns_count),style:{marginBottom:20},defaultPageSize:Ye.per_page,showTotal:He=>Ce.createElement("span",null,"\u5171\xA0",Ce.createElement("span",{style:{color:"#165DFF"}},He),"\xA0\u6761\u6570\u636E"),pageSize:Ye.per_page,onChange:(He,it)=>{Ye.page=He,Ye.per_page=it,Mt(Wt({},Ye)),ut(Wt({},Ye))}}),Ce.createElement("div",{className:E.bottom},Ce.createElement(Qe.ZP,{className:E.no,onClick:()=>{ze(!1)}},"\u53D6\u6D88"),Ce.createElement(Qe.ZP,{loading:_t,style:{width:_t&&75},className:E.yes,onClick:()=>It(void 0,null,function*(){if((on==null?void 0:on.length)<=0){Be.ZP.info(Et?"\u8BF7\u9009\u62E9\u4E00\u9053\u8BD5\u9898":"\u5F53\u524D\u6682\u672A\u9009\u62E9\u6570\u636E");return}Gt([...En.current],[...Pn.current],!0,on==null?void 0:on.length)})},Et?"\u5F00\u59CB\u6362\u9898":"\u786E\u8BA4"))),Ce.createElement(Ne.default,{open:ia,title:"\u9898\u76EE\u8BE6\u60C5",footer:!1,className:E.previewModal,width:1e3,centered:!0,onCancel:()=>{na(!1)},onOk:()=>{na(!1)}},Ce.createElement(ge,{qitem:_n})))};var Ke=(0,Ve.connect)(({shixunsDetail:ze,newExercisePaper:Bt})=>({shixunsDetail:ze,newExercisePaper:Bt}))(ln)},52154:function(dt,xt,oe){"use strict";oe.d(xt,{Z:function(){return Le}});var x=oe(43418),he={ul:"ul___TdfYY"},Be=oe(32637),Ne=oe(59301),Ae=Object.getOwnPropertySymbols,Ze=Object.prototype.hasOwnProperty,Fe=Object.prototype.propertyIsEnumerable,$e=(Te,We)=>{var Qe={};for(var ie in Te)Ze.call(Te,ie)&&We.indexOf(ie)<0&&(Qe[ie]=Te[ie]);if(Te!=null&&Ae)for(var ie of Ae(Te))We.indexOf(ie)<0&&Fe.call(Te,ie)&&(Qe[ie]=Te[ie]);return Qe},Le=Te=>{var We=Te,{open:Qe,onCancel:ie}=We,E=$e(We,["open","onCancel"]);return Ne.createElement(x.default,{centered:!0,open:Qe,title:Ne.createElement("div",{style:{fontWeight:"bold"}},"\u8054\u7CFB\u6559\u7814\u52A9\u7406"),width:"696px",onCancel:ie,footer:null},Ne.createElement("div",null,Ne.createElement("div",{className:"tc"},Ne.createElement("img",{className:"mt10",src:Be,width:"182px",height:"181px",style:{borderRadius:"2px",border:"1px solid #D8E3E9"}})),Ne.createElement("div",{style:{color:"#191919",fontWeight:"bold"},className:"tc font16 mt10"},"\u514D\u8D39\u6559\u7814\u52A9\u7406"),Ne.createElement("div",{style:{color:"#191919",fontWeight:"bold"},className:"tc font16"},"\u5FAE\u4FE1\u626B\u4E00\u626B\u6DFB\u52A0"),Ne.createElement("div",{style:{color:"#333"},className:"pt30 font14"},Ne.createElement("ul",{className:he.ul},Ne.createElement("li",null,"1\u3001\u89E3\u7B54\u8001\u5E08\u7591\u60D1\u3001\u5E2E\u52A9\u8001\u5E08\u66F4\u5FEB\u719F\u6089\u548C\u4F7F\u7528\u5E73\u53F0\u6559\u5B66\u3002"),Ne.createElement("li",null,"2\u3001\u534F\u52A9\u8001\u5E08\u521B\u5EFA\u8BFE\u5802\u3001\u8BFE\u7A0B\u8BBE\u8BA1\u3001\u505A\u597D\u6559\u5B66\u5DE5\u4F5C\u3002"),Ne.createElement("li",null,"3\u3001\u6839\u636E\u8001\u5E08\u6559\u5B66\u65B9\u5411\uFF0C\u5206\u4EAB\u5934\u6B4C\u5E73\u53F0C9\u9662\u6821\u3001985\u9AD8\u6821\u3001211\u9AD8\u6821\u3001\u53CC\u4E00\u6D41\u9AD8\u6821\u8001\u5E08\u7ECF\u5178\u5B9E\u8DF5\u6559\u5B66\u6848\u4F8B\u3002")))))}},78874:function(dt,xt,oe){"use strict";oe.d(xt,{I:function(){return he}});var x=oe(59301);const he=()=>{const[Be,Ne]=(0,x.useState)("hidden");return{overflow:Be,handleMouseEnter:()=>Ne("auto"),handleMouseLeave:()=>Ne("hidden")}}},77578:function(dt,xt,oe){"use strict";oe.d(xt,{Z:function(){return x}});const x=he=>he?typeof he=="function"?he():he:null},66104:function(dt,xt,oe){"use strict";oe.d(xt,{Z:function(){return rt}});var x=oe(92310),he=oe.n(x),Be=oe(11592),Ne=oe(26112),Ae=oe(59301),Ze=oe(92343),Fe=oe(36355),$e=oe(84105),Ge=oe(91857);const Le=xe=>{let{children:Pt}=xe;const{getPrefixCls:yt}=Ae.useContext(Fe.E_),Tt=yt("breadcrumb");return Ae.createElement("li",{className:`${Tt}-separator`,"aria-hidden":"true"},Pt===""?Pt:Pt||"/")};Le.__ANT_BREADCRUMB_SEPARATOR=!0;var Te=Le,We=function(xe,Pt){var yt={};for(var Tt in xe)Object.prototype.hasOwnProperty.call(xe,Tt)&&Pt.indexOf(Tt)<0&&(yt[Tt]=xe[Tt]);if(xe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var nt=0,Tt=Object.getOwnPropertySymbols(xe);nt<Tt.length;nt++)Pt.indexOf(Tt[nt])<0&&Object.prototype.propertyIsEnumerable.call(xe,Tt[nt])&&(yt[Tt[nt]]=xe[Tt[nt]]);return yt};function Qe(xe,Pt){if(xe.title===void 0||xe.title===null)return null;const yt=Object.keys(Pt).join("|");return typeof xe.title=="object"?xe.title:String(xe.title).replace(new RegExp(`:(${yt})`,"g"),(Tt,nt)=>Pt[nt]||Tt)}function ie(xe,Pt,yt,Tt){if(yt==null)return null;const{className:nt,onClick:Wt}=Pt,jt=We(Pt,["className","onClick"]),It=Object.assign(Object.assign({},(0,Ne.Z)(jt,{data:!0,aria:!0})),{onClick:Wt});return Tt!==void 0?Ae.createElement("a",Object.assign({},It,{className:he()(`${xe}-link`,nt),href:Tt}),yt):Ae.createElement("span",Object.assign({},It,{className:he()(`${xe}-link`,nt)}),yt)}function E(xe,Pt){return(Tt,nt,Wt,jt,It)=>{if(Pt)return Pt(Tt,nt,Wt,jt);const ln=Qe(Tt,nt);return ie(xe,Tt,ln,It)}}var a=function(xe,Pt){var yt={};for(var Tt in xe)Object.prototype.hasOwnProperty.call(xe,Tt)&&Pt.indexOf(Tt)<0&&(yt[Tt]=xe[Tt]);if(xe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var nt=0,Tt=Object.getOwnPropertySymbols(xe);nt<Tt.length;nt++)Pt.indexOf(Tt[nt])<0&&Object.prototype.propertyIsEnumerable.call(xe,Tt[nt])&&(yt[Tt[nt]]=xe[Tt[nt]]);return yt};const b=xe=>{const{prefixCls:Pt,separator:yt="/",children:Tt,menu:nt,overlay:Wt,dropdownProps:jt,href:It}=xe,Ke=(ze=>{if(nt||Wt){const Bt=Object.assign({},jt);if(nt){const Gt=nt||{},{items:ht}=Gt,_t=a(Gt,["items"]);Bt.menu=Object.assign(Object.assign({},_t),{items:ht==null?void 0:ht.map((be,Et)=>{var{key:tn,title:pt,label:at,path:sn}=be,mt=a(be,["key","title","label","path"]);let Ye=at!=null?at:pt;return sn&&(Ye=Ae.createElement("a",{href:`${It}${sn}`},Ye)),Object.assign(Object.assign({},mt),{key:tn!=null?tn:Et,label:Ye})})})}else Wt&&(Bt.overlay=Wt);return Ae.createElement(Ge.Z,Object.assign({placement:"bottom"},Bt),Ae.createElement("span",{className:`${Pt}-overlay-link`},ze,Ae.createElement($e.Z,null)))}return ze})(Tt);return Ke!=null?Ae.createElement(Ae.Fragment,null,Ae.createElement("li",null,Ke),yt&&Ae.createElement(Te,null,yt)):null},y=xe=>{const{prefixCls:Pt,children:yt,href:Tt}=xe,nt=a(xe,["prefixCls","children","href"]),{getPrefixCls:Wt}=Ae.useContext(Fe.E_),jt=Wt("breadcrumb",Pt);return Ae.createElement(b,Object.assign({},nt,{prefixCls:jt}),ie(jt,nt,yt,Tt))};y.__ANT_BREADCRUMB_ITEM=!0;var z=y,ne=oe(17313),re=oe(83116),le=oe(37613);const ge=xe=>{const{componentCls:Pt,iconCls:yt}=xe;return{[Pt]:Object.assign(Object.assign({},(0,ne.Wf)(xe)),{color:xe.itemColor,fontSize:xe.fontSize,[yt]:{fontSize:xe.iconFontSize},ol:{display:"flex",flexWrap:"wrap",margin:0,padding:0,listStyle:"none"},a:Object.assign({color:xe.linkColor,transition:`color ${xe.motionDurationMid}`,padding:`0 ${xe.paddingXXS}px`,borderRadius:xe.borderRadiusSM,height:xe.lineHeight*xe.fontSize,display:"inline-block",marginInline:-xe.marginXXS,"&:hover":{color:xe.linkHoverColor,backgroundColor:xe.colorBgTextHover}},(0,ne.Qy)(xe)),"li:last-child":{color:xe.lastItemColor},[`${Pt}-separator`]:{marginInline:xe.separatorMargin,color:xe.separatorColor},[`${Pt}-link`]:{[`
> ${yt} + span,
> ${yt} + a
`]:{marginInlineStart:xe.marginXXS}},[`${Pt}-overlay-link`]:{borderRadius:xe.borderRadiusSM,height:xe.lineHeight*xe.fontSize,display:"inline-block",padding:`0 ${xe.paddingXXS}px`,marginInline:-xe.marginXXS,[`> ${yt}`]:{marginInlineStart:xe.marginXXS,fontSize:xe.fontSizeIcon},"&:hover":{color:xe.linkHoverColor,backgroundColor:xe.colorBgTextHover,a:{color:xe.linkHoverColor}},a:{"&:hover":{backgroundColor:"transparent"}}},[`&${xe.componentCls}-rtl`]:{direction:"rtl"}})}};var fe=(0,re.Z)("Breadcrumb",xe=>{const Pt=(0,le.TS)(xe,{});return[ge(Pt)]},xe=>({itemColor:xe.colorTextDescription,lastItemColor:xe.colorText,iconFontSize:xe.fontSize,linkColor:xe.colorTextDescription,linkHoverColor:xe.colorText,separatorColor:xe.colorTextDescription,separatorMargin:xe.marginXS})),Pe=function(xe,Pt){var yt={};for(var Tt in xe)Object.prototype.hasOwnProperty.call(xe,Tt)&&Pt.indexOf(Tt)<0&&(yt[Tt]=xe[Tt]);if(xe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var nt=0,Tt=Object.getOwnPropertySymbols(xe);nt<Tt.length;nt++)Pt.indexOf(Tt[nt])<0&&Object.prototype.propertyIsEnumerable.call(xe,Tt[nt])&&(yt[Tt[nt]]=xe[Tt[nt]]);return yt};function Ve(xe){const{breadcrumbName:Pt,children:yt}=xe,Tt=Pe(xe,["breadcrumbName","children"]),nt=Object.assign({title:Pt},Tt);return yt&&(nt.menu={items:yt.map(Wt=>{var{breadcrumbName:jt}=Wt,It=Pe(Wt,["breadcrumbName"]);return Object.assign(Object.assign({},It),{title:jt})})}),nt}function Me(xe,Pt){return(0,Ae.useMemo)(()=>xe||(Pt?Pt.map(Ve):null),[xe,Pt])}var vt=function(xe,Pt){var yt={};for(var Tt in xe)Object.prototype.hasOwnProperty.call(xe,Tt)&&Pt.indexOf(Tt)<0&&(yt[Tt]=xe[Tt]);if(xe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var nt=0,Tt=Object.getOwnPropertySymbols(xe);nt<Tt.length;nt++)Pt.indexOf(Tt[nt])<0&&Object.prototype.propertyIsEnumerable.call(xe,Tt[nt])&&(yt[Tt[nt]]=xe[Tt[nt]]);return yt};const Ie=(xe,Pt)=>{if(Pt===void 0)return Pt;let yt=(Pt||"").replace(/^\//,"");return Object.keys(xe).forEach(Tt=>{yt=yt.replace(`:${Tt}`,xe[Tt])}),yt},Ce=xe=>{const{prefixCls:Pt,separator:yt="/",style:Tt,className:nt,rootClassName:Wt,routes:jt,items:It,children:ln,itemRender:Ke,params:ze={}}=xe,Bt=vt(xe,["prefixCls","separator","style","className","rootClassName","routes","items","children","itemRender","params"]),{getPrefixCls:Gt,direction:ht,breadcrumb:_t}=Ae.useContext(Fe.E_);let be;const Et=Gt("breadcrumb",Pt),[tn,pt]=fe(Et),at=Me(It,jt),sn=E(Et,Ke);if(at&&at.length>0){const Mt=[],Gn=It||jt;be=at.map((Rn,Lt)=>{const{path:kn,key:on,type:Mn,menu:un,overlay:Xn,onClick:Fa,className:oa,separator:Yt,dropdownProps:_n}=Rn,wn=Ie(ze,kn);wn!==void 0&&Mt.push(wn);const ia=on!=null?on:Lt;if(Mn==="separator")return Ae.createElement(Te,{key:ia},Yt);const na={},Zn=Lt===at.length-1;un?na.menu=un:Xn&&(na.overlay=Xn);let{href:Qt}=Rn;return Mt.length&&wn!==void 0&&(Qt=`#/${Mt.join("/")}`),Ae.createElement(b,Object.assign({key:ia},na,(0,Ne.Z)(Rn,{data:!0,aria:!0}),{className:oa,dropdownProps:_n,href:Qt,separator:Zn?"":yt,onClick:Fa,prefixCls:Et}),sn(Rn,ze,Gn,Mt,Qt))})}else if(ln){const Mt=(0,Be.Z)(ln).length;be=(0,Be.Z)(ln).map((Gn,Rn)=>{if(!Gn)return Gn;const Lt=Rn===Mt-1;return(0,Ze.Tm)(Gn,{separator:Lt?"":yt,key:Rn})})}const mt=he()(Et,_t==null?void 0:_t.className,{[`${Et}-rtl`]:ht==="rtl"},nt,Wt,pt),Ye=Object.assign(Object.assign({},_t==null?void 0:_t.style),Tt);return tn(Ae.createElement("nav",Object.assign({className:mt,style:Ye},Bt),Ae.createElement("ol",null,be)))};Ce.Item=z,Ce.Separator=Te;var et=Ce,rt=et},19842:function(dt,xt,oe){"use strict";oe.d(xt,{Z:function(){return Ln}});var x=oe(92393),he=oe(59301),Be=oe(33853),Ne=oe(58617),Ae=oe(38819),Ze=oe(92310),Fe=oe.n(Ze),$e=oe(5016),Ge=oe(52456),Le=oe(5883),Te=oe(77861),We=oe(17115),Qe=oe(90782),ie=oe(6089),E=oe(18929),a=he.createContext(null),b=a,y=oe(10928),z=oe(18082),ne=oe(20049),re="__rc_cascader_search_mark__",le=function(Je,qe,lt){var ft=lt.label;return qe.some(function(ut){return String(ut[ft]).toLowerCase().includes(Je.toLowerCase())})},ge=function(Je,qe,lt,ft){return qe.map(function(ut){return ut[ft.label]}).join(" / ")},fe=function(Ee,Je,qe,lt,ft,ut){var wt=ft.filter,De=wt===void 0?le:wt,_e=ft.render,ke=_e===void 0?ge:_e,st=ft.limit,Ut=st===void 0?50:st,qt=ft.sort;return he.useMemo(function(){var In=[];if(!Ee)return[];function vn(He,it){var dn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;He.forEach(function(gt){if(!(!qt&&Ut!==!1&&Ut>0&&In.length>=Ut)){var $t=[].concat((0,x.Z)(it),[gt]),gn=gt[qe.children],Aa=dn||gt.disabled;if((!gn||gn.length===0||ut)&&De(Ee,$t,{label:qe.label})){var zn;In.push((0,ne.Z)((0,ne.Z)({},gt),{},(zn={disabled:Aa},(0,z.Z)(zn,qe.label,ke(Ee,$t,lt,qe)),(0,z.Z)(zn,re,$t),(0,z.Z)(zn,qe.children,void 0),zn)))}gn&&vn(gt[qe.children],$t,Aa)}})}return vn(Je,[]),qt&&In.sort(function(He,it){return qt(He[re],it[re],Ee,qe)}),Ut!==!1&&Ut>0?In.slice(0,Ut):In},[Ee,Je,qe,lt,ke,ut,De,qt,Ut])},Pe="__RC_CASCADER_SPLIT__",Ve="SHOW_PARENT",Me="SHOW_CHILD";function vt(Ee){return Ee.join(Pe)}function Ie(Ee){return Ee.map(vt)}function Ce(Ee){return Ee.split(Pe)}function et(Ee){var Je=Ee||{},qe=Je.label,lt=Je.value,ft=Je.children,ut=lt||"value";return{label:qe||"label",value:ut,key:ut,children:ft||"children"}}function rt(Ee,Je){var qe,lt;return(qe=Ee.isLeaf)!==null&&qe!==void 0?qe:!((lt=Ee[Je.children])!==null&&lt!==void 0&&lt.length)}function xe(Ee){var Je=Ee.parentElement;if(Je){var qe=Ee.offsetTop-Je.offsetTop;qe-Je.scrollTop<0?Je.scrollTo({top:qe}):qe+Ee.offsetHeight-Je.scrollTop>Je.offsetHeight&&Je.scrollTo({top:qe+Ee.offsetHeight-Je.offsetHeight})}}function Pt(Ee,Je){return Ee.map(function(qe){var lt;return(lt=qe[re])===null||lt===void 0?void 0:lt.map(function(ft){return ft[Je.value]})})}function yt(Ee,Je,qe){var lt=new Set(Ee),ft=Je();return Ee.filter(function(ut){var wt=ft[ut],De=wt?wt.parent:null,_e=wt?wt.children:null;return wt&&wt.node.disabled?!0:qe===Me?!(_e&&_e.some(function(ke){return ke.key&&lt.has(ke.key)})):!(De&&!De.node.disabled&&lt.has(De.key))})}function Tt(Ee,Je,qe){for(var lt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,ft=Je,ut=[],wt=function(){var ke,st,Ut,qt=Ee[De],In=(ke=ft)===null||ke===void 0?void 0:ke.findIndex(function(He){var it=He[qe.value];return lt?String(it)===String(qt):it===qt}),vn=In!==-1?(st=ft)===null||st===void 0?void 0:st[In]:null;ut.push({value:(Ut=vn==null?void 0:vn[qe.value])!==null&&Ut!==void 0?Ut:qt,index:In,option:vn}),ft=vn==null?void 0:vn[qe.children]},De=0;De<Ee.length;De+=1)wt();return ut}var nt=function(Ee,Je,qe,lt,ft){return he.useMemo(function(){var ut=ft||function(wt){var De=lt?wt.slice(-1):wt,_e=" / ";return De.every(function(ke){return["string","number"].includes((0,y.Z)(ke))})?De.join(_e):De.reduce(function(ke,st,Ut){var qt=he.isValidElement(st)?he.cloneElement(st,{key:Ut}):st;return Ut===0?[qt]:[].concat((0,x.Z)(ke),[_e,qt])},[])};return Ee.map(function(wt){var De,_e,ke=Tt(wt,Je,qe),st=ut(ke.map(function(qt){var In,vn=qt.option,He=qt.value;return(In=vn==null?void 0:vn[qe.label])!==null&&In!==void 0?In:He}),ke.map(function(qt){var In=qt.option;return In})),Ut=vt(wt);return{label:st,value:Ut,key:Ut,valueCells:wt,disabled:(De=ke[ke.length-1])===null||De===void 0||(_e=De.option)===null||_e===void 0?void 0:_e.disabled}})},[Ee,Je,qe,ft,lt])},Wt=oe(71430),jt=function(Ee,Je){var qe=he.useRef({options:null,info:null}),lt=he.useCallback(function(){return qe.current.options!==Ee&&(qe.current.options=Ee,qe.current.info=(0,Wt.I8)(Ee,{fieldNames:Je,initWrapper:function(ut){return(0,ne.Z)((0,ne.Z)({},ut),{},{pathKeyEntities:{}})},processEntity:function(ut,wt){var De=ut.nodes.map(function(_e){return _e[Je.value]}).join(Pe);wt.pathKeyEntities[De]=ut,ut.key=De}})),qe.current.info.pathKeyEntities},[Je,Ee]);return lt},It=function(Ee,Je){return he.useCallback(function(qe){var lt=[],ft=[];return qe.forEach(function(ut){var wt=Tt(ut,Ee,Je);wt.every(function(De){return De.option})?ft.push(ut):lt.push(ut)}),[ft,lt]},[Ee,Je])},ln=oe(48736);function Ke(Ee){return he.useMemo(function(){if(!Ee)return[!1,{}];var Je={matchInputWidth:!0,limit:50};return Ee&&(0,y.Z)(Ee)==="object"&&(Je=(0,ne.Z)((0,ne.Z)({},Je),Ee)),Je.limit<=0&&delete Je.limit,[!0,Je]},[Ee])}var ze=he.memo(function(Ee){var Je=Ee.children;return Je},function(Ee,Je){return!Je.open}),Bt=ze;function Gt(Ee){var Je,qe=Ee.prefixCls,lt=Ee.checked,ft=Ee.halfChecked,ut=Ee.disabled,wt=Ee.onClick,De=Ee.disableCheckbox,_e=he.useContext(b),ke=_e.checkable,st=typeof ke!="boolean"?ke:null;return he.createElement("span",{className:Fe()("".concat(qe),(Je={},(0,z.Z)(Je,"".concat(qe,"-checked"),lt),(0,z.Z)(Je,"".concat(qe,"-indeterminate"),!lt&&ft),(0,z.Z)(Je,"".concat(qe,"-disabled"),ut||De),Je)),onClick:wt},st)}var ht="__cascader_fix_label__";function _t(Ee){var Je=Ee.prefixCls,qe=Ee.multiple,lt=Ee.options,ft=Ee.activeValue,ut=Ee.prevValuePath,wt=Ee.onToggleOpen,De=Ee.onSelect,_e=Ee.onActive,ke=Ee.checkedSet,st=Ee.halfCheckedSet,Ut=Ee.loadingKeys,qt=Ee.isSelectable,In=Ee.searchValue,vn="".concat(Je,"-menu"),He="".concat(Je,"-menu-item"),it=he.useContext(b),dn=it.fieldNames,gt=it.changeOnSelect,$t=it.expandTrigger,gn=it.expandIcon,Aa=it.loadingIcon,zn=it.dropdownMenuColumnStyle,bt=$t==="hover",Za=he.useMemo(function(){return lt.map(function(qn){var Na,Ca=qn.disabled,ja=qn.disableCheckbox,xa=qn[re],Ua=(Na=qn[ht])!==null&&Na!==void 0?Na:qn[dn.label],Ga=qn[dn.value],$a=rt(qn,dn),Rt=xa?xa.map(function(Kt){return Kt[dn.value]}):[].concat((0,x.Z)(ut),[Ga]),ma=vt(Rt),Ht=Ut.includes(ma),va=ke.has(ma),aa=st.has(ma);return{disabled:Ca,label:Ua,value:Ga,isLeaf:$a,isLoading:Ht,checked:va,halfChecked:aa,option:qn,disableCheckbox:ja,fullPath:Rt,fullPathKey:ma}})},[lt,ke,dn,st,Ut,ut]);return he.createElement("ul",{className:vn,role:"menu"},Za.map(function(qn){var Na,Ca=qn.disabled,ja=qn.label,xa=qn.value,Ua=qn.isLeaf,Ga=qn.isLoading,$a=qn.checked,Rt=qn.halfChecked,ma=qn.option,Ht=qn.fullPath,va=qn.fullPathKey,aa=qn.disableCheckbox,Kt=function(){if(!(Ca||In)){var Sa=(0,x.Z)(Ht);bt&&Ua&&Sa.pop(),_e(Sa)}},Fn=function(){qt(ma)&&De(Ht,Ua)},Qn;return typeof ma.title=="string"?Qn=ma.title:typeof ja=="string"&&(Qn=ja),he.createElement("li",{key:va,className:Fe()(He,(Na={},(0,z.Z)(Na,"".concat(He,"-expand"),!Ua),(0,z.Z)(Na,"".concat(He,"-active"),ft===xa||ft===va),(0,z.Z)(Na,"".concat(He,"-disabled"),Ca),(0,z.Z)(Na,"".concat(He,"-loading"),Ga),Na)),style:zn,role:"menuitemcheckbox",title:Qn,"aria-checked":$a,"data-path-key":va,onClick:function(){Kt(),!aa&&(!qe||Ua)&&Fn()},onDoubleClick:function(){gt&&wt(!1)},onMouseEnter:function(){bt&&Kt()},onMouseDown:function(Sa){Sa.preventDefault()}},qe&&he.createElement(Gt,{prefixCls:"".concat(Je,"-checkbox"),checked:$a,halfChecked:Rt,disabled:Ca||aa,disableCheckbox:aa,onClick:function(Sa){aa||(Sa.stopPropagation(),Fn())}}),he.createElement("div",{className:"".concat(He,"-content")},ja),!Ga&&gn&&!Ua&&he.createElement("div",{className:"".concat(He,"-expand-icon")},gn),Ga&&Aa&&he.createElement("div",{className:"".concat(He,"-loading-icon")},Aa))}))}var be=function(){var Ee=(0,Te.lk)(),Je=Ee.multiple,qe=Ee.open,lt=he.useContext(b),ft=lt.values,ut=he.useState([]),wt=(0,Ge.Z)(ut,2),De=wt[0],_e=wt[1];return he.useEffect(function(){if(qe&&!Je){var ke=ft[0];_e(ke||[])}},[qe]),[De,_e]},Et=oe(10228),tn=function(Ee,Je,qe,lt,ft,ut){var wt=(0,Te.lk)(),De=wt.direction,_e=wt.searchValue,ke=wt.toggleOpen,st=wt.open,Ut=De==="rtl",qt=he.useMemo(function(){for(var zn=-1,bt=Je,Za=[],qn=[],Na=lt.length,Ca=Pt(Je,qe),ja=function(ma){var Ht=bt.findIndex(function(va,aa){return(Ca[aa]?vt(Ca[aa]):va[qe.value])===lt[ma]});if(Ht===-1)return"break";zn=Ht,Za.push(zn),qn.push(lt[ma]),bt=bt[zn][qe.children]},xa=0;xa<Na&&bt;xa+=1){var Ua=ja(xa);if(Ua==="break")break}for(var Ga=Je,$a=0;$a<Za.length-1;$a+=1)Ga=Ga[Za[$a]][qe.children];return[qn,zn,Ga,Ca]},[lt,qe,Je]),In=(0,Ge.Z)(qt,4),vn=In[0],He=In[1],it=In[2],dn=In[3],gt=function(bt){ft(bt)},$t=function(bt){var Za=it.length,qn=He;qn===-1&&bt<0&&(qn=Za);for(var Na=0;Na<Za;Na+=1){qn=(qn+bt+Za)%Za;var Ca=it[qn];if(Ca&&!Ca.disabled){var ja=vn.slice(0,-1).concat(dn[qn]?vt(dn[qn]):Ca[qe.value]);gt(ja);return}}},gn=function(){if(vn.length>1){var bt=vn.slice(0,-1);gt(bt)}else ke(!1)},Aa=function(){var bt,Za=((bt=it[He])===null||bt===void 0?void 0:bt[qe.children])||[],qn=Za.find(function(Ca){return!Ca.disabled});if(qn){var Na=[].concat((0,x.Z)(vn),[qn[qe.value]]);gt(Na)}};he.useImperativeHandle(Ee,function(){return{onKeyDown:function(bt){var Za=bt.which;switch(Za){case Et.Z.UP:case Et.Z.DOWN:{var qn=0;Za===Et.Z.UP?qn=-1:Za===Et.Z.DOWN&&(qn=1),qn!==0&&$t(qn);break}case Et.Z.LEFT:{if(_e)break;Ut?Aa():gn();break}case Et.Z.RIGHT:{if(_e)break;Ut?gn():Aa();break}case Et.Z.BACKSPACE:{_e||gn();break}case Et.Z.ENTER:{if(vn.length){var Na=it[He],Ca=(Na==null?void 0:Na[re])||[];Ca.length?ut(Ca.map(function(ja){return ja[qe.value]}),Ca[Ca.length-1]):ut(vn,it[He])}break}case Et.Z.ESC:ke(!1),st&&bt.stopPropagation()}},onKeyUp:function(){}}})},pt=he.forwardRef(function(Ee,Je){var qe,lt,ft,ut,wt=(0,Te.lk)(),De=wt.prefixCls,_e=wt.multiple,ke=wt.searchValue,st=wt.toggleOpen,Ut=wt.notFoundContent,qt=wt.direction,In=wt.open,vn=he.useRef(),He=qt==="rtl",it=he.useContext(b),dn=it.options,gt=it.values,$t=it.halfValues,gn=it.fieldNames,Aa=it.changeOnSelect,zn=it.onSelect,bt=it.searchOptions,Za=it.dropdownPrefixCls,qn=it.loadData,Na=it.expandTrigger,Ca=Za||De,ja=he.useState([]),xa=(0,Ge.Z)(ja,2),Ua=xa[0],Ga=xa[1],$a=function(ka){if(!(!qn||ke)){var nr=Tt(ka,dn,gn),ra=nr.map(function(Pa){var Va=Pa.option;return Va}),Ka=ra[ra.length-1];if(Ka&&!rt(Ka,gn)){var er=vt(ka);Ga(function(Pa){return[].concat((0,x.Z)(Pa),[er])}),qn(ra)}}};he.useEffect(function(){Ua.length&&Ua.forEach(function(Ra){var ka=Ce(Ra),nr=Tt(ka,dn,gn,!0).map(function(Ka){var er=Ka.option;return er}),ra=nr[nr.length-1];(!ra||ra[gn.children]||rt(ra,gn))&&Ga(function(Ka){return Ka.filter(function(er){return er!==Ra})})})},[dn,Ua,gn]);var Rt=he.useMemo(function(){return new Set(Ie(gt))},[gt]),ma=he.useMemo(function(){return new Set(Ie($t))},[$t]),Ht=be(),va=(0,Ge.Z)(Ht,2),aa=va[0],Kt=va[1],Fn=function(ka){Kt(ka),$a(ka)},Qn=function(ka){var nr=ka.disabled,ra=rt(ka,gn);return!nr&&(ra||Aa||_e)},hn=function(ka,nr){var ra=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;zn(ka),!_e&&(nr||Aa&&(Na==="hover"||ra))&&st(!1)},Sa=he.useMemo(function(){return ke?bt:dn},[ke,bt,dn]),sa=he.useMemo(function(){for(var Ra=[{options:Sa}],ka=Sa,nr=Pt(ka,gn),ra=function(){var Va=aa[Ka],ar=ka.find(function(Nr,vr){return(nr[vr]?vt(nr[vr]):Nr[gn.value])===Va}),Qa=ar==null?void 0:ar[gn.children];if(!(Qa!=null&&Qa.length))return"break";ka=Qa,Ra.push({options:Qa})},Ka=0;Ka<aa.length;Ka+=1){var er=ra();if(er==="break")break}return Ra},[Sa,aa,gn]),Ia=function(ka,nr){Qn(nr)&&hn(ka,rt(nr,gn),!0)};tn(Je,Sa,gn,aa,Fn,Ia),he.useEffect(function(){for(var Ra=0;Ra<aa.length;Ra+=1){var ka,nr=aa.slice(0,Ra+1),ra=vt(nr),Ka=(ka=vn.current)===null||ka===void 0?void 0:ka.querySelector('li[data-path-key="'.concat(ra.replace(/\\{0,2}"/g,'\\"'),'"]'));Ka&&xe(Ka)}},[aa]);var Ya=!((qe=sa[0])!==null&&qe!==void 0&&(lt=qe.options)!==null&&lt!==void 0&&lt.length),lr=[(ft={},(0,z.Z)(ft,gn.value,"__EMPTY__"),(0,z.Z)(ft,ht,Ut),(0,z.Z)(ft,"disabled",!0),ft)],Br=(0,ne.Z)((0,ne.Z)({},Ee),{},{multiple:!Ya&&_e,onSelect:hn,onActive:Fn,onToggleOpen:st,checkedSet:Rt,halfCheckedSet:ma,loadingKeys:Ua,isSelectable:Qn}),or=Ya?[{options:lr}]:sa,Wr=or.map(function(Ra,ka){var nr=aa.slice(0,ka),ra=aa[ka];return he.createElement(_t,(0,$e.Z)({key:ka},Br,{searchValue:ke,prefixCls:Ca,options:Ra.options,prevValuePath:nr,activeValue:ra}))});return he.createElement(Bt,{open:In},he.createElement("div",{className:Fe()("".concat(Ca,"-menus"),(ut={},(0,z.Z)(ut,"".concat(Ca,"-menu-empty"),Ya),(0,z.Z)(ut,"".concat(Ca,"-rtl"),He),ut)),ref:vn},Wr))}),at=pt;function sn(Ee){var Je=Ee.onPopupVisibleChange,qe=Ee.popupVisible,lt=Ee.popupClassName,ft=Ee.popupPlacement;warning(!Je,"`onPopupVisibleChange` is deprecated. Please use `onDropdownVisibleChange` instead."),warning(qe===void 0,"`popupVisible` is deprecated. Please use `open` instead."),warning(lt===void 0,"`popupClassName` is deprecated. Please use `dropdownClassName` instead."),warning(ft===void 0,"`popupPlacement` is deprecated. Please use `placement` instead.")}function mt(Ee,Je){if(Ee){var qe=function lt(ft){for(var ut=0;ut<ft.length;ut++){var wt=ft[ut];if(wt[Je==null?void 0:Je.value]===null)return warning(!1,"`value` in Cascader options should not be `null`."),!0;if(Array.isArray(wt[Je==null?void 0:Je.children])&&lt(wt[Je==null?void 0:Je.children]))return!0}};qe(Ee)}}var Ye=null,Mt=["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 Gn(Ee){return Array.isArray(Ee)&&Array.isArray(Ee[0])}function Rn(Ee){return Ee?Gn(Ee)?Ee:(Ee.length===0?[]:[Ee]).map(function(Je){return Array.isArray(Je)?Je:[Je]}):[]}var Lt=he.forwardRef(function(Ee,Je){var qe=Ee.id,lt=Ee.prefixCls,ft=lt===void 0?"rc-cascader":lt,ut=Ee.fieldNames,wt=Ee.defaultValue,De=Ee.value,_e=Ee.changeOnSelect,ke=Ee.onChange,st=Ee.displayRender,Ut=Ee.checkable,qt=Ee.autoClearSearchValue,In=qt===void 0?!0:qt,vn=Ee.searchValue,He=Ee.onSearch,it=Ee.showSearch,dn=Ee.expandTrigger,gt=Ee.options,$t=Ee.dropdownPrefixCls,gn=Ee.loadData,Aa=Ee.popupVisible,zn=Ee.open,bt=Ee.popupClassName,Za=Ee.dropdownClassName,qn=Ee.dropdownMenuColumnStyle,Na=Ee.popupPlacement,Ca=Ee.placement,ja=Ee.onDropdownVisibleChange,xa=Ee.onPopupVisibleChange,Ua=Ee.expandIcon,Ga=Ua===void 0?">":Ua,$a=Ee.loadingIcon,Rt=Ee.children,ma=Ee.dropdownMatchSelectWidth,Ht=ma===void 0?!1:ma,va=Ee.showCheckedStrategy,aa=va===void 0?Ve:va,Kt=(0,Le.Z)(Ee,Mt),Fn=(0,We.ZP)(qe),Qn=!!Ut,hn=(0,E.Z)(wt,{value:De,postState:Rn}),Sa=(0,Ge.Z)(hn,2),sa=Sa[0],Ia=Sa[1],Ya=he.useMemo(function(){return et(ut)},[JSON.stringify(ut)]),lr=he.useMemo(function(){return gt||[]},[gt]),Br=jt(lr,Ya),or=he.useCallback(function(Sn){var Ot=Br();return Sn.map(function(se){var tt=Ot[se].nodes;return tt.map(function(St){return St[Ya.value]})})},[Br,Ya]),Wr=(0,E.Z)("",{value:vn,postState:function(Ot){return Ot||""}}),Ra=(0,Ge.Z)(Wr,2),ka=Ra[0],nr=Ra[1],ra=function(Ot,se){nr(Ot),se.source!=="blur"&&He&&He(Ot)},Ka=Ke(it),er=(0,Ge.Z)(Ka,2),Pa=er[0],Va=er[1],ar=fe(ka,lr,Ya,$t||ft,Va,_e),Qa=It(lr,Ya),Nr=he.useMemo(function(){var Sn=Qa(sa),Ot=(0,Ge.Z)(Sn,2),se=Ot[0],tt=Ot[1];if(!Qn||!sa.length)return[se,[],tt];var St=Ie(se),zt=Br(),ot=(0,Qe.S)(St,!0,zt),nn=ot.checkedKeys,Xt=ot.halfCheckedKeys;return[or(nn),or(Xt),tt]},[Qn,sa,Br,or,Qa]),vr=(0,Ge.Z)(Nr,3),Rr=vr[0],_r=vr[1],Ja=vr[2],Tr=he.useMemo(function(){var Sn=Ie(Rr),Ot=yt(Sn,Br,aa);return[].concat((0,x.Z)(Ja),(0,x.Z)(or(Ot)))},[Rr,Br,or,Ja,aa]),Or=nt(Tr,lr,Ya,Qn,st),$r=(0,ie.Z)(function(Sn){if(Ia(Sn),ke){var Ot=Rn(Sn),se=Ot.map(function(zt){return Tt(zt,lr,Ya).map(function(ot){return ot.option})}),tt=Qn?Ot:Ot[0],St=Qn?se:se[0];ke(tt,St)}}),Jr=(0,ie.Z)(function(Sn){if((!Qn||In)&&nr(""),!Qn)$r(Sn);else{var Ot=vt(Sn),se=Ie(Rr),tt=Ie(_r),St=se.includes(Ot),zt=Ja.some(function(cn){return vt(cn)===Ot}),ot=Rr,nn=Ja;if(zt&&!St)nn=Ja.filter(function(cn){return vt(cn)!==Ot});else{var Xt=St?se.filter(function(cn){return cn!==Ot}):[].concat((0,x.Z)(se),[Ot]),Vt=Br(),Jt;if(St){var $n=(0,Qe.S)(Xt,{checked:!1,halfCheckedKeys:tt},Vt);Jt=$n.checkedKeys}else{var Da=(0,Qe.S)(Xt,!0,Vt);Jt=Da.checkedKeys}var La=yt(Jt,Br,aa);ot=or(La)}$r([].concat((0,x.Z)(nn),(0,x.Z)(ot)))}}),lo=function(Ot,se){if(se.type==="clear"){$r([]);return}var tt=se.values[0],St=tt.valueCells;Jr(St)},pr=zn!==void 0?zn:Aa,uo=Za||bt,Fo=Ca||Na,oo=function(Ot){ja==null||ja(Ot),xa==null||xa(Ot)},Yr=he.useMemo(function(){return{options:lr,fieldNames:Ya,values:Rr,halfValues:_r,changeOnSelect:_e,onSelect:Jr,checkable:Ut,searchOptions:ar,dropdownPrefixCls:$t,loadData:gn,expandTrigger:dn,expandIcon:Ga,loadingIcon:$a,dropdownMenuColumnStyle:qn}},[lr,Ya,Rr,_r,_e,Jr,Ut,ar,$t,gn,dn,Ga,$a,qn]),so=!(ka?ar:lr).length,ea=ka&&Va.matchInputWidth||so?{}:{minWidth:"auto"};return he.createElement(b.Provider,{value:Yr},he.createElement(Te.Ac,(0,$e.Z)({},Kt,{ref:Je,id:Fn,prefixCls:ft,autoClearSearchValue:In,dropdownMatchSelectWidth:Ht,dropdownStyle:ea,displayValues:Or,onDisplayValuesChange:lo,mode:Qn?"multiple":void 0,searchValue:ka,onSearch:ra,showSearch:Pa,OptionList:at,emptyOptions:so,open:pr,dropdownClassName:uo,placement:Fo,onDropdownVisibleChange:oo,getRawInputElement:function(){return Rt}})))});Lt.SHOW_PARENT=Ve,Lt.SHOW_CHILD=Me;var kn=Lt,on=kn,Mn=oe(2738),un=oe(62892),Xn=oe(53487),Fa=oe(19080),oa=oe(36355),Yt=oe(93891),_n=oe(1684),wn=oe(19716),ia=oe(32441),na=oe(14154),Zn=oe(58582),Qt=oe(84443),Nt=oe(66339),fn=oe(33234),Dn=oe(98447),la=oe(17313),Jn=oe(74207),wa=oe(83116);const Wn=Ee=>{const{prefixCls:Je,componentCls:qe,antCls:lt}=Ee,ft=`${qe}-menu-item`,ut=`
&${ft}-expand ${ft}-expand-icon,
${ft}-loading-icon
`;return[{[qe]:{width:Ee.controlWidth}},{[`${qe}-dropdown`]:[(0,Dn.C2)(`${Je}-checkbox`,Ee),{[`&${lt}-select-dropdown`]:{padding:0}},{[qe]:{"&-checkbox":{top:0,marginInlineEnd:Ee.paddingXS},"&-menus":{display:"flex",flexWrap:"nowrap",alignItems:"flex-start",[`&${qe}-menu-empty`]:{[`${qe}-menu`]:{width:"100%",height:"auto",[ft]:{color:Ee.colorTextDisabled}}}},"&-menu":{flexGrow:1,minWidth:Ee.controlItemWidth,height:Ee.dropdownHeight,margin:0,padding:Ee.menuPadding,overflow:"auto",verticalAlign:"top",listStyle:"none","-ms-overflow-style":"-ms-autohiding-scrollbar","&:not(:last-child)":{borderInlineEnd:`${Ee.lineWidth}px ${Ee.lineType} ${Ee.colorSplit}`},"&-item":Object.assign(Object.assign({},la.vS),{display:"flex",flexWrap:"nowrap",alignItems:"center",padding:Ee.optionPadding,lineHeight:Ee.lineHeight,cursor:"pointer",transition:`all ${Ee.motionDurationMid}`,borderRadius:Ee.borderRadiusSM,"&:hover":{background:Ee.controlItemBgHover},"&-disabled":{color:Ee.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"},[ut]:{color:Ee.colorTextDisabled}},[`&-active:not(${ft}-disabled)`]:{"&, &:hover":{fontWeight:Ee.optionSelectedFontWeight,backgroundColor:Ee.optionSelectedBg}},"&-content":{flex:"auto"},[ut]:{marginInlineStart:Ee.paddingXXS,color:Ee.colorTextDescription,fontSize:Ee.fontSizeIcon},"&-keyword":{color:Ee.colorHighlight}})}}}]},{[`${qe}-dropdown-rtl`]:{direction:"rtl"}},(0,Jn.c)(Ee)]};var jn=(0,wa.Z)("Cascader",Ee=>[Wn(Ee)],Ee=>{const Je=Math.round((Ee.controlHeight-Ee.fontSize*Ee.lineHeight)/2);return{controlWidth:184,controlItemWidth:111,dropdownHeight:180,optionSelectedBg:Ee.controlItemBgActive,optionSelectedFontWeight:Ee.fontWeightStrong,optionPadding:`${Je}px ${Ee.paddingSM}px`,menuPadding:Ee.paddingXXS}}),ya=function(Ee,Je){var qe={};for(var lt in Ee)Object.prototype.hasOwnProperty.call(Ee,lt)&&Je.indexOf(lt)<0&&(qe[lt]=Ee[lt]);if(Ee!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ft=0,lt=Object.getOwnPropertySymbols(Ee);ft<lt.length;ft++)Je.indexOf(lt[ft])<0&&Object.prototype.propertyIsEnumerable.call(Ee,lt[ft])&&(qe[lt[ft]]=Ee[lt[ft]]);return qe};const{SHOW_CHILD:fa,SHOW_PARENT:Ba}=on;function Ta(Ee,Je,qe){const lt=Ee.toLowerCase().split(Je).reduce((wt,De,_e)=>_e===0?[De]:[].concat((0,x.Z)(wt),[Je,De]),[]),ft=[];let ut=0;return lt.forEach((wt,De)=>{const _e=ut+wt.length;let ke=Ee.slice(ut,_e);ut=_e,De%2===1&&(ke=he.createElement("span",{className:`${qe}-menu-item-keyword`,key:`separator-${De}`},ke)),ft.push(ke)}),ft}const At=(Ee,Je,qe,lt)=>{const ft=[],ut=Ee.toLowerCase();return Je.forEach((wt,De)=>{De!==0&&ft.push(" / ");let _e=wt[lt.label];const ke=typeof _e;(ke==="string"||ke==="number")&&(_e=Ta(String(_e),ut,qe)),ft.push(_e)}),ft},Pn=he.forwardRef((Ee,Je)=>{const{prefixCls:qe,size:lt,disabled:ft,className:ut,rootClassName:wt,multiple:De,bordered:_e=!0,transitionName:ke,choiceTransitionName:st="",popupClassName:Ut,dropdownClassName:qt,expandIcon:In,placement:vn,showSearch:He,allowClear:it=!0,notFoundContent:dn,direction:gt,getPopupContainer:$t,status:gn,showArrow:Aa,builtinPlacements:zn,style:bt}=Ee,Za=ya(Ee,["prefixCls","size","disabled","className","rootClassName","multiple","bordered","transitionName","choiceTransitionName","popupClassName","dropdownClassName","expandIcon","placement","showSearch","allowClear","notFoundContent","direction","getPopupContainer","status","showArrow","builtinPlacements","style"]),qn=(0,Mn.Z)(Za,["suffixIcon"]),{getPopupContainer:Na,getPrefixCls:Ca,renderEmpty:ja,direction:xa,popupOverflow:Ua,cascader:Ga}=he.useContext(oa.E_),$a=gt||xa,Rt=$a==="rtl",{status:ma,hasFeedback:Ht,isFormItemInput:va,feedbackIcon:aa}=he.useContext(ia.aM),Kt=(0,Fa.F)(ma,gn),Fn=dn||(ja==null?void 0:ja("Cascader"))||he.createElement(Yt.Z,{componentName:"Cascader"}),Qn=Ca(),hn=Ca("select",qe),Sa=Ca("cascader",qe),[sa,Ia]=(0,na.Z)(hn),[Ya]=jn(Sa),{compactSize:lr,compactItemClassnames:Br}=(0,fn.ri)(hn,gt),or=Fe()(Ut||qt,`${Sa}-dropdown`,{[`${Sa}-dropdown-rtl`]:$a==="rtl"},wt,Ia),Wr=he.useMemo(()=>{if(!He)return He;let Ja={render:At};return typeof He=="object"&&(Ja=Object.assign(Object.assign({},Ja),He)),Ja},[He]),Ra=(0,wn.Z)(Ja=>{var Tr;return(Tr=lt!=null?lt:lr)!==null&&Tr!==void 0?Tr:Ja}),ka=he.useContext(_n.Z),nr=ft!=null?ft:ka;let ra=In;In||(ra=Rt?he.createElement(Be.Z,null):he.createElement(Ae.Z,null));const Ka=he.createElement("span",{className:`${hn}-menu-item-loading-icon`},he.createElement(Ne.Z,{spin:!0})),er=he.useMemo(()=>De?he.createElement("span",{className:`${Sa}-checkbox-inner`}):!1,[De]),Pa=(0,Qt.Z)(Ee.suffixIcon,Aa),{suffixIcon:Va,removeIcon:ar,clearIcon:Qa}=(0,Nt.Z)(Object.assign(Object.assign({},Ee),{hasFeedback:Ht,feedbackIcon:aa,showSuffixIcon:Pa,multiple:De,prefixCls:hn,componentName:"Cascader"})),Nr=he.useMemo(()=>vn!==void 0?vn:Rt?"bottomRight":"bottomLeft",[vn,Rt]),vr=(0,Zn.Z)(zn,Ua),Rr=it===!0?{clearIcon:Qa}:it,_r=he.createElement(on,Object.assign({prefixCls:hn,className:Fe()(!qe&&Sa,{[`${hn}-lg`]:Ra==="large",[`${hn}-sm`]:Ra==="small",[`${hn}-rtl`]:Rt,[`${hn}-borderless`]:!_e,[`${hn}-in-form-item`]:va},(0,Fa.Z)(hn,Kt,Ht),Br,Ga==null?void 0:Ga.className,ut,wt,Ia),disabled:nr,style:Object.assign(Object.assign({},Ga==null?void 0:Ga.style),bt)},qn,{builtinPlacements:vr,direction:$a,placement:Nr,notFoundContent:Fn,allowClear:Rr,showSearch:Wr,expandIcon:ra,suffixIcon:Va,removeIcon:ar,loadingIcon:Ka,checkable:er,dropdownClassName:or,dropdownPrefixCls:qe||Sa,choiceTransitionName:(0,un.m)(Qn,"",st),transitionName:(0,un.m)(Qn,"slide-up",ke),getPopupContainer:$t||Na,ref:Je}));return Ya(sa(_r))}),En=(0,Xn.Z)(Pn);Pn.SHOW_PARENT=Ba,Pn.SHOW_CHILD=fa,Pn._InternalPanelDoNotUseOrYouWillBeFired=En;var Ln=Pn},36381:function(dt,xt,oe){"use strict";oe.d(xt,{default:function(){return tn}});var x=oe(38819),he=oe(92310),Be=oe.n(he),Ne=oe(5016),Ae=oe(92393),Ze=oe(52456),Fe=oe(10928),$e=oe(18929),Ge=oe(48736),Le=oe(59301),Te=oe(5883),We=oe(11592),Qe=oe(18082),ie=oe(77900),E=oe(10228),a=Le.forwardRef(function(pt,at){var sn=pt.prefixCls,mt=pt.forceRender,Ye=pt.className,Mt=pt.style,Gn=pt.children,Rn=pt.isActive,Lt=pt.role,kn=Le.useState(Rn||mt),on=(0,Ze.Z)(kn,2),Mn=on[0],un=on[1];return Le.useEffect(function(){(mt||Rn)&&un(!0)},[mt,Rn]),Mn?Le.createElement("div",{ref:at,className:Be()("".concat(sn,"-content"),(0,Qe.Z)((0,Qe.Z)({},"".concat(sn,"-content-active"),Rn),"".concat(sn,"-content-inactive"),!Rn),Ye),style:Mt,role:Lt},Le.createElement("div",{className:"".concat(sn,"-content-box")},Gn)):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=Le.forwardRef(function(pt,at){var sn=pt.showArrow,mt=sn===void 0?!0:sn,Ye=pt.headerClass,Mt=pt.isActive,Gn=pt.onItemClick,Rn=pt.forceRender,Lt=pt.className,kn=pt.prefixCls,on=pt.collapsible,Mn=pt.accordion,un=pt.panelKey,Xn=pt.extra,Fa=pt.header,oa=pt.expandIcon,Yt=pt.openMotion,_n=pt.destroyInactivePanel,wn=pt.children,ia=(0,Te.Z)(pt,y),na=on==="disabled",Zn=on==="header",Qt=on==="icon",Nt=Xn!=null&&typeof Xn!="boolean",fn=function(){Gn==null||Gn(un)},Dn=function(ya){(ya.key==="Enter"||ya.keyCode===E.Z.ENTER||ya.which===E.Z.ENTER)&&fn()},la=typeof oa=="function"?oa(pt):Le.createElement("i",{className:"arrow"});la&&(la=Le.createElement("div",{className:"".concat(kn,"-expand-icon"),onClick:["header","icon"].includes(on)?fn:void 0},la));var Jn=Be()((0,Qe.Z)((0,Qe.Z)((0,Qe.Z)({},"".concat(kn,"-item"),!0),"".concat(kn,"-item-active"),Mt),"".concat(kn,"-item-disabled"),na),Lt),wa=Be()(Ye,(0,Qe.Z)((0,Qe.Z)((0,Qe.Z)({},"".concat(kn,"-header"),!0),"".concat(kn,"-header-collapsible-only"),Zn),"".concat(kn,"-icon-collapsible-only"),Qt)),Wn={className:wa,"aria-expanded":Mt,"aria-disabled":na,onKeyDown:Dn};return!Zn&&!Qt&&(Wn.onClick=fn,Wn.role=Mn?"tab":"button",Wn.tabIndex=na?-1:0),Le.createElement("div",(0,Ne.Z)({},ia,{ref:at,className:Jn}),Le.createElement("div",Wn,mt&&la,Le.createElement("span",{className:"".concat(kn,"-header-text"),onClick:on==="header"?fn:void 0},Fa),Nt&&Le.createElement("div",{className:"".concat(kn,"-extra")},Xn)),Le.createElement(ie.default,(0,Ne.Z)({visible:Mt,leavedClassName:"".concat(kn,"-content-hidden")},Yt,{forceRender:Rn,removeOnLeave:_n}),function(jn,ya){var fa=jn.className,Ba=jn.style;return Le.createElement(b,{ref:ya,prefixCls:kn,className:fa,style:Ba,isActive:Mt,forceRender:Rn,role:Mn?"tabpanel":void 0},wn)}))}),ne=z,re=["children","label","key","collapsible","onItemClick","destroyInactivePanel"],le=function(at,sn){var mt=sn.prefixCls,Ye=sn.accordion,Mt=sn.collapsible,Gn=sn.destroyInactivePanel,Rn=sn.onItemClick,Lt=sn.activeKey,kn=sn.openMotion,on=sn.expandIcon;return at.map(function(Mn,un){var Xn=Mn.children,Fa=Mn.label,oa=Mn.key,Yt=Mn.collapsible,_n=Mn.onItemClick,wn=Mn.destroyInactivePanel,ia=(0,Te.Z)(Mn,re),na=String(oa!=null?oa:un),Zn=Yt!=null?Yt:Mt,Qt=wn!=null?wn:Gn,Nt=function(la){Zn!=="disabled"&&(Rn(la),_n==null||_n(la))},fn=!1;return Ye?fn=Lt[0]===na:fn=Lt.indexOf(na)>-1,Le.createElement(ne,(0,Ne.Z)({},ia,{prefixCls:mt,key:na,panelKey:na,isActive:fn,accordion:Ye,openMotion:kn,expandIcon:on,header:Fa,collapsible:Zn,onItemClick:Nt,destroyInactivePanel:Qt}),Xn)})},ge=function(at,sn,mt){if(!at)return null;var Ye=mt.prefixCls,Mt=mt.accordion,Gn=mt.collapsible,Rn=mt.destroyInactivePanel,Lt=mt.onItemClick,kn=mt.activeKey,on=mt.openMotion,Mn=mt.expandIcon,un=at.key||String(sn),Xn=at.props,Fa=Xn.header,oa=Xn.headerClass,Yt=Xn.destroyInactivePanel,_n=Xn.collapsible,wn=Xn.onItemClick,ia=!1;Mt?ia=kn[0]===un:ia=kn.indexOf(un)>-1;var na=_n!=null?_n:Gn,Zn=function(fn){na!=="disabled"&&(Lt(fn),wn==null||wn(fn))},Qt={key:un,panelKey:un,header:Fa,headerClass:oa,isActive:ia,prefixCls:Ye,destroyInactivePanel:Yt!=null?Yt:Rn,openMotion:on,accordion:Mt,children:at.props.children,onItemClick:Zn,expandIcon:Mn,collapsible:na};return typeof at.type=="string"?at:(Object.keys(Qt).forEach(function(Nt){typeof Qt[Nt]=="undefined"&&delete Qt[Nt]}),Le.cloneElement(at,Qt))};function fe(pt,at,sn){return Array.isArray(pt)?le(pt,sn):(0,We.Z)(at).map(function(mt,Ye){return ge(mt,Ye,sn)})}var Pe=fe,Ve=oe(26112);function Me(pt){var at=pt;if(!Array.isArray(at)){var sn=(0,Fe.Z)(at);at=sn==="number"||sn==="string"?[at]:[]}return at.map(function(mt){return String(mt)})}var vt=Le.forwardRef(function(pt,at){var sn=pt.prefixCls,mt=sn===void 0?"rc-collapse":sn,Ye=pt.destroyInactivePanel,Mt=Ye===void 0?!1:Ye,Gn=pt.style,Rn=pt.accordion,Lt=pt.className,kn=pt.children,on=pt.collapsible,Mn=pt.openMotion,un=pt.expandIcon,Xn=pt.activeKey,Fa=pt.defaultActiveKey,oa=pt.onChange,Yt=pt.items,_n=Be()(mt,Lt),wn=(0,$e.Z)([],{value:Xn,onChange:function(Dn){return oa==null?void 0:oa(Dn)},defaultValue:Fa,postState:Me}),ia=(0,Ze.Z)(wn,2),na=ia[0],Zn=ia[1],Qt=function(Dn){return Zn(function(){if(Rn)return na[0]===Dn?[]:[Dn];var la=na.indexOf(Dn),Jn=la>-1;return Jn?na.filter(function(wa){return wa!==Dn}):[].concat((0,Ae.Z)(na),[Dn])})};(0,Ge.ZP)(!kn,"[rc-collapse] `children` will be removed in next major version. Please use `items` instead.");var Nt=Pe(Yt,kn,{prefixCls:mt,accordion:Rn,openMotion:Mn,expandIcon:un,collapsible:on,destroyInactivePanel:Mt,onItemClick:Qt,activeKey:na});return Le.createElement("div",(0,Ne.Z)({ref:at,className:_n,style:Gn,role:Rn?"tablist":void 0},(0,Ve.Z)(pt,{aria:!0,data:!0})),Nt)}),Ie=Object.assign(vt,{Panel:ne}),Ce=Ie,et=Ie.Panel,rt=oe(2738),xe=oe(62892),Pt=oe(92343),yt=oe(36355),Tt=oe(19716),Wt=Le.forwardRef((pt,at)=>{const{getPrefixCls:sn}=Le.useContext(yt.E_),{prefixCls:mt,className:Ye,showArrow:Mt=!0}=pt,Gn=sn("collapse",mt),Rn=Be()({[`${Gn}-no-arrow`]:!Mt},Ye);return Le.createElement(Ce.Panel,Object.assign({ref:at},pt,{prefixCls:Gn,className:Rn}))}),jt=oe(17313),It=oe(8378),ln=oe(83116),Ke=oe(37613);const ze=pt=>{const{componentCls:at,contentBg:sn,padding:mt,headerBg:Ye,headerPadding:Mt,collapseHeaderPaddingSM:Gn,collapseHeaderPaddingLG:Rn,collapsePanelBorderRadius:Lt,lineWidth:kn,lineType:on,colorBorder:Mn,colorText:un,colorTextHeading:Xn,colorTextDisabled:Fa,fontSize:oa,fontSizeLG:Yt,lineHeight:_n,marginSM:wn,paddingSM:ia,paddingLG:na,paddingXS:Zn,motionDurationSlow:Qt,fontSizeIcon:Nt,contentPadding:fn}=pt,Dn=`${kn}px ${on} ${Mn}`;return{[at]:Object.assign(Object.assign({},(0,jt.Wf)(pt)),{backgroundColor:Ye,border:Dn,borderBottom:0,borderRadius:`${Lt}px`,"&-rtl":{direction:"rtl"},[`& > ${at}-item`]:{borderBottom:Dn,"&:last-child":{[`
&,
& > ${at}-header`]:{borderRadius:`0 0 ${Lt}px ${Lt}px`}},[`> ${at}-header`]:{position:"relative",display:"flex",flexWrap:"nowrap",alignItems:"flex-start",padding:Mt,color:Xn,lineHeight:_n,cursor:"pointer",transition:`all ${Qt}, visibility 0s`,[`> ${at}-header-text`]:{flex:"auto"},"&:focus":{outline:"none"},[`${at}-expand-icon`]:{height:oa*_n,display:"flex",alignItems:"center",paddingInlineEnd:wn},[`${at}-arrow`]:Object.assign(Object.assign({},(0,jt.Ro)()),{fontSize:Nt,svg:{transition:`transform ${Qt}`}}),[`${at}-header-text`]:{marginInlineEnd:"auto"}},[`${at}-header-collapsible-only`]:{cursor:"default",[`${at}-header-text`]:{flex:"none",cursor:"pointer"}},[`${at}-icon-collapsible-only`]:{cursor:"default",[`${at}-expand-icon`]:{cursor:"pointer"}}},[`${at}-content`]:{color:un,backgroundColor:sn,borderTop:Dn,[`& > ${at}-content-box`]:{padding:fn},"&-hidden":{display:"none"}},"&-small":{[`> ${at}-item`]:{[`> ${at}-header`]:{padding:Gn,paddingInlineStart:Zn,[`> ${at}-expand-icon`]:{marginInlineStart:ia-Zn}},[`> ${at}-content > ${at}-content-box`]:{padding:ia}}},"&-large":{[`> ${at}-item`]:{fontSize:Yt,[`> ${at}-header`]:{padding:Rn,paddingInlineStart:mt,[`> ${at}-expand-icon`]:{height:Yt*_n,marginInlineStart:na-mt}},[`> ${at}-content > ${at}-content-box`]:{padding:na}}},[`${at}-item:last-child`]:{[`> ${at}-content`]:{borderRadius:`0 0 ${Lt}px ${Lt}px`}},[`& ${at}-item-disabled > ${at}-header`]:{"\n &,\n & > .arrow\n ":{color:Fa,cursor:"not-allowed"}},[`&${at}-icon-position-end`]:{[`& > ${at}-item`]:{[`> ${at}-header`]:{[`${at}-expand-icon`]:{order:1,paddingInlineEnd:0,paddingInlineStart:wn}}}}})}},Bt=pt=>{const{componentCls:at}=pt,sn=`> ${at}-item > ${at}-header ${at}-arrow svg`;return{[`${at}-rtl`]:{[sn]:{transform:"rotate(180deg)"}}}},Gt=pt=>{const{componentCls:at,headerBg:sn,paddingXXS:mt,colorBorder:Ye}=pt;return{[`${at}-borderless`]:{backgroundColor:sn,border:0,[`> ${at}-item`]:{borderBottom:`1px solid ${Ye}`},[`
> ${at}-item:last-child,
> ${at}-item:last-child ${at}-header
`]:{borderRadius:0},[`> ${at}-item:last-child`]:{borderBottom:0},[`> ${at}-item > ${at}-content`]:{backgroundColor:"transparent",borderTop:0},[`> ${at}-item > ${at}-content > ${at}-content-box`]:{paddingTop:mt}}}},ht=pt=>{const{componentCls:at,paddingSM:sn}=pt;return{[`${at}-ghost`]:{backgroundColor:"transparent",border:0,[`> ${at}-item`]:{borderBottom:0,[`> ${at}-content`]:{backgroundColor:"transparent",border:0,[`> ${at}-content-box`]:{paddingBlock:sn}}}}}};var _t=(0,ln.Z)("Collapse",pt=>{const at=(0,Ke.TS)(pt,{collapseHeaderPaddingSM:`${pt.paddingXS}px ${pt.paddingSM}px`,collapseHeaderPaddingLG:`${pt.padding}px ${pt.paddingLG}px`,collapsePanelBorderRadius:pt.borderRadiusLG});return[ze(at),Gt(at),ht(at),Bt(at),(0,It.Z)(at)]},pt=>({headerPadding:`${pt.paddingSM}px ${pt.padding}px`,headerBg:pt.colorFillAlter,contentPadding:`${pt.padding}px 16px`,contentBg:pt.colorBgContainer})),Et=Object.assign(Le.forwardRef((pt,at)=>{const{getPrefixCls:sn,direction:mt,collapse:Ye}=Le.useContext(yt.E_),{prefixCls:Mt,className:Gn,rootClassName:Rn,style:Lt,bordered:kn=!0,ghost:on,size:Mn,expandIconPosition:un="start",children:Xn,expandIcon:Fa}=pt,oa=(0,Tt.Z)(Dn=>{var la;return(la=Mn!=null?Mn:Dn)!==null&&la!==void 0?la:"middle"}),Yt=sn("collapse",Mt),_n=sn(),[wn,ia]=_t(Yt),na=Le.useMemo(()=>un==="left"?"start":un==="right"?"end":un,[un]),Zn=function(){let Dn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const la=Fa?Fa(Dn):Le.createElement(x.Z,{rotate:Dn.isActive?90:void 0});return(0,Pt.Tm)(la,()=>({className:Be()(la.props.className,`${Yt}-arrow`)}))},Qt=Be()(`${Yt}-icon-position-${na}`,{[`${Yt}-borderless`]:!kn,[`${Yt}-rtl`]:mt==="rtl",[`${Yt}-ghost`]:!!on,[`${Yt}-${oa}`]:oa!=="middle"},Ye==null?void 0:Ye.className,Gn,Rn,ia),Nt=Object.assign(Object.assign({},(0,xe.Z)(_n)),{motionAppear:!1,leavedClassName:`${Yt}-content-hidden`}),fn=Le.useMemo(()=>Xn?(0,We.Z)(Xn).map((Dn,la)=>{var Jn,wa;if(!((Jn=Dn.props)===null||Jn===void 0)&&Jn.disabled){const Wn=(wa=Dn.key)!==null&&wa!==void 0?wa:String(la),{disabled:jn,collapsible:ya}=Dn.props,fa=Object.assign(Object.assign({},(0,rt.Z)(Dn.props,["disabled"])),{key:Wn,collapsible:ya!=null?ya:jn?"disabled":void 0});return(0,Pt.Tm)(Dn,fa)}return Dn}):null,[Xn]);return wn(Le.createElement(Ce,Object.assign({ref:at,openMotion:Nt},(0,rt.Z)(pt,["rootClassName"]),{expandIcon:Zn,prefixCls:Yt,className:Qt,style:Object.assign(Object.assign({},Ye==null?void 0:Ye.style),Lt)}),fn))}),{Panel:Wt}),tn=Et},39722:function(dt,xt,oe){"use strict";oe.d(xt,{t5:function(){return Le}});var x=oe(92310),he=oe.n(x),Be=oe(55477),Ne=oe(59301),Ae=oe(36355),Ze=oe(77578),Fe=oe(17356),$e=function(We,Qe){var ie={};for(var E in We)Object.prototype.hasOwnProperty.call(We,E)&&Qe.indexOf(E)<0&&(ie[E]=We[E]);if(We!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,E=Object.getOwnPropertySymbols(We);a<E.length;a++)Qe.indexOf(E[a])<0&&Object.prototype.propertyIsEnumerable.call(We,E[a])&&(ie[E[a]]=We[E[a]]);return ie};const Ge=(We,Qe,ie)=>{if(!(!Qe&&!ie))return Ne.createElement(Ne.Fragment,null,Qe&&Ne.createElement("div",{className:`${We}-title`},(0,Ze.Z)(Qe)),Ne.createElement("div",{className:`${We}-inner-content`},(0,Ze.Z)(ie)))},Le=We=>{const{hashId:Qe,prefixCls:ie,className:E,style:a,placement:b="top",title:y,content:z,children:ne}=We;return Ne.createElement("div",{className:he()(Qe,ie,`${ie}-pure`,`${ie}-placement-${b}`,E),style:a},Ne.createElement("div",{className:`${ie}-arrow`}),Ne.createElement(Be.G,Object.assign({},We,{className:Qe,prefixCls:ie}),ne||Ge(ie,y,z)))},Te=We=>{const{prefixCls:Qe}=We,ie=$e(We,["prefixCls"]),{getPrefixCls:E}=Ne.useContext(Ae.E_),a=E("popover",Qe),[b,y]=(0,Fe.Z)(a);return b(Ne.createElement(Le,Object.assign({},ie,{prefixCls:a,hashId:y})))};xt.ZP=Te},60324:function(dt,xt,oe){"use strict";var x=oe(92310),he=oe.n(x),Be=oe(59301),Ne=oe(77578),Ae=oe(62892),Ze=oe(36355),Fe=oe(6848),$e=oe(39722),Ge=oe(17356),Le=function(Qe,ie){var E={};for(var a in Qe)Object.prototype.hasOwnProperty.call(Qe,a)&&ie.indexOf(a)<0&&(E[a]=Qe[a]);if(Qe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var b=0,a=Object.getOwnPropertySymbols(Qe);b<a.length;b++)ie.indexOf(a[b])<0&&Object.prototype.propertyIsEnumerable.call(Qe,a[b])&&(E[a[b]]=Qe[a[b]]);return E};const Te=Qe=>{let{title:ie,content:E,prefixCls:a}=Qe;return Be.createElement(Be.Fragment,null,ie&&Be.createElement("div",{className:`${a}-title`},(0,Ne.Z)(ie)),Be.createElement("div",{className:`${a}-inner-content`},(0,Ne.Z)(E)))},We=Be.forwardRef((Qe,ie)=>{const{prefixCls:E,title:a,content:b,overlayClassName:y,placement:z="top",trigger:ne="hover",mouseEnterDelay:re=.1,mouseLeaveDelay:le=.1,overlayStyle:ge={}}=Qe,fe=Le(Qe,["prefixCls","title","content","overlayClassName","placement","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle"]),{getPrefixCls:Pe}=Be.useContext(Ze.E_),Ve=Pe("popover",E),[Me,vt]=(0,Ge.Z)(Ve),Ie=Pe(),Ce=he()(y,vt);return Me(Be.createElement(Fe.Z,Object.assign({placement:z,trigger:ne,mouseEnterDelay:re,mouseLeaveDelay:le,overlayStyle:ge},fe,{prefixCls:Ve,overlayClassName:Ce,ref:ie,overlay:a||b?Be.createElement(Te,{prefixCls:Ve,title:a,content:b}):null,transitionName:(0,Ae.m)(Ie,"zoom-big",fe.transitionName),"data-popover-inject":!0})))});We._InternalPanelDoNotUseOrYouWillBeFired=$e.ZP,xt.Z=We},17356:function(dt,xt,oe){"use strict";var x=oe(17313),he=oe(29878),Be=oe(19447),Ne=oe(33166),Ae=oe(83116),Ze=oe(37613);const Fe=Le=>{const{componentCls:Te,popoverColor:We,minWidth:Qe,fontWeightStrong:ie,popoverPadding:E,boxShadowSecondary:a,colorTextHeading:b,borderRadiusLG:y,zIndexPopup:z,marginXS:ne,colorBgElevated:re,popoverBg:le}=Le;return[{[Te]:Object.assign(Object.assign({},(0,x.Wf)(Le)),{position:"absolute",top:0,left:{_skip_check_:!0,value:0},zIndex:z,fontWeight:"normal",whiteSpace:"normal",textAlign:"start",cursor:"auto",userSelect:"text",transformOrigin:"var(--arrow-x, 50%) var(--arrow-y, 50%)","--antd-arrow-background-color":re,"&-rtl":{direction:"rtl"},"&-hidden":{display:"none"},[`${Te}-content`]:{position:"relative"},[`${Te}-inner`]:{backgroundColor:le,backgroundClip:"padding-box",borderRadius:y,boxShadow:a,padding:E},[`${Te}-title`]:{minWidth:Qe,marginBottom:ne,color:b,fontWeight:ie},[`${Te}-inner-content`]:{color:We}})},(0,Be.ZP)(Le,{colorBg:"var(--antd-arrow-background-color)"}),{[`${Te}-pure`]:{position:"relative",maxWidth:"none",margin:Le.sizePopupArrow,display:"inline-block",[`${Te}-content`]:{display:"inline-block"}}}]},$e=Le=>{const{componentCls:Te}=Le;return{[Te]:Ne.i.map(We=>{const Qe=Le[`${We}6`];return{[`&${Te}-${We}`]:{"--antd-arrow-background-color":Qe,[`${Te}-inner`]:{backgroundColor:Qe},[`${Te}-arrow`]:{background:"transparent"}}}})}},Ge=Le=>{const{componentCls:Te,lineWidth:We,lineType:Qe,colorSplit:ie,paddingSM:E,controlHeight:a,fontSize:b,lineHeight:y,padding:z}=Le,ne=a-Math.round(b*y),re=ne/2,le=ne/2-We,ge=z;return{[Te]:{[`${Te}-inner`]:{padding:0},[`${Te}-title`]:{margin:0,padding:`${re}px ${ge}px ${le}px`,borderBottom:`${We}px ${Qe} ${ie}`},[`${Te}-inner-content`]:{padding:`${E}px ${ge}px`}}}};xt.Z=(0,Ae.Z)("Popover",Le=>{const{colorBgElevated:Te,colorText:We,wireframe:Qe}=Le,ie=(0,Ze.TS)(Le,{popoverPadding:12,popoverBg:Te,popoverColor:We});return[Fe(ie),$e(ie),Qe&&Ge(ie),(0,he._y)(ie,"zoom-big")]},Le=>({width:177,minWidth:177,zIndexPopup:Le.zIndexPopupBase+30}),{resetStyle:!1,deprecatedTokens:[["width","minWidth"]]})},12563:function(dt,xt,oe){"use strict";oe.d(xt,{default:function(){return vt}});var x=oe(59301),he=oe(99267),Be=oe(92310),Ne=oe.n(Be),Ae=oe(36785),Ze=oe(47729),Fe=oe(14088),$e=oe(36355),Ge=oe(17313),Le=oe(37613),Te=oe(83116);const We=Ie=>{const{paddingXXS:Ce,lineWidth:et,tagPaddingHorizontal:rt,componentCls:xe}=Ie,Pt=rt-et,yt=Ce-et;return{[xe]:Object.assign(Object.assign({},(0,Ge.Wf)(Ie)),{display:"inline-block",height:"auto",marginInlineEnd:Ie.marginXS,paddingInline:Pt,fontSize:Ie.tagFontSize,lineHeight:Ie.tagLineHeight,whiteSpace:"nowrap",background:Ie.defaultBg,border:`${Ie.lineWidth}px ${Ie.lineType} ${Ie.colorBorder}`,borderRadius:Ie.borderRadiusSM,opacity:1,transition:`all ${Ie.motionDurationMid}`,textAlign:"start",position:"relative",[`&${xe}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:Ie.defaultColor},[`${xe}-close-icon`]:{marginInlineStart:yt,color:Ie.colorTextDescription,fontSize:Ie.tagIconSize,cursor:"pointer",transition:`all ${Ie.motionDurationMid}`,"&:hover":{color:Ie.colorTextHeading}},[`&${xe}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${Ie.iconCls}-close, ${Ie.iconCls}-close:hover`]:{color:Ie.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${xe}-checkable-checked):hover`]:{color:Ie.colorPrimary,backgroundColor:Ie.colorFillSecondary},"&:active, &-checked":{color:Ie.colorTextLightSolid},"&-checked":{backgroundColor:Ie.colorPrimary,"&:hover":{backgroundColor:Ie.colorPrimaryHover}},"&:active":{backgroundColor:Ie.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${Ie.iconCls} + span, > span + ${Ie.iconCls}`]:{marginInlineStart:Pt}}),[`${xe}-borderless`]:{borderColor:"transparent",background:Ie.tagBorderlessBg}}},Qe=Ie=>{const{lineWidth:Ce,fontSizeIcon:et}=Ie,rt=Ie.fontSizeSM,xe=`${Ie.lineHeightSM*rt}px`;return(0,Le.TS)(Ie,{tagFontSize:rt,tagLineHeight:xe,tagIconSize:et-2*Ce,tagPaddingHorizontal:8,tagBorderlessBg:Ie.colorFillTertiary})},ie=Ie=>({defaultBg:Ie.colorFillQuaternary,defaultColor:Ie.colorText});var E=(0,Te.Z)("Tag",Ie=>{const Ce=Qe(Ie);return We(Ce)},ie),a=function(Ie,Ce){var et={};for(var rt in Ie)Object.prototype.hasOwnProperty.call(Ie,rt)&&Ce.indexOf(rt)<0&&(et[rt]=Ie[rt]);if(Ie!=null&&typeof Object.getOwnPropertySymbols=="function")for(var xe=0,rt=Object.getOwnPropertySymbols(Ie);xe<rt.length;xe++)Ce.indexOf(rt[xe])<0&&Object.prototype.propertyIsEnumerable.call(Ie,rt[xe])&&(et[rt[xe]]=Ie[rt[xe]]);return et},y=Ie=>{const{prefixCls:Ce,style:et,className:rt,checked:xe,onChange:Pt,onClick:yt}=Ie,Tt=a(Ie,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:nt,tag:Wt}=x.useContext($e.E_),jt=Bt=>{Pt==null||Pt(!xe),yt==null||yt(Bt)},It=nt("tag",Ce),[ln,Ke]=E(It),ze=Ne()(It,`${It}-checkable`,{[`${It}-checkable-checked`]:xe},Wt==null?void 0:Wt.className,rt,Ke);return ln(x.createElement("span",Object.assign({},Tt,{style:Object.assign(Object.assign({},et),Wt==null?void 0:Wt.style),className:ze,onClick:jt})))},z=oe(45157);const ne=Ie=>(0,z.Z)(Ie,(Ce,et)=>{let{textColor:rt,lightBorderColor:xe,lightColor:Pt,darkColor:yt}=et;return{[`${Ie.componentCls}-${Ce}`]:{color:rt,background:Pt,borderColor:xe,"&-inverse":{color:Ie.colorTextLightSolid,background:yt,borderColor:yt},[`&${Ie.componentCls}-borderless`]:{borderColor:"transparent"}}}});var re=(0,Te.b)(["Tag","preset"],Ie=>{const Ce=Qe(Ie);return ne(Ce)},ie);function le(Ie){return typeof Ie!="string"?Ie:Ie.charAt(0).toUpperCase()+Ie.slice(1)}const ge=(Ie,Ce,et)=>{const rt=le(et);return{[`${Ie.componentCls}-${Ce}`]:{color:Ie[`color${et}`],background:Ie[`color${rt}Bg`],borderColor:Ie[`color${rt}Border`],[`&${Ie.componentCls}-borderless`]:{borderColor:"transparent"}}}};var fe=(0,Te.b)(["Tag","status"],Ie=>{const Ce=Qe(Ie);return[ge(Ce,"success","Success"),ge(Ce,"processing","Info"),ge(Ce,"error","Error"),ge(Ce,"warning","Warning")]},ie),Pe=function(Ie,Ce){var et={};for(var rt in Ie)Object.prototype.hasOwnProperty.call(Ie,rt)&&Ce.indexOf(rt)<0&&(et[rt]=Ie[rt]);if(Ie!=null&&typeof Object.getOwnPropertySymbols=="function")for(var xe=0,rt=Object.getOwnPropertySymbols(Ie);xe<rt.length;xe++)Ce.indexOf(rt[xe])<0&&Object.prototype.propertyIsEnumerable.call(Ie,rt[xe])&&(et[rt[xe]]=Ie[rt[xe]]);return et};const Ve=(Ie,Ce)=>{const{prefixCls:et,className:rt,rootClassName:xe,style:Pt,children:yt,icon:Tt,color:nt,onClose:Wt,closeIcon:jt,closable:It,bordered:ln=!0}=Ie,Ke=Pe(Ie,["prefixCls","className","rootClassName","style","children","icon","color","onClose","closeIcon","closable","bordered"]),{getPrefixCls:ze,direction:Bt,tag:Gt}=x.useContext($e.E_),[ht,_t]=x.useState(!0);x.useEffect(()=>{"visible"in Ke&&_t(Ke.visible)},[Ke.visible]);const be=(0,Ae.o2)(nt),Et=(0,Ae.yT)(nt),tn=be||Et,pt=Object.assign(Object.assign({backgroundColor:nt&&!tn?nt:void 0},Gt==null?void 0:Gt.style),Pt),at=ze("tag",et),[sn,mt]=E(at),Ye=Ne()(at,Gt==null?void 0:Gt.className,{[`${at}-${nt}`]:tn,[`${at}-has-color`]:nt&&!tn,[`${at}-hidden`]:!ht,[`${at}-rtl`]:Bt==="rtl",[`${at}-borderless`]:!ln},rt,xe,mt),Mt=Mn=>{Mn.stopPropagation(),Wt==null||Wt(Mn),!Mn.defaultPrevented&&_t(!1)},[,Gn]=(0,Ze.Z)(It,jt,Mn=>Mn===null?x.createElement(he.Z,{className:`${at}-close-icon`,onClick:Mt}):x.createElement("span",{className:`${at}-close-icon`,onClick:Mt},Mn),null,!1),Rn=typeof Ke.onClick=="function"||yt&&yt.type==="a",Lt=Tt||null,kn=Lt?x.createElement(x.Fragment,null,Lt,yt&&x.createElement("span",null,yt)):yt,on=x.createElement("span",Object.assign({},Ke,{ref:Ce,className:Ye,style:pt}),kn,Gn,be&&x.createElement(re,{key:"preset",prefixCls:at}),Et&&x.createElement(fe,{key:"status",prefixCls:at}));return sn(Rn?x.createElement(Fe.Z,{component:"Tag"},on):on)},Me=x.forwardRef(Ve);Me.CheckableTag=y;var vt=Me},98228:function(dt,xt,oe){"use strict";oe.d(xt,{default:function(){return Ta}});var x=oe(92310),he=oe.n(x),Be=oe(5016),Ne=oe(92393),Ae=oe(20049),Ze=oe(52456),Fe=oe(5883),$e=oe(10928),Ge=oe(77861),Le=oe(17115),Te=oe(90782),We=oe(18929),Qe=oe(48736),ie=oe(59301),E=function(At){var Pn=ie.useRef({valueLabels:new Map});return ie.useMemo(function(){var En=Pn.current.valueLabels,Ln=new Map,Ee=At.map(function(Je){var qe,lt=Je.value,ft=(qe=Je.label)!==null&&qe!==void 0?qe:En.get(lt);return Ln.set(lt,ft),(0,Ae.Z)((0,Ae.Z)({},Je),{},{label:ft})});return Pn.current.valueLabels=Ln,[Ee]},[At])},a=function(At,Pn,En,Ln){return ie.useMemo(function(){var Ee=At.map(function(ft){var ut=ft.value;return ut}),Je=Pn.map(function(ft){var ut=ft.value;return ut}),qe=Ee.filter(function(ft){return!Ln[ft]});if(En){var lt=(0,Te.S)(Ee,!0,Ln);Ee=lt.checkedKeys,Je=lt.halfCheckedKeys}return[Array.from(new Set([].concat((0,Ne.Z)(qe),(0,Ne.Z)(Ee)))),Je]},[At,Pn,En,Ln])},b=oe(71430),y=function(At,Pn){return ie.useMemo(function(){var En=(0,b.I8)(At,{fieldNames:Pn,initWrapper:function(Ee){return(0,Ae.Z)((0,Ae.Z)({},Ee),{},{valueEntities:new Map})},processEntity:function(Ee,Je){var qe=Ee.node[Pn.value];if(0)var lt;Je.valueEntities.set(qe,Ee)}});return En},[At,Pn])},z=oe(18082),ne=oe(11592),re=function(){return null},le=re,ge=["children","value"];function fe(At){return(0,ne.Z)(At).map(function(Pn){if(!ie.isValidElement(Pn)||!Pn.type)return null;var En=Pn,Ln=En.key,Ee=En.props,Je=Ee.children,qe=Ee.value,lt=(0,Fe.Z)(Ee,ge),ft=(0,Ae.Z)({key:Ln,value:qe},lt),ut=fe(Je);return ut.length&&(ft.children=ut),ft}).filter(function(Pn){return Pn})}function Pe(At){if(!At)return At;var Pn=(0,Ae.Z)({},At);return"props"in Pn||Object.defineProperty(Pn,"props",{get:function(){return(0,Qe.ZP)(!1,"New `rc-tree-select` not support return node instance as argument anymore. Please consider to remove `props` access."),Pn}}),Pn}function Ve(At,Pn,En,Ln,Ee,Je){var qe=null,lt=null;function ft(){function ut(wt){var De=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"0",_e=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return wt.map(function(ke,st){var Ut="".concat(De,"-").concat(st),qt=ke[Je.value],In=En.includes(qt),vn=ut(ke[Je.children]||[],Ut,In),He=ie.createElement(le,ke,vn.map(function(dn){return dn.node}));if(Pn===qt&&(qe=He),In){var it={pos:Ut,node:He,children:vn};return _e||lt.push(it),it}return null}).filter(function(ke){return ke})}lt||(lt=[],ut(Ln),lt.sort(function(wt,De){var _e=wt.node.props.value,ke=De.node.props.value,st=En.indexOf(_e),Ut=En.indexOf(ke);return st-Ut}))}Object.defineProperty(At,"triggerNode",{get:function(){return(0,Qe.ZP)(!1,"`triggerNode` is deprecated. Please consider decoupling data with node."),ft(),qe}}),Object.defineProperty(At,"allCheckedNodes",{get:function(){return(0,Qe.ZP)(!1,"`allCheckedNodes` is deprecated. Please consider decoupling data with node."),ft(),Ee?lt:lt.map(function(wt){var De=wt.node;return De})}})}var Me=function(At,Pn,En){var Ln=En.treeNodeFilterProp,Ee=En.filterTreeNode,Je=En.fieldNames,qe=Je.children;return ie.useMemo(function(){if(!Pn||Ee===!1)return At;var lt;if(typeof Ee=="function")lt=Ee;else{var ft=Pn.toUpperCase();lt=function(De,_e){var ke=_e[Ln];return String(ke).toUpperCase().includes(ft)}}function ut(wt){var De=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return wt.reduce(function(_e,ke){var st=ke[qe],Ut=De||lt(Pn,Pe(ke)),qt=ut(st||[],Ut);return(Ut||qt.length)&&_e.push((0,Ae.Z)((0,Ae.Z)({},ke),{},(0,z.Z)({isLeaf:void 0},qe,qt))),_e},[])}return ut(At)},[At,Pn,qe,Ln,Ee])};function vt(At){var Pn=ie.useRef();Pn.current=At;var En=ie.useCallback(function(){return Pn.current.apply(Pn,arguments)},[]);return En}function Ie(At,Pn){var En=Pn.id,Ln=Pn.pId,Ee=Pn.rootPId,Je={},qe=[],lt=At.map(function(ft){var ut=(0,Ae.Z)({},ft),wt=ut[En];return Je[wt]=ut,ut.key=ut.key||wt,ut});return lt.forEach(function(ft){var ut=ft[Ln],wt=Je[ut];wt&&(wt.children=wt.children||[],wt.children.push(ft)),(ut===Ee||!wt&&Ee===null)&&qe.push(ft)}),qe}function Ce(At,Pn,En){return ie.useMemo(function(){return At?En?Ie(At,(0,Ae.Z)({id:"id",pId:"pId",rootPId:null},En!==!0?En:{})):At:fe(Pn)},[Pn,En,At])}var et=ie.createContext(null),rt=et,xe=oe(10228),Pt=oe(80547),yt=oe(64588),Tt=ie.createContext(null),nt=Tt;function Wt(At){return Array.isArray(At)?At:At!==void 0?[At]:[]}function jt(At){var Pn=At||{},En=Pn.label,Ln=Pn.value,Ee=Pn.children,Je=Ln||"value";return{_title:En?[En]:["title","label"],value:Je,key:Je,children:Ee||"children"}}function It(At){return!At||At.disabled||At.disableCheckbox||At.checkable===!1}function ln(At,Pn){var En=[];function Ln(Ee){Ee.forEach(function(Je){var qe=Je[Pn.children];qe&&(En.push(Je[Pn.value]),Ln(qe))})}return Ln(At),En}function Ke(At){return At==null}var ze={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},Bt=function(Pn,En){var Ln=(0,Ge.lk)(),Ee=Ln.prefixCls,Je=Ln.multiple,qe=Ln.searchValue,lt=Ln.toggleOpen,ft=Ln.open,ut=Ln.notFoundContent,wt=ie.useContext(nt),De=wt.virtual,_e=wt.listHeight,ke=wt.listItemHeight,st=wt.treeData,Ut=wt.fieldNames,qt=wt.onSelect,In=wt.dropdownMatchSelectWidth,vn=wt.treeExpandAction,He=ie.useContext(rt),it=He.checkable,dn=He.checkedKeys,gt=He.halfCheckedKeys,$t=He.treeExpandedKeys,gn=He.treeDefaultExpandAll,Aa=He.treeDefaultExpandedKeys,zn=He.onTreeExpand,bt=He.treeIcon,Za=He.showTreeIcon,qn=He.switcherIcon,Na=He.treeLine,Ca=He.treeNodeFilterProp,ja=He.loadData,xa=He.treeLoadedKeys,Ua=He.treeMotion,Ga=He.onTreeLoad,$a=He.keyEntities,Rt=ie.useRef(),ma=(0,Pt.Z)(function(){return st},[ft,st],function(Pa,Va){return Va[0]&&Pa[1]!==Va[1]}),Ht=ie.useState(null),va=(0,Ze.Z)(Ht,2),aa=va[0],Kt=va[1],Fn=$a[aa],Qn=ie.useMemo(function(){return it?{checked:dn,halfChecked:gt}:null},[it,dn,gt]);ie.useEffect(function(){if(ft&&!Je&&dn.length){var Pa;(Pa=Rt.current)===null||Pa===void 0||Pa.scrollTo({key:dn[0]}),Kt(dn[0])}},[ft]);var hn=String(qe).toLowerCase(),Sa=function(Va){return hn?String(Va[Ca]).toLowerCase().includes(hn):!1},sa=ie.useState(Aa),Ia=(0,Ze.Z)(sa,2),Ya=Ia[0],lr=Ia[1],Br=ie.useState(null),or=(0,Ze.Z)(Br,2),Wr=or[0],Ra=or[1],ka=ie.useMemo(function(){return $t?(0,Ne.Z)($t):qe?Wr:Ya},[Ya,Wr,$t,qe]);ie.useEffect(function(){qe&&Ra(ln(st,Ut))},[qe]);var nr=function(Va){lr(Va),Ra(Va),zn&&zn(Va)},ra=function(Va){Va.preventDefault()},Ka=function(Va,ar){var Qa=ar.node;it&&It(Qa)||(qt(Qa.key,{selected:!dn.includes(Qa.key)}),Je||lt(!1))};if(ie.useImperativeHandle(En,function(){var Pa;return{scrollTo:(Pa=Rt.current)===null||Pa===void 0?void 0:Pa.scrollTo,onKeyDown:function(ar){var Qa,Nr=ar.which;switch(Nr){case xe.Z.UP:case xe.Z.DOWN:case xe.Z.LEFT:case xe.Z.RIGHT:(Qa=Rt.current)===null||Qa===void 0||Qa.onKeyDown(ar);break;case xe.Z.ENTER:{if(Fn){var vr=(Fn==null?void 0:Fn.node)||{},Rr=vr.selectable,_r=vr.value;Rr!==!1&&Ka(null,{node:{key:aa},selected:!dn.includes(_r)})}break}case xe.Z.ESC:lt(!1)}},onKeyUp:function(){}}}),ma.length===0)return ie.createElement("div",{role:"listbox",className:"".concat(Ee,"-empty"),onMouseDown:ra},ut);var er={fieldNames:Ut};return xa&&(er.loadedKeys=xa),ka&&(er.expandedKeys=ka),ie.createElement("div",{onMouseDown:ra},Fn&&ft&&ie.createElement("span",{style:ze,"aria-live":"assertive"},Fn.node.value),ie.createElement(yt.Z,(0,Be.Z)({ref:Rt,focusable:!1,prefixCls:"".concat(Ee,"-tree"),treeData:ma,height:_e,itemHeight:ke,virtual:De!==!1&&In!==!1,multiple:Je,icon:bt,showIcon:Za,switcherIcon:qn,showLine:Na,loadData:qe?null:ja,motion:Ua,activeKey:aa,checkable:it,checkStrictly:!0,checkedKeys:Qn,selectedKeys:it?[]:dn,defaultExpandAll:gn},er,{onActiveChange:Kt,onSelect:Ka,onCheck:Ka,onExpand:nr,onLoad:Ga,filterTreeNode:Sa,expandAction:vn})))},Gt=ie.forwardRef(Bt);Gt.displayName="OptionList";var ht=Gt,_t="SHOW_ALL",be="SHOW_PARENT",Et="SHOW_CHILD";function tn(At,Pn,En,Ln){var Ee=new Set(At);return Pn===Et?At.filter(function(Je){var qe=En[Je];return!(qe&&qe.children&&qe.children.some(function(lt){var ft=lt.node;return Ee.has(ft[Ln.value])})&&qe.children.every(function(lt){var ft=lt.node;return It(ft)||Ee.has(ft[Ln.value])}))}):Pn===be?At.filter(function(Je){var qe=En[Je],lt=qe?qe.parent:null;return!(lt&&!It(lt.node)&&Ee.has(lt.key))}):At}function pt(At){var Pn=At.searchPlaceholder,En=At.treeCheckStrictly,Ln=At.treeCheckable,Ee=At.labelInValue,Je=At.value,qe=At.multiple;warning(!Pn,"`searchPlaceholder` has been removed."),En&&Ee===!1&&warning(!1,"`treeCheckStrictly` will force set `labelInValue` to `true`."),(Ee||En)&&warning(toArray(Je).every(function(lt){return lt&&_typeof(lt)==="object"&&"value"in lt}),"Invalid prop `value` supplied to `TreeSelect`. You should use { label: string, value: string | number } or [{ label: string, value: string | number }] instead."),En||qe||Ln?warning(!Je||Array.isArray(Je),"`value` should be an array when `TreeSelect` is checkable or multiple."):warning(!Array.isArray(Je),"`value` should not be array when `TreeSelect` is single mode.")}var at=null,sn=["id","prefixCls","value","defaultValue","onChange","onSelect","onDeselect","searchValue","inputValue","onSearch","autoClearSearchValue","filterTreeNode","treeNodeFilterProp","showCheckedStrategy","treeNodeLabelProp","multiple","treeCheckable","treeCheckStrictly","labelInValue","fieldNames","treeDataSimpleMode","treeData","children","loadData","treeLoadedKeys","onTreeLoad","treeDefaultExpandAll","treeExpandedKeys","treeDefaultExpandedKeys","onTreeExpand","treeExpandAction","virtual","listHeight","listItemHeight","onDropdownVisibleChange","dropdownMatchSelectWidth","treeLine","treeIcon","showTreeIcon","switcherIcon","treeMotion"];function mt(At){return!At||(0,$e.Z)(At)!=="object"}var Ye=ie.forwardRef(function(At,Pn){var En=At.id,Ln=At.prefixCls,Ee=Ln===void 0?"rc-tree-select":Ln,Je=At.value,qe=At.defaultValue,lt=At.onChange,ft=At.onSelect,ut=At.onDeselect,wt=At.searchValue,De=At.inputValue,_e=At.onSearch,ke=At.autoClearSearchValue,st=ke===void 0?!0:ke,Ut=At.filterTreeNode,qt=At.treeNodeFilterProp,In=qt===void 0?"value":qt,vn=At.showCheckedStrategy,He=At.treeNodeLabelProp,it=At.multiple,dn=At.treeCheckable,gt=At.treeCheckStrictly,$t=At.labelInValue,gn=At.fieldNames,Aa=At.treeDataSimpleMode,zn=At.treeData,bt=At.children,Za=At.loadData,qn=At.treeLoadedKeys,Na=At.onTreeLoad,Ca=At.treeDefaultExpandAll,ja=At.treeExpandedKeys,xa=At.treeDefaultExpandedKeys,Ua=At.onTreeExpand,Ga=At.treeExpandAction,$a=At.virtual,Rt=At.listHeight,ma=Rt===void 0?200:Rt,Ht=At.listItemHeight,va=Ht===void 0?20:Ht,aa=At.onDropdownVisibleChange,Kt=At.dropdownMatchSelectWidth,Fn=Kt===void 0?!0:Kt,Qn=At.treeLine,hn=At.treeIcon,Sa=At.showTreeIcon,sa=At.switcherIcon,Ia=At.treeMotion,Ya=(0,Fe.Z)(At,sn),lr=(0,Le.ZP)(En),Br=dn&&!gt,or=dn||gt,Wr=gt||$t,Ra=or||it,ka=(0,We.Z)(qe,{value:Je}),nr=(0,Ze.Z)(ka,2),ra=nr[0],Ka=nr[1],er=ie.useMemo(function(){return dn?vn||Et:_t},[vn,dn]),Pa=ie.useMemo(function(){return jt(gn)},[JSON.stringify(gn)]),Va=(0,We.Z)("",{value:wt!==void 0?wt:De,postState:function(pa){return pa||""}}),ar=(0,Ze.Z)(Va,2),Qa=ar[0],Nr=ar[1],vr=function(pa){Nr(pa),_e==null||_e(pa)},Rr=Ce(zn,bt,Aa),_r=y(Rr,Pa),Ja=_r.keyEntities,Tr=_r.valueEntities,Or=ie.useCallback(function(cn){var pa=[],ha=[];return cn.forEach(function(Ea){Tr.has(Ea)?ha.push(Ea):pa.push(Ea)}),{missingRawValues:pa,existRawValues:ha}},[Tr]),$r=Me(Rr,Qa,{fieldNames:Pa,treeNodeFilterProp:In,filterTreeNode:Ut}),Jr=ie.useCallback(function(cn){if(cn){if(He)return cn[He];for(var pa=Pa._title,ha=0;ha<pa.length;ha+=1){var Ea=cn[pa[ha]];if(Ea!==void 0)return Ea}}},[Pa,He]),lo=ie.useCallback(function(cn){var pa=Wt(cn);return pa.map(function(ha){return mt(ha)?{value:ha}:ha})},[]),pr=ie.useCallback(function(cn){var pa=lo(cn);return pa.map(function(ha){var Ea=ha.label,hr=ha.value,Mr=ha.halfChecked,Pr,Lr=Tr.get(hr);if(Lr){var yr;Ea=(yr=Ea)!==null&&yr!==void 0?yr:Jr(Lr.node),Pr=Lr.node.disabled}else if(Ea===void 0){var Cr=lo(ra).find(function(Bo){return Bo.value===hr});Ea=Cr.label}return{label:Ea,value:hr,halfChecked:Mr,disabled:Pr}})},[Tr,Jr,lo,ra]),uo=ie.useMemo(function(){return lo(ra)},[lo,ra]),Fo=ie.useMemo(function(){var cn=[],pa=[];return uo.forEach(function(ha){ha.halfChecked?pa.push(ha):cn.push(ha)}),[cn,pa]},[uo]),oo=(0,Ze.Z)(Fo,2),Yr=oo[0],so=oo[1],ea=ie.useMemo(function(){return Yr.map(function(cn){return cn.value})},[Yr]),Sn=a(Yr,so,Br,Ja),Ot=(0,Ze.Z)(Sn,2),se=Ot[0],tt=Ot[1],St=ie.useMemo(function(){var cn=tn(se,er,Ja,Pa),pa=cn.map(function(Mr){var Pr,Lr,yr;return(Pr=(Lr=Ja[Mr])===null||Lr===void 0||(yr=Lr.node)===null||yr===void 0?void 0:yr[Pa.value])!==null&&Pr!==void 0?Pr:Mr}),ha=pa.map(function(Mr){var Pr=Yr.find(function(Lr){return Lr.value===Mr});return{value:Mr,label:Pr==null?void 0:Pr.label}}),Ea=pr(ha),hr=Ea[0];return!Ra&&hr&&Ke(hr.value)&&Ke(hr.label)?[]:Ea.map(function(Mr){var Pr;return(0,Ae.Z)((0,Ae.Z)({},Mr),{},{label:(Pr=Mr.label)!==null&&Pr!==void 0?Pr:Mr.value})})},[Pa,Ra,se,Yr,pr,er,Ja]),zt=E(St),ot=(0,Ze.Z)(zt,1),nn=ot[0],Xt=vt(function(cn,pa,ha){var Ea=pr(cn);if(Ka(Ea),st&&Nr(""),lt){var hr=cn;if(Br){var Mr=tn(cn,er,Ja,Pa);hr=Mr.map(function(br){var Co=Tr.get(br);return Co?Co.node[Pa.value]:br})}var Pr=pa||{triggerValue:void 0,selected:void 0},Lr=Pr.triggerValue,yr=Pr.selected,Cr=hr;if(gt){var Bo=so.filter(function(br){return!hr.includes(br.value)});Cr=[].concat((0,Ne.Z)(Cr),(0,Ne.Z)(Bo))}var Eo=pr(Cr),ho={preValue:Yr,triggerValue:Lr},yo=!0;(gt||ha==="selection"&&!yr)&&(yo=!1),Ve(ho,Lr,cn,Rr,yo,Pa),or?ho.checked=yr:ho.selected=yr;var Ao=Wr?Eo:Eo.map(function(br){return br.value});lt(Ra?Ao:Ao[0],Wr?null:Eo.map(function(br){return br.label}),ho)}}),Vt=ie.useCallback(function(cn,pa){var ha,Ea=pa.selected,hr=pa.source,Mr=Ja[cn],Pr=Mr==null?void 0:Mr.node,Lr=(ha=Pr==null?void 0:Pr[Pa.value])!==null&&ha!==void 0?ha:cn;if(!Ra)Xt([Lr],{selected:!0,triggerValue:Lr},"option");else{var yr=Ea?[].concat((0,Ne.Z)(ea),[Lr]):se.filter(function(Co){return Co!==Lr});if(Br){var Cr=Or(yr),Bo=Cr.missingRawValues,Eo=Cr.existRawValues,ho=Eo.map(function(Co){return Tr.get(Co).key}),yo;if(Ea){var Ao=(0,Te.S)(ho,!0,Ja);yo=Ao.checkedKeys}else{var br=(0,Te.S)(ho,{checked:!1,halfCheckedKeys:tt},Ja);yo=br.checkedKeys}yr=[].concat((0,Ne.Z)(Bo),(0,Ne.Z)(yo.map(function(Co){return Ja[Co].node[Pa.value]})))}Xt(yr,{selected:Ea,triggerValue:Lr},hr||"option")}Ea||!Ra?ft==null||ft(Lr,Pe(Pr)):ut==null||ut(Lr,Pe(Pr))},[Or,Tr,Ja,Pa,Ra,ea,Xt,Br,ft,ut,se,tt]),Jt=ie.useCallback(function(cn){if(aa){var pa={};Object.defineProperty(pa,"documentClickClose",{get:function(){return(0,Qe.ZP)(!1,"Second param of `onDropdownVisibleChange` has been removed."),!1}}),aa(cn,pa)}},[aa]),$n=vt(function(cn,pa){var ha=cn.map(function(Ea){return Ea.value});if(pa.type==="clear"){Xt(ha,{},"selection");return}pa.values.length&&Vt(pa.values[0].value,{selected:!1,source:"selection"})}),Da=ie.useMemo(function(){return{virtual:$a,dropdownMatchSelectWidth:Fn,listHeight:ma,listItemHeight:va,treeData:$r,fieldNames:Pa,onSelect:Vt,treeExpandAction:Ga}},[$a,Fn,ma,va,$r,Pa,Vt,Ga]),La=ie.useMemo(function(){return{checkable:or,loadData:Za,treeLoadedKeys:qn,onTreeLoad:Na,checkedKeys:se,halfCheckedKeys:tt,treeDefaultExpandAll:Ca,treeExpandedKeys:ja,treeDefaultExpandedKeys:xa,onTreeExpand:Ua,treeIcon:hn,treeMotion:Ia,showTreeIcon:Sa,switcherIcon:sa,treeLine:Qn,treeNodeFilterProp:In,keyEntities:Ja}},[or,Za,qn,Na,se,tt,Ca,ja,xa,Ua,hn,Ia,Sa,sa,Qn,In,Ja]);return ie.createElement(nt.Provider,{value:Da},ie.createElement(rt.Provider,{value:La},ie.createElement(Ge.Ac,(0,Be.Z)({ref:Pn},Ya,{id:lr,prefixCls:Ee,mode:Ra?"multiple":void 0,displayValues:nn,onDisplayValuesChange:$n,searchValue:Qa,onSearch:vr,OptionList:ht,emptyOptions:!Rr.length,onDropdownVisibleChange:Jt,dropdownMatchSelectWidth:Fn}))))}),Mt=Ye;Mt.TreeNode=le,Mt.SHOW_ALL=_t,Mt.SHOW_PARENT=be,Mt.SHOW_CHILD=Et;var Gn=Mt,Rn=Gn,Lt=oe(2738),kn=oe(53487),on=oe(62892),Mn=oe(19080),un=oe(36355),Xn=oe(1684),Fa=oe(93891),oa=oe(19716),Yt=oe(32441),_n=oe(14154),wn=oe(58582),ia=oe(84443),na=oe(66339),Zn=oe(33234),Qt=oe(71997),Nt=oe(98447),fn=oe(37613),Dn=oe(83116),la=oe(20648);const Jn=At=>{const{componentCls:Pn,treePrefixCls:En,colorBgElevated:Ln}=At,Ee=`.${En}`;return[{[`${Pn}-dropdown`]:[{padding:`${At.paddingXS}px ${At.paddingXS/2}px`},(0,la.Yk)(En,(0,fn.TS)(At,{colorBgContainer:Ln})),{[Ee]:{borderRadius:0,[`${Ee}-list-holder-inner`]:{alignItems:"stretch",[`${Ee}-treenode`]:{[`${Ee}-node-content-wrapper`]:{flex:"auto"}}}}},(0,Nt.C2)(`${En}-checkbox`,At),{"&-rtl":{direction:"rtl",[`${Ee}-switcher${Ee}-switcher_close`]:{[`${Ee}-switcher-icon svg`]:{transform:"rotate(90deg)"}}}}]}]};function wa(At,Pn){return(0,Dn.Z)("TreeSelect",En=>{const Ln=(0,fn.TS)(En,{treePrefixCls:Pn});return[Jn(Ln)]},la.TM)(At)}var Wn=function(At,Pn){var En={};for(var Ln in At)Object.prototype.hasOwnProperty.call(At,Ln)&&Pn.indexOf(Ln)<0&&(En[Ln]=At[Ln]);if(At!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ee=0,Ln=Object.getOwnPropertySymbols(At);Ee<Ln.length;Ee++)Pn.indexOf(Ln[Ee])<0&&Object.prototype.propertyIsEnumerable.call(At,Ln[Ee])&&(En[Ln[Ee]]=At[Ln[Ee]]);return En};const jn=(At,Pn)=>{var En,{prefixCls:Ln,size:Ee,disabled:Je,bordered:qe=!0,className:lt,rootClassName:ft,treeCheckable:ut,multiple:wt,listHeight:De=256,listItemHeight:_e=26,placement:ke,notFoundContent:st,switcherIcon:Ut,treeLine:qt,getPopupContainer:In,popupClassName:vn,dropdownClassName:He,treeIcon:it=!1,transitionName:dn,choiceTransitionName:gt="",status:$t,treeExpandAction:gn,builtinPlacements:Aa,dropdownMatchSelectWidth:zn,popupMatchSelectWidth:bt,allowClear:Za}=At,qn=Wn(At,["prefixCls","size","disabled","bordered","className","rootClassName","treeCheckable","multiple","listHeight","listItemHeight","placement","notFoundContent","switcherIcon","treeLine","getPopupContainer","popupClassName","dropdownClassName","treeIcon","transitionName","choiceTransitionName","status","treeExpandAction","builtinPlacements","dropdownMatchSelectWidth","popupMatchSelectWidth","allowClear"]);const{getPopupContainer:Na,getPrefixCls:Ca,renderEmpty:ja,direction:xa,virtual:Ua,popupMatchSelectWidth:Ga,popupOverflow:$a}=ie.useContext(un.E_),Rt=Ca(),ma=Ca("select",Ln),Ht=Ca("select-tree",Ln),va=Ca("tree-select",Ln),{compactSize:aa,compactItemClassnames:Kt}=(0,Zn.ri)(ma,xa),[Fn,Qn]=(0,_n.Z)(ma),[hn]=wa(va,Ht),Sa=he()(vn||He,`${va}-dropdown`,{[`${va}-dropdown-rtl`]:xa==="rtl"},ft,Qn),sa=!!(ut||wt),Ia=(0,ia.Z)(qn.suffixIcon,qn.showArrow),Ya=(En=bt!=null?bt:zn)!==null&&En!==void 0?En:Ga,{status:lr,hasFeedback:Br,isFormItemInput:or,feedbackIcon:Wr}=ie.useContext(Yt.aM),Ra=(0,Mn.F)(lr,$t),{suffixIcon:ka,removeIcon:nr,clearIcon:ra}=(0,na.Z)(Object.assign(Object.assign({},qn),{multiple:sa,showSuffixIcon:Ia,hasFeedback:Br,feedbackIcon:Wr,prefixCls:ma,componentName:"TreeSelect"})),Ka=Za===!0?{clearIcon:ra}:Za;let er;st!==void 0?er=st:er=(ja==null?void 0:ja("Select"))||ie.createElement(Fa.Z,{componentName:"Select"});const Pa=(0,Lt.Z)(qn,["suffixIcon","itemIcon","removeIcon","clearIcon","switcherIcon"]),Va=ie.useMemo(()=>ke!==void 0?ke:xa==="rtl"?"bottomRight":"bottomLeft",[ke,xa]),ar=(0,wn.Z)(Aa,$a),Qa=(0,oa.Z)(Tr=>{var Or;return(Or=Ee!=null?Ee:aa)!==null&&Or!==void 0?Or:Tr}),Nr=ie.useContext(Xn.Z),vr=Je!=null?Je:Nr,Rr=he()(!Ln&&va,{[`${ma}-lg`]:Qa==="large",[`${ma}-sm`]:Qa==="small",[`${ma}-rtl`]:xa==="rtl",[`${ma}-borderless`]:!qe,[`${ma}-in-form-item`]:or},(0,Mn.Z)(ma,Ra,Br),Kt,lt,ft,Qn),_r=Tr=>ie.createElement(Qt.Z,{prefixCls:Ht,switcherIcon:Ut,treeNodeProps:Tr,showLine:qt}),Ja=ie.createElement(Rn,Object.assign({virtual:Ua,disabled:vr},Pa,{dropdownMatchSelectWidth:Ya,builtinPlacements:ar,ref:Pn,prefixCls:ma,className:Rr,listHeight:De,listItemHeight:_e,treeCheckable:ut&&ie.createElement("span",{className:`${ma}-tree-checkbox-inner`}),treeLine:!!qt,suffixIcon:ka,multiple:sa,placement:Va,removeIcon:nr,allowClear:Ka,switcherIcon:_r,showTreeIcon:it,notFoundContent:er,getPopupContainer:In||Na,treeMotion:null,dropdownClassName:Sa,choiceTransitionName:(0,on.m)(Rt,"",gt),transitionName:(0,on.m)(Rt,"slide-up",dn),treeExpandAction:gn}));return Fn(hn(Ja))},fa=ie.forwardRef(jn),Ba=(0,kn.Z)(fa);fa.TreeNode=le,fa.SHOW_ALL=_t,fa.SHOW_PARENT=be,fa.SHOW_CHILD=Et,fa._InternalPanelDoNotUseOrYouWillBeFired=Ba;var Ta=fa},24334:function(dt,xt,oe){var x,he;(function(Be,Ne){dt.exports=Ne(Be)})(typeof self!="undefined"?self:typeof window!="undefined"?window:typeof oe.g!="undefined"?oe.g:this,function(Be){"use strict";Be=Be||{};var Ne=Be.Base64,Ae="2.6.4",Ze="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Fe=function(et){for(var rt={},xe=0,Pt=et.length;xe<Pt;xe++)rt[et.charAt(xe)]=xe;return rt}(Ze),$e=String.fromCharCode,Ge=function(et){if(et.length<2){var rt=et.charCodeAt(0);return rt<128?et:rt<2048?$e(192|rt>>>6)+$e(128|rt&63):$e(224|rt>>>12&15)+$e(128|rt>>>6&63)+$e(128|rt&63)}else{var rt=65536+(et.charCodeAt(0)-55296)*1024+(et.charCodeAt(1)-56320);return $e(240|rt>>>18&7)+$e(128|rt>>>12&63)+$e(128|rt>>>6&63)+$e(128|rt&63)}},Le=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,Te=function(et){return et.replace(Le,Ge)},We=function(et){var rt=[0,2,1][et.length%3],xe=et.charCodeAt(0)<<16|(et.length>1?et.charCodeAt(1):0)<<8|(et.length>2?et.charCodeAt(2):0),Pt=[Ze.charAt(xe>>>18),Ze.charAt(xe>>>12&63),rt>=2?"=":Ze.charAt(xe>>>6&63),rt>=1?"=":Ze.charAt(xe&63)];return Pt.join("")},Qe=Be.btoa&&typeof Be.btoa=="function"?function(et){return Be.btoa(et)}:function(et){if(et.match(/[^\x00-\xFF]/))throw new RangeError("The string contains invalid characters.");return et.replace(/[\s\S]{1,3}/g,We)},ie=function(et){return Qe(Te(String(et)))},E=function(et){return et.replace(/[+\/]/g,function(rt){return rt=="+"?"-":"_"}).replace(/=/g,"")},a=function(et,rt){return rt?E(ie(et)):ie(et)},b=function(et){return a(et,!0)},y;Be.Uint8Array&&(y=function(et,rt){for(var xe="",Pt=0,yt=et.length;Pt<yt;Pt+=3){var Tt=et[Pt],nt=et[Pt+1],Wt=et[Pt+2],jt=Tt<<16|nt<<8|Wt;xe+=Ze.charAt(jt>>>18)+Ze.charAt(jt>>>12&63)+(typeof nt!="undefined"?Ze.charAt(jt>>>6&63):"=")+(typeof Wt!="undefined"?Ze.charAt(jt&63):"=")}return rt?E(xe):xe});var z=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,ne=function(et){switch(et.length){case 4:var rt=(7&et.charCodeAt(0))<<18|(63&et.charCodeAt(1))<<12|(63&et.charCodeAt(2))<<6|63&et.charCodeAt(3),xe=rt-65536;return $e((xe>>>10)+55296)+$e((xe&1023)+56320);case 3:return $e((15&et.charCodeAt(0))<<12|(63&et.charCodeAt(1))<<6|63&et.charCodeAt(2));default:return $e((31&et.charCodeAt(0))<<6|63&et.charCodeAt(1))}},re=function(et){return et.replace(z,ne)},le=function(et){var rt=et.length,xe=rt%4,Pt=(rt>0?Fe[et.charAt(0)]<<18:0)|(rt>1?Fe[et.charAt(1)]<<12:0)|(rt>2?Fe[et.charAt(2)]<<6:0)|(rt>3?Fe[et.charAt(3)]:0),yt=[$e(Pt>>>16),$e(Pt>>>8&255),$e(Pt&255)];return yt.length-=[0,0,2,1][xe],yt.join("")},ge=Be.atob&&typeof Be.atob=="function"?function(et){return Be.atob(et)}:function(et){return et.replace(/\S{1,4}/g,le)},fe=function(et){return ge(String(et).replace(/[^A-Za-z0-9\+\/]/g,""))},Pe=function(et){return re(ge(et))},Ve=function(et){return String(et).replace(/[-_]/g,function(rt){return rt=="-"?"+":"/"}).replace(/[^A-Za-z0-9\+\/]/g,"")},Me=function(et){return Pe(Ve(et))},vt;Be.Uint8Array&&(vt=function(et){return Uint8Array.from(fe(Ve(et)),function(rt){return rt.charCodeAt(0)})});var Ie=function(){var et=Be.Base64;return Be.Base64=Ne,et};if(Be.Base64={VERSION:Ae,atob:fe,btoa:Qe,fromBase64:Me,toBase64:a,utob:Te,encode:a,encodeURI:b,btou:re,decode:Me,noConflict:Ie,fromUint8Array:y,toUint8Array:vt},typeof Object.defineProperty=="function"){var Ce=function(et){return{value:et,enumerable:!1,writable:!0,configurable:!0}};Be.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",Ce(function(){return Me(this)})),Object.defineProperty(String.prototype,"toBase64",Ce(function(et){return a(this,et)})),Object.defineProperty(String.prototype,"toBase64URI",Ce(function(){return a(this,!0)}))}}return Be.Meteor&&(Base64=Be.Base64),dt.exports?dt.exports.Base64=Be.Base64:(x=[],he=function(){return Be.Base64}.apply(xt,x),he!==void 0&&(dt.exports=he)),{Base64:Be.Base64}})},67753:function(dt,xt,oe){"use strict";oe.d(xt,{Z5:function(){return Ys},_l:function(){return _d},bK:function(){return ts}});var x=oe(59301),he=oe(18870);function Be(ee,te){ee.prototype=Object.create(te.prototype),ee.prototype.constructor=ee,(0,he.Z)(ee,te)}var Ne=oe(5016),Ae=oe(59781),Ze=x.createContext(null),Fe=null;function $e(ee){ee()}var Ge=$e,Le=function(te){return Ge=te},Te=function(){return Ge};function We(){var ee=Te(),te=null,ae=null;return{clear:function(){te=null,ae=null},notify:function(){ee(function(){for(var ce=te;ce;)ce.callback(),ce=ce.next})},get:function(){for(var ce=[],me=te;me;)ce.push(me),me=me.next;return ce},subscribe:function(ce){var me=!0,ve=ae={callback:ce,next:null,prev:ae};return ve.prev?ve.prev.next=ve:te=ve,function(){!me||te===null||(me=!1,ve.next?ve.next.prev=ve.prev:ae=ve.prev,ve.prev?ve.prev.next=ve.next:te=ve.next)}}}}var Qe={notify:function(){},get:function(){return[]}};function ie(ee,te){var ae,ue=Qe;function ce(Oe){return we(),ue.subscribe(Oe)}function me(){ue.notify()}function ve(){je.onStateChange&&je.onStateChange()}function pe(){return!!ae}function we(){ae||(ae=te?te.addNestedSub(ve):ee.subscribe(ve),ue=We())}function Ue(){ae&&(ae(),ae=void 0,ue.clear(),ue=Qe)}var je={addNestedSub:ce,notifyNestedSubs:me,handleChangeWrapper:ve,isSubscribed:pe,trySubscribe:we,tryUnsubscribe:Ue,getListeners:function(){return ue}};return je}var E=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined"?x.useLayoutEffect:x.useEffect;function a(ee){var te=ee.store,ae=ee.context,ue=ee.children,ce=(0,x.useMemo)(function(){var pe=ie(te);return{store:te,subscription:pe}},[te]),me=(0,x.useMemo)(function(){return te.getState()},[te]);E(function(){var pe=ce.subscription;return pe.onStateChange=pe.notifyNestedSubs,pe.trySubscribe(),me!==te.getState()&&pe.notifyNestedSubs(),function(){pe.tryUnsubscribe(),pe.onStateChange=null}},[ce,me]);var ve=ae||Ze;return x.createElement(ve.Provider,{value:ce},ue)}var b=a,y=oe(37417),z=oe(94266),ne=oe.n(z),re=oe(53410),le=["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef","forwardRef","context"],ge=["reactReduxForwardedRef"],fe=[],Pe=[null,null],Ve=function(te){try{return JSON.stringify(te)}catch(ae){return String(te)}};function Me(ee,te){var ae=ee[1];return[te.payload,ae+1]}function vt(ee,te,ae){E(function(){return ee.apply(void 0,te)},ae)}function Ie(ee,te,ae,ue,ce,me,ve){ee.current=ue,te.current=ce,ae.current=!1,me.current&&(me.current=null,ve())}function Ce(ee,te,ae,ue,ce,me,ve,pe,we,Ue){if(ee){var je=!1,Oe=null,Re=function(){if(!je){var bn=te.getState(),On,Tn;try{On=ue(bn,ce.current)}catch(Yn){Tn=Yn,Oe=Yn}Tn||(Oe=null),On===me.current?ve.current||we():(me.current=On,pe.current=On,ve.current=!0,Ue({type:"STORE_UPDATED",payload:{error:Tn}}))}};ae.onStateChange=Re,ae.trySubscribe(),Re();var Xe=function(){if(je=!0,ae.tryUnsubscribe(),ae.onStateChange=null,Oe)throw Oe};return Xe}}var et=function(){return[null,0]};function rt(ee,te){te===void 0&&(te={});var ae=te,ue=ae.getDisplayName,ce=ue===void 0?function(za){return"ConnectAdvanced("+za+")"}:ue,me=ae.methodName,ve=me===void 0?"connectAdvanced":me,pe=ae.renderCountProp,we=pe===void 0?void 0:pe,Ue=ae.shouldHandleStateChanges,je=Ue===void 0?!0:Ue,Oe=ae.storeKey,Re=Oe===void 0?"store":Oe,Xe=ae.withRef,Ft=Xe===void 0?!1:Xe,bn=ae.forwardRef,On=bn===void 0?!1:bn,Tn=ae.context,Yn=Tn===void 0?Ze:Tn,ua=(0,y.Z)(ae,le);if(0)var ga;var Wa=Yn;return function(rr){var jr=rr.displayName||rr.name||"Component",dr=ce(jr),zr=(0,Ne.Z)({},ua,{getDisplayName:ce,methodName:ve,renderCountProp:we,shouldHandleStateChanges:je,storeKey:Re,displayName:dr,wrappedComponentName:jr,WrappedComponent:rr}),qr=ua.pure;function ao(ro){return ee(ro.dispatch,zr)}var Go=qr?x.useMemo:function(ro){return ro()};function Ro(ro){var $o=(0,x.useMemo)(function(){var Vi=ro.reactReduxForwardedRef,Cu=(0,y.Z)(ro,ge);return[ro.context,Vi,Cu]},[ro]),Zo=$o[0],zi=$o[1],ui=$o[2],ei=(0,x.useMemo)(function(){return Zo&&Zo.Consumer&&(0,re.isContextConsumer)(x.createElement(Zo.Consumer,null))?Zo:Wa},[Zo,Wa]),jo=(0,x.useContext)(ei),si=!!ro.store&&!!ro.store.getState&&!!ro.store.dispatch,Dl=!!jo&&!!jo.store,zo=si?ro.store:jo.store,Hi=(0,x.useMemo)(function(){return ao(zo)},[zo]),Ll=(0,x.useMemo)(function(){if(!je)return Pe;var Vi=ie(zo,si?null:jo.subscription),Cu=Vi.notifyNestedSubs.bind(Vi);return[Vi,Cu]},[zo,si,jo]),bi=Ll[0],Il=Ll[1],Nl=(0,x.useMemo)(function(){return si?jo:(0,Ne.Z)({},jo,{subscription:bi})},[si,jo,bi]),ns=(0,x.useReducer)(Me,fe,et),Wd=ns[0],Ol=Wd[0],Ud=ns[1];if(Ol&&Ol.error)throw Ol.error;var as=(0,x.useRef)(),Fu=(0,x.useRef)(ui),Ml=(0,x.useRef)(),rs=(0,x.useRef)(!1),Bu=Go(function(){return Ml.current&&ui===Fu.current?Ml.current:Hi(zo.getState(),ui)},[zo,Ol,ui]);vt(Ie,[Fu,as,rs,ui,Bu,Ml,Il]),vt(Ce,[je,zo,bi,Hi,Fu,as,rs,Ml,Il,Ud],[zo,bi,Hi]);var Au=(0,x.useMemo)(function(){return x.createElement(rr,(0,Ne.Z)({},Bu,{ref:zi}))},[zi,rr,Bu]),Qd=(0,x.useMemo)(function(){return je?x.createElement(ei.Provider,{value:Nl},Au):Au},[ei,Au,Nl]);return Qd}var bo=qr?x.memo(Ro):Ro;if(bo.WrappedComponent=rr,bo.displayName=Ro.displayName=dr,On){var _o=x.forwardRef(function($o,Zo){return x.createElement(bo,(0,Ne.Z)({},$o,{reactReduxForwardedRef:Zo}))});return _o.displayName=dr,_o.WrappedComponent=rr,ne()(_o,rr)}return ne()(bo,rr)}}function xe(ee,te){return ee===te?ee!==0||te!==0||1/ee===1/te:ee!==ee&&te!==te}function Pt(ee,te){if(xe(ee,te))return!0;if(typeof ee!="object"||ee===null||typeof te!="object"||te===null)return!1;var ae=Object.keys(ee),ue=Object.keys(te);if(ae.length!==ue.length)return!1;for(var ce=0;ce<ae.length;ce++)if(!Object.prototype.hasOwnProperty.call(te,ae[ce])||!xe(ee[ae[ce]],te[ae[ce]]))return!1;return!0}function yt(ee,te){var ae={},ue=function(ve){var pe=ee[ve];typeof pe=="function"&&(ae[ve]=function(){return te(pe.apply(void 0,arguments))})};for(var ce in ee)ue(ce);return ae}function Tt(ee){return function(ae,ue){var ce=ee(ae,ue);function me(){return ce}return me.dependsOnOwnProps=!1,me}}function nt(ee){return ee.dependsOnOwnProps!==null&&ee.dependsOnOwnProps!==void 0?!!ee.dependsOnOwnProps:ee.length!==1}function Wt(ee,te){return function(ue,ce){var me=ce.displayName,ve=function(we,Ue){return ve.dependsOnOwnProps?ve.mapToProps(we,Ue):ve.mapToProps(we)};return ve.dependsOnOwnProps=!0,ve.mapToProps=function(we,Ue){ve.mapToProps=ee,ve.dependsOnOwnProps=nt(ee);var je=ve(we,Ue);return typeof je=="function"&&(ve.mapToProps=je,ve.dependsOnOwnProps=nt(je),je=ve(we,Ue)),je},ve}}function jt(ee){return typeof ee=="function"?Wt(ee,"mapDispatchToProps"):void 0}function It(ee){return ee?void 0:Tt(function(te){return{dispatch:te}})}function ln(ee){return ee&&typeof ee=="object"?Tt(function(te){return yt(ee,te)}):void 0}var Ke=[jt,It,ln];function ze(ee){return typeof ee=="function"?Wt(ee,"mapStateToProps"):void 0}function Bt(ee){return ee?void 0:Tt(function(){return{}})}var Gt=[ze,Bt];function ht(ee,te,ae){return(0,Ne.Z)({},ae,ee,te)}function _t(ee){return function(ae,ue){var ce=ue.displayName,me=ue.pure,ve=ue.areMergedPropsEqual,pe=!1,we;return function(je,Oe,Re){var Xe=ee(je,Oe,Re);return pe?(!me||!ve(Xe,we))&&(we=Xe):(pe=!0,we=Xe),we}}}function be(ee){return typeof ee=="function"?_t(ee):void 0}function Et(ee){return ee?void 0:function(){return ht}}var tn=[be,Et],pt=["initMapStateToProps","initMapDispatchToProps","initMergeProps"];function at(ee,te,ae,ue){return function(me,ve){return ae(ee(me,ve),te(ue,ve),ve)}}function sn(ee,te,ae,ue,ce){var me=ce.areStatesEqual,ve=ce.areOwnPropsEqual,pe=ce.areStatePropsEqual,we=!1,Ue,je,Oe,Re,Xe;function Ft(ua,ga){return Ue=ua,je=ga,Oe=ee(Ue,je),Re=te(ue,je),Xe=ae(Oe,Re,je),we=!0,Xe}function bn(){return Oe=ee(Ue,je),te.dependsOnOwnProps&&(Re=te(ue,je)),Xe=ae(Oe,Re,je),Xe}function On(){return ee.dependsOnOwnProps&&(Oe=ee(Ue,je)),te.dependsOnOwnProps&&(Re=te(ue,je)),Xe=ae(Oe,Re,je),Xe}function Tn(){var ua=ee(Ue,je),ga=!pe(ua,Oe);return Oe=ua,ga&&(Xe=ae(Oe,Re,je)),Xe}function Yn(ua,ga){var Wa=!ve(ga,je),za=!me(ua,Ue,ga,je);return Ue=ua,je=ga,Wa&&za?bn():Wa?On():za?Tn():Xe}return function(ga,Wa){return we?Yn(ga,Wa):Ft(ga,Wa)}}function mt(ee,te){var ae=te.initMapStateToProps,ue=te.initMapDispatchToProps,ce=te.initMergeProps,me=(0,y.Z)(te,pt),ve=ae(ee,me),pe=ue(ee,me),we=ce(ee,me),Ue=me.pure?sn:at;return Ue(ve,pe,we,ee,me)}var Ye=["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"];function Mt(ee,te,ae){for(var ue=te.length-1;ue>=0;ue--){var ce=te[ue](ee);if(ce)return ce}return function(me,ve){throw new Error("Invalid value of type "+typeof ee+" for "+ae+" argument when connecting component "+ve.wrappedComponentName+".")}}function Gn(ee,te){return ee===te}function Rn(ee){var te=ee===void 0?{}:ee,ae=te.connectHOC,ue=ae===void 0?rt:ae,ce=te.mapStateToPropsFactories,me=ce===void 0?Gt:ce,ve=te.mapDispatchToPropsFactories,pe=ve===void 0?Ke:ve,we=te.mergePropsFactories,Ue=we===void 0?tn:we,je=te.selectorFactory,Oe=je===void 0?mt:je;return function(Xe,Ft,bn,On){On===void 0&&(On={});var Tn=On,Yn=Tn.pure,ua=Yn===void 0?!0:Yn,ga=Tn.areStatesEqual,Wa=ga===void 0?Gn:ga,za=Tn.areOwnPropsEqual,rr=za===void 0?Pt:za,jr=Tn.areStatePropsEqual,dr=jr===void 0?Pt:jr,zr=Tn.areMergedPropsEqual,qr=zr===void 0?Pt:zr,ao=(0,y.Z)(Tn,Ye),Go=Mt(Xe,me,"mapStateToProps"),Ro=Mt(Ft,pe,"mapDispatchToProps"),bo=Mt(bn,Ue,"mergeProps");return ue(Oe,(0,Ne.Z)({methodName:"connect",getDisplayName:function(ro){return"Connect("+ro+")"},shouldHandleStateChanges:!!Xe,initMapStateToProps:Go,initMapDispatchToProps:Ro,initMergeProps:bo,pure:ua,areStatesEqual:Wa,areOwnPropsEqual:rr,areStatePropsEqual:dr,areMergedPropsEqual:qr},ao))}}var Lt=Rn();function kn(){var ee=useContext(ReactReduxContext);return ee}function on(ee){ee===void 0&&(ee=ReactReduxContext);var te=ee===ReactReduxContext?useDefaultReduxContext:function(){return useContext(ee)};return function(){var ue=te(),ce=ue.store;return ce}}var Mn=null;function un(ee){ee===void 0&&(ee=ReactReduxContext);var te=ee===ReactReduxContext?useDefaultStore:createStoreHook(ee);return function(){var ue=te();return ue.dispatch}}var Xn=null,Fa=function(te,ae){return te===ae};function oa(ee,te,ae,ue){var ce=useReducer(function(Ft){return Ft+1},0),me=ce[1],ve=useMemo(function(){return createSubscription(ae,ue)},[ae,ue]),pe=useRef(),we=useRef(),Ue=useRef(),je=useRef(),Oe=ae.getState(),Re;try{if(ee!==we.current||Oe!==Ue.current||pe.current){var Xe=ee(Oe);je.current===void 0||!te(Xe,je.current)?Re=Xe:Re=je.current}else Re=je.current}catch(Ft){throw pe.current&&(Ft.message+=`
The error may be correlated with this previous error:
`+pe.current.stack+`
`),Ft}return useIsomorphicLayoutEffect(function(){we.current=ee,Ue.current=Oe,je.current=Re,pe.current=void 0}),useIsomorphicLayoutEffect(function(){function Ft(){try{var bn=ae.getState();if(bn===Ue.current)return;var On=we.current(bn);if(te(On,je.current))return;je.current=On,Ue.current=bn}catch(Tn){pe.current=Tn}me()}return ve.onStateChange=Ft,ve.trySubscribe(),Ft(),function(){return ve.tryUnsubscribe()}},[ae,ve]),Re}function Yt(ee){ee===void 0&&(ee=ReactReduxContext);var te=ee===ReactReduxContext?useDefaultReduxContext:function(){return useContext(ee)};return function(ue,ce){ce===void 0&&(ce=Fa);var me=te(),ve=me.store,pe=me.subscription,we=oa(ue,ce,ve,pe);return useDebugValue(we),we}}var _n=null,wn=oe(4676);Le(wn.unstable_batchedUpdates);function ia(ee,te){if(ee.length!==te.length)return!1;for(var ae=0;ae<ee.length;ae++)if(ee[ae]!==te[ae])return!1;return!0}function na(ee,te){var ae=(0,x.useState)(function(){return{inputs:te,result:ee()}})[0],ue=(0,x.useRef)(!0),ce=(0,x.useRef)(ae),me=ue.current||!!(te&&ce.current.inputs&&ia(te,ce.current.inputs)),ve=me?ce.current:{inputs:te,result:ee()};return(0,x.useEffect)(function(){ue.current=!1,ce.current=ve},[ve]),ve.result}function Zn(ee,te){return na(function(){return ee},te)}var Qt=na,Nt=Zn,fn=!0,Dn="Invariant failed";function la(ee,te){if(!ee){if(fn)throw new Error(Dn);var ae=typeof te=="function"?te():te,ue=ae?"".concat(Dn,": ").concat(ae):Dn;throw new Error(ue)}}var Jn=function(te){var ae=te.top,ue=te.right,ce=te.bottom,me=te.left,ve=ue-me,pe=ce-ae,we={top:ae,right:ue,bottom:ce,left:me,width:ve,height:pe,x:me,y:ae,center:{x:(ue+me)/2,y:(ce+ae)/2}};return we},wa=function(te,ae){return{top:te.top-ae.top,left:te.left-ae.left,bottom:te.bottom+ae.bottom,right:te.right+ae.right}},Wn=function(te,ae){return{top:te.top+ae.top,left:te.left+ae.left,bottom:te.bottom-ae.bottom,right:te.right-ae.right}},jn=function(te,ae){return{top:te.top+ae.y,left:te.left+ae.x,bottom:te.bottom+ae.y,right:te.right+ae.x}},ya={top:0,right:0,bottom:0,left:0},fa=function(te){var ae=te.borderBox,ue=te.margin,ce=ue===void 0?ya:ue,me=te.border,ve=me===void 0?ya:me,pe=te.padding,we=pe===void 0?ya:pe,Ue=Jn(wa(ae,ce)),je=Jn(Wn(ae,ve)),Oe=Jn(Wn(je,we));return{marginBox:Ue,borderBox:Jn(ae),paddingBox:je,contentBox:Oe,margin:ce,border:ve,padding:we}},Ba=function(te){var ae=te.slice(0,-2),ue=te.slice(-2);if(ue!=="px")return 0;var ce=Number(ae);return isNaN(ce)&&la(!1),ce},Ta=function(){return{x:window.pageXOffset,y:window.pageYOffset}},At=function(te,ae){var ue=te.borderBox,ce=te.border,me=te.margin,ve=te.padding,pe=jn(ue,ae);return fa({borderBox:pe,border:ce,margin:me,padding:ve})},Pn=function(te,ae){return ae===void 0&&(ae=Ta()),At(te,ae)},En=function(te,ae){var ue={top:Ba(ae.marginTop),right:Ba(ae.marginRight),bottom:Ba(ae.marginBottom),left:Ba(ae.marginLeft)},ce={top:Ba(ae.paddingTop),right:Ba(ae.paddingRight),bottom:Ba(ae.paddingBottom),left:Ba(ae.paddingLeft)},me={top:Ba(ae.borderTopWidth),right:Ba(ae.borderRightWidth),bottom:Ba(ae.borderBottomWidth),left:Ba(ae.borderLeftWidth)};return fa({borderBox:te,margin:ue,padding:ce,border:me})},Ln=function(te){var ae=te.getBoundingClientRect(),ue=window.getComputedStyle(te);return En(ae,ue)},Ee=Number.isNaN||function(te){return typeof te=="number"&&te!==te};function Je(ee,te){return!!(ee===te||Ee(ee)&&Ee(te))}function qe(ee,te){if(ee.length!==te.length)return!1;for(var ae=0;ae<ee.length;ae++)if(!Je(ee[ae],te[ae]))return!1;return!0}function lt(ee,te){te===void 0&&(te=qe);var ae,ue=[],ce,me=!1;function ve(){for(var pe=[],we=0;we<arguments.length;we++)pe[we]=arguments[we];return me&&ae===this&&te(pe,ue)||(ce=ee.apply(this,pe),me=!0,ae=this,ue=pe),ce}return ve}var ft=lt,ut=function(te){var ae=[],ue=null,ce=function(){for(var ve=arguments.length,pe=new Array(ve),we=0;we<ve;we++)pe[we]=arguments[we];ae=pe,!ue&&(ue=requestAnimationFrame(function(){ue=null,te.apply(void 0,ae)}))};return ce.cancel=function(){ue&&(cancelAnimationFrame(ue),ue=null)},ce},wt=ut,De=!0,_e=/[ \t]{2,}/g,ke=/^[ \t]*/gm,st=function(te){return te.replace(_e," ").replace(ke,"").trim()},Ut=function(te){return st(`
%creact-beautiful-dnd
%c`+st(te)+`
%c\u{1F477}\u200D This is a development only message. It will be removed in production builds.
`)},qt=function(te){return[Ut(te),"color: #00C584; font-size: 1.2em; font-weight: bold;","line-height: 1.5","color: #723874;"]},In="__react-beautiful-dnd-disable-dev-warnings";function vn(ee,te){var ae;De||typeof window!="undefined"&&window[In]||(ae=console)[ee].apply(ae,qt(te))}var He=vn.bind(null,"warn"),it=vn.bind(null,"error");function dn(){}function gt(ee,te){return(0,Ne.Z)({},ee,{},te)}function $t(ee,te,ae){var ue=te.map(function(ce){var me=gt(ae,ce.options);return ee.addEventListener(ce.eventName,ce.fn,me),function(){ee.removeEventListener(ce.eventName,ce.fn,me)}});return function(){ue.forEach(function(me){me()})}}var gn=!0,Aa="Invariant failed";function zn(ee){this.message=ee}zn.prototype.toString=function(){return this.message};function bt(ee,te){if(!ee)throw gn?new zn(Aa):new zn(Aa+": "+(te||""))}var Za=function(ee){Be(te,ee);function te(){for(var ue,ce=arguments.length,me=new Array(ce),ve=0;ve<ce;ve++)me[ve]=arguments[ve];return ue=ee.call.apply(ee,[this].concat(me))||this,ue.callbacks=null,ue.unbind=dn,ue.onWindowError=function(pe){var we=ue.getCallbacks();we.isDragging()&&we.tryAbort();var Ue=pe.error;Ue instanceof zn&&pe.preventDefault()},ue.getCallbacks=function(){if(!ue.callbacks)throw new Error("Unable to find AppCallbacks in <ErrorBoundary/>");return ue.callbacks},ue.setCallbacks=function(pe){ue.callbacks=pe},ue}var ae=te.prototype;return ae.componentDidMount=function(){this.unbind=$t(window,[{eventName:"error",fn:this.onWindowError}])},ae.componentWillUnmount=function(){this.unbind()},ae.componentDidCatch=function(ce){if(ce instanceof zn){this.setState({});return}throw ce},ae.render=function(){return this.props.children(this.setCallbacks)},te}(x.Component),qn=`
Press space bar to start a drag.
When dragging you can use the arrow keys to move the item around and escape to cancel.
Some screen readers may require you to be in focus mode or to use your pass through key
`,Na=function(te){return te+1},Ca=function(te){return`
You have lifted an item in position `+Na(te.source.index)+`
`},ja=function(te,ae){var ue=te.droppableId===ae.droppableId,ce=Na(te.index),me=Na(ae.index);return ue?`
You have moved the item from position `+ce+`
to position `+me+`
`:`
You have moved the item from position `+ce+`
in list `+te.droppableId+`
to list `+ae.droppableId+`
in position `+me+`
`},xa=function(te,ae,ue){var ce=ae.droppableId===ue.droppableId;return ce?`
The item `+te+`
has been combined with `+ue.draggableId:`
The item `+te+`
in list `+ae.droppableId+`
has been combined with `+ue.draggableId+`
in list `+ue.droppableId+`
`},Ua=function(te){var ae=te.destination;if(ae)return ja(te.source,ae);var ue=te.combine;return ue?xa(te.draggableId,te.source,ue):"You are over an area that cannot be dropped on"},Ga=function(te){return`
The item has returned to its starting position
of `+Na(te.index)+`
`},$a=function(te){if(te.reason==="CANCEL")return`
Movement cancelled.
`+Ga(te.source)+`
`;var ae=te.destination,ue=te.combine;return ae?`
You have dropped the item.
`+ja(te.source,ae)+`
`:ue?`
You have dropped the item.
`+xa(te.draggableId,te.source,ue)+`
`:`
The item has been dropped while not over a drop area.
`+Ga(te.source)+`
`},Rt={dragHandleUsageInstructions:qn,onDragStart:Ca,onDragUpdate:Ua,onDragEnd:$a},ma={x:0,y:0},Ht=function(te,ae){return{x:te.x+ae.x,y:te.y+ae.y}},va=function(te,ae){return{x:te.x-ae.x,y:te.y-ae.y}},aa=function(te,ae){return te.x===ae.x&&te.y===ae.y},Kt=function(te){return{x:te.x!==0?-te.x:0,y:te.y!==0?-te.y:0}},Fn=function(te,ae,ue){var ce;return ue===void 0&&(ue=0),ce={},ce[te]=ae,ce[te==="x"?"y":"x"]=ue,ce},Qn=function(te,ae){return Math.sqrt(Math.pow(ae.x-te.x,2)+Math.pow(ae.y-te.y,2))},hn=function(te,ae){return Math.min.apply(Math,ae.map(function(ue){return Qn(te,ue)}))},Sa=function(te){return function(ae){return{x:te(ae.x),y:te(ae.y)}}},sa=function(ee,te){var ae=Jn({top:Math.max(te.top,ee.top),right:Math.min(te.right,ee.right),bottom:Math.min(te.bottom,ee.bottom),left:Math.max(te.left,ee.left)});return ae.width<=0||ae.height<=0?null:ae},Ia=function(te,ae){return{top:te.top+ae.y,left:te.left+ae.x,bottom:te.bottom+ae.y,right:te.right+ae.x}},Ya=function(te){return[{x:te.left,y:te.top},{x:te.right,y:te.top},{x:te.left,y:te.bottom},{x:te.right,y:te.bottom}]},lr={top:0,right:0,bottom:0,left:0},Br=function(te,ae){return ae?Ia(te,ae.scroll.diff.displacement):te},or=function(te,ae,ue){if(ue&&ue.increasedBy){var ce;return(0,Ne.Z)({},te,(ce={},ce[ae.end]=te[ae.end]+ue.increasedBy[ae.line],ce))}return te},Wr=function(te,ae){return ae&&ae.shouldClipSubject?sa(ae.pageMarginBox,te):Jn(te)},Ra=function(ee){var te=ee.page,ae=ee.withPlaceholder,ue=ee.axis,ce=ee.frame,me=Br(te.marginBox,ce),ve=or(me,ue,ae),pe=Wr(ve,ce);return{page:te,withPlaceholder:ae,active:pe}},ka=function(ee,te){ee.frame||bt(!1);var ae=ee.frame,ue=va(te,ae.scroll.initial),ce=Kt(ue),me=(0,Ne.Z)({},ae,{scroll:{initial:ae.scroll.initial,current:te,diff:{value:ue,displacement:ce},max:ae.scroll.max}}),ve=Ra({page:ee.subject.page,withPlaceholder:ee.subject.withPlaceholder,axis:ee.axis,frame:me}),pe=(0,Ne.Z)({},ee,{frame:me,subject:ve});return pe};function nr(ee){return Number.isInteger?Number.isInteger(ee):typeof ee=="number"&&isFinite(ee)&&Math.floor(ee)===ee}function ra(ee){return Object.values?Object.values(ee):Object.keys(ee).map(function(te){return ee[te]})}function Ka(ee,te){if(ee.findIndex)return ee.findIndex(te);for(var ae=0;ae<ee.length;ae++)if(te(ee[ae]))return ae;return-1}function er(ee,te){if(ee.find)return ee.find(te);var ae=Ka(ee,te);if(ae!==-1)return ee[ae]}function Pa(ee){return Array.prototype.slice.call(ee)}var Va=ft(function(ee){return ee.reduce(function(te,ae){return te[ae.descriptor.id]=ae,te},{})}),ar=ft(function(ee){return ee.reduce(function(te,ae){return te[ae.descriptor.id]=ae,te},{})}),Qa=ft(function(ee){return ra(ee)}),Nr=ft(function(ee){return ra(ee)}),vr=ft(function(ee,te){var ae=Nr(te).filter(function(ue){return ee===ue.descriptor.droppableId}).sort(function(ue,ce){return ue.descriptor.index-ce.descriptor.index});return ae});function Rr(ee){return ee.at&&ee.at.type==="REORDER"?ee.at.destination:null}function _r(ee){return ee.at&&ee.at.type==="COMBINE"?ee.at.combine:null}var Ja=ft(function(ee,te){return te.filter(function(ae){return ae.descriptor.id!==ee.descriptor.id})}),Tr=function(ee){var te=ee.isMovingForward,ae=ee.draggable,ue=ee.destination,ce=ee.insideDestination,me=ee.previousImpact;if(!ue.isCombineEnabled)return null;var ve=Rr(me);if(!ve)return null;function pe(bn){var On={type:"COMBINE",combine:{draggableId:bn,droppableId:ue.descriptor.id}};return(0,Ne.Z)({},me,{at:On})}var we=me.displaced.all,Ue=we.length?we[0]:null;if(te)return Ue?pe(Ue):null;var je=Ja(ae,ce);if(!Ue){if(!je.length)return null;var Oe=je[je.length-1];return pe(Oe.descriptor.id)}var Re=Ka(je,function(bn){return bn.descriptor.id===Ue});Re===-1&&bt(!1);var Xe=Re-1;if(Xe<0)return null;var Ft=je[Xe];return pe(Ft.descriptor.id)},Or=function(ee,te){return ee.descriptor.droppableId===te.descriptor.id},$r={point:ma,value:0},Jr={invisible:{},visible:{},all:[]},lo={displaced:Jr,displacedBy:$r,at:null},pr=function(ee,te){return function(ae){return ee<=ae&&ae<=te}},uo=function(ee){var te=pr(ee.top,ee.bottom),ae=pr(ee.left,ee.right);return function(ue){var ce=te(ue.top)&&te(ue.bottom)&&ae(ue.left)&&ae(ue.right);if(ce)return!0;var me=te(ue.top)||te(ue.bottom),ve=ae(ue.left)||ae(ue.right),pe=me&&ve;if(pe)return!0;var we=ue.top<ee.top&&ue.bottom>ee.bottom,Ue=ue.left<ee.left&&ue.right>ee.right,je=we&&Ue;if(je)return!0;var Oe=we&&ve||Ue&&me;return Oe}},Fo=function(ee){var te=pr(ee.top,ee.bottom),ae=pr(ee.left,ee.right);return function(ue){var ce=te(ue.top)&&te(ue.bottom)&&ae(ue.left)&&ae(ue.right);return ce}},oo={direction:"vertical",line:"y",crossAxisLine:"x",start:"top",end:"bottom",size:"height",crossAxisStart:"left",crossAxisEnd:"right",crossAxisSize:"width"},Yr={direction:"horizontal",line:"x",crossAxisLine:"y",start:"left",end:"right",size:"width",crossAxisStart:"top",crossAxisEnd:"bottom",crossAxisSize:"height"},so=function(ee){return function(te){var ae=pr(te.top,te.bottom),ue=pr(te.left,te.right);return function(ce){return ee===oo?ae(ce.top)&&ae(ce.bottom):ue(ce.left)&&ue(ce.right)}}},ea=function(te,ae){var ue=ae.frame?ae.frame.scroll.diff.displacement:ma;return Ia(te,ue)},Sn=function(te,ae,ue){return ae.subject.active?ue(ae.subject.active)(te):!1},Ot=function(te,ae,ue){return ue(ae)(te)},se=function(te){var ae=te.target,ue=te.destination,ce=te.viewport,me=te.withDroppableDisplacement,ve=te.isVisibleThroughFrameFn,pe=me?ea(ae,ue):ae;return Sn(pe,ue,ve)&&Ot(pe,ce,ve)},tt=function(te){return se((0,Ne.Z)({},te,{isVisibleThroughFrameFn:uo}))},St=function(te){return se((0,Ne.Z)({},te,{isVisibleThroughFrameFn:Fo}))},zt=function(te){return se((0,Ne.Z)({},te,{isVisibleThroughFrameFn:so(te.destination.axis)}))},ot=function(te,ae,ue){if(typeof ue=="boolean")return ue;if(!ae)return!0;var ce=ae.invisible,me=ae.visible;if(ce[te])return!1;var ve=me[te];return ve?ve.shouldAnimate:!0};function nn(ee,te){var ae=ee.page.marginBox,ue={top:te.point.y,right:0,bottom:0,left:te.point.x};return Jn(wa(ae,ue))}function Xt(ee){var te=ee.afterDragging,ae=ee.destination,ue=ee.displacedBy,ce=ee.viewport,me=ee.forceShouldAnimate,ve=ee.last;return te.reduce(function(we,Ue){var je=nn(Ue,ue),Oe=Ue.descriptor.id;we.all.push(Oe);var Re=tt({target:je,destination:ae,viewport:ce,withDroppableDisplacement:!0});if(!Re)return we.invisible[Ue.descriptor.id]=!0,we;var Xe=ot(Oe,ve,me),Ft={draggableId:Oe,shouldAnimate:Xe};return we.visible[Oe]=Ft,we},{all:[],visible:{},invisible:{}})}function Vt(ee,te){if(!ee.length)return 0;var ae=ee[ee.length-1].descriptor.index;return te.inHomeList?ae:ae+1}function Jt(ee){var te=ee.insideDestination,ae=ee.inHomeList,ue=ee.displacedBy,ce=ee.destination,me=Vt(te,{inHomeList:ae});return{displaced:Jr,displacedBy:ue,at:{type:"REORDER",destination:{droppableId:ce.descriptor.id,index:me}}}}function $n(ee){var te=ee.draggable,ae=ee.insideDestination,ue=ee.destination,ce=ee.viewport,me=ee.displacedBy,ve=ee.last,pe=ee.index,we=ee.forceShouldAnimate,Ue=Or(te,ue);if(pe==null)return Jt({insideDestination:ae,inHomeList:Ue,displacedBy:me,destination:ue});var je=er(ae,function(bn){return bn.descriptor.index===pe});if(!je)return Jt({insideDestination:ae,inHomeList:Ue,displacedBy:me,destination:ue});var Oe=Ja(te,ae),Re=ae.indexOf(je),Xe=Oe.slice(Re),Ft=Xt({afterDragging:Xe,destination:ue,displacedBy:me,last:ve,viewport:ce.frame,forceShouldAnimate:we});return{displaced:Ft,displacedBy:me,at:{type:"REORDER",destination:{droppableId:ue.descriptor.id,index:pe}}}}function Da(ee,te){return!!te.effected[ee]}var La=function(ee){var te=ee.isMovingForward,ae=ee.destination,ue=ee.draggables,ce=ee.combine,me=ee.afterCritical;if(!ae.isCombineEnabled)return null;var ve=ce.draggableId,pe=ue[ve],we=pe.descriptor.index,Ue=Da(ve,me);return Ue?te?we:we-1:te?we+1:we},cn=function(ee){var te=ee.isMovingForward,ae=ee.isInHomeList,ue=ee.insideDestination,ce=ee.location;if(!ue.length)return null;var me=ce.index,ve=te?me+1:me-1,pe=ue[0].descriptor.index,we=ue[ue.length-1].descriptor.index,Ue=ae?we:we+1;return ve<pe||ve>Ue?null:ve},pa=function(ee){var te=ee.isMovingForward,ae=ee.isInHomeList,ue=ee.draggable,ce=ee.draggables,me=ee.destination,ve=ee.insideDestination,pe=ee.previousImpact,we=ee.viewport,Ue=ee.afterCritical,je=pe.at;if(je||bt(!1),je.type==="REORDER"){var Oe=cn({isMovingForward:te,isInHomeList:ae,location:je.destination,insideDestination:ve});return Oe==null?null:$n({draggable:ue,insideDestination:ve,destination:me,viewport:we,last:pe.displaced,displacedBy:pe.displacedBy,index:Oe})}var Re=La({isMovingForward:te,destination:me,displaced:pe.displaced,draggables:ce,combine:je.combine,afterCritical:Ue});return Re==null?null:$n({draggable:ue,insideDestination:ve,destination:me,viewport:we,last:pe.displaced,displacedBy:pe.displacedBy,index:Re})},ha=function(ee){var te=ee.displaced,ae=ee.afterCritical,ue=ee.combineWith,ce=ee.displacedBy,me=!!(te.visible[ue]||te.invisible[ue]);return Da(ue,ae)?me?ma:Kt(ce.point):me?ce.point:ma},Ea=function(ee){var te=ee.afterCritical,ae=ee.impact,ue=ee.draggables,ce=_r(ae);ce||bt(!1);var me=ce.draggableId,ve=ue[me].page.borderBox.center,pe=ha({displaced:ae.displaced,afterCritical:te,combineWith:me,displacedBy:ae.displacedBy});return Ht(ve,pe)},hr=function(te,ae){return ae.margin[te.start]+ae.borderBox[te.size]/2},Mr=function(te,ae){return ae.margin[te.end]+ae.borderBox[te.size]/2},Pr=function(te,ae,ue){return ae[te.crossAxisStart]+ue.margin[te.crossAxisStart]+ue.borderBox[te.crossAxisSize]/2},Lr=function(te){var ae=te.axis,ue=te.moveRelativeTo,ce=te.isMoving;return Fn(ae.line,ue.marginBox[ae.end]+hr(ae,ce),Pr(ae,ue.marginBox,ce))},yr=function(te){var ae=te.axis,ue=te.moveRelativeTo,ce=te.isMoving;return Fn(ae.line,ue.marginBox[ae.start]-Mr(ae,ce),Pr(ae,ue.marginBox,ce))},Cr=function(te){var ae=te.axis,ue=te.moveInto,ce=te.isMoving;return Fn(ae.line,ue.contentBox[ae.start]+hr(ae,ce),Pr(ae,ue.contentBox,ce))},Bo=function(ee){var te=ee.impact,ae=ee.draggable,ue=ee.draggables,ce=ee.droppable,me=ee.afterCritical,ve=vr(ce.descriptor.id,ue),pe=ae.page,we=ce.axis;if(!ve.length)return Cr({axis:we,moveInto:ce.page,isMoving:pe});var Ue=te.displaced,je=te.displacedBy,Oe=Ue.all[0];if(Oe){var Re=ue[Oe];if(Da(Oe,me))return yr({axis:we,moveRelativeTo:Re.page,isMoving:pe});var Xe=At(Re.page,je.point);return yr({axis:we,moveRelativeTo:Xe,isMoving:pe})}var Ft=ve[ve.length-1];if(Ft.descriptor.id===ae.descriptor.id)return pe.borderBox.center;if(Da(Ft.descriptor.id,me)){var bn=At(Ft.page,Kt(me.displacedBy.point));return Lr({axis:we,moveRelativeTo:bn,isMoving:pe})}return Lr({axis:we,moveRelativeTo:Ft.page,isMoving:pe})},Eo=function(ee,te){var ae=ee.frame;return ae?Ht(te,ae.scroll.diff.displacement):te},ho=function(te){var ae=te.impact,ue=te.draggable,ce=te.droppable,me=te.draggables,ve=te.afterCritical,pe=ue.page.borderBox.center,we=ae.at;return!ce||!we?pe:we.type==="REORDER"?Bo({impact:ae,draggable:ue,draggables:me,droppable:ce,afterCritical:ve}):Ea({impact:ae,draggables:me,afterCritical:ve})},yo=function(ee){var te=ho(ee),ae=ee.droppable,ue=ae?Eo(ae,te):te;return ue},Ao=function(ee,te){var ae=va(te,ee.scroll.initial),ue=Kt(ae),ce=Jn({top:te.y,bottom:te.y+ee.frame.height,left:te.x,right:te.x+ee.frame.width}),me={frame:ce,scroll:{initial:ee.scroll.initial,max:ee.scroll.max,current:te,diff:{value:ae,displacement:ue}}};return me};function br(ee,te){return ee.map(function(ae){return te[ae]})}function Co(ee,te){for(var ae=0;ae<te.length;ae++){var ue=te[ae].visible[ee];if(ue)return ue}return null}var Rl=function(ee){var te=ee.impact,ae=ee.viewport,ue=ee.destination,ce=ee.draggables,me=ee.maxScrollChange,ve=Ao(ae,Ht(ae.scroll.current,me)),pe=ue.frame?ka(ue,Ht(ue.frame.scroll.current,me)):ue,we=te.displaced,Ue=Xt({afterDragging:br(we.all,ce),destination:ue,displacedBy:te.displacedBy,viewport:ve.frame,last:we,forceShouldAnimate:!1}),je=Xt({afterDragging:br(we.all,ce),destination:pe,displacedBy:te.displacedBy,viewport:ae.frame,last:we,forceShouldAnimate:!1}),Oe={},Re={},Xe=[we,Ue,je];we.all.forEach(function(bn){var On=Co(bn,Xe);if(On){Re[bn]=On;return}Oe[bn]=!0});var Ft=(0,Ne.Z)({},te,{displaced:{all:we.all,invisible:Oe,visible:Re}});return Ft},kl=function(ee,te){return Ht(ee.scroll.diff.displacement,te)},di=function(ee){var te=ee.pageBorderBoxCenter,ae=ee.draggable,ue=ee.viewport,ce=kl(ue,te),me=va(ce,ae.page.borderBox.center);return Ht(ae.client.borderBox.center,me)},Wi=function(ee){var te=ee.draggable,ae=ee.destination,ue=ee.newPageBorderBoxCenter,ce=ee.viewport,me=ee.withDroppableDisplacement,ve=ee.onlyOnMainAxis,pe=ve===void 0?!1:ve,we=va(ue,te.page.borderBox.center),Ue=Ia(te.page.borderBox,we),je={target:Ue,destination:ae,withDroppableDisplacement:me,viewport:ce};return pe?zt(je):St(je)},Tl=function(ee){var te=ee.isMovingForward,ae=ee.draggable,ue=ee.destination,ce=ee.draggables,me=ee.previousImpact,ve=ee.viewport,pe=ee.previousPageBorderBoxCenter,we=ee.previousClientSelection,Ue=ee.afterCritical;if(!ue.isEnabled)return null;var je=vr(ue.descriptor.id,ce),Oe=Or(ae,ue),Re=Tr({isMovingForward:te,draggable:ae,destination:ue,insideDestination:je,previousImpact:me})||pa({isMovingForward:te,isInHomeList:Oe,draggable:ae,draggables:ce,destination:ue,insideDestination:je,previousImpact:me,viewport:ve,afterCritical:Ue});if(!Re)return null;var Xe=yo({impact:Re,draggable:ae,droppable:ue,draggables:ce,afterCritical:Ue}),Ft=Wi({draggable:ae,destination:ue,newPageBorderBoxCenter:Xe,viewport:ve.frame,withDroppableDisplacement:!1,onlyOnMainAxis:!0});if(Ft){var bn=di({pageBorderBoxCenter:Xe,draggable:ae,viewport:ve});return{clientSelection:bn,impact:Re,scrollJumpRequest:null}}var On=va(Xe,pe),Tn=Rl({impact:Re,viewport:ve,destination:ue,draggables:ce,maxScrollChange:On});return{clientSelection:we,impact:Tn,scrollJumpRequest:On}},Xr=function(te){var ae=te.subject.active;return ae||bt(!1),ae},wo=function(ee){var te=ee.isMovingForward,ae=ee.pageBorderBoxCenter,ue=ee.source,ce=ee.droppables,me=ee.viewport,ve=ue.subject.active;if(!ve)return null;var pe=ue.axis,we=pr(ve[pe.start],ve[pe.end]),Ue=Qa(ce).filter(function(Oe){return Oe!==ue}).filter(function(Oe){return Oe.isEnabled}).filter(function(Oe){return!!Oe.subject.active}).filter(function(Oe){return uo(me.frame)(Xr(Oe))}).filter(function(Oe){var Re=Xr(Oe);return te?ve[pe.crossAxisEnd]<Re[pe.crossAxisEnd]:Re[pe.crossAxisStart]<ve[pe.crossAxisStart]}).filter(function(Oe){var Re=Xr(Oe),Xe=pr(Re[pe.start],Re[pe.end]);return we(Re[pe.start])||we(Re[pe.end])||Xe(ve[pe.start])||Xe(ve[pe.end])}).sort(function(Oe,Re){var Xe=Xr(Oe)[pe.crossAxisStart],Ft=Xr(Re)[pe.crossAxisStart];return te?Xe-Ft:Ft-Xe}).filter(function(Oe,Re,Xe){return Xr(Oe)[pe.crossAxisStart]===Xr(Xe[0])[pe.crossAxisStart]});if(!Ue.length)return null;if(Ue.length===1)return Ue[0];var je=Ue.filter(function(Oe){var Re=pr(Xr(Oe)[pe.start],Xr(Oe)[pe.end]);return Re(ae[pe.line])});return je.length===1?je[0]:je.length>1?je.sort(function(Oe,Re){return Xr(Oe)[pe.start]-Xr(Re)[pe.start]})[0]:Ue.sort(function(Oe,Re){var Xe=hn(ae,Ya(Xr(Oe))),Ft=hn(ae,Ya(Xr(Re)));return Xe!==Ft?Xe-Ft:Xr(Oe)[pe.start]-Xr(Re)[pe.start]})[0]},Qo=function(te,ae){var ue=te.page.borderBox.center;return Da(te.descriptor.id,ae)?va(ue,ae.displacedBy.point):ue},Gl=function(te,ae){var ue=te.page.borderBox;return Da(te.descriptor.id,ae)?Ia(ue,Kt(ae.displacedBy.point)):ue},xu=function(ee){var te=ee.pageBorderBoxCenter,ae=ee.viewport,ue=ee.destination,ce=ee.insideDestination,me=ee.afterCritical,ve=ce.filter(function(pe){return St({target:Gl(pe,me),destination:ue,viewport:ae.frame,withDroppableDisplacement:!0})}).sort(function(pe,we){var Ue=Qn(te,Eo(ue,Qo(pe,me))),je=Qn(te,Eo(ue,Qo(we,me)));return Ue<je?-1:je<Ue?1:pe.descriptor.index-we.descriptor.index});return ve[0]||null},ti=ft(function(te,ae){var ue=ae[te.line];return{value:ue,point:Fn(te.line,ue)}}),Ir=function(te,ae,ue){var ce=te.axis;if(te.descriptor.mode==="virtual")return Fn(ce.line,ae[ce.line]);var me=te.subject.page.contentBox[ce.size],ve=vr(te.descriptor.id,ue),pe=ve.reduce(function(je,Oe){return je+Oe.client.marginBox[ce.size]},0),we=pe+ae[ce.line],Ue=we-me;return Ue<=0?null:Fn(ce.line,Ue)},Ui=function(te,ae){return(0,Ne.Z)({},te,{scroll:(0,Ne.Z)({},te.scroll,{max:ae})})},Qi=function(te,ae,ue){var ce=te.frame;Or(ae,te)&&bt(!1),te.subject.withPlaceholder&&bt(!1);var me=ti(te.axis,ae.displaceBy).point,ve=Ir(te,me,ue),pe={placeholderSize:me,increasedBy:ve,oldFrameMaxScroll:te.frame?te.frame.scroll.max:null};if(!ce){var we=Ra({page:te.subject.page,withPlaceholder:pe,axis:te.axis,frame:te.frame});return(0,Ne.Z)({},te,{subject:we})}var Ue=ve?Ht(ce.scroll.max,ve):ce.scroll.max,je=Ui(ce,Ue),Oe=Ra({page:te.subject.page,withPlaceholder:pe,axis:te.axis,frame:je});return(0,Ne.Z)({},te,{subject:Oe,frame:je})},_l=function(te){var ae=te.subject.withPlaceholder;ae||bt(!1);var ue=te.frame;if(!ue){var ce=Ra({page:te.subject.page,axis:te.axis,frame:null,withPlaceholder:null});return(0,Ne.Z)({},te,{subject:ce})}var me=ae.oldFrameMaxScroll;me||bt(!1);var ve=Ui(ue,me),pe=Ra({page:te.subject.page,axis:te.axis,frame:ve,withPlaceholder:null});return(0,Ne.Z)({},te,{subject:pe,frame:ve})},Ki=function(ee){var te=ee.previousPageBorderBoxCenter,ae=ee.moveRelativeTo,ue=ee.insideDestination,ce=ee.draggable,me=ee.draggables,ve=ee.destination,pe=ee.viewport,we=ee.afterCritical;if(!ae){if(ue.length)return null;var Ue={displaced:Jr,displacedBy:$r,at:{type:"REORDER",destination:{droppableId:ve.descriptor.id,index:0}}},je=yo({impact:Ue,draggable:ce,droppable:ve,draggables:me,afterCritical:we}),Oe=Or(ce,ve)?ve:Qi(ve,ce,me),Re=Wi({draggable:ce,destination:Oe,newPageBorderBoxCenter:je,viewport:pe.frame,withDroppableDisplacement:!1,onlyOnMainAxis:!0});return Re?Ue:null}var Xe=te[ve.axis.line]<=ae.page.borderBox.center[ve.axis.line],Ft=function(){var On=ae.descriptor.index;return ae.descriptor.id===ce.descriptor.id||Xe?On:On+1}(),bn=ti(ve.axis,ce.displaceBy);return $n({draggable:ce,insideDestination:ue,destination:ve,viewport:pe,displacedBy:bn,last:Jr,index:Ft})},Zl=function(ee){var te=ee.isMovingForward,ae=ee.previousPageBorderBoxCenter,ue=ee.draggable,ce=ee.isOver,me=ee.draggables,ve=ee.droppables,pe=ee.viewport,we=ee.afterCritical,Ue=wo({isMovingForward:te,pageBorderBoxCenter:ae,source:ce,droppables:ve,viewport:pe});if(!Ue)return null;var je=vr(Ue.descriptor.id,me),Oe=xu({pageBorderBoxCenter:ae,viewport:pe,destination:Ue,insideDestination:je,afterCritical:we}),Re=Ki({previousPageBorderBoxCenter:ae,destination:Ue,draggable:ue,draggables:me,moveRelativeTo:Oe,insideDestination:je,viewport:pe,afterCritical:we});if(!Re)return null;var Xe=yo({impact:Re,draggable:ue,droppable:Ue,draggables:me,afterCritical:we}),Ft=di({pageBorderBoxCenter:Xe,draggable:ue,viewport:pe});return{clientSelection:Ft,impact:Re,scrollJumpRequest:null}},co=function(ee){var te=ee.at;return te?te.type==="REORDER"?te.destination.droppableId:te.combine.droppableId:null},Ji=function(te,ae){var ue=co(te);return ue?ae[ue]:null},So=function(ee){var te=ee.state,ae=ee.type,ue=Ji(te.impact,te.dimensions.droppables),ce=!!ue,me=te.dimensions.droppables[te.critical.droppable.id],ve=ue||me,pe=ve.axis.direction,we=pe==="vertical"&&(ae==="MOVE_UP"||ae==="MOVE_DOWN")||pe==="horizontal"&&(ae==="MOVE_LEFT"||ae==="MOVE_RIGHT");if(we&&!ce)return null;var Ue=ae==="MOVE_DOWN"||ae==="MOVE_RIGHT",je=te.dimensions.draggables[te.critical.draggable.id],Oe=te.current.page.borderBoxCenter,Re=te.dimensions,Xe=Re.draggables,Ft=Re.droppables;return we?Tl({isMovingForward:Ue,previousPageBorderBoxCenter:Oe,draggable:je,destination:ve,draggables:Xe,viewport:te.viewport,previousClientSelection:te.current.client.selection,previousImpact:te.impact,afterCritical:te.afterCritical}):Zl({isMovingForward:Ue,previousPageBorderBoxCenter:Oe,draggable:je,isOver:ve,draggables:Xe,droppables:Ft,viewport:te.viewport,afterCritical:te.afterCritical})};function eo(ee){return ee.phase==="DRAGGING"||ee.phase==="COLLECTING"}function Fi(ee){var te=pr(ee.top,ee.bottom),ae=pr(ee.left,ee.right);return function(ce){return te(ce.y)&&ae(ce.x)}}function wu(ee,te){return ee.left<te.right&&ee.right>te.left&&ee.top<te.bottom&&ee.bottom>te.top}function jl(ee){var te=ee.pageBorderBox,ae=ee.draggable,ue=ee.candidates,ce=ae.page.borderBox.center,me=ue.map(function(ve){var pe=ve.axis,we=Fn(ve.axis.line,te.center[pe.line],ve.page.borderBox.center[pe.crossAxisLine]);return{id:ve.descriptor.id,distance:Qn(ce,we)}}).sort(function(ve,pe){return pe.distance-ve.distance});return me[0]?me[0].id:null}function Un(ee){var te=ee.pageBorderBox,ae=ee.draggable,ue=ee.droppables,ce=Qa(ue).filter(function(me){if(!me.isEnabled)return!1;var ve=me.subject.active;if(!ve||!wu(te,ve))return!1;if(Fi(ve)(te.center))return!0;var pe=me.axis,we=ve.center[pe.crossAxisLine],Ue=te[pe.crossAxisStart],je=te[pe.crossAxisEnd],Oe=pr(ve[pe.crossAxisStart],ve[pe.crossAxisEnd]),Re=Oe(Ue),Xe=Oe(je);return!Re&&!Xe?!0:Re?Ue<we:je>we});return ce.length?ce.length===1?ce[0].descriptor.id:jl({pageBorderBox:te,draggable:ae,candidates:ce}):null}var Yi=function(te,ae){return Jn(Ia(te,ae))},zl=function(ee,te){var ae=ee.frame;return ae?Yi(te,ae.scroll.diff.value):te};function Bn(ee){var te=ee.displaced,ae=ee.id;return!!(te.visible[ae]||te.invisible[ae])}function ci(ee){var te=ee.draggable,ae=ee.closest,ue=ee.inHomeList;return ae?ue&&ae.descriptor.index>te.descriptor.index?ae.descriptor.index-1:ae.descriptor.index:null}var Hl=function(ee){var te=ee.pageBorderBoxWithDroppableScroll,ae=ee.draggable,ue=ee.destination,ce=ee.insideDestination,me=ee.last,ve=ee.viewport,pe=ee.afterCritical,we=ue.axis,Ue=ti(ue.axis,ae.displaceBy),je=Ue.value,Oe=te[we.start],Re=te[we.end],Xe=Ja(ae,ce),Ft=er(Xe,function(On){var Tn=On.descriptor.id,Yn=On.page.borderBox.center[we.line],ua=Da(Tn,pe),ga=Bn({displaced:me,id:Tn});return ua?ga?Re<=Yn:Oe<Yn-je:ga?Re<=Yn+je:Oe<Yn}),bn=ci({draggable:ae,closest:Ft,inHomeList:Or(ae,ue)});return $n({draggable:ae,insideDestination:ce,destination:ue,viewport:ve,last:me,displacedBy:Ue,index:bn})},Du=4,Vl=function(ee){var te=ee.draggable,ae=ee.pageBorderBoxWithDroppableScroll,ue=ee.previousImpact,ce=ee.destination,me=ee.insideDestination,ve=ee.afterCritical;if(!ce.isCombineEnabled)return null;var pe=ce.axis,we=ti(ce.axis,te.displaceBy),Ue=we.value,je=ae[pe.start],Oe=ae[pe.end],Re=Ja(te,me),Xe=er(Re,function(bn){var On=bn.descriptor.id,Tn=bn.page.borderBox,Yn=Tn[pe.size],ua=Yn/Du,ga=Da(On,ve),Wa=Bn({displaced:ue.displaced,id:On});return ga?Wa?Oe>Tn[pe.start]+ua&&Oe<Tn[pe.end]-ua:je>Tn[pe.start]-Ue+ua&&je<Tn[pe.end]-Ue-ua:Wa?Oe>Tn[pe.start]+Ue+ua&&Oe<Tn[pe.end]+Ue-ua:je>Tn[pe.start]+ua&&je<Tn[pe.end]-ua});if(!Xe)return null;var Ft={displacedBy:we,displaced:ue.displaced,at:{type:"COMBINE",combine:{draggableId:Xe.descriptor.id,droppableId:ce.descriptor.id}}};return Ft},Xi=function(ee){var te=ee.pageOffset,ae=ee.draggable,ue=ee.draggables,ce=ee.droppables,me=ee.previousImpact,ve=ee.viewport,pe=ee.afterCritical,we=Yi(ae.page.borderBox,te),Ue=Un({pageBorderBox:we,draggable:ae,droppables:ce});if(!Ue)return lo;var je=ce[Ue],Oe=vr(je.descriptor.id,ue),Re=zl(je,we);return Vl({pageBorderBoxWithDroppableScroll:Re,draggable:ae,previousImpact:me,destination:je,insideDestination:Oe,afterCritical:pe})||Hl({pageBorderBoxWithDroppableScroll:Re,draggable:ae,destination:je,insideDestination:Oe,last:me.displaced,viewport:ve,afterCritical:pe})},Bi=function(ee,te){var ae;return(0,Ne.Z)({},ee,(ae={},ae[te.descriptor.id]=te,ae))},Ur=function(te){var ae=te.previousImpact,ue=te.impact,ce=te.droppables,me=co(ae),ve=co(ue);if(!me||me===ve)return ce;var pe=ce[me];if(!pe.subject.withPlaceholder)return ce;var we=_l(pe);return Bi(ce,we)},Wl=function(ee){var te=ee.draggable,ae=ee.draggables,ue=ee.droppables,ce=ee.previousImpact,me=ee.impact,ve=Ur({previousImpact:ce,impact:me,droppables:ue}),pe=co(me);if(!pe)return ve;var we=ue[pe];if(Or(te,we)||we.subject.withPlaceholder)return ve;var Ue=Qi(we,te,ae);return Bi(ve,Ue)},ni=function(ee){var te=ee.state,ae=ee.clientSelection,ue=ee.dimensions,ce=ee.viewport,me=ee.impact,ve=ee.scrollJumpRequest,pe=ce||te.viewport,we=ue||te.dimensions,Ue=ae||te.current.client.selection,je=va(Ue,te.initial.client.selection),Oe={offset:je,selection:Ue,borderBoxCenter:Ht(te.initial.client.borderBoxCenter,je)},Re={selection:Ht(Oe.selection,pe.scroll.current),borderBoxCenter:Ht(Oe.borderBoxCenter,pe.scroll.current),offset:Ht(Oe.offset,pe.scroll.diff.value)},Xe={client:Oe,page:Re};if(te.phase==="COLLECTING")return(0,Ne.Z)({phase:"COLLECTING"},te,{dimensions:we,viewport:pe,current:Xe});var Ft=we.draggables[te.critical.draggable.id],bn=me||Xi({pageOffset:Re.offset,draggable:Ft,draggables:we.draggables,droppables:we.droppables,previousImpact:te.impact,viewport:pe,afterCritical:te.afterCritical}),On=Wl({draggable:Ft,impact:bn,previousImpact:te.impact,draggables:we.draggables,droppables:we.droppables}),Tn=(0,Ne.Z)({},te,{current:Xe,dimensions:{draggables:we.draggables,droppables:On},impact:bn,viewport:pe,scrollJumpRequest:ve||null,forceShouldAnimate:ve?!1:null});return Tn};function Ul(ee,te){return ee.map(function(ae){return te[ae]})}var Ai=function(ee){var te=ee.impact,ae=ee.viewport,ue=ee.draggables,ce=ee.destination,me=ee.forceShouldAnimate,ve=te.displaced,pe=Ul(ve.all,ue),we=Xt({afterDragging:pe,destination:ce,displacedBy:te.displacedBy,viewport:ae.frame,forceShouldAnimate:me,last:ve});return(0,Ne.Z)({},te,{displaced:we})},qi=function(ee){var te=ee.impact,ae=ee.draggable,ue=ee.droppable,ce=ee.draggables,me=ee.viewport,ve=ee.afterCritical,pe=yo({impact:te,draggable:ae,draggables:ce,droppable:ue,afterCritical:ve});return di({pageBorderBoxCenter:pe,draggable:ae,viewport:me})},$i=function(ee){var te=ee.state,ae=ee.dimensions,ue=ee.viewport;te.movementMode!=="SNAP"&&bt(!1);var ce=te.impact,me=ue||te.viewport,ve=ae||te.dimensions,pe=ve.draggables,we=ve.droppables,Ue=pe[te.critical.draggable.id],je=co(ce);je||bt(!1);var Oe=we[je],Re=Ai({impact:ce,viewport:me,destination:Oe,draggables:pe}),Xe=qi({impact:Re,draggable:Ue,droppable:Oe,draggables:pe,viewport:me,afterCritical:te.afterCritical});return ni({impact:Re,clientSelection:Xe,state:te,dimensions:ve,viewport:me})},el=function(ee){return{index:ee.index,droppableId:ee.droppableId}},ai=function(ee){var te=ee.draggable,ae=ee.home,ue=ee.draggables,ce=ee.viewport,me=ti(ae.axis,te.displaceBy),ve=vr(ae.descriptor.id,ue),pe=ve.indexOf(te);pe===-1&&bt(!1);var we=ve.slice(pe+1),Ue=we.reduce(function(Xe,Ft){return Xe[Ft.descriptor.id]=!0,Xe},{}),je={inVirtualList:ae.descriptor.mode==="virtual",displacedBy:me,effected:Ue},Oe=Xt({afterDragging:we,destination:ae,displacedBy:me,last:null,viewport:ce.frame,forceShouldAnimate:!1}),Re={displaced:Oe,displacedBy:me,at:{type:"REORDER",destination:el(te.descriptor)}};return{impact:Re,afterCritical:je}},tl=function(ee,te){return{draggables:ee.draggables,droppables:Bi(ee.droppables,te)}},ri=function(te){},gi=function(te){},Ql=function(ee){var te=ee.draggable,ae=ee.offset,ue=ee.initialWindowScroll,ce=At(te.client,ae),me=Pn(ce,ue),ve=(0,Ne.Z)({},te,{placeholder:(0,Ne.Z)({},te.placeholder,{client:ce}),client:ce,page:me});return ve},Zr=function(ee){var te=ee.frame;return te||bt(!1),te},Kl=function(ee){var te=ee.additions,ae=ee.updatedDroppables,ue=ee.viewport,ce=ue.scroll.diff.value;return te.map(function(me){var ve=me.descriptor.droppableId,pe=ae[ve],we=Zr(pe),Ue=we.scroll.diff.value,je=Ht(ce,Ue),Oe=Ql({draggable:me,offset:je,initialWindowScroll:ue.scroll.initial});return Oe})},Lu=function(ee){var te=ee.state,ae=ee.published;ri();var ue=ae.modified.map(function(ua){var ga=te.dimensions.droppables[ua.droppableId],Wa=ka(ga,ua.scroll);return Wa}),ce=(0,Ne.Z)({},te.dimensions.droppables,{},Va(ue)),me=ar(Kl({additions:ae.additions,updatedDroppables:ce,viewport:te.viewport})),ve=(0,Ne.Z)({},te.dimensions.draggables,{},me);ae.removals.forEach(function(ua){delete ve[ua]});var pe={droppables:ce,draggables:ve},we=co(te.impact),Ue=we?pe.droppables[we]:null,je=pe.draggables[te.critical.draggable.id],Oe=pe.droppables[te.critical.droppable.id],Re=ai({draggable:je,home:Oe,draggables:ve,viewport:te.viewport}),Xe=Re.impact,Ft=Re.afterCritical,bn=Ue&&Ue.isCombineEnabled?te.impact:Xe,On=Xi({pageOffset:te.current.page.offset,draggable:pe.draggables[te.critical.draggable.id],draggables:pe.draggables,droppables:pe.droppables,previousImpact:bn,viewport:te.viewport,afterCritical:Ft});gi();var Tn=(0,Ne.Z)({phase:"DRAGGING"},te,{phase:"DRAGGING",impact:On,onLiftImpact:Xe,dimensions:pe,afterCritical:Ft,forceShouldAnimate:!1});if(te.phase==="COLLECTING")return Tn;var Yn=(0,Ne.Z)({phase:"DROP_PENDING"},Tn,{phase:"DROP_PENDING",reason:te.reason,isWaiting:!1});return Yn},Ci=function(te){return te.movementMode==="SNAP"},xi=function(te,ae,ue){var ce=tl(te.dimensions,ae);return!Ci(te)||ue?ni({state:te,dimensions:ce}):$i({state:te,dimensions:ce})};function wi(ee){return ee.isDragging&&ee.movementMode==="SNAP"?(0,Ne.Z)({phase:"DRAGGING"},ee,{scrollJumpRequest:null}):ee}var nl={phase:"IDLE",completed:null,shouldFlush:!1},Jl=function(ee,te){if(ee===void 0&&(ee=nl),te.type==="FLUSH")return(0,Ne.Z)({},nl,{shouldFlush:!0});if(te.type==="INITIAL_PUBLISH"){ee.phase!=="IDLE"&&bt(!1);var ae=te.payload,ue=ae.critical,ce=ae.clientSelection,me=ae.viewport,ve=ae.dimensions,pe=ae.movementMode,we=ve.draggables[ue.draggable.id],Ue=ve.droppables[ue.droppable.id],je={selection:ce,borderBoxCenter:we.client.borderBox.center,offset:ma},Oe={client:je,page:{selection:Ht(je.selection,me.scroll.initial),borderBoxCenter:Ht(je.selection,me.scroll.initial),offset:Ht(je.selection,me.scroll.diff.value)}},Re=Qa(ve.droppables).every(function(Nl){return!Nl.isFixedOnPage}),Xe=ai({draggable:we,home:Ue,draggables:ve.draggables,viewport:me}),Ft=Xe.impact,bn=Xe.afterCritical,On={phase:"DRAGGING",isDragging:!0,critical:ue,movementMode:pe,dimensions:ve,initial:Oe,current:Oe,isWindowScrollAllowed:Re,impact:Ft,afterCritical:bn,onLiftImpact:Ft,viewport:me,scrollJumpRequest:null,forceShouldAnimate:null};return On}if(te.type==="COLLECTION_STARTING"){if(ee.phase==="COLLECTING"||ee.phase==="DROP_PENDING")return ee;ee.phase!=="DRAGGING"&&bt(!1);var Tn=(0,Ne.Z)({phase:"COLLECTING"},ee,{phase:"COLLECTING"});return Tn}if(te.type==="PUBLISH_WHILE_DRAGGING")return ee.phase==="COLLECTING"||ee.phase==="DROP_PENDING"||bt(!1),Lu({state:ee,published:te.payload});if(te.type==="MOVE"){if(ee.phase==="DROP_PENDING")return ee;eo(ee)||bt(!1);var Yn=te.payload.client;return aa(Yn,ee.current.client.selection)?ee:ni({state:ee,clientSelection:Yn,impact:Ci(ee)?ee.impact:null})}if(te.type==="UPDATE_DROPPABLE_SCROLL"){if(ee.phase==="DROP_PENDING"||ee.phase==="COLLECTING")return wi(ee);eo(ee)||bt(!1);var ua=te.payload,ga=ua.id,Wa=ua.newScroll,za=ee.dimensions.droppables[ga];if(!za)return ee;var rr=ka(za,Wa);return xi(ee,rr,!1)}if(te.type==="UPDATE_DROPPABLE_IS_ENABLED"){if(ee.phase==="DROP_PENDING")return ee;eo(ee)||bt(!1);var jr=te.payload,dr=jr.id,zr=jr.isEnabled,qr=ee.dimensions.droppables[dr];qr||bt(!1),qr.isEnabled===zr&&bt(!1);var ao=(0,Ne.Z)({},qr,{isEnabled:zr});return xi(ee,ao,!0)}if(te.type==="UPDATE_DROPPABLE_IS_COMBINE_ENABLED"){if(ee.phase==="DROP_PENDING")return ee;eo(ee)||bt(!1);var Go=te.payload,Ro=Go.id,bo=Go.isCombineEnabled,_o=ee.dimensions.droppables[Ro];_o||bt(!1),_o.isCombineEnabled===bo&&bt(!1);var ro=(0,Ne.Z)({},_o,{isCombineEnabled:bo});return xi(ee,ro,!0)}if(te.type==="MOVE_BY_WINDOW_SCROLL"){if(ee.phase==="DROP_PENDING"||ee.phase==="DROP_ANIMATING")return ee;eo(ee)||bt(!1),ee.isWindowScrollAllowed||bt(!1);var $o=te.payload.newScroll;if(aa(ee.viewport.scroll.current,$o))return wi(ee);var Zo=Ao(ee.viewport,$o);return Ci(ee)?$i({state:ee,viewport:Zo}):ni({state:ee,viewport:Zo})}if(te.type==="UPDATE_VIEWPORT_MAX_SCROLL"){if(!eo(ee))return ee;var zi=te.payload.maxScroll;if(aa(zi,ee.viewport.scroll.max))return ee;var ui=(0,Ne.Z)({},ee.viewport,{scroll:(0,Ne.Z)({},ee.viewport.scroll,{max:zi})});return(0,Ne.Z)({phase:"DRAGGING"},ee,{viewport:ui})}if(te.type==="MOVE_UP"||te.type==="MOVE_DOWN"||te.type==="MOVE_LEFT"||te.type==="MOVE_RIGHT"){if(ee.phase==="COLLECTING"||ee.phase==="DROP_PENDING")return ee;ee.phase!=="DRAGGING"&&bt(!1);var ei=So({state:ee,type:te.type});return ei?ni({state:ee,impact:ei.impact,clientSelection:ei.clientSelection,scrollJumpRequest:ei.scrollJumpRequest}):ee}if(te.type==="DROP_PENDING"){var jo=te.payload.reason;ee.phase!=="COLLECTING"&&bt(!1);var si=(0,Ne.Z)({phase:"DROP_PENDING"},ee,{phase:"DROP_PENDING",isWaiting:!0,reason:jo});return si}if(te.type==="DROP_ANIMATE"){var Dl=te.payload,zo=Dl.completed,Hi=Dl.dropDuration,Ll=Dl.newHomeClientOffset;ee.phase==="DRAGGING"||ee.phase==="DROP_PENDING"||bt(!1);var bi={phase:"DROP_ANIMATING",completed:zo,dropDuration:Hi,newHomeClientOffset:Ll,dimensions:ee.dimensions};return bi}if(te.type==="DROP_COMPLETE"){var Il=te.payload.completed;return{phase:"IDLE",completed:Il,shouldFlush:!1}}return ee},al=function(te){return{type:"BEFORE_INITIAL_CAPTURE",payload:te}},Yl=function(te){return{type:"LIFT",payload:te}},Nn=function(te){return{type:"INITIAL_PUBLISH",payload:te}},Xl=function(te){return{type:"PUBLISH_WHILE_DRAGGING",payload:te}},ql=function(){return{type:"COLLECTION_STARTING",payload:null}},$l=function(te){return{type:"UPDATE_DROPPABLE_SCROLL",payload:te}},rl=function(te){return{type:"UPDATE_DROPPABLE_IS_ENABLED",payload:te}},eu=function(te){return{type:"UPDATE_DROPPABLE_IS_COMBINE_ENABLED",payload:te}},ol=function(te){return{type:"MOVE",payload:te}},il=function(te){return{type:"MOVE_BY_WINDOW_SCROLL",payload:te}},io=function(te){return{type:"UPDATE_VIEWPORT_MAX_SCROLL",payload:te}},Do=function(){return{type:"MOVE_UP",payload:null}},Gr=function(){return{type:"MOVE_DOWN",payload:null}},Ko=function(){return{type:"MOVE_RIGHT",payload:null}},tu=function(){return{type:"MOVE_LEFT",payload:null}},Di=function(){return{type:"FLUSH",payload:null}},ll=function(te){return{type:"DROP_ANIMATE",payload:te}},Li=function(te){return{type:"DROP_COMPLETE",payload:te}},ul=function(te){return{type:"DROP",payload:te}},ba=function(te){return{type:"DROP_PENDING",payload:te}},sl=function(){return{type:"DROP_ANIMATION_FINISHED",payload:null}};function Iu(ee){if(!(ee.length<=1)){for(var te=ee.map(function(pe){return pe.descriptor.index}),ae={},ue=1;ue<te.length;ue++){var ce=te[ue],me=te[ue-1];ce!==me+1&&(ae[ce]=!0)}if(Object.keys(ae).length)var ve=te.map(function(pe){var we=!!ae[pe];return we?"[\u{1F525}"+pe+"]":""+pe}).join(", ")}}function nu(ee,te){if(0)var ae}var dl=function(ee){return function(te){var ae=te.getState,ue=te.dispatch;return function(ce){return function(me){if(me.type!=="LIFT"){ce(me);return}var ve=me.payload,pe=ve.id,we=ve.clientSelection,Ue=ve.movementMode,je=ae();je.phase==="DROP_ANIMATING"&&ue(Li({completed:je.completed})),ae().phase!=="IDLE"&&bt(!1),ue(Di()),ue(al({draggableId:pe,movementMode:Ue}));var Oe={shouldPublishImmediately:Ue==="SNAP"},Re={draggableId:pe,scrollOptions:Oe},Xe=ee.startPublishing(Re),Ft=Xe.critical,bn=Xe.dimensions,On=Xe.viewport;nu(Ft,bn),ue(Nn({critical:Ft,dimensions:bn,clientSelection:we,movementMode:Ue,viewport:On}))}}}},au=function(ee){return function(){return function(te){return function(ae){ae.type==="INITIAL_PUBLISH"&&ee.dragging(),ae.type==="DROP_ANIMATE"&&ee.dropping(ae.payload.completed.result.reason),(ae.type==="FLUSH"||ae.type==="DROP_COMPLETE")&&ee.resting(),te(ae)}}}},Ii={outOfTheWay:"cubic-bezier(0.2, 0, 0, 1)",drop:"cubic-bezier(.2,1,.1,1)"},Jo={opacity:{drop:0,combining:.7},scale:{drop:.75}},mi={outOfTheWay:.2,minDropTime:.33,maxDropTime:.55},Ho=mi.outOfTheWay+"s "+Ii.outOfTheWay,ko={fluid:"opacity "+Ho,snap:"transform "+Ho+", opacity "+Ho,drop:function(te){var ae=te+"s "+Ii.drop;return"transform "+ae+", opacity "+ae},outOfTheWay:"transform "+Ho,placeholder:"height "+Ho+", width "+Ho+", margin "+Ho},Ni=function(te){return aa(te,ma)?null:"translate("+te.x+"px, "+te.y+"px)"},Oi={moveTo:Ni,drop:function(te,ae){var ue=Ni(te);return ue?ae?ue+" scale("+Jo.scale.drop+")":ue:null}},Mi=mi.minDropTime,de=mi.maxDropTime,Se=de-Mi,ye=1500,ct=.6,pn=function(ee){var te=ee.current,ae=ee.destination,ue=ee.reason,ce=Qn(te,ae);if(ce<=0)return Mi;if(ce>=ye)return de;var me=ce/ye,ve=Mi+Se*me,pe=ue==="CANCEL"?ve*ct:ve;return Number(pe.toFixed(2))},Vn=function(ee){var te=ee.impact,ae=ee.draggable,ue=ee.dimensions,ce=ee.viewport,me=ee.afterCritical,ve=ue.draggables,pe=ue.droppables,we=co(te),Ue=we?pe[we]:null,je=pe[ae.descriptor.droppableId],Oe=qi({impact:te,draggable:ae,draggables:ve,afterCritical:me,droppable:Ue||je,viewport:ce}),Re=va(Oe,ae.client.borderBox.center);return Re},Kn=function(ee){var te=ee.draggables,ae=ee.reason,ue=ee.lastImpact,ce=ee.home,me=ee.viewport,ve=ee.onLiftImpact;if(!ue.at||ae!=="DROP"){var pe=Ai({draggables:te,impact:ve,destination:ce,viewport:me,forceShouldAnimate:!0});return{impact:pe,didDropInsideDroppable:!1}}if(ue.at.type==="REORDER")return{impact:ue,didDropInsideDroppable:!0};var we=(0,Ne.Z)({},ue,{displaced:Jr});return{impact:we,didDropInsideDroppable:!0}},mn=function(ee){var te=ee.getState,ae=ee.dispatch;return function(ue){return function(ce){if(ce.type!=="DROP"){ue(ce);return}var me=te(),ve=ce.payload.reason;if(me.phase==="COLLECTING"){ae(ba({reason:ve}));return}if(me.phase!=="IDLE"){var pe=me.phase==="DROP_PENDING"&&me.isWaiting;pe&&bt(!1),me.phase==="DRAGGING"||me.phase==="DROP_PENDING"||bt(!1);var we=me.critical,Ue=me.dimensions,je=Ue.draggables[me.critical.draggable.id],Oe=Kn({reason:ve,lastImpact:me.impact,afterCritical:me.afterCritical,onLiftImpact:me.onLiftImpact,home:me.dimensions.droppables[me.critical.droppable.id],viewport:me.viewport,draggables:me.dimensions.draggables}),Re=Oe.impact,Xe=Oe.didDropInsideDroppable,Ft=Xe?Rr(Re):null,bn=Xe?_r(Re):null,On={index:we.draggable.index,droppableId:we.droppable.id},Tn={draggableId:je.descriptor.id,type:je.descriptor.type,source:On,reason:ve,mode:me.movementMode,destination:Ft,combine:bn},Yn=Vn({impact:Re,draggable:je,dimensions:Ue,viewport:me.viewport,afterCritical:me.afterCritical}),ua={critical:me.critical,afterCritical:me.afterCritical,result:Tn,impact:Re},ga=!aa(me.current.client.offset,Yn)||!!Tn.combine;if(!ga){ae(Li({completed:ua}));return}var Wa=pn({current:me.current.client.offset,destination:Yn,reason:ve}),za={newHomeClientOffset:Yn,dropDuration:Wa,completed:ua};ae(ll(za))}}}},Ct=function(){return{x:window.pageXOffset,y:window.pageYOffset}};function kt(ee){return{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(ae){ae.target!==window&&ae.target!==window.document||ee()}}}function xn(ee){var te=ee.onWindowScroll;function ae(){te(Ct())}var ue=wt(ae),ce=kt(ue),me=dn;function ve(){return me!==dn}function pe(){ve()&&bt(!1),me=$t(window,[ce])}function we(){ve()||bt(!1),ue.cancel(),me(),me=dn}return{start:pe,stop:we,isActive:ve}}var Dt=function(te){return te.type==="DROP_COMPLETE"||te.type==="DROP_ANIMATE"||te.type==="FLUSH"},en=function(ee){var te=xn({onWindowScroll:function(ue){ee.dispatch(il({newScroll:ue}))}});return function(ae){return function(ue){!te.isActive()&&ue.type==="INITIAL_PUBLISH"&&te.start(),te.isActive()&&Dt(ue)&&te.stop(),ae(ue)}}},Hn=function(ee){var te=!1,ae=!1,ue=setTimeout(function(){ae=!0}),ce=function(ve){te||ae||(te=!0,ee(ve),clearTimeout(ue))};return ce.wasCalled=function(){return te},ce},ta=function(){var ee=[],te=function(me){var ve=Ka(ee,function(Ue){return Ue.timerId===me});ve===-1&&bt(!1);var pe=ee.splice(ve,1),we=pe[0];we.callback()},ae=function(me){var ve=setTimeout(function(){return te(ve)}),pe={timerId:ve,callback:me};ee.push(pe)},ue=function(){if(ee.length){var me=[].concat(ee);ee.length=0,me.forEach(function(ve){clearTimeout(ve.timerId),ve.callback()})}};return{add:ae,flush:ue}},yn=function(te,ae){return te==null&&ae==null?!0:te==null||ae==null?!1:te.droppableId===ae.droppableId&&te.index===ae.index},da=function(te,ae){return te==null&&ae==null?!0:te==null||ae==null?!1:te.draggableId===ae.draggableId&&te.droppableId===ae.droppableId},an=function(te,ae){if(te===ae)return!0;var ue=te.draggable.id===ae.draggable.id&&te.draggable.droppableId===ae.draggable.droppableId&&te.draggable.type===ae.draggable.type&&te.draggable.index===ae.draggable.index,ce=te.droppable.id===ae.droppable.id&&te.droppable.type===ae.droppable.type;return ue&&ce},Oa=function(te,ae){ri(),ae(),gi()},mr=function(te,ae){return{draggableId:te.draggable.id,type:te.droppable.type,source:{droppableId:te.droppable.id,index:te.draggable.index},mode:ae}},rn=function(te,ae,ue,ce){if(!te){ue(ce(ae));return}var me=Hn(ue),ve={announce:me};te(ae,ve),me.wasCalled()||ue(ce(ae))},Zt=function(ee,te){var ae=ta(),ue=null,ce=function(Re,Xe){ue&&bt(!1),Oa("onBeforeCapture",function(){var Ft=ee().onBeforeCapture;if(Ft){var bn={draggableId:Re,mode:Xe};Ft(bn)}})},me=function(Re,Xe){ue&&bt(!1),Oa("onBeforeDragStart",function(){var Ft=ee().onBeforeDragStart;Ft&&Ft(mr(Re,Xe))})},ve=function(Re,Xe){ue&&bt(!1);var Ft=mr(Re,Xe);ue={mode:Xe,lastCritical:Re,lastLocation:Ft.source,lastCombine:null},ae.add(function(){Oa("onDragStart",function(){return rn(ee().onDragStart,Ft,te,Rt.onDragStart)})})},pe=function(Re,Xe){var Ft=Rr(Xe),bn=_r(Xe);ue||bt(!1);var On=!an(Re,ue.lastCritical);On&&(ue.lastCritical=Re);var Tn=!yn(ue.lastLocation,Ft);Tn&&(ue.lastLocation=Ft);var Yn=!da(ue.lastCombine,bn);if(Yn&&(ue.lastCombine=bn),!(!On&&!Tn&&!Yn)){var ua=(0,Ne.Z)({},mr(Re,ue.mode),{combine:bn,destination:Ft});ae.add(function(){Oa("onDragUpdate",function(){return rn(ee().onDragUpdate,ua,te,Rt.onDragUpdate)})})}},we=function(){ue||bt(!1),ae.flush()},Ue=function(Re){ue||bt(!1),ue=null,Oa("onDragEnd",function(){return rn(ee().onDragEnd,Re,te,Rt.onDragEnd)})},je=function(){if(ue){var Re=(0,Ne.Z)({},mr(ue.lastCritical,ue.mode),{combine:null,destination:null,reason:"CANCEL"});Ue(Re)}};return{beforeCapture:ce,beforeStart:me,start:ve,update:pe,flush:we,drop:Ue,abort:je}},Xa=function(ee,te){var ae=Zt(ee,te);return function(ue){return function(ce){return function(me){if(me.type==="BEFORE_INITIAL_CAPTURE"){ae.beforeCapture(me.payload.draggableId,me.payload.movementMode);return}if(me.type==="INITIAL_PUBLISH"){var ve=me.payload.critical;ae.beforeStart(ve,me.payload.movementMode),ce(me),ae.start(ve,me.payload.movementMode);return}if(me.type==="DROP_COMPLETE"){var pe=me.payload.completed.result;ae.flush(),ce(me),ae.drop(pe);return}if(ce(me),me.type==="FLUSH"){ae.abort();return}var we=ue.getState();we.phase==="DRAGGING"&&ae.update(we.critical,we.impact)}}}},cr=function(ee){return function(te){return function(ae){if(ae.type!=="DROP_ANIMATION_FINISHED"){te(ae);return}var ue=ee.getState();ue.phase!=="DROP_ANIMATING"&&bt(!1),ee.dispatch(Li({completed:ue.completed}))}}},ur=function(ee){var te=null,ae=null;function ue(){ae&&(cancelAnimationFrame(ae),ae=null),te&&(te(),te=null)}return function(ce){return function(me){if((me.type==="FLUSH"||me.type==="DROP_COMPLETE"||me.type==="DROP_ANIMATION_FINISHED")&&ue(),ce(me),me.type==="DROP_ANIMATE"){var ve={eventName:"scroll",options:{capture:!0,passive:!1,once:!0},fn:function(){var we=ee.getState();we.phase==="DROP_ANIMATING"&&ee.dispatch(sl())}};ae=requestAnimationFrame(function(){ae=null,te=$t(window,[ve])})}}}},fr=function(ee){return function(){return function(te){return function(ae){(ae.type==="DROP_COMPLETE"||ae.type==="FLUSH"||ae.type==="DROP_ANIMATE")&&ee.stopPublishing(),te(ae)}}}},qa=function(ee){var te=!1;return function(){return function(ae){return function(ue){if(ue.type==="INITIAL_PUBLISH"){te=!0,ee.tryRecordFocus(ue.payload.critical.draggable.id),ae(ue),ee.tryRestoreFocusRecorded();return}if(ae(ue),!!te){if(ue.type==="FLUSH"){te=!1,ee.tryRestoreFocusRecorded();return}if(ue.type==="DROP_COMPLETE"){te=!1;var ce=ue.payload.completed.result;ce.combine&&ee.tryShiftRecord(ce.draggableId,ce.combine.draggableId),ee.tryRestoreFocusRecorded()}}}}}},An=function(te){return te.type==="DROP_COMPLETE"||te.type==="DROP_ANIMATE"||te.type==="FLUSH"},sr=function(ee){return function(te){return function(ae){return function(ue){if(An(ue)){ee.stop(),ae(ue);return}if(ue.type==="INITIAL_PUBLISH"){ae(ue);var ce=te.getState();ce.phase!=="DRAGGING"&&bt(!1),ee.start(ce);return}ae(ue),ee.scroll(te.getState())}}}},xr=function(ee){return function(te){return function(ae){if(te(ae),ae.type==="PUBLISH_WHILE_DRAGGING"){var ue=ee.getState();ue.phase==="DROP_PENDING"&&(ue.isWaiting||ee.dispatch(ul({reason:ue.reason})))}}}},wr=Ae.qC,Er=function(ee){var te=ee.dimensionMarshal,ae=ee.focusMarshal,ue=ee.styleMarshal,ce=ee.getResponders,me=ee.announce,ve=ee.autoScroller;return(0,Ae.MT)(Jl,wr((0,Ae.md)(au(ue),fr(te),dl(te),mn,cr,ur,xr,sr(ve),en,qa(ae),Xa(ce,me))))},ir=function(){return{additions:{},removals:{},modified:{}}};function Fr(ee){var te=ee.registry,ae=ee.callbacks,ue=ir(),ce=null,me=function(){ce||(ae.collectionStarting(),ce=requestAnimationFrame(function(){ce=null,ri();var je=ue,Oe=je.additions,Re=je.removals,Xe=je.modified,Ft=Object.keys(Oe).map(function(Tn){return te.draggable.getById(Tn).getDimension(ma)}).sort(function(Tn,Yn){return Tn.descriptor.index-Yn.descriptor.index}),bn=Object.keys(Xe).map(function(Tn){var Yn=te.droppable.getById(Tn),ua=Yn.callbacks.getScrollWhileDragging();return{droppableId:Tn,scroll:ua}}),On={additions:Ft,removals:Object.keys(Re),modified:bn};ue=ir(),gi(),ae.publish(On)}))},ve=function(je){var Oe=je.descriptor.id;ue.additions[Oe]=je,ue.modified[je.descriptor.droppableId]=!0,ue.removals[Oe]&&delete ue.removals[Oe],me()},pe=function(je){var Oe=je.descriptor;ue.removals[Oe.id]=!0,ue.modified[Oe.droppableId]=!0,ue.additions[Oe.id]&&delete ue.additions[Oe.id],me()},we=function(){ce&&(cancelAnimationFrame(ce),ce=null,ue=ir())};return{add:ve,remove:pe,stop:we}}var kr=function(ee){var te=ee.scrollHeight,ae=ee.scrollWidth,ue=ee.height,ce=ee.width,me=va({x:ae,y:te},{x:ce,y:ue}),ve={x:Math.max(0,me.x),y:Math.max(0,me.y)};return ve},_a=function(){var ee=document.documentElement;return ee||bt(!1),ee},gr=function(){var ee=_a(),te=kr({scrollHeight:ee.scrollHeight,scrollWidth:ee.scrollWidth,width:ee.clientWidth,height:ee.clientHeight});return te},Ar=function(){var ee=Ct(),te=gr(),ae=ee.y,ue=ee.x,ce=_a(),me=ce.clientWidth,ve=ce.clientHeight,pe=ue+me,we=ae+ve,Ue=Jn({top:ae,left:ue,right:pe,bottom:we}),je={frame:Ue,scroll:{initial:ee,current:ee,max:te,diff:{value:ma,displacement:ma}}};return je},Dr=function(ee){var te=ee.critical,ae=ee.scrollOptions,ue=ee.registry;ri();var ce=Ar(),me=ce.scroll.current,ve=te.droppable,pe=ue.droppable.getAllByType(ve.type).map(function(Oe){return Oe.callbacks.getDimensionAndWatchScroll(me,ae)}),we=ue.draggable.getAllByType(te.draggable.type).map(function(Oe){return Oe.getDimension(me)}),Ue={draggables:ar(we),droppables:Va(pe)};gi();var je={dimensions:Ue,critical:te,viewport:ce};return je};function Qr(ee,te,ae){if(ae.descriptor.id===te.id||ae.descriptor.type!==te.type)return!1;var ue=ee.droppable.getById(ae.descriptor.droppableId);return ue.descriptor.mode==="virtual"}var to=function(ee,te){var ae=null,ue=Fr({callbacks:{publish:te.publishWhileDragging,collectionStarting:te.collectionStarting},registry:ee}),ce=function(Xe,Ft){ee.droppable.exists(Xe)||bt(!1),ae&&te.updateDroppableIsEnabled({id:Xe,isEnabled:Ft})},me=function(Xe,Ft){ae&&(ee.droppable.exists(Xe)||bt(!1),te.updateDroppableIsCombineEnabled({id:Xe,isCombineEnabled:Ft}))},ve=function(Xe,Ft){ae&&(ee.droppable.exists(Xe)||bt(!1),te.updateDroppableScroll({id:Xe,newScroll:Ft}))},pe=function(Xe,Ft){ae&&ee.droppable.getById(Xe).callbacks.scroll(Ft)},we=function(){if(ae){ue.stop();var Xe=ae.critical.droppable;ee.droppable.getAllByType(Xe.type).forEach(function(Ft){return Ft.callbacks.dragStopped()}),ae.unsubscribe(),ae=null}},Ue=function(Xe){ae||bt(!1);var Ft=ae.critical.draggable;Xe.type==="ADDITION"&&Qr(ee,Ft,Xe.value)&&ue.add(Xe.value),Xe.type==="REMOVAL"&&Qr(ee,Ft,Xe.value)&&ue.remove(Xe.value)},je=function(Xe){ae&&bt(!1);var Ft=ee.draggable.getById(Xe.draggableId),bn=ee.droppable.getById(Ft.descriptor.droppableId),On={draggable:Ft.descriptor,droppable:bn.descriptor},Tn=ee.subscribe(Ue);return ae={critical:On,unsubscribe:Tn},Dr({critical:On,registry:ee,scrollOptions:Xe.scrollOptions})},Oe={updateDroppableIsEnabled:ce,updateDroppableIsCombineEnabled:me,scrollDroppable:pe,updateDroppableScroll:ve,startPublishing:je,stopPublishing:we};return Oe},no=function(ee,te){return ee.phase==="IDLE"?!0:ee.phase!=="DROP_ANIMATING"||ee.completed.result.draggableId===te?!1:ee.completed.result.reason==="DROP"},mo=function(ee){window.scrollBy(ee.x,ee.y)},Lo=ft(function(ee){return Qa(ee).filter(function(te){return!(!te.isEnabled||!te.frame)})}),oi=function(te,ae){var ue=er(Lo(ae),function(ce){return ce.frame||bt(!1),Fi(ce.frame.pageMarginBox)(te)});return ue},fi=function(ee){var te=ee.center,ae=ee.destination,ue=ee.droppables;if(ae){var ce=ue[ae];return ce.frame?ce:null}var me=oi(te,ue);return me},xo={startFromPercentage:.25,maxScrollAtPercentage:.05,maxPixelScroll:28,ease:function(te){return Math.pow(te,2)},durationDampening:{stopDampeningAt:1200,accelerateAt:360}},Nu=function(ee,te){var ae=ee[te.size]*xo.startFromPercentage,ue=ee[te.size]*xo.maxScrollAtPercentage,ce={startScrollingFrom:ae,maxScrollValueAt:ue};return ce},ru=function(ee){var te=ee.startOfRange,ae=ee.endOfRange,ue=ee.current,ce=ae-te;if(ce===0)return 0;var me=ue-te,ve=me/ce;return ve},Ri=1,cl=function(ee,te){if(ee>te.startScrollingFrom)return 0;if(ee<=te.maxScrollValueAt)return xo.maxPixelScroll;if(ee===te.startScrollingFrom)return Ri;var ae=ru({startOfRange:te.maxScrollValueAt,endOfRange:te.startScrollingFrom,current:ee}),ue=1-ae,ce=xo.maxPixelScroll*xo.ease(ue);return Math.ceil(ce)},Yo=xo.durationDampening.accelerateAt,gl=xo.durationDampening.stopDampeningAt,vi=function(ee,te){var ae=te,ue=gl,ce=Date.now(),me=ce-ae;if(me>=gl)return ee;if(me<Yo)return Ri;var ve=ru({startOfRange:Yo,endOfRange:ue,current:me}),pe=ee*xo.ease(ve);return Math.ceil(pe)},ml=function(ee){var te=ee.distanceToEdge,ae=ee.thresholds,ue=ee.dragStartTime,ce=ee.shouldUseTimeDampening,me=cl(te,ae);return me===0?0:ce?Math.max(vi(me,ue),Ri):me},Hr=function(ee){var te=ee.container,ae=ee.distanceToEdges,ue=ee.dragStartTime,ce=ee.axis,me=ee.shouldUseTimeDampening,ve=Nu(te,ce),pe=ae[ce.end]<ae[ce.start];return pe?ml({distanceToEdge:ae[ce.end],thresholds:ve,dragStartTime:ue,shouldUseTimeDampening:me}):-1*ml({distanceToEdge:ae[ce.start],thresholds:ve,dragStartTime:ue,shouldUseTimeDampening:me})},pi=function(ee){var te=ee.container,ae=ee.subject,ue=ee.proposedScroll,ce=ae.height>te.height,me=ae.width>te.width;return!me&&!ce?ue:me&&ce?null:{x:me?0:ue.x,y:ce?0:ue.y}},hi=Sa(function(ee){return ee===0?0:ee}),ki=function(ee){var te=ee.dragStartTime,ae=ee.container,ue=ee.subject,ce=ee.center,me=ee.shouldUseTimeDampening,ve={top:ce.y-ae.top,right:ae.right-ce.x,bottom:ae.bottom-ce.y,left:ce.x-ae.left},pe=Hr({container:ae,distanceToEdges:ve,dragStartTime:te,axis:oo,shouldUseTimeDampening:me}),we=Hr({container:ae,distanceToEdges:ve,dragStartTime:te,axis:Yr,shouldUseTimeDampening:me}),Ue=hi({x:we,y:pe});if(aa(Ue,ma))return null;var je=pi({container:ae,subject:ue,proposedScroll:Ue});return je?aa(je,ma)?null:je:null},Io=Sa(function(ee){return ee===0?0:ee>0?1:-1}),ii=function(){var ee=function(ae,ue){return ae<0?ae:ae>ue?ae-ue:0};return function(te){var ae=te.current,ue=te.max,ce=te.change,me=Ht(ae,ce),ve={x:ee(me.x,ue.x),y:ee(me.y,ue.y)};return aa(ve,ma)?null:ve}}(),No=function(te){var ae=te.max,ue=te.current,ce=te.change,me={x:Math.max(ue.x,ae.x),y:Math.max(ue.y,ae.y)},ve=Io(ce),pe=ii({max:me,current:ue,change:ve});return!pe||ve.x!==0&&pe.x===0||ve.y!==0&&pe.y===0},Kr=function(te,ae){return No({current:te.scroll.current,max:te.scroll.max,change:ae})},Vo=function(te,ae){if(!Kr(te,ae))return null;var ue=te.scroll.max,ce=te.scroll.current;return ii({current:ce,max:ue,change:ae})},Oo=function(te,ae){var ue=te.frame;return ue?No({current:ue.scroll.current,max:ue.scroll.max,change:ae}):!1},Ou=function(te,ae){var ue=te.frame;return!ue||!Oo(te,ae)?null:ii({current:ue.scroll.current,max:ue.scroll.max,change:ae})},ou=function(ee){var te=ee.viewport,ae=ee.subject,ue=ee.center,ce=ee.dragStartTime,me=ee.shouldUseTimeDampening,ve=ki({dragStartTime:ce,container:te.frame,subject:ae,center:ue,shouldUseTimeDampening:me});return ve&&Kr(te,ve)?ve:null},iu=function(ee){var te=ee.droppable,ae=ee.subject,ue=ee.center,ce=ee.dragStartTime,me=ee.shouldUseTimeDampening,ve=te.frame;if(!ve)return null;var pe=ki({dragStartTime:ce,container:ve.pageMarginBox,subject:ae,center:ue,shouldUseTimeDampening:me});return pe&&Oo(te,pe)?pe:null},Mo=function(ee){var te=ee.state,ae=ee.dragStartTime,ue=ee.shouldUseTimeDampening,ce=ee.scrollWindow,me=ee.scrollDroppable,ve=te.current.page.borderBoxCenter,pe=te.dimensions.draggables[te.critical.draggable.id],we=pe.page.marginBox;if(te.isWindowScrollAllowed){var Ue=te.viewport,je=ou({dragStartTime:ae,viewport:Ue,subject:we,center:ve,shouldUseTimeDampening:ue});if(je){ce(je);return}}var Oe=fi({center:ve,destination:co(te.impact),droppables:te.dimensions.droppables});if(Oe){var Re=iu({dragStartTime:ae,droppable:Oe,subject:we,center:ve,shouldUseTimeDampening:ue});Re&&me(Oe.descriptor.id,Re)}},lu=function(ee){var te=ee.scrollWindow,ae=ee.scrollDroppable,ue=wt(te),ce=wt(ae),me=null,ve=function(je){me||bt(!1);var Oe=me,Re=Oe.shouldUseTimeDampening,Xe=Oe.dragStartTime;Mo({state:je,scrollWindow:ue,scrollDroppable:ce,dragStartTime:Xe,shouldUseTimeDampening:Re})},pe=function(je){ri(),me&&bt(!1);var Oe=Date.now(),Re=!1,Xe=function(){Re=!0};Mo({state:je,dragStartTime:0,shouldUseTimeDampening:!1,scrollWindow:Xe,scrollDroppable:Xe}),me={dragStartTime:Oe,shouldUseTimeDampening:Re},gi(),Re&&ve(je)},we=function(){me&&(ue.cancel(),ce.cancel(),me=null)};return{start:pe,stop:we,scroll:ve}},uu=function(ee){var te=ee.move,ae=ee.scrollDroppable,ue=ee.scrollWindow,ce=function(Ue,je){var Oe=Ht(Ue.current.client.selection,je);te({client:Oe})},me=function(Ue,je){if(!Oo(Ue,je))return je;var Oe=Ou(Ue,je);if(!Oe)return ae(Ue.descriptor.id,je),null;var Re=va(je,Oe);ae(Ue.descriptor.id,Re);var Xe=va(je,Re);return Xe},ve=function(Ue,je,Oe){if(!Ue||!Kr(je,Oe))return Oe;var Re=Vo(je,Oe);if(!Re)return ue(Oe),null;var Xe=va(Oe,Re);ue(Xe);var Ft=va(Oe,Xe);return Ft},pe=function(Ue){var je=Ue.scrollJumpRequest;if(je){var Oe=co(Ue.impact);Oe||bt(!1);var Re=me(Ue.dimensions.droppables[Oe],je);if(Re){var Xe=Ue.viewport,Ft=ve(Ue.isWindowScrollAllowed,Xe,Re);Ft&&ce(Ue,Ft)}}};return pe},su=function(ee){var te=ee.scrollDroppable,ae=ee.scrollWindow,ue=ee.move,ce=lu({scrollWindow:ae,scrollDroppable:te}),me=uu({move:ue,scrollWindow:ae,scrollDroppable:te}),ve=function(Ue){if(Ue.phase==="DRAGGING"){if(Ue.movementMode==="FLUID"){ce.scroll(Ue);return}Ue.scrollJumpRequest&&me(Ue)}},pe={scroll:ve,start:ce.start,stop:ce.stop};return pe},Xo="data-rbd",Wo=function(){var ee=Xo+"-drag-handle";return{base:ee,draggableId:ee+"-draggable-id",contextId:ee+"-context-id"}}(),fo=function(){var ee=Xo+"-draggable";return{base:ee,contextId:ee+"-context-id",id:ee+"-id"}}(),du=function(){var ee=Xo+"-droppable";return{base:ee,contextId:ee+"-context-id",id:ee+"-id"}}(),Ti={contextId:Xo+"-scroll-container-context-id"},cu=function(te){return function(ae){return"["+ae+'="'+te+'"]'}},Cn=function(te,ae){return te.map(function(ue){var ce=ue.styles[ae];return ce?ue.selector+" { "+ce+" }":""}).join(" ")},ca="pointer-events: none;",Ha=function(ee){var te=cu(ee),ae=function(){var pe=`
cursor: -webkit-grab;
cursor: grab;
`;return{selector:te(Wo.contextId),styles:{always:`
-webkit-touch-callout: none;
-webkit-tap-highlight-color: rgba(0,0,0,0);
touch-action: manipulation;
`,resting:pe,dragging:ca,dropAnimating:pe}}}(),ue=function(){var pe=`
transition: `+ko.outOfTheWay+`;
`;return{selector:te(fo.contextId),styles:{dragging:pe,dropAnimating:pe,userCancel:pe}}}(),ce={selector:te(du.contextId),styles:{always:"overflow-anchor: none;"}},me={selector:"body",styles:{dragging:`
cursor: grabbing;
cursor: -webkit-grabbing;
user-select: none;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
overflow-anchor: none;
`}},ve=[ue,ae,ce,me];return{always:Cn(ve,"always"),resting:Cn(ve,"resting"),dragging:Cn(ve,"dragging"),dropAnimating:Cn(ve,"dropAnimating"),userCancel:Cn(ve,"userCancel")}},Ma=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined"?x.useLayoutEffect:x.useEffect,tr=function(){var te=document.querySelector("head");return te||bt(!1),te},Sr=function(te){var ae=document.createElement("style");return te&&ae.setAttribute("nonce",te),ae.type="text/css",ae};function Vr(ee,te){var ae=Qt(function(){return Ha(ee)},[ee]),ue=(0,x.useRef)(null),ce=(0,x.useRef)(null),me=Nt(ft(function(Oe){var Re=ce.current;Re||bt(!1),Re.textContent=Oe}),[]),ve=Nt(function(Oe){var Re=ue.current;Re||bt(!1),Re.textContent=Oe},[]);Ma(function(){!ue.current&&!ce.current||bt(!1);var Oe=Sr(te),Re=Sr(te);return ue.current=Oe,ce.current=Re,Oe.setAttribute(Xo+"-always",ee),Re.setAttribute(Xo+"-dynamic",ee),tr().appendChild(Oe),tr().appendChild(Re),ve(ae.always),me(ae.resting),function(){var Xe=function(bn){var On=bn.current;On||bt(!1),tr().removeChild(On),bn.current=null};Xe(ue),Xe(ce)}},[te,ve,me,ae.always,ae.resting,ee]);var pe=Nt(function(){return me(ae.dragging)},[me,ae.dragging]),we=Nt(function(Oe){if(Oe==="DROP"){me(ae.dropAnimating);return}me(ae.userCancel)},[me,ae.dropAnimating,ae.userCancel]),Ue=Nt(function(){ce.current&&me(ae.resting)},[me,ae.resting]),je=Qt(function(){return{dragging:pe,dropping:we,resting:Ue}},[pe,we,Ue]);return je}var vo=function(ee){return ee&&ee.ownerDocument?ee.ownerDocument.defaultView:window};function Po(ee){return ee instanceof vo(ee).HTMLElement}function Si(ee,te){var ae="["+Wo.contextId+'="'+ee+'"]',ue=Pa(document.querySelectorAll(ae));if(!ue.length)return null;var ce=er(ue,function(me){return me.getAttribute(Wo.draggableId)===te});return!ce||!Po(ce)?null:ce}function Pi(ee){var te=(0,x.useRef)({}),ae=(0,x.useRef)(null),ue=(0,x.useRef)(null),ce=(0,x.useRef)(!1),me=Nt(function(Re,Xe){var Ft={id:Re,focus:Xe};return te.current[Re]=Ft,function(){var On=te.current,Tn=On[Re];Tn!==Ft&&delete On[Re]}},[]),ve=Nt(function(Re){var Xe=Si(ee,Re);Xe&&Xe!==document.activeElement&&Xe.focus()},[ee]),pe=Nt(function(Re,Xe){ae.current===Re&&(ae.current=Xe)},[]),we=Nt(function(){ue.current||ce.current&&(ue.current=requestAnimationFrame(function(){ue.current=null;var Re=ae.current;Re&&ve(Re)}))},[ve]),Ue=Nt(function(Re){ae.current=null;var Xe=document.activeElement;Xe&&Xe.getAttribute(Wo.draggableId)===Re&&(ae.current=Re)},[]);Ma(function(){return ce.current=!0,function(){ce.current=!1;var Re=ue.current;Re&&cancelAnimationFrame(Re)}},[]);var je=Qt(function(){return{register:me,tryRecordFocus:Ue,tryRestoreFocusRecorded:we,tryShiftRecord:pe}},[me,Ue,we,pe]);return je}function po(){var ee={draggables:{},droppables:{}},te=[];function ae(Oe){return te.push(Oe),function(){var Xe=te.indexOf(Oe);Xe!==-1&&te.splice(Xe,1)}}function ue(Oe){te.length&&te.forEach(function(Re){return Re(Oe)})}function ce(Oe){return ee.draggables[Oe]||null}function me(Oe){var Re=ce(Oe);return Re||bt(!1),Re}var ve={register:function(Re){ee.draggables[Re.descriptor.id]=Re,ue({type:"ADDITION",value:Re})},update:function(Re,Xe){var Ft=ee.draggables[Xe.descriptor.id];Ft&&Ft.uniqueId===Re.uniqueId&&(delete ee.draggables[Xe.descriptor.id],ee.draggables[Re.descriptor.id]=Re)},unregister:function(Re){var Xe=Re.descriptor.id,Ft=ce(Xe);Ft&&Re.uniqueId===Ft.uniqueId&&(delete ee.draggables[Xe],ue({type:"REMOVAL",value:Re}))},getById:me,findById:ce,exists:function(Re){return!!ce(Re)},getAllByType:function(Re){return ra(ee.draggables).filter(function(Xe){return Xe.descriptor.type===Re})}};function pe(Oe){return ee.droppables[Oe]||null}function we(Oe){var Re=pe(Oe);return Re||bt(!1),Re}var Ue={register:function(Re){ee.droppables[Re.descriptor.id]=Re},unregister:function(Re){var Xe=pe(Re.descriptor.id);Xe&&Re.uniqueId===Xe.uniqueId&&delete ee.droppables[Re.descriptor.id]},getById:we,findById:pe,exists:function(Re){return!!pe(Re)},getAllByType:function(Re){return ra(ee.droppables).filter(function(Xe){return Xe.descriptor.type===Re})}};function je(){ee.draggables={},ee.droppables={},te.length=0}return{draggable:ve,droppable:Ue,subscribe:ae,clean:je}}function Uo(){var ee=Qt(po,[]);return(0,x.useEffect)(function(){return function(){requestAnimationFrame(ee.clean)}},[ee]),ee}var qo=x.createContext(null),To=function(){var ee=document.body;return ee||bt(!1),ee},fl={position:"absolute",width:"1px",height:"1px",margin:"-1px",border:"0",padding:"0",overflow:"hidden",clip:"rect(0 0 0 0)","clip-path":"inset(100%)"},vl=function(te){return"rbd-announcement-"+te};function pl(ee){var te=Qt(function(){return vl(ee)},[ee]),ae=(0,x.useRef)(null);(0,x.useEffect)(function(){var me=document.createElement("div");return ae.current=me,me.id=te,me.setAttribute("aria-live","assertive"),me.setAttribute("aria-atomic","true"),(0,Ne.Z)(me.style,fl),To().appendChild(me),function(){setTimeout(function(){var we=To();we.contains(me)&&we.removeChild(me),me===ae.current&&(ae.current=null)})}},[te]);var ue=Nt(function(ce){var me=ae.current;if(me){me.textContent=ce;return}},[]);return ue}var Gi=0,hl={separator:"::"};function Sl(){Gi=0}function Ei(ee,te){return te===void 0&&(te=hl),Qt(function(){return""+ee+te.separator+Gi++},[te.separator,ee])}function Pl(ee){var te=ee.contextId,ae=ee.uniqueId;return"rbd-hidden-text-"+te+"-"+ae}function El(ee){var te=ee.contextId,ae=ee.text,ue=Ei("hidden-text",{separator:"-"}),ce=Qt(function(){return Pl({contextId:te,uniqueId:ue})},[ue,te]);return(0,x.useEffect)(function(){var ve=document.createElement("div");return ve.id=ce,ve.textContent=ae,ve.style.display="none",To().appendChild(ve),function(){var we=To();we.contains(ve)&&we.removeChild(ve)}},[ce,ae]),ce}var li=x.createContext(null),yl={react:"^16.8.5","react-dom":"^16.8.5"},bl=/(\d+)\.(\d+)\.(\d+)/,_i=function(te){var ae=bl.exec(te);ae==null&&bt(!1);var ue=Number(ae[1]),ce=Number(ae[2]),me=Number(ae[3]);return{major:ue,minor:ce,patch:me,raw:te}},Fl=function(te,ae){return ae.major>te.major?!0:ae.major<te.major?!1:ae.minor>te.minor?!0:ae.minor<te.minor?!1:ae.patch>=te.patch},gu=function(ee,te){var ae=_i(ee),ue=_i(te);Fl(ae,ue)},Kd=`
We expect a html5 doctype: <!doctype html>
This is to ensure consistent browser layout and measurement
More information: https://github.com/atlassian/react-beautiful-dnd/blob/master/docs/guides/doctype.md
`,os=function(ee){var te=ee.doctype;te&&(te.name.toLowerCase(),te.publicId)};function Jd(ee){}function Zi(ee,te){}function is(){Zi(function(){gu(yl.react,x.version),os(document)},[])}function mu(ee){var te=(0,x.useRef)(ee);return(0,x.useEffect)(function(){te.current=ee}),te}function ls(){var ee=null;function te(){return!!ee}function ae(ve){return ve===ee}function ue(ve){ee&&bt(!1);var pe={abandon:ve};return ee=pe,pe}function ce(){ee||bt(!1),ee=null}function me(){ee&&(ee.abandon(),ce())}return{isClaimed:te,isActive:ae,claim:ue,release:ce,tryAbandon:me}}var us=9,ss=13,fu=27,Mu=32,ds=33,cs=34,gs=35,ms=36,fs=37,vs=38,ps=39,hs=40,Bl,Ss=(Bl={},Bl[ss]=!0,Bl[us]=!0,Bl),Ru=function(ee){Ss[ee.keyCode]&&ee.preventDefault()},Al=function(){var ee="visibilitychange";if(typeof document=="undefined")return ee;var te=[ee,"ms"+ee,"webkit"+ee,"moz"+ee,"o"+ee],ae=er(te,function(ue){return"on"+ue in document});return ae||ee}(),ku=0,Tu=5;function Ps(ee,te){return Math.abs(te.x-ee.x)>=Tu||Math.abs(te.y-ee.y)>=Tu}var Gu={type:"IDLE"};function Es(ee){var te=ee.cancel,ae=ee.completed,ue=ee.getPhase,ce=ee.setPhase;return[{eventName:"mousemove",fn:function(ve){var pe=ve.button,we=ve.clientX,Ue=ve.clientY;if(pe===ku){var je={x:we,y:Ue},Oe=ue();if(Oe.type==="DRAGGING"){ve.preventDefault(),Oe.actions.move(je);return}Oe.type!=="PENDING"&&bt(!1);var Re=Oe.point;if(Ps(Re,je)){ve.preventDefault();var Xe=Oe.actions.fluidLift(je);ce({type:"DRAGGING",actions:Xe})}}}},{eventName:"mouseup",fn:function(ve){var pe=ue();if(pe.type!=="DRAGGING"){te();return}ve.preventDefault(),pe.actions.drop({shouldBlockNextClick:!0}),ae()}},{eventName:"mousedown",fn:function(ve){ue().type==="DRAGGING"&&ve.preventDefault(),te()}},{eventName:"keydown",fn:function(ve){var pe=ue();if(pe.type==="PENDING"){te();return}if(ve.keyCode===fu){ve.preventDefault(),te();return}Ru(ve)}},{eventName:"resize",fn:te},{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(){ue().type==="PENDING"&&te()}},{eventName:"webkitmouseforcedown",fn:function(ve){var pe=ue();if(pe.type==="IDLE"&&bt(!1),pe.actions.shouldRespectForcePress()){te();return}ve.preventDefault()}},{eventName:Al,fn:te}]}function ys(ee){var te=(0,x.useRef)(Gu),ae=(0,x.useRef)(dn),ue=Qt(function(){return{eventName:"mousedown",fn:function(Oe){if(!Oe.defaultPrevented&&Oe.button===ku&&!(Oe.ctrlKey||Oe.metaKey||Oe.shiftKey||Oe.altKey)){var Re=ee.findClosestDraggableId(Oe);if(Re){var Xe=ee.tryGetLock(Re,ve,{sourceEvent:Oe});if(Xe){Oe.preventDefault();var Ft={x:Oe.clientX,y:Oe.clientY};ae.current(),Ue(Xe,Ft)}}}}}},[ee]),ce=Qt(function(){return{eventName:"webkitmouseforcewillbegin",fn:function(Oe){if(!Oe.defaultPrevented){var Re=ee.findClosestDraggableId(Oe);if(Re){var Xe=ee.findOptionsForDraggable(Re);Xe&&(Xe.shouldRespectForcePress||ee.canGetLock(Re)&&Oe.preventDefault())}}}}},[ee]),me=Nt(function(){var Oe={passive:!1,capture:!0};ae.current=$t(window,[ce,ue],Oe)},[ce,ue]),ve=Nt(function(){var je=te.current;je.type!=="IDLE"&&(te.current=Gu,ae.current(),me())},[me]),pe=Nt(function(){var je=te.current;ve(),je.type==="DRAGGING"&&je.actions.cancel({shouldBlockNextClick:!0}),je.type==="PENDING"&&je.actions.abort()},[ve]),we=Nt(function(){var Oe={capture:!0,passive:!1},Re=Es({cancel:pe,completed:ve,getPhase:function(){return te.current},setPhase:function(Ft){te.current=Ft}});ae.current=$t(window,Re,Oe)},[pe,ve]),Ue=Nt(function(Oe,Re){te.current.type!=="IDLE"&&bt(!1),te.current={type:"PENDING",point:Re,actions:Oe},we()},[we]);Ma(function(){return me(),function(){ae.current()}},[me])}var yi;function bs(){}var Fs=(yi={},yi[cs]=!0,yi[ds]=!0,yi[ms]=!0,yi[gs]=!0,yi);function Bs(ee,te){function ae(){te(),ee.cancel()}function ue(){te(),ee.drop()}return[{eventName:"keydown",fn:function(me){if(me.keyCode===fu){me.preventDefault(),ae();return}if(me.keyCode===Mu){me.preventDefault(),ue();return}if(me.keyCode===hs){me.preventDefault(),ee.moveDown();return}if(me.keyCode===vs){me.preventDefault(),ee.moveUp();return}if(me.keyCode===ps){me.preventDefault(),ee.moveRight();return}if(me.keyCode===fs){me.preventDefault(),ee.moveLeft();return}if(Fs[me.keyCode]){me.preventDefault();return}Ru(me)}},{eventName:"mousedown",fn:ae},{eventName:"mouseup",fn:ae},{eventName:"click",fn:ae},{eventName:"touchstart",fn:ae},{eventName:"resize",fn:ae},{eventName:"wheel",fn:ae,options:{passive:!0}},{eventName:Al,fn:ae}]}function As(ee){var te=(0,x.useRef)(bs),ae=Qt(function(){return{eventName:"keydown",fn:function(me){if(me.defaultPrevented||me.keyCode!==Mu)return;var ve=ee.findClosestDraggableId(me);if(!ve)return;var pe=ee.tryGetLock(ve,je,{sourceEvent:me});if(!pe)return;me.preventDefault();var we=!0,Ue=pe.snapLift();te.current();function je(){we||bt(!1),we=!1,te.current(),ue()}te.current=$t(window,Bs(Ue,je),{capture:!0,passive:!1})}}},[ee]),ue=Nt(function(){var me={passive:!1,capture:!0};te.current=$t(window,[ae],me)},[ae]);Ma(function(){return ue(),function(){te.current()}},[ue])}var vu={type:"IDLE"},Cs=120,xs=.15;function ws(ee){var te=ee.cancel,ae=ee.getPhase;return[{eventName:"orientationchange",fn:te},{eventName:"resize",fn:te},{eventName:"contextmenu",fn:function(ce){ce.preventDefault()}},{eventName:"keydown",fn:function(ce){if(ae().type!=="DRAGGING"){te();return}ce.keyCode===fu&&ce.preventDefault(),te()}},{eventName:Al,fn:te}]}function Ds(ee){var te=ee.cancel,ae=ee.completed,ue=ee.getPhase;return[{eventName:"touchmove",options:{capture:!1},fn:function(me){var ve=ue();if(ve.type!=="DRAGGING"){te();return}ve.hasMoved=!0;var pe=me.touches[0],we=pe.clientX,Ue=pe.clientY,je={x:we,y:Ue};me.preventDefault(),ve.actions.move(je)}},{eventName:"touchend",fn:function(me){var ve=ue();if(ve.type!=="DRAGGING"){te();return}me.preventDefault(),ve.actions.drop({shouldBlockNextClick:!0}),ae()}},{eventName:"touchcancel",fn:function(me){if(ue().type!=="DRAGGING"){te();return}me.preventDefault(),te()}},{eventName:"touchforcechange",fn:function(me){var ve=ue();ve.type==="IDLE"&&bt(!1);var pe=me.touches[0];if(pe){var we=pe.force>=xs;if(we){var Ue=ve.actions.shouldRespectForcePress();if(ve.type==="PENDING"){Ue&&te();return}if(Ue){if(ve.hasMoved){me.preventDefault();return}te();return}me.preventDefault()}}}},{eventName:Al,fn:te}]}function Ls(ee){var te=(0,x.useRef)(vu),ae=(0,x.useRef)(dn),ue=Nt(function(){return te.current},[]),ce=Nt(function(Xe){te.current=Xe},[]),me=Qt(function(){return{eventName:"touchstart",fn:function(Xe){if(!Xe.defaultPrevented){var Ft=ee.findClosestDraggableId(Xe);if(Ft){var bn=ee.tryGetLock(Ft,pe,{sourceEvent:Xe});if(bn){var On=Xe.touches[0],Tn=On.clientX,Yn=On.clientY,ua={x:Tn,y:Yn};ae.current(),Oe(bn,ua)}}}}}},[ee]),ve=Nt(function(){var Xe={capture:!0,passive:!1};ae.current=$t(window,[me],Xe)},[me]),pe=Nt(function(){var Re=te.current;Re.type!=="IDLE"&&(Re.type==="PENDING"&&clearTimeout(Re.longPressTimerId),ce(vu),ae.current(),ve())},[ve,ce]),we=Nt(function(){var Re=te.current;pe(),Re.type==="DRAGGING"&&Re.actions.cancel({shouldBlockNextClick:!0}),Re.type==="PENDING"&&Re.actions.abort()},[pe]),Ue=Nt(function(){var Xe={capture:!0,passive:!1},Ft={cancel:we,completed:pe,getPhase:ue},bn=$t(window,Ds(Ft),Xe),On=$t(window,ws(Ft),Xe);ae.current=function(){bn(),On()}},[we,ue,pe]),je=Nt(function(){var Xe=ue();Xe.type!=="PENDING"&&bt(!1);var Ft=Xe.actions.fluidLift(Xe.point);ce({type:"DRAGGING",actions:Ft,hasMoved:!1})},[ue,ce]),Oe=Nt(function(Xe,Ft){ue().type!=="IDLE"&&bt(!1);var bn=setTimeout(je,Cs);ce({type:"PENDING",point:Ft,actions:Xe,longPressTimerId:bn}),Ue()},[Ue,ue,ce,je]);Ma(function(){return ve(),function(){ae.current();var Ft=ue();Ft.type==="PENDING"&&(clearTimeout(Ft.longPressTimerId),ce(vu))}},[ue,ve,ce]),Ma(function(){var Xe=$t(window,[{eventName:"touchmove",fn:function(){},options:{capture:!1,passive:!1}}]);return Xe},[])}function Is(ee){}var Ns={input:!0,button:!0,textarea:!0,select:!0,option:!0,optgroup:!0,video:!0,audio:!0};function _u(ee,te){if(te==null)return!1;var ae=!!Ns[te.tagName.toLowerCase()];if(ae)return!0;var ue=te.getAttribute("contenteditable");return ue==="true"||ue===""?!0:te===ee?!1:_u(ee,te.parentElement)}function Os(ee,te){var ae=te.target;return Po(ae)?_u(ee,ae):!1}var Ms=function(ee){return Jn(ee.getBoundingClientRect()).center};function Rs(ee){return ee instanceof vo(ee).Element}var ks=function(){var ee="matches";if(typeof document=="undefined")return ee;var te=[ee,"msMatchesSelector","webkitMatchesSelector"],ae=er(te,function(ue){return ue in Element.prototype});return ae||ee}();function Zu(ee,te){return ee==null?null:ee[ks](te)?ee:Zu(ee.parentElement,te)}function Ts(ee,te){return ee.closest?ee.closest(te):Zu(ee,te)}function Gs(ee){return"["+Wo.contextId+'="'+ee+'"]'}function _s(ee,te){var ae=te.target;if(!Rs(ae))return null;var ue=Gs(ee),ce=Ts(ae,ue);return!ce||!Po(ce)?null:ce}function Zs(ee,te){var ae=_s(ee,te);return ae?ae.getAttribute(Wo.draggableId):null}function js(ee,te){var ae="["+fo.contextId+'="'+ee+'"]',ue=Pa(document.querySelectorAll(ae)),ce=er(ue,function(me){return me.getAttribute(fo.id)===te});return!ce||!Po(ce)?null:ce}function zs(ee){ee.preventDefault()}function Cl(ee){var te=ee.expected,ae=ee.phase,ue=ee.isLockActive,ce=ee.shouldWarn;return!(!ue()||te!==ae)}function ju(ee){var te=ee.lockAPI,ae=ee.store,ue=ee.registry,ce=ee.draggableId;if(te.isClaimed())return!1;var me=ue.draggable.findById(ce);return!(!me||!me.options.isEnabled||!no(ae.getState(),ce))}function Hs(ee){var te=ee.lockAPI,ae=ee.contextId,ue=ee.store,ce=ee.registry,me=ee.draggableId,ve=ee.forceSensorStop,pe=ee.sourceEvent,we=ju({lockAPI:te,store:ue,registry:ce,draggableId:me});if(!we)return null;var Ue=ce.draggable.getById(me),je=js(ae,Ue.descriptor.id);if(!je||pe&&!Ue.options.canDragInteractiveElements&&Os(je,pe))return null;var Oe=te.claim(ve||dn),Re="PRE_DRAG";function Xe(){return Ue.options.shouldRespectForcePress}function Ft(){return te.isActive(Oe)}function bn(za,rr){Cl({expected:za,phase:Re,isLockActive:Ft,shouldWarn:!0})&&ue.dispatch(rr())}var On=bn.bind(null,"DRAGGING");function Tn(za){function rr(){te.release(),Re="COMPLETED"}Re!=="PRE_DRAG"&&(rr(),Re!=="PRE_DRAG"&&bt(!1)),ue.dispatch(Yl(za.liftActionArgs)),Re="DRAGGING";function jr(dr,zr){if(zr===void 0&&(zr={shouldBlockNextClick:!1}),za.cleanup(),zr.shouldBlockNextClick){var qr=$t(window,[{eventName:"click",fn:zs,options:{once:!0,passive:!1,capture:!0}}]);setTimeout(qr)}rr(),ue.dispatch(ul({reason:dr}))}return(0,Ne.Z)({isActive:function(){return Cl({expected:"DRAGGING",phase:Re,isLockActive:Ft,shouldWarn:!1})},shouldRespectForcePress:Xe,drop:function(zr){return jr("DROP",zr)},cancel:function(zr){return jr("CANCEL",zr)}},za.actions)}function Yn(za){var rr=wt(function(dr){On(function(){return ol({client:dr})})}),jr=Tn({liftActionArgs:{id:me,clientSelection:za,movementMode:"FLUID"},cleanup:function(){return rr.cancel()},actions:{move:rr}});return(0,Ne.Z)({},jr,{move:rr})}function ua(){var za={moveUp:function(){return On(Do)},moveRight:function(){return On(Ko)},moveDown:function(){return On(Gr)},moveLeft:function(){return On(tu)}};return Tn({liftActionArgs:{id:me,clientSelection:Ms(je),movementMode:"SNAP"},cleanup:dn,actions:za})}function ga(){var za=Cl({expected:"PRE_DRAG",phase:Re,isLockActive:Ft,shouldWarn:!0});za&&te.release()}var Wa={isActive:function(){return Cl({expected:"PRE_DRAG",phase:Re,isLockActive:Ft,shouldWarn:!1})},shouldRespectForcePress:Xe,fluidLift:Yn,snapLift:ua,abort:ga};return Wa}var Vs=[ys,As,Ls];function Ws(ee){var te=ee.contextId,ae=ee.store,ue=ee.registry,ce=ee.customSensors,me=ee.enableDefaultSensors,ve=[].concat(me?Vs:[],ce||[]),pe=(0,x.useState)(function(){return ls()})[0],we=Nt(function(Yn,ua){Yn.isDragging&&!ua.isDragging&&pe.tryAbandon()},[pe]);Ma(function(){var Yn=ae.getState(),ua=ae.subscribe(function(){var ga=ae.getState();we(Yn,ga),Yn=ga});return ua},[pe,ae,we]),Ma(function(){return pe.tryAbandon},[pe.tryAbandon]);var Ue=Nt(function(Tn){return ju({lockAPI:pe,registry:ue,store:ae,draggableId:Tn})},[pe,ue,ae]),je=Nt(function(Tn,Yn,ua){return Hs({lockAPI:pe,registry:ue,contextId:te,store:ae,draggableId:Tn,forceSensorStop:Yn,sourceEvent:ua&&ua.sourceEvent?ua.sourceEvent:null})},[te,pe,ue,ae]),Oe=Nt(function(Tn){return Zs(te,Tn)},[te]),Re=Nt(function(Tn){var Yn=ue.draggable.findById(Tn);return Yn?Yn.options:null},[ue.draggable]),Xe=Nt(function(){pe.isClaimed()&&(pe.tryAbandon(),ae.getState().phase!=="IDLE"&&ae.dispatch(Di()))},[pe,ae]),Ft=Nt(pe.isClaimed,[pe]),bn=Qt(function(){return{canGetLock:Ue,tryGetLock:je,findClosestDraggableId:Oe,findOptionsForDraggable:Re,tryReleaseLock:Xe,isLockClaimed:Ft}},[Ue,je,Oe,Re,Xe,Ft]);Is(ve);for(var On=0;On<ve.length;On++)ve[On](bn)}var Us=function(te){return{onBeforeCapture:te.onBeforeCapture,onBeforeDragStart:te.onBeforeDragStart,onDragStart:te.onDragStart,onDragEnd:te.onDragEnd,onDragUpdate:te.onDragUpdate}};function ji(ee){return ee.current||bt(!1),ee.current}function Qs(ee){var te=ee.contextId,ae=ee.setCallbacks,ue=ee.sensors,ce=ee.nonce,me=ee.dragHandleUsageInstructions,ve=(0,x.useRef)(null);is();var pe=mu(ee),we=Nt(function(){return Us(pe.current)},[pe]),Ue=pl(te),je=El({contextId:te,text:me}),Oe=Vr(te,ce),Re=Nt(function(dr){ji(ve).dispatch(dr)},[]),Xe=Qt(function(){return(0,Ae.DE)({publishWhileDragging:Xl,updateDroppableScroll:$l,updateDroppableIsEnabled:rl,updateDroppableIsCombineEnabled:eu,collectionStarting:ql},Re)},[Re]),Ft=Uo(),bn=Qt(function(){return to(Ft,Xe)},[Ft,Xe]),On=Qt(function(){return su((0,Ne.Z)({scrollWindow:mo,scrollDroppable:bn.scrollDroppable},(0,Ae.DE)({move:ol},Re)))},[bn.scrollDroppable,Re]),Tn=Pi(te),Yn=Qt(function(){return Er({announce:Ue,autoScroller:On,dimensionMarshal:bn,focusMarshal:Tn,getResponders:we,styleMarshal:Oe})},[Ue,On,bn,Tn,we,Oe]);ve.current=Yn;var ua=Nt(function(){var dr=ji(ve),zr=dr.getState();zr.phase!=="IDLE"&&dr.dispatch(Di())},[]),ga=Nt(function(){var dr=ji(ve).getState();return dr.isDragging||dr.phase==="DROP_ANIMATING"},[]),Wa=Qt(function(){return{isDragging:ga,tryAbort:ua}},[ga,ua]);ae(Wa);var za=Nt(function(dr){return no(ji(ve).getState(),dr)},[]),rr=Nt(function(){return eo(ji(ve).getState())},[]),jr=Qt(function(){return{marshal:bn,focus:Tn,contextId:te,canLift:za,isMovementAllowed:rr,dragHandleUsageInstructionsId:je,registry:Ft}},[te,bn,je,Tn,za,rr,Ft]);return Ws({contextId:te,store:Yn,registry:Ft,customSensors:ue,enableDefaultSensors:ee.enableDefaultSensors!==!1}),(0,x.useEffect)(function(){return ua},[ua]),x.createElement(li.Provider,{value:jr},x.createElement(b,{context:qo,store:Yn},ee.children))}var zu=0;function Ks(){zu=0}function Js(){return Qt(function(){return""+zu++},[])}function Yd(){Ks(),Sl()}function Ys(ee){var te=Js(),ae=ee.dragHandleUsageInstructions||Rt.dragHandleUsageInstructions;return x.createElement(Za,null,function(ue){return x.createElement(Qs,{nonce:ee.nonce,contextId:te,setCallbacks:ue,dragHandleUsageInstructions:ae,enableDefaultSensors:ee.enableDefaultSensors,sensors:ee.sensors,onBeforeCapture:ee.onBeforeCapture,onBeforeDragStart:ee.onBeforeDragStart,onDragStart:ee.onDragStart,onDragUpdate:ee.onDragUpdate,onDragEnd:ee.onDragEnd},ee.children)})}var pu=function(te){return function(ae){return te===ae}},Xs=pu("scroll"),qs=pu("auto"),$s=pu("visible"),Hu=function(te,ae){return ae(te.overflowX)||ae(te.overflowY)},ed=function(te,ae){return ae(te.overflowX)&&ae(te.overflowY)},Vu=function(te){var ae=window.getComputedStyle(te),ue={overflowX:ae.overflowX,overflowY:ae.overflowY};return Hu(ue,Xs)||Hu(ue,qs)},td=function(){return!1;var te,ae,ue,ce},Wu=function ee(te){return te==null?null:te===document.body?td()?te:null:te===document.documentElement?null:Vu(te)?te:ee(te.parentElement)},Xd=function(ee){if(ee)var te=Wu(ee.parentElement)},hu=function(ee){return{x:ee.scrollLeft,y:ee.scrollTop}},nd=function ee(te){if(!te)return!1;var ae=window.getComputedStyle(te);return ae.position==="fixed"?!0:ee(te.parentElement)},ad=function(ee){var te=Wu(ee),ae=nd(ee);return{closestScrollable:te,isFixedOnPage:ae}},rd=function(ee){var te=ee.descriptor,ae=ee.isEnabled,ue=ee.isCombineEnabled,ce=ee.isFixedOnPage,me=ee.direction,ve=ee.client,pe=ee.page,we=ee.closest,Ue=function(){if(!we)return null;var Xe=we.scrollSize,Ft=we.client,bn=kr({scrollHeight:Xe.scrollHeight,scrollWidth:Xe.scrollWidth,height:Ft.paddingBox.height,width:Ft.paddingBox.width});return{pageMarginBox:we.page.marginBox,frameClient:Ft,scrollSize:Xe,shouldClipSubject:we.shouldClipSubject,scroll:{initial:we.scroll,current:we.scroll,max:bn,diff:{value:ma,displacement:ma}}}}(),je=me==="vertical"?oo:Yr,Oe=Ra({page:pe,withPlaceholder:null,axis:je,frame:Ue}),Re={descriptor:te,isCombineEnabled:ue,isFixedOnPage:ce,axis:je,isEnabled:ae,client:ve,page:pe,frame:Ue,subject:Oe};return Re},od=function(te,ae){var ue=Ln(te);if(!ae||te!==ae)return ue;var ce=ue.paddingBox.top-ae.scrollTop,me=ue.paddingBox.left-ae.scrollLeft,ve=ce+ae.scrollHeight,pe=me+ae.scrollWidth,we={top:ce,right:pe,bottom:ve,left:me},Ue=wa(we,ue.border),je=fa({borderBox:Ue,margin:ue.margin,border:ue.border,padding:ue.padding});return je},id=function(ee){var te=ee.ref,ae=ee.descriptor,ue=ee.env,ce=ee.windowScroll,me=ee.direction,ve=ee.isDropDisabled,pe=ee.isCombineEnabled,we=ee.shouldClipSubject,Ue=ue.closestScrollable,je=od(te,Ue),Oe=Pn(je,ce),Re=function(){if(!Ue)return null;var Ft=Ln(Ue),bn={scrollHeight:Ue.scrollHeight,scrollWidth:Ue.scrollWidth};return{client:Ft,page:Pn(Ft,ce),scroll:hu(Ue),scrollSize:bn,shouldClipSubject:we}}(),Xe=rd({descriptor:ae,isEnabled:!ve,isCombineEnabled:pe,isFixedOnPage:ue.isFixedOnPage,direction:me,client:je,page:Oe,closest:Re});return Xe},ld={passive:!1},ud={passive:!0},Uu=function(ee){return ee.shouldPublishImmediately?ld:ud};function xl(ee){var te=(0,x.useContext)(ee);return te||bt(!1),te}var wl=function(te){return te&&te.env.closestScrollable||null};function sd(ee){var te=(0,x.useRef)(null),ae=xl(li),ue=Ei("droppable"),ce=ae.registry,me=ae.marshal,ve=mu(ee),pe=Qt(function(){return{id:ee.droppableId,type:ee.type,mode:ee.mode}},[ee.droppableId,ee.mode,ee.type]),we=(0,x.useRef)(pe),Ue=Qt(function(){return ft(function(ga,Wa){te.current||bt(!1);var za={x:ga,y:Wa};me.updateDroppableScroll(pe.id,za)})},[pe.id,me]),je=Nt(function(){var ga=te.current;return!ga||!ga.env.closestScrollable?ma:hu(ga.env.closestScrollable)},[]),Oe=Nt(function(){var ga=je();Ue(ga.x,ga.y)},[je,Ue]),Re=Qt(function(){return wt(Oe)},[Oe]),Xe=Nt(function(){var ga=te.current,Wa=wl(ga);ga&&Wa||bt(!1);var za=ga.scrollOptions;if(za.shouldPublishImmediately){Oe();return}Re()},[Re,Oe]),Ft=Nt(function(ga,Wa){te.current&&bt(!1);var za=ve.current,rr=za.getDroppableRef();rr||bt(!1);var jr=ad(rr),dr={ref:rr,descriptor:pe,env:jr,scrollOptions:Wa};te.current=dr;var zr=id({ref:rr,descriptor:pe,env:jr,windowScroll:ga,direction:za.direction,isDropDisabled:za.isDropDisabled,isCombineEnabled:za.isCombineEnabled,shouldClipSubject:!za.ignoreContainerClipping}),qr=jr.closestScrollable;return qr&&(qr.setAttribute(Ti.contextId,ae.contextId),qr.addEventListener("scroll",Xe,Uu(dr.scrollOptions))),zr},[ae.contextId,pe,Xe,ve]),bn=Nt(function(){var ga=te.current,Wa=wl(ga);return ga&&Wa||bt(!1),hu(Wa)},[]),On=Nt(function(){var ga=te.current;ga||bt(!1);var Wa=wl(ga);te.current=null,Wa&&(Re.cancel(),Wa.removeAttribute(Ti.contextId),Wa.removeEventListener("scroll",Xe,Uu(ga.scrollOptions)))},[Xe,Re]),Tn=Nt(function(ga){var Wa=te.current;Wa||bt(!1);var za=wl(Wa);za||bt(!1),za.scrollTop+=ga.y,za.scrollLeft+=ga.x},[]),Yn=Qt(function(){return{getDimensionAndWatchScroll:Ft,getScrollWhileDragging:bn,dragStopped:On,scroll:Tn}},[On,Ft,bn,Tn]),ua=Qt(function(){return{uniqueId:ue,descriptor:pe,callbacks:Yn}},[Yn,pe,ue]);Ma(function(){return we.current=ua.descriptor,ce.droppable.register(ua),function(){te.current&&On(),ce.droppable.unregister(ua)}},[Yn,pe,On,ua,me,ce.droppable]),Ma(function(){te.current&&me.updateDroppableIsEnabled(we.current.id,!ee.isDropDisabled)},[ee.isDropDisabled,me]),Ma(function(){te.current&&me.updateDroppableIsCombineEnabled(we.current.id,ee.isCombineEnabled)},[ee.isCombineEnabled,me])}function Su(){}var Qu={width:0,height:0,margin:lr},dd=function(te){var ae=te.isAnimatingOpenOnMount,ue=te.placeholder,ce=te.animate;return ae||ce==="close"?Qu:{height:ue.client.borderBox.height,width:ue.client.borderBox.width,margin:ue.client.margin}},cd=function(te){var ae=te.isAnimatingOpenOnMount,ue=te.placeholder,ce=te.animate,me=dd({isAnimatingOpenOnMount:ae,placeholder:ue,animate:ce});return{display:ue.display,boxSizing:"border-box",width:me.width,height:me.height,marginTop:me.margin.top,marginRight:me.margin.right,marginBottom:me.margin.bottom,marginLeft:me.margin.left,flexShrink:"0",flexGrow:"0",pointerEvents:"none",transition:ce!=="none"?ko.placeholder:null}};function gd(ee){var te=(0,x.useRef)(null),ae=Nt(function(){te.current&&(clearTimeout(te.current),te.current=null)},[]),ue=ee.animate,ce=ee.onTransitionEnd,me=ee.onClose,ve=ee.contextId,pe=(0,x.useState)(ee.animate==="open"),we=pe[0],Ue=pe[1];(0,x.useEffect)(function(){return we?ue!=="open"?(ae(),Ue(!1),Su):te.current?Su:(te.current=setTimeout(function(){te.current=null,Ue(!1)}),ae):Su},[ue,we,ae]);var je=Nt(function(Re){Re.propertyName==="height"&&(ce(),ue==="close"&&me())},[ue,me,ce]),Oe=cd({isAnimatingOpenOnMount:we,animate:ee.animate,placeholder:ee.placeholder});return x.createElement(ee.placeholder.tagName,{style:Oe,"data-rbd-placeholder-context-id":ve,onTransitionEnd:je,ref:ee.innerRef})}var md=x.memo(gd),Pu=x.createContext(null);function Ku(ee){ee&&Po(ee)||bt(!1)}function Eu(ee){return typeof ee=="boolean"}function yu(ee,te){te.forEach(function(ae){return ae(ee)})}var fd=[function(te){var ae=te.props;ae.droppableId||bt(!1),typeof ae.droppableId!="string"&&bt(!1)},function(te){var ae=te.props;Eu(ae.isDropDisabled)||bt(!1),Eu(ae.isCombineEnabled)||bt(!1),Eu(ae.ignoreContainerClipping)||bt(!1)},function(te){var ae=te.getDroppableRef;Ku(ae())}],vd=[function(te){var ae=te.props,ue=te.getPlaceholderRef;if(ae.placeholder)var ce=ue()}],pd=[function(te){var ae=te.props;ae.renderClone||bt(!1)},function(te){var ae=te.getPlaceholderRef;ae()&&bt(!1)}];function hd(ee){Zi(function(){yu(ee,fd),ee.props.mode==="standard"&&yu(ee,vd),ee.props.mode==="virtual"&&yu(ee,pd)})}var Sd=function(ee){Be(te,ee);function te(){for(var ue,ce=arguments.length,me=new Array(ce),ve=0;ve<ce;ve++)me[ve]=arguments[ve];return ue=ee.call.apply(ee,[this].concat(me))||this,ue.state={isVisible:!!ue.props.on,data:ue.props.on,animate:ue.props.shouldAnimate&&ue.props.on?"open":"none"},ue.onClose=function(){ue.state.animate==="close"&&ue.setState({isVisible:!1})},ue}te.getDerivedStateFromProps=function(ce,me){return ce.shouldAnimate?ce.on?{isVisible:!0,data:ce.on,animate:"open"}:me.isVisible?{isVisible:!0,data:me.data,animate:"close"}:{isVisible:!1,animate:"close",data:null}:{isVisible:!!ce.on,data:ce.on,animate:"none"}};var ae=te.prototype;return ae.render=function(){if(!this.state.isVisible)return null;var ce={onClose:this.onClose,data:this.state.data,animate:this.state.animate};return this.props.children(ce)},te}(x.PureComponent),Ju={dragging:5e3,dropAnimating:4500},Pd=function(te,ae){return ae?ko.drop(ae.duration):te?ko.snap:ko.fluid},Ed=function(te,ae){return te?ae?Jo.opacity.drop:Jo.opacity.combining:null},yd=function(te){return te.forceShouldAnimate!=null?te.forceShouldAnimate:te.mode==="SNAP"};function bd(ee){var te=ee.dimension,ae=te.client,ue=ee.offset,ce=ee.combineWith,me=ee.dropping,ve=!!ce,pe=yd(ee),we=!!me,Ue=we?Oi.drop(ue,ve):Oi.moveTo(ue),je={position:"fixed",top:ae.marginBox.top,left:ae.marginBox.left,boxSizing:"border-box",width:ae.borderBox.width,height:ae.borderBox.height,transition:Pd(pe,me),transform:Ue,opacity:Ed(ve,we),zIndex:we?Ju.dropAnimating:Ju.dragging,pointerEvents:"none"};return je}function Fd(ee){return{transform:Oi.moveTo(ee.offset),transition:ee.shouldAnimateDisplacement?null:"none"}}function Bd(ee){return ee.type==="DRAGGING"?bd(ee):Fd(ee)}function Ad(ee,te,ae){ae===void 0&&(ae=ma);var ue=window.getComputedStyle(te),ce=te.getBoundingClientRect(),me=En(ce,ue),ve=Pn(me,ae),pe={client:me,tagName:te.tagName.toLowerCase(),display:ue.display},we={x:me.marginBox.width,y:me.marginBox.height},Ue={descriptor:ee,placeholder:pe,displaceBy:we,client:me,page:ve};return Ue}function Cd(ee){var te=Ei("draggable"),ae=ee.descriptor,ue=ee.registry,ce=ee.getDraggableRef,me=ee.canDragInteractiveElements,ve=ee.shouldRespectForcePress,pe=ee.isEnabled,we=Qt(function(){return{canDragInteractiveElements:me,shouldRespectForcePress:ve,isEnabled:pe}},[me,pe,ve]),Ue=Nt(function(Xe){var Ft=ce();return Ft||bt(!1),Ad(ae,Ft,Xe)},[ae,ce]),je=Qt(function(){return{uniqueId:te,descriptor:ae,options:we,getDimension:Ue}},[ae,Ue,we,te]),Oe=(0,x.useRef)(je),Re=(0,x.useRef)(!0);Ma(function(){return ue.draggable.register(Oe.current),function(){return ue.draggable.unregister(Oe.current)}},[ue.draggable]),Ma(function(){if(Re.current){Re.current=!1;return}var Xe=Oe.current;Oe.current=je,ue.draggable.update(je,Xe)},[je,ue.draggable])}function xd(ee,te,ae){Zi(function(){function ue(me){return"Draggable[id: "+me+"]: "}var ce=ee.draggableId;ce||bt(!1),typeof ce!="string"&&bt(!1),nr(ee.index)||bt(!1),ee.mapped.type!=="DRAGGING"&&(Ku(ae()),ee.isEnabled&&(Si(te,ce)||bt(!1)))})}function wd(ee){}function Dd(ee){ee.preventDefault()}function Ld(ee){var te=(0,x.useRef)(null),ae=Nt(function(dr){te.current=dr},[]),ue=Nt(function(){return te.current},[]),ce=xl(li),me=ce.contextId,ve=ce.dragHandleUsageInstructionsId,pe=ce.registry,we=xl(Pu),Ue=we.type,je=we.droppableId,Oe=Qt(function(){return{id:ee.draggableId,index:ee.index,type:Ue,droppableId:je}},[ee.draggableId,ee.index,Ue,je]),Re=ee.children,Xe=ee.draggableId,Ft=ee.isEnabled,bn=ee.shouldRespectForcePress,On=ee.canDragInteractiveElements,Tn=ee.isClone,Yn=ee.mapped,ua=ee.dropAnimationFinished;if(xd(ee,me,ue),wd(Tn),!Tn){var ga=Qt(function(){return{descriptor:Oe,registry:pe,getDraggableRef:ue,canDragInteractiveElements:On,shouldRespectForcePress:bn,isEnabled:Ft}},[Oe,pe,ue,On,bn,Ft]);Cd(ga)}var Wa=Qt(function(){return Ft?{tabIndex:0,role:"button","aria-describedby":ve,"data-rbd-drag-handle-draggable-id":Xe,"data-rbd-drag-handle-context-id":me,draggable:!1,onDragStart:Dd}:null},[me,ve,Xe,Ft]),za=Nt(function(dr){Yn.type==="DRAGGING"&&Yn.dropping&&dr.propertyName==="transform"&&ua()},[ua,Yn]),rr=Qt(function(){var dr=Bd(Yn),zr=Yn.type==="DRAGGING"&&Yn.dropping?za:null,qr={innerRef:ae,draggableProps:{"data-rbd-draggable-context-id":me,"data-rbd-draggable-id":Xe,style:dr,onTransitionEnd:zr},dragHandleProps:Wa};return qr},[me,Wa,Xe,Yn,za,ae]),jr=Qt(function(){return{draggableId:Oe.id,type:Oe.type,source:{index:Oe.index,droppableId:Oe.droppableId}}},[Oe.droppableId,Oe.id,Oe.index,Oe.type]);return Re(rr,Yn.snapshot,jr)}var Yu=function(ee,te){return ee===te},Xu=function(ee){var te=ee.combine,ae=ee.destination;return ae?ae.droppableId:te?te.droppableId:null},Id=function(te){return te.combine?te.combine.draggableId:null},Nd=function(te){return te.at&&te.at.type==="COMBINE"?te.at.combine.draggableId:null};function Od(){var ee=ft(function(ce,me){return{x:ce,y:me}}),te=ft(function(ce,me,ve,pe,we){return{isDragging:!0,isClone:me,isDropAnimating:!!we,dropAnimation:we,mode:ce,draggingOver:ve,combineWith:pe,combineTargetFor:null}}),ae=ft(function(ce,me,ve,pe,we,Ue,je){return{mapped:{type:"DRAGGING",dropping:null,draggingOver:we,combineWith:Ue,mode:me,offset:ce,dimension:ve,forceShouldAnimate:je,snapshot:te(me,pe,we,Ue,null)}}}),ue=function(me,ve){if(me.isDragging){if(me.critical.draggable.id!==ve.draggableId)return null;var pe=me.current.client.offset,we=me.dimensions.draggables[ve.draggableId],Ue=co(me.impact),je=Nd(me.impact),Oe=me.forceShouldAnimate;return ae(ee(pe.x,pe.y),me.movementMode,we,ve.isClone,Ue,je,Oe)}if(me.phase==="DROP_ANIMATING"){var Re=me.completed;if(Re.result.draggableId!==ve.draggableId)return null;var Xe=ve.isClone,Ft=me.dimensions.draggables[ve.draggableId],bn=Re.result,On=bn.mode,Tn=Xu(bn),Yn=Id(bn),ua=me.dropDuration,ga={duration:ua,curve:Ii.drop,moveTo:me.newHomeClientOffset,opacity:Yn?Jo.opacity.drop:null,scale:Yn?Jo.scale.drop:null};return{mapped:{type:"DRAGGING",offset:me.newHomeClientOffset,dimension:Ft,dropping:ga,draggingOver:Tn,combineWith:Yn,mode:On,forceShouldAnimate:null,snapshot:te(On,Xe,Tn,Yn,ga)}}}return null};return ue}function qu(ee){return{isDragging:!1,isDropAnimating:!1,isClone:!1,dropAnimation:null,mode:null,draggingOver:null,combineTargetFor:ee,combineWith:null}}var Md={mapped:{type:"SECONDARY",offset:ma,combineTargetFor:null,shouldAnimateDisplacement:!0,snapshot:qu(null)}};function Rd(){var ee=ft(function(ve,pe){return{x:ve,y:pe}}),te=ft(qu),ae=ft(function(ve,pe,we){return pe===void 0&&(pe=null),{mapped:{type:"SECONDARY",offset:ve,combineTargetFor:pe,shouldAnimateDisplacement:we,snapshot:te(pe)}}}),ue=function(pe){return pe?ae(ma,pe,!0):null},ce=function(pe,we,Ue,je){var Oe=Ue.displaced.visible[pe],Re=!!(je.inVirtualList&&je.effected[pe]),Xe=_r(Ue),Ft=Xe&&Xe.draggableId===pe?we:null;if(!Oe){if(!Re)return ue(Ft);if(Ue.displaced.invisible[pe])return null;var bn=Kt(je.displacedBy.point),On=ee(bn.x,bn.y);return ae(On,Ft,!0)}if(Re)return ue(Ft);var Tn=Ue.displacedBy.point,Yn=ee(Tn.x,Tn.y);return ae(Yn,Ft,Oe.shouldAnimate)},me=function(pe,we){if(pe.isDragging)return pe.critical.draggable.id===we.draggableId?null:ce(we.draggableId,pe.critical.draggable.id,pe.impact,pe.afterCritical);if(pe.phase==="DROP_ANIMATING"){var Ue=pe.completed;return Ue.result.draggableId===we.draggableId?null:ce(we.draggableId,Ue.result.draggableId,Ue.impact,Ue.afterCritical)}return null};return me}var kd=function(){var te=Od(),ae=Rd(),ue=function(me,ve){return te(me,ve)||ae(me,ve)||Md};return ue},Td={dropAnimationFinished:sl},Gd=Lt(kd,Td,null,{context:qo,pure:!0,areStatePropsEqual:Yu})(Ld);function $u(ee){var te=xl(Pu),ae=te.isUsingCloneFor;return ae===ee.draggableId&&!ee.isClone?null:x.createElement(Gd,ee)}function _d(ee){var te=typeof ee.isDragDisabled=="boolean"?!ee.isDragDisabled:!0,ae=!!ee.disableInteractiveElementBlocking,ue=!!ee.shouldRespectForcePress;return x.createElement($u,(0,Ne.Z)({},ee,{isClone:!1,isEnabled:te,canDragInteractiveElements:ae,shouldRespectForcePress:ue}))}function Zd(ee){var te=(0,x.useContext)(li);te||bt(!1);var ae=te.contextId,ue=te.isMovementAllowed,ce=(0,x.useRef)(null),me=(0,x.useRef)(null),ve=ee.children,pe=ee.droppableId,we=ee.type,Ue=ee.mode,je=ee.direction,Oe=ee.ignoreContainerClipping,Re=ee.isDropDisabled,Xe=ee.isCombineEnabled,Ft=ee.snapshot,bn=ee.useClone,On=ee.updateViewportMaxScroll,Tn=ee.getContainerForClone,Yn=Nt(function(){return ce.current},[]),ua=Nt(function(ao){ce.current=ao},[]),ga=Nt(function(){return me.current},[]),Wa=Nt(function(ao){me.current=ao},[]);hd({props:ee,getDroppableRef:Yn,getPlaceholderRef:ga});var za=Nt(function(){ue()&&On({maxScroll:gr()})},[ue,On]);sd({droppableId:pe,type:we,mode:Ue,direction:je,isDropDisabled:Re,isCombineEnabled:Xe,ignoreContainerClipping:Oe,getDroppableRef:Yn});var rr=x.createElement(Sd,{on:ee.placeholder,shouldAnimate:ee.shouldAnimatePlaceholder},function(ao){var Go=ao.onClose,Ro=ao.data,bo=ao.animate;return x.createElement(md,{placeholder:Ro,onClose:Go,innerRef:Wa,animate:bo,contextId:ae,onTransitionEnd:za})}),jr=Qt(function(){return{innerRef:ua,placeholder:rr,droppableProps:{"data-rbd-droppable-id":pe,"data-rbd-droppable-context-id":ae}}},[ae,pe,rr,ua]),dr=bn?bn.dragging.draggableId:null,zr=Qt(function(){return{droppableId:pe,type:we,isUsingCloneFor:dr}},[pe,dr,we]);function qr(){if(!bn)return null;var ao=bn.dragging,Go=bn.render,Ro=x.createElement($u,{draggableId:ao.draggableId,index:ao.source.index,isClone:!0,isEnabled:!0,shouldRespectForcePress:!1,canDragInteractiveElements:!0},function(bo,_o){return Go(bo,_o,ao)});return wn.createPortal(Ro,Tn())}return x.createElement(Pu.Provider,{value:zr},ve(jr,Ft),qr())}var bu=function(te,ae){return te===ae.droppable.type},es=function(te,ae){return ae.draggables[te.draggable.id]},jd=function(){var te={placeholder:null,shouldAnimatePlaceholder:!0,snapshot:{isDraggingOver:!1,draggingOverWith:null,draggingFromThisWith:null,isUsingPlaceholder:!1},useClone:null},ae=(0,Ne.Z)({},te,{shouldAnimatePlaceholder:!1}),ue=ft(function(ve){return{draggableId:ve.id,type:ve.type,source:{index:ve.index,droppableId:ve.droppableId}}}),ce=ft(function(ve,pe,we,Ue,je,Oe){var Re=je.descriptor.id,Xe=je.descriptor.droppableId===ve;if(Xe){var Ft=Oe?{render:Oe,dragging:ue(je.descriptor)}:null,bn={isDraggingOver:we,draggingOverWith:we?Re:null,draggingFromThisWith:Re,isUsingPlaceholder:!0};return{placeholder:je.placeholder,shouldAnimatePlaceholder:!1,snapshot:bn,useClone:Ft}}if(!pe)return ae;if(!Ue)return te;var On={isDraggingOver:we,draggingOverWith:Re,draggingFromThisWith:null,isUsingPlaceholder:!0};return{placeholder:je.placeholder,shouldAnimatePlaceholder:!0,snapshot:On,useClone:null}}),me=function(pe,we){var Ue=we.droppableId,je=we.type,Oe=!we.isDropDisabled,Re=we.renderClone;if(pe.isDragging){var Xe=pe.critical;if(!bu(je,Xe))return ae;var Ft=es(Xe,pe.dimensions),bn=co(pe.impact)===Ue;return ce(Ue,Oe,bn,bn,Ft,Re)}if(pe.phase==="DROP_ANIMATING"){var On=pe.completed;if(!bu(je,On.critical))return ae;var Tn=es(On.critical,pe.dimensions);return ce(Ue,Oe,Xu(On.result)===Ue,co(On.impact)===Ue,Tn,Re)}if(pe.phase==="IDLE"&&pe.completed&&!pe.shouldFlush){var Yn=pe.completed;if(!bu(je,Yn.critical))return ae;var ua=co(Yn.impact)===Ue,ga=!!(Yn.impact.at&&Yn.impact.at.type==="COMBINE"),Wa=Yn.critical.droppable.id===Ue;return ua?ga?te:ae:Wa?te:ae}return ae};return me},zd={updateViewportMaxScroll:io};function Hd(){return document.body||bt(!1),document.body}var Vd={mode:"standard",type:"DEFAULT",direction:"vertical",isDropDisabled:!1,isCombineEnabled:!1,ignoreContainerClipping:!1,renderClone:null,getContainerForClone:Hd},ts=Lt(jd,zd,null,{context:qo,pure:!0,areStatePropsEqual:Yu})(Zd);ts.defaultProps=Vd},38486:function(dt,xt){"use strict";var oe;var x=60103,he=60106,Be=60107,Ne=60108,Ae=60114,Ze=60109,Fe=60110,$e=60112,Ge=60113,Le=60120,Te=60115,We=60116,Qe=60121,ie=60122,E=60117,a=60129,b=60131;if(typeof Symbol=="function"&&Symbol.for){var y=Symbol.for;x=y("react.element"),he=y("react.portal"),Be=y("react.fragment"),Ne=y("react.strict_mode"),Ae=y("react.profiler"),Ze=y("react.provider"),Fe=y("react.context"),$e=y("react.forward_ref"),Ge=y("react.suspense"),Le=y("react.suspense_list"),Te=y("react.memo"),We=y("react.lazy"),Qe=y("react.block"),ie=y("react.server.block"),E=y("react.fundamental"),a=y("react.debug_trace_mode"),b=y("react.legacy_hidden")}function z(Ce){if(typeof Ce=="object"&&Ce!==null){var et=Ce.$$typeof;switch(et){case x:switch(Ce=Ce.type,Ce){case Be:case Ae:case Ne:case Ge:case Le:return Ce;default:switch(Ce=Ce&&Ce.$$typeof,Ce){case Fe:case $e:case We:case Te:case Ze:return Ce;default:return et}}case he:return et}}}var ne=Ze,re=x,le=$e,ge=Be,fe=We,Pe=Te,Ve=he,Me=Ae,vt=Ne,Ie=Ge;oe=Fe,oe=ne,oe=re,oe=le,oe=ge,oe=fe,oe=Pe,oe=Ve,oe=Me,oe=vt,oe=Ie,oe=function(){return!1},oe=function(){return!1},xt.isContextConsumer=function(Ce){return z(Ce)===Fe},oe=function(Ce){return z(Ce)===Ze},oe=function(Ce){return typeof Ce=="object"&&Ce!==null&&Ce.$$typeof===x},oe=function(Ce){return z(Ce)===$e},oe=function(Ce){return z(Ce)===Be},oe=function(Ce){return z(Ce)===We},oe=function(Ce){return z(Ce)===Te},oe=function(Ce){return z(Ce)===he},oe=function(Ce){return z(Ce)===Ae},oe=function(Ce){return z(Ce)===Ne},oe=function(Ce){return z(Ce)===Ge},oe=function(Ce){return typeof Ce=="string"||typeof Ce=="function"||Ce===Be||Ce===Ae||Ce===a||Ce===Ne||Ce===Ge||Ce===Le||Ce===b||typeof Ce=="object"&&Ce!==null&&(Ce.$$typeof===We||Ce.$$typeof===Te||Ce.$$typeof===Ze||Ce.$$typeof===Fe||Ce.$$typeof===$e||Ce.$$typeof===E||Ce.$$typeof===Qe||Ce[0]===ie)},oe=z},53410:function(dt,xt,oe){"use strict";dt.exports=oe(38486)},32637:function(dt,xt,oe){"use strict";dt.exports=oe.p+"static/AssistantCode3.a8740efb.jpeg"},73631:function(dt){"use strict";dt.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAAXNSR0IArs4c6QAAAZxJREFUOBGtlL1Ow0AMgH2XUIkOLFXVASgTsDHxBIAEzAwMPBQjT8AATGVBgEBCYmHmFcICYmBogCbNYSe52HUTVZWwFJ3PP599Z+WMcy6Af5SwYkWnLYifTyBzq5XNK8YNwbbvYP381ZuaVlN1+HJwAc4d1QYaA+gDsHYANrhGHTdCMtSDMILtwSMDn7ZiANPKwyjeQ0Reo4r1gEoEwRkDb7spdPcBeocMk1Cv00oii5L+fgPwcR/zHfb3AJY2sEpUVLOUhB/l+w7I1iS9TYDFrM3AzhqGDstPZ3li2Z12U2WLvk4fGJh+F0elYN8ZrbWiA7igAP4WR6sFzDAKPgPHP0VnlMsFS5IyyIGoeAamCKybYI5UQLWVE2fgGI/s72wqQXRd9jyxiHgGJtihFxGQm8Qd5XvtF3fEQOrQH9mDm1Z9hyJuEphXIq9uSWSQqv8a4RbAUTFdcs7gifwplYGjT3wzbPFz6Q70EZv8WZoxMP66ApMc86inirNBA8njcFIuvOTXhowPyzuQJiukzi3hQgS7b+I9nJtQn/AHsLGsvlcPPWsAAAAASUVORK5CYII="},5623:function(dt){"use strict";dt.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAAXNSR0IArs4c6QAAAedJREFUOBGtVDtLA0EQ/jY5z7dgEBVJLHyAitpYWQqKjVZa5BfEKpWlWPgrLG0UEdTexkILRUQiSBBBCAhGUINFHia53Dm7ufXcvfgIOHA3O69vvtnbPeY4ThD/KIF/xBJQhg/wbmkZtj0KMKbEGNIweg4xuPmq+DWDKSOfz2/AqaxpOVWzip8HC2xTsydfjoMHhMd2VMDjkSswTPqSucOhh3PmupaIediBOnL52UTLENC7QCV1bC9vkjkF3i4WVUDeORIF2sf5ymOk7mY1pr87hoHEhekHDLYQOfck8c6c6OeYfPHN3LyOxEB2KwQru0LrBvTPdaGRipj7ISUzqUWJ/moiRyc1tUXAQP42Tsa6sEIRCtwDRXqESDYS8RuG5iyRMEWFAat4CbvsAmgFmukmeYofJYeSAimab0L4DfQNHiF1laFAyMv840o2zN3Q1FMuIOIWStF9OtAxH4xkIC8NZyN9SnIOsNISkLRd3EWlFBP0lQJtDzVTyc8mBKB3U65nUnBYmDaFAr98BFGqvYKtwOMZHRsp1vsedVxV8bQRJXu5BbKWa6sAmK1lj2FiOoLcS5LYNX/N+3ktp+GapFJMeoDccdI9gEJ2nW5HhJjKuXmktih7yjJoC8VVwNpldXnr+KX8DfcD09mnwzz7SXEAAAAASUVORK5CYII="},36413:function(dt){"use strict";dt.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAYCAYAAAD+vg1LAAAAAXNSR0IArs4c6QAABPRJREFUSEudlXtQVGUYxp/vnLOcXcDltsACCyjesAypbMbQEpsxCyfDZ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