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

394 lines
1.1 MiB

(self.webpackChunk=self.webpackChunk||[]).push([[292],{87169:function(yt,kt,oe){"use strict";oe.d(kt,{Z:function(){return tt}});var b=oe(5016),he=oe(59301),De={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z"}}]},name:"exclamation-circle",theme:"outlined"},Ae=De,ke=oe(7657),ze=function(Le,_e){return he.createElement(ke.Z,(0,b.Z)({},Le,{ref:_e,icon:Ae}))},xe=he.forwardRef(ze),tt=xe},12893:function(yt,kt,oe){"use strict";oe.d(kt,{Z:function(){return tt}});var b=oe(5016),he=oe(59301),De={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M696 480H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z"}},{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}}]},name:"minus-circle",theme:"outlined"},Ae=De,ke=oe(7657),ze=function(Le,_e){return he.createElement(ke.Z,(0,b.Z)({},Le,{ref:_e,icon:Ae}))},xe=he.forwardRef(ze),tt=xe},32134:function(yt,kt,oe){"use strict";oe.d(kt,{Z:function(){return tt}});var b=oe(5016),he=oe(59301),De={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M696 480H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z"}},{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}}]},name:"plus-circle",theme:"outlined"},Ae=De,ke=oe(7657),ze=function(Le,_e){return he.createElement(ke.Z,(0,b.Z)({},Le,{ref:_e,icon:Ae}))},xe=he.forwardRef(ze),tt=xe},99587:function(yt,kt){"use strict";kt.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},8423:function(yt,kt){"use strict";kt.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(yt,kt){"use strict";kt.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"}},44125:function(yt,kt,oe){"use strict";var b=oe(59301),he=Object.defineProperty,De=Object.getOwnPropertySymbols,Ae=Object.prototype.hasOwnProperty,ke=Object.prototype.propertyIsEnumerable,ze=(Me,Le,_e)=>Le in Me?he(Me,Le,{enumerable:!0,configurable:!0,writable:!0,value:_e}):Me[Le]=_e,xe=(Me,Le)=>{for(var _e in Le||(Le={}))Ae.call(Le,_e)&&ze(Me,_e,Le[_e]);if(De)for(var _e of De(Le))ke.call(Le,_e)&&ze(Me,_e,Le[_e]);return Me};const tt=Me=>React.createElement("svg",xe({width:14,height:13,xmlns:"http://www.w3.org/2000/svg"},Me),React.createElement("title",null,"\u6D4B\u8BD5AI\u8BC4\u5206"),React.createElement("path",{d:"M5.19 1.488a2.133 2.133 0 0 1 3.62 0l.96 1.54a.25.25 0 0 0 .152.11l1.76.437a2.133 2.133 0 0 1 1.12 3.443l-1.234 1.465.136 1.912a2.133 2.133 0 0 1-1.823 2.263l-.152.016a2.133 2.133 0 0 1-.954-.15l-1.681-.683a.25.25 0 0 0-.188 0l-1.681.682a2.133 2.133 0 0 1-2.93-2.128l.13-1.81a.25.25 0 0 0-.058-.178L1.198 7.018a2.133 2.133 0 0 1 1.12-3.443l1.76-.436a.25.25 0 0 0 .152-.11Zm2.053.543a.633.633 0 0 0-.78.25l-.96 1.54a1.75 1.75 0 0 1-1.064.774l-1.761.436a.633.633 0 0 0-.332 1.022L3.514 7.44c.294.348.44.797.407 1.251l-.13 1.81a.633.633 0 0 0 .87.631l1.681-.682a1.75 1.75 0 0 1 1.316 0l1.681.682a.633.633 0 0 0 .87-.631l-.18-2.518 1.625-1.931a.633.633 0 0 0-.332-1.022l-1.761-.436a1.75 1.75 0 0 1-1.065-.774l-.959-1.54a.633.633 0 0 0-.203-.203Zm1.544 5.23a.75.75 0 0 1 .102 1.493l-.102.007H5.362a.75.75 0 0 1-.102-1.494l.102-.006h3.425Z",fill:"#3061D0",fillRule:"nonzero"}));kt.Z="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTMiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTUuMTkgMS40ODhhMi4xMzMgMi4xMzMgMCAwIDEgMy42MiAwbC45NiAxLjU0YS4yNS4yNSAwIDAgMCAuMTUyLjExbDEuNzYuNDM3YTIuMTMzIDIuMTMzIDAgMCAxIDEuMTIgMy40NDNsLTEuMjM0IDEuNDY1LjEzNiAxLjkxMmEyLjEzMyAyLjEzMyAwIDAgMS0xLjgyMyAyLjI2M2wtLjE1Mi4wMTZhMi4xMzMgMi4xMzMgMCAwIDEtLjk1NC0uMTVsLTEuNjgxLS42ODNhLjI1LjI1IDAgMCAwLS4xODggMGwtMS42ODEuNjgyYTIuMTMzIDIuMTMzIDAgMCAxLTIuOTMtMi4xMjhsLjEzLTEuODFhLjI1LjI1IDAgMCAwLS4wNTgtLjE3OEwxLjE5OCA3LjAxOGEyLjEzMyAyLjEzMyAwIDAgMSAxLjEyLTMuNDQzbDEuNzYtLjQzNmEuMjUuMjUgMCAwIDAgLjE1Mi0uMTFabTIuMDUzLjU0M2EuNjMzLjYzMyAwIDAgMC0uNzguMjVsLS45NiAxLjU0YTEuNzUgMS43NSAwIDAgMS0xLjA2NC43NzRsLTEuNzYxLjQzNmEuNjMzLjYzMyAwIDAgMC0uMzMyIDEuMDIyTDMuNTE0IDcuNDRjLjI5NC4zNDguNDQuNzk3LjQwNyAxLjI1MWwtLjEzIDEuODFhLjYzMy42MzMgMCAwIDAgLjg3LjYzMWwxLjY4MS0uNjgyYTEuNzUgMS43NSAwIDAgMSAxLjMxNiAwbDEuNjgxLjY4MmEuNjMzLjYzMyAwIDAgMCAuODctLjYzMWwtLjE4LTIuNTE4IDEuNjI1LTEuOTMxYS42MzMuNjMzIDAgMCAwLS4zMzItMS4wMjJsLTEuNzYxLS40MzZhMS43NSAxLjc1IDAgMCAxLTEuMDY1LS43NzRsLS45NTktMS41NGEuNjMzLjYzMyAwIDAgMC0uMjAzLS4yMDNabTEuNTQ0IDUuMjNhLjc1Ljc1IDAgMCAxIC4xMDIgMS40OTNsLS4xMDIuMDA3SDUuMzYyYS43NS43NSAwIDAgMS0uMTAyLTEuNDk0bC4xMDItLjAwNmgzLjQyNVoiIGZpbGw9IiMzMDYxRDAiIGZpbGwtcnVsZT0ibm9uemVybyIvPjwvc3ZnPg=="},57149:function(yt,kt,oe){"use strict";var b=oe(59301),he=Object.defineProperty,De=Object.getOwnPropertySymbols,Ae=Object.prototype.hasOwnProperty,ke=Object.prototype.propertyIsEnumerable,ze=(Me,Le,_e)=>Le in Me?he(Me,Le,{enumerable:!0,configurable:!0,writable:!0,value:_e}):Me[Le]=_e,xe=(Me,Le)=>{for(var _e in Le||(Le={}))Ae.call(Le,_e)&&ze(Me,_e,Le[_e]);if(De)for(var _e of De(Le))ke.call(Le,_e)&&ze(Me,_e,Le[_e]);return Me};const tt=Me=>React.createElement("svg",xe({className:"jiangxu_svg__icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:32,height:32},Me),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"}));kt.Z="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMzIiIGhlaWdodD0iMzIiPjxwYXRoIGQ9Ik0zNjUuNzE0IDczLjE0M0gxMDI0djczLjE0M0gzNjUuNzE0em0wIDI5Mi41NzFIMTAyNHY3My4xNDNIMzY1LjcxNHptMCAyOTIuNTcySDEwMjR2NzMuMTQzSDM2NS43MTR6bTAgMjkyLjU3MUgxMDI0VjEwMjRIMzY1LjcxNHYtNzMuMTQzeiIgZmlsbD0iIzk4QkRGNyIvPjxwYXRoIGQ9Im0yNDguNjg2IDgwMy4xODItNjUuODI5IDc1LjkyMlY2NTguMjg2aC03My4xNDN2MjIwLjgxOGwtNjUuODI4LTc1Ljk5NUwwIDg1MS4zODMgMTQ2LjI4NiAxMDI0IDI5Mi41NyA4NTEuNTN6IiBmaWxsPSIjMTQ1REZGIi8+PHBhdGggZD0iTTE0Ni4yODYgMCAwIDE1OC43Mmw0My44ODYgNTUuMjIzIDY1LjgyOC03NS45MjJ2MjI3LjY5M2g3My4xNDNWMTM4LjAyMWw2NS44MjkgNzUuOTIyIDQzLjg4NS01NS4yMjN6IiBmaWxsPSIjOThCREY3Ii8+PC9zdmc+"},61250:function(yt,kt,oe){"use strict";var b=oe(59301),he=Object.defineProperty,De=Object.getOwnPropertySymbols,Ae=Object.prototype.hasOwnProperty,ke=Object.prototype.propertyIsEnumerable,ze=(Me,Le,_e)=>Le in Me?he(Me,Le,{enumerable:!0,configurable:!0,writable:!0,value:_e}):Me[Le]=_e,xe=(Me,Le)=>{for(var _e in Le||(Le={}))Ae.call(Le,_e)&&ze(Me,_e,Le[_e]);if(De)for(var _e of De(Le))ke.call(Le,_e)&&ze(Me,_e,Le[_e]);return Me};const tt=Me=>React.createElement("svg",xe({className:"shengxu_svg__icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:32,height:32},Me),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"}));kt.Z="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMzIiIGhlaWdodD0iMzIiPjxwYXRoIGQ9Ik0zNjUuNzE0IDczLjE0M0gxMDI0djczLjE0M0gzNjUuNzE0em0wIDI5Mi41NzFIMTAyNHY3My4xNDNIMzY1LjcxNHptMCAyOTIuNTcySDEwMjR2NzMuMTQzSDM2NS43MTR6bTAgMjkyLjU3MUgxMDI0VjEwMjRIMzY1LjcxNHYtNzMuMTQzek0yNDguNjg2IDgwMy4xODJsLTY1LjgyOSA3NS45MjJWNjU4LjI4NmgtNzMuMTQzdjIyMC44MThsLTY1LjgyOC03NS45OTVMMCA4NTEuMzgzIDE0Ni4yODYgMTAyNCAyOTIuNTcgODUxLjUzeiIgZmlsbD0iIzk4QkRGNyIvPjxwYXRoIGQ9Ik0xNDYuMjg2IDAgMCAxNTguNzJsNDMuODg2IDU1LjIyMyA2NS44MjgtNzUuOTIydjIyNy42OTNoNzMuMTQzVjEzOC4wMjFsNjUuODI5IDc1LjkyMiA0My44ODUtNTUuMjIzeiIgZmlsbD0iIzE0NURGRiIvPjwvc3ZnPg=="},63720:function(){"use strict";function yt(le,E,a,x){a===void 0&&(a=0),x===void 0&&(x=1/0),this._name=le,this._defaultValue=E,this._minimum=a,this._maximum=x}Object.defineProperty(yt.prototype,"name",{get:function(){return this._name},set:function(le){if(typeof le!="string"||le==="")throw new Error("Shape name must be a valid string.");this._name=le}}),Object.defineProperty(yt.prototype,"defaultValue",{get:function(){return this._defaultValue},set:function(le){if(typeof le!="number"||isNaN(le))throw new Error("The default value must be a real number, not: "+le);this._defaultValue=le}}),Object.defineProperty(yt.prototype,"minimum",{get:function(){return this._minimum},set:function(le){if(typeof le!="number"||isNaN(le))throw new Error("Minimum must be a real number, not: "+le);this._minimum=le}}),Object.defineProperty(yt.prototype,"maximum",{get:function(){return this._maximum},set:function(le){if(typeof le!="number"||isNaN(le))throw new Error("Maximum must be a real number, not: "+le);this._maximum=le}}),go.Shape._FigureParameters={},go.Shape.getFigureParameter=function(le,E){var a=go.Shape._FigureParameters[le];return a?a[E]:null},go.Shape.setFigureParameter=function(le,E,a){if(!(a instanceof yt))throw new Error("Third argument to Shape.setFigureParameter is not FigureParameter: "+a);if(a.defaultValue<a.minimum||a.defaultValue>a.maximum)throw new Error("defaultValue must be between minimum and maximum, not: "+a.defaultValue);var x=go.Shape._FigureParameters[le];x||(x=[],go.Shape._FigureParameters[le]=x),x[E]=a};var kt=[];function oe(le,E){var a=kt.pop();return a===void 0?new go.Point(le,E):(a.x=le,a.y=E,a)}function b(){var le=kt.pop();return le===void 0?new go.Point:le}function he(le){kt.push(le)}function De(le,E,a,x,y,z,te,ae,se){se||(se=new go.Point);var ie=le-a,Se=y-te,Fe=NaN,We=NaN;if(ie===0)if(Se===0)le===a&&(Fe=le,We=E);else{var Ne=(z-ae)/Se,mt=z-Ne*y;Fe=le,We=Ne*Fe+mt}else if(Se===0){var Re=(E-x)/ie,Je=E-Re*le;Fe=y,We=Re*Fe+Je}else{var Re=(E-x)/ie,Ne=(z-ae)/Se,Je=E-Re*le,mt=z-Ne*y;Fe=(mt-Je)/(Re-Ne),We=Re*Fe+Je}return se.x=Fe,se.y=We,se}function Ae(le,E,a,x,y,z,te,ae,se,ie,Se,Fe,We,Ne){var mt=1-se,Re=se,Je=le*mt+a*Re,Qe=E*mt+x*Re,et=a*mt+y*Re,we=x*mt+z*Re,ht=y*mt+te*Re,ct=z*mt+ae*Re,Lt=Je*mt+et*Re,gt=Qe*mt+we*Re,Pn=et*mt+ht*Re,nn=we*mt+ct*Re,Wt=Lt*mt+Pn*Re,_t=gt*mt+nn*Re;ie.x=Je,ie.y=Qe,Se.x=Lt,Se.y=gt,Fe.x=Wt,Fe.y=_t,We.x=Pn,We.y=nn,Ne.x=ht,Ne.y=ct}var ke=new go.Spot(.156,.156),ze=new go.Spot(.844,.844),xe=4*((Math.sqrt(2)-1)/3);go.Shape.setFigureParameter("RoundedRectangle",0,new yt("CornerRounding",5)),go.Shape.defineFigureGenerator("RoundedRectangle",function(le,E,a){var x=le?le.parameter1:NaN;(isNaN(x)||x<0)&&(x=5),x=Math.min(x,E/3),x=Math.min(x,a/3);var y=x*xe,z=new go.Geometry().add(new go.PathFigure(x,0,!0).add(new go.PathSegment(go.PathSegment.Line,E-x,0)).add(new go.PathSegment(go.PathSegment.Bezier,E,x,E-y,0,E,y)).add(new go.PathSegment(go.PathSegment.Line,E,a-x)).add(new go.PathSegment(go.PathSegment.Bezier,E-x,a,E,a-y,E-y,a)).add(new go.PathSegment(go.PathSegment.Line,x,a)).add(new go.PathSegment(go.PathSegment.Bezier,0,a-x,y,a,0,a-y)).add(new go.PathSegment(go.PathSegment.Line,0,x)).add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,y,y,0).close()));return y>1&&(z.spot1=new go.Spot(0,0,y,y),z.spot2=new go.Spot(1,1,-y,-y)),z}),go.Shape.defineFigureGenerator("Border","RoundedRectangle"),go.Shape.defineFigureGenerator("TriangleRight",function(le,E,a){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())).setSpots(0,.25,.5,.75)}),go.Shape.defineFigureGenerator("TriangleDown",function(le,E,a){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,.5*E,a).close())).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("TriangleLeft",function(le,E,a){return new go.Geometry().add(new go.PathFigure(E,a).add(new go.PathSegment(go.PathSegment.Line,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,E,0).close())).setSpots(.5,.25,1,.75)}),go.Shape.defineFigureGenerator("TriangleUp",function(le,E,a){return new go.Geometry().add(new go.PathFigure(E,a).add(new go.PathSegment(go.PathSegment.Line,0,a)).add(new go.PathSegment(go.PathSegment.Line,.5*E,0).close())).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("Triangle","TriangleUp"),go.Shape.defineFigureGenerator("Diamond",function(le,E,a){return new go.Geometry().add(new go.PathFigure(.5*E,0).add(new go.PathSegment(go.PathSegment.Line,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.5*E,a)).add(new go.PathSegment(go.PathSegment.Line,E,.5*a).close())).setSpots(.25,.25,.75,.75)}),go.Shape.defineFigureGenerator("LineH",function(le,E,a){var x=new go.Geometry(go.Geometry.Line);return x.startX=0,x.startY=a/2,x.endX=E,x.endY=a/2,x}),go.Shape.defineFigureGenerator("LineV",function(le,E,a){var x=new go.Geometry(go.Geometry.Line);return x.startX=E/2,x.startY=0,x.endX=E/2,x.endY=a,x}),go.Shape.defineFigureGenerator("BarH","Rectangle"),go.Shape.defineFigureGenerator("BarV","Rectangle"),go.Shape.defineFigureGenerator("MinusLine","LineH"),go.Shape.defineFigureGenerator("PlusLine",function(le,E,a){return new go.Geometry().add(new go.PathFigure(0,a/2,!1).add(new go.PathSegment(go.PathSegment.Line,E,a/2)).add(new go.PathSegment(go.PathSegment.Move,E/2,0)).add(new go.PathSegment(go.PathSegment.Line,E/2,a)))}),go.Shape.defineFigureGenerator("XLine",function(le,E,a){return new go.Geometry().add(new go.PathFigure(0,a,!1).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Move,0,0)).add(new go.PathSegment(go.PathSegment.Line,E,a)))}),go.Shape.defineFigureGenerator("LineRight",function(le,E,a){return new go.Geometry().add(new go.PathFigure(.25*E,0,!1).add(new go.PathSegment(go.PathSegment.Line,.75*E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.25*E,a)))}),go.Shape.defineFigureGenerator("LineDown",function(le,E,a){return new go.Geometry().add(new go.PathFigure(0,.25*a,!1).add(new go.PathSegment(go.PathSegment.Line,.5*E,.75*a)).add(new go.PathSegment(go.PathSegment.Line,E,.25*a)))}),go.Shape.defineFigureGenerator("LineLeft",function(le,E,a){return new go.Geometry().add(new go.PathFigure(.75*E,0,!1).add(new go.PathSegment(go.PathSegment.Line,.25*E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.75*E,a)))}),go.Shape.defineFigureGenerator("LineUp",function(le,E,a){return new go.Geometry().add(new go.PathFigure(0,.75*a,!1).add(new go.PathSegment(go.PathSegment.Line,.5*E,.25*a)).add(new go.PathSegment(go.PathSegment.Line,E,.75*a)))}),go.Shape.defineFigureGenerator("AsteriskLine",function(le,E,a){var x=.2/Math.SQRT2;return new go.Geometry().add(new go.PathFigure(x*E,(1-x)*a,!1).add(new go.PathSegment(go.PathSegment.Line,(1-x)*E,x*a)).add(new go.PathSegment(go.PathSegment.Move,x*E,x*a)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*E,(1-x)*a)).add(new go.PathSegment(go.PathSegment.Move,0,a/2)).add(new go.PathSegment(go.PathSegment.Line,E,a/2)).add(new go.PathSegment(go.PathSegment.Move,E/2,0)).add(new go.PathSegment(go.PathSegment.Line,E/2,a)))}),go.Shape.defineFigureGenerator("CircleLine",function(le,E,a){var x=E/2,y=new go.Geometry().add(new go.PathFigure(E,E/2,!1).add(new go.PathSegment(go.PathSegment.Arc,0,360,x,x,x,x).close()));return y.spot1=ke,y.spot2=ze,y.defaultStretch=go.GraphObject.Uniform,y}),go.Shape.defineFigureGenerator("Line1",function(le,E,a){var x=new go.Geometry(go.Geometry.Line);return x.startX=0,x.startY=0,x.endX=E,x.endY=a,x}),go.Shape.defineFigureGenerator("Line2",function(le,E,a){var x=new go.Geometry(go.Geometry.Line);return x.startX=E,x.startY=0,x.endX=0,x.endY=a,x}),go.Shape.defineFigureGenerator("Curve1",function(le,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,E,a,xe*E,0,E,(1-xe)*a)))}),go.Shape.defineFigureGenerator("Curve2",function(le,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,E,a,0,xe*a,(1-xe)*E,a)))}),go.Shape.defineFigureGenerator("Curve3",function(le,E,a){return new go.Geometry().add(new go.PathFigure(E,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,a,E,xe*a,xe*E,a)))}),go.Shape.defineFigureGenerator("Curve4",function(le,E,a){return new go.Geometry().add(new go.PathFigure(E,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,a,(1-xe)*E,0,0,(1-xe)*a)))}),go.Shape.defineFigureGenerator("TriangleDownLeft",function(le,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())).setSpots(0,.5,.5,1)}),go.Shape.defineFigureGenerator("TriangleDownRight",function(le,E,a){return new go.Geometry().add(new go.PathFigure(E,0,!0).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())).setSpots(.5,.5,1,1)}),go.Shape.defineFigureGenerator("TriangleUpLeft",function(le,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())).setSpots(0,0,.5,.5)}),go.Shape.defineFigureGenerator("TriangleUpRight",function(le,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E,a).close())).setSpots(.5,0,1,.5)}),go.Shape.defineFigureGenerator("RightTriangle","TriangleDownLeft"),go.Shape.setFigureParameter("Parallelogram1",0,new yt("Indent",.1,-.99,.99)),go.Shape.defineFigureGenerator("Parallelogram1",function(le,E,a){var x=le?le.parameter1:NaN;isNaN(x)?x=.1:x<-1?x=-1:x>1&&(x=1);var y=Math.abs(x)*E;if(x===0){var z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=E,z.endY=a,z}else{var z=new go.Geometry;return x>0?z.add(new go.PathFigure(y,0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E-y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())):z.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,E-y,0)).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,y,a).close())),y<E/2&&z.setSpots(y/E,0,(E-y)/E,1),z}}),go.Shape.defineFigureGenerator("Parallelogram","Parallelogram1"),go.Shape.setFigureParameter("Parallelogram2",0,new yt("Indent",10,-1/0,1/0)),go.Shape.defineFigureGenerator("Parallelogram2",function(le,E,a){var x=le?le.parameter1:NaN;isNaN(x)?x=10:x<-E?x=-E:x>E&&(x=E);var y=Math.abs(x);if(x===0){var z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=E,z.endY=a,z}else{var z=new go.Geometry;return x>0?z.add(new go.PathFigure(y,0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E-y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())):z.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,E-y,0)).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,y,a).close())),y<E/2&&z.setSpots(y/E,0,(E-y)/E,1),z}}),go.Shape.setFigureParameter("Trapezoid1",0,new yt("Indent",.2,-.99,.99)),go.Shape.defineFigureGenerator("Trapezoid1",function(le,E,a){var x=le?le.parameter1:NaN;isNaN(x)?x=.2:x<.5?x=-.5:x>.5&&(x=.5);var y=Math.abs(x)*E;if(x===0){var z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=E,z.endY=a,z}else{var z=new go.Geometry;return x>0?z.add(new go.PathFigure(y,0).add(new go.PathSegment(go.PathSegment.Line,E-y,0)).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())):z.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E-y,a)).add(new go.PathSegment(go.PathSegment.Line,y,a).close())),y<E/2&&z.setSpots(y/E,0,(E-y)/E,1),z}}),go.Shape.defineFigureGenerator("Trapezoid","Trapezoid1"),go.Shape.setFigureParameter("Trapezoid2",0,new yt("Indent",20,-1/0,1/0)),go.Shape.defineFigureGenerator("Trapezoid2",function(le,E,a){var x=le?le.parameter1:NaN;isNaN(x)?x=20:x<-E?x=-E/2:x>E&&(x=E/2);var y=Math.abs(x);if(x===0){var z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=E,z.endY=a,z}else{var z=new go.Geometry;return x>0?z.add(new go.PathFigure(y,0).add(new go.PathSegment(go.PathSegment.Line,E-y,0)).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())):z.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E-y,a)).add(new go.PathSegment(go.PathSegment.Line,y,a).close())),y<E/2&&z.setSpots(y/E,0,(E-y)/E,1),z}}),go.Shape.setFigureParameter("ManualOperation",0,new yt("Indent",10,-1/0,1/0)),go.Shape.defineFigureGenerator("ManualOperation",function(le,E,a){var x=le?le.parameter1:NaN;isNaN(x)?x=10:x<-E?x=-E/2:x>E&&(x=E/2);var y=Math.abs(x);if(x===0){var z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=E,z.endY=a,z}else{var z=new go.Geometry;return x>0?z.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E-y,a)).add(new go.PathSegment(go.PathSegment.Line,y,a).close())):z.add(new go.PathFigure(y,0).add(new go.PathSegment(go.PathSegment.Line,E-y,0)).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())),y<E/2&&z.setSpots(y/E,0,(E-y)/E,1),z}});var tt=[];function Me(){var le=tt.pop();return le===void 0?[]:le}function Le(le){le.length=0,tt.push(le)}function _e(le){for(var E=Me(),a=.5,x=.5,y=Math.PI*1.5,z=0,te=0;te<le;te++)z=2*Math.PI/le*te+y,E[te]=new go.Point(x+a*Math.cos(z),x+a*Math.sin(z));return E.push(E[0]),E}function He(le){var E=Ke(le),a=Me();a[0]=E[0];for(var x=1,y=1;x<E.length;x+=2,y+=3)a[y]=E[x],a[y+1]=E[x],a[y+2]=E[x+1];return Le(E),a}function Ke(le){for(var E=_e(le),a=Me(),x=Math.floor(E.length/2),y=E.length-1,z=le%2===0?2:1,te=0;te<y;te++){var ae=E[te],se=E[te+1],ie=E[(x+te-1)%y],Se=E[(x+te+z)%y];a[te*2]=ae,a[te*2+1]=De(ae.x,ae.y,ie.x,ie.y,se.x,se.y,Se.x,Se.y,new go.Point)}return a[a.length]=a[0],Le(E),a}go.Shape.defineFigureGenerator("Pentagon",function(le,E,a){var x=_e(5),y=new go.Geometry,z=new go.PathFigure(x[0].x*E,x[0].y*a,!0);y.add(z);for(var te=1;te<5;te++)z.add(new go.PathSegment(go.PathSegment.Line,x[te].x*E,x[te].y*a));return z.add(new go.PathSegment(go.PathSegment.Line,x[0].x*E,x[0].y*a).close()),Le(x),y.spot1=new go.Spot(.2,.22),y.spot2=new go.Spot(.8,.9),y}),go.Shape.defineFigureGenerator("Hexagon",function(le,E,a){var x=_e(6),y=new go.Geometry,z=new go.PathFigure(x[0].x*E,x[0].y*a,!0);y.add(z);for(var te=1;te<6;te++)z.add(new go.PathSegment(go.PathSegment.Line,x[te].x*E,x[te].y*a));return z.add(new go.PathSegment(go.PathSegment.Line,x[0].x*E,x[0].y*a).close()),Le(x),y.spot1=new go.Spot(.07,.25),y.spot2=new go.Spot(.93,.75),y}),go.Shape.defineFigureGenerator("Heptagon",function(le,E,a){var x=_e(7),y=new go.Geometry,z=new go.PathFigure(x[0].x*E,x[0].y*a,!0);y.add(z);for(var te=1;te<7;te++)z.add(new go.PathSegment(go.PathSegment.Line,x[te].x*E,x[te].y*a));return z.add(new go.PathSegment(go.PathSegment.Line,x[0].x*E,x[0].y*a).close()),Le(x),y.spot1=new go.Spot(.2,.15),y.spot2=new go.Spot(.8,.85),y}),go.Shape.defineFigureGenerator("Octagon",function(le,E,a){var x=_e(8),y=new go.Geometry,z=new go.PathFigure(x[0].x*E,x[0].y*a,!0);y.add(z);for(var te=1;te<8;te++)z.add(new go.PathSegment(go.PathSegment.Line,x[te].x*E,x[te].y*a));return z.add(new go.PathSegment(go.PathSegment.Line,x[0].x*E,x[0].y*a).close()),Le(x),y.spot1=new go.Spot(.15,.15),y.spot2=new go.Spot(.85,.85),y}),go.Shape.defineFigureGenerator("Nonagon",function(le,E,a){var x=_e(9),y=new go.Geometry,z=new go.PathFigure(x[0].x*E,x[0].y*a,!0);y.add(z);for(var te=1;te<9;te++)z.add(new go.PathSegment(go.PathSegment.Line,x[te].x*E,x[te].y*a));return z.add(new go.PathSegment(go.PathSegment.Line,x[0].x*E,x[0].y*a).close()),Le(x),y.spot1=new go.Spot(.17,.13),y.spot2=new go.Spot(.82,.82),y}),go.Shape.defineFigureGenerator("Decagon",function(le,E,a){var x=_e(10),y=new go.Geometry,z=new go.PathFigure(x[0].x*E,x[0].y*a,!0);y.add(z);for(var te=1;te<10;te++)z.add(new go.PathSegment(go.PathSegment.Line,x[te].x*E,x[te].y*a));return z.add(new go.PathSegment(go.PathSegment.Line,x[0].x*E,x[0].y*a).close()),Le(x),y.spot1=new go.Spot(.16,.16),y.spot2=new go.Spot(.84,.84),y}),go.Shape.defineFigureGenerator("Dodecagon",function(le,E,a){var x=_e(12),y=new go.Geometry,z=new go.PathFigure(x[0].x*E,x[0].y*a,!0);y.add(z);for(var te=1;te<12;te++)z.add(new go.PathSegment(go.PathSegment.Line,x[te].x*E,x[te].y*a));return z.add(new go.PathSegment(go.PathSegment.Line,x[0].x*E,x[0].y*a).close()),Le(x),y.spot1=new go.Spot(.16,.16),y.spot2=new go.Spot(.84,.84),y}),go.Shape.defineFigureGenerator("FivePointedStar",function(le,E,a){var x=Ke(5),y=new go.Geometry,z=new go.PathFigure(x[0].x*E,x[0].y*a,!0);y.add(z);for(var te=1;te<10;te++)z.add(new go.PathSegment(go.PathSegment.Line,x[te].x*E,x[te].y*a));return z.add(new go.PathSegment(go.PathSegment.Line,x[0].x*E,x[0].y*a).close()),Le(x),y.spot1=new go.Spot(.266,.333),y.spot2=new go.Spot(.733,.733),y}),go.Shape.defineFigureGenerator("SixPointedStar",function(le,E,a){var x=Ke(6),y=new go.Geometry,z=new go.PathFigure(x[0].x*E,x[0].y*a,!0);y.add(z);for(var te=1;te<12;te++)z.add(new go.PathSegment(go.PathSegment.Line,x[te].x*E,x[te].y*a));return z.add(new go.PathSegment(go.PathSegment.Line,x[0].x*E,x[0].y*a).close()),Le(x),y.spot1=new go.Spot(.17,.25),y.spot2=new go.Spot(.83,.75),y}),go.Shape.defineFigureGenerator("SevenPointedStar",function(le,E,a){var x=Ke(7),y=new go.Geometry,z=new go.PathFigure(x[0].x*E,x[0].y*a,!0);y.add(z);for(var te=1;te<14;te++)z.add(new go.PathSegment(go.PathSegment.Line,x[te].x*E,x[te].y*a));return z.add(new go.PathSegment(go.PathSegment.Line,x[0].x*E,x[0].y*a).close()),Le(x),y.spot1=new go.Spot(.222,.277),y.spot2=new go.Spot(.777,.666),y}),go.Shape.defineFigureGenerator("EightPointedStar",function(le,E,a){var x=Ke(8),y=new go.Geometry,z=new go.PathFigure(x[0].x*E,x[0].y*a,!0);y.add(z);for(var te=1;te<16;te++)z.add(new go.PathSegment(go.PathSegment.Line,x[te].x*E,x[te].y*a));return z.add(new go.PathSegment(go.PathSegment.Line,x[0].x*E,x[0].y*a).close()),Le(x),y.spot1=new go.Spot(.25,.25),y.spot2=new go.Spot(.75,.75),y}),go.Shape.defineFigureGenerator("NinePointedStar",function(le,E,a){var x=Ke(9),y=new go.Geometry,z=new go.PathFigure(x[0].x*E,x[0].y*a,!0);y.add(z);for(var te=1;te<18;te++)z.add(new go.PathSegment(go.PathSegment.Line,x[te].x*E,x[te].y*a));return z.add(new go.PathSegment(go.PathSegment.Line,x[0].x*E,x[0].y*a).close()),Le(x),y.spot1=new go.Spot(.222,.277),y.spot2=new go.Spot(.777,.666),y}),go.Shape.defineFigureGenerator("TenPointedStar",function(le,E,a){var x=Ke(10),y=new go.Geometry,z=new go.PathFigure(x[0].x*E,x[0].y*a,!0);y.add(z);for(var te=1;te<20;te++)z.add(new go.PathSegment(go.PathSegment.Line,x[te].x*E,x[te].y*a));return z.add(new go.PathSegment(go.PathSegment.Line,x[0].x*E,x[0].y*a).close()),Le(x),y.spot1=new go.Spot(.281,.261),y.spot2=new go.Spot(.723,.748),y}),go.Shape.defineFigureGenerator("FivePointedBurst",function(le,E,a){var x=He(5),y=new go.Geometry,z=new go.PathFigure(x[0].x*E,x[0].y*a,!0);y.add(z);for(var te=1;te<x.length;te+=3)z.add(new go.PathSegment(go.PathSegment.Bezier,x[te+2].x*E,x[te+2].y*a,x[te].x*E,x[te].y*a,x[te+1].x*E,x[te+1].y*a));return z.segments.last().close(),Le(x),y.spot1=new go.Spot(.222,.277),y.spot2=new go.Spot(.777,.777),y}),go.Shape.defineFigureGenerator("SixPointedBurst",function(le,E,a){var x=He(6),y=new go.Geometry,z=new go.PathFigure(x[0].x*E,x[0].y*a,!0);y.add(z);for(var te=1;te<x.length;te+=3)z.add(new go.PathSegment(go.PathSegment.Bezier,x[te+2].x*E,x[te+2].y*a,x[te].x*E,x[te].y*a,x[te+1].x*E,x[te+1].y*a));return z.segments.last().close(),Le(x),y.spot1=new go.Spot(.17,.222),y.spot2=new go.Spot(.833,.777),y}),go.Shape.defineFigureGenerator("SevenPointedBurst",function(le,E,a){var x=He(7),y=new go.Geometry,z=new go.PathFigure(x[0].x*E,x[0].y*a,!0);y.add(z);for(var te=1;te<x.length;te+=3)z.add(new go.PathSegment(go.PathSegment.Bezier,x[te+2].x*E,x[te+2].y*a,x[te].x*E,x[te].y*a,x[te+1].x*E,x[te+1].y*a));return z.segments.last().close(),Le(x),y.spot1=new go.Spot(.222,.222),y.spot2=new go.Spot(.777,.777),y}),go.Shape.defineFigureGenerator("EightPointedBurst",function(le,E,a){var x=He(8),y=new go.Geometry,z=new go.PathFigure(x[0].x*E,x[0].y*a,!0);y.add(z);for(var te=1;te<x.length;te+=3)z.add(new go.PathSegment(go.PathSegment.Bezier,x[te+2].x*E,x[te+2].y*a,x[te].x*E,x[te].y*a,x[te+1].x*E,x[te+1].y*a));return z.segments.last().close(),Le(x),y.spot1=new go.Spot(.222,.222),y.spot2=new go.Spot(.777,.777),y}),go.Shape.defineFigureGenerator("NinePointedBurst",function(le,E,a){var x=He(9),y=new go.Geometry,z=new go.PathFigure(x[0].x*E,x[0].y*a,!0);y.add(z);for(var te=1;te<x.length;te+=3)z.add(new go.PathSegment(go.PathSegment.Bezier,x[te+2].x*E,x[te+2].y*a,x[te].x*E,x[te].y*a,x[te+1].x*E,x[te+1].y*a));return z.segments.last().close(),Le(x),y.spot1=new go.Spot(.222,.222),y.spot2=new go.Spot(.777,.777),y}),go.Shape.defineFigureGenerator("TenPointedBurst",function(le,E,a){var x=He(10),y=new go.Geometry,z=new go.PathFigure(x[0].x*E,x[0].y*a,!0);y.add(z);for(var te=1;te<x.length;te+=3)z.add(new go.PathSegment(go.PathSegment.Bezier,x[te+2].x*E,x[te+2].y*a,x[te].x*E,x[te].y*a,x[te+1].x*E,x[te+1].y*a));return z.segments.last().close(),Le(x),y.spot1=new go.Spot(.222,.222),y.spot2=new go.Spot(.777,.777),y}),go.Shape.setFigureParameter("FramedRectangle",0,new yt("ThicknessX",8)),go.Shape.setFigureParameter("FramedRectangle",1,new yt("ThicknessY",8)),go.Shape.defineFigureGenerator("FramedRectangle",function(le,E,a){var x=le?le.parameter1:NaN,y=le?le.parameter2:NaN;isNaN(x)&&(x=8),isNaN(y)&&(y=8);var z=new go.Geometry,te=new go.PathFigure(0,0,!0);return z.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E,0)),te.add(new go.PathSegment(go.PathSegment.Line,E,a)),te.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x<E/2&&y<a/2&&(te.add(new go.PathSegment(go.PathSegment.Move,x,y)),te.add(new go.PathSegment(go.PathSegment.Line,x,a-y)),te.add(new go.PathSegment(go.PathSegment.Line,E-x,a-y)),te.add(new go.PathSegment(go.PathSegment.Line,E-x,y).close())),z.setSpots(0,0,1,1,x,y,-x,-y),z}),go.Shape.setFigureParameter("Ring",0,new yt("Thickness",8)),go.Shape.defineFigureGenerator("Ring",function(le,E,a){var x=le?le.parameter1:NaN;(isNaN(x)||x<0)&&(x=8);var y=E/2,z=new go.Geometry,te=new go.PathFigure(E,E/2,!0);z.add(te),te.add(new go.PathSegment(go.PathSegment.Arc,0,360,y,y,y,y).close());var ae=Math.max(y-x,0);return ae>0&&(te.add(new go.PathSegment(go.PathSegment.Move,E/2+ae,E/2)),te.add(new go.PathSegment(go.PathSegment.Arc,0,-360,y,y,ae,ae).close())),z.spot1=ke,z.spot2=ze,z.defaultStretch=go.GraphObject.Uniform,z}),go.Shape.defineFigureGenerator("Cloud",function(le,E,a){return new go.Geometry().add(new go.PathFigure(.08034461*E,.1944299*a,!0).add(new go.PathSegment(go.PathSegment.Bezier,.2008615*E,.05349299*a,-.09239631*E,.07836421*a,.1406031*E,-.0542823*a)).add(new go.PathSegment(go.PathSegment.Bezier,.4338609*E,.074219*a,.2450511*E,-.00697547*a,.3776197*E,-.01112067*a)).add(new go.PathSegment(go.PathSegment.Bezier,.6558228*E,.07004196*a,.4539471*E,0,.6066018*E,-.02526587*a)).add(new go.PathSegment(go.PathSegment.Bezier,.8921095*E,.08370865*a,.6914277*E,-.01904177*a,.8921095*E,-.01220843*a)).add(new go.PathSegment(go.PathSegment.Bezier,.9147671*E,.3194596*a,1.036446*E,.04105738*a,1.020377*E,.3022052*a)).add(new go.PathSegment(go.PathSegment.Bezier,.9082935*E,.562044*a,1.04448*E,.360238*a,.992256*E,.5219009*a)).add(new go.PathSegment(go.PathSegment.Bezier,.9212406*E,.8217117*a,1.032337*E,.5771781*a,1.018411*E,.8120651*a)).add(new go.PathSegment(go.PathSegment.Bezier,.7592566*E,.9156953*a,1.028411*E,.9571472*a,.8556702*E,1.052487*a)).add(new go.PathSegment(go.PathSegment.Bezier,.5101666*E,.9310455*a,.7431877*E,1.009325*a,.5624123*E,1.021761*a)).add(new go.PathSegment(go.PathSegment.Bezier,.2609328*E,.9344623*a,.4820677*E,1.031761*a,.3030112*E,1.002796*a)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*E,.870098*a,.2329994*E,1.01518*a,.03213784*E,1.01518*a)).add(new go.PathSegment(go.PathSegment.Bezier,.06829292*E,.6545475*a,-.02812061*E,.9032597*a,-.01205169*E,.6835638*a)).add(new go.PathSegment(go.PathSegment.Bezier,.06427569*E,.4265613*a,-.01812061*E,.6089503*a,-.00606892*E,.4555777*a)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*E,.1944299*a,-.01606892*E,.3892545*a,-.01205169*E,.1944299*a))).setSpots(.1,.1,.9,.9)}),go.Shape.defineFigureGenerator("StopSign",function(le,E,a){var x=1/(Math.SQRT2+2);return new go.Geometry().add(new go.PathFigure(x*E,0,!0).add(new go.PathSegment(go.PathSegment.Line,(1-x)*E,0)).add(new go.PathSegment(go.PathSegment.Line,E,x*a)).add(new go.PathSegment(go.PathSegment.Line,E,(1-x)*a)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*E,a)).add(new go.PathSegment(go.PathSegment.Line,x*E,a)).add(new go.PathSegment(go.PathSegment.Line,0,(1-x)*a)).add(new go.PathSegment(go.PathSegment.Line,0,x*a).close())).setSpots(x/2,x/2,1-x/2,1-x/2)}),go.Shape.setFigureParameter("Pie",0,new yt("Start",0,-360,360)),go.Shape.setFigureParameter("Pie",1,new yt("Sweep",315,-360,360)),go.Shape.defineFigureGenerator("Pie",function(le,E,a){var x=le?le.parameter1:NaN,y=le?le.parameter2:NaN;isNaN(x)&&(x=0),isNaN(y)&&(y=315);var z=x%360;z<0&&(z+=360);var te=y%360,ae=Math.min(E,a)/2;return new go.Geometry().add(new go.PathFigure(ae,ae).add(new go.PathSegment(go.PathSegment.Arc,z,te,ae,ae,ae,ae).close()))}),go.Shape.defineFigureGenerator("PiePiece",function(le,E,a){var x=xe/Math.SQRT2*.5,y=Math.SQRT2/2,z=1-Math.SQRT2/2;return new go.Geometry().add(new go.PathFigure(E,a,!0).add(new go.PathSegment(go.PathSegment.Bezier,y*E,z*a,E,(1-x)*a,(y+x)*E,(z+x)*a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close()))}),go.Shape.setFigureParameter("ThickCross",0,new yt("Thickness",30)),go.Shape.defineFigureGenerator("ThickCross",function(le,E,a){var x=le?le.parameter1:NaN;(isNaN(x)||x<0)&&(x=30);var y=Math.min(x,E)/2,z=E/2,te=a/2;return new go.Geometry().add(new go.PathFigure(z-y,0,!0).add(new go.PathSegment(go.PathSegment.Line,z+y,0)).add(new go.PathSegment(go.PathSegment.Line,z+y,te-y)).add(new go.PathSegment(go.PathSegment.Line,E,te-y)).add(new go.PathSegment(go.PathSegment.Line,E,te+y)).add(new go.PathSegment(go.PathSegment.Line,z+y,te+y)).add(new go.PathSegment(go.PathSegment.Line,z+y,a)).add(new go.PathSegment(go.PathSegment.Line,z-y,a)).add(new go.PathSegment(go.PathSegment.Line,z-y,te+y)).add(new go.PathSegment(go.PathSegment.Line,0,te+y)).add(new go.PathSegment(go.PathSegment.Line,0,te-y)).add(new go.PathSegment(go.PathSegment.Line,z-y,te-y).close()))}),go.Shape.setFigureParameter("ThinCross",0,new yt("Thickness",10)),go.Shape.defineFigureGenerator("ThinCross",function(le,E,a){var x=le?le.parameter1:NaN;(isNaN(x)||x<0)&&(x=10);var y=Math.min(x,E)/2,z=E/2,te=a/2;return new go.Geometry().add(new go.PathFigure(z-y,0,!0).add(new go.PathSegment(go.PathSegment.Line,z+y,0)).add(new go.PathSegment(go.PathSegment.Line,z+y,te-y)).add(new go.PathSegment(go.PathSegment.Line,E,te-y)).add(new go.PathSegment(go.PathSegment.Line,E,te+y)).add(new go.PathSegment(go.PathSegment.Line,z+y,te+y)).add(new go.PathSegment(go.PathSegment.Line,z+y,a)).add(new go.PathSegment(go.PathSegment.Line,z-y,a)).add(new go.PathSegment(go.PathSegment.Line,z-y,te+y)).add(new go.PathSegment(go.PathSegment.Line,0,te+y)).add(new go.PathSegment(go.PathSegment.Line,0,te-y)).add(new go.PathSegment(go.PathSegment.Line,z-y,te-y).close()))}),go.Shape.setFigureParameter("ThickX",0,new yt("Thickness",30)),go.Shape.defineFigureGenerator("ThickX",function(le,E,a){var x=le?le.parameter1:NaN;if((isNaN(x)||x<0)&&(x=30),E===0||a===0){var y=new go.Geometry(go.Geometry.Rectangle);return y.startX=0,y.startY=0,y.endX=E,y.endY=a,y}else{var z=E/2,te=a/2,ae=Math.atan2(a,E),se=x-Math.min(Math.cos(ae)*x/2,z),ie=x-Math.min(Math.sin(ae)*x/2,te),y=new go.Geometry,Se=new go.PathFigure(se,0,!0);return y.add(Se),Se.add(new go.PathSegment(go.PathSegment.Line,z,.2*a)),Se.add(new go.PathSegment(go.PathSegment.Line,E-se,0)),Se.add(new go.PathSegment(go.PathSegment.Line,E,ie)),Se.add(new go.PathSegment(go.PathSegment.Line,.8*E,te)),Se.add(new go.PathSegment(go.PathSegment.Line,E,a-ie)),Se.add(new go.PathSegment(go.PathSegment.Line,E-se,a)),Se.add(new go.PathSegment(go.PathSegment.Line,z,.8*a)),Se.add(new go.PathSegment(go.PathSegment.Line,se,a)),Se.add(new go.PathSegment(go.PathSegment.Line,0,a-ie)),Se.add(new go.PathSegment(go.PathSegment.Line,.2*E,te)),Se.add(new go.PathSegment(go.PathSegment.Line,0,ie).close()),y}}),go.Shape.setFigureParameter("ThinX",0,new yt("Thickness",10)),go.Shape.defineFigureGenerator("ThinX",function(le,E,a){var x=le?le.parameter1:NaN;(isNaN(x)||x<0)&&(x=10);var y=new go.Geometry,z=new go.PathFigure(.1*E,0,!0);return y.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,.9*E,0)),z.add(new go.PathSegment(go.PathSegment.Line,E,.1*a)),z.add(new go.PathSegment(go.PathSegment.Line,.6*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,.9*a)),z.add(new go.PathSegment(go.PathSegment.Line,.9*E,a)),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,.6*a)),z.add(new go.PathSegment(go.PathSegment.Line,.1*E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.9*a)),z.add(new go.PathSegment(go.PathSegment.Line,.4*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.1*a).close()),y}),go.Shape.setFigureParameter("SquareIBeam",0,new yt("BeamWidth",.2,.1,.9)),go.Shape.defineFigureGenerator("SquareIBeam",function(le,E,a){var x=le?le.parameter1:NaN;isNaN(x)&&(x=.2);var y=new go.Geometry,z=new go.PathFigure(0,0,!0);return y.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Line,E,x*a)),z.add(new go.PathSegment(go.PathSegment.Line,(.5+x/2)*E,x*a)),z.add(new go.PathSegment(go.PathSegment.Line,(.5+x/2)*E,(1-x)*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,(1-x)*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,(1-x)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(.5-x/2)*E,(1-x)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(.5-x/2)*E,x*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,x*a).close()),y}),go.Shape.setFigureParameter("RoundedIBeam",0,new yt("Curviness",.5,.05,.65)),go.Shape.defineFigureGenerator("RoundedIBeam",function(le,E,a){var x=le?le.parameter1:NaN;isNaN(x)&&(x=.5);var y=new go.Geometry,z=new go.PathFigure(0,0,!0);return y.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,E,a,Math.abs(1-x)*E,.25*a,Math.abs(1-x)*E,.75*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,0,x*E,.75*a,x*E,.25*a).close()),y}),go.Shape.defineFigureGenerator("HalfEllipse",function(le,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,xe*E,0,E,(.5-xe/2)*a)).add(new go.PathSegment(go.PathSegment.Bezier,0,a,E,(.5+xe/2)*a,xe*E,a).close())).setSpots(0,.156,.844,.844)}),go.Shape.defineFigureGenerator("Crescent",function(le,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,a,E,0,E,a)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.5*E,.75*a,.5*E,.25*a).close())).setSpots(.311,.266,.744,.744)}),go.Shape.defineFigureGenerator("Heart",function(le,E,a){return new go.Geometry().add(new go.PathFigure(.5*E,a,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,.3*a,.1*E,.8*a,0,.5*a)).add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.3*a,0,0,.45*E,0)).add(new go.PathSegment(go.PathSegment.Bezier,E,.3*a,.55*E,0,E,0)).add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,E,.5*a,.9*E,.8*a).close())).setSpots(.14,.29,.86,.78)}),go.Shape.defineFigureGenerator("Spade",function(le,E,a){return new go.Geometry().add(new go.PathFigure(.5*E,0,!0).add(new go.PathSegment(go.PathSegment.Line,.51*E,.01*a)).add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,.6*E,.2*a,E,.25*a)).add(new go.PathSegment(go.PathSegment.Bezier,.55*E,.7*a,E,.8*a,.6*E,.8*a)).add(new go.PathSegment(go.PathSegment.Bezier,.75*E,a,.5*E,.75*a,.55*E,.95*a)).add(new go.PathSegment(go.PathSegment.Line,.25*E,a)).add(new go.PathSegment(go.PathSegment.Bezier,.45*E,.7*a,.45*E,.95*a,.5*E,.75*a)).add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,.4*E,.8*a,0,.8*a)).add(new go.PathSegment(go.PathSegment.Bezier,.49*E,.01*a,0,.25*a,.4*E,.2*a).close())).setSpots(.14,.26,.86,.78)}),go.Shape.defineFigureGenerator("Club",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(.4*E,.6*a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,.15*E,a,.5*E,.75*a,.45*E,.95*a)),y.add(new go.PathSegment(go.PathSegment.Line,.85*E,a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.6*E,.6*a,.55*E,.95*a,.5*E,.75*a));var z=.2,te=.3,ae=0,se=z*xe;return y.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*E,(.5+z+ae)*a,(.5-z+te)*E,(.5+se+ae)*a,(.5-se+te)*E,(.5+z+ae)*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+z+te)*E,(.5+ae)*a,(.5+se+te)*E,(.5+z+ae)*a,(.5+z+te)*E,(.5+se+ae)*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*E,(.5-z+ae)*a,(1-.5+z+te)*E,(.5-se+ae)*a,(.5+se+te)*E,(.5-z+ae)*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.65*E,.36771243*a,(.5-se+te)*E,(.5-z+ae)*a,(.5-z+te+.05)*E,(.5-se+ae-.02)*a)),z=.2,te=0,ae=-.3,se=z*xe,y.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+z+te)*E,(.5+ae)*a,(.5+se+te)*E,(.5+z+ae)*a,(.5+z+te)*E,(.5+se+ae)*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*E,(.5-z+ae)*a,(1-.5+z+te)*E,(.5-se+ae)*a,(.5+se+te)*E,(.5-z+ae)*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5-z+te)*E,(.5+ae)*a,(.5-se+te)*E,(.5-z+ae)*a,(.5-z+te)*E,(.5-se+ae)*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5-se+te)*E,(.5+z+ae)*a,(.5-z+te)*E,(.5+se+ae)*a,(.5-se+te)*E,(.5+z+ae)*a)),z=.2,te=-.3,ae=0,se=z*xe,y.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*E,(.5-z+ae)*a,(1-.5+z+te-.05)*E,(.5-se+ae-.02)*a,(.5+se+te)*E,(.5-z+ae)*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5-z+te)*E,(.5+ae)*a,(.5-se+te)*E,(.5-z+ae)*a,(.5-z+te)*E,(.5-se+ae)*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*E,(.5+z+ae)*a,(.5-z+te)*E,(.5+se+ae)*a,(.5-se+te)*E,(.5+z+ae)*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.4*E,.6*a,(.5+se+te)*E,(.5+z+ae)*a,(.5+z+te)*E,(.5+se+ae)*a).close()),x.setSpots(.06,.33,.93,.68),x}),go.Shape.defineFigureGenerator("YinYang",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(E*.5,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,270,180,E*.5,E*.5,E*.5,E*.5)),y.add(new go.PathSegment(go.PathSegment.Arc,90,-180,E*.5,E*.75,E*.25,E*.25)),y.add(new go.PathSegment(go.PathSegment.Arc,90,180,E*.5,E*.25,E*.25,E*.25));var z=.1,te=.5,ae=.25;return y.add(new go.PathSegment(go.PathSegment.Move,(te+z)*E,ae*a)),y.add(new go.PathSegment(go.PathSegment.Arc,0,-360,E*te,a*ae,z*E,z*E).close()),y=new go.PathFigure(E*.5,0,!1),x.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,270,-180,E*.5,E*.5,E*.5,E*.5)),ae=.75,y=new go.PathFigure((te+z)*E,ae*a,!0),x.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,0,360,E*te,a*ae,z*E,z*E).close()),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("Peace",function(le,E,a){var x=.8535533905932737,y=.5*E,z=.5*a;return new go.Geometry().add(new go.PathFigure(y,0,!1).add(new go.PathSegment(go.PathSegment.Arc,270,360,y,z,y,z)).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Move,y,z)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*E,x*a)).add(new go.PathSegment(go.PathSegment.Move,y,z)).add(new go.PathSegment(go.PathSegment.Line,x*E,x*a)))}),go.Shape.defineFigureGenerator("NotAllowed",function(le,E,a){var x=new go.Geometry,y=xe*.5,z=.5,te=.5,ae=.5,se=new go.PathFigure(te*E,(ae-z)*a);x.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*E,ae*a,(te-y)*E,(ae-z)*a,(te-z)*E,(ae-y)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(ae+z)*a,(te-z)*E,(ae+y)*a,(te-y)*E,(ae+z)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*E,ae*a,(te+y)*E,(ae+z)*a,(te+z)*E,(ae+y)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(ae-z)*a,(te+z)*E,(ae-y)*a,(te+y)*E,(ae-z)*a)),z=.4,y=xe*.4;var ie=b(),Se=b(),Fe=b(),We=b();Ae(te,ae-z,te+y,ae-z,te+z,ae-y,te+z,ae,.42,ie,Se,Fe,We,We);var Ne=b(),mt=b(),Re=b();Ae(te,ae-z,te+y,ae-z,te+z,ae-y,te+z,ae,.58,We,We,Re,Ne,mt);var Je=b(),Qe=b(),et=b();Ae(te,ae+z,te-y,ae+z,te-z,ae+y,te-z,ae,.42,Je,Qe,et,We,We);var we=b(),ht=b(),ct=b();return Ae(te,ae+z,te-y,ae+z,te-z,ae+y,te-z,ae,.58,We,We,ct,we,ht),se.add(new go.PathSegment(go.PathSegment.Move,ct.x*E,ct.y*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*E,ae*a,we.x*E,we.y*a,ht.x*E,ht.y*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(ae-z)*a,(te-z)*E,(ae-y)*a,(te-y)*E,(ae-z)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,Fe.x*E,Fe.y*a,ie.x*E,ie.y*a,Se.x*E,Se.y*a)),se.add(new go.PathSegment(go.PathSegment.Line,ct.x*E,ct.y*a).close()),se.add(new go.PathSegment(go.PathSegment.Move,et.x*E,et.y*a)),se.add(new go.PathSegment(go.PathSegment.Line,Re.x*E,Re.y*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*E,ae*a,Ne.x*E,Ne.y*a,mt.x*E,mt.y*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(ae+z)*a,(te+z)*E,(ae+y)*a,(te+y)*E,(ae+z)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,et.x*E,et.y*a,Je.x*E,Je.y*a,Qe.x*E,Qe.y*a).close()),he(ie),he(Se),he(Fe),he(We),he(Ne),he(mt),he(Re),he(Je),he(Qe),he(et),he(we),he(ht),he(ct),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("Fragile",function(le,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.25*E,0)).add(new go.PathSegment(go.PathSegment.Line,.2*E,.15*a)).add(new go.PathSegment(go.PathSegment.Line,.3*E,.25*a)).add(new go.PathSegment(go.PathSegment.Line,.29*E,.33*a)).add(new go.PathSegment(go.PathSegment.Line,.35*E,.25*a)).add(new go.PathSegment(go.PathSegment.Line,.3*E,.15*a)).add(new go.PathSegment(go.PathSegment.Line,.4*E,0)).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Bezier,.55*E,.5*a,E,.25*a,.75*E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.55*E,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.7*E,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.7*E,a)).add(new go.PathSegment(go.PathSegment.Line,.3*E,a)).add(new go.PathSegment(go.PathSegment.Line,.3*E,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.45*E,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.45*E,.5*a)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*E,.5*a,0,.25*a).close()))}),go.Shape.setFigureParameter("HourGlass",0,new yt("Thickness",30)),go.Shape.defineFigureGenerator("HourGlass",function(le,E,a){var x=le?le.parameter1:NaN;(isNaN(x)||x<0)&&(x=30),x>E&&(x=E);var y=(E-x)/2,z=y+x;return new go.Geometry().add(new go.PathFigure(z,.5*a).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,0,a)).add(new go.PathSegment(go.PathSegment.Line,y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,0,0)).add(new go.PathSegment(go.PathSegment.Line,E,0).close()))}),go.Shape.defineFigureGenerator("Lightning",function(le,E,a){return new go.Geometry().add(new go.PathFigure(0,.55*a).add(new go.PathSegment(go.PathSegment.Line,.6*E,0)).add(new go.PathSegment(go.PathSegment.Line,.3*E,.45*a)).add(new go.PathSegment(go.PathSegment.Line,E,.45*a)).add(new go.PathSegment(go.PathSegment.Line,.4*E,a)).add(new go.PathSegment(go.PathSegment.Line,.7*E,.55*a).close()))}),go.Shape.defineFigureGenerator("GenderMale",function(le,E,a){var x=new go.Geometry,y=xe*.4,z=.4,te=.5,ae=.5,se=b(),ie=b(),Se=b(),Fe=b(),We=new go.PathFigure((te-z)*E,ae*a,!1);x.add(We),We.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(ae-z)*a,(te-z)*E,(ae-y)*a,(te-y)*E,(ae-z)*a)),Ae(te,ae-z,te+y,ae-z,te+z,ae-y,te+z,ae,.44,Se,Fe,ie,se,se),We.add(new go.PathSegment(go.PathSegment.Bezier,ie.x*E,ie.y*a,Se.x*E,Se.y*a,Fe.x*E,Fe.y*a));var Ne=oe(ie.x,ie.y);Ae(te,ae-z,te+y,ae-z,te+z,ae-y,te+z,ae,.56,se,se,ie,Se,Fe);var mt=oe(ie.x,ie.y);We.add(new go.PathSegment(go.PathSegment.Line,(Ne.x*.1+.95*.9)*E,Ne.y*.1*a)),We.add(new go.PathSegment(go.PathSegment.Line,.85*E,Ne.y*.1*a)),We.add(new go.PathSegment(go.PathSegment.Line,.85*E,0)),We.add(new go.PathSegment(go.PathSegment.Line,E,0)),We.add(new go.PathSegment(go.PathSegment.Line,E,.15*a)),We.add(new go.PathSegment(go.PathSegment.Line,(mt.x*.1+.9)*E,.15*a)),We.add(new go.PathSegment(go.PathSegment.Line,(mt.x*.1+.9)*E,(mt.y*.1+.05*.9)*a)),We.add(new go.PathSegment(go.PathSegment.Line,mt.x*E,mt.y*a)),We.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*E,ae*a,Se.x*E,Se.y*a,Fe.x*E,Fe.y*a)),We.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(ae+z)*a,(te+z)*E,(ae+y)*a,(te+y)*E,(ae+z)*a)),We.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*E,ae*a,(te-y)*E,(ae+z)*a,(te-z)*E,(ae+y)*a)),z=.35,y=xe*.35;var Re=new go.PathFigure(te*E,(ae-z)*a,!1);x.add(Re),Re.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*E,ae*a,(te-y)*E,(ae-z)*a,(te-z)*E,(ae-y)*a)),Re.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(ae+z)*a,(te-z)*E,(ae+y)*a,(te-y)*E,(ae+z)*a)),Re.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*E,ae*a,(te+y)*E,(ae+z)*a,(te+z)*E,(ae+y)*a)),Re.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(ae-z)*a,(te+z)*E,(ae-y)*a,(te+y)*E,(ae-z)*a));var Je=new go.PathFigure((te-z)*E,ae*a,!1);return x.add(Je),he(se),he(ie),he(Se),he(Fe),he(Ne),he(mt),x.spot1=new go.Spot(.202,.257),x.spot2=new go.Spot(.792,.739),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("GenderFemale",function(le,E,a){var x=new go.Geometry,y=.375,z=0,te=-.125,ae=y*xe,se=new go.PathFigure((.525+z)*E,(.5+y+te)*a,!1);x.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+y+z)*E,(.5+te)*a,(.5+ae+z)*E,(.5+y+te)*a,(.5+y+z)*E,(.5+ae+te)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*E,(.5-y+te)*a,(1-.5+y+z)*E,(.5-ae+te)*a,(.5+ae+z)*E,(.5-y+te)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,(.5-y+z)*E,(.5+te)*a,(.5-ae+z)*E,(.5-y+te)*a,(.5-y+z)*E,(.5-ae+te)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,(.475+z)*E,(.5+y+te)*a,(.5-y+z)*E,(.5+ae+te)*a,(.5-ae+z)*E,(.5+y+te)*a)),se.add(new go.PathSegment(go.PathSegment.Line,.475*E,.85*a)),se.add(new go.PathSegment(go.PathSegment.Line,.425*E,.85*a)),se.add(new go.PathSegment(go.PathSegment.Line,.425*E,.9*a)),se.add(new go.PathSegment(go.PathSegment.Line,.475*E,.9*a)),se.add(new go.PathSegment(go.PathSegment.Line,.475*E,a)),se.add(new go.PathSegment(go.PathSegment.Line,.525*E,a)),se.add(new go.PathSegment(go.PathSegment.Line,.525*E,.9*a)),se.add(new go.PathSegment(go.PathSegment.Line,.575*E,.9*a)),se.add(new go.PathSegment(go.PathSegment.Line,.575*E,.85*a)),se.add(new go.PathSegment(go.PathSegment.Line,.525*E,.85*a).close()),y=.325,z=0,te=-.125,ae=y*xe;var se=new go.PathFigure((1-.5+y+z)*E,(.5+te)*a,!1);x.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*E,(.5+y+te)*a,(.5+y+z)*E,(.5+ae+te)*a,(.5+ae+z)*E,(.5+y+te)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,(.5-y+z)*E,(.5+te)*a,(.5-ae+z)*E,(.5+y+te)*a,(.5-y+z)*E,(.5+ae+te)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*E,(.5-y+te)*a,(.5-y+z)*E,(.5-ae+te)*a,(.5-ae+z)*E,(.5-y+te)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+y+z)*E,(.5+te)*a,(.5+ae+z)*E,(.5-y+te)*a,(1-.5+y+z)*E,(.5-ae+te)*a));var se=new go.PathFigure((.525+z)*E,(.5+y+te)*a,!1);return x.add(se),x.spot1=new go.Spot(.232,.136),x.spot2=new go.Spot(.682,.611),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("LogicImplies",function(le,E,a){var x=le?le.parameter1:NaN;return isNaN(x)&&(x=.2),new go.Geometry().add(new go.PathFigure((1-x)*E,0,!1).add(new go.PathSegment(go.PathSegment.Line,E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*E,a)).add(new go.PathSegment(go.PathSegment.Move,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,E,.5*a))).setSpots(0,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicIff",function(le,E,a){var x=le?le.parameter1:NaN;return isNaN(x)&&(x=.2),new go.Geometry().add(new go.PathFigure((1-x)*E,0,!1).add(new go.PathSegment(go.PathSegment.Line,E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*E,a)).add(new go.PathSegment(go.PathSegment.Move,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,E,.5*a)).add(new go.PathSegment(go.PathSegment.Move,x*E,0)).add(new go.PathSegment(go.PathSegment.Line,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,x*E,a))).setSpots(.2,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicNot",function(le,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E,a)))}),go.Shape.defineFigureGenerator("LogicAnd",function(le,E,a){return new go.Geometry().add(new go.PathFigure(0,a,!1).add(new go.PathSegment(go.PathSegment.Line,.5*E,0)).add(new go.PathSegment(go.PathSegment.Line,E,a))).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("LogicOr",function(le,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*E,a)).add(new go.PathSegment(go.PathSegment.Line,E,0))).setSpots(.219,0,.78,.409)}),go.Shape.defineFigureGenerator("LogicXor",function(le,E,a){var x=new go.Geometry().add(new go.PathFigure(.5*E,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*E,a)).add(new go.PathSegment(go.PathSegment.Move,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,E,.5*a)).add(new go.PathSegment(go.PathSegment.Arc,0,360,.5*E,.5*a,.5*E,.5*a)));return x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("LogicTruth",function(le,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Move,.5*E,0)).add(new go.PathSegment(go.PathSegment.Line,.5*E,a)))}),go.Shape.defineFigureGenerator("LogicFalsity",function(le,E,a){return new go.Geometry().add(new go.PathFigure(0,a,!1).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Move,.5*E,a)).add(new go.PathSegment(go.PathSegment.Line,.5*E,0)))}),go.Shape.defineFigureGenerator("LogicThereExists",function(le,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,0,.5*a)).add(new go.PathSegment(go.PathSegment.Move,E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,0,a)))}),go.Shape.defineFigureGenerator("LogicForAll",function(le,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*E,a)).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Move,.25*E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.75*E,.5*a))).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("LogicIsDefinedAs",function(le,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Move,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,E,.5*a)).add(new go.PathSegment(go.PathSegment.Move,0,a)).add(new go.PathSegment(go.PathSegment.Line,E,a))).setSpots(.01,.01,.99,.49)}),go.Shape.defineFigureGenerator("LogicIntersect",function(le,E,a){var x=.5;return new go.Geometry().add(new go.PathFigure(0,a,!1).add(new go.PathSegment(go.PathSegment.Line,0,x*a)).add(new go.PathSegment(go.PathSegment.Arc,180,180,x*E,x*a,x*E,x*a)).add(new go.PathSegment(go.PathSegment.Line,E,a))).setSpots(0,.5,1,1)}),go.Shape.defineFigureGenerator("LogicUnion",function(le,E,a){var x=.5;return new go.Geometry().add(new go.PathFigure(E,0,!1).add(new go.PathSegment(go.PathSegment.Line,E,x*a)).add(new go.PathSegment(go.PathSegment.Arc,0,180,x*E,x*a,x*E,x*a)).add(new go.PathSegment(go.PathSegment.Line,0,0))).setSpots(0,0,1,.5)}),go.Shape.setFigureParameter("Arrow",0,new yt("ArrowheadWidth",.3,.01,.99)),go.Shape.setFigureParameter("Arrow",1,new yt("TailHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("Arrow",function(le,E,a){var x=le?le.parameter1:NaN;isNaN(x)&&(x=.3);var y=le?le.parameter2:NaN;isNaN(y)&&(y=.3);var z=(1-x)*E,te=(.5-y/2)*a,ae=(.5+y/2)*a,se=new go.Geometry,ie=new go.PathFigure(0,te,!0);se.add(ie),ie.add(new go.PathSegment(go.PathSegment.Line,z,te)),ie.add(new go.PathSegment(go.PathSegment.Line,z,0)),ie.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),ie.add(new go.PathSegment(go.PathSegment.Line,z,a)),ie.add(new go.PathSegment(go.PathSegment.Line,z,ae)),ie.add(new go.PathSegment(go.PathSegment.Line,0,ae).close()),se.spot1=new go.Spot(0,te/a);var Se=De(0,ae/a,1,ae/a,z/E,1,1,.5,b());return se.spot2=new go.Spot(Se.x,Se.y),he(Se),se}),go.Shape.setFigureParameter("Arrow2",0,new yt("ArrowheadWidth",30)),go.Shape.setFigureParameter("Arrow2",0,new yt("TailHeight",30)),go.Shape.defineFigureGenerator("Arrow2",function(le,E,a){var x=le?le.parameter1:NaN;isNaN(x)&&(x=30),x>E&&(x=E);var y=le?le.parameter2:NaN;isNaN(y)&&(y=30),y=Math.min(y,a/2);var z=E-x,te=(a-y)/2,ae=te+y,se=new go.Geometry,ie=new go.PathFigure(0,te,!0);se.add(ie),ie.add(new go.PathSegment(go.PathSegment.Line,z,te)),ie.add(new go.PathSegment(go.PathSegment.Line,z,0)),ie.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),ie.add(new go.PathSegment(go.PathSegment.Line,z,a)),ie.add(new go.PathSegment(go.PathSegment.Line,z,ae)),ie.add(new go.PathSegment(go.PathSegment.Line,0,ae).close()),se.spot1=new go.Spot(0,te/a);var Se=De(0,ae/a,1,ae/a,z/E,1,1,.5,b());return se.spot2=new go.Spot(Se.x,Se.y),he(Se),se}),go.Shape.defineFigureGenerator("Chevron",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a).close()),x}),go.Shape.defineFigureGenerator("DoubleArrow",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.3*E,.214*a)),y.add(new go.PathSegment(go.PathSegment.Line,.3*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,1*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.3*E,1*a)),y.add(new go.PathSegment(go.PathSegment.Line,.3*E,.786*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,1*a).close()),x}),go.Shape.setFigureParameter("DoubleEndArrow",0,new yt("ConnecterHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("DoubleEndArrow",function(le,E,a){var x=le?le.parameter1:NaN;isNaN(x)&&(x=.3);var y=(.5-x/2)*a,z=(.5+x/2)*a,te=new go.Geometry,ae=new go.PathFigure(E,.5*a,!0);te.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,.7*E,a)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*E,z)),ae.add(new go.PathSegment(go.PathSegment.Line,.3*E,z)),ae.add(new go.PathSegment(go.PathSegment.Line,.3*E,a)),ae.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.3*E,0)),ae.add(new go.PathSegment(go.PathSegment.Line,.3*E,y)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*E,y)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*E,0).close());var se=De(0,.5,.3,0,0,y/a,.1,y/a,b());return te.spot1=new go.Spot(se.x,se.y),se=De(.7,1,1,.5,0,z/a,1,z/a,se),te.spot2=new go.Spot(se.x,se.y),he(se),te}),go.Shape.setFigureParameter("DoubleEndArrow2",0,new yt("ConnecterHeight",40)),go.Shape.setFigureParameter("DoubleEndArrow2",1,new yt("ArrowHeight",100)),go.Shape.defineFigureGenerator("DoubleEndArrow2",function(le,E,a){var x=le?le.parameter1:NaN;isNaN(x)&&(x=40);var y=le?le.parameter2:NaN;isNaN(y)&&(y=100);var z=(a-x)/2,te=z+x,ae=(a-y)/2,se=ae+y;(x>a||y>a)&&(y>x?(x=x*a/y,z=(a-x)/2,te=z+x,ae=0,se=a):(z=0,te=a,ae=0,se=a));var ie=new go.Geometry,Se=new go.PathFigure(E,.5*a,!0);ie.add(Se),Se.add(new go.PathSegment(go.PathSegment.Line,.7*E,se)),Se.add(new go.PathSegment(go.PathSegment.Line,.7*E,te)),Se.add(new go.PathSegment(go.PathSegment.Line,.3*E,te)),Se.add(new go.PathSegment(go.PathSegment.Line,.3*E,se)),Se.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),Se.add(new go.PathSegment(go.PathSegment.Line,.3*E,ae)),Se.add(new go.PathSegment(go.PathSegment.Line,.3*E,z)),Se.add(new go.PathSegment(go.PathSegment.Line,.7*E,z)),Se.add(new go.PathSegment(go.PathSegment.Line,.7*E,ae).close());var Fe=De(0,.5,.3,ae/a,0,z/a,1,z/a,b());return ie.spot1=new go.Spot(Fe.x,Fe.y),Fe=De(.7,se/a,1,.5,0,te/a,1,te/a,Fe),ie.spot2=new go.Spot(Fe.x,Fe.y),he(Fe),ie}),go.Shape.setFigureParameter("IBeamArrow",0,new yt("ConnectorHeight",.7,.51,.97)),go.Shape.defineFigureGenerator("IBeamArrow",function(le,E,a){var x=le?le.parameter1:NaN;isNaN(x)&&(x=.3);var y=(.5-x/2)*a,z=(.5+x/2)*a,te=new go.Geometry,ae=new go.PathFigure(E,.5*a,!0);te.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,.7*E,a)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*E,z)),ae.add(new go.PathSegment(go.PathSegment.Line,.2*E,z)),ae.add(new go.PathSegment(go.PathSegment.Line,.2*E,a)),ae.add(new go.PathSegment(go.PathSegment.Line,0,a)),ae.add(new go.PathSegment(go.PathSegment.Line,0,0)),ae.add(new go.PathSegment(go.PathSegment.Line,.2*E,0)),ae.add(new go.PathSegment(go.PathSegment.Line,.2*E,y)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*E,y)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*E,0).close()),te.spot1=new go.Spot(0,y/a);var se=De(.7,1,1,.5,0,z/a,1,z/a,b());return te.spot2=new go.Spot(se.x,se.y),he(se),te}),go.Shape.setFigureParameter("IBeamArrow2",0,new yt("ConnectorHeight",40)),go.Shape.setFigureParameter("IBeamArrow2",1,new yt("BeamArrowHeight",100)),go.Shape.defineFigureGenerator("IBeamArrow2",function(le,E,a){var x=le?le.parameter1:NaN;isNaN(x)&&(x=40);var y=le?le.parameter2:NaN;isNaN(y)&&(y=100);var z=(a-x)/2,te=z+x,ae=(a-y)/2,se=ae+y;(x>a||y>a)&&(y>x?(x=x*a/y,z=(a-x)/2,te=z+x,ae=0,se=a):(z=0,te=a,ae=0,se=a));var ie=new go.Geometry,Se=new go.PathFigure(E,.5*a,!0);ie.add(Se),Se.add(new go.PathSegment(go.PathSegment.Line,.7*E,se)),Se.add(new go.PathSegment(go.PathSegment.Line,.7*E,te)),Se.add(new go.PathSegment(go.PathSegment.Line,.2*E,te)),Se.add(new go.PathSegment(go.PathSegment.Line,.2*E,se)),Se.add(new go.PathSegment(go.PathSegment.Line,0,se)),Se.add(new go.PathSegment(go.PathSegment.Line,0,ae)),Se.add(new go.PathSegment(go.PathSegment.Line,.2*E,ae)),Se.add(new go.PathSegment(go.PathSegment.Line,.2*E,z)),Se.add(new go.PathSegment(go.PathSegment.Line,.7*E,z)),Se.add(new go.PathSegment(go.PathSegment.Line,.7*E,ae).close()),ie.spot1=new go.Spot(0,z/a);var Fe=De(.7,se/a,1,.5,0,te/a,1,te/a,b());return ie.spot2=new go.Spot(Fe.x,Fe.y),he(Fe),ie}),go.Shape.setFigureParameter("Pointer",0,new yt("BackPoint",.1,0,.2)),go.Shape.defineFigureGenerator("Pointer",function(le,E,a){var x=le?le.parameter1:NaN;isNaN(x)&&(x=.1);var y=new go.Geometry,z=new go.PathFigure(E,.5*a,!0);y.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,a)),z.add(new go.PathSegment(go.PathSegment.Line,x*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,0).close()),y.spot1=new go.Spot(x,.35);var te=De(.2,.65,1,.65,0,1,1,.5,b());return y.spot2=new go.Spot(te.x,te.y),he(te),y}),go.Shape.setFigureParameter("RoundedPointer",0,new yt("RoundedEdge",.3,0,.5)),go.Shape.defineFigureGenerator("RoundedPointer",function(le,E,a){var x=le?le.parameter1:NaN;isNaN(x)&&(x=.3);var y=new go.Geometry,z=new go.PathFigure(E,.5*a,!0);y.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,0,x*E,.75*a,x*E,.25*a).close()),y.spot1=new go.Spot(x,.35);var te=De(0,.65,1,.65,0,1,1,.5,b());return y.spot2=new go.Spot(te.x,te.y),he(te),y}),go.Shape.setFigureParameter("SplitEndArrow",0,new yt("TailHeight",.4,.01,.99)),go.Shape.defineFigureGenerator("SplitEndArrow",function(le,E,a){var x=le?le.parameter1:NaN;isNaN(x)&&(x=.4);var y=(.5-x/2)*a,z=(.5+x/2)*a,te=new go.Geometry,ae=new go.PathFigure(E,.5*a,!0);te.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,.7*E,a)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*E,z)),ae.add(new go.PathSegment(go.PathSegment.Line,0,z)),ae.add(new go.PathSegment(go.PathSegment.Line,.2*E,.5*a)),ae.add(new go.PathSegment(go.PathSegment.Line,0,y)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*E,y)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*E,0).close()),te.spot1=new go.Spot(.2,.3);var se=De(.7,1,1,.5,0,z/a,1,z/a,b());return te.spot2=new go.Spot(se.x,se.y),he(se),te}),go.Shape.setFigureParameter("SplitEndArrow2",0,new yt("TailThickness",50)),go.Shape.defineFigureGenerator("SplitEndArrow2",function(le,E,a){var x=le?le.parameter1:NaN;isNaN(x)&&(x=50);var y=(a-x)/2,z=y+x;x>a&&(y=0,z=a);var te=new go.Geometry,ae=new go.PathFigure(E,.5*a,!0);te.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,.7*E,a)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*E,z)),ae.add(new go.PathSegment(go.PathSegment.Line,0,z)),ae.add(new go.PathSegment(go.PathSegment.Line,.2*E,.5*a)),ae.add(new go.PathSegment(go.PathSegment.Line,0,y)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*E,y)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*E,0).close()),te.spot1=new go.Spot(.2,y/a);var se=De(.7,1,1,.5,0,z/a,1,z/a,b());return te.spot2=new go.Spot(se.x,se.y),he(se),te}),go.Shape.setFigureParameter("SquareArrow",0,new yt("ArrowPoint",.7,.2,.9)),go.Shape.defineFigureGenerator("SquareArrow",function(le,E,a){var x=le?le.parameter1:NaN;isNaN(x)&&(x=.7);var y=new go.Geometry,z=new go.PathFigure(E,.5*a,!0);return y.add(z),z.add(new go.PathSegment(go.PathSegment.Line,x*E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,0)),z.add(new go.PathSegment(go.PathSegment.Line,x*E,0).close()),y.spot1=go.Spot.TopLeft,y.spot2=new go.Spot(x,1),y}),go.Shape.defineFigureGenerator("Cone1",function(le,E,a){var x=new go.Geometry,y=xe*.5,z=xe*.1,te=new go.PathFigure(0,.9*a,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),te.add(new go.PathSegment(go.PathSegment.Line,E,.9*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,E,(.9+z)*a,(.5+y)*E,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,(.5-y)*E,a,0,(.9+z)*a).close()),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.97),x}),go.Shape.defineFigureGenerator("Cone2",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.9*a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,E,.9*a,(1-.85/.9)*E,a,.85/.9*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,0,.9*a).close());var z=new go.PathFigure(0,.9*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,E,.9*a,(1-.85/.9)*E,.8*a,.85/.9*E,.8*a)),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.82),x}),go.Shape.defineFigureGenerator("Cube1",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(.5*E,a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,.85*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.15*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,0,.15*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.85*a).close());var z=new go.PathFigure(.5*E,a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,.3*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.15*a)),z.add(new go.PathSegment(go.PathSegment.Move,.5*E,.3*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,.15*a)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(.5,.85),x}),go.Shape.defineFigureGenerator("Cube2",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.3*a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,.7*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.7*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.3*E,0).close());var z=new go.PathFigure(0,.3*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.7*E,.3*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Move,.7*E,.3*a)),z.add(new go.PathSegment(go.PathSegment.Line,.7*E,a)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(.7,1),x}),go.Shape.defineFigureGenerator("Cylinder1",function(le,E,a){var x=le?le.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,a/3);var y=new go.Geometry,z=xe*.5,te=new go.PathFigure(0,x,!0);y.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,0,xe*x,(.5-z)*E,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,1*E,x,(.5+z)*E,0,1*E,xe*x)),te.add(new go.PathSegment(go.PathSegment.Line,E,a-x)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,1*a,1*E,a-xe*x,(.5+z)*E,1*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,a-x,(.5-z)*E,1*a,0,a-xe*x)),te.add(new go.PathSegment(go.PathSegment.Line,0,x));var ae=new go.PathFigure(E,x,!1);return y.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,2*x,1*E,2*x-xe*x,(.5+z)*E,2*x)),ae.add(new go.PathSegment(go.PathSegment.Bezier,0,x,(.5-z)*E,2*x,0,2*x-xe*x)),y.spot1=new go.Spot(0,0,0,2*x),y.spot2=new go.Spot(1,1),y}),go.Shape.defineFigureGenerator("Cylinder2",function(le,E,a){var x=le?le.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,a/3);var y=new go.Geometry,z=xe*.5,te=new go.PathFigure(0,a-x,!0);y.add(te),te.add(new go.PathSegment(go.PathSegment.Line,0,x)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,0,xe*x,(.5-z)*E,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,E,x,(.5+z)*E,0,E,xe*x)),te.add(new go.PathSegment(go.PathSegment.Line,E,a-x)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,E,a-xe*x,(.5+z)*E,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,a-x,(.5-z)*E,a,0,a-xe*x));var ae=new go.PathFigure(0,a-x,!1);return y.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a-2*x,0,a-x-xe*x,(.5-z)*E,a-2*x)),ae.add(new go.PathSegment(go.PathSegment.Bezier,E,a-x,(.5+z)*E,a-2*x,E,a-x-xe*x)),y.spot1=new go.Spot(0,0),y.spot2=new go.Spot(1,1,0,-2*x),y}),go.Shape.defineFigureGenerator("Cylinder3",function(le,E,a){var x=le?le.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,E/3);var y=new go.Geometry,z=xe*.5,te=new go.PathFigure(x,0,!0);y.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E-x,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,E-xe*x,0,E,(.5-z)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,E-x,a,E,(.5+z)*a,E-xe*x,a)),te.add(new go.PathSegment(go.PathSegment.Line,x,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,xe*x,a,0,(.5+z)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,(.5-z)*a,xe*x,0));var ae=new go.PathFigure(x,0,!1);return y.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,2*x,.5*a,x+xe*x,0,2*x,(.5-z)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,x,a,2*x,(.5+z)*a,x+xe*x,a)),y.spot1=new go.Spot(0,0,2*x,0),y.spot2=new go.Spot(1,1),y}),go.Shape.defineFigureGenerator("Cylinder4",function(le,E,a){var x=le?le.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,E/3);var y=new go.Geometry,z=xe*.5,te=new go.PathFigure(E-x,0,!0);y.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,E-xe*x,0,E,(.5-z)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,E-x,a,E,(.5+z)*a,E-xe*x,a)),te.add(new go.PathSegment(go.PathSegment.Line,x,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,xe*x,a,0,(.5+z)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,(.5-z)*a,xe*x,0)),te.add(new go.PathSegment(go.PathSegment.Line,E-x,0));var ae=new go.PathFigure(E-x,0,!1);return y.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,E-2*x,.5*a,E-x-xe*x,0,E-2*x,(.5-z)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,E-x,a,E-2*x,(.5+z)*a,E-x-xe*x,a)),y.spot1=new go.Spot(0,0),y.spot2=new go.Spot(1,1,-2*x,0),y}),go.Shape.defineFigureGenerator("Prism1",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(.25*E,.25*a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var z=new go.PathFigure(.25*E,.25*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),x.spot1=new go.Spot(.408,.172),x.spot2=new go.Spot(.833,.662),x}),go.Shape.defineFigureGenerator("Prism2",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.25*a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.25*a)),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,.75*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var z=new go.PathFigure(0,a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.25*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,.25*a)),z.add(new go.PathSegment(go.PathSegment.Move,0,.25*a)),z.add(new go.PathSegment(go.PathSegment.Line,.25*E,.5*a)),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.75),x}),go.Shape.defineFigureGenerator("Pyramid1",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(.5*E,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,.75*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.75*a).close());var z=new go.PathFigure(.5*E,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),x.spot1=new go.Spot(.25,.367),x.spot2=new go.Spot(.75,.875),x}),go.Shape.defineFigureGenerator("Pyramid2",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(.5*E,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,.85*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.85*a).close());var z=new go.PathFigure(.5*E,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,.7*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.85*a)),z.add(new go.PathSegment(go.PathSegment.Move,.5*E,.7*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,.85*a)),x.spot1=new go.Spot(.25,.367),x.spot2=new go.Spot(.75,.875),x}),go.Shape.defineFigureGenerator("Actor",function(le,E,a){var x=new go.Geometry,y=.2,z=.1,te=xe*y,ae=xe*z,se=.5,ie=.1,Se=new go.PathFigure(se*E,(ie+z)*a,!0);x.add(Se),Se.add(new go.PathSegment(go.PathSegment.Bezier,(se-y)*E,ie*a,(se-te)*E,(ie+z)*a,(se-y)*E,(ie+ae)*a)),Se.add(new go.PathSegment(go.PathSegment.Bezier,se*E,(ie-z)*a,(se-y)*E,(ie-ae)*a,(se-te)*E,(ie-z)*a)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(se+y)*E,ie*a,(se+te)*E,(ie-z)*a,(se+y)*E,(ie-ae)*a)),Se.add(new go.PathSegment(go.PathSegment.Bezier,se*E,(ie+z)*a,(se+y)*E,(ie+ae)*a,(se+te)*E,(ie+z)*a));var Fe=.05,We=xe*Fe;se=.05,ie=.25;var Ne=new go.PathFigure(.5*E,.2*a,!0);return x.add(Ne),Ne.add(new go.PathSegment(go.PathSegment.Line,.95*E,.2*a)),se=.95,ie=.25,Ne.add(new go.PathSegment(go.PathSegment.Bezier,(se+Fe)*E,ie*a,(se+We)*E,(ie-Fe)*a,(se+Fe)*E,(ie-We)*a)),Ne.add(new go.PathSegment(go.PathSegment.Line,E,.6*a)),Ne.add(new go.PathSegment(go.PathSegment.Line,.85*E,.6*a)),Ne.add(new go.PathSegment(go.PathSegment.Line,.85*E,.35*a)),Fe=.025,We=xe*Fe,se=.825,ie=.35,Ne.add(new go.PathSegment(go.PathSegment.Bezier,se*E,(ie-Fe)*a,(se+Fe)*E,(ie-We)*a,(se+We)*E,(ie-Fe)*a)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,(se-Fe)*E,ie*a,(se-We)*E,(ie-Fe)*a,(se-Fe)*E,(ie-We)*a)),Ne.add(new go.PathSegment(go.PathSegment.Line,.8*E,a)),Ne.add(new go.PathSegment(go.PathSegment.Line,.55*E,a)),Ne.add(new go.PathSegment(go.PathSegment.Line,.55*E,.7*a)),Fe=.05,We=xe*Fe,se=.5,ie=.7,Ne.add(new go.PathSegment(go.PathSegment.Bezier,se*E,(ie-Fe)*a,(se+Fe)*E,(ie-We)*a,(se+We)*E,(ie-Fe)*a)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,(se-Fe)*E,ie*a,(se-We)*E,(ie-Fe)*a,(se-Fe)*E,(ie-We)*a)),Ne.add(new go.PathSegment(go.PathSegment.Line,.45*E,a)),Ne.add(new go.PathSegment(go.PathSegment.Line,.2*E,a)),Ne.add(new go.PathSegment(go.PathSegment.Line,.2*E,.35*a)),Fe=.025,We=xe*Fe,se=.175,ie=.35,Ne.add(new go.PathSegment(go.PathSegment.Bezier,se*E,(ie-Fe)*a,(se+Fe)*E,(ie-We)*a,(se+We)*E,(ie-Fe)*a)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,(se-Fe)*E,ie*a,(se-We)*E,(ie-Fe)*a,(se-Fe)*E,(ie-We)*a)),Ne.add(new go.PathSegment(go.PathSegment.Line,.15*E,.6*a)),Ne.add(new go.PathSegment(go.PathSegment.Line,0,.6*a)),Ne.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),Fe=.05,We=xe*Fe,se=.05,ie=.25,Ne.add(new go.PathSegment(go.PathSegment.Bezier,se*E,(ie-Fe)*a,(se-Fe)*E,(ie-We)*a,(se-We)*E,(ie-Fe)*a)),Ne.add(new go.PathSegment(go.PathSegment.Line,.5*E,.2*a)),x.spot1=new go.Spot(.2,.2),x.spot2=new go.Spot(.8,.65),x}),go.Shape.setFigureParameter("Card",0,new yt("CornerCutoutSize",.2,.1,.9)),go.Shape.defineFigureGenerator("Card",function(le,E,a){var x=le?le.parameter1:NaN;isNaN(x)&&(x=.2);var y=new go.Geometry,z=new go.PathFigure(E,0,!0);return y.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,x*a)),z.add(new go.PathSegment(go.PathSegment.Line,x*E,0).close()),y.spot1=new go.Spot(0,x),y.spot2=go.Spot.BottomRight,y}),go.Shape.defineFigureGenerator("Collate",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(.5*E,.5*a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a));var z=new go.PathFigure(.5*E,.5*a,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a)),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a)),x.spot1=new go.Spot(.25,0),x.spot2=new go.Spot(.75,.25),x}),go.Shape.defineFigureGenerator("CreateRequest",function(le,E,a){var x=new go.Geometry,y=le?le.parameter1:NaN;isNaN(y)&&(y=.1);var z=new go.PathFigure(0,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var te=new go.PathFigure(0,y*a,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E,y*a)),te.add(new go.PathSegment(go.PathSegment.Move,0,(1-y)*a)),te.add(new go.PathSegment(go.PathSegment.Line,E,(1-y)*a)),x}),go.Shape.defineFigureGenerator("Database",function(le,E,a){var x=new go.Geometry,y=xe*.5,z=xe*.1,te=new go.PathFigure(E,.1*a,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E,.9*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,E,(.9+z)*a,(.5+y)*E,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,(.5-y)*E,a,0,(.9+z)*a)),te.add(new go.PathSegment(go.PathSegment.Line,0,.1*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,0,(.1-z)*a,(.5-y)*E,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,E,.1*a,(.5+y)*E,0,E,(.1-z)*a));var ae=new go.PathFigure(E,.1*a,!1);return x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.2*a,E,(.1+z)*a,(.5+y)*E,.2*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*a,(.5-y)*E,.2*a,0,(.1+z)*a)),ae.add(new go.PathSegment(go.PathSegment.Move,E,.2*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.3*a,E,(.2+z)*a,(.5+y)*E,.3*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*a,(.5-y)*E,.3*a,0,(.2+z)*a)),ae.add(new go.PathSegment(go.PathSegment.Move,E,.3*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.4*a,E,(.3+z)*a,(.5+y)*E,.4*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,0,.3*a,(.5-y)*E,.4*a,0,(.3+z)*a)),x.spot1=new go.Spot(0,.4),x.spot2=new go.Spot(1,.9),x}),go.Shape.defineFigureGenerator("DataStorage",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,.75*E,a,E,0,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*E,.9*a,.25*E,.1*a).close()),x.spot1=new go.Spot(.226,0),x.spot2=new go.Spot(.81,1),x}),go.Shape.defineFigureGenerator("DiskStorage",function(le,E,a){var x=new go.Geometry,y=xe*.5,z=xe*.1,te=new go.PathFigure(E,.1*a,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E,.9*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,E,(.9+z)*a,(.5+y)*E,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,(.5-y)*E,a,0,(.9+z)*a)),te.add(new go.PathSegment(go.PathSegment.Line,0,.1*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,0,(.1-z)*a,(.5-y)*E,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,E,.1*a,(.5+y)*E,0,E,(.1-z)*a));var ae=new go.PathFigure(E,.1*a,!1);return x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.2*a,E,(.1+z)*a,(.5+y)*E,.2*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*a,(.5-y)*E,.2*a,0,(.1+z)*a)),ae.add(new go.PathSegment(go.PathSegment.Move,E,.2*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.3*a,E,(.2+z)*a,(.5+y)*E,.3*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*a,(.5-y)*E,.3*a,0,(.2+z)*a)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(1,.9),x}),go.Shape.defineFigureGenerator("Display",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(.25*E,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,.75*E,a,E,0,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.25*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.5*a).close()),x.spot1=new go.Spot(.25,0),x.spot2=new go.Spot(.75,1),x}),go.Shape.defineFigureGenerator("DividedEvent",function(le,E,a){var x=new go.Geometry,y=le?le.parameter1:NaN;isNaN(y)?y=.2:y<.15&&(y=.15);var z=xe*.2,te=new go.PathFigure(0,.2*a,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,.2*E,0,0,(.2-z)*a,(.2-z)*E,0)),te.add(new go.PathSegment(go.PathSegment.Line,.8*E,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,E,.2*a,(.8+z)*E,0,E,(.2-z)*a)),te.add(new go.PathSegment(go.PathSegment.Line,E,.8*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,a,E,(.8+z)*a,(.8+z)*E,a)),te.add(new go.PathSegment(go.PathSegment.Line,.2*E,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.8*a,(.2-z)*E,a,0,(.8+z)*a)),te.add(new go.PathSegment(go.PathSegment.Line,0,.2*a));var ae=new go.PathFigure(0,y*a,!1);return x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,E,y*a)),x}),go.Shape.defineFigureGenerator("DividedProcess",function(le,E,a){var x=new go.Geometry,y=le?le.parameter1:NaN;(isNaN(y)||y<.1)&&(y=.1);var z=new go.PathFigure(0,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var te=new go.PathFigure(0,y*a,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E,y*a)),x}),go.Shape.defineFigureGenerator("Document",function(le,E,a){var x=new go.Geometry;a=a/.8;var y=new go.PathFigure(0,.7*a,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.7*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.5*E,.4*a,.5*E,a).close()),x.spot1=go.Spot.TopLeft,x.spot2=new go.Spot(1,.6),x}),go.Shape.defineFigureGenerator("ExternalOrganization",function(le,E,a){var x=new go.Geometry,y=le?le.parameter1:NaN;(isNaN(y)||y<.2)&&(y=.2);var z=new go.PathFigure(0,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var te=new go.PathFigure(y*E,0,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,0,y*a)),te.add(new go.PathSegment(go.PathSegment.Move,E,y*a)),te.add(new go.PathSegment(go.PathSegment.Line,(1-y)*E,0)),te.add(new go.PathSegment(go.PathSegment.Move,0,(1-y)*a)),te.add(new go.PathSegment(go.PathSegment.Line,y*E,a)),te.add(new go.PathSegment(go.PathSegment.Move,(1-y)*E,a)),te.add(new go.PathSegment(go.PathSegment.Line,E,(1-y)*a)),x}),go.Shape.defineFigureGenerator("ExternalProcess",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(.5*E,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.5*a).close());var z=new go.PathFigure(.1*E,.4*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.1*E,.6*a)),z.add(new go.PathSegment(go.PathSegment.Move,.9*E,.6*a)),z.add(new go.PathSegment(go.PathSegment.Line,.9*E,.4*a)),z.add(new go.PathSegment(go.PathSegment.Move,.6*E,.1*a)),z.add(new go.PathSegment(go.PathSegment.Line,.4*E,.1*a)),z.add(new go.PathSegment(go.PathSegment.Move,.4*E,.9*a)),z.add(new go.PathSegment(go.PathSegment.Line,.6*E,.9*a)),x.spot1=new go.Spot(.25,.25),x.spot2=new go.Spot(.75,.75),x}),go.Shape.defineFigureGenerator("File",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.25*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var z=new go.PathFigure(.75*E,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.75*E,.25*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,.25*a)),x.spot1=new go.Spot(0,.25),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("Interrupt",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(E,.5*a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a));var z=new go.PathFigure(E,.5*a,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,a));var te=new go.PathFigure(E,.5*a,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E,0)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.5,.75),x}),go.Shape.defineFigureGenerator("InternalStorage",function(le,E,a){var x=new go.Geometry,y=le?le.parameter1:NaN,z=le?le.parameter2:NaN;isNaN(y)&&(y=.1),isNaN(z)&&(z=.1);var te=new go.PathFigure(0,0,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E,0)),te.add(new go.PathSegment(go.PathSegment.Line,E,a)),te.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var ae=new go.PathFigure(y*E,0,!1);return x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,y*E,a)),ae.add(new go.PathSegment(go.PathSegment.Move,0,z*a)),ae.add(new go.PathSegment(go.PathSegment.Line,E,z*a)),x}),go.Shape.defineFigureGenerator("Junction",function(le,E,a){var x=new go.Geometry,y=1/Math.SQRT2,z=(1-1/Math.SQRT2)/2,te=xe*.5,ae=.5,se=new go.PathFigure(E,ae*a,!0);x.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,ae*E,a,E,(ae+te)*a,(ae+te)*E,a)),se.add(new go.PathSegment(go.PathSegment.Bezier,0,ae*a,(ae-te)*E,a,0,(ae+te)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,ae*E,0,0,(ae-te)*a,(ae-te)*E,0)),se.add(new go.PathSegment(go.PathSegment.Bezier,E,ae*a,(ae+te)*E,0,E,(ae-te)*a));var ie=new go.PathFigure((z+y)*E,(z+y)*a,!1);return x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Line,z*E,z*a)),ie.add(new go.PathSegment(go.PathSegment.Move,z*E,(z+y)*a)),ie.add(new go.PathSegment(go.PathSegment.Line,(z+y)*E,z*a)),x}),go.Shape.defineFigureGenerator("LinedDocument",function(le,E,a){var x=new go.Geometry;a=a/.8;var y=new go.PathFigure(0,.7*a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.7*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.5*E,.4*a,.5*E,a).close());var z=new go.PathFigure(.1*E,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.1*E,.75*a)),x.spot1=new go.Spot(.1,0),x.spot2=new go.Spot(1,.6),x}),go.Shape.defineFigureGenerator("LoopLimit",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,a,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),y.add(new go.PathSegment(go.PathSegment.Line,.25*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.25*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a).close()),x.spot1=new go.Spot(0,.25),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("MagneticTape",function(le,E,a){var x=new go.Geometry,y=xe*.5,z=.5,te=new go.PathFigure(.5*E,a,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,0,z*a,(z-y)*E,a,0,(z+y)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,z*E,0,0,(z-y)*a,(z-y)*E,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,E,z*a,(z+y)*E,0,E,(z-y)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,(z+.1)*E,.9*a,E,(z+y)*a,(z+y)*E,.9*a)),te.add(new go.PathSegment(go.PathSegment.Line,E,.9*a)),te.add(new go.PathSegment(go.PathSegment.Line,E,a)),te.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),x.spot1=new go.Spot(.15,.15),x.spot2=new go.Spot(.85,.8),x}),go.Shape.defineFigureGenerator("ManualInput",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(E,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.25*a).close()),x.spot1=new go.Spot(0,.25),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("MessageFromUser",function(le,E,a){var x=new go.Geometry,y=le?le.parameter1:NaN;isNaN(y)&&(y=.7);var z=new go.PathFigure(0,0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Line,y*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x.spot1=go.Spot.TopLeft,x}),go.Shape.defineFigureGenerator("MicroformProcessing",function(le,E,a){var x=new go.Geometry,y=le?le.parameter1:NaN;isNaN(y)&&(y=.25);var z=new go.PathFigure(0,0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,y*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,(1-y)*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x}),go.Shape.defineFigureGenerator("MicroformRecording",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,.25*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.15*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.85*a)),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,.75*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(1,.75),x}),go.Shape.defineFigureGenerator("MultiDocument",function(le,E,a){var x=new go.Geometry;a=a/.8;var y=new go.PathFigure(E,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.9*E,.44*a,.96*E,.47*a,.93*E,.45*a)),y.add(new go.PathSegment(go.PathSegment.Line,.9*E,.6*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,.54*a,.86*E,.57*a,.83*E,.55*a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,.7*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.4*E,.4*a,.4*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,.1*E,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,.1*E,.1*a)),y.add(new go.PathSegment(go.PathSegment.Line,.2*E,.1*a)),y.add(new go.PathSegment(go.PathSegment.Line,.2*E,0).close());var z=new go.PathFigure(.1*E,.2*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.2*a)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.54*a)),z.add(new go.PathSegment(go.PathSegment.Move,.2*E,.1*a)),z.add(new go.PathSegment(go.PathSegment.Line,.9*E,.1*a)),z.add(new go.PathSegment(go.PathSegment.Line,.9*E,.44*a)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.8,.77),x}),go.Shape.defineFigureGenerator("MultiProcess",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(.1*E,.1*a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.2*E,.1*a)),y.add(new go.PathSegment(go.PathSegment.Line,.2*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,.9*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,.9*E,.9*a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,.9*a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,.1*E,.2*a).close());var z=new go.PathFigure(.2*E,.1*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.9*E,.1*a)),z.add(new go.PathSegment(go.PathSegment.Line,.9*E,.8*a)),z.add(new go.PathSegment(go.PathSegment.Move,.1*E,.2*a)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.2*a)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.9*a)),x.spot1=new go.Spot(0,.2),x.spot2=new go.Spot(.8,1),x}),go.Shape.defineFigureGenerator("OfflineStorage",function(le,E,a){var x=new go.Geometry,y=le?le.parameter1:NaN;isNaN(y)&&(y=.1);var z=1-y,te=new go.PathFigure(0,0,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E,0)),te.add(new go.PathSegment(go.PathSegment.Line,.5*E,a).close());var ae=new go.PathFigure(.5*y*E,y*a,!1);return x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,(1-.5*y)*E,y*a)),x}),go.Shape.defineFigureGenerator("OffPageConnector",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x.spot1=go.Spot.TopLeft,x.spot2=new go.Spot(.75,1),x}),go.Shape.defineFigureGenerator("Or",function(le,E,a){var x=new go.Geometry,y=xe*.5,z=.5,te=new go.PathFigure(E,z*a,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,z*E,a,E,(z+y)*a,(z+y)*E,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,z*a,(z-y)*E,a,0,(z+y)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,z*E,0,0,(z-y)*a,(z-y)*E,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,E,z*a,(z+y)*E,0,E,(z-y)*a));var ae=new go.PathFigure(E,.5*a,!1);return x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),ae.add(new go.PathSegment(go.PathSegment.Move,.5*E,a)),ae.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),x}),go.Shape.defineFigureGenerator("PaperTape",function(le,E,a){var x=new go.Geometry;a=a/.8;var y=new go.PathFigure(0,.7*a,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.3*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,E,.3*a,.5*E,.6*a,.5*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.7*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.5*E,.4*a,.5*E,a).close()),x.spot1=new go.Spot(0,.49),x.spot2=new go.Spot(1,.75),x}),go.Shape.defineFigureGenerator("PrimitiveFromCall",function(le,E,a){var x=new go.Geometry,y=le?le.parameter1:NaN,z=le?le.parameter2:NaN;isNaN(y)&&(y=.1),isNaN(z)&&(z=.3);var te=new go.PathFigure(0,0,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E,0)),te.add(new go.PathSegment(go.PathSegment.Line,(1-z)*E,.5*a)),te.add(new go.PathSegment(go.PathSegment.Line,E,a)),te.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x}),go.Shape.defineFigureGenerator("PrimitiveToCall",function(le,E,a){var x=new go.Geometry,y=le?le.parameter1:NaN,z=le?le.parameter2:NaN;isNaN(y)&&(y=.1),isNaN(z)&&(z=.3);var te=new go.PathFigure(0,0,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,(1-z)*E,0)),te.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),te.add(new go.PathSegment(go.PathSegment.Line,(1-z)*E,a)),te.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x}),go.Shape.defineFigureGenerator("Procedure",function(le,E,a){var x=new go.Geometry,y=le?le.parameter1:NaN;isNaN(y)&&(y=.1);var z=new go.PathFigure(0,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var te=new go.PathFigure((1-y)*E,0,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,(1-y)*E,a)),te.add(new go.PathSegment(go.PathSegment.Move,y*E,0)),te.add(new go.PathSegment(go.PathSegment.Line,y*E,a)),x}),go.Shape.defineFigureGenerator("Process",function(le,E,a){var x=new go.Geometry,y=le?le.parameter1:NaN;isNaN(y)&&(y=.1);var z=new go.PathFigure(0,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var te=new go.PathFigure(y*E,0,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y*E,a)),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("Sort",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(.5*E,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.5*a).close());var z=new go.PathFigure(0,.5*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),x.spot1=new go.Spot(.25,.25),x.spot2=new go.Spot(.75,.5),x}),go.Shape.defineFigureGenerator("Start",function(le,E,a){var x=new go.Geometry,y=le?le.parameter1:NaN;isNaN(y)&&(y=.25);var z=new go.PathFigure(y*E,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*E,.5*a,.25*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*E,.5*a,.25*E,.5*a));var te=new go.PathFigure(y*E,0,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y*E,a)),te.add(new go.PathSegment(go.PathSegment.Move,(1-y)*E,0)),te.add(new go.PathSegment(go.PathSegment.Line,(1-y)*E,a)),x.spot1=new go.Spot(y,0),x.spot2=new go.Spot(1-y,1),x}),go.Shape.defineFigureGenerator("Terminator",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(.25*E,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*E,.5*a,.25*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*E,.5*a,.25*E,.5*a)),x.spot1=new go.Spot(.23,0),x.spot2=new go.Spot(.77,1),x}),go.Shape.defineFigureGenerator("TransmittalTape",function(le,E,a){var x=new go.Geometry,y=le?le.parameter1:NaN;isNaN(y)&&(y=.1);var z=new go.PathFigure(0,0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,.75*E,(1-y)*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,(1-y)*a).close()),x.spot1=go.Spot.TopLeft,x}),go.Shape.defineFigureGenerator("AndGate",function(le,E,a){var x=new go.Geometry,y=xe*.5,z=new go.PathFigure(0,0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,(.5+y)*E,0,E,(.5-y)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,E,(.5+y)*a,(.5+y)*E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x.spot1=go.Spot.TopLeft,x.spot2=new go.Spot(.55,1),x}),go.Shape.defineFigureGenerator("Buffer",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.5,.75),x}),go.Shape.defineFigureGenerator("Clock",function(le,E,a){var x=new go.Geometry,y=xe*.5,z=.5,te=new go.PathFigure(E,z*a,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,z*E,a,E,(z+y)*a,(z+y)*E,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,z*a,(z-y)*E,a,0,(z+y)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,z*E,0,0,(z-y)*a,(z-y)*E,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,E,z*a,(z+y)*E,0,E,(z-y)*a));var ae=new go.PathFigure(E,z*a,!1);x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,E,z*a));var se=new go.PathFigure(.8*E,.75*a,!1);return x.add(se),se.add(new go.PathSegment(go.PathSegment.Line,.8*E,.25*a)),se.add(new go.PathSegment(go.PathSegment.Line,.6*E,.25*a)),se.add(new go.PathSegment(go.PathSegment.Line,.6*E,.75*a)),se.add(new go.PathSegment(go.PathSegment.Line,.4*E,.75*a)),se.add(new go.PathSegment(go.PathSegment.Line,.4*E,.25*a)),se.add(new go.PathSegment(go.PathSegment.Line,.2*E,.25*a)),se.add(new go.PathSegment(go.PathSegment.Line,.2*E,.75*a)),x}),go.Shape.defineFigureGenerator("Ground",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(.5*E,0,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.4*a)),y.add(new go.PathSegment(go.PathSegment.Move,.2*E,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,.6*a)),y.add(new go.PathSegment(go.PathSegment.Move,.3*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,.7*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Move,.4*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.6*E,a)),x}),go.Shape.defineFigureGenerator("Inverter",function(le,E,a){var x=new go.Geometry,y=xe*.1,z=.1,te=.9,ae=.5,se=new go.PathFigure(.8*E,.5*a,!0);x.add(se),se.add(new go.PathSegment(go.PathSegment.Line,0,a)),se.add(new go.PathSegment(go.PathSegment.Line,0,0)),se.add(new go.PathSegment(go.PathSegment.Line,.8*E,.5*a));var ie=new go.PathFigure((te+z)*E,ae*a,!0);return x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(ae+z)*a,(te+z)*E,(ae+y)*a,(te+y)*E,(ae+z)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*E,ae*a,(te-y)*E,(ae+z)*a,(te-z)*E,(ae+y)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(ae-z)*a,(te-z)*E,(ae-y)*a,(te-y)*E,(ae-z)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*E,ae*a,(te+y)*E,(ae-z)*a,(te+z)*E,(ae-y)*a)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.4,.75),x}),go.Shape.defineFigureGenerator("NandGate",function(le,E,a){var x=new go.Geometry,y=xe*.5,z=xe*.4,te=xe*.1,ae=.1,se=.9,ie=.5,Se=new go.PathFigure(.8*E,.5*a,!0);x.add(Se),Se.add(new go.PathSegment(go.PathSegment.Bezier,.4*E,a,.8*E,(.5+z)*a,(.4+y)*E,a)),Se.add(new go.PathSegment(go.PathSegment.Line,0,a)),Se.add(new go.PathSegment(go.PathSegment.Line,0,0)),Se.add(new go.PathSegment(go.PathSegment.Line,.4*E,0)),Se.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,.5*a,(.4+y)*E,0,.8*E,(.5-z)*a));var Fe=new go.PathFigure((se+ae)*E,ie*a,!0);return x.add(Fe),Fe.add(new go.PathSegment(go.PathSegment.Bezier,se*E,(ie+ae)*a,(se+ae)*E,(ie+te)*a,(se+te)*E,(ie+ae)*a)),Fe.add(new go.PathSegment(go.PathSegment.Bezier,(se-ae)*E,ie*a,(se-te)*E,(ie+ae)*a,(se-ae)*E,(ie+te)*a)),Fe.add(new go.PathSegment(go.PathSegment.Bezier,se*E,(ie-ae)*a,(se-ae)*E,(ie-te)*a,(se-te)*E,(ie-ae)*a)),Fe.add(new go.PathSegment(go.PathSegment.Bezier,(se+ae)*E,ie*a,(se+te)*E,(ie-ae)*a,(se+ae)*E,(ie-te)*a)),x.spot1=new go.Spot(0,.05),x.spot2=new go.Spot(.55,.95),x}),go.Shape.defineFigureGenerator("NorGate",function(le,E,a){var x=new go.Geometry,y=.5,z=xe*y,te=0,ae=.5,se=new go.PathFigure(.8*E,.5*a,!0);x.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,0,a,.7*E,(ae+z)*a,(te+z)*E,(ae+y)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*E,.75*a,.25*E,.25*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,.5*a,(te+z)*E,(ae-y)*a,.7*E,(ae-z)*a)),y=.1,z=xe*.1,te=.9,ae=.5;var ie=new go.PathFigure((te-y)*E,ae*a,!0);return x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(ae-y)*a,(te-y)*E,(ae-z)*a,(te-z)*E,(ae-y)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(te+y)*E,ae*a,(te+z)*E,(ae-y)*a,(te+y)*E,(ae-z)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(ae+y)*a,(te+y)*E,(ae+z)*a,(te+z)*E,(ae+y)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(te-y)*E,ae*a,(te-z)*E,(ae+y)*a,(te-y)*E,(ae+z)*a)),x.spot1=new go.Spot(.2,.25),x.spot2=new go.Spot(.6,.75),x}),go.Shape.defineFigureGenerator("OrGate",function(le,E,a){var x=new go.Geometry,y=.5,z=xe*y,te=0,ae=.5,se=new go.PathFigure(0,0,!0);return x.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,(te+z+z)*E,(ae-y)*a,.8*E,(ae-z)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,0,a,.8*E,(ae+z)*a,(te+z+z)*E,(ae+y)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*E,.75*a,.25*E,.25*a).close()),x.spot1=new go.Spot(.2,.25),x.spot2=new go.Spot(.75,.75),x}),go.Shape.defineFigureGenerator("XnorGate",function(le,E,a){var x=new go.Geometry,y=.5,z=xe*y,te=.2,ae=.5,se=new go.PathFigure(.1*E,0,!1);x.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,.1*E,a,.35*E,.25*a,.35*E,.75*a));var ie=new go.PathFigure(.8*E,.5*a,!0);x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,.2*E,a,.7*E,(ae+z)*a,(te+z)*E,(ae+y)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,.2*E,0,.45*E,.75*a,.45*E,.25*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,.5*a,(te+z)*E,(ae-y)*a,.7*E,(ae-z)*a)),y=.1,z=xe*.1,te=.9,ae=.5;var Se=new go.PathFigure((te-y)*E,ae*a,!0);return x.add(Se),Se.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(ae-y)*a,(te-y)*E,(ae-z)*a,(te-z)*E,(ae-y)*a)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(te+y)*E,ae*a,(te+z)*E,(ae-y)*a,(te+y)*E,(ae-z)*a)),Se.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(ae+y)*a,(te+y)*E,(ae+z)*a,(te+z)*E,(ae+y)*a)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(te-y)*E,ae*a,(te-z)*E,(ae+y)*a,(te-y)*E,(ae+z)*a)),x.spot1=new go.Spot(.4,.25),x.spot2=new go.Spot(.65,.75),x}),go.Shape.defineFigureGenerator("XorGate",function(le,E,a){var x=new go.Geometry,y=.5,z=xe*y,te=.2,ae=.5,se=new go.PathFigure(.1*E,0,!1);x.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,.1*E,a,.35*E,.25*a,.35*E,.75*a));var ie=new go.PathFigure(.2*E,0,!0);return x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,(te+z)*E,(ae-y)*a,.9*E,(ae-z)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,.2*E,a,.9*E,(ae+z)*a,(te+z)*E,(ae+y)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,.2*E,0,.45*E,.75*a,.45*E,.25*a).close()),x.spot1=new go.Spot(.4,.25),x.spot2=new go.Spot(.8,.75),x}),go.Shape.defineFigureGenerator("Capacitor",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Move,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),x}),go.Shape.defineFigureGenerator("Resistor",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.5*a,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.1*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.2*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.3*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.4*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.6*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.7*E,.5*a)),x}),go.Shape.defineFigureGenerator("Inductor",function(le,E,a){var x=new go.Geometry,y=xe*.1,z=.1,te=.1,ae=.5,se=new go.PathFigure((te-y*.5)*E,a,!1);return x.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*E,0,(te-y)*E,a,(te-z)*E,0)),te=.3,se.add(new go.PathSegment(go.PathSegment.Bezier,te*E,a,(te+z)*E,0,(te+y)*E,a)),se.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*E,0,(te-y)*E,a,(te-z)*E,0)),te=.5,se.add(new go.PathSegment(go.PathSegment.Bezier,te*E,a,(te+z)*E,0,(te+y)*E,a)),se.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*E,0,(te-y)*E,a,(te-z)*E,0)),te=.7,se.add(new go.PathSegment(go.PathSegment.Bezier,te*E,a,(te+z)*E,0,(te+y)*E,a)),se.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*E,0,(te-y)*E,a,(te-z)*E,0)),te=.9,se.add(new go.PathSegment(go.PathSegment.Bezier,(te+y*.5)*E,a,(te+z)*E,0,(te+y)*E,a)),x}),go.Shape.defineFigureGenerator("ACvoltageSource",function(le,E,a){var x=new go.Geometry,y=xe*.5,z=.5,te=.5,ae=.5,se=new go.PathFigure((te-z)*E,ae*a,!1);return x.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(ae-z)*a,(te-z)*E,(ae-y)*a,(te-y)*E,(ae-z)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*E,ae*a,(te+y)*E,(ae-z)*a,(te+z)*E,(ae-y)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(ae+z)*a,(te+z)*E,(ae+y)*a,(te+y)*E,(ae+z)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*E,ae*a,(te-y)*E,(ae+z)*a,(te-z)*E,(ae+y)*a)),se.add(new go.PathSegment(go.PathSegment.Move,(te-z+.1)*E,ae*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,(te+z-.1)*E,ae*a,te*E,(ae-z)*a,te*E,(ae+z)*a)),x}),go.Shape.defineFigureGenerator("DCvoltageSource",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.75*a,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),y.add(new go.PathSegment(go.PathSegment.Move,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),x}),go.Shape.defineFigureGenerator("Diode",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(E,0,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.5,.75),x}),go.Shape.defineFigureGenerator("Wifi",function(le,E,a){var x=new go.Geometry,y=E,z=a;E=E*.38,a=a*.6;var te=xe*.8,ae=.8,se=0,ie=.5,Se=(y-E)/2,Fe=(z-a)/2,We=new go.PathFigure(se*E+Se,(ie+ae)*a+Fe,!0);x.add(We),We.add(new go.PathSegment(go.PathSegment.Bezier,(se-ae)*E+Se,ie*a+Fe,(se-te)*E+Se,(ie+ae)*a+Fe,(se-ae)*E+Se,(ie+te)*a+Fe)),We.add(new go.PathSegment(go.PathSegment.Bezier,se*E+Se,(ie-ae)*a+Fe,(se-ae)*E+Se,(ie-te)*a+Fe,(se-te)*E+Se,(ie-ae)*a+Fe)),We.add(new go.PathSegment(go.PathSegment.Bezier,(se-ae+te*.5)*E+Se,ie*a+Fe,se*E+Se,(ie-ae)*a+Fe,(se-ae+te*.5)*E+Se,(ie-te)*a+Fe)),We.add(new go.PathSegment(go.PathSegment.Bezier,se*E+Se,(ie+ae)*a+Fe,(se-ae+te*.5)*E+Se,(ie+te)*a+Fe,se*E+Se,(ie+ae)*a+Fe).close()),te=xe*.4,ae=.4,se=.2,ie=.5;var Ne=new go.PathFigure(se*E+Se,(ie+ae)*a+Fe,!0);x.add(Ne),Ne.add(new go.PathSegment(go.PathSegment.Bezier,(se-ae)*E+Se,ie*a+Fe,(se-te)*E+Se,(ie+ae)*a+Fe,(se-ae)*E+Se,(ie+te)*a+Fe)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,se*E+Se,(ie-ae)*a+Fe,(se-ae)*E+Se,(ie-te)*a+Fe,(se-te)*E+Se,(ie-ae)*a+Fe)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,(se-ae+te*.5)*E+Se,ie*a+Fe,se*E+Se,(ie-ae)*a+Fe,(se-ae+te*.5)*E+Se,(ie-te)*a+Fe)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,se*E+Se,(ie+ae)*a+Fe,(se-ae+te*.5)*E+Se,(ie+te)*a+Fe,se*E+Se,(ie+ae)*a+Fe).close()),te=xe*.2,ae=.2,se=.5,ie=.5;var mt=new go.PathFigure((se-ae)*E+Se,ie*a+Fe,!0);x.add(mt),mt.add(new go.PathSegment(go.PathSegment.Bezier,se*E+Se,(ie-ae)*a+Fe,(se-ae)*E+Se,(ie-te)*a+Fe,(se-te)*E+Se,(ie-ae)*a+Fe)),mt.add(new go.PathSegment(go.PathSegment.Bezier,(se+ae)*E+Se,ie*a+Fe,(se+te)*E+Se,(ie-ae)*a+Fe,(se+ae)*E+Se,(ie-te)*a+Fe)),mt.add(new go.PathSegment(go.PathSegment.Bezier,se*E+Se,(ie+ae)*a+Fe,(se+ae)*E+Se,(ie+te)*a+Fe,(se+te)*E+Se,(ie+ae)*a+Fe)),mt.add(new go.PathSegment(go.PathSegment.Bezier,(se-ae)*E+Se,ie*a+Fe,(se-te)*E+Se,(ie+ae)*a+Fe,(se-ae)*E+Se,(ie+te)*a+Fe)),te=xe*.4,ae=.4,se=.8,ie=.5;var Re=new go.PathFigure(se*E+Se,(ie-ae)*a+Fe,!0);x.add(Re),Re.add(new go.PathSegment(go.PathSegment.Bezier,(se+ae)*E+Se,ie*a+Fe,(se+te)*E+Se,(ie-ae)*a+Fe,(se+ae)*E+Se,(ie-te)*a+Fe)),Re.add(new go.PathSegment(go.PathSegment.Bezier,se*E+Se,(ie+ae)*a+Fe,(se+ae)*E+Se,(ie+te)*a+Fe,(se+te)*E+Se,(ie+ae)*a+Fe)),Re.add(new go.PathSegment(go.PathSegment.Bezier,(se+ae-te*.5)*E+Se,ie*a+Fe,se*E+Se,(ie+ae)*a+Fe,(se+ae-te*.5)*E+Se,(ie+te)*a+Fe)),Re.add(new go.PathSegment(go.PathSegment.Bezier,se*E+Se,(ie-ae)*a+Fe,(se+ae-te*.5)*E+Se,(ie-te)*a+Fe,se*E+Se,(ie-ae)*a+Fe).close()),te=xe*.8,ae=.8,se=1,ie=.5;var Je=new go.PathFigure(se*E+Se,(ie-ae)*a+Fe,!0);return x.add(Je),Je.add(new go.PathSegment(go.PathSegment.Bezier,(se+ae)*E+Se,ie*a+Fe,(se+te)*E+Se,(ie-ae)*a+Fe,(se+ae)*E+Se,(ie-te)*a+Fe)),Je.add(new go.PathSegment(go.PathSegment.Bezier,se*E+Se,(ie+ae)*a+Fe,(se+ae)*E+Se,(ie+te)*a+Fe,(se+te)*E+Se,(ie+ae)*a+Fe)),Je.add(new go.PathSegment(go.PathSegment.Bezier,(se+ae-te*.5)*E+Se,ie*a+Fe,se*E+Se,(ie+ae)*a+Fe,(se+ae-te*.5)*E+Se,(ie+te)*a+Fe)),Je.add(new go.PathSegment(go.PathSegment.Bezier,se*E+Se,(ie-ae)*a+Fe,(se+ae-te*.5)*E+Se,(ie-te)*a+Fe,se*E+Se,(ie-ae)*a+Fe).close()),x}),go.Shape.defineFigureGenerator("Email",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var z=new go.PathFigure(0,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,.6*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Move,0,a)),z.add(new go.PathSegment(go.PathSegment.Line,.45*E,.54*a)),z.add(new go.PathSegment(go.PathSegment.Move,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,.55*E,.54*a)),x}),go.Shape.defineFigureGenerator("Ethernet",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(.35*E,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.65*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.65*E,.4*a)),y.add(new go.PathSegment(go.PathSegment.Line,.35*E,.4*a)),y.add(new go.PathSegment(go.PathSegment.Line,.35*E,0).close());var z=new go.PathFigure(.1*E,a,!0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.4*E,a)),z.add(new go.PathSegment(go.PathSegment.Line,.4*E,.6*a)),z.add(new go.PathSegment(go.PathSegment.Line,.1*E,.6*a)),z.add(new go.PathSegment(go.PathSegment.Line,.1*E,a).close());var te=new go.PathFigure(.6*E,a,!0,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.9*E,a)),te.add(new go.PathSegment(go.PathSegment.Line,.9*E,.6*a)),te.add(new go.PathSegment(go.PathSegment.Line,.6*E,.6*a)),te.add(new go.PathSegment(go.PathSegment.Line,.6*E,a).close());var ae=new go.PathFigure(0,.5*a,!1);return x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),ae.add(new go.PathSegment(go.PathSegment.Move,.5*E,.5*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.5*E,.4*a)),ae.add(new go.PathSegment(go.PathSegment.Move,.75*E,.5*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.75*E,.6*a)),ae.add(new go.PathSegment(go.PathSegment.Move,.25*E,.5*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.25*E,.6*a)),x}),go.Shape.defineFigureGenerator("Power",function(le,E,a){var x=new go.Geometry,y=xe*.4,z=.4,te=.5,ae=.5,se=b(),ie=b(),Se=b(),Fe=b();Ae(te,ae-z,te+y,ae-z,te+z,ae-y,te+z,ae,.5,se,se,ie,Se,Fe);var We=oe(ie.x,ie.y),Ne=new go.PathFigure(ie.x*E,ie.y*a,!0);x.add(Ne),Ne.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*E,ae*a,Se.x*E,Se.y*a,Fe.x*E,Fe.y*a)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(ae+z)*a,(te+z)*E,(ae+y)*a,(te+y)*E,(ae+z)*a)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*E,ae*a,(te-y)*E,(ae+z)*a,(te-z)*E,(ae+y)*a)),Ae(te-z,ae,te-z,ae-y,te-y,ae-z,te,ae-z,.5,Se,Fe,ie,se,se),Ne.add(new go.PathSegment(go.PathSegment.Bezier,ie.x*E,ie.y*a,Se.x*E,Se.y*a,Fe.x*E,Fe.y*a)),y=xe*.3,z=.3,Ae(te-z,ae,te-z,ae-y,te-y,ae-z,te,ae-z,.5,Se,Fe,ie,se,se),Ne.add(new go.PathSegment(go.PathSegment.Line,ie.x*E,ie.y*a)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*E,ae*a,Fe.x*E,Fe.y*a,Se.x*E,Se.y*a)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(ae+z)*a,(te-z)*E,(ae+y)*a,(te-y)*E,(ae+z)*a)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*E,ae*a,(te+y)*E,(ae+z)*a,(te+z)*E,(ae+y)*a)),Ae(te,ae-z,te+y,ae-z,te+z,ae-y,te+z,ae,.5,se,se,ie,Se,Fe),Ne.add(new go.PathSegment(go.PathSegment.Bezier,ie.x*E,ie.y*a,Fe.x*E,Fe.y*a,Se.x*E,Se.y*a).close());var Ne=new go.PathFigure(.45*E,0,!0);return x.add(Ne),Ne.add(new go.PathSegment(go.PathSegment.Line,.45*E,.5*a)),Ne.add(new go.PathSegment(go.PathSegment.Line,.55*E,.5*a)),Ne.add(new go.PathSegment(go.PathSegment.Line,.55*E,0).close()),he(se),he(ie),he(Se),he(Fe),he(We),x.spot1=new go.Spot(.25,.45),x.spot2=new go.Spot(.75,.8),x}),go.Shape.defineFigureGenerator("Fallout",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,a/2,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,180,360,E/2,a/2,E/2,a/2));function z(te,ae,se){te.add(new go.PathSegment(go.PathSegment.Move,(.3+ae)*E,(.8+se)*a)),te.add(new go.PathSegment(go.PathSegment.Line,(.5+ae)*E,(.5+se)*a)),te.add(new go.PathSegment(go.PathSegment.Line,(.1+ae)*E,(.5+se)*a)),te.add(new go.PathSegment(go.PathSegment.Line,(.3+ae)*E,(.8+se)*a).close())}return z(y,0,0),z(y,.4,0),z(y,.2,-.3),x}),go.Shape.defineFigureGenerator("IrritationHazard",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(.2*E,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.3*a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,.7*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.7*a)),y.add(new go.PathSegment(go.PathSegment.Line,.2*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,.3*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.2*a).close()),x.spot1=new go.Spot(.3,.3),x.spot2=new go.Spot(.7,.7),x}),go.Shape.defineFigureGenerator("ElectricalHazard",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(.37*E,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.11*a)),y.add(new go.PathSegment(go.PathSegment.Line,.77*E,.04*a)),y.add(new go.PathSegment(go.PathSegment.Line,.33*E,.49*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.37*a)),y.add(new go.PathSegment(go.PathSegment.Line,.63*E,.86*a)),y.add(new go.PathSegment(go.PathSegment.Line,.77*E,.91*a)),y.add(new go.PathSegment(go.PathSegment.Line,.34*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.34*E,.78*a)),y.add(new go.PathSegment(go.PathSegment.Line,.44*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,.65*E,.56*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.68*a).close()),x}),go.Shape.defineFigureGenerator("FireHazard",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(.1*E,a,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,.29*E,0,-.25*E,.63*a,.45*E,.44*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.51*E,.42*a,.48*E,.17*a,.54*E,.35*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.59*E,.18*a,.59*E,.29*a,.58*E,.28*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.75*E,.6*a,.8*E,.34*a,.88*E,.43*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.88*E,.31*a,.87*E,.48*a,.88*E,.43*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.9*E,a,1.17*E,.76*a,.82*E,.8*a).close()),x.spot1=new go.Spot(.07,.445),x.spot2=new go.Spot(.884,.958),x}),go.Shape.defineFigureGenerator("BpmnActivityLoop",function(le,E,a){var x=new go.Geometry,y=.5,z=0,te=0,ae=y*xe,se=.4*Math.SQRT2/2+.5,ie=.5-.5*Math.SQRT2/2,Se=1,Fe=.5,We=.5,Ne=0,mt=new go.PathFigure(se*E,(1-ie)*a,!1);return x.add(mt),mt.add(new go.PathSegment(go.PathSegment.Bezier,Se*E,Fe*a,Se*E,.7*a,Se*E,Fe*a)),mt.add(new go.PathSegment(go.PathSegment.Bezier,(We+z)*E,(Ne+z)*a,(.5+y+z)*E,(.5-ae+z)*a,(.5+ae+z)*E,(.5-y+z)*a)),mt.add(new go.PathSegment(go.PathSegment.Bezier,(.5-y+z)*E,(.5+te)*a,(.5-ae+z)*E,(.5-y+te)*a,(.5-y+z)*E,(.5-ae+te)*a)),mt.add(new go.PathSegment(go.PathSegment.Bezier,(.35+z)*E,.9*a,(.5-y+z)*E,(.5+ae+te)*a,(.5-ae+z)*E,.9*a)),mt.add(new go.PathSegment(go.PathSegment.Move,(.25+z)*E,.8*a)),mt.add(new go.PathSegment(go.PathSegment.Line,(.35+z)*E,.9*a)),mt.add(new go.PathSegment(go.PathSegment.Line,(.2+z)*E,.95*a)),x}),go.Shape.defineFigureGenerator("BpmnActivityParallel",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Move,.5*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),y.add(new go.PathSegment(go.PathSegment.Move,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),x}),go.Shape.defineFigureGenerator("BpmnActivitySequential",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Move,0,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Move,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),x}),go.Shape.defineFigureGenerator("BpmnActivityAdHoc",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!1);x.add(y);var z=new go.PathFigure(E,a,!1);x.add(z);var te=new go.PathFigure(0,.5*a,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.5*a,.2*E,.35*a,.3*E,.35*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,.7*E,.65*a,.8*E,.65*a)),x}),go.Shape.defineFigureGenerator("BpmnActivityCompensation",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.5*a,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a).close()),x}),go.Shape.defineFigureGenerator("BpmnTaskMessage",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.2*a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.8*a).close());var y=new go.PathFigure(0,.2*a,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.2*a)),x}),go.Shape.defineFigureGenerator("BpmnTaskScript",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(.7*E,a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.3*E,a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.3*E,0,.6*E,.5*a,0,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.7*E,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,.7*E,a,.4*E,.5*a,E,.5*a).close());var z=new go.PathFigure(.45*E,.73*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.7*E,.73*a)),z.add(new go.PathSegment(go.PathSegment.Move,.38*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,.63*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Move,.31*E,.27*a)),z.add(new go.PathSegment(go.PathSegment.Line,.56*E,.27*a)),x}),go.Shape.defineFigureGenerator("BpmnTaskUser",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!1);x.add(y);var z=new go.PathFigure(.335*E,(1-.555)*a,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.335*E,(1-.405)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*E,(1-.405)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*E,(1-.555)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,E,.68*a,(1-.12)*E,.46*a,(1-.02)*E,.54*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.68*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.335*E,(1-.555)*a,.02*E,.54*a,.12*E,.46*a)),z.add(new go.PathSegment(go.PathSegment.Line,.365*E,(1-.595)*a));var te=.5-.285,ae=.5,se=te,ie=Math.PI/4,Se=4*(1-Math.cos(ie))/(3*Math.sin(ie)),Fe=Se*.5,We=te,Ne=te,mt=Se*We,Re=Se*Ne;z.add(new go.PathSegment(go.PathSegment.Bezier,(ae-We)*E,se*a,(ae-(mt+We)/2)*E,(se+(Ne+Re)/2)*a,(ae-We)*E,(se+Re)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,ae*E,(se-Ne)*a,(ae-We)*E,(se-Re)*a,(ae-mt)*E,(se-Ne)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,(ae+We)*E,se*a,(ae+mt)*E,(se-Ne)*a,(ae+We)*E,(se-Re)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,(1-.365)*E,(1-.595)*a,(ae+We)*E,(se+Re)*a,(ae+(mt+We)/2)*E,(se+(Ne+Re)/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 Je=new go.PathFigure(.2*E,a,!1);x.add(Je),Je.add(new go.PathSegment(go.PathSegment.Line,.2*E,.8*a));var Qe=new go.PathFigure(.8*E,a,!1);return x.add(Qe),Qe.add(new go.PathSegment(go.PathSegment.Line,.8*E,.8*a)),x}),go.Shape.defineFigureGenerator("BpmnEventConditional",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(.1*E,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.9*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.9*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.1*E,a).close());var z=new go.PathFigure(.2*E,.2*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.2*a)),z.add(new go.PathSegment(go.PathSegment.Move,.2*E,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.4*a)),z.add(new go.PathSegment(go.PathSegment.Move,.2*E,.6*a)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.6*a)),z.add(new go.PathSegment(go.PathSegment.Move,.2*E,.8*a)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.8*a)),x}),go.Shape.defineFigureGenerator("BpmnEventError",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,a,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.33*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.66*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.66*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.33*E,.5*a).close()),x}),go.Shape.defineFigureGenerator("BpmnEventEscalation",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!1);x.add(y);var z=new go.PathFigure(E,a,!1);x.add(z);var te=new go.PathFigure(.1*E,a,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),te.add(new go.PathSegment(go.PathSegment.Line,.9*E,a)),te.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a).close()),x}),go.Shape.defineFigureGenerator("Caution",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(.05*E,a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,.1*E,.8*a,0,a,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,.45*E,.1*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.55*E,.1*a,.5*E,0,.5*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.95*E,.9*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.9*E,a,E,a,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.05*E,a));var z=.05;return y.add(new go.PathSegment(go.PathSegment.Move,(.5-z)*E,.875*a)),y.add(new go.PathSegment(go.PathSegment.Arc,180,-360,.5*E,.875*a,z*E,z*a)),y.add(new go.PathSegment(go.PathSegment.Move,.5*E,.75*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.325*a,.575*E,.725*a,.625*E,.375*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.75*a,.375*E,.375*a,.425*E,.725*a)),x}),go.Shape.defineFigureGenerator("Recycle",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(.45*E,.95*a,!1);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.2*E,.95*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.185*E,.85*a,.17*E,.95*a,.15*E,.9*a)),y.add(new go.PathSegment(go.PathSegment.Line,.235*E,.75*a)),y.add(new go.PathSegment(go.PathSegment.Line,.3*E,.625*a)),y.add(new go.PathSegment(go.PathSegment.Line,.35*E,.65*a)),y.add(new go.PathSegment(go.PathSegment.Line,.275*E,.45*a)),y.add(new go.PathSegment(go.PathSegment.Line,.05*E,.45*a)),y.add(new go.PathSegment(go.PathSegment.Line,.1*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.05*E,.575*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.1875*E,.95*a,0,.675*a,0,.7*a)),y.add(new go.PathSegment(go.PathSegment.Move,.45*E,.95*a)),y.add(new go.PathSegment(go.PathSegment.Line,.45*E,.775*a)),y.add(new go.PathSegment(go.PathSegment.Line,.22*E,.775*a));var z=new go.PathFigure(.475*E,.2*a,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.4*E,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,.225*E,.3*a)),z.add(new go.PathSegment(go.PathSegment.Line,.275*E,.175*a)),z.add(new go.PathSegment(go.PathSegment.Line,.325*E,.05*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.4*E,.05*a,.35*E,0,.375*E,0)),z.add(new go.PathSegment(go.PathSegment.Line,.575*E,.375*a)),z.add(new go.PathSegment(go.PathSegment.Line,.525*E,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,.75*E,.475*a)),z.add(new go.PathSegment(go.PathSegment.Line,.85*E,.315*a)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.32*a)),z.add(new go.PathSegment(go.PathSegment.Line,.65*E,.05*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.575*E,0,.65*E,.05*a,.625*E,0)),z.add(new go.PathSegment(go.PathSegment.Line,.38*E,.0105*a));var te=new go.PathFigure(.675*E,.575*a,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.875*E,.525*a)),te.add(new go.PathSegment(go.PathSegment.Line,E,.775*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,.85*E,.95*a,E,.8*a,E,.85*a)),te.add(new go.PathSegment(go.PathSegment.Line,.65*E,.95*a)),te.add(new go.PathSegment(go.PathSegment.Line,.65*E,a)),te.add(new go.PathSegment(go.PathSegment.Line,.55*E,.85*a)),te.add(new go.PathSegment(go.PathSegment.Line,.65*E,.725*a)),te.add(new go.PathSegment(go.PathSegment.Line,.65*E,.775*a)),te.add(new go.PathSegment(go.PathSegment.Line,.7*E,.775*a)),te.add(new go.PathSegment(go.PathSegment.Line,E,.775*a)),te.add(new go.PathSegment(go.PathSegment.Move,.675*E,.575*a)),te.add(new go.PathSegment(go.PathSegment.Line,.775*E,.775*a)),x}),go.Shape.defineFigureGenerator("BpmnEventTimer",function(le,E,a){var x=new go.Geometry,y=.5,z=xe*.5,te=new go.PathFigure(E,y*a,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,y*E,a,E,(y+z)*a,(y+z)*E,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,y*a,(y-z)*E,a,0,(y+z)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,y*E,0,0,(y-z)*a,(y-z)*E,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,E,y*a,(y+z)*E,0,E,(y-z)*a));var ae=new go.PathFigure(y*E,0,!1);return x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,y*E,.15*a)),ae.add(new go.PathSegment(go.PathSegment.Move,y*E,a)),ae.add(new go.PathSegment(go.PathSegment.Line,y*E,.85*a)),ae.add(new go.PathSegment(go.PathSegment.Move,0,y*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.15*E,y*a)),ae.add(new go.PathSegment(go.PathSegment.Move,E,y*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.85*E,y*a)),ae.add(new go.PathSegment(go.PathSegment.Move,y*E,y*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.58*E,.1*a)),ae.add(new go.PathSegment(go.PathSegment.Move,y*E,y*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.78*E,.54*a)),x}),go.Shape.defineFigureGenerator("Package",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.15*a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,.15*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var z=new go.PathFigure(0,.15*a,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,0)),z.add(new go.PathSegment(go.PathSegment.Line,.6*E,0)),z.add(new go.PathSegment(go.PathSegment.Line,.65*E,.15*a).close()),x.spot1=new go.Spot(0,.1),x.spot2=new go.Spot(1,1),x}),go.Shape.defineFigureGenerator("Class",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var z=new go.PathFigure(0,.2*a,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,.2*a).close());var te=new go.PathFigure(0,.5*a,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E,.5*a).close()),x}),go.Shape.defineFigureGenerator("Component",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(E,a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.15*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.15*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a).close());var z=new go.PathFigure(0,.2*a,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.45*E,.2*a)),z.add(new go.PathSegment(go.PathSegment.Line,.45*E,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.2*a).close());var te=new go.PathFigure(0,.6*a,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.45*E,.6*a)),te.add(new go.PathSegment(go.PathSegment.Line,.45*E,.8*a)),te.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),te.add(new go.PathSegment(go.PathSegment.Line,0,.6*a).close()),x}),go.Shape.defineFigureGenerator("Boat Shipment",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(.15*E,.6*a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.15*E,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,.15*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.85*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,.85*E,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.15*E,.6*a));var z=new go.PathFigure(.15*E,.6*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.85*E,.6*a)),x}),go.Shape.defineFigureGenerator("Customer/Supplier",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(E,a,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.66*E,.33*a)),y.add(new go.PathSegment(go.PathSegment.Line,.66*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.33*E,.33*a)),y.add(new go.PathSegment(go.PathSegment.Line,.33*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,0,.33*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a).close()),x}),go.Shape.defineFigureGenerator("Workcell",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,a,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.65*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.65*E,.4*a)),y.add(new go.PathSegment(go.PathSegment.Line,.35*E,.4*a)),y.add(new go.PathSegment(go.PathSegment.Line,.35*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x}),go.Shape.defineFigureGenerator("Supermarket",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.33*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.33*a)),y.add(new go.PathSegment(go.PathSegment.Move,E,.33*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.66*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.66*a)),y.add(new go.PathSegment(go.PathSegment.Move,E,.66*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),x}),go.Shape.defineFigureGenerator("TruckShipment",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.6*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.6*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var z=new go.PathFigure(E,.8*a,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,.6*E,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,.6*E,.8*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,.8*a).close());var te=.1,ae=xe*.1,se=.2,ie=.9,Se=new go.PathFigure((se-te)*E,ie*a,!0);x.add(Se),Se.add(new go.PathSegment(go.PathSegment.Bezier,se*E,(ie-te)*a,(se-te)*E,(ie-ae)*a,(se-ae)*E,(ie-te)*a)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(se+te)*E,ie*a,(se+ae)*E,(ie-te)*a,(se+te)*E,(ie-ae)*a)),Se.add(new go.PathSegment(go.PathSegment.Bezier,se*E,(ie+te)*a,(se+te)*E,(ie+ae)*a,(se+ae)*E,(ie+te)*a)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(se-te)*E,ie*a,(se-ae)*E,(ie+te)*a,(se-te)*E,(ie+ae)*a).close()),te=.1,ae=xe*.1,se=.8,ie=.9;var Fe=new go.PathFigure((se-te)*E,ie*a,!0);return x.add(Fe),Fe.add(new go.PathSegment(go.PathSegment.Bezier,se*E,(ie-te)*a,(se-te)*E,(ie-ae)*a,(se-ae)*E,(ie-te)*a)),Fe.add(new go.PathSegment(go.PathSegment.Bezier,(se+te)*E,ie*a,(se+ae)*E,(ie-te)*a,(se+te)*E,(ie-ae)*a)),Fe.add(new go.PathSegment(go.PathSegment.Bezier,se*E,(ie+te)*a,(se+te)*E,(ie+ae)*a,(se+ae)*E,(ie+te)*a)),Fe.add(new go.PathSegment(go.PathSegment.Bezier,(se-te)*E,ie*a,(se-ae)*E,(ie+te)*a,(se-te)*E,(ie+ae)*a).close()),x}),go.Shape.defineFigureGenerator("KanbanPost",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(.2*E,0,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.2*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,0)),y.add(new go.PathSegment(go.PathSegment.Move,.5*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.2*E,a)),y.add(new go.PathSegment(go.PathSegment.Move,.5*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,a)),x}),go.Shape.defineFigureGenerator("Forklift",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.4*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,0,0));var z=new go.PathFigure(0,.5*a,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,.8*a)),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.5*a));var te=new go.PathFigure(.5*E,.8*a,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*E,.1*a)),te.add(new go.PathSegment(go.PathSegment.Line,.55*E,.1*a)),te.add(new go.PathSegment(go.PathSegment.Line,.55*E,.8*a)),te.add(new go.PathSegment(go.PathSegment.Line,.5*E,.8*a));var ae=new go.PathFigure(.5*E,.7*a,!1);x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,E,.7*a));var se=.1,ie=xe*.1,Se=.1,Fe=.9,We=new go.PathFigure((Se-se)*E,Fe*a,!0);x.add(We),We.add(new go.PathSegment(go.PathSegment.Bezier,Se*E,(Fe-se)*a,(Se-se)*E,(Fe-ie)*a,(Se-ie)*E,(Fe-se)*a)),We.add(new go.PathSegment(go.PathSegment.Bezier,(Se+se)*E,Fe*a,(Se+ie)*E,(Fe-se)*a,(Se+se)*E,(Fe-ie)*a)),We.add(new go.PathSegment(go.PathSegment.Bezier,Se*E,(Fe+se)*a,(Se+se)*E,(Fe+ie)*a,(Se+ie)*E,(Fe+se)*a)),We.add(new go.PathSegment(go.PathSegment.Bezier,(Se-se)*E,Fe*a,(Se-ie)*E,(Fe+se)*a,(Se-se)*E,(Fe+ie)*a)),se=.1,ie=xe*.1,Se=.4,Fe=.9;var Ne=new go.PathFigure((Se-se)*E,Fe*a,!0);return x.add(Ne),Ne.add(new go.PathSegment(go.PathSegment.Bezier,Se*E,(Fe-se)*a,(Se-se)*E,(Fe-ie)*a,(Se-ie)*E,(Fe-se)*a)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,(Se+se)*E,Fe*a,(Se+ie)*E,(Fe-se)*a,(Se+se)*E,(Fe-ie)*a)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,Se*E,(Fe+se)*a,(Se+se)*E,(Fe+ie)*a,(Se+ie)*E,(Fe+se)*a)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,(Se-se)*E,Fe*a,(Se-ie)*E,(Fe+se)*a,(Se-se)*E,(Fe+ie)*a)),x}),go.Shape.defineFigureGenerator("RailShipment",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(.1*E,.4*a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.45*E,.4*a)),y.add(new go.PathSegment(go.PathSegment.Line,.45*E,.9*a)),y.add(new go.PathSegment(go.PathSegment.Line,.1*E,.9*a)),y.add(new go.PathSegment(go.PathSegment.Line,.1*E,.4*a).close());var z=new go.PathFigure(.45*E,.7*a,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.55*E,.7*a));var te=new go.PathFigure(.55*E,.4*a,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.9*E,.4*a)),te.add(new go.PathSegment(go.PathSegment.Line,.9*E,.9*a)),te.add(new go.PathSegment(go.PathSegment.Line,.55*E,.9*a)),te.add(new go.PathSegment(go.PathSegment.Line,.55*E,.4*a).close());var Se=.05,Fe=xe*.05,We=.175,Ne=.95,ae=new go.PathFigure((We-Se)*E,Ne*a,!0);x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,We*E,(Ne-Se)*a,(We-Se)*E,(Ne-Fe)*a,(We-Fe)*E,(Ne-Se)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(We+Se)*E,Ne*a,(We+Fe)*E,(Ne-Se)*a,(We+Se)*E,(Ne-Fe)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,We*E,(Ne+Se)*a,(We+Se)*E,(Ne+Fe)*a,(We+Fe)*E,(Ne+Se)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(We-Se)*E,Ne*a,(We-Fe)*E,(Ne+Se)*a,(We-Se)*E,(Ne+Fe)*a));var Se=.05,Fe=xe*.05,We=.375,Ne=.95,se=new go.PathFigure((We-Se)*E,Ne*a,!0);x.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,We*E,(Ne-Se)*a,(We-Se)*E,(Ne-Fe)*a,(We-Fe)*E,(Ne-Se)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,(We+Se)*E,Ne*a,(We+Fe)*E,(Ne-Se)*a,(We+Se)*E,(Ne-Fe)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,We*E,(Ne+Se)*a,(We+Se)*E,(Ne+Fe)*a,(We+Fe)*E,(Ne+Se)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,(We-Se)*E,Ne*a,(We-Fe)*E,(Ne+Se)*a,(We-Se)*E,(Ne+Fe)*a));var Se=.05,Fe=xe*.05,We=.625,Ne=.95,ie=new go.PathFigure((We-Se)*E,Ne*a,!0);x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,We*E,(Ne-Se)*a,(We-Se)*E,(Ne-Fe)*a,(We-Fe)*E,(Ne-Se)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(We+Se)*E,Ne*a,(We+Fe)*E,(Ne-Se)*a,(We+Se)*E,(Ne-Fe)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,We*E,(Ne+Se)*a,(We+Se)*E,(Ne+Fe)*a,(We+Fe)*E,(Ne+Se)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(We-Se)*E,Ne*a,(We-Fe)*E,(Ne+Se)*a,(We-Se)*E,(Ne+Fe)*a));var Se=.05,Fe=xe*.05,We=.825,Ne=.95,mt=new go.PathFigure((We-Se)*E,Ne*a,!0);x.add(mt),mt.add(new go.PathSegment(go.PathSegment.Bezier,We*E,(Ne-Se)*a,(We-Se)*E,(Ne-Fe)*a,(We-Fe)*E,(Ne-Se)*a)),mt.add(new go.PathSegment(go.PathSegment.Bezier,(We+Se)*E,Ne*a,(We+Fe)*E,(Ne-Se)*a,(We+Se)*E,(Ne-Fe)*a)),mt.add(new go.PathSegment(go.PathSegment.Bezier,We*E,(Ne+Se)*a,(We+Se)*E,(Ne+Fe)*a,(We+Fe)*E,(Ne+Se)*a)),mt.add(new go.PathSegment(go.PathSegment.Bezier,(We-Se)*E,Ne*a,(We-Fe)*E,(Ne+Se)*a,(We-Se)*E,(Ne+Fe)*a).close());var Re=new go.PathFigure(0,a,!1);return x.add(Re),Re.add(new go.PathSegment(go.PathSegment.Line,E,a).close()),x}),go.Shape.defineFigureGenerator("Warehouse",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var z=new go.PathFigure(0,.2*a,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,.2*a).close());var te=new go.PathFigure(.15*E,a,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.15*E,.5*a)),te.add(new go.PathSegment(go.PathSegment.Line,.4*E,.5*a)),te.add(new go.PathSegment(go.PathSegment.Line,.4*E,a)),te.add(new go.PathSegment(go.PathSegment.Line,.15*E,a).close());var ae=.05,se=xe*.05,ie=.35,Se=.775,Fe=new go.PathFigure((ie-ae)*E,Se*a,!0);return x.add(Fe),Fe.add(new go.PathSegment(go.PathSegment.Bezier,ie*E,(Se-ae)*a,(ie-ae)*E,(Se-se)*a,(ie-se)*E,(Se-ae)*a)),Fe.add(new go.PathSegment(go.PathSegment.Bezier,(ie+ae)*E,Se*a,(ie+se)*E,(Se-ae)*a,(ie+ae)*E,(Se-se)*a)),Fe.add(new go.PathSegment(go.PathSegment.Bezier,ie*E,(Se+ae)*a,(ie+ae)*E,(Se+se)*a,(ie+se)*E,(Se+ae)*a)),Fe.add(new go.PathSegment(go.PathSegment.Bezier,(ie-ae)*E,Se*a,(ie-se)*E,(Se+ae)*a,(ie-ae)*E,(Se+se)*a).close()),x}),go.Shape.defineFigureGenerator("ControlCenter",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,a,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,.1*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,.1*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.9*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.9*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Move,.1*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,.9*E,.8*a).close()),x}),go.Shape.defineFigureGenerator("Bluetooth",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.75*a,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.75*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.25*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.75*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),x}),go.Shape.defineFigureGenerator("Bookmark",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Move,.2*E,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,.2*a)),y.add(new go.PathSegment(go.PathSegment.Move,.2*E,.4*a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,.4*a)),x}),go.Shape.defineFigureGenerator("Bookmark",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Move,.2*E,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,.2*a)),y.add(new go.PathSegment(go.PathSegment.Move,.2*E,.4*a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,.4*a)),x}),go.Shape.defineFigureGenerator("Globe",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(.5*E,0,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),y.add(new go.PathSegment(go.PathSegment.Move,0,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Move,.5*E,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,.75*E,0,E,.25*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,E,.75*a,.75*E,a)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,.25*E,a,0,.75*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,0,.25*a,.25*E,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,.15*E,.25*a,.15*E,.75*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,.85*E,.75*a,.85*E,.25*a)),y.add(new go.PathSegment(go.PathSegment.Move,.1675*E,.15*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.8325*E,.15*a,.35*E,.3*a,.65*E,.3*a)),y.add(new go.PathSegment(go.PathSegment.Move,.1675*E,.85*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.8325*E,.85*a,.35*E,.7*a,.65*E,.7*a)),x}),go.Shape.defineFigureGenerator("Wave",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.25*a,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,.3*E,.25*a,.1*E,0,.2*E,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,.7*E,.25*a,.425*E,.5*a,.575*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,E,.25*a,.8*E,0,.9*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.75*a)),y.add(new go.PathSegment(go.PathSegment.Move,0,.25*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.75*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.3*E,.75*a,.1*E,.5*a,.2*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.7*E,.75*a,.425*E,a,.575*E,a)),y.add(new go.PathSegment(go.PathSegment.Bezier,E,.75*a,.8*E,.5*a,.9*E,.5*a)),x}),go.Shape.defineFigureGenerator("Operator",function(le,E,a){var x=new go.Geometry,y=.3,z=xe*.3,te=.5,ae=.7,se=new go.PathFigure((te-y)*E,ae*a,!0);x.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(ae-y)*a,(te-y)*E,(ae-z)*a,(te-z)*E,(ae-y)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,(te+y)*E,ae*a,(te+z)*E,(ae-y)*a,(te+y)*E,(ae-z)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(ae+y)*a,(te+y)*E,(ae+z)*a,(te+z)*E,(ae+y)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,(te-y)*E,ae*a,(te-z)*E,(ae+y)*a,(te-y)*E,(ae+z)*a));var ie=new go.PathFigure(0,.7*a,!1);return x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,E,.7*a,0,0,E,0)),x}),go.Shape.defineFigureGenerator("TripleFanBlades",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(.5*E,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.65*a,.65*E,.3*a,.65*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,.35*E,.5*a,.35*E,.3*a)),y.add(new go.PathSegment(go.PathSegment.Move,.5*E,.65*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,a,.3*E,.6*a,.1*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.65*a,.2*E,a,.35*E,.95*a)),y.add(new go.PathSegment(go.PathSegment.Move,.5*E,.65*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,E,a,.7*E,.6*a,.9*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.65*a,.8*E,a,.65*E,.95*a)),x}),go.Shape.defineFigureGenerator("CentrifugalPump",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(E,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.4*E,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,0,.075*a,0,.5*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.4*E,a,0,a,.4*E,a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,.4*a,.8*E,a,.85*E,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.4*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),x}),go.Shape.defineFigureGenerator("Battery",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.1*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.1*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Move,.4*E,.1*a)),y.add(new go.PathSegment(go.PathSegment.Line,.4*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.6*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.6*E,.1*a));var z=new go.PathFigure(0,.6*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Move,0,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,.4*a)),x}),go.Shape.defineFigureGenerator("Delete",function(le,E,a){var x=new go.Geometry,y=.5,z=xe*.5,te=.5,ae=.5,se=new go.PathFigure((te-y)*E,ae*a,!0);x.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(ae-y)*a,(te-y)*E,(ae-z)*a,(te-z)*E,(ae-y)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,(te+y)*E,ae*a,(te+z)*E,(ae-y)*a,(te+y)*E,(ae-z)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(ae+y)*a,(te+y)*E,(ae+z)*a,(te+z)*E,(ae+y)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,(te-y)*E,ae*a,(te-z)*E,(ae+y)*a,(te-y)*E,(ae+z)*a));var ie=new go.PathFigure(.15*E,.5*a,!1);return x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Line,.85*E,.5*a)),x}),go.Shape.defineFigureGenerator("Flag",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.1*a,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Move,0,.1*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.1*a,.15*E,0,.35*E,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,E,.1*a,.65*E,.2*a,.85*E,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.5*a,.85*E,.6*a,.65*E,.6*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,.35*E,.4*a,.15*E,.4*a).close()),x}),go.Shape.defineFigureGenerator("Help",function(le,E,a){var x=new go.Geometry,y=.5,z=xe*.5,te=.5,ae=.5,se=new go.PathFigure((te-y)*E,ae*a,!1);x.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(ae-y)*a,(te-y)*E,(ae-z)*a,(te-z)*E,(ae-y)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,(te+y)*E,ae*a,(te+z)*E,(ae-y)*a,(te+y)*E,(ae-z)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(ae+y)*a,(te+y)*E,(ae+z)*a,(te+z)*E,(ae+y)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,(te-y)*E,ae*a,(te-z)*E,(ae+y)*a,(te-y)*E,(ae+z)*a).close()),y=.05,z=xe*.05,te=.5,ae=.8;var ie=new go.PathFigure((te-y)*E,ae*a,!1);return x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(ae-y)*a,(te-y)*E,(ae-z)*a,(te-z)*E,(ae-y)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(te+y)*E,ae*a,(te+z)*E,(ae-y)*a,(te+y)*E,(ae-z)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(ae+y)*a,(te+y)*E,(ae+z)*a,(te+z)*E,(ae+y)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(te-y)*E,ae*a,(te-z)*E,(ae+y)*a,(te-y)*E,(ae+z)*a).close()),ie.add(new go.PathSegment(go.PathSegment.Move,.5*E,.7*a)),ie.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.2*a,.75*E,.475*a,.75*E,.225*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,.3*E,.35*a,.4*E,.2*a,.3*E,.25*a)),x}),go.Shape.defineFigureGenerator("Location",function(le,E,a){return new go.Geometry().add(new go.PathFigure(.5*E,a,!0).add(new go.PathSegment(go.PathSegment.Line,.75*E,.5*a)).add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,.975*E,.025*a,.5*E,0)).add(new go.PathSegment(go.PathSegment.Bezier,.25*E,.5*a,.5*E,0,.025*E,.025*a).close()).add(new go.PathSegment(go.PathSegment.Move,.5*E,.2*a)).add(new go.PathSegment(go.PathSegment.Arc,270,360,.5*E,.3*a,.1*E,.1*a).close()))}),go.Shape.defineFigureGenerator("Lock",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.5*a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.5*a));var z=new go.PathFigure(.2*E,.5*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Move,.2*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,.2*E,.3*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,.3*a,.25*E,0,.75*E,0)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.3*a)),x}),go.Shape.defineFigureGenerator("Unlocked",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.5*a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.5*a));var z=new go.PathFigure(.2*E,.5*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Move,.2*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,.2*E,.3*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,.3*a,.25*E,0,.75*E,0)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.35*a)),x}),go.Shape.defineFigureGenerator("Gear",function(le,E,a){return new go.Geometry().add(new go.PathFigure(.9375*E,.56246875*a,!0).add(new go.PathSegment(go.PathSegment.Line,.9375*E,.4375*a)).add(new go.PathSegment(go.PathSegment.Line,.80621875*E,.4375*a)).add(new go.PathSegment(go.PathSegment.Bezier,.763*E,.3316875*a,.79840625*E,.39915625*a,.7834375*E,.3635*a)).add(new go.PathSegment(go.PathSegment.Line,.8566875*E,.23796875*a)).add(new go.PathSegment(go.PathSegment.Line,.76825*E,.14959375*a)).add(new go.PathSegment(go.PathSegment.Line,.67596875*E,.24184375*a)).add(new go.PathSegment(go.PathSegment.Bezier,.5625*E,.19378125*a,.64228125*E,.2188125*a,.603875*E,.2021875*a)).add(new go.PathSegment(go.PathSegment.Line,.5625*E,.0625*a)).add(new go.PathSegment(go.PathSegment.Line,.4375*E,.0625*a)).add(new go.PathSegment(go.PathSegment.Line,.4375*E,.19378125*a)).add(new go.PathSegment(go.PathSegment.Bezier,.32775*E,.239375*a,.39759375*E,.20190625*a,.36053125*E,.2176875*a)).add(new go.PathSegment(go.PathSegment.Line,.2379375*E,.14959375*a)).add(new go.PathSegment(go.PathSegment.Line,.14953125*E,.2379375*a)).add(new go.PathSegment(go.PathSegment.Line,.23934375*E,.3278125*a)).add(new go.PathSegment(go.PathSegment.Bezier,.19378125*E,.4375*a,.21765625*E,.36059375*a,.201875*E,.397625*a)).add(new go.PathSegment(go.PathSegment.Line,.0625*E,.4375*a)).add(new go.PathSegment(go.PathSegment.Line,.0625*E,.5625*a)).add(new go.PathSegment(go.PathSegment.Line,.1938125*E,.5625*a)).add(new go.PathSegment(go.PathSegment.Bezier,.241875*E,.67596875*a,.20221875*E,.603875*a,.21884375*E,.64228125*a)).add(new go.PathSegment(go.PathSegment.Line,.1495625*E,.76825*a)).add(new go.PathSegment(go.PathSegment.Line,.238*E,.8566875*a)).add(new go.PathSegment(go.PathSegment.Line,.3316875*E,.76296875*a)).add(new go.PathSegment(go.PathSegment.Bezier,.43753125*E,.80621875*a,.36353125*E,.78340625*a,.3991875*E,.79840625*a)).add(new go.PathSegment(go.PathSegment.Line,.43753125*E,.9375*a)).add(new go.PathSegment(go.PathSegment.Line,.5625*E,.9375*a)).add(new go.PathSegment(go.PathSegment.Line,.5625*E,.80621875*a)).add(new go.PathSegment(go.PathSegment.Bezier,.67225*E,.760625*a,.602375*E,.79809375*a,.63946875*E,.78234375*a)).add(new go.PathSegment(go.PathSegment.Line,.76828125*E,.8566875*a)).add(new go.PathSegment(go.PathSegment.Line,.85671875*E,.76825*a)).add(new go.PathSegment(go.PathSegment.Line,.76065625*E,.67221875*a)).add(new go.PathSegment(go.PathSegment.Bezier,.80621875*E,.56246875*a,.78234375*E,.63940625*a,.798125*E,.602375*a)).add(new go.PathSegment(go.PathSegment.Line,.9375*E,.56246875*a).close()).add(new go.PathSegment(go.PathSegment.Move,.5*E,.6*a)).add(new go.PathSegment(go.PathSegment.Arc,90,360,.5*E,.5*a,.1*E,.1*a).close()))}),go.Shape.defineFigureGenerator("Hand",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.5*a,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,.1*E,.3*a,0,.375*a,.05*E,.325*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.45*E,.075*a,.3*E,.225*a,.4*E,.175*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.525*E,.075*a,.46*E,.05*a,.525*E,.05*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.3*E,.4*a,.525*E,.275*a,.475*E,.325*a)),y.add(new go.PathSegment(go.PathSegment.Line,.9*E,.4*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.9*E,.55*a,E,.4*a,E,.55*a)),y.add(new go.PathSegment(go.PathSegment.Line,.425*E,.55*a)),y.add(new go.PathSegment(go.PathSegment.Line,.6*E,.55*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.6*E,.7*a,.675*E,.55*a,.675*E,.7*a)),y.add(new go.PathSegment(go.PathSegment.Line,.4*E,.7*a)),y.add(new go.PathSegment(go.PathSegment.Line,.575*E,.7*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.575*E,.85*a,.65*E,.7*a,.65*E,.85*a)),y.add(new go.PathSegment(go.PathSegment.Line,.4*E,.85*a)),y.add(new go.PathSegment(go.PathSegment.Line,.525*E,.85*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.535*E,a,.61*E,.85*a,.61*E,a)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,.435*E,a,0,a).close()),x}),go.Shape.defineFigureGenerator("Map",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.2*a,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.25*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.25*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),y.add(new go.PathSegment(go.PathSegment.Move,.25*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.25*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Move,.5*E,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),y.add(new go.PathSegment(go.PathSegment.Move,.75*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,.8*a)),x}),go.Shape.defineFigureGenerator("Eject",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a*.7)),y.add(new go.PathSegment(go.PathSegment.Line,0,a*.7).close());var z=new go.PathFigure(0,a*.6,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,.6*a)),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,0).close()),x}),go.Shape.defineFigureGenerator("Pencil",function(le,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.2*E,.1*a)).add(new go.PathSegment(go.PathSegment.Line,E,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.9*E,a)).add(new go.PathSegment(go.PathSegment.Line,.1*E,.2*a).close()))}),go.Shape.defineFigureGenerator("Building",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(E*1,a*1,!1);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,0,a*.85)),y.add(new go.PathSegment(go.PathSegment.Line,.046*E,a*.85)),y.add(new go.PathSegment(go.PathSegment.Line,.046*E,a*.45)),y.add(new go.PathSegment(go.PathSegment.Line,0,a*.45)),y.add(new go.PathSegment(go.PathSegment.Line,0,a*.3)),y.add(new go.PathSegment(go.PathSegment.Line,.046*E,a*.3)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a*0)),y.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*E,a*.3)),y.add(new go.PathSegment(go.PathSegment.Line,E,a*.3)),y.add(new go.PathSegment(go.PathSegment.Line,E,a*.45)),y.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*E,a*.45)),y.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*E,a*.85)),y.add(new go.PathSegment(go.PathSegment.Line,E,a*.85).close());var z=new go.PathFigure(.126*E,.85*a,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.126*E,.45*a)),z.add(new go.PathSegment(go.PathSegment.Line,.322*E,.45*a)),z.add(new go.PathSegment(go.PathSegment.Line,.322*E,.85*a).close());var te=new go.PathFigure(.402*E,.85*a,!1);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.402*E,.45*a)),te.add(new go.PathSegment(go.PathSegment.Line,.598*E,.45*a)),te.add(new go.PathSegment(go.PathSegment.Line,.598*E,.85*a).close());var ae=new go.PathFigure(.678*E,.85*a,!1);x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,.678*E,.45*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.874*E,.45*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.874*E,.85*a).close());var se=new go.PathFigure(.5*E,.1*a,!1);return x.add(se),se.add(new go.PathSegment(go.PathSegment.Line,(.046+.15)*E,.3*a)),se.add(new go.PathSegment(go.PathSegment.Line,(1-(.046+.15))*E,.3*a).close()),x}),go.Shape.defineFigureGenerator("Staircase",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,a*1,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E*.2,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*.2,a*.8)),y.add(new go.PathSegment(go.PathSegment.Line,E*.4,a*.8)),y.add(new go.PathSegment(go.PathSegment.Line,E*.4,a*.6)),y.add(new go.PathSegment(go.PathSegment.Line,E*.6,a*.6)),y.add(new go.PathSegment(go.PathSegment.Line,E*.6,a*.4)),y.add(new go.PathSegment(go.PathSegment.Line,E*.8,a*.4)),y.add(new go.PathSegment(go.PathSegment.Line,E*.8,a*.2)),y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*.2)),y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*.15)),y.add(new go.PathSegment(go.PathSegment.Line,E*.75,a*.15)),y.add(new go.PathSegment(go.PathSegment.Line,E*.75,a*.35)),y.add(new go.PathSegment(go.PathSegment.Line,E*.55,a*.35)),y.add(new go.PathSegment(go.PathSegment.Line,E*.55,a*.55)),y.add(new go.PathSegment(go.PathSegment.Line,E*.35,a*.55)),y.add(new go.PathSegment(go.PathSegment.Line,E*.35,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.15,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.15,a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,0,a*.95).close()),x}),go.Shape.defineFigureGenerator("5Bars",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,a*1,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E*.184,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*.184,a*(1-.184)).close());var z=new go.PathFigure(E*.204,a,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E*.204,a*(1-.184))),z.add(new go.PathSegment(go.PathSegment.Line,E*.388,a*(1-.184*2))),z.add(new go.PathSegment(go.PathSegment.Line,E*.388,a*1).close());var te=new go.PathFigure(E*.408,a,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E*.408,a*(1-.184*2))),te.add(new go.PathSegment(go.PathSegment.Line,E*.592,a*(1-.184*3))),te.add(new go.PathSegment(go.PathSegment.Line,E*.592,a*1).close());var ae=new go.PathFigure(E*.612,a,!0);x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,E*.612,a*(1-.184*3))),ae.add(new go.PathSegment(go.PathSegment.Line,E*.796,a*(1-.184*4))),ae.add(new go.PathSegment(go.PathSegment.Line,E*.796,a*1).close());var se=new go.PathFigure(E*.816,a,!0);return x.add(se),se.add(new go.PathSegment(go.PathSegment.Line,E*.816,a*(1-.184*4))),se.add(new go.PathSegment(go.PathSegment.Line,E*1,a*(1-.184*5))),se.add(new go.PathSegment(go.PathSegment.Line,E*1,a*1).close()),x}),go.Shape.defineFigureGenerator("PC",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*.3,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*.3,0).close());var z=new go.PathFigure(E*.055,.07*a,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E*.245,a*.07)),z.add(new go.PathSegment(go.PathSegment.Line,E*.245,a*.1)),z.add(new go.PathSegment(go.PathSegment.Line,E*.055,a*.1).close());var te=new go.PathFigure(E*.055,.13*a,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E*.245,a*.13)),te.add(new go.PathSegment(go.PathSegment.Line,E*.245,a*.16)),te.add(new go.PathSegment(go.PathSegment.Line,E*.055,a*.16).close());var ae=new go.PathFigure(E*.055,.18*a,!0);x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,E*.245,a*.18)),ae.add(new go.PathSegment(go.PathSegment.Line,E*.245,a*.21)),ae.add(new go.PathSegment(go.PathSegment.Line,E*.055,a*.21).close());var se=new go.PathFigure(E*1,0,!0);return x.add(se),se.add(new go.PathSegment(go.PathSegment.Line,E*.4,0)),se.add(new go.PathSegment(go.PathSegment.Line,E*.4,a*.65)),se.add(new go.PathSegment(go.PathSegment.Line,E*1,a*.65).close()),x}),go.Shape.defineFigureGenerator("Plane",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(.55*E,a,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,.4*E,.7*a)),y.add(new go.PathSegment(go.PathSegment.Line,.1*E,.475*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.35*E,.525*a,0,.4*a,.225*E,.45*a)),y.add(new go.PathSegment(go.PathSegment.Line,.4*E,.475*a)),y.add(new go.PathSegment(go.PathSegment.Line,.15*E,.35*a)),y.add(new go.PathSegment(go.PathSegment.Line,.2*E,.325*a)),y.add(new go.PathSegment(go.PathSegment.Line,.6*E,.325*a)),y.add(new go.PathSegment(go.PathSegment.Line,.85*E,.1*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.9*E,.2*a,.975*E,0,E,.08*a)),y.add(new go.PathSegment(go.PathSegment.Line,.7*E,.45*a)),y.add(new go.PathSegment(go.PathSegment.Line,.6*E,.95*a)),y.add(new go.PathSegment(go.PathSegment.Line,.55*E,a).close()),x}),go.Shape.defineFigureGenerator("Key",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(E*1,a*.5,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E*.9,.4*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.5,.4*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.5,.35*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.45,.35*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.3,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.15,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.35*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.65*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.15,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.3,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.45,.65*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.5,.65*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.5,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.6,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.65,.55*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.7,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.75,.55*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.8,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.85,.575*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.9,.6*a).close()),y.add(new go.PathSegment(go.PathSegment.Move,.17*E,.425*a)),y.add(new go.PathSegment(go.PathSegment.Arc,270,360,.17*E,.5*a,.075*E,.075*a).close()),x}),go.Shape.defineFigureGenerator("FilmTape",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!1);x.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,270,180,E*0,E*.3,E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,0,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*.08,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*.08,a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*1),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*1),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*2),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*2),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*3),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*3),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*4),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*4),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*5),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*5),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*6),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*6),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*7),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*7),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*8),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*8),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*9),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*9),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*10),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*10),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*11),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*11),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*12),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*12),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*13),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*13),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*14),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*14),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*15),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*15),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*1));var z=new go.PathFigure(0,0,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E*1,a*0)),z.add(new go.PathSegment(go.PathSegment.Arc,270,-180,E*1,E*.3,E*.055)),z.add(new go.PathSegment(go.PathSegment.Line,E*1,a*1));var te=new go.PathFigure(E*.11,a*.1,!1);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*1+.028*0),a*.1)),te.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*1+.028*0),a*.8)),te.add(new go.PathSegment(go.PathSegment.Line,E*.11,a*.8).close());var ae=new go.PathFigure(E*(.11+.24133333*1+.028*1),a*.1,!1);x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*2+.028*1),a*.1)),ae.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*2+.028*1),a*.8)),ae.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*1+.028*1),a*.8).close());var se=new go.PathFigure(E*(.11+.24133333*2+.028*2),a*.1,!1);return x.add(se),se.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*3+.028*2),a*.1)),se.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*3+.028*2),a*.8)),se.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*2+.028*2),a*.8).close()),x}),go.Shape.defineFigureGenerator("FloppyDisk",function(le,E,a){var x=new go.Geometry,y=8,z=y*xe,te=new go.PathFigure(y,0,!1);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E*.86,0)),te.add(new go.PathSegment(go.PathSegment.Line,E*1,a*.14)),te.add(new go.PathSegment(go.PathSegment.Line,E,a-y)),te.add(new go.PathSegment(go.PathSegment.Bezier,E-y,a,E,a-z,E-z,a)),te.add(new go.PathSegment(go.PathSegment.Line,y,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,a-y,z,a,0,a-z)),te.add(new go.PathSegment(go.PathSegment.Line,0,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,y,0,0,z,z,0).close());var ae=new go.PathFigure(E*.83,0,!1);x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,E*.83,a*.3)),ae.add(new go.PathSegment(go.PathSegment.Line,E*.17,a*.3)),ae.add(new go.PathSegment(go.PathSegment.Line,E*.17,a*0).close());var se=new go.PathFigure(E*.83,a*1,!1);x.add(se),se.add(new go.PathSegment(go.PathSegment.Line,E*.83,a*.5)),se.add(new go.PathSegment(go.PathSegment.Line,E*.17,a*.5)),se.add(new go.PathSegment(go.PathSegment.Line,E*.17,a*1).close());var ie=new go.PathFigure(E*.78,a*.05,!1);return x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*.05)),ie.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*.25)),ie.add(new go.PathSegment(go.PathSegment.Line,E*.78,a*.25).close()),x}),go.Shape.defineFigureGenerator("SpeechBubble",function(le,E,a){var x=le?le.parameter1:NaN;(isNaN(x)||x<0)&&(x=15),x=Math.min(x,E/3),x=Math.min(x,a/3);var y=x*xe,z=a*.8,te=new go.Geometry,ae=new go.PathFigure(x,0,!0);return te.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,E-x,0)),ae.add(new go.PathSegment(go.PathSegment.Bezier,E,x,E-y,0,E,y)),ae.add(new go.PathSegment(go.PathSegment.Line,E,z-x)),ae.add(new go.PathSegment(go.PathSegment.Bezier,E-x,z,E,z-y,E-y,z)),ae.add(new go.PathSegment(go.PathSegment.Line,E*.7,z)),ae.add(new go.PathSegment(go.PathSegment.Line,E*.7,a)),ae.add(new go.PathSegment(go.PathSegment.Line,E*.55,z)),ae.add(new go.PathSegment(go.PathSegment.Line,x,z)),ae.add(new go.PathSegment(go.PathSegment.Bezier,0,z-x,y,z,0,z-y)),ae.add(new go.PathSegment(go.PathSegment.Line,0,x)),ae.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,y,y,0).close()),y>1?(te.spot1=new go.Spot(0,0,y,y),te.spot2=new go.Spot(1,.8,-y,-y)):(te.spot1=go.Spot.TopLeft,te.spot2=new go.Spot(1,.8)),te}),go.Shape.defineFigureGenerator("Repeat",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(E*0,a*.45,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E*.25,a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*.5,a*.45)),y.add(new go.PathSegment(go.PathSegment.Line,E*.3,a*.45)),y.add(new go.PathSegment(go.PathSegment.Line,E*.3,a*.9)),y.add(new go.PathSegment(go.PathSegment.Line,E*.6,a*.9)),y.add(new go.PathSegment(go.PathSegment.Line,E*.65,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*.2,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*.2,a*.45).close());var z=new go.PathFigure(E*1,a*.55,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E*.75,a*1)),z.add(new go.PathSegment(go.PathSegment.Line,E*.5,a*.55)),z.add(new go.PathSegment(go.PathSegment.Line,E*.7,a*.55)),z.add(new go.PathSegment(go.PathSegment.Line,E*.7,a*.1)),z.add(new go.PathSegment(go.PathSegment.Line,E*.4,a*.1)),z.add(new go.PathSegment(go.PathSegment.Line,E*.35,a*0)),z.add(new go.PathSegment(go.PathSegment.Line,E*.8,a*0)),z.add(new go.PathSegment(go.PathSegment.Line,E*.8,a*.55).close()),x}),go.Shape.defineFigureGenerator("Windows",function(le,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close()).add(new go.PathSegment(go.PathSegment.Move,.4*E,.4*a)).add(new go.PathSegment(go.PathSegment.Line,.4*E,.8*a)).add(new go.PathSegment(go.PathSegment.Line,.9*E,.8*a)).add(new go.PathSegment(go.PathSegment.Line,.9*E,.4*a).close()).add(new go.PathSegment(go.PathSegment.Move,.2*E,.1*a)).add(new go.PathSegment(go.PathSegment.Line,.2*E,.6*a)).add(new go.PathSegment(go.PathSegment.Line,.7*E,.6*a)).add(new go.PathSegment(go.PathSegment.Line,.7*E,.1*a).close()).add(new go.PathSegment(go.PathSegment.Move,.1*E,.6*a)).add(new go.PathSegment(go.PathSegment.Line,.1*E,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.5*E,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.5*E,.6*a).close()))}),go.Shape.defineFigureGenerator("Terminal",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(E*0,a*.1,!1);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*.1)),y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*.9)),y.add(new go.PathSegment(go.PathSegment.Line,E*0,a*.9).close());var z=new go.PathFigure(E*.1,a*.2,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E*.1,a*.25)),z.add(new go.PathSegment(go.PathSegment.Line,E*.22,a*.285)),z.add(new go.PathSegment(go.PathSegment.Line,E*.1,a*.32)),z.add(new go.PathSegment(go.PathSegment.Line,E*.1,a*.37)),z.add(new go.PathSegment(go.PathSegment.Line,E*.275,a*.32)),z.add(new go.PathSegment(go.PathSegment.Line,E*.275,a*.25).close());var te=new go.PathFigure(E*.28,a*.37,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E*.45,a*.37)),te.add(new go.PathSegment(go.PathSegment.Line,E*.45,a*.41)),te.add(new go.PathSegment(go.PathSegment.Line,E*.28,a*.41).close()),x}),go.Shape.defineFigureGenerator("Beaker",function(le,E,a){var x=new go.Geometry,y=15,z=y*xe,te=new go.PathFigure(E*.62,a*.475,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E,a-y)),te.add(new go.PathSegment(go.PathSegment.Bezier,E-y,a,E,a-z,E-z,a)),te.add(new go.PathSegment(go.PathSegment.Line,y,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,a-y,z,a,0,a-z)),te.add(new go.PathSegment(go.PathSegment.Line,E*.38,a*.475)),te.add(new go.PathSegment(go.PathSegment.Line,E*.38,a*.03)),te.add(new go.PathSegment(go.PathSegment.Line,E*.36,a*0)),te.add(new go.PathSegment(go.PathSegment.Line,E*.64,a*0)),te.add(new go.PathSegment(go.PathSegment.Line,E*.62,a*.03).close()),z>1?(x.spot1=new go.Spot(0,0,z,z),x.spot2=new go.Spot(1,1,-z,-z)):(x.spot1=go.Spot.TopLeft,x.spot2=go.Spot.BottomRight),x}),go.Shape.defineFigureGenerator("Download",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(E*0,a*1,!0);x.add(y);var z=.1/.3;y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*.8,a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,E*.755,a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,E*.93,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*.64,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*.61,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.5,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.39,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.36,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*.07,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*(1-.755),a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,E*(1-.66),a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,E*(1-.66),a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*(1-.8),a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*0,a*(1-z)).close());var te=new go.PathFigure(E*.4,a*0,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E*.4,a*.44)),te.add(new go.PathSegment(go.PathSegment.Line,E*.26,a*.44)),te.add(new go.PathSegment(go.PathSegment.Line,E*.5,a*.66)),te.add(new go.PathSegment(go.PathSegment.Line,E*(1-.26),a*.44)),te.add(new go.PathSegment(go.PathSegment.Line,E*.6,a*.44)),te.add(new go.PathSegment(go.PathSegment.Line,E*.6,a*0).close()),x}),go.Shape.defineFigureGenerator("Bin",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(E*0,a*1,!0);x.add(y);var z=.1/.3;return y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*.8,a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,E*.755,a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,E*.93,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*.64,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*.61,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.5,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.39,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.36,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*.07,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*(1-.755),a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,E*(1-.66),a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,E*(1-.66),a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*(1-.8),a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*0,a*(1-z)).close()),x}),go.Shape.defineFigureGenerator("Upload",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(E*0,a*1,!0);x.add(y);var z=.1/.3;y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*.8,a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,E*.755,a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,E*.93,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*.64,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*.61,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.5,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.39,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.36,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*.07,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*(1-.755),a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,E*(1-.66),a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,E*(1-.66),a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*(1-.8),a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*0,a*(1-z)).close());var te=new go.PathFigure(E*.5,a*0,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E*.26,a*.25)),te.add(new go.PathSegment(go.PathSegment.Line,E*.4,a*.25)),te.add(new go.PathSegment(go.PathSegment.Line,E*.4,a*.63)),te.add(new go.PathSegment(go.PathSegment.Line,E*.6,a*.63)),te.add(new go.PathSegment(go.PathSegment.Line,E*.6,a*.25)),te.add(new go.PathSegment(go.PathSegment.Line,E*.74,a*.25).close()),x}),go.Shape.defineFigureGenerator("EmptyDrink",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(E*.15,a*0,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E*.85,a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*.7,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*.3,a*1).close()),x}),go.Shape.defineFigureGenerator("Drink",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(E*.15,a*0,!1);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E*.85,a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*.7,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*.3,a*1).close());var z=new go.PathFigure(E*.235,a*.28,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E*.765,a*.28)),z.add(new go.PathSegment(go.PathSegment.Line,E*.655,a*.97)),z.add(new go.PathSegment(go.PathSegment.Line,E*.345,a*.97).close()),x}),go.Shape.defineFigureGenerator("4Arrows",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(E*.5,a*0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E*.65,a*.25)),y.add(new go.PathSegment(go.PathSegment.Line,E*.55,a*.25)),y.add(new go.PathSegment(go.PathSegment.Line,E*.55,a*.45)),y.add(new go.PathSegment(go.PathSegment.Line,E*.75,a*.45)),y.add(new go.PathSegment(go.PathSegment.Line,E*.75,a*.35)),y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*.5)),y.add(new go.PathSegment(go.PathSegment.Line,E*.75,a*.65)),y.add(new go.PathSegment(go.PathSegment.Line,E*.75,a*.55)),y.add(new go.PathSegment(go.PathSegment.Line,E*.55,a*.55)),y.add(new go.PathSegment(go.PathSegment.Line,E*.55,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.65,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.5,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*.35,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.45,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.45,a*.55)),y.add(new go.PathSegment(go.PathSegment.Line,E*.25,a*.55)),y.add(new go.PathSegment(go.PathSegment.Line,E*.25,a*.65)),y.add(new go.PathSegment(go.PathSegment.Line,E*0,a*.5)),y.add(new go.PathSegment(go.PathSegment.Line,E*.25,a*.35)),y.add(new go.PathSegment(go.PathSegment.Line,E*.25,a*.45)),y.add(new go.PathSegment(go.PathSegment.Line,E*.45,a*.45)),y.add(new go.PathSegment(go.PathSegment.Line,E*.45,a*.25)),y.add(new go.PathSegment(go.PathSegment.Line,E*.35,a*.25).close()),x}),go.Shape.defineFigureGenerator("Connector","Ellipse"),go.Shape.defineFigureGenerator("Alternative","TriangleUp"),go.Shape.defineFigureGenerator("Merge","TriangleUp"),go.Shape.defineFigureGenerator("Decision","Diamond"),go.Shape.defineFigureGenerator("DataTransmissions","Hexagon"),go.Shape.defineFigureGenerator("Gate","Crescent"),go.Shape.defineFigureGenerator("Delay","HalfEllipse"),go.Shape.defineFigureGenerator("Input","Parallelogram1"),go.Shape.defineFigureGenerator("ManualLoop","ManualOperation"),go.Shape.defineFigureGenerator("ISOProcess","Chevron"),go.Shape.defineFigureGenerator("MessageToUser","SquareArrow"),go.Shape.defineFigureGenerator("MagneticData","Cylinder1"),go.Shape.defineFigureGenerator("DirectData","Cylinder4"),go.Shape.defineFigureGenerator("StoredData","DataStorage"),go.Shape.defineFigureGenerator("SequentialData","MagneticTape"),go.Shape.defineFigureGenerator("Subroutine","Procedure")},43001:function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;(function(){if(typeof window.GGBApplet=="function"){console.warn("deployggb.js was loaded twice");return}var isRenderGGBElementEnabled=!1,scriptLoadStarted=!1,html5AppletsToProcess=null,ggbHTML5LoadedCodebaseIsWebSimple=!1,ggbHTML5LoadedCodebaseVersion=null,ggbHTML5LoadedScript=null,GGBApplet=function(){"use strict";for(var yt={},kt="5.0",oe={},b=null,he=!1,De=!1,Ae=null,ke=!1,ze=null,xe=null,tt=0;tt<arguments.length;tt++){var Me=arguments[tt];if(Me!==null)switch(typeof Me){case"number":kt=Me.toFixed(1);break;case"string":Me.match(new RegExp("^[0-9]\\.[0-9]+$"))?kt=Me:Ae=Me;break;case"object":typeof Me.is3D!="undefined"?b=Me:oe=Me;break;case"boolean":he=Me,De=!0;break}}b===null&&(b={is3D:!1,AV:!1,SV:!1,CV:!1,EV2:!1,CP:!1,PC:!1,DA:!1,FI:!1,PV:!1,macro:!1},oe.material_id!==void 0&&!De&&(he=!0)),Ae!==null&&oe.id===void 0&&(oe.id=Ae);var Le="",_e="",He=!1,Ke=null,le=null,E=null,a=!1,x=null,y=null,z=null,te=null,ae=null;oe.height!==void 0&&(oe.height=Math.round(oe.height)),oe.width!==void 0&&(oe.width=Math.round(oe.width));var se=function(Te){return parseFloat(Te)>4?parseFloat(Te):5};yt.setHTML5Codebase=function(Te,ot){xe=Te,nn(Te,ot)},yt.setJavaCodebase=yt.setJavaCodebaseVersion=yt.isCompiledInstalled=yt.setPreCompiledScriptPath=yt.setPreCompiledResourcePath=function(){},yt.setHTML5CodebaseVersion=function(Te,ot){var Ut=parseFloat(Te);if(Ut!==NaN&&Ut<5){console.log("The GeoGebra HTML5 codebase version "+Ut+" is deprecated. Using version latest instead.");return}ze=Te,Pn(Te,ot)},yt.getHTML5CodebaseVersion=function(){return le},yt.getParameters=function(){return oe},yt.setFontsCSSURL=function(Te){te=Te},yt.setGiacJSURL=function(Te){},yt.setJNLPFile=function(Te){Le=Te},yt.setJNLPBaseDir=function(Te){},yt.inject=function(){function Te(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var ot="auto",Ut=oe.id,xn,At=!1,ln=0;ln<arguments.length;ln++){var Ce=arguments[ln];typeof Ce=="string"?(Ce=Ce.toLowerCase(),Ce.match(/^(prefer)?(java|html5|compiled|auto|screenshot)$/)?ot=Ce:Ut=arguments[ln]):typeof Ce=="boolean"?At=Ce:Ce instanceof HTMLElement&&(xn=Ce)}ut();function ut(){if(!ke){setTimeout(ut,200);return}ot=Lt(ot);var Xt=xn||document.getElementById(Ut);if(!Xt){console.log("possibly bug on ajax loading? ");return}if(yt.removeExistingApplet(Xt,!1),oe.width===void 0&&Xt.clientWidth&&(oe.width=Xt.clientWidth),oe.height===void 0&&Xt.clientHeight&&(oe.height=Xt.clientHeight),!(oe.width&&oe.height)&&ot==="html5"&&(delete oe.width,delete oe.height),Ke=ot,ot==="screenshot")Qe(Xt,oe);else{var nt=!1;oe.hasOwnProperty("playButton")&&oe.playButton||oe.hasOwnProperty("clickToLoad")&&oe.clickToLoad?nt=!0:oe.hasOwnProperty("playButtonAutoDecide")&&oe.playButtonAutoDecide&&(nt=(!ie()||Te())&&Se()),nt?(Ke="screenshot",we(Xt,oe,At,ot)):Je(Xt,oe,At)}}};function ie(){try{return window.self!==window.top}catch(Te){return!0}}function Se(){return oe.hasOwnProperty("screenshotGenerator")&&oe.screenshotGenerator?!1:Math.max(screen.width,screen.height)<800}yt.getViews=function(){return b},yt.isJavaInstalled=function(){return!1};var Fe=function(Te){var ot=function(ln){var Ce=JSON.parse(ln),ut=function(Pt){return Pt.type=="G"||Pt.type=="E"},Xt=Ce.elements?Ce.elements.filter(ut)[0]:Ce;if(!Xt||!Xt.url){Ut();return}oe.fileName=Xt.url,We(Xt.settings||{}),b.is3D=!0;var nt="https://www.geogebra.org/images/";yt.setPreviewImage(x||Xt.previewUrl,nt+"GeoGebra_loading.png",nt+"applet_play.png"),Te()},Ut=function(){oe.onError&&oe.onError(),Wt("Error: Fetching material (id "+oe.material_id+") failed.",oe)},xn=location.host.match(/(www|stage|beta|groot|alpha).geogebra.(org|net)/)?location.host:"www.geogebra.org",At="/materials/"+oe.material_id+"?scope=basic";Ne("https://"+xn+"/api/proxy.php?path="+encodeURIComponent(At),ot,Ut)};function We(Te){var ot=["width","height","showToolBar","showMenuBar","showAlgebraInput","allowStyleBar","showResetIcon","enableLabelDrags","enableShiftDragZoom","enableRightClick","appName"];["enableLabelDrags","enableShiftDragZoom","enableRightClick"].forEach(function(Ut){Te[Ut]=!!Te[Ut]}),ot.forEach(function(Ut){oe[Ut]===void 0&&Te[Ut]!==void 0&&(oe[Ut]=Te[Ut])}),oe.showToolBarHelp===void 0&&(oe.showToolBarHelp=oe.showToolBar)}function Ne(Te,ot,Ut){var xn=new XMLHttpRequest;xn.open("GET",Te),xn.onload=function(){ot(xn.responseText)},xn.onerror=Ut,xn.send()}yt.isHTML5Installed=function(){return!0},yt.getLoadedAppletType=function(){return Ke},yt.setPreviewImage=function(Te,ot,Ut){x=Te,y=ot,z=Ut},yt.removeExistingApplet=function(Te,ot){var Ut;typeof Te=="string"&&(Te=document.getElementById(Te)),Ke=null;var xn=null;for(Ut=0;Ut<Te.childNodes.length;Ut++){var At=Te.childNodes[Ut],ln=At.className;ln==="applet_screenshot"?ot?(At.style.display="block",Ke="screenshot"):At.style.display="none":ln!=="applet_scaler prerender"&&(Te.removeChild(At),xn=ln&&ln.indexOf("appletParameters")!=-1?At.id:null,Ut--)}var Ce=oe.id!==void 0?oe.id:xn,ut=window[Ce];ut&&typeof ut.getBase64=="function"&&(ut.remove(),window[Ce]=null)},yt.refreshHitPoints=function(){if(se(ggbHTML5LoadedCodebaseVersion)>=5)return!0;var Te=yt.getAppletObject();return Te&&typeof Te.recalculateEnvironments=="function"?(Te.recalculateEnvironments(),!0):!1},yt.startAnimation=function(){var Te=yt.getAppletObject();return Te&&typeof Te.startAnimation=="function"?(Te.startAnimation(),!0):!1},yt.stopAnimation=function(){var Te=yt.getAppletObject();return Te&&typeof Te.stopAnimation=="function"?(Te.stopAnimation(),!0):!1},yt.getAppletObject=function(){var Te=oe.id!==void 0?oe.id:"ggbApplet";return window[Te]},yt.resize=function(){};var mt=function(Te,ot,Ut){var xn=document.createElement("param");xn.setAttribute("name",ot),xn.setAttribute("value",Ut),Te.appendChild(xn)},Re=function(Te){return Te&&Te!=="false"},Je=function(Te,ot,Ut){se(le)<=4.2&&(Ut=!0);var xn=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==le||ggbHTML5LoadedCodebaseIsWebSimple&&!a)&&(xn=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var At=document.createElement("div");At.classList.add("appletParameters","notranslate");var ln=ot.width,Ce=ot.height;if(ot.disableAutoScale=ot.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():ot.disableAutoScale,ot.width!==void 0)if(se(le)<=4.4)Re(ot.showToolBar)&&(ot.height-=7),Re(ot.showAlgebraInput)&&(ot.height-=37),ot.width<605&&Re(ot.showToolBar)&&(ot.width=605,ln=605);else{var ut=100;(Re(ot.showToolBar)||Re(ot.showMenuBar))&&(ot.hasOwnProperty("customToolBar")&&(ot.customToolbar=ot.customToolBar),ut=Re(ot.showMenuBar)?245:155),ln<ut&&(ot.width=ut,ln=ut)}At.style.border="none",At.style.display="inline-block";for(var Xt in ot)ot.hasOwnProperty(Xt)&&Xt!=="appletOnLoad"&&At.setAttribute("data-param-"+Xt,ot[Xt]);te&&At.setAttribute("data-param-fontscssurl",te),yt.resize=function(){GGBAppletUtils.responsiveResize(Te,ot)},window.addEventListener("resize",function(zn){yt.resize()});var nt=typeof ot.appletOnLoad=="function"?ot.appletOnLoad:function(){};if(!Ut&&ot.width!==void 0){ot.hasOwnProperty("showSplash")||At.setAttribute("data-param-showSplash","false");var Pt=Te.querySelector(".applet_scaler.prerender"),_n=Pt!==null;if(_n)var sn=Pt.querySelector(".ggb_preview");else{var sn=ct(ln,Ce,ot.borderColor,!1);Pt=document.createElement("div"),Pt.className="applet_scaler",Pt.style.position="relative",Pt.style.display="block",Pt.style.width=ln+"px",Pt.style.height=Ce+"px"}window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(Pt,"66%"),se(le)>=5?(ot.appletOnLoad=function(zn){var xa=Te.querySelector(".ggb_preview");xa&&xa.parentNode.removeChild(xa),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(Pt),window.GGBT_wsf_view&&$(window).trigger("resize"),nt(zn)},_n||Pt.appendChild(sn)):At.appendChild(sn),Pt.appendChild(At),_n||Te.appendChild(Pt),setTimeout(function(){yt.resize()},1)}else{var Rt=document.createElement("div");Rt.className="applet_scaler",Rt.style.position="relative",Rt.style.display="block",Rt.appendChild(At),Te.appendChild(Rt),ot.appletOnLoad=function(zn){yt.resize(),nt(zn)}}function Mt(zn,xa){xa&&typeof xa.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(zn,xa.appletOnLoad):renderGGBElement(zn),Wt("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",xa)}function Yn(zn,xa){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:zn,params:xa}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(dr){Mt(dr.article,dr.params)}),html5AppletsToProcess=null)},se(le)<5&&(zn.className+=" geogebraweb")):Mt(zn,xa)}if(xn){scriptLoadStarted=!0;for(var aa=0;aa<At.childNodes.length;aa++){var tn=At.childNodes[aa].tagName;tn==="TABLE"&&(At.removeChild(At.childNodes[aa]),aa--)}if(ggbHTML5LoadedScript!==null){var ba=document.querySelector('script[src="'+ggbHTML5LoadedScript+'"]');ba!=null&&ba.parentNode.removeChild(ba)}var _a=document.createElement("script"),ya=function(){Yn(At,ot)};_a.src=_e+E,ggbHTML5LoadedCodebaseIsWebSimple=a,ggbHTML5LoadedCodebaseVersion=le,ggbHTML5LoadedScript=_a.src,Wt("GeoGebra HTML5 codebase loaded: '"+_e+"'.",ot),!xe&&(!ze||ze=="5.0")?(a?webSimple.succeeded=webSimple.succeeded||webSimple():web3d.succeeded=web3d.succeeded||web3d(),ya()):_e.requirejs?__webpack_require__.e(7963).then(function(){var zn=[__webpack_require__(87963)];ya.apply(null,zn)}.bind(this)).catch(__webpack_require__.oe):(_a.onload=ya,Te.appendChild(_a))}else Yn(At,ot);ot.height=Ce,ot.width=ln},Qe=function(Te,ot,Ut){var xn=ct(ot.width,ot.height,ot.borderColor,Ut),At=document.createElement("div");At.style.position="relative",At.style.display="block",At.style.width=ot.width+"px",At.style.height=ot.height+"px",At.className="applet_screenshot applet_scaler"+(Ut?" applet_screenshot_play":""),At.appendChild(xn);var ln=GGBAppletUtils.getScale(ot,Te,Ut);Ut?(Te.appendChild(ht()),window.GGBT_wsf_view||(Te.style.position="relative")):window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(At,"66%"),Te.appendChild(At),ln!==1&&!isNaN(ln)&&(GGBAppletUtils.scaleElement(At,ln),At.style.width=ot.width+"px",At.style.height=ot.height+"px",At.parentNode.style.width=ot.width*ln+"px",At.parentNode.style.height=ot.height*ln+"px"),yt.resize=function(){et(Te,xn,At,Ut)},window.addEventListener("resize",function(Ce){yt.resize()}),yt.resize()};function et(Te,ot,Ut,xn){if(Te.contains(ot)){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(Te.id!=="fullscreencontent")return;window.GGBT_wsf_view.setCloseBtnPosition(Te)}var At=GGBAppletUtils.getScale(oe,Te,xn);Ut.parentNode!==null&&(!isNaN(At)&&At!==1?(GGBAppletUtils.scaleElement(Ut,At),Ut.parentNode.style.width=oe.width*At+"px",Ut.parentNode.style.height=oe.height*At+"px"):(GGBAppletUtils.scaleElement(Ut,1),Ut.parentNode.style.width=oe.width+"px",Ut.parentNode.style.height=oe.height+"px")),typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&GGBAppletUtils.positionCenter(Te),typeof window.GGBT_ws_header_footer=="object"&&window.GGBT_ws_header_footer.setWsScrollerHeight()}}yt.onExitFullscreen=function(Te,ot){ot.appendChild(Te)};var we=function(Te,ot,Ut,xn){Qe(Te,ot,!0);for(var At=function(){var ut=[];for(Ce=0;Ce<Te.childNodes.length;Ce++)ut.push(Te.childNodes[Ce]);if(window.GGBT_wsf_view){var Xt=window.GGBT_wsf_view.renderFullScreen(Te,ot.id),nt=document.getElementById("fullscreencontainer"),Pt=jQuery(Te).find(".fullscreencontent");Pt.length>0?(Xt.remove(),Pt.attr("id","fullscreencontent").show(),jQuery(nt).append(Pt),window.dispatchEvent(new Event("resize"))):Je(Xt,ot,!1),window.GGBT_wsf_view.launchFullScreen(nt)}else Ke=xn,Je(Te,ot,!1);if(!window.GGBT_wsf_view)for(Ce=0;Ce<ut.length;Ce++)Te.removeChild(ut[Ce])},ln=Te.getElementsByClassName("ggb_preview_play"),Ce=0;Ce<ln.length;Ce++)ln[Ce].addEventListener("click",At,!1),ln[Ce].addEventListener("ontouchstart",At,!1);typeof window.ggbAppletPlayerOnload=="function"&&window.ggbAppletPlayerOnload(Te),Se()&&window.GGBT_wsf_view&&$(".wsf-element-fullscreen-button").remove()},ht=function(){var Te=document.createElement("div");if(Te.className="ggb_preview_play icon-applet-play",!window.GGBT_wsf_view){var ot='.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");}',Ut=document.createElement("style");Ut.styleSheet?Ut.styleSheet.cssText=ot:Ut.appendChild(document.createTextNode(ot)),document.getElementsByTagName("head")[0].appendChild(Ut)}return Te},ct=function(Te,ot,Ut,xn){var At=document.createElement("div");At.className="ggb_preview",At.style.position="absolute",At.style.zIndex="90",At.style.width=Te-2+"px",At.style.height=ot-2+"px",At.style.top="0px",At.style.left="0px",At.style.overflow="hidden",At.style.backgroundColor="white";var ln="lightgrey";Ut!==void 0&&(Ut==="none"?ln="transparent":ln=Ut),At.style.border="1px solid "+ln;var Ce=document.createElement("img");if(Ce.style.position="relative",Ce.style.zIndex="1000",Ce.style.top="-1px",Ce.style.left="-1px",x!==null&&Ce.setAttribute("src",x),Ce.style.opacity=.7,y!==null){var ut,Xt,nt;if(!xn){ut=document.createElement("img"),ut.style.position="absolute",ut.style.zIndex="1001",ut.style.opacity=1,Ce.style.opacity=.3,Xt=360,Xt>Te/4*3&&(Xt=Te/4*3),nt=Xt/5.8,ut.setAttribute("src",y),ut.setAttribute("width",Xt),ut.setAttribute("height",nt);var Pt=(Te-Xt)/2,_n=(ot-nt)/2;ut.style.left=Pt+"px",ut.style.top=_n+"px",At.appendChild(ut)}}return At.appendChild(Ce),At},Lt=function(Te){return Te=Te.toLowerCase(),Te==="html5"||Te==="screenshot"?Te:"html5"},gt=["web","webSimple","web3d","tablet","tablet3d","phone"],Pn=function(Te,ot){if(le=Te,ot){nn(le,!0);return}var Ut=!he;if(Ut){var xn=se(le);!isNaN(xn)&&xn<4.4&&(Ut=!1)}var At,ln;window.location.protocol.substr(0,4)==="http"?At=window.location.protocol:At="http:";var Ce=le.indexOf("//");Ce>0?ln=le:Ce===0?ln=At+le:ln="https://www.geogebra.org/apps/5.2.814.0/";for(var ut in gt)if(le.slice(gt[ut].length*-1)===gt[ut]||le.slice((gt[ut].length+1)*-1)===gt[ut]+"/"){nn(ln,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&Ut&&!b.is3D&&!b.AV&&!b.SV&&!b.CV&&!b.EV2&&!b.CP&&!b.PC&&!b.DA&&!b.FI&&!b.PV&&!Re(oe.showToolBar)&&!Re(oe.showMenuBar)&&!Re(oe.showAlgebraInput)&&!Re(oe.enableRightClick)&&(!oe.appName||oe.appName=="classic")?ln+="webSimple/":ln+="web3d/",nn(ln,!1)},nn=function(Te,ot){if(Te.requirejs){_e=Te;return}Te.slice(-1)!=="/"&&(Te+="/"),_e=Te,ot===null&&(ot=Te.indexOf("http")===-1),He=ot,E="web.nocache.js",a=!1;var Ut=_e.split("/");Ut.length>1&&(!ot&&Ut[Ut.length-2]==="webSimple"?(E="webSimple.nocache.js",a=!0):gt.indexOf(Ut[Ut.length-2])>=0&&(E=Ut[Ut.length-2]+".nocache.js")),Ut=Te.split("/"),le=Ut[Ut.length-3],le.substr(0,4)==="test"?le=le.substr(4,1)+"."+le.substr(5,1):(le.substr(0,3)==="war"||le.substr(0,4)==="beta")&&(le="5.0");var xn=parseFloat(le);xn!==NaN&&xn<5&&Te.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+xn+" is deprecated. Using version latest instead."),Pn("5.0",ot))},Wt=function(Te,ot){window.console&&window.console.log&&(!ot||typeof ot.showLogging=="undefined"||ot.showLogging&&ot.showLogging!=="false")&&console.log(Te)};oe.material_id!==void 0?Fe(_t):_t();function _t(){var Te=kt;ze!==null?Te=ze:parseFloat(Te)<5&&(Te="5.0"),Pn(Te,!1),xe!==null&&nn(xe,He),ke=!0}return yt},GGBAppletUtils=function(){"use strict";function yt(){return window.GGBT_wsf_edit!==void 0}function kt(ke,ze){ze!=1?(ke.style.transformOrigin="0% 0% 0px",ke.style.webkitTransformOrigin="0% 0% 0px",ke.style.transform="scale("+ze+","+ze+")",ke.style.webkitTransform="scale("+ze+","+ze+")",ke.style.maxWidth="initial",ke.querySelector(".ggb_preview")!==null&&(ke.querySelector(".ggb_preview").style.maxWidth="initial"),ke.querySelectorAll(".ggb_preview img")[0]!==void 0&&(ke.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),ke.querySelectorAll(".ggb_preview img")[1]!==void 0&&(ke.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(ke.style.transform="none",ke.style.webkitTransform="none")}function oe(ke,ze,xe,tt,Me,Le){var _e=null;if(Le!=null&&Le!="")for(var He=ke.parentNode;He!=null;)if((" "+He.className+" ").indexOf(" "+Le+" ")>-1){_e=He;break}else He=He.parentNode;var Ke=0,le=0,E=0,a=0,x=0,y=0,z=0;if(_e)Ke=_e.offsetWidth,le=Math.max(tt?_e.offsetWidth:0,_e.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(Ke=Math.min(window.innerWidth,document.documentElement.clientWidth),le=Math.min(window.innerHeight,document.documentElement.clientHeight),E=Ke):(Ke=window.innerWidth,le=window.innerHeight,E=window.innerWidth),ke){var te=ke.getBoundingClientRect();te.left>0&&te.left<=Ke&&(Me===void 0||!Me)&&(document.dir==="rtl"?(x=Ke-te.width-te.left,y=E<=480?10:30):(y=te.left,x=E<=480?10:30),a=y+x)}if(ke&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var ae=ke.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(a=40,z=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(a=0,z=40)}}return ke&&((xe===void 0||!xe)&&ze>0&&ze+a<Ke?Ke=ze:Ke-=a,typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(xe===void 0||!xe)&&(le-=z)),{width:Ke,height:le}}function b(ke,ze,xe,tt,Me){if(ke.isScreenshoGenerator)return 1;var Le=tt!==void 0&&tt,_e=ke.noScaleMargin!=null&&ke.noScaleMargin,He=function(ae){return ae&&ae!=="false"},Ke=He(ke.autoHeight),le=oe(ze,ke.width,xe,Ke,Le&&window.GGBT_wsf_view||_e,Me),E=parseInt(le.width),a=ke.width,x=ke.height;if(a===void 0){var y=ze.querySelector(".appletParameters");y&&(a=y.offsetWidth,x=y.offsetHeight)}var z=E/a,te=Le?1:le.height/x;return xe!==void 0&&!xe&&(z=Math.min(1,z),te=Math.min(1,te)),Math.min(z,te)}function he(ke,ze,xe){var tt=1,Me,Le=!1;if(ke.hasOwnProperty("allowUpscale")&&(Le=ke.allowUpscale),ke.hasOwnProperty("scale")&&(tt=parseFloat(ke.scale),(isNaN(tt)||tt===null||tt===0)&&(tt=1),tt>1&&(Le=!0)),ze&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(Le=!0),!(ke.hasOwnProperty("disableAutoScale")&&ke.disableAutoScale))Me=b(ke,ze,Le,xe,ke.scaleContainerClass);else return tt;return Le&&(!ke.hasOwnProperty("scale")||tt===1)?Me:Math.min(tt,Me)}function De(ke){var ze=Math.min(window.innerWidth,document.documentElement.clientWidth),xe=Math.min(window.innerHeight,document.documentElement.clientHeight),tt=ke.getBoundingClientRect(),Me=(ze-tt.width)/2,Le=(xe-tt.height)/2;Le<0&&(Le=0),ke.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(Me<40?ke.style.left="40px":ke.style.left=Me+"px",ke.style.top=Le+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(Le<40?ke.style.top="40px":ke.style.top=Le+"px",ke.style.left=Me+"px")}function Ae(ke,ze){var xe=ke.querySelector(".appletParameters");if(xe){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(ze.id!==xe.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(ke)}if(xe.parentElement&&/fullscreen/.test(xe.parentElement.className))return;var tt=he(ze,ke);yt()&&xe.setAttribute("data-param-scale",tt);for(var Me=null,Le=0;Le<ke.childNodes.length;Le++)if(ke.childNodes[Le].className!==void 0&&ke.childNodes[Le].className.match(/^applet_scaler/)){Me=ke.childNodes[Le];break}if(Me!==null&&Me.querySelector(".noscale")!==null)return;var _e=ze.id!==void 0?ze.id:"ggbApplet",He=window[_e];(He==null||!He.recalculateEnvironments)&&Me!==null&&!Me.className.match(/fullscreen/)&&(Me.parentNode.style.transform="",!isNaN(tt)&&tt!==1?(Me.parentNode.style.width=ze.width*tt+"px",Me.parentNode.style.height=ze.height*tt+"px",kt(Me,tt)):(kt(Me,1),Me.parentNode.style.width=ze.width+"px",Me.parentNode.style.height=ze.height+"px")),typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&De(ke),window.GGBT_wsf_view&&!window.GGBT_wsf_view.isFullscreen()&&window.GGBT_wsf_general.adjustContentToResize($(xe).parents(".content-added-content"))}}return{responsiveResize:Ae,isFlexibleWorksheetEditor:yt,positionCenter:De,getScale:he,scaleElement:kt}}();__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 yt=n.location.search;return yt.indexOf(J)!=-1||yt.indexOf(K)!=-1}function q(yt,kt){}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(yt){var kt=s[L].bindings;s[L].bindings=function(){for(var oe=kt?kt():{},b=yt[webModule.__softPermutationId],he=O;he<b.length;he++){var De=b[he];oe[De[O]]=De[P]}return oe}};var t;function u(){return v(),t}function v(){if(!t){var yt=o.createElement(Q);if(yt.id=L,yt.style.cssText=R+S,yt.tabIndex=-1,o.body.appendChild(yt),t=yt.contentWindow.document,navigator.userAgent.indexOf(T)==-1){t.open();var kt=document.compatMode==U?V:W;t.write(kt+X),t.close()}}}function w(yt){function kt(b){function he(){return typeof o.readyState==Y?typeof o.body!=Y&&o.body!=null:/loaded|complete/.test(o.readyState)}var De=he();if(De){b();return}function Ae(){if(!De){if(!he())return;De=!0,b(),o.removeEventListener&&o.removeEventListener(Z,Ae,!1),ke&&clearInterval(ke)}}o.addEventListener&&o.addEventListener(Z,Ae,!1);var ke=setInterval(function(){Ae()},$)}function oe(b){var he=u(),De=he.body,Ae=he.createElement(_);Ae.language=ab,Ae.crossOrigin=W,Ae.src=b,webModule.__errFn&&(Ae.onerror=function(){webModule.__errFn(L,new Error(bb+b))}),De.appendChild(Ae)}kt(function(){oe(yt)})}webModule.__startLoadingFragment=function(yt){return C(yt)},webModule.__installRunAsyncCode=function(yt){var kt=u(),oe=kt.body,b=kt.createElement(_);b.language=ab,b.text=yt,oe.appendChild(b),oe.removeChild(b)};function A(){for(var c={},d,e,f=o.getElementsByTagName(fb),g=O,h=f.length;g<h;++g){var i=f[g],j=i.getAttribute(gb),k;if(j){if(j=j.replace(hb,W),j.indexOf(ib)>=O)continue;if(j==jb){if(k=i.getAttribute(kb),k){var l,m=k.indexOf(lb);m>=O?(j=k.substring(O,m),l=k.substring(m+P)):(j=k,l=W),c[j]=l}}else if(j==mb){if(k=i.getAttribute(kb),k)try{d=eval(k)}catch(yt){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(yt){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(yt){var kt=c[yt];return kt==null?null:kt},r=d,webModule.__errFn=e}function B(){function yt(ke){var ze=ke.lastIndexOf(rb);ze==-1&&(ze=ke.length);var xe=ke.indexOf(sb);xe==-1&&(xe=ke.length);var tt=ke.lastIndexOf(tb,Math.min(xe,ze));return tt>=O?ke.substring(O,tt+P):W}function kt(ke){if(!ke.match(/^\w+:\/\//)){var ze=o.createElement(ub);ze.src=ke+vb,ke=yt(ze.src)}return ke}function oe(){var ke=__gwt_getMetaProperty(wb);return ke!=null?ke:W}function b(){for(var ke=o.getElementsByTagName(_),ze=O;ze<ke.length;++ze)if(ke[ze].src.indexOf(xb)!=-1)return yt(ke[ze].src);return W}function he(){var ke=o.getElementsByTagName(yb);return ke.length>O?ke[ke.length-P].href:W}function De(){var ke=o.location;return ke.href==ke.protocol+zb+ke.host+ke.pathname+ke.search+ke.hash}var Ae=oe();return Ae==W&&(Ae=b()),Ae==W&&(Ae=he()),Ae==W&&De()&&(Ae=yt(o.location.href)),Ae=kt(Ae),Ae}function C(yt){return yt.match(/^\//)||yt.match(/^[a-zA-Z]+:\/\//)?yt:webModule.__moduleBase+yt}function D(){var yt=[],kt=O,oe=[],b=[];function he(ke){var ze=b[ke](),xe=oe[ke];if(ze in xe)return ze;var tt=[];for(var Me in xe)tt[xe[Me]]=Me;throw r&&r(ke,tt,ze),null}if(__gwt_isKnownPropertyValue=function(ke,ze){return ze in oe[ke]},webModule.__getPropMap=function(){var ke={};for(var ze in oe)oe.hasOwnProperty(ze)&&(ke[ze]=he(ze));return ke},webModule.__computePropValue=he,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var De;try{De=Cb;var Ae=De.indexOf(Db);Ae!=-1&&(kt=parseInt(De.substring(Ae+P),$),De=De.substring(O,Ae))}catch(ke){}return webModule.__softPermutationId=kt,C(De+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(yt,kt,oe){"use strict";oe.d(kt,{Ax:function(){return Ae},Ds:function(){return ke},KI:function(){return xe},SI:function(){return De},f1:function(){return he}});var b=oe(346);function he(tt){let Me=!0;if(tt.length>0){for(let Le=0;Le<tt.length;Le++)if(tt[Le].compile_success==0||!tt[Le].compile_success){Me=!1;break}}else Me=!1;return Me}function De(tt,Me=""){let Le=[];for(let _e=0;_e<tt.length;_e++){let He=tt[_e],Ke=Me?`${Me}/${He.name}`:`${He.name}`;Le.push({title:He.name,type:He.type,isLeaf:He.type!=="tree",key:Ke})}return Le}function Ae(tt,Me,Le){for(let _e=0;_e<tt.length;_e++){let He=tt[_e];if(He.key===Me){He.children=Le;break}He.children&&Ae(He.children,Me,Le)}return tt}function ke(tt,Me,Le){let _e;return function(){let He=this,Ke=arguments,le=function(){_e=null,Le||tt.apply(He,Ke)},E=Le&&!_e;clearTimeout(_e),_e=setTimeout(le,Me),E&&tt.apply(He,Ke)}}const ze=!0,xe=b.Z.API_SERVER},84842:function(yt,kt,oe){"use strict";oe.d(kt,{Z:function(){return le}});var b=oe(3113),he=oe(59301),De=Object.defineProperty,Ae=Object.defineProperties,ke=Object.getOwnPropertyDescriptors,ze=Object.getOwnPropertySymbols,xe=Object.prototype.hasOwnProperty,tt=Object.prototype.propertyIsEnumerable,Me=(E,a,x)=>a in E?De(E,a,{enumerable:!0,configurable:!0,writable:!0,value:x}):E[a]=x,Le=(E,a)=>{for(var x in a||(a={}))xe.call(a,x)&&Me(E,x,a[x]);if(ze)for(var x of ze(a))tt.call(a,x)&&Me(E,x,a[x]);return E},_e=(E,a)=>Ae(E,ke(a)),He=(E,a)=>{var x={};for(var y in E)xe.call(E,y)&&a.indexOf(y)<0&&(x[y]=E[y]);if(E!=null&&ze)for(var y of ze(E))a.indexOf(y)<0&&tt.call(E,y)&&(x[y]=E[y]);return x},Ke=(E,a,x)=>new Promise((y,z)=>{var te=ie=>{try{se(x.next(ie))}catch(Se){z(Se)}},ae=ie=>{try{se(x.throw(ie))}catch(Se){z(Se)}},se=ie=>ie.done?y(ie.value):Promise.resolve(ie.value).then(te,ae);se((x=x.apply(E,a)).next())});const le=E=>{var a=E,{children:x}=a,y=He(a,["children"]);const[z,te]=(0,he.useState)(!1);return he.createElement(b.ZP,_e(Le({},y),{loading:z,onClick:ae=>Ke(void 0,null,function*(){try{te(!0),yield y.onClick(ae),te(!1)}catch(se){console.error(se),te(!1)}})}),x)}},85788:function(yt,kt,oe){"use strict";var b=oe(86204),he=oe.n(b),De=Object.defineProperty,Ae=(tt,Me,Le)=>Me in tt?De(tt,Me,{enumerable:!0,configurable:!0,writable:!0,value:Le}):tt[Me]=Le,ke=(tt,Me,Le)=>Ae(tt,typeof Me!="symbol"?Me+"":Me,Le),ze=(tt,Me,Le)=>new Promise((_e,He)=>{var Ke=a=>{try{E(Le.next(a))}catch(x){He(x)}},le=a=>{try{E(Le.throw(a))}catch(x){He(x)}},E=a=>a.done?_e(a.value):Promise.resolve(a.value).then(Ke,le);E((Le=Le.apply(tt,Me)).next())});class xe extends b.EventEmitter{constructor(Me,Le){super(),ke(this,"url"),ke(this,"body"),ke(this,"fullContent",""),ke(this,"controller",null),ke(this,"buffer",""),this.url=Me,this.body=Le}startStream(){return ze(this,null,function*(){this.controller=new AbortController;const{signal:Me}=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:Me});if(!Le.ok)throw new Error(`\u8BF7\u6C42\u5931\u8D25: ${Le.status}`);const _e=Le.headers.get("content-type");if(!_e)throw new Error("\u54CD\u5E94\u5934\u7F3A\u5C11 content-type");if(_e.includes("application/json")){const le=yield Le.json();this.emit("error",le);return}if(!_e.includes("text/event-stream"))throw new Error("\u54CD\u5E94\u6570\u636E\u683C\u5F0F\u9519\u8BEF");const He=Le.body.getReader(),Ke=new TextDecoder("utf-8");for(;;){const{done:le,value:E}=yield He.read();if(le)break;const a=Ke.decode(E,{stream:!0});this.buffer+=a;const x=this.buffer.split(`
`);this.buffer=x.pop()||"";for(const y of x)if(y.startsWith("data:")){const z=y.slice(5).trim();if(z==="[DONE]")break;try{const te=JSON.parse(z);te.data&&this.handleData(te.data)}catch(te){this.buffer=y+`
`+this.buffer,console.error("\u89E3\u6790 JSON \u5931\u8D25:",te)}}}this.emit("done",this.fullContent)}catch(Le){Le.name==="AbortError"?this.emit("cancelled",this.fullContent):this.emit("error",Le.message)}})}handleData(Me){Me.content&&(this.fullContent+=Me.content,this.emit("data",{chunk:Me,full:this.fullContent}))}cancelRequest(){var Me;(Me=this.controller)==null||Me.abort()}}kt.Z=xe},75819:function(yt,kt,oe){"use strict";oe.d(kt,{Z:function(){return gt}});var b=oe(59301),he=oe(74439),De=oe(77596),Ae=oe(3310),ke=oe(14179),ze=oe(56102),xe={answer:"answer___UngkO",imgWrap:"imgWrap___ORTRf",codeCopy:"codeCopy___re8vm",runCode:"runCode___MYs9m"},tt=oe(8591),Me=oe(11611),Le=oe(13058),_e=oe(30084),He=oe(10787),Ke=oe(8944),le=oe(43428),E=oe(95237),a=oe(43604),x={smartWrp:"smartWrp___NjRcB"},y=oe(75975),z=oe(9148),te=oe(84842),ae=oe(59301),se=(Pn,nn,Wt)=>new Promise((_t,Te)=>{var ot=At=>{try{xn(Wt.next(At))}catch(ln){Te(ln)}},Ut=At=>{try{xn(Wt.throw(At))}catch(ln){Te(ln)}},xn=At=>At.done?_t(At.value):Promise.resolve(At.value).then(ot,Ut);xn((Wt=Wt.apply(Pn,nn)).next())});const ie=`<!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 Se({open:Pn=!0,onChange:nn,defaultValue:Wt,placement:_t,width:Te,height:ot,extra:Ut,onDynamic:xn,showExtra:At=!0}){const ln=(0,b.useRef)(null),Ce=(0,b.useRef)(null),[ut,Xt]=(0,b.useState)(Wt||""),[nt,Pt]=(0,b.useState)(Wt||""),[_n,sn]=(0,b.useState)(!!Pn),[Rt,Mt]=(0,b.useState)(1),Yn={selectOnLineNumbers:!0};(0,b.useEffect)(()=>{Pn&&(Xt(Wt),Pt(Wt),sn(!0))},[Pn,Wt]),(0,b.useEffect)(()=>{ut!==""&&(clearTimeout(Ce.current),Ce.current=setTimeout(()=>{const tn=document.createElement("iframe");if(tn.style.width="100%",tn.style.height="100%",tn.style.border="0",ln.current){ln.current.innerHTML="",ln.current.appendChild(tn);const ba=tn.contentDocument||tn.contentWindow.document;ba.open(),ba.write(ut),ba.close()}},1e3))},[Pn,ut]);const aa=tn=>{Xt(tn),nn==null||nn(tn,nt)};return ae.createElement(le.Z,{title:"\u667A\u80FD\u52A8\u6548",placement:"right",open:_n,width:At?700:"100%",height:ot||"100vh",rootClassName:x.smartWrp,destroyOnClose:!0,onClose:()=>sn(!1),extra:At&&ae.createElement("div",null,ae.createElement(z.tp,{dataSource:[{name:"\u9884\u89C8",id:1},{name:"\u4EE3\u7801",id:2}],value:Rt,onChange:tn=>Mt(tn)}),ae.createElement(te.Z,{type:"primary",className:"ml20",onClick:()=>se(this,null,function*(){yield xn(ut,()=>{sn(!1)})})},"\u4FDD\u5B58\u81F3\u8BFE\u4EF6"))},ae.createElement(E.Z,{className:"h100"},ae.createElement(a.Z,{flex:"1",style:{background:"#f6f7fb",borderRight:"#e8eaf1 1px solid",display:Rt===1?"block":"none"}},ae.createElement("div",{className:"h100",ref:ln})),ae.createElement(a.Z,{flex:"1",style:{display:Rt===2?"block":"none"}},ae.createElement(y.ZP,{height:"90vh",value:Wt,language:"html",theme:"vs",showMiniMap:!1,options:Yn,onChange:aa}))))}var Fe=Se,We=Object.defineProperty,Ne=Object.defineProperties,mt=Object.getOwnPropertyDescriptors,Re=Object.getOwnPropertySymbols,Je=Object.prototype.hasOwnProperty,Qe=Object.prototype.propertyIsEnumerable,et=(Pn,nn,Wt)=>nn in Pn?We(Pn,nn,{enumerable:!0,configurable:!0,writable:!0,value:Wt}):Pn[nn]=Wt,we=(Pn,nn)=>{for(var Wt in nn||(nn={}))Je.call(nn,Wt)&&et(Pn,Wt,nn[Wt]);if(Re)for(var Wt of Re(nn))Qe.call(nn,Wt)&&et(Pn,Wt,nn[Wt]);return Pn},ht=(Pn,nn)=>Ne(Pn,mt(nn)),ct=(Pn,nn)=>{var Wt={};for(var _t in Pn)Je.call(Pn,_t)&&nn.indexOf(_t)<0&&(Wt[_t]=Pn[_t]);if(Pn!=null&&Re)for(var _t of Re(Pn))nn.indexOf(_t)<0&&Qe.call(Pn,_t)&&(Wt[_t]=Pn[_t]);return Wt},gt=({onFinish:Pn,value:nn,streamingStatus:Wt,cancelIndex:_t,loadImage:Te,onDynamic:ot})=>{const[Ut,xn]=(0,b.useState)(""),[At,ln]=(0,b.useState)({defaultValue:"",open:0,language:"",placement:"right",height:"100vh"}),[Ce,ut]=(0,b.useState)(0),[Xt,nt]=(0,b.useState)(!1),Pt=Rt=>Rt.replace(/`(\$\$.*?\$\$)`/g,"$1").replace(/\$\$([\s\S]*?)\$\$/g,(Mt,Yn)=>`<mathx data-text="${Yn.trim()}">$$${Yn.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,"`$&`"),_n=()=>{nt(!0),Pn==null||Pn()};(0,b.useEffect)(()=>{const Rt=Te?`\u8FD9\u662F\u6839\u636E\u60A8\u7684\u63CF\u8FF0\u751F\u6210\u7684\u56FE\u7247\uFF1A
${nn}`:nn,Mt=Pt(Rt);if(!Xt)if(Te||!Wt||_t>0){xn(Mt),ut(Mt.length),(!Wt||_t>0)&&!Te&&_n();return}else if((Mt==null?void 0:Mt.length)<4)xn(Mt),ut(Mt.length);else if(Ce<Mt.length){const Yn=Mt.length-Ce,aa=setInterval(()=>{xn(Mt.slice(0,Ce+2)),ut(tn=>tn+2)},Yn>10?Math.max(500/(Yn/2),20):50);return()=>clearInterval(aa)}else Wt||_n()},[nn,Wt,_t,Te,Ce]);const sn=(0,b.useMemo)(()=>b.createElement("section",{className:`${xe.answer} fadeIn animated edu_md`},b.createElement(he.UG,{remarkPlugins:[_e.Z,He.Z],rehypePlugins:[Le.Z,Ae.Z],components:{code(Rt){var Mt=Rt,{node:Yn,inline:aa,className:tn,children:ba}=Mt,_a=ct(Mt,["node","inline","className","children"]);const ya=/language-(\w+)/.exec(tn||""),zn=String(ba).trim();return aa||!ya?b.createElement("code",we({className:tn},_a),ba):b.createElement("code",{className:xe.codeCopy,"data-text":`\`\`\`${ya?ya[1]:""}
${ba}
\`\`\``},b.createElement(ze.CopyToClipboard,{text:zn,onCopy:()=>tt.ZP.success({content:"\u590D\u5236\u6210\u529F",key:"copy"})},b.createElement("button",null,"\u590D\u5236")),ya[1]==="html"&&Xt&&b.createElement("button",{className:xe.runCode,onClick:()=>{ln(we({},ht(we({},At),{open:++At.open,defaultValue:zn,language:ya[1]})))}},"\u8FD0\u884CHTML"),b.createElement(De.Z,we({wrapLongLines:!0,style:ke.Z,language:ya[1],PreTag:"div",showLineNumbers:!0,lineNumberStyle:{minWidth:"40px"}},_a),zn))},img({node:Rt}){var Mt;const Yn=(Mt=Rt.properties)==null?void 0:Mt.src;return b.createElement(Me.Z,{src:Yn,width:320,"data-text":Yn,onLoad:()=>Te&&setTimeout(()=>_n(),500)})}}},Xt?Ut:`${Ut}__`)),[Ut]);return b.createElement(b.Fragment,null,b.createElement(Fe,{defaultValue:At.defaultValue,open:At.open,language:At.language,height:At.height,onChange:(Rt,Mt)=>{xn(Ut.replaceAll(Mt,Rt))},onDynamic:ot}),sn)}},25395:function(yt,kt,oe){"use strict";var b=oe(59301);const he=({scrollBoxRef:De,bottomInspectRef:Ae,contentRef:ke,status:ze,rootMargin:xe="70px",bottomOffset:tt=110})=>{const[Me,Le]=(0,b.useState)(!0),_e=(0,b.useRef)(!1);return(0,b.useEffect)(()=>{if(!De.current||!Ae.current)return;const He=new IntersectionObserver(([Ke])=>{var le,E,a,x;if(!document.contains(Ke.target)){console.log("\u76EE\u6807\u5143\u7D20\u5DF2\u4ECE DOM \u79FB\u9664");return}if(((le=Ke.rootBounds)==null?void 0:le.width)===0&&((E=Ke.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=Ke.boundingClientRect)==null?void 0:a.width)===0&&((x=Ke.boundingClientRect)==null?void 0:x.height)===0){console.log("\u76EE\u6807\u5143\u7D20\u5BBD\u9AD8\u4E3A 0\uFF0C\u53EF\u80FD\u5DF2\u88AB\u79FB\u9664\u6216 display: none");return}Le(Ke.isIntersecting)},{root:De.current,rootMargin:xe,threshold:0});return He.observe(Ae.current),()=>{He.disconnect()}},[De.current,Ae.current,xe]),(0,b.useEffect)(()=>{if(!ze)return;const He=De.current,Ke=ke.current;_e.current=!1;let le=He.scrollTop;const E=()=>{const{scrollTop:x,scrollHeight:y,clientHeight:z}=He;x>le?x+z>=y-tt&&(He.scrollTop=He.scrollHeight,_e.current=!1):x<le&&(_e.current=!0),le=x};He.addEventListener("scroll",E);const a=new ResizeObserver(()=>{_e.current||(He.scrollTop=He.scrollHeight)});return a.observe(Ke),()=>{setTimeout(()=>{a.unobserve(Ke)},250),He.removeEventListener("scroll",E)}},[ze]),Me};kt.Z=he},35902:function(yt,kt,oe){"use strict";var b=oe(59301);const he=({contentRef:De,status:Ae})=>((0,b.useEffect)(()=>{!Ae&&(De!=null&&De.current)&&De.current.querySelectorAll("code[data-text], mathx[data-text]").forEach(xe=>{xe.tagName.toLowerCase()==="code"?xe.parentElement&&(xe.parentElement.contentEditable="false"):xe.tagName.toLowerCase()==="mathx"&&(xe.contentEditable="false")})},[Ae]),(ze=!1)=>{const xe=_e=>{const He={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'","&nbsp;":" ","&copy;":"\xA9","&reg;":"\xAE","&euro;":"\u20AC"};return _e.replace(/&[^;]+;/g,Ke=>He[Ke]||Ke)};if(!De.current)return"";const tt=De.current.cloneNode(!0);tt.querySelectorAll("code[data-text], mathx[data-text]").forEach(_e=>{let He=_e.getAttribute("data-text");_e.tagName.toLowerCase()==="code"?He=He.replace(/```.*\n|\n```/g,""):_e.tagName.toLowerCase()==="mathx"&&(He=`$$${He}$$`);const Ke=document.createTextNode(He);_e.parentNode.replaceChild(Ke,_e)}),ze&&tt.querySelectorAll('[data-select="disabled"]').forEach(He=>{var Ke;const le=He.textContent||"",E=document.createTextNode(le+`
`);(Ke=He.parentNode)==null||Ke.replaceChild(E,He)});let Le=tt.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=xe(Le),Le});kt.Z=he},91239:function(yt,kt,oe){"use strict";oe.d(kt,{Z:function(){return He}});var b=oe(59301),he=oe(43418),De=oe(95237),Ae=oe(93948),ke="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGIAAABYCAYAAAAORCLFAAAAAXNSR0IArs4c6QAAIABJREFUeF7lfQecXFXZ/nNumT6zvWeTTSWkEEJooUgRpSMooiLfxycqTcQGIvipAf1UsNFEUAQBQTpSDCgtIQVTSAgJ6ckm2ZJt2dnd6XPL+fuec8/sZAmSbAKBv/P73Z3ZmXvv3Ps+5+1lGD5kD855cHM8P85xtRqmG1a5H5sqQqz1Q3aZ+/xy2D4/4zBOyGfN0lZe9v0Tt/fj0vZenBAf0MozFgNjAOe2XR1jy8qC7s/OPdT/12Gc/iNxyH4HYlVrctrb3b5bN7Wzj3X1agDXYOgQILgccFwgk+OoKOOY1uT89nPPmldiFnM/EtTdg4vcr0C8uC59xbIt5k3bu/Sgz2Twm4BuAJom78B1AdsG8haQywMOc5BLDPzsD5eXX7cH9/iR2HW/AMFnQXvwEwM/e7vN913b9iMQAPw+wPQBuscNnIBwPCDyQDZHnAEsXtPHzzo6fPG1p/vu/khQeDcvcr8A8cC8xKzV240fuW4AoSAQCAI+H+AzAdMEwADLliBYFmATR2SBZAbY0mWhsyuZvfRM48Tzj4i9vpv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6KpWC4FAoejl/NB+oFD0/9uWP5914uwmf3l0v5ZAxIn7nr/MdWSRv84vhA1eaO3PZ/Kbnv7cnN5fFwDMOP8vz4/Uk8nae+oAAAAASUVORK5CYII=",tt={dotLoading:"dotLoading___s6Sh4",showHide:"showHide___Dfprh",progress:"progress___QUpqo"},Me=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 He=()=>{const[Ke,le]=(0,b.useState)(0),[E,a]=(0,b.useState)(!1),[x,y]=(0,b.useState)(!0),z=(0,b.useRef)(null);(0,b.useEffect)(()=>{if(x)return;const Fe=()=>{le(We=>We>=99?(clearInterval(z.current),99):We+1)};return z.current=setInterval(Fe,5e4/99),()=>clearInterval(z.current)},[x]);const te=()=>{le(0),a(!0),y(!1)},ae=(Fe=0)=>{y(!0),le(Fe),a(!1)},se=Fe=>{const We=Fe/1048576;let Ne;return We<=.3?Ne=3:We<=.5?Ne=5:We<=1?Ne=10:We<=2?Ne=20:We<=3?Ne=30:We<=10?Ne=We*10:Ne=100,` \u9884\u8BA1\u5904\u7406\u65F6\u957F\u4E3A${Ne}\u5206\u949F\uFF0C\u8BF7\u52FF\u5173\u95ED\u7A97\u53E3`},ie=()=>Me.createElement("span",{className:tt.dotLoading},Me.createElement("span",null,"."),Me.createElement("span",null,"."),Me.createElement("span",null,"."));return{progress:Ke,progressOpen:E,openProgress:te,closeProgress:ae,toggleLock:()=>y(Fe=>!Fe),CreateProgressModal:(Fe=Le,We)=>(typeof Fe=="string"&&(Fe=[Fe,Fe,Fe]),Me.createElement(he.default,{centered:!0,closable:!1,destroyOnClose:!0,zIndex:1200,open:E,title:null,footer:null,width:500,afterClose:()=>le(0)},Me.createElement(De.Z,{align:"middle",className:"mt40 mb20",style:{flexDirection:"column"}},Ke<=30&&Me.createElement(Me.Fragment,null,Me.createElement("img",{src:ke,alt:"Step 1"}),Me.createElement("div",{className:"mt20 c-light-primary"},Fe[0],ie())),Ke>30&&Ke<60&&Me.createElement(Me.Fragment,null,Me.createElement("img",{src:ze,alt:"Step 2"}),Me.createElement("div",{className:"mt20 c-light-primary"},Fe[1],ie())),Ke>=60&&Me.createElement(Me.Fragment,null,Me.createElement("img",{src:xe,alt:"Step 3"}),Me.createElement("div",{className:"mt20 c-light-primary"},Fe[2],ie())),Me.createElement(Ae.Z,{className:tt.progress,status:"active",style:{width:"auto"},size:[300,8],percent:Ke}),!!We&&Me.createElement("div",{className:"c-grey-999"},se(We)))))}}},74368:function(yt,kt,oe){"use strict";oe.d(kt,{Z:function(){return nn}});var b=oe(59301),he=oe(38854),De=oe(8591),Ae=oe(6848),ke=oe(92832),ze=oe(3113),xe=oe(75819),tt={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:Wt,children:_t})=>{const{left:Te=0,top:ot=0}=Wt||{},[Ut,xn]=(0,b.useState)(Te),[At,ln]=(0,b.useState)(ot),Ce=(0,b.useRef)(null),ut=()=>{if(Ce.current){const Xt=Ce.current.offsetWidth,nt=Ce.current.offsetHeight,Pt=window.innerWidth,_n=window.innerHeight;let sn=Te,Rt=ot;Te+Xt>Pt&&(sn=Pt-Xt),sn<0&&(sn=0),ot+nt>_n&&(Rt=_n-nt),Rt<0&&(Rt=0),xn(sn),ln(Rt)}};return(0,b.useEffect)(()=>{if(!Ce.current||!Wt)return;const Xt=new ResizeObserver(()=>{ut()});return Xt.observe(Ce.current),()=>{Xt.disconnect()}},[Te,ot,Wt]),(0,b.useEffect)(()=>{Wt&&ut()},[Te,ot,Wt]),Wt?b.createElement("div",{ref:Ce,style:{position:"fixed",left:`${Ut}px`,top:`${At}px`,zIndex:1050}},_t):null},_e=oe(346),He=oe(56102),Ke=oe(85788),le=Object.defineProperty,E=Object.defineProperties,a=Object.getOwnPropertyDescriptors,x=Object.getOwnPropertySymbols,y=Object.prototype.hasOwnProperty,z=Object.prototype.propertyIsEnumerable,te=(Wt,_t,Te)=>_t in Wt?le(Wt,_t,{enumerable:!0,configurable:!0,writable:!0,value:Te}):Wt[_t]=Te,ae=(Wt,_t)=>{for(var Te in _t||(_t={}))y.call(_t,Te)&&te(Wt,Te,_t[Te]);if(x)for(var Te of x(_t))z.call(_t,Te)&&te(Wt,Te,_t[Te]);return Wt},se=(Wt,_t)=>E(Wt,a(_t)),ie=(Wt,_t,Te)=>new Promise((ot,Ut)=>{var xn=Ce=>{try{ln(Te.next(Ce))}catch(ut){Ut(ut)}},At=Ce=>{try{ln(Te.throw(Ce))}catch(ut){Ut(ut)}},ln=Ce=>Ce.done?ot(Ce.value):Promise.resolve(Ce.value).then(xn,At);ln((Te=Te.apply(Wt,_t)).next())}),Fe=({visible:Wt,position:_t,selectText:Te,applyRefinedText:ot,fetchUrl:Ut,noRestrictModal:xn})=>{var At;const[ln,Ce]=(0,b.useState)(!1),[ut,Xt]=(0,b.useState)([]),[nt,Pt]=(0,b.useState)(""),[_n,sn]=(0,b.useState)(1),[Rt,Mt]=(0,b.useState)(""),[Yn,aa]=(0,b.useState)(!1),tn=(0,b.useRef)(null),[ba,_a]=(0,b.useState)(!1),[ya,zn]=(0,b.useState)(0),xa=(0,b.useRef)(!1),dr=((At=ut==null?void 0:ut[(ut==null?void 0:ut.length)-1])==null?void 0:At.loading)===!0;(0,b.useEffect)(()=>{if(Wt){sn(1);return}_a(!1),Ce(!1),Ya(),zn(0),Xt([]),sn(0)},[Wt]);const Ya=()=>{var ha,Ga;Pt(""),Mt(""),(Ga=(ha=tn.current)==null?void 0:ha.cancelRequest)==null||Ga.call(ha)},Jn=(...ha)=>ie(void 0,[...ha],function*(Ga="",gr=ut){const Ua=Date.now(),Cr=[...gr,{text:Ga,key:Ua,sender:"user",show:!0},{loading:!0,key:Ua,sender:"AI",show:!0}];sn(2),Xt(Cr);const ho=ea(gr),Ht={no_record_times:!0,prompt:Ga,history:ho};tn.current=new Ke.Z(_e.Z.API_SERVER+Ut,Ht),yield new Promise(Zn=>{tn.current.on("data",qn=>{const{chunk:{msg:Sa},full:Be}=qn,at=Sa==="error";_a(!0),Mt(an(Be)),Xt(st=>st.map((bt,St)=>St===st.length-1?se(ae({},bt),{text:Be,loading:!1,error:at}):bt))}),tn.current.on("done",()=>Zn()),tn.current.on("error",qn=>{const Sa="\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(qn)==="[object Object]"&&qn.status===-9&&(sn(1),xn(qn.data)),Xt(Be=>Be.map((at,st)=>st===Be.length-1?se(ae({},at),{text:Sa,loading:!1,error:!0}):at)),Zn()}),tn.current.on("cancelled",()=>Zn()),tn.current.startStream()}),Ce(!1)}),da=ha=>{Pt(ha.target.value)},ea=ha=>ha.reduce((gr,Ua)=>{if(Ua.sender==="user"){const Cr=ha.find(ho=>ho.key===Ua.key&&ho.sender==="AI");Cr&&(Cr!=null&&Cr.text)&&!(Cr!=null&&Cr.error)&&gr.push({question:Ua.text,answer:Cr.text})}return gr},[]),ia=()=>{if(wa)return;const ha=Ft("\u6539\u5199");Ya(),Ce(!0),Jn(ha)},Ea=ha=>{if(ha.key==="Enter"&&!ha.shiftKey){if(ha.preventDefault(),xa.current||pa)return;ia()}},Va=()=>{var ha,Ga;zn(gr=>gr+1),(Ga=(ha=tn.current)==null?void 0:ha.cancelRequest)==null||Ga.call(ha),Ce(!1),_a(!1)},yn=[{key:"1",label:b.createElement("span",null," ",b.createElement("i",{className:"iconfont icon-runse font14 mr10"}),"\u6DA6\u8272 ")},{key:"2",label:b.createElement("span",null,b.createElement("i",{className:"iconfont icon-kuoxie font14 mr10"}),"\u6269\u5199")},{key:"3",label:b.createElement("span",null," ",b.createElement("i",{className:"iconfont icon-suoxie font14 mr10"}),"\u7F29\u5199")}],an=(ha="")=>{const Ga=["\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((gr,Ua)=>{Ga.push(`\u7B54\u6848${Ua+1}\uFF1A`,`\u6D4B\u8BD5\u7528\u4F8B(${Ua+1})\u8F93\u5165\uFF1A`,`\u6D4B\u8BD5\u7528\u4F8B(${Ua+1})\u8F93\u51FA\uFF1A`)}),Ga.forEach(gr=>{const Ua=new RegExp(gr,"g");ha=ha.replace(Ua,`**${gr}** `)}),ha},Ft=ha=>ha==="\u6539\u5199"?`${nt}\uFF0C\u6839\u636E\u4E0A\u8FF0\u8981\u6C42\u6539\u5199\u8FD9\u53E5\u8BDD\uFF0C${Te}\uFF0C\u6839\u636E\u539F\u683C\u5F0F\u8FD4\u56DE\u7ED9\u6211\uFF0C\u4E0D\u8981\u53BB\u6389\u63D0\u793A\u8BED`:`${Te}\uFF0C${ha}\u4E0A\u9762\u8FD9\u53E5\u8BDD\uFF0C\u6839\u636E\u539F\u683C\u5F0F\u8FD4\u56DE\u7ED9\u6211\uFF0C\u4E0D\u8981\u53BB\u6389\u63D0\u793A\u8BED`,Gt=ha=>{let Ga="";ha.key==="1"&&(Ga=Ft("\u6DA6\u8272")),ha.key==="2"&&(Ga=Ft("\u6269\u5199")),ha.key==="3"&&(Ga=Ft("\u7F29\u5199")),Ya(),Ce(!0),Jn(Ga)},Da=()=>{const ha=ut.splice(ut.length-2),{text:Ga}=(ha==null?void 0:ha[0])||{};Ya(),Ce(!0),Jn(Ga,ut)},pa=ln||ba,wa=(nt==null?void 0:nt.trim())==="";return Wt?b.createElement(he.Z,{open:wa&&!pa&&(Yn||!Rt),overlayStyle:{minWidth:200},menu:{items:yn,onClick:Gt}},b.createElement(Le,{position:_t},b.createElement("div",{className:tt.wrap},_n===2&&b.createElement(b.Fragment,null,b.createElement("div",{className:tt.chatContainer},dr&&b.createElement("div",{className:tt.loadingWrp},b.createElement("span",null,"\u6B63\u5728\u751F\u6210\u4E2D"),b.createElement("div",{className:"ai-loading"})),Rt&&b.createElement(xe.Z,{cancelIndex:ya,streamingStatus:ln,loadImage:!1,onFinish:()=>ie(void 0,null,function*(){zn(0),setTimeout(()=>_a(!1),0)}),value:Rt})),b.createElement("div",{className:tt.btnContainer},b.createElement("div",{onClick:()=>ot(!0,Rt),className:tt.btn,style:{padding:"0 16px",width:"initial"}},b.createElement("i",{className:"iconfont icon-tihuan mr10 font14"}),"\u66FF\u6362"),b.createElement("div",{onClick:()=>ot(!1,Rt),className:tt.btn,style:{padding:"0 16px",width:"initial"}},b.createElement("i",{className:"iconfont icon-charu mr10 font14"}),"\u63D2\u5165"),b.createElement(He.CopyToClipboard,{text:Rt,onCopy:()=>De.ZP.success({content:"\u590D\u5236\u6210\u529F",key:"copy"})},b.createElement(Ae.Z,{title:"\u590D\u5236"},b.createElement("div",{className:tt.btn,style:{marginLeft:"auto"}},b.createElement("i",{className:"iconfont icon-fuzhi8 font14"})))),b.createElement(Ae.Z,{title:"\u91CD\u65B0\u751F\u6210"},b.createElement("div",{onClick:Da,className:tt.btn},b.createElement("i",{className:"iciconfontonfot icon-gengxin-genghuan-tihuan font17"}))),b.createElement(Ae.Z,{title:"\u5220\u9664"},b.createElement("div",{onClick:()=>{sn(1),Ya(),Xt([])},className:tt.btn},b.createElement("i",{className:"iconfont icon-shanchu14 font14"}))))),b.createElement("div",{className:tt.inputContainer},b.createElement(ke.default.TextArea,{placeholder:"\u5728\u8FD9\u91CC\u8F93\u5165\u4F60\u7684\u6587\u672C\u4F18\u5316\u5EFA\u8BAE",value:nt,bordered:!1,onFocus:()=>aa(!0),onBlur:()=>setTimeout(()=>aa(!1),300),onChange:da,onPressEnter:Ea,onCompositionStart:()=>xa.current=!0,onCompositionEnd:()=>xa.current=!1}),ba?b.createElement("div",{className:`iconfont icon-tingzhihuida ${tt.cancelBtn}`,onClick:Va}):b.createElement(ze.ZP,{className:wa?tt.sendBtnDisabled:tt.sendBtn,icon:b.createElement("i",{className:"iconfont icon-fasong2 c-white"}),disabled:pa,onClick:ia}))))):b.createElement(b.Fragment,null)},We={"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"},Ne=Object.defineProperty,mt=Object.getOwnPropertySymbols,Re=Object.prototype.hasOwnProperty,Je=Object.prototype.propertyIsEnumerable,Qe=(Wt,_t,Te)=>_t in Wt?Ne(Wt,_t,{enumerable:!0,configurable:!0,writable:!0,value:Te}):Wt[_t]=Te,et=(Wt,_t)=>{for(var Te in _t||(_t={}))Re.call(_t,Te)&&Qe(Wt,Te,_t[Te]);if(mt)for(var Te of mt(_t))Je.call(_t,Te)&&Qe(Wt,Te,_t[Te]);return Wt};const we=Wt=>React.createElement("svg",et({width:14,height:14,xmlns:"http://www.w3.org/2000/svg"},Wt),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 ht="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IHgxPSIyNi43OTclIiB5MT0iMjIuMDczJSIgeDI9IjgyLjE4MSUiIHkyPSI4MC40NzQlIiBpZD0iYSI+PHN0b3Agc3RvcC1jb2xvcj0iIzVDNjRGRiIgb2Zmc2V0PSIwJSIvPjxzdG9wIHN0b3AtY29sb3I9IiM2OTg4RjgiIG9mZnNldD0iMTAwJSIvPjwvbGluZWFyR3JhZGllbnQ+PC9kZWZzPjxwYXRoIGQ9Im0xMC40MDYgNC43NDEuMDA3LjAxNWgtLjAwN3YtLjAyMi4wMDdabS0uMDQtLjA0Ljg1NS0xLjQ5NSAxLjQ5Ny0uODU1LTEuNDk2LS44NTVMMTAuMzY2IDBsLS44NTQgMS40OTctMS40OTcuODU1IDEuNDk2Ljg1NC44NTUgMS40OTVaTTMuMSA4LjQ0MmwxLjcxIDMuMSAxLjYwMy0zLjEgMy4xLTEuNzFMNi41MiA1LjAyM2wtMS43MS0zLjEtMS43MSAzLjFMMCA2LjczM2wzLjA5OSAxLjcwOUgzLjFabTYuODQgMy4xIDEuMDY5IDEuOTI0IDEuMDY4LTEuOTI0TDE0IDEwLjQ3M2wtMS45MjQtMS4wNjktMS4wNjktMS45MjNMOS45NCA5LjQwNWwtMS45MjQgMS4wNjggMS45MjQgMS4wN3YtLjAwMVoiIGZpbGw9InVybCgjYSkiIGZpbGwtcnVsZT0ibm9uemVybyIvPjwvc3ZnPg==",Lt=(0,b.forwardRef)(({initialContent:Wt,onButtonClick:_t},Te)=>{const[ot,Ut]=(0,b.useState)(null),[xn,At]=(0,b.useState)(null),[ln,Ce]=(0,b.useState)(""),[ut,Xt]=(0,b.useState)(null),nt=Te,Pt=tn=>{const ba=document.elementFromPoint(10,tn),_a=document.createRange();let ya=null;const zn=document.createTreeWalker(nt.current,NodeFilter.SHOW_TEXT,{acceptNode:ia=>{const Ea=document.createRange();Ea.selectNodeContents(ia);const Va=Ea.getBoundingClientRect();return Va.top<=tn&&Va.bottom>=tn?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_REJECT}});let xa="",dr,Ya,Jn=null,da=null,ea=null;for(;dr=zn.nextNode();){dr.parentNode.getAttribute("data-select")==="disabled"&&(Ya=!0),xa+=dr.textContent,da||(da=dr),ea=dr;const ia=document.createRange();ia.selectNodeContents(dr);const Ea=ia.getBoundingClientRect();Jn===null&&(Jn=Ea.top)}if(da&&ea&&!Ya){const ia=document.createRange();ia.setStart(da,0),ia.setEnd(ea,ea.textContent.length),Xt(ia)}else Xt(null);return At(Jn-1),Ya?"":xa.trim()};function _n(tn){for(;tn.parentElement&&tn.parentElement.tagName.toLowerCase()!=="section";){var ba=window.getComputedStyle(tn.parentElement);if(ba.pointerEvents==="none")return!0;tn=tn.parentElement}return!1}const sn=tn=>{var ba,_a;if(_n(tn.target)){At(-1e6);return}if(((_a=(ba=document.getSelection())==null?void 0:ba.toString)==null?void 0:_a.call(ba))!==""){At(-1e6);return}const ya=Pt(tn.clientY);if((ya==null?void 0:ya.trim())===""){At(-1e6);return}const zn=nt.current.getBoundingClientRect();Ut(zn.left-30),Ce(ya)},Rt=()=>{},Mt=tn=>{_t&&ln&&_t(ln,tn.clientX,tn.clientY,ut)},Yn=()=>{if(ut){const tn=window.getSelection();tn.removeAllRanges(),tn.addRange(ut)}},aa=()=>{window.getSelection().removeAllRanges()};return(0,b.useEffect)(()=>{const tn=nt.current;return tn.addEventListener("mousemove",sn),tn.addEventListener("mouseleave",Rt),()=>{tn.removeEventListener("mousemove",sn),tn.removeEventListener("mouseleave",Rt),aa()}},[Wt]),b.createElement("div",{className:We["hover-line-container2"]},xn!==null&&b.createElement("div",{className:We["line-button-container"],style:{top:xn,left:ot},onMouseEnter:()=>{Yn()},onMouseLeave:()=>{aa(),At(null),Ce(""),Xt(null)}},b.createElement("div",{className:We.button,onClick:Mt},b.createElement("img",{src:ht}),b.createElement("span",null,"AI\u6539\u5199"))))}),gt={toolbar:"toolbar___qYQBF","chat-dialog":"chat-dialog___AUJYU",button:"button___VhNes"},nn=({nodeRef:Wt,noRestrictModal:_t})=>{const[Te,ot]=(0,b.useState)(null),[Ut,xn]=(0,b.useState)(null),[At,ln]=(0,b.useState)(!1),[Ce,ut]=(0,b.useState)(null),[Xt,nt]=(0,b.useState)(!1),[Pt,_n]=(0,b.useState)(!1),sn=Wt,Rt=(0,b.useRef)(null),Mt=(0,b.useRef)(null),[Yn,aa]=(0,b.useState)("");(0,b.useEffect)(()=>{Te!=null&&Te.toString()&&aa(Te==null?void 0:Te.toString())},[Te==null?void 0:Te.toString()]);const tn=()=>{const zn=window.getSelection(),xa=sn.current.scrollTop,dr=sn.current.getBoundingClientRect();if(zn.rangeCount>0&&zn.toString().length>0){const Ya=zn.getRangeAt(0);ot(Ya.cloneRange());const Jn=Ya.getBoundingClientRect(),da=40;let ea=Jn.top+xa-5+da;ea<xa&&(ea=Jn.bottom-dr.top+xa+5);const ia=sn.current.scrollHeight-da;ea=Math.min(Math.max(ea,xa),ia),xn({top:ea+6,left:Jn.left})}else ot(null),xn(null),ln(!1);ba(zn)},ba=zn=>{if(!zn||zn.rangeCount===0){nt(!1);return}const dr=zn.getRangeAt(0).getBoundingClientRect(),Ya=window.getComputedStyle(sn.current),Jn=parseInt(Ya.lineHeight),da=parseInt(Ya.paddingTop),ea=sn.current.scrollTop,ia=sn.current.getBoundingClientRect(),Ea=dr.top-ia.top+ea,Va=Math.floor((Ea-da)/Jn),yn=da+Va*Jn-ea;ut(yn),nt(!0)},_a=zn=>{sn.current&&!sn.current.contains(zn.target)&&_n(!1)};(0,b.useEffect)(()=>{const zn=sn.current;return zn.addEventListener("scroll",tn),zn.addEventListener("input",tn),zn.addEventListener("click",tn),zn.addEventListener("mouseup",tn),zn.addEventListener("keyup",tn),zn.addEventListener("click",tn),document.addEventListener("mousedown",_a),()=>{zn.removeEventListener("scroll",tn),zn.removeEventListener("input",tn),zn.removeEventListener("click",tn),zn.removeEventListener("mouseup",tn),zn.removeEventListener("keyup",tn),zn.removeEventListener("click",tn),document.removeEventListener("mousedown",_a)}},[]);const ya=(zn=!0,xa)=>{if(!Te)return;const dr=Mt.current.querySelector("section.edu_md").innerHTML.replace(/<p[^>]*>([\s\S]*?)<\/p>/g,"$1"),Ya=Te.cloneRange(),Jn=window.getSelection();if(Jn.removeAllRanges(),Jn.addRange(Ya),zn){Ya.deleteContents();const da=document.createElement("div");da.innerHTML=dr;const ea=Array.from(da.childNodes);for(;ea.length>0;)Ya.insertNode(ea.pop())}else{Ya.collapse(!1);const da=document.createElement("div");da.innerHTML=" "+dr;const ea=Array.from(da.childNodes);for(;ea.length>0;)Ya.insertNode(ea.pop())}Jn.removeAllRanges(),ot(null),ln(!1),xn(null)};return b.createElement("section",{ref:Mt},Ut&&b.createElement("div",{ref:Rt,className:gt.toolbar,style:{top:Ut==null?void 0:Ut.top,left:Ut==null?void 0:Ut.left}},b.createElement("div",{className:gt.button,onClick:()=>ln(!0)},b.createElement("img",{src:ht}),b.createElement("span",null,"AI\u6539\u5199"))),b.createElement(Fe,{key:JSON.stringify(Ut),noRestrictModal:_t,visible:At,position:Ut,selectText:Yn,applyRefinedText:ya,fetchUrl:"/api/stream/intelligent_imports/stream.json"}),sn.current&&b.createElement(Lt,{ref:sn,onButtonClick:(zn,xa,dr,Ya)=>{ot(Ya),ln(!0),aa(zn),xn({left:xa,top:dr+20})}}))}},85020:function(yt,kt,oe){"use strict";oe.d(kt,{Z:function(){return ke}});var b=oe(59301),he=oe(43418),De={num:"num___VQiqB"},ke=({visible:ze,usedCount:xe,totalCount:tt,onOk:Me,onCancel:Le})=>{const _e=()=>xe>0?b.createElement("div",null,"\u672C\u6B21\u5C06\u6D88\u80171\u6B21\u5927\u6A21\u578B\u4F7F\u7528\u673A\u4F1A\uFF08\u6BCF\u65E5",tt,"\u6B21\u673A\u4F1A\uFF0C\u4ECA\u65E5\u5269\u4F59",b.createElement("span",{className:De.num},xe),"\u6B21\uFF09\uFF0C\u786E\u5B9A\u64CD\u4F5C\u5417\uFF1F"):b.createElement("div",{className:"mb20"},"\u4ECA\u65E5\u5927\u6A21\u578B\u4F7F\u7528\u673A\u4F1A\u5DF2\u7528\u5B8C\uFF08\u6BCF\u65E5",tt,"\u6B21\u673A\u4F1A\uFF0C\u4ECA\u65E5\u5269\u4F59",b.createElement("span",{className:De.num},xe),"\u6B21\uFF09\u3002");return b.createElement(he.default,{centered:!0,open:ze,title:"\u63D0\u793A",width:620,zIndex:1100,onCancel:Le,onOk:Me,footer:xe>0?void 0:null},_e())}},25872:function(yt,kt,oe){"use strict";oe.d(kt,{Z:function(){return a},Q:function(){return le}});var b=oe(59301),he={container:"container___DAVRd",katex:"katex___oS9Qs",liWrap:"liWrap___pAkIe",backBottom:"backBottom___kT237",imgBox:"imgBox___O8q6M"},De=oe(85788),Ae=oe(346),ke=oe(75819),ze=oe(74368),xe=oe(25395),tt=oe(74549),Me="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHAAAAB4CAYAAAAqs3YmAAAAAXNSR0IArs4c6QAADGlJREFUeF7tnVlQHMcZx7/umT0AcSjGBonDOmxdgV2Ww0iWIsmxrfIhJ1VJ2W+uilgEjqtclTwmLxQvyYur8uCKYmFQXMmbXUlV4lw+Ysm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LO2y0/8zrNSPJ+lypXNYBZCe7t+nT/DmUt1+9tMaG8NgW7DYzI1srrKdpsB4hskH9OyJw+9wJ19lU5aOmHGAqrjo9Pne/NLApGMLVS2wJDeY68dlP/+C6o8eHXpvI05CjQzvUCVWsLEF4rqis6mQq0zqyFiATsLF1aFdI051hhBQM9ELPG65rZrSKSCLx3RxP3FfXFACbDAM9ne4bei8GXrusBsjEuPeB6oJECMYdVDqvTm/gEe9gG5VnRv1bQgrZipAUWyq7x0eKIWY9wEh6nzewbcmcbMlNCsYlO75WLDlv65kvsuWxEMEbQmGlUp0BEHXJuk0cJk5QvwOcQohZDzAqbGPzYEmIEk880WOjVUATMlYmqYJn7cg2R2zziIQxCilKDgYpHxAtpAgt+0EENmDJr3T1zY4ESkNh8KwGxDUDkEFir9FNj47vWO7NWp4uVG3L5nm51HHh9Ikdo4sXjL98NSCuKYBRcZ9ouVI4Rie34TAqMfSlCkKDsoS+eLrM9XW8JbLG5tRDXJMAoyCffuWy49bMZAWiUikgqZACiaVkLNcaI/NJCrfA7vjm8IZt3yVa20w1xDUNUA3p+effkm4U7Cqcg2A+AruNymDH80RSHPKcTVLmbITM27E0k8zD2FRCFACTvfFxllsOopQr9fYeq7rJ6S5mzg2wrsl3SD0SEx891y99PIgU0MRAl+tj/V6WWvIDPOJvVH9WQ2w7wCe9FiLTr6/D3cPnZdGaH2DLUCVVFHeyFWZKuVQmBrP36MPzZBtCNFiG7w8Yef2bG+BCptVudapcpkDhiTOVAHniSGTLDTA6IZ4YnvJkM8SsBsggRl5pbj1fASFlQ6IlpkRXkRWPZwrA/wPlJnpuyspBOgAAAABJRU5ErkJggg==",Le=oe(92310),_e=oe.n(Le),He=oe(8591),Ke=(x,y,z)=>new Promise((te,ae)=>{var se=Fe=>{try{Se(z.next(Fe))}catch(We){ae(We)}},ie=Fe=>{try{Se(z.throw(Fe))}catch(We){ae(We)}},Se=Fe=>Fe.done?te(Fe.value):Promise.resolve(Fe.value).then(se,ie);Se((z=z.apply(x,y)).next())});const le={contentRef:{current:null},value:null,status:!1,open:()=>Ke(void 0,null,function*(){}),close:()=>{}};var a=({className:x,style:y,onChange:z,onSuccess:te,onCancel:ae,onError:se,fetchUrl:ie,noRestrictModal:Se=()=>{},showEditableToolbar:Fe,bottomOffset:We=110,loadingText:Ne,showEmptyData:mt=!0,onStatusChange:Re,stringTransformer:Je,bottomContainerNode:Qe})=>{const[et,we]=(0,b.useState)(!1),[ht,ct]=(0,b.useState)(""),[Lt,gt]=(0,b.useState)(0),[Pn,nn]=(0,b.useState)(!1),Wt=(0,b.useRef)(null),_t=(0,b.useRef)(null),Te=(0,b.useRef)(null),ot=(0,b.useRef)(null),Ut=(0,xe.Z)({scrollBoxRef:ot,bottomInspectRef:Te,contentRef:_t,status:Pn,bottomOffset:We}),xn=et||Pn;(0,b.useEffect)(()=>{z==null||z(ht)},[ht]),(0,b.useEffect)(()=>{Re==null||Re({contentRef:_t,status:xn,value:ht,open:At,close:ln})},[xn,ht]);const At=ut=>Ke(void 0,null,function*(){we(!0),ct(""),gt(0);const Xt=ie;ut!=null&&ut.fetchUrl&&delete ut.fetchUrl,Wt.current=new De.Z(`${Ae.Z.API_SERVER}${Xt}`,ut),yield new Promise((nt,Pt)=>{Wt.current.on("data",_n=>{let{chunk:{content:sn,type:Rt}}=_n;nn(!0),Rt==="text"&&ct(Mt=>Je?Je(Mt+sn):Mt+sn)}),Wt.current.on("done",()=>{nt()}),Wt.current.on("error",_n=>{Object.prototype.toString.call(_n)==="[object Object]"&&_n.status===-1&&He.ZP.warning((_n==null?void 0:_n.message)||""),nt(),se==null||se(_n)}),Wt.current.on("cancelled",()=>{nt(),ae==null||ae()}),Wt.current.startStream()}),we(!1)}),ln=()=>{var ut,Xt;gt(1),(Xt=(ut=Wt.current)==null?void 0:ut.cancelRequest)==null||Xt.call(ut),we(!1),nn(!1)},Ce=(0,b.useMemo)(()=>_t.current?b.createElement(ze.Z,{noRestrictModal:Se,nodeRef:_t}):b.createElement(b.Fragment,null),[_t.current]);return b.createElement(b.Fragment,null,b.createElement("div",{className:_e()(he.container,x),style:y,ref:ot},b.createElement("div",{ref:_t,className:he.liWrap,contentEditable:!xn},ht&&b.createElement(ke.Z,{cancelIndex:Lt,streamingStatus:et,loadImage:!1,onFinish:()=>Ke(void 0,null,function*(){gt(0),setTimeout(()=>nn(!1),0),te==null||te(ht)}),value:ht})),!ht&&!xn&&b.createElement("div",{className:he.imgBox},b.createElement("img",{width:56,src:Me}),b.createElement("span",null,"\u9884\u89C8\u533A")),mt&&xn&&b.createElement(tt.Z,{text:Ne}),!Ut&&b.createElement("div",{className:he.backBottom,onClick:()=>{ot.current.scrollTop=ot.current.scrollHeight}},b.createElement("i",{className:"iconfont icon-huidaodibu"})),b.createElement("div",{ref:Te}),Qe),!xn&&Fe&&Ce)}},74549:function(yt,kt,oe){"use strict";oe.d(kt,{Z:function(){return Ae}});var b=oe(59301),he={loading:"loading___SifAS",dot:"dot___J5R0d","dot-fade":"dot-fade___BPUGC"},Ae=({text:ke})=>b.createElement("div",null,b.createElement("div",{className:he.loading},b.createElement("div",{className:he.dot}),b.createElement("div",{className:he.dot}),b.createElement("div",{className:he.dot})),!!ke&&b.createElement("div",{className:"mt5"},ke))},72409:function(yt,kt,oe){"use strict";oe.d(kt,{o:function(){return b}});const b=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)},99909:function(yt,kt,oe){"use strict";oe.d(kt,{Z:function(){return x}});var b=oe(59301),he=oe(17574),De=oe(46722),Ae={flex_box_center:"flex_box_center___SFmJH",flex_space_between:"flex_space_between___f2H1D",flex_box_vertical_center:"flex_box_vertical_center___hW_hp",flex_box_center_end:"flex_box_center_end___yklmJ",flex_box_column:"flex_box_column___m0oUw",customTree:"customTree___ZhEHU",name:"name___RIkn2"},ke=Object.defineProperty,ze=Object.defineProperties,xe=Object.getOwnPropertyDescriptors,tt=Object.getOwnPropertySymbols,Me=Object.prototype.hasOwnProperty,Le=Object.prototype.propertyIsEnumerable,_e=(y,z,te)=>z in y?ke(y,z,{enumerable:!0,configurable:!0,writable:!0,value:te}):y[z]=te,He=(y,z)=>{for(var te in z||(z={}))Me.call(z,te)&&_e(y,te,z[te]);if(tt)for(var te of tt(z))Le.call(z,te)&&_e(y,te,z[te]);return y},Ke=(y,z)=>ze(y,xe(z)),le=(y,z)=>{var te={};for(var ae in y)Me.call(y,ae)&&z.indexOf(ae)<0&&(te[ae]=y[ae]);if(y!=null&&tt)for(var ae of tt(y))z.indexOf(ae)<0&&Le.call(y,ae)&&(te[ae]=y[ae]);return te},E=(y,z,te)=>new Promise((ae,se)=>{var ie=We=>{try{Fe(te.next(We))}catch(Ne){se(Ne)}},Se=We=>{try{Fe(te.throw(We))}catch(Ne){se(Ne)}},Fe=We=>We.done?ae(We.value):Promise.resolve(We.value).then(ie,Se);Fe((te=te.apply(y,z)).next())}),x=y=>{var z=y,{value:te,onChange:ae,defaultValue:se,disabled:ie}=z,Se=le(z,["value","onChange","defaultValue","disabled"]);const[Fe,We]=(0,b.useState)([]),[Ne,mt]=(0,b.useState)("1");(0,b.useEffect)(()=>{Re()},[]);const Re=()=>E(void 0,null,function*(){const et=yield(0,De.NZ)({});if(et!=null&&et.data){const we=[{title:b.createElement("div",{title:"\u6839\u76EE\u5F55",className:Ae.name},"\u6839\u76EE\u5F55"),value:0,key:0,icon:b.createElement("i",{className:"iconfont icon-wenjianjia2 c-light-primary mr10",style:{lineHeight:"19px"}}),children:Je(et.data||[])}];We(we),mt("2")}}),Je=et=>{function we(ht){const ct=ht.children,Lt=Array.isArray(ct)&&ct.length>0,gt=ht==null?void 0:ht.group_id;return{title:b.createElement("div",{title:ht==null?void 0:ht.name,className:Ae.name},ht==null?void 0:ht.name),value:gt,key:gt,icon:b.createElement("i",{className:"iconfont icon-wenjianjia2 c-light-primary mr10",style:{lineHeight:"19px"}}),children:Lt?ct==null?void 0:ct.map(Pn=>we(Pn)):[]}}return et==null?void 0:et.map(ht=>we(ht))},Qe=se?{defaultExpandedKeys:[0],defaultSelectedKeys:[0]}:{selectedKeys:te,defaultExpandedKeys:te};return b.createElement("div",{className:Ae.customTree},b.createElement(he.default,He(Ke(He({key:Ne},Qe),{showIcon:!0,treeData:Fe,onSelect:ae,disabled:ie}),Se)))}},50337:function(yt,kt,oe){"use strict";oe.d(kt,{Z:function(){return Ae}});var b=oe(59301),he={digitalLabel:"digitalLabel___tImKs",active:"active___Ck70Q"},Ae=({number:ke,active:ze,className:xe})=>b.createElement("div",{className:`${he.digitalLabel} ${ze?he.active:""} ${xe}`},ke)},38518:function(yt,kt,oe){"use strict";oe.d(kt,{Z:function(){return y}});var b=oe(59301),he=oe(17574),De={folderWrapper:"folderWrapper___G__0a",folderIcon:"folderIcon___oTG6c"},Ae=oe(73631),ke=oe(5623),ze=oe(46722),xe=Object.defineProperty,tt=Object.defineProperties,Me=Object.getOwnPropertyDescriptors,Le=Object.getOwnPropertySymbols,_e=Object.prototype.hasOwnProperty,He=Object.prototype.propertyIsEnumerable,Ke=(z,te,ae)=>te in z?xe(z,te,{enumerable:!0,configurable:!0,writable:!0,value:ae}):z[te]=ae,le=(z,te)=>{for(var ae in te||(te={}))_e.call(te,ae)&&Ke(z,ae,te[ae]);if(Le)for(var ae of Le(te))He.call(te,ae)&&Ke(z,ae,te[ae]);return z},E=(z,te)=>tt(z,Me(te)),a=(z,te,ae)=>new Promise((se,ie)=>{var Se=Ne=>{try{We(ae.next(Ne))}catch(mt){ie(mt)}},Fe=Ne=>{try{We(ae.throw(Ne))}catch(mt){ie(mt)}},We=Ne=>Ne.done?se(Ne.value):Promise.resolve(Ne.value).then(Se,Fe);We((ae=ae.apply(z,te)).next())}),y=({value:z,onChange:te,scrollId:ae})=>{const[se,ie]=(0,b.useState)([]);(0,b.useEffect)(()=>{Se()},[]);const Se=()=>a(void 0,null,function*(){const Je=yield(0,ze.NZ)({});if(Je!=null&&Je.data){const Qe=[{title:"\u6839\u76EE\u5F55",value:0,key:0,icon:b.createElement("img",{src:Ae,className:De.folderIcon}),isLeaf:!1,children:Fe(Je.data||[])}];ie(Qe)}}),Fe=Je=>Je.map(Qe=>({title:Qe.name,key:Qe.group_id,icon:b.createElement("img",{src:Ae,className:De.folderIcon}),isLeaf:Qe.children.length===0,children:Fe(Qe.children)})),We=(Je,Qe,et)=>Je.map(we=>we.key===Qe?le(le({},we),et):we.children?E(le({},we),{children:We(we.children,Qe,et)}):we),Ne=(Je,Qe,et)=>Je.map(we=>{if(we.key===Qe)return E(le({},we),{icon:et?b.createElement("img",{src:ke,className:De.folderIcon}):b.createElement("img",{src:Ae,className:De.folderIcon})});if(we.children)return E(le({},we),{children:Ne(we.children,Qe,et)})}),mt=(Je,Qe)=>{ie(et=>Ne(et,Qe.node.key,Qe.expanded))},Re=z?{selectedKeys:z,defaultExpandedKeys:z}:{};return se.length>0&&b.createElement("div",{id:ae||""},b.createElement(he.default,le({showLine:{showLeafIcon:!1},showIcon:!0,treeData:se,className:De.folderWrapper,onSelect:te,onExpand:mt},Re)))}},94361:function(yt,kt,oe){"use strict";oe.d(kt,{Z:function(){return ze}});var b=oe(60324),he={text:"text___FxbAX",wrap:"wrap___UlBQ1",contact:"contact____pUDq",img:"img___BapAv"},De=oe(32637),Ae=oe(59301),ze=({type:xe,style:tt})=>{const Me=Ae.createElement("div",{className:he.wrap,onClick:Le=>{Le.preventDefault(),Le.stopPropagation()}},Ae.createElement("p",null,xe==="shixun"||xe==="paths"?"\u5F53\u524D\u5B9E\u8DF5\u9879\u76EE\u662F\u9AD8\u6D88\u8017\u7C7B\u578B\u7684\u5B9E\u9A8C\u3002":"\u5F53\u524D\u8BD5\u5377\u5305\u542B\u9AD8\u6D88\u8017\u7C7B\u578B\u7684\u5B9E\u9A8C\u3002",Ae.createElement("br",null),"\u6839\u636E\u5E73\u53F0\u4F7F\u7528\u89C4\u5219\uFF0C\u9700\u8981\u6388\u6743\u624D\u80FD\u4F7F\u7528\u3002",xe==="paths"?"\u53D1\u9001\u5230\u8BFE\u5802":"\u53D1\u5E03","\u4F7F\u7528\u4E4B\u524D\uFF0C\u8BF7\u5148\u8054\u7CFB\u5E73\u53F0\u7BA1\u7406\u5458\u83B7\u53D6\u6388\u6743\u7801\u3002"),Ae.createElement("div",{className:he.contact},Ae.createElement("div",{className:he.img},Ae.createElement("img",{src:De,width:"124px",height:"124px"})),Ae.createElement("div",{className:"tc font14 mt10",style:{color:"#777A93"}},"\u626B\u4E00\u626B\uFF0C\u83B7\u53D6\u6388\u6743\u7801")));return Ae.createElement(b.Z,{content:Me},Ae.createElement("span",{className:he.text,style:tt},"\u9AD8\u6D88\u8017"))}},9507:function(yt,kt,oe){"use strict";oe.d(kt,{Z:function(){return _e}});var b=oe(59301),he={imageDimensions:"imageDimensions___a7crR",img:"img___Kroat",fullWidth:"fullWidth___c492T"},De=oe(92310),Ae=oe.n(De),ke=oe(71418),ze=oe(2859),xe=oe(38986),tt=oe(51257),Me=(He,Ke,le)=>new Promise((E,a)=>{var x=te=>{try{z(le.next(te))}catch(ae){a(ae)}},y=te=>{try{z(le.throw(te))}catch(ae){a(ae)}},z=te=>te.done?E(te.value):Promise.resolve(te.value).then(x,y);z((le=le.apply(He,Ke)).next())}),_e=({data:He,className:Ke,fullWidth:le,style:E={},onClose:a,onOk:x,showFullTools:y,noAssociationId:z})=>{const te=(0,b.useRef)(null),ae=(0,b.useRef)(null),se=(0,b.useRef)(null),ie=(0,b.useRef)(null),[Se,Fe]=(0,b.useState)(!1),[We,Ne]=(0,b.useState)("\u6B63\u5728\u52A0\u8F7D\u4E2D");(0,b.useEffect)(()=>{se.current||(se.current=document.createElement("style"),document.head.appendChild(se.current)),He!=null&&He.visible?(document.body.setAttribute("data-custom","y-hidden"),se.current.innerHTML=" html { overflow-y: hidden; }",He!=null&&He.src&&mt()):(document.body.removeAttribute("data-custom"),se.current&&(document.head.removeChild(se.current),se.current=null))},[He==null?void 0:He.visible]);const mt=()=>Me(void 0,null,function*(){Fe(!0),Ne("\u6B63\u5728\u52A0\u8F7D\u4E2D");const we=yield(0,tt.ZJ)(He==null?void 0:He.src);te.current.src="",te.current.src=we,te.current.onload=function(){et()},Fe(!1),Ne("")}),Re=()=>{document.body.removeAttribute("data-custom"),se.current.innerHTML=" ",a()},Je=we=>Me(void 0,null,function*(){Fe(!0),Ne("\u6B63\u5728\u4FDD\u5B58\u4E2D");const ht=yield(0,xe.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:He.title,file:we.dataUrl}});ht!=null&&ht.id&&!z?(yield(0,xe.ZP)(`/api/attachments/${He.id}/add_subitem.json`,{method:"post",body:{subitem_id:ht==null?void 0:ht.id,settings:JSON.stringify(we.state)}})).status===0&&x():ht!=null&&ht.id&&x(ht),document.body.removeAttribute("data-custom"),se.current.innerHTML=" ",Fe(!1),Ne("")}),Qe=()=>{const we=document.querySelector('a[href="https://markerjs.com/"]');we&&we.parentNode&&(we.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(ct=>{const Lt=document.querySelector(ct.name);Lt&&Lt.setAttribute("title",ct.title)})},et=()=>{ae.current=new ze.hP(te.current),ae.current.targetRoot=ie.current,ae.current.addEventListener("render",Je),ae.current.addEventListener("beforeclose",Re),y&&(ae.current.availableMarkerTypes=ae.current.ALL_MARKER_TYPES,ae.current.uiStyleSettings.redoButtonVisible=!0,ae.current.uiStyleSettings.notesButtonVisible=!0,ae.current.uiStyleSettings.zoomButtonVisible=!0,ae.current.uiStyleSettings.zoomOutButtonVisible=!0,ae.current.uiStyleSettings.clearButtonVisible=!0),window.markerArea=ae.current.uiStyleSettings,ae.current.show(),He!=null&&He.snapshotData&&ae.current.restoreState(He.snapshotData),setTimeout(()=>{window.scrollTo(0,0),Qe()},300)};return b.createElement(b.Fragment,null,(He==null?void 0:He.visible)&&b.createElement(ke.Z,{spinning:Se,tip:We,style:{position:"absolute"}},b.createElement("div",{ref:ie,className:Ae()(he.imageDimensions,Ke,le?he.fullWidth:""),style:E},b.createElement("img",{className:he.img,ref:te}))))}},71528:function(yt,kt,oe){"use strict";oe.d(kt,{Z:function(){return Ya},$:function(){return dr}});var b=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"},De=oe(92310),Ae=oe.n(De),ke=oe(78241),ze=oe(8591),xe=oe(43418),tt=oe(5871),Me=oe(95237),Le=oe(24905),_e=oe(38854),He=oe(54580),Ke=oe(3113),le=oe(93948),E=oe(19842),a=oe(92832),x=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+CKxKh66L4P4WWu7ySVj1sh63GwNN0u36IwVQMk6HPWMHVKmmeceLoOR9exnpFC2nHs2F/LDxqwi5PBIdJTA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q5E2xIOk/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",ie=oe(38986),Se=oe(38518),Fe=oe(5623),We=oe(8944),Ne=oe(19105),mt=oe(17077),Re=oe(15342),Je=oe.n(Re),Qe=(Jn,da,ea)=>new Promise((ia,Ea)=>{var Va=Ft=>{try{an(ea.next(Ft))}catch(Gt){Ea(Gt)}},yn=Ft=>{try{an(ea.throw(Ft))}catch(Gt){Ea(Gt)}},an=Ft=>Ft.done?ia(Ft.value):Promise.resolve(Ft.value).then(Va,yn);an((ea=ea.apply(Jn,da)).next())}),we=b.memo(({tagName:Jn="div",value:da="",className:ea,style:ia={},onBlur:Ea,id:Va})=>{const yn=(0,b.useRef)(null);(0,b.useEffect)(()=>{if(!yn.current)return;Qe(void 0,null,function*(){const Gt=yn.current;Gt.innerHTML="";const Da=da==null?void 0:da.split(/(`?\$\$[\s\S]*?\$\$`?)/g);for(const pa of Da)if(pa.startsWith("$$")&&pa.endsWith("$$")||pa.startsWith("`$$")&&pa.endsWith("$$`")){const wa=pa.startsWith("`$$")?pa.slice(3,-3):pa.slice(2,-2),ha=document.createElement("span");ha.setAttribute("contentEditable","false"),ha.setAttribute("title",pa),ha.className="edu_latex",Gt.appendChild(ha),Je().render(wa,ha,{throwOnError:!1})}else{const wa=pa==null?void 0:pa.replace(/<[^>]*>/g,ha=>ha.startsWith("<img")?ha:ha.replace(/</g,"&lt;"));Gt.insertAdjacentHTML("beforeend",wa)}})},[Va]);const an=()=>{var Ft,Gt;if(Ea&&yn.current){const pa=yn.current.cloneNode(!0),wa=pa.querySelectorAll("span.edu_latex");for(let ha of wa){const Ga=ha.getAttribute("title"),gr=document.createTextNode(Ga||""),Ua=ha;(Gt=(Ft=Ua.parentNode)==null?void 0:Ft.replaceChild)==null||Gt.call(Ft,gr,Ua)}Ea(pa.innerHTML)}};return b.createElement(b.Fragment,null,b.createElement(Jn,{ref:yn,contentEditable:!0,className:ea,style:ia,onBlur:an}))}),ht=oe(48790),ct=oe(49535),Lt=oe(43428),gt=oe(6848),Pn=oe(43604),nn={wrap:"wrap___Yz6fc",left:"left___F0axg",tip:"tip___nCmqI",bottomBtn:"bottomBtn___x70Gq",disabled:"disabled___CWzre"},Wt=oe(72409),_t=oe(51257),Te=oe(91239),ot=oe(35902),Ut=oe(85020),xn=oe(25872),At="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAAAXNSR0IArs4c6QAAHr1JREFUaEPNmweYnVW1/n/7a6fMmcm0ZEoSUkkCSQgJCVWKoAI2FAH1iqBYwXvFLogF8S9XvRYElUeqIJegFOmEKgiICUkgJBBCkpnMZHoyc6ad9pW9r3t/58wEsJfn+Z8z5zn9fN+711rvetdaewT/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TWfPygOwizAr20fwzIOkkvW8fcUcLGesFAbhz+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==",ln=(Jn,da,ea)=>new Promise((ia,Ea)=>{var Va=Ft=>{try{an(ea.next(Ft))}catch(Gt){Ea(Gt)}},yn=Ft=>{try{an(ea.throw(Ft))}catch(Gt){Ea(Gt)}},an=Ft=>Ft.done?ia(Ft.value):Promise.resolve(Ft.value).then(Va,yn);an((ea=ea.apply(Jn,da)).next())}),ut=(0,b.forwardRef)(({onUpdateNum:Jn,onSave:da},ea)=>{var ia;const Ea=`\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%`,[Va,yn]=(0,b.useState)(!1),[an,Ft]=(0,b.useState)([]),[Gt,Da]=(0,b.useState)(null),[pa,wa]=(0,b.useState)([]),[ha,Ga]=(0,b.useState)(0),[gr,Ua]=(0,b.useState)(0),[Cr,ho]=(0,b.useState)(!1),[Ht,Zn]=(0,b.useState)(""),[qn,Sa]=(0,b.useState)(0),[Be,at]=(0,b.useState)(0),[st,bt]=(0,b.useState)(0),[St,mn]=(0,b.useState)(0),[Kt,Ge]=(0,b.useState)(0),[Ye,Ue]=(0,b.useState)(0),[Bt,un]=(0,b.useState)(0),[pn,ra]=(0,b.useState)(0),[Vn,Ln]=(0,b.useState)(xn.Q),{contentRef:jn,value:Tn,status:jt,open:La,close:ir}=Vn,oo=(0,ot.Z)({contentRef:jn,status:jt}),{openProgress:Wa,closeProgress:zt,CreateProgressModal:jr,progressOpen:Ta}=(0,Te.Z)();(0,b.useEffect)(()=>{Gt&&br(),Gt===!1&&(ir(),Jn==null||Jn(),Ft([]),Zn(""),Sa(0),at(0),bt(0),mn(0),Ge(0),Ue(0),un(0),ra(0))},[Gt]);const vr=()=>{Da(!0)};(0,b.useImperativeHandle)(ea,()=>({onClick:vr}));const er=ua=>{ho(!0),Ga(ua),Ua(0)},_r=ua=>ln(void 0,null,function*(){const tr=ua.name.split(".").slice(-1)[0].toLowerCase();return["docx","doc","pdf","png","jpg"].indexOf(tr)==-1?(ze.ZP.warning("\u4E0A\u4F20\u7684\u6587\u4EF6\u683C\u5F0F\u6709\u8BEF\uFF0C\u8BF7\u68C0\u67E5\u540E\u91CD\u65B0\u4E0A\u4F20"),Promise.reject()):ua.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}),br=()=>ln(void 0,null,function*(){const ua=yield(0,ie.ZP)("/api/intelligent_imports/check_number.json",{method:"get"});ua.status===0&&(Ga(ua.total_number),Ua(ua.remaining_number))}),qr=ua=>(ua=ua||"",ua=String(ua),ua=ua.replace(/\s+/g,""),ua),wr=(ua=!0)=>ln(void 0,null,function*(){var tr,Oa;const hn=[{name:"\u5355\u9009\u9898",num:qn||0},{name:"\u591A\u9009\u9898",num:Be||0},{name:"\u5224\u65AD\u9898",num:st||0},{name:"\u586B\u7A7A\u9898",num:St||0},{name:"\u7B80\u7B54\u9898",num:Kt||0},{name:"\u7EC4\u5408\u9898",num:pn||0},{name:"\u7F16\u7A0B\u9898",num:Ye||0},{name:"\u7A0B\u5E8F\u586B\u7A7A\u9898",num:Bt||0}];if(ua){if(qr(Ht)){if(Ht.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(!qr(Ht)&&!(an!=null&&an.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 Wn=hn.reduce((qa,Ka)=>qa+Ka.num,0);if(Wn===0){ze.ZP.warning("\u8BF7\u8BBE\u7F6E\u51FA\u9898\u6570\u91CF");return}if(Wn>30){ze.ZP.warning("\u51FA\u9898\u6570\u91CF\u8FBE\u5230\u9650\u5236");return}if(ha!==-1){ho(!0);return}}ho(!1);const Aa={scene_type:6,request_identifier:Math.random(),file_id:(Oa=(tr=an[0])==null?void 0:tr.response)==null?void 0:Oa.id,content:Ht,count_arr:hn.map(Wn=>Wn.num).join(",")};yield La(Aa),br()}),oa=()=>ln(void 0,null,function*(){const ua=oo();if(da){Da(!1),da(ua);return}Wa(),yn(!0),wa([]);const tr=new FormData;tr.append("html",ua);const Oa=yield(0,ie.ZP)("/api/intelligent_imports/import.json",{method:"post",body:tr},!0);if((Oa==null?void 0:Oa.status)===0)if(Oa!=null&&Oa.data){zt(100),wa(Oa==null?void 0:Oa.data);return}else ze.ZP.warning("\u672A\u8BC6\u522B\u5230\u8BD5\u9898");yn(!1),zt()}),$t=()=>ln(void 0,null,function*(){const ua=oo();(0,_t.RG)(ua)}),Xa=["uploading","error"].includes((ia=an==null?void 0:an[0])==null?void 0:ia.status);return b.createElement(b.Fragment,null,b.createElement(Ut.Z,{visible:Cr,totalCount:ha,usedCount:gr,onCancel:()=>ho(!1),onOk:()=>wr(!1)}),b.createElement(Lt.Z,{title:"\u667A\u80FD\u51FA\u9898",extra:b.createElement("div",{className:nn.extraHeader},b.createElement(Me.Z,{align:"middle"},!jt&&!!Tn&&b.createElement(b.Fragment,null,b.createElement(x.op,{onClick:oa,className:"mr15",shape:"default"},"\u4FDD\u5B58\u8BD5\u9898"),b.createElement(x.op,{onClick:$t,shape:"default",type:"text"},b.createElement("i",{className:"iconfont icon-fuzhi8 mr5 font14"}),"\u590D\u5236")),b.createElement("i",{onClick:()=>{const ua=tr=>{xe.default.confirm({centered:!0,icon:null,width:500,zIndex:1101,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:tr,onOk:()=>{Da(!1)}})};if(jt){ua("\u6B63\u5728\u751F\u6210\u8BD5\u9898\u4E2D\uFF0C\u786E\u5B9A\u8981\u9000\u51FA\u5417\uFF1F");return}else Tn?ua("\u8BD5\u9898\u672A\u4FDD\u5B58\uFF0C\u786E\u5B9A\u8981\u9000\u51FA\u5417\uFF1F"):Da(!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:Gt},b.createElement("div",{className:nn.wrap},b.createElement("div",{className:nn.left},b.createElement("div",{className:nn.tip},b.createElement("img",{src:At}),b.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")),b.createElement("div",{className:"mb10 mt20 c-black"},b.createElement("b",null,"\u51FA\u9898\u8981\u6C42")),b.createElement(a.default.TextArea,{style:{height:160},className:"mb20",value:Ht,placeholder:Ea,onChange:ua=>{Zn(ua.target.value)}}),b.createElement(He.default,{accept:".doc,.docx,.pdf,.png,.jpg",action:`${y.Z.API_SERVER}/api/attachments.json`,maxCount:1,fileList:an,withCredentials:!0,data:{upload_type:1},beforeUpload:_r,onChange:({file:ua})=>{var tr,Oa;ua.status!=="removed"&&(ua.status==="done"&&((tr=ua==null?void 0:ua.response)==null?void 0:tr.status)!==0&&(ua.status="error",ua.response=(Oa=ua==null?void 0:ua.response)==null?void 0:Oa.message),Ft([ua]))},onRemove:()=>Ft([])},b.createElement(gt.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"},b.createElement(x.op,{style:{borderRadius:2}},b.createElement("i",{className:"icon-shangchuan3 mr5"}),"\u4E0A\u4F20\u6750\u6599"))),b.createElement("div",{className:"c-black mt20"},b.createElement("div",{className:"mb10 c-black"},b.createElement("b",null,"\u51FA\u9898\u6570\u91CF"),b.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",b.createElement("span",{style:{padding:"0 6px",color:"#FB901F"}},"30"),"\u9053\uFF09")),b.createElement(Me.Z,{style:{gap:16}},b.createElement(Pn.Z,null,b.createElement("label",null,"\u5355\u9009\u9898"),b.createElement(tt.Z,{min:0,max:10,value:qn,onChange:Sa,style:{marginLeft:"8px"}})),b.createElement(Pn.Z,null,b.createElement("label",null,"\u591A\u9009\u9898"),b.createElement(tt.Z,{min:0,max:10,value:Be,onChange:at,style:{marginLeft:"8px"}})),b.createElement(Pn.Z,null,b.createElement("label",null,"\u5224\u65AD\u9898"),b.createElement(tt.Z,{min:0,max:10,value:st,onChange:bt,style:{marginLeft:"8px"}})),b.createElement(Pn.Z,null,b.createElement("label",null,"\u586B\u7A7A\u9898"),b.createElement(tt.Z,{min:0,max:10,value:St,onChange:mn,style:{marginLeft:"8px"}})),b.createElement(Pn.Z,null,b.createElement("label",null,"\u7B80\u7B54\u9898"),b.createElement(tt.Z,{min:0,max:10,value:Kt,onChange:Ge,style:{marginLeft:"8px"}})))),jt?b.createElement("div",{onClick:ir,className:nn.bottomBtn},b.createElement("i",{className:"iconfont icon-tingzhihuida"}),"\u505C\u6B62\u51FA\u9898"):Xa?b.createElement("div",{className:`${nn.bottomBtn} ${nn.disabled}`},b.createElement("i",{className:"iconfont icon-kaishichuti font14"}),"\u5F00\u59CB\u51FA\u9898"):b.createElement("div",{onClick:()=>{wr()},className:nn.bottomBtn},b.createElement("i",{className:"iconfont icon-kaishichuti font14"}),"\u5F00\u59CB\u51FA\u9898")),b.createElement(xn.Z,{onStatusChange:Ln,loadingText:"\u8BD5\u9898\u751F\u6210\u4E2D",fetchUrl:"/api/stream/intelligent_imports/stream.json",showEditableToolbar:!Ta,noRestrictModal:er,stringTransformer:Wt.o,onError:ua=>{Object.prototype.toString.call(ua)==="[object Object]"&&ua.status===-9&&er(ua.data)}}))),b.createElement(Lt.Z,{placement:"bottom",height:"100%",closable:!1,className:"body-overflow-hidden",destroyOnClose:!0,open:Va},b.createElement(Me.Z,{align:"middle",style:{margin:"8px auto 24px auto",width:1200,fontWeight:600},className:"c-black font18"},b.createElement("img",{src:oe(36413),alt:"\u667A\u80FD\u51FA\u9898"}),b.createElement("span",{className:"ml10"},"\u667A\u80FD\u51FA\u9898")),b.createElement(Ya,{stickyTop:-24,hideWordFeatures:!0,dataSource:pa,isRefreshItemBank:!0,okText:"\u5BFC\u5165\u9898\u5E93",mode:1,onCancel:()=>yn(!1),onSuccess:()=>{yn(!1),Da(!1)}}),b.createElement("div",{style:{height:70}})),jr("\u5904\u7406\u4E2D"))}),Xt=Object.defineProperty,nt=Object.defineProperties,Pt=Object.getOwnPropertyDescriptors,_n=Object.getOwnPropertySymbols,sn=Object.prototype.hasOwnProperty,Rt=Object.prototype.propertyIsEnumerable,Mt=(Jn,da,ea)=>da in Jn?Xt(Jn,da,{enumerable:!0,configurable:!0,writable:!0,value:ea}):Jn[da]=ea,Yn=(Jn,da)=>{for(var ea in da||(da={}))sn.call(da,ea)&&Mt(Jn,ea,da[ea]);if(_n)for(var ea of _n(da))Rt.call(da,ea)&&Mt(Jn,ea,da[ea]);return Jn},aa=(Jn,da)=>nt(Jn,Pt(da)),tn=(Jn,da,ea)=>new Promise((ia,Ea)=>{var Va=Ft=>{try{an(ea.next(Ft))}catch(Gt){Ea(Gt)}},yn=Ft=>{try{an(ea.throw(Ft))}catch(Gt){Ea(Gt)}},an=Ft=>Ft.done?ia(Ft.value):Promise.resolve(Ft.value).then(Va,yn);an((ea=ea.apply(Jn,da)).next())});const ba=Jn=>{Jn.preventDefault();let ea=(Jn.clipboardData||window.clipboardData).getData("Text");document.execCommand("insertText",!1,ea)},_a=Jn=>{Jn.key==="Enter"&&Jn.preventDefault()},ya=({children:Jn,style:da})=>b.createElement("div",{className:he.leftBox,style:da,onPaste:ba},Jn),zn=({children:Jn,style:da,className:ea})=>b.createElement("div",{className:Ae()(he.rightBox,ea),style:da,onPaste:ba},Jn),xa=({className:Jn,style:da={},width:ea=1200,onCancel:ia=()=>{},onSuccess:Ea=()=>{},gather:Va={},mode:yn=1,stickyTop:an=0,subDisciplineId:Ft=[],hideWordFeatures:Gt,dataSource:Da=[],customLeftHeadNode:pa,customRightHeadNode:wa,customLeftContent:ha,hideRecognition:Ga=!1,onExchange:gr,isSingleSelection:Ua=!1,underpinBackgroundStyle:Cr={},headExtraNode:ho,isRefreshItemBank:Ht=!1,okText:Zn="\u786E\u5B9A\u5BFC\u5165",onSave:qn})=>{var Sa;const[Be,at]=(0,b.useState)(1),[st,bt]=(0,b.useState)(0),[St,mn]=(0,b.useState)(""),[Kt,Ge]=(0,b.useState)(!1),[Ye,Ue]=(0,b.useState)([]),[Bt,un]=(0,b.useState)([]),[pn,ra]=(0,b.useState)(!1),[Vn,Ln]=(0,b.useState)(!1),[jn,Tn]=(0,b.useState)(!1),[jt,La]=(0,b.useState)(!1),[ir,oo]=(0,b.useState)([]),[Wa,zt]=(0,b.useState)(1),[jr,Ta]=(0,b.useState)(!1),[vr,er]=(0,b.useState)(!0),[_r,br]=(0,b.useState)(0),[qr,wr]=(0,b.useState)(!1),[oa]=ke.default.useForm(),[$t]=ke.default.useForm(),Xa=(0,b.useRef)(null),ua=(0,b.useRef)(null),tr=(0,b.useRef)(),Oa=(0,b.useRef)(null),hn=["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"],$n=["C","C++","Java","Python","JavaScript","Ruby"];(0,b.useEffect)(()=>{Da!=null&&Da.length&&ji(Da)},[Da]),(0,b.useEffect)(()=>{Be===2&&Xa.current.focus()},[Be]),(0,b.useEffect)(()=>{jn&&Wn()},[jn]);const Aa=()=>{if(Be===1){ze.ZP.warning("\u8BF7\u5148\u4E0A\u4F20\u8BD5\u9898\uFF01");return}xe.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:()=>tn(void 0,null,function*(){at(1)})})},Wn=()=>tn(void 0,null,function*(){const me=yield(0,ie.ZP)("/api/disciplines.json",{method:"get",params:{source:yn===1?"new_question":"subject"}});oo(me.disciplines||[])}),qa=me=>{const pt=[],xt=(gn,Et)=>{gn.length>=2&&pt.push(gn.join(""));for(let wn=Et;wn<me.length;wn++)gn.push(me[wn]),xt(gn,wn+1),gn.pop()};return xt([],0),pt},Ka=me=>(me=me||"",me=String(me),me=me.replace(/\s+/g,""),me),pr=me=>(me=me||"",me=String(me),me=me.replace(/<div>/g,""),me=me.replace(/<br>/g,`
`),me=me.replace(/<\/div>/g,`
`),me=nr(me),me),Tr=me=>me.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#39;"),nr=me=>me.replace(/&lt;/g,"<").replace(/&gt;/g,">").replace(/&amp;/g,"&").replace(/&quot;/g,'"').replace(/&#39;/g,"'"),Ho=me=>{var pt;const xt=me.clipboardData;if(xt){const gn=xt.types.toString(),Et=xt.items;if(gn==="Files"||xt.types.indexOf("Files")>-1){me.preventDefault();try{let wn=Et[1];((pt=Et[0])==null?void 0:pt.kind)==="file"&&(wn=Et[0]);const Fn=wn.getAsFile();(0,mt.I)(Fn,fn=>{var bn;if(fn.id){if(((bn=Fn==null?void 0:Fn.type)==null?void 0:bn.indexOf("image"))>-1){const Ma=`<img src='${y.Z.API_SERVER}${fn.url}'>`;document.execCommand("insertText",!1,Ma)}}else(fn==null?void 0:fn.status)===401&&(document.location.href="/user/login")})}catch(wn){ze.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};function Ao(me,pt){return tn(this,null,function*(){if(typeof me=="string")return yield pt(me);if(typeof me!="object"||me===null)return me;if(Array.isArray(me))return yield Promise.all(me.map(Et=>tn(this,null,function*(){return yield Ao(Et,pt)})));const xt={};for(const gn in me)if(Object.prototype.hasOwnProperty.call(me,gn)){const Et=me[gn];typeof Et=="string"?xt[gn]=yield pt(Et):typeof Et=="object"?xt[gn]=yield Ao(Et,pt):xt[gn]=Et}return xt})}const hi=()=>tn(void 0,null,function*(){var me;Ge(!0),mn("\u5904\u7406\u4E2D"),yield new Promise(gn=>setTimeout(gn,1e3));let pt=(me=ua.current)==null?void 0:me.querySelectorAll('[data-text="edit"]'),xt="";try{pt.forEach(function(gn){var Et,wn,Fn,fn;const bn=gn.cloneNode(!0),Ma=bn.querySelectorAll("span.edu_latex");for(let hr of Ma){const ca=hr.getAttribute("title"),ma=document.createTextNode(ca),ar=hr;(wn=(Et=ar.parentNode)==null?void 0:Et.replaceChild)==null||wn.call(Et,ma,ar)}const or=bn.querySelectorAll("span[style]");for(let hr of or)if(hr.style.fontFamily){const ca=hr.innerHTML,ma=document.createTextNode(ca),ar=hr;(fn=(Fn=ar.parentNode)==null?void 0:Fn.replaceChild)==null||fn.call(Fn,ma,ar)}bn==null||bn.childNodes.forEach(function(hr){hr.nodeType===Node.ELEMENT_NODE&&hr.localName!=="h5"&&hr.localName!=="h4"?xt+=`<p>${hr.innerHTML}</p>`:hr.nodeType===Node.TEXT_NODE&&(xt+=`<p>${hr.textContent}</p>`)})}),dl("/api/intelligent_imports/import.json",{html:nr(xt)})}catch(gn){console.error("\u5904\u7406\u8282\u70B9\u9519\u8BEF:",gn)}}),Pr=me=>{let pt=me.filter(xt=>!!(xt!=null&&xt.type));return pt=pt.map(xt=>{var gn;const Et=(gn=ko.find(Fn=>Fn.id===(xt==null?void 0:xt.type)))==null?void 0:gn.deal,wn=aa(Yn({},xt),{id:String(Math.random()).slice(-6),knowledgePoint:Ka(xt==null?void 0:xt.knowledgePoint)});return Et?Et(wn):wn}),pt},Br=()=>{if(Be===1){ze.ZP.warning("\u672A\u8BC6\u522B\u5230\u8BD5\u9898!");return}xe.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:hi})},uo=()=>b.createElement("div",{className:he.row},b.createElement("div",{className:he.leftLayout},b.createElement(ya,{style:{height:675}},Be===1&&b.createElement("div",{style:{height:"100%",display:"flex",flexDirection:"column",alignItems:"center"},onClick:()=>at(2)},b.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",b.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",b.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",b.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",b.createElement("br",null)),b.createElement("div",{className:he.imgBox,style:{marginTop:75}},b.createElement("img",{width:56,src:te}),b.createElement("span",null,"\u7F16\u8F91\u533A"))),Be===2&&b.createElement("div",{"data-text":"edit",onBlur:()=>{Xa.current.innerHTML||at(1)},ref:Xa,contentEditable:!0,style:{color:"#9096A3",height:"100%",overflow:"auto"}}))),b.createElement("div",{className:he.rightLayout,style:{display:"flex",alignItems:"start",justifyContent:"center"}},b.createElement("div",{className:he.imgBox,style:{marginTop:240}},b.createElement("img",{width:56,src:ae}),b.createElement("span",null,"\u9884\u89C8\u533A")))),Ha=(me,pt,xt,gn)=>{var Et;console.log(me,pt,xt,gn,"onDataChange\u4FEE\u6539\u6570\u503C");const wn=JSON.parse(JSON.stringify(Bt));gn===void 0?wn[pt][me]=xt:wn[pt].questions[gn][me]=xt;const Fn=Yn({},wn[pt]),fn=(Et=ko.find(bn=>bn.id===(Fn==null?void 0:Fn.type)))==null?void 0:Et.deal;wn[pt]=fn(Fn),un(wn)},Zr=(me,pt,xt)=>{var gn;const Et=xt!==void 0,wn=(gn=ko.find(bn=>bn.id===(me==null?void 0:me.type)))==null?void 0:gn.type,Fn=`${pt+1}.${xt===void 0?"":xt+1+"."}`,fn=`${(me==null?void 0:me.type)==="7"?"{{":""}${Fn}\u3010${wn}\u3011${(me==null?void 0:me.question)||""}`;return b.createElement(b.Fragment,null,Et&&b.createElement("h4",{contentEditable:!0}),b.createElement(we,{id:me==null?void 0:me.id,tagName:"div",value:fn}))},Hr=(me,pt)=>tn(void 0,null,function*(){var xt;const gn=yield gr(me,pt),Et=(xt=gn==null?void 0:gn.data)==null?void 0:xt.content;if(Et!=null&&Et.length){const wn=Pr(Et)[0];Ye.splice(pt,1,wn),Bt.splice(pt,1,wn),Ue([...Ye]),un([...Bt])}}),lr=(me,pt,xt)=>{var gn;const Et=xt!==void 0,wn=(gn=ko.find(fn=>fn.id===(me==null?void 0:me.type)))==null?void 0:gn.type,Fn=`${pt+1}.${xt===void 0?"":xt+1+"."}`;return Et?b.createElement("div",{style:{padding:"10px 18px"}},`${Fn}\u3010${wn}\u3011`,b.createElement(we,{id:me==null?void 0:me.id,tagName:"span",className:he.edit,onBlur:fn=>Ha("question",pt,fn,xt),value:(me==null?void 0:me.question)||""})):b.createElement(b.Fragment,null,b.createElement("div",{className:he.actionHead},b.createElement("div",{className:"c-light-primary"},`${Fn}\u3010${wn}\u3011`),yn!==1&&b.createElement(tt.Z,{disabled:(me==null?void 0:me.type)==="7",min:0,max:100,style:{width:100,marginLeft:10},addonAfter:"\u5206",precision:1,size:"middle",onChange:fn=>Ha("score",pt,fn,xt),value:me==null?void 0:me.score}),b.createElement(Me.Z,{align:"middle",style:{marginLeft:"auto"}},!!gr&&b.createElement("span",{className:"current c-light-primary mr30",onClick:()=>Hr(me,pt)},b.createElement("i",{className:"iconfont icon-huanyihuan mr5"}),"\u6362\u4E00\u6362"),b.createElement(Le.default,{onChange:fn=>Ha("checked",pt,fn.target.checked,xt),checked:!!(me!=null&&me.checked)},"\u4E0D\u5BFC\u5165\u6B64\u9898"))),b.createElement(we,{id:me==null?void 0:me.id,tagName:"div",style:{padding:"10px 18px"},className:he.edit,onBlur:fn=>Ha("question",pt,fn,xt),value:me==null?void 0:me.question}))},zr=(me,pt,xt)=>b.createElement(b.Fragment,null,["0","1","2","4"].includes(me==null?void 0:me.type)&&b.createElement(we,{id:me==null?void 0:me.id,value:`\u7B54\u6848\uFF1A${pt||""}`,tagName:"p"}),!xt&&b.createElement(we,{id:me==null?void 0:me.id,value:`\u96BE\u5EA6\uFF1A${(me==null?void 0:me.difficulty)||""}`,tagName:"p"}),(me==null?void 0:me.type)!=="7"&&b.createElement(we,{id:me==null?void 0:me.id,value:`\u89E3\u6790\uFF1A${(me==null?void 0:me.analyze)||""}`,tagName:"p"}),!xt&&b.createElement(we,{id:me==null?void 0:me.id,value:`\u77E5\u8BC6\u70B9\uFF1A${(me==null?void 0:me.knowledgePoint)||""}`,tagName:"p"})),fo=(me,pt,xt,gn)=>{const Et=gn!==void 0,wn=["\u7B80\u5355","\u9002\u4E2D","\u56F0\u96BE"],Fn=Et&&!me.last&&!me.errorMsg?{marginBottom:10}:{},fn=wn.map(bn=>({key:bn,label:bn,onClick:()=>Ha("difficulty",xt,bn,gn)}));return b.createElement("div",{className:he.liWrap,style:Fn},["4"].includes(me==null?void 0:me.type)&&b.createElement("div",{className:he.li},b.createElement("aside",null,"\u7B54\xA0\xA0\xA0\xA0\u6848\uFF1A"),b.createElement(we,{id:me==null?void 0:me.id,tagName:"div",className:`${he.edit} c-black`,onBlur:bn=>Ha("answer",xt,[bn],gn),value:pt})),!Et&&b.createElement("div",{className:he.li},b.createElement("aside",null,"\u96BE\xA0\xA0\xA0\xA0\u5EA6\uFF1A"),b.createElement("div",{className:"c-black"},b.createElement(_e.Z,{menu:{items:fn}},b.createElement("span",{className:"c-light-primary"},me==null?void 0:me.difficulty,b.createElement("i",{className:"iconfont icon-a-bianzu11 font14 ml4"}))))),(me==null?void 0:me.type)!=="7"&&b.createElement("div",{className:he.li},b.createElement("aside",null,"\u89E3\xA0\xA0\xA0\xA0\u6790\uFF1A"),b.createElement(we,{id:me==null?void 0:me.id,tagName:"div",className:`${he.edit} c-grey-333`,onBlur:bn=>Ha("analyze",xt,bn,gn),value:me==null?void 0:me.analyze})),!Et&&b.createElement("div",{onKeyDown:_a,className:he.li},b.createElement("aside",null,"\u77E5\u8BC6\u70B9\uFF1A"),b.createElement(we,{id:me==null?void 0:me.id,tagName:"div",value:(me==null?void 0:me.knowledgePoint)||"",className:`${he.edit} c-grey-333`,onBlur:bn=>Ha("knowledgePoint",xt,Ka(pr(bn)),gn)})))},Qr=me=>b.createElement(b.Fragment,null,typeof(me==null?void 0:me.errorMsg)=="string"&&!!(me!=null&&me.errorMsg)&&b.createElement("h5",{contentEditable:!1},b.createElement("i",{className:"iconfont icon-shanchuhuanjing"}),b.createElement("div",null,me==null?void 0:me.errorMsg))),ja=me=>b.createElement(b.Fragment,null,typeof(me==null?void 0:me.errorMsg)=="string"&&!!(me!=null&&me.errorMsg)&&b.createElement("h5",null,b.createElement("i",{className:"iconfont icon-shanchuhuanjing"}),b.createElement("div",null,me==null?void 0:me.errorMsg))),Io=(me,pt,xt,gn)=>{let Et="flex";return(Ua&&_r!==gn||pn&&!(xt!=null&&xt.errorMsg))&&(Et="none"),b.createElement("div",{className:he.row,style:{display:Et}},b.createElement("div",{className:he.leftLayout},ha||b.createElement(ya,null,b.createElement("div",{"data-text":"edit",contentEditable:!0,className:he.question},me))),b.createElement("div",{className:he.rightLayout},b.createElement(zn,{className:xt!=null&&xt.errorMsg?he.error:""},pt)))},ko=[{id:"0",type:"\u5355\u9009\u9898",element:(me,pt,xt)=>{var gn,Et;const wn=xt!==void 0;let Fn=(gn=me==null?void 0:me.answer)==null?void 0:gn[0];const fn=b.createElement(b.Fragment,null,Zr(me,pt,xt),(Et=me==null?void 0:me.options)==null?void 0:Et.map((hr,ca)=>b.createElement(we,{id:me==null?void 0:me.id,key:ca,value:`${hn[ca]}.${hr}`,tagName:"p"})),zr(me,Fn,wn),Qr(me));let bn=wn?me:Bt[pt];const Ma=bn==null?void 0:bn.options,or=b.createElement(b.Fragment,null,lr(bn,pt,xt),Ma==null?void 0:Ma.map((hr,ca)=>{var ma;return b.createElement("div",{key:ca,className:he.option},b.createElement("aside",{className:((ma=bn==null?void 0:bn.answer)==null?void 0:ma[0])===hn[ca]?he.active:"",onClick:()=>Ha("answer",pt,[hn[ca]],xt)},hn[ca]),b.createElement(we,{id:bn==null?void 0:bn.id,tagName:"div",className:`${he.text}`,onBlur:ar=>{Ma[ca]=ar,Ha("options",pt,Ma,xt)},value:hr}))}),fo(bn,"",pt,xt),ja(bn));return wn?[fn,or]:Io(fn,or,bn,pt)},deal:me=>{var pt,xt,gn;me.score=me.score===void 0?2:me.score;let Et=Ka((pt=me==null?void 0:me.answer)==null?void 0:pt[0]).toUpperCase();me.answer=Et?[Et]:[];let wn=[];if(!(me!=null&&me.options))wn.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{me.options=(xt=me.options)==null?void 0:xt.slice(0,8);const Fn=me.options.map(bn=>bn==null?void 0:bn.trim().replace(/^\s+|\s+$/g,""));new Set(Fn).size!==Fn.length&&wn.push("\u9009\u9879\u5185\u5BB9\u91CD\u590D")}return Et||wn.push("\u672A\u8BC6\u522B\u5230\u7B54\u6848\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u201C \u7B54\u6848\uFF1AA \u201D"),Et&&(hn.slice(0,((gn=me==null?void 0:me.options)==null?void 0:gn.length)||8).includes(Et)||wn.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")),Ka(me==null?void 0:me.question)||wn.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),me.errorMsg=wn.join(`
`),me}},{id:"1",type:"\u591A\u9009\u9898",element:(me,pt,xt)=>{var gn,Et;const wn=xt!==void 0;let Fn=(gn=me==null?void 0:me.answer)==null?void 0:gn[0];const fn=b.createElement(b.Fragment,null,Zr(me,pt,xt),(Et=me==null?void 0:me.options)==null?void 0:Et.map((hr,ca)=>b.createElement(we,{id:me==null?void 0:me.id,key:ca,value:`${hn[ca]}.${hr}`,tagName:"p"})),zr(me,Fn,wn),Qr(me));let bn=wn?me:Bt[pt];const Ma=bn==null?void 0:bn.options,or=b.createElement(b.Fragment,null,lr(bn,pt,xt),Ma==null?void 0:Ma.map((hr,ca)=>{var ma,ar;return b.createElement("div",{key:ca,className:he.option},b.createElement("aside",{className:(ar=(ma=bn==null?void 0:bn.answer)==null?void 0:ma[0])!=null&&ar.includes(hn[ca])?he.active:"",onClick:()=>{var sr;let _o=((sr=bn==null?void 0:bn.answer)==null?void 0:sr[0])||"";const Jo=hn[ca];_o.includes(Jo)?_o=_o.replace(new RegExp(Jo,"g"),""):_o+=Jo,_o=_o.split("").sort().join(""),Ha("answer",pt,[_o],xt)}},hn[ca]),b.createElement(we,{id:bn==null?void 0:bn.id,tagName:"div",className:`${he.text}`,onBlur:sr=>{Ma[ca]=sr,Ha("options",pt,Ma,xt)},value:hr}))}),fo(bn,"",pt,xt),ja(bn));return wn?[fn,or]:Io(fn,or,bn,pt)},deal:me=>{var pt,xt,gn;me.score=me.score===void 0?2:me.score;let Et=Ka((pt=me==null?void 0:me.answer)==null?void 0:pt[0]).toUpperCase().split("").sort().join("");me.answer=Et?[Et]:[];let wn=[];if(!(me!=null&&me.options))wn.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{me.options=(xt=me.options)==null?void 0:xt.slice(0,8);const Fn=me.options.map(bn=>bn==null?void 0:bn.trim().replace(/^\s+|\s+$/g,""));new Set(Fn).size!==Fn.length&&wn.push("\u9009\u9879\u5185\u5BB9\u91CD\u590D")}if(Et||wn.push("\u672A\u8BC6\u522B\u5230\u7B54\u6848\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u201C \u7B54\u6848\uFF1AAB \u201D"),Et){const Fn=hn.slice(0,((gn=me==null?void 0:me.options)==null?void 0:gn.length)||8);qa(Fn).includes(Et)||wn.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 Ka(me==null?void 0:me.question)||wn.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),me.errorMsg=wn.join(`
`),me}},{id:"2",type:"\u5224\u65AD\u9898",element:(me,pt,xt)=>{var gn,Et;const wn=xt!==void 0;let Fn=(gn=me==null?void 0:me.answer)==null?void 0:gn[0];const fn=b.createElement(b.Fragment,null,Zr(me,pt,xt),zr(me,Fn,wn),Qr(me));let bn=wn?me:Bt[pt];const Ma=["\u6B63\u786E","\u9519\u8BEF"];let or=((Et=bn==null?void 0:bn.answer)==null?void 0:Et[0])||"";["\u6B63\u786E","\u5BF9","T","True","t","true"].includes(or)?or="\u6B63\u786E":["\u9519\u8BEF","\u9519","T","true","t","false"].includes(or)&&(or="\u9519\u8BEF");const hr=b.createElement(b.Fragment,null,lr(bn,pt,xt),Ma==null?void 0:Ma.map((ca,ma)=>b.createElement("div",{key:ma,className:he.option},b.createElement("aside",{style:{borderRadius:2},className:or===ca?he.active:"",onClick:()=>Ha("answer",pt,[ca],xt)},ca==="\u6B63\u786E"?"T":"F"),b.createElement("div",{style:{pointerEvents:"none"},className:`${he.text}`},ca))),fo(bn,"",pt,xt),ja(bn));return wn?[fn,hr]:Io(fn,hr,bn,pt)},deal:me=>{var pt;me.score=me.score===void 0?2:me.score;let xt=Ka((pt=me==null?void 0:me.answer)==null?void 0:pt[0]);me.answer=xt?[xt]:[];let gn=[];return xt||gn.push("\u672A\u8BC6\u522B\u5230\u7B54\u6848\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u201C \u7B54\u6848\uFF1A\u9519\u8BEF\u201D"),xt&&!["\u6B63\u786E","\u5BF9","T","True","t","true","\u9519\u8BEF","\u9519","T","true","t","false"].includes(xt)&&gn.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"),Ka(me==null?void 0:me.question)||gn.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),me.errorMsg=gn.join(`
`),me}},{id:"3",type:"\u586B\u7A7A\u9898",element:(me,pt,xt)=>{var gn,Et;const wn=xt!==void 0,Fn=b.createElement(b.Fragment,null,Zr(me,pt,xt),(gn=me==null?void 0:me.answer)==null?void 0:gn.map((Ma,or)=>b.createElement(we,{id:me==null?void 0:me.id,key:or,tagName:"p",value:`\u7B54\u6848${or+1}\uFF1A${Ma.text||""}`})),zr(me,"",wn),Qr(me));let fn=wn?me:Bt[pt];const bn=b.createElement(b.Fragment,null,lr(fn,pt,xt),(Et=fn==null?void 0:fn.answer)==null?void 0:Et.map((Ma,or)=>b.createElement("div",{key:or,className:he.option},b.createElement("aside",{className:he.fill},"\u586B\u7A7A\u9879",or+1),Ma.model===1&&b.createElement(we,{id:fn==null?void 0:fn.id,tagName:"div",onBlur:hr=>{fn.answer[or].latex=pr(hr),Ha("answer",pt,fn.answer,xt)},className:`${he.text}`,value:Ma.latex}),Ma.model===2&&b.createElement(Ne.Z,{value:Ma.latex,onChange:hr=>{fn.answer[or].latex=hr,Ha("answer",pt,fn.answer,xt)}}))),fo(fn,"",pt,xt),ja(fn));return wn?[Fn,bn]:Io(Fn,bn,fn,pt)},deal:me=>{var pt,xt,gn,Et;me.score=me.score===void 0?2:me.score,me.question=(pt=me.question)==null?void 0:pt.replaceAll("\u2581","_");const wn=(xt=me.answer)==null?void 0:xt.map(fn=>{if(Object.prototype.toString.call(fn)==="[object Object]")return fn;fn=fn==null?void 0:fn.trim();const bn={model:1,text:fn,latex:fn};return fn.startsWith("$$")&&fn.endsWith("$$")||fn.startsWith("`$$")&&fn.endsWith("$$`")?(bn.model=2,bn.latex=fn.slice(2,-2)):bn.latex=pr(fn),bn});me.answer=wn;let Fn=[];return wn||Fn.push("\u672A\u8BC6\u522B\u5230\u7B54\u6848\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u7B54\u68481\uFF1A\u4E2D\u56FD\uFF1B\u7B54\u68482\uFF1A\u4E16\u754C"),Ka(me==null?void 0:me.question)?me!=null&&me.question.includes("_")?(gn=me==null?void 0:me.answer)!=null&&gn.length&&((me==null?void 0:me.question.match(/_+/g))||[]).length!==((Et=me==null?void 0:me.answer)==null?void 0:Et.length)&&Fn.push("\u586B\u7A7A\u9879\u4E0E\u7B54\u6848\u4E2A\u6570\u4E0D\u5339\u914D\uFF0C\u8BF7\u8FDB\u884C\u8C03\u6574"):Fn.push("\u586B\u7A7A\u9879\u672A\u8BBE\u7F6E\uFF0C\u8BF7\u4F7F\u7528\u82F1\u6587\u4E0B\u5212\u7EBF\u201C___\u201D\u8868\u793A\u586B\u7A7A\u9879"):Fn.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),me.errorMsg=Fn.join(`
`),me}},{id:"4",type:"\u7B80\u7B54\u9898",element:(me,pt,xt)=>{var gn,Et;const wn=xt!==void 0;let Fn=(gn=me==null?void 0:me.answer)==null?void 0:gn[0];const fn=b.createElement(b.Fragment,null,Zr(me,pt,xt),zr(me,Fn,wn),Qr(me));let bn=wn?me:Bt[pt];const Ma=b.createElement(b.Fragment,null,lr(bn,pt,xt),fo(bn,(Et=bn==null?void 0:bn.answer)==null?void 0:Et[0],pt,xt),ja(bn));return wn?[fn,Ma]:Io(fn,Ma,bn,pt)},deal:me=>{me.score=me.score===void 0?5:me.score;let pt=[];return Ka(me==null?void 0:me.question)||pt.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),me.errorMsg=pt.join(`
`),me}},{id:"6",type:"\u7F16\u7A0B\u9898",element:(me,pt)=>{var xt,gn;const Et=Bt[pt],wn=$n.slice(0,4).map(Fn=>({key:Fn,label:Fn,onClick:()=>Ha("platform",pt,Fn)}));return b.createElement("div",{className:he.row,style:{display:pn?Et!=null&&Et.errorMsg?"flex":"none":"flex"}},b.createElement("div",{className:he.leftLayout},b.createElement(ya,null,b.createElement("div",{"data-text":"edit",contentEditable:!0,className:he.question},Zr(me,pt),b.createElement(we,{id:me==null?void 0:me.id,value:`\u8BD5\u9898\u63CF\u8FF0\uFF1A${(me==null?void 0:me.description)||""}`,tagName:"p"}),zr(me),b.createElement(we,{id:me==null?void 0:me.id,value:`\u65F6\u95F4\u9650\u5236\uFF08\u79D2\uFF09\uFF1A${me==null?void 0:me.timeLimit}`,tagName:"p"}),b.createElement(we,{id:me==null?void 0:me.id,value:`\u7F16\u7A0B\u8BED\u8A00\uFF1A${(me==null?void 0:me.platform)||""}`,tagName:"p"}),b.createElement("p",{contentEditable:!0},"\u5B66\u5458\u521D\u59CB\u4EE3\u7801\uFF1A"),b.createElement("h4",null),b.createElement(we,{id:me==null?void 0:me.id,value:(me==null?void 0:me.code)||"",tagName:"div"}),(xt=me==null?void 0:me.inputs)==null?void 0:xt.map((Fn,fn)=>{var bn;return b.createElement(b.Fragment,{key:fn},b.createElement("h4",null),b.createElement(we,{id:me==null?void 0:me.id,value:`\u6D4B\u8BD5\u7528\u4F8B(${fn+1})\u8F93\u5165\uFF1A${Fn||""}`,tagName:"div"}),b.createElement(we,{id:me==null?void 0:me.id,value:`\u6D4B\u8BD5\u7528\u4F8B(${fn+1})\u8F93\u51FA\uFF1A${((bn=me==null?void 0:me.outputs)==null?void 0:bn[fn])||""}`,tagName:"div"}))}),Qr(me)))),b.createElement("div",{className:he.rightLayout},b.createElement(zn,{className:Et!=null&&Et.errorMsg?he.error:""},lr(Et,pt),b.createElement("div",{className:he.liWrap,style:{background:"transparent",marginBottom:0,padding:0}},b.createElement("div",{className:he.li},b.createElement("aside",null,"\u8BD5\u9898\u63CF\u8FF0\uFF1A"),b.createElement(we,{className:he.edit,id:Et==null?void 0:Et.id,value:Et==null?void 0:Et.description,tagName:"div",onBlur:Fn=>Ha("description",pt,Fn)}))),fo(Et,"",pt),b.createElement("div",{className:he.liWrap},b.createElement("div",{className:he.li},b.createElement("aside",null,"\u65F6\u95F4\u9650\u5236\uFF08\u79D2\uFF09\uFF1A"),b.createElement(we,{className:he.edit,id:Et==null?void 0:Et.id,value:Et==null?void 0:Et.timeLimit,tagName:"div",onBlur:Fn=>Ha("timeLimit",pt,pr(Fn))})),b.createElement("div",{className:he.li},b.createElement("aside",null,"\u7F16\u7A0B\u8BED\u8A00\uFF1A"),b.createElement("div",{className:"c-black"},b.createElement(_e.Z,{menu:{items:wn}},b.createElement("span",{className:"c-light-primary"},Et==null?void 0:Et.platform,b.createElement("i",{className:"iconfont icon-a-bianzu11 font14 ml4"}))))),b.createElement("div",{className:he.li,style:{flexDirection:"column",alignItems:"start"}},b.createElement("aside",{className:"mb10"},"\u5B66\u5458\u521D\u59CB\u4EE3\u7801\uFF1A"),b.createElement(we,{className:he.edit,id:Et==null?void 0:Et.id,value:(Et==null?void 0:Et.code)||"",onBlur:Fn=>Ha("code",pt,pr(Fn)),tagName:"div"}))),(gn=Et==null?void 0:Et.inputs)==null?void 0:gn.map((Fn,fn)=>{var bn;return b.createElement("div",{className:he.liWrap,key:fn},b.createElement("div",{className:he.li},b.createElement("aside",null,"\u6D4B\u8BD5\u7528\u4F8B(",fn+1,")\u8F93\u5165\uFF1A"),b.createElement(we,{id:Et==null?void 0:Et.id,value:Fn||"",className:he.edit,onBlur:Ma=>{const or=[...(Et==null?void 0:Et.inputs)||[]];or[fn]=pr(Ma),Ha("inputs",pt,or)},tagName:"div"})),b.createElement("div",{className:he.li},b.createElement("aside",null,"\u6D4B\u8BD5\u7528\u4F8B(",fn+1,")\u8F93\u51FA\uFF1A"),b.createElement(we,{id:Et==null?void 0:Et.id,value:((bn=Et==null?void 0:Et.outputs)==null?void 0:bn[fn])||"",className:he.edit,onBlur:Ma=>{const or=[...(Et==null?void 0:Et.outputs)||[]];or[fn]=pr(Ma),Ha("outputs",pt,or)},tagName:"div"})))}),ja(Et))))},deal:me=>{var pt,xt,gn;me.score=me.score===void 0?10:me.score,me.code=(pt=me.code)==null?void 0:pt.trim();let Et=[];Ka(me==null?void 0:me.question)?((xt=me==null?void 0:me.question)==null?void 0:xt.length)>60&&Et.push("\u7F16\u7A0B\u9898\u540D\u79F0\u9650\u523660\u4E2A\u5B57\u7B26"):Et.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),Ka(me==null?void 0:me.description)||Et.push("\u672A\u8BC6\u522B\u5230\u8BD5\u9898\u63CF\u8FF0");const wn=Ka(String((me==null?void 0:me.timeLimit)||""));if(me.timeLimit=wn,(!wn||wn&&!["3","4","5","6","7","8","9","10"].includes(wn))&&Et.push("\u65F6\u95F4\u9650\u5236\u4E3A\u5FC5\u586B\u9879\uFF0C\u53EA\u652F\u63013-10\u7684\u6574\u6570"),me.platform=Ka(me==null?void 0:me.platform),me!=null&&me.platform){const Fn=["c","c++","java","python"],fn=(gn=me==null?void 0:me.platform)==null?void 0:gn.toLowerCase(),bn=Fn.findIndex(Ma=>Ma===fn);bn>-1?me.platform=$n[bn]:Et.push("\u7F16\u7A0B\u8BED\u8A00\u4E3A\u5FC5\u586B\u9879\uFF0C\u76EE\u524D\u53EA\u652F\u6301C\u3001C++\u3001Python\u3001Java\u8BED\u8A00")}else Et.push("\u7F16\u7A0B\u8BED\u8A00\u4E3A\u5FC5\u586B\u9879\uFF0C\u76EE\u524D\u53EA\u652F\u6301C\u3001C++\u3001Python\u3001Java\u8BED\u8A00");if(!(me!=null&&me.inputs)||!(me!=null&&me.outputs))me.inputs=[],me.outputs=[],Et.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 Fn=Math.min(me.inputs.length,me.outputs.length);me.inputs=me.inputs.slice(0,Fn),me.outputs=me.outputs.slice(0,Fn),me.outputs.some(fn=>!Ka(fn))&&Et.push("\u6D4B\u8BD5\u7528\u4F8B\u8F93\u51FA\u4E3A\u5FC5\u586B\u9879")}return me.errorMsg=Et.join(`
`),me}},{id:"7",type:"\u7EC4\u5408\u9898",element:(me,pt)=>{var xt,gn;const Et=Bt[pt];return b.createElement("div",{className:he.row,style:{display:pn?Et!=null&&Et.errorMsg?"flex":"none":"flex"}},b.createElement("div",{className:he.leftLayout},b.createElement(ya,null,b.createElement("div",{"data-text":"edit",contentEditable:!0,className:he.question},Zr(me,pt),zr(me),(xt=me==null?void 0:me.questions)==null?void 0:xt.map((wn,Fn)=>{var fn;const bn=(fn=ko.find(Ma=>Ma.id===(wn==null?void 0:wn.type)))==null?void 0:fn.element;return b.createElement(b.Fragment,{key:`left-${me.id}-${Fn}`},bn(wn,pt,Fn)[0])}),Qr(me),b.createElement("p",{contentEditable:!0},"}}")))),b.createElement("div",{className:he.rightLayout},b.createElement(zn,{className:Et!=null&&Et.errorMsg?he.error:""},lr(Et,pt),fo(Et,"",pt),(gn=Et==null?void 0:Et.questions)==null?void 0:gn.map((wn,Fn)=>{var fn;const bn=(fn=ko.find(Ma=>Ma.id===(wn==null?void 0:wn.type)))==null?void 0:fn.element;return b.createElement(b.Fragment,{key:`right-${Et.id}-${Fn}`},bn(wn,pt,Fn)[1])}),ja(Et))))},deal:me=>{var pt,xt,gn,Et,wn;const Fn=Pr,fn=[...ko],bn=fn.findIndex(ca=>ca.id==="0"),Ma=fn.findIndex(ca=>ca.id==="1");if(bn!==-1){const ca=fn[bn].deal;fn[bn].deal=ma=>{const ar=ca(ma);return ar.errorMsg&&(ar.errorMsg=ar.errorMsg.split(`
`).filter(sr=>sr!=="\u9009\u9879\u5185\u5BB9\u91CD\u590D").join(`
`)),ar}}if(Ma!==-1){const ca=fn[Ma].deal;fn[Ma].deal=ma=>{const ar=ca(ma);return ar.errorMsg&&(ar.errorMsg=ar.errorMsg.split(`
`).filter(sr=>sr!=="\u9009\u9879\u5185\u5BB9\u91CD\u590D").join(`
`)),ar}}me.questions=(pt=me.questions)!=null&&pt.length?Pr(me.questions.slice(0,20)):[],me.questions=(xt=me.questions)==null?void 0:xt.map((ca,ma)=>{var ar;if(ca.type==="0"||ca.type==="1"){const sr=(ar=ca.options)==null?void 0:ar.map(_o=>_o==null?void 0:_o.trim().replace(/^\s+|\s+$/g,""));sr&&new Set(sr).size!==sr.length&&(ca.errorMsg=(ca.errorMsg?ca.errorMsg+`
`:"")+"\u9009\u9879\u5185\u5BB9\u91CD\u590D")}return aa(Yn({},ca),{last:ma===me.questions.length-1})});const or=(gn=me.questions)==null?void 0:gn.reduce((ca,ma)=>{const ar=parseFloat(ma.score);return isNaN(ar)?ca:ca+ar},0);me.score=or;let hr=[];return(Et=me.questions)!=null&&Et.length?me.errorMsg=((wn=me.questions)==null?void 0:wn.findIndex(ca=>!!ca.errorMsg))>-1:hr.push("\u8BF7\u6DFB\u52A0\u5C0F\u9898"),Ka(me==null?void 0:me.question)||hr.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),hr.length&&(me.errorMsg=hr.join(`
`)),me}},{id:"8",type:"\u7A0B\u5E8F\u586B\u7A7A\u9898",element:(me,pt)=>{var xt,gn;const Et=Bt[pt],wn=$n.map(Fn=>({key:Fn,label:Fn,onClick:()=>Ha("platform",pt,Fn)}));return b.createElement("div",{className:he.row,style:{display:pn?Et!=null&&Et.errorMsg?"flex":"none":"flex"}},b.createElement("div",{className:he.leftLayout},b.createElement(ya,null,b.createElement("div",{"data-text":"edit",contentEditable:!0,className:he.question},Zr(me,pt),zr(me),b.createElement(we,{id:me==null?void 0:me.id,value:`\u65F6\u95F4\u9650\u5236\uFF08\u79D2\uFF09\uFF1A${me==null?void 0:me.timeLimit}`,tagName:"p"}),b.createElement(we,{id:me==null?void 0:me.id,value:`\u7F16\u7A0B\u8BED\u8A00\uFF1A${(me==null?void 0:me.platform)||""}`,tagName:"p"}),b.createElement("p",{contentEditable:!0},"\u7A0B\u5E8F\u4EE3\u7801\uFF1A"),b.createElement("h4",null),b.createElement(we,{id:me==null?void 0:me.id,value:(me==null?void 0:me.code)||"",tagName:"div"}),b.createElement("h4",null),b.createElement(we,{id:me==null?void 0:me.id,value:`\u6D4B\u8BD5\u7528\u4F8B\u8F93\u5165\uFF1A${(me==null?void 0:me.input)||""}`,tagName:"p"}),b.createElement(we,{id:me==null?void 0:me.id,value:`\u6D4B\u8BD5\u7528\u4F8B\u8F93\u51FA\uFF1A${(me==null?void 0:me.output)||""}`,tagName:"p"}),(xt=me==null?void 0:me.answer)==null?void 0:xt.map((Fn,fn)=>b.createElement(we,{key:fn,id:me==null?void 0:me.id,value:`\u7B54\u6848${fn+1}\uFF1A${Fn||""}`,tagName:"p"})),Qr(me)))),b.createElement("div",{className:he.rightLayout},b.createElement(zn,{className:Et!=null&&Et.errorMsg?he.error:""},lr(Et,pt),fo(Et,"",pt),b.createElement("div",{className:he.liWrap},b.createElement("div",{className:he.li,onKeyDown:_a},b.createElement("aside",null,"\u65F6\u95F4\u9650\u5236\uFF08\u79D2\uFF09\uFF1A"),b.createElement(we,{className:he.edit,id:Et==null?void 0:Et.id,value:Et==null?void 0:Et.timeLimit,tagName:"div",onBlur:Fn=>Ha("timeLimit",pt,pr(Fn))})),b.createElement("div",{className:he.li},b.createElement("aside",null,"\u7F16\u7A0B\u8BED\u8A00\uFF1A"),b.createElement("div",{className:"c-black"},b.createElement(_e.Z,{menu:{items:wn}},b.createElement("span",{className:"c-light-primary"},Et==null?void 0:Et.platform,b.createElement("i",{className:"iconfont icon-a-bianzu11 font14 ml4"}))))),b.createElement("div",{className:he.li,style:{flexDirection:"column",alignItems:"start"}},b.createElement("aside",{className:"mb10"},"\u7A0B\u5E8F\u4EE3\u7801\uFF1A"),b.createElement(we,{className:he.edit,id:Et==null?void 0:Et.id,value:(Et==null?void 0:Et.code)||"",onBlur:Fn=>Ha("code",pt,pr(Fn)),tagName:"div"})),b.createElement("div",{className:he.li},b.createElement("aside",null,"\u6D4B\u8BD5\u7528\u4F8B\u8F93\u5165\uFF1A"),b.createElement(we,{className:he.edit,id:Et==null?void 0:Et.id,value:(Et==null?void 0:Et.input)||"",onBlur:Fn=>Ha("input",pt,pr(Fn)),tagName:"div"})),b.createElement("div",{className:he.li},b.createElement("aside",null,"\u6D4B\u8BD5\u7528\u4F8B\u8F93\u51FA\uFF1A"),b.createElement(we,{className:he.edit,id:Et==null?void 0:Et.id,value:(Et==null?void 0:Et.output)||"",onBlur:Fn=>Ha("output",pt,pr(Fn)),tagName:"div"}))),b.createElement("div",{className:he.liWrap},(gn=Et==null?void 0:Et.answer)==null?void 0:gn.map((Fn,fn)=>b.createElement("div",{className:he.li,key:fn},b.createElement("aside",null,"\u7B54\u6848",fn+1,"\uFF1A"),b.createElement(we,{id:Et==null?void 0:Et.id,value:Fn||"",className:he.edit,onBlur:bn=>{const Ma=[...(Et==null?void 0:Et.answer)||[]];Ma[fn]=pr(bn),Ha("output",pt,Ma)},tagName:"div"})))),ja(Et))))},deal:me=>{var pt,xt,gn,Et,wn,Fn,fn,bn;me.score=me.score===void 0?10:me.score,me.code=(gn=(xt=(pt=me.code)==null?void 0:pt.trim())==null?void 0:xt.replace(/@_@/g,"@\u2581@"))==null?void 0:gn.replace(/@__@/g,"@\u2581\u2581@");let Ma=[];if(Ka(me==null?void 0:me.question)||Ma.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),Ka(me==null?void 0:me.code)?/@▁@|@▁▁@/.test(me==null?void 0:me.code)?(Et=me==null?void 0:me.answer)!=null&&Et.length&&((wn=me==null?void 0:me.code.match(/@▁@|@▁▁@/g))==null?void 0:wn.length)!==((Fn=me==null?void 0:me.answer)==null?void 0:Fn.length)&&Ma.push("\u586B\u7A7A\u9879\u4E0E\u7B54\u6848\u4E2A\u6570\u4E0D\u5339\u914D\uFF0C\u8BF7\u8FDB\u884C\u8C03\u6574"):Ma.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"):Ma.push("\u672A\u8BC6\u522B\u5230\u7A0B\u5E8F\u4EE3\u7801"),me!=null&&me.answer?(fn=me.answer)!=null&&fn.some(hr=>!Ka(hr))&&Ma.push("\u7B54\u6848\u4E3A\u5FC5\u586B\u9879"):Ma.push("\u672A\u8BC6\u522B\u5230\u7B54\u6848\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u7B54\u68481\uFF1AHello\uFF1B\u7B54\u68482\uFF1AWorld"),me.platform=Ka(me==null?void 0:me.platform),me!=null&&me.platform){const hr=["c","c++","java","python","javascript","ruby"],ca=(bn=me==null?void 0:me.platform)==null?void 0:bn.toLowerCase(),ma=hr.findIndex(ar=>ar===ca);ma>-1?me.platform=$n[ma]:Ma.push("\u7F16\u7A0B\u8BED\u8A00\u4E3A\u5FC5\u586B\u9879\uFF0C\u76EE\u524D\u53EA\u652F\u6301C\u3001C++\u3001Python\u3001Java\u3001JavaScript\u3001Ruby\u8BED\u8A00")}else Ma.push("\u7F16\u7A0B\u8BED\u8A00\u4E3A\u5FC5\u586B\u9879\uFF0C\u76EE\u524D\u53EA\u652F\u6301C\u3001C++\u3001Python\u3001Java\u3001JavaScript\u3001Ruby\u8BED\u8A00");Ka(me==null?void 0:me.output)||Ma.push("\u6D4B\u8BD5\u7528\u4F8B\u8F93\u51FA\u4E3A\u5FC5\u586B\u9879");const or=Ka(String((me==null?void 0:me.timeLimit)||""));return me.timeLimit=or,(!or||or&&!["3","4","5","6","7","8","9","10"].includes(or))&&Ma.push("\u65F6\u95F4\u9650\u5236\u4E3A\u5FC5\u586B\u9879\uFF0C\u53EA\u652F\u63013-10\u7684\u6574\u6570"),me.errorMsg=Ma.join(`
`),me}}],bl=()=>b.createElement(b.Fragment,null,Ye.filter(me=>{var pt;return!!((pt=ko.find(gn=>gn.id===(me==null?void 0:me.type)))==null?void 0:pt.element)}).map((me,pt)=>{var xt;const gn=(xt=ko.find(Et=>Et.id===(me==null?void 0:me.type)))==null?void 0:xt.element;return b.createElement(b.Fragment,{key:me.id},gn(me,pt))})),Kl=()=>tn(void 0,null,function*(){const me=Bt.filter(pt=>!pt.checked);if(Be!==3||!me.length){ze.ZP.warning("\u672A\u8BC6\u522B\u5230\u8BD5\u9898\uFF01");return}if(qn){wr(!0),yield qn(Bt),wr(!1);return}oa.setFieldsValue({sub_discipline_id:Ft}),Tn(!0)}),Ri=(me,pt=[])=>{if(typeof me=="string")return me.trim();if(Array.isArray(me))return me.map(xt=>Ri(xt,pt));if(typeof me=="object"&&me!==null){const xt={};for(const gn in me)me.hasOwnProperty(gn)&&(pt.includes(gn)?xt[gn]=me[gn]:xt[gn]=Ri(me[gn],pt));return xt}return me},ji=me=>tn(void 0,null,function*(){const pt=Pr(Ri(me));Ue(pt),un(JSON.parse(JSON.stringify(pt))),at(3),Ge(!1),ra(!1)});(0,b.useEffect)(()=>{if(vr)return;const me=()=>{bt(pt=>pt>=90?(clearInterval(tr.current),90):pt+1)};return tr.current=setInterval(me,5e4/90),()=>clearInterval(tr.current)},[vr]);const dl=(me,pt)=>{er(!1);const xt=new FormData;Object.keys(pt).forEach(Et=>{xt.append(Et,pt[Et])});const gn=new window.XMLHttpRequest;gn.withCredentials=!0,gn.addEventListener("load",function(Et){return tn(this,null,function*(){var wn,Fn;try{const fn=JSON.parse((wn=Et==null?void 0:Et.target)==null?void 0:wn.response);if(er(!0),bt(100),yield new Promise(bn=>setTimeout(()=>bn(),780)),fn.status===0){if(!((Fn=fn==null?void 0:fn.data)!=null&&Fn.length)){ze.ZP.warning("\u672A\u8BC6\u522B\u5230\u8BD5\u9898!"),Ge(!1);return}ji((fn==null?void 0:fn.data)||[])}else Ge(!1),ze.ZP.warning(fn==null?void 0:fn.message)}catch(fn){console.log("\u8BF7\u6C42\u9519\u8BEF\uFF1A",fn)}})}),gn.addEventListener("error",()=>{Ge(!1)}),gn.open("POST",`${y.Z.API_SERVER}${me}`),gn.send(xt)},Za=me=>tn(void 0,null,function*(){const pt=me.name.split(".").slice(-1)[0].toLowerCase();return["docx"].indexOf(pt)==-1?(ze.ZP.error(`${me.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()):(Ge(!0),mn("\u5904\u7406\u4E2D"),dl("/api/intelligent_imports/import.json",{file:me}),Promise.reject())});let Hn=[{key:1,label:b.createElement(He.default,{showUploadList:!1,accept:".docx",maxCount:1,beforeUpload:Za},b.createElement("div",{style:{padding:"0 5px",width:108,height:35,lineHeight:"35px"}},"\u672C\u5730\u5BFC\u5165"))}];((0,ht.Ny)()||(0,ht.$O)())&&Hn.push({key:2,label:b.createElement("div",{style:{padding:"0 5px"}},"\u5927\u6A21\u578B\u667A\u80FD\u51FA\u9898"),onClick:()=>{Oa.current.onClick()}});const kn=[Bt.length,(Sa=Bt.filter(me=>!!(me!=null&&me.errorMsg)))==null?void 0:Sa.length];return b.createElement("div",{className:Ae()(he.intelligentBox,"intelligent-body-curb",Jn),style:aa(Yn({},da),{width:ea}),ref:ua},b.createElement("div",{className:he.underpin},b.createElement("b",{style:Cr}),b.createElement("b",{style:Cr})),b.createElement("div",{className:he.head,style:{top:an}},b.createElement("div",{className:he.leftLayout},pa||b.createElement(b.Fragment,null,b.createElement(Me.Z,{align:"middle"},b.createElement("div",{className:he.title},"\u8BD5\u9898\u7F16\u8F91"),!Gt&&b.createElement(x.op,{href:`${y.Z.API_SERVER}/api/intelligent_imports/download_template`,download:!0,type:"link"},"\u4E0B\u8F7DWord\u6A21\u7248",b.createElement("i",{className:"iconfont icon-xiazai4 font14 ml10"})),b.createElement(x.op,{onClick:Aa,shape:"default"},"\u4E00\u952E\u6E05\u7A7A"),!Gt&&b.createElement(_e.Z,{overlayClassName:he.menu,menu:{items:Hn}},b.createElement(x.op,{className:"ml20",type:"primary",shape:"default"},"\u5BFC\u5165\u8BD5\u9898")),!!ho&&ho),b.createElement("div",{className:he.tip},b.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"))),b.createElement(Me.Z,{className:he.rightLayout,style:{alignItems:"start"}},wa||b.createElement(b.Fragment,null,b.createElement("div",{className:he.title,style:{marginRight:0}},"\u8BD5\u9898\u9884\u89C8"),[3].includes(Be)&&b.createElement(Le.default,{className:"ml20",checked:pn,onChange:me=>ra(me.target.checked)},"\u4EC5\u67E5\u770B\u9519\u8BEF\u8BD5\u9898"),[3].includes(Be)&&b.createElement("div",{style:{color:"#5F6368",marginLeft:"auto"}},"\u5171\u8BC6\u522B",b.createElement("span",{className:"ml5 mr5 c-light-primary"},kn[0]),"\u9898\uFF0C\u5176\u4E2D\u8BC6\u522B\u6709\u8BEF",b.createElement("span",{className:"ml5 mr5 c-red-e53"},kn[1]),"\u9898")),Ua&&b.createElement("div",{className:he.tabs},Ye==null?void 0:Ye.map((me,pt)=>b.createElement("div",{onClick:()=>{br(pt)},className:_r===pt&&he.active,key:pt},"\u65B0\u9898",pt+1)))),b.createElement("div",{className:he.centerBox},b.createElement("img",{className:"mb10",src:se,width:56}),!Ga&&b.createElement(x.op,{onClick:Br},"\u8BC6\u522B"))),[1,2].includes(Be)&&uo(),[3].includes(Be)&&bl(),b.createElement("div",{className:"pb10"}),b.createElement("div",{className:he.buttonFixed},b.createElement("div",{className:he.buttonWrap},b.createElement(Ke.ZP,{size:"middle",className:`${he.button} mr20`,onClick:ia},"\u53D6\u6D88"),b.createElement(Ke.ZP,{size:"middle",type:"primary",loading:qr,className:`${he.button}`,onClick:Kl},Zn))),b.createElement(xe.default,{centered:!0,closable:!1,destroyOnClose:!0,open:Kt,title:null,footer:null,width:320,afterClose:()=>bt(0)},b.createElement(Me.Z,{align:"middle",style:{flexDirection:"column"}},b.createElement("b",{style:{color:"#5F6368"},className:"font16 mb5 mt20"},St,b.createElement("span",{className:he.dotLoading},b.createElement("span",null,"."),b.createElement("span",null,"."),b.createElement("span",null,"."))),b.createElement(le.Z,{style:{width:"auto"},size:[200,8],showInfo:!1,percent:st}),b.createElement("div",{style:{color:"#5F6368"},className:"mb20"},"\u6B63\u5728\u8BC6\u522B\uFF0C\u5DF2\u5B8C\u6210",b.createElement("span",{className:"ml5 c-light-primary"},st,"%")))),b.createElement(xe.default,{centered:!0,open:jn,title:"\u8BD5\u9898\u5BFC\u5165\u8BBE\u7F6E",confirmLoading:Vn,width:480,onCancel:()=>Tn(!1),onOk:()=>oa.submit(),afterClose:()=>{oa.resetFields()}},b.createElement(ke.default,{style:{maxHeight:550},form:oa,layout:"horizontal",colon:!1,size:"large",onFinish:me=>tn(void 0,null,function*(){var pt,xt,gn,Et,wn;const Fn=Bt.filter(Ma=>!Ma.checked&&!Ma.errorMsg);Ln(!0);const fn=()=>tn(void 0,null,function*(){var Ma,or;const hr=yield(0,ie.ZP)("/api/intelligent_imports/save.json",{method:"post",body:aa(Yn(Yn({},Va),me),{list:Fn,mode:yn})});hr.status===0&&(Ht&&((Ma=hr==null?void 0:hr.data)!=null&&Ma.success)&&window.location.pathname==="/problemset"&&(ct.Z.publish("refresh-item-bank",me.group_id),yield new Promise(ca=>setTimeout(()=>ca(),1500))),ze.ZP.success(`\u6210\u529F\u5BFC\u5165${(or=hr==null?void 0:hr.data)==null?void 0:or.success}\u9053\u8BD5\u9898`,3),Ea(hr),Tn(!1)),Ln(!1)});if(yn!==1){yield fn();return}const bn=yield(0,ie.ZP)("/api/intelligent_imports/is_repeated.json",{method:"post",body:{list:Bt,mode:yn}});if(bn.status===0){if(!((pt=bn==null?void 0:bn.data)!=null&&pt.error_size)){yield fn();return}xe.default.confirm({centered:!0,icon:null,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onCancel:()=>{Ln(!1)},title:"\u63D0\u793A",content:b.createElement("div",{style:{overflow:"auto",maxHeight:500}},"\u5171",b.createElement("span",{className:"c-light-primary ml5 mr5"},(xt=bn==null?void 0:bn.data)==null?void 0:xt.all_size),"\u9053\u8BD5\u9898\uFF0C\u5176\u4E2D",b.createElement("span",{style:{color:"#FF9D18"},className:"ml5 mr5"},(gn=bn==null?void 0:bn.data)==null?void 0:gn.error_size),"\u9053\u8BD5\u9898\u91CD\u590D\uFF08\u7B2C",b.createElement("span",{className:"ml5 mr5"},(wn=(Et=bn==null?void 0:bn.data)==null?void 0:Et.index)==null?void 0:wn.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:fn})}})},b.createElement("div",{className:"c-grey-999 mb20"},"\u63D0\u793A\uFF1A\u8BC6\u522B\u6709\u8BEF\u7684\u8BD5\u9898\u5C06\u4E0D\u4F1A\u88AB\u5BFC\u5165"),b.createElement(ke.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"}]},b.createElement(E.Z,{placeholder:"\u8BF7\u9009\u62E9\u65B9\u5411&\u8BFE\u7A0B",fieldNames:{label:"name",value:"id",children:"sub_disciplines"},options:ir})),yn===1&&b.createElement(ke.default.Item,{label:b.createElement(Me.Z,{align:"middle",style:{justifyContent:"space-between"}},b.createElement("span",null,"\u653E\u5165\u6587\u4EF6\u5939\u76EE\u5F55"),b.createElement("div",{onClick:()=>La(!0),style:{marginLeft:211,transform:"translateX(14px)",display:"flex",color:"#5F6368",cursor:"pointer"}},b.createElement("img",{className:"mr5 primary-hover",src:Fe}),"\u65B0\u5EFA\u6587\u4EF6\u5939")),rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u6587\u4EF6\u5939"}],name:"group_id",labelCol:{span:24},wrapperCol:{span:24}},b.createElement(Se.Z,{key:Wa})))),b.createElement(xe.default,{centered:!0,open:jt,title:"\u65B0\u5EFA\u6587\u4EF6\u5939",destroyOnClose:!0,width:480,confirmLoading:jr,onCancel:()=>La(!1),onOk:()=>$t.submit(),afterClose:()=>{$t.resetFields()}},b.createElement(ke.default,{style:{maxHeight:550},form:$t,layout:"horizontal",colon:!1,size:"large",onFinish:me=>tn(void 0,null,function*(){var pt;Ta(!0),(yield(0,ie.ZP)("/api/item_banks_groups.json",{method:"post",body:{name:me.name,parent_id:(pt=me==null?void 0:me.parent_id)==null?void 0:pt[0]}})).status===0?(zt(Wa+1),setTimeout(()=>{ze.ZP.success("\u64CD\u4F5C\u6210\u529F"),La(!1),Ta(!1)},1e3)):Ta(!1)})},b.createElement(ke.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"}]},b.createElement(a.default,{maxLength:60,showCount:!0,placeholder:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5939\u540D\u79F0"})),b.createElement(ke.default.Item,{label:"\u6587\u4EF6\u5939\u4F4D\u7F6E",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u6587\u4EF6\u5939"}],name:"parent_id"},b.createElement(Se.Z,null)))),b.createElement(ut,{onSave:me=>{Ge(!0),mn("\u5904\u7406\u4E2D"),dl("/api/intelligent_imports/import.json",{html:me})},ref:Oa}))},dr=z;var Ya=xa},19105:function(yt,kt,oe){"use strict";var b=oe(59301),he=oe(99587),De=oe(48136),Ae=oe(76562),ke=oe(43418),ze=oe(59301);const xe=(0,b.forwardRef)(({callback:tt,width:Me,onChange:Le,disabled:_e,readOnly:He,type:Ke="",value:le="",style:E={}},a)=>{const x=(0,b.useRef)(),y=(0,b.useRef)(),[z,te]=(0,b.useState)(0),[ae,se]=(0,b.useState)(0),[ie,Se]=(0,b.useState)(!1),Fe=()=>{var Re=document.createElement("div");Re.innerHTML=x.current.getValue();var Je=Re.innerText;return tt&&tt(Je),Je};(0,b.useImperativeHandle)(a,()=>({getData:Fe}));const We=Re=>{Re.preventDefault();const Je=Re.clientX-z,Qe=Re.clientY-ae;document.body.onmousemove=et=>{let we=et.clientX-Je,ht=et.clientY-Qe;const ct=document.getElementsByClassName("markdown-popup-form")[0],Lt=window.innerWidth-ct.offsetWidth,gt=window.innerHeight-ct.offsetHeight;we=Math.max(0,Math.min(we,Lt)),ht=Math.max(0,Math.min(ht,gt)),Ne(et.clientX,et.clientY,Je,Qe)&&(te(we),se(ht))},document.body.onmouseup=function(){document.body.onmousemove=null}},Ne=(Re,Je,Qe,et)=>{const we=document.body.clientHeight,ht=document.body.clientWidth;return Re<20&&Qe>Re||Re>ht-20&&Qe<Re||Je<20&&et>Je||Je>we-20&&et<Je?(document.body.onmousemove=null,document.body.onmouseup=null,!1):!0};(0,b.useEffect)(()=>{ie&&setTimeout(()=>{const Re=document.getElementsByClassName("markdown-popup-form")[0],Je=window.innerWidth/2-Re.offsetWidth/2,Qe=window.innerHeight/2-Re.offsetHeight/2;te(Je),se(Qe)},0)},[ie]);const mt=()=>{_e||He||Se(!0)};return ze.createElement("div",{style:E},ze.createElement("div",{style:{width:Me||"100%",position:"relative"},className:`${he.Z.mathFillWrap} ${_e||He?"cursorDefault":""}`,onClick:()=>mt()},ze.createElement("math-field",{disabled:_e,locale:"zh_cn",class:`${he.Z.mathField} ${Ke}`,readOnly:He,placeholder:"\u8BF7\u8F93\u5165\u516C\u5F0F",ref:x,style:{width:"100%",fontSize:le?18:14},value:le||""})),ze.createElement(ke.default,{maskClosable:!1,centered:!0,width:860,style:{position:"absolute",left:z,top:ae},title:ze.createElement("div",{style:{cursor:"move"},onMouseDown:We},"\u8F93\u5165\u516C\u5F0F"),open:ie,onOk:()=>{const Re=y.current.getData();x.current.setValue(Re),Le(Re),Se(!1)},onCancel:()=>{Se(!1)},destroyOnClose:!0,className:"markdown-popup-form"},ze.createElement(Ae.Z,{value:le,ref:y,onChange:Le,showSaveButton:!1})))});kt.Z=xe},76562:function(yt,kt,oe){"use strict";var b=oe(59301),he=oe(95237),De=oe(43604),Ae=oe(99313),ke=oe(3113),ze=oe(91842),xe=oe(99587),tt=oe(48136),Me=oe(59301);const Le=(0,b.forwardRef)(({callback:_e,showSaveButton:He,value:Ke=""},le)=>{const E=(0,b.useRef)(),a=[{name:"\u5206\u6570\u5F97\u5206",value:"\\frac{x}{y}",children:[{name:"\u5206\u6570 Fractions",data:[{value:"\\frac{a}{b}"},{value:"x\\tfrac{x}{a} "},{value:"\\mathrm{d}t"},{value:"\\partial t"},{value:"\\frac{\\partial y}{\\partial x}"},{value:"\\nabla\\psi"},{value:"\\frac{\\partial^2}{\\partial x_1\\partial x_2}y"},{value:"\\cfrac{1}{a + \\cfrac{7}{b + \\cfrac{2}{9}}} = c"}]},{name:"\u5BFC\u6570 Derivative",data:[{value:"\\dot{a} "},{value:"\\ddot{a}"},{value:"{f}^{\\prime}"},{value:"{f}^{\\prime\\prime}"},{value:"{f}^{(n)}"}]},{name:"\u6A21\u7B97\u672F Modular arithmetic",data:[{value:"a \\bmod b"},{value:"a \\equiv b \\pmod{m} "},{value:"\\gcd(m, n) "},{value:"\\operatorname{lcm}(m, n) "}]}]},{name:"\u6839\u5F0F\u89D2\u6807",value:"\\sqrt{x}",children:[{name:"\u6839\u5F0F Radicals",data:[{value:"\\sqrt{x}"},{value:"\\sqrt[y]{x}"}]},{name:"\u4E0A\u4E0B\u6807 Sub&Super",data:[{value:"x^{a}"},{value:"x_{a}"},{value:"x_{a}^{b} "},{value:"_{a}^{b} x"},{value:"x_{a}^{b} "}]},{name:"\u91CD\u97F3\u7B26\u53CA\u5176\u4ED6 Accents and Others",data:[{value:"\\hat{a} "},{value:"\\sqrt[y]{x}"},{value:"\\check{} "},{value:"\\grave{a} "},{value:"\\acute{a}"},{value:"\\tilde{a}"},{value:"\\breve{a}"},{value:"\\bar{a}"},{value:"\\vec{a}"},{value:"\\not{a}"},{value:"\\widetilde{abc}"},{value:"\\widehat{abc}"},{value:"\\overleftarrow{abc} "},{value:"\\overrightarrow{abc}"},{value:"\\overline{abc}"},{value:"\\underline{abc}"},{value:"\\overbrace{abc}"},{value:"\\underbrace{abc}"},{value:"\\overset{a}{abc}"},{value:"\\underset{a}{abc} \\stackrel\\frown{ab}"},{value:"\\overline{ab} "},{value:"\\overleftrightarrow{ab}"},{value:"\\overset{a}{\\leftarrow}"},{value:"\\overset{a}{\\rightarrow}"},{value:"\\xleftarrow[abc]{a}"},{value:"\\xrightarrow[abc]{a} "}]}]},{name:"\u6781\u9650\u5BF9\u6570",value:"\\lim_{x \\to 0}",children:[{name:"\u6781\u9650 Limits",data:[{value:"\\lim a"},{value:"\\lim_{x \\to 0}"},{value:"\\lim_{x \\to \\infty}"},{value:"\\max_b{a}"},{value:"\\min_a{b}"}]},{name:"\u5BF9\u6570\u6307\u6570 Logarithms and exponentials",data:[{value:"\\log_{a}{b}"},{value:"\\lg_{a}{b}"},{value:"\\ln_{a}{b}"},{value:"\\exp a"}]},{name:"\u754C\u9650 Bounds",data:[{value:"\\min x"},{value:"\\sup t"},{value:"\\inf s"},{value:"\\lim u"},{value:"\\limsup w"},{value:"\\dim p"},{value:"\\ker\\phi "}]}]},{name:"\u4E09\u89D2\u51FD\u6570",value:"\\sin a",children:[{name:"\u4E09\u89D2\u51FD\u6570 Trigonometric functions",data:[{value:"\\sin a"},{value:"\\cos a"},{value:"\\tan a"},{value:"\\cot a "},{value:"\\sec a "},{value:"\\csc a "}]},{name:"\u53CD\u4E09\u89D2\u51FD\u6570 Inverse trigonometric functions",data:[{value:"\\sin^{-1}"},{value:"\\cos^{-1}"},{value:"\\tan^{-1}"},{value:"\\cot^{-1}"},{value:"\\sec^{-1}"},{value:"\\csc^{-1}"},{value:"\\arcsin a"},{value:"\\arccos a"},{value:"\\arctan a"},{value:"\\operatorname{arccot} a"},{value:"\\operatorname{arcsec} a"},{value:"\\operatorname{arccsc} a"}]},{name:"\u53CC\u66F2\u51FD\u6570 Hyperblic functions",data:[{value:"\\sinh a"},{value:"\\cosh a"},{value:"\\tanh a"},{value:"\\coth a"},{value:"\\operatorname{sech} a"},{value:"\\operatorname{csch} a"}]},{name:"\u53CD\u53CC\u66F2\u51FD\u6570 Inverse hyperbolic functions",data:[{value:"\\sinh^{-1}"},{value:"a\\cosh^{-1} a"},{value:"\\tanh^{-1} a"},{value:"\\coth^{-1} a"},{value:"\\operatorname{sech}^{-1} a"},{value:"\\operatorname{csch}^{-1} a"}]}]},{name:"\u79EF\u5206\u8FD0\u7B97",value:"\\int_{a}^{b}",children:[{name:"\u79EF\u5206 Integral",data:[{value:"\\int"},{value:"\\int_{a}^{b}"},{value:"\\int\\limits_{a}^{b}"}]},{name:"\u53CC\u91CD\u79EF\u5206 Double integral",data:[{value:"\\iint"},{value:"\\iint_{a}^{b} "},{value:"\\iint\\limits_{a}^{b} "}]},{name:"\u4E09\u91CD\u79EF\u5206 Triple integral",data:[{value:"\\iiint"},{value:"\\iiint_{a}^{b}"},{value:"\\iiint\\limits_{a}^{b} "}]},{name:"\u66F2\u7EBF\u79EF\u5206 Closed line or path integral",data:[{value:"\\oint"},{value:"\\oint_{a}^{b} "}]}]},{name:"\u5927\u578B\u8FD0\u7B97",value:"\\sum_{a}^{b}",children:[{name:"\u6C42\u548C Summation",data:[{value:"\\sum"},{value:"\\sum_{a}^{b}"},{value:"{\\textstyle \\sum_{a}^{b}} "}]},{name:"\u4E58\u79EF\u4F59\u79EF Product and coproduct",data:[{value:"\\prod"},{value:"\\prod_{a}^{b}"},{value:"{\\textstyle \\prod_{a}^{b}}"},{value:"\\coprod"},{value:"\\coprod_{a}^{b}"},{value:"{\\textstyle \\coprod_{a}^{b}} "}]},{name:"\u5E76\u96C6\u4EA4\u96C6 Union and intersection",data:[{value:"\\bigcup"},{value:"\\bigcup_{a}^{b}"},{value:"{\\textstyle \\bigcup_{a}^{b}}"},{value:"\\bigcap"},{value:"\\bigcap_{a}^{b}"}]},{name:"\u6790\u53D6\u5408\u53D6 Disjunction and conjunction",data:[{value:"\\bigvee"},{value:"\\bigvee_{a}^{b}"},{value:"\\bigwedge"},{value:"\\bigwedge_{a}^{b}"}]}]},{name:"\u62EC\u53F7\u53D6\u6574",value:"\\left [ \\left ( \\right ) \\right ] ",children:[{name:"\u62EC\u53F7 Brackets",data:[{value:"\\left ( \\right )"},{value:"\\left [ \\right ]"},{value:"\\left \\langle \\right \\rangle "},{value:"\\left | \\right | "},{value:"\\left \\lfloor \\right \\rfloor "},{value:"\\left \\lceil \\right \\rceil "}]}]}],x=[{name:"\u4EE3\u6570",value:"\\sqrt{a^2+b^2}",children:[{data:[{value:"\\left(x-1\\right)\\left(x+3\\right) "},{value:"\\sqrt{a^2+b^2}"},{value:"\\left ( \\frac{a}{b}\\right )^{n}= \\frac{a^{n}}{b^{n}}"},{value:"\\frac{a}{b}\\pm \\frac{c}{d}= \\frac{ad \\pm bc}{bd} "},{value:"\\frac{x^{2}}{a^{2}}-\\frac{y^{2}}{b^{2}}=1 "},{value:"\\frac{1}{\\sqrt{a}}=\\frac{\\sqrt{a}}{a},a\\ge 0\\frac{1}{\\sqrt{a}}=\\frac{\\sqrt{a}}{a},a\\ge 0 "},{value:"\\sqrt[n]{a^{n}}=\\left ( \\sqrt[n]{a}\\right )^{n} "},{value:"x ={-b \\pm \\sqrt{b^2-4ac}\\over 2a} "},{value:"y-y_{1}=k \\left( x-x_{1}\\right) "},{value:`\\left\\{\\begin{matrix} \r
x=a + r\\text{cos}\\theta \\ \r
y=b + r\\text{sin}\\theta \r
\\end{matrix}\\right. `},{value:`\\begin{array}{l} \r
\\text{\u5BF9\u4E8E\u65B9\u7A0B\u5F62\u5982\uFF1A}x^{3}-1=0 \\ \r
\\text{\u8BBE}\\text{:}\\omega =\\frac{-1+\\sqrt{3}i}{2} \\ \r
x_{1}=1,x_{2}= \\omega =\\frac{-1+\\sqrt{3}i}{2} \\ \r
x_{3}= \\omega ^{2}=\\frac{-1-\\sqrt{3}i}{2} \r
\\end{array} `},{value:`\\begin{array}{l} \r
a\\mathop{{x}}\\nolimits^{{2}}+bx+c=0 \\ \r
\\Delta =\\mathop{{b}}\\nolimits^{{2}}-4ac \\ \r
\\left\\{\\begin{matrix} \r
\\Delta \\gt 0\\text{\u65B9\u7A0B\u6709\u4E24\u4E2A\u4E0D\u76F8\u7B49\u7684\u5B9E\u6839} \\ \r
\\Delta = 0\\text{\u65B9\u7A0B\u6709\u4E24\u4E2A\u76F8\u7B49\u7684\u5B9E\u6839} \\ \r
\\Delta \\lt 0\\text{\u65B9\u7A0B\u65E0\u5B9E\u6839} \r
\\end{matrix}\\right. \r
\\end{array} `},{value:`\\begin{array}{l} \r
a\\mathop{{x}}\\nolimits^{{2}}+bx+c=0 \\ \r
\\Delta =\\mathop{{b}}\\nolimits^{{2}}-4ac \\ \r
\\mathop{{x}}\\nolimits_{{1,2}}=\\frac{{-b \\pm \r
\\sqrt{{\\mathop{{b}}\\nolimits^{{2}}-4ac}}}}{{2a}} \\ \r
\\mathop{{x}}\\nolimits_{{1}}+\\mathop{{x}}\\nolimits_{{2}}=-\\frac{{b}}{{a}} \\ \r
\\mathop{{x}}\\nolimits_{{1}}\\mathop{{x}}\\nolimits_{{2}}=\\frac{{c}}{{a}} \r
\\end{array} `}]}]},{name:"\u51E0\u4F55",value:"\\Delta A B C ",children:[{data:[{value:"\\Delta A B C "},{value:"a \\parallel c,b \\parallel c \\Rightarrow a \\parallel b "},{value:"l \\perp \\beta ,l \\subset \\alpha \\Rightarrow \\alpha \\perp \\beta"},{value:`\\left.\\begin{matrix} \r
a \\perp \\alpha \\ \r
b \\perp \\alpha \r
\\end{matrix}\\right\\}\\Rightarrow a \\parallel b`},{value:"P \\in \\alpha ,P \\in \\beta , \\alpha \\cap \\beta =l \\Rightarrow P \\in l "},{value:`\\alpha \\perp \\beta , \\alpha \\cap \\beta =l,a \\subset \\alpha ,a \\perp l \r
\\Rightarrow a \\perp \\beta `},{value:`\\left.\\begin{matrix} \r
a \\subset \\beta ,b \\subset \\beta ,a \\cap b=P \\ \r
a \\parallel \\partial ,b \\parallel \\partial \r
\\end{matrix}\\right\\}\\Rightarrow \\beta \\parallel \\alpha `},{value:"\\alpha \\parallel \\beta , \\gamma \\cap \\alpha =a, \\gamma \\cap \\beta =b \\Rightarrow a \\parallel b "},{value:"A \\in l,B \\in l,A \\in \\alpha ,B \\in \\alpha \\Rightarrow l \\subset \\alpha "},{value:`\\left.\\begin{matrix} \r
m \\subset \\alpha ,n \\subset \\alpha ,m \\cap n=P \\ \r
a \\perp m,a \\perp n \r
\\end{matrix}\\right\\}\\Rightarrow a \\perp \\alpha `},{value:`\\begin{array}{c} \r
\\text{\u76F4\u89D2\u4E09\u89D2\u5F62\u4E2D,\u76F4\u89D2\u8FB9\u957Fa,b,\u659C\u8FB9\u8FB9\u957Fc} \\ \r
a^{2}+b^{2}=c^{2} \r
\\end{array}`}]}]},{name:"\u4E0D\u7B49\u5F0F",value:"a > b",children:[{data:[{value:"a > b,b > c \\Rightarrow a > c "},{value:"a > b,c > d \\Rightarrow a+c > b+d "},{value:"a > b > 0,c > d > 0 \\Rightarrow ac bd "},{value:`\\begin{array}{c} \r
a \\gt b,c \\gt 0 \\Rightarrow ac \\gt bc \\ \r
a \\gt b,c \\lt 0 \\Rightarrow ac \\lt bc \r
\\end{array}`},{value:"\\left | a-b \\right | \\geqslant \\left | a \\right | -\\left | b \\right | "},{value:"-\\left | a \\right |\\leq a\\leqslant \\left | a \\right | "},{value:"\\left | a \\right |\\leqslant b \\Rightarrow -b \\leqslant a \\leqslant \\left | b \\right | "},{value:"\\left | a+b \\right | \\leqslant \\left | a \\right | + \\left | b \\right | "},{value:`\\begin{array}{c} \r
a \\gt b \\gt 0,n \\in N^{\\ast},n \\gt 1 \\ \r
\\Rightarrow a^{n}\\gt b^{n}, \\sqrt[n]{a}\\gt \\sqrt[n]{b} \r
\\end{array}`},{value:`\\left( \\sum_{k=1}^n a_k b_k \\right)^{\\!\\!2}\\leq \r
\\left( \\sum_{k=1}^n a_k^2 \\right) \\left( \\sum_{k=1}^n b_k^2 \\right) `},{value:`\\begin{array}{c} \r
a,b \\in R^{+} \\ \r
\\Rightarrow \\frac{a+b}{{2}}\\ge \\sqrt{ab} \\ \r
\\left( \\text{\u5F53\u4E14\u4EC5\u5F53}a=b\\text{\u65F6\u53D6\u201C}=\\text{\u201D\u53F7}\\right) \r
\\end{array}`},{value:`\\begin{array}{c} \r
a,b \\in R \\ \r
\\Rightarrow a^{2}+b^{2}\\gt 2ab \\ \r
\\left( \\text{\u5F53\u4E14\u4EC5\u5F53}a=b\\text{\u65F6\u53D6\u201C}=\\text{\u201D\u53F7}\\right) \r
\\end{array}`},{value:`\\begin{array}{c} \r
H_{n}=\\frac{n}{\\sum \\limits_{i=1}^{n}\\frac{1}{x_{i}}}= \\frac{n}{\\frac{1}{x_{1}}+ \\frac{1}{x_{2}}+ \\cdots + \\frac{1}{x_{n}}} \\ G_{n}=\\sqrt[n]{\\prod \\limits_{i=1}^{n}x_{i}}= \\sqrt[n]{x_{1}x_{2}\\cdots x_{n}} \\ A_{n}=\\frac{1}{n}\\sum \\limits_{i=1}^{n}x_{i}=\\frac{x_{1}+ x_{2}+ \\cdots + x_{n}}{n} \\ Q_{n}=\\sqrt{\\sum \\limits_{i=1}^{n}x_{i}^{2}}= \\sqrt{\\frac{x_{1}^{2}+ x_{2}^{2}+ \\cdots + x_{n}^{2}}{n}} \\ H_{n}\\leq G_{n}\\leq A_{n}\\leq Q_{n} \r
\\end{array}`}]}]},{name:"\u79EF\u5206",value:"\\frac{\\mathrm{d}\\partial}{\\partial x}",children:[{data:[{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}x^n=nx^{n-1} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}e^{ax}=a\\,e^{ax} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\ln(x)=\\frac{1}{x} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\sin x=\\cos x "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\cos x=-\\sin x "},{value:"\\int k\\mathrm{d}x = kx+C "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\tan x=\\sec^2 x "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\cot x=-\\csc^2 x "},{value:"\\int \\frac{1}{x}\\mathrm{d}x= \\ln \\left| x \\right| +C "},{value:"\\int \\frac{1}{\\sqrt{1-x^{2}}}\\mathrm{d}x= \\arcsin x +C "},{value:"\\int \\frac{1}{1+x^{2}}\\mathrm{d}x= \\arctan x +C "},{value:"\\int u \\frac{\\mathrm{d}v}{\\mathrm{d}x}\\,\\mathrm{d}x=uv-\\int \\frac{\\mathrm{d}u}{\\mathrm{d}x}v\\,\\mathrm{d}x "},{value:"f(x) = \\int_{-\\infty}^\\infty \\hat f(x)\\xi\\,e^{2 \\pi i \\xi x} \\,\\mathrm{d}\\xi "},{value:"\\int x^{\\mu}\\mathrm{d}x=\\frac{x^{\\mu +1}}{\\mu +1}+C, \\left({\\mu \\neq -1}\\right) "}]}]},{name:"\u4E09\u89D2",value:"e^{i \\theta}",children:[{name:"\u6C42\u548C Summation",data:[{value:"e^{i \\theta} "},{value:"\\left(\\frac{\\pi}{2}-\\theta \\right ) "},{value:"\\text{sin}^{2}\\frac{\\alpha}{2}=\\frac{1- \\text{cos}\\alpha}{2} "},{value:"\\text{cos}^{2}\\frac{\\alpha}{2}=\\frac{1+ \\text{cos}\\alpha}{2} "},{value:"\\text{tan}\\frac{\\alpha}{2}=\\frac{\\text{sin}\\alpha}{1+ \\text{cos}\\alpha} "},{value:"\\sin \\alpha + \\sin \\beta =2 \\sin \\frac{\\alpha + \\beta}{2}\\cos \\frac{\\alpha - \\beta}{2} "},{value:"\\sin \\alpha - \\sin \\beta =2 \\cos \\frac{\\alpha + \\beta}{2}\\sin \\frac{\\alpha - \\beta}{2} "},{value:"\\cos \\alpha + \\cos \\beta =2 \\cos \\frac{\\alpha + \\beta}{2}\\cos \\frac{\\alpha - \\beta}{2} "},{value:"\\cos \\alpha - \\cos \\beta =-2\\sin \\frac{\\alpha + \\beta}{2}\\sin \\frac{\\alpha - \\beta}{2} "},{value:"a^{2}=b^{2}+c^{2}-2bc\\cos A "},{value:"\\frac{\\sin A}{a}=\\frac{\\sin B}{b}=\\frac{\\sin C}{c}=\\frac{1}{2R} "},{value:"\\sin \\left ( \\frac{\\pi}{2}-\\alpha \\right ) = \\cos \\alpha "},{value:"\\sin \\left ( \\frac{\\pi}{2}+\\alpha \\right ) = \\cos \\alpha "}]}]},{name:"\u7EDF\u8BA1",value:"C_{r}^{n}",children:[{data:[{value:"C_{r}^{n} "},{value:"\\frac{n!}{r!(n-r)!} "},{value:"\\sum_{i=1}^{n}{X_i} "},{value:"\\sum_{i=1}^{n}{X_i^2} "},{value:"X_1, \\cdots,X_n "},{value:"\\frac{x-\\mu}{\\sigma} "},{value:"\\sum_{i=1}^{n}{(X_i - \\overline{X})^2} "},{value:`\\begin{array}{c} \r
\\text{\u82E5}P \\left( AB \\right) =P \\left( A \\right) P \\left( B \\right) \\\\ \r
\\text{\u5219}P \\left( A \\left| B\\right. \\right) =P \\left({B}\\right) \r
\\end{array}`},{value:"P(E) ={n \\choose k}p^k (1-p)^{n-k} "},{value:"P \\left( A \\right) = \\lim \\limits_{n \\to \\infty}f_{n}\\left ( A \\right ) "},{value:"P \\left( \\bigcup \\limits_{i=1}^{+ \\infty}A_{i}\\right) = \\prod \\limits_{i=1}^{+ \\infty}P{\\left( A_{i}\\right)} "},{value:`\\begin{array}{c} \r
P \\left( \\emptyset \\right) =0 \\\\ \r
P \\left( S \\right) =1 \r
\\end{array}`},{value:`\\begin{array}{c} \r
\\forall A \\in S \\\\ \r
P \\left( A \\right) \\ge 0 \r
\\end{array}`},{value:"P \\left( \\bigcup \\limits_{i=1}^{n}A_{i}\\right) = \\prod \\limits_{i=1}^{n}P \\left( A_{i}\\right) "},{value:`\\begin{array}{c} \r
S= \\binom{N}{n},A_{k}=\\binom{M}{k}\\cdot \\binom{N-M}{n-k} \\\\ \r
P\\left ( A_{k}\\right ) = \\frac{\\binom{M}{k}\\cdot \\binom{N-M}{n-k}}{\\binom{N}{n}} \r
\\end{array}`},{value:`\\begin{array}{c} \r
P_{n}=n! \\\\ \r
A_{n}^{k}=\\frac{n!}{\\left( n-k \\left) !\\right. \\right.} \r
\\end{array}`}]}]}],y=ae=>{E.current.setValue(E.current.getValue()+" "+ae.value+" ")},z=[{key:"1",label:"\u5FEB\u6377\u6A21\u677F",children:Me.createElement(he.Z,{className:xe.Z.lists,gutter:[10,10]},a.map((ae,se)=>Me.createElement(De.Z,{flex:"110px",className:xe.Z.item},Me.createElement("div",null,Me.createElement(ze.Z,{value:`$$${ae.value}$$`}),ae.name),Me.createElement("div",{className:xe.Z.children},ae.children.map((ie,Se)=>Me.createElement("div",{key:Se},Me.createElement("h1",null,ie.name),Me.createElement(he.Z,{gutter:[10,10]},ie.data.map((Fe,We)=>Me.createElement(De.Z,{key:We,onClick:()=>y(Fe),className:xe.Z.diamond},Me.createElement(ze.Z,{value:"`$$"+Fe.value+"$$`"}))))))))))},{key:"2",label:"\u516C\u5F0F\u6A21\u677F",children:Me.createElement(he.Z,{className:xe.Z.lists,gutter:[10,10]},x.map((ae,se)=>Me.createElement(De.Z,{flex:"110px",className:xe.Z.item},Me.createElement("div",null,Me.createElement(ze.Z,{value:"`$$"+ae.value+"$$`"}),ae.name),Me.createElement("div",{className:xe.Z.children},ae.children.map((ie,Se)=>Me.createElement("div",{key:Se},ie.name&&Me.createElement("h1",null,ie.name),Me.createElement(he.Z,{gutter:[10,10]},ie.data.map((Fe,We)=>Me.createElement(De.Z,{key:We,onClick:()=>y(Fe),className:xe.Z.diamond},Me.createElement(ze.Z,{value:"`$$"+Fe.value+"$$`"}))))))))))}],te=()=>{var ae=document.createElement("div");ae.innerHTML=E.current.getValue();var se=ae.innerText;return _e&&_e(se),se};return(0,b.useImperativeHandle)(le,()=>({getData:te})),Me.createElement("div",{className:xe.Z.mathWrap},Me.createElement(Ae.default,{defaultActiveKey:"1",items:z}),Me.createElement("math-field",{locale:"zh_cn",className:xe.Z.mathField,placeholder:"\u8BF7\u6253\u5F00\u952E\u76D8\uFF0C\u8F93\u5165\u516C\u5F0F",ref:E,style:{width:800,marginTop:30,fontSize:18}},Ke||""),He&&Me.createElement("div",{className:xe.Z.button},Me.createElement(ke.ZP,{size:"large",onClick:te,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))});kt.Z=Le},22962:function(yt,kt,oe){"use strict";oe.d(kt,{Z:function(){return He}});var b=oe(59301),he=oe(78241),De=oe(43418),Ae=oe(92832),ke=oe(87169),ze=oe(38986),xe={publicQuest:"publicQuest___iYvzo",publicQuestContent:"publicQuestContent___vgbKh",public_tips:"public_tips___UX0Dn",concat:"concat___wOfND"},tt=oe(52154),Me=oe(59301),Le=(Ke,le,E)=>new Promise((a,x)=>{var y=ae=>{try{te(E.next(ae))}catch(se){x(se)}},z=ae=>{try{te(E.throw(ae))}catch(se){x(se)}},te=ae=>ae.done?a(ae.value):Promise.resolve(ae.value).then(y,z);te((E=E.apply(Ke,le)).next())}),He=({type:Ke="subject",open:le,onCancel:E,onOkClick:a,subDisciplineId:x})=>{const[y]=he.default.useForm(),[z,te]=(0,b.useState)([]),[ae,se]=(0,b.useState)(!1);(0,b.useEffect)(()=>{},[]);const ie=()=>Le(void 0,null,function*(){if(Ke){const Se=yield(0,ze.ZP)("/api/disciplines.json",{method:"get",params:{source:Ke}});te(Se.disciplines||[])}});return Me.createElement(De.default,{title:Me.createElement("div",{style:{fontWeight:"bold"}},"\u65B0\u5EFA\u77E5\u8BC6\u70B9"),open:le,width:558,centered:!0,className:xe.publicQuest,onCancel:()=>{E(),y.resetFields()},onOk:()=>{y.validateFields().then(Se=>Le(void 0,null,function*(){const Fe=yield(0,ze.ZP)("/api/tag_disciplines.json",{method:"post",body:{name:Se==null?void 0:Se.name,sub_discipline_id:x}});(Fe==null?void 0:Fe.status)===0&&a({name:Se==null?void 0:Se.name,id:Fe==null?void 0:Fe.tag_discipline_id,public:!1,type:"personal"}),y.resetFields(),E()}))}},Me.createElement("div",{className:xe.publicQuestContent},Me.createElement("div",{className:xe.public_tips},Me.createElement(ke.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"),Me.createElement(he.default,{labelAlign:"left",form:y,colon:!1},Me.createElement(he.default.Item,{label:"\u77E5\u8BC6\u70B9\u540D\u79F0",name:"name",rules:[{required:!0}]},Me.createElement(Ae.default,{showCount:!0,maxLength:20,placeholder:"\u8BF7\u8F93\u5165\u77E5\u8BC6\u70B9\u540D\u79F0"}))),Me.createElement(tt.Z,{open:ae,onCancel:()=>{se(!1)}})))}},70100:function(yt,kt,oe){"use strict";oe.d(kt,{Q:function(){return Me},Z:function(){return _e}});var b=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"},De=oe(92310),Ae=oe.n(De),ke=oe(43418),ze=oe(8591),xe=oe(24905),tt=(He,Ke,le)=>new Promise((E,a)=>{var x=te=>{try{z(le.next(te))}catch(ae){a(ae)}},y=te=>{try{z(le.throw(te))}catch(ae){a(ae)}},z=te=>te.done?E(te.value):Promise.resolve(te.value).then(x,y);z((le=le.apply(He,Ke)).next())});const Me=({title:He="\u8BBE\u7F6E\u7F16\u7A0B\u8BED\u8A00",dataSource:Ke=[],visible:le,setVisible:E,tip:a,onOk:x})=>{const[y,z]=(0,b.useState)([]),[te,ae]=(0,b.useState)(!1);return(0,b.useEffect)(()=>{le&&z(Ke)},[le]),b.createElement(ke.default,{centered:!0,open:le,title:He,confirmLoading:te,width:564,onOk:()=>tt(void 0,null,function*(){if(!y.length){ze.ZP.warning("\u8BF7\u9009\u62E9\u7F16\u7A0B\u8BED\u8A00");return}ae(!0),yield x(y),ae(!1)}),onCancel:()=>E(!1)},!!a&&b.createElement("div",{className:"c-grey-666 font16 mb10"},a),b.createElement("div",{style:{background:"#F6F7F9",padding:"20px 20px 20px 26px"}},b.createElement(xe.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:se=>{z(se)}})))};var _e=({title:He="\u5141\u8BB8\u7F16\u7A0B\u7684\u8BED\u8A00",className:Ke,style:le={},onEdit:E,dataSource:a=[]})=>{const x={C:b.createElement("div",{className:he.c},"C"),"C++":b.createElement("div",{className:he.cpp},"C++"),Java:b.createElement("div",{className:he.java},"Java"),Python:b.createElement("div",{className:he.python},"Python")};return b.createElement("div",{className:Ae()(he.tags,Ke),style:le},!!He&&b.createElement("div",{className:he.text},He),b.createElement("div",{className:he.tagWrap},a==null?void 0:a.map(y=>b.createElement(b.Fragment,{key:y},x[y]))),!!E&&b.createElement("div",{onClick:E,className:`iconfont icon-bianji_Hover ${he.edit}`}))}},68571:function(yt,kt,oe){"use strict";oe.d(kt,{t:function(){return _n}});var b=oe(59301),he=oe(92832),De=oe(78241),Ae=oe(43418),ke=oe(95237),ze=oe(43604),xe=oe(5871),tt=oe(57809),Me=oe(5112),Le=oe(31457),_e=oe(25690),He=oe(8423),Ke=oe(8591),le=oe(3113),E=oe(71418),a=oe(24334),x={flex_box_center:"flex_box_center___kOQ8P",flex_space_between:"flex_space_between___fY6jt",flex_box_vertical_center:"flex_box_vertical_center___bDSSI",flex_box_center_end:"flex_box_center_end___mQ6mU",flex_box_column:"flex_box_column___F15G0",result:"result___UYRo8",left:"left___TRaH5",right:"right___twp9s",box:"box___vwndt",li:"li___hRe2d"},y=oe(38986),z=oe(81072),te=oe(39793),ae=oe(56102),se=oe(37345),ie=oe(59301),Se=Object.defineProperty,Fe=Object.defineProperties,We=Object.getOwnPropertyDescriptors,Ne=Object.getOwnPropertySymbols,mt=Object.prototype.hasOwnProperty,Re=Object.prototype.propertyIsEnumerable,Je=(sn,Rt,Mt)=>Rt in sn?Se(sn,Rt,{enumerable:!0,configurable:!0,writable:!0,value:Mt}):sn[Rt]=Mt,Qe=(sn,Rt)=>{for(var Mt in Rt||(Rt={}))mt.call(Rt,Mt)&&Je(sn,Mt,Rt[Mt]);if(Ne)for(var Mt of Ne(Rt))Re.call(Rt,Mt)&&Je(sn,Mt,Rt[Mt]);return sn},et=(sn,Rt)=>Fe(sn,We(Rt)),we=(sn,Rt,Mt)=>new Promise((Yn,aa)=>{var tn=ya=>{try{_a(Mt.next(ya))}catch(zn){aa(zn)}},ba=ya=>{try{_a(Mt.throw(ya))}catch(zn){aa(zn)}},_a=ya=>ya.done?Yn(ya.value):Promise.resolve(ya.value).then(tn,ba);_a((Mt=Mt.apply(sn,Rt)).next())}),ct=({buttonProps:sn,buttonText:Rt,form:Mt,hackIdentifier:Yn="",answerKey:aa,data:tn})=>{const[ba,_a]=(0,b.useState)(!1),[ya,zn]=(0,b.useState)(!1),[xa,dr]=(0,b.useState)(!1),[Ya,Jn]=(0,b.useState)({}),[da,ea]=(0,b.useState)(""),[ia,Ea]=(0,b.useState)(""),Va=(0,b.useRef)(Yn),yn=(0,b.useRef)(""),an=(0,b.useRef)(!1);(0,b.useEffect)(()=>{xa&&pa()},[xa]),(0,b.useEffect)(()=>()=>{sessionStorage.removeItem("projectFill")},[]);const Ft=()=>new Date().getTime(),Gt=tn==null?void 0:tn.code,Da=()=>{var Ga,gr;let Ua=Gt?tn==null?void 0:tn.code:(Ga=Mt.getFieldValue("hack_codes"))==null?void 0:Ga.code,Cr=Gt?tn==null?void 0:tn.answer_content:Mt.getFieldValue(aa),ho=Gt?tn==null?void 0:tn.input:(gr=Mt.getFieldValue("hack_sets"))==null?void 0:gr.input;Cr==null||Cr.forEach(Ht=>{const Zn=Ht.value||Ht.answer_text||"";Ua=Ua.replace(/(@▁@|@▁▁@)/,Zn)}),Ea(ho),ea(Ua),Jn({}),dr(!0)},pa=()=>we(void 0,null,function*(){var Ga,gr,Ua,Cr;const ho=Ft(),Ht=Gt?tn==null?void 0:tn.time_limit:(Ga=Mt.getFieldsValue())==null?void 0:Ga.hack.time_limit,Zn=Gt?(gr=tn==null?void 0:tn.answer_content)==null?void 0:gr.length:(Cr=(Ua=Mt.getFieldsValue())==null?void 0:Ua.standard_answers)==null?void 0:Cr.length;_a(!0),yield(0,z.bM)(yn.current,{test_hack_code:da,test_input:ia});function qn(){return we(this,null,function*(){const{status:Sa,data:Be}=yield(0,z.rX)(yn.current,"submit"),st=Ft()-ho>(Ht+3)*1e3*Zn;if(an.current){if(st){Ke.ZP.error("\u8C03\u8BD5\u4EE3\u7801\u8D85\u65F6"),_a(!1);return}if(Sa===0){_a(!1),Jn(et(Qe({},Be),{showText:!0}));return}setTimeout(qn,1e3)}})}qn()}),wa=()=>we(void 0,null,function*(){var Ga,gr,Ua,Cr,ho,Ht,Zn;if(!tn){try{yield Mt.validateFields()}catch(at){(Ua=(gr=(Ga=at==null?void 0:at.errorFields)==null?void 0:Ga[0])==null?void 0:gr.name)!=null&&Ua.includes("standard_answers")?Ke.ZP.error("\u586B\u7A7A\u9879\u7B54\u6848\u4E0D\u80FD\u4E3A\u7A7A"):Ke.ZP.error(at.errorFields[0].errors[0]),Mt.scrollToField(at.errorFields[0].name,{behavior:"smooth",block:"center"});return}zn(!0);let Sa="";const Be=Mt.getFieldsValue();Va.current?Sa=yield(0,y.ZP)(`/api/problems/${Va.current}.json`,{method:"put",body:et(Qe({},Be),{hack:et(Qe({},Be==null?void 0:Be.hack),{sub_discipline_id:(Zn=(Ht=Be==null?void 0:Be.hack)==null?void 0:Ht.sub_discipline_id)==null?void 0:Zn[1],difficult:Be.difficulty,item_banks_group_id:Be.item_banks_group_id}),hack_codes:et(Qe({},Be.hack_codes),{code:a.Base64.encode(Be.hack_codes.code)}),update_hack_sets:[Qe({},Be.hack_sets)],is_blank:!0})}):(Sa=yield(0,y.ZP)("/api/problems.json",{method:"post",body:et(Qe({},Be),{hack:et(Qe({},Be==null?void 0:Be.hack),{sub_discipline_id:(ho=(Cr=Be==null?void 0:Be.hack)==null?void 0:Cr.sub_discipline_id)==null?void 0:ho[1],difficult:Be.difficulty,item_banks_group_id:Be.item_banks_group_id}),hack_codes:et(Qe({},Be.hack_codes),{code:a.Base64.encode(Be.hack_codes.code)}),hack_sets:[Qe({},Be.hack_sets)],is_blank:!0})}),Va.current=Sa==null?void 0:Sa.identifier,sessionStorage.projectFill=Sa==null?void 0:Sa.identifier)}const qn=yield(0,y.ZP)(`/api/problems/${Va.current}/start.json`,{method:"get"});if((qn==null?void 0:qn.status)===0){yn.current=qn==null?void 0:qn.identifier,an.current=!0,zn(!1),Da();return}zn(!1)}),ha=Ga=>{const{status:gr,error_msg:Ua,execute_time:Cr,output:ho,input:Ht,expected_output:Zn}=Ga;let qn=null;switch(gr){case se.h.OK:qn=ie.createElement(ie.Fragment,null,ie.createElement("p",null,"\u6267\u884C\u7528\u65F6\uFF1A",Cr/1e3,"\u79D2"),ie.createElement("p",null,"\u6267\u884C\u7ED3\u679C\uFF1A\u8C03\u8BD5\u901A\u8FC7"));break;case se.h.NOMATCH:qn=ie.createElement(ie.Fragment,null,ie.createElement("div",null,"\u8F93\u5165\uFF1A"),ie.createElement("pre",{style:{fontFamily:"initial"}},Ht),ie.createElement("div",null,"\u8F93\u51FA\uFF1A"),ie.createElement("pre",{style:{fontFamily:"initial"}},ho&&a.Base64.decode(ho)),ie.createElement("div",null,"\u9884\u671F\u8F93\u51FA\uFF1A"),ie.createElement("pre",{style:{fontFamily:"initial"}},Zn&&a.Base64.decode(Zn)));break;case se.h.EXECUTEFAILURE:qn=ie.createElement(ie.Fragment,null,ie.createElement("p",null,"\u6700\u540E\u6267\u884C\u7684\u8F93\u5165\uFF1A",ie.createElement("pre",null,Ht)),ie.createElement("p",null,"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),ie.createElement("pre",{className:"error"},a.Base64.decode(Ua)));break;case se.h.COMPILEFAILURE:qn=ie.createElement(ie.Fragment,null,ie.createElement("p",null,"\u6700\u540E\u6267\u884C\u7684\u8F93\u5165\uFF1A",ie.createElement("pre",null,Ht)),ie.createElement("p",null,"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),ie.createElement("pre",{className:"error"},a.Base64.decode(Ua)));break;case se.h.PODFAILURE:qn=ie.createElement("p",null,"\u521B\u5EFApod\u5931\u8D25\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break;case se.h.TIMEOUT:qn=ie.createElement("p",null,"\u8BC4\u6D4B\u8D85\u65F6\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break}return ie.createElement(ie.Fragment,null," ",qn," ")};return ie.createElement("div",null,ie.createElement(le.ZP,et(Qe({loading:ya},sn),{onClick:wa}),Rt),ie.createElement(Ae.default,{open:xa,title:"\u8C03\u8BD5\u4EE3\u7801",destroyOnClose:!0,width:1200,okText:"\u8FD0\u884C\u6D4B\u8BD5",confirmLoading:ba,cancelButtonProps:{style:{display:"none"}},onOk:()=>pa(),onCancel:()=>{an.current=!1,dr(!1)}},ie.createElement("div",{className:x.result},ie.createElement("div",{className:x.left},ie.createElement("div",{className:"mb20"},ie.createElement("span",{className:"c-black"},"\u6267\u884C\u4EE3\u7801"),!tn&&ie.createElement(ae.CopyToClipboard,{text:da,onCopy:()=>Ke.ZP.success("\u590D\u5236\u6210\u529F")},ie.createElement("span",{style:{float:"right"},className:"current c-light-primary"},ie.createElement("i",{className:"iconfont icon-fuzhi8 mr5"}),"\u590D\u5236"))),ie.createElement(te.Z,{height:510,className:"mb0",hidetoolBar:!0,defaultValue:da,onChange:Ga=>ea(Ga)})),ie.createElement("div",{className:x.right},ie.createElement("div",{className:"c-black mb20"},"\u81EA\u5B9A\u4E49\u6D4B\u8BD5\u7528\u4F8B"),ie.createElement("div",{className:x.box},ie.createElement("div",{className:x.li},ie.createElement(he.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165",value:ia,onChange:Ga=>Ea(Ga.target.value),bordered:!1,style:{height:180}}))),ie.createElement("div",{className:"c-black mb20 mt30"},"\u4EE3\u7801\u6267\u884C\u7ED3\u679C"),ie.createElement("div",{className:x.box},ie.createElement(E.Z,{spinning:ba,tip:"\u4EE3\u7801\u6267\u884C\u4E2D"},ie.createElement("div",{className:x.li,style:{height:196,overflow:"auto",padding:10}},ha(Ya))))))))},Lt=oe(87169),gt=oe(59301),Pn=Object.defineProperty,nn=Object.defineProperties,Wt=Object.getOwnPropertyDescriptors,_t=Object.getOwnPropertySymbols,Te=Object.prototype.hasOwnProperty,ot=Object.prototype.propertyIsEnumerable,Ut=(sn,Rt,Mt)=>Rt in sn?Pn(sn,Rt,{enumerable:!0,configurable:!0,writable:!0,value:Mt}):sn[Rt]=Mt,xn=(sn,Rt)=>{for(var Mt in Rt||(Rt={}))Te.call(Rt,Mt)&&Ut(sn,Mt,Rt[Mt]);if(_t)for(var Mt of _t(Rt))ot.call(Rt,Mt)&&Ut(sn,Mt,Rt[Mt]);return sn},At=(sn,Rt)=>nn(sn,Wt(Rt)),ln=(sn,Rt)=>{var Mt={};for(var Yn in sn)Te.call(sn,Yn)&&Rt.indexOf(Yn)<0&&(Mt[Yn]=sn[Yn]);if(sn!=null&&_t)for(var Yn of _t(sn))Rt.indexOf(Yn)<0&&ot.call(sn,Yn)&&(Mt[Yn]=sn[Yn]);return Mt};const{TextArea:Ce}=he.default,ut=[{title:"C",key:"C"},{title:"C++",key:"C++"},{title:"Python",key:"Python"},{title:"Java",key:"Java"}],Xt=({value:sn,onChange:Rt})=>gt.createElement(Switch,{checked:sn,onChange:Mt=>{Rt(Mt)}}),nt="@\u2581@",Pt="@\u2581\u2581@",_n=({questionTitlePlaceholder:sn,form:Rt,scoreByBlank:Mt=!1,hackidentifier:Yn,answerKey:aa})=>{const[tn,ba]=(0,b.useState)(!1),[_a,ya]=(0,b.useState)(!1),xa=(0,_e.useParams)().type==="edit",dr=(yn,an)=>{const Ft=an.line;let Gt=0;for(let pa=0;pa<Ft;pa++)Gt+=yn.getLine(pa).split(nt).length-1;for(let pa=0;pa<Ft;pa++)Gt+=yn.getLine(pa).split(Pt).length-1;const Da=yn.getLine(Ft).substring(0,an.ch);return Gt+=Da.split(nt).length-1,Gt+=Da.split(Pt).length-1,Gt},Ya=(yn,an,Ft,Gt)=>{const Da=yn.getRange(an.from,an.to);let pa=0;if(an.text.forEach(wa=>{pa+=wa.split(nt).length-1}),an.text.forEach(wa=>{pa+=wa.split(Pt).length-1}),an.origin!=="setValue"){if(Da&&(Da.indexOf(nt)!==-1||Da.indexOf(Pt)!==-1)){const wa=Da.split(nt).length-1+Da.split(Pt).length-1,ha=dr(yn,an.from);if(console.log(`\u5220\u9664${wa}\u4E2A\uFF0C \u524D\u9762\u6709${ha}\u4E2A\uFF0C\u65B0\u589E${pa}\u4E2A`),wa>1){const Ga=Array.from({length:wa},(gr,Ua)=>ha+Ua);Gt(Ga)}else Gt(ha)}else if(pa>0){const wa=dr(yn,an.from);console.log(`\u65B0\u589E${pa}\u4E2A\uFF0C\u4E4B\u524D\u6709${wa}\u4E2A`),Ft(pa,wa)}}},Jn=()=>{const yn=Rt.getFieldValue(aa);Rt.setFieldsValue({[aa]:yn==null?void 0:yn.map((an,Ft)=>At(xn({},an),{position:Ft+1}))})},da=(0,b.useRef)(),ea=(yn,an)=>{for(let Ft=0;Ft<yn;Ft++)da.current({position:null,answer_text:""},an+Ft);Jn()},ia=(0,b.useRef)(),Ea=yn=>{ia.current(yn),Jn()},Va=De.default.useWatch(aa,Rt);return gt.createElement("div",{className:He.Z.wrap},gt.createElement(De.default.Item,{label:"\u8BD5\u9898\u63CF\u8FF0",name:["hack","description"],style:{display:"table"},className:"w100",labelCol:{span:24},rules:[{required:!0}]},gt.createElement(Le.h,{scrollId:"name",watch:!0,height:140})),gt.createElement("div",{className:He.Z.questionTitleEditorWrap},gt.createElement(De.default.Item,{label:"\u7A0B\u5E8F\u4EE3\u7801",name:["hack_codes","code"],labelCol:{span:24},rules:[{required:!0}]},gt.createElement(Le.h,{scrollId:"name",watch:!0,height:400,hidetoolBar:!0,showNullProgramButton:!0,onChange:(yn,an)=>{const Ft=Rt.getFieldValue(aa);console.log("--preAnswerData",Ft,an),Rt.setFieldsValue({[aa]:Ft==null?void 0:Ft.map((Gt,Da)=>{var pa;return At(xn({},Gt),{position:Da+1,multi_line:(pa=an==null?void 0:an[Da])==null?void 0:pa.multiLine})})})},placeholder:sn,onCMBeforeChange:(yn,an)=>{Ya(yn,an,ea,Ea)}}))),gt.createElement(De.default.List,{name:aa,rules:[{validator(yn,an){if(!(an!=null&&an.length))return Promise.reject(new Error("\u7B54\u6848\u4E0D\u80FD\u4E3A\u7A7A"));for(const Ft of an){const{answer_text:Gt}=Ft||{};if((Gt==null?void 0:Gt.length)===0)return Promise.reject(new Error("\u586B\u7A7A\u9879\u7B54\u6848\u4E0D\u80FD\u4E3A\u7A7A"))}return Promise.resolve()}}]},(yn,{add:an,remove:Ft},{errors:Gt})=>(da.current=an,ia.current=Ft,gt.createElement(gt.Fragment,null,gt.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between"}},gt.createElement(De.default.Item,{label:"\u586B\u7A7A\u9879\u7B54\u6848",required:!0,labelCol:{span:24}}),gt.createElement("div",{onClick:()=>{Ae.default.warning({title:"\u7ED9\u5206\u8BF4\u660E",icon:null,width:700,centered:!0,content:gt.createElement("div",null,gt.createElement("div",null,"1.\u5B66\u751F\u586B\u5199\u7B54\u6848\u4E4B\u540E\uFF0C\u5FC5\u987B\u63D0\u4EA4\u4EE3\u7801",gt.createElement("span",{style:{color:"#e30000"}},"\u8FDB\u884C\u8BC4\u6D4B"),"\u624D\u80FD\u5F97\u5206\u3002"),gt.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"}},gt.createElement(Lt.Z,{style:{marginRight:3,color:"#3061D0"}}),gt.createElement("span",null," \u7ED9\u5206\u8BF4\u660E"))),yn.map((Da,pa)=>{var wa=Da,{key:ha,name:Ga}=wa,gr=ln(wa,["key","name"]),Ua,Cr;return gt.createElement(ke.Z,{className:"mb20",key:ha,align:"middle",wrap:!1},gt.createElement(ze.Z,{flex:"0 0 auto",className:`${He.Z.blankIndex}`},"\u586B\u7A7A\u9879",pa+1),gt.createElement(ze.Z,{flex:1},gt.createElement(ke.Z,{align:"top",justify:"space-between",wrap:!1},gt.createElement(ze.Z,null,gt.createElement(De.default.Item,At(xn({},gr),{name:[Ga,"answer_text"],noStyle:!0}),(Ua=Va==null?void 0:Va[Ga])!=null&&Ua.multi_line||(Cr=Va==null?void 0:Va[Ga])!=null&&Cr.multiLine?gt.createElement(Ce,{spellCheck:!1,style:{marginLeft:10,width:550}}):gt.createElement(he.default,{style:{marginLeft:10,width:550},className:He.Z.blankInput,size:"large",maxLength:1e3,onBlur:ho=>{}}))),Mt&&gt.createElement(ze.Z,{flex:"224px"},gt.createElement(De.default.Item,At(xn({},gr),{name:[Ga,"score"],label:"\u5206\u503C",rules:[{required:!0}]}),gt.createElement(xe.Z,{size:"large",className:He.Z.blankInput,min:.1,max:100,precision:1,style:{width:"100%"},placeholder:"\u8BF7\u8F93\u5165\u5206\u503C"}))))))})))),gt.createElement("div",{onClick:()=>ba(!0)},gt.createElement(De.default.Item,{name:["hack","analysis"],label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},gt.createElement(Le.x,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:tn}))),gt.createElement(De.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"}]},gt.createElement(tt.default,{size:"large"},ut.map(yn=>gt.createElement(tt.default.Option,{key:yn.title,value:yn.key}," ",yn.title)))),gt.createElement(De.default.Item,{label:"\u6700\u5927\u8BC4\u6D4B\u65F6\u957F\uFF08\u79D2\uFF09",style:{marginTop:30},labelCol:{span:24},required:!0},gt.createElement(De.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},gt.createElement(xe.Z,{precision:0,max:10,min:3,size:"large",style:{width:"97%"}})),gt.createElement("span",{className:"ml10 font14"},"\u79D2")),gt.createElement(De.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"}]},gt.createElement(Me.ZP.Group,{style:{marginTop:-10}},gt.createElement(Me.ZP,{value:0},"\u4E0D\u5FFD\u7565\u7A7A\u683C"),gt.createElement(Me.ZP,{value:1},"\u5FFD\u7565\u9996\u5C3E\u7A7A\u683C"),gt.createElement(Me.ZP,{value:2},"\u5FFD\u7565\u6240\u6709\u7A7A\u683C"))),gt.createElement(De.default.Item,{label:"\u6D4B\u8BD5\u7528\u4F8B",required:!0,style:{marginTop:30}}),gt.createElement("div",{style:{background:"#F6F7F9",padding:15}},gt.createElement(De.default.Item,{label:"\u8F93\u5165",labelCol:{span:24},name:["hack_sets","input"]},gt.createElement(Ce,{rows:4})),gt.createElement(De.default.Item,{label:"\u8F93\u51FA",labelCol:{span:24},name:["hack_sets","output"],rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u8F93\u51FA\u5185\u5BB9"}]},gt.createElement(Ce,{rows:4}))),gt.createElement(ct,{form:Rt,answerKey:aa,hackIdentifier:Yn,buttonText:"\u8FD0\u884C\u8C03\u8BD5",buttonProps:{ghost:!0,icon:gt.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(yt,kt,oe){"use strict";oe.d(kt,{u:function(){return ie}});var b=oe(59301),he=oe(95237),De=oe(43604),Ae=oe(6848),ke=oe(78241),ze=oe(8423),xe=oe(32134),tt=oe(12893),Me=oe(31457),Le=oe(59301),_e=Object.defineProperty,He=Object.defineProperties,Ke=Object.getOwnPropertyDescriptors,le=Object.getOwnPropertySymbols,E=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable,x=(Se,Fe,We)=>Fe in Se?_e(Se,Fe,{enumerable:!0,configurable:!0,writable:!0,value:We}):Se[Fe]=We,y=(Se,Fe)=>{for(var We in Fe||(Fe={}))E.call(Fe,We)&&x(Se,We,Fe[We]);if(le)for(var We of le(Fe))a.call(Fe,We)&&x(Se,We,Fe[We]);return Se},z=(Se,Fe)=>He(Se,Ke(Fe)),te=(Se,Fe)=>{var We={};for(var Ne in Se)E.call(Se,Ne)&&Fe.indexOf(Ne)<0&&(We[Ne]=Se[Ne]);if(Se!=null&&le)for(var Ne of le(Se))Fe.indexOf(Ne)<0&&a.call(Se,Ne)&&(We[Ne]=Se[Ne]);return We};const ae=["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"],se=({value:Se,onChange:Fe,choiceTextKey:We,answerKey:Ne,index:mt,isEdit:Re,setInputActive:Je,form:Qe,choiceOptionsPath:et,allowChangeMode:we,showAddIcon:ht,addItem:ct,deleteItem:Lt})=>{console.log(Se,"value");const gt=(Se==null?void 0:Se[Ne])===1,Pn=()=>{const Wt=Qe.getFieldValue(et);Qe.setFieldValue(et,Wt.map(_t=>z(y({},_t),{[Ne]:0})))},nn=()=>{gt?Fe(z(y({},Se),{[Ne]:0})):(we||Pn(),Fe(z(y({},Se),{[Ne]:1})))};return Le.createElement(he.Z,{className:ze.Z.choiceWrap,align:"middle",wrap:!1},Le.createElement(De.Z,{onClick:nn,className:`${ze.Z.choiceIndex} ${gt?ze.Z.activeAnswer:""}`},ae[mt]),Le.createElement(De.Z,{flex:1,className:`${ze.Z.editorWrap} ml15`,onClick:Je},Le.createElement(Me.x,{height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9009\u9879",isEdit:Re,value:Se==null?void 0:Se[We],onChange:Wt=>{Fe(z(y({},Se),{[We]:Wt}))}})),Le.createElement(De.Z,{flex:"0 0 auto",className:"ml15"},Le.createElement("div",{onClick:nn,className:`${ze.Z.setAnswerBtn} ${gt?ze.Z.activeAnswer:""}`},gt?"\u6B63\u786E\u7B54\u6848":"\u8BBE\u4E3A\u7B54\u6848")),Le.createElement(De.Z,{className:ze.Z.actionWrapper},Le.createElement(Ae.Z,{title:"\u65B0\u589E\u53C2\u8003\u7B54\u6848"},Le.createElement(xe.Z,{className:ze.Z.addIcon,onClick:ct,style:{visibility:ht?"visible":"hidden"}})),Le.createElement(Ae.Z,{title:"\u5220\u9664"},Le.createElement(tt.Z,{className:ze.Z.deleteIcon,onClick:Lt,style:{visibility:mt>1?"visible":"hidden"}}))))},ie=({questionTitlePlaceholder:Se,titleKey:Fe,choiceKey:We,analysisKey:Ne,choiceTextKey:mt,answerKey:Re,choiceOptionsPath:Je,allowChangeMode:Qe=!0,form:et,showAnalysis:we=!0})=>{const[ht,ct]=(0,b.useState)(),[Lt,gt]=(0,b.useState)(!1);return Le.createElement("div",{className:ze.Z.wrap},Le.createElement("div",{className:ze.Z.questionTitleEditorWrap},Le.createElement(ke.default.Item,{label:"\u9898\u5E72",name:Fe,labelCol:{span:24},rules:[{required:!0}]},Le.createElement(Me.h,{scrollId:Array.isArray(Fe)?Fe.join("_"):`${Fe}`,watch:!0,height:140,placeholder:Se}))),Le.createElement(ke.default.Item,{label:"\u7B54\u6848\u9009\u9879",required:!0,labelCol:{span:24}}),Le.createElement(ke.default.List,{name:We,rules:[{validator(Pn,nn){const Wt=nn.some(Te=>Te[Re]===1),_t=nn.findIndex(Te=>{var ot;return((ot=Te[mt])==null?void 0:ot.length)<=0});return _t!==-1?Promise.reject(new Error(`\u8BF7\u5148\u8F93\u5165${ae[_t]}\u9009\u9879\u7684\u5185\u5BB9`)):Wt?Promise.resolve():Promise.reject(new Error("\u8BF7\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848"))}}]},(Pn,{add:nn,remove:Wt})=>Le.createElement("div",{id:Array.isArray(Je)?Je.join("_"):`${Je}`},Pn.map((_t,Te)=>{var ot=_t,{key:Ut,name:xn}=ot,At=te(ot,["key","name"]);const ln=ht===Ut,Ce=()=>{ct(Ut)},ut=Te<7&&Te===Pn.length-1,Xt=()=>nn({[mt]:"",[Re]:0}),nt=()=>Wt(xn);return Le.createElement(ke.default.Item,z(y({},At),{key:Ut,name:xn,className:ze.Z.choiceListWrap,rules:[{validator(Pt,_n){return _n!=null&&_n.choice_text?Promise.resolve():Promise.reject(new Error(`\u8BF7\u5148\u8F93\u5165${ae[Te]}\u9009\u9879\u7684\u5185\u5BB9`))}}]}),Le.createElement(se,{choiceTextKey:mt,answerKey:Re,index:Te,isEdit:ln,setInputActive:Ce,form:et,choiceOptionsPath:Je,allowChangeMode:Qe,showAddIcon:ut,addItem:Xt,deleteItem:nt}))}),Pn.length<8&&Le.createElement("div",{className:`${ze.Z.addBtn} mb30`,onClick:()=>nn({[mt]:"",[Re]:0})},"\u6DFB\u52A0\u9009\u9879"))),we&&Le.createElement("div",{onClick:()=>gt(!0)},Le.createElement(ke.default.Item,{name:Ne,label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},Le.createElement(Me.x,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:Lt}))))}},92046:function(yt,kt,oe){"use strict";oe.d(kt,{u:function(){return Qe}});var b=oe(59301),he=oe(43418),De=oe(95237),Ae=oe(43604),ke=oe(92832),ze=oe(6848),xe=oe(78673),tt=oe(78241),Me=oe(5112),Le=oe(5871),_e=oe(31457),He=oe(12893),Ke=oe(61485),le=oe(8423),E=oe(19105),a=oe(59301),x=Object.defineProperty,y=Object.defineProperties,z=Object.getOwnPropertyDescriptors,te=Object.getOwnPropertySymbols,ae=Object.prototype.hasOwnProperty,se=Object.prototype.propertyIsEnumerable,ie=(et,we,ht)=>we in et?x(et,we,{enumerable:!0,configurable:!0,writable:!0,value:ht}):et[we]=ht,Se=(et,we)=>{for(var ht in we||(we={}))ae.call(we,ht)&&ie(et,ht,we[ht]);if(te)for(var ht of te(we))se.call(we,ht)&&ie(et,ht,we[ht]);return et},Fe=(et,we)=>y(et,z(we)),We=(et,we)=>{var ht={};for(var ct in et)ae.call(et,ct)&&we.indexOf(ct)<0&&(ht[ct]=et[ct]);if(et!=null&&te)for(var ct of te(et))we.indexOf(ct)<0&&se.call(et,ct)&&(ht[ct]=et[ct]);return ht};const Ne=({value:et,onChange:we})=>{const ht=Lt=>{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:le.Z.modal,onOk:()=>{const gt=[...et];gt.splice(Lt,1),we(gt)}})},ct=()=>{const Lt=[...et];Lt.push(""),we(Lt)};return a.createElement(De.Z,{className:"ml20"},a.createElement(Ae.Z,{flex:1},et==null?void 0:et.map((Lt,gt)=>a.createElement(De.Z,{key:`${Lt}_${gt}`,className:"mb20"},a.createElement(ke.default.TextArea,{style:{flex:1,minHeight:44},defaultValue:Lt,autoSize:{maxRows:3},maxLength:1e3,onBlur:Pn=>{const nn=[...et],Wt=Pn.target.value.trim();nn[gt]=Wt,we(nn)}}),a.createElement(ze.Z,{title:"\u5220\u9664"},a.createElement(He.Z,{className:le.Z.deleteIcon,style:{marginLeft:15,visibility:gt>0?"visible":"hidden"},onClick:()=>ht(gt)}))))),a.createElement(Ae.Z,null,a.createElement("div",{className:`${le.Z.addBtn}`,onClick:()=>{ct()}},"\u65B0\u589E\u7B54\u6848")))},mt=({value:et,onChange:we})=>{const ht=Lt=>{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:le.Z.modal,onOk:()=>{const gt=[...et];gt.splice(Lt,1),we(gt)}})},ct=()=>{const Lt=[...et];Lt.push(""),we(Lt)};return a.createElement(De.Z,{className:"ml20"},a.createElement(Ae.Z,{flex:1},et==null?void 0:et.map((Lt,gt)=>a.createElement(De.Z,{key:`${Lt}_${gt}`,align:"middle",className:"mb20"},a.createElement(E.Z,{value:Lt,style:{flex:1},onChange:Pn=>{const nn=[...et];nn[gt]=Pn,we(nn)}}),a.createElement(ze.Z,{title:"\u5220\u9664"},a.createElement(He.Z,{className:le.Z.deleteIcon,style:{marginLeft:15,visibility:gt>0?"visible":"hidden"},onClick:()=>ht(gt)}))))),a.createElement(Ae.Z,null,a.createElement("div",{className:`${le.Z.addBtn}`,onClick:()=>{ct()}},"\u65B0\u589E\u7B54\u6848")))},Re=({value:et=!0,onChange:we})=>a.createElement(xe.Z,{checked:!et,onChange:ht=>{we(!ht)}}),Je="\u2581",Qe=({questionTitlePlaceholder:et,form:we,scoreByBlank:ht=!1,answerKey:ct})=>{const[Lt,gt]=(0,b.useState)(!1),Pn=(At,ln)=>{const Ce=ln.line;let ut=0;for(let nt=0;nt<Ce;nt++)ut+=At.getLine(nt).split(Je).length-1;const Xt=At.getLine(Ce).substring(0,ln.ch);return ut+=Xt.split(Je).length-1,ut},nn=(At,ln,Ce,ut)=>{const Xt=At.getRange(ln.from,ln.to);let nt=0;if(ln.text.forEach(Pt=>{nt+=Pt.split(Je).length-1}),ln.origin!=="setValue"){if(Xt&&Xt.indexOf(Je)!==-1){const Pt=Xt.split(Je).length-1,_n=Pn(At,ln.from);if(console.log(`\u5220\u9664${Pt}\u4E2A\uFF0C \u524D\u9762\u6709${_n}\u4E2A\uFF0C\u65B0\u589E${nt}\u4E2A`),Pt>1){const sn=Array.from({length:Pt},(Rt,Mt)=>_n+Mt);ut(sn)}else ut(_n)}else if(nt>0){const Pt=Pn(At,ln.from);console.log(`\u65B0\u589E${nt}\u4E2A\uFF0C\u4E4B\u524D\u6709${Pt}\u4E2A`),Ce(nt,Pt)}}},Wt=()=>{const At=we.getFieldValue(ct);we.setFieldsValue({[ct]:At.map((ln,Ce)=>Fe(Se({},ln),{position:Ce+1}))})},_t=(0,b.useRef)(),Te=(At,ln)=>{for(let Ce=0;Ce<At;Ce++)_t.current({position:null,answer_text:[""],model:1},ln+Ce);Wt()},ot=(0,b.useRef)(),Ut=At=>{ot.current(At),Wt()},xn=tt.default.useWatch(ct,we);return a.createElement("div",{className:le.Z.wrap},a.createElement("div",{className:le.Z.questionTitleEditorWrap},a.createElement(tt.default.Item,{label:"\u9898\u5E72",name:"name",labelCol:{span:24},rules:[{required:!0}]},a.createElement(_e.h,{scrollId:"name",watch:!0,height:140,placeholder:et,showNullButton:!0,onCMBeforeChange:(At,ln)=>{nn(At,ln,Te,Ut)}}))),a.createElement(tt.default.List,{name:ct,rules:[{validator(At,ln){if(!(ln!=null&&ln.length))return Promise.reject(new Error("\u8BF7\u5148\u5728\u9898\u5E72\u4E2D\u63D2\u5165\u586B\u7A7A\u9879"));for(const Ce of ln){const{answer_text:ut}=Ce||{};if(ut!=null&&ut.some(Xt=>(Xt==null?void 0:Xt.length)===0))return Promise.reject(new Error("\u586B\u7A7A\u9879\u7B54\u6848\u4E0D\u80FD\u4E3A\u7A7A"))}return Promise.resolve()}}]},(At,{add:ln,remove:Ce},{errors:ut})=>(_t.current=ln,ot.current=Ce,a.createElement(a.Fragment,null,a.createElement(tt.default.Item,{label:a.createElement("span",null,"\u586B\u7A7A\u9879\u7B54\u6848",!(At!=null&&At.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}}),At.map((Xt,nt)=>{var Pt=Xt,{key:_n,name:sn}=Pt,Rt=We(Pt,["key","name"]),Mt,Yn;return a.createElement("div",{style:{marginBottom:10},key:_n},a.createElement(De.Z,{className:"mb20",align:"middle",wrap:!1},a.createElement(Ae.Z,{style:{marginRight:10},flex:"0 0 auto",className:`${le.Z.blankIndex}`},"\u586B\u7A7A\u9879",nt+1),a.createElement(tt.default.Item,Fe(Se({},Rt),{name:[sn,"model"],noStyle:!0}),a.createElement(Me.ZP.Group,{onChange:()=>{const aa=we.getFieldValue(ct);we.setFieldsValue({[ct]:aa.map((tn,ba)=>Fe(Se({},tn),{answer_text:sn===ba?[""]:tn.answer_text}))})}},a.createElement(Me.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(Ke.Z,null))),a.createElement(Me.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(Ke.Z,null)))))),a.createElement(De.Z,{style:{marginLeft:20},align:"middle",wrap:!1},a.createElement(Ae.Z,{flex:1},a.createElement(De.Z,{align:"top",justify:"space-between",wrap:!1},a.createElement(Ae.Z,{flex:1},a.createElement(tt.default.Item,Fe(Se({},Rt),{name:[sn,"answer_text"],noStyle:!0}),((Yn=(Mt=we.getFieldValue(ct))==null?void 0:Mt[sn])==null?void 0:Yn.model)===1?a.createElement(Ne,null):a.createElement(mt,null))),ht&&a.createElement(Ae.Z,{flex:"224px",style:{margin:"-7px 0 0 20px"}},a.createElement(tt.default.Item,Fe(Se({},Rt),{name:[sn,"score"],label:"\u5206\u503C",rules:[{required:!0}],className:le.Z.blankInputNumberWrapper}),a.createElement(Le.Z,{min:.1,max:100,precision:1,style:{width:"100%"},placeholder:"\u8BF7\u8F93\u5165\u5206\u503C"})))),a.createElement(tt.default.Item,Fe(Se({},Rt),{name:[sn,"position"],noStyle:!0}),a.createElement(ke.default,{type:"hidden"})))))})))),a.createElement(De.Z,{align:"middle"},a.createElement(tt.default.Item,{name:"downcase",valuePropName:"checked"},a.createElement(xe.Z,null)),a.createElement(Ae.Z,{className:"ml10"},"\u5224\u5206\u65F6\u5FFD\u7565\u7B54\u6848\u4E2D\u7684\u5B57\u6BCD\u5927\u5C0F\u5199")),a.createElement(De.Z,{align:"middle"},a.createElement(tt.default.Item,{name:"no_space",valuePropName:"checked"},a.createElement(xe.Z,null)),a.createElement(Ae.Z,{className:"ml10"},"\u5224\u5206\u65F6\u5FFD\u7565\u7B54\u6848\u4E2D\u7684\u7A7A\u683C")),(xn==null?void 0:xn.length)>1&&a.createElement(De.Z,{align:"middle",className:(xn==null?void 0:xn.length)>1?"mb30":`${le.Z.hide}`},a.createElement(tt.default.Item,{name:"is_ordered"},a.createElement(Re,null)),a.createElement(Ae.Z,{className:"ml10"},"\u5141\u8BB8\u5B66\u751F\u6BCF\u4E2A\u586B\u7A7A\u7684\u7B54\u6848\u4E0E\u6807\u51C6\u7B54\u6848\u7684\u987A\u5E8F\u4E0D\u4E00\u81F4")),a.createElement("div",{onClick:()=>gt(!0)},a.createElement(tt.default.Item,{name:"analysis",label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},a.createElement(_e.x,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:Lt}))))}},14289:function(yt,kt,oe){"use strict";oe.d(kt,{Z:function(){return te}});var b=oe(59301),he=oe(95237),De=oe(43604),Ae=oe(78241),ke=oe(8423),ze=oe(31457),xe=oe(59301),tt=Object.defineProperty,Me=Object.defineProperties,Le=Object.getOwnPropertyDescriptors,_e=Object.getOwnPropertySymbols,He=Object.prototype.hasOwnProperty,Ke=Object.prototype.propertyIsEnumerable,le=(ae,se,ie)=>se in ae?tt(ae,se,{enumerable:!0,configurable:!0,writable:!0,value:ie}):ae[se]=ie,E=(ae,se)=>{for(var ie in se||(se={}))He.call(se,ie)&&le(ae,ie,se[ie]);if(_e)for(var ie of _e(se))Ke.call(se,ie)&&le(ae,ie,se[ie]);return ae},a=(ae,se)=>Me(ae,Le(se)),x=(ae,se)=>{var ie={};for(var Se in ae)He.call(ae,Se)&&se.indexOf(Se)<0&&(ie[Se]=ae[Se]);if(ae!=null&&_e)for(var Se of _e(ae))se.indexOf(Se)<0&&Ke.call(ae,Se)&&(ie[Se]=ae[Se]);return ie};const y={\u6B63\u786E:"T",\u9519\u8BEF:"F"},z=({value:ae,onChange:se,form:ie})=>{const Se=(ae==null?void 0:ae.is_answer)===1,Fe=ae==null?void 0:ae.choice_text,We=()=>{const Ne=ie.getFieldsValue().choices.map(mt=>({choice_text:mt.choice_text,is_answer:0}));ie.setFieldsValue({choices:Ne}),se(a(E({},ae),{is_answer:1}))};return xe.createElement(he.Z,{className:ke.Z.choiceWrap,align:"middle",wrap:!1,style:{marginBottom:"20px"}},xe.createElement(De.Z,{onClick:We,className:`${ke.Z.choiceIndex} ${ke.Z.judgementIndex} ${Se?ke.Z.activeAnswer:""}`},y[Fe]),xe.createElement(De.Z,{flex:1,className:`${ke.Z.editorWrap} ml15`},xe.createElement("div",{className:`${ke.Z.inputBorder} ${ke.Z.placeholder} ${Se?ke.Z.activeJudgementAnswer:""}`},Fe)),xe.createElement(De.Z,{flex:"0 0 auto",className:"ml15"},xe.createElement("div",{onClick:We,className:`${ke.Z.setAnswerBtn} ${Se?ke.Z.activeAnswer:""}`},Se?"\u6B63\u786E\u7B54\u6848":"\u8BBE\u4E3A\u7B54\u6848")))},te=({questionTitlePlaceholder:ae,choiceKey:se,form:ie})=>{const[Se,Fe]=(0,b.useState)(!1);return xe.createElement("div",{className:ke.Z.wrap},xe.createElement("div",{className:ke.Z.questionTitleEditorWrap},xe.createElement(Ae.default.Item,{label:"\u9898\u5E72",name:"name",labelCol:{span:24},rules:[{required:!0}]},xe.createElement(ze.h,{scrollId:"name",watch:!0,height:140,placeholder:ae}))),xe.createElement(Ae.default.Item,{label:"\u7B54\u6848\u9009\u9879",required:!0,labelCol:{span:24}},xe.createElement(Ae.default.List,{name:"choices",rules:[{validator(We,Ne){return Ne.some(Re=>(Re==null?void 0:Re.is_answer)===1)?Promise.resolve():Promise.reject(new Error("\u8BF7\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848"))}}]},We=>xe.createElement("div",{id:"choices"},We.map(Ne=>{var mt=Ne,{key:Re,name:Je}=mt,Qe=x(mt,["key","name"]);return xe.createElement(Ae.default.Item,a(E({},Qe),{key:Re,name:Je,noStyle:!0}),xe.createElement(z,{form:ie}))})))),xe.createElement("div",{onClick:()=>Fe(!0)},xe.createElement(Ae.default.Item,{name:"analysis",label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},xe.createElement(ze.x,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:Se}))))}},31457:function(yt,kt,oe){"use strict";oe.d(kt,{h:function(){return E},x:function(){return a}});var b=oe(39793),he=oe(8423),De=oe(91842),Ae=oe(59301),ke=Object.defineProperty,ze=Object.defineProperties,xe=Object.getOwnPropertyDescriptors,tt=Object.getOwnPropertySymbols,Me=Object.prototype.hasOwnProperty,Le=Object.prototype.propertyIsEnumerable,_e=(x,y,z)=>y in x?ke(x,y,{enumerable:!0,configurable:!0,writable:!0,value:z}):x[y]=z,He=(x,y)=>{for(var z in y||(y={}))Me.call(y,z)&&_e(x,z,y[z]);if(tt)for(var z of tt(y))Le.call(y,z)&&_e(x,z,y[z]);return x},Ke=(x,y)=>ze(x,xe(y)),le=(x,y)=>{var z={};for(var te in x)Me.call(x,te)&&y.indexOf(te)<0&&(z[te]=x[te]);if(x!=null&&tt)for(var te of tt(x))y.indexOf(te)<0&&Le.call(x,te)&&(z[te]=x[te]);return z};const E=x=>{var y=x,{value:z,onChange:te,scrollId:ae}=y,se=le(y,["value","onChange","scrollId"]);return Ae.createElement("div",{id:ae||""},Ae.createElement(b.Z,Ke(He({},se),{defaultValue:z,onChange:(ie,Se)=>{Se!=null&&Se.length?te(ie,Se):te(ie)}})))},a=({value:x,onChange:y,placeholder:z,height:te=140,isEdit:ae,miniToolbar:se,watch:ie=!0})=>ae?Ae.createElement(b.Z,{watch:ie,isFocus:!0,height:te||void 0,placeholder:z,defaultValue:x,onChange:y,miniToolbar:se}):Ae.createElement("div",{style:{cursor:"pointer"}},x?Ae.createElement(De.Z,{className:he.Z.inputBorder,value:x}):Ae.createElement("div",{className:`${he.Z.inputBorder} ${he.Z.placeholder} inputBorderError`},z))},44272:function(yt,kt,oe){"use strict";oe.d(kt,{W:function(){return mt}});var b=oe(59301),he=oe(8591),De=oe(12563),Ae=oe(78241),ke=oe(78673),ze=oe(95237),xe=oe(43604),tt=oe(6848),Me=oe(92832),Le=oe(5871),_e=oe(8423),He=oe(31457),Ke=oe(39793),le=oe(61485),E=Object.defineProperty,a=Object.defineProperties,x=Object.getOwnPropertyDescriptors,y=Object.getOwnPropertySymbols,z=Object.prototype.hasOwnProperty,te=Object.prototype.propertyIsEnumerable,ae=(Re,Je,Qe)=>Je in Re?E(Re,Je,{enumerable:!0,configurable:!0,writable:!0,value:Qe}):Re[Je]=Qe,se=(Re,Je)=>{for(var Qe in Je||(Je={}))z.call(Je,Qe)&&ae(Re,Qe,Je[Qe]);if(y)for(var Qe of y(Je))te.call(Je,Qe)&&ae(Re,Qe,Je[Qe]);return Re},ie=(Re,Je)=>a(Re,x(Je)),Se=(Re,Je)=>{var Qe={};for(var et in Re)z.call(Re,et)&&Je.indexOf(et)<0&&(Qe[et]=Re[et]);if(Re!=null&&y)for(var et of y(Re))Je.indexOf(et)<0&&te.call(Re,et)&&(Qe[et]=Re[et]);return Qe};const Fe=Re=>{var Je=Re,{value:Qe,onChange:et}=Je,we=Se(Je,["value","onChange"]);const ht=ct=>{et([ct])};return b.createElement(Ke.Z,ie(se({},we),{defaultValue:Qe==null?void 0:Qe[0],onChange:ht}))},We=Re=>{if(!Re)return!1;if(/^s*$/.test(Re)||Re.trim()===""){he.ZP.warning("\u5173\u952E\u8BCD\u4E0D\u80FD\u5168\u4E3A\u7A7A\u683C");return}let Je=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 Re==="|"?(he.ZP.warning("\u5173\u952E\u8BCD\u4E0D\u80FD\u53EA\u8F93\u5165\u4E00\u4E2A\u201C|\u201D\u5B57\u7B26\uFF01"),!1):!0},Ne=({value:Re=[],onClose:Je})=>b.createElement(De.default,{closable:!0,onClose:Je,className:_e.Z.keywordTag},b.createElement("pre",{style:{margin:"0px",whiteSpace:"pre-wrap"}},Re.join(" \u6216 "))),mt=({questionTitlePlaceholder:Re,form:Je,showKeywords:Qe,isMustKeyWords:et=Qe})=>{const[we,ht]=(0,b.useState)(!1),[ct,Lt]=(0,b.useState)(""),gt=Ae.default.useWatch("use_keywords",Je),Pn=Ae.default.useWatch("question_score",Je);return b.createElement("div",{className:_e.Z.wrap},b.createElement("div",{className:_e.Z.questionTitleEditorWrap},b.createElement(Ae.default.Item,{label:"\u9898\u5E72",name:"name",labelCol:{span:24},rules:[{required:!0}]},b.createElement(He.h,{scrollId:"name",watch:!0,height:140,placeholder:Re}))),b.createElement(Ae.default.Item,{label:"\u53C2\u8003\u7B54\u6848",name:"answer_texts",labelCol:{span:24}},b.createElement(Fe,{watch:!0,height:140,placeholder:"\u8BF7\u7F16\u8F91\u53C2\u8003\u7B54\u6848\uFF08\u975E\u5FC5\u586B\uFF09"})),Qe&&!et&&b.createElement(Ae.default.Item,{hidden:!0,name:"use_keywords",valuePropName:"checked"},b.createElement(ke.Z,{defaultChecked:!0})),Qe&&et&&b.createElement(ze.Z,{align:"middle",className:"mb30"},b.createElement(Ae.default.Item,{name:"use_keywords",valuePropName:"checked"},b.createElement(ke.Z,null)),b.createElement(xe.Z,{className:"ml10"},"\u5F00\u542F\u5173\u952E\u8BCD\u81EA\u52A8\u5224\u5206"),b.createElement(xe.Z,null,b.createElement(tt.Z,{placement:"right",title:"\u9009\u4E2D\u540E\uFF0C\u9700\u8981\u8BBE\u7F6E\u6BCF\u4E2A\u5173\u952E\u8BCD\u7684\u5206\u503C\uFF0C\u7CFB\u7EDF\u4F1A\u6839\u636E\u8BBE\u7F6E\u7684\u5173\u952E\u8BCD\u8FDB\u884C\u81EA\u52A8\u5224\u5206\uFF1B \u6240\u6709\u5173\u952E\u8BCD\u5206\u503C\u4E4B\u548C\u5FC5\u987B\u5C0F\u4E8E\u7B49\u4E8E\u5C0F\u9898\u5206\u503C\u3002"},b.createElement(le.Z,{style:{color:"#3061D0",marginLeft:6,cursor:"pointer"}})))),(gt||!et)&&b.createElement(Ae.default.List,{name:"keywords",rules:[{validator(nn,Wt){return et?Wt!=null&&Wt.length?(Wt==null?void 0:Wt.reduce((Te,ot)=>Te+ot.score,0))>parseFloat(Pn)?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()}}]},(nn,{add:Wt,remove:_t})=>b.createElement(b.Fragment,null,b.createElement("div",{className:`${_e.Z.title} mb10`},et?"\u5173\u952E\u8BCD":b.createElement("span",{style:{color:"#9096A3"}},"\u5224\u5206\u5173\u952E\u8BCD")),b.createElement(ze.Z,{align:"middle",className:"font14 mb30"},b.createElement(xe.Z,{flex:1},b.createElement(Me.default,{value:ct,onChange:Te=>{Lt(Te.target.value)},maxLength:50,allowClear:!0,onPressEnter:Te=>{var ot,Ut,xn,At;const ln=`${(ot=Te.target)==null?void 0:ot.value}`,Ce=(xn=(Ut=ln==null?void 0:ln.split("|"))==null?void 0:Ut.filter(nt=>!!nt))==null?void 0:xn.map(nt=>nt==null?void 0:nt.trim()),ut=Je.getFieldValue("keywords"),Xt=((At=ut==null?void 0:ut.map(nt=>nt==null?void 0:nt.keyword))==null?void 0:At.flat())||[];for(const nt of Ce)if(Xt.includes(nt)){he.ZP.error("\u4E3A\u907F\u514D\u5224\u5206\u9519\u8BEF\uFF0C\u8BF7\u52FF\u8BBE\u7F6E\u76F8\u540C\u7684\u5173\u952E\u8BCD");return}We(ln)&&(Wt({keyword:Ce,score:1}),Lt(""))},className:_e.Z.inputBorder,placeholder:"\u652F\u6301\u8BBE\u7F6E\u591A\u4E2A\u5173\u952E\u8BCD\uFF1B\u5E76\u5217\u5173\u952E\u8BCD\uFF08\u6216\u7684\u5173\u7CFB\uFF09\u8BF7\u7528\u201C|\u201D\u5206\u9694\u5F00"})),b.createElement(xe.Z,{flex:"148px",style:{textAlign:"right",color:"#e99237"}},"\u201C\u56DE\u8F66\u952E\u201D\u4FDD\u5B58\u5173\u952E\u8BCD")),nn.map(Te=>{var ot=Te,{key:Ut,name:xn}=ot,At=Se(ot,["key","name"]);return b.createElement(ze.Z,{key:Ut,className:"mb20",style:{marginRight:148}},b.createElement(xe.Z,{flex:1},b.createElement(ze.Z,{align:"middle",justify:"space-between"},b.createElement(Ae.default.Item,ie(se({},At),{name:[xn,"keyword"]}),b.createElement(Ne,{onClose:()=>_t(xn)})),et&&b.createElement(Ae.default.Item,ie(se({},At),{name:[xn,"score"],label:"\u5206\u503C",rules:[{required:!0}],className:_e.Z.blankInputNumberWrapper}),b.createElement(Le.Z,{className:_e.Z.blankInput,min:.1,max:100,precision:1,style:{width:"100%"},placeholder:"\u8BF7\u8F93\u5165\u5173\u952E\u8BCD\u5206\u6570"})))))}))),b.createElement("div",{onClick:()=>ht(!0)},b.createElement(Ae.default.Item,{name:"analysis",label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},b.createElement(He.x,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:we}))))}},74716:function(yt,kt,oe){"use strict";oe.d(kt,{Z:function(){return ke}});var b={text:"text___bQulM",sup:"sup___rX_Y3"},he=oe(78241),De=oe(59301),ke=({text:ze,name:xe="question_score"})=>{const tt=({value:Me})=>De.createElement("div",{className:b.text},De.createElement("span",{className:b.sup},"*"),De.createElement("span",{className:"mr10"},"\u5206\u503C"),De.createElement("span",null,Me||"--"),De.createElement("span",{className:"c-grey-999"},ze));return De.createElement(he.default.Item,{noStyle:!0,name:xe},De.createElement(tt,null))}},87444:function(yt,kt,oe){"use strict";oe.d(kt,{Z:function(){return We},P:function(){return ie}});var b=oe(59301),he=oe(78241),De=oe(43418),Ae=oe(5112),ke=oe(92832),ze=oe(1710),xe={brief:"brief___LOzpE",contentTitle:"contentTitle___xkdcN",content:"content___Vtri0",tips:"tips___tuAtH",antdTable:"antdTable___s8T2N",tableCell:"tableCell___kN9Fw",antdModal:"antdModal___WVBk3",orangeColor:"orangeColor___ryB2u"},tt=oe(75736),Me=Object.defineProperty,Le=Object.defineProperties,_e=Object.getOwnPropertyDescriptors,He=Object.getOwnPropertySymbols,Ke=Object.prototype.hasOwnProperty,le=Object.prototype.propertyIsEnumerable,E=(Ne,mt,Re)=>mt in Ne?Me(Ne,mt,{enumerable:!0,configurable:!0,writable:!0,value:Re}):Ne[mt]=Re,a=(Ne,mt)=>{for(var Re in mt||(mt={}))Ke.call(mt,Re)&&E(Ne,Re,mt[Re]);if(He)for(var Re of He(mt))le.call(mt,Re)&&E(Ne,Re,mt[Re]);return Ne},x=(Ne,mt)=>Le(Ne,_e(mt)),y=(Ne,mt)=>{var Re={};for(var Je in Ne)Ke.call(Ne,Je)&&mt.indexOf(Je)<0&&(Re[Je]=Ne[Je]);if(Ne!=null&&He)for(var Je of He(Ne))mt.indexOf(Je)<0&&le.call(Ne,Je)&&(Re[Je]=Ne[Je]);return Re},z=(Ne,mt,Re)=>new Promise((Je,Qe)=>{var et=ct=>{try{ht(Re.next(ct))}catch(Lt){Qe(Lt)}},we=ct=>{try{ht(Re.throw(ct))}catch(Lt){Qe(Lt)}},ht=ct=>ct.done?Je(ct.value):Promise.resolve(ct.value).then(et,we);ht((Re=Re.apply(Ne,mt)).next())});const te=({studentNames:Ne,total:mt})=>{const Re=["","\u4E00","\u4E24","\u4E09"];return mt>3?b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709",b.createElement("span",{className:xe.orangeColor},Ne==null?void 0:Ne.join("\u3001")),"\u7B49",b.createElement("span",{className:xe.orangeColor},mt),"\u540D\u5B66\u751F"):b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709",b.createElement("span",{className:xe.orangeColor},Ne==null?void 0:Ne.join("\u3001")),Re[mt],"\u540D\u5B66\u751F")},ae=({used:Ne,copy:mt,canNotCopy:Re,studentNames:Je,studentCount:Qe,inPaper:et,is_random:we=!1,position:ht=""})=>{const ct=()=>{if(mt>0&&Re>0)return b.createElement(b.Fragment,null,"\u5176\u4E2D",b.createElement("span",{className:xe.orangeColor},mt),"\u4E2A\u9879\u76EE\u652F\u6301\u590D\u5236\uFF0C",b.createElement("span",{className:xe.orangeColor},Re),"\u4E2A\u9879\u76EE\u4E0D\u652F\u6301\u590D\u5236");if(mt>0&&Re===0)return b.createElement(b.Fragment,null,"\u5176\u4E2D",b.createElement("span",{className:xe.orangeColor},mt),"\u4E2A\u9879\u76EE\u652F\u6301\u590D\u5236");if(mt===0&&Re>0)return b.createElement(b.Fragment,null,"\u5176\u4E2D",b.createElement("span",{className:xe.orangeColor},Re),"\u4E2A\u9879\u76EE\u4E0D\u652F\u6301\u590D\u5236")},Lt=ht||(et?"\u8BD5\u5377":"\u8BFE\u7A0B");return b.createElement("span",null,b.createElement(te,{studentNames:Je,total:Qe}),"\u5B66\u4E60\u8FC7",Lt,"\u4E2D\u7684",b.createElement("span",{className:xe.orangeColor},Ne),"\u4E2A\u9879\u76EE\uFF0C",ct(),"\u3002\u8BF7\u9009\u62E9",we?"":"\u662F\u5426\u7EE7\u7EED\u4F7F\u7528\u548C","\u662F\u5426\u590D\u5236\u4E3A\u65B0\u9879\u76EE\u53D1\u9001\u81F3\u8BFE\u5802\u4E2D\uFF1F")},se=({onCancel:Ne,onOk:mt,visible:Re,inPaper:Je,renderData:Qe,type:et,isMultipleCourse:we=!1})=>{const[ht]=he.default.useForm(),[ct,Lt]=(0,b.useState)(1),[gt,Pn]=(0,b.useState)(!1),nn=(0,b.useMemo)(()=>(Qe==null?void 0:Qe.total_num)===1&&(Qe==null?void 0:Qe.can_copy_num)===1,[Qe]),Wt=(0,b.useMemo)(()=>{var _t;return(_t=Qe==null?void 0:Qe.course_data_list)==null?void 0:_t.filter(Te=>Te.is_show)},[Qe]);return b.createElement(b.Fragment,null,nn?b.createElement(De.default,{centered:!0,closable:!0,open:Re,destroyOnClose:!0,title:"\u63D0\u793A",className:xe.antdModal,width:682,confirmLoading:gt,onCancel:Ne,onOk:()=>z(void 0,null,function*(){var _t;Pn(!0);let Te=ct;if(we){const ot=a({},ht.getFieldsValue());Te=(_t=Qe==null?void 0:Qe.course_data_list)==null?void 0:_t.map(Ut=>ot[Ut.id]!==void 0?x(a({},Ut),{is_copy:ot[Ut.id]}):Ut)}yield mt(Te),Pn(!1)})},b.createElement("div",{className:xe.content,style:{marginBottom:20}},we?"\u68C0\u6D4B\u5230\u4EE5\u4E0B\u8BFE\u5802\u5DF2\u5728\u6559\u5B66\u8BFE\u5802\u4E2D\u4F7F\u7528\uFF0C\u8BF7\u95EE\u662F\u5426\u590D\u5236\u6210\u65B0\u7684\u5B9E\u8BAD\u53D1\u9001\u81F3\u6559\u5B66\u8BFE\u5802\u4E2D?":b.createElement(b.Fragment,null,b.createElement(te,{studentNames:Qe==null?void 0:Qe.student_names,total:Qe==null?void 0:Qe.student_count}),"\u5B66\u4E60\u8FC7\u8BE5\u5B9E\u8DF5\u9879\u76EE\u3002\u8BE5\u9879\u76EE\u652F\u6301\u590D\u5236\uFF0C\u8BF7\u9009\u62E9\u662F\u5426\u5C06\u8BE5\u9879\u76EE\u590D\u5236\u4E3A\u65B0\u9879\u76EE\u53D1\u9001\u81F3\u8BFE\u5802\u4E2D\uFF1F")),we?b.createElement(he.default,{form:ht,preserve:!1},Wt==null?void 0:Wt.map(_t=>b.createElement(b.Fragment,{key:_t.id},b.createElement("h3",{className:"ml15 mb5"},_t.name),b.createElement(he.default.Item,{name:_t.id,initialValue:1},b.createElement(Ae.ZP.Group,{className:xe.content},b.createElement(Ae.ZP,{value:1,style:{color:"#464f66"}},"\u590D\u5236\u5B9E\u8BAD"),b.createElement(Ae.ZP,{value:0,style:{color:"#464f66"}},"\u4E0D\u590D\u5236\u5B9E\u8BAD")))))):b.createElement(Ae.ZP.Group,{value:ct,onChange:_t=>Lt(_t.target.value),className:xe.content,style:{marginBottom:30}},b.createElement(Ae.ZP,{value:1,style:{color:"#464f66"}},"\u590D\u5236"),b.createElement(Ae.ZP,{value:0,style:{color:"#464f66"}},"\u4E0D\u590D\u5236")),b.createElement("div",null,b.createElement("div",{className:xe.content,style:{marginBottom:10}},"* \u8BF4\u660E\uFF1A"),b.createElement("div",{className:xe.content,style:{marginBottom:20}},"1\u3001\u590D\u5236\uFF1A\u7CFB\u7EDF\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\u53D1\u9001\u5230\u8BFE\u5802\u4E2D\u4F7F\u7528\uFF08\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF09\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\u3002"),b.createElement("div",{className:`${xe.content} ${xe.orangeColor}`},"2\u3001\u4E0D\u590D\u5236\uFF1A\u5F53\u524D\u9879\u76EE\u4F1A\u88AB\u76F4\u63A5\u53D1\u9001\u5230\u8BFE\u5802\u4E2D\u4F7F\u7528\uFF0C\u6311\u6218\u8FC7\u8BE5\u9879\u76EE\u7684\u5B66\u751F\u518D\u6B21\u8FDB\u5165\u9879\u76EE\u5F00\u542F\u6311\u6218\u65F6\uFF0C\u4F1A\u6E05\u7A7A\u4E4B\u524D\u7684\u6311\u6218\u8BB0\u5F55\u3002"))):b.createElement(De.default,{centered:!0,closable:!0,destroyOnClose:!0,open:Re,confirmLoading:gt,title:"\u63D0\u793A",width:682,onCancel:Ne,onOk:()=>z(void 0,null,function*(){var _t;Pn(!0);let Te=0;if(we){const ot=a({},ht.getFieldsValue());Te=(_t=Qe==null?void 0:Qe.course_data_list)==null?void 0:_t.map(Ut=>ot[Ut.id]!==void 0?x(a({},Ut),{is_use:ot[Ut.id]}):Ut)}yield mt(Te),Pn(!1)})},b.createElement("div",{className:xe.content},b.createElement(te,{studentNames:Qe==null?void 0:Qe.student_names,total:Qe==null?void 0:Qe.student_count}),"\u5B66\u4E60\u8FC7\u8BE5\u5B9E\u8DF5\u9879\u76EE\u3002",we?b.createElement(he.default,{form:ht,preserve:!1},b.createElement("h3",null,"\u5F53\u524D\u5B9E\u8BAD\u4E0D\u53EF\u590D\u5236\uFF0C\u5DF2\u7ECF\u68C0\u6D4B\u5230\u4EE5\u4E0B\u8BFE\u5802\u5B58\u5728\u8BE5\u5B9E\u8BAD\uFF0C\u540C\u4E00\u5B9E\u8BAD\u5728\u8BFE\u5802\u4E2D\u91CD\u590D\u4F7F\u7528\u65F6\uFF0C\u4F1A\u5BFC\u81F4\u6210\u7EE9\u4E92\u76F8\u5F71\u54CD\uFF0C\u8BF7\u786E\u8BA4\u662F\u5426\u7EE7\u7EED\u4F7F\u7528"),Wt==null?void 0:Wt.map(_t=>b.createElement(b.Fragment,{key:_t.id},b.createElement("h3",{className:"ml15 mb5"},_t.name),b.createElement(he.default.Item,{name:_t.id,initialValue:1},b.createElement(Ae.ZP.Group,{className:xe.content},b.createElement(Ae.ZP,{value:1,style:{color:"#464f66"}},"\u7EE7\u7EED\u4F7F\u7528"),b.createElement(Ae.ZP,{value:0,style:{color:"#464f66"}},"\u4E0D\u4F7F\u7528")))))):b.createElement("div",null,"\u8BE5\u9879\u76EE\u4E0D\u652F\u6301\u590D\u5236\uFF0C\u82E5\u786E\u8BA4\u7EE7\u7EED\u53D1\u9001\uFF0C",b.createElement("span",{className:xe.orangeColor},"\u5F53\u524D\u9879\u76EE\u4F1A\u88AB\u76F4\u63A5\u53D1\u9001\u5230\u8BFE\u5802\u4E2D\u4F7F\u7528\uFF0C\u6311\u6218\u8FC7\u8BE5\u9879\u76EE\u7684\u5B66\u751F\u518D\u6B21\u8FDB\u5165\u9879\u76EE\u5F00\u542F\u6311\u6218\u65F6\uFF0C\u4F1A\u6E05\u7A7A\u4E4B\u524D\u7684\u6311\u6218\u8BB0\u5F55\u3002"),"\uFF08\u5982\u679C\u4E0D\u60F3\u6E05\u7A7A\u5B66\u751F\u4E4B\u524D\u7684\u6311\u6218\u8BB0\u5F55\uFF0C\u5EFA\u8BAE\u53C2\u7167\u8BE5\u5B9E\u8DF5\u9879\u76EE\u7684\u5185\u5BB9\u81EA\u884C\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\uFF0C\u6216\u8005\u5C1D\u8BD5\u8054\u7CFB\u9879\u76EE\u521B\u5EFA\u4EBA\u5F00\u653E\u672C\u9879\u76EE\u7684\u590D\u5236\u6743\u9650\uFF09\u3002"))))},ie=function(){const[Ne,mt]=(0,b.useState)(!1),[Re,Je]=(0,b.useState)();return[Ne,()=>mt(!1),Re,we=>z(this,null,function*(){var ht;const ct=we,{isImportMultipleCourse:Lt=!1}=ct,gt=y(ct,["isImportMultipleCourse"]);console.log(we);const Pn=(we==null?void 0:we.result)||(yield(0,tt.Tr)(gt));return"status"in Pn?!1:Lt?((ht=Pn==null?void 0:Pn.course_data_list)==null?void 0:ht.some(Wt=>Wt.is_show))?(Je(Pn),mt(!0),!0):Pn.course_data_list||[]:Pn.student_count===0?!1:(Je(Pn),mt(!0),!0)})]},Se=Ne=>{const[mt]=he.default.useForm(),[Re,Je]=(0,b.useState)(!1),{onCancel:Qe,onOk:et,visible:we,inPaper:ht=!1,renderData:ct,type:Lt,isMultipleCourse:gt=!1,position:Pn}=Ne;let nn=(0,b.useMemo)(()=>ht?[{title:"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0",dataIndex:"name",width:424,align:"center",ellipsis:!0,className:xe.tableCell,render(Te,ot){return b.createElement("a",{href:`/shixuns/${ot.identifier}/challenges`,target:"_blank"},Te)}},{title:"\u662F\u5426\u590D\u5236",dataIndex:"is_copy",align:"center",render:(Te,ot)=>b.createElement(b.Fragment,null,b.createElement(he.default.Item,{name:[`${Lt==="subject"?ot.stage_shixun_id:ot.shixun_course_id||ot.id}`,"is_copy"],initialValue:1},b.createElement(Ae.ZP.Group,null,b.createElement(Ae.ZP,{value:1},"\u662F"),b.createElement(Ae.ZP,{value:0},"\u5426"))),b.createElement(he.default.Item,{name:[`${Lt==="subject"?ot==null?void 0:ot.stage_shixun_id:ot.shixun_course_id||ot.id}`,"is_use"],hidden:!0,initialValue:1},b.createElement(ke.default,{type:"hidden"})))}]:[{title:"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0",dataIndex:"name",width:424,align:"center",ellipsis:!0,className:xe.tableCell,render(Te,ot){return b.createElement("a",{href:`/shixuns/${ot.identifier}/challenges`,target:"_blank"},Te)}},{title:"\u662F\u5426\u4F7F\u7528",dataIndex:"is_use",align:"center",render:(Te,ot)=>b.createElement(he.default.Item,{name:[`${Lt==="subject"?ot.stage_shixun_id:ot.shixun_course_id||ot.id}`,"is_use"],initialValue:1},b.createElement(Ae.ZP.Group,null,b.createElement(Ae.ZP,{value:1},"\u662F"),b.createElement(Ae.ZP,{value:0},"\u5426")))},{title:"\u662F\u5426\u590D\u5236",dataIndex:"is_copy",align:"center",render:(Te,ot)=>b.createElement(he.default.Item,{name:[`${Lt==="subject"?ot.stage_shixun_id:ot.shixun_course_id||ot.id}`,"is_copy"],initialValue:1},b.createElement(Ae.ZP.Group,null,b.createElement(Ae.ZP,{value:1},"\u662F"),b.createElement(Ae.ZP,{value:0},"\u5426")))}],[ht]),Wt=(0,b.useMemo)(()=>ht?[{title:"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0",dataIndex:"name",width:424,className:xe.tableCell,align:"center",ellipsis:!0,render:(Te,ot)=>b.createElement(b.Fragment,null,b.createElement("a",{href:`/shixuns/${ot.identifier}/challenges`,target:"_blank"},Te),b.createElement(he.default.Item,{name:[`${Lt==="subject"?ot==null?void 0:ot.stage_shixun_id:ot.shixun_course_id||ot.id}`,"is_copy"],hidden:!0,initialValue:0},b.createElement(ke.default,{type:"hidden"})),b.createElement(he.default.Item,{name:[`${Lt==="subject"?ot==null?void 0:ot.stage_shixun_id:ot.shixun_course_id||ot.id}`,"is_use"],hidden:!0,initialValue:1},b.createElement(ke.default,{type:"hidden"})))}]:[{title:"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0",dataIndex:"name",width:424,className:xe.tableCell,ellipsis:!0,align:"center",render:(Te,ot)=>b.createElement("a",{href:`/shixuns/${ot.identifier}/challenges`,target:"_blank"},Te)},{title:"\u662F\u5426\u4F7F\u7528",dataIndex:"is_use",align:"center",render:(Te,ot)=>b.createElement(b.Fragment,null,b.createElement(he.default.Item,{name:[`${Lt==="subject"?ot==null?void 0:ot.stage_shixun_id:ot.shixun_course_id||ot.id}`,"is_use"],initialValue:0},b.createElement(Ae.ZP.Group,null,b.createElement(Ae.ZP,{value:1},"\u662F"),b.createElement(Ae.ZP,{value:0},"\u5426"))),b.createElement(he.default.Item,{name:[`${Lt==="subject"?ot==null?void 0:ot.stage_shixun_id:ot.shixun_course_id||ot.id}`,"is_copy"],hidden:!0,initialValue:0},b.createElement(ke.default,{type:"hidden"})))}],[ht]);if(gt){const Te={title:"\u8BFE\u5802\u540D\u79F0",ellipsis:!0,dataIndex:"course_name",width:190,align:"center",className:xe.tableCell,render:(ot,Ut)=>b.createElement("a",{href:`/classrooms/${Ut.course_id}`},ot)};nn=[Te,...nn],Wt=[Te,...Wt]}const _t=(0,b.useMemo)(()=>ae({used:ct==null?void 0:ct.repeat_shixun_num,copy:ct==null?void 0:ct.can_copy_num,canNotCopy:ct==null?void 0:ct.no_copy_num,studentNames:ct==null?void 0:ct.student_names,studentCount:ct==null?void 0:ct.student_count,is_random:ct==null?void 0:ct.is_random,inPaper:ht,position:Pn}),[ct,ht,Pn]);return b.createElement(De.default,{title:"\u63D0\u793A",centered:!0,open:we,confirmLoading:Re,onOk:()=>z(void 0,null,function*(){Je(!0);const Te=mt.getFieldsValue(),ot=Object.keys(Te).map(Ut=>({id:parseInt(Ut.split("_")[0]),course_id:parseInt(Ut.split("_")[1]),is_use:Te[Ut].is_use,is_copy:Te[Ut].is_copy}));yield et(ot),Je(!1)}),onCancel:Qe,width:880,okText:"\u786E\u8BA4",className:xe.antdModal,destroyOnClose:!0},b.createElement(he.default,{form:mt,preserve:!1},b.createElement("div",{className:xe.brief},_t),b.createElement("div",{style:{marginBottom:30}},b.createElement("div",{style:{marginBottom:20}},"* \u8BF4\u660E"),b.createElement("div",{style:{marginBottom:20}},"1\u3001\u590D\u5236\uFF1A\u7CFB\u7EDF\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\u53D1\u9001\u5230\u8BFE\u5802\u4E2D\u4F7F\u7528\uFF08\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF09\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\u3002"),b.createElement("div",{className:xe.orangeColor},"2\u3001\u4E0D\u590D\u5236\uFF1A\u5F53\u524D\u9879\u76EE\u4F1A\u88AB\u76F4\u63A5\u53D1\u9001\u5230\u8BFE\u5802\u4E2D\u4F7F\u7528\uFF0C\u6311\u6218\u8FC7\u8BE5\u9879\u76EE\u7684\u5B66\u751F\u518D\u6B21\u8FDB\u5165\u9879\u76EE\u5F00\u542F\u6311\u6218\u65F6\uFF0C\u4F1A\u6E05\u7A7A\u4E4B\u524D\u7684\u6311\u6218\u8BB0\u5F55\u3002")),(ct==null?void 0:ct.can_copy_num)>0&&b.createElement("div",null,b.createElement("div",{className:xe.contentTitle},"\u652F\u6301\u590D\u5236\u7684\u9879\u76EE"),b.createElement(ze.default,{columns:nn,className:xe.antdTable,dataSource:ct==null?void 0:ct.can_copy_list,rowKey:Lt==="subject"?"stage_shixun_id":"id",pagination:!1,scroll:{y:240},bordered:!0})),(ct==null?void 0:ct.no_copy_num)>0&&b.createElement("div",null,b.createElement("div",{className:xe.contentTitle},"\u4E0D\u652F\u6301\u590D\u5236\u7684\u9879\u76EE"),b.createElement(ze.default,{columns:Wt,className:xe.antdTable,dataSource:ct==null?void 0:ct.no_copy_list,rowKey:Lt==="subject"?"stage_shixun_id":"id",pagination:!1,scroll:{y:200},bordered:!0})),(ct==null?void 0:ct.no_use_list.length)>0&&(ct==null?void 0:ct.no_use_list.map(Te=>b.createElement("div",{key:Lt==="subject"?Te.stage_shixun_id:Te.shixun_course_id||Te.id},b.createElement(he.default.Item,{name:[`${Lt==="subject"?Te==null?void 0:Te.stage_shixun_id:Te.shixun_course_id||Te.id}`,"is_copy"],hidden:!0,initialValue:0},b.createElement(ke.default,{type:"hidden"})),b.createElement(he.default.Item,{name:[`${Lt==="subject"?Te==null?void 0:Te.stage_shixun_id:Te.shixun_course_id||Te.id}`,"is_use"],hidden:!0,initialValue:1},b.createElement(ke.default,{type:"hidden"})))))))};var We=Ne=>{const{modalType:mt}=Ne;return mt==="multiple"?b.createElement(Se,a({},Ne)):b.createElement(se,a({},Ne))}},3039:function(yt,kt,oe){"use strict";oe.d(kt,{Z:function(){return tt}});var b=oe(59301),he={flex_box_center:"flex_box_center___rQJfc",flex_space_between:"flex_space_between___MDW24",flex_box_vertical_center:"flex_box_vertical_center___RZbAv",flex_box_center_end:"flex_box_center_end___ILhJA",flex_box_column:"flex_box_column___Fmij7",orangeColor:"orangeColor___U5vU6",redColor:"redColor___qYa6X",statustitle:"statustitle___pTBLm",statusbody:"statusbody___qUPQx",flex:"flex___VtL45"},De=oe(43418),Ae="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAPCAYAAADUFP50AAAAAXNSR0IArs4c6QAAAUFJREFUOE+V0ktKw1AUxvH/rVqIxT4wkgwEUSmK4APRBfiYCKU7cOZEBOkadAMZiwhuwJETBQciFRTtwJkPBLW2BRGrRanU9kpN2sSYiGaWc/PjuznnCN2Qh8AkPo+AzXxKLLiPhW7ICtDqB4GzQkqM/huGFZgZcDCBBDaaicsTMKbZH2xfwdY5/ICAEGSasC0AwRYblj+gKkENwfy4WS9V4LHsgsk49EZteJKHdBa6w7AybdZzr3D64ILxGKjtNrx9gfsSRBSYtf6xZh1/u+qQClrIhtdFuHmGvhisJcz65RPsZl2Jc/3QE7FhpgDHuT80x2+O9cR1K/GiCDt3rkQ/+Ns43gDFD0YVmHIuQGOOmiGTARhxwkGd1cZ7Vwd0OppWr3911StpcV++Iwn67q/kyBMuHchErcqwFxT1XZXsfQJqo2zI6kdI4QAAAABJRU5ErkJggg==",ke="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAAAAXNSR0IArs4c6QAAAW1JREFUOE+dkj1IQmEUht9z/blp4VQEjS39eW+oSCFCpFCI4BiKFGWWQUSrCjVVg+lQNJZQDZGNTm1B4NTibS3n2lo0wuqEN8i/a0HfeN7v+d73nO+QJEcKAJzQPAwCnSpKNtoqkyRHqgDrtUFAb6Rnedx43KgT6O5P0GQijFiNLe/Sy3/B8g+YTIRRrb5jP32JYNADr8eOldU0RJEqVlm8r1kyuA/AIEB10OWy4vBgA4ryCIdjCJlMDmfn1zAY6EmyGY/UrAwrgGATWKsn4mGEQl4Uiw+YX9hT73aZiEcl8eMbZAGA0AT6/ZPY3Ykiny/A55tA7uoGqdQFBD2VbDbDugoSTTEj3gTGYgG8Vt7UeG63hNkZJ7a2s+gw1XqPnf5REKhkt4kxNakO08ycbOtRC/7FcakCwNTJ0WwmDI+1LUCZZDkSYGa5Eewf0G0KAnprNYtFQHdPbZhNS1cmLafF5bUTJsyBSVMHPm+/ADTrfrtCH68WAAAAAElFTkSuQmCC",ze=(Me,Le,_e)=>new Promise((He,Ke)=>{var le=x=>{try{a(_e.next(x))}catch(y){Ke(y)}},E=x=>{try{a(_e.throw(x))}catch(y){Ke(y)}},a=x=>x.done?He(x.value):Promise.resolve(x.value).then(le,E);a((_e=_e.apply(Me,Le)).next())}),tt=({type:Me,resdata:Le,onok:_e,oktext:He,okloading:Ke})=>{const[le,E]=(0,b.useState)(!1),{can_copy_list:a,can_copy_num:x,challenge_type:y,course_data_list:z,no_copy_list:te,no_copy_num:ae,no_use_list:se,no_use_num:ie,repeat_shixun_num:Se,student_count:Fe,total_num:We,use_num:Ne}=Le;let mt=x>0||Me==="exercise";(0,b.useEffect)(()=>{(Le==null?void 0:Le.student_count)>0&&E(!0)},[Le]),console.log("---11",Ke),(0,b.useEffect)(()=>{Ke||E(!1)},[Ke]);const Re=()=>{if(Me==="exercise"&&y===1)return b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709",b.createElement("span",{className:he.orangeColor},Fe),"\u540D\u5B66\u751F\u5DF2\u5728\u5176\u4ED6\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",b.createElement("span",{className:he.orangeColor},Ne),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C",b.createElement("span",{className:he.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u4F5C\u7B54\u5DF2\u6311\u6218\u8FC7\u7684\u5B9E\u8BAD\u9898\u3002"));if(Me==="exercise"&&y===2)return b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709",b.createElement("span",{className:he.orangeColor},Fe),"\u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",b.createElement("span",{className:he.orangeColor},Ne),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4E14\u4F5C\u4E1A\u5DF2\u5F00\u542F\u201C\u4F5C\u4E1A\u622A\u6B62\u540E\u4E0D\u5141\u8BB8\u5B66\u751F\u7F16\u8F91\u4EE3\u7801\u201D\u8BBE\u7F6E\u9879\uFF0C",b.createElement("span",{className:he.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(Me==="shixun"&&y===1)return b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709",b.createElement("span",{className:he.orangeColor},Fe),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u8BE5\u5B9E\u8DF5\u9879\u76EE\uFF0C",b.createElement("span",{className:he.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(Me==="shixun"&&y===2)return b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709",b.createElement("span",{className:he.orangeColor},Fe),"\u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u4E2D\u6311\u6218\u8FC7\u8BE5\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4E14\u4F5C\u4E1A\u5DF2\u5F00\u542F\u201C\u4F5C\u4E1A\u622A\u6B62\u540E\u4E0D\u5141\u8BB8\u5B66\u751F\u7F16\u8F91\u4EE3\u7801\u201D\u8BBE\u7F6E\u9879\uFF0C",b.createElement("span",{className:he.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(Me==="subject"&&y===1)return b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709",b.createElement("span",{className:he.orangeColor},Fe),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",b.createElement("span",{className:he.orangeColor},Ne),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C",b.createElement("span",{className:he.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(Me==="subject"&&y===2)return b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709 ",b.createElement("span",{className:he.orangeColor},Fe)," \u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u6311\u6218\u8FC7\u5176\u4E2D\u7684 ",b.createElement("span",{className:he.orangeColor},Ne)," \u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4E14\u4F5C\u4E1A\u5DF2\u5F00\u542F\u201C\u4F5C\u4E1A\u622A\u6B62\u540E\u4E0D\u5141\u8BB8\u5B66\u751F\u7F16\u8F91\u4EE3\u7801\u201D\u8BBE\u7F6E\u9879\uFF0C",b.createElement("span",{className:he.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(Me==="exercisepush")return b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709",b.createElement("span",{className:he.orangeColor},Fe),"\u540D\u5B66\u751F\u5DF2\u5728\u5176\u4ED6\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u8BD5\u5377\u4E2D\u7684",b.createElement("span",{className:he.orangeColor},Ne),"\u4E2A\u5B9E\u8DF5\u9879\u76EE \uFF0C",b.createElement("span",{className:he.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u5728\u5F53\u524D\u8003\u8BD5\u4E2D\u8FDB\u884C\u4F5C\u7B54\u3002"));if(Me==="shixunpush"&&y===1)return b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709",b.createElement("span",{className:he.orangeColor},Fe),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",b.createElement("span",{className:he.orangeColor},Ne),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C",b.createElement("span",{className:he.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(Me==="shixunpush"&&y===2)return b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709",b.createElement("span",{className:he.orangeColor},Fe),"\u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u4E2D\u6311\u6218\u8FC7",b.createElement("span",{className:he.orangeColor},Ne),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4E14\u4F5C\u4E1A\u5DF2\u5F00\u542F\u201C\u4F5C\u4E1A\u622A\u6B62\u540E\u4E0D\u5141\u8BB8\u5B66\u751F\u7F16\u8F91\u4EE3\u7801\u201D\u8BBE\u7F6E\u9879\uFF0C",b.createElement("span",{className:he.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"))},Je=()=>{if(Me==="exercise"||Me==="subject"||Me==="exercisepush"||Me==="shixunpush")return b.createElement("div",{style:{marginTop:20}},ae>0&&b.createElement("div",null,b.createElement("span",{className:he.flex},b.createElement("img",{src:ke,style:{width:14}}),b.createElement("span",{className:he.statustitle},"\u4E0D\u652F\u6301\u590D\u5236\u7684\u5B9E\u8DF5\u9879\u76EE")),b.createElement("div",{className:he.statusbody},Me==="exercise"&&b.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",b.createElement("span",{className:he.redColor},"\u4EE5\u4E0B\u8BD5\u9898\u5C06\u4E0D\u4F1A\u88AB\u53D1\u9001\u81F3\u8BFE\u5802\u4E2D\u3002"),"\u60A8\u4E5F\u53EF\u4EE5\u8054\u7CFB\u9879\u76EE\u521B\u5EFA\u8005\u5F00\u542F\u590D\u5236\u6743\u9650\u6216\u8005\u8054\u7CFB\u5E73\u53F0\u6559\u7814\u52A9\u7406\u8FDB\u884C\u534F\u52A9\u3002"),(Me==="subject"||Me==="exercisepush")&&b.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",mt&&b.createElement("span",{className:he.redColor},"\u4E00\u952E\u590D\u5236\u4E0D\u4F1A\u590D\u5236\u6B64\u90E8\u5206\u9879\u76EE\u3002"),"\u60A8\u53EF\u4EE5\u8054\u7CFB\u9879\u76EE\u521B\u5EFA\u8005\u5F00\u542F\u590D\u5236\u6743\u9650\u6216\u8005\u8054\u7CFB\u5E73\u53F0\u6559\u7814\u52A9\u7406\u8FDB\u884C\u534F\u52A9\u3002"),Me==="shixunpush"&&b.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",mt&&b.createElement("span",{className:he.redColor},"\u4E00\u952E\u590D\u5236\u4E0D\u4F1A\u590D\u5236\u6B64\u90E8\u5206\u9879\u76EE\u3002"),"\u5EFA\u8BAE\u60A8\u91CD\u65B0\u9009\u62E9\u5B9E\u8DF5\u9879\u76EE\u518D\u53D1\u5E03\u4F5C\u4E1A\uFF0C\u4E5F\u53EF\u8054\u7CFB\u9879\u76EE\u521B\u5EFA\u8005\u5F00\u542F\u590D\u5236\u6743\u9650\u6216\u8054\u7CFB\u5E73\u53F0\u6559\u7814\u52A9\u7406\u8FDB\u884C\u534F\u52A9\u3002"),b.createElement("div",null,te==null?void 0:te.map((Qe,et)=>b.createElement("a",{href:`/shixuns/${Qe.identifier}/challenges`,target:"_blank"},"\u300A",Qe==null?void 0:Qe.name,"\u300B",et+1!==ae&&"\u3001"))))),x>0&&b.createElement("div",{style:{marginTop:20}},b.createElement("span",{className:he.flex},b.createElement("img",{src:Ae,style:{width:14}}),b.createElement("span",{className:he.statustitle},"\u652F\u6301\u590D\u5236\u7684\u5B9E\u8DF5\u9879\u76EE")),b.createElement("div",{className:he.statusbody},Me==="exercise"&&b.createElement("div",{style:{marginBottom:15}},"\u5EFA\u8BAE\u60A8\u4E00\u952E\u590D\u5236\u5E76\u66FF\u6362\u8BD5\u9898\uFF08\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\u66FF\u6362\u8BD5\u5377\u4E2D\u7684\u539F\u8BD5\u9898\uFF0C\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\uFF09\u3002"),(Me==="subject"||Me==="exercisepush")&&b.createElement("div",{style:{marginBottom:15}},"\u5EFA\u8BAE\u60A8\u4E00\u952E\u590D\u5236\u5E76\u53D1\u9001\uFF08\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\uFF0C\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\uFF09\u3002"),Me==="shixunpush"&&b.createElement("div",{style:{marginBottom:15}},"\u5EFA\u8BAE\u60A8\u4E00\u952E\u590D\u5236\u5E76\u66FF\u6362\u8BD5\u9898\uFF08\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\u66FF\u6362\u5F53\u524D\u4F5C\u4E1A\u4E2D\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\uFF09\u3002"),b.createElement("div",null,a==null?void 0:a.map((Qe,et)=>b.createElement("a",{href:`/shixuns/${Qe.identifier}/challenges`,target:"_blank"},"\u300A",Qe==null?void 0:Qe.name,"\u300B",et+1!==x&&"\u3001"))))));if(Me==="shixun")return b.createElement("div",{style:{marginTop:20}},x>0?"\u8BE5\u9879\u76EE\u652F\u6301\u590D\u5236\uFF0C\u5EFA\u8BAE\u60A8\u4E00\u952E\u590D\u5236\u5E76\u53D1\u9001\uFF08\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\uFF0C\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\uFF09\u3002":"\u8BE5\u9879\u76EE\u4E0D\u652F\u6301\u590D\u5236\uFF0C\u60A8\u53EF\u4EE5\u8054\u7CFB\u9879\u76EE\u521B\u5EFA\u8005\u5F00\u542F\u590D\u5236\u6743\u9650\u6216\u8005\u8054\u7CFB\u5E73\u53F0\u6559\u7814\u52A9\u7406\u8FDB\u884C\u534F\u52A9\u3002")};return b.createElement(De.default,{open:le,onCancel:()=>{E(!1)},cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",width:700,centered:!0,cancelButtonProps:{style:{display:!mt&&"none"}},zIndex:1003,confirmLoading:Ke,okText:mt?He:"\u6211\u77E5\u9053\u4E86",onOk:()=>ze(void 0,null,function*(){mt?yield _e([...a,...se]):E(!1)})},b.createElement("div",{style:{maxHeight:600,overflow:"auto"}},Re(),Je()))}},69720:function(yt,kt,oe){"use strict";oe.d(kt,{h:function(){return ae}});var b=oe(59301),he=oe(57809),De=oe(78241),Ae=oe(3113),ke=oe(89780),ze=oe.n(ke),xe=oe(8336),tt=oe(12469),Me=Object.defineProperty,Le=Object.defineProperties,_e=Object.getOwnPropertyDescriptors,He=Object.getOwnPropertySymbols,Ke=Object.prototype.hasOwnProperty,le=Object.prototype.propertyIsEnumerable,E=(se,ie,Se)=>ie in se?Me(se,ie,{enumerable:!0,configurable:!0,writable:!0,value:Se}):se[ie]=Se,a=(se,ie)=>{for(var Se in ie||(ie={}))Ke.call(ie,Se)&&E(se,Se,ie[Se]);if(He)for(var Se of He(ie))le.call(ie,Se)&&E(se,Se,ie[Se]);return se},x=(se,ie)=>Le(se,_e(ie));const y=he.default.Option,z={labelCol:{span:4},wrapperCol:{span:20}},te={asp:["ASP","vbscript"],actionscript:["ActionScript(3.0)/Flash/Flex","clike"],bash:["Bash/Bat","shell"],css:["CSS","css"],c:["C","clike"],cpp:["C++","clike"],csharp:["C#","clike"],coffeescript:["CoffeeScript","coffeescript"],d:["D","d"],dart:["Dart","dart"],delphi:["Delphi/Pascal","pascal"],erlang:["Erlang","erlang"],go:["Golang","go"],groovy:["Groovy","groovy"],html:["HTML","text/html"],java:["Java","clike"],json:["JSON","text/json"],javascript:["Javascript","javascript"],lua:["Lua","lua"],less:["LESS","css"],markdown:["Markdown","gfm"],"objective-c":["Objective-C","clike"],php:["PHP","php"],perl:["Perl","perl"],python:["Python","python"],r:["R","r"],rst:["reStructedText","rst"],ruby:["Ruby","ruby"],sql:["SQL","sql"],sass:["SASS/SCSS","sass"],shell:["Shell","shell"],scala:["Scala","clike"],swift:["Swift","clike"],vb:["VB/VBScript","vb"],xml:["XML","text/xml"],yaml:["YAML","yaml"]};kt.Z=({callback:se,onCancel:ie})=>{const[Se,Fe]=(0,b.useState)("python");function We(mt){Fe(te[mt][1])}function Ne(mt){se(mt)}return b.createElement(De.default,x(a({},z),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:Ne,style:{width:500}}),b.createElement(De.default.Item,{label:"\u4EE3\u7801\u8BED\u8A00",name:"language"},b.createElement(he.default,{getPopupContainer:mt=>mt.parentNode,onChange:We},Object.keys(te).map(mt=>b.createElement(y,{key:mt,value:mt},te[mt][0])))),b.createElement(De.default.Item,{label:"\u4EE3\u7801\u5185\u5BB9",name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EE3\u7801\u5185\u5BB9"}]},b.createElement(ae,{mode:Se})),b.createElement("div",{className:"flex-container flex-end"},b.createElement(Ae.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),b.createElement(Ae.ZP,{type:"ghost",onClick:ie},"\u53D6\u6D88")))};function ae({value:se,onChange:ie,mode:Se,options:Fe={}}){const We=(0,b.useRef)(),[Ne,mt]=(0,b.useState)();return(0,b.useEffect)(()=>{if(Ne){let Re=function(Je){const Qe=Je.getValue();ie&&ie(Qe)};return Ne.on("change",Re),()=>{Ne.off("change",Re)}}},[Ne,ie]),(0,b.useEffect)(()=>{Ne&&Ne.setOption("mode",Se)},[Ne,Se]),(0,b.useEffect)(()=>{Ne&&(se!==Ne.getValue()||se==="")&&setTimeout(()=>{Ne.setValue(se||"")},300)},[Ne,se]),(0,b.useEffect)(()=>{if(We.current&&!Ne){const Re=ze().fromTextArea(We.current,a({mode:Se,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},Fe));mt(Re)}},[We.current,Ne]),b.createElement("div",{className:"my-codemirror-container"},b.createElement("textarea",{ref:We}))}},39793:function(yt,kt,oe){"use strict";oe.d(kt,{Z:function(){return Kt}});var b=oe(59301),he=oe(89780),De=oe.n(he),Ae=oe(76374),ke=oe(8336),ze=oe(6313),xe=oe(25717),tt=oe(99498),Me=oe(25419),Le=oe(67549),_e=oe(91842),He=({value:Ge="",className:Ye,showTextOnly:Ue,showLines:Bt,style:un={}})=>{const pn=(0,b.useMemo)(()=>"",[Ge]);return b.createElement(b.Fragment,null,b.createElement("div",{dangerouslySetInnerHTML:{__html:pn}}))},Ke=oe(59301),le=Object.defineProperty,E=Object.defineProperties,a=Object.getOwnPropertyDescriptors,x=Object.getOwnPropertySymbols,y=Object.prototype.hasOwnProperty,z=Object.prototype.propertyIsEnumerable,te=(Ge,Ye,Ue)=>Ye in Ge?le(Ge,Ye,{enumerable:!0,configurable:!0,writable:!0,value:Ue}):Ge[Ye]=Ue,ae=(Ge,Ye)=>{for(var Ue in Ye||(Ye={}))y.call(Ye,Ue)&&te(Ge,Ue,Ye[Ue]);if(x)for(var Ue of x(Ye))z.call(Ye,Ue)&&te(Ge,Ue,Ye[Ue]);return Ge},se=(Ge,Ye)=>E(Ge,a(Ye));let ie=[{title:"\u7C97\u4F53",icon:"md-iconfont icon-bold",actionName:"bold"},{title:"\u659C\u4F53",icon:"md-iconfont icon-italic",actionName:"italic"},"|",{title:"\u65E0\u5E8F\u5217\u8868",icon:"md-iconfont icon-unorder-list",actionName:"list-ul"},{title:"\u6709\u5E8F\u5217\u8868",icon:"md-iconfont icon-order-list",actionName:"list-ol"},"|",{title:"\u884C\u5185\u4EE3\u7801",icon:"md-iconfont icon-code",actionName:"code"},{title:"\u4EE3\u7801\u5757\uFF08\u591A\u8BED\u8A00\u98CE\u683C\uFF09",icon:"md-iconfont icon-file-code",actionName:"code-block"},{title:"\u94FE\u63A5",icon:"md-iconfont icon-link",actionName:"link"},"|",{title:"\u884C\u5185\u516C\u5F0F",icon:"md-iconfont icon-sum",actionName:"inline-latex"},{title:"\u6570\u5B66\u56FE\u50CF",icon:"iconfont icon-shuxuetuxiang2",actionName:"maths-latex"},{title:"\u591A\u884C\u516C\u5F0F",icon:"iconfont icon-jisuan1",actionName:"latex"},"|",{title:"\u6DFB\u52A0\u56FE\u7247",icon:"md-iconfont icon-picture",actionName:"upload-image"},{title:"\u63D2\u5165\u753B\u56FE",icon:"iconfont icon-sheji",actionName:"draw-image"},{title:"\u63D2\u5165\u6D41\u7A0B\u56FE",icon:"iconfont icon-liucheng",actionName:"add-flowchart"},{title:"\u8868\u683C",icon:"md-iconfont icon-table",actionName:"add-table"},"|",{title:"\u6362\u884C",icon:"md-iconfont icon-minus",actionName:"line-break"},{title:"\u6E05\u7A7A",icon:"md-iconfont icon-eraser",actionName:"eraser"}];function Se({onActionCallback:Ge,title:Ye,icon:Ue,actionName:Bt,className:un="",children:pn}){function ra(){Ge(Bt)}return Ke.createElement("a",{title:Ye,className:un,onClick:ra},Ke.createElement("i",{className:`${Ue}`}),pn)}var Fe=({watch:Ge,showNullButton:Ye,showNullProgramButton:Ue,onActionCallback:Bt,fullScreen:un,insertTemp:pn,hidetoolBar:ra,extraUse:Vn})=>{const Ln=[...ie,{title:`${Ge?"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8":"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"}`,icon:`${Ge?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return Ke.createElement("ul",{className:"markdown-toolbar-container"},!ra&&Ln.map((jn,Tn)=>Ke.createElement("li",{key:Tn},jn.actionName?Ke.createElement(Se,se(ae({},jn),{onActionCallback:Bt})):Ke.createElement("span",{className:"v-line"}))),Ye?Ke.createElement("li",null,Ke.createElement(Se,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-null-ch",onActionCallback:Bt},Ke.createElement("span",{className:"fill-tip"},"\u70B9\u51FB\u63D2\u5165\b\u586B\u7A7A\u9879"))):null,Ue?Ke.createElement(Ke.Fragment,null,Ke.createElement("li",null,Ke.createElement(Se,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-signal",onActionCallback:Bt},Ke.createElement("span",{className:"fill-tip"},"+\u5355\u884C\u586B\u7A7A\u9879"))),Ke.createElement("li",null,Ke.createElement(Se,{icon:"md-iconfont icon-uniE900 insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-multiple",onActionCallback:Bt},Ke.createElement("span",{className:"fill-tip"},"+\u591A\u884C\u586B\u7A7A\u9879")))):null,pn&&Ke.createElement("li",null,Ke.createElement(Se,{icon:"md-iconfont icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:`inster-template-${pn}`,onActionCallback:Bt},Ke.createElement("span",{className:"fill-tip"},"\u63D2\u5165\u6A21\u677F"))),Vn&&Ke.createElement("li",null,Vn),Ke.createElement("li",{className:"btn-full-screen"},Ke.createElement(Se,{icon:`${un?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:un?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:Bt})))},We=oe(91558),Ne=oe(78241),mt=oe(92832),Re=oe(3113),Je=Object.defineProperty,Qe=Object.defineProperties,et=Object.getOwnPropertyDescriptors,we=Object.getOwnPropertySymbols,ht=Object.prototype.hasOwnProperty,ct=Object.prototype.propertyIsEnumerable,Lt=(Ge,Ye,Ue)=>Ye in Ge?Je(Ge,Ye,{enumerable:!0,configurable:!0,writable:!0,value:Ue}):Ge[Ye]=Ue,gt=(Ge,Ye)=>{for(var Ue in Ye||(Ye={}))ht.call(Ye,Ue)&&Lt(Ge,Ue,Ye[Ue]);if(we)for(var Ue of we(Ye))ct.call(Ye,Ue)&&Lt(Ge,Ue,Ye[Ue]);return Ge},Pn=(Ge,Ye)=>Qe(Ge,et(Ye));const nn={labelCol:{span:4},wrapperCol:{span:20}};var Wt=({callback:Ge,onCancel:Ye})=>{function Ue(Bt){Ge(Bt)}return b.createElement(Ne.default,Pn(gt({},nn),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:Ue,style:{width:500}}),b.createElement(Ne.default.Item,{label:"\u94FE\u63A5\u5730\u5740",name:"link",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u5730\u5740"}]},b.createElement(mt.default,null)),b.createElement(Ne.default.Item,{label:"\u94FE\u63A5\u6807\u9898",name:"title",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u6807\u9898"}]},b.createElement(mt.default,null)),b.createElement("div",{className:"flex-container flex-end"},b.createElement(Re.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),b.createElement(Re.ZP,{type:"ghost",onClick:Ye},"\u53D6\u6D88")))},_t=oe(69720),Te=oe(17077),ot=oe(43418),Ut=oe(95237),xn=oe(9507),At=oe(59301),ln=({callback:Ge,onCancel:Ye})=>{const Ue=document.createElement("canvas"),Bt=Ue.getContext("2d");Ue.width=1e3,Ue.height=800,Bt.fillStyle="#ffffff",Bt.fillRect(0,0,Ue.width,Ue.height);const un=Ue.toDataURL("image/png");return At.createElement(ot.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},At.createElement(Ut.Z,{style:{height:"100vh"}},At.createElement(xn.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:un,visible:!0,title:String(Date.now())},onOk:pn=>{Ge({src:pn.url})},onClose:Ye})))},Ce=oe(12378);function ut(){go.CommandHandler.call(this),this._arrowKeyBehavior="move",this._pasteOffset=new go.Point(10,10),this._lastPasteOffset=new go.Point(0,0)}go.Diagram.inherit(ut,go.CommandHandler),ut.prototype.canAlignSelection=function(){var Ge=this.diagram;return!(Ge===null||Ge.isReadOnly||Ge.isModelReadOnly||Ge.selection.count<2)},ut.prototype.alignLeft=function(){var Ge=this.diagram;Ge.startTransaction("aligning left");var Ye=1/0;Ge.selection.each(function(Ue){Ue instanceof go.Link||(Ye=Math.min(Ue.position.x,Ye))}),Ge.selection.each(function(Ue){Ue instanceof go.Link||Ue.move(new go.Point(Ye,Ue.position.y))}),Ge.commitTransaction("aligning left")},ut.prototype.alignRight=function(){var Ge=this.diagram;Ge.startTransaction("aligning right");var Ye=-1/0;Ge.selection.each(function(Ue){if(!(Ue instanceof go.Link)){var Bt=Ue.actualBounds.x+Ue.actualBounds.width;Ye=Math.max(Bt,Ye)}}),Ge.selection.each(function(Ue){Ue instanceof go.Link||Ue.move(new go.Point(Ye-Ue.actualBounds.width,Ue.position.y))}),Ge.commitTransaction("aligning right")},ut.prototype.alignTop=function(){var Ge=this.diagram;Ge.startTransaction("alignTop");var Ye=1/0;Ge.selection.each(function(Ue){Ue instanceof go.Link||(Ye=Math.min(Ue.position.y,Ye))}),Ge.selection.each(function(Ue){Ue instanceof go.Link||Ue.move(new go.Point(Ue.position.x,Ye))}),Ge.commitTransaction("alignTop")},ut.prototype.alignBottom=function(){var Ge=this.diagram;Ge.startTransaction("aligning bottom");var Ye=-1/0;Ge.selection.each(function(Ue){if(!(Ue instanceof go.Link)){var Bt=Ue.actualBounds.y+Ue.actualBounds.height;Ye=Math.max(Bt,Ye)}}),Ge.selection.each(function(Ue){Ue instanceof go.Link||Ue.move(new go.Point(Ue.actualBounds.x,Ye-Ue.actualBounds.height))}),Ge.commitTransaction("aligning bottom")},ut.prototype.alignCenterX=function(){var Ge=this.diagram,Ye=Ge.selection.first();if(Ye){Ge.startTransaction("aligning Center X");var Ue=Ye.actualBounds.x+Ye.actualBounds.width/2;Ge.selection.each(function(Bt){Bt instanceof go.Link||Bt.move(new go.Point(Ue-Bt.actualBounds.width/2,Bt.actualBounds.y))}),Ge.commitTransaction("aligning Center X")}},ut.prototype.alignCenterY=function(){var Ge=this.diagram,Ye=Ge.selection.first();if(Ye){Ge.startTransaction("aligning Center Y");var Ue=Ye.actualBounds.y+Ye.actualBounds.height/2;Ge.selection.each(function(Bt){Bt instanceof go.Link||Bt.move(new go.Point(Bt.actualBounds.x,Ue-Bt.actualBounds.height/2))}),Ge.commitTransaction("aligning Center Y")}},ut.prototype.alignColumn=function(Ge){var Ye=this.diagram;Ye.startTransaction("align Column"),Ge===void 0&&(Ge=0),Ge=parseFloat(Ge);var Ue=new Array;Ye.selection.each(function(Vn){Vn instanceof go.Link||Ue.push(Vn)});for(var Bt=0;Bt<Ue.length-1;Bt++){var un=Ue[Bt],pn=un.actualBounds.y+un.actualBounds.height+Ge,ra=Ue[Bt+1];ra.move(new go.Point(un.actualBounds.x,pn))}Ye.commitTransaction("align Column")},ut.prototype.alignRow=function(Ge){Ge===void 0&&(Ge=0),Ge=parseFloat(Ge);var Ye=this.diagram;Ye.startTransaction("align Row");var Ue=new Array;Ye.selection.each(function(Vn){Vn instanceof go.Link||Ue.push(Vn)});for(var Bt=0;Bt<Ue.length-1;Bt++){var un=Ue[Bt],pn=un.actualBounds.x+un.actualBounds.width+Ge,ra=Ue[Bt+1];ra.move(new go.Point(pn,un.actualBounds.y))}Ye.commitTransaction("align Row")},ut.prototype.canRotate=function(Ge){var Ye=this.diagram;return!(Ye===null||Ye.isReadOnly||Ye.isModelReadOnly||Ye.selection.count<1)},ut.prototype.rotate=function(Ge){Ge===void 0&&(Ge=90);var Ye=this.diagram;Ye.startTransaction("rotate "+Ge.toString());var Ye=this.diagram;Ye.selection.each(function(Ue){Ue instanceof go.Link||Ue instanceof go.Group||(Ue.angle+=Ge)}),Ye.commitTransaction("rotate "+Ge.toString())},ut.prototype.pullToFront=function(){var Ge=this.diagram;Ge.startTransaction("pullToFront");var Ye=new go.Map;Ge.selection.each(function(Ue){Ye.set(Ue.layer,0)}),Ye.iteratorKeys.each(function(Ue){var Bt=0;Ue.parts.each(function(un){if(!un.isSelected){var pn=un.zOrder;isNaN(pn)?un.zOrder=0:Bt=Math.max(Bt,pn)}}),Ye.set(Ue,Bt)}),Ge.selection.each(function(Ue){ut._assignZOrder(Ue,Ye.get(Ue.layer)+1)}),Ge.commitTransaction("pullToFront")},ut.prototype.pushToBack=function(){var Ge=this.diagram;Ge.startTransaction("pushToBack");var Ye=new go.Map;Ge.selection.each(function(Ue){Ye.set(Ue.layer,0)}),Ye.iteratorKeys.each(function(Ue){var Bt=0;Ue.parts.each(function(un){if(!un.isSelected){var pn=un.zOrder;isNaN(pn)?un.zOrder=0:Bt=Math.min(Bt,pn)}}),Ye.set(Ue,Bt)}),Ge.selection.each(function(Ue){ut._assignZOrder(Ue,Ye.get(Ue.layer)-1-ut._findGroupDepth(Ue))}),Ge.commitTransaction("pushToBack")},ut._assignZOrder=function(Ge,Ye,Ue){Ue===void 0&&(Ue=Ge),Ge.layer===Ue.layer&&(Ge.zOrder=Ye),Ge instanceof go.Group&&Ge.memberParts.each(function(Bt){ut._assignZOrder(Bt,Ye+1,Ue)})},ut._findGroupDepth=function(Ge){if(Ge instanceof go.Group){var Ye=0;return Ge.memberParts.each(function(Ue){Ye=Math.max(Ye,ut._findGroupDepth(Ue))}),Ye+1}else return 0},ut.prototype.doKeyDown=function(){var Ge=this.diagram;if(Ge!==null){var Ye=Ge.lastInput;if(Ye.key==="Up"||Ye.key==="Down"||Ye.key==="Left"||Ye.key==="Right"){var Ue=this.arrowKeyBehavior;if(Ue==="none")return;if(Ue==="select"){this._arrowKeySelect();return}else if(Ue==="move"){this._arrowKeyMove();return}else if(Ue==="tree"){this._arrowKeyTree();return}}go.CommandHandler.prototype.doKeyDown.call(this)}},ut.prototype._getAllParts=function(){var Ge=new Array;return this.diagram.nodes.each(function(Ye){Ge.push(Ye)}),this.diagram.parts.each(function(Ye){Ge.push(Ye)}),Ge},ut.prototype._arrowKeyMove=function(){var Ge=this.diagram,Ye=Ge.lastInput,Ue=0,Bt=0;if(Ye.control||Ye.meta)Ue=1,Bt=1;else if(Ge.grid!==null){var un=Ge.grid.gridCellSize;Bt=un.width,Ue=un.height}Ge.startTransaction("arrowKeyMove"),Ge.selection.each(function(pn){Ye.key==="Up"?pn.move(new go.Point(pn.actualBounds.x,pn.actualBounds.y-Ue)):Ye.key==="Down"?pn.move(new go.Point(pn.actualBounds.x,pn.actualBounds.y+Ue)):Ye.key==="Left"?pn.move(new go.Point(pn.actualBounds.x-Bt,pn.actualBounds.y)):Ye.key==="Right"&&pn.move(new go.Point(pn.actualBounds.x+Bt,pn.actualBounds.y))}),Ge.commitTransaction("arrowKeyMove")},ut.prototype._arrowKeySelect=function(){var Ge=this.diagram,Ye=Ge.lastInput,Ue=null;Ye.key==="Up"?Ue=this._findNearestPartTowards(270):Ye.key==="Down"?Ue=this._findNearestPartTowards(90):Ye.key==="Left"?Ue=this._findNearestPartTowards(180):Ye.key==="Right"&&(Ue=this._findNearestPartTowards(0)),Ue!==null&&(Ye.shift?Ue.isSelected=!0:Ye.control||Ye.meta?Ue.isSelected=!Ue.isSelected:Ge.select(Ue))},ut.prototype._findNearestPartTowards=function(Ge){var Ye=this.diagram.selection.first();if(Ye===null)return null;for(var Ue=Ye.actualBounds.center,Bt=this._getAllParts(),un=1/0,pn=Ye,ra=0;ra<Bt.length;ra++){var Vn=Bt[ra];if(Vn!==Ye&&Vn.canSelect()){var Ln=Vn.actualBounds.center,jn=Ue.directionPoint(Ln),Tn=this._angleCloseness(jn,Ge);if(Tn<=45){var jt=Ue.distanceSquaredPoint(Ln);jt*=1+Math.sin(Tn*Math.PI/180),jt<un&&(un=jt,pn=Vn)}}}return pn},ut.prototype._angleCloseness=function(Ge,Ye){return Math.min(Math.abs(Ye-Ge),Math.min(Math.abs(Ye+360-Ge),Math.abs(Ye-360-Ge)))},ut.prototype._arrowKeyTree=function(){var Ge=this.diagram,Ye=Ge.selection.first();if(Ye instanceof go.Node){var Ue=Ge.lastInput;if(Ue.key==="Right"){if(!Ye.isTreeLeaf)if(!Ye.isTreeExpanded)Ge.commandHandler.canExpandTree(Ye)&&Ge.commandHandler.expandTree(Ye);else{var Bt=this._sortTreeChildrenByY(Ye).first();Bt!==null&&Ge.select(Bt)}}else if(Ue.key==="Left")if(!Ye.isTreeLeaf&&Ye.isTreeExpanded)Ge.commandHandler.canCollapseTree(Ye)&&Ge.commandHandler.collapseTree(Ye);else{var un=Ye.findTreeParentNode();un!==null&&Ge.select(un)}else if(Ue.key==="Up"){var un=Ye.findTreeParentNode();if(un!==null){var pn=this._sortTreeChildrenByY(un),ra=pn.indexOf(Ye);if(ra>0){for(var Vn=pn.elt(ra-1);Vn!==null&&Vn.isTreeExpanded&&!Vn.isTreeLeaf;){var Ln=this._sortTreeChildrenByY(Vn);Vn=Ln.last()}Vn!==null&&Ge.select(Vn)}else Ge.select(un)}}else if(Ue.key==="Down")if(Ye.isTreeExpanded&&!Ye.isTreeLeaf){var Bt=this._sortTreeChildrenByY(Ye).first();Bt!==null&&Ge.select(Bt)}else for(;Ye!==null;){var un=Ye.findTreeParentNode();if(un===null)break;var pn=this._sortTreeChildrenByY(un),ra=pn.indexOf(Ye);if(ra<pn.length-1){Ge.select(pn.elt(ra+1));break}else Ye=un}var jn=Ge.selection.first();jn!==null&&Ge.scrollToRect(jn.actualBounds)}},ut.prototype._sortTreeChildrenByY=function(Ge){var Ye=new go.List().addAll(Ge.findTreeChildrenNodes());return Ye.sort(function(Ue,Bt){var un=Ue.location,pn=Bt.location;return un.y<pn.y?-1:un.y>pn.y?1:un.x<pn.x?-1:un.x>pn.x?1:0}),Ye},ut.prototype.copyToClipboard=function(Ge){go.CommandHandler.prototype.copyToClipboard.call(this,Ge),this._lastPasteOffset.set(this.pasteOffset)},ut.prototype.pasteFromClipboard=function(){var Ge=go.CommandHandler.prototype.pasteFromClipboard.call(this);return this.diagram.moveParts(Ge,this._lastPasteOffset),this._lastPasteOffset.add(this.pasteOffset),Ge},Object.defineProperty(ut.prototype,"arrowKeyBehavior",{get:function(){return this._arrowKeyBehavior},set:function(Ge){if(Ge!=="move"&&Ge!=="select"&&Ge!=="scroll"&&Ge!=="tree"&&Ge!=="none")throw new Error('DrawCommandHandler.arrowKeyBehavior must be either "move", "select", "scroll", "tree", or "none", not: '+Ge);this._arrowKeyBehavior=Ge}}),Object.defineProperty(ut.prototype,"pasteOffset",{get:function(){return this._pasteOffset},set:function(Ge){if(!(Ge instanceof go.Point))throw new Error("DrawCommandHandler.pasteOffset must be a Point, not: "+Ge);this._pasteOffset.set(Ge)}});var Xt=ut,nt=oe(63720),Pt=oe(43604),_n=oe(38986),sn={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re"},Rt=oe(59301),Mt=(Ge,Ye,Ue)=>new Promise((Bt,un)=>{var pn=Ln=>{try{Vn(Ue.next(Ln))}catch(jn){un(jn)}},ra=Ln=>{try{Vn(Ue.throw(Ln))}catch(jn){un(jn)}},Vn=Ln=>Ln.done?Bt(Ln.value):Promise.resolve(Ln.value).then(pn,ra);Vn((Ue=Ue.apply(Ge,Ye)).next())});function Yn({onCancel:Ge,callback:Ye}){let Ue=(0,b.useRef)(),Bt=(0,b.useRef)(),un=(0,b.useRef)(),pn=(0,b.useRef)(!1);const ra=(0,b.useRef)(!1),[Vn,Ln]=(0,b.useState)(0);function jn(){const jt=Ce.bx.make,La={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"};Ue.current=new Ce.S0(Bt.current,{padding:20,grid:jt(Ce.s_,"Grid",jt(Ce.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),jt(Ce.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),"draggingTool.isGridSnapEnabled":!0,handlesDragDropForTopLevelParts:!0,mouseDrop:hn=>{var $n=hn.diagram.commandHandler.addTopLevelParts(hn.diagram.selection,!0);$n||hn.diagram.currentTool.doCancel()},commandHandler:jt(Xt),"clickCreatingTool.archetypeNodeData":{text:"\u672A\u547D\u540D",fill:null,stroke:null,borderColor:"rgba(0,0,0,0)"},PartCreated:hn=>{var $n=hn.subject;$n.location=$n.location.copy().snapToGridPoint(hn.diagram.grid.gridOrigin,hn.diagram.grid.gridCellSize),setTimeout(()=>{hn.diagram.commandHandler.editTextBlock()},20)},"commandHandler.archetypeGroupData":{isGroup:!0,text:"NEW GROUP"},SelectionGrouped:hn=>{var $n=hn.subject;setTimeout(()=>{hn.diagram.commandHandler.editTextBlock()})},LinkRelinked:hn=>{var $n=hn.parameter.part;$n.invalidateConnectedLinks();var Aa=hn.subject;hn.diagram.toolManager.linkingTool.isForwards?Aa.toNode.invalidateConnectedLinks():Aa.fromNode.invalidateConnectedLinks()},"undoManager.isEnabled":!0}),Ue.current.nodeTemplate=jt(Ce.NB,"Auto",{locationSpot:Ce.z6.Center,locationObjectName:"SHAPE",desiredSize:new Ce.$u(120,60),minSize:new Ce.$u(40,40),resizable:!0,resizeCellSize:new Ce.$u(10,10),rotatable:!0},new Ce.KX("location","loc",Ce.E9.parse).makeTwoWay(Ce.E9.stringify),new Ce.KX("desiredSize","size",Ce.$u.parse).makeTwoWay(Ce.$u.stringify),jt(Ce.bn,{name:"SHAPE",fill:La.white,cursor:"pointer",portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:Ce.z6.AllSides,toSpot:Ce.z6.AllSides},new Ce.KX("figure"),new Ce.KX("fill"),new Ce.KX("stroke","borderColor"),new Ce.KX("strokeWidth","thickness"),new Ce.KX("strokeDashArray","dash")),jt(Ce.bn,{width:100,height:20,strokeWidth:0,fill:"transparent"}),jt(Ce.al,{margin:1,textAlign:"center",overflow:Ce.al.OverflowEllipsis,editable:!0},new Ce.KX("text").makeTwoWay(),new Ce.KX("stroke","color"))),Ue.current.nodeTemplate.toolTip=jt("ToolTip",jt(Ce.s_,"Vertical",{maxSize:new Ce.$u(200,NaN)},jt(Ce.al,{font:"bold 10pt sans-serif",textAlign:"center"},new Ce.KX("text")),jt(Ce.al,{font:"10pt sans-serif",textAlign:"center"},new Ce.KX("text","details"))));function ir(hn,$n){var Aa=(Wn,qa)=>{Wn.handled=!0,Wn.diagram.model.commit(Ka=>{var pr=qa.part.adornedPart,Tr=new Ce.E9().setRectSpot(pr.actualBounds,hn);Tr.subtract(pr.location),Tr.scale(2,2),Tr.x+=Math.sign(Tr.x)*130,Tr.y+=Math.sign(Tr.y)*130,Tr.add(pr.location),Tr.snapToGridPoint(Wn.diagram.grid.gridOrigin,Wn.diagram.grid.gridCellSize);var nr=Ka.copyNodeData(pr.data);Ka.setGroupKeyForNodeData(nr,Ka.getGroupKeyForNodeData(pr.data)),Ka.addNodeData(nr);var Ho={from:pr.key,to:Ka.getKeyForNodeData(nr)};Ka.addLinkData(Ho);var Ao=Wn.diagram.findNodeForData(nr);Ao.location=Tr,Wn.diagram.select(Ao),setTimeout(()=>{Wn.diagram.commandHandler.editTextBlock()},20)})};return jt(Ce.bn,{figure:$n,alignment:hn,alignmentFocus:hn.opposite(),width:hn.equals(Ce.z6.Top)||hn.equals(Ce.z6.Bottom)?25:18,height:hn.equals(Ce.z6.Top)||hn.equals(Ce.z6.Bottom)?18:25,fill:"orange",stroke:La.white,strokeWidth:4,mouseEnter:(Wn,qa)=>qa.fill="dodgerblue",mouseLeave:(Wn,qa)=>qa.fill="orange",isActionable:!0,click:Aa,contextClick:Aa})}function oo(hn){return jt(Ce.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:($n,Aa)=>Aa.fill="dodgerblue",mouseLeave:($n,Aa)=>Aa.fill="orange",click:($n,Aa)=>{$n.diagram.commandHandler.showContextMenu(Aa.part.adornedPart)}},hn||{})}Ue.current.nodeTemplate.selectionAdornmentTemplate=jt(Ce.uz,"Spot",jt(Ce.Vm,{padding:10}),ir(Ce.z6.Top,"TriangleUp"),ir(Ce.z6.Left,"TriangleLeft"),ir(Ce.z6.Right,"TriangleRight"),ir(Ce.z6.Bottom,"TriangleDown"),oo({alignment:new Ce.z6(.75,0)}));function Wa(hn,$n){return(Aa,Wn)=>{Aa.handled=!0,Aa.diagram.model.commit(qa=>{qa.set(Wn.part.adornedPart.data,hn,$n)})}}function zt(hn,$n){return $n||($n="color"),jt(Ce.bn,{width:16,height:16,stroke:"lightgray",fill:hn,margin:1,background:"transparent",mouseEnter:(Aa,Wn)=>Wn.stroke="dodgerblue",mouseLeave:(Aa,Wn)=>Wn.stroke="lightgray",click:Wa($n,hn),contextClick:Wa($n,hn)})}function jr(){return[jt("ContextMenuButton",jt(Ce.s_,"Horizontal",zt(La.white,"fill"),zt(La.beige,"fill"),zt(La.extralightblue,"fill"),zt(La.extralightred,"fill"))),jt("ContextMenuButton",jt(Ce.s_,"Horizontal",zt(La.lightgray,"fill"),zt(La.lightgreen,"fill"),zt(La.lightblue,"fill"),zt(La.lightred,"fill")))]}function Ta(){return[jt("ContextMenuButton",jt(Ce.s_,"Horizontal",zt(La.black),zt(La.green),zt(La.blue),zt(La.red))),jt("ContextMenuButton",jt(Ce.s_,"Horizontal",zt(La.white),zt(La.magenta),zt(La.purple),zt(La.orange)))]}function vr(hn,$n){return $n||($n="thickness"),jt(Ce.bn,"LineH",{width:16,height:16,strokeWidth:hn,margin:1,background:"transparent",mouseEnter:(Aa,Wn)=>Wn.background="dodgerblue",mouseLeave:(Aa,Wn)=>Wn.background="transparent",click:Wa($n,hn),contextClick:Wa($n,hn)})}function er(hn,$n){return $n||($n="dash"),jt(Ce.bn,"LineH",{width:24,height:16,strokeWidth:2,strokeDashArray:hn,margin:1,background:"transparent",mouseEnter:(Aa,Wn)=>Wn.background="dodgerblue",mouseLeave:(Aa,Wn)=>Wn.background="transparent",click:Wa($n,hn),contextClick:Wa($n,hn)})}function _r(){return[jt("ContextMenuButton",jt(Ce.s_,"Horizontal",vr(1),vr(2),vr(3),vr(4))),jt("ContextMenuButton",jt(Ce.s_,"Horizontal",er(null),er([2,4]),er([4,4])))]}function br(hn,$n){return $n||($n="figure"),jt(Ce.bn,{width:32,height:32,scale:.5,fill:"lightgray",figure:hn,margin:1,background:"transparent",mouseEnter:(Aa,Wn)=>Wn.fill="dodgerblue",mouseLeave:(Aa,Wn)=>Wn.fill="lightgray",click:Wa($n,hn),contextClick:Wa($n,hn)})}Ue.current.nodeTemplate.contextMenu=jt("ContextMenu",jt("ContextMenuButton",jt(Ce.s_,"Horizontal",br("Rectangle"),br("RoundedRectangle"),br("Ellipse"),br("Diamond"))),jt("ContextMenuButton",jt(Ce.s_,"Horizontal",br("Parallelogram2"),br("ManualOperation"),br("Procedure"),br("Cylinder1"))),jt("ContextMenuButton",jt(Ce.s_,"Horizontal",br("Terminator"),br("CreateRequest"),br("Document"),br("TriangleDown"))),jr(),Ta(),_r()),Ue.current.groupTemplate=jt(Ce.ZA,"Spot",{layerName:"Background",ungroupable:!0,locationSpot:Ce.z6.Center,selectionObjectName:"BODY",computesBoundsAfterDrag:!0,handlesDragDropForMembers:!0,mouseDrop:(hn,$n)=>{var Aa=$n.addMembers($n.diagram.selection,!0);Aa||$n.diagram.currentTool.doCancel()},avoidable:!1},new Ce.KX("location","loc",Ce.E9.parse).makeTwoWay(Ce.E9.stringify),jt(Ce.s_,"Auto",{name:"BODY"},jt(Ce.bn,{parameter1:10,fill:La.white,strokeWidth:2,cursor:"pointer",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:Ce.z6.AllSides,toSpot:Ce.z6.AllSides},new Ce.KX("fill"),new Ce.KX("stroke","color"),new Ce.KX("strokeWidth","thickness"),new Ce.KX("strokeDashArray","dash")),jt(Ce.Vm,{background:"transparent",margin:20})),jt(Ce.al,{alignment:Ce.z6.Top,alignmentFocus:Ce.z6.Bottom,font:"bold 12pt sans-serif",editable:!0},new Ce.KX("text"),new Ce.KX("stroke","color"))),Ue.current.groupTemplate.selectionAdornmentTemplate=jt(Ce.uz,"Spot",jt(Ce.s_,"Auto",jt(Ce.bn,{fill:null,stroke:"dodgerblue",strokeWidth:3}),jt(Ce.Vm,{margin:1.5})),oo({alignment:Ce.z6.TopRight,alignmentFocus:Ce.z6.BottomRight})),Ue.current.groupTemplate.contextMenu=jt("ContextMenu",jr(),Ta(),_r()),Ue.current.linkTemplate=jt(Ce.rU,{layerName:"Foreground",routing:Ce.rU.AvoidsNodes,corner:10,fromShortLength:10,toShortLength:15,relinkableFrom:!0,relinkableTo:!0,reshapable:!0,resegmentable:!0},new Ce.KX("fromSpot","fromSpot",Ce.z6.parse),new Ce.KX("toSpot","toSpot",Ce.z6.parse),new Ce.KX("fromShortLength","dir",hn=>hn>=1?10:0),new Ce.KX("toShortLength","dir",hn=>hn>=1?10:0),new Ce.KX("points").makeTwoWay(),jt(Ce.bn,{strokeWidth:2},new Ce.KX("stroke","color"),new Ce.KX("strokeWidth","thickness"),new Ce.KX("strokeDashArray","dash")),jt(Ce.bn,{segmentIndex:0,segmentOffset:new Ce.E9(15,0),segmentOrientation:Ce.rU.OrientAlong,alignmentFocus:Ce.z6.Right,figure:"circle",width:10,strokeWidth:0},new Ce.KX("fill","color"),new Ce.KX("visible","dir",hn=>hn===1)),jt(Ce.bn,{segmentIndex:-1,segmentOffset:new Ce.E9(-10,6),segmentOrientation:Ce.rU.OrientPlus90,alignmentFocus:Ce.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new Ce.KX("fill","color"),new Ce.KX("visible","dir",hn=>hn>=1),new Ce.KX("width","thickness",hn=>7+3*hn),new Ce.KX("height","thickness",hn=>7+3*hn),new Ce.KX("segmentOffset","thickness",hn=>new Ce.E9(-15,4+1.5*hn))),jt(Ce.bn,{segmentIndex:0,segmentOffset:new Ce.E9(15,-6),segmentOrientation:Ce.rU.OrientMinus90,alignmentFocus:Ce.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new Ce.KX("fill","color"),new Ce.KX("visible","dir",hn=>hn===2),new Ce.KX("width","thickness",hn=>7+3*hn),new Ce.KX("height","thickness",hn=>7+3*hn),new Ce.KX("segmentOffset","thickness",hn=>new Ce.E9(-15,4+1.5*hn))),jt(Ce.al,{alignmentFocus:new Ce.z6(0,1,-4,0),editable:!0},new Ce.KX("text").makeTwoWay(),new Ce.KX("stroke","color"))),Ue.current.linkTemplate.selectionAdornmentTemplate=jt(Ce.uz,jt(Ce.bn,{isPanelMain:!0,stroke:"transparent",strokeWidth:6,pathPattern:qr(2)},new Ce.KX("pathPattern","thickness",qr)),oo({alignmentFocus:new Ce.z6(0,0,-6,-4)}));function qr(hn){return jt(Ce.bn,{stroke:"dodgerblue",strokeWidth:2,strokeCap:"square",geometryString:"M0 0 M4 2 H3 M4 "+(hn+4).toString()+" H3"})}function wr(hn){var $n="M0 0 M8 16 M0 8 L16 8 M12 11 L16 8 L12 5";return hn===0?$n="M0 0 M16 16 M0 8 L16 8":hn===2&&($n="M0 0 M16 16 M0 8 L16 8 M12 11 L16 8 L12 5 M4 11 L0 8 L4 5"),jt(Ce.bn,{geometryString:$n,margin:2,background:"transparent",mouseEnter:(Aa,Wn)=>Wn.background="dodgerblue",mouseLeave:(Aa,Wn)=>Wn.background="transparent",click:Wa("dir",hn),contextClick:Wa("dir",hn)})}function oa(hn){var $n=(Aa,Wn)=>{Aa.handled=!0,Aa.diagram.model.commit(qa=>{var Ka=Wn.part.adornedPart;qa.set(Ka.data,hn?"toSpot":"fromSpot",Ce.z6.stringify(Ce.z6.AllSides)),(hn?Ka.toNode:Ka.fromNode).invalidateConnectedLinks()})};return jt(Ce.bn,{width:12,height:12,fill:"transparent",mouseEnter:(Aa,Wn)=>Wn.background="dodgerblue",mouseLeave:(Aa,Wn)=>Wn.background="transparent",click:$n,contextClick:$n})}function $t(hn,$n){var Aa=0,Wn=Ce.z6.RightSide;hn.equals(Ce.z6.Top)?(Aa=270,Wn=Ce.z6.TopSide):hn.equals(Ce.z6.Left)?(Aa=180,Wn=Ce.z6.LeftSide):hn.equals(Ce.z6.Bottom)&&(Aa=90,Wn=Ce.z6.BottomSide),$n||(Aa-=180);var qa=(Ka,pr)=>{Ka.handled=!0,Ka.diagram.model.commit(Tr=>{var nr=pr.part.adornedPart;Tr.set(nr.data,$n?"toSpot":"fromSpot",Ce.z6.stringify(Wn)),($n?nr.toNode:nr.fromNode).invalidateConnectedLinks()})};return jt(Ce.bn,{alignment:hn,alignmentFocus:hn.opposite(),geometryString:"M0 0 M12 12 M12 6 L1 6 L4 4 M1 6 L4 8",angle:Aa,background:"transparent",mouseEnter:(Ka,pr)=>pr.background="dodgerblue",mouseLeave:(Ka,pr)=>pr.background="transparent",click:qa,contextClick:qa})}Ue.current.linkTemplate.contextMenu=jt("ContextMenu",Ta(),_r(),jt("ContextMenuButton",jt(Ce.s_,"Horizontal",wr(0),wr(1),wr(2))),jt("ContextMenuButton",jt(Ce.s_,"Horizontal",jt(Ce.s_,"Spot",oa(!1),$t(Ce.z6.Top,!1),$t(Ce.z6.Left,!1),$t(Ce.z6.Right,!1),$t(Ce.z6.Bottom,!1)),jt(Ce.s_,"Spot",{margin:new Ce.Zt(0,0,0,2)},oa(!0),$t(Ce.z6.Top,!0),$t(Ce.z6.Left,!0),$t(Ce.z6.Right,!0),$t(Ce.z6.Bottom,!0)))));const Xa=`{ "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 ua=["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 tr(hn){return console.log("shapeName:",hn),ua.indexOf(hn)>=0}var Oa=new Ce.YI(un.current,{maxSelectionCount:1,linkTemplate:jt(Ce.rU,{locationSpot:Ce.z6.Center,selectionAdornmentTemplate:jt(Ce.uz,"Link",{locationSpot:Ce.z6.Center},jt(Ce.bn,{isPanelMain:!0,fill:null,stroke:"deepskyblue",strokeWidth:0}),jt(Ce.bn,{toArrow:"Standard",stroke:null}))},{routing:Ce.rU.AvoidsNodes,curve:Ce.rU.JumpOver,corner:5,toShortLength:4},new Ce.KX("points"),jt(Ce.bn,{isPanelMain:!0,strokeWidth:2}),jt(Ce.bn,{toArrow:"Standard",stroke:null})),model:new Ce.FJ([{text:"\u672A\u547D\u540D",size:"100 100",fill:null,stroke:"#000"},...Ce.bn.getFigureGenerators().toArray().map(hn=>({text:"\u672A\u547D\u540D",size:"100 100",figure:hn.key,fill:"white",stroke:"#666",borderColor:"#000"}))])});return Ue.current.addDiagramListener("TextEdited",function(hn){var $n;const Aa=hn.subject.part;var Wn=($n=document.activeElement)==null?void 0:$n.value;typeof Wn=="string"&&Wn.trim()===""&&Ue.current.model.commit(function(qa){qa.set(Aa.data,"text","\u672A\u547D\u540D"),Ue.current.commandHandler.stopCommand()},"increment")}),Oa.nodeTemplate=jt(Ce.NB,"Auto",{locationSpot:Ce.z6.Center},new Ce.KX("location","location",Ce.E9.parse).makeTwoWay(Ce.E9.stringify),jt(Ce.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 Ce.KX("stroke").makeTwoWay(),new Ce.KX("fill").makeTwoWay(),new Ce.KX("figure")),jt(Ce.al,{margin:new Ce.Zt(5,5,3,5),font:"10pt sans-serif",minSize:new Ce.$u(16,16),maxSize:new Ce.$u(10,NaN),textAlign:"center",editable:!0},new Ce.KX("key").makeTwoWay())),setTimeout(()=>{Ue.current.grid=jt(Ce.s_,"Grid",jt(Ce.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),jt(Ce.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),Ue.current.grid.visible=!0,Ue.current.grid.gridCellStroke="darkgray",Ue.current.grid.gridCellStrokeWidth=1},300),window.myDiagrams=Ue.current,Ue.current}const Tn=()=>Mt(this,null,function*(){var jt=Ue.current.makeImage();const La=yield(0,_n.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Date.now(),file:jt.src}});Ye({src:La.url})});return(0,b.useEffect)(()=>(setTimeout(()=>{jn()},500),Ln(Vn+1),()=>{Ue.current=null}),[]),Rt.createElement("div",{ref:ra,className:pn.current?`${sn.maxH60} body-overflow-initial`:"body-overflow-initial"},Rt.createElement(ot.default,{width:1200,icon:null,footer:null,closable:!0,visible:!!Vn,destroyOnClose:!0,maskClosable:!1,rootClassName:"zIndex-9999",title:Rt.createElement(Ut.Z,null,Rt.createElement(Pt.Z,{flex:1},"\u63D2\u5165\u6D41\u7A0B\u56FE"),Rt.createElement(Pt.Z,{onClick:()=>{var jt,La,ir=Ue.current.selection.first();if(pn.current=!pn.current,document.activeElement&&ir){let oo=(La=(jt=document.activeElement)==null?void 0:jt.value)==null?void 0:La.trim();typeof oo=="string"&&Ue.current.model.commit(function(Wa){Wa.set(ir.data,"text",oo||"\u672A\u547D\u540D"),Ue.current.commandHandler.stopCommand()},"increment")}Ln(Vn+1)}},Rt.createElement("span",{className:"current c-blue mr30",style:{fontWeight:400}},"\u5C55\u5F00/\u6536\u8D77"))),onCancel:Ge},Rt.createElement("div",{style:{width:"100%",height:"80vh",overflow:"hidden",position:"relative"},className:sn.flowChartWrp},Rt.createElement("div",{style:{display:"flex",height:"100%"}},Rt.createElement("div",{style:{width:"300px",height:"100%"}},Rt.createElement("div",{style:{background:"#fff",position:"relative",zIndex:12,fontSize:16,color:"#3061d0"}},"\u56FE\u5F62\u5E93"),Rt.createElement("div",{style:{height:"calc(100% - 50px)"},className:sn.myPaletteDiv,ref:un})),Rt.createElement("div",{style:{flex:1,position:"relative"}},Rt.createElement("div",{ref:Bt,style:{height:"80vh"}}))),Rt.createElement("div",{className:"tr"},Rt.createElement(Re.ZP,{size:"large",onClick:Tn,style:{position:"absolute",right:0,bottom:0,zIndex:8},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))))}var aa=Yn,tn=oe(5112),ba=oe(5871);const _a=tn.ZP.Group,ya={margin:"0 8px"};var zn=({callback:Ge,onCancel:Ye})=>{function Ue(Bt){Ge(Bt)}return b.createElement(Ne.default,{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:Ue},b.createElement("div",{className:"flex-container",style:{alignItems:"baseline"}},b.createElement("span",{style:ya},"\u5355\u5143\u683C\u6570\uFF1A"),b.createElement("span",{style:ya},"\u884C\u6570"),b.createElement(Ne.default.Item,{name:"row",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u884C\u6570"}]},b.createElement(ba.Z,null)),b.createElement("span",{style:ya},"\u5217\u6570"),b.createElement(Ne.default.Item,{name:"col",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5217\u6570"}]},b.createElement(ba.Z,null))),b.createElement("div",{className:"flex-container",style:{marginTop:12,alignItems:"baseline"}},b.createElement("span",{style:ya},"\u5BF9\u9F50\u65B9\u5F0F\uFF1A"),b.createElement(Ne.default.Item,{name:"align"},b.createElement(_a,null,b.createElement(tn.ZP,{value:"default"},b.createElement("i",{className:"fa fa-align-justify"})),b.createElement(tn.ZP,{value:"left"},b.createElement("i",{className:"fa fa-align-left"})),b.createElement(tn.ZP,{value:"center"},b.createElement("i",{className:"fa fa-align-center"})),b.createElement(tn.ZP,{value:"right"},b.createElement("i",{className:"fa fa-align-right"}))))),b.createElement("div",{className:"flex-container flex-end"},b.createElement(Re.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),b.createElement(Re.ZP,{type:"ghost",onClick:Ye},"\u53D6\u6D88")))},xa=oe(78673),dr=oe(43001),Ya=oe.n(dr),da=(0,b.forwardRef)(({use3d:Ge,width:Ye,height:Ue,callback:Bt,showSaveButton:un},pn)=>{const ra=(0,b.useRef)(),Vn=(0,b.useRef)(),[Ln,jn]=(0,b.useState)(!1),Tn=(0,b.useRef)({id:ra,appName:"graphing",width:Ye||1e3,height:Ue||600,showToolBar:!0,showMenuBar:!0,allowStyleBar:!0,showAlgebraInput:!0,enableLabelDrags:!1,enableShiftDragZoom:!0,showToolBarHelp:!1,errorDialogsActive:!0,showTutorialLink:!0,showLogging:!0,useBrowserForJS:!1});(0,b.useEffect)(()=>{Vn.current=new(Ya())(Tn.current,!0),window.onload=function(){Vn.current.inject("applet_container")}},[]);const jt=()=>{var La=window.ggbApplet.getPNGBase64(1,!0,72);return Bt&&Bt(La),La};return(0,b.useEffect)(()=>{Tn.current.appName=Ln?"3D":"graphing",Vn.current.inject("applet_container")},[Ln]),(0,b.useEffect)(()=>{jn(Ge)},[Ge]),(0,b.useImperativeHandle)(pn,()=>({getImgData:jt})),b.createElement(b.Fragment,null,b.createElement("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:ra}),b.createElement(Ut.Z,{align:"middle"},b.createElement(Pt.Z,{flex:1},b.createElement(xa.Z,{size:"default",checkedChildren:"\u5173\u95ED3D\u56FE\u50CF",unCheckedChildren:"\u5F00\u542F3D\u56FE\u50CF",checked:Ln,onChange:La=>jn(La)})),b.createElement(Pt.Z,null,b.createElement(Re.ZP,{size:"large",onClick:jt,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"))))}),ea=oe(76562),ia=oe(1012),Ea=oe(8591);const Va="link",yn="upload-image",an="add-flowchart",Ft="draw-image",Gt="add-flowchart",Da="code-block",pa="add-table",wa="------------",ha={default:wa,left:`:${wa}`,center:`:${wa}:`,right:`${wa}:`};var Ga=oe(37808),gr=(Ge,Ye,Ue)=>new Promise((Bt,un)=>{var pn=Ln=>{try{Vn(Ue.next(Ln))}catch(jn){un(jn)}},ra=Ln=>{try{Vn(Ue.throw(Ln))}catch(jn){un(jn)}},Vn=Ln=>Ln.done?Bt(Ln.value):Promise.resolve(Ln.value).then(pn,ra);Vn((Ue=Ue.apply(Ge,Ye)).next())});function Ua(){}let Cr=0;const ho=1e4,Ht="\u2581",Zn="@\u2581\u2581@",qn="@\u2581@",Sa=`
**\u6A21\u677F\u6807\u9898**
\u6A21\u677F\u6B63\u6587\u5185\u5BB9\uFF0C\u53EF\u8F93\u5165\u6587\u672C\u5185\u5BB9\u548C\u7C98\u8D34\u56FE\u7247\u7B49\u64CD\u4F5C`,Be=["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 at(Ge){return/^\d+$/.test(Ge)?`${Ge}px`:Ge}const bt=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",St={[bt+"-B"]:"bold",[bt+"-I"]:"italic"},mn={[Va]:"\u6DFB\u52A0\u94FE\u63A5",[Da]:"\u6DFB\u52A0\u4EE3\u7801\u5757",[yn]:"\u6DFB\u52A0\u56FE\u7247",[Ft]:"\u6DFB\u52A0\u753B\u56FE",[an]:"\u63D2\u5165\u6D41\u7A0B\u56FE",[pa]:"\u6DFB\u52A0\u8868\u683C","maths-latex":"\u6570\u5B66\u56FE\u50CF","inline-latex":"LATEX\u516C\u5F0F"};var Kt=({defaultValue:Ge="",onChange:Ye,width:Ue="100%",height:Bt=400,miniToolbar:un=!1,isFocus:pn=!1,watch:ra,insertTemp:Vn,mode:Ln="markdown",id:jn="markdown-editor-id",showResizeBar:Tn=!1,noStorage:jt=!1,showNullButton:La=!1,showNullProgramButton:ir=!1,hidetoolBar:oo=!1,fullScreen:Wa=!1,onBlur:zt,onCMBeforeChange:jr,onFullScreen:Ta,className:vr="",disablePaste:er=!1,disabled:_r=!1,disabledFill:br=!1,placeholder:qr="",values:wr="",extraUse:oa})=>{const[$t,Xa]=(0,b.useState)(null),[ua,tr]=(0,b.useState)(Ge),[Oa,hn]=(0,b.useState)(ra),[$n,Aa]=(0,b.useState)(Wa),[Wn,qa]=(0,b.useState)(""),[Ka,pr]=(0,b.useState)(0),[Tr,nr]=(0,b.useState)(Bt),[Ho,Ao]=(0,b.useState)(!1),hi=(0,b.useRef)((0,ia.Z)()),Pr=(0,b.useRef)(!1),Br=(0,b.useRef)(),[uo,Ha]=(0,b.useState)(0),[Zr,Hr]=(0,b.useState)(0),lr=(0,b.useRef)(),zr=(0,b.useRef)(),fo=(0,b.useRef)(),Qr=(0,b.useRef)(),ja=()=>gr(void 0,null,function*(){var Za;const Hn=yield Fetch("/api/attachments/distinct_hash_val.json",{method:"post",body:{hash_val:hi.current}});(Za=Hn==null?void 0:Hn.attachments)!=null&&Za.length&&(console.log("cm:",$t,lr),Hn.attachments.map(kn=>{kn.content_type.indexOf("image")>-1?$t.replaceSelection(`![,](/api/attachments/${kn.id}?type=${kn.content_type})`):kn.content_type.indexOf("video")>-1?$t.replaceSelection(`<video width="100%" controls src="${ENV.API_SERVER}/api/attachments/${data.id}"></video>`):kn.content_type.indexOf("pdf")>-1?$t.replaceSelection(`<a href="${ENV.API_SERVER}/api/attachments/${kn.id}?type=${kn.content_type}&disposition=inline" target="_blank">${kn.name}</a>`):$t.replaceSelection(`[${kn.name}](${ENV.API_SERVER}/api/attachments/${kn.id}?type=${kn.content_type})`)}))});(0,b.useEffect)(()=>{const Za=window.scrollY||window.pageYOffset;tr(wr),$t==null||$t.setValue(wr),window.scrollTo(0,Za)},[wr]),(0,b.useEffect)(()=>{Ta==null||Ta($n)},[$n]),(0,b.useEffect)(()=>{if(lr.current){let Za=function(kn,me){var pt;if(er){me.preventDefault();return}const xt=me.clipboardData;if(xt){const gn=xt.types.toString(),Et=xt.items;if(gn==="Files"||xt.types.indexOf("Files")>-1){if(me.preventDefault(),Ln=="stex")return;try{let wn=Et[1];((pt=Et[0])==null?void 0:pt.kind)==="file"&&(wn=Et[0]);const Fn=wn.getAsFile(),fn=Fn.name.split(".").pop();(0,Te.I)(Fn,bn=>{var Ma,or,hr;bn.id?((Ma=Fn==null?void 0:Fn.type)==null?void 0:Ma.indexOf("image"))>-1?Hn.replaceSelection(`<img width="100%" src="/api/attachments/${bn.id}?type=${bn.content_type})" alt="" />`):((or=Fn==null?void 0:Fn.type)==null?void 0:or.indexOf("video"))>-1?Hn.replaceSelection(`<video width="100%" controls src="/api/attachments/${bn.id}"></video>`):((hr=Fn==null?void 0:Fn.type)==null?void 0:hr.indexOf("pdf"))>-1?Hn.replaceSelection(`<a href="/api/attachments/${bn.id}?type=${Fn.type}&disposition=inline" target="_blank">${Fn.name}</a>`):Be.includes(fn)?Hn.replaceSelection(`<a href="/api/attachments/${bn.id}?type=office&disposition=inline" target="_blank">${Fn.name}</a>`):Hn.replaceSelection(`[${Fn.name}](/api/attachments/${bn.id}?type=${bn.content_type})`):(bn==null?void 0:bn.status)===401&&(Ea.ZP.warning((bn==null?void 0:bn.message)||"\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),document.location.href="/user/login")})}catch(wn){Ea.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};const Hn=De().fromTextArea(lr.current,{mode:Ln,lineNumbers:!un,lineWrapping:!0,value:Ge,autoCloseTags:!ir,autoCloseBrackets:!0});return Hn.on("keyup",function(kn,me){me.keyCode===8&&(kn.getValue()==""?Hn.setOption("placeholder",qr):Hn.setOption("placeholder",null))}),Hn.on("keydown",function(kn,me){if(me.keyCode===8){var pt=ai(kn);pt&&me.preventDefault()}}),pn&&Hn.focus(),Hn.on("paste",Za),Hn.on("dragleave",function(kn,me){zr.current.classList.remove("mouse-hover-md")}),_r&&Hn.on("beforeChange",function(kn,me){(me.origin==="paste"||me.origin==="+input")&&me.cancel()}),Xa(Hn),()=>{Hn.off("paste",Za)}}},[]);const Io=(0,b.useCallback)(()=>{if(zr.current)try{}catch(Za){console.log(Za,"---- to set md editor body height")}},[Tr,zr,$n]);(0,b.useEffect)(()=>{function Za(){let Hn=new Ae.Z(kn=>{for(let me of kn)(me.target.offsetHeight>0||me.target.offsetWidth>0)&&(Io(),$t.setSize("100%","100%"),$t.refresh())});return Hn.observe(lr.current.parentElement),Hn}if($t){const Hn=Za();return()=>{var kn,me;(kn=lr.current)!=null&&kn.parentElement&&Hn.unobserve((me=lr.current)==null?void 0:me.parentElement)}}},[$t,Io]),(0,b.useEffect)(()=>{if($t){let Za=[];for(const[Hn,kn]of Object.entries(St)){let me={[Hn]:()=>{oi(kn)}};Za.push(me),$t.addKeyMap(me)}return Br.current=setInterval(()=>{Pr.current&&ja()},4e3),()=>{clearInterval(Br.current);for(let Hn of Za)$t.removeKeyMap(Hn)}}},[$t]),(0,b.useEffect)(()=>{Wa!==$n&&Aa(Wa)},[Wa]),(0,Ga.Z)(()=>{if(!jt&&Ka>0){let Za=new Date().getTime(),Hn=window.sessionStorage.getItem(jn);Za>=Ka+ho&&(!Hn||Hn!==ua)&&(window.sessionStorage.setItem(jn,ua),Ao(!0))}},ho),(0,b.useEffect)(()=>{hn(ra)},[$t,ra]),(0,b.useEffect)(()=>{$t&&pn&&$t.focus()},[$t,pn]),(0,b.useEffect)(()=>{if(Oa&&$t){let Za=function(kn){let me=kn.target;if(Qr.current){let pt=me.scrollTop/me.scrollHeight;Qr.current.scrollTop=Qr.current.scrollHeight*pt}};const Hn=$t.getScrollerElement();return Hn.addEventListener("scroll",Za),()=>{Hn.removeEventListener("scroll",Za)}}},[$t,Oa]),(0,b.useEffect)(()=>{if($t&&jr){let Za=function(Hn,kn){jr(Hn,kn)};return $t.on("beforeChange",Za),()=>{$t.off("beforeChange",Za)}}},[$t,jr]),(0,b.useEffect)(()=>{if($t&&zt){let Za=function(){zt($t.getValue())};return $t.on("blur",Za),()=>{$t.off("blur",Za)}}},[$t,zt]);function ai(Za,Hn){var kn=Za.getDoc(),me=kn.getCursor(),pt=kn.getLine(me.line),xt=pt.charAt(me.ch-1),gn=pt.lastIndexOf("@\u2581@",me.ch),Et=pt.lastIndexOf("@\u2581\u2581@",me.ch),wn=gn>Et?gn:Et,Fn=gn>Et?3:4;if(Zn.indexOf(xt)===-1)return null;if(console.log("change1:",Hn,Za,pt,me,wn,gn,Et,xt),wn>=0&&me.ch-wn<5){var fn=wn+Fn;return kn.replaceRange("",{line:me.line,ch:wn},{line:me.line,ch:fn}),{line:me.line,ch:fn}}return null}(0,b.useEffect)(()=>{if($t){let Za=function(Hn,kn){const me=Hn.getValue();tr(me),pr(new Date().getTime()),Hn.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),Ye&&(ir?Ye(me,bl(me)):Ye(me))};return $t.on("change",Za),()=>{$t.off("change",Za)}}},[$t,Ye]),(0,b.useEffect)(()=>{if($t)if(Ge==null)$t.setValue(""),tr("");else{const Za=window.scrollY||window.pageYOffset;Ge!==$t.getValue()&&($t.setValue(Ge),tr(Ge),$t.setCursor(_r?1:$t.lineCount(),0),window.scrollTo(0,Za))}},[$t,Ge]);const oi=(0,b.useCallback)(Za=>{const Hn=$t.getCursor(),kn=$t.getSelection();let me=kn.split(`
`);switch(Za){case"bold":return $t.replaceSelection("**"+kn+"**"),kn===""&&$t.setCursor(Hn.line,Hn.ch+2),$t.focus();case"italic":return $t.replaceSelection("*"+kn+"*"),kn===""&&$t.setCursor(Hn.line,Hn.ch+1),$t.focus();case"code":return $t.replaceSelection("`"+kn+"`"),kn===""&&$t.setCursor(Hn.line,Hn.ch+1),$t.focus();case"inline-latex":return qa("inline-latex"),$t.focus();case"latex":return $t.replaceSelection("```latex\n"+kn+"\n```"),$t.setCursor(Hn.line+1,kn.length+1),$t.focus();case"line-break":return $t.replaceSelection(`<br/>
`),$t.focus();case"list-ul":return kn===""?$t.replaceSelection("- "+kn):$t.replaceSelection(me.map(pt=>pt===""?"":`- ${pt}`).join(`
`)),$t.focus();case"list-ol":return kn===""?$t.replaceSelection("1. "+kn):$t.replaceSelection(me.map((pt,xt)=>pt===""?"":`${xt+1}. ${pt}`).join(`
`)),$t.focus();case"add-null-ch":return kn===""&&$t.setCursor(Hn.line,Hn.ch),$t.replaceSelection(Ht),$t.focus();case"add-signal":return kn===""&&$t.setCursor(Hn.line,Hn.ch),$t.replaceSelection(qn),$t.focus();case"add-multiple":return kn===""&&$t.setCursor(Hn.line,Hn.ch),$t.replaceSelection(Zn),$t.focus();case"inster-template-1":return kn===""&&$t.setCursor(Hn.line,Hn.ch),$t.replaceSelection(Sa),$t.focus();case"eraser":return $t.setValue(""),$t.focus();case"trigger-watch":return hn(!Oa),$t.focus();case"trigger-full-screen":return Aa(!$n),$t.focus();case Va:qa(Va);return;case Da:qa(Da);return;case yn:qa(yn);return;case Ft:qa(Ft);return;case"maths-latex":qa("maths-latex");return;case an:qa(an);return;case pa:qa(pa);return;default:throw new Error}},[$t,Oa,$n]),Gr=(0,b.useCallback)((Za,Hn)=>{var kn,me,pt,xt,gn,Et;switch(qa(""),Wn){case Va:const{title:Ma,link:or}=Za;return $t.replaceSelection(`[${Ma}](${or})`),$t.focus();case Da:const{language:hr,content:ca}=Za;return $t.replaceSelection(["```"+hr,ca,"```"].join(`
`)),$t.focus();case"maths-latex":for(var wn=atob(Za),Fn=new Uint8Array(wn.length),fn=0;fn<wn.length;fn++)Fn[fn]=wn.charCodeAt(fn);var bn=new Blob([Fn],{type:"image/png"});(0,Te.I)(bn,si=>{si.id?$t.replaceSelection(`![,](/api/attachments/${si.id}?type=${si.content_type})`):(si==null?void 0:si.status)===401&&(document.location.href="/user/login")});break;case"inline-latex":$t.replaceSelection("`$$"+Za+"$$`");break;case yn:case Ft:case Gt:const{src:ma,alt:ar}=Za,sr=Hn,_o=(pt=(me=(kn=sr==null?void 0:sr.name)==null?void 0:kn.split("."))==null?void 0:me.pop)==null?void 0:pt.call(me);return((xt=sr==null?void 0:sr.type)==null?void 0:xt.indexOf("image"))>-1||!(sr!=null&&sr.type)?sr.align||sr.width?$t.replaceSelection(`<p style="text-align:${sr.align||"initial"}"><img width="${sr.width?sr.width+"%":"initial"}" src="${ma}" alt="${ar||""}" /></p>`):$t.replaceSelection(`<img width="100%" src="${ma}" alt="${ar||""}" />`):((gn=sr==null?void 0:sr.type)==null?void 0:gn.indexOf("video"))>-1?$t.replaceSelection(`<video width="100%" controls src="${ma}"></video>`):((Et=sr==null?void 0:sr.type)==null?void 0:Et.indexOf("pdf"))>-1?$t.replaceSelection(`<a href="${ma}?type=${sr.type}&disposition=inline" target="_blank">${sr.name}</a>`):Be.includes(_o)?$t.replaceSelection(`<a href="${ma}?type=office&disposition=inline" target="_blank">${sr.name}</a>`):$t.replaceSelection(`[${sr.name}](${ma})`),$t.focus();case pa:const{row:Jo,col:Oo,align:Uo}=Za;let ri=`
`;for(let si=0;si<Jo;si++){let Fl=[],$i=[];for(let el=0;el<Oo;el++)si===1&&$i.push(ha[Uo]),Fl.push(" ");si===1&&(ri+=`| ${$i.join(" | ")} |
`),ri+=`| ${Fl.join(Oo===1?"":" | ")} |
`}return $t.replaceSelection(ri+`
`),$t.focus();default:throw new Error}},[$t,Wn]),ii=(0,b.useMemo)(()=>{switch(Wn){case Va:return b.createElement(Wt,{callback:Gr,onCancel:Ko});case Da:return b.createElement(_t.Z,{callback:Gr,onCancel:Ko});case yn:return b.createElement(Te.Z,{callback:Gr,onCancel:Ko});case an:return b.createElement(aa,{callback:Gr,onCancel:Ko});case pa:return b.createElement(zn,{callback:Gr,onCancel:Ko});case"maths-latex":return b.createElement(da,{showSaveButton:!0,callback:Gr});case"inline-latex":return b.createElement(ea.Z,{showSaveButton:!0,callback:Gr});default:return null}},[Wn]);function Ko(){qa("")}(0,b.useEffect)(()=>{if(fo.current){let Za=function(gn){pt=!0,xt=gn.pageY},Hn=function(){pt=!1},kn=function(gn){if(pt){let Et=gn.pageY-xt;Et<0&&(Et=0),Et>300&&(Et=300);let wn=Bt+Et+"px";nr(wn)}},me=fo.current,pt=!1,xt=0;return me.addEventListener("mousedown",Za),document.addEventListener("mousemove",kn),document.addEventListener("mouseup",Hn),()=>{me.removeEventListener("mousedown",Za),document.removeEventListener("mousemove",kn),document.removeEventListener("mouseup",Hn)}}},[$t,fo]),(0,b.useEffect)(()=>{nr(Bt)},[Bt]);const sl=at(Ue),wi=at(Tr),Ki={width:sl,height:wi},ko=(0,b.useMemo)(()=>{if(Ka){let Za=new Date(Ka),Hn=Za.getHours(),kn=Za.getMinutes(),me=Za.getSeconds();return Hn=Hn<10?"0"+Hn:Hn,kn=kn<10?"0"+kn:kn,me=me<10?"0"+me:me,`${Hn}:${kn}:${me}`}return 0},[Ka]),bl=Za=>{const Hn=[];if(ir){let kn=-1;Za=Za.replace(/(@▁▁@|@▁@)/g,function(me,pt,xt){Hn.push({multiLine:me!==qn})})}return Hn};function Kl(){window.sessionStorage.removeItem(jn),Ao(!1),pr(0)}function Ri(){Ao(!1),pr(0),$t.setValue(window.sessionStorage.getItem(jn))}(0,b.useEffect)(()=>{mn[Wn]&&Wn!==Ft&&Wn!==an&&setTimeout(()=>{const Za=document.getElementsByClassName("markdown-popup-form")[0],Hn=window.innerWidth/2-Za.offsetWidth/2,kn=window.innerHeight/2-Za.offsetHeight/2;Ha(Hn),Hr(kn)},0)},[Wn]);const ji=Za=>{Za.preventDefault();const Hn=Za.clientX-uo,kn=Za.clientY-Zr;document.body.onmousemove=me=>{let pt=me.clientX-Hn,xt=me.clientY-kn;const gn=document.getElementsByClassName("markdown-popup-form")[0],Et=window.innerWidth-gn.offsetWidth,wn=window.innerHeight-gn.offsetHeight;pt=Math.max(0,Math.min(pt,Et)),xt=Math.max(0,Math.min(xt,wn)),dl(me.clientX,me.clientY,Hn,kn)&&(Ha(pt),Hr(xt))},document.body.onmouseup=function(){document.body.onmousemove=null}},dl=(Za,Hn,kn,me)=>{const pt=document.body.clientHeight,xt=document.body.clientWidth;return Za<20&&kn>Za||Za>xt-20&&kn<Za||Hn<20&&me>Hn||Hn>pt-20&&me<Hn?(document.body.onmousemove=null,document.body.onmouseup=null,!1):!0};return b.createElement(b.Fragment,null,b.createElement("div",{className:"markdown-editor-wrapper",ref:zr},b.createElement("div",{className:`markdown-editor-container ${vr} ${Oa?"on-preview":""} ${un?"mini":""} ${$n?"full-screen":""}`,style:Ki},b.createElement(Fe,{insertTemp:Vn,watch:Oa,fullScreen:$n,showNullButton:La,showNullProgramButton:ir,onActionCallback:oi,hidetoolBar:oo,extraUse:oa}),b.createElement("div",{className:"markdown-editor-body"},b.createElement("div",{className:"codemirror-container"},b.createElement("textarea",{ref:lr,placeholder:qr})),Oa?b.createElement("div",{ref:Qr,className:"preview-container"},Ln==="stex"&&b.createElement(He,{value:ua}),Ln!=="stex"&&b.createElement(_e.Z,{disabledFill:br,showProgramFill:ir,value:ua})):null))),Tn?b.createElement("a",{ref:fo,className:"editor-resize"}):null,Wn===Ft&&b.createElement(ln,{callback:Gr,onCancel:Ko}),Wn===an&&b.createElement(aa,{callback:Gr,onCancel:Ko}),b.createElement(We.Z,null,mn[Wn]&&Wn!==Ft&&Wn!==an?b.createElement(ot.default,{maskClosable:!1,centered:!0,style:{position:"absolute",left:uo,top:Zr},title:b.createElement("div",{style:{cursor:"move"},onMouseDown:ji},mn[Wn]),open:!0,onCancel:Ko,footer:null,destroyOnClose:!0,width:Wn===an?"1200px":null,height:Wn===an?"80vh":null,className:"markdown-popup-form"},ii):null))}},17077:function(yt,kt,oe){"use strict";oe.d(kt,{Z:function(){return Se},I:function(){return We}});var b=oe(78241),he=oe(8591),De=oe(92832),Ae=oe(81327),ke=oe(5871),ze=oe(5112),xe=oe(3113),tt=oe(46699),Me=oe(59301),Le=oe(48790),_e=oe(59301),He=Object.defineProperty,Ke=Object.defineProperties,le=Object.getOwnPropertyDescriptors,E=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable,y=(Ne,mt,Re)=>mt in Ne?He(Ne,mt,{enumerable:!0,configurable:!0,writable:!0,value:Re}):Ne[mt]=Re,z=(Ne,mt)=>{for(var Re in mt||(mt={}))a.call(mt,Re)&&y(Ne,Re,mt[Re]);if(E)for(var Re of E(mt))x.call(mt,Re)&&y(Ne,Re,mt[Re]);return Ne},te=(Ne,mt)=>Ke(Ne,le(mt));const{useForm:ae}=b.default,se={width:280,marginRight:10},ie={labelCol:{span:5},wrapperCol:{span:19}};var Se=({callback:Ne,onCancel:mt})=>{const[Re]=ae();let Je=(0,Me.useRef)();function Qe(ht){Je.current.width=Re.getFieldValue("width"),Je.current.align=Re.getFieldValue("align"),Ne(ht,Je.current)}function et(ht,ct){if(ht.status===-1){he.ZP.error(ht.message);return}Re.setFieldsValue({src:`/api/attachments/${ht.id}`,type:ct.type})}function we(ht){let ct=ht.target.files[0];Je.current=ct,We(ct,et)}return _e.createElement(b.default,te(z({form:Re},ie),{className:"upload-image-panel",onFinish:Qe,style:{width:470,overflow:"hidden"}}),_e.createElement(b.default.Item,{label:"\u56FE\u7247\u5730\u5740",required:!0},_e.createElement("div",{className:"flex-container"},_e.createElement(b.default.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5730\u5740"}]},_e.createElement(De.default,{style:se})),_e.createElement(Fe,{onFileChange:we}))),_e.createElement(b.default.Item,{label:"\u56FE\u7247\u63CF\u8FF0",name:"alt"},_e.createElement(De.default,{style:{width:264}})),_e.createElement(b.default.Item,{label:"\u56FE\u7247\u5BBD\u5EA6",name:"width"},_e.createElement(Ae.Z,null,_e.createElement(b.default.Item,{name:"width",style:{margin:0}},_e.createElement(ke.Z,{style:{width:264}})),_e.createElement("span",{className:"ml8"},"%"))),_e.createElement(b.default.Item,{label:"\u5BF9\u9F50\u65B9\u5F0F",name:"align"},_e.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"}]})),_e.createElement("aside",null,_e.createElement(b.default.Item,{style:{textAlign:"right",position:"relative",right:-98}},_e.createElement(xe.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),_e.createElement(xe.ZP,{type:"default",onClick:mt},"\u53D6\u6D88"))))};function Fe({onFileChange:Ne}){return _e.createElement("label",{className:"upload-button",style:{cursor:"pointer"}},"\u672C\u5730\u4E0A\u4F20",_e.createElement("input",{type:"file",onChange:Ne}))}function We(Ne,mt){if(!Ne)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 Re=new FormData;Re.append("editormd-image-file",Ne),Re.append("file_param_name","editormd-image-file"),Re.append("byxhr","true");var Je=new window.XMLHttpRequest;Je.withCredentials=!0,Je.addEventListener("load",function(Qe){mt(JSON.parse(Qe.target.responseText),Ne)},!1),Je.addEventListener("error",function(Qe){console.error(Qe)},!1),Je.open("POST",`${tt.KI}/api/attachments.json`),Je.send(Re)}},91558:function(yt,kt,oe){"use strict";oe.d(kt,{Z:function(){return De}});var b=oe(59301),he=oe(4676);class De extends b.Component{constructor(ke){super(ke);const ze=window.document;this.node=ze.createElement("div"),ze.body.appendChild(this.node)}render(){const{children:ke}=this.props;return(0,he.createPortal)(ke,this.node)}componentWillUnmount(){window.document.body.removeChild(this.node)}}},7501:function(yt,kt,oe){"use strict";oe.d(kt,{i:function(){return se},Z:function(){return Se}});var b={flex_box_center:"flex_box_center___AQ53o",flex_space_between:"flex_space_between___i2aIa",flex_box_vertical_center:"flex_box_vertical_center___sPEKB",flex_box_center_end:"flex_box_center_end___GhSSH",flex_box_column:"flex_box_column___R9_Hb",list:"list___jb2Ay",wrap:"wrap___VsQDr",lockWrap:"lockWrap___g1k1T",li:"li___IxCLC",cover:"cover___Mu8wr",img:"img___IpFLA",movebq:"movebq___mF7wt",bq:"bq___Bil0T",sign:"sign___DXJ4d",name:"name___l7FoJ",e:"e___pXQUG",unit:"unit___wCIFR",tags:"tags___w_Mil",tag1:"tag1___dxm7r",tag2:"tag2___llZkf"},he=oe(71418),De=oe(6848),Ae=oe(92310),ke=oe.n(Ae),ze=oe(51257),xe=oe(28426),tt=oe(48790),Me="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGgAAAAgCAYAAAD+Fz2gAAAAAXNSR0IArs4c6QAAEx5JREFUaEPFWwd4FWW6fueE9NATIEAoKkWKgIKVEkBgl2LB6159EFdRwHVd9a67SC+ryFVBEDGAUq57d0WUK6DuigYSeglFMJQIhBJSIIYUQgohObPP9/1l/pmcE7h9nvCcc+bMzJn53v/9vvcrWABQfuovrf3VeMeClWhbVrwFC5Zl0Vfi1aLP/EHu976K42wAtmXBx2cCtk9ew+ZT+bsbbT4/XUWeT1cUf4Bt61faY9v8a2I/vxXn0X7+p86l/bYftu3n7/30Sof6bdAd2351LXmMOl++0nUt/hlxnrg+vVe/6xfPbRwv7oeuJ+5RfUdPz/uMe5VP5zwfkOeDf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p8YdFs4Dx64oxwbfTrmwDrBivpR4DVDQDF/VqYsf+ef3L5SDvAGCVcy/4GKCimrho1yv3tWdR3xgzD9ssC8H6ko8BKpqBi3q1I77sXvBef9M0HX3kxwAV1cRFu95PALhFw2OAimbgol7tB5BbNDwGqKgmLtr1nhJaFw2PASqagYt6db45jhQNMf0Xi7mnon7V4+sfxQIFJqFMNES/v3D+oyz8+Jp/jgX+AT+bS/shEzsoAAAAAElFTkSuQmCC",ae=oe(59301);const se=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:Me,swimg:Le},{name:"101\u8BA1\u5212",ptimg:_e,swimg:He},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:Ke,swimg:le},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:E,swimg:a},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:x,swimg:y},{name:"\u519B\u961F\u4E00\u6D41",ptimg:z,swimg:te}];var Se=({className:Fe,dataSource:We=[],col:Ne=4,right:mt,bottom:Re=23,precision:Je=0,wrapWidth:Qe=1200,trackEventItems:et,loading:we,onRemove:ht=()=>{},isCurrent:ct=!0,showAlias:Lt=!1})=>{const gt=Math.floor((Qe-(Ne-1)*mt)/Ne),Pn=[{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(nn=>(window.ENV==="build"&&(nn.ptimg=`/react/build${nn.ptimg}`,nn.swimg=`/react/build${nn.swimg}`),nn));return ae.createElement(he.Z,{spinning:we},ae.createElement("div",{className:ke()(b.list,Fe)},!!(We!=null&&We.length)&&(We==null?void 0:We.map((nn,Wt)=>{var _t;const{name:Te,id:ot,identifier:Ut,featured:xn,school_name:At,image_url:ln,excellent:Ce,is_plan:ut}=nn;return ae.createElement("div",{key:ot,className:b.wrap,style:{width:gt,marginRight:(1+Wt)%Ne===0?0:mt+Je,marginBottom:Re}},ae.createElement("a",{className:b.li,onClick:Xt=>{Xt.preventDefault(),Xt.stopPropagation(),et&&(0,ze.L9)([et]),(0,ze.xg)(`/paths/${Ut}`)}},ae.createElement("div",{className:b.img},ae.createElement("img",{className:b.cover,src:`${ln}`}),ct&&(0,tt.bg)()&&(nn==null?void 0:nn.studying)&&ae.createElement("div",{className:`${b.movebq} user-path-items`,onClick:Xt=>{Xt.stopPropagation(),ht(nn)}},ae.createElement("i",{className:"iconfont icon-yichu1 mr5 c-red"}),ae.createElement("span",{className:"c-red"},"\u79FB\u9664")),(_t=nn==null?void 0:nn.subject_tags)==null?void 0:_t.map((Xt,nt)=>{var Pt,_n;if(nt===0){const Rt=(Pt=Pn.find(Mt=>Mt.name==Xt))==null?void 0:Pt.swimg;return ae.createElement("img",{className:b.sign,src:Rt,style:{left:"-4px"}})}const sn=(_n=Pn.find(Rt=>Rt.name==Xt))==null?void 0:_n.ptimg;return ae.createElement("img",{className:b.sign,src:sn,style:{left:`${48+52*(nt-1)+2*nt}px`}})}),ae.createElement("div",{style:{position:"absolute",top:"150px",left:"4px"}},(nn==null?void 0:nn.excellent)&&ae.createElement("div",{className:b.bq},"\u5F00\u653E\u8BFE\u7A0B"))),ae.createElement("div",{className:b.name},ae.createElement(De.Z,{title:Lt&&(nn!=null&&nn.excellent_alias_name)?ae.createElement("span",null,`\u8BFE\u7A0B\u539F\u540D\uFF1A${Te}`,ae.createElement("br",null),ae.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${nn==null?void 0:nn.excellent_alias_name}`)):Te},ae.createElement("span",{className:b.e},Lt&&(nn==null?void 0:nn.excellent_alias_name)||Te))),ae.createElement("div",{className:b.tags},ae.createElement("div",null,ae.createElement(De.Z,{placement:"bottom",title:"\u7AE0\u8282\u6570"},ae.createElement("span",null,ae.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),ae.createElement("span",null,nn.stages_count))),ae.createElement(De.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},ae.createElement("span",null,ae.createElement("i",{className:"iconfont icon-chengyuan font14 mr3"}),ae.createElement("span",null,nn.members_count)))))))})),!We.length&&ae.createElement(xe.Z,null)))}},9148:function(yt,kt,oe){"use strict";oe.d(kt,{jL:function(){return ke},w9:function(){return nn},QD:function(){return ea},cQ:function(){return ht.Z},op:function(){return zn},O5:function(){return Sa},_b:function(){return Ft},t7:function(){return y},Gi:function(){return xn},YG:function(){return ot},qp:function(){return _e},vr:function(){return Va},qE:function(){return Ya},Je:function(){return ae},wb:function(){return we},cq:function(){return nt},tp:function(){return le}});var b=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"},De="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE4AAAA0CAYAAAAkEw66AAAAAXNSR0IArs4c6QAAGNVJREFUeF7VmwmwHVWdxr9zuvvu9+3ZXsxCiNkIQZOwEzMgyADjggsWgzPqOAJaMiCjYiGKqDBQAo4iWGAxA+ooMm7gBhSyhBBRIIBSAQlrHuTt7913t97PmfpOd4cXlLAFGO6rW9237719+/z6+6/nPIHX+XHttddaex38nlW2lLO1svq1wJ4aeFMM9CqFnNKoaYVapDAOic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Zreitwr0dSRK5J0YbwJDLfo39eWTDrTOebkDeL2+13e5nnPZfrh/UTdmVvOJb6fq6OsIzziK9H8lCI6RldtMcX46ZbDT9V//oJ6fAz4iBI7VMfYp5SBmEFw1uTNcezFcB56YQPv329qHfPXo8n2vF4BX8rsXbdS/WD0L72ZThfA4NrqiLIdlMGSfjtBYn1Nx9HH1wDQ7Nj9v6/zGB3S5HWCvUlFfvWiGWMYFQpQzzXSoAfxlWD1w0X1y33tPEkyy33CPk6/TBx8yF7f05pDjuIrOzuaaVUoExxKT43a5akFCtVys3+Wcwweu1dbHV+LxN3VhPsEx8jANGfOAh4eiL5x0iHPeG47YtAv+9I3xp9f0yIvLDAw6ySIY/ExSnpkqVcels/x/syLgtXHpx9bhlF2CO/tanVuzHHfPqmJVOf0nNdr5SFP7D02Eb/3iEfkdtdsbFeCXbtYfXlDGueU85iKZsjXZklnpyZdpGmgWFcS4pGsQnzvuOBG/4CzXFX/Qp+zZi28pPzkZHeNIS337X2+Qp+IckWajb1RsyXWffqOeN8tRH+rKyWOhsSBnYyYziiCAa0k8EQKb2kF01acPc3akXS8IbsW1Onf6AnVib16ewqWz21vq9qu2yNPeqL7thW7xZ65391jcV1jE/1qKFcaeCfDwOYeK9D83nv32/wHzrWgvjJ8Q7AAAAABJRU5ErkJggg==",ke=({dataSource:Be=[],img:at,imgWidth:st=346,title:bt,sunTitle:St,bannerExtraContent:mn})=>b.createElement("div",{className:he.banner},b.createElement("div",{className:he.content},b.createElement("aside",null,b.createElement("p",null,b.createElement("b",null,bt),b.createElement("span",null,St)),Be.length>0&&b.createElement("div",{className:he.btns},Be.map((Kt,Ge)=>b.createElement("div",{key:Ge,onClick:Kt.click},Kt.name,Kt.sign?b.createElement("img",{src:De,width:39}):null))),mn),at&&b.createElement("img",{style:{marginTop:33,marginRight:38},src:at,width:st}))),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"},xe=oe(92310),tt=oe.n(xe),Me=oe(89392),_e=({dataSource:Be=[],value:at,onChange:st,onTitleChange:bt,className:St,title:mn,titleWidth:Kt=41,style:Ge={},fontColor:Ye="#6A7283",showCount:Ue})=>{const[Bt,un]=(0,b.useState)(0),[pn,ra]=(0,b.useState)(!1),Vn=(0,b.useRef)(null),Ln=(0,b.useRef)(null);return(0,b.useEffect)(()=>{var jn;Be.length!==0&&(((jn=Vn==null?void 0:Vn.current)==null?void 0:jn.clientHeight)>97?un(1):un(0)),Be.length===0&&un(0),ra(!1)},[Be]),b.createElement("div",{className:tt()(ze.row,St),style:Ge},b.createElement("div",{onClick:(0,Me.throttle)(()=>bt==null?void 0:bt(),2e3),style:{width:Kt,marginTop:pn?12:4},className:`${ze.title} ${bt?"current":""}`},mn),b.createElement("div",{className:pn?`${ze.tagsWrap} ${ze.tagsBorderWrap}`:ze.tagsWrap},b.createElement("div",{className:ze.bar,ref:Ln,style:Bt>0?{height:Bt===1?97:"auto",overflow:Bt===1?"hidden":"auto",paddingRight:55}:{paddingRight:0}},b.createElement("div",{className:ze.tag,ref:Vn},Be==null?void 0:Be.map(jn=>b.createElement("span",{onClick:()=>st(jn.id),key:jn.id,style:{color:Ye},className:at===jn.id?ze.active:""},b.createElement("span",{title:jn.name,className:ze.name},jn.name),!!Ue&&b.createElement("span",{className:ze.num},jn.count))))),!!Bt&&b.createElement(b.Fragment,null,Bt===1?b.createElement("div",{onClick:()=>{var jn;un(2),((jn=Vn==null?void 0:Vn.current)==null?void 0:jn.clientHeight)>245?ra(!0):ra(!1)},className:ze.action},"\u5C55\u5F00",b.createElement("i",{style:{transform:"translateY(1px) scale(0.6)"},className:"iconfont icon-zhankai4"})):b.createElement("div",{onClick:()=>{Ln.current.scrollTop=0,un(1),ra(!1)},className:ze.action},"\u6536\u8D77",b.createElement("i",{style:{transform:"translateY(0px) scale(0.6)"},className:"iconfont icon-shouqi3"})))))},He={flex_box_center:"flex_box_center___aK2n3",flex_space_between:"flex_space_between___HX0Oh",flex_box_vertical_center:"flex_box_vertical_center___LJOJr",flex_box_center_end:"flex_box_center_end___SCakF",flex_box_column:"flex_box_column___AYv4m",tabs:"tabs___GTqPV",active:"active___F26E8"},le=({dataSource:Be=[],value:at,onChange:st,className:bt,style:St={}})=>b.createElement("div",{style:St,className:tt()(He.tabs,bt)},Be.map(mn=>b.createElement("span",{onClick:()=>st(mn.id),className:at===mn.id?He.active:"",key:mn.id},mn.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:Be=[],value:at="",onChange:st,onInputChange:bt=()=>{},className:St,style:mn={},placeholder:Kt,allowClear:Ge=!1})=>{var Ye;const[Ue,Bt]=(0,b.useState)(""),[un,pn]=(0,b.useState)("");(0,b.useEffect)(()=>{var Ln;let jn=at;(Ln=JSON.stringify(at))!=null&&Ln.includes("{")&&(Bt(at.id),jn=at.value||"");try{pn(decodeURIComponent(jn||""))}catch(Tn){pn(decodeURIComponent(jn||""))}},[at]);const ra=()=>{st(encodeURIComponent(un),Ue||null)},Vn=Ln=>{Ln!==Ue&&(Bt(Ln),st(encodeURIComponent(un),Ln))};return b.createElement("div",{className:tt()(E.input,St),style:mn},!!Be.length&&b.createElement("div",{className:E.dropdown},b.createElement("div",{className:E.text},(Ye=Be.find(Ln=>Ln.id===Ue))==null?void 0:Ye.name,b.createElement("i",{className:"iconfont icon-zhankai4"}),b.createElement("b",{className:E.b1}),b.createElement("b",{className:E.b2})),b.createElement("div",{className:E.menu},Be.map((Ln,jn)=>b.createElement("div",{key:jn,onClick:()=>Vn(Ln.id)},Ln.name)))),b.createElement(a.default,{onPressEnter:ra,value:un,onChange:Ln=>{pn(Ln.target.value),bt(encodeURIComponent(Ln.target.value),Ue||null)},bordered:!1,placeholder:Kt}),b.createElement("i",{onClick:ra,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"},ae=({value:Be,onChange:at,className:st,total:bt,pageSize:St,style:mn={}})=>{const Kt=Be<2,Ge=Be>=Math.ceil(bt/St);return bt<=St?b.createElement(b.Fragment,null):b.createElement("div",{className:tt()(z.quickPager,st),style:mn},b.createElement("div",{onClick:()=>{Kt||at(Be-1,"prev")},className:Kt?z.disabled:""},"\u4E0A\u4E00\u9875"),b.createElement("div",{onClick:()=>{Ge||at(Be+1,"next")},className:Ge?z.disabled:""},"\u4E0B\u4E00\u9875"))},se={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"},ie=oe(71418),Se=oe(6848),Fe=oe(13570),We=oe(346),Ne=oe(51257),mt=oe(96908),Re=oe(57177),Je=oe(81378),Qe=oe(28426),we=({className:Be,dataSource:at=[],col:st=4,right:bt,bottom:St=23,precision:mn=0,wrapWidth:Kt=1200,trackEventItems:Ge,loading:Ye})=>{const Ue=Math.floor((Kt-(st-1)*bt)/st);return b.createElement(ie.Z,{spinning:Ye},b.createElement("div",{className:tt()(se.list,Be)},!!at.length&&at.map((Bt,un)=>{const{name:pn,id:ra,identifier:Vn,power:Ln,cover_image_id:jn,pic:Tn}=Bt;return b.createElement("div",{className:se.wrap,key:ra,style:{width:Ue,marginRight:(1+un)%st===0?0:bt+mn,marginBottom:St}},b.createElement("a",{target:"_blank",href:`/shixuns/${Vn}/challenges`,className:se.li,onClick:jt=>{jt.preventDefault(),Ge&&(0,Ne.L9)([Ge]),Ln&&(0,Ne.xg)(`/shixuns/${Vn}/challenges`)}},b.createElement("div",{className:se.img},b.createElement("img",{className:se.cover,src:`${Tn}`}),Bt.is_jupyter&&b.createElement("img",{className:se.sign,src:mt}),Bt.is_jupyter_lab&&b.createElement("img",{className:se.sign,src:Re}),Bt.is_unity_3d&&b.createElement("img",{className:se.sign,src:Je})),b.createElement("div",{className:se.name},b.createElement(Se.Z,{title:pn||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},b.createElement("span",{className:se.e},pn||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),b.createElement("div",{className:se.tags},b.createElement(Se.Z,{placement:"bottom",title:"\u5173\u5361\u6570"},b.createElement("span",null,b.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),b.createElement("span",null,Bt.challenges_count))),!!Bt.myshixuns_count&&b.createElement(Se.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},b.createElement("span",null,b.createElement("i",{className:"iconfont icon-chengyuan font14 mr2"}),b.createElement("span",null,Bt.myshixuns_count))),b.createElement(Se.Z,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},b.createElement("span",null,b.createElement("span",null,Bt.level))),b.createElement("div",{className:se.rate},b.createElement(Fe.Z,{allowHalf:!0,disabled:!0,defaultValue:Bt.score_info}),b.createElement("span",null,"\xA0",Bt.score_info?`${Bt.score_info}\u5206`:"5\u5206")))),!Ln&&b.createElement("div",{className:se.lockWrap},b.createElement("img",{src:`${We.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),b.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!at.length&&b.createElement(Qe.Z,null)))},ht=oe(7501),ct={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"},Lt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JKmEQPILClJZfpEfIUAChFQSHIJxnGDiDYwsb8KRLUuWZcmSxqN9pJF6nV7eSZ373u1509Mzvd2eGVt6VV2z9Ht3+9459+yX8Bq4mDmWK2GLqla3MvFWZt4KpjVMSBNzGoQ0M6WJkJbpMiNDxBkwMkyUIUYGxCeJaB8x7fMcZ18yiv1EVHy1Lw+9GicwO8tXlSrlbSB6O4HfANAmZlY250JEHsBHGLQTzA9H3chDfX2012Yfy9HWqwJgZh7NF6vvY/a2gWkbgyeWY3Hq+yDQcRA/RKQeSsSce4jo9EqMo50+Vy3AzNxXKFTv9MAfB/AuZo60M7Fe30tEZQA/UqBvx+POvUQ02+s+O2l/1QG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dtuiFYBDlHz3RXbdHSTClknRB7qlXDMKawCbPbnK9F8XBa9OQRYrFb+nmz23vmerABvpulwt339RhWoPZFGFIk7k9k6l5cV6sw6w0ZOrqHzvojGkRZCJdjhwP9iJntush54ALJ2KwJUrVL4M4A9frbbrZovX7fdiWwbwN8m4+7l2LVSt9t0zgM0AxEHhVflbF/flBbvjtHLot9pxHLQK6jxdupOH2n1GuxpR+S6Yb2332dfk/USPOnA/2qrLr5s16DkFm8EJm84Xq5/wPP7LC5eaaVop+pNEzPlmwJ67wa6lZ5cN4BDQw9l8+StEdNeFsjcLmMz89VQi8qdEdKYlZCzdtOwAm3EHIblfZeabLc1lVTYjccsK/NlEIvrESgxwxQAOCWHv9jz+Aph/cSUWoGd9Ej2mFH3RlkWq03GuOMBm4JLwRh4+z+DbOp3ManhOsvxY4UvpeOSR1TGe1TCK0BiC/OS7APoQwKHqHKtsoPOGQzMA/7sCvp5MRp9aTSNdNRRcvyhSTqJQqN7pgT8O4F3MvArC3uZGKdVsAPxIgb4djzv3EtHsagLWjGXVAhxeLCnxlC9W38fsbQPTNgZPrMRiSgU5ED9EpB5KxJx7iKjFkxlXYrR+n68KgOuXJ6ituQ1E2wj8eoA2McuxWPYuqbcM8BEG7QTzw1E38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",gt=oe(59301),nn=({className:Be,dataSource:at=[],col:st=4,right:bt,bottom:St=23,precision:mn=0,wrapWidth:Kt=1200,trackEventItems:Ge,loading:Ye})=>{const Ue=Math.floor((Kt-(st-1)*bt)/st);return gt.createElement(ie.Z,{spinning:Ye},gt.createElement("div",{className:tt()(ct.list,Be)},!!at.length&&at.map((Bt,un)=>{const{subject_identifier:pn,id:ra,identifier:Vn,power:Ln}=Bt,jn=Bt.is_public!=0&&Bt.is_public;return gt.createElement("div",{className:ct.wrap,key:ra,style:{width:Ue,marginRight:(1+un)%st===0?0:bt+mn,marginBottom:St}},gt.createElement("a",{className:ct.li,onClick:Tn=>{Tn.preventDefault(),Ge&&(0,Ne.L9)([Ge]),(0,Ne.xg)(Bt.first_category_url)}},gt.createElement("div",{className:ct.top},gt.createElement(Se.Z,{title:Bt.name},gt.createElement("div",{className:ct.name},Bt.name)),gt.createElement("img",{className:ct.img,src:We.Z.IMG_SERVER+"/images/"+Bt.avatar_url}),gt.createElement("div",{className:ct.text,title:Bt.creator},Bt.creator),pn&&gt.createElement("div",{className:ct.btns},gt.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),gt.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802")),jn&&gt.createElement("div",{className:ct.sign},"\u516C\u5F00")),gt.createElement("div",{className:ct.bottom},Bt.visits>0&&gt.createElement(Se.Z,{title:"\u8BBF\u95EE\u91CF",placement:"bottom"},gt.createElement("span",null,gt.createElement("i",{className:"iconfont icon-liulanyan"}),gt.createElement("span",null,Bt.visits))),Bt.course_members_count>0&&gt.createElement(Se.Z,{title:"\u6210\u5458",placement:"bottom"},gt.createElement("span",null,gt.createElement("i",{className:"iconfont icon-chengyuan"}),Bt.course_members_count)),Bt.tasks_count>0&&gt.createElement(Se.Z,{title:"\u4F5C\u4E1A",placement:"bottom"},gt.createElement("span",null,gt.createElement("i",{className:"iconfont icon-zuoye"}),Bt.tasks_count)),Bt.is_end?gt.createElement("div",{style:{color:"#6B758B"}},"\u5DF2\u7ED3\u675F"):gt.createElement("div",{style:{color:"#00B187"}},"\u8FDB\u884C\u4E2D"))),!Bt.is_accessible&&gt.createElement("div",{className:ct.lockWrap},gt.createElement("img",{src:`${We.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),gt.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!at.length&&gt.createElement(Qe.Z,null)))},Wt={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"},_t=oe(25690),ot=({dataSource:Be=[],value:at,onChange:st,className:bt,style:St={},tabBarExtraContent:mn})=>b.createElement("div",{className:tt()(Wt.tabs,bt),style:St},b.createElement("div",{className:Wt.tabsWrap},Be.map((Kt,Ge)=>b.createElement("aside",{className:Wt.tab,onClick:()=>{st(Kt.id),Kt.link&&_t.history.push(Kt.link)},key:Ge},b.createElement("div",{className:at===Kt.id?Wt.active:""},Kt.name),(Kt==null?void 0:Kt.resetCount)==null&&(Kt==null?void 0:Kt.total)!==void 0&&b.createElement("span",null,"\uFF08",Kt==null?void 0:Kt.total,"\uFF09"),(Kt==null?void 0:Kt.resetCount)!==void 0&&(Kt==null?void 0:Kt.total)!==void 0&&b.createElement(Se.Z,{title:(Kt==null?void 0:Kt.tip)!=null?Kt==null?void 0:Kt.tip:""},b.createElement("span",{style:{color:"#9096A3"}},"\uFF08",b.createElement("span",{style:{color:"#000"}},Kt==null?void 0:Kt.resetCount),"/",b.createElement("span",null,Kt==null?void 0:Kt.total),"\uFF09"))))),b.createElement("div",{className:Wt.tabBar},mn)),xn=({className:Be,style:at={},children:st})=>b.createElement("div",{className:tt()(Be),style:at},st),At={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"},ln=oe(38854),Ce=oe(20834);const ut=[{id:"updated_at",name:"\u6700\u65B0\u52A8\u6001"},{id:"created_at",name:"\u6700\u65B0\u521B\u5EFA"},{id:"name",name:"\u540D\u79F0\u6392\u5E8F"}];var nt=({sortValue:Be,dropValue:at,className:st,onSort:bt,onDrop:St,dataSource:mn=ut})=>{var Kt;return b.createElement("div",{className:tt()(At.orderWrap,st)},b.createElement(ln.Z,{dropdownRender:()=>b.createElement(Ce.default,null,mn.map((Ge,Ye)=>b.createElement(Ce.default.Item,{key:Ye,onClick:()=>St(Ge.id)},Ge.name)))},b.createElement("span",{className:At.orderTextWrap},(Kt=mn.find(Ge=>at===Ge.id))==null?void 0:Kt.name)),b.createElement("span",{className:At.orderIconWrap},b.createElement("span",{className:At.orderAsc},b.createElement("i",{className:Be==="asc"?`iconfont icon-sanjiaoxing-up font12 ${At.cursorPointer} ${At.active}`:`iconfont icon-sanjiaoxing-up font12 ${At.cursorPointer}`,onClick:()=>bt(Be==="asc"?"desc":"asc")})),b.createElement("span",{className:At.orderDesc},b.createElement("i",{className:Be==="desc"?`iconfont icon-sanjiaoxing-down font12 ${At.cursorPointer} ${At.active}`:`iconfont icon-sanjiaoxing-down font12 ${At.cursorPointer}`,onClick:()=>bt(Be==="asc"?"desc":"asc")}))))},Pt={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"},_n=oe(3113),sn=Object.defineProperty,Rt=Object.getOwnPropertySymbols,Mt=Object.prototype.hasOwnProperty,Yn=Object.prototype.propertyIsEnumerable,aa=(Be,at,st)=>at in Be?sn(Be,at,{enumerable:!0,configurable:!0,writable:!0,value:st}):Be[at]=st,tn=(Be,at)=>{for(var st in at||(at={}))Mt.call(at,st)&&aa(Be,st,at[st]);if(Rt)for(var st of Rt(at))Yn.call(at,st)&&aa(Be,st,at[st]);return Be},ba=(Be,at)=>{var st={};for(var bt in Be)Mt.call(Be,bt)&&at.indexOf(bt)<0&&(st[bt]=Be[bt]);if(Be!=null&&Rt)for(var bt of Rt(Be))at.indexOf(bt)<0&&Yn.call(Be,bt)&&(st[bt]=Be[bt]);return st},_a=(Be,at,st)=>new Promise((bt,St)=>{var mn=Ye=>{try{Ge(st.next(Ye))}catch(Ue){St(Ue)}},Kt=Ye=>{try{Ge(st.throw(Ye))}catch(Ue){St(Ue)}},Ge=Ye=>Ye.done?bt(Ye.value):Promise.resolve(Ye.value).then(mn,Kt);Ge((st=st.apply(Be,at)).next())}),zn=Be=>{var at=Be,{className:st,style:bt,children:St,loading:mn=!1,openLoading:Kt,onClick:Ge=()=>{},size:Ye="middle",shape:Ue="round"}=at,Bt=ba(at,["className","style","children","loading","openLoading","onClick","size","shape"]);const[un,pn]=(0,b.useState)(!1);return b.createElement(_n.ZP,tn({onClick:(0,Me.throttle)(ra=>_a(void 0,null,function*(){Kt&&pn(!0);try{yield Ge(ra)}catch(Vn){console.log("error",Vn)}Kt&&pn(!1)}),2e3,{leading:!0,trailing:!1}),className:tt()(Pt.btn,Pt[`${Ye}-${Ue}`],st),style:bt,size:Ye,shape:Ue,loading:un||mn},Bt),St)},xa={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"},Ya=({className:Be,style:at,children:st=null,onClick:bt,title:St})=>b.createElement("div",{className:tt()(xa.head,Be),style:at},b.createElement("span",{className:"primary-hover",onClick:bt},b.createElement("i",{className:"iconfont icon-fanhui2 font12"}),"\u8FD4\u56DE"),b.createElement("b",{title:St},St),b.createElement("div",{className:xa.node},st)),Jn={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"},ea=({confirmShow:Be=!0,confirmTitle:at,confirmClick:st,cancelShow:bt=!0,cancelTitle:St,cancelClick:mn,className:Kt,style:Ge,confirmLoading:Ye=!1})=>b.createElement("div",{className:tt()(Jn.btns,Kt),style:Ge},Be&&b.createElement(_n.ZP,{loading:Ye,onClick:st,type:"primary",className:Jn.confirm},at),bt&&b.createElement(_n.ZP,{onClick:mn,className:Jn.cancel},St)),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"},Va=({className:Be,style:at={},LeftContent:st,children:bt,RightContent:St})=>b.createElement("div",{className:tt()(ia.fixedBottom,Be),style:at},b.createElement("div",{className:ia.wrap},b.createElement("div",{className:ia.left},st),b.createElement("div",{className:ia.center},bt),b.createElement("div",{className:ia.right},St))),yn={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"},Ft=({className:Be,style:at={},dataSource:st=[]})=>b.createElement("div",{className:tt()(yn.crumbs,Be),style:at},st.map((bt,St)=>St<st.length-1?b.createElement(b.Fragment,{key:St},bt.path||bt.onClick?b.createElement("span",{className:yn.hover,onClick:bt!=null&&bt.onClick?bt.onClick:()=>_t.history.push(bt.path)},bt.name):b.createElement("span",null,bt.name),b.createElement("span",null,"\xA0",">","\xA0")):b.createElement("span",{key:St,style:{color:"#5F6368"}},bt.name))),Gt=oe(31797),Da=Object.defineProperty,pa=Object.defineProperties,wa=Object.getOwnPropertyDescriptors,ha=Object.getOwnPropertySymbols,Ga=Object.prototype.hasOwnProperty,gr=Object.prototype.propertyIsEnumerable,Ua=(Be,at,st)=>at in Be?Da(Be,at,{enumerable:!0,configurable:!0,writable:!0,value:st}):Be[at]=st,Cr=(Be,at)=>{for(var st in at||(at={}))Ga.call(at,st)&&Ua(Be,st,at[st]);if(ha)for(var st of ha(at))gr.call(at,st)&&Ua(Be,st,at[st]);return Be},ho=(Be,at)=>pa(Be,wa(at)),Ht=(Be,at)=>{var st={};for(var bt in Be)Ga.call(Be,bt)&&at.indexOf(bt)<0&&(st[bt]=Be[bt]);if(Be!=null&&ha)for(var bt of ha(Be))at.indexOf(bt)<0&&gr.call(Be,bt)&&(st[bt]=Be[bt]);return st};const{Countdown:Zn}=Gt.default;var Sa=Be=>{var at=Be,{onChange:st}=at,bt=Ht(at,["onChange"]);const[St,mn]=(0,b.useState)(null);(0,b.useEffect)(()=>{typeof St=="number"&&St>=0&&st(St)},[St]);const Kt=Ge=>{const Ye=Math.floor(Ge/1e3);mn(Ye)};return b.createElement(Zn,ho(Cr({},bt),{onChange:Kt}))}},37808:function(yt,kt,oe){"use strict";oe.d(kt,{Z:function(){return he}});var b=oe(59301);function he(De,Ae){const ke=(0,b.useRef)();(0,b.useEffect)(()=>{ke.current=De}),(0,b.useEffect)(()=>{function ze(){ke.current()}if(Ae!==null){let xe=setInterval(ze,Ae);return()=>clearInterval(xe)}},[Ae])}},84511:function(yt,kt,oe){"use strict";oe.r(kt),oe.d(kt,{default:function(){return gu}});var b=oe(59301),he=oe(25690),De=oe(78241),Ae=oe(8591),ke=oe(66104),ze=oe(92832),xe=oe(19842),tt=oe(24905),Me=oe(5112),Le=oe(5871),_e=oe(3113),He={flex_box_center:"flex_box_center___aPGWN",flex_space_between:"flex_space_between___MQNX5",flex_box_vertical_center:"flex_box_vertical_center___Z7QdK",flex_box_center_end:"flex_box_center_end___JQl5O",flex_box_column:"flex_box_column___IhYhx",bg:"bg___Kg8x_",title:"title___UhsVG",titleLeft:"titleLeft___NPVwn",titleRight:"titleRight___UGtmZ",formWrap:"formWrap___Jowb2",baseLineHeight:"baseLineHeight___N68WX",radioBtnWrapper:"radioBtnWrapper___bX7Pi",radiogroup:"radiogroup___ukf8u",easy:"easy___ZHYPU",medium:"medium___piewx",hard:"hard___HMXyt",selectdiv:"selectdiv___gkuBG",divitem:"divitem___vNm0q",bottmodiv:"bottmodiv___assW5",cancelBtn:"cancelBtn___Nl6Pi",confirmBtn:"confirmBtn___BNoFU",baseFormItem:"baseFormItem___ILZ2V",cascaderPopup:"cascaderPopup___QPxW3",addQuestionBtn:"addQuestionBtn___OjehS",concat:"concat___kliXB"},Ke=oe(43418),le=oe(5083),E=oe(61186),a=oe.n(E),x=(ue,Ee,Pe)=>new Promise((it,ft)=>{var Rn=vt=>{try{Yt(Pe.next(vt))}catch(qt){ft(qt)}},vn=vt=>{try{Yt(Pe.throw(vt))}catch(qt){ft(qt)}},Yt=vt=>vt.done?it(vt.value):Promise.resolve(vt.value).then(Rn,vn);Yt((Pe=Pe.apply(ue,Ee)).next())});const y=({user:ue,dispatch:Ee,classroomList:Pe,onModalOk:it,setsubloading:ft})=>{const Rn=(0,he.useParams)(),[vn,Yt]=(0,b.useState)(),[vt,qt]=(0,b.useState)(!1);function Bn(qe){return qe&&qe<a()().subtract(1,"days")}return b.createElement(Ke.default,{title:"\u6E29\u99A8\u63D0\u793A",afterClose:()=>{qt(!1)},zIndex:8888,destroyOnClose:!0,footer:null,maskClosable:!1,keyboard:!1,open:Pe.actionTabs.key==="\u9884\u7EA6\u5F39\u7A97",onCancel:()=>{if(vt){Ae.ZP.warning("\u6B63\u5728\u8BF7\u6C42\u6570\u636E\u4E2D...");return}ft(!1),Ee({type:"classroomList/setActionTabs",payload:{}})}},b.createElement("div",null,b.createElement("span",null,"EduCoder\u6CE8\u610F\u5230\u60A8\u7684\u8BFE\u5802\u4E2D\u5B66\u751F\u4EBA\u6570\u8F83\u591A\u3002\u4E3A\u66F4\u597D\u5730\u4E3A\u60A8\u548C\u60A8\u7684\u5B66\u751F\u670D\u52A1\uFF0C\u7ED9\u540C\u5B66\u4EEC\u5E26\u6765\u66F4\u597D\u7684\u8003\u8BD5\u4F53\u9A8C\uFF0C\u6211\u4EEC\u5C06\u63D0\u524D\u4E3A\u60A8\u548C\u60A8\u7684\u5B66\u751F\u51C6\u5907\u597D\u670D\u52A1\u5668\u8D44\u6E90\u3002 \u8BF7\u60A8\u544A\u77E5\u6211\u4EEC\uFF0C\u8FD9\u4EFD\u8BD5\u5377\u7684\u9884\u8BA1\u8003\u8BD5\u65F6\u95F4\u662F\uFF1A"),b.createElement("br",null),b.createElement(le.default,{popupStyle:{zIndex:9999},style:{marginTop:"10px",marginBottom:"10px"},disabledDate:Bn,format:"YYYY-MM-DD HH:mm:ss",onChange:(qe,Ct)=>{Yt(Ct)},showTime:{defaultValue:a()("00:00:00","HH:mm:ss")}}),b.createElement("br",null),b.createElement("span",null,"\u611F\u8C22\u60A8\u7684\u914D\u5408"),b.createElement("br",null),b.createElement("div",{style:{textAlign:"end"}},b.createElement(_e.ZP,{loading:vt,type:"primary",onClick:()=>x(void 0,null,function*(){qt(!0),it(vn,()=>{Ee({type:"classroomList/setActionTabs",payload:{}})})})},"\u786E\u8BA4"))))};var z=(0,he.connect)(({user:ue,classroomList:Ee})=>({user:ue,classroomList:Ee}))(y),te=oe(38986),ae=oe(32134),se=oe(12893),ie={wrap:"wrap___Ww0Ti",itemWarp:"itemWarp___LMLjd",addIcon:"addIcon___xmRLl",deleteIcon:"deleteIcon___gjwgO"},Se=oe(57809),Fe=Object.defineProperty,We=Object.getOwnPropertySymbols,Ne=Object.prototype.hasOwnProperty,mt=Object.prototype.propertyIsEnumerable,Re=(ue,Ee,Pe)=>Ee in ue?Fe(ue,Ee,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ue[Ee]=Pe,Je=(ue,Ee)=>{for(var Pe in Ee||(Ee={}))Ne.call(Ee,Pe)&&Re(ue,Pe,Ee[Pe]);if(We)for(var Pe of We(Ee))mt.call(Ee,Pe)&&Re(ue,Pe,Ee[Pe]);return ue},Qe=(ue,Ee,Pe)=>new Promise((it,ft)=>{var Rn=vt=>{try{Yt(Pe.next(vt))}catch(qt){ft(qt)}},vn=vt=>{try{Yt(Pe.throw(vt))}catch(qt){ft(qt)}},Yt=vt=>vt.done?it(vt.value):Promise.resolve(vt.value).then(Rn,vn);Yt((Pe=Pe.apply(ue,Ee)).next())}),we=({setitem:ue,item:Ee,rz:Pe})=>{var it,ft,Rn,vn,Yt,vt,qt,Bn;let[qe,Ct]=(0,b.useState)({zydatas:[],jbdatas:[],kcdatas:[],zsdatas:[],page:1,per_page:20});const[cn]=De.default.useForm(),[Cn,Jt]=(0,b.useState)(!1);(0,b.useEffect)(()=>{Pe&&!Cn&&(qe.zydatas=Pe,Ct(Je({},qe)),Jt(!0),Ee!=null&&Ee.ec_course_id&&Ot())},[Ee,Pe,Cn]),console.log(qe,"params");function Ot(){return Qe(this,null,function*(){yield Qt(Ee==null?void 0:Ee.ec_major_school_id),yield Zt(Ee==null?void 0:Ee.ec_year_id),yield va(Ee==null?void 0:Ee.ec_course_id),cn.setFieldsValue({ec_course_id:Ee==null?void 0:Ee.ec_course_id,ec_major_school_id:Ee==null?void 0:Ee.ec_major_school_id,ec_point_ids:Ee==null?void 0:Ee.ec_point_ids,ec_year_id:Ee==null?void 0:Ee.ec_year_id})})}function Qt(Sn){return Qe(this,null,function*(){const En=yield(0,te.ZP)(`/api/ec_major_schools/${Sn}/ec_years/get_year_list.json`,{method:"get"});qe.jbdatas=En==null?void 0:En.data,Ct(Je({},qe)),cn.setFieldsValue({ec_year_id:"",ec_course_id:"",ec_point_ids:[]})})}function Zt(Sn){return Qe(this,null,function*(){const En=yield(0,te.ZP)(`/api/ec_years/${Sn}/ec_courses/get_courses.json`,{method:"get"});qe.kcdatas=En==null?void 0:En.data,Ct(Je({},qe)),cn.setFieldsValue({ec_course_id:"",ec_point_ids:[]})})}const va=Sn=>Qe(void 0,null,function*(){const En=yield(0,te.ZP)(`/api/ec_courses/${Sn}/ec_points.json`,{method:"get",params:{ec_course_id:Sn}});qe.zsdatas=En==null?void 0:En.data,Ct(Je({},qe))});return b.createElement("div",{className:ie.from},b.createElement(De.default,{form:cn,layout:"inline",onValuesChange:Sn=>{console.log("----",Sn),Sn.ec_major_school_id&&(qe.jbdatas=[],qe.kcdatas=[],qe.zsdatas=[],Ct(Je({},qe)),Qt(Sn.ec_major_school_id)),Sn.ec_year_id&&(qe.kcdatas=[],qe.zsdatas=[],Ct(Je({},qe)),Zt(Sn.ec_year_id)),Sn.ec_course_id&&(qe.zsdatas=[],Ct(Je({},qe)),va(Sn.ec_course_id))},onFinish:Sn=>Qe(void 0,null,function*(){ue(Sn)})},b.createElement(De.default.Item,{name:"ec_major_school_id"},b.createElement(Se.default,{style:{width:160},disabled:((it=qe.zydatas)==null?void 0:it.length)<=0,placeholder:"\u8BF7\u9009\u62E9\u8BA4\u8BC1\u4E13\u4E1A"},(ft=qe==null?void 0:qe.zydatas)==null?void 0:ft.map((Sn,En)=>b.createElement(Se.default.Option,{key:En,value:Sn==null?void 0:Sn.ec_major_school_id},Sn==null?void 0:Sn.name)))),b.createElement(De.default.Item,{name:"ec_year_id"},b.createElement(Se.default,{style:{width:160},disabled:((Rn=qe.jbdatas)==null?void 0:Rn.length)<=0,placeholder:"\u8BF7\u9009\u62E9\u8BA4\u8BC1\u5C4A\u522B"},(vn=qe==null?void 0:qe.jbdatas)==null?void 0:vn.map((Sn,En)=>b.createElement(Se.default.Option,{key:En,value:Sn==null?void 0:Sn.ec_year_id},Sn==null?void 0:Sn.year)))),b.createElement(De.default.Item,{name:"ec_course_id"},b.createElement(Se.default,{style:{width:208},disabled:((Yt=qe.kcdatas)==null?void 0:Yt.length)<=0,placeholder:"\u8BF7\u9009\u62E9\u8BFE\u7A0B"},(vt=qe==null?void 0:qe.kcdatas)==null?void 0:vt.map((Sn,En)=>b.createElement(Se.default.Option,{key:En,value:Sn==null?void 0:Sn.id},Sn==null?void 0:Sn.name)))),b.createElement(De.default.Item,{name:"ec_point_ids"},b.createElement(Se.default,{onChange:()=>{cn.submit()},style:{width:160},maxTagCount:1,maxTagTextLength:7,mode:"multiple",disabled:((qt=qe.zsdatas)==null?void 0:qt.length)<=0,placeholder:"\u8BF7\u9009\u62E9\u77E5\u8BC6\u70B9"},(Bn=qe==null?void 0:qe.zsdatas)==null?void 0:Bn.map((Sn,En)=>b.createElement(Se.default.Option,{key:En,value:Sn==null?void 0:Sn.id},Sn==null?void 0:Sn.name))))))},ht=Object.defineProperty,ct=Object.defineProperties,Lt=Object.getOwnPropertyDescriptors,gt=Object.getOwnPropertySymbols,Pn=Object.prototype.hasOwnProperty,nn=Object.prototype.propertyIsEnumerable,Wt=(ue,Ee,Pe)=>Ee in ue?ht(ue,Ee,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ue[Ee]=Pe,_t=(ue,Ee)=>{for(var Pe in Ee||(Ee={}))Pn.call(Ee,Pe)&&Wt(ue,Pe,Ee[Pe]);if(gt)for(var Pe of gt(Ee))nn.call(Ee,Pe)&&Wt(ue,Pe,Ee[Pe]);return ue},Te=(ue,Ee)=>ct(ue,Lt(Ee)),ot=(ue,Ee,Pe)=>new Promise((it,ft)=>{var Rn=vt=>{try{Yt(Pe.next(vt))}catch(qt){ft(qt)}},vn=vt=>{try{Yt(Pe.throw(vt))}catch(qt){ft(qt)}},Yt=vt=>vt.done?it(vt.value):Promise.resolve(vt.value).then(Rn,vn);Yt((Pe=Pe.apply(ue,Ee)).next())});const Ut=({user:ue,exercise_id:Ee=null,homework_common_id:Pe=null,setitem:it})=>{var ft,Rn,vn;let[Yt,vt]=(0,b.useState)([{id:Math.random()}]),[qt,Bn]=(0,b.useState)(null);function qe(){return ot(this,null,function*(){var cn,Cn,Jt,Ot;let Qt=yield(0,te.ZP)("/api/ec_courses/0/ec_points/get_work_points.json",{method:"get",params:{exercise_id:Ee,homework_common_id:Pe}});if(((cn=Qt==null?void 0:Qt.data)==null?void 0:cn.length)>0){let Zt=[];(Cn=Qt==null?void 0:Qt.data)==null||Cn.map(va=>{var Sn;(Sn=va==null?void 0:va.ec_point_ids)==null||Sn.map(En=>{Zt.push(En)})}),it(Te(_t({},(Jt=Qt==null?void 0:Qt.data)==null?void 0:Jt[0]),{ec_point_ids:Zt})),vt((Ot=Qt==null?void 0:Qt.data)==null?void 0:Ot.map(va=>Te(_t({},va),{id:Math.random()})))}})}(0,b.useEffect)(()=>{var cn,Cn;(Cn=(cn=ue==null?void 0:ue.userInfo)==null?void 0:cn.course)!=null&&Cn.course_school_id&&Ct()},[(Rn=(ft=ue==null?void 0:ue.userInfo)==null?void 0:ft.course)==null?void 0:Rn.course_school_id]);function Ct(){return ot(this,null,function*(){var cn,Cn;const Jt=yield(0,te.ZP)(`/api/schools/${(Cn=(cn=ue==null?void 0:ue.userInfo)==null?void 0:cn.course)==null?void 0:Cn.course_school_id}/ec_majors/get_major_list.json`,{method:"get"});Bn(Jt==null?void 0:Jt.data),(Pe||Ee)&&qe()})}return console.log(Yt,qt,"datas"),b.createElement("div",{style:{display:(vn=ue.userInfo.course)!=null&&vn.is_openengineering?"":"none"}},b.createElement("div",{className:ie.wrap},b.createElement("p",null,"\u5DE5\u7A0B\u8BA4\u8BC1",b.createElement("br",null),"\u8003\u6838\u77E5\u8BC6\u70B9"),b.createElement("div",{className:ie.itemWarp},Yt==null?void 0:Yt.map((cn,Cn)=>b.createElement("div",{key:cn.id,style:{display:"flex",alignItems:"center",marginBottom:20}},b.createElement(we,{rz:qt,item:cn,setitem:Jt=>{Jt=_t(_t({},Yt==null?void 0:Yt[Cn]),Jt),Yt.splice(Cn,1,Jt),vt([...Yt]);let Ot=[];Yt==null||Yt.map(Qt=>{var Zt;(Zt=Qt==null?void 0:Qt.ec_point_ids)==null||Zt.map(va=>{Ot.push(va)})}),it(Te(_t({},Jt),{ec_point_ids:Ot}))}}),b.createElement(ae.Z,{className:ie.addIcon,onClick:()=>{Yt.push({id:Math.random()}),vt([...Yt])}}),Cn!=0&&b.createElement(se.Z,{className:ie.deleteIcon,onClick:()=>{Yt.splice(Cn,1);let Jt=[];Yt==null||Yt.map(Ot=>{var Qt;(Qt=Ot==null?void 0:Ot.ec_point_ids)==null||Qt.map(Zt=>{Jt.push(Zt)})}),it(Te(_t({},Yt[Cn-1]),{ec_point_ids:Jt})),vt([...Yt])}}))))))};var xn=(0,he.connect)(({user:ue})=>({user:ue}))(Ut),At=oe(20834),ln=oe(71418),Ce=oe(38854),ut=oe(6848),Xt=oe(43428),nt={flex_box_center:"flex_box_center___zCnVx",flex_space_between:"flex_space_between___BBiQD",flex_box_vertical_center:"flex_box_vertical_center___KzPui",flex_box_center_end:"flex_box_center_end___zJokd",flex_box_column:"flex_box_column___Grsys",moreSpan:"moreSpan___VJeLv",bg:"bg___oBBHW",title:"title___xV4Rt",bottomdiv:"bottomdiv___rPfwr",spanBtn:"spanBtn___eJxID",addQuestionBtn:"addQuestionBtn___RPRiP",saveBtn:"saveBtn___y9nNf",left:"left___Q3Qf4",leftAction:"leftAction___GT9yG",Button:"Button___r00OP",iconWrapper:"iconWrapper___wofW_",up:"up___a9RQm",down:"down___x6RAl",disabled:"disabled___mkEME",titleleft:"titleleft___WZ83K",more_style:"more_style___ZXYnN",qcount:"qcount___o6F1k",score:"score___Gy6jr",qtitle:"qtitle___KF7pa",qcountclick:"qcountclick___kvoyc",right:"right___Nfa70",edit:"edit___RVRSb",delete:"delete___J9BAT",yuanti:"yuanti___ljq8l",tianjia:"tianjia___s7Zu2",shixun:"shixun___YkjdZ",scoreByBlankRadio:"scoreByBlankRadio___QYQY5",modalconfirm:"modalconfirm___dmWFe",scoremodal:"scoremodal___CDA7w",close:"close___jdUWv",content:"content___HPqUf",items:"items___YkyQL",bottom:"bottom___mzpp4",yes:"yes___Xio6z",no:"no___hbicD",formcenter:"formcenter___kN8Ax",radiogroup:"radiogroup___htjtc",easy:"easy____g1mR",medium:"medium___vPAsn",hard:"hard___c6tcf",formcenterselect:"formcenterselect___B88vb",selectitems1:"selectitems1___Dzpho",selectitems:"selectitems___wUGKF",morebottom:"morebottom___F5cFQ",scoreinput:"scoreinput___S9Fbv",shake:"shake___IYp2E",titleTooltip:"titleTooltip___J0i26",exercise_styles:"exercise_styles___BJAZm"},Pt=oe(51257),_n=oe(28426),sn=oe(70100),Rt=oe(67753),Mt=oe(91842),Yn=oe(59301),aa=Object.defineProperty,tn=Object.defineProperties,ba=Object.getOwnPropertyDescriptors,_a=Object.getOwnPropertySymbols,ya=Object.prototype.hasOwnProperty,zn=Object.prototype.propertyIsEnumerable,xa=(ue,Ee,Pe)=>Ee in ue?aa(ue,Ee,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ue[Ee]=Pe,dr=(ue,Ee)=>{for(var Pe in Ee||(Ee={}))ya.call(Ee,Pe)&&xa(ue,Pe,Ee[Pe]);if(_a)for(var Pe of _a(Ee))zn.call(Ee,Pe)&&xa(ue,Pe,Ee[Pe]);return ue},Ya=(ue,Ee)=>tn(ue,ba(Ee)),Jn=(ue,Ee,Pe)=>new Promise((it,ft)=>{var Rn=vt=>{try{Yt(Pe.next(vt))}catch(qt){ft(qt)}},vn=vt=>{try{Yt(Pe.throw(vt))}catch(qt){ft(qt)}},Yt=vt=>vt.done?it(vt.value):Promise.resolve(vt.value).then(Rn,vn);Yt((Pe=Pe.apply(ue,Ee)).next())}),ea=({Itemid:ue,setqitem:Ee,qitem:Pe,data:it,getdata:ft,bigitem:Rn,setBigqitem:vn,isedit:Yt,handleEditing:vt})=>{const[qt,Bn]=(0,b.useState)([]),[qe,Ct]=(0,b.useState)(!1),cn=(Jt,Ot,Qt)=>{const Zt=Array.from(Jt),[va]=Zt.splice(Ot,1);return Zt.splice(Qt,0,va),Zt};(0,b.useEffect)(()=>{it.length>0&&Bn([...it])},[it]);const Cn=(Jt,Ot)=>Jn(void 0,null,function*(){if(!Jt.destination)return;if(Yt){vt();return}const Qt=cn(Ot,Jt.source.index,Jt.destination.index);Ct(!0);let Zt=yield(0,te.ZP)(`/api/exercises/${ue}/adjust_position.json`,{method:"post",body:{id:ue,question_ids:Qt==null?void 0:Qt.map(va=>va.question_id)}});Ct(!1),Zt.status===0&&ft({id:Ot==null?void 0:Ot[Jt.source.index].question_id})});return Yn.createElement("div",null,Yn.createElement(Rt.Z5,{onDragEnd:Jt=>Cn(Jt,qt)},Yn.createElement(Rt.bK,{droppableId:"droppable"},(Jt,Ot)=>Yn.createElement("div",dr({ref:Jt.innerRef},Jt.droppableProps),Yn.createElement(ln.Z,{spinning:qe},qt.map((Qt,Zt)=>Yn.createElement(Rt._l,{key:Zt,draggableId:Zt.toString(),index:Zt},(va,Sn)=>{var En,Fr;return Yn.createElement("aside",dr(dr({ref:va.innerRef},va.draggableProps),va.dragHandleProps),Yn.createElement(ut.Z,{title:Yn.createElement(Mt.Z,{value:(Qt==null?void 0:Qt.question_type)===8?(En=Qt==null?void 0:Qt.program_attr)==null?void 0:En.description:Qt.question_title}),color:"#fff",placement:"left",overlayClassName:nt.titleTooltip},Yn.createElement("div",{onClick:()=>{if(Yt){vt();return}Ee(Ya(dr({},Qt),{index:Zt+1})),vn(Rn),(0,Pt.Vf)("#question-scroll-id")},className:`${nt.qcount} ${Qt.question_id===(Pe==null?void 0:Pe.question_id)?nt.qcountclick:""}`},Yn.createElement("span",{className:nt.score},Qt==null?void 0:Qt.question_score,"\u5206"),Yn.createElement("span",{className:nt.qtitle},Zt+1,"\u3001",Yn.createElement(Mt.Z,{value:(Qt==null?void 0:Qt.question_type)===8?(Fr=Qt==null?void 0:Qt.program_attr)==null?void 0:Fr.description:Qt.question_title,showTextOnly:!0})))))}))),Jt.placeholder))))},ia=oe(95237),Ea=oe(81727),Va=oe(78673),yn=oe(61485),an=oe(22962),Ft=oe(59301),Gt=(ue,Ee,Pe)=>new Promise((it,ft)=>{var Rn=vt=>{try{Yt(Pe.next(vt))}catch(qt){ft(qt)}},vn=vt=>{try{Yt(Pe.throw(vt))}catch(qt){ft(qt)}},Yt=vt=>vt.done?it(vt.value):Promise.resolve(vt.value).then(Rn,vn);Yt((Pe=Pe.apply(ue,Ee)).next())}),pa=({form:ue,TagDiscipline:Ee,exerciseitem:Pe,qitem:it,getTagData:ft})=>{var Rn;const[vn,Yt]=(0,b.useState)(!0),[vt,qt]=(0,b.useState)(!1),[Bn,qe]=(0,b.useState)(""),[Ct,cn]=(0,b.useState)([]),[Cn,Jt]=(0,b.useState)([]),[Ot,Qt]=(0,b.useState)(0);(0,b.useEffect)(()=>{va()},[]);const Zt=Sn=>Gt(void 0,null,function*(){const En=yield(0,te.ZP)("/api/tag_disciplines.json",{method:"get",params:{sub_discipline_id:Sn==null?void 0:Sn.sub_discipline_id}});Jt(En==null?void 0:En.tag_disciplines)}),va=()=>Gt(void 0,null,function*(){const Sn=yield(0,te.ZP)("/api/disciplines.json",{method:"get",params:{source:"subject"}});cn(Sn.disciplines||[]),it!=null&&it.sub_discipline_id&&Zt(it),Qt(it!=null&&it.sub_discipline_id?1:0),ue.setFieldsValue({difficulty:it.difficulty||2,tag_discipline_ids:it.tag_discipline_ids,repeat_answer:!it.repeat_answer,sub_discipline_id:it!=null&&it.sub_discipline_id?[it==null?void 0:it.discipline_id,it==null?void 0:it.sub_discipline_id]:[]})});return Ft.createElement("div",null,Ft.createElement("div",{style:{marginTop:30,height:vn?"100%":"0px",overflow:"hidden"}},Ft.createElement(De.default.Item,{className:nt.formcenter,rules:[{required:!0,message:"\u8BF7\u5148\u9009\u62E9\u96BE\u5EA6"}],label:"\u96BE\u5EA6",name:"difficulty"},Ft.createElement(Me.ZP.Group,{className:nt.radiogroup},Ft.createElement(Me.ZP.Button,{className:nt.easy,value:1},"\u7B80\u5355"),Ft.createElement(Me.ZP.Button,{className:nt.medium,value:2},"\u9002\u4E2D"),Ft.createElement(Me.ZP.Button,{className:nt.hard,value:3},"\u56F0\u96BE"))),Ft.createElement(De.default.Item,{name:"sub_discipline_id",label:"\u77E5\u8BC6\u70B9",className:nt.formcenterselect},Ft.createElement(xe.Z,{className:nt.selectitems1,expandTrigger:"hover",placeholder:"\u8BF7\u9009\u62E9\u65B9\u5411&\u8BFE\u7A0B",options:Ct,fieldNames:{label:"name",value:"id",children:"sub_disciplines"},onChange:(Sn,En)=>{ue.setFieldsValue({sub_discipline_id:Sn,tag_discipline_ids:[]}),Qt(Sn?Sn.length:0),(Sn==null?void 0:Sn.length)>0&&(Zt({sub_discipline_id:Sn[1]}),Sn[1]==(it==null?void 0:it.sub_discipline_id)&&ue.setFieldValue("tag_discipline_ids",it.tag_discipline_ids))},onClear:()=>{Jt([]),ue.setFieldValue("tag_discipline_ids",[]),Qt(0)}})),Ft.createElement(De.default.Item,{className:nt.formcenterselect},Ft.createElement("div",{style:{display:"flex",alignItems:"center",paddingLeft:55}},Ft.createElement(De.default.Item,{name:"tag_discipline_ids"},Ft.createElement(Se.default,{className:nt.selectitems,disabled:Ot===0,showSearch:!0,placeholder:"\u8BF7\u9009\u62E9\u77E5\u8BC6\u70B9\uFF0C\u652F\u6301\u9009\u62E9\u591A\u4E2A",mode:"multiple",listHeight:200,placeholder:"\u8BF7\u9009\u62E9\u77E5\u8BC6\u70B9\uFF0C\u652F\u6301\u9009\u62E9\u591A\u4E2A",mode:"multiple",dropdownStyle:{zIndex:9},allowClear:!0,optionFilterProp:"children",filterOption:(Sn,En)=>En.key.indexOf(Sn.toLowerCase())>=0},Cn==null?void 0:Cn.map(Sn=>Ft.createElement(Se.default.Option,{key:Sn.name+Sn.id,value:Sn.id},Ft.createElement("div",{style:{display:"flex",alignItems:"center"}},Ft.createElement("span",{style:{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"}},Sn.name),(Sn==null?void 0:Sn.type)==="personal"&&Ft.createElement("div",{style:{marginLeft:"5px",border:"1px solid #24C074",color:"#24C074",padding:"0 4px",borderRadius:"2px",fontSize:"12px",height:"20px",lineHeight:"20px"}},"\u81EA\u7528")))))),Ot>0&&Ft.createElement("div",{style:{marginLeft:20,marginTop:"-16px",lineHeight:"48px",height:48,fontSize:14}},Ft.createElement("span",null,"\u6CA1\u6709\u5408\u9002\u7684\u77E5\u8BC6\u70B9\uFF1F"),Ft.createElement("a",{onClick:()=>{qt(!0)},style:{marginLeft:3,color:"#3061D0"}},"\u65B0\u5EFA\u77E5\u8BC6\u70B9")))),Ft.createElement(De.default.Item,{className:nt.formcenterselect},Ft.createElement("div",{style:{display:"flex",alignItems:"center"}},Ft.createElement(De.default.Item,{name:"repeat_answer",valuePropName:"checked"},Ft.createElement(Va.Z,null)),Ft.createElement("div",{style:{marginLeft:10,marginTop:"-16px",lineHeight:"48px",height:48,color:"#000000"}},"\u4E0D\u5141\u8BB8\u5B66\u751F\u91CD\u590D\u7B54\u9898",Ft.createElement(ut.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"},Ft.createElement(yn.Z,{style:{color:"#3061D0",marginLeft:6,cursor:"pointer"}})))))),Ft.createElement(an.Z,{open:vt,subDisciplineId:(Rn=ue.getFieldValue("sub_discipline_id"))==null?void 0:Rn[1],onCancel:()=>{qt(!1)},onOkClick:Sn=>{Jt(En=>[...En,Sn]),ue.setFieldValue("tag_discipline_ids",[...ue.getFieldValue("tag_discipline_ids"),Sn==null?void 0:Sn.id])}}))},wa=oe(59301),ha=Object.defineProperty,Ga=Object.defineProperties,gr=Object.getOwnPropertyDescriptors,Ua=Object.getOwnPropertySymbols,Cr=Object.prototype.hasOwnProperty,ho=Object.prototype.propertyIsEnumerable,Ht=(ue,Ee,Pe)=>Ee in ue?ha(ue,Ee,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ue[Ee]=Pe,Zn=(ue,Ee)=>{for(var Pe in Ee||(Ee={}))Cr.call(Ee,Pe)&&Ht(ue,Pe,Ee[Pe]);if(Ua)for(var Pe of Ua(Ee))ho.call(Ee,Pe)&&Ht(ue,Pe,Ee[Pe]);return ue},qn=(ue,Ee)=>Ga(ue,gr(Ee)),Sa=(ue,Ee,Pe)=>new Promise((it,ft)=>{var Rn=vt=>{try{Yt(Pe.next(vt))}catch(qt){ft(qt)}},vn=vt=>{try{Yt(Pe.throw(vt))}catch(qt){ft(qt)}},Yt=vt=>vt.done?it(vt.value):Promise.resolve(vt.value).then(Rn,vn);Yt((Pe=Pe.apply(ue,Ee)).next())}),at=({qitem:ue,setisedit:Ee,TagDiscipline:Pe,exerciseitem:it,seveeditor:ft,deleteitem:Rn,getTagData:vn,init:Yt,showTip:vt=!1})=>{var qt;const[Bn]=De.default.useForm();(0,b.useEffect)(()=>{var Ct;Bn.setFieldsValue(qn(Zn({},ue),{name:ue==null?void 0:ue.question_title,choices:(Ct=ue==null?void 0:ue.question_choices)==null?void 0:Ct.map(cn=>qn(Zn({},cn),{standard_boolean:cn!=null&&cn.standard_boolean?1:0})),repeat_answer:!(ue!=null&&ue.repeat_answer)}))},[ue]);const qe=Ct=>{if(!(Ct!=null&&Ct.length))return!1;const cn=Ct.map(Jt=>{var Ot;return(Ot=Jt.choice_text)==null?void 0:Ot.trim().replace(/^\s+|\s+$/g,"")});return new Set(cn).size!==cn.length};return wa.createElement("div",null,wa.createElement(De.default,{form:Bn,colon:!1,onFinish:Ct=>{var cn,Cn,Jt,Ot,Qt;if(qe(Ct.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 Zt=(Cn=(cn=Ct==null?void 0:Ct.choices)==null?void 0:cn.map)==null?void 0:Cn.call(cn,(Sn,En)=>{if((Sn==null?void 0:Sn.standard_boolean)===1)return En+1}),va=qn(Zn({},Ct),{item_type:ue==null?void 0:ue.question_type,question_choices:(Ot=(Jt=Ct==null?void 0:Ct.choices)==null?void 0:Jt.map)==null?void 0:Ot.call(Jt,Sn=>Sn.choice_text),standard_answers:Zt.filter(Sn=>Sn),choices:(Qt=Ct==null?void 0:Ct.choices)==null?void 0:Qt.map(Sn=>qn(Zn({},Sn),{is_answer:Sn.standard_boolean}))});ft(Zn(Zn({},ue),va))},onFinishFailed:Ct=>Sa(void 0,null,function*(){var cn,Cn;Ae.ZP.error(Ct.errorFields[0].errors[0]),Bn.scrollToField((Cn=(cn=Ct==null?void 0:Ct.errorFields)==null?void 0:cn[0])==null?void 0:Cn.name,{behavior:"smooth",block:"center"})})},wa.createElement("div",{style:{display:"flex",alignItems:"center"}},wa.createElement("div",{style:{flex:1}},wa.createElement("span",{style:{display:"inline-flex",border:"1px solid #9096A3",borderRadius:"50%",width:10,height:10,marginRight:5,background:"#9096A3"}}),wa.createElement("span",null,(ue==null?void 0:ue.question_type)===1?"\u591A\u9009\u9898":"\u5355\u9009\u9898")),((qt=it==null?void 0:it.exercise)==null?void 0:qt.exercise_status)==1&&!(ue!=null&&ue.isadd)&&wa.createElement("span",{style:{marginLeft:20,marginRight:20,color:"red",cursor:"pointer"},onClick:()=>{Rn()}},wa.createElement("i",{className:"iconfont icon-piliangshanchu3",style:{fontSize:14,marginRight:6}}),"\u5220\u9664"),wa.createElement(_e.ZP,{onClick:()=>{var Ct;ue.isadd?(Ee(!1),Yt()):(Bn.setFieldsValue(qn(Zn({},ue),{name:ue==null?void 0:ue.question_title,choices:(Ct=ue==null?void 0:ue.question_choices)==null?void 0:Ct.map(cn=>qn(Zn({},cn),{standard_boolean:cn!=null&&cn.standard_boolean?1:0})),repeat_answer:!(ue!=null&&ue.repeat_answer)})),Ee(!1))}},"\u53D6\u6D88"),wa.createElement(ut.Z,{overlayClassName:nt.shake,open:vt,placement:"bottom",color:"rgba(244,156,14,0.19)",title:wa.createElement("div",{style:{color:"#FF841A",fontSize:"14px"}},wa.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")},wa.createElement(_e.ZP,{type:"primary",className:"ml20",onClick:()=>Sa(void 0,null,function*(){Bn.submit()})},"\u4FDD\u5B58"))),wa.createElement("div",{style:{maxHeight:"calc(100vh - 148px)",overflowY:"auto",marginTop:"10px",paddingRight:"5px"}},wa.createElement(ia.Z,{align:"middle"},wa.createElement(De.default.Item,{className:nt.scoreinput,name:"question_score",label:"\u5206\u503C",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5206\u503C"}]},wa.createElement(Le.Z,{onBlur:Ct=>{Ct.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}))),wa.createElement(Ea.u,{form:Bn,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u9009\u62E9\u9898\u9898\u5E72\u5185\u5BB9",titleKey:"question_title",choiceKey:"choices",analysisKey:"analysis",choiceOptionsPath:"choices",choiceTextKey:"choice_text",answerKey:"standard_boolean"}),wa.createElement(pa,{getTagData:vn,qitem:ue,exerciseitem:it,TagDiscipline:Pe,form:Bn}))))},st=oe(92046),bt=oe(74716),St=oe(59301),mn=Object.defineProperty,Kt=Object.defineProperties,Ge=Object.getOwnPropertyDescriptors,Ye=Object.getOwnPropertySymbols,Ue=Object.prototype.hasOwnProperty,Bt=Object.prototype.propertyIsEnumerable,un=(ue,Ee,Pe)=>Ee in ue?mn(ue,Ee,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ue[Ee]=Pe,pn=(ue,Ee)=>{for(var Pe in Ee||(Ee={}))Ue.call(Ee,Pe)&&un(ue,Pe,Ee[Pe]);if(Ye)for(var Pe of Ye(Ee))Bt.call(Ee,Pe)&&un(ue,Pe,Ee[Pe]);return ue},ra=(ue,Ee)=>Kt(ue,Ge(Ee)),Vn=(ue,Ee,Pe)=>new Promise((it,ft)=>{var Rn=vt=>{try{Yt(Pe.next(vt))}catch(qt){ft(qt)}},vn=vt=>{try{Yt(Pe.throw(vt))}catch(qt){ft(qt)}},Yt=vt=>vt.done?it(vt.value):Promise.resolve(vt.value).then(Rn,vn);Yt((Pe=Pe.apply(ue,Ee)).next())}),jn=({qitem:ue,TagDiscipline:Ee,exerciseitem:Pe,setisedit:it,seveeditor:ft,deleteitem:Rn,getTagData:vn,init:Yt,showTip:vt=!1})=>{var qt;const[Bn]=De.default.useForm(),qe=De.default.useWatch("use_blank_score",Bn);return(0,b.useEffect)(()=>{Bn.setFieldsValue(ra(pn({},ue),{standard_answers:ue.standard_answers||[],name:ue.question_title,repeat_answer:!ue.repeat_answer}))},[ue]),St.createElement("div",null,St.createElement(De.default,{form:Bn,colon:!1,onValuesChange:(Ct,cn)=>{var Cn,Jt,Ot,Qt;if(Ct!=null&&Ct.standard_answers||Ct!=null&&Ct.use_blank_score){let Zt=((Cn=Bn.getFieldValue("standard_answers"))==null?void 0:Cn.length)>0&&((Ot=(Jt=Bn.getFieldValue("standard_answers"))==null?void 0:Jt.map(va=>va.score))==null?void 0:Ot.filter(va=>va));(Zt==null?void 0:Zt.length)>0&&Bn.setFieldsValue({question_score:(Zt==null?void 0:Zt.length)>0&&((Qt=Zt.reduce((va,Sn)=>va+Sn))==null?void 0:Qt.toFixed(1))})}},onFinish:Ct=>{ft(ra(pn(pn({},ue),Ct),{item_type:ue==null?void 0:ue.question_type,standard_answers:Ct.standard_answers,question_title:Ct.name}))},onFinishFailed:Ct=>Vn(void 0,null,function*(){var cn,Cn;Ct.errorFields[0].errors[0]==="\u8BF7\u5148\u5728\u9898\u5E72\u4E2D\u63D2\u5165\u586B\u7A7A\u9879"&&(0,Pt.pE)(),Ae.ZP.error(Ct.errorFields[0].errors[0]),Bn.scrollToField((Cn=(cn=Ct==null?void 0:Ct.errorFields)==null?void 0:cn[0])==null?void 0:Cn.name,{behavior:"smooth",block:"center"})})},St.createElement("div",{style:{display:"flex",alignItems:"center"}},St.createElement("div",{style:{flex:1}},St.createElement("span",{style:{display:"inline-flex",border:"1px solid #9096A3",borderRadius:"50%",width:10,height:10,marginRight:5,background:"#9096A3"}}),St.createElement("span",null,"\u586B\u7A7A\u9898")),((qt=Pe==null?void 0:Pe.exercise)==null?void 0:qt.exercise_status)==1&&!(ue!=null&&ue.isadd)&&St.createElement("span",{style:{marginLeft:20,marginRight:20,color:"red",cursor:"pointer"},onClick:()=>{Rn()}},St.createElement("i",{className:"iconfont icon-piliangshanchu3",style:{fontSize:14,marginRight:6}}),"\u5220\u9664"),St.createElement(_e.ZP,{onClick:()=>{ue.isadd?(it(!1),Yt()):(Bn.setFieldsValue(ra(pn({},ue),{standard_answers:ue.standard_answers||[],name:ue.question_title,repeat_answer:!ue.repeat_answer})),it(!1))}},"\u53D6\u6D88"),St.createElement(ut.Z,{overlayClassName:nt.shake,open:vt,placement:"bottom",color:"rgba(244,156,14,0.19)",title:St.createElement("div",{style:{color:"#FF841A",fontSize:"14px"}},St.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")},St.createElement(_e.ZP,{type:"primary",className:"ml20",onClick:()=>{Bn.submit()}},"\u4FDD\u5B58"))),St.createElement("div",{style:{maxHeight:"calc(100vh - 148px)",overflowY:"auto",marginTop:"10px",paddingRight:"5px"}},St.createElement(ia.Z,{align:"middle"},qe?St.createElement(bt.Z,{text:"\uFF08\u5C0F\u9898\u5206\u503C\u7B49\u4E8E\u5404\u586B\u7A7A\u9879\u5206\u503C\u4E4B\u548C\uFF09"}):St.createElement(De.default.Item,{key:2,className:nt.scoreinput,name:"question_score",label:"\u5206\u503C",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5206\u503C"}]},St.createElement(Le.Z,{onBlur:Ct=>{Ct.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})),St.createElement(De.default.Item,{name:"use_blank_score",noStyle:!0},St.createElement(Me.ZP.Group,{className:nt.scoreByBlankRadio,optionType:"button",options:[{label:"\u6309\u7A7A\u7ED9\u5206",value:!0},{label:"\u6309\u9898\u7ED9\u5206",value:!1}]})),St.createElement(ut.Z,{overlayInnerStyle:{width:460},title:St.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",St.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")},St.createElement("i",{className:"icon-tishixiaowenhao font18 ml20 c-3061d0"}))),St.createElement(st.u,{form:Bn,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u586B\u7A7A\u9898\u9898\u5E72\u5185\u5BB9",scoreByBlank:qe,answerKey:"standard_answers"}),St.createElement(pa,{getTagData:vn,qitem:ue,exerciseitem:Pe,TagDiscipline:Ee,form:Bn}))))},Tn=oe(14289),jt=oe(59301),La=Object.defineProperty,ir=Object.defineProperties,oo=Object.getOwnPropertyDescriptors,Wa=Object.getOwnPropertySymbols,zt=Object.prototype.hasOwnProperty,jr=Object.prototype.propertyIsEnumerable,Ta=(ue,Ee,Pe)=>Ee in ue?La(ue,Ee,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ue[Ee]=Pe,vr=(ue,Ee)=>{for(var Pe in Ee||(Ee={}))zt.call(Ee,Pe)&&Ta(ue,Pe,Ee[Pe]);if(Wa)for(var Pe of Wa(Ee))jr.call(Ee,Pe)&&Ta(ue,Pe,Ee[Pe]);return ue},er=(ue,Ee)=>ir(ue,oo(Ee)),_r=(ue,Ee,Pe)=>new Promise((it,ft)=>{var Rn=vt=>{try{Yt(Pe.next(vt))}catch(qt){ft(qt)}},vn=vt=>{try{Yt(Pe.throw(vt))}catch(qt){ft(qt)}},Yt=vt=>vt.done?it(vt.value):Promise.resolve(vt.value).then(Rn,vn);Yt((Pe=Pe.apply(ue,Ee)).next())}),qr=({qitem:ue,setisedit:Ee,TagDiscipline:Pe,exerciseitem:it,seveeditor:ft,deleteitem:Rn,getTagData:vn,init:Yt,showTip:vt=!1})=>{var qt;const[Bn]=De.default.useForm();return(0,b.useEffect)(()=>{var qe;Bn.setFieldsValue(er(vr({},ue),{name:ue.question_title,repeat_answer:!ue.repeat_answer,choices:(qe=ue==null?void 0:ue.question_choices)==null?void 0:qe.map(Ct=>er(vr({},Ct),{is_answer:Ct!=null&&Ct.standard_boolean?1:0}))}))},[ue]),jt.createElement("div",null,jt.createElement(De.default,{form:Bn,colon:!1,onFinish:qe=>{var Ct,cn,Cn,Jt;let Ot=(cn=(Ct=qe==null?void 0:qe.choices)==null?void 0:Ct.map)==null?void 0:cn.call(Ct,(Qt,Zt)=>{if((Qt==null?void 0:Qt.is_answer)===1)return Zt+1});ft(er(vr(vr({},ue),qe),{question_title:qe.name,standard_answers:Ot.filter(Qt=>Qt),question_choices:(Jt=(Cn=qe==null?void 0:qe.choices)==null?void 0:Cn.map)==null?void 0:Jt.call(Cn,Qt=>Qt.choice_text)}))},onFinishFailed:qe=>_r(void 0,null,function*(){var Ct,cn;Ae.ZP.error(qe.errorFields[0].errors[0]),Bn.scrollToField((cn=(Ct=qe==null?void 0:qe.errorFields)==null?void 0:Ct[0])==null?void 0:cn.name,{behavior:"smooth",block:"center"})})},jt.createElement("div",{style:{display:"flex",alignItems:"center"}},jt.createElement("div",{style:{flex:1}},jt.createElement("span",{style:{display:"inline-flex",border:"1px solid #9096A3",borderRadius:"50%",width:10,height:10,marginRight:5,background:"#9096A3"}}),jt.createElement("span",null,"\u5224\u65AD\u9898")),((qt=it==null?void 0:it.exercise)==null?void 0:qt.exercise_status)==1&&!(ue!=null&&ue.isadd)&&jt.createElement("span",{style:{marginLeft:20,marginRight:20,color:"red",cursor:"pointer"},onClick:()=>{Rn()}},jt.createElement("i",{className:"iconfont icon-piliangshanchu3",style:{fontSize:14,marginRight:6}}),"\u5220\u9664"),jt.createElement(_e.ZP,{onClick:()=>{var qe;ue.isadd?(Ee(!1),Yt()):(Bn.setFieldsValue(er(vr({},ue),{name:ue.question_title,repeat_answer:!ue.repeat_answer,choices:(qe=ue==null?void 0:ue.question_choices)==null?void 0:qe.map(Ct=>er(vr({},Ct),{is_answer:Ct!=null&&Ct.standard_boolean?1:0}))})),Ee(!1))}},"\u53D6\u6D88"),jt.createElement(ut.Z,{overlayClassName:nt.shake,open:vt,placement:"bottom",color:"rgba(244,156,14,0.19)",title:jt.createElement("div",{style:{color:"#FF841A",fontSize:"14px"}},jt.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")},jt.createElement(_e.ZP,{type:"primary",className:"ml20",onClick:()=>{Bn.submit()}},"\u4FDD\u5B58"))),jt.createElement("div",{style:{maxHeight:"calc(100vh - 148px)",overflowY:"auto",marginTop:"10px",paddingRight:"5px"}},jt.createElement(De.default.Item,{className:nt.scoreinput,name:"question_score",label:"\u5206\u503C",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5206\u503C"}]},jt.createElement(Le.Z,{onBlur:qe=>{qe.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})),jt.createElement(Tn.Z,{form:Bn,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u5224\u65AD\u9898\u9898\u5E72\u5185\u5BB9",choiceKey:""}),jt.createElement(pa,{getTagData:vn,qitem:ue,exerciseitem:it,TagDiscipline:Pe,form:Bn}))))},wr=oe(36381),oa={wrap:"wrap___m6v_p",deleteIcon:"deleteIcon___hdYRw",keywordTag:"keywordTag___BLtdn",questionTitleEditorWrap:"questionTitleEditorWrap___fdaK7",choiceWrap:"choiceWrap___wkyUO",choiceIndex:"choiceIndex___tExMq",judgementIndex:"judgementIndex___RMhzJ",setAnswerBtn:"setAnswerBtn___bisIK",activeAnswer:"activeAnswer___MnyyC",activeJudgementAnswer:"activeJudgementAnswer___grGX5",actionWrapper:"actionWrapper___LUawU",addIcon:"addIcon___ckXqe",inputBorder:"inputBorder___nuo0O",placeholder:"placeholder___Dhdir",blankWrapper:"blankWrapper___cnidV",blankInput:"blankInput___iZ5BF",blankInputNumberWrapper:"blankInputNumberWrapper___zlXQc",addBtn:"addBtn___OdgAm",blankIndex:"blankIndex___g4Y7d",baseInputWrapper:"baseInputWrapper___DCOHd",collapseWrapper:"collapseWrapper___SyLrk",panelHeader:"panelHeader___E0il1",open:"open___IFH3V",close:"close___YpIA9",hide:"hide___Nl1W6",scoreByBlankRadio:"scoreByBlankRadio___jpG4i"},$t=oe(39793),Xa=Object.defineProperty,ua=Object.defineProperties,tr=Object.getOwnPropertyDescriptors,Oa=Object.getOwnPropertySymbols,hn=Object.prototype.hasOwnProperty,$n=Object.prototype.propertyIsEnumerable,Aa=(ue,Ee,Pe)=>Ee in ue?Xa(ue,Ee,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ue[Ee]=Pe,Wn=(ue,Ee)=>{for(var Pe in Ee||(Ee={}))hn.call(Ee,Pe)&&Aa(ue,Pe,Ee[Pe]);if(Oa)for(var Pe of Oa(Ee))$n.call(Ee,Pe)&&Aa(ue,Pe,Ee[Pe]);return ue},qa=(ue,Ee)=>ua(ue,tr(Ee)),Ka=(ue,Ee)=>{var Pe={};for(var it in ue)hn.call(ue,it)&&Ee.indexOf(it)<0&&(Pe[it]=ue[it]);if(ue!=null&&Oa)for(var it of Oa(ue))Ee.indexOf(it)<0&&$n.call(ue,it)&&(Pe[it]=ue[it]);return Pe};const pr=ue=>{var Ee=ue,{value:Pe,onChange:it,scrollId:ft}=Ee,Rn=Ka(Ee,["value","onChange","scrollId"]);return b.createElement("div",{id:ft||""},b.createElement($t.Z,qa(Wn({},Rn),{defaultValue:Pe,onChange:(vn,Yt)=>{console.log("a:",vn,Yt),Yt!=null&&Yt.length?it(vn,Yt):it(vn)}})))},Tr=({value:ue,onChange:Ee,placeholder:Pe,height:it=140,isEdit:ft})=>ft?b.createElement($t.Z,{watch:!0,isFocus:!0,height:it,placeholder:Pe,defaultValue:ue,onChange:Ee}):b.createElement("div",{style:{cursor:"pointer"}},ue?b.createElement(Mt.Z,{className:oa.inputBorder,value:ue}):b.createElement("div",{className:`${oa.inputBorder} ${oa.placeholder}`},Pe));var nr=oe(43604),Ho=Object.defineProperty,Ao=Object.defineProperties,hi=Object.getOwnPropertyDescriptors,Pr=Object.getOwnPropertySymbols,Br=Object.prototype.hasOwnProperty,uo=Object.prototype.propertyIsEnumerable,Ha=(ue,Ee,Pe)=>Ee in ue?Ho(ue,Ee,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ue[Ee]=Pe,Zr=(ue,Ee)=>{for(var Pe in Ee||(Ee={}))Br.call(Ee,Pe)&&Ha(ue,Pe,Ee[Pe]);if(Pr)for(var Pe of Pr(Ee))uo.call(Ee,Pe)&&Ha(ue,Pe,Ee[Pe]);return ue},Hr=(ue,Ee)=>Ao(ue,hi(Ee)),lr=(ue,Ee)=>{var Pe={};for(var it in ue)Br.call(ue,it)&&Ee.indexOf(it)<0&&(Pe[it]=ue[it]);if(ue!=null&&Pr)for(var it of Pr(ue))Ee.indexOf(it)<0&&uo.call(ue,it)&&(Pe[it]=ue[it]);return Pe};const zr=["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"],fo=({value:ue,onChange:Ee,choiceTextKey:Pe,answerKey:it,index:ft,isEdit:Rn,setInputActive:vn,form:Yt,choiceOptionsPath:vt,allowChangeMode:qt,showAddIcon:Bn,addItem:qe,deleteItem:Ct})=>{const cn=(ue==null?void 0:ue[it])===1,Cn=()=>{const Ot=Yt.getFieldValue(vt);Yt.setFieldValue(vt,Ot.map(Qt=>Hr(Zr({},Qt),{[it]:0})))},Jt=()=>{cn?Ee(Hr(Zr({},ue),{[it]:0})):(qt||Cn(),Ee(Hr(Zr({},ue),{[it]:1})))};return b.createElement(ia.Z,{className:oa.choiceWrap,align:"middle",wrap:!1},b.createElement(nr.Z,{onClick:Jt,className:`${oa.choiceIndex} ${cn?oa.activeAnswer:""}`},zr[ft]),b.createElement(nr.Z,{flex:1,className:`${oa.editorWrap} ml15`,onClick:vn},b.createElement(Tr,{height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9009\u9879",isEdit:Rn,value:ue==null?void 0:ue[Pe],onChange:Ot=>{Ee(Hr(Zr({},ue),{[Pe]:Ot}))}})),b.createElement(nr.Z,{flex:"0 0 auto",className:"ml15"},b.createElement("div",{onClick:Jt,className:`${oa.setAnswerBtn} ${cn?oa.activeAnswer:""}`},cn?"\u6B63\u786E\u7B54\u6848":"\u8BBE\u4E3A\u7B54\u6848")),b.createElement(nr.Z,{className:oa.actionWrapper},b.createElement(ut.Z,{title:"\u65B0\u589E\u53C2\u8003\u7B54\u6848"},b.createElement(ae.Z,{className:oa.addIcon,onClick:qe,style:{visibility:Bn?"visible":"hidden"}})),b.createElement(ut.Z,{title:"\u5220\u9664"},b.createElement(se.Z,{className:oa.deleteIcon,onClick:Ct,style:{visibility:ft>1?"visible":"hidden"}}))))},Qr=({questionTitlePlaceholder:ue,titleKey:Ee,choiceKey:Pe,analysisKey:it,choiceTextKey:ft,answerKey:Rn,choiceOptionsPath:vn,allowChangeMode:Yt=!0,form:vt,showAnalysis:qt=!0})=>{const[Bn,qe]=(0,b.useState)(),[Ct,cn]=(0,b.useState)(!1);return b.createElement("div",{className:oa.wrap},b.createElement("div",{className:oa.questionTitleEditorWrap},b.createElement(De.default.Item,{label:"\u9898\u5E72",name:Ee,labelCol:{span:24},rules:[{required:!0}]},b.createElement(pr,{scrollId:Array.isArray(Ee)?Ee.join("_"):`${Ee}`,watch:!0,height:140,placeholder:ue}))),b.createElement(De.default.Item,{label:"\u7B54\u6848\u9009\u9879",required:!0,labelCol:{span:24}}),b.createElement(De.default.List,{name:Pe,rules:[{validator(Cn,Jt){const Ot=Jt.some(Zt=>Zt[Rn]===1),Qt=Jt.findIndex(Zt=>{var va;return((va=Zt[ft])==null?void 0:va.length)<=0});return Qt!==-1?Promise.reject(new Error(`\u8BF7\u5148\u8F93\u5165${zr[Qt]}\u9009\u9879\u7684\u5185\u5BB9`)):Ot?Promise.resolve():Promise.reject(new Error("\u8BF7\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848"))}}]},(Cn,{add:Jt,remove:Ot})=>b.createElement("div",{id:Array.isArray(vn)?vn.join("_"):`${vn}`},Cn.map((Qt,Zt)=>{var va=Qt,{key:Sn,name:En}=va,Fr=lr(va,["key","name"]);const Er=Bn===Sn,$a=()=>{qe(Sn)},Do=Zt<7&&Zt===Cn.length-1,na=()=>Jt({[ft]:"",[Rn]:0}),Or=()=>Ot(En);return b.createElement(De.default.Item,Hr(Zr({},Fr),{key:Sn,name:En,noStyle:!0}),b.createElement(fo,{choiceTextKey:ft,answerKey:Rn,index:Zt,isEdit:Er,setInputActive:$a,form:vt,choiceOptionsPath:vn,allowChangeMode:Yt,showAddIcon:Do,addItem:na,deleteItem:Or}))}),Cn.length<8&&b.createElement("div",{className:`${oa.addBtn} mb30`,onClick:()=>Jt({[ft]:"",[Rn]:0})},"\u6DFB\u52A0\u9009\u9879"))),qt&&b.createElement("div",{onClick:()=>cn(!0)},b.createElement(De.default.Item,{name:it,label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},b.createElement(Tr,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:Ct}))))};var ja=oe(59301),Io=Object.defineProperty,ai=Object.defineProperties,oi=Object.getOwnPropertyDescriptors,Gr=Object.getOwnPropertySymbols,ii=Object.prototype.hasOwnProperty,Ko=Object.prototype.propertyIsEnumerable,sl=(ue,Ee,Pe)=>Ee in ue?Io(ue,Ee,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ue[Ee]=Pe,wi=(ue,Ee)=>{for(var Pe in Ee||(Ee={}))ii.call(Ee,Pe)&&sl(ue,Pe,Ee[Pe]);if(Gr)for(var Pe of Gr(Ee))Ko.call(Ee,Pe)&&sl(ue,Pe,Ee[Pe]);return ue},Ki=(ue,Ee)=>ai(ue,oi(Ee)),ko=(ue,Ee)=>{var Pe={};for(var it in ue)ii.call(ue,it)&&Ee.indexOf(it)<0&&(Pe[it]=ue[it]);if(ue!=null&&Gr)for(var it of Gr(ue))Ee.indexOf(it)<0&&Ko.call(ue,it)&&(Pe[it]=ue[it]);return Pe};const bl=({value:ue,onChange:Ee})=>{const Pe=ft=>{Ke.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:oa.modal,onOk:()=>{const Rn=[...ue];Rn.splice(ft,1),Ee(Rn)}})},it=()=>{const ft=[...ue];ft.push(""),Ee(ft)};return ja.createElement(ia.Z,{className:"ml20"},ja.createElement(nr.Z,{flex:1},ue==null?void 0:ue.map((ft,Rn)=>ja.createElement(ia.Z,{key:`${ft}_${Rn}`,align:"middle",className:"mb20"},ja.createElement(ze.default.TextArea,{style:{flex:1,minHeight:44},defaultValue:ft,autoSize:{maxRows:3},maxLength:1e3,onBlur:vn=>{const Yt=[...ue],vt=vn.target.value.trim();Yt[Rn]=vt,Ee(Yt)}}),ja.createElement(ut.Z,{title:"\u5220\u9664"},ja.createElement(se.Z,{className:oa.deleteIcon,style:{marginLeft:15,visibility:Rn>0?"visible":"hidden"},onClick:()=>Pe(Rn)}))))),ja.createElement(nr.Z,null,ja.createElement("div",{className:`${oa.addBtn}`,onClick:()=>{it()}},"\u65B0\u589E\u7B54\u6848")))},Kl=({value:ue=!0,onChange:Ee})=>ja.createElement(Va.Z,{checked:!ue,onChange:Pe=>{Ee(!Pe)}}),Ri="\u2581",ji=({questionTitlePlaceholder:ue,form:Ee,name:Pe,scoreByBlank:it,answerKey:ft,titleKey:Rn="name",analysisKey:vn="analysis",isOrdered:Yt="is_ordered"})=>{var vt,qt;const[Bn,qe]=(0,b.useState)(!1),Ct=(Sn,En)=>{const Fr=En.line;let Er=0;for(let Do=0;Do<Fr;Do++)Er+=Sn.getLine(Do).split(Ri).length-1;const $a=Sn.getLine(Fr).substring(0,En.ch);return Er+=$a.split(Ri).length-1,Er},cn=(Sn,En,Fr,Er)=>{const $a=Sn.getRange(En.from,En.to);let Do=0;if(En.text.forEach(na=>{Do+=na.split(Ri).length-1}),En.origin!=="setValue"){if($a&&$a.indexOf(Ri)!==-1){const na=$a.split(Ri).length-1,Or=Ct(Sn,En.from);if(console.log(`\u5220\u9664${na}\u4E2A\uFF0C \u524D\u9762\u6709${Or}\u4E2A\uFF0C\u65B0\u589E${Do}\u4E2A`),na>1){const za=Array.from({length:na},(Wr,So)=>Or+So);Er(za)}else Er(Or)}else if(Do>0){const na=Ct(Sn,En.from);console.log(`\u65B0\u589E${Do}\u4E2A\uFF0C\u4E4B\u524D\u6709${na}\u4E2A`),Fr(Do,na)}}},Cn=()=>{const Sn=Ee.getFieldValue(["sub_item_banks",...ft]);Ee.setFieldValue(["sub_item_banks",...ft],Sn==null?void 0:Sn.map((En,Fr)=>Ki(wi({},En),{position:Fr+1})))},Jt=(0,b.useRef)(),Ot=(Sn,En)=>{for(let Fr=0;Fr<Sn;Fr++)Jt.current({position:null,answer_text:[""]},En+Fr);Cn()},Qt=(0,b.useRef)(),Zt=Sn=>{Qt.current(Sn),Cn()},va=(qt=(vt=Ee.getFieldValue("sub_item_banks"))==null?void 0:vt[ft==null?void 0:ft[0]])==null?void 0:qt[ft==null?void 0:ft[1]];return console.log(Ee==null?void 0:Ee.getFieldValue(["sub_item_banks",...it])),ja.createElement("div",{className:oa.wrap},ja.createElement("div",{className:oa.questionTitleEditorWrap},ja.createElement(De.default.Item,{label:"\u9898\u5E72",name:Rn,labelCol:{span:24},rules:[{required:!0}]},ja.createElement(pr,{scrollId:"name",watch:!0,height:140,placeholder:ue,showNullButton:!0,onCMBeforeChange:(Sn,En)=>{cn(Sn,En,Ot,Zt)}}))),ja.createElement(De.default.List,{name:ft,rules:[{validator(Sn,En){if((En==null?void 0:En.length)===0)return Promise.reject(new Error("\u8BF7\u5148\u5728\u9898\u5E72\u4E2D\u63D2\u5165\u586B\u7A7A\u9879"));for(const Fr of En){const{answer_text:Er}=Fr||{};if(Er!=null&&Er.some($a=>($a==null?void 0:$a.length)===0))return Promise.reject(new Error("\u586B\u7A7A\u9879\u7B54\u6848\u4E0D\u80FD\u4E3A\u7A7A"))}return Promise.resolve()}}]},(Sn,{add:En,remove:Fr},{errors:Er})=>(Jt.current=En,Qt.current=Fr,ja.createElement(ja.Fragment,null,ja.createElement(De.default.Item,{label:ja.createElement("span",null,"\u586B\u7A7A\u9879\u7B54\u6848",!(Sn!=null&&Sn.length)&&ja.createElement("span",{style:{color:"#E99237"}},"\uFF08\u8BF7\u5148\u5728\u9898\u5E72\u4E2D\u63D2\u5165\u586B\u7A7A\u9879\uFF09")),required:!0,labelCol:{span:24}}),Sn.map(($a,Do)=>{var na=$a,{key:Or,name:za}=na,Wr=ko(na,["key","name"]);return ja.createElement(ia.Z,{className:"mb20",key:Or,align:"top"},ja.createElement(nr.Z,{flex:"0 0 auto",className:`${oa.blankIndex} pt5`},"\u586B\u7A7A\u9879",Do+1),ja.createElement(nr.Z,{flex:1},ja.createElement(ia.Z,{align:"top",justify:"space-between"},ja.createElement(nr.Z,{flex:1},ja.createElement(De.default.Item,Ki(wi({},Wr),{name:[za,"answer_text"],noStyle:!0}),ja.createElement(bl,null))),(Ee==null?void 0:Ee.getFieldValue(["sub_item_banks",...it]))&&ja.createElement(nr.Z,{flex:"224px",style:{margin:"-7px 0 0 20px"}},ja.createElement(De.default.Item,Ki(wi({},Wr),{name:[za,"score"],label:"\u5206\u503C",rules:[{required:!0}],className:oa.blankInputNumberWrapper}),ja.createElement(Le.Z,{onChange:()=>{var So,wo;let Vo=Ee==null?void 0:Ee.getFieldValue(["sub_item_banks",ft==null?void 0:ft[0],"standard_answers"]),Pa=0;for(let yr in Vo)(So=Vo[yr])!=null&&So.score&&(Pa+=Number((wo=Vo[yr])==null?void 0:wo.score));Ee==null||Ee.setFieldValue(["sub_item_banks",ft==null?void 0:ft[0],"question_score"],Pa)},className:oa.blankInput,min:.1,max:100,precision:1,style:{width:"100%"},placeholder:"\u8BF7\u8F93\u5165\u5206\u503C"})))),ja.createElement(De.default.Item,Ki(wi({},Wr),{name:[za,"position"],noStyle:!0}),ja.createElement(ze.default,{type:"hidden"}))))})))),ja.createElement(ia.Z,{align:"middle"},ja.createElement(De.default.Item,{name:[Pe,"downcase"],valuePropName:"checked"},ja.createElement(Va.Z,null)),ja.createElement(nr.Z,{className:"ml10"},"\u5224\u5206\u65F6\u5FFD\u7565\u7B54\u6848\u4E2D\u7684\u5B57\u6BCD\u5927\u5C0F\u5199")),ja.createElement(ia.Z,{align:"middle"},ja.createElement(De.default.Item,{name:[Pe,"no_space"],valuePropName:"checked"},ja.createElement(Va.Z,null)),ja.createElement(nr.Z,{className:"ml10"},"\u5224\u5206\u65F6\u5FFD\u7565\u7B54\u6848\u4E2D\u7684\u7A7A\u683C")),(va==null?void 0:va.length)>1&&ja.createElement(ia.Z,{align:"middle",className:(va==null?void 0:va.length)>1?"mb30":`${oa.hide}`},ja.createElement(De.default.Item,{name:Yt},ja.createElement(Kl,null)),ja.createElement(nr.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")),ja.createElement("div",{onClick:()=>qe(!0)},ja.createElement(De.default.Item,{name:vn,label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},ja.createElement(Tr,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:Bn}))))};var dl=Object.defineProperty,Za=Object.defineProperties,Hn=Object.getOwnPropertyDescriptors,kn=Object.getOwnPropertySymbols,me=Object.prototype.hasOwnProperty,pt=Object.prototype.propertyIsEnumerable,xt=(ue,Ee,Pe)=>Ee in ue?dl(ue,Ee,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ue[Ee]=Pe,gn=(ue,Ee)=>{for(var Pe in Ee||(Ee={}))me.call(Ee,Pe)&&xt(ue,Pe,Ee[Pe]);if(kn)for(var Pe of kn(Ee))pt.call(Ee,Pe)&&xt(ue,Pe,Ee[Pe]);return ue},Et=(ue,Ee)=>Za(ue,Hn(Ee)),wn=(ue,Ee)=>{var Pe={};for(var it in ue)me.call(ue,it)&&Ee.indexOf(it)<0&&(Pe[it]=ue[it]);if(ue!=null&&kn)for(var it of kn(ue))Ee.indexOf(it)<0&&pt.call(ue,it)&&(Pe[it]=ue[it]);return Pe};const Fn={\u6B63\u786E:"T",\u9519\u8BEF:"F"},fn=({value:ue,onChange:Ee,form:Pe,choiceKey:it})=>{const ft=(ue==null?void 0:ue.is_answer)===1,Rn=ue==null?void 0:ue.choice_text,vn=()=>{var Yt;const vt=(Yt=Pe==null?void 0:Pe.getFieldValue(["sub_item_banks",...it]))==null?void 0:Yt.map(qt=>({choice_text:qt.choice_text,is_answer:0}));Pe==null||Pe.setFieldValue(["sub_item_banks",...it],vt),Ee(Et(gn({},ue),{is_answer:1}))};return b.createElement(ia.Z,{className:oa.choiceWrap,align:"middle",wrap:!1},b.createElement(nr.Z,{onClick:vn,className:`${oa.choiceIndex} ${oa.judgementIndex} ${ft?oa.activeAnswer:""}`},Fn[Rn]),b.createElement(nr.Z,{flex:1,className:`${oa.editorWrap} ml15`},b.createElement("div",{className:`${oa.inputBorder} ${oa.placeholder} ${ft?oa.activeJudgementAnswer:""}`},Rn)),b.createElement(nr.Z,{flex:"0 0 auto",className:"ml15"},b.createElement("div",{onClick:vn,className:`${oa.setAnswerBtn} ${ft?oa.activeAnswer:""}`},ft?"\u6B63\u786E\u7B54\u6848":"\u8BBE\u4E3A\u7B54\u6848")))},bn=({questionTitlePlaceholder:ue,choiceKey:Ee="choices",form:Pe,titleKey:it="name",analysisKey:ft="analysis"})=>{const[Rn,vn]=(0,b.useState)(!1);return b.createElement("div",{className:oa.wrap},b.createElement("div",{className:oa.questionTitleEditorWrap},b.createElement(De.default.Item,{label:"\u9898\u5E72",name:it,labelCol:{span:24},rules:[{required:!0}]},b.createElement(pr,{scrollId:"name",watch:!0,height:140,placeholder:ue}))),b.createElement(De.default.Item,{label:"\u7B54\u6848\u9009\u9879",required:!0,labelCol:{span:24}},b.createElement(De.default.List,{name:Ee,rules:[{validator(Yt,vt){return vt.some(Bn=>(Bn==null?void 0:Bn.is_answer)===1)?Promise.resolve():Promise.reject(new Error("\u8BF7\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848"))}}]},Yt=>b.createElement("div",{id:"choices"},Yt.map(vt=>{var qt=vt,{key:Bn,name:qe}=qt,Ct=wn(qt,["key","name"]);return b.createElement(De.default.Item,Et(gn({},Ct),{key:Bn,name:qe,noStyle:!0}),b.createElement(fn,{form:Pe,choiceKey:Ee}))})))),b.createElement("div",{onClick:()=>vn(!0)},b.createElement(De.default.Item,{name:ft,label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},b.createElement(Tr,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:Rn}))))};var Ma=oe(12563),or={ai_config:"ai_config___cJ8LY",znpy:"znpy___RTAAN",pfbz_ts:"pfbz_ts___ux6Ec",btns_pfbz:"btns_pfbz___QFXM_",lable_name1:"lable_name1___c_vnV",h_lh_40:"h_lh_40___ptAW7"},hr=oe(44125),ca=oe(68956),ma=oe(59301);const ar=({qitem:ue,form:Ee,exercise:Pe,loading:it,dispatch:ft,aiReviewSettings:Rn=null})=>ma.createElement("div",{className:or.ai_config},ma.createElement("div",{style:{lineHeight:"32px",paddingBottom:8}},"\u8BC4\u5206\u6807\u51C6"),ma.createElement("div",{className:or.pfbz_ts},ma.createElement("div",{style:{color:"#333"}},"\u63D0\u793A\uFF1A\u53C2\u8003\u7B54\u6848\u548C\u9898\u76EE\u89E3\u6790\u8D8A\u5B8C\u5584\uFF0CAI\u667A\u80FD\u8BC4\u9605\u5C31\u8D8A\u7CBE\u51C6~"),ma.createElement("div",{className:"flex"},ma.createElement("div",{className:or.btns_pfbz,onClick:()=>{ft({type:"exercise/setActionTabs",payload:{key:"\u6D4B\u8BD5AI\u8BC4\u5206",questionId:ue==null?void 0:ue.question_id,ai_review_settings:Ee.getFieldValue(Rn||"ai_review_settings")}})}},ma.createElement("img",{src:hr.Z}),"\u6D4B\u8BD5AI\u8BC4\u5206"))),ma.createElement("div",{style:{background:"#F6F7F9"}},ma.createElement(De.default.List,{name:Rn||"ai_review_settings"},(vn,{add:Yt,remove:vt})=>vn.map((qt,Bn)=>{var qe;return ma.createElement(ia.Z,{key:qt.key,style:{padding:"5px 10px 5px 15px"}},ma.createElement(nr.Z,{className:or.lable_name1},"\u8BC4\u5206\u9879\u76EE"),ma.createElement(nr.Z,null,ma.createElement(De.default.Item,{className:"ml10",name:[qt.name,"name"],rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u8BC4\u5206\u9879\u76EE"}]},ma.createElement(ze.default,{onChange:Ct=>{Ee.setFieldValue([qt.name,"content"],Ct.target.value)},placeholder:"\u8BF7\u8F93\u5165\u6700\u591A10\u5B57\u7B26",size:"large",style:{width:142},maxLength:10,className:"mr15"}))),ma.createElement(nr.Z,{className:or.lable_name1},"\u8BC4\u5206\u6807\u51C6"),ma.createElement(nr.Z,null,ma.createElement(De.default.Item,{className:"ml10",name:[qt.name,"content"],rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u8BC4\u5206\u6807\u51C6"}]},ma.createElement(ze.default,{onChange:Ct=>{Ee.setFieldValue([qt.name,"content"],Ct.target.value)},placeholder:"\u8BF7\u8F93\u5165\u8BC4\u5206\u6807\u51C6",size:"large",style:{width:Rn?232:318},className:"mr15",maxLength:500}))),ma.createElement(nr.Z,{className:or.lable_name1},"\u6743\u91CD"),ma.createElement(nr.Z,null,ma.createElement(De.default.Item,{className:"ml10",name:[qt.name,"weight"],rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6743\u91CD"},{pattern:/^(?!0(\.0+)?$)(\d+(\.\d)?)$/,message:"\u6700\u591A\u4FDD\u7559\u4E00\u4F4D\u5C0F\u6570"}]},ma.createElement(Le.Z,{value:Ee.getFieldValue([qt.name,"weight"]),onChange:Ct=>{Number.isInteger(Ct)||Ee.setFieldValue([qt.name,"weight"],parseFloat(Ct).toFixed(2))},size:"large",addonAfter:"%",placeholder:"\u8BF7\u8F93\u5165\u6743\u91CD",min:.01,step:1,max:100,style:{width:"110px"}}))),ma.createElement(ia.Z,{className:(qe=or)==null?void 0:qe.h_lh_40},ma.createElement(nr.Z,null,ma.createElement("i",{className:"iconfont icon-tianjiatimu ml10 current",style:{color:"#00B187"},onClick:()=>{if(vn.length>=10)return Ae.ZP.info("\u6700\u591A\u53EA\u80FD\u6DFB\u52A010\u4E2A\u8BC4\u5206\u9879\u76EE");Yt()}})),Bn>0&&ma.createElement(nr.Z,null,ma.createElement("i",{className:"iconfont icon-shanjian1 ml10 current",style:{color:"#E30000"},onClick:()=>{vt(qt.name)}}))))}))),ma.createElement(ca.Z,null));var sr=(0,he.connect)(({exercise:ue,loading:Ee})=>({exercise:ue,loading:Ee.effects}))(ar),_o=Object.defineProperty,Jo=Object.defineProperties,Oo=Object.getOwnPropertyDescriptors,Uo=Object.getOwnPropertySymbols,ri=Object.prototype.hasOwnProperty,si=Object.prototype.propertyIsEnumerable,Fl=(ue,Ee,Pe)=>Ee in ue?_o(ue,Ee,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ue[Ee]=Pe,$i=(ue,Ee)=>{for(var Pe in Ee||(Ee={}))ri.call(Ee,Pe)&&Fl(ue,Pe,Ee[Pe]);if(Uo)for(var Pe of Uo(Ee))si.call(Ee,Pe)&&Fl(ue,Pe,Ee[Pe]);return ue},el=(ue,Ee)=>Jo(ue,Oo(Ee)),tl=(ue,Ee)=>{var Pe={};for(var it in ue)ri.call(ue,it)&&Ee.indexOf(it)<0&&(Pe[it]=ue[it]);if(ue!=null&&Uo)for(var it of Uo(ue))Ee.indexOf(it)<0&&si.call(ue,it)&&(Pe[it]=ue[it]);return Pe};const ou=ue=>{var Ee=ue,{value:Pe,onChange:it}=Ee,ft=tl(Ee,["value","onChange"]);const Rn=vn=>{it([vn])};return b.createElement($t.Z,el($i({},ft),{defaultValue:Pe==null?void 0:Pe[0],onChange:Rn}))},cl=ue=>{if(!ue)return!1;let Ee=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 ue==="|"?(Ae.ZP.warning("\u5173\u952E\u8BCD\u4E0D\u80FD\u53EA\u8F93\u5165\u4E00\u4E2A\u201C|\u201D\u5B57\u7B26\uFF01"),!1):!0},Ml=({value:ue=[],onClose:Ee})=>b.createElement(Ma.default,{closable:!0,onClose:Ee,className:oa.keywordTag},b.createElement("pre",{style:{margin:"0px",whiteSpace:"pre-wrap"}},ue.join(" \u6216 "))),as=({questionTitlePlaceholder:ue,form:Ee,showKeywords:Pe,isMustKeyWords:it=Pe,titleKey:ft="name",analysisKey:Rn="analysis",answerTexts:vn="answer_texts",keywords:Yt="keywords",useKeywords:vt="use_keywords",indexs:qt,qitem:Bn,exerciseitem:qe,aiReviewSettings:Ct})=>{var cn,Cn,Jt,Ot,Qt;const[Zt,va]=(0,b.useState)(!1),[Sn,En]=(0,b.useState)(""),Fr=(Cn=(cn=Ee.getFieldValue("sub_item_banks"))==null?void 0:cn[vt==null?void 0:vt[0]])==null?void 0:Cn[vt==null?void 0:vt[1]],Er=(Ot=(Jt=Ee.getFieldValue("sub_item_banks"))==null?void 0:Jt[vt==null?void 0:vt[0]])==null?void 0:Ot.question_score;return b.createElement("div",{className:oa.wrap},b.createElement("div",{className:oa.questionTitleEditorWrap},b.createElement(De.default.Item,{label:"\u9898\u5E72",name:ft,labelCol:{span:24},rules:[{required:!0}]},b.createElement(pr,{scrollId:"name",watch:!0,height:140,placeholder:ue}))),b.createElement(De.default.Item,{label:"\u53C2\u8003\u7B54\u6848",name:vn,labelCol:{span:24}},b.createElement(ou,{watch:!0,height:140,placeholder:"\u8BF7\u7F16\u8F91\u53C2\u8003\u7B54\u6848\uFF08\u975E\u5FC5\u586B\uFF09"})),Pe&&!it&&b.createElement(De.default.Item,{hidden:!0,name:vt,valuePropName:"checked"},b.createElement(Va.Z,{defaultChecked:!0})),Pe&&it&&b.createElement(ia.Z,{align:"middle",className:"mb30"},b.createElement(De.default.Item,{name:vt,valuePropName:"checked"},b.createElement(Va.Z,null)),b.createElement(nr.Z,{className:"ml10"},"\u5F00\u542F\u5173\u952E\u8BCD\u81EA\u52A8\u5224\u5206"),b.createElement(nr.Z,null,b.createElement(ut.Z,{placement:"right",title:"\u9009\u4E2D\u540E\uFF0C\u9700\u8981\u8BBE\u7F6E\u6BCF\u4E2A\u5173\u952E\u8BCD\u7684\u5206\u503C\uFF0C\u7CFB\u7EDF\u4F1A\u6839\u636E\u8BBE\u7F6E\u7684\u5173\u952E\u8BCD\u8FDB\u884C\u81EA\u52A8\u5224\u5206\uFF1B \u6240\u6709\u5173\u952E\u8BCD\u5206\u503C\u4E4B\u548C\u5FC5\u987B\u5C0F\u4E8E\u7B49\u4E8E\u5C0F\u9898\u5206\u503C\u3002"},b.createElement(yn.Z,{style:{color:"#3061D0",marginLeft:6,cursor:"pointer"}})))),(Fr||!it)&&b.createElement(De.default.List,{name:Yt,rules:[{validator($a,Do){return it?Do!=null&&Do.length?(Do==null?void 0:Do.reduce((Or,za)=>Or+za.score,0))>parseFloat(Er)?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()}}]},($a,{add:Do,remove:na})=>b.createElement(b.Fragment,null,b.createElement("div",{className:`${oa.title} mb10`},it?"\u5173\u952E\u8BCD":b.createElement("span",{style:{color:"#9096A3"}},"\u5224\u5206\u5173\u952E\u8BCD")),b.createElement(ia.Z,{align:"middle",className:"font14 mb30"},b.createElement(nr.Z,{flex:1},b.createElement(ze.default,{value:Sn,onChange:Or=>{En(Or.target.value)},maxLength:50,allowClear:!0,onPressEnter:Or=>{var za,Wr,So,wo;const Vo=`${(za=Or.target)==null?void 0:za.value}`,Pa=(So=(Wr=Vo==null?void 0:Vo.split("|"))==null?void 0:Wr.filter(Co=>!!Co))==null?void 0:So.map(Co=>Co==null?void 0:Co.trim()),yr=Ee.getFieldValue(["sub_item_banks",...Yt]),Pi=((wo=yr==null?void 0:yr.map(Co=>Co==null?void 0:Co.keyword))==null?void 0:wo.flat())||[];for(const Co of Pa)if(Pi.includes(Co)){Ae.ZP.error("\u4E3A\u907F\u514D\u5224\u5206\u9519\u8BEF\uFF0C\u8BF7\u52FF\u8BBE\u7F6E\u76F8\u540C\u7684\u5173\u952E\u8BCD");return}cl(Vo)&&(Do({keyword:Pa,score:1}),En(""))},className:oa.inputBorder,placeholder:"\u652F\u6301\u8BBE\u7F6E\u591A\u4E2A\u5173\u952E\u8BCD\uFF1B\u5E76\u5217\u5173\u952E\u8BCD\uFF08\u6216\u7684\u5173\u7CFB\uFF09\u8BF7\u7528\u201C|\u201D\u5206\u9694\u5F00"})),b.createElement(nr.Z,{flex:"148px",style:{textAlign:"right",color:"#e99237"}},"\u201C\u56DE\u8F66\u952E\u201D\u4FDD\u5B58\u5173\u952E\u8BCD")),$a.map(Or=>{var za=Or,{key:Wr,name:So}=za,wo=tl(za,["key","name"]);return b.createElement(ia.Z,{key:Wr,className:"mb20",style:{marginRight:148}},b.createElement(nr.Z,{flex:1},b.createElement(ia.Z,{align:"middle",justify:"space-between"},b.createElement(De.default.Item,el($i({},wo),{name:[So,"keyword"]}),b.createElement(Ml,{onClose:()=>na(So)})),it&&b.createElement(De.default.Item,el($i({},wo),{name:[So,"score"],label:"\u5206\u503C",rules:[{required:!0}],className:oa.blankInputNumberWrapper}),b.createElement(Le.Z,{className:oa.blankInput,min:.1,max:100,precision:1,style:{width:"100%"},placeholder:"\u8BF7\u8F93\u5165\u5173\u952E\u8BCD\u5206\u6570"})))))}))),b.createElement("div",{onClick:()=>va(!0)},b.createElement(De.default.Item,{name:Rn,label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},b.createElement(Tr,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:Zt}))),((Qt=qe==null?void 0:qe.exercise)==null?void 0:Qt.is_open_ai_review)&&b.createElement(sr,{form:Ee,qitem:Bn,aiReviewSettings:Ct}))};var Mr=oe(59301),Cu=Object.defineProperty,wu=Object.defineProperties,rs=Object.getOwnPropertyDescriptors,Li=Object.getOwnPropertySymbols,zu=Object.prototype.hasOwnProperty,Lu=Object.prototype.propertyIsEnumerable,Pu=(ue,Ee,Pe)=>Ee in ue?Cu(ue,Ee,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ue[Ee]=Pe,Nu=(ue,Ee)=>{for(var Pe in Ee||(Ee={}))zu.call(Ee,Pe)&&Pu(ue,Pe,Ee[Pe]);if(Li)for(var Pe of Li(Ee))Lu.call(Ee,Pe)&&Pu(ue,Pe,Ee[Pe]);return ue},iu=(ue,Ee)=>wu(ue,rs(Ee)),Vu=(ue,Ee)=>{var Pe={};for(var it in ue)zu.call(ue,it)&&Ee.indexOf(it)<0&&(Pe[it]=ue[it]);if(ue!=null&&Li)for(var it of Li(ue))Ee.indexOf(it)<0&&Lu.call(ue,it)&&(Pe[it]=ue[it]);return Pe};const{Panel:Iu}=wr.default,Ou=({questionTitlePlaceholder:ue,choiceKey:Ee,form:Pe,withScore:it,exerciseitem:ft})=>{const Rn=[{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,Yt]=(0,b.useState)(),[vt,qt]=(0,b.useState)([]),Bn=Ct=>{qt(Ct)},qe=({value:Ct})=>Mr.createElement("div",{style:{width:150,paddingLeft:11}},Ct);return Mr.createElement("div",{className:oa.wrap},Mr.createElement("div",{className:oa.questionTitleEditorWrap},Mr.createElement(De.default.Item,{label:"\u9898\u5E72",name:"name",labelCol:{span:24},rules:[{required:!0}]},Mr.createElement(pr,{scrollId:"name",watch:!0,height:140,placeholder:ue}))),Mr.createElement(De.default.Item,{label:"\u5C0F\u9898",required:!0,labelCol:{span:24}}),Mr.createElement(De.default.List,{name:"sub_item_banks",rules:[{validator(Ct,cn){return cn?Promise.resolve():Promise.reject(new Error("\u8BF7\u6DFB\u52A0\u5C0F\u9898"))}}]},(Ct,{add:cn,remove:Cn,move:Jt})=>{const Ot=Pe.getFieldValue("sub_item_banks");return Mr.createElement(Mr.Fragment,null,Mr.createElement(wr.default,{className:Ct.length>0?oa.collapseWrapper:"",bordered:!1,activeKey:vt,onChange:Bn,expandIcon:({isActive:Qt})=>Mr.createElement("i",{className:`iconfont icon-weizhankai ${Qt?oa.open:oa.close}`,style:{fontSize:14,transition:"all .2s"}})},Ct.map((Qt,Zt)=>{var va=Qt,{key:Sn,name:En}=va,Fr=Vu(va,["key","name"]),Er,$a,Do,na,Or,za,Wr,So,wo,Vo,Pa,yr,Pi,Co;return Mr.createElement(Iu,{className:oa.panel,forceRender:!0,header:Mr.createElement("div",{className:oa.panelHeader},"\u7B2C",Zt+1,"\u5C0F\u9898",Mr.createElement("span",null,"\uFF08",((Er=Ot==null?void 0:Ot[En])==null?void 0:Er.question_type)==0?"\u5355\u9009\u9898":(($a=Ot==null?void 0:Ot[En])==null?void 0:$a.question_type)==1?"\u591A\u9009\u9898":((Do=Ot==null?void 0:Ot[En])==null?void 0:Do.question_type)==3?"\u586B\u7A7A\u9898":((na=Ot==null?void 0:Ot[En])==null?void 0:na.question_type)==2?"\u5224\u65AD\u9898":"\u7B80\u7B54\u9898","\uFF09")),key:En,extra:Mr.createElement(ia.Z,{align:"middle",onClick:Dn=>Dn.stopPropagation()},((Or=Ot==null?void 0:Ot[En])==null?void 0:Or.question_type)==3&&Mr.createElement(Mr.Fragment,null,Mr.createElement(Me.ZP.Group,{defaultValue:(za=Ot==null?void 0:Ot[En])==null?void 0:za.use_blank_score,className:nt.scoreByBlankRadio,style:{marginRight:20},optionType:"button",options:[{label:"\u6309\u7A7A\u7ED9\u5206",value:!0},{label:"\u6309\u9898\u7ED9\u5206",value:!1}],onChange:Dn=>{var ui,Ii,ci,Bi,Oi;if(Pe==null||Pe.setFieldValue(["sub_item_banks",En,"use_blank_score"],(ui=Dn==null?void 0:Dn.target)==null?void 0:ui.value),(Ii=Dn==null?void 0:Dn.target)!=null&&Ii.value){let ti=0;for(let ol in(ci=Pe==null?void 0:Pe.getFieldValue(["sub_item_banks",En]))==null?void 0:ci.standard_answers)ti+=Number((Oi=(Bi=Pe==null?void 0:Pe.getFieldValue(["sub_item_banks",En]))==null?void 0:Bi.standard_answers[ol])==null?void 0:Oi.score);Pe==null||Pe.setFieldValue(["sub_item_banks",En,"question_score"],ti||"")}Yt(new Date)}}),Mr.createElement(ut.Z,{overlayInnerStyle:{width:460},title:Mr.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",Mr.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")},Mr.createElement("i",{className:"icon-tishixiaowenhao font18 mr25 c-3061d0"}))),it&&Mr.createElement(De.default.Item,iu(Nu({},Fr),{rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5C0F\u9898\u5206\u503C"}],label:"\u5206\u503C",name:[En,"question_score"],className:oa.blankInputNumberWrapper}),((Wr=Ot==null?void 0:Ot[En])==null?void 0:Wr.question_type)==3&&((So=Ot==null?void 0:Ot[En])!=null&&So.use_blank_score)?Mr.createElement(qe,null):Mr.createElement(Le.Z,{className:oa.blankInput,placeholder:"\u8BF7\u8F93\u5165\u5206\u6570",min:.1,precision:1,max:100,style:{width:150}})),Mr.createElement(ia.Z,{align:"middle",className:"pl40",style:{width:82}},Zt!==0&&Mr.createElement("div",{onClick:()=>{var Dn;Jt(Zt,Zt-1);const ui=(Dn=Pe.getFieldValue("sub_item_banks"))==null?void 0:Dn.map((Ii,ci)=>(Ct.map((Bi,Oi)=>{ci===Oi&&(Ii.q_position=Number(Bi.name)+1)}),Ii));Pe.setFieldValue("sub_item_banks",ui)}},Mr.createElement(ut.Z,{title:"\u4E0A\u79FB"},Mr.createElement("i",{className:"iconfont icon-shangyi3 c-grey-999 primary-hover"}))),Zt<Ct.length-1&&Mr.createElement("div",{onClick:()=>{var Dn;Jt(Zt,Zt+1);const ui=(Dn=Pe.getFieldValue("sub_item_banks"))==null?void 0:Dn.map((Ii,ci)=>(Ct.map((Bi,Oi)=>{ci===Oi&&(Ii.q_position=Number(Bi.name)+1)}),Ii));Pe.setFieldValue("sub_item_banks",ui)},className:Zt===0?"":"ml10"},Mr.createElement(ut.Z,{title:"\u4E0B\u79FB"},Mr.createElement("i",{className:"iconfont icon-xiayi3 c-grey-999 primary-hover"})))),Mr.createElement(ut.Z,{title:"\u5220\u9664"},Mr.createElement(se.Z,{className:`${oa.deleteIcon} ml40`,onClick:()=>Cn(En)})))},Mr.createElement(De.default.Item,iu(Nu({},Fr),{name:En}),(((wo=Ot==null?void 0:Ot[En])==null?void 0:wo.question_type)==0||((Vo=Ot==null?void 0:Ot[En])==null?void 0:Vo.question_type)==1)&&Mr.createElement(Qr,{questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u9009\u62E9\u9898\u9898\u5E72\u5185\u5BB9",allowChangeMode:((Pa=Ot==null?void 0:Ot[En])==null?void 0:Pa.question_type)==1,form:Pe,choiceKey:[En,"choices"],titleKey:[En,"name"],analysisKey:[En,"analysis"],choiceOptionsPath:["sub_item_banks",En,"choices"],choiceTextKey:"choice_text",answerKey:"is_answer"}),((yr=Ot==null?void 0:Ot[En])==null?void 0:yr.question_type)==3&&Mr.createElement(ji,{form:Pe,name:En,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u9898\u5E72\u5E76\u8BBE\u7F6E\u586B\u7A7A\u9879",scoreByBlank:[En,"use_blank_score"],titleKey:[En,"name"],analysisKey:[En,"analysis"],isOrdered:[En,"is_ordered"],answerKey:[En,"standard_answers"],key:vn}),((Pi=Ot==null?void 0:Ot[En])==null?void 0:Pi.question_type)==2&&Mr.createElement(bn,{form:Pe,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u5224\u65AD\u9898\u9898\u5E72\u5185\u5BB9",titleKey:[En,"name"],analysisKey:[En,"analysis"],choiceKey:[En,"choices"]}),((Co=Ot==null?void 0:Ot[En])==null?void 0:Co.question_type)==4&&Mr.createElement(as,{showKeywords:!0,isMustKeyWords:!0,form:Pe,titleKey:[En,"name"],analysisKey:[En,"analysis"],answerTexts:[En,"answer_texts"],useKeywords:[En,"use_keywords"],keywords:[En,"keywords"],aiReviewSettings:[En,"ai_review_settings"],indexs:En,qitem:Ot==null?void 0:Ot[En],questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u7B80\u7B54\u9898\u9898\u5E72\u5185\u5BB9",exerciseitem:ft})))})),Ct.length<20&&Mr.createElement(Ce.Z,{menu:{items:[{label:Mr.createElement("div",{onClick:()=>{cn({name:"",choices:Array.from({length:4},()=>({choice_text:"",is_answer:0})),analysis:"",question_type:0,item_type:"SINGLE"}),qt([Ct==null?void 0:Ct.length,...vt])}},"\u5355\u9009\u9898"),key:"1",show:!0},{label:Mr.createElement("div",{onClick:()=>{cn({name:"",choices:Array.from({length:4},()=>({choice_text:"",is_answer:0})),analysis:"",question_type:1,item_type:"MULTIPLE"}),qt([Ct==null?void 0:Ct.length,...vt])}},"\u591A\u9009\u9898"),key:"2",show:!0},{label:Mr.createElement("div",{onClick:()=>{cn({name:"",choices:[{choice_text:"\u6B63\u786E",is_answer:0},{choice_text:"\u9519\u8BEF",is_answer:0}],analysis:"",question_type:2,item_type:"JUDGMENT"}),qt([Ct==null?void 0:Ct.length,...vt])}},"\u5224\u65AD\u9898"),key:"3",show:!0},{label:Mr.createElement("div",{onClick:()=>{cn({name:"",analysis:"",is_ordered:!0,standard_answers:[],question_type:3,item_type:"COMPLETION",use_blank_score:!0,downcase:!0,no_space:!0}),qt([Ct==null?void 0:Ct.length,...vt])}},"\u586B\u7A7A\u9898"),key:"4",show:!0},{label:Mr.createElement("div",{onClick:()=>{cn({name:"",answer_texts:[],keywords:[],use_keywords:!1,analysis:"",question_type:4,item_type:"SUBJECTIVE"}),qt([Ct==null?void 0:Ct.length,...vt])}},"\u7B80\u7B54\u9898"),key:"5",show:!0}].filter(Qt=>Qt.show).map(Qt=>({label:Qt.label,key:Qt.key}))}},Mr.createElement("div",{className:`${oa.addBtn}`},"\u6DFB\u52A0\u5C0F\u9898")))}))};var Ni=oe(59301),Wu=Object.defineProperty,Bu=Object.defineProperties,yi=Object.getOwnPropertyDescriptors,Au=Object.getOwnPropertySymbols,os=Object.prototype.hasOwnProperty,lu=Object.prototype.propertyIsEnumerable,Jl=(ue,Ee,Pe)=>Ee in ue?Wu(ue,Ee,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ue[Ee]=Pe,Cl=(ue,Ee)=>{for(var Pe in Ee||(Ee={}))os.call(Ee,Pe)&&Jl(ue,Pe,Ee[Pe]);if(Au)for(var Pe of Au(Ee))lu.call(Ee,Pe)&&Jl(ue,Pe,Ee[Pe]);return ue},Bl=(ue,Ee)=>Bu(ue,yi(Ee)),is=(ue,Ee,Pe)=>new Promise((it,ft)=>{var Rn=vt=>{try{Yt(Pe.next(vt))}catch(qt){ft(qt)}},vn=vt=>{try{Yt(Pe.throw(vt))}catch(qt){ft(qt)}},Yt=vt=>vt.done?it(vt.value):Promise.resolve(vt.value).then(Rn,vn);Yt((Pe=Pe.apply(ue,Ee)).next())}),ls=({qitem:ue,setisedit:Ee,TagDiscipline:Pe,exerciseitem:it,seveeditor:ft,deleteitem:Rn,getTagData:vn,init:Yt,showTip:vt=!1})=>{var qt;const[Bn]=De.default.useForm(),{unified_ai_setting:qe,ai_review_settings:Ct}=it==null?void 0:it.exercise;(0,b.useEffect)(()=>{var Cn;Bn.setFieldsValue(Bl(Cl({},ue),{name:ue.question_title,sub_item_banks:(Cn=ue.sub_exercise_questions)==null?void 0:Cn.map(Jt=>{var Ot,Qt;if(Jt.question_type==4){const Zt=qe?Ct:((Ot=Jt==null?void 0:Jt.ai_review_settings)==null?void 0:Ot.length)>0?Jt.ai_review_settings:Ct;Jt.ai_review_settings=Zt}return Bl(Cl({},Jt),{name:Jt.question_title,choices:(Qt=Jt==null?void 0:Jt.question_choices)==null?void 0:Qt.map(Zt=>Bl(Cl({},Zt),{is_answer:Zt!=null&&Zt.standard_boolean?1:0}))})}),repeat_answer:!ue.repeat_answer}))},[ue]);const cn=Cn=>{if(!(Cn!=null&&Cn.length))return!1;const Jt=Cn.map(Qt=>{var Zt;return(Zt=Qt.choice_text)==null?void 0:Zt.trim().replace(/^\s+|\s+$/g,"")});return new Set(Jt).size!==Jt.length};return Ni.createElement("div",null,Ni.createElement(De.default,{form:Bn,colon:!1,onValuesChange:(Cn,Jt)=>{var Ot,Qt,Zt,va;if(Cn!=null&&Cn.sub_item_banks){let Sn=((Ot=Bn.getFieldValue("sub_item_banks"))==null?void 0:Ot.length)>0&&((Zt=(Qt=Bn.getFieldValue("sub_item_banks"))==null?void 0:Qt.map(En=>{var Fr;if(En.question_type==3&&(En!=null&&En.use_blank_score)){let Er=0;for(let $a in En==null?void 0:En.standard_answers)Er+=Number((Fr=En==null?void 0:En.standard_answers[$a])==null?void 0:Fr.score);return Er}else return En.question_score}))==null?void 0:Zt.filter(En=>En));(Sn==null?void 0:Sn.length)>0&&Bn.setFieldsValue({question_score:(va=parseFloat(Sn.reduce((En,Fr)=>parseFloat(En)+parseFloat(Fr))))==null?void 0:va.toFixed(1)})}},onFinish:Cn=>{var Jt,Ot;if((Jt=Cn.sub_item_banks)==null?void 0:Jt.some(Zt=>Zt.question_type===0||Zt.question_type===1?cn(Zt.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}ft(Bl(Cl(Cl({},ue),Cn),{question_title:Cn.name,sub_questions:(Ot=Cn==null?void 0:Cn.sub_item_banks)==null?void 0:Ot.map(Zt=>{var va,Sn,En,Fr;return(Zt==null?void 0:Zt.question_type)==3?Bl(Cl({},Zt),{question_title:Zt.name,item_type:Zt==null?void 0:Zt.question_type}):Bl(Cl({},Zt),{question_title:Zt.name,question_choices:(Sn=(va=Zt==null?void 0:Zt.choices)==null?void 0:va.map)==null?void 0:Sn.call(va,Er=>Er.choice_text),standard_answers:(Fr=(En=Zt==null?void 0:Zt.choices)==null?void 0:En.map)==null?void 0:Fr.call(En,(Er,$a)=>(Er==null?void 0:Er.is_answer)===1&&$a+1).filter(Er=>Er),item_type:Zt==null?void 0:Zt.question_type})})}))},onFinishFailed:Cn=>is(void 0,null,function*(){var Jt,Ot;Ae.ZP.error(Cn.errorFields[0].errors[0]),Bn.scrollToField((Ot=(Jt=Cn==null?void 0:Cn.errorFields)==null?void 0:Jt[0])==null?void 0:Ot.name,{behavior:"smooth",block:"center"})})},Ni.createElement("div",{style:{display:"flex",alignItems:"center"}},Ni.createElement("div",{style:{flex:1}},Ni.createElement("span",{style:{display:"inline-flex",border:"1px solid #9096A3",borderRadius:"50%",width:10,height:10,marginRight:5,background:"#9096A3"}}),Ni.createElement("span",null,"\u7EC4\u5408\u9898")),((qt=it==null?void 0:it.exercise)==null?void 0:qt.exercise_status)==1&&!(ue!=null&&ue.isadd)&&Ni.createElement("span",{style:{marginLeft:20,marginRight:20,color:"red",cursor:"pointer"},onClick:()=>{Rn()}},Ni.createElement("i",{className:"iconfont icon-piliangshanchu3",style:{fontSize:14,marginRight:6}}),"\u5220\u9664"),Ni.createElement(_e.ZP,{onClick:()=>{var Cn;ue.isadd?(Ee(!1),Yt()):(Bn.setFieldsValue(Bl(Cl({},ue),{name:ue.question_title,sub_item_banks:(Cn=ue.sub_exercise_questions)==null?void 0:Cn.map(Jt=>{var Ot;return Bl(Cl({},Jt),{name:Jt.question_title,choices:(Ot=Jt==null?void 0:Jt.question_choices)==null?void 0:Ot.map(Qt=>Bl(Cl({},Qt),{is_answer:Qt!=null&&Qt.standard_boolean?1:0}))})}),repeat_answer:!ue.repeat_answer})),Ee(!1))}},"\u53D6\u6D88"),Ni.createElement(ut.Z,{overlayClassName:nt.shake,open:vt,placement:"bottom",color:"rgba(244,156,14,0.19)",title:Ni.createElement("div",{style:{color:"#FF841A",fontSize:"14px"}},Ni.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")},Ni.createElement(_e.ZP,{className:"ml20",type:"primary",onClick:()=>{Bn.submit()}},"\u4FDD\u5B58"))),Ni.createElement("div",{style:{maxHeight:"calc(100vh - 148px)",overflowY:"auto",marginTop:"10px",paddingRight:"5px"}},Ni.createElement(bt.Z,{text:"\uFF08\u7EC4\u5408\u9898\u5206\u503C\u7B49\u4E8E\u5404\u5C0F\u9898\u5206\u503C\u4E4B\u548C\uFF09"}),Ni.createElement(Ou,{form:Bn,withScore:!0,choiceKey:"",exerciseitem:it,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u7EC4\u5408\u9898\u9898\u5E72\u5185\u5BB9"}),Ni.createElement(pa,{getTagData:vn,qitem:ue,exerciseitem:it,TagDiscipline:Pe,form:Bn}))))},Qo=oe(59301),us=Object.defineProperty,ss=Object.defineProperties,ds=Object.getOwnPropertyDescriptors,Uu=Object.getOwnPropertySymbols,Ru=Object.prototype.hasOwnProperty,ku=Object.prototype.propertyIsEnumerable,Qu=(ue,Ee,Pe)=>Ee in ue?us(ue,Ee,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ue[Ee]=Pe,nl=(ue,Ee)=>{for(var Pe in Ee||(Ee={}))Ru.call(Ee,Pe)&&Qu(ue,Pe,Ee[Pe]);if(Uu)for(var Pe of Uu(Ee))ku.call(Ee,Pe)&&Qu(ue,Pe,Ee[Pe]);return ue},gl=(ue,Ee)=>ss(ue,ds(Ee)),yu=(ue,Ee,Pe)=>new Promise((it,ft)=>{var Rn=vt=>{try{Yt(Pe.next(vt))}catch(qt){ft(qt)}},vn=vt=>{try{Yt(Pe.throw(vt))}catch(qt){ft(qt)}},Yt=vt=>vt.done?it(vt.value):Promise.resolve(vt.value).then(Rn,vn);Yt((Pe=Pe.apply(ue,Ee)).next())}),Ku=({qitem:ue,setqitem:Ee,setisedit:Pe,TagDiscipline:it,exerciseitem:ft,seveeditor:Rn,deleteitem:vn,showTip:Yt})=>{var vt,qt;const[Bn]=De.default.useForm();return(0,b.useEffect)(()=>{var qe,Ct;Bn.setFieldsValue(gl(nl({},ue),{name:ue==null?void 0:ue.question_title,choices:(qe=ue==null?void 0:ue.question_choices)==null?void 0:qe.map(cn=>gl(nl({},cn),{standard_boolean:cn!=null&&cn.standard_boolean?1:0})),repeat_answer:!(ue!=null&&ue.repeat_answer)})),ue.shixun=(Ct=ue==null?void 0:ue.shixun)==null?void 0:Ct.map(cn=>gl(nl({},cn),{defaultscore:cn.challenge_score}))},[]),Qo.createElement("div",null,Qo.createElement(De.default,{form:Bn,colon:!1,onFinish:qe=>{var Ct,cn;let Cn=gl(nl({},qe),{question_scores:(Ct=ue==null?void 0:ue.shixun)==null?void 0:Ct.map(Jt=>Jt.challenge_score),item_type:ue==null?void 0:ue.question_type,choices:(cn=qe==null?void 0:qe.choices)==null?void 0:cn.map(Jt=>gl(nl({},Jt),{is_answer:Jt.standard_boolean}))});Rn(nl(nl({},ue),Cn))},onFinishFailed:qe=>yu(void 0,null,function*(){var Ct,cn;Ae.ZP.error(qe.errorFields[0].errors[0]),Bn.scrollToField((cn=(Ct=qe==null?void 0:qe.errorFields)==null?void 0:Ct[0])==null?void 0:cn.name,{behavior:"smooth",block:"center"})})},Qo.createElement("div",{style:{display:"flex",alignItems:"center"}},Qo.createElement("div",{style:{flex:1}},Qo.createElement("span",{style:{display:"inline-flex",border:"1px solid #9096A3",borderRadius:"50%",width:10,height:10,marginRight:5,background:"#9096A3"}}),Qo.createElement("span",null,"\u5B9E\u8BAD\u9898")),((vt=ft==null?void 0:ft.exercise)==null?void 0:vt.exercise_status)==1&&!(ue!=null&&ue.isadd)&&Qo.createElement("span",{style:{marginLeft:20,marginRight:20,color:"red",cursor:"pointer"},onClick:()=>{vn()}},Qo.createElement("i",{className:"iconfont icon-piliangshanchu3",style:{fontSize:14,marginRight:6}}),"\u5220\u9664"),Qo.createElement(_e.ZP,{onClick:()=>{var qe,Ct;Bn.setFieldsValue(gl(nl({},ue),{name:ue==null?void 0:ue.question_title,choices:(qe=ue==null?void 0:ue.question_choices)==null?void 0:qe.map(cn=>gl(nl({},cn),{standard_boolean:cn!=null&&cn.standard_boolean?1:0})),repeat_answer:!(ue!=null&&ue.repeat_answer)})),ue.shixun=(Ct=ue==null?void 0:ue.shixun)==null?void 0:Ct.map(cn=>gl(nl({},cn),{challenge_score:cn.defaultscore})),Ee(nl({},ue)),Pe(!1)}},"\u53D6\u6D88"),Qo.createElement(ut.Z,{overlayClassName:nt.shake,open:Yt,placement:"bottom",color:"rgba(244,156,14,0.19)",title:Qo.createElement("div",{style:{color:"#FF841A",fontSize:"14px"}},Qo.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")},Qo.createElement(_e.ZP,{className:"ml20",type:"primary",onClick:()=>yu(void 0,null,function*(){var qe,Ct,cn;if(((Ct=(qe=ue==null?void 0:ue.shixun)==null?void 0:qe.map)==null?void 0:Ct.call(qe,Cn=>Cn.challenge_score).filter(Cn=>Cn).length)<((cn=ue==null?void 0:ue.shixun)==null?void 0:cn.length)){Ae.ZP.info("\u5206\u6570\u4E0D\u80FD\u4E3A\u7A7A");return}Bn.submit()})},"\u4FDD\u5B58"))),Qo.createElement(bt.Z,{text:"\uFF08\u5B9E\u8BAD\u9898\u5206\u503C\u7B49\u4E8E\u5404\u5173\u5361\u5206\u503C\u4E4B\u548C\uFF09"}),Qo.createElement(De.default.Item,{label:"\u9898\u5E72",name:"question_title",labelCol:{span:24},rules:[{required:!0}]},Qo.createElement($t.Z,{watch:!0,height:140,placeholder:"",defaultValue:ue.question_title}))),Qo.createElement(ia.Z,{style:{marginBottom:15},align:"middle",justify:"space-between"},Qo.createElement("div",null,Qo.createElement("span",{style:{color:"red"}},"*"),"\u5173\u5361\u540D\u79F0"),Qo.createElement("a",{href:`/shixuns/${ue==null?void 0:ue.shixun_identifier}/challenges?exercise=true`,target:"_blank"},Qo.createElement("i",{onClick:()=>{},className:"iconfont icon-shixunkecheng font14 mr5"}),"\u5B9E\u8BAD\u8BE6\u60C5")),(qt=ue==null?void 0:ue.shixun)==null?void 0:qt.map((qe,Ct)=>Qo.createElement("div",{style:{display:"flex",marginBottom:20}},Qo.createElement("div",{style:{flex:1}},Ct+1,"\u3001",qe.challenge_name),Qo.createElement("div",null,Qo.createElement("span",{style:{color:"red"}},"*"),"\u5206\u503C",Qo.createElement(Le.Z,{precision:1,value:qe==null?void 0:qe.challenge_score,onChange:cn=>{const Cn=JSON.parse(JSON.stringify((ue==null?void 0:ue.shixun)||[]));Cn[Ct].challenge_score=cn;const Jt=Cn.every(Qt=>!Qt.challenge_score),Ot=parseFloat(Cn==null?void 0:Cn.map(Qt=>Qt.challenge_score).reduce((Qt,Zt)=>parseFloat(Qt||0)+parseFloat(Zt||0)));Bn.setFieldsValue({question_score:Jt?"":Ot.toFixed(1)}),Ee(gl(nl({},ue),{shixun:Cn}))},max:200,min:.1,style:{marginLeft:10,width:150},placeholder:"\u8BF7\u8F93\u5165\u5206\u503C",size:"middle"})))))},Fa={flex_box_center:"flex_box_center___Vhtb1",flex_space_between:"flex_space_between___k2ZrJ",flex_box_vertical_center:"flex_box_vertical_center___tn6Db",flex_box_center_end:"flex_box_center_end___k3eNX",flex_box_column:"flex_box_column___rsWbi",warp:"warp___UlRJc",indexTag:"indexTag___rjJ1u",normalWrap:"normalWrap___Qm4zY",redio:"redio___VW3yr",redioitem:"redioitem___jAPlJ",redioitemyes:"redioitemyes___VoiQ1",title:"title___Dt2dl",titleyes:"titleyes___Fjh3a",yestag:"yestag___CXrPv",checkbox:"checkbox___CgMU_",checkboxitem:"checkboxitem___PpJ9n",checkboxitemyes:"checkboxitemyes___pCfvZ",bottom:"bottom___BqrmJ",bottomitem:"bottomitem___Qk2rG",left:"left___l29lW",right:"right___nB1XE",completion:"completion___y1m7L",content:"content___AmQy4",items:"items___lIt8e",simple:"simple___zxJLH",shixunWrapper:"shixunWrapper___kAYdL",shixun:"shixun___UE6xS",score:"score___Px5Fq",qtitle:"qtitle___wG7Nn",program:"program___gzKdL",combination:"combination___R0ysn",qtype:"qtype___U0Suy",divname:"divname___guDo9"},cs=oe(1710),_u=oe(19105),bu=oe(24334),Un=oe(59301);const Xl=["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"],gs=[{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 ms=({qitem:ue,exercise:Ee})=>{var Pe,it,ft,Rn,vn,Yt,vt,qt,Bn,qe,Ct,cn,Cn,Jt,Ot,Qt,Zt,va,Sn,En,Fr,Er,$a,Do;return Un.createElement("div",{className:Fa.warp},((ue==null?void 0:ue.question_type)===0||(ue==null?void 0:ue.question_type)===2)&&Un.createElement("div",{className:Fa.normalWrap},(Pe=ue==null?void 0:ue.question_choices)==null?void 0:Pe.map((na,Or)=>Un.createElement("div",{className:Fa.redio},!(na!=null&&na.standard_boolean)&&Un.createElement("span",{className:Fa.redioitem}),(na==null?void 0:na.standard_boolean)&&Un.createElement("i",{className:`${Fa.redioitemyes} icon-duigou1`}),Un.createElement("span",{className:`${na!=null&&na.standard_boolean?Fa.titleyes:Fa.title} ${Fa.indexTag}`},(ue==null?void 0:ue.question_type)===0?Xl[Or]:""),Un.createElement(Mt.Z,{className:na!=null&&na.standard_boolean?Fa.titleyes:Fa.title,value:na==null?void 0:na.choice_text}),(na==null?void 0:na.standard_boolean)&&Un.createElement("div",{className:Fa.yestag},"\u6B63\u786E\u7B54\u6848")))),(ue==null?void 0:ue.question_type)===1&&Un.createElement("div",{className:Fa.normalWrap},(it=ue==null?void 0:ue.question_choices)==null?void 0:it.map((na,Or)=>Un.createElement("div",{className:Fa.checkbox},!(na!=null&&na.standard_boolean)&&Un.createElement("span",{className:Fa.checkboxitem}),(na==null?void 0:na.standard_boolean)&&Un.createElement("i",{className:`${Fa.checkboxitemyes} icon-duigou1`}),Un.createElement("span",{className:`${na!=null&&na.standard_boolean?Fa.titleyes:Fa.title} ${Fa.indexTag}`},Xl[Or]),Un.createElement(Mt.Z,{className:na!=null&&na.standard_boolean?Fa.titleyes:Fa.title,value:na==null?void 0:na.choice_text}),(na==null?void 0:na.standard_boolean)&&Un.createElement("div",{className:Fa.yestag},"\u6B63\u786E\u7B54\u6848")))),(ue==null?void 0:ue.question_type)===3&&Un.createElement("div",{className:Fa.completion},(ft=ue==null?void 0:ue.standard_answers)==null?void 0:ft.map((na,Or)=>{var za;return Un.createElement(ia.Z,{align:"top"},Un.createElement("span",{className:Fa.title},"\u586B\u7A7A\u9879",Or+1),Un.createElement("div",{className:Fa.content},(za=na.answer_text)==null?void 0:za.map((Wr,So)=>Un.createElement("div",{key:So,className:Fa.items,style:(na==null?void 0:na.model)===2?{border:0,padding:0}:{}},(na==null?void 0:na.model)===1?Un.createElement("pre",{className:"mb0"},Wr):Un.createElement(_u.Z,{value:Wr,disabled:!0})))))})),(ue==null?void 0:ue.question_type)===4&&Un.createElement("div",{className:Fa.simple},Un.createElement("div",{className:Fa.title},"\u53C2\u8003\u7B54\u6848"),Un.createElement("div",{className:"mt10",style:{fontSize:"16px"}},(Rn=ue==null?void 0:ue.answer_texts)!=null&&Rn[0]?Un.createElement(Mt.Z,{className:Fa.content,value:(vn=ue==null?void 0:ue.answer_texts)==null?void 0:vn[0]}):Un.createElement("div",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~")),Un.createElement("div",{className:"mt20 "},Un.createElement("span",{className:Fa.title,style:{color:"#3061D0"}},"\u5224\u5206\u65B9\u5F0F"),Un.createElement("span",{style:{color:"#000",marginLeft:10,fontSize:"16px"}},ue!=null&&ue.use_keywords?"\u5173\u952E\u8BCD\u81EA\u52A8\u5224\u5206":"\u624B\u52A8\u5224\u5206"))),(ue==null?void 0:ue.question_type)===5&&Un.createElement("div",{className:Fa.shixunWrapper},(Yt=ue==null?void 0:ue.shixun)==null?void 0:Yt.map((na,Or)=>{var za,Wr;return Un.createElement("div",null,Un.createElement("div",{key:Or,className:`${Fa.shixun} mb30`},Un.createElement("span",{className:Fa.score},"\uFF08",na==null?void 0:na.challenge_score,"\u5206\uFF09"),Un.createElement("span",{className:Fa.qtitle},(ue==null?void 0:ue.index)+"."+(Or+1),"\u3001",na==null?void 0:na.challenge_name)),((Wr=(za=Ee==null?void 0:Ee.editData)==null?void 0:za.exercise)==null?void 0:Wr.show_challenge_task_pass)&&Un.createElement(Mt.Z,{className:Fa.content,value:(na==null?void 0:na.task_pass)||"\u6682\u65E0\u5173\u5361\u63CF\u8FF0"}))})),(ue==null?void 0:ue.question_type)===6&&Un.createElement("div",{className:Fa.program,style:{border:!((qt=(vt=Ee==null?void 0:Ee.editData)==null?void 0:vt.exercise)!=null&&qt.show_hack_sets)&&!((qe=(Bn=Ee==null?void 0:Ee.editData)==null?void 0:Bn.exercise)!=null&&qe.show_hack_description)&&"none"}},((cn=(Ct=Ee==null?void 0:Ee.editData)==null?void 0:Ct.exercise)==null?void 0:cn.show_hack_sets)&&Un.createElement("div",{style:{marginBottom:10,border:"1px solid #F1F4F9"}},Un.createElement("p",{style:{padding:"0px 10px",height:40,lineHeight:"40px",background:"#F1F4F9",color:"#3061D0"}},Un.createElement("i",{className:"iconfont icon-ceshiyongli"})," \u6D4B\u8BD5\u7528\u4F8B\uFF1A"),Un.createElement(cs.default,{style:{margin:10},columns:[{title:"\u5E8F\u53F7",dataIndex:"name",key:"name",width:"10%",render:(na,Or,za)=>za+1},{title:"\u6D4B\u8BD5\u7528\u4F8B\u8F93\u5165",dataIndex:"input",key:"input",width:"40%",render:(na,Or,za)=>Un.createElement(ut.Z,{title:Un.createElement("pre",null,na)},Un.createElement("div",{className:Fa.divname},na))},{title:"\u6D4B\u8BD5\u7528\u4F8B\u8F93\u51FA",dataIndex:"output",key:"output",width:"40%",render:(na,Or,za)=>Un.createElement(ut.Z,{title:Un.createElement("pre",null,na)}," ",Un.createElement("div",{className:Fa.divname},na))},{title:"\u662F\u5426\u53EF\u89C1",dataIndex:"visibility_cn",key:"visibility_cn",width:"10%"}],pagination:!1,dataSource:ue==null?void 0:ue.hack_sets})),((Jt=(Cn=Ee==null?void 0:Ee.editData)==null?void 0:Cn.exercise)==null?void 0:Jt.show_hack_description)&&Un.createElement("div",null,Un.createElement(Mt.Z,{className:Fa.content,value:(ue==null?void 0:ue.description)||"- -"}))),(ue==null?void 0:ue.question_type)===7&&((Ot=ue==null?void 0:ue.sub_exercise_questions)==null?void 0:Ot.map((na,Or)=>{var za,Wr,So,wo,Vo,Pa;return Un.createElement("div",{key:Or},Un.createElement("div",{className:Fa.combination},Un.createElement("span",{className:Fa.score},na==null?void 0:na.question_score,"\u5206"),Un.createElement("span",{className:Fa.qtype},(za=gs.find(yr=>yr.type==na.question_type))==null?void 0:za.name),Un.createElement("span",{className:Fa.qtitle},Or+1,"\u3001",na==null?void 0:na.question_title)),(na.question_type===0||na.question_type===2)&&Un.createElement("div",{className:Fa.warp,style:{padding:"30px 58px",paddingBottom:0}},Un.createElement("div",null,(Wr=na==null?void 0:na.question_choices)==null?void 0:Wr.map((yr,Pi)=>Un.createElement("div",{className:Fa.redio,key:Pi},!(yr!=null&&yr.standard_boolean)&&Un.createElement("span",{className:Fa.redioitem}),(yr==null?void 0:yr.standard_boolean)&&Un.createElement("i",{className:`${Fa.redioitemyes} icon-duigou1`}),na.question_type===2&&Un.createElement("span",{className:`${yr!=null&&yr.standard_boolean?Fa.titleyes:Fa.title} ${Fa.indexTag}`},Xl[Pi]),Un.createElement(Mt.Z,{className:yr!=null&&yr.standard_boolean?Fa.titleyes:Fa.title,value:yr==null?void 0:yr.choice_text}),(yr==null?void 0:yr.standard_boolean)&&Un.createElement("div",{className:Fa.yestag},"\u6B63\u786E\u7B54\u6848"))))),na.question_type===1&&Un.createElement("div",{className:Fa.normalWrap},(So=na==null?void 0:na.question_choices)==null?void 0:So.map((yr,Pi)=>Un.createElement("div",{className:Fa.checkbox,key:Pi},!(yr!=null&&yr.standard_boolean)&&Un.createElement("span",{className:Fa.checkboxitem}),(yr==null?void 0:yr.standard_boolean)&&Un.createElement("i",{className:`${Fa.checkboxitemyes} icon-duigou1`}),Un.createElement("span",{className:`${yr!=null&&yr.standard_boolean?Fa.titleyes:Fa.title} ${Fa.indexTag}`},Xl[Pi]),Un.createElement(Mt.Z,{className:yr!=null&&yr.standard_boolean?Fa.titleyes:Fa.title,value:yr==null?void 0:yr.choice_text}),(yr==null?void 0:yr.standard_boolean)&&Un.createElement("div",{className:Fa.yestag},"\u6B63\u786E\u7B54\u6848")))),na.question_type===3&&Un.createElement("div",{className:Fa.completion},(wo=na==null?void 0:na.standard_answers)==null?void 0:wo.map((yr,Pi)=>{var Co;return Un.createElement(ia.Z,{align:"top"},Un.createElement("span",{className:Fa.title},"\u586B\u7A7A\u9879",Pi+1),Un.createElement("div",{className:Fa.content},(Co=yr.answer_text)==null?void 0:Co.map((Dn,ui)=>Un.createElement("div",{key:ui,className:Fa.items},Un.createElement("pre",{className:"mb0"},Dn)))))})),na.question_type===4&&Un.createElement("div",{className:Fa.simple},Un.createElement("div",{className:Fa.title},"\u53C2\u8003\u7B54\u6848"),Un.createElement("div",{className:"mt10",style:{fontSize:"16px"}},(Vo=na==null?void 0:na.answer_texts)!=null&&Vo[0]?Un.createElement(Mt.Z,{className:Fa.content,value:(Pa=na==null?void 0:na.answer_texts)==null?void 0:Pa[0]}):Un.createElement("div",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~")),Un.createElement("div",{className:"mt20 "},Un.createElement("span",{className:Fa.title,style:{color:"#3061D0"}},"\u5224\u5206\u65B9\u5F0F"),Un.createElement("span",{style:{color:"#000",marginLeft:10,fontSize:"16px"}},na!=null&&na.use_keywords?"\u5173\u952E\u8BCD\u81EA\u52A8\u5224\u5206":"\u624B\u52A8\u5224\u5206"))))})),(ue==null?void 0:ue.question_type)===8&&Un.createElement("div",null,Un.createElement(Mt.Z,{disabledFill:!0,className:Fa.content,showProgramFill:!0,value:bu.Base64.decode(((Qt=ue==null?void 0:ue.program_attr)==null?void 0:Qt.code)||"")})),((ue==null?void 0:ue.question_type)<=4||[6,8].includes(ue==null?void 0:ue.question_type))&&Un.createElement("div",{className:Fa.bottom},Un.createElement("div",{className:`${Fa.bottomitem} mb30`},Un.createElement("span",{className:Fa.left},"\u89E3\u6790"),Un.createElement("span",{className:Fa.right},ue!=null&&ue.analysis?Un.createElement(Mt.Z,{value:ue==null?void 0:ue.analysis}):Un.createElement("span",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~"))),Un.createElement("div",{className:`${Fa.bottomitem} mb30`},Un.createElement("span",{className:Fa.left},"\u96BE\u5EA6"),Un.createElement("span",{className:Fa.right},(ue==null?void 0:ue.difficulty)===1?"\u7B80\u5355":(ue==null?void 0:ue.difficulty)===2?"\u9002\u4E2D":"\u56F0\u96BE")),Un.createElement("div",{className:Fa.bottomitem},Un.createElement("span",{className:Fa.left},"\u77E5\u8BC6\u70B9"),Un.createElement(ut.Z,{title:((Zt=ue==null?void 0:ue.tag_discipline_names)==null?void 0:Zt.length)<=0||((va=ue==null?void 0:ue.tag_discipline_names)==null?void 0:va.length)==1&&["-"].includes(ue==null?void 0:ue.tag_discipline_names[0])?"\u6682\u672A\u8BBE\u7F6E~":(En=(Sn=ue==null?void 0:ue.tag_discipline_names)==null?void 0:Sn.join("\uFF1B"))==null?void 0:En.toString()},Un.createElement("span",{className:Fa.right},((Fr=ue==null?void 0:ue.tag_discipline_names)==null?void 0:Fr.length)<=0?Un.createElement("span",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~"):((Er=ue==null?void 0:ue.tag_discipline_names)==null?void 0:Er.length)==1&&["-"].includes(ue==null?void 0:ue.tag_discipline_names[0])?Un.createElement("span",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~"):(Do=($a=ue==null?void 0:ue.tag_discipline_names)==null?void 0:$a.join("\uFF1B"))==null?void 0:Do.toString())))))},Ju=oe(4881),ql=oe(44272),di=oe(59301),Tu=Object.defineProperty,Xu=Object.defineProperties,fs=Object.getOwnPropertyDescriptors,ce=Object.getOwnPropertySymbols,ge=Object.prototype.hasOwnProperty,fe=Object.prototype.propertyIsEnumerable,Ie=(ue,Ee,Pe)=>Ee in ue?Tu(ue,Ee,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ue[Ee]=Pe,Oe=(ue,Ee)=>{for(var Pe in Ee||(Ee={}))ge.call(Ee,Pe)&&Ie(ue,Pe,Ee[Pe]);if(ce)for(var Pe of ce(Ee))fe.call(Ee,Pe)&&Ie(ue,Pe,Ee[Pe]);return ue},dt=(ue,Ee)=>Xu(ue,fs(Ee)),rt=(ue,Ee,Pe)=>new Promise((it,ft)=>{var Rn=vt=>{try{Yt(Pe.next(vt))}catch(qt){ft(qt)}},vn=vt=>{try{Yt(Pe.throw(vt))}catch(qt){ft(qt)}},Yt=vt=>vt.done?it(vt.value):Promise.resolve(vt.value).then(Rn,vn);Yt((Pe=Pe.apply(ue,Ee)).next())}),wt=({qitem:ue,setisedit:Ee,TagDiscipline:Pe,exerciseitem:it,seveeditor:ft,deleteitem:Rn,getTagData:vn,init:Yt,showTip:vt=!1})=>{var qt,Bn,qe,Ct;const[cn]=De.default.useForm(),{unified_ai_setting:Cn,ai_review_settings:Jt}=it==null?void 0:it.exercise,Ot=Cn?Jt:((qt=ue==null?void 0:ue.ai_review_settings)==null?void 0:qt.length)>0?ue.ai_review_settings:Jt;return(0,b.useEffect)(()=>{cn.setFieldsValue(dt(Oe({},ue),{name:ue.question_title,answer_texts:ue.answer_texts,repeat_answer:!ue.repeat_answer,ai_review_settings:Ot}))},[ue]),di.createElement("div",null,di.createElement(De.default,{form:cn,colon:!1,onFinish:Qt=>{var Zt;(Zt=it==null?void 0:it.exercise)!=null&&Zt.is_open_ai_review&&!(0,Pt.BR)(Qt==null?void 0:Qt.ai_review_settings)||ft(dt(Oe(Oe({},ue),Qt),{answer_texts:Qt==null?void 0:Qt.answer_texts,question_title:Qt==null?void 0:Qt.name}))},onFinishFailed:Qt=>rt(void 0,null,function*(){var Zt,va;Ae.ZP.error(Qt.errorFields[0].errors[0]),cn.scrollToField((va=(Zt=Qt==null?void 0:Qt.errorFields)==null?void 0:Zt[0])==null?void 0:va.name,{behavior:"smooth",block:"center"})})},di.createElement("div",{style:{display:"flex",alignItems:"center"}},di.createElement("div",{style:{flex:1}},di.createElement("span",{style:{display:"inline-flex",border:"1px solid #9096A3",borderRadius:"50%",width:10,height:10,marginRight:5,background:"#9096A3"}}),di.createElement("span",null,"\u7B80\u7B54\u9898")),((Bn=it==null?void 0:it.exercise)==null?void 0:Bn.exercise_status)==1&&!(ue!=null&&ue.isadd)&&di.createElement("span",{style:{marginLeft:20,marginRight:20,color:"red",cursor:"pointer"},onClick:()=>{Rn()}},di.createElement("i",{className:"iconfont icon-piliangshanchu3",style:{fontSize:14,marginRight:6}}),"\u5220\u9664"),di.createElement(_e.ZP,{onClick:()=>{ue.isadd?(Ee(!1),Yt()):(cn.setFieldsValue(dt(Oe({},ue),{name:ue==null?void 0:ue.question_title,answer_texts:ue.answer_texts||[],repeat_answer:!(ue!=null&&ue.repeat_answer)})),Ee(!1))}},"\u53D6\u6D88"),di.createElement(ut.Z,{overlayClassName:nt.shake,open:vt,placement:"bottom",color:"rgba(244,156,14,0.19)",title:di.createElement("div",{style:{color:"#FF841A",fontSize:"14px"}},di.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")},di.createElement(_e.ZP,{type:"primary",className:"ml20",onClick:()=>{cn.submit()}},"\u4FDD\u5B58"))),di.createElement("div",{style:{maxHeight:"calc(100vh - 148px)",overflowY:"auto",marginTop:"10px",paddingRight:"5px"}},di.createElement(De.default.Item,{className:nt.scoreinput,name:"question_score",label:"\u5206\u503C",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5206\u503C"}]},di.createElement(Le.Z,{onBlur:Qt=>{Qt.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})),di.createElement(ql.W,{form:cn,showKeywords:!0,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u7B80\u7B54\u9898\u9898\u5E72\u5185\u5BB9"}),((qe=it==null?void 0:it.exercise)==null?void 0:qe.is_open_ai_review)&&!((Ct=it==null?void 0:it.exercise)!=null&&Ct.unified_ai_setting)&&di.createElement(sr,{form:cn,qitem:ue}),di.createElement(pa,{getTagData:vn,qitem:ue,exerciseitem:it,TagDiscipline:Pe,form:cn}))))},It=oe(59301),Gn=(ue,Ee,Pe)=>new Promise((it,ft)=>{var Rn=vt=>{try{Yt(Pe.next(vt))}catch(qt){ft(qt)}},vn=vt=>{try{Yt(Pe.throw(vt))}catch(qt){ft(qt)}},Yt=vt=>vt.done?it(vt.value):Promise.resolve(vt.value).then(Rn,vn);Yt((Pe=Pe.apply(ue,Ee)).next())}),dn=({setScoreShow:ue,ScoreShow:Ee,exerciseitem:Pe,getdata:it})=>{var ft,Rn,vn;const[Yt,vt]=(0,b.useState)(!1);function qt(){return Gn(this,null,function*(){var Bn,qe,Ct;let cn=(qe=(Bn=Pe==null?void 0:Pe.exercise_question_types)==null?void 0:Bn.filter(Jt=>Jt.Singlequestion))==null?void 0:qe.map(Jt=>({question_type:Jt.question_type,score:Jt.Singlequestion})),Cn=yield(0,te.ZP)(`/api/exercises/${(Ct=Pe==null?void 0:Pe.exercise)==null?void 0:Ct.id}/batch_set_score.json`,{method:"POST",body:{question_arr:cn}});(Cn==null?void 0:Cn.status)===0&&it()})}return It.createElement("div",null,Ee&&It.createElement(Ke.default,{title:"\u6279\u91CF\u8BBE\u7F6E\u5206\u503C",open:Ee,width:640,centered:!0,zIndex:10,className:nt.scoremodal,onCancel:()=>{ue(!1)},onOk:()=>{var Bn,qe,Ct;if(Pe!=null&&Pe.use_blank_score&&((Ct=(qe=(Bn=Pe==null?void 0:Pe.exercise_question_types)==null?void 0:Bn.filter(cn=>cn.name==="\u586B\u7A7A\u9898"))==null?void 0:qe[0])!=null&&Ct.Singlequestion)){vt(!0);return}qt(),ue(!1)}},It.createElement("div",{className:"c-black"},"\u603B\u5206",It.createElement("span",{className:"ml10 c-light-primary"},(Pe==null?void 0:Pe.exercise_question_types.length)>0&&((ft=Pe==null?void 0:Pe.exercise_types)==null?void 0:ft.q_scores))),It.createElement("div",{className:nt.content},It.createElement("span",null,"\u9898\u578B\u540D\u79F0"),It.createElement("span",null,"\u5C0F\u9898\u603B\u6570"),It.createElement("span",null,"\u9898\u578B\u603B\u5206"),It.createElement("span",null,"\u64CD\u4F5C")),(vn=(Rn=Pe==null?void 0:Pe.exercise_question_types)==null?void 0:Rn.filter(Bn=>Bn.name!=="\u5B9E\u8BAD\u9898"&&Bn.name!=="\u7EC4\u5408\u9898"))==null?void 0:vn.map(Bn=>{var qe;return It.createElement("div",{className:nt.items},It.createElement("span",null,Bn==null?void 0:Bn.name),It.createElement("span",null,(qe=Bn==null?void 0:Bn.items)==null?void 0:qe.length),It.createElement("span",null,Bn==null?void 0:Bn.score),It.createElement("span",null,"\u6BCF\u9898",It.createElement(Le.Z,{max:100,precision:1,min:.1,onChange:Ct=>{Bn.Singlequestion=Ct},style:{width:90,height:38,margin:"0px 10px",display:"flex",alignItems:"center"}}),"\u5206"))})),It.createElement(Ke.default,{title:!1,footer:!1,centered:!0,zIndex:20,open:Yt,width:640,closable:!1,className:nt.scoremodal},It.createElement("div",{style:{marginTop:40}},"\u586B\u7A7A\u9898\u4E2D\u5B58\u5728",It.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"),It.createElement("div",{className:nt.bottom},It.createElement(_e.ZP,{className:nt.no,onClick:()=>{vt(!1)}},"\u53D6\u6D88"),It.createElement(_e.ZP,{className:nt.yes,onClick:()=>{qt(),vt(!1),ue(!1)}},"\u786E\u8BA4"))))},Nn=oe(99313),In=oe(98228),Dt=oe(58421),Vt={flex_box_center:"flex_box_center___aDsO9",flex_space_between:"flex_space_between___5V4Xk",flex_box_vertical_center:"flex_box_vertical_center___rNdEP",flex_box_center_end:"flex_box_center_end___cKjnr",flex_box_column:"flex_box_column___glFYD",scoremodal:"scoremodal___PfqOf",selectWrapper:"selectWrapper___Mtqcz",selectWrappers:"selectWrappers___uX2K9",allqingchu:"allqingchu___IqL8g",title:"title___UgYfD",score:"score___LjJmD",close:"close___I0jAO",content:"content___4u86F",items:"items___mK2L5",bottom:"bottom___vQTEm",yes:"yes___j81JQ",no:"no___kiUH4",titlecount:"titlecount___lliQr",add:"add___QhDj8",search:"search___QCCaL",searchIcon:"searchIcon___oXRH5",tabWrap:"tabWrap___Cu_4D",previewModal:"previewModal___BVDlS"},On=oe(55305),on={flex_box_center:"flex_box_center___zojHa",flex_space_between:"flex_space_between___wmLZ4",flex_box_vertical_center:"flex_box_vertical_center___DszWW",flex_box_center_end:"flex_box_center_end___mVCv5",flex_box_column:"flex_box_column___fbC9t",warp:"warp___isAcM",shixunbutton:"shixunbutton___h3Ybb",redio:"redio___xDffb",redioitem:"redioitem___FFPtq",redioitemyes:"redioitemyes___pF7ID",title:"title___mnPZc",titleyes:"titleyes___wrtWQ",yestag:"yestag___D4krY",qcount:"qcount___W5pwO",score:"score___eKQzl",qtitle:"qtitle___lb8MD",checkbox:"checkbox___QpUm4",checkboxitem:"checkboxitem___Wm2SH",checkboxitemyes:"checkboxitemyes___VVVTe",bottom:"bottom___Mn_Bw",bottomitem:"bottomitem___JTyHT",left:"left___nQqpo",right:"right___v58qy",completion:"completion___BnZSp",content:"content___MU8hZ",items:"items___a7i54",simple:"simple___GDw3K",shixun:"shixun___DGzTe",combination:"combination___AG9cr"};const sa=["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 Ra=({qitem:ue})=>{var Ee,Pe,it,ft,Rn,vn,Yt,vt,qt,Bn;return b.createElement("div",{className:on.warp},b.createElement("div",{className:on.mainPart},b.createElement("div",{className:on.qcount},(ue==null?void 0:ue.question_type)===8&&b.createElement(Mt.Z,{className:on.content,showProgramFill:!0,value:(Ee=ue==null?void 0:ue.program_attr)==null?void 0:Ee.description}),(ue==null?void 0:ue.question_type)!=8&&b.createElement(Mt.Z,{className:on.qtitle,value:(ue==null?void 0:ue.name)||(ue==null?void 0:ue.title)})),((ue==null?void 0:ue.question_type)===0||(ue==null?void 0:ue.question_type)===2)&&b.createElement("div",null,(Pe=ue==null?void 0:ue.choices)==null?void 0:Pe.map((qe,Ct)=>b.createElement("div",{className:on.redio},!(qe!=null&&qe.is_answer)&&b.createElement("span",{className:on.redioitem}),(qe==null?void 0:qe.is_answer)&&b.createElement("i",{className:`${on.redioitemyes} icon-duigou1`}),b.createElement(Mt.Z,{className:qe!=null&&qe.is_answer?on.titleyes:on.title,value:sa[Ct]+(qe==null?void 0:qe.choice_text)}),(qe==null?void 0:qe.is_answer)&&b.createElement("div",{className:on.yestag},"\u6B63\u786E\u7B54\u6848")))),(ue==null?void 0:ue.question_type)===1&&b.createElement("div",null,(it=ue==null?void 0:ue.choices)==null?void 0:it.map((qe,Ct)=>b.createElement("div",{className:on.checkbox},!(qe!=null&&qe.is_answer)&&b.createElement("span",{className:on.checkboxitem}),(qe==null?void 0:qe.is_answer)&&b.createElement("i",{className:`${on.checkboxitemyes} icon-duigou1`}),b.createElement(Mt.Z,{className:qe!=null&&qe.is_answer?on.titleyes:on.title,value:sa[Ct]+(qe==null?void 0:qe.choice_text)}),(qe==null?void 0:qe.is_answer)&&b.createElement("div",{className:on.yestag},"\u6B63\u786E\u7B54\u6848")))),(ue==null?void 0:ue.question_type)===3&&b.createElement("div",{className:on.completion},(ft=ue==null?void 0:ue.standard_answer)==null?void 0:ft.map((qe,Ct)=>{var cn;return b.createElement("div",{style:{display:"flex"}},b.createElement("span",{className:on.title},"\u586B\u7A7A\u9879",Ct+1),b.createElement("div",{className:on.content},(cn=qe==null?void 0:qe.answer_text)==null?void 0:cn.map((Cn,Jt)=>b.createElement("div",{className:on.items},Cn))))})),(ue==null?void 0:ue.question_type)===4&&b.createElement("div",{className:on.simple},b.createElement("div",{className:on.title},"\u53C2\u8003\u7B54\u6848"),b.createElement("div",{className:"mt10",style:{fontSize:"16px"}},(Rn=ue==null?void 0:ue.answer_texts)!=null&&Rn[0]?b.createElement(Mt.Z,{className:on.content,value:(vn=ue==null?void 0:ue.answer_texts)==null?void 0:vn[0]}):b.createElement("div",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~"))),(ue==null?void 0:ue.question_type)===5&&((Yt=ue==null?void 0:ue.challenge_names)==null?void 0:Yt.map((qe,Ct)=>b.createElement("div",{className:on.shixun},b.createElement("span",{className:on.qtitle},b.createElement("span",{style:{marginRight:10}},"\u7B2C",(0,Pt.EM)(Ct+1),"\u9898"),qe)))),(ue==null?void 0:ue.question_type)===6&&b.createElement("div",{className:on.simple},b.createElement(Mt.Z,{className:on.content,value:((vt=ue==null?void 0:ue.program_attr)==null?void 0:vt.description)||"- -"})),(ue==null?void 0:ue.question_type)===7&&((qt=ue==null?void 0:ue.sub_item_banks)==null?void 0:qt.map((qe,Ct)=>{var cn,Cn,Jt,Ot,Qt;return b.createElement("div",null,b.createElement("div",{className:on.combination},b.createElement("span",{className:on.qtitle},qe==null?void 0:qe.name)),b.createElement("div",{className:on.warp,style:{padding:"0px",paddingTop:20}},b.createElement("div",null,((qe==null?void 0:qe.item_type)=="SINGLE"||(qe==null?void 0:qe.item_type)=="JUDGMENT")&&((cn=qe==null?void 0:qe.choices)==null?void 0:cn.map((Zt,va)=>b.createElement("div",{className:on.redio},!(Zt!=null&&Zt.is_answer)&&b.createElement("span",{className:on.redioitem}),(Zt==null?void 0:Zt.is_answer)&&b.createElement("i",{className:`${on.redioitemyes} icon-duigou1`}),b.createElement(Mt.Z,{className:Zt!=null&&Zt.is_answer?on.titleyes:on.title,value:sa[va]+(Zt==null?void 0:Zt.choice_text)}),(Zt==null?void 0:Zt.is_answer)&&b.createElement("div",{className:on.yestag},"\u6B63\u786E\u7B54\u6848")))),(qe==null?void 0:qe.item_type)=="MULTIPLE"&&((Cn=qe==null?void 0:qe.choices)==null?void 0:Cn.map((Zt,va)=>b.createElement("div",{className:on.checkbox},!(Zt!=null&&Zt.is_answer)&&b.createElement("span",{className:on.checkboxitem}),(Zt==null?void 0:Zt.is_answer)&&b.createElement("i",{className:`${on.checkboxitemyes} icon-duigou1`}),b.createElement(Mt.Z,{className:Zt!=null&&Zt.is_answer?on.titleyes:on.title,value:sa[va]+(Zt==null?void 0:Zt.choice_text)}),(Zt==null?void 0:Zt.is_answer)&&b.createElement("div",{className:on.yestag},"\u6B63\u786E\u7B54\u6848")))),(qe==null?void 0:qe.item_type)=="COMPLETION"&&b.createElement("div",{className:on.completion},(Jt=qe==null?void 0:qe.standard_answer)==null?void 0:Jt.map((Zt,va)=>{var Sn;return b.createElement("div",{style:{display:"flex"}},b.createElement("span",{className:on.title},"\u586B\u7A7A\u9879",va+1),b.createElement("div",{className:on.content},(Sn=Zt==null?void 0:Zt.answer_text)==null?void 0:Sn.map((En,Fr)=>b.createElement("div",{className:on.items},En))))})),(qe==null?void 0:qe.item_type)=="SUBJECTIVE"&&b.createElement("div",{className:on.simple},b.createElement("div",{className:on.title},"\u53C2\u8003\u7B54\u6848"),b.createElement("div",{className:"mt10",style:{fontSize:"16px"}},(Ot=qe==null?void 0:qe.answer_texts)!=null&&Ot[0]?b.createElement(Mt.Z,{className:on.content,value:(Qt=qe==null?void 0:qe.answer_texts)==null?void 0:Qt[0]}):b.createElement("div",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~"))))))})),(ue==null?void 0:ue.question_type)===8&&b.createElement("div",null,b.createElement(Mt.Z,{disabledFill:!0,className:on.content,showProgramFill:!0,value:bu.Base64.decode(((Bn=ue==null?void 0:ue.program_attr)==null?void 0:Bn.code)||"")})),(ue==null?void 0:ue.question_type)===5&&b.createElement("div",{style:{background:"#F6F7F9",padding:"0px 20px",height:46,lineHeight:"46px",marginTop:40,display:"flex",alignItems:"center"}},b.createElement("div",{style:{flex:1,alignItems:"center",display:"flex"}},b.createElement("div",{style:{marginRight:30}},b.createElement("span",{style:{marginRight:10,color:"#666666"}},"\u521B\u5EFA\u8005"),b.createElement("span",{style:{color:"#000000"}},(ue==null?void 0:ue.author_name)||"- -")),b.createElement("div",{style:{marginRight:30}},b.createElement("span",{style:{marginRight:10,color:"#666666"}},"\u6240\u5C5E\u5355\u4F4D"),b.createElement("span",{style:{color:"#000000"}},(ue==null?void 0:ue.author_school_name)||"- -")),b.createElement("div",{style:{marginRight:30}},b.createElement("span",{style:{marginRight:10,color:"#666666"}},"\u5B66\u4E60\u4EBA\u6570"),b.createElement("span",{style:{color:"#000000"}},(ue==null?void 0:ue.study_count)||"0"))),b.createElement("a",{className:on.shixunbutton,href:`/shixuns/${ue==null?void 0:ue.identifier}/challenges?exercise=true`,target:"_blank"},b.createElement("i",{onClick:()=>{},style:{marginRight:20},className:"iconfont icon-shixunkecheng mr5 "}),"\u5B9E\u8BAD\u8BE6\u60C5"))),((ue==null?void 0:ue.question_type)<=4||[6,8].includes(ue==null?void 0:ue.question_type))&&b.createElement("div",{className:on.bottom},b.createElement("div",{className:on.bottomitem},b.createElement("span",{className:on.left},"\u89E3\u6790"),b.createElement("span",{className:on.right},ue!=null&&ue.analysis?b.createElement(Mt.Z,{value:ue==null?void 0:ue.analysis}):b.createElement("span",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~"))),b.createElement("div",{className:on.bottomitem},b.createElement("span",{className:on.left},"\u96BE\u5EA6"),b.createElement("span",{className:on.right},(ue==null?void 0:ue.difficulty)===1?"\u7B80\u5355":(ue==null?void 0:ue.difficulty)===2?"\u9002\u4E2D":"\u56F0\u96BE")),b.createElement("div",{className:on.bottomitem},b.createElement("span",{className:on.left},"\u77E5\u8BC6\u70B9"),b.createElement("span",{className:on.right},ue!=null&&ue.tag_discipline?ue==null?void 0:ue.tag_discipline:b.createElement("span",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~")))))},Ba=oe(61250),ga=oe(57149),Rr=oe(87444),ur=oe(94361),Lr=oe(46722),$r=oe(3039),io=oe(75736),Mn=oe(59301),Yo=Object.defineProperty,mo=Object.defineProperties,Yr=Object.getOwnPropertyDescriptors,eo=Object.getOwnPropertySymbols,yo=Object.prototype.hasOwnProperty,xo=Object.prototype.propertyIsEnumerable,so=(ue,Ee,Pe)=>Ee in ue?Yo(ue,Ee,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ue[Ee]=Pe,Sr=(ue,Ee)=>{for(var Pe in Ee||(Ee={}))yo.call(Ee,Pe)&&so(ue,Pe,Ee[Pe]);if(eo)for(var Pe of eo(Ee))xo.call(Ee,Pe)&&so(ue,Pe,Ee[Pe]);return ue},To=(ue,Ee)=>mo(ue,Yr(Ee)),Mo=(ue,Ee,Pe)=>new Promise((it,ft)=>{var Rn=vt=>{try{Yt(Pe.next(vt))}catch(qt){ft(qt)}},vn=vt=>{try{Yt(Pe.throw(vt))}catch(qt){ft(qt)}},Yt=vt=>vt.done?it(vt.value):Promise.resolve(vt.value).then(Rn,vn);Yt((Pe=Pe.apply(ue,Ee)).next())});const bi=({setScoreShow:ue,ScoreShow:Ee,onOk:Pe,isshixuns:it,isloadings:ft,dispatch:Rn,shixunsDetail:vn,exercise:Yt})=>{var vt,qt,Bn;let[qe,Ct]=(0,b.useState)({type:"0",page:1,updated_at:"",quotes:"",item_type:null,per_page:10,courseid:"",tag_discipline_id:null,difficulty:null,keyword:null,group_id:[]}),[cn,Cn]=(0,b.useState)([]),[Jt,Ot]=(0,b.useState)([]),[Qt,Zt]=(0,b.useState)([]),[va,Sn]=(0,b.useState)([]);const[En,Fr]=(0,b.useState)(!1),[Er]=De.default.useForm(),[$a,Do]=(0,b.useState)(),[na,Or]=(0,b.useState)(!1);let[za,Wr]=(0,b.useState)(it);const[So,wo]=(0,b.useState)([]),[Vo,Pa]=(0,b.useState)(!0),[yr,Pi]=(0,b.useState)([]),[Co,Dn]=(0,b.useState)(0),[ui,Ii]=(0,b.useState)([]),ci=[{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}],[Bi,Oi]=(0,b.useState)({});(0,b.useEffect)(()=>{var en,Qn,Ar,cr,kr,po,Lo,ao,Mi,Eo;(((Ar=(Qn=(en=Yt==null?void 0:Yt.editData)==null?void 0:en.exercise)==null?void 0:Qn.exist_item_bank_ids)==null?void 0:Ar.length)>0||((po=(kr=(cr=Yt==null?void 0:Yt.editData)==null?void 0:cr.exercise)==null?void 0:kr.exist_item_bank_shixun_ids)==null?void 0:po.length)>0)&&Ii([...(ao=(Lo=Yt==null?void 0:Yt.editData)==null?void 0:Lo.exercise)==null?void 0:ao.exist_item_bank_ids,...(Eo=(Mi=Yt==null?void 0:Yt.editData)==null?void 0:Mi.exercise)==null?void 0:Eo.exist_item_bank_shixun_ids])},[(qt=(vt=Yt==null?void 0:Yt.editData)==null?void 0:vt.exercise)==null?void 0:qt.exist_item_bank_ids]);const ti=(0,b.useRef)(new Set),ol=(0,b.useRef)(new Set);let[Ui,qi]=(0,b.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 Go=[{name:"\u7B80\u5355",value:1},{name:"\u9002\u4E2D",value:2},{name:"\u56F0\u96BE",value:3}],gi=[{name:"\u521D\u7EA7",value:1},{name:"\u4E2D\u7EA7",value:2},{name:"\u4E2D\u9AD8\u7EA7",value:3},{name:"\u9AD8\u7EA7",value:4}],il=[{name:"\u672A\u53D1\u5E03",value:"unpublish"},{name:"\u9759\u9ED8\u53D1\u5E03",value:"silent_publish"},{name:"\u516C\u5F00\u53D1\u5E03",value:"public_publish"}],[Tl,Nr]=(0,b.useState)(!1),Ro=()=>{Er.resetFields(),za=!1,Wr(!1),Nr(!1),Er.submit()};(0,b.useEffect)(()=>{Co>0&&setTimeout(()=>{Dn(0)},2e3)},[Co]),(0,b.useEffect)(()=>{Ee&&(Er.setFieldsValue({item_type:"",courseid:"",tag_discipline_id:null,difficulty:null,keyword:null}),Vo&&za&&(Er.setFieldsValue({item_type:"SHIXUN"}),qe.item_type="SHIXUN",Ct(Sr({},qe)),Pa(!1)),ni(qe),Qi(),Wo({group_id:0,page:1,per_page:20,sort_by:"updated_at",sort_direction:"desc",type:"0"}))},[Ee]);function ni(en){return Mo(this,null,function*(){var Qn,Ar,cr;if(Fr(!0),Ct(en),(Qt==null?void 0:Qt.length)<=0&&en.type==="5"){Sn([]),Fr(!1);return}let kr=en.type==="5"?Qt==null?void 0:Qt.filter(ao=>!So.includes(ao)):null,po=en.type==="5"?Qt==null?void 0:Qt.filter(ao=>So.includes(ao)):null,Lo=yield(0,te.ZP)("/api/item_banks.json",{method:"get",params:To(Sr({},en),{discipline_id:((Qn=en==null?void 0:en.courseid)==null?void 0:Qn[0])||null,sub_discipline_id:((Ar=en==null?void 0:en.courseid)==null?void 0:Ar[1])||null,ids:kr,shixun_ids:po,group_id:((cr=en.group_id)==null?void 0:cr.map(ao=>ao==null?void 0:ao.value))||null,keyword:en.keyword?encodeURIComponent(en.keyword):en.keyword,include_shixuns:!0,type:en.type==="5"?null:en.type,clazz:en.type==="3"?"ItemBanksGroup":null})});Sn(Lo),Fr(!1)})}function Wo(en){return Mo(this,null,function*(){var Qn;let Ar=yield(0,te.ZP)("/api/item_banks_groups/for_problemset.json",{method:"post",body:en}),cr=[{title:"\u6839\u76EE\u5F55",id:0,pid:0,value:0,key:0,isLeaf:!1,children:(Qn=Ar==null?void 0:Ar.data)==null?void 0:Qn.map(kr=>({title:kr.name,id:kr.id,pid:kr.id,value:kr.id,key:kr.id,isLeaf:!kr.have_child}))}];Pi(cr)})}function Qi(){return Mo(this,null,function*(){let en=yield(0,te.ZP)("/api/disciplines.json",{method:"get",params:{source:"question",group_id:0,group_type:qe.type==="5"?null:qe.type,clazz:"ItemBanksGroup"}});Cn((0,On.L)(en==null?void 0:en.disciplines))})}function Yi(en){return Mo(this,null,function*(){var Qn,Ar,cr,kr;Fr(!0);let po=(Qn=en.list)==null?void 0:Qn.filter(Mi=>!So.includes(Mi)),Lo=(Ar=en.list)==null?void 0:Ar.filter(Mi=>So.includes(Mi));if(po.length===0&&Lo.length===0){Fr(!1),Sn([]);return}let ao=yield(0,te.ZP)("/api/item_banks.json",{method:"get",params:To(Sr({},en),{discipline_id:((cr=en==null?void 0:en.courseid)==null?void 0:cr[0])||null,sub_discipline_id:((kr=en==null?void 0:en.courseid)==null?void 0:kr[1])||null,ids:po,shixun_ids:Lo,type:en.type==="5"?null:en.type,clazz:en.type==="3"?"ItemBanksGroup":null})});Fr(!1),Sn(ao)})}const Ai=(0,he.useParams)(),[Zl,Ll,Pl,pi]=(0,Rr.P)(),Gl=en=>Mo(void 0,null,function*(){const Qn=yield Rn({type:"shixunsDetail/release",payload:{id:en}});let Ar=Qn==null?void 0:Qn.tag_position,cr=(Qn==null?void 0:Qn.evaluation_set_position)||[],kr=Qn.status;return kr===0?(Ae.ZP.success("\u53D1\u5E03\u6210\u529F"),ni(qe),!0):(kr===2?Ae.ZP.error(`\u7B2C${cr.join(",")}\u5173\u5C1A\u672A\u5B8C\u6210\uFF0C\u65E0\u6CD5\u7533\u8BF7\u53D1\u5E03`):kr===3?Ae.ZP.error(`\u6BCF\u4E00\u4E2A\u5173\u5361\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u6280\u80FD\u6807\u7B7E, \u7B2C${Ar.join(",")}\u5173\u5C1A\u672A\u8BBE\u7F6E\u6280\u80FD\u6807\u7B7E\uFF0C\u8BF7\u8865\u5145`):Ae.ZP.error("\u5C1A\u672A\u521B\u5EFA\u4EFB\u52A1\u7684\u5B9E\u8BAD\uFF0C\u4E0D\u80FD\u7533\u8BF7\u53D1\u5E03"),!1)}),no=en=>(en==null?void 0:en.shixun_tag_num)===1?"\u672A\u53D1\u5E03\u7684\u5B9E\u8DF5\u9879\u76EE\u4E0D\u80FD\u88AB\u9009\u7528\uFF0C\u8BF7\u5148\u8FDB\u884C\u53D1\u5E03":"",nu=(en,Qn,Ar)=>en.map(cr=>cr.key===Qn?Sr(Sr({},cr),Ar):cr.children?To(Sr({},cr),{children:nu(cr.children,Qn,Ar)}):cr),Fu=en=>Mo(void 0,null,function*(){const{key:Qn}=en;let Ar=qe.type;const cr=yield(0,Lr.ex)({page:1,per_page:20,sort_by:"updated_at",sort_direction:"desc",group_id:Math.abs(Qn),type:Ar}),{data:kr,total_count:po}=cr||{};po>0&&Pi(Lo=>nu(Lo,Qn,{children:kr.map(ao=>({title:ao.name,id:ao.id,pid:ao.id,value:ao.id,key:ao.id,isLeaf:!ao.have_child}))}))});function Vl(en){console.log("----",qe),en==="1"&&(Ui.gg=Sr({},qe)),en==="2"&&(Ui.scj=Sr({},qe)),en==="3"&&(Ui.ttgx=Sr({},qe)),en==="0"&&(Ui.wcjd=Sr({},qe)),en==="5"&&(Ui.yx=Sr({},qe)),qi(Sr({},Ui))}function mu(){qe.type==="1"&&(qe=Ui.gg),qe.type==="2"&&(qe=Ui.scj),qe.type==="3"&&(qe=Ui.ttgx),qe.type==="0"&&(qe=Ui.wcjd),qe.type==="5"&&(qe=Ui.yx),(qe==null?void 0:qe.item_type)==="SHIXUN"?(za=!0,Wr(!0)):(za=!1,Wr(!1)),Er.setFieldsValue(Sr({},qe)),Ct(Sr({},qe)),ni(Sr({},qe))}return Mn.createElement("div",null,Mn.createElement(Ke.default,{title:!1,footer:!1,open:Ee,width:1200,centered:!0,className:Vt.scoremodal,onCancel:()=>{ue(!1)}},Mn.createElement("div",{style:{display:"flex",alignItems:"center"}},Mn.createElement("div",{className:Vt.title},"\u9898\u5E93\u9009\u9898")),Mn.createElement(Nn.default,{className:Vt.tabWrap,activeKey:qe.type,onChange:en=>{en==="3"?(qe.show_all_share=!0,Wo({group_id:0,page:1,per_page:20,sort_by:"updated_at",sort_direction:"desc",type:"3"})):qe.show_all_share=null,en==="0"&&Wo({group_id:0,page:1,per_page:20,sort_by:"updated_at",sort_direction:"desc",type:"0"}),Vl(qe.type),qe.type=en,(qe==null?void 0:qe.item_type)==="SHIXUN"&&qe.type!=="5"&&(za=!0,Wr(!0)),Nr(!1),qe.type==="5"&&(za=!1,Wr(!1)),mu(),Qi()},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:Mn.createElement("div",null,"\u5DF2\u9009",Qt.length>0&&Mn.createElement("span",{className:Vt.titlecount},Qt.length),Co>0&&Mn.createElement("span",{className:Vt.add},"+",Co)),key:"5"}]}),Mn.createElement(De.default,{layout:"inline",form:Er,onValuesChange:(en,Qn)=>{var Ar,cr;const kr=Object.values(Qn).some(Lo=>Lo!==null&&Lo!==""&&Lo!==void 0),po=Qn.keyword==="";if(Nr(kr||!po),qe.page=1,qe.keyword=(cr=(Ar=qe.keyword)==null?void 0:Ar.replace)==null?void 0:cr.call(Ar,/^\s+|\s+$/g,""),(Qn==null?void 0:Qn.item_type)==="SHIXUN"){if(qe.type==="5"?Wr(!1):Wr(!0),en.keyword||en.keyword==="")return;Er.submit()}else{if(en!=null&&en.courseid&&Er.setFieldsValue({tag_discipline_id:""}),Wr(!1),en.keyword||en.keyword==="")return;Er.submit()}},onFinish:en=>{var Qn;qe.type==="3"&&(!en.group_id||((Qn=en==null?void 0:en.group_id)==null?void 0:Qn.length)===0)?qe.show_all_share=!0:qe.show_all_share=null,Ct(Sr(Sr({},qe),en)),ni(Sr(Sr({},qe),en))}},Mn.createElement(De.default.Item,{name:"item_type"},Mn.createElement(Se.default,{className:Vt.selectWrapper,placeholder:"\u9898\u578B",style:{width:110},size:"middle",allowClear:!0},ci.map(en=>Mn.createElement(Se.default.Option,{key:en.value},en.name)))),Mn.createElement(De.default.Item,{name:"courseid"},Mn.createElement(xe.Z,{className:Vt.selectWrapper,style:{width:160},size:"middle",placeholder:"\u65B9\u5411&\u8BFE\u7A0B",options:cn})),!za&&Mn.createElement(De.default.Item,{name:"tag_discipline_id"},Mn.createElement(Se.default,{className:Vt.selectWrapper,placeholder:"\u77E5\u8BC6\u70B9",style:{width:160},size:"middle",allowClear:!0},(Bn=va==null?void 0:va.tag_disciplines)==null?void 0:Bn.map(en=>Mn.createElement(Se.default.Option,{key:en.id},en.name)))),Mn.createElement(De.default.Item,{name:za?"diff":"difficulty"},Mn.createElement(Se.default,{className:Vt.selectWrapper,placeholder:"\u96BE\u5EA6",style:{width:118},size:"middle",allowClear:!0},!za&&Go.map(en=>Mn.createElement(Se.default.Option,{key:en.value},en.name)),za&&gi.map(en=>Mn.createElement(Se.default.Option,{key:en.value},en.name)))),za&&Mn.createElement(De.default.Item,{name:"shixun_publish_status"},Mn.createElement(Se.default,{className:Vt.selectWrapper,placeholder:"\u5168\u90E8\u72B6\u6001",style:{width:118},size:"middle",allowClear:!0},il.map(en=>Mn.createElement(Se.default.Option,{key:en.value},en.name)))),(qe.type==="3"||qe.type==="0")&&!za&&Mn.createElement(De.default.Item,{name:"group_id"},Mn.createElement(In.default,{treeDataSimpleMode:!0,style:{width:118},className:Vt.selectWrappers,multiple:!0,allowClear:!0,showSearch:!0,filterTreeNode:(en,Qn)=>Qn.title.toUpperCase().indexOf(en.toUpperCase())!==-1,dropdownStyle:{maxHeight:400,width:500,overflow:"auto"},placeholder:"\u8BF7\u9009\u62E9\u6587\u4EF6\u5939",treeCheckStrictly:!0,loadData:Fu,treeDefaultExpandedKeys:[0],maxTagCount:0,treeCheckable:!0,treeData:yr})),Tl&&Mn.createElement("span",{className:Vt.allqingchu,onClick:Ro},Mn.createElement("i",{className:"iconfont icon-guanbi4"}),Mn.createElement("span",null,"\u6E05\u9664\u7B5B\u9009\u6761\u4EF6")),Mn.createElement(De.default.Item,{style:{flex:"0 0 auto",marginRight:0,marginLeft:"auto"},name:"keyword"},Mn.createElement(ze.default.Search,{className:Vt.search,placeholder:"\u8BF7\u8F93\u5165\u5173\u952E\u8BCD\u641C\u7D22",allowClear:!0,suffix:Mn.createElement("i",{className:`iconfont icon-sousuo9 font14 ${Vt.searchIcon}`,onClick:()=>Er.submit()}),onSearch:en=>{Er.submit()}}))),Mn.createElement("div",{style:{background:"#F6F7F9",display:"flex",alignItems:"center",marginTop:18,height:40,paddingLeft:10,paddingRight:20}},Mn.createElement("div",{onClick:()=>{qe.updated_at==="asc"?qe.updated_at="desc":qe.updated_at="asc",Ct(To(Sr({},qe),{page:1})),ni(To(Sr({},qe),{page:1}))}}," ",qe.updated_at?Mn.createElement("img",{src:qe.updated_at==="asc"?Ba.Z:ga.Z,style:{width:"15px",verticalAlign:"text-bottom"},className:"font14 mr5 c-light-primary"}):Mn.createElement("i",{style:{fontSize:"14px"},className:"iconfont icon-jiangxu mr5 c-light-primary"}),"\u6309\u66F4\u65B0\u65F6\u95F4\u6392\u5E8F"),Mn.createElement("div",{onClick:()=>{qe.quotes==="asc"?qe.quotes="desc":qe.quotes="asc",Ct(To(Sr({},qe),{page:1})),ni(To(Sr({},qe),{page:1}))},style:{marginLeft:20}}," ",qe.quotes?Mn.createElement("img",{src:qe.quotes==="asc"?Ba.Z:ga.Z,style:{width:"15px",verticalAlign:"text-bottom"},className:"font14 mr5 c-light-primary"}):Mn.createElement("i",{style:{fontSize:"14px"},className:"iconfont icon-jiangxu mr5 c-light-primary"}),"\u6309\u4F7F\u7528\u6B21\u6570\u6392\u5E8F")),Mn.createElement(cs.default,{style:{marginTop:2,marginBottom:20},scroll:{y:260},dataSource:(va==null?void 0:va.items)||(va==null?void 0:va.shixun_list),pagination:!1,loading:En,rowKey:en=>en.id,rowSelection:{type:"checkbox",selectedRowKeys:[...Jt,...ui],getCheckboxProps:en=>({disabled:en.shixun_tag_num===1||(ui==null?void 0:ui.find(Qn=>en.id===Qn))}),onSelect(en,Qn,Ar){if(console.log("---",Ar,Qn,en),Qn)(za||en!=null&&en.challenge_names)&&wo([...So,en.id]),Ot([...Jt,en.id]),en.identifier?ti.current.add(en.id):ol.current.add(en.id),Dn(1),Zt([...Qt,en.id]);else{en.identifier?ti.current.delete(en.id):ol.current.delete(en.id);let cr=Qt.filter(kr=>kr!==en.id);if(Ot(cr),Zt(cr),za||en!=null&&en.challenge_names){let kr=So.filter(po=>po!==en.id);wo([...kr])}if(qe.type==="5"){Yi(To(Sr({},qe),{list:[...cr]}));return}}},onSelectAll(en,Qn,Ar){var cr,kr;if(console.log("----",Ar),en){const po=Ar.map(ao=>ao.id),Lo=(kr=Ar==null?void 0:Ar.filter(ao=>ao==null?void 0:ao.challenge_names))==null?void 0:kr.map(ao=>ao.id);console.log("---",Lo),wo([...So,...Lo]),Ot([...Jt,...po]),Zt([...Qt,...po]);for(const ao of Ar)ao.identifier?ti.current.add(ao.id):ol.current.add(ao.id)}else{const po=Ar.map(Eo=>Eo.id),Lo=Jt.filter(Eo=>!po.some(ll=>ll===Eo)),ao=(cr=Ar==null?void 0:Ar.filter(Eo=>Eo==null?void 0:Eo.challenge_names))==null?void 0:cr.map(Eo=>Eo.id);Ot([...Lo]),Zt([...Lo]);let Mi=So.filter(Eo=>!ao.some(ll=>ll===Eo.id));wo([...Mi]),qe.type==="5"&&Yi(To(Sr({},qe),{list:[...Lo]}));for(const Eo of po)Eo.identifier?ti.current.delete(Eo):ol.current.delete(Eo)}}},columns:[{title:"\u9898\u578B",dataIndex:"item_type",key:"item_type",render:(en,Qn,Ar)=>{var cr,kr;return Mn.createElement(ut.Z,{title:no(Qn)},Mn.createElement("div",null,za||Qn!=null&&Qn.challenge_names?"\u5B9E\u8BAD\u9898":(kr=(cr=ci==null?void 0:ci.filter(po=>po.value===en))==null?void 0:cr[0])==null?void 0:kr.name))}},{title:"\u8BD5\u9898\u540D\u79F0",dataIndex:"name",width:za?"30%":"60%",key:"name",render:(en,Qn,Ar)=>{var cr;return Mn.createElement("div",{style:{display:"flex",alignItems:"center"}},Mn.createElement(ut.Z,{title:no(Qn)},Mn.createElement("span",null,Mn.createElement(Mt.Z,{key:1,showLines:1,showTextOnly:!0,value:za||Qn!=null&&Qn.challenge_names?Qn!=null&&Qn.title||en===null?"--":en:(Qn==null?void 0:Qn.item_type)=="BPROGRAM"?(cr=Qn==null?void 0:Qn.program_attr)==null?void 0:cr.description:en}))),(Qn==null?void 0:Qn.high_resources_consume)&&Mn.createElement(ur.Z,{type:"shixun",style:{marginLeft:10}}))}},{title:"\u521B\u5EFA\u8005",dataIndex:"author_name",key:"author_name",hidden:!za,render:(en,Qn,Ar)=>{var cr;return Mn.createElement(ut.Z,{title:no(Qn)},Mn.createElement("span",null,en?(cr=en==null?void 0:en.split("\u3001"))==null?void 0:cr[0]:"- -"))}},{title:"\u6240\u5C5E\u5355\u4F4D",dataIndex:"author_school_name",key:"author_school_name",hidden:!za,render:(en,Qn,Ar)=>Mn.createElement(ut.Z,{title:no(Qn)},Mn.createElement("span",null,en||"- -"))},{title:"\u96BE\u5EA6",dataIndex:"difficulty",key:"difficulty",render:(en,Qn,Ar)=>{var cr,kr,po,Lo;return Mn.createElement(ut.Z,{title:no(Qn)},Mn.createElement("div",null,za||Qn!=null&&Qn.challenge_names?(Qn==null?void 0:Qn.level)||((kr=(cr=Go==null?void 0:Go.filter(ao=>ao.value===en))==null?void 0:cr[0])==null?void 0:kr.name):(Lo=(po=Go==null?void 0:Go.filter(ao=>ao.value===en))==null?void 0:po[0])==null?void 0:Lo.name))}},{title:"\u5173\u5361\u6570\u91CF",dataIndex:"challenges_count",key:"challenges_count",hidden:!za,render:(en,Qn,Ar)=>Mn.createElement(ut.Z,{title:no(Qn)},Mn.createElement("div",null,en||"- -"))},{title:"\u4F7F\u7528\u6B21\u6570",dataIndex:"quotes",key:"quotes",render:(en,Qn,Ar)=>Mn.createElement(ut.Z,{title:no(Qn)},Mn.createElement("div",null,za||Qn!=null&&Qn.challenge_names?(Qn==null?void 0:Qn.study_count)||(Qn==null?void 0:Qn.stu_num):en))},{title:Mn.createElement("span",null,"\u53D1\u5E03\u72B6\u6001 ",Mn.createElement(ut.Z,{title:"\u672A\u53D1\u5E03\u7684\u5B9E\u8DF5\u9879\u76EE\u4E0D\u80FD\u88AB\u9009\u7528"},Mn.createElement(yn.Z,null))),dataIndex:"shixun_tag_num_name",key:"shixun_tag_num_name",hidden:!za,render:(en,Qn,Ar)=>Mn.createElement(ut.Z,{title:no(Qn)},Mn.createElement("div",null,en||"- -"))},{title:"\u64CD\u4F5C",dataIndex:"id",key:"item_type",render:(en,Qn,Ar)=>Mn.createElement(ut.Z,{title:no(Qn)},Mn.createElement("div",{style:{flex:1,textAlign:"start"}},Mn.createElement("a",{onClick:()=>{var cr,kr;Do(To(Sr({},Qn),{question_type:za||Qn!=null&&Qn.challenge_names?5:(kr=(cr=ci==null?void 0:ci.filter(po=>po.value===(Qn==null?void 0:Qn.item_type)))==null?void 0:cr[0])==null?void 0:kr.question_type})),Or(!0)}},"\u67E5\u770B"),(Qn==null?void 0:Qn.shixun_tag_num)===1&&Mn.createElement("a",{style:{marginLeft:10},onClick:()=>{Ke.default.confirm({title:"\u63D0\u793A",icon:null,centered:!0,width:400,content:Mn.createElement("div",null,"\u662F\u5426\u786E\u5B9A\u53D1\u5E03",Mn.createElement("span",{style:{cursor:"pointer",color:"#3061D0"},onClick:()=>{window.open(`/shixuns/${Qn==null?void 0:Qn.identifier}/challenges`)}},(Qn==null?void 0:Qn.shixun_name)||"--"),"\uFF1F"),onOk:()=>Mo(void 0,null,function*(){if(!Gl(Qn==null?void 0:Qn.identifier))return new Promise((cr,kr)=>{kr()})})})}},"\u53D1\u5E03")))}].filter(en=>!en.hidden)}),Mn.createElement(Dt.Z,{current:qe.page,total:(va==null?void 0:va.items_count)||(va==null?void 0:va.shixuns_count),style:{marginBottom:20},defaultPageSize:qe.per_page,showTotal:en=>Mn.createElement("span",null,"\u5171\xA0",Mn.createElement("span",{style:{color:"#165DFF"}},en),"\xA0\u6761\u6570\u636E"),pageSize:qe.per_page,onChange:(en,Qn)=>{qe.page=en,qe.per_page=Qn,Ct(Sr({},qe)),ni(Sr({},qe))}}),Mn.createElement("div",{className:Vt.bottom},Mn.createElement(_e.ZP,{className:Vt.no,onClick:()=>{ue(!1)}},"\u53D6\u6D88"),Mn.createElement(_e.ZP,{loading:ft,style:{width:ft&&75},className:Vt.yes,onClick:()=>Mo(void 0,null,function*(){if((Qt==null?void 0:Qt.length)<=0){Ae.ZP.info("\u5F53\u524D\u6682\u672A\u9009\u62E9\u6570\u636E");return}let en=yield(0,io.Tr)({id:[...Qt==null?void 0:Qt.filter(Qn=>So.includes(Qn))],course_id:Ai.coursesId,type:"shixun"});(en==null?void 0:en.student_count)===0?Pe([...ol.current],[...Qt==null?void 0:Qt.filter(Qn=>So.includes(Qn))],!0,Qt==null?void 0:Qt.length):Oi(en)})},"\u786E\u8BA4"))),Mn.createElement(Ke.default,{open:na,title:"\u9898\u76EE\u8BE6\u60C5",footer:!1,className:Vt.previewModal,width:1e3,centered:!0,onCancel:()=>{Or(!1)},onOk:()=>{Or(!1)}},Mn.createElement(Ra,{qitem:$a})),Mn.createElement($r.Z,{resdata:Bi,type:"exercise",okloading:ft,oktext:(Bi==null?void 0:Bi.can_copy_num)===0?"\u786E\u5B9A":"\u4E00\u952E\u590D\u5236\u5E76\u66FF\u6362",onok:en=>Mo(void 0,null,function*(){const Qn=[],Ar=[];for(const cr of Bi==null?void 0:Bi.can_copy_list)Qn.push(cr.id);Ll(),yield Pe([...ol.current],[...ti.current].filter(cr=>!Ar.includes(cr)),!0,Qt==null?void 0:Qt.length,Qn)})}))};var Xo=(0,he.connect)(({shixunsDetail:ue,exercise:Ee})=>({shixunsDetail:ue,exercise:Ee}))(bi),Fi=oe(68571),Kr=oe(59301),li=Object.defineProperty,Si=Object.defineProperties,ki=Object.getOwnPropertyDescriptors,mi=Object.getOwnPropertySymbols,Ji=Object.prototype.hasOwnProperty,ml=Object.prototype.propertyIsEnumerable,Vr=(ue,Ee,Pe)=>Ee in ue?li(ue,Ee,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ue[Ee]=Pe,vo=(ue,Ee)=>{for(var Pe in Ee||(Ee={}))Ji.call(Ee,Pe)&&Vr(ue,Pe,Ee[Pe]);if(mi)for(var Pe of mi(Ee))ml.call(Ee,Pe)&&Vr(ue,Pe,Ee[Pe]);return ue},bo=(ue,Ee)=>Si(ue,ki(Ee)),fi=(ue,Ee,Pe)=>new Promise((it,ft)=>{var Rn=vt=>{try{Yt(Pe.next(vt))}catch(qt){ft(qt)}},vn=vt=>{try{Yt(Pe.throw(vt))}catch(qt){ft(qt)}},Yt=vt=>vt.done?it(vt.value):Promise.resolve(vt.value).then(Rn,vn);Yt((Pe=Pe.apply(ue,Ee)).next())}),ei=({qitem:ue,TagDiscipline:Ee,exerciseitem:Pe,setisedit:it,seveeditor:ft,deleteitem:Rn,getTagData:vn,init:Yt,showTip:vt=!1})=>{var qt;const[Bn]=De.default.useForm(),qe=!0;return(0,b.useEffect)(()=>{var Ct,cn,Cn;Bn.setFieldsValue(bo(vo({},ue),{standard_answers:ue.standard_answer,difficulty:(ue==null?void 0:ue.difficult)||2,item_banks_group_id:ue.item_banks_group_id,hack:bo(vo({},ue),{time_limit:(ue==null?void 0:ue.time_limit)||3}),hack_codes:{language:(Ct=ue==null?void 0:ue.program_attr)==null?void 0:Ct.language,code:bu.Base64.decode(((cn=ue==null?void 0:ue.program_attr)==null?void 0:cn.code)||"")},hack_sets:vo({},(Cn=ue==null?void 0:ue.hack_sets)==null?void 0:Cn[0]),repeat_answer:!ue.repeat_answer}))},[ue]),Kr.createElement("div",null,Kr.createElement(De.default,{form:Bn,colon:!1,onValuesChange:(Ct,cn)=>{var Cn,Jt,Ot,Qt;if(Ct!=null&&Ct.standard_answers){let Zt=((Cn=Bn.getFieldValue("standard_answers"))==null?void 0:Cn.length)>0&&((Ot=(Jt=Bn.getFieldValue("standard_answers"))==null?void 0:Jt.map(va=>va.score))==null?void 0:Ot.filter(va=>va));(Zt==null?void 0:Zt.length)>0&&Bn.setFieldsValue({question_score:(Zt==null?void 0:Zt.length)>0&&((Qt=Zt.reduce((va,Sn)=>va+Sn))==null?void 0:Qt.toFixed(1))})}},onFinish:Ct=>{var cn;ft(bo(vo(vo({},ue),Ct),{item_type:ue==null?void 0:ue.question_type,standard_answers:(cn=Ct.standard_answers)==null?void 0:cn.map((Cn,Jt)=>bo(vo({},Cn),{position:Jt+1})),hack_codes:bo(vo({},Ct.hack_codes),{code:bu.Base64.encode(Ct.hack_codes.code)}),standard_answer:void 0}))},onFinishFailed:Ct=>fi(void 0,null,function*(){var cn,Cn;Ae.ZP.error(Ct.errorFields[0].errors[0]),Bn.scrollToField((Cn=(cn=Ct==null?void 0:Ct.errorFields)==null?void 0:cn[0])==null?void 0:Cn.name,{behavior:"smooth",block:"center"})})},Kr.createElement("div",{style:{display:"flex",alignItems:"center"}},Kr.createElement("div",{style:{flex:1}},Kr.createElement("span",{style:{display:"inline-flex",border:"1px solid #9096A3",borderRadius:"50%",width:10,height:10,marginRight:5,background:"#9096A3"}}),Kr.createElement("span",null,"\u7A0B\u5E8F\u586B\u7A7A\u9898")),((qt=Pe==null?void 0:Pe.exercise)==null?void 0:qt.exercise_status)==1&&!(ue!=null&&ue.isadd)&&Kr.createElement("span",{style:{marginLeft:20,marginRight:20,color:"red",cursor:"pointer"},onClick:()=>{Rn()}},Kr.createElement("i",{className:"iconfont icon-piliangshanchu3",style:{fontSize:14,marginRight:6}})," \u5220\u9664"),Kr.createElement(_e.ZP,{onClick:()=>{var Ct,cn,Cn,Jt;ue.isadd?(it(!1),Yt()):(Bn.setFieldsValue(bo(vo({},ue),{standard_answers:ue.standard_answer,difficulty:ue.difficult,item_banks_group_id:ue.item_banks_group_id,hack:bo(vo({},ue),{sub_discipline_id:(Ct=Pe==null?void 0:Pe.exercise)==null?void 0:Ct.sub_discipline_id,tag_discipline_ids:[]}),hack_codes:{language:(cn=ue==null?void 0:ue.program_attr)==null?void 0:cn.language,code:bu.Base64.decode((Cn=ue==null?void 0:ue.program_attr)==null?void 0:Cn.code)},hack_sets:vo({},(Jt=ue==null?void 0:ue.hack_sets)==null?void 0:Jt[0]),repeat_answer:!ue.repeat_answer})),it(!1))}},"\u53D6\u6D88"),Kr.createElement(ut.Z,{overlayClassName:nt.shake,open:vt,placement:"bottom",color:"rgba(244,156,14,0.19)",title:Kr.createElement("div",{style:{color:"#FF841A",fontSize:"14px"}},Kr.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")},Kr.createElement(_e.ZP,{className:"ml20",type:"primary",onClick:()=>{Bn.submit()}},"\u4FDD\u5B58"))),Kr.createElement("div",{style:{maxHeight:"calc(100vh - 148px)",overflowY:"auto",marginTop:"10px",paddingRight:"5px"}},Kr.createElement(bt.Z,{text:"\uFF08\u5C0F\u9898\u5206\u503C\u7B49\u4E8E\u5404\u586B\u7A7A\u9879\u5206\u503C\u4E4B\u548C\uFF09"}),Kr.createElement(Fi.t,{form:Bn,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u7A0B\u5E8F\u586B\u7A7A\u9898\u9898\u5E72\u5185\u5BB9",scoreByBlank:qe,hackidentifier:ue==null?void 0:ue.hack_identifier,answerKey:"standard_answers"}),Kr.createElement(pa,{getTagData:vn,qitem:ue,exerciseitem:Pe,TagDiscipline:Ee,form:Bn}))))},Ei=oe(346),Al=oe(78874),Hi=oe(81722),zi=oe(89392),$l=oe(99909),uu=oe(71528),An=oe(59301),Ti=Object.defineProperty,El=Object.defineProperties,Vi=Object.getOwnPropertyDescriptors,eu=Object.getOwnPropertySymbols,Rl=Object.prototype.hasOwnProperty,al=Object.prototype.propertyIsEnumerable,qo=(ue,Ee,Pe)=>Ee in ue?Ti(ue,Ee,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ue[Ee]=Pe,zo=(ue,Ee)=>{for(var Pe in Ee||(Ee={}))Rl.call(Ee,Pe)&&qo(ue,Pe,Ee[Pe]);if(eu)for(var Pe of eu(Ee))al.call(Ee,Pe)&&qo(ue,Pe,Ee[Pe]);return ue},Wi=(ue,Ee)=>El(ue,Vi(Ee)),Fo=(ue,Ee,Pe)=>new Promise((it,ft)=>{var Rn=vt=>{try{Yt(Pe.next(vt))}catch(qt){ft(qt)}},vn=vt=>{try{Yt(Pe.throw(vt))}catch(qt){ft(qt)}},Yt=vt=>vt.done?it(vt.value):Promise.resolve(vt.value).then(Rn,vn);Yt((Pe=Pe.apply(ue,Ee)).next())});const{confirm:rl}=Ke.default,Ci=[{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"}],xl=({user:ue,dispatch:Ee,itemid:Pe,setisedits:it,exercise:ft,setitemid:Rn})=>{var vn,Yt,vt,qt,Bn,qe,Ct,cn,Cn,Jt,Ot,Qt,Zt,va,Sn,En,Fr,Er,$a,Do,na,Or,za,Wr,So,wo,Vo;const[Pa,yr]=(0,b.useState)(),[Pi,Co]=(0,b.useState)(!1),[Dn,ui]=(0,b.useState)(),[Ii,ci]=(0,b.useState)(),Bi=(0,b.useRef)(),Oi=(0,b.useRef)(),[ti,ol]=(0,b.useState)(),[Ui,qi]=(0,b.useState)(!1),[Go,gi]=(0,b.useState)(!1),[il,Tl]=(0,b.useState)(),[Nr,Ro]=(0,b.useState)(!1),[ni,Wo]=(0,b.useState)(!1),[Qi,Yi]=(0,b.useState)(!1),[Ai,Zl]=(0,b.useState)(!1),[Ll,Pl]=(0,b.useState)(!1),[pi,Gl]=(0,b.useState)(!1),no=(0,he.useParams)(),[nu,Fu]=(0,b.useState)(!1),[Vl]=De.default.useForm(),[mu,en]=(0,b.useState)(!1),[Qn,Ar]=(0,b.useState)(!1),[cr,kr]=(0,b.useState)(!1),[po,Lo]=(0,b.useState)(!1),ao=(0,b.useRef)();(0,b.useEffect)(()=>{Pe&&Eo()},[Pe]),(0,b.useEffect)(()=>{it(Go)},[Go]),(0,b.useEffect)(()=>{Dn!=null&&Dn.question_id&&(ci(Dn==null?void 0:Dn.question_score),Oi.current=Dn==null?void 0:Dn.question_id)},[Dn]);const Mi=Kn=>Fo(void 0,null,function*(){let Ja=yield Ee({type:"newExercisePaper/getTagDiscipline",payload:{sub_discipline_id:Kn}});Ee({type:"globalSetting/footerToggle",payload:!1}),Tl(Ja)});function Eo(){return Fo(this,null,function*(){var Kn,Ja,Ir,ro,Xr,xr;qi(!0),Co(!0);const co=yield Ee({type:"exercise/editExercise",payload:{categoryId:Pe}});qi(!1),Co(!1),yr(co),Pl(!1),(Kn=co==null?void 0:co.exercise)!=null&&Kn.sub_discipline_id&&Mi((Ja=co==null?void 0:co.exercise)==null?void 0:Ja.sub_discipline_id),ui(Wi(zo({},(Xr=(ro=(Ir=co==null?void 0:co.exercise_question_types)==null?void 0:Ir[0])==null?void 0:ro.items)==null?void 0:Xr[0]),{index:1})),ol(Wi(zo({},(xr=co==null?void 0:co.exercise_question_types)==null?void 0:xr[0]),{indexs:1}))})}function ll(Kn,Ja=!0){return Fo(this,null,function*(){var Ir,ro,Xr,xr;Ja&&(qi(!0),Co(!0));const co=yield Ee({type:"exercise/editExercise",payload:{categoryId:Pe}});yr(co);let No=[];(Ir=co==null?void 0:co.exercise_question_types)==null||Ir.map(Dr=>{var Ia;(Ia=Dr==null?void 0:Dr.items)==null||Ia.map((fr,lo)=>{No.push(Wi(zo({},fr),{index:lo+1}))})});let Gi=(ro=No.filter(Dr=>Dr.question_id===(Kn==null?void 0:Kn.id)))==null?void 0:ro[0],su=(xr=((Xr=co==null?void 0:co.exercise_question_types)==null?void 0:Xr.map((Dr,Ia)=>{if((Gi==null?void 0:Gi.question_type)===(Dr==null?void 0:Dr.question_type))return Wi(zo({},Dr),{indexs:Ia+1})})).filter(Dr=>Dr))==null?void 0:xr[0];ol(zo({},su)),ui(zo({},Gi)),ci(Gi==null?void 0:Gi.question_score),qi(!1),Co(!1),Pl(!1)})}function Wl(Kn){return Fo(this,null,function*(){var Ja;let Ir=Wi(zo({},Kn),{repeat_answer:!Kn.repeat_answer,difficulty:(Kn==null?void 0:Kn.difficulty)||2,item_type:Kn.question_type,sub_discipline_id:((Ja=Kn==null?void 0:Kn.sub_discipline_id)==null?void 0:Ja[1])||"",tag_discipline_ids:[],hack:Wi(zo({},Kn==null?void 0:Kn.hack),{difficult:(Kn==null?void 0:Kn.difficulty)||2}),hack_identifier:sessionStorage.projectFill});Kn.tag_discipline_ids&&(Ir.tag_discipline_ids=Array.isArray(Kn.tag_discipline_ids)?Kn.tag_discipline_ids:[Kn.tag_discipline_ids]);let ro=Ll?`/api/exercises/${Pe}/exercise_questions`:`/api/exercise_questions/${Kn==null?void 0:Kn.question_id}.json`;if((Kn==null?void 0:Kn.is_my)===1){const Xr=rl({title:"\u63D0\u793A",content:An.createElement("div",null,An.createElement("p",null,"\u6B64\u9898\u76EE\u5DF2\u5B58\u5728\u4E8E\u8BD5\u9898\u5E93\uFF0C\u662F\u5426\u5C06\u4FEE\u6539\u540E\u7684\u9898\u76EE\u8986\u76D6\u8BD5\u9898\u5E93\u7684\u539F\u9898\uFF1F"),An.createElement("i",{className:"iconfont icon-guanbi",style:{position:"absolute",top:"20px",right:"20px",cursor:"pointer"},onClick:()=>{Xr.destroy()}})),okText:"\u8986\u76D6\u539F\u9898",cancelText:"\u4E0D\u8986\u76D6",keyboard:!1,onOk:()=>Fo(this,null,function*(){Ir.is_cover=1;let xr=yield(0,te.ZP)(ro,{method:Ll?"post":"PUT",body:zo({},Ir)});(xr==null?void 0:xr.status)===0&&(gi(!1),ll({id:(xr==null?void 0:xr.exercise_question_id)||(Kn==null?void 0:Kn.question_id)})),Xr.destroy()}),onCancel:()=>Fo(this,null,function*(){let xr=yield(0,te.ZP)(ro,{method:Ll?"post":"PUT",body:zo({},Ir)});(xr==null?void 0:xr.status)===0&&(gi(!1),ll({id:(xr==null?void 0:xr.exercise_question_id)||(Kn==null?void 0:Kn.question_id)})),Xr.destroy()})})}else{let Xr=yield(0,te.ZP)(ro,{method:Ll?"post":"PUT",body:zo({},Ir)});(Xr==null?void 0:Xr.status)===0&&(gi(!1),ll({id:(Xr==null?void 0:Xr.exercise_question_id)||(Kn==null?void 0:Kn.question_id)}))}(0,Pt.Vf)("#question-scroll-id")})}function qu(Kn){return Fo(this,null,function*(){var Ja,Ir;Co(!0);let ro=yield(0,te.ZP)(`/api/exercises/${Pe}/sort_question_type.json`,{method:"post",body:{question_type:Kn}});if(Co(!1),(ro==null?void 0:ro.status)===0){const Xr=yield Ee({type:"exercise/editExercise",payload:{categoryId:Pe}});yr(Xr),Pl(!1),(Ja=Xr==null?void 0:Xr.exercise)!=null&&Ja.sub_discipline_id&&Mi((Ir=Xr==null?void 0:Xr.exercise)==null?void 0:Ir.sub_discipline_id)}})}const vs=(Kn,Ja,Ir)=>Fo(void 0,null,function*(){var ro;if(Kn.length===0){Ae.ZP.warning("\u8BF7\u4E0A\u4F20\u6587\u4EF6"),Ir();return}const Xr={id:no==null?void 0:no.exerciseId,file:(ro=Kn[0])==null?void 0:ro.file,sub_discipline_id:Ja};hs(Xr,`${Ei.Z.API_SERVER}/api/courses/${no==null?void 0:no.coursesId}/exercises/import_exercise.json`,xr=>{var co;if((xr==null?void 0:xr.status)===0){const No={};(co=xr==null?void 0:xr.fail)==null||co.forEach(Nl=>{var su;((su=Object.keys(No))==null?void 0:su.includes(Nl.message))?No[Nl.message]=No[Nl.message]+1:No[Nl.message]=1});let Gi=`\u6210\u529F\u5BFC\u5165${xr==null?void 0:xr.success}\u6761`;Object.keys(No).forEach(Nl=>{Gi=Gi+`,${Nl}${No[Nl]}\u6761`}),Ae.ZP.success(Gi),Ro(!1),Eo()}(xr==null?void 0:xr.status)===-1&&(Ae.ZP.error(xr==null?void 0:xr.message),Ir())})}),ps=(Kn,Ja)=>Fo(void 0,null,function*(){const Ir=yield(0,Hi.zR)({score:(0,zi.round)(Kn,1),question_id:Ja==null?void 0:Ja.question_id});if((Ir==null?void 0:Ir.status)===0){Ae.ZP.success("\u4FEE\u6539\u6210\u529F"),ll({id:Oi.current},!1);return}(Ir==null?void 0:Ir.status)===-1&&ci(Ja==null?void 0:Ja.question_score)}),jl=()=>{Lo(!0)};(0,b.useEffect)(()=>{if(po){const Kn=setTimeout(()=>{Lo(!1)},2e3);return()=>clearTimeout(Kn)}},[po]);const hs=(Kn,Ja,Ir,ro,Xr)=>{const xr=new FormData;Object.keys(Kn).forEach(No=>{xr.append(No,Kn[No])});const co=new window.XMLHttpRequest;return co.withCredentials=!0,co.addEventListener("load",function(No){var Gi;Ir(JSON.parse((Gi=No==null?void 0:No.target)==null?void 0:Gi.response))},!1),co.addEventListener("error",function(No){Xr&&Xr(No)},!1),co.upload.onprogress=No=>{ro&&ro(No)},co.open("POST",Ja),co.send(xr),co};function au(){return Fo(this,null,function*(){Ke.default.confirm({title:"\u63D0\u793A",content:"\u786E\u5B9A\u8981\u5220\u9664\u8FD9\u4E2A\u8BD5\u9898\u5417\uFF1F",okText:"\u786E\u5B9A",centered:!0,className:nt.modalconfirm,onOk:()=>Fo(this,null,function*(){if(Dn.question_id){let Kn=yield(0,te.ZP)(`/api/exercise_questions/${Dn.question_id}.json`,{method:"delete"});(Kn==null?void 0:Kn.status)===0&&(Eo(),gi(!1))}else ui({}),gi(!1),Eo()}),cancelText:"\u53D6\u6D88"})})}const Zu=Kn=>Fo(void 0,null,function*(){return yield(0,te.ZP)(`/api/exercises/${Pe}/select_questions.json`,{method:"post",body:zo({},Kn)})}),{overflow:Ul,handleMouseEnter:$u,handleMouseLeave:Ss}=(0,Al.I)(),es=(Kn,Ja)=>An.createElement(At.default,null,An.createElement(At.default.Item,{key:"0",onClick:()=>Gu(Kn==null?void 0:Kn.question_type)},An.createElement("span",{className:nt.moreSpan},"\u65B0\u589E")),An.createElement(At.default.Item,{key:"1",disabled:Ja===0,onClick:()=>Fo(void 0,null,function*(){if(Ja===0)return;if(Go){jl();return}let Ir=(0,Pt.rz)(Pa==null?void 0:Pa.exercise_question_types,Ja,Ja-1);yield qu(Ir.map(ro=>ro.name))})},An.createElement("span",{className:nt.moreSpan},"\u4E0A\u79FB")),An.createElement(At.default.Item,{key:"2",disabled:Ja===(Pa==null?void 0:Pa.exercise_question_types.length)-1,onClick:()=>Fo(void 0,null,function*(){if(Ja===(Pa==null?void 0:Pa.exercise_question_types.length)-1)return;if(Go){jl();return}let Ir=(0,Pt.rz)(Pa==null?void 0:Pa.exercise_question_types,Ja,Ja+1);yield qu(Ir.map(ro=>ro.name))})},An.createElement("span",{className:nt.moreSpan},"\u4E0B\u79FB")),An.createElement(At.default.Item,{key:"3",onClick:()=>{var Ir;Vl.setFieldsValue({name:Kn.name,item_type_en:(Ir=Ci.find(ro=>ro.id==Kn.question_type))==null?void 0:Ir.nameType}),en(!0)}},An.createElement("span",{className:nt.moreSpan},"\u91CD\u547D\u540D"))),Gu=Kn=>{var Ja,Ir,ro,Xr,xr,co,No,Gi,Nl,su,Dr,Ia,fr,lo,$o,du,Il,Ql,Ol,fu,ru,yl,Es,Fs;if(Go){jl();return}if(Pl(!0),Kn===5){Yi(!0),Zl(!0);return}if(Kn===6){let Cs=(Ir=(Ja=ft==null?void 0:ft.editData)==null?void 0:Ja.exercise)!=null&&Ir.set_question_sub_discipline?`/problems/newcreate?express_id=${(ro=Pa==null?void 0:Pa.exercise)==null?void 0:ro.id}&callback_url=/classrooms/${no.coursesId}/exercise/add/${Pe}?type=2&discipline_id=${(xr=(Xr=ft==null?void 0:ft.editData)==null?void 0:Xr.exercise)==null?void 0:xr.discipline_id}&sub_discipline_id=${(No=(co=ft==null?void 0:ft.editData)==null?void 0:co.exercise)==null?void 0:No.sub_discipline_id}`:`/problems/newcreate?express_id=${(Gi=Pa==null?void 0:Pa.exercise)==null?void 0:Gi.id}&callback_url=/classrooms/${no.coursesId}/exercise/add/${Pe}?type=2`;he.history.push(Cs);return}gi(!0),ui(Kn===2?{question_type:Kn,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:"",question_title:"",tag_discipline_ids:[],discipline_id:(su=(Nl=ft==null?void 0:ft.editData)==null?void 0:Nl.exercise)!=null&&su.set_question_sub_discipline?(Ia=(Dr=ft==null?void 0:ft.editData)==null?void 0:Dr.exercise)==null?void 0:Ia.discipline_id:0,sub_discipline_id:(lo=(fr=ft==null?void 0:ft.editData)==null?void 0:fr.exercise)!=null&&lo.set_question_sub_discipline?(du=($o=ft==null?void 0:ft.editData)==null?void 0:$o.exercise)==null?void 0:du.sub_discipline_id:0,analysis:""}:{question_type:Kn,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:[],is_ordered:!0,question_title:"",use_keywords:!1,keywords:[],use_blank_score:!0,allow_student_debug:!1,submit_rule:1,discipline_id:(Ql=(Il=ft==null?void 0:ft.editData)==null?void 0:Il.exercise)!=null&&Ql.set_question_sub_discipline?(fu=(Ol=ft==null?void 0:ft.editData)==null?void 0:Ol.exercise)==null?void 0:fu.discipline_id:0,sub_discipline_id:(yl=(ru=ft==null?void 0:ft.editData)==null?void 0:ru.exercise)!=null&&yl.set_question_sub_discipline?(Fs=(Es=ft==null?void 0:ft.editData)==null?void 0:Es.exercise)==null?void 0:Fs.sub_discipline_id:0,downcase:!0,no_space:!0})},ts=[{key:1,label:"\u6279\u91CF\u5BFC\u5165",onClick:()=>{Ro(!0)}},{key:2,label:An.createElement("div",null,An.createElement("img",{width:26,style:{position:"absolute",top:-2},src:uu.$}),An.createElement("span",null,"\u667A\u80FD\u5BFC\u5165")),onClick:()=>{if(Go){jl();return}Ar(!0)}}];return console.log(ti==null?void 0:ti.question_type,Dn==null?void 0:Dn.question_type),An.createElement("div",null,An.createElement(ln.Z,{spinning:Ui},An.createElement("div",{className:nt.bg},((vn=Pa==null?void 0:Pa.exercise_types)==null?void 0:vn.q_counts)===0&&!Go&&An.createElement(_n.Z,{styles:{marginTop:180},customText:An.createElement("span",null,"\u8FD8\u6CA1\u6709\u8BD5\u9898\uFF0C\u8BF7\u4ECE",An.createElement("span",{className:"c-light-primary"},"\u5E95\u90E8\u64CD\u4F5C\u680F"),"\u8FDB\u884C\u6DFB\u52A0~")}),(((Yt=Pa==null?void 0:Pa.exercise_types)==null?void 0:Yt.q_counts)>0||Go)&&An.createElement("div",{style:{textAlign:"center"}},An.createElement("div",{style:{marginTop:20,borderTop:"1px solid #DCDCDC",display:"block",alignItems:"stretch"}},An.createElement("div",{style:{backgroundColor:"#F6F7F9",display:"inline-block",position:"sticky",top:0}},An.createElement("div",{className:nt.left},An.createElement("div",{className:nt.leftAction},((vt=Pa==null?void 0:Pa.exercise)==null?void 0:vt.exercise_status)===1&&An.createElement(_e.ZP,{onClick:()=>{if(Go){jl();return}Wo(!0)},className:nt.Button},"\u6279\u91CF\u8BBE\u7F6E\u5206\u503C")),An.createElement("div",{className:nt.scrollWrapper,style:{overflow:Ul},onMouseEnter:$u,onMouseLeave:Ss},(qt=Pa==null?void 0:Pa.exercise_question_types)==null?void 0:qt.map((Kn,Ja)=>An.createElement("div",{key:Ja,className:"mb30"},An.createElement("div",{className:nt.title},An.createElement("div",{className:nt.titleleft},An.createElement("span",{style:{color:"#000000",fontWeight:400,fontSize:12}}," ",(0,Pt.EM)(Ja+1),"\u3001\u3010",Kn.name,"\u3011"),An.createElement("span",{style:{color:"#464F66",fontSize:12}},"\uFF08",Kn.count,"\u5C0F\u9898\uFF0C\u5171",Kn.score,"\u5206\uFF09")),An.createElement(Ce.Z,{dropdownRender:()=>es(Kn,Ja),placement:"bottomLeft"},An.createElement("div",{className:nt.more_style},An.createElement("i",{className:"iconfont icon-sandian font12"})))),An.createElement(ea,{handleEditing:jl,isedit:Go,setBigqitem:ol,bigitem:Wi(zo({},Kn),{indexs:Ja+1}),setqitem:Ir=>Fo(void 0,null,function*(){var ro;(ro=Bi.current)==null||ro.blur(),ui(Ir)}),qitem:Dn,Itemid:Pe,getdata:ll,data:Kn.items})))))),An.createElement("div",{id:"question-scroll-id",style:{overflow:Go?"hidden":"auto"},className:nt.right},!(Dn!=null&&Dn.isadd)&&An.createElement("div",{className:nt.title},!Go&&An.createElement("div",{style:{flex:1}},An.createElement("span",{style:{color:"#000000",fontWeight:600,fontSize:16}}," ",(ti==null?void 0:ti.indexs)&&(0,Pt.EM)(ti==null?void 0:ti.indexs),"\u3001\u3010",ti==null?void 0:ti.name,"\u3011"),An.createElement(ut.Z,{title:"\u7F16\u8F91\u9898\u578B\u540D\u79F0"},An.createElement("i",{className:`${nt.edit} iconfont icon-bianji_Hover mr5 ml5 font18`,onClick:()=>{var Kn;Vl.setFieldsValue({name:ti.name,item_type_en:(Kn=Ci.find(Ja=>Ja.id==ti.question_type))==null?void 0:Kn.nameType}),en(!0)}})),An.createElement("span",{style:{color:"#464F66",fontSize:16,fontWeight:400}},"\uFF08",ti==null?void 0:ti.count,"\u5C0F\u9898\uFF0C\u5171",ti==null?void 0:ti.score,"\u5206\uFF09"),(Dn==null?void 0:Dn.question_type)===6&&An.createElement("span",{onClick:()=>{Ke.default.destroyAll(),kr(2)},className:"current c-light-primary font14 bold-400"},"\u6279\u91CF\u8BBE\u7F6E\u7F16\u7A0B\u8BED\u8A00"),(Dn==null?void 0:Dn.question_type)===5&&An.createElement(tt.default,{defaultChecked:(qe=(Bn=ft==null?void 0:ft.editData)==null?void 0:Bn.exercise)==null?void 0:qe.show_challenge_task_pass,onChange:Kn=>Fo(void 0,null,function*(){let Ja=yield(0,te.ZP)(`/api/exercises/${Pe}/update_show_columns.json`,{method:"post",body:{show_challenge_task_pass:Kn.target.checked}});(Ja==null?void 0:Ja.status)===0&&(Ae.ZP.info("\u8BBE\u7F6E\u6210\u529F"),ll({id:Oi.current}))}),style:{marginTop:20,marginBottom:20}},"\u5C55\u793A\u5173\u5361\u63CF\u8FF0"),(Dn==null?void 0:Dn.question_type)===6&&An.createElement("span",{style:{marginLeft:20},onClick:()=>{var Kn,Ja,Ir,ro;Ke.default.confirm({title:"\u7F16\u7A0B\u9898\u8BBE\u7F6E",icon:null,centered:!0,closable:!0,footer:null,content:An.createElement("div",null,(Dn==null?void 0:Dn.question_type)===6&&An.createElement(tt.default,{defaultChecked:(Ja=(Kn=ft==null?void 0:ft.editData)==null?void 0:Kn.exercise)==null?void 0:Ja.show_hack_sets,onChange:Xr=>Fo(void 0,null,function*(){let xr=yield(0,te.ZP)(`/api/exercises/${Pe}/update_show_columns.json`,{method:"post",body:{show_hack_sets:Xr.target.checked}});(xr==null?void 0:xr.status)===0&&(Ae.ZP.info("\u8BBE\u7F6E\u6210\u529F"),Ke.default.destroyAll(),ll({id:Oi.current}))}),style:{marginTop:20,marginBottom:20}},"\u5C55\u793A\u6D4B\u8BD5\u7528\u4F8B"),An.createElement("br",null),(Dn==null?void 0:Dn.question_type)===6&&An.createElement(tt.default,{defaultChecked:(ro=(Ir=ft==null?void 0:ft.editData)==null?void 0:Ir.exercise)==null?void 0:ro.show_hack_description,onChange:Xr=>Fo(void 0,null,function*(){let xr=yield(0,te.ZP)(`/api/exercises/${Pe}/update_show_columns.json`,{method:"post",body:{show_hack_description:Xr.target.checked}});(xr==null?void 0:xr.status)===0&&(Ae.ZP.info("\u8BBE\u7F6E\u6210\u529F"),Ke.default.destroyAll(),ll({id:Oi.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")),An.createElement("div",{style:{display:"flex",alignItems:"center"}},(Dn==null?void 0:Dn.question_type)===5&&!Go&&An.createElement("a",{className:nt.shixun,href:`/shixuns/${Dn==null?void 0:Dn.shixun_identifier}/challenges?exercise=true`,target:"_blank"},An.createElement("i",{onClick:()=>{},style:{marginRight:20},className:"iconfont icon-shixunkecheng mr5 "}),"\u5B9E\u8BAD\u8BE6\u60C5"),!Go&&((Ct=Pa==null?void 0:Pa.exercise)==null?void 0:Ct.exercise_status)==1&&[0,1,2,4,6].includes(Dn==null?void 0:Dn.question_type)&&An.createElement(De.default.Item,{label:"\u5206\u503C",style:{margin:"0 20px"},required:!0},An.createElement(Le.Z,{precision:1,ref:Bi,onChange:Kn=>ci(Kn),value:Ii,onBlur:Kn=>{ps(Kn.target.value,Dn)}})),!Go&&((cn=Pa==null?void 0:Pa.exercise)==null?void 0:cn.exercise_status)==1&&An.createElement(ut.Z,{title:"\u5220\u9664"},An.createElement("i",{onClick:()=>{au()},style:{marginRight:20},className:`${nt.delete} iconfont icon-shanchu13 mr8 ml8 `})),(Dn==null?void 0:Dn.question_type)!==5&&!Go&&An.createElement(An.Fragment,null,(Dn==null?void 0:Dn.is_my)==1&&An.createElement(ut.Z,{title:"\u67E5\u770B\u539F\u9898"},An.createElement("i",{className:`${nt.yuanti} iconfont icon-chakanyuanti mr8 ml8`,onClick:()=>{(Dn==null?void 0:Dn.question_type)==6?window.open(`/problems/newedit/${Dn==null?void 0:Dn.item_bank_hack_identifier}`):(Dn==null?void 0:Dn.question_type)==8?window.open(`/problemset/edit/${Dn==null?void 0:Dn.item_bank_hack_identifier}?type=1`):window.open(`/problemset/edit/${Dn==null?void 0:Dn.item_bank_id}`)}})),An.createElement(ut.Z,{title:"\u52A0\u5165\u6211\u7684\u9898\u5E93"},An.createElement("i",{className:`${nt.tianjia} iconfont icon-jiarushitiku mr8 ml8`,onClick:()=>{ao.current=[],Ke.default.confirm({centered:!0,width:500,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u52A0\u5165\u6211\u7684\u9898\u5E93",maskClosable:!0,className:"custom-modal-divider",icon:null,content:An.createElement("div",{className:`font14 ${nt.overflow}`,style:{maxHeight:500,overflow:"auto"}},An.createElement("p",{className:"c-grey-333"},"\u8BF7\u9009\u62E9\u52A0\u5165\u7684\u6587\u4EF6\u5939"),An.createElement(ln.Z,{spinning:!1},An.createElement($l.Z,{defaultValue:!0,value:ao.current,onChange:Kn=>ao.current=Kn}))),onOk:()=>Fo(void 0,null,function*(){var Kn;(0,Hi.$l)({id:Dn==null?void 0:Dn.question_id,group_id:((Kn=ao==null?void 0:ao.current)==null?void 0:Kn[0])||""}).then(Ja=>{(Ja==null?void 0:Ja.status)==0&&(Ae.ZP.success("\u52A0\u5165\u6210\u529F"),Eo())})})})}}))),!Go&&(((Cn=Pa==null?void 0:Pa.exercise)==null?void 0:Cn.exercise_status)==1||((Jt=Pa==null?void 0:Pa.exercise)==null?void 0:Jt.exercise_status)==2&&((Qt=(Ot=ue.userInfo)==null?void 0:Ot.course)==null?void 0:Qt.course_role)!=15||((Zt=Pa==null?void 0:Pa.exercise)==null?void 0:Zt.exercise_status)==3&&((Sn=(va=ue.userInfo)==null?void 0:va.course)==null?void 0:Sn.course_role)!=15||((En=Pa==null?void 0:Pa.exercise)==null?void 0:En.exercise_status)==4&&((Er=(Fr=ue.userInfo)==null?void 0:Fr.course)==null?void 0:Er.course_role)!=15)&&An.createElement(ut.Z,{title:"\u7F16\u8F91\u8BD5\u9898"},An.createElement("i",{onClick:()=>{(Dn==null?void 0:Dn.question_type)===6?he.history.push(`/problems/newedit/${Dn==null?void 0:Dn.hack_identifier}?type=exercises&express_id=${no.exerciseId}&question_id=${Dn==null?void 0:Dn.question_id}&score=${Dn==null?void 0:Dn.question_score}&exercise=true&callback_url=/classrooms/${no.coursesId}/exercise/add/${Pe}?type=2`):gi(!0)},className:`${nt.edit} iconfont icon-bianji_Hover ml8`})))),!Go&&An.createElement("div",null,An.createElement("div",{className:nt.qcount},An.createElement("span",{className:nt.score},Dn==null?void 0:Dn.question_score,"\u5206"),An.createElement(Mt.Z,{className:nt.qtitle,value:(Dn==null?void 0:Dn.index)+`\u3001${(Dn==null?void 0:Dn.question_type)==8?($a=Dn==null?void 0:Dn.program_attr)==null?void 0:$a.description:Dn==null?void 0:Dn.question_title}`}),(Dn==null?void 0:Dn.high_resources_consume)&&An.createElement(ur.Z,{type:"shixun",style:{marginLeft:10}})),(Dn==null?void 0:Dn.question_type)===6&&An.createElement(sn.Z,{onEdit:()=>kr(1),className:"mt10",dataSource:(Dn==null?void 0:Dn.languages)||[]}),An.createElement(ms,{exercise:ft,TagDiscipline:il,qitem:Dn})),Go&&An.createElement("div",null,(Dn==null?void 0:Dn.question_type)<=1&&An.createElement(at,{deleteitem:au,getTagData:Mi,seveeditor:Wl,exerciseitem:Pa,TagDiscipline:il,setisedit:gi,qitem:Dn,init:Eo,showTip:po}),(Dn==null?void 0:Dn.question_type)===5&&An.createElement(Ku,{setqitem:ui,deleteitem:au,seveeditor:Wl,exerciseitem:Pa,TagDiscipline:il,setisedit:gi,qitem:Dn,showTip:po}),(Dn==null?void 0:Dn.question_type)===3&&An.createElement(jn,{deleteitem:au,getTagData:Mi,seveeditor:Wl,exerciseitem:Pa,TagDiscipline:il,setisedit:gi,qitem:Dn,init:Eo,showTip:po}),(Dn==null?void 0:Dn.question_type)===2&&An.createElement(qr,{deleteitem:au,getTagData:Mi,seveeditor:Wl,exerciseitem:Pa,TagDiscipline:il,setisedit:gi,qitem:Dn,init:Eo,showTip:po}),(Dn==null?void 0:Dn.question_type)===4&&An.createElement(wt,{deleteitem:au,getTagData:Mi,seveeditor:Wl,exerciseitem:Pa,TagDiscipline:il,setisedit:gi,qitem:Dn,init:Eo,showTip:po}),(Dn==null?void 0:Dn.question_type)===7&&An.createElement(ls,{deleteitem:au,getTagData:Mi,seveeditor:Wl,exerciseitem:Pa,TagDiscipline:il,setisedit:gi,qitem:Dn,init:Eo,showTip:po}),(Dn==null?void 0:Dn.question_type)===8&&An.createElement(ei,{deleteitem:au,getTagData:Mi,seveeditor:Wl,exerciseitem:Pa,TagDiscipline:il,setisedit:gi,qitem:Dn,init:Eo,showTip:po}))))))),An.createElement("div",{className:nt.bottomdiv},An.createElement("div",{className:nt.exercise_styles},((Do=Pa==null?void 0:Pa.exercise)==null?void 0:Do.exercise_status)==1&&An.createElement(An.Fragment,null,An.createElement("span",{className:nt.spanBtn,onClick:()=>{if(Go){jl();return}Yi(!0),Zl(!1)}},"\u9898\u5E93\u9009\u9898"),An.createElement(Ce.Z,{menu:{items:ts}},An.createElement("span",{className:nt.spanBtn},"\u5BFC\u5165\u8BD5\u9898")),An.createElement("span",{className:nt.spanBtn,onClick:()=>Fo(void 0,null,function*(){var Kn;let Ja=yield(0,te.ZP)(`/api/exercises/${no==null?void 0:no.exerciseId}/simulate_start_answer.json`,{method:"get",params:{coursesId:no==null?void 0:no.coursesId,categoryId:no==null?void 0:no.exerciseId}});(Ja==null?void 0:Ja.status)!=-1&&window.open(`/classrooms/${no==null?void 0:no.coursesId}/exercise/${no==null?void 0:no.exerciseId}/${(Kn=ue.userInfo)==null?void 0:Kn.login}/initate_answer`)})},"\u6A21\u62DF\u8003\u8BD5"),An.createElement("span",{className:nt.spanBtn,onClick:()=>{window.open(`/classrooms/${no==null?void 0:no.coursesId}/exercise/${no==null?void 0:no.exerciseId}/detail?random=false&tabs=2`)}},"\u8BD5\u5377\u9884\u89C8"),Ci==null?void 0:Ci.map(Kn=>An.createElement(_e.ZP,{className:nt.addQuestionBtn,key:Kn.id,type:"primary",onClick:()=>{Gu(Kn.id)}},Kn.name))),((na=Pa==null?void 0:Pa.exercise)==null?void 0:na.exercise_status)!=1&&An.createElement(An.Fragment,null,An.createElement("span",{style:{width:"1022px"}})),An.createElement("span",{className:nt.saveBtn,onClick:()=>{var Kn,Ja,Ir;if(Go){jl();return}let ro=(Ja=(Kn=Pa==null?void 0:Pa.exercise_question_types)==null?void 0:Kn.filter(xr=>xr.question_type===5)[0])==null?void 0:Ja.items,Xr=0;ro==null||ro.map(xr=>{xr.high_resources_consume&&(Xr=Xr+1)}),console.log(Xr),Xr>0?Ee({type:"classroomList/setActionTabs",payload:{key:"\u6388\u6743\u63D0\u793A",count:Xr,fn:()=>{var xr;((xr=Pa==null?void 0:Pa.exercise)==null?void 0:xr.exercise_status)==1?(Ae.ZP.success("\u4FDD\u5B58\u6210\u529F"),he.history.push(`/classrooms/${no==null?void 0:no.coursesId}/exercise/${Pe}/detail?random=false&tabs=3`),Gl(!1)):he.history.back()}}}):((Ir=Pa==null?void 0:Pa.exercise)==null?void 0:Ir.exercise_status)==1?(Ae.ZP.success("\u4FDD\u5B58\u6210\u529F"),he.history.push(`/classrooms/${no==null?void 0:no.coursesId}/exercise/${Pe}/detail?random=false&tabs=3`),Gl(!1)):he.history.back()}},An.createElement("i",{className:"iconfont icon-baocun1",style:{fontSize:15,marginRight:5}}),"\u4FDD\u5B58\u8BD5\u5377"))),An.createElement(dn,{setScoreShow:Wo,ScoreShow:ni,exerciseitem:Pa,getdata:Eo}),Qi&&An.createElement(Xo,{setScoreShow:Yi,isshixuns:Ai,isloadings:nu,ScoreShow:Qi,onOk:(Kn,Ja,Ir,ro,Xr)=>Fo(void 0,null,function*(){Fu(!0);let co=yield Zu({exam_id:Pe,item_bank_ids:Kn,shixun_ids:Ja,shixun_copy_ids:Xr});Fu(!1),(co==null?void 0:co.status)===0&&Ke.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:()=>{Eo()},onCancel:()=>{Yi(!1),Eo()}})})}),An.createElement(Ju.Z,{sub_discipline_id:(Or=Pa==null?void 0:Pa.exercise)!=null&&Or.sub_discipline_id?[(za=Pa==null?void 0:Pa.exercise)==null?void 0:za.discipline_id,(Wr=Pa==null?void 0:Pa.exercise)==null?void 0:Wr.sub_discipline_id]:[],visible:Nr,onCancel:()=>Ro(!1),onOk:vs}),An.createElement(Ke.default,{title:"\u63D0\u793A",open:pi,confirmLoading:!1,centered:!0,okText:"\u8BBE\u7F6E\u89C4\u5219",cancelText:"\u4FEE\u6539\u8BD5\u5377",footer:An.createElement("div",null,An.createElement(_e.ZP,{onClick:()=>{Gl(!1),he.history.back()}},"\u7A0D\u540E\u518D\u8BF4"),An.createElement(_e.ZP,{type:"primary",onClick:()=>{he.history.push(`/classrooms/${no==null?void 0:no.coursesId}/exercise/${Pe}/detail?random=false&tabs=3`),Gl(!1)}},"\u8BBE\u7F6E\u89C4\u5219")),onCancel:()=>{Gl(!1)}},An.createElement("p",null,"\u8BD5\u5377\u521B\u5EFA\u5B8C\u6210\uFF01\u76EE\u524D\u5904\u4E8E\u672A\u53D1\u5E03\u72B6\u6001\uFF0C\u662F\u5426\u8BBE\u7F6E\u8003\u8BD5\u89C4\u5219\uFF1F")),An.createElement(Ke.default,{centered:!0,title:"\u7F16\u8F91\u9898\u578B\u540D\u79F0",open:mu,width:500,onOk:()=>Vl.submit(),onCancel:()=>en(!1)},An.createElement(De.default,{form:Vl,initialValues:{},onFinish:Kn=>Fo(void 0,null,function*(){(yield(0,Hi.RK)(zo({id:Pe},Kn))).status==0&&(Ae.ZP.success("\u4FEE\u6539\u6210\u529F"),Eo(),en(!1))})},An.createElement(De.default.Item,{name:"name",style:{marginBottom:0},rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u9898\u578B\u540D\u79F0"},{whitespace:!0,message:"\u8BF7\u52FF\u8F93\u5165\u7A7A\u683C"},{validator(Kn,Ja){var Ir,ro,Xr,xr;const co=(Ir=Ci==null?void 0:Ci.find(No=>No.nameType==Vl.getFieldValue("item_type_en")))==null?void 0:Ir.id;return(xr=(Xr=(ro=Pa==null?void 0:Pa.exercise_question_types)==null?void 0:ro.filter(No=>No.question_type!=co))==null?void 0:Xr.map(No=>No==null?void 0:No.name))!=null&&xr.includes(Ja)?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()}}]},An.createElement(ze.default,{size:"large",maxLength:10,showCount:!0})),An.createElement(De.default.Item,{hidden:!0,name:"item_type_en"},An.createElement(ze.default,{size:"large"})))),An.createElement(Xt.Z,{placement:"bottom",height:"100%",closable:!1,className:"body-overflow-hidden",destroyOnClose:!0,open:Qn},An.createElement("div",{style:{margin:"8px auto 24px auto",width:1200,fontWeight:600},className:"c-black font18"},"\u667A\u80FD\u5BFC\u5165"),An.createElement(uu.Z,{stickyTop:-24,subDisciplineId:(So=Pa==null?void 0:Pa.exercise)!=null&&So.sub_discipline_id?[(wo=Pa==null?void 0:Pa.exercise)==null?void 0:wo.discipline_id,(Vo=Pa==null?void 0:Pa.exercise)==null?void 0:Vo.sub_discipline_id]:[],onCancel:()=>Ar(!1),mode:3,gather:{exercise_id:Pe},onSuccess:()=>{Ar(!1),Eo()}}),An.createElement("div",{style:{height:70}})),An.createElement(sn.Q,{visible:!!cr,setVisible:kr,tip:cr===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:cr===1?Dn==null?void 0:Dn.languages:[],onOk:Kn=>Fo(void 0,null,function*(){const Ja={languages:Kn};cr===1?Ja.hack_id=Dn==null?void 0:Dn.hack_id:Ja.exercise_id=Pe,(yield(0,te.ZP)("/api/problems/update_languages.json",{method:"post",body:Ja})).status===0&&(Ae.ZP.success("\u4FEE\u6539\u6210\u529F"),ll({id:Oi.current}),kr(!1))})}))};var vi=(0,he.connect)(({user:ue,exercise:Ee,dispatch:Pe})=>({user:ue,exercise:Ee,dispatch:Pe}))(xl),Zi=oe(50337),Hl=oe(53311),jo=oe(95024),Xi=oe(87169),Dl=oe(52154),ta=oe(59301),kl=Object.defineProperty,fl=Object.defineProperties,vl=Object.getOwnPropertyDescriptors,_l=Object.getOwnPropertySymbols,wl=Object.prototype.hasOwnProperty,tu=Object.prototype.propertyIsEnumerable,zl=(ue,Ee,Pe)=>Ee in ue?kl(ue,Ee,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ue[Ee]=Pe,mr=(ue,Ee)=>{for(var Pe in Ee||(Ee={}))wl.call(Ee,Pe)&&zl(ue,Pe,Ee[Pe]);if(_l)for(var Pe of _l(Ee))tu.call(Ee,Pe)&&zl(ue,Pe,Ee[Pe]);return ue},Na=(ue,Ee)=>fl(ue,vl(Ee)),Jr=(ue,Ee)=>{var Pe={};for(var it in ue)wl.call(ue,it)&&Ee.indexOf(it)<0&&(Pe[it]=ue[it]);if(ue!=null&&_l)for(var it of _l(ue))Ee.indexOf(it)<0&&tu.call(ue,it)&&(Pe[it]=ue[it]);return Pe},Zo=(ue,Ee,Pe)=>new Promise((it,ft)=>{var Rn=vt=>{try{Yt(Pe.next(vt))}catch(qt){ft(qt)}},vn=vt=>{try{Yt(Pe.throw(vt))}catch(qt){ft(qt)}},Yt=vt=>vt.done?it(vt.value):Promise.resolve(vt.value).then(Rn,vn);Yt((Pe=Pe.apply(ue,Ee)).next())});const pl=ue=>{var Ee=ue,{classroomList:Pe,globalSetting:it,problemset:ft,loading:Rn,exercise:vn,user:Yt,dispatch:vt}=Ee,qt=Jr(Ee,["classroomList","globalSetting","problemset","loading","exercise","user","dispatch"]),Bn,qe,Ct,cn,Cn,Jt,Ot,Qt,Zt,va,Sn,En,Fr,Er;const $a=(0,he.useParams)(),[Do,na]=(0,b.useState)(!1),{userInfo:Or}=Yt,[za]=De.default.useForm();let[Wr,So]=(0,b.useState)({});const[wo,Vo]=(0,b.useState)(1),[Pa,yr]=(0,b.useState)(""),[Pi]=(0,he.useSearchParams)(),[Co,Dn]=(0,b.useState)(!1),[ui,Ii]=(0,b.useState)(!1),[ci,Bi]=(0,b.useState)(!1),[Oi,ti]=(0,b.useState)(""),[ol,Ui]=(0,b.useState)(!1),[qi,Go]=(0,b.useState)(!1);(0,b.useEffect)(()=>{vt({type:"problemset/getEditDisciplines",payload:{source:"new_question",identifier:$a==null?void 0:$a.coursesId}}),vt({type:"globalSetting/footerToggle",payload:!1}),za.setFieldsValue({difficulty:2,courseid:[]})},[]),(0,b.useEffect)(()=>{$a.exerciseId&&Zo(void 0,null,function*(){var Nr,Ro,ni;const Wo=yield vt({type:"exercise/editExercise",payload:{categoryId:$a.exerciseId}});(Wo==null?void 0:Wo.status)!==-1&&(((Nr=Wo==null?void 0:Wo.exercise)==null?void 0:Nr.exercise_status)===2||((Ro=Wo==null?void 0:Wo.exercise)==null?void 0:Ro.exercise_status)===3||((ni=Wo==null?void 0:Wo.exercise)==null?void 0:ni.exercise_status)===4?Bi(!0):Bi(!1))})},[$a]),(0,b.useEffect)(()=>{if($a.exerciseId){let Nr=vn.editData.exercise;Go(Nr==null?void 0:Nr.set_question_sub_discipline),za.setFieldsValue(Na(mr({},Nr),{courseid:Nr!=null&&Nr.sub_discipline_id?[Nr==null?void 0:Nr.discipline_id,Nr==null?void 0:Nr.sub_discipline_id]:[]}))}},[vn]),(0,b.useEffect)(()=>{Pi.get("type")==="2"&&(yr($a.exerciseId),Vo(2))},[Pi.get("type")]),(0,b.useEffect)(()=>{var Nr;let Ro=(Nr=ft==null?void 0:ft.disciplinesData)==null?void 0:Nr.checked;Ro!=null&&Ro.sub_discipline_id&&za.setFieldsValue({courseid:[Ro==null?void 0:Ro.discipline_id,Ro==null?void 0:Ro.sub_discipline_id]})},[(Bn=ft==null?void 0:ft.disciplinesData)==null?void 0:Bn.checked]);function gi(Nr,Ro){return Zo(this,null,function*(){var ni,Wo,Qi,Yi;yield za.validateFields();const Ai=za.getFieldsValue(),{courseid:Zl}=Ai,[Ll,Pl]=Zl;Ai.sub_discipline_id=Pl,Ai.is_md=!0,Ai.time=parseInt(Ai.time)>9999?9999:Ai.time;const pi=yield vt({type:"exercise/addExercise",payload:mr(mr({},Ai),$a)});pi.status===0?(yield(0,te.ZP)(`/api/courses/${$a==null?void 0:$a.coursesId}/exercises/notice_at.json`,{method:"POST",body:{course_id:$a==null?void 0:$a.coursesId,id:(ni=pi==null?void 0:pi.data)==null?void 0:ni.exercise_id,time:Nr}}),Tl((Wo=pi.data)==null?void 0:Wo.exercise_id),yr((Qi=pi==null?void 0:pi.data)==null?void 0:Qi.exercise_id),Vo(2),Dn(!1),he.history.replace(`/classrooms/${$a.coursesId}/exercise/add/${(Yi=pi.data)==null?void 0:Yi.exercise_id}?type=2`)):Ae.ZP.error(pi.message),Ro()})}function il(Nr){So(mr({},Nr))}function Tl(Nr){return Zo(this,null,function*(){if(!(Wr!=null&&Wr.ec_point_ids))return;const Ro=mr({},Wr);delete Ro.id;let ni=yield(0,te.ZP)(`/api/ec_courses/${Wr==null?void 0:Wr.ec_course_id}/ec_points/set_work_points.json`,{method:"post",body:mr({exercise_id:Nr},Ro)})})}return ta.createElement("div",{style:{background:"#ffffff",marginTop:-8,padding:8,minHeight:"100vh",paddingBottom:64}},ta.createElement("section",{className:"edu-container"},ta.createElement("section",{className:"animated fadeIn"},ta.createElement("aside",{className:"mt10"},Or&&ta.createElement(ke.Z,{separator:">"},ta.createElement(ke.Z.Item,null,ta.createElement(he.Link,{to:`/classrooms/${$a.coursesId}/exercise`},(qe=Or==null?void 0:Or.course)==null?void 0:qe.course_name)),ta.createElement(ke.Z.Item,null,ta.createElement(he.Link,{to:`/classrooms/${$a.coursesId}/exercise`},"\u8BD5\u5377\u5217\u8868")),ta.createElement(ke.Z.Item,null,$a.exerciseId?"\u7F16\u8F91\u8BD5\u5377":"\u65B0\u5EFA\u8BD5\u5377")))),$a.exerciseId&&ta.createElement("div",{style:{display:"inline-flex",background:"rgba(233, 146, 55, 0.05)",borderRadius:4,height:40,lineHeight:"40px",width:"100%",padding:"0px 10px",alignItems:"center",marginTop:20}},ta.createElement(Xi.Z,{style:{marginRight:5,color:"#E99237"}}),ta.createElement("span",{style:{flex:1,color:"#E99237"}},"\u53D1\u5E03\u540E\u7684\u8BD5\u5377\u4E0D\u5141\u8BB8\u8FDB\u884C\u589E\u52A0/\u5220\u9664\u8BD5\u9898\u548C\u4FEE\u6539\u5206\u503C\u7B49\u64CD\u4F5C\uFF0C\u82E5\u9700\u8981\u4E8C\u6B21\u4F7F\u7528\uFF0C\u53EF\u5C06\u8BD5\u5377\u52A0\u5165\u8BD5\u5377\u5E93\u4E2D\u8FDB\u884C\u7F16\u8F91"),ta.createElement("span",{className:He.addQuestionBtn,onClick:()=>{vt({type:"exercise/setActionTabs",payload:{key:"\u5355\u4E2A\u52A0\u5165\u8BD5\u5377\u5E93",selectArrs:[$a.exerciseId]}})}},"\u52A0\u5165\u8BD5\u5377\u5E93")),ta.createElement(jo.Z,{haveInit:!0,init:()=>{ti(new Date)}}),ta.createElement("div",{className:"bg-white"},ta.createElement("div",{style:{display:"flex",justifyContent:"center",paddingTop:20,alignItems:"center"}},ta.createElement("div",{onClick:()=>{if(ui){Ae.ZP.info("\u8BF7\u5148\u4FDD\u5B58\u6216\u53D6\u6D88\u5F53\u524D\u6B63\u5728\u7F16\u8F91\u8BD5\u9898\u3002");return}Vo(1)},className:wo===1?He.selectdiv:He.divitem},ta.createElement(Zi.Z,{number:1,active:wo===1,className:"mr10"}),ta.createElement("span",null,"\u8BD5\u5377\u57FA\u7840\u4FE1\u606F")),ta.createElement("div",{style:{width:188,border:"1px dotted #9096A3",margin:"0px 30px",height:1}}),ta.createElement("div",{onClick:()=>{if(!$a.exerciseId&&!Pa){Ae.ZP.info("\u8BF7\u5148\u4FDD\u5B58\u57FA\u7840\u4FE1\u606F\u518D\u65B0\u5EFA\u8BD5\u9898");return}Vo(2),!Pa&&yr($a.exerciseId)},className:wo!==1?He.selectdiv:He.divitem},ta.createElement(Zi.Z,{number:2,active:wo!==1,className:"mr10"}),ta.createElement("span",null,"\u7F16\u8F91\u8BD5\u9898"))),wo===2&&ta.createElement("div",{className:"tc"},ta.createElement(Hl.Z,{defaultValue:(cn=(Ct=vn==null?void 0:vn.editData)==null?void 0:Ct.exercise)==null?void 0:cn.exercise_name,onFinish:Nr=>Zo(void 0,null,function*(){var Ro,ni,Wo,Qi,Yi,Ai,Zl,Ll,Pl,pi,Gl,no;return Nr.trim()===((ni=(Ro=vn==null?void 0:vn.editData)==null?void 0:Ro.exercise)==null?void 0:ni.exercise_name)?!0:(yield(0,Hi.wy)({exercise_name:Nr,exercise_description:(Qi=(Wo=vn==null?void 0:vn.editData)==null?void 0:Wo.exercise)==null?void 0:Qi.exercise_description,sub_discipline_id:(Ai=(Yi=vn==null?void 0:vn.editData)==null?void 0:Yi.exercise)==null?void 0:Ai.sub_discipline_id,time:(Ll=(Zl=vn==null?void 0:vn.editData)==null?void 0:Zl.exercise)==null?void 0:Ll.time,exerciseId:(pi=(Pl=vn.editData)==null?void 0:Pl.exercise)==null?void 0:pi.id,difficulty:(no=(Gl=vn.editData)==null?void 0:Gl.exercise)==null?void 0:no.difficulty})).status===0?(za.setFieldValue("exercise_name",Nr),!0):!1})}),ta.createElement("div",{style:{fontSize:14}},ta.createElement("span",{style:{color:"#5F6368"}},"\u7B54\u9898\u65F6\u957F",ta.createElement("span",{style:{color:"#000000",marginLeft:8}},((Jt=(Cn=vn==null?void 0:vn.editData)==null?void 0:Cn.exercise)==null?void 0:Jt.time)||"\u4E0D\u9650")),ta.createElement("span",{style:{margin:"0px 30px",color:"#5F6368"}},"\u96BE\u5EA6",ta.createElement("span",{style:{color:"#000000",marginLeft:8}},((Qt=(Ot=vn==null?void 0:vn.editData)==null?void 0:Ot.exercise)==null?void 0:Qt.difficulty)===1?"\u7B80\u5355":((va=(Zt=vn==null?void 0:vn.editData)==null?void 0:Zt.exercise)==null?void 0:va.difficulty)===2?"\u9002\u4E2D":"\u56F0\u96BE")),ta.createElement("span",{style:{marginRight:30,color:"#5F6368"}},"\u8BD5\u9898\u603B\u6570",ta.createElement("span",{style:{color:"#000000",marginLeft:8}},((En=(Sn=vn==null?void 0:vn.editData)==null?void 0:Sn.exercise_types)==null?void 0:En.q_counts)||0)),ta.createElement("span",{style:{color:"#5F6368"}},"\u603B\u5206",ta.createElement("span",{style:{color:"#000000",marginLeft:8}},(Er=(Fr=vn==null?void 0:vn.editData)==null?void 0:Fr.exercise_types)==null?void 0:Er.q_scores))))),wo===1&&ta.createElement("div",null,ta.createElement("section",{className:[He.bg,"mt20"].join(" "),style:{padding:"30px 120px 300px 120px"}},ta.createElement(De.default,{form:za,colon:!1,layout:"horizontal",labelCol:{span:4},wrapperCol:{span:20},initialValues:{time:60},onFinish:Nr=>Zo(void 0,null,function*(){var Ro,ni,Wo,Qi,Yi;if(na(!0),Dn(!0),$a.exerciseId){Nr.exerciseId=(ni=(Ro=vn.editData)==null?void 0:Ro.exercise)==null?void 0:ni.id,Nr.sub_discipline_id=Nr.courseid[Nr.courseid.length-1],yield(0,Hi.wy)(Na(mr({},Nr),{set_question_sub_discipline:qi})),Vo(2),Tl($a==null?void 0:$a.exerciseId),yr($a.exerciseId),na(!1),Dn(!1);return}const Ai=yield(0,te.ZP)(`/api/courses/${$a==null?void 0:$a.coursesId}/exercises/overload_alert.json`,{method:"get",params:{course_id:$a==null?void 0:$a.coursesId}});if(Ai!=null&&Ai.alert)vt({type:"classroomList/setActionTabs",payload:{key:"\u9884\u7EA6\u5F39\u7A97"}});else{const{courseid:Zl}=Nr,[Ll,Pl]=Zl;Nr.sub_discipline_id=Pl,Nr.is_md=!0,Nr.time=parseInt(Nr.time)>9999?9999:Nr.time,Nr.set_question_sub_discipline=qi;const pi=yield vt({type:"exercise/addExercise",payload:Na(mr(mr({},Nr),$a),{category_id:Pi.get("catalogue")||null})});pi.status===0&&(Tl((Wo=pi.data)==null?void 0:Wo.exercise_id),he.history.replace(`/classrooms/${$a.coursesId}/exercise/add/${(Qi=pi.data)==null?void 0:Qi.exercise_id}?type=2`),yr((Yi=pi==null?void 0:pi.data)==null?void 0:Yi.exercise_id),Vo(2)),Dn(!1)}na(!1)}),className:He.formWrap},ta.createElement(De.default.Item,{name:"exercise_name",label:"\u8BD5\u5377\u540D\u79F0",className:He.baseLineHeight,rules:[{required:!0,validator:(Nr,Ro)=>{var ni;return((ni=Ro==null?void 0:Ro.replaceAll(" ",""))==null?void 0:ni.length)>0?Promise.resolve():Promise.reject("\u8BF7\u8F93\u5165\u8BD5\u5377\u540D\u79F0")}}]},ta.createElement(ze.default,{maxLength:60,className:He.baseFormItem,placeholder:"\u8BF7\u8F93\u5165\u8BD5\u5377\u540D\u79F0",showCount:!0})),ta.createElement(De.default.Item,{label:"\u65B9\u5411&\u8BFE\u7A0B",name:"courseid",className:He.baseLineHeight},ta.createElement(xe.Z,{disabled:ci,placeholder:"\u8BF7\u9009\u62E9\u65B9\u5411&\u8BFE\u7A0B",options:ft.courseOptions,className:He.baseFormItem,size:"large",popupClassName:He.cascaderPopup,dropdownMenuColumnStyle:{padding:"8px 12px",fontSize:14},allowClear:!0})),ta.createElement("div",{className:He.concat},ta.createElement("div",null,ta.createElement(tt.default,{checked:qi,onChange:Nr=>{Go(Nr.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")),ta.createElement("div",null,"\u6CA1\u6709\u5408\u9002\u7684\u65B9\u5411&\u8BFE\u7A0B\uFF1F",ta.createElement("a",{onClick:()=>Ui(!0)},"\u8054\u7CFB\u6559\u7814\u52A9\u7406"))),ta.createElement(De.default.Item,{label:"\u96BE\u5EA6",name:"difficulty",className:He.radioBtnWrapper,rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u96BE\u5EA6"}]},ta.createElement(Me.ZP.Group,{className:He.radiogroup,disabled:ci},ta.createElement(Me.ZP.Button,{className:He.easy,value:1},"\u7B80\u5355"),ta.createElement(Me.ZP.Button,{className:He.medium,value:2},"\u9002\u4E2D"),ta.createElement(Me.ZP.Button,{className:He.hard,value:3},"\u56F0\u96BE"))),ta.createElement(De.default.Item,{label:"\u7B54\u9898\u65F6\u957F",className:He.baseLineHeight},ta.createElement("div",{style:{display:"flex",width:"100%"}},ta.createElement(De.default.Item,{name:"time",noStyle:!0},ta.createElement(Le.Z,{disabled:ci,min:1,max:9999,className:He.baseFormItem,style:{width:220},maxLength:60,placeholder:"\u8BF7\u586B\u5199\u7B54\u9898\u65F6\u957F"})),ta.createElement("span",{style:{marginLeft:"10px",width:"40px",lineHeight:"46px",fontSize:14}},"\u5206\u949F"))),ta.createElement(De.default.Item,{label:"\u8BD5\u5377\u987B\u77E5",name:"exercise_description"},ta.createElement(ze.default.TextArea,{disabled:ci,rows:6,maxLength:65535,placeholder:"\u8BF7\u8F93\u5165\u8BD5\u5377\u987B\u77E5"}))),ta.createElement(xn,{exercise_id:$a==null?void 0:$a.exerciseId,setitem:il})),ta.createElement("div",{className:He.bottmodiv},ta.createElement(_e.ZP,{className:`${He.cancelBtn}`,type:"primary",onClick:()=>{he.history.back()}},"\u53D6\u6D88"),ta.createElement(_e.ZP,{loading:Co,onClick:()=>{za.validateFields(),za.submit()},type:"primary",className:`${He.confirmBtn} ml20`},"\u4E0B\u4E00\u6B65")),ta.createElement(z,{setsubloading:Dn,onModalOk:gi})),wo===2&&ta.createElement("div",null,ta.createElement(vi,{key:Oi,setisedits:Ii,setitemid:yr,itemid:Pa}))),ta.createElement(Dl.Z,{open:ol,onCancel:()=>{Ui(!1)}}))};var gu=(0,he.connect)(({classroomList:ue,loading:Ee,user:Pe,problemset:it,globalSetting:ft,exercise:Rn})=>({classroomList:ue,globalSetting:ft,problemset:it,user:Pe,exercise:Rn,loading:Ee.effects}))(pl)},68956:function(yt,kt,oe){"use strict";oe.d(kt,{Z:function(){return Je}});var b=oe(78241),he=oe(8591),De=oe(43418),Ae=oe(71418),ke=oe(6848),ze=oe(57809),xe=oe(5112),tt=oe(92832),Me=oe(1710),Le=oe(59301),_e=oe(25690),He=oe(38986),Ke=oe(51257),le={radio_con:"radio_con___cvwXd",result_con:"result_con___m5Gmr",result_title:"result_title___D7L1n"},E=oe(48790),a=oe(39793),x=oe(91842),y=oe(59301),z=Object.defineProperty,te=Object.defineProperties,ae=Object.getOwnPropertyDescriptors,se=Object.getOwnPropertySymbols,ie=Object.prototype.hasOwnProperty,Se=Object.prototype.propertyIsEnumerable,Fe=(Qe,et,we)=>et in Qe?z(Qe,et,{enumerable:!0,configurable:!0,writable:!0,value:we}):Qe[et]=we,We=(Qe,et)=>{for(var we in et||(et={}))ie.call(et,we)&&Fe(Qe,we,et[we]);if(se)for(var we of se(et))Se.call(et,we)&&Fe(Qe,we,et[we]);return Qe},Ne=(Qe,et)=>te(Qe,ae(et)),mt=(Qe,et,we)=>new Promise((ht,ct)=>{var Lt=nn=>{try{Pn(we.next(nn))}catch(Wt){ct(Wt)}},gt=nn=>{try{Pn(we.throw(nn))}catch(Wt){ct(Wt)}},Pn=nn=>nn.done?ht(nn.value):Promise.resolve(nn.value).then(Lt,gt);Pn((we=we.apply(Qe,et)).next())});const Re=({shixunHomeworks:Qe,exercise:et,loading:we,dispatch:ht})=>{var ct,Lt,gt;const{commonHeader:Pn}=et,[nn,Wt]=(0,Le.useState)([]),[_t,Te]=(0,Le.useState)(Ne(We({},(0,_e.useParams)()),{page:1,limit:10})),[ot,Ut]=(0,Le.useState)([]),[xn,At]=(0,Le.useState)(""),[ln,Ce]=(0,Le.useState)(1),[ut]=b.default.useForm(),[Xt,nt]=(0,Le.useState)({}),[Pt,_n]=(0,Le.useState)(null),[sn,Rt]=(0,Le.useState)(!1),[Mt,Yn]=(0,Le.useState)([]),[aa,tn]=(0,Le.useState)(null),[ba,_a]=(0,Le.useState)(0),[ya,zn]=(0,Le.useState)(0),[xa,dr]=(0,Le.useState)(!1),Ya=[{title:"\u5E8F\u53F7",dataIndex:"1",width:80,render:(Ft,Gt,Da)=>(_t.page-1)*_t.limit+Da+1},{title:"\u59D3\u540D",dataIndex:"user_name",ellipsis:!0,width:180},{title:"\u5B66\u53F7",dataIndex:"student_id",align:"left",sorter:!0,render:Ft=>Ft||"--"},{title:"\u5206\u73ED",dataIndex:"user_group_name",align:"left",render:(Ft,Gt)=>y.createElement("div",{className:le.banding,title:Ft||"--"},Ft||"--")},{title:"\u63D0\u4EA4\u72B6\u6001",width:200,dataIndex:"commit_status",render:(Ft,Gt)=>Ft===0?y.createElement("span",{style:{color:"#666666"}},"\u672A\u5F00\u59CB"):Ft===1?y.createElement("span",{style:{color:"#DF3042"}},!Gt.is_make_up&&"\u8003\u8BD5\u4E2D",Gt.is_make_up&&"\u8003\u8BD5\u4E2D (\u8865\u8003)"):Ft===2?y.createElement("span",{style:{color:"#5AB891"}},!Gt.is_make_up&&!Gt.is_force_commit&&"\u5DF2\u4EA4\u5377",Gt.is_make_up&&!Gt.is_force_commit&&"\u5DF2\u4EA4\u5377 (\u8865\u8003)",Gt.is_make_up&&Gt.is_force_commit&&"\u5DF2\u4EA4\u5377 (\u8865\u8003/\u5F3A\u5236)",!Gt.is_make_up&&Gt.is_force_commit&&"\u5DF2\u4EA4\u5377 (\u5F3A\u5236)"):y.createElement("span",{style:{color:"#5AB891"}},!Gt.is_make_up&&!Gt.is_force_commit&&"\u5DF2\u4EA4\u5377/\u672A\u7B54",Gt.is_make_up&&!Gt.is_force_commit&&"\u5DF2\u4EA4\u5377/\u672A\u7B54 (\u8865\u8003)",Gt.is_make_up&&Gt.is_force_commit&&"\u5DF2\u4EA4\u5377/\u672A\u7B54 (\u8865\u8003/\u5F3A\u5236)",!Gt.is_make_up&&Gt.is_force_commit&&"\u5DF2\u4EA4\u5377/\u672A\u7B54 (\u5F3A\u5236)")},{title:(Pn==null?void 0:Pn.exercise_type)==2&&!(0,E.dE)()?"\u6700\u9AD8\u6210\u7EE9":"\u6700\u7EC8\u6210\u7EE9",dataIndex:"score",sorter:!0,render:(Ft,Gt)=>Gt.commit_status===0||Gt.commit_status===1?"--":!Gt.open_total_score&&(0,E.dE)()?"\u8001\u5E08\u5BA1\u6838\u4E2D":(Ft=typeof Ft=="number"?Number(Ft):Ft,console.log(typeof Ft),Ft||(Ft=0),Ft===100?y.createElement("span",{className:"c-green"},Ft):Ft>60?y.createElement("span",{className:"c-orange"},Ft):Ft==ya*.6?y.createElement("span",{className:"c-red"},Ft):y.createElement("span",null,Ft))}].filter(Ft=>!!Ft);(0,Le.useEffect)(()=>{var Ft;((Ft=et.actionTabs)==null?void 0:Ft.key)=="\u6D4B\u8BD5AI\u8BC4\u5206"&&(Yn([]),tn(null),Jn(),ea(_t))},[(ct=et.actionTabs)==null?void 0:ct.key]);const Jn=()=>mt(void 0,null,function*(){var Ft;if(!((Ft=et.actionTabs)!=null&&Ft.showSelectQuestion))return;const Gt=yield(0,He.ZP)(`/api/exercises/${_t==null?void 0:_t.categoryId}/all_subj_questions.json`,{method:"get"});Gt.status==0&&Yn(Gt.data)}),da=(Ft,Gt)=>{_t.page=Ft,_t.limit=Gt,Te(We({},_t)),ea(_t)},ea=Ft=>mt(void 0,null,function*(){dr(!0);const Gt=yield(0,He.ZP)(`/api/exercises/${_t.categoryId||(_t==null?void 0:_t.exerciseId)}/exercise_users.json`,{method:"get",params:Ft});Gt.status==0&&(_a(Gt.data.total_count),Te(Ne(We({},_t),{total:Gt.data.total_count})),Wt(Gt.data.exercise_users),zn(Gt.data.total_score)),dr(!1)}),ia=Ft=>{_t.search=Ft,_t.page=1,ut.resetFields(),nt({}),Ut([]),_n(null),Te(We({},_t)),ea(_t)},Ea=Ft=>mt(void 0,null,function*(){var Gt,Da;const pa=We({},Xt);if(!((Gt=Ft==null?void 0:Ft.content)!=null&&Gt.trim())){he.ZP.warning("\u8BF7\u8F93\u5165\u7B54\u9898\u5185\u5BB9\uFF01");return}pa.content=Ft==null?void 0:Ft.content,pa.attachment_ids=(Da=Ft==null?void 0:Ft.attachment_ids)==null?void 0:Da.map(wa=>wa.response.id),Va(pa)}),Va=Ft=>mt(void 0,null,function*(){var Gt;Rt(!0);const{showSelectQuestion:Da,ai_review_settings:pa}=et.actionTabs,wa=yield(0,He.ZP)(`/api/exercises/${(_t==null?void 0:_t.categoryId)||(_t==null?void 0:_t.exerciseId)}/test_ai_review.json`,{method:"post",body:Ne(We({},Ft),{exercise_question_id:Da?aa:(Gt=et.actionTabs)==null?void 0:Gt.questionId,ai_review_settings:pa})});if([0,-3].includes(wa.status)){wa.status==0&&he.ZP.success("\u8BC4\u5206\u6D4B\u8BD5\u6210\u529F\uFF01"),_n(wa);const ha=document.querySelector(".modal-ai-pfcs");if(ha){const Ga=ha.querySelector(".ant-modal-body");Ga&&(Ga.scrollTop=Ga.scrollHeight)}}Rt(!1)}),yn=()=>{ht({type:"exercise/setActionTabs",payload:{key:""}}),Ce(1),an()},an=()=>{ut.resetFields(),nt({}),Ut([]),At(""),_n(null)};return y.createElement(De.default,{className:"modal-ai-pfcs",width:1150,bodyStyle:{maxHeight:"calc(100vh - 200px)",overflowY:"auto"},centered:!0,title:"\u6D4B\u8BD5AI\u8BC4\u5206",confirmLoading:sn,open:((Lt=et.actionTabs)==null?void 0:Lt.key)==="\u6D4B\u8BD5AI\u8BC4\u5206",destroyOnClose:!0,onCancel:()=>yn(),okText:Pt?"\u91CD\u65B0\u6D4B\u8BD5":"\u5F00\u59CB\u6D4B\u8BD5",onOk:()=>{var Ft;if((Ft=et.actionTabs)!=null&&Ft.showSelectQuestion&&!aa)return he.ZP.warning("\u8BF7\u9009\u62E9\u9898\u76EE\uFF01");if(ln==1){if(ot.length==0)return he.ZP.warning("\u8BF7\u9009\u62E9\u4E00\u4F4D\u5B66\u751F\u8BD5\u5377\u8FDB\u884C\u8BC4\u5206\u6D4B\u8BD5\uFF01");Va({exercise_user_id:ot[0]})}else ln==2&&ut.submit()}},y.createElement(Ae.Z,{spinning:sn,tip:"\u6D4B\u8BD5AI\u8BC4\u5206\u4E2D\u2026\u2026"},((gt=et.actionTabs)==null?void 0:gt.showSelectQuestion)&&y.createElement("div",{className:"flex item-center justify-between mb10"},y.createElement("div",{style:{width:120,margin:"0 10px",display:"flex",alignItems:"center"}},y.createElement("span",{style:{color:"red",marginRight:5}},"*"),"\u9009\u62E9\u9898\u76EE",y.createElement(ke.Z,{title:"\u667A\u80FD\u8BC4\u9605\u76EE\u524D\u4EC5\u652F\u6301\u7B80\u7B54\u9898\uFF08\u542B\u7EC4\u5408\u9898\u4E2D\u7684\u7B80\u7B54\u9898\uFF09"},y.createElement("i",{className:`iconfont icon-tishixiaowenhao ${le.title_icon}`,style:{cursor:"pointer",marginLeft:5,fontSize:"14px"}}))),y.createElement(ze.default,{style:{width:"calc(100% - 110px)"},size:"large",placeholder:"\u8BF7\u9009\u62E9\u9898\u76EE",value:aa,onChange:Ft=>tn(Ft)},Mt==null?void 0:Mt.map(Ft=>y.createElement(ze.default.Option,{key:Ft==null?void 0:Ft.id,value:Ft==null?void 0:Ft.id},Ft==null?void 0:Ft.question_title)))),y.createElement("div",{className:le.radio_con},y.createElement("span",{style:{marginRight:32}},"\u6D4B\u8BD5\u65B9\u5F0F"),y.createElement(xe.ZP.Group,{onChange:Ft=>{Ft.target.value==1&&da(1,10),Ce(Ft.target.value),an()},value:ln,options:[{label:"\u9009\u62E9\u5B66\u751F\u7B54\u6848",value:1,style:{marginRight:30,color:"#000"}},{label:"\u8F93\u5165\u7B54\u9898\u5185\u5BB9",value:2,style:{marginRight:30,color:"#000"}}]})),ln==1&&y.createElement(y.Fragment,null,y.createElement("div",{className:"flex justify-between item-center mb10"},y.createElement("div",{style:{fontSize:"14px",color:"#FA6400"}},"\u63D0\u793A\uFF1A","\u53EA\u80FD\u9009\u62E9\u5DF2\u63D0\u4EA4\u8BD5\u5377\u7684\u5B66\u751F\u8FDB\u884C\u8BC4\u5206\u6D4B\u8BD5"),y.createElement(tt.default.Search,{style:{width:487},size:"large",placeholder:"\u8BF7\u8F93\u5165\u59D3\u540D\u6216\u8005\u5B66\u53F7\u641C\u7D22",value:xn,onChange:Ft=>At(Ft.target.value),onSearch:ia})),y.createElement(Me.default,{rowSelection:{type:"radio",selectedRowKeys:ot,onChange:(Ft,Gt)=>{Ut(Ft)},getCheckboxProps:Ft=>({disabled:[0,1].includes(Ft==null?void 0:Ft.commit_status)})},loading:xa,rowKey:"exercise_user_id",dataSource:nn||[],columns:Ya,pagination:{current:_t.page,hideOnSinglePage:!0,showQuickJumper:!0,showSizeChanger:!0,pageSize:_t.limit,className:"mb0",pageSizeOptions:["10","20","50","100","200"],total:ba,size:"default",showTotal:Ke.rU,onChange:da},onChange:(Ft,Gt,Da)=>{_t.page=1,Da.order===void 0?(_t.order_type=null,_t.order=null):(_t.order_type=Da.order==="descend"?"desc":"asc",_t.order=Da.field),Te(We({},_t)),ea(_t)}})),ln==2&&y.createElement("div",{style:{marginTop:20}},y.createElement(b.default,{form:ut,className:le.formWrap,scrollToFirstError:!0,layout:"vertical",onValuesChange:()=>{nt(We({},ut.getFieldsValue()))},onFinish:Ea},y.createElement(b.default.Item,{name:"content",label:"",style:{marginBottom:0}},y.createElement(a.Z,{watch:!0})))),Pt&&y.createElement("div",{className:le.result_con},y.createElement("div",{className:le.result_title},"AI\u8BC4\u5206\u7ED3\u679C"),(Pt==null?void 0:Pt.status)==0&&y.createElement("div",{className:"p20"},y.createElement("div",{className:"mb5"},y.createElement("span",{style:{color:"#333",fontWeight:"bold"}},"\u8BC4\u5206\uFF1A"),Pt==null?void 0:Pt.score),y.createElement("div",{className:"flex"},y.createElement("span",{style:{color:"#333",fontWeight:"bold",whiteSpace:"nowrap",lineHeight:"26px"}},"\u8BC4\u8BED\uFF1A"),y.createElement(x.Z,{value:Pt==null?void 0:Pt.content,style:{fontSize:"14px"}}))),(Pt==null?void 0:Pt.status)==-3&&y.createElement("div",{className:"p20"},y.createElement(x.Z,{value:Pt==null?void 0:Pt.message,style:{fontSize:"14px"}})))))};var Je=(0,_e.connect)(({shixunHomeworks:Qe,exercise:et,loading:we,user:ht})=>({shixunHomeworks:Qe,exercise:et,loading:we.effects,user:ht}))(Re)},4881:function(yt,kt,oe){"use strict";oe.d(kt,{Z:function(){return E}});var b=oe(59301),he=oe(8591),De=oe(43418),Ae=oe(19842),ke=oe(54580),ze=oe(3113),xe=oe(346),tt=oe(51257),Me=oe(38986),Le=oe(25690),_e={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"},He=oe(59301),Ke=(a,x,y)=>new Promise((z,te)=>{var ae=Se=>{try{ie(y.next(Se))}catch(Fe){te(Fe)}},se=Se=>{try{ie(y.throw(Se))}catch(Fe){te(Fe)}},ie=Se=>Se.done?z(Se.value):Promise.resolve(Se.value).then(ae,se);ie((y=y.apply(a,x)).next())}),E=({visible:a,onOk:x,onCancel:y,sub_discipline_id:z=[]})=>{const[te,ae]=(0,b.useState)([]),[se,ie]=(0,b.useState)(!1),Se=(0,Le.useParams)(),[Fe,We]=(0,b.useState)([]),[Ne,mt]=(0,b.useState)([]);(0,b.useEffect)(()=>{a?Re():(mt([]),ae([]),ie(!1))},[a]);const Re=()=>Ke(void 0,null,function*(){const ct=yield(0,Me.ZP)("/api/disciplines.json",{method:"get",params:{source:"subject"}});We(ct.disciplines||[]),mt((z==null?void 0:z.length)>0?z:[])}),Je=()=>{if((Ne==null?void 0:Ne.length)===0)return he.ZP.warning("\u8BF7\u9009\u62E9\u65B9\u5411&\u8BFE\u7A0B\uFF01");console.log("subDisciplineId",Ne),ie(!0),x(te,Ne[1],()=>{ie(!1)})},Qe=()=>{y()},et=()=>{const ct=`${xe.Z.API_SERVER}/api/courses/${Se.coursesId}/exercises/down_template`;(0,tt.Nd)(null,ct)},we=ct=>{const Lt={name:ct.name,uid:ct.uid,file:ct};return ae([Lt]),!1},ht=()=>{ae([])};return He.createElement(De.default,{title:"\u5BFC\u5165\u8BD5\u9898",open:a,onOk:Je,centered:!0,wrapClassName:_e.customModal,onCancel:Qe,width:663,okText:"\u786E\u8BA4",okButtonProps:{className:_e.okBtn},cancelText:"\u53D6\u6D88",confirmLoading:se},He.createElement("div",{className:_e.content},He.createElement("aside",null,He.createElement("div",{style:{fontWeight:600}},"\u6B65\u9AA41"),He.createElement("ul",null,He.createElement("li",null,He.createElement("span",{style:{color:"#5F6367"}},"\u6839\u636E\u6A21\u677F\u8981\u6C42\u7F16\u8F91\u9700\u8981\u4E0A\u4F20\u7684\u8BD5\u9898"),He.createElement("span",{style:{color:"#0152d9",cursor:"pointer",marginLeft:20},onClick:et},"\u4E0B\u8F7D\u8003\u8BD5\u8BD5\u9898\u6A21\u677F"),He.createElement("i",{className:"iconfont icon-xiazai4 ml10",onClick:et,style:{fontSize:14,cursor:"pointer",color:"#0152d9"}})),He.createElement("li",{style:{color:"#FA6400"},className:"mt10"},"\u63D0\u793A"),He.createElement("li",{className:_e.infoText},"1\u3001\u76EE\u524D\u4EC5\u652F\u6301Excel\u683C\u5F0F\u6A21\u677F\uFF1B "),He.createElement("li",{className:_e.infoText},"2\u3001\u4E0D\u652F\u6301\u7EC4\u5408\u9898\u548C\u5B9E\u8BAD\u9898\u5BFC\u5165\uFF1B"),He.createElement("li",{className:_e.infoText},"3\u3001\u6BCF\u6B21\u6700\u591A\u5BFC\u5165300\u9898\uFF1B"),He.createElement("li",{className:_e.infoText},"4\u3001\u586B\u7A7A\u9898\u5BFC\u5165\u6700\u591A\u652F\u63018\u4E2A\u586B\u7A7A\u9879\u3002"))),He.createElement("aside",{style:{marginTop:22}},He.createElement("div",{style:{fontWeight:600}},"\u6B65\u9AA42"),He.createElement("ul",{style:{flex:1}},He.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&&He.createElement(He.Fragment,null,He.createElement(Ae.Z,{value:Ne,className:_e.selectitems,expandTrigger:"hover",placeholder:"\u8BF7\u9009\u62E9\u65B9\u5411&\u8BFE\u7A0B",options:Fe,fieldNames:{label:"name",value:"id",children:"sub_disciplines"},onChange:(ct,Lt)=>{mt(ct||[])}}),He.createElement("br",null),He.createElement(ke.default,{action:`${xe.Z.API_SERVER}/api/attachments.json`,beforeUpload:we,onRemove:ht,withCredentials:!0,fileList:te,accept:".xls,.xlsx",showUploadList:!1},He.createElement(ze.ZP,{className:_e.upload,type:"primary",icon:He.createElement("i",{className:"iconfont icon-shangchuan3",style:{fontSize:14}})},"\u4E0A\u4F20\u6587\u4EF6"))),te.map((ct,Lt)=>He.createElement("div",{key:Lt,className:_e.fileList},He.createElement("span",{className:_e.fileName},ct==null?void 0:ct.name),He.createElement("i",{className:"iconfont icon-shanchu12",style:{color:"#F65160",fontSize:16,cursor:"pointer"},onClick:ht})))))))}},95024:function(yt,kt,oe){"use strict";var b=oe(59301),he=oe(43418),De=oe(38986),Ae=oe(25690),ke=oe(59301),ze=(tt,Me,Le)=>new Promise((_e,He)=>{var Ke=a=>{try{E(Le.next(a))}catch(x){He(x)}},le=a=>{try{E(Le.throw(a))}catch(x){He(x)}},E=a=>a.done?_e(a.value):Promise.resolve(a.value).then(Ke,le);E((Le=Le.apply(tt,Me)).next())});const xe=({exercise:tt,dispatch:Me,init:Le,haveInit:_e=!1})=>{const He=(0,Ae.useParams)(),[Ke,le]=(0,b.useState)(!1);let[E,a]=(0,b.useState)();const[x,y]=(0,b.useState)(!1),[z,te]=(0,b.useState)(!1);(0,b.useEffect)(()=>{tt.actionTabs.key==="\u5355\u4E2A\u52A0\u5165\u8BD5\u5377\u5E93"&&ae()},[tt.actionTabs]);function ae(){return ze(this,null,function*(){var se,ie;let Se=yield(0,De.ZP)(`/api/courses/${He==null?void 0:He.coursesId}/exercises/check_exercise_cover.json`,{method:"post",body:{check_ids:tt.actionTabs.selectArrs}});if(((se=Se==null?void 0:Se.cover_exercises)==null?void 0:se.length)>0)le(!0),a((ie=Se==null?void 0:Se.cover_exercises)==null?void 0:ie[0]);else{let Fe=yield(0,De.ZP)(`/api/courses/${He==null?void 0:He.coursesId}/exercises/join_examination_banks.json`,{method:"post",body:{check_ids:tt.actionTabs.selectArrs}});Me({type:"exercise/setActionTabs",payload:{key:""}}),(Fe==null?void 0:Fe.status)===0&&(_e&&Le(),he.default.confirm({title:"\u63D0\u793A",icon:null,centered:!0,content:"\u52A0\u5165\u6210\u529F\uFF01\u8BD5\u5377\u4E2D\u65B0\u5EFA\u7684\u8BD5\u9898\u5DF2\u4E3A\u60A8\u81EA\u52A8\u540C\u6B65\u81F3\u8BD5\u9898\u5E93~",okText:"\u524D\u5F80\u8BD5\u5377\u5E93",cancelText:"\u7A0D\u540E\u518D\u8BF4",onOk:()=>{Ae.history.push("/paperlibrary")}}))}})}return ke.createElement("div",null,ke.createElement(he.default,{open:Ke,centered:!0,onCancel:se=>ze(void 0,null,function*(){if(se.target.outerText==="\u8986\u76D6\u539F\u6765\u7684\u8BD5\u5377"){y(!0);let ie=yield(0,De.ZP)(`/api/courses/${He==null?void 0:He.coursesId}/exercises/join_examination_banks.json`,{method:"post",body:{check_ids:tt.actionTabs.selectArrs,update:1}});Me({type:"exercise/setActionTabs",payload:{key:""}}),y(!1),(ie==null?void 0:ie.status)===0&&(_e&&Le(),le(!1),he.default.confirm({title:"\u63D0\u793A",icon:null,centered:!0,content:"\u52A0\u5165\u6210\u529F\uFF01\u8BD5\u5377\u4E2D\u65B0\u5EFA\u7684\u8BD5\u9898\u5DF2\u4E3A\u60A8\u81EA\u52A8\u540C\u6B65\u81F3\u8BD5\u9898\u5E93~",okText:"\u524D\u5F80\u8BD5\u5377\u5E93",cancelText:"\u7A0D\u540E\u518D\u8BF4",onOk:()=>{Ae.history.push("/paperlibrary")}}))}else le(!1)}),cancelButtonProps:{loading:x},okText:"\u5F62\u6210\u65B0\u8BD5\u5377",cancelText:"\u8986\u76D6\u539F\u6765\u7684\u8BD5\u5377",okButtonProps:{loading:z},onOk:()=>ze(void 0,null,function*(){te(!0);let se=yield(0,De.ZP)(`/api/courses/${He==null?void 0:He.coursesId}/exercises/join_examination_banks.json`,{method:"post",body:{check_ids:tt.actionTabs.selectArrs}});te(!1),(se==null?void 0:se.status)===0&&(_e&&Le(),Me({type:"exercise/setActionTabs",payload:{key:""}}),le(!1),he.default.confirm({title:"\u63D0\u793A",icon:null,centered:!0,content:"\u52A0\u5165\u6210\u529F\uFF01\u8BD5\u5377\u4E2D\u65B0\u5EFA\u7684\u8BD5\u9898\u5DF2\u4E3A\u60A8\u81EA\u52A8\u540C\u6B65\u81F3\u8BD5\u9898\u5E93~",okText:"\u524D\u5F80\u8BD5\u5377\u5E93",cancelText:"\u7A0D\u540E\u518D\u8BF4",onOk:()=>{Ae.history.push("/paperlibrary")}}))}),title:"\u52A0\u5165\u8BD5\u5377\u5E93\u63D0\u793A"},ke.createElement("div",null,ke.createElement("p",null,"\u8BE5\u8BD5\u5377\u5728\u8BD5\u5377\u5E93\u91CD\u590D\uFF0C\u662F\u5426\u9700\u8981\u8986\u76D6\u539F\u6765\u7684\u8BD5\u5377\uFF1F"),ke.createElement("div",null,ke.createElement("div",null,"\u8BD5\u5377\uFF1A",E==null?void 0:E.origin_exercise_nam),ke.createElement("div",null,"\u539F\u8BD5\u5377\uFF1A",ke.createElement("a",{href:`/paperlibrary/see/${E==null?void 0:E.examination_bank_id}?defaultActiveKey=0`,target:"_blank"},E==null?void 0:E.examination_bank_name))))))};kt.Z=(0,Ae.connect)(({exercise:tt})=>({exercise:tt}))(xe)},37345:function(yt,kt,oe){"use strict";oe.d(kt,{h:function(){return b}});var b=(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))(b||{})},81072:function(yt,kt,oe){"use strict";oe.d(kt,{H7:function(){return E},MK:function(){return le},MU:function(){return Le},X6:function(){return He},bM:function(){return Me},fi:function(){return a},fu:function(){return tt},n4:function(){return x},rX:function(){return Ke},vl:function(){return y},zO:function(){return _e}});var b=oe(38986),he=Object.defineProperty,De=Object.getOwnPropertySymbols,Ae=Object.prototype.hasOwnProperty,ke=Object.prototype.propertyIsEnumerable,ze=(z,te,ae)=>te in z?he(z,te,{enumerable:!0,configurable:!0,writable:!0,value:ae}):z[te]=ae,xe=(z,te)=>{for(var ae in te||(te={}))Ae.call(te,ae)&&ze(z,ae,te[ae]);if(De)for(var ae of De(te))ke.call(te,ae)&&ze(z,ae,te[ae]);return z};function tt(z,te){return(0,b.U2)(`myproblems/${z}.json`,xe({hidePopLogin:!0},te||{}))}function Me(z,te){return(0,b.v_)(`myproblems/${z}/code_submit.json`,te)}function Le(z,te){return(0,b.v_)(`myproblems/${z}/code_debug.json`,te)}function _e(z,te){return te.language&&(te.language=encodeURIComponent(te.language)),(0,b.U2)(`myproblems/${z}/submit_records.json`,te)}function He(z){return(0,b.U2)("myproblems/record_detail.json",{id:z})}function Ke(z,te){return(0,b.U2)(`myproblems/${z}/result.json`,{mode:te})}function le(z,te){return(0,b.v_)(`myproblems/${z}/add_notes.json`,te)}function E(z,te){return(0,b.v_)(`myproblems/${z}/restore_initial_code.json`,te)}function a(z){return(0,b.v_)(`myproblems/${z}/sync_code.json`)}function x(z,te){return(0,b.v_)(`myproblems/${z}/update_code.json`,te)}function y(z,te){return(0,b.v_)(`discusses/${z}/plus.json`,te)}},53311:function(yt,kt,oe){"use strict";var b=oe(59301),he=oe(6848),De=oe(92832),Ae=oe(8591),ke=oe(2397),ze=oe(59301),xe=(Me,Le,_e)=>new Promise((He,Ke)=>{var le=x=>{try{a(_e.next(x))}catch(y){Ke(y)}},E=x=>{try{a(_e.throw(x))}catch(y){Ke(y)}},a=x=>x.done?He(x.value):Promise.resolve(x.value).then(le,E);a((_e=_e.apply(Me,Le)).next())});const tt=({defaultValue:Me,onFinish:Le})=>{const[_e,He]=(0,b.useState)(!1),[Ke,le]=(0,b.useState)(Me);return(0,b.useEffect)(()=>{le(Me)},[Me]),ze.createElement("div",null,_e?ze.createElement(De.default,{autoFocus:!0,maxLength:60,style:{textAlign:"center",marginTop:20,marginBottom:20},value:Ke,onChange:E=>{le(E.target.value)},onBlur:()=>xe(void 0,null,function*(){var E;if(((E=Ke==null?void 0:Ke.replaceAll(" ",""))==null?void 0:E.length)<=0){Ae.ZP.error("\u8BD5\u5377\u6807\u9898\u4E0D\u80FD\u4E3A\u7A7A");return}(yield Le(Ke))&&He(!1)}),onPressEnter:()=>xe(void 0,null,function*(){var E;if(((E=Ke==null?void 0:Ke.replaceAll(" ",""))==null?void 0:E.length)<=0){Ae.ZP.error("\u8BD5\u5377\u6807\u9898\u4E0D\u80FD\u4E3A\u7A7A");return}(yield Le(Ke))&&He(!1)})}):ze.createElement("div",{className:ke.Z.title},Ke,ze.createElement(he.Z,{title:"\u7F16\u8F91\u8BD5\u5377\u540D\u79F0"},ze.createElement("i",{className:`${ke.Z.editIcon} iconfont icon-bianji_Hover`,onClick:()=>He(!0)}))))};kt.Z=tt},52154:function(yt,kt,oe){"use strict";oe.d(kt,{Z:function(){return Le}});var b=oe(43418),he={ul:"ul___TdfYY"},De=oe(32637),Ae=oe(59301),ke=Object.getOwnPropertySymbols,ze=Object.prototype.hasOwnProperty,xe=Object.prototype.propertyIsEnumerable,tt=(_e,He)=>{var Ke={};for(var le in _e)ze.call(_e,le)&&He.indexOf(le)<0&&(Ke[le]=_e[le]);if(_e!=null&&ke)for(var le of ke(_e))He.indexOf(le)<0&&xe.call(_e,le)&&(Ke[le]=_e[le]);return Ke},Le=_e=>{var He=_e,{open:Ke,onCancel:le}=He,E=tt(He,["open","onCancel"]);return Ae.createElement(b.default,{centered:!0,open:Ke,title:Ae.createElement("div",{style:{fontWeight:"bold"}},"\u8054\u7CFB\u6559\u7814\u52A9\u7406"),width:"696px",onCancel:le,footer:null},Ae.createElement("div",null,Ae.createElement("div",{className:"tc"},Ae.createElement("img",{className:"mt10",src:De,width:"182px",height:"181px",style:{borderRadius:"2px",border:"1px solid #D8E3E9"}})),Ae.createElement("div",{style:{color:"#191919",fontWeight:"bold"},className:"tc font16 mt10"},"\u514D\u8D39\u6559\u7814\u52A9\u7406"),Ae.createElement("div",{style:{color:"#191919",fontWeight:"bold"},className:"tc font16"},"\u5FAE\u4FE1\u626B\u4E00\u626B\u6DFB\u52A0"),Ae.createElement("div",{style:{color:"#333"},className:"pt30 font14"},Ae.createElement("ul",{className:he.ul},Ae.createElement("li",null,"1\u3001\u89E3\u7B54\u8001\u5E08\u7591\u60D1\u3001\u5E2E\u52A9\u8001\u5E08\u66F4\u5FEB\u719F\u6089\u548C\u4F7F\u7528\u5E73\u53F0\u6559\u5B66\u3002"),Ae.createElement("li",null,"2\u3001\u534F\u52A9\u8001\u5E08\u521B\u5EFA\u8BFE\u5802\u3001\u8BFE\u7A0B\u8BBE\u8BA1\u3001\u505A\u597D\u6559\u5B66\u5DE5\u4F5C\u3002"),Ae.createElement("li",null,"3\u3001\u6839\u636E\u8001\u5E08\u6559\u5B66\u65B9\u5411\uFF0C\u5206\u4EAB\u5934\u6B4C\u5E73\u53F0C9\u9662\u6821\u3001985\u9AD8\u6821\u3001211\u9AD8\u6821\u3001\u53CC\u4E00\u6D41\u9AD8\u6821\u8001\u5E08\u7ECF\u5178\u5B9E\u8DF5\u6559\u5B66\u6848\u4F8B\u3002")))))}},78874:function(yt,kt,oe){"use strict";oe.d(kt,{I:function(){return he}});var b=oe(59301);const he=()=>{const[De,Ae]=(0,b.useState)("hidden");return{overflow:De,handleMouseEnter:()=>Ae("auto"),handleMouseLeave:()=>Ae("hidden")}}},77578:function(yt,kt,oe){"use strict";oe.d(kt,{Z:function(){return b}});const b=he=>he?typeof he=="function"?he():he:null},66104:function(yt,kt,oe){"use strict";oe.d(kt,{Z:function(){return et}});var b=oe(92310),he=oe.n(b),De=oe(11592),Ae=oe(26112),ke=oe(59301),ze=oe(92343),xe=oe(36355),tt=oe(84105),Me=oe(91857);const Le=we=>{let{children:ht}=we;const{getPrefixCls:ct}=ke.useContext(xe.E_),Lt=ct("breadcrumb");return ke.createElement("li",{className:`${Lt}-separator`,"aria-hidden":"true"},ht===""?ht:ht||"/")};Le.__ANT_BREADCRUMB_SEPARATOR=!0;var _e=Le,He=function(we,ht){var ct={};for(var Lt in we)Object.prototype.hasOwnProperty.call(we,Lt)&&ht.indexOf(Lt)<0&&(ct[Lt]=we[Lt]);if(we!=null&&typeof Object.getOwnPropertySymbols=="function")for(var gt=0,Lt=Object.getOwnPropertySymbols(we);gt<Lt.length;gt++)ht.indexOf(Lt[gt])<0&&Object.prototype.propertyIsEnumerable.call(we,Lt[gt])&&(ct[Lt[gt]]=we[Lt[gt]]);return ct};function Ke(we,ht){if(we.title===void 0||we.title===null)return null;const ct=Object.keys(ht).join("|");return typeof we.title=="object"?we.title:String(we.title).replace(new RegExp(`:(${ct})`,"g"),(Lt,gt)=>ht[gt]||Lt)}function le(we,ht,ct,Lt){if(ct==null)return null;const{className:gt,onClick:Pn}=ht,nn=He(ht,["className","onClick"]),Wt=Object.assign(Object.assign({},(0,Ae.Z)(nn,{data:!0,aria:!0})),{onClick:Pn});return Lt!==void 0?ke.createElement("a",Object.assign({},Wt,{className:he()(`${we}-link`,gt),href:Lt}),ct):ke.createElement("span",Object.assign({},Wt,{className:he()(`${we}-link`,gt)}),ct)}function E(we,ht){return(Lt,gt,Pn,nn,Wt)=>{if(ht)return ht(Lt,gt,Pn,nn);const _t=Ke(Lt,gt);return le(we,Lt,_t,Wt)}}var a=function(we,ht){var ct={};for(var Lt in we)Object.prototype.hasOwnProperty.call(we,Lt)&&ht.indexOf(Lt)<0&&(ct[Lt]=we[Lt]);if(we!=null&&typeof Object.getOwnPropertySymbols=="function")for(var gt=0,Lt=Object.getOwnPropertySymbols(we);gt<Lt.length;gt++)ht.indexOf(Lt[gt])<0&&Object.prototype.propertyIsEnumerable.call(we,Lt[gt])&&(ct[Lt[gt]]=we[Lt[gt]]);return ct};const x=we=>{const{prefixCls:ht,separator:ct="/",children:Lt,menu:gt,overlay:Pn,dropdownProps:nn,href:Wt}=we,Te=(ot=>{if(gt||Pn){const Ut=Object.assign({},nn);if(gt){const xn=gt||{},{items:At}=xn,ln=a(xn,["items"]);Ut.menu=Object.assign(Object.assign({},ln),{items:At==null?void 0:At.map((Ce,ut)=>{var{key:Xt,title:nt,label:Pt,path:_n}=Ce,sn=a(Ce,["key","title","label","path"]);let Rt=Pt!=null?Pt:nt;return _n&&(Rt=ke.createElement("a",{href:`${Wt}${_n}`},Rt)),Object.assign(Object.assign({},sn),{key:Xt!=null?Xt:ut,label:Rt})})})}else Pn&&(Ut.overlay=Pn);return ke.createElement(Me.Z,Object.assign({placement:"bottom"},Ut),ke.createElement("span",{className:`${ht}-overlay-link`},ot,ke.createElement(tt.Z,null)))}return ot})(Lt);return Te!=null?ke.createElement(ke.Fragment,null,ke.createElement("li",null,Te),ct&&ke.createElement(_e,null,ct)):null},y=we=>{const{prefixCls:ht,children:ct,href:Lt}=we,gt=a(we,["prefixCls","children","href"]),{getPrefixCls:Pn}=ke.useContext(xe.E_),nn=Pn("breadcrumb",ht);return ke.createElement(x,Object.assign({},gt,{prefixCls:nn}),le(nn,gt,ct,Lt))};y.__ANT_BREADCRUMB_ITEM=!0;var z=y,te=oe(17313),ae=oe(83116),se=oe(37613);const ie=we=>{const{componentCls:ht,iconCls:ct}=we;return{[ht]:Object.assign(Object.assign({},(0,te.Wf)(we)),{color:we.itemColor,fontSize:we.fontSize,[ct]:{fontSize:we.iconFontSize},ol:{display:"flex",flexWrap:"wrap",margin:0,padding:0,listStyle:"none"},a:Object.assign({color:we.linkColor,transition:`color ${we.motionDurationMid}`,padding:`0 ${we.paddingXXS}px`,borderRadius:we.borderRadiusSM,height:we.lineHeight*we.fontSize,display:"inline-block",marginInline:-we.marginXXS,"&:hover":{color:we.linkHoverColor,backgroundColor:we.colorBgTextHover}},(0,te.Qy)(we)),"li:last-child":{color:we.lastItemColor},[`${ht}-separator`]:{marginInline:we.separatorMargin,color:we.separatorColor},[`${ht}-link`]:{[`
> ${ct} + span,
> ${ct} + a
`]:{marginInlineStart:we.marginXXS}},[`${ht}-overlay-link`]:{borderRadius:we.borderRadiusSM,height:we.lineHeight*we.fontSize,display:"inline-block",padding:`0 ${we.paddingXXS}px`,marginInline:-we.marginXXS,[`> ${ct}`]:{marginInlineStart:we.marginXXS,fontSize:we.fontSizeIcon},"&:hover":{color:we.linkHoverColor,backgroundColor:we.colorBgTextHover,a:{color:we.linkHoverColor}},a:{"&:hover":{backgroundColor:"transparent"}}},[`&${we.componentCls}-rtl`]:{direction:"rtl"}})}};var Se=(0,ae.Z)("Breadcrumb",we=>{const ht=(0,se.TS)(we,{});return[ie(ht)]},we=>({itemColor:we.colorTextDescription,lastItemColor:we.colorText,iconFontSize:we.fontSize,linkColor:we.colorTextDescription,linkHoverColor:we.colorText,separatorColor:we.colorTextDescription,separatorMargin:we.marginXS})),Fe=function(we,ht){var ct={};for(var Lt in we)Object.prototype.hasOwnProperty.call(we,Lt)&&ht.indexOf(Lt)<0&&(ct[Lt]=we[Lt]);if(we!=null&&typeof Object.getOwnPropertySymbols=="function")for(var gt=0,Lt=Object.getOwnPropertySymbols(we);gt<Lt.length;gt++)ht.indexOf(Lt[gt])<0&&Object.prototype.propertyIsEnumerable.call(we,Lt[gt])&&(ct[Lt[gt]]=we[Lt[gt]]);return ct};function We(we){const{breadcrumbName:ht,children:ct}=we,Lt=Fe(we,["breadcrumbName","children"]),gt=Object.assign({title:ht},Lt);return ct&&(gt.menu={items:ct.map(Pn=>{var{breadcrumbName:nn}=Pn,Wt=Fe(Pn,["breadcrumbName"]);return Object.assign(Object.assign({},Wt),{title:nn})})}),gt}function Ne(we,ht){return(0,ke.useMemo)(()=>we||(ht?ht.map(We):null),[we,ht])}var mt=function(we,ht){var ct={};for(var Lt in we)Object.prototype.hasOwnProperty.call(we,Lt)&&ht.indexOf(Lt)<0&&(ct[Lt]=we[Lt]);if(we!=null&&typeof Object.getOwnPropertySymbols=="function")for(var gt=0,Lt=Object.getOwnPropertySymbols(we);gt<Lt.length;gt++)ht.indexOf(Lt[gt])<0&&Object.prototype.propertyIsEnumerable.call(we,Lt[gt])&&(ct[Lt[gt]]=we[Lt[gt]]);return ct};const Re=(we,ht)=>{if(ht===void 0)return ht;let ct=(ht||"").replace(/^\//,"");return Object.keys(we).forEach(Lt=>{ct=ct.replace(`:${Lt}`,we[Lt])}),ct},Je=we=>{const{prefixCls:ht,separator:ct="/",style:Lt,className:gt,rootClassName:Pn,routes:nn,items:Wt,children:_t,itemRender:Te,params:ot={}}=we,Ut=mt(we,["prefixCls","separator","style","className","rootClassName","routes","items","children","itemRender","params"]),{getPrefixCls:xn,direction:At,breadcrumb:ln}=ke.useContext(xe.E_);let Ce;const ut=xn("breadcrumb",ht),[Xt,nt]=Se(ut),Pt=Ne(Wt,nn),_n=E(ut,Te);if(Pt&&Pt.length>0){const Mt=[],Yn=Wt||nn;Ce=Pt.map((aa,tn)=>{const{path:ba,key:_a,type:ya,menu:zn,overlay:xa,onClick:dr,className:Ya,separator:Jn,dropdownProps:da}=aa,ea=Re(ot,ba);ea!==void 0&&Mt.push(ea);const ia=_a!=null?_a:tn;if(ya==="separator")return ke.createElement(_e,{key:ia},Jn);const Ea={},Va=tn===Pt.length-1;zn?Ea.menu=zn:xa&&(Ea.overlay=xa);let{href:yn}=aa;return Mt.length&&ea!==void 0&&(yn=`#/${Mt.join("/")}`),ke.createElement(x,Object.assign({key:ia},Ea,(0,Ae.Z)(aa,{data:!0,aria:!0}),{className:Ya,dropdownProps:da,href:yn,separator:Va?"":ct,onClick:dr,prefixCls:ut}),_n(aa,ot,Yn,Mt,yn))})}else if(_t){const Mt=(0,De.Z)(_t).length;Ce=(0,De.Z)(_t).map((Yn,aa)=>{if(!Yn)return Yn;const tn=aa===Mt-1;return(0,ze.Tm)(Yn,{separator:tn?"":ct,key:aa})})}const sn=he()(ut,ln==null?void 0:ln.className,{[`${ut}-rtl`]:At==="rtl"},gt,Pn,nt),Rt=Object.assign(Object.assign({},ln==null?void 0:ln.style),Lt);return Xt(ke.createElement("nav",Object.assign({className:sn,style:Rt},Ut),ke.createElement("ol",null,Ce)))};Je.Item=z,Je.Separator=_e;var Qe=Je,et=Qe},19842:function(yt,kt,oe){"use strict";oe.d(kt,{Z:function(){return Sa}});var b=oe(92393),he=oe(59301),De=oe(33853),Ae=oe(58617),ke=oe(38819),ze=oe(92310),xe=oe.n(ze),tt=oe(5016),Me=oe(52456),Le=oe(5883),_e=oe(77861),He=oe(17115),Ke=oe(90782),le=oe(6089),E=oe(18929),a=he.createContext(null),x=a,y=oe(10928),z=oe(18082),te=oe(20049),ae="__rc_cascader_search_mark__",se=function(at,st,bt){var St=bt.label;return st.some(function(mn){return String(mn[St]).toLowerCase().includes(at.toLowerCase())})},ie=function(at,st,bt,St){return st.map(function(mn){return mn[St.label]}).join(" / ")},Se=function(Be,at,st,bt,St,mn){var Kt=St.filter,Ge=Kt===void 0?se:Kt,Ye=St.render,Ue=Ye===void 0?ie:Ye,Bt=St.limit,un=Bt===void 0?50:Bt,pn=St.sort;return he.useMemo(function(){var ra=[];if(!Be)return[];function Vn(Ln,jn){var Tn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;Ln.forEach(function(jt){if(!(!pn&&un!==!1&&un>0&&ra.length>=un)){var La=[].concat((0,b.Z)(jn),[jt]),ir=jt[st.children],oo=Tn||jt.disabled;if((!ir||ir.length===0||mn)&&Ge(Be,La,{label:st.label})){var Wa;ra.push((0,te.Z)((0,te.Z)({},jt),{},(Wa={disabled:oo},(0,z.Z)(Wa,st.label,Ue(Be,La,bt,st)),(0,z.Z)(Wa,ae,La),(0,z.Z)(Wa,st.children,void 0),Wa)))}ir&&Vn(jt[st.children],La,oo)}})}return Vn(at,[]),pn&&ra.sort(function(Ln,jn){return pn(Ln[ae],jn[ae],Be,st)}),un!==!1&&un>0?ra.slice(0,un):ra},[Be,at,st,bt,Ue,mn,Ge,pn,un])},Fe="__RC_CASCADER_SPLIT__",We="SHOW_PARENT",Ne="SHOW_CHILD";function mt(Be){return Be.join(Fe)}function Re(Be){return Be.map(mt)}function Je(Be){return Be.split(Fe)}function Qe(Be){var at=Be||{},st=at.label,bt=at.value,St=at.children,mn=bt||"value";return{label:st||"label",value:mn,key:mn,children:St||"children"}}function et(Be,at){var st,bt;return(st=Be.isLeaf)!==null&&st!==void 0?st:!((bt=Be[at.children])!==null&&bt!==void 0&&bt.length)}function we(Be){var at=Be.parentElement;if(at){var st=Be.offsetTop-at.offsetTop;st-at.scrollTop<0?at.scrollTo({top:st}):st+Be.offsetHeight-at.scrollTop>at.offsetHeight&&at.scrollTo({top:st+Be.offsetHeight-at.offsetHeight})}}function ht(Be,at){return Be.map(function(st){var bt;return(bt=st[ae])===null||bt===void 0?void 0:bt.map(function(St){return St[at.value]})})}function ct(Be,at,st){var bt=new Set(Be),St=at();return Be.filter(function(mn){var Kt=St[mn],Ge=Kt?Kt.parent:null,Ye=Kt?Kt.children:null;return Kt&&Kt.node.disabled?!0:st===Ne?!(Ye&&Ye.some(function(Ue){return Ue.key&&bt.has(Ue.key)})):!(Ge&&!Ge.node.disabled&&bt.has(Ge.key))})}function Lt(Be,at,st){for(var bt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,St=at,mn=[],Kt=function(){var Ue,Bt,un,pn=Be[Ge],ra=(Ue=St)===null||Ue===void 0?void 0:Ue.findIndex(function(Ln){var jn=Ln[st.value];return bt?String(jn)===String(pn):jn===pn}),Vn=ra!==-1?(Bt=St)===null||Bt===void 0?void 0:Bt[ra]:null;mn.push({value:(un=Vn==null?void 0:Vn[st.value])!==null&&un!==void 0?un:pn,index:ra,option:Vn}),St=Vn==null?void 0:Vn[st.children]},Ge=0;Ge<Be.length;Ge+=1)Kt();return mn}var gt=function(Be,at,st,bt,St){return he.useMemo(function(){var mn=St||function(Kt){var Ge=bt?Kt.slice(-1):Kt,Ye=" / ";return Ge.every(function(Ue){return["string","number"].includes((0,y.Z)(Ue))})?Ge.join(Ye):Ge.reduce(function(Ue,Bt,un){var pn=he.isValidElement(Bt)?he.cloneElement(Bt,{key:un}):Bt;return un===0?[pn]:[].concat((0,b.Z)(Ue),[Ye,pn])},[])};return Be.map(function(Kt){var Ge,Ye,Ue=Lt(Kt,at,st),Bt=mn(Ue.map(function(pn){var ra,Vn=pn.option,Ln=pn.value;return(ra=Vn==null?void 0:Vn[st.label])!==null&&ra!==void 0?ra:Ln}),Ue.map(function(pn){var ra=pn.option;return ra})),un=mt(Kt);return{label:Bt,value:un,key:un,valueCells:Kt,disabled:(Ge=Ue[Ue.length-1])===null||Ge===void 0||(Ye=Ge.option)===null||Ye===void 0?void 0:Ye.disabled}})},[Be,at,st,St,bt])},Pn=oe(71430),nn=function(Be,at){var st=he.useRef({options:null,info:null}),bt=he.useCallback(function(){return st.current.options!==Be&&(st.current.options=Be,st.current.info=(0,Pn.I8)(Be,{fieldNames:at,initWrapper:function(mn){return(0,te.Z)((0,te.Z)({},mn),{},{pathKeyEntities:{}})},processEntity:function(mn,Kt){var Ge=mn.nodes.map(function(Ye){return Ye[at.value]}).join(Fe);Kt.pathKeyEntities[Ge]=mn,mn.key=Ge}})),st.current.info.pathKeyEntities},[at,Be]);return bt},Wt=function(Be,at){return he.useCallback(function(st){var bt=[],St=[];return st.forEach(function(mn){var Kt=Lt(mn,Be,at);Kt.every(function(Ge){return Ge.option})?St.push(mn):bt.push(mn)}),[St,bt]},[Be,at])},_t=oe(48736);function Te(Be){return he.useMemo(function(){if(!Be)return[!1,{}];var at={matchInputWidth:!0,limit:50};return Be&&(0,y.Z)(Be)==="object"&&(at=(0,te.Z)((0,te.Z)({},at),Be)),at.limit<=0&&delete at.limit,[!0,at]},[Be])}var ot=he.memo(function(Be){var at=Be.children;return at},function(Be,at){return!at.open}),Ut=ot;function xn(Be){var at,st=Be.prefixCls,bt=Be.checked,St=Be.halfChecked,mn=Be.disabled,Kt=Be.onClick,Ge=Be.disableCheckbox,Ye=he.useContext(x),Ue=Ye.checkable,Bt=typeof Ue!="boolean"?Ue:null;return he.createElement("span",{className:xe()("".concat(st),(at={},(0,z.Z)(at,"".concat(st,"-checked"),bt),(0,z.Z)(at,"".concat(st,"-indeterminate"),!bt&&St),(0,z.Z)(at,"".concat(st,"-disabled"),mn||Ge),at)),onClick:Kt},Bt)}var At="__cascader_fix_label__";function ln(Be){var at=Be.prefixCls,st=Be.multiple,bt=Be.options,St=Be.activeValue,mn=Be.prevValuePath,Kt=Be.onToggleOpen,Ge=Be.onSelect,Ye=Be.onActive,Ue=Be.checkedSet,Bt=Be.halfCheckedSet,un=Be.loadingKeys,pn=Be.isSelectable,ra=Be.searchValue,Vn="".concat(at,"-menu"),Ln="".concat(at,"-menu-item"),jn=he.useContext(x),Tn=jn.fieldNames,jt=jn.changeOnSelect,La=jn.expandTrigger,ir=jn.expandIcon,oo=jn.loadingIcon,Wa=jn.dropdownMenuColumnStyle,zt=La==="hover",jr=he.useMemo(function(){return bt.map(function(Ta){var vr,er=Ta.disabled,_r=Ta.disableCheckbox,br=Ta[ae],qr=(vr=Ta[At])!==null&&vr!==void 0?vr:Ta[Tn.label],wr=Ta[Tn.value],oa=et(Ta,Tn),$t=br?br.map(function(hn){return hn[Tn.value]}):[].concat((0,b.Z)(mn),[wr]),Xa=mt($t),ua=un.includes(Xa),tr=Ue.has(Xa),Oa=Bt.has(Xa);return{disabled:er,label:qr,value:wr,isLeaf:oa,isLoading:ua,checked:tr,halfChecked:Oa,option:Ta,disableCheckbox:_r,fullPath:$t,fullPathKey:Xa}})},[bt,Ue,Tn,Bt,un,mn]);return he.createElement("ul",{className:Vn,role:"menu"},jr.map(function(Ta){var vr,er=Ta.disabled,_r=Ta.label,br=Ta.value,qr=Ta.isLeaf,wr=Ta.isLoading,oa=Ta.checked,$t=Ta.halfChecked,Xa=Ta.option,ua=Ta.fullPath,tr=Ta.fullPathKey,Oa=Ta.disableCheckbox,hn=function(){if(!(er||ra)){var qa=(0,b.Z)(ua);zt&&qr&&qa.pop(),Ye(qa)}},$n=function(){pn(Xa)&&Ge(ua,qr)},Aa;return typeof Xa.title=="string"?Aa=Xa.title:typeof _r=="string"&&(Aa=_r),he.createElement("li",{key:tr,className:xe()(Ln,(vr={},(0,z.Z)(vr,"".concat(Ln,"-expand"),!qr),(0,z.Z)(vr,"".concat(Ln,"-active"),St===br||St===tr),(0,z.Z)(vr,"".concat(Ln,"-disabled"),er),(0,z.Z)(vr,"".concat(Ln,"-loading"),wr),vr)),style:Wa,role:"menuitemcheckbox",title:Aa,"aria-checked":oa,"data-path-key":tr,onClick:function(){hn(),!Oa&&(!st||qr)&&$n()},onDoubleClick:function(){jt&&Kt(!1)},onMouseEnter:function(){zt&&hn()},onMouseDown:function(qa){qa.preventDefault()}},st&&he.createElement(xn,{prefixCls:"".concat(at,"-checkbox"),checked:oa,halfChecked:$t,disabled:er||Oa,disableCheckbox:Oa,onClick:function(qa){Oa||(qa.stopPropagation(),$n())}}),he.createElement("div",{className:"".concat(Ln,"-content")},_r),!wr&&ir&&!qr&&he.createElement("div",{className:"".concat(Ln,"-expand-icon")},ir),wr&&oo&&he.createElement("div",{className:"".concat(Ln,"-loading-icon")},oo))}))}var Ce=function(){var Be=(0,_e.lk)(),at=Be.multiple,st=Be.open,bt=he.useContext(x),St=bt.values,mn=he.useState([]),Kt=(0,Me.Z)(mn,2),Ge=Kt[0],Ye=Kt[1];return he.useEffect(function(){if(st&&!at){var Ue=St[0];Ye(Ue||[])}},[st]),[Ge,Ye]},ut=oe(10228),Xt=function(Be,at,st,bt,St,mn){var Kt=(0,_e.lk)(),Ge=Kt.direction,Ye=Kt.searchValue,Ue=Kt.toggleOpen,Bt=Kt.open,un=Ge==="rtl",pn=he.useMemo(function(){for(var Wa=-1,zt=at,jr=[],Ta=[],vr=bt.length,er=ht(at,st),_r=function(Xa){var ua=zt.findIndex(function(tr,Oa){return(er[Oa]?mt(er[Oa]):tr[st.value])===bt[Xa]});if(ua===-1)return"break";Wa=ua,jr.push(Wa),Ta.push(bt[Xa]),zt=zt[Wa][st.children]},br=0;br<vr&&zt;br+=1){var qr=_r(br);if(qr==="break")break}for(var wr=at,oa=0;oa<jr.length-1;oa+=1)wr=wr[jr[oa]][st.children];return[Ta,Wa,wr,er]},[bt,st,at]),ra=(0,Me.Z)(pn,4),Vn=ra[0],Ln=ra[1],jn=ra[2],Tn=ra[3],jt=function(zt){St(zt)},La=function(zt){var jr=jn.length,Ta=Ln;Ta===-1&&zt<0&&(Ta=jr);for(var vr=0;vr<jr;vr+=1){Ta=(Ta+zt+jr)%jr;var er=jn[Ta];if(er&&!er.disabled){var _r=Vn.slice(0,-1).concat(Tn[Ta]?mt(Tn[Ta]):er[st.value]);jt(_r);return}}},ir=function(){if(Vn.length>1){var zt=Vn.slice(0,-1);jt(zt)}else Ue(!1)},oo=function(){var zt,jr=((zt=jn[Ln])===null||zt===void 0?void 0:zt[st.children])||[],Ta=jr.find(function(er){return!er.disabled});if(Ta){var vr=[].concat((0,b.Z)(Vn),[Ta[st.value]]);jt(vr)}};he.useImperativeHandle(Be,function(){return{onKeyDown:function(zt){var jr=zt.which;switch(jr){case ut.Z.UP:case ut.Z.DOWN:{var Ta=0;jr===ut.Z.UP?Ta=-1:jr===ut.Z.DOWN&&(Ta=1),Ta!==0&&La(Ta);break}case ut.Z.LEFT:{if(Ye)break;un?oo():ir();break}case ut.Z.RIGHT:{if(Ye)break;un?ir():oo();break}case ut.Z.BACKSPACE:{Ye||ir();break}case ut.Z.ENTER:{if(Vn.length){var vr=jn[Ln],er=(vr==null?void 0:vr[ae])||[];er.length?mn(er.map(function(_r){return _r[st.value]}),er[er.length-1]):mn(Vn,jn[Ln])}break}case ut.Z.ESC:Ue(!1),Bt&&zt.stopPropagation()}},onKeyUp:function(){}}})},nt=he.forwardRef(function(Be,at){var st,bt,St,mn,Kt=(0,_e.lk)(),Ge=Kt.prefixCls,Ye=Kt.multiple,Ue=Kt.searchValue,Bt=Kt.toggleOpen,un=Kt.notFoundContent,pn=Kt.direction,ra=Kt.open,Vn=he.useRef(),Ln=pn==="rtl",jn=he.useContext(x),Tn=jn.options,jt=jn.values,La=jn.halfValues,ir=jn.fieldNames,oo=jn.changeOnSelect,Wa=jn.onSelect,zt=jn.searchOptions,jr=jn.dropdownPrefixCls,Ta=jn.loadData,vr=jn.expandTrigger,er=jr||Ge,_r=he.useState([]),br=(0,Me.Z)(_r,2),qr=br[0],wr=br[1],oa=function(Br){if(!(!Ta||Ue)){var uo=Lt(Br,Tn,ir),Ha=uo.map(function(lr){var zr=lr.option;return zr}),Zr=Ha[Ha.length-1];if(Zr&&!et(Zr,ir)){var Hr=mt(Br);wr(function(lr){return[].concat((0,b.Z)(lr),[Hr])}),Ta(Ha)}}};he.useEffect(function(){qr.length&&qr.forEach(function(Pr){var Br=Je(Pr),uo=Lt(Br,Tn,ir,!0).map(function(Zr){var Hr=Zr.option;return Hr}),Ha=uo[uo.length-1];(!Ha||Ha[ir.children]||et(Ha,ir))&&wr(function(Zr){return Zr.filter(function(Hr){return Hr!==Pr})})})},[Tn,qr,ir]);var $t=he.useMemo(function(){return new Set(Re(jt))},[jt]),Xa=he.useMemo(function(){return new Set(Re(La))},[La]),ua=Ce(),tr=(0,Me.Z)(ua,2),Oa=tr[0],hn=tr[1],$n=function(Br){hn(Br),oa(Br)},Aa=function(Br){var uo=Br.disabled,Ha=et(Br,ir);return!uo&&(Ha||oo||Ye)},Wn=function(Br,uo){var Ha=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;Wa(Br),!Ye&&(uo||oo&&(vr==="hover"||Ha))&&Bt(!1)},qa=he.useMemo(function(){return Ue?zt:Tn},[Ue,zt,Tn]),Ka=he.useMemo(function(){for(var Pr=[{options:qa}],Br=qa,uo=ht(Br,ir),Ha=function(){var zr=Oa[Zr],fo=Br.find(function(ja,Io){return(uo[Io]?mt(uo[Io]):ja[ir.value])===zr}),Qr=fo==null?void 0:fo[ir.children];if(!(Qr!=null&&Qr.length))return"break";Br=Qr,Pr.push({options:Qr})},Zr=0;Zr<Oa.length;Zr+=1){var Hr=Ha();if(Hr==="break")break}return Pr},[qa,Oa,ir]),pr=function(Br,uo){Aa(uo)&&Wn(Br,et(uo,ir),!0)};Xt(at,qa,ir,Oa,$n,pr),he.useEffect(function(){for(var Pr=0;Pr<Oa.length;Pr+=1){var Br,uo=Oa.slice(0,Pr+1),Ha=mt(uo),Zr=(Br=Vn.current)===null||Br===void 0?void 0:Br.querySelector('li[data-path-key="'.concat(Ha.replace(/\\{0,2}"/g,'\\"'),'"]'));Zr&&we(Zr)}},[Oa]);var Tr=!((st=Ka[0])!==null&&st!==void 0&&(bt=st.options)!==null&&bt!==void 0&&bt.length),nr=[(St={},(0,z.Z)(St,ir.value,"__EMPTY__"),(0,z.Z)(St,At,un),(0,z.Z)(St,"disabled",!0),St)],Ho=(0,te.Z)((0,te.Z)({},Be),{},{multiple:!Tr&&Ye,onSelect:Wn,onActive:$n,onToggleOpen:Bt,checkedSet:$t,halfCheckedSet:Xa,loadingKeys:qr,isSelectable:Aa}),Ao=Tr?[{options:nr}]:Ka,hi=Ao.map(function(Pr,Br){var uo=Oa.slice(0,Br),Ha=Oa[Br];return he.createElement(ln,(0,tt.Z)({key:Br},Ho,{searchValue:Ue,prefixCls:er,options:Pr.options,prevValuePath:uo,activeValue:Ha}))});return he.createElement(Ut,{open:ra},he.createElement("div",{className:xe()("".concat(er,"-menus"),(mn={},(0,z.Z)(mn,"".concat(er,"-menu-empty"),Tr),(0,z.Z)(mn,"".concat(er,"-rtl"),Ln),mn)),ref:Vn},hi))}),Pt=nt;function _n(Be){var at=Be.onPopupVisibleChange,st=Be.popupVisible,bt=Be.popupClassName,St=Be.popupPlacement;warning(!at,"`onPopupVisibleChange` is deprecated. Please use `onDropdownVisibleChange` instead."),warning(st===void 0,"`popupVisible` is deprecated. Please use `open` instead."),warning(bt===void 0,"`popupClassName` is deprecated. Please use `dropdownClassName` instead."),warning(St===void 0,"`popupPlacement` is deprecated. Please use `placement` instead.")}function sn(Be,at){if(Be){var st=function bt(St){for(var mn=0;mn<St.length;mn++){var Kt=St[mn];if(Kt[at==null?void 0:at.value]===null)return warning(!1,"`value` in Cascader options should not be `null`."),!0;if(Array.isArray(Kt[at==null?void 0:at.children])&&bt(Kt[at==null?void 0:at.children]))return!0}};st(Be)}}var Rt=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 Yn(Be){return Array.isArray(Be)&&Array.isArray(Be[0])}function aa(Be){return Be?Yn(Be)?Be:(Be.length===0?[]:[Be]).map(function(at){return Array.isArray(at)?at:[at]}):[]}var tn=he.forwardRef(function(Be,at){var st=Be.id,bt=Be.prefixCls,St=bt===void 0?"rc-cascader":bt,mn=Be.fieldNames,Kt=Be.defaultValue,Ge=Be.value,Ye=Be.changeOnSelect,Ue=Be.onChange,Bt=Be.displayRender,un=Be.checkable,pn=Be.autoClearSearchValue,ra=pn===void 0?!0:pn,Vn=Be.searchValue,Ln=Be.onSearch,jn=Be.showSearch,Tn=Be.expandTrigger,jt=Be.options,La=Be.dropdownPrefixCls,ir=Be.loadData,oo=Be.popupVisible,Wa=Be.open,zt=Be.popupClassName,jr=Be.dropdownClassName,Ta=Be.dropdownMenuColumnStyle,vr=Be.popupPlacement,er=Be.placement,_r=Be.onDropdownVisibleChange,br=Be.onPopupVisibleChange,qr=Be.expandIcon,wr=qr===void 0?">":qr,oa=Be.loadingIcon,$t=Be.children,Xa=Be.dropdownMatchSelectWidth,ua=Xa===void 0?!1:Xa,tr=Be.showCheckedStrategy,Oa=tr===void 0?We:tr,hn=(0,Le.Z)(Be,Mt),$n=(0,He.ZP)(st),Aa=!!un,Wn=(0,E.Z)(Kt,{value:Ge,postState:aa}),qa=(0,Me.Z)(Wn,2),Ka=qa[0],pr=qa[1],Tr=he.useMemo(function(){return Qe(mn)},[JSON.stringify(mn)]),nr=he.useMemo(function(){return jt||[]},[jt]),Ho=nn(nr,Tr),Ao=he.useCallback(function(Hn){var kn=Ho();return Hn.map(function(me){var pt=kn[me].nodes;return pt.map(function(xt){return xt[Tr.value]})})},[Ho,Tr]),hi=(0,E.Z)("",{value:Vn,postState:function(kn){return kn||""}}),Pr=(0,Me.Z)(hi,2),Br=Pr[0],uo=Pr[1],Ha=function(kn,me){uo(kn),me.source!=="blur"&&Ln&&Ln(kn)},Zr=Te(jn),Hr=(0,Me.Z)(Zr,2),lr=Hr[0],zr=Hr[1],fo=Se(Br,nr,Tr,La||St,zr,Ye),Qr=Wt(nr,Tr),ja=he.useMemo(function(){var Hn=Qr(Ka),kn=(0,Me.Z)(Hn,2),me=kn[0],pt=kn[1];if(!Aa||!Ka.length)return[me,[],pt];var xt=Re(me),gn=Ho(),Et=(0,Ke.S)(xt,!0,gn),wn=Et.checkedKeys,Fn=Et.halfCheckedKeys;return[Ao(wn),Ao(Fn),pt]},[Aa,Ka,Ho,Ao,Qr]),Io=(0,Me.Z)(ja,3),ai=Io[0],oi=Io[1],Gr=Io[2],ii=he.useMemo(function(){var Hn=Re(ai),kn=ct(Hn,Ho,Oa);return[].concat((0,b.Z)(Gr),(0,b.Z)(Ao(kn)))},[ai,Ho,Ao,Gr,Oa]),Ko=gt(ii,nr,Tr,Aa,Bt),sl=(0,le.Z)(function(Hn){if(pr(Hn),Ue){var kn=aa(Hn),me=kn.map(function(gn){return Lt(gn,nr,Tr).map(function(Et){return Et.option})}),pt=Aa?kn:kn[0],xt=Aa?me:me[0];Ue(pt,xt)}}),wi=(0,le.Z)(function(Hn){if((!Aa||ra)&&uo(""),!Aa)sl(Hn);else{var kn=mt(Hn),me=Re(ai),pt=Re(oi),xt=me.includes(kn),gn=Gr.some(function(ca){return mt(ca)===kn}),Et=ai,wn=Gr;if(gn&&!xt)wn=Gr.filter(function(ca){return mt(ca)!==kn});else{var Fn=xt?me.filter(function(ca){return ca!==kn}):[].concat((0,b.Z)(me),[kn]),fn=Ho(),bn;if(xt){var Ma=(0,Ke.S)(Fn,{checked:!1,halfCheckedKeys:pt},fn);bn=Ma.checkedKeys}else{var or=(0,Ke.S)(Fn,!0,fn);bn=or.checkedKeys}var hr=ct(bn,Ho,Oa);Et=Ao(hr)}sl([].concat((0,b.Z)(wn),(0,b.Z)(Et)))}}),Ki=function(kn,me){if(me.type==="clear"){sl([]);return}var pt=me.values[0],xt=pt.valueCells;wi(xt)},ko=Wa!==void 0?Wa:oo,bl=jr||zt,Kl=er||vr,Ri=function(kn){_r==null||_r(kn),br==null||br(kn)},ji=he.useMemo(function(){return{options:nr,fieldNames:Tr,values:ai,halfValues:oi,changeOnSelect:Ye,onSelect:wi,checkable:un,searchOptions:fo,dropdownPrefixCls:La,loadData:ir,expandTrigger:Tn,expandIcon:wr,loadingIcon:oa,dropdownMenuColumnStyle:Ta}},[nr,Tr,ai,oi,Ye,wi,un,fo,La,ir,Tn,wr,oa,Ta]),dl=!(Br?fo:nr).length,Za=Br&&zr.matchInputWidth||dl?{}:{minWidth:"auto"};return he.createElement(x.Provider,{value:ji},he.createElement(_e.Ac,(0,tt.Z)({},hn,{ref:at,id:$n,prefixCls:St,autoClearSearchValue:ra,dropdownMatchSelectWidth:ua,dropdownStyle:Za,displayValues:Ko,onDisplayValuesChange:Ki,mode:Aa?"multiple":void 0,searchValue:Br,onSearch:Ha,showSearch:lr,OptionList:Pt,emptyOptions:dl,open:ko,dropdownClassName:bl,placement:Kl,onDropdownVisibleChange:Ri,getRawInputElement:function(){return $t}})))});tn.SHOW_PARENT=We,tn.SHOW_CHILD=Ne;var ba=tn,_a=ba,ya=oe(2738),zn=oe(62892),xa=oe(53487),dr=oe(19080),Ya=oe(36355),Jn=oe(93891),da=oe(1684),ea=oe(19716),ia=oe(32441),Ea=oe(14154),Va=oe(58582),yn=oe(84443),an=oe(66339),Ft=oe(33234),Gt=oe(98447),Da=oe(17313),pa=oe(74207),wa=oe(83116);const ha=Be=>{const{prefixCls:at,componentCls:st,antCls:bt}=Be,St=`${st}-menu-item`,mn=`
&${St}-expand ${St}-expand-icon,
${St}-loading-icon
`;return[{[st]:{width:Be.controlWidth}},{[`${st}-dropdown`]:[(0,Gt.C2)(`${at}-checkbox`,Be),{[`&${bt}-select-dropdown`]:{padding:0}},{[st]:{"&-checkbox":{top:0,marginInlineEnd:Be.paddingXS},"&-menus":{display:"flex",flexWrap:"nowrap",alignItems:"flex-start",[`&${st}-menu-empty`]:{[`${st}-menu`]:{width:"100%",height:"auto",[St]:{color:Be.colorTextDisabled}}}},"&-menu":{flexGrow:1,minWidth:Be.controlItemWidth,height:Be.dropdownHeight,margin:0,padding:Be.menuPadding,overflow:"auto",verticalAlign:"top",listStyle:"none","-ms-overflow-style":"-ms-autohiding-scrollbar","&:not(:last-child)":{borderInlineEnd:`${Be.lineWidth}px ${Be.lineType} ${Be.colorSplit}`},"&-item":Object.assign(Object.assign({},Da.vS),{display:"flex",flexWrap:"nowrap",alignItems:"center",padding:Be.optionPadding,lineHeight:Be.lineHeight,cursor:"pointer",transition:`all ${Be.motionDurationMid}`,borderRadius:Be.borderRadiusSM,"&:hover":{background:Be.controlItemBgHover},"&-disabled":{color:Be.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"},[mn]:{color:Be.colorTextDisabled}},[`&-active:not(${St}-disabled)`]:{"&, &:hover":{fontWeight:Be.optionSelectedFontWeight,backgroundColor:Be.optionSelectedBg}},"&-content":{flex:"auto"},[mn]:{marginInlineStart:Be.paddingXXS,color:Be.colorTextDescription,fontSize:Be.fontSizeIcon},"&-keyword":{color:Be.colorHighlight}})}}}]},{[`${st}-dropdown-rtl`]:{direction:"rtl"}},(0,pa.c)(Be)]};var Ga=(0,wa.Z)("Cascader",Be=>[ha(Be)],Be=>{const at=Math.round((Be.controlHeight-Be.fontSize*Be.lineHeight)/2);return{controlWidth:184,controlItemWidth:111,dropdownHeight:180,optionSelectedBg:Be.controlItemBgActive,optionSelectedFontWeight:Be.fontWeightStrong,optionPadding:`${at}px ${Be.paddingSM}px`,menuPadding:Be.paddingXXS}}),gr=function(Be,at){var st={};for(var bt in Be)Object.prototype.hasOwnProperty.call(Be,bt)&&at.indexOf(bt)<0&&(st[bt]=Be[bt]);if(Be!=null&&typeof Object.getOwnPropertySymbols=="function")for(var St=0,bt=Object.getOwnPropertySymbols(Be);St<bt.length;St++)at.indexOf(bt[St])<0&&Object.prototype.propertyIsEnumerable.call(Be,bt[St])&&(st[bt[St]]=Be[bt[St]]);return st};const{SHOW_CHILD:Ua,SHOW_PARENT:Cr}=_a;function ho(Be,at,st){const bt=Be.toLowerCase().split(at).reduce((Kt,Ge,Ye)=>Ye===0?[Ge]:[].concat((0,b.Z)(Kt),[at,Ge]),[]),St=[];let mn=0;return bt.forEach((Kt,Ge)=>{const Ye=mn+Kt.length;let Ue=Be.slice(mn,Ye);mn=Ye,Ge%2===1&&(Ue=he.createElement("span",{className:`${st}-menu-item-keyword`,key:`separator-${Ge}`},Ue)),St.push(Ue)}),St}const Ht=(Be,at,st,bt)=>{const St=[],mn=Be.toLowerCase();return at.forEach((Kt,Ge)=>{Ge!==0&&St.push(" / ");let Ye=Kt[bt.label];const Ue=typeof Ye;(Ue==="string"||Ue==="number")&&(Ye=ho(String(Ye),mn,st)),St.push(Ye)}),St},Zn=he.forwardRef((Be,at)=>{const{prefixCls:st,size:bt,disabled:St,className:mn,rootClassName:Kt,multiple:Ge,bordered:Ye=!0,transitionName:Ue,choiceTransitionName:Bt="",popupClassName:un,dropdownClassName:pn,expandIcon:ra,placement:Vn,showSearch:Ln,allowClear:jn=!0,notFoundContent:Tn,direction:jt,getPopupContainer:La,status:ir,showArrow:oo,builtinPlacements:Wa,style:zt}=Be,jr=gr(Be,["prefixCls","size","disabled","className","rootClassName","multiple","bordered","transitionName","choiceTransitionName","popupClassName","dropdownClassName","expandIcon","placement","showSearch","allowClear","notFoundContent","direction","getPopupContainer","status","showArrow","builtinPlacements","style"]),Ta=(0,ya.Z)(jr,["suffixIcon"]),{getPopupContainer:vr,getPrefixCls:er,renderEmpty:_r,direction:br,popupOverflow:qr,cascader:wr}=he.useContext(Ya.E_),oa=jt||br,$t=oa==="rtl",{status:Xa,hasFeedback:ua,isFormItemInput:tr,feedbackIcon:Oa}=he.useContext(ia.aM),hn=(0,dr.F)(Xa,ir),$n=Tn||(_r==null?void 0:_r("Cascader"))||he.createElement(Jn.Z,{componentName:"Cascader"}),Aa=er(),Wn=er("select",st),qa=er("cascader",st),[Ka,pr]=(0,Ea.Z)(Wn),[Tr]=Ga(qa),{compactSize:nr,compactItemClassnames:Ho}=(0,Ft.ri)(Wn,jt),Ao=xe()(un||pn,`${qa}-dropdown`,{[`${qa}-dropdown-rtl`]:oa==="rtl"},Kt,pr),hi=he.useMemo(()=>{if(!Ln)return Ln;let Gr={render:Ht};return typeof Ln=="object"&&(Gr=Object.assign(Object.assign({},Gr),Ln)),Gr},[Ln]),Pr=(0,ea.Z)(Gr=>{var ii;return(ii=bt!=null?bt:nr)!==null&&ii!==void 0?ii:Gr}),Br=he.useContext(da.Z),uo=St!=null?St:Br;let Ha=ra;ra||(Ha=$t?he.createElement(De.Z,null):he.createElement(ke.Z,null));const Zr=he.createElement("span",{className:`${Wn}-menu-item-loading-icon`},he.createElement(Ae.Z,{spin:!0})),Hr=he.useMemo(()=>Ge?he.createElement("span",{className:`${qa}-checkbox-inner`}):!1,[Ge]),lr=(0,yn.Z)(Be.suffixIcon,oo),{suffixIcon:zr,removeIcon:fo,clearIcon:Qr}=(0,an.Z)(Object.assign(Object.assign({},Be),{hasFeedback:ua,feedbackIcon:Oa,showSuffixIcon:lr,multiple:Ge,prefixCls:Wn,componentName:"Cascader"})),ja=he.useMemo(()=>Vn!==void 0?Vn:$t?"bottomRight":"bottomLeft",[Vn,$t]),Io=(0,Va.Z)(Wa,qr),ai=jn===!0?{clearIcon:Qr}:jn,oi=he.createElement(_a,Object.assign({prefixCls:Wn,className:xe()(!st&&qa,{[`${Wn}-lg`]:Pr==="large",[`${Wn}-sm`]:Pr==="small",[`${Wn}-rtl`]:$t,[`${Wn}-borderless`]:!Ye,[`${Wn}-in-form-item`]:tr},(0,dr.Z)(Wn,hn,ua),Ho,wr==null?void 0:wr.className,mn,Kt,pr),disabled:uo,style:Object.assign(Object.assign({},wr==null?void 0:wr.style),zt)},Ta,{builtinPlacements:Io,direction:oa,placement:ja,notFoundContent:$n,allowClear:ai,showSearch:hi,expandIcon:Ha,suffixIcon:zr,removeIcon:fo,loadingIcon:Zr,checkable:Hr,dropdownClassName:Ao,dropdownPrefixCls:st||qa,choiceTransitionName:(0,zn.m)(Aa,"",Bt),transitionName:(0,zn.m)(Aa,"slide-up",Ue),getPopupContainer:La||vr,ref:at}));return Tr(Ka(oi))}),qn=(0,xa.Z)(Zn);Zn.SHOW_PARENT=Cr,Zn.SHOW_CHILD=Ua,Zn._InternalPanelDoNotUseOrYouWillBeFired=qn;var Sa=Zn},36381:function(yt,kt,oe){"use strict";oe.d(kt,{default:function(){return Xt}});var b=oe(38819),he=oe(92310),De=oe.n(he),Ae=oe(5016),ke=oe(92393),ze=oe(52456),xe=oe(10928),tt=oe(18929),Me=oe(48736),Le=oe(59301),_e=oe(5883),He=oe(11592),Ke=oe(18082),le=oe(77900),E=oe(10228),a=Le.forwardRef(function(nt,Pt){var _n=nt.prefixCls,sn=nt.forceRender,Rt=nt.className,Mt=nt.style,Yn=nt.children,aa=nt.isActive,tn=nt.role,ba=Le.useState(aa||sn),_a=(0,ze.Z)(ba,2),ya=_a[0],zn=_a[1];return Le.useEffect(function(){(sn||aa)&&zn(!0)},[sn,aa]),ya?Le.createElement("div",{ref:Pt,className:De()("".concat(_n,"-content"),(0,Ke.Z)((0,Ke.Z)({},"".concat(_n,"-content-active"),aa),"".concat(_n,"-content-inactive"),!aa),Rt),style:Mt,role:tn},Le.createElement("div",{className:"".concat(_n,"-content-box")},Yn)):null});a.displayName="PanelContent";var x=a,y=["showArrow","headerClass","isActive","onItemClick","forceRender","className","prefixCls","collapsible","accordion","panelKey","extra","header","expandIcon","openMotion","destroyInactivePanel","children"],z=Le.forwardRef(function(nt,Pt){var _n=nt.showArrow,sn=_n===void 0?!0:_n,Rt=nt.headerClass,Mt=nt.isActive,Yn=nt.onItemClick,aa=nt.forceRender,tn=nt.className,ba=nt.prefixCls,_a=nt.collapsible,ya=nt.accordion,zn=nt.panelKey,xa=nt.extra,dr=nt.header,Ya=nt.expandIcon,Jn=nt.openMotion,da=nt.destroyInactivePanel,ea=nt.children,ia=(0,_e.Z)(nt,y),Ea=_a==="disabled",Va=_a==="header",yn=_a==="icon",an=xa!=null&&typeof xa!="boolean",Ft=function(){Yn==null||Yn(zn)},Gt=function(gr){(gr.key==="Enter"||gr.keyCode===E.Z.ENTER||gr.which===E.Z.ENTER)&&Ft()},Da=typeof Ya=="function"?Ya(nt):Le.createElement("i",{className:"arrow"});Da&&(Da=Le.createElement("div",{className:"".concat(ba,"-expand-icon"),onClick:["header","icon"].includes(_a)?Ft:void 0},Da));var pa=De()((0,Ke.Z)((0,Ke.Z)((0,Ke.Z)({},"".concat(ba,"-item"),!0),"".concat(ba,"-item-active"),Mt),"".concat(ba,"-item-disabled"),Ea),tn),wa=De()(Rt,(0,Ke.Z)((0,Ke.Z)((0,Ke.Z)({},"".concat(ba,"-header"),!0),"".concat(ba,"-header-collapsible-only"),Va),"".concat(ba,"-icon-collapsible-only"),yn)),ha={className:wa,"aria-expanded":Mt,"aria-disabled":Ea,onKeyDown:Gt};return!Va&&!yn&&(ha.onClick=Ft,ha.role=ya?"tab":"button",ha.tabIndex=Ea?-1:0),Le.createElement("div",(0,Ae.Z)({},ia,{ref:Pt,className:pa}),Le.createElement("div",ha,sn&&Da,Le.createElement("span",{className:"".concat(ba,"-header-text"),onClick:_a==="header"?Ft:void 0},dr),an&&Le.createElement("div",{className:"".concat(ba,"-extra")},xa)),Le.createElement(le.default,(0,Ae.Z)({visible:Mt,leavedClassName:"".concat(ba,"-content-hidden")},Jn,{forceRender:aa,removeOnLeave:da}),function(Ga,gr){var Ua=Ga.className,Cr=Ga.style;return Le.createElement(x,{ref:gr,prefixCls:ba,className:Ua,style:Cr,isActive:Mt,forceRender:aa,role:ya?"tabpanel":void 0},ea)}))}),te=z,ae=["children","label","key","collapsible","onItemClick","destroyInactivePanel"],se=function(Pt,_n){var sn=_n.prefixCls,Rt=_n.accordion,Mt=_n.collapsible,Yn=_n.destroyInactivePanel,aa=_n.onItemClick,tn=_n.activeKey,ba=_n.openMotion,_a=_n.expandIcon;return Pt.map(function(ya,zn){var xa=ya.children,dr=ya.label,Ya=ya.key,Jn=ya.collapsible,da=ya.onItemClick,ea=ya.destroyInactivePanel,ia=(0,_e.Z)(ya,ae),Ea=String(Ya!=null?Ya:zn),Va=Jn!=null?Jn:Mt,yn=ea!=null?ea:Yn,an=function(Da){Va!=="disabled"&&(aa(Da),da==null||da(Da))},Ft=!1;return Rt?Ft=tn[0]===Ea:Ft=tn.indexOf(Ea)>-1,Le.createElement(te,(0,Ae.Z)({},ia,{prefixCls:sn,key:Ea,panelKey:Ea,isActive:Ft,accordion:Rt,openMotion:ba,expandIcon:_a,header:dr,collapsible:Va,onItemClick:an,destroyInactivePanel:yn}),xa)})},ie=function(Pt,_n,sn){if(!Pt)return null;var Rt=sn.prefixCls,Mt=sn.accordion,Yn=sn.collapsible,aa=sn.destroyInactivePanel,tn=sn.onItemClick,ba=sn.activeKey,_a=sn.openMotion,ya=sn.expandIcon,zn=Pt.key||String(_n),xa=Pt.props,dr=xa.header,Ya=xa.headerClass,Jn=xa.destroyInactivePanel,da=xa.collapsible,ea=xa.onItemClick,ia=!1;Mt?ia=ba[0]===zn:ia=ba.indexOf(zn)>-1;var Ea=da!=null?da:Yn,Va=function(Ft){Ea!=="disabled"&&(tn(Ft),ea==null||ea(Ft))},yn={key:zn,panelKey:zn,header:dr,headerClass:Ya,isActive:ia,prefixCls:Rt,destroyInactivePanel:Jn!=null?Jn:aa,openMotion:_a,accordion:Mt,children:Pt.props.children,onItemClick:Va,expandIcon:ya,collapsible:Ea};return typeof Pt.type=="string"?Pt:(Object.keys(yn).forEach(function(an){typeof yn[an]=="undefined"&&delete yn[an]}),Le.cloneElement(Pt,yn))};function Se(nt,Pt,_n){return Array.isArray(nt)?se(nt,_n):(0,He.Z)(Pt).map(function(sn,Rt){return ie(sn,Rt,_n)})}var Fe=Se,We=oe(26112);function Ne(nt){var Pt=nt;if(!Array.isArray(Pt)){var _n=(0,xe.Z)(Pt);Pt=_n==="number"||_n==="string"?[Pt]:[]}return Pt.map(function(sn){return String(sn)})}var mt=Le.forwardRef(function(nt,Pt){var _n=nt.prefixCls,sn=_n===void 0?"rc-collapse":_n,Rt=nt.destroyInactivePanel,Mt=Rt===void 0?!1:Rt,Yn=nt.style,aa=nt.accordion,tn=nt.className,ba=nt.children,_a=nt.collapsible,ya=nt.openMotion,zn=nt.expandIcon,xa=nt.activeKey,dr=nt.defaultActiveKey,Ya=nt.onChange,Jn=nt.items,da=De()(sn,tn),ea=(0,tt.Z)([],{value:xa,onChange:function(Gt){return Ya==null?void 0:Ya(Gt)},defaultValue:dr,postState:Ne}),ia=(0,ze.Z)(ea,2),Ea=ia[0],Va=ia[1],yn=function(Gt){return Va(function(){if(aa)return Ea[0]===Gt?[]:[Gt];var Da=Ea.indexOf(Gt),pa=Da>-1;return pa?Ea.filter(function(wa){return wa!==Gt}):[].concat((0,ke.Z)(Ea),[Gt])})};(0,Me.ZP)(!ba,"[rc-collapse] `children` will be removed in next major version. Please use `items` instead.");var an=Fe(Jn,ba,{prefixCls:sn,accordion:aa,openMotion:ya,expandIcon:zn,collapsible:_a,destroyInactivePanel:Mt,onItemClick:yn,activeKey:Ea});return Le.createElement("div",(0,Ae.Z)({ref:Pt,className:da,style:Yn,role:aa?"tablist":void 0},(0,We.Z)(nt,{aria:!0,data:!0})),an)}),Re=Object.assign(mt,{Panel:te}),Je=Re,Qe=Re.Panel,et=oe(2738),we=oe(62892),ht=oe(92343),ct=oe(36355),Lt=oe(19716),Pn=Le.forwardRef((nt,Pt)=>{const{getPrefixCls:_n}=Le.useContext(ct.E_),{prefixCls:sn,className:Rt,showArrow:Mt=!0}=nt,Yn=_n("collapse",sn),aa=De()({[`${Yn}-no-arrow`]:!Mt},Rt);return Le.createElement(Je.Panel,Object.assign({ref:Pt},nt,{prefixCls:Yn,className:aa}))}),nn=oe(17313),Wt=oe(8378),_t=oe(83116),Te=oe(37613);const ot=nt=>{const{componentCls:Pt,contentBg:_n,padding:sn,headerBg:Rt,headerPadding:Mt,collapseHeaderPaddingSM:Yn,collapseHeaderPaddingLG:aa,collapsePanelBorderRadius:tn,lineWidth:ba,lineType:_a,colorBorder:ya,colorText:zn,colorTextHeading:xa,colorTextDisabled:dr,fontSize:Ya,fontSizeLG:Jn,lineHeight:da,marginSM:ea,paddingSM:ia,paddingLG:Ea,paddingXS:Va,motionDurationSlow:yn,fontSizeIcon:an,contentPadding:Ft}=nt,Gt=`${ba}px ${_a} ${ya}`;return{[Pt]:Object.assign(Object.assign({},(0,nn.Wf)(nt)),{backgroundColor:Rt,border:Gt,borderBottom:0,borderRadius:`${tn}px`,"&-rtl":{direction:"rtl"},[`& > ${Pt}-item`]:{borderBottom:Gt,"&:last-child":{[`
&,
& > ${Pt}-header`]:{borderRadius:`0 0 ${tn}px ${tn}px`}},[`> ${Pt}-header`]:{position:"relative",display:"flex",flexWrap:"nowrap",alignItems:"flex-start",padding:Mt,color:xa,lineHeight:da,cursor:"pointer",transition:`all ${yn}, visibility 0s`,[`> ${Pt}-header-text`]:{flex:"auto"},"&:focus":{outline:"none"},[`${Pt}-expand-icon`]:{height:Ya*da,display:"flex",alignItems:"center",paddingInlineEnd:ea},[`${Pt}-arrow`]:Object.assign(Object.assign({},(0,nn.Ro)()),{fontSize:an,svg:{transition:`transform ${yn}`}}),[`${Pt}-header-text`]:{marginInlineEnd:"auto"}},[`${Pt}-header-collapsible-only`]:{cursor:"default",[`${Pt}-header-text`]:{flex:"none",cursor:"pointer"}},[`${Pt}-icon-collapsible-only`]:{cursor:"default",[`${Pt}-expand-icon`]:{cursor:"pointer"}}},[`${Pt}-content`]:{color:zn,backgroundColor:_n,borderTop:Gt,[`& > ${Pt}-content-box`]:{padding:Ft},"&-hidden":{display:"none"}},"&-small":{[`> ${Pt}-item`]:{[`> ${Pt}-header`]:{padding:Yn,paddingInlineStart:Va,[`> ${Pt}-expand-icon`]:{marginInlineStart:ia-Va}},[`> ${Pt}-content > ${Pt}-content-box`]:{padding:ia}}},"&-large":{[`> ${Pt}-item`]:{fontSize:Jn,[`> ${Pt}-header`]:{padding:aa,paddingInlineStart:sn,[`> ${Pt}-expand-icon`]:{height:Jn*da,marginInlineStart:Ea-sn}},[`> ${Pt}-content > ${Pt}-content-box`]:{padding:Ea}}},[`${Pt}-item:last-child`]:{[`> ${Pt}-content`]:{borderRadius:`0 0 ${tn}px ${tn}px`}},[`& ${Pt}-item-disabled > ${Pt}-header`]:{"\n &,\n & > .arrow\n ":{color:dr,cursor:"not-allowed"}},[`&${Pt}-icon-position-end`]:{[`& > ${Pt}-item`]:{[`> ${Pt}-header`]:{[`${Pt}-expand-icon`]:{order:1,paddingInlineEnd:0,paddingInlineStart:ea}}}}})}},Ut=nt=>{const{componentCls:Pt}=nt,_n=`> ${Pt}-item > ${Pt}-header ${Pt}-arrow svg`;return{[`${Pt}-rtl`]:{[_n]:{transform:"rotate(180deg)"}}}},xn=nt=>{const{componentCls:Pt,headerBg:_n,paddingXXS:sn,colorBorder:Rt}=nt;return{[`${Pt}-borderless`]:{backgroundColor:_n,border:0,[`> ${Pt}-item`]:{borderBottom:`1px solid ${Rt}`},[`
> ${Pt}-item:last-child,
> ${Pt}-item:last-child ${Pt}-header
`]:{borderRadius:0},[`> ${Pt}-item:last-child`]:{borderBottom:0},[`> ${Pt}-item > ${Pt}-content`]:{backgroundColor:"transparent",borderTop:0},[`> ${Pt}-item > ${Pt}-content > ${Pt}-content-box`]:{paddingTop:sn}}}},At=nt=>{const{componentCls:Pt,paddingSM:_n}=nt;return{[`${Pt}-ghost`]:{backgroundColor:"transparent",border:0,[`> ${Pt}-item`]:{borderBottom:0,[`> ${Pt}-content`]:{backgroundColor:"transparent",border:0,[`> ${Pt}-content-box`]:{paddingBlock:_n}}}}}};var ln=(0,_t.Z)("Collapse",nt=>{const Pt=(0,Te.TS)(nt,{collapseHeaderPaddingSM:`${nt.paddingXS}px ${nt.paddingSM}px`,collapseHeaderPaddingLG:`${nt.padding}px ${nt.paddingLG}px`,collapsePanelBorderRadius:nt.borderRadiusLG});return[ot(Pt),xn(Pt),At(Pt),Ut(Pt),(0,Wt.Z)(Pt)]},nt=>({headerPadding:`${nt.paddingSM}px ${nt.padding}px`,headerBg:nt.colorFillAlter,contentPadding:`${nt.padding}px 16px`,contentBg:nt.colorBgContainer})),ut=Object.assign(Le.forwardRef((nt,Pt)=>{const{getPrefixCls:_n,direction:sn,collapse:Rt}=Le.useContext(ct.E_),{prefixCls:Mt,className:Yn,rootClassName:aa,style:tn,bordered:ba=!0,ghost:_a,size:ya,expandIconPosition:zn="start",children:xa,expandIcon:dr}=nt,Ya=(0,Lt.Z)(Gt=>{var Da;return(Da=ya!=null?ya:Gt)!==null&&Da!==void 0?Da:"middle"}),Jn=_n("collapse",Mt),da=_n(),[ea,ia]=ln(Jn),Ea=Le.useMemo(()=>zn==="left"?"start":zn==="right"?"end":zn,[zn]),Va=function(){let Gt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const Da=dr?dr(Gt):Le.createElement(b.Z,{rotate:Gt.isActive?90:void 0});return(0,ht.Tm)(Da,()=>({className:De()(Da.props.className,`${Jn}-arrow`)}))},yn=De()(`${Jn}-icon-position-${Ea}`,{[`${Jn}-borderless`]:!ba,[`${Jn}-rtl`]:sn==="rtl",[`${Jn}-ghost`]:!!_a,[`${Jn}-${Ya}`]:Ya!=="middle"},Rt==null?void 0:Rt.className,Yn,aa,ia),an=Object.assign(Object.assign({},(0,we.Z)(da)),{motionAppear:!1,leavedClassName:`${Jn}-content-hidden`}),Ft=Le.useMemo(()=>xa?(0,He.Z)(xa).map((Gt,Da)=>{var pa,wa;if(!((pa=Gt.props)===null||pa===void 0)&&pa.disabled){const ha=(wa=Gt.key)!==null&&wa!==void 0?wa:String(Da),{disabled:Ga,collapsible:gr}=Gt.props,Ua=Object.assign(Object.assign({},(0,et.Z)(Gt.props,["disabled"])),{key:ha,collapsible:gr!=null?gr:Ga?"disabled":void 0});return(0,ht.Tm)(Gt,Ua)}return Gt}):null,[xa]);return ea(Le.createElement(Je,Object.assign({ref:Pt,openMotion:an},(0,et.Z)(nt,["rootClassName"]),{expandIcon:Va,prefixCls:Jn,className:yn,style:Object.assign(Object.assign({},Rt==null?void 0:Rt.style),tn)}),Ft))}),{Panel:Pn}),Xt=ut},5083:function(yt,kt,oe){"use strict";oe.d(kt,{default:function(){return fs}});var b=oe(61186),he=oe.n(b),De=oe(48736),Ae=oe(90111),ke=oe.n(Ae),ze=oe(58319),xe=oe.n(ze),tt=oe(23250),Me=oe.n(tt),Le=oe(74959),_e=oe.n(Le),He=oe(10238),Ke=oe.n(He),le=oe(33656),E=oe.n(le);he().extend(E()),he().extend(Ke()),he().extend(ke()),he().extend(xe()),he().extend(Me()),he().extend(_e()),he().extend(function(ce,ge){var fe=ge.prototype,Ie=fe.format;fe.format=function(dt){var rt=(dt||"").replace("Wo","wo");return Ie.bind(this)(rt)}});var a={bn_BD:"bn-bd",by_BY:"be",en_GB:"en-gb",en_US:"en",fr_BE:"fr",fr_CA:"fr-ca",hy_AM:"hy-am",kmr_IQ:"ku",nl_BE:"nl-be",pt_BR:"pt-br",zh_CN:"zh-cn",zh_HK:"zh-hk",zh_TW:"zh-tw"},x=function(ge){var fe=a[ge];return fe||ge.split("_")[0]},y=function(){(0,De.ET)(!1,"Not match any format. Please help to fire a issue about this.")},z={getNow:function(){return he()()},getFixedDate:function(ge){return he()(ge,["YYYY-M-DD","YYYY-MM-DD"])},getEndDate:function(ge){return ge.endOf("month")},getWeekDay:function(ge){var fe=ge.locale("en");return fe.weekday()+fe.localeData().firstDayOfWeek()},getYear:function(ge){return ge.year()},getMonth:function(ge){return ge.month()},getDate:function(ge){return ge.date()},getHour:function(ge){return ge.hour()},getMinute:function(ge){return ge.minute()},getSecond:function(ge){return ge.second()},addYear:function(ge,fe){return ge.add(fe,"year")},addMonth:function(ge,fe){return ge.add(fe,"month")},addDate:function(ge,fe){return ge.add(fe,"day")},setYear:function(ge,fe){return ge.year(fe)},setMonth:function(ge,fe){return ge.month(fe)},setDate:function(ge,fe){return ge.date(fe)},setHour:function(ge,fe){return ge.hour(fe)},setMinute:function(ge,fe){return ge.minute(fe)},setSecond:function(ge,fe){return ge.second(fe)},isAfter:function(ge,fe){return ge.isAfter(fe)},isValidate:function(ge){return ge.isValid()},locale:{getWeekFirstDay:function(ge){return he()().locale(x(ge)).localeData().firstDayOfWeek()},getWeekFirstDate:function(ge,fe){return fe.locale(x(ge)).weekday(0)},getWeek:function(ge,fe){return fe.locale(x(ge)).week()},getShortWeekDays:function(ge){return he()().locale(x(ge)).localeData().weekdaysMin()},getShortMonths:function(ge){return he()().locale(x(ge)).localeData().monthsShort()},format:function(ge,fe,Ie){return fe.locale(x(ge)).format(Ie)},parse:function(ge,fe,Ie){for(var Oe=x(ge),dt=0;dt<Ie.length;dt+=1){var rt=Ie[dt],Nt=fe;if(rt.includes("wo")||rt.includes("Wo")){for(var wt=Nt.split("-")[0],It=Nt.split("-")[1],Gn=he()(wt,"YYYY").startOf("year").locale(Oe),rn=0;rn<=52;rn+=1){var dn=Gn.add(rn,"week");if(dn.format("Wo")===It)return dn}return y(),null}var Nn=he()(Nt,rt,!0).locale(Oe);if(Nn.isValid())return Nn}return fe&&y(),null}}},te=z,ae=oe(53487),se=oe(5016),ie=oe(59301),Se={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V460h656v380zM184 392V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v136H184z"}}]},name:"calendar",theme:"outlined"},Fe=Se,We=oe(7657),Ne=function(ge,fe){return ie.createElement(We.Z,(0,se.Z)({},ge,{ref:fe,icon:Fe}))},mt=ie.forwardRef(Ne),Re=mt,Je={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:"M686.7 638.6L544.1 535.5V288c0-4.4-3.6-8-8-8H488c-4.4 0-8 3.6-8 8v275.4c0 2.6 1.2 5 3.3 6.5l165.4 120.6c3.6 2.6 8.6 1.8 11.2-1.7l28.6-39c2.6-3.7 1.8-8.7-1.8-11.2z"}}]},name:"clock-circle",theme:"outlined"},Qe=Je,et=function(ge,fe){return ie.createElement(We.Z,(0,se.Z)({},ge,{ref:fe,icon:Qe}))},we=ie.forwardRef(et),ht=we,ct=oe(19248),Lt={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M873.1 596.2l-164-208A32 32 0 00684 376h-64.8c-6.7 0-10.4 7.7-6.3 13l144.3 183H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h695.9c26.8 0 41.7-30.8 25.2-51.8z"}}]},name:"swap-right",theme:"outlined"},gt=Lt,Pn=function(ge,fe){return ie.createElement(We.Z,(0,se.Z)({},ge,{ref:fe,icon:gt}))},nn=ie.forwardRef(Pn),Wt=nn,_t=oe(92310),Te=oe.n(_t),ot=oe(6487),Ut=oe(56789),xn=oe(41281),At=oe(7942),ln=oe(76773),Ce=oe(18082),ut=oe(20049),Xt=oe(52456),nt=oe(18929),Pt=oe(26112),_n=oe(80547),sn=oe(13697),Rt=10,Mt=Rt*10,Yn=7;function aa(ce,ge){if(!ce&&!ge)return!0;if(!ce||!ge)return!1}function tn(ce,ge,fe){var Ie=aa(ge,fe);if(typeof Ie=="boolean")return Ie;var Oe=Math.floor(ce.getYear(ge)/10),dt=Math.floor(ce.getYear(fe)/10);return Oe===dt}function ba(ce,ge,fe){var Ie=aa(ge,fe);return typeof Ie=="boolean"?Ie:ce.getYear(ge)===ce.getYear(fe)}function _a(ce,ge){var fe=Math.floor(ce.getMonth(ge)/3);return fe+1}function ya(ce,ge,fe){var Ie=aa(ge,fe);return typeof Ie=="boolean"?Ie:ba(ce,ge,fe)&&_a(ce,ge)===_a(ce,fe)}function zn(ce,ge,fe){var Ie=aa(ge,fe);return typeof Ie=="boolean"?Ie:ba(ce,ge,fe)&&ce.getMonth(ge)===ce.getMonth(fe)}function xa(ce,ge,fe){var Ie=aa(ge,fe);return typeof Ie=="boolean"?Ie:ce.getYear(ge)===ce.getYear(fe)&&ce.getMonth(ge)===ce.getMonth(fe)&&ce.getDate(ge)===ce.getDate(fe)}function dr(ce,ge,fe){var Ie=aa(ge,fe);return typeof Ie=="boolean"?Ie:ce.getHour(ge)===ce.getHour(fe)&&ce.getMinute(ge)===ce.getMinute(fe)&&ce.getSecond(ge)===ce.getSecond(fe)}function Ya(ce,ge,fe,Ie){var Oe=aa(fe,Ie);return typeof Oe=="boolean"?Oe:ba(ce,fe,Ie)&&ce.locale.getWeek(ge,fe)===ce.locale.getWeek(ge,Ie)}function Jn(ce,ge,fe){return xa(ce,ge,fe)&&dr(ce,ge,fe)}function da(ce,ge,fe,Ie){return!ge||!fe||!Ie?!1:!xa(ce,ge,Ie)&&!xa(ce,fe,Ie)&&ce.isAfter(Ie,ge)&&ce.isAfter(fe,Ie)}function ea(ce,ge,fe){var Ie=ge.locale.getWeekFirstDay(ce),Oe=ge.setDate(fe,1),dt=ge.getWeekDay(Oe),rt=ge.addDate(Oe,Ie-dt);return ge.getMonth(rt)===ge.getMonth(fe)&&ge.getDate(rt)>1&&(rt=ge.addDate(rt,-7)),rt}function ia(ce,ge,fe){var Ie=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;switch(ge){case"year":return fe.addYear(ce,Ie*10);case"quarter":case"month":return fe.addYear(ce,Ie);default:return fe.addMonth(ce,Ie)}}function Ea(ce,ge){var fe=ge.generateConfig,Ie=ge.locale,Oe=ge.format;return typeof Oe=="function"?Oe(ce):fe.locale.format(Ie.locale,ce,Oe)}function Va(ce,ge){var fe=ge.generateConfig,Ie=ge.locale,Oe=ge.formatList;return!ce||typeof Oe[0]=="function"?null:fe.locale.parse(Ie.locale,ce,Oe)}function yn(ce){var ge=ce.cellDate,fe=ce.mode,Ie=ce.disabledDate,Oe=ce.generateConfig;if(!Ie)return!1;var dt=function(In,Dt,Vt){for(var On=Dt;On<=Vt;){var on=void 0;switch(In){case"date":{if(on=Oe.setDate(ge,On),!Ie(on))return!1;break}case"month":{if(on=Oe.setMonth(ge,On),!yn({cellDate:on,mode:"month",generateConfig:Oe,disabledDate:Ie}))return!1;break}case"year":{if(on=Oe.setYear(ge,On),!yn({cellDate:on,mode:"year",generateConfig:Oe,disabledDate:Ie}))return!1;break}}On+=1}return!0};switch(fe){case"date":case"week":return Ie(ge);case"month":{var rt=1,Nt=Oe.getDate(Oe.getEndDate(ge));return dt("date",rt,Nt)}case"quarter":{var wt=Math.floor(Oe.getMonth(ge)/3)*3,It=wt+2;return dt("month",wt,It)}case"year":return dt("month",0,11);case"decade":{var Gn=Oe.getYear(ge),rn=Math.floor(Gn/Rt)*Rt,dn=rn+Rt-1;return dt("year",rn,dn)}}}function an(ce,ge){var fe=ge.formatList,Ie=ge.generateConfig,Oe=ge.locale;return(0,_n.Z)(function(){if(!ce)return[[""],""];for(var dt="",rt=[],Nt=0;Nt<fe.length;Nt+=1){var wt=fe[Nt],It=Ea(ce,{generateConfig:Ie,locale:Oe,format:wt});rt.push(It),Nt===0&&(dt=It)}return[rt,dt]},[ce,fe,Oe],function(dt,rt){return!Jn(Ie,dt[0],rt[0])||!(0,sn.Z)(dt[1],rt[1],!0)||!(0,sn.Z)(dt[2],rt[2],!0)})}function Ft(ce,ge){var fe=ge.formatList,Ie=ge.generateConfig,Oe=ge.locale,dt=(0,ie.useState)(null),rt=(0,Xt.Z)(dt,2),Nt=rt[0],wt=rt[1],It=(0,ie.useRef)(null);function Gn(Vt){var On=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(cancelAnimationFrame(It.current),On){wt(Vt);return}It.current=requestAnimationFrame(function(){wt(Vt)})}var rn=an(Nt,{formatList:fe,generateConfig:Ie,locale:Oe}),dn=(0,Xt.Z)(rn,2),Nn=dn[1];function In(Vt){Gn(Vt)}function Dt(){var Vt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;Gn(null,Vt)}return(0,ie.useEffect)(function(){Dt(!0)},[ce]),(0,ie.useEffect)(function(){return function(){return cancelAnimationFrame(It.current)}},[]),[Nn,In,Dt]}var Gt=oe(10228),Da=oe(16089),pa=oe(92393),wa=oe(29194),ha=new Map;function Ga(ce,ge){var fe;function Ie(){(0,wa.Z)(ce)?ge():fe=(0,Da.Z)(function(){Ie()})}return Ie(),function(){Da.Z.cancel(fe)}}function gr(ce,ge,fe){if(ha.get(ce)&&cancelAnimationFrame(ha.get(ce)),fe<=0){ha.set(ce,requestAnimationFrame(function(){ce.scrollTop=ge}));return}var Ie=ge-ce.scrollTop,Oe=Ie/fe*10;ha.set(ce,requestAnimationFrame(function(){ce.scrollTop+=Oe,ce.scrollTop!==ge&&gr(ce,ge,fe-10)}))}function Ua(ce,ge){var fe=ge.onLeftRight,Ie=ge.onCtrlLeftRight,Oe=ge.onUpDown,dt=ge.onPageUpDown,rt=ge.onEnter,Nt=ce.which,wt=ce.ctrlKey,It=ce.metaKey;switch(Nt){case Gt.Z.LEFT:if(wt||It){if(Ie)return Ie(-1),!0}else if(fe)return fe(-1),!0;break;case Gt.Z.RIGHT:if(wt||It){if(Ie)return Ie(1),!0}else if(fe)return fe(1),!0;break;case Gt.Z.UP:if(Oe)return Oe(-1),!0;break;case Gt.Z.DOWN:if(Oe)return Oe(1),!0;break;case Gt.Z.PAGE_UP:if(dt)return dt(-1),!0;break;case Gt.Z.PAGE_DOWN:if(dt)return dt(1),!0;break;case Gt.Z.ENTER:if(rt)return rt(),!0;break}return!1}function Cr(ce,ge,fe,Ie){var Oe=ce;if(!Oe)switch(ge){case"time":Oe=Ie?"hh:mm:ss a":"HH:mm:ss";break;case"week":Oe="gggg-wo";break;case"month":Oe="YYYY-MM";break;case"quarter":Oe="YYYY-[Q]Q";break;case"year":Oe="YYYY";break;default:Oe=fe?"YYYY-MM-DD HH:mm:ss":"YYYY-MM-DD"}return Oe}function ho(ce,ge,fe){var Ie=ce==="time"?8:10,Oe=typeof ge=="function"?ge(fe.getNow()).length:ge.length;return Math.max(Ie,Oe)+2}var Ht=null,Zn=new Set;function qn(ce){return!Ht&&typeof window!="undefined"&&window.addEventListener&&(Ht=function(fe){(0,pa.Z)(Zn).forEach(function(Ie){Ie(fe)})},window.addEventListener("mousedown",Ht)),Zn.add(ce),function(){Zn.delete(ce),Zn.size===0&&(window.removeEventListener("mousedown",Ht),Ht=null)}}function Sa(ce){var ge=ce.target;if(ce.composed&&ge.shadowRoot){var fe;return((fe=ce.composedPath)===null||fe===void 0?void 0:fe.call(ce)[0])||ge}return ge}var Be=function(ge){return ge==="month"||ge==="date"?"year":ge},at=function(ge){return ge==="date"?"month":ge},st=function(ge){return ge==="month"||ge==="date"?"quarter":ge},bt=function(ge){return ge==="date"?"week":ge},St={year:Be,month:at,quarter:st,week:bt,time:null,date:null};function mn(ce,ge){return ce.some(function(fe){return fe&&fe.contains(ge)})}function Kt(ce){var ge=ce.open,fe=ce.value,Ie=ce.isClickOutside,Oe=ce.triggerOpen,dt=ce.forwardKeyDown,rt=ce.onKeyDown,Nt=ce.blurToCancel,wt=ce.onSubmit,It=ce.onCancel,Gn=ce.onFocus,rn=ce.onBlur,dn=ce.changeOnBlur,Nn=(0,ie.useState)(!1),In=(0,Xt.Z)(Nn,2),Dt=In[0],Vt=In[1],On=(0,ie.useState)(!1),on=(0,Xt.Z)(On,2),sa=on[0],Ca=on[1],Ra=(0,ie.useRef)(!1),Ba=(0,ie.useRef)(!1),ga=(0,ie.useRef)(!1),Rr={onMouseDown:function(){Vt(!0),Oe(!0)},onKeyDown:function(Lr){var $r=function(){ga.current=!0};if(rt(Lr,$r),!ga.current){switch(Lr.which){case Gt.Z.ENTER:{ge?wt()!==!1&&Vt(!0):Oe(!0),Lr.preventDefault();return}case Gt.Z.TAB:{Dt&&ge&&!Lr.shiftKey?(Vt(!1),Lr.preventDefault()):!Dt&&ge&&!dt(Lr)&&Lr.shiftKey&&(Vt(!0),Lr.preventDefault());return}case Gt.Z.ESC:{Vt(!0),It();return}}!ge&&![Gt.Z.SHIFT].includes(Lr.which)?Oe(!0):Dt||dt(Lr)}},onFocus:function(Lr){Vt(!0),Ca(!0),Gn&&Gn(Lr)},onBlur:function(Lr){if(Ra.current||!Ie(document.activeElement)){Ra.current=!1;return}Nt?setTimeout(function(){for(var $r=document,io=$r.activeElement;io&&io.shadowRoot;)io=io.shadowRoot.activeElement;Ie(io)&&It()},0):ge&&(Oe(!1),Ba.current&&wt()),Ca(!1),rn==null||rn(Lr)}};return(0,ie.useEffect)(function(){Ba.current=!1},[ge]),(0,ie.useEffect)(function(){Ba.current=!0},[fe]),(0,ie.useEffect)(function(){return qn(function(ur){var Lr=Sa(ur),$r=Ie(Lr);ge&&($r?!dn&&(!sa||$r)&&Oe(!1):(Ra.current=!0,(0,Da.Z)(function(){Ra.current=!1})))})}),[Rr,{focused:sa,typing:Dt}]}function Ge(ce,ge){return ie.useMemo(function(){return ce||(ge?((0,De.ZP)(!1,"`ranges` is deprecated. Please use `presets` instead."),Object.entries(ge).map(function(fe){var Ie=(0,Xt.Z)(fe,2),Oe=Ie[0],dt=Ie[1];return{label:Oe,value:dt}})):[])},[ce,ge])}var Ye=oe(34280);function Ue(ce){var ge=ce.valueTexts,fe=ce.onTextChange,Ie=ie.useState(""),Oe=(0,Xt.Z)(Ie,2),dt=Oe[0],rt=Oe[1],Nt=ie.useRef([]);Nt.current=ge;function wt(Gn){rt(Gn),fe(Gn)}function It(){rt(Nt.current[0])}return(0,Ye.Z)(function(){ge.every(function(Gn){return Gn!==dt})&&It()},[ge.join("||")]),[dt,wt,It]}var Bt=ie.createContext({}),un=Bt,pn=oe(10928);function ra(ce){var ge=ce.cellRender,fe=ce.monthCellRender,Ie=ce.dateRender,Oe=ie.useMemo(function(){if(ge)return ge;if(!(!fe&&!Ie))return function(dt,rt){var Nt=dt;return Ie&&rt.type==="date"?Ie(Nt,rt.today):fe&&rt.type==="month"?fe(Nt,rt.locale):rt.originNode}},[ge,fe,Ie]);return Oe}function Vn(ce,ge){for(var fe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0",Ie=String(ce);Ie.length<ge;)Ie="".concat(fe).concat(ce);return Ie}var Ln=function(){for(var ge=arguments.length,fe=new Array(ge),Ie=0;Ie<ge;Ie++)fe[Ie]=arguments[Ie];return fe};function jn(ce){return ce==null?[]:Array.isArray(ce)?ce:[ce]}function Tn(ce,ge){return ce?ce[ge]:null}function jt(ce,ge,fe){var Ie=[Tn(ce,0),Tn(ce,1)];return Ie[fe]=typeof ge=="function"?ge(Ie[fe]):ge,!Ie[0]&&!Ie[1]?null:Ie}function La(ce){return typeof ce=="function"?ce():ce}function ir(ce){var ge=ce.cellPrefixCls,fe=ce.generateConfig,Ie=ce.rangedValue,Oe=ce.hoverRangedValue,dt=ce.isInView,rt=ce.isSameCell,Nt=ce.offsetCell,wt=ce.today,It=ce.value;function Gn(rn){var dn,Nn=Nt(rn,-1),In=Nt(rn,1),Dt=Tn(Ie,0),Vt=Tn(Ie,1),On=Tn(Oe,0),on=Tn(Oe,1),sa=da(fe,On,on,rn);function Ca(Lr){return rt(Dt,Lr)}function Ra(Lr){return rt(Vt,Lr)}var Ba=rt(On,rn),ga=rt(on,rn),Rr=(sa||ga)&&(!dt(Nn)||Ra(Nn)),ur=(sa||Ba)&&(!dt(In)||Ca(In));return dn={},(0,Ce.Z)(dn,"".concat(ge,"-in-view"),dt(rn)),(0,Ce.Z)(dn,"".concat(ge,"-in-range"),da(fe,Dt,Vt,rn)),(0,Ce.Z)(dn,"".concat(ge,"-range-start"),Ca(rn)),(0,Ce.Z)(dn,"".concat(ge,"-range-end"),Ra(rn)),(0,Ce.Z)(dn,"".concat(ge,"-range-start-single"),Ca(rn)&&!Vt),(0,Ce.Z)(dn,"".concat(ge,"-range-end-single"),Ra(rn)&&!Dt),(0,Ce.Z)(dn,"".concat(ge,"-range-start-near-hover"),Ca(rn)&&(rt(Nn,On)||da(fe,On,on,Nn))),(0,Ce.Z)(dn,"".concat(ge,"-range-end-near-hover"),Ra(rn)&&(rt(In,on)||da(fe,On,on,In))),(0,Ce.Z)(dn,"".concat(ge,"-range-hover"),sa),(0,Ce.Z)(dn,"".concat(ge,"-range-hover-start"),Ba),(0,Ce.Z)(dn,"".concat(ge,"-range-hover-end"),ga),(0,Ce.Z)(dn,"".concat(ge,"-range-hover-edge-start"),Rr),(0,Ce.Z)(dn,"".concat(ge,"-range-hover-edge-end"),ur),(0,Ce.Z)(dn,"".concat(ge,"-range-hover-edge-start-near-range"),Rr&&rt(Nn,Vt)),(0,Ce.Z)(dn,"".concat(ge,"-range-hover-edge-end-near-range"),ur&&rt(In,Dt)),(0,Ce.Z)(dn,"".concat(ge,"-today"),rt(wt,rn)),(0,Ce.Z)(dn,"".concat(ge,"-selected"),rt(It,rn)),dn}return Gn}var oo=ie.createContext({}),Wa=oo;function zt(ce,ge,fe,Ie,Oe){var dt=ce.setHour(ge,fe);return dt=ce.setMinute(dt,Ie),dt=ce.setSecond(dt,Oe),dt}function jr(ce,ge,fe){if(!fe)return ge;var Ie=ge;return Ie=ce.setHour(Ie,ce.getHour(fe)),Ie=ce.setMinute(Ie,ce.getMinute(fe)),Ie=ce.setSecond(Ie,ce.getSecond(fe)),Ie}function Ta(ce,ge,fe,Ie,Oe,dt){var rt=Math.floor(ce/Ie)*Ie;if(rt<ce)return[rt,60-Oe,60-dt];var Nt=Math.floor(ge/Oe)*Oe;if(Nt<ge)return[rt,Nt,60-dt];var wt=Math.floor(fe/dt)*dt;return[rt,Nt,wt]}function vr(ce,ge){var fe=ce.getYear(ge),Ie=ce.getMonth(ge)+1,Oe=ce.getEndDate(ce.getFixedDate("".concat(fe,"-").concat(Ie,"-01"))),dt=ce.getDate(Oe),rt=Ie<10?"0".concat(Ie):"".concat(Ie);return"".concat(fe,"-").concat(rt,"-").concat(dt)}function er(ce){for(var ge=ce.prefixCls,fe=ce.disabledDate,Ie=ce.onSelect,Oe=ce.picker,dt=ce.rowNum,rt=ce.colNum,Nt=ce.prefixColumn,wt=ce.rowClassName,It=ce.baseDate,Gn=ce.getCellClassName,rn=ce.getCellText,dn=ce.getCellNode,Nn=ce.getCellDate,In=ce.generateConfig,Dt=ce.titleCell,Vt=ce.headerCells,On=ie.useContext(un),on=On.onDateMouseEnter,sa=On.onDateMouseLeave,Ca=On.mode,Ra="".concat(ge,"-cell"),Ba=[],ga=0;ga<dt;ga+=1){for(var Rr=[],ur=void 0,Lr=function(){var Mn,Yo=ga*rt+$r,mo=Nn(It,Yo),Yr=yn({cellDate:mo,mode:Ca,disabledDate:fe,generateConfig:In});$r===0&&(ur=mo,Nt&&Rr.push(Nt(ur)));var eo=Dt&&Dt(mo),yo=ie.createElement("div",{className:"".concat(Ra,"-inner")},rn(mo));Rr.push(ie.createElement("td",{key:$r,title:eo,className:Te()(Ra,(0,ut.Z)((Mn={},(0,Ce.Z)(Mn,"".concat(Ra,"-disabled"),Yr),(0,Ce.Z)(Mn,"".concat(Ra,"-start"),rn(mo)===1||Oe==="year"&&Number(eo)%10===0),(0,Ce.Z)(Mn,"".concat(Ra,"-end"),eo===vr(In,mo)||Oe==="year"&&Number(eo)%10===9),Mn),Gn(mo))),onClick:function(){Yr||Ie(mo)},onMouseEnter:function(){!Yr&&on&&on(mo)},onMouseLeave:function(){!Yr&&sa&&sa(mo)}},dn?dn(mo,yo):yo))},$r=0;$r<rt;$r+=1)Lr();Ba.push(ie.createElement("tr",{key:ga,className:wt&&wt(ur)},Rr))}return ie.createElement("div",{className:"".concat(ge,"-body")},ie.createElement("table",{className:"".concat(ge,"-content")},Vt&&ie.createElement("thead",null,ie.createElement("tr",null,Vt)),ie.createElement("tbody",null,Ba)))}function _r(ce){var ge=ce.prefixCls,fe=ce.generateConfig,Ie=ce.prefixColumn,Oe=ce.locale,dt=ce.rowCount,rt=ce.viewDate,Nt=ce.value,wt=ce.cellRender,It=ce.isSameCell,Gn=ie.useContext(Wa),rn=Gn.rangedValue,dn=Gn.hoverRangedValue,Nn=ea(Oe.locale,fe,rt),In="".concat(ge,"-cell"),Dt=fe.locale.getWeekFirstDay(Oe.locale),Vt=fe.getNow(),On=[],on=Oe.shortWeekDays||(fe.locale.getShortWeekDays?fe.locale.getShortWeekDays(Oe.locale):[]);Ie&&On.push(ie.createElement("th",{key:"empty","aria-label":"empty cell"}));for(var sa=0;sa<Yn;sa+=1)On.push(ie.createElement("th",{key:sa},on[(sa+Dt)%Yn]));var Ca=ir({cellPrefixCls:In,today:Vt,value:Nt,generateConfig:fe,rangedValue:Ie?null:rn,hoverRangedValue:Ie?null:dn,isSameCell:It||function(Ba,ga){return xa(fe,Ba,ga)},isInView:function(ga){return zn(fe,ga,rt)},offsetCell:function(ga,Rr){return fe.addDate(ga,Rr)}}),Ra=wt?function(Ba,ga){return wt(Ba,{originNode:ga,today:Vt,type:"date",locale:Oe})}:void 0;return ie.createElement(er,(0,se.Z)({},ce,{rowNum:dt,colNum:Yn,baseDate:Nn,getCellNode:Ra,getCellText:fe.getDate,getCellClassName:Ca,getCellDate:fe.addDate,titleCell:function(ga){return Ea(ga,{locale:Oe,format:"YYYY-MM-DD",generateConfig:fe})},headerCells:On}))}var br=_r,qr={visibility:"hidden"};function wr(ce){var ge=ce.prefixCls,fe=ce.prevIcon,Ie=fe===void 0?"\u2039":fe,Oe=ce.nextIcon,dt=Oe===void 0?"\u203A":Oe,rt=ce.superPrevIcon,Nt=rt===void 0?"\xAB":rt,wt=ce.superNextIcon,It=wt===void 0?"\xBB":wt,Gn=ce.onSuperPrev,rn=ce.onSuperNext,dn=ce.onPrev,Nn=ce.onNext,In=ce.children,Dt=ie.useContext(un),Vt=Dt.hideNextBtn,On=Dt.hidePrevBtn;return ie.createElement("div",{className:ge},Gn&&ie.createElement("button",{type:"button",onClick:Gn,tabIndex:-1,className:"".concat(ge,"-super-prev-btn"),style:On?qr:{}},Nt),dn&&ie.createElement("button",{type:"button",onClick:dn,tabIndex:-1,className:"".concat(ge,"-prev-btn"),style:On?qr:{}},Ie),ie.createElement("div",{className:"".concat(ge,"-view")},In),Nn&&ie.createElement("button",{type:"button",onClick:Nn,tabIndex:-1,className:"".concat(ge,"-next-btn"),style:Vt?qr:{}},dt),rn&&ie.createElement("button",{type:"button",onClick:rn,tabIndex:-1,className:"".concat(ge,"-super-next-btn"),style:Vt?qr:{}},It))}var oa=wr;function $t(ce){var ge=ce.prefixCls,fe=ce.generateConfig,Ie=ce.locale,Oe=ce.viewDate,dt=ce.onNextMonth,rt=ce.onPrevMonth,Nt=ce.onNextYear,wt=ce.onPrevYear,It=ce.onYearClick,Gn=ce.onMonthClick,rn=ie.useContext(un),dn=rn.hideHeader;if(dn)return null;var Nn="".concat(ge,"-header"),In=Ie.shortMonths||(fe.locale.getShortMonths?fe.locale.getShortMonths(Ie.locale):[]),Dt=fe.getMonth(Oe),Vt=ie.createElement("button",{type:"button",key:"year",onClick:It,tabIndex:-1,className:"".concat(ge,"-year-btn")},Ea(Oe,{locale:Ie,format:Ie.yearFormat,generateConfig:fe})),On=ie.createElement("button",{type:"button",key:"month",onClick:Gn,tabIndex:-1,className:"".concat(ge,"-month-btn")},Ie.monthFormat?Ea(Oe,{locale:Ie,format:Ie.monthFormat,generateConfig:fe}):In[Dt]),on=Ie.monthBeforeYear?[On,Vt]:[Vt,On];return ie.createElement(oa,(0,se.Z)({},ce,{prefixCls:Nn,onSuperPrev:wt,onPrev:rt,onNext:dt,onSuperNext:Nt}),on)}var Xa=$t,ua=6;function tr(ce){var ge=ce.prefixCls,fe=ce.panelName,Ie=fe===void 0?"date":fe,Oe=ce.keyboardConfig,dt=ce.active,rt=ce.operationRef,Nt=ce.generateConfig,wt=ce.value,It=ce.viewDate,Gn=ce.onViewDateChange,rn=ce.onPanelChange,dn=ce.onSelect,Nn="".concat(ge,"-").concat(Ie,"-panel");rt.current={onKeyDown:function(On){return Ua(On,(0,ut.Z)({onLeftRight:function(sa){dn(Nt.addDate(wt||It,sa),"key")},onCtrlLeftRight:function(sa){dn(Nt.addYear(wt||It,sa),"key")},onUpDown:function(sa){dn(Nt.addDate(wt||It,sa*Yn),"key")},onPageUpDown:function(sa){dn(Nt.addMonth(wt||It,sa),"key")}},Oe))}};var In=function(On){var on=Nt.addYear(It,On);Gn(on),rn(null,on)},Dt=function(On){var on=Nt.addMonth(It,On);Gn(on),rn(null,on)};return ie.createElement("div",{className:Te()(Nn,(0,Ce.Z)({},"".concat(Nn,"-active"),dt))},ie.createElement(Xa,(0,se.Z)({},ce,{prefixCls:ge,value:wt,viewDate:It,onPrevYear:function(){In(-1)},onNextYear:function(){In(1)},onPrevMonth:function(){Dt(-1)},onNextMonth:function(){Dt(1)},onMonthClick:function(){rn("month",It)},onYearClick:function(){rn("year",It)}})),ie.createElement(br,(0,se.Z)({},ce,{onSelect:function(On){return dn(On,"mouse")},prefixCls:ge,value:wt,viewDate:It,rowCount:ua})))}var Oa=tr;function hn(ce){var ge=ie.useContext(un),fe=ge.hideHeader;if(fe)return null;var Ie=ce.prefixCls,Oe=ce.generateConfig,dt=ce.locale,rt=ce.value,Nt=ce.format,wt="".concat(Ie,"-header");return ie.createElement(oa,{prefixCls:wt},rt?Ea(rt,{locale:dt,format:Nt,generateConfig:Oe}):"\xA0")}var $n=hn;function Aa(ce){var ge=ce.value,fe=ce.generateConfig,Ie=ce.disabledMinutes,Oe=ce.disabledSeconds,dt=ce.minutes,rt=ce.seconds,Nt=ce.use12Hours,wt=function(Gn,rn,dn,Nn){var In=fe.getNow(),Dt=ge||In,Vt=rn<0?fe.getHour(In):rn,On=dn<0?fe.getMinute(In):dn,on=Nn<0?fe.getSecond(In):Nn,sa=Ie&&Ie(Vt);if(sa!=null&&sa.includes(On)){var Ca=dt.find(function(ga){return!sa.includes(ga.value)});if(Ca)On=Ca.value;else return null}var Ra=Oe&&Oe(Vt,On);if(Ra!=null&&Ra.includes(on)){var Ba=rt.find(function(ga){return!Ra.includes(ga.value)});if(Ba)on=Ba.value;else return null}return Dt=zt(fe,Dt,!Nt||!Gn?Vt:Vt+12,On,on),Dt};return wt}function Wn(ce){var ge=ce.prefixCls,fe=ce.units,Ie=ce.onSelect,Oe=ce.value,dt=ce.active,rt=ce.hideDisabledOptions,Nt=ce.info,wt=ce.type,It="".concat(ge,"-cell"),Gn=ie.useContext(un),rn=Gn.open,dn=(0,ie.useRef)(null),Nn=(0,ie.useRef)(new Map),In=(0,ie.useRef)();return(0,ie.useLayoutEffect)(function(){var Dt=Nn.current.get(Oe);Dt&&rn!==!1&&gr(dn.current,Dt.offsetTop,120)},[Oe]),(0,ie.useLayoutEffect)(function(){if(rn){var Dt=Nn.current.get(Oe);Dt&&(In.current=Ga(Dt,function(){gr(dn.current,Dt.offsetTop,0)}))}return function(){var Vt;(Vt=In.current)===null||Vt===void 0||Vt.call(In)}},[rn]),ie.createElement("ul",{className:Te()("".concat(ge,"-column"),(0,Ce.Z)({},"".concat(ge,"-column-active"),dt)),ref:dn,style:{position:"relative"}},fe.map(function(Dt){var Vt;return rt&&Dt.disabled?null:ie.createElement("li",{key:Dt.value,ref:function(on){Nn.current.set(Dt.value,on)},className:Te()(It,(Vt={},(0,Ce.Z)(Vt,"".concat(It,"-disabled"),Dt.disabled),(0,Ce.Z)(Vt,"".concat(It,"-selected"),Oe===Dt.value),Vt)),onClick:function(){Dt.disabled||Ie(Dt.value)}},Nt.cellRender?Nt.cellRender(Dt.value,{today:Nt.today,locale:Nt.locale,originNode:ie.createElement("div",{className:"".concat(It,"-inner")},Dt.label),type:"time",subType:wt}):ie.createElement("div",{className:"".concat(It,"-inner")},Dt.label))}))}var qa=Wn;function Ka(ce,ge){if(ce.length!==ge.length)return!0;for(var fe=0;fe<ce.length;fe+=1)if(ce[fe].disabled!==ge[fe].disabled)return!0;return!1}function pr(ce,ge,fe,Ie){for(var Oe=[],dt=fe>=1?fe|0:1,rt=ce;rt<=ge;rt+=dt)Oe.push({label:Vn(rt,2),value:rt,disabled:(Ie||[]).includes(rt)});return Oe}function Tr(ce){var ge=ce.generateConfig,fe=ce.prefixCls,Ie=ce.operationRef,Oe=ce.activeColumnIndex,dt=ce.value,rt=ce.showHour,Nt=ce.showMinute,wt=ce.showSecond,It=ce.use12Hours,Gn=ce.hourStep,rn=Gn===void 0?1:Gn,dn=ce.minuteStep,Nn=dn===void 0?1:dn,In=ce.secondStep,Dt=In===void 0?1:In,Vt=ce.disabledHours,On=ce.disabledMinutes,on=ce.disabledSeconds,sa=ce.disabledTime,Ca=ce.hideDisabledOptions,Ra=ce.onSelect,Ba=ce.cellRender,ga=ce.locale,Rr=[],ur="".concat(fe,"-content"),Lr="".concat(fe,"-time-panel"),$r,io=dt?ge.getHour(dt):-1,Mn=io,Yo=dt?ge.getMinute(dt):-1,mo=dt?ge.getSecond(dt):-1,Yr=ge.getNow(),eo=ie.useMemo(function(){if(sa){var Vr=sa(Yr);return[Vr.disabledHours,Vr.disabledMinutes,Vr.disabledSeconds]}return[Vt,On,on]},[Vt,On,on,sa,Yr]),yo=(0,Xt.Z)(eo,3),xo=yo[0],so=yo[1],Sr=yo[2],To=pr(0,23,rn,xo&&xo()),Mo=(0,_n.Z)(function(){return To},To,Ka);It&&($r=Mn>=12,Mn%=12);var bi=ie.useMemo(function(){if(!It)return[!1,!1];var Vr=[!0,!0];return Mo.forEach(function(vo){var bo=vo.disabled,fi=vo.value;bo||(fi>=12?Vr[1]=!1:Vr[0]=!1)}),Vr},[It,Mo]),Xo=(0,Xt.Z)(bi,2),Fi=Xo[0],Kr=Xo[1],li=ie.useMemo(function(){return It?Mo.filter($r?function(Vr){return Vr.value>=12}:function(Vr){return Vr.value<12}).map(function(Vr){var vo=Vr.value%12,bo=vo===0?"12":Vn(vo,2);return(0,ut.Z)((0,ut.Z)({},Vr),{},{label:bo,value:vo})}):Mo},[It,$r,Mo]),Si=pr(0,59,Nn,so&&so(io)),ki=pr(0,59,Dt,Sr&&Sr(io,Yo)),mi=Aa({value:dt,generateConfig:ge,disabledMinutes:so,disabledSeconds:Sr,minutes:Si,seconds:ki,use12Hours:It});Ie.current={onUpDown:function(vo){var bo=Rr[Oe];if(bo)for(var fi=bo.units.findIndex(function(Al){return Al.value===bo.value}),_i=bo.units.length,ei=1;ei<_i;ei+=1){var Ei=bo.units[(fi+vo*ei+_i)%_i];if(Ei.disabled!==!0){bo.onSelect(Ei.value);break}}}};function Ji(Vr,vo,bo,fi,_i){Vr!==!1&&Rr.push({node:ie.cloneElement(vo,{prefixCls:Lr,value:bo,active:Oe===Rr.length,onSelect:_i,units:fi,hideDisabledOptions:Ca}),onSelect:_i,value:bo,units:fi})}Ji(rt,ie.createElement(qa,{key:"hour",type:"hour",info:{today:Yr,locale:ga,cellRender:Ba}}),Mn,li,function(Vr){Ra(mi($r,Vr,Yo,mo),"mouse")}),Ji(Nt,ie.createElement(qa,{key:"minute",type:"minute",info:{today:Yr,locale:ga,cellRender:Ba}}),Yo,Si,function(Vr){Ra(mi($r,Mn,Vr,mo),"mouse")}),Ji(wt,ie.createElement(qa,{key:"second",type:"second",info:{today:Yr,locale:ga,cellRender:Ba}}),mo,ki,function(Vr){Ra(mi($r,Mn,Yo,Vr),"mouse")});var ml=-1;return typeof $r=="boolean"&&(ml=$r?1:0),Ji(It===!0,ie.createElement(qa,{key:"meridiem",type:"meridiem",info:{today:Yr,locale:ga,cellRender:Ba}}),ml,[{label:"AM",value:0,disabled:Fi},{label:"PM",value:1,disabled:Kr}],function(Vr){Ra(mi(!!Vr,Mn,Yo,mo),"mouse")}),ie.createElement("div",{className:ur},Rr.map(function(Vr){var vo=Vr.node;return vo}))}var nr=Tr,Ho=function(ge){return ge.filter(function(fe){return fe!==!1}).length};function Ao(ce){var ge=ce.generateConfig,fe=ce.format,Ie=fe===void 0?"HH:mm:ss":fe,Oe=ce.prefixCls,dt=ce.active,rt=ce.operationRef,Nt=ce.showHour,wt=ce.showMinute,It=ce.showSecond,Gn=ce.use12Hours,rn=Gn===void 0?!1:Gn,dn=ce.onSelect,Nn=ce.value,In="".concat(Oe,"-time-panel"),Dt=ie.useRef(),Vt=ie.useState(-1),On=(0,Xt.Z)(Vt,2),on=On[0],sa=On[1],Ca=Ho([Nt,wt,It,rn]);return rt.current={onKeyDown:function(Ba){return Ua(Ba,{onLeftRight:function(Rr){sa((on+Rr+Ca)%Ca)},onUpDown:function(Rr){on===-1?sa(0):Dt.current&&Dt.current.onUpDown(Rr)},onEnter:function(){dn(Nn||ge.getNow(),"key"),sa(-1)}})},onBlur:function(){sa(-1)}},ie.createElement("div",{className:Te()(In,(0,Ce.Z)({},"".concat(In,"-active"),dt))},ie.createElement($n,(0,se.Z)({},ce,{format:Ie,prefixCls:Oe})),ie.createElement(nr,(0,se.Z)({},ce,{prefixCls:Oe,activeColumnIndex:on,operationRef:Dt})))}var hi=Ao,Pr=Ln("date","time");function Br(ce){var ge=ce.prefixCls,fe=ce.operationRef,Ie=ce.generateConfig,Oe=ce.value,dt=ce.defaultValue,rt=ce.disabledTime,Nt=ce.showTime,wt=ce.onSelect,It=ce.cellRender,Gn="".concat(ge,"-datetime-panel"),rn=ie.useState(null),dn=(0,Xt.Z)(rn,2),Nn=dn[0],In=dn[1],Dt=ie.useRef({}),Vt=ie.useRef({}),On=(0,pn.Z)(Nt)==="object"?(0,ut.Z)({},Nt):{};function on(Ba){var ga=Pr.indexOf(Nn)+Ba,Rr=Pr[ga]||null;return Rr}var sa=function(ga){Vt.current.onBlur&&Vt.current.onBlur(ga),In(null)};fe.current={onKeyDown:function(ga){if(ga.which===Gt.Z.TAB){var Rr=on(ga.shiftKey?-1:1);return In(Rr),Rr&&ga.preventDefault(),!0}if(Nn){var ur=Nn==="date"?Dt:Vt;return ur.current&&ur.current.onKeyDown&&ur.current.onKeyDown(ga),!0}return[Gt.Z.LEFT,Gt.Z.RIGHT,Gt.Z.UP,Gt.Z.DOWN].includes(ga.which)?(In("date"),!0):!1},onBlur:sa,onClose:sa};var Ca=function(ga,Rr){var ur=ga;Rr==="date"&&!Oe&&On.defaultValue?(ur=Ie.setHour(ur,Ie.getHour(On.defaultValue)),ur=Ie.setMinute(ur,Ie.getMinute(On.defaultValue)),ur=Ie.setSecond(ur,Ie.getSecond(On.defaultValue))):Rr==="time"&&!Oe&&dt&&(ur=Ie.setYear(ur,Ie.getYear(dt)),ur=Ie.setMonth(ur,Ie.getMonth(dt)),ur=Ie.setDate(ur,Ie.getDate(dt))),wt&&wt(ur,"mouse")},Ra=rt?rt(Oe||null):{};return ie.createElement("div",{className:Te()(Gn,(0,Ce.Z)({},"".concat(Gn,"-active"),Nn))},ie.createElement(Oa,(0,se.Z)({},ce,{cellRender:It,operationRef:Dt,active:Nn==="date",onSelect:function(ga){Ca(jr(Ie,ga,!Oe&&(0,pn.Z)(Nt)==="object"?Nt.defaultValue:null),"date")}})),ie.createElement(hi,(0,se.Z)({},ce,{cellRender:It?function(Ba,ga){return It(Ba,(0,ut.Z)((0,ut.Z)({},ga),{},{type:"time"}))}:void 0,format:void 0},On,Ra,{disabledTime:null,defaultValue:void 0,operationRef:Vt,active:Nn==="time",onSelect:function(ga){Ca(ga,"time")}})))}var uo=Br;function Ha(ce){var ge=ce.prefixCls,fe=ce.generateConfig,Ie=ce.viewDate,Oe=ce.onPrevDecades,dt=ce.onNextDecades,rt=ie.useContext(un),Nt=rt.hideHeader;if(Nt)return null;var wt="".concat(ge,"-header"),It=fe.getYear(Ie),Gn=Math.floor(It/Mt)*Mt,rn=Gn+Mt-1;return ie.createElement(oa,(0,se.Z)({},ce,{prefixCls:wt,onSuperPrev:Oe,onSuperNext:dt}),Gn,"-",rn)}var Zr=Ha,Hr=3,lr=4;function zr(ce){var ge=Rt-1,fe=ce.prefixCls,Ie=ce.viewDate,Oe=ce.generateConfig,dt=ce.cellRender,rt=ce.locale,Nt="".concat(fe,"-cell"),wt=Oe.getYear(Ie),It=Math.floor(wt/Rt)*Rt,Gn=Math.floor(wt/Mt)*Mt,rn=Gn+Mt-1,dn=Oe.setYear(Ie,Gn-Math.ceil((Hr*lr*Rt-Mt)/2)),Nn=function(Vt){var On,on=Oe.getYear(Vt),sa=on+ge;return On={},(0,Ce.Z)(On,"".concat(Nt,"-in-view"),Gn<=on&&sa<=rn),(0,Ce.Z)(On,"".concat(Nt,"-selected"),on===It),On},In=dt?function(Dt,Vt){return dt(Dt,{originNode:Vt,today:Oe.getNow(),type:"decade",locale:rt})}:void 0;return ie.createElement(er,(0,se.Z)({},ce,{rowNum:lr,colNum:Hr,baseDate:dn,getCellNode:In,getCellText:function(Vt){var On=Oe.getYear(Vt);return"".concat(On,"-").concat(On+ge)},getCellClassName:Nn,getCellDate:function(Vt,On){return Oe.addYear(Vt,On*Rt)}}))}var fo=zr;function Qr(ce){var ge=ce.prefixCls,fe=ce.onViewDateChange,Ie=ce.generateConfig,Oe=ce.viewDate,dt=ce.operationRef,rt=ce.onSelect,Nt=ce.onPanelChange,wt="".concat(ge,"-decade-panel");dt.current={onKeyDown:function(dn){return Ua(dn,{onLeftRight:function(In){rt(Ie.addYear(Oe,In*Rt),"key")},onCtrlLeftRight:function(In){rt(Ie.addYear(Oe,In*Mt),"key")},onUpDown:function(In){rt(Ie.addYear(Oe,In*Rt*Hr),"key")},onEnter:function(){Nt("year",Oe)}})}};var It=function(dn){var Nn=Ie.addYear(Oe,dn*Mt);fe(Nn),Nt(null,Nn)},Gn=function(dn){rt(dn,"mouse"),Nt("year",dn)};return ie.createElement("div",{className:wt},ie.createElement(Zr,(0,se.Z)({},ce,{prefixCls:ge,onPrevDecades:function(){It(-1)},onNextDecades:function(){It(1)}})),ie.createElement(fo,(0,se.Z)({},ce,{prefixCls:ge,onSelect:Gn})))}var ja=Qr;function Io(ce){var ge=ce.prefixCls,fe=ce.generateConfig,Ie=ce.locale,Oe=ce.viewDate,dt=ce.onNextYear,rt=ce.onPrevYear,Nt=ce.onYearClick,wt=ie.useContext(un),It=wt.hideHeader;if(It)return null;var Gn="".concat(ge,"-header");return ie.createElement(oa,(0,se.Z)({},ce,{prefixCls:Gn,onSuperPrev:rt,onSuperNext:dt}),ie.createElement("button",{type:"button",onClick:Nt,className:"".concat(ge,"-year-btn")},Ea(Oe,{locale:Ie,format:Ie.yearFormat,generateConfig:fe})))}var ai=Io,oi=3,Gr=4;function ii(ce){var ge=ce.prefixCls,fe=ce.locale,Ie=ce.value,Oe=ce.viewDate,dt=ce.generateConfig,rt=ce.cellRender,Nt=ie.useContext(Wa),wt=Nt.rangedValue,It=Nt.hoverRangedValue,Gn="".concat(ge,"-cell"),rn=ir({cellPrefixCls:Gn,value:Ie,generateConfig:dt,rangedValue:wt,hoverRangedValue:It,isSameCell:function(Vt,On){return zn(dt,Vt,On)},isInView:function(){return!0},offsetCell:function(Vt,On){return dt.addMonth(Vt,On)}}),dn=fe.shortMonths||(dt.locale.getShortMonths?dt.locale.getShortMonths(fe.locale):[]),Nn=dt.setMonth(Oe,0),In=rt?function(Dt,Vt){return rt(Dt,{originNode:Vt,locale:fe,today:dt.getNow(),type:"month"})}:void 0;return ie.createElement(er,(0,se.Z)({},ce,{rowNum:Gr,colNum:oi,baseDate:Nn,getCellNode:In,getCellText:function(Vt){return fe.monthFormat?Ea(Vt,{locale:fe,format:fe.monthFormat,generateConfig:dt}):dn[dt.getMonth(Vt)]},getCellClassName:rn,getCellDate:dt.addMonth,titleCell:function(Vt){return Ea(Vt,{locale:fe,format:"YYYY-MM",generateConfig:dt})}}))}var Ko=ii;function sl(ce){var ge=ce.prefixCls,fe=ce.operationRef,Ie=ce.onViewDateChange,Oe=ce.generateConfig,dt=ce.value,rt=ce.viewDate,Nt=ce.onPanelChange,wt=ce.onSelect,It="".concat(ge,"-month-panel");fe.current={onKeyDown:function(dn){return Ua(dn,{onLeftRight:function(In){wt(Oe.addMonth(dt||rt,In),"key")},onCtrlLeftRight:function(In){wt(Oe.addYear(dt||rt,In),"key")},onUpDown:function(In){wt(Oe.addMonth(dt||rt,In*oi),"key")},onEnter:function(){Nt("date",dt||rt)}})}};var Gn=function(dn){var Nn=Oe.addYear(rt,dn);Ie(Nn),Nt(null,Nn)};return ie.createElement("div",{className:It},ie.createElement(ai,(0,se.Z)({},ce,{prefixCls:ge,onPrevYear:function(){Gn(-1)},onNextYear:function(){Gn(1)},onYearClick:function(){Nt("year",rt)}})),ie.createElement(Ko,(0,se.Z)({},ce,{prefixCls:ge,onSelect:function(dn){wt(dn,"mouse"),Nt("date",dn)}})))}var wi=sl;function Ki(ce){var ge=ce.prefixCls,fe=ce.generateConfig,Ie=ce.locale,Oe=ce.viewDate,dt=ce.onNextYear,rt=ce.onPrevYear,Nt=ce.onYearClick,wt=ie.useContext(un),It=wt.hideHeader;if(It)return null;var Gn="".concat(ge,"-header");return ie.createElement(oa,(0,se.Z)({},ce,{prefixCls:Gn,onSuperPrev:rt,onSuperNext:dt}),ie.createElement("button",{type:"button",onClick:Nt,className:"".concat(ge,"-year-btn")},Ea(Oe,{locale:Ie,format:Ie.yearFormat,generateConfig:fe})))}var ko=Ki,bl=4,Kl=1;function Ri(ce){var ge=ce.prefixCls,fe=ce.locale,Ie=ce.value,Oe=ce.viewDate,dt=ce.generateConfig,rt=ce.cellRender,Nt=ie.useContext(Wa),wt=Nt.rangedValue,It=Nt.hoverRangedValue,Gn="".concat(ge,"-cell"),rn=ir({cellPrefixCls:Gn,value:Ie,generateConfig:dt,rangedValue:wt,hoverRangedValue:It,isSameCell:function(Dt,Vt){return ya(dt,Dt,Vt)},isInView:function(){return!0},offsetCell:function(Dt,Vt){return dt.addMonth(Dt,Vt*3)}}),dn=dt.setDate(dt.setMonth(Oe,0),1),Nn=rt?function(In,Dt){return rt(In,{originNode:Dt,locale:fe,today:dt.getNow(),type:"quarter"})}:void 0;return ie.createElement(er,(0,se.Z)({},ce,{rowNum:Kl,colNum:bl,baseDate:dn,getCellNode:Nn,getCellText:function(Dt){return Ea(Dt,{locale:fe,format:fe.quarterFormat||"[Q]Q",generateConfig:dt})},getCellClassName:rn,getCellDate:function(Dt,Vt){return dt.addMonth(Dt,Vt*3)},titleCell:function(Dt){return Ea(Dt,{locale:fe,format:"YYYY-[Q]Q",generateConfig:dt})}}))}var ji=Ri;function dl(ce){var ge=ce.prefixCls,fe=ce.operationRef,Ie=ce.onViewDateChange,Oe=ce.generateConfig,dt=ce.value,rt=ce.viewDate,Nt=ce.onPanelChange,wt=ce.onSelect,It="".concat(ge,"-quarter-panel");fe.current={onKeyDown:function(dn){return Ua(dn,{onLeftRight:function(In){wt(Oe.addMonth(dt||rt,In*3),"key")},onCtrlLeftRight:function(In){wt(Oe.addYear(dt||rt,In),"key")},onUpDown:function(In){wt(Oe.addYear(dt||rt,In),"key")}})}};var Gn=function(dn){var Nn=Oe.addYear(rt,dn);Ie(Nn),Nt(null,Nn)};return ie.createElement("div",{className:It},ie.createElement(ko,(0,se.Z)({},ce,{prefixCls:ge,onPrevYear:function(){Gn(-1)},onNextYear:function(){Gn(1)},onYearClick:function(){Nt("year",rt)}})),ie.createElement(ji,(0,se.Z)({},ce,{prefixCls:ge,onSelect:function(dn){wt(dn,"mouse")}})))}var Za=dl;function Hn(ce){var ge=ce.prefixCls,fe=ce.generateConfig,Ie=ce.locale,Oe=ce.value,dt=ce.disabledDate,rt=ce.onSelect,Nt=ie.useContext(Wa),wt=Nt.rangedValue,It=Nt.hoverRangedValue,Gn=ie.useContext(un),rn=Gn.onDateMouseEnter,dn=Gn.onDateMouseLeave,Nn=(It==null?void 0:It[0])||(wt==null?void 0:wt[0]),In=(It==null?void 0:It[1])||(wt==null?void 0:wt[1]),Dt="".concat(ge,"-cell"),Vt=function(Ca){var Ra=yn({cellDate:Ca,mode:"week",disabledDate:dt,generateConfig:fe});return ie.createElement("td",{key:"week",className:Te()(Dt,"".concat(Dt,"-week")),onClick:function(){Ra||rt(Ca,"mouse")},onMouseEnter:function(){!Ra&&rn&&rn(Ca)},onMouseLeave:function(){!Ra&&dn&&dn(Ca)}},ie.createElement("div",{className:"".concat(Dt,"-inner")},fe.locale.getWeek(Ie.locale,Ca)))},On="".concat(ge,"-week-panel-row"),on=function(Ca){var Ra,Ba=Ya(fe,Ie.locale,Nn,Ca),ga=Ya(fe,Ie.locale,In,Ca);return Te()(On,(Ra={},(0,Ce.Z)(Ra,"".concat(On,"-selected"),!wt&&Ya(fe,Ie.locale,Oe,Ca)),(0,Ce.Z)(Ra,"".concat(On,"-range-start"),Ba),(0,Ce.Z)(Ra,"".concat(On,"-range-end"),ga),(0,Ce.Z)(Ra,"".concat(On,"-range-hover"),!Ba&&!ga&&da(fe,Nn,In,Ca)),Ra))};return ie.createElement(Oa,(0,se.Z)({},ce,{panelName:"week",prefixColumn:Vt,rowClassName:on,keyboardConfig:{onLeftRight:null},isSameCell:function(){return!1}}))}var kn=Hn,me=10;function pt(ce){var ge=ce.prefixCls,fe=ce.generateConfig,Ie=ce.viewDate,Oe=ce.onPrevDecade,dt=ce.onNextDecade,rt=ce.onDecadeClick,Nt=ie.useContext(un),wt=Nt.hideHeader;if(wt)return null;var It="".concat(ge,"-header"),Gn=fe.getYear(Ie),rn=Math.floor(Gn/me)*me,dn=rn+me-1;return ie.createElement(oa,(0,se.Z)({},ce,{prefixCls:It,onSuperPrev:Oe,onSuperNext:dt}),ie.createElement("button",{type:"button",onClick:rt,className:"".concat(ge,"-decade-btn")},rn,"-",dn))}var xt=pt,gn=3,Et=4;function wn(ce){var ge=ce.prefixCls,fe=ce.value,Ie=ce.viewDate,Oe=ce.locale,dt=ce.generateConfig,rt=ce.cellRender,Nt=ie.useContext(Wa),wt=Nt.rangedValue,It=Nt.hoverRangedValue,Gn="".concat(ge,"-cell"),rn=dt.getYear(Ie),dn=Math.floor(rn/me)*me,Nn=dn+me-1,In=dt.setYear(Ie,dn-Math.ceil((gn*Et-me)/2)),Dt=dt.getNow(),Vt=function(Ca){var Ra=dt.getYear(Ca);return dn<=Ra&&Ra<=Nn},On=ir({cellPrefixCls:Gn,value:fe,generateConfig:dt,rangedValue:wt,hoverRangedValue:It,isSameCell:function(Ca,Ra){return ba(dt,Ca,Ra)},isInView:Vt,offsetCell:function(Ca,Ra){return dt.addYear(Ca,Ra)}}),on=rt?function(sa,Ca){return rt(sa,{originNode:Ca,today:Dt,type:"year",locale:Oe})}:void 0;return ie.createElement(er,(0,se.Z)({},ce,{rowNum:Et,colNum:gn,baseDate:In,getCellNode:on,getCellText:dt.getYear,getCellClassName:On,getCellDate:dt.addYear,titleCell:function(Ca){return Ea(Ca,{locale:Oe,format:"YYYY",generateConfig:dt})}}))}var Fn=wn;function fn(ce){var ge=ce.prefixCls,fe=ce.operationRef,Ie=ce.onViewDateChange,Oe=ce.generateConfig,dt=ce.value,rt=ce.viewDate,Nt=ce.sourceMode,wt=ce.onSelect,It=ce.onPanelChange,Gn="".concat(ge,"-year-panel");fe.current={onKeyDown:function(Nn){return Ua(Nn,{onLeftRight:function(Dt){wt(Oe.addYear(dt||rt,Dt),"key")},onCtrlLeftRight:function(Dt){wt(Oe.addYear(dt||rt,Dt*me),"key")},onUpDown:function(Dt){wt(Oe.addYear(dt||rt,Dt*gn),"key")},onEnter:function(){It(Nt==="date"?"date":"month",dt||rt)}})}};var rn=function(Nn){var In=Oe.addYear(rt,Nn*10);Ie(In),It(null,In)};return ie.createElement("div",{className:Gn},ie.createElement(xt,(0,se.Z)({},ce,{prefixCls:ge,onPrevDecade:function(){rn(-1)},onNextDecade:function(){rn(1)},onDecadeClick:function(){It("decade",rt)}})),ie.createElement(Fn,(0,se.Z)({},ce,{prefixCls:ge,onSelect:function(Nn){It(Nt==="date"?"date":"month",Nn),wt(Nn,"mouse")}})))}var bn=fn;function Ma(ce,ge,fe){return fe?ie.createElement("div",{className:"".concat(ce,"-footer-extra")},fe(ge)):null}function or(ce){var ge=ce.prefixCls,fe=ce.components,Ie=fe===void 0?{}:fe,Oe=ce.needConfirmButton,dt=ce.onNow,rt=ce.onOk,Nt=ce.okDisabled,wt=ce.showNow,It=ce.locale,Gn,rn;if(Oe){var dn=Ie.button||"button";dt&&wt!==!1&&(Gn=ie.createElement("li",{className:"".concat(ge,"-now")},ie.createElement("a",{className:"".concat(ge,"-now-btn"),onClick:dt},It.now))),rn=Oe&&ie.createElement("li",{className:"".concat(ge,"-ok")},ie.createElement(dn,{disabled:Nt,onClick:rt},It.ok))}return!Gn&&!rn?null:ie.createElement("ul",{className:"".concat(ge,"-ranges")},Gn,rn)}var hr=["date","month"];function ca(ce){var ge,fe=ce,Ie=fe.prefixCls,Oe=Ie===void 0?"rc-picker":Ie,dt=fe.className,rt=fe.style,Nt=fe.locale,wt=fe.generateConfig,It=fe.value,Gn=fe.defaultValue,rn=fe.pickerValue,dn=fe.defaultPickerValue,Nn=fe.disabledDate,In=fe.mode,Dt=fe.picker,Vt=Dt===void 0?"date":Dt,On=fe.tabIndex,on=On===void 0?0:On,sa=fe.showNow,Ca=fe.showTime,Ra=fe.showToday,Ba=fe.renderExtraFooter,ga=fe.hideHeader,Rr=fe.onSelect,ur=fe.onChange,Lr=fe.onPanelChange,$r=fe.onMouseDown,io=fe.onPickerValueChange,Mn=fe.onOk,Yo=fe.components,mo=fe.direction,Yr=fe.hourStep,eo=Yr===void 0?1:Yr,yo=fe.minuteStep,xo=yo===void 0?1:yo,so=fe.secondStep,Sr=so===void 0?1:so,To=fe.dateRender,Mo=fe.monthCellRender,bi=fe.cellRender,Xo=Vt==="date"&&!!Ca||Vt==="time",Fi=24%eo===0,Kr=60%xo===0,li=60%Sr===0,Si=ie.useContext(un),ki=Si.operationRef,mi=Si.onSelect,Ji=Si.hideRanges,ml=Si.defaultOpenValue,Vr=ie.useContext(Wa),vo=Vr.inRange,bo=Vr.panelPosition,fi=Vr.rangedValue,_i=Vr.hoverRangedValue,ei=ie.useRef({}),Ei=ie.useRef(!0),Al=(0,nt.Z)(null,{value:It,defaultValue:Gn,postState:function(Na){return!Na&&ml&&Vt==="time"?ml:Na}}),Hi=(0,Xt.Z)(Al,2),zi=Hi[0],$l=Hi[1],uu=(0,nt.Z)(null,{value:rn,defaultValue:dn||zi,postState:function(Na){var Jr=wt.getNow();if(!Na)return Jr;if(!zi&&Ca){var Zo=(0,pn.Z)(Ca)==="object"?Ca.defaultValue:Gn;return jr(wt,Array.isArray(Na)?Na[0]:Na,Zo||Jr)}return Array.isArray(Na)?Na[0]:Na}}),An=(0,Xt.Z)(uu,2),Ti=An[0],El=An[1],Vi=function(Na){El(Na),io&&io(Na)},eu=function(Na){var Jr=St[Vt];return Jr?Jr(Na):Na},Rl=(0,nt.Z)(function(){return Vt==="time"?"time":eu("date")},{value:In}),al=(0,Xt.Z)(Rl,2),qo=al[0],zo=al[1];ie.useEffect(function(){zo(Vt)},[Vt]);var Wi=ie.useState(function(){return qo}),Fo=(0,Xt.Z)(Wi,2),rl=Fo[0],Ci=Fo[1],xl=function(Na,Jr){var Zo=eu(Na||qo);Ci(qo),zo(Zo),Lr&&(qo!==Zo||Jn(wt,Ti,Ti))&&Lr(Jr,Zo)},vi=function(Na,Jr){var Zo=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;(qo===Vt||Zo)&&($l(Na),Rr&&Rr(Na),mi&&mi(Na,Jr),ur&&!Jn(wt,Na,zi)&&!(Nn!=null&&Nn(Na))&&ur(Na))},Zi=function(Na){if(hr.includes(qo)){var Jr,Zo,pl=qo==="date";switch(Na===Gt.Z.PAGE_UP||Na===Gt.Z.PAGE_DOWN?Zo=pl?wt.addMonth:wt.addYear:Zo=pl?wt.addDate:wt.addMonth,Na){case Gt.Z.LEFT:case Gt.Z.PAGE_UP:Jr=Zo(Ti,-1);break;case Gt.Z.RIGHT:case Gt.Z.PAGE_DOWN:Jr=Zo(Ti,1);break;case Gt.Z.UP:case Gt.Z.DOWN:Jr=Zo(Ti,Number("".concat(Na===Gt.Z.UP?"-":"").concat(pl?Yn:oi)));break}if(Jr)return!(Nn!=null&&Nn(Jr))}return!0},Hl=function(Na){if(ei.current&&ei.current.onKeyDown){var Jr=!0,Zo=Na.which;if([Gt.Z.LEFT,Gt.Z.RIGHT,Gt.Z.UP,Gt.Z.DOWN,Gt.Z.PAGE_UP,Gt.Z.PAGE_DOWN,Gt.Z.ENTER].includes(Zo)&&(Na.preventDefault(),Zo!==Gt.Z.ENTER&&on===0&&(Jr=Zi(Zo))),Jr)return ei.current.onKeyDown(Na)}return(0,De.ZP)(!1,"Panel not correct handle keyDown event. Please help to fire issue about this."),!1},jo=function(Na){ei.current&&ei.current.onBlur&&ei.current.onBlur(Na)};ki&&bo!=="right"&&(ki.current={onKeyDown:Hl,onClose:function(){ei.current&&ei.current.onClose&&ei.current.onClose()}}),ie.useEffect(function(){It&&!Ei.current&&El(It)},[It]),ie.useEffect(function(){Ei.current=!1},[]);var Xi,Dl=ra({cellRender:bi,monthCellRender:Mo,dateRender:To}),ta=(0,ut.Z)((0,ut.Z)({},ce),{},{cellRender:Dl,operationRef:ei,prefixCls:Oe,viewDate:Ti,value:zi,onViewDateChange:Vi,sourceMode:rl,onPanelChange:xl,disabledDate:Nn});switch(delete ta.onChange,delete ta.onSelect,qo){case"decade":Xi=ie.createElement(ja,(0,se.Z)({},ta,{onSelect:function(Na,Jr){Vi(Na),vi(Na,Jr)}}));break;case"year":Xi=ie.createElement(bn,(0,se.Z)({},ta,{onSelect:function(Na,Jr){Vi(Na),vi(Na,Jr)}}));break;case"month":Xi=ie.createElement(wi,(0,se.Z)({},ta,{onSelect:function(Na,Jr){Vi(Na),vi(Na,Jr)}}));break;case"quarter":Xi=ie.createElement(Za,(0,se.Z)({},ta,{onSelect:function(Na,Jr){Vi(Na),vi(Na,Jr)}}));break;case"week":Xi=ie.createElement(kn,(0,se.Z)({},ta,{onSelect:function(Na,Jr){Vi(Na),vi(Na,Jr)}}));break;case"time":delete ta.showTime,Xi=ie.createElement(hi,(0,se.Z)({},ta,(0,pn.Z)(Ca)==="object"?Ca:null,{onSelect:function(Na,Jr){Vi(Na),vi(Na,Jr)}}));break;default:Ca?Xi=ie.createElement(uo,(0,se.Z)({},ta,{onSelect:function(Na,Jr){Vi(Na),vi(Na,Jr)}})):Xi=ie.createElement(Oa,(0,se.Z)({},ta,{onSelect:function(Na,Jr){Vi(Na),vi(Na,Jr)}}))}var kl,fl,vl=function(){var Na=wt.getNow(),Jr=Ta(wt.getHour(Na),wt.getMinute(Na),wt.getSecond(Na),Fi?eo:1,Kr?xo:1,li?Sr:1),Zo=zt(wt,Na,Jr[0],Jr[1],Jr[2]);vi(Zo,"submit")};Ji||(kl=Ma(Oe,qo,Ba),Ca&&qo!=="date"?fl=null:fl=or({prefixCls:Oe,components:Yo,needConfirmButton:Xo,okDisabled:!zi||Nn&&Nn(zi),locale:Nt,showNow:sa,onNow:Xo&&vl,onOk:function(){zi&&(vi(zi,"submit",!0),Mn&&Mn(zi))}}));var _l;if(Ra&&qo==="date"&&Vt==="date"&&!Ca){var wl=wt.getNow(),tu="".concat(Oe,"-today-btn"),zl=Nn&&Nn(wl);_l=ie.createElement("a",{className:Te()(tu,zl&&"".concat(tu,"-disabled")),"aria-disabled":zl,onClick:function(){zl||vi(wl,"mouse",!0)}},Nt.today)}return ie.createElement(un.Provider,{value:(0,ut.Z)((0,ut.Z)({},Si),{},{mode:qo,hideHeader:"hideHeader"in ce?ga:Si.hideHeader,hidePrevBtn:vo&&bo==="right",hideNextBtn:vo&&bo==="left"})},ie.createElement("div",{tabIndex:on,className:Te()("".concat(Oe,"-panel"),dt,(ge={},(0,Ce.Z)(ge,"".concat(Oe,"-panel-has-range"),fi&&fi[0]&&fi[1]),(0,Ce.Z)(ge,"".concat(Oe,"-panel-has-range-hover"),_i&&_i[0]&&_i[1]),(0,Ce.Z)(ge,"".concat(Oe,"-panel-rtl"),mo==="rtl"),ge)),style:rt,onKeyDown:Hl,onBlur:jo,onMouseDown:$r},Xi,kl||fl||_l?ie.createElement("div",{className:"".concat(Oe,"-footer")},kl,fl,_l):null))}var ma=ca,ar=oe(35593),sr={bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:0,adjustY:1}},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:0,adjustY:1}}};function _o(ce){var ge,fe=ce.prefixCls,Ie=ce.popupElement,Oe=ce.popupStyle,dt=ce.visible,rt=ce.dropdownClassName,Nt=ce.dropdownAlign,wt=ce.transitionName,It=ce.getPopupContainer,Gn=ce.children,rn=ce.range,dn=ce.popupPlacement,Nn=ce.direction,In="".concat(fe,"-dropdown"),Dt=function(){return dn!==void 0?dn:Nn==="rtl"?"bottomRight":"bottomLeft"};return ie.createElement(ar.Z,{showAction:[],hideAction:[],popupPlacement:Dt(),builtinPlacements:sr,prefixCls:In,popupTransitionName:wt,popup:Ie,popupAlign:Nt,popupVisible:dt,popupClassName:Te()(rt,(ge={},(0,Ce.Z)(ge,"".concat(In,"-range"),rn),(0,Ce.Z)(ge,"".concat(In,"-rtl"),Nn==="rtl"),ge)),popupStyle:Oe,getPopupContainer:It},Gn)}var Jo=_o;function Oo(ce){var ge=ce.prefixCls,fe=ce.presets,Ie=ce.onClick,Oe=ce.onHover;return fe.length?ie.createElement("div",{className:"".concat(ge,"-presets")},ie.createElement("ul",null,fe.map(function(dt,rt){var Nt=dt.label,wt=dt.value;return ie.createElement("li",{key:rt,onClick:function(){return Ie==null?void 0:Ie(La(wt))},onMouseEnter:function(){return Oe==null?void 0:Oe(La(wt))},onMouseLeave:function(){return Oe==null?void 0:Oe(null)}},Nt)}))):null}function Uo(ce){var ge=ce.picker,fe=ce.disabledHours,Ie=ce.disabledMinutes,Oe=ce.disabledSeconds;ge==="time"&&(fe||Ie||Oe)&&warning(!1,"'disabledHours', 'disabledMinutes', 'disabledSeconds' will be removed in the next major version, please use 'disabledTime' instead.")}function ri(ce,ge,fe){var Ie=(0,pn.Z)(ge)==="object"?ge.clearIcon:fe;return Ie||ie.createElement("span",{className:"".concat(ce,"-clear-btn")})}function si(ce){var ge,fe=ce,Ie=fe.prefixCls,Oe=Ie===void 0?"rc-picker":Ie,dt=fe.id,rt=fe.name,Nt=fe.tabIndex,wt=fe.style,It=fe.className,Gn=fe.dropdownClassName,rn=fe.dropdownAlign,dn=fe.popupStyle,Nn=fe.transitionName,In=fe.generateConfig,Dt=fe.locale,Vt=fe.inputReadOnly,On=fe.allowClear,on=fe.autoFocus,sa=fe.showTime,Ca=fe.picker,Ra=Ca===void 0?"date":Ca,Ba=fe.format,ga=fe.use12Hours,Rr=fe.value,ur=fe.defaultValue,Lr=fe.presets,$r=fe.open,io=fe.defaultOpen,Mn=fe.defaultOpenValue,Yo=fe.suffixIcon,mo=fe.clearIcon,Yr=fe.disabled,eo=fe.disabledDate,yo=fe.placeholder,xo=fe.getPopupContainer,so=fe.pickerRef,Sr=fe.panelRender,To=fe.onChange,Mo=fe.onOpenChange,bi=fe.onFocus,Xo=fe.onBlur,Fi=fe.onMouseDown,Kr=fe.onMouseUp,li=fe.onMouseEnter,Si=fe.onMouseLeave,ki=fe.onContextMenu,mi=fe.onClick,Ji=fe.onKeyDown,ml=fe.onSelect,Vr=fe.direction,vo=fe.autoComplete,bo=vo===void 0?"off":vo,fi=fe.inputRender,_i=fe.changeOnBlur,ei=ie.useRef(null),Ei=Ra==="date"&&!!sa||Ra==="time",Al=Ge(Lr),Hi=jn(Cr(Ba,Ra,sa,ga)),zi=ie.useRef(null),$l=ie.useRef(null),uu=ie.useRef(null),An=(0,nt.Z)(null,{value:Rr,defaultValue:ur}),Ti=(0,Xt.Z)(An,2),El=Ti[0],Vi=Ti[1],eu=ie.useState(El),Rl=(0,Xt.Z)(eu,2),al=Rl[0],qo=Rl[1],zo=ie.useRef(null),Wi=(0,nt.Z)(!1,{value:$r,defaultValue:io,postState:function(Ot){return Yr?!1:Ot},onChange:function(Ot){Mo&&Mo(Ot),!Ot&&zo.current&&zo.current.onClose&&zo.current.onClose()}}),Fo=(0,Xt.Z)(Wi,2),rl=Fo[0],Ci=Fo[1],xl=an(al,{formatList:Hi,generateConfig:In,locale:Dt}),vi=(0,Xt.Z)(xl,2),Zi=vi[0],Hl=vi[1],jo=Ue({valueTexts:Zi,onTextChange:function(Ot){var Qt=Va(Ot,{locale:Dt,formatList:Hi,generateConfig:In});Qt&&(!eo||!eo(Qt))&&qo(Qt)}}),Xi=(0,Xt.Z)(jo,3),Dl=Xi[0],ta=Xi[1],kl=Xi[2],fl=function(Ot){qo(Ot),Vi(Ot),To&&!Jn(In,El,Ot)&&To(Ot,Ot?Ea(Ot,{generateConfig:In,locale:Dt,format:Hi[0]}):"")},vl=function(Ot){Yr&&Ot||Ci(Ot)},_l=function(Ot){return rl&&zo.current&&zo.current.onKeyDown?zo.current.onKeyDown(Ot):((0,De.ZP)(!1,"Picker not correct forward KeyDown operation. Please help to fire issue about this."),!1)},wl=function(){for(var Ot=arguments.length,Qt=new Array(Ot),Zt=0;Zt<Ot;Zt++)Qt[Zt]=arguments[Zt];mi==null||mi.apply(void 0,Qt),ei.current&&(ei.current.focus(),vl(!0))},tu=function(Ot){_i&&fl(al),Xo==null||Xo(Ot)},zl=Kt({blurToCancel:Ei,open:rl,value:Dl,triggerOpen:vl,forwardKeyDown:_l,isClickOutside:function(Ot){return!mn([zi.current,$l.current,uu.current],Ot)},onSubmit:function(){return!al||eo&&eo(al)?!1:(fl(al),vl(!1),kl(),!0)},onCancel:function(){vl(!1),qo(El),kl()},onKeyDown:function(Ot,Qt){Ji==null||Ji(Ot,Qt)},onFocus:bi,onBlur:tu,changeOnBlur:_i}),mr=(0,Xt.Z)(zl,2),Na=mr[0],Jr=mr[1],Zo=Jr.focused,pl=Jr.typing;ie.useEffect(function(){rl||(qo(El),!Zi.length||Zi[0]===""?ta(""):Hl!==Dl&&kl())},[rl,Zi]),ie.useEffect(function(){rl||kl()},[Ra]),ie.useEffect(function(){qo(El)},[El]),so&&(so.current={focus:function(){var Ot;(Ot=ei.current)===null||Ot===void 0||Ot.focus()},blur:function(){var Ot;(Ot=ei.current)===null||Ot===void 0||Ot.blur()}});var gu=Ft(Dl,{formatList:Hi,generateConfig:In,locale:Dt}),ue=(0,Xt.Z)(gu,3),Ee=ue[0],Pe=ue[1],it=ue[2],ft=(0,ut.Z)((0,ut.Z)({},ce),{},{className:void 0,style:void 0,pickerValue:void 0,onPickerValueChange:void 0,onChange:null}),Rn=ie.createElement("div",{className:"".concat(Oe,"-panel-layout")},ie.createElement(Oo,{prefixCls:Oe,presets:Al,onClick:function(Ot){fl(Ot),vl(!1)}}),ie.createElement(ma,(0,se.Z)({},ft,{generateConfig:In,className:Te()((0,Ce.Z)({},"".concat(Oe,"-panel-focused"),!pl)),value:al,locale:Dt,tabIndex:-1,onSelect:function(Ot){ml==null||ml(Ot),qo(Ot)},direction:Vr,onPanelChange:function(Ot,Qt){var Zt=ce.onPanelChange;it(!0),Zt==null||Zt(Ot,Qt)}})));Sr&&(Rn=Sr(Rn));var vn=ie.createElement("div",{className:"".concat(Oe,"-panel-container"),ref:zi,onMouseDown:function(Ot){Ot.preventDefault()}},Rn),Yt;Yo&&(Yt=ie.createElement("span",{className:"".concat(Oe,"-suffix"),onMouseDown:function(Ot){Ot.preventDefault()}},Yo));var vt=ri(Oe,On,mo),qt=ie.createElement("span",{onMouseDown:function(Ot){Ot.preventDefault(),Ot.stopPropagation()},onMouseUp:function(Ot){Ot.preventDefault(),Ot.stopPropagation(),fl(null),vl(!1)},className:"".concat(Oe,"-clear"),role:"button"},vt),Bn=!!On&&El&&!Yr,qe=(0,ut.Z)((0,ut.Z)((0,ut.Z)({id:dt,tabIndex:Nt,disabled:Yr,readOnly:Vt||typeof Hi[0]=="function"||!pl,value:Ee||Dl,onChange:function(Ot){ta(Ot.target.value)},autoFocus:on,placeholder:yo,ref:ei,title:Dl},Na),{},{size:ho(Ra,Hi[0],In),name:rt},(0,Pt.Z)(ce,{aria:!0,data:!0})),{},{autoComplete:bo}),Ct=fi?fi(qe):ie.createElement("input",qe),cn=function(Ot,Qt){(Qt==="submit"||Qt!=="key"&&!Ei)&&(fl(Ot),vl(!1))},Cn=Vr==="rtl"?"bottomRight":"bottomLeft";return ie.createElement(un.Provider,{value:{operationRef:zo,hideHeader:Ra==="time",onSelect:cn,open:rl,defaultOpenValue:Mn,onDateMouseEnter:Pe,onDateMouseLeave:it}},ie.createElement(Jo,{visible:rl,popupElement:vn,popupStyle:dn,prefixCls:Oe,dropdownClassName:Gn,dropdownAlign:rn,getPopupContainer:xo,transitionName:Nn,popupPlacement:Cn,direction:Vr},ie.createElement("div",{ref:uu,className:Te()(Oe,It,(ge={},(0,Ce.Z)(ge,"".concat(Oe,"-disabled"),Yr),(0,Ce.Z)(ge,"".concat(Oe,"-focused"),Zo),(0,Ce.Z)(ge,"".concat(Oe,"-rtl"),Vr==="rtl"),ge)),style:wt,onMouseDown:Fi,onMouseUp:Kr,onMouseEnter:li,onMouseLeave:Si,onContextMenu:ki,onClick:wl},ie.createElement("div",{className:Te()("".concat(Oe,"-input"),(0,Ce.Z)({},"".concat(Oe,"-input-placeholder"),!!Ee)),ref:$l},Ct,Yt,Bn&&qt))))}var Fl=function(ce){(0,At.Z)(fe,ce);var ge=(0,ln.Z)(fe);function fe(){var Ie;(0,ot.Z)(this,fe);for(var Oe=arguments.length,dt=new Array(Oe),rt=0;rt<Oe;rt++)dt[rt]=arguments[rt];return Ie=ge.call.apply(ge,[this].concat(dt)),(0,Ce.Z)((0,xn.Z)(Ie),"pickerRef",ie.createRef()),(0,Ce.Z)((0,xn.Z)(Ie),"focus",function(){Ie.pickerRef.current&&Ie.pickerRef.current.focus()}),(0,Ce.Z)((0,xn.Z)(Ie),"blur",function(){Ie.pickerRef.current&&Ie.pickerRef.current.blur()}),Ie}return(0,Ut.Z)(fe,[{key:"render",value:function(){return ie.createElement(si,(0,se.Z)({},this.props,{pickerRef:this.pickerRef}))}}]),fe}(ie.Component),$i=Fl;function el(ce,ge){var fe=ce.picker,Ie=ce.locale,Oe=ce.selectedValue,dt=ce.disabledDate,rt=ce.disabled,Nt=ce.generateConfig,wt=Tn(Oe,0),It=Tn(Oe,1);function Gn(Dt){return Nt.locale.getWeekFirstDate(Ie.locale,Dt)}function rn(Dt){var Vt=Nt.getYear(Dt),On=Nt.getMonth(Dt);return Vt*100+On}function dn(Dt){var Vt=Nt.getYear(Dt),On=_a(Nt,Dt);return Vt*10+On}var Nn=ie.useCallback(function(Dt){if(rt[0]||dt&&dt(Dt))return!0;if(rt[1]&&It)return!xa(Nt,Dt,It)&&Nt.isAfter(Dt,It);if(!ge&&It)switch(fe){case"quarter":return dn(Dt)>dn(It);case"month":return rn(Dt)>rn(It);case"week":return Gn(Dt)>Gn(It);default:return!xa(Nt,Dt,It)&&Nt.isAfter(Dt,It)}return!1},[dt,rt[1],It,ge]),In=ie.useCallback(function(Dt){if(rt[1]||dt&&dt(Dt))return!0;if(rt[0]&&wt)return!xa(Nt,Dt,It)&&Nt.isAfter(wt,Dt);if(!ge&&wt)switch(fe){case"quarter":return dn(Dt)<dn(wt);case"month":return rn(Dt)<rn(wt);case"week":return Gn(Dt)<Gn(wt);default:return!xa(Nt,Dt,wt)&&Nt.isAfter(wt,Dt)}return!1},[dt,rt[0],wt,ge]);return[Nn,In]}var tl=oe(70425),ou=oe(6089);function cl(ce,ge,fe,Ie,Oe,dt,rt,Nt,wt,It){var Gn=ie.useState(!1),rn=(0,Xt.Z)(Gn,2),dn=rn[0],Nn=rn[1],In=(0,tl.useMergedState)(ce||!1,{value:ge}),Dt=(0,Xt.Z)(In,2),Vt=Dt[0],On=Dt[1],on=(0,tl.useMergedState)(ce||!1,{value:ge,onChange:function(eo){It==null||It(eo)}}),sa=(0,Xt.Z)(on,2),Ca=sa[0],Ra=sa[1],Ba=(0,tl.useMergedState)(0,{value:fe}),ga=(0,Xt.Z)(Ba,2),Rr=ga[0],ur=ga[1],Lr=ie.useState(null),$r=(0,Xt.Z)(Lr,2),io=$r[0],Mn=$r[1];ie.useEffect(function(){Ca&&Nn(!0)},[Ca]);var Yo=function(eo){return eo===0?1:0},mo=(0,ou.Z)(function(Yr,eo,yo){if(eo===!1)Ra(Yr);else if(Yr){ur(eo),Ra(Yr);var xo=Yo(eo);!Ca||![rt,Nt][xo]?Mn(xo):(Nn(!1),io!==null&&Mn(null))}else if(yo==="confirm"||yo==="blur"&&Ie){var so=Vt?Yo(eo):io;so!==null&&(Nn(!1),ur(so)),Mn(null),so!==null&&!wt[so]?(0,Da.Z)(function(){var Sr,To=[Oe,dt][so];(Sr=To.current)===null||Sr===void 0||Sr.focus()}):Ra(!1)}else Ra(!1),On(!1)});return[Ca,Rr,dn,mo]}function Ml(ce,ge,fe,Ie){var Oe=ia(ce,fe,Ie,1);function dt(rt){return rt(ce,ge)?"same":rt(Oe,ge)?"closing":"far"}switch(fe){case"year":return dt(function(rt,Nt){return tn(Ie,rt,Nt)});case"quarter":case"month":return dt(function(rt,Nt){return ba(Ie,rt,Nt)});default:return dt(function(rt,Nt){return zn(Ie,rt,Nt)})}}function as(ce,ge,fe,Ie){var Oe=Tn(ce,0),dt=Tn(ce,1);if(ge===0)return Oe;if(Oe&&dt){var rt=Ml(Oe,dt,fe,Ie);switch(rt){case"same":return Oe;case"closing":return Oe;default:return ia(dt,fe,Ie,-1)}}return Oe}function Mr(ce){var ge=ce.values,fe=ce.picker,Ie=ce.defaultDates,Oe=ce.generateConfig,dt=ie.useState(function(){return[Tn(Ie,0),Tn(Ie,1)]}),rt=(0,Xt.Z)(dt,2),Nt=rt[0],wt=rt[1],It=ie.useState(null),Gn=(0,Xt.Z)(It,2),rn=Gn[0],dn=Gn[1],Nn=Tn(ge,0),In=Tn(ge,1);function Dt(On){return Nt[On]?Nt[On]:Tn(rn,On)||as(ge,On,fe,Oe)||Nn||In||Oe.getNow()}function Vt(On,on){if(On){var sa=jt(rn,On,on);wt(jt(Nt,null,on)||[null,null]);var Ca=(on+1)%2;Tn(ge,Ca)||(sa=jt(sa,On,Ca)),dn(sa)}else(Nn||In)&&dn(null)}return[Dt,Vt]}function Cu(ce,ge){return ce&&ce[0]&&ce[1]&&ge.isAfter(ce[0],ce[1])?[ce[1],ce[0]]:ce}function wu(ce,ge,fe,Ie){return!!(ce||Ie&&Ie[ge]||fe[(ge+1)%2])}function rs(ce){var ge,fe,Ie,Oe=ce,dt=Oe.prefixCls,rt=dt===void 0?"rc-picker":dt,Nt=Oe.id,wt=Oe.style,It=Oe.className,Gn=Oe.popupStyle,rn=Oe.dropdownClassName,dn=Oe.transitionName,Nn=Oe.dropdownAlign,In=Oe.getPopupContainer,Dt=Oe.generateConfig,Vt=Oe.locale,On=Oe.placeholder,on=Oe.autoFocus,sa=Oe.disabled,Ca=Oe.format,Ra=Oe.picker,Ba=Ra===void 0?"date":Ra,ga=Oe.showTime,Rr=Oe.use12Hours,ur=Oe.separator,Lr=ur===void 0?"~":ur,$r=Oe.value,io=Oe.defaultValue,Mn=Oe.defaultPickerValue,Yo=Oe.open,mo=Oe.defaultOpen,Yr=Oe.disabledDate,eo=Oe.disabledTime,yo=Oe.dateRender,xo=Oe.monthCellRender,so=Oe.cellRender,Sr=Oe.panelRender,To=Oe.presets,Mo=Oe.ranges,bi=Oe.allowEmpty,Xo=Oe.allowClear,Fi=Oe.suffixIcon,Kr=Oe.clearIcon,li=Oe.pickerRef,Si=Oe.inputReadOnly,ki=Oe.mode,mi=Oe.renderExtraFooter,Ji=Oe.onChange,ml=Oe.onOpenChange,Vr=Oe.onPanelChange,vo=Oe.onCalendarChange,bo=Oe.onFocus,fi=Oe.onBlur,_i=Oe.onMouseDown,ei=Oe.onMouseUp,Ei=Oe.onMouseEnter,Al=Oe.onMouseLeave,Hi=Oe.onClick,zi=Oe.onOk,$l=Oe.onKeyDown,uu=Oe.components,An=Oe.order,Ti=Oe.direction,El=Oe.activePickerIndex,Vi=Oe.autoComplete,eu=Vi===void 0?"off":Vi,Rl=Oe.changeOnBlur,al=Ba==="date"&&!!ga||Ba==="time",qo=(0,ie.useRef)(null),zo=(0,ie.useRef)(null),Wi=(0,ie.useRef)(null),Fo=(0,ie.useRef)(null),rl=(0,ie.useRef)(null),Ci=(0,ie.useRef)(null),xl=(0,ie.useRef)(null),vi=(0,ie.useRef)(null),Zi=jn(Cr(Ca,Ba,ga,Rr)),Hl=(0,ie.useRef)(null),jo=ie.useMemo(function(){return Array.isArray(sa)?sa:[sa||!1,sa||!1]},[sa]),Xi=(0,nt.Z)(null,{value:$r,defaultValue:io,postState:function(Ia){return Ba==="time"&&!An?Ia:Cu(Ia,Dt)}}),Dl=(0,Xt.Z)(Xi,2),ta=Dl[0],kl=Dl[1],fl=Mr({values:ta,picker:Ba,defaultDates:Mn,generateConfig:Dt}),vl=(0,Xt.Z)(fl,2),_l=vl[0],wl=vl[1],tu=(0,nt.Z)(ta,{postState:function(Ia){var fr=Ia;if(jo[0]&&jo[1])return fr;for(var lo=0;lo<2;lo+=1)jo[lo]&&!fr&&!Tn(fr,lo)&&!Tn(bi,lo)&&(fr=jt(fr,Dt.getNow(),lo));return fr}}),zl=(0,Xt.Z)(tu,2),mr=zl[0],Na=zl[1],Jr=(0,nt.Z)([Ba,Ba],{value:ki}),Zo=(0,Xt.Z)(Jr,2),pl=Zo[0],gu=Zo[1];(0,ie.useEffect)(function(){gu([Ba,Ba])},[Ba]);var ue=function(Ia,fr){gu(Ia),Vr&&Vr(fr,Ia)},Ee=cl(mo,Yo,El,Rl,Ci,xl,Tn(mr,0),Tn(mr,1),jo,ml),Pe=(0,Xt.Z)(Ee,4),it=Pe[0],ft=Pe[1],Rn=Pe[2],vn=Pe[3],Yt=it&&ft===0,vt=it&&ft===1,qt=el({picker:Ba,selectedValue:mr,locale:Vt,disabled:jo,disabledDate:Yr,generateConfig:Dt},!it||Rn),Bn=(0,Xt.Z)(qt,2),qe=Bn[0],Ct=Bn[1],cn=(0,ie.useState)(0),Cn=(0,Xt.Z)(cn,2),Jt=Cn[0],Ot=Cn[1];(0,ie.useEffect)(function(){!it&&qo.current&&Ot(qo.current.offsetWidth)},[it]);function Qt(Dr){vn(!0,Dr,"open"),(0,Da.Z)(function(){var Ia,fr=[Ci,xl][Dr];(Ia=fr.current)===null||Ia===void 0||Ia.focus()},0)}function Zt(Dr,Ia){var fr=Dr,lo=Tn(fr,0),$o=Tn(fr,1);lo&&$o&&Dt.isAfter(lo,$o)&&(Ba==="week"&&!Ya(Dt,Vt.locale,lo,$o)||Ba==="quarter"&&!ya(Dt,lo,$o)||Ba!=="week"&&Ba!=="quarter"&&Ba!=="time"&&!xa(Dt,lo,$o)?Ia===0?(fr=[lo,null],$o=null):(lo=null,fr=[null,$o]):(Ba!=="time"||An!==!1)&&(fr=Cu(fr,Dt))),Na(fr);var du=fr&&fr[0]?Ea(fr[0],{generateConfig:Dt,locale:Vt,format:Zi[0]}):"",Il=fr&&fr[1]?Ea(fr[1],{generateConfig:Dt,locale:Vt,format:Zi[0]}):"";if(vo){var Ql={range:Ia===0?"start":"end"};vo(fr,[du,Il],Ql)}var Ol=wu(lo,0,jo,bi),fu=wu($o,1,jo,bi),ru=fr===null||Ol&&fu;ru&&(kl(fr),Ji&&(!Jn(Dt,Tn(ta,0),lo)||!Jn(Dt,Tn(ta,1),$o))&&Ji(fr,[du,Il]))}var va=function(Ia){return it&&Hl.current&&Hl.current.onKeyDown?Hl.current.onKeyDown(Ia):((0,De.ZP)(!1,"Picker not correct forward KeyDown operation. Please help to fire issue about this."),!1)},Sn={formatList:Zi,generateConfig:Dt,locale:Vt},En=an(Tn(mr,0),Sn),Fr=(0,Xt.Z)(En,2),Er=Fr[0],$a=Fr[1],Do=an(Tn(mr,1),Sn),na=(0,Xt.Z)(Do,2),Or=na[0],za=na[1],Wr=function(Ia,fr){var lo=Va(Ia,{locale:Vt,formatList:Zi,generateConfig:Dt}),$o=fr===0?qe:Ct;lo&&!$o(lo)&&(Na(jt(mr,lo,fr)),wl(lo,fr))},So=Ue({valueTexts:Er,onTextChange:function(Ia){return Wr(Ia,0)}}),wo=(0,Xt.Z)(So,3),Vo=wo[0],Pa=wo[1],yr=wo[2],Pi=Ue({valueTexts:Or,onTextChange:function(Ia){return Wr(Ia,1)}}),Co=(0,Xt.Z)(Pi,3),Dn=Co[0],ui=Co[1],Ii=Co[2],ci=(0,ie.useState)(null),Bi=(0,Xt.Z)(ci,2),Oi=Bi[0],ti=Bi[1],ol=(0,ie.useState)(null),Ui=(0,Xt.Z)(ol,2),qi=Ui[0],Go=Ui[1],gi=Ft(Vo,{formatList:Zi,generateConfig:Dt,locale:Vt}),il=(0,Xt.Z)(gi,3),Tl=il[0],Nr=il[1],Ro=il[2],ni=Ft(Dn,{formatList:Zi,generateConfig:Dt,locale:Vt}),Wo=(0,Xt.Z)(ni,3),Qi=Wo[0],Yi=Wo[1],Ai=Wo[2],Zl=function(Ia){Go(jt(mr,Ia,ft)),ft===0?Nr(Ia):Yi(Ia)},Ll=function(){Go(jt(mr,null,ft)),ft===0?Ro():Ai()},Pl=ie.useState(it),pi=(0,Xt.Z)(Pl,2),Gl=pi[0],no=pi[1];ie.useEffect(function(){no(it)},[it]);var nu=function(Ia){if(Rl&&Gl){var fr=Tn(mr,ft);fr&&Zt(mr,ft)}return fi==null?void 0:fi(Ia)},Fu=function(Ia,fr){return{blurToCancel:!Rl&&al,forwardKeyDown:va,onBlur:nu,isClickOutside:function($o){return!mn([zo.current,Wi.current,Fo.current,qo.current],$o)},onFocus:function($o){bo&&bo($o)},triggerOpen:function($o){$o?vn($o,Ia,"open"):vn($o,Tn(mr,Ia)?Ia:!1,"blur")},onSubmit:function(){if(!mr||Yr&&Yr(mr[Ia]))return!1;Zt(mr,Ia),fr(),vn(!1,ft,"confirm")},onCancel:function(){vn(!1,Ia,"cancel"),Na(ta),fr()}}},Vl={onKeyDown:function(Ia,fr){$l==null||$l(Ia,fr)},changeOnBlur:Rl},mu=Kt((0,ut.Z)((0,ut.Z)({},Fu(0,yr)),{},{open:Yt,value:Vo},Vl)),en=(0,Xt.Z)(mu,2),Qn=en[0],Ar=en[1],cr=Ar.focused,kr=Ar.typing,po=Kt((0,ut.Z)((0,ut.Z)({},Fu(1,Ii)),{},{open:vt,value:Dn},Vl)),Lo=(0,Xt.Z)(po,2),ao=Lo[0],Mi=Lo[1],Eo=Mi.focused,ll=Mi.typing,Wl=function(Ia){Hi&&Hi(Ia),!it&&!Ci.current.contains(Ia.target)&&!xl.current.contains(Ia.target)&&(jo[0]?jo[1]||Qt(1):Qt(0))},qu=function(Ia){_i&&_i(Ia),it&&(cr||Eo)&&!Ci.current.contains(Ia.target)&&!xl.current.contains(Ia.target)&&Ia.preventDefault()},vs=ta&&ta[0]?Ea(ta[0],{locale:Vt,format:"YYYYMMDDHHmmss",generateConfig:Dt}):"",ps=ta&&ta[1]?Ea(ta[1],{locale:Vt,format:"YYYYMMDDHHmmss",generateConfig:Dt}):"";(0,ie.useEffect)(function(){it||(Na(ta),!Er.length||Er[0]===""?Pa(""):$a!==Vo&&yr(),!Or.length||Or[0]===""?ui(""):za!==Dn&&Ii())},[it,Er,Or]),(0,ie.useEffect)(function(){Na(ta)},[vs,ps]);var jl=ra({cellRender:so,monthCellRender:xo,dateRender:yo}),hs=ie.useMemo(function(){if(jl)return function(Dr,Ia){return jl(Dr,(0,ut.Z)((0,ut.Z)({},Ia),{},{range:ft?"end":"start"}))}},[ft,jl]);li&&(li.current={focus:function(){Ci.current&&Ci.current.focus()},blur:function(){Ci.current&&Ci.current.blur(),xl.current&&xl.current.blur()}});var au=Ge(To,Mo);function Zu(){var Dr=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,Ia=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},fr=null;it&&qi&&qi[0]&&qi[1]&&Dt.isAfter(qi[1],qi[0])&&(fr=qi);var lo=ga;if(ga&&(0,pn.Z)(ga)==="object"&&ga.defaultValue){var $o=ga.defaultValue;lo=(0,ut.Z)((0,ut.Z)({},ga),{},{defaultValue:Tn($o,ft)||void 0})}return ie.createElement(Wa.Provider,{value:{inRange:!0,panelPosition:Dr,rangedValue:Oi||mr,hoverRangedValue:fr}},ie.createElement(ma,(0,se.Z)({},ce,Ia,{cellRender:hs,showTime:lo,mode:pl[ft],generateConfig:Dt,style:void 0,direction:Ti,disabledDate:ft===0?qe:Ct,disabledTime:function(Il){return eo?eo(Il,ft===0?"start":"end"):!1},className:Te()((0,Ce.Z)({},"".concat(rt,"-panel-focused"),ft===0?!kr:!ll)),value:Tn(mr,ft),locale:Vt,tabIndex:-1,onPanelChange:function(Il,Ql){ft===0&&Ro(!0),ft===1&&Ai(!0),ue(jt(pl,Ql,ft),jt(mr,Il,ft));var Ol=Il;Dr==="right"&&pl[ft]===Ql&&(Ol=ia(Ol,Ql,Dt,-1)),wl(Ol,ft)},onOk:null,onSelect:void 0,onChange:void 0,defaultValue:ft===0?Tn(mr,1):Tn(mr,0)})))}var Ul=0,$u=0;if(ft&&Wi.current&&rl.current&&zo.current&&vi.current){Ul=Wi.current.offsetWidth+rl.current.offsetWidth;var Ss=vi.current.offsetLeft>Ul?vi.current.offsetLeft-Ul:vi.current.offsetLeft,es=zo.current.offsetWidth,Gu=vi.current.offsetWidth;es&&Gu&&Ul>es-Gu-(Ti==="rtl"?0:Ss)&&($u=Ul)}var ts=Ti==="rtl"?{right:Ul}:{left:Ul};function Kn(){var Dr,Ia=Ma(rt,pl[ft],mi),fr=or({prefixCls:rt,components:uu,needConfirmButton:al,okDisabled:!Tn(mr,ft)||Yr&&Yr(mr[ft]),locale:Vt,onOk:function(){var yl=Tn(mr,ft);yl&&(Zt(mr,ft),zi==null||zi(mr),vn(!1,ft,"confirm"))}});if(Ba!=="time"&&!ga){var lo=_l(ft),$o=ia(lo,Ba,Dt),du=pl[ft],Il=du===Ba,Ql=Zu(Il?"left":!1,{pickerValue:lo,onPickerValueChange:function(yl){wl(yl,ft)}}),Ol=Zu("right",{pickerValue:$o,onPickerValueChange:function(yl){wl(ia(yl,Ba,Dt,-1),ft)}});Ti==="rtl"?Dr=ie.createElement(ie.Fragment,null,Ol,Il&&Ql):Dr=ie.createElement(ie.Fragment,null,Ql,Il&&Ol)}else Dr=Zu();var fu=ie.createElement("div",{className:"".concat(rt,"-panel-layout")},ie.createElement(Oo,{prefixCls:rt,presets:au,onClick:function(yl){Zt(yl,null),vn(!1,ft,"preset")},onHover:function(yl){ti(yl)}}),ie.createElement("div",null,ie.createElement("div",{className:"".concat(rt,"-panels")},Dr),(Ia||fr)&&ie.createElement("div",{className:"".concat(rt,"-footer")},Ia,fr)));return Sr&&(fu=Sr(fu)),ie.createElement("div",{className:"".concat(rt,"-panel-container"),style:{marginLeft:$u},ref:zo,onMouseDown:function(yl){yl.preventDefault()}},fu)}var Ja=ie.createElement("div",{className:Te()("".concat(rt,"-range-wrapper"),"".concat(rt,"-").concat(Ba,"-range-wrapper")),style:{minWidth:Jt}},ie.createElement("div",{ref:vi,className:"".concat(rt,"-range-arrow"),style:ts}),Kn()),Ir;Fi&&(Ir=ie.createElement("span",{className:"".concat(rt,"-suffix"),onMouseDown:function(Ia){Ia.preventDefault()}},Fi));var ro=ri(rt,Xo,Kr),Xr=ie.createElement("span",{onMouseDown:function(Ia){Ia.preventDefault(),Ia.stopPropagation()},onMouseUp:function(Ia){Ia.preventDefault(),Ia.stopPropagation();var fr=ta;jo[0]||(fr=jt(fr,null,0)),jo[1]||(fr=jt(fr,null,1)),Zt(fr,null),vn(!1,ft,"clear")},className:"".concat(rt,"-clear"),role:"button"},ro),xr=Xo&&(Tn(ta,0)&&!jo[0]||Tn(ta,1)&&!jo[1]),co={size:ho(Ba,Zi[0],Dt)},No=0,Gi=0;Wi.current&&Fo.current&&rl.current&&(ft===0?Gi=Wi.current.offsetWidth:(No=Ul,Gi=Fo.current.offsetWidth));var Nl=Ti==="rtl"?{right:No}:{left:No},su=function(Ia,fr){var lo=jt(mr,Ia,ft);if(fr==="submit"||fr!=="key"&&!al){Zt(lo,ft),ft===0?Ro():Ai();var $o=ft===0?1:0;jo[$o]?vn(!1,!1,"confirm"):vn(!1,ft,"confirm")}else Na(lo)};return ie.createElement(un.Provider,{value:{operationRef:Hl,hideHeader:Ba==="time",onDateMouseEnter:Zl,onDateMouseLeave:Ll,hideRanges:!0,onSelect:su,open:it}},ie.createElement(Jo,{visible:it,popupElement:Ja,popupStyle:Gn,prefixCls:rt,dropdownClassName:rn,dropdownAlign:Nn,getPopupContainer:In,transitionName:dn,range:!0,direction:Ti},ie.createElement("div",(0,se.Z)({ref:qo,className:Te()(rt,"".concat(rt,"-range"),It,(ge={},(0,Ce.Z)(ge,"".concat(rt,"-disabled"),jo[0]&&jo[1]),(0,Ce.Z)(ge,"".concat(rt,"-focused"),ft===0?cr:Eo),(0,Ce.Z)(ge,"".concat(rt,"-rtl"),Ti==="rtl"),ge)),style:wt,onClick:Wl,onMouseEnter:Ei,onMouseLeave:Al,onMouseDown:qu,onMouseUp:ei},(0,Pt.Z)(ce,{aria:!0,data:!0})),ie.createElement("div",{className:Te()("".concat(rt,"-input"),(fe={},(0,Ce.Z)(fe,"".concat(rt,"-input-active"),ft===0),(0,Ce.Z)(fe,"".concat(rt,"-input-placeholder"),!!Tl),fe)),ref:Wi},ie.createElement("input",(0,se.Z)({id:Nt,disabled:jo[0],readOnly:Si||typeof Zi[0]=="function"||!kr,value:Tl||Vo,onChange:function(Ia){Pa(Ia.target.value)},autoFocus:on,placeholder:Tn(On,0)||"",ref:Ci},Qn,co,{autoComplete:eu}))),ie.createElement("div",{className:"".concat(rt,"-range-separator"),ref:rl},Lr),ie.createElement("div",{className:Te()("".concat(rt,"-input"),(Ie={},(0,Ce.Z)(Ie,"".concat(rt,"-input-active"),ft===1),(0,Ce.Z)(Ie,"".concat(rt,"-input-placeholder"),!!Qi),Ie)),ref:Fo},ie.createElement("input",(0,se.Z)({disabled:jo[1],readOnly:Si||typeof Zi[0]=="function"||!ll,value:Qi||Dn,onChange:function(Ia){ui(Ia.target.value)},placeholder:Tn(On,1)||"",ref:xl},ao,co,{autoComplete:eu}))),ie.createElement("div",{className:"".concat(rt,"-active-bar"),style:(0,ut.Z)((0,ut.Z)({},Nl),{},{width:Gi,position:"absolute"})}),Ir,xr&&Xr)))}var Li=function(ce){(0,At.Z)(fe,ce);var ge=(0,ln.Z)(fe);function fe(){var Ie;(0,ot.Z)(this,fe);for(var Oe=arguments.length,dt=new Array(Oe),rt=0;rt<Oe;rt++)dt[rt]=arguments[rt];return Ie=ge.call.apply(ge,[this].concat(dt)),(0,Ce.Z)((0,xn.Z)(Ie),"pickerRef",ie.createRef()),(0,Ce.Z)((0,xn.Z)(Ie),"focus",function(){Ie.pickerRef.current&&Ie.pickerRef.current.focus()}),(0,Ce.Z)((0,xn.Z)(Ie),"blur",function(){Ie.pickerRef.current&&Ie.pickerRef.current.blur()}),Ie}return(0,Ut.Z)(fe,[{key:"render",value:function(){return ie.createElement(rs,(0,se.Z)({},this.props,{pickerRef:this.pickerRef}))}}]),fe}(ie.Component),zu=Li,Lu=$i,Pu=oe(19080),Nu=oe(36355),iu=oe(1684),Vu=oe(19716),Iu=oe(32441),Ou=oe(9763),Ni=oe(33234),Wu=oe(48183),Bu=oe(64993),yi=oe(9937),Au=oe(17313),os=oe(47585),lu=oe(74207),Jl=oe(13826),Cl=oe(92899),Bl=oe(37613),is=oe(83116);const Mu=(ce,ge,fe,Ie)=>{const{lineHeight:Oe}=ce,dt=Math.floor(fe*Oe)+2,rt=Math.max((ge-dt)/2,0),Nt=Math.max(ge-dt-rt,0);return{padding:`${rt}px ${Ie}px ${Nt}px`}},ls=ce=>{const{componentCls:ge,pickerCellCls:fe,pickerCellInnerCls:Ie,cellHeight:Oe,motionDurationSlow:dt,borderRadiusSM:rt,motionDurationMid:Nt,cellHoverBg:wt,lineWidth:It,lineType:Gn,colorPrimary:rn,cellActiveWithRangeBg:dn,colorTextLightSolid:Nn,controlHeightSM:In,cellRangeBorderColor:Dt,pickerCellBorderGap:Vt,cellHoverWithRangeBg:On,cellWidth:on,colorTextDisabled:sa,cellBgDisabled:Ca}=ce;return{"&::before":{position:"absolute",top:"50%",insetInlineStart:0,insetInlineEnd:0,zIndex:1,height:Oe,transform:"translateY(-50%)",transition:`all ${dt}`,content:'""'},[Ie]:{position:"relative",zIndex:2,display:"inline-block",minWidth:Oe,height:Oe,lineHeight:`${Oe}px`,borderRadius:rt,transition:`background ${Nt}, border ${Nt}`},"&-range-hover-start, &-range-hover-end":{[Ie]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:hover:not(${fe}-in-view),
&:hover:not(${fe}-selected):not(${fe}-range-start):not(${fe}-range-end):not(${fe}-range-hover-start):not(${fe}-range-hover-end)`]:{[Ie]:{background:wt}},[`&-in-view${fe}-today ${Ie}`]:{"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:1,border:`${It}px ${Gn} ${rn}`,borderRadius:rt,content:'""'}},[`&-in-view${fe}-in-range`]:{position:"relative","&::before":{background:dn}},[`&-in-view${fe}-selected ${Ie},
&-in-view${fe}-range-start ${Ie},
&-in-view${fe}-range-end ${Ie}`]:{color:Nn,background:rn},[`&-in-view${fe}-range-start:not(${fe}-range-start-single),
&-in-view${fe}-range-end:not(${fe}-range-end-single)`]:{"&::before":{background:dn}},[`&-in-view${fe}-range-start::before`]:{insetInlineStart:"50%"},[`&-in-view${fe}-range-end::before`]:{insetInlineEnd:"50%"},[`&-in-view${fe}-range-hover-start:not(${fe}-in-range):not(${fe}-range-start):not(${fe}-range-end),
&-in-view${fe}-range-hover-end:not(${fe}-in-range):not(${fe}-range-start):not(${fe}-range-end),
&-in-view${fe}-range-hover-start${fe}-range-start-single,
&-in-view${fe}-range-hover-start${fe}-range-start${fe}-range-end${fe}-range-end-near-hover,
&-in-view${fe}-range-hover-end${fe}-range-start${fe}-range-end${fe}-range-start-near-hover,
&-in-view${fe}-range-hover-end${fe}-range-end-single,
&-in-view${fe}-range-hover:not(${fe}-in-range)`]:{"&::after":{position:"absolute",top:"50%",zIndex:0,height:In,borderTop:`${It}px dashed ${Dt}`,borderBottom:`${It}px dashed ${Dt}`,transform:"translateY(-50%)",transition:`all ${dt}`,content:'""'}},"&-range-hover-start::after,\n &-range-hover-end::after,\n &-range-hover::after":{insetInlineEnd:0,insetInlineStart:Vt},[`&-in-view${fe}-in-range${fe}-range-hover::before,
&-in-view${fe}-in-range${fe}-range-hover-start::before,
&-in-view${fe}-in-range${fe}-range-hover-end::before,
&-in-view${fe}-range-start${fe}-range-hover::before,
&-in-view${fe}-range-end${fe}-range-hover::before,
&-in-view${fe}-range-start:not(${fe}-range-start-single)${fe}-range-hover-start::before,
&-in-view${fe}-range-end:not(${fe}-range-end-single)${fe}-range-hover-end::before,
${ge}-panel
> :not(${ge}-date-panel)
&-in-view${fe}-in-range${fe}-range-hover-start::before,
${ge}-panel
> :not(${ge}-date-panel)
&-in-view${fe}-in-range${fe}-range-hover-end::before`]:{background:On},[`&-in-view${fe}-range-start:not(${fe}-range-start-single):not(${fe}-range-end) ${Ie}`]:{borderStartStartRadius:rt,borderEndStartRadius:rt,borderStartEndRadius:0,borderEndEndRadius:0},[`&-in-view${fe}-range-end:not(${fe}-range-end-single):not(${fe}-range-start) ${Ie}`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:rt,borderEndEndRadius:rt},[`&-range-hover${fe}-range-end::after`]:{insetInlineStart:"50%"},[`tr > &-in-view${fe}-range-hover:first-child::after,
tr > &-in-view${fe}-range-hover-end:first-child::after,
&-in-view${fe}-start${fe}-range-hover-edge-start${fe}-range-hover-edge-start-near-range::after,
&-in-view${fe}-range-hover-edge-start:not(${fe}-range-hover-edge-start-near-range)::after,
&-in-view${fe}-range-hover-start::after`]:{insetInlineStart:(on-Oe)/2,borderInlineStart:`${It}px dashed ${Dt}`,borderStartStartRadius:rt,borderEndStartRadius:rt},[`tr > &-in-view${fe}-range-hover:last-child::after,
tr > &-in-view${fe}-range-hover-start:last-child::after,
&-in-view${fe}-end${fe}-range-hover-edge-end${fe}-range-hover-edge-end-near-range::after,
&-in-view${fe}-range-hover-edge-end:not(${fe}-range-hover-edge-end-near-range)::after,
&-in-view${fe}-range-hover-end::after`]:{insetInlineEnd:(on-Oe)/2,borderInlineEnd:`${It}px dashed ${Dt}`,borderStartEndRadius:rt,borderEndEndRadius:rt},"&-disabled":{color:sa,pointerEvents:"none",[Ie]:{background:"transparent"},"&::before":{background:Ca}},[`&-disabled${fe}-today ${Ie}::before`]:{borderColor:sa}}},Qo=ce=>{const{componentCls:ge,pickerCellCls:fe,pickerCellInnerCls:Ie,pickerYearMonthCellWidth:Oe,pickerControlIconSize:dt,cellWidth:rt,paddingSM:Nt,paddingXS:wt,paddingXXS:It,colorBgContainer:Gn,lineWidth:rn,lineType:dn,borderRadiusLG:Nn,colorPrimary:In,colorTextHeading:Dt,colorSplit:Vt,pickerControlIconBorderWidth:On,colorIcon:on,textHeight:sa,motionDurationMid:Ca,colorIconHover:Ra,fontWeightStrong:Ba,cellHeight:ga,pickerCellPaddingVertical:Rr,colorTextDisabled:ur,colorText:Lr,fontSize:$r,cellHoverWithRangeBg:io,motionDurationSlow:Mn,withoutTimeCellHeight:Yo,pickerQuarterPanelContentHeight:mo,colorLink:Yr,colorLinkActive:eo,colorLinkHover:yo,cellRangeBorderColor:xo,borderRadiusSM:so,colorTextLightSolid:Sr,cellHoverBg:To,timeColumnHeight:Mo,timeColumnWidth:bi,timeCellHeight:Xo,controlItemBgActive:Fi,marginXXS:Kr,pickerDatePanelPaddingHorizontal:li}=ce,Si=rt*7+li*2,ki=(Si-wt*2)/3-Oe-Nt,mi=(Si-wt*2)/4-Oe;return{[ge]:{"&-panel":{display:"inline-flex",flexDirection:"column",textAlign:"center",background:Gn,border:`${rn}px ${dn} ${Vt}`,borderRadius:Nn,outline:"none","&-focused":{borderColor:In},"&-rtl":{direction:"rtl",[`${ge}-prev-icon,
${ge}-super-prev-icon`]:{transform:"rotate(45deg)"},[`${ge}-next-icon,
${ge}-super-next-icon`]:{transform:"rotate(-135deg)"}}},"&-decade-panel,\n &-year-panel,\n &-quarter-panel,\n &-month-panel,\n &-week-panel,\n &-date-panel,\n &-time-panel":{display:"flex",flexDirection:"column",width:Si},"&-header":{display:"flex",padding:`0 ${wt}px`,color:Dt,borderBottom:`${rn}px ${dn} ${Vt}`,"> *":{flex:"none"},button:{padding:0,color:on,lineHeight:`${sa}px`,background:"transparent",border:0,cursor:"pointer",transition:`color ${Ca}`,fontSize:"inherit"},"> button":{minWidth:"1.6em",fontSize:$r,"&:hover":{color:Ra}},"&-view":{flex:"auto",fontWeight:Ba,lineHeight:`${sa}px`,button:{color:"inherit",fontWeight:"inherit",verticalAlign:"top","&:not(:first-child)":{marginInlineStart:wt},"&:hover":{color:In}}}},"&-prev-icon,\n &-next-icon,\n &-super-prev-icon,\n &-super-next-icon":{position:"relative",display:"inline-block",width:dt,height:dt,"&::before":{position:"absolute",top:0,insetInlineStart:0,display:"inline-block",width:dt,height:dt,border:"0 solid currentcolor",borderBlockStartWidth:On,borderBlockEndWidth:0,borderInlineStartWidth:On,borderInlineEndWidth:0,content:'""'}},"&-super-prev-icon,\n &-super-next-icon":{"&::after":{position:"absolute",top:Math.ceil(dt/2),insetInlineStart:Math.ceil(dt/2),display:"inline-block",width:dt,height:dt,border:"0 solid currentcolor",borderBlockStartWidth:On,borderBlockEndWidth:0,borderInlineStartWidth:On,borderInlineEndWidth:0,content:'""'}},"&-prev-icon,\n &-super-prev-icon":{transform:"rotate(-45deg)"},"&-next-icon,\n &-super-next-icon":{transform:"rotate(135deg)"},"&-content":{width:"100%",tableLayout:"fixed",borderCollapse:"collapse","th, td":{position:"relative",minWidth:ga,fontWeight:"normal"},th:{height:ga+Rr*2,color:Lr,verticalAlign:"middle"}},"&-cell":Object.assign({padding:`${Rr}px 0`,color:ur,cursor:"pointer","&-in-view":{color:Lr}},ls(ce)),[`&-date-panel ${ge}-cell-in-view${ge}-cell-in-range${ge}-cell-range-hover-start ${Ie},
&-date-panel ${ge}-cell-in-view${ge}-cell-in-range${ge}-cell-range-hover-end ${Ie}`]:{"&::after":{position:"absolute",top:0,bottom:0,zIndex:-1,background:io,transition:`all ${Mn}`,content:'""'}},[`&-date-panel
${ge}-cell-in-view${ge}-cell-in-range${ge}-cell-range-hover-start
${Ie}::after`]:{insetInlineEnd:-(rt-ga)/2,insetInlineStart:0},[`&-date-panel ${ge}-cell-in-view${ge}-cell-in-range${ge}-cell-range-hover-end ${Ie}::after`]:{insetInlineEnd:0,insetInlineStart:-(rt-ga)/2},[`&-range-hover${ge}-range-start::after`]:{insetInlineEnd:"50%"},"&-decade-panel,\n &-year-panel,\n &-quarter-panel,\n &-month-panel":{[`${ge}-content`]:{height:Yo*4},[Ie]:{padding:`0 ${wt}px`}},"&-quarter-panel":{[`${ge}-content`]:{height:mo},[`${ge}-cell-range-hover-start::after`]:{insetInlineStart:mi,borderInlineStart:`${rn}px dashed ${xo}`,[`${ge}-panel-rtl &`]:{insetInlineEnd:mi,borderInlineEnd:`${rn}px dashed ${xo}`}},[`${ge}-cell-range-hover-end::after`]:{insetInlineEnd:mi,borderInlineEnd:`${rn}px dashed ${xo}`,[`${ge}-panel-rtl &`]:{insetInlineStart:mi,borderInlineStart:`${rn}px dashed ${xo}`}}},[`&-panel ${ge}-footer`]:{borderTop:`${rn}px ${dn} ${Vt}`},"&-footer":{width:"min-content",minWidth:"100%",lineHeight:`${sa-2*rn}px`,textAlign:"center","&-extra":{padding:`0 ${Nt}px`,lineHeight:`${sa-2*rn}px`,textAlign:"start","&:not(:last-child)":{borderBottom:`${rn}px ${dn} ${Vt}`}}},"&-now":{textAlign:"start"},"&-today-btn":{color:Yr,"&:hover":{color:yo},"&:active":{color:eo},[`&${ge}-today-btn-disabled`]:{color:ur,cursor:"not-allowed"}},"&-decade-panel":{[Ie]:{padding:`0 ${wt/2}px`},[`${ge}-cell::before`]:{display:"none"}},"&-year-panel,\n &-quarter-panel,\n &-month-panel":{[`${ge}-body`]:{padding:`0 ${wt}px`},[Ie]:{width:Oe},[`${ge}-cell-range-hover-start::after`]:{borderStartStartRadius:so,borderEndStartRadius:so,borderStartEndRadius:0,borderEndEndRadius:0,[`${ge}-panel-rtl &`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:so,borderEndEndRadius:so}},[`${ge}-cell-range-hover-end::after`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:so,borderEndEndRadius:so,[`${ge}-panel-rtl &`]:{borderStartStartRadius:so,borderEndStartRadius:so,borderStartEndRadius:0,borderEndEndRadius:0}}},"&-year-panel,\n &-month-panel":{[`${ge}-cell-range-hover-start::after`]:{insetInlineStart:ki,borderInlineStart:`${rn}px dashed ${xo}`,[`${ge}-panel-rtl &`]:{insetInlineEnd:ki,borderInlineEnd:`${rn}px dashed ${xo}`}},[`${ge}-cell-range-hover-end::after`]:{insetInlineEnd:ki,borderInlineEnd:`${rn}px dashed ${xo}`,[`${ge}-panel-rtl &`]:{insetInlineStart:ki,borderInlineStart:`${rn}px dashed ${xo}`}}},"&-week-panel":{[`${ge}-body`]:{padding:`${wt}px ${Nt}px`},[`${ge}-cell`]:{[`&:hover ${Ie},
&-selected ${Ie},
${Ie}`]:{background:"transparent !important"}},"&-row":{td:{"&:before":{transition:`background ${Ca}`},"&:first-child:before":{borderStartStartRadius:so,borderEndStartRadius:so},"&:last-child:before":{borderStartEndRadius:so,borderEndEndRadius:so}},"&:hover td":{"&:before":{background:To}},"&-range-start td,\n &-range-end td,\n &-selected td":{[`&${fe}`]:{"&:before":{background:In},[`&${ge}-cell-week`]:{color:new Bu.C(Sr).setAlpha(.5).toHexString()},[Ie]:{color:Sr}}},"&-range-hover td:before":{background:Fi}}},"&-date-panel":{[`${ge}-body`]:{padding:`${wt}px ${li}px`},[`${ge}-content`]:{width:rt*7,th:{width:rt,boxSizing:"border-box",padding:0}}},"&-datetime-panel":{display:"flex",[`${ge}-time-panel`]:{borderInlineStart:`${rn}px ${dn} ${Vt}`},[`${ge}-date-panel,
${ge}-time-panel`]:{transition:`opacity ${Mn}`},"&-active":{[`${ge}-date-panel,
${ge}-time-panel`]:{opacity:.3,"&-active":{opacity:1}}}},"&-time-panel":{width:"auto",minWidth:"auto",direction:"ltr",[`${ge}-content`]:{display:"flex",flex:"auto",height:Mo},"&-column":{flex:"1 0 auto",width:bi,margin:`${It}px 0`,padding:0,overflowY:"hidden",textAlign:"start",listStyle:"none",transition:`background ${Ca}`,overflowX:"hidden","&::after":{display:"block",height:Mo-Xo,content:'""'},"&:not(:first-child)":{borderInlineStart:`${rn}px ${dn} ${Vt}`},"&-active":{background:new Bu.C(Fi).setAlpha(.2).toHexString()},"&:hover":{overflowY:"auto"},"> li":{margin:0,padding:0,[`&${ge}-time-panel-cell`]:{marginInline:Kr,[`${ge}-time-panel-cell-inner`]:{display:"block",width:bi-2*Kr,height:Xo,margin:0,paddingBlock:0,paddingInlineEnd:0,paddingInlineStart:(bi-Xo)/2,color:Lr,lineHeight:`${Xo}px`,borderRadius:so,cursor:"pointer",transition:`background ${Ca}`,"&:hover":{background:To}},"&-selected":{[`${ge}-time-panel-cell-inner`]:{background:Fi}},"&-disabled":{[`${ge}-time-panel-cell-inner`]:{color:ur,background:"transparent",cursor:"not-allowed"}}}}}},[`&-datetime-panel ${ge}-time-panel-column:after`]:{height:Mo-Xo+It*2}}}},us=ce=>{const{componentCls:ge,colorBgContainer:fe,colorError:Ie,errorActiveShadow:Oe,colorWarning:dt,warningActiveShadow:rt}=ce;return{[`${ge}:not(${ge}-disabled)`]:{[`&${ge}-status-error`]:{"&, &:not([disabled]):hover":{backgroundColor:fe,borderColor:Ie},[`&${ge}-focused, &:focus`]:Object.assign({},(0,yi.M1)((0,Bl.TS)(ce,{activeBorderColor:Ie,activeShadow:Oe}))),[`${ge}-active-bar`]:{background:Ie}},[`&${ge}-status-warning`]:{"&, &:not([disabled]):hover":{backgroundColor:fe,borderColor:dt},[`&${ge}-focused, &:focus`]:Object.assign({},(0,yi.M1)((0,Bl.TS)(ce,{activeBorderColor:dt,activeShadow:rt}))),[`${ge}-active-bar`]:{background:dt}}}}},ss=ce=>{const{componentCls:ge,antCls:fe,controlHeight:Ie,fontSize:Oe,paddingInline:dt,colorBgContainer:rt,lineWidth:Nt,lineType:wt,colorBorder:It,borderRadius:Gn,motionDurationMid:rn,colorBgContainerDisabled:dn,colorTextDisabled:Nn,colorTextPlaceholder:In,controlHeightLG:Dt,fontSizeLG:Vt,controlHeightSM:On,paddingInlineSM:on,paddingXS:sa,marginXS:Ca,colorTextDescription:Ra,lineWidthBold:Ba,lineHeight:ga,colorPrimary:Rr,motionDurationSlow:ur,zIndexPopup:Lr,paddingXXS:$r,paddingSM:io,textHeight:Mn,cellActiveWithRangeBg:Yo,colorPrimaryBorder:mo,sizePopupArrow:Yr,borderRadiusXS:eo,borderRadiusOuter:yo,colorBgElevated:xo,borderRadiusLG:so,boxShadowSecondary:Sr,borderRadiusSM:To,colorSplit:Mo,cellHoverBg:bi,presetsWidth:Xo,presetsMaxWidth:Fi,boxShadowPopoverArrow:Kr,colorTextQuaternary:li}=ce;return[{[ge]:Object.assign(Object.assign(Object.assign({},(0,Au.Wf)(ce)),Mu(ce,Ie,Oe,dt)),{position:"relative",display:"inline-flex",alignItems:"center",background:rt,lineHeight:1,border:`${Nt}px ${wt} ${It}`,borderRadius:Gn,transition:`border ${rn}, box-shadow ${rn}`,"&:hover, &-focused":Object.assign({},(0,yi.pU)(ce)),"&-focused":Object.assign({},(0,yi.M1)(ce)),[`&${ge}-disabled`]:{background:dn,borderColor:It,cursor:"not-allowed",[`${ge}-suffix`]:{color:li}},[`&${ge}-borderless`]:{backgroundColor:"transparent !important",borderColor:"transparent !important",boxShadow:"none !important"},[`${ge}-input`]:{position:"relative",display:"inline-flex",alignItems:"center",width:"100%","> input":Object.assign(Object.assign({},(0,yi.ik)(ce)),{flex:"auto",minWidth:1,height:"auto",padding:0,background:"transparent",border:0,borderRadius:0,"&:focus":{boxShadow:"none"},"&[disabled]":{background:"transparent"}}),"&:hover":{[`${ge}-clear`]:{opacity:1}},"&-placeholder":{"> input":{color:In}}},"&-large":Object.assign(Object.assign({},Mu(ce,Dt,Vt,dt)),{[`${ge}-input > input`]:{fontSize:Vt}}),"&-small":Object.assign({},Mu(ce,On,Oe,on)),[`${ge}-suffix`]:{display:"flex",flex:"none",alignSelf:"center",marginInlineStart:sa/2,color:Nn,lineHeight:1,pointerEvents:"none","> *":{verticalAlign:"top","&:not(:last-child)":{marginInlineEnd:Ca}}},[`${ge}-clear`]:{position:"absolute",top:"50%",insetInlineEnd:0,color:Nn,lineHeight:1,background:rt,transform:"translateY(-50%)",cursor:"pointer",opacity:0,transition:`opacity ${rn}, color ${rn}`,"> *":{verticalAlign:"top"},"&:hover":{color:Ra}},[`${ge}-separator`]:{position:"relative",display:"inline-block",width:"1em",height:Vt,color:Nn,fontSize:Vt,verticalAlign:"top",cursor:"default",[`${ge}-focused &`]:{color:Ra},[`${ge}-range-separator &`]:{[`${ge}-disabled &`]:{cursor:"not-allowed"}}},"&-range":{position:"relative",display:"inline-flex",[`${ge}-clear`]:{insetInlineEnd:dt},"&:hover":{[`${ge}-clear`]:{opacity:1}},[`${ge}-active-bar`]:{bottom:-Nt,height:Ba,marginInlineStart:dt,background:Rr,opacity:0,transition:`all ${ur} ease-out`,pointerEvents:"none"},[`&${ge}-focused`]:{[`${ge}-active-bar`]:{opacity:1}},[`${ge}-range-separator`]:{alignItems:"center",padding:`0 ${sa}px`,lineHeight:1},[`&${ge}-small`]:{[`${ge}-clear`]:{insetInlineEnd:on},[`${ge}-active-bar`]:{marginInlineStart:on}}},"&-dropdown":Object.assign(Object.assign(Object.assign({},(0,Au.Wf)(ce)),Qo(ce)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:Lr,[`&${ge}-dropdown-hidden`]:{display:"none"},[`&${ge}-dropdown-placement-bottomLeft`]:{[`${ge}-range-arrow`]:{top:0,display:"block",transform:"translateY(-100%)"}},[`&${ge}-dropdown-placement-topLeft`]:{[`${ge}-range-arrow`]:{bottom:0,display:"block",transform:"translateY(100%) rotate(180deg)"}},[`&${fe}-slide-up-enter${fe}-slide-up-enter-active${ge}-dropdown-placement-topLeft,
&${fe}-slide-up-enter${fe}-slide-up-enter-active${ge}-dropdown-placement-topRight,
&${fe}-slide-up-appear${fe}-slide-up-appear-active${ge}-dropdown-placement-topLeft,
&${fe}-slide-up-appear${fe}-slide-up-appear-active${ge}-dropdown-placement-topRight`]:{animationName:Jl.Qt},[`&${fe}-slide-up-enter${fe}-slide-up-enter-active${ge}-dropdown-placement-bottomLeft,
&${fe}-slide-up-enter${fe}-slide-up-enter-active${ge}-dropdown-placement-bottomRight,
&${fe}-slide-up-appear${fe}-slide-up-appear-active${ge}-dropdown-placement-bottomLeft,
&${fe}-slide-up-appear${fe}-slide-up-appear-active${ge}-dropdown-placement-bottomRight`]:{animationName:Jl.fJ},[`&${fe}-slide-up-leave${fe}-slide-up-leave-active${ge}-dropdown-placement-topLeft,
&${fe}-slide-up-leave${fe}-slide-up-leave-active${ge}-dropdown-placement-topRight`]:{animationName:Jl.ly},[`&${fe}-slide-up-leave${fe}-slide-up-leave-active${ge}-dropdown-placement-bottomLeft,
&${fe}-slide-up-leave${fe}-slide-up-leave-active${ge}-dropdown-placement-bottomRight`]:{animationName:Jl.Uw},[`${ge}-panel > ${ge}-time-panel`]:{paddingTop:$r},[`${ge}-ranges`]:{marginBottom:0,padding:`${$r}px ${io}px`,overflow:"hidden",lineHeight:`${Mn-2*Nt-sa/2}px`,textAlign:"start",listStyle:"none",display:"flex",justifyContent:"space-between","> li":{display:"inline-block"},[`${ge}-preset > ${fe}-tag-blue`]:{color:Rr,background:Yo,borderColor:mo,cursor:"pointer"},[`${ge}-ok`]:{marginInlineStart:"auto"}},[`${ge}-range-wrapper`]:{display:"flex",position:"relative"},[`${ge}-range-arrow`]:Object.assign({position:"absolute",zIndex:1,display:"none",marginInlineStart:dt*1.5,transition:`left ${ur} ease-out`},(0,os.r)(Yr,eo,yo,xo,Kr)),[`${ge}-panel-container`]:{overflow:"hidden",verticalAlign:"top",background:xo,borderRadius:so,boxShadow:Sr,transition:`margin ${ur}`,[`${ge}-panel-layout`]:{display:"flex",flexWrap:"nowrap",alignItems:"stretch"},[`${ge}-presets`]:{display:"flex",flexDirection:"column",minWidth:Xo,maxWidth:Fi,ul:{height:0,flex:"auto",listStyle:"none",overflow:"auto",margin:0,padding:sa,borderInlineEnd:`${Nt}px ${wt} ${Mo}`,li:Object.assign(Object.assign({},Au.vS),{borderRadius:To,paddingInline:sa,paddingBlock:(On-Math.round(Oe*ga))/2,cursor:"pointer",transition:`all ${ur}`,"+ li":{marginTop:Ca},"&:hover":{background:bi}})}},[`${ge}-panels`]:{display:"inline-flex",flexWrap:"nowrap",direction:"ltr",[`${ge}-panel`]:{borderWidth:`0 0 ${Nt}px`},"&:last-child":{[`${ge}-panel`]:{borderWidth:0}}},[`${ge}-panel`]:{verticalAlign:"top",background:"transparent",borderRadius:0,borderWidth:0,[`${ge}-content,
table`]:{textAlign:"center"},"&-focused":{borderColor:It}}}}),"&-dropdown-range":{padding:`${Yr*2/3}px 0`,"&-hidden":{display:"none"}},"&-rtl":{direction:"rtl",[`${ge}-separator`]:{transform:"rotate(180deg)"},[`${ge}-footer`]:{"&-extra":{direction:"rtl"}}}})},(0,Jl.oN)(ce,"slide-up"),(0,Jl.oN)(ce,"slide-down"),(0,Cl.Fm)(ce,"move-up"),(0,Cl.Fm)(ce,"move-down")]},ds=ce=>{const{componentCls:ge,controlHeightLG:fe,paddingXXS:Ie,padding:Oe}=ce;return{pickerCellCls:`${ge}-cell`,pickerCellInnerCls:`${ge}-cell-inner`,pickerYearMonthCellWidth:fe*1.5,pickerQuarterPanelContentHeight:fe*1.4,pickerCellPaddingVertical:Ie+Ie/2,pickerCellBorderGap:2,pickerControlIconSize:7,pickerControlIconBorderWidth:1.5,pickerDatePanelPaddingHorizontal:Oe+Ie/2}},Uu=ce=>({cellHoverBg:ce.controlItemBgHover,cellActiveWithRangeBg:ce.controlItemBgActive,cellHoverWithRangeBg:new Bu.C(ce.colorPrimary).lighten(35).toHexString(),cellRangeBorderColor:new Bu.C(ce.colorPrimary).lighten(20).toHexString(),cellBgDisabled:ce.colorBgContainerDisabled,timeColumnWidth:ce.controlHeightLG*1.4,timeColumnHeight:28*8,timeCellHeight:28,cellWidth:ce.controlHeightSM*1.5,cellHeight:ce.controlHeightSM,textHeight:ce.controlHeightLG,withoutTimeCellHeight:ce.controlHeightLG*1.65});var Ru=(0,is.Z)("DatePicker",ce=>{const ge=(0,Bl.TS)((0,yi.e5)(ce),ds(ce));return[ss(ge),us(ge),(0,lu.c)(ce,{focusElCls:`${ce.componentCls}-focused`})]},ce=>Object.assign(Object.assign(Object.assign({},(0,yi.TM)(ce)),Uu(ce)),{presetsWidth:120,presetsMaxWidth:200,zIndexPopup:ce.zIndexPopupBase+50}));function ku(ce,ge,fe){return fe!==void 0?fe:ge==="year"&&ce.lang.yearPlaceholder?ce.lang.yearPlaceholder:ge==="quarter"&&ce.lang.quarterPlaceholder?ce.lang.quarterPlaceholder:ge==="month"&&ce.lang.monthPlaceholder?ce.lang.monthPlaceholder:ge==="week"&&ce.lang.weekPlaceholder?ce.lang.weekPlaceholder:ge==="time"&&ce.timePickerLocale.placeholder?ce.timePickerLocale.placeholder:ce.lang.placeholder}function Qu(ce,ge,fe){return fe!==void 0?fe:ge==="year"&&ce.lang.yearPlaceholder?ce.lang.rangeYearPlaceholder:ge==="quarter"&&ce.lang.quarterPlaceholder?ce.lang.rangeQuarterPlaceholder:ge==="month"&&ce.lang.monthPlaceholder?ce.lang.rangeMonthPlaceholder:ge==="week"&&ce.lang.weekPlaceholder?ce.lang.rangeWeekPlaceholder:ge==="time"&&ce.timePickerLocale.placeholder?ce.timePickerLocale.rangePlaceholder:ce.lang.rangePlaceholder}function nl(ce,ge){const fe={adjustX:1,adjustY:1};switch(ge){case"bottomLeft":return{points:["tl","bl"],offset:[0,4],overflow:fe};case"bottomRight":return{points:["tr","br"],offset:[0,4],overflow:fe};case"topLeft":return{points:["bl","tl"],offset:[0,-4],overflow:fe};case"topRight":return{points:["br","tr"],offset:[0,-4],overflow:fe};default:return{points:ce==="rtl"?["tr","br"]:["tl","bl"],offset:[0,4],overflow:fe}}}function gl(ce){return ce?Array.isArray(ce)?ce:[ce]:[]}function yu(ce){const{format:ge,picker:fe,showHour:Ie,showMinute:Oe,showSecond:dt,use12Hours:rt}=ce,Nt=gl(ge)[0],wt=Object.assign({},ce);return ge&&Array.isArray(ge)&&(wt.format=Nt),Nt&&typeof Nt=="string"&&(!Nt.includes("s")&&dt===void 0&&(wt.showSecond=!1),!Nt.includes("m")&&Oe===void 0&&(wt.showMinute=!1),!Nt.includes("H")&&!Nt.includes("h")&&!Nt.includes("K")&&!Nt.includes("k")&&Ie===void 0&&(wt.showHour=!1),(Nt.includes("a")||Nt.includes("A"))&&rt===void 0&&(wt.use12Hours=!0)),fe==="time"?wt:(typeof Nt=="function"&&delete wt.format,{showTime:wt})}function Yu(ce,ge,fe){if(ce===!1)return!1;const Ie={clearIcon:ge!=null?ge:fe};return typeof ce=="object"?Object.assign(Object.assign({},Ie),ce):Ie}var Ku=oe(3113);function Fa(ce){return ie.createElement(Ku.ZP,Object.assign({size:"small",type:"primary"},ce))}var _u={button:Fa},bu=function(ce,ge){var fe={};for(var Ie in ce)Object.prototype.hasOwnProperty.call(ce,Ie)&&ge.indexOf(Ie)<0&&(fe[Ie]=ce[Ie]);if(ce!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Oe=0,Ie=Object.getOwnPropertySymbols(ce);Oe<Ie.length;Oe++)ge.indexOf(Ie[Oe])<0&&Object.prototype.propertyIsEnumerable.call(ce,Ie[Oe])&&(fe[Ie[Oe]]=ce[Ie[Oe]]);return fe};function Un(ce){return(0,ie.forwardRef)((fe,Ie)=>{const{prefixCls:Oe,getPopupContainer:dt,className:rt,placement:Nt,size:wt,disabled:It,bordered:Gn=!0,placeholder:rn,popupClassName:dn,dropdownClassName:Nn,status:In,clearIcon:Dt,allowClear:Vt,rootClassName:On}=fe,on=bu(fe,["prefixCls","getPopupContainer","className","placement","size","disabled","bordered","placeholder","popupClassName","dropdownClassName","status","clearIcon","allowClear","rootClassName"]),sa=ie.useRef(null),{getPrefixCls:Ca,direction:Ra,getPopupContainer:Ba}=(0,ie.useContext)(Nu.E_),ga=Ca("picker",Oe),{compactSize:Rr,compactItemClassnames:ur}=(0,Ni.ri)(ga,Ra),{format:Lr,showTime:$r,picker:io}=fe,Mn=Ca(),[Yo,mo]=Ru(ga),Yr=Object.assign(Object.assign({},$r?yu(Object.assign({format:Lr,picker:io},$r)):{}),io==="time"?yu(Object.assign(Object.assign({format:Lr},fe),{picker:io})):{}),eo=(0,Vu.Z)(Kr=>{var li;return(li=wt!=null?wt:Rr)!==null&&li!==void 0?li:Kr}),yo=ie.useContext(iu.Z),xo=It!=null?It:yo,so=(0,ie.useContext)(Iu.aM),{hasFeedback:Sr,status:To,feedbackIcon:Mo}=so,bi=ie.createElement(ie.Fragment,null,io==="time"?ie.createElement(ht,null):ie.createElement(Re,null),Sr&&Mo);(0,ie.useImperativeHandle)(Ie,()=>({focus:()=>{var Kr;return(Kr=sa.current)===null||Kr===void 0?void 0:Kr.focus()},blur:()=>{var Kr;return(Kr=sa.current)===null||Kr===void 0?void 0:Kr.blur()}}));const[Xo]=(0,Ou.Z)("Calendar",Wu.Z),Fi=Object.assign(Object.assign({},Xo),fe.locale);return Yo(ie.createElement(zu,Object.assign({separator:ie.createElement("span",{"aria-label":"to",className:`${ga}-separator`},ie.createElement(Wt,null)),disabled:xo,ref:sa,dropdownAlign:nl(Ra,Nt),placeholder:Qu(Fi,io,rn),suffixIcon:bi,prevIcon:ie.createElement("span",{className:`${ga}-prev-icon`}),nextIcon:ie.createElement("span",{className:`${ga}-next-icon`}),superPrevIcon:ie.createElement("span",{className:`${ga}-super-prev-icon`}),superNextIcon:ie.createElement("span",{className:`${ga}-super-next-icon`}),transitionName:`${Mn}-slide-up`},on,Yr,{className:Te()({[`${ga}-${eo}`]:eo,[`${ga}-borderless`]:!Gn},(0,Pu.Z)(ga,(0,Pu.F)(To,In),Sr),mo,ur,rt,On),locale:Fi.lang,prefixCls:ga,getPopupContainer:dt||Ba,generateConfig:ce,components:_u,direction:Ra,dropdownClassName:Te()(mo,dn||Nn,On),allowClear:Yu(Vt,Dt,ie.createElement(ct.Z,null))})))})}var Xl=function(ce,ge){var fe={};for(var Ie in ce)Object.prototype.hasOwnProperty.call(ce,Ie)&&ge.indexOf(Ie)<0&&(fe[Ie]=ce[Ie]);if(ce!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Oe=0,Ie=Object.getOwnPropertySymbols(ce);Oe<Ie.length;Oe++)ge.indexOf(Ie[Oe])<0&&Object.prototype.propertyIsEnumerable.call(ce,Ie[Oe])&&(fe[Ie[Oe]]=ce[Ie[Oe]]);return fe};function gs(ce){function ge(wt,It){const Gn=It==="TimePicker"?"timePicker":"datePicker",rn=(0,ie.forwardRef)((dn,Nn)=>{const{prefixCls:In,getPopupContainer:Dt,style:Vt,className:On,rootClassName:on,size:sa,bordered:Ca=!0,placement:Ra,placeholder:Ba,popupClassName:ga,dropdownClassName:Rr,disabled:ur,status:Lr,clearIcon:$r,allowClear:io}=dn,Mn=Xl(dn,["prefixCls","getPopupContainer","style","className","rootClassName","size","bordered","placement","placeholder","popupClassName","dropdownClassName","disabled","status","clearIcon","allowClear"]),{getPrefixCls:Yo,direction:mo,getPopupContainer:Yr,[Gn]:eo}=(0,ie.useContext)(Nu.E_),yo=Yo("picker",In),{compactSize:xo,compactItemClassnames:so}=(0,Ni.ri)(yo,mo),Sr=ie.useRef(null),{format:To,showTime:Mo}=dn,[bi,Xo]=Ru(yo);(0,ie.useImperativeHandle)(Nn,()=>({focus:()=>{var Ei;return(Ei=Sr.current)===null||Ei===void 0?void 0:Ei.focus()},blur:()=>{var Ei;return(Ei=Sr.current)===null||Ei===void 0?void 0:Ei.blur()}}));const Fi={showToday:!0};let Kr={};wt&&(Kr.picker=wt);const li=wt||dn.picker;Kr=Object.assign(Object.assign(Object.assign({},Kr),Mo?yu(Object.assign({format:To,picker:li},Mo)):{}),li==="time"?yu(Object.assign(Object.assign({format:To},dn),{picker:li})):{});const Si=Yo(),ki=(0,Vu.Z)(Ei=>{var Al;return(Al=sa!=null?sa:xo)!==null&&Al!==void 0?Al:Ei}),mi=ie.useContext(iu.Z),Ji=ur!=null?ur:mi,ml=(0,ie.useContext)(Iu.aM),{hasFeedback:Vr,status:vo,feedbackIcon:bo}=ml,fi=ie.createElement(ie.Fragment,null,li==="time"?ie.createElement(ht,null):ie.createElement(Re,null),Vr&&bo),[_i]=(0,Ou.Z)("DatePicker",Wu.Z),ei=Object.assign(Object.assign({},_i),dn.locale);return bi(ie.createElement(Lu,Object.assign({ref:Sr,placeholder:ku(ei,li,Ba),suffixIcon:fi,dropdownAlign:nl(mo,Ra),prevIcon:ie.createElement("span",{className:`${yo}-prev-icon`}),nextIcon:ie.createElement("span",{className:`${yo}-next-icon`}),superPrevIcon:ie.createElement("span",{className:`${yo}-super-prev-icon`}),superNextIcon:ie.createElement("span",{className:`${yo}-super-next-icon`}),transitionName:`${Si}-slide-up`},Fi,Mn,Kr,{locale:ei.lang,className:Te()({[`${yo}-${ki}`]:ki,[`${yo}-borderless`]:!Ca},(0,Pu.Z)(yo,(0,Pu.F)(vo,Lr),Vr),Xo,so,eo==null?void 0:eo.className,On,on),style:Object.assign(Object.assign({},eo==null?void 0:eo.style),Vt),prefixCls:yo,getPopupContainer:Dt||Yr,generateConfig:ce,components:_u,direction:mo,disabled:Ji,dropdownClassName:Te()(Xo,on,ga||Rr),allowClear:Yu(io,$r,ie.createElement(ct.Z,null))})))});return It&&(rn.displayName=It),rn}const fe=ge(),Ie=ge("week","WeekPicker"),Oe=ge("month","MonthPicker"),dt=ge("year","YearPicker"),rt=ge("time","TimePicker"),Nt=ge("quarter","QuarterPicker");return{DatePicker:fe,WeekPicker:Ie,MonthPicker:Oe,YearPicker:dt,TimePicker:rt,QuarterPicker:Nt}}const Os=null;function ms(ce){const{DatePicker:ge,WeekPicker:fe,MonthPicker:Ie,YearPicker:Oe,TimePicker:dt,QuarterPicker:rt}=gs(ce),Nt=Un(ce),wt=ge;return wt.WeekPicker=fe,wt.MonthPicker=Ie,wt.YearPicker=Oe,wt.RangePicker=Nt,wt.TimePicker=dt,wt.QuarterPicker=rt,wt}var Ju=ms;const ql=Ju(te);function di(ce){const ge=nl(ce.direction,ce.placement);return ge.overflow.adjustY=!1,ge.overflow.adjustX=!1,Object.assign(Object.assign({},ce),{dropdownAlign:ge})}const Tu=(0,ae.Z)(ql,"picker",null,di);ql._InternalPanelDoNotUseOrYouWillBeFired=Tu;const Xu=(0,ae.Z)(ql.RangePicker,"picker",null,di);ql._InternalRangePanelDoNotUseOrYouWillBeFired=Xu,ql.generatePicker=Ju;var fs=ql},39722:function(yt,kt,oe){"use strict";oe.d(kt,{t5:function(){return Le}});var b=oe(92310),he=oe.n(b),De=oe(55477),Ae=oe(59301),ke=oe(36355),ze=oe(77578),xe=oe(17356),tt=function(He,Ke){var le={};for(var E in He)Object.prototype.hasOwnProperty.call(He,E)&&Ke.indexOf(E)<0&&(le[E]=He[E]);if(He!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,E=Object.getOwnPropertySymbols(He);a<E.length;a++)Ke.indexOf(E[a])<0&&Object.prototype.propertyIsEnumerable.call(He,E[a])&&(le[E[a]]=He[E[a]]);return le};const Me=(He,Ke,le)=>{if(!(!Ke&&!le))return Ae.createElement(Ae.Fragment,null,Ke&&Ae.createElement("div",{className:`${He}-title`},(0,ze.Z)(Ke)),Ae.createElement("div",{className:`${He}-inner-content`},(0,ze.Z)(le)))},Le=He=>{const{hashId:Ke,prefixCls:le,className:E,style:a,placement:x="top",title:y,content:z,children:te}=He;return Ae.createElement("div",{className:he()(Ke,le,`${le}-pure`,`${le}-placement-${x}`,E),style:a},Ae.createElement("div",{className:`${le}-arrow`}),Ae.createElement(De.G,Object.assign({},He,{className:Ke,prefixCls:le}),te||Me(le,y,z)))},_e=He=>{const{prefixCls:Ke}=He,le=tt(He,["prefixCls"]),{getPrefixCls:E}=Ae.useContext(ke.E_),a=E("popover",Ke),[x,y]=(0,xe.Z)(a);return x(Ae.createElement(Le,Object.assign({},le,{prefixCls:a,hashId:y})))};kt.ZP=_e},60324:function(yt,kt,oe){"use strict";var b=oe(92310),he=oe.n(b),De=oe(59301),Ae=oe(77578),ke=oe(62892),ze=oe(36355),xe=oe(6848),tt=oe(39722),Me=oe(17356),Le=function(Ke,le){var E={};for(var a in Ke)Object.prototype.hasOwnProperty.call(Ke,a)&&le.indexOf(a)<0&&(E[a]=Ke[a]);if(Ke!=null&&typeof Object.getOwnPropertySymbols=="function")for(var x=0,a=Object.getOwnPropertySymbols(Ke);x<a.length;x++)le.indexOf(a[x])<0&&Object.prototype.propertyIsEnumerable.call(Ke,a[x])&&(E[a[x]]=Ke[a[x]]);return E};const _e=Ke=>{let{title:le,content:E,prefixCls:a}=Ke;return De.createElement(De.Fragment,null,le&&De.createElement("div",{className:`${a}-title`},(0,Ae.Z)(le)),De.createElement("div",{className:`${a}-inner-content`},(0,Ae.Z)(E)))},He=De.forwardRef((Ke,le)=>{const{prefixCls:E,title:a,content:x,overlayClassName:y,placement:z="top",trigger:te="hover",mouseEnterDelay:ae=.1,mouseLeaveDelay:se=.1,overlayStyle:ie={}}=Ke,Se=Le(Ke,["prefixCls","title","content","overlayClassName","placement","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle"]),{getPrefixCls:Fe}=De.useContext(ze.E_),We=Fe("popover",E),[Ne,mt]=(0,Me.Z)(We),Re=Fe(),Je=he()(y,mt);return Ne(De.createElement(xe.Z,Object.assign({placement:z,trigger:te,mouseEnterDelay:ae,mouseLeaveDelay:se,overlayStyle:ie},Se,{prefixCls:We,overlayClassName:Je,ref:le,overlay:a||x?De.createElement(_e,{prefixCls:We,title:a,content:x}):null,transitionName:(0,ke.m)(Re,"zoom-big",Se.transitionName),"data-popover-inject":!0})))});He._InternalPanelDoNotUseOrYouWillBeFired=tt.ZP,kt.Z=He},17356:function(yt,kt,oe){"use strict";var b=oe(17313),he=oe(29878),De=oe(19447),Ae=oe(33166),ke=oe(83116),ze=oe(37613);const xe=Le=>{const{componentCls:_e,popoverColor:He,minWidth:Ke,fontWeightStrong:le,popoverPadding:E,boxShadowSecondary:a,colorTextHeading:x,borderRadiusLG:y,zIndexPopup:z,marginXS:te,colorBgElevated:ae,popoverBg:se}=Le;return[{[_e]:Object.assign(Object.assign({},(0,b.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":ae,"&-rtl":{direction:"rtl"},"&-hidden":{display:"none"},[`${_e}-content`]:{position:"relative"},[`${_e}-inner`]:{backgroundColor:se,backgroundClip:"padding-box",borderRadius:y,boxShadow:a,padding:E},[`${_e}-title`]:{minWidth:Ke,marginBottom:te,color:x,fontWeight:le},[`${_e}-inner-content`]:{color:He}})},(0,De.ZP)(Le,{colorBg:"var(--antd-arrow-background-color)"}),{[`${_e}-pure`]:{position:"relative",maxWidth:"none",margin:Le.sizePopupArrow,display:"inline-block",[`${_e}-content`]:{display:"inline-block"}}}]},tt=Le=>{const{componentCls:_e}=Le;return{[_e]:Ae.i.map(He=>{const Ke=Le[`${He}6`];return{[`&${_e}-${He}`]:{"--antd-arrow-background-color":Ke,[`${_e}-inner`]:{backgroundColor:Ke},[`${_e}-arrow`]:{background:"transparent"}}}})}},Me=Le=>{const{componentCls:_e,lineWidth:He,lineType:Ke,colorSplit:le,paddingSM:E,controlHeight:a,fontSize:x,lineHeight:y,padding:z}=Le,te=a-Math.round(x*y),ae=te/2,se=te/2-He,ie=z;return{[_e]:{[`${_e}-inner`]:{padding:0},[`${_e}-title`]:{margin:0,padding:`${ae}px ${ie}px ${se}px`,borderBottom:`${He}px ${Ke} ${le}`},[`${_e}-inner-content`]:{padding:`${E}px ${ie}px`}}}};kt.Z=(0,ke.Z)("Popover",Le=>{const{colorBgElevated:_e,colorText:He,wireframe:Ke}=Le,le=(0,ze.TS)(Le,{popoverPadding:12,popoverBg:_e,popoverColor:He});return[xe(le),tt(le),Ke&&Me(le),(0,he._y)(le,"zoom-big")]},Le=>({width:177,minWidth:177,zIndexPopup:Le.zIndexPopupBase+30}),{resetStyle:!1,deprecatedTokens:[["width","minWidth"]]})},12563:function(yt,kt,oe){"use strict";oe.d(kt,{default:function(){return mt}});var b=oe(59301),he=oe(99267),De=oe(92310),Ae=oe.n(De),ke=oe(36785),ze=oe(47729),xe=oe(14088),tt=oe(36355),Me=oe(17313),Le=oe(37613),_e=oe(83116);const He=Re=>{const{paddingXXS:Je,lineWidth:Qe,tagPaddingHorizontal:et,componentCls:we}=Re,ht=et-Qe,ct=Je-Qe;return{[we]:Object.assign(Object.assign({},(0,Me.Wf)(Re)),{display:"inline-block",height:"auto",marginInlineEnd:Re.marginXS,paddingInline:ht,fontSize:Re.tagFontSize,lineHeight:Re.tagLineHeight,whiteSpace:"nowrap",background:Re.defaultBg,border:`${Re.lineWidth}px ${Re.lineType} ${Re.colorBorder}`,borderRadius:Re.borderRadiusSM,opacity:1,transition:`all ${Re.motionDurationMid}`,textAlign:"start",position:"relative",[`&${we}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:Re.defaultColor},[`${we}-close-icon`]:{marginInlineStart:ct,color:Re.colorTextDescription,fontSize:Re.tagIconSize,cursor:"pointer",transition:`all ${Re.motionDurationMid}`,"&:hover":{color:Re.colorTextHeading}},[`&${we}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${Re.iconCls}-close, ${Re.iconCls}-close:hover`]:{color:Re.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${we}-checkable-checked):hover`]:{color:Re.colorPrimary,backgroundColor:Re.colorFillSecondary},"&:active, &-checked":{color:Re.colorTextLightSolid},"&-checked":{backgroundColor:Re.colorPrimary,"&:hover":{backgroundColor:Re.colorPrimaryHover}},"&:active":{backgroundColor:Re.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${Re.iconCls} + span, > span + ${Re.iconCls}`]:{marginInlineStart:ht}}),[`${we}-borderless`]:{borderColor:"transparent",background:Re.tagBorderlessBg}}},Ke=Re=>{const{lineWidth:Je,fontSizeIcon:Qe}=Re,et=Re.fontSizeSM,we=`${Re.lineHeightSM*et}px`;return(0,Le.TS)(Re,{tagFontSize:et,tagLineHeight:we,tagIconSize:Qe-2*Je,tagPaddingHorizontal:8,tagBorderlessBg:Re.colorFillTertiary})},le=Re=>({defaultBg:Re.colorFillQuaternary,defaultColor:Re.colorText});var E=(0,_e.Z)("Tag",Re=>{const Je=Ke(Re);return He(Je)},le),a=function(Re,Je){var Qe={};for(var et in Re)Object.prototype.hasOwnProperty.call(Re,et)&&Je.indexOf(et)<0&&(Qe[et]=Re[et]);if(Re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var we=0,et=Object.getOwnPropertySymbols(Re);we<et.length;we++)Je.indexOf(et[we])<0&&Object.prototype.propertyIsEnumerable.call(Re,et[we])&&(Qe[et[we]]=Re[et[we]]);return Qe},y=Re=>{const{prefixCls:Je,style:Qe,className:et,checked:we,onChange:ht,onClick:ct}=Re,Lt=a(Re,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:gt,tag:Pn}=b.useContext(tt.E_),nn=Ut=>{ht==null||ht(!we),ct==null||ct(Ut)},Wt=gt("tag",Je),[_t,Te]=E(Wt),ot=Ae()(Wt,`${Wt}-checkable`,{[`${Wt}-checkable-checked`]:we},Pn==null?void 0:Pn.className,et,Te);return _t(b.createElement("span",Object.assign({},Lt,{style:Object.assign(Object.assign({},Qe),Pn==null?void 0:Pn.style),className:ot,onClick:nn})))},z=oe(45157);const te=Re=>(0,z.Z)(Re,(Je,Qe)=>{let{textColor:et,lightBorderColor:we,lightColor:ht,darkColor:ct}=Qe;return{[`${Re.componentCls}-${Je}`]:{color:et,background:ht,borderColor:we,"&-inverse":{color:Re.colorTextLightSolid,background:ct,borderColor:ct},[`&${Re.componentCls}-borderless`]:{borderColor:"transparent"}}}});var ae=(0,_e.b)(["Tag","preset"],Re=>{const Je=Ke(Re);return te(Je)},le);function se(Re){return typeof Re!="string"?Re:Re.charAt(0).toUpperCase()+Re.slice(1)}const ie=(Re,Je,Qe)=>{const et=se(Qe);return{[`${Re.componentCls}-${Je}`]:{color:Re[`color${Qe}`],background:Re[`color${et}Bg`],borderColor:Re[`color${et}Border`],[`&${Re.componentCls}-borderless`]:{borderColor:"transparent"}}}};var Se=(0,_e.b)(["Tag","status"],Re=>{const Je=Ke(Re);return[ie(Je,"success","Success"),ie(Je,"processing","Info"),ie(Je,"error","Error"),ie(Je,"warning","Warning")]},le),Fe=function(Re,Je){var Qe={};for(var et in Re)Object.prototype.hasOwnProperty.call(Re,et)&&Je.indexOf(et)<0&&(Qe[et]=Re[et]);if(Re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var we=0,et=Object.getOwnPropertySymbols(Re);we<et.length;we++)Je.indexOf(et[we])<0&&Object.prototype.propertyIsEnumerable.call(Re,et[we])&&(Qe[et[we]]=Re[et[we]]);return Qe};const We=(Re,Je)=>{const{prefixCls:Qe,className:et,rootClassName:we,style:ht,children:ct,icon:Lt,color:gt,onClose:Pn,closeIcon:nn,closable:Wt,bordered:_t=!0}=Re,Te=Fe(Re,["prefixCls","className","rootClassName","style","children","icon","color","onClose","closeIcon","closable","bordered"]),{getPrefixCls:ot,direction:Ut,tag:xn}=b.useContext(tt.E_),[At,ln]=b.useState(!0);b.useEffect(()=>{"visible"in Te&&ln(Te.visible)},[Te.visible]);const Ce=(0,ke.o2)(gt),ut=(0,ke.yT)(gt),Xt=Ce||ut,nt=Object.assign(Object.assign({backgroundColor:gt&&!Xt?gt:void 0},xn==null?void 0:xn.style),ht),Pt=ot("tag",Qe),[_n,sn]=E(Pt),Rt=Ae()(Pt,xn==null?void 0:xn.className,{[`${Pt}-${gt}`]:Xt,[`${Pt}-has-color`]:gt&&!Xt,[`${Pt}-hidden`]:!At,[`${Pt}-rtl`]:Ut==="rtl",[`${Pt}-borderless`]:!_t},et,we,sn),Mt=ya=>{ya.stopPropagation(),Pn==null||Pn(ya),!ya.defaultPrevented&&ln(!1)},[,Yn]=(0,ze.Z)(Wt,nn,ya=>ya===null?b.createElement(he.Z,{className:`${Pt}-close-icon`,onClick:Mt}):b.createElement("span",{className:`${Pt}-close-icon`,onClick:Mt},ya),null,!1),aa=typeof Te.onClick=="function"||ct&&ct.type==="a",tn=Lt||null,ba=tn?b.createElement(b.Fragment,null,tn,ct&&b.createElement("span",null,ct)):ct,_a=b.createElement("span",Object.assign({},Te,{ref:Je,className:Rt,style:nt}),ba,Yn,Ce&&b.createElement(ae,{key:"preset",prefixCls:Pt}),ut&&b.createElement(Se,{key:"status",prefixCls:Pt}));return _n(aa?b.createElement(xe.Z,{component:"Tag"},_a):_a)},Ne=b.forwardRef(We);Ne.CheckableTag=y;var mt=Ne},98228:function(yt,kt,oe){"use strict";oe.d(kt,{default:function(){return ho}});var b=oe(92310),he=oe.n(b),De=oe(5016),Ae=oe(92393),ke=oe(20049),ze=oe(52456),xe=oe(5883),tt=oe(10928),Me=oe(77861),Le=oe(17115),_e=oe(90782),He=oe(18929),Ke=oe(48736),le=oe(59301),E=function(Ht){var Zn=le.useRef({valueLabels:new Map});return le.useMemo(function(){var qn=Zn.current.valueLabels,Sa=new Map,Be=Ht.map(function(at){var st,bt=at.value,St=(st=at.label)!==null&&st!==void 0?st:qn.get(bt);return Sa.set(bt,St),(0,ke.Z)((0,ke.Z)({},at),{},{label:St})});return Zn.current.valueLabels=Sa,[Be]},[Ht])},a=function(Ht,Zn,qn,Sa){return le.useMemo(function(){var Be=Ht.map(function(St){var mn=St.value;return mn}),at=Zn.map(function(St){var mn=St.value;return mn}),st=Be.filter(function(St){return!Sa[St]});if(qn){var bt=(0,_e.S)(Be,!0,Sa);Be=bt.checkedKeys,at=bt.halfCheckedKeys}return[Array.from(new Set([].concat((0,Ae.Z)(st),(0,Ae.Z)(Be)))),at]},[Ht,Zn,qn,Sa])},x=oe(71430),y=function(Ht,Zn){return le.useMemo(function(){var qn=(0,x.I8)(Ht,{fieldNames:Zn,initWrapper:function(Be){return(0,ke.Z)((0,ke.Z)({},Be),{},{valueEntities:new Map})},processEntity:function(Be,at){var st=Be.node[Zn.value];if(0)var bt;at.valueEntities.set(st,Be)}});return qn},[Ht,Zn])},z=oe(18082),te=oe(11592),ae=function(){return null},se=ae,ie=["children","value"];function Se(Ht){return(0,te.Z)(Ht).map(function(Zn){if(!le.isValidElement(Zn)||!Zn.type)return null;var qn=Zn,Sa=qn.key,Be=qn.props,at=Be.children,st=Be.value,bt=(0,xe.Z)(Be,ie),St=(0,ke.Z)({key:Sa,value:st},bt),mn=Se(at);return mn.length&&(St.children=mn),St}).filter(function(Zn){return Zn})}function Fe(Ht){if(!Ht)return Ht;var Zn=(0,ke.Z)({},Ht);return"props"in Zn||Object.defineProperty(Zn,"props",{get:function(){return(0,Ke.ZP)(!1,"New `rc-tree-select` not support return node instance as argument anymore. Please consider to remove `props` access."),Zn}}),Zn}function We(Ht,Zn,qn,Sa,Be,at){var st=null,bt=null;function St(){function mn(Kt){var Ge=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"0",Ye=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return Kt.map(function(Ue,Bt){var un="".concat(Ge,"-").concat(Bt),pn=Ue[at.value],ra=qn.includes(pn),Vn=mn(Ue[at.children]||[],un,ra),Ln=le.createElement(se,Ue,Vn.map(function(Tn){return Tn.node}));if(Zn===pn&&(st=Ln),ra){var jn={pos:un,node:Ln,children:Vn};return Ye||bt.push(jn),jn}return null}).filter(function(Ue){return Ue})}bt||(bt=[],mn(Sa),bt.sort(function(Kt,Ge){var Ye=Kt.node.props.value,Ue=Ge.node.props.value,Bt=qn.indexOf(Ye),un=qn.indexOf(Ue);return Bt-un}))}Object.defineProperty(Ht,"triggerNode",{get:function(){return(0,Ke.ZP)(!1,"`triggerNode` is deprecated. Please consider decoupling data with node."),St(),st}}),Object.defineProperty(Ht,"allCheckedNodes",{get:function(){return(0,Ke.ZP)(!1,"`allCheckedNodes` is deprecated. Please consider decoupling data with node."),St(),Be?bt:bt.map(function(Kt){var Ge=Kt.node;return Ge})}})}var Ne=function(Ht,Zn,qn){var Sa=qn.treeNodeFilterProp,Be=qn.filterTreeNode,at=qn.fieldNames,st=at.children;return le.useMemo(function(){if(!Zn||Be===!1)return Ht;var bt;if(typeof Be=="function")bt=Be;else{var St=Zn.toUpperCase();bt=function(Ge,Ye){var Ue=Ye[Sa];return String(Ue).toUpperCase().includes(St)}}function mn(Kt){var Ge=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return Kt.reduce(function(Ye,Ue){var Bt=Ue[st],un=Ge||bt(Zn,Fe(Ue)),pn=mn(Bt||[],un);return(un||pn.length)&&Ye.push((0,ke.Z)((0,ke.Z)({},Ue),{},(0,z.Z)({isLeaf:void 0},st,pn))),Ye},[])}return mn(Ht)},[Ht,Zn,st,Sa,Be])};function mt(Ht){var Zn=le.useRef();Zn.current=Ht;var qn=le.useCallback(function(){return Zn.current.apply(Zn,arguments)},[]);return qn}function Re(Ht,Zn){var qn=Zn.id,Sa=Zn.pId,Be=Zn.rootPId,at={},st=[],bt=Ht.map(function(St){var mn=(0,ke.Z)({},St),Kt=mn[qn];return at[Kt]=mn,mn.key=mn.key||Kt,mn});return bt.forEach(function(St){var mn=St[Sa],Kt=at[mn];Kt&&(Kt.children=Kt.children||[],Kt.children.push(St)),(mn===Be||!Kt&&Be===null)&&st.push(St)}),st}function Je(Ht,Zn,qn){return le.useMemo(function(){return Ht?qn?Re(Ht,(0,ke.Z)({id:"id",pId:"pId",rootPId:null},qn!==!0?qn:{})):Ht:Se(Zn)},[Zn,qn,Ht])}var Qe=le.createContext(null),et=Qe,we=oe(10228),ht=oe(80547),ct=oe(64588),Lt=le.createContext(null),gt=Lt;function Pn(Ht){return Array.isArray(Ht)?Ht:Ht!==void 0?[Ht]:[]}function nn(Ht){var Zn=Ht||{},qn=Zn.label,Sa=Zn.value,Be=Zn.children,at=Sa||"value";return{_title:qn?[qn]:["title","label"],value:at,key:at,children:Be||"children"}}function Wt(Ht){return!Ht||Ht.disabled||Ht.disableCheckbox||Ht.checkable===!1}function _t(Ht,Zn){var qn=[];function Sa(Be){Be.forEach(function(at){var st=at[Zn.children];st&&(qn.push(at[Zn.value]),Sa(st))})}return Sa(Ht),qn}function Te(Ht){return Ht==null}var ot={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},Ut=function(Zn,qn){var Sa=(0,Me.lk)(),Be=Sa.prefixCls,at=Sa.multiple,st=Sa.searchValue,bt=Sa.toggleOpen,St=Sa.open,mn=Sa.notFoundContent,Kt=le.useContext(gt),Ge=Kt.virtual,Ye=Kt.listHeight,Ue=Kt.listItemHeight,Bt=Kt.treeData,un=Kt.fieldNames,pn=Kt.onSelect,ra=Kt.dropdownMatchSelectWidth,Vn=Kt.treeExpandAction,Ln=le.useContext(et),jn=Ln.checkable,Tn=Ln.checkedKeys,jt=Ln.halfCheckedKeys,La=Ln.treeExpandedKeys,ir=Ln.treeDefaultExpandAll,oo=Ln.treeDefaultExpandedKeys,Wa=Ln.onTreeExpand,zt=Ln.treeIcon,jr=Ln.showTreeIcon,Ta=Ln.switcherIcon,vr=Ln.treeLine,er=Ln.treeNodeFilterProp,_r=Ln.loadData,br=Ln.treeLoadedKeys,qr=Ln.treeMotion,wr=Ln.onTreeLoad,oa=Ln.keyEntities,$t=le.useRef(),Xa=(0,ht.Z)(function(){return Bt},[St,Bt],function(lr,zr){return zr[0]&&lr[1]!==zr[1]}),ua=le.useState(null),tr=(0,ze.Z)(ua,2),Oa=tr[0],hn=tr[1],$n=oa[Oa],Aa=le.useMemo(function(){return jn?{checked:Tn,halfChecked:jt}:null},[jn,Tn,jt]);le.useEffect(function(){if(St&&!at&&Tn.length){var lr;(lr=$t.current)===null||lr===void 0||lr.scrollTo({key:Tn[0]}),hn(Tn[0])}},[St]);var Wn=String(st).toLowerCase(),qa=function(zr){return Wn?String(zr[er]).toLowerCase().includes(Wn):!1},Ka=le.useState(oo),pr=(0,ze.Z)(Ka,2),Tr=pr[0],nr=pr[1],Ho=le.useState(null),Ao=(0,ze.Z)(Ho,2),hi=Ao[0],Pr=Ao[1],Br=le.useMemo(function(){return La?(0,Ae.Z)(La):st?hi:Tr},[Tr,hi,La,st]);le.useEffect(function(){st&&Pr(_t(Bt,un))},[st]);var uo=function(zr){nr(zr),Pr(zr),Wa&&Wa(zr)},Ha=function(zr){zr.preventDefault()},Zr=function(zr,fo){var Qr=fo.node;jn&&Wt(Qr)||(pn(Qr.key,{selected:!Tn.includes(Qr.key)}),at||bt(!1))};if(le.useImperativeHandle(qn,function(){var lr;return{scrollTo:(lr=$t.current)===null||lr===void 0?void 0:lr.scrollTo,onKeyDown:function(fo){var Qr,ja=fo.which;switch(ja){case we.Z.UP:case we.Z.DOWN:case we.Z.LEFT:case we.Z.RIGHT:(Qr=$t.current)===null||Qr===void 0||Qr.onKeyDown(fo);break;case we.Z.ENTER:{if($n){var Io=($n==null?void 0:$n.node)||{},ai=Io.selectable,oi=Io.value;ai!==!1&&Zr(null,{node:{key:Oa},selected:!Tn.includes(oi)})}break}case we.Z.ESC:bt(!1)}},onKeyUp:function(){}}}),Xa.length===0)return le.createElement("div",{role:"listbox",className:"".concat(Be,"-empty"),onMouseDown:Ha},mn);var Hr={fieldNames:un};return br&&(Hr.loadedKeys=br),Br&&(Hr.expandedKeys=Br),le.createElement("div",{onMouseDown:Ha},$n&&St&&le.createElement("span",{style:ot,"aria-live":"assertive"},$n.node.value),le.createElement(ct.Z,(0,De.Z)({ref:$t,focusable:!1,prefixCls:"".concat(Be,"-tree"),treeData:Xa,height:Ye,itemHeight:Ue,virtual:Ge!==!1&&ra!==!1,multiple:at,icon:zt,showIcon:jr,switcherIcon:Ta,showLine:vr,loadData:st?null:_r,motion:qr,activeKey:Oa,checkable:jn,checkStrictly:!0,checkedKeys:Aa,selectedKeys:jn?[]:Tn,defaultExpandAll:ir},Hr,{onActiveChange:hn,onSelect:Zr,onCheck:Zr,onExpand:uo,onLoad:wr,filterTreeNode:qa,expandAction:Vn})))},xn=le.forwardRef(Ut);xn.displayName="OptionList";var At=xn,ln="SHOW_ALL",Ce="SHOW_PARENT",ut="SHOW_CHILD";function Xt(Ht,Zn,qn,Sa){var Be=new Set(Ht);return Zn===ut?Ht.filter(function(at){var st=qn[at];return!(st&&st.children&&st.children.some(function(bt){var St=bt.node;return Be.has(St[Sa.value])})&&st.children.every(function(bt){var St=bt.node;return Wt(St)||Be.has(St[Sa.value])}))}):Zn===Ce?Ht.filter(function(at){var st=qn[at],bt=st?st.parent:null;return!(bt&&!Wt(bt.node)&&Be.has(bt.key))}):Ht}function nt(Ht){var Zn=Ht.searchPlaceholder,qn=Ht.treeCheckStrictly,Sa=Ht.treeCheckable,Be=Ht.labelInValue,at=Ht.value,st=Ht.multiple;warning(!Zn,"`searchPlaceholder` has been removed."),qn&&Be===!1&&warning(!1,"`treeCheckStrictly` will force set `labelInValue` to `true`."),(Be||qn)&&warning(toArray(at).every(function(bt){return bt&&_typeof(bt)==="object"&&"value"in bt}),"Invalid prop `value` supplied to `TreeSelect`. You should use { label: string, value: string | number } or [{ label: string, value: string | number }] instead."),qn||st||Sa?warning(!at||Array.isArray(at),"`value` should be an array when `TreeSelect` is checkable or multiple."):warning(!Array.isArray(at),"`value` should not be array when `TreeSelect` is single mode.")}var Pt=null,_n=["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 sn(Ht){return!Ht||(0,tt.Z)(Ht)!=="object"}var Rt=le.forwardRef(function(Ht,Zn){var qn=Ht.id,Sa=Ht.prefixCls,Be=Sa===void 0?"rc-tree-select":Sa,at=Ht.value,st=Ht.defaultValue,bt=Ht.onChange,St=Ht.onSelect,mn=Ht.onDeselect,Kt=Ht.searchValue,Ge=Ht.inputValue,Ye=Ht.onSearch,Ue=Ht.autoClearSearchValue,Bt=Ue===void 0?!0:Ue,un=Ht.filterTreeNode,pn=Ht.treeNodeFilterProp,ra=pn===void 0?"value":pn,Vn=Ht.showCheckedStrategy,Ln=Ht.treeNodeLabelProp,jn=Ht.multiple,Tn=Ht.treeCheckable,jt=Ht.treeCheckStrictly,La=Ht.labelInValue,ir=Ht.fieldNames,oo=Ht.treeDataSimpleMode,Wa=Ht.treeData,zt=Ht.children,jr=Ht.loadData,Ta=Ht.treeLoadedKeys,vr=Ht.onTreeLoad,er=Ht.treeDefaultExpandAll,_r=Ht.treeExpandedKeys,br=Ht.treeDefaultExpandedKeys,qr=Ht.onTreeExpand,wr=Ht.treeExpandAction,oa=Ht.virtual,$t=Ht.listHeight,Xa=$t===void 0?200:$t,ua=Ht.listItemHeight,tr=ua===void 0?20:ua,Oa=Ht.onDropdownVisibleChange,hn=Ht.dropdownMatchSelectWidth,$n=hn===void 0?!0:hn,Aa=Ht.treeLine,Wn=Ht.treeIcon,qa=Ht.showTreeIcon,Ka=Ht.switcherIcon,pr=Ht.treeMotion,Tr=(0,xe.Z)(Ht,_n),nr=(0,Le.ZP)(qn),Ho=Tn&&!jt,Ao=Tn||jt,hi=jt||La,Pr=Ao||jn,Br=(0,He.Z)(st,{value:at}),uo=(0,ze.Z)(Br,2),Ha=uo[0],Zr=uo[1],Hr=le.useMemo(function(){return Tn?Vn||ut:ln},[Vn,Tn]),lr=le.useMemo(function(){return nn(ir)},[JSON.stringify(ir)]),zr=(0,He.Z)("",{value:Kt!==void 0?Kt:Ge,postState:function(ma){return ma||""}}),fo=(0,ze.Z)(zr,2),Qr=fo[0],ja=fo[1],Io=function(ma){ja(ma),Ye==null||Ye(ma)},ai=Je(Wa,zt,oo),oi=y(ai,lr),Gr=oi.keyEntities,ii=oi.valueEntities,Ko=le.useCallback(function(ca){var ma=[],ar=[];return ca.forEach(function(sr){ii.has(sr)?ar.push(sr):ma.push(sr)}),{missingRawValues:ma,existRawValues:ar}},[ii]),sl=Ne(ai,Qr,{fieldNames:lr,treeNodeFilterProp:ra,filterTreeNode:un}),wi=le.useCallback(function(ca){if(ca){if(Ln)return ca[Ln];for(var ma=lr._title,ar=0;ar<ma.length;ar+=1){var sr=ca[ma[ar]];if(sr!==void 0)return sr}}},[lr,Ln]),Ki=le.useCallback(function(ca){var ma=Pn(ca);return ma.map(function(ar){return sn(ar)?{value:ar}:ar})},[]),ko=le.useCallback(function(ca){var ma=Ki(ca);return ma.map(function(ar){var sr=ar.label,_o=ar.value,Jo=ar.halfChecked,Oo,Uo=ii.get(_o);if(Uo){var ri;sr=(ri=sr)!==null&&ri!==void 0?ri:wi(Uo.node),Oo=Uo.node.disabled}else if(sr===void 0){var si=Ki(Ha).find(function(Fl){return Fl.value===_o});sr=si.label}return{label:sr,value:_o,halfChecked:Jo,disabled:Oo}})},[ii,wi,Ki,Ha]),bl=le.useMemo(function(){return Ki(Ha)},[Ki,Ha]),Kl=le.useMemo(function(){var ca=[],ma=[];return bl.forEach(function(ar){ar.halfChecked?ma.push(ar):ca.push(ar)}),[ca,ma]},[bl]),Ri=(0,ze.Z)(Kl,2),ji=Ri[0],dl=Ri[1],Za=le.useMemo(function(){return ji.map(function(ca){return ca.value})},[ji]),Hn=a(ji,dl,Ho,Gr),kn=(0,ze.Z)(Hn,2),me=kn[0],pt=kn[1],xt=le.useMemo(function(){var ca=Xt(me,Hr,Gr,lr),ma=ca.map(function(Jo){var Oo,Uo,ri;return(Oo=(Uo=Gr[Jo])===null||Uo===void 0||(ri=Uo.node)===null||ri===void 0?void 0:ri[lr.value])!==null&&Oo!==void 0?Oo:Jo}),ar=ma.map(function(Jo){var Oo=ji.find(function(Uo){return Uo.value===Jo});return{value:Jo,label:Oo==null?void 0:Oo.label}}),sr=ko(ar),_o=sr[0];return!Pr&&_o&&Te(_o.value)&&Te(_o.label)?[]:sr.map(function(Jo){var Oo;return(0,ke.Z)((0,ke.Z)({},Jo),{},{label:(Oo=Jo.label)!==null&&Oo!==void 0?Oo:Jo.value})})},[lr,Pr,me,ji,ko,Hr,Gr]),gn=E(xt),Et=(0,ze.Z)(gn,1),wn=Et[0],Fn=mt(function(ca,ma,ar){var sr=ko(ca);if(Zr(sr),Bt&&ja(""),bt){var _o=ca;if(Ho){var Jo=Xt(ca,Hr,Gr,lr);_o=Jo.map(function(cl){var Ml=ii.get(cl);return Ml?Ml.node[lr.value]:cl})}var Oo=ma||{triggerValue:void 0,selected:void 0},Uo=Oo.triggerValue,ri=Oo.selected,si=_o;if(jt){var Fl=dl.filter(function(cl){return!_o.includes(cl.value)});si=[].concat((0,Ae.Z)(si),(0,Ae.Z)(Fl))}var $i=ko(si),el={preValue:ji,triggerValue:Uo},tl=!0;(jt||ar==="selection"&&!ri)&&(tl=!1),We(el,Uo,ca,ai,tl,lr),Ao?el.checked=ri:el.selected=ri;var ou=hi?$i:$i.map(function(cl){return cl.value});bt(Pr?ou:ou[0],hi?null:$i.map(function(cl){return cl.label}),el)}}),fn=le.useCallback(function(ca,ma){var ar,sr=ma.selected,_o=ma.source,Jo=Gr[ca],Oo=Jo==null?void 0:Jo.node,Uo=(ar=Oo==null?void 0:Oo[lr.value])!==null&&ar!==void 0?ar:ca;if(!Pr)Fn([Uo],{selected:!0,triggerValue:Uo},"option");else{var ri=sr?[].concat((0,Ae.Z)(Za),[Uo]):me.filter(function(Ml){return Ml!==Uo});if(Ho){var si=Ko(ri),Fl=si.missingRawValues,$i=si.existRawValues,el=$i.map(function(Ml){return ii.get(Ml).key}),tl;if(sr){var ou=(0,_e.S)(el,!0,Gr);tl=ou.checkedKeys}else{var cl=(0,_e.S)(el,{checked:!1,halfCheckedKeys:pt},Gr);tl=cl.checkedKeys}ri=[].concat((0,Ae.Z)(Fl),(0,Ae.Z)(tl.map(function(Ml){return Gr[Ml].node[lr.value]})))}Fn(ri,{selected:sr,triggerValue:Uo},_o||"option")}sr||!Pr?St==null||St(Uo,Fe(Oo)):mn==null||mn(Uo,Fe(Oo))},[Ko,ii,Gr,lr,Pr,Za,Fn,Ho,St,mn,me,pt]),bn=le.useCallback(function(ca){if(Oa){var ma={};Object.defineProperty(ma,"documentClickClose",{get:function(){return(0,Ke.ZP)(!1,"Second param of `onDropdownVisibleChange` has been removed."),!1}}),Oa(ca,ma)}},[Oa]),Ma=mt(function(ca,ma){var ar=ca.map(function(sr){return sr.value});if(ma.type==="clear"){Fn(ar,{},"selection");return}ma.values.length&&fn(ma.values[0].value,{selected:!1,source:"selection"})}),or=le.useMemo(function(){return{virtual:oa,dropdownMatchSelectWidth:$n,listHeight:Xa,listItemHeight:tr,treeData:sl,fieldNames:lr,onSelect:fn,treeExpandAction:wr}},[oa,$n,Xa,tr,sl,lr,fn,wr]),hr=le.useMemo(function(){return{checkable:Ao,loadData:jr,treeLoadedKeys:Ta,onTreeLoad:vr,checkedKeys:me,halfCheckedKeys:pt,treeDefaultExpandAll:er,treeExpandedKeys:_r,treeDefaultExpandedKeys:br,onTreeExpand:qr,treeIcon:Wn,treeMotion:pr,showTreeIcon:qa,switcherIcon:Ka,treeLine:Aa,treeNodeFilterProp:ra,keyEntities:Gr}},[Ao,jr,Ta,vr,me,pt,er,_r,br,qr,Wn,pr,qa,Ka,Aa,ra,Gr]);return le.createElement(gt.Provider,{value:or},le.createElement(et.Provider,{value:hr},le.createElement(Me.Ac,(0,De.Z)({ref:Zn},Tr,{id:nr,prefixCls:Be,mode:Pr?"multiple":void 0,displayValues:wn,onDisplayValuesChange:Ma,searchValue:Qr,onSearch:Io,OptionList:At,emptyOptions:!ai.length,onDropdownVisibleChange:bn,dropdownMatchSelectWidth:$n}))))}),Mt=Rt;Mt.TreeNode=se,Mt.SHOW_ALL=ln,Mt.SHOW_PARENT=Ce,Mt.SHOW_CHILD=ut;var Yn=Mt,aa=Yn,tn=oe(2738),ba=oe(53487),_a=oe(62892),ya=oe(19080),zn=oe(36355),xa=oe(1684),dr=oe(93891),Ya=oe(19716),Jn=oe(32441),da=oe(14154),ea=oe(58582),ia=oe(84443),Ea=oe(66339),Va=oe(33234),yn=oe(71997),an=oe(98447),Ft=oe(37613),Gt=oe(83116),Da=oe(20648);const pa=Ht=>{const{componentCls:Zn,treePrefixCls:qn,colorBgElevated:Sa}=Ht,Be=`.${qn}`;return[{[`${Zn}-dropdown`]:[{padding:`${Ht.paddingXS}px ${Ht.paddingXS/2}px`},(0,Da.Yk)(qn,(0,Ft.TS)(Ht,{colorBgContainer:Sa})),{[Be]:{borderRadius:0,[`${Be}-list-holder-inner`]:{alignItems:"stretch",[`${Be}-treenode`]:{[`${Be}-node-content-wrapper`]:{flex:"auto"}}}}},(0,an.C2)(`${qn}-checkbox`,Ht),{"&-rtl":{direction:"rtl",[`${Be}-switcher${Be}-switcher_close`]:{[`${Be}-switcher-icon svg`]:{transform:"rotate(90deg)"}}}}]}]};function wa(Ht,Zn){return(0,Gt.Z)("TreeSelect",qn=>{const Sa=(0,Ft.TS)(qn,{treePrefixCls:Zn});return[pa(Sa)]},Da.TM)(Ht)}var ha=function(Ht,Zn){var qn={};for(var Sa in Ht)Object.prototype.hasOwnProperty.call(Ht,Sa)&&Zn.indexOf(Sa)<0&&(qn[Sa]=Ht[Sa]);if(Ht!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Be=0,Sa=Object.getOwnPropertySymbols(Ht);Be<Sa.length;Be++)Zn.indexOf(Sa[Be])<0&&Object.prototype.propertyIsEnumerable.call(Ht,Sa[Be])&&(qn[Sa[Be]]=Ht[Sa[Be]]);return qn};const Ga=(Ht,Zn)=>{var qn,{prefixCls:Sa,size:Be,disabled:at,bordered:st=!0,className:bt,rootClassName:St,treeCheckable:mn,multiple:Kt,listHeight:Ge=256,listItemHeight:Ye=26,placement:Ue,notFoundContent:Bt,switcherIcon:un,treeLine:pn,getPopupContainer:ra,popupClassName:Vn,dropdownClassName:Ln,treeIcon:jn=!1,transitionName:Tn,choiceTransitionName:jt="",status:La,treeExpandAction:ir,builtinPlacements:oo,dropdownMatchSelectWidth:Wa,popupMatchSelectWidth:zt,allowClear:jr}=Ht,Ta=ha(Ht,["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:vr,getPrefixCls:er,renderEmpty:_r,direction:br,virtual:qr,popupMatchSelectWidth:wr,popupOverflow:oa}=le.useContext(zn.E_),$t=er(),Xa=er("select",Sa),ua=er("select-tree",Sa),tr=er("tree-select",Sa),{compactSize:Oa,compactItemClassnames:hn}=(0,Va.ri)(Xa,br),[$n,Aa]=(0,da.Z)(Xa),[Wn]=wa(tr,ua),qa=he()(Vn||Ln,`${tr}-dropdown`,{[`${tr}-dropdown-rtl`]:br==="rtl"},St,Aa),Ka=!!(mn||Kt),pr=(0,ia.Z)(Ta.suffixIcon,Ta.showArrow),Tr=(qn=zt!=null?zt:Wa)!==null&&qn!==void 0?qn:wr,{status:nr,hasFeedback:Ho,isFormItemInput:Ao,feedbackIcon:hi}=le.useContext(Jn.aM),Pr=(0,ya.F)(nr,La),{suffixIcon:Br,removeIcon:uo,clearIcon:Ha}=(0,Ea.Z)(Object.assign(Object.assign({},Ta),{multiple:Ka,showSuffixIcon:pr,hasFeedback:Ho,feedbackIcon:hi,prefixCls:Xa,componentName:"TreeSelect"})),Zr=jr===!0?{clearIcon:Ha}:jr;let Hr;Bt!==void 0?Hr=Bt:Hr=(_r==null?void 0:_r("Select"))||le.createElement(dr.Z,{componentName:"Select"});const lr=(0,tn.Z)(Ta,["suffixIcon","itemIcon","removeIcon","clearIcon","switcherIcon"]),zr=le.useMemo(()=>Ue!==void 0?Ue:br==="rtl"?"bottomRight":"bottomLeft",[Ue,br]),fo=(0,ea.Z)(oo,oa),Qr=(0,Ya.Z)(ii=>{var Ko;return(Ko=Be!=null?Be:Oa)!==null&&Ko!==void 0?Ko:ii}),ja=le.useContext(xa.Z),Io=at!=null?at:ja,ai=he()(!Sa&&tr,{[`${Xa}-lg`]:Qr==="large",[`${Xa}-sm`]:Qr==="small",[`${Xa}-rtl`]:br==="rtl",[`${Xa}-borderless`]:!st,[`${Xa}-in-form-item`]:Ao},(0,ya.Z)(Xa,Pr,Ho),hn,bt,St,Aa),oi=ii=>le.createElement(yn.Z,{prefixCls:ua,switcherIcon:un,treeNodeProps:ii,showLine:pn}),Gr=le.createElement(aa,Object.assign({virtual:qr,disabled:Io},lr,{dropdownMatchSelectWidth:Tr,builtinPlacements:fo,ref:Zn,prefixCls:Xa,className:ai,listHeight:Ge,listItemHeight:Ye,treeCheckable:mn&&le.createElement("span",{className:`${Xa}-tree-checkbox-inner`}),treeLine:!!pn,suffixIcon:Br,multiple:Ka,placement:zr,removeIcon:uo,allowClear:Zr,switcherIcon:oi,showTreeIcon:jn,notFoundContent:Hr,getPopupContainer:ra||vr,treeMotion:null,dropdownClassName:qa,choiceTransitionName:(0,_a.m)($t,"",jt),transitionName:(0,_a.m)($t,"slide-up",Tn),treeExpandAction:ir}));return $n(Wn(Gr))},Ua=le.forwardRef(Ga),Cr=(0,ba.Z)(Ua);Ua.TreeNode=se,Ua.SHOW_ALL=ln,Ua.SHOW_PARENT=Ce,Ua.SHOW_CHILD=ut,Ua._InternalPanelDoNotUseOrYouWillBeFired=Cr;var ho=Ua},24334:function(yt,kt,oe){var b,he;(function(De,Ae){yt.exports=Ae(De)})(typeof self!="undefined"?self:typeof window!="undefined"?window:typeof oe.g!="undefined"?oe.g:this,function(De){"use strict";De=De||{};var Ae=De.Base64,ke="2.6.4",ze="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",xe=function(Qe){for(var et={},we=0,ht=Qe.length;we<ht;we++)et[Qe.charAt(we)]=we;return et}(ze),tt=String.fromCharCode,Me=function(Qe){if(Qe.length<2){var et=Qe.charCodeAt(0);return et<128?Qe:et<2048?tt(192|et>>>6)+tt(128|et&63):tt(224|et>>>12&15)+tt(128|et>>>6&63)+tt(128|et&63)}else{var et=65536+(Qe.charCodeAt(0)-55296)*1024+(Qe.charCodeAt(1)-56320);return tt(240|et>>>18&7)+tt(128|et>>>12&63)+tt(128|et>>>6&63)+tt(128|et&63)}},Le=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,_e=function(Qe){return Qe.replace(Le,Me)},He=function(Qe){var et=[0,2,1][Qe.length%3],we=Qe.charCodeAt(0)<<16|(Qe.length>1?Qe.charCodeAt(1):0)<<8|(Qe.length>2?Qe.charCodeAt(2):0),ht=[ze.charAt(we>>>18),ze.charAt(we>>>12&63),et>=2?"=":ze.charAt(we>>>6&63),et>=1?"=":ze.charAt(we&63)];return ht.join("")},Ke=De.btoa&&typeof De.btoa=="function"?function(Qe){return De.btoa(Qe)}:function(Qe){if(Qe.match(/[^\x00-\xFF]/))throw new RangeError("The string contains invalid characters.");return Qe.replace(/[\s\S]{1,3}/g,He)},le=function(Qe){return Ke(_e(String(Qe)))},E=function(Qe){return Qe.replace(/[+\/]/g,function(et){return et=="+"?"-":"_"}).replace(/=/g,"")},a=function(Qe,et){return et?E(le(Qe)):le(Qe)},x=function(Qe){return a(Qe,!0)},y;De.Uint8Array&&(y=function(Qe,et){for(var we="",ht=0,ct=Qe.length;ht<ct;ht+=3){var Lt=Qe[ht],gt=Qe[ht+1],Pn=Qe[ht+2],nn=Lt<<16|gt<<8|Pn;we+=ze.charAt(nn>>>18)+ze.charAt(nn>>>12&63)+(typeof gt!="undefined"?ze.charAt(nn>>>6&63):"=")+(typeof Pn!="undefined"?ze.charAt(nn&63):"=")}return et?E(we):we});var z=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,te=function(Qe){switch(Qe.length){case 4:var et=(7&Qe.charCodeAt(0))<<18|(63&Qe.charCodeAt(1))<<12|(63&Qe.charCodeAt(2))<<6|63&Qe.charCodeAt(3),we=et-65536;return tt((we>>>10)+55296)+tt((we&1023)+56320);case 3:return tt((15&Qe.charCodeAt(0))<<12|(63&Qe.charCodeAt(1))<<6|63&Qe.charCodeAt(2));default:return tt((31&Qe.charCodeAt(0))<<6|63&Qe.charCodeAt(1))}},ae=function(Qe){return Qe.replace(z,te)},se=function(Qe){var et=Qe.length,we=et%4,ht=(et>0?xe[Qe.charAt(0)]<<18:0)|(et>1?xe[Qe.charAt(1)]<<12:0)|(et>2?xe[Qe.charAt(2)]<<6:0)|(et>3?xe[Qe.charAt(3)]:0),ct=[tt(ht>>>16),tt(ht>>>8&255),tt(ht&255)];return ct.length-=[0,0,2,1][we],ct.join("")},ie=De.atob&&typeof De.atob=="function"?function(Qe){return De.atob(Qe)}:function(Qe){return Qe.replace(/\S{1,4}/g,se)},Se=function(Qe){return ie(String(Qe).replace(/[^A-Za-z0-9\+\/]/g,""))},Fe=function(Qe){return ae(ie(Qe))},We=function(Qe){return String(Qe).replace(/[-_]/g,function(et){return et=="-"?"+":"/"}).replace(/[^A-Za-z0-9\+\/]/g,"")},Ne=function(Qe){return Fe(We(Qe))},mt;De.Uint8Array&&(mt=function(Qe){return Uint8Array.from(Se(We(Qe)),function(et){return et.charCodeAt(0)})});var Re=function(){var Qe=De.Base64;return De.Base64=Ae,Qe};if(De.Base64={VERSION:ke,atob:Se,btoa:Ke,fromBase64:Ne,toBase64:a,utob:_e,encode:a,encodeURI:x,btou:ae,decode:Ne,noConflict:Re,fromUint8Array:y,toUint8Array:mt},typeof Object.defineProperty=="function"){var Je=function(Qe){return{value:Qe,enumerable:!1,writable:!0,configurable:!0}};De.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",Je(function(){return Ne(this)})),Object.defineProperty(String.prototype,"toBase64",Je(function(Qe){return a(this,Qe)})),Object.defineProperty(String.prototype,"toBase64URI",Je(function(){return a(this,!0)}))}}return De.Meteor&&(Base64=De.Base64),yt.exports?yt.exports.Base64=De.Base64:(b=[],he=function(){return De.Base64}.apply(kt,b),he!==void 0&&(yt.exports=he)),{Base64:De.Base64}})},67753:function(yt,kt,oe){"use strict";oe.d(kt,{Z5:function(){return Ql},_l:function(){return Hd},bK:function(){return ed}});var b=oe(59301),he=oe(18870);function De(ee,ne){ee.prototype=Object.create(ne.prototype),ee.prototype.constructor=ee,(0,he.Z)(ee,ne)}var Ae=oe(5016),ke=oe(59781),ze=b.createContext(null),xe=null;function tt(ee){ee()}var Me=tt,Le=function(ne){return Me=ne},_e=function(){return Me};function He(){var ee=_e(),ne=null,re=null;return{clear:function(){ne=null,re=null},notify:function(){ee(function(){for(var ve=ne;ve;)ve.callback(),ve=ve.next})},get:function(){for(var ve=[],pe=ne;pe;)ve.push(pe),pe=pe.next;return ve},subscribe:function(ve){var pe=!0,ye=re={callback:ve,next:null,prev:re};return ye.prev?ye.prev.next=ye:ne=ye,function(){!pe||ne===null||(pe=!1,ye.next?ye.next.prev=ye.prev:re=ye.prev,ye.prev?ye.prev.next=ye.next:ne=ye.next)}}}}var Ke={notify:function(){},get:function(){return[]}};function le(ee,ne){var re,de=Ke;function ve(je){return Ze(),de.subscribe(je)}function pe(){de.notify()}function ye(){Xe.onStateChange&&Xe.onStateChange()}function be(){return!!re}function Ze(){re||(re=ne?ne.addNestedSub(ye):ee.subscribe(ye),de=He())}function $e(){re&&(re(),re=void 0,de.clear(),de=Ke)}var Xe={addNestedSub:ve,notifyNestedSubs:pe,handleChangeWrapper:ye,isSubscribed:be,trySubscribe:Ze,tryUnsubscribe:$e,getListeners:function(){return de}};return Xe}var E=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined"?b.useLayoutEffect:b.useEffect;function a(ee){var ne=ee.store,re=ee.context,de=ee.children,ve=(0,b.useMemo)(function(){var be=le(ne);return{store:ne,subscription:be}},[ne]),pe=(0,b.useMemo)(function(){return ne.getState()},[ne]);E(function(){var be=ve.subscription;return be.onStateChange=be.notifyNestedSubs,be.trySubscribe(),pe!==ne.getState()&&be.notifyNestedSubs(),function(){be.tryUnsubscribe(),be.onStateChange=null}},[ve,pe]);var ye=re||ze;return b.createElement(ye.Provider,{value:ve},de)}var x=a,y=oe(37417),z=oe(94266),te=oe.n(z),ae=oe(53410),se=["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef","forwardRef","context"],ie=["reactReduxForwardedRef"],Se=[],Fe=[null,null],We=function(ne){try{return JSON.stringify(ne)}catch(re){return String(ne)}};function Ne(ee,ne){var re=ee[1];return[ne.payload,re+1]}function mt(ee,ne,re){E(function(){return ee.apply(void 0,ne)},re)}function Re(ee,ne,re,de,ve,pe,ye){ee.current=de,ne.current=ve,re.current=!1,pe.current&&(pe.current=null,ye())}function Je(ee,ne,re,de,ve,pe,ye,be,Ze,$e){if(ee){var Xe=!1,je=null,Ve=function(){if(!Xe){var Xn=ne.getState(),la,fa;try{la=de(Xn,ve.current)}catch(ka){fa=ka,je=ka}fa||(je=null),la===pe.current?ye.current||Ze():(pe.current=la,be.current=la,ye.current=!0,$e({type:"STORE_UPDATED",payload:{error:fa}}))}};re.onStateChange=Ve,re.trySubscribe(),Ve();var lt=function(){if(Xe=!0,re.tryUnsubscribe(),re.onStateChange=null,je)throw je};return lt}}var Qe=function(){return[null,0]};function et(ee,ne){ne===void 0&&(ne={});var re=ne,de=re.getDisplayName,ve=de===void 0?function(Ur){return"ConnectAdvanced("+Ur+")"}:de,pe=re.methodName,ye=pe===void 0?"connectAdvanced":pe,be=re.renderCountProp,Ze=be===void 0?void 0:be,$e=re.shouldHandleStateChanges,Xe=$e===void 0?!0:$e,je=re.storeKey,Ve=je===void 0?"store":je,lt=re.withRef,Tt=lt===void 0?!1:lt,Xn=re.forwardRef,la=Xn===void 0?!1:Xn,fa=re.context,ka=fa===void 0?ze:fa,Qa=(0,y.Z)(re,se);if(0)var rr;var to=ka;return function(Po){var xi=Po.displayName||Po.name||"Component",Bo=ve(xi),Di=(0,Ae.Z)({},Qa,{getDisplayName:ve,methodName:ye,renderCountProp:Ze,shouldHandleStateChanges:Xe,storeKey:Ve,displayName:Bo,wrappedComponentName:xi,WrappedComponent:Po}),ul=Qa.pure;function hl(Sl){return ee(Sl.dispatch,Di)}var vu=ul?b.useMemo:function(Sl){return Sl()};function cu(Sl){var xu=(0,b.useMemo)(function(){var bs=Sl.reactReduxForwardedRef,zs=(0,y.Z)(Sl,ie);return[Sl.context,bs,zs]},[Sl]),hu=xu[0],Ps=xu[1],ju=xu[2],Du=(0,b.useMemo)(function(){return hu&&hu.Consumer&&(0,ae.isContextConsumer)(b.createElement(hu.Consumer,null))?hu:to},[hu,to]),Su=(0,b.useContext)(Du),Hu=!!Sl.store&&!!Sl.store.getState&&!!Sl.store.dispatch,xs=!!Su&&!!Su.store,Eu=Hu?Sl.store:Su.store,ys=(0,b.useMemo)(function(){return hl(Eu)},[Eu]),Ds=(0,b.useMemo)(function(){if(!Xe)return Fe;var bs=le(Eu,Hu?null:Su.subscription),zs=bs.notifyNestedSubs.bind(bs);return[bs,zs]},[Eu,Hu,Su]),ns=Ds[0],ws=Ds[1],Ls=(0,b.useMemo)(function(){return Hu?Su:(0,Ae.Z)({},Su,{subscription:ns})},[Hu,Su,ns]),td=(0,b.useReducer)(Ne,Se,Qe),Yd=td[0],Ns=Yd[0],Kd=td[1];if(Ns&&Ns.error)throw Ns.error;var nd=(0,b.useRef)(),Gs=(0,b.useRef)(ju),Is=(0,b.useRef)(),ad=(0,b.useRef)(!1),js=vu(function(){return Is.current&&ju===Gs.current?Is.current:ys(Eu.getState(),ju)},[Eu,Ns,ju]);mt(Re,[Gs,nd,ad,ju,js,Is,ws]),mt(Je,[Xe,Eu,ns,ys,Gs,nd,ad,Is,ws,Kd],[Eu,ns,ys]);var Hs=(0,b.useMemo)(function(){return b.createElement(Po,(0,Ae.Z)({},js,{ref:Ps}))},[Ps,Po,js]),Jd=(0,b.useMemo)(function(){return Xe?b.createElement(Du.Provider,{value:Ls},Hs):Hs},[Du,Hs,Ls]);return Jd}var Yl=ul?b.memo(cu):cu;if(Yl.WrappedComponent=Po,Yl.displayName=cu.displayName=Bo,la){var pu=b.forwardRef(function(xu,hu){return b.createElement(Yl,(0,Ae.Z)({},xu,{reactReduxForwardedRef:hu}))});return pu.displayName=Bo,pu.WrappedComponent=Po,te()(pu,Po)}return te()(Yl,Po)}}function we(ee,ne){return ee===ne?ee!==0||ne!==0||1/ee===1/ne:ee!==ee&&ne!==ne}function ht(ee,ne){if(we(ee,ne))return!0;if(typeof ee!="object"||ee===null||typeof ne!="object"||ne===null)return!1;var re=Object.keys(ee),de=Object.keys(ne);if(re.length!==de.length)return!1;for(var ve=0;ve<re.length;ve++)if(!Object.prototype.hasOwnProperty.call(ne,re[ve])||!we(ee[re[ve]],ne[re[ve]]))return!1;return!0}function ct(ee,ne){var re={},de=function(ye){var be=ee[ye];typeof be=="function"&&(re[ye]=function(){return ne(be.apply(void 0,arguments))})};for(var ve in ee)de(ve);return re}function Lt(ee){return function(re,de){var ve=ee(re,de);function pe(){return ve}return pe.dependsOnOwnProps=!1,pe}}function gt(ee){return ee.dependsOnOwnProps!==null&&ee.dependsOnOwnProps!==void 0?!!ee.dependsOnOwnProps:ee.length!==1}function Pn(ee,ne){return function(de,ve){var pe=ve.displayName,ye=function(Ze,$e){return ye.dependsOnOwnProps?ye.mapToProps(Ze,$e):ye.mapToProps(Ze)};return ye.dependsOnOwnProps=!0,ye.mapToProps=function(Ze,$e){ye.mapToProps=ee,ye.dependsOnOwnProps=gt(ee);var Xe=ye(Ze,$e);return typeof Xe=="function"&&(ye.mapToProps=Xe,ye.dependsOnOwnProps=gt(Xe),Xe=ye(Ze,$e)),Xe},ye}}function nn(ee){return typeof ee=="function"?Pn(ee,"mapDispatchToProps"):void 0}function Wt(ee){return ee?void 0:Lt(function(ne){return{dispatch:ne}})}function _t(ee){return ee&&typeof ee=="object"?Lt(function(ne){return ct(ee,ne)}):void 0}var Te=[nn,Wt,_t];function ot(ee){return typeof ee=="function"?Pn(ee,"mapStateToProps"):void 0}function Ut(ee){return ee?void 0:Lt(function(){return{}})}var xn=[ot,Ut];function At(ee,ne,re){return(0,Ae.Z)({},re,ee,ne)}function ln(ee){return function(re,de){var ve=de.displayName,pe=de.pure,ye=de.areMergedPropsEqual,be=!1,Ze;return function(Xe,je,Ve){var lt=ee(Xe,je,Ve);return be?(!pe||!ye(lt,Ze))&&(Ze=lt):(be=!0,Ze=lt),Ze}}}function Ce(ee){return typeof ee=="function"?ln(ee):void 0}function ut(ee){return ee?void 0:function(){return At}}var Xt=[Ce,ut],nt=["initMapStateToProps","initMapDispatchToProps","initMergeProps"];function Pt(ee,ne,re,de){return function(pe,ye){return re(ee(pe,ye),ne(de,ye),ye)}}function _n(ee,ne,re,de,ve){var pe=ve.areStatesEqual,ye=ve.areOwnPropsEqual,be=ve.areStatePropsEqual,Ze=!1,$e,Xe,je,Ve,lt;function Tt(Qa,rr){return $e=Qa,Xe=rr,je=ee($e,Xe),Ve=ne(de,Xe),lt=re(je,Ve,Xe),Ze=!0,lt}function Xn(){return je=ee($e,Xe),ne.dependsOnOwnProps&&(Ve=ne(de,Xe)),lt=re(je,Ve,Xe),lt}function la(){return ee.dependsOnOwnProps&&(je=ee($e,Xe)),ne.dependsOnOwnProps&&(Ve=ne(de,Xe)),lt=re(je,Ve,Xe),lt}function fa(){var Qa=ee($e,Xe),rr=!be(Qa,je);return je=Qa,rr&&(lt=re(je,Ve,Xe)),lt}function ka(Qa,rr){var to=!ye(rr,Xe),Ur=!pe(Qa,$e,rr,Xe);return $e=Qa,Xe=rr,to&&Ur?Xn():to?la():Ur?fa():lt}return function(rr,to){return Ze?ka(rr,to):Tt(rr,to)}}function sn(ee,ne){var re=ne.initMapStateToProps,de=ne.initMapDispatchToProps,ve=ne.initMergeProps,pe=(0,y.Z)(ne,nt),ye=re(ee,pe),be=de(ee,pe),Ze=ve(ee,pe),$e=pe.pure?_n:Pt;return $e(ye,be,Ze,ee,pe)}var Rt=["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"];function Mt(ee,ne,re){for(var de=ne.length-1;de>=0;de--){var ve=ne[de](ee);if(ve)return ve}return function(pe,ye){throw new Error("Invalid value of type "+typeof ee+" for "+re+" argument when connecting component "+ye.wrappedComponentName+".")}}function Yn(ee,ne){return ee===ne}function aa(ee){var ne=ee===void 0?{}:ee,re=ne.connectHOC,de=re===void 0?et:re,ve=ne.mapStateToPropsFactories,pe=ve===void 0?xn:ve,ye=ne.mapDispatchToPropsFactories,be=ye===void 0?Te:ye,Ze=ne.mergePropsFactories,$e=Ze===void 0?Xt:Ze,Xe=ne.selectorFactory,je=Xe===void 0?sn:Xe;return function(lt,Tt,Xn,la){la===void 0&&(la={});var fa=la,ka=fa.pure,Qa=ka===void 0?!0:ka,rr=fa.areStatesEqual,to=rr===void 0?Yn:rr,Ur=fa.areOwnPropsEqual,Po=Ur===void 0?ht:Ur,xi=fa.areStatePropsEqual,Bo=xi===void 0?ht:xi,Di=fa.areMergedPropsEqual,ul=Di===void 0?ht:Di,hl=(0,y.Z)(fa,Rt),vu=Mt(lt,pe,"mapStateToProps"),cu=Mt(Tt,be,"mapDispatchToProps"),Yl=Mt(Xn,$e,"mergeProps");return de(je,(0,Ae.Z)({methodName:"connect",getDisplayName:function(Sl){return"Connect("+Sl+")"},shouldHandleStateChanges:!!lt,initMapStateToProps:vu,initMapDispatchToProps:cu,initMergeProps:Yl,pure:Qa,areStatesEqual:to,areOwnPropsEqual:Po,areStatePropsEqual:Bo,areMergedPropsEqual:ul},hl))}}var tn=aa();function ba(){var ee=useContext(ReactReduxContext);return ee}function _a(ee){ee===void 0&&(ee=ReactReduxContext);var ne=ee===ReactReduxContext?useDefaultReduxContext:function(){return useContext(ee)};return function(){var de=ne(),ve=de.store;return ve}}var ya=null;function zn(ee){ee===void 0&&(ee=ReactReduxContext);var ne=ee===ReactReduxContext?useDefaultStore:createStoreHook(ee);return function(){var de=ne();return de.dispatch}}var xa=null,dr=function(ne,re){return ne===re};function Ya(ee,ne,re,de){var ve=useReducer(function(Tt){return Tt+1},0),pe=ve[1],ye=useMemo(function(){return createSubscription(re,de)},[re,de]),be=useRef(),Ze=useRef(),$e=useRef(),Xe=useRef(),je=re.getState(),Ve;try{if(ee!==Ze.current||je!==$e.current||be.current){var lt=ee(je);Xe.current===void 0||!ne(lt,Xe.current)?Ve=lt:Ve=Xe.current}else Ve=Xe.current}catch(Tt){throw be.current&&(Tt.message+=`
The error may be correlated with this previous error:
`+be.current.stack+`
`),Tt}return useIsomorphicLayoutEffect(function(){Ze.current=ee,$e.current=je,Xe.current=Ve,be.current=void 0}),useIsomorphicLayoutEffect(function(){function Tt(){try{var Xn=re.getState();if(Xn===$e.current)return;var la=Ze.current(Xn);if(ne(la,Xe.current))return;Xe.current=la,$e.current=Xn}catch(fa){be.current=fa}pe()}return ye.onStateChange=Tt,ye.trySubscribe(),Tt(),function(){return ye.tryUnsubscribe()}},[re,ye]),Ve}function Jn(ee){ee===void 0&&(ee=ReactReduxContext);var ne=ee===ReactReduxContext?useDefaultReduxContext:function(){return useContext(ee)};return function(de,ve){ve===void 0&&(ve=dr);var pe=ne(),ye=pe.store,be=pe.subscription,Ze=Ya(de,ve,ye,be);return useDebugValue(Ze),Ze}}var da=null,ea=oe(4676);Le(ea.unstable_batchedUpdates);function ia(ee,ne){if(ee.length!==ne.length)return!1;for(var re=0;re<ee.length;re++)if(ee[re]!==ne[re])return!1;return!0}function Ea(ee,ne){var re=(0,b.useState)(function(){return{inputs:ne,result:ee()}})[0],de=(0,b.useRef)(!0),ve=(0,b.useRef)(re),pe=de.current||!!(ne&&ve.current.inputs&&ia(ne,ve.current.inputs)),ye=pe?ve.current:{inputs:ne,result:ee()};return(0,b.useEffect)(function(){de.current=!1,ve.current=ye},[ye]),ye.result}function Va(ee,ne){return Ea(function(){return ee},ne)}var yn=Ea,an=Va,Ft=!0,Gt="Invariant failed";function Da(ee,ne){if(!ee){if(Ft)throw new Error(Gt);var re=typeof ne=="function"?ne():ne,de=re?"".concat(Gt,": ").concat(re):Gt;throw new Error(de)}}var pa=function(ne){var re=ne.top,de=ne.right,ve=ne.bottom,pe=ne.left,ye=de-pe,be=ve-re,Ze={top:re,right:de,bottom:ve,left:pe,width:ye,height:be,x:pe,y:re,center:{x:(de+pe)/2,y:(ve+re)/2}};return Ze},wa=function(ne,re){return{top:ne.top-re.top,left:ne.left-re.left,bottom:ne.bottom+re.bottom,right:ne.right+re.right}},ha=function(ne,re){return{top:ne.top+re.top,left:ne.left+re.left,bottom:ne.bottom-re.bottom,right:ne.right-re.right}},Ga=function(ne,re){return{top:ne.top+re.y,left:ne.left+re.x,bottom:ne.bottom+re.y,right:ne.right+re.x}},gr={top:0,right:0,bottom:0,left:0},Ua=function(ne){var re=ne.borderBox,de=ne.margin,ve=de===void 0?gr:de,pe=ne.border,ye=pe===void 0?gr:pe,be=ne.padding,Ze=be===void 0?gr:be,$e=pa(wa(re,ve)),Xe=pa(ha(re,ye)),je=pa(ha(Xe,Ze));return{marginBox:$e,borderBox:pa(re),paddingBox:Xe,contentBox:je,margin:ve,border:ye,padding:Ze}},Cr=function(ne){var re=ne.slice(0,-2),de=ne.slice(-2);if(de!=="px")return 0;var ve=Number(re);return isNaN(ve)&&Da(!1),ve},ho=function(){return{x:window.pageXOffset,y:window.pageYOffset}},Ht=function(ne,re){var de=ne.borderBox,ve=ne.border,pe=ne.margin,ye=ne.padding,be=Ga(de,re);return Ua({borderBox:be,border:ve,margin:pe,padding:ye})},Zn=function(ne,re){return re===void 0&&(re=ho()),Ht(ne,re)},qn=function(ne,re){var de={top:Cr(re.marginTop),right:Cr(re.marginRight),bottom:Cr(re.marginBottom),left:Cr(re.marginLeft)},ve={top:Cr(re.paddingTop),right:Cr(re.paddingRight),bottom:Cr(re.paddingBottom),left:Cr(re.paddingLeft)},pe={top:Cr(re.borderTopWidth),right:Cr(re.borderRightWidth),bottom:Cr(re.borderBottomWidth),left:Cr(re.borderLeftWidth)};return Ua({borderBox:ne,margin:de,padding:ve,border:pe})},Sa=function(ne){var re=ne.getBoundingClientRect(),de=window.getComputedStyle(ne);return qn(re,de)},Be=Number.isNaN||function(ne){return typeof ne=="number"&&ne!==ne};function at(ee,ne){return!!(ee===ne||Be(ee)&&Be(ne))}function st(ee,ne){if(ee.length!==ne.length)return!1;for(var re=0;re<ee.length;re++)if(!at(ee[re],ne[re]))return!1;return!0}function bt(ee,ne){ne===void 0&&(ne=st);var re,de=[],ve,pe=!1;function ye(){for(var be=[],Ze=0;Ze<arguments.length;Ze++)be[Ze]=arguments[Ze];return pe&&re===this&&ne(be,de)||(ve=ee.apply(this,be),pe=!0,re=this,de=be),ve}return ye}var St=bt,mn=function(ne){var re=[],de=null,ve=function(){for(var ye=arguments.length,be=new Array(ye),Ze=0;Ze<ye;Ze++)be[Ze]=arguments[Ze];re=be,!de&&(de=requestAnimationFrame(function(){de=null,ne.apply(void 0,re)}))};return ve.cancel=function(){de&&(cancelAnimationFrame(de),de=null)},ve},Kt=mn,Ge=!0,Ye=/[ \t]{2,}/g,Ue=/^[ \t]*/gm,Bt=function(ne){return ne.replace(Ye," ").replace(Ue,"").trim()},un=function(ne){return Bt(`
%creact-beautiful-dnd
%c`+Bt(ne)+`
%c\u{1F477}\u200D This is a development only message. It will be removed in production builds.
`)},pn=function(ne){return[un(ne),"color: #00C584; font-size: 1.2em; font-weight: bold;","line-height: 1.5","color: #723874;"]},ra="__react-beautiful-dnd-disable-dev-warnings";function Vn(ee,ne){var re;Ge||typeof window!="undefined"&&window[ra]||(re=console)[ee].apply(re,pn(ne))}var Ln=Vn.bind(null,"warn"),jn=Vn.bind(null,"error");function Tn(){}function jt(ee,ne){return(0,Ae.Z)({},ee,{},ne)}function La(ee,ne,re){var de=ne.map(function(ve){var pe=jt(re,ve.options);return ee.addEventListener(ve.eventName,ve.fn,pe),function(){ee.removeEventListener(ve.eventName,ve.fn,pe)}});return function(){de.forEach(function(pe){pe()})}}var ir=!0,oo="Invariant failed";function Wa(ee){this.message=ee}Wa.prototype.toString=function(){return this.message};function zt(ee,ne){if(!ee)throw ir?new Wa(oo):new Wa(oo+": "+(ne||""))}var jr=function(ee){De(ne,ee);function ne(){for(var de,ve=arguments.length,pe=new Array(ve),ye=0;ye<ve;ye++)pe[ye]=arguments[ye];return de=ee.call.apply(ee,[this].concat(pe))||this,de.callbacks=null,de.unbind=Tn,de.onWindowError=function(be){var Ze=de.getCallbacks();Ze.isDragging()&&Ze.tryAbort();var $e=be.error;$e instanceof Wa&&be.preventDefault()},de.getCallbacks=function(){if(!de.callbacks)throw new Error("Unable to find AppCallbacks in <ErrorBoundary/>");return de.callbacks},de.setCallbacks=function(be){de.callbacks=be},de}var re=ne.prototype;return re.componentDidMount=function(){this.unbind=La(window,[{eventName:"error",fn:this.onWindowError}])},re.componentWillUnmount=function(){this.unbind()},re.componentDidCatch=function(ve){if(ve instanceof Wa){this.setState({});return}throw ve},re.render=function(){return this.props.children(this.setCallbacks)},ne}(b.Component),Ta=`
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
`,vr=function(ne){return ne+1},er=function(ne){return`
You have lifted an item in position `+vr(ne.source.index)+`
`},_r=function(ne,re){var de=ne.droppableId===re.droppableId,ve=vr(ne.index),pe=vr(re.index);return de?`
You have moved the item from position `+ve+`
to position `+pe+`
`:`
You have moved the item from position `+ve+`
in list `+ne.droppableId+`
to list `+re.droppableId+`
in position `+pe+`
`},br=function(ne,re,de){var ve=re.droppableId===de.droppableId;return ve?`
The item `+ne+`
has been combined with `+de.draggableId:`
The item `+ne+`
in list `+re.droppableId+`
has been combined with `+de.draggableId+`
in list `+de.droppableId+`
`},qr=function(ne){var re=ne.destination;if(re)return _r(ne.source,re);var de=ne.combine;return de?br(ne.draggableId,ne.source,de):"You are over an area that cannot be dropped on"},wr=function(ne){return`
The item has returned to its starting position
of `+vr(ne.index)+`
`},oa=function(ne){if(ne.reason==="CANCEL")return`
Movement cancelled.
`+wr(ne.source)+`
`;var re=ne.destination,de=ne.combine;return re?`
You have dropped the item.
`+_r(ne.source,re)+`
`:de?`
You have dropped the item.
`+br(ne.draggableId,ne.source,de)+`
`:`
The item has been dropped while not over a drop area.
`+wr(ne.source)+`
`},$t={dragHandleUsageInstructions:Ta,onDragStart:er,onDragUpdate:qr,onDragEnd:oa},Xa={x:0,y:0},ua=function(ne,re){return{x:ne.x+re.x,y:ne.y+re.y}},tr=function(ne,re){return{x:ne.x-re.x,y:ne.y-re.y}},Oa=function(ne,re){return ne.x===re.x&&ne.y===re.y},hn=function(ne){return{x:ne.x!==0?-ne.x:0,y:ne.y!==0?-ne.y:0}},$n=function(ne,re,de){var ve;return de===void 0&&(de=0),ve={},ve[ne]=re,ve[ne==="x"?"y":"x"]=de,ve},Aa=function(ne,re){return Math.sqrt(Math.pow(re.x-ne.x,2)+Math.pow(re.y-ne.y,2))},Wn=function(ne,re){return Math.min.apply(Math,re.map(function(de){return Aa(ne,de)}))},qa=function(ne){return function(re){return{x:ne(re.x),y:ne(re.y)}}},Ka=function(ee,ne){var re=pa({top:Math.max(ne.top,ee.top),right:Math.min(ne.right,ee.right),bottom:Math.min(ne.bottom,ee.bottom),left:Math.max(ne.left,ee.left)});return re.width<=0||re.height<=0?null:re},pr=function(ne,re){return{top:ne.top+re.y,left:ne.left+re.x,bottom:ne.bottom+re.y,right:ne.right+re.x}},Tr=function(ne){return[{x:ne.left,y:ne.top},{x:ne.right,y:ne.top},{x:ne.left,y:ne.bottom},{x:ne.right,y:ne.bottom}]},nr={top:0,right:0,bottom:0,left:0},Ho=function(ne,re){return re?pr(ne,re.scroll.diff.displacement):ne},Ao=function(ne,re,de){if(de&&de.increasedBy){var ve;return(0,Ae.Z)({},ne,(ve={},ve[re.end]=ne[re.end]+de.increasedBy[re.line],ve))}return ne},hi=function(ne,re){return re&&re.shouldClipSubject?Ka(re.pageMarginBox,ne):pa(ne)},Pr=function(ee){var ne=ee.page,re=ee.withPlaceholder,de=ee.axis,ve=ee.frame,pe=Ho(ne.marginBox,ve),ye=Ao(pe,de,re),be=hi(ye,ve);return{page:ne,withPlaceholder:re,active:be}},Br=function(ee,ne){ee.frame||zt(!1);var re=ee.frame,de=tr(ne,re.scroll.initial),ve=hn(de),pe=(0,Ae.Z)({},re,{scroll:{initial:re.scroll.initial,current:ne,diff:{value:de,displacement:ve},max:re.scroll.max}}),ye=Pr({page:ee.subject.page,withPlaceholder:ee.subject.withPlaceholder,axis:ee.axis,frame:pe}),be=(0,Ae.Z)({},ee,{frame:pe,subject:ye});return be};function uo(ee){return Number.isInteger?Number.isInteger(ee):typeof ee=="number"&&isFinite(ee)&&Math.floor(ee)===ee}function Ha(ee){return Object.values?Object.values(ee):Object.keys(ee).map(function(ne){return ee[ne]})}function Zr(ee,ne){if(ee.findIndex)return ee.findIndex(ne);for(var re=0;re<ee.length;re++)if(ne(ee[re]))return re;return-1}function Hr(ee,ne){if(ee.find)return ee.find(ne);var re=Zr(ee,ne);if(re!==-1)return ee[re]}function lr(ee){return Array.prototype.slice.call(ee)}var zr=St(function(ee){return ee.reduce(function(ne,re){return ne[re.descriptor.id]=re,ne},{})}),fo=St(function(ee){return ee.reduce(function(ne,re){return ne[re.descriptor.id]=re,ne},{})}),Qr=St(function(ee){return Ha(ee)}),ja=St(function(ee){return Ha(ee)}),Io=St(function(ee,ne){var re=ja(ne).filter(function(de){return ee===de.descriptor.droppableId}).sort(function(de,ve){return de.descriptor.index-ve.descriptor.index});return re});function ai(ee){return ee.at&&ee.at.type==="REORDER"?ee.at.destination:null}function oi(ee){return ee.at&&ee.at.type==="COMBINE"?ee.at.combine:null}var Gr=St(function(ee,ne){return ne.filter(function(re){return re.descriptor.id!==ee.descriptor.id})}),ii=function(ee){var ne=ee.isMovingForward,re=ee.draggable,de=ee.destination,ve=ee.insideDestination,pe=ee.previousImpact;if(!de.isCombineEnabled)return null;var ye=ai(pe);if(!ye)return null;function be(Xn){var la={type:"COMBINE",combine:{draggableId:Xn,droppableId:de.descriptor.id}};return(0,Ae.Z)({},pe,{at:la})}var Ze=pe.displaced.all,$e=Ze.length?Ze[0]:null;if(ne)return $e?be($e):null;var Xe=Gr(re,ve);if(!$e){if(!Xe.length)return null;var je=Xe[Xe.length-1];return be(je.descriptor.id)}var Ve=Zr(Xe,function(Xn){return Xn.descriptor.id===$e});Ve===-1&&zt(!1);var lt=Ve-1;if(lt<0)return null;var Tt=Xe[lt];return be(Tt.descriptor.id)},Ko=function(ee,ne){return ee.descriptor.droppableId===ne.descriptor.id},sl={point:Xa,value:0},wi={invisible:{},visible:{},all:[]},Ki={displaced:wi,displacedBy:sl,at:null},ko=function(ee,ne){return function(re){return ee<=re&&re<=ne}},bl=function(ee){var ne=ko(ee.top,ee.bottom),re=ko(ee.left,ee.right);return function(de){var ve=ne(de.top)&&ne(de.bottom)&&re(de.left)&&re(de.right);if(ve)return!0;var pe=ne(de.top)||ne(de.bottom),ye=re(de.left)||re(de.right),be=pe&&ye;if(be)return!0;var Ze=de.top<ee.top&&de.bottom>ee.bottom,$e=de.left<ee.left&&de.right>ee.right,Xe=Ze&&$e;if(Xe)return!0;var je=Ze&&ye||$e&&pe;return je}},Kl=function(ee){var ne=ko(ee.top,ee.bottom),re=ko(ee.left,ee.right);return function(de){var ve=ne(de.top)&&ne(de.bottom)&&re(de.left)&&re(de.right);return ve}},Ri={direction:"vertical",line:"y",crossAxisLine:"x",start:"top",end:"bottom",size:"height",crossAxisStart:"left",crossAxisEnd:"right",crossAxisSize:"width"},ji={direction:"horizontal",line:"x",crossAxisLine:"y",start:"left",end:"right",size:"width",crossAxisStart:"top",crossAxisEnd:"bottom",crossAxisSize:"height"},dl=function(ee){return function(ne){var re=ko(ne.top,ne.bottom),de=ko(ne.left,ne.right);return function(ve){return ee===Ri?re(ve.top)&&re(ve.bottom):de(ve.left)&&de(ve.right)}}},Za=function(ne,re){var de=re.frame?re.frame.scroll.diff.displacement:Xa;return pr(ne,de)},Hn=function(ne,re,de){return re.subject.active?de(re.subject.active)(ne):!1},kn=function(ne,re,de){return de(re)(ne)},me=function(ne){var re=ne.target,de=ne.destination,ve=ne.viewport,pe=ne.withDroppableDisplacement,ye=ne.isVisibleThroughFrameFn,be=pe?Za(re,de):re;return Hn(be,de,ye)&&kn(be,ve,ye)},pt=function(ne){return me((0,Ae.Z)({},ne,{isVisibleThroughFrameFn:bl}))},xt=function(ne){return me((0,Ae.Z)({},ne,{isVisibleThroughFrameFn:Kl}))},gn=function(ne){return me((0,Ae.Z)({},ne,{isVisibleThroughFrameFn:dl(ne.destination.axis)}))},Et=function(ne,re,de){if(typeof de=="boolean")return de;if(!re)return!0;var ve=re.invisible,pe=re.visible;if(ve[ne])return!1;var ye=pe[ne];return ye?ye.shouldAnimate:!0};function wn(ee,ne){var re=ee.page.marginBox,de={top:ne.point.y,right:0,bottom:0,left:ne.point.x};return pa(wa(re,de))}function Fn(ee){var ne=ee.afterDragging,re=ee.destination,de=ee.displacedBy,ve=ee.viewport,pe=ee.forceShouldAnimate,ye=ee.last;return ne.reduce(function(Ze,$e){var Xe=wn($e,de),je=$e.descriptor.id;Ze.all.push(je);var Ve=pt({target:Xe,destination:re,viewport:ve,withDroppableDisplacement:!0});if(!Ve)return Ze.invisible[$e.descriptor.id]=!0,Ze;var lt=Et(je,ye,pe),Tt={draggableId:je,shouldAnimate:lt};return Ze.visible[je]=Tt,Ze},{all:[],visible:{},invisible:{}})}function fn(ee,ne){if(!ee.length)return 0;var re=ee[ee.length-1].descriptor.index;return ne.inHomeList?re:re+1}function bn(ee){var ne=ee.insideDestination,re=ee.inHomeList,de=ee.displacedBy,ve=ee.destination,pe=fn(ne,{inHomeList:re});return{displaced:wi,displacedBy:de,at:{type:"REORDER",destination:{droppableId:ve.descriptor.id,index:pe}}}}function Ma(ee){var ne=ee.draggable,re=ee.insideDestination,de=ee.destination,ve=ee.viewport,pe=ee.displacedBy,ye=ee.last,be=ee.index,Ze=ee.forceShouldAnimate,$e=Ko(ne,de);if(be==null)return bn({insideDestination:re,inHomeList:$e,displacedBy:pe,destination:de});var Xe=Hr(re,function(Xn){return Xn.descriptor.index===be});if(!Xe)return bn({insideDestination:re,inHomeList:$e,displacedBy:pe,destination:de});var je=Gr(ne,re),Ve=re.indexOf(Xe),lt=je.slice(Ve),Tt=Fn({afterDragging:lt,destination:de,displacedBy:pe,last:ye,viewport:ve.frame,forceShouldAnimate:Ze});return{displaced:Tt,displacedBy:pe,at:{type:"REORDER",destination:{droppableId:de.descriptor.id,index:be}}}}function or(ee,ne){return!!ne.effected[ee]}var hr=function(ee){var ne=ee.isMovingForward,re=ee.destination,de=ee.draggables,ve=ee.combine,pe=ee.afterCritical;if(!re.isCombineEnabled)return null;var ye=ve.draggableId,be=de[ye],Ze=be.descriptor.index,$e=or(ye,pe);return $e?ne?Ze:Ze-1:ne?Ze+1:Ze},ca=function(ee){var ne=ee.isMovingForward,re=ee.isInHomeList,de=ee.insideDestination,ve=ee.location;if(!de.length)return null;var pe=ve.index,ye=ne?pe+1:pe-1,be=de[0].descriptor.index,Ze=de[de.length-1].descriptor.index,$e=re?Ze:Ze+1;return ye<be||ye>$e?null:ye},ma=function(ee){var ne=ee.isMovingForward,re=ee.isInHomeList,de=ee.draggable,ve=ee.draggables,pe=ee.destination,ye=ee.insideDestination,be=ee.previousImpact,Ze=ee.viewport,$e=ee.afterCritical,Xe=be.at;if(Xe||zt(!1),Xe.type==="REORDER"){var je=ca({isMovingForward:ne,isInHomeList:re,location:Xe.destination,insideDestination:ye});return je==null?null:Ma({draggable:de,insideDestination:ye,destination:pe,viewport:Ze,last:be.displaced,displacedBy:be.displacedBy,index:je})}var Ve=hr({isMovingForward:ne,destination:pe,displaced:be.displaced,draggables:ve,combine:Xe.combine,afterCritical:$e});return Ve==null?null:Ma({draggable:de,insideDestination:ye,destination:pe,viewport:Ze,last:be.displaced,displacedBy:be.displacedBy,index:Ve})},ar=function(ee){var ne=ee.displaced,re=ee.afterCritical,de=ee.combineWith,ve=ee.displacedBy,pe=!!(ne.visible[de]||ne.invisible[de]);return or(de,re)?pe?Xa:hn(ve.point):pe?ve.point:Xa},sr=function(ee){var ne=ee.afterCritical,re=ee.impact,de=ee.draggables,ve=oi(re);ve||zt(!1);var pe=ve.draggableId,ye=de[pe].page.borderBox.center,be=ar({displaced:re.displaced,afterCritical:ne,combineWith:pe,displacedBy:re.displacedBy});return ua(ye,be)},_o=function(ne,re){return re.margin[ne.start]+re.borderBox[ne.size]/2},Jo=function(ne,re){return re.margin[ne.end]+re.borderBox[ne.size]/2},Oo=function(ne,re,de){return re[ne.crossAxisStart]+de.margin[ne.crossAxisStart]+de.borderBox[ne.crossAxisSize]/2},Uo=function(ne){var re=ne.axis,de=ne.moveRelativeTo,ve=ne.isMoving;return $n(re.line,de.marginBox[re.end]+_o(re,ve),Oo(re,de.marginBox,ve))},ri=function(ne){var re=ne.axis,de=ne.moveRelativeTo,ve=ne.isMoving;return $n(re.line,de.marginBox[re.start]-Jo(re,ve),Oo(re,de.marginBox,ve))},si=function(ne){var re=ne.axis,de=ne.moveInto,ve=ne.isMoving;return $n(re.line,de.contentBox[re.start]+_o(re,ve),Oo(re,de.contentBox,ve))},Fl=function(ee){var ne=ee.impact,re=ee.draggable,de=ee.draggables,ve=ee.droppable,pe=ee.afterCritical,ye=Io(ve.descriptor.id,de),be=re.page,Ze=ve.axis;if(!ye.length)return si({axis:Ze,moveInto:ve.page,isMoving:be});var $e=ne.displaced,Xe=ne.displacedBy,je=$e.all[0];if(je){var Ve=de[je];if(or(je,pe))return ri({axis:Ze,moveRelativeTo:Ve.page,isMoving:be});var lt=Ht(Ve.page,Xe.point);return ri({axis:Ze,moveRelativeTo:lt,isMoving:be})}var Tt=ye[ye.length-1];if(Tt.descriptor.id===re.descriptor.id)return be.borderBox.center;if(or(Tt.descriptor.id,pe)){var Xn=Ht(Tt.page,hn(pe.displacedBy.point));return Uo({axis:Ze,moveRelativeTo:Xn,isMoving:be})}return Uo({axis:Ze,moveRelativeTo:Tt.page,isMoving:be})},$i=function(ee,ne){var re=ee.frame;return re?ua(ne,re.scroll.diff.displacement):ne},el=function(ne){var re=ne.impact,de=ne.draggable,ve=ne.droppable,pe=ne.draggables,ye=ne.afterCritical,be=de.page.borderBox.center,Ze=re.at;return!ve||!Ze?be:Ze.type==="REORDER"?Fl({impact:re,draggable:de,draggables:pe,droppable:ve,afterCritical:ye}):sr({impact:re,draggables:pe,afterCritical:ye})},tl=function(ee){var ne=el(ee),re=ee.droppable,de=re?$i(re,ne):ne;return de},ou=function(ee,ne){var re=tr(ne,ee.scroll.initial),de=hn(re),ve=pa({top:ne.y,bottom:ne.y+ee.frame.height,left:ne.x,right:ne.x+ee.frame.width}),pe={frame:ve,scroll:{initial:ee.scroll.initial,max:ee.scroll.max,current:ne,diff:{value:re,displacement:de}}};return pe};function cl(ee,ne){return ee.map(function(re){return ne[re]})}function Ml(ee,ne){for(var re=0;re<ne.length;re++){var de=ne[re].visible[ee];if(de)return de}return null}var as=function(ee){var ne=ee.impact,re=ee.viewport,de=ee.destination,ve=ee.draggables,pe=ee.maxScrollChange,ye=ou(re,ua(re.scroll.current,pe)),be=de.frame?Br(de,ua(de.frame.scroll.current,pe)):de,Ze=ne.displaced,$e=Fn({afterDragging:cl(Ze.all,ve),destination:de,displacedBy:ne.displacedBy,viewport:ye.frame,last:Ze,forceShouldAnimate:!1}),Xe=Fn({afterDragging:cl(Ze.all,ve),destination:be,displacedBy:ne.displacedBy,viewport:re.frame,last:Ze,forceShouldAnimate:!1}),je={},Ve={},lt=[Ze,$e,Xe];Ze.all.forEach(function(Xn){var la=Ml(Xn,lt);if(la){Ve[Xn]=la;return}je[Xn]=!0});var Tt=(0,Ae.Z)({},ne,{displaced:{all:Ze.all,invisible:je,visible:Ve}});return Tt},Mr=function(ee,ne){return ua(ee.scroll.diff.displacement,ne)},Cu=function(ee){var ne=ee.pageBorderBoxCenter,re=ee.draggable,de=ee.viewport,ve=Mr(de,ne),pe=tr(ve,re.page.borderBox.center);return ua(re.client.borderBox.center,pe)},wu=function(ee){var ne=ee.draggable,re=ee.destination,de=ee.newPageBorderBoxCenter,ve=ee.viewport,pe=ee.withDroppableDisplacement,ye=ee.onlyOnMainAxis,be=ye===void 0?!1:ye,Ze=tr(de,ne.page.borderBox.center),$e=pr(ne.page.borderBox,Ze),Xe={target:$e,destination:re,withDroppableDisplacement:pe,viewport:ve};return be?gn(Xe):xt(Xe)},rs=function(ee){var ne=ee.isMovingForward,re=ee.draggable,de=ee.destination,ve=ee.draggables,pe=ee.previousImpact,ye=ee.viewport,be=ee.previousPageBorderBoxCenter,Ze=ee.previousClientSelection,$e=ee.afterCritical;if(!de.isEnabled)return null;var Xe=Io(de.descriptor.id,ve),je=Ko(re,de),Ve=ii({isMovingForward:ne,draggable:re,destination:de,insideDestination:Xe,previousImpact:pe})||ma({isMovingForward:ne,isInHomeList:je,draggable:re,draggables:ve,destination:de,insideDestination:Xe,previousImpact:pe,viewport:ye,afterCritical:$e});if(!Ve)return null;var lt=tl({impact:Ve,draggable:re,droppable:de,draggables:ve,afterCritical:$e}),Tt=wu({draggable:re,destination:de,newPageBorderBoxCenter:lt,viewport:ye.frame,withDroppableDisplacement:!1,onlyOnMainAxis:!0});if(Tt){var Xn=Cu({pageBorderBoxCenter:lt,draggable:re,viewport:ye});return{clientSelection:Xn,impact:Ve,scrollJumpRequest:null}}var la=tr(lt,be),fa=as({impact:Ve,viewport:ye,destination:de,draggables:ve,maxScrollChange:la});return{clientSelection:Ze,impact:fa,scrollJumpRequest:la}},Li=function(ne){var re=ne.subject.active;return re||zt(!1),re},zu=function(ee){var ne=ee.isMovingForward,re=ee.pageBorderBoxCenter,de=ee.source,ve=ee.droppables,pe=ee.viewport,ye=de.subject.active;if(!ye)return null;var be=de.axis,Ze=ko(ye[be.start],ye[be.end]),$e=Qr(ve).filter(function(je){return je!==de}).filter(function(je){return je.isEnabled}).filter(function(je){return!!je.subject.active}).filter(function(je){return bl(pe.frame)(Li(je))}).filter(function(je){var Ve=Li(je);return ne?ye[be.crossAxisEnd]<Ve[be.crossAxisEnd]:Ve[be.crossAxisStart]<ye[be.crossAxisStart]}).filter(function(je){var Ve=Li(je),lt=ko(Ve[be.start],Ve[be.end]);return Ze(Ve[be.start])||Ze(Ve[be.end])||lt(ye[be.start])||lt(ye[be.end])}).sort(function(je,Ve){var lt=Li(je)[be.crossAxisStart],Tt=Li(Ve)[be.crossAxisStart];return ne?lt-Tt:Tt-lt}).filter(function(je,Ve,lt){return Li(je)[be.crossAxisStart]===Li(lt[0])[be.crossAxisStart]});if(!$e.length)return null;if($e.length===1)return $e[0];var Xe=$e.filter(function(je){var Ve=ko(Li(je)[be.start],Li(je)[be.end]);return Ve(re[be.line])});return Xe.length===1?Xe[0]:Xe.length>1?Xe.sort(function(je,Ve){return Li(je)[be.start]-Li(Ve)[be.start]})[0]:$e.sort(function(je,Ve){var lt=Wn(re,Tr(Li(je))),Tt=Wn(re,Tr(Li(Ve)));return lt!==Tt?lt-Tt:Li(je)[be.start]-Li(Ve)[be.start]})[0]},Lu=function(ne,re){var de=ne.page.borderBox.center;return or(ne.descriptor.id,re)?tr(de,re.displacedBy.point):de},Pu=function(ne,re){var de=ne.page.borderBox;return or(ne.descriptor.id,re)?pr(de,hn(re.displacedBy.point)):de},Nu=function(ee){var ne=ee.pageBorderBoxCenter,re=ee.viewport,de=ee.destination,ve=ee.insideDestination,pe=ee.afterCritical,ye=ve.filter(function(be){return xt({target:Pu(be,pe),destination:de,viewport:re.frame,withDroppableDisplacement:!0})}).sort(function(be,Ze){var $e=Aa(ne,$i(de,Lu(be,pe))),Xe=Aa(ne,$i(de,Lu(Ze,pe)));return $e<Xe?-1:Xe<$e?1:be.descriptor.index-Ze.descriptor.index});return ye[0]||null},iu=St(function(ne,re){var de=re[ne.line];return{value:de,point:$n(ne.line,de)}}),Vu=function(ne,re,de){var ve=ne.axis;if(ne.descriptor.mode==="virtual")return $n(ve.line,re[ve.line]);var pe=ne.subject.page.contentBox[ve.size],ye=Io(ne.descriptor.id,de),be=ye.reduce(function(Xe,je){return Xe+je.client.marginBox[ve.size]},0),Ze=be+re[ve.line],$e=Ze-pe;return $e<=0?null:$n(ve.line,$e)},Iu=function(ne,re){return(0,Ae.Z)({},ne,{scroll:(0,Ae.Z)({},ne.scroll,{max:re})})},Ou=function(ne,re,de){var ve=ne.frame;Ko(re,ne)&&zt(!1),ne.subject.withPlaceholder&&zt(!1);var pe=iu(ne.axis,re.displaceBy).point,ye=Vu(ne,pe,de),be={placeholderSize:pe,increasedBy:ye,oldFrameMaxScroll:ne.frame?ne.frame.scroll.max:null};if(!ve){var Ze=Pr({page:ne.subject.page,withPlaceholder:be,axis:ne.axis,frame:ne.frame});return(0,Ae.Z)({},ne,{subject:Ze})}var $e=ye?ua(ve.scroll.max,ye):ve.scroll.max,Xe=Iu(ve,$e),je=Pr({page:ne.subject.page,withPlaceholder:be,axis:ne.axis,frame:Xe});return(0,Ae.Z)({},ne,{subject:je,frame:Xe})},Ni=function(ne){var re=ne.subject.withPlaceholder;re||zt(!1);var de=ne.frame;if(!de){var ve=Pr({page:ne.subject.page,axis:ne.axis,frame:null,withPlaceholder:null});return(0,Ae.Z)({},ne,{subject:ve})}var pe=re.oldFrameMaxScroll;pe||zt(!1);var ye=Iu(de,pe),be=Pr({page:ne.subject.page,axis:ne.axis,frame:ye,withPlaceholder:null});return(0,Ae.Z)({},ne,{subject:be,frame:ye})},Wu=function(ee){var ne=ee.previousPageBorderBoxCenter,re=ee.moveRelativeTo,de=ee.insideDestination,ve=ee.draggable,pe=ee.draggables,ye=ee.destination,be=ee.viewport,Ze=ee.afterCritical;if(!re){if(de.length)return null;var $e={displaced:wi,displacedBy:sl,at:{type:"REORDER",destination:{droppableId:ye.descriptor.id,index:0}}},Xe=tl({impact:$e,draggable:ve,droppable:ye,draggables:pe,afterCritical:Ze}),je=Ko(ve,ye)?ye:Ou(ye,ve,pe),Ve=wu({draggable:ve,destination:je,newPageBorderBoxCenter:Xe,viewport:be.frame,withDroppableDisplacement:!1,onlyOnMainAxis:!0});return Ve?$e:null}var lt=ne[ye.axis.line]<=re.page.borderBox.center[ye.axis.line],Tt=function(){var la=re.descriptor.index;return re.descriptor.id===ve.descriptor.id||lt?la:la+1}(),Xn=iu(ye.axis,ve.displaceBy);return Ma({draggable:ve,insideDestination:de,destination:ye,viewport:be,displacedBy:Xn,last:wi,index:Tt})},Bu=function(ee){var ne=ee.isMovingForward,re=ee.previousPageBorderBoxCenter,de=ee.draggable,ve=ee.isOver,pe=ee.draggables,ye=ee.droppables,be=ee.viewport,Ze=ee.afterCritical,$e=zu({isMovingForward:ne,pageBorderBoxCenter:re,source:ve,droppables:ye,viewport:be});if(!$e)return null;var Xe=Io($e.descriptor.id,pe),je=Nu({pageBorderBoxCenter:re,viewport:be,destination:$e,insideDestination:Xe,afterCritical:Ze}),Ve=Wu({previousPageBorderBoxCenter:re,destination:$e,draggable:de,draggables:pe,moveRelativeTo:je,insideDestination:Xe,viewport:be,afterCritical:Ze});if(!Ve)return null;var lt=tl({impact:Ve,draggable:de,droppable:$e,draggables:pe,afterCritical:Ze}),Tt=Cu({pageBorderBoxCenter:lt,draggable:de,viewport:be});return{clientSelection:Tt,impact:Ve,scrollJumpRequest:null}},yi=function(ee){var ne=ee.at;return ne?ne.type==="REORDER"?ne.destination.droppableId:ne.combine.droppableId:null},Au=function(ne,re){var de=yi(ne);return de?re[de]:null},os=function(ee){var ne=ee.state,re=ee.type,de=Au(ne.impact,ne.dimensions.droppables),ve=!!de,pe=ne.dimensions.droppables[ne.critical.droppable.id],ye=de||pe,be=ye.axis.direction,Ze=be==="vertical"&&(re==="MOVE_UP"||re==="MOVE_DOWN")||be==="horizontal"&&(re==="MOVE_LEFT"||re==="MOVE_RIGHT");if(Ze&&!ve)return null;var $e=re==="MOVE_DOWN"||re==="MOVE_RIGHT",Xe=ne.dimensions.draggables[ne.critical.draggable.id],je=ne.current.page.borderBoxCenter,Ve=ne.dimensions,lt=Ve.draggables,Tt=Ve.droppables;return Ze?rs({isMovingForward:$e,previousPageBorderBoxCenter:je,draggable:Xe,destination:ye,draggables:lt,viewport:ne.viewport,previousClientSelection:ne.current.client.selection,previousImpact:ne.impact,afterCritical:ne.afterCritical}):Bu({isMovingForward:$e,previousPageBorderBoxCenter:je,draggable:Xe,isOver:ye,draggables:lt,droppables:Tt,viewport:ne.viewport,afterCritical:ne.afterCritical})};function lu(ee){return ee.phase==="DRAGGING"||ee.phase==="COLLECTING"}function Jl(ee){var ne=ko(ee.top,ee.bottom),re=ko(ee.left,ee.right);return function(ve){return ne(ve.y)&&re(ve.x)}}function Cl(ee,ne){return ee.left<ne.right&&ee.right>ne.left&&ee.top<ne.bottom&&ee.bottom>ne.top}function Bl(ee){var ne=ee.pageBorderBox,re=ee.draggable,de=ee.candidates,ve=re.page.borderBox.center,pe=de.map(function(ye){var be=ye.axis,Ze=$n(ye.axis.line,ne.center[be.line],ye.page.borderBox.center[be.crossAxisLine]);return{id:ye.descriptor.id,distance:Aa(ve,Ze)}}).sort(function(ye,be){return be.distance-ye.distance});return pe[0]?pe[0].id:null}function is(ee){var ne=ee.pageBorderBox,re=ee.draggable,de=ee.droppables,ve=Qr(de).filter(function(pe){if(!pe.isEnabled)return!1;var ye=pe.subject.active;if(!ye||!Cl(ne,ye))return!1;if(Jl(ye)(ne.center))return!0;var be=pe.axis,Ze=ye.center[be.crossAxisLine],$e=ne[be.crossAxisStart],Xe=ne[be.crossAxisEnd],je=ko(ye[be.crossAxisStart],ye[be.crossAxisEnd]),Ve=je($e),lt=je(Xe);return!Ve&&!lt?!0:Ve?$e<Ze:Xe>Ze});return ve.length?ve.length===1?ve[0].descriptor.id:Bl({pageBorderBox:ne,draggable:re,candidates:ve}):null}var Mu=function(ne,re){return pa(pr(ne,re))},ls=function(ee,ne){var re=ee.frame;return re?Mu(ne,re.scroll.diff.value):ne};function Qo(ee){var ne=ee.displaced,re=ee.id;return!!(ne.visible[re]||ne.invisible[re])}function us(ee){var ne=ee.draggable,re=ee.closest,de=ee.inHomeList;return re?de&&re.descriptor.index>ne.descriptor.index?re.descriptor.index-1:re.descriptor.index:null}var ss=function(ee){var ne=ee.pageBorderBoxWithDroppableScroll,re=ee.draggable,de=ee.destination,ve=ee.insideDestination,pe=ee.last,ye=ee.viewport,be=ee.afterCritical,Ze=de.axis,$e=iu(de.axis,re.displaceBy),Xe=$e.value,je=ne[Ze.start],Ve=ne[Ze.end],lt=Gr(re,ve),Tt=Hr(lt,function(la){var fa=la.descriptor.id,ka=la.page.borderBox.center[Ze.line],Qa=or(fa,be),rr=Qo({displaced:pe,id:fa});return Qa?rr?Ve<=ka:je<ka-Xe:rr?Ve<=ka+Xe:je<ka}),Xn=us({draggable:re,closest:Tt,inHomeList:Ko(re,de)});return Ma({draggable:re,insideDestination:ve,destination:de,viewport:ye,last:pe,displacedBy:$e,index:Xn})},ds=4,Uu=function(ee){var ne=ee.draggable,re=ee.pageBorderBoxWithDroppableScroll,de=ee.previousImpact,ve=ee.destination,pe=ee.insideDestination,ye=ee.afterCritical;if(!ve.isCombineEnabled)return null;var be=ve.axis,Ze=iu(ve.axis,ne.displaceBy),$e=Ze.value,Xe=re[be.start],je=re[be.end],Ve=Gr(ne,pe),lt=Hr(Ve,function(Xn){var la=Xn.descriptor.id,fa=Xn.page.borderBox,ka=fa[be.size],Qa=ka/ds,rr=or(la,ye),to=Qo({displaced:de.displaced,id:la});return rr?to?je>fa[be.start]+Qa&&je<fa[be.end]-Qa:Xe>fa[be.start]-$e+Qa&&Xe<fa[be.end]-$e-Qa:to?je>fa[be.start]+$e+Qa&&je<fa[be.end]+$e-Qa:Xe>fa[be.start]+Qa&&Xe<fa[be.end]-Qa});if(!lt)return null;var Tt={displacedBy:Ze,displaced:de.displaced,at:{type:"COMBINE",combine:{draggableId:lt.descriptor.id,droppableId:ve.descriptor.id}}};return Tt},Ru=function(ee){var ne=ee.pageOffset,re=ee.draggable,de=ee.draggables,ve=ee.droppables,pe=ee.previousImpact,ye=ee.viewport,be=ee.afterCritical,Ze=Mu(re.page.borderBox,ne),$e=is({pageBorderBox:Ze,draggable:re,droppables:ve});if(!$e)return Ki;var Xe=ve[$e],je=Io(Xe.descriptor.id,de),Ve=ls(Xe,Ze);return Uu({pageBorderBoxWithDroppableScroll:Ve,draggable:re,previousImpact:pe,destination:Xe,insideDestination:je,afterCritical:be})||ss({pageBorderBoxWithDroppableScroll:Ve,draggable:re,destination:Xe,insideDestination:je,last:pe.displaced,viewport:ye,afterCritical:be})},ku=function(ee,ne){var re;return(0,Ae.Z)({},ee,(re={},re[ne.descriptor.id]=ne,re))},Qu=function(ne){var re=ne.previousImpact,de=ne.impact,ve=ne.droppables,pe=yi(re),ye=yi(de);if(!pe||pe===ye)return ve;var be=ve[pe];if(!be.subject.withPlaceholder)return ve;var Ze=Ni(be);return ku(ve,Ze)},nl=function(ee){var ne=ee.draggable,re=ee.draggables,de=ee.droppables,ve=ee.previousImpact,pe=ee.impact,ye=Qu({previousImpact:ve,impact:pe,droppables:de}),be=yi(pe);if(!be)return ye;var Ze=de[be];if(Ko(ne,Ze)||Ze.subject.withPlaceholder)return ye;var $e=Ou(Ze,ne,re);return ku(ye,$e)},gl=function(ee){var ne=ee.state,re=ee.clientSelection,de=ee.dimensions,ve=ee.viewport,pe=ee.impact,ye=ee.scrollJumpRequest,be=ve||ne.viewport,Ze=de||ne.dimensions,$e=re||ne.current.client.selection,Xe=tr($e,ne.initial.client.selection),je={offset:Xe,selection:$e,borderBoxCenter:ua(ne.initial.client.borderBoxCenter,Xe)},Ve={selection:ua(je.selection,be.scroll.current),borderBoxCenter:ua(je.borderBoxCenter,be.scroll.current),offset:ua(je.offset,be.scroll.diff.value)},lt={client:je,page:Ve};if(ne.phase==="COLLECTING")return(0,Ae.Z)({phase:"COLLECTING"},ne,{dimensions:Ze,viewport:be,current:lt});var Tt=Ze.draggables[ne.critical.draggable.id],Xn=pe||Ru({pageOffset:Ve.offset,draggable:Tt,draggables:Ze.draggables,droppables:Ze.droppables,previousImpact:ne.impact,viewport:be,afterCritical:ne.afterCritical}),la=nl({draggable:Tt,impact:Xn,previousImpact:ne.impact,draggables:Ze.draggables,droppables:Ze.droppables}),fa=(0,Ae.Z)({},ne,{current:lt,dimensions:{draggables:Ze.draggables,droppables:la},impact:Xn,viewport:be,scrollJumpRequest:ye||null,forceShouldAnimate:ye?!1:null});return fa};function yu(ee,ne){return ee.map(function(re){return ne[re]})}var Yu=function(ee){var ne=ee.impact,re=ee.viewport,de=ee.draggables,ve=ee.destination,pe=ee.forceShouldAnimate,ye=ne.displaced,be=yu(ye.all,de),Ze=Fn({afterDragging:be,destination:ve,displacedBy:ne.displacedBy,viewport:re.frame,forceShouldAnimate:pe,last:ye});return(0,Ae.Z)({},ne,{displaced:Ze})},Ku=function(ee){var ne=ee.impact,re=ee.draggable,de=ee.droppable,ve=ee.draggables,pe=ee.viewport,ye=ee.afterCritical,be=tl({impact:ne,draggable:re,draggables:ve,droppable:de,afterCritical:ye});return Cu({pageBorderBoxCenter:be,draggable:re,viewport:pe})},Fa=function(ee){var ne=ee.state,re=ee.dimensions,de=ee.viewport;ne.movementMode!=="SNAP"&&zt(!1);var ve=ne.impact,pe=de||ne.viewport,ye=re||ne.dimensions,be=ye.draggables,Ze=ye.droppables,$e=be[ne.critical.draggable.id],Xe=yi(ve);Xe||zt(!1);var je=Ze[Xe],Ve=Yu({impact:ve,viewport:pe,destination:je,draggables:be}),lt=Ku({impact:Ve,draggable:$e,droppable:je,draggables:be,viewport:pe,afterCritical:ne.afterCritical});return gl({impact:Ve,clientSelection:lt,state:ne,dimensions:ye,viewport:pe})},cs=function(ee){return{index:ee.index,droppableId:ee.droppableId}},_u=function(ee){var ne=ee.draggable,re=ee.home,de=ee.draggables,ve=ee.viewport,pe=iu(re.axis,ne.displaceBy),ye=Io(re.descriptor.id,de),be=ye.indexOf(ne);be===-1&&zt(!1);var Ze=ye.slice(be+1),$e=Ze.reduce(function(lt,Tt){return lt[Tt.descriptor.id]=!0,lt},{}),Xe={inVirtualList:re.descriptor.mode==="virtual",displacedBy:pe,effected:$e},je=Fn({afterDragging:Ze,destination:re,displacedBy:pe,last:null,viewport:ve.frame,forceShouldAnimate:!1}),Ve={displaced:je,displacedBy:pe,at:{type:"REORDER",destination:cs(ne.descriptor)}};return{impact:Ve,afterCritical:Xe}},bu=function(ee,ne){return{draggables:ee.draggables,droppables:ku(ee.droppables,ne)}},Un=function(ne){},Xl=function(ne){},gs=function(ee){var ne=ee.draggable,re=ee.offset,de=ee.initialWindowScroll,ve=Ht(ne.client,re),pe=Zn(ve,de),ye=(0,Ae.Z)({},ne,{placeholder:(0,Ae.Z)({},ne.placeholder,{client:ve}),client:ve,page:pe});return ye},Os=function(ee){var ne=ee.frame;return ne||zt(!1),ne},ms=function(ee){var ne=ee.additions,re=ee.updatedDroppables,de=ee.viewport,ve=de.scroll.diff.value;return ne.map(function(pe){var ye=pe.descriptor.droppableId,be=re[ye],Ze=Os(be),$e=Ze.scroll.diff.value,Xe=ua(ve,$e),je=gs({draggable:pe,offset:Xe,initialWindowScroll:de.scroll.initial});return je})},Ju=function(ee){var ne=ee.state,re=ee.published;Un();var de=re.modified.map(function(Qa){var rr=ne.dimensions.droppables[Qa.droppableId],to=Br(rr,Qa.scroll);return to}),ve=(0,Ae.Z)({},ne.dimensions.droppables,{},zr(de)),pe=fo(ms({additions:re.additions,updatedDroppables:ve,viewport:ne.viewport})),ye=(0,Ae.Z)({},ne.dimensions.draggables,{},pe);re.removals.forEach(function(Qa){delete ye[Qa]});var be={droppables:ve,draggables:ye},Ze=yi(ne.impact),$e=Ze?be.droppables[Ze]:null,Xe=be.draggables[ne.critical.draggable.id],je=be.droppables[ne.critical.droppable.id],Ve=_u({draggable:Xe,home:je,draggables:ye,viewport:ne.viewport}),lt=Ve.impact,Tt=Ve.afterCritical,Xn=$e&&$e.isCombineEnabled?ne.impact:lt,la=Ru({pageOffset:ne.current.page.offset,draggable:be.draggables[ne.critical.draggable.id],draggables:be.draggables,droppables:be.droppables,previousImpact:Xn,viewport:ne.viewport,afterCritical:Tt});Xl();var fa=(0,Ae.Z)({phase:"DRAGGING"},ne,{phase:"DRAGGING",impact:la,onLiftImpact:lt,dimensions:be,afterCritical:Tt,forceShouldAnimate:!1});if(ne.phase==="COLLECTING")return fa;var ka=(0,Ae.Z)({phase:"DROP_PENDING"},fa,{phase:"DROP_PENDING",reason:ne.reason,isWaiting:!1});return ka},ql=function(ne){return ne.movementMode==="SNAP"},di=function(ne,re,de){var ve=bu(ne.dimensions,re);return!ql(ne)||de?gl({state:ne,dimensions:ve}):Fa({state:ne,dimensions:ve})};function Tu(ee){return ee.isDragging&&ee.movementMode==="SNAP"?(0,Ae.Z)({phase:"DRAGGING"},ee,{scrollJumpRequest:null}):ee}var Xu={phase:"IDLE",completed:null,shouldFlush:!1},fs=function(ee,ne){if(ee===void 0&&(ee=Xu),ne.type==="FLUSH")return(0,Ae.Z)({},Xu,{shouldFlush:!0});if(ne.type==="INITIAL_PUBLISH"){ee.phase!=="IDLE"&&zt(!1);var re=ne.payload,de=re.critical,ve=re.clientSelection,pe=re.viewport,ye=re.dimensions,be=re.movementMode,Ze=ye.draggables[de.draggable.id],$e=ye.droppables[de.droppable.id],Xe={selection:ve,borderBoxCenter:Ze.client.borderBox.center,offset:Xa},je={client:Xe,page:{selection:ua(Xe.selection,pe.scroll.initial),borderBoxCenter:ua(Xe.selection,pe.scroll.initial),offset:ua(Xe.selection,pe.scroll.diff.value)}},Ve=Qr(ye.droppables).every(function(Ls){return!Ls.isFixedOnPage}),lt=_u({draggable:Ze,home:$e,draggables:ye.draggables,viewport:pe}),Tt=lt.impact,Xn=lt.afterCritical,la={phase:"DRAGGING",isDragging:!0,critical:de,movementMode:be,dimensions:ye,initial:je,current:je,isWindowScrollAllowed:Ve,impact:Tt,afterCritical:Xn,onLiftImpact:Tt,viewport:pe,scrollJumpRequest:null,forceShouldAnimate:null};return la}if(ne.type==="COLLECTION_STARTING"){if(ee.phase==="COLLECTING"||ee.phase==="DROP_PENDING")return ee;ee.phase!=="DRAGGING"&&zt(!1);var fa=(0,Ae.Z)({phase:"COLLECTING"},ee,{phase:"COLLECTING"});return fa}if(ne.type==="PUBLISH_WHILE_DRAGGING")return ee.phase==="COLLECTING"||ee.phase==="DROP_PENDING"||zt(!1),Ju({state:ee,published:ne.payload});if(ne.type==="MOVE"){if(ee.phase==="DROP_PENDING")return ee;lu(ee)||zt(!1);var ka=ne.payload.client;return Oa(ka,ee.current.client.selection)?ee:gl({state:ee,clientSelection:ka,impact:ql(ee)?ee.impact:null})}if(ne.type==="UPDATE_DROPPABLE_SCROLL"){if(ee.phase==="DROP_PENDING"||ee.phase==="COLLECTING")return Tu(ee);lu(ee)||zt(!1);var Qa=ne.payload,rr=Qa.id,to=Qa.newScroll,Ur=ee.dimensions.droppables[rr];if(!Ur)return ee;var Po=Br(Ur,to);return di(ee,Po,!1)}if(ne.type==="UPDATE_DROPPABLE_IS_ENABLED"){if(ee.phase==="DROP_PENDING")return ee;lu(ee)||zt(!1);var xi=ne.payload,Bo=xi.id,Di=xi.isEnabled,ul=ee.dimensions.droppables[Bo];ul||zt(!1),ul.isEnabled===Di&&zt(!1);var hl=(0,Ae.Z)({},ul,{isEnabled:Di});return di(ee,hl,!0)}if(ne.type==="UPDATE_DROPPABLE_IS_COMBINE_ENABLED"){if(ee.phase==="DROP_PENDING")return ee;lu(ee)||zt(!1);var vu=ne.payload,cu=vu.id,Yl=vu.isCombineEnabled,pu=ee.dimensions.droppables[cu];pu||zt(!1),pu.isCombineEnabled===Yl&&zt(!1);var Sl=(0,Ae.Z)({},pu,{isCombineEnabled:Yl});return di(ee,Sl,!0)}if(ne.type==="MOVE_BY_WINDOW_SCROLL"){if(ee.phase==="DROP_PENDING"||ee.phase==="DROP_ANIMATING")return ee;lu(ee)||zt(!1),ee.isWindowScrollAllowed||zt(!1);var xu=ne.payload.newScroll;if(Oa(ee.viewport.scroll.current,xu))return Tu(ee);var hu=ou(ee.viewport,xu);return ql(ee)?Fa({state:ee,viewport:hu}):gl({state:ee,viewport:hu})}if(ne.type==="UPDATE_VIEWPORT_MAX_SCROLL"){if(!lu(ee))return ee;var Ps=ne.payload.maxScroll;if(Oa(Ps,ee.viewport.scroll.max))return ee;var ju=(0,Ae.Z)({},ee.viewport,{scroll:(0,Ae.Z)({},ee.viewport.scroll,{max:Ps})});return(0,Ae.Z)({phase:"DRAGGING"},ee,{viewport:ju})}if(ne.type==="MOVE_UP"||ne.type==="MOVE_DOWN"||ne.type==="MOVE_LEFT"||ne.type==="MOVE_RIGHT"){if(ee.phase==="COLLECTING"||ee.phase==="DROP_PENDING")return ee;ee.phase!=="DRAGGING"&&zt(!1);var Du=os({state:ee,type:ne.type});return Du?gl({state:ee,impact:Du.impact,clientSelection:Du.clientSelection,scrollJumpRequest:Du.scrollJumpRequest}):ee}if(ne.type==="DROP_PENDING"){var Su=ne.payload.reason;ee.phase!=="COLLECTING"&&zt(!1);var Hu=(0,Ae.Z)({phase:"DROP_PENDING"},ee,{phase:"DROP_PENDING",isWaiting:!0,reason:Su});return Hu}if(ne.type==="DROP_ANIMATE"){var xs=ne.payload,Eu=xs.completed,ys=xs.dropDuration,Ds=xs.newHomeClientOffset;ee.phase==="DRAGGING"||ee.phase==="DROP_PENDING"||zt(!1);var ns={phase:"DROP_ANIMATING",completed:Eu,dropDuration:ys,newHomeClientOffset:Ds,dimensions:ee.dimensions};return ns}if(ne.type==="DROP_COMPLETE"){var ws=ne.payload.completed;return{phase:"IDLE",completed:ws,shouldFlush:!1}}return ee},ce=function(ne){return{type:"BEFORE_INITIAL_CAPTURE",payload:ne}},ge=function(ne){return{type:"LIFT",payload:ne}},fe=function(ne){return{type:"INITIAL_PUBLISH",payload:ne}},Ie=function(ne){return{type:"PUBLISH_WHILE_DRAGGING",payload:ne}},Oe=function(){return{type:"COLLECTION_STARTING",payload:null}},dt=function(ne){return{type:"UPDATE_DROPPABLE_SCROLL",payload:ne}},rt=function(ne){return{type:"UPDATE_DROPPABLE_IS_ENABLED",payload:ne}},Nt=function(ne){return{type:"UPDATE_DROPPABLE_IS_COMBINE_ENABLED",payload:ne}},wt=function(ne){return{type:"MOVE",payload:ne}},It=function(ne){return{type:"MOVE_BY_WINDOW_SCROLL",payload:ne}},Gn=function(ne){return{type:"UPDATE_VIEWPORT_MAX_SCROLL",payload:ne}},rn=function(){return{type:"MOVE_UP",payload:null}},dn=function(){return{type:"MOVE_DOWN",payload:null}},Nn=function(){return{type:"MOVE_RIGHT",payload:null}},In=function(){return{type:"MOVE_LEFT",payload:null}},Dt=function(){return{type:"FLUSH",payload:null}},Vt=function(ne){return{type:"DROP_ANIMATE",payload:ne}},On=function(ne){return{type:"DROP_COMPLETE",payload:ne}},on=function(ne){return{type:"DROP",payload:ne}},sa=function(ne){return{type:"DROP_PENDING",payload:ne}},Ca=function(){return{type:"DROP_ANIMATION_FINISHED",payload:null}};function Ra(ee){if(!(ee.length<=1)){for(var ne=ee.map(function(be){return be.descriptor.index}),re={},de=1;de<ne.length;de++){var ve=ne[de],pe=ne[de-1];ve!==pe+1&&(re[ve]=!0)}if(Object.keys(re).length)var ye=ne.map(function(be){var Ze=!!re[be];return Ze?"[\u{1F525}"+be+"]":""+be}).join(", ")}}function Ba(ee,ne){if(0)var re}var ga=function(ee){return function(ne){var re=ne.getState,de=ne.dispatch;return function(ve){return function(pe){if(pe.type!=="LIFT"){ve(pe);return}var ye=pe.payload,be=ye.id,Ze=ye.clientSelection,$e=ye.movementMode,Xe=re();Xe.phase==="DROP_ANIMATING"&&de(On({completed:Xe.completed})),re().phase!=="IDLE"&&zt(!1),de(Dt()),de(ce({draggableId:be,movementMode:$e}));var je={shouldPublishImmediately:$e==="SNAP"},Ve={draggableId:be,scrollOptions:je},lt=ee.startPublishing(Ve),Tt=lt.critical,Xn=lt.dimensions,la=lt.viewport;Ba(Tt,Xn),de(fe({critical:Tt,dimensions:Xn,clientSelection:Ze,movementMode:$e,viewport:la}))}}}},Rr=function(ee){return function(){return function(ne){return function(re){re.type==="INITIAL_PUBLISH"&&ee.dragging(),re.type==="DROP_ANIMATE"&&ee.dropping(re.payload.completed.result.reason),(re.type==="FLUSH"||re.type==="DROP_COMPLETE")&&ee.resting(),ne(re)}}}},ur={outOfTheWay:"cubic-bezier(0.2, 0, 0, 1)",drop:"cubic-bezier(.2,1,.1,1)"},Lr={opacity:{drop:0,combining:.7},scale:{drop:.75}},$r={outOfTheWay:.2,minDropTime:.33,maxDropTime:.55},io=$r.outOfTheWay+"s "+ur.outOfTheWay,Mn={fluid:"opacity "+io,snap:"transform "+io+", opacity "+io,drop:function(ne){var re=ne+"s "+ur.drop;return"transform "+re+", opacity "+re},outOfTheWay:"transform "+io,placeholder:"height "+io+", width "+io+", margin "+io},Yo=function(ne){return Oa(ne,Xa)?null:"translate("+ne.x+"px, "+ne.y+"px)"},mo={moveTo:Yo,drop:function(ne,re){var de=Yo(ne);return de?re?de+" scale("+Lr.scale.drop+")":de:null}},Yr=$r.minDropTime,eo=$r.maxDropTime,yo=eo-Yr,xo=1500,so=.6,Sr=function(ee){var ne=ee.current,re=ee.destination,de=ee.reason,ve=Aa(ne,re);if(ve<=0)return Yr;if(ve>=xo)return eo;var pe=ve/xo,ye=Yr+yo*pe,be=de==="CANCEL"?ye*so:ye;return Number(be.toFixed(2))},To=function(ee){var ne=ee.impact,re=ee.draggable,de=ee.dimensions,ve=ee.viewport,pe=ee.afterCritical,ye=de.draggables,be=de.droppables,Ze=yi(ne),$e=Ze?be[Ze]:null,Xe=be[re.descriptor.droppableId],je=Ku({impact:ne,draggable:re,draggables:ye,afterCritical:pe,droppable:$e||Xe,viewport:ve}),Ve=tr(je,re.client.borderBox.center);return Ve},Mo=function(ee){var ne=ee.draggables,re=ee.reason,de=ee.lastImpact,ve=ee.home,pe=ee.viewport,ye=ee.onLiftImpact;if(!de.at||re!=="DROP"){var be=Yu({draggables:ne,impact:ye,destination:ve,viewport:pe,forceShouldAnimate:!0});return{impact:be,didDropInsideDroppable:!1}}if(de.at.type==="REORDER")return{impact:de,didDropInsideDroppable:!0};var Ze=(0,Ae.Z)({},de,{displaced:wi});return{impact:Ze,didDropInsideDroppable:!0}},bi=function(ee){var ne=ee.getState,re=ee.dispatch;return function(de){return function(ve){if(ve.type!=="DROP"){de(ve);return}var pe=ne(),ye=ve.payload.reason;if(pe.phase==="COLLECTING"){re(sa({reason:ye}));return}if(pe.phase!=="IDLE"){var be=pe.phase==="DROP_PENDING"&&pe.isWaiting;be&&zt(!1),pe.phase==="DRAGGING"||pe.phase==="DROP_PENDING"||zt(!1);var Ze=pe.critical,$e=pe.dimensions,Xe=$e.draggables[pe.critical.draggable.id],je=Mo({reason:ye,lastImpact:pe.impact,afterCritical:pe.afterCritical,onLiftImpact:pe.onLiftImpact,home:pe.dimensions.droppables[pe.critical.droppable.id],viewport:pe.viewport,draggables:pe.dimensions.draggables}),Ve=je.impact,lt=je.didDropInsideDroppable,Tt=lt?ai(Ve):null,Xn=lt?oi(Ve):null,la={index:Ze.draggable.index,droppableId:Ze.droppable.id},fa={draggableId:Xe.descriptor.id,type:Xe.descriptor.type,source:la,reason:ye,mode:pe.movementMode,destination:Tt,combine:Xn},ka=To({impact:Ve,draggable:Xe,dimensions:$e,viewport:pe.viewport,afterCritical:pe.afterCritical}),Qa={critical:pe.critical,afterCritical:pe.afterCritical,result:fa,impact:Ve},rr=!Oa(pe.current.client.offset,ka)||!!fa.combine;if(!rr){re(On({completed:Qa}));return}var to=Sr({current:pe.current.client.offset,destination:ka,reason:ye}),Ur={newHomeClientOffset:ka,dropDuration:to,completed:Qa};re(Vt(Ur))}}}},Xo=function(){return{x:window.pageXOffset,y:window.pageYOffset}};function Fi(ee){return{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(re){re.target!==window&&re.target!==window.document||ee()}}}function Kr(ee){var ne=ee.onWindowScroll;function re(){ne(Xo())}var de=Kt(re),ve=Fi(de),pe=Tn;function ye(){return pe!==Tn}function be(){ye()&&zt(!1),pe=La(window,[ve])}function Ze(){ye()||zt(!1),de.cancel(),pe(),pe=Tn}return{start:be,stop:Ze,isActive:ye}}var li=function(ne){return ne.type==="DROP_COMPLETE"||ne.type==="DROP_ANIMATE"||ne.type==="FLUSH"},Si=function(ee){var ne=Kr({onWindowScroll:function(de){ee.dispatch(It({newScroll:de}))}});return function(re){return function(de){!ne.isActive()&&de.type==="INITIAL_PUBLISH"&&ne.start(),ne.isActive()&&li(de)&&ne.stop(),re(de)}}},ki=function(ee){var ne=!1,re=!1,de=setTimeout(function(){re=!0}),ve=function(ye){ne||re||(ne=!0,ee(ye),clearTimeout(de))};return ve.wasCalled=function(){return ne},ve},mi=function(){var ee=[],ne=function(pe){var ye=Zr(ee,function($e){return $e.timerId===pe});ye===-1&&zt(!1);var be=ee.splice(ye,1),Ze=be[0];Ze.callback()},re=function(pe){var ye=setTimeout(function(){return ne(ye)}),be={timerId:ye,callback:pe};ee.push(be)},de=function(){if(ee.length){var pe=[].concat(ee);ee.length=0,pe.forEach(function(ye){clearTimeout(ye.timerId),ye.callback()})}};return{add:re,flush:de}},Ji=function(ne,re){return ne==null&&re==null?!0:ne==null||re==null?!1:ne.droppableId===re.droppableId&&ne.index===re.index},ml=function(ne,re){return ne==null&&re==null?!0:ne==null||re==null?!1:ne.draggableId===re.draggableId&&ne.droppableId===re.droppableId},Vr=function(ne,re){if(ne===re)return!0;var de=ne.draggable.id===re.draggable.id&&ne.draggable.droppableId===re.draggable.droppableId&&ne.draggable.type===re.draggable.type&&ne.draggable.index===re.draggable.index,ve=ne.droppable.id===re.droppable.id&&ne.droppable.type===re.droppable.type;return de&&ve},vo=function(ne,re){Un(),re(),Xl()},bo=function(ne,re){return{draggableId:ne.draggable.id,type:ne.droppable.type,source:{droppableId:ne.droppable.id,index:ne.draggable.index},mode:re}},fi=function(ne,re,de,ve){if(!ne){de(ve(re));return}var pe=ki(de),ye={announce:pe};ne(re,ye),pe.wasCalled()||de(ve(re))},_i=function(ee,ne){var re=mi(),de=null,ve=function(Ve,lt){de&&zt(!1),vo("onBeforeCapture",function(){var Tt=ee().onBeforeCapture;if(Tt){var Xn={draggableId:Ve,mode:lt};Tt(Xn)}})},pe=function(Ve,lt){de&&zt(!1),vo("onBeforeDragStart",function(){var Tt=ee().onBeforeDragStart;Tt&&Tt(bo(Ve,lt))})},ye=function(Ve,lt){de&&zt(!1);var Tt=bo(Ve,lt);de={mode:lt,lastCritical:Ve,lastLocation:Tt.source,lastCombine:null},re.add(function(){vo("onDragStart",function(){return fi(ee().onDragStart,Tt,ne,$t.onDragStart)})})},be=function(Ve,lt){var Tt=ai(lt),Xn=oi(lt);de||zt(!1);var la=!Vr(Ve,de.lastCritical);la&&(de.lastCritical=Ve);var fa=!Ji(de.lastLocation,Tt);fa&&(de.lastLocation=Tt);var ka=!ml(de.lastCombine,Xn);if(ka&&(de.lastCombine=Xn),!(!la&&!fa&&!ka)){var Qa=(0,Ae.Z)({},bo(Ve,de.mode),{combine:Xn,destination:Tt});re.add(function(){vo("onDragUpdate",function(){return fi(ee().onDragUpdate,Qa,ne,$t.onDragUpdate)})})}},Ze=function(){de||zt(!1),re.flush()},$e=function(Ve){de||zt(!1),de=null,vo("onDragEnd",function(){return fi(ee().onDragEnd,Ve,ne,$t.onDragEnd)})},Xe=function(){if(de){var Ve=(0,Ae.Z)({},bo(de.lastCritical,de.mode),{combine:null,destination:null,reason:"CANCEL"});$e(Ve)}};return{beforeCapture:ve,beforeStart:pe,start:ye,update:be,flush:Ze,drop:$e,abort:Xe}},ei=function(ee,ne){var re=_i(ee,ne);return function(de){return function(ve){return function(pe){if(pe.type==="BEFORE_INITIAL_CAPTURE"){re.beforeCapture(pe.payload.draggableId,pe.payload.movementMode);return}if(pe.type==="INITIAL_PUBLISH"){var ye=pe.payload.critical;re.beforeStart(ye,pe.payload.movementMode),ve(pe),re.start(ye,pe.payload.movementMode);return}if(pe.type==="DROP_COMPLETE"){var be=pe.payload.completed.result;re.flush(),ve(pe),re.drop(be);return}if(ve(pe),pe.type==="FLUSH"){re.abort();return}var Ze=de.getState();Ze.phase==="DRAGGING"&&re.update(Ze.critical,Ze.impact)}}}},Ei=function(ee){return function(ne){return function(re){if(re.type!=="DROP_ANIMATION_FINISHED"){ne(re);return}var de=ee.getState();de.phase!=="DROP_ANIMATING"&&zt(!1),ee.dispatch(On({completed:de.completed}))}}},Al=function(ee){var ne=null,re=null;function de(){re&&(cancelAnimationFrame(re),re=null),ne&&(ne(),ne=null)}return function(ve){return function(pe){if((pe.type==="FLUSH"||pe.type==="DROP_COMPLETE"||pe.type==="DROP_ANIMATION_FINISHED")&&de(),ve(pe),pe.type==="DROP_ANIMATE"){var ye={eventName:"scroll",options:{capture:!0,passive:!1,once:!0},fn:function(){var Ze=ee.getState();Ze.phase==="DROP_ANIMATING"&&ee.dispatch(Ca())}};re=requestAnimationFrame(function(){re=null,ne=La(window,[ye])})}}}},Hi=function(ee){return function(){return function(ne){return function(re){(re.type==="DROP_COMPLETE"||re.type==="FLUSH"||re.type==="DROP_ANIMATE")&&ee.stopPublishing(),ne(re)}}}},zi=function(ee){var ne=!1;return function(){return function(re){return function(de){if(de.type==="INITIAL_PUBLISH"){ne=!0,ee.tryRecordFocus(de.payload.critical.draggable.id),re(de),ee.tryRestoreFocusRecorded();return}if(re(de),!!ne){if(de.type==="FLUSH"){ne=!1,ee.tryRestoreFocusRecorded();return}if(de.type==="DROP_COMPLETE"){ne=!1;var ve=de.payload.completed.result;ve.combine&&ee.tryShiftRecord(ve.draggableId,ve.combine.draggableId),ee.tryRestoreFocusRecorded()}}}}}},$l=function(ne){return ne.type==="DROP_COMPLETE"||ne.type==="DROP_ANIMATE"||ne.type==="FLUSH"},uu=function(ee){return function(ne){return function(re){return function(de){if($l(de)){ee.stop(),re(de);return}if(de.type==="INITIAL_PUBLISH"){re(de);var ve=ne.getState();ve.phase!=="DRAGGING"&&zt(!1),ee.start(ve);return}re(de),ee.scroll(ne.getState())}}}},An=function(ee){return function(ne){return function(re){if(ne(re),re.type==="PUBLISH_WHILE_DRAGGING"){var de=ee.getState();de.phase==="DROP_PENDING"&&(de.isWaiting||ee.dispatch(on({reason:de.reason})))}}}},Ti=ke.qC,El=function(ee){var ne=ee.dimensionMarshal,re=ee.focusMarshal,de=ee.styleMarshal,ve=ee.getResponders,pe=ee.announce,ye=ee.autoScroller;return(0,ke.MT)(fs,Ti((0,ke.md)(Rr(de),Hi(ne),ga(ne),bi,Ei,Al,An,uu(ye),Si,zi(re),ei(ve,pe))))},Vi=function(){return{additions:{},removals:{},modified:{}}};function eu(ee){var ne=ee.registry,re=ee.callbacks,de=Vi(),ve=null,pe=function(){ve||(re.collectionStarting(),ve=requestAnimationFrame(function(){ve=null,Un();var Xe=de,je=Xe.additions,Ve=Xe.removals,lt=Xe.modified,Tt=Object.keys(je).map(function(fa){return ne.draggable.getById(fa).getDimension(Xa)}).sort(function(fa,ka){return fa.descriptor.index-ka.descriptor.index}),Xn=Object.keys(lt).map(function(fa){var ka=ne.droppable.getById(fa),Qa=ka.callbacks.getScrollWhileDragging();return{droppableId:fa,scroll:Qa}}),la={additions:Tt,removals:Object.keys(Ve),modified:Xn};de=Vi(),Xl(),re.publish(la)}))},ye=function(Xe){var je=Xe.descriptor.id;de.additions[je]=Xe,de.modified[Xe.descriptor.droppableId]=!0,de.removals[je]&&delete de.removals[je],pe()},be=function(Xe){var je=Xe.descriptor;de.removals[je.id]=!0,de.modified[je.droppableId]=!0,de.additions[je.id]&&delete de.additions[je.id],pe()},Ze=function(){ve&&(cancelAnimationFrame(ve),ve=null,de=Vi())};return{add:ye,remove:be,stop:Ze}}var Rl=function(ee){var ne=ee.scrollHeight,re=ee.scrollWidth,de=ee.height,ve=ee.width,pe=tr({x:re,y:ne},{x:ve,y:de}),ye={x:Math.max(0,pe.x),y:Math.max(0,pe.y)};return ye},al=function(){var ee=document.documentElement;return ee||zt(!1),ee},qo=function(){var ee=al(),ne=Rl({scrollHeight:ee.scrollHeight,scrollWidth:ee.scrollWidth,width:ee.clientWidth,height:ee.clientHeight});return ne},zo=function(){var ee=Xo(),ne=qo(),re=ee.y,de=ee.x,ve=al(),pe=ve.clientWidth,ye=ve.clientHeight,be=de+pe,Ze=re+ye,$e=pa({top:re,left:de,right:be,bottom:Ze}),Xe={frame:$e,scroll:{initial:ee,current:ee,max:ne,diff:{value:Xa,displacement:Xa}}};return Xe},Wi=function(ee){var ne=ee.critical,re=ee.scrollOptions,de=ee.registry;Un();var ve=zo(),pe=ve.scroll.current,ye=ne.droppable,be=de.droppable.getAllByType(ye.type).map(function(je){return je.callbacks.getDimensionAndWatchScroll(pe,re)}),Ze=de.draggable.getAllByType(ne.draggable.type).map(function(je){return je.getDimension(pe)}),$e={draggables:fo(Ze),droppables:zr(be)};Xl();var Xe={dimensions:$e,critical:ne,viewport:ve};return Xe};function Fo(ee,ne,re){if(re.descriptor.id===ne.id||re.descriptor.type!==ne.type)return!1;var de=ee.droppable.getById(re.descriptor.droppableId);return de.descriptor.mode==="virtual"}var rl=function(ee,ne){var re=null,de=eu({callbacks:{publish:ne.publishWhileDragging,collectionStarting:ne.collectionStarting},registry:ee}),ve=function(lt,Tt){ee.droppable.exists(lt)||zt(!1),re&&ne.updateDroppableIsEnabled({id:lt,isEnabled:Tt})},pe=function(lt,Tt){re&&(ee.droppable.exists(lt)||zt(!1),ne.updateDroppableIsCombineEnabled({id:lt,isCombineEnabled:Tt}))},ye=function(lt,Tt){re&&(ee.droppable.exists(lt)||zt(!1),ne.updateDroppableScroll({id:lt,newScroll:Tt}))},be=function(lt,Tt){re&&ee.droppable.getById(lt).callbacks.scroll(Tt)},Ze=function(){if(re){de.stop();var lt=re.critical.droppable;ee.droppable.getAllByType(lt.type).forEach(function(Tt){return Tt.callbacks.dragStopped()}),re.unsubscribe(),re=null}},$e=function(lt){re||zt(!1);var Tt=re.critical.draggable;lt.type==="ADDITION"&&Fo(ee,Tt,lt.value)&&de.add(lt.value),lt.type==="REMOVAL"&&Fo(ee,Tt,lt.value)&&de.remove(lt.value)},Xe=function(lt){re&&zt(!1);var Tt=ee.draggable.getById(lt.draggableId),Xn=ee.droppable.getById(Tt.descriptor.droppableId),la={draggable:Tt.descriptor,droppable:Xn.descriptor},fa=ee.subscribe($e);return re={critical:la,unsubscribe:fa},Wi({critical:la,registry:ee,scrollOptions:lt.scrollOptions})},je={updateDroppableIsEnabled:ve,updateDroppableIsCombineEnabled:pe,scrollDroppable:be,updateDroppableScroll:ye,startPublishing:Xe,stopPublishing:Ze};return je},Ci=function(ee,ne){return ee.phase==="IDLE"?!0:ee.phase!=="DROP_ANIMATING"||ee.completed.result.draggableId===ne?!1:ee.completed.result.reason==="DROP"},xl=function(ee){window.scrollBy(ee.x,ee.y)},vi=St(function(ee){return Qr(ee).filter(function(ne){return!(!ne.isEnabled||!ne.frame)})}),Zi=function(ne,re){var de=Hr(vi(re),function(ve){return ve.frame||zt(!1),Jl(ve.frame.pageMarginBox)(ne)});return de},Hl=function(ee){var ne=ee.center,re=ee.destination,de=ee.droppables;if(re){var ve=de[re];return ve.frame?ve:null}var pe=Zi(ne,de);return pe},jo={startFromPercentage:.25,maxScrollAtPercentage:.05,maxPixelScroll:28,ease:function(ne){return Math.pow(ne,2)},durationDampening:{stopDampeningAt:1200,accelerateAt:360}},Xi=function(ee,ne){var re=ee[ne.size]*jo.startFromPercentage,de=ee[ne.size]*jo.maxScrollAtPercentage,ve={startScrollingFrom:re,maxScrollValueAt:de};return ve},Dl=function(ee){var ne=ee.startOfRange,re=ee.endOfRange,de=ee.current,ve=re-ne;if(ve===0)return 0;var pe=de-ne,ye=pe/ve;return ye},ta=1,kl=function(ee,ne){if(ee>ne.startScrollingFrom)return 0;if(ee<=ne.maxScrollValueAt)return jo.maxPixelScroll;if(ee===ne.startScrollingFrom)return ta;var re=Dl({startOfRange:ne.maxScrollValueAt,endOfRange:ne.startScrollingFrom,current:ee}),de=1-re,ve=jo.maxPixelScroll*jo.ease(de);return Math.ceil(ve)},fl=jo.durationDampening.accelerateAt,vl=jo.durationDampening.stopDampeningAt,_l=function(ee,ne){var re=ne,de=vl,ve=Date.now(),pe=ve-re;if(pe>=vl)return ee;if(pe<fl)return ta;var ye=Dl({startOfRange:fl,endOfRange:de,current:pe}),be=ee*jo.ease(ye);return Math.ceil(be)},wl=function(ee){var ne=ee.distanceToEdge,re=ee.thresholds,de=ee.dragStartTime,ve=ee.shouldUseTimeDampening,pe=kl(ne,re);return pe===0?0:ve?Math.max(_l(pe,de),ta):pe},tu=function(ee){var ne=ee.container,re=ee.distanceToEdges,de=ee.dragStartTime,ve=ee.axis,pe=ee.shouldUseTimeDampening,ye=Xi(ne,ve),be=re[ve.end]<re[ve.start];return be?wl({distanceToEdge:re[ve.end],thresholds:ye,dragStartTime:de,shouldUseTimeDampening:pe}):-1*wl({distanceToEdge:re[ve.start],thresholds:ye,dragStartTime:de,shouldUseTimeDampening:pe})},zl=function(ee){var ne=ee.container,re=ee.subject,de=ee.proposedScroll,ve=re.height>ne.height,pe=re.width>ne.width;return!pe&&!ve?de:pe&&ve?null:{x:pe?0:de.x,y:ve?0:de.y}},mr=qa(function(ee){return ee===0?0:ee}),Na=function(ee){var ne=ee.dragStartTime,re=ee.container,de=ee.subject,ve=ee.center,pe=ee.shouldUseTimeDampening,ye={top:ve.y-re.top,right:re.right-ve.x,bottom:re.bottom-ve.y,left:ve.x-re.left},be=tu({container:re,distanceToEdges:ye,dragStartTime:ne,axis:Ri,shouldUseTimeDampening:pe}),Ze=tu({container:re,distanceToEdges:ye,dragStartTime:ne,axis:ji,shouldUseTimeDampening:pe}),$e=mr({x:Ze,y:be});if(Oa($e,Xa))return null;var Xe=zl({container:re,subject:de,proposedScroll:$e});return Xe?Oa(Xe,Xa)?null:Xe:null},Jr=qa(function(ee){return ee===0?0:ee>0?1:-1}),Zo=function(){var ee=function(re,de){return re<0?re:re>de?re-de:0};return function(ne){var re=ne.current,de=ne.max,ve=ne.change,pe=ua(re,ve),ye={x:ee(pe.x,de.x),y:ee(pe.y,de.y)};return Oa(ye,Xa)?null:ye}}(),pl=function(ne){var re=ne.max,de=ne.current,ve=ne.change,pe={x:Math.max(de.x,re.x),y:Math.max(de.y,re.y)},ye=Jr(ve),be=Zo({max:pe,current:de,change:ye});return!be||ye.x!==0&&be.x===0||ye.y!==0&&be.y===0},gu=function(ne,re){return pl({current:ne.scroll.current,max:ne.scroll.max,change:re})},ue=function(ne,re){if(!gu(ne,re))return null;var de=ne.scroll.max,ve=ne.scroll.current;return Zo({current:ve,max:de,change:re})},Ee=function(ne,re){var de=ne.frame;return de?pl({current:de.scroll.current,max:de.scroll.max,change:re}):!1},Pe=function(ne,re){var de=ne.frame;return!de||!Ee(ne,re)?null:Zo({current:de.scroll.current,max:de.scroll.max,change:re})},it=function(ee){var ne=ee.viewport,re=ee.subject,de=ee.center,ve=ee.dragStartTime,pe=ee.shouldUseTimeDampening,ye=Na({dragStartTime:ve,container:ne.frame,subject:re,center:de,shouldUseTimeDampening:pe});return ye&&gu(ne,ye)?ye:null},ft=function(ee){var ne=ee.droppable,re=ee.subject,de=ee.center,ve=ee.dragStartTime,pe=ee.shouldUseTimeDampening,ye=ne.frame;if(!ye)return null;var be=Na({dragStartTime:ve,container:ye.pageMarginBox,subject:re,center:de,shouldUseTimeDampening:pe});return be&&Ee(ne,be)?be:null},Rn=function(ee){var ne=ee.state,re=ee.dragStartTime,de=ee.shouldUseTimeDampening,ve=ee.scrollWindow,pe=ee.scrollDroppable,ye=ne.current.page.borderBoxCenter,be=ne.dimensions.draggables[ne.critical.draggable.id],Ze=be.page.marginBox;if(ne.isWindowScrollAllowed){var $e=ne.viewport,Xe=it({dragStartTime:re,viewport:$e,subject:Ze,center:ye,shouldUseTimeDampening:de});if(Xe){ve(Xe);return}}var je=Hl({center:ye,destination:yi(ne.impact),droppables:ne.dimensions.droppables});if(je){var Ve=ft({dragStartTime:re,droppable:je,subject:Ze,center:ye,shouldUseTimeDampening:de});Ve&&pe(je.descriptor.id,Ve)}},vn=function(ee){var ne=ee.scrollWindow,re=ee.scrollDroppable,de=Kt(ne),ve=Kt(re),pe=null,ye=function(Xe){pe||zt(!1);var je=pe,Ve=je.shouldUseTimeDampening,lt=je.dragStartTime;Rn({state:Xe,scrollWindow:de,scrollDroppable:ve,dragStartTime:lt,shouldUseTimeDampening:Ve})},be=function(Xe){Un(),pe&&zt(!1);var je=Date.now(),Ve=!1,lt=function(){Ve=!0};Rn({state:Xe,dragStartTime:0,shouldUseTimeDampening:!1,scrollWindow:lt,scrollDroppable:lt}),pe={dragStartTime:je,shouldUseTimeDampening:Ve},Xl(),Ve&&ye(Xe)},Ze=function(){pe&&(de.cancel(),ve.cancel(),pe=null)};return{start:be,stop:Ze,scroll:ye}},Yt=function(ee){var ne=ee.move,re=ee.scrollDroppable,de=ee.scrollWindow,ve=function($e,Xe){var je=ua($e.current.client.selection,Xe);ne({client:je})},pe=function($e,Xe){if(!Ee($e,Xe))return Xe;var je=Pe($e,Xe);if(!je)return re($e.descriptor.id,Xe),null;var Ve=tr(Xe,je);re($e.descriptor.id,Ve);var lt=tr(Xe,Ve);return lt},ye=function($e,Xe,je){if(!$e||!gu(Xe,je))return je;var Ve=ue(Xe,je);if(!Ve)return de(je),null;var lt=tr(je,Ve);de(lt);var Tt=tr(je,lt);return Tt},be=function($e){var Xe=$e.scrollJumpRequest;if(Xe){var je=yi($e.impact);je||zt(!1);var Ve=pe($e.dimensions.droppables[je],Xe);if(Ve){var lt=$e.viewport,Tt=ye($e.isWindowScrollAllowed,lt,Ve);Tt&&ve($e,Tt)}}};return be},vt=function(ee){var ne=ee.scrollDroppable,re=ee.scrollWindow,de=ee.move,ve=vn({scrollWindow:re,scrollDroppable:ne}),pe=Yt({move:de,scrollWindow:re,scrollDroppable:ne}),ye=function($e){if($e.phase==="DRAGGING"){if($e.movementMode==="FLUID"){ve.scroll($e);return}$e.scrollJumpRequest&&pe($e)}},be={scroll:ye,start:ve.start,stop:ve.stop};return be},qt="data-rbd",Bn=function(){var ee=qt+"-drag-handle";return{base:ee,draggableId:ee+"-draggable-id",contextId:ee+"-context-id"}}(),qe=function(){var ee=qt+"-draggable";return{base:ee,contextId:ee+"-context-id",id:ee+"-id"}}(),Ct=function(){var ee=qt+"-droppable";return{base:ee,contextId:ee+"-context-id",id:ee+"-id"}}(),cn={contextId:qt+"-scroll-container-context-id"},Cn=function(ne){return function(re){return"["+re+'="'+ne+'"]'}},Jt=function(ne,re){return ne.map(function(de){var ve=de.styles[re];return ve?de.selector+" { "+ve+" }":""}).join(" ")},Ot="pointer-events: none;",Qt=function(ee){var ne=Cn(ee),re=function(){var be=`
cursor: -webkit-grab;
cursor: grab;
`;return{selector:ne(Bn.contextId),styles:{always:`
-webkit-touch-callout: none;
-webkit-tap-highlight-color: rgba(0,0,0,0);
touch-action: manipulation;
`,resting:be,dragging:Ot,dropAnimating:be}}}(),de=function(){var be=`
transition: `+Mn.outOfTheWay+`;
`;return{selector:ne(qe.contextId),styles:{dragging:be,dropAnimating:be,userCancel:be}}}(),ve={selector:ne(Ct.contextId),styles:{always:"overflow-anchor: none;"}},pe={selector:"body",styles:{dragging:`
cursor: grabbing;
cursor: -webkit-grabbing;
user-select: none;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
overflow-anchor: none;
`}},ye=[de,re,ve,pe];return{always:Jt(ye,"always"),resting:Jt(ye,"resting"),dragging:Jt(ye,"dragging"),dropAnimating:Jt(ye,"dropAnimating"),userCancel:Jt(ye,"userCancel")}},Zt=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined"?b.useLayoutEffect:b.useEffect,va=function(){var ne=document.querySelector("head");return ne||zt(!1),ne},Sn=function(ne){var re=document.createElement("style");return ne&&re.setAttribute("nonce",ne),re.type="text/css",re};function En(ee,ne){var re=yn(function(){return Qt(ee)},[ee]),de=(0,b.useRef)(null),ve=(0,b.useRef)(null),pe=an(St(function(je){var Ve=ve.current;Ve||zt(!1),Ve.textContent=je}),[]),ye=an(function(je){var Ve=de.current;Ve||zt(!1),Ve.textContent=je},[]);Zt(function(){!de.current&&!ve.current||zt(!1);var je=Sn(ne),Ve=Sn(ne);return de.current=je,ve.current=Ve,je.setAttribute(qt+"-always",ee),Ve.setAttribute(qt+"-dynamic",ee),va().appendChild(je),va().appendChild(Ve),ye(re.always),pe(re.resting),function(){var lt=function(Xn){var la=Xn.current;la||zt(!1),va().removeChild(la),Xn.current=null};lt(de),lt(ve)}},[ne,ye,pe,re.always,re.resting,ee]);var be=an(function(){return pe(re.dragging)},[pe,re.dragging]),Ze=an(function(je){if(je==="DROP"){pe(re.dropAnimating);return}pe(re.userCancel)},[pe,re.dropAnimating,re.userCancel]),$e=an(function(){ve.current&&pe(re.resting)},[pe,re.resting]),Xe=yn(function(){return{dragging:be,dropping:Ze,resting:$e}},[be,Ze,$e]);return Xe}var Fr=function(ee){return ee&&ee.ownerDocument?ee.ownerDocument.defaultView:window};function Er(ee){return ee instanceof Fr(ee).HTMLElement}function $a(ee,ne){var re="["+Bn.contextId+'="'+ee+'"]',de=lr(document.querySelectorAll(re));if(!de.length)return null;var ve=Hr(de,function(pe){return pe.getAttribute(Bn.draggableId)===ne});return!ve||!Er(ve)?null:ve}function Do(ee){var ne=(0,b.useRef)({}),re=(0,b.useRef)(null),de=(0,b.useRef)(null),ve=(0,b.useRef)(!1),pe=an(function(Ve,lt){var Tt={id:Ve,focus:lt};return ne.current[Ve]=Tt,function(){var la=ne.current,fa=la[Ve];fa!==Tt&&delete la[Ve]}},[]),ye=an(function(Ve){var lt=$a(ee,Ve);lt&&lt!==document.activeElement&&lt.focus()},[ee]),be=an(function(Ve,lt){re.current===Ve&&(re.current=lt)},[]),Ze=an(function(){de.current||ve.current&&(de.current=requestAnimationFrame(function(){de.current=null;var Ve=re.current;Ve&&ye(Ve)}))},[ye]),$e=an(function(Ve){re.current=null;var lt=document.activeElement;lt&&lt.getAttribute(Bn.draggableId)===Ve&&(re.current=Ve)},[]);Zt(function(){return ve.current=!0,function(){ve.current=!1;var Ve=de.current;Ve&&cancelAnimationFrame(Ve)}},[]);var Xe=yn(function(){return{register:pe,tryRecordFocus:$e,tryRestoreFocusRecorded:Ze,tryShiftRecord:be}},[pe,$e,Ze,be]);return Xe}function na(){var ee={draggables:{},droppables:{}},ne=[];function re(je){return ne.push(je),function(){var lt=ne.indexOf(je);lt!==-1&&ne.splice(lt,1)}}function de(je){ne.length&&ne.forEach(function(Ve){return Ve(je)})}function ve(je){return ee.draggables[je]||null}function pe(je){var Ve=ve(je);return Ve||zt(!1),Ve}var ye={register:function(Ve){ee.draggables[Ve.descriptor.id]=Ve,de({type:"ADDITION",value:Ve})},update:function(Ve,lt){var Tt=ee.draggables[lt.descriptor.id];Tt&&Tt.uniqueId===Ve.uniqueId&&(delete ee.draggables[lt.descriptor.id],ee.draggables[Ve.descriptor.id]=Ve)},unregister:function(Ve){var lt=Ve.descriptor.id,Tt=ve(lt);Tt&&Ve.uniqueId===Tt.uniqueId&&(delete ee.draggables[lt],de({type:"REMOVAL",value:Ve}))},getById:pe,findById:ve,exists:function(Ve){return!!ve(Ve)},getAllByType:function(Ve){return Ha(ee.draggables).filter(function(lt){return lt.descriptor.type===Ve})}};function be(je){return ee.droppables[je]||null}function Ze(je){var Ve=be(je);return Ve||zt(!1),Ve}var $e={register:function(Ve){ee.droppables[Ve.descriptor.id]=Ve},unregister:function(Ve){var lt=be(Ve.descriptor.id);lt&&Ve.uniqueId===lt.uniqueId&&delete ee.droppables[Ve.descriptor.id]},getById:Ze,findById:be,exists:function(Ve){return!!be(Ve)},getAllByType:function(Ve){return Ha(ee.droppables).filter(function(lt){return lt.descriptor.type===Ve})}};function Xe(){ee.draggables={},ee.droppables={},ne.length=0}return{draggable:ye,droppable:$e,subscribe:re,clean:Xe}}function Or(){var ee=yn(na,[]);return(0,b.useEffect)(function(){return function(){requestAnimationFrame(ee.clean)}},[ee]),ee}var za=b.createContext(null),Wr=function(){var ee=document.body;return ee||zt(!1),ee},So={position:"absolute",width:"1px",height:"1px",margin:"-1px",border:"0",padding:"0",overflow:"hidden",clip:"rect(0 0 0 0)","clip-path":"inset(100%)"},wo=function(ne){return"rbd-announcement-"+ne};function Vo(ee){var ne=yn(function(){return wo(ee)},[ee]),re=(0,b.useRef)(null);(0,b.useEffect)(function(){var pe=document.createElement("div");return re.current=pe,pe.id=ne,pe.setAttribute("aria-live","assertive"),pe.setAttribute("aria-atomic","true"),(0,Ae.Z)(pe.style,So),Wr().appendChild(pe),function(){setTimeout(function(){var Ze=Wr();Ze.contains(pe)&&Ze.removeChild(pe),pe===re.current&&(re.current=null)})}},[ne]);var de=an(function(ve){var pe=re.current;if(pe){pe.textContent=ve;return}},[]);return de}var Pa=0,yr={separator:"::"};function Pi(){Pa=0}function Co(ee,ne){return ne===void 0&&(ne=yr),yn(function(){return""+ee+ne.separator+Pa++},[ne.separator,ee])}function Dn(ee){var ne=ee.contextId,re=ee.uniqueId;return"rbd-hidden-text-"+ne+"-"+re}function ui(ee){var ne=ee.contextId,re=ee.text,de=Co("hidden-text",{separator:"-"}),ve=yn(function(){return Dn({contextId:ne,uniqueId:de})},[de,ne]);return(0,b.useEffect)(function(){var ye=document.createElement("div");return ye.id=ve,ye.textContent=re,ye.style.display="none",Wr().appendChild(ye),function(){var Ze=Wr();Ze.contains(ye)&&Ze.removeChild(ye)}},[ve,re]),ve}var Ii=b.createContext(null),ci={react:"^16.8.5","react-dom":"^16.8.5"},Bi=/(\d+)\.(\d+)\.(\d+)/,Oi=function(ne){var re=Bi.exec(ne);re==null&&zt(!1);var de=Number(re[1]),ve=Number(re[2]),pe=Number(re[3]);return{major:de,minor:ve,patch:pe,raw:ne}},ti=function(ne,re){return re.major>ne.major?!0:re.major<ne.major?!1:re.minor>ne.minor?!0:re.minor<ne.minor?!1:re.patch>=ne.patch},ol=function(ee,ne){var re=Oi(ee),de=Oi(ne);ti(re,de)},Ui=`
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
`,qi=function(ee){var ne=ee.doctype;ne&&(ne.name.toLowerCase(),ne.publicId)};function Go(ee){}function gi(ee,ne){}function il(){gi(function(){ol(ci.react,b.version),qi(document)},[])}function Tl(ee){var ne=(0,b.useRef)(ee);return(0,b.useEffect)(function(){ne.current=ee}),ne}function Nr(){var ee=null;function ne(){return!!ee}function re(ye){return ye===ee}function de(ye){ee&&zt(!1);var be={abandon:ye};return ee=be,be}function ve(){ee||zt(!1),ee=null}function pe(){ee&&(ee.abandon(),ve())}return{isClaimed:ne,isActive:re,claim:de,release:ve,tryAbandon:pe}}var Ro=9,ni=13,Wo=27,Qi=32,Yi=33,Ai=34,Zl=35,Ll=36,Pl=37,pi=38,Gl=39,no=40,nu,Fu=(nu={},nu[ni]=!0,nu[Ro]=!0,nu),Vl=function(ee){Fu[ee.keyCode]&&ee.preventDefault()},mu=function(){var ee="visibilitychange";if(typeof document=="undefined")return ee;var ne=[ee,"ms"+ee,"webkit"+ee,"moz"+ee,"o"+ee],re=Hr(ne,function(de){return"on"+de in document});return re||ee}(),en=0,Qn=5;function Ar(ee,ne){return Math.abs(ne.x-ee.x)>=Qn||Math.abs(ne.y-ee.y)>=Qn}var cr={type:"IDLE"};function kr(ee){var ne=ee.cancel,re=ee.completed,de=ee.getPhase,ve=ee.setPhase;return[{eventName:"mousemove",fn:function(ye){var be=ye.button,Ze=ye.clientX,$e=ye.clientY;if(be===en){var Xe={x:Ze,y:$e},je=de();if(je.type==="DRAGGING"){ye.preventDefault(),je.actions.move(Xe);return}je.type!=="PENDING"&&zt(!1);var Ve=je.point;if(Ar(Ve,Xe)){ye.preventDefault();var lt=je.actions.fluidLift(Xe);ve({type:"DRAGGING",actions:lt})}}}},{eventName:"mouseup",fn:function(ye){var be=de();if(be.type!=="DRAGGING"){ne();return}ye.preventDefault(),be.actions.drop({shouldBlockNextClick:!0}),re()}},{eventName:"mousedown",fn:function(ye){de().type==="DRAGGING"&&ye.preventDefault(),ne()}},{eventName:"keydown",fn:function(ye){var be=de();if(be.type==="PENDING"){ne();return}if(ye.keyCode===Wo){ye.preventDefault(),ne();return}Vl(ye)}},{eventName:"resize",fn:ne},{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(){de().type==="PENDING"&&ne()}},{eventName:"webkitmouseforcedown",fn:function(ye){var be=de();if(be.type==="IDLE"&&zt(!1),be.actions.shouldRespectForcePress()){ne();return}ye.preventDefault()}},{eventName:mu,fn:ne}]}function po(ee){var ne=(0,b.useRef)(cr),re=(0,b.useRef)(Tn),de=yn(function(){return{eventName:"mousedown",fn:function(je){if(!je.defaultPrevented&&je.button===en&&!(je.ctrlKey||je.metaKey||je.shiftKey||je.altKey)){var Ve=ee.findClosestDraggableId(je);if(Ve){var lt=ee.tryGetLock(Ve,ye,{sourceEvent:je});if(lt){je.preventDefault();var Tt={x:je.clientX,y:je.clientY};re.current(),$e(lt,Tt)}}}}}},[ee]),ve=yn(function(){return{eventName:"webkitmouseforcewillbegin",fn:function(je){if(!je.defaultPrevented){var Ve=ee.findClosestDraggableId(je);if(Ve){var lt=ee.findOptionsForDraggable(Ve);lt&&(lt.shouldRespectForcePress||ee.canGetLock(Ve)&&je.preventDefault())}}}}},[ee]),pe=an(function(){var je={passive:!1,capture:!0};re.current=La(window,[ve,de],je)},[ve,de]),ye=an(function(){var Xe=ne.current;Xe.type!=="IDLE"&&(ne.current=cr,re.current(),pe())},[pe]),be=an(function(){var Xe=ne.current;ye(),Xe.type==="DRAGGING"&&Xe.actions.cancel({shouldBlockNextClick:!0}),Xe.type==="PENDING"&&Xe.actions.abort()},[ye]),Ze=an(function(){var je={capture:!0,passive:!1},Ve=kr({cancel:be,completed:ye,getPhase:function(){return ne.current},setPhase:function(Tt){ne.current=Tt}});re.current=La(window,Ve,je)},[be,ye]),$e=an(function(je,Ve){ne.current.type!=="IDLE"&&zt(!1),ne.current={type:"PENDING",point:Ve,actions:je},Ze()},[Ze]);Zt(function(){return pe(),function(){re.current()}},[pe])}var Lo;function ao(){}var Mi=(Lo={},Lo[Ai]=!0,Lo[Yi]=!0,Lo[Ll]=!0,Lo[Zl]=!0,Lo);function Eo(ee,ne){function re(){ne(),ee.cancel()}function de(){ne(),ee.drop()}return[{eventName:"keydown",fn:function(pe){if(pe.keyCode===Wo){pe.preventDefault(),re();return}if(pe.keyCode===Qi){pe.preventDefault(),de();return}if(pe.keyCode===no){pe.preventDefault(),ee.moveDown();return}if(pe.keyCode===pi){pe.preventDefault(),ee.moveUp();return}if(pe.keyCode===Gl){pe.preventDefault(),ee.moveRight();return}if(pe.keyCode===Pl){pe.preventDefault(),ee.moveLeft();return}if(Mi[pe.keyCode]){pe.preventDefault();return}Vl(pe)}},{eventName:"mousedown",fn:re},{eventName:"mouseup",fn:re},{eventName:"click",fn:re},{eventName:"touchstart",fn:re},{eventName:"resize",fn:re},{eventName:"wheel",fn:re,options:{passive:!0}},{eventName:mu,fn:re}]}function ll(ee){var ne=(0,b.useRef)(ao),re=yn(function(){return{eventName:"keydown",fn:function(pe){if(pe.defaultPrevented||pe.keyCode!==Qi)return;var ye=ee.findClosestDraggableId(pe);if(!ye)return;var be=ee.tryGetLock(ye,Xe,{sourceEvent:pe});if(!be)return;pe.preventDefault();var Ze=!0,$e=be.snapLift();ne.current();function Xe(){Ze||zt(!1),Ze=!1,ne.current(),de()}ne.current=La(window,Eo($e,Xe),{capture:!0,passive:!1})}}},[ee]),de=an(function(){var pe={passive:!1,capture:!0};ne.current=La(window,[re],pe)},[re]);Zt(function(){return de(),function(){ne.current()}},[de])}var Wl={type:"IDLE"},qu=120,vs=.15;function ps(ee){var ne=ee.cancel,re=ee.getPhase;return[{eventName:"orientationchange",fn:ne},{eventName:"resize",fn:ne},{eventName:"contextmenu",fn:function(ve){ve.preventDefault()}},{eventName:"keydown",fn:function(ve){if(re().type!=="DRAGGING"){ne();return}ve.keyCode===Wo&&ve.preventDefault(),ne()}},{eventName:mu,fn:ne}]}function jl(ee){var ne=ee.cancel,re=ee.completed,de=ee.getPhase;return[{eventName:"touchmove",options:{capture:!1},fn:function(pe){var ye=de();if(ye.type!=="DRAGGING"){ne();return}ye.hasMoved=!0;var be=pe.touches[0],Ze=be.clientX,$e=be.clientY,Xe={x:Ze,y:$e};pe.preventDefault(),ye.actions.move(Xe)}},{eventName:"touchend",fn:function(pe){var ye=de();if(ye.type!=="DRAGGING"){ne();return}pe.preventDefault(),ye.actions.drop({shouldBlockNextClick:!0}),re()}},{eventName:"touchcancel",fn:function(pe){if(de().type!=="DRAGGING"){ne();return}pe.preventDefault(),ne()}},{eventName:"touchforcechange",fn:function(pe){var ye=de();ye.type==="IDLE"&&zt(!1);var be=pe.touches[0];if(be){var Ze=be.force>=vs;if(Ze){var $e=ye.actions.shouldRespectForcePress();if(ye.type==="PENDING"){$e&&ne();return}if($e){if(ye.hasMoved){pe.preventDefault();return}ne();return}pe.preventDefault()}}}},{eventName:mu,fn:ne}]}function hs(ee){var ne=(0,b.useRef)(Wl),re=(0,b.useRef)(Tn),de=an(function(){return ne.current},[]),ve=an(function(lt){ne.current=lt},[]),pe=yn(function(){return{eventName:"touchstart",fn:function(lt){if(!lt.defaultPrevented){var Tt=ee.findClosestDraggableId(lt);if(Tt){var Xn=ee.tryGetLock(Tt,be,{sourceEvent:lt});if(Xn){var la=lt.touches[0],fa=la.clientX,ka=la.clientY,Qa={x:fa,y:ka};re.current(),je(Xn,Qa)}}}}}},[ee]),ye=an(function(){var lt={capture:!0,passive:!1};re.current=La(window,[pe],lt)},[pe]),be=an(function(){var Ve=ne.current;Ve.type!=="IDLE"&&(Ve.type==="PENDING"&&clearTimeout(Ve.longPressTimerId),ve(Wl),re.current(),ye())},[ye,ve]),Ze=an(function(){var Ve=ne.current;be(),Ve.type==="DRAGGING"&&Ve.actions.cancel({shouldBlockNextClick:!0}),Ve.type==="PENDING"&&Ve.actions.abort()},[be]),$e=an(function(){var lt={capture:!0,passive:!1},Tt={cancel:Ze,completed:be,getPhase:de},Xn=La(window,jl(Tt),lt),la=La(window,ps(Tt),lt);re.current=function(){Xn(),la()}},[Ze,de,be]),Xe=an(function(){var lt=de();lt.type!=="PENDING"&&zt(!1);var Tt=lt.actions.fluidLift(lt.point);ve({type:"DRAGGING",actions:Tt,hasMoved:!1})},[de,ve]),je=an(function(lt,Tt){de().type!=="IDLE"&&zt(!1);var Xn=setTimeout(Xe,qu);ve({type:"PENDING",point:Tt,actions:lt,longPressTimerId:Xn}),$e()},[$e,de,ve,Xe]);Zt(function(){return ye(),function(){re.current();var Tt=de();Tt.type==="PENDING"&&(clearTimeout(Tt.longPressTimerId),ve(Wl))}},[de,ye,ve]),Zt(function(){var lt=La(window,[{eventName:"touchmove",fn:function(){},options:{capture:!1,passive:!1}}]);return lt},[])}function au(ee){}var Zu={input:!0,button:!0,textarea:!0,select:!0,option:!0,optgroup:!0,video:!0,audio:!0};function Ul(ee,ne){if(ne==null)return!1;var re=!!Zu[ne.tagName.toLowerCase()];if(re)return!0;var de=ne.getAttribute("contenteditable");return de==="true"||de===""?!0:ne===ee?!1:Ul(ee,ne.parentElement)}function $u(ee,ne){var re=ne.target;return Er(re)?Ul(ee,re):!1}var Ss=function(ee){return pa(ee.getBoundingClientRect()).center};function es(ee){return ee instanceof Fr(ee).Element}var Gu=function(){var ee="matches";if(typeof document=="undefined")return ee;var ne=[ee,"msMatchesSelector","webkitMatchesSelector"],re=Hr(ne,function(de){return de in Element.prototype});return re||ee}();function ts(ee,ne){return ee==null?null:ee[Gu](ne)?ee:ts(ee.parentElement,ne)}function Kn(ee,ne){return ee.closest?ee.closest(ne):ts(ee,ne)}function Ja(ee){return"["+Bn.contextId+'="'+ee+'"]'}function Ir(ee,ne){var re=ne.target;if(!es(re))return null;var de=Ja(ee),ve=Kn(re,de);return!ve||!Er(ve)?null:ve}function ro(ee,ne){var re=Ir(ee,ne);return re?re.getAttribute(Bn.draggableId):null}function Xr(ee,ne){var re="["+qe.contextId+'="'+ee+'"]',de=lr(document.querySelectorAll(re)),ve=Hr(de,function(pe){return pe.getAttribute(qe.id)===ne});return!ve||!Er(ve)?null:ve}function xr(ee){ee.preventDefault()}function co(ee){var ne=ee.expected,re=ee.phase,de=ee.isLockActive,ve=ee.shouldWarn;return!(!de()||ne!==re)}function No(ee){var ne=ee.lockAPI,re=ee.store,de=ee.registry,ve=ee.draggableId;if(ne.isClaimed())return!1;var pe=de.draggable.findById(ve);return!(!pe||!pe.options.isEnabled||!Ci(re.getState(),ve))}function Gi(ee){var ne=ee.lockAPI,re=ee.contextId,de=ee.store,ve=ee.registry,pe=ee.draggableId,ye=ee.forceSensorStop,be=ee.sourceEvent,Ze=No({lockAPI:ne,store:de,registry:ve,draggableId:pe});if(!Ze)return null;var $e=ve.draggable.getById(pe),Xe=Xr(re,$e.descriptor.id);if(!Xe||be&&!$e.options.canDragInteractiveElements&&$u(Xe,be))return null;var je=ne.claim(ye||Tn),Ve="PRE_DRAG";function lt(){return $e.options.shouldRespectForcePress}function Tt(){return ne.isActive(je)}function Xn(Ur,Po){co({expected:Ur,phase:Ve,isLockActive:Tt,shouldWarn:!0})&&de.dispatch(Po())}var la=Xn.bind(null,"DRAGGING");function fa(Ur){function Po(){ne.release(),Ve="COMPLETED"}Ve!=="PRE_DRAG"&&(Po(),Ve!=="PRE_DRAG"&&zt(!1)),de.dispatch(ge(Ur.liftActionArgs)),Ve="DRAGGING";function xi(Bo,Di){if(Di===void 0&&(Di={shouldBlockNextClick:!1}),Ur.cleanup(),Di.shouldBlockNextClick){var ul=La(window,[{eventName:"click",fn:xr,options:{once:!0,passive:!1,capture:!0}}]);setTimeout(ul)}Po(),de.dispatch(on({reason:Bo}))}return(0,Ae.Z)({isActive:function(){return co({expected:"DRAGGING",phase:Ve,isLockActive:Tt,shouldWarn:!1})},shouldRespectForcePress:lt,drop:function(Di){return xi("DROP",Di)},cancel:function(Di){return xi("CANCEL",Di)}},Ur.actions)}function ka(Ur){var Po=Kt(function(Bo){la(function(){return wt({client:Bo})})}),xi=fa({liftActionArgs:{id:pe,clientSelection:Ur,movementMode:"FLUID"},cleanup:function(){return Po.cancel()},actions:{move:Po}});return(0,Ae.Z)({},xi,{move:Po})}function Qa(){var Ur={moveUp:function(){return la(rn)},moveRight:function(){return la(Nn)},moveDown:function(){return la(dn)},moveLeft:function(){return la(In)}};return fa({liftActionArgs:{id:pe,clientSelection:Ss(Xe),movementMode:"SNAP"},cleanup:Tn,actions:Ur})}function rr(){var Ur=co({expected:"PRE_DRAG",phase:Ve,isLockActive:Tt,shouldWarn:!0});Ur&&ne.release()}var to={isActive:function(){return co({expected:"PRE_DRAG",phase:Ve,isLockActive:Tt,shouldWarn:!1})},shouldRespectForcePress:lt,fluidLift:ka,snapLift:Qa,abort:rr};return to}var Nl=[po,ll,hs];function su(ee){var ne=ee.contextId,re=ee.store,de=ee.registry,ve=ee.customSensors,pe=ee.enableDefaultSensors,ye=[].concat(pe?Nl:[],ve||[]),be=(0,b.useState)(function(){return Nr()})[0],Ze=an(function(ka,Qa){ka.isDragging&&!Qa.isDragging&&be.tryAbandon()},[be]);Zt(function(){var ka=re.getState(),Qa=re.subscribe(function(){var rr=re.getState();Ze(ka,rr),ka=rr});return Qa},[be,re,Ze]),Zt(function(){return be.tryAbandon},[be.tryAbandon]);var $e=an(function(fa){return No({lockAPI:be,registry:de,store:re,draggableId:fa})},[be,de,re]),Xe=an(function(fa,ka,Qa){return Gi({lockAPI:be,registry:de,contextId:ne,store:re,draggableId:fa,forceSensorStop:ka,sourceEvent:Qa&&Qa.sourceEvent?Qa.sourceEvent:null})},[ne,be,de,re]),je=an(function(fa){return ro(ne,fa)},[ne]),Ve=an(function(fa){var ka=de.draggable.findById(fa);return ka?ka.options:null},[de.draggable]),lt=an(function(){be.isClaimed()&&(be.tryAbandon(),re.getState().phase!=="IDLE"&&re.dispatch(Dt()))},[be,re]),Tt=an(be.isClaimed,[be]),Xn=yn(function(){return{canGetLock:$e,tryGetLock:Xe,findClosestDraggableId:je,findOptionsForDraggable:Ve,tryReleaseLock:lt,isLockClaimed:Tt}},[$e,Xe,je,Ve,lt,Tt]);au(ye);for(var la=0;la<ye.length;la++)ye[la](Xn)}var Dr=function(ne){return{onBeforeCapture:ne.onBeforeCapture,onBeforeDragStart:ne.onBeforeDragStart,onDragStart:ne.onDragStart,onDragEnd:ne.onDragEnd,onDragUpdate:ne.onDragUpdate}};function Ia(ee){return ee.current||zt(!1),ee.current}function fr(ee){var ne=ee.contextId,re=ee.setCallbacks,de=ee.sensors,ve=ee.nonce,pe=ee.dragHandleUsageInstructions,ye=(0,b.useRef)(null);il();var be=Tl(ee),Ze=an(function(){return Dr(be.current)},[be]),$e=Vo(ne),Xe=ui({contextId:ne,text:pe}),je=En(ne,ve),Ve=an(function(Bo){Ia(ye).dispatch(Bo)},[]),lt=yn(function(){return(0,ke.DE)({publishWhileDragging:Ie,updateDroppableScroll:dt,updateDroppableIsEnabled:rt,updateDroppableIsCombineEnabled:Nt,collectionStarting:Oe},Ve)},[Ve]),Tt=Or(),Xn=yn(function(){return rl(Tt,lt)},[Tt,lt]),la=yn(function(){return vt((0,Ae.Z)({scrollWindow:xl,scrollDroppable:Xn.scrollDroppable},(0,ke.DE)({move:wt},Ve)))},[Xn.scrollDroppable,Ve]),fa=Do(ne),ka=yn(function(){return El({announce:$e,autoScroller:la,dimensionMarshal:Xn,focusMarshal:fa,getResponders:Ze,styleMarshal:je})},[$e,la,Xn,fa,Ze,je]);ye.current=ka;var Qa=an(function(){var Bo=Ia(ye),Di=Bo.getState();Di.phase!=="IDLE"&&Bo.dispatch(Dt())},[]),rr=an(function(){var Bo=Ia(ye).getState();return Bo.isDragging||Bo.phase==="DROP_ANIMATING"},[]),to=yn(function(){return{isDragging:rr,tryAbort:Qa}},[rr,Qa]);re(to);var Ur=an(function(Bo){return Ci(Ia(ye).getState(),Bo)},[]),Po=an(function(){return lu(Ia(ye).getState())},[]),xi=yn(function(){return{marshal:Xn,focus:fa,contextId:ne,canLift:Ur,isMovementAllowed:Po,dragHandleUsageInstructionsId:Xe,registry:Tt}},[ne,Xn,Xe,fa,Ur,Po,Tt]);return su({contextId:ne,store:ka,registry:Tt,customSensors:de,enableDefaultSensors:ee.enableDefaultSensors!==!1}),(0,b.useEffect)(function(){return Qa},[Qa]),b.createElement(Ii.Provider,{value:xi},b.createElement(x,{context:za,store:ka},ee.children))}var lo=0;function $o(){lo=0}function du(){return yn(function(){return""+lo++},[])}function Il(){$o(),Pi()}function Ql(ee){var ne=du(),re=ee.dragHandleUsageInstructions||$t.dragHandleUsageInstructions;return b.createElement(jr,null,function(de){return b.createElement(fr,{nonce:ee.nonce,contextId:ne,setCallbacks:de,dragHandleUsageInstructions:re,enableDefaultSensors:ee.enableDefaultSensors,sensors:ee.sensors,onBeforeCapture:ee.onBeforeCapture,onBeforeDragStart:ee.onBeforeDragStart,onDragStart:ee.onDragStart,onDragUpdate:ee.onDragUpdate,onDragEnd:ee.onDragEnd},ee.children)})}var Ol=function(ne){return function(re){return ne===re}},fu=Ol("scroll"),ru=Ol("auto"),yl=Ol("visible"),Es=function(ne,re){return re(ne.overflowX)||re(ne.overflowY)},Fs=function(ne,re){return re(ne.overflowX)&&re(ne.overflowY)},Cs=function(ne){var re=window.getComputedStyle(ne),de={overflowX:re.overflowX,overflowY:re.overflowY};return Es(de,fu)||Es(de,ru)},rd=function(){return!1;var ne,re,de,ve},Vs=function ee(ne){return ne==null?null:ne===document.body?rd()?ne:null:ne===document.documentElement?null:Cs(ne)?ne:ee(ne.parentElement)},Xd=function(ee){if(ee)var ne=Vs(ee.parentElement)},Ms=function(ee){return{x:ee.scrollLeft,y:ee.scrollTop}},od=function ee(ne){if(!ne)return!1;var re=window.getComputedStyle(ne);return re.position==="fixed"?!0:ee(ne.parentElement)},id=function(ee){var ne=Vs(ee),re=od(ee);return{closestScrollable:ne,isFixedOnPage:re}},ld=function(ee){var ne=ee.descriptor,re=ee.isEnabled,de=ee.isCombineEnabled,ve=ee.isFixedOnPage,pe=ee.direction,ye=ee.client,be=ee.page,Ze=ee.closest,$e=function(){if(!Ze)return null;var lt=Ze.scrollSize,Tt=Ze.client,Xn=Rl({scrollHeight:lt.scrollHeight,scrollWidth:lt.scrollWidth,height:Tt.paddingBox.height,width:Tt.paddingBox.width});return{pageMarginBox:Ze.page.marginBox,frameClient:Tt,scrollSize:lt,shouldClipSubject:Ze.shouldClipSubject,scroll:{initial:Ze.scroll,current:Ze.scroll,max:Xn,diff:{value:Xa,displacement:Xa}}}}(),Xe=pe==="vertical"?Ri:ji,je=Pr({page:be,withPlaceholder:null,axis:Xe,frame:$e}),Ve={descriptor:ne,isCombineEnabled:de,isFixedOnPage:ve,axis:Xe,isEnabled:re,client:ye,page:be,frame:$e,subject:je};return Ve},ud=function(ne,re){var de=Sa(ne);if(!re||ne!==re)return de;var ve=de.paddingBox.top-re.scrollTop,pe=de.paddingBox.left-re.scrollLeft,ye=ve+re.scrollHeight,be=pe+re.scrollWidth,Ze={top:ve,right:be,bottom:ye,left:pe},$e=wa(Ze,de.border),Xe=Ua({borderBox:$e,margin:de.margin,border:de.border,padding:de.padding});return Xe},sd=function(ee){var ne=ee.ref,re=ee.descriptor,de=ee.env,ve=ee.windowScroll,pe=ee.direction,ye=ee.isDropDisabled,be=ee.isCombineEnabled,Ze=ee.shouldClipSubject,$e=de.closestScrollable,Xe=ud(ne,$e),je=Zn(Xe,ve),Ve=function(){if(!$e)return null;var Tt=Sa($e),Xn={scrollHeight:$e.scrollHeight,scrollWidth:$e.scrollWidth};return{client:Tt,page:Zn(Tt,ve),scroll:Ms($e),scrollSize:Xn,shouldClipSubject:Ze}}(),lt=ld({descriptor:re,isEnabled:!ye,isCombineEnabled:be,isFixedOnPage:de.isFixedOnPage,direction:pe,client:Xe,page:je,closest:Ve});return lt},dd={passive:!1},cd={passive:!0},Ws=function(ee){return ee.shouldPublishImmediately?dd:cd};function Bs(ee){var ne=(0,b.useContext)(ee);return ne||zt(!1),ne}var As=function(ne){return ne&&ne.env.closestScrollable||null};function gd(ee){var ne=(0,b.useRef)(null),re=Bs(Ii),de=Co("droppable"),ve=re.registry,pe=re.marshal,ye=Tl(ee),be=yn(function(){return{id:ee.droppableId,type:ee.type,mode:ee.mode}},[ee.droppableId,ee.mode,ee.type]),Ze=(0,b.useRef)(be),$e=yn(function(){return St(function(rr,to){ne.current||zt(!1);var Ur={x:rr,y:to};pe.updateDroppableScroll(be.id,Ur)})},[be.id,pe]),Xe=an(function(){var rr=ne.current;return!rr||!rr.env.closestScrollable?Xa:Ms(rr.env.closestScrollable)},[]),je=an(function(){var rr=Xe();$e(rr.x,rr.y)},[Xe,$e]),Ve=yn(function(){return Kt(je)},[je]),lt=an(function(){var rr=ne.current,to=As(rr);rr&&to||zt(!1);var Ur=rr.scrollOptions;if(Ur.shouldPublishImmediately){je();return}Ve()},[Ve,je]),Tt=an(function(rr,to){ne.current&&zt(!1);var Ur=ye.current,Po=Ur.getDroppableRef();Po||zt(!1);var xi=id(Po),Bo={ref:Po,descriptor:be,env:xi,scrollOptions:to};ne.current=Bo;var Di=sd({ref:Po,descriptor:be,env:xi,windowScroll:rr,direction:Ur.direction,isDropDisabled:Ur.isDropDisabled,isCombineEnabled:Ur.isCombineEnabled,shouldClipSubject:!Ur.ignoreContainerClipping}),ul=xi.closestScrollable;return ul&&(ul.setAttribute(cn.contextId,re.contextId),ul.addEventListener("scroll",lt,Ws(Bo.scrollOptions))),Di},[re.contextId,be,lt,ye]),Xn=an(function(){var rr=ne.current,to=As(rr);return rr&&to||zt(!1),Ms(to)},[]),la=an(function(){var rr=ne.current;rr||zt(!1);var to=As(rr);ne.current=null,to&&(Ve.cancel(),to.removeAttribute(cn.contextId),to.removeEventListener("scroll",lt,Ws(rr.scrollOptions)))},[lt,Ve]),fa=an(function(rr){var to=ne.current;to||zt(!1);var Ur=As(to);Ur||zt(!1),Ur.scrollTop+=rr.y,Ur.scrollLeft+=rr.x},[]),ka=yn(function(){return{getDimensionAndWatchScroll:Tt,getScrollWhileDragging:Xn,dragStopped:la,scroll:fa}},[la,Tt,Xn,fa]),Qa=yn(function(){return{uniqueId:de,descriptor:be,callbacks:ka}},[ka,be,de]);Zt(function(){return Ze.current=Qa.descriptor,ve.droppable.register(Qa),function(){ne.current&&la(),ve.droppable.unregister(Qa)}},[ka,be,la,Qa,pe,ve.droppable]),Zt(function(){ne.current&&pe.updateDroppableIsEnabled(Ze.current.id,!ee.isDropDisabled)},[ee.isDropDisabled,pe]),Zt(function(){ne.current&&pe.updateDroppableIsCombineEnabled(Ze.current.id,ee.isCombineEnabled)},[ee.isCombineEnabled,pe])}function Rs(){}var Us={width:0,height:0,margin:nr},md=function(ne){var re=ne.isAnimatingOpenOnMount,de=ne.placeholder,ve=ne.animate;return re||ve==="close"?Us:{height:de.client.borderBox.height,width:de.client.borderBox.width,margin:de.client.margin}},fd=function(ne){var re=ne.isAnimatingOpenOnMount,de=ne.placeholder,ve=ne.animate,pe=md({isAnimatingOpenOnMount:re,placeholder:de,animate:ve});return{display:de.display,boxSizing:"border-box",width:pe.width,height:pe.height,marginTop:pe.margin.top,marginRight:pe.margin.right,marginBottom:pe.margin.bottom,marginLeft:pe.margin.left,flexShrink:"0",flexGrow:"0",pointerEvents:"none",transition:ve!=="none"?Mn.placeholder:null}};function vd(ee){var ne=(0,b.useRef)(null),re=an(function(){ne.current&&(clearTimeout(ne.current),ne.current=null)},[]),de=ee.animate,ve=ee.onTransitionEnd,pe=ee.onClose,ye=ee.contextId,be=(0,b.useState)(ee.animate==="open"),Ze=be[0],$e=be[1];(0,b.useEffect)(function(){return Ze?de!=="open"?(re(),$e(!1),Rs):ne.current?Rs:(ne.current=setTimeout(function(){ne.current=null,$e(!1)}),re):Rs},[de,Ze,re]);var Xe=an(function(Ve){Ve.propertyName==="height"&&(ve(),de==="close"&&pe())},[de,pe,ve]),je=fd({isAnimatingOpenOnMount:Ze,animate:ee.animate,placeholder:ee.placeholder});return b.createElement(ee.placeholder.tagName,{style:je,"data-rbd-placeholder-context-id":ye,onTransitionEnd:Xe,ref:ee.innerRef})}var pd=b.memo(vd),ks=b.createContext(null);function Qs(ee){ee&&Er(ee)||zt(!1)}function _s(ee){return typeof ee=="boolean"}function Ts(ee,ne){ne.forEach(function(re){return re(ee)})}var hd=[function(ne){var re=ne.props;re.droppableId||zt(!1),typeof re.droppableId!="string"&&zt(!1)},function(ne){var re=ne.props;_s(re.isDropDisabled)||zt(!1),_s(re.isCombineEnabled)||zt(!1),_s(re.ignoreContainerClipping)||zt(!1)},function(ne){var re=ne.getDroppableRef;Qs(re())}],Sd=[function(ne){var re=ne.props,de=ne.getPlaceholderRef;if(re.placeholder)var ve=de()}],Ed=[function(ne){var re=ne.props;re.renderClone||zt(!1)},function(ne){var re=ne.getPlaceholderRef;re()&&zt(!1)}];function Pd(ee){gi(function(){Ts(ee,hd),ee.props.mode==="standard"&&Ts(ee,Sd),ee.props.mode==="virtual"&&Ts(ee,Ed)})}var yd=function(ee){De(ne,ee);function ne(){for(var de,ve=arguments.length,pe=new Array(ve),ye=0;ye<ve;ye++)pe[ye]=arguments[ye];return de=ee.call.apply(ee,[this].concat(pe))||this,de.state={isVisible:!!de.props.on,data:de.props.on,animate:de.props.shouldAnimate&&de.props.on?"open":"none"},de.onClose=function(){de.state.animate==="close"&&de.setState({isVisible:!1})},de}ne.getDerivedStateFromProps=function(ve,pe){return ve.shouldAnimate?ve.on?{isVisible:!0,data:ve.on,animate:"open"}:pe.isVisible?{isVisible:!0,data:pe.data,animate:"close"}:{isVisible:!1,animate:"close",data:null}:{isVisible:!!ve.on,data:ve.on,animate:"none"}};var re=ne.prototype;return re.render=function(){if(!this.state.isVisible)return null;var ve={onClose:this.onClose,data:this.state.data,animate:this.state.animate};return this.props.children(ve)},ne}(b.PureComponent),Ys={dragging:5e3,dropAnimating:4500},bd=function(ne,re){return re?Mn.drop(re.duration):ne?Mn.snap:Mn.fluid},Fd=function(ne,re){return ne?re?Lr.opacity.drop:Lr.opacity.combining:null},Cd=function(ne){return ne.forceShouldAnimate!=null?ne.forceShouldAnimate:ne.mode==="SNAP"};function Bd(ee){var ne=ee.dimension,re=ne.client,de=ee.offset,ve=ee.combineWith,pe=ee.dropping,ye=!!ve,be=Cd(ee),Ze=!!pe,$e=Ze?mo.drop(de,ye):mo.moveTo(de),Xe={position:"fixed",top:re.marginBox.top,left:re.marginBox.left,boxSizing:"border-box",width:re.borderBox.width,height:re.borderBox.height,transition:bd(be,pe),transform:$e,opacity:Fd(ye,Ze),zIndex:Ze?Ys.dropAnimating:Ys.dragging,pointerEvents:"none"};return Xe}function Ad(ee){return{transform:mo.moveTo(ee.offset),transition:ee.shouldAnimateDisplacement?null:"none"}}function xd(ee){return ee.type==="DRAGGING"?Bd(ee):Ad(ee)}function Dd(ee,ne,re){re===void 0&&(re=Xa);var de=window.getComputedStyle(ne),ve=ne.getBoundingClientRect(),pe=qn(ve,de),ye=Zn(pe,re),be={client:pe,tagName:ne.tagName.toLowerCase(),display:de.display},Ze={x:pe.marginBox.width,y:pe.marginBox.height},$e={descriptor:ee,placeholder:be,displaceBy:Ze,client:pe,page:ye};return $e}function wd(ee){var ne=Co("draggable"),re=ee.descriptor,de=ee.registry,ve=ee.getDraggableRef,pe=ee.canDragInteractiveElements,ye=ee.shouldRespectForcePress,be=ee.isEnabled,Ze=yn(function(){return{canDragInteractiveElements:pe,shouldRespectForcePress:ye,isEnabled:be}},[pe,be,ye]),$e=an(function(lt){var Tt=ve();return Tt||zt(!1),Dd(re,Tt,lt)},[re,ve]),Xe=yn(function(){return{uniqueId:ne,descriptor:re,options:Ze,getDimension:$e}},[re,$e,Ze,ne]),je=(0,b.useRef)(Xe),Ve=(0,b.useRef)(!0);Zt(function(){return de.draggable.register(je.current),function(){return de.draggable.unregister(je.current)}},[de.draggable]),Zt(function(){if(Ve.current){Ve.current=!1;return}var lt=je.current;je.current=Xe,de.draggable.update(Xe,lt)},[Xe,de.draggable])}function Ld(ee,ne,re){gi(function(){function de(pe){return"Draggable[id: "+pe+"]: "}var ve=ee.draggableId;ve||zt(!1),typeof ve!="string"&&zt(!1),uo(ee.index)||zt(!1),ee.mapped.type!=="DRAGGING"&&(Qs(re()),ee.isEnabled&&($a(ne,ve)||zt(!1)))})}function Nd(ee){}function Id(ee){ee.preventDefault()}function Od(ee){var ne=(0,b.useRef)(null),re=an(function(Bo){ne.current=Bo},[]),de=an(function(){return ne.current},[]),ve=Bs(Ii),pe=ve.contextId,ye=ve.dragHandleUsageInstructionsId,be=ve.registry,Ze=Bs(ks),$e=Ze.type,Xe=Ze.droppableId,je=yn(function(){return{id:ee.draggableId,index:ee.index,type:$e,droppableId:Xe}},[ee.draggableId,ee.index,$e,Xe]),Ve=ee.children,lt=ee.draggableId,Tt=ee.isEnabled,Xn=ee.shouldRespectForcePress,la=ee.canDragInteractiveElements,fa=ee.isClone,ka=ee.mapped,Qa=ee.dropAnimationFinished;if(Ld(ee,pe,de),Nd(fa),!fa){var rr=yn(function(){return{descriptor:je,registry:be,getDraggableRef:de,canDragInteractiveElements:la,shouldRespectForcePress:Xn,isEnabled:Tt}},[je,be,de,la,Xn,Tt]);wd(rr)}var to=yn(function(){return Tt?{tabIndex:0,role:"button","aria-describedby":ye,"data-rbd-drag-handle-draggable-id":lt,"data-rbd-drag-handle-context-id":pe,draggable:!1,onDragStart:Id}:null},[pe,ye,lt,Tt]),Ur=an(function(Bo){ka.type==="DRAGGING"&&ka.dropping&&Bo.propertyName==="transform"&&Qa()},[Qa,ka]),Po=yn(function(){var Bo=xd(ka),Di=ka.type==="DRAGGING"&&ka.dropping?Ur:null,ul={innerRef:re,draggableProps:{"data-rbd-draggable-context-id":pe,"data-rbd-draggable-id":lt,style:Bo,onTransitionEnd:Di},dragHandleProps:to};return ul},[pe,to,lt,ka,Ur,re]),xi=yn(function(){return{draggableId:je.id,type:je.type,source:{index:je.index,droppableId:je.droppableId}}},[je.droppableId,je.id,je.index,je.type]);return Ve(Po,ka.snapshot,xi)}var Ks=function(ee,ne){return ee===ne},Js=function(ee){var ne=ee.combine,re=ee.destination;return re?re.droppableId:ne?ne.droppableId:null},Md=function(ne){return ne.combine?ne.combine.draggableId:null},Rd=function(ne){return ne.at&&ne.at.type==="COMBINE"?ne.at.combine.draggableId:null};function kd(){var ee=St(function(ve,pe){return{x:ve,y:pe}}),ne=St(function(ve,pe,ye,be,Ze){return{isDragging:!0,isClone:pe,isDropAnimating:!!Ze,dropAnimation:Ze,mode:ve,draggingOver:ye,combineWith:be,combineTargetFor:null}}),re=St(function(ve,pe,ye,be,Ze,$e,Xe){return{mapped:{type:"DRAGGING",dropping:null,draggingOver:Ze,combineWith:$e,mode:pe,offset:ve,dimension:ye,forceShouldAnimate:Xe,snapshot:ne(pe,be,Ze,$e,null)}}}),de=function(pe,ye){if(pe.isDragging){if(pe.critical.draggable.id!==ye.draggableId)return null;var be=pe.current.client.offset,Ze=pe.dimensions.draggables[ye.draggableId],$e=yi(pe.impact),Xe=Rd(pe.impact),je=pe.forceShouldAnimate;return re(ee(be.x,be.y),pe.movementMode,Ze,ye.isClone,$e,Xe,je)}if(pe.phase==="DROP_ANIMATING"){var Ve=pe.completed;if(Ve.result.draggableId!==ye.draggableId)return null;var lt=ye.isClone,Tt=pe.dimensions.draggables[ye.draggableId],Xn=Ve.result,la=Xn.mode,fa=Js(Xn),ka=Md(Xn),Qa=pe.dropDuration,rr={duration:Qa,curve:ur.drop,moveTo:pe.newHomeClientOffset,opacity:ka?Lr.opacity.drop:null,scale:ka?Lr.scale.drop:null};return{mapped:{type:"DRAGGING",offset:pe.newHomeClientOffset,dimension:Tt,dropping:rr,draggingOver:fa,combineWith:ka,mode:la,forceShouldAnimate:null,snapshot:ne(la,lt,fa,ka,rr)}}}return null};return de}function Xs(ee){return{isDragging:!1,isDropAnimating:!1,isClone:!1,dropAnimation:null,mode:null,draggingOver:null,combineTargetFor:ee,combineWith:null}}var _d={mapped:{type:"SECONDARY",offset:Xa,combineTargetFor:null,shouldAnimateDisplacement:!0,snapshot:Xs(null)}};function Td(){var ee=St(function(ye,be){return{x:ye,y:be}}),ne=St(Xs),re=St(function(ye,be,Ze){return be===void 0&&(be=null),{mapped:{type:"SECONDARY",offset:ye,combineTargetFor:be,shouldAnimateDisplacement:Ze,snapshot:ne(be)}}}),de=function(be){return be?re(Xa,be,!0):null},ve=function(be,Ze,$e,Xe){var je=$e.displaced.visible[be],Ve=!!(Xe.inVirtualList&&Xe.effected[be]),lt=oi($e),Tt=lt&&lt.draggableId===be?Ze:null;if(!je){if(!Ve)return de(Tt);if($e.displaced.invisible[be])return null;var Xn=hn(Xe.displacedBy.point),la=ee(Xn.x,Xn.y);return re(la,Tt,!0)}if(Ve)return de(Tt);var fa=$e.displacedBy.point,ka=ee(fa.x,fa.y);return re(ka,Tt,je.shouldAnimate)},pe=function(be,Ze){if(be.isDragging)return be.critical.draggable.id===Ze.draggableId?null:ve(Ze.draggableId,be.critical.draggable.id,be.impact,be.afterCritical);if(be.phase==="DROP_ANIMATING"){var $e=be.completed;return $e.result.draggableId===Ze.draggableId?null:ve(Ze.draggableId,$e.result.draggableId,$e.impact,$e.afterCritical)}return null};return pe}var Zd=function(){var ne=kd(),re=Td(),de=function(pe,ye){return ne(pe,ye)||re(pe,ye)||_d};return de},Gd={dropAnimationFinished:Ca},jd=tn(Zd,Gd,null,{context:za,pure:!0,areStatePropsEqual:Ks})(Od);function qs(ee){var ne=Bs(ks),re=ne.isUsingCloneFor;return re===ee.draggableId&&!ee.isClone?null:b.createElement(jd,ee)}function Hd(ee){var ne=typeof ee.isDragDisabled=="boolean"?!ee.isDragDisabled:!0,re=!!ee.disableInteractiveElementBlocking,de=!!ee.shouldRespectForcePress;return b.createElement(qs,(0,Ae.Z)({},ee,{isClone:!1,isEnabled:ne,canDragInteractiveElements:re,shouldRespectForcePress:de}))}function zd(ee){var ne=(0,b.useContext)(Ii);ne||zt(!1);var re=ne.contextId,de=ne.isMovementAllowed,ve=(0,b.useRef)(null),pe=(0,b.useRef)(null),ye=ee.children,be=ee.droppableId,Ze=ee.type,$e=ee.mode,Xe=ee.direction,je=ee.ignoreContainerClipping,Ve=ee.isDropDisabled,lt=ee.isCombineEnabled,Tt=ee.snapshot,Xn=ee.useClone,la=ee.updateViewportMaxScroll,fa=ee.getContainerForClone,ka=an(function(){return ve.current},[]),Qa=an(function(hl){ve.current=hl},[]),rr=an(function(){return pe.current},[]),to=an(function(hl){pe.current=hl},[]);Pd({props:ee,getDroppableRef:ka,getPlaceholderRef:rr});var Ur=an(function(){de()&&la({maxScroll:qo()})},[de,la]);gd({droppableId:be,type:Ze,mode:$e,direction:Xe,isDropDisabled:Ve,isCombineEnabled:lt,ignoreContainerClipping:je,getDroppableRef:ka});var Po=b.createElement(yd,{on:ee.placeholder,shouldAnimate:ee.shouldAnimatePlaceholder},function(hl){var vu=hl.onClose,cu=hl.data,Yl=hl.animate;return b.createElement(pd,{placeholder:cu,onClose:vu,innerRef:to,animate:Yl,contextId:re,onTransitionEnd:Ur})}),xi=yn(function(){return{innerRef:Qa,placeholder:Po,droppableProps:{"data-rbd-droppable-id":be,"data-rbd-droppable-context-id":re}}},[re,be,Po,Qa]),Bo=Xn?Xn.dragging.draggableId:null,Di=yn(function(){return{droppableId:be,type:Ze,isUsingCloneFor:Bo}},[be,Bo,Ze]);function ul(){if(!Xn)return null;var hl=Xn.dragging,vu=Xn.render,cu=b.createElement(qs,{draggableId:hl.draggableId,index:hl.source.index,isClone:!0,isEnabled:!0,shouldRespectForcePress:!1,canDragInteractiveElements:!0},function(Yl,pu){return vu(Yl,pu,hl)});return ea.createPortal(cu,fa())}return b.createElement(ks.Provider,{value:Di},ye(xi,Tt),ul())}var Zs=function(ne,re){return ne===re.droppable.type},$s=function(ne,re){return re.draggables[ne.draggable.id]},Vd=function(){var ne={placeholder:null,shouldAnimatePlaceholder:!0,snapshot:{isDraggingOver:!1,draggingOverWith:null,draggingFromThisWith:null,isUsingPlaceholder:!1},useClone:null},re=(0,Ae.Z)({},ne,{shouldAnimatePlaceholder:!1}),de=St(function(ye){return{draggableId:ye.id,type:ye.type,source:{index:ye.index,droppableId:ye.droppableId}}}),ve=St(function(ye,be,Ze,$e,Xe,je){var Ve=Xe.descriptor.id,lt=Xe.descriptor.droppableId===ye;if(lt){var Tt=je?{render:je,dragging:de(Xe.descriptor)}:null,Xn={isDraggingOver:Ze,draggingOverWith:Ze?Ve:null,draggingFromThisWith:Ve,isUsingPlaceholder:!0};return{placeholder:Xe.placeholder,shouldAnimatePlaceholder:!1,snapshot:Xn,useClone:Tt}}if(!be)return re;if(!$e)return ne;var la={isDraggingOver:Ze,draggingOverWith:Ve,draggingFromThisWith:null,isUsingPlaceholder:!0};return{placeholder:Xe.placeholder,shouldAnimatePlaceholder:!0,snapshot:la,useClone:null}}),pe=function(be,Ze){var $e=Ze.droppableId,Xe=Ze.type,je=!Ze.isDropDisabled,Ve=Ze.renderClone;if(be.isDragging){var lt=be.critical;if(!Zs(Xe,lt))return re;var Tt=$s(lt,be.dimensions),Xn=yi(be.impact)===$e;return ve($e,je,Xn,Xn,Tt,Ve)}if(be.phase==="DROP_ANIMATING"){var la=be.completed;if(!Zs(Xe,la.critical))return re;var fa=$s(la.critical,be.dimensions);return ve($e,je,Js(la.result)===$e,yi(la.impact)===$e,fa,Ve)}if(be.phase==="IDLE"&&be.completed&&!be.shouldFlush){var ka=be.completed;if(!Zs(Xe,ka.critical))return re;var Qa=yi(ka.impact)===$e,rr=!!(ka.impact.at&&ka.impact.at.type==="COMBINE"),to=ka.critical.droppable.id===$e;return Qa?rr?ne:re:to?ne:re}return re};return pe},Wd={updateViewportMaxScroll:Gn};function Ud(){return document.body||zt(!1),document.body}var Qd={mode:"standard",type:"DEFAULT",direction:"vertical",isDropDisabled:!1,isCombineEnabled:!1,ignoreContainerClipping:!1,renderClone:null,getContainerForClone:Ud},ed=tn(Vd,Wd,null,{context:za,pure:!0,areStatePropsEqual:Ks})(zd);ed.defaultProps=Qd},38486:function(yt,kt){"use strict";var oe;var b=60103,he=60106,De=60107,Ae=60108,ke=60114,ze=60109,xe=60110,tt=60112,Me=60113,Le=60120,_e=60115,He=60116,Ke=60121,le=60122,E=60117,a=60129,x=60131;if(typeof Symbol=="function"&&Symbol.for){var y=Symbol.for;b=y("react.element"),he=y("react.portal"),De=y("react.fragment"),Ae=y("react.strict_mode"),ke=y("react.profiler"),ze=y("react.provider"),xe=y("react.context"),tt=y("react.forward_ref"),Me=y("react.suspense"),Le=y("react.suspense_list"),_e=y("react.memo"),He=y("react.lazy"),Ke=y("react.block"),le=y("react.server.block"),E=y("react.fundamental"),a=y("react.debug_trace_mode"),x=y("react.legacy_hidden")}function z(Je){if(typeof Je=="object"&&Je!==null){var Qe=Je.$$typeof;switch(Qe){case b:switch(Je=Je.type,Je){case De:case ke:case Ae:case Me:case Le:return Je;default:switch(Je=Je&&Je.$$typeof,Je){case xe:case tt:case He:case _e:case ze:return Je;default:return Qe}}case he:return Qe}}}var te=ze,ae=b,se=tt,ie=De,Se=He,Fe=_e,We=he,Ne=ke,mt=Ae,Re=Me;oe=xe,oe=te,oe=ae,oe=se,oe=ie,oe=Se,oe=Fe,oe=We,oe=Ne,oe=mt,oe=Re,oe=function(){return!1},oe=function(){return!1},kt.isContextConsumer=function(Je){return z(Je)===xe},oe=function(Je){return z(Je)===ze},oe=function(Je){return typeof Je=="object"&&Je!==null&&Je.$$typeof===b},oe=function(Je){return z(Je)===tt},oe=function(Je){return z(Je)===De},oe=function(Je){return z(Je)===He},oe=function(Je){return z(Je)===_e},oe=function(Je){return z(Je)===he},oe=function(Je){return z(Je)===ke},oe=function(Je){return z(Je)===Ae},oe=function(Je){return z(Je)===Me},oe=function(Je){return typeof Je=="string"||typeof Je=="function"||Je===De||Je===ke||Je===a||Je===Ae||Je===Me||Je===Le||Je===x||typeof Je=="object"&&Je!==null&&(Je.$$typeof===He||Je.$$typeof===_e||Je.$$typeof===ze||Je.$$typeof===xe||Je.$$typeof===tt||Je.$$typeof===E||Je.$$typeof===Ke||Je[0]===le)},oe=z},53410:function(yt,kt,oe){"use strict";yt.exports=oe(38486)},32637:function(yt,kt,oe){"use strict";yt.exports=oe.p+"static/AssistantCode3.a8740efb.jpeg"},73631:function(yt){"use strict";yt.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAAXNSR0IArs4c6QAAAZxJREFUOBGtlL1Ow0AMgH2XUIkOLFXVASgTsDHxBIAEzAwMPBQjT8AATGVBgEBCYmHmFcICYmBogCbNYSe52HUTVZWwFJ3PP599Z+WMcy6Af5SwYkWnLYifTyBzq5XNK8YNwbbvYP381ZuaVlN1+HJwAc4d1QYaA+gDsHYANrhGHTdCMtSDMILtwSMDn7ZiANPKwyjeQ0Reo4r1gEoEwRkDb7spdPcBeocMk1Cv00oii5L+fgPwcR/zHfb3AJY2sEpUVLOUhB/l+w7I1iS9TYDFrM3AzhqGDstPZ3li2Z12U2WLvk4fGJh+F0elYN8ZrbWiA7igAP4WR6sFzDAKPgPHP0VnlMsFS5IyyIGoeAamCKybYI5UQLWVE2fgGI/s72wqQXRd9jyxiHgGJtihFxGQm8Qd5XvtF3fEQOrQH9mDm1Z9hyJuEphXIq9uSWSQqv8a4RbAUTFdcs7gifwplYGjT3wzbPFz6Q70EZv8WZoxMP66ApMc86inirNBA8njcFIuvOTXhowPyzuQJiukzi3hQgS7b+I9nJtQn/AHsLGsvlcPPWsAAAAASUVORK5CYII="},5623:function(yt){"use strict";yt.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAAXNSR0IArs4c6QAAAedJREFUOBGtVDtLA0EQ/jY5z7dgEBVJLHyAitpYWQqKjVZa5BfEKpWlWPgrLG0UEdTexkILRUQiSBBBCAhGUINFHia53Dm7ufXcvfgIOHA3O69vvtnbPeY4ThD/KIF/xBJQhg/wbmkZtj0KMKbEGNIweg4xuPmq+DWDKSOfz2/AqaxpOVWzip8HC2xTsydfjoMHhMd2VMDjkSswTPqSucOhh3PmupaIediBOnL52UTLENC7QCV1bC9vkjkF3i4WVUDeORIF2sf5ymOk7mY1pr87hoHEhekHDLYQOfck8c6c6OeYfPHN3LyOxEB2KwQru0LrBvTPdaGRipj7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